diff --git a/dist/jassub-worker.wasm.js b/dist/jassub-worker.wasm.js index fb739ee..d06679e 100644 --- a/dist/jassub-worker.wasm.js +++ b/dist/jassub-worker.wasm.js @@ -1,2 +1,2 @@ -var WebAssembly={Memory:function(opts){this.buffer=new ArrayBuffer(opts["initial"]*65536)},Module:function(binary){},Instance:function(module,info){this.exports=function instantiate(Za){function c(d){d.set=function(a,b){this[a]=b};d.get=function(a){return this[a]};return d}var e;var f=new Uint8Array(123);for(var a=25;a>=0;--a){f[48+a]=52+a;f[65+a]=a;f[97+a]=26+a}f[43]=62;f[47]=63;function l(m,n,o){var g,h,a=0,i=n,j=o.length,k=n+(j*3>>2)-(o[j-2]=="=")-(o[j-1]=="=");for(;a>4;if(i>2;if(i>>0;E=E>>>0;if(C+E>e.length)throw"trap: invalid memory.fill";e.fill(y,C,C+E)}function H(y){t[2]=y}function Ya(q){var I=q.a;var J=I.a;var K=J.buffer;J.grow=Wa;var L=new Int8Array(K);var M=new Int16Array(K);var N=new Int32Array(K);var O=new Uint8Array(K);var P=new Uint16Array(K);var Q=new Uint32Array(K);var R=new Float32Array(K);var S=new Float64Array(K);var T=Math.imul;var U=Math.fround;var V=Math.abs;var W=Math.clz32;var X=Math.min;var Y=Math.max;var Z=Math.floor;var _=Math.ceil;var $=Math.trunc;var aa=Math.sqrt;var ba=I.b;var ca=I.c;var da=I.d;var ea=I.e;var fa=I.f;var ga=I.g;var ha=I.h;var ia=I.i;var ja=I.j;var ka=I.k;var la=I.l;var ma=I.m;var na=I.n;var oa=I.o;var pa=I.p;var qa=I.q;var ra=I.r;var sa=I.s;var ta=I.t;var ua=I.u;var va=I.v;var wa=I.w;var xa=I.x;var ya=I.y;var za=I.z;var Aa=I.A;var Ba=I.B;var Ca=I.C;var Da=I.D;var Ea=I.E;var Fa=I.F;var Ga=I.G;var Ha=I.I;var Ia=I.J;var Ja=I.K;var Ka=I.L;var La=657072;var Ma=0;var Na=0;var Oa=0;var Pa=0;function rq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,H=0,I=0,J=0,K=0,S=0,W=0,X=U(0),Y=0,_=0,$=0,aa=U(0),ca=0,da=0,ea=0;q=La-288|0;La=q;a:{b:{c:{d:{e:{f:{g:{f=O[c+140|0];if(!(f&48)){ca=N[c+40>>2];L[c+140|0]=f|48;g=N[c+68>>2];if(g){k=N[a+96>>2];h=N[c+80>>2];f=0;if(g>>>0>=8){i=g&-8;while(1){N[(h+T(f,20)|0)+4>>2]=k;N[(h+T(f|1,20)|0)+4>>2]=k;N[(h+T(f|2,20)|0)+4>>2]=k;N[(h+T(f|3,20)|0)+4>>2]=k;N[(h+T(f|4,20)|0)+4>>2]=k;N[(h+T(f|5,20)|0)+4>>2]=k;N[(h+T(f|6,20)|0)+4>>2]=k;N[(h+T(f|7,20)|0)+4>>2]=k;f=f+8|0;if((i|0)!=(f|0)){continue}break}}i=g&7;if(i){while(1){N[(h+T(f,20)|0)+4>>2]=k;f=f+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}k=0;while(1){f=h+T(k,20)|0;Gd(f,c);n=f+16|0;j=P[n>>1];h:{i:{if((j&31)==24&N[f>>2]-127995>>>0<=4){break i}if(!(!k|N[f>>2]-127462>>>0>25)){f=f-20|0;if(N[f>>2]-127462>>>0>25){break h}if(!(O[f+16|0]&128)){break i}break h}if((j&287)==257){M[f+16>>1]=j|128;f=k+1|0;if(f>>>0>=g>>>0){break h}r=h+T(f,20)|0;i=N[r>>2];if(i>>>0<=131069){i=O[((i&24|O[(i>>>5&3|O[(O[(i>>>11|0)+236400|0]>>>(i>>>8&4)<<3&120|i>>>7&7)+236464|0]<<2)+236544|0]<<5)>>>3|0)+236664|0]>>>(i&7)&1}else{i=0}if(!i){break h}Gd(r,c);n=r+16|0;j=P[r+16>>1];k=f;break i}f=N[f>>2];if((f&-2)==65438){break i}if(f-917536>>>0>95){break h}}M[n>>1]=j|128}k=k+1|0;if(g>>>0>k>>>0){continue}break}}j:{k:{if(!(1<>2]+16>>1]&7168)|(N[c+132>>2]|(N[c+16>>2]&17)!=1)){break k}N[q+120>>2]=0;f=N[b+96>>2];k=N[f+28>>2];h=N[b+100>>2];i=q+120|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}if(!(Qa[k|0](b,h,9676,i,f)|0)){break k}N[q+132>>2]=0;N[q+136>>2]=0;N[q+124>>2]=0;N[q+128>>2]=0;N[q+120>>2]=9676;Gd(i,c);h=0;N[c+72>>2]=0;M[c+62>>1]=1;N[c+64>>2]=0;f=N[c+80>>2];N[c+84>>2]=f;g=N[f+4>>2];n=N[f+8>>2];i=N[q+132>>2];r=N[q+136>>2];j=N[q+120>>2];l:{m:{if(Q[c+76>>2]<=1){if(!gb(c,1)){break l}h=N[c+72>>2];f=N[c+80>>2];k=N[c+84>>2];if((f|0)!=(k|0)){break m}}if(Q[c+64>>2]>=h+1>>>0){k=f;break m}if(!O[c+62|0]){break j}k=N[c+88>>2];N[c+84>>2]=k;l=T(h,20);if(!l){break m}B(k,f,l);h=N[c+72>>2];k=N[c+84>>2]}f=T(h,20)+k|0;N[f+12>>2]=i;N[f+16>>2]=r;N[f+8>>2]=n;N[f+4>>2]=g;N[f>>2]=j;N[c+72>>2]=N[c+72>>2]+1}zc(c)}n=N[c+144>>2];n:{if(!(n&1)){break n}i=N[c+68>>2];if(!N[c+20>>2]){if(!i){break n}f=i-1|0;k=0;while(1){o:{if((f|0)==(k|0)){k=i;break o}k=k+1|0;if(O[(N[c+80>>2]+T(k,20)|0)+16|0]&128){continue}}break}h=0;j=i;while(1){if(k-h>>>0>=2){Ib(c,h,k);j=N[c+68>>2]}f=k+1|0;h=f>>>0>>0?j:f;g=h-1|0;f=k;while(1){p:{if((f|0)==(g|0)){f=h;break p}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}g=i>>>0>k>>>0;h=k;k=f;if(g){continue}break}break n}if(!i){break n}k=i-1|0;f=0;while(1){q:{if((f|0)==(k|0)){f=i;break q}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}k=0;while(1){v=N[c+68>>2];g=f;x=f>>>0>v>>>0?v:f;H=x-k|0;r:{if(H>>>0<2){break r}n=n|32;N[c+144>>2]=n;if(k>>>0>=x>>>0){break r}j=N[c+80>>2];f=-1;h=k;s=x+(h^-1)|0;if(s>>>0>=3){p=H&-4;l=0;while(1){r=j+T(h,20)|0;o=N[r+8>>2];f=f>>>0>>0?f:o;o=N[r+28>>2];f=f>>>0>>0?f:o;o=N[r+48>>2];f=f>>>0>>0?f:o;r=N[r+68>>2];f=f>>>0>>0?f:r;h=h+4|0;l=l+4|0;if((p|0)!=(l|0)){continue}break}}r=0;l=H&3;if(l){while(1){p=N[(j+T(h,20)|0)+8>>2];f=f>>>0

>>0?f:p;h=h+1|0;r=r+1|0;if((l|0)!=(r|0)){continue}break}}if(H&1){h=j+T(k,20)|0;if(N[h+8>>2]!=(f|0)){N[h+4>>2]=N[h+4>>2]|3}k=k+1|0}if(!s){break r}while(1){h=j+T(k,20)|0;if(N[h+8>>2]!=(f|0)){n=n|32;N[c+144>>2]=n;N[h+4>>2]=N[h+4>>2]|3}h=j+T(k+1|0,20)|0;if(N[h+8>>2]!=(f|0)){n=n|32;N[c+144>>2]=n;N[h+4>>2]=N[h+4>>2]|3}k=k+2|0;if((x|0)!=(k|0)){continue}break}}f=g+1|0;k=f>>>0>>0?v:f;h=k-1|0;f=g;while(1){s:{if((f|0)==(h|0)){f=k;break s}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}k=g;if(i>>>0>g>>>0){continue}break}}f=N[c+40>>2];t:{u:{v:{h=th(N[c+44>>2]);w:{if(!((h|0)!=5|(f|0)!=4)){k=N[c+68>>2];if(!k){h=5;break w}i=N[c+80>>2];h=0;n=1;v=0;l=0;while(1){x:{g=i+T(h,20)|0;r=P[g+16>>1]&31;y:{if((r|0)==13){v=1;break y}if(1<>2]-127462>>>0<26|l}h=h+1|0;n=k>>>0>h>>>0;if((h|0)!=(k|0)){continue}}break}h=(l|v)&1?n&1?5:4:5}k=f&-2;if((k|0)!=4){break v}}if((f|0)==(h|0)){break t}if(h){break u}break t}if((f|0)==6|(k|0)!=6){break t}}i=N[c+20>>2];n=0;f=N[c+68>>2];g=f;z:{A:{switch(f|0){default:g=1;while(1){r=N[c+80>>2];B:{if(O[(r+T(g,20)|0)+16|0]&128){break B}if(!((i|0)!=1|g-n>>>0<2)){Ib(c,n,g);r=N[c+80>>2];f=N[c+68>>2]}h=f>>>0>>0?f:g;k=f>>>0>>0?f:n;C:{if(h>>>0>>0){break C}j=h-1|0;if(j>>>0<=k>>>0){break C}while(1){f=T(j,20)+r|0;N[q+136>>2]=N[f+16>>2];h=N[f+12>>2];N[q+128>>2]=N[f+8>>2];N[q+132>>2]=h;h=N[f+4>>2];N[q+120>>2]=N[f>>2];N[q+124>>2]=h;h=T(k,20)+r|0;N[f+16>>2]=N[h+16>>2];l=N[h+12>>2];N[f+8>>2]=N[h+8>>2];N[f+12>>2]=l;l=N[h+4>>2];N[f>>2]=N[h>>2];N[f+4>>2]=l;N[h+16>>2]=N[q+136>>2];f=N[q+132>>2];N[h+8>>2]=N[q+128>>2];N[h+12>>2]=f;f=N[q+124>>2];N[h>>2]=N[q+120>>2];N[h+4>>2]=f;k=k+1|0;j=j-1|0;if(k>>>0>>0){continue}break}f=N[c+68>>2]}D:{if(!O[c+63|0]){break D}h=f>>>0>>0?f:g;k=f>>>0>>0?f:n;if(h>>>0>>0){break D}n=g;j=h-1|0;if(j>>>0<=k>>>0){break B}n=N[c+88>>2];while(1){f=n+T(j,20)|0;N[q+136>>2]=N[f+16>>2];h=N[f+12>>2];N[q+128>>2]=N[f+8>>2];N[q+132>>2]=h;h=N[f+4>>2];N[q+120>>2]=N[f>>2];N[q+124>>2]=h;h=n+T(k,20)|0;N[f+16>>2]=N[h+16>>2];r=N[h+12>>2];N[f+8>>2]=N[h+8>>2];N[f+12>>2]=r;r=N[h+4>>2];N[f>>2]=N[h>>2];N[f+4>>2]=r;N[h+16>>2]=N[q+136>>2];f=N[q+132>>2];N[h+8>>2]=N[q+128>>2];N[h+12>>2]=f;f=N[q+124>>2];N[h>>2]=N[q+120>>2];N[h+4>>2]=f;k=k+1|0;j=j-1|0;if(k>>>0>>0){continue}break}f=N[c+68>>2]}n=g}g=g+1|0;if(g>>>0>>0){continue}break};break;case 0:break z;case 1:break A}}if(!((i|0)!=1|g-n>>>0<2)){Ib(c,n,g);f=N[c+68>>2]}h=f>>>0>>0?f:g;k=f>>>0>>0?f:n;E:{if(h>>>0>>0){break E}j=h-1|0;if(j>>>0<=k>>>0){break E}i=N[c+80>>2];while(1){f=i+T(j,20)|0;N[q+136>>2]=N[f+16>>2];h=N[f+12>>2];N[q+128>>2]=N[f+8>>2];N[q+132>>2]=h;h=N[f+4>>2];N[q+120>>2]=N[f>>2];N[q+124>>2]=h;h=i+T(k,20)|0;N[f+16>>2]=N[h+16>>2];r=N[h+12>>2];N[f+8>>2]=N[h+8>>2];N[f+12>>2]=r;r=N[h+4>>2];N[f>>2]=N[h>>2];N[f+4>>2]=r;N[h+16>>2]=N[q+136>>2];f=N[q+132>>2];N[h+8>>2]=N[q+128>>2];N[h+12>>2]=f;f=N[q+124>>2];N[h>>2]=N[q+120>>2];N[h+4>>2]=f;k=k+1|0;j=j-1|0;if(k>>>0>>0){continue}break}f=N[c+68>>2]}F:{if(!O[c+63|0]){break F}h=f>>>0>>0?f:g;k=f>>>0>>0?f:n;if(h>>>0>>0){break F}j=h-1|0;if(j>>>0<=k>>>0){break F}i=N[c+88>>2];while(1){f=i+T(j,20)|0;N[q+136>>2]=N[f+16>>2];h=N[f+12>>2];N[q+128>>2]=N[f+8>>2];N[q+132>>2]=h;h=N[f+4>>2];N[q+120>>2]=N[f>>2];N[q+124>>2]=h;h=i+T(k,20)|0;N[f+16>>2]=N[h+16>>2];g=N[h+12>>2];N[f+8>>2]=N[h+8>>2];N[f+12>>2]=g;g=N[h+4>>2];N[f>>2]=N[h>>2];N[f+4>>2]=g;N[h+16>>2]=N[q+136>>2];f=N[q+132>>2];N[h+8>>2]=N[q+128>>2];N[h+12>>2]=f;f=N[q+124>>2];N[h>>2]=N[q+120>>2];N[h+4>>2]=f;k=k+1|0;j=j-1|0;if(k>>>0>>0){continue}break}f=N[c+68>>2]}if(f>>>0>=2){i=N[c+80>>2];j=f-1|0;r=0;while(1){k=i+T(j,20)|0;N[q+136>>2]=N[k+16>>2];h=N[k+12>>2];N[q+128>>2]=N[k+8>>2];N[q+132>>2]=h;h=N[k+4>>2];N[q+120>>2]=N[k>>2];N[q+124>>2]=h;h=i+T(r,20)|0;N[k+16>>2]=N[h+16>>2];g=N[h+12>>2];N[k+8>>2]=N[h+8>>2];N[k+12>>2]=g;g=N[h+4>>2];N[k>>2]=N[h>>2];N[k+4>>2]=g;N[h+16>>2]=N[q+136>>2];k=N[q+132>>2];N[h+8>>2]=N[q+128>>2];N[h+12>>2]=k;k=N[q+124>>2];N[h>>2]=N[q+120>>2];N[h+4>>2]=k;j=j-1|0;r=r+1|0;if(j>>>0>r>>>0){continue}break}}if(!O[c+63|0]){break z}k=N[c+68>>2];f=f>>>0>k>>>0?k:f;if(f>>>0<2){break z}i=N[c+88>>2];k=f-1|0;j=0;while(1){f=i+T(k,20)|0;N[q+136>>2]=N[f+16>>2];h=N[f+12>>2];N[q+128>>2]=N[f+8>>2];N[q+132>>2]=h;h=N[f+4>>2];N[q+120>>2]=N[f>>2];N[q+124>>2]=h;h=i+T(j,20)|0;N[f+16>>2]=N[h+16>>2];g=N[h+12>>2];N[f+8>>2]=N[h+8>>2];N[f+12>>2]=g;g=N[h+4>>2];N[f>>2]=N[h>>2];N[f+4>>2]=g;N[h+16>>2]=N[q+136>>2];f=N[q+132>>2];N[h+8>>2]=N[q+128>>2];N[h+12>>2]=f;f=N[q+124>>2];N[h>>2]=N[q+120>>2];N[h+4>>2]=f;k=k-1|0;j=j+1|0;if(k>>>0>j>>>0){continue}break}}N[c+40>>2]=N[c+40>>2]^1}J=a+60|0;G:{if(!N[N[a+80>>2]+16>>2]){break G}if(!ib(c,b,8372,0)){break G}Qa[N[N[a+80>>2]+16>>2]](J,c,b);ib(c,b,8394,0)}n=N[c+80>>2];i=N[c+68>>2];if(!(!i|(ca&-3)!=5)){j=N[a+188>>2];g=N[c+12>>2];k=0;while(1){h=n+T(k,20)|0;f=Qa[N[g+28>>2]](g,N[h>>2],N[g+60>>2])|0;H:{I:{if((f|0)==N[h>>2]){break I}N[q+120>>2]=0;r=N[b+96>>2];l=N[r+28>>2];v=N[b+100>>2];x=q+120|0;r=N[r+12>>2];if(r){r=N[r+8>>2]}else{r=0}if(!(Qa[l|0](b,v,f,x,r)|0)){break I}N[h>>2]=f;break H}N[h+4>>2]=j|N[h+4>>2]}k=k+1|0;if((i|0)!=(k|0)){continue}break}}if(!(!i|(O[a+200|0]&8|(ca&-2)!=6))){f=0;while(1){J:{K:{L:{M:{N:{O:{P:{g=n+T(f,20)|0;h=N[g>>2];k=h>>>8|0;switch(k-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break J;case 16:break L;case 0:break O;default:break P}}switch(k-254|0){case 1:break M;case 0:break N;default:break J}}k=65074;Q:{switch(h-8211|0){case 1:k=65073;break K;case 18:k=65072;break K;case 19:break Q;case 0:break K;default:break J}}k=65049;break K}k=65076;if((h|0)==65103){break K}break J}k=65045;R:{switch(h-65281|0){case 7:k=65077;break K;case 8:k=65078;break K;case 11:k=65040;break K;case 25:k=65043;break K;case 26:k=65044;break K;case 30:k=65046;break K;case 58:k=65095;break K;case 60:k=65096;break K;case 62:k=65075;break K;case 90:k=65079;break K;case 92:break R;case 0:break K;default:break J}}k=65080;break K}k=h-12289|0;if(k>>>0>=23|!(7995267>>>k&1)){break J}k=N[(k<<2)+265552>>2]}if((h|0)==(k|0)){break J}N[q+120>>2]=0;h=N[b+96>>2];r=N[h+28>>2];j=N[b+100>>2];l=q+120|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}if(!(Qa[r|0](b,j,k,l,h)|0)){break J}N[g>>2]=k}f=f+1|0;if((i|0)!=(f|0)){continue}break}}f=O[c+140|0];if(!(f&15)){L[c+140|0]=f|15;S:{T:{v=N[c+68>>2];U:{if(!v){break U}if((f&48)!=48){break S}f=N[a+80>>2];k=N[f+44>>2];N[q+128>>2]=b;N[q+124>>2]=c;N[q+120>>2]=J;N[q+132>>2]=N[c+12>>2];N[q+136>>2]=N[c+32>>2];h=N[f+24>>2];N[q+140>>2]=h?h:289;f=N[f+28>>2];N[q+144>>2]=f?f:290;N[c+72>>2]=0;M[c+62>>1]=1;N[c+64>>2]=0;N[c+84>>2]=N[c+80>>2];x=(k|0)==4?2:k;H=x&-3;f=0;l=1;V:{W:{while(1){k=f+1|0;k=k>>>0>>0?v:k;h=f;while(1){X:{r=h;h=h+1|0;if(v>>>0<=h>>>0){r=k;break X}if(!(1<>2]+T(h,20)|0)+16>>1]&7168)){continue}}break}Y:{Z:{_:{if((H|0)!=1){k=N[b+96>>2];h=N[k+32>>2];g=N[b+100>>2];j=r-f|0;f=N[c+80>>2]+T(f,20)|0;i=f;n=f+12|0;f=N[k+12>>2];if(f){f=N[f+12>>2]}else{f=0}f=Qa[h|0](b,g,j,i,20,n,20,f)|0;if(O[c+62|0]){i=N[c+80>>2];n=N[c+84>>2];h=N[c+72>>2];if(!((i|0)==(n|0)&(h|0)==N[c+64>>2])){k=f+h|0;if(!(!k|k>>>0>2])){if(!gb(c,k)){break _}i=N[c+80>>2];n=N[c+84>>2];h=N[c+72>>2]}g=N[c+64>>2];$:{if((i|0)!=(n|0)){break $}if(f+h>>>0<=f+g>>>0){n=i;break $}if(!O[c+62|0]){break a}n=N[c+88>>2];N[c+84>>2]=n;k=T(h,20);if(!k){break $}B(n,i,k);i=N[c+80>>2];g=N[c+64>>2];h=N[c+72>>2];n=N[c+84>>2]}B(T(h,20)+n|0,T(g,20)+i|0,T(f,20));h=N[c+72>>2]}N[c+72>>2]=h+f}f=f+N[c+64>>2]|0;N[c+64>>2]=f}aa:{if(!O[c+60|0]|f>>>0>=r>>>0){break aa}while(1){Ej(q+120|0,(H|0)!=1);f=N[c+64>>2];if(r>>>0<=f>>>0){break aa}if(O[c+60|0]){continue}break}}if(!O[c+60|0]|(f|0)==(v|0)){break _}k=f+1|0;k=k>>>0>>0?v:k;h=k-1|0;while(1){ba:{r=f;f=f+1|0;if(v>>>0<=f>>>0){r=h;f=k;break ba}if(1<>2]+T(f,20)|0)+16>>1]&7168){continue}}break}j=N[q+124>>2];g=N[j+64>>2];if(g>>>0>=f>>>0){break Y}if(!O[j+60|0]){break Z}k=N[j+80>>2];h=g;while(1){i=N[k+T(h,20)>>2];if(!((i&-16)==65024|i-918e3>>>0>=4294967056)){i=(h|0)==(r|0);h=h+1|0;if(!i){continue}break Z}break}k=N[q+128>>2];ca:{if(g>>>0>=r>>>0){break ca}while(1){if(!O[j+60|0]){break ca}n=N[j+80>>2]+T(g,20)|0;N[n+12>>2]=0;h=n+12|0;i=N[n>>2];g=N[k+100>>2];s=N[k+96>>2];l=N[s+12>>2];n=N[n+20>>2];da:{if(!((n&-16)!=65024&n-918e3>>>0<4294967056)){s=N[s+36>>2];ea:{if(Qa[s|0](k,g,i,n,h,l?N[l+16>>2]:0)|0){N[q+96>>2]=N[N[j+80>>2]+T(N[j+64>>2],20)>>2];Sg(j,2,q+96|0);g=N[j+64>>2];break ea}h=N[j+80>>2]+T(N[j+64>>2],20)|0;N[h+12>>2]=0;i=N[k+96>>2];g=N[i+28>>2];n=N[k+100>>2];l=N[h>>2];m=h+12|0;h=N[i+12>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[g|0](k,n,l,m,h)|0;h=N[j+80>>2];fa:{if(O[j+62|0]){ga:{if(N[j+84>>2]==(h|0)){i=N[j+72>>2];if((i|0)==N[j+64>>2]){break ga}}g=wd(j);i=N[j+64>>2];h=N[j+80>>2];if(!g){break fa}h=T(i,20)+h|0;i=N[h+4>>2];g=N[j+84>>2]+T(N[j+72>>2],20)|0;N[g>>2]=N[h>>2];N[g+4>>2]=i;N[g+16>>2]=N[h+16>>2];i=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=i;h=N[j+80>>2];i=N[j+72>>2]}N[j+72>>2]=i+1}i=N[j+64>>2]+1|0;N[j+64>>2]=i}h=T(i,20)+h|0;N[h+12>>2]=0;i=N[k+96>>2];g=N[i+28>>2];n=N[k+100>>2];l=N[h>>2];m=h+12|0;h=N[i+12>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[g|0](k,n,l,m,h)|0;if(O[j+62|0]){ha:{if(N[j+84>>2]==N[j+80>>2]){h=N[j+72>>2];if((h|0)==N[j+64>>2]){break ha}}h=wd(j);g=N[j+64>>2];if(!h){break ea}h=N[j+80>>2]+T(g,20)|0;g=N[h+4>>2];i=N[j+84>>2]+T(N[j+72>>2],20)|0;N[i>>2]=N[h>>2];N[i+4>>2]=g;N[i+16>>2]=N[h+16>>2];g=N[h+12>>2];N[i+8>>2]=N[h+8>>2];N[i+12>>2]=g;h=N[j+72>>2]}N[j+72>>2]=h+1}g=N[j+64>>2]+1|0;N[j+64>>2]=g}if(f>>>0<=g>>>0){break da}while(1){if(!O[j+60|0]){break da}i=N[j+80>>2]+T(g,20)|0;h=N[i>>2];if((h&-16)!=65024&h-918e3>>>0<4294967056){break da}N[i+12>>2]=0;g=N[k+96>>2];n=N[g+28>>2];l=N[k+100>>2];m=i+12|0;i=N[g+12>>2];if(i){i=N[i+8>>2]}else{i=0}Qa[n|0](k,l,h,m,i)|0;ia:{if(O[j+62|0]){ja:{if(N[j+84>>2]==N[j+80>>2]){h=N[j+72>>2];if((h|0)==N[j+64>>2]){break ja}}h=wd(j);g=N[j+64>>2];if(!h){break ia}h=N[j+80>>2]+T(g,20)|0;g=N[h+4>>2];i=N[j+84>>2]+T(N[j+72>>2],20)|0;N[i>>2]=N[h>>2];N[i+4>>2]=g;N[i+16>>2]=N[h+16>>2];g=N[h+12>>2];N[i+8>>2]=N[h+8>>2];N[i+12>>2]=g;h=N[j+72>>2]}N[j+72>>2]=h+1}g=N[j+64>>2]+1|0;N[j+64>>2]=g}if(f>>>0>g>>>0){continue}break}break da}s=N[s+28>>2];Qa[s|0](k,g,i,h,l?N[l+8>>2]:0)|0;ka:{if(O[j+62|0]){i=N[j+84>>2];g=N[j+80>>2];h=N[j+72>>2];if(!((i|0)==(g|0)&(h|0)==N[j+64>>2])){n=h+1|0;if(!(!n|n>>>0>2])){if(!gb(j,n)){break ka}g=N[j+80>>2];i=N[j+84>>2];h=N[j+72>>2]}n=N[j+64>>2];la:{if((g|0)!=(i|0)){break la}if(h+1>>>0<=n+1>>>0){i=g;break la}if(!O[j+62|0]){break a}i=N[j+88>>2];N[j+84>>2]=i;l=T(h,20);if(!l){break la}B(i,g,l);h=N[j+72>>2];i=N[j+84>>2];g=N[j+80>>2];n=N[j+64>>2]}i=T(h,20)+i|0;h=T(n,20)+g|0;g=N[h+4>>2];N[i>>2]=N[h>>2];N[i+4>>2]=g;N[i+16>>2]=N[h+16>>2];g=N[h+12>>2];N[i+8>>2]=N[h+8>>2];N[i+12>>2]=g;h=N[j+72>>2]}N[j+72>>2]=h+1}g=N[j+64>>2]+1|0;N[j+64>>2]=g;break da}g=N[j+64>>2]}if(g>>>0>>0){continue}break}}if(f>>>0<=g>>>0){break Y}f=N[j+80>>2]+T(g,20)|0;N[f+12>>2]=0;h=N[k+96>>2];i=N[h+28>>2];g=N[k+100>>2];n=N[f>>2];r=f+12|0;f=N[h+12>>2];if(f){f=N[f+8>>2]}else{f=0}Qa[i|0](k,g,n,r,f)|0;if(O[j+62|0]){ma:{if(N[j+84>>2]==N[j+80>>2]){f=N[j+72>>2];if((f|0)==N[j+64>>2]){break ma}}if(!wd(j)){break Y}k=N[j+80>>2]+T(N[j+64>>2],20)|0;h=N[k+4>>2];f=N[j+84>>2]+T(N[j+72>>2],20)|0;N[f>>2]=N[k>>2];N[f+4>>2]=h;N[f+16>>2]=N[k+16>>2];h=N[k+12>>2];N[f+8>>2]=N[k+8>>2];N[f+12>>2]=h;f=N[j+72>>2]}N[j+72>>2]=f+1}N[j+64>>2]=N[j+64>>2]+1;break Y}zc(c);k=1;if(l&1){break V}break W}while(1){if(!O[j+60|0]){break Y}Ej(q+120|0,!x);if(Q[j+64>>2]>>0){continue}break}}f=N[c+64>>2];if(v>>>0>f>>>0){l=0;if(O[c+60|0]){continue}}break}zc(c)}k=0;if(!ib(c,b,12030,0)){break V}j=N[c+68>>2];if(j){n=0;while(1){k=N[c+80>>2];f=P[(k+T(n,20)|0)+16>>1];na:{if(f>>>0<256){i=n;break na}if(!(1<>>0>>0?j:h;i=n;while(1){oa:{i=i+1|0;if(j>>>0<=i>>>0){i=f;break oa}g=P[(k+T(i,20)|0)+16>>1];if(g>>>0<256){break oa}if(1<>>0>32){break na}if(O[c+63|0]){break T}r=n;if(h>>>0>>0){while(1){k=r;r=h;g=h>>>0>n>>>0?n:h;while(1){pa:{f=h;if(n>>>0>=f>>>0){f=g;break pa}l=N[c+80>>2];h=f-1|0;v=P[(l+T(h,20)|0)+16>>1];if(!(1<>1];if(v>>>8>>>0>(1<>>8|0:0)>>>0){continue}}break}if((f|0)!=(r|0)){k=k+2|0;if(k-f>>>0>=2){Ib(c,f,k)}h=N[c+80>>2];k=h+T(r,20)|0;N[q+112>>2]=N[k+16>>2];g=N[k+12>>2];N[q+104>>2]=N[k+8>>2];N[q+108>>2]=g;g=N[k+4>>2];N[q+96>>2]=N[k>>2];N[q+100>>2]=g;k=T(f,20);h=k+h|0;B(h+20|0,h,T(r-f|0,20));f=k+N[c+80>>2]|0;k=N[q+100>>2];N[f>>2]=N[q+96>>2];N[f+4>>2]=k;N[f+16>>2]=N[q+112>>2];k=N[q+108>>2];N[f+8>>2]=N[q+104>>2];N[f+12>>2]=k}h=r+1|0;if((h|0)!=(i|0)){continue}break}}f=N[N[a+80>>2]+36>>2];if(!f){break na}Qa[f|0](J,c,n,i)}n=i+1|0;if(j>>>0>n>>>0){continue}break}}ib(c,b,12044,0);k=0}qa:{if(!(O[c+144|0]&16)){break qa}r=N[c+68>>2];if(r>>>0<3){break qa}f=1;h=2;while(1){i=f;f=h;h=T(i,20);i=N[c+80>>2];h=h+i|0;ra:{if(N[h>>2]!=847){break ra}i=P[(i+T(f,20)|0)+16>>1];sa:{if(i>>>0<256|!(1<>1];if(g>>>8>>>0<=i>>>8>>>0){break sa}if(1<>1]=P[h+16>>1]&65471;r=N[c+68>>2]}h=f+1|0;if(r>>>0>h>>>0){continue}break}}if(!O[c+60|0]|k|(x&-2)!=2){break U}k=1;N[c+64>>2]=1;M[c+62>>1]=1;N[c+72>>2]=1;N[c+84>>2]=N[c+80>>2];n=N[c+68>>2];ta:{if(n>>>0<2){break ta}j=0;while(1){ua:{va:{h=N[c+80>>2]+T(k,20)|0;i=P[h+16>>1];if(!(1<>2];g=N[c+72>>2];k=g-1|0;if((k|0)!=(j|0)){k=P[(f+T(g>>>0>=k>>>0?k:0,20)|0)+16>>1];if(i>>>8>>>0<=(1<>>8|0:0)>>>0){break va}}g=T(j,20);if(!(Qa[N[q+144>>2]](q+120|0,N[g+f>>2],N[h>>2],q+96|0)|0)){break va}N[q+92>>2]=0;f=N[b+96>>2];k=N[f+28>>2];h=N[b+100>>2];i=N[q+96>>2];r=q+92|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}if(!(Qa[k|0](b,h,i,r,f)|0)){break va}wa:{if(!O[c+62|0]){f=N[c+72>>2];break wa}h=N[c+84>>2];r=N[c+80>>2];f=N[c+72>>2];if(!((h|0)==(r|0)&(f|0)==N[c+64>>2])){k=f+1|0;if(!(!k|k>>>0>2])){if(!gb(c,k)){break ta}r=N[c+80>>2];h=N[c+84>>2];f=N[c+72>>2]}i=N[c+64>>2];xa:{if((h|0)!=(r|0)){break xa}if(f+1>>>0<=i+1>>>0){h=r;break xa}if(!O[c+62|0]){break a}h=N[c+88>>2];N[c+84>>2]=h;k=T(f,20);if(!k){break xa}B(h,r,k);r=N[c+80>>2];f=N[c+72>>2];h=N[c+84>>2];i=N[c+64>>2]}f=T(f,20)+h|0;k=T(i,20)+r|0;h=N[k+4>>2];N[f>>2]=N[k>>2];N[f+4>>2]=h;N[f+16>>2]=N[k+16>>2];h=N[k+12>>2];N[f+8>>2]=N[k+8>>2];N[f+12>>2]=h;f=N[c+72>>2]}f=f+1|0;N[c+72>>2]=f}N[c+64>>2]=N[c+64>>2]+1;vd(c,j,f);N[c+72>>2]=N[c+72>>2]-1;f=g+N[c+84>>2]|0;N[f>>2]=N[q+96>>2];N[f+12>>2]=N[q+92>>2];Gd(g+N[c+84>>2]|0,c);k=N[c+64>>2];break ua}f=N[c+84>>2];ya:{if(!O[c+62|0]){r=N[c+72>>2];break ya}k=N[c+80>>2];h=N[c+72>>2];if(!((k|0)==(f|0)&(h|0)==N[c+64>>2])){i=h+1|0;if(!(!i|i>>>0>2])){if(!gb(c,i)){break ta}k=N[c+80>>2];h=N[c+72>>2];f=N[c+84>>2]}r=N[c+64>>2];za:{if((f|0)!=(k|0)){break za}if(h+1>>>0<=r+1>>>0){f=k;break za}if(!O[c+62|0]){break a}f=N[c+88>>2];N[c+84>>2]=f;i=T(h,20);if(!i){break za}B(f,k,i);k=N[c+80>>2];h=N[c+72>>2];f=N[c+84>>2];r=N[c+64>>2]}f=T(h,20)+f|0;k=T(r,20)+k|0;h=N[k+4>>2];N[f>>2]=N[k>>2];N[f+4>>2]=h;N[f+16>>2]=N[k+16>>2];h=N[k+12>>2];N[f+8>>2]=N[k+8>>2];N[f+12>>2]=h;h=N[c+72>>2];f=N[c+84>>2]}r=h+1|0;N[c+72>>2]=r}k=N[c+64>>2]+1|0;N[c+64>>2]=k;h=f;f=r-1|0;h=P[(h+T(f>>>0<=r>>>0?f:0,20)|0)+16>>1];j=1<>>0<256?f:j:f}if(k>>>0>>0){continue}break}}zc(c)}p=N[c+144>>2];Aa:{if(!(p&1)|!(O[a+200|0]&4)){break Aa}Ba:{if((N[c+40>>2]&-3)==4){j=N[a+176>>2];r=j|N[a+180>>2];f=a+184|0;break Ba}j=N[a+176>>2];r=j|N[a+184>>2];f=a+180|0}h=N[c+68>>2];if(!h){break Aa}H=N[c+80>>2];o=N[f>>2];g=0;while(1){u=H+T(g,20)|0;if(N[u>>2]==8260){k=g+1|0;l=0;i=g;while(1){Ca:{v=l;f=i;if(!f){v=g;f=0;break Ca}l=v+1|0;i=f-1|0;if((P[(H+T(i,20)|0)+16>>1]&31)==13){continue}}break}i=k;Da:{if(h>>>0<=i>>>0){break Da}while(1){if((P[(H+T(i,20)|0)+16>>1]&31)!=13){break Da}i=i+1|0;if((h|0)!=(i|0)){continue}break}i=h}n=N[c+68>>2];m=i>>>0>n>>>0?n:i;t=m-f|0;Ea:{if(t>>>0<2){break Ea}p=p|32;N[c+144>>2]=p;if(f>>>0>=m>>>0){break Ea}l=-1;x=f;w=m+((g^-1)+v|0)|0;if(w>>>0>=3){D=t&-4;s=0;while(1){n=H+T(x,20)|0;C=N[n+8>>2];l=l>>>0>>0?l:C;C=N[n+28>>2];l=l>>>0>>0?l:C;C=N[n+48>>2];l=l>>>0>>0?l:C;n=N[n+68>>2];l=l>>>0>>0?l:n;x=x+4|0;s=s+4|0;if((D|0)!=(s|0)){continue}break}}n=0;s=t&3;if(s){while(1){D=N[(H+T(x,20)|0)+8>>2];l=l>>>0>>0?l:D;x=x+1|0;n=n+1|0;if((s|0)!=(n|0)){continue}break}}x=f;if(t&1){n=H+T(f,20)|0;if(N[n+8>>2]!=(l|0)){N[n+4>>2]=N[n+4>>2]|3}x=f+1|0}if(!w){break Ea}while(1){n=H+T(x,20)|0;if(N[n+8>>2]!=(l|0)){p=p|32;N[c+144>>2]=p;N[n+4>>2]=N[n+4>>2]|3}n=H+T(x+1|0,20)|0;if(N[n+8>>2]!=(l|0)){p=p|32;N[c+144>>2]=p;N[n+4>>2]=N[n+4>>2]|3}x=x+2|0;if((m|0)!=(x|0)){continue}break}}Fa:{if(f>>>0>=g>>>0){break Fa}l=0;n=v&3;if(n){while(1){x=H+T(f,20)|0;N[x+4>>2]=N[x+4>>2]|r;f=f+1|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}if(v-1>>>0<=2){break Fa}while(1){n=H+T(f,20)|0;N[n+4>>2]=N[n+4>>2]|r;N[n+24>>2]=N[n+24>>2]|r;N[n+44>>2]=N[n+44>>2]|r;n=n- -64|0;N[n>>2]=N[n>>2]|r;f=f+4|0;if((g|0)!=(f|0)){continue}break}}N[u+4>>2]=N[u+4>>2]|j;Ga:{if(i>>>0<=k>>>0){break Ga}f=0;n=(g^-1)+i&3;if(n){while(1){l=H+T(k,20)|0;N[l+4>>2]=o|N[l+4>>2]|j;k=k+1|0;f=f+1|0;if((n|0)!=(f|0)){continue}break}}if((i-g|0)-2>>>0<3){break Ga}while(1){f=H+T(k,20)|0;N[f+4>>2]=o|N[f+4>>2]|j;N[f+24>>2]=o|N[f+24>>2]|j;N[f+44>>2]=o|N[f+44>>2]|j;f=f- -64|0;N[f>>2]=o|N[f>>2]|j;k=k+4|0;if((k|0)!=(i|0)){continue}break}}g=i-1|0}g=g+1|0;if(h>>>0>g>>>0){continue}break}}f=N[N[a+80>>2]+32>>2];if(f){Qa[f|0](J,c,b)}if(e){x=0;while(1){k=(x<<4)+d|0;i=N[k+8>>2];Ha:{if(!i&N[k+12>>2]==-1){break Ha}Ia:{Ja:{f=N[a+104>>2];if((f|0)<=0){break Ja}j=N[a+108>>2];g=N[k>>2];f=f-1|0;h=0;while(1){Ka:{n=f+h>>>1|0;r=j+T(n,36)|0;l=N[r>>2];La:{if(l>>>0>g>>>0){f=n-1|0;break La}if(g>>>0<=l>>>0){break Ka}h=n+1|0}if((f|0)>=(h|0)){continue}break Ja}break}h=N[r+20>>2];f=N[r+24>>2];break Ia}h=0;f=0}if(!f){break Ha}g=N[c+68>>2];if(!g){break Ha}n=f^-1;h=f&N[k+4>>2]<>2];r=N[c+80>>2];f=0;if((g|0)!=1){j=g&1;l=g&-2;while(1){g=r+T(f,20)|0;v=N[g+8>>2];if(!(v>>>0>>0|k>>>0<=v>>>0)){N[g+4>>2]=h|n&N[g+4>>2]}g=r+T(f|1,20)|0;v=N[g+8>>2];if(!(v>>>0>>0|k>>>0<=v>>>0)){N[g+4>>2]=h|n&N[g+4>>2]}f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!j){break Ha}}g=i;f=r+T(f,20)|0;i=N[f+8>>2];if(g>>>0>i>>>0|i>>>0>=k>>>0){break Ha}N[f+4>>2]=h|n&N[f+4>>2]}x=x+1|0;if((x|0)!=(e|0)){continue}break}}h=N[c+80>>2];r=N[c+68>>2];Ma:{if(O[a+200|0]&128){if(!r){break Ma}f=0;while(1){e=T(f,20)+h|0;k=P[e+16>>1];if((k&31)==12){d=k>>>8|0;Na:{if(k>>>0>51199){n=d;break Na}Oa:{Pa:{g=N[e>>2];if((g&-256)==3584){if(k>>>0<=255){i=0;Qa:{switch(g-3633|0){case 128:case 131:case 132:case 133:case 134:case 138:case 155:case 156:i=230;break Oa;case 0:case 3:case 4:case 5:case 6:case 22:case 27:case 28:case 29:break Pa;case 139:break Qa;default:break Oa}}i=220;break Oa}i=222;if((g|0)==3642){break Oa}}n=220;Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{i=d;switch(d-3|0){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 27:case 30:case 115:case 126:case 128:break Na;case 119:case 129:break Ra;case 104:break Sa;case 0:break Ta;case 23:case 24:case 25:case 26:case 28:case 29:case 31:case 32:case 33:break Ua;case 8:case 11:break Va;case 7:break Wa;case 10:break Xa;default:break Oa}}n=214;break Na}n=232;break Na}n=228;break Na}n=230;break Na}n=222;break Na}n=232;break Na}n=230;break Na}i=232}n=i}M[e+16>>1]=k&255|n<<8}f=f+1|0;if((r|0)!=(f|0)){continue}break}r=N[c+68>>2];h=N[c+80>>2]}if(!r){break Ma}k=0;f=0;if(r>>>0>=4){d=r&-4;while(1){e=T(f,20)+h|0;N[e>>2]=N[e+12>>2];e=T(f|1,20)+h|0;N[e>>2]=N[e+12>>2];e=T(f|2,20)+h|0;N[e>>2]=N[e+12>>2];e=T(f|3,20)+h|0;N[e>>2]=N[e+12>>2];f=f+4|0;if((d|0)!=(f|0)){continue}break}}d=r&3;if(!d){break Ma}while(1){e=T(f,20)+h|0;N[e>>2]=N[e+12>>2];f=f+1|0;k=k+1|0;if((d|0)!=(k|0)){continue}break}}N[c+36>>2]=2;d=O[c+140|0];if((d&15)==15){L[c+140|0]=d&240|7;d=N[b+24>>2];f=N[d+140>>2];Ya:{if(f){break Ya}while(1){e=N[d+48>>2];if(!e){f=275552;break Ya}f=db(1,4);if(!f){f=275552;N[d+140>>2]=275552;break Ya}f=Of(f,e);if(!N[d+140>>2]){N[d+140>>2]=f;break Ya}ab(N[f>>2]);_a(f);f=N[d+140>>2];if(!f){continue}break}}d=N[c+68>>2];if(d){e=N[f>>2];e=e?e:275552;e=Q[e+16>>2]<4?275552:N[e+12>>2];f=0;while(1){k=T(f,20);h=k+N[c+80>>2]|0;da=h,ea=Tc(e,N[h>>2]),M[da+12>>1]=ea;L[(k+N[c+80>>2]|0)+14|0]=0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}f=P[a+200>>1];Za:{if(!(f&64)){break Za}e=N[c+68>>2];if(!e){break Za}h=N[c+80>>2];f=0;while(1){d=h+T(f,20)|0;i=P[d+16>>1];_a:{if((i&31)==12){k=8;if(!(i&32)|P[d+12>>1]&16){break _a}}k=2}M[d+12>>1]=k;f=f+1|0;if((e|0)!=(f|0)){continue}break}f=P[a+200>>1]}$a:{if(f&8192){n=0;j=La-160|0;La=j;f=N[b+24>>2];d=N[f+156>>2];ab:{if(d){break ab}k=j- -64|0;while(1){d=N[f+48>>2];if(!d){d=275552;break ab}N[k>>2]=0;N[k+4>>2]=0;N[j+72>>2]=0;N[j+76>>2]=0;L[j+80|0]=0;N[j+56>>2]=0;N[j+60>>2]=0;N[j+84>>2]=0;N[j+88>>2]=0;e=N[d+32>>2];if((e|0)==-1){e=sb(d+56|0);e=O[e+4|0]|O[e+5|0]<<8;e=(e<<8|e>>>8)&65535;N[d+32>>2]=e}L[j+96|0]=1;N[j+92>>2]=e;e=N[d+12>>2];bb:{if(e){d=Qa[e|0](d,1836020344,N[d+16>>2])|0;if(d){break bb}}d=275552}e=tl(j+56|0,d);d=N[f+156>>2];cb:{if(e){if(d){break cb}d=e;N[f+156>>2]=e;break ab}if(d){break ab}d=275552;N[f+156>>2]=275552;break ab}if((e|0)==275552){break ab}ab(e);d=N[f+156>>2];if(!d){continue}break}}db:{e=Q[d+16>>2]<8?275552:N[d+12>>2];eb:{if(O[e|0]|O[e+1|0]<<8){f=Te(j+56|0,J,b,c,d);if(ib(c,b,7994,0)){d=N[f+16>>2];fb:{if(!O[d+60|0]){break fb}N[f+72>>2]=0;k=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!k){break fb}k=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);H=k>>>0<=1?1:k;h=e+8|0;while(1){e=O[h+12|0]|O[h+13|0]<<8|(O[h+14|0]<<16|O[h+15|0]<<24);gb:{if(!e){break gb}d=N[f+4>>2];s=N[(Q[d+104>>2]<=n>>>0?275552:N[d+108>>2]+(n<<2)|0)>>2];d=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);p=d>>>0<=1?1:d;d=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);e=(T(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),12)+h|0)+16|0;r=0;while(1){d=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);hb:{if(!(s&(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)))){break hb}k=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!(k&32)&((k&128)>>>7|0)==((N[N[f+16>>2]+40>>2]&-2)!=6|0)){break hb}ib:{if(k&16){d=N[f+16>>2];k=(k&64)>>>6|0;break ib}d=N[f+16>>2];k=(k&64)>>>6^(N[d+40>>2]&-3)==5}i=N[f+8>>2];N[j+48>>2]=N[f+72>>2];if(!ib(d,i,17537,j+48|0)){break hb}jb:{if(k){l=N[f+16>>2];v=N[l+68>>2];if(v>>>0>=2){x=N[l+80>>2];k=v-1|0;d=0;while(1){i=x+T(k,20)|0;N[j+152>>2]=N[i+16>>2];g=N[i+12>>2];N[j+144>>2]=N[i+8>>2];N[j+148>>2]=g;g=N[i+4>>2];N[j+136>>2]=N[i>>2];N[j+140>>2]=g;g=x+T(d,20)|0;N[i+16>>2]=N[g+16>>2];o=N[g+12>>2];N[i+8>>2]=N[g+8>>2];N[i+12>>2]=o;o=N[g+4>>2];N[i>>2]=N[g>>2];N[i+4>>2]=o;N[g+16>>2]=N[j+152>>2];i=N[j+148>>2];N[g+8>>2]=N[j+144>>2];N[g+12>>2]=i;i=N[j+140>>2];N[g>>2]=N[j+136>>2];N[g+4>>2]=i;d=d+1|0;k=k-1|0;if(d>>>0>>0){continue}break}}kb:{if(!O[l+63|0]){break kb}d=N[l+68>>2];d=d>>>0>>0?d:v;if(d>>>0<2){break kb}l=N[l+88>>2];k=d-1|0;d=0;while(1){i=l+T(k,20)|0;N[j+152>>2]=N[i+16>>2];g=N[i+12>>2];N[j+144>>2]=N[i+8>>2];N[j+148>>2]=g;g=N[i+4>>2];N[j+136>>2]=N[i>>2];N[j+140>>2]=g;g=l+T(d,20)|0;N[i+16>>2]=N[g+16>>2];v=N[g+12>>2];N[i+8>>2]=N[g+8>>2];N[i+12>>2]=v;v=N[g+4>>2];N[i>>2]=N[g>>2];N[i+4>>2]=v;N[g+16>>2]=N[j+152>>2];i=N[j+148>>2];N[g+8>>2]=N[j+144>>2];N[g+12>>2]=i;i=N[j+140>>2];N[g>>2]=N[j+136>>2];N[g+4>>2]=i;d=d+1|0;k=k-1|0;if(d>>>0>>0){continue}break}}d=N[f+52>>2];i=N[d+12>>2];N[f+24>>2]=i;d=N[d+16>>2];g=d+i|0;N[f+28>>2]=g;if((d|0)<0){break db}k=0;d=0;lb:{if(e>>>0>>0){break lb}d=0;if(e>>>0>=g>>>0){break lb}k=g-e|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);k=(d>>>0>k>>>0?k:d)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=k;nl(e,f);d=N[f+52>>2];k=N[d+12>>2];N[f+24>>2]=k;d=N[d+16>>2];N[f+28>>2]=d+k;if((d|0)<0){break db}l=N[f+16>>2];v=N[l+68>>2];if(v>>>0>=2){x=N[l+80>>2];k=v-1|0;d=0;while(1){i=x+T(k,20)|0;N[j+152>>2]=N[i+16>>2];g=N[i+12>>2];N[j+144>>2]=N[i+8>>2];N[j+148>>2]=g;g=N[i+4>>2];N[j+136>>2]=N[i>>2];N[j+140>>2]=g;g=x+T(d,20)|0;N[i+16>>2]=N[g+16>>2];o=N[g+12>>2];N[i+8>>2]=N[g+8>>2];N[i+12>>2]=o;o=N[g+4>>2];N[i>>2]=N[g>>2];N[i+4>>2]=o;N[g+16>>2]=N[j+152>>2];i=N[j+148>>2];N[g+8>>2]=N[j+144>>2];N[g+12>>2]=i;i=N[j+140>>2];N[g>>2]=N[j+136>>2];N[g+4>>2]=i;d=d+1|0;k=k-1|0;if(d>>>0>>0){continue}break}}if(!O[l+63|0]){break jb}d=N[l+68>>2];d=d>>>0>>0?d:v;if(d>>>0<2){break jb}l=N[l+88>>2];k=d-1|0;d=0;while(1){i=l+T(k,20)|0;N[j+152>>2]=N[i+16>>2];g=N[i+12>>2];N[j+144>>2]=N[i+8>>2];N[j+148>>2]=g;g=N[i+4>>2];N[j+136>>2]=N[i>>2];N[j+140>>2]=g;g=l+T(d,20)|0;N[i+16>>2]=N[g+16>>2];v=N[g+12>>2];N[i+8>>2]=N[g+8>>2];N[i+12>>2]=v;v=N[g+4>>2];N[i>>2]=N[g>>2];N[i+4>>2]=v;N[g+16>>2]=N[j+152>>2];i=N[j+148>>2];N[g+8>>2]=N[j+144>>2];N[g+12>>2]=i;i=N[j+140>>2];N[g>>2]=N[j+136>>2];N[g+4>>2]=i;d=d+1|0;k=k-1|0;if(d>>>0>>0){continue}break}break jb}d=N[f+52>>2];i=N[d+12>>2];N[f+24>>2]=i;d=N[d+16>>2];g=d+i|0;N[f+28>>2]=g;if((d|0)<0){break db}k=0;d=0;mb:{if(e>>>0>>0){break mb}d=0;if(e>>>0>=g>>>0){break mb}k=g-e|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);k=(d>>>0>k>>>0?k:d)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=k;nl(e,f);d=N[f+52>>2];k=N[d+12>>2];N[f+24>>2]=k;d=N[d+16>>2];N[f+28>>2]=d+k;if((d|0)<0){break db}}d=N[f+8>>2];k=N[f+16>>2];N[j+32>>2]=N[f+72>>2];ib(k,d,17560,j+32|0);d=N[f+16>>2];if(!O[d+60|0]){break gb}}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[f+72>>2]=N[f+72>>2]+1;e=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+e|0;r=r+1|0;if((p|0)!=(r|0)){continue}break}d=N[f+16>>2]}if(!O[d+60|0]){break fb}e=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+h|0;n=n+1|0;if((H|0)!=(n|0)){continue}break}}ib(c,b,8011,0)}ab(N[f+52>>2]);break eb}f=N[b+24>>2];d=N[f+160>>2];nb:{if(d){break nb}k=j- -64|0;while(1){d=N[f+48>>2];if(!d){d=275552;break nb}N[k>>2]=0;N[k+4>>2]=0;N[j+72>>2]=0;N[j+76>>2]=0;L[j+80|0]=0;N[j+56>>2]=0;N[j+60>>2]=0;N[j+84>>2]=0;N[j+88>>2]=0;e=N[d+32>>2];if((e|0)==-1){e=sb(d+56|0);e=O[e+4|0]|O[e+5|0]<<8;e=(e<<8|e>>>8)&65535;N[d+32>>2]=e}L[j+96|0]=1;N[j+92>>2]=e;e=N[d+12>>2];ob:{if(e){d=Qa[e|0](d,1836020340,N[d+16>>2])|0;if(d){break ob}}d=275552}e=rl(j+56|0,d);d=N[f+160>>2];pb:{if(e){if(d){break pb}d=e;N[f+160>>2]=e;break nb}if(d){break nb}d=275552;N[f+160>>2]=275552;break nb}if((e|0)==275552){break nb}ab(e);d=N[f+160>>2];if(!d){continue}break}}e=Q[d+16>>2]<8?275552:N[d+12>>2];if(!(O[e|0]|O[e+1|0]<<8)){break eb}f=Te(j+56|0,J,b,c,d);if(ib(c,b,8735,0)){d=N[f+16>>2];qb:{if(!O[d+60|0]){break qb}N[f+72>>2]=0;k=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!k){break qb}k=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);H=k>>>0<=1?1:k;h=e+8|0;while(1){e=O[h+10|0]|O[h+11|0]<<8;rb:{if(!e){break rb}d=N[f+4>>2];s=N[(Q[d+104>>2]<=n>>>0?275552:N[d+108>>2]+(n<<2)|0)>>2];d=(e<<8|e>>>8)&65535;p=d>>>0<=1?1:d;d=O[h+8|0]|O[h+9|0]<<8;e=(T((d<<8|d>>>8)&65535,12)+h|0)+12|0;r=0;while(1){d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);sb:{if(!(s&(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)))){break sb}k=O[e+2|0];if(!(k&32)&((N[N[f+16>>2]+40>>2]&-2)!=6|0)==(k>>>0>127|0)){break sb}tb:{if(k&16){d=N[f+16>>2];k=(k&64)>>>6|0;break tb}d=N[f+16>>2];k=(k&64)>>>6^(N[d+40>>2]&-3)==5}i=N[f+8>>2];N[j+16>>2]=N[f+72>>2];if(!ib(d,i,17537,j+16|0)){break sb}ub:{if(k){l=N[f+16>>2];v=N[l+68>>2];if(v>>>0>=2){x=N[l+80>>2];k=v-1|0;d=0;while(1){i=x+T(k,20)|0;N[j+152>>2]=N[i+16>>2];g=N[i+12>>2];N[j+144>>2]=N[i+8>>2];N[j+148>>2]=g;g=N[i+4>>2];N[j+136>>2]=N[i>>2];N[j+140>>2]=g;g=x+T(d,20)|0;N[i+16>>2]=N[g+16>>2];o=N[g+12>>2];N[i+8>>2]=N[g+8>>2];N[i+12>>2]=o;o=N[g+4>>2];N[i>>2]=N[g>>2];N[i+4>>2]=o;N[g+16>>2]=N[j+152>>2];i=N[j+148>>2];N[g+8>>2]=N[j+144>>2];N[g+12>>2]=i;i=N[j+140>>2];N[g>>2]=N[j+136>>2];N[g+4>>2]=i;d=d+1|0;k=k-1|0;if(d>>>0>>0){continue}break}}vb:{if(!O[l+63|0]){break vb}d=N[l+68>>2];d=d>>>0>>0?d:v;if(d>>>0<2){break vb}l=N[l+88>>2];k=d-1|0;d=0;while(1){i=l+T(k,20)|0;N[j+152>>2]=N[i+16>>2];g=N[i+12>>2];N[j+144>>2]=N[i+8>>2];N[j+148>>2]=g;g=N[i+4>>2];N[j+136>>2]=N[i>>2];N[j+140>>2]=g;g=l+T(d,20)|0;N[i+16>>2]=N[g+16>>2];v=N[g+12>>2];N[i+8>>2]=N[g+8>>2];N[i+12>>2]=v;v=N[g+4>>2];N[i>>2]=N[g>>2];N[i+4>>2]=v;N[g+16>>2]=N[j+152>>2];i=N[j+148>>2];N[g+8>>2]=N[j+144>>2];N[g+12>>2]=i;i=N[j+140>>2];N[g>>2]=N[j+136>>2];N[g+4>>2]=i;d=d+1|0;k=k-1|0;if(d>>>0>>0){continue}break}}d=N[f+52>>2];i=N[d+12>>2];N[f+24>>2]=i;d=N[d+16>>2];g=d+i|0;N[f+28>>2]=g;if((d|0)<0){break db}k=0;d=0;wb:{if(e>>>0>>0){break wb}d=0;if(e>>>0>=g>>>0){break wb}d=g-e|0;k=O[e|0]|O[e+1|0]<<8;k=(k<<8|k>>>8)&65535;k=(d>>>0>>0?d:k)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=k;ml(e,f);d=N[f+52>>2];k=N[d+12>>2];N[f+24>>2]=k;d=N[d+16>>2];N[f+28>>2]=d+k;if((d|0)<0){break db}l=N[f+16>>2];v=N[l+68>>2];if(v>>>0>=2){x=N[l+80>>2];k=v-1|0;d=0;while(1){i=x+T(k,20)|0;N[j+152>>2]=N[i+16>>2];g=N[i+12>>2];N[j+144>>2]=N[i+8>>2];N[j+148>>2]=g;g=N[i+4>>2];N[j+136>>2]=N[i>>2];N[j+140>>2]=g;g=x+T(d,20)|0;N[i+16>>2]=N[g+16>>2];o=N[g+12>>2];N[i+8>>2]=N[g+8>>2];N[i+12>>2]=o;o=N[g+4>>2];N[i>>2]=N[g>>2];N[i+4>>2]=o;N[g+16>>2]=N[j+152>>2];i=N[j+148>>2];N[g+8>>2]=N[j+144>>2];N[g+12>>2]=i;i=N[j+140>>2];N[g>>2]=N[j+136>>2];N[g+4>>2]=i;d=d+1|0;k=k-1|0;if(d>>>0>>0){continue}break}}if(!O[l+63|0]){break ub}d=N[l+68>>2];d=d>>>0>>0?d:v;if(d>>>0<2){break ub}l=N[l+88>>2];k=d-1|0;d=0;while(1){i=l+T(k,20)|0;N[j+152>>2]=N[i+16>>2];g=N[i+12>>2];N[j+144>>2]=N[i+8>>2];N[j+148>>2]=g;g=N[i+4>>2];N[j+136>>2]=N[i>>2];N[j+140>>2]=g;g=l+T(d,20)|0;N[i+16>>2]=N[g+16>>2];v=N[g+12>>2];N[i+8>>2]=N[g+8>>2];N[i+12>>2]=v;v=N[g+4>>2];N[i>>2]=N[g>>2];N[i+4>>2]=v;N[g+16>>2]=N[j+152>>2];i=N[j+148>>2];N[g+8>>2]=N[j+144>>2];N[g+12>>2]=i;i=N[j+140>>2];N[g>>2]=N[j+136>>2];N[g+4>>2]=i;d=d+1|0;k=k-1|0;if(d>>>0>>0){continue}break}break ub}d=N[f+52>>2];i=N[d+12>>2];N[f+24>>2]=i;d=N[d+16>>2];g=d+i|0;N[f+28>>2]=g;if((d|0)<0){break db}k=0;d=0;xb:{if(e>>>0>>0){break xb}d=0;if(e>>>0>=g>>>0){break xb}d=g-e|0;k=O[e|0]|O[e+1|0]<<8;k=(k<<8|k>>>8)&65535;k=(d>>>0>>0?d:k)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=k;ml(e,f);d=N[f+52>>2];k=N[d+12>>2];N[f+24>>2]=k;d=N[d+16>>2];N[f+28>>2]=d+k;if((d|0)<0){break db}}d=N[f+8>>2];k=N[f+16>>2];N[j>>2]=N[f+72>>2];ib(k,d,17560,j);d=N[f+16>>2];if(!O[d+60|0]){break rb}}d=O[e|0]|O[e+1|0]<<8;N[f+72>>2]=N[f+72>>2]+1;e=((d<<8|d>>>8)&65535)+e|0;r=r+1|0;if((p|0)!=(r|0)){continue}break}d=N[f+16>>2]}if(!O[d+60|0]){break qb}e=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+h|0;n=n+1|0;if((H|0)!=(n|0)){continue}break}}ib(c,b,8752,0)}ab(N[f+52>>2])}La=j+160|0;break $a}break b}d=N[b+24>>2]+144|0;e=N[Vb(d)>>2];e=e?e:275552;f=N[e+16>>2];e=N[e+12>>2];H=N[Vb(d)+8>>2];if(!ib(c,b,20436,0)){break $a}d=Ec(q+120|0,0,b,c);N[d+100>>2]=291;k=N[a+140>>2];if(k){g=f>>>0<4?275552:e;h=0;s=0;while(1){v=k>>>0<=s>>>0?275552:N[a+144>>2]+(s<<3)|0;if(Q[v>>2]>h>>>0){while(1){e=Q[a+116>>2]<=h>>>0?275552:N[a+120>>2]+T(h,12)|0;f=P[e>>1];k=N[e+8>>2];N[q+80>>2]=k&255;N[q+64>>2]=f;N[q+68>>2]=k>>>24;N[q+76>>2]=k>>>8&255;N[q+72>>2]=k>>>16&255;if(ib(c,b,24707,q- -64|0)){j=H+T(f,28)|0;yb:{if(!(!(N[d+116>>2]&N[j>>2])|!(N[d+120>>2]&N[j+4>>2])|!(N[d+124>>2]&N[j+8>>2]))){N[d+136>>2]=f;i=N[e+4>>2];N[d+32>>2]=0;N[d+132>>2]=i;N[d+24>>2]=0;N[d+28>>2]=0;k=N[d+140>>2];N[d+12>>2]=k;n=N[d+84>>2]==1;L[d+20|0]=n;L[d+21|0]=O[d+150|0];N[d+16>>2]=i;N[d+72>>2]=0;r=O[d+151|0];L[d+22|0]=r;N[d+64>>2]=0;N[d+68>>2]=0;N[d+52>>2]=k;N[d+8>>2]=d;N[d+48>>2]=d;L[d+61|0]=1;N[d+56>>2]=-1;L[d+62|0]=r;l=n|O[d+149|0]!=0;L[d+60|0]=l;x=O[e+2|0];N[d+28>>2]=0;N[d+32>>2]=0;N[d+12>>2]=k;N[d+68>>2]=0;N[d+72>>2]=0;N[d+16>>2]=i;N[d+52>>2]=k;N[d+56>>2]=-1;L[d+20|0]=n;L[d+22|0]=r;L[d+60|0]=l;L[d+62|0]=r;l=x>>>1&1;L[d+21|0]=l;L[d+150|0]=l;x=O[e+2|0];L[d+61|0]=1;L[d+62|0]=r;L[d+22|0]=r;L[d+20|0]=n;L[d+21|0]=l;N[d+52>>2]=k;N[d+16>>2]=i;N[d+64>>2]=0;N[d+12>>2]=k;N[d+24>>2]=0;L[d+149|0]=x&1;r=(n|x)&1;L[d+60|0]=r;N[d+48>>2]=d;N[d+8>>2]=d;L[d+152|0]=O[e+2|0]>>>2&1;x=O[e+2|0];N[d+28>>2]=0;N[d+32>>2]=0;L[d+21|0]=l;L[d+20|0]=n;N[d+12>>2]=k;N[d+16>>2]=i;N[d+68>>2]=0;N[d+72>>2]=0;L[d+60|0]=r;N[d+52>>2]=k;N[d+56>>2]=-1;k=x>>>3&1;L[d+151|0]=k;L[d+22|0]=k;L[d+62|0]=k;k=275552;zb:{if((O[g|0]|O[g+1|0]<<8)!=256){break zb}i=275552;n=O[g+8|0]|O[g+9|0]<<8;if(n){i=g+((n<<8|n>>>8)&65535)|0}n=O[i|0]|O[i+1|0]<<8;if(f>>>0>=((n<<8|n>>>8)&65535)>>>0){break zb}n=(f<<1)+i|0;n=O[n+2|0]|O[n+3|0]<<8;if(!n){break zb}k=((n<<8|n>>>8)&65535)+i|0}Mj(d,k,j);break yb}k=N[e+8>>2];N[q+48>>2]=k&255;N[q+32>>2]=f;N[q+36>>2]=k>>>24;N[q+44>>2]=k>>>8&255;N[q+40>>2]=k>>>16&255;ib(c,b,11287,q+32|0)}e=N[e+8>>2];N[q+16>>2]=e&255;N[q>>2]=f;N[q+4>>2]=e>>>24;N[q+12>>2]=e>>>8&255;N[q+8>>2]=e>>>16&255;ib(c,b,24742,q)}h=h+1|0;if(h>>>0>2]){continue}break}}e=N[v+4>>2];Ab:{if(!e){break Ab}if(!(Qa[e|0](J,b,c)|0)){break Ab}e=N[c+68>>2];Bb:{if(!e){j=0;r=0;n=0;break Bb}r=0;k=N[c+80>>2];j=k;n=0;l=e>>>0<4;if(!l){f=e&-4;i=0;while(1){n=1<<(N[j>>2]>>>4)|n|1<<(N[j+20>>2]>>>4)|1<<(N[j+40>>2]>>>4)|1<<(N[j+60>>2]>>>4);j=j+80|0;i=i+4|0;if((f|0)!=(i|0)){continue}break}}f=e&3;if(f){while(1){n=1<<(N[j>>2]>>>4)|n;j=j+20|0;r=r+1|0;if((f|0)!=(r|0)){continue}break}}i=0;j=k;r=0;if(!l){x=e&-4;v=0;while(1){r=1<>2]|r|1<>2]|1<>2]|1<>2];j=j+80|0;v=v+4|0;if((x|0)!=(v|0)){continue}break}}if(f){while(1){r=1<>2]|r;j=j+20|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}i=0;Cb:{if(l){j=0;break Cb}e=e&-4;j=0;v=0;while(1){j=1<<(N[k>>2]>>>9)|j|1<<(N[k+20>>2]>>>9)|1<<(N[k+40>>2]>>>9)|1<<(N[k+60>>2]>>>9);k=k+80|0;v=v+4|0;if((e|0)!=(v|0)){continue}break}}if(!f){break Bb}while(1){j=1<<(N[k>>2]>>>9)|j;k=k+20|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}N[d+124>>2]=j;N[d+120>>2]=r;N[d+116>>2]=n}k=N[a+140>>2];s=s+1|0;if(k>>>0>s>>>0){continue}break}}_a(N[d+112>>2]);ib(c,b,20453,0)}if((P[a+200>>1]&8704)==8704){ll(c)}N[c+72>>2]=0;M[c+62>>1]=256;j=N[c+80>>2];N[c+84>>2]=j;k=N[c+68>>2];d=T(k,20);if(d){G(N[c+88>>2],0,d);j=N[c+80>>2];k=N[c+68>>2]}d=N[c+88>>2];Db:{if((N[c+40>>2]&-2)==4){e=N[b+96>>2];f=N[e+48>>2];h=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+28>>2]}else{e=0}Qa[f|0](b,h,k,j,20,d,20,e);e=N[147126];f=b;while(1){if((e|0)==N[N[f+96>>2]+56>>2]){f=N[f+20>>2];if(!f){break Db}if((f|0)!=588752){continue}break Db}break}if(!k){break Db}h=0;while(1){e=T(h,20);Id(b,N[e+j>>2],q+120|0,q+96|0);e=d+e|0;N[e+8>>2]=N[e+8>>2]-N[q+120>>2];N[e+12>>2]=N[e+12>>2]-N[q+96>>2];h=h+1|0;if((h|0)!=(k|0)){continue}break}break Db}e=N[b+96>>2];f=N[e+52>>2];h=0;i=N[b+100>>2];g=d+4|0;e=N[e+12>>2];if(e){e=N[e+32>>2]}else{e=0}Qa[f|0](b,i,k,j,20,g,20,e);if(!k){break Db}while(1){e=T(h,20);qq(b,N[e+j>>2],q+120|0,q+96|0);e=d+e|0;N[e+8>>2]=N[e+8>>2]-N[q+120>>2];N[e+12>>2]=N[e+12>>2]-N[q+96>>2];h=h+1|0;if((h|0)!=(k|0)){continue}break}}r=N[c+80>>2];n=N[c+88>>2];g=N[c+68>>2];H=g;Eb:{if(!(O[c+144|0]&4)){break Eb}H=0;if(!g){break Eb}h=(N[c+40>>2]&-2)!=4;f=0;while(1){k=T(f,20);d=k+r|0;Fb:{if((P[d+16>>1]&31)!=29|O[d+12|0]&32){break Fb}e=N[c+28>>2];Gb:{if(!e|(e|0)!=N[d>>2]){break Gb}if(!h){N[k+n>>2]=N[b+28>>2]/4;break Gb}N[(k+n|0)+4>>2]=N[b+32>>2]/-4}Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{d=P[d+16>>1];d=(d&31)==29?d>>>8|0:0;switch(d-1|0){case 20:break Jb;case 19:break Kb;case 18:break Lb;case 16:break Mb;case 0:case 1:case 2:case 3:case 4:case 5:case 15:break Nb;default:break Fb}}e=d>>>1|0;if(!h){N[k+n>>2]=(e+N[b+28>>2]|0)/(d|0);break Fb}N[(k+n|0)+4>>2]=0-((e+N[b+32>>2]|0)/(d|0)|0);break Fb}if(!h){d=N[b+28>>2];m=d>>31<<2|d>>>30;da=k+n|0,ea=UE(d<<2,m,18,0),N[da>>2]=ea;break Fb}d=0-N[b+32>>2]|0;m=d>>31<<2|d>>>30;da=k+n|0,ea=UE(d<<2,m,18,0),N[da+4>>2]=ea;break Fb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,i,48,j,d)|0)){break Ib}break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,i,46,j,d)|0)){N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,i,44,j,d)|0)){break Fb}}d=N[b+100>>2];j=N[b+96>>2];i=N[j+12>>2];e=N[q+120>>2];if(!h){j=N[j+40>>2];da=k+n|0,ea=Qa[j|0](b,d,e,i?N[i+20>>2]:0)|0,N[da>>2]=ea;break Fb}j=N[j+44>>2];da=k+n|0,ea=Qa[j|0](b,d,e,i?N[i+24>>2]:0)|0,N[da+4>>2]=ea;break Fb}if(!h){d=k+n|0;N[d>>2]=N[d>>2]/2;break Fb}d=k+n|0;N[d+4>>2]=N[d+4>>2]/2;break Fb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,i,49,j,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,i,50,j,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,i,51,j,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,i,52,j,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,i,53,j,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,i,54,j,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,i,55,j,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,i,56,j,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];i=N[b+100>>2];j=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,i,57,j,d)|0)){break Fb}}d=N[b+100>>2];j=N[b+96>>2];i=N[j+12>>2];e=N[q+120>>2];if(!h){j=N[j+40>>2];da=k+n|0,ea=Qa[j|0](b,d,e,i?N[i+20>>2]:0)|0,N[da>>2]=ea;break Fb}j=N[j+44>>2];da=k+n|0,ea=Qa[j|0](b,d,e,i?N[i+24>>2]:0)|0,N[da+4>>2]=ea}f=f+1|0;if((g|0)!=(f|0)){continue}break}r=N[c+80>>2];n=N[c+88>>2];H=N[c+68>>2]}x=0;x=L[a+201|0]&1?(N[c+40>>2]&-3)==4:x;d=N[147126];f=b;Ob:{Pb:{Qb:{while(1){if((d|0)!=N[N[f+96>>2]+56>>2]){break Qb}f=N[f+20>>2];if((f|0)!=588752?f:0){continue}break}l=H;k=(l|0)!=0;break Pb}k=0;if(!H){break Ob}while(1){d=T(k,20);Id(b,N[d+r>>2],q+120|0,q+96|0);d=d+n|0;N[d+8>>2]=N[d+8>>2]+N[q+120>>2];N[d+12>>2]=N[d+12>>2]+N[q+96>>2];k=k+1|0;if((H|0)!=(k|0)){continue}break}l=N[c+68>>2];k=1}if(!l){break Ob}h=0;f=0;if(l>>>0>=4){d=l&-4;while(1){e=T(f,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|1,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|2,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|3,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;f=f+4|0;if((d|0)!=(f|0)){continue}break}}d=l&3;if(!d){break Ob}while(1){e=T(f,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;f=f+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}Rb:{if(!(O[a+200|0]&32)|N[N[a+80>>2]+48>>2]!=1){break Rb}e=N[c+68>>2];if(!e){break Rb}i=N[c+80>>2];if(x){h=0;while(1){d=T(h,20);if(O[(d+i|0)+12|0]&8){d=d+N[c+88>>2]|0;f=N[d+4>>2];N[d+4>>2]=0;g=N[d>>2];N[d>>2]=0;N[d+8>>2]=N[d+8>>2]-g;N[d+12>>2]=N[d+12>>2]-f}h=h+1|0;if((e|0)!=(h|0)){continue}break}break Rb}f=0;if((e|0)!=1){d=e&1;e=e&-2;while(1){h=T(f,20);if(O[(h+i|0)+12|0]&8){h=h+N[c+88>>2]|0;N[h>>2]=0;N[h+4>>2]=0}h=T(f|1,20);if(O[(h+i|0)+12|0]&8){h=h+N[c+88>>2]|0;N[h>>2]=0;N[h+4>>2]=0}f=f+2|0;if((e|0)!=(f|0)){continue}break}if(!d){break Rb}}d=T(f,20);if(!(O[(d+i|0)+12|0]&8)){break Rb}d=d+N[c+88>>2]|0;N[d>>2]=0;N[d+4>>2]=0}s=c;h=0;v=0;g=La-448|0;La=g;Sb:{d=P[J+140>>1];if(d&512){d=N[b+24>>2]+148|0;e=N[lc(d)>>2];e=e?e:275552;f=N[e+16>>2];i=N[e+12>>2];w=N[lc(d)+8>>2];if(!ib(c,b,19444,0)){break Sb}j=Ec(g+272|0,1,b,c);N[j+100>>2]=288;e=N[J+92>>2];if(e){p=f>>>0<4?275552:i;while(1){t=e>>>0<=v>>>0?275552:N[J+96>>2]+(v<<3)|0;if(Q[t>>2]>h>>>0){while(1){d=Q[J+68>>2]<=h>>>0?275552:N[J+72>>2]+T(h,12)|0;f=P[d>>1];c=N[d+8>>2];N[g+176>>2]=c&255;N[g+160>>2]=f;N[g+164>>2]=c>>>24;N[g+172>>2]=c>>>8&255;N[g+168>>2]=c>>>16&255;if(ib(s,b,24707,g+160|0)){o=w+T(f,28)|0;Tb:{if(!(!(N[j+116>>2]&N[o>>2])|!(N[j+120>>2]&N[o+4>>2])|!(N[j+124>>2]&N[o+8>>2]))){N[j+136>>2]=f;e=N[d+4>>2];N[j+32>>2]=0;N[j+132>>2]=e;N[j+24>>2]=0;N[j+28>>2]=0;c=N[j+140>>2];N[j+12>>2]=c;i=N[j+84>>2]==1;L[j+20|0]=i;L[j+21|0]=O[j+150|0];N[j+16>>2]=e;N[j+72>>2]=0;l=O[j+151|0];L[j+22|0]=l;N[j+64>>2]=0;N[j+68>>2]=0;N[j+52>>2]=c;N[j+8>>2]=j;N[j+48>>2]=j;L[j+61|0]=1;N[j+56>>2]=-1;L[j+62|0]=l;m=i|O[j+149|0]!=0;L[j+60|0]=m;u=O[d+2|0];N[j+28>>2]=0;N[j+32>>2]=0;N[j+12>>2]=c;N[j+68>>2]=0;N[j+72>>2]=0;N[j+16>>2]=e;N[j+52>>2]=c;N[j+56>>2]=-1;L[j+20|0]=i;L[j+22|0]=l;L[j+60|0]=m;L[j+62|0]=l;m=u>>>1&1;L[j+21|0]=m;L[j+150|0]=m;u=O[d+2|0];L[j+61|0]=1;L[j+62|0]=l;L[j+22|0]=l;L[j+20|0]=i;L[j+21|0]=m;N[j+52>>2]=c;N[j+16>>2]=e;N[j+64>>2]=0;N[j+12>>2]=c;N[j+24>>2]=0;L[j+149|0]=u&1;l=(i|u)&1;L[j+60|0]=l;N[j+48>>2]=j;N[j+8>>2]=j;L[j+152|0]=O[d+2|0]>>>2&1;u=O[d+2|0];N[j+28>>2]=0;N[j+32>>2]=0;L[j+21|0]=m;L[j+20|0]=i;N[j+12>>2]=c;N[j+16>>2]=e;N[j+68>>2]=0;N[j+72>>2]=0;L[j+60|0]=l;N[j+52>>2]=c;N[j+56>>2]=-1;c=u>>>3&1;L[j+151|0]=c;L[j+22|0]=c;L[j+62|0]=c;c=275552;Ub:{if((O[p|0]|O[p+1|0]<<8)!=256){break Ub}e=275552;i=O[p+8|0]|O[p+9|0]<<8;if(i){e=p+((i<<8|i>>>8)&65535)|0}i=O[e|0]|O[e+1|0]<<8;if(f>>>0>=((i<<8|i>>>8)&65535)>>>0){break Ub}i=(f<<1)+e|0;i=O[i+2|0]|O[i+3|0]<<8;if(!i){break Ub}c=((i<<8|i>>>8)&65535)+e|0}i=N[j+96>>2];if(!N[i+68>>2]){break Tb}l=N[j+132>>2];if(!l){break Tb}e=O[c+2|0]|O[c+3|0]<<8;m=e<<8|e>>>8;e=m&65535;if(m&16){m=c;c=O[c+4|0]|O[c+5|0]<<8;c=m+(((c<<8|c>>>8)&65535)<<1)|0;c=O[c+6|0]|O[c+7|0]<<8;e=c<<24|c<<8&16711680|e}N[j+32>>2]=0;N[j+140>>2]=e;N[j+24>>2]=0;N[j+28>>2]=0;N[j+12>>2]=e;N[j+16>>2]=l;N[j+72>>2]=0;N[j+64>>2]=0;N[j+68>>2]=0;N[j+52>>2]=e;L[j+61|0]=1;L[j+21|0]=O[j+150|0];c=O[j+151|0];L[j+22|0]=c;e=N[j+84>>2]==1;L[j+20|0]=e;L[j+60|0]=e|O[j+149|0]!=0;N[j+8>>2]=j;N[j+48>>2]=j;L[j+62|0]=c;N[j+56>>2]=-1;N[i+64>>2]=0;Lj(j,o);break Tb}c=N[d+8>>2];N[g+144>>2]=c&255;N[g+128>>2]=f;N[g+132>>2]=c>>>24;N[g+140>>2]=c>>>8&255;N[g+136>>2]=c>>>16&255;ib(s,b,11287,g+128|0)}c=N[d+8>>2];N[g+112>>2]=c&255;N[g+96>>2]=f;N[g+100>>2]=c>>>24;N[g+108>>2]=c>>>8&255;N[g+104>>2]=c>>>16&255;ib(s,b,24742,g+96|0)}h=h+1|0;if(h>>>0>2]){continue}break}}c=N[t+4>>2];Vb:{if(!c){break Vb}if(!(Qa[c|0](J,b,s)|0)){break Vb}o=N[s+68>>2];Wb:{if(!o){d=0;l=0;f=0;break Wb}l=0;e=N[s+80>>2];d=e;f=0;t=o>>>0<4;if(!t){i=o&-4;c=0;while(1){f=1<<(N[d>>2]>>>4)|f|1<<(N[d+20>>2]>>>4)|1<<(N[d+40>>2]>>>4)|1<<(N[d+60>>2]>>>4);d=d+80|0;c=c+4|0;if((i|0)!=(c|0)){continue}break}}m=o&3;if(m){while(1){f=1<<(N[d>>2]>>>4)|f;d=d+20|0;l=l+1|0;if((m|0)!=(l|0)){continue}break}}c=0;d=e;l=0;if(!t){u=o&-4;i=0;while(1){l=1<>2]|l|1<>2]|1<>2]|1<>2];d=d+80|0;i=i+4|0;if((u|0)!=(i|0)){continue}break}}if(m){while(1){l=1<>2]|l;d=d+20|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}}c=0;Xb:{if(t){d=0;break Xb}o=o&-4;d=0;i=0;while(1){d=1<<(N[e>>2]>>>9)|d|1<<(N[e+20>>2]>>>9)|1<<(N[e+40>>2]>>>9)|1<<(N[e+60>>2]>>>9);e=e+80|0;i=i+4|0;if((o|0)!=(i|0)){continue}break}}if(!m){break Wb}while(1){d=1<<(N[e>>2]>>>9)|d;e=e+20|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}}N[j+124>>2]=d;N[j+120>>2]=l;N[j+116>>2]=f}e=N[J+92>>2];v=v+1|0;if(e>>>0>v>>>0){continue}break}}_a(N[j+112>>2]);ib(s,b,19461,0);break Sb}if(!(d&4096)){break Sb}f=N[b+24>>2];c=N[f+164>>2];Yb:{if(c){break Yb}while(1){c=N[f+48>>2];if(!c){c=275552;break Yb}N[g+280>>2]=0;N[g+284>>2]=0;N[g+288>>2]=0;N[g+292>>2]=0;L[g+296|0]=0;N[g+272>>2]=0;N[g+276>>2]=0;N[g+300>>2]=0;N[g+304>>2]=0;e=N[c+32>>2];if((e|0)==-1){d=sb(c+56|0);d=O[d+4|0]|O[d+5|0]<<8;e=(d<<8|d>>>8)&65535;N[c+32>>2]=e}L[g+312|0]=1;N[g+308>>2]=e;d=N[c+12>>2];Zb:{if(d){c=Qa[d|0](c,1801810552,N[c+16>>2])|0;if(c){break Zb}}c=275552}d=kl(g+272|0,c);c=N[f+164>>2];_b:{if(d){if(c){break _b}c=d;N[f+164>>2]=c;break Yb}if(c){break Yb}c=275552;N[f+164>>2]=275552;break Yb}if((d|0)==275552){break Yb}ab(d);c=N[f+164>>2];if(!c){continue}break}}j=N[c+16>>2];l=N[c+12>>2];o=Te(g+196|0,J,b,s,c);$b:{if(ib(s,b,8026,0)){d=N[b+24>>2];h=N[d+168>>2];ac:{if(h){break ac}while(1){c=N[d+48>>2];if(!c){h=275552;break ac}N[g+288>>2]=0;N[g+300>>2]=0;f=N[c+32>>2];if((f|0)==-1){e=sb(c+56|0);e=O[e+4|0]|O[e+5|0]<<8;f=(e<<8|e>>>8)&65535;N[c+32>>2]=f}L[g+312|0]=1;N[g+308>>2]=f;e=N[c+12>>2];bc:{if(e){i=Qa[e|0](c,1634626418,N[c+16>>2])|0;if(i){break bc}}i=275552}cc:{dc:{ec:{fc:{gc:{hc:{ic:{c=N[i>>2];if(c){if((c|0)<=0){break ic}N[i>>2]=c+1}L[g+296|0]=0;N[g+304>>2]=i;h=N[i+12>>2];N[g+276>>2]=h;c=N[i+16>>2];N[g+280>>2]=c+h;if((c|0)<0){break b}N[g+292>>2]=0;N[g+272>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[g+284>>2]=c;c=i;if(!h){break dc}if(oh(h,g+272|0)){break hc}jc:{if(O[g+296|0]|!N[g+300>>2]){break jc}if(!zb(c)){break jc}while(1){L[g+296|0]=1;c=N[g+304>>2];h=N[c+12>>2];N[g+276>>2]=h;e=N[c+16>>2];N[g+280>>2]=e+h;if((e|0)<0){break b}N[g+300>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[g+284>>2]=e;N[g+292>>2]=0;N[g+272>>2]=0;if(!h){break dc}if(oh(h,g+272|0)){break hc}if(O[g+296|0]|!N[g+300>>2]){break jc}c=zb(i);N[g+276>>2]=c;N[g+280>>2]=c+N[i+16>>2];if(c){continue}break}}ab(N[g+304>>2]);break gc}ba(23506,14099,260,16403);F()}if(!N[g+300>>2]){break fc}N[g+300>>2]=0;c=oh(h,g+272|0);e=N[g+300>>2];ab(N[g+304>>2]);if(e){break gc}if(c){break ec}}ab(i);h=N[d+168>>2];if(h){break ac}h=275552;N[d+168>>2]=275552;break ac}ab(N[g+304>>2])}if(!N[i+4>>2]){break cc}N[i+4>>2]=0;break cc}ab(c)}h=N[d+168>>2];if(!h){h=i;N[d+168>>2]=h;break ac}if((i|0)==275552){break ac}ab(i);h=N[d+168>>2];if(!h){continue}break}}c=N[h+12>>2];d=N[h+16>>2];N[o+72>>2]=0;N[o+64>>2]=d>>>0<12?275552:c;c=j>>>0<8?275552:l;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(d){d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);$=d>>>0<=1?1:d;_=d-1|0;d=c+8|0;K=g+276|0;e=0;j=0;while(1){c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);f=N[o+16>>2];h=N[f+40>>2];kc:{if((!(c&128)|0)==((h&-2)!=4|0)){break kc}i=N[o+8>>2];N[g+80>>2]=e;if(!ib(f,i,17581,g+80|0)){break kc}W=(c&16)>>>4^(h&-3)!=5;c=1;lc:{if(v){break lc}c=0;if(!(O[d+4|0]&64)){break lc}f=N[o+16>>2];e=N[f+68>>2];c=1;if(!e){break lc}f=N[f+88>>2];h=0;if((e|0)!=1){i=e&1;c=e&-2;while(1){e=f+T(h,20)|0;L[e+18|0]=2;M[e+16>>1]=(N[N[o+16>>2]+40>>2]&-3)==4?-1:1;e=f+T(h|1,20)|0;L[e+18|0]=2;M[e+16>>1]=(N[N[o+16>>2]+40>>2]&-3)==4?-1:1;h=h+2|0;if((c|0)!=(h|0)){continue}break}c=1;if(!i){break lc}}c=f+T(h,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[o+16>>2]+40>>2]&-3)==4?-1:1;c=1}v=c;mc:{if(W){break mc}e=N[o+16>>2];i=N[e+68>>2];if(i>>>0>=2){p=N[e+80>>2];l=i-1|0;f=0;while(1){h=p+T(l,20)|0;c=h;N[g+288>>2]=N[c+16>>2];m=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=m;m=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=m;c=p+T(f,20)|0;N[h+16>>2]=N[c+16>>2];m=N[c+12>>2];N[h+8>>2]=N[c+8>>2];N[h+12>>2]=m;m=N[c+4>>2];N[h>>2]=N[c>>2];N[h+4>>2]=m;N[c+16>>2]=N[g+288>>2];h=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=h;h=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=h;f=f+1|0;l=l-1|0;if(f>>>0>>0){continue}break}}if(!O[e+63|0]){break mc}c=N[e+68>>2];c=c>>>0>>0?c:i;if(c>>>0<2){break mc}h=N[e+88>>2];l=c-1|0;f=0;while(1){e=h+T(l,20)|0;c=e;N[g+288>>2]=N[c+16>>2];i=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=i;i=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=i;c=h+T(f,20)|0;N[e+16>>2]=N[c+16>>2];i=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=i;i=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=i;N[c+16>>2]=N[g+288>>2];e=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=e;e=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=e;f=f+1|0;l=l-1|0;if(f>>>0>>0){continue}break}}e=N[o+52>>2];c=N[e+12>>2];N[o+24>>2]=c;f=N[e+16>>2];e=f+c|0;N[o+28>>2]=e;nc:{oc:{pc:{qc:{rc:{if((f|0)>=0){sc:{if(j>>>0>=_>>>0){break sc}if(!(d>>>0>>0&c>>>0<=d>>>0)){N[o+24>>2]=0;N[o+28>>2]=0;break sc}N[o+24>>2]=d;e=e-d|0;c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);N[o+28>>2]=(c>>>0>e>>>0?e:c)+d}tc:{c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);e=c>>>24|0;switch(e|0){case 1:break oc;case 2:break pc;case 4:break qc;case 6:break rc;case 0:break tc;default:break nc}}f=N[o+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}C=N[f+132>>2];t=N[o+16>>2];u=N[o+8>>2];if(!ib(t,u,12581,0)){break nc}if(O[t+16|0]&64){wb(t,2,0,-1,1,0)}c=Ec(g+272|0,1,u,t);N[g+404>>2]=C;N[g+412>>2]=8;N[g+304>>2]=0;N[g+280>>2]=c;N[g+296>>2]=0;N[g+300>>2]=0;N[g+284>>2]=8;N[g+344>>2]=0;N[g+320>>2]=c;N[g+288>>2]=C;N[g+336>>2]=0;N[g+340>>2]=0;N[g+324>>2]=8;L[g+333|0]=1;L[g+293|0]=O[g+422|0];c=O[g+423|0];L[g+294|0]=c;f=O[g+421|0];h=N[g+356>>2]==1;L[g+292|0]=h;L[g+332|0]=h|(f|0)!=0;L[g+334|0]=c;N[g+328>>2]=-1;l=N[t+68>>2];if(l){S=N[t+40>>2]&-2;w=N[t+88>>2];z=N[t+80>>2];I=e&1073741824;Y=d+28|0;c=0;while(1){uc:{vc:{y=T(c,20);h=y+z|0;if(!(C&N[h+4>>2])){break vc}N[g+308>>2]=1;N[g+276>>2]=c;e=N[N[g+280>>2]+96>>2];N[g+312>>2]=N[e+68>>2];L[g+295|0]=O[g+294|0]?N[e+64>>2]==(c|0)?O[(y+N[e+80>>2]|0)+15|0]:0:0;if(!ic(K,g+440|0)){break vc}f=N[g+276>>2];D=T(f,20);e=O[d+12|0]|O[d+13|0]<<8|(O[d+14|0]<<16|O[d+15|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);wc:{if((e|0)>0){p=N[z+D>>2];m=N[h>>2];h=e-1|0;e=0;while(1){xc:{yc:{E=e+h>>>1|0;i=Y+T(E,6)|0;A=O[i|0]|O[i+1|0]<<8;A=(A<<8|A>>>8)&65535;zc:{if((A|0)==(m|0)){A=O[i+2|0]|O[i+3|0]<<8;A=(A<<8|A>>>8)&65535;if(A>>>0>p>>>0){break zc}if((p|0)==(A|0)){break wc}break yc}if(m>>>0>=A>>>0){break yc}}h=E-1|0;break xc}e=E+1|0}if((e|0)<=(h|0)){continue}break}}i=275552}e=O[i+4|0]|O[i+5|0]<<8;h=(e<<8|e>>>8)<<16>>16;i=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(i){e=f;i=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);if((i|0)<0){break uc}h=d+h|0;Ac:{i=i<<1;if(!i){break Ac}if(h>>>0>2]){break uc}p=N[o+28>>2];if(p>>>0>>0){break uc}if(i>>>0>p-h>>>0){break uc}e=N[o+32>>2]-i|0;N[o+32>>2]=e;if((e|0)>0){break Ac}e=f;break uc}e=O[h|0]|O[h+1|0]<<8;h=(e<<8|e>>>8)<<16>>16}e=f;if(!h){break uc}e=h>>31;Bc:{if((S|0)==4){e=TE(N[u+56>>2],N[u+60>>2],h,e);m=Pa;e=e+32768|0;e=((e>>>0<32768?m+1|0:m)&65535)<<16|e>>>16;if(I){N[(w+D|0)+12>>2]=e;N[t+144>>2]=N[t+144>>2]|8;break Bc}h=w+y|0;i=e>>1;N[h>>2]=i+N[h>>2];h=w+D|0;e=e-i|0;N[h>>2]=e+N[h>>2];N[h+8>>2]=e+N[h+8>>2];break Bc}e=TE(N[u+64>>2],N[u+68>>2],h,e);p=Pa;e=e+32768|0;e=((e>>>0<32768?p+1|0:p)&65535)<<16|e>>>16;if(I){N[(w+D|0)+8>>2]=e;N[t+144>>2]=N[t+144>>2]|8;break Bc}h=w+y|0;i=e>>1;N[h+4>>2]=i+N[h+4>>2];h=w+D|0;e=e-i|0;N[h+4>>2]=e+N[h+4>>2];N[h+12>>2]=e+N[h+12>>2]}Rc(t,c,f+1|0);e=N[g+276>>2];break uc}e=c+1|0}c=e;if(l>>>0>c>>>0){continue}break}}ib(t,u,12662,0);_a(N[g+384>>2]);break nc}break b}f=N[o+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}y=N[f+132>>2];t=N[o+16>>2];w=N[o+8>>2];if(!ib(t,w,12581,0)){break nc}if(O[t+16|0]&64){wb(t,2,0,-1,1,0)}c=Ec(g+272|0,1,w,t);N[g+404>>2]=y;N[g+412>>2]=8;N[g+304>>2]=0;N[g+280>>2]=c;N[g+296>>2]=0;N[g+300>>2]=0;N[g+284>>2]=8;N[g+344>>2]=0;N[g+320>>2]=c;N[g+288>>2]=y;N[g+336>>2]=0;N[g+340>>2]=0;N[g+324>>2]=8;L[g+333|0]=1;L[g+293|0]=O[g+422|0];c=O[g+423|0];L[g+294|0]=c;f=O[g+421|0];h=N[g+356>>2]==1;L[g+292|0]=h;L[g+332|0]=h|(f|0)!=0;L[g+334|0]=c;N[g+328>>2]=-1;f=N[t+68>>2];if(f){S=N[t+40>>2]&-2;D=N[t+88>>2];I=N[t+80>>2];E=e&1073741824;h=0;while(1){Cc:{Dc:{z=T(h,20);u=z+I|0;if(!(y&N[u+4>>2])){break Dc}N[g+308>>2]=1;N[g+276>>2]=h;c=N[N[g+280>>2]+96>>2];N[g+312>>2]=N[c+68>>2];l=0;L[g+295|0]=O[g+294|0]?N[c+64>>2]==(h|0)?O[(z+N[c+80>>2]|0)+15|0]:0:0;if(!ic(K,g+440|0)){break Dc}c=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;i=O[e|0]|O[e+1|0]<<8;Y=N[g+276>>2];C=T(Y,20);p=N[C+I>>2];m=N[o+56>>2];c=N[u>>2];Ec:{Fc:{Gc:{if(L[d+15|0]&1){Hc:{Ic:{Jc:{if((i|0)==2560){i=O[e+4|0]|O[e+5|0]<<8;i=(i<<8|i>>>8)&65535;if(i>>>0>c>>>0){break Hc}u=O[e+6|0]|O[e+7|0]<<8;A=(u<<8|u>>>8)&65535;u=c-i|0;if(A>>>0<=u>>>0){break Hc}c=O[e+2|0]|O[e+3|0]<<8;i=(c<<8|c>>>8)&65535;u=T(u,i);if((u|0)<0){e=275552}else{c=O[e+2|0]|O[e+3|0]<<8;i=(c<<8|c>>>8)&65535;e=(e+u|0)+8|0}if(!c){break Hc}l=i>>>0<=1?1:i;u=l&3;c=0;if(i>>>0>=4){break Jc}l=0;break Ic}c=il(e,c,m);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);l=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break Hc}e=(l&65532)+e|0;i=e-4|0;i=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);l=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24)}if(!u){break Hc}while(1){l=O[e|0]|l<<8;e=e+1|0;c=c+1|0;if((u|0)!=(c|0)){continue}break}}Kc:{Lc:{Mc:{c=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;if((O[c|0]|O[c+1|0]<<8)==2560){e=0;i=O[c+4|0]|O[c+5|0]<<8;i=(i<<8|i>>>8)&65535;if(i>>>0>p>>>0){break Kc}i=p-i|0;m=O[c+6|0]|O[c+7|0]<<8;if(i>>>0>=((m<<8|m>>>8)&65535)>>>0){break Kc}p=O[c+2|0]|O[c+3|0]<<8;u=(p<<8|p>>>8)&65535;i=T(i,u);if((i|0)<0){c=275552}else{p=O[c+2|0]|O[c+3|0]<<8;u=(p<<8|p>>>8)&65535;c=(c+i|0)+8|0}if(!p){break Kc}e=u>>>0<=1?1:u;i=e&3;p=0;if(u>>>0>=4){break Mc}e=0;break Lc}c=il(c,p,m);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break Kc}c=(e&65532)+c|0;e=c-4|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}if(!i){break Kc}while(1){e=O[c|0]|e<<8;c=c+1|0;p=p+1|0;if((i|0)!=(p|0)){continue}break}}c=e;e=e+l|0;if(c>>>0>e>>>0|e>>>0>1073741823){break Ec}p=N[o+24>>2];c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);c=((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)+(e<<2)|0;if(p>>>0>c>>>0){break Ec}i=N[o+28>>2];if(i>>>0>>0|i-c>>>0<4){break Ec}l=N[o+32>>2]-4|0;N[o+32>>2]=l;if((l|0)<=0){break Ec}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(!c){break Fc}m=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((m|0)<0){break Ec}c=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);e=((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)+e|0;c=m<<1;if(!c){break Gc}if(e>>>0

>>0|e>>>0>i>>>0|c>>>0>i-e>>>0){break Ec}c=l-c|0;N[o+32>>2]=c;if((c|0)>0){break Gc}break Ec}Nc:{if((i|0)==2560){i=O[e+4|0]|O[e+5|0]<<8;i=(i<<8|i>>>8)&65535;if(i>>>0>c>>>0){break Nc}u=O[e+6|0]|O[e+7|0]<<8;A=(u<<8|u>>>8)&65535;u=c-i|0;if(A>>>0<=u>>>0){break Nc}c=O[e+2|0]|O[e+3|0]<<8;i=(c<<8|c>>>8)&65535;u=T(u,i);if((u|0)<0){e=275552}else{c=O[e+2|0]|O[e+3|0]<<8;i=(c<<8|c>>>8)&65535;e=(e+u|0)+8|0}if(!c){break Nc}l=i>>>0<=1?1:i;u=l&3;c=0;if(i>>>0<4){l=0}else{e=(l&65532)+e|0;i=e-4|0;l=O[i+2|0]<<8|O[i+3|0]}if(!u){break Nc}while(1){l=O[e|0]|l<<8;e=e+1|0;c=c+1|0;if((u|0)!=(c|0)){continue}break}break Nc}c=ac(e,c,m);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8;l=c<<8|c>>>8}u=l&65535;c=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);i=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;Oc:{if((O[i|0]|O[i+1|0]<<8)==2560){e=0;c=O[i+4|0]|O[i+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>p>>>0){break Oc}l=O[i+6|0]|O[i+7|0]<<8;m=(l<<8|l>>>8)&65535;l=p-c|0;if(m>>>0<=l>>>0){break Oc}c=O[i+2|0]|O[i+3|0]<<8;p=(c<<8|c>>>8)&65535;l=T(l,p);if((l|0)<0){l=275552}else{c=O[i+2|0]|O[i+3|0]<<8;p=(c<<8|c>>>8)&65535;l=(i+l|0)+8|0}if(!c){break Oc}e=p>>>0<=1?1:p;i=e&3;c=0;if(p>>>0<4){e=0}else{l=(e&65532)+l|0;e=l-4|0;e=O[e+2|0]<<8|O[e+3|0]}if(!i){break Oc}while(1){e=O[l|0]|e<<8;l=l+1|0;c=c+1|0;if((i|0)!=(c|0)){continue}break}break Oc}c=ac(i,p,m);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8;e=c<<8|c>>>8}p=N[o+24>>2];c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);c=((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)+(u+(e&65535)<<1)|0;if(p>>>0>c>>>0){break Ec}i=N[o+28>>2];if(i>>>0>>0|i-c>>>0<2){break Ec}l=N[o+32>>2]-2|0;N[o+32>>2]=l;if((l|0)<=0){break Ec}c=O[c|0]|O[c+1|0]<<8;e=(c<<8|c>>>8)<<16>>16;c=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(!c){break Fc}m=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((m|0)<0){break Ec}c=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);e=((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)+e|0;c=m<<1;if(!c){break Gc}if(e>>>0

>>0|e>>>0>i>>>0|c>>>0>i-e>>>0){break Ec}c=l-c|0;N[o+32>>2]=c;if((c|0)<=0){break Ec}}c=O[e|0]|O[e+1|0]<<8;e=(c<<8|c>>>8)<<16>>16}if(!e){break Ec}c=e<<16>>16;e=c>>31;Pc:{if((S|0)==4){c=TE(N[w+56>>2],N[w+60>>2],c,e);m=Pa;c=c+32768|0;c=((c>>>0<32768?m+1|0:m)&65535)<<16|c>>>16;if(E){N[(C+D|0)+12>>2]=c;N[t+144>>2]=N[t+144>>2]|8;break Pc}e=z+D|0;i=c>>1;N[e>>2]=i+N[e>>2];e=C+D|0;c=c-i|0;N[e>>2]=c+N[e>>2];N[e+8>>2]=c+N[e+8>>2];break Pc}c=TE(N[w+64>>2],N[w+68>>2],c,e);m=Pa;c=c+32768|0;c=((c>>>0<32768?m+1|0:m)&65535)<<16|c>>>16;if(E){N[(C+D|0)+8>>2]=c;N[t+144>>2]=N[t+144>>2]|8;break Pc}e=z+D|0;i=c>>1;N[e+4>>2]=i+N[e+4>>2];e=C+D|0;c=c-i|0;N[e+4>>2]=c+N[e+4>>2];N[e+12>>2]=c+N[e+12>>2]}Rc(t,h,Y+1|0)}h=N[g+276>>2];break Cc}h=h+1|0}if(f>>>0>h>>>0){continue}break}}ib(t,w,12662,0);_a(N[g+384>>2]);break nc}c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);h=N[o+16>>2];e=N[N[o+8>>2]+24>>2];u=N[e+32>>2];if((u|0)==-1){f=e;e=sb(e+56|0);e=O[e+4|0]|O[e+5|0]<<8;u=(e<<8|e>>>8)&65535;N[f+32>>2]=u}N[h+64>>2]=0;if(!O[h+60|0]){break nc}w=d+12|0;C=w+(c>>>8&65280|c>>>24|(c&65280)<<8)|0;I=c<<24>>>30|0;i=0;p=0;c=0;while(1){f=N[h+64>>2];e=0;Qc:{if(f>>>0>=Q[h+68>>2]){break Qc}l=N[N[h+80>>2]+T(f,20)>>2];e=2;if((l|0)==65535){break Qc}f=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);f=ac(w+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0,l,u);e=1;if(!f){break Qc}e=O[f|0]|O[f+1|0]<<8;e=(e<<8|e>>>8)&65535}f=O[w|0]|O[w+1|0]<<8|(O[w+2|0]<<16|O[w+3|0]<<24);l=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=l>>>0<=e>>>0?1:e;z=T(c,l);l=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);y=w+(l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24))|0;l=(e+z<<1)+y|0;l=O[l|0]|O[l+1|0]<<8;m=T((l<<8|l>>>8)&65535,6);l=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);l=w+(l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24))|0;t=m+l|0;D=O[t|0]|O[t+1|0]<<8;Rc:{Sc:{if((O[t+4|0]|O[t+5|0]<<8)!=65535){break Sc}Tc:{if(!c){break Tc}E=O[t+2|0]|O[t+3|0]<<8;if(!(E&64?D:1)){break Tc}c=y+(e<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=l+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(D|0)!=(O[c|0]|O[c+1|0]<<8)|(E^(O[c+2|0]|O[c+3|0]<<8))&64){break Sc}}c=y+(z+!f<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=l+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)==65535){break Rc}}c=N[h+64>>2];e=O[h+62|0]?N[h+72>>2]:c;if(!e|c>>>0>=Q[h+68>>2]){break Rc}wb(h,3,e-1|0,c+1|0,1,1)}Uc:{Vc:{if(!(i&255)){break Vc}c=O[t+4|0]|O[t+5|0]<<8;if((c|0)==65535){break Vc}l=N[h+64>>2];if(l>>>0>=Q[h+68>>2]){break Vc}e=(c<<8|c>>>8)&65535;c=N[h+88>>2]+T(l,20)|0;Wc:{Xc:{switch(I|0){case 0:e=C+(e<<2)|0;if(e>>>0>2]){break Uc}f=N[o+28>>2];if(f>>>0>>0|f-e>>>0<4){break Uc}f=N[o+32>>2]-4|0;N[o+32>>2]=f;if((f|0)<=0){break Uc}l=O[e|0]|O[e+1|0]<<8;m=O[e+2|0]|O[e+3|0]<<8;N[g+184>>2]=0;N[g+180>>2]=0;f=N[N[N[o+16>>2]+80>>2]+T(p,20)>>2];e=N[o+8>>2];N[g+192>>2]=0;N[g+188>>2]=0;y=N[e+96>>2];z=N[y+76>>2];Yc:{A=N[e+100>>2];E=(l<<8|l>>>8)&65535;S=g+192|0;Y=g+188|0;l=N[y+12>>2];if(l){l=N[l+56>>2]}else{l=0}if(!(Qa[z|0](e,A,f,E,S,Y,l)|0)){break Yc}Id(e,f,g+272|0,g+440|0);N[g+192>>2]=N[g+192>>2]-N[g+272>>2];N[g+188>>2]=N[g+188>>2]-N[g+440>>2];e=N[o+16>>2];f=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];e=N[o+8>>2];N[g+184>>2]=0;N[g+180>>2]=0;l=N[e+96>>2];y=N[l+76>>2];z=N[e+100>>2];m=(m<<8|m>>>8)&65535;A=g+184|0;E=g+180|0;l=N[l+12>>2];if(l){l=N[l+56>>2]}else{l=0}if(!(Qa[y|0](e,z,f,m,A,E,l)|0)){break Yc}Id(e,f,g+272|0,g+440|0);N[g+180>>2]=N[g+180>>2]-N[g+440>>2];N[c+8>>2]=N[g+192>>2]+(N[g+272>>2]-N[g+184>>2]|0);N[c+12>>2]=N[g+188>>2]-N[g+180>>2];break Wc}l=N[h+64>>2];break Uc;case 1:e=C+(e<<2)|0;if(e>>>0>2]){break Uc}f=N[o+28>>2];if(f>>>0>>0|f-e>>>0<4){break Uc}f=N[o+32>>2]-4|0;N[o+32>>2]=f;if((f|0)<=0){break Uc}z=N[N[N[o+16>>2]+80>>2]+T(p,20)>>2];y=O[e+2|0]|O[e+3|0]<<8;m=O[e|0]|O[e+1|0]<<8;f=275552;e=N[o+64>>2];l=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(l){l=e+(l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24))|0}else{l=238136}z=ac(l,z,N[o+56>>2]);Zc:{if(!z){break Zc}l=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);l=e+(l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24))|0;e=O[z|0]|O[z+1|0]<<8;e=l+((e<<8|e>>>8)&65535)|0;l=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);z=l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24);l=(m<<8|m>>>8)&65535;if(z>>>0<=l>>>0){break Zc}f=(e+(l<<2)|0)+4|0}e=N[o+16>>2];z=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];E=N[o+56>>2];l=275552;e=N[o+64>>2];m=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(m){m=e+(m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))|0}else{m=238136}z=ac(m,z,E);_c:{if(!z){break _c}m=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);m=e+(m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))|0;e=O[z|0]|O[z+1|0]<<8;e=m+((e<<8|e>>>8)&65535)|0;m=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);z=m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24);m=(y<<8|y>>>8)&65535;if(z>>>0<=m>>>0){break _c}l=(e+(m<<2)|0)+4|0}y=N[o+8>>2];e=N[y+56>>2];z=N[y+60>>2];m=O[f|0]|O[f+1|0]<<8;m=(m<<8|m>>>8)<<16>>16;E=TE(e,z,m,m>>31);m=Pa;E=E+32768|0;E=((E>>>0<32768?m+1|0:m)&65535)<<16|E>>>16;A=e;m=O[l|0]|O[l+1|0]<<8;e=(m<<8|m>>>8)<<16>>16;e=TE(A,z,e,e>>31);m=Pa;e=e+32768|0;N[c+8>>2]=E-(((e>>>0<32768?m+1|0:m)&65535)<<16|e>>>16);e=N[y+64>>2];y=N[y+68>>2];f=O[f+2|0]|O[f+3|0]<<8;f=(f<<8|f>>>8)<<16>>16;f=TE(e,y,f,f>>31);m=Pa;f=f+32768|0;f=((f>>>0<32768?m+1|0:m)&65535)<<16|f>>>16;m=e;l=O[l+2|0]|O[l+3|0]<<8;e=(l<<8|l>>>8)<<16>>16;e=TE(m,y,e,e>>31);m=Pa;e=e+32768|0;N[c+12>>2]=f-(((e>>>0<32768?m+1|0:m)&65535)<<16|e>>>16);break Wc;case 2:break Xc;default:break Wc}}f=C+(e<<3)|0;if(f>>>0>2]){break Uc}e=N[o+28>>2];if(e>>>0>>0|e-f>>>0<8){break Uc}e=N[o+32>>2]-8|0;N[o+32>>2]=e;if((e|0)<=0){break Uc}l=O[f+2|0]|O[f+3|0]<<8;y=O[f+6|0]|O[f+7|0]<<8;z=N[o+8>>2];m=z;e=N[m+56>>2];S=N[m+60>>2];E=O[f|0]|O[f+1|0]<<8;m=(E<<8|E>>>8)<<16>>16;E=TE(e,S,m,m>>31);m=Pa;E=E+32768|0;E=((E>>>0<32768?m+1|0:m)&65535)<<16|E>>>16;m=e;f=O[f+4|0]|O[f+5|0]<<8;e=(f<<8|f>>>8)<<16>>16;e=TE(m,S,e,e>>31);m=Pa;e=e+32768|0;N[c+8>>2]=E-(((e>>>0<32768?m+1|0:m)&65535)<<16|e>>>16);f=l<<8|l>>>8;e=N[z+64>>2];l=N[z+68>>2];f=f<<16>>16;f=TE(e,l,f,f>>31);m=Pa;f=f+32768|0;f=((f>>>0<32768?m+1|0:m)&65535)<<16|f>>>16;m=e;e=(y<<8|y>>>8)<<16>>16;e=TE(m,l,e,e>>31);m=Pa;e=e+32768|0;N[c+12>>2]=f-(((e>>>0<32768?m+1|0:m)&65535)<<16|e>>>16)}L[c+18|0]=1;M[c+16>>1]=p-N[h+64>>2];N[h+144>>2]=N[h+144>>2]|8}l=N[h+64>>2];c=O[t+2|0]&128;p=c?l:p;i=c?1:i}if(!O[h+60|0]|N[h+68>>2]==(l|0)){break nc}$c:{ad:{if(O[t+2|0]&64){c=N[h+152>>2];N[h+152>>2]=c-1;if((c|0)>0){break ad}}if(O[h+62|0]){c=N[h+80>>2];f=N[h+84>>2];e=N[h+72>>2];if((c|0)!=(f|0)|(l|0)!=(e|0)){m=e+1|0;if(!(!m|m>>>0>2])){if(!gb(h,m)){break ad}e=N[h+72>>2];l=N[h+64>>2];f=N[h+84>>2];c=N[h+80>>2]}bd:{if((c|0)!=(f|0)){break bd}if(e+1>>>0<=l+1>>>0){f=c;break bd}if(!O[h+62|0]){break $c}f=N[h+88>>2];N[h+84>>2]=f;m=T(e,20);if(!m){break bd}B(f,c,m);e=N[h+72>>2];f=N[h+84>>2];l=N[h+64>>2];c=N[h+80>>2]}e=T(e,20)+f|0;c=T(l,20)+c|0;f=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=f;N[e+16>>2]=N[c+16>>2];f=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=f;l=N[h+64>>2];c=N[h+72>>2]}else{c=l}N[h+72>>2]=c+1}N[h+64>>2]=l+1}c=(D<<8|D>>>8)&65535;if(O[h+60|0]){continue}break nc}break}break a}f=N[o+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}w=N[f+132>>2];f=N[o+16>>2];i=N[o+8>>2];if(!ib(f,i,12581,0)){break nc}if(O[f+16|0]&64){wb(f,2,0,-1,1,0)}c=Ec(g+272|0,1,i,f);N[g+404>>2]=w;N[g+412>>2]=8;N[g+304>>2]=0;N[g+280>>2]=c;N[g+296>>2]=0;N[g+300>>2]=0;N[g+284>>2]=8;N[g+344>>2]=0;N[g+320>>2]=c;N[g+288>>2]=w;N[g+336>>2]=0;N[g+340>>2]=0;N[g+324>>2]=8;L[g+333|0]=1;L[g+293|0]=O[g+422|0];c=O[g+423|0];L[g+294|0]=c;h=O[g+421|0];l=N[g+356>>2]==1;L[g+292|0]=l;L[g+332|0]=l|(h|0)!=0;L[g+334|0]=c;N[g+328>>2]=-1;c=N[f+68>>2];if(c){z=N[f+40>>2]&-2;t=N[f+88>>2];C=N[f+80>>2];y=e&1073741824;h=0;while(1){cd:{dd:{D=T(h,20);m=D+C|0;if(!(w&N[m+4>>2])){break dd}N[g+308>>2]=1;N[g+276>>2]=h;e=N[N[g+280>>2]+96>>2];N[g+312>>2]=N[e+68>>2];l=0;L[g+295|0]=O[g+294|0]?N[e+64>>2]==(h|0)?O[(D+N[e+80>>2]|0)+15|0]:0:0;if(!ic(K,g+440|0)){break dd}I=N[g+276>>2];u=T(I,20);E=N[u+C>>2];p=0;e=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);A=N[m>>2];m=N[o+56>>2];e=ac((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0,A,m);if(e){e=O[e|0]|O[e+1|0]<<8;p=(e<<8|e>>>8)&65535}e=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);e=ac((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0,E,m);if(e){e=O[e|0]|O[e+1|0]<<8;l=(e<<8|e>>>8)&65535}E=N[o+24>>2];e=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);e=((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0)+(l+p<<1)|0;ed:{if(E>>>0>e>>>0){break ed}p=N[o+28>>2];if(p>>>0>>0|p-e>>>0<2){break ed}m=N[o+32>>2]-2|0;N[o+32>>2]=m;if((m|0)<=0){break ed}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16;l=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(l){l=l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24);if((l|0)<0){break ed}e=d+e|0;l=l<<1;if(l){if(e>>>0>>0|e>>>0>p>>>0|l>>>0>p-e>>>0){break ed}l=m-l|0;N[o+32>>2]=l;if((l|0)<=0){break ed}}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16}if(!e){break ed}l=e>>31;fd:{if((z|0)==4){e=TE(N[i+56>>2],N[i+60>>2],e,l);m=Pa;e=e+32768|0;e=((e>>>0<32768?m+1|0:m)&65535)<<16|e>>>16;if(y){N[(t+u|0)+12>>2]=e;N[f+144>>2]=N[f+144>>2]|8;break fd}l=t+D|0;p=e>>1;N[l>>2]=p+N[l>>2];l=t+u|0;e=e-p|0;N[l>>2]=e+N[l>>2];N[l+8>>2]=e+N[l+8>>2];break fd}e=TE(N[i+64>>2],N[i+68>>2],e,l);m=Pa;e=e+32768|0;e=((e>>>0<32768?m+1|0:m)&65535)<<16|e>>>16;if(y){N[(t+u|0)+8>>2]=e;N[f+144>>2]=N[f+144>>2]|8;break fd}l=t+D|0;p=e>>1;N[l+4>>2]=p+N[l+4>>2];l=t+u|0;e=e-p|0;N[l+4>>2]=e+N[l+4>>2];N[l+12>>2]=e+N[l+12>>2]}Rc(f,h,I+1|0)}h=N[g+276>>2];break cd}h=h+1|0}if(c>>>0>h>>>0){continue}break}}ib(f,i,12662,0);_a(N[g+384>>2]);break nc}if(!(c&64|M[N[o+4>>2]+140>>1]&1)){break nc}N[g+272>>2]=o;N[g+276>>2]=d;e=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);L[g+320|0]=c>>>6&1;N[g+316>>2]=0;w=d+12|0;N[g+280>>2]=w+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24));h=N[o+16>>2];c=N[N[o+8>>2]+24>>2];u=N[c+32>>2];if((u|0)==-1){e=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;u=(c<<8|c>>>8)&65535;N[e+32>>2]=u}N[h+64>>2]=0;if(!O[h+60|0]){break nc}i=0;while(1){e=N[h+64>>2];c=0;gd:{if(e>>>0>=Q[h+68>>2]){break gd}f=N[N[h+80>>2]+T(e,20)>>2];c=2;if((f|0)==65535){break gd}e=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);e=ac(w+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0,f,u);c=1;if(!e){break gd}c=O[e|0]|O[e+1|0]<<8;c=(c<<8|c>>>8)&65535}e=O[w|0]|O[w+1|0]<<8|(O[w+2|0]<<16|O[w+3|0]<<24);f=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);c=f>>>0<=c>>>0?1:c;t=T(f,i);f=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);m=w+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;f=(c+t<<1)+m|0;f=O[f|0]|O[f+1|0]<<8;l=T((f<<8|f>>>8)&65535,6);f=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);f=w+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;l=l+f|0;D=O[l|0]|O[l+1|0]<<8;hd:{id:{if((O[l+4|0]|O[l+5|0]<<8)!=65535){break id}jd:{if(!i){break jd}i=O[l+2|0]|O[l+3|0]<<8;if(!(i&64?D:1)){break jd}c=m+(c<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(D|0)!=(O[c|0]|O[c+1|0]<<8)|(i^(O[c+2|0]|O[c+3|0]<<8))&64){break id}}c=m+(t+!e<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)==65535){break hd}}c=N[h+64>>2];e=O[h+62|0]?N[h+72>>2]:c;if(!e|c>>>0>=Q[h+68>>2]){break hd}wb(h,3,e-1|0,c+1|0,1,1)}c=O[l+2|0]|O[l+3|0]<<8;c=c<<8|c>>>8;e=c<<16>>16;if(c&8192){N[g+316>>2]=0}kd:{if((e|0)>=0){break kd}c=N[g+316>>2];if(c>>>0<=7){e=N[h+64>>2];N[g+316>>2]=c+1;N[(g+(c<<2)|0)+284>>2]=e;break kd}N[g+316>>2]=0}f=O[l+4|0]|O[l+5|0]<<8;ld:{if((f|0)==65535){break ld}e=N[g+316>>2];if(!e){break ld}c=N[g+276>>2];c=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);C=c>>>0<=1?1:c;c=TE(e,0,C,0);md:{nd:{if(Pa|(c|0)<0){break nd}f=N[g+280>>2]+((f<<8|f>>>8)&65534)|0;t=N[g+272>>2];c=c<<1;if(!c){break md}if(Q[t+24>>2]>f>>>0){break nd}i=N[t+28>>2];if(i>>>0>>0|c>>>0>i-f>>>0){break nd}c=N[t+32>>2]-c|0;N[t+32>>2]=c;if((c|0)>0){break md}}N[g+316>>2]=0;break ld}if(!e){break ld}y=N[N[t+4>>2]+132>>2];z=O[g+320|0];while(1){e=e-1|0;N[g+316>>2]=e;c=N[(g+(e<<2)|0)+284>>2];if(c>>>0>2]){i=O[f|0]|O[f+1|0]<<8;I=(i<<8|i>>>8)<<16>>16;i=I&-2;p=T(c,20);c=p+N[h+88>>2]|0;od:{if((N[h+40>>2]&-2)==4){if(z){if((i|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+12>>2]=0;break od}if(!O[c+18|0]){break od}p=N[c+12>>2];m=N[t+8>>2];i=TE(N[m+64>>2],N[m+68>>2],i,i>>31);m=Pa;i=i+32768|0;N[c+12>>2]=(((i>>>0<32768?m+1|0:m)&65535)<<16|i>>>16)+p;N[h+144>>2]=N[h+144>>2]|8;break od}if(!(y&N[(p+N[h+80>>2]|0)+4>>2])){break od}p=N[t+8>>2];i=TE(N[p+56>>2],N[p+60>>2],i,i>>31);m=Pa;i=i+32768|0;i=((i>>>0<32768?m+1|0:m)&65535)<<16|i>>>16;N[c>>2]=i+N[c>>2];N[c+8>>2]=i+N[c+8>>2];break od}if(z){if((i|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+8>>2]=0;break od}if(!O[c+18|0]){break od}m=N[c+8>>2];p=N[t+8>>2];i=TE(N[p+56>>2],N[p+60>>2],i,i>>31);p=Pa;i=i+32768|0;N[c+8>>2]=(((i>>>0<32768?p+1|0:p)&65535)<<16|i>>>16)+m;N[h+144>>2]=N[h+144>>2]|8;break od}if(!(y&N[(p+N[h+80>>2]|0)+4>>2])){break od}p=N[t+8>>2];i=TE(N[p+64>>2],N[p+68>>2],i,i>>31);m=Pa;i=i+32768|0;i=((i>>>0<32768?m+1|0:m)&65535)<<16|i>>>16;N[c+4>>2]=i+N[c+4>>2];N[c+12>>2]=i+N[c+12>>2]}if(I&1){break ld}}f=(C<<1)+f|0;if(e){continue}break}}e=N[h+64>>2];if(!O[h+60|0]|(e|0)==N[h+68>>2]){break nc}pd:{if(O[l+2|0]&64){c=N[h+152>>2];N[h+152>>2]=c-1;if((c|0)>0){break pd}}if(O[h+62|0]){f=N[h+84>>2];i=N[h+80>>2];l=N[h+72>>2];if((f|0)!=(i|0)|(l|0)!=(e|0)){c=l+1|0;if(!(!c|c>>>0>2])){if(!gb(h,c)){break pd}l=N[h+72>>2];i=N[h+80>>2];f=N[h+84>>2];e=N[h+64>>2]}qd:{if((f|0)!=(i|0)){break qd}if(l+1>>>0<=e+1>>>0){f=i;break qd}if(!O[h+62|0]){break a}f=N[h+88>>2];N[h+84>>2]=f;c=T(l,20);if(!c){break qd}B(f,i,c);l=N[h+72>>2];f=N[h+84>>2];e=N[h+64>>2];i=N[h+80>>2]}c=T(l,20)+f|0;e=T(e,20)+i|0;f=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=f;N[c+16>>2]=N[e+16>>2];f=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=f;e=N[h+64>>2];c=N[h+72>>2]}else{c=e}N[h+72>>2]=c+1}N[h+64>>2]=e+1}i=(D<<8|D>>>8)&65535;if(O[h+60|0]){continue}break}}c=N[o+52>>2];e=N[c+12>>2];N[o+24>>2]=e;c=N[c+16>>2];N[o+28>>2]=c+e;if((c|0)<0){break $b}rd:{if(W){break rd}h=N[o+16>>2];i=N[h+68>>2];if(i>>>0>=2){p=N[h+80>>2];l=i-1|0;f=0;while(1){e=p+T(l,20)|0;c=e;N[g+288>>2]=N[c+16>>2];m=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=m;m=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=m;c=p+T(f,20)|0;N[e+16>>2]=N[c+16>>2];m=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=m;m=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=m;N[c+16>>2]=N[g+288>>2];e=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=e;e=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=e;f=f+1|0;l=l-1|0;if(f>>>0>>0){continue}break}}if(!O[h+63|0]){break rd}c=N[h+68>>2];c=c>>>0>>0?c:i;if(c>>>0<2){break rd}h=N[h+88>>2];l=c-1|0;f=0;while(1){e=h+T(l,20)|0;c=e;N[g+288>>2]=N[c+16>>2];i=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=i;i=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=i;c=h+T(f,20)|0;N[e+16>>2]=N[c+16>>2];i=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=i;i=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=i;N[c+16>>2]=N[g+288>>2];e=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=e;e=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=e;f=f+1|0;l=l-1|0;if(f>>>0>>0){continue}break}}c=N[o+8>>2];e=N[o+16>>2];N[g+64>>2]=N[o+72>>2];ib(e,c,17599,g- -64|0)}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);e=N[o+72>>2]+1|0;N[o+72>>2]=e;d=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;j=j+1|0;if(($|0)!=(j|0)){continue}break}}ib(s,b,8043,0)}ab(N[o+52>>2]);break Sb}break b}sd:{td:{ud:{vd:{wd:{c=P[J+140>>1];if(c&1024){e=N[b+24>>2];c=N[e+136>>2];xd:{if(c){break xd}while(1){c=N[e+48>>2];if(!c){c=275552;break xd}N[g+280>>2]=0;N[g+284>>2]=0;N[g+288>>2]=0;N[g+292>>2]=0;L[g+296|0]=0;N[g+272>>2]=0;N[g+276>>2]=0;N[g+300>>2]=0;N[g+304>>2]=0;L[g+312|0]=1;N[g+308>>2]=0;d=N[c+12>>2];yd:{if(d){c=Qa[d|0](c,1801810542,N[c+16>>2])|0;if(c){break yd}}c=275552}d=el(g+272|0,c);c=N[e+136>>2];zd:{if(d){if(c){break zd}c=d;N[e+136>>2]=c;break xd}if(c){break xd}c=275552;N[e+136>>2]=275552;break xd}if((d|0)==275552){break xd}ab(d);c=N[e+136>>2];if(!c){continue}break}}d=N[c+16>>2];e=N[c+12>>2];o=Te(g+196|0,J,b,s,c);if(!ib(s,b,12630,0)){break ud}Ad:{c=d>>>0<4?275552:e;d=O[c|0]|O[c+1|0]<<8;switch((d<<8|d>>>8)&65535){case 1:break wd;case 0:break Ad;default:break vd}}N[o+72>>2]=0;d=O[c+2|0]|O[c+3|0]<<8;if(!d){break vd}d=(d<<8|d>>>8)&65535;E=d>>>0<=1?1:d;$=d-1|0;f=c+4|0;K=g+276|0;e=0;v=0;j=0;while(1){Bd:{c=N[o+16>>2];d=N[c+40>>2];Cd:{if((L[f+5|0]&1)==((d&-2)!=4|0)){break Cd}h=N[o+8>>2];N[g+16>>2]=e;if(!ib(c,h,17581,g+16|0)){break Cd}i=d&-3;c=1;Dd:{if(v){break Dd}c=0;if(!(O[f+5|0]&4)){break Dd}e=N[o+16>>2];d=N[e+68>>2];c=1;if(!d){break Dd}e=N[e+88>>2];h=0;if((d|0)!=1){l=d&1;c=d&-2;while(1){d=e+T(h,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[o+16>>2]+40>>2]&-3)==4?-1:1;d=e+T(h|1,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[o+16>>2]+40>>2]&-3)==4?-1:1;h=h+2|0;if((c|0)!=(h|0)){continue}break}c=1;if(!l){break Dd}}c=e+T(h,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[o+16>>2]+40>>2]&-3)==4?-1:1;c=1}v=c;_=(i|0)!=5;Ed:{if(_){break Ed}h=N[o+16>>2];i=N[h+68>>2];if(i>>>0>=2){p=N[h+80>>2];d=i-1|0;l=0;while(1){e=p+T(d,20)|0;c=e;N[g+288>>2]=N[c+16>>2];m=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=m;m=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=m;c=p+T(l,20)|0;N[e+16>>2]=N[c+16>>2];m=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=m;m=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=m;N[c+16>>2]=N[g+288>>2];e=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=e;e=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=e;d=d-1|0;l=l+1|0;if(d>>>0>l>>>0){continue}break}}if(!O[h+63|0]){break Ed}c=N[h+68>>2];c=c>>>0>>0?c:i;if(c>>>0<2){break Ed}h=N[h+88>>2];d=c-1|0;l=0;while(1){e=h+T(d,20)|0;c=e;N[g+288>>2]=N[c+16>>2];i=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=i;i=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=i;c=h+T(l,20)|0;N[e+16>>2]=N[c+16>>2];i=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=i;i=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=i;N[c+16>>2]=N[g+288>>2];e=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=e;e=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=e;d=d-1|0;l=l+1|0;if(d>>>0>l>>>0){continue}break}}c=N[o+52>>2];d=N[c+12>>2];N[o+24>>2]=d;c=N[c+16>>2];e=c+d|0;N[o+28>>2]=e;Fd:{Gd:{if((c|0)>=0){c=j>>>0<$>>>0?f:0;Hd:{if(!c){break Hd}if(!(c>>>0>>0&c>>>0>=d>>>0)){N[o+24>>2]=0;N[o+28>>2]=0;break Hd}N[o+24>>2]=c;d=e-c|0;e=O[c+2|0]|O[c+3|0]<<8;e=(e<<8|e>>>8)&65535;N[o+28>>2]=c+(d>>>0>>0?d:e)}Id:{switch(O[f+4|0]){case 2:break Gd;case 0:break Id;default:break Fd}}c=N[o+4>>2];if(!(L[c+140|0]&1)){break Fd}D=N[c+132>>2];d=O[f+5|0];p=N[o+16>>2];t=N[o+8>>2];if(!ib(p,t,12581,0)){break Fd}if(O[p+16|0]&64){wb(p,2,0,-1,1,0)}c=Ec(g+272|0,1,t,p);N[g+404>>2]=D;N[g+412>>2]=8;N[g+304>>2]=0;N[g+280>>2]=c;N[g+296>>2]=0;N[g+300>>2]=0;N[g+284>>2]=8;N[g+344>>2]=0;N[g+320>>2]=c;N[g+288>>2]=D;N[g+336>>2]=0;N[g+340>>2]=0;N[g+324>>2]=8;L[g+333|0]=1;L[g+293|0]=O[g+422|0];c=O[g+423|0];L[g+294|0]=c;e=O[g+421|0];h=N[g+356>>2]==1;L[g+292|0]=h;L[g+332|0]=h|(e|0)!=0;L[g+334|0]=c;N[g+328>>2]=-1;l=N[p+68>>2];if(l){S=N[p+40>>2]&-2;u=N[p+88>>2];y=N[p+80>>2];z=d&4;Y=f+14|0;c=0;while(1){Jd:{Kd:{C=T(c,20);h=C+y|0;if(!(D&N[h+4>>2])){break Kd}N[g+308>>2]=1;N[g+276>>2]=c;d=N[N[g+280>>2]+96>>2];N[g+312>>2]=N[d+68>>2];L[g+295|0]=O[g+294|0]?N[d+64>>2]==(c|0)?O[(C+N[d+80>>2]|0)+15|0]:0:0;if(!ic(K,g+440|0)){break Kd}d=N[g+276>>2];w=T(d,20);e=O[f+6|0]|O[f+7|0]<<8;Ld:{if(e){m=N[w+y>>2];W=N[h>>2];h=((e<<8|e>>>8)&65535)-1|0;e=0;while(1){Md:{Nd:{I=e+h>>>1|0;i=Y+T(I,6)|0;A=O[i|0]|O[i+1|0]<<8;A=(A<<8|A>>>8)&65535;Od:{if((A|0)==(W|0)){A=O[i+2|0]|O[i+3|0]<<8;A=(A<<8|A>>>8)&65535;if(A>>>0>m>>>0){break Od}if((m|0)==(A|0)){break Ld}break Nd}if(A>>>0<=W>>>0){break Nd}}h=I-1|0;break Md}e=I+1|0}if((e|0)<=(h|0)){continue}break}}i=275552}e=O[i+4|0]|O[i+5|0]<<8;if(!e){break Jd}e=(e<<8|e>>>8)<<16>>16;h=e>>31;Pd:{if((S|0)==4){e=TE(N[t+56>>2],N[t+60>>2],e,h);m=Pa;e=e+32768|0;e=((e>>>0<32768?m+1|0:m)&65535)<<16|e>>>16;if(z){N[(u+w|0)+12>>2]=e;N[p+144>>2]=N[p+144>>2]|8;break Pd}h=u+C|0;i=e>>1;N[h>>2]=i+N[h>>2];h=u+w|0;e=e-i|0;N[h>>2]=e+N[h>>2];N[h+8>>2]=e+N[h+8>>2];break Pd}e=TE(N[t+64>>2],N[t+68>>2],e,h);m=Pa;e=e+32768|0;e=((e>>>0<32768?m+1|0:m)&65535)<<16|e>>>16;if(z){N[(u+w|0)+8>>2]=e;N[p+144>>2]=N[p+144>>2]|8;break Pd}h=u+C|0;i=e>>1;N[h+4>>2]=i+N[h+4>>2];h=u+w|0;e=e-i|0;N[h+4>>2]=e+N[h+4>>2];N[h+12>>2]=e+N[h+12>>2]}Rc(p,c,d+1|0);d=N[g+276>>2];break Jd}d=c+1|0}c=d;if(l>>>0>c>>>0){continue}break}}ib(p,t,12662,0);_a(N[g+384>>2]);break Fd}break b}c=N[o+4>>2];if(!(L[c+140|0]&1)){break Fd}w=N[c+132>>2];d=O[f+5|0];i=N[o+16>>2];l=N[o+8>>2];if(!ib(i,l,12581,0)){break Fd}if(O[i+16|0]&64){wb(i,2,0,-1,1,0)}c=Ec(g+272|0,1,l,i);N[g+404>>2]=w;N[g+412>>2]=8;N[g+304>>2]=0;N[g+280>>2]=c;N[g+296>>2]=0;N[g+300>>2]=0;N[g+284>>2]=8;N[g+344>>2]=0;N[g+320>>2]=c;N[g+288>>2]=w;N[g+336>>2]=0;N[g+340>>2]=0;N[g+324>>2]=8;L[g+333|0]=1;L[g+293|0]=O[g+422|0];c=O[g+423|0];L[g+294|0]=c;e=O[g+421|0];h=N[g+356>>2]==1;L[g+292|0]=h;L[g+332|0]=h|(e|0)!=0;L[g+334|0]=c;N[g+328>>2]=-1;e=N[i+68>>2];if(e){z=N[i+40>>2]&-2;t=N[i+88>>2];C=N[i+80>>2];y=d&4;h=0;while(1){Qd:{Rd:{D=T(h,20);m=D+C|0;if(!(w&N[m+4>>2])){break Rd}N[g+308>>2]=1;N[g+276>>2]=h;c=N[N[g+280>>2]+96>>2];N[g+312>>2]=N[c+68>>2];d=0;L[g+295|0]=O[g+294|0]?N[c+64>>2]==(h|0)?O[(D+N[c+80>>2]|0)+15|0]:0:0;if(!ic(K,g+440|0)){break Rd}W=N[g+276>>2];u=T(W,20);I=N[u+C>>2];p=0;A=N[m>>2];c=O[f+8|0]|O[f+9|0]<<8;c=((c<<8|c>>>8)&65535)+f|0;m=O[c|0]|O[c+1|0]<<8;m=A-((m<<8|m>>>8)&65535)|0;S=O[c+2|0]|O[c+3|0]<<8;if(m>>>0<((S<<8|S>>>8)&65535)>>>0){c=c+(m<<1)|0;c=O[c+4|0]|O[c+5|0]<<8;p=(c<<8|c>>>8)&65535}c=O[f+10|0]|O[f+11|0]<<8;c=((c<<8|c>>>8)&65535)+f|0;m=O[c|0]|O[c+1|0]<<8;m=I-((m<<8|m>>>8)&65535)|0;I=O[c+2|0]|O[c+3|0]<<8;if(m>>>0<((I<<8|I>>>8)&65535)>>>0){c=c+(m<<1)|0;c=O[c+4|0]|O[c+5|0]<<8;d=(c<<8|c>>>8)&65535}c=O[f+12|0]|O[f+13|0]<<8;c=(c<<8|c>>>8)&65535;d=d+p|0;c=(c+f|0)+((c>>>0>d>>>0?1073741823:d-c>>>1|0)<<1)|0;Sd:{if(c>>>0>2]){break Sd}d=N[o+28>>2];if(d>>>0>>0|d-c>>>0<2){break Sd}d=N[o+32>>2]-2|0;N[o+32>>2]=d;if((d|0)<=0){break Sd}c=O[c|0]|O[c+1|0]<<8;if(!c){break Sd}c=(c<<8|c>>>8)<<16>>16;d=c>>31;Td:{if((z|0)==4){c=TE(N[l+56>>2],N[l+60>>2],c,d);m=Pa;c=c+32768|0;c=((c>>>0<32768?m+1|0:m)&65535)<<16|c>>>16;if(y){N[(t+u|0)+12>>2]=c;N[i+144>>2]=N[i+144>>2]|8;break Td}d=t+D|0;p=c>>1;N[d>>2]=p+N[d>>2];d=t+u|0;c=c-p|0;N[d>>2]=c+N[d>>2];N[d+8>>2]=c+N[d+8>>2];break Td}c=TE(N[l+64>>2],N[l+68>>2],c,d);p=Pa;c=c+32768|0;c=((c>>>0<32768?p+1|0:p)&65535)<<16|c>>>16;if(y){N[(t+u|0)+8>>2]=c;N[i+144>>2]=N[i+144>>2]|8;break Td}d=t+D|0;p=c>>1;N[d+4>>2]=p+N[d+4>>2];d=t+u|0;c=c-p|0;N[d+4>>2]=c+N[d+4>>2];N[d+12>>2]=c+N[d+12>>2]}Rc(i,h,W+1|0)}h=N[g+276>>2];break Qd}h=h+1|0}if(e>>>0>h>>>0){continue}break}}ib(i,l,12662,0);_a(N[g+384>>2])}c=N[o+52>>2];d=N[c+12>>2];N[o+24>>2]=d;c=N[c+16>>2];N[o+28>>2]=c+d;if((c|0)<0){break Bd}Ud:{if(_){break Ud}h=N[o+16>>2];i=N[h+68>>2];if(i>>>0>=2){p=N[h+80>>2];d=i-1|0;l=0;while(1){e=p+T(d,20)|0;c=e;N[g+288>>2]=N[c+16>>2];m=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=m;m=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=m;c=p+T(l,20)|0;N[e+16>>2]=N[c+16>>2];m=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=m;m=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=m;N[c+16>>2]=N[g+288>>2];e=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=e;e=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=e;d=d-1|0;l=l+1|0;if(d>>>0>l>>>0){continue}break}}if(!O[h+63|0]){break Ud}c=N[h+68>>2];c=c>>>0>>0?c:i;if(c>>>0<2){break Ud}h=N[h+88>>2];d=c-1|0;l=0;while(1){e=h+T(d,20)|0;c=e;N[g+288>>2]=N[c+16>>2];i=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=i;i=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=i;c=h+T(l,20)|0;N[e+16>>2]=N[c+16>>2];i=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=i;i=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=i;N[c+16>>2]=N[g+288>>2];e=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=e;e=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=e;d=d-1|0;l=l+1|0;if(d>>>0>l>>>0){continue}break}}c=N[o+8>>2];d=N[o+16>>2];N[g>>2]=N[o+72>>2];ib(d,c,17599,g)}c=O[f+2|0]|O[f+3|0]<<8;e=N[o+72>>2]+1|0;N[o+72>>2]=e;f=((c<<8|c>>>8)&65535)+f|0;j=j+1|0;if((E|0)!=(j|0)){continue}break vd}break}break b}if(!(c&2048)){break td}Vd:{if((N[s+40>>2]&-2)==4){d=N[147128];c=b;while(1){if((d|0)!=N[N[c+96>>2]- -64>>2]){break Vd}c=N[c+20>>2];if(!c){break td}if((c|0)!=588752){continue}break}break td}d=N[147129];c=b;while(1){if((d|0)!=N[N[c+96>>2]+68>>2]){break Vd}c=N[c+20>>2];if(!c){break td}if((c|0)!=588752){continue}break}break td}if(!ib(s,b,12592,0)){break td}c=N[s+40>>2];Wd:{if((c&-3)==5){h=N[s+68>>2];if(h>>>0>=2){i=N[s+80>>2];e=h-1|0;d=0;while(1){f=i+T(e,20)|0;c=f;N[g+288>>2]=N[c+16>>2];j=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=j;j=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=j;c=i+T(d,20)|0;N[f+16>>2]=N[c+16>>2];j=N[c+12>>2];N[f+8>>2]=N[c+8>>2];N[f+12>>2]=j;j=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=j;N[c+16>>2]=N[g+288>>2];f=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=f;f=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=f;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}Xd:{if(!O[s+63|0]){break Xd}c=N[s+68>>2];c=c>>>0>>0?c:h;if(c>>>0<2){break Xd}h=N[s+88>>2];e=c-1|0;d=0;while(1){f=h+T(e,20)|0;c=f;N[g+288>>2]=N[c+16>>2];i=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=i;i=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=i;c=h+T(d,20)|0;N[f+16>>2]=N[c+16>>2];i=N[c+12>>2];N[f+8>>2]=N[c+8>>2];N[f+12>>2]=i;i=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=i;N[c+16>>2]=N[g+288>>2];f=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=f;f=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=f;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}N[g+196>>2]=b;N[g+200>>2]=N[s+40>>2];e=0;L[g+444|0]=0;N[g+440>>2]=g+196;Fj(g+440|0,b,s,N[J+132>>2]);h=N[s+68>>2];if(h>>>0>=2){i=N[s+80>>2];d=h-1|0;while(1){f=i+T(d,20)|0;c=f;N[g+288>>2]=N[c+16>>2];j=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=j;j=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=j;c=i+T(e,20)|0;N[f+16>>2]=N[c+16>>2];j=N[c+12>>2];N[f+8>>2]=N[c+8>>2];N[f+12>>2]=j;j=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=j;N[c+16>>2]=N[g+288>>2];f=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=f;f=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=f;d=d-1|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}if(!O[s+63|0]){break Wd}c=N[s+68>>2];c=c>>>0>>0?c:h;if(c>>>0<2){break Wd}h=N[s+88>>2];e=c-1|0;d=0;while(1){f=h+T(e,20)|0;c=f;N[g+288>>2]=N[c+16>>2];i=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=i;i=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=i;c=h+T(d,20)|0;N[f+16>>2]=N[c+16>>2];i=N[c+12>>2];N[f+8>>2]=N[c+8>>2];N[f+12>>2]=i;i=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=i;N[c+16>>2]=N[g+288>>2];f=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=f;f=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=f;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}break Wd}N[g+200>>2]=c;N[g+196>>2]=b;L[g+444|0]=0;N[g+440>>2]=g+196;Fj(g+440|0,b,s,N[J+132>>2])}ib(s,b,12612,0);break td}N[o+72>>2]=0;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(!d){break vd}d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);E=d>>>0<=1?1:d;$=d-1|0;h=c+8|0;D=g+276|0;d=0;v=0;i=0;while(1){c=O[h+4|0];Yd:{if(c&32){break Yd}e=N[o+16>>2];f=N[e+40>>2];if(((f&-2)!=4|0)==(c<<24>>24>=0|0)){break Yd}c=N[o+8>>2];N[g+48>>2]=d;if(!ib(e,c,17581,g+48|0)){break Yd}j=f&-3;c=1;Zd:{if(v&1){break Zd}c=0;if(!(O[h+4|0]&64)){break Zd}e=N[o+16>>2];d=N[e+68>>2];c=1;if(!d){break Zd}f=N[e+88>>2];e=0;if((d|0)!=1){l=d&1;c=d&-2;while(1){d=f+T(e,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[o+16>>2]+40>>2]&-3)==4?-1:1;d=f+T(e|1,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[o+16>>2]+40>>2]&-3)==4?-1:1;e=e+2|0;if((c|0)!=(e|0)){continue}break}c=1;if(!l){break Zd}}c=f+T(e,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[o+16>>2]+40>>2]&-3)==4?-1:1;c=1}v=c;_=(j|0)!=5;_d:{if(_){break _d}e=N[o+16>>2];j=N[e+68>>2];if(j>>>0>=2){p=N[e+80>>2];l=j-1|0;f=0;while(1){d=p+T(l,20)|0;c=d;N[g+288>>2]=N[c+16>>2];m=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=m;m=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=m;c=p+T(f,20)|0;N[d+16>>2]=N[c+16>>2];m=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=m;m=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=m;N[c+16>>2]=N[g+288>>2];d=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=d;d=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=d;f=f+1|0;l=l-1|0;if(f>>>0>>0){continue}break}}if(!O[e+63|0]){break _d}c=N[e+68>>2];c=c>>>0>>0?c:j;if(c>>>0<2){break _d}e=N[e+88>>2];l=c-1|0;f=0;while(1){d=e+T(l,20)|0;c=d;N[g+288>>2]=N[c+16>>2];j=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=j;j=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=j;c=e+T(f,20)|0;N[d+16>>2]=N[c+16>>2];j=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=j;j=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=j;N[c+16>>2]=N[g+288>>2];d=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=d;d=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=d;f=f+1|0;l=l-1|0;if(f>>>0>>0){continue}break}}d=N[o+52>>2];c=N[d+12>>2];N[o+24>>2]=c;e=N[d+16>>2];d=e+c|0;N[o+28>>2]=d;$d:{ae:{be:{ce:{if((e|0)>=0){de:{if(i>>>0>=$>>>0){break de}if(!(c>>>0<=h>>>0&d>>>0>h>>>0)){N[o+24>>2]=0;N[o+28>>2]=0;break de}N[o+24>>2]=h;d=d-h|0;c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);N[o+28>>2]=(c>>>0>d>>>0?d:c)+h}ee:{switch(O[h+5|0]){case 1:break ae;case 2:break be;case 3:break ce;case 0:break ee;default:break $d}}c=N[o+4>>2];if(!(L[c+140|0]&1)){break $d}C=N[c+132>>2];d=O[h+4|0];l=N[o+16>>2];t=N[o+8>>2];if(!ib(l,t,12581,0)){break $d}if(O[l+16|0]&64){wb(l,2,0,-1,1,0)}c=Ec(g+272|0,1,t,l);N[g+404>>2]=C;N[g+412>>2]=8;N[g+304>>2]=0;N[g+280>>2]=c;N[g+296>>2]=0;N[g+300>>2]=0;N[g+284>>2]=8;N[g+344>>2]=0;N[g+320>>2]=c;N[g+288>>2]=C;N[g+336>>2]=0;N[g+340>>2]=0;N[g+324>>2]=8;L[g+333|0]=1;L[g+293|0]=O[g+422|0];c=O[g+423|0];L[g+294|0]=c;e=O[g+421|0];f=N[g+356>>2]==1;L[g+292|0]=f;L[g+332|0]=f|(e|0)!=0;L[g+334|0]=c;N[g+328>>2]=-1;j=N[l+68>>2];if(j){S=N[l+40>>2]&-2;u=N[l+88>>2];y=N[l+80>>2];z=d&64;Y=h+16|0;p=0;while(1){fe:{ge:{K=T(p,20);d=K+y|0;if(!(C&N[d+4>>2])){break ge}N[g+308>>2]=1;N[g+276>>2]=p;c=N[N[g+280>>2]+96>>2];N[g+312>>2]=N[c+68>>2];L[g+295|0]=O[g+294|0]?N[c+64>>2]==(p|0)?O[(K+N[c+80>>2]|0)+15|0]:0:0;if(!ic(D,g+440|0)){break ge}f=N[g+276>>2];w=T(f,20);c=O[h+8|0]|O[h+9|0]<<8;he:{if(c){m=N[w+y>>2];W=N[d>>2];e=((c<<8|c>>>8)&65535)-1|0;d=0;while(1){ie:{je:{I=d+e>>>1|0;c=Y+T(I,6)|0;A=O[c|0]|O[c+1|0]<<8;A=(A<<8|A>>>8)&65535;ke:{if((A|0)==(W|0)){A=O[c+2|0]|O[c+3|0]<<8;A=(A<<8|A>>>8)&65535;if(A>>>0>m>>>0){break ke}if((m|0)==(A|0)){break he}break je}if(A>>>0<=W>>>0){break je}}e=I-1|0;break ie}d=I+1|0}if((d|0)<=(e|0)){continue}break}}c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(!c){break fe}c=(c<<8|c>>>8)<<16>>16;d=c>>31;le:{if((S|0)==4){c=TE(N[t+56>>2],N[t+60>>2],c,d);m=Pa;c=c+32768|0;c=((c>>>0<32768?m+1|0:m)&65535)<<16|c>>>16;if(z){N[(u+w|0)+12>>2]=c;N[l+144>>2]=N[l+144>>2]|8;break le}d=u+K|0;e=c>>1;N[d>>2]=e+N[d>>2];d=u+w|0;c=c-e|0;N[d>>2]=c+N[d>>2];N[d+8>>2]=c+N[d+8>>2];break le}c=TE(N[t+64>>2],N[t+68>>2],c,d);m=Pa;c=c+32768|0;c=((c>>>0<32768?m+1|0:m)&65535)<<16|c>>>16;if(z){N[(u+w|0)+8>>2]=c;N[l+144>>2]=N[l+144>>2]|8;break le}d=u+K|0;e=c>>1;N[d+4>>2]=e+N[d+4>>2];d=u+w|0;c=c-e|0;N[d+4>>2]=c+N[d+4>>2];N[d+12>>2]=c+N[d+12>>2]}Rc(l,p,f+1|0);f=N[g+276>>2];break fe}f=p+1|0}p=f;if(j>>>0>p>>>0){continue}break}}ib(l,t,12662,0);_a(N[g+384>>2]);break $d}break b}c=N[o+4>>2];if(!(L[c+140|0]&1)){break $d}u=N[c+132>>2];d=O[h+4|0];j=N[o+16>>2];l=N[o+8>>2];if(!ib(j,l,12581,0)){break $d}if(O[j+16|0]&64){wb(j,2,0,-1,1,0)}c=Ec(g+272|0,1,l,j);N[g+404>>2]=u;N[g+412>>2]=8;N[g+304>>2]=0;N[g+280>>2]=c;N[g+296>>2]=0;N[g+300>>2]=0;N[g+284>>2]=8;N[g+344>>2]=0;N[g+320>>2]=c;N[g+288>>2]=u;N[g+336>>2]=0;N[g+340>>2]=0;N[g+324>>2]=8;L[g+333|0]=1;L[g+293|0]=O[g+422|0];c=O[g+423|0];L[g+294|0]=c;e=O[g+421|0];f=N[g+356>>2]==1;L[g+292|0]=f;L[g+332|0]=f|(e|0)!=0;L[g+334|0]=c;N[g+328>>2]=-1;f=N[j+68>>2];if(f){z=N[j+40>>2]&-2;p=N[j+88>>2];C=N[j+80>>2];K=d&64;y=h+14|0;e=0;while(1){me:{ne:{w=T(e,20);d=w+C|0;if(!(u&N[d+4>>2])){break ne}N[g+308>>2]=1;N[g+276>>2]=e;c=N[N[g+280>>2]+96>>2];N[g+312>>2]=N[c+68>>2];L[g+295|0]=O[g+294|0]?N[c+64>>2]==(e|0)?O[(w+N[c+80>>2]|0)+15|0]:0:0;if(!ic(D,g+440|0)){break ne}c=N[g+276>>2];W=O[h+10|0];m=y+(W<<1)|0;d=N[d>>2];t=m+d|0;A=d;d=O[h+8|0]|O[h+9|0]<<8;d=(d<<8|d>>>8)&65535;I=O[(A>>>0>=d>>>0?275552:t)|0];S=O[h+11|0];if(I>>>0>=S>>>0){break me}Y=d+m|0;t=T(c,20);m=N[t+C>>2];A=O[(d>>>0<=m>>>0?275552:Y+m|0)|0];m=O[h+12|0];if(A>>>0>=m>>>0){break me}Y=d+Y|0;d=A+T(m,I)|0;d=O[(d>>>0>=T(m,S)>>>0?275552:Y+d|0)|0];d=d>>>0>=W>>>0?275552:y+(d<<1)|0;d=O[d|0]|O[d+1|0]<<8;if(!d){break me}d=(d<<8|d>>>8)<<16>>16;m=d>>31;oe:{if((z|0)==4){d=TE(N[l+56>>2],N[l+60>>2],d,m);m=Pa;d=d+32768|0;d=((d>>>0<32768?m+1|0:m)&65535)<<16|d>>>16;if(K){N[(p+t|0)+12>>2]=d;N[j+144>>2]=N[j+144>>2]|8;break oe}m=p+w|0;w=d>>1;N[m>>2]=w+N[m>>2];m=p+t|0;d=d-w|0;N[m>>2]=d+N[m>>2];N[m+8>>2]=d+N[m+8>>2];break oe}d=TE(N[l+64>>2],N[l+68>>2],d,m);m=Pa;d=d+32768|0;d=((d>>>0<32768?m+1|0:m)&65535)<<16|d>>>16;if(K){N[(p+t|0)+8>>2]=d;N[j+144>>2]=N[j+144>>2]|8;break oe}m=p+w|0;w=d>>1;N[m+4>>2]=w+N[m+4>>2];m=p+t|0;d=d-w|0;N[m+4>>2]=d+N[m+4>>2];N[m+12>>2]=d+N[m+12>>2]}Rc(j,e,c+1|0);c=N[g+276>>2];break me}c=e+1|0}e=c;if(f>>>0>c>>>0){continue}break}}ib(j,l,12662,0);_a(N[g+384>>2]);break $d}c=N[o+4>>2];if(!(L[c+140|0]&1)){break $d}w=N[c+132>>2];e=O[h+4|0];f=N[o+16>>2];j=N[o+8>>2];if(!ib(f,j,12581,0)){break $d}if(O[f+16|0]&64){wb(f,2,0,-1,1,0)}c=Ec(g+272|0,1,j,f);N[g+404>>2]=w;N[g+412>>2]=8;N[g+304>>2]=0;N[g+280>>2]=c;N[g+296>>2]=0;N[g+300>>2]=0;N[g+284>>2]=8;N[g+344>>2]=0;N[g+320>>2]=c;N[g+288>>2]=w;N[g+336>>2]=0;N[g+340>>2]=0;N[g+324>>2]=8;L[g+333|0]=1;L[g+293|0]=O[g+422|0];c=O[g+423|0];L[g+294|0]=c;d=O[g+421|0];l=N[g+356>>2]==1;L[g+292|0]=l;L[g+332|0]=l|(d|0)!=0;L[g+334|0]=c;N[g+328>>2]=-1;d=N[f+68>>2];if(d){z=N[f+40>>2]&-2;t=N[f+88>>2];K=N[f+80>>2];y=e&64;e=0;while(1){pe:{qe:{C=T(e,20);m=C+K|0;if(!(w&N[m+4>>2])){break qe}N[g+308>>2]=1;N[g+276>>2]=e;c=N[N[g+280>>2]+96>>2];N[g+312>>2]=N[c+68>>2];l=0;L[g+295|0]=O[g+294|0]?N[c+64>>2]==(e|0)?O[(C+N[c+80>>2]|0)+15|0]:0:0;if(!ic(D,g+440|0)){break qe}W=N[g+276>>2];u=T(W,20);I=N[u+K>>2];p=0;A=N[m>>2];c=O[h+10|0]|O[h+11|0]<<8;c=((c<<8|c>>>8)&65535)+h|0;m=O[c|0]|O[c+1|0]<<8;m=A-((m<<8|m>>>8)&65535)|0;S=O[c+2|0]|O[c+3|0]<<8;if(m>>>0<((S<<8|S>>>8)&65535)>>>0){c=c+(m<<1)|0;c=O[c+4|0]|O[c+5|0]<<8;p=(c<<8|c>>>8)&65535}c=O[h+12|0]|O[h+13|0]<<8;c=((c<<8|c>>>8)&65535)+h|0;m=O[c|0]|O[c+1|0]<<8;m=I-((m<<8|m>>>8)&65535)|0;I=O[c+2|0]|O[c+3|0]<<8;if(m>>>0<((I<<8|I>>>8)&65535)>>>0){c=c+(m<<1)|0;c=O[c+4|0]|O[c+5|0]<<8;l=(c<<8|c>>>8)&65535}c=O[h+14|0]|O[h+15|0]<<8;c=(c<<8|c>>>8)&65535;l=l+p|0;c=(c+h|0)+((c>>>0>l>>>0?1073741823:l-c>>>1|0)<<1)|0;re:{if(c>>>0>2]){break re}l=N[o+28>>2];if(l>>>0>>0|l-c>>>0<2){break re}l=N[o+32>>2]-2|0;N[o+32>>2]=l;if((l|0)<=0){break re}c=O[c|0]|O[c+1|0]<<8;if(!c){break re}c=(c<<8|c>>>8)<<16>>16;l=c>>31;se:{if((z|0)==4){c=TE(N[j+56>>2],N[j+60>>2],c,l);p=Pa;c=c+32768|0;c=((c>>>0<32768?p+1|0:p)&65535)<<16|c>>>16;if(y){N[(t+u|0)+12>>2]=c;N[f+144>>2]=N[f+144>>2]|8;break se}l=t+C|0;p=c>>1;N[l>>2]=p+N[l>>2];l=t+u|0;c=c-p|0;N[l>>2]=c+N[l>>2];N[l+8>>2]=c+N[l+8>>2];break se}c=TE(N[j+64>>2],N[j+68>>2],c,l);m=Pa;c=c+32768|0;c=((c>>>0<32768?m+1|0:m)&65535)<<16|c>>>16;if(y){N[(t+u|0)+8>>2]=c;N[f+144>>2]=N[f+144>>2]|8;break se}l=t+C|0;p=c>>1;N[l+4>>2]=p+N[l+4>>2];l=t+u|0;c=c-p|0;N[l+4>>2]=c+N[l+4>>2];N[l+12>>2]=c+N[l+12>>2]}Rc(f,e,W+1|0)}e=N[g+276>>2];break pe}e=e+1|0}if(d>>>0>e>>>0){continue}break}}ib(f,j,12662,0);_a(N[g+384>>2]);break $d}d=O[h+4|0];if(!(L[N[o+4>>2]+140|0]&1|d&64)){break $d}N[g+272>>2]=o;N[g+276>>2]=h;c=O[h+16|0]|O[h+17|0]<<8;L[g+320|0]=d>>>6&1;N[g+316>>2]=0;w=h+8|0;N[g+280>>2]=w+((c<<8|c>>>8)&65535);e=N[o+16>>2];c=N[N[o+8>>2]+24>>2];if(N[c+32>>2]==-1){d=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[d+32>>2]=(c<<8|c>>>8)&65535}N[e+64>>2]=0;if(!O[e+60|0]){break $d}j=0;while(1){f=N[e+64>>2];z=f>>>0>=Q[e+68>>2];c=0;te:{if(z){break te}d=N[N[e+80>>2]+T(f,20)>>2];c=2;if((d|0)==65535){break te}l=d;c=O[h+10|0]|O[h+11|0]<<8;d=w+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;l=l-((c<<8|c>>>8)&65535)|0;p=O[d+2|0]|O[d+3|0]<<8;c=1;if(l>>>0>=((p<<8|p>>>8)&65535)>>>0){break te}c=O[(d+l|0)+4|0]}m=O[w|0]|O[w+1|0]<<8;p=(m<<8|m>>>8)&65535;c=p>>>0<=c>>>0?1:c;d=j;W=T(d,p);j=O[h+12|0]|O[h+13|0]<<8;C=(j<<8|j>>>8)&65535;K=C+w|0;j=O[h+14|0]|O[h+15|0]<<8;y=w+((j<<8|j>>>8)&65535)|0;u=(O[(c+W|0)+K|0]<<2)+y|0;j=O[u|0]|O[u+1|0]<<8;j=(((j<<8|j>>>8)&65535)-C|0)/(p|0)|0;l=O[u+2|0]|O[u+3|0]<<8;ue:{ve:{if(l&65343){break ve}if(!(!d|!(l&64?j:1))){c=y+(O[c+K|0]<<2)|0;d=O[c+2|0]|O[c+3|0]<<8;if(d&65343){break ve}c=O[c|0]|O[c+1|0]<<8;if((d^l)&64|((((c<<8|c>>>8)&65535)-C|0)/(p|0)|0)!=(j|0)){break ve}}c=y+(O[K+(W+!m|0)|0]<<2)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65343)){break ue}}if(z){break ue}c=O[e+62|0]?N[e+72>>2]:f;if(!c){break ue}wb(e,3,c-1|0,f+1|0,1,1);l=O[u+2|0]|O[u+3|0]<<8}we:{if(!(l&128)){break we}c=N[g+316>>2];if(c>>>0<=7){d=N[e+64>>2];N[g+316>>2]=c+1;N[(g+(c<<2)|0)+284>>2]=d;break we}N[g+316>>2]=0}c=l&65343;xe:{if(!c){break xe}d=N[g+316>>2];if(!d){break xe}ye:{ze:{if((d|0)<0){break ze}l=N[g+280>>2];f=(l-N[g+276>>2]|0)-8|0;c=(c<<8|c>>>8)&65535;l=((c>>>0>>0?1073741823:c-f>>>1|0)<<1)+l|0;t=N[g+272>>2];c=d<<1;if(!c){break ye}if(Q[t+24>>2]>l>>>0){break ze}f=N[t+28>>2];if(f>>>0>>0|c>>>0>f-l>>>0){break ze}c=N[t+32>>2]-c|0;N[t+32>>2]=c;if((c|0)>0){break ye}}N[g+316>>2]=0;break xe}if(!d){break xe}C=N[N[t+4>>2]+132>>2];K=O[g+320|0];while(1){d=d-1|0;N[g+316>>2]=d;c=N[(g+(d<<2)|0)+284>>2];if(c>>>0>2]){f=O[l|0]|O[l+1|0]<<8;y=(f<<8|f>>>8)<<16>>16;f=y&-2;p=T(c,20);c=p+N[e+88>>2]|0;Ae:{if((N[e+40>>2]&-2)==4){if(K){if((f|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+12>>2]=0;break Ae}if(!O[c+18|0]){break Ae}p=N[c+12>>2];m=N[t+8>>2];f=TE(N[m+64>>2],N[m+68>>2],f,f>>31);m=Pa;f=f+32768|0;N[c+12>>2]=(((f>>>0<32768?m+1|0:m)&65535)<<16|f>>>16)+p;N[e+144>>2]=N[e+144>>2]|8;break Ae}if(!(C&N[(p+N[e+80>>2]|0)+4>>2])){break Ae}p=N[t+8>>2];f=TE(N[p+56>>2],N[p+60>>2],f,f>>31);m=Pa;f=f+32768|0;f=((f>>>0<32768?m+1|0:m)&65535)<<16|f>>>16;N[c>>2]=f+N[c>>2];N[c+8>>2]=f+N[c+8>>2];break Ae}if(K){if((f|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+8>>2]=0;break Ae}if(!O[c+18|0]){break Ae}m=N[c+8>>2];p=N[t+8>>2];f=TE(N[p+56>>2],N[p+60>>2],f,f>>31);p=Pa;f=f+32768|0;N[c+8>>2]=(((f>>>0<32768?p+1|0:p)&65535)<<16|f>>>16)+m;N[e+144>>2]=N[e+144>>2]|8;break Ae}if(!(C&N[(p+N[e+80>>2]|0)+4>>2])){break Ae}p=N[t+8>>2];f=TE(N[p+64>>2],N[p+68>>2],f,f>>31);m=Pa;f=f+32768|0;f=((f>>>0<32768?m+1|0:m)&65535)<<16|f>>>16;N[c+4>>2]=f+N[c+4>>2];N[c+12>>2]=f+N[c+12>>2]}if(y&1){break xe}}l=l+2|0;if(d){continue}break}}d=N[e+64>>2];if(!O[e+60|0]|(d|0)==N[e+68>>2]){break $d}Be:{if(O[u+2|0]&64){c=N[e+152>>2];N[e+152>>2]=c-1;if((c|0)>0){break Be}}if(O[e+62|0]){c=N[e+80>>2];f=N[e+84>>2];l=N[e+72>>2];if((c|0)!=(f|0)|(l|0)!=(d|0)){p=l+1|0;if(!(!p|p>>>0>2])){if(!gb(e,p)){break Be}l=N[e+72>>2];d=N[e+64>>2];f=N[e+84>>2];c=N[e+80>>2]}Ce:{if((c|0)!=(f|0)){break Ce}if(l+1>>>0<=d+1>>>0){f=c;break Ce}if(!O[e+62|0]){break a}f=N[e+88>>2];N[e+84>>2]=f;p=T(l,20);if(!p){break Ce}B(f,c,p);l=N[e+72>>2];f=N[e+84>>2];d=N[e+64>>2];c=N[e+80>>2]}c=T(d,20)+c|0;d=N[c+4>>2];f=T(l,20)+f|0;N[f>>2]=N[c>>2];N[f+4>>2]=d;N[f+16>>2]=N[c+16>>2];d=N[c+12>>2];N[f+8>>2]=N[c+8>>2];N[f+12>>2]=d;d=N[e+64>>2];c=N[e+72>>2]}else{c=d}N[e+72>>2]=c+1}N[e+64>>2]=d+1}if(O[e+60|0]){continue}break}}c=N[o+52>>2];d=N[c+12>>2];N[o+24>>2]=d;c=N[c+16>>2];N[o+28>>2]=c+d;if((c|0)<0){break b}De:{if(_){break De}e=N[o+16>>2];j=N[e+68>>2];if(j>>>0>=2){p=N[e+80>>2];l=j-1|0;f=0;while(1){d=p+T(l,20)|0;c=d;N[g+288>>2]=N[c+16>>2];m=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=m;m=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=m;c=p+T(f,20)|0;N[d+16>>2]=N[c+16>>2];m=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=m;m=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=m;N[c+16>>2]=N[g+288>>2];d=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=d;d=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=d;f=f+1|0;l=l-1|0;if(f>>>0>>0){continue}break}}if(!O[e+63|0]){break De}c=N[e+68>>2];c=c>>>0>>0?c:j;if(c>>>0<2){break De}e=N[e+88>>2];l=c-1|0;f=0;while(1){d=e+T(l,20)|0;c=d;N[g+288>>2]=N[c+16>>2];j=N[c+12>>2];N[g+280>>2]=N[c+8>>2];N[g+284>>2]=j;j=N[c+4>>2];N[g+272>>2]=N[c>>2];N[g+276>>2]=j;c=e+T(f,20)|0;N[d+16>>2]=N[c+16>>2];j=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=j;j=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=j;N[c+16>>2]=N[g+288>>2];d=N[g+284>>2];N[c+8>>2]=N[g+280>>2];N[c+12>>2]=d;d=N[g+276>>2];N[c>>2]=N[g+272>>2];N[c+4>>2]=d;f=f+1|0;l=l-1|0;if(f>>>0>>0){continue}break}}c=N[o+8>>2];d=N[o+16>>2];N[g+32>>2]=N[o+72>>2];ib(d,c,17599,g+32|0)}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);d=N[o+72>>2]+1|0;N[o+72>>2]=d;h=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+h|0;i=i+1|0;if((E|0)!=(i|0)){continue}break}}ib(s,b,12647,0)}ab(N[o+52>>2])}if(O[J+141|0]&64){c=hl(N[b+24>>2]+172|0);l=Te(g+272|0,J,b,s,275552);X=R[N[l+8>>2]+80>>2];Ee:{if(X<=U(0)){break Ee}p=N[N[l+4>>2]+136>>2];j=N[l+16>>2];if((N[j+40>>2]&-2)==4){d=O[c+6|0]|O[c+7|0]<<8;if(d){d=c+((d<<8|d>>>8)&65535)|0}else{d=275552}d=fl(d,c,X);X=R[N[l+8>>2]+44>>2];aa=U(Z(U(U(X*U(d|0))+U(.5))));Fe:{if(U(V(aa))>2];if(!f){break Ee}h=c;i=d;c=f-1|0;v=N[j+80>>2];d=0;while(1){He:{if((c|0)==(d|0)){d=f;break He}d=d+1|0;if(O[(v+T(d,20)|0)+16|0]&128){continue}}break}e=0;while(1){c=T(e,20);if(p&N[(c+v|0)+4>>2]){c=c+N[j+88>>2]|0;N[c>>2]=h+N[c>>2];N[c+8>>2]=i+N[c+8>>2]}c=d+1|0;e=c>>>0>>0?f:c;o=e-1|0;c=d;while(1){Ie:{if((c|0)==(o|0)){c=e;break Ie}c=c+1|0;if(O[(v+T(c,20)|0)+16|0]&128){continue}}break}o=d>>>0>>0;e=d;d=c;if(o){continue}break}break Ee}d=O[c+8|0]|O[c+9|0]<<8;if(d){d=c+((d<<8|d>>>8)&65535)|0}else{d=275552}d=fl(d,c,X);X=R[N[l+8>>2]+48>>2];aa=U(Z(U(U(X*U(d|0))+U(.5))));Je:{if(U(V(aa))>2];if(!d){break Ee}f=c;h=e;e=d-1|0;v=N[j+80>>2];c=0;while(1){Le:{if((c|0)==(e|0)){c=d;break Le}c=c+1|0;if(O[(v+T(c,20)|0)+16|0]&128){continue}}break}e=0;while(1){e=T(e,20);if(p&N[(e+v|0)+4>>2]){e=e+N[j+88>>2]|0;N[e+4>>2]=f+N[e+4>>2];N[e+12>>2]=h+N[e+12>>2]}e=c;i=c+1|0;i=d>>>0>i>>>0?d:i;o=i-1|0;while(1){Me:{if((c|0)==(o|0)){c=i;break Me}c=c+1|0;if(O[(v+T(c,20)|0)+16|0]&128){continue}}break}if(d>>>0>e>>>0){continue}break}}ab(N[l+52>>2])}La=g+448|0;break sd}Ne:{if(!(O[a+200|0]&32)|N[N[a+80>>2]+48>>2]!=2){break Ne}d=N[s+68>>2];if(!d){break Ne}e=N[s+80>>2];if(x){h=0;while(1){c=T(h,20);if(O[(c+e|0)+12|0]&8){c=c+N[s+88>>2]|0;f=N[c+4>>2];N[c+4>>2]=0;i=N[c>>2];N[c>>2]=0;N[c+8>>2]=N[c+8>>2]-i;N[c+12>>2]=N[c+12>>2]-f}h=h+1|0;if((d|0)!=(h|0)){continue}break}break Ne}f=0;if((d|0)!=1){c=d&1;d=d&-2;while(1){h=T(f,20);if(O[(h+e|0)+12|0]&8){h=h+N[s+88>>2]|0;N[h>>2]=0;N[h+4>>2]=0}h=T(f|1,20);if(O[(h+e|0)+12|0]&8){h=h+N[s+88>>2]|0;N[h>>2]=0;N[h+4>>2]=0}f=f+2|0;if((d|0)!=(f|0)){continue}break}if(!c){break Ne}}c=T(f,20);if(!(O[(c+e|0)+12|0]&8)){break Ne}c=c+N[s+88>>2]|0;N[c>>2]=0;N[c+4>>2]=0}Oe:{if(!(O[s+144|0]&2)|O[s+16|0]&12){break Oe}c=N[s+68>>2];if(!c){break Oe}d=N[s+80>>2];e=N[s+88>>2];f=0;if((c|0)!=1){h=c&1;i=c&-2;while(1){c=T(f,20);g=c+d|0;if(!(!(O[g+16|0]&32)|O[g+12|0]&16)){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=T(f|1,20);g=c+d|0;if(!(!(O[g+16|0]&32)|O[g+12|0]&16)){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}f=f+2|0;if((i|0)!=(f|0)){continue}break}if(!h){break Oe}}c=T(f,20);d=c+d|0;if(!(O[d+16|0]&32)|O[d+12|0]&16){break Oe}c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}Pe:{if(!(O[a+201|0]&32)){break Pe}c=N[s+68>>2];if(!c){break Pe}d=N[s+80>>2];e=N[s+88>>2];f=0;if((c|0)!=1){h=c&1;i=c&-2;while(1){c=T(f,20);if(N[c+d>>2]==65535){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=T(f|1,20);if(N[c+d>>2]==65535){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}f=f+2|0;if((i|0)!=(f|0)){continue}break}if(!h){break Pe}}c=T(f,20);if(N[c+d>>2]!=65535){break Pe}c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=O[s+140|0];if((c&3)==3){if(c&4){e=N[s+68>>2];Qe:{Re:{if(O[s+63|0]){break Re}c=0;if(N[s+168>>2]){break Qe}N[s+72>>2]=0;M[s+62>>1]=256;N[s+84>>2]=N[s+80>>2];c=T(e,20);if(!c){break Re}G(N[s+88>>2],0,c)}c=N[s+88>>2]}if(!(!(O[s+144|0]&8)|!e)){d=N[s+40>>2];f=0;while(1){Nj(c,e,f,d,64);f=f+1|0;if((e|0)!=(f|0)){continue}break}}if(!(!e|R[b+36>>2]==U(0))){f=0;while(1){d=c+T(f,20)|0;h=N[d+12>>2];if(h){X=U(U(Z(U(U(R[b+40>>2]*U(h|0))+U(.5))))+U(N[d+8>>2]));Se:{if(U(V(X))>2]=h}f=f+1|0;if(e>>>0>f>>>0){continue}break}}c=N[147126];f=b;Te:{while(1){if((c|0)==N[N[f+96>>2]+56>>2]){f=N[f+20>>2];if(!f){break Te}if((f|0)!=588752){continue}break Te}break}if(!k){break Te}h=0;while(1){c=T(h,20);Id(b,N[c+r>>2],q+120|0,q+96|0);c=c+n|0;N[c+8>>2]=N[c+8>>2]-N[q+120>>2];N[c+12>>2]=N[c+12>>2]-N[q+96>>2];h=h+1|0;if((H|0)!=(h|0)){continue}break}}Ue:{Ve:{if(!(O[a+200|0]&128)){break Ve}if(!ib(s,b,13525,0)){break Ve}c=O[s+140|0];if((c&3)!=3){break Ue}if(!(c&4)){break d}f=1;h=0;c=N[s+68>>2];if(c>>>0>1){d=N[s+80>>2];while(1){if(!(1<>1]&7168)){Gj(J,b,s,h,f,x);h=f}f=f+1|0;if((c|0)!=(f|0)){continue}break}}Gj(J,b,s,h,c,x);ib(s,b,13545,0)}We:{if((N[s+40>>2]&-3)!=5){break We}e=N[s+68>>2];if(e>>>0>=2){f=N[s+80>>2];k=e-1|0;j=0;while(1){c=f+T(k,20)|0;N[q+136>>2]=N[c+16>>2];d=N[c+12>>2];N[q+128>>2]=N[c+8>>2];N[q+132>>2]=d;d=N[c+4>>2];N[q+120>>2]=N[c>>2];N[q+124>>2]=d;d=f+T(j,20)|0;N[c+16>>2]=N[d+16>>2];h=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=h;h=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=h;N[d+16>>2]=N[q+136>>2];c=N[q+132>>2];N[d+8>>2]=N[q+128>>2];N[d+12>>2]=c;c=N[q+124>>2];N[d>>2]=N[q+120>>2];N[d+4>>2]=c;k=k-1|0;j=j+1|0;if(k>>>0>j>>>0){continue}break}}if(!O[s+63|0]){break We}c=N[s+68>>2];c=c>>>0>>0?c:e;if(c>>>0<2){break We}e=N[s+88>>2];k=c-1|0;j=0;while(1){c=e+T(k,20)|0;N[q+136>>2]=N[c+16>>2];d=N[c+12>>2];N[q+128>>2]=N[c+8>>2];N[q+132>>2]=d;d=N[c+4>>2];N[q+120>>2]=N[c>>2];N[q+124>>2]=d;d=e+T(j,20)|0;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[d+16>>2]=N[q+136>>2];c=N[q+132>>2];N[d+8>>2]=N[q+128>>2];N[d+12>>2]=c;c=N[q+124>>2];N[d>>2]=N[q+120>>2];N[d+4>>2]=c;k=k-1|0;j=j+1|0;if(k>>>0>j>>>0){continue}break}}c=O[s+140|0];if(c&4){L[s+140|0]=c&251;if((c&3)==3){L[s+140|0]=c&248;if((P[a+200>>1]&8704)==8192){ll(s)}if(!(O[s+144|0]&2)){break f}d=N[s+16>>2];if(d&4){break f}c=N[s+80>>2];r=N[s+68>>2];e=N[s+28>>2];N[q+120>>2]=e;if(!(d&8)){if(e){break g}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];f=N[b+100>>2];k=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,f,32,k,d)|0){break g}r=N[s+68>>2]}h=0;if(r){f=0;while(1){e=N[s+80>>2];k=T(f,20);d=e+k|0;Xe:{if(!(O[d+12|0]&16?0:O[d+16|0]&32)){if((f|0)!=(h|0)){i=N[d+4>>2];c=e;e=T(h,20);c=c+e|0;N[c>>2]=N[d>>2];N[c+4>>2]=i;N[c+16>>2]=N[d+16>>2];i=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=i;d=N[s+88>>2];c=d+e|0;d=d+k|0;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;e=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=e;N[c+16>>2]=N[d+16>>2]}h=h+1|0;c=f+1|0;break Xe}i=N[d+8>>2];Ye:{Ze:{_e:{$e:{c=f+1|0;if(c>>>0>>0){if((i|0)!=N[(e+T(c,20)|0)+8>>2]){break $e}break Xe}if(h){break _e}break Ye}if(!h){break Ze}}g=N[(e+T(h,20)|0)-12>>2];if(g>>>0<=i>>>0){break Xe}n=N[d+4>>2]&7;k=h;while(1){k=k-1|0;d=e+T(k,20)|0;if((g|0)!=N[d+8>>2]){break Xe}N[d+4>>2]=n|N[d+4>>2]&-8;N[d+8>>2]=i;if(k){continue}break}break Xe}Ib(s,f,f+2|0)}h=0}f=c;if((r|0)!=(f|0)){continue}break}}N[s+68>>2]=h;break f}break e}break e}break d}break d}break d}break e}ba(10615,17855,2019,8730);F()}break d}break c}break a}break c}if(!r){break f}f=0;if((r|0)!=1){e=r&1;k=r&-2;while(1){d=c+T(f,20)|0;if(!(!(O[d+16|0]&32)|O[d+12|0]&16)){N[d>>2]=N[q+120>>2]}d=c+T(f|1,20)|0;if(!(!(O[d+16|0]&32)|O[d+12|0]&16)){N[d>>2]=N[q+120>>2]}f=f+2|0;if((k|0)!=(f|0)){continue}break}if(!e){break f}}c=c+T(f,20)|0;if(!(O[c+16|0]&32)|O[c+12|0]&16){break f}N[c>>2]=N[q+120>>2]}af:{if(!N[N[a+80>>2]+20>>2]){break af}if(!ib(s,b,10964,0)){break af}Qa[N[N[a+80>>2]+20>>2]](J,s,b);ib(s,b,10989,0)}bf:{if(!(O[s+144|0]&32)){break bf}b=N[s+68>>2];if(!b){break bf}a=N[s+16>>2];h=a&64;a=a&128;d=N[s+80>>2];c=b-1|0;f=0;while(1){cf:{if((c|0)==(f|0)){f=b;break cf}e=T(f,20);f=f+1|0;e=d+e|0;if(N[e+8>>2]==N[e+28>>2]){continue}}break}if(!a){j=0;while(1){a=f;df:{if(f>>>0<=j>>>0){break df}e=f-j|0;i=e&3;n=0;k=0;f=j;g=a+(f^-1)|0;if(g>>>0>=3){r=e&-4;l=0;while(1){c=d+T(f,20)|0;k=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|k;f=f+4|0;l=l+4|0;if((r|0)!=(l|0)){continue}break}}if(i){while(1){k=N[(d+T(f,20)|0)+4>>2]&7|k;f=f+1|0;n=n+1|0;if((i|0)!=(n|0)){continue}break}}c=h?k:k&-3;k=0;e=e&7;if(e){while(1){N[(d+T(j,20)|0)+4>>2]=c;j=j+1|0;k=k+1|0;if((e|0)!=(k|0)){continue}break}}if(g>>>0<7){break df}while(1){e=d+T(j,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;j=j+8|0;if((a|0)!=(j|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){ef:{if((e|0)==(f|0)){f=c;break ef}k=T(f,20);f=f+1|0;k=d+k|0;if(N[k+8>>2]==N[k+28>>2]){continue}}break}j=a;if(b>>>0>j>>>0){continue}break}break bf}k=0;if(!h){while(1){j=0;a=f;h=f>>>0<=k>>>0;ff:{if(h){break ff}c=f-k|0;e=c&3;n=0;f=k;if(a+(f^-1)>>>0>=3){i=c&-4;l=0;while(1){c=d+T(f,20)|0;j=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|j;f=f+4|0;l=l+4|0;if((i|0)!=(l|0)){continue}break}}if(!e){break ff}while(1){j=N[(d+T(f,20)|0)+4>>2]&7|j;f=f+1|0;n=n+1|0;if((e|0)!=(n|0)){continue}break}}gf:{if(h){break gf}c=j&1?j&-5:j;c=c>>>2&1|c&-3;e=a+(k^-1)|0;j=0;f=a-k&7;if(f){while(1){N[(d+T(k,20)|0)+4>>2]=c;k=k+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}if(e>>>0<7){break gf}while(1){e=d+T(k,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;k=k+8|0;if((a|0)!=(k|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){hf:{if((e|0)==(f|0)){f=c;break hf}k=T(f,20);f=f+1|0;k=d+k|0;if(N[k+8>>2]==N[k+28>>2]){continue}}break}k=a;if(b>>>0>k>>>0){continue}break bf}}while(1){j=0;a=f;h=f>>>0<=k>>>0;jf:{if(h){break jf}c=f-k|0;e=c&3;n=0;f=k;if(a+(f^-1)>>>0>=3){i=c&-4;l=0;while(1){c=d+T(f,20)|0;j=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|j;f=f+4|0;l=l+4|0;if((i|0)!=(l|0)){continue}break}}if(!e){break jf}while(1){j=N[(d+T(f,20)|0)+4>>2]&7|j;f=f+1|0;n=n+1|0;if((e|0)!=(n|0)){continue}break}}kf:{if(h){break kf}c=j&1?j&-5:j;c=c&4?c|3:c;e=a+(k^-1)|0;j=0;f=a-k&7;if(f){while(1){N[(d+T(k,20)|0)+4>>2]=c;k=k+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}if(e>>>0<7){break kf}while(1){e=d+T(k,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;k=k+8|0;if((a|0)!=(k|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){lf:{if((e|0)==(f|0)){f=c;break lf}k=T(f,20);f=f+1|0;k=d+k|0;if(N[k+8>>2]==N[k+28>>2]){continue}}break}k=a;if(b>>>0>k>>>0){continue}break}}if((O[s+140|0]&48)==48){N[s+148>>2]=1073741823;N[s+152>>2]=536870911;N[s+40>>2]=ca;M[s+140>>1]=0;La=q+288|0;return 1}}ba(22742,14165,187,12136);F()}ba(22742,14165,195,12125);F()}ba(22778,14165,169,12138);F()}ba(16656,14279,195,9642);F()}ba(8694,17855,209,11932);F()}function Ht(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0;t=La-128|0;La=t;h=N[b+96>>2];g=N[h+4>>2];a:{b:{c:{ha=N[b+540>>2];if(ha){break c}e=11;if(!g){break a}d=N[g+16>>2];if((d|0)<=0){break a}j=g+20|0;f=j+(d<<2)|0;while(1){d=N[N[j>>2]>>2];if(cb(N[d+8>>2],9195)){j=j+4|0;if(f>>>0>j>>>0){continue}break a}break}ha=N[d+20>>2];if(!ha){break a}N[b+540>>2]=ha;N[b+516>>2]=N[ha>>2];if(h){break c}break b}j=g;d=N[N[h>>2]+32>>2];if(d){C=Qa[d|0](h,10566)|0;if(C){break b}j=N[h+4>>2]}C=0;d=N[j+16>>2];if((d|0)<=0){break b}j=j+20|0;e=j+(d<<2)|0;while(1){d:{f=N[j>>2];if((f|0)==(h|0)){break d}d=N[N[f>>2]+32>>2];if(!d){break d}d=Qa[d|0](f,10566)|0;if(!d){break d}C=d;break b}j=j+4|0;if(e>>>0>j>>>0){continue}break}}N[b+544>>2]=C;if(!N[b+548>>2]){e:{if(!g){break e}d=N[g+16>>2];if((d|0)<=0){break e}j=g+20|0;f=j+(d<<2)|0;while(1){e=N[j>>2];d=N[e>>2];if(cb(N[d+8>>2],15504)){j=j+4|0;if(f>>>0>j>>>0){continue}break e}break}d=N[d+32>>2];if(!d){break e}n=Qa[d|0](e,10423)|0}N[b+548>>2]=n}if(!N[b+552>>2]){f:{if(!g){n=0;break f}n=0;d=N[g+16>>2];if((d|0)<=0){break f}j=g+20|0;g=j+(d<<2)|0;while(1){e=N[j>>2];d=N[e>>2];if(cb(N[d+8>>2],15504)){j=j+4|0;if(g>>>0>j>>>0){continue}break f}break}d=N[d+32>>2];if(!d){break f}n=Qa[d|0](e,10670)|0}N[b+552>>2]=n}oa=N[a+28>>2];N[b+140>>2]=0;N[b+132>>2]=0;N[b+136>>2]=0;pa=b+132|0;ra=t+108|0;while(1){g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{g=N[a+8>>2];if(Q[a+4>>2]<=g+3>>>0){break t}u:{v:{w:{d=N[a+20>>2];x:{if(d){j=t+52|0;if((Qa[d|0](a,g,j,4)|0)!=4){break t}d=N[a+8>>2];break x}d=N[a>>2];if(!d){break w}j=d+g|0;d=g}f=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);N[a+8>>2]=d+4;e=2;y:{d=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);z:{if((d|0)<=1954115632){if((d|0)<=131071){if((d|0)==-1519689116|(d|0)==-1519619212|(d|0)==65536){break z}break a}if((d|0)<=1953658212){if((d|0)==131072|(d|0)==1330926671){break z}break a}if((d|0)==1953658213|(d|0)==1953784678){break z}break a}if((d|0)==2001684018){break p}if((d|0)==2001684038){break y}if((d|0)!=1954115633){break a}}N[pa>>2]=1953784678;if((d|0)!=1953784678){break s}e=rb(a,177904,pa);N[t+12>>2]=e;if(e){break a}d=N[b+140>>2];if(d){break r}e=8;break a}A:{d=N[a+20>>2];if(d){if(!(Qa[d|0](a,g,0,0)|0)){break A}e=85;break a}if(g>>>0<=Q[a+4>>2]){break A}e=85;break a}N[a+8>>2]=g;N[t+12>>2]=0;v=N[a+28>>2];e=rb(a,177920,t+52|0);if(e){break a}e=8;n=N[t+56>>2];if((n|0)==1953784678|(n|0)==2001684038){break a}d=N[t+60>>2];if((d|0)!=N[a+4>>2]){break a}g=P[t+64>>1];if(!g){break a}i=T(g,20);if(d>>>0<=i+44>>>0){break a}l=g<<4;f=l|12;d=N[t+68>>2];if(f>>>0>=d>>>0|d&3){break a}r=N[t+80>>2];aa=N[t+76>>2];B:{if(!aa){if(!(r|N[t+84>>2])){break B}break a}if(!r){break B}if(!N[t+84>>2]){break a}}q=N[t+88>>2];if(!(N[t+92>>2]?q:1)){break a}f=Qa[N[v+4>>2]](v,f)|0;e=!f<<6;N[t+24>>2]=e;if(!f){m=0;f=0;break j}m=Qa[N[v+4>>2]](v,40)|0;if(!m){e=64;N[t+24>>2]=64;m=0;break i}L[m|0]=0;L[m+1|0]=0;L[m+2|0]=0;L[m+3|0]=0;L[m+4|0]=0;L[m+5|0]=0;L[m+6|0]=0;L[m+7|0]=0;L[m+32|0]=0;L[m+33|0]=0;L[m+34|0]=0;L[m+35|0]=0;L[m+36|0]=0;L[m+37|0]=0;L[m+38|0]=0;L[m+39|0]=0;L[m+24|0]=0;L[m+25|0]=0;L[m+26|0]=0;L[m+27|0]=0;L[m+28|0]=0;L[m+29|0]=0;L[m+30|0]=0;L[m+31|0]=0;L[m+16|0]=0;L[m+17|0]=0;L[m+18|0]=0;L[m+19|0]=0;L[m+20|0]=0;L[m+21|0]=0;L[m+22|0]=0;L[m+23|0]=0;L[m+8|0]=0;L[m+9|0]=0;L[m+10|0]=0;L[m+11|0]=0;L[m+12|0]=0;L[m+13|0]=0;L[m+14|0]=0;L[m+15|0]=0;e=0;j=g;while(1){d=e;e=e+1|0;h=j>>>0>1;j=j>>>1|0;if(h){continue}break}L[f+9|0]=d;L[f+5|0]=g;L[f+3|0]=n;L[f+8|0]=d>>>8;e=16<>>8;L[f+2|0]=n>>>8;L[f+1|0]=n>>>16;L[f|0]=n>>>24;d=l-e|0;L[f+11|0]=d;L[f+6|0]=e>>>8;L[f+10|0]=d>>>8;d=T(g,24);x=Qa[N[v+4>>2]](v,d)|0;if(!x){break u}G(x,0,d);d=g<<2;s=Qa[N[v+4>>2]](v,d)|0;if(!s){break v}G(s,0,d);e=Bb(a,i);N[t+24>>2]=e;if(e){break l}d=g>>>0<=1?1:g;g=0;n=0;while(1){i=x+T(n,24)|0;l=N[a+36>>2];j=N[a+32>>2];C:{if(l>>>0<=j+3>>>0){C=0;break C}e=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);C=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);j=j+4|0}N[a+32>>2]=j;N[i>>2]=C;e=0;D:{if(l>>>0<=j+3>>>0){H=0;break D}h=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);H=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);j=j+4|0}N[a+32>>2]=j;N[i+4>>2]=H;if(l>>>0>j+3>>>0){e=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);j=j+4|0}N[a+32>>2]=j;N[i+8>>2]=e;e=0;E:{if(l>>>0<=j+3>>>0){H=0;break E}h=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);H=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);j=j+4|0}N[a+32>>2]=j;N[i+12>>2]=H;if(l>>>0>j+3>>>0){e=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);j=j+4|0}N[a+32>>2]=j;N[i+16>>2]=e;if(g>>>0>=C>>>0){if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break m}N[s+(n<<2)>>2]=i;g=C;n=n+1|0;if((d|0)!=(n|0)){continue}break}if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;z=P[t+64>>1];Yc(s,z,4,180);g=z<<4|12;j=T(z,20)+44|0;F:{if(!z){d=g;break F}e=0;l=N[t+68>>2];h=N[t+60>>2];d=g;while(1){o=N[s+(e<<2)>>2];if(N[o+4>>2]!=(j|0)){break m}n=N[o+8>>2];if(n>>>0>h>>>0|h-n>>>0>>0){break m}i=N[o+12>>2];if(i>>>0>>0|i>>>0>l>>>0|l-i>>>0>>0){break m}N[o+20>>2]=d;d=(i+3&-4)+d|0;j=(n+3&-4)+j|0;e=e+1|0;if((z|0)!=(e|0)){continue}break}}if(aa){if((j|0)!=(aa|0)){break o}j=r+aa|0;if(j>>>0>Q[t+60>>2]){break o}}G:{if(!q){e=N[t+60>>2];break G}if((q|0)!=(j+3&-4)){break o}e=N[t+60>>2];j=q+N[t+92>>2]|0;if(e>>>0>>0){break o}}if(N[t+68>>2]!=(d|0)|(e|0)!=(j|0)){break o}f=lb(v,1,g,d,f,t+24|0);e=N[t+24>>2];if(e){break n}if(z){C=f+12|0;n=0;while(1){l=x+T(n,24)|0;L[C|0]=O[l+3|0];L[C+1|0]=P[l+2>>1];L[C+2|0]=N[l>>2]>>>8;L[C+3|0]=N[l>>2];L[C+4|0]=O[l+19|0];L[C+5|0]=P[l+18>>1];L[C+6|0]=N[l+16>>2]>>>8;L[C+7|0]=N[l+16>>2];L[C+8|0]=O[l+23|0];L[C+9|0]=P[l+22>>1];L[C+10|0]=N[l+20>>2]>>>8;L[C+11|0]=N[l+20>>2];L[C+12|0]=O[l+15|0];L[C+13|0]=P[l+14>>1];L[C+14|0]=N[l+12>>2]>>>8;L[C+15|0]=N[l+12>>2];g=N[l+4>>2];H:{I:{J:{K:{e=N[a+20>>2];L:{if(e){if(Qa[e|0](a,g,0,0)|0){break L}break K}if(g>>>0<=Q[a+4>>2]){break K}}e=85;break J}N[a+8>>2]=g;e=Bb(a,N[l+8>>2]);if(e){break J}g=N[l+8>>2];e=N[l+12>>2];if((g|0)!=(e|0)){break I}B(N[l+20>>2]+f|0,N[a+32>>2],g);break H}N[t+24>>2]=e;break n}N[t+124>>2]=e;h=t+124|0;j=N[a+32>>2];g=N[l+8>>2];q=La+-64|0;La=q;H=6;e=N[l+20>>2]+f|0;M:{if(!h|(!e|!v)){break M}N[q+20>>2]=e;N[q+12>>2]=g;N[q+8>>2]=j;e=N[h>>2];N[q+48>>2]=v;N[q+44>>2]=163;N[q+40>>2]=164;N[q+24>>2]=e;e=q+8|0;if(mm(e,15)){break M}g=km(e,4);if((g|0)!=1){H=N[q+36>>2];N:{if(!H){break N}i=N[q+44>>2];if(!i){break N}j=N[H+20>>2];if(j){e=N[j>>2];if((e&-2)==4){Qa[i|0](N[q+48>>2],N[j+12>>2]);e=N[j>>2]}if((e|0)==6){Qa[N[q+44>>2]](N[q+48>>2],N[j+4>>2])}N[j+28>>2]=0;N[j+32>>2]=0;N[j>>2]=0;H=N[j+40>>2];N[j+52>>2]=H;N[j+48>>2]=H;e=N[j+56>>2];if(e){e=Qa[e|0](0,0,0)|0;N[j+60>>2]=e;N[q+56>>2]=e;H=N[j+40>>2]}Qa[N[q+44>>2]](N[q+48>>2],H);Qa[N[q+44>>2]](N[q+48>>2],N[j+36>>2]);Qa[N[q+44>>2]](N[q+48>>2],j);H=N[q+36>>2];i=N[q+44>>2]}Qa[i|0](N[q+48>>2],H)}H=0;e=g+5|0;if(e>>>0>=6){break M}H=N[(e<<2)+43112>>2];break M}N[h>>2]=N[q+28>>2];H=0;o=N[q+36>>2];if(!o){break M}i=N[q+44>>2];if(!i){break M}g=N[o+20>>2];if(g){e=N[g>>2];if((e&-2)==4){Qa[i|0](N[q+48>>2],N[g+12>>2]);e=N[g>>2]}if((e|0)==6){Qa[N[q+44>>2]](N[q+48>>2],N[g+4>>2])}N[g+28>>2]=0;N[g+32>>2]=0;N[g>>2]=0;o=N[g+40>>2];N[g+52>>2]=o;N[g+48>>2]=o;e=N[g+56>>2];if(e){e=Qa[e|0](0,0,0)|0;N[g+60>>2]=e;N[q+56>>2]=e;o=N[g+40>>2]}Qa[N[q+44>>2]](N[q+48>>2],o);Qa[N[q+44>>2]](N[q+48>>2],N[g+36>>2]);Qa[N[q+44>>2]](N[q+48>>2],g);o=N[q+36>>2];i=N[q+44>>2]}Qa[i|0](N[q+48>>2],o)}La=q- -64|0;e=H;if(!e){if(N[t+124>>2]==N[l+12>>2]){break H}e=8}N[t+24>>2]=e;if(N[a+20>>2]){g=N[a>>2];if(g){d=N[a+28>>2];Qa[N[d+8>>2]](d,g)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break n}if(N[a+20>>2]){g=N[a>>2];if(g){e=N[a+28>>2];Qa[N[e+8>>2]](e,g)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;j=N[l+12>>2];g=N[l+20>>2];e=j+g|0;if(e&3){G(e+f|0,0,((j^-1)-g&3)+1|0)}C=C+16|0;n=n+1|0;if((z|0)!=(n|0)){continue}break}N[t+24>>2]=0}N[m+32>>2]=0;N[m+8>>2]=0;N[m+4>>2]=d;N[m>>2]=f;N[m+20>>2]=0;a=N[a+28>>2];N[m+24>>2]=181;N[m+28>>2]=a;g=N[b+104>>2];O:{if(!g){break O}d=N[b+8>>2];e=N[g+28>>2];a=N[g+24>>2];if(a){Qa[a|0](g)}if(d&1024){break O}Qa[N[e+8>>2]](e,g)}N[b+104>>2]=m;N[b+8>>2]=N[b+8>>2]&-1025;e=0;break n}N[a+8>>2]=g+4;e=2;break a}e=64;N[t+24>>2]=64;Qa[N[v+8>>2]](v,x);break i}e=64;N[t+24>>2]=64;break i}e=85;break a}N[b+136>>2]=65536;N[b+140>>2]=1;d=Qa[N[oa+4>>2]](oa,4)|0;N[b+144>>2]=d;a=!d;if(a){e=a<<6;break a}N[d>>2]=g;break q}e=10;if(d>>>0>N[a+4>>2]>>>5>>>0){break a}sa=b,ta=lb(oa,4,0,d,0,t+12|0),N[sa+144>>2]=ta;e=N[t+12>>2];if(e){break a}e=Bb(a,N[b+140>>2]<<2);N[t+12>>2]=e;if(e){break a}if(N[b+140>>2]>0){j=N[a+32>>2];f=N[b+144>>2];g=N[a+36>>2];e=0;while(1){P:{if(g>>>0<=j+3>>>0){d=0;break P}d=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);j=j+4|0}N[a+32>>2]=j;N[f+(e<<2)>>2]=d;e=e+1|0;if((e|0)>2]){continue}break}}if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}o=N[b+104>>2];d=N[b+144>>2];a=c>>31;j=(a^c)-a|0;a=(j&65535)+a|0;if((a|0)>=N[b+140>>2]){e=6;if((c|0)>=0){break a}a=0}d=N[d+(a<<2)>>2];a=N[o+20>>2];Q:{if(a){e=85;if(!(Qa[a|0](o,d,0,0)|0)){break Q}break a}e=85;if(d>>>0>Q[o+4>>2]){break a}}N[o+8>>2]=d;e=Qa[N[ha+88>>2]](b,o)|0;N[t+52>>2]=e;if(e){break a}l=N[b+100>>2];a=0;e=0;R:{S:{if(Qa[N[b+516>>2]](b,1719034226,o,t+24|0)|Q[t+24>>2]<20){break S}d=t+52|0;g=Nb(o,d);e=N[t+52>>2];if(e){break S}C=xb(o,d);e=N[t+52>>2];if(e){break S}f=N[o+8>>2]+2|0;d=N[o+20>>2];T:{if(d){e=85;if(!(Qa[d|0](o,f,0,0)|0)){break T}break S}e=85;if(f>>>0>Q[o+4>>2]){break S}}N[o+8>>2]=f;N[t+52>>2]=0;n=xb(o,t+52|0);e=N[t+52>>2];if(e){break S}ha=xb(o,t+52|0);e=N[t+52>>2];if(e){break S}d=xb(o,t+52|0);e=N[t+52>>2];if(e){break S}m=xb(o,t+52|0);e=N[t+52>>2];if(e){break S}e=0;a=g;break R}C=0;n=0;ha=0;d=0;m=0}f=0;U:{if((a|0)!=65536|(ha|0)!=20|(!n|n>>>0>16382)){break U}a=n<<2;V:{if((a+4|0)!=(m|0)){if((a+6|0)!=(m|0)){break U}if(d>>>0<=32511){break V}break U}if(d>>>0>32511){break U}}if(Q[t+24>>2]<(T(n,20)+C|0)+T(d,m)>>>0){break U}N[b+740>>2]=N[b+740>>2]|1;f=d}W:{if(!(L[b+740|0]&1)){break W}h=n<<2;X:{Y:{Z:{_:{$:{if(n){g=Qa[N[l+4>>2]](l,h)|0;if(g){break $}e=64;break W}e=0;N[t+52>>2]=0;i=(N[o+8>>2]+C|0)-16|0;y=0;g=0;break _}y=Qa[N[l+4>>2]](l,h)|0;if(!y){break Z}d=N[o+8>>2]+C|0;a=d-8|0;i=d-16|0;C=0;d=g;while(1){e=Yh(o,a,d,4);d=d+4|0;a=a+ha|0;C=C+1|0;if((C|0)!=(n|0)){continue}break}N[t+52>>2]=e}aa:{if(!f){d=0;break aa}a=(T(n,ha)+i|0)+4|0;d=0;ba:{while(1){e=Yh(o,a,y,h);if(!Mb(g,y,h)){break ba}a=a+m|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}d=f}N[t+52>>2]=e}f=((d|0)==(f|0))+f|0;if(!g){break X}break Y}e=64;N[t+52>>2]=64;y=0}Qa[N[l+8>>2]](l,g)}if(!y){break W}Qa[N[l+8>>2]](l,y)}a=j>>>16|0;ca:{if(!(Qa[N[b+516>>2]](b,1735162214,o,0)|0)){break ca}if(!(Qa[N[b+516>>2]](b,1128678962,o,0)|0)){break ca}f=Qa[N[b+516>>2]](b,1128678944,o,0)|0?f:0}da:{if(a>>>0>(f&65535)>>>0){if((c|0)>=0){break da}f=0}N[b+12>>2]=f<<16;N[b+4>>2]=c;N[b>>2]=N[b+140>>2];if(!qa){break a}N[b>>2]=qa;break a}e=6;break a}ea:{d=N[a+20>>2];if(d){if(!(Qa[d|0](a,g,0,0)|0)){break ea}e=85;break a}if(g>>>0<=Q[a+4>>2]){break ea}e=85;break a}N[a+8>>2]=g;N[t+12>>2]=0;u=N[a+28>>2];N[t+40>>2]=0;N[t+44>>2]=0;N[t+32>>2]=0;N[t+36>>2]=0;N[t+24>>2]=0;N[t+28>>2]=0;N[t+20>>2]=0;e=rb(a,177984,t+52|0);if(e){break a}e=8;i=N[t+56>>2];if((i|0)==2001684018){break a}j=N[t+60>>2];if((j|0)!=N[a+4>>2]){break a}f=P[t+64>>1];if(!f|j>>>0<=T(f,20)+48>>>0){break a}n=N[t+80>>2];g=N[t+76>>2];fa:{if(!g){d=N[t+84>>2]|n;n=0;if(!d){break fa}break a}if(!n){break fa}if(!N[t+84>>2]){break a}}if(j-g>>>0>>0|g>>>0>=j>>>0){break a}g=N[t+88>>2];if(g>>>0>=j>>>0){break a}d=N[t+92>>2];if(!(!d|(g|0)!=0)|d>>>0>j-g>>>0){break a}N[t+116>>2]=0;ga:{ha:{ia:{ja:{ka:{la:{ma:{na:{oa:{pa:{qa:{d=f<<5;ma=Qa[N[u+4>>2]](u,d)|0;if(ma){G(ma,0,d);m=f<<2;H=Qa[N[u+4>>2]](u,m)|0;if(H){d=c>>31;l=(d^c)-d&65535;n=0;G(H,0,m);N[t+120>>2]=0;h=f>>>0<=1?1:f;f=0;ra:{sa:{ta:{ua:{va:{while(1){L[t+124|0]=0;o=(n<<5)+ma|0;e=N[a+8>>2];wa:{xa:{j=N[a+20>>2];ya:{if(j){g=t+124|0;if((Qa[j|0](a,e,g,1)|0)!=1){break xa}e=N[a+8>>2];break ya}if(Q[a+4>>2]<=e>>>0){break xa}g=N[a>>2]+e|0}C=O[g|0];y=e+1|0;N[a+8>>2]=y;L[o|0]=C;g=C&63;za:{if((g|0)==63){Aa:{Ba:{Ca:{if(Q[a+4>>2]<=e+4>>>0){break Ca}g=N[a+20>>2];Da:{if(g){e=t+124|0;if((Qa[g|0](a,y,e,4)|0)!=4){break Ca}y=N[a+8>>2];break Da}e=N[a>>2];if(!e){break Ba}e=e+y|0}e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);break Aa}e=85;N[t+120>>2]=85;C=0;N[o+4>>2]=0;break ja}e=0}N[a+8>>2]=y+4;N[o+4>>2]=e;C=O[o|0];break za}e=N[(g<<2)+178048>>2];N[o+4>>2]=e}g=C&255;j=(e|0)!=1819239265&(e|0)!=1735162214?g>>>0<64:g>>>0>63;e=Ql(a,o+8|0);if(e){break ua}e=N[o+8>>2];N[o+12>>2]=e;Ea:{if(!j){e=Ql(a,o+12|0);if(e){break ua}g=N[o+12>>2];if(N[o+4>>2]==1819239265){break Ea}e=g}if((f^-1)>>>0>>0){break va}break wa}e=0;if(!g){break wa}break va}e=85;N[t+120>>2]=85;C=0;L[o|0]=0;break ja}N[o+24>>2]=e;N[o+20>>2]=f;N[o+16>>2]=(C&192)>>>6|(j?0:256);N[(n<<2)+H>>2]=o;f=e+f|0;n=n+1|0;if((h|0)!=(n|0)){continue}break}N[t+120>>2]=0;e=N[(m+H|0)-4>>2];g=N[e+24>>2];e=g+N[e+20>>2]|0;N[t+96>>2]=e;if(e>>>0>>0){break va}N[t+104>>2]=0;M[t+108>>1]=1;if((i|0)!=1953784678){break sa}g=Nb(a,t+120|0);N[t+104>>2]=g;C=0;e=N[t+120>>2];if(e){break ja}if((g|0)==65536|(g|0)==131072){break ta}break ka}e=8}N[t+120>>2]=e;break la}e=ie(a,ra);N[t+120>>2]=e;if(e){break ja}n=P[t+108>>1];if(!n){break ka}f=lb(u,12,0,n,0,t+120|0);N[t+116>>2]=f;e=N[t+120>>2];if(e){break ja}y=0;h=P[t+64>>1];j=0;while(1){o=T(j,12)+f|0;e=ie(a,o+4|0);N[t+120>>2]=e;if(e){break na}g=t+120|0;sa=o,ta=Nb(a,g),N[sa>>2]=ta;e=N[t+120>>2];if(e){break na}C=0;sa=o,ta=lb(u,2,0,P[o+4>>1],0,g),N[sa+8>>2]=ta;e=N[t+120>>2];if(e){d=c;break ma}Fa:{if(!P[o+4>>1]){g=0;i=0;break Fa}i=0;g=0;while(1){e=ie(a,t+124|0);if(e){break oa}m=P[t+124>>1];if(m>>>0>=h>>>0){break pa}M[N[o+8>>2]+(C<<1)>>1]=m;e=N[N[(m<<2)+H>>2]+4>>2];g=(e|0)==1735162214?m:g;i=(e|0)==1819239265?m:i;C=C+1|0;if(C>>>0>1]){continue}break}N[t+120>>2]=0}if((i-g|0)!=1|g>>>0>i>>>0?g|i:0){break pa}j=j+1|0;if((n|0)!=(j|0)){continue}break}break ra}f=0;N[t+116>>2]=0;n=1}e=N[a+8>>2];N[t+100>>2]=e;W=N[t+72>>2];g=(e+W|0)+3|0;j=g&-4;i=N[t+60>>2];if(j>>>0>i>>>0){break pa}e=N[t+76>>2];if(e){if((e|0)!=(j|0)){break pa}j=N[t+80>>2]+(g|3)&-4}e=N[t+88>>2];if(e){if((e|0)!=(j|0)){break pa}j=N[t+92>>2]+(j|3)&-4}if((i+3&-4)!=(j|0)){break pa}qa=n;Ga:{j=d+l|0;if((n|0)>(j|0)){break Ga}j=0;if((c|0)<0){break Ga}e=6;break oa}Ha:{if(!N[t+104>>2]){g=P[t+64>>1];break Ha}y=0;n=T(j,12)+f|0;m=lb(u,4,0,P[n+4>>1],0,t+120|0);e=N[t+120>>2];if(e){break na}f=P[n+4>>1];Ia:{if(!f){break Ia}j=0;if((f|0)!=1){g=f&65534;while(1){N[m+(j<<2)>>2]=N[(P[N[n+8>>2]+(j<<1)>>1]<<2)+H>>2];e=j|1;N[m+(e<<2)>>2]=N[(P[N[n+8>>2]+(e<<1)>>1]<<2)+H>>2];j=j+2|0;if((g|0)!=(j|0)){continue}break}}if(!(f&1)){break Ia}N[m+(j<<2)>>2]=N[(P[N[n+8>>2]+(j<<1)>>1]<<2)+H>>2]}H=lb(u,4,P[t+64>>1],f,H,t+120|0);e=N[t+120>>2];if(e){break na}Ja:{Ka:{La:{g=P[n+4>>1];if(!g){break La}f=0;j=0;if(g>>>0>=4){h=g&65532;while(1){l=j<<2;N[l+H>>2]=N[m+l>>2];e=l|4;N[e+H>>2]=N[e+m>>2];e=l|8;N[e+H>>2]=N[e+m>>2];e=l|12;N[e+H>>2]=N[e+m>>2];j=j+4|0;if((h|0)!=(j|0)){continue}break}}h=g&3;if(!h){break La}while(1){e=j<<2;N[e+H>>2]=N[e+m>>2];j=j+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}break Ka}if(!m){break Ja}}Qa[N[u+8>>2]](u,m);g=P[n+4>>1]}e=N[n>>2];M[t+64>>1]=g;N[t+56>>2]=e}l=g<<4;m=l|12;N[t+16>>2]=m;Ma:{e=N[t+68>>2];if(e>>>0<=m>>>0){break Ma}e=i>>>0>>6>>>0?i<<6:e;m=e>>>0>=67108864?67108864:e;N[t+16>>2]=m;if(m){break Ma}i=0;break qa}i=Qa[N[u+4>>2]](u,m)|0;if(i){break qa}y=0;N[t+20>>2]=0;e=64;N[t+120>>2]=64;break na}e=64;N[t+120>>2]=64;H=0;break la}e=64;N[t+120>>2]=64;y=0;break ga}N[t+20>>2]=i;y=Qa[N[u+4>>2]](u,40)|0;if(!y){e=64;break oa}L[y|0]=0;L[y+1|0]=0;L[y+2|0]=0;L[y+3|0]=0;L[y+4|0]=0;L[y+5|0]=0;L[y+6|0]=0;L[y+7|0]=0;L[y+32|0]=0;L[y+33|0]=0;L[y+34|0]=0;L[y+35|0]=0;L[y+36|0]=0;L[y+37|0]=0;L[y+38|0]=0;L[y+39|0]=0;L[y+24|0]=0;L[y+25|0]=0;L[y+26|0]=0;L[y+27|0]=0;L[y+28|0]=0;L[y+29|0]=0;L[y+30|0]=0;L[y+31|0]=0;L[y+16|0]=0;L[y+17|0]=0;L[y+18|0]=0;L[y+19|0]=0;L[y+20|0]=0;L[y+21|0]=0;L[y+22|0]=0;L[y+23|0]=0;L[y+8|0]=0;L[y+9|0]=0;L[y+10|0]=0;L[y+11|0]=0;L[y+12|0]=0;L[y+13|0]=0;L[y+14|0]=0;L[y+15|0]=0;e=0;N[t+120>>2]=0;f=N[t+56>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);L[i|0]=f;L[i+1|0]=f>>>8;L[i+2|0]=f>>>16;L[i+3|0]=f>>>24;j=g;if(g){while(1){f=e;e=e+1|0;h=j>>>0>1;j=j>>>1|0;if(h){continue}break}L[i+9|0]=f;L[i+5|0]=g;L[i+8|0]=f>>>8;f=16<>>8;e=l-f|0;L[i+11|0]=e;L[i+6|0]=f>>>8;L[i+10|0]=e>>>8;e=g}sa=t,ta=xh(i,12),N[sa+24>>2]=ta;Yc(H,e,4,182);Na:{Oa:{if(g>>>0>=2){e=N[N[H>>2]+4>>2];j=1;while(1){f=e;e=N[N[(j<<2)+H>>2]+4>>2];if((f|0)==(e|0)){break Oa}j=j+1|0;if((j|0)!=(g|0)){continue}break}}ka=N[t+96>>2];if(!ka|m>>>0>>0){break Oa}e=6;if((ka|0)<=0){break Na}C=Qa[N[u+4>>2]](u,ka)|0;e=64;if(!C){break Na}e=Bb(a,W);N[t+120>>2]=e;if(e){d=c;break ma}q=N[a+32>>2];N[t+124>>2]=ka;V=0;k=La-5040|0;La=k;g=N[t+124>>2];aa=k+136|0;e=aa;N[e>>2]=0;N[e+4>>2]=0;N[k+8>>2]=g;N[k+48>>2]=0;N[k+44>>2]=176;N[k+40>>2]=177;N[k+24>>2]=0;N[k+28>>2]=32;N[k+288>>2]=0;N[k+292>>2]=0;N[k+64>>2]=0;N[k+68>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+108>>2]=0;N[k+112>>2]=0;N[k+584>>2]=0;N[k+592>>2]=0;N[k+596>>2]=0;N[k+80>>2]=0;N[k+84>>2]=0;N[k+268>>2]=0;N[k+152>>2]=0;N[k+156>>2]=0;N[k+168>>2]=0;N[k+172>>2]=0;N[k+128>>2]=0;N[k+132>>2]=0;N[k+4>>2]=C;N[k+568>>2]=0;N[k+572>>2]=0;N[k+100>>2]=11;N[k+104>>2]=4;N[k+560>>2]=0;N[k+564>>2]=0;N[k+580>>2]=0;M[k+576>>1]=16;N[k+76>>2]=0;N[k+92>>2]=16;N[k+96>>2]=15;N[k+88>>2]=0;N[k+296>>2]=63;N[k+600>>2]=45248;N[k+604>>2]=168208;N[k+184>>2]=0;N[k+188>>2]=0;N[k+12>>2]=0;Pa:{Qa:{if(!g){break Qa}V=k+4|0;if(C){break Qa}g=-20;break Pa}s=k+168|0;z=k+152|0;Y=k+268|0;la=k+592|0;r=k+24|0;N[k+32>>2]=q;N[k+36>>2]=W;na=k+840|0;Z=k+1184|0;ba=k+640|0;X=k+264|0;ea=k+588|0;ca=k+56|0;Ra:while(1){f=1;Sa:{Ta:while(1){Ua:{switch(f-1|0){case 1:if(N[k+112>>2]){g=Rf(k+16|0,k+8|0,V,k+12|0,1);if((g|0)<0){break Pa}}e=N[k+64>>2];if(e){if(!N[k+36>>2]){N[k+36>>2]=W;N[k+64>>2]=0;N[k+32>>2]=q;continue Ra}if(!W){g=2;break Pa}L[e+ca|0]=O[q|0];f=1;e=N[k+64>>2]+1|0;N[k+36>>2]=e;N[k+64>>2]=e;W=W-1|0;q=q+1|0;continue}g=2;e=N[k+36>>2];if(!e){break Pa}f=N[k+32>>2];i=e&3;j=0;Va:{if(e>>>0<4){e=0;break Va}l=e&-4;e=0;h=0;while(1){L[e+ca|0]=O[f|0];e=N[k+64>>2]+1|0;N[k+64>>2]=e;L[e+ca|0]=O[f+1|0];e=N[k+64>>2]+1|0;N[k+64>>2]=e;L[e+ca|0]=O[f+2|0];e=N[k+64>>2]+1|0;N[k+64>>2]=e;L[e+ca|0]=O[f+3|0];e=N[k+64>>2]+1|0;N[k+64>>2]=e;f=f+4|0;h=h+4|0;if((l|0)!=(h|0)){continue}break}}if(!i){break Pa}while(1){L[e+ca|0]=O[f|0];e=N[k+64>>2]+1|0;N[k+64>>2]=e;f=f+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break};break Pa;default:if(N[k+64>>2]){N[k+64>>2]=0;g=f;break Pa}j=N[k+28>>2];g=32-j|0;e=g>>>3|0;N[k+36>>2]=e+N[k+36>>2];N[k+32>>2]=N[k+32>>2]-e;e=g&-8;N[k+28>>2]=e+j;N[k+24>>2]=(e|0)!=32?N[k+24>>2]<>2]){case 19:e=N[k+20>>2];f=N[(k+(e<<2)|0)+220>>2];break Za;case 2:e=N[k+580>>2];break eb;case 22:f=N[k+220>>2];break rb;case 6:e=N[k+20>>2];break sb;case 12:e=N[k+200>>2];if((e|0)<=0){break bb}j=N[k+32>>2];i=N[k+24>>2];h=N[k+36>>2];f=N[k+28>>2];while(1){if(f-25>>>0<=7){if(!h){f=2;continue Ta}l=i>>>8|0;N[k+24>>2]=l;g=O[j|0];h=h-1|0;N[k+36>>2]=h;j=j+1|0;N[k+32>>2]=j;i=l|g<<24;N[k+24>>2]=i;f=f-8|0}g=e-1|0;N[k+200>>2]=g;f=f+8|0;N[k+28>>2]=f;l=(e|0)>1;e=g;if(l){continue}break};break bb;case 0:break Wa;case 21:break Xa;case 20:break Ya;case 17:break $a;case 4:break cb;case 3:break db;case 1:break fb;case 18:break gb;case 11:break hb;case 26:break jb;case 14:break kb;case 13:case 15:case 16:break lb;case 7:case 8:case 9:case 10:break mb;case 25:break nb;case 24:break pb;case 23:break qb;case 5:break tb;default:continue}}e=N[k+28>>2];ub:{if(e-27>>>0>=6){f=N[k+24>>2];break ub}f=2;h=N[k+36>>2];if(!h){continue}j=N[k+24>>2]>>>8|0;N[k+24>>2]=j;f=N[k+32>>2];g=O[f|0];N[k+36>>2]=h-1;N[k+32>>2]=f+1;f=j|g<<24;N[k+24>>2]=f;e=e-8|0}N[k+28>>2]=e+6;g=f>>>e|0;e=g&3;N[k+256>>2]=e;N[k+260>>2]=(g>>>2&15)<>2]](N[k+48>>2],N[k+220>>2])|0;N[k+596>>2]=e;f=-21;if(!e){continue}N[k+16>>2]=6;N[k+20>>2]=0;e=0}f=N[k+220>>2];if((e|0)<(f|0)){while(1){f=N[k+28>>2];vb:{if(f-31>>>0>=2){g=N[k+24>>2];break vb}l=N[k+36>>2];if(!l){break ib}h=N[k+24>>2]>>>8|0;N[k+24>>2]=h;j=N[k+32>>2];g=O[j|0];N[k+36>>2]=l-1;N[k+32>>2]=j+1;g=h|g<<24;N[k+24>>2]=g;f=f-8|0}N[k+28>>2]=f+2;L[N[k+596>>2]+e|0]=g>>>f&3;e=e+1|0;f=N[k+220>>2];if((e|0)<(f|0)){continue}break}}N[k+16>>2]=22}f=Zl(f<<6,ea,la,k+16|0);if((f|0)!=1){continue}N[k+608>>2]=0;N[k+612>>2]=0;N[k+632>>2]=0;N[k+636>>2]=0;N[k+624>>2]=0;N[k+628>>2]=0;N[k+616>>2]=0;N[k+620>>2]=0;n=N[k+220>>2];if(n){e=0;x=N[k+592>>2];while(1){o=e<<6;i=o|3;l=o|2;h=o|1;m=O[o+x|0];f=0;j=0;while(1){j=m^O[x+(f+h|0)|0]|m^O[x+(f+o|0)|0]|m^O[x+(f+l|0)|0]|m^O[x+(f+i|0)|0]|j;g=f>>>0<60;f=f+4|0;if(g){continue}break}if(!j){g=k+(e>>>3&536870908)|0;N[g+608>>2]=N[g+608>>2]|1<>2]=23}m=N[k+260>>2];h=m+16|0;n=N[k+256>>2];i=n+1|0;wb:{if(!(O[k+576|0]&32)){h=h+(24<>>0>2147483643){break xb}e=0;l=(2147483644-m>>>n|0)+4|0;f=l;while(1){j=e;e=e+1|0;g=f>>>0>3;f=f>>>1|0;if(g){continue}break}e=(l>>>j&1|e<<1)-4|0;g=h;if(!e){break xb}g=(m+(-1<>2]<<2,X,Y,k+16|0);if((f|0)!=1){continue}e=N[k+588>>2];i=Qa[N[k+40>>2]](N[k+48>>2],T(e,2532))|0;M[k+148>>1]=e;N[k+144>>2]=16777472;N[k+136>>2]=i;N[k+140>>2]=i+(e<<2);e=N[k+224>>2];l=Qa[N[k+40>>2]](N[k+48>>2],T(e,4324))|0;M[k+164>>1]=e;N[k+160>>2]=46138048;N[k+152>>2]=l;N[k+156>>2]=l+(e<<2);f=N[k+264>>2];e=f<<2;j=Qa[N[k+40>>2]](N[k+48>>2],T(e,g+377|0))|0;M[k+180>>1]=f;M[k+178>>1]=g;M[k+176>>1]=h;N[k+168>>2]=j;N[k+172>>2]=e+j;g=-22;if(!j|(!i|!l)){break Pa}N[k+16>>2]=24;N[k+20>>2]=0;j=0;e=aa;break ob}g=-31;e=aa;yb:{zb:{j=N[k+20>>2];switch(j|0){case 0:break ob;case 2:break yb;case 1:break zb;default:break Pa}}e=z;break ob}e=s}if(N[k+640>>2]==1){g=N[k+2428>>2]}else{g=N[e+4>>2];N[k+2428>>2]=0;N[k+2432>>2]=g;N[k+640>>2]=1;g=0}if((g|0)>1]){f=N[k+2432>>2];while(1){f=Qf(P[e+8>>1],P[e+10>>1],f,k+5036|0,k+16|0);if((f|0)!=1){continue Ta}g=N[k+2428>>2];N[N[e>>2]+(g<<2)>>2]=N[k+2432>>2];f=N[k+2432>>2]+(N[k+5036>>2]<<2)|0;N[k+2432>>2]=f;g=g+1|0;N[k+2428>>2]=g;if((g|0)>1]){continue}break}j=N[k+20>>2]}N[k+640>>2]=0;f=1;N[k+20>>2]=j+1;if((j|0)<2){continue}N[k+16>>2]=25}g=N[k+236>>2];e=N[k+592>>2]+(g<<6)|0;N[k+128>>2]=e;N[k+192>>2]=N[(k+(g>>>3&536870908)|0)+608>>2]>>>g&1;N[k+272>>2]=N[N[k+136>>2]+(O[e|0]<<2)>>2];e=O[g+N[k+596>>2]|0];N[k+132>>2]=N[k+268>>2];N[k+124>>2]=((e&3)<<9)+169536;N[k+120>>2]=N[N[k+152>>2]>>2];f=-27;if(!Yl(k+16|0)){continue}n=P[k+178>>1];i=N[k+256>>2];l=N[k+260>>2];Ab:{if(!l){f=16;break Ab}f=16;g=0;e=0;if(l>>>0>=4){h=l&-4;while(1){L[f+ba|0]=0;N[Z+(f<<2)>>2]=e|1;j=f|1;L[j+ba|0]=0;N[Z+(j<<2)>>2]=e|2;j=f|2;L[j+ba|0]=0;N[Z+(j<<2)>>2]=e|3;j=f|3;L[j+ba|0]=0;e=e+4|0;N[Z+(j<<2)>>2]=e;f=f+4|0;if((e|0)!=(h|0)){continue}break}}j=l&3;if(!j){break Ab}while(1){L[f+ba|0]=0;e=e+1|0;N[Z+(f<<2)>>2]=e;f=f+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if(f>>>0>>0){g=1;l=l+1|0;j=0;while(1){h=l+((j+2<>2]=e+h;f=f+1|0;e=e+1|0;if(!(e>>>i|0)){continue}break}g=g+j|0;j=j^1;if(f>>>0>>0){continue}break}}N[k+16>>2]=7}m=k+16|0;i=m;g=N[i+4>>2];j=N[i+52>>2];h=2;Bb:{Cb:{Db:{e=N[i+20>>2];if(e>>>0<28){break Db}f=N[i+12>>2];Eb:{if((f|0)!=32){h=N[i+16>>2];n=f-8|0;break Eb}l=N[i+8>>2]>>>8|0;N[i+8>>2]=l;h=N[i+16>>2];f=O[h|0];e=e-1|0;N[i+20>>2]=e;N[i+12>>2]=24;h=h+1|0;N[i+16>>2]=h;N[i+8>>2]=l|f<<24;n=16}if(!(!(h&1)|!e)){l=N[i+8>>2]>>>8|0;N[i+8>>2]=l;f=O[h|0];N[i+20>>2]=e-1;N[i+12>>2]=n;N[i+16>>2]=h+1;N[i+8>>2]=l|f<<24}h=-31;Fb:{Gb:{switch(N[i>>2]-7|0){case 0:e=0;break Fb;case 1:e=1;break Fb;case 2:e=2;break Fb;case 3:break Gb;default:break Cb}}e=3}while(1){Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{switch(e|0){case 0:Nb:{Ob:{l=N[i+20>>2];if(l>>>0<28){break Ob}f=N[i+196>>2];if(f){break Nb}while(1){v=N[i+208>>2];if(v>>>0>=2){l=N[i+168>>2]+2528|0;f=N[i+8>>2];e=N[i+12>>2];if(e>>>0>=16){e=e^16;N[i+12>>2]=e;h=f>>>16|0;N[i+8>>2]=h;n=N[i+16>>2];f=O[n|0]|O[n+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=n+2;f=h|f<<16;N[i+8>>2]=f}o=N[i+172>>2];n=f>>>e|0;h=((n&255)<<2)+l|0;l=O[h|0];if(l>>>0>=9){h=(P[h+2>>1]+(N[(l<<2)+169360>>2]&n>>>8)<<2)+h|0;l=O[h|0];e=e+8|0}x=P[h+2>>1];e=(l&255)+e|0;if(e>>>0>=16){e=e^16;N[i+12>>2]=e;h=f>>>16|0;N[i+8>>2]=h;l=N[i+16>>2];f=O[l|0]|O[l+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=l+2;f=h|f<<16;N[i+8>>2]=f}n=f>>>e|0;h=(o+1584|0)+((n&255)<<2)|0;l=O[h|0];if(l>>>0>=9){h=(P[h+2>>1]+(N[(l<<2)+169360>>2]&n>>>8)<<2)+h|0;l=O[h|0];e=e+8|0}e=e+(l&255)|0;l=P[h+2>>1];h=l<<2;o=P[h+169280>>1];E=O[h+169282|0];Pb:{if((l|0)!=25){if(e>>>0>=16){e=e^16;N[i+12>>2]=e;h=f>>>16|0;N[i+8>>2]=h;l=N[i+16>>2];f=O[l|0]|O[l+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=l+2;f=h|f<<16;N[i+8>>2]=f}N[i+12>>2]=e+E;e=N[(E<<2)+169392>>2]&f>>>e;break Pb}Qb:{Rb:{if(e>>>0<=15){h=f>>>16|0;l=e+16|0;n=f>>>e&65535;R=N[i+20>>2];e=N[i+16>>2];break Rb}F=e^16;N[i+12>>2]=F;f=f>>>16|0;N[i+8>>2]=f;e=N[i+16>>2];h=O[e|0]|O[e+1|0]<<8;R=N[i+20>>2]-2|0;N[i+20>>2]=R;e=e+2|0;N[i+16>>2]=e;f=f|h<<16;N[i+8>>2]=f;n=f>>>F&65535;l=F+16|0;if(F>>>0>4294967279){break Qb}}N[i+8>>2]=h;l=l^16;N[i+12>>2]=l;f=O[e|0]|O[e+1|0]<<8;N[i+20>>2]=R-2;N[i+16>>2]=e+2;f=f<<16|h;N[i+8>>2]=f}e=E-16|0;N[i+12>>2]=e+l;e=(N[(e<<2)+169392>>2]&f>>>l)<<16|n}N[i+196>>2]=e+o;Sb:{Tb:{switch(x|0){case 1:e=N[i+228>>2]+1|0;break Sb;case 0:e=N[i+224>>2];break Sb;default:break Tb}}e=x-2|0}N[i+224>>2]=N[i+228>>2];e=e-(e>>>0>=v>>>0?v:0)|0;N[i+228>>2]=e;N[i+104>>2]=N[N[i+136>>2]+(e<<2)>>2]}l=N[i+20>>2];if(l>>>0<=27){break Ob}f=N[i+196>>2];if(!f){continue}break}break Nb}N[i>>2]=7;h=2;break Db}e=N[i+8>>2];n=N[i+104>>2];g=N[i+12>>2];if(g>>>0>=16){g=g^16;N[i+12>>2]=g;h=e>>>16|0;N[i+8>>2]=h;o=N[i+16>>2];e=O[o|0]|O[o+1|0]<<8;l=l-2|0;N[i+20>>2]=l;N[i+16>>2]=o+2;e=h|e<<16;N[i+8>>2]=e}o=e>>>g|0;n=((o&255)<<2)+n|0;h=O[n|0];if(h>>>0>=9){n=(P[n+2>>1]+(N[(h<<2)+169360>>2]&o>>>8)<<2)+n|0;h=O[n|0];g=g+8|0}h=g+(h&255)|0;N[i+12>>2]=h;n=P[n+2>>1]<<3;g=O[n+171587|0];N[i+180>>2]=g;N[i+268>>2]=L[n+171586|0];L[i+260|0]=O[g+N[i+116>>2]|0];v=P[n+171588>>1];x=P[n+171590>>1];I=O[n+171585|0];o=0;E=O[n+171584|0];Ub:{if(!E){break Ub}if(E>>>0<=16){if(h>>>0>=16){h=h^16;N[i+12>>2]=h;g=e>>>16|0;N[i+8>>2]=g;n=N[i+16>>2];e=O[n|0]|O[n+1|0]<<8;l=l-2|0;N[i+20>>2]=l;N[i+16>>2]=n+2;e=g|e<<16;N[i+8>>2]=e}o=N[(E<<2)+169392>>2]&e>>>h;h=h+E|0;break Ub}Vb:{Wb:{if(h>>>0<=15){o=e>>>16|0;n=h+16|0;w=e>>>h&65535;h=N[i+16>>2];break Wb}F=h^16;N[i+12>>2]=F;e=e>>>16|0;N[i+8>>2]=e;g=N[i+16>>2];o=O[g|0]|O[g+1|0]<<8;l=l-2|0;N[i+20>>2]=l;h=g+2|0;N[i+16>>2]=h;e=e|o<<16;N[i+8>>2]=e;w=e>>>F&65535;n=F+16|0;if(F>>>0>4294967279){break Vb}}N[i+8>>2]=o;n=n^16;N[i+12>>2]=n;e=O[h|0]|O[h+1|0]<<8;l=l-2|0;N[i+20>>2]=l;N[i+16>>2]=h+2;e=e<<16|o;N[i+8>>2]=e}g=E-16|0;o=(N[(g<<2)+169392>>2]&e>>>n)<<16|w;h=g+n|0}Xb:{if(I>>>0<=16){if(h>>>0>=16){h=h^16;N[i+12>>2]=h;g=e>>>16|0;N[i+8>>2]=g;n=N[i+16>>2];e=O[n|0]|O[n+1|0]<<8;N[i+20>>2]=l-2;N[i+16>>2]=n+2;e=g|e<<16;N[i+8>>2]=e}N[i+12>>2]=h+I;e=N[(I<<2)+169392>>2]&e>>>h;break Xb}Yb:{Zb:{if(h>>>0<=15){n=e>>>16|0;g=h+16|0;w=e>>>h&65535;h=N[i+16>>2];break Zb}F=h^16;N[i+12>>2]=F;e=e>>>16|0;N[i+8>>2]=e;g=N[i+16>>2];n=O[g|0]|O[g+1|0]<<8;l=l-2|0;N[i+20>>2]=l;h=g+2|0;N[i+16>>2]=h;e=e|n<<16;N[i+8>>2]=e;w=e>>>F&65535;g=F+16|0;if(F>>>0>4294967279){break Yb}}N[i+8>>2]=n;g=g^16;N[i+12>>2]=g;e=O[h|0]|O[h+1|0]<<8;N[i+20>>2]=l-2;N[i+16>>2]=h+2;e=e<<16|n;N[i+8>>2]=e}h=I-16|0;N[i+12>>2]=h+g;e=(N[(h<<2)+169392>>2]&e>>>g)<<16|w}N[i+196>>2]=f-1;N[i+264>>2]=e+x;g=o+v|0;if(!g){break Lb}N[i+184>>2]=N[i+184>>2]-g;e=1;continue;case 2:break Jb;case 1:break Mb;default:break Kb}}l=N[i+176>>2];_b:while(1){$b:{ac:{if(l){h=N[i+8>>2];l=N[i+12>>2];if(l>>>0>=16){l=l^16;N[i+12>>2]=l;f=h>>>16|0;N[i+8>>2]=f;h=N[i+16>>2];e=O[h|0]|O[h+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=h+2;h=f|e<<16;N[i+8>>2]=h}e=N[i+256>>2]+((h>>>l&255)<<2)|0;f=P[e+2>>1];h=O[e|0];while(1){if(Q[i+20>>2]<=27){N[i>>2]=8;h=2;break Db}bc:{if(N[i+192>>2]){o=N[i+12>>2];e=N[i+256>>2];break bc}Wl(i);h=N[i+8>>2];o=N[i+12>>2];if(o>>>0>=16){o=o^16;N[i+12>>2]=o;f=h>>>16|0;N[i+8>>2]=f;h=N[i+16>>2];e=O[h|0]|O[h+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=h+2;h=f|e<<16;N[i+8>>2]=h}if(!N[i+176>>2]){break $b}e=N[i+256>>2];h=e+((h>>>o&255)<<2)|0;f=P[h+2>>1];h=O[h|0]}x=h&255;cc:{if(x>>>0>=9){l=N[i+8>>2];if(o>>>0>=16){o=o^16;N[i+12>>2]=o;l=l>>>16|0;N[i+8>>2]=l;n=N[i+16>>2];h=O[n|0]|O[n+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=n+2;l=l|h<<16;N[i+8>>2]=l}h=l>>>o|0;f=((((h&255)<<2)+e|0)+((f&65535)<<2)|0)+((N[(x<<2)+169360>>2]&h>>>8)<<2)|0;h=(O[f|0]+o|0)+8|0;N[i+12>>2]=h;f=O[f+2|0];break cc}h=o+x|0;N[i+12>>2]=h;l=N[i+8>>2]}n=f;if(h>>>0>=16){h=h^16;N[i+12>>2]=h;l=l>>>16|0;N[i+8>>2]=l;o=N[i+16>>2];f=O[o|0]|O[o+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=o+2;l=l|f<<16;N[i+8>>2]=l}e=((l>>>h&255)<<2)+e|0;f=P[e+2>>1];h=O[e|0];L[N[i+96>>2]+j|0]=n;N[i+192>>2]=N[i+192>>2]-1;j=j+1|0;if((j|0)==N[i+64>>2]){N[i>>2]=13;g=g-1|0;h=1;break Db}g=g-1|0;if(g){continue}break}break ac}e=N[i+96>>2];f=N[i+68>>2];h=O[e+(f&j-2)|0];f=O[e+(f&j-1)|0];while(1){if(Q[i+20>>2]<=27){N[i>>2]=8;h=2;break Db}if(!N[i+192>>2]){Wl(i);l=N[i+176>>2];if(l){continue _b}}e=N[i+108>>2];n=N[N[i+120>>2]+(O[N[i+112>>2]+(O[(e+(h&255)|0)+256|0]|O[e+(f&255)|0])|0]<<2)>>2];l=N[i+8>>2];h=N[i+12>>2];if(h>>>0>=16){h=h^16;N[i+12>>2]=h;l=l>>>16|0;N[i+8>>2]=l;o=N[i+16>>2];e=O[o|0]|O[o+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=o+2;l=l|e<<16;N[i+8>>2]=l}e=l>>>h|0;l=((e&255)<<2)+n|0;o=O[l|0];if(o>>>0>=9){l=(P[l+2>>1]+(N[(o<<2)+169360>>2]&e>>>8)<<2)+l|0;o=O[l|0];h=h+8|0}N[i+12>>2]=h+(o&255);e=P[l+2>>1];L[N[i+96>>2]+j|0]=e;N[i+192>>2]=N[i+192>>2]-1;j=j+1|0;if((j|0)==N[i+64>>2]){N[i>>2]=13;g=g-1|0;h=1;break Db}h=f;f=e;g=g-1|0;if(g){continue}break}}g=0;if(N[i+184>>2]>0){break Lb}N[i>>2]=14;h=1;break Db}l=0;continue}}e=2;continue}h=N[i+64>>2]-j|0;dc:{ec:{while(1){e=g-1|0;if((g|0)<=0){break ec}g=N[i+96>>2];L[g+j|0]=O[g+(N[i+68>>2]&j-N[i+268>>2])|0];j=j+1|0;g=e;h=h-1|0;if(h){continue}break}N[i>>2]=16;break dc}if(N[i+184>>2]>0){g=e;break Ib}N[i>>2]=14}h=1;g=e;break Db}e=N[i+268>>2];fc:{if((e|0)>=0){n=!e;N[i+180>>2]=n;e=N[i+72>>2]-1|0;N[i+72>>2]=e;e=N[(i+((e&3)<<2)|0)+76>>2];break fc}if(!N[i+200>>2]){x=N[i+212>>2];if(x>>>0>=2){h=N[i+168>>2]+5056|0;g=N[i+8>>2];e=N[i+12>>2];if(e>>>0>=16){e=e^16;N[i+12>>2]=e;f=g>>>16|0;N[i+8>>2]=f;l=N[i+16>>2];g=O[l|0]|O[l+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=l+2;g=f|g<<16;N[i+8>>2]=g}n=N[i+172>>2];l=g>>>e|0;f=((l&255)<<2)+h|0;h=O[f|0];if(h>>>0>=9){f=(P[f+2>>1]+(N[(h<<2)+169360>>2]&l>>>8)<<2)+f|0;h=O[f|0];e=e+8|0}o=P[f+2>>1];e=(h&255)+e|0;if(e>>>0>=16){e=e^16;N[i+12>>2]=e;f=g>>>16|0;N[i+8>>2]=f;h=N[i+16>>2];g=O[h|0]|O[h+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=h+2;g=f|g<<16;N[i+8>>2]=g}l=g>>>e|0;f=(n+3168|0)+((l&255)<<2)|0;h=O[f|0];if(h>>>0>=9){f=(P[f+2>>1]+(N[(h<<2)+169360>>2]&l>>>8)<<2)+f|0;h=O[f|0];e=e+8|0}e=e+(h&255)|0;h=P[f+2>>1];f=h<<2;l=P[f+169280>>1];F=O[f+169282|0];gc:{if((h|0)!=25){if(e>>>0>=16){e=e^16;N[i+12>>2]=e;f=g>>>16|0;N[i+8>>2]=f;h=N[i+16>>2];g=O[h|0]|O[h+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=h+2;g=f|g<<16;N[i+8>>2]=g}N[i+12>>2]=e+F;e=N[(F<<2)+169392>>2]&g>>>e;break gc}hc:{ic:{if(e>>>0<=15){f=g>>>16|0;h=e+16|0;w=g>>>e&65535;n=N[i+20>>2];e=N[i+16>>2];break ic}v=e^16;N[i+12>>2]=v;g=g>>>16|0;N[i+8>>2]=g;e=N[i+16>>2];f=O[e|0]|O[e+1|0]<<8;n=N[i+20>>2]-2|0;N[i+20>>2]=n;e=e+2|0;N[i+16>>2]=e;g=g|f<<16;N[i+8>>2]=g;w=g>>>v&65535;h=v+16|0;if(v>>>0>4294967279){break hc}}N[i+8>>2]=f;h=h^16;N[i+12>>2]=h;g=O[e|0]|O[e+1|0]<<8;N[i+20>>2]=n-2;N[i+16>>2]=e+2;g=g<<16|f;N[i+8>>2]=g}e=F-16|0;N[i+12>>2]=e+h;e=(N[(e<<2)+169392>>2]&g>>>h)<<16|w}N[i+200>>2]=e+l;jc:{kc:{switch(o|0){case 1:e=N[i+236>>2]+1|0;break jc;case 0:e=N[i+232>>2];break jc;default:break kc}}e=o-2|0}N[i+232>>2]=N[i+236>>2];e=e-(e>>>0>=x>>>0?x:0)|0;N[i+236>>2]=e;e=N[i+252>>2]+(e<<2)|0;N[i+116>>2]=e;L[i+260|0]=O[e+N[i+180>>2]|0]}}o=N[N[i+152>>2]+(O[i+260|0]<<2)>>2];e=N[i+8>>2];g=N[i+12>>2];if(g>>>0>=16){g=g^16;N[i+12>>2]=g;f=e>>>16|0;N[i+8>>2]=f;h=N[i+16>>2];e=O[h|0]|O[h+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=h+2;e=f|e<<16;N[i+8>>2]=e}l=e>>>g|0;f=l&255;h=o+(f<<2)|0;n=O[h|0];if(n>>>0>=9){h=(P[(o+(f<<2)|0)+2>>1]+(N[(n<<2)+169360>>2]&l>>>8)<<2)+h|0;n=O[h|0];g=g+8|0}f=i+624|0;n=(n&255)+g|0;N[i+12>>2]=n;v=P[h+2>>1];N[i+180>>2]=0;N[i+200>>2]=N[i+200>>2]-1;lc:{if(v>>>0<=15){if(v>>>0<=3){n=1>>>v|0;N[i+180>>2]=n;g=N[i+72>>2];e=N[(i+((g+(v^-1)&3)<<2)|0)+76>>2];N[i+72>>2]=g-n;break fc}e=v>>>0<10;e=((6312258>>>(v+(e?-4:-10)<<2)&7)+N[(i+((N[i+72>>2]+(e?3:2)&3)<<2)|0)+76>>2]|0)-3|0;e=(e|0)<=0?2147483647:e;break lc}x=O[f+v|0];mc:{if(x>>>0<=16){if(n>>>0>=16){n=n^16;N[i+12>>2]=n;g=e>>>16|0;N[i+8>>2]=g;f=N[i+16>>2];e=O[f|0]|O[f+1|0]<<8;N[i+20>>2]=N[i+20>>2]-2;N[i+16>>2]=f+2;e=g|e<<16;N[i+8>>2]=e}N[i+12>>2]=n+x;e=N[(x<<2)+169392>>2]&e>>>n;break mc}nc:{oc:{if(n>>>0<=15){f=e>>>16|0;l=n+16|0;o=e>>>n&65535;w=N[i+20>>2];n=N[i+16>>2];break oc}h=n^16;N[i+12>>2]=h;e=e>>>16|0;N[i+8>>2]=e;g=N[i+16>>2];f=O[g|0]|O[g+1|0]<<8;w=N[i+20>>2]-2|0;N[i+20>>2]=w;n=g+2|0;N[i+16>>2]=n;e=e|f<<16;N[i+8>>2]=e;o=e>>>h&65535;l=h+16|0;if(h>>>0>4294967279){break nc}}N[i+8>>2]=f;l=l^16;N[i+12>>2]=l;e=O[n|0]|O[n+1|0]<<8;N[i+20>>2]=w-2;N[i+16>>2]=n+2;e=e<<16|f;N[i+8>>2]=e}g=x-16|0;N[i+12>>2]=g+l;e=(N[(g<<2)+169392>>2]&e>>>l)<<16|o}e=N[(i+(v<<2)|0)+1168>>2]+(e<>2])|0}n=0}N[i+268>>2]=e;h=N[i+60>>2];g=N[i+56>>2];if((h|0)!=(g|0)){h=(g|0)>(j|0)?j:g;N[i+60>>2]=h}g=N[i+264>>2];pc:{if((e|0)>(h|0)){f=-16;if((e|0)>2147483644){break Bb}f=-12;if(g-4>>>0>20){break Bb}l=N[i+584>>2];o=N[(l+(g<<2)|0)+32>>2];x=O[g+l|0];N[i+72>>2]=N[i+72>>2]+n;l=N[l+164>>2];f=-19;if(!l){break Bb}e=(h^-1)+e|0;h=e>>x;n=N[i+588>>2];f=-11;if((h|0)>=N[n+12>>2]){break Bb}f=l+(o+T(e&N[(x<<2)+169392>>2],g)|0)|0;e=N[i+96>>2]+j|0;qc:{if((h|0)==M[n+24>>1]){B(e,f,g);e=g;break qc}e=$l(e,f,g,n,h)}N[i+184>>2]=N[i+184>>2]-e;j=e+j|0;if((j|0)>2]){e=j;break pc}N[i>>2]=15;h=1;break Db}n=N[i+96>>2];h=N[i+68>>2];f=N[i+72>>2];N[(i+((f&3)<<2)|0)+76>>2]=e;N[i+72>>2]=f+1;N[i+184>>2]=N[i+184>>2]-g;l=h&j-e;x=l+n|0;f=O[x|0]|O[x+1|0]<<8|(O[x+2|0]<<16|O[x+3|0]<<24);e=O[x+4|0]|O[x+5|0]<<8|(O[x+6|0]<<16|O[x+7|0]<<24);o=j+n|0;n=O[x+12|0]|O[x+13|0]<<8|(O[x+14|0]<<16|O[x+15|0]<<24);h=O[x+8|0]|O[x+9|0]<<8|(O[x+10|0]<<16|O[x+11|0]<<24);L[o+8|0]=h;L[o+9|0]=h>>>8;L[o+10|0]=h>>>16;L[o+11|0]=h>>>24;L[o+12|0]=n;L[o+13|0]=n>>>8;L[o+14|0]=n>>>16;L[o+15|0]=n>>>24;L[o|0]=f;L[o+1|0]=f>>>8;L[o+2|0]=f>>>16;L[o+3|0]=f>>>24;L[o+4|0]=e;L[o+5|0]=e>>>8;L[o+6|0]=e>>>16;L[o+7|0]=e>>>24;e=g+j|0;h=g+l|0;if((l|0)<(e|0)&(h|0)>(j|0)){break Hb}f=N[i+64>>2];if((f|0)<=(e|0)|(f|0)<=(h|0)){break Hb}if((g|0)<17){break pc}h=x+16|0;n=o+16|0;if(g>>>0>=33){B(n,h,g-16|0);break pc}j=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);f=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);l=O[h+12|0]|O[h+13|0]<<8|(O[h+14|0]<<16|O[h+15|0]<<24);h=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);L[n+8|0]=h;L[n+9|0]=h>>>8;L[n+10|0]=h>>>16;L[n+11|0]=h>>>24;L[n+12|0]=l;L[n+13|0]=l>>>8;L[n+14|0]=l>>>16;L[n+15|0]=l>>>24;L[n|0]=j;L[n+1|0]=j>>>8;L[n+2|0]=j>>>16;L[n+3|0]=j>>>24;L[n+4|0]=f;L[n+5|0]=f>>>8;L[n+6|0]=f>>>16;L[n+7|0]=f>>>24}if(N[i+184>>2]>0){j=e;break Ib}N[i>>2]=14;h=1;j=e;break Db}e=0;continue}e=3;continue}}N[i+4>>2]=g;N[i+52>>2]=j}f=h}if((f|0)!=2){continue}U=La-16|0;La=U;J=m+8|0;h=N[m+4>>2];i=N[m+52>>2];g=-31;rc:{sc:{tc:{switch(N[m>>2]-7|0){case 0:f=0;break sc;case 1:f=2;break sc;case 2:f=1;break sc;case 3:break tc;default:break rc}}f=3}while(1){uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{Gc:{switch(f|0){case 0:N[m>>2]=7;if(N[m+196>>2]){break zc}while(1){K=La-16|0;La=K;Hc:{Ic:{R=N[m+208>>2];Jc:{if(R>>>0<2){break Jc}v=N[m+172>>2];F=N[m+168>>2]+2528|0;n=N[m+20>>2];l=N[m+16>>2];_=m+8|0;I=N[_>>2];w=I;Kc:{Lc:{E=N[m+12>>2];f=E;if(f-18>>>0<=14){g=l;e=f;j=n;while(1){if(!j){break Lc}x=w>>>8|0;N[m+8>>2]=x;o=O[g|0];j=j-1|0;N[m+20>>2]=j;f=e-8|0;N[m+12>>2]=f;g=g+1|0;N[m+16>>2]=g;w=x|o<<24;N[m+8>>2]=w;o=e-26|0;e=f;if(o>>>0<15){continue}break}}g=w>>>f|0;j=F+((g&255)<<2)|0;e=O[j|0];if(e>>>0>=9){f=f+8|0;j=(P[j+2>>1]+(N[(e<<2)+169360>>2]&g>>>8&127)<<2)+j|0;e=O[j|0]}N[m+12>>2]=(e&255)+f;N[K+8>>2]=P[j+2>>1];break Kc}if(!Jc(F,_,K+8|0)){break Jc}}Mc:{Nc:{if(!N[m+556>>2]){v=v+1584|0;Oc:{e=N[m+12>>2];Pc:{if(e-18>>>0>=15){w=N[_>>2];break Pc}j=N[m+20>>2];g=e;while(1){if(!j){break Oc}x=N[m+8>>2]>>>8|0;N[m+8>>2]=x;o=N[m+16>>2];f=O[o|0];j=j-1|0;N[m+20>>2]=j;e=g-8|0;N[m+12>>2]=e;N[m+16>>2]=o+1;w=x|f<<24;N[m+8>>2]=w;f=g-26|0;g=e;if(f>>>0<15){continue}break}}f=w>>>e|0;j=v+((f&255)<<2)|0;g=O[j|0];if(g>>>0>=9){j=(P[j+2>>1]+(N[(g<<2)+169360>>2]&f>>>8&127)<<2)+j|0;g=O[j|0];e=e+8|0}N[m+12>>2]=e+(g&255);f=P[j+2>>1];break Nc}if(!Jc(v,_,K+12|0)){break Mc}f=N[K+12>>2];break Nc}f=N[m+188>>2]}g=f<<2;F=P[g+169280>>1];$=O[g+169282|0];e=N[m+12>>2];if($>>>0<=32-e>>>0){w=N[_>>2];break Ic}j=N[m+20>>2];g=e;while(1){if(j){v=N[m+8>>2]>>>8|0;N[m+8>>2]=v;x=N[m+16>>2];o=O[x|0];j=j-1|0;N[m+20>>2]=j;e=g-8|0;N[m+12>>2]=e;N[m+16>>2]=x+1;w=v|o<<24;N[m+8>>2]=w;o=40-g|0;g=e;if(o>>>0<$>>>0){continue}break Ic}break}N[m+188>>2]=f}N[m+20>>2]=n;N[m+16>>2]=l;N[m+8>>2]=I;N[m+556>>2]=0;N[m+12>>2]=E}e=0;break Hc}N[m+556>>2]=0;N[m+12>>2]=e+$;N[m+196>>2]=F+(N[($<<2)+169392>>2]&w>>>e);Qc:{Rc:{Sc:{Tc:{e=N[K+8>>2];switch(e|0){case 1:break Rc;case 0:break Tc;default:break Sc}}e=N[m+224>>2];break Qc}e=e-2|0;break Qc}e=N[m+228>>2]+1|0}N[m+224>>2]=N[m+228>>2];e=e-(e>>>0>=R>>>0?R:0)|0;N[m+228>>2]=e;N[m+104>>2]=N[N[m+136>>2]+(e<<2)>>2];e=1}La=K+16|0;if(e){N[m>>2]=7;if(!N[m+196>>2]){continue}break zc}break};g=2;break uc;case 1:N[m>>2]=9;e=N[m+268>>2];if((e|0)<0){break Fc}N[m+180>>2]=!e;e=N[m+72>>2]-1|0;N[m+72>>2]=e;f=N[(m+((e&3)<<2)|0)+76>>2];break Ec;case 2:break Gc;default:break Dc}}f=N[m+176>>2];Uc:while(1){Vc:{N[m>>2]=8;if(f){f=N[m+192>>2];while(1){Wc:{if(f){break Wc}if(!Vl(m)){g=2;break uc}if(N[m+176>>2]){break Wc}f=0;continue Uc}o=N[m+256>>2];Xc:{Yc:{e=N[m+12>>2];Zc:{if(e-18>>>0>=15){n=N[J>>2];break Zc}f=N[m+20>>2];g=e;while(1){if(!f){break Yc}n=N[m+8>>2]>>>8|0;N[m+8>>2]=n;l=N[m+16>>2];j=O[l|0];f=f-1|0;N[m+20>>2]=f;e=g-8|0;N[m+12>>2]=e;N[m+16>>2]=l+1;n=n|j<<24;N[m+8>>2]=n;j=g-26|0;g=e;if(j>>>0<15){continue}break}}j=n>>>e|0;f=o+((j&255)<<2)|0;g=O[f|0];if(g>>>0>=9){f=(P[f+2>>1]+(N[(g<<2)+169360>>2]&j>>>8&127)<<2)+f|0;g=O[f|0];e=e+8|0}N[m+12>>2]=e+(g&255);e=P[f+2>>1];break Xc}if(!Jc(o,J,U+12|0)){break Cc}e=N[U+12>>2]}L[N[m+96>>2]+i|0]=e;f=N[m+192>>2]-1|0;N[m+192>>2]=f;i=i+1|0;if((i|0)==N[m+64>>2]){N[m>>2]=13;h=h-1|0;g=1;break uc}h=h-1|0;if(h){continue}break}break Vc}g=N[m+96>>2];f=N[m+68>>2];e=O[g+(f&i-2)|0];j=O[g+(f&i-1)|0];g=N[m+192>>2];while(1){if(!g){if(!Vl(m)){g=2;break uc}f=N[m+176>>2];if(f){continue Uc}}g=e&255;e=N[m+108>>2];x=N[N[m+120>>2]+(O[N[m+112>>2]+(O[(g+e|0)+256|0]|O[e+(j&255)|0])|0]<<2)>>2];_c:{$c:{e=N[m+12>>2];ad:{if(e-18>>>0>=15){n=N[J>>2];break ad}f=N[m+20>>2];g=e;while(1){if(!f){break $c}o=N[m+8>>2]>>>8|0;N[m+8>>2]=o;n=N[m+16>>2];l=O[n|0];f=f-1|0;N[m+20>>2]=f;e=g-8|0;N[m+12>>2]=e;N[m+16>>2]=n+1;n=o|l<<24;N[m+8>>2]=n;l=g-26|0;g=e;if(l>>>0<15){continue}break}}l=n>>>e|0;f=x+((l&255)<<2)|0;g=O[f|0];if(g>>>0>=9){f=(P[f+2>>1]+(N[(g<<2)+169360>>2]&l>>>8&127)<<2)+f|0;g=O[f|0];e=e+8|0}N[m+12>>2]=e+(g&255);f=O[f+2|0];break _c}if(!Jc(x,J,U+12|0)){break Cc}f=N[U+12>>2]}L[N[m+96>>2]+i|0]=f;g=N[m+192>>2]-1|0;N[m+192>>2]=g;i=i+1|0;if((i|0)==N[m+64>>2]){N[m>>2]=13;h=h-1|0;g=1;break uc}e=j;j=f;h=h-1|0;if(h){continue}break}}break}if(N[m+184>>2]>0){break yc}N[m>>2]=14;g=1;h=0;break uc}bd:{if(N[m+200>>2]){break bd}K=La-16|0;La=K;cd:{dd:{R=N[m+212>>2];ed:{if(R>>>0<2){break ed}v=N[m+172>>2];F=N[m+168>>2]+5056|0;n=N[m+20>>2];l=N[m+16>>2];_=m+8|0;I=N[_>>2];w=I;fd:{gd:{E=N[m+12>>2];f=E;if(f-18>>>0<=14){g=l;e=f;j=n;while(1){if(!j){break gd}x=w>>>8|0;N[m+8>>2]=x;o=O[g|0];j=j-1|0;N[m+20>>2]=j;f=e-8|0;N[m+12>>2]=f;g=g+1|0;N[m+16>>2]=g;w=x|o<<24;N[m+8>>2]=w;o=e-26|0;e=f;if(o>>>0<15){continue}break}}g=w>>>f|0;j=F+((g&255)<<2)|0;e=O[j|0];if(e>>>0>=9){f=f+8|0;j=(P[j+2>>1]+(N[(e<<2)+169360>>2]&g>>>8&127)<<2)+j|0;e=O[j|0]}N[m+12>>2]=(e&255)+f;N[K+8>>2]=P[j+2>>1];break fd}if(!Jc(F,_,K+8|0)){break ed}}hd:{id:{if(!N[m+556>>2]){v=v+3168|0;jd:{e=N[m+12>>2];kd:{if(e-18>>>0>=15){w=N[_>>2];break kd}j=N[m+20>>2];g=e;while(1){if(!j){break jd}x=N[m+8>>2]>>>8|0;N[m+8>>2]=x;o=N[m+16>>2];f=O[o|0];j=j-1|0;N[m+20>>2]=j;e=g-8|0;N[m+12>>2]=e;N[m+16>>2]=o+1;w=x|f<<24;N[m+8>>2]=w;f=g-26|0;g=e;if(f>>>0<15){continue}break}}f=w>>>e|0;j=v+((f&255)<<2)|0;g=O[j|0];if(g>>>0>=9){j=(P[j+2>>1]+(N[(g<<2)+169360>>2]&f>>>8&127)<<2)+j|0;g=O[j|0];e=e+8|0}N[m+12>>2]=e+(g&255);f=P[j+2>>1];break id}if(!Jc(v,_,K+12|0)){break hd}f=N[K+12>>2];break id}f=N[m+188>>2]}g=f<<2;F=P[g+169280>>1];$=O[g+169282|0];e=N[m+12>>2];if($>>>0<=32-e>>>0){w=N[_>>2];break dd}j=N[m+20>>2];g=e;while(1){if(j){v=N[m+8>>2]>>>8|0;N[m+8>>2]=v;x=N[m+16>>2];o=O[x|0];j=j-1|0;N[m+20>>2]=j;e=g-8|0;N[m+12>>2]=e;N[m+16>>2]=x+1;w=v|o<<24;N[m+8>>2]=w;o=40-g|0;g=e;if(o>>>0<$>>>0){continue}break dd}break}N[m+188>>2]=f}N[m+20>>2]=n;N[m+16>>2]=l;N[m+8>>2]=I;N[m+556>>2]=0;N[m+12>>2]=E}e=0;break cd}N[m+556>>2]=0;N[m+12>>2]=e+$;N[m+200>>2]=F+(N[($<<2)+169392>>2]&w>>>e);ld:{md:{nd:{od:{e=N[K+8>>2];switch(e|0){case 1:break md;case 0:break od;default:break nd}}e=N[m+232>>2];break ld}e=e-2|0;break ld}e=N[m+236>>2]+1|0}N[m+232>>2]=N[m+236>>2];e=e-(e>>>0>=R>>>0?R:0)|0;N[m+236>>2]=e;e=N[m+252>>2]+(e<<2)|0;N[m+116>>2]=e;L[m+260|0]=O[e+N[m+180>>2]|0];e=1}La=K+16|0;if(e){break bd}g=2;break uc}F=m+624|0;x=N[m+20>>2];o=N[m+16>>2];v=N[N[m+152>>2]+(O[m+260|0]<<2)>>2];_=N[m+8>>2];g=_;pd:{qd:{rd:{sd:{td:{ud:{$=N[m+12>>2];f=$;if(f-18>>>0<=14){n=o;j=f;e=x;while(1){if(!e){break ud}l=g>>>8|0;N[m+8>>2]=l;g=O[n|0];e=e-1|0;N[m+20>>2]=e;f=j-8|0;N[m+12>>2]=f;n=n+1|0;N[m+16>>2]=n;g=l|g<<24;N[m+8>>2]=g;l=j-26|0;j=f;if(l>>>0<15){continue}break}}l=g>>>f|0;j=l&255;g=v+(j<<2)|0;e=O[g|0];if(e>>>0>=9){f=f+8|0;g=(P[(v+(j<<2)|0)+2>>1]+(N[(e<<2)+169360>>2]&l>>>8&127)<<2)+g|0;e=O[g|0]}N[m+12>>2]=(e&255)+f;e=P[g+2>>1];break td}if(!Jc(v,J,U+12|0)){break sd}e=N[U+12>>2]}g=0;N[m+180>>2]=0;n=N[m+200>>2];N[m+200>>2]=n-1;v=e;if(e>>>0<=15){if(e>>>0>3){break pd}g=1>>>e|0;N[m+180>>2]=g;f=e^-1;e=N[m+72>>2];f=N[(m+((f+e&3)<<2)|0)+76>>2];N[m+72>>2]=e-g;break Ec}K=O[v+F|0];if(!K){break qd}vd:{if(K>>>0<=24){l=N[m+12>>2];wd:{if(K>>>0<=32-l>>>0){R=N[J>>2];break wd}g=N[m+20>>2];e=l;while(1){if(!g){break vd}F=N[m+8>>2]>>>8|0;N[m+8>>2]=F;j=N[m+16>>2];f=O[j|0];g=g-1|0;N[m+20>>2]=g;l=e-8|0;N[m+12>>2]=l;N[m+16>>2]=j+1;R=F|f<<24;N[m+8>>2]=R;f=40-e|0;e=l;if(f>>>0>>0){continue}break}}N[m+12>>2]=l+K;g=N[(K<<2)+169392>>2]&R>>>l;break qd}w=N[J+8>>2];R=w;I=N[J+12>>2];da=I;E=N[J>>2];g=E;xd:{yd:{F=N[J+4>>2];l=F;if(l-17>>>0<=15){e=l;while(1){if(!da){break yd}f=g>>>8|0;N[J>>2]=f;g=O[R|0];da=da-1|0;N[J+12>>2]=da;l=e-8|0;N[J+4>>2]=l;R=R+1|0;N[J+8>>2]=R;g=f|g<<24;N[J>>2]=g;f=e-25|0;e=l;if(f>>>0<16){continue}break}}e=l+16|0;N[J+4>>2]=e;K=K-16|0;zd:{if(K>>>0<=16-l>>>0){j=g;f=e;break zd}j=g;while(1){if(!da){break yd}n=j>>>8|0;N[J>>2]=n;j=O[R|0];da=da-1|0;N[J+12>>2]=da;f=e-8|0;N[J+4>>2]=f;R=R+1|0;N[J+8>>2]=R;j=n|j<<24;N[J>>2]=j;n=40-e|0;e=f;if(n>>>0>>0){continue}break}}N[J+4>>2]=f+K;N[U+8>>2]=g>>>l&65535|(N[(K<<2)+169392>>2]&j>>>f)<<16;e=1;break xd}N[J+12>>2]=I;N[J+8>>2]=w;N[J>>2]=E;N[J+4>>2]=F;e=0}if(e){break rd}n=N[m+200>>2]+1|0}N[m+20>>2]=x;N[m+16>>2]=o;N[m+8>>2]=_;N[m+200>>2]=n;N[m+12>>2]=$}g=2;break uc}g=N[U+8>>2]}f=N[(m+(v<<2)|0)+1168>>2]+(g<>2])|0;break Ec}e=v>>>0<10;e=((6312258>>>(v+(e?-4:-10)<<2)&7)+N[(m+((N[m+72>>2]+(e?3:10)&3)<<2)|0)+76>>2]|0)-3|0;f=(e|0)<=0?2147483647:e}N[m+268>>2]=f;g=N[m+60>>2];e=N[m+56>>2];if((g|0)!=(e|0)){g=(e|0)>(i|0)?i:e;N[m+60>>2]=g}h=N[m+264>>2];Ad:{if((f|0)>(g|0)){if((f|0)>2147483644){g=-16;break rc}if(h-4>>>0>20){g=-12;break rc}e=N[m+584>>2];l=N[(e+(h<<2)|0)+32>>2];o=O[e+h|0];N[m+72>>2]=N[m+72>>2]+N[m+180>>2];j=N[e+164>>2];if(!j){g=-19;break rc}e=(g^-1)+f|0;f=e>>o;n=N[m+588>>2];if((f|0)>=N[n+12>>2]){g=-11;break rc}g=j+(l+T(e&N[(o<<2)+169392>>2],h)|0)|0;e=N[m+96>>2]+i|0;Bd:{if((f|0)==M[n+24>>1]){B(e,g,h);e=h;break Bd}e=$l(e,g,h,n,f)}N[m+184>>2]=N[m+184>>2]-e;i=e+i|0;if((i|0)>2]){f=i;break Ad}N[m>>2]=15;g=1;break uc}l=N[m+96>>2];g=N[m+68>>2];e=N[m+72>>2];N[(m+((e&3)<<2)|0)+76>>2]=f;N[m+72>>2]=e+1;N[m+184>>2]=N[m+184>>2]-h;j=g&i-f;o=j+l|0;g=O[o|0]|O[o+1|0]<<8|(O[o+2|0]<<16|O[o+3|0]<<24);e=O[o+4|0]|O[o+5|0]<<8|(O[o+6|0]<<16|O[o+7|0]<<24);n=i+l|0;l=O[o+12|0]|O[o+13|0]<<8|(O[o+14|0]<<16|O[o+15|0]<<24);f=O[o+8|0]|O[o+9|0]<<8|(O[o+10|0]<<16|O[o+11|0]<<24);L[n+8|0]=f;L[n+9|0]=f>>>8;L[n+10|0]=f>>>16;L[n+11|0]=f>>>24;L[n+12|0]=l;L[n+13|0]=l>>>8;L[n+14|0]=l>>>16;L[n+15|0]=l>>>24;L[n|0]=g;L[n+1|0]=g>>>8;L[n+2|0]=g>>>16;L[n+3|0]=g>>>24;L[n+4|0]=e;L[n+5|0]=e>>>8;L[n+6|0]=e>>>16;L[n+7|0]=e>>>24;f=i+h|0;g=h+j|0;if((j|0)<(f|0)&(g|0)>(i|0)){break Ac}e=N[m+64>>2];if((e|0)<=(f|0)|(e|0)<=(g|0)){break Ac}if((h|0)<17){break Ad}j=o+16|0;i=n+16|0;if(h>>>0>=33){B(i,j,h-16|0);break Ad}g=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);e=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);l=O[j+12|0]|O[j+13|0]<<8|(O[j+14|0]<<16|O[j+15|0]<<24);j=O[j+8|0]|O[j+9|0]<<8|(O[j+10|0]<<16|O[j+11|0]<<24);L[i+8|0]=j;L[i+9|0]=j>>>8;L[i+10|0]=j>>>16;L[i+11|0]=j>>>24;L[i+12|0]=l;L[i+13|0]=l>>>8;L[i+14|0]=l>>>16;L[i+15|0]=l>>>24;L[i|0]=g;L[i+1|0]=g>>>8;L[i+2|0]=g>>>16;L[i+3|0]=g>>>24;L[i+4|0]=e;L[i+5|0]=e>>>8;L[i+6|0]=e>>>16;L[i+7|0]=e>>>24}if(N[m+184>>2]>0){i=f;break Bc}N[m>>2]=14;g=1;i=f;break uc}g=N[m+64>>2]-i|0;Cd:{Dd:{while(1){e=h-1|0;if((h|0)<=0){break Dd}f=N[m+96>>2];L[f+i|0]=O[f+(N[m+68>>2]&i-N[m+268>>2])|0];i=i+1|0;h=e;g=g-1|0;if(g){continue}break}N[m>>2]=16;break Cd}if(N[m+184>>2]>0){h=e;break Bc}N[m>>2]=14}g=1;h=e;break uc}g=2;break uc}f=0;continue}f=3;continue}x=N[m+20>>2];o=N[m+16>>2];I=N[m+104>>2];E=N[m+8>>2];g=E;e=m;m=e;Ed:{Fd:{F=N[e+12>>2];f=F;if(f-18>>>0<=14){n=o;j=f;l=x;while(1){if(!l){break Fd}v=g>>>8|0;N[m+8>>2]=v;g=O[n|0];l=l-1|0;N[m+20>>2]=l;f=j-8|0;N[m+12>>2]=f;n=n+1|0;N[m+16>>2]=n;g=v|g<<24;N[m+8>>2]=g;v=j-26|0;j=f;if(v>>>0<15){continue}break}}h=g>>>f|0;g=I+((h&255)<<2)|0;j=O[g|0];if(j>>>0>=9){f=f+8|0;g=(P[g+2>>1]+(N[(j<<2)+169360>>2]&h>>>8&127)<<2)+g|0;j=O[g|0]}N[m+12>>2]=(j&255)+f;e=P[g+2>>1];break Ed}if(!Jc(I,J,U+12|0)){break wc}e=N[U+12>>2]}g=e<<3;e=O[g+171587|0];N[m+180>>2]=e;N[m+268>>2]=L[g+171586|0];L[m+260|0]=O[e+N[m+116>>2]|0];h=P[g+171588>>1];v=P[g+171590>>1];w=O[g+171585|0];R=0;I=O[g+171584|0];if(I){e=N[m+12>>2];Gd:{if(I>>>0<=32-e>>>0){n=N[J>>2];break Gd}f=N[m+20>>2];g=e;while(1){if(!f){break xc}n=N[m+8>>2]>>>8|0;N[m+8>>2]=n;l=N[m+16>>2];j=O[l|0];f=f-1|0;N[m+20>>2]=f;e=g-8|0;N[m+12>>2]=e;N[m+16>>2]=l+1;n=n|j<<24;N[m+8>>2]=n;j=40-g|0;g=e;if(j>>>0>>0){continue}break}}N[m+12>>2]=e+I;R=N[(I<<2)+169392>>2]&n>>>e}if(w){e=N[m+12>>2];Hd:{if(w>>>0<=32-e>>>0){n=N[J>>2];break Hd}f=N[m+20>>2];g=e;while(1){if(!f){break xc}n=N[m+8>>2]>>>8|0;N[m+8>>2]=n;l=N[m+16>>2];j=O[l|0];f=f-1|0;N[m+20>>2]=f;e=g-8|0;N[m+12>>2]=e;N[m+16>>2]=l+1;n=n|j<<24;N[m+8>>2]=n;j=40-g|0;g=e;if(j>>>0>>0){continue}break}}N[m+12>>2]=e+w;e=N[(w<<2)+169392>>2]&n>>>e}else{e=0}N[m+264>>2]=e+v;N[m+196>>2]=N[m+196>>2]-1;h=h+R|0;if(h){break vc}}h=0;f=1;continue}N[m+16>>2]=o;N[m+8>>2]=E;N[m+20>>2]=x;N[m+12>>2]=F}g=2;break uc}N[m+184>>2]=N[m+184>>2]-h;f=2;continue}break}N[m+4>>2]=h;N[m+52>>2]=i}La=U+16|0;f=g;continue}f=Rf(k+16|0,k+8|0,V,k+12|0,0);if((f|0)!=1){continue}if(O[k+576|0]&8){B(N[k+112>>2],N[k+116>>2],N[k+68>>2]);M[k+576>>1]=P[k+576>>1]&65527}if(N[k+80>>2]==1<>2]){N[k+76>>2]=N[k+72>>2]}Id:{switch(N[k+16>>2]-15|0){case 0:if(!N[k+200>>2]){break bb}N[k+16>>2]=7;continue Ra;case 1:N[k+16>>2]=10;continue Ra;default:break Id}}if(!N[k+20>>2]){if(!N[k+200>>2]){break bb}N[k+16>>2]=9;continue Ra}N[k+16>>2]=8;continue Ra}f=-10;if(N[k+200>>2]<0){continue}Qa[N[k+44>>2]](N[k+48>>2],N[k+596>>2]);N[k+596>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+592>>2]);N[k+592>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+268>>2]);N[k+268>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+136>>2]);N[k+136>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+152>>2]);N[k+152>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+168>>2]);N[k+168>>2]=0;if(!(L[k+576|0]&1)){N[k+16>>2]=3;continue Ra}e=N[k+28>>2];g=0-e&7;Jd:{if(!g){j=e;break Jd}j=e+g|0;N[k+28>>2]=j;f=-15;if(N[(g<<2)+169392>>2]&N[k+24>>2]>>>e){continue}}if(!N[k+64>>2]){g=32-j|0;e=g>>>3|0;W=e+N[k+36>>2]|0;N[k+36>>2]=W;q=N[k+32>>2]-e|0;N[k+32>>2]=q;e=g&-8;N[k+28>>2]=e+j;N[k+24>>2]=(e|0)!=32?N[k+24>>2]<>2]=26}if(!N[k+112>>2]){g=1;break Pa}g=1;f=Rf(k+16|0,k+8|0,V,k+12|0,1);if((f|0)!=1){continue}break Pa}N[k+20>>2]=e;f=2;continue}m=k+16|0;if(Yl(m)){i=k+8|0;l=k+12|0;e=N[m+548>>2];Kd:{while(1){Ld:{Md:{switch(e|0){case 0:n=N[m+52>>2];f=n+N[m+96>>2]|0;j=N[m+64>>2];e=N[m+20>>2];h=N[m+12>>2];g=e>>>0>1073741824?1073741824:e+(32-h>>>3|0)|0;e=N[m+184>>2];e=(e|0)>(g|0)?g:e;g=(j|0)<(e+n|0)?j-n|0:e;Nd:{if(!g){e=g;break Nd}e=g;if(h-33>>>0>4294967287){break Nd}while(1){L[f|0]=N[m+8>>2]>>>h;j=N[m+12>>2];h=j+8|0;N[m+12>>2]=h;e=e-1|0;f=f+1|0;if(j-25>>>0>4294967287){break Nd}if(e){continue}break}}B(f,N[m+16>>2],e);N[m+20>>2]=N[m+20>>2]-e;N[m+16>>2]=N[m+16>>2]+e;f=g+N[m+52>>2]|0;N[m+52>>2]=f;e=N[m+184>>2];N[m+184>>2]=e-g;if((f|0)<1<>2]){break Ld}N[m+548>>2]=1;break;case 1:break Md;default:continue}}e=Rf(m,i,V,l,0);if((e|0)!=1){break Kd}if(N[m+64>>2]==1<>2]){N[m+60>>2]=N[m+56>>2]}e=0;N[m+548>>2]=0;continue}break}e=(e|0)==(g|0)?1:2}}else{e=-26}f=e;if((e|0)!=1){continue}break bb}f=N[k+20>>2];if((f|0)<3){break _a}N[k+16>>2]=5;continue Ra}e=N[k+28>>2];Od:{if(e-27>>>0>=6){f=N[k+24>>2];break Od}f=2;h=N[k+36>>2];if(!h){continue}j=N[k+24>>2]>>>8|0;N[k+24>>2]=j;f=N[k+32>>2];g=O[f|0];N[k+36>>2]=h-1;N[k+32>>2]=f+1;f=j|g<<24;N[k+24>>2]=f;e=e-8|0}N[k+28>>2]=e+6;e=f>>>e&63;N[k+580>>2]=e;f=-13;if(e-31>>>0<4294967275){continue}N[k+16>>2]=2}N[k+72>>2]=(1<>2]](N[k+48>>2],12336)|0;N[k+184>>2]=e;f=-30;if(!e){continue}N[k+188>>2]=e+7584}N[k+592>>2]=0;N[k+596>>2]=0;N[k+248>>2]=1;N[k+252>>2]=0;N[k+240>>2]=1;N[k+244>>2]=0;N[k+232>>2]=1;N[k+236>>2]=0;N[k+224>>2]=1;N[k+228>>2]=1;N[k+216>>2]=16777216;N[k+220>>2]=1;N[k+208>>2]=16777216;N[k+212>>2]=16777216;N[k+200>>2]=0;N[k+152>>2]=0;N[k+156>>2]=0;N[k+168>>2]=0;N[k+172>>2]=0;N[k+140>>2]=0;N[k+132>>2]=0;N[k+136>>2]=0;N[k+124>>2]=0;N[k+128>>2]=0;L[Y+8|0]=0;N[Y>>2]=0;N[Y+4>>2]=0;N[k+16>>2]=4}e=N[k+560>>2];j=-31;Pd:{Qd:{Rd:{Sd:{Td:{Ud:{Vd:{Wd:{Xd:{Yd:{Zd:{_d:{$d:{ae:{while(1){be:{ce:{switch(e|0){case 2:e=N[r+4>>2];break be;case 0:e=N[r+4>>2];de:{if((e|0)!=32){f=N[r>>2];break de}h=N[r+12>>2];if(!h){break Rd}f=N[r>>2]>>>8|0;N[r>>2]=f;e=N[r+8>>2];g=O[e|0];N[r+12>>2]=h-1;N[r+8>>2]=e+1;e=24;f=f|g<<24;N[r>>2]=f}N[r+4>>2]=e+1;N[k+200>>2]=0;e=1<>1]=P[k+576>>1]&65528|(e|0)!=0;if(!e){e=2;N[k+560>>2]=2;continue}N[k+560>>2]=1;break;case 7:break Vd;case 6:break Xd;case 5:break Yd;case 4:break _d;case 3:break ae;case 1:break ce;default:break Qd}}f=N[r+4>>2];ee:{if((f|0)!=32){h=N[r>>2];break ee}f=N[r+12>>2];if(!f){break Rd}h=N[r>>2]>>>8|0;N[r>>2]=h;g=N[r+8>>2];e=O[g|0];N[r+12>>2]=f-1;N[r+8>>2]=g+1;f=24;h=h|e<<24;N[r>>2]=h}e=f+1|0;N[r+4>>2]=e;if(h>>>f&1){N[k+560>>2]=0;f=1;break Pd}N[k+560>>2]=2}fe:{if(e-31>>>0>=2){f=N[r>>2];break fe}l=N[r+12>>2];if(!l){break Rd}h=N[r>>2]>>>8|0;N[r>>2]=h;f=N[r+8>>2];g=O[f|0];N[r+12>>2]=l-1;N[r+8>>2]=f+1;f=h|g<<24;N[r>>2]=f;e=e-8|0}N[r+4>>2]=e+2;N[k+20>>2]=0;g=f>>>e&3;e=P[k+576>>1]&-16321|g<<6|256;M[k+576>>1]=e;if((g|0)==3){M[k+576>>1]=e|4;e=5;N[k+560>>2]=5;continue}break}N[k+560>>2]=3;g=0;break $d}e=P[k+576>>1];g=N[k+20>>2]}if((g|0)<(e>>>6&255)){f=N[r+4>>2];while(1){j=g;ge:{if(f-29>>>0>=4){g=N[r>>2];e=f;break ge}l=N[r+12>>2];if(!l){break Td}h=N[r>>2]>>>8|0;N[r>>2]=h;g=N[r+8>>2];e=O[g|0];N[r+12>>2]=l-1;N[r+8>>2]=g+1;g=h|e<<24;N[r>>2]=g;e=f-8|0}f=e+4|0;N[r+4>>2]=f;l=g>>>e&15;g=j+1|0;e=P[k+576>>1];h=e>>>6&255;if(!(l|((g|0)!=(h|0)|h>>>0<5))){f=-1;break Pd}N[k+200>>2]=N[k+200>>2]|l<<(j<<2);if((g|0)<(h|0)){continue}break}}N[k+560>>2]=4;break Zd}e=P[k+576>>1]}if(!(e&1)){e=N[r+4>>2];he:{if((e|0)!=32){g=N[r>>2];break he}j=N[r+12>>2];if(!j){break Rd}f=N[r>>2]>>>8|0;N[r>>2]=f;e=N[r+8>>2];g=O[e|0];N[r+12>>2]=j-1;N[r+8>>2]=e+1;e=24;g=f|g<<24;N[r>>2]=g}N[r+4>>2]=e+1;M[k+576>>1]=P[k+576>>1]&65533|(g>>>e&1)<<1}N[k+560>>2]=0;N[k+200>>2]=N[k+200>>2]+1;f=1;break Pd}g=N[r+4>>2];ie:{if((g|0)!=32){f=N[r>>2];break ie}j=N[r+12>>2];if(!j){break Rd}f=N[r>>2]>>>8|0;N[r>>2]=f;g=N[r+8>>2];e=O[g|0];N[r+12>>2]=j-1;N[r+8>>2]=g+1;g=24;f=f|e<<24;N[r>>2]=f}e=g+1|0;N[r+4>>2]=e;j=-2;if(f>>>g&1){break Qd}N[k+560>>2]=6;break Wd}e=N[r+4>>2]}j=2;je:{if(e-31>>>0>=2){g=N[r>>2];break je}h=N[r+12>>2];if(!h){break Qd}j=N[r>>2]>>>8|0;N[r>>2]=j;f=N[r+8>>2];g=O[f|0];N[r+12>>2]=h-1;N[r+8>>2]=f+1;g=j|g<<24;N[r>>2]=g;e=e-8|0}N[r+4>>2]=e+2;e=g>>>e&3;if(!e){N[k+560>>2]=0;f=1;break Pd}N[k+560>>2]=7;g=P[k+576>>1]&-16321|e<<6;M[k+576>>1]=g;break Ud}g=P[k+576>>1]}e=N[k+20>>2];ke:{if((e|0)>=(g>>>6&255)){f=N[k+200>>2];break ke}g=N[r+4>>2];while(1){f=e;le:{if(g-25>>>0>=8){h=N[r>>2];e=g;break le}l=N[r+12>>2];if(!l){break Sd}h=N[r>>2]>>>8|0;N[r>>2]=h;j=N[r+8>>2];e=O[j|0];N[r+12>>2]=l-1;N[r+8>>2]=j+1;h=h|e<<24;N[r>>2]=h;e=g-8|0}g=e+8|0;N[r+4>>2]=g;h=h>>>e&255;e=f+1|0;j=P[k+576>>1]>>>6&255;if(!(h|((e|0)!=(j|0)|j>>>0<2))){f=-3;break Pd}f=N[k+200>>2]|h<<(f<<3);N[k+200>>2]=f;if((e|0)<(j|0)){continue}break}}N[k+560>>2]=0;N[k+200>>2]=f+1;f=1;break Pd}N[k+20>>2]=j;break Rd}N[k+20>>2]=f}j=2}f=j}if((f|0)!=1){continue}me:{e=P[k+576>>1];if(!(e&6)){break me}j=N[k+28>>2];g=0-j&7;if(g){N[k+28>>2]=g+j;f=-14;if(N[(g<<2)+169392>>2]&N[k+24>>2]>>>j){continue}}if(!(e&4)){break me}N[k+16>>2]=12;continue Ra}if(N[k+200>>2]){break ab}}N[k+16>>2]=14;continue Ra}e=1<>2];j=N[k+80>>2];ne:{if((e|0)==(j|0)){break ne}f=P[k+576>>1];if(f&4){break ne}g=N[k+112>>2]?N[k+68>>2]:0;oe:{if(!(f&16)){g=e;break oe}f=j?j:1024;g=g+N[k+200>>2]|0;f=(f|0)>(g|0)?f:g;while(1){g=e;e=e>>1;if((f|0)<=(e|0)){continue}break}}N[k+584>>2]=g}if(!(O[k+576|0]&2)){break $a}N[k+16>>2]=11;continue Ra}N[k+804>>2]=na;N[k+16>>2]=18;N[k+20>>2]=0;N[k+648>>2]=0;N[k+652>>2]=0;N[k+640>>2]=0;N[k+644>>2]=0;f=0}f=Xl(k+16|0,r,(k+(f<<2)|0)+220|0);if((f|0)!=1){continue}g=k+220|0;e=g+(N[k+20>>2]<<2)|0;N[e>>2]=N[e>>2]+1;e=N[k+20>>2];f=N[g+(e<<2)>>2];if(f>>>0<=1){f=1;N[k+20>>2]=e+1;continue}N[k+16>>2]=19}g=f+2|0;f=Qf(g,g,N[k+184>>2]+T(e,2528)|0,0,k+16|0);if((f|0)!=1){continue}N[k+16>>2]=20}f=Qf(26,26,N[k+188>>2]+T(N[k+20>>2],1584)|0,0,k+16|0);if((f|0)!=1){continue}N[k+16>>2]=21}m=N[k+20>>2];pe:{if(!N[k+572>>2]){i=N[k+188>>2]+T(m,1584)|0;qe:{j=N[k+28>>2];re:{if(j-18>>>0>=15){h=N[k+24>>2];break re}e=N[k+32>>2];h=N[k+24>>2];f=N[k+36>>2];g=j;while(1){if(!f){break qe}l=h>>>8|0;N[k+24>>2]=l;h=O[e|0];f=f-1|0;N[k+36>>2]=f;j=g-8|0;N[k+28>>2]=j;e=e+1|0;N[k+32>>2]=e;h=l|h<<24;N[k+24>>2]=h;l=g-26|0;g=j;if(l>>>0<15){continue}break}}e=k;h=h>>>j|0;f=i+((h&255)<<2)|0;g=O[f|0];if(g>>>0>=9){j=j+8|0;f=(P[f+2>>1]+(N[(g<<2)+169360>>2]&h>>>8&127)<<2)+f|0;g=O[f|0]}N[e+28>>2]=(g&255)+j;l=P[f+2>>1];break pe}if(!Jc(i,r,k+5036|0)){f=2;continue}l=N[k+5036>>2];break pe}l=N[k+204>>2]}e=l<<2;n=P[e+169280>>1];se:{o=O[e+169282|0];j=N[k+28>>2];te:{if(o>>>0<=32-j>>>0){h=N[k+24>>2];break te}e=N[k+32>>2];h=N[k+24>>2];f=N[k+36>>2];g=j;while(1){if(!f){break se}i=h>>>8|0;N[k+24>>2]=i;h=O[e|0];f=f-1|0;N[k+36>>2]=f;j=g-8|0;N[k+28>>2]=j;e=e+1|0;N[k+32>>2]=e;h=i|h<<24;N[k+24>>2]=h;i=40-g|0;g=j;if(i>>>0>>0){continue}break}}N[k+28>>2]=j+o;N[(k+(m<<2)|0)+208>>2]=n+(N[(o<<2)+169392>>2]&h>>>j);N[k+572>>2]=0;N[k+16>>2]=18;f=1;N[k+20>>2]=N[k+20>>2]+1;continue}N[k+572>>2]=1;N[k+204>>2]=l;f=2;continue}e=N[k+28>>2];ue:{if((e|0)!=32){f=N[k+32>>2];j=e-8|0;break ue}f=2;e=N[k+36>>2];if(!e){continue}j=N[k+24>>2]>>>8|0;N[k+24>>2]=j;f=N[k+32>>2];g=O[f|0];N[k+36>>2]=e-1;e=24;N[k+28>>2]=24;f=f+1|0;N[k+32>>2]=f;N[k+24>>2]=j|g<<24;j=16}ve:{if(!(f&1)){g=N[k+24>>2];break ve}g=N[k+24>>2];h=N[k+36>>2];if(!h){break ve}g=g>>>8|0;N[k+24>>2]=g;e=O[f|0];N[k+36>>2]=h-1;N[k+32>>2]=f+1;g=g|e<<24;N[k+24>>2]=g;e=j}f=e+1|0;N[k+28>>2]=f;l=P[k+576>>1];M[k+576>>1]=l&65503;if(!(g>>>e&1)){f=16;break Sa}j=e+4|0;N[k+28>>2]=j;f=g>>>f&7;if(f){f=f+17|0;break Sa}h=e+7|0;N[k+28>>2]=h;f=17;we:{xe:{j=g>>>j&7;switch(j|0){case 0:break Sa;case 1:break xe;default:break we}}f=-13;if(!(l&32)){continue}N[k+28>>2]=e+8;if(g>>>h&1){continue}f=1;N[k+16>>2]=1;M[k+576>>1]=l|32;continue}break}f=j|8}N[k+16>>2]=2;N[k+580>>2]=f;continue}}N[k+108>>2]=g;N[t+124>>2]=N[k+12>>2];Qa[N[k+44>>2]](N[k+48>>2],N[k+596>>2]);N[k+596>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+592>>2]);N[k+592>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+268>>2]);N[k+268>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+136>>2]);N[k+136>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+152>>2]);N[k+152>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+168>>2]);N[k+168>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+112>>2]);N[k+112>>2]=0;Qa[N[k+44>>2]](N[k+48>>2],N[k+184>>2]);La=k+5040|0;g=((g-1>>>0<3?g:0)|0)==1&N[t+124>>2]==(ka|0);e=g?0:8;N[t+120>>2]=e;if(N[a+20>>2]){j=N[a>>2];if(j){f=N[a+28>>2];Qa[N[f+8>>2]](f,j)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;if(!g){d=c;break ma}fa=t+16|0;g=0;l=0;aa=0;la=0;s=La-48|0;La=s;e=N[t+20>>2];N[s+16>>2]=e;Z=P[t+64>>1];n=Z<<4|12;N[s+12>>2]=n;N[s+4>>2]=0;S=t+24|0;na=N[S>>2];ye:{ze:{if(Z){Ae:{while(1){i=N[(g<<2)+H>>2];if(N[i+4>>2]==1735162214){break Ae}g=g+1|0;if((Z|0)!=(g|0)){continue}break}i=0}N[S+12>>2]=i;ja=S+12|0;g=0;Be:{while(1){f=N[(g<<2)+H>>2];if(N[f+4>>2]!=1819239265){g=g+1|0;if((Z|0)!=(g|0)){continue}break Be}break}N[S+16>>2]=f;F=8;if(!i|(N[f+16>>2]^N[i+16>>2])&256){break ye}x=S+16|0;break ze}N[S+16>>2]=0;F=8;if(i){break ye}x=S+16|0;break ze}N[S+12>>2]=0;N[S+16>>2]=0;ja=S+12|0;x=S+16|0}Ce:{De:{Ee:{Fe:{A=Qa[N[u+4>>2]](u,16)|0;if(A){L[A|0]=0;L[A+1|0]=0;L[A+2|0]=0;L[A+3|0]=0;L[A+4|0]=0;L[A+5|0]=0;L[A+6|0]=0;L[A+7|0]=0;L[A+8|0]=0;L[A+9|0]=0;L[A+10|0]=0;L[A+11|0]=0;L[A+12|0]=0;L[A+13|0]=0;L[A+14|0]=0;L[A+15|0]=0;p=Qa[N[u+4>>2]](u,40)|0;if(p){break Fe}p=0;F=64;break Ee}N[t+20>>2]=e;F=64;break ye}L[p+20|0]=0;L[p+21|0]=0;L[p+22|0]=0;L[p+23|0]=0;L[p+24|0]=0;L[p+25|0]=0;L[p+26|0]=0;L[p+27|0]=0;L[p+12|0]=0;L[p+13|0]=0;L[p+14|0]=0;L[p+15|0]=0;L[p+16|0]=0;L[p+17|0]=0;L[p+18|0]=0;L[p+19|0]=0;N[p+8>>2]=0;N[p+4>>2]=ka;N[p>>2]=C;L[p+36|0]=0;L[p+37|0]=0;L[p+38|0]=0;L[p+39|0]=0;L[p+28|0]=0;L[p+29|0]=0;L[p+30|0]=0;L[p+31|0]=0;L[p+32|0]=0;L[p+33|0]=0;L[p+34|0]=0;L[p+35|0]=0;N[p+20>>2]=0;Ge:{He:{if(!Z){break He}_=C+8|0;R=12;while(1){f=N[(la<<2)+H>>2];g=N[f+28>>2];i=N[f+24>>2];r=N[f+20>>2];h=N[f+16>>2];da=N[f+8>>2];W=N[f+4>>2];Ie:{f=N[p+20>>2];if(f){if(!(Qa[f|0](p,r,0,0)|0)){break Ie}F=85;break Ee}if(r>>>0<=Q[p+4>>2]){break Ie}F=85;break Ee}N[p+8>>2]=r;F=8;if(i+r>>>0>ka>>>0){break Ee}Je:{Ke:{Le:{if((W|0)==1751672161){g=r+34|0;f=N[p+20>>2];Me:{if(f){if(Qa[f|0](p,g,0,0)|0){break Ee}o=N[p+4>>2];break Me}o=N[p+4>>2];if(o>>>0>>0){break Ee}}N[p+8>>2]=g;if(r+35>>>0>=o>>>0){break Ee}Ne:{Oe:{j=N[p+20>>2];Pe:{if(j){f=s+44|0;if((Qa[j|0](p,g,f,2)|0)!=2){break Ee}g=N[p+8>>2];break Pe}f=N[p>>2];if(!f){break Oe}f=f+g|0}f=O[f|0]|O[f+1|0]<<8;aa=f<<8|f>>>8;break Ne}aa=0}N[p+8>>2]=g+2;M[S+6>>1]=aa;if(h&256){break Ee}break Le}M[S+6>>1]=aa;N[s+8>>2]=0;if(h&256){break Ke}if((W|0)!=1751474532){break Le}if(i>>>0<12){break Ge}g=r+_|0;L[g|0]=0;L[g+1|0]=0;L[g+2|0]=0;L[g+3|0]=0}h=r+C|0;m=0;g=0;o=0;j=i&-4;if(j){while(1){o=(O[h+(g|3)|0]|(O[h+(g|1)|0]<<16|O[g+h|0]<<24|O[h+(g|2)|0]<<8))+o|0;g=g+4|0;if(j>>>0>g>>>0){continue}break}}if((i|0)!=(j|0)){while(1){m=O[h+j|0]<<((j^-1)<<3)|m;j=j+1|0;if(i>>>0>j>>>0){continue}break}o=m+o|0}N[s+8>>2]=o;j=i+n|0;if(j>>>0>31457280){break Ge}f=N[fa>>2];if(f>>>0>>0){if((f|j)<0){break Ge}Qe:{if(!f){e=Qa[N[u+4>>2]](u,j)|0;g=!e<<6;break Qe}g=Qa[N[u+12>>2]](u,f,j,e)|0;e=g?g:e;g=!g<<6}Re:{if(!(g|(f|0)>=(j|0)|!e)){G(e+f|0,0,j-f|0);break Re}if(g){break Ge}}N[fa>>2]=j}B(e+n|0,h,i);N[s+16>>2]=e;N[s+12>>2]=j;break Je}Se:{Te:{Ue:{Ve:{We:{Xe:{Ye:{Ze:{_e:{$e:{af:{bf:{cf:{df:{ef:{if((W|0)!=1819239265){if((W|0)==1752003704){break ef}if((W|0)!=1735162214){break Ge}N[s+40>>2]=e;N[s+36>>2]=n;D=Qa[N[u+4>>2]](u,84)|0;if(!D){break df}G(D,0,84);f=N[p+8>>2]+4|0;g=N[p+20>>2];ff:{if(g){if(Qa[g|0](p,f,0,0)|0){break ff}break cf}if(f>>>0<=Q[p+4>>2]){break cf}}N[s+44>>2]=85;break bf}N[s+8>>2]=N[s+4>>2];n=g;break Je}g=aa;if(!l){q=0;r=La-16|0;La=r;gf:{while(1){o=N[(q<<2)+H>>2];if(N[o+4>>2]==1835104368){break gf}q=q+1|0;if((Z|0)!=(q|0)){continue}break}o=0}q=0;hf:{jf:{while(1){f=N[(q<<2)+H>>2];if(N[f+4>>2]==1751474532){break jf}q=q+1|0;if((Z|0)!=(q|0)){continue}break}q=8;break hf}q=8;if(!o|!N[S+16>>2]){break hf}g=N[o+20>>2];e=N[p+20>>2];kf:{lf:{if(e){q=85;if(Qa[e|0](p,g,0,0)|0){break hf}N[p+8>>2]=g;i=p+8|0;h=g+8|0;e=N[p+20>>2];if(!e){break lf}if(Qa[e|0](p,h,0,0)|0){break hf}o=N[p+4>>2];break kf}q=85;if(g>>>0>Q[p+4>>2]){break hf}N[p+8>>2]=g;i=p+8|0;h=g+8|0}o=N[p+4>>2];if(h>>>0>o>>>0){break hf}}N[p+8>>2]=h;mf:{if(g+9>>>0>=o>>>0){break mf}nf:{of:{g=N[p+20>>2];pf:{if(g){e=r+14|0;if((Qa[g|0](p,h,e,2)|0)!=2){break mf}h=N[i>>2];break pf}e=N[p>>2];if(!e){break of}e=e+h|0}e=O[e|0]|O[e+1|0]<<8;e=e<<8|e>>>8;break nf}e=0}N[p+8>>2]=h+2;M[S+4>>1]=e;f=N[f+20>>2];g=N[p+20>>2];qf:{rf:{if(g){if(Qa[g|0](p,f,0,0)|0){break hf}N[p+8>>2]=f;f=f+50|0;g=N[p+20>>2];if(!g){break rf}if(!(Qa[g|0](p,f,0,0)|0)){break qf}break hf}if(f>>>0>Q[p+4>>2]){break hf}N[i>>2]=f;f=f+50|0}if(f>>>0>Q[p+4>>2]){break hf}}N[p+8>>2]=f;N[r+8>>2]=0;g=r+8|0;j=xb(p,g);q=N[r+8>>2];if(q){break hf}m=e&65535;sa=S,ta=lb(u,2,0,m,0,g),N[sa+8>>2]=ta;q=N[r+8>>2];if(q){break hf}if(!m){q=0;break hf}g=j?4:2;f=N[N[S+16>>2]+20>>2];h=0;if(!j){while(1){e=N[p+20>>2];sf:{if(e){if(!(Qa[e|0](p,f,0,0)|0)){break sf}break mf}if(Q[p+4>>2]>>0){break mf}}N[p+8>>2]=f;N[r+8>>2]=0;e=xb(p,r+8|0);q=N[r+8>>2];if(q){break hf}j=N[N[S+12>>2]+20>>2]+(e<<1)|0;e=N[p+20>>2];tf:{uf:{if(e){q=85;if(Qa[e|0](p,j,0,0)|0){break hf}N[p+8>>2]=j;o=j+2|0;e=N[p+20>>2];if(!e){break uf}if(Qa[e|0](p,o,0,0)|0){break hf}break tf}if(j>>>0>Q[p+4>>2]){break mf}N[i>>2]=j;o=j+2|0}if(o>>>0>Q[p+4>>2]){break mf}}N[p+8>>2]=o;N[r+8>>2]=0;e=xb(p,r+8|0);M[N[S+8>>2]+(h<<1)>>1]=e;q=N[r+8>>2];if(q){break hf}f=f+g|0;q=0;h=h+1|0;if((m|0)!=(h|0)){continue}break hf}}while(1){e=N[p+20>>2];vf:{if(e){if(!(Qa[e|0](p,f,0,0)|0)){break vf}break mf}if(Q[p+4>>2]>>0){break mf}}N[p+8>>2]=f;N[r+8>>2]=0;e=Nb(p,r+8|0);q=N[r+8>>2];if(q){break hf}j=e+N[N[S+12>>2]+20>>2]|0;e=N[p+20>>2];wf:{xf:{if(e){q=85;if(Qa[e|0](p,j,0,0)|0){break hf}N[p+8>>2]=j;o=j+2|0;e=N[p+20>>2];if(!e){break xf}if(Qa[e|0](p,o,0,0)|0){break hf}break wf}if(j>>>0>Q[p+4>>2]){break mf}N[i>>2]=j;o=j+2|0}if(o>>>0>Q[p+4>>2]){break mf}}N[p+8>>2]=o;N[r+8>>2]=0;e=xb(p,r+8|0);M[N[S+8>>2]+(h<<1)>>1]=e;q=N[r+8>>2];if(q){break hf}f=f+g|0;q=0;h=h+1|0;if((m|0)!=(h|0)){continue}break}break hf}q=85}La=r+16|0;if(q){break Ge}g=P[S+6>>1]}q=P[S+4>>1];j=g&65535;r=N[S+8>>2];v=La-16|0;La=v;N[v+4>>2]=N[s+16>>2];N[v>>2]=N[s+12>>2];N[v+8>>2]=0;L[v+14|0]=0;f=N[p+8>>2];yf:{zf:{Af:{Bf:{Cf:{Df:{Ef:{Ff:{Gf:{Hf:{g=N[p+20>>2];If:{if(g){e=v+14|0;if((Qa[g|0](p,f,e,1)|0)!=1){break Hf}f=N[p+8>>2];break If}if(Q[p+4>>2]<=f>>>0){break Hf}e=N[p>>2]+f|0}h=O[e|0];N[p+8>>2]=f+1;if(!(h&3)|h>>>0>3|(!j|q>>>0<=(j-1&65535)>>>0)){break zf}e=j<<1;o=Qa[N[u+4>>2]](u,e)|0;if(!o){break Gf}g=0;G(o,0,e);e=q<<1;z=Qa[N[u+4>>2]](u,e)|0;Jf:{if(z){G(z,0,e);N[v+8>>2]=0;break Jf}e=!z<<6;N[v+8>>2]=e;if(e){break Bf}}m=h&2;i=h&1;f=N[p+8>>2];h=0;while(1){if(Q[p+4>>2]<=f+1>>>0){break Ef}Kf:{Lf:{g=N[p+20>>2];Mf:{if(g){e=v+14|0;if((Qa[g|0](p,f,e,2)|0)!=2){break Ef}f=N[p+8>>2];break Mf}e=N[p>>2];if(!e){break Lf}e=e+f|0}e=O[e|0]|O[e+1|0]<<8;e=e<<8|e>>>8;break Kf}e=0}f=f+2|0;N[p+8>>2]=f;M[o+(h<<1)>>1]=e;h=h+1|0;if((j|0)!=(h|0)){continue}break}break Ff}N[v+8>>2]=85;break zf}N[v+8>>2]=64;break zf}h=0;N[v+8>>2]=0;Nf:{Of:{if(!i){while(1){if(Q[p+4>>2]<=f+1>>>0){break Nf}Pf:{Qf:{g=N[p+20>>2];Rf:{if(g){e=v+14|0;if((Qa[g|0](p,f,e,2)|0)!=2){break Nf}f=N[p+8>>2];break Rf}e=N[p>>2];if(!e){break Qf}e=e+f|0}e=O[e|0]|O[e+1|0]<<8;e=e<<8|e>>>8;break Pf}e=0}f=f+2|0;N[p+8>>2]=f;M[z+(h<<1)>>1]=e;h=h+1|0;if((j|0)!=(h|0)){continue}break}N[v+8>>2]=0;break Of}g=0;f=0;if(j-1>>>0>=3){h=j&65532;while(1){i=f<<1;M[i+z>>1]=P[i+r>>1];e=i|2;M[e+z>>1]=P[e+r>>1];e=i|4;M[e+z>>1]=P[e+r>>1];e=i|6;M[e+z>>1]=P[e+r>>1];f=f+4|0;if((h|0)!=(f|0)){continue}break}}h=j&3;if(!h){break Of}while(1){e=f<<1;M[e+z>>1]=P[e+r>>1];f=f+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}Sf:{if(j>>>0>=q>>>0){break Sf}if(!m){f=j;while(1){e=xb(p,v+8|0);if(N[v+8>>2]){break Df}M[z+(f<<1)>>1]=e;f=f+1|0;if((q|0)!=(f|0)){continue}break}break Sf}i=q+(j^-1)|0;h=q-j&3;Tf:{if(!h){e=j;break Tf}f=0;e=j;while(1){g=e<<1;M[g+z>>1]=P[g+r>>1];e=e+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}if(i>>>0<3){break Sf}while(1){f=e<<1;M[f+z>>1]=P[f+r>>1];g=f+2|0;M[g+z>>1]=P[g+r>>1];g=f+4|0;M[g+z>>1]=P[g+r>>1];g=f+6|0;M[g+z>>1]=P[g+r>>1];e=e+4|0;if((q|0)!=(e|0)){continue}break}}i=j+q<<1;g=Qa[N[u+4>>2]](u,i)|0;if(g){f=0;G(g,0,i);N[v+8>>2]=0;e=g;while(1){if(f>>>0>>0){h=o+(f<<1)|0;L[e|0]=O[h+1|0];L[e+1|0]=O[h|0];e=e+2|0}h=z+(f<<1)|0;L[e|0]=O[h+1|0];L[e+1|0]=O[h|0];e=e+2|0;f=f+1|0;if((q|0)!=(f|0)){continue}break}sa=s,ta=xh(g,i),N[sa+8>>2]=ta;if(El(v+4|0,fa,v,g,i,u)){break Cf}N[s+16>>2]=N[v+4>>2];N[s+12>>2]=N[v>>2];if(o){Qa[N[u+8>>2]](u,o)}Qa[N[u+8>>2]](u,z);if(g){Qa[N[u+8>>2]](u,g)}e=N[v+8>>2];break yf}N[v+8>>2]=64;break Df}N[v+8>>2]=85;break Df}N[v+8>>2]=85}g=0}if(!o){break Af}}Qa[N[u+8>>2]](u,o)}if(z){Qa[N[u+8>>2]](u,z)}if(!g){break zf}Qa[N[u+8>>2]](u,g)}e=N[v+8>>2];e=e?e:8}La=v+16|0;if(e){break Ge}e=N[s+16>>2];break Je}N[s+16>>2]=e;break Ge}N[p+8>>2]=f;N[s+44>>2]=0;w=s+44|0;q=w;ba=xb(p,q);if(N[s+44>>2]){break bf}K=xb(p,q);if(N[s+44>>2]){break bf}M[S+4>>1]=ba;m=0;j=0;o=0;J=ba+1|0;if(N[N[S+16>>2]+8>>2]!=J<<(K?2:1)|Q[N[ja>>2]+12>>2]<36){break Ye}f=Nb(p,q);if(N[s+44>>2]){break bf}if(f>>>0>N[N[ja>>2]+12>>2]-36>>>0){break Ye}N[D+8>>2]=f;g=r+36|0;N[D+4>>2]=g;N[D>>2]=g;g=0;i=Nb(p,q);if(N[s+44>>2]){break _e}h=f+36|0;if(i>>>0>N[N[ja>>2]+12>>2]-h>>>0){break Ye}N[D+20>>2]=i;f=h+r|0;N[D+16>>2]=f;N[D+12>>2]=f;l=Nb(p,q);if(N[s+44>>2]){break _e}h=i+h|0;if(l>>>0>N[N[ja>>2]+12>>2]-h>>>0){break Ye}N[D+32>>2]=l;f=h+r|0;N[D+28>>2]=f;N[D+24>>2]=f;i=Nb(p,q);if(N[s+44>>2]){break _e}h=h+l|0;if(i>>>0>N[N[ja>>2]+12>>2]-h>>>0){break Ye}N[D+44>>2]=i;f=h+r|0;N[D+40>>2]=f;N[D+36>>2]=f;l=Nb(p,q);if(N[s+44>>2]){break _e}h=i+h|0;if(l>>>0>N[N[ja>>2]+12>>2]-h>>>0){break Ye}N[D+56>>2]=l;f=h+r|0;N[D+52>>2]=f;N[D+48>>2]=f;i=Nb(p,s+44|0);if(N[s+44>>2]){break _e}l=h+l|0;if(i>>>0>N[N[ja>>2]+12>>2]-l>>>0){break Ye}N[D+68>>2]=i;f=l+r|0;N[D- -64>>2]=f;N[D+60>>2]=f;h=Nb(p,s+44|0);if(N[s+44>>2]){break _e}f=i+l|0;if(h>>>0>N[N[ja>>2]+12>>2]-f>>>0){break Ye}N[D+80>>2]=h;f=f+r|0;N[D+76>>2]=f;N[D+72>>2]=f;o=lb(u,4,0,J,0,q);if(N[s+44>>2]){break _e}$=N[D+64>>2];N[D+64>>2]=$+(ba+31>>>3&16380);f=Qa[N[u+4>>2]](u,5120)|0;if(!f){break $e}G(f,0,5120);N[s+44>>2]=0;sa=S,ta=lb(u,2,0,ba,0,q),N[sa+8>>2]=ta;if(!N[s+44>>2]){break af}j=f;break _e}e=N[s+40>>2];N[s+16>>2]=e;m=0;j=0;g=0;o=0;break Ve}Uf:{if(!ba){j=f;e=n;break Uf}e=5120;ca=0;j=f;while(1){N[s+32>>2]=0;M[s+30>>1]=0;f=(ca>>>3|0)+$|0;Vf:{g=N[p+20>>2];Wf:{if(g){if(Qa[g|0](p,f,0,0)|0){break Wf}break Vf}if(f>>>0<=Q[p+4>>2]){break Vf}}N[s+44>>2]=85;v=0;break Xe}N[p+8>>2]=f;v=0;N[s+44>>2]=0;f=Od(p,s+44|0);if(N[s+44>>2]){break Xe}h=N[D+4>>2];g=N[p+20>>2];Xf:{if(g){if(Qa[g|0](p,h,0,0)|0){break Ze}break Xf}if(h>>>0>Q[p+4>>2]){break Ze}}N[p+8>>2]=h;N[s+44>>2]=0;U=xb(p,s+44|0);if(N[s+44>>2]){break Ye}ea=128>>>(ca&7)&f;N[D+4>>2]=N[D+4>>2]+2;Yf:{Zf:{_f:{$f:{if(U){if((U|0)==65535){L[s+22|0]=0;M[s+28>>1]=0;if(!ea){break Ye}l=N[D+52>>2];h=0;r=La-16|0;La=r;g=N[p+20>>2];ag:{bg:{if(g){f=85;if(!(Qa[g|0](p,l,0,0)|0)){break bg}break ag}f=85;if(l>>>0>Q[p+4>>2]){break ag}}N[p+8>>2]=l;f=l;q=32;while(1){if(q&32){cg:{dg:{eg:{if(Q[p+4>>2]<=f+1>>>0){break eg}i=N[p+20>>2];fg:{if(i){g=r+14|0;if((Qa[i|0](p,f,g,2)|0)!=2){break eg}f=N[p+8>>2];break fg}g=N[p>>2];if(!g){break dg}g=f+g|0}g=O[g|0]|O[g+1|0]<<8;q=g<<8|g>>>8;break cg}f=85;break ag}q=0}f=f+2|0;N[p+8>>2]=f;i=q&1?6:4;w=i+2|0;gg:{if(q&8){break gg}g=q&65535;w=i+4|0;if(g&64){break gg}w=i|g>>>4&8}f=w+f|0;hg:{g=N[p+20>>2];if(g){if(!(Qa[g|0](p,f,0,0)|0)){break hg}f=85;break ag}if(Q[p+4>>2]>=f>>>0){break hg}f=85;break ag}h=q>>>8&1|h;N[p+8>>2]=f;continue}break}N[s+24>>2]=f-l;L[s+22|0]=h;f=0}La=r+16|0;if(f){break Ye}g=0;if(!O[s+22|0]){break Zf}f=N[D+40>>2];g=N[p+20>>2];if(g){if(Qa[g|0](p,f,0,0)|0){break Ze}break _f}if(f>>>0>Q[p+4>>2]){break Ze}break _f}g=0;v=lb(u,2,0,U,0,s+44|0);if(N[s+44>>2]){break We}h=N[D+16>>2];f=N[p+20>>2];ig:{if(f){if(Qa[f|0](p,h,0,0)|0){break ig}break $f}if(h>>>0<=Q[p+4>>2]){break $f}}N[s+44>>2]=85;break We}i=0;if(ea){break Ye}break Yf}N[p+8>>2]=h;i=0;jg:{kg:{while(1){f=ie(p,s+28|0);if(f){break kg}f=P[s+28>>1];M[(g<<1)+v>>1]=f;z=f+i|0;if(z>>>0>=i>>>0){i=z;g=g+1|0;if((U|0)==(g|0)){break jg}continue}break}f=0}N[s+44>>2]=f;break Xe}g=0;N[s+44>>2]=0;N[D+16>>2]=N[p+8>>2];if(Q[D+32>>2]>>0){break We}r=N[D+44>>2];h=N[D+40>>2];q=h-N[D+36>>2]|0;if(r>>>0>>0){break We}l=N[p>>2];f=N[D+28>>2];N[s+24>>2]=0;g=lb(u,12,0,i,0,s+44|0);if(N[s+44>>2]){break We}E=f+l|0;Y=h+l|0;l=0;I=0;X=0;w=0;f=0;h=8;k=r-q|0;lg:{if(k>>>0>>0){break lg}if(z){while(1){i=O[w+E|0];ga=i&127;q=1;mg:{if(ga>>>0<84){break mg}q=2;if(ga>>>0<120){break mg}q=ga>>>0<124?3:4}f=q+l|0;if(k>>>0>>0|f>>>0>>0){break lg}ia=i<<24>>24;ng:{if(ga>>>0<=9){V=0;l=O[l+Y|0]|ga<<7&1792;q=ia&1?l:0-l|0;break ng}if(ga>>>0<=19){q=0;l=O[l+Y|0]|(ga<<7)+768&1792;V=ia&1?l:0-l|0;break ng}if(ga>>>0<=83){r=O[l+Y|0];i=ga-20|0;l=r&15|i<<2&48;q=ia&2?l+1|0:l^-1;l=i&48|r>>>4;V=ia&1?l+1|0:l^-1;break ng}if(ga>>>0<=119){r=l+Y|0;q=ga-84|0;i=((q&255)>>>0)/12|0;l=O[r|0]|i<<8;V=ia&1?l+1|0:l^-1;l=O[r+1|0]|q+(i<<2)<<6&768;q=ia&2?l+1|0:l^-1;break ng}if(ga>>>0<=123){q=l+Y|0;i=O[q+1|0];l=O[q|0]<<4|i>>>4;V=ia&1?l:0-l|0;l=O[q+2|0]|i<<8&3840;q=ia&2?l:0-l|0;break ng}i=l+Y|0;l=O[i|0]<<8|O[i+1|0];V=ia&1?l:0-l|0;l=O[i+3|0]|O[i+2|0]<<8;q=ia&2?l:0-l|0}if((X^2147483647)<(V|0)&(X|0)>0|(X|0)<0&(-2147483648-X|0)>(V|0)|((I^2147483647)<(q|0)&(I|0)>0|(I|0)<0&(-2147483648-I|0)>(q|0))){break lg}l=T(w,12)+g|0;L[l+8|0]=(ia|0)>=0;I=q+I|0;N[l+4>>2]=I;X=V+X|0;N[l>>2]=X;l=f;w=w+1|0;if((z|0)!=(w|0)){continue}break}}N[s+24>>2]=f;h=0}if(h){break We}N[D+28>>2]=z+N[D+28>>2];h=N[D+40>>2]+N[s+24>>2]|0;N[D+40>>2]=h;og:{f=N[p+20>>2];pg:{if(f){if(Qa[f|0](p,h,0,0)|0){break pg}break og}if(h>>>0<=Q[p+4>>2]){break og}}N[s+44>>2]=85;break We}N[p+8>>2]=h;f=ie(p,s+22|0);N[s+44>>2]=f;if(f){break We}N[D+40>>2]=N[p+8>>2];if(z>>>0>134217727){break We}f=(P[s+22>>1]+(T(z,5)+(U<<1)|0)|0)+12|0;qg:{if(f>>>0<=e>>>0){f=e;break qg}j=lb(u,1,e,f,j,s+44|0);if(N[s+44>>2]){break We}}e=U<<8|U>>>8;L[j|0]=e;L[j+1|0]=e>>>8;h=N[s+32>>2]+2|0;N[s+32>>2]=h;rg:{sg:{if(ea){l=N[D+64>>2];e=N[p+20>>2];tg:{if(e){if(Qa[e|0](p,l,0,0)|0){break tg}break sg}if(l>>>0<=Q[p+4>>2]){break sg}}N[s+44>>2]=85;break We}i=0;h=0;l=0;e=0;k=0;ug:{if(!z){break ug}q=1;l=N[g+4>>2];h=N[g>>2];if((z|0)==1){e=l;i=h;break ug}vg:{if((z|0)==2){e=l;i=h;break vg}e=z-1|0;r=e&1;q=e&-2;I=1;i=h;e=l;while(1){E=T(I,12)+g|0;X=N[E+16>>2];ea=N[E+4>>2];e=(e|0)<(ea|0)?ea:e;e=(e|0)<(X|0)?X:e;w=N[E+12>>2];E=N[E>>2];i=(i|0)<(E|0)?E:i;i=(i|0)<(w|0)?w:i;l=(l|0)>(ea|0)?ea:l;l=(l|0)>(X|0)?X:l;h=(h|0)>(E|0)?E:h;h=(h|0)>(w|0)?w:h;I=I+2|0;k=k+2|0;if((q|0)!=(k|0)){continue}break}if(!r){break ug}q=(z-3&-2)+3|0}q=T(q,12)+g|0;r=N[q+4>>2];e=(e|0)<(r|0)?r:e;q=N[q>>2];i=(i|0)<(q|0)?q:i;l=(l|0)>(r|0)?r:l;h=(h|0)>(q|0)?q:h}L[j+9|0]=e;L[j+7|0]=i;L[j+5|0]=l;L[j+3|0]=h;L[j+8|0]=e>>>8;L[j+6|0]=i>>>8;L[j+4|0]=l>>>8;L[j+2|0]=h>>>8;M[s+30>>1]=h;break rg}N[p+8>>2]=l;N[s+44>>2]=0;sa=s,ta=xb(p,s+44|0),M[sa+30>>1]=ta;if(N[s+44>>2]){break We}l=N[D+64>>2];wg:{e=N[p+20>>2];xg:{if(e){if(Qa[e|0](p,l,0,0)|0){break xg}break wg}if(l>>>0<=Q[p+4>>2]){break wg}}N[s+44>>2]=85;break We}N[p+8>>2]=l;N[s+44>>2]=0;e=Yb(p,h+j|0,8);N[s+44>>2]=e;if(e){break We}N[D+64>>2]=N[D+64>>2]+8}N[s+32>>2]=10;e=j+10|0;i=-1;h=0;while(1){l=e;i=P[(h<<1)+v>>1]+i|0;if((i|0)>65535){break We}q=i<<8|(i&65280)>>>8;L[e|0]=q;L[e+1|0]=q>>>8;N[s+32>>2]=N[s+32>>2]+2;e=e+2|0;h=h+1|0;if((U|0)!=(h|0)){continue}break}i=P[s+22>>1];e=i<<8|i>>>8;L[l+2|0]=e;L[l+3|0]=e>>>8;h=N[s+32>>2]+2|0;N[s+32>>2]=h;l=N[D+76>>2];yg:{e=N[p+20>>2];zg:{if(e){if(Qa[e|0](p,l,0,0)|0){break zg}break yg}if(l>>>0<=Q[p+4>>2]){break yg}}N[s+44>>2]=85;break We}N[p+8>>2]=l;N[s+44>>2]=0;e=Yb(p,h+j|0,i);N[s+44>>2]=e;if(e){break We}N[D+76>>2]=i+N[D+76>>2];N[s+32>>2]=i+h;r=f;V=0;Y=0;E=0;e=(i+(U<<1)|0)+12|0;Ag:{Bg:{Cg:{if(z){w=e;q=255;f=0;e=0;Dg:{Eg:while(1){X=j+w|0;ea=X-1|0;I=0;k=E;while(1){l=T(k,12)+g|0;i=N[l+4>>2];h=O[l+8|0]!=0;l=N[l>>2];Fg:{if((l|0)==(f|0)){h=h|16;break Fg}f=l-f|0;if(f+255>>>0<=510){V=V+1|0;h=((f|0)>0?18:2)|h;break Fg}V=V+2|0}Gg:{if((e|0)==(i|0)){h=h|32;break Gg}e=i-e|0;if(e+255>>>0<=510){Y=Y+1|0;h=((e|0)>0?36:4)|h;break Gg}Y=Y+2|0}e=I&255;if(!((q&255)==(h|0)&(e|0)!=255)){if(e){e=8;if(r>>>0<=w>>>0){break Ag}L[X|0]=I;w=w+1|0}e=8;if(r>>>0<=w>>>0){break Ag}L[j+w|0]=h;w=w+1|0;q=h;f=l;e=i;E=k+1|0;if((z|0)!=(E|0)){continue Eg}break Dg}L[ea|0]=O[ea|0]|8;I=I+1|0;f=l;e=i;k=k+1|0;if((z|0)!=(k|0)){continue}break}break}h=8;if(r>>>0<=w>>>0){break Bg}L[X|0]=z-E;w=w+1|0}h=8;e=V+Y|0;if(e>>>0>>0){break Bg}e=e+w|0;if(e>>>0>>0|e>>>0>r>>>0){break Bg}e=w+V|0;I=0;h=0;f=0;while(1){i=h;q=T(f,12)+g|0;h=N[q+4>>2];l=I;I=N[q>>2];Hg:{if((l|0)==(I|0)){break Hg}l=I-l|0;if(l+255>>>0<=510){E=l;l=l>>31;L[j+w|0]=(E^l)-l;w=w+1|0;break Hg}q=j+w|0;l=l<<8|(l&65280)>>>8;L[q|0]=l;L[q+1|0]=l>>>8;w=w+2|0}Ig:{if((i|0)==(h|0)){break Ig}l=h-i|0;if(l+255>>>0<=510){i=l;l=l>>31;L[e+j|0]=(i^l)-l;e=e+1|0;break Ig}i=e+j|0;l=l<<8|(l&65280)>>>8;L[i|0]=l;L[i+1|0]=l>>>8;e=e+2|0}f=f+1|0;if((z|0)!=(f|0)){continue}break}break Cg}h=8;if(e>>>0>r>>>0){break Bg}}N[s+32>>2]=e;h=0}e=h}if(e){break We}if(g){Qa[N[u+8>>2]](u,g)}Qa[N[u+8>>2]](u,v);i=N[s+32>>2];e=r;break Yf}N[p+8>>2]=f;g=ie(p,s+28|0);N[s+44>>2]=g;if(g){break Ye}N[D+40>>2]=N[p+8>>2];g=P[s+28>>1]}g=(N[s+24>>2]+(g&65535)|0)+12|0;Jg:{if(g>>>0<=e>>>0){g=e;break Jg}j=lb(u,1,e,g,j,s+44|0);if(N[s+44>>2]){break Ye}}L[j|0]=255;L[j+1|0]=255;h=N[s+32>>2];f=h+2|0;N[s+32>>2]=f;l=N[D+64>>2];e=N[p+20>>2];Kg:{if(e){if(Qa[e|0](p,l,0,0)|0){break Ze}break Kg}if(l>>>0>Q[p+4>>2]){break Ze}}N[p+8>>2]=l;N[s+44>>2]=0;sa=s,ta=xb(p,s+44|0),M[sa+30>>1]=ta;if(N[s+44>>2]){break Ye}l=N[D+64>>2];e=N[p+20>>2];Lg:{if(e){if(Qa[e|0](p,l,0,0)|0){break Ze}break Lg}if(l>>>0>Q[p+4>>2]){break Ze}}N[p+8>>2]=l;N[s+44>>2]=0;e=Yb(p,f+j|0,8);N[s+44>>2]=e;if(e){break Ye}N[D+64>>2]=N[D+64>>2]+8;h=h+10|0;N[s+32>>2]=h;f=N[D+52>>2];e=N[p+20>>2];Mg:{if(e){if(Qa[e|0](p,f,0,0)|0){break Ze}break Mg}if(f>>>0>Q[p+4>>2]){break Ze}}N[p+8>>2]=f;N[s+44>>2]=0;f=N[s+24>>2];e=Yb(p,h+j|0,f);N[s+44>>2]=e;if(e){break Ye}N[D+52>>2]=f+N[D+52>>2];i=f+h|0;N[s+32>>2]=i;if(O[s+22|0]){e=i+j|0;L[e|0]=O[s+29|0];L[e+1|0]=O[s+28|0];h=N[s+32>>2]+2|0;N[s+32>>2]=h;f=N[D+76>>2];e=N[p+20>>2];Ng:{if(e){if(Qa[e|0](p,f,0,0)|0){break Ze}break Ng}if(f>>>0>Q[p+4>>2]){break Ze}}N[p+8>>2]=f;N[s+44>>2]=0;f=P[s+28>>1];e=Yb(p,h+j|0,f);N[s+44>>2]=e;if(e){break Ye}N[D+76>>2]=f+N[D+76>>2];i=f+h|0;N[s+32>>2]=i}e=g}N[(ca<<2)+o>>2]=N[s+36>>2]-n;if(El(s+40|0,fa,s+36|0,j,i,u)){break Ye}r=La-16|0;La=r;h=N[s+40>>2];f=N[s+36>>2];L[r+14|0]=0;M[r+12>>1]=0;q=8;Og:{if(f>>>0>4294967292){break Og}g=f+3|0;l=g&-4;Pg:{if((f|0)==(l|0)){l=f;break Pg}if(l>>>0>31457280){break Og}z=N[fa>>2];if(z>>>0>>0){if((g|z)<0){break Og}Qg:{if(!z){h=Qa[N[u+4>>2]](u,l)|0;g=!h<<6;break Qg}g=Qa[N[u+12>>2]](u,z,l,h)|0;h=g?g:h;g=!g<<6}Rg:{if(!(g|(l|0)<=(z|0)|!h)){G(h+z|0,0,l-z|0);break Rg}if(g){break Og}}N[fa>>2]=l}B(f+h|0,r+12|0,l-f|0)}N[s+40>>2]=h;N[s+36>>2]=l;q=0}La=r+16|0;if(q){break Ye}sa=s,ta=N[s+8>>2]+xh(j,i)|0,N[sa+8>>2]=ta;if(U){M[N[S+8>>2]+(ca<<1)>>1]=P[s+30>>1]}ca=ca+1|0;if((ba|0)!=(ca|0)){continue}break}e=N[s+36>>2]}g=N[ja>>2];f=e-N[g+28>>2]|0;N[g+8>>2]=f;N[N[x>>2]+28>>2]=e;N[(ba<<2)+o>>2]=f;q=0;g=0;f=0;z=J<<(K?2:1);i=N[s+36>>2];E=N[s+40>>2];Sg:{Tg:{Ug:{Vg:{Wg:{Xg:{Yg:{if(J){g=Qa[N[u+4>>2]](u,z)|0;if(g){break Yg}q=64;break Sg}if(!K){e=0;break Tg}f=J&1;break Xg}G(g,0,z);if(!K){break Vg}if((J|0)==1){e=g;break Wg}f=J&1}l=J&-2;e=g;while(1){h=q<<2;r=N[h+o>>2];r=r<<24|(r&65280)<<8|(r>>>8&65280|r>>>24);L[e|0]=r;L[e+1|0]=r>>>8;L[e+2|0]=r>>>16;L[e+3|0]=r>>>24;h=N[(h|4)+o>>2];h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);L[e+4|0]=h;L[e+5|0]=h>>>8;L[e+6|0]=h>>>16;L[e+7|0]=h>>>24;e=e+8|0;q=q+2|0;if((l|0)!=(q|0)){continue}break}if(!f){break Ug}}f=N[(q<<2)+o>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);L[e|0]=f;L[e+1|0]=f>>>8;L[e+2|0]=f>>>16;L[e+3|0]=f>>>24;break Ug}e=g;if(J>>>0>=4){l=J&-4;while(1){r=q<<2;h=N[r+o>>2];L[e+1|0]=h>>>1;L[e|0]=h>>>9;h=N[(r|4)+o>>2];L[e+3|0]=h>>>1;L[e+2|0]=h>>>9;h=N[(r|8)+o>>2];L[e+5|0]=h>>>1;L[e+4|0]=h>>>9;h=N[(r|12)+o>>2];L[e+7|0]=h>>>1;L[e+6|0]=h>>>9;e=e+8|0;q=q+4|0;if((l|0)!=(q|0)){continue}break}}l=J&3;if(!l){break Ug}while(1){h=N[(q<<2)+o>>2];L[e+1|0]=h>>>1;L[e|0]=h>>>9;q=q+1|0;e=e+2|0;f=f+1|0;if((l|0)!=(f|0)){continue}break}}e=0;f=z&2147483644;if(!f){q=0;break Tg}q=0;while(1){q=(O[(e|3)+g|0]|(O[(e|1)+g|0]<<16|O[e+g|0]<<24|O[(e|2)+g|0]<<8))+q|0;e=e+4|0;if(f>>>0>e>>>0){continue}break}e=f}if((e|0)!=(z|0)){f=0;while(1){f=O[e+g|0]<<((e^-1)<<3)|f;e=e+1|0;if(z>>>0>e>>>0){continue}break}q=f+q|0}N[s+4>>2]=q;q=8;h=i+z|0;Zg:{if(h>>>0>31457280){break Zg}f=N[fa>>2];if(f>>>0>>0){if((f|h)<0){break Zg}_g:{if(!f){E=Qa[N[u+4>>2]](u,h)|0;e=!E<<6;break _g}e=Qa[N[u+12>>2]](u,f,h,E)|0;E=e?e:E;e=!e<<6}$g:{if(!(e|(f|0)>=(h|0)|!E)){G(f+E|0,0,h-f|0);break $g}if(e){break Zg}}N[fa>>2]=h}B(i+E|0,g,z);N[s+40>>2]=E;N[s+36>>2]=h;q=0}if(g){Qa[N[u+8>>2]](u,g)}}if(q){break Ye}g=N[x>>2];e=N[s+36>>2];N[g+8>>2]=e-N[g+28>>2];N[s+12>>2]=e;e=N[s+40>>2];N[s+16>>2]=e;Qa[N[u+8>>2]](u,D);g=0;m=o;break Te}N[s+44>>2]=64}N[s+16>>2]=e;break Ve}N[s+44>>2]=85}e=N[s+40>>2];N[s+16>>2]=e;g=N[s+44>>2];N[s+44>>2]=g?g:8;g=0;break Ve}g=0}e=N[s+40>>2];N[s+16>>2]=e;f=N[s+44>>2];N[s+44>>2]=f?f:8;m=v;if(!D){break Ue}}Qa[N[u+8>>2]](u,D)}if(o){Qa[N[u+8>>2]](u,o)}if(!m){break Se}}Qa[N[u+8>>2]](u,m)}if(j){Qa[N[u+8>>2]](u,j)}if(g){Qa[N[u+8>>2]](u,g)}l=1;if(N[s+44>>2]){break Ge}}r=N[s+8>>2];L[A+15|0]=da;L[A+11|0]=n;L[A+7|0]=r;L[A+3|0]=W;L[A+14|0]=da>>>8;L[A+13|0]=da>>>16;L[A+12|0]=da>>>24;L[A+10|0]=n>>>8;L[A+9|0]=n>>>16;L[A+8|0]=n>>>24;L[A+6|0]=r>>>8;L[A+5|0]=r>>>16;L[A+4|0]=r>>>24;L[A+2|0]=W>>>8;L[A+1|0]=W>>>16;L[A|0]=W>>>24;ah:{bh:{ch:{f=R+16|0;dh:{if(f>>>0>31457280){break dh}h=N[fa>>2];if(h>>>0>=f>>>0){j=e;break bh}if((f|h)<0){break dh}eh:{if(!h){j=Qa[N[u+4>>2]](u,f)|0;g=!j<<6;break eh}g=Qa[N[u+12>>2]](u,h,f,e)|0;j=g?g:e;g=!g<<6}if(!(g|(f|0)<=(h|0)|!j)){G(h+j|0,0,f-h|0);break ch}if(!g){break ch}}j=e;break ah}N[fa>>2]=f}g=O[A+4|0]|O[A+5|0]<<8|(O[A+6|0]<<16|O[A+7|0]<<24);h=j+R|0;e=O[A|0]|O[A+1|0]<<8|(O[A+2|0]<<16|O[A+3|0]<<24);L[h|0]=e;L[h+1|0]=e>>>8;L[h+2|0]=e>>>16;L[h+3|0]=e>>>24;L[h+4|0]=g;L[h+5|0]=g>>>8;L[h+6|0]=g>>>16;L[h+7|0]=g>>>24;g=O[A+12|0]|O[A+13|0]<<8|(O[A+14|0]<<16|O[A+15|0]<<24);e=O[A+8|0]|O[A+9|0]<<8|(O[A+10|0]<<16|O[A+11|0]<<24);L[h+8|0]=e;L[h+9|0]=e>>>8;L[h+10|0]=e>>>16;L[h+11|0]=e>>>24;L[h+12|0]=g;L[h+13|0]=g>>>8;L[h+14|0]=g>>>16;L[h+15|0]=g>>>24;N[s+16>>2]=j;R=f}q=O[A+12|0]|O[A+13|0]<<8|(O[A+14|0]<<16|O[A+15|0]<<24);o=O[A+8|0]|O[A+9|0]<<8|(O[A+10|0]<<16|O[A+11|0]<<24);m=O[A+4|0]|O[A+5|0]<<8|(O[A+6|0]<<16|O[A+7|0]<<24);i=O[A|0]|O[A+1|0]<<8|(O[A+2|0]<<16|O[A+3|0]<<24);h=N[s+12>>2];L[s+46|0]=0;M[s+44>>1]=0;if(h>>>0>4294967292){break Ee}e=h+3|0;g=e&-4;fh:{if((h|0)==(g|0)){e=j;g=h;break fh}if(g>>>0>31457280){break Ee}z=N[fa>>2];gh:{if(z>>>0>=g>>>0){e=j;break gh}if((e|z)<0){break Ee}hh:{if(!z){e=Qa[N[u+4>>2]](u,g)|0;f=!e<<6;break hh}f=Qa[N[u+12>>2]](u,z,g,j)|0;e=f?f:j;f=!f<<6}ih:{if(!(f|(g|0)<=(z|0)|!e)){G(e+z|0,0,g-z|0);break ih}if(f){break Ee}}N[fa>>2]=g}B(e+h|0,s+44|0,g-h|0)}N[s+16>>2]=e;N[s+12>>2]=g;if(n+da>>>0>g>>>0){break Ee}na=r+na+((((m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))+(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))|0)+(o<<24|(o&65280)<<8|(o>>>8&65280|o>>>24))|0)+(q<<24|(q&65280)<<8|(q>>>8&65280|q>>>24)))|0;n=g;la=la+1|0;if((Z|0)!=(la|0)){continue}break}g=0;while(1){f=N[(g<<2)+H>>2];if(N[f+4>>2]!=1751474532){g=g+1|0;if((Z|0)!=(g|0)){continue}break He}break}N[S+20>>2]=f;if(Q[f+8>>2]<12){break Ge}f=N[f+28>>2]+e|0;g=-1313820742-na|0;g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);L[f+8|0]=g;L[f+9|0]=g>>>8;L[f+10|0]=g>>>16;L[f+11|0]=g>>>24;N[t+112>>2]=N[s+12>>2];N[t+20>>2]=e;Qa[N[u+8>>2]](u,A);e=N[p+24>>2];if(e){Qa[e|0](p)}Qa[N[u+8>>2]](u,p);F=0;break ye}N[S+20>>2]=0}N[t+20>>2]=N[s+16>>2];F=8;if(!A){break Ce}break De}N[t+20>>2]=N[s+16>>2]}Qa[N[u+8>>2]](u,A)}if(!p){break ye}e=N[p+24>>2];if(e){Qa[e|0](p)}Qa[N[u+8>>2]](u,p)}La=s+48|0;e=F;N[t+120>>2]=e;if(e){d=c;break ma}j=N[t+20>>2];jh:{g=N[t+112>>2];e=N[t+16>>2];if(g>>>0>=e>>>0){break jh}j=lb(u,1,e,g,j,t+120|0);N[t+20>>2]=j;e=N[t+120>>2];if(!e){break jh}d=c;break ma}N[y+32>>2]=0;N[y+8>>2]=0;N[y+4>>2]=g;N[y>>2]=j;N[y+20>>2]=0;a=N[a+28>>2];N[y+24>>2]=183;N[y+28>>2]=a;g=N[b+104>>2];kh:{if(!g){break kh}c=N[b+8>>2];e=N[g+28>>2];a=N[g+24>>2];if(a){Qa[a|0](g)}if(c&1024){break kh}Qa[N[e+8>>2]](e,g)}N[b+104>>2]=y;N[b+8>>2]=N[b+8>>2]&-1025;e=0;break ma}e=8}N[t+120>>2]=e;C=0;d=c;break ma}e=8}N[t+120>>2]=e;y=0}d=c;C=0}if(!ma){break ha}break ia}C=0;break ja}e=8;N[t+120>>2]=8}y=0;d=c}Qa[N[u+8>>2]](u,ma)}if(H){Qa[N[u+8>>2]](u,H)}if(C){Qa[N[u+8>>2]](u,C)}c=d}a=N[t+32>>2];if(a){Qa[N[u+8>>2]](u,a)}d=N[t+116>>2];if(d){h=P[t+108>>1];lh:{if(!h){break lh}j=d;if((h|0)!=1){f=h&65534;a=0;while(1){g=N[j+8>>2];if(g){Qa[N[u+8>>2]](u,g)}N[j+8>>2]=0;g=N[j+20>>2];if(g){Qa[N[u+8>>2]](u,g)}N[j+20>>2]=0;j=j+24|0;a=a+2|0;if((f|0)!=(a|0)){continue}break}}if(!(h&1)){break lh}a=N[j+8>>2];if(a){Qa[N[u+8>>2]](u,a)}N[j+8>>2]=0}Qa[N[u+8>>2]](u,d);N[t+116>>2]=0}if(!e){break g}a=N[t+20>>2];if(a){Qa[N[u+8>>2]](u,a)}if(y){a=N[y+24>>2];if(a){Qa[a|0](y)}Qa[N[u+8>>2]](u,y)}N[t+12>>2]=e;break a}e=8;N[t+24>>2]=8}Qa[N[v+8>>2]](v,x);if(!s){break j}break k}e=8;N[t+24>>2]=8}Qa[N[v+8>>2]](v,x)}Qa[N[v+8>>2]](v,s)}if(!e){break g}if(!f){break h}}Qa[N[v+8>>2]](v,f)}if(m){a=N[m+24>>2];if(a){Qa[a|0](m)}Qa[N[v+8>>2]](v,m)}N[t+12>>2]=e;break a}N[t+12>>2]=0;a=N[b+104>>2];continue}}La=t+128|0;return e|0}function No(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,C=0,D=0,E=0,H=0,I=0,J=0,K=0,R=0,U=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,Ma=0,Na=0,Oa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,ab=0,cb=0,eb=0,fb=0,hb=0,ib=0,jb=0,lb=0,nb=0,ob=0,pb=0,qb=0;pa=La+-64|0;La=pa;a:{b:{c:{d:{e:{f:{g:{if(!(N[a+16>>2]|N[a+20>>2])|!N[a+8>>2]){break g}g=N[a>>2];if(!N[b+8>>2]|(g|0)!=N[b+84>>2]){break g}N[a+176>>2]=c;N[a+180>>2]=d;N[a+168>>2]=b;f=N[b+40>>2];h:{i:{j:{h=N[b+36>>2];if((h|0)>0){if((f|0)>0){break h}if((h|0)!=1280){break j}N[b+40>>2]=1024;N[pa+32>>2]=1024;mb(g,2,17469,pa+32|0);break h}if((f|0)>0){break i}mb(g,2,21386,0);N[b+36>>2]=384;N[b+40>>2]=288;break h}f=TE(h,0,3,0);f=h>>>0<=1?1:(Pa&3)<<30|f>>>2;N[b+40>>2]=f;N[pa+48>>2]=f;mb(g,2,17469,pa+48|0);break h}if((f|0)==1024){N[b+36>>2]=1280;N[pa>>2]=1280;mb(g,2,17503,pa);break h}f=VE(f<<2,f>>>30|0,3,0);N[b+36>>2]=f;N[pa+16>>2]=f;mb(g,2,17503,pa+16|0)}U=N[a+12>>2];f=N[N[a>>2]+16>>2];if((U|0)!=(f|0)){if(f>>>0<=U>>>0){break b}g=N[a+8>>2];if(N[g+40>>2]){f=N[N[g>>2]+16>>2];if(f>>>0>U>>>0){while(1){Ao(N[g+40>>2],U);U=U+1|0;if((f|0)!=(U|0)){continue}break}}U=f}N[a+12>>2]=U}f=N[a+200>>2];g=N[a+168>>2];N[N[f+40>>2]+36>>2]=N[g+64>>2]!=0;h=N[g+68>>2];k:{if(!h|!O[h|0]){break k}h=he(h);if(!h){break k}_=N[h+4>>2]}N[f+44>>2]=_;N[f>>2]=N[a+92>>2];g=N[N[g+88>>2]+36>>2];L[f+56|0]=g>>>1&1;L[f+57|0]=g&4?2:N[f+32>>2]==64;f=N[b+96>>2]>0&N[b+92>>2]>0;D=S[a+80>>3];l:{if(!(f|D==0)){r=D;break l}r=1;g=N[a+144>>2];if(!g){break l}h=N[a+140>>2];if(!h|!f&(!N[a+24>>2]|!N[a+28>>2])){break l}r=+(g|0)/+(h|0);f=N[a+168>>2];U=N[f+92>>2];m:{if((U|0)>0){i=N[f+96>>2];if((i|0)>0){break m}}U=N[a+24>>2];if((U|0)>0){i=N[a+28>>2];if((i|0)>0){break m}}if(!(!(D<=0)&D!=1)){i=N[f+40>>2];U=N[f+36>>2];break m}if(D>1){i=N[f+40>>2];f=pc(+((T(g,i)|0)/(h|0)|0)/D);U=(f|0)<=1?1:f;break m}U=N[f+36>>2];f=pc(D*+((T(h,U)|0)/(g|0)|0));i=(f|0)<=1?1:f}r=r/(+(U|0)/+(i|0))}S[a+184>>3]=r;ya=a+116|0;f=N[ya>>2];U=0;N[ya>>2]=0;N[a+120>>2]=f;vi(N[a+852>>2],N[a+868>>2]);vi(N[a+848>>2],N[a+864>>2]);vi(N[a+844>>2],N[a+860>>2]);i=N[b+8>>2];if((i|0)<=0){break d}o=a+192|0;_=0;while(1){ga=N[b+20>>2]+T(U,56)|0;g=ga;f=N[g>>2];g=N[g+4>>2];n:{if(c>>>0>>0&(d|0)<=(g|0)|(d|0)<(g|0)){break n}k=g+N[ga+12>>2]|0;g=f;f=f+N[ga+8>>2]|0;k=g>>>0>f>>>0?k+1|0:k;if((d|0)>=(k|0)&c>>>0>=f>>>0|(d|0)>(k|0)){break n}i=N[a+124>>2];f=N[a+128>>2];if((f|0)<=(_|0)){f=f+100|0;N[a+128>>2]=f;i=$a(i,f<<5);N[a+124>>2]=i}fa=(_<<5)+i|0;i=0;j=0;s=0;l=0;t=0;ta=0;u=La-272|0;La=u;W=N[o>>2];o:{if(N[ga+24>>2]>=N[N[W+168>>2]>>2]){mb(N[W>>2],2,16547,0);break o}if(!N[ga+48>>2]){mb(N[W>>2],2,9216,0);break o}tb(N[o+72>>2]);N[o+496>>2]=0;N[o+500>>2]=0;N[o+72>>2]=0;N[o+296>>2]=0;N[o+300>>2]=0;f=N[o+4>>2];if(f){N[f+12>>2]=0}N[o+216>>2]=0;N[o+88>>2]=0;N[o+64>>2]=ga;f=N[o>>2];g=N[f+168>>2];h=N[g+56>>2];L[o+256|0]=0;N[o+240>>2]=0;N[o+244>>2]=0;N[o+144>>2]=0;N[o+148>>2]=0;N[o+152>>2]=0;N[o+156>>2]=0;N[o+160>>2]=0;N[o+164>>2]=0;N[o+168>>2]=0;N[o+172>>2]=0;N[o+516>>2]=h;N[o+248>>2]=N[g+36>>2];N[o+252>>2]=N[g+40>>2];L[o+465|0]=0;L[o+466|0]=0;L[o+467|0]=0;L[o+468|0]=0;L[o+469|0]=0;L[o+470|0]=0;L[o+471|0]=0;L[o+472|0]=0;N[o+460>>2]=0;N[o+464>>2]=0;N[o+288>>2]=0;N[o+292>>2]=0;N[o+260>>2]=0;N[o+448>>2]=0;L[o+257|0]=0;L[o+258|0]=1;p:{g=N[ga+44>>2];if(!(!g|!O[g|0])){i=jc(g,59);q:{if(!i){k=1;break q}k=1;h=i+1|0;j=ti(h);h=jc(h,59);if(!h){l=1;break q}h=h+1|0;t=ti(h);h=jc(h,59);if(!h){break q}s=+(ti(h+1|0)|0);k=0}h=N[f+168>>2];m=N[h+92>>2];r:{if((m|0)>0){n=N[h+96>>2];if((n|0)>0){break r}}m=N[f+24>>2];if((m|0)>0){n=N[f+28>>2];if((n|0)>0){break r}}s:{r=S[f+80>>3];t:{if(r<=0|r==1){break t}p=N[f+144>>2];if(!p){break t}q=N[f+140>>2];if(q){break s}}n=N[h+40>>2];m=N[h+36>>2];break r}if(r>1){n=N[h+40>>2];m=pc(+((T(p,n)|0)/(q|0)|0)/r);m=(m|0)<=1?1:m;break r}m=N[h+36>>2];n=pc(r*+((T(q,m)|0)/(p|0)|0));n=(n|0)<=1?1:n}u:{if(!bb(g,21166,7)){if(!i){f=N[f>>2];N[u+32>>2]=g;mb(f,6,24620,u+32|0);break u}N[o+476>>2]=!t|l;g=N[ga>>2];i=N[ga+4>>2];h=N[f+176>>2];k=N[f+180>>2];f=N[N[f+168>>2]+36>>2];N[o+516>>2]=2;L[o+258|0]=0;N[o+216>>2]=2;r=+(m|0)/+(f|0);D=+(j|0)/r;j=D>1;C=+(h-g>>>0)+ +(k-((g>>>0>h>>>0)+i|0)|0)*4294967296;if(V(D)<2147483648){f=~~D}else{f=-2147483648}S[o+480>>3]=C/(r*(j?+(f|0):1));i=1;break p}v:{if(bb(g,21174,10)){if(bb(g,21185,12)){break v}i=2}else{i=3}N[o+476>>2]=i;if(k){f=N[f>>2];N[u+48>>2]=g;mb(f,6,24620,u+48|0);break u}g=N[ga>>2];k=N[ga+4>>2];i=N[f+176>>2];f=N[f+180>>2];h=N[h+40>>2];L[o+258|0]=0;N[o+216>>2]=4;N[o+492>>2]=(j|0)>(t|0)?j:t;N[o+488>>2]=(j|0)<(t|0)?j:t;r=+(n|0)/+(h|0);D=s/r;h=D>1;C=+(i-g>>>0)+ +(f-((g>>>0>i>>>0)+k|0)|0)*4294967296;if(V(D)<2147483648){f=~~D}else{f=-2147483648}S[o+480>>3]=C/(r*(h?+(f|0):1));i=1;break p}f=N[f>>2];N[u+64>>2]=g;mb(f,7,24588,u- -64|0)}i=1;if(N[o+216>>2]){break p}}g=N[ga+48>>2];w:while(1){x:{y:{i=O[g|0];if((i|0)!=92){if((i|0)==123){break y}if(!i){break p}break x}if(!O[g+1|0]){break x}g=g+2|0;continue}while(1){f=g;g=f+1|0;h=O[f+1|0];if((h|0)!=92){if(!h|(h|0)==125){continue w}continue}i=1;z:{switch(O[f+2|0]-99|0){case 10:if(O[f+3|0]!=111|O[f+4|0]!=118|O[f+5|0]!=101){continue}break p;case 0:if(O[f+3|0]!=108|O[f+4|0]!=105|O[f+5|0]!=112){continue}break p;case 6:if(O[f+3|0]!=99|O[f+4|0]!=108|(O[f+5|0]!=105|O[f+6|0]!=112)){continue}break p;case 13:break p;case 12:break z;default:continue}}if(O[f+3|0]!=114|O[f+4|0]!=103){continue}break}break p}g=g+1|0;continue}}N[o+532>>2]=i;ui(o,0);f=N[o+68>>2];N[o+96>>2]=N[f+104>>2];N[o+100>>2]=N[f+136>>2];n=N[o+4>>2];i=N[ga+48>>2];m=N[o>>2];A:{while(1){B:{C:{D:{E:{F:{G:{f=O[i|0];if((f|0)!=123){if(!f){break F}break G}g=jc(i,125);if(!g){break G}f=qo(o,i,g,1,0);if(O[f|0]==125){i=f+1|0;continue}ba(24336,18170,2097,10067);F()}g=f<<24>>24;if(N[o+448>>2]){g=((g|0)==123)+i|0;while(1){f=O[g|0];if(!(!f|(f|0)==123)){g=g+1|0;continue}break}h=65532;f=g-i|0;break C}if((f|0)==9){h=32;g=1;break D}H:{I:{if((f|0)==92){h=10;g=2;J:{switch(O[i+1|0]-78|0){case 26:h=160;break D;case 45:h=123;break D;case 0:break D;case 32:break E;case 47:break J;default:break I}}h=125;break D}k=-1;if((g|0)>=0){break I}g=128;while(1){h=k;k=h+1|0;g=g>>>1|0;if(f&g){continue}break}if(h>>>0>3){break I}j=O[i+1|0];if((j&192)!=128){break I}t=i+1|0;h=f&g-1;while(1){if((k|0)<=0){break I}h=j&63|h<<6;k=k-1|0;j=O[t+1|0];g=t+1|0;t=g;if((j&192)==128){continue}break}if(!k){break H}}g=i+1|0;h=f}i=0;f=0;if(h){break C}}ca=N[o+4>>2];m=N[ca+12>>2];if(m){break B}tb(N[o+72>>2]);N[o+496>>2]=0;N[o+500>>2]=0;i=0;N[o+72>>2]=0;N[o+296>>2]=0;N[o+300>>2]=0;f=N[o+4>>2];if(!f){break o}N[f+12>>2]=0;break o}h=N[o+516>>2]==2?10:32}g=g+i|0;i=0;f=0}if(!N[o+72>>2]){break A}j=f;f=N[n+12>>2];k=N[n+52>>2];if((f|0)>=(k|0)){l=f;f=((f|0)/2|0)+1|0;f=(f|0)<(k|0)?k:f;k=(f|0)>=1073741823?1073741823:f;f=k<<1;if((l|0)>=(f|0)){break A}N[147316]=0;l=N[n>>2];K:{if(f>>>0<=11930464){p=T(k,720);p=$a(l,p>>>0<=1?1:p);if(p){break K}}N[147316]=48;N[n>>2]=l;break A}N[147316]=0;N[n>>2]=p;N[147316]=0;l=N[n+4>>2];k=k<<3;k=$a(l,k>>>0<=1?1:k);if(!k){N[147316]=48;N[n+4>>2]=l;break A}N[147316]=0;N[n+4>>2]=k;N[147316]=0;l=N[n+8>>2];k=$a(l,f>>>0<=1?1:f);N[147316]=k?0:48;N[n+8>>2]=k?k:l;if(!k){break A}N[n+52>>2]=f;f=N[n+12>>2]}f=N[n>>2]+T(f,360)|0;G(f,0,360);L:{if(i){N[f+32>>2]=i;N[f+36>>2]=j;N[f+40>>2]=N[o+448>>2];r=S[o+288>>3];M:{if(V(r)<2147483648){j=~~r;break M}j=-2147483648}N[f+44>>2]=j;N[f>>2]=h;N[f+8>>2]=N[o+72>>2];t=f+8|0;break L}N[f>>2]=h;j=N[o+72>>2];N[f+8>>2]=j;t=f+8|0;if(!j){break L}if(!N[j-8>>2]){break a}j=j-4|0;k=N[j>>2];if(!k){break a}N[j>>2]=k+1}j=N[o+224>>2];L[f+140|0]=j;k=N[o+260>>2];if((k|0)>0){l=j&-256;j=j&255;p=j+k|0;j=TE(j,0,k,0);k=Pa;j=j+127|0;k=j>>>0<127?k+1|0:k;j=p-VE(j,k,255,0)|0;A(+(j>>>0));k=v(1)|0;j=(nb=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?j&255:0,ob=0,pb=(j|0)>=0,pb?nb:ob)|l}N[f+124>>2]=j;j=N[o+228>>2];L[f+141|0]=j;k=N[o+260>>2];if((k|0)>0){p=j&-256;j=j&255;q=j+k|0;j=TE(j,0,k,0);l=Pa;j=j+127|0;l=j>>>0<127?l+1|0:l;j=q-VE(j,l,255,0)|0;A(+(j>>>0));k=v(1)|0;j=(nb=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?j&255:0,ob=0,pb=(j|0)>=0,pb?nb:ob)|p}N[f+128>>2]=j;j=N[o+232>>2];L[f+142|0]=j;k=N[o+260>>2];if((k|0)>0){l=j&-256;j=j&255;p=j+k|0;k=TE(j,0,k,0);j=Pa;k=k+127|0;j=k>>>0<127?j+1|0:j;j=p-VE(k,j,255,0)|0;A(+(j>>>0));k=v(1)|0;j=(nb=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?j&255:0,ob=0,pb=(j|0)>=0,pb?nb:ob)|l}N[f+132>>2]=j;j=N[o+236>>2];L[f+143|0]=j;k=N[o+260>>2];if((k|0)>0){l=j&-256;j=j&255;p=j+k|0;j=TE(j,0,k,0);k=Pa;j=j+127|0;k=j>>>0<127?k+1|0:k;j=p-VE(j,k,255,0)|0;A(+(j>>>0));k=v(1)|0;j=(nb=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?j&255:0,ob=0,pb=(j|0)>=0,pb?nb:ob)|l}N[f+136>>2]=j;N[f+160>>2]=N[o+460>>2];N[f+164>>2]=N[o+464>>2];N[f+168>>2]=N[o+468>>2];L[f+172|0]=O[o+472|0];y=S[o+80>>3]*S[o+544>>3];r=V(y);S[f+24>>3]=r;N[f+184>>2]=L[o+259|0];S[f+192>>3]=S[o+264>>3];S[f+200>>3]=S[o+272>>3];S[f+208>>3]=S[o+280>>3];D=S[o+176>>3];S[f+256>>3]=D;s=S[o+184>>3];S[f+264>>3]=s;N[f+280>>2]=N[o+220>>2];S[f+288>>3]=S[o+200>>3];S[f+296>>3]=S[o+208>>3];C=S[o+192>>3];S[f+304>>3]=C;N[f+320>>2]=N[o+504>>2];N[f+316>>2]=N[o+508>>2];j=N[o+92>>2];N[f+324>>2]=j;if(!(!N[N[t>>2]+16>>2]|h>>>0<753)){N[f+324>>2]=j|4}S[f+216>>3]=S[o+104>>3];S[f+224>>3]=S[o+112>>3];S[f+232>>3]=S[o+120>>3];S[f+240>>3]=S[o+128>>3];S[f+248>>3]=S[o+136>>3];h=N[o+260>>2];N[f+312>>2]=0;N[f+328>>2]=h;N[f+272>>2]=0;N[f+276>>2]=1072693248;N:{if(i){break N}C=WE(D*(C*S[o+536>>3]/S[m+184>>3])*64);O:{if(V(C)<2147483648){h=~~C;break O}h=-2147483648}N[f+312>>2]=h;P:{if(!N[m+88>>2]){K=256;break P}K=r*s;if(K==0){break N}}if(y==0){break N}r=r/K;S[f+272>>3]=1/r;S[f+256>>3]=D*r;S[f+264>>3]=s*r;S[f+24>>3]=K}N[n+12>>2]=N[n+12>>2]+1;L[o+465|0]=0;L[o+466|0]=0;L[o+467|0]=0;L[o+468|0]=0;L[o+469|0]=0;L[o+470|0]=0;L[o+471|0]=0;L[o+472|0]=0;N[o+460>>2]=0;N[o+464>>2]=0;i=g;continue}break}k=1;n=N[ca>>2];L[n+121|0]=1;if((m|0)>=2){j=N[n+160>>2];while(1){f=n+T(k,360)|0;i=N[f+160>>2];g=1;Q:{if(N[f+164>>2]){break Q}if(i){g=1;if((i|0)!=(j|0)){break Q}}g=1;if(N[f+32>>2]){break Q}h=n+T(k-1|0,360)|0;g=1;if(N[h+32>>2]){break Q}p=N[h+8>>2];t=N[p+4>>2];l=N[f+8>>2];g=1;if((t|0)!=N[l+4>>2]){break Q}g=1;if(Mb(N[p>>2],N[l>>2],t)){break Q}g=1;if(N[p+16>>2]!=N[l+16>>2]){break Q}g=1;if(S[h+24>>3]!=S[f+24>>3]){break Q}g=1;if(N[h+124>>2]!=N[f+124>>2]){break Q}g=1;if(N[h+128>>2]!=N[f+128>>2]){break Q}g=1;if(N[h+132>>2]!=N[f+132>>2]){break Q}g=1;if(N[h+136>>2]!=N[f+136>>2]){break Q}g=1;if(N[h+184>>2]!=N[f+184>>2]){break Q}g=1;if(S[h+192>>3]!=S[f+192>>3]){break Q}g=1;if(S[h+200>>3]!=S[f+200>>3]){break Q}g=1;if(S[h+208>>3]!=S[f+208>>3]){break Q}g=1;if(S[h+216>>3]!=S[f+216>>3]){break Q}g=1;if(S[h+224>>3]!=S[f+224>>3]){break Q}g=1;if(S[h+232>>3]!=S[f+232>>3]){break Q}g=1;if(S[h+240>>3]!=S[f+240>>3]){break Q}g=1;if(S[h+248>>3]!=S[f+248>>3]){break Q}g=1;if(S[h+256>>3]!=S[f+256>>3]){break Q}g=1;if(S[h+264>>3]!=S[f+264>>3]){break Q}g=1;if(N[h+280>>2]!=N[f+280>>2]){break Q}g=1;if(S[h+288>>3]!=S[f+288>>3]){break Q}g=1;if(S[h+296>>3]!=S[f+296>>3]){break Q}g=1;if(S[h+304>>3]!=S[f+304>>3]){break Q}g=1;if(N[h+316>>2]!=N[f+316>>2]){break Q}g=1;if(N[h+320>>2]!=N[f+320>>2]){break Q}g=((N[f+324>>2]^N[h+324>>2])&-5)!=0}L[f+121|0]=g;j=i?i:j;k=k+1|0;if((m|0)!=(k|0)){continue}break}}l=N[o+8>>2];f=N[o+520>>2]==-1;N[l+32>>2]=f?64:272;if(O[l+57|0]!=2){L[l+57|0]=f}f=1517976186;k=0;i=Ic();j=0;while(1){g=f;p=n+T(k,360)|0;f=Qa[N[i+32>>2]](i,N[p>>2],N[i+64>>2])|0;N[p+20>>2]=f;R:{if(!((f|0)!=1517910393&(f|0)!=1516858984)){f=1517976186;h=1;if((g|0)==1517976186){break R}N[p+20>>2]=g;f=g}h=j}j=h;k=k+1|0;if((m|0)!=(k|0)){continue}break}f=0;h=m-1|0;S:{if(!j|(h|0)<0){break S}T:{if(!h){h=0;i=1517976186;break T}j=m&1;p=m&-2;t=0;i=1517976186;while(1){g=n+T(h,360)|0;k=N[g+20>>2];U:{if((k|0)!=1517910393&(k|0)!=1516858984){break U}k=1517976186;if((i|0)==1517976186){break U}N[g+20>>2]=i;k=i}g=g-340|0;i=N[g>>2];V:{if((i|0)!=1517910393&(i|0)!=1516858984){break V}i=1517976186;if((k|0)==1517976186){break V}N[g>>2]=k;i=k}h=h-2|0;t=t+2|0;if((p|0)!=(t|0)){continue}break}if(!j){break S}}g=n+T(h,360)|0;h=N[g+20>>2];if((h|0)!=1517910393&(h|0)!=1516858984|(i|0)==1517976186){break S}N[g+20>>2]=i}while(1){W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{ia:{i=n+T(f,360)|0;g=N[i>>2];h=g>>>8|0;switch(h|0){case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break _;case 32:break ca;case 24:break da;case 23:break ea;case 6:break fa;case 3:break ga;case 0:break ha;default:break ia}}switch(h-254|0){case 1:break aa;case 0:break ba;default:break $}}if((g|0)==173){break X}break W}if((g|0)==847){break X}break W}if((g|0)==1564){break X}break W}if((g&-2)==6068){break X}break W}if(g-6155>>>0<4){break X}break W}switch(g-8203|0){case 0:case 1:case 2:case 3:case 4:case 31:case 32:case 33:case 34:case 35:break X;default:break Z}}if((g|0)==65279|(g&-16)==65024){break X}break W}if(g-65520>>>0<9){break X}break W}if((h|0)==465){break Y}}if((g&-4096)==917504){break X}break W}if((g&-16)!=8288){break W}break X}if(g-119155>>>0>=8){break W}}L[i+4|0]=1}f=f+1|0;if((m|0)!=(f|0)){continue}break}if(!(N[n+32>>2]|O[n+4|0])){vo(N[W+8>>2],N[n+8>>2],N[n>>2],n+12|0,n+16|0)}k=0;N[n+332>>2]=0;i=1;if((m|0)!=1){while(1){f=n+T(i,360)|0;if(!(N[f+32>>2]|O[f+4|0])){vo(N[W+8>>2],N[f+8>>2],N[f>>2],f+12|0,f+16|0)}ja:{ka:{la:{if(N[f-352>>2]!=N[f+8>>2]){break la}g=O[f+4|0];if(!g&N[f-348>>2]!=N[f+12>>2]|N[f-340>>2]!=N[f+20>>2]|(O[f+121|0]|!O[l+57|0]&S[f+304>>3]!=0)){break la}if(N[f-36>>2]==N[f+324>>2]){break ka}}k=k+1|0;break ja}if(!g){break ja}N[f+12>>2]=N[f-348>>2]}N[f+332>>2]=k;i=i+1|0;if((m|0)!=(i|0)){continue}break}}i=0;n=0;k=0;E=0;H=0;X=0;w=La-9040|0;La=w;$=N[ca>>2];I=N[o+8>>2];g=N[ca+4>>2];N[I+12>>2]=g;ma:{na:{h=N[ca+12>>2];oa:{if(h>>>0>Q[I+4>>2]){N[147316]=0;f=N[I+16>>2];pa:{if(h>>>0<=1073741823){g=h<<2;g=$a(f,g>>>0<=1?1:g);if(g){break pa}}N[147316]=48;N[I+16>>2]=f;break oa}N[147316]=0;N[I+16>>2]=g;if(O[I+56|0]){N[147316]=0;f=N[I+52>>2];g=h<<2;g=$a(f,g>>>0<=1?1:g);if(!g){N[147316]=48;N[I+52>>2]=f;break oa}N[147316]=0;N[I+52>>2]=g}N[147316]=0;g=N[I+20>>2];f=$a(g,h>>>0<=1?1:h);N[147316]=f?0:48;N[I+20>>2]=f?f:g;if(!f){break oa}N[147316]=0;f=N[I+24>>2];g=h<<2;g=$a(f,g>>>0<=1?1:g);if(!g){N[147316]=48;N[I+24>>2]=f;break oa}N[147316]=0;N[I+4>>2]=h;N[I+24>>2]=g;h=N[ca+12>>2];g=N[I+12>>2]}m=1;if((h|0)>0){f=0;while(1){N[(f<<2)+g>>2]=N[T(f,360)+$>>2];f=f+1|0;h=N[ca+12>>2];if((f|0)<(h|0)){continue}break}}qa:{if(!h){break qa}f=N[I+16>>2];while(1){j=N[g>>2];if(j>>>0<=1114111){j=O[(P[(j>>>7&33554430)+386528>>1]+(j&255)|0)+358112|0]}else{j=0}N[f>>2]=N[(j<<2)+358016>>2];g=g+4|0;f=f+4|0;h=h-1|0;if(h){continue}break}k=N[ca+12>>2];if((k|0)<2){break qa}f=k-1|0;j=f&3;g=N[I+16>>2];if(k-2>>>0<3){f=0}else{l=f&-4;p=k-5&-4;h=0;while(1){f=h<<2;m=((((N[f+g>>2]==2107456)+m|0)+(N[g+(f|4)>>2]==2107456)|0)+(N[g+(f|8)>>2]==2107456)|0)+(N[g+(f|12)>>2]==2107456)|0;h=h+4|0;if((l|0)!=(h|0)){continue}break}f=p+4|0}if(!j){break qa}while(1){m=(N[g+(f<<2)>>2]==2107456)+m|0;f=f+1|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}if(!(!O[I+57|0]|Q[I+8>>2]>=m>>>0)){N[147316]=0;f=N[I+28>>2];ra:{if(m>>>0<=1073741823){g=m<<2;g=$a(f,g>>>0<=1?1:g);if(g){break ra}}N[147316]=48;N[I+28>>2]=f;break oa}N[147316]=0;N[I+8>>2]=m;N[I+28>>2]=g;k=N[ca+12>>2]}if(!(!O[I+56|0]|(k|0)<=0)){i=N[I+12>>2];g=N[I+16>>2];f=N[I+52>>2];while(1){h=0;sa:{if(N[g>>2]!=64){break sa}j=N[i>>2];if(j>>>0>65535){break sa}m=O[(P[(j>>>6&67108862)+395232>>1]+(j&127)|0)+398304|0];if(!m){break sa}h=j+N[(P[(j>>>5&134217726)+396256>>1]+(j&63)<<2)+400096>>2]|0;if(m&2){h=h|-2147483648;break sa}h=h&2147483647}N[f>>2]=h;i=i+4|0;g=g+4|0;f=f+4|0;n=n+1|0;if((n|0)!=(k|0)){continue}break}k=N[ca+12>>2]}ta:{ua:{if((k|0)>0){Ra=w+1472|0;Sa=w+1408|0;Ta=w+1344|0;Ua=w+1280|0;Va=w+1216|0;Wa=w+1152|0;Xa=w+1088|0;Ya=w+1024|0;Za=w+960|0;ab=w+896|0;cb=w+832|0;eb=w+768|0;fb=w+704|0;hb=w+640|0;ib=w+576|0;jb=w+8528|4;Ea=N[I+28>>2];while(1){va:{wa:{if((k-1|0)==(H|0)|N[N[I+16>>2]+(H<<2)>>2]==2107456){break wa}f=H+1|0;if(O[I+57|0]){H=f;break va}if(O[(T(f,360)+$|0)+121|0]|S[(T(H,360)+$|0)+304>>3]!=0){break wa}H=f;break va}j=O[I+56|0]?N[I+52>>2]+(X<<2)|0:0;R=N[I+32>>2];xa:{H=H+1|0;if((X|0)==(H|0)){break xa}za=N[I+20>>2];f=N[I+16>>2];g=kb(36);if(!g){E=0;break oa}M[g+20>>1]=255;N[g+28>>2]=0;N[g+32>>2]=0;N[g+16>>2]=128;N[g+8>>2]=-1;N[g+12>>2]=-1;N[g+4>>2]=g;aa=H-X|0;if((aa|0)<=0){h=g;break ua}Fa=(X<<2)+f|0;f=0;h=g;n=0;i=0;ya:{if(!j){while(1){i=N[(n<<2)+Fa>>2];if(!((i|0)==N[h+16>>2]&!(N[h+24>>2]|i&32768))){f=kb(36);if(!f){break ua}N[f+8>>2]=0;N[f+12>>2]=0;M[f+20>>1]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=i;N[f+8>>2]=n;N[h+4>>2]=f;N[h+12>>2]=n-N[h+8>>2];N[f+24>>2]=0;N[f>>2]=h;h=f}n=n+1|0;if((aa|0)!=(n|0)){continue}break ya}}while(1){n=i<<2;k=N[n+j>>2];n=N[n+Fa>>2];if(k|(n|0)!=N[h+16>>2]|(N[h+24>>2]|n&32768)){f=kb(36);if(!f){break ua}N[f+8>>2]=0;N[f+12>>2]=0;M[f+20>>1]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=n;N[f+8>>2]=i;N[h+4>>2]=f;N[h+12>>2]=i-N[h+8>>2];N[f+24>>2]=k;N[f>>2]=h;h=f}i=i+1|0;if((aa|0)!=(i|0)){continue}break}}N[h+4>>2]=g;N[h+12>>2]=aa-N[h+8>>2];N[g>>2]=h;i=h+4|0;if(!f){break ta}n=0;i=g;za:{if(R&16){f=R;break za}while(1){i=N[i+4>>2];f=N[i+16>>2];if((f|0)==128){f=R;break za}if((f|0)==32864){n=n-((n|0)>0)|0;continue}if(f&32768){n=n+1|0;continue}if(n){continue}n=0;if(!(f&256)){continue}break}R=f&1|272}G(w+8528|0,0,508);Aa:{p=kb(36);if(p){ea=f&1;Ga=ea?273:272;M[p+20>>1]=255;N[p+28>>2]=0;N[p+32>>2]=0;N[p+16>>2]=128;N[p+8>>2]=-1;N[p+12>>2]=-1;N[p+4>>2]=p;N[p>>2]=p;l=N[g+4>>2];h=N[l+16>>2];Ba:{if((h|0)==128){break Ba}ia=l+16|0;m=64;q=0;t=p;i=ea;k=0;f=0;n=0;Z=0;E=0;while(1){Ca:{L[l+21|0]=k;Da:{if(h&1052672){Ea:{if(h&16){j=N[l+12>>2];if(!j){break Ea}J=h&1;h=h&16384?J|272:64;ia=!E;while(1){q=((i+J&254)-J|0)+2|0;Fa:{if(!(n|E|q<<24>2113929215)){n=(w+512|0)+(f<<4)|0;N[n+12>>2]=k;L[n+4|0]=i;N[n+8>>2]=0;N[n>>2]=m;f=f+1|0;m=h;i=q;n=0;break Fa}n=n+ia|0}j=j-1|0;if(j){continue}break}break Ea}if((h|0)!=4128){break Ea}j=N[l+12>>2];if(!j){break Ea}while(1){Ga:{if(!f){f=0;break Ga}h=f-1|0;J=(w+512|0)+(h<<4)|0;if(N[J+8>>2]){break Ea}if((n|0)>0){n=n-1|0;break Ga}k=N[J+12>>2];m=N[J>>2];i=O[J+4|0];f=h}j=j-1|0;if(j){continue}break}}L[l+20|0]=255;j=N[l+4>>2];N[w+4>>2]=j;h=N[l>>2];if(h){N[h+4>>2]=j;N[N[l+4>>2]>>2]=h;t=N[p>>2]}N[l>>2]=t;N[N[p>>2]+4>>2]=l;N[l+4>>2]=p;N[p>>2]=l;t=l;l=w;break Da}Ha:{if((h|0)==32864){J=N[l+12>>2];if(!J){break Ha}while(1){Ia:{if((E|0)>0){L[l+20|0]=i;E=E-1|0;break Ia}if((Z|0)>0){j=0;Ja:{if(!f){break Ja}Ka:{while(1){j=f-1|0;h=(w+512|0)+(j<<4)|0;if(N[h+8>>2]){break Ka}La:{if((n|0)>0){n=n-1|0;break La}k=N[h+12>>2];m=N[h>>2];i=O[h+4|0];f=j}if(f){continue}break}j=0;break Ja}k=N[h+12>>2];m=N[h>>2];i=O[h+4|0]}L[l+20|0]=i;k=k-((k|0)>0)|0;L[l+21|0]=k;Z=Z-1|0;n=0;f=j;break Ia}N[ia>>2]=64;L[l+20|0]=i}J=J-1|0;if(J){continue}break}break Ha}Ma:{Na:{Oa:{Pa:{if(h&32768){Qa:{switch(h-32832|0){case 0:break Oa;case 1:break Pa;default:break Qa}}if((h|0)!=33587264){break Ma}q=0;j=l;while(1){j=N[j+4>>2];h=N[j+16>>2];if((h|0)==128){break Na}if((h|0)==32864){q=q-1|0;if((Z|0)>=0){continue}break Na}if(h&32768){q=q+1|0;continue}if(q){continue}q=0;if(!(h&256)){continue}break}if(!(h&1)){break Na}q=(((i<<24>>24)%2|0)+i|0)+1|0;break Ma}if((h|0)==2107456){break Ca}L[l+20|0]=i;if(m&64){break Ha}N[ia>>2]=m;break Ha}q=(((i<<24>>24)%2|0)+i|0)+1|0;break Ma}q=(i-((i<<24>>24)%2|0)|0)+2|0;break Ma}q=(i-((i<<24>>24)%2|0)|0)+2|0}L[l+20|0]=i;if(!(m&64)){N[ia>>2]=m}k=((k|0)<124)+k|0;if(q<<24>>24<=125){Z=Z+1|0;if(!(n|E)){h=(w+512|0)+(f<<4)|0;N[h+12>>2]=k;L[h+4|0]=i;N[h+8>>2]=1;N[h>>2]=m;f=f+1|0;m=64;E=0;n=0;i=q;break Ha}n=!E+n|0;i=q;break Ha}E=E+1|0}}l=N[l+4>>2];ia=l+16|0;h=N[l+16>>2];if((h|0)!=128){continue}}break}i=0;l=N[g+4>>2];f=l;if(N[f+16>>2]==128){break Ba}while(1){h=L[f+21|0];if((h|0)<(i|0)){G(jb+(h<<2)|0,0,i-h<<2)}j=(w+8528|0)+(h<<2)|0;i=N[j>>2];if(i){N[i+32>>2]=f;N[f+28>>2]=i}N[j>>2]=f;i=h;f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}Di(l);N[w+512>>2]=Ga;q=0;n=N[g+4>>2];E=N[n+16>>2];Ra:{if((E|0)==128){break Ra}J=n+16|0;while(1){h=588912;f=588912;k=N[n+28>>2];Sa:{if(!k){break Sa}f=k;if(N[f+16>>2]==128){break Sa}i=L[n+21|0];while(1){if((i|0)>=L[f+21|0]){break Sa}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}j=N[n+32>>2];Ta:{if(!j){break Ta}h=j;i=N[h+16>>2];if((i|0)==128){break Ta}m=L[n+21|0];while(1){if((i|0)!=32864&(m|0)>=L[h+21|0]){break Ta}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}l=L[n+21|0];i=O[f+20|0];m=O[n+20|0];t=(i|0)!=(m|0);if(t){i=i<<24>>24;Z=m<<24>>24;i=((i|0)>(Z|0)?i:Z)&1?273:272}else{i=N[f+16>>2]}Z=O[h+20|0];if((Z|0)==(m|0)){m=N[h+16>>2]}else{Z=Z<<24>>24;m=m<<24>>24;m=((m|0)<(Z|0)?Z:m)&1?273:272}if(i&16){N[(w+512|0)+(l<<2)>>2]=i}Z=(l|0)<(q|0);Ua:{Va:{if((E|0)!=544){if((E|0)!=524320){break Va}E=N[n>>2];if(O[E+17|0]&128){N[J>>2]=64}Wa:{Xa:{if(!t){if((f|0)!=(E|0)){break Xa}t=N[n+4>>2];N[f+4>>2]=t;N[t>>2]=f;N[f+12>>2]=N[f+12>>2]+N[n+12>>2];Ya:{if(j){t=j+28|0}else{t=N[n+4>>2];if(N[t+28>>2]!=(n|0)){break Ya}t=t+28|0}N[t>>2]=k}k=N[n+28>>2];if(k){N[k+32>>2]=j;j=N[n+32>>2]}N[f+32>>2]=j;_a(n);break Wa}N[J>>2]=i}f=n}if((i|0)!=(m|0)){break Ua}i=N[f+4>>2];if((i|0)!=(h|0)|O[f+20|0]!=O[i+20|0]){break Ua}f=N[h>>2];i=N[h+4>>2];N[f+4>>2]=i;N[i>>2]=f;N[f+12>>2]=N[f+12>>2]+N[h+12>>2];i=N[h+32>>2];Za:{if(i){N[i+28>>2]=N[h+28>>2];break Za}j=N[h+4>>2];if(N[j+28>>2]!=(h|0)){break Za}N[j+28>>2]=N[h+28>>2]}j=N[h+28>>2];if(j){N[j+32>>2]=i;i=N[h+32>>2]}N[f+32>>2]=i;_a(h);break Ua}if(N[(w+512|0)+(l<<2)>>2]!=275){break Va}N[J>>2]=546;if((m|0)!=524320){break Va}N[h+16>>2]=546}f=n}q=Z?q:l;n=N[f+4>>2];J=n+16|0;E=N[n+16>>2];if((E|0)!=128){continue}break}n=N[g+4>>2];j=N[n+16>>2];N[w+512>>2]=Ga;if((j|0)==128){break Ra}E=n+16|0;l=64;J=1;k=n;while(1){m=L[k+21|0];h=588912;f=588912;i=N[k+28>>2];_a:{if(!i){break _a}f=i;if(N[f+16>>2]==128){break _a}while(1){if((m|0)>=L[f+21|0]){break _a}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}i=N[k+32>>2];$a:{if(!i){break $a}h=i;i=N[h+16>>2];if((i|0)==128){break $a}while(1){if((i|0)!=32864&(m|0)>=L[h+21|0]){break $a}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}t=O[f+20|0];i=O[k+20|0];if((t|0)==(i|0)){f=N[f+16>>2]}else{f=t<<24>>24;t=i<<24>>24;f=((f|0)>(t|0)?f:t)&1?273:272}t=O[h+20|0];if((t|0)==(i|0)){h=N[h+16>>2]}else{h=t<<24>>24;t=i<<24>>24;h=((h|0)>(t|0)?h:t)&1?273:272}if(f&16){N[(w+512|0)+(m<<2)>>2]=f}ab:{if((j|0)==275){N[E>>2]=273;k=N[k+4>>2];J=1;l=64;break ab}bb:{if(!J|!(j&327680)|(!(l&512)|N[k+12>>2]!=1)){break bb}if((l|0)!=544&(j|0)!=263200|(h|0)!=(l|0)){break bb}N[E>>2]=f;j=f}cb:{db:{eb:{fb:{if((j|0)==132128){if((l|0)!=544&(h|0)!=544){break fb}N[E>>2]=544;J=0;break db}if(!(j&1024)){break eb}}N[E>>2]=64;J=1;break cb}J=1;if((j|0)!=544){break cb}}if(N[(w+512|0)+(m<<2)>>2]!=272){break cb}N[E>>2]=272;k=N[k+4>>2];l=(i|0)==O[k+20|0]?544:64;break ab}k=N[k+4>>2];f=N[k>>2];h=O[f+20|0];i=O[k+20|0];if((h|0)==(i|0)){l=N[f+16>>2];break ab}f=h<<24>>24;h=i<<24>>24;l=((f|0)>(h|0)?f:h)&1?273:272}E=k+16|0;j=N[k+16>>2];if((j|0)!=128){continue}break}}Jo(n);N[w+8524>>2]=0;j=L[g+20|0];f=(q<<2)+4|0;G(w+8528|0,0,f);G(w,0,f);N[w+8588>>2]=Ra;N[w+8584>>2]=Sa;N[w+8580>>2]=Ta;N[w+8576>>2]=Ua;N[w+8572>>2]=Va;N[w+8568>>2]=Wa;N[w+8564>>2]=Xa;N[w+8560>>2]=Ya;N[w+8556>>2]=Za;N[w+8552>>2]=ab;N[w+8548>>2]=cb;N[w+8544>>2]=eb;N[w+8540>>2]=fb;N[w+8536>>2]=hb;N[w+8532>>2]=ib;N[w+8528>>2]=w+512;f=16;if((q|0)>15){while(1){nb=(w+8528|0)+(f<<2)|0,ob=kb(252),N[nb>>2]=ob;h=(f|0)==(q|0);f=f+1|0;if(!h){continue}break}}k=0;l=0;n=N[g+4>>2];h=N[n+16>>2];gb:{if((h|0)==128){break gb}while(1){f=k;i=j;j=L[n+20|0];k=L[n+21|0];if(!((i|0)==(j|0)|(f|0)!=(k|0))){N[(f<<2)+w>>2]=0}hb:{if((h|0)!=64){break hb}h=N[n+24>>2];if(!h){break hb}i=k<<2;m=i+w|0;f=N[m>>2];if((h|0)<0){if((f|0)==63){break gb}h=N[i+(w+8528|0)>>2];N[m>>2]=f+1;N[(f<<2)+h>>2]=n;break hb}i=i+(w+8528|0)|0;while(1){if((f|0)<=0){break hb}f=f-1|0;t=N[N[i>>2]+(f<<2)>>2];if((h^N[t+24>>2])&2147483647){continue}break}N[m>>2]=f;f=kb(12);N[f+8>>2]=l;N[f+4>>2]=n;N[f>>2]=t;l=f}n=N[n+4>>2];h=N[n+16>>2];if((h|0)!=128){continue}break}}N[w+8524>>2]=l;Ci(w+8524|0);l=N[w+8524>>2];E=l;if(l){while(1){j=N[E>>2];k=L[j+20|0];ib:{jb:{f=j;n=N[E+4>>2];t=(f|0)==(n|0);if(!t){while(1){h=273;kb:{lb:{mb:{i=N[f+16>>2];switch(i-544|0){case 0:case 2:break kb;case 1:break lb;default:break mb}}if((i|0)==273){break kb}}h=i}if(h&16){i=h;h=L[f+20|0];if((((i^h)&1)+h|0)==(k|0)){break jb}}f=N[f+4>>2];if((n|0)!=(f|0)){continue}break}}m=O[j+21|0];f=j;nb:{while(1){i=273;ob:{pb:{qb:{f=N[f>>2];h=N[f+16>>2];switch(h-544|0){case 0:case 2:break ob;case 1:break pb;default:break qb}}if((h|0)==273){break ob}if((h|0)==128){break nb}}i=h;if(!(h&16)){continue}}if((m|0)!=O[f+21|0]){continue}break}f=O[f+20|0];k=((f^i)&1)+f|0}f=j;if(t){break ib}while(1){rb:{sb:{tb:{ub:{h=N[f+16>>2];switch(h-544|0){case 0:case 2:break sb;case 1:break tb;default:break ub}}if((h|0)==273){break sb}}if(!(h&16)){break rb}}if((m|0)==O[f+21|0]){break jb}}f=N[f+4>>2];if((n|0)!=(f|0)){continue}break}break ib}f=k&1|272;N[n+16>>2]=f;N[j+16>>2]=f}E=N[E+8>>2];if(E){continue}break}while(1){f=N[l+8>>2];_a(l);l=f;if(f){continue}break}}f=16;if((q|0)>=16){while(1){_a(N[(w+8528|0)+(f<<2)>>2]);h=(f|0)!=(q|0);f=f+1|0;if(h){continue}break}}h=N[g+4>>2];f=h;if(N[f+16>>2]!=128){while(1){N[f+24>>2]=0;f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}Jo(h);m=N[g+4>>2];j=N[m+16>>2];if((j|0)!=128){q=m+16|0;n=m;while(1){h=588912;f=588912;i=N[n+28>>2];vb:{if(!i){break vb}if(N[i+16>>2]==128){f=i;break vb}k=L[n+21|0];f=i;while(1){if((k|0)>=L[f+21|0]){break vb}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}k=N[n+32>>2];wb:{if(!k){break wb}i=N[k+16>>2];if((i|0)==128){h=k;break wb}l=L[n+21|0];h=k;while(1){if((i|0)!=32864&(l|0)>=L[h+21|0]){break wb}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}k=O[f+20|0];i=O[n+20|0];xb:{if((k|0)==(i|0)){f=N[f+16>>2];f=f&512?273:f;break xb}f=k<<24>>24;k=i<<24>>24;f=((f|0)>(k|0)?f:k)&1?273:272}k=O[h+20|0];yb:{if((k|0)==(i|0)){h=N[h+16>>2];h=h&512?273:h;break yb}h=k<<24>>24;k=i<<24>>24;h=((h|0)>(k|0)?h:k)&1?273:272}if((j&576)==64){N[q>>2]=(f|0)==(h|0)?f:i&1?273:272}n=N[n+4>>2];q=n+16|0;j=N[n+16>>2];if((j|0)!=128){continue}break}}Di(m);j=N[g+4>>2];f=j;h=N[f+16>>2];if((h|0)!=128){while(1){i=O[f+20|0];L[f+20|0]=h&512?(i&-2)+2|0:i+((h^i)&1)|0;f=N[f+4>>2];h=N[f+16>>2];if((h|0)!=128){continue}break}}Di(j);zb:{Ab:{if(N[p+4>>2]==(p|0)){break Ab}if(!Ko(g,p,1)){break zb}f=N[g+4>>2];if(!((g|0)==(f|0)|O[f+20|0]!=255)){L[f+20|0]=ea}p=0;if(N[f+16>>2]==128){break Ab}while(1){if(O[f+20|0]==255){L[f+20|0]=O[N[f>>2]+20|0]}f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}n=1;m=kb(36);if(!m){break Aa}M[m+20>>1]=255;N[m+28>>2]=0;N[m+32>>2]=0;N[m+16>>2]=128;N[m+8>>2]=-1;N[m+12>>2]=-1;N[m+4>>2]=m;N[m>>2]=m;if((aa|0)>=0){i=1;k=m;j=aa-1|0;h=j;while(1){l=h;if((h|0)<0){f=64}else{f=N[(l<<2)+Fa>>2]}h=!i;Bb:{if(h){i=h&(f&8192)>>>13;j=i?l:j;break Bb}i=1;if(f&9482240){break Bb}f=kb(36);if(!f){N[N[m>>2]+4>>2]=0;while(1){f=N[m+4>>2];_a(m);m=f;if(f){continue}break}break Aa}i=0;L[f+21|0]=0;N[f+28>>2]=0;N[f+32>>2]=0;L[f+20|0]=ea;N[f+16>>2]=Ga;N[f>>2]=0;N[f+4>>2]=0;N[f+12>>2]=j-l;N[f+8>>2]=l+1;N[f>>2]=N[k>>2];N[N[k>>2]+4>>2]=f;N[f+4>>2]=k;N[k>>2]=f;k=f}h=l-1|0;if((l|0)>=0){continue}break}}if(!Ko(g,m,0)){break Aa}n=0;f=N[g+4>>2];if(N[f+16>>2]==128){break Aa}i=X+za|0;while(1){h=N[f+12>>2];if(h){G(i+n|0,O[f+20|0],h);n=h+n|0}f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}n=0;break Aa}h=N[g>>2]}E=0;N[h+4>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}break oa}N[N[g>>2]+4>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}if(p){N[N[p>>2]+4>>2]=0;while(1){f=N[p+4>>2];_a(p);p=f;if(f){continue}break}if(!n){break xa}E=0;break oa}if(!n){break xa}E=0;break oa}if(O[I+57|0]){N[Ea>>2]=R;Ea=Ea+4|0}X=H}k=N[ca+12>>2];if((H|0)<(k|0)){continue}break}}if(!N[I>>2]){E=1;q=db(1,k);if(k){g=q;R=N[I+12>>2];f=R;m=k;if(k&1){f=N[f>>2];if(f>>>0<=1048575){f=O[(P[(f>>>7&33554430)+404704>>1]+(f&255)|0)+412896|0]}else{f=0}L[g|0]=f;m=k-1|0;g=q+1|0;f=R+4|0}ea=1;Cb:{Db:{if((k|0)!=1){while(1){h=N[f>>2];if(h>>>0<=1048575){h=O[(P[(h>>>7&33554430)+404704>>1]+(h&255)|0)+412896|0]}else{h=0}L[g|0]=h;h=N[f+4>>2];if(h>>>0<=1048575){h=O[(P[(h>>>7&33554430)+404704>>1]+(h&255)|0)+412896|0]}else{h=0}L[g+1|0]=h;f=f+8|0;g=g+2|0;m=m-2|0;if(m){continue}break}J=N[I+20>>2];ea=(k|0)>0;f=J;if(ea){break Db}break Cb}f=N[I+20>>2]}J=f;Z=N[I+16>>2];t=0;n=255;g=0;j=0;h=0;i=0;while(1){aa=g+q|0;f=O[aa|0];X=f&24;Eb:{if((X|0)==16){break Eb}m=255;m=N[Z+(g<<2)>>2]&1052672?m:O[g+J|0];H=f&4;p=0;l=0;Fb:{Gb:{Hb:{if(j){j=m&255;if((j|0)==255){break Hb}ia=n&255;if((ia|0)==255){break Hb}l=1;if((j|0)==(ia|0)){break Hb}}if(!H|X){break Gb}L[aa|0]=f&(m&1?-2:-3);break Gb}j=1;if(X){break Fb}p=1;l=1;X=m&1?1:2;if(!(X&f)){break Gb}f=t+1|0;if((g|0)<=(f|0)){break Fb}l=0;p=(t^-1)+g&3;if(p){while(1){ia=f+q|0;L[ia|0]=X|(O[ia|0]|h);f=f+1|0;l=l+1|0;if((p|0)!=(l|0)){continue}break}}if((g-2|0)-t>>>0<3){break Fb}while(1){l=f+q|0;L[l|0]=X|(O[l|0]|h);L[l+1|0]=X|(O[l+1|0]|h);L[l+2|0]=X|(O[l+2|0]|h);L[l+3|0]=X|(O[l+3|0]|h);f=f+4|0;if((g|0)!=(f|0)){continue}break}break Fb}if(!(!l|!i)){f=q+t|0;L[f|0]=O[f|0]&(h^-1)}j=p}f=O[aa|0];if(f&24){break Eb}h=m&1?2:1;j=(f&h)!=0;i=H;n=m;t=g}g=g+1|0;if((k|0)!=(g|0)){continue}break}if(!j|!i){break Cb}f=q+t|0;L[f|0]=O[f|0]&(h^-1)}Ib:{if(!R){break Ib}Jb:{if(!q){break Jb}if(!ea){break Ib}g=0;while(1){f=O[g+q|0];if(f&4){h=R+(g<<2)|0;j=h;h=N[h>>2];N[j>>2]=N[(h-1748>>>0<4294967117?j:(h<<4|(f&3)<<2)+406576|0)>>2]}g=g+1|0;if((k|0)!=(g|0)){continue}break}if((k|0)<2){break Jb}p=k-2|0;l=0;while(1){h=l;l=h+1|0;f=O[h+J|0];Kb:{if(!(f&1)|(f|0)!=O[l+J|0]){break Kb}t=R+(h<<2)|0;i=N[t>>2];if(i-65249>>>0<4294967294){break Kb}H=R+(l<<2)|0;j=N[H>>2];g=7;f=0;while(1){Lb:{Mb:{Nb:{Ob:{n=f+g>>>1|0;m=T(n,12);X=N[m+431584>>2];Pb:{if((X|0)!=(i|0)){if(i>>>0>>0){break Pb}break Nb}X=N[m+431588>>2];if(X>>>0<=j>>>0){break Ob}}g=n-1|0;break Mb}if(j>>>0<=X>>>0){break Lb}}f=n+1|0}if((f|0)<=(g|0)){continue}break Kb}break}f=N[m+431592>>2];if(!f){break Kb}N[t>>2]=65279;g=h+q|0;L[g|0]=O[g|0]|32;N[H>>2]=f}if((h|0)!=(p|0)){continue}break}}if(!ea){break Ib}g=k;while(1){f=g;g=f-1|0;Qb:{if(!(L[J+g|0]&1)){break Qb}i=R+(g<<2)|0;h=N[i>>2];if(h>>>0>65535){break Qb}j=M[(P[(h>>>5&134217726)+434544>>1]+(h&63)<<1)+436592>>1];if(!j){break Qb}N[i>>2]=h+j}if(f>>>0>1){continue}break}}f=0;while(1){g=T(f,360)+$|0;h=N[(N[g+8>>2]+(N[g+12>>2]<<2)|0)+68>>2];i=N[I+12>>2]+(f<<2)|0;N[g>>2]=N[i>>2];i=xe(N[h+92>>2],N[i>>2]);N[g+16>>2]=i;if(i){j=N[h+92>>2];if(j){i=Qa[N[N[j+12>>2]+12>>2]](j,i)|0;h=i>>>0>2]?i:0}else{h=0}N[g+16>>2]=h}f=f+1|0;if((k|0)!=(f|0)){continue}break}}_a(q);break oa}q=db(1,172);Rb:{if(!q){q=588184;break Rb}N[q+148>>2]=1073741823;N[q+152>>2]=536870911;N[q>>2]=1;N[q+4>>2]=1;f=Ic();Sb:{if(!f){break Sb}g=N[f>>2];if(!g){break Sb}if((g|0)<=0){break na}N[f>>2]=g+1}L[q+60|0]=1;N[q+24>>2]=65533;N[q+12>>2]=f}N[w+8528>>2]=0;N[w+8532>>2]=0;Tb:{if(k){f=0;g=0;if(k>>>0>=8){h=k&-8;while(1){L[(T(g,360)+$|0)+4|0]=1;L[(T(g|1,360)+$|0)+4|0]=1;L[(T(g|2,360)+$|0)+4|0]=1;L[(T(g|3,360)+$|0)+4|0]=1;L[(T(g|4,360)+$|0)+4|0]=1;L[(T(g|5,360)+$|0)+4|0]=1;L[(T(g|6,360)+$|0)+4|0]=1;L[(T(g|7,360)+$|0)+4|0]=1;g=g+8|0;if((h|0)!=(g|0)){continue}break}}h=k&7;if(h){while(1){L[(T(g,360)+$|0)+4|0]=1;g=g+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}H=k-1|0;f=0;while(1){n=T(f,360)+$|0;Ub:{if(N[n+32>>2]){L[n+4|0]=0;j=f;break Ub}Vb:{m=N[n+8>>2];i=N[m+108>>2];if(i){break Vb}i=db(120,1);N[m+108>>2]=i;if(i){break Vb}E=0;break oa}g=N[n+12>>2];h=g<<2;if(!N[h+i>>2]){t=N[(h+m|0)+68>>2];g=db(1,212);Wb:{if(!g){g=588540;break Wb}N[g+32>>2]=-1;N[g+20>>2]=0;N[g+16>>2]=t;N[g+12>>2]=364;N[g>>2]=1;N[g+4>>2]=1;N[g+48>>2]=g;N[g+36>>2]=g}if(N[g+4>>2]){N[g+24>>2]=N[t+4>>2];N[g+28>>2]=P[t+68>>1]}h=Lp(g);N[(N[n+12>>2]<<2)+i>>2]=h;nj(g);E=0;if(!h){break oa}Xb:{if(!N[h+4>>2]){break Xb}g=P[t+68>>1];j=N[t+88>>2];l=N[j+20>>2];p=TE(g,0,l,l>>31);l=Pa;p=p+32768|0;l=((p>>>0<32768?l+1|0:l)&65535)<<16|p>>>16;p=g;g=N[j+16>>2];g=TE(p,0,g,g>>31);j=Pa;g=g+32768|0;g=((g>>>0<32768?j+1|0:j)&65535)<<16|g>>>16;if((g|0)==N[h+28>>2]&(l|0)==N[h+32>>2]){break Xb}N[h+32>>2]=l;N[h+28>>2]=g;N[h+12>>2]=N[h+12>>2]+1;Fe(h)}j=db(40,1);p=N[n+12>>2];N[(N[m+108>>2]+(p<<2)|0)+80>>2]=j;if(!j){break oa}N[j>>2]=N[I+48>>2];N[j+32>>2]=N[N[n+8>>2]+16>>2];g=db(1,92);Yb:{if(!g){g=588448;break Yb}N[g>>2]=1;N[g+4>>2]=1;B(g+20|0,588468,72);p=N[n+12>>2]}N[(N[m+108>>2]+(p<<2)|0)+40>>2]=g;Zb:{if(!N[g+4>>2]){break Zb}l=N[g+16>>2];_b:{if(!l){break _b}p=N[l+8>>2];if(!p){break _b}l=N[g+12>>2];if(l){l=N[l+8>>2]}else{l=0}Qa[p|0](l)}p=N[g+12>>2];$b:{if(!p){p=db(1,72);N[g+12>>2]=p;if(!p){break $b}}N[g+28>>2]=365;N[p+8>>2]=j;l=N[g+16>>2];if(!l){break $b}N[l+8>>2]=0}if(!N[g+4>>2]){break Zb}l=N[g+16>>2];ac:{if(!l){break ac}p=N[l+16>>2];if(!p){break ac}l=N[g+12>>2];if(l){l=N[l+16>>2]}else{l=0}Qa[p|0](l)}p=N[g+12>>2];bc:{if(!p){p=db(1,72);N[g+12>>2]=p;if(!p){break bc}}N[g+36>>2]=366;N[p+16>>2]=j;l=N[g+16>>2];if(!l){break bc}N[l+16>>2]=0}if(!N[g+4>>2]){break Zb}l=N[g+16>>2];cc:{if(!l){break cc}p=N[l+20>>2];if(!p){break cc}l=N[g+12>>2];if(l){l=N[l+20>>2]}else{l=0}Qa[p|0](l)}p=N[g+12>>2];dc:{if(!p){p=db(1,72);N[g+12>>2]=p;if(!p){break dc}}N[g+40>>2]=367;N[p+20>>2]=j;l=N[g+16>>2];if(!l){break dc}N[l+20>>2]=0}if(!N[g+4>>2]){break Zb}l=N[g+16>>2];ec:{if(!l){break ec}p=N[l+24>>2];if(!p){break ec}l=N[g+12>>2];if(l){l=N[l+24>>2]}else{l=0}Qa[p|0](l)}p=N[g+12>>2];fc:{if(!p){p=db(1,72);N[g+12>>2]=p;if(!p){break fc}}N[g+44>>2]=368;N[p+24>>2]=j;l=N[g+16>>2];if(!l){break fc}N[l+24>>2]=0}if(!N[g+4>>2]){break Zb}l=N[g+16>>2];gc:{if(!l){break gc}p=N[l+36>>2];if(!p){break gc}l=N[g+12>>2];if(l){l=N[l+36>>2]}else{l=0}Qa[p|0](l)}p=N[g+12>>2];hc:{if(!p){p=db(1,72);N[g+12>>2]=p;if(!p){break hc}}N[g+56>>2]=369;N[p+36>>2]=j;l=N[g+16>>2];if(!l){break hc}N[l+36>>2]=0}if(!N[g+4>>2]){break Zb}l=N[g+16>>2];ic:{if(!l){break ic}p=N[l+40>>2];if(!p){break ic}l=N[g+12>>2];if(l){l=N[l+40>>2]}else{l=0}Qa[p|0](l)}p=N[g+12>>2];jc:{if(!p){p=db(1,72);N[g+12>>2]=p;if(!p){break jc}}N[g+60>>2]=370;N[p+40>>2]=j;l=N[g+16>>2];if(!l){break jc}N[l+40>>2]=0}if(!N[g+4>>2]){break Zb}l=N[g+16>>2];kc:{if(!l){break kc}p=N[l+44>>2];if(!p){break kc}l=N[g+12>>2];if(l){l=N[l+44>>2]}else{l=0}Qa[p|0](l)}p=N[g+12>>2];lc:{if(!p){p=db(1,72);N[g+12>>2]=p;if(!p){break lc}}N[g- -64>>2]=371;N[p+44>>2]=j;l=N[g+16>>2];if(!l){break lc}N[l+44>>2]=0}if(!N[g+4>>2]){break Zb}l=N[g+16>>2];mc:{if(!l){break mc}p=N[l+48>>2];if(!p){break mc}l=N[g+12>>2];if(l){l=N[l+48>>2]}else{l=0}Qa[p|0](l)}p=N[g+12>>2];nc:{if(!p){p=db(1,72);N[g+12>>2]=p;if(!p){break nc}}N[g+68>>2]=372;N[p+48>>2]=j;l=N[g+16>>2];if(!l){break nc}N[l+48>>2]=0}if(!N[g+4>>2]){break Zb}l=N[g+16>>2];oc:{if(!l){break oc}p=N[l+52>>2];if(!p){break oc}l=N[g+12>>2];if(l){l=N[l+52>>2]}else{l=0}Qa[p|0](l)}p=N[g+12>>2];pc:{if(!p){p=db(1,72);N[g+12>>2]=p;if(!p){break pc}}N[g+72>>2]=373;N[p+52>>2]=j;l=N[g+16>>2];if(!l){break pc}N[l+52>>2]=0}if(!N[g+4>>2]){break Zb}l=N[g+16>>2];qc:{if(!l){break qc}p=N[l+56>>2];if(!p){break qc}l=N[g+12>>2];if(l){l=N[l+56>>2]}else{l=0}Qa[p|0](l)}E=N[g+12>>2];if(!E){E=db(1,72);N[g+12>>2]=E;if(!E){break Zb}}N[g+76>>2]=374;N[E+56>>2]=j;j=N[g+16>>2];if(!j){break Zb}N[j+56>>2]=0}if(N[h+4>>2]){N[h+12>>2]=N[h+12>>2]+1;j=N[h+104>>2];if(j){Qa[j|0](N[h+100>>2])}j=N[g>>2];if(j){if((j|0)<=0){break na}N[g>>2]=j+1}nc(N[h+96>>2]);N[h+104>>2]=0;N[h+100>>2]=t;N[h+96>>2]=g}g=N[n+12>>2]}j=m+68|0;h=N[(g<<2)+j>>2];r=S[n+24>>3];N[w+512>>2]=1;N[w+516>>2]=0;N[w+524>>2]=0;N[w+528>>2]=0;r=WE(r*64);rc:{if(V(r)<2147483648){g=~~r;break rc}g=-2147483648}N[w+520>>2]=g;eg(h,w+512|0);g=N[n+12>>2]<<2;h=N[g+i>>2];sc:{if(!N[h+4>>2]){break sc}l=N[g+j>>2];j=N[l+88>>2];p=N[j+20>>2];g=P[l+68>>1];p=TE(p,p>>31,g,0);p=(Pa&65535)<<16|p>>>16;t=g;g=N[j+16>>2];g=TE(t,0,g,g>>31);g=(Pa&65535)<<16|g>>>16;tc:{if(!((g|0)!=N[h+28>>2]|(p|0)!=N[h+32>>2])){J=P[j+14>>1];g=P[j+12>>1];break tc}N[h+32>>2]=p;N[h+28>>2]=g;N[h+12>>2]=N[h+12>>2]+1;Fe(h);if(!N[h+4>>2]){break sc}g=N[l+88>>2];J=P[g+14>>1];g=P[g+12>>1]}if((g|0)==N[h+72>>2]&N[h+76>>2]==(J|0)){break sc}N[h+76>>2]=J;N[h+72>>2]=g;N[h+12>>2]=N[h+12>>2]+1}h=N[n+12>>2];j=h<<2;g=N[(j+N[m+108>>2]|0)+80>>2];N[g+8>>2]=N[n+8>>2];N[g+24>>2]=h;S[g+16>>3]=S[n+24>>3];p=N[i+j>>2];if(!p){E=0;break oa}h=f>>>0>H>>>0?f:H;i=N[I+20>>2];l=O[i+f|0];m=N[n+332>>2];g=f;while(1){uc:{j=g;if((g|0)==(h|0)){j=h;break uc}g=j+1|0;if((m|0)!=N[(T(g,360)+$|0)+332>>2]){break uc}if((l|0)==O[g+i|0]){continue}}break}g=(j-f|0)+1|0;if(!(!g|g>>>0>2])){gb(q,g)}vc:{if(O[I+57|0]){wl(q,N[I+12>>2],k,f,g);i=0;break vc}m=0;i=0;wc:{if((f|0)<=0){break wc}i=0;if(O[n+121|0]){break wc}i=(N[n-360>>2]&-2)==8204}xc:{if(j>>>0>=H>>>0){break xc}h=T(j+1|0,360)+$|0;if(O[h+121|0]){break xc}m=(N[h>>2]&-2)==8204}wl(q,(N[I+12>>2]+(f<<2)|0)-(i<<2)|0,(g+i|0)+m|0,i,g)}g=N[n+20>>2];m=N[I+44>>2];yc:{if(m){break yc}zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{Gc:{Hc:{Ic:{Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{Sc:{Tc:{Uc:{Vc:{Wc:{Xc:{Yc:{Zc:{_c:{if((g|0)<=1265134961){if((g|0)<=1165256808){if((g|0)<=1130458738){if((g|0)<=1113943654){h=12238;if((g|0)==1098015074){break Ac}if((g|0)!=1098018158){break zc}h=7939;break Ac}if((g|0)==1113943655){break _c}if((g|0)==1114990441){break Bc}if((g|0)!=1114990692){break zc}h=8327;break Ac}if((g|0)<=1131376755){if((g|0)==1130458739){break Zc}if((g|0)!=1130915186){break zc}h=11946;break Ac}if((g|0)==1131376756){break Yc}if((g|0)==1132032620){break Xc}if((g|0)!=1147500129){break zc}h=13897;break Ac}if((g|0)<=1214344806){if((g|0)<=1198679402){if((g|0)==1165256809){break Ic}if((g|0)!=1197830002){break zc}h=18433;break Ac}if((g|0)==1198679403){break Wc}if((g|0)==1198877298){break Vc}if((g|0)!=1198879349){break zc}h=18430;break Ac}if((g|0)<=1214870112){switch(g-1214344807|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break zc;case 8:break Dc;case 0:break Uc;default:break Tc}}if((g|0)==1214870113){break Sc}if((g|0)!=1264676449){break zc}h=18436;break Ac}if((g|0)<=1400468066){if((g|0)<=1299148390){if((g|0)<=1281453934){if((g|0)==1265134962){break Hc}if((g|0)!=1265525857){break zc}h=12840;break Ac}if((g|0)==1281453935){break Rc}if((g|0)==1281455214){break Qc}if((g|0)!=1298954605){break zc}h=13207;break Ac}if((g|0)<=1332902240){if((g|0)==1299148391){break Pc}if((g|0)==1299803506){break Gc}if((g|0)!=1315663727){break zc}h=12489;break Ac}if((g|0)==1332902241){break Oc}if((g|0)==1399418472){break Fc}if((g|0)!=1400466543){break zc}h=13182;break Ac}if((g|0)<=1416126816){if((g|0)<=1415671147){if((g|0)==1400468067){break Nc}if((g|0)!=1415669602){break zc}h=8281;break Ac}if((g|0)==1415671148){break Mc}if((g|0)==1415933045){break Lc}if((g|0)!=1416064103){break zc}h=13186;break Ac}if((g|0)<=1432838513){switch(g-1416126817|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break zc;case 0:break Ec;case 8:break Kc;default:break Jc}}if((g|0)==1432838514){break Cc}if((g|0)!=1483761007){break zc}h=12530;break Ac}h=13109;break Ac}h=8331;break Ac}h=12293;break Ac}h=8324;break Ac}h=13352;break Ac}h=8334;break Ac}h=12490;break Ac}if((g|0)!=1214603890){break zc}h=16107;break Ac}h=18436;break Ac}h=12486;break Ac}h=13106;break Ac}h=12837;break Ac}h=11943;break Ac}h=11768;break Ac}h=18413;break Ac}h=15470;break Ac}h=14040;break Ac}if((g|0)!=1416192628){break zc}h=12534;break Ac}h=13163;break Ac}h=13132;break Ac}h=7936;break Ac}h=13894;break Ac}h=8321;break Ac}h=12833;break Ac}h=18439;break Ac}h=14511}if(!O[h|0]){break zc}h=he(h);if(!h){break zc}m=N[h+4>>2];if(m){break yc}}m=N[147446];if(m){break yc}m=0;h=N[147878];h=h?h+8|0:20427;$c:{if(!O[h|0]){break $c}h=he(h);if(!h){break $c}m=N[h+4>>2]}if(N[147446]){break yc}N[147446]=m}if(N[q+4>>2]){N[q+48>>2]=m;N[q+44>>2]=g;N[q+40>>2]=l&1?5:4;g=N[w+8532>>2];N[q+52>>2]=N[w+8528>>2];N[q+56>>2]=g}g=N[I+40>>2];h=N[N[n+8>>2]+16>>2]!=0;N[g+4>>2]=h;N[g+20>>2]=h;h=S[n+304>>3]==0;N[g+52>>2]=h;N[g+68>>2]=h;Ee(p,q,g,N[I+36>>2]);n=O[I+57|0];p=N[q+80>>2];m=N[q+68>>2];ad:{bd:{if(O[q+63|0]){break bd}h=0;if(N[q+168>>2]){break ad}N[q+84>>2]=p;N[q+72>>2]=0;M[q+62>>1]=256;g=T(m,20);if(!g){break bd}G(N[q+88>>2],0,g)}h=N[q+88>>2]}if((m|0)>0){t=n?0:f-i|0;i=0;while(1){l=T(i,20);R=l+p|0;n=T(t+N[R+8>>2]|0,360)+$|0;g=n;f=g;cd:{if(O[f+4|0]){break cd}while(1){f=g;g=N[f+352>>2];if(g){continue}break}g=kb(360);N[f+352>>2]=g;if(!g){break cd}B(g,f,360);g=N[f+8>>2];if(g){if(!N[g-8>>2]){break a}g=g-4|0;E=N[g>>2];if(!E){break a}N[g>>2]=E+1}f=N[f+352>>2];N[f+352>>2]=0}L[f+4|0]=0;N[f+16>>2]=N[R>>2];r=S[f+256>>3];l=h+l|0;D=WE(r*+N[l+8>>2]);dd:{if(V(D)<2147483648){g=~~D;break dd}g=-2147483648}N[f+112>>2]=g;D=S[f+264>>3];s=WE(D*+(0-N[l+12>>2]|0));ed:{if(V(s)<2147483648){g=~~s;break ed}g=-2147483648}N[f+116>>2]=g;r=WE(r*+N[l>>2]);fd:{if(V(r)<2147483648){g=~~r;break fd}g=-2147483648}N[f+144>>2]=g;r=WE(D*+(0-N[l+4>>2]|0));gd:{if(V(r)<2147483648){l=~~r;break gd}l=-2147483648}N[f+148>>2]=l;N[n+156>>2]=l+N[n+156>>2];N[n+152>>2]=g+N[n+152>>2];i=i+1|0;if((m|0)!=(i|0)){continue}break}}if(!N[q+4>>2]){break Ub}We(N[q+12>>2]);f=Ic();hd:{if(!f){break hd}g=N[f>>2];if(!g){break hd}if((g|0)<=0){break Tb}N[f>>2]=g+1}N[q+24>>2]=65533;N[q+16>>2]=0;N[q+20>>2]=0;N[q+12>>2]=f;N[q+52>>2]=0;N[q+56>>2]=0;N[q+44>>2]=0;N[q+48>>2]=0;N[q+36>>2]=0;N[q+40>>2]=0;N[q+28>>2]=0;N[q+32>>2]=0;L[q+60|0]=1;L[q+68|0]=0;L[q+69|0]=0;L[q+70|0]=0;L[q+71|0]=0;L[q+72|0]=0;L[q+73|0]=0;L[q+74|0]=0;L[q+75|0]=0;L[q+61|0]=0;L[q+62|0]=0;L[q+63|0]=0;L[q+64|0]=0;L[q+65|0]=0;L[q+66|0]=0;L[q+67|0]=0;L[q+68|0]=0;N[q+144>>2]=0;N[q+84>>2]=N[q+80>>2];M[q+140>>1]=0;N[q+132>>2]=0;N[q+136>>2]=0;N[q+124>>2]=0;N[q+128>>2]=0;N[q+116>>2]=0;N[q+120>>2]=0;N[q+108>>2]=0;N[q+112>>2]=0;N[q+100>>2]=0;N[q+104>>2]=0;N[q+92>>2]=0;N[q+96>>2]=0}f=j+1|0;if(k>>>0>f>>>0){continue}break}}bc(q);E=1;break oa}break na}N[h+4>>2]=g;N[h+12>>2]=aa-N[h+8>>2];N[g>>2]=h;i=h+4|0}E=0;N[i>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}}La=w+9040|0;break ma}ba(23506,14099,260,16403);F()}if(!E){i=0;mb(N[W>>2],1,8437,0);tb(N[o+72>>2]);N[o+496>>2]=0;N[o+500>>2]=0;N[o+72>>2]=0;N[o+296>>2]=0;N[o+300>>2]=0;f=N[o+4>>2];if(!f){break o}N[f+12>>2]=0;break o}p=N[o+4>>2];m=N[p+12>>2];id:{if((m|0)<=0){l=p+12|0;f=0;break id}j=N[p>>2];h=0;while(1){n=T(h,360);f=n+j|0;while(1){i=N[o>>2];jd:{kd:{if(N[f+32>>2]){N[u+144>>2]=1;g=N[f+36>>2];N[u+152>>2]=N[f+32>>2];N[u+156>>2]=g;g=rc(N[i+844>>2],u+144|0,i);if(!g){break jd}if(!O[g|0]){tb(g);break jd}y=0;k=N[f+40>>2]-1&31;if((k|0)!=31){y=1/+(1<>3]*S[o+544>>3];m=N[f+44>>2]<<6;k=N[g+72>>2]-m|0;D=s*+(0-k|0);r=y*S[f+256>>3]*S[o+536>>3]/S[i+184>>3];break kd}N[u+144>>2]=0;N[u+152>>2]=N[f+8>>2];S[u+160>>3]=S[f+24>>3];N[u+168>>2]=N[f+12>>2];N[u+172>>2]=N[f+16>>2];N[u+176>>2]=N[f+320>>2];N[u+180>>2]=N[f+316>>2];N[u+184>>2]=N[f+324>>2];g=rc(N[i+844>>2],u+144|0,i);if(!g){break jd}if(!O[g|0]){tb(g);break jd}m=N[g+76>>2];k=N[g+72>>2];s=S[f+264>>3];D=0;r=S[f+256>>3]}S[f+56>>3]=r;N[f+48>>2]=g;S[f+80>>3]=D;N[f+72>>2]=0;N[f+76>>2]=0;S[f- -64>>3]=s;y=WE(+N[g+52>>2]*r+0);ld:{if(V(y)<2147483648){l=~~y;break ld}l=-2147483648}N[f+88>>2]=l;y=WE(+N[g+56>>2]*s+D);md:{if(V(y)<2147483648){l=~~y;break md}l=-2147483648}N[f+92>>2]=l;y=WE(+N[g+60>>2]*r+0);nd:{if(V(y)<2147483648){l=~~y;break nd}l=-2147483648}N[f+96>>2]=l;D=WE(+N[g- -64>>2]*s+D);od:{if(V(D)<2147483648){l=~~D;break od}l=-2147483648}N[f+100>>2]=l;if(N[i+92>>2]?N[f+32>>2]:1){g=N[g+68>>2];N[f+156>>2]=0;N[f+148>>2]=0;r=WE(r*+(g|0));pd:{if(V(r)<2147483648){g=~~r;break pd}g=-2147483648}N[f+152>>2]=g;N[f+144>>2]=g}r=WE(s*+(m|0));qd:{if(V(r)<2147483648){g=~~r;break qd}g=-2147483648}N[f+180>>2]=g;r=WE(s*+(k|0));rd:{if(V(r)<2147483648){g=~~r;break rd}g=-2147483648}N[f+176>>2]=g}f=N[f+352>>2];if(f){continue}break}sd:{if(!h){break sd}f=h-1|0;if(N[(j+n|0)+316>>2]|!N[(j+T(f,360)|0)+316>>2]){break sd}i=0;td:{if(!f){break td}while(1){g=j+T(f,360)|0;if(N[g+96>>2]!=N[g+88>>2]){i=f;break td}if(!N[g+316>>2]){i=f;break td}f=f-1|0;if(f){continue}break}}f=j+T(i,360)|0;g=N[f+96>>2];if((g|0)<=N[f+152>>2]){break sd}N[f+152>>2]=g}f=j+n|0;N[f+152>>2]=N[f+152>>2]+N[f+312>>2];h=h+1|0;p=N[o+4>>2];m=N[p+12>>2];if((h|0)<(m|0)){continue}break}l=p+12|0;if((m|0)<=0){f=0;break id}n=N[p>>2];k=0;h=0;j=0;while(1){t=T(k,360);f=t+n|0;g=h;i=j;while(1){N[f+104>>2]=i;N[f+108>>2]=g;i=N[f+144>>2]+i|0;g=N[f+148>>2]+g|0;f=N[f+352>>2];if(f){continue}break}f=n+t|0;j=N[f+152>>2]+j|0;h=N[f+156>>2]+h|0;f=1;k=k+1|0;if((m|0)!=(k|0)){continue}break}}i=N[ga+32>>2];if(!i){i=N[N[o+68>>2]+108>>2]}g=N[ga+36>>2];if(!g){g=N[N[o+68>>2]+112>>2]}ea=N[ga+40>>2];if(!ea){ea=N[N[o+68>>2]+116>>2]}r=+(N[N[W+168>>2]+36>>2]-g|0);ud:{vd:{g=N[o+532>>2];j=N[o>>2];wd:{if(!(g|!N[j+72>>2])){K=S[j+160>>3];s=S[j+184>>3];y=+N[N[j+168>>2]+36>>2];D=K*r/s/y+(+N[j+132>>2]-K);Y=+(i|0);break wd}D=r;r=+N[j+144>>2];s=S[j+184>>3];y=+N[N[j+168>>2]+36>>2];C=+N[j- -64>>2];D=D*r/s/y+C;Y=+(i|0);if(!N[j+72>>2]|g){break vd}K=S[j+160>>3]}r=Y*K/s/y;break ud}r=r*Y/s/y+C}I=N[o+96>>2];N[p+20>>2]=1;ja=D-r;if(f){h=N[p>>2];g=-1;f=0;while(1){xd:{yd:{zd:{Ad:{Bd:{Cd:{Dd:{i=N[p>>2]+T(f,360)|0;k=N[i>>2];Ed:{if((k|0)==10){k=N[j>>2];N[u>>2]=f;mb(k,7,17182,u);t=2;k=f;break Ed}k=(k|0)==32;if(k|!(ja<=+(N[i+104>>2]+N[i+96>>2]|0)*.015625-+(N[h+104>>2]+N[h+88>>2]|0)*.015625)|N[o+516>>2]==2){break Bd}if((g|0)<0){break Dd}k=N[j>>2];N[u+16>>2]=g;mb(k,7,17189,u+16|0);t=1;k=g}g=N[i>>2]==32?f:g;break Cd}t=1;k=g;if((g|0)==-1){break yd}}i=k+1|0;k=N[p+20>>2];n=N[p+56>>2];if((k|0)<(n|0)){break zd}if((n|0)<=1073741823){N[p+56>>2]=n<<1;N[147316]=0;k=N[p+16>>2];n=N[p+56>>2];if(n>>>0<=178956970){n=T(n,24);n=$a(k,n>>>0<=1?1:n);if(n){break Ad}}N[147316]=48;N[p+16>>2]=k;k=N[p+20>>2]}L[h+120|0]=0;N[p+20>>2]=k-1;break zd}g=k?f:g;break xd}N[147316]=0;N[p+16>>2]=n}m=N[l>>2];if((i|0)>=(m|0)){break xd}h=N[p>>2]+T(i,360)|0;L[h+120|0]=t;N[p+20>>2]=N[p+20>>2]+1}g=-1}f=f+1|0;if((m|0)>(f|0)){continue}break}p=N[o+4>>2]}Fd:{if(N[o+516>>2]==1){break Fd}g=0;w=N[p+12>>2];if((w|0)<0){break Fd}f=1;n=N[p>>2];h=n;i=0;Gd:while(1){t=f;k=i;while(1){Hd:{Id:{R=(k|0)==(w|0);f=T(k,360);Jd:{Kd:{if(!(R|O[(f+n|0)+120|0])){j=h;break Kd}j=f+n|0;Ld:{if(!g){break Ld}f=h;if(O[f+120|0]!=1){break Ld}Md:{while(1){q=f;f=f-360|0;if(g>>>0>=f>>>0){break Md}if(N[f>>2]==32){continue}break}while(1){f=f-360|0;if(g>>>0>=f>>>0){break Md}if(N[f>>2]!=32){continue}break}}i=f;Nd:{if(f>>>0<=g>>>0){break Nd}while(1){if(N[i>>2]!=32){break Nd}i=i-360|0;if(i>>>0>g>>>0){continue}break}}E=T(N[f>>2]==32,360);m=E+f|0;if((m|0)==(g|0)){break Id}l=j;while(1){H=l;l=l-360|0;if(l>>>0>h>>>0&N[l>>2]==32){continue}break}l=H-360|0;H=N[l+104>>2]+N[l+96>>2]|0;l=f+E|0;r=+(H-(N[l+88>>2]+N[l+104>>2]|0)|0)*.015625;f=N[g+104>>2]+N[g+88>>2]|0;D=+(N[i+104>>2]+(N[i+96>>2]-f|0)|0)*.015625;C=r>D?r-D:D-r;r=+(H-(N[h+88>>2]+N[h+104>>2]|0)|0)*.015625;g=q-360|0;D=+((N[g+104>>2]+N[g+96>>2]|0)-f|0)*.015625;if(!(C<(r>D?r-D:D-r))){break Ld}f=1;L[l+120|0]=1;g=0;L[h+120|0]=0;h=n;i=0;if(R){continue Gd}break Jd}if(R){break Hd}g=h}m=g;g=t}i=k+1|0;f=g;g=m;h=j;continue Gd}f=(k|0)!=(w|0);g=h;h=j;k=k+1|0;if(f){continue}}break}g=0;f=1;h=n;i=0;if(!t){continue}break}}Od:{Pd:{w=N[p+20>>2];if((w|0)>0){H=N[p>>2];Qd:{Rd:{Sd:{k=N[p+12>>2];f=k-1|0;if(!f){break Sd}while(1){g=H+T(f,360)|0;h=N[g>>2];if(!((h|0)!=32&(h|0)!=10|O[g+120|0])){M[g+4>>1]=257;f=f-1|0;if(f){continue}}break}g=0;if((k|0)>0){break Sd}X=N[o>>2];N[p+48>>2]=0;N[p+32>>2]=0;N[p+36>>2]=0;n=p+48|0;R=p+32|0;break Rd}g=0;f=H;Td:{while(1){h=N[f>>2];if(!(O[f+120|0]|(h|0)!=32&(h|0)!=10)){M[f+4>>1]=257;g=g+1|0;f=H+T(g,360)|0;if((g|0)!=(k|0)){continue}break Td}break}L[f+121|0]=1}j=H+T(k,360)|0;h=0;while(1){n=T(h,360);i=n+H|0;Ud:{if(!O[i+120|0]){break Ud}f=h-1|0;Vd:{if(!f){break Vd}while(1){g=H+T(f,360)|0;m=N[g>>2];if((m|0)!=32&(m|0)!=10|O[g+120|0]){break Vd}M[g+4>>1]=257;f=f-1|0;if(f){continue}break}}f=N[i>>2];Wd:{if((f|0)!=32&(f|0)!=10){break Wd}f=n+H|0;M[f+4>>1]=257;i=f+360|0;g=h+1|0;if((k|0)<=(g|0)){break Wd}while(1){f=N[i>>2];if((f|0)!=32&(f|0)!=10){break Wd}f=H+T(g,360)|0;if(O[f+120|0]){break Wd}M[f+4>>1]=257;i=f+360|0;h=g;g=g+1|0;if((k|0)!=(g|0)){continue}break}i=j}if(i>>>0>=j>>>0){break Ud}L[i+121|0]=1}h=h+1|0;if((k|0)>(h|0)){continue}break}X=N[o>>2];g=0;N[p+48>>2]=0;N[p+32>>2]=0;N[p+36>>2]=0;n=p+48|0;R=p+32|0;if((k|0)>0){break Qd}}D=.0078125;r=0;t=0;K=0;s=0;y=0;h=0;C=0;break Od}D=.0078125;r=0;t=0;h=0;m=0;l=1;y=0;s=0;f=0;while(1){Xd:{Yd:{Zd:{j=T(m,360);i=j+H|0;_d:{if(O[i+120|0]){l=N[p+16>>2]+T(h,24)|0;C=D*+(f|0);S[l+8>>3]=C;D=D*+(g|0);S[l>>3]=D;r=r+(D+C);S[p+32>>3]=r;D=S[o+560>>3]*s+.5;$d:{if(V(D)<2147483648){f=~~D;break $d}f=-2147483648}N[p+44>>2]=f;if(!h){N[p+40>>2]=f}D=S[o+552>>3]*y+.5;ae:{if(V(D)<2147483648){f=~~D;break ae}f=-2147483648}t=(f|0)<(t|0)?t:f;N[p+48>>2]=t;h=h+1|0;D=.0078125;f=0;y=0;q=i;s=0;g=0;break _d}q=j+H|0;if(!(l&1)){break Zd}}if(!O[i+5|0]){g=0;s=0;f=0;y=0;l=0;break Yd}l=1;break Yd}l=0;if(O[(j+H|0)+5|0]){break Xd}}i=j+H|0;C=S[i+288>>3];y=y>C?y:C;C=S[i+296>>3];s=s>C?s:C;j=N[i+180>>2];f=(f|0)>(j|0)?f:j;i=N[i+176>>2];g=(g|0)>(i|0)?g:i;D=N[q>>2]==10?D:.015625}m=m+1|0;if((m|0)!=(k|0)){continue}break}break Pd}ba(21796,18170,1877,16423);F()}K=+(g|0);g=1;C=+(f|0)}if((w-1|0)!=(h|0)){ba(21820,18170,1649,8359);F()}j=N[p+16>>2];f=j+T(h,24)|0;C=D*C;S[f+8>>3]=C;D=D*K;S[f>>3]=D;s=S[o+560>>3]*s+.5;be:{if(V(s)<2147483648){f=~~s;break be}f=-2147483648}N[p+44>>2]=f;if(!h){N[p+40>>2]=f}s=S[o+552>>3]*y+.5;ce:{if(V(s)<2147483648){f=~~s;break ce}f=-2147483648}N[n>>2]=(f|0)<(t|0)?t:f;K=S[X+40>>3];S[R>>3]=+(h|0)*K+(r+(D+C));l=0;f=0;if(g){de:{while(1){if(!O[(H+T(f,360)|0)+4|0]){break de}f=f+1|0;if((k|0)!=(f|0)){continue}break}f=k}h=H+T(k,360)|0;y=+(0-N[(H+T(f,360)|0)+104>>2]|0)*.015625;s=0;m=1;f=0;while(1){i=T(f,360);g=i+H|0;ee:{if(!O[g+120|0]){i=N[(i+H|0)+104>>2];break ee}fe:{if((f|0)>=(k|0)){break fe}while(1){if(!O[g+4|0]|N[g>>2]==10){break fe}f=f+1|0;g=H+T(f,360)|0;if((f|0)!=(k|0)){continue}break}f=k;g=h}i=j+T(m,24)|0;n=i-24|0;N[n+20>>2]=f-N[n+16>>2];N[i+16>>2]=f;s=s+(K+(S[n+8>>3]+S[i>>3]));m=m+1|0;i=N[g+104>>2];y=+(0-i|0)*.015625}r=WE(y*64);ge:{if(V(r)<2147483648){n=~~r;break ge}n=-2147483648}N[g+104>>2]=n+i;r=WE(s*64);he:{if(V(r)<2147483648){i=~~r;break he}i=-2147483648}N[g+108>>2]=i+N[g+108>>2];f=f+1|0;if((k|0)>(f|0)){continue}break}f=m-1|0}else{f=0}f=T(f,24)+j|0;N[f+20>>2]=k-N[f+16>>2];ie:{if((k|0)>=0){f=N[X+176>>2];g=N[o+64>>2];h=N[g>>2];w=f-h|0;E=N[X+180>>2]-(N[g+4>>2]+(f>>>0>>0)|0)|0;t=0;i=0;f=0;j=0;g=0;while(1){R=g;je:{ke:{if((g|0)>=(k|0)){break ke}g=H+T(g,360)|0;if(O[g+121|0]){break ke}h=N[g+168>>2];g=O[g+172|0];t=h+(g?0:t)|0;j=(g|0)!=0|j;break je}q=H+T(R,360)|0;if(!f){f=q;break je}g=N[f+160>>2];i=g?g:i;if(!i){i=0;f=q;break je}g=N[f+168>>2]+(O[f+172|0]?0:l)|0;h=N[f+164>>2];k=g+h|0;n=g>>31;m=n+(h>>31)|0;m=h>>>0>k>>>0?m+1|0:m;$=j&1?0:k;h=-1e8;le:{if(g>>>0>w>>>0&(n|0)>=(E|0)|(n|0)>(E|0)){break le}h=k;k=(i|0)==2;j=k?h:g;l=k?m:n;k=l;h=1e8;if((k|0)<=(E|0)&j>>>0<=w>>>0|(k|0)<(E|0)){break le}k=f;m=q-360|0;me:{if(m>>>0<=f>>>0){break me}while(1){if(!O[k+4|0]){break me}k=k+360|0;if(m>>>0>k>>>0){continue}break}}ne:{if(k>>>0>=m>>>0){break ne}while(1){if(!O[m+4|0]){break ne}m=m-360|0;if(m>>>0>k>>>0){continue}break}}s=(+(w-g>>>0)+ +(E-((g>>>0>w>>>0)+n|0)|0)*4294967296)/(+(j-g>>>0)+ +(l-((g>>>0>j>>>0)+n|0)|0)*4294967296);aa=N[m+144>>2];Z=N[m+104>>2];J=N[k+104>>2];r=S[f+232>>3];A(+r);n=v(1)|0;m=v(0)|0;j=n>>>20&2047;oe:{if((j|0)==2047){r=r*360;r=r/r;break oe}l=n<<1|m>>>31;h=(l|0)==-2131951616;g=m<<1;if(h&!g|l>>>0<2163015680){r=h&!g?r*0:r;break oe}pe:{if(!j){j=0;h=m<<12;k=n<<12|m>>>20;g=k;if((g|0)>0|(g|0)>=0){while(1){j=j-1|0;k=g<<1|h>>>31;h=h<<1;g=k;if((g|0)>0|(g|0)>=0){continue}break}}l=m;h=1-j|0;g=h&31;if((h&63)>>>0>=32){k=l<>>32-g|n<1031){while(1){qe:{k=g-1474560|0;if((k|0)<0){break qe}g=k;if(g|h){break qe}r=r*0;break oe}g=g<<1|h>>>31;h=h<<1;j=j-1|0;if((j|0)>1031){continue}break}j=1031}re:{k=g-1474560|0;if((k|0)<0){break re}g=k;if(g|h){break re}r=r*0;break oe}if((g|0)==1048575|g>>>0<1048575){while(1){j=j-1|0;k=g>>>0<524288;l=g<<1|h>>>31;h=h<<1;g=l;if(k){continue}break}}m=0;n=n&-2147483648;if((j|0)>0){k=g+-1048576|j<<20}else{l=h;j=1-j|0;h=j&31;if((j&63)>>>0>=32){k=0;h=g>>>h|0}else{k=g>>>h|0;h=((1<>>h}}x(0,h|m);x(1,k|n);r=+z()}se:{if(!(r>90)|!(r<270)){break se}s=1-s;m=f;if(f>>>0>=q>>>0){break se}while(1){nb=m,ob=ZE(N[m+124>>2],N[m+128>>2],32),N[nb+124>>2]=ob;N[m+128>>2]=Pa;m=m+360|0;if(q>>>0>m>>>0){continue}break}}r=WE(s*+(aa+(Z-J|0)|0));te:{if(V(r)<2147483648){g=~~r;break te}g=-2147483648}h=g+J|0}l=t+$|0;j=0;if(f>>>0>>0){while(1){N[f+160>>2]=i;N[f+164>>2]=h-N[f+104>>2];f=f+360|0;if(q>>>0>f>>>0){continue}break}}f=q;t=0}g=R+1|0;k=N[p+12>>2];if((R|0)<(k|0)){continue}break}q=N[o+8>>2];if((k|0)<=0){break ie}g=N[q+24>>2];f=0;while(1){N[g+(f<<2)>>2]=f;f=f+1|0;k=N[p+12>>2];if((f|0)<(k|0)){continue}break}break ie}q=N[o+8>>2]}f=O[q+57|0];if(f){l=N[q+28>>2]}else{l=q+32|0}if((k|0)>0){m=0;j=0;while(1){ue:{ve:{if((k-1|0)==(j|0)){n=j+1|0;i=N[q+16>>2];break ve}n=j+1|0;g=H+T(n,360)|0;i=N[q+16>>2];if(O[g+120|0]|N[i+(j<<2)>>2]==2107456){break ve}if(f&255){j=n;break ue}if(O[g+121|0]|S[(H+T(j,360)|0)+304>>3]!=0){break ve}f=0;j=n;break ue}we:{if((m|0)==(n|0)){break we}h=n-1|0;if((m|0)>(h|0)){break we}g=n-m|0;E=N[q+24>>2];w=N[q+20>>2];k=N[l>>2]&1;f=h;while(1){if(N[(f<<2)+i>>2]&9441280){L[f+w|0]=k;t=(f|0)>(m|0);f=f-1|0;if(t){continue}}break}i=0;R=0;f=h;if(g>>>0>=4){J=g&-4;k=0;while(1){t=f+w|0;$=L[t-3|0];aa=L[t-2|0];Z=L[t-1|0];t=L[t|0];R=R<<24>>24;t=(t|0)>(R|0)?t:R;t=(t|0)<(Z|0)?Z:t;t=(t|0)<(aa|0)?aa:t;R=(t|0)<($|0)?$:t;f=f-4|0;k=k+4|0;if((J|0)!=(k|0)){continue}break}}g=g&3;if(g){while(1){k=L[f+w|0];t=R<<24>>24;R=(k|0)>(t|0)?k:t;f=f-1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}i=R<<24>>24;if((i|0)<=0){break we}if(!E){while(1){xe:{if((i|0)>L[h+w|0]){f=h;break xe}g=((h|0)<(m|0)?h:m)-1|0;f=h;while(1){if((f|0)<=(m|0)){f=g;break xe}f=f-1|0;if((i|0)<=L[w+f|0]){continue}break}}h=f-1|0;if((f|0)>(m|0)){continue}break we}}while(1){i=h;while(1){J=R<<24>>24;ye:{if((J|0)>L[i+w|0]){g=i;break ye}k=(i|0)<(m|0)?i:m;t=k-1|0;g=i;while(1){ze:{f=g;if((m|0)>=(f|0)){f=k;g=t;break ze}g=f-1|0;if((J|0)<=L[w+g|0]){continue}}break}k=i-g|0;if((k|0)<2){break ye}t=(k|0)/2|0;i=E+(f<<2)|0;f=0;if((k&-2)!=2){$=t&-2;while(1){aa=f<<2;Z=aa+i|0;ia=N[Z>>2];za=Z;Z=i+(k+(f^-1)<<2)|0;N[za>>2]=N[Z>>2];N[Z>>2]=ia;aa=i+(aa|4)|0;Z=N[aa>>2];za=aa;aa=i+(k+(f^1073741822)<<2)|0;N[za>>2]=N[aa>>2];N[aa>>2]=Z;f=f+2|0;if(($|0)!=(f|0)){continue}break}}if(!(t&1)){break ye}t=i+(f<<2)|0;$=N[t>>2];f=i+(k+(f^-1)<<2)|0;N[t>>2]=N[f>>2];N[f>>2]=$}i=g-1|0;if((g|0)>(m|0)){continue}break}R=R-1|0;if((J|0)>1){continue}break}}f=O[q+57|0];Ae:{if(!f){f=0;break Ae}l=((N[N[q+16>>2]+(j<<2)>>2]==2107456)<<2)+l|0}j=n;m=j}k=N[p+12>>2];if((k|0)>(j|0)){continue}break}}n=N[q+24>>2];Be:{if(n){if((k|0)<=0){break Be}h=N[p>>2];m=0;t=1;j=0;q=0;while(1){i=T(N[n+(m<<2)>>2],360);if(O[(h+T(m,360)|0)+120|0]){r=WE(S[X+40>>3]*64);Ce:{if(V(r)<2147483648){f=~~r;break Ce}f=-2147483648}l=N[p+16>>2]+T(t,24)|0;r=WE(S[l-16>>3]*64);De:{if(V(r)<2147483648){g=~~r;break De}g=-2147483648}j=g+j|0;t=t+1|0;q=0;r=WE(S[l>>3]*64);Ee:{if(V(r)<2147483648){g=~~r;break Ee}g=-2147483648}j=(g+j|0)+f|0}f=h+i|0;if(!O[f+4|0]){l=N[f+152>>2];H=N[f+156>>2];g=q;i=j;while(1){N[f+104>>2]=N[f+112>>2]+g;N[f+108>>2]=N[f+116>>2]+i;g=N[f+144>>2]+g|0;i=N[f+148>>2]+i|0;f=N[f+352>>2];if(f){continue}break}q=l+q|0;j=j+H|0}m=m+1|0;if((m|0)!=(k|0)){continue}break}break Be}mb(N[X>>2],1,8414,0);h=0;g=N[p+12>>2];if((g|0)>0){while(1){f=N[(N[p>>2]+T(h,360)|0)+352>>2];if(f){while(1){g=N[f+352>>2];_a(f);f=g;if(f){continue}break}g=N[p+12>>2]}h=h+1|0;if((h|0)<(g|0)){continue}break}}tb(N[o+72>>2]);N[o+496>>2]=0;N[o+500>>2]=0;N[o+72>>2]=0;N[o+296>>2]=0;N[o+300>>2]=0;f=N[o+4>>2];if(!f){break Be}N[f+12>>2]=0}p=N[o+216>>2];t=p&2;w=N[o+96>>2];q=w&3;f=0;g=N[o+4>>2];n=N[g>>2];m=N[g+12>>2];if((m|0)>=0){k=t?q:N[o+100>>2];h=t?1:q;y=0;s=0;while(1){i=(f|0)==(m|0);if(i|O[(n+T(f,360)|0)+120|0]){y=s=(m|0)){break Fe}g=n+T(f,360)|0;if(O[g+4|0]){break Fe}Ge:{switch(N[g>>2]){case 0:case 10:break Fe;default:break Ge}}s=s+ +N[g+152>>2]*.015625}f=f+1|0;if(!i){continue}break}r=ja-y;C=r*.5;K=y+C;f=0;l=h-1|0;h=-1;while(1){g=f;if(!(!O[(n+T(f,360)|0)+120|0]&(f|0)!=(m|0))){D=0;He:{Ie:{switch(l|0){case 0:Je:{switch(k-2|0){case 1:D=y-s;break He;case 0:break Je;default:break He}}D=(y-s)*.5;break He;case 2:D=r;Ke:{switch(k-1|0){case 1:D=r+(y-s)*.5;break He;case 0:break He;default:break Ke}}D=ja-s;break He;case 1:break Ie;default:break He}}D=C;Le:{switch(k-1|0){case 2:D=K-s;break He;case 0:break He;default:break Le}}D=(ja-s)*.5}i=h+1|0;Me:{if((g|0)<=(i|0)){break Me}D=WE(D*64);Ne:{if(V(D)<2147483648){j=~~D;break Ne}j=-2147483648}if(!n){break Me}if(g+(h^-1)&1){f=n+T(i,360)|0;while(1){N[f+104>>2]=j+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}i=h+2|0}if((g-2|0)==(h|0)){break Me}while(1){h=T(i,360);f=h+n|0;while(1){N[f+104>>2]=j+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}f=(h+n|0)+360|0;while(1){N[f+104>>2]=j+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}i=i+2|0;if((g|0)!=(i|0)){continue}break}}h=g-1|0;s=0}Oe:{if((g|0)>=(m|0)){break Oe}f=n+T(g,360)|0;if(O[f+4|0]){break Oe}Pe:{switch(N[f>>2]){case 0:case 10:break Oe;default:break Pe}}s=s+ +N[f+152>>2]*.015625}f=g+1|0;if((g|0)!=(m|0)){continue}break}}h=N[ca+12>>2];Qe:{if((h|0)<=0){D=0;ja=0;K=0;C=0;break Qe}i=N[ca>>2];y=S[ca+32>>3];r=S[N[ca+16>>2]>>3];f=0;ja=-32e3;D=32e3;while(1){g=i+T(f,360)|0;if(!O[g+4|0]){s=+N[g+104>>2]*.015625;C=s+ +N[g+152>>2]*.015625;ja=C>2];if((m|0)>0){h=N[N[N[l+168>>2]+88>>2]+36>>2]&4;j=N[N[o+8>>2]+24>>2];i=0;k=0;while(1){f=T(N[j+(k<<2)>>2],360);g=n+T(k,360)|0;if(!O[g+121|0]|h?O[g+120|0]:1){i=0}Re:{Se:{g=f+n|0;r=S[g+256>>3];if(r!=0){s=S[g+264>>3];if(s!=0){break Se}}L[g+4|0]=1;break Re}if(O[g+4|0]){break Re}f=f+n|0;while(1){N[f+108>>2]=N[f+108>>2]+i;f=N[f+352>>2];if(f){continue}break}r=s*(S[g+248>>3]/r)*+N[g+152>>2]+ +(i|0);if(V(r)<2147483648){i=~~r;break Re}i=-2147483648}k=k+1|0;if((m|0)!=(k|0)){continue}break}}H=I&12;Te:{Ue:{Ve:{We:{Xe:{Ye:{Ze:{_e:{$e:{f=p&1;if(f){g=w&12;s=0;r=D;y=0;af:{bf:{cf:{switch(q-1|0){case 1:r=(D+ja)*.5;break bf;case 0:break bf;case 2:break cf;default:break af}}r=ja}y=r}r=C;df:{ef:{ff:{switch(g|0){case 8:r=(C+K)*.5;break ef;case 4:break ef;case 0:break ff;default:break df}}r=K}s=r}g=N[W+168>>2];r=S[o+152>>3]*+N[W+140>>2]/+N[g+40>>2]+ +N[W+56>>2]-s;ta=S[o+144>>3]*+N[W+144>>2]/S[W+184>>3]/+N[g+36>>2]+ +N[W- -64>>2]-y;if(!t){break $e}break _e}r=0;if(t){break _e}if(N[l+72>>2]?N[o+532>>2]:1){y=+N[l+144>>2]*Y/S[l+184>>3]/+N[N[l+168>>2]+36>>2]+ +N[l- -64>>2]}else{y=S[l+160>>3]*Y/S[l+184>>3]/+N[N[l+168>>2]+36>>2]}ta=y;if(!(p&4)){break Ze}break Ye}if(!(p&4)){break Ue}break Ye}gf:{hf:{switch(N[o+476>>2]){case 1:s=+N[N[W+168>>2]+36>>2];ta=(s-S[o+480>>3])*+N[W+144>>2]/S[W+184>>3]/s+ +N[W- -64>>2];break gf;case 0:break hf;default:break gf}}ta=D-ja+(S[o+480>>3]*+N[W+144>>2]/S[W+184>>3]/+N[N[W+168>>2]+36>>2]+ +N[W- -64>>2])}if(p&4){break Ye}if(f){break Ue}}switch(H-4|0){case 4:break We;case 0:break Xe;default:break Ve}}jf:{switch(N[o+476>>2]-2|0){case 0:i=N[o+532>>2];r=si(l,i,S[o+480>>3]+ +N[o+488>>2])-K;break Te;case 1:break jf;default:break Ue}}i=N[o+532>>2];r=si(l,i,+N[o+492>>2]-S[o+480>>3])-C;break Te}r=lo(l,N[o+532>>2],+(ea|0))+S[N[ca+16>>2]>>3];break Ue}i=N[o+532>>2];r=si(l,i,+N[N[W+168>>2]+40>>2]*.5)-(C+K)*.5;break Te}s=0;f=N[o+532>>2];s=f?s:S[W+48>>3];if(H){mb(N[W>>2],6,23538,0);l=N[o>>2];f=N[o+532>>2]}r=+(N[N[W+168>>2]+40>>2]-ea|0);y=+N[l+140>>2]*r/+N[N[l+168>>2]+40>>2]+ +N[l+56>>2];kf:{if(N[l+72>>2]?f:1){break kf}y=S[l+152>>3];y=y*r/+N[N[l+168>>2]+40>>2]+(+N[l+136>>2]-y)}r=y;y=lo(l,f,0);Y=S[N[ca+16>>2]>>3];da=y+Y;r=Y+(r+s*(y-r)/100-S[ca+32>>3]);r=r0?da:r:r}i=N[o+532>>2]}lf:{mf:{if(N[W+72>>2]?i:1){m=N[W+144>>2];s=+(m|0);f=N[W+168>>2];y=+N[f+36>>2];h=N[W- -64>>2];Y=+(h|0);k=pc(+N[o+240>>2]*s/y+Y);N[o+240>>2]=k;n=pc(s*+N[o+248>>2]/y+Y);N[o+248>>2]=n;p=N[W+140>>2];s=+(p|0);y=+N[f+40>>2];j=N[W+56>>2];Y=+(j|0);g=pc(+N[o+244>>2]*s/y+Y);N[o+244>>2]=g;f=pc(s*+N[o+252>>2]/y+Y);N[o+252>>2]=f;if(!i){break lf}g=(g|0)>(j|0)?g:j;N[o+244>>2]=g;N[o+240>>2]=(h|0)<(k|0)?k:h;h=h+m|0;N[o+248>>2]=(h|0)>(n|0)?n:h;h=j+p|0;f=(f|0)<(h|0)?f:h;break mf}N[o+240>>2]=0;N[o+244>>2]=0;N[o+248>>2]=N[W+16>>2];g=0;f=N[W+20>>2]}N[o+252>>2]=f}if(O[o+216|0]&4){s=+N[W+140>>2];y=+N[N[W+168>>2]+40>>2];Y=+N[W+56>>2];h=pc(s*+N[o+492>>2]/y+Y);N[o+252>>2]=(f|0)<(h|0)?f:h;f=pc(+N[o+488>>2]*s/y+Y);N[o+244>>2]=(f|0)<(g|0)?g:f}nf:{if(O[o+256|0]){f=N[l+168>>2];s=S[o+168>>3]*+N[l+140>>2]/+N[f+40>>2]+ +N[l+56>>2];y=S[o+160>>3]*+N[l+144>>2]/S[l+184>>3]/+N[f+36>>2]+ +N[l- -64>>2];break nf}f=N[o+96>>2];g=f&12;s=0;y=0;of:{pf:{switch((f&3)-1|0){case 0:y=D;break of;case 1:y=(D+ja)*.5;break of;case 2:break pf;default:break of}}y=ja}qf:{rf:{switch(g|0){case 4:s=C;break qf;case 8:s=(C+K)*.5;break qf;case 0:break rf;default:break qf}}s=K}s=r+s;y=ta+y}q=N[o+4>>2];i=N[q+12>>2];j=(i|0)<=0;sf:{if(j){break sf}k=N[q>>2];if(!k){break sf}s=r-s;y=ta-y;C=S[o+560>>3];K=S[l+184>>3];Y=S[o+552>>3];g=0;while(1){f=k+T(g,360)|0;while(1){da=WE((S[f+208>>3]*C+s)*64);tf:{if(V(da)<2147483648){h=~~da;break tf}h=-2147483648}N[f+340>>2]=h+N[f+108>>2];da=WE((y+Y*S[f+200>>3]/K)*64);uf:{if(V(da)<2147483648){h=~~da;break uf}h=-2147483648}N[f+336>>2]=h+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}g=g+1|0;if((i|0)!=(g|0)){continue}break}}vf:{if(j){h=0;break vf}s=+N[l- -64>>2];lb=(ta-s)*S[l+184>>3]+s;n=N[q+24>>2];R=u+240|0;E=u+236|0;s=WE(r*64);wf:{if(V(s)<2147483648){t=~~s;break wf}t=-2147483648}h=0;k=1;g=0;p=0;while(1){f=N[q>>2]+T(p,360)|0;k=O[f+121|0]!=0|k;xf:{if(O[f+4|0]){while(1){tb(N[f+48>>2]);f=N[f+352>>2];if(f){continue}break xf}}while(1){j=N[f+280>>2];i=(j|0)==3;i=S[f+288>>3]==0&S[f+296>>3]==0?i:i|2;i=S[f+200>>3]==0&S[f+208>>3]==0?i:i|4;if(!(!(i&4)|!((N[f+160>>2]&-2)==2|O[f+140|0]!=255)&(j|0)!=3)){i=i|8}i=i&10?i:i&11;yf:{zf:{if(!(O[f+141|0]|(O[f+140|0]|!(i&2)))){if(!N[f+328>>2]|(j|0)==3){break zf}break yf}if((j|0)!=3){break yf}}i=i|16}Af:{Bf:{Cf:{Df:{Ef:{Ff:{if(k&1){j=N[q+60>>2];Gf:{if(j>>>0>h>>>0){m=n;break Gf}N[147316]=0;k=N[q+24>>2];w=j<<1;if(w>>>0>48806446){break Df}j=T(j,176);m=$a(k,j>>>0<=1?1:j);if(!m){break Df}N[147316]=0;N[q+60>>2]=w;N[q+24>>2]=m}j=N[f+128>>2];g=T(h,88)+m|0;N[g+24>>2]=N[f+124>>2];N[g+28>>2]=j;j=N[f+136>>2];N[g+32>>2]=N[f+132>>2];N[g+36>>2]=j;N[g+40>>2]=N[f+160>>2];j=N[f+164>>2];N[g+48>>2]=268435455;N[g+44>>2]=j;N[g>>2]=i;N[g+4>>2]=N[f+184>>2];s=S[o+576>>3];y=S[f+192>>3];C=S[o+568>>3]*.8493218002880191*y*.03125;k=u+144|0;Ud((C+1)*4,k);n=N[u+144>>2];C=WE(ko(C)*256);Hf:{if(V(C)<2147483648){j=~~C;break Hf}j=-2147483648}N[g+8>>2]=j;s=y*(s*.8493218002880191)*.03125;Ud((s+1)*4,k);w=N[u+144>>2];s=WE(ko(s)*256);If:{if(V(s)<2147483648){j=~~s;break If}j=-2147483648}N[g+12>>2]=j;k=0;if(i&4){s=WE(S[f+208>>3]*S[o+560>>3]*64);Jf:{if(V(s)<2147483648){k=~~s;break Jf}k=-2147483648}j=-1<>>1|0)&j;s=WE(S[f+200>>3]*S[o+552>>3]*64);Kf:{if(V(s)<2147483648){w=~~s;break Kf}w=-2147483648}j=-1<>>1|0)&j}else{j=0}N[g+16>>2]=j;N[g+20>>2]=k;N[g+64>>2]=2147483647;N[g+68>>2]=2147483647;N[g+52>>2]=0;N[g+56>>2]=0;j=kb(1536);N[g+80>>2]=0;N[g+84>>2]=0;N[g+72>>2]=0;N[g+76>>2]=0;N[g+60>>2]=j;if(j){break Ff}tb(N[f+48>>2]);n=m;k=1;break Af}if(g){break Ef}ba(12501,18170,2574,10923);F()}N[g+56>>2]=64;h=h+1|0;n=m}s=S[l+184>>3];J=t+N[f+108>>2]|0;N[f+108>>2]=J;s=WE((s*(+N[f+104>>2]*.015625)+lb)*64);Lf:{if(V(s)<2147483648){j=~~s;break Lf}j=-2147483648}N[f+104>>2]=j;Mf:{m=N[f+48>>2];Nf:{if(!m){break Nf}Of:{switch(N[f>>2]){case 0:case 10:break Nf;default:break Of}}if(!O[f+4|0]){break Mf}}tb(m);break Bf}k=N[o>>2];X=N[g+52>>2];ha=S[f+256>>3];da=S[f+240>>3];ka=S[f+264>>3];y=S[f+232>>3]*.017453292519943295;s=qi(y);y=pi(y);K=S[f+224>>3]*.017453292519943295;C=pi(K);qa=S[f+216>>3]*.017453292519943295;la=pi(qa);Y=qi(K);ma=S[f+72>>3];na=S[f+80>>3];w=N[f+340>>2];ea=N[f+176>>2];I=N[f+336>>2];ra=S[k+184>>3];Aa=S[o+576>>3];K=S[f+56>>3];Ba=S[f+248>>3];oa=da*ha/ka;va=y+s*oa;wa=s-oa*y;sa=-la;xa=wa*sa;da=C*va+Y*xa;ua=S[f- -64>>3];Ha=da*ua;S[u+200>>3]=Ha;ha=ka*Ba/ha;Ca=s+y*ha;la=s*ha-y;Ma=la*sa;ha=C*Ca+Y*Ma;Ba=K*ha;S[u+192>>3]=Ba;Ia=+(J-w|0);Ja=qi(qa);ka=Aa*2e4;qa=da*Ia+Ja*wa*ka;Na=ua*qa;S[u+176>>3]=Na;la=ha*Ia+ka*(Ja*la);Oa=K*la;S[u+168>>3]=Oa;Da=+(I|0);Aa=+(j|0)-ra*Da;Ka=va*Y-C*xa;va=ka*ra;ra=da*Aa+Ka*va;wa=ua*ra;S[u+152>>3]=wa;ua=ha*Aa+va*(Ca*Y-C*Ma);xa=K*ua;S[u+144>>3]=xa;K=+(ea|0)*oa+Da;oa=+(w|0);Ca=s*K+y*oa;s=s*oa-K*y;oa=s*sa;y=ka+(C*Ca+Y*oa);K=y+(ha*ma+da*na);S[u+208>>3]=K;ka=y*Ia+ka*(Ja*s);sa=ka+(la*ma+qa*na);S[u+184>>3]=sa;Y=y*Aa+va*(Ca*Y-C*oa);s=Y+(ua*ma+ra*na);S[u+160>>3]=s;Pf:{if(N[f+160>>2]!=2){break Pf}w=N[m+4>>2];if(!w){break Pf}J=N[m+20>>2];m=0;while(1){j=J+(m<<3)|0;ma=+N[j>>2];na=+N[j+4>>2];C=K+(Ba*ma+Ha*na);C=(s+(xa*ma+wa*na))/(C>.1?C:.1);A(+C);j=v(1)|0;j=j&2147483647;if(!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072){ea=N[g+48>>2];C=C>-268435455?C:-268435455;C=WE(C>268435455?268435455:C);Qf:{if(V(C)<2147483648){j=~~C;break Qf}j=-2147483648}N[g+48>>2]=(j|0)>(ea|0)?ea:j}m=m+1|0;if((w|0)!=(m|0)){continue}break}}N[u+108>>2]=N[f+48>>2];if(!oi(u+144|0,u+80|0,u+88|0,!X,u+108|0)){tb(N[f+48>>2]);break Bf}j=rc(N[k+848>>2],u+108|0,o);N[f+344>>2]=j;Rf:{if(j){if(N[j+20>>2]){break Rf}tb(j)}N[f+344>>2]=0}m=N[u+84>>2];w=m;j=N[u+80>>2];N[u+72>>2]=j;N[u+76>>2]=m;Sf:{if(i&1){if(!(i&6)){break Bf}N[u+224>>2]=3;i=N[f+144>>2];m=N[f+312>>2];K=S[k+184>>3];ma=S[o+552>>3];na=S[f+288>>3];oa=S[f+256>>3];sa=S[f+272>>3];s=sa*S[f+264>>3];C=S[f+296>>3]*64*S[o+560>>3]*s;C=C<64?64:C;J=N[f+176>>2];s=(C+C+s*+(J+N[f+180>>2]|0))*.015625;S[u+200>>3]=da*s;S[u+176>>3]=qa*s;S[u+152>>3]=ra*s;s=ma*(na*64)/K;K=oa*sa;s=s*K;s=s<64?64:s;K=(s+s+K*+(i+m|0))*.015625;S[u+192>>3]=ha*K;C=-C-+(J|0);S[u+184>>3]=ka+(qa*C-la*s);S[u+168>>3]=la*K;S[u+160>>3]=Y+(ra*C-ua*s);S[u+144>>3]=ua*K;K=y+(da*C-ha*s);break Sf}if(!(i&2)){break Bf}N[u+224>>2]=2;i=N[f+48>>2];N[u+232>>2]=i;Y=S[u+208>>3];da=V(S[u+192>>3]);ma=S[o+552>>3]*64*S[f+288>>3]/S[f+56>>3]/S[k+184>>3];y=ma+64+ +(N[i+60>>2]-N[i+52>>2]|0)*.5;na=V(S[u+200>>3]);qa=S[o+560>>3]*64*S[f+296>>3]/S[f+64>>3];C=qa+64+ +(N[i- -64>>2]-N[i+56>>2]|0)*.5;ha=Y-da*y-na*C;Y=Y*.0625;Y=1/(Y>3]);ha=V(S[u+152>>3]);ra=da*y+ha*C;ka=V(S[u+168>>3]);Da=ka*y;y=V(S[u+176>>3]);C=Da+C*y;C=(Cka?da:ka)),E);Ud(la*(na*C+(y>2];y=rd(ma,J);X=N[u+240>>2];C=rd(qa,X);if(!(y<268435455)|!(C<268435455)){break Bf}C=WE(C*.0625);Tf:{if(V(C)<2147483648){i=~~C;break Tf}i=-2147483648}N[u+248>>2]=i;y=WE(y*.0625);Uf:{if(V(y)<2147483648){m=~~y;break Uf}m=-2147483648}N[u+244>>2]=m;if(!(i|m)){break Cf}S[u+184>>3]=sa;S[u+160>>3]=s;i=0-X|0;nb=u,qb=rd(Ha,i),S[nb+200>>3]=qb;m=0-J|0;nb=u,qb=rd(Ba,m),S[nb+192>>3]=qb;nb=u,qb=rd(Na,i),S[nb+176>>3]=qb;nb=u,qb=rd(Oa,m),S[nb+168>>3]=qb;nb=u,qb=rd(wa,i),S[nb+152>>3]=qb;nb=u,qb=rd(xa,m),S[nb+144>>3]=qb}S[u+208>>3]=K;i=rc(N[k+844>>2],u+224|0,k);N[u+108>>2]=i;if(!i){tb(0);break Bf}Vf:{if(O[i|0]){if(oi(u+144|0,u+72|0,u+88|0,0,u+108|0)){break Vf}i=N[u+108>>2]}tb(i);break Bf}i=rc(N[k+848>>2],u+108|0,o);N[f+348>>2]=i;Wf:{if(i){if(N[i+20>>2]){break Wf}tb(i)}N[f+348>>2]=0;N[u+72>>2]=j;N[u+76>>2]=w;break Bf}if(N[f+344>>2]){break Bf}i=N[u+76>>2];N[u+80>>2]=N[u+72>>2];N[u+84>>2]=i;break Bf}N[147316]=48;N[q+24>>2]=k;tb(N[f+48>>2]);k=1;break Af}i=N[f+344>>2];if(i){if(!N[i-8>>2]){break a}i=i-4|0;j=N[i>>2];if(!j){break a}N[i>>2]=j+1}N[f+348>>2]=N[f+344>>2]}i=N[f+344>>2];Xf:{if(!(i|N[f+348>>2])){tb(0);break Xf}Yf:{m=N[g+52>>2];j=N[g+56>>2];Zf:{if(m>>>0>>0){k=N[g+60>>2];break Zf}N[147316]=0;i=N[g+60>>2];m=j<<1;if(m>>>0>178956970){break Yf}j=T(j,48);k=$a(i,j>>>0<=1?1:j);if(!k){break Yf}N[147316]=0;N[g+56>>2]=m;N[g+60>>2]=k;m=N[g+52>>2];i=N[f+344>>2]}k=T(m,24)+k|0;N[k>>2]=i;N[k+4>>2]=N[f+348>>2];j=N[u+84>>2];i=N[u+80>>2];N[k+8>>2]=i;N[k+12>>2]=j;m=N[u+76>>2];k=N[g+60>>2]+T(N[g+52>>2],24)|0;N[k+16>>2]=N[u+72>>2];N[k+20>>2]=m;N[g+52>>2]=N[g+52>>2]+1;k=N[g+64>>2];N[g+64>>2]=(i|0)>(k|0)?k:i;i=N[g+68>>2];N[g+68>>2]=(i|0)<(j|0)?i:j;break Xf}N[147316]=48;N[g+60>>2]=i;tb(N[f+344>>2]);tb(N[f+348>>2])}k=0}f=N[f+352>>2];if(f){continue}break}}p=p+1|0;if((p|0)>2]){continue}break}if(!h){h=0;break vf}R=0;while(1){f=T(R,88)+n|0;m=N[f+52>>2];_f:{if(!m){_a(N[f+60>>2]);break _f}if(N[f+40>>2]==2){nb=f,ob=pc(+N[f+44>>2]*.015625*S[l+184>>3]+ +N[f+48>>2]*.015625),N[nb+44>>2]=ob}j=N[f+68>>2];p=N[f+60>>2];k=N[f+64>>2];g=0;while(1){i=p+T(g,24)|0;N[i+8>>2]=N[i+8>>2]-k;N[i+16>>2]=N[i+16>>2]-k;N[i+12>>2]=N[i+12>>2]-j;N[i+20>>2]=N[i+20>>2]-j;g=g+1|0;if((m|0)!=(g|0)){continue}break}g=N[f+20>>2];N[u+160>>2]=N[f+16>>2];N[u+164>>2]=g;g=N[f+12>>2];N[u+152>>2]=N[f+8>>2];N[u+156>>2]=g;g=N[f+4>>2];N[u+144>>2]=N[f>>2];N[u+148>>2]=g;N[u+168>>2]=N[f+52>>2];N[u+172>>2]=N[f+60>>2];g=rc(N[l+852>>2],u+144|0,l);if(!g){break _f}if(N[g+20>>2]){N[f+72>>2]=g}if(N[g+44>>2]){N[f+76>>2]=g+24}if(N[g+68>>2]){N[f+80>>2]=g+48}N[f+84>>2]=g}R=R+1|0;if((R|0)!=(h|0)){continue}break}}N[q+28>>2]=h;N[fa+24>>2]=0;N[fa+28>>2]=0;N[fa+16>>2]=0;N[fa+20>>2]=0;N[fa+8>>2]=0;N[fa+12>>2]=0;N[fa>>2]=0;N[fa+4>>2]=0;C=r-S[N[ca+16>>2]>>3];r=+N[ca+40>>2];s=C-r;$f:{if(V(s)<2147483648){f=~~s;break $f}f=-2147483648}N[fa+4>>2]=f;r=S[ca+32>>3]+ +N[ca+44>>2]+r;ag:{if(V(r)<2147483648){f=~~r;break ag}f=-2147483648}N[fa+8>>2]=f;r=S[W+184>>3];g=N[ca+48>>2];s=(D+ta)*r-+(g|0)+.5;bg:{if(V(s)<2147483648){f=~~s;break bg}f=-2147483648}N[fa+12>>2]=f;r=(ja-D)*r+ +(g<<1)+.5;cg:{if(V(r)<2147483648){f=~~r;break cg}f=-2147483648}N[fa+16>>2]=f;f=L[o+258|0];N[fa+28>>2]=ga;N[fa+24>>2]=H?1:-1;N[fa+20>>2]=f;k=u+80|0;f=N[o+4>>2];g=N[f+28>>2];if(g){h=N[f+24>>2];f=0;while(1){i=h+T(f,88)|0;j=N[i+80>>2];if(!(!j|N[o+220>>2]==4)){k=ue(o,j,N[i+64>>2],N[i+68>>2],N[i+36>>2],0,1e6,k,2,N[i+84>>2])}f=f+1|0;if((g|0)!=(f|0)){continue}break}m=0;while(1){f=h+T(m,88)|0;i=N[f+76>>2];if(!(!i|N[f+40>>2]==3&N[f+44>>2]<=0)){k=ue(o,i,N[f+64>>2],N[f+68>>2],N[f+32>>2],0,1e6,k,1,N[f+84>>2])}m=m+1|0;if((g|0)!=(m|0)){continue}break}m=0;while(1){f=h+T(m,88)|0;i=N[f+72>>2];dg:{if(!i){break dg}eg:{switch(N[f+40>>2]-1|0){case 0:case 2:j=N[f+84>>2];n=N[f+68>>2];l=N[f+64>>2];if(N[f+44>>2]>0){k=ue(o,i,l,n,N[f+24>>2],0,1e6,k,0,j);break dg}k=ue(o,i,l,n,N[f+28>>2],0,1e6,k,0,j);break dg;case 1:k=ue(o,i,N[f+64>>2],N[f+68>>2],N[f+24>>2],N[f+28>>2],N[f+44>>2],k,0,N[f+84>>2]);break dg;default:break eg}}k=ue(o,i,N[f+64>>2],N[f+68>>2],N[f+24>>2],0,1e6,k,0,N[f+84>>2])}m=m+1|0;if((g|0)!=(m|0)){continue}break}f=0;while(1){tb(N[(h+T(f,88)|0)+84>>2]);f=f+1|0;if((g|0)!=(f|0)){continue}break}}N[k>>2]=0;f=N[u+80>>2];if(N[o+296>>2]){h=N[o>>2];N[u+224>>2]=1;g=N[o+300>>2];N[u+232>>2]=N[o+296>>2];N[u+236>>2]=g;N[u+200>>2]=0;N[u+204>>2]=0;N[u+192>>2]=0;N[u+196>>2]=0;N[u+184>>2]=0;N[u+188>>2]=0;N[u+176>>2]=0;N[u+180>>2]=0;N[u+168>>2]=0;N[u+172>>2]=0;N[u+160>>2]=0;N[u+164>>2]=0;N[u+152>>2]=0;N[u+156>>2]=0;N[u+144>>2]=0;N[u+148>>2]=0;s=0;g=N[o+452>>2]-1&31;if((g|0)!=31){s=1/+(1<>3]=s*S[o+536>>3];r=S[o+544>>3];N[u+208>>2]=0;N[u+212>>2]=1072693248;S[u+176>>3]=s*r;S[u+160>>3]=N[h- -64>>2]<<6;S[u+184>>3]=N[h+56>>2]<<6;g=rc(N[h+844>>2],u+224|0,h);N[u+108>>2]=g;fg:{if(!g){tb(0);break fg}gg:{if(O[g|0]){if(oi(u+144|0,u+88|0,0,1,u+108|0)){break gg}g=N[u+108>>2]}tb(g);break fg}g=rc(N[h+848>>2],u+108|0,o);if(!g){break fg}hg:{if(!f){break hg}aa=N[u+92>>2];Z=N[u+88>>2];while(1){j=Z+N[g>>2]|0;i=j+N[g+8>>2]|0;E=N[f+4>>2];n=N[f+24>>2];l=E+n|0;m=aa+N[g+4>>2]|0;ia=N[f>>2];k=N[f+20>>2];t=ia+k|0;J=(l|0)<(m|0)|(j|0)>(t|0)|(i|0)<(k|0);H=m+N[g+12>>2]|0;X=(l|0)<(H|0)?l:H;l=(m|0)<(n|0)?n:m;p=X-l|0;ea=(i|0)>(t|0)?t:i;t=(j|0)<(k|0)?k:j;i=ea-t|0;I=l-m|0;W=t-j|0;w=l-n|0;R=t-k|0;j=1<>2];q=N[g+16>>2];k=N[f+8>>2];$=N[g+20>>2];ga=N[f+12>>2];ig:{jg:{if(N[o+456>>2]){if((t|0)==(ea|0)|J|((l|0)==(X|0)|(n|0)>(H|0))){break ig}m=Eo(j,j+T(k,E)|0);if(!m){break hg}B(m,ga,ia+T(k,E-1|0)|0);Qa[N[h+900>>2]](R+(T(k,w)+m|0)|0,k,W+($+T(q,I)|0)|0,q,i,p);break jg}kg:{if(!((t|0)==(ea|0)|J|(n|0)>(H|0))){if((l|0)!=(X|0)){break kg}}N[f+8>>2]=0;N[f>>2]=0;N[f+4>>2]=0;break ig}n=0-j|0;n=i>>>0>n>>>0?i:n&(i+j|0)-1;m=Eo(j,j+T(n,p)|0);if(!m){break hg}Qa[N[h+904>>2]](m,n,R+(ga+T(k,w)|0)|0,k,W+($+T(q,I)|0)|0,q,i,p);N[f+8>>2]=n;N[f+4>>2]=p;N[f>>2]=i;N[f+20>>2]=R+N[f+20>>2];N[f+24>>2]=w+N[f+24>>2]}N[f+40>>2]=m;N[f+12>>2]=m;tb(N[f+36>>2]);N[f+36>>2]=0}f=N[f+28>>2];if(f){continue}break}}tb(g)}f=N[u+80>>2]}N[fa>>2]=f;lg:{if(N[o+220>>2]!=4){break lg}h=N[o>>2];m=0;i=0;r=S[o+272>>3];if(r>0){i=pc(r*S[o+552>>3])}r=S[o+280>>3];if(r>0){m=pc(r*S[o+560>>3])}g=N[fa+12>>2];j=N[fa+16>>2]+(g+i|0)|0;j=(j|0)>0?j:0;g=g-i|0;i=(g|0)>0?g:0;g=N[h+132>>2];k=(g|0)>(i|0)?i:g;i=((g|0)>(j|0)?j:g)-k|0;if((i|0)<=0){break lg}g=N[fa+4>>2];j=N[fa+8>>2]+(g+m|0)|0;j=(j|0)>0?j:0;g=g-m|0;n=(g|0)>0?g:0;g=N[h+136>>2];n=(g|0)>(n|0)?n:g;j=((g|0)>(j|0)?j:g)-n|0;if((j|0)<=0){break lg}g=T(i,j);if(g>>>0>4294967289){break lg}h=kb(g+4|0);if(!h){break lg}N[h>>2]=h;m=h+4|0;G(m,255,g);l=N[o+236>>2];g=kb(48);if(!g){_a(h);break lg}N[g+44>>2]=0;N[g+40>>2]=m;N[g+36>>2]=0;N[g+24>>2]=n;N[g+20>>2]=k;N[g+16>>2]=l;N[g+12>>2]=m;N[g+8>>2]=i;N[g+4>>2]=j;N[g>>2]=i;N[g+28>>2]=f;N[fa>>2]=g}i=1;g=N[ca+12>>2];if((g|0)>0){m=0;while(1){f=N[(N[ca>>2]+T(m,360)|0)+352>>2];if(f){while(1){g=N[f+352>>2];_a(f);f=g;if(f){continue}break}g=N[ca+12>>2]}m=m+1|0;if((m|0)<(g|0)){continue}break}}tb(N[o+72>>2]);N[o+496>>2]=0;N[o+500>>2]=0;N[o+72>>2]=0;N[o+296>>2]=0;N[o+300>>2]=0;f=N[o+4>>2];if(!f){break o}N[f+12>>2]=0;break o}tb(N[o+72>>2]);N[o+496>>2]=0;N[o+500>>2]=0;i=0;N[o+72>>2]=0;N[o+296>>2]=0;N[o+300>>2]=0;f=N[o+4>>2];if(!f){break o}N[f+12>>2]=0}La=u+272|0;_=i+_|0;i=N[b+8>>2]}U=U+1|0;if((U|0)<(i|0)){continue}break}if((_|0)<=0){break d}Yc(N[a+124>>2],_,32,108);g=N[a+124>>2];if((_|0)!=1){break f}b=g;_=1;break e}if(!e){break c}N[e>>2]=2;break c}U=1;b=g;while(1){c=U<<5;d=c+g|0;if(N[N[b+28>>2]+20>>2]!=N[N[d+28>>2]+20>>2]){mo(a,b,d-b>>5);g=N[a+124>>2];b=c+g|0}U=U+1|0;if((_|0)!=(U|0)){continue}break}}mo(a,b,((_<<5)+g|0)-b>>5);g=0;U=ya;if((_|0)!=1){c=_&1;d=_&2147483646;while(1){_=N[a+124>>2];f=g<<5;b=N[_+f>>2];if(b){while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}_=N[a+124>>2]}b=N[_+(f|32)>>2];if(b){while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}}g=g+2|0;if((d|0)!=(g|0)){continue}break}if(!c){break d}}b=N[N[a+124>>2]+(g<<5)>>2];if(!b){break d}while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}}f=N[ya>>2];if(f){N[f+44>>2]=N[f+44>>2]+1}U=N[a+120>>2];if(e){g=0;mg:{if(!U){b=f;break mg}_=U;b=f;while(1){if(!b){b=0;g=2;break mg}i=2;ng:{if(N[_>>2]!=N[b>>2]|N[_+4>>2]!=N[b+4>>2]|(N[_+8>>2]!=N[b+8>>2]|N[_+16>>2]!=N[b+16>>2])){break ng}if(N[_+12>>2]!=N[b+12>>2]){break ng}i=1;if(N[_+20>>2]!=N[b+20>>2]){break ng}i=N[_+24>>2]!=N[b+24>>2]}g=(g|0)<(i|0)?i:g;b=N[b+28>>2];_=N[_+28>>2];if(!_){break mg}if(g>>>0<2){continue}break}}N[e>>2]=b?2:g}og:{if(!U){break og}b=N[U+44>>2]-1|0;N[U+44>>2]=b;if(b){break og}while(1){b=N[U+28>>2];tb(N[U+36>>2]);c=N[U+40>>2];if(c){_a(N[c-4>>2])}_a(U);U=b;if(b){continue}break}f=N[ya>>2]}N[a+120>>2]=0}La=pa- -64|0;return f}ba(9781,18170,3106,15850);F()}ba(8916,18290,435,15229);F()}function nq(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0;a:{if(!N[b>>2]){break a}w=db(1,204);if(!w){break a}N[w>>2]=1;N[w+4>>2]=1;j=a?a:588540;if(N[j+4>>2]){N[j+4>>2]=0}N[w+12>>2]=j;o=w+16|0;if(oq(o,1,j,b,c,d,e,f)){e=0;g=La-336|0;La=g;i=w+60|0;C=i+24|0;G(C,0,88);N[g+8>>2]=j;a=N[o+12>>2];N[g+20>>2]=N[o+8>>2];N[g+24>>2]=a;N[g+28>>2]=N[o+16>>2];a=N[o+4>>2];N[g+12>>2]=N[o>>2];N[g+16>>2]=a;N[g+32>>2]=j;c=g+56|0;G(c,0,72);N[g+52>>2]=N[o+16>>2];b=N[o+12>>2];a=N[o+8>>2];N[g+44>>2]=a;N[g+48>>2]=b;b=N[o+4>>2];N[g+36>>2]=N[o>>2];N[g+40>>2]=b;N[g+196>>2]=3;N[g+184>>2]=3;d=a;b=g+208|0;a=g+172|0;Bl(N[g+40>>2],d,g+196|0,b,g+184|0,a);J=g- -64|0,K=ek(N[g+32>>2],1196643650,N[g+196>>2],b,g+68|0,c),L[J|0]=K;dk(N[g+32>>2],1196643650,N[g+68>>2],N[g+184>>2],a,g+76|0);J=g,K=ek(N[g+32>>2],1196445523,N[g+196>>2],b,g+72|0,g+60|0),L[J+65|0]=K;dk(N[g+32>>2],1196445523,N[g+72>>2],N[g+184>>2],a,g+80|0);N[g+128>>2]=j;a=N[o+4>>2];N[g+132>>2]=N[o>>2];N[g+136>>2]=a;a=N[o+12>>2];N[g+140>>2]=N[o+8>>2];N[g+144>>2]=a;N[g+148>>2]=N[o+16>>2];N[g+160>>2]=0;N[g+152>>2]=0;N[g+156>>2]=0;a=ul(j+156|0);b:{if(!(O[a|0]|O[a+1|0]<<8)){a=sl(j+160|0);if(!(O[a|0]|O[a+1|0]<<8)){break b}}e=1;if((N[o>>2]&-2)==4){break b}a=N[Vb(j+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];e=!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))}b=O[g+164|0]&-8|e;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{c=N[g+16>>2];if((c|0)<=1298231906){if((c|0)<=1198877297){if((c|0)<=1130918514){if((c|0)<=1114139506){if((c|0)<=1113681e3){if((c|0)==1097100397|(c|0)==1097363309){break e}if((c|0)==1098015074){break l}a=264680;break c}if((c|0)==1113681001|(c|0)==1113683051){break e}if((c|0)==1113943655){break i}a=264680;break c}if((c|0)<=1114990691){if((c|0)==1114139507|(c|0)==1114792296){break e}a=264680;if((c|0)==1114990441){break e}break c}if((c|0)==1114990692|(c|0)==1130457965){break e}a=264680;if((c|0)==1130914157){break e}break c}if((c|0)<=1164409199){if((c|0)<=1147756906){if((c|0)==1130918515|(c|0)==1131441518){break e}if((c|0)==1147500129){break i}a=264680;break c}if((c|0)==1147756907|(c|0)==1148151666){break e}a=264680;if((c|0)==1148547180){break e}break c}if((c|0)<=1198485094){if((c|0)==1164409200){break e}a=264680;if((c|0)==1164736877){break e}break c}a=264680;switch(c-1198485095|0){case 1:case 2:case 3:case 4:case 5:break c;case 0:case 6:break e;default:break f}}if((c|0)<=1265135465){if((c|0)<=1247901280){if((c|0)<=1214603889){a=264680;m:{switch(c-1214344807|0){case 0:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;case 8:break e;default:break m}}if((c|0)==1198877298|(c|0)==1198879349){break i}break c}a=264680;switch(c-1215131239|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;case 0:case 9:break e;default:break j}}if((c|0)<=1264678760){if((c|0)==1247901281){break e}a=264680;if((c|0)==1264675945){break e}break c}if((c|0)==1264678761|(c|0)==1265131890){break e}a=264680;if((c|0)!=1265134962){break c}a=265128;break c}if((c|0)<=1281716322){if((c|0)<=1265920104){if((c|0)==1265135466|(c|0)==1265202291){break e}if((c|0)==1265525857){break i}a=264680;break c}if((c|0)==1265920105|(c|0)==1281453665){break e}a=264680;if((c|0)!=1281453935){break c}break d}if((c|0)<=1298230112){if((c|0)==1281716323|(c|0)==1281977698){break e}a=264680;if((c|0)==1298229354){break e}break c}a=264680;n:{switch(c-1298230884|0){case 1:case 2:case 3:case 4:break c;case 0:case 5:break e;default:break n}}if((c|0)==1298230113){break e}break c}if((c|0)<=1399809891){if((c|0)<=1333094257){if((c|0)<=1299541107){if((c|0)<=1299145832){if((c|0)==1298231907|(c|0)==1298490470){break e}if((c|0)==1298954605){break i}a=264680;break c}if((c|0)==1299145833|(c|0)==1299148391){break e}a=264680;if((c|0)==1299473769){break e}break c}if((c|0)<=1315008099){if((c|0)==1299541108){break e}if((c|0)==1299803506){break h}a=264680;if((c|0)==1315006317){break e}break c}if((c|0)<=1315663726){if((c|0)==1315008100){break e}a=264680;if((c|0)==1315272545){break e}break c}if((c|0)==1315663727){break e}if((c|0)==1332902241){break i}a=264680;break c}if((c|0)<=1383032934){if((c|0)<=1349284451){if((c|0)==1333094258|(c|0)==1349017959){break e}a=264680;if((c|0)==1349020784){break e}break c}if((c|0)==1349284452){break e}if((c|0)==1365336423){break g}a=264680;if((c|0)==1382706791){break e}break c}if((c|0)<=1399415907){if((c|0)==1383032935|(c|0)==1398895986){break e}a=264680;if((c|0)==1399353956){break e}break c}a=264680;o:{switch(c-1399418468|0){case 1:case 2:case 3:break c;case 0:case 4:break e;default:break o}}if((c|0)==1399415908){break e}break c}if((c|0)<=1415999078){if((c|0)<=1415669601){if((c|0)<=1400204899){a=264680;p:{switch(c-1399809892|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 0:case 11:break e;default:break p}}if((c|0)==1399814511){break e}break c}if((c|0)==1400204900|(c|0)==1400466543){break e}if((c|0)==1400468067){break l}a=264680;break c}if((c|0)<=1415671147){if((c|0)==1415669602|(c|0)==1415670642){break e}a=264680;if((c|0)==1415670885){break e}break c}if((c|0)==1415671148){break i}if((c|0)==1415673460){break e}if((c|0)==1415933045){break i}a=264680;break c}if((c|0)<=1416524640){if((c|0)<=1416126824){if((c|0)==1415999079){break e}a=264680;if((c|0)==1416064103){break e}break c}if((c|0)==1416126825){break d}if((c|0)==1416192628){break e}a=264680;if((c|0)==1416196712){break e}break c}if((c|0)<=1466132590){if((c|0)==1416524641|(c|0)==1416590447){break e}a=264680;if((c|0)==1449751656){break e}break c}if((c|0)==1466132591|(c|0)==1499822697){break e}a=264680;if((c|0)==1516334690){break e}break c}if(!(N[g+56>>2]==1145457748&(c|0)!=1098015074)){a=264792;if((N[g+12>>2]&-2)==4){break c}}a=264680;break c}a=264904;break c}if((c|0)!=1214603890){break c}a=264960;break c}c=N[g+56>>2];if((c|0)==1145457748){a=264680;break c}a=264680;if((c|0)==1818326126){break c}a=(c&255)==51?265016:265072;break c}c=N[g+56>>2];if((c|0)==1145457748){a=264680;break c}if((c|0)==1818326126){a=264680;break c}a=264680;if((c|0)==1836674418){break c}a=265184;break c}a=265240;break c}if((c|0)!=1198678382){break c}}a=N[g+56>>2];a=(a|0)==1145457748?264680:(a|0)==1818326126?264680:265016;break c}a=264848}N[g+168>>2]=a;L[g+164|0]=b|(N[a+48>>2]!=0)<<1|O[a+52|0]<<2;if(!(e^1|(a|0)==264680)){N[g+168>>2]=264736}a=N[g+96>>2];s=N[o+24>>2];m=N[o+20>>2];q:{r:{s:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break r}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break s}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break q}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1920365166;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];t:{u:{v:{e=N[g+104>>2];if((e|0)>=0){a=N[g+108>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break u}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+112>>2],e<<3);if(a){break v}}N[g+104>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break t}N[g+104>>2]=e;N[g+112>>2]=a;a=N[g+108>>2]}if(a>>>0>>0){G(N[g+112>>2]+(a<<3)|0,0,b-a<<3)}N[g+108>>2]=b;b=(N[g+112>>2]+(b<<3)|0)-8|0}a=N[g+84>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+84>>2]=N[g+84>>2]+1;w:{x:{y:{switch(N[g+12>>2]-4|0){case 0:a=N[g+96>>2];z:{A:{B:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break A}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break B}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break z}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1819570785;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];C:{D:{E:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break D}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break E}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break C}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1819570797;c=1;break x;case 1:break y;default:break w}}a=N[g+96>>2];F:{G:{H:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break G}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break H}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break F}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1920232545;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];I:{J:{K:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break J}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break K}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break I}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1920232557;c=0}N[b+16>>2]=c;N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=a;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2]}a=N[g+96>>2];L:{M:{N:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break M}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break N}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break L}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1718772067;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];O:{P:{Q:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break P}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break Q}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break O}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1853189490;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];R:{S:{T:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break S}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break T}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break R}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1684959085;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];U:{V:{W:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break V}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break W}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break U}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=255;N[b+8>>2]=255;N[b+12>>2]=33;N[b+4>>2]=a;N[b>>2]=1918987876;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];X:{Y:{Z:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Y}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break Z}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break X}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=3;N[b+4>>2]=a;N[b>>2]=1953653099;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];_:{$:{aa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break $}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break aa}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break _}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1214345830;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ba:{ca:{da:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break da}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ba}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1212240454;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[N[g+168>>2]>>2];if(a){Qa[a|0](g+8|0)}a=N[g+96>>2];ea:{fa:{ga:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break ga}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ea}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1114995322;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ha:{ia:{ja:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break ja}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ha}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1112889946;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ka:{la:{ma:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break la}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break ma}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ka}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1633842797;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];na:{oa:{pa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break pa}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break na}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1651275629;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];qa:{ra:{sa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break sa}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break qa}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1667460464;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ta:{ua:{va:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ua}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break va}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ta}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1819239276;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];wa:{xa:{ya:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break xa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break ya}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break wa}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=a;N[b>>2]=1835102827;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];za:{Aa:{Ba:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Aa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break Ba}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break za}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=a;N[b>>2]=1835756907;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ca:{Da:{Ea:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Da}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break Ea}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ca}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1919707495;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];b=a+1|0;c=(b|0)>0?b:0;b=N[g+92>>2];Fa:{if((N[g+12>>2]&-2)==4){Ga:{Ha:{Ia:{if((b|0)>=0){if(b>>>0>=c>>>0){break Ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break Ia}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ga}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1667329140;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ja:{Ka:{La:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break La}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ja}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1668049255;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ma:{Na:{Oa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Na}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break Oa}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ma}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1668641395;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Pa:{Qa:{Ra:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break Ra}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Pa}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1684632436;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Sa:{Ta:{Ua:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break Ua}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Sa}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=3;N[b+4>>2]=a;N[b>>2]=1801810542;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Va:{Wa:{Xa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break Xa}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Va}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1818847073;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ya:{Za:{_a:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Za}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break _a}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ya}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1919118452;c=1;break Fa}$a:{ab:{bb:{if((b|0)>=0){if(b>>>0>=c>>>0){break ab}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){d=$a(N[g+100>>2],T(b,28));a=N[g+96>>2];if(d){break bb}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break $a}N[g+92>>2]=b;N[g+100>>2]=d}if(a>>>0>>0){G(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1986359924;c=17}N[b+16>>2]=1;N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=a;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];cb:{if(!s){break cb}while(1){a=m+(l<<4)|0;f=N[a>>2];d=0;d=N[a+8>>2]?d:N[a+12>>2]==-1;if(f){e=N[a+4>>2];a=N[g+96>>2];db:{eb:{fb:{h=N[g+92>>2];if((h|0)>=0){b=a+1|0;c=(b|0)>0?b:0;if(c>>>0<=h>>>0){b=N[g+100>>2];break eb}while(1){h=((h>>>1|0)+h|0)+8|0;if(c>>>0>=h>>>0){continue}break}if(h>>>0<=153391689){b=$a(N[g+100>>2],T(h,28));a=N[g+96>>2];if(b){break fb}}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break db}N[g+92>>2]=h;N[g+100>>2]=b}if(a>>>0>>0){G(T(a,28)+b|0,0,T(c-a|0,28));b=N[g+100>>2]}N[g+96>>2]=c;a=c;b=(T(a,28)+b|0)-28|0}N[b+12>>2]=d;N[b+8>>2]=e;N[b+4>>2]=a;N[b>>2]=f;N[b+16>>2]=d?e:0;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2]}l=l+1|0;if((s|0)!=(l|0)){continue}break}if(!(L[g+164|0]&1)){break cb}c=0;while(1){a=m+(c<<4)|0;j=N[a+4>>2];f=N[a>>2];a=Nf(N[g+128>>2]+180|0);gb:{if(!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))){break gb}if((f|0)!=1633774708){b=77;a=0;while(1){hb:{e=a+b>>>1|0;k=e<<4;d=N[k+236864>>2];ib:{if(d>>>0>f>>>0){b=e-1|0;break ib}if(d>>>0>=f>>>0){break hb}a=e+1|0}if((a|0)<=(b|0)){continue}break gb}break}b=Nf(N[g+128>>2]+180|0);t=N[k+236868>>2];a=O[b+4|0]|O[b+5|0]<<8;jb:{if(a){e=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;h=e+T(f,12)|0;d=O[h|0]|O[h+1|0]<<8;d=(d<<8|d>>>8)&65535;kb:{if((d|0)>(t|0)){b=f-1|0;break kb}if((d|0)==(t|0)){break jb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}h=275552}if(!(O[h+2|0]|O[h+3|0]<<8)){if((t|0)!=37|N[k+236872>>2]!=1){break gb}b=Nf(N[g+128>>2]+180|0);a=O[b+4|0]|O[b+5|0]<<8;lb:{if(a){d=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;h=d+T(f,12)|0;e=O[h|0]|O[h+1|0]<<8;mb:{if(((e<<8|e>>>8)&65535)>>>0>=4){b=f-1|0;break mb}if((e|0)==768){break lb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}h=275552}if(!(O[h+2|0]|O[h+3|0]<<8)){break gb}}b=N[g+156>>2];nb:{ob:{pb:{d=N[g+152>>2];if((d|0)>=0){a=b+1|0;a=(a|0)>0?a:0;if(a>>>0<=d>>>0){e=N[g+160>>2];break ob}while(1){d=((d>>>1|0)+d|0)+8|0;if(a>>>0>=d>>>0){continue}break}if(d>>>0<=268435455){e=$a(N[g+160>>2],d<<4);b=N[g+156>>2];if(e){break pb}}N[g+152>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break nb}N[g+152>>2]=d;N[g+160>>2]=e}if(a>>>0>b>>>0){G((b<<4)+e|0,0,a-b<<4);e=N[g+160>>2]}N[g+156>>2]=a;b=a;a=((b<<4)+e|0)-16|0}N[a+12>>2]=b;N[a>>2]=t;N[a+4>>2]=N[(k|(j?8:12))+236864>>2];L[a+8|0]=((O[h+8|0]|O[h+9|0]<<8)&128)>>>7;break gb}b=Nf(N[g+128>>2]+180|0);a=O[b+4|0]|O[b+5|0]<<8;qb:{if(a){d=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;l=d+T(f,12)|0;e=O[l|0]|O[l+1|0]<<8;rb:{if(((e<<8|e>>>8)&65535)>>>0>=18){b=f-1|0;break rb}if((e|0)==4352){break qb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}l=275552}if(!(O[l+2|0]|O[l+3|0]<<8)){break gb}b=N[g+156>>2];sb:{tb:{ub:{d=N[g+152>>2];if((d|0)>=0){a=b+1|0;a=(a|0)>0?a:0;if(a>>>0<=d>>>0){e=N[g+160>>2];break tb}while(1){d=((d>>>1|0)+d|0)+8|0;if(a>>>0>=d>>>0){continue}break}if(d>>>0<=268435455){e=$a(N[g+160>>2],d<<4);b=N[g+156>>2];if(e){break ub}}N[g+152>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break sb}N[g+152>>2]=d;N[g+160>>2]=e}if(a>>>0>b>>>0){G((b<<4)+e|0,0,a-b<<4);e=N[g+160>>2]}N[g+156>>2]=a;b=a;a=((b<<4)+e|0)-16|0}N[a+12>>2]=b;N[a+4>>2]=j;N[a>>2]=17;L[a+8|0]=1}c=c+1|0;if((s|0)!=(c|0)){continue}break}}a=N[g+168>>2];b=N[a+4>>2];if(b){Qa[b|0](g+8|0);a=N[g+168>>2]}b=N[g+16>>2];N[i>>2]=N[g+12>>2];N[i+4>>2]=b;N[i+16>>2]=N[g+28>>2];b=N[g+24>>2];N[i+8>>2]=N[g+20>>2];N[i+12>>2]=b;N[i+36>>2]=-2147483648;N[i+20>>2]=a;N[g+184>>2]=0;N[g+188>>2]=0;N[i+24>>2]=N[g+56>>2];L[i+32|0]=O[g+64|0];ck(N[g+32>>2],1196643650,N[g+68>>2],N[g+76>>2],g+172|0,g+196|0);N[i+28>>2]=N[g+60>>2];L[i+33|0]=O[g+65|0];ck(N[g+32>>2],1196445523,N[g+72>>2],N[g+80>>2],g+176|0,g+200|0);a=N[g+96>>2];vb:{if(!a){break vb}Ug(N[g+100>>2],a,28,286);e=1;j=N[g+96>>2];if(j>>>0>1){d=N[g+100>>2];l=0;while(1){h=d+T(e,28)|0;f=d+T(l,28)|0;wb:{if(N[h>>2]!=N[f>>2]){a=N[h+4>>2];l=l+1|0;b=d+T(l,28)|0;N[b>>2]=N[h>>2];N[b+4>>2]=a;N[b+24>>2]=N[h+24>>2];a=N[h+20>>2];N[b+16>>2]=N[h+16>>2];N[b+20>>2]=a;a=N[h+12>>2];N[b+8>>2]=N[h+8>>2];N[b+12>>2]=a;break wb}c=N[f+12>>2];xb:{if(L[h+12|0]&1){c=c|1;N[f+12>>2]=c;N[f+8>>2]=N[h+8>>2];N[f+16>>2]=N[h+16>>2];break xb}if(c&1){c=c^1;N[f+12>>2]=c}b=N[f+8>>2];a=N[h+8>>2];N[f+8>>2]=a>>>0>>0?b:a}N[f+12>>2]=N[h+12>>2]&2|c;b=N[f+20>>2];a=N[h+20>>2];N[f+20>>2]=a>>>0>b>>>0?b:a;b=N[f+24>>2];a=N[h+24>>2];N[f+24>>2]=a>>>0>b>>>0?b:a}e=e+1|0;if((j|0)!=(e|0)){continue}break}j=N[g+96>>2];e=l+1|0}a=(e|0)>0?e:0;if(a>>>0>>0){N[g+96>>2]=a;j=a}if(!j){break vb}t=g+212|0;c=4;e=0;while(1){yb:{if(Q[g+96>>2]<=e>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break yb}r=N[g+100>>2]+T(e,28)|0;b=N[r+8>>2];zb:{if(L[r+12|0]&1){a=0;if((b|0)==1){break zb}}if(!b){break yb}a=32-W(b)|0;a=a>>>0>=8?8:a}f=a+c|0;if(f>>>0>30){break yb}a=N[r>>2];if((a|0)==N[g+196>>2]){N[g+184>>2]=N[r+20>>2]}b=Ff(N[g+32>>2],1196643650,N[g+68>>2],N[g+76>>2],a,g+208|0);a=N[r>>2];if((a|0)==N[g+200>>2]){N[g+188>>2]=N[r+24>>2]}v=0;Ab:{if(Ff(N[g+32>>2],1196445523,N[g+72>>2],N[g+80>>2],a,t)|b){break Ab}a=N[r+12>>2];if(a&16){b=N[r>>2];a=275552;d=N[Vb(N[g+32>>2]+144|0)>>2];d=d?d:275552;p=Q[d+16>>2]<4?275552:N[d+12>>2];Bb:{if((O[p|0]|O[p+1|0]<<8)!=256){break Bb}d=O[p+6|0]|O[p+7|0]<<8;if(!d){break Bb}a=p+((d<<8|d>>>8)&65535)|0}m=65535;a=O[a|0]|O[a+1|0]<<8;Cb:{if(!a){h=0;break Cb}h=1;u=(a<<8|a>>>8)&65535;s=u>>>0<=1?1:u;a=0;while(1){d=275552;Db:{if((O[p|0]|O[p+1|0]<<8)!=256){break Db}k=O[p+6|0]|O[p+7|0]<<8;d=275552;if(!k){break Db}d=p+((k<<8|k>>>8)&65535)|0}k=O[d|0]|O[d+1|0]<<8;if(((k<<8|k>>>8)&65535)>>>0>a>>>0){d=(d+T(a,6)|0)+2|0}else{d=275552}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==(b|0)){m=a;break Cb}a=a+1|0;h=u>>>0>a>>>0;if((a|0)!=(s|0)){continue}break}}N[g+208>>2]=m;b=N[r>>2];a=275552;d=N[lc(N[g+32>>2]+148|0)>>2];d=d?d:275552;p=Q[d+16>>2]<4?275552:N[d+12>>2];Eb:{if((O[p|0]|O[p+1|0]<<8)!=256){break Eb}d=O[p+6|0]|O[p+7|0]<<8;if(!d){break Eb}a=p+((d<<8|d>>>8)&65535)|0}m=65535;a=O[a|0]|O[a+1|0]<<8;Fb:{if(!a){x=0;break Fb}x=1;u=(a<<8|a>>>8)&65535;s=u>>>0<=1?1:u;a=0;while(1){d=275552;Gb:{if((O[p|0]|O[p+1|0]<<8)!=256){break Gb}k=O[p+6|0]|O[p+7|0]<<8;d=275552;if(!k){break Gb}d=p+((k<<8|k>>>8)&65535)|0}k=O[d|0]|O[d+1|0]<<8;if(((k<<8|k>>>8)&65535)>>>0>a>>>0){d=(d+T(a,6)|0)+2|0}else{d=275552}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==(b|0)){m=a;break Fb}a=a+1|0;x=u>>>0>a>>>0;if((a|0)!=(s|0)){continue}break}}N[g+212>>2]=m;if((h|x)&1){break Ab}a=N[r+12>>2]}v=1;if(!(a&2)){break yb}}Hb:{Ib:{Jb:{h=N[i+40>>2];if((h|0)>=0){d=N[i+44>>2];a=d+1|0;a=(a|0)>0?a:0;if(a>>>0<=h>>>0){l=N[i+48>>2];break Ib}while(1){h=((h>>>1|0)+h|0)+8|0;if(a>>>0>=h>>>0){continue}break}if(h>>>0<=119304647){l=$a(N[i+48>>2],T(h,36));if(l){break Jb}}N[i+40>>2]=-1}N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147464]=0;a=589824;b=0;break Hb}N[i+40>>2]=h;N[i+48>>2]=l;d=N[i+44>>2]}if(a>>>0>d>>>0){G(T(d,36)+l|0,0,T(a-d|0,36));l=N[i+48>>2]}N[i+44>>2]=a;a=(T(a,36)+l|0)-36|0;b=O[a+32|0]}N[a>>2]=N[r>>2];N[a+4>>2]=N[g+208>>2];N[a+8>>2]=N[g+212>>2];N[a+12>>2]=N[r+20>>2];N[a+16>>2]=N[r+24>>2];b=(O[r+12|0]>>>1&2|b&-3)^2;L[a+32|0]=b;b=(O[r+12|0]>>>1&4|b&-5)^4;L[a+32|0]=b;b=b&-9|O[r+12|0]>>>2&8;L[a+32|0]=b;l=b&-17|O[r+12|0]>>>2&16;L[a+32|0]=l;Kb:{if(!(!(L[r+12|0]&1)|N[r+8>>2]!=1)){b=-2147483648;f=c;c=31;break Kb}b=(1<>2]=N[i+36>>2]|b&N[r+16>>2]<>2]=b;N[a+20>>2]=c;L[a+32|0]=l&254|v;N[a+28>>2]=1<>2];if((e|0)>=0){a=N[g+108>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break Mb}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+112>>2],e<<3);if(a){break Nb}}N[g+104>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break Lb}N[g+104>>2]=e;N[g+112>>2]=a;a=N[g+108>>2]}if(a>>>0>>0){G(N[g+112>>2]+(a<<3)|0,0,b-a<<3)}N[g+108>>2]=b;b=(N[g+112>>2]+(b<<3)|0)-8|0}a=N[g+84>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+84>>2]=N[g+84>>2]+1;Ob:{Pb:{Qb:{e=N[g+116>>2];if((e|0)>=0){a=N[g+120>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break Pb}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+124>>2],e<<3);if(a){break Qb}}N[g+116>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break Ob}N[g+116>>2]=e;N[g+124>>2]=a;a=N[g+120>>2]}if(a>>>0>>0){G(N[g+124>>2]+(a<<3)|0,0,b-a<<3)}N[g+120>>2]=b;b=(N[g+124>>2]+(b<<3)|0)-8|0}H=o+28|0;a=N[g+88>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+88>>2]=N[g+88>>2]+1;f=1;b=0;while(1){y=b<<2;D=y+g|0;if(N[D+84>>2]){a=T(b,12);n=a+i|0;E=y+238176|0;F=y+H|0;z=a+(g+8|0)|0;I=y+(g+184|0)|0;q=y+(g+172|0)|0;m=0;j=0;x=0;while(1){s=N[q>>2];Rb:{if((s|0)==65535|N[I>>2]!=(m|0)){break Rb}k=N[F>>2];b=N[g+32>>2];v=0;h=0;t=N[E>>2];Sb:{Tb:{if((t|0)!=1196445523){a=275552;if((t|0)!=1196643650){break Sb}a=Vb(b+144|0);break Tb}a=lc(b+148|0)}a=N[a>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2]}if((O[a|0]|O[a+1|0]<<8)==256){b=O[a+8|0]|O[a+9|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8;h=(a<<8|a>>>8)&65535}while(1){N[g+204>>2]=32;bk(N[g+32>>2],t,s,k,v,g+204|0,g+208|0);b=0;a=N[g+204>>2];if(!a){break Rb}while(1){e=(g+208|0)+(b<<2)|0;if(Q[e>>2]>>0){Ub:{Vb:{Wb:{c=N[n+52>>2];if((c|0)>=0){d=N[n+56>>2];a=d+1|0;a=(a|0)>0?a:0;if(a>>>0<=c>>>0){l=N[n+60>>2];break Vb}while(1){c=((c>>>1|0)+c|0)+8|0;if(a>>>0>=c>>>0){continue}break}if(c>>>0<=357913941){l=$a(N[n+60>>2],T(c,12));if(l){break Wb}}N[n+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;a=589824;d=0;break Ub}N[n+60>>2]=l;N[n+52>>2]=c;d=N[n+56>>2]}if(a>>>0>d>>>0){G(T(d,12)+l|0,0,T(a-d|0,12));l=N[n+60>>2]}N[n+56>>2]=a;a=(T(a,12)+l|0)-12|0;d=O[a+2|0]}N[a+4>>2]=-2147483648;c=N[e>>2];N[a+8>>2]=538976288;L[a+2|0]=d&240|3;M[a>>1]=c;a=N[g+204>>2]}b=b+1|0;if(b>>>0>>0){continue}break}v=a+v|0;if((a|0)==32){continue}break}}a=N[i+44>>2];if(a){e=N[i+48>>2];o=e+T(a,36)|0;while(1){a=e+y|0;Xb:{if(N[a+12>>2]!=(m|0)){break Xb}r=N[a+4>>2];p=N[e>>2];b=O[e+32|0];u=N[e+24>>2];t=N[F>>2];c=N[g+32>>2];v=0;h=0;A=N[E>>2];Yb:{Zb:{if((A|0)!=1196445523){a=275552;if((A|0)!=1196643650){break Yb}a=Vb(c+144|0);break Zb}a=lc(c+148|0)}a=N[a>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2]}if((O[a|0]|O[a+1|0]<<8)==256){c=O[a+8|0]|O[a+9|0]<<8;if(c){a=a+((c<<8|c>>>8)&65535)|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8;h=(a<<8|a>>>8)&65535}s=b>>>1&15;while(1){N[g+204>>2]=32;bk(N[g+32>>2],A,r,t,v,g+204|0,g+208|0);b=0;a=N[g+204>>2];if(!a){break Xb}while(1){k=(g+208|0)+(b<<2)|0;if(Q[k>>2]>>0){_b:{$b:{ac:{c=N[n+52>>2];if((c|0)>=0){d=N[n+56>>2];a=d+1|0;a=(a|0)>0?a:0;if(a>>>0<=c>>>0){l=N[n+60>>2];break $b}while(1){c=((c>>>1|0)+c|0)+8|0;if(a>>>0>=c>>>0){continue}break}if(c>>>0<=357913941){l=$a(N[n+60>>2],T(c,12));if(l){break ac}}N[n+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;a=589824;d=0;break _b}N[n+60>>2]=l;N[n+52>>2]=c;d=N[n+56>>2]}if(a>>>0>d>>>0){G(T(d,12)+l|0,0,T(a-d|0,12));l=N[n+60>>2]}N[n+56>>2]=a;a=(T(a,12)+l|0)-12|0;d=O[a+2|0]}N[a+4>>2]=u;c=N[k>>2];N[a+8>>2]=p;L[a+2|0]=d&240|s;M[a>>1]=c;a=N[g+204>>2]}b=b+1|0;if(b>>>0>>0){continue}break}v=a+v|0;if((a|0)==32){continue}break}}e=e+36|0;if((o|0)!=(e|0)){continue}break}}a=N[n+56>>2];bc:{if(j>>>0>=a>>>0){j=a;break bc}c=a-j|0;b=a>>>0>=c>>>0?c:0;b=b>>>0>>0?b:c;if(b){Ug(N[n+60>>2]+T(j,12)|0,b,12,287);a=N[n+56>>2]}b=j+1|0;if(b>>>0>>0){while(1){c=N[n+60>>2];d=T(b,12);h=c+d|0;a=T(j,12);e=a+c|0;cc:{if(P[h>>1]!=P[e>>1]){a=N[h+4>>2];j=j+1|0;c=c+T(j,12)|0;N[c>>2]=N[h>>2];N[c+4>>2]=a;N[c+8>>2]=N[h+8>>2];break cc}N[e+4>>2]=N[e+4>>2]|N[h+4>>2];L[e+2|0]=O[e+2|0]&(O[h+2|0]|254);c=N[n+60>>2];a=c+a|0;L[a+2|0]=O[a+2|0]&(O[(c+d|0)+2|0]|253)}a=N[n+56>>2];b=b+1|0;if(a>>>0>b>>>0){continue}break}b=j+1|0}j=a;a=(b|0)>0?b:0;if(j>>>0<=a>>>0){break bc}N[n+56>>2]=a;j=a}dc:{if(Q[z+100>>2]<=x>>>0){break dc}b=x<<3;if(N[b+N[z+104>>2]>>2]!=(m|0)){break dc}ec:{fc:{gc:{l=N[n+76>>2];if((l|0)>=0){e=N[n+80>>2];a=e+1|0;a=(a|0)>0?a:0;if(a>>>0<=l>>>0){d=N[n+84>>2];break fc}while(1){l=((l>>>1|0)+l|0)+8|0;if(a>>>0>=l>>>0){continue}break}if(l>>>0<=536870911){d=$a(N[n+84>>2],l<<3);if(d){break gc}}N[n+76>>2]=-1}N[147456]=0;N[147457]=0;a=589824;break ec}N[n+84>>2]=d;N[n+76>>2]=l;e=N[n+80>>2]}if(a>>>0>e>>>0){G((e<<3)+d|0,0,a-e<<3);d=N[n+84>>2]}N[n+80>>2]=a;a=((a<<3)+d|0)-8|0}N[a>>2]=j;hc:{if(Q[z+100>>2]<=x>>>0){N[147456]=0;N[147457]=0;b=0;break hc}b=N[(b+N[z+104>>2]|0)+4>>2]}N[a+4>>2]=b;x=x+1|0}m=m+1|0;if(m>>>0>2]){continue}break}}b=1;a=f;f=0;if(a){continue}break}ic:{if(!(L[g+164|0]&1)){break ic}a=N[g+156>>2];jc:{if(!a){break jc}Hj(N[g+160>>2],a);a=N[g+156>>2];if(a>>>0>1){e=0;while(1){f=a>>>0>b>>>0;kc:{if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=0;break kc}c=N[N[g+160>>2]+(b<<4)>>2]}d=a>>>0>e>>>0;lc:{if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;j=0;break lc}j=N[N[g+160>>2]+(e<<4)>>2]}mc:{if((c|0)==(j|0)){nc:{if(a>>>0>b>>>0){c=N[g+160>>2]+(b<<4)|0;if(O[c+8|0]){break mc}c=N[c+4>>2];break nc}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=0}oc:{if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=0;break oc}d=N[(N[g+160>>2]+(e<<4)|0)+4>>2]}if((c^d)>>>0<2){break mc}}pc:{if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=589824;break pc}c=N[g+160>>2]+(b<<4)|0}e=e+1|0;qc:{if(e>>>0>=a>>>0){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break qc}a=N[g+160>>2]+(e<<4)|0}d=N[c+4>>2];N[a>>2]=N[c>>2];N[a+4>>2]=d;d=N[c+12>>2];N[a+8>>2]=N[c+8>>2];N[a+12>>2]=d;a=N[g+156>>2]}b=b+1|0;if(b>>>0>>0){continue}break}b=e+1|0}c=a;a=(b|0)>0?b:0;if(c>>>0<=a>>>0){break jc}N[g+156>>2]=a}b=ul(N[g+128>>2]+156|0);if(O[b|0]|O[b+1|0]<<8){a=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(!a){break ic}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);r=a>>>0<=1?1:a;m=b+8|0;j=0;while(1){a=O[m|0]|O[m+1|0]<<8|(O[m+2|0]<<16|O[m+3|0]<<24);h=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[m+8|0]|O[m+9|0]<<8|(O[m+10|0]<<16|O[m+11|0]<<24);if(a){a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);p=a>>>0<=1?1:a;u=m+16|0;f=0;while(1){q=(f|0)<0?275552:u+T(f,12)|0;e=O[q+2|0]|O[q+3|0]<<8;c=(e<<8|e>>>8)&65535;b=O[q|0]|O[q+1|0]<<8;d=(b<<8|b>>>8)&65535;a=N[g+156>>2];rc:{sc:{tc:{if((a|0)>0){e=a-1|0;t=N[g+160>>2];b=d;a=c;while(1){c=a;d=b;b=0;a=e;while(1){uc:{vc:{o=a+b>>>1|0;s=t+(o<<4)|0;k=N[s>>2];wc:{if((k|0)!=(d|0)){if((d|0)>=(k|0)){break wc}break vc}k=N[s+4>>2];if((k|0)==(c|0)){break sc}if((c|0)<(k|0)){break vc}}b=o+1|0;break uc}a=o-1|0}if((a|0)>=(b|0)){continue}break}if((d|0)!=3){break tc}a=1;b=37;if((c|0)==3){continue}break}break tc}if((b|0)!=768){break tc}if((e|0)==768){break rc}}if(!c|(d|0)!=39){break rc}d=N[g+128>>2];b=N[d+176>>2];xc:{if(b){break xc}while(1){b=N[d+48>>2];if(!b){b=275552;break xc}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;e=N[b+32>>2];if((e|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;e=(a<<8|a>>>8)&65535;N[b+32>>2]=e}L[g+248|0]=1;N[g+244>>2]=e;a=N[b+12>>2];yc:{if(a){b=Qa[a|0](b,1819566439,N[b+16>>2])|0;if(b){break yc}}b=275552}a=ql(g+208|0,b);b=N[d+176>>2];zc:{if(a){if(b){break zc}b=a;N[d+176>>2]=b;break xc}if(b){break xc}b=275552;N[d+176>>2]=275552;break xc}if((a|0)==275552){break xc}ab(a);b=N[d+176>>2];if(!b){continue}break}}e=275552;k=Q[b+16>>2]<12?275552:N[b+12>>2];a=O[k+8|0]|O[k+9|0]<<8|(O[k+10|0]<<16|O[k+11|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=c-1|0;if(b>>>0>a>>>0){e=(k+(a<<2)|0)+12|0}b=0;Ac:{if(!k){break Ac}d=O[e+2|0]|O[e+3|0]<<8;if(!d){break Ac}a=O[e|0]|O[e+1|0]<<8;a=k+((a<<8|a>>>8)&65535)|0;if(!O[a|0]){break Ac}c=g+208|0;e=a;a=(d<<8|d>>>8)&65535;a=a>>>0>=63?63:a;B(c,e,a);L[a+c|0]=0;a=he(c);if(!a){break Ac}b=N[a+4>>2]}c=N[g+140>>2];if((c|0)==(b|0)){break sc}if(!b|!c){break rc}a=nb(b);if(nb(c)>>>0>>0){break rc}if(bb(b,c,a)){break rc}a=O[a+c|0];if((a|0)==45){break sc}if(a){break rc}}a=O[q+8|0]|O[q+9|0]<<8|(O[q+10|0]<<16|O[q+11|0]<<24);b=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))&h;a=O[q+4|0]|O[q+5|0]<<8|(O[q+6|0]<<16|O[q+7|0]<<24);h=b|(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}f=f+1|0;if((p|0)!=(f|0)){continue}break}}Bc:{Cc:{Dc:{b=N[i+100>>2];if((b|0)>=0){e=N[i+104>>2];a=e+1|0;if(b>>>0>=a>>>0){d=N[i+108>>2];break Cc}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=a>>>0){continue}break}if(b>>>0<=1073741823){d=$a(N[i+108>>2],b<<2);if(d){break Dc}}N[i+100>>2]=-1}N[147456]=0;break Bc}N[i+100>>2]=b;N[i+108>>2]=d;e=N[i+104>>2];a=e+1|0}N[i+104>>2]=a;N[(e<<2)+d>>2]=h}a=O[m+4|0]|O[m+5|0]<<8|(O[m+6|0]<<16|O[m+7|0]<<24);m=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+m|0;j=j+1|0;if((r|0)!=(j|0)){continue}break}break ic}b=sl(N[g+128>>2]+160|0);if(!(O[b|0]|O[b+1|0]<<8)){break ic}a=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(!a){break ic}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);r=a>>>0<=1?1:a;m=b+8|0;j=0;while(1){a=O[m|0]|O[m+1|0]<<8|(O[m+2|0]<<16|O[m+3|0]<<24);h=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[m+8|0]|O[m+9|0]<<8;if(a){a=(a<<8|a>>>8)&65535;p=a>>>0<=1?1:a;u=m+12|0;f=0;while(1){q=u+T(f,12)|0;e=O[q+2|0]|O[q+3|0]<<8;c=(e<<8|e>>>8)&65535;b=O[q|0]|O[q+1|0]<<8;d=(b<<8|b>>>8)&65535;a=N[g+156>>2];Ec:{Fc:{Gc:{if((a|0)>0){e=a-1|0;t=N[g+160>>2];b=d;a=c;while(1){c=a;d=b;b=0;a=e;while(1){Hc:{Ic:{o=a+b>>>1|0;s=t+(o<<4)|0;k=N[s>>2];Jc:{if((k|0)!=(d|0)){if((d|0)>=(k|0)){break Jc}break Ic}k=N[s+4>>2];if((k|0)==(c|0)){break Fc}if((c|0)<(k|0)){break Ic}}b=o+1|0;break Hc}a=o-1|0}if((a|0)>=(b|0)){continue}break}if((d|0)!=3){break Gc}a=1;b=37;if((c|0)==3){continue}break}break Gc}if((b|0)!=768){break Gc}if((e|0)==768){break Ec}}if(!c|(d|0)!=39){break Ec}d=N[g+128>>2];b=N[d+176>>2];Kc:{if(b){break Kc}while(1){b=N[d+48>>2];if(!b){b=275552;break Kc}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;e=N[b+32>>2];if((e|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;e=(a<<8|a>>>8)&65535;N[b+32>>2]=e}L[g+248|0]=1;N[g+244>>2]=e;a=N[b+12>>2];Lc:{if(a){b=Qa[a|0](b,1819566439,N[b+16>>2])|0;if(b){break Lc}}b=275552}a=ql(g+208|0,b);b=N[d+176>>2];Mc:{if(a){if(b){break Mc}b=a;N[d+176>>2]=b;break Kc}if(b){break Kc}b=275552;N[d+176>>2]=275552;break Kc}if((a|0)==275552){break Kc}ab(a);b=N[d+176>>2];if(!b){continue}break}}e=275552;k=Q[b+16>>2]<12?275552:N[b+12>>2];a=O[k+8|0]|O[k+9|0]<<8|(O[k+10|0]<<16|O[k+11|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=c-1|0;if(b>>>0>a>>>0){e=(k+(a<<2)|0)+12|0}b=0;Nc:{if(!k){break Nc}d=O[e+2|0]|O[e+3|0]<<8;if(!d){break Nc}a=O[e|0]|O[e+1|0]<<8;a=k+((a<<8|a>>>8)&65535)|0;if(!O[a|0]){break Nc}c=g+208|0;e=a;a=(d<<8|d>>>8)&65535;a=a>>>0>=63?63:a;B(c,e,a);L[a+c|0]=0;a=he(c);if(!a){break Nc}b=N[a+4>>2]}c=N[g+140>>2];if((c|0)==(b|0)){break Fc}if(!b|!c){break Ec}a=nb(b);if(nb(c)>>>0>>0){break Ec}if(bb(b,c,a)){break Ec}a=O[a+c|0];if((a|0)==45){break Fc}if(a){break Ec}}a=O[q+8|0]|O[q+9|0]<<8|(O[q+10|0]<<16|O[q+11|0]<<24);b=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))&h;a=O[q+4|0]|O[q+5|0]<<8|(O[q+6|0]<<16|O[q+7|0]<<24);h=b|(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}f=f+1|0;if((p|0)!=(f|0)){continue}break}}Oc:{Pc:{Qc:{b=N[i+100>>2];if((b|0)>=0){e=N[i+104>>2];a=e+1|0;if(b>>>0>=a>>>0){d=N[i+108>>2];break Pc}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=a>>>0){continue}break}if(b>>>0<=1073741823){d=$a(N[i+108>>2],b<<2);if(d){break Qc}}N[i+100>>2]=-1}N[147456]=0;break Oc}N[i+100>>2]=b;N[i+108>>2]=d;e=N[i+104>>2];a=e+1|0}N[i+104>>2]=a;N[(e<<2)+d>>2]=h}a=O[m+4|0]|O[m+5|0]<<8|(O[m+6|0]<<16|O[m+7|0]<<24);m=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+m|0;j=j+1|0;if((r|0)!=(j|0)){continue}break}}e=0;k=N[i+48>>2];m=N[i+44>>2];Rc:{Sc:{if((m|0)<=0){N[i+116>>2]=0;N[i+120>>2]=0;N[i+124>>2]=0;N[i+128>>2]=0;c=P[i+140>>1]&-5;M[i+140>>1]=c;h=i+140|0;break Sc}a=m-1|0;d=a;Tc:{Uc:{while(1){c=d+e>>>1|0;b=N[k+T(c,36)>>2];Vc:{if(b>>>0>=1718772068){d=c-1|0;break Vc}if((b|0)==1718772067){break Uc}e=c+1|0}if((d|0)>=(e|0)){continue}break}f=0;break Tc}f=N[(k+T(c,36)|0)+28>>2]}N[i+116>>2]=f;d=0;e=a;Wc:{Xc:{while(1){c=d+e>>>1|0;b=N[k+T(c,36)>>2];Yc:{if(b>>>0>=1853189491){e=c-1|0;break Yc}if((b|0)==1853189490){break Xc}d=c+1|0}if((d|0)<=(e|0)){continue}break}c=0;break Wc}c=N[(k+T(c,36)|0)+28>>2]}N[i+120>>2]=c;d=0;e=a;Zc:{_c:{while(1){j=d+e>>>1|0;b=N[k+T(j,36)>>2];$c:{if(b>>>0>=1684959086){e=j-1|0;break $c}if((b|0)==1684959085){break _c}d=j+1|0}if((d|0)<=(e|0)){continue}break}b=0;break Zc}b=N[(k+T(j,36)|0)+28>>2]}N[i+124>>2]=b;ad:{bd:{if(f){h=i+140|0;l=P[i+140>>1];break bd}h=i+140|0;l=P[i+140>>1];d=0;if(!((c|0)!=0&(b|0)!=0)){break ad}}d=4}c=d|l&-5;M[h>>1]=c;d=0;e=a;cd:{dd:{while(1){f=d+e>>>1|0;b=N[k+T(f,36)>>2];ed:{if(b>>>0>=1920232558){e=f-1|0;break ed}if((b|0)==1920232557){break dd}d=f+1|0}if((d|0)<=(e|0)){continue}break}b=0;break cd}b=N[(k+T(f,36)|0)+28>>2]}N[i+128>>2]=b;e=0;while(1){fd:{d=a+e>>>1|0;b=N[k+T(d,36)>>2];gd:{if(b>>>0>=1986359925){a=d-1|0;break gd}if((b|0)==1986359924){break fd}e=d+1|0}if((a|0)>=(e|0)){continue}break Sc}break}a=8;if(N[(k+T(d,36)|0)+28>>2]){break Rc}}a=0}b=a|c&-9;M[h>>1]=b;f=(N[g+12>>2]&-2)==4?1801810542:1986753134;e=0;hd:{id:{jd:{kd:{if((m|0)<=0){N[i+132>>2]=0;c=b&65534;break kd}d=m-1|0;l=d;ld:{md:{while(1){c=e+l>>>1|0;a=N[k+T(c,36)>>2];nd:{if(a>>>0>f>>>0){l=c-1|0;break nd}if(a>>>0>=f>>>0){break md}e=c+1|0}if((e|0)<=(l|0)){continue}break}a=0;break ld}a=N[(k+T(c,36)|0)+24>>2]}N[i+132>>2]=a;e=0;c=b&-2|(a|0)!=0;M[i+140>>1]=c;while(1){b=d+e>>>1|0;a=N[k+T(b,36)>>2];od:{if(a>>>0>=1953653100){d=b-1|0;break od}if((a|0)==1953653099){break jd}e=b+1|0}if((d|0)>=(e|0)){continue}break}}N[i+136>>2]=0;break id}a=N[(k+T(b,36)|0)+24>>2];N[i+136>>2]=a;b=2;if(a){break hd}}b=0}M[h>>1]=b|c&65533;e=1;pd:{if((m|0)<=0){break pd}e=m-1|0;d=0;qd:{while(1){b=d+e>>>1|0;a=N[k+T(b,36)>>2];rd:{if(a>>>0>f>>>0){e=b-1|0;break rd}if(a>>>0>=f>>>0){break qd}d=b+1|0}if((d|0)<=(e|0)){continue}break}e=1;break pd}e=N[(k+T(b,36)|0)+8>>2]==65535}f=N[i+28>>2];m=N[N[i+20>>2]+40>>2];c=N[g+8>>2];d=N[c+140>>2];sd:{if(d){break sd}while(1){b=N[c+48>>2];if(!b){d=275552;break sd}a=db(1,4);if(!a){d=275552;N[c+140>>2]=275552;break sd}d=Of(a,b);if(!N[c+140>>2]){N[c+140>>2]=d;break sd}ab(N[d>>2]);_a(d);d=N[c+140>>2];if(!d){continue}break}}a=P[h>>1];b=N[d>>2];b=b?b:275552;b=Q[b+16>>2]<4?275552:N[b+12>>2];if(!(O[b+4|0]|O[b+5|0]<<8?(O[b|0]|O[b+1|0]<<8)==256:0)){a=a|64;M[h>>1]=a}j=1;M[h>>1]=a&57343|(L[g+164|0]&1)<<13;d=N[g+8>>2];b=N[d+164>>2];td:{if(b){break td}while(1){b=N[d+48>>2];if(!b){b=275552;break td}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;c=N[b+32>>2];if((c|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;c=(a<<8|a>>>8)&65535;N[b+32>>2]=c}L[g+248|0]=1;N[g+244>>2]=c;a=N[b+12>>2];ud:{if(a){b=Qa[a|0](b,1801810552,N[b+16>>2])|0;if(b){break ud}}b=275552}a=kl(g+208|0,b);b=N[d+164>>2];vd:{if(a){if(b){break vd}b=a;N[d+164>>2]=b;break td}if(b){break td}b=275552;N[d+164>>2]=275552;break td}if((a|0)==275552){break td}ab(a);b=N[d+164>>2];if(!b){continue}break}}a=Q[b+16>>2]<8?275552:N[b+12>>2];c=O[a|0]|O[a+1|0]<<8;if(!(L[g+164|0]&1)){a=N[Vb(N[g+8>>2]+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];j=!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))}wd:{xd:{yd:{if(!((f|0)!=(m|0)&(m|0)!=0)){a=N[lc(N[g+8>>2]+148|0)>>2];a=a?a:275552;b=P[h>>1];a=Q[a+16>>2]<4?275552:N[a+12>>2];a=!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24));if(a|j?c:0){break yd}if(a){break wd}b=b|512;break xd}b=P[h>>1];if(!c){break wd}}b=b|4096}M[h>>1]=b}zd:{if(b&4096|(e^-1)&(b&512)>>>9){break zd}if(c){b=b|4096;break zd}b=gh(N[g+8>>2]+136|0);a=P[h>>1];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)?a|1024:a}a=0;j=b&-2049|(b&4608?0:(b^-1)<<1&2048);M[h>>1]=j;Ad:{if(!(O[g+164|0]&2)|b&4096){break Ad}a=32;if(!(b&1024)){break Ad}Bd:{Cd:{Dd:{Ed:{Fd:{Gd:{e=gh(N[g+8>>2]+136|0);b=O[e|0]|O[e+1|0]<<8;switch((b<<8|b>>>8)&65535){case 1:break Fd;case 0:break Gd;default:break Bd}}b=O[e+2|0]|O[e+3|0]<<8;if(!b){break Bd}if(O[e+8|0]==1){break Cd}d=(b<<8|b>>>8)&65535;c=d>>>0<=1?1:d;b=e+4|0;e=0;while(1){e=e+1|0;if((c|0)==(e|0)){break Bd}f=b;b=O[b+2|0]|O[b+3|0]<<8;b=f+((b<<8|b>>>8)&65535)|0;if(O[b+4|0]!=1){continue}break}break Ed}b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!b){break Bd}if(O[e+13|0]==1){break Cd}c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=c>>>0<=1?1:c;e=e+8|0;d=0;while(1){d=d+1|0;if((b|0)==(d|0)){break Bd}f=e;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=f+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;if(O[e+5|0]!=1){continue}break}break Dd}if(d>>>0>e>>>0){break Cd}break Bd}if(c>>>0<=d>>>0){break Bd}}a=0}j=P[h>>1]}d=j&-33|a;M[i+140>>1]=d;a=N[i+44>>2];Hd:{Id:{if((a|0)<=0){break Id}e=N[i+48>>2];b=a-1|0;a=0;while(1){Jd:{f=a+b>>>1|0;c=N[e+T(f,36)>>2];Kd:{if(c>>>0>=1835102828){b=f-1|0;break Kd}if((c|0)==1835102827){break Jd}a=f+1|0}if((a|0)<=(b|0)){continue}break Id}break}a=16;if(N[(e+T(f,36)|0)+28>>2]){break Hd}}a=0}b=a|d&-17;M[h>>1]=b;a=0;e=1;Ld:{if(j&4608){d=0;break Ld}d=256;e=0;if(!(j&1024)){break Ld}Md:{Nd:{Od:{Pd:{Qd:{Rd:{Sd:{Td:{j=gh(N[g+8>>2]+136|0);b=O[j|0]|O[j+1|0]<<8;switch((b<<8|b>>>8)&65535){case 1:break Sd;case 0:break Td;default:break Qd}}b=O[j+2|0]|O[j+3|0]<<8;if(!b){break Qd}if(O[j+9|0]&4){break Pd}f=(b<<8|b>>>8)&65535;c=f>>>0<=1?1:f;b=j+4|0;l=0;while(1){l=l+1|0;if((c|0)==(l|0)){break Md}j=b;b=O[b+2|0]|O[b+3|0]<<8;b=j+((b<<8|b>>>8)&65535)|0;if(!(O[b+5|0]&4)){continue}break}break Rd}b=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);if(!b){break Qd}if(O[j+12|0]&64){break Pd}c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=c>>>0<=1?1:c;e=j+8|0;l=0;while(1){l=l+1|0;if((b|0)==(l|0)){break Md}f=e;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=f+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;if(!(O[e+4|0]&64)){continue}break}break Od}b=P[h>>1];if(f>>>0>l>>>0){break Nd}break Ld}b=P[h>>1];break Ld}b=P[h>>1];break Nd}b=P[h>>1];e=0;if(c>>>0<=l>>>0){break Ld}}d=0;e=1;break Ld}b=P[h>>1];e=0}c=b&-257|d;M[h>>1]=c;c=c&-129|(e?0:O[g+164|0]<<5&128);b=b&8192?c&-257:c;M[h>>1]=b;if(b&2){a=hl(N[g+8>>2]+172|0);a=((O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))!=0)<<14;b=P[h>>1]}M[i+140>>1]=b&49151|a;b=1;a=N[N[i+20>>2]+8>>2];Ud:{if(!a){break Ud}a=Qa[a|0](i)|0;N[i+112>>2]=a;if(a){break Ud}sq(C);if(N[i+104>>2]){N[i+104>>2]=0}_a(N[i+108>>2]);b=0;N[i+108>>2]=0;N[i+100>>2]=0;N[i+104>>2]=0}if(N[g+156>>2]){N[g+156>>2]=0}_a(N[g+160>>2]);N[g+160>>2]=0;N[g+152>>2]=0;N[g+156>>2]=0;if(N[g+96>>2]){N[g+96>>2]=0}_a(N[g+100>>2]);N[g+100>>2]=0;N[g+92>>2]=0;N[g+96>>2]=0;if(N[g+108>>2]){N[g+108>>2]=0}_a(N[g+112>>2]);N[g+112>>2]=0;N[g+104>>2]=0;N[g+108>>2]=0;if(N[g+120>>2]){N[g+120>>2]=0}_a(N[g+124>>2]);N[g+124>>2]=0;N[g+116>>2]=0;N[g+120>>2]=0;if(N[g+108>>2]){N[g+108>>2]=0}_a(N[g+112>>2]);N[g+112>>2]=0;N[g+104>>2]=0;N[g+108>>2]=0;if(N[g+96>>2]){N[g+96>>2]=0}_a(N[g+100>>2]);La=g+336|0;if(b){return w}_a(N[w+36>>2])}_a(w)}return 275552}function uy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;j=La-48|0;La=j;d=N[a>>2];b=0;a:{if(N[N[d+96>>2]+64>>2]!=40){break a}b=0;if(!O[a+641|0]){break a}b=0;if(O[d+9|0]&32){break a}b=(O[a+340|0]^-1)>>>2&1}M[a+644>>1]=0;L[a+643|0]=b;b=N[a+388>>2];c=P[a+152>>1];e=b+c<<1;e=e>>>0<=30?30:e;if(e>>>0>1]){M[a+188>>1]=e}N[a+656>>2]=0;N[a+648>>2]=0;b=c?(c>>>0<5?50:T(c,10))+(b>>>0<500?50:(b>>>0)/10|0)|0:T(b,22)+300|0;N[a+652>>2]=b;c=N[d+16>>2];N[a+260>>2]=0;c=T(c,100);b=b>>>0>>0?b:c;N[a+660>>2]=b;N[a+652>>2]=b;b:{if(P[a+220>>1]!=P[a+222>>1]){c=116;d=117;e=118;b=115;break b}c=120;d=121;e=122;b=119}N[a+636>>2]=b;N[a+632>>2]=c;N[a+628>>2]=d;N[a+624>>2]=e;N[a+404>>2]=N[a+392>>2];N[a+504>>2]=N[a+492>>2];N[a+356>>2]=N[a+360>>2];d=M[a+302>>1];c:{if((d&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;c=b;break c}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;c=P[a+298>>1];break c}c=M[a+298>>1];b=T(b,M[a+300>>1])+T(d,c)>>14;N[a+596>>2]=b}d:{if((c&65535)==16384){N[a+604>>2]=123;break d}if(P[a+300>>1]==16384){N[a+604>>2]=124;break d}N[a+604>>2]=125}e:{if(P[a+294>>1]==16384){N[a+608>>2]=123;break e}if(P[a+296>>1]==16384){N[a+608>>2]=124;break e}N[a+608>>2]=126}N[a+620>>2]=127;N[a+616>>2]=128;f:{if((b|0)!=16384){break f}g:{if((d|0)==16384){d=130;c=129;break g}if(P[a+304>>1]!=16384){break f}d=132;c=131}N[a+620>>2]=c;N[a+616>>2]=d}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;b=N[a+316>>2];if(!(b&248)){N[a+600>>2]=N[(b<<24>>24<<2)+28520>>2]}x=a+180|0;y=a+144|0;n=a+72|0;o=a+36|0;p=a+108|0;e=N[a+372>>2];c=N[a+368>>2];h:{i:{while(1){h=N[a+364>>2];i=O[h+c|0];L[a+376|0]=i;d=L[i+26496|0];N[a+380>>2]=d;if((i&254)==64){b=c+1|0;if((b|0)>=(e|0)){e=131;break i}d=2-T(O[b+h|0],d)|0;N[a+380>>2]=d}if((c+d|0)>(e|0)){e=131;break i}b=O[i+26752|0];e=b>>>4|0;c=N[a+16>>2]-e|0;N[a+28>>2]=c;if((c|0)<0){if(O[a+593|0]){e=129;break i}if(b>>>0>=16){G(N[a+24>>2],0,(e>>>0<=1?1:e)<<2)}N[a+28>>2]=0;c=0}j:{k:{if((i|0)==145){b=N[N[a>>2]+736>>2];if(!b){g=N[a+32>>2];break j}g=N[b>>2]+c|0;break k}g=(b&15)+c|0}N[a+32>>2]=g}e=130;b=N[a+20>>2];if((b|0)<(g|0)){break i}N[a+12>>2]=0;L[a+384|0]=1;k=N[a+24>>2];f=k+(c<<2)|0;e=135;l:{m:{n:{o:{p:{q:{switch(i|0){case 0:case 1:case 2:case 3:case 4:case 5:c=i<<14&16384;b=c^16384;if(i>>>0<=3){M[a+296>>1]=b;M[a+294>>1]=c;M[a+300>>1]=b;M[a+298>>1]=c}r:{if(i&2){c=P[a+302>>1];break r}M[a+304>>1]=b;M[a+302>>1]=c}s:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break s}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break s}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}d=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;d=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:d;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=d;t:{if((b|0)!=16384){break t}u:{if((c&65535)==16384){d=130;c=129;break u}if(P[a+304>>1]!=16384){break t}d=132;c=131}N[a+620>>2]=c;N[a+616>>2]=d}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break p;case 6:case 7:v:{b=P[f+4>>1];if(b>>>0>1]){c=P[f>>1];if(c>>>0>1]){break v}}if(!O[a+593|0]){break p}e=134;break i}c=N[a+88>>2]+(c<<3)|0;d=N[c+4>>2];e=N[a+124>>2]+(b<<3)|0;g=N[e+4>>2];b=d-g|0;f=N[c>>2];e=N[e>>2];c=(f|0)==(e|0)&(d|0)==(g|0);d=c?16384:f-e|0;c=c|!(i&1);e=c?b:d;b=c?d:0-b|0;if(e|b){N[j+16>>2]=e;N[j+12>>2]=b;Bc(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}c=P[a+298>>1]|P[a+300>>1]<<16;M[a+294>>1]=c;M[a+296>>1]=c>>>16;e=c<<16>>16;d=M[a+302>>1];b=e;w:{if((d&65535)==16384){break w}b=c>>16;g=M[a+304>>1];if((g|0)==16384){break w}b=T(b,g)+T(d,e)>>14}N[a+620>>2]=127;N[a+616>>2]=128;N[a+596>>2]=b;e=(c&-65536)==1073741824;c=(c&65535)==16384;N[a+608>>2]=c?123:e?124:126;N[a+604>>2]=c?123:e?124:125;x:{if((b|0)!=16384){break x}y:{if((d|0)==16384){d=130;c=129;break y}if(P[a+304>>1]!=16384){break x}d=132;c=131}N[a+620>>2]=c;N[a+616>>2]=d}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break p;case 8:case 9:z:{b=P[f+4>>1];if(b>>>0>1]){c=P[f>>1];if(c>>>0>1]){break z}}if(!O[a+593|0]){break p}e=134;break i}c=N[a+88>>2]+(c<<3)|0;d=N[c+4>>2];e=N[a+124>>2]+(b<<3)|0;g=N[e+4>>2];b=d-g|0;f=N[c>>2];e=N[e>>2];c=(f|0)==(e|0)&(d|0)==(g|0);d=c?16384:f-e|0;c=c|!(i&1);e=c?b:d;b=c?d:0-b|0;A:{if(!(e|b)){c=P[a+302>>1];break A}N[j+16>>2]=e;N[j+12>>2]=b;Bc(j+12|0);c=N[j+12>>2]/4|0;M[a+302>>1]=c;M[a+304>>1]=N[j+16>>2]/4}B:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break B}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break B}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}d=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;d=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:d;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=d;C:{if((b|0)!=16384){break C}D:{if((c&65535)==16384){d=130;c=129;break D}if(P[a+304>>1]!=16384){break C}d=132;c=131}N[a+620>>2]=c;N[a+616>>2]=d}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break p;case 10:b=M[f+4>>1];c=M[f>>1];if(b|c){N[j+16>>2]=b;N[j+12>>2]=c;Bc(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}c=P[a+298>>1]|P[a+300>>1]<<16;M[a+294>>1]=c;M[a+296>>1]=c>>>16;e=c<<16>>16;d=M[a+302>>1];b=e;E:{if((d&65535)==16384){break E}b=c>>16;g=M[a+304>>1];if((g|0)==16384){break E}b=T(b,g)+T(d,e)>>14}N[a+620>>2]=127;N[a+616>>2]=128;N[a+596>>2]=b;e=(c&-65536)==1073741824;c=(c&65535)==16384;N[a+608>>2]=c?123:e?124:126;N[a+604>>2]=c?123:e?124:125;F:{if((b|0)!=16384){break F}G:{if((d|0)==16384){d=130;c=129;break G}if(P[a+304>>1]!=16384){break F}d=132;c=131}N[a+620>>2]=c;N[a+616>>2]=d}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break p;case 11:b=M[f+4>>1];c=M[f>>1];H:{if(!(b|c)){c=P[a+302>>1];break H}N[j+16>>2]=b;N[j+12>>2]=c;Bc(j+12|0);c=N[j+12>>2]/4|0;M[a+302>>1]=c;M[a+304>>1]=N[j+16>>2]/4}I:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break I}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break I}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}d=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;d=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:d;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=d;J:{if((b|0)!=16384){break J}K:{if((c&65535)==16384){d=130;c=129;break K}if(P[a+304>>1]!=16384){break J}d=132;c=131}N[a+620>>2]=c;N[a+616>>2]=d}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break p;case 12:b=M[a+298>>1];N[f+4>>2]=M[a+300>>1];N[f>>2]=b;break p;case 13:b=M[a+302>>1];N[f+4>>2]=M[a+304>>1];N[f>>2]=b;break p;case 14:g=P[a+298>>1]|P[a+300>>1]<<16;M[a+302>>1]=g;f=g>>>16|0;M[a+304>>1]=f;c=g<<16>>16;d=123;i=g&65535;L:{if((i|0)==16384){e=123;b=c;break L}e=124;b=16384;if((f|0)==16384){break L}e=125;b=g>>16;b=T(c,c)+T(b,b)>>>14|0}N[a+604>>2]=e;N[a+596>>2]=b;d=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:d;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=d;M:{if((b|0)!=16384){break M}N:{if((i|0)==16384){d=130;c=129;break N}if((f|0)!=16384){break M}d=132;c=131}N[a+620>>2]=c;N[a+616>>2]=d}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break p;case 15:O:{d=P[f+12>>1];b=P[a+44>>1];P:{if(d>>>0>=b>>>0){break P}e=P[f+16>>1];if(e>>>0>=b>>>0){break P}c=P[f+4>>1];b=P[a+80>>1];if(c>>>0>=b>>>0){break P}g=P[f+8>>1];if(g>>>0>=b>>>0){break P}b=P[f>>1];if(b>>>0>1]){break O}}if(!O[a+593|0]){break p}e=134;break i}f=g<<3;g=N[a+88>>2];i=f+g|0;s=N[i>>2];h=g+(c<<3)|0;c=N[h>>2];g=s-c|0;f=e<<3;e=N[a+52>>2];k=f+e|0;u=N[k+4>>2];e=e+(d<<3)|0;f=N[e+4>>2];q=u-f|0;t=0-q|0;l=jb(g,t,64);w=N[i+4>>2];d=N[h+4>>2];i=w-d|0;v=N[k>>2];h=N[e>>2];k=v-h|0;e=l+jb(i,k,64)|0;l=e>>31;r=jb(g,k,64)+jb(i,q,64)|0;q=r>>31;Q:{if(((r^q)-q|0)<(T((e^l)-l|0,19)|0)){r=N[a+124>>2];f=jb(h-c|0,t,64)+jb(f-d|0,k,64)|0;W=r+(b<<3)|0,X=jb(f,g,e)+c|0,N[W>>2]=X;c=jb(f,i,e)+d|0;break Q}r=N[a+124>>2];N[r+(b<<3)>>2]=(v+(h+(c+s|0)|0)|0)/4;c=(u+(f+(d+w|0)|0)|0)/4|0}N[((b<<3)+r|0)+4>>2]=c;b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|24;break p;case 16:M[a+288>>1]=N[f>>2];break p;case 17:M[a+290>>1]=N[f>>2];break p;case 18:M[a+292>>1]=N[f>>2];break p;case 19:b=x;R:{switch(N[f>>2]){default:if(!O[a+593|0]){break p}e=134;break i;case 1:b=y;break;case 0:break R}}c=N[b+4>>2];N[o>>2]=N[b>>2];N[o+4>>2]=c;N[o+32>>2]=N[b+32>>2];c=N[b+28>>2];N[o+24>>2]=N[b+24>>2];N[o+28>>2]=c;c=N[b+20>>2];N[o+16>>2]=N[b+16>>2];N[o+20>>2]=c;c=N[b+12>>2];N[o+8>>2]=N[b+8>>2];N[o+12>>2]=c;M[a+348>>1]=N[f>>2];break p;case 20:b=x;S:{switch(N[f>>2]){default:if(!O[a+593|0]){break p}e=134;break i;case 1:b=y;break;case 0:break S}}c=N[b+4>>2];N[n>>2]=N[b>>2];N[n+4>>2]=c;N[n+32>>2]=N[b+32>>2];c=N[b+28>>2];N[n+24>>2]=N[b+24>>2];N[n+28>>2]=c;c=N[b+20>>2];N[n+16>>2]=N[b+16>>2];N[n+20>>2]=c;c=N[b+12>>2];N[n+8>>2]=N[b+8>>2];N[n+12>>2]=c;M[a+350>>1]=N[f>>2];break p;case 21:b=x;T:{switch(N[f>>2]){default:if(!O[a+593|0]){break p}e=134;break i;case 1:b=y;break;case 0:break T}}c=N[b+4>>2];N[p>>2]=N[b>>2];N[p+4>>2]=c;N[p+32>>2]=N[b+32>>2];c=N[b+28>>2];N[p+24>>2]=N[b+24>>2];N[p+28>>2]=c;c=N[b+20>>2];N[p+16>>2]=N[b+16>>2];N[p+20>>2]=c;c=N[b+12>>2];N[p+8>>2]=N[b+8>>2];N[p+12>>2]=c;M[a+352>>1]=N[f>>2];break p;case 22:b=x;U:{switch(N[f>>2]){default:if(!O[a+593|0]){break p}e=134;break i;case 1:b=y;break;case 0:break U}}c=N[b+4>>2];N[o>>2]=N[b>>2];N[o+4>>2]=c;N[o+32>>2]=N[b+32>>2];c=N[b+28>>2];N[o+24>>2]=N[b+24>>2];N[o+28>>2]=c;c=N[b+20>>2];N[o+16>>2]=N[b+16>>2];N[o+20>>2]=c;c=N[b+12>>2];N[o+8>>2]=N[b+8>>2];N[o+12>>2]=c;N[n+32>>2]=N[b+32>>2];c=N[b+28>>2];N[n+24>>2]=N[b+24>>2];N[n+28>>2]=c;c=N[b+20>>2];N[n+16>>2]=N[b+16>>2];N[n+20>>2]=c;c=N[b+12>>2];N[n+8>>2]=N[b+8>>2];N[n+12>>2]=c;c=N[b+4>>2];N[n>>2]=N[b>>2];N[n+4>>2]=c;N[p+32>>2]=N[b+32>>2];c=N[b+28>>2];N[p+24>>2]=N[b+24>>2];N[p+28>>2]=c;c=N[b+20>>2];N[p+16>>2]=N[b+16>>2];N[p+20>>2]=c;c=N[b+12>>2];N[p+8>>2]=N[b+8>>2];N[p+12>>2]=c;c=N[b+4>>2];N[p>>2]=N[b>>2];N[p+4>>2]=c;b=P[f>>1];M[a+352>>1]=b;M[a+350>>1]=b;M[a+348>>1]=b;break p;case 23:b=N[f>>2];if((b|0)<0){e=132;break i}N[a+308>>2]=b>>>0>=65535?65535:b;break p;case 24:N[a+600>>2]=133;N[a+316>>2]=1;break p;case 25:N[a+600>>2]=134;N[a+316>>2]=0;break p;case 26:N[a+312>>2]=N[f>>2];break p;case 27:b=N[a+368>>2];c=N[a+372>>2];g=1;while(1){b=b+d|0;N[a+368>>2]=b;if((b|0)>=(c|0)){e=131;break i}e=O[b+h|0];L[a+376|0]=e;d=L[e+26496|0];N[a+380>>2]=d;if((e&254)==64){f=b+1|0;if((f|0)>=(c|0)){e=131;break i}d=2-T(O[f+h|0],d)|0;N[a+380>>2]=d}if((c|0)<(b+d|0)){e=131;break i}V:{switch(e-88|0){case 0:g=g+1|0;if(g){continue}break p;case 1:g=g-1|0;break;default:break V}}if(g){continue}break};break p;case 28:b=132;e=c;c=N[f>>2];W:{if(!(e|c)){break W}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break W}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break W}L[a+384|0]=0;if(N[f>>2]>=0){break p}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break p}}N[a+12>>2]=b;break o;case 29:N[a+324>>2]=N[f>>2];break p;case 30:N[a+328>>2]=N[f>>2];break p;case 31:W=a,X=qb(N[f>>2],N[a+264>>2]),N[W+332>>2]=X;break p;case 32:N[f+4>>2]=N[f>>2];break p;case 34:N[a+32>>2]=0;break p;case 35:W=f,X=ZE(N[f>>2],N[f+4>>2],32),N[W>>2]=X;N[f+4>>2]=Pa;break p;case 36:N[f>>2]=N[a+16>>2];break p;case 37:b=N[f>>2];X:{if(!((b|0)>0&(b|0)<=(c|0))){b=0;if(!O[a+593|0]){break X}N[a+12>>2]=134;N[f>>2]=0;break p}b=N[k+(c-b<<2)>>2]}N[f>>2]=b;break p;case 38:b=N[f>>2];if(!((b|0)>0&(b|0)<=(c|0))){if(!O[a+593|0]){break p}e=134;break i}c=k+(c-b<<2)|0;d=N[c>>2];B(c,c+4|0,(b<<2)-4|0);N[(N[a+24>>2]+(N[a+28>>2]<<2)|0)-4>>2]=d;break p;case 39:Y:{b=P[f>>1];if(b>>>0>1]){c=P[f+4>>1];if(c>>>0>1]){break Y}}if(!O[a+593|0]){break p}e=134;break i}e=b;d=N[a+52>>2]+(c<<3)|0;b=N[a+88>>2]+(b<<3)|0;b=(Qa[N[a+604>>2]](a,N[d>>2]-N[b>>2]|0,N[d+4>>2]-N[b+4>>2]|0)|0)/2|0;Qa[N[a+616>>2]](a,n,e,b);Qa[N[a+616>>2]](a,o,c,0-b|0);break p;case 40:Nd(a);break p;case 41:b=P[f>>1];if(b>>>0>=P[a+44>>1]){if(!O[a+593|0]){break p}e=134;break i}b=b+N[a+60>>2]|0;c=b;e=O[b|0];b=P[a+302>>1]?-9:-1;L[c|0]=e&(P[a+304>>1]?b&239:b);break p;case 42:b=134;e=N[f+4>>2];c=N[a+440>>2]+1|0;Z:{if(e>>>0>=c>>>0){break Z}d=N[a+424>>2];g=N[a+416>>2];_:{if((g|0)==(c|0)){c=d+T(e,24)|0;if((e|0)==N[(d?c:0)+12>>2]){break _}}c=d;d=c?c+T(g,24)|0:0;$:{if(c>>>0>=d>>>0){break $}while(1){if((e|0)==N[c+12>>2]){break $}c=c+24|0;if(d>>>0>c>>>0){continue}break}}if((c|0)==(d|0)){break Z}}if(!O[c+16|0]){break Z}b=130;d=N[a+448>>2];if((d|0)>=N[a+452>>2]){break Z}if(N[f>>2]<=0){break p}b=N[a+456>>2]+(d<<4)|0;N[b>>2]=N[a+360>>2];N[b+4>>2]=N[a+368>>2]+1;e=N[f>>2];N[b+12>>2]=c;N[b+8>>2]=e;N[a+448>>2]=d+1;b=N[c>>2];aa:{if(b-4>>>0<=4294967292){N[a+12>>2]=132;break aa}d=(b-1<<3)+a|0;e=N[d+464>>2];if(!e){N[a+12>>2]=138;break aa}d=N[d+468>>2];c=N[c+4>>2];if((d|0)<(c|0)){N[a+12>>2]=131;break aa}N[a+372>>2]=d;N[a+364>>2]=e;N[a+368>>2]=c;N[a+360>>2]=b}L[a+384|0]=0;c=N[a+648>>2]+N[f>>2]|0;N[a+648>>2]=c;b=139;if(c>>>0<=Q[a+652>>2]){break p}}N[a+12>>2]=b;break o;case 43:e=134;b=N[a+440>>2]+1|0;d=N[f>>2];if(b>>>0<=d>>>0){break i}c=N[a+424>>2];if(!c){break i}g=N[a+416>>2];ba:{if((g|0)==(b|0)){b=c+T(d,24)|0;if((d|0)==N[b+12>>2]){break ba}}f=c+T(g,24)|0;b=c;ca:{if((g|0)<=0){break ca}while(1){if((d|0)==N[b+12>>2]){break ca}b=b+24|0;if(f>>>0>b>>>0){continue}break}}if((b|0)==(f|0)){break i}}if(!O[b+16|0]){break i}e=130;d=N[a+448>>2];if((d|0)>=N[a+452>>2]){break i}c=N[a+456>>2]+(d<<4)|0;N[c>>2]=N[a+360>>2];e=N[a+368>>2];N[c+12>>2]=b;N[c+8>>2]=1;N[c+4>>2]=e+1;N[a+448>>2]=d+1;c=N[b>>2];da:{if(c-4>>>0<=4294967292){N[a+12>>2]=132;break da}d=(c-1<<3)+a|0;e=N[d+464>>2];if(!e){N[a+12>>2]=138;break da}d=N[d+468>>2];b=N[b+4>>2];if((d|0)<(b|0)){N[a+12>>2]=131;break da}N[a+372>>2]=d;N[a+364>>2]=e;N[a+368>>2]=b;N[a+360>>2]=c}L[a+384|0]=0;break p;case 44:if(N[a+356>>2]==3){e=156;break i}b=N[a+424>>2];ea:{fa:{if(!b){g=N[a+416>>2];e=N[f>>2];c=0;break fa}g=N[a+416>>2];c=T(g,24)+b|0;e=N[f>>2];ga:{if((g|0)<=0){break ga}while(1){if(N[b+12>>2]==(e|0)){break ga}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ea}}if(Q[a+420>>2]<=g>>>0){e=140;break i}N[a+416>>2]=g+1;b=c}if(e>>>0>65535){e=140;break i}c=N[a+360>>2];N[b+12>>2]=e;N[b>>2]=c;c=N[a+368>>2];N[b+20>>2]=0;M[b+16>>1]=1;N[b+4>>2]=c+1;if(Q[a+440>>2]>>0){N[a+440>>2]=e}f=N[a+372>>2];while(1){c=c+d|0;N[a+368>>2]=c;if((c|0)>=(f|0)){e=131;break i}g=O[c+h|0];L[a+376|0]=g;d=L[g+26496|0];N[a+380>>2]=d;if((g&254)==64){e=c+1|0;if((e|0)>=(f|0)){e=131;break i}d=2-T(O[e+h|0],d)|0;N[a+380>>2]=d}if((f|0)<(c+d|0)){e=131;break i}e=137;ha:{switch(g-44|0){case 1:N[b+8>>2]=c;break p;case 0:break i;default:break ha}}if((g|0)!=137){continue}break};break i;case 33:case 89:case 126:case 127:N[a+16>>2]=g;break n;default:if(i>>>0>=224){d=N[f+4>>2];c=0;ia:{ja:{e=N[f>>2];g=e&65535;ka:{if(g>>>0>=P[a+80>>1]){break ka}f=d+1|0;if(f>>>0>=N[a+388>>2]+1>>>0){break ka}b=P[a+288>>1];if(b>>>0>1]){break ja}}if(!O[a+593|0]){break ia}N[a+12>>2]=134;break ia}if(f){c=Qa[N[a+628>>2]](a,d)|0;b=P[a+288>>1]}d=N[a+332>>2];i=c-d|0;f=i>>31;c=N[a+328>>2]>((f^i)-f|0)?(c|0)<0?0-d|0:d:c;if(!P[a+350>>1]){f=M[a+302>>1];d=f>>31;h=(f^d)-d|0;d=c>>31;k=(d^c)-d|0;l=k>>>16|0;q=T(h,l);i=q<<16|8192;r=g<<3;d=r+N[a+84>>2]|0;s=N[a+48>>2]+(b<<3)|0;b=h;h=k&65535;b=i+T(b,h)|0;b=(q>>>16|0)+(b>>>0>>0)<<18|b>>>14;N[d>>2]=N[s>>2]+((c^f)<0?0-b|0:b);b=M[a+304>>1];f=b>>31;i=(b^f)-f|0;k=T(i,l);f=k<<16|8192;l=f;f=f+T(i,h)|0;f=(k>>>16|0)+(l>>>0>f>>>0)<<18|f>>>14;N[d+4>>2]=N[s+4>>2]+((b^c)<0?0-f|0:f);f=N[d+4>>2];b=r+N[a+88>>2]|0;N[b>>2]=N[d>>2];N[b+4>>2]=f;b=P[a+288>>1]}g=g<<3;d=g+N[a+84>>2]|0;b=N[a+48>>2]+(b<<3)|0;d=Qa[N[a+608>>2]](a,N[d>>2]-N[b>>2]|0,N[d+4>>2]-N[b+4>>2]|0)|0;b=g+N[a+88>>2]|0;g=N[a+52>>2]+(P[a+288>>1]<<3)|0;f=Qa[N[a+604>>2]](a,N[b>>2]-N[g>>2]|0,N[b+4>>2]-N[g+4>>2]|0)|0;b=O[a+320|0]?(c^d)<0?0-c|0:c:c;c=O[a+376|0];la:{if(c&4){if(P[a+348>>1]==P[a+350>>1]){i=b-d|0;g=i>>31;b=N[a+324>>2]<((g^i)-g|0)?d:b}b=Qa[N[a+600>>2]](a,b,c&3)|0;c=O[a+376|0];break la}g=N[(((c&3)<<2)+a|0)+268>>2];if((b|0)>=0){b=b+g|0;b=(b|0)>0?b:0;break la}b=b-g|0;b=b>>31&b}g=a+72|0;ma:{if(!(c&8)){break ma}c=N[a+312>>2];if((d|0)>=0){b=(b|0)>(c|0)?b:c;break ma}c=0-c|0;b=(b|0)<(c|0)?b:c}Qa[N[a+616>>2]](a,g,e&65535,b-f|0)}M[a+290>>1]=P[a+288>>1];if(O[a+376|0]&16){M[a+288>>1]=e}M[a+292>>1]=e;break p}if(i>>>0>=192){na:{oa:{g=N[f>>2];e=g&65535;if(e>>>0>1]){c=P[a+288>>1];if(c>>>0>1]){break oa}}if(!O[a+593|0]){break na}N[a+12>>2]=134;break na}pa:{if(!(P[a+350>>1]?P[a+348>>1]:0)){b=N[a+84>>2]+(e<<3)|0;c=N[a+48>>2]+(c<<3)|0;b=Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0;break pa}k=N[a+56>>2];b=k+(c<<3)|0;l=N[a+92>>2];d=l+(e<<3)|0;f=N[a+224>>2];i=N[a+228>>2];if((f|0)==(i|0)){d=Qa[N[a+608>>2]](a,N[d>>2]-N[b>>2]|0,N[d+4>>2]-N[b+4>>2]|0)|0;c=d>>31;f=N[a+224>>2];b=f>>31;c=(c^d)-c|0;b=(b^f)-b|0;qa:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break qa}i=c&65535;c=T(i,b>>>16|0)+T(b,c>>>16|0)+(T(i,b&65535)+32768>>>16)|0}b=c;i=0-b|0;b=d>>31|1;b=(((f|0)<0?0-b|0:b)|0)<0?i:c;break pa}h=N[d>>2]-N[b>>2]|0;d=h>>31;d=(d^h)-d|0;b=f>>31;b=(b^f)-b|0;ra:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break ra}q=d&65535;d=T(q,b>>>16|0)+T(b,d>>>16|0)+(T(q,b&65535)+32768>>>16)|0}b=d;q=0-b|0;b=h>>31|1;f=(((f|0)<0?0-b|0:b)|0)<0?q:d;d=N[(l+(e<<3)|0)+4>>2]-N[(k+(c<<3)|0)+4>>2]|0;c=d>>31;c=(c^d)-c|0;b=i>>31;b=(b^i)-b|0;sa:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break sa}h=c&65535;c=T(h,b>>>16|0)+T(b,c>>>16|0)+(T(h,b&65535)+32768>>>16)|0}b=c;h=0-b|0;b=d>>31|1;b=Qa[N[a+608>>2]](a,f,(((i|0)<0?0-b|0:b)|0)<0?h:c)|0}d=N[a+328>>2];ta:{if((d|0)<=0){break ta}c=N[a+332>>2];if((c+d|0)<=(b|0)|(c-d|0)>=(b|0)){break ta}b=(b|0)<0?0-c|0:c}d=O[a+376|0];ua:{if(d&4){c=Qa[N[a+600>>2]](a,b,d&3)|0;d=O[a+376|0];break ua}c=N[(((d&3)<<2)+a|0)+268>>2];if((b|0)>=0){c=b+c|0;c=(c|0)>0?c:0;break ua}c=b-c|0;c=c>>31&c}f=a+72|0;va:{if(!(d&8)){break va}d=N[a+312>>2];if((b|0)>=0){c=(c|0)>(d|0)?c:d;break va}b=0-d|0;c=(b|0)>(c|0)?c:b}d=c;b=N[a+88>>2]+(e<<3)|0;c=N[a+52>>2]+(P[a+288>>1]<<3)|0;X=a,Y=f,Z=g&65535,_=d-(Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0)|0,W=N[a+616>>2],Qa[W](X|0,Y|0,Z|0,_|0)}M[a+292>>1]=g;M[a+290>>1]=P[a+288>>1];if(O[a+376|0]&16){M[a+288>>1]=g}break p}if(i>>>0>=184){b=O[a+376|0]+65353|0;c=b&65535;if(c>>>0>=(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){N[a+12>>2]=130;break p}N[a+368>>2]=N[a+368>>2]+1;wa:{if(!c){break wa}e=b&1;d=N[a+364>>2];b=0;if((c|0)!=1){c=c-e|0;while(1){g=N[a+368>>2];N[a+368>>2]=g+2;i=b<<2;g=d+g|0;g=O[g|0]|O[g+1|0]<<8;N[i+f>>2]=(g<<8|g>>>8)<<16>>16;g=N[a+368>>2];N[a+368>>2]=g+2;g=d+g|0;g=O[g|0]|O[g+1|0]<<8;N[f+(i|4)>>2]=(g<<8|g>>>8)<<16>>16;b=b+2|0;if((c|0)!=(b|0)){continue}break}}if(!e){break wa}c=N[a+368>>2];N[a+368>>2]=c+2;e=f+(b<<2)|0;b=c+d|0;b=O[b|0]|O[b+1|0]<<8;N[e>>2]=(b<<8|b>>>8)<<16>>16}L[a+384|0]=0;break p}if(i>>>0>=176){d=O[a+376|0]+65361|0;b=d&65535;if(b>>>0<(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){if(b){e=N[a+364>>2];b=1;c=1;while(1){N[(f+(b<<2)|0)-4>>2]=O[e+(N[a+368>>2]+b|0)|0];c=c+1|0;b=c&65535;if(b>>>0<=(d&65535)>>>0){continue}break}}break p}N[a+12>>2]=130;break p}Nd(a);break p;case 146:if(N[N[a>>2]+736>>2]){N[f>>2]=17;break p}Nd(a);break p;case 145:c=N[N[a>>2]+736>>2];if(c){g=0;b=N[c>>2];if(b>>>0>=(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){N[a+12>>2]=130;break p}d=N[c+8>>2];xa:{if(d){if(!b){break xa}c=0;if(b>>>0>=4){i=b&-4;while(1){e=c<<2;N[e+f>>2]=N[d+e>>2]>>2;h=e|4;N[h+f>>2]=N[d+h>>2]>>2;h=e|8;N[h+f>>2]=N[d+h>>2]>>2;e=e|12;N[e+f>>2]=N[d+e>>2]>>2;c=c+4|0;if((i|0)!=(c|0)){continue}break}}b=b&3;if(!b){break xa}while(1){e=c<<2;N[e+f>>2]=N[d+e>>2]>>2;c=c+1|0;g=g+1|0;if((b|0)!=(g|0)){continue}break}break xa}if(!b){break xa}G(f,0,b<<2)}break p}Nd(a);break p;case 143:case 144:Nd(a);break p;case 142:c=N[f+4>>2];if(c-4>>>0<=4294967292){if(!O[a+593|0]){break p}e=134;break i}b=N[f>>2];d=1<>2]+96>>2]+64>>2]!=40){break p}L[a+643|0]=(b|0)!=4;break p;case 141:b=N[f>>2];if((b|0)<0){break p}N[a+344>>2]=b&65535;break p;case 140:b=N[f+4>>2];if((b|0)>=N[f>>2]){break p}N[f>>2]=b;break p;case 139:b=N[f+4>>2];if((b|0)<=N[f>>2]){break p}N[f>>2]=b;break p;case 138:b=N[f+8>>2];c=N[f+4>>2];N[f+8>>2]=N[f>>2];N[f>>2]=c;N[f+4>>2]=b;break p;case 137:if(N[a+356>>2]==3){e=156;break i}e=N[a+428>>2];b=N[a+436>>2];ya:{za:{if(!b){c=0;break za}c=T(e,24)+b|0;Aa:{if((e|0)<=0){break Aa}g=N[f>>2];while(1){if((g|0)==N[b+12>>2]){break Aa}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break ya}}if(e>>>0>=Q[a+432>>2]){e=141;break i}N[a+428>>2]=e+1;b=c}c=N[f>>2];if(c>>>0>255){e=141;break i}N[b+12>>2]=c;c=N[a+368>>2];N[b+4>>2]=c+1;e=N[a+360>>2];L[b+16|0]=1;N[b>>2]=e;e=N[f>>2];if(e>>>0>Q[a+444>>2]){N[a+444>>2]=e&255}f=N[a+372>>2];while(1){c=c+d|0;N[a+368>>2]=c;if((c|0)>=(f|0)){e=131;break i}g=O[c+h|0];L[a+376|0]=g;d=L[g+26496|0];N[a+380>>2]=d;if((g&254)==64){e=c+1|0;if((e|0)>=(f|0)){e=131;break i}d=2-T(O[e+h|0],d)|0;N[a+380>>2]=d}if((f|0)<(c+d|0)){e=131;break i}e=137;Ba:{switch(g-44|0){default:if((g|0)!=137){continue}break i;case 0:break i;case 1:break Ba}}break};N[b+8>>2]=c;break p;case 136:b=0;c=N[f>>2];b=c&1?N[N[N[a>>2]+96>>2]+64>>2]:b;b=c&2?O[a+285|0]?b|256:b:b;b=c&4?O[a+286|0]?b|512:b:b;b=c&8?N[N[a>>2]+736>>2]?b|1024:b:b;b=c&32?O[a+640|0]?b|4096:b:b;Ca:{if(!O[a+641|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40){break Ca}d=c<<7;b=d&8192|b;if(c&256){b=O[a+642|0]?b|32768:b}b=d&393216|b;if(!(c&4096)){break Ca}b=O[a+646|0]?b|524288:b}N[f>>2]=b;break p;case 134:case 135:Da:{b=P[f>>1];if(b>>>0>1]){c=P[f+4>>1];if(c>>>0>1]){break Da}}if(!O[a+593|0]){break p}e=134;break i}d=b<<3;e=d+N[a+84>>2]|0;g=N[e+4>>2];f=c<<3;c=f+N[a+120>>2]|0;h=N[c+4>>2];b=g-h|0;e=N[e>>2];k=N[c>>2];c=(e|0)==(k|0)&(g|0)==(h|0);e=c?16384:e-k|0;c=c|!(i&1);g=c?b:e;b=c?e:0-b|0;if(g|b){N[j+16>>2]=g;N[j+12>>2]=b;Bc(j+12|0);M[a+294>>1]=N[j+12>>2]/4;M[a+296>>1]=N[j+16>>2]/4}d=d+N[a+88>>2]|0;e=N[d+4>>2];g=f+N[a+124>>2]|0;f=N[g+4>>2];b=e-f|0;i=N[d>>2];g=N[g>>2];d=(i|0)==(g|0)&(f|0)==(e|0);e=d?16384:i-g|0;c=c|d;d=c?b:e;b=c?e:0-b|0;if(d|b){N[j+16>>2]=d;N[j+12>>2]=b;Bc(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}d=P[a+302>>1];Ea:{if((d|0)==16384){b=M[a+298>>1];N[a+596>>2]=b;e=b;break Ea}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;e=P[a+298>>1];break Ea}e=M[a+298>>1];b=T(b,M[a+300>>1])+T(e,d<<16>>16)>>14;N[a+596>>2]=b}c=123;N[a+604>>2]=(e&65535)==16384?123:P[a+300>>1]==16384?124:125;c=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:c;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=c;Fa:{if((b|0)!=16384){break Fa}Ga:{if((d|0)==16384){d=130;c=129;break Ga}if(P[a+304>>1]!=16384){break Fa}d=132;c=131}N[a+620>>2]=c;N[a+616>>2]=d}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break p;case 133:b=N[f>>2];c=b&255;if((c|0)==255){L[a+341|0]=1;break p}if(!c){L[a+341|0]=0;break p}if(!(!(b&256)|c>>>0>1])){L[a+341|0]=1}if(!(!(b&512)|!O[a+285|0])){L[a+341|0]=1}if(!(!(b&1024)|!O[a+286|0])){L[a+341|0]=1}if(!(!(b&2048)|c>>>0>=P[a+256>>1])){L[a+341|0]=0}if(!(!(b&4096)|!O[a+285|0])){L[a+341|0]=0}if(!(b&8192)|!O[a+286|0]){break p}L[a+341|0]=0;break p;case 131:case 132:Nd(a);break p;case 130:if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break p}}Ha:{d=P[f+4>>1];c=P[a+152>>1];if(d>>>0>=c>>>0){break Ha}b=P[f>>1];if(c>>>0<=b>>>0){break Ha}if(b>>>0>d>>>0){break p}c=b;while(1){b=N[a+168>>2]+b|0;L[b|0]=O[b|0]&254;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break p}if(!O[a+593|0]){break p}e=134;break i;case 129:if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break p}}Ia:{d=P[f+4>>1];c=P[a+152>>1];if(d>>>0>=c>>>0){break Ia}b=P[f>>1];if(c>>>0<=b>>>0){break Ia}if(b>>>0>d>>>0){break p}c=b;while(1){b=N[a+168>>2]+b|0;L[b|0]=O[b|0]|1;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break p}if(!O[a+593|0]){break p}e=134;break i;case 128:Ja:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Ja}}d=N[a+308>>2];if((d|0)<=N[a+16>>2]){if((d|0)<=0){break Ja}while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];Ka:{if(b>>>0>=P[a+152>>1]){b=d;if(!O[a+593|0]){break Ka}e=134;break i}b=b+N[a+168>>2]|0;L[b|0]=O[b|0]^1;b=N[a+308>>2]}d=b-1|0;N[a+308>>2]=d;if((b|0)>1){continue}break}c=N[a+28>>2];break Ja}if(!O[a+593|0]){break Ja}N[a+12>>2]=129}N[a+32>>2]=c;N[a+308>>2]=1;break p;case 125:N[a+600>>2]=135;N[a+316>>2]=3;break p;case 124:N[a+600>>2]=136;N[a+316>>2]=4;break p;case 123:Nd(a);break p;case 122:N[a+600>>2]=137;N[a+316>>2]=5;break p;case 121:if(N[f+4>>2]){break p}b=132;e=c;c=N[f>>2];La:{if(!(e|c)){break La}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break La}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break La}L[a+384|0]=0;if(N[f>>2]>=0){break p}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break p}}N[a+12>>2]=b;break o;case 120:if(!N[f+4>>2]){break p}b=132;e=c;c=N[f>>2];Ma:{if(!(e|c)){break Ma}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break Ma}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break Ma}L[a+384|0]=0;if(N[f>>2]>=0){break p}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break p}}N[a+12>>2]=b;break o;case 119:d=N[f>>2];c=d>>>4|0;b=N[(c&12)+28568>>2];Na:{Oa:{Pa:{Qa:{c=c&3;switch(c-1|0){case 2:break Oa;case 1:break Pa;case 0:break Qa;default:break Na}}c=b>>>10|0;break Na}c=b>>>9|0;break Na}c=T(b,3)>>>10|0}N[a+512>>2]=c;N[a+600>>2]=138;N[a+316>>2]=7;c=d&15;if(c){c=(T(b,c-4|0)|0)/8|0}else{c=b-1|0}N[a+516>>2]=c>>8;N[a+508>>2]=b>>>8;break p;case 118:d=N[f>>2];c=d>>>4|0;b=N[(c&12)+28552>>2];Ra:{Sa:{Ta:{Ua:{c=c&3;switch(c-1|0){case 2:break Sa;case 1:break Ta;case 0:break Ua;default:break Ra}}c=b>>>10|0;break Ra}c=b>>>9|0;break Ra}c=T(b,3)>>>10|0}N[a+512>>2]=c;N[a+600>>2]=139;N[a+316>>2]=6;N[a+508>>2]=b>>>8;c=d&15;N[a+516>>2]=(c?T(b,c-4|0)>>3:b-1|0)>>8;break p;case 115:case 116:case 117:d=Qa[N[a+624>>2]](a)|0;c=1;e=N[f>>2];Va:{if(!e){break Va}while(1){b=N[a+28>>2];if((b|0)<=1){if(O[a+593|0]){N[a+12>>2]=129}N[a+28>>2]=0;break Va}g=b-2|0;N[a+28>>2]=g;f=b<<2;b=N[a+24>>2];f=N[(f+b|0)-4>>2];Wa:{if(f>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break Wa}e=134;break i}g=N[b+(g<<2)>>2];b=g>>>4&15;Xa:{Ya:{switch(O[a+376|0]-116|0){case 0:b=b|16;break Xa;case 1:break Ya;default:break Xa}}b=b|32}if((d|0)!=(P[a+336>>1]+b|0)){break Wa}b=g&15;Qa[N[a+636>>2]](a,f,(b>>>0>7?-7:-8)+b<<6-P[a+338>>1])}c=c+1|0;if(e>>>0>=c>>>0){continue}break}}N[a+32>>2]=N[a+28>>2];break p;case 113:case 114:jn(a,f);break p;case 112:b=N[f>>2];if(b>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break p}e=134;break i}W=N[a+392>>2]+(b<<2)|0,_=qb(N[f+4>>2],N[a+264>>2]),N[W>>2]=_;break p;case 108:case 109:case 110:case 111:b=N[(((i&3)<<2)+a|0)+268>>2];c=N[f>>2];if((c|0)>=0){b=b+c|0;N[f>>2]=(b|0)>0?b:0;break p}b=c-b|0;N[f>>2]=b>>31&b;break p;case 104:case 105:case 106:case 107:W=f,_=Qa[N[a+600>>2]](a,N[f>>2],i&3)|0,N[W>>2]=_;break p;case 103:N[f>>2]=N[f>>2]+63&-64;break p;case 102:N[f>>2]=N[f>>2]&-64;break p;case 101:N[f>>2]=0-N[f>>2];break p;case 100:b=N[f>>2];if((b|0)>=0){break p}N[f>>2]=0-b;break p;case 99:W=f,_=jb(N[f>>2],N[f+4>>2],64),N[W>>2]=_;break p;case 98:b=N[f+4>>2];if(!b){e=133;break i}W=f,_=ei(N[f>>2],64,b),N[W>>2]=_;break p;case 97:N[f>>2]=N[f>>2]-N[f+4>>2];break p;case 96:N[f>>2]=N[f+4>>2]+N[f>>2];break p;case 95:b=N[f>>2];if(b>>>0>6){e=132;break i}M[a+338>>1]=b;break p;case 94:M[a+336>>1]=N[f>>2];break p;case 93:jn(a,f);break p;case 92:N[f>>2]=!N[f>>2];break p;case 91:N[f>>2]=N[f>>2]?1:N[f+4>>2]!=0;break p;case 90:if(!N[f>>2]){N[f>>2]=0;break p}N[f>>2]=N[f+4>>2]!=0;break p;case 88:if(N[f>>2]){break p}c=N[a+368>>2];g=N[a+372>>2];e=1;Za:while(1){c=c+d|0;N[a+368>>2]=c;_a:{if((e|0)==1){if((c|0)>=(g|0)){e=131;break i}b=O[c+h|0];L[a+376|0]=b;d=L[b+26496|0];N[a+380>>2]=d;if((b&254)==64){f=c+1|0;if((f|0)>=(g|0)){e=131;break i}d=2-T(O[f+h|0],d)|0;N[a+380>>2]=d}if((g|0)<(c+d|0)){e=131;break i}$a:{switch(b-88|0){case 1:break p;case 0:break _a;default:break $a}}e=1;if((b|0)!=27){continue}break p}if((c|0)>=(g|0)){e=131;break i}ab:{while(1){f=O[c+h|0];L[a+376|0]=f;d=L[f+26496|0];N[a+380>>2]=d;if((f&254)==64){b=c+1|0;if((b|0)>=(g|0)){e=131;break i}d=2-T(O[b+h|0],d)|0;N[a+380>>2]=d}b=c+d|0;if((b|0)>(g|0)){e=131;break i}if((f|0)!=27){switch(f-88|0){case 0:break _a;case 1:break ab;default:continue Za}}N[a+368>>2]=b;c=b;if((b|0)<(g|0)){continue}break}e=131;break i}e=e-1|0;continue}e=e+1|0;continue};case 87:W=f,_=!(Qa[N[a+600>>2]](a,N[f>>2],3)&127),N[W>>2]=_;break p;case 86:W=f,_=(Qa[N[a+600>>2]](a,N[f>>2],3)&127)==64,N[W>>2]=_;break p;case 85:N[f>>2]=N[f>>2]!=N[f+4>>2];break p;case 84:N[f>>2]=N[f>>2]==N[f+4>>2];break p;case 83:N[f>>2]=N[f>>2]>=N[f+4>>2];break p;case 82:N[f>>2]=N[f>>2]>N[f+4>>2];break p;case 81:N[f>>2]=N[f>>2]<=N[f+4>>2];break p;case 80:N[f>>2]=N[f>>2]>2];break p;case 78:L[a+320|0]=0;break p;case 77:L[a+320|0]=1;break p;case 76:if(N[N[N[a>>2]+96>>2]+64>>2]==35){W=f,_=Qa[N[a+624>>2]](a)|0,N[W>>2]=_;break p}N[f>>2]=N[a+216>>2];break p;case 75:W=f,_=Qa[N[a+624>>2]](a)|0,N[W>>2]=_;break p;case 73:case 74:bb:{cb:{b=P[f>>1];if(b>>>0>1]){c=P[f+4>>1];if(c>>>0>1]){break cb}}b=0;if(!O[a+593|0]){break bb}N[a+12>>2]=134;N[f>>2]=0;break p}if(i&1){b=N[a+52>>2]+(b<<3)|0;c=N[a+88>>2]+(c<<3)|0;W=f,_=Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0,N[W>>2]=_;break p}if(!(P[a+350>>1]?P[a+348>>1]:0)){b=N[a+48>>2]+(b<<3)|0;c=N[a+84>>2]+(c<<3)|0;W=f,_=Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0,N[W>>2]=_;break p}b=N[a+56>>2]+(b<<3)|0;c=N[a+92>>2]+(c<<3)|0;d=N[b+4>>2]-N[c+4>>2]|0;e=N[a+224>>2];g=N[a+228>>2];if((e|0)==(g|0)){W=f,_=qb(Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,d)|0,N[a+224>>2]),N[W>>2]=_;break p}b=(_=a,Z=qb(N[b>>2]-N[c>>2]|0,e),Y=qb(d,g),W=N[a+608>>2],Qa[W](_|0,Z|0,Y|0)|0)}N[f>>2]=b;break p;case 72:b=P[f>>1];if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break p}e=134;break i}c=b<<3;d=c+N[a+124>>2]|0;d=Qa[N[a+604>>2]](a,N[d>>2],N[d+4>>2])|0;Qa[N[a+616>>2]](a,p,b,N[f+4>>2]-d|0);if(P[a+352>>1]){break p}b=c+N[a+120>>2]|0;c=c+N[a+124>>2]|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;break p;case 70:case 71:b=N[f>>2];db:{if(b>>>0>=P[a+116>>1]){b=0;if(!O[a+593|0]){break db}N[a+12>>2]=134;N[f>>2]=0;break p}if(i&1){b=N[a+120>>2]+(b<<3)|0;W=f,Y=Qa[N[a+608>>2]](a,N[b>>2],N[b+4>>2])|0,N[W>>2]=Y;break p}b=N[a+124>>2]+(b<<3)|0;b=Qa[N[a+604>>2]](a,N[b>>2],N[b+4>>2])|0}N[f>>2]=b;break p;case 69:b=N[f>>2];eb:{if(b>>>0>=Q[a+388>>2]){b=0;if(!O[a+593|0]){break eb}e=134;break i}b=Qa[N[a+628>>2]](a,b)|0}N[f>>2]=b;break p;case 68:b=N[f>>2];if(b>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break p}e=134;break i}Qa[N[a+632>>2]](a,b,N[f+4>>2]);break p;case 67:b=N[f>>2];fb:{if(b>>>0>=P[a+488>>1]){b=0;if(!O[a+593|0]){break fb}e=134;break i}b=N[N[a+492>>2]+(b<<2)>>2]}N[f>>2]=b;break p;case 66:d=P[a+488>>1];e=N[f>>2];if(d>>>0<=e>>>0){if(!O[a+593|0]){break p}e=134;break i}gb:{b=N[a+492>>2];if(!(N[a+356>>2]!=3|(b|0)!=N[a+504>>2])){c=P[a+496>>1];i=c<<2;g=N[a+500>>2];hb:{if(c>>>0>=d>>>0){d=c;break hb}b=i;i=d<<2;g=lb(N[a+8>>2],1,b,i,g,j+12|0);N[a+500>>2]=g;b=N[j+12>>2];if(b){break gb}b=N[a+492>>2]}M[a+496>>1]=d;N[a+12>>2]=0;B(g,b,i);b=N[a+500>>2];N[a+492>>2]=b}N[(e<<2)+b>>2]=N[f+4>>2];break p}M[a+496>>1]=c;N[a+12>>2]=b;break o;case 65:e=130;d=(b-N[a+16>>2]|0)+1|0;b=N[a+368>>2];c=O[(b+h|0)+1|0];if(d>>>0<=c>>>0){break i}N[a+368>>2]=b+2;if(c){b=0;if((c|0)!=1){d=c&254;while(1){e=N[a+368>>2];N[a+368>>2]=e+2;g=b<<2;e=e+h|0;e=O[e|0]|O[e+1|0]<<8;N[g+f>>2]=(e<<8|e>>>8)<<16>>16;e=N[a+368>>2];N[a+368>>2]=e+2;e=e+h|0;e=O[e|0]|O[e+1|0]<<8;N[f+(g|4)>>2]=(e<<8|e>>>8)<<16>>16;b=b+2|0;if((d|0)!=(b|0)){continue}break}}if(c&1){d=N[a+368>>2];N[a+368>>2]=d+2;e=f+(b<<2)|0;b=d+h|0;b=O[b|0]|O[b+1|0]<<8;N[e>>2]=(b<<8|b>>>8)<<16>>16}g=N[a+32>>2]}L[a+384|0]=0;N[a+32>>2]=c+g;break p;case 64:e=130;d=O[(h+N[a+368>>2]|0)+1|0];if(d>>>0>=(b-N[a+16>>2]|0)+1>>>0){break i}if(d){b=1;if((d|0)!=1){e=d&254;c=0;while(1){g=f+(b<<2)|0;N[g-4>>2]=O[(h+(N[a+368>>2]+b|0)|0)+1|0];b=b+2|0;N[g>>2]=O[h+(b+N[a+368>>2]|0)|0];c=c+2|0;if((e|0)!=(c|0)){continue}break}}if(d&1){N[(f+(b<<2)|0)-4>>2]=O[(h+(N[a+368>>2]+b|0)|0)+1|0]}g=N[a+32>>2]}N[a+32>>2]=d+g;break p;case 62:case 63:ib:{jb:{c=P[f>>1];if(c>>>0>1]){b=N[f+4>>2];if(b>>>0>2]){break jb}}if(!O[a+593|0]){break ib}N[a+12>>2]=134;break ib}b=Qa[N[a+628>>2]](a,b)|0;if(!P[a+348>>1]){e=M[a+302>>1];d=e>>31;f=(d^e)-d|0;d=b>>31;i=(d^b)-d|0;h=i>>>16|0;k=T(f,h);g=k<<16|8192;l=c<<3;d=l+N[a+48>>2]|0;q=g;m=f;f=i&65535;g=g+T(m,f)|0;g=(k>>>16|0)+(q>>>0>g>>>0)<<18|g>>>14;N[d>>2]=(b^e)<0?0-g|0:g;e=M[a+304>>1];g=e>>31;i=(e^g)-g|0;h=T(i,h);g=h<<16|8192;k=g;g=g+T(f,i)|0;g=(h>>>16|0)+(k>>>0>g>>>0)<<18|g>>>14;N[d+4>>2]=(b^e)<0?0-g|0:g;g=N[d+4>>2];e=l+N[a+52>>2]|0;N[e>>2]=N[d>>2];N[e+4>>2]=g}d=N[a+52>>2]+(c<<3)|0;d=Qa[N[a+604>>2]](a,N[d>>2],N[d+4>>2])|0;if(L[a+376|0]&1){g=b-d|0;e=g>>31;b=Qa[N[a+600>>2]](a,N[a+324>>2]<((e^g)-e|0)?d:b,3)|0}Qa[N[a+616>>2]](a,o,c,b-d|0)}M[a+290>>1]=c;M[a+288>>1]=c;break p;case 61:N[a+600>>2]=140;N[a+316>>2]=2;break p;case 60:d=N[a+308>>2];kb:{if(!(P[a+288>>1]>1]&(d|0)<=N[a+16>>2])){if(!O[a+593|0]){break kb}N[a+12>>2]=134;break kb}if((d|0)<=0){break kb}while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];lb:{if(b>>>0>=P[a+80>>1]){b=d;if(!O[a+593|0]){break lb}e=134;break i}e=b;b=N[a+88>>2]+(b<<3)|0;c=N[a+52>>2]+(P[a+288>>1]<<3)|0;Y=a,Z=n,_=e,X=0-(Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0)|0,W=N[a+616>>2],Qa[W](Y|0,Z|0,_|0,X|0);b=N[a+308>>2]}d=b-1|0;N[a+308>>2]=d;if((b|0)>1){continue}break}c=N[a+28>>2]}N[a+32>>2]=c;N[a+308>>2]=1;break p;case 58:case 59:mb:{b=P[f>>1];if(b>>>0>1]){c=P[a+288>>1];if(c>>>0>1]){break mb}}if(!O[a+593|0]){break p}e=134;break i}if(!P[a+350>>1]){c=N[a+48>>2]+(c<<3)|0;g=N[c+4>>2];d=b<<3;e=d+N[a+84>>2]|0;N[e>>2]=N[c>>2];N[e+4>>2]=g;Qa[N[a+620>>2]](a,n,b,N[f+4>>2]);c=d+N[a+88>>2]|0;d=d+N[a+84>>2]|0;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;c=P[a+288>>1]}d=N[a+88>>2]+(b<<3)|0;c=N[a+52>>2]+(c<<3)|0;c=Qa[N[a+604>>2]](a,N[d>>2]-N[c>>2]|0,N[d+4>>2]-N[c+4>>2]|0)|0;Qa[N[a+616>>2]](a,n,b,N[f+4>>2]-c|0);M[a+292>>1]=b;M[a+290>>1]=P[a+288>>1];if(!(L[a+376|0]&1)){break p}M[a+288>>1]=b;break p;case 57:nb:{ob:{b=N[a+308>>2];pb:{if((b|0)>N[a+16>>2]){if(O[a+593|0]){break pb}break nb}c=1;c=!P[a+348>>1]|!P[a+350>>1]?c:!P[a+352>>1];g=P[a+290>>1];if(g>>>0>1]){break ob}if(!O[a+593|0]){break nb}}N[a+12>>2]=134;break nb}f=N[(c?48:56)+a>>2];l=g<<3;d=l;e=f+d|0;k=N[a+52>>2];i=k+d|0;r=0;d=0;h=P[a+292>>1];if(h>>>0>1]){qb:{if(c){b=N[a+84>>2]+(h<<3)|0;d=Qa[N[a+608>>2]](a,N[b>>2]-N[e>>2]|0,N[b+4>>2]-N[(f+l|0)+4>>2]|0)|0;break qb}b=N[(f+(g<<3)|0)+4>>2];d=N[a+224>>2];l=N[a+228>>2];if((d|0)==(l|0)){d=N[a+92>>2]+(h<<3)|0;d=Qa[N[a+608>>2]](a,N[d>>2]-N[e>>2]|0,N[d+4>>2]-b|0)|0;break qb}h=N[a+92>>2]+(h<<3)|0;d=(X=a,_=qb(N[h>>2]-N[e>>2]|0,d),Z=qb(N[h+4>>2]-b|0,l),W=N[a+608>>2],Qa[W](X|0,_|0,Z|0)|0)}b=N[a+88>>2]+(P[a+292>>1]<<3)|0;r=Qa[N[a+604>>2]](a,N[b>>2]-N[i>>2]|0,N[b+4>>2]-N[(k+(g<<3)|0)+4>>2]|0)|0;b=N[a+308>>2]}if((b|0)<=0){break nb}h=g<<3;g=h+k|0;f=f+h|0;if(c){while(1){c=N[a+28>>2]-1|0;N[a+28>>2]=c;c=N[N[a+24>>2]+(c<<2)>>2];rb:{if(c>>>0>=P[a+116>>1]){if(!O[a+593|0]){break rb}e=134;break i}h=c<<3;b=h+N[a+120>>2]|0;b=Qa[N[a+608>>2]](a,N[b>>2]-N[e>>2]|0,N[b+4>>2]-N[f+4>>2]|0)|0;h=h+N[a+124>>2]|0;h=Qa[N[a+604>>2]](a,N[h>>2]-N[i>>2]|0,N[h+4>>2]-N[g+4>>2]|0)|0;l=a;c=c&65535;if(!(!b|!d)){b=jb(b,r,d)}Qa[N[a+616>>2]](l,p,c,b-h|0);b=N[a+308>>2]}c=b;b=c-1|0;N[a+308>>2]=b;if((c|0)>1){continue}break nb}}while(1){c=N[a+28>>2]-1|0;N[a+28>>2]=c;c=N[N[a+24>>2]+(c<<2)>>2];sb:{if(c>>>0>=P[a+116>>1]){if(!O[a+593|0]){break sb}e=134;break i}b=N[f+4>>2];h=N[a+224>>2];k=N[a+228>>2];tb:{if((h|0)==(k|0)){h=N[a+128>>2]+(c<<3)|0;b=Qa[N[a+608>>2]](a,N[h>>2]-N[e>>2]|0,N[h+4>>2]-b|0)|0;break tb}l=N[a+128>>2]+(c<<3)|0;b=(Z=a,_=qb(N[l>>2]-N[e>>2]|0,h),X=qb(N[l+4>>2]-b|0,k),W=N[a+608>>2],Qa[W](Z|0,_|0,X|0)|0)}h=N[a+124>>2]+(c<<3)|0;h=Qa[N[a+604>>2]](a,N[h>>2]-N[i>>2]|0,N[h+4>>2]-N[g+4>>2]|0)|0;l=a;c=c&65535;if(!(!b|!d)){b=jb(b,r,d)}Qa[N[a+616>>2]](l,p,c,b-h|0);b=N[a+308>>2]}c=b;b=c-1|0;N[a+308>>2]=b;if((c|0)>1){continue}break}}N[a+308>>2]=1;N[a+32>>2]=N[a+28>>2];break p;case 56:d=0;d=!P[a+348>>1]|!P[a+350>>1]?d:P[a+352>>1]!=0;b=N[a+308>>2];ub:{if((b|0)>=N[a+16>>2]){if(!O[a+593|0]){break ub}N[a+12>>2]=134;break ub}if((b|0)<=0){break ub}c=M[a+304>>1];e=c>>31;b=N[f>>2];g=b>>31;f=(c^e)-e|0;g=(b^g)-g|0;i=g>>>16|0;h=T(f,i);e=h<<16|8192;l=e;g=g&65535;e=e+T(g,f)|0;e=(h>>>16|0)+(l>>>0>e>>>0)<<18|e>>>14;f=(b^c)<0?0-e|0:e;c=M[a+302>>1];e=c>>31;h=i;i=(c^e)-e|0;h=T(h,i);e=h<<16|8192;l=e;e=e+T(g,i)|0;e=(h>>>16|0)+(l>>>0>e>>>0)<<18|e>>>14;c=(b^c)<0?0-e|0:e;while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];vb:{if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break vb}e=134;break i}wb:{xb:{yb:{zb:{if(N[N[N[a>>2]+96>>2]+64>>2]==40){if(O[a+643|0]){Ab:{if(!d){break Ab}if(O[a+645|0]?O[a+644|0]:0){break vb}if(P[a+304>>1]?O[a+592|0]:0){break Ab}if(!(O[b+N[a+132>>2]|0]&16)){break vb}}if(P[a+302>>1]){e=b+N[a+132>>2]|0;L[e|0]=O[e|0]|8}if(!P[a+304>>1]){break vb}if(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40|(!O[a+644|0]|!O[a+645|0])){break xb}break wb}if(P[a+302>>1]){break zb}break yb}if(!P[a+302>>1]){break yb}}e=N[a+124>>2]+(b<<3)|0;N[e>>2]=c+N[e>>2];e=b+N[a+132>>2]|0;L[e|0]=O[e|0]|8}if(!P[a+304>>1]){break vb}if(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40)){break xb}if(O[a+645|0]){break wb}}e=N[a+124>>2]+(b<<3)|0;N[e+4>>2]=f+N[e+4>>2]}b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|16}b=N[a+308>>2];N[a+308>>2]=b-1;if((b|0)>1){continue}break}c=N[a+28>>2]}N[a+32>>2]=c;N[a+308>>2]=1;break p;case 54:case 55:if(Q[f>>2]>=2){if(!O[a+593|0]){break p}N[a+12>>2]=134;break p}if(Xh(a,j+4|0,j,j+12|0,j+10|0)){break p}Bb:{Cb:{switch(P[a+352>>1]){case 0:c=P[a+116>>1];break Bb;case 1:break Cb;default:break p}}b=M[a+118>>1];if((b|0)<=0){break p}c=P[(N[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}e=c&65535;if(!e){break p}g=N[j>>2];f=N[j+4>>2];d=N[a+124>>2];if((d|0)==N[j+28>>2]){b=0;c=P[j+10>>1];while(1){Db:{if((b|0)==(c|0)){break Db}if(!(!P[a+302>>1]|(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0))){i=d+(b<<3)|0;N[i>>2]=f+N[i>>2]}if(!P[a+304>>1]){break Db}if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Db}}i=d+(b<<3)|0;N[i+4>>2]=g+N[i+4>>2]}b=b+1|0;if((e|0)!=(b|0)){continue}break}break p}b=P[a+302>>1];if(!P[a+304>>1]){if(!b){break p}e=N[N[N[a>>2]+96>>2]+64>>2];b=0;g=c&65535;if((g|0)!=1){g=g&65534;while(1){if(!(O[a+643|0]?(e|0)==40:0)){i=b<<3;h=i+d|0;N[h>>2]=f+N[h>>2];i=d+(i|8)|0;N[i>>2]=f+N[i>>2]}b=b+2|0;if((g|0)!=(b|0)){continue}break}}if(!(c&1)|(O[a+643|0]?(e|0)==40:0)){break p}b=d+(b<<3)|0;N[b>>2]=f+N[b>>2];break p}e=N[N[N[a>>2]+96>>2]+64>>2];if(!b){if((e|0)!=40){e=0;b=0;f=c&65535;if(f>>>0>=4){i=f&65532;while(1){f=b<<3;h=f+d|0;N[h+4>>2]=g+N[h+4>>2];h=d+(f|8)|0;N[h+4>>2]=g+N[h+4>>2];h=d+(f|16)|0;N[h+4>>2]=g+N[h+4>>2];f=d+(f|24)|0;N[f+4>>2]=g+N[f+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break p}while(1){f=d+(b<<3)|0;N[f+4>>2]=g+N[f+4>>2];b=b+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break p}if(!O[a+643|0]){e=0;b=0;f=c&65535;if(f>>>0>=4){i=f&65532;while(1){f=b<<3;h=f+d|0;N[h+4>>2]=g+N[h+4>>2];h=d+(f|8)|0;N[h+4>>2]=g+N[h+4>>2];h=d+(f|16)|0;N[h+4>>2]=g+N[h+4>>2];f=d+(f|24)|0;N[f+4>>2]=g+N[f+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break p}while(1){f=d+(b<<3)|0;N[f+4>>2]=g+N[f+4>>2];b=b+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break p}if(!O[a+644|0]){e=0;b=0;f=c&65535;if(f>>>0>=4){i=f&65532;while(1){f=b<<3;h=f+d|0;N[h+4>>2]=g+N[h+4>>2];h=d+(f|8)|0;N[h+4>>2]=g+N[h+4>>2];h=d+(f|16)|0;N[h+4>>2]=g+N[h+4>>2];f=d+(f|24)|0;N[f+4>>2]=g+N[f+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break p}while(1){f=d+(b<<3)|0;N[f+4>>2]=g+N[f+4>>2];b=b+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break p}if(O[a+645|0]){break p}e=0;b=0;f=c&65535;if(f>>>0>=4){i=f&65532;while(1){f=b<<3;h=f+d|0;N[h+4>>2]=g+N[h+4>>2];h=d+(f|8)|0;N[h+4>>2]=g+N[h+4>>2];h=d+(f|16)|0;N[h+4>>2]=g+N[h+4>>2];f=d+(f|24)|0;N[f+4>>2]=g+N[f+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break p}while(1){f=d+(b<<3)|0;N[f+4>>2]=g+N[f+4>>2];b=b+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}break p}if((e|0)==40){c=c&65535;e=O[a+643|0];b=0;while(1){Eb:{Fb:{if(!e){i=d+(b<<3)|0;N[i>>2]=f+N[i>>2];break Fb}if(!O[a+644|0]){break Fb}if(O[a+645|0]){break Eb}}i=d+(b<<3)|0;N[i+4>>2]=g+N[i+4>>2]}b=b+1|0;if((c|0)!=(b|0)){continue}break}break p}e=0;b=c&65535;if((b|0)!=1){i=b&65534;while(1){h=e<<3;b=h+d|0;N[b>>2]=f+N[b>>2];N[b+4>>2]=g+N[b+4>>2];b=d+(h|8)|0;N[b>>2]=f+N[b>>2];N[b+4>>2]=g+N[b+4>>2];e=e+2|0;if((i|0)!=(e|0)){continue}break}}if(!(c&1)){break p}b=d+(e<<3)|0;N[b>>2]=f+N[b>>2];N[b+4>>2]=g+N[b+4>>2];break p;case 52:case 53:b=N[f>>2];c=b<<16>>16;if(c>>>0>=(P[a+352>>1]?M[a+118>>1]:1)>>>0){if(!O[a+593|0]){break p}N[a+12>>2]=134;break p}if(Xh(a,j+4|0,j,j+12|0,j+10|0)){break p}b=(b<<16?(P[(N[a+136>>2]+(c<<1)|0)-2>>1]-P[a+140>>1]|0)+1|0:0)&65535;if(P[a+352>>1]){c=(P[N[a+136>>2]+(c<<1)>>1]-P[a+140>>1]|0)+1|0}else{c=P[a+116>>1]}c=c&65535;if(b>>>0>=c>>>0){break p}d=P[j+10>>1];e=N[j>>2];g=N[j+4>>2];f=N[j+28>>2];while(1){i=N[a+124>>2];Gb:{if((i|0)==(f|0)&(b|0)==(d|0)){break Gb}if(P[a+302>>1]){if(!(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0)){i=i+(b<<3)|0;N[i>>2]=g+N[i>>2]}i=N[a+132>>2]+b|0;L[i|0]=O[i|0]|8}if(!P[a+304>>1]){break Gb}Hb:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Hb}}i=N[a+124>>2]+(b<<3)|0;N[i+4>>2]=e+N[i+4>>2]}i=N[a+132>>2]+b|0;L[i|0]=O[i|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break};break p;case 50:case 51:Ib:{if(N[a+16>>2]>2]){if(!O[a+593|0]){break Ib}N[a+12>>2]=134;break Ib}if(Xh(a,j+4|0,j,j+12|0,j+10|0)){break p}if(N[a+308>>2]<=0){break Ib}c=N[j>>2];d=N[j+4>>2];while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];Jb:{if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break Jb}N[a+12>>2]=134;break p}if(P[a+302>>1]){if(!(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0)){e=N[a+124>>2]+(b<<3)|0;N[e>>2]=d+N[e>>2]}e=b+N[a+132>>2]|0;L[e|0]=O[e|0]|8}if(!P[a+304>>1]){break Jb}Kb:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Kb}}e=N[a+124>>2]+(b<<3)|0;N[e+4>>2]=c+N[e+4>>2]}b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|16}b=N[a+308>>2];N[a+308>>2]=b-1;if((b|0)>1){continue}break}}N[a+308>>2]=1;N[a+32>>2]=N[a+28>>2];break p;case 48:case 49:Lb:{if(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40){break Lb}if(O[a+645|0]?O[a+644|0]:0){break p}if(i&1){L[a+644|0]=1;break Lb}L[a+645|0]=1}if(!P[a+154>>1]){break p}s=N[a+156>>2];Mb:{if(i&1){u=N[a+164>>2];w=8;k=N[a+160>>2];break Mb}s=s+4|0;u=N[a+164>>2]+4|0;w=16;k=N[a+160>>2]+4|0}N[j+20>>2]=u;N[j+16>>2]=k;N[j+12>>2]=s;A=P[a+152>>1];N[j+24>>2]=A;v=0;d=0;while(1){l=d;b=P[N[a+172>>2]+(v<<1)>>1]-P[a+176>>1]|0;c=P[a+152>>1];t=b>>>0>>0?b:c-1|0;Nb:{if(t>>>0>>0){break Nb}F=N[a+168>>2];r=0;g=d;Ob:{while(1){Pb:{d=g+1|0;if(O[g+F|0]&w){e=g;c=e;Qb:{Rb:{b=d;H=t>>>0>>0;if(!H){while(1){i=c;q=e;e=b;Sb:{if(!(O[b+F|0]&w)){break Sb}c=b;b=i+1|0;if(q>>>0>>0|c>>>0>=A>>>0|i>>>0>=A>>>0){break Sb}h=N[(c<<3)+u>>2];f=N[(i<<3)+u>>2];Tb:{if((h|0)>=(f|0)){c=h;h=f;f=e;break Tb}c=f;f=i;i=e}m=f<<3;f=N[m+k>>2];C=N[s+m>>2];I=f-C|0;m=i<<3;i=N[m+k>>2];D=N[s+m>>2];J=i-D|0;Ub:{if(!((c|0)==(h|0)|(f|0)==(i|0))){S=c-h|0;U=f-i|0;K=0;f=0;while(1){c=b<<3;V=c+k|0;c=N[c+s>>2];Vb:{if((c|0)<=(D|0)){m=c+J|0;break Vb}m=c+I|0;if((c|0)>=(C|0)){break Vb}if(!K){f=fb(U,S)}K=1;E=N[(b<<3)+u>>2]-h|0;m=E>>31;m=(m^E)-m|0;c=f>>31;c=(c^f)-c|0;Wb:{if(m+(c>>>8|0)>>>0<=8190){m=T(c,m)+32768>>>16|0;break Wb}z=m&65535;m=T(z,c>>>16|0)+T(c,m>>>16|0)+(T(c&65535,z)+32768>>>16)|0}c=m;z=0-c|0;c=E>>31|1;m=i+((((f|0)<0?0-c|0:c)|0)<0?z:m)|0}N[V>>2]=m;b=b+1|0;if(q>>>0>=b>>>0){continue}break}break Ub}while(1){f=b<<3;c=N[f+s>>2];N[f+k>>2]=(c|0)>(D|0)?(c|0)<(C|0)?i:c+I|0:c+J|0;b=b+1|0;if(q>>>0>=b>>>0){continue}break}}c=e}b=e+1|0;if(t>>>0>=b>>>0){continue}break}if((c|0)!=(g|0)){break Rb}}c=g<<3;e=N[c+k>>2];c=N[c+s>>2];if((e|0)==(c|0)){break Ob}f=e-c|0;if(g>>>0<=l>>>0){break Pb}e=0;c=r&3;if(c){while(1){i=k+(l<<3)|0;N[i>>2]=f+N[i>>2];l=l+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}if(r-1>>>0>2){break Qb}break Pb}d=j+12|0;hn(d,c+1&65535,t,c,g);if(!g){break Ob}hn(d,l,g-1|0,c,g);break Ob}while(1){c=k+(l<<3)|0;N[c>>2]=f+N[c>>2];N[c+8>>2]=f+N[c+8>>2];N[c+16>>2]=f+N[c+16>>2];N[c+24>>2]=f+N[c+24>>2];l=l+4|0;if((l|0)!=(g|0)){continue}break}break Pb}r=r+1|0;g=d;if(d>>>0<=t>>>0){continue}break Nb}break}if(H){break Ob}while(1){c=k+(d<<3)|0;N[c>>2]=f+N[c>>2];d=d+1|0;if(t>>>0>=d>>>0){continue}break}}d=b}v=v+1|0;if((v|0)>1]){continue}break};break p;case 46:case 47:b=P[f>>1];if(b>>>0>=P[a+44>>1]){if(!O[a+593|0]){break p}e=134;break i}if(i&1){c=N[a+52>>2]+(b<<3)|0;c=Qa[N[a+604>>2]](a,N[c>>2],N[c+4>>2])|0;c=(Qa[N[a+600>>2]](a,c,3)|0)-c|0}else{c=0}Qa[N[a+616>>2]](a,o,b,c);M[a+290>>1]=b;M[a+288>>1]=b;break p;case 79:break i;case 45:break q}}c=N[a+448>>2];if((c|0)<=0){e=136;break i}b=c-1|0;N[a+448>>2]=b;b=N[a+456>>2]+(b<<4)|0;d=N[b+8>>2];N[b+8>>2]=d-1;L[a+384|0]=0;if((d|0)>=2){N[a+448>>2]=c;N[a+368>>2]=N[N[b+12>>2]+4>>2];break p}c=N[b>>2];if(c-4>>>0<4294967293){e=132;break i}d=(c-1<<3)+a|0;e=N[d+464>>2];if(!e){e=138;break i}d=N[d+468>>2];b=N[b+4>>2];if((d|0)<(b|0)){e=131;break i}N[a+372>>2]=d;N[a+364>>2]=e;N[a+368>>2]=b;N[a+360>>2]=c}b=N[a+12>>2]}if(b){e=128;if((b|0)!=128){break h}b=N[a+436>>2];if(!b){break i}c=N[a+428>>2];if((c|0)<=0){break i}c=T(c,24)+b|0;while(1){Xb:{if(!(!O[b+16|0]|O[a+376|0]!=O[b+12|0])){c=N[a+448>>2];if((c|0)>=N[a+452>>2]){e=134;break i}c=N[a+456>>2]+(c<<4)|0;N[c>>2]=N[a+360>>2];d=N[a+368>>2];N[c+12>>2]=b;N[c+8>>2]=1;N[c+4>>2]=d+1;d=N[b>>2];if(d-4>>>0<4294967293){e=132;break i}e=(d-1<<3)+a|0;g=N[e+464>>2];if(!g){e=138;break i}c=N[b+4>>2];e=N[e+468>>2];if((c|0)<=(e|0)){break Xb}e=131;break i}b=b+24|0;if(c>>>0>b>>>0){continue}break i}break}N[a+372>>2]=e;N[a+364>>2]=g;N[a+368>>2]=c;N[a+360>>2]=d;break l}N[a+16>>2]=N[a+32>>2];if(!O[a+384|0]){break m}d=N[a+380>>2]}N[a+368>>2]=N[a+368>>2]+d}R=R+1|0;if(R>>>0>1e6){e=139;break i}e=N[a+372>>2];c=N[a+368>>2]}if((c|0)>=(e|0)){b=0;e=131;if(N[a+448>>2]>0){break i}break h}if(!O[a+520|0]){continue}break}b=0;break h}N[a+12>>2]=e;b=e}N[a+392>>2]=N[a+404>>2];N[a+492>>2]=N[a+504>>2];La=j+48|0;return b|0}function qo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,M=0,P=0,Q=0,R=0,U=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0;i=La-96|0;La=i;a:{if(b>>>0>=c>>>0){break a}C=N[a>>2];G=a+224|0;H=a+228|0;I=a+232|0;J=a+236|0;while(1){h=b;while(1){b:{b=h;h=h+1|0;f=O[b|0];if((b|0)==(c|0)){break b}if((f|0)!=92){continue}}break}if((f|0)!=92){break a}c:{if((c|0)==(h|0)){h=c;break c}while(1){b=O[h|0];if((b|0)!=32&(b|0)!=9){break c}h=h+1|0;continue}}b=(c+h|0)-h|0;f=h;d:{while(1){e:{f:{g=O[f|0];if(!((g|0)==40|(g|0)==92)){if((c|0)!=(f|0)){break f}f=b}if((f|0)!=(h|0)){break e}b=h;break d}f=f+1|0;continue}break}N[i+20>>2]=441572;N[i+28>>2]=441572;N[i+16>>2]=441572;N[i+36>>2]=441572;N[i+24>>2]=441572;N[i+44>>2]=441572;N[i+32>>2]=441572;N[i+52>>2]=441572;N[i+40>>2]=441572;N[i+60>>2]=441572;N[i+48>>2]=441572;N[i+68>>2]=441572;N[i+56>>2]=441572;N[i+76>>2]=441572;N[i+64>>2]=441572;N[i+72>>2]=441572;l=0;N[i+12>>2]=0;g=f;b=f;r=0;if(O[f|0]==40){g:{h:{while(1){i:{b=g+1|0;if((c|0)==(b|0)){b=c;break i}while(1){g=O[b|0];if((g|0)!=32&(g|0)!=9){break i}b=b+1|0;continue}}m=(b+c|0)-b|0;g=b;j:{k:{while(1){l:{m:{k=O[g|0];switch(k-41|0){case 0:break g;case 3:break k;case 1:case 2:break l;default:break m}}if((k|0)!=92){break l}m=g;break h}if((c|0)!=(g|0)){g=g+1|0;continue}break}if((k|0)!=44){break j}g=m}if(l>>>0>7){continue}k=g;n:{if(b>>>0>=g>>>0){break n}while(1){m=k-1|0;n=O[m|0];if((n|0)!=32&(n|0)!=9){break n}k=m;if(k>>>0>b>>>0){continue}break}k=b}if(b>>>0>=k>>>0){continue}m=(i+16|0)+(l<<3)|0;N[m+4>>2]=k;N[m>>2]=b;l=l+1|0;N[i+12>>2]=l;continue}break}g=m;if((k|0)!=92){break g}}while(1){r=1;g=m;if((g|0)==(c|0)){break g}m=g+1|0;if(O[g|0]!=41){continue}break}}o:{if(l>>>0>7){break o}m=g;p:{if(b>>>0>=g>>>0){break p}while(1){k=m-1|0;n=O[k|0];if((n|0)!=32&(n|0)!=9){break p}m=k;if(k>>>0>b>>>0){continue}break}m=b}if(b>>>0>=m>>>0){break o}k=(i+16|0)+(l<<3)|0;N[k+4>>2]=m;N[k>>2]=b;l=l+1|0;N[i+12>>2]=l}b=((c|0)!=(g|0))+g|0}n=h+5|0;q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{t=O[h|0];switch(t-120|0){case 1:break M;case 0:break N;default:break K}}y=0;g=O[h+1|0]-98|0;if(g){if((g|0)==17){break L}else{break z}}if(O[h+2|0]!=111|O[h+3|0]!=114|O[h+4|0]!=100){break z}O:{if((l|0)<=7){P:{if(f>>>0<=n>>>0){break P}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break P}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break O}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);j=S[a+200>>3]*(1-d)+d*j;S[a+200>>3]=j<0?0:j;break d}S[a+200>>3]=S[N[a+68>>2]+88>>3];break d}y=0;g=O[h+1|0]-98|0;if(g){if((g|0)==17){break J}else{break z}}if(O[h+2|0]!=111|O[h+3|0]!=114|O[h+4|0]!=100){break z}Q:{if((l|0)<=7){R:{if(f>>>0<=n>>>0){break R}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break R}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break Q}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);j=S[a+208>>3]*(1-d)+d*j;S[a+208>>3]=j<0?0:j;break d}S[a+208>>3]=S[N[a+68>>2]+88>>3];break d}if(O[h+2|0]!=104|O[h+3|0]!=97|O[h+4|0]!=100){break z}S:{if((l|0)<=7){T:{if(f>>>0<=n>>>0){break T}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break T}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break S}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);S[a+272>>3]=S[a+272>>3]*(1-d)+d*j;break d}S[a+272>>3]=S[N[a+68>>2]+96>>3];break d}m=h+3|0;switch(t-102|0){case 3:break H;case 0:break I;default:break F}}if(O[h+2|0]!=104|O[h+3|0]!=97|O[h+4|0]!=100){break z}U:{if((l|0)<=7){V:{if(f>>>0<=n>>>0){break V}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break V}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break U}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);S[a+280>>3]=S[a+280>>3]*(1-d)+d*j;break d}S[a+280>>3]=S[N[a+68>>2]+96>>3];break d}g=O[h+1|0];if((g|0)!=97){break G}if(O[h+2|0]==120){W:{if((l|0)<=7){X:{if(f>>>0<=m>>>0){break X}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break X}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break W}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=ob(f,i+88|0)*d+(1-d)*S[a+128>>3],S[W+128>>3]=X;break d}N[a+128>>2]=0;N[a+132>>2]=0;break d}if(O[h+2|0]!=121){break A}Y:{if((l|0)<=7){Z:{if(f>>>0<=m>>>0){break Z}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Z}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break Y}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=ob(f,i+88|0)*d+(1-d)*S[a+136>>3],S[W+136>>3]=X;break d}N[a+136>>2]=0;N[a+140>>2]=0;break d}y=1;if(O[h+1|0]!=99|O[h+2|0]!=108|(O[m|0]!=105|O[h+4|0]!=112)){break z}if((l|0)==4){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;h=i+88|0;r=Eb(f,h,10);k=Pa;g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,h,10);m=Pa;n=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=n;g=Eb(g,h,10);n=Pa;p=N[i+44>>2];l=N[i+40>>2];N[i+88>>2]=l;N[i+92>>2]=p;h=Eb(l,h,10);l=Pa;L[a+257|0]=1;j=1-d;p=(k|0)<0&r>>>0<=2147483648|(k|0)<-1;r=p?-2147483648:r;k=p?-1:k;o=+N[a+240>>2]*j+d*+(((k|0)>=0&r>>>0>=2147483647|(k|0)>0?2147483647:r)|0);_:{if(V(o)<2147483648){k=~~o;break _}k=-2147483648}N[a+240>>2]=k;k=n;n=(k|0)<0&g>>>0<=2147483648|(k|0)<-1;g=n?-2147483648:g;k=n?-1:k;o=+N[a+248>>2]*j+d*+(((k|0)>=0&g>>>0>=2147483647|(k|0)>0?2147483647:g)|0);$:{if(V(o)<2147483648){g=~~o;break $}g=-2147483648}N[a+248>>2]=g;g=m;k=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=k?-2147483648:f;g=k?-1:g;o=+N[a+244>>2]*j+d*+(((g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f)|0);aa:{if(V(o)<2147483648){f=~~o;break aa}f=-2147483648}N[a+244>>2]=f;g=h;f=l;h=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;j=+N[a+252>>2]*j+d*+(((f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g)|0);if(V(j)<2147483648){N[a+252>>2]=~~j;break d}N[a+252>>2]=-2147483648;break d}if(N[a+296>>2]){break d}if(!po(a,i+16|0,l)){break d}N[a+456>>2]=1;break d}k=h+2|0;ba:{switch(g-101|0){case 0:break t;case 9:break D;case 13:break E;case 14:break ba;default:break d}}g=h+4|0;if(!(O[k|0]!=99|O[m|0]!=120)){ca:{if((l|0)<=7){da:{if(f>>>0<=g>>>0){break da}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break da}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ca}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);j=S[a+176>>3]*(1-d)+d*(j/100);S[a+176>>3]=j<0?0:j;break d}S[a+176>>3]=S[N[a+68>>2]+48>>3];break d}if(!(O[h+2|0]!=99|O[m|0]!=121)){ea:{if((l|0)<=7){fa:{if(f>>>0<=g>>>0){break fa}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break fa}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ea}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);j=S[a+184>>3]*(1-d)+d*(j/100);S[a+184>>3]=j<0?0:j;break d}S[a+184>>3]=S[N[a+68>>2]+56>>3];break d}if(O[h+2|0]==99){ga:{if((l|0)>7){break ga}ha:{if(f>>>0<=m>>>0){break ha}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ha}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0<=m>>>0){break ga}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;N[i+12>>2]=l+1}f=N[a+68>>2];S[a+176>>3]=S[f+48>>3];S[a+184>>3]=S[f+56>>3];break d}if(O[h+2|0]==112){ia:{if((l|0)<=7){ja:{if(f>>>0<=m>>>0){break ja}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ja}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break ia}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);S[a+192>>3]=S[a+192>>3]*(1-d)+d*j;break d}S[a+192>>3]=S[N[a+68>>2]+64>>3];break d}ka:{la:{if((l|0)<=7){ma:{if(f>>>0<=k>>>0){break ma}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ma}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0>k>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}if(!l){break la}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);na:{oa:{switch(O[N[i+16>>2]]-43|0){case 0:case 2:j=(d*j/10+1)*S[a+80>>3];break na;default:break oa}}j=S[a+80>>3]*(1-d)+d*j}if(!(j<=0)){break ka}}j=S[N[a+68>>2]+8>>3]}S[a+80>>3]=j;break d}p=h+4|0;w=(t|0)==98;if(w){break s}k=h+1|0;g=h+2|0;y=0;s=0;pa:{switch(t-97|0){case 12:break pa;case 15:break B;case 0:break C;default:break q}}if(O[k|0]!=111|O[g|0]!=118|O[m|0]!=101){break r}if((l&-3)!=4){break d}f=N[i+20>>2];g=N[i+16>>2];N[i+88>>2]=g;N[i+92>>2]=f;m=i+88|0;f=m;k=f;o=ob(g,f);h=N[i+28>>2];g=N[i+24>>2];N[i+88>>2]=g;N[i+92>>2]=h;q=ob(g,f);h=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=h;u=ob(g,f);g=N[i+44>>2];f=N[i+40>>2];N[i+88>>2]=f;N[i+92>>2]=g;B=ob(f,k);f=0;h=0;if((l|0)==6){g=N[i+52>>2];f=N[i+48>>2];N[i+88>>2]=f;N[i+92>>2]=g;g=Eb(f,k,10);h=N[i+60>>2];f=N[i+56>>2];N[i+88>>2]=f;N[i+92>>2]=h;h=Pa;m=(h|0)<0&g>>>0<=2147483648|(h|0)<-1;g=m?-2147483648:g;h=m?-1:h;g=(h|0)>=0&g>>>0>=2147483647|(h|0)>0?2147483647:g;f=Eb(f,k,10);h=Pa;k=(h|0)<0&f>>>0<=2147483648|(h|0)<-1;f=k?-2147483648:f;h=k?-1:h;f=(h|0)>=0&f>>>0>=2147483647|(h|0)>0?2147483647:f;h=(f|0)>(g|0)?g:f;f=(f|0)<(g|0)?g:f}g=N[a+64>>2];if(!((h|0)>0|(f|0)>0)){h=0;f=N[g+8>>2]}g=N[C+176>>2]-N[g>>2]|0;j=0;qa:{if((g|0)<=(h|0)){break qa}j=1;if((f|0)<=(g|0)){break qa}j=+(g-h|0)/+(f-h|0)}f=N[a+216>>2];if(f&1){break d}L[a+258|0]=0;N[a+216>>2]=f|1;S[a+152>>3]=j*(B-q)+q;S[a+144>>3]=j*(u-o)+o;break d}if(O[k|0]==120){qc(i+16|0,i+12|0,m,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=ob(f,i+88|0)*d+(1-d)*S[a+104>>3],S[W+104>>3]=X;break d}N[a+104>>2]=0;N[a+108>>2]=0;break d}if(O[k|0]==121){qc(i+16|0,i+12|0,m,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=ob(f,i+88|0)*d+(1-d)*S[a+112>>3],S[W+112>>3]=X;break d}N[a+112>>2]=0;N[a+116>>2]=0;break d}ra:{if((l|0)<=7){g=O[k|0]==122?m:k;sa:{if(g>>>0>=f>>>0){break sa}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break sa}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ra}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=ob(f,i+88|0)*d+(1-d)*S[a+120>>3],S[W+120>>3]=X;break d}S[a+120>>3]=S[N[a+68>>2]+72>>3];break d}qc(i+16|0,i+12|0,k,f);ta:{ua:{if(!N[i+12>>2]){break ua}h=N[i+16>>2];f=N[i+20>>2];if(!bb(h,22017,f-h|0)){break ua}while(1){g=O[h|0];if(!((g|0)!=32&(g|0)!=9)){h=h+1|0;continue}break}N[a+496>>2]=h;f=f-h|0;break ta}f=N[N[a+68>>2]+4>>2];N[a+496>>2]=f;f=nb(f)}N[a+500>>2]=f;rg(a);break d}va:{wa:{switch(O[k|0]-108|0){case 0:if(O[g|0]!=112|O[m|0]!=104|O[p|0]!=97){break va}qc(i+16|0,i+12|0,n,f);if(N[i+12>>2]){f=N[i+16>>2];g=La-16|0;La=g;while(1){h=O[f|0];if(!((h|0)!=72&(h|0)!=38)){f=f+1|0;continue}break}N[g+12>>2]=f;f=Eb(f,g+12|0,16);La=g+16|0;g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;qg(G,f,d);qg(H,f,d);qg(I,f,d);qg(J,f,d);break d}f=N[a+68>>2];g=O[f+16|0];h=g;A(+(g>>>0));g=v(1)|0;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+224|0]=Y;g=O[f+20|0];h=g;A(+(g>>>0));g=v(1)|0;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+228|0]=Y;g=O[f+24|0];h=g;A(+(g>>>0));g=v(1)|0;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+232|0]=Y;f=O[f+28|0];g=f;A(+(f>>>0));f=v(1)|0;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+236|0]=Y;break d;case 2:break wa;default:break va}}xa:{if((l|0)>7){break xa}ya:{if(f>>>0<=g>>>0){break ya}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ya}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0<=g>>>0){break xa}h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;N[i+12>>2]=l+1}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;g=Eb(f,i+88|0,10);f=Pa;k=N[a+88>>2];if(k&2){break d}h=(f|0)<0&g>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;g=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=g-1|0;za:{if(f>>>0<=8){h=(((f&255)>>>0)%3|0)+1|0;f=h;if(g>>>0<4){break za}f=h|8;if(g>>>0<=6){break za}f=h|4;break za}f=N[N[a+68>>2]+104>>2]}N[a+96>>2]=f;N[a+88>>2]=k|2;break d}Aa:{if((l|0)>7){break Aa}Ba:{if(f>>>0<=k>>>0){break Ba}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ba}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break Aa}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;N[i+12>>2]=l+1}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;g=Eb(f,i+88|0,10);f=Pa;h=N[a+88>>2];if(h&2){break d}k=(f|0)<0&g>>>0<=2147483648|(f|0)<-1;g=k?-2147483648:g;f=k?-1:f;f=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;Ca:{if(f-1>>>0<=10){f=f&3?f:5;break Ca}f=N[N[a+68>>2]+104>>2]}N[a+96>>2]=f;N[a+88>>2]=h|2;break d}n=O[k|0];if((n|0)!=111){break v}if(O[g|0]!=115){break u}if((l|0)!=2){break d}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=ob(f,i+88|0);f=N[a+216>>2];if(f&1){mb(N[C>>2],6,14604,0);break d}L[a+258|0]=0;S[a+152>>3]=o;S[a+144>>3]=j;N[a+216>>2]=f|1;break d}if(O[h+2|0]!=100){break d}switch(l-2|0){case 5:break x;case 0:break y;default:break d}}k=h+1|0;g=h+2|0;p=h+4|0;s=0;break q}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;k=i+88|0;g=Eb(f,k,10);h=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=h;h=Pa;m=(h|0)<0&g>>>0<=2147483648|(h|0)<-1;g=m?-2147483648:g;h=m?-1:h;r=(h|0)>=0&g>>>0>=2147483647|(h|0)>0?2147483647:g;f=Eb(f,k,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;n=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;k=0;m=255;h=-1;l=255;f=-1;break w}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;n=i+88|0;w=n;l=Eb(f,n,10);g=Pa;h=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=h;t=Eb(f,n,10);h=Pa;k=N[i+36>>2];f=N[i+32>>2];N[i+88>>2]=f;N[i+92>>2]=k;y=Eb(f,n,10);m=Pa;k=N[i+44>>2];f=N[i+40>>2];N[i+88>>2]=f;N[i+92>>2]=k;K=Eb(f,n,10);p=Pa;k=N[i+52>>2];f=N[i+48>>2];N[i+88>>2]=f;N[i+92>>2]=k;n=Eb(f,i+88|0,10);f=Pa;r=N[i+60>>2];k=N[i+56>>2];N[i+88>>2]=k;N[i+92>>2]=r;M=Eb(k,w,10);r=N[i+68>>2];k=N[i+64>>2];s=k;N[i+88>>2]=k;N[i+92>>2]=r;k=n;n=(f|0)<0&n>>>0<=2147483648|(f|0)<-1;k=n?-2147483648:k;f=n?-1:f;r=(f|0)>=0&k>>>0>=2147483647|(f|0)>0?2147483647:k;f=Pa;n=(f|0)<0&M>>>0<=2147483648|(f|0)<-1;k=n?-2147483648:M;f=n?-1:f;n=(f|0)>=0&k>>>0>=2147483647|(f|0)>0?2147483647:k;f=g;k=(f|0)<0&l>>>0<=2147483648|(f|0)<-1;g=k?-2147483648:l;f=k?-1:f;l=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=h;h=(f|0)<0&t>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:t;f=h?-1:f;k=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=m;h=(f|0)<0&y>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:y;f=h?-1:f;m=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=p;h=(f|0)<0&K>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:K;f=h?-1:f;h=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=Eb(s,w,10);g=Pa;p=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=p?-2147483648:f;g=p?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f}g=n;if((h&f)==-1){h=0;f=N[N[a+64>>2]+8>>2];g=f-g|0}n=N[a+88>>2];if(n&1){break d}p=N[C+176>>2];w=N[C+180>>2];t=N[a+64>>2];s=N[t>>2];t=N[t+4>>2];N[a+88>>2]=n|1;n=p-s|0;p=w-((p>>>0>>0)+t|0)|0;s=h>>31;if(h>>>0<=n>>>0&(p|0)>=(s|0)|(p|0)>(s|0)){Da:{Ea:{s=r>>31;if(n>>>0>>0&(s|0)>=(p|0)|(p|0)<(s|0)){j=+(n-h|0)/+(r-h|0);j=+(l|0)*(1-j)+j*+(k|0);if(!(V(j)<2147483648)){break Ea}h=~~j;break Da}l=g>>31;h=k;if(g>>>0>n>>>0&(l|0)>=(p|0)|(l|0)>(p|0)){break Da}h=m;l=f>>31;if((l|0)<=(p|0)&f>>>0<=n>>>0|(l|0)<(p|0)){break Da}j=+(n-g|0)/+(f-g|0);j=+(k|0)*(1-j)+j*+(h|0);if(!(V(j)<2147483648)){break Ea}h=~~j;break Da}h=-2147483648}}else{h=l}N[a+260>>2]=h;break d}if((n|0)!=98|O[h+2|0]!=111){break u}qc(i+16|0,i+12|0,m,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=ob(f,i+88|0),S[W+288>>3]=X;break d}qc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;N[a+448>>2]=(f|0)>0?f:0;break d}qc(i+16|0,i+12|0,k,f);Fa:{if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;break Fa}f=N[N[a+68>>2]+120>>2]}N[a+520>>2]=f;break d}Ga:{Ha:{switch(O[h+1|0]-108|0){case 0:if(O[h+2|0]!=117|O[m|0]!=114){break Ga}Ia:{if((l|0)<=7){Ja:{if(f>>>0<=p>>>0){break Ja}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ja}f=g;if(p>>>0>>0){continue}break}f=p}if(f>>>0>p>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=p;l=l+1|0;N[i+12>>2]=l}if(!l){break Ia}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);j=S[a+264>>3]*(1-d)+d*j;j=j<0?0:j;S[a+264>>3]=j>100?100:j;break d}N[a+264>>2]=0;N[a+268>>2]=0;break d;case 3:break Ha;default:break Ga}}if(O[h+2|0]!=114|O[m|0]!=100){break Ga}Ka:{La:{if((l|0)<=7){Ma:{if(f>>>0<=p>>>0){break Ma}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ma}f=g;if(p>>>0>>0){continue}break}f=p}if(f>>>0>p>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=p;l=l+1|0;N[i+12>>2]=l}if(!l){break La}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=d*ob(f,i+88|0);q=1-d;j=S[a+208>>3]*q+o;j=j<0?0:j;o=S[a+200>>3]*q+o;o=o<0?0:o;break Ka}j=S[N[a+68>>2]+88>>3];o=j}S[a+208>>3]=j;S[a+200>>3]=o;break d}g=h+2|0}k=h+1|0;y=0;s=w}Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{switch(t-49|0){case 62:r=O[k|0];if((r|0)!=114){break Ta}r=114;if(O[h+2|0]!=103){break Ta}if((l|0)!=2){break d}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=ob(f,i+88|0);if(O[a+256|0]){break d}L[a+258|0]=0;L[a+256|0]=1;S[a+168>>3]=o;S[a+160>>3]=j;break d;case 67:o=1;$a:{ab:{bb:{cb:{switch(l-2|0){case 1:g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;A(+j);g=v(1)|0;k=v(0)|0;if(V(j)<2147483648){h=~~j}else{h=-2147483648}g=g&2147483647;g=j<=-2147483648?-2147483648:(g|0)==2146435072&(k|0)!=0|g>>>0>2146435072?-2147483648:h;h=j>=2147483648;q=ob(f,i+88|0);k=q>=2147483648;if(V(q)<2147483648){f=~~q}else{f=-2147483648}h=h?-2147483648:g;if(!(q<=-2147483648|k)){A(+q);g=v(1)|0;g=g&2147483647;j=1;if(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072){break bb}}L[a+258|0]=0;f=-2147483648;break $a;case 0:g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=ob(f,i+88|0);default:h=0;L[a+258|0]=0;break ab;case 2:break cb}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;k=i+88|0;h=Eb(f,k,10);f=Pa;m=N[i+28>>2];g=N[i+24>>2];N[i+88>>2]=g;N[i+92>>2]=m;m=Eb(g,k,10);n=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=n;n=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;h=n?-2147483648:h;f=n?-1:f;h=(f|0)>=0&h>>>0>=2147483647|(f|0)>0?2147483647:h;f=Pa;n=(f|0)<0&m>>>0<=2147483648|(f|0)<-1;m=n?-2147483648:m;f=n?-1:f;f=(f|0)>=0&m>>>0>=2147483647|(f|0)>0?2147483647:m;j=ob(g,k)}o=j;L[a+258|0]=0;if(f){break $a}}f=N[N[a+64>>2]+8>>2]}j=0;m=N[C+176>>2]-N[N[a+64>>2]>>2]|0;db:{if((m|0)<(h|0)){break db}j=1;if((f|0)<=(m|0)){break db}if((f|0)==(h|0)){break Ra}g=0;w=La-16|0;La=w;A(+o);k=v(1)|0;s=v(0)|0;q=+(m-h|0)/+(f-h|0);A(+q);h=v(1)|0;n=v(0)|0;y=k>>>20|0;K=y&2047;M=K-1086|0;f=h>>>20|0;eb:{fb:{if(M>>>0>4294967167&f-2047>>>0>=4294965250){break fb}t=s<<1;m=k<<1|s>>>31;p=m+2097152|0;if(!t&(p|0)==2097152|p>>>0<2097152){if(!(m|t)|!n&(h|0)==1072693248){break eb}g=n<<1;f=h<<1|n>>>31;if(!((!t&(m|0)==-2097152|m>>>0<4292870144)&(!g&(f|0)==-2097152|f>>>0<4292870144))){j=q+o;break eb}if(!g&(f|0)==2145386496){break eb}j=((k|0)>0|(k|0)>=0)^f>>>0>2145386495?0:o*o;break eb}m=(h<<1|n>>>31)+2097152|0;if(!(n<<1)&(m|0)==2097152|m>>>0<2097152){j=q*q;if((h|0)<0){j=(Qm(s,k)|0)==1?-j:j}if((k|0)>0|(k|0)>=0){break eb}f=La-16|0;S[f+8>>3]=1/j;j=S[f+8>>3];break eb}if((h|0)<0){g=Qm(s,k);if(!g){j=q-q;j=j/j;break eb}g=((g|0)==1)<<18;A(+q);h=v(1)|0;n=v(0)|0;h=h&2147483647;f=f&2047}if(M>>>0<=4294967167){f=(h|0)==1072693248;if(f&!n){break eb}if(K>>>0<=957){j=((n|0)!=0&f|h>>>0>1072693248?o:-o)+1;break eb}if((!n&(h|0)==1072693248|h>>>0<1072693248)!=(y>>>0<2048|0)){f=La-16|0;S[f+8>>3]=3105036184601418e216;j=S[f+8>>3]*3105036184601418e216;break eb}f=La-16|0;S[f+8>>3]=12882297539194267e-247;j=S[f+8>>3]*12882297539194267e-247;break eb}if(f){break fb}A(+(q*4503599627370496));f=v(1)|0;n=v(0)|0;h=(f&2147483647)-54525952|0}x(0,s&-134217728);x(1,k|0);P=+z();f=h-1072076117|0;m=f;B=+(f>>20);k=(f>>>13&127)<<5;U=B*S[399]+S[k+3280>>3];p=0;f=n-p|0;m=h-((m&-1048576)+(n>>>0

>>0)|0)|0;h=m;x(0,0);x(1,(f- -2147483648>>>0<2147483648?h+1|0:h)|0);j=+z();u=S[k+3256>>3];q=j*u+-1;x(0,f|0);x(1,h|0);Q=(+z()-j)*u;j=q+Q;D=S[400];u=j*D;R=B*S[398]+S[k+3272>>3];B=j+R;E=q;q=q*D;E=E*q;D=B+E;E=U+(j+(R-B))+Q*(u+q)+(E+(B-D));q=j*u;j=E+j*q*(q*(q*(j*S[406]+S[405])+(j*S[404]+S[403]))+(j*S[402]+S[401]));q=D+j;S[w+8>>3]=j+(D-q);A(+q);f=v(1)|0;x(0,v(0)&-134217728);x(1,f|0);u=+z();j=P*u;o=(o-P)*u+(S[w+8>>3]+(q-u))*o;A(+j);f=v(1)|0;v(0)|0;gb:{hb:{f=f>>>20&2047;if(f-969>>>0<63){break hb}if(f>>>0<969){j=j+1;j=g?-j:j;break gb}h=f>>>0<1033;f=0;if(h){break hb}A(+j);f=v(1)|0;v(0)|0;if((f|0)<0){f=La-16|0;S[f+8>>3]=g?-12882297539194267e-247:12882297539194267e-247;j=S[f+8>>3]*12882297539194267e-247;break gb}f=La-16|0;S[f+8>>3]=g?-3105036184601418e216:3105036184601418e216;j=S[f+8>>3]*3105036184601418e216;break gb}q=S[129];u=S[128]*j+q;q=u-q;j=q*S[131]+(q*S[130]+j)+o;o=j*j;q=o*o*(j*S[135]+S[134]);o=o*(j*S[133]+S[132]);A(+u);v(1)|0;k=v(0)|0;m=k<<4&2032;j=q+(o+(S[m+1136>>3]+j));m=m+1144|0;n=N[m>>2];p=N[m+4>>2];g=g+k|0;m=g<<13;h=0;g=h+n|0;p=m+p|0;p=g>>>0>>0?p+1|0:p;if(!f){ib:{if(!(k&-2147483648)){x(0,g|0);x(1,p-1058013184|0);o=+z();j=(o*j+o)*5486124068793689e288;break ib}x(0,g|0);m=p+1071644672|0;x(1,m|0);o=+z();u=o*j;j=u+o;if(V(j)<1){f=La-16|0;S[f+8>>3]=22250738585072014e-324;S[f+8>>3]=S[f+8>>3]*22250738585072014e-324;x(0,0);x(1,m&-2147483648);q=j<0?-1:1;B=j+q;j=B+(u+(o-j)+(j+(q-B)))-q;j=(X=+z(),Z=j,W=j==0,W?X:Z)}j=j*22250738585072014e-324}break gb}x(0,g|0);x(1,p|0);o=+z();j=o*j+o}}La=w+16|0}g=e&1;f=l-1|0;if(r^1|f>>>0>3){d=g?j:d;break d}e=(i+16|0)+(f<<3)|0;f=N[e>>2];e=N[e+4>>2];if(e>>>0>>0){if(g){break Qa}qo(a,f,e,j,1);e=0;break d}g=(b|0)==(c|0);e=1;b=f;d=j;if(g){break d}ba(16681,18210,718,11024);F();case 50:if(O[k|0]!=108|O[h+2|0]!=105){break Oa}g=k;if(O[h+3|0]!=112){break Na}if((l|0)==4){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;h=i+88|0;r=Eb(f,h,10);k=Pa;g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,h,10);m=Pa;n=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=n;g=Eb(g,h,10);n=Pa;p=N[i+44>>2];l=N[i+40>>2];N[i+88>>2]=l;N[i+92>>2]=p;h=Eb(l,h,10);l=Pa;L[a+257|0]=0;j=1-d;p=(k|0)<0&r>>>0<=2147483648|(k|0)<-1;r=p?-2147483648:r;k=p?-1:k;o=+N[a+240>>2]*j+d*+(((k|0)>=0&r>>>0>=2147483647|(k|0)>0?2147483647:r)|0);jb:{if(V(o)<2147483648){k=~~o;break jb}k=-2147483648}N[a+240>>2]=k;k=n;n=(k|0)<0&g>>>0<=2147483648|(k|0)<-1;g=n?-2147483648:g;k=n?-1:k;o=+N[a+248>>2]*j+d*+(((k|0)>=0&g>>>0>=2147483647|(k|0)>0?2147483647:g)|0);kb:{if(V(o)<2147483648){g=~~o;break kb}g=-2147483648}N[a+248>>2]=g;g=m;k=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=k?-2147483648:f;g=k?-1:g;o=+N[a+244>>2]*j+d*+(((g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f)|0);lb:{if(V(o)<2147483648){f=~~o;break lb}f=-2147483648}N[a+244>>2]=f;g=h;f=l;h=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;j=+N[a+252>>2]*j+d*+(((f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g)|0);if(V(j)<2147483648){N[a+252>>2]=~~j;break d}N[a+252>>2]=-2147483648;break d}if(N[a+296>>2]){break d}if(!po(a,i+16|0,l)){break d}N[a+456>>2]=0;break d;case 0:r=O[k|0];switch(r-97|0){case 2:break Na;case 0:break Za;default:break Ta};case 1:mb:{r=O[k|0];switch(r-97|0){case 0:break Ya;case 2:break mb;default:break Ta}}nb:{if((l|0)<=7){ob:{if(f>>>0<=g>>>0){break ob}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ob}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break nb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[H>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);pb:{if(V(j)<2147483648){m=~~j;break pb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;m=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);n=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);qb:{if(V(j)<2147483648){k=~~j;break qb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|m;m=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);rb:{if(V(j)<2147483648){h=~~j;break rb}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[H>>2]=n|(m|(f<<24|(f&65280)<<8));break d}m=O[a+228|0];f=N[N[a+68>>2]+20>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;k=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;W=a,Y=m|(k|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+228>>2]=Y;break d;case 2:sb:{r=O[k|0];switch(r-97|0){case 0:break Xa;case 2:break sb;default:break Ta}}tb:{if((l|0)<=7){ub:{if(f>>>0<=g>>>0){break ub}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ub}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break tb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[I>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);vb:{if(V(j)<2147483648){m=~~j;break vb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;m=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);n=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);wb:{if(V(j)<2147483648){k=~~j;break wb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|m;m=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);xb:{if(V(j)<2147483648){h=~~j;break xb}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[I>>2]=n|(m|(f<<24|(f&65280)<<8));break d}m=O[a+232|0];f=N[N[a+68>>2]+24>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;k=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;W=a,Y=m|(k|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+232>>2]=Y;break d;case 65:break Ua;case 3:break _a;default:break Va}}yb:{r=O[k|0];switch(r-97|0){case 0:break Wa;case 2:break yb;default:break Ta}}zb:{if((l|0)<=7){Ab:{if(f>>>0<=g>>>0){break Ab}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Ab}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break zb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[J>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);Bb:{if(V(j)<2147483648){m=~~j;break Bb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;m=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);n=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);Cb:{if(V(j)<2147483648){k=~~j;break Cb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|m;m=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);Db:{if(V(j)<2147483648){h=~~j;break Db}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[J>>2]=n|(m|(f<<24|(f&65280)<<8));break d}m=O[a+236|0];f=N[N[a+68>>2]+28>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;k=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;W=a,Y=m|(k|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+236>>2]=Y;break d}Eb:{if((l|0)<=7){Fb:{if(f>>>0<=g>>>0){break Fb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Fb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Eb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[G|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[G|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+16|0];g=f;A(+(f>>>0));f=v(1)|0;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+224|0]=Y;break d}Gb:{if((l|0)<=7){Hb:{if(f>>>0<=g>>>0){break Hb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Hb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Gb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[H|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[H|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+20|0];g=f;A(+(f>>>0));f=v(1)|0;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+228|0]=Y;break d}Ib:{if((l|0)<=7){Jb:{if(f>>>0<=g>>>0){break Jb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Jb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Ib}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[I|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[I|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+24|0];g=f;A(+(f>>>0));f=v(1)|0;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+232|0]=Y;break d}Kb:{if((l|0)<=7){Lb:{if(f>>>0<=g>>>0){break Lb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Lb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Kb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[J|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[J|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+28|0];g=f;A(+(f>>>0));f=v(1)|0;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+236|0]=Y;break d}if(!s){break Sa}r=O[k|0];break Pa}Mb:{if((l|0)<=7){Nb:{if(f>>>0<=k>>>0){break Nb}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Nb}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0>k>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}if(!l){break Mb}}n=N[i+16>>2];g=N[i+20>>2]-n|0;k=N[C+168>>2];h=N[k>>2];Ob:{if((h|0)>0){l=N[k+16>>2];while(1){f=h-1|0;m=l+T(f,144)|0;r=N[m>>2];if(!(bb(r,n,g)|O[g+r|0])){break Ob}m=h>>>0>1;h=f;if(m){continue}break}}f=N[k+84>>2];N[i+8>>2]=n;N[i+4>>2]=g;N[i>>2]=k;mb(f,2,16562,i);m=0}ui(a,m);break d}ui(a,0);break d}if(s){break Pa}}Pb:{Qb:{Rb:{Sb:{Tb:{Ub:{Vb:{if(!y){r=k;switch(t-75|0){case 38:break Pb;case 42:break Qb;case 40:break Rb;case 0:break Ub;case 32:break Vb;default:break d}}Wb:{if((l|0)>7){break Wb}Xb:{if(f>>>0<=k>>>0){break Xb}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Xb}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break Wb}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;g=Eb(f,i+88|0,10);f=Pa;Yb:{if(l){h=(f|0)<0&g>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;h=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;if(h>>>0<2){break Yb}}h=N[N[a+68>>2]+36>>2]}N[a+508>>2]=h;rg(a);break d}r=g;Zb:{switch(O[k|0]-102|0){case 9:break Tb;case 0:break Ub;case 14:break Zb;default:break Sb}}qc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0)*10}else{j=0}L[a+472|0]=1;N[a+464>>2]=0;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+468>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}qc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0)}else{j=100}N[a+460>>2]=2;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}qc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0)}else{j=100}N[a+460>>2]=3;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}qc(i+16|0,i+12|0,k,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0)}else{j=100}N[a+460>>2]=1;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}if(!(O[k|0]!=104|O[h+2|0]!=97|O[h+3|0]!=100)){qc(i+16|0,i+12|0,p,f);_b:{if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=d*ob(f,i+88|0);q=1-d;j=S[a+280>>3]*q+o;j=j<0?0:j;o=S[a+272>>3]*q+o;o=o<0?0:o;break _b}o=S[N[a+68>>2]+96>>3];j=o}S[a+280>>3]=j;S[a+272>>3]=o;break d}qc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;g=Eb(f,i+88|0,10);f=Pa;$b:{if(N[i+12>>2]){h=(f|0)<0&g>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;h=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;if(h>>>0<2){break $b}}h=N[N[a+68>>2]+44>>2]}f=N[a+92>>2];if(h){N[a+92>>2]=f|2;break d}N[a+92>>2]=f&-3;break d}qc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;g=Eb(f,i+88|0,10);f=Pa;ac:{if(N[i+12>>2]){h=(f|0)<0&g>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;h=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;if(h>>>0<2){break ac}}h=N[N[a+68>>2]+40>>2]}f=N[a+92>>2];if(h){N[a+92>>2]=f|1;break d}N[a+92>>2]=f&-2;break d}qc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;g=Eb(f,i+88|0,10);f=Pa;bc:{cc:{if(!N[i+12>>2]){break cc}h=(f|0)<0&g>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;h=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;if((h|0)<0){break cc}if((h|0)<4){break bc}}h=N[N[C+168>>2]+56>>2]}N[a+516>>2]=h;break d}ba(22391,18210,702,11024);F()}ba(16780,18210,715,11024);F()}if((r&255)==101){dc:{if((l|0)<=7){ec:{if(f>>>0<=g>>>0){break ec}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ec}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break dc}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=ob(f,i+88|0);j=+L[a+259|0]*(1-d)+d*j+.5;fc:{if(V(j)<2147483648){f=~~j;break fc}f=-2147483648}f=(f|0)>0?f:0;g=f>>>0>=127?127:f;A(+j);f=v(1)|0;f=f&2147483647;W=a,Y=(_=0,$=(ca=0,da=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,ea=j<=-2147483648,ea?ca:da),aa=j>=2147483648,aa?_:$),L[W+259|0]=Y;break d}L[a+259|0]=0;break d}gc:{if((l|0)>7){break gc}hc:{if(f>>>0<=k>>>0){break hc}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break hc}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break gc}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;g=Eb(f,i+88|0,10);f=Pa;ic:{if(l){h=(f|0)<0&g>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;h=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;if(h>>>0<2|(h|0)>99){break ic}}h=N[N[a+68>>2]+32>>2]}N[a+504>>2]=h;rg(a);break d}g=k}jc:{if((l|0)<=7){kc:{if(f>>>0<=g>>>0){break kc}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break kc}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break jc}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[G>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);lc:{if(V(j)<2147483648){m=~~j;break lc}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;m=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);n=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);mc:{if(V(j)<2147483648){k=~~j;break mc}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|m;m=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);nc:{if(V(j)<2147483648){h=~~j;break nc}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[G>>2]=n|(m|(f<<24|(f&65280)<<8));break d}m=O[a+224|0];f=N[N[a+68>>2]+16>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;k=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;W=a,Y=m|(k|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+224>>2]=Y}if(b>>>0>>0){continue}break}}La=i+96|0;return b}function Be(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,P=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0;j=La-15968|0;La=j;N[j+15960>>2]=g;N[j+15964>>2]=f;q=N[a+176>>2];o=N[N[q+536>>2]+544>>2];J=N[a+52>>2];y=N[a>>2];G(j+15808|0,0,128);N[j+15952>>2]=0;f=j+15792|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15764|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15736|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15700|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15708|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15944>>2]=0;N[j+15948>>2]=0;N[j+15776>>2]=0;N[j+15780>>2]=0;N[j+15784>>2]=0;N[j+15788>>2]=0;N[j+15756>>2]=0;N[j+15760>>2]=0;N[j+15752>>2]=20;H=a+4|0;N[j+15748>>2]=H;N[j+15744>>2]=y;N[j+15728>>2]=0;N[j+15732>>2]=0;N[j+15724>>2]=20;N[j+15720>>2]=H;N[j+15716>>2]=y;N[j+15692>>2]=0;N[j+15696>>2]=0;N[j+15688>>2]=H;V=j+15608|0;G(V,0,80);f=j+15532|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15528>>2]=8;N[j+15524>>2]=H;f=j+15540|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15520>>2]=y;N[j+3912>>2]=c;N[j+3908>>2]=a;G(j+11664|0,0,3856);f=O[a+184|0];N[j+11668>>2]=J;L[j+11665|0]=f;K=j+15520|0;N[j+11660>>2]=K;P=j+11652|0;N[j+11656>>2]=P;N[j+11652>>2]=a;G(j+7796|0,0,3856);N[j+7800>>2]=J;L[j+7797|0]=f;N[j+7792>>2]=K;N[j+7788>>2]=P;N[j+7784>>2]=a;G(j+3928|0,0,3856);N[j+3932>>2]=J;L[j+3929|0]=f;N[j+3924>>2]=K;N[j+3920>>2]=P;N[j+3916>>2]=a;N[j+15548>>2]=N[a+40>>2];F=48;f=N[a+48>>2];N[j+15556>>2]=J;N[j+15552>>2]=f;f=N[d>>2];i=N[d+4>>2];N[j+15588>>2]=a+240;N[j+15584>>2]=g;N[j+15560>>2]=f;N[j+15564>>2]=i;N[j+15580>>2]=j+15688;N[j+15576>>2]=j+15716;N[j+15572>>2]=j+15744;L[j+15570|0]=O[a+185|0];g=N[a+228>>2];N[j+15592>>2]=g;f=N[a+232>>2];N[j+15604>>2]=6554;N[j+15596>>2]=f;M[j+15568>>1]=0;i=1;L[j+15571|0]=1;l=g;g=g>>31;g=(l^g)-g|0;l=f;f=f>>31;f=(l^f)-f|0;N[j+15600>>2]=((f|0)<(g|0)?g:f)<<1;f=O[a+9|0];L[j+15775|0]=(f|0)!=0;N[h>>2]=N[N[q+536>>2]+540>>2]<<16;F=f?N[N[q+532>>2]+1556>>2]:F;l=64;f=Qa[N[y+4>>2]](y,20)|0;a:{b:{c:{if(!f){f=0;break c}N[f+4>>2]=H;N[f>>2]=y;g=0;d:{e:{f:{g:{if((F|0)<0){break g}if(F){if((F|0)>268435455){break g}k=F<<3;g=Qa[N[y+4>>2]](y,k)|0;if(!g|(F|0)<=0){break f}G(g,0,k)}C=f+8|0;N[C>>2]=g;break d}N[f+8>>2]=0;break e}C=f+8|0;N[C>>2]=g;if(g){break d}}Qa[N[y+8>>2]](y,f);f=0;break c}N[f+16>>2]=F;N[f+12>>2]=g;D=Qa[N[y+4>>2]](y,272)|0;g=N[a+4>>2];if(!D){D=0;if(g){i=0;break a}i=0;break b}i=0;if(g){break a}R=o<<16;Z=j+3916|0;w=j+15692|0;g=N[b+4>>2];N[D>>2]=N[b>>2];N[D+4>>2]=g;g=N[b+12>>2];N[D+8>>2]=N[b+8>>2];N[D+12>>2]=g;I=a+92|0;_=j+48|0;S=2e7;t=D;h:while(1){x=0;while(1){o=i;l=t+12|0;b=N[l>>2];m=N[t+8>>2];i:{if(b>>>0>=m>>>0){g=z?11:14;k=b;break i}k=b+1|0;N[l>>2]=k;j:{g=O[b|0];switch(g-11|0){case 0:case 3:break j;default:break i}}g=O[a+9|0]?0:g}n=O[a+8|0];if(n){b=g&254;k:{i=g>>>0>31;if(i|(g|0)==12|((b|0)==10|(g-13&255)>>>0<2)){break k}if(o&255|(g&253)==1){break k}N[f+12>>2]=N[f+8>>2];i=0;continue}r=(g|0)==12;E=r?E:E&255?i?E:0:E;u=i?u:r?u:(u|0)<=0?u:(b|0)==10?u:0}if(N[a+4>>2]){i=0;break a}S=S-1|0;if(!S){i=0;l=18;break b}i=o;l:{m:{n:{o:{p:{q:{r:{s:{switch(g|0){case 15:if(!O[a+9|0]){break p}if(O[a+93|0]){break l}b=N[f+12>>2];if((b|0)==N[f+8>>2]){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break n}N[b>>2]=161;N[a+120>>2]=0;break m}if(N[b-4>>2]!=2){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break n}N[b>>2]=160;break n}b=b-8|0;N[f+12>>2]=b;g=N[b>>2];if((g|0)>=0){break n}break p;case 16:if(!O[a+9|0]){break p}l=18;i=0;if(!N[a+96>>2]){break c}t:{if(!(Qa[N[N[a+548>>2]+12>>2]](I,N[a+120>>2],N[a+124>>2],N[a+128>>2])|0)){break t}b=Qa[N[N[a+548>>2]+16>>2]](I,N[a+120>>2],N[a+124>>2],N[a+128>>2])|0;if(!b){break t}l=b;break c}b=N[f+12>>2];u:{if((b|0)==N[f+8>>2]){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break u}N[b>>2]=161;break u}if(N[b-4>>2]!=2){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break u}N[b>>2]=160;break u}b=b-8|0;N[f+12>>2]=b;g=N[b>>2];if(F>>>0>>0){break c}}p=0;b=N[f+12>>2];i=N[f+8>>2];l=b-i>>3;W=T(N[I+20>>2],g);if(g){X=l-W|0;k=X+g|0;while(1){m=N[I+24>>2];Y=N[f+12>>2];n=Y-i>>3;s=p+X|0;v:{if(n>>>0<=s>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break v}N[b>>2]=130;break v}w:{x:{y:{b=(s<<3)+i|0;switch(N[b+4>>2]-1|0){case 0:break x;case 1:break y;default:break w}}l=N[b>>2]<<16;break v}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break v}l=N[b>>2]}U=1;if(Q[I+20>>2]>=2){while(1){v=N[m+4>>2];z:{if(k>>>0>=n>>>0){b=0;r=N[f+4>>2];if(!r|N[r>>2]){break z}N[r>>2]=130;break z}A:{B:{C:{b=(k<<3)+i|0;switch(N[b+4>>2]-1|0){case 0:break B;case 1:break C;default:break A}}b=N[b>>2]<<16;break z}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break z}b=N[b>>2]}k=k+1|0;m=m+4|0;$=l;A=v>>31;A=(A^v)-A|0;r=b>>31;r=(r^b)-r|0;D:{if(A+(r>>>8|0)>>>0<=8190){r=T(r,A)+32768>>>16|0;break D}l=A&65535;r=T(l,r>>>16|0)+T(r,A>>>16|0)+(T(r&65535,l)+32768>>>16)|0}l=v>>31|1;l=$+((((b|0)<0?0-l|0:l)|0)<0?0-r|0:r)|0;U=U+1|0;if(U>>>0>2]){continue}break}n=Y-i>>3}E:{if(n>>>0>>0){b=N[f+4>>2];if(!b|N[b>>2]){break E}N[b>>2]=130;break E}b=s<<3;N[b+i>>2]=l;i=N[f+8>>2];N[(b+i|0)+4>>2]=0}p=p+1|0;if((p|0)!=(g|0)){continue}break}b=N[f+12>>2];l=b-i>>3}g=W-g|0;F:{if(g>>>0>l>>>0){b=N[f+4>>2];if(!b|N[b>>2]){break F}N[b>>2]=161;break F}N[f+12>>2]=b-(g<<3)}L[a+93|0]=1;i=o;continue;case 1:case 18:g=j+15744|0;l=j+15775|0;G:{if(!n){if(O[j+15692|0]){break p}b=0;break G}b=N[N[q+32>>2]+4>>2]}vg(a,f,g,h,l,b);if(!O[q+548|0]){break m}break o;case 3:case 23:g=j+15716|0;l=j+15775|0;H:{if(!n){if(O[j+15692|0]){break p}b=0;break H}b=N[N[q+32>>2]>>2]}vg(a,f,g,h,l,b);if(O[q+548|0]){break o}break m;case 4:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<16)){I:{J:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break I;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break I;default:break J}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}K:{if((b|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break K}N[b>>2]=161;break K}b=i-8|0;N[f+12>>2]=b;L:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break K;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break K;default:break L}}g=N[b>>2]}b=N[j+15960>>2]+g|0;N[j+15960>>2]=b;if(N[q+468>>2]){break p}Ae(j+3908|0,N[j+15964>>2],b);break p;case 5:l=N[j+15960>>2];i=N[j+15964>>2];g=N[f+8>>2];b=N[f+12>>2];if((g|0)!=(b|0)){m=b-g>>3;g=0;while(1){k=N[f+8>>2];r=N[f+12>>2]-k>>3;M:{if(r>>>0<=g>>>0){n=0;b=N[f+4>>2];if(!b|N[b>>2]){break M}N[b>>2]=130;break M}N:{O:{P:{b=k+(g<<3)|0;switch(N[b+4>>2]-1|0){case 1:break P;case 0:break O;default:break N}}n=N[b>>2]<<16;break M}b=N[b>>2];n=((b>>31)+b|0)- -8192>>14;break M}n=N[b>>2]}i=i+n|0;b=g|1;Q:{if(b>>>0>=r>>>0){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Q}N[k>>2]=130;break Q}R:{S:{T:{b=k+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break S;case 1:break T;default:break R}}b=N[b>>2]<<16;break Q}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break Q}b=N[b>>2]}l=b+l|0;Wd(j+3908|0,i,l);g=g+2|0;if(m>>>0>g>>>0){continue}break}g=N[C>>2]}N[j+15960>>2]=l;N[j+15964>>2]=i;N[f+12>>2]=g;i=o;continue;case 6:case 7:b=N[j+15960>>2];p=N[j+15964>>2];i=N[f+8>>2];l=N[f+12>>2];if((i|0)!=(l|0)){i=l-i>>3;n=i>>>0<=1?1:i;i=(g|0)==6;g=0;while(1){l=N[f+8>>2];U:{if(N[f+12>>2]-l>>3>>>0<=g>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break U}N[k>>2]=130;break U}V:{W:{X:{l=l+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break W;case 1:break X;default:break V}}l=N[l>>2]<<16;break U}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break U}l=N[l>>2]}k=i&255;p=(k?l:0)+p|0;b=(k?0:l)+b|0;Wd(j+3908|0,p,b);i=i^1;g=g+1|0;if((n|0)!=(g|0)){continue}break}i=N[C>>2]}N[j+15960>>2]=b;N[j+15964>>2]=p;N[f+12>>2]=i;i=o;continue;case 8:case 24:n=0;s=N[j+15960>>2];p=N[j+15964>>2];i=N[f+8>>2];b=N[f+12>>2]-i|0;if(b>>>0>=48){A=b>>3;l=6;while(1){b=n;n=l;i=N[f+8>>2];l=N[f+12>>2]-i>>3;Y:{if(l>>>0<=b>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break Y}N[m>>2]=130;break Y}Z:{_:{$:{k=i+(b<<3)|0;switch(N[k+4>>2]-1|0){case 0:break _;case 1:break $;default:break Z}}k=N[k>>2]<<16;break Y}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break Y}k=N[k>>2]}m=b|1;aa:{if(m>>>0>=l>>>0){m=0;r=N[f+4>>2];if(!r|N[r>>2]){break aa}N[r>>2]=130;break aa}ba:{ca:{da:{m=i+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break ca;case 1:break da;default:break ba}}m=N[m>>2]<<16;break aa}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break aa}m=N[m>>2]}r=b+2|0;ea:{if(r>>>0>=l>>>0){r=0;v=N[f+4>>2];if(!v|N[v>>2]){break ea}N[v>>2]=130;break ea}fa:{ga:{ha:{r=i+(r<<3)|0;switch(N[r+4>>2]-1|0){case 0:break ga;case 1:break ha;default:break fa}}r=N[r>>2]<<16;break ea}r=N[r>>2];r=((r>>31)+r|0)- -8192>>14;break ea}r=N[r>>2]}v=k+p|0;k=b+3|0;ia:{if(k>>>0>=l>>>0){p=0;k=N[f+4>>2];if(!k|N[k>>2]){break ia}N[k>>2]=130;break ia}ja:{ka:{la:{k=i+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break ka;case 1:break la;default:break ja}}p=N[k>>2]<<16;break ia}k=N[k>>2];p=((k>>31)+k|0)- -8192>>14;break ia}p=N[k>>2]}m=m+s|0;r=r+v|0;k=b+4|0;ma:{if(k>>>0>=l>>>0){s=0;k=N[f+4>>2];if(!k|N[k>>2]){break ma}N[k>>2]=130;break ma}na:{oa:{pa:{k=i+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break oa;case 1:break pa;default:break na}}s=N[k>>2]<<16;break ma}k=N[k>>2];s=((k>>31)+k|0)- -8192>>14;break ma}s=N[k>>2]}k=m+p|0;p=r+s|0;b=b+5|0;qa:{if(b>>>0>=l>>>0){i=0;b=N[f+4>>2];if(!b|N[b>>2]){break qa}N[b>>2]=130;break qa}ra:{sa:{ta:{b=i+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break sa;case 1:break ta;default:break ra}}i=N[b>>2]<<16;break qa}b=N[b>>2];i=((b>>31)+b|0)- -8192>>14;break qa}i=N[b>>2]}s=i+k|0;Bd(j+3908|0,v,m,r,k,p,s);l=n+6|0;if(A>>>0>=l>>>0){continue}break}i=N[C>>2]}N[j+15960>>2]=s;N[j+15964>>2]=p;if((g|0)==24){g=N[f+12>>2]-i>>3;ua:{if(g>>>0<=n>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break ua}N[b>>2]=130;break ua}va:{wa:{xa:{b=(n<<3)+i|0;switch(N[b+4>>2]-1|0){case 0:break wa;case 1:break xa;default:break va}}l=N[b>>2]<<16;break ua}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break ua}l=N[b>>2]}l=l+p|0;N[j+15964>>2]=l;b=n|1;ya:{if(b>>>0>=g>>>0){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break ya}N[b>>2]=130;break ya}za:{Aa:{Ba:{b=(b<<3)+i|0;switch(N[b+4>>2]-1|0){case 0:break Aa;case 1:break Ba;default:break za}}g=N[b>>2]<<16;break ya}b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break ya}g=N[b>>2]}b=g+s|0;N[j+15960>>2]=b;Wd(j+3908|0,l,b);i=N[C>>2]}N[f+12>>2]=i;i=o;continue;case 9:if(!n){break p}if(O[j+15568|0]){L[j+15569|0]=1;b=j+3908|0;Wd(b,N[j+15640>>2],N[j+15644>>2]);if(O[j+15648|0]){lf(b,Z,V,N[j+15616>>2],N[j+15620>>2],1)}L[j+15648|0]=0;M[j+15568>>1]=0;L[j+15571|0]=1}L[j+15775|0]=1;i=o;break m;case 10:case 29:l=18;i=0;if((z|0)>16){break c}z=z+1|0;b=z;if(b>>>0>=17){N[a+4>>2]=130;b=0}m=b<<4;b=N[f+12>>2];Ca:{if((b|0)==N[f+8>>2]){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Ca}N[k>>2]=161;break Ca}if(N[b-4>>2]!=2){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Ca}N[k>>2]=160;break Ca}b=b-8|0;N[f+12>>2]=b;b=N[b>>2]}t=m+D|0;Da:{if(!n){break Da}k=N[q+616>>2];if(!k){break Da}b=zd(b,k);if(!b){b=-1;break Da}b=N[b>>2]}N[t>>2]=0;N[t+4>>2]=0;N[t+8>>2]=0;N[t+12>>2]=0;if((g|0)==29){b=N[q+568>>2]+b|0;if(b>>>0>=Q[q+560>>2]){break c}b=N[q+576>>2]+(b<<2)|0;g=N[b>>2];N[t+4>>2]=g;N[t+12>>2]=g;N[t+8>>2]=N[b+4>>2];i=o;continue}b=N[q+564>>2]+b|0;if(b>>>0>=Q[q+556>>2]){break c}i=b<<2;b=i+N[q+572>>2]|0;g=N[b>>2];N[t+4>>2]=g;Ea:{if(O[q+48|0]){l=N[q+612>>2];if(l){if(!g){g=0;b=0;break Ea}b=N[i+l>>2]+g|0;break Ea}i=g;g=N[q+608>>2];g=i+((g|0)>0?g:0)|0;N[t+4>>2]=g;b=N[b+4>>2];break Ea}b=N[b+4>>2]}N[t+12>>2]=g;N[t+8>>2]=b;i=o;continue;case 11:if((z|0)<=0){break l}z=z-1|0;b=z;if(b>>>0>=17){N[a+4>>2]=130;b=0}t=(b<<4)+D|0;continue;case 12:if(k>>>0>=m>>>0){b=N[t>>2];if(b){g=0;if(N[b>>2]){break q}N[b>>2]=85}g=0;break q}N[l>>2]=k+1;Fa:{Ga:{Ha:{Ia:{g=O[k|0];switch(g-8|0){case 29:break Fa;case 28:break Ga;case 27:break Ha;case 26:break Ia;case 0:case 5:case 11:case 17:case 23:case 24:break m;default:break q}}ug(f,j+15964|0,j+15960|0,j+3908|0,295036,0);continue}ug(f,j+15964|0,j+15960|0,j+3908|0,295048,0);break m}ug(f,j+15964|0,j+15960|0,j+3908|0,295060,0);continue}ug(f,j+15964|0,j+15960|0,j+3908|0,295072,1);continue;case 13:if(!n){break p}g=N[f+12>>2];i=N[f+8>>2];Ja:{if((g|0)==(i|0)){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break Ja}N[b>>2]=161;break Ja}g=g-8|0;N[f+12>>2]=g;Ka:{switch(N[g+4>>2]-1|0){case 1:p=N[g>>2]<<16;break Ja;case 0:b=N[g>>2];p=((b>>31)+b|0)- -8192>>14;break Ja;default:break Ka}}p=N[g>>2]}b=N[q+36>>2];N[b+4>>2]=0;N[b>>2]=p;La:{if((g|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break La}N[b>>2]=161;break La}b=g-8|0;N[f+12>>2]=b;Ma:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break La;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break La;default:break Ma}}g=N[b>>2]}b=N[q+32>>2];N[b>>2]=N[b>>2]+g;L[j+15775|0]=1;if(O[q+47|0]){break o}if(!(o&255)){i=0;break m}N[j+15964>>2]=N[j+15964>>2]+g;i=o;break m;case 14:if(!(!n|o&255)){Ae(j+3908|0,N[j+15964>>2],N[j+15960>>2]);N[j+15760>>2]=0;N[j+15732>>2]=0;N[w+16>>2]=0;N[w+20>>2]=0;N[w+8>>2]=0;N[w+12>>2]=0;N[w>>2]=0;N[w+4>>2]=0;N[j+15688>>2]=H;L[j+15693|0]=1;if((z|0)>0){Na:{Oa:{Pa:{g=z;if(g&1){g=g-1|0;if(z>>>0>=18){break Pa}l=g}if((z|0)!=1){break Oa}break Na}if(N[a+4>>2]){break Oa}N[a+4>>2]=130}while(1){if(!(N[a+4>>2]|g>>>0<18)){N[a+4>>2]=130}b=g-1|0;g=g-2|0;l=g;Qa:{if(b>>>0<18){break Qa}l=0;if(N[a+4>>2]){break Qa}N[a+4>>2]=130}if(b>>>0>1){continue}break}}z=0;t=(l<<4)+D|0}N[t+12>>2]=N[t+4>>2];i=1;break m}b=N[f+12>>2]-N[f+8>>2]|0;Ra:{Sa:{if((b|0)!=8){if((b|0)!=40){break Ra}if(!O[j+15775|0]){break Sa}break Ra}if(O[j+15775|0]){break Ra}}aa=h,ba=ld(f,0)+R|0,N[aa>>2]=ba}L[j+15775|0]=1;i=0;if(O[q+548|0]){l=0;break c}b=j+3908|0;if(O[b+11660|0]){L[b+11661|0]=1;Wd(b,N[b+11732>>2],N[b+11736>>2]);if(O[b+11740|0]){lf(b,b+8|0,b+11700|0,N[b+11708>>2],N[b+11712>>2],1)}L[b+11740|0]=0;M[b+11660>>1]=0;L[b+11663|0]=1}if(O[a+9|0]){l=0;break c}if(O[a+8|0]){l=0;break c}if(N[f+12>>2]-N[f+8>>2]>>>0<9){l=0;break c}l=18;Ta:{if(e){break Ta}b=mc(f);e=mc(f);g=pb(f);N[j+15960>>2]=g;h=pb(f);N[j+15964>>2]=h;o=b;b=j+36|0;l=Ro(q,o,b);if(l){break Ta}o=g;g=j+8|0;Be(a,b,c,d,1,h,o,g);h=j+40|0;Qa[N[q+600>>2]](N[q+4>>2],h,N[j+44>>2]-N[j+40>>2]|0);l=Ro(q,e,b);if(l){break Ta}l=0;Be(a,b,c,d,1,0,0,g);Qa[N[q+600>>2]](N[q+4>>2],h,N[j+44>>2]-N[j+40>>2]|0)}break c;case 19:case 20:if(O[j+15692|0]?N[f+12>>2]-N[f+8>>2]>>>0>=16:0){break p}i=0;vg(a,f,j+15716|0,h,j+15775|0,0);if(O[q+548|0]){l=0;break c}if((g|0)==19){b=N[j+15732>>2]+N[j+15760>>2]|0;if(b>>>0>=97){b=N[j+15688>>2];if(!b|N[b>>2]){break p}N[b>>2]=18;i=o;break m}N[j+15696>>2]=b;M[j+15692>>1]=257;N[j+15700>>2]=b+7>>>3;g=0;if(!b){break p}while(1){b=N[l>>2];Ua:{if(b>>>0>2]){N[l>>2]=b+1;i=O[b|0];break Ua}i=0;b=N[t>>2];if(!b|N[b>>2]){break Ua}N[b>>2]=85}L[(g+j|0)+15704|0]=i;g=g+1|0;if(g>>>0>2]){continue}break}break p}G(_,0,3856);b=O[a+184|0];N[j+52>>2]=J;L[j+49|0]=b;N[j+44>>2]=K;N[j+40>>2]=P;N[j+36>>2]=a;N[j+28>>2]=0;N[j+32>>2]=0;N[j+20>>2]=0;N[j+24>>2]=0;N[j+12>>2]=0;N[j+16>>2]=0;N[j+8>>2]=H;b=N[j+15732>>2]+N[j+15760>>2]|0;Va:{if(b>>>0>=97){if(N[a+4>>2]){break Va}N[a+4>>2]=18;break Va}N[j+16>>2]=b;M[j+12>>1]=257;N[j+20>>2]=b+7>>>3;g=0;if(!b){break Va}while(1){b=N[l>>2];Wa:{if(b>>>0>2]){N[l>>2]=b+1;i=O[b|0];break Wa}i=0;b=N[t>>2];if(!b|N[b>>2]){break Wa}N[b>>2]=85}L[(g+j|0)+24|0]=i;g=g+1|0;if(g>>>0>2]){continue}break}}kf(j+36|0,j+15744|0,j+15716|0,j+8|0,0,0);i=o;break m;case 21:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<24)){Xa:{Ya:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break Xa;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break Xa;default:break Ya}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}l=N[j+15960>>2];Za:{_a:{$a:{if((b|0)==(i|0)){g=N[f+4>>2];if(!(!g|N[g>>2])){N[g>>2]=161}N[j+15960>>2]=l;n=N[j+15964>>2];break $a}g=i-8|0;N[f+12>>2]=g;ab:{bb:{switch(N[g+4>>2]-1|0){case 0:k=N[g>>2];n=((k>>31)+k|0)- -8192>>14;break ab;default:n=N[g>>2];break ab;case 1:break bb}}n=N[g>>2]<<16}l=n+l|0;N[j+15960>>2]=l;n=N[j+15964>>2];if((b|0)!=(g|0)){break _a}g=N[f+4>>2]}i=0;if(N[g>>2]|!g){break Za}N[g>>2]=161;break Za}b=i-16|0;N[f+12>>2]=b;cb:{switch(N[b+4>>2]-1|0){case 1:i=N[b>>2]<<16;break Za;case 0:b=N[b>>2];i=((b>>31)+b|0)- -8192>>14;break Za;default:break cb}}i=N[b>>2]}b=i+n|0;N[j+15964>>2]=b;if(N[q+468>>2]){break p}Ae(j+3908|0,b,l);i=o;break m;case 22:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<16)){db:{eb:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break db;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break db;default:break eb}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}fb:{if((b|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break fb}N[b>>2]=161;break fb}b=i-8|0;N[f+12>>2]=b;gb:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break fb;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break fb;default:break gb}}g=N[b>>2]}b=N[j+15964>>2]+g|0;N[j+15964>>2]=b;if(N[q+468>>2]){break p}Ae(j+3908|0,b,N[j+15960>>2]);i=o;break m;case 25:l=N[f+12>>2]-N[f+8>>2]|0;p=l>>3;g=0;b=N[j+15960>>2];i=N[j+15964>>2];if(l>>>0<=48){break r}while(1){l=g;k=N[f+8>>2];m=N[f+12>>2]-k>>3;hb:{if(m>>>0<=g>>>0){g=0;n=N[f+4>>2];if(!n|N[n>>2]){break hb}N[n>>2]=130;break hb}ib:{jb:{kb:{g=k+(l<<3)|0;switch(N[g+4>>2]-1|0){case 0:break jb;case 1:break kb;default:break ib}}g=N[g>>2]<<16;break hb}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break hb}g=N[g>>2]}i=g+i|0;g=l|1;lb:{if(g>>>0>=m>>>0){g=0;k=N[f+4>>2];if(!k|N[k>>2]){break lb}N[k>>2]=130;break lb}mb:{nb:{ob:{g=k+(g<<3)|0;switch(N[g+4>>2]-1|0){case 0:break nb;case 1:break ob;default:break mb}}g=N[g>>2]<<16;break lb}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break lb}g=N[g>>2]}b=b+g|0;Wd(j+3908|0,i,b);g=l+2|0;if(p>>>0>l+8>>>0){continue}break};break r;case 26:m=N[j+15960>>2];l=N[j+15964>>2];i=N[f+8>>2];r=N[f+12>>2]-i>>3;g=r&2;s=r&-3;if(g>>>0>>0){while(1){i=N[f+8>>2];n=N[f+12>>2]-i>>3;if(r-g&1){pb:{if(g>>>0>=n>>>0){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break pb}N[b>>2]=130;break pb}qb:{rb:{sb:{b=i+(g<<3)|0;switch(N[b+4>>2]-1|0){case 0:break rb;case 1:break sb;default:break qb}}p=N[b>>2]<<16;break pb}b=N[b>>2];p=((b>>31)+b|0)- -8192>>14;break pb}p=N[b>>2]}g=g+1|0;l=l+p|0}b=l;tb:{if(g>>>0>=n>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break tb}N[k>>2]=130;break tb}ub:{vb:{wb:{l=i+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break vb;case 1:break wb;default:break ub}}l=N[l>>2]<<16;break tb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break tb}l=N[l>>2]}k=g+1|0;xb:{if(k>>>0>=n>>>0){k=0;p=N[f+4>>2];if(!p|N[p>>2]){break xb}N[p>>2]=130;break xb}yb:{zb:{Ab:{k=i+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break zb;case 1:break Ab;default:break yb}}k=N[k>>2]<<16;break xb}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break xb}k=N[k>>2]}p=l+m|0;l=g+2|0;Bb:{if(l>>>0>=n>>>0){m=0;l=N[f+4>>2];if(!l|N[l>>2]){break Bb}N[l>>2]=130;break Bb}Cb:{Db:{Eb:{l=i+(l<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Db;case 1:break Eb;default:break Cb}}m=N[l>>2]<<16;break Bb}l=N[l>>2];m=((l>>31)+l|0)- -8192>>14;break Bb}m=N[l>>2]}l=b+k|0;k=m+p|0;m=n;n=g+3|0;Fb:{if(m>>>0<=n>>>0){i=0;n=N[f+4>>2];if(!n|N[n>>2]){break Fb}N[n>>2]=130;break Fb}Gb:{Hb:{Ib:{i=i+(n<<3)|0;switch(N[i+4>>2]-1|0){case 0:break Hb;case 1:break Ib;default:break Gb}}i=N[i>>2]<<16;break Fb}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break Fb}i=N[i>>2]}m=i+k|0;Bd(j+3908|0,b,p,l,k,l,m);g=g+4|0;if(s>>>0>g>>>0){continue}break}i=N[C>>2]}N[j+15960>>2]=m;N[j+15964>>2]=l;N[f+12>>2]=i;i=o;continue;case 27:m=N[j+15964>>2];l=N[j+15960>>2];i=N[f+8>>2];r=N[f+12>>2]-i>>3;g=r&2;s=r&-3;if(g>>>0>>0){while(1){i=N[f+8>>2];n=N[f+12>>2]-i>>3;if(r-g&1){Jb:{if(g>>>0>=n>>>0){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break Jb}N[b>>2]=130;break Jb}Kb:{Lb:{Mb:{b=i+(g<<3)|0;switch(N[b+4>>2]-1|0){case 0:break Lb;case 1:break Mb;default:break Kb}}p=N[b>>2]<<16;break Jb}b=N[b>>2];p=((b>>31)+b|0)- -8192>>14;break Jb}p=N[b>>2]}g=g+1|0;l=l+p|0}b=l;Nb:{if(g>>>0>=n>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break Nb}N[k>>2]=130;break Nb}Ob:{Pb:{Qb:{l=i+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Pb;case 1:break Qb;default:break Ob}}l=N[l>>2]<<16;break Nb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break Nb}l=N[l>>2]}k=g+1|0;Rb:{if(k>>>0>=n>>>0){k=0;p=N[f+4>>2];if(!p|N[p>>2]){break Rb}N[p>>2]=130;break Rb}Sb:{Tb:{Ub:{k=i+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Tb;case 1:break Ub;default:break Sb}}k=N[k>>2]<<16;break Rb}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break Rb}k=N[k>>2]}m=l+m|0;l=g+2|0;Vb:{if(l>>>0>=n>>>0){l=0;p=N[f+4>>2];if(!p|N[p>>2]){break Vb}N[p>>2]=130;break Vb}Wb:{Xb:{Yb:{l=i+(l<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Xb;case 1:break Yb;default:break Wb}}l=N[l>>2]<<16;break Vb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break Vb}l=N[l>>2]}k=k+m|0;l=b+l|0;p=n;n=g+3|0;Zb:{if(p>>>0<=n>>>0){i=0;n=N[f+4>>2];if(!n|N[n>>2]){break Zb}N[n>>2]=130;break Zb}_b:{$b:{ac:{i=i+(n<<3)|0;switch(N[i+4>>2]-1|0){case 0:break $b;case 1:break ac;default:break _b}}i=N[i>>2]<<16;break Zb}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break Zb}i=N[i>>2]}n=m;m=i+k|0;Bd(j+3908|0,n,b,k,l,m,l);g=g+4|0;if(s>>>0>g>>>0){continue}break}i=N[C>>2]}N[j+15964>>2]=m;N[j+15960>>2]=l;N[f+12>>2]=i;i=o;continue;case 30:case 31:k=N[j+15960>>2];n=N[j+15964>>2];l=N[f+8>>2];b=N[f+12>>2]-l>>3;i=b&2;v=b&-3;if(i>>>0>>0){A=(g|0)==31;while(1){b=k;l=n;g=N[f+8>>2];s=N[f+12>>2]-g>>3;bc:{if(A){cc:{if(i>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break cc}N[k>>2]=130;break cc}dc:{ec:{fc:{k=g+(i<<3)|0;switch(N[k+4>>2]-1|0){case 0:break ec;case 1:break fc;default:break dc}}n=N[k>>2]<<16;break cc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break cc}n=N[k>>2]}r=i+1|0;gc:{if(s>>>0<=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break gc}N[m>>2]=130;break gc}hc:{ic:{jc:{k=g+(r<<3)|0;switch(N[k+4>>2]-1|0){case 0:break ic;case 1:break jc;default:break hc}}k=N[k>>2]<<16;break gc}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break gc}k=N[k>>2]}m=i+2|0;kc:{if(m>>>0>=s>>>0){m=0;p=N[f+4>>2];if(!p|N[p>>2]){break kc}N[p>>2]=130;break kc}lc:{mc:{nc:{m=g+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break mc;case 1:break nc;default:break lc}}m=N[m>>2]<<16;break kc}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break kc}m=N[m>>2]}l=l+n|0;p=b+m|0;n=i+3|0;oc:{if(n>>>0>=s>>>0){n=0;m=N[f+4>>2];if(!m|N[m>>2]){break oc}N[m>>2]=130;break oc}pc:{qc:{rc:{n=g+(n<<3)|0;switch(N[n+4>>2]-1|0){case 0:break qc;case 1:break rc;default:break pc}}n=N[n>>2]<<16;break oc}n=N[n>>2];n=((n>>31)+n|0)- -8192>>14;break oc}n=N[n>>2]}m=k+l|0;k=n+p|0;A=0;if((v-i|0)!=5){r=i;n=m;break bc}i=i+4|0;sc:{if(i>>>0>=s>>>0){i=N[f+4>>2];g=0;if(!i|N[i>>2]){break sc}N[i>>2]=130;n=m;break bc}tc:{uc:{vc:{g=g+(i<<3)|0;switch(N[g+4>>2]-1|0){case 0:break uc;case 1:break vc;default:break tc}}n=(N[g>>2]<<16)+m|0;break bc}g=N[g>>2];n=(((g>>31)+g|0)- -8192>>14)+m|0;break bc}g=N[g>>2]}n=g+m|0;break bc}wc:{if(i>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break wc}N[k>>2]=130;break wc}xc:{yc:{zc:{k=g+(i<<3)|0;switch(N[k+4>>2]-1|0){case 0:break yc;case 1:break zc;default:break xc}}n=N[k>>2]<<16;break wc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break wc}n=N[k>>2]}r=i+1|0;Ac:{if(s>>>0<=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break Ac}N[m>>2]=130;break Ac}Bc:{Cc:{Dc:{k=g+(r<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Cc;case 1:break Dc;default:break Bc}}k=N[k>>2]<<16;break Ac}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break Ac}k=N[k>>2]}m=i+2|0;Ec:{if(m>>>0>=s>>>0){p=0;m=N[f+4>>2];if(!m|N[m>>2]){break Ec}N[m>>2]=130;break Ec}Fc:{Gc:{Hc:{m=g+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break Gc;case 1:break Hc;default:break Fc}}p=N[m>>2]<<16;break Ec}m=N[m>>2];p=((m>>31)+m|0)- -8192>>14;break Ec}p=N[m>>2]}b=b+n|0;m=k+l|0;k=i+3|0;Ic:{if(k>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break Ic}N[k>>2]=130;break Ic}Jc:{Kc:{Lc:{k=g+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Kc;case 1:break Lc;default:break Jc}}n=N[k>>2]<<16;break Ic}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break Ic}n=N[k>>2]}p=b+p|0;n=m+n|0;A=1;if((v-i|0)!=5){r=i;k=p;break bc}i=i+4|0;Mc:{if(i>>>0>=s>>>0){g=0;i=N[f+4>>2];if(!i|N[i>>2]){break Mc}N[i>>2]=130;break Mc}Nc:{Oc:{Pc:{g=g+(i<<3)|0;switch(N[g+4>>2]-1|0){case 0:break Oc;case 1:break Pc;default:break Nc}}g=N[g>>2]<<16;break Mc}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break Mc}g=N[g>>2]}k=g+p|0}Bd(j+3908|0,l,b,m,p,n,k);i=r+4|0;if(v>>>0>i>>>0){continue}break}l=N[C>>2]}N[j+15960>>2]=k;N[j+15964>>2]=n;N[f+12>>2]=l;i=o;continue;case 28:Qc:{if(k>>>0>>0){g=k+1|0;N[l>>2]=g;i=O[k|0];break Qc}i=0;b=N[t>>2];if(!(!b|N[b>>2])){N[b>>2]=85}g=k}Rc:{if(g>>>0>>0){N[l>>2]=g+1;l=O[g|0];break Rc}l=0;b=N[t>>2];if(!b|N[b>>2]){break Rc}N[b>>2]=85}b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){i=o;b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=(l<<16|i<<24)>>16;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;i=o;continue;case 0:case 2:case 17:break m;default:break s}}if(g>>>0<=246){b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=g-139;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;continue}if(g>>>0<=250){Sc:{if(k>>>0>>0){N[l>>2]=k+1;l=O[k|0];break Sc}l=0;b=N[t>>2];if(!b|N[b>>2]){break Sc}N[b>>2]=85}b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=((g<<8)+l|0)-63124;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;continue}if((g|0)!=255){Tc:{if(k>>>0>>0){N[l>>2]=k+1;i=O[k|0];break Tc}i=0;b=N[t>>2];if(!b|N[b>>2]){break Tc}N[b>>2]=85}ze(f,64148-(g<<8|i)|0);i=o;continue}Uc:{if(k>>>0>>0){g=k+1|0;N[l>>2]=g;b=O[k|0];break Uc}b=0;g=N[t>>2];if(!(!g|N[g>>2])){N[g>>2]=85}g=k}Vc:{if(g>>>0>>0){i=g+1|0;N[l>>2]=i;p=O[g|0];break Vc}p=0;i=N[t>>2];if(!(!i|N[i>>2])){N[i>>2]=85}i=g}Wc:{if(i>>>0>>0){g=i+1|0;N[l>>2]=g;k=O[i|0];break Wc}k=0;g=N[t>>2];if(!(!g|N[g>>2])){N[g>>2]=85}g=i}Xc:{if(g>>>0>>0){N[l>>2]=g+1;g=O[g|0];break Xc}g=0;i=N[t>>2];if(!i|N[i>>2]){break Xc}N[i>>2]=85}b=p<<16|b<<24|k<<8|g;if(n){ze(f,b);E=b+32e3>>>0<64001?E:E&255?E:1;i=o;continue}Jb(f,b);i=o;continue}if(g>>>0

>>0){while(1){l=N[f+8>>2];r=N[f+12>>2]-l>>3;Yc:{if(r>>>0<=g>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break Yc}N[k>>2]=130;break Yc}Zc:{_c:{$c:{k=l+(g<<3)|0;switch(N[k+4>>2]-1|0){case 0:break _c;case 1:break $c;default:break Zc}}n=N[k>>2]<<16;break Yc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break Yc}n=N[k>>2]}k=g|1;ad:{if(k>>>0>=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break ad}N[m>>2]=130;break ad}bd:{cd:{dd:{k=l+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break cd;case 1:break dd;default:break bd}}k=N[k>>2]<<16;break ad}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break ad}k=N[k>>2]}m=g+2|0;ed:{if(m>>>0>=r>>>0){m=0;s=N[f+4>>2];if(!s|N[s>>2]){break ed}N[s>>2]=130;break ed}fd:{gd:{hd:{m=l+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break gd;case 1:break hd;default:break fd}}m=N[m>>2]<<16;break ed}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break ed}m=N[m>>2]}n=i+n|0;i=g+3|0;id:{if(i>>>0>=r>>>0){i=0;s=N[f+4>>2];if(!s|N[s>>2]){break id}N[s>>2]=130;break id}jd:{kd:{ld:{i=l+(i<<3)|0;switch(N[i+4>>2]-1|0){case 0:break kd;case 1:break ld;default:break jd}}i=N[i>>2]<<16;break id}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break id}i=N[i>>2]}k=b+k|0;m=m+n|0;b=g+4|0;md:{if(b>>>0>=r>>>0){b=0;s=N[f+4>>2];if(!s|N[s>>2]){break md}N[s>>2]=130;break md}nd:{od:{pd:{b=l+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break od;case 1:break pd;default:break nd}}b=N[b>>2]<<16;break md}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break md}b=N[b>>2]}s=i+k|0;i=b+m|0;b=g+5|0;qd:{if(b>>>0>=r>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break qd}N[b>>2]=130;break qd}rd:{sd:{td:{b=l+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break sd;case 1:break td;default:break rd}}l=N[b>>2]<<16;break qd}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break qd}l=N[b>>2]}b=l+s|0;Bd(j+3908|0,n,k,m,s,i,b);g=g+6|0;if(p>>>0>g>>>0){continue}break}}N[j+15960>>2]=b;N[j+15964>>2]=i;N[f+12>>2]=N[f+8>>2];i=o;continue}if(O[a+9|0]|g>>>0>37){break p}if(!(!n|(u|0)<=0|(g|0)==17)){u=0;i=o;break m}i=o;ud:{vd:{wd:{xd:{switch(g-1|0){case 0:case 1:if(!n){break p}i=ld(f,0);b=ld(f,2);l=ld(f,4);k=ld(f,1);n=N[f+8>>2];yd:{if(N[f+12>>2]-n>>>0<=15){i=N[f+4>>2];if(!i|N[i>>2]){break yd}N[i>>2]=130;break yd}N[n+16>>2]=b-(i+k|0);N[N[C>>2]+20>>2]=0}i=ld(f,3);k=N[f+8>>2];zd:{if(N[f+12>>2]-k>>>0<=31){b=N[f+4>>2];if(!b|N[b>>2]){break zd}N[b>>2]=130;break zd}N[k+32>>2]=l-(b+i|0);N[N[C>>2]+36>>2]=0}vg(a,f,(g|0)==1?j+15716|0:j+15744|0,h,j+15775|0,N[N[q+32>>2]+(((g|0)!=1)<<2)>>2]);i=o;if(O[q+548|0]){break o}break m;case 2:b=pb(f);ze(f,(pb(f)|0)!=0&(b|0)!=0);continue;case 3:ze(f,(pb(f)|pb(f))!=0);continue;case 4:ze(f,!pb(f));continue;case 5:if(!n){break m}b=N[q+4>>2];l=18;i=mc(f);g=mc(f);h=pb(f);o=pb(f);w=pb(f);Ad:{if(O[q+47|0]|e){break Ad}b=N[N[b+128>>2]+52>>2];Bd:{if(!N[q+580>>2]){if(!b){break Ad}e=N[N[q+32>>2]>>2];break Bd}e=N[N[q+32>>2]>>2];if(b){break Bd}g=Qo(q,g);i=Qo(q,i)}if((g|i)<0){break Ad}e=e+o|0;Cd:{if(O[q+46|0]){c=N[q+8>>2];d=N[N[c+156>>2]>>2];l=Fn(d,2);if(l){break Ad}b=N[d+88>>2];N[b+32>>2]=i;N[b+8>>2]=0;N[b+12>>2]=0;M[b+4>>1]=514;N[b>>2]=g;M[b+36>>1]=2;N[b+44>>2]=(h+(h>>31)|0)+32768>>16;g=b;b=e-w|0;N[g+40>>2]=((b>>31)+b|0)+32768>>16;N[c+128>>2]=2;b=N[d+52>>2];N[c+72>>2]=1668246896;N[c+132>>2]=b;N[d+84>>2]=2;break Cd}b=N[q+12>>2];N[b+56>>2]=0;N[b+84>>2]=0;o=N[b+24>>2];if(o){o=o+(M[b+22>>1]<<3)|0}else{o=0}N[b+60>>2]=o;l=b- -64|0;o=N[b+28>>2];if(o){o=o+M[b+22>>1]|0}else{o=0}N[l>>2]=o;o=N[b+32>>2];if(o){o=o+(M[b+20>>1]<<1)|0}else{o=0}N[b+68>>2]=o;if(O[b+16|0]){o=M[b+22>>1]<<3;N[b+76>>2]=o+N[b+40>>2];N[b+80>>2]=o+N[b+44>>2]}o=N[b+52>>2];if(o){o=o+(N[b+48>>2]<<5)|0}else{o=0}N[b+88>>2]=o;b=j+36|0;l=Po(N[q+4>>2],g,b);if(l){break Ad}g=N[q+36>>2];o=N[g>>2];n=N[g+4>>2];g=N[q+32>>2];k=N[g>>2];m=N[g+4>>2];Be(a,b,c,d,1,0,0,j+3904|0);b=N[N[N[q+4>>2]+128>>2]+52>>2];g=N[j+40>>2];N[j+12>>2]=N[j+44>>2]-g;N[j+8>>2]=g;if(b){Qa[N[N[b>>2]+4>>2]](N[b+4>>2],j+8|0)}b=N[q+32>>2];if(!O[j+15775|0]){m=N[b+4>>2];g=N[q+36>>2];o=N[g>>2];n=N[g+4>>2];k=N[b>>2]}N[b>>2]=0;N[b+4>>2]=0;b=j+36|0;l=Po(N[q+4>>2],i,b);if(l){break Ad}Be(a,b,c,d,1,e-w|0,h,j+3904|0);b=N[N[N[q+4>>2]+128>>2]+52>>2];c=N[j+40>>2];N[j+12>>2]=N[j+44>>2]-c;N[j+8>>2]=c;if(b){Qa[N[N[b>>2]+4>>2]](N[b+4>>2],j+8|0)}b=N[q+32>>2];N[b>>2]=k;N[b+4>>2]=m;b=N[q+36>>2];N[b>>2]=o;N[b+4>>2]=n}l=0}i=0;break c;case 6:if(!n){break p}b=pb(f);N[N[q+36>>2]+4>>2]=b;b=pb(f);N[N[q+36>>2]>>2]=b;g=pb(f);i=pb(f);b=N[q+32>>2];N[b>>2]=i+N[b>>2];N[b+4>>2]=g+N[b+4>>2];L[j+15775|0]=1;if(O[q+47|0]){break o}if(!(o&255)){i=0;break m}N[j+15964>>2]=i+N[j+15964>>2];N[j+15960>>2]=g+N[j+15960>>2];i=o;break m;case 8:b=pb(f);if((b|0)==-2147483648){Jb(f,2147483647);continue}g=b;b=b>>31;Jb(f,(g^b)-b|0);continue;case 9:Jb(f,pb(f)+pb(f)|0);continue;case 10:b=pb(f);Jb(f,pb(f)-b|0);continue;case 11:Dd:{if(!(!n|!(E&255))){E=0;g=mc(f);b=mc(f);break Dd}g=pb(f);b=pb(f)}Jb(f,fb(b,g));continue;case 13:b=pb(f);if((b|0)==-2147483648){Jb(f,2147483647);continue}Jb(f,0-b|0);continue;case 14:ze(f,(pb(f)|0)==(pb(f)|0));continue;case 15:if(!n){continue}g=mc(f);l=18;i=0;b=mc(f);k=N[f+8>>2];n=N[f+12>>2]-k>>3;if(b>>>0>n>>>0){break c}Ed:{switch(g|0){case 0:if((b|0)!=3|(!N[q+468>>2]|N[q+472>>2]!=7?o&255:0)){break c}Jb(f,N[j+15964>>2]);Jb(f,N[j+15960>>2]);x=2;break vd;case 1:if(b){break c}u=0;x=0;if(!(o&255)){continue}Fd:{b=N[q+12>>2];if((M[b+22>>1]+M[b+58>>1]|0)+6>>>0<=Q[b+4>>2]){break Fd}if(!Sb(b,6,0)){break Fd}l=0;break c}N[q+468>>2]=1;N[q+472>>2]=0;break ud;case 2:if(b){break c}u=0;x=0;if(!(o&255)){continue}if(!N[q+468>>2]){break c}b=N[q+472>>2];N[q+472>>2]=b+1;i=o;if(b-1>>>0>5){continue}g=N[q+12>>2];if((M[g+22>>1]+M[g+58>>1]|0)+1>>>0>Q[g+4>>2]){i=0;if(Sb(g,1,0)){break c}}g=b<<1;g=(j+15776|0)+((b>>>0>3?g-6|0:g)<<2)|0;N[g-8>>2]=N[j+15964>>2];N[g-4>>2]=N[j+15960>>2];i=o;Gd:{switch(b-3|0){case 0:case 3:break Gd;default:continue}}Bd(j+3908|0,N[j+15776>>2],N[j+15780>>2],N[j+15784>>2],N[j+15788>>2],N[j+15792>>2],N[j+15796>>2]);continue h;case 3:x=1;if((b|0)!=1){break c}u=0;if(!(o&255)){continue}N[j+15760>>2]=0;N[j+15732>>2]=0;N[w+16>>2]=0;N[w+20>>2]=0;N[w+8>>2]=0;N[w+12>>2]=0;N[w>>2]=0;N[w+4>>2]=0;L[j+15693|0]=1;N[j+15688>>2]=H;i=o;continue;case 12:case 13:N[f+12>>2]=k;break ud;case 14:case 15:case 16:case 17:case 18:k=N[q+644>>2];if(!k){break c}x=(g+((g|0)==18)|0)-13|0;if((b|0)!=(T(x,N[k>>2])|0)){break c}p=n-b|0;i=x+p|0;n=0;while(1){l=ld(f,p);g=1;if(Q[k>>2]>=2){while(1){l=qb(ld(f,i),N[N[k+136>>2]+(g<<2)>>2])+l|0;i=i+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}g=N[f+8>>2];Hd:{if(N[f+12>>2]-g>>3>>>0

>>0){g=N[f+4>>2];if(!g|N[g>>2]){break Hd}N[g>>2]=130;break Hd}m=g;g=p<<3;N[m+g>>2]=l;N[(g+N[f+8>>2]|0)+4>>2]=0}p=p+1|0;n=n+1|0;if((x|0)!=(n|0)){continue}break};b=b-x|0;g=N[f+12>>2];if(b>>>0>g-N[f+8>>2]>>3>>>0){u=0;i=o;b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=161;continue}N[f+12>>2]=g-(b<<3);break vd;case 19:if((b|0)!=1){break c}b=N[q+644>>2];if(!b){break c}g=mc(f);if((g|0)<0){break c}k=N[b>>2];if(Q[q+652>>2]>>0){break c}B(N[q+648>>2]+(g<<2)|0,N[b+136>>2],k<<2);break ud;case 20:if((b|0)!=2){break c}Jb(f,pb(f)+pb(f)|0);break wd;case 21:if((b|0)!=2){break c}b=pb(f);Jb(f,pb(f)-b|0);break wd;case 22:if((b|0)!=2){break c}b=pb(f);Jb(f,qb(pb(f),b));break wd;case 23:if((b|0)!=2){break c}b=pb(f);g=pb(f);if(!b){break c}Jb(f,fb(g,b));break wd;case 24:if(!N[q+644>>2]|(b|0)!=2){break c}b=mc(f);if((b|0)<0|b>>>0>=Q[q+652>>2]){break c}g=pb(f);N[N[q+648>>2]+(b<<2)>>2]=g;break ud;case 25:if(!N[q+644>>2]|(b|0)!=1){break c}b=mc(f);if((b|0)<0|b>>>0>=Q[q+652>>2]){break c}Jb(f,N[N[q+648>>2]+(b<<2)>>2]);break wd;case 27:if((b|0)!=4){break c}b=pb(f);g=pb(f);Jb(f,(aa=pb(f),ba=pb(f),ca=(b|0)<(g|0),ca?aa:ba));break wd;case 28:if(b){break c}i=N[q+536>>2];b=N[i+648>>2];g=b<<13^b;g=g>>>17^g;N[i+648>>2]=g^g<<5;x=1;Jb(f,(b&65535)+1|0);break vd;default:break Ed}}if((b|0)<0){break c}x=0;if((g|0)<0){break c}u=(b|0)>=3?3:b;i=o;if(!b){continue}b=(u|0)<=1?1:u;g=1;while(1){aa=(j+15944|0)+(u-g<<2)|0,ba=pb(f),N[aa>>2]=ba;o=(b|0)==(g|0);g=g+1|0;if(!o){continue}break};continue;case 16:if(!n){continue}if((x|0)>0){x=x-1|0;continue}if(!u){break l}u=u-1|0;Jb(f,N[(j+15944|0)+(u<<2)>>2]);continue;case 17:pb(f);continue;case 19:b=mc(f);g=pb(f);if(b>>>0>31){continue}N[(j+15808|0)+(b<<2)>>2]=g;continue;case 20:b=mc(f);if(b>>>0>31){continue}Jb(f,N[(j+15808|0)+(b<<2)>>2]);continue;case 21:b=pb(f);g=pb(f);Jb(f,(aa=pb(f),ba=pb(f),ca=(b|0)<(g|0),ca?aa:ba));continue;case 22:o=N[q+536>>2];b=N[o+648>>2];g=b<<13^b;g=g>>>17^g;N[o+648>>2]=g^g<<5;Jb(f,(b&65535)+1|0);continue;case 23:b=pb(f);Jb(f,qb(pb(f),b));continue;case 25:b=pb(f);Id:{if((b|0)<=0){g=0;break Id}i=b>>>(b>>>0>9)|0;while(1){g=i;i=(g+fb(b,g)|0)+1>>1;if((g|0)!=(i|0)){continue}break}}Jb(f,g);i=o;continue;case 26:b=pb(f);Jb(f,b);Jb(f,b);continue;case 27:b=pb(f);g=pb(f);Jb(f,b);Jb(f,g);continue;case 28:b=mc(f);g=N[f+12>>2];o=N[f+8>>2];if((g|0)==(o|0)){continue}o=g-o>>3;g=o-1|0;Jd:{if((b|0)<0){break Jd}g=0;if(b>>>0>=o>>>0){break Jd}g=o+(b^-1)|0}Jb(f,ld(f,g));continue;case 29:b=mc(f);l=0;p=mc(f);Kd:{if((p|0)<2){break Kd}if(p>>>0>N[f+12>>2]-N[f+8>>2]>>3>>>0){b=N[f+4>>2];if(!b|N[b>>2]){break Kd}N[b>>2]=130;break Kd}if((b|0)<0){r=0-((0-b>>>0)%(p>>>0)|0)|0}else{r=(b>>>0)%(p>>>0)|0}if(!r){break Kd}v=0-p|0;o=0;n=2;b=-1;g=-1;while(1){s=N[f+8>>2];Ld:{if((b|0)!=(g|0)){k=o;m=n;break Ld}g=b+1|0;b=s+(g<<3)|0;k=N[b>>2];m=N[b+4>>2];b=g}b=b+r|0;b=((b|0)<(p|0)?p&b>>31:v)+b|0;s=s+(b<<3)|0;o=N[s>>2];n=N[s+4>>2];N[s>>2]=k;N[s+4>>2]=m;l=l+1|0;if((p|0)!=(l|0)){continue}break}}continue;case 32:break xd;default:break m}}if(!n|!(o&255)){break p}aa=j,ba=pb(f),N[aa+15960>>2]=ba;aa=j,ba=pb(f),N[aa+15964>>2]=ba;N[q+468>>2]=0;break m}x=1}u=0;i=o;continue}u=0;i=o;continue h}i=o;break m}i=0;l=0;break c}N[a+120>>2]=g}N[f+12>>2]=N[f+8>>2];continue}break}break}l=18;i=0}if(N[a+4>>2]){break a}}N[a+4>>2]=l}N[j+15540>>2]=0;N[j+15532>>2]=0;N[j+15536>>2]=0;a=N[j+15544>>2];if(a){b=N[j+15520>>2];Qa[N[b+8>>2]](b,a)}N[j+15544>>2]=0;N[j+15736>>2]=0;N[j+15728>>2]=0;N[j+15732>>2]=0;a=N[j+15740>>2];if(a){b=N[j+15716>>2];Qa[N[b+8>>2]](b,a)}N[j+15740>>2]=0;N[j+15764>>2]=0;N[j+15756>>2]=0;N[j+15760>>2]=0;a=N[j+15768>>2];if(a){b=N[j+15744>>2];Qa[N[b+8>>2]](b,a)}N[j+15768>>2]=0;if(D){Qa[N[y+8>>2]](y,D)}if(!i){a=N[f>>2];b=N[f+8>>2];if(b){Qa[N[a+8>>2]](a,b)}N[f+8>>2]=0;Qa[N[a+8>>2]](a,f)}La=j+15968|0}function Tj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,M=0,P=0,R=0,S=0,U=0,V=0,W=0,X=0;A=275552;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);d=O[a+4|0]|O[a+5|0]<<8;if(d){A=((d<<8|d>>>8)&65535)+a|0}C=275552;D=275552;d=O[a+6|0]|O[a+7|0]<<8;if(d){D=((d<<8|d>>>8)&65535)+a|0}d=O[a+8|0]|O[a+9|0]<<8;if(d){C=((d<<8|d>>>8)&65535)+a|0}d=O[a+10|0]|O[a+11|0]<<8;if(d){S=(d<<8|d>>>8)&65535;F=C+4|0;H=D+4|0;I=A+4|0;M=a+12|0;while(1){J=275552;d=O[M|0]|O[M+1|0]<<8;if(d){J=((d<<8|d>>>8)&65535)+a|0}d=O[J|0]|O[J+1|0]<<8;if(d){U=(d<<8|d>>>8)&65535;P=J+2|0;while(1){d=O[P|0]|O[P+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+J|0}else{d=275552}s=O[d|0]|O[d+1|0]<<8;t=(s<<8|s>>>8)&65535;w=(t<<1)+d|0;e=w;c=O[e+2|0]|O[e+3|0]<<8;u=(c<<8|c>>>8)&65535;c=(e+2|0)+(c?u<<1:2)|0;K=c+2|0;y=O[c|0]|O[c+1|0]<<8;R=(y<<8|y>>>8)&65535;x=K+(R<<1)|0;V=O[x|0]|O[x+1|0]<<8;if(s){E=d+2|0;i=N[b+8>>2];s=i+24|0;p=i+36|0;z=i+12|0;while(1){q=O[E|0]|O[E+1|0]<<8;a:{b:{c:{d=O[A|0]|O[A+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=O[I|0]|O[I+1|0]<<8;if(!d){break a}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[I|0]|O[I+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+A|0)+6|0;d:{if((q|0)!=(O[d|0]|O[d+1|0]<<8)){break d}d=O[A+2|0]|O[A+3|0]<<8;r=((d<<8|d>>>8)&65535)+n|0;d=O[i+12|0];if(O[i+48|0]){if(!d){break d}e=N[i+20>>2];d=N[i+28>>2];k=r>>>9|0;m=N[i+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break d}d=d-1|0;f=0;while(1){e:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];f:{if((c|0)>(k|0)){d=e-1|0;break f}if((c|0)==(k|0)){break e}f=e+1|0}if((d|0)>=(f|0)){continue}break d}break}N[i+20>>2]=e}c=N[i+44>>2];if(!c){break d}d=N[(m+(e<<3)|0)+4>>2];N[i+16>>2]=-1;e=(c+(d<<6)|0)+(r>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=ZE(-2,-1,r)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break d}if(!d){break d}N[i+16>>2]=-1;o=r>>>9|0;c=N[i+32>>2];g:{h:{d=N[i+20>>2];e=N[i+28>>2];if(d>>>0>=e>>>0){break h}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break h}c=d+4|0;break g}m=N[i+40>>2];i:{j:{if((e|0)<=0){d=0;break j}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];k:{if((k|0)>(o|0)){f=e-1|0;break k}if((k|0)==(o|0)){d=e;break i}d=e+1|0}if((d|0)<=(f|0)){continue}break}}l:{m:{l=N[p>>2];n:{if((l|0)<0){break n}o:{p:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break p}e=$a(N[i+44>>2],l<<6);if(!e){break p}N[i+36>>2]=l;N[i+44>>2]=e;e=N[i+40>>2]}if(e>>>0>>0){G(N[i+44>>2]+(e<<6)|0,0,k-e<<6)}N[i+40>>2]=k;e=N[i+24>>2];if((e|0)<0){break o}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=s;if(e>>>0>536870911){break p}f=$a(N[i+32>>2],e<<3);if(!f){break p}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){G(N[i+32>>2]+(c<<3)|0,0,k-c<<3)}N[i+28>>2]=k;c=N[i+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;B(c+8|0,c,N[i+28>>2]+(d^-1)<<3);if(Q[i+28>>2]>d>>>0){break m}N[147456]=0;N[147457]=0;c=589824;break l}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break n}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}q:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break q}}N[p>>2]=-1;L[z|0]=0;break d}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){G(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[z|0]=0;break d}c=e+N[i+32>>2]|0}N[c>>2]=o;N[c+4>>2]=m;c=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[i+44>>2];if(!d){break d}d=(d+(N[c>>2]<<6)|0)+(r>>>3&56)|0;c=N[d+4>>2];e=r&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break a}d=O[A+2|0]|O[A+3|0]<<8;if(!d){break a}o=T((d<<8|d>>>8)&65535,6)+I|0;m=I;r:{s:{t:{u:{v:{w:{while(1){x:{y:{if((q|0)!=(O[m+4|0]|O[m+5|0]<<8)){break y}d=O[m+2|0]|O[m+3|0]<<8;h=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;v=(d<<8|d>>>8)&65535;if(O[i+48|0]){qd(z,v,h);break y}if(!O[z|0]){break y}if(h>>>0>>0){break a}N[i+16>>2]=-1;g=h>>>9|0;r=v>>>9|0;c=N[i+32>>2];z:{A:{B:{d=N[i+20>>2];f=N[i+28>>2];if(d>>>0>=f>>>0){break B}d=(d<<3)+c|0;if((r|0)!=N[d>>2]){break B}d=d+4|0;break A}e=N[i+40>>2];C:{D:{if((f|0)<=0){d=0;break D}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];E:{if((j|0)>(r|0)){f=k-1|0;break E}if((j|0)==(r|0)){d=k;break C}d=k+1|0}if((d|0)<=(f|0)){continue}break}}F:{G:{l=N[p>>2];H:{if((l|0)<0){break H}I:{J:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break J}f=$a(N[i+44>>2],l<<6);if(!f){break J}N[i+36>>2]=l;N[i+44>>2]=f;f=N[i+40>>2]}if(f>>>0>>0){G(N[i+44>>2]+(f<<6)|0,0,j-f<<6)}N[i+40>>2]=j;f=N[i+24>>2];if((f|0)<0){break I}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=s;if(f>>>0>536870911){break J}k=$a(N[i+32>>2],f<<3);if(!k){break J}N[i+24>>2]=f;N[i+32>>2]=k}c=N[i+28>>2];if(c>>>0>>0){G(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[i+32>>2]|0;B(c+8|0,c,N[i+28>>2]+(d^-1)<<3);if(Q[i+28>>2]>d>>>0){break G}N[147456]=0;N[147457]=0;c=589824;break F}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break H}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}K:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break K}}N[p>>2]=-1;break H}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){G(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[z|0]=0;d=0;break z}c=f+N[i+32>>2]|0}N[c>>2]=r;N[c+4>>2]=e;c=N[i+32>>2]}N[i+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[i+44>>2]+(N[d>>2]<<6)|0}L:{if((g|0)==(r|0)){if(!d){break a}c=v&63;f=c&31;if((c&63)>>>0>=32){e=-1<>>32-f}n=c;c=e;f=v>>>6&7;e=d+(f<<3)|0;k=h>>>6&7;M:{if((k|0)==(f|0)){d=e;break M}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break M}G(e,255,d-e|0)}e=h&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){e=-1<>>32-f}n=c;c=e;f=v>>>6&7;e=d+(f<<3)|0;N:{if((f|0)==7){d=e;break N}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break N}G(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=r+1|0;if(g>>>0>n>>>0){while(1){r=n&8388607;c=N[i+32>>2];O:{P:{d=N[i+20>>2];e=N[i+28>>2];if(d>>>0>=e>>>0){break P}d=(d<<3)+c|0;if((r|0)!=N[d>>2]){break P}c=d+4|0;break O}k=N[i+40>>2];Q:{R:{if((e|0)<=0){d=0;break R}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];S:{if((j|0)>(r|0)){f=e-1|0;break S}if((j|0)==(r|0)){d=e;break Q}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[z|0]){break a}l=N[p>>2];if((l|0)<0){break r}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break u}c=$a(N[i+44>>2],l<<6);if(!c){break u}N[i+36>>2]=l;N[i+44>>2]=c;e=N[i+40>>2]}if(e>>>0>>0){G(N[i+44>>2]+(e<<6)|0,0,j-e<<6)}N[i+40>>2]=j;e=N[i+24>>2];if((e|0)<0){break s}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=s;if(e>>>0>536870911){break t}f=$a(N[i+32>>2],e<<3);if(!f){break t}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){G(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;B(c+8|0,c,N[i+28>>2]+(d^-1)<<3);T:{if(Q[i+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break T}c=e+N[i+32>>2]|0}N[c>>2]=r;N[c+4>>2]=k;c=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[i+44>>2];if(!d){break a}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((g|0)!=(n|0)){continue}break}}l=N[i+32>>2];U:{V:{d=N[i+20>>2];c=N[i+28>>2];if(d>>>0>=c>>>0){break V}d=(d<<3)+l|0;if((g|0)!=N[d>>2]){break V}c=d+4|0;break U}k=N[i+40>>2];W:{X:{if((c|0)<=0){d=0;break X}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];Y:{if((e|0)>(g|0)){f=c-1|0;break Y}if((e|0)==(g|0)){d=c;break W}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[z|0]){break a}f=N[p>>2];if((f|0)<0){break r}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break x}c=$a(N[i+44>>2],f<<6);if(!c){break x}N[i+36>>2]=f;N[i+44>>2]=c;e=N[i+40>>2]}if(e>>>0>>0){G(N[i+44>>2]+(e<<6)|0,0,j-e<<6)}N[i+40>>2]=j;e=N[i+24>>2];if((e|0)<0){break v}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=s;if(e>>>0>536870911){break w}f=$a(N[i+32>>2],e<<3);if(!f){break w}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){G(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;B(c+8|0,c,N[i+28>>2]+(d^-1)<<3);Z:{if(Q[i+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break Z}c=e+N[i+32>>2]|0}N[c>>2]=g;N[c+4>>2]=k;l=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[i+44>>2];if(!d){break a}c=d+(N[c>>2]<<6)|0;d=h>>>6&7;_:{if(!d){d=c;break _}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break _}G(c,255,e-8|0)}c=h&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];c=c+e|0;e=j+n|0;c=e>>>0>>0?c+1|0:c;N[d>>2]=e|k;N[d+4>>2]=c|f}m=m+6|0;if((o|0)!=(m|0)){continue}break a}break}c=p}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break r}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}$:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break $}}N[p>>2]=-1;L[z|0]=0;break a}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){G(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c;L[z|0]=0;break a}c=p}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break r}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}aa:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break aa}}N[p>>2]=-1;L[z|0]=0;break a}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){G(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[z|0]=0}E=E+2|0;t=t-1|0;if(t){continue}break}}if(u>>>0>=2){E=w+4|0;t=u-1|0;h=N[b+12>>2];s=h+24|0;p=h+36|0;v=h+12|0;while(1){w=O[E|0]|O[E+1|0]<<8;ba:{ca:{da:{d=O[D|0]|O[D+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break ca;case 0:break da;default:break ba}}d=O[H|0]|O[H+1|0]<<8;if(!d){break ba}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[H|0]|O[H+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+D|0)+6|0;ea:{if((w|0)!=(O[d|0]|O[d+1|0]<<8)){break ea}d=O[D+2|0]|O[D+3|0]<<8;q=((d<<8|d>>>8)&65535)+n|0;d=O[h+12|0];if(O[h+48|0]){if(!d){break ea}e=N[h+20>>2];d=N[h+28>>2];k=q>>>9|0;m=N[h+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break ea}d=d-1|0;f=0;while(1){fa:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];ga:{if((c|0)>(k|0)){d=e-1|0;break ga}if((c|0)==(k|0)){break fa}f=e+1|0}if((d|0)>=(f|0)){continue}break ea}break}N[h+20>>2]=e}c=N[h+44>>2];if(!c){break ea}d=N[(m+(e<<3)|0)+4>>2];N[h+16>>2]=-1;e=(c+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=ZE(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break ea}if(!d){break ea}N[h+16>>2]=-1;o=q>>>9|0;c=N[h+32>>2];ha:{ia:{d=N[h+20>>2];e=N[h+28>>2];if(d>>>0>=e>>>0){break ia}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break ia}c=d+4|0;break ha}m=N[h+40>>2];ja:{ka:{if((e|0)<=0){d=0;break ka}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];la:{if((k|0)>(o|0)){f=e-1|0;break la}if((k|0)==(o|0)){d=e;break ja}d=e+1|0}if((d|0)<=(f|0)){continue}break}}ma:{na:{l=N[p>>2];oa:{if((l|0)<0){break oa}pa:{qa:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break qa}e=$a(N[h+44>>2],l<<6);if(!e){break qa}N[h+36>>2]=l;N[h+44>>2]=e;e=N[h+40>>2]}if(e>>>0>>0){G(N[h+44>>2]+(e<<6)|0,0,k-e<<6)}N[h+40>>2]=k;e=N[h+24>>2];if((e|0)<0){break pa}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=s;if(e>>>0>536870911){break qa}f=$a(N[h+32>>2],e<<3);if(!f){break qa}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){G(N[h+32>>2]+(c<<3)|0,0,k-c<<3)}N[h+28>>2]=k;c=N[h+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;B(c+8|0,c,N[h+28>>2]+(d^-1)<<3);if(Q[h+28>>2]>d>>>0){break na}N[147456]=0;N[147457]=0;e=589824;break ma}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break oa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}ra:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break ra}}N[p>>2]=-1;L[v|0]=0;break ea}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){G(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[v|0]=0;break ea}e=e+N[h+32>>2]|0}N[e>>2]=o;N[e+4>>2]=m;c=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[h+44>>2];if(!d){break ea}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;c=N[d+4>>2];e=q&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break ba}d=O[D+2|0]|O[D+3|0]<<8;if(!d){break ba}o=T((d<<8|d>>>8)&65535,6)+H|0;m=H;sa:{ta:{ua:{va:{wa:{xa:{while(1){ya:{za:{if((w|0)!=(O[m+4|0]|O[m+5|0]<<8)){break za}d=O[m+2|0]|O[m+3|0]<<8;g=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;r=(d<<8|d>>>8)&65535;if(O[h+48|0]){qd(v,r,g);break za}if(!O[v|0]){break za}if(g>>>0>>0){break ba}N[h+16>>2]=-1;u=g>>>9|0;q=r>>>9|0;c=N[h+32>>2];Aa:{Ba:{Ca:{d=N[h+20>>2];f=N[h+28>>2];if(d>>>0>=f>>>0){break Ca}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Ca}d=d+4|0;break Ba}e=N[h+40>>2];Da:{Ea:{if((f|0)<=0){d=0;break Ea}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];Fa:{if((j|0)>(q|0)){f=k-1|0;break Fa}if((j|0)==(q|0)){d=k;break Da}d=k+1|0}if((d|0)<=(f|0)){continue}break}}Ga:{Ha:{l=N[p>>2];Ia:{if((l|0)<0){break Ia}Ja:{Ka:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break Ka}f=$a(N[h+44>>2],l<<6);if(!f){break Ka}N[h+36>>2]=l;N[h+44>>2]=f;f=N[h+40>>2]}if(f>>>0>>0){G(N[h+44>>2]+(f<<6)|0,0,j-f<<6)}N[h+40>>2]=j;f=N[h+24>>2];if((f|0)<0){break Ja}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=s;if(f>>>0>536870911){break Ka}k=$a(N[h+32>>2],f<<3);if(!k){break Ka}N[h+24>>2]=f;N[h+32>>2]=k}c=N[h+28>>2];if(c>>>0>>0){G(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[h+32>>2]|0;B(c+8|0,c,N[h+28>>2]+(d^-1)<<3);if(Q[h+28>>2]>d>>>0){break Ha}N[147456]=0;N[147457]=0;c=589824;break Ga}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break Ia}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}La:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break La}}N[p>>2]=-1;break Ia}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){G(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[v|0]=0;d=0;break Aa}c=f+N[h+32>>2]|0}N[c>>2]=q;N[c+4>>2]=e;c=N[h+32>>2]}N[h+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[h+44>>2]+(N[d>>2]<<6)|0}Ma:{if((q|0)==(u|0)){if(!d){break ba}c=r&63;e=c&31;if((c&63)>>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;k=g>>>6&7;Na:{if((k|0)==(f|0)){d=e;break Na}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break Na}G(e,255,d-e|0)}e=g&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){e=-1<>>32-f}n=c;c=e;f=r>>>6&7;e=d+(f<<3)|0;Oa:{if((f|0)==7){d=e;break Oa}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break Oa}G(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=q+1|0;if(u>>>0>n>>>0){while(1){q=n&8388607;c=N[h+32>>2];Pa:{Qa:{d=N[h+20>>2];e=N[h+28>>2];if(d>>>0>=e>>>0){break Qa}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Qa}c=d+4|0;break Pa}k=N[h+40>>2];Ra:{Sa:{if((e|0)<=0){d=0;break Sa}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];Ta:{if((j|0)>(q|0)){f=e-1|0;break Ta}if((j|0)==(q|0)){d=e;break Ra}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[v|0]){break ba}l=N[p>>2];if((l|0)<0){break sa}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break va}c=$a(N[h+44>>2],l<<6);if(!c){break va}N[h+36>>2]=l;N[h+44>>2]=c;e=N[h+40>>2]}if(e>>>0>>0){G(N[h+44>>2]+(e<<6)|0,0,j-e<<6)}N[h+40>>2]=j;e=N[h+24>>2];if((e|0)<0){break ta}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=s;if(e>>>0>536870911){break ua}f=$a(N[h+32>>2],e<<3);if(!f){break ua}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){G(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;B(c+8|0,c,N[h+28>>2]+(d^-1)<<3);Ua:{if(Q[h+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break Ua}e=e+N[h+32>>2]|0}N[e>>2]=q;N[e+4>>2]=k;c=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[h+44>>2];if(!d){break ba}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((u|0)!=(n|0)){continue}break}}l=N[h+32>>2];Va:{Wa:{d=N[h+20>>2];c=N[h+28>>2];if(d>>>0>=c>>>0){break Wa}d=(d<<3)+l|0;if((u|0)!=N[d>>2]){break Wa}c=d+4|0;break Va}k=N[h+40>>2];Xa:{Ya:{if((c|0)<=0){d=0;break Ya}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];Za:{if((e|0)>(u|0)){f=c-1|0;break Za}if((e|0)==(u|0)){d=c;break Xa}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[v|0]){break ba}f=N[p>>2];if((f|0)<0){break sa}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break ya}c=$a(N[h+44>>2],f<<6);if(!c){break ya}N[h+36>>2]=f;N[h+44>>2]=c;e=N[h+40>>2]}if(e>>>0>>0){G(N[h+44>>2]+(e<<6)|0,0,j-e<<6)}N[h+40>>2]=j;e=N[h+24>>2];if((e|0)<0){break wa}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=s;if(e>>>0>536870911){break xa}f=$a(N[h+32>>2],e<<3);if(!f){break xa}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){G(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;B(c+8|0,c,N[h+28>>2]+(d^-1)<<3);_a:{if(Q[h+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break _a}c=e+N[h+32>>2]|0}N[c>>2]=u;N[c+4>>2]=k;l=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[h+44>>2];if(!d){break ba}c=d+(N[c>>2]<<6)|0;d=g>>>6&7;$a:{if(!d){d=c;break $a}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break $a}G(c,255,e-8|0)}c=g&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];c=c+e|0;e=j+n|0;c=e>>>0>>0?c+1|0:c;N[d>>2]=e|k;N[d+4>>2]=c|f}m=m+6|0;if((o|0)!=(m|0)){continue}break ba}break}c=p}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break sa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}ab:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break ab}}N[p>>2]=-1;L[v|0]=0;break ba}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){G(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c;L[v|0]=0;break ba}c=p}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break sa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}bb:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break bb}}N[p>>2]=-1;L[v|0]=0;break ba}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){G(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[v|0]=0}E=E+2|0;t=t-1|0;if(t){continue}break}}if(y){g=N[b+16>>2];s=g+24|0;p=g+36|0;t=g+12|0;while(1){w=O[K|0]|O[K+1|0]<<8;cb:{db:{eb:{d=O[C|0]|O[C+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break db;case 0:break eb;default:break cb}}d=O[F|0]|O[F+1|0]<<8;if(!d){break cb}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[F|0]|O[F+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+C|0)+6|0;fb:{if((w|0)!=(O[d|0]|O[d+1|0]<<8)){break fb}d=O[C+2|0]|O[C+3|0]<<8;q=((d<<8|d>>>8)&65535)+n|0;d=O[g+12|0];if(O[g+48|0]){if(!d){break fb}e=N[g+20>>2];d=N[g+28>>2];k=q>>>9|0;m=N[g+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break fb}d=d-1|0;f=0;while(1){gb:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];hb:{if((c|0)>(k|0)){d=e-1|0;break hb}if((c|0)==(k|0)){break gb}f=e+1|0}if((d|0)>=(f|0)){continue}break fb}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break fb}d=N[(m+(e<<3)|0)+4>>2];N[g+16>>2]=-1;e=(c+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=ZE(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break fb}if(!d){break fb}N[g+16>>2]=-1;o=q>>>9|0;c=N[g+32>>2];ib:{jb:{d=N[g+20>>2];e=N[g+28>>2];if(d>>>0>=e>>>0){break jb}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break jb}c=d+4|0;break ib}m=N[g+40>>2];kb:{lb:{if((e|0)<=0){d=0;break lb}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];mb:{if((k|0)>(o|0)){f=e-1|0;break mb}if((k|0)==(o|0)){d=e;break kb}d=e+1|0}if((d|0)<=(f|0)){continue}break}}nb:{ob:{l=N[p>>2];pb:{if((l|0)<0){break pb}qb:{rb:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break rb}e=$a(N[g+44>>2],l<<6);if(!e){break rb}N[g+36>>2]=l;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){G(N[g+44>>2]+(e<<6)|0,0,k-e<<6)}N[g+40>>2]=k;e=N[g+24>>2];if((e|0)<0){break qb}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=s;if(e>>>0>536870911){break rb}f=$a(N[g+32>>2],e<<3);if(!f){break rb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){G(N[g+32>>2]+(c<<3)|0,0,k-c<<3)}N[g+28>>2]=k;c=N[g+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;B(c+8|0,c,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break ob}N[147456]=0;N[147457]=0;e=589824;break nb}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break pb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}sb:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break sb}}N[p>>2]=-1;L[t|0]=0;break fb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){G(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[t|0]=0;break fb}e=e+N[g+32>>2]|0}N[e>>2]=o;N[e+4>>2]=m;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break fb}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;c=N[d+4>>2];e=q&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break cb}d=O[C+2|0]|O[C+3|0]<<8;if(!d){break cb}o=T((d<<8|d>>>8)&65535,6)+F|0;m=F;tb:{ub:{vb:{wb:{xb:{yb:{while(1){zb:{Ab:{if((w|0)!=(O[m+4|0]|O[m+5|0]<<8)){break Ab}d=O[m+2|0]|O[m+3|0]<<8;r=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;u=(d<<8|d>>>8)&65535;if(O[g+48|0]){qd(t,u,r);break Ab}if(!O[t|0]){break Ab}if(r>>>0>>0){break cb}N[g+16>>2]=-1;y=r>>>9|0;q=u>>>9|0;c=N[g+32>>2];Bb:{Cb:{Db:{d=N[g+20>>2];f=N[g+28>>2];if(d>>>0>=f>>>0){break Db}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Db}d=d+4|0;break Cb}e=N[g+40>>2];Eb:{Fb:{if((f|0)<=0){d=0;break Fb}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];Gb:{if((j|0)>(q|0)){f=k-1|0;break Gb}if((j|0)==(q|0)){d=k;break Eb}d=k+1|0}if((d|0)<=(f|0)){continue}break}}Hb:{Ib:{l=N[p>>2];Jb:{if((l|0)<0){break Jb}Kb:{Lb:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break Lb}f=$a(N[g+44>>2],l<<6);if(!f){break Lb}N[g+36>>2]=l;N[g+44>>2]=f;f=N[g+40>>2]}if(f>>>0>>0){G(N[g+44>>2]+(f<<6)|0,0,j-f<<6)}N[g+40>>2]=j;f=N[g+24>>2];if((f|0)<0){break Kb}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=s;if(f>>>0>536870911){break Lb}k=$a(N[g+32>>2],f<<3);if(!k){break Lb}N[g+24>>2]=f;N[g+32>>2]=k}c=N[g+28>>2];if(c>>>0>>0){G(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[g+32>>2]|0;B(c+8|0,c,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break Ib}N[147456]=0;N[147457]=0;f=589824;break Hb}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break Jb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}Mb:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break Mb}}N[p>>2]=-1;break Jb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){G(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[t|0]=0;d=0;break Bb}f=f+N[g+32>>2]|0}N[f>>2]=q;N[f+4>>2]=e;c=N[g+32>>2]}N[g+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[g+44>>2]+(N[d>>2]<<6)|0}Nb:{if((q|0)==(y|0)){if(!d){break cb}c=u&63;e=c&31;if((c&63)>>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;k=r>>>6&7;Ob:{if((k|0)==(f|0)){d=e;break Ob}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break Ob}G(e,255,d-e|0)}e=r&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;Pb:{if((f|0)==7){d=e;break Pb}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break Pb}G(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=q+1|0;if(y>>>0>n>>>0){while(1){q=n&8388607;c=N[g+32>>2];Qb:{Rb:{d=N[g+20>>2];e=N[g+28>>2];if(d>>>0>=e>>>0){break Rb}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Rb}c=d+4|0;break Qb}k=N[g+40>>2];Sb:{Tb:{if((e|0)<=0){d=0;break Tb}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];Ub:{if((j|0)>(q|0)){f=e-1|0;break Ub}if((j|0)==(q|0)){d=e;break Sb}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[t|0]){break cb}l=N[p>>2];if((l|0)<0){break tb}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break wb}c=$a(N[g+44>>2],l<<6);if(!c){break wb}N[g+36>>2]=l;N[g+44>>2]=c;e=N[g+40>>2]}if(e>>>0>>0){G(N[g+44>>2]+(e<<6)|0,0,j-e<<6)}N[g+40>>2]=j;e=N[g+24>>2];if((e|0)<0){break ub}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=s;if(e>>>0>536870911){break vb}f=$a(N[g+32>>2],e<<3);if(!f){break vb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){G(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;B(c+8|0,c,N[g+28>>2]+(d^-1)<<3);Vb:{if(Q[g+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break Vb}e=e+N[g+32>>2]|0}N[e>>2]=q;N[e+4>>2]=k;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break cb}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((y|0)!=(n|0)){continue}break}}l=N[g+32>>2];Wb:{Xb:{d=N[g+20>>2];c=N[g+28>>2];if(d>>>0>=c>>>0){break Xb}d=(d<<3)+l|0;if((y|0)!=N[d>>2]){break Xb}c=d+4|0;break Wb}k=N[g+40>>2];Yb:{Zb:{if((c|0)<=0){d=0;break Zb}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];_b:{if((e|0)>(y|0)){f=c-1|0;break _b}if((e|0)==(y|0)){d=c;break Yb}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[t|0]){break cb}f=N[p>>2];if((f|0)<0){break tb}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break zb}c=$a(N[g+44>>2],f<<6);if(!c){break zb}N[g+36>>2]=f;N[g+44>>2]=c;e=N[g+40>>2]}if(e>>>0>>0){G(N[g+44>>2]+(e<<6)|0,0,j-e<<6)}N[g+40>>2]=j;e=N[g+24>>2];if((e|0)<0){break xb}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=s;if(e>>>0>536870911){break yb}f=$a(N[g+32>>2],e<<3);if(!f){break yb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){G(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;B(c+8|0,c,N[g+28>>2]+(d^-1)<<3);$b:{if(Q[g+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break $b}e=e+N[g+32>>2]|0}N[e>>2]=y;N[e+4>>2]=k;l=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[g+44>>2];if(!d){break cb}c=d+(N[c>>2]<<6)|0;d=r>>>6&7;ac:{if(!d){d=c;break ac}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break ac}G(c,255,e-8|0)}c=r&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];e=c+e|0;c=j+n|0;e=c>>>0>>0?e+1|0:e;N[d>>2]=c|k;N[d+4>>2]=e|f}m=m+6|0;if((o|0)!=(m|0)){continue}break cb}break}c=p}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break tb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}bc:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break bc}}N[p>>2]=-1;L[t|0]=0;break cb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){G(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c;L[t|0]=0;break cb}c=p}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break tb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}cc:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break cc}}N[p>>2]=-1;L[t|0]=0;break cb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){G(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[t|0]=0}K=K+2|0;R=R-1|0;if(R){continue}break}}if(V){j=(V<<8|V>>>8)&65535;k=x+2|0;n=0;while(1){s=N[b+32>>2];dc:{if(!s|!N[b+24>>2]|N[b+20>>2]==275552){break dc}d=k+(n<<2)|0;d=O[d+2|0]|O[d+3|0]<<8;q=(d<<8|d>>>8)&65535;x=q>>>9|0;w=N[b+28>>2];p=N[w+32>>2];ec:{fc:{gc:{d=N[w+20>>2];m=N[w+28>>2];if(d>>>0>=m>>>0){break gc}d=p+(d<<3)|0;if((x|0)!=N[d>>2]){break gc}c=d+4|0;break fc}e=0;if((m|0)<=0){break ec}f=m-1|0;e=0;hc:{while(1){o=e+f>>>1|0;c=p+(o<<3)|0;d=N[c>>2];ic:{if((d|0)>(x|0)){f=o-1|0;break ic}if((d|0)==(x|0)){break hc}e=o+1|0}if((e|0)<=(f|0)){continue}break}e=0;break ec}N[w+20>>2]=o;c=(o>>>0>=m>>>0?275552:c)+4|0}d=N[w+44>>2];e=0;if(!d){break ec}c=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;d=N[c>>2];c=N[c+4>>2];e=q&63;p=e&31;e=((e&63)>>>0>=32?c>>>p|0:((1<>>p)&1}if((e|0)!=O[w+48|0]){break dc}e=N[b+16>>2];N[b+16>>2]=275552;c=N[b+8>>2];d=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=s-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,q);N[b+16>>2]=e;N[b+8>>2]=c;N[b+12>>2]=d;N[b+32>>2]=N[b+32>>2]+1;o=N[b+28>>2];d=O[o+12|0];if(O[o+48|0]){if(!d){break dc}d=N[o+20>>2];c=N[o+28>>2];s=N[o+32>>2];if(!(d>>>0>>0&(x|0)==N[s+(d<<3)>>2])){if((c|0)<=0){break dc}f=c-1|0;e=0;while(1){jc:{d=e+f>>>1|0;c=N[s+(d<<3)>>2];kc:{if((c|0)>(x|0)){f=d-1|0;break kc}if((c|0)==(x|0)){break jc}e=d+1|0}if((e|0)<=(f|0)){continue}break dc}break}N[o+20>>2]=d}c=N[o+44>>2];if(!c){break dc}d=N[(s+(d<<3)|0)+4>>2];N[o+16>>2]=-1;e=(c+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=ZE(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break dc}if(!d){break dc}N[o+16>>2]=-1;c=N[o+32>>2];lc:{mc:{d=N[o+20>>2];e=N[o+28>>2];if(d>>>0>=e>>>0){break mc}d=(d<<3)+c|0;if((x|0)!=N[d>>2]){break mc}c=d+4|0;break lc}s=N[o+40>>2];nc:{oc:{if((e|0)<=0){f=0;break oc}e=e-1|0;f=0;while(1){d=e+f>>>1|0;p=N[(d<<3)+c>>2];pc:{if((p|0)>(x|0)){e=d-1|0;break pc}if((p|0)==(x|0)){f=d;break nc}f=d+1|0}if((e|0)>=(f|0)){continue}break}}qc:{rc:{c=o+36|0;l=N[c>>2];sc:{if((l|0)<0){break sc}tc:{uc:{d=s;e=d+1|0;p=(e|0)>0?e:0;if(p>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(p>>>0>=l>>>0){continue}break}m=c;if(l>>>0>67108863){break uc}d=$a(N[o+44>>2],l<<6);if(!d){break uc}N[o+36>>2]=l;N[o+44>>2]=d;d=N[o+40>>2]}if(d>>>0

>>0){G(N[o+44>>2]+(d<<6)|0,0,p-d<<6)}N[o+40>>2]=p;m=o+24|0;d=N[m>>2];if((d|0)<0){break tc}if(d>>>0

>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(p>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break uc}e=$a(N[o+32>>2],d<<3);if(!e){break uc}N[o+24>>2]=d;N[o+32>>2]=e}d=N[o+28>>2];if(d>>>0

>>0){G(N[o+32>>2]+(d<<3)|0,0,p-d<<3)}N[o+28>>2]=p;d=N[o+44>>2]+(s<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;c=f<<3;d=c+N[o+32>>2]|0;B(d+8|0,d,N[o+28>>2]+(f^-1)<<3);if(Q[o+28>>2]>f>>>0){break rc}N[147456]=0;N[147457]=0;d=589824;break qc}N[m>>2]=-1}f=N[o+36>>2];if((f|0)<0){break sc}d=N[o+28>>2];e=(d|0)>0?d:0;if(e>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(e>>>0>=f>>>0){continue}break}vc:{if(f>>>0<=67108863){d=$a(N[o+44>>2],f<<6);if(d){break vc}}N[c>>2]=-1;L[o+12|0]=0;break dc}N[o+36>>2]=f;N[o+44>>2]=d}d=N[o+40>>2];if(d>>>0>>0){G(N[o+44>>2]+(d<<6)|0,0,e-d<<6)}N[o+40>>2]=e}L[o+12|0]=0;break dc}d=c+N[o+32>>2]|0}N[d>>2]=x;N[d+4>>2]=s;c=N[o+32>>2]}N[o+20>>2]=f;c=((f<<3)+c|0)+4|0}d=N[o+44>>2];if(!d){break dc}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;e=N[d+4>>2];c=q&63;s=c&31;if((c&63)>>>0>=32){c=1<>>32-s}N[d>>2]=f|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}}P=P+2|0;U=U-1|0;if(U){continue}break}}M=M+2|0;S=S-1|0;if(S){continue}break}}}function kq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;d=La-96|0;La=d;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{switch(a-1|0){default:switch(a-255|0){case 37:break j;case 36:break k;case 35:break l;case 0:break E;case 38:break i;default:break h};case 10:a=N[b+4>>2];if(a>>>0>2]){N[b+8>>2]=a+1}c=b+4164|0;a=N[b+4168>>2];G:{if(a){a=a-1|0;N[b+4168>>2]=a;a=(c+T(a,20)|0)+8|0;break G}L[c|0]=1;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;a=589824}c=N[a+4>>2];N[b+4128>>2]=N[a>>2];N[b+4132>>2]=c;N[b+4144>>2]=N[a+16>>2];f=a+8|0;c=N[f+4>>2];g=b+4136|0;N[g>>2]=N[f>>2];N[g+4>>2]=c;f=N[a>>2];c=N[a+4>>2];N[b+8>>2]=N[a+8>>2];N[b>>2]=f;N[b+4>>2]=c;break a;case 30:break m;case 29:break n;case 26:break o;case 25:break p;case 24:break q;case 23:break r;case 7:break s;case 6:break t;case 5:break u;case 4:break v;case 3:break w;case 21:break x;case 20:break y;case 18:case 19:break z;case 2:case 22:break A;case 0:case 17:break B;case 28:break C;case 9:break D;case 13:break F;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break h}}L[b+4148|0]=1;N[b+20>>2]=0;break a}a=N[b+4>>2];c=N[b+8>>2];if(a>>>0>>0){break a}g=b+16|0;H:{if(a>>>0<=c>>>0){c=a+1|0;a=275552;break H}a=N[b>>2]+c|0}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);f=N[b+20>>2];I:{if(f>>>0<=512){N[b+20>>2]=f+1;f=(g+(f<<3)|0)+8|0;break I}L[g|0]=1;N[147456]=0;N[147457]=0;f=589824}S[f>>3]=+(a|0)*152587890625e-16;N[b+8>>2]=c+4;break a}c=b+16|0;J:{a=N[b+20>>2];K:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(c+(a<<3)|0)+8>>3];if(V(e)<2147483648){a=~~e;break K}a=-2147483648;break K}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}k=a+N[b+4380>>2]|0;L:{if((k|0)<0){break L}a=N[b+4384>>2];if(!a){break L}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(k>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break L}a=N[b+4168>>2];if(a>>>0<10){break J}}N[b+8>>2]=N[b+4>>2]+1;break a}g=N[b+4>>2];h=N[b>>2];N[b+4128>>2]=h;N[b+4132>>2]=g;N[b+4168>>2]=a+1;m=b+4136|0;N[m>>2]=N[b+8>>2];c=b+T(a,20)|0;f=b+4144|0;N[c+4188>>2]=N[f>>2];a=c+4172|0;N[a>>2]=h;N[a+4>>2]=g;a=N[m+4>>2];c=c+4180|0;N[c>>2]=N[m>>2];N[c+4>>2]=a;g=b+4128|0;a=0;h=N[b+4384>>2];M:{if(!h){break M}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if(k>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break M}ae(d+80|0,h,k);a=N[d+80>>2];j=N[d+84>>2]}N[b+4128>>2]=a;N[b+4132>>2]=j;N[f>>2]=k;N[m>>2]=0;N[m+4>>2]=2;N[b+8>>2]=N[g+8>>2];a=N[g+4>>2];N[b>>2]=N[g>>2];N[b+4>>2]=a;break a}c=b+16|0;N:{a=N[b+20>>2];O:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(c+(a<<3)|0)+8>>3];if(V(e)<2147483648){a=~~e;break O}a=-2147483648;break O}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}k=a+N[b+4372>>2]|0;P:{if((k|0)<0){break P}a=N[b+4376>>2];if(!a){break P}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(k>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break P}a=N[b+4168>>2];if(a>>>0<10){break N}}N[b+8>>2]=N[b+4>>2]+1;break a}g=N[b+4>>2];h=N[b>>2];N[b+4128>>2]=h;N[b+4132>>2]=g;N[b+4168>>2]=a+1;m=b+4136|0;N[m>>2]=N[b+8>>2];c=b+T(a,20)|0;f=b+4144|0;N[c+4188>>2]=N[f>>2];a=c+4172|0;N[a>>2]=h;N[a+4>>2]=g;a=N[m+4>>2];c=c+4180|0;N[c>>2]=N[m>>2];N[c+4>>2]=a;g=b+4128|0;a=0;h=N[b+4376>>2];Q:{if(!h){break Q}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if(k>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break Q}ae(d+80|0,h,k);a=N[d+80>>2];j=N[d+84>>2]}N[b+4128>>2]=a;N[b+4132>>2]=j;N[f>>2]=k;N[m>>2]=0;N[m+4>>2]=1;N[b+8>>2]=N[g+8>>2];a=N[g+4>>2];N[b>>2]=N[g>>2];N[b+4>>2]=a;break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4152>>2]=N[b+4152>>2]+(a>>>1|0);break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4156>>2]=N[b+4156>>2]+(a>>>1|0);break a}R:{if(O[b+4150|0]){c=N[b+4160>>2];break R}L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;c=(a+N[b+4152>>2]|0)+7>>>3|0;N[b+4160>>2]=c}a=N[b+8>>2]+c|0;if(a>>>0>Q[b+4>>2]){break a}N[b+8>>2]=a;N[b+20>>2]=0;break a}h=b+16|0;n=S[b+4400>>3];i=S[b+4392>>3];g=N[b+20>>2];if(!g){k=589824;break c}a=g-1|0;k=(h+(a<<3)|0)+8|0;if(!a){break c}a=g-2|0;f=a>>>1|0;p=S[(h+(a<<3)|0)+8>>3];break b}f=b+16|0;i=S[b+4400>>3];e=S[b+4392>>3];a=N[b+20>>2];S:{if(a){a=a-1|0;k=a>>>1|0;n=S[(f+(a<<3)|0)+8>>3];break S}L[f|0]=1;N[147456]=0;N[147457]=0;n=0}L[c|0]=0;S[b+4400>>3]=i;S[b+4392>>3]=e+n;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+k|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}f=b+16|0;i=S[b+4400>>3];e=S[b+4392>>3];a=N[b+20>>2];T:{if(a){a=a-1|0;k=a>>>1|0;n=S[(f+(a<<3)|0)+8>>3];break T}L[f|0]=1;N[147456]=0;N[147457]=0;n=0}L[c|0]=0;S[b+4400>>3]=i+n;S[b+4392>>3]=e;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+k|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}h=N[b+20>>2];if(h>>>0>=2){m=b+16|0;g=2;a=0;while(1){U:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;f=589824;break U}f=(m+(a<<3)|0)+8|0}l=S[b+4392>>3]+S[f>>3];e=S[b+4400>>3]+S[(m+(a<<3|8)|0)+8>>3];V:{if(O[c|0]){break V}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=l;if(S[c+8>>3]>l){S[c+8>>3]=l;l=S[b+4392>>3]}if(S[c+24>>3]>3]=l}l=S[b+4400>>3];if(l>3]){S[c+16>>3]=l;l=S[b+4400>>3]}if(S[c+32>>3]>3]=l}a=g;g=a+2|0;if(h>>>0>=g>>>0){continue}break}}N[b+20>>2]=0;break a}m=b+16|0;h=N[b+20>>2];if(h>>>0>=2){f=2;a=0;while(1){g=f;W:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;e=0;break W}e=S[(m+(a<<3)|0)+8>>3]}q=S[b+4400>>3];l=S[b+4392>>3]+e;X:{if(O[c|0]){break X}L[c|0]=1;e=S[b+4392>>3];if(e>3]){S[c+8>>3]=e;e=S[b+4392>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=q;S[b+4392>>3]=l;e=l;i=S[c+8>>3];if(e>3]=e;i=e;e=S[b+4392>>3]}r=S[c+24>>3];if(r>3]=e;r=e}p=S[c+16>>3];e=S[b+4400>>3];if(p>e){S[c+16>>3]=e;p=e;e=S[b+4400>>3]}n=S[c+32>>3];if(e>n){S[c+32>>3]=e;n=e}q=q+S[(m+(a<<3|8)|0)+8>>3];Y:{if(O[c|0]){break Y}L[c|0]=1;e=i;i=S[b+4392>>3];if(e>i){S[c+8>>3]=i;i=S[b+4392>>3]}if(i>r){S[c+24>>3]=i}i=S[b+4400>>3];if(p>i){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(i>n)){break Y}S[c+32>>3]=i}S[b+4400>>3]=q;S[b+4392>>3]=l;if(S[c+8>>3]>l){S[c+8>>3]=l;l=S[b+4392>>3]}if(S[c+24>>3]>3]=l}l=S[b+4400>>3];if(l>3]){S[c+16>>3]=l;l=S[b+4400>>3]}if(S[c+32>>3]>3]=l}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}}Z:{if(g>>>0>=h>>>0){break Z}l=S[b+4392>>3]+S[(m+(g<<3)|0)+8>>3];e=S[b+4400>>3];_:{if(O[c|0]){break _}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=l;if(S[c+8>>3]>l){S[c+8>>3]=l;l=S[b+4392>>3]}if(S[c+24>>3]>3]=l}l=S[b+4400>>3];if(l>3]){S[c+16>>3]=l;l=S[b+4400>>3]}if(!(S[c+32>>3]>3]=l}N[b+20>>2]=0;break a}m=b+16|0;h=N[b+20>>2];if(h>>>0>=2){f=2;a=0;while(1){g=f;$:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;e=0;break $}e=S[(m+(a<<3)|0)+8>>3]}l=S[b+4392>>3];q=S[b+4400>>3]+e;aa:{if(O[c|0]){break aa}L[c|0]=1;e=S[b+4392>>3];if(e>3]){S[c+8>>3]=e;e=S[b+4392>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=q;S[b+4392>>3]=l;i=S[c+8>>3];e=l;if(i>e){S[c+8>>3]=e;i=e;e=S[b+4392>>3]}r=S[c+24>>3];if(r>3]=e;r=e}p=S[c+16>>3];e=S[b+4400>>3];if(p>e){S[c+16>>3]=e;p=e;e=S[b+4400>>3]}n=S[c+32>>3];if(e>n){S[c+32>>3]=e;n=e}l=l+S[(m+(a<<3|8)|0)+8>>3];ba:{if(O[c|0]){break ba}L[c|0]=1;e=S[b+4392>>3];if(i>e){S[c+8>>3]=e;e=S[b+4392>>3]}if(e>r){S[c+24>>3]=e}e=S[b+4400>>3];if(p>e){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(e>n)){break ba}S[c+32>>3]=e}S[b+4400>>3]=q;S[b+4392>>3]=l;if(S[c+8>>3]>l){S[c+8>>3]=l;l=S[b+4392>>3]}if(S[c+24>>3]>3]=l}l=S[b+4400>>3];if(l>3]){S[c+16>>3]=l;l=S[b+4400>>3]}if(S[c+32>>3]>3]=l}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}}ca:{if(g>>>0>=h>>>0){break ca}e=S[b+4400>>3]+S[(m+(g<<3)|0)+8>>3];l=S[b+4392>>3];da:{if(O[c|0]){break da}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=l;if(S[c+8>>3]>l){S[c+8>>3]=l;l=S[b+4392>>3]}if(S[c+24>>3]>3]=l}l=S[b+4400>>3];if(l>3]){S[c+16>>3]=l;l=S[b+4400>>3]}if(!(S[c+32>>3]>3]=l}N[b+20>>2]=0;break a}g=N[b+20>>2];if(g>>>0>=6){j=b+16|0;m=b+4392|0;f=6;a=0;while(1){h=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=h;h=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=h;ea:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ea}h=(j+(a<<3)|0)+8|0}k=a|1;fa:{if(k>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break fa}i=S[(j+(k<<3)|0)+8>>3]}e=S[h>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+2|0;ga:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ga}h=(j+(h<<3)|0)+8|0}k=a+3|0;ha:{if(k>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ha}i=S[(j+(k<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;h=a+4|0;ia:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ia}h=(j+(h<<3)|0)+8|0}a=a+5|0;ja:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ja}i=S[(j+(a<<3)|0)+8>>3]}e=S[h>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);g=N[b+20>>2];a=f;f=a+6|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}a=N[b+20>>2];ka:{if(a>>>0<8){break ka}o=b+16|0;j=b+4392|0;m=a-2|0;k=6;a=0;while(1){f=k;g=N[j+12>>2];N[d+88>>2]=N[j+8>>2];N[d+92>>2]=g;g=N[j+4>>2];N[d+80>>2]=N[j>>2];N[d+84>>2]=g;k=N[b+20>>2];la:{if(k>>>0<=a>>>0){L[o|0]=1;N[147456]=0;N[147457]=0;g=589824;break la}g=((a<<3)+o|0)+8|0}h=a|1;ma:{if(h>>>0>=k>>>0){L[o|0]=1;N[147456]=0;N[147457]=0;i=0;break ma}i=S[((h<<3)+o|0)+8>>3]}e=S[g>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];g=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=g;g=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=g;g=a+2|0;na:{if(g>>>0>=k>>>0){L[o|0]=1;N[147456]=0;N[147457]=0;g=589824;break na}g=((g<<3)+o|0)+8|0}h=a+3|0;oa:{if(h>>>0>=k>>>0){L[o|0]=1;N[147456]=0;N[147457]=0;i=0;break oa}i=S[((h<<3)+o|0)+8>>3]}e=S[g>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];g=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=g;g=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=g;g=a+4|0;pa:{if(g>>>0>=k>>>0){L[o|0]=1;N[147456]=0;N[147457]=0;g=589824;break pa}g=((g<<3)+o|0)+8|0}a=a+5|0;qa:{if(a>>>0>=k>>>0){L[o|0]=1;N[147456]=0;N[147457]=0;i=0;break qa}i=S[((a<<3)+o|0)+8>>3]}e=S[g>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);a=f;k=a+6|0;if(m>>>0>=k>>>0){continue}break}h=b+4400|0;g=N[b+20>>2];ra:{if(g>>>0<=a>>>0){L[o|0]=1;N[147456]=0;N[147457]=0;f=589824;break ra}f=((a<<3)+o|0)+8|0}n=S[b+4392>>3];i=S[h>>3];a=a|1;sa:{if(a>>>0>=g>>>0){L[o|0]=1;N[147456]=0;N[147457]=0;e=0;break sa}e=S[((a<<3)+o|0)+8>>3]}i=i+e;l=n+S[f>>3];ta:{if(O[c|0]){break ta}L[c|0]=1;e=S[j>>3];if(e>3]){S[c+8>>3]=e;e=S[j>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=i;S[b+4392>>3]=l;if(S[c+8>>3]>l){S[c+8>>3]=l;l=S[j>>3]}if(S[c+24>>3]>3]=l}l=S[b+4400>>3];if(l>3]){S[c+16>>3]=l;l=S[b+4400>>3]}if(!(S[c+32>>3]>3]=l}N[b+20>>2]=0;break a}k=N[b+20>>2];if(k>>>0>=8){j=b+16|0;m=b+4392|0;h=k-6|0;f=2;a=0;while(1){g=f;ua:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break ua}f=(j+(a<<3)|0)+8|0}a=a|1;va:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break va}e=S[(j+(a<<3)|0)+8>>3]}e=S[b+4400>>3]+e;l=S[b+4392>>3]+S[f>>3];wa:{if(O[c|0]){break wa}L[c|0]=1;i=S[m>>3];if(i>3]){S[c+8>>3]=i;i=S[m>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=l;if(S[c+8>>3]>l){S[c+8>>3]=l;l=S[m>>3]}if(S[c+24>>3]>3]=l}l=S[b+4400>>3];if(l>3]){S[c+16>>3]=l;l=S[b+4400>>3]}if(S[c+32>>3]>3]=l}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}h=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=h;h=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=h;xa:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break xa}a=(j+(g<<3)|0)+8|0}h=g|1;ya:{if(h>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ya}i=S[(j+(h<<3)|0)+8>>3]}e=S[a>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;za:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break za}a=(j+(f<<3)|0)+8|0}f=g+3|0;Aa:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Aa}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g+4|0;Ba:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ba}a=(j+(a<<3)|0)+8|0}f=g+5|0;Ca:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ca}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;a=0;g=N[b+20>>2];if(g&1){S[d+80>>3]=S[d+80>>3]+S[b+24>>3];a=1}f=a|4;if(f>>>0<=g>>>0){j=b+16|0;m=b+4392|0;while(1){Da:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Da}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+1|0;Ea:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break Ea}h=(j+(h<<3)|0)+8|0}k=a+2|0;Fa:{if(k>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Fa}i=S[(j+(k<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;a=a+3|0;Ga:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ga}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;g=N[b+20>>2];a=f;f=a+4|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;a=0;g=N[b+20>>2];if(g&1){S[d+88>>3]=S[d+88>>3]+S[b+24>>3];a=1}f=a|4;if(f>>>0<=g>>>0){j=b+16|0;m=b+4392|0;while(1){Ha:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ha}e=S[(j+(a<<3)|0)+8>>3]}S[d+80>>3]=S[d+80>>3]+e;h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+1|0;Ia:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break Ia}h=(j+(h<<3)|0)+8|0}k=a+2|0;Ja:{if(k>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ja}i=S[(j+(k<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;a=a+3|0;Ka:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ka}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;g=N[b+20>>2];a=f;f=a+4|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}j=b+16|0;h=4;k=N[b+20>>2];if(k&4){break e}if(k>>>0<8){break d}g=b+4392|0;f=8;a=0;while(1){h=a;a=f;f=N[g+12>>2];N[d+88>>2]=N[g+8>>2];N[d+92>>2]=f;f=N[g+4>>2];N[d+80>>2]=N[g>>2];N[d+84>>2]=f;La:{if(h>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break La}e=S[(j+(h<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=h|1;Ma:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break Ma}f=(j+(f<<3)|0)+8|0}m=h|2;Na:{if(m>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Na}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=h|3;Oa:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Oa}e=S[(j+(f<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=f;f=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=f;k=N[b+20>>2];f=h|4;Pa:{if(k>>>0<=f>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Pa}e=S[(j+(f<<3)|0)+8>>3]}f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;S[d+80>>3]=S[d+80>>3]+e;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=h|5;Qa:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break Qa}f=(j+(f<<3)|0)+8|0}m=h|6;Ra:{if(m>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ra}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=h|7;Sa:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Sa}e=S[(j+(f<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;if(!(!(k&1)|k-h>>>0>15)){Ta:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ta}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e}Rb(b,c,d+80|0,d- -64|0,d+48|0);f=a+8|0;k=N[b+20>>2];if(f>>>0<=k>>>0){continue}break}break d}j=b+16|0;a=4;k=N[b+20>>2];if(k&4){break g}if(k>>>0<8){break f}g=b+4392|0;f=8;while(1){m=h;h=f;a=N[g+12>>2];N[d+88>>2]=N[g+8>>2];N[d+92>>2]=a;a=N[g+4>>2];N[d+80>>2]=N[g>>2];N[d+84>>2]=a;Ua:{if(k>>>0<=m>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ua}e=S[(j+(m<<3)|0)+8>>3]}a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+80>>3]=S[d+80>>3]+e;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=m|1;Va:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Va}a=(j+(a<<3)|0)+8|0}f=m|2;Wa:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Wa}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=m|3;Xa:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Xa}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=a;a=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=a;k=N[b+20>>2];a=m|4;Ya:{if(k>>>0<=a>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ya}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=m|5;Za:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Za}a=(j+(a<<3)|0)+8|0}f=m|6;_a:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break _a}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=m|7;$a:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break $a}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;if(!(!(k&1)|k-m>>>0>15)){ab:{if(h>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break ab}e=S[(j+(h<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e}Rb(b,c,d+80|0,d- -64|0,d+48|0);f=h+8|0;k=N[b+20>>2];if(f>>>0<=k>>>0){continue}break}break f}bb:{if(N[b+20>>2]==7){a=b+4400|0;g=N[a>>2];f=N[a+4>>2];N[d+88>>2]=g;N[d+92>>2]=f;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;S[d+80>>3]=S[d+80>>3]+S[b+24>>3];N[d+72>>2]=g;N[d+76>>2]=f;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];g=f;a=N[d+72>>2];N[d+56>>2]=a;N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+48>>3]=S[d+48>>3]+S[b+48>>3];N[d+40>>2]=a;N[d+44>>2]=g;f=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=f;S[d+32>>3]=S[d+32>>3]+S[b+56>>3];N[d+24>>2]=a;N[d+28>>2]=g;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;S[d+16>>3]=S[d+16>>3]+S[b- -64>>3];a=N[d+92>>2];f=N[d+88>>2];N[d+24>>2]=f;N[d+28>>2]=a;N[d+8>>2]=f;N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;S[d>>3]=S[d>>3]+S[b+72>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break bb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}cb:{if(N[b+20>>2]==13){f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;e=S[b+24>>3];S[d+88>>3]=S[d+88>>3]+S[b+32>>3];S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+40>>3];S[d+72>>3]=S[d+72>>3]+S[b+48>>3];S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;e=S[b+56>>3];S[d+56>>3]=S[d+56>>3]+S[b- -64>>3];S[d+48>>3]=e+S[d+48>>3];a=N[d+60>>2];N[d+40>>2]=N[d+56>>2];N[d+44>>2]=a;a=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=a;e=S[b+72>>3];S[d+40>>3]=S[d+40>>3]+S[b+80>>3];S[d+32>>3]=e+S[d+32>>3];a=N[d+44>>2];N[d+24>>2]=N[d+40>>2];N[d+28>>2]=a;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;e=S[b+88>>3];S[d+24>>3]=S[d+24>>3]+S[b+96>>3];S[d+16>>3]=e+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;e=S[b+104>>3];S[d+8>>3]=S[d+8>>3]+S[b+112>>3];S[d>>3]=e+S[d>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break cb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}db:{if(N[b+20>>2]==9){h=b+4400|0;a=N[h+4>>2];N[d+88>>2]=N[h>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;e=S[b+24>>3];S[d+88>>3]=S[d+88>>3]+S[b+32>>3];S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+40>>3];S[d+72>>3]=S[d+72>>3]+S[b+48>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];g=f;a=N[d+72>>2];N[d+56>>2]=a;N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+48>>3]=S[d+48>>3]+S[b+56>>3];N[d+40>>2]=a;N[d+44>>2]=g;f=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=f;S[d+32>>3]=S[d+32>>3]+S[b- -64>>3];N[d+24>>2]=a;N[d+28>>2]=g;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;e=S[b+72>>3];S[d+24>>3]=S[d+24>>3]+S[b+80>>3];S[d+16>>3]=e+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;S[d>>3]=S[d>>3]+S[b+88>>3];a=N[h+4>>2];N[d+8>>2]=N[h>>2];N[d+12>>2]=a;Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break db}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}eb:{if(N[b+20>>2]==11){s=S[b+88>>3];t=S[b+96>>3];u=S[b+72>>3];q=S[b+80>>3];l=S[b+56>>3];r=S[b- -64>>3];p=S[b+40>>3];n=S[b+48>>3];i=S[b+24>>3];e=S[b+32>>3];g=b+4400|0;a=N[g+4>>2];N[d+88>>2]=N[g>>2];N[d+92>>2]=a;f=N[b+4392>>2];a=N[b+4396>>2];S[d+88>>3]=e+S[d+88>>3];N[d+80>>2]=f;N[d+84>>2]=a;S[d+80>>3]=i+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+72>>3]=n+S[d+72>>3];a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;S[d+64>>3]=p+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+56>>3]=r+S[d+56>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;S[d+48>>3]=l+S[d+48>>3];a=N[d+60>>2];N[d+40>>2]=N[d+56>>2];N[d+44>>2]=a;S[d+40>>3]=q+S[d+40>>3];a=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=a;S[d+32>>3]=u+S[d+32>>3];a=N[d+44>>2];N[d+24>>2]=N[d+40>>2];N[d+28>>2]=a;S[d+24>>3]=t+S[d+24>>3];a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;S[d+16>>3]=s+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;fb:{if(V(s+(u+(l+(p+(i+0)))))>V(t+(q+(r+(n+(e+0)))))){S[d>>3]=S[d>>3]+S[b+104>>3];a=N[g+4>>2];N[d+8>>2]=N[g>>2];N[d+12>>2]=a;break fb}a=N[b+4396>>2];N[d>>2]=N[b+4392>>2];N[d+4>>2]=a;S[d+8>>3]=S[d+8>>3]+S[b+104>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break eb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}uf(a,b);break a}f=b+4400|0;h=N[f>>2];g=N[f+4>>2];N[d+88>>2]=h;N[d+92>>2]=g;f=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=f;S[d+80>>3]=S[d+80>>3]+S[b+24>>3];N[d+72>>2]=h;N[d+76>>2]=g;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+56>>3]=S[d+56>>3]+S[b+48>>3];f=12;if(k>>>0>=12){h=b+4392|0;g=4;while(1){a=f;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[h+12>>2];N[d+88>>2]=N[h+8>>2];N[d+92>>2]=f;f=N[h+4>>2];N[d+80>>2]=N[h>>2];N[d+84>>2]=f;k=N[b+20>>2];gb:{if(k>>>0<=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break gb}e=S[(j+(g<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=g|1;hb:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break hb}f=(j+(f<<3)|0)+8|0}m=g|2;ib:{if(m>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ib}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=g|3;jb:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break jb}e=S[(j+(f<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=f;f=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=f;k=N[b+20>>2];f=g+4|0;kb:{if(k>>>0<=f>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break kb}e=S[(j+(f<<3)|0)+8>>3]}f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;S[d+80>>3]=S[d+80>>3]+e;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=g+5|0;lb:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break lb}f=(j+(f<<3)|0)+8|0}m=g+6|0;mb:{if(m>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break mb}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=g+7|0;nb:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break nb}e=S[(j+(f<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;g=a;f=a+8|0;if(f>>>0<=k>>>0){continue}break}}if(a>>>0>>0){S[d+48>>3]=S[d+48>>3]+S[(j+(a<<3)|0)+8>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;g=N[b+4396>>2];a=N[b+4392>>2];N[d+80>>2]=a;N[d+84>>2]=g;S[d+88>>3]=S[d+88>>3]+S[b+24>>3];f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;N[d+64>>2]=a;N[d+68>>2]=g;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;S[d+48>>3]=S[d+48>>3]+S[b+48>>3];f=12;if(k>>>0>=12){m=b+4392|0;g=4;while(1){h=f;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;k=N[b+20>>2];ob:{if(k>>>0<=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break ob}e=S[(j+(g<<3)|0)+8>>3]}a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+80>>3]=S[d+80>>3]+e;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=g|1;pb:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break pb}a=(j+(a<<3)|0)+8|0}f=g|2;qb:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break qb}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g|3;rb:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break rb}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=a;a=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=a;k=N[b+20>>2];a=g+4|0;sb:{if(k>>>0<=a>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break sb}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=g+5|0;tb:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break tb}a=(j+(a<<3)|0)+8|0}f=g+6|0;ub:{if(f>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ub}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g+7|0;vb:{if(a>>>0>=k>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break vb}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;g=h;f=g+8|0;if(f>>>0<=k>>>0){continue}break}}if(h>>>0>>0){S[d+56>>3]=S[d+56>>3]+S[(j+(h<<3)|0)+8>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}L[h|0]=1;N[147456]=0;N[147457]=0;p=0}e=S[k>>3];L[c|0]=0;S[b+4400>>3]=n+e;S[b+4392>>3]=i+p;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+f|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0}La=d+96|0}function wq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!(O[a+16|0]&16)){N[a+72>>2]=0;N[a+64>>2]=0;M[a+62>>1]=1;N[a+84>>2]=N[a+80>>2];h=N[a+68>>2];b:{c:{d:{c=N[a+44>>2];if((c|0)<=1299145832){if((c|0)>1198879348){break d}if((c|0)>1147500128){break c}if((c|0)!=1113943655){if((c|0)!=1114792296|h>>>0<2){break b}b=1;e:{while(1){if(!O[a+60|0]){break b}e=69688;f:{g:{h:{i:{j:{k:{c=N[a+80>>2];switch(N[c+T(d,20)>>2]-69637|0){case 0:break i;case 10:break j;case 6:break k;default:break h}}e=69694;break i}e=69698}i=N[T(b,20)+c>>2];l:{if(O[a+62|0]){b=N[a+84>>2];f=N[a+72>>2];if((b|0)!=(c|0)|(f|0)!=(d|0)){g=f+1|0;if(!(!g|g>>>0>2])){if(!gb(a,g)){break l}f=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}m:{if((b|0)!=(c|0)){break m}if(f+1>>>0<=d+1>>>0){b=c;break m}if(!O[a+62|0]){break f}b=N[a+88>>2];N[a+84>>2]=b;g=T(f,20);if(!g){break m}B(b,c,g);f=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(f,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if((e|0)!=(i|0)){break g}Wb(a);break g}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break g}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}n:{if((b|0)!=(c|0)){break n}if(e+1>>>0<=d+1>>>0){b=c;break n}if(!O[a+62|0]){break e}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break n}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];b=d+1|0;if(h>>>0>b>>>0){continue}break b}break}break a}break a}if(h>>>0<2){break b}b=1;o:{while(1){if(!O[a+60|0]){break b}e=2494;p:{q:{r:{s:{t:{u:{c=N[a+80>>2];switch(N[c+T(d,20)>>2]-2437|0){case 0:break s;case 7:break t;case 6:break u;default:break r}}e=2499;break s}e=2530}i=N[T(b,20)+c>>2];v:{if(O[a+62|0]){b=N[a+84>>2];f=N[a+72>>2];if((b|0)!=(c|0)|(f|0)!=(d|0)){g=f+1|0;if(!(!g|g>>>0>2])){if(!gb(a,g)){break v}f=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}w:{if((b|0)!=(c|0)){break w}if(f+1>>>0<=d+1>>>0){b=c;break w}if(!O[a+62|0]){break p}b=N[a+88>>2];N[a+84>>2]=b;g=T(f,20);if(!g){break w}B(b,c,g);f=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(f,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if((e|0)!=(i|0)){break q}Wb(a);break q}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break q}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}x:{if((b|0)!=(c|0)){break x}if(e+1>>>0<=d+1>>>0){b=c;break x}if(!O[a+62|0]){break o}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break x}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];b=d+1|0;if(h>>>0>b>>>0){continue}break b}break}break a}break a}if((c|0)<=1415670641){y:{z:{switch(c-1399418468|0){default:if((c|0)==1299145833){break y}if((c|0)!=1332902241|h>>>0<2){break b}b=1;while(1){if(!O[a+60|0]){break b}e=2878;A:{B:{C:{D:{c=N[a+80>>2];switch(N[c+T(d,20)>>2]-2821|0){case 0:break C;case 10:case 14:break D;default:break B}}e=2903}i=N[T(b,20)+c>>2];E:{if(O[a+62|0]){b=N[a+84>>2];f=N[a+72>>2];if((b|0)!=(c|0)|(f|0)!=(d|0)){g=f+1|0;if(!(!g|g>>>0>2])){if(!gb(a,g)){break E}f=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}F:{if((b|0)!=(c|0)){break F}if(f+1>>>0<=d+1>>>0){b=c;break F}if(!O[a+62|0]){break a}b=N[a+88>>2];N[a+84>>2]=b;g=T(f,20);if(!g){break F}B(b,c,g);f=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(f,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if((e|0)!=(i|0)){break A}Wb(a);break A}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break A}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}G:{if((b|0)!=(c|0)){break G}if(e+1>>>0<=d+1>>>0){b=c;break G}if(!O[a+62|0]){break a}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break G}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];b=d+1|0;if(h>>>0>b>>>0){continue}break};break b;case 4:if(h>>>0<2){break b}e=1;while(1){if(!O[a+60|0]){break b}H:{I:{J:{K:{L:{M:{N:{O:{c=N[a+80>>2];switch(N[c+T(d,20)>>2]-3461|0){case 0:break L;case 12:break M;case 8:break N;case 6:case 10:case 15:break O;default:break I}}e=N[T(e,20)+c>>2]==3551;break K}e=N[T(e,20)+c>>2]==3544;break K}b=N[T(e,20)+c>>2]-3530|0;if(b>>>0>20|!(1<>2]==(c|0)){c=d;if((d|0)==N[a+72>>2]){break P}}if(!wd(a)){break J}d=N[a+80>>2]+T(N[a+64>>2],20)|0;c=N[d+4>>2];b=N[a+84>>2]+T(N[a+72>>2],20)|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[a+64>>2]=d+1;Wb(a);break H}e=N[T(e,20)+c>>2]-3535>>>0<3}Q:{if(O[a+62|0]){f=N[a+84>>2];b=N[a+72>>2];if((f|0)!=(c|0)|(d|0)!=(b|0)){g=b+1|0;if(!(!g|g>>>0>2])){if(!gb(a,g)){break Q}b=N[a+72>>2];d=N[a+64>>2];f=N[a+84>>2];c=N[a+80>>2]}R:{if((c|0)!=(f|0)){break R}if(b+1>>>0<=d+1>>>0){f=c;break R}if(!O[a+62|0]){break a}f=N[a+88>>2];N[a+84>>2]=f;g=T(b,20);if(!g){break R}B(f,c,g);b=N[a+72>>2];f=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(b,20)+f|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if(!e){break H}}Wb(a);break H}if(O[a+62|0]){S:{if(N[a+84>>2]==(c|0)){c=d;if((d|0)==N[a+72>>2]){break S}}if(!wd(a)){break H}d=N[a+80>>2]+T(N[a+64>>2],20)|0;c=N[d+4>>2];b=N[a+84>>2]+T(N[a+72>>2],20)|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];e=d+1|0;if(h>>>0>e>>>0){continue}break};break b;case 1:case 2:case 3:break b;case 0:break z}}if(h>>>0<2){break b}e=1;while(1){if(!O[a+60|0]){break b}T:{U:{c=N[a+80>>2];if(N[c+T(d,20)>>2]!=70320){break U}b=N[T(e,20)+c>>2];if(b-70373>>>0>=4&(b|0)!=70368){break U}V:{if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break V}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}W:{if((b|0)!=(c|0)){break W}if(e+1>>>0<=d+1>>>0){b=c;break W}if(!O[a+62|0]){break a}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break W}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}Wb(a);d=N[a+64>>2];break T}X:{if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break X}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}Y:{if((b|0)!=(c|0)){break Y}if(e+1>>>0<=d+1>>>0){b=c;break Y}if(!O[a+62|0]){break a}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break Y}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];c=N[a+80>>2];d=N[a+64>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}d=d+1|0;N[a+64>>2]=d;break T}d=N[a+64>>2]}e=d+1|0;if(h>>>0>e>>>0){continue}break}break b}if(h>>>0<2){break b}e=1;Z:{while(1){if(!O[a+60|0]){break b}_:{c=N[a+80>>2];$:{if((N[c+T(d,20)>>2]&-2)==71168){g=N[T(e,20)+c>>2];aa:{if(O[a+62|0]){f=N[a+84>>2];b=N[a+72>>2];if((f|0)!=(c|0)|(d|0)!=(b|0)){e=b+1|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break aa}b=N[a+72>>2];d=N[a+64>>2];f=N[a+84>>2];c=N[a+80>>2]}ba:{if((c|0)!=(f|0)){break ba}if(b+1>>>0<=d+1>>>0){f=c;break ba}if(!O[a+62|0]){break _}f=N[a+88>>2];N[a+84>>2]=f;e=T(b,20);if(!e){break ba}B(f,c,e);b=N[a+72>>2];f=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(b,20)+f|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if(g-71225>>>0>1){break $}Wb(a);break $}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break $}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}ca:{if((b|0)!=(c|0)){break ca}if(e+1>>>0<=d+1>>>0){b=c;break ca}if(!O[a+62|0]){break Z}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break ca}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];e=d+1|0;if(h>>>0>e>>>0){continue}break b}break}break a}break a}if((c|0)<=1415933044){if((c|0)!=1415670642){if((c|0)!=1415671148|h>>>0<2){break b}e=1;while(1){if(!O[a+60|0]){break b}c=N[a+80>>2];da:{if(N[c+T(d,20)>>2]==2949){g=N[T(e,20)+c>>2];ea:{if(O[a+62|0]){f=N[a+84>>2];b=N[a+72>>2];if((f|0)!=(c|0)|(d|0)!=(b|0)){e=b+1|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break ea}b=N[a+72>>2];d=N[a+64>>2];f=N[a+84>>2];c=N[a+80>>2]}fa:{if((c|0)!=(f|0)){break fa}if(b+1>>>0<=d+1>>>0){f=c;break fa}if(!O[a+62|0]){break a}f=N[a+88>>2];N[a+84>>2]=f;e=T(b,20);if(!e){break fa}B(f,c,e);b=N[a+72>>2];f=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(b,20)+f|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if((g|0)!=3010){break da}Wb(a);break da}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break da}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}ga:{if((b|0)!=(c|0)){break ga}if(e+1>>>0<=d+1>>>0){b=c;break ga}if(!O[a+62|0]){break a}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break ga}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];e=d+1|0;if(h>>>0>e>>>0){continue}break}break b}if(h>>>0<2){break b}e=1;while(1){if(!O[a+60|0]){break b}ha:{ia:{ja:{ka:{la:{c=N[a+80>>2];switch(N[c+T(d,20)>>2]-71296|0){case 6:break ka;case 0:break la;default:break ia}}b=N[T(e,20)+c>>2]-71341|0;if(b>>>0>8|!(1<>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break ja}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}ma:{if((b|0)!=(c|0)){break ma}if(e+1>>>0<=d+1>>>0){b=c;break ma}if(!O[a+62|0]){break a}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break ma}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1;Wb(a);break ha}g=N[T(e,20)+c>>2];na:{if(O[a+62|0]){f=N[a+84>>2];b=N[a+72>>2];if((f|0)!=(c|0)|(d|0)!=(b|0)){e=b+1|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break na}b=N[a+72>>2];d=N[a+64>>2];f=N[a+84>>2];c=N[a+80>>2]}oa:{if((c|0)!=(f|0)){break oa}if(b+1>>>0<=d+1>>>0){f=c;break oa}if(!O[a+62|0]){break a}f=N[a+88>>2];N[a+84>>2]=f;e=T(b,20);if(!e){break oa}B(f,c,e);b=N[a+72>>2];f=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(b,20)+f|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if((g|0)!=71346){break ha}}Wb(a);break ha}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break ha}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}pa:{if((b|0)!=(c|0)){break pa}if(e+1>>>0<=d+1>>>0){b=c;break pa}if(!O[a+62|0]){break a}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break pa}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];e=d+1|0;if(h>>>0>e>>>0){continue}break}break b}if((c|0)!=1415933045){if((c|0)!=1416196712|h>>>0<2){break b}e=1;while(1){if(!O[a+60|0]){break b}qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{c=N[a+80>>2];b=N[c+T(d,20)>>2];switch(b-70785|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break ua;case 10:case 12:break wa;case 0:break xa;default:break va}}e=N[T(e,20)+c>>2]==70832;break sa}e=N[T(e,20)+c>>2]==70842;break sa}if((b|0)==70826){break ta}}ya:{if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break ra}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}za:{if((b|0)!=(c|0)){break za}if(e+1>>>0<=d+1>>>0){b=c;break za}if(!O[a+62|0]){break ya}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break za}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1;break ra}break a}e=N[T(e,20)+c>>2]-70837>>>0<2}Aa:{if(O[a+62|0]){f=N[a+84>>2];b=N[a+72>>2];if((f|0)!=(c|0)|(d|0)!=(b|0)){g=b+1|0;if(!(!g|g>>>0>2])){if(!gb(a,g)){break Aa}b=N[a+72>>2];d=N[a+64>>2];f=N[a+84>>2];c=N[a+80>>2]}Ba:{if((c|0)!=(f|0)){break Ba}if(b+1>>>0<=d+1>>>0){f=c;break Ba}if(!O[a+62|0]){break qa}f=N[a+88>>2];N[a+84>>2]=f;g=T(b,20);if(!g){break Ba}B(f,c,g);b=N[a+72>>2];f=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(b,20)+f|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if(!e){break ra}Wb(a)}d=N[a+64>>2];e=d+1|0;if(h>>>0>e>>>0){continue}break b}break}break a}if(h>>>0<2){break b}e=1;Ca:{while(1){if(!O[a+60|0]){break b}Da:{Ea:{Fa:{c=N[a+80>>2];f=N[c+T(d,20)>>2];b=f-3135|0;Ga:{if(!(b>>>0>11|!(1<>2]==3157;break Ga}if((f|0)!=3090){break Fa}b=N[T(e,20)+c>>2];e=(b|0)==3148|(b|0)==3157}Ha:{if(O[a+62|0]){f=N[a+84>>2];b=N[a+72>>2];if((f|0)!=(c|0)|(d|0)!=(b|0)){g=b+1|0;if(!(!g|g>>>0>2])){if(!gb(a,g)){break Ha}b=N[a+72>>2];d=N[a+64>>2];f=N[a+84>>2];c=N[a+80>>2]}Ia:{if((c|0)!=(f|0)){break Ia}if(b+1>>>0<=d+1>>>0){f=c;break Ia}if(!O[a+62|0]){break Da}f=N[a+88>>2];N[a+84>>2]=f;g=T(b,20);if(!g){break Ia}B(f,c,g);b=N[a+72>>2];f=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(b,20)+f|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if(!e){break Ea}Wb(a);break Ea}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break Ea}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}Ja:{if((b|0)!=(c|0)){break Ja}if(e+1>>>0<=d+1>>>0){b=c;break Ja}if(!O[a+62|0]){break Ca}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break Ja}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];e=d+1|0;if(h>>>0>e>>>0){continue}break b}break}break a}break a}if((c|0)<=1265525856){if((c|0)!=1198879349){if((c|0)!=1265135466|h>>>0<2){break b}e=1;Ka:{while(1){if(!O[a+60|0]){break b}La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{c=N[a+80>>2];b=N[c+T(d,20)>>2];switch(b-70144|0){case 1:case 2:case 3:case 4:case 5:break Na;case 6:break Ra;case 0:break Sa;default:break Ta}}if((b|0)==70188){break Qa}if((b|0)!=70208){break Na}e=N[T(e,20)+c>>2]==70190;break Pa}b=N[T(e,20)+c>>2]-70188|0;if(b>>>0>7|!(1<>2]==(c|0)){c=d;if((d|0)==N[a+72>>2]){break Ua}}if(!wd(a)){break Oa}d=N[a+80>>2]+T(N[a+64>>2],20)|0;c=N[d+4>>2];b=N[a+84>>2]+T(N[a+72>>2],20)|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[a+64>>2]=d+1;Wb(a);break Ma}e=N[T(e,20)+c>>2]==70188;break Pa}e=(N[T(e,20)+c>>2]&-2)==70192}Va:{if(O[a+62|0]){f=N[a+84>>2];b=N[a+72>>2];if((f|0)!=(c|0)|(d|0)!=(b|0)){g=b+1|0;if(!(!g|g>>>0>2])){if(!gb(a,g)){break Va}b=N[a+72>>2];d=N[a+64>>2];f=N[a+84>>2];c=N[a+80>>2]}Wa:{if((c|0)!=(f|0)){break Wa}if(b+1>>>0<=d+1>>>0){f=c;break Wa}if(!O[a+62|0]){break La}f=N[a+88>>2];N[a+84>>2]=f;g=T(b,20);if(!g){break Wa}B(f,c,g);b=N[a+72>>2];f=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(b,20)+f|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if(!e){break Ma}}Wb(a);break Ma}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break Ma}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}Xa:{if((b|0)!=(c|0)){break Xa}if(e+1>>>0<=d+1>>>0){b=c;break Xa}if(!O[a+62|0]){break Ka}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break Xa}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];e=d+1|0;if(h>>>0>e>>>0){continue}break b}break}break a}break a}if(h>>>0<2){break b}e=1;while(1){if(!O[a+60|0]){break b}Ya:{Za:{_a:{$a:{ab:{bb:{c=N[a+80>>2];b=N[c+T(d,20)>>2];switch(b-2674|0){case 1:break $a;case 0:break ab;default:break bb}}if((b|0)!=2565){break Za}b=N[T(e,20)+c>>2]-2622|0;if(b>>>0>14|!(1<>2]-2623|0;if(b>>>0>8){break Za}if(1<>2]-2625|0;if(b>>>0>10|!(1<>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break db}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}eb:{if((b|0)!=(c|0)){break eb}if(e+1>>>0<=d+1>>>0){b=c;break eb}if(!O[a+62|0]){break cb}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break eb}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}Wb(a);d=N[a+64>>2];break Ya}break a}fb:{if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break fb}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}gb:{if((b|0)!=(c|0)){break gb}if(e+1>>>0<=d+1>>>0){b=c;break gb}if(!O[a+62|0]){break a}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break gb}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];c=N[a+80>>2];d=N[a+64>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}d=d+1|0;N[a+64>>2]=d;break Ya}d=N[a+64>>2]}e=d+1|0;if(h>>>0>e>>>0){continue}break}break b}if((c|0)!=1265525857){if((c|0)!=1298954605|h>>>0<2){break b}e=1;hb:{while(1){if(!O[a+60|0]){break b}ib:{jb:{kb:{lb:{mb:{nb:{ob:{c=N[a+80>>2];switch(N[c+T(d,20)>>2]-3335|0){case 11:break mb;case 7:break nb;case 0:case 2:break ob;default:break kb}}e=N[T(e,20)+c>>2]==3415;break lb}e=N[T(e,20)+c>>2]==3398;break lb}b=N[T(e,20)+c>>2];e=(b|0)==3390|(b|0)==3415}pb:{if(O[a+62|0]){f=N[a+84>>2];b=N[a+72>>2];if((f|0)!=(c|0)|(d|0)!=(b|0)){g=b+1|0;if(!(!g|g>>>0>2])){if(!gb(a,g)){break pb}b=N[a+72>>2];d=N[a+64>>2];f=N[a+84>>2];c=N[a+80>>2]}qb:{if((c|0)!=(f|0)){break qb}if(b+1>>>0<=d+1>>>0){f=c;break qb}if(!O[a+62|0]){break ib}f=N[a+88>>2];N[a+84>>2]=f;g=T(b,20);if(!g){break qb}B(f,c,g);b=N[a+72>>2];f=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(b,20)+f|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if(!e){break jb}Wb(a);break jb}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break jb}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}rb:{if((b|0)!=(c|0)){break rb}if(e+1>>>0<=d+1>>>0){b=c;break rb}if(!O[a+62|0]){break hb}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break rb}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];e=d+1|0;if(h>>>0>e>>>0){continue}break b}break}break a}break a}if(h>>>0<2){break b}b=1;sb:{while(1){if(!O[a+60|0]){break b}e=3262;tb:{ub:{vb:{wb:{xb:{c=N[a+80>>2];switch(N[c+T(d,20)>>2]-3209|0){case 0:case 2:break wb;case 9:break xb;default:break vb}}e=3276}i=N[T(b,20)+c>>2];yb:{if(O[a+62|0]){b=N[a+84>>2];f=N[a+72>>2];if((b|0)!=(c|0)|(f|0)!=(d|0)){g=f+1|0;if(!(!g|g>>>0>2])){if(!gb(a,g)){break yb}f=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}zb:{if((b|0)!=(c|0)){break zb}if(f+1>>>0<=d+1>>>0){b=c;break zb}if(!O[a+62|0]){break tb}b=N[a+88>>2];N[a+84>>2]=b;g=T(f,20);if(!g){break zb}B(b,c,g);f=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(f,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if((e|0)!=(i|0)){break ub}Wb(a);break ub}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break ub}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}Ab:{if((b|0)!=(c|0)){break Ab}if(e+1>>>0<=d+1>>>0){b=c;break Ab}if(!O[a+62|0]){break sb}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break Ab}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];b=d+1|0;if(h>>>0>b>>>0){continue}break b}break}break a}break a}if((c|0)!=1147500129){if((c|0)!=1198877298|h>>>0<2){break b}e=1;Bb:{while(1){if(!O[a+60|0]){break b}Cb:{Db:{Eb:{c=N[a+80>>2];b=N[c+T(d,20)>>2];Fb:{if((b|0)!=2757){if((b|0)!=2693){break Eb}b=N[T(e,20)+c>>2]-2750|0;if(b>>>0>14|!(1<>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break Fb}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}Gb:{if((b|0)!=(c|0)){break Gb}if(e+1>>>0<=d+1>>>0){b=c;break Gb}if(!O[a+62|0]){break Cb}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break Gb}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1;Wb(a);break Db}g=N[T(e,20)+c>>2];Hb:{if(O[a+62|0]){f=N[a+84>>2];b=N[a+72>>2];if((f|0)!=(c|0)|(d|0)!=(b|0)){e=b+1|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break Hb}b=N[a+72>>2];d=N[a+64>>2];f=N[a+84>>2];c=N[a+80>>2]}Ib:{if((c|0)!=(f|0)){break Ib}if(b+1>>>0<=d+1>>>0){f=c;break Ib}if(!O[a+62|0]){break a}f=N[a+88>>2];N[a+84>>2]=f;e=T(b,20);if(!e){break Ib}B(f,c,e);b=N[a+72>>2];f=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(b,20)+f|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if((g|0)!=2750){break Db}}Wb(a);break Db}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break Db}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}Jb:{if((b|0)!=(c|0)){break Jb}if(e+1>>>0<=d+1>>>0){b=c;break Jb}if(!O[a+62|0]){break Bb}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break Jb}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];e=d+1|0;if(h>>>0>e>>>0){continue}break b}break}break a}break a}if(h>>>0<2){break b}e=1;while(1){if(!O[a+60|0]){break b}Kb:{Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{Rb:{Sb:{Tb:{Ub:{Vb:{Wb:{Xb:{c=N[a+80>>2];switch(N[c+T(d,20)>>2]-2309|0){case 4:break Sb;case 43:break Ub;case 10:break Vb;case 1:break Wb;case 0:break Xb;default:break Lb}}b=N[T(e,20)+c>>2]-2362|0;if(b>>>0>29|!(1<>2];if(b-2373>>>0<4|(b|0)==2362){break Tb}break Lb}e=N[T(e,20)+c>>2]-2373>>>0<3;break Rb}if(N[T(e,20)+c>>2]!=2381){break Lb}b=d+2|0;if(b>>>0>=h>>>0|N[T(b,20)+c>>2]!=2311){break Lb}Ng(a)}if(!O[a+62|0]){break Nb}c=N[a+84>>2];e=N[a+80>>2];d=N[a+72>>2];if((c|0)==(e|0)&(d|0)==N[a+64>>2]){break Ob}b=d+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Mb}d=N[a+72>>2];e=N[a+80>>2];c=N[a+84>>2]}b=N[a+64>>2];if((c|0)!=(e|0)){break Pb}if(d+1>>>0>b+1>>>0){break Qb}c=e;break Pb}e=N[T(e,20)+c>>2]==2369}Yb:{if(O[a+62|0]){f=N[a+84>>2];b=N[a+72>>2];if((f|0)!=(c|0)|(d|0)!=(b|0)){g=b+1|0;if(!(!g|g>>>0>2])){if(!gb(a,g)){break Yb}b=N[a+72>>2];d=N[a+64>>2];f=N[a+84>>2];c=N[a+80>>2]}Zb:{if((c|0)!=(f|0)){break Zb}if(b+1>>>0<=d+1>>>0){f=c;break Zb}if(!O[a+62|0]){break a}f=N[a+88>>2];N[a+84>>2]=f;g=T(b,20);if(!g){break Zb}B(f,c,g);b=N[a+72>>2];f=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(b,20)+f|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}if(e){break Mb}break Kb}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;f=T(d,20);if(!f){break Pb}B(c,e,f);d=N[a+72>>2];c=N[a+84>>2];b=N[a+64>>2];e=N[a+80>>2]}f=T(d,20)+c|0;d=T(b,20)+e|0;c=N[d+4>>2];N[f>>2]=N[d>>2];N[f+4>>2]=c;N[f+16>>2]=N[d+16>>2];c=N[d+12>>2];N[f+8>>2]=N[d+8>>2];N[f+12>>2]=c;d=N[a+72>>2]}N[a+72>>2]=d+1}N[a+64>>2]=N[a+64>>2]+1}Wb(a);break Kb}if(O[a+62|0]){b=N[a+84>>2];e=N[a+72>>2];if((b|0)!=(c|0)|(e|0)!=(d|0)){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(a,f)){break Kb}e=N[a+72>>2];d=N[a+64>>2];b=N[a+84>>2];c=N[a+80>>2]}_b:{if((b|0)!=(c|0)){break _b}if(e+1>>>0<=d+1>>>0){b=c;break _b}if(!O[a+62|0]){break a}b=N[a+88>>2];N[a+84>>2]=b;f=T(e,20);if(!f){break _b}B(b,c,f);e=N[a+72>>2];b=N[a+84>>2];d=N[a+64>>2];c=N[a+80>>2]}d=T(d,20)+c|0;c=N[d+4>>2];b=T(e,20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;d=N[a+64>>2];c=N[a+72>>2]}else{c=d}N[a+72>>2]=c+1}N[a+64>>2]=d+1}d=N[a+64>>2];e=d+1|0;if(h>>>0>e>>>0){continue}break}}zc(a)}return}ba(8694,17855,209,11932);F()}function sr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=N[a+660>>2];if(e){tg(e);N[a+660>>2]=0}v=N[a+380>>2];d=O[b+11|0];f=d<<24>>24<0;e=f?N[b>>2]:b;b=f?N[b+4>>2]:d;p=La-352|0;La=p;a:{if(!e){break a}u=kb(b+1|0);if(!u){break a}B(u,e,b);L[b+u|0]=0;b:{h=db(1,104);if(h){N[h+84>>2]=v;e=db(1,40);N[h+88>>2]=e;c:{d:{if(!e){break d}b=kb(2880);N[147316]=b?0:48;N[h+16>>2]=b;if(!b){break d}N[h>>2]=1;N[h+4>>2]=20;G(b,0,144);d=Hb(9439);N[b>>2]=d;f=Hb(13519);N[b+116>>2]=20;N[b+104>>2]=2;N[b+96>>2]=0;N[b+100>>2]=1074266112;N[b+88>>2]=0;N[b+92>>2]=1073741824;N[b+80>>2]=1;N[b+64>>2]=0;N[b+68>>2]=0;N[b+56>>2]=0;N[b+60>>2]=1072693248;N[b+48>>2]=0;N[b+52>>2]=1072693248;N[b+32>>2]=200;N[b+24>>2]=0;N[b+28>>2]=128;N[b+16>>2]=-256;N[b+20>>2]=16776960;N[b+8>>2]=0;N[b+12>>2]=1077018624;N[b+4>>2]=f;N[b+108>>2]=20;N[b+112>>2]=20;if(f?d:0){break c}_a(d);_a(N[b+4>>2])}_a(e);_a(h);_a(u);break a}N[e+28>>2]=1;s=u;while(1){g=1;e:{f:{g:{c=s;b=O[c|0];switch(b-10|0){case 0:case 3:break f;case 1:case 2:break e;default:break g}}if((b|0)!=239|O[c+1|0]!=187){break e}g=3;if(O[c+2|0]!=191){break e}}s=c+g|0;continue}while(1){b=b&255;if(!(1<>>0<=13:0)){b=O[s+1|0];s=s+1|0;continue}break}if((c|0)!=(s|0)){if(b){L[s|0]=0;s=s+1|0}h:{i:{j:{while(1){b=O[c|0];if((b|0)==9|(b|0)==32){c=c+1|0;continue}else{k:{b=0;g=18558;while(1){l:{e=O[O[g|0]+25936|0];f=O[b+c|0];d=O[f+25936|0];if(!f|b>>>0>11){break l}g=g+1|0;b=b+1|0;if((d|0)==(e|0)){continue}}break}if((d|0)==(e|0)){break k}b=0;g=18533;while(1){m:{e=O[O[g|0]+25936|0];f=O[b+c|0];d=O[f+25936|0];if(!f|b>>>0>9){break m}g=g+1|0;b=b+1|0;if((d|0)==(e|0)){continue}}break}if((d|0)==(e|0)){break j}b=0;g=18545;while(1){n:{e=O[O[g|0]+25936|0];f=O[b+c|0];d=O[f+25936|0];if(!f|b>>>0>10){break n}g=g+1|0;b=b+1|0;if((d|0)==(e|0)){continue}}break}if((d|0)==(e|0)){N[N[h+88>>2]>>2]=2;N[h+32>>2]=1;break h}o:{p:{if(O[c|0]!=91){break p}q:{if((O[c+1|0]&223)!=69|(O[c+2|0]&223)!=86|((O[c+3|0]&223)!=69|(O[c+4|0]&223)!=78)){break q}if((O[c+5|0]&223)!=84|(O[c+6|0]&223)!=83|O[c+7|0]!=93){break q}N[N[h+88>>2]>>2]=3;break h}if(O[c|0]!=91|(O[c+1|0]&223)!=70|((O[c+2|0]&223)!=79|(O[c+3|0]&223)!=78)){break p}if((O[c+4|0]&223)!=84){break p}if((O[c+5|0]&223)==83){break o}}g=N[h+88>>2];break i}g=N[h+88>>2];if(O[c+6|0]!=93){break i}N[g>>2]=4;break h}}break}N[N[h+88>>2]>>2]=1;break h}N[N[h+88>>2]>>2]=2;N[h+32>>2]=2;break h}r:{s:{switch(N[g>>2]-1|0){case 0:if(!bb(c,21334,9)){b=N[g+32>>2];t:{if(b&2){b=N[h+84>>2];N[p+16>>2]=18704;mb(b,2,24874,p+16|0);break t}N[g+32>>2]=b|2}y=h,z=yb(c+9|0),N[y+36>>2]=z;break h}if(!bb(c,21312,9)){b=N[g+32>>2];u:{if(b&4){b=N[h+84>>2];N[p+32>>2]=18572;mb(b,2,24874,p+32|0);break u}N[g+32>>2]=b|4}y=h,z=yb(c+9|0),N[y+40>>2]=z;break h}if(!bb(c,21344,11)){b=N[g+32>>2];v:{if(b&512){b=N[h+84>>2];N[p+48>>2]=18713;mb(b,2,24874,p+48|0);break v}N[g+32>>2]=b|512}y=h,z=yb(c+11|0),N[y+92>>2]=z;break h}if(!bb(c,21322,11)){b=N[g+32>>2];w:{if(b&1024){b=N[h+84>>2];N[p+64>>2]=18581;mb(b,2,24874,p- -64|0);break w}N[g+32>>2]=b|1024}y=h,z=yb(c+11|0),N[y+96>>2]=z;break h}if(!bb(c,21243,6)){b=N[g+32>>2];x:{if(b&8){b=N[h+84>>2];N[p+80>>2]=11980;mb(b,2,24874,p+80|0);break x}N[g+32>>2]=b|8}y=h,A=ob(c+6|0,0),S[y+48>>3]=A;break h}if(!bb(c,21291,10)){b=N[g+32>>2];y:{if(b&16){b=N[h+84>>2];N[p+96>>2]=15956;mb(b,2,24874,p+96|0);break y}N[g+32>>2]=b|16}y=h,z=yb(c+10|0),N[y+56>>2]=z;break h}if(!bb(c,21212,22)){b=N[g+32>>2];z:{if(b&32){b=N[h+84>>2];N[p+112>>2]=8259;mb(b,2,24874,p+112|0);break z}N[g+32>>2]=b|32}c=c+22|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}A:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break A}}b=(Kb(c,0)|0)>0}N[h+60>>2]=b;break h}if(!bb(c,21250,8)){b=N[g+32>>2];B:{if(b&128){b=N[h+84>>2];N[p+128>>2]=14675;mb(b,2,24874,p+128|0);break B}N[g+32>>2]=b|128}c=c+8|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}C:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break C}}b=(Kb(c,0)|0)>0}N[h+64>>2]=b;break h}if(!bb(c,21198,13)){b=N[g+32>>2];D:{if(b&64){b=N[h+84>>2];N[p+144>>2]=8116;mb(b,2,24874,p+144|0);break D}N[g+32>>2]=b|64}y=h,z=ro(c+13|0),N[y+72>>2]=z;break h}if(!bb(c,21302,9)){b=N[g+32>>2];E:{if(b&1){b=N[h+84>>2];N[p+160>>2]=16110;mb(b,2,24874,p+160|0);break E}N[g+32>>2]=b|1}g=c+9|0;b=O[c+9|0];F:{if(!b){break F}while(1){e=g;d=b<<24>>24;if(!(d-9>>>0<4|(d|0)==32|(b&255)==13)){break F}g=e+1|0;b=O[e+1|0];if(b){continue}break}}_a(N[h+68>>2]);e=$n(g,2);b=kb(e+1|0);if(b){B(b,g,e);L[b+e|0]=0}N[h+68>>2]=b;break h}if(!bb(c,21269,11)){b=N[g+32>>2];G:{if(b&256){b=N[h+84>>2];N[p+176>>2]=15532;mb(b,2,24874,p+176|0);break G}N[g+32>>2]=b|256}e=c+11|0;d=nb(e);b=d+11|0;H:{I:{if((d|0)<=0){break I}while(1){d=b-1|0;f=O[d+c|0];if((f|0)!=32&(f|0)!=9){break I}f=b>>>0>12;b=d;if(f){continue}break}c=e;break H}c=b+c|0}e=c-e|0;if(e>>>0<4){break h}g=2;b=c-1|0;if(O[b|0]==43){g=1;c=b;if(e-5>>>0>4294967291){break h}}if(bb(c-4|0,21957,4)){break h}N[h+32>>2]=g;break h}if(bb(c,24973,22)){break h}if(bb(c+22|0,17644,11)){break h}N[g+32>>2]=N[g+32>>2]|16384;break h;case 1:if(!bb(c,21235,7)){c=c+7|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}_a(N[h+24>>2]);b=Hb(c);N[h+24>>2]=b;if(!b){break h}e=N[h+84>>2];N[p+192>>2]=b;mb(e,7,11521,p+192|0);if(N[h+32>>2]==1){ri(h,c,14940);break h}ri(h,c,14751);break h}if(bb(c,21295,6)){break h}c=c+6|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break};b=N[h+24>>2];if(!b){J:{if(N[h+32>>2]==2){b=Hb(14751);break J}b=Hb(14940)}N[h+24>>2]=b;if(!b){break h}}m=Hb(b);if(!m){break h}b=N[h+84>>2];N[p+212>>2]=c;N[p+208>>2]=h;mb(b,6,11551,p+208|0);l=N[h>>2];b=N[h+4>>2];if((l|0)<=(b|0)){K:{L:{M:{if((b|0)!=(l|0)){b=N[h+16>>2];break M}if(l>>>0>2147483626){break L}N[147316]=0;e=l+20|0;b=id(N[h+16>>2],e,144);N[h+16>>2]=b;if(N[147316]){break L}N[h+4>>2]=e;l=N[h>>2]}N[h>>2]=l+1;w=T(l,144);k=w+b|0;G(k,0,144);if((l|0)>=0){break K}}_a(m);break h}N[k+56>>2]=0;N[k+60>>2]=1079574528;N[k+48>>2]=0;N[k+52>>2]=1079574528;n=k- -64|0;i=0;b=m;N:while(1){O:{P:{Q:{g=O[b|0];switch(g|0){case 9:break O;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break P;case 0:break r;default:break Q}}if((g|0)==32){break O}}f=b;while(1){g=g&255;if(!(!g|(g|0)==44)){g=O[f+1|0];f=f+1|0;continue}break}d=f;R:{if(d>>>0<=b>>>0){break R}while(1){e=d-1|0;j=O[e|0];if((j|0)!=32&(j|0)!=9){break R}d=e;if(e>>>0>b>>>0){continue}break}d=b}e=((g|0)==44)+f|0;L[d|0]=0;g=c;while(1){S:{T:{U:{c=O[g|0];switch(c|0){case 9:break S;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break T;case 0:break r;default:break U}}if((c|0)==32){break S}}d=g;while(1){f=c&255;if(!(!f|(f|0)==44)){c=O[d+1|0];d=d+1|0;continue}break}L[d|0]=0;q=(f|0)==44;c=15914;f=b;while(1){V:{j=O[O[c|0]+25936|0];x=O[f|0];o=O[x+25936|0];if(!x){break V}c=c+1|0;f=f+1|0;if((j|0)==(o|0)){continue}}break}c=d+q|0;f=15901;d=b;if((j|0)==(o|0)){while(1){d=g;g=d+1|0;if(O[d|0]==42){continue}break}b=e;e=Hb(d);if(!e){continue N}_a(N[k>>2]);N[k>>2]=e;continue N}while(1){W:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break W}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=11798;d=b;if((j|0)==(o|0)){b=e;e=Hb(g);if(!e){continue N}_a(N[k+4>>2]);N[k+4>>2]=e;continue N}while(1){X:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break X}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=11812;d=b;if((j|0)==(o|0)){b=yb(g);N[k+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=e;continue N}while(1){Y:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break Y}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=11839;d=b;if((j|0)==(o|0)){b=yb(g);N[k+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=e;continue N}while(1){Z:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break Z}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=11828;d=b;if((j|0)==(o|0)){b=yb(g);N[k+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=e;continue N}while(1){_:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break _}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=13334;d=b;if((j|0)==(o|0)){b=yb(g);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[k+28>>2]=d;b=e;if(N[h+32>>2]!=2){continue N}N[k+24>>2]=d;continue N}while(1){$:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break $}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=15426;d=b;if((j|0)==(o|0)){i=yb(g);b=e;continue N}while(1){aa:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break aa}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=16733;d=b;if((j|0)==(o|0)){y=k,A=ob(g,0),S[y+8>>3]=A;b=e;continue N}while(1){ba:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break ba}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=17754;d=b;if((j|0)==(o|0)){y=k,z=yb(g),N[y+32>>2]=z;b=e;continue N}while(1){ca:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break ca}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=15749;d=b;if((j|0)==(o|0)){y=k,z=yb(g),N[y+36>>2]=z;b=e;continue N}while(1){da:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break da}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=8720;d=b;if((j|0)==(o|0)){y=k,z=yb(g),N[y+40>>2]=z;b=e;continue N}while(1){ea:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break ea}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=15170;d=b;if((j|0)==(o|0)){y=k,z=yb(g),N[y+44>>2]=z;b=e;continue N}while(1){fa:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break fa}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=16029;d=b;if((j|0)==(o|0)){y=n,A=ob(g,0),S[y>>3]=A;b=e;continue N}while(1){ga:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break ga}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=15944;d=b;if((j|0)==(o|0)){y=k,A=ob(g,0),S[y+72>>3]=A;b=e;continue N}while(1){ha:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break ha}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=9279;d=b;if((j|0)==(o|0)){y=k,z=yb(g),N[y+80>>2]=z;b=e;continue N}while(1){ia:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break ia}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=19806;d=b;if((j|0)==(o|0)){d=yb(g);N[k+104>>2]=d;if(N[h+32>>2]==1){b=d>>31;d=(d|0)==-2147483648?2:(b^d)-b|0;b=((d-1|0)%3|0)+1|0;ja:{if(d>>>0<4){break ja}if(d>>>0<=6){b=b|8;break ja}b=b|4}N[k+104>>2]=b;b=e;continue N}b=e;ka:{switch(d-4|0){case 4:N[k+104>>2]=3;continue N;case 0:break ka;default:continue N}}N[k+104>>2]=11;continue N}while(1){la:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break la}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=19589;d=b;if((j|0)==(o|0)){y=k,z=yb(g),N[y+108>>2]=z;b=e;continue N}while(1){ma:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break ma}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=19116;d=b;if((j|0)==(o|0)){y=k,z=yb(g),N[y+112>>2]=z;b=e;continue N}while(1){na:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break na}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=15161;d=b;if((j|0)==(o|0)){y=k,z=yb(g),N[y+116>>2]=z;b=e;continue N}while(1){oa:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break oa}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=18724;d=b;if((j|0)==(o|0)){y=k,z=yb(g),N[y+120>>2]=z;b=e;continue N}while(1){pa:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break pa}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=18592;d=b;if((j|0)==(o|0)){y=k,A=ob(g,0),S[y+48>>3]=A;b=e;continue N}while(1){qa:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break qa}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=15741;d=b;if((j|0)==(o|0)){y=k,A=ob(g,0),S[y+56>>3]=A;b=e;continue N}while(1){ra:{j=O[O[f|0]+25936|0];q=O[d|0];o=O[q+25936|0];if(!q){break ra}f=f+1|0;d=d+1|0;if((j|0)==(o|0)){continue}}break}f=8274;if((j|0)==(o|0)){y=k,A=ob(g,0),S[y+88>>3]=A;b=e;continue N}while(1){sa:{d=O[O[f|0]+25936|0];o=O[b|0];j=O[o+25936|0];if(!o){break sa}f=f+1|0;b=b+1|0;if((d|0)==(j|0)){continue}}break}b=e;if((d|0)!=(j|0)){continue N}y=k,A=ob(g,0),S[y+96>>3]=A;continue N}g=g+1|0;continue}}b=b+1|0;continue}}ba(11239,18016,104,15919);F();case 3:if(!bb(c,21281,9)){c=c+9|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}if(N[g+4>>2]){io(h);g=N[h+88>>2]}b=Hb(c);N[g+4>>2]=b;if(!b){break h}e=N[h+84>>2];N[p+304>>2]=b;mb(e,6,11538,p+304|0);break h}b=N[g+4>>2];if(!b){b=N[h+84>>2];N[p+320>>2]=c;mb(b,6,24686,p+320|0);break h}d=N[g+16>>2];ta:{ua:{e=nb(c);f=e>>>0<=102400?102400:e;if(d>>>0<(f^-1)>>>0){b=N[g+12>>2];if(b>>>0>=d+e>>>0){m=N[g+8>>2];break ta}N[147316]=0;m=N[g+8>>2];d=b+f|0;b=$a(m,d>>>0<=1?1:d);N[147316]=b?0:48;g=N[h+88>>2];m=b?b:m;N[g+8>>2]=m;if(b){break ua}b=N[g+4>>2]}_a(b);_a(N[g+8>>2]);N[g+12>>2]=0;N[g+16>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;break h}N[g+12>>2]=d}if(!m){break h}B(N[g+16>>2]+m|0,c,e);b=N[h+88>>2];N[b+16>>2]=e+N[b+16>>2];break h;case 2:break s;default:break h}}if(!bb(c,21235,7)){c=c+7|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}_a(N[h+28>>2]);b=Hb(c);N[h+28>>2]=b;if(!b){break h}e=N[h+84>>2];N[p+224>>2]=b;mb(e,7,11504,p+224|0);ri(h,c,N[h+32>>2]==1?8495:8567);if(N[N[h+88>>2]+32>>2]!=16646|N[h>>2]!=2){break h}if(bb(N[N[h+16>>2]+144>>2],9439,7)){break h}N[h+60>>2]=1;mb(N[h+84>>2],4,22355,0);break h}va:{if(!bb(c,21259,9)){if(!N[h+28>>2]){N[g>>2]=3;wa:{if(N[h+32>>2]==2){b=Hb(8567);break wa}b=Hb(8495)}N[h+28>>2]=b;mb(N[h+84>>2],6,13787,0);if(!N[h+28>>2]){break h}}c=c+9|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}b=N[h+8>>2];e=N[h+12>>2];if((b|0)<=(e|0)){xa:{if((b|0)!=(e|0)){g=N[h+20>>2];break xa}if(b>>>0>1073741822){break h}N[147316]=0;b=b<<1|1;g=id(N[h+20>>2],b,56);N[h+20>>2]=g;if(N[147316]){break h}N[h+12>>2]=b;b=N[h+8>>2]}N[h+8>>2]=b+1;n=T(b,56);e=n+g|0;N[e>>2]=0;N[e+4>>2]=0;N[e+48>>2]=0;N[e+52>>2]=0;N[e+40>>2]=0;N[e+44>>2]=0;N[e+32>>2]=0;N[e+36>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;if((b|0)<0){break h}b=N[h+20>>2];l=Hb(N[h+28>>2]);if(!l){break va}k=b+n|0;b=l;while(1){ya:{za:{Aa:{Ba:{g=O[b|0];switch(g|0){case 9:break ya;case 0:break za;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break Aa;default:break Ba}}if((g|0)==32){break ya}}m=b;while(1){f=g&255;if(!(!f|(f|0)==44)){g=O[m+1|0];m=m+1|0;continue}break}e=m;Ca:{if(e>>>0<=b>>>0){break Ca}while(1){d=e-1|0;g=O[d|0];if((g|0)!=32&(g|0)!=9){break Ca}e=d;if(e>>>0>b>>>0){continue}break}e=b}f=((f|0)==44)+m|0;L[e|0]=0;g=8635;m=b;while(1){Da:{e=O[O[g|0]+25936|0];i=O[m|0];d=O[i+25936|0];if(!i){break Da}g=g+1|0;m=m+1|0;if((d|0)==(e|0)){continue}}break}Ea:{Fa:{if((d|0)!=(e|0)){g=c;break Fa}b=Hb(c);N[k+48>>2]=b;if(!b){break Ea}Ga:{if(!O[b|0]){break Ga}e=nb(b);if((e|0)<=0){break Ga}c=b+e|0;while(1){c=c-1|0;e=O[c|0]-9|0;if(e>>>0>23|!(1<>>0>>0){continue}break}}e=N[k+8>>2];d=N[k>>2];f=e-d|0;e=N[k+12>>2]-(N[k+4>>2]+(d>>>0>e>>>0)|0)|0;N[k+8>>2]=f;N[k+12>>2]=e;_a(l);if(!b){break va}break h}while(1){Ha:{Ia:{Ja:{Ka:{c=O[g|0];switch(c|0){case 0:break za;case 9:break Ia;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break Ja;default:break Ka}}if((c|0)==32){break Ia}}d=g;while(1){e=c&255;if(!e|(e|0)==44){break Ha}c=O[d+1|0];d=d+1|0;continue}}g=g+1|0;continue}break}L[d|0]=0;o=(e|0)==44;c=16701;m=b;while(1){La:{e=O[O[c|0]+25936|0];j=O[m|0];i=O[j+25936|0];if(!j){break La}c=c+1|0;m=m+1|0;if((e|0)==(i|0)){continue}}break}c=11926;i=(e|0)==(i|0)?12789:b;b=i;while(1){Ma:{e=O[O[c|0]+25936|0];j=O[b|0];m=O[j+25936|0];if(!j){break Ma}c=c+1|0;b=b+1|0;if((e|0)==(m|0)){continue}}break}c=11954;m=(e|0)==(m|0)?15914:i;b=m;while(1){Na:{i=O[O[c|0]+25936|0];e=O[b|0];j=O[e+25936|0];if(!e){break Na}c=c+1|0;b=b+1|0;if((i|0)==(j|0)){continue}}break}c=d+o|0;b=16007;e=m;if((i|0)==(j|0)){y=k,z=yb(g),N[y+20>>2]=z;b=f;continue}while(1){Oa:{d=O[O[b|0]+25936|0];j=O[e|0];i=O[j+25936|0];if(!j){break Oa}b=b+1|0;e=e+1|0;if((d|0)==(i|0)){continue}}break}b=15914;e=m;if((d|0)==(i|0)){while(1){e=g;g=e+1|0;if(O[e|0]==42){continue}break}b=9439;g=e;while(1){Pa:{d=O[O[b|0]+25936|0];i=O[g|0];m=O[i+25936|0];if(!i){break Pa}b=b+1|0;g=g+1|0;if((d|0)==(m|0)){continue}}break}e=(d|0)==(m|0)?9439:e;b=N[h>>2];Qa:{while(1){if((b|0)>0){b=b-1|0;if(cb(N[N[h+16>>2]+T(b,144)>>2],e)){continue}break Qa}break}d=N[h+84>>2];b=N[h+76>>2];N[p+248>>2]=N[N[h+16>>2]+T(b,144)>>2];N[p+244>>2]=e;N[p+240>>2]=h;mb(d,2,24480,p+240|0)}N[k+24>>2]=b;b=f;continue}while(1){Ra:{d=O[O[b|0]+25936|0];j=O[e|0];i=O[j+25936|0];if(!j){break Ra}b=b+1|0;e=e+1|0;if((d|0)==(i|0)){continue}}break}b=9655;e=m;if((d|0)==(i|0)){b=f;e=Hb(g);if(!e){continue}_a(N[k+28>>2]);N[k+28>>2]=e;continue}while(1){Sa:{d=O[O[b|0]+25936|0];j=O[e|0];i=O[j+25936|0];if(!j){break Sa}b=b+1|0;e=e+1|0;if((d|0)==(i|0)){continue}}break}b=19806;e=m;if((d|0)==(i|0)){b=f;e=Hb(g);if(!e){continue}_a(N[k+44>>2]);N[k+44>>2]=e;continue}while(1){Ta:{d=O[O[b|0]+25936|0];j=O[e|0];i=O[j+25936|0];if(!j){break Ta}b=b+1|0;e=e+1|0;if((d|0)==(i|0)){continue}}break}b=19589;e=m;if((d|0)==(i|0)){y=k,z=yb(g),N[y+32>>2]=z;b=f;continue}while(1){Ua:{d=O[O[b|0]+25936|0];j=O[e|0];i=O[j+25936|0];if(!j){break Ua}b=b+1|0;e=e+1|0;if((d|0)==(i|0)){continue}}break}b=19116;e=m;if((d|0)==(i|0)){y=k,z=yb(g),N[y+36>>2]=z;b=f;continue}while(1){Va:{d=O[O[b|0]+25936|0];j=O[e|0];i=O[j+25936|0];if(!j){break Va}b=b+1|0;e=e+1|0;if((d|0)==(i|0)){continue}}break}b=8828;e=m;if((d|0)==(i|0)){y=k,z=yb(g),N[y+40>>2]=z;b=f;continue}while(1){Wa:{d=O[O[b|0]+25936|0];j=O[e|0];i=O[j+25936|0];if(!j){break Wa}b=b+1|0;e=e+1|0;if((d|0)==(i|0)){continue}}break}b=12789;if((d|0)==(i|0)){b=N[h+84>>2];N[p+256>>2]=p+348;N[p+260>>2]=p+344;N[p+264>>2]=p+340;N[p+268>>2]=p+336;if((co(g,p+256|0)|0)<=3){mb(b,2,12297,0);N[k>>2]=0;N[k+4>>2]=0;b=f;continue}b=N[p+340>>2];d=b;m=b>>31;g=N[p+344>>2];b=N[p+348>>2];i=TE(b,b>>31,60,0);e=g+i|0;b=Pa+(g>>31)|0;g=d;d=TE(e,e>>>0>>0?b+1|0:b,60,0);b=g+d|0;e=Pa+m|0;e=TE(b,b>>>0>>0?e+1|0:e,1e3,0);d=Pa;b=N[p+336>>2];m=TE(b,b>>31,10,0);b=m+e|0;e=Pa+d|0;N[k>>2]=b;N[k+4>>2]=b>>>0>>0?e+1|0:e;b=f;continue}while(1){Xa:{e=O[O[b|0]+25936|0];i=O[m|0];d=O[i+25936|0];if(!i){break Xa}b=b+1|0;m=m+1|0;if((d|0)==(e|0)){continue}}break}b=f;if((d|0)!=(e|0)){continue}e=N[h+84>>2];N[p+272>>2]=p+348;N[p+276>>2]=p+344;N[p+280>>2]=p+340;N[p+284>>2]=p+336;if((co(g,p+272|0)|0)<=3){mb(e,2,12297,0);N[k+8>>2]=0;N[k+12>>2]=0;continue}e=N[p+340>>2];f=e;m=e>>31;g=N[p+344>>2];e=N[p+348>>2];i=TE(e,e>>31,60,0);d=g+i|0;e=Pa+(g>>31)|0;g=f;f=TE(d,d>>>0>>0?e+1|0:e,60,0);d=g+f|0;e=Pa+m|0;d=TE(d,d>>>0>>0?e+1|0:e,1e3,0);f=Pa;e=N[p+336>>2];m=TE(e,e>>31,10,0);d=m+d|0;e=Pa+f|0;N[k+8>>2]=d;N[k+12>>2]=d>>>0>>0?e+1|0:e;continue}b=N[k+8>>2];e=N[k>>2];d=b-e|0;b=N[k+12>>2]-(N[k+4>>2]+(b>>>0>>0)|0)|0;N[k+8>>2]=d;N[k+12>>2]=b}_a(l);break va}b=b+1|0;continue}}ba(10030,18016,127,9200);F()}b=N[h+84>>2];N[p+288>>2]=c;mb(b,6,24346,p+288|0);break h}b=n+N[h+20>>2]|0;_a(N[b+28>>2]);_a(N[b+44>>2]);_a(N[b+48>>2]);_a(N[b+52>>2]);N[h+8>>2]=N[h+8>>2]-1;break h}_a(m);if(N[h+32>>2]==2){b=(i|0)>=255?255:i;b=(b|0)>0?b:0;L[k+16|0]=b;L[k+20|0]=b;L[k+24|0]=b;L[k+28|0]=128}t=S[k+48>>3];S[k+48>>3]=(t>0?t:0)/100;t=S[k+56>>3];S[k+56>>3]=(t>0?t:0)/100;t=S[n>>3];S[n>>3]=t>0?t:0;t=S[k+88>>3];S[k+88>>3]=t>0?t:0;t=S[k+96>>3];S[k+96>>3]=t>0?t:0;N[k+32>>2]=N[k+32>>2]!=0;N[k+36>>2]=N[k+36>>2]!=0;N[k+40>>2]=N[k+40>>2]!=0;N[k+44>>2]=N[k+44>>2]!=0;c=N[k>>2];if(!c){c=Hb(9439);N[k>>2]=c}Ya:{Za:{if(!N[k+4>>2]){b=Hb(13519);N[k+4>>2]=b;if(!c|!b){break Za}break Ya}if(c){break Ya}}b=N[h+16>>2]+w|0;_a(N[b>>2]);_a(N[b+4>>2]);N[h>>2]=N[h>>2]-1;break h}if(cb(c,9439)){break h}N[h+76>>2]=l}if(O[s|0]){continue}}break}if(N[N[h+88>>2]+4>>2]){io(h)}s=N[h+8>>2];_a:{if((s|0)<=0){break _a}b=N[h+20>>2];g=0;c=0;if(s>>>0>=8){e=s&-8;while(1){N[(b+T(c,56)|0)+16>>2]=c;d=c|1;N[(b+T(d,56)|0)+16>>2]=d;d=c|2;N[(b+T(d,56)|0)+16>>2]=d;d=c|3;N[(b+T(d,56)|0)+16>>2]=d;d=c|4;N[(b+T(d,56)|0)+16>>2]=d;d=c|5;N[(b+T(d,56)|0)+16>>2]=d;d=c|6;N[(b+T(d,56)|0)+16>>2]=d;d=c|7;N[(b+T(d,56)|0)+16>>2]=d;c=c+8|0;if((e|0)!=(c|0)){continue}break}}e=s&7;if(!e){break _a}while(1){N[(b+T(c,56)|0)+16>>2]=c;c=c+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}if(N[h+32>>2]){break b}tg(h)}_a(u);break a}c=N[N[h+84>>2]+8>>2];$a:{if(!c){break $a}b=N[c>>2];if(!b){break $a}while(1){g=c;k=hi(b,61);ab:{if(!k){break ab}L[k|0]=0;c=18704;e=N[g>>2];b=e;while(1){bb:{d=O[O[c|0]+25936|0];f=O[b|0];r=O[f+25936|0];if(!f){break bb}c=c+1|0;b=b+1|0;if((d|0)==(r|0)){continue}}break}m=k+1|0;c=18572;b=e;cb:{if((d|0)==(r|0)){y=h,z=yb(m),N[y+36>>2]=z;break cb}while(1){db:{d=O[O[c|0]+25936|0];f=O[b|0];r=O[f+25936|0];if(!f){break db}c=c+1|0;b=b+1|0;if((d|0)==(r|0)){continue}}break}c=18713;b=e;if((d|0)==(r|0)){y=h,z=yb(m),N[y+40>>2]=z;break cb}while(1){eb:{d=O[O[c|0]+25936|0];f=O[b|0];r=O[f+25936|0];if(!f){break eb}c=c+1|0;b=b+1|0;if((d|0)==(r|0)){continue}}break}c=18581;b=e;if((d|0)==(r|0)){y=h,z=yb(m),N[y+92>>2]=z;break cb}while(1){fb:{d=O[O[c|0]+25936|0];f=O[b|0];r=O[f+25936|0];if(!f){break fb}c=c+1|0;b=b+1|0;if((d|0)==(r|0)){continue}}break}c=11980;b=e;if((d|0)==(r|0)){y=h,z=yb(m),N[y+96>>2]=z;break cb}while(1){gb:{d=O[O[c|0]+25936|0];f=O[b|0];r=O[f+25936|0];if(!f){break gb}c=c+1|0;b=b+1|0;if((d|0)==(r|0)){continue}}break}c=15956;b=e;if((d|0)==(r|0)){y=h,A=ob(m,0),S[y+48>>3]=A;break cb}while(1){hb:{d=O[O[c|0]+25936|0];f=O[b|0];r=O[f+25936|0];if(!f){break hb}c=c+1|0;b=b+1|0;if((d|0)==(r|0)){continue}}break}c=8259;b=e;if((d|0)==(r|0)){y=h,z=yb(m),N[y+56>>2]=z;break cb}while(1){ib:{d=O[O[c|0]+25936|0];f=O[b|0];r=O[f+25936|0];if(!f){break ib}c=c+1|0;b=b+1|0;if((d|0)==(r|0)){continue}}break}b=14675;c=m;f=e;if((d|0)==(r|0)){while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}jb:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break jb}}b=(Kb(c,0)|0)>0}N[h+60>>2]=b;break cb}while(1){kb:{d=O[O[b|0]+25936|0];s=O[f|0];r=O[s+25936|0];if(!s){break kb}b=b+1|0;f=f+1|0;if((d|0)==(r|0)){continue}}break}b=8116;if((d|0)==(r|0)){while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}lb:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break lb}}b=(Kb(c,0)|0)>0}N[h+64>>2]=b;break cb}while(1){mb:{d=O[O[b|0]+25936|0];f=O[e|0];r=O[f+25936|0];if(!f){break mb}b=b+1|0;e=e+1|0;if((d|0)==(r|0)){continue}}break}if((d|0)!=(r|0)){break cb}y=h,z=ro(m),N[y+72>>2]=z}r=N[g>>2];s=hi(r,46);if(s){L[s|0]=0;r=s+1|0;d=N[g>>2]}else{d=0}if(N[h>>2]>0){e=0;while(1){f=N[h+16>>2];nb:{if(d){c=N[f+T(e,144)>>2];b=d;while(1){ob:{l=O[O[b|0]+25936|0];i=O[c|0];n=O[i+25936|0];if(!i){break ob}b=b+1|0;c=c+1|0;if((l|0)==(n|0)){continue}}break}if((l|0)!=(n|0)){break nb}}c=15901;b=r;while(1){pb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break pb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=11798;b=r;if((l|0)==(n|0)){b=Hb(m);if(!b){break nb}f=f+T(e,144)|0;_a(N[f+4>>2]);N[f+4>>2]=b;break nb}while(1){qb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break qb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=11812;b=r;if((l|0)==(n|0)){b=yb(m);N[(f+T(e,144)|0)+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break nb}while(1){rb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break rb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=11839;b=r;if((l|0)==(n|0)){b=yb(m);N[(f+T(e,144)|0)+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break nb}while(1){sb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break sb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=11828;b=r;if((l|0)==(n|0)){b=yb(m);N[(f+T(e,144)|0)+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break nb}while(1){tb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break tb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=13334;b=r;if((l|0)==(n|0)){b=yb(m);N[(f+T(e,144)|0)+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break nb}while(1){ub:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break ub}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=15426;b=r;if((l|0)==(n|0)){b=f+T(e,144)|0;f=yb(m);f=(f|0)>=255?255:f;f=(f|0)>0?f:0;L[b+20|0]=f;L[b+16|0]=f;L[b+24|0]=f;L[b+28|0]=f;break nb}while(1){vb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break vb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=16733;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,A=ob(m,0),S[y+8>>3]=A;break nb}while(1){wb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break wb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=17754;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,z=yb(m),N[y+32>>2]=z;break nb}while(1){xb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break xb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=15749;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,z=yb(m),N[y+36>>2]=z;break nb}while(1){yb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break yb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=8720;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,z=yb(m),N[y+40>>2]=z;break nb}while(1){zb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break zb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=15170;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,z=yb(m),N[y+44>>2]=z;break nb}while(1){Ab:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Ab}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=16029;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,A=ob(m,0),S[y+64>>3]=A;break nb}while(1){Bb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Bb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=15944;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,A=ob(m,0),S[y+72>>3]=A;break nb}while(1){Cb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Cb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=9279;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,z=yb(m),N[y+80>>2]=z;break nb}while(1){Db:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Db}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=7942;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,z=yb(m),N[y+104>>2]=z;break nb}while(1){Eb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Eb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=19806;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,z=yb(m),N[y+136>>2]=z;break nb}while(1){Fb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Fb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=19589;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,z=yb(m),N[y+108>>2]=z;break nb}while(1){Gb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Gb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=19116;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,z=yb(m),N[y+112>>2]=z;break nb}while(1){Hb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Hb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=15161;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,z=yb(m),N[y+116>>2]=z;break nb}while(1){Ib:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Ib}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=18724;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,z=yb(m),N[y+120>>2]=z;break nb}while(1){Jb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Jb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=18592;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,A=ob(m,0),S[y+48>>3]=A;break nb}while(1){Kb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Kb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=15741;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,A=ob(m,0),S[y+56>>3]=A;break nb}while(1){Lb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Lb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=8274;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,A=ob(m,0),S[y+88>>3]=A;break nb}while(1){Mb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Mb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}c=11871;b=r;if((l|0)==(n|0)){y=f+T(e,144)|0,A=ob(m,0),S[y+96>>3]=A;break nb}while(1){Nb:{l=O[O[c|0]+25936|0];i=O[b|0];n=O[i+25936|0];if(!i){break Nb}c=c+1|0;b=b+1|0;if((l|0)==(n|0)){continue}}break}if((l|0)!=(n|0)){break nb}y=f+T(e,144)|0,A=ob(m,0),S[y+128>>3]=A}e=e+1|0;if((e|0)>2]){continue}break}}L[k|0]=61;if(!s){break ab}L[s|0]=46}c=g+4|0;b=N[g+4>>2];if(b){continue}break}s=N[h+8>>2]}_a(u);b=N[h>>2];N[p+4>>2]=s;N[p>>2]=b;mb(v,4,22689,p);r=h}La=p+352|0;N[a+660>>2]=r;if(!r){ud(25005,32,1,588952);ha(4);F()}So(a,0);N[a+664>>2]=N[N[a+660>>2]+72>>2]}function JE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=La-240|0;La=d;a:{b:{c:{b=O[c+140|0];if(!(b&8)){L[c+140|0]=b|8;N[d+236>>2]=c;m=N[c+80>>2];N[d+232>>2]=m;h=m;d:{e:{j=N[c+68>>2];if(j){h=T(j,20)+h|0;b=m;g=j;while(1){if(O[b+18|0]!=6){break e}b=b+20|0;k=k+1|0;g=g-1|0;if(g){continue}break}}p=d+236|0;e=d+232|0;g=0;k=j;i=j;break d}e=d+232|0;p=d+236|0;i=k;while(1){h=i;if(O[b+18|0]!=14){h=b;break d}while(1){h=h+1|0;if(j>>>0<=h>>>0){h=b;break d}o=m+T(h,20)|0;if(O[o+18|0]==6){continue}break}f=g;if(!(1<>1]&7168)){h=b;break d}while(1){i=i+1|0;h=(f|0)!=0;k=h+k|0;g=f-h|0;b=T(h,20)+b|0;if((f|0)!=(h|0)){f=g;if(O[b+18|0]==6){continue}}break}if(g){continue}break}h=b;g=0}L[d+224|0]=0;N[d+220>>2]=242957;N[d+212>>2]=p;N[d+216>>2]=e;N[d+208>>2]=242956;N[d+200>>2]=k;N[d+196>>2]=g;N[d+192>>2]=h;N[d+176>>2]=0;N[d+180>>2]=1;N[d+184>>2]=i;N[d+188>>2]=1;if(!g){break c}e=i;f=h;p=g;while(1){b=p;f:{while(1){e=e+1|0;k=(b|0)!=0;p=b-k|0;f=T(k,20)+f|0;if((b|0)!=(k|0)){b=p;if(O[f+18|0]==6){continue}}if(!p){break f}b=e;g:{if(O[f+18|0]!=14){break g}while(1){b=b+1|0;if(j>>>0<=b>>>0){break g}k=m+T(b,20)|0;if(O[k+18|0]==6){continue}break}b=p;if(1<>1]&7168){continue}}break}n=n+1|0;continue}break}e=-1;k=0;h:{i:{switch(n+2|0){default:e=n+1|0;case 0:f=g;p=e;while(1){p=p-1|0;b=f;while(1){i=i+1|0;k=(b|0)!=0;f=b-k|0;h=T(k,20)+h|0;if((b|0)!=(k|0)){b=f;if(O[h+18|0]==6){continue}}if(!f){break h}b=i;j:{if(O[h+18|0]!=14){break j}while(1){b=b+1|0;if(j>>>0<=b>>>0){break j}k=m+T(b,20)|0;if(O[k+18|0]==6){continue}break}b=f;if(1<>1]&7168){continue}}break}if(p){continue}break};k=e;break;case 1:break i}}j=N[d+220>>2];b=N[d+216>>2];N[d+160>>2]=b;N[d+164>>2]=j;m=N[d+212>>2];e=N[d+208>>2];N[d+152>>2]=e;N[d+156>>2]=m;n=N[d+204>>2];f=N[d+200>>2];N[d+144>>2]=f;N[d+148>>2]=n;o=N[d+196>>2];i=N[d+192>>2];N[d+136>>2]=i;N[d+140>>2]=o;l=N[d+188>>2];h=N[d+184>>2];N[d+128>>2]=h;N[d+132>>2]=l;q=N[d+180>>2];p=N[d+176>>2];N[d+120>>2]=p;N[d+124>>2]=q;N[d+104>>2]=b;N[d+108>>2]=j;N[d+96>>2]=e;N[d+100>>2]=m;N[d+88>>2]=f;N[d+92>>2]=n;N[d+80>>2]=i;N[d+84>>2]=o;N[d+72>>2]=h;N[d+76>>2]=l;N[d+64>>2]=p;N[d+68>>2]=q;L[d+112|0]=1;L[d+168|0]=1;break a}b=N[d+220>>2];N[d+160>>2]=N[d+216>>2];N[d+164>>2]=b;b=N[d+212>>2];N[d+152>>2]=N[d+208>>2];N[d+156>>2]=b;b=N[d+204>>2];N[d+144>>2]=N[d+200>>2];N[d+148>>2]=b;b=N[d+196>>2];N[d+136>>2]=N[d+192>>2];N[d+140>>2]=b;b=N[d+188>>2];N[d+128>>2]=N[d+184>>2];N[d+132>>2]=b;b=N[d+180>>2];N[d+120>>2]=N[d+176>>2];N[d+124>>2]=b;break b}ba(22778,14165,169,12138);F()}b=N[d+220>>2];N[d+160>>2]=N[d+216>>2];N[d+164>>2]=b;b=N[d+212>>2];N[d+152>>2]=N[d+208>>2];N[d+156>>2]=b;b=N[d+204>>2];N[d+144>>2]=N[d+200>>2];N[d+148>>2]=b;b=N[d+196>>2];N[d+136>>2]=N[d+192>>2];N[d+140>>2]=b;b=N[d+188>>2];N[d+128>>2]=N[d+184>>2];N[d+132>>2]=b;b=N[d+180>>2];N[d+120>>2]=N[d+176>>2];N[d+124>>2]=b;e=0}k=e;N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;b=N[d+220>>2];N[d+104>>2]=N[d+216>>2];N[d+108>>2]=b;b=N[d+212>>2];N[d+96>>2]=N[d+208>>2];N[d+100>>2]=b;b=N[d+204>>2];N[d+88>>2]=N[d+200>>2];N[d+92>>2]=b;b=N[d+196>>2];N[d+80>>2]=N[d+192>>2];N[d+84>>2]=b;b=N[d+188>>2];N[d+72>>2]=N[d+184>>2];N[d+76>>2]=b;b=N[d+180>>2];N[d+64>>2]=N[d+176>>2];N[d+68>>2]=b;s=1;L[d+168|0]=1;L[d+112|0]=1;N[147460]=0}p=0;j=1;b=!k;while(1){k:{l:{m:{if(!b){if(O[p+248640|0]==2){$b(d+120|0,d+176|0);g=N[d+196>>2]}f=p<<1;i=M[f+247712>>1]+243216|0;e=L[p+247968|0];b=O[f+242960|0];n:{o:{if(!g){h=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;if(!b){break o}break n}h=O[N[d+192>>2]+18|0];if(b>>>0>h>>>0|O[f+242961|0]>>0){break n}}e=h-b|0}b=O[e+i|0];break m}if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if(s){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if(!p){break l}b=M[(p<<1)+248384>>1]-1|0}p=L[b+248096|0];b=L[b+248240|0];if(!b){break k}p:{switch(b-3|0){case 9:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];m=N[d+20>>2];n=N[d+48>>2];o=N[d+44>>2];g=N[d+16>>2];while(1){g=g+m|0;b=(e|0)!=0;i=b+i|0;f=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}q:{if(!f){f=0;break q}if(O[h+18|0]!=14){break q}e=N[N[o>>2]+68>>2];b=g;while(1){b=b+1|0;if(e>>>0<=b>>>0){break q}l=N[n>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=f;N[d+16>>2]=g;N[d+24>>2]=h}$b(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 7:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];m=N[d+20>>2];n=N[d+48>>2];o=N[d+44>>2];g=N[d+16>>2];while(1){g=g+m|0;b=(e|0)!=0;i=b+i|0;f=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}r:{if(!f){f=0;break r}if(O[h+18|0]!=14){break r}e=N[N[o>>2]+68>>2];b=g;while(1){b=b+1|0;if(e>>>0<=b>>>0){break r}l=N[n>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=f;N[d+16>>2]=g;N[d+24>>2]=h}$b(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|1;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 5:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];m=N[d+20>>2];n=N[d+48>>2];o=N[d+44>>2];g=N[d+16>>2];while(1){g=g+m|0;b=(e|0)!=0;i=b+i|0;f=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}s:{if(!f){f=0;break s}if(O[h+18|0]!=14){break s}e=N[N[o>>2]+68>>2];b=g;while(1){b=b+1|0;if(e>>>0<=b>>>0){break s}l=N[n>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=f;N[d+16>>2]=g;N[d+24>>2]=h}$b(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|2;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 13:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];m=N[d+20>>2];n=N[d+48>>2];o=N[d+44>>2];g=N[d+16>>2];while(1){g=g+m|0;b=(e|0)!=0;i=b+i|0;f=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}t:{if(!f){f=0;break t}if(O[h+18|0]!=14){break t}e=N[N[o>>2]+68>>2];b=g;while(1){b=b+1|0;if(e>>>0<=b>>>0){break t}l=N[n>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=f;N[d+16>>2]=g;N[d+24>>2]=h}$b(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|3;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 11:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];m=N[d+20>>2];n=N[d+48>>2];o=N[d+44>>2];g=N[d+16>>2];while(1){g=g+m|0;b=(e|0)!=0;i=b+i|0;f=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}u:{if(!f){f=0;break u}if(O[h+18|0]!=14){break u}e=N[N[o>>2]+68>>2];b=g;while(1){b=b+1|0;if(e>>>0<=b>>>0){break u}l=N[n>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=f;N[d+16>>2]=g;N[d+24>>2]=h}$b(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|4;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 3:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];m=N[d+20>>2];n=N[d+48>>2];o=N[d+44>>2];g=N[d+16>>2];while(1){g=g+m|0;b=(e|0)!=0;i=b+i|0;f=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}v:{if(!f){f=0;break v}if(O[h+18|0]!=14){break v}e=N[N[o>>2]+68>>2];b=g;while(1){b=b+1|0;if(e>>>0<=b>>>0){break v}l=N[n>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=f;N[d+16>>2]=g;N[d+24>>2]=h}$b(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|5;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 17:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];m=N[d+20>>2];n=N[d+48>>2];o=N[d+44>>2];g=N[d+16>>2];while(1){g=g+m|0;b=(e|0)!=0;i=b+i|0;f=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}w:{if(!f){f=0;break w}if(O[h+18|0]!=14){break w}e=N[N[o>>2]+68>>2];b=g;while(1){b=b+1|0;if(e>>>0<=b>>>0){break w}l=N[n>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=f;N[d+16>>2]=g;N[d+24>>2]=h}$b(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|6;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 1:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];m=N[d+20>>2];n=N[d+48>>2];o=N[d+44>>2];g=N[d+16>>2];while(1){g=g+m|0;b=(e|0)!=0;i=b+i|0;f=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}x:{if(!f){f=0;break x}if(O[h+18|0]!=14){break x}e=N[N[o>>2]+68>>2];b=g;while(1){b=b+1|0;if(e>>>0<=b>>>0){break x}l=N[n>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=f;N[d+16>>2]=g;N[d+24>>2]=h}$b(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|7;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=N[d+236>>2];N[b+144>>2]=N[b+144>>2]|64;b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 0:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];m=N[d+20>>2];n=N[d+48>>2];o=N[d+44>>2];g=N[d+16>>2];while(1){g=g+m|0;b=(e|0)!=0;i=b+i|0;f=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}y:{if(!f){f=0;break y}if(O[h+18|0]!=14){break y}e=N[N[o>>2]+68>>2];b=g;while(1){b=b+1|0;if(e>>>0<=b>>>0){break y}l=N[n>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=f;N[d+16>>2]=g;N[d+24>>2]=h}$b(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|8;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 8:$b(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];f=N[d+192>>2];h=N[d+196>>2];g=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];m=N[d+216>>2];n=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(g|0)!=0;g=g-b|0;N[d+200>>2]=g;h=b+h|0;N[d+196>>2]=h;f=T(b,-20)+f|0;N[d+192>>2]=f;z:{if(!h){break z}A:{switch(O[f+18|0]-6|0){case 0:continue;case 8:break A;default:break z}}o=N[N[n>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break z}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 6:$b(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];f=N[d+192>>2];h=N[d+196>>2];g=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];m=N[d+216>>2];n=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(g|0)!=0;g=g-b|0;N[d+200>>2]=g;h=b+h|0;N[d+196>>2]=h;f=T(b,-20)+f|0;N[d+192>>2]=f;B:{if(!h){break B}C:{switch(O[f+18|0]-6|0){case 0:continue;case 8:break C;default:break B}}o=N[N[n>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break B}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|1;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 4:$b(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];f=N[d+192>>2];h=N[d+196>>2];g=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];m=N[d+216>>2];n=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(g|0)!=0;g=g-b|0;N[d+200>>2]=g;h=b+h|0;N[d+196>>2]=h;f=T(b,-20)+f|0;N[d+192>>2]=f;D:{if(!h){break D}E:{switch(O[f+18|0]-6|0){case 0:continue;case 8:break E;default:break D}}o=N[N[n>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break D}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|2;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 12:$b(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];f=N[d+192>>2];h=N[d+196>>2];g=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];m=N[d+216>>2];n=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(g|0)!=0;g=g-b|0;N[d+200>>2]=g;h=b+h|0;N[d+196>>2]=h;f=T(b,-20)+f|0;N[d+192>>2]=f;F:{if(!h){break F}G:{switch(O[f+18|0]-6|0){case 0:continue;case 8:break G;default:break F}}o=N[N[n>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break F}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|3;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 10:$b(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];f=N[d+192>>2];h=N[d+196>>2];g=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];m=N[d+216>>2];n=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(g|0)!=0;g=g-b|0;N[d+200>>2]=g;h=b+h|0;N[d+196>>2]=h;f=T(b,-20)+f|0;N[d+192>>2]=f;H:{if(!h){break H}I:{switch(O[f+18|0]-6|0){case 0:continue;case 8:break I;default:break H}}o=N[N[n>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break H}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|4;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 2:$b(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];f=N[d+192>>2];h=N[d+196>>2];g=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];m=N[d+216>>2];n=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(g|0)!=0;g=g-b|0;N[d+200>>2]=g;h=b+h|0;N[d+196>>2]=h;f=T(b,-20)+f|0;N[d+192>>2]=f;J:{if(!h){break J}K:{switch(O[f+18|0]-6|0){case 0:continue;case 8:break K;default:break J}}o=N[N[n>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break J}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|5;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 16:$b(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];f=N[d+192>>2];h=N[d+196>>2];g=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];m=N[d+216>>2];n=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(g|0)!=0;g=g-b|0;N[d+200>>2]=g;h=b+h|0;N[d+196>>2]=h;f=T(b,-20)+f|0;N[d+192>>2]=f;L:{if(!h){break L}M:{switch(O[f+18|0]-6|0){case 0:continue;case 8:break M;default:break L}}o=N[N[n>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break L}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|6;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 14:$b(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];f=N[d+192>>2];h=N[d+196>>2];g=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];m=N[d+216>>2];n=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(g|0)!=0;g=g-b|0;N[d+200>>2]=g;h=b+h|0;N[d+196>>2]=h;f=T(b,-20)+f|0;N[d+192>>2]=f;N:{if(!h){break N}O:{switch(O[f+18|0]-6|0){case 0:continue;case 8:break O;default:break N}}o=N[N[n>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break N}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|7;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=N[d+236>>2];N[b+144>>2]=N[b+144>>2]|64;b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}};case 15:break p;default:break k}}$b(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];f=N[d+192>>2];h=N[d+196>>2];g=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];m=N[d+216>>2];n=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(g|0)!=0;g=g-b|0;N[d+200>>2]=g;h=b+h|0;N[d+196>>2]=h;f=T(b,-20)+f|0;N[d+192>>2]=f;P:{if(!h){break P}Q:{switch(O[f+18|0]-6|0){case 0:continue;case 8:break Q;default:break P}}o=N[N[n>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break P}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break}b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;f=j<<4|8;g=N[d+84>>2];while(1){if(!g){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=f;b=b+1|0;continue}}}R:{S:{p=N[c+68>>2];if(p){l=p-1|0;m=N[c+80>>2];n=m+3|0;b=0;e=O[m+15|0];while(1){T:{if((b|0)==(l|0)){b=p;break T}b=b+1|0;if((e|0)==O[(T(b,20)+n|0)+12|0]){continue}}break}h=0;while(1){k=b;e=N[c+68>>2];j=b>>>0>e>>>0?e:b;o=j-h|0;U:{if(o>>>0<2){break U}f=N[c+144>>2]|32;N[c+144>>2]=f;if(h>>>0>=j>>>0){break U}b=-1;e=h;q=j+(e^-1)|0;if(q>>>0>=3){s=o&-4;i=0;while(1){g=T(e,20)+m|0;r=N[g+8>>2];b=b>>>0>>0?b:r;r=N[g+28>>2];b=b>>>0>>0?b:r;r=N[g+48>>2];b=b>>>0>>0?b:r;g=N[g+68>>2];b=b>>>0>>0?b:g;e=e+4|0;i=i+4|0;if((s|0)!=(i|0)){continue}break}}g=0;i=o&3;if(i){while(1){s=N[(T(e,20)+m|0)+8>>2];b=b>>>0>>0?b:s;e=e+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(o&1){e=T(h,20)+m|0;if(N[e+8>>2]!=(b|0)){N[e+4>>2]=N[e+4>>2]|3}h=h+1|0}if(!q){break U}while(1){e=T(h,20)+m|0;if(N[e+8>>2]!=(b|0)){f=f|32;N[c+144>>2]=f;N[e+4>>2]=N[e+4>>2]|3}e=T(h+1|0,20)+m|0;if(N[e+8>>2]!=(b|0)){f=f|32;N[c+144>>2]=f;N[e+4>>2]=N[e+4>>2]|3}h=h+2|0;if((j|0)!=(h|0)){continue}break}}b=k+1|0;e=b>>>0

>>0?p:b;f=e-1|0;g=O[(T(k,20)+n|0)+12|0];b=k;while(1){V:{if((b|0)==(f|0)){b=e;break V}b=b+1|0;if((g|0)==O[(T(b,20)+n|0)+12|0]){continue}}break}h=k;if(p>>>0>h>>>0){continue}break}break S}j=N[a+112>>2];break R}j=N[a+112>>2];g=N[j>>2];if(!g){break R}e=0;b=O[m+15|0];while(1){W:{if((e|0)==(l|0)){e=p;break W}e=e+1|0;if((b|0)==O[(T(e,20)+n|0)+12|0]){continue}}break}h=m+2|0;b=0;while(1){f=e;e=e-b|0;i=O[(h+T(b,20)|0)+16|0]==18?1:e>>>0>=3?3:e;k=i+b|0;X:{if(k>>>0<=b>>>0){break X}if(i){o=i-1|0;e=0;while(1){l=T(b,20)+m|0;N[l+4>>2]=g|N[l+4>>2];b=b+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}if(o>>>0<3){break X}}while(1){e=T(b,20)+m|0;N[e+4>>2]=g|N[e+4>>2];N[e+24>>2]=g|N[e+24>>2];N[e+44>>2]=g|N[e+44>>2];e=e- -64|0;N[e>>2]=g|N[e>>2];b=b+4|0;if((k|0)!=(b|0)){continue}break}}b=f+1|0;b=b>>>0

>>0?p:b;i=b-1|0;k=O[(T(f,20)+n|0)+12|0];e=f;while(1){Y:{if((e|0)==(i|0)){e=b;break Y}e=e+1|0;if((k|0)==O[(T(e,20)+n|0)+12|0]){continue}}break}b=f;if(p>>>0>b>>>0){continue}break}}Z:{if(N[j+4>>2]){break Z}e=N[a+44>>2];if((e|0)<=0){break Z}b=N[a+36>>2];a=N[a+48>>2];k=0;e=e-1|0;h=e;_:{while(1){f=h+k>>>1|0;g=N[a+T(f,36)>>2];$:{if(g>>>0<=1769172844){i=N[(a+T(f,36)|0)+28>>2];if((g|0)==1769172844){break _}k=f+1|0;break $}h=f-1|0}if((h|0)>=(k|0)){continue}break}i=0}f=i;k=0;g=(b|0)!=(f|0)?f:0;N[d+176>>2]=g;h=e;aa:{while(1){f=h+k>>>1|0;i=N[a+T(f,36)>>2];ba:{if(i>>>0<=1768843636){k=N[(a+T(f,36)|0)+28>>2];if((i|0)==1768843636){break aa}k=f+1|0;break ba}h=f-1|0}if((h|0)>=(k|0)){continue}break}k=0}f=k;k=0;f=(b|0)!=(f|0)?f:0;N[d+180>>2]=f;g=f|g;h=e;ca:{while(1){f=h+k>>>1|0;i=N[a+T(f,36)>>2];da:{if(i>>>0<=1835361385){k=N[(a+T(f,36)|0)+28>>2];if((i|0)==1835361385){break ca}k=f+1|0;break da}h=f-1|0}if((h|0)>=(k|0)){continue}break}k=0}f=k;h=0;f=(b|0)!=(f|0)?f:0;N[d+184>>2]=f;g=f|g;ea:{while(1){f=e+h>>>1|0;i=N[a+T(f,36)>>2];fa:{if(i>>>0<=1718185569){h=N[(a+T(f,36)|0)+28>>2];if((i|0)==1718185569){break ea}h=f+1|0;break fa}e=f-1|0}if((e|0)>=(h|0)){continue}break}h=0}a=h;a=(a|0)!=(b|0)?a:0;N[d+188>>2]=a;a=a|g;if(!a|!p){break Z}g=a^-1;a=p-1|0;c=N[c+80>>2];j=c+3|0;e=0;k=O[c+15|0];b=k;while(1){ga:{if((a|0)==(e|0)){e=p;break ga}e=e+1|0;if((b|0)==O[(j+T(e,20)|0)+12|0]){continue}}break}i=0;h=0;f=4;while(1){a=i;i=e;b=k&15;ha:{if(b>>>0>8){break ha}if(!(1<>>0<=h>>>0){break ia}b=a+(h^-1)|0;e=N[(d+176|((f|0)==3?8:4))>>2];k=0;f=a-h&3;if(f){while(1){m=c+T(h,20)|0;N[m+4>>2]=e|g&N[m+4>>2];h=h+1|0;k=k+1|0;if((f|0)!=(k|0)){continue}break}}if(b>>>0<3){break ia}while(1){b=c+T(h,20)|0;N[b+4>>2]=e|g&N[b+4>>2];N[b+24>>2]=e|g&N[b+24>>2];N[b+44>>2]=e|g&N[b+44>>2];b=b- -64|0;N[b>>2]=e|g&N[b>>2];h=h+4|0;if((a|0)!=(h|0)){continue}break}}ka:{if(a>>>0>=i>>>0){break ka}f=N[(d+176|n<<2)>>2];k=0;e=a;b=i-e&3;if(b){while(1){h=c+T(e,20)|0;N[h+4>>2]=f|g&N[h+4>>2];e=e+1|0;k=k+1|0;if((b|0)!=(k|0)){continue}break}}if((a^-1)+i>>>0<3){break ka}while(1){b=c+T(e,20)|0;N[b+4>>2]=f|g&N[b+4>>2];N[b+24>>2]=f|g&N[b+24>>2];N[b+44>>2]=f|g&N[b+44>>2];b=b- -64|0;N[b>>2]=f|g&N[b>>2];e=e+4|0;if((i|0)!=(e|0)){continue}break}}f=n}b=i+1|0;b=b>>>0

>>0?p:b;h=b-1|0;k=O[(j+T(i,20)|0)+12|0];e=i;while(1){la:{if((e|0)==(h|0)){e=b;break la}e=e+1|0;if(O[(j+T(e,20)|0)+12|0]==(k&255)){continue}}break}h=a;if(i>>>0

>>0){continue}break}}La=d+240|0;return 0}if(O[p+248768|0]==1){L[d+168|0]=1}m=N[d+176>>2]+N[d+180>>2]|0;N[d+176>>2]=m;h=N[d+192>>2];i=N[d+200>>2];e=N[d+196>>2];f=N[d+184>>2];n=N[d+188>>2];o=N[d+216>>2];l=N[d+212>>2];ma:{na:{oa:{pa:{while(1){f=f+n|0;N[d+184>>2]=f;b=(e|0)!=0;i=b+i|0;N[d+200>>2]=i;g=e-b|0;N[d+196>>2]=g;h=T(b,20)+h|0;N[d+192>>2]=h;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}if(!g){break pa}if(O[h+18|0]!=14){break oa}e=N[N[l>>2]+68>>2];b=f;qa:{while(1){b=b+1|0;if(e>>>0<=b>>>0){break qa}q=N[o>>2]+T(b,20)|0;if(O[q+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}if(O[d+224|0]){break ma}break na}g=0;if(O[d+224|0]){break ma}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;break na}if(O[d+224|0]){break ma}}if(s){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((m|0)!=(k|0)){break ma}b=1;continue}b=0;continue}}function kj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=U(0),r=0,s=0,t=0,u=0,v=U(0),w=0,x=0,y=0,z=U(0),A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0;g=La-4528|0;La=g;a:{if(!N[a+44>>2]|Q[a+216>>2]<=c>>>0){break a}A=N[a+80>>2];b:{if((A|0)==275552){break b}c:{d:{switch(O[A|0]){case 0:i=(c+A|0)+1|0;break c;case 3:break d;default:break b}}e:{if(!(O[A+1|0]|O[A+2|0]<<8)){C=275552;w=0;break e}C=A+3|0;w=O[A+1|0]|O[A+2|0]<<8}n=(w<<8|(w&65280)>>>8)&65535;f:{if(n>>>0>=2){i=n-2|0;while(1){x=i+m>>>1|0;r=T(x,3)+C|0;B=O[r|0]|O[r+1|0]<<8;g:{if(((B<<8|B>>>8)&65535)>>>0<=c>>>0){m=O[r+3|0]|O[r+4|0]<<8;if(((m<<8|m>>>8)&65535)>>>0>c>>>0){break f}m=x+1|0;break g}i=x-1|0}if((i|0)>=(m|0)){continue}break}}if(!w){r=275552;break f}r=A+T(n,3)|0}i=r+2|0}i=O[i|0]}fd(g+4448|0,N[a+72>>2],c);w=N[(Q[a+208>>2]<=i>>>0?275552:N[a+212>>2]+T(i,24)|0)+20>>2];m=N[a+68>>2];L[g+32|0]=0;G(g+36|0,0,4108);c=g+4208|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4216>>2]=0;c=g+4228|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4236>>2]=0;c=g+4248|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4256>>2]=0;c=g+4268|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4276>>2]=0;c=g+4288|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4296>>2]=0;c=g+4308|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4316>>2]=0;N[g+4336>>2]=0;c=g+4328|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4356>>2]=0;c=g+4348|0;N[c>>2]=0;N[c+4>>2]=0;L[g+4180|0]=0;N[g+24>>2]=0;i=N[g+4452>>2];r=i;c=N[g+4448>>2];N[g+16>>2]=c;N[g+20>>2]=i;N[g+4376>>2]=0;i=g+4368|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4192|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4184|0;N[i>>2]=0;N[i+4>>2]=0;N[g+4160>>2]=0;i=g+4152|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4416|0;N[i>>2]=0;N[i+4>>2]=0;N[g+4392>>2]=m;N[g+4144>>2]=c;N[g+4148>>2]=r;N[g+4176>>2]=0;N[g+4168>>2]=0;N[g+4172>>2]=0;L[g+4165|0]=1;L[g+4166|0]=0;N[g+4408>>2]=0;N[g+4412>>2]=0;c=107;i=107;h:{if(!m){break h}m=O[m|0]|O[m+1|0]<<8;m=(m<<8|m>>>8)&65535;i=107;if(m>>>0<1240){break h}i=m>>>0<33900?1131:32768}N[g+4400>>2]=w;N[g+4388>>2]=i;i:{if(!w){break i}i=O[w|0]|O[w+1|0]<<8;i=(i<<8|i>>>8)&65535;if(i>>>0<1240){break i}c=i>>>0<33900?1131:32768}B=g+4180|0;w=g+4144|0;n=g+32|0;N[g+4432>>2]=0;N[g+4436>>2]=0;N[g+4396>>2]=c;L[g+4440|0]=e;N[g+4428>>2]=0;M[g+4424>>1]=0;L[g+4164|0]=0;N[g+12>>2]=a;N[g+4>>2]=d;N[g+8>>2]=f;N[g>>2]=b;f=1e4;a=0;while(1){j:{f=f-1|0;if(!f){N[g+24>>2]=r+1;break j}i=65535;k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{c=a+1|0;if(c>>>0>r>>>0){break t}d=N[g+16>>2];b=O[d+a|0];N[g+24>>2]=c;u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{if((b|0)!=12){a=c;break U}a=a+2|0;if(r>>>0>>0){break t}b=O[c+d|0];N[g+24>>2]=a;b=b|256}i=b;switch(i-1|0){case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break t;case 30:break y;case 29:break z;case 26:break A;case 25:break B;case 24:break C;case 23:break D;case 7:break E;case 6:break F;case 5:break G;case 4:break H;case 3:break I;case 21:break J;case 20:break K;case 18:case 19:break L;case 2:case 22:break M;case 0:case 17:break N;case 28:break O;case 9:break P;case 10:break R;case 13:break S;default:break T}}switch(i-255|0){case 1:break n;case 38:break u;case 37:break v;case 36:break w;case 35:break x;case 0:break Q;default:break t}}b=N[g+36>>2];if(!O[g+4424|0]){if(b&1){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}V:{if(b>>>0<4){break V}x=N[g+4>>2];a=x+16|0;if(N[x+16>>2]){b=N[x+12>>2];c=N[x+8>>2];v=R[x+20>>2];q=R[x+24>>2];if(!(v==R[x+28>>2]&q==R[x+32>>2])){e=N[c+16>>2];d=N[c+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](c,b,a,v,q,d)}e=N[c+28>>2];d=N[c+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](c,b,a,d)}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;d=N[g+36>>2];a=g+4520|0;N[a>>2]=0;N[a+4>>2]=0;N[g+4512>>2]=0;N[g+4516>>2]=0;W:{X:{Y:{Z:{_:{$:{aa:{if(d>>>0>=4){b=(n+(d<<3)|0)-24|0;a=N[b+4>>2];N[g+4512>>2]=N[b>>2];N[g+4516>>2]=a;m=N[g+12>>2];break aa}N[147456]=0;N[147457]=0;L[g+32|0]=1;m=N[g+12>>2];if((d|0)!=3){break $}}b=(n+(d<<3)|0)-16|0;a=N[b+4>>2];N[g+4520>>2]=N[b>>2];N[g+4524>>2]=a;break _}N[g+4520>>2]=0;N[g+4524>>2]=0;r=0;if(d>>>0<2){break Z}}c=0;h=S[(n+(d<<3)|0)-8>>3];ba:{if(V(h)<2147483648){r=~~h;break ba}r=-2147483648}if(r>>>0>255){break Y}}b=O[r+267360|0];a=N[m+52>>2];ca:{if((a|0)!=275552){c=vf(a,b,N[m+216>>2]);break ca}c=r>>>0<229?N[m+172>>2]?0:b:0}if(d){break Y}i=0;N[147456]=0;N[147457]=0;L[g+32|0]=1;break X}h=S[n+(d<<3)>>3];da:{if(V(h)<2147483648){i=~~h;break da}i=-2147483648}if(i>>>0>255){break W}}b=O[i+267360|0];a=N[m+52>>2];ea:{if((a|0)!=275552){b=vf(a,b,N[m+216>>2]);break ea}b=i>>>0<229?N[m+172>>2]?0:b:0}if(!b|!c|O[g+4440|0]){break W}a=N[g>>2];if(!kj(m,a,c,x,1,0)){break W}if(kj(m,a,b,x,1,g+4512|0)){break V}}N[g+24>>2]=N[g+20>>2]+1}L[g+4164|0]=1;break n}a=N[g+4184>>2];fa:{if(a){a=a-1|0;N[g+4184>>2]=a;a=(B+T(a,20)|0)+8|0;break fa}N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;L[g+4180|0]=1;N[147460]=0;a=589824}c=N[a+4>>2];b=w;N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=a+8|0;b=N[c+4>>2];N[w+8>>2]=N[c>>2];N[w+12>>2]=b;c=N[a>>2];b=N[a+4>>2];N[g+24>>2]=N[a+8>>2];N[g+16>>2]=c;N[g+20>>2]=b;break k}if(a+4>>>0>r>>>0){break k}ga:{if(a>>>0>=r>>>0){a=r+1|0;b=275552;break ga}b=a+d|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);c=N[g+36>>2];ha:{if(c>>>0<=512){N[g+36>>2]=c+1;c=(n+(c<<3)|0)+8|0;break ha}N[147456]=0;N[147457]=0;L[g+32|0]=1;c=589824}S[c>>3]=+(b|0)*152587890625e-16;N[g+24>>2]=a+4;break k}ia:{a=N[g+36>>2];ja:{if(a){a=a-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];if(V(h)<2147483648){a=~~h;break ja}a=-2147483648;break ja}N[147456]=0;N[147457]=0;L[g+32|0]=1;a=0}d=a+N[g+4396>>2]|0;ka:{if((d|0)<0){break ka}a=N[g+4400>>2];if(!a){break ka}a=O[a|0]|O[a+1|0]<<8;if(d>>>0>=((a<<8|a>>>8)&65535)>>>0){break ka}b=N[g+4184>>2];if(b>>>0<10){break ia}}N[g+24>>2]=r+1;break k}a=N[g+20>>2];N[w>>2]=N[g+16>>2];N[w+4>>2]=a;N[w+8>>2]=N[g+24>>2];N[g+4184>>2]=b+1;b=B+T(b,20)|0;N[b+24>>2]=N[w+16>>2];a=N[w+12>>2];N[b+16>>2]=N[w+8>>2];N[b+20>>2]=a;a=N[w+4>>2];N[b+8>>2]=N[w>>2];N[b+12>>2]=a;a=0;e=0;c=N[g+4400>>2];la:{if(!c){break la}b=O[c|0]|O[c+1|0]<<8;if(d>>>0>=((b<<8|b>>>8)&65535)>>>0){break la}fd(g+4512|0,c,d);a=N[g+4512>>2];e=N[g+4516>>2]}N[g+4160>>2]=d;N[g+4152>>2]=0;N[g+4156>>2]=2;N[g+4144>>2]=a;N[g+4148>>2]=e;N[g+24>>2]=N[w+8>>2];a=N[w+4>>2];N[g+16>>2]=N[w>>2];N[g+20>>2]=a;break k}ma:{a=N[g+36>>2];na:{if(a){a=a-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];if(V(h)<2147483648){a=~~h;break na}a=-2147483648;break na}N[147456]=0;N[147457]=0;L[g+32|0]=1;a=0}d=a+N[g+4388>>2]|0;oa:{if((d|0)<0){break oa}a=N[g+4392>>2];if(!a){break oa}a=O[a|0]|O[a+1|0]<<8;if(d>>>0>=((a<<8|a>>>8)&65535)>>>0){break oa}b=N[g+4184>>2];if(b>>>0<10){break ma}}N[g+24>>2]=r+1;break k}a=N[g+20>>2];N[w>>2]=N[g+16>>2];N[w+4>>2]=a;N[w+8>>2]=N[g+24>>2];N[g+4184>>2]=b+1;b=B+T(b,20)|0;N[b+24>>2]=N[w+16>>2];a=N[w+12>>2];N[b+16>>2]=N[w+8>>2];N[b+20>>2]=a;a=N[w+4>>2];N[b+8>>2]=N[w>>2];N[b+12>>2]=a;a=0;e=0;c=N[g+4392>>2];pa:{if(!c){break pa}b=O[c|0]|O[c+1|0]<<8;if(d>>>0>=((b<<8|b>>>8)&65535)>>>0){break pa}fd(g+4512|0,c,d);a=N[g+4512>>2];e=N[g+4516>>2]}N[g+4160>>2]=d;N[g+4152>>2]=0;N[g+4156>>2]=1;N[g+4144>>2]=a;N[g+4148>>2]=e;N[g+24>>2]=N[w+8>>2];a=N[w+4>>2];N[g+16>>2]=N[w>>2];N[g+20>>2]=a;break k}if(O[g+4424|0]|i>>>0>18){break l}if(1<>2];a=i>>>0>1;break m}qa:{if(O[g+4424|0]|i>>>0>23){break qa}ra:{sa:{a=1<>2];a=i>>>0>2;break ra}i=N[g+36>>2];a=i&1;break ra}i=N[g+36>>2];a=i>>>0>1}if(!(!a|!i)){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;L[g+4425|0]=1}L[g+4424|0]=1}N[g+4428>>2]=0;a=N[g+36>>2];N[g+36>>2]=0;N[g+4172>>2]=N[g+4172>>2]+(a>>>1|0);break k}if(!O[g+4424|0]){if(L[g+36|0]&1){b=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=b;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}ta:{if(O[g+4166|0]){i=N[g+4176>>2];break ta}L[g+4166|0]=1;b=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=b;i=(b+N[g+4168>>2]|0)+7>>>3|0;N[g+4176>>2]=i}a=a+i|0;if(a>>>0>r>>>0){break k}N[g+36>>2]=0;N[g+4428>>2]=0;N[g+24>>2]=a;break k}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=3){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}if(!b){m=589824;break p}a=b-1|0;N[g+36>>2]=a;m=(n+(a<<3)|0)+8|0;if(!a){break p}a=b-2|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break o}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=2){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}ua:{if(b){a=b-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break ua}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=h+S[g+4408>>3];h=S[g+4416>>3];jj(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1;break n}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=2){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}va:{if(b){a=b-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break va}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=S[g+4408>>3];h=h+S[g+4416>>3];jj(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1;break n}i=N[g+36>>2];if(i>>>0<2){break n}a=0;m=2;j=S[g+4416>>3];l=S[g+4408>>3];while(1){wa:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break wa}b=(n+(a<<3)|0)+8|0}a=a|1;xa:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break xa}h=S[(n+(a<<3)|0)+8>>3]}l=l+S[b>>3];j=h+j;pd(g,l,j);S[g+4416>>3]=j;S[g+4408>>3]=l;i=N[g+36>>2];a=m;m=a+2|0;if(i>>>0>=m>>>0){continue}break}break n}i=0;m=N[g+36>>2];if(m>>>0>=2){a=0;r=2;j=S[g+4416>>3];l=S[g+4408>>3];while(1){i=r;ya:{if(a>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break ya}h=S[(n+(a<<3)|0)+8>>3]}l=l+h;pd(g,l,j);S[g+4416>>3]=j;S[g+4408>>3]=l;a=a|1;za:{if(a>>>0>=Q[g+36>>2]){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break za}h=S[(n+(a<<3)|0)+8>>3]}j=j+h;pd(g,l,j);S[g+4416>>3]=j;S[g+4408>>3]=l;a=i;r=a+2|0;m=N[g+36>>2];if(r>>>0<=m>>>0){continue}break}}if(i>>>0>=m>>>0){break n}k=S[g+4408>>3]+S[(n+(i<<3)|0)+8>>3];h=S[g+4416>>3];pd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}i=0;m=N[g+36>>2];if(m>>>0>=2){a=0;r=2;j=S[g+4416>>3];l=S[g+4408>>3];while(1){i=r;Aa:{if(a>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Aa}h=S[(n+(a<<3)|0)+8>>3]}j=j+h;pd(g,l,j);S[g+4416>>3]=j;S[g+4408>>3]=l;a=a|1;Ba:{if(a>>>0>=Q[g+36>>2]){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ba}h=S[(n+(a<<3)|0)+8>>3]}l=l+h;pd(g,l,j);S[g+4416>>3]=j;S[g+4408>>3]=l;a=i;r=a+2|0;m=N[g+36>>2];if(r>>>0<=m>>>0){continue}break}}if(i>>>0>=m>>>0){break n}k=S[g+4408>>3];h=S[g+4416>>3]+S[(n+(i<<3)|0)+8>>3];pd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}i=N[g+36>>2];if(i>>>0<6){break n}a=0;m=6;e=N[g>>2];d=N[g+4>>2];r=N[g+8>>2];t=S[g+4416>>3];h=S[g+4408>>3];while(1){Ca:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ca}b=(n+(a<<3)|0)+8|0}c=a|1;Da:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Da}j=S[(n+(c<<3)|0)+8>>3]}l=S[b>>3];b=a+2|0;Ea:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ea}b=(n+(b<<3)|0)+8|0}c=a+3|0;Fa:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Fa}k=S[(n+(c<<3)|0)+8>>3]}j=t+j;l=h+l;h=S[b>>3];b=a+4|0;Ga:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ga}b=(n+(b<<3)|0)+8|0}p=l+h;o=j+k;a=a+5|0;Ha:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ha}h=S[(n+(a<<3)|0)+8>>3]}t=o+h;h=p+S[b>>3];Ia:{if(!r){k=t;s=h;break Ia}y=S[r+8>>3];k=t+y;u=S[r>>3];s=h+u;o=o+y;p=p+u;j=j+y;l=l+u}v=R[e+44>>2];q=R[e+48>>2];Db(d,U(v*U(l)),U(q*U(j)),U(v*U(p)),U(q*U(o)),U(v*U(s)),U(q*U(k)));S[g+4416>>3]=t;S[g+4408>>3]=h;i=N[g+36>>2];a=m;m=a+6|0;if(i>>>0>=m>>>0){continue}break}break n}a=N[g+36>>2];if(a>>>0<8){break n}e=a-2|0;a=0;i=6;r=N[g>>2];d=N[g+4>>2];m=N[g+8>>2];t=S[g+4416>>3];h=S[g+4408>>3];while(1){x=N[g+36>>2];Ja:{if(x>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ja}b=(n+(a<<3)|0)+8|0}c=a|1;Ka:{if(c>>>0>=x>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Ka}j=S[(n+(c<<3)|0)+8>>3]}l=S[b>>3];b=a+2|0;La:{if(b>>>0>=x>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break La}b=(n+(b<<3)|0)+8|0}c=a+3|0;Ma:{if(c>>>0>=x>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Ma}k=S[(n+(c<<3)|0)+8>>3]}j=t+j;l=h+l;h=S[b>>3];b=a+4|0;Na:{if(b>>>0>=x>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Na}b=(n+(b<<3)|0)+8|0}p=l+h;o=j+k;a=a+5|0;Oa:{if(a>>>0>=x>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Oa}h=S[(n+(a<<3)|0)+8>>3]}t=o+h;h=p+S[b>>3];Pa:{if(!m){k=t;s=h;break Pa}y=S[m+8>>3];k=t+y;u=S[m>>3];s=h+u;o=o+y;p=p+u;j=j+y;l=l+u}v=R[r+44>>2];q=R[r+48>>2];Db(d,U(v*U(l)),U(q*U(j)),U(v*U(p)),U(q*U(o)),U(v*U(s)),U(q*U(k)));S[g+4416>>3]=t;S[g+4408>>3]=h;a=i;i=a+6|0;if(e>>>0>=i>>>0){continue}break}c=N[g+36>>2];Qa:{if(c>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Qa}b=(n+(a<<3)|0)+8|0}a=a|1;Ra:{if(a>>>0>=c>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Ra}j=S[(n+(a<<3)|0)+8>>3]}k=h+S[b>>3];h=t+j;pd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}a=N[g+36>>2];if(a>>>0<8){break n}d=a-6|0;a=0;m=2;j=S[g+4416>>3];l=S[g+4408>>3];while(1){c=N[g+36>>2];Sa:{if(c>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Sa}b=(n+(a<<3)|0)+8|0}a=a|1;Ta:{if(a>>>0>=c>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ta}h=S[(n+(a<<3)|0)+8>>3]}l=l+S[b>>3];j=j+h;pd(g,l,j);S[g+4416>>3]=j;S[g+4408>>3]=l;a=m;m=a+2|0;if(d>>>0>=m>>>0){continue}break}d=N[g+36>>2];Ua:{if(d>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ua}b=(n+(a<<3)|0)+8|0}c=a|1;Va:{if(c>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Va}k=S[(n+(c<<3)|0)+8>>3]}s=S[b>>3];Wa:{if(d>>>0<=m>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Wa}b=(n+(m<<3)|0)+8|0}c=a+3|0;Xa:{if(c>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Xa}h=S[(n+(c<<3)|0)+8>>3]}j=j+k;l=l+s;k=S[b>>3];b=a+4|0;Ya:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ya}b=(n+(b<<3)|0)+8|0}p=l+k;o=j+h;a=a+5|0;Za:{if(a>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Za}h=S[(n+(a<<3)|0)+8>>3]}t=o+h;h=p+S[b>>3];a=N[g+8>>2];_a:{if(!a){k=t;s=h;break _a}y=S[a+8>>3];k=t+y;u=S[a>>3];s=h+u;o=o+y;p=p+u;j=j+y;l=l+u}a=N[g>>2];v=R[a+44>>2];q=R[a+48>>2];Db(N[g+4>>2],U(v*U(l)),U(q*U(j)),U(v*U(p)),U(q*U(o)),U(v*U(s)),U(q*U(k)));S[g+4416>>3]=t;S[g+4408>>3]=h;break n}i=N[g+36>>2];a=i&1;m=a|4;if(i>>>0>>0){break n}j=S[g+4408>>3]+(a?S[g+40>>3]:-0);e=N[g>>2];d=N[g+4>>2];r=N[g+8>>2];p=S[g+4416>>3];while(1){$a:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break $a}h=S[(n+(a<<3)|0)+8>>3]}b=a+1|0;ab:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break ab}b=(n+(b<<3)|0)+8|0}l=p+h;h=l;c=a+2|0;bb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break bb}k=S[(n+(c<<3)|0)+8>>3]}s=j+S[b>>3];o=h+k;a=a+3|0;cb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break cb}h=S[(n+(a<<3)|0)+8>>3]}p=o+h;db:{if(!r){h=s;k=p;break db}u=S[r+8>>3];k=p+u;o=o+u;t=S[r>>3];h=s+t;l=l+u;j=j+t}q=R[e+44>>2];v=U(q*U(h));z=U(q*U(j));q=R[e+48>>2];Db(d,z,U(q*U(l)),v,U(q*U(o)),v,U(q*U(k)));S[g+4416>>3]=p;S[g+4408>>3]=s;j=s;i=N[g+36>>2];a=m;m=a+4|0;if(i>>>0>=m>>>0){continue}break}break n}i=N[g+36>>2];a=i&1;m=a|4;if(i>>>0>>0){break n}j=S[g+4416>>3]+(a?S[g+40>>3]:-0);e=N[g>>2];d=N[g+4>>2];r=N[g+8>>2];p=S[g+4408>>3];while(1){eb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break eb}h=S[(n+(a<<3)|0)+8>>3]}b=a+1|0;fb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break fb}b=(n+(b<<3)|0)+8|0}l=p+h;c=a+2|0;gb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break gb}h=S[(n+(c<<3)|0)+8>>3]}s=j+h;o=l+S[b>>3];a=a+3|0;hb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break hb}h=S[(n+(a<<3)|0)+8>>3]}p=o+h;ib:{if(!r){h=s;k=p;break ib}u=S[r>>3];k=p+u;t=S[r+8>>3];h=s+t;o=o+u;j=j+t;l=l+u}q=R[e+48>>2];z=U(q*U(h));v=R[e+44>>2];Db(d,U(v*U(l)),U(q*U(j)),U(v*U(o)),z,U(v*U(k)),z);S[g+4416>>3]=s;S[g+4408>>3]=p;j=s;i=N[g+36>>2];a=m;m=a+4|0;if(i>>>0>=m>>>0){continue}break}break n}i=N[g+36>>2];if(i&4){break q}if(i>>>0<8){break n}a=0;c=8;r=N[g>>2];e=N[g+4>>2];m=N[g+8>>2];h=S[g+4416>>3];j=S[g+4408>>3];while(1){jb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break jb}k=S[(n+(a<<3)|0)+8>>3]}b=a|1;kb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break kb}b=(n+(b<<3)|0)+8|0}o=h+k;d=a|2;lb:{if(d>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break lb}h=S[(n+(d<<3)|0)+8>>3]}l=o+h;p=j+S[b>>3];b=a|3;mb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break mb}h=S[(n+(b<<3)|0)+8>>3]}s=p+h;nb:{if(!m){h=l;k=s;break nb}u=S[m>>3];k=s+u;t=S[m+8>>3];h=l+t;p=p+u;o=o+t;j=j+u}q=R[r+48>>2];z=U(q*U(h));v=R[r+44>>2];Db(e,U(v*U(j)),U(q*U(o)),U(v*U(p)),z,U(v*U(k)),z);S[g+4416>>3]=l;S[g+4408>>3]=s;i=N[g+36>>2];b=a|4;ob:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break ob}h=S[(n+(b<<3)|0)+8>>3]}b=a|5;pb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break pb}b=(n+(b<<3)|0)+8|0}d=a|6;qb:{if(d>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break qb}k=S[(n+(d<<3)|0)+8>>3]}p=s+h;j=S[b>>3];b=a|7;rb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break rb}h=S[(n+(b<<3)|0)+8>>3]}t=l+k;o=p+j;j=o;sb:{if(i-a>>>0>15){break sb}j=o;if(!(i&1)){break sb}tb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break tb}k=S[(n+(c<<3)|0)+8>>3]}j=j+k}h=t+h;ub:{if(!m){k=h;s=j;break ub}y=S[m+8>>3];k=h+y;u=S[m>>3];s=j+u;t=t+y;o=o+u;l=l+y;p=p+u}v=R[r+44>>2];q=R[r+48>>2];Db(e,U(v*U(p)),U(q*U(l)),U(v*U(o)),U(q*U(t)),U(v*U(s)),U(q*U(k)));S[g+4416>>3]=h;S[g+4408>>3]=j;a=c;c=a+8|0;i=N[g+36>>2];if(c>>>0<=i>>>0){continue}break}break n}i=N[g+36>>2];if(i&4){break r}if(i>>>0<8){break n}a=0;c=8;r=N[g>>2];e=N[g+4>>2];m=N[g+8>>2];j=S[g+4416>>3];h=S[g+4408>>3];while(1){vb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break vb}k=S[(n+(a<<3)|0)+8>>3]}b=a|1;wb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break wb}b=(n+(b<<3)|0)+8|0}o=h+k;d=a|2;xb:{if(d>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break xb}h=S[(n+(d<<3)|0)+8>>3]}l=o+S[b>>3];p=j+h;b=a|3;yb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break yb}h=S[(n+(b<<3)|0)+8>>3]}s=p+h;zb:{if(!m){h=l;k=s;break zb}u=S[m+8>>3];k=s+u;p=p+u;t=S[m>>3];h=l+t;j=j+u;o=o+t}q=R[r+44>>2];v=U(q*U(h));z=U(q*U(o));q=R[r+48>>2];Db(e,z,U(q*U(j)),v,U(q*U(p)),v,U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=l;i=N[g+36>>2];b=a|4;Ab:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ab}h=S[(n+(b<<3)|0)+8>>3]}b=a|5;Bb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Bb}b=(n+(b<<3)|0)+8|0}d=a|6;Cb:{if(d>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Cb}k=S[(n+(d<<3)|0)+8>>3]}p=s+h;j=S[b>>3];b=a|7;Db:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Db}h=S[(n+(b<<3)|0)+8>>3]}t=l+j;o=p+k;j=o;Eb:{if(i-a>>>0>15){break Eb}j=o;if(!(i&1)){break Eb}Fb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Fb}k=S[(n+(c<<3)|0)+8>>3]}j=j+k}h=t+h;Gb:{if(!m){k=j;s=h;break Gb}y=S[m+8>>3];k=j+y;u=S[m>>3];s=h+u;o=o+y;t=t+u;p=p+y;l=l+u}v=R[r+44>>2];q=R[r+48>>2];Db(e,U(v*U(l)),U(q*U(p)),U(v*U(t)),U(q*U(o)),U(v*U(s)),U(q*U(k)));S[g+4416>>3]=j;S[g+4408>>3]=h;a=c;c=a+8|0;i=N[g+36>>2];if(c>>>0<=i>>>0){continue}break}break n}if(N[g+36>>2]==7){l=S[g+48>>3];k=S[g+40>>3];h=S[g+4408>>3];a=g+4520|0;s=S[g+4416>>3];j=s+S[g+56>>3];S[a>>3]=j;k=h+k;h=l+k;S[g+4512>>3]=h+S[g+64>>3];d=N[a+4>>2];a=N[a>>2];b=g+4504|0;N[b>>2]=a;N[b+4>>2]=d;b=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=b;S[g+4496>>3]=S[g+4496>>3]+S[g+72>>3];c=g+4488|0;b=c;N[b>>2]=a;N[b+4>>2]=d;S[b>>3]=s;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[g+4480>>3]=S[g+4480>>3]+S[g+80>>3];a=N[b+4>>2];b=g+4472|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[g+4464>>3]=S[g+4464>>3]+S[g+88>>3];Mg(g+16|0,g,k,s,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=r+1;break n}if(N[g+36>>2]==13){s=S[g+56>>3];k=S[g+40>>3];h=S[g+4408>>3];c=g+4520|0;l=S[g+4416>>3]+S[g+48>>3];j=l+S[g+64>>3];S[c>>3]=j+S[g+80>>3];k=h+k;h=s+k;S[g+4512>>3]=h+S[g+72>>3];a=N[c+4>>2];d=g+4504|0;b=d;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=a;S[b>>3]=S[b>>3]+S[g+96>>3];S[g+4496>>3]=S[g+4496>>3]+S[g+88>>3];a=N[b+4>>2];c=g+4488|0;b=c;N[b>>2]=N[d>>2];N[b+4>>2]=a;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[b>>3]=S[b>>3]+S[g+112>>3];S[g+4480>>3]=S[g+4480>>3]+S[g+104>>3];a=N[b+4>>2];b=g+4472|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[b>>3]=S[b>>3]+S[g+128>>3];S[g+4464>>3]=S[g+4464>>3]+S[g+120>>3];Mg(g+16|0,g,k,l,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=r+1;break n}if(N[g+36>>2]==9){t=S[g+56>>3];k=S[g+40>>3];h=S[g+4408>>3];a=g+4520|0;s=S[g+4416>>3];l=s+S[g+48>>3];j=l+S[g+64>>3];S[a>>3]=j;k=h+k;h=t+k;S[g+4512>>3]=h+S[g+72>>3];c=N[a+4>>2];a=N[a>>2];b=g+4504|0;N[b>>2]=a;N[b+4>>2]=c;b=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=b;S[g+4496>>3]=S[g+4496>>3]+S[g+80>>3];d=g+4488|0;N[d>>2]=a;N[d+4>>2]=c;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[d>>3]=S[d>>3]+S[g+96>>3];S[g+4480>>3]=S[g+4480>>3]+S[g+88>>3];a=N[d+4>>2];b=g+4472|0;N[b>>2]=N[d>>2];N[b+4>>2]=a;S[b>>3]=s;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[g+4464>>3]=S[g+4464>>3]+S[g+104>>3];Mg(g+16|0,g,k,l,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=r+1;break n}if(N[g+36>>2]==11){D=S[g+104>>3];E=S[g+112>>3];F=S[g+88>>3];H=S[g+96>>3];I=S[g+72>>3];J=S[g+56>>3];y=S[g+4408>>3];u=S[g+40>>3];b=g+4520|0;h=S[g+4416>>3];p=S[g+48>>3];o=h+p;t=S[g+64>>3];s=o+t;l=S[g+80>>3];S[b>>3]=s+l;j=y+u;k=J+j;S[g+4512>>3]=I+k;a=N[b+4>>2];c=g+4504|0;N[c>>2]=N[b>>2];N[c+4>>2]=a;S[c>>3]=H+S[c>>3];a=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=a;S[g+4496>>3]=F+S[g+4496>>3];a=N[c+4>>2];b=g+4488|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;S[b>>3]=E+S[b>>3];a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[g+4480>>3]=D+S[g+4480>>3];a=N[b+4>>2];c=g+4472|0;N[c>>2]=N[b>>2];N[c+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;K=h;h=S[g+120>>3];a=V(D+(F+(I+(J+(u+0)))))>V(E+(H+(l+(t+(p+0)))));S[c>>3]=a?K:S[c>>3]+h;S[g+4464>>3]=a?h+S[g+4464>>3]:y;Mg(g+16|0,g,j,o,k,s,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=r+1;break n}uf(i,g+16|0);break k}i=N[g+36>>2];a=i&1;break m}l=S[g+4416>>3];o=l+S[g+56>>3];t=o+S[g+64>>3];p=S[g+4408>>3]+S[g+40>>3];j=p+S[g+48>>3];c=4;if(i>>>0>=12){a=4;r=12;m=N[g>>2];e=N[g+4>>2];x=N[g+8>>2];while(1){c=r;Hb:{if(!x){h=j;k=t;break Hb}u=S[x+8>>3];k=t+u;o=o+u;s=S[x>>3];h=j+s;l=l+u;p=p+s}q=R[m+44>>2];v=U(q*U(h));z=U(q*U(p));q=R[m+48>>2];Db(e,z,U(q*U(l)),v,U(q*U(o)),v,U(q*U(k)));S[g+4416>>3]=t;S[g+4408>>3]=j;i=N[g+36>>2];Ib:{if(i>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ib}h=S[(n+(a<<3)|0)+8>>3]}b=a|1;Jb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Jb}b=(n+(b<<3)|0)+8|0}o=t+h;d=a|2;Kb:{if(d>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Kb}h=S[(n+(d<<3)|0)+8>>3]}l=o+h;p=j+S[b>>3];b=a|3;Lb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Lb}h=S[(n+(b<<3)|0)+8>>3]}s=p+h;Mb:{if(!x){h=l;k=s;break Mb}u=S[x>>3];k=s+u;t=S[x+8>>3];h=l+t;p=p+u;o=o+t;j=j+u}q=R[m+48>>2];z=U(q*U(h));v=R[m+44>>2];Db(e,U(v*U(j)),U(q*U(o)),U(v*U(p)),z,U(v*U(k)),z);S[g+4416>>3]=l;S[g+4408>>3]=s;i=N[g+36>>2];b=a+4|0;Nb:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Nb}h=S[(n+(b<<3)|0)+8>>3]}b=a+5|0;Ob:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ob}b=(n+(b<<3)|0)+8|0}p=s+h;d=a+6|0;Pb:{if(d>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Pb}h=S[(n+(d<<3)|0)+8>>3]}j=p+S[b>>3];o=l+h;a=a+7|0;Qb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Qb}h=S[(n+(a<<3)|0)+8>>3]}t=o+h;a=c;r=a+8|0;if(r>>>0<=i>>>0){continue}break}}h=j;h=c>>>0>>0?h+S[(n+(c<<3)|0)+8>>3]:h;a=N[g+8>>2];Rb:{if(!a){k=t;s=h;break Rb}y=S[a+8>>3];k=t+y;u=S[a>>3];s=h+u;o=o+y;j=j+u;l=l+y;p=p+u}a=N[g>>2];v=R[a+44>>2];q=R[a+48>>2];Db(N[g+4>>2],U(v*U(p)),U(q*U(l)),U(v*U(j)),U(q*U(o)),U(v*U(s)),U(q*U(k)));S[g+4416>>3]=t;S[g+4408>>3]=h;break n}l=S[g+4408>>3];o=l+S[g+48>>3];t=o+S[g+64>>3];p=S[g+4416>>3]+S[g+40>>3];j=p+S[g+56>>3];c=4;if(i>>>0>=12){a=4;r=12;m=N[g>>2];e=N[g+4>>2];x=N[g+8>>2];while(1){c=r;Sb:{if(!x){h=j;k=t;break Sb}u=S[x>>3];k=t+u;s=S[x+8>>3];h=j+s;o=o+u;p=p+s;l=l+u}q=R[m+48>>2];z=U(q*U(h));v=R[m+44>>2];Db(e,U(v*U(l)),U(q*U(p)),U(v*U(o)),z,U(v*U(k)),z);S[g+4416>>3]=j;S[g+4408>>3]=t;i=N[g+36>>2];Tb:{if(i>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Tb}h=S[(n+(a<<3)|0)+8>>3]}b=a|1;Ub:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ub}b=(n+(b<<3)|0)+8|0}o=t+h;d=a|2;Vb:{if(d>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Vb}h=S[(n+(d<<3)|0)+8>>3]}l=o+S[b>>3];p=j+h;b=a|3;Wb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Wb}h=S[(n+(b<<3)|0)+8>>3]}s=p+h;Xb:{if(!x){h=l;k=s;break Xb}u=S[x+8>>3];k=s+u;p=p+u;t=S[x>>3];h=l+t;j=j+u;o=o+t}q=R[m+44>>2];v=U(q*U(h));z=U(q*U(o));q=R[m+48>>2];Db(e,z,U(q*U(j)),v,U(q*U(p)),v,U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=l;i=N[g+36>>2];b=a+4|0;Yb:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Yb}h=S[(n+(b<<3)|0)+8>>3]}b=a+5|0;Zb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Zb}b=(n+(b<<3)|0)+8|0}p=s+h;d=a+6|0;_b:{if(d>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break _b}h=S[(n+(d<<3)|0)+8>>3]}j=p+h;o=l+S[b>>3];a=a+7|0;$b:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break $b}h=S[(n+(a<<3)|0)+8>>3]}t=o+h;a=c;r=a+8|0;if(r>>>0<=i>>>0){continue}break}}h=j;h=c>>>0>>0?h+S[(n+(c<<3)|0)+8>>3]:h;a=N[g+8>>2];ac:{if(!a){k=h;s=t;break ac}y=S[a+8>>3];k=h+y;u=S[a>>3];s=t+u;j=j+y;o=o+u;p=p+y;l=l+u}a=N[g>>2];v=R[a+44>>2];q=R[a+48>>2];Db(N[g+4>>2],U(v*U(l)),U(q*U(p)),U(v*U(o)),U(q*U(j)),U(v*U(s)),U(q*U(k)));S[g+4416>>3]=h;S[g+4408>>3]=t;break n}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=h+S[g+4408>>3];h=S[g+4416>>3]+S[m>>3];jj(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1}N[g+36>>2]=0;N[g+4428>>2]=0;break k}if(!(!a|!i)){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;L[g+4425|0]=1}L[g+4424|0]=1}N[g+4428>>2]=0;a=N[g+36>>2];N[g+36>>2]=0;N[g+4168>>2]=N[g+4168>>2]+(a>>>1|0)}i=0;if(O[g+4180|0]){break a}a=N[g+24>>2];r=N[g+20>>2];if(O[g+32|0]|a>>>0>r>>>0){break a}if(!O[g+4164|0]){continue}}break}d=N[g+4>>2];a=d+16|0;if(N[d+16>>2]){b=N[d+12>>2];c=N[d+8>>2];v=R[d+20>>2];q=R[d+24>>2];if(!(v==R[d+28>>2]&q==R[d+32>>2])){e=N[c+16>>2];d=N[c+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](c,b,a,v,q,d)}e=N[c+28>>2];d=N[c+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](c,b,a,d)}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;i=1}La=g+4528|0;return i}function lj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,P=0;e=La-4512|0;La=e;N[c+16>>2]=0;N[c+20>>2]=-1042284544;N[c+8>>2]=-4194304;N[c+12>>2]=1105199103;N[c>>2]=-4194304;N[c+4>>2]=1105199103;N[c+24>>2]=0;N[c+28>>2]=-1042284544;a:{if(!N[a+44>>2]|Q[a+216>>2]<=b>>>0){break a}z=N[a+80>>2];b:{if((z|0)==275552){break b}c:{d:{switch(O[z|0]){case 0:j=(b+z|0)+1|0;break c;case 3:break d;default:break b}}if(O[z+1|0]|O[z+2|0]<<8){I=O[z+1|0]|O[z+2|0]<<8;j=z+3|0}else{j=275552}D=(I<<8|(I&65280)>>>8)&65535;e:{if(D>>>0>=2){u=D-2|0;while(1){w=s+u>>>1|0;l=j+T(w,3)|0;x=O[l|0]|O[l+1|0]<<8;f:{if(((x<<8|x>>>8)&65535)>>>0<=b>>>0){x=O[l+3|0]|O[l+4|0]<<8;if(((x<<8|x>>>8)&65535)>>>0>b>>>0){break e}s=w+1|0;break f}u=w-1|0}if((s|0)<=(u|0)){continue}break}}if(!I){l=275552;break e}l=z+T(D,3)|0}j=l+2|0}u=O[j|0]}fd(e+4432|0,N[a+72>>2],b);s=N[(Q[a+208>>2]<=u>>>0?275552:N[a+212>>2]+T(u,24)|0)+20>>2];x=N[a+68>>2];L[e+16|0]=0;G(e+20|0,0,4108);b=e+4192|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4200>>2]=0;b=e+4212|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4220>>2]=0;b=e+4232|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4240>>2]=0;b=e+4252|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4260>>2]=0;b=e+4272|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4280>>2]=0;b=e+4292|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4300>>2]=0;N[e+4320>>2]=0;b=e+4312|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4340>>2]=0;b=e+4332|0;N[b>>2]=0;N[b+4>>2]=0;L[e+4164|0]=0;N[e+8>>2]=0;l=N[e+4436>>2];b=N[e+4432>>2];N[e>>2]=b;N[e+4>>2]=l;N[e+4360>>2]=0;j=e+4352|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4176|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4168|0;N[j>>2]=0;N[j+4>>2]=0;N[e+4144>>2]=0;j=e+4136|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4400|0;N[j>>2]=0;N[j+4>>2]=0;N[e+4376>>2]=x;N[e+4128>>2]=b;N[e+4132>>2]=l;N[e+4160>>2]=0;N[e+4152>>2]=0;N[e+4156>>2]=0;L[e+4149|0]=1;L[e+4150|0]=0;N[e+4392>>2]=0;N[e+4396>>2]=0;j=107;b=107;g:{if(!x){break g}x=O[x|0]|O[x+1|0]<<8;x=(x<<8|x>>>8)&65535;b=107;if(x>>>0<1240){break g}b=x>>>0<33900?1131:32768}N[e+4384>>2]=s;N[e+4372>>2]=b;h:{if(!s){break h}b=O[s|0]|O[s+1|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0<1240){break h}j=b>>>0<33900?1131:32768}K=e+4164|0;x=e+4128|0;t=e+16|0;N[e+4416>>2]=0;N[e+4420>>2]=0;N[e+4380>>2]=j;L[e+4424|0]=d;N[e+4412>>2]=0;M[e+4408>>1]=0;L[e+4148|0]=0;P=1e4;m=2147483647;h=-2147483648;n=-2147483648;k=2147483647;u=0;s=0;while(1){P=P-1|0;if(P){j=65535;i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{d=s+1|0;if(d>>>0>l>>>0){break u}w=N[e>>2];b=O[w+s|0];N[e+8>>2]=d;v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{if((b|0)!=12){s=d;break V}s=s+2|0;if(s>>>0>l>>>0){break u}b=O[d+w|0];N[e+8>>2]=s;b=b|256}j=b;switch(j-1|0){case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break u;case 30:break z;case 29:break A;case 26:break B;case 25:break C;case 24:break D;case 23:break E;case 7:break F;case 6:break G;case 5:break H;case 4:break I;case 3:break J;case 21:break K;case 20:break L;case 18:case 19:break M;case 2:case 22:break N;case 0:case 17:break O;case 28:break P;case 9:break Q;case 10:break S;case 13:break T;default:break U}}switch(j-255|0){case 1:break j;case 38:break v;case 37:break w;case 36:break x;case 35:break y;case 0:break R;default:break u}}d=N[e+20>>2];if(!O[e+4408|0]){if(d&1){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}W:{if(d>>>0<4){break W}j=(d<<3)+t|0;f=S[j-8>>3];X:{if(V(f)<2147483648){b=~~f;break X}b=-2147483648}q=S[j-16>>3];o=S[j-24>>3];d=0;Y:{if(b>>>0>255){break Y}l=O[b+267360|0];d=N[a+52>>2];if((d|0)!=275552){d=vf(d,l,N[a+216>>2]);break Y}d=b>>>0<229?N[a+172>>2]?0:l:0}f=S[j>>3];Z:{if(V(f)<2147483648){b=~~f;break Z}b=-2147483648}l=0;_:{if(b>>>0>255){break _}j=O[b+267360|0];l=N[a+52>>2];if((l|0)!=275552){l=vf(l,j,N[a+216>>2]);break _}l=b>>>0<229?N[a+172>>2]?0:j:0}b=e+4504|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4496|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4488|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4480>>2]=0;N[e+4484>>2]=0;b=e+4472|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4464|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4456|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4448>>2]=0;N[e+4452>>2]=0;$:{if(O[e+4424|0]|(!l|!d)){break $}if(!lj(a,d,e+4480|0,1)){break $}if(!lj(a,l,e+4448|0,1)){break $}p=S[e+4504>>3];aa:{if(!(km)){n=S[e+4496>>3];m=S[e+4488>>3];k=S[e+4480>>3];break aa}i=S[e+4496>>3];g=S[e+4480>>3];ba:{if(!(i>g)){break ba}f=S[e+4488>>3];if(!(fn?i:n;k=g>3];i=S[e+4464>>3];g=S[e+4456>>3];h=S[e+4472>>3];if(!(!(fn?i:n;k=fp){break W}h=p;L[e+4148|0]=1;break j}N[e+8>>2]=N[e+4>>2]+1}L[e+4148|0]=1;break j}b=N[e+4168>>2];ca:{if(b){b=b-1|0;N[e+4168>>2]=b;b=(T(b,20)+K|0)+8|0;break ca}N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;L[e+4164|0]=1;N[147460]=0;b=589824}l=N[b+4>>2];d=x;N[d>>2]=N[b>>2];N[d+4>>2]=l;N[d+16>>2]=N[b+16>>2];l=b+8|0;d=N[l+4>>2];N[x+8>>2]=N[l>>2];N[x+12>>2]=d;l=N[b>>2];d=N[b+4>>2];N[e+8>>2]=N[b+8>>2];N[e>>2]=l;N[e+4>>2]=d;break i}if(s+4>>>0>l>>>0){break i}da:{if(l>>>0<=s>>>0){s=l+1|0;b=275552;break da}b=s+w|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);d=N[e+20>>2];ea:{if(d>>>0<=512){N[e+20>>2]=d+1;d=((d<<3)+t|0)+8|0;break ea}N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824}S[d>>3]=+(b|0)*152587890625e-16;N[e+8>>2]=s+4;break i}fa:{b=N[e+20>>2];ga:{if(b){b=b-1|0;N[e+20>>2]=b;f=S[((b<<3)+t|0)+8>>3];if(V(f)<2147483648){b=~~f;break ga}b=-2147483648;break ga}N[147456]=0;N[147457]=0;L[e+16|0]=1;b=0}j=b+N[e+4380>>2]|0;ha:{if((j|0)<0){break ha}b=N[e+4384>>2];if(!b){break ha}b=O[b|0]|O[b+1|0]<<8;if(j>>>0>=((b<<8|b>>>8)&65535)>>>0){break ha}d=N[e+4168>>2];if(d>>>0<10){break fa}}N[e+8>>2]=l+1;break i}b=N[e+4>>2];N[x>>2]=N[e>>2];N[x+4>>2]=b;N[x+8>>2]=N[e+8>>2];N[e+4168>>2]=d+1;d=T(d,20)+K|0;N[d+24>>2]=N[x+16>>2];b=N[x+12>>2];N[d+16>>2]=N[x+8>>2];N[d+20>>2]=b;b=N[x+4>>2];N[d+8>>2]=N[x>>2];N[d+12>>2]=b;b=0;s=0;l=N[e+4384>>2];ia:{if(!l){break ia}d=O[l|0]|O[l+1|0]<<8;if(j>>>0>=((d<<8|d>>>8)&65535)>>>0){break ia}fd(e+4480|0,l,j);b=N[e+4480>>2];s=N[e+4484>>2]}N[e+4144>>2]=j;N[e+4136>>2]=0;N[e+4140>>2]=2;N[e+4128>>2]=b;N[e+4132>>2]=s;N[e+8>>2]=N[x+8>>2];b=N[x+4>>2];N[e>>2]=N[x>>2];N[e+4>>2]=b;break i}ja:{b=N[e+20>>2];ka:{if(b){b=b-1|0;N[e+20>>2]=b;f=S[((b<<3)+t|0)+8>>3];if(V(f)<2147483648){b=~~f;break ka}b=-2147483648;break ka}N[147456]=0;N[147457]=0;L[e+16|0]=1;b=0}j=b+N[e+4372>>2]|0;la:{if((j|0)<0){break la}b=N[e+4376>>2];if(!b){break la}b=O[b|0]|O[b+1|0]<<8;if(j>>>0>=((b<<8|b>>>8)&65535)>>>0){break la}d=N[e+4168>>2];if(d>>>0<10){break ja}}N[e+8>>2]=l+1;break i}b=N[e+4>>2];N[x>>2]=N[e>>2];N[x+4>>2]=b;N[x+8>>2]=N[e+8>>2];N[e+4168>>2]=d+1;d=T(d,20)+K|0;N[d+24>>2]=N[x+16>>2];b=N[x+12>>2];N[d+16>>2]=N[x+8>>2];N[d+20>>2]=b;b=N[x+4>>2];N[d+8>>2]=N[x>>2];N[d+12>>2]=b;b=0;s=0;l=N[e+4376>>2];ma:{if(!l){break ma}d=O[l|0]|O[l+1|0]<<8;if(j>>>0>=((d<<8|d>>>8)&65535)>>>0){break ma}fd(e+4480|0,l,j);b=N[e+4480>>2];s=N[e+4484>>2]}N[e+4144>>2]=j;N[e+4136>>2]=0;N[e+4140>>2]=1;N[e+4128>>2]=b;N[e+4132>>2]=s;N[e+8>>2]=N[x+8>>2];b=N[x+4>>2];N[e>>2]=N[x>>2];N[e+4>>2]=b;break i}if(O[e+4408|0]|j>>>0>18){break l}if(1<>2];s=j>>>0>1;break m}na:{if(O[e+4408|0]|j>>>0>23){break na}oa:{pa:{b=1<>2];b=j>>>0>2;break oa}j=N[e+20>>2];b=j&1;break oa}j=N[e+20>>2];b=j>>>0>1}if(!(!b|!j)){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;L[e+4409|0]=1}L[e+4408|0]=1}N[e+4412>>2]=0;b=N[e+20>>2];N[e+20>>2]=0;N[e+4156>>2]=N[e+4156>>2]+(b>>>1|0);break i}if(!O[e+4408|0]){if(L[e+20|0]&1){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}qa:{if(O[e+4150|0]){j=N[e+4160>>2];break qa}L[e+4150|0]=1;b=N[e+4156>>2]+(N[e+20>>2]>>>1|0)|0;N[e+4156>>2]=b;j=(b+N[e+4152>>2]|0)+7>>>3|0;N[e+4160>>2]=j}b=j+s|0;if(b>>>0>l>>>0){break i}N[e+20>>2]=0;N[e+4412>>2]=0;N[e+8>>2]=b;break i}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=3){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}if(!d){s=589824;break q}b=d-1|0;s=((b<<3)+t|0)+8|0;if(!b){break q}b=d-2|0;j=b>>>1|0;i=S[((b<<3)+t|0)+8>>3];break p}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=2){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}ra:{if(d){b=d-1|0;s=b>>>1|0;g=S[((b<<3)+t|0)+8>>3];break ra}s=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0}f=S[e+4392>>3];S[e+4400>>3]=S[e+4400>>3];S[e+4392>>3]=f+g;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+s|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3;break o}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=2){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}sa:{if(d){b=d-1|0;s=b>>>1|0;g=S[((b<<3)+t|0)+8>>3];break sa}s=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0}f=S[e+4400>>3];S[e+4392>>3]=S[e+4392>>3];S[e+4400>>3]=f+g;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+s|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3;break o}s=N[e+20>>2];if(s>>>0<2){break j}j=0;l=2;g=S[e+4400>>3];i=S[e+4392>>3];while(1){b=j;j=l;f=g;o=i;ta:{if(b>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break ta}d=((b<<3)+t|0)+8|0}i=i+S[d>>3];g=f+S[((b<<3|8)+t|0)+8>>3];ua:{if(!(u&255)){m=fo?o:k;u=1;if(f>h){break ua}}f=h}S[e+4400>>3]=g;h=f>3]=i;n=i>n?i:n;k=i>>0>=l>>>0){continue}break}break j}j=0;d=N[e+20>>2];if(d>>>0>=2){l=2;f=S[e+4400>>3];i=S[e+4392>>3];while(1){b=j;j=l;g=f;f=i;va:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;i=0;break va}i=S[((b<<3)+t|0)+8>>3]}i=f+i;wa:{if(u&255){break wa}m=gn?f:n;k=fh)){break wa}h=g}S[e+4392>>3]=i;S[e+4400>>3]=g;f=S[((b<<3|8)+t|0)+8>>3];S[e+4392>>3]=i;f=g+f;S[e+4400>>3]=f;h=g>h?g:h;h=f>h?f:h;g=gn?i:n;k=i>>0>=l>>>0){continue}break}}if(d>>>0<=j>>>0){break j}g=S[e+4392>>3];i=g+S[((j<<3)+t|0)+8>>3];f=S[e+4400>>3];xa:{if(u&255){break xa}m=fn?g:n;k=gh)){break xa}h=f}S[e+4400>>3]=f;m=f>3]=i;n=i>n?i:n;k=ih)){break j}h=f;break j}j=0;d=N[e+20>>2];if(d>>>0>=2){l=2;i=S[e+4400>>3];f=S[e+4392>>3];while(1){b=j;j=l;g=f;p=i;ya:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break ya}f=S[((b<<3)+t|0)+8>>3]}i=i+f;za:{if(!(u&255)){m=m>p?p:m;n=g>n?g:n;k=g>3]=i;S[e+4392>>3]=g;h=S[((b<<3|8)+t|0)+8>>3];S[e+4400>>3]=i;f=g+h;S[e+4392>>3]=f;h=g>n?g:n;n=f>h?f:h;h=gp?i:p;m=i>>0>=l>>>0){continue}break}}if(d>>>0<=j>>>0){break j}f=S[e+4400>>3];g=f+S[((j<<3)+t|0)+8>>3];i=S[e+4392>>3];Aa:{if(!(u&255)){m=fn?i:n;k=ih){break Aa}}f=h}n=i>n?i:n;k=i>3]=g;m=g>2];if(s>>>0<6){break j}b=0;l=6;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;p=i;o=g;Ba:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ba}d=((j<<3)+t|0)+8|0}l=j|1;Ca:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Ca}g=S[((l<<3)+t|0)+8>>3]}i=S[d>>3];d=j+2|0;Da:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Da}d=((d<<3)+t|0)+8|0}l=j+3|0;Ea:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ea}f=S[((l<<3)+t|0)+8>>3]}y=o+g;v=p+i;g=S[d>>3];d=j+4|0;Fa:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Fa}d=((d<<3)+t|0)+8|0}r=v+g;q=y+f;l=j+5|0;Ga:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ga}f=S[((l<<3)+t|0)+8>>3]}g=q+f;i=r+S[d>>3];Ha:{if(!(u&255)){m=m>o?o:m;n=np?p:k;u=1;if(h>3]=g;h=oh?g:h;f=m>y?y:m;f=f>q?q:f;m=f>g?g:f;S[e+4392>>3]=i;f=nv?v:k;f=f>r?r:f;k=f>i?i:f;l=b+6|0;if(s>>>0>=l>>>0){continue}break}break j}w=N[e+20>>2];if(w>>>0<8){break j}s=w-2|0;b=0;l=6;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;p=i;o=g;Ia:{if(j>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ia}d=((j<<3)+t|0)+8|0}l=j|1;Ja:{if(l>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Ja}g=S[((l<<3)+t|0)+8>>3]}i=S[d>>3];d=j+2|0;Ka:{if(d>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ka}d=((d<<3)+t|0)+8|0}l=j+3|0;La:{if(l>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break La}f=S[((l<<3)+t|0)+8>>3]}y=o+g;v=p+i;g=S[d>>3];d=j+4|0;Ma:{if(d>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ma}d=((d<<3)+t|0)+8|0}r=v+g;q=y+f;l=j+5|0;Na:{if(l>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Na}f=S[((l<<3)+t|0)+8>>3]}g=q+f;i=r+S[d>>3];Oa:{if(!(u&255)){m=m>o?o:m;n=np?p:k;u=1;if(h>3]=g;h=oh?g:h;f=m>y?y:m;f=f>q?q:f;m=f>g?g:f;S[e+4392>>3]=i;f=nv?v:k;f=f>r?r:f;k=f>i?i:f;l=b+6|0;if(s>>>0>=l>>>0){continue}break}Pa:{if(b>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Pa}d=((b<<3)+t|0)+8|0}b=b|1;Qa:{if(b>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Qa}f=S[((b<<3)+t|0)+8>>3]}o=S[d>>3];f=g+f;S[e+4400>>3]=f;m=f>3]=g;n=g>n?g:n;k=gh)){break j}h=f;break j}w=N[e+20>>2];if(w>>>0<8){break j}s=w-6|0;j=0;l=2;g=S[e+4400>>3];i=S[e+4392>>3];while(1){d=j;j=l;o=i;f=g;Ra:{if(d>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ra}b=((d<<3)+t|0)+8|0}d=d|1;Sa:{if(d>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Sa}g=S[((d<<3)+t|0)+8>>3]}g=f+g;i=o+S[b>>3];Ta:{if(!(u&255)){m=fo?o:k;u=1;if(f>h){break Ta}}f=h}S[e+4400>>3]=g;h=f>3]=i;n=i>n?i:n;k=i>>0>=l>>>0){continue}break}Ua:{if(j>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ua}b=((j<<3)+t|0)+8|0}d=j|1;Va:{if(d>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;o=0;break Va}o=S[((d<<3)+t|0)+8>>3]}p=S[b>>3];Wa:{if(l>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Wa}b=((l<<3)+t|0)+8|0}d=j+3|0;Xa:{if(d>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Xa}f=S[((d<<3)+t|0)+8>>3]}r=g+o;q=i+p;g=S[b>>3];b=j+4|0;Ya:{if(b>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ya}b=((b<<3)+t|0)+8|0}p=r+f;o=q+g;d=j+5|0;Za:{if(d>>>0>=w>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Za}f=S[((d<<3)+t|0)+8>>3]}g=S[b>>3];i=p+f;S[e+4400>>3]=i;h=hh?i:h;f=m>r?r:m;f=f>p?p:f;m=f>i?i:f;g=o+g;S[e+4392>>3]=g;f=nq?q:k;f=f>o?o:f;k=f>g?g:f;break j}s=N[e+20>>2];b=s&1;l=b|4;if(l>>>0>s>>>0){break j}g=S[e+4392>>3];f=g+(b?S[e+24>>3]:-0);i=S[e+4400>>3];while(1){j=b;b=l;o=g;r=i;_a:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break _a}g=S[((j<<3)+t|0)+8>>3]}d=j+1|0;$a:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break $a}d=((d<<3)+t|0)+8|0}q=r+g;l=j+2|0;ab:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break ab}g=S[((l<<3)+t|0)+8>>3]}p=q+g;i=p+S[((j<<3)+t|0)+32>>3];g=f+S[d>>3];bb:{if(!(u&255)){m=m>r?r:m;n=no?o:k;u=1;if(h>3]=i;h=q>r?q:r;h=hh?i:h;o=m>q?q:m;o=o>p?p:o;m=i>3]=g;o=f>n?f:n;n=g>o?g:o;f=fg?g:f;f=g;l=b+4|0;if(s>>>0>=l>>>0){continue}break}break j}s=N[e+20>>2];b=s&1;l=b|4;if(l>>>0>s>>>0){break j}g=S[e+4400>>3];f=g+(b?S[e+24>>3]:-0);i=S[e+4392>>3];while(1){j=b;b=l;o=i;q=g;cb:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break cb}g=S[((j<<3)+t|0)+8>>3]}d=j+1|0;db:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break db}d=((d<<3)+t|0)+8|0}r=o+g;l=j+2|0;eb:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break eb}g=S[((l<<3)+t|0)+8>>3]}p=r+S[d>>3];i=p+S[((j<<3)+t|0)+32>>3];g=f+g;fb:{if(!(u&255)){m=m>q?q:m;n=no?o:k;u=1;if(h>3]=i;h=nh?i:h;h=k>r?r:k;h=h>p?p:h;k=i>3]=g;h=f>q?f:q;h=g>h?g:h;f=fg?g:f;f=g;l=b+4|0;if(s>>>0>=l>>>0){continue}break}break j}z=N[e+20>>2];if(z&4){break r}if(z>>>0<8){break j}I=z&1;b=0;l=8;i=S[e+4400>>3];g=S[e+4392>>3];while(1){j=b;b=l;gb:{if(j>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break gb}f=S[((j<<3)+t|0)+8>>3]}d=j|1;hb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break hb}d=((d<<3)+t|0)+8|0}r=i+f;l=j|2;ib:{if(l>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break ib}f=S[((l<<3)+t|0)+8>>3]}f=r+f;q=g+S[d>>3];d=j|3;jb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;o=0;break jb}o=S[((d<<3)+t|0)+8>>3]}v=q+o;kb:{if(!(u&255)){m=in?g:n;k=gh){break kb}}i=h}o=g>n?g:n;D=o>3]=v;g=gq;s=i>3]=f;l=m>r;d=j|4;lb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break lb}h=S[((d<<3)+t|0)+8>>3]}p=D?q:o;o=w?q:g;i=s?r:i;g=l?r:m;d=j|5;mb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break mb}d=((d<<3)+t|0)+8|0}k=v+h;r=pv?v:o;p=f>i?f:i;o=f>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break nb}h=S[((l<<3)+t|0)+8>>3]}m=f+h;i=m+S[((j<<3|56)+t|0)+8>>3];h=k+S[d>>3];g=h;ob:{if(z-j>>>0>15){break ob}g=h;if(!I){break ob}pb:{if(b>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break pb}f=S[((b<<3)+t|0)+8>>3]}g=g+f}S[e+4392>>3]=g;f=k>r?k:r;f=fh?h:f;k=g>3]=i;h=m>p?m:p;h=i>h?i:h;f=mi?i:f;l=b+8|0;if(z>>>0>=l>>>0){continue}break}break j}A=N[e+20>>2];if(A&4){break s}if(A>>>0<8){break j}z=A&1;b=0;l=8;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;qb:{if(j>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break qb}f=S[((j<<3)+t|0)+8>>3]}d=j|1;rb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break rb}d=((d<<3)+t|0)+8|0}q=i+f;l=j|2;sb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break sb}f=S[((l<<3)+t|0)+8>>3]}y=q+S[d>>3];p=g+f;d=j|3;tb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break tb}f=S[((d<<3)+t|0)+8>>3]}v=p+f;ub:{if(u&255){break ub}m=gn?i:n;k=ih)){break ub}h=g}i=g>h?g:h;D=i>3]=v;f=gp;s=n>3]=y;l=k>q;d=j|4;vb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break vb}h=S[((d<<3)+t|0)+8>>3]}o=D?p:i;i=w?p:f;g=s?q:n;f=l?q:k;d=j|5;wb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break wb}d=((d<<3)+t|0)+8|0}I=ov;w=gy;n=v+h;l=j|6;xb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break xb}h=S[((l<<3)+t|0)+8>>3]}r=I?v:o;o=D?v:i;q=w?y:g;p=s?y:f;k=y+S[d>>3];i=k+S[((j<<3|56)+t|0)+8>>3];f=n+h;g=f;yb:{if(A-j>>>0>15){break yb}g=f;if(!z){break yb}zb:{if(b>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break zb}h=S[((b<<3)+t|0)+8>>3]}g=f+h}S[e+4400>>3]=g;h=n>r?n:r;h=f>h?f:h;h=g>h?g:h;o=ng?g:f;S[e+4392>>3]=i;f=k>q?k:q;n=fi?i:f;l=b+8|0;if(A>>>0>=l>>>0){continue}break}break j}if(N[e+20>>2]==7){f=S[e+4400>>3];v=f+S[e+40>>3];g=S[e+4392>>3];r=g+S[e+24>>3];q=r+S[e+32>>3];p=q+S[e+48>>3];o=p+S[e+56>>3];i=o+S[e+64>>3];y=i+S[e+72>>3];Ab:{if(u&255){break Ab}m=fn?g:n;k=gh)){break Ab}h=f}S[e+4392>>3]=y;g=nr?r:k;g=g>q?q:g;g=g>p?p:g;g=g>o?o:g;g=g>i?i:g;k=g>y?y:g;S[e+4400>>3]=f;h=f>h?f:h;h=hh?f:h;g=fv?v:g;m=f>2]=l+1;break j}if(N[e+20>>2]==13){f=S[e+4400>>3];E=f+S[e+32>>3];B=E+S[e+48>>3];C=B+S[e+64>>3];y=C+S[e+80>>3];v=y+S[e+96>>3];F=v+S[e+112>>3];r=S[e+4392>>3];q=r+S[e+24>>3];p=q+S[e+40>>3];o=p+S[e+56>>3];i=o+S[e+72>>3];g=i+S[e+88>>3];H=g+S[e+104>>3];Bb:{if(!(u&255)){m=fr?r:k;u=1;if(f>h){break Bb}}f=h}S[e+4400>>3]=F;h=fE?E:m;f=f>B?B:f;f=f>C?C:f;f=f>y?y:f;f=f>v?v:f;m=f>F?F:f;S[e+4392>>3]=H;f=nq?q:k;f=f>p?p:f;f=f>o?o:f;f=f>i?i:f;f=f>g?g:f;k=f>H?H:f;break j}N[e+8>>2]=l+1;break j}if(N[e+20>>2]==9){f=S[e+4400>>3];C=f+S[e+32>>3];y=C+S[e+48>>3];v=y+S[e+80>>3];g=S[e+4392>>3];r=g+S[e+24>>3];q=r+S[e+40>>3];p=q+S[e+56>>3];o=p+S[e+64>>3];i=o+S[e+72>>3];B=i+S[e+88>>3];Cb:{if(u&255){break Cb}m=fn?g:n;k=gh)){break Cb}h=f}S[e+4392>>3]=B;g=nr?r:k;g=g>q?q:g;g=g>p?p:g;g=g>o?o:g;g=g>i?i:g;k=g>B?B:g;S[e+4400>>3]=f;h=hh?f:h;g=m>C?C:m;g=g>y?y:g;g=g>v?v:g;m=f>2]=l+1;break j}if(N[e+20>>2]==11){J=S[e+4392>>3];p=S[e+24>>3];E=J+p;o=S[e+40>>3];B=E+o;i=S[e+56>>3];C=B+i;g=S[e+72>>3];y=C+g;f=S[e+88>>3];v=y+f;r=S[e+104>>3];f=V(p+0+o+i+g+f);q=S[e+32>>3];p=S[e+48>>3];o=S[e+64>>3];i=S[e+80>>3];g=S[e+96>>3];b=f>V(q+0+p+o+i+g);F=b?v+r:J;f=S[e+4400>>3];q=f+q;p=q+p;o=p+o;i=o+i;H=i+g;g=b?f:H+r;Db:{if(!(u&255)){m=fJ?J:k;u=1;if(f>h){break Db}}f=h}S[e+4400>>3]=g;h=fh?i:h;h=hh?g:h;f=m>q?q:m;f=f>p?p:f;f=f>o?o:f;f=f>i?i:f;f=f>H?H:f;m=f>g?g:f;S[e+4392>>3]=F;f=nE?E:k;f=f>B?B:f;f=f>C?C:f;f=f>y?y:f;f=f>v?v:f;k=f>F?F:f;break j}N[e+8>>2]=l+1;break j}uf(j,e);break i}j=N[e+20>>2];s=j&1;break m}g=S[e+4400>>3];q=g+S[e+40>>3];p=q+S[e+48>>3];i=S[e+4392>>3];r=i+S[e+24>>3];f=r+S[e+32>>3];b=12;j=4;if(A>>>0>=12){while(1){Eb:{if(u&255){break Eb}m=gn?i:n;k=ih)){break Eb}h=g}i=g>h?g:h;w=i>3]=p;g=gq;l=n>3]=f;d=k>r;Fb:{if(j>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Fb}h=S[((j<<3)+t|0)+8>>3]}m=w?q:i;o=s?q:g;i=l?r:n;g=d?r:k;d=j|1;Gb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Gb}d=((d<<3)+t|0)+8|0}k=mp?p:o;q=f>i?f:i;o=f>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Hb}h=S[((l<<3)+t|0)+8>>3]}g=n+h;p=f+S[d>>3];d=j|3;Ib:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Ib}h=S[((d<<3)+t|0)+8>>3]}i=p+h;S[e+4392>>3]=i;D=p>q;w=o>p;s=k>3]=g;l=n>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Jb}h=S[((d<<3)+t|0)+8>>3]}q=D?p:q;p=w?p:o;o=s?n:k;f=l?n:r;d=j+5|0;Kb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Kb}d=((d<<3)+t|0)+8|0}r=i+h;n=i>q?i:q;k=io?g:o;m=f>g?g:f;l=j+6|0;Lb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Lb}f=S[((l<<3)+t|0)+8>>3]}q=g+f;p=q+S[((j<<3)+t|0)- -64>>3];f=r+S[d>>3];j=b;b=b+8|0;if(A>>>0>=b>>>0){continue}break}}o=j>>>0>>0?f+S[((j<<3)+t|0)+8>>3]:f;Mb:{if(u&255){break Mb}m=gn?i:n;k=ih)){break Mb}h=g}S[e+4400>>3]=p;h=g>h?g:h;h=hq?q:g;m=g>p?p:g;S[e+4392>>3]=o;g=ng?f:g;n=gr?r:k;f=fo?o:f;break j}g=S[e+4392>>3];q=g+S[e+32>>3];p=q+S[e+48>>3];i=S[e+4400>>3];r=i+S[e+24>>3];f=r+S[e+40>>3];b=12;j=4;if(z>>>0>=12){while(1){Nb:{if(!(u&255)){m=in?g:n;k=gh){break Nb}}i=h}o=g>n?g:n;w=o>3]=p;g=gq;l=i>3]=f;d=m>r;Ob:{if(j>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Ob}h=S[((j<<3)+t|0)+8>>3]}k=w?q:o;o=s?q:g;i=l?r:i;g=d?r:m;d=j|1;Pb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Pb}d=((d<<3)+t|0)+8|0}m=p+h;n=kp?p:o;p=f>i?f:i;o=f>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Qb}h=S[((l<<3)+t|0)+8>>3]}g=m+S[d>>3];q=f+h;d=j|3;Rb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Rb}h=S[((d<<3)+t|0)+8>>3]}i=q+h;S[e+4400>>3]=i;D=pq;s=m>n;S[e+4392>>3]=g;l=m>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Sb}h=S[((d<<3)+t|0)+8>>3]}k=D?q:p;q=w?q:o;p=s?m:n;o=l?m:r;d=j+5|0;Tb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Tb}d=((d<<3)+t|0)+8|0}I=i>k;D=ip;s=g>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ub}f=S[((l<<3)+t|0)+8>>3]}h=I?i:k;m=D?i:q;n=w?g:p;k=s?g:o;q=g+S[d>>3];p=q+S[((j<<3)+t|0)- -64>>3];f=r+f;j=b;b=b+8|0;if(z>>>0>=b>>>0){continue}break}}o=j>>>0>>0?f+S[((j<<3)+t|0)+8>>3]:f;Vb:{if(!(u&255)){m=in?g:n;k=gh){break Vb}}i=h}S[e+4400>>3]=o;h=ih?f:h;h=hr?r:m;f=fo?o:f;S[e+4392>>3]=p;f=g>n?g:n;f=fq?q:f;k=f>p?p:f;break j}j=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;i=0}g=S[e+4400>>3];f=S[s>>3];S[e+4392>>3]=S[e+4392>>3]+i;S[e+4400>>3]=g+f;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+j|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3}L[e+4149|0]=1}u=0;N[e+20>>2]=0;N[e+4412>>2]=0;break i}if(!(!s|!j)){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;L[e+4409|0]=1}L[e+4408|0]=1}N[e+4412>>2]=0;b=N[e+20>>2];N[e+20>>2]=0;N[e+4152>>2]=N[e+4152>>2]+(b>>>1|0);break i}n=i;m=g;k=f;L[e+4148|0]=1}N[e+20>>2]=0;N[e+4412>>2]=0}j=0;if(O[e+4164|0]){break a}l=N[e+4>>2];s=N[e+8>>2];if(O[e+16|0]|l>>>0>>0){break a}if(!O[e+4148|0]){continue}}break}S[c+24>>3]=h;S[c+16>>3]=n;S[c+8>>3]=m;S[c>>3]=k;j=1}La=e+4512|0;return j}function RD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=0,o=0,p=0,q=0,r=0,s=U(0),t=0,u=0,v=0,w=U(0),x=0,y=0,z=0;h=La-4512|0;La=h;a:{b:{o=N[b>>2];m=N[o+148>>2];c:{if(m){break c}p=h- -64|0;while(1){j=N[o>>2];if(!j){m=275552;break c}m=db(1,8);if(!m){m=275552;N[o+148>>2]=275552;break c}N[h+56>>2]=0;N[h+60>>2]=0;N[p>>2]=0;N[p+4>>2]=0;L[h+72|0]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[h+76>>2]=0;N[h+80>>2]=0;k=N[j+32>>2];if((k|0)==-1){b=sb(j+56|0);b=O[b+4|0]|O[b+5|0]<<8;k=(b<<8|b>>>8)&65535;N[j+32>>2]=k}L[h+88|0]=1;N[h+84>>2]=k;b=N[j+12>>2];d:{if(b){k=Qa[b|0](j,1935829368,N[j+16>>2])|0;if(k){break d}}k=275552}i=h+48|0;b=k;e:{if(!b){break e}e=N[b>>2];if(!e){break e}if((e|0)<=0){break b}N[b>>2]=e+1}L[i+24|0]=0;N[i+32>>2]=b;g=N[b+12>>2];N[i+4>>2]=g;e=N[b+16>>2];N[i+8>>2]=e+g;if((e|0)<0){break a}N[i+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[i+12>>2]=e;N[i+20>>2]=0;N[i>>2]=0;e=b;f:{g:{if(!g){break g}h:{i:{j:{k:{if(_i(g,i)){break k}l:{if(O[i+24|0]|!N[i+28>>2]){break l}g=zb(b);N[i+4>>2]=g;N[i+8>>2]=g+N[b+16>>2];if(!g){break l}while(1){L[i+24|0]=1;e=N[i+32>>2];g=N[e+12>>2];N[i+4>>2]=g;f=N[e+16>>2];N[i+8>>2]=f+g;if((f|0)<0){break a}N[i+28>>2]=0;if(f>>>0>67108863){f=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}N[i+12>>2]=f;N[i+20>>2]=0;N[i>>2]=0;if(!g){break g}if(_i(g,i)){break k}if(O[i+24|0]|!N[i+28>>2]){break l}e=zb(b);N[i+4>>2]=e;N[i+8>>2]=e+N[b+16>>2];if(e){continue}break}}ab(N[i+32>>2]);N[i+32>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0;break j}if(!N[i+28>>2]){break i}N[i+28>>2]=0;e=_i(g,i);g=N[i+28>>2];ab(N[i+32>>2]);N[i+32>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0;if(g){break j}if(e){break h}}ab(b);b=275552;break f}ab(N[i+32>>2]);N[i+32>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}break f}ab(e);N[i+32>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0}N[m>>2]=b;k=N[j+32>>2];if((k|0)==-1){e=sb(j+56|0);e=O[e+4|0]|O[e+5|0]<<8;k=(e<<8|e>>>8)&65535;N[j+32>>2]=k}N[m+4>>2]=k;if(!N[o+148>>2]){N[o+148>>2]=m;break c}ab(b);_a(m);m=N[o+148>>2];if(!m){continue}break}}f=275552;b=N[m>>2];b=b?b:275552;b=Q[b+16>>2]<8?275552:N[b+12>>2];m:{if(O[b|0]|O[b+1|0]<<8){e=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);n:{if(!e){break n}j=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);g=N[a+76>>2];f=N[a+72>>2];e=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(e){b=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{b=275552}i=0;if(j>>>0>=2){e=f>>>0>g>>>0?f:g;k=e?e:1073741824;b=O[b|0]|O[b+1|0]<<8;e=(b<<8|b>>>8)&65535;f=1;while(1){b=N[m>>2];b=b?b:275552;g=Q[b+16>>2]<8?275552:N[b+12>>2];b=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0>f>>>0){b=(g+(f<<2)|0)+8|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=g+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;if(!(!(b>>>0>=k>>>0&b>>>0>>0)&(b>>>0<=e>>>0|e>>>0>=k>>>0))){i=f;e=b}f=f+1|0;if((j|0)!=(f|0)){continue}break}}f=275552;b=N[m>>2];b=b?b:275552;e=Q[b+16>>2]<8?275552:N[b+12>>2];b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0>i>>>0){b=(e+(i<<2)|0)+8|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(!b){break n}f=e+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}i=0;o:{p:{if(!(O[f|0]|O[f+1|0]<<8)){break p}q:{p=N[m>>2];b=N[p+16>>2];n=f-N[p+12>>2]|0;if(b>>>0>n>>>0){r=N[m+4>>2];x=b-n|0;m=f+4|0;g=8;b=c;while(1){if(b>>>0>=r>>>0){break p}e=b+1|0;if((e|0)<0){break p}e=m+(e<<2)|0;k=O[e+1|0]<<8;u=O[e+2|0]<<16|O[e+3|0]<<24;j=O[e|0]|k|u;z=j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24);b=m+(b<<2)|0;t=O[b+1|0]<<8;y=O[b+2|0]<<16|O[b+3|0]<<24;j=O[b|0]|t|y;if(z>>>0<=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))>>>0){break p}e=u|(k|O[e|0]);j=(e&65280)<<8;k=e>>>8&65280|e>>>24;b=y|(t|O[b|0]);u=(b&65280)<<8;t=b>>>8&65280|b>>>24;if((e<<24|j|k)-(b<<24|u|t)>>>0<9){break p}e=k|(j|e<<24);if(e>>>0>x>>>0){break p}k=275552;j=e;t=t|(u|b<<24);e=t;j=(j-e|0)-8|0;e=b?e+f|0:275552;u=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if((u|0)!=1701868900){m=0;r=0;if((u|0)!=543649392){break o}g=O[f|0]|O[f+1|0]<<8;r=(g<<8|g>>>8)&65535;g=O[e+2|0]|O[e+3|0]<<8;m=(g<<8|g>>>8)<<16>>16;e=O[e|0]|O[e+1|0]<<8;i=(e<<8|e>>>8)<<16>>16;k=Cl(p,(n+t|0)+8|0,j);break o}if(j>>>0<2){break q}b=O[e+8|0]|O[e+9|0]<<8;b=(b<<8|b>>>8)&65535;e=g;g=e-1|0;if(e){continue}break}break q}ba(12869,14314,106,18332);F()}m=0;r=0;break o}m=0;r=0;k=275552}b=Q[k+16>>2]<29?275552:N[k+12>>2];e=O[b+20|0]|O[b+21|0]<<8|(O[b+22|0]<<16|O[b+23|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);r:{if(e>>>0>65535){break r}b=O[b+16|0]|O[b+17|0]<<8|(O[b+18|0]<<16|O[b+19|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b>>>0>=65536){break r}N[d+8>>2]=b;N[d>>2]=i;g=0-e|0;N[d+12>>2]=g;f=e+m|0;N[d+4>>2]=f;if(r){c=N[a+24>>2];e=N[c+28>>2];if(!e){b=$d(c+52|0);b=O[b+18|0]|O[b+19|0]<<8;b=(b<<8|b>>>8)&65535;e=b-16>>>0>=16369?1e3:b;N[c+28>>2]=e;g=N[d+12>>2];f=N[d+4>>2];i=N[d>>2];b=N[d+8>>2]}w=R[a+44>>2];l=U(U(e>>>0)/U(r>>>0));s=U(Z(U(U(w*U(l*U(i|0)))+U(.5))));s:{if(U(V(s))>2]=c;s=R[a+48>>2];w=U(Z(U(U(w*U(l*U(b|0)))+U(.5))));t:{if(U(V(w))>2]=a;w=U(Z(U(U(s*U(l*U(g|0)))+U(.5))));u:{if(U(V(w))>2]=a;l=U(Z(U(U(s*U(l*U(f|0)))+U(.5))));v:{if(U(V(l))>2]=a;ab(k);b=1;break m}j=N[a+56>>2];p=N[a+60>>2];i=TE(j,p,i,i>>31);e=Pa;i=i+32768|0;N[d>>2]=((i>>>0<32768?e+1|0:e)&65535)<<16|i>>>16;e=N[a+64>>2];m=N[a+68>>2];b=b<<16>>16;b=TE(j,p,b,b>>31);i=Pa;b=b+32768|0;N[d+8>>2]=((b>>>0<32768?i+1|0:i)&65535)<<16|b>>>16;b=g<<16>>16;b=TE(e,m,b,b>>31);j=Pa;b=b+32768|0;N[d+12>>2]=((b>>>0<32768?j+1|0:j)&65535)<<16|b>>>16;b=f<<16>>16;b=TE(e,m,b,b>>31);e=Pa;b=b+32768|0;N[d+4>>2]=((b>>>0<32768?e+1|0:e)&65535)<<16|b>>>16}ab(k)}i=N[o+144>>2];w:{if(i){break w}while(1){f=N[o>>2];if(!f){i=275552;break w}e=La-48|0;La=e;x:{j=db(1,12);if(j){N[e+20>>2]=0;N[e+32>>2]=0;b=N[f+32>>2];if((b|0)==-1){b=sb(f+56|0);b=O[b+4|0]|O[b+5|0]<<8;b=(b<<8|b>>>8)&65535;N[f+32>>2]=b}L[e+44|0]=1;N[e+40>>2]=b;b=N[f+12>>2];y:{if(b){b=Qa[b|0](f,1128418371,N[f+16>>2])|0;if(b){break y}}b=275552}g=N[b>>2];if(g){if((g|0)<=0){break b}N[b>>2]=g+1}L[e+28|0]=0;N[e+36>>2]=b;g=N[b+12>>2];N[e+8>>2]=g;i=N[b+16>>2];N[e+12>>2]=i+g;if((i|0)<0){break a}N[e+32>>2]=0;if(i>>>0>67108863){i=1073741823}else{i=i<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}N[e+16>>2]=i;N[e+24>>2]=0;N[e+4>>2]=0;i=b;z:{A:{if(!g){break A}B:{C:{D:{E:{if(bj(g,e+4|0)){break E}F:{if(O[e+28|0]|!N[e+32>>2]){break F}if(!zb(b)){break F}while(1){L[e+28|0]=1;i=N[e+36>>2];g=N[i+12>>2];N[e+8>>2]=g;k=N[i+16>>2];N[e+12>>2]=k+g;if((k|0)<0){break a}N[e+32>>2]=0;if(k>>>0>67108863){k=1073741823}else{k=k<<6;k=k>>>0<=16384?16384:k;k=k>>>0>=1073741823?1073741823:k}N[e+16>>2]=k;N[e+24>>2]=0;N[e+4>>2]=0;if(!g){break A}if(bj(g,e+4|0)){break E}if(O[e+28|0]|!N[e+32>>2]){break F}g=zb(b);N[e+8>>2]=g;N[e+12>>2]=g+N[b+16>>2];if(g){continue}break}}ab(N[e+36>>2]);break D}if(!N[e+32>>2]){break C}N[e+32>>2]=0;g=bj(g,e+4|0);i=N[e+32>>2];ab(N[e+36>>2]);if(i){break D}if(g){break B}}ab(b);b=275552;break z}ab(N[e+36>>2])}if(!N[b+4>>2]){break z}N[b+4>>2]=0;break z}ab(i)}N[j>>2]=b;if(N[f+32>>2]==-1){b=sb(f+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[f+32>>2]=(b<<8|b>>>8)&65535}b=N[f+12>>2];G:{if(b){b=Qa[b|0](f,1128416340,N[f+16>>2])|0;if(b){break G}}b=275552}g=N[b>>2];if(g){if((g|0)<=0){break b}N[b>>2]=g+1}i=N[b+16>>2];if((i|0)<0){break a}g=N[b+12>>2];H:{if(!g){ab(b);break H}I:{if(i>>>0>=4){g=O[g|0]|O[g+1|0]<<8;ab(b);if((g&65279)!=512){break I}if(!N[b+4>>2]){break H}N[b+4>>2]=0;break H}ab(b)}ab(b);b=275552}N[j+4>>2]=b;b=N[f+28>>2];if(!b){b=$d(f+52|0);b=O[b+18|0]|O[b+19|0]<<8;b=(b<<8|b>>>8)&65535;b=b-16>>>0>=16369?1e3:b;N[f+28>>2]=b}N[j+8>>2]=b}La=e+48|0;b=j;break x}i=N[o+144>>2];J:{if(b){if(i){break J}i=b;N[o+144>>2]=b;break w}if(i){break w}i=275552;N[o+144>>2]=275552;break w}ab(N[b>>2]);N[b>>2]=0;ab(N[b+4>>2]);_a(b);i=N[o+144>>2];if(!i){continue}break}}b=N[i>>2];b=b?b:275552;j=Q[b+16>>2]<8?275552:N[b+12>>2];f=O[j+5|0]<<8;p=O[j+6|0]<<16|O[j+7|0]<<24;b=O[j+4|0]|f|p;e=275552;K:{if(!b){break K}e=N[a+76>>2];g=N[a+72>>2];f=p|(f|O[j+4|0])?j+8|0:275552;p=0;n=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(n>>>0>=2){b=e>>>0>>0?g:e;k=b?b:1073741824;b=O[j+52|0];e=O[f+45|0];e=b>>>0>e>>>0?b:e;b=1;while(1){r=275552;x=T(b,48);u=(x+j|0)+8|0;f=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);m=(f&65280)<<8;m=m|f<<24;t=f>>>8&65280|f>>>24;g=m|t;if(g>>>0>b>>>0){r=(j+x|0)+8|0;g=m|t}f=O[r+44|0];g=O[(b>>>0>=g>>>0?275552:u)+45|0];g=f>>>0>g>>>0?f:g;if(!(!(g>>>0>=k>>>0&e>>>0>g>>>0)&(e>>>0>=k>>>0|e>>>0>=g>>>0))){p=b;e=g}b=b+1|0;if((n|0)!=(b|0)){continue}break}}b=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);e=275552;if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<=p>>>0){break K}e=(j+T(p,48)|0)+8|0}b=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);L:{if(!b){break L}k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=N[i>>2];b=b?b:275552;m=Q[b+16>>2]<8?275552:N[b+12>>2];j=g+m|0;b=0;while(1){f=0;M:{if((b|0)<0){g=275552;break M}g=j+(b<<3)|0;f=O[g|0]|O[g+1|0]<<8;f=f<<8|f>>>8}N:{if((f&65535)>>>0>c>>>0){break N}g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>>0){break N}if((b|0)<0){b=275552}else{if(!m){break L}b=j+(b<<3)|0}if(!O[e+44|0]|!O[e+45|0]){break L}N[h+48>>2]=0;N[h+8>>2]=0;N[h+4496>>2]=0;g=O[b|0]|O[b+1|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0>c>>>0){break L}f=O[b+2|0]|O[b+3|0]<<8;if(((f<<8|f>>>8)&65535)>>>0>>0){break L}f=c-g|0;k=h+4496|0;b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(b){b=j+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}g=O[b+2|0]|O[b+3|0]<<8;N[k>>2]=(g<<8|g>>>8)&65535;g=0;O:{P:{Q:{R:{j=O[b|0]|O[b+1|0]<<8;switch(((j<<8|j>>>8)&65535)-1|0){case 2:break Q;case 0:break R;default:break O}}if((f|0)<-1){break O}m=b+8|0;p=f<<2;j=m+p|0;k=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);t=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);k=(f|0)<0;f=k?275552:j;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(t>>>0<=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0){break O}b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=m+p|0;b=k?275552:g;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);N[h+48>>2]=f+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24));b=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);j=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=k?275552:g;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=j-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;break P}if((f|0)<-1){break O}k=b+8|0;m=f<<1;j=k+m|0;p=O[j+2|0]|O[j+3|0]<<8;t=(p<<8|p>>>8)&65535;f=(f|0)<0;p=f?275552:j;p=O[p|0]|O[p+1|0]<<8;if(t>>>0<=((p<<8|p>>>8)&65535)>>>0){break O}g=k+m|0;k=f?275552:g;k=O[k|0]|O[k+1|0]<<8;b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);N[h+48>>2]=((k<<8|k>>>8)&65535)+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24));b=O[j+2|0]|O[j+3|0]<<8;j=(b<<8|b>>>8)&65535;b=f?275552:g;b=O[b|0]|O[b+1|0]<<8;b=j-((b<<8|b>>>8)&65535)|0}N[h+8>>2]=b;g=1}if(!g){break L}b=N[i+4>>2];f=b?b:275552;g=N[f+16>>2];j=N[h+48>>2];if(g>>>0>>0){break L}b=N[h+8>>2];if(b>>>0>g-j>>>0){break L}S:{T:{switch(N[h+4496>>2]-17|0){case 1:if(b>>>0>11){break S}break L;case 0:break T;default:break L}}if(b>>>0<9){break L}}s=U(Q[i+8>>2]);l=U(s/U(O[e+45|0]));b=N[a+64>>2];k=N[a+68>>2];i=j+(g>>>0<4?275552:N[f+12>>2])|0;c=TE(b,k,O[i|0],0);g=32768-c|0;w=U(Z(U(U(l*U((0-(Pa+(c>>>0>32768)|0)&65535)<<16|g>>>16))+U(.5))));U:{if(U(V(w))>31;g=L[i+3|0];p=g>>31;n=O[i+1|0];i=N[a+56>>2];f=N[a+60>>2];a=O[e+44|0];N[d+12>>2]=j;s=U(s/U(a>>>0));a=TE(i,f,n,0);j=Pa;a=a+32768|0;w=U(Z(U(U(s*U(((a>>>0<32768?j+1|0:j)&65535)<<16|a>>>16))+U(.5))));V:{if(U(V(w))>2]=a;b=TE(b,k,g,p);a=Pa;b=b+32768|0;l=U(Z(U(U(l*U(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16))+U(.5))));W:{if(U(V(l))>2]=a;b=TE(i,f,c,m);a=Pa;b=b+32768|0;l=U(Z(U(U(s*U(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16))+U(.5))));X:{if(U(V(l))>2]=a;b=1;break m}b=b+1|0;if((k|0)!=(b|0)){continue}break}}b=N[o+136>>2];Y:{if(b){break Y}j=h- -64|0;while(1){b=N[o>>2];if(!b){b=275552;break Y}N[h+56>>2]=0;N[h+60>>2]=0;N[j>>2]=0;N[j+4>>2]=0;L[h+72|0]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[h+76>>2]=0;N[h+80>>2]=0;L[h+88|0]=1;N[h+84>>2]=0;e=N[b+12>>2];Z:{if(e){b=Qa[e|0](b,1129270354,N[b+16>>2])|0;if(b){break Z}}b=275552}g=h+48|0;_:{if(!b){break _}e=N[b>>2];if(!e){break _}if((e|0)<=0){break b}N[b>>2]=e+1}L[g+24|0]=0;N[g+32>>2]=b;f=N[b+12>>2];N[g+4>>2]=f;e=N[b+16>>2];N[g+8>>2]=e+f;if((e|0)<0){break a}N[g+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[g+12>>2]=e;N[g+20>>2]=0;N[g>>2]=0;e=b;$:{aa:{if(!f){break aa}ba:{ca:{da:{ea:{if($i(f,g)){break ea}fa:{if(O[g+24|0]|!N[g+28>>2]){break fa}e=zb(b);N[g+4>>2]=e;N[g+8>>2]=e+N[b+16>>2];if(!e){break fa}while(1){L[g+24|0]=1;e=N[g+32>>2];f=N[e+12>>2];N[g+4>>2]=f;i=N[e+16>>2];N[g+8>>2]=i+f;if((i|0)<0){break a}N[g+28>>2]=0;if(i>>>0>67108863){i=1073741823}else{i=i<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}N[g+12>>2]=i;N[g+20>>2]=0;N[g>>2]=0;if(!f){break aa}if($i(f,g)){break ea}if(O[g+24|0]|!N[g+28>>2]){break fa}e=zb(b);N[g+4>>2]=e;N[g+8>>2]=e+N[b+16>>2];if(e){continue}break}}ab(N[g+32>>2]);N[g+32>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;break da}if(!N[g+28>>2]){break ca}N[g+28>>2]=0;e=$i(f,g);i=N[g+28>>2];ab(N[g+32>>2]);N[g+32>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;if(i){break da}if(e){break ba}}ab(b);b=275552;break $}ab(N[g+32>>2]);N[g+32>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}break $}ab(e);N[g+32>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0}e=b;b=N[o+136>>2];ga:{if(e){if(b){break ga}b=e;N[o+136>>2]=b;break Y}if(b){break Y}b=275552;N[o+136>>2]=275552;break Y}if((e|0)==275552){break Y}ab(e);b=N[o+136>>2];if(!b){continue}break}}n=275552;b=Q[b+16>>2]<14?275552:N[b+12>>2];ha:{if((O[b|0]|O[b+1|0]<<8)!=256){break ha}e=O[b+30|0]|O[b+31|0]<<8|(O[b+32|0]<<16|O[b+33|0]<<24);if(e){n=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}m=275552;p=275552;e=O[b+26|0]|O[b+27|0]<<8|(O[b+28|0]<<16|O[b+29|0]<<24);if(e){p=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}e=O[b+22|0]|O[b+23|0]<<8|(O[b+24|0]<<16|O[b+25|0]<<24);if(e){m=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}b=O[m+1|0]|O[m+2|0]<<8|(O[m+3|0]<<16|O[m+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((b|0)<=0){break ha}i=N[a+84>>2];j=N[a+88>>2];k=m+5|0;b=b-1|0;f=0;while(1){e=b+f>>>1|0;g=k+T(e,7)|0;r=O[g|0]|O[g+1|0]<<8;ia:{if(((r<<8|r>>>8)&65535)>>>0<=c>>>0){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>>0){f=e+1|0;break ia}ja:{ka:{la:{ma:{na:{b=k+T(e,7)|0;b=O[b+5|0]<<8|O[b+4|0]<<16|O[b+6|0];c=b?b+m|0:275552;switch(O[c|0]-1|0){case 1:break la;case 0:break ma;default:break na}}k=N[d+8>>2];f=N[d+4>>2];g=N[d>>2];e=N[d+12>>2];break ja}b=O[c+7|0]|O[c+8|0]<<8;f=(b<<8|b>>>8)&65535;b=O[c+5|0]|O[c+6|0]<<8;k=(b<<8|b>>>8)&65535;b=O[c+3|0]|O[c+4|0]<<8;e=(b<<8|b>>>8)&65535;b=O[c+1|0]|O[c+2|0]<<8;g=(b<<8|b>>>8)&65535;break ka}b=O[c+7|0]|O[c+8|0]<<8;m=b<<8|b>>>8;b=O[c+5|0]|O[c+6|0]<<8;o=b<<8|b>>>8;b=O[c+3|0]|O[c+4|0]<<8;x=b<<8|b>>>8;b=O[c+1|0]|O[c+2|0]<<8;g=b<<8|b>>>8;if(!i){f=m&65535;k=o&65535;e=x&65535;g=g&65535;break ka}f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=md(p,k);b=e>>>16|0;r=O[n+6|0]|O[n+7|0]<<8;r=(r<<8|r>>>8)&65535;oa:{if(b>>>0>=r>>>0){l=U(.5);break oa}b=(b<<2)+n|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+n|0}else{b=275552}f=e&65535;e=O[n+2|0]|O[n+3|0]<<8|(O[n+4|0]<<16|O[n+5|0]<<24);if(e){e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+n|0}else{e=275552}l=U(Fc(b,f,j,i,e,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[n+6|0]|O[n+7|0]<<8;r=(b<<8|b>>>8)&65535}e=md(p,(f|0)==-1?-1:k+1|0);b=e>>>16|0;u=b>>>0>=r>>>0;l=U(U(Z(l))+U(g<<16>>16));pa:{if(U(V(l))>>8&65280|b>>>24))+n|0}else{b=275552}f=e&65535;e=O[n+2|0]|O[n+3|0]<<8|(O[n+4|0]<<16|O[n+5|0]<<24);if(e){e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+n|0}else{e=275552}l=U(Fc(b,f,j,i,e,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[n+6|0]|O[n+7|0]<<8;r=(b<<8|b>>>8)&65535}u=md(p,(f|0)==-1?-1:k+2|0);b=u>>>16|0;t=b>>>0>=r>>>0;l=U(U(Z(l))+U(x<<16>>16));ra:{if(U(V(l))>>8&65280|b>>>24))+n|0}else{b=275552}k=u&65535;f=O[n+2|0]|O[n+3|0]<<8|(O[n+4|0]<<16|O[n+5|0]<<24);if(f){f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+n|0}else{f=275552}l=U(Fc(b,k,j,i,f,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[n+6|0]|O[n+7|0]<<8;r=(b<<8|b>>>8)&65535}c=md(p,(f|0)==-1?-1:k+3|0);b=c>>>16|0;f=b>>>0>=r>>>0;l=U(U(Z(l))+U(o<<16>>16));ta:{if(U(V(l))>>8&65280|b>>>24))+n|0}else{b=275552}f=c&65535;c=O[n+2|0]|O[n+3|0]<<8|(O[n+4|0]<<16|O[n+5|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+n|0}else{c=275552}l=U(Fc(b,f,j,i,c,0)+U(.5))}l=U(U(Z(l))+U(m<<16>>16));if(U(V(l))>2];c=N[a+60>>2];a=e<<16>>16;a=TE(b,c,a,a>>31);e=Pa;a=a+32768|0;N[d+12>>2]=((a>>>0<32768?e+1|0:e)&65535)<<16|a>>>16;a=k<<16>>16;a=TE(b,c,a,a>>31);i=Pa;a=a+32768|0;N[d+8>>2]=((a>>>0<32768?i+1|0:i)&65535)<<16|a>>>16;a=f<<16>>16;e=TE(b,c,a,a>>31);a=Pa;e=e+32768|0;N[d+4>>2]=((e>>>0<32768?a+1|0:a)&65535)<<16|e>>>16;a=g<<16>>16;a=TE(b,c,a,a>>31);e=Pa;a=a+32768|0;N[d>>2]=((a>>>0<32768?e+1|0:e)&65535)<<16|a>>>16;b=1;break m}b=e-1|0}if((b|0)>=(f|0)){continue}break}}f=N[o+60>>2];ua:{if(f){break ua}while(1){b=N[o>>2];if(!b){f=275552;break ua}e=db(1,28);if(!e){f=275552;N[o+60>>2]=275552;break ua}f=Je(e,b);if(!N[o+60>>2]){N[o+60>>2]=f;break ua}ab(N[f+24>>2]);_a(f);f=N[o+60>>2];if(!f){continue}break}}b=1;if(eq(f,a,c,d)){break m}f=N[o+64>>2];va:{if(f){break va}while(1){e=N[o>>2];if(!e){f=275552;break va}f=db(1,224);if(!f){f=275552;N[o+64>>2]=275552;break va}N[f+36>>2]=65536;Jg(f,e);N[f+220>>2]=0;if(!N[o+64>>2]){N[o+64>>2]=f;break va}Ke(f);_a(wf(f));f=N[o+64>>2];if(!f){continue}break}}N[h+72>>2]=0;N[h+76>>2]=0;e=h- -64|0;N[e>>2]=0;N[e+4>>2]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+48>>2]=0;N[h+52>>2]=0;g=0;if(lj(f,c,h+48|0,0)){f=0;q=S[h+64>>3];v=S[h+48>>3];if(q>v){l=R[a+44>>2];s=U(Z(U(U(l*U(v))+U(.5))));wa:{if(U(V(s))>2]=f;N[d+8>>2]=g;g=0;f=0;q=S[h+72>>3];v=S[h+56>>3];if(q>v){l=R[a+48>>2];s=U(Z(U(U(l*U(q))+U(.5))));ya:{if(U(V(s))>2]=f;N[d+12>>2]=g;break m}f=N[o+68>>2];Aa:{if(f){break Aa}while(1){b=N[o>>2];if(!b){f=275552;break Aa}e=db(1,132);if(!e){f=275552;N[o+68>>2]=275552;break Aa}f=bq(e,b);if(!N[o+68>>2]){N[o+68>>2]=f;break Aa}_a(mj(f));f=N[o+68>>2];if(!f){continue}break}}b=0;if(!N[f+44>>2]|Q[f+128>>2]<=c>>>0){break m}b=lq(N[f+96>>2],c);ae(h+4496|0,N[f+88>>2],c);p=b>>>0>=Q[f+120>>2]?275552:N[f+124>>2]+T(b,28)|0;e=N[p+20>>2];k=N[a+84>>2];m=N[a+88>>2];i=N[f+80>>2];L[h+64|0]=0;G(h+68|0,0,4108);b=h+4240|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4248>>2]=0;b=h+4260|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4268>>2]=0;b=h+4280|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4288>>2]=0;b=h+4300|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4308>>2]=0;b=h+4320|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4328>>2]=0;b=h+4340|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4348>>2]=0;N[h+4368>>2]=0;b=h+4360|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4388>>2]=0;b=h+4380|0;N[b>>2]=0;N[b+4>>2]=0;L[h+4212|0]=0;N[h+56>>2]=0;c=N[h+4500>>2];g=c;b=N[h+4496>>2];N[h+48>>2]=b;N[h+52>>2]=g;N[h+4408>>2]=0;c=h+4400|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4224|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4216|0;N[c>>2]=0;N[c+4>>2]=0;N[h+4192>>2]=0;c=h+4184|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4448|0;N[c>>2]=0;N[c+4>>2]=0;N[h+4424>>2]=i;N[h+4176>>2]=b;N[h+4180>>2]=g;N[h+4208>>2]=0;N[h+4200>>2]=0;N[h+4204>>2]=0;L[h+4197|0]=1;L[h+4198|0]=0;N[h+4440>>2]=0;N[h+4444>>2]=0;c=107;b=107;Ba:{if(!i){break Ba}i=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);i=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);b=107;if(i>>>0<1240){break Ba}b=i>>>0<33900?1131:32768}N[h+4432>>2]=e;N[h+4420>>2]=b;Ca:{if(!e){break Ca}b=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b>>>0<1240){break Ca}c=b>>>0<33900?1131:32768}N[h+4460>>2]=k;N[h+4456>>2]=m;N[h+4428>>2]=c;b=N[f+84>>2];N[h+4484>>2]=0;N[h+4464>>2]=b;L[h+4489|0]=0;L[h+4490|0]=0;N[h+4476>>2]=0;N[h+4480>>2]=0;j=h- -64|0;c=0;Da:{if(!m){break Da}c=0;if(!k){break Da}c=(O[b|0]|O[b+1|0]<<8)!=0}L[h+4488|0]=c;N[h+4472>>2]=N[p+24>>2];L[h+4196|0]=0;N[h+40>>2]=0;N[h+44>>2]=-1042284544;N[h+32>>2]=0;N[h+36>>2]=-1042284544;N[h+24>>2]=-4194304;N[h+28>>2]=1105199103;N[h+16>>2]=-4194304;N[h+20>>2]=1105199103;L[h+8|0]=0;x=h+72|0;i=1e4;f=0;Ea:{while(1){Fa:{i=i-1|0;if(!i){N[h+56>>2]=g+1;break Fa}Ga:{Ha:{Ia:{Ja:{Ka:{La:{c=f+1|0;Ma:{if(c>>>0<=g>>>0){e=N[h+48>>2];b=O[e+f|0];N[h+56>>2]=c;if((b|0)==12){b=f+2|0;if(b>>>0>g>>>0){b=65535;break Ma}c=O[c+e|0];N[h+56>>2]=b;b=c|256}Na:{switch(b-10|0){case 0:case 19:kq(b,h+48|0,h+8|0);break Ga;case 6:jq(h+48|0);b=N[h+68>>2];Oa:{if(b){n=b-1|0;N[h+68>>2]=n;q=S[(j+(n<<3)|0)+8>>3];break Oa}n=0;N[147456]=0;N[147457]=0;L[h+64|0]=1;q=0}m=N[h+4468>>2];if(V(q)<2147483648){g=~~q}else{g=-2147483648}if((g|0)<0){break La}k=T(m^-1,g)+n|0;if(k>>>0>n>>>0){break Ja}if(!g){g=0;break Ha}if(!O[h+4488|0]){b=0;if((g|0)!=1){c=g&1;e=g&-2;while(1){f=b+k|0;Pa:{if(f>>>0>=n>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Pa}f=(j+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;f=k+(b|1)|0;Qa:{if(f>>>0>=n>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Qa}f=(j+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!c){break Ha}}b=b+k|0;if(b>>>0>>0){break Ka}N[147456]=0;N[147457]=0;L[h+64|0]=1;S[73728]=0;break Ha}f=N[h+4480>>2];if(!f){break Ia}u=g+k|0;p=N[h+4484>>2];c=f&-2;t=f&1;e=0;while(1){b=u+T(e,m)|0;o=513-b|0;o=o>>>0<=513?o:0;o=m>>>0>o>>>0?o:m;r=e+k|0;Ra:{if(r>>>0>=n>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;r=589824;q=0;break Ra}r=(j+(r<<3)|0)+8|0;q=S[r>>3]}v=0;Sa:{if((f|0)!=(o|0)){break Sa}o=x+(b<<3)|0;b=0;if((f|0)!=1){while(1){y=b|1;v=+R[p+(y<<2)>>2]*S[o+(y<<3)>>3]+(+R[p+(b<<2)>>2]*S[o+(b<<3)>>3]+v);b=b+2|0;if((c|0)!=(b|0)){continue}break}b=c;if(!t){break Sa}}v=+R[p+(b<<2)>>2]*S[o+(b<<3)>>3]+v}S[r>>3]=q+v;e=e+1|0;if((g|0)!=(e|0)){continue}break};break Ha;case 5:break Na;default:break Ma}}b=N[h+68>>2];Ta:{if(!b){b=0;N[147456]=0;N[147457]=0;L[h+64|0]=1;break Ta}q=S[j+(b<<3)>>3];Ua:{if(V(q)<2147483648){b=~~q;break Ua}b=-2147483648}if((b|0)>=0){break Ta}L[h+64|0]=1;b=0}Va:{if(O[h+4489|0]|O[h+4490|0]){N[h+56>>2]=g+1;break Va}N[h+4472>>2]=b}N[h+68>>2]=0;L[h+4489|0]=1;break Ga}b=N[h+4216>>2]?11:14}kq(b,h+48|0,h+8|0);break Ga}L[h+64|0]=1;g=0;break Ha}b=j+(b<<3)|0;S[b+8>>3]=S[b+8>>3]+0;break Ha}N[h+56>>2]=N[h+52>>2]+1;break Ga}b=0;if((g|0)!=1){c=g&1;e=g&-2;while(1){f=b+k|0;Wa:{if(f>>>0>=n>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Wa}f=(j+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;f=k+(b|1)|0;Xa:{if(f>>>0>=n>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Xa}f=(j+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!c){break Ha}}b=b+k|0;Ya:{if(b>>>0>=n>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;b=589824;q=0;break Ya}b=(j+(b<<3)|0)+8|0;q=S[b>>3]+0}S[b>>3]=q}b=T(g,m);if(b>>>0<=n>>>0){N[h+68>>2]=n-b;break Ga}L[h+64|0]=1}b=0;if(O[h+4212|0]){break Ea}f=N[h+56>>2];g=N[h+52>>2];if(O[h+64|0]|f>>>0>g>>>0){break Ea}if(!O[h+4196|0]){continue}}break}f=0;b=0;q=S[h+32>>3];v=S[h+16>>3];if(q>v){l=R[a+44>>2];s=U(Z(U(U(l*U(v))+U(.5))));Za:{if(U(V(s))>2]=b;N[d+8>>2]=f;q=S[h+40>>3];v=S[h+24>>3];$a:{if(!(q>v)){N[d+4>>2]=0;N[d+12>>2]=0;break $a}l=R[a+48>>2];s=U(Z(U(U(l*U(q))+U(.5))));ab:{if(U(V(s))>2]=a;l=U(Z(U(U(l*U(v))+U(.5))));bb:{if(U(V(l))>2]=b-a}b=1}if(N[h+4480>>2]){N[h+4480>>2]=0}_a(N[h+4484>>2])}La=h+4512|0;return b|0}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}function fj(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=U(0),t=0,u=0,v=U(0),w=0,x=U(0),y=U(0),z=0,A=0,C=0,D=U(0),E=0,H=0,I=0,J=U(0),K=0,S=0,V=0,W=U(0),X=0,Y=0,Z=U(0),_=0,$=0,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0;p=La+-64|0;La=p;if(g>>>0<=64){if(!N[f+4>>2]){j=N[b+88>>2];h=N[b+84>>2];N[f+8>>2]=0;Ba=f,Ca=ZE(h,j,32),N[Ba>>2]=Ca;N[f+4>>2]=Pa}i=N[d+4>>2];h=N[a+20>>2];t=!i&(h|0)==1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(h-1|0){case 0:j=N[a+12>>2];h=O[j|0]|O[j+1|0]<<8;if(!h){break k}m=N[a>>2];o=j+10|0;w=(h<<8|h>>>8)<<16>>16;l=o+(w<<1)|0;if(m>>>0>l>>>0){break h}z=m+N[a+4>>2]|0;if(z>>>0>>0){break h}if(z-l>>>0<2){break a}h=t?N[d>>2]:0;if((h|0)<0){break h}m:{j=(o+(w<<1)|0)-2|0;j=O[j|0]|O[j+1|0]<<8;q=(j<<8|j>>>8)&65535;j=q+5|0;n:{if(j>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(j>>>0>=h>>>0){continue}break}if(h>>>0>357913941){break m}j=$a(t?N[d+8>>2]:0,T(h,12));if(!j){break m}if(!t){E=j;r=h;break n}N[d>>2]=h;N[d+8>>2]=j}r=0}j=q+1|0;o:{if(h>>>0>q>>>0){break o}while(1){h=((h>>>1|0)+h|0)+8|0;if(j>>>0>=h>>>0){continue}break}if(h>>>0>357913941){break m}k=$a(t?N[d+8>>2]:E,T(h,12));if(!k){break m}if(!t){E=k;r=h;break o}N[d>>2]=h;N[d+8>>2]=k}k=0;i=N[d+4>>2];h=t?i:0;if(q>>>0>=h>>>0){while(1){i=h+1|0;p:{if(!t){k=i;break p}N[d+4>>2]=i}h=T(h,12)+(t?N[d+8>>2]:E)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;i=N[d+4>>2];h=t?i:k;if(q>>>0>=h>>>0){continue}break}}q:{if(!t){k=j;break q}N[d+4>>2]=j;i=j}if(e){break i}if((w|0)<=0){break j}h=0;while(1){j=o+(h<<1)|0;j=O[j|0]|O[j+1|0]<<8;j=(j<<8|j>>>8)&65535;r:{if(j>>>0>=(t?N[d+4>>2]:k)>>>0){N[147456]=0;N[147457]=0;N[147458]=0;j=589824;break r}j=T(j,12)+(t?N[d+8>>2]:E)|0}L[j+9|0]=1;h=h+1|0;if((w|0)!=(h|0)){continue}break}break j}if(!t){break a}N[d>>2]=-1;break a;case 1:break l;default:break i}}h=N[a+12>>2]+10|0;l=N[a>>2];m=0;s:{if(h>>>0>>0){break s}z=l+N[a+4>>2]|0;m=0;if(z>>>0>>0){break s}k=z-h|0;m=0;if(k>>>0<4){break s}q=O[h|0]|O[h+1|0]<<8;m=q<<8|q>>>8;o=m&65535;j=o&1?8:6;w=2;t:{if(m&8){break t}w=4;if(o&64){break t}w=o>>>4&8}j=j+w|0;m=0;if(k>>>0>>0){break s}m=1;if(!(q&8192)){break s}while(1){u:{h=h+j|0;if(l>>>0>h>>>0|h>>>0>z>>>0){break u}k=z-h|0;if(k>>>0<4){break u}q=O[h|0]|O[h+1|0]<<8;m=q<<8|q>>>8;o=m&65535;w=o&1?8:6;j=2;v:{if(m&8){break v}j=4;if(o&64){break v}j=o>>>4&8}j=w+j|0;if(k>>>0>>0){break u}u=u+1|0;if(q&8192){continue}}break}m=u+1|0}h=t?N[d>>2]:0;if((h|0)<0){break h}k=0;j=(m|0)>0?m:0;if(j>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(j>>>0>=h>>>0){continue}break}w:{if(h>>>0<=357913941){E=$a(t?N[d+8>>2]:0,T(h,12));if(E){break w}}E=0;if(!t){break a}N[d>>2]=-1;break h}if(t){N[d>>2]=h;N[d+8>>2]=E;E=0;h=0}r=h;i=N[d+4>>2]}h=t?i:0;if(j>>>0>h>>>0){while(1){i=h+1|0;x:{if(!t){k=i;break x}N[d+4>>2]=i}h=T(h,12)+(t?N[d+8>>2]:E)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;i=N[d+4>>2];h=t?i:k;if(j>>>0>h>>>0){continue}break}}if(!t){k=j;break i}N[d+4>>2]=j;i=j;break i}ba(10382,14236,182,9951);F()}h=O[l|0]|O[l+1|0]<<8;j=((o+(w<<1)|0)+((h<<8|h>>>8)&65535)|0)+2|0;if(m>>>0>j>>>0|j>>>0>=z>>>0){break a}i=N[d+4>>2];q=t?i:k;if(!q){break i}n=t?N[d+8>>2]:E;while(1){i=j+1|0;if(i>>>0>z>>>0){break a}w=O[j|0];L[(T(u,12)+n|0)+8|0]=w;l=u+1|0;m=q;y:{if(!(w&8)){j=i;h=l;break y}j=j+2|0;if(z>>>0>>0){break a}h=l;i=O[i|0]+h|0;o=i>>>0>>0?i:q;if(o>>>0<=h>>>0){break y}i=0;h=o+(u^-1)&7;if(h){while(1){L[(T(l,12)+n|0)+8|0]=w;l=l+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if((o-u|0)-2>>>0>=7){while(1){h=T(l,12)+n|0;L[h+8|0]=w;L[h+20|0]=w;L[h+32|0]=w;L[h+44|0]=w;L[h+56|0]=w;L[h+68|0]=w;L[h+80|0]=w;L[h+92|0]=w;l=l+8|0;if((o|0)!=(l|0)){continue}break}}h=o}u=h;if(m>>>0>u>>>0){continue}break}h=0;i=0;while(1){z:{A:{B:{if((t?N[d+4>>2]:k)>>>0<=h>>>0){N[147456]=0;N[147457]=0;N[147458]=0;break B}o=O[(T(h,12)+n|0)+8|0];if(o&2){m=j+1|0;if(m>>>0>z>>>0){break z}j=O[j|0];if(o&16){i=i+j|0;j=m;break A}i=i-j|0;j=m;break A}if(o&16){break A}}m=j+2|0;if(m>>>0>z>>>0){break z}j=O[j|0]|O[j+1|0]<<8;i=((j<<8|j>>>8)<<16>>16)+i|0;j=m}n=t?N[d+8>>2]:E;R[n+T(h,12)>>2]=i|0;h=h+1|0;aa=q>>>0<=h>>>0;if((h|0)!=(q|0)){continue}}break}if(!(aa&1)){break h}i=N[d+4>>2];q=t?i:k;if(!q){break i}aa=0;h=0;i=0;while(1){C:{D:{E:{if((t?N[d+4>>2]:k)>>>0<=h>>>0){N[147456]=0;N[147457]=0;N[147458]=0;break E}o=O[(T(h,12)+(t?N[d+8>>2]:E)|0)+8|0];if(o&4){m=j+1|0;if(m>>>0>z>>>0){break C}j=O[j|0];if(o&32){i=i+j|0;j=m;break D}i=i-j|0;j=m;break D}if(o&32){break D}}m=j+2|0;if(m>>>0>z>>>0){break C}j=O[j|0]|O[j+1|0]<<8;i=((j<<8|j>>>8)<<16>>16)+i|0;j=m}R[(T(h,12)+(t?N[d+8>>2]:E)|0)+4>>2]=i|0;h=h+1|0;aa=q>>>0<=h>>>0;if((h|0)!=(q|0)){continue}}break}if(!(aa&1)){break h}i=N[d+4>>2]}n=t?N[d>>2]:r;if((n|0)<0){break h}h=t?i:k;j=h+4|0;i=(j|0)>0?j:0;if(i>>>0>n>>>0){while(1){n=((n>>>1|0)+n|0)+8|0;if(i>>>0>=n>>>0){continue}break}F:{if(n>>>0<=357913941){h=$a(t?N[d+8>>2]:E,T(n,12));if(h){break F}}if(!t){break h}N[d>>2]=-1;break h}G:{if(!t){E=h;break G}N[d>>2]=n;N[d+8>>2]=h}h=t?N[d+4>>2]:k}if(h>>>0>>0){while(1){j=h+1|0;H:{if(!t){k=j;break H}N[d+4>>2]=j}h=T(h,12)+(t?N[d+8>>2]:E)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;h=t?N[d+4>>2]:k;if(i>>>0>h>>>0){continue}break}}w=i;if(t){N[d+4>>2]=i;w=k}z=i-4|0;m=i-z|0;k=m>>>0>i>>>0;r=N[d+8>>2];h=N[a+16>>2];i=N[c+4>>2];l=N[i>>2];I:{J:{if(h>>>0>>0){if((h|0)<0){h=275552}else{j=N[i+20>>2];h=N[(j?j:275552)+12>>2]+(h<<2)|0}j=h+2|0;break J}if(Q[i+4>>2]<=h>>>0){l=N[a+12>>2];i=0;break I}K:{if((l|0)<0){u=275552;break K}j=N[i+20>>2];u=N[(j?j:275552)+12>>2]+(l<<2)|0;l=N[i>>2]}j=(h-l<<1)+u|0}l=N[a+12>>2];h=O[l+2|0]|O[l+3|0]<<8;i=(h<<8|h>>>8)<<16>>16;h=O[j|0]|O[j+1|0]<<8;i=i-((h<<8|h>>>8)<<16>>16)|0;h=N[a+16>>2]}fa=k?0:m;j=O[l+8|0]|O[l+9|0]<<8;q=j>>>8|0;o=j<<8;l=N[c+8>>2];k=N[l>>2];L:{M:{if(k>>>0>h>>>0){if((h|0)<0){h=275552}else{j=N[l+20>>2];h=N[(j?j:275552)+12>>2]+(h<<2)|0}h=h+2|0;break M}if(Q[l+4>>2]<=h>>>0){m=0;break L}N:{if((k|0)<0){m=275552;break N}j=N[l+20>>2];m=N[(j?j:275552)+12>>2]+(k<<2)|0;k=N[l>>2]}h=(h-k<<1)+m|0}h=O[h|0]|O[h+1|0]<<8;m=(h<<8|h>>>8)<<16>>16;h=N[a+16>>2]}o=o|q;k=fa>>>0<4;q=N[c+4>>2];O:{if(Q[q+4>>2]>h>>>0){j=N[q>>2]-1|0;j=h>>>0>j>>>0?j:h;P:{if((j|0)<0){l=275552;break P}h=N[q+20>>2];l=N[(h?h:275552)+12>>2]+(j<<2)|0;h=N[a+16>>2]}j=O[l|0]|O[l+1|0]<<8;j=(j<<8|j>>>8)&65535;break O}j=0;if(N[q+8>>2]){break O}j=N[q+16>>2]}r=t?r:E;q=T(z,12);o=o<<16>>16;ea=k?fa:4;l=N[c+8>>2];Q:{if(Q[l+4>>2]>h>>>0){k=N[l>>2]-1|0;k=h>>>0>k>>>0?k:h;if((k|0)<0){h=275552}else{h=N[l+20>>2];h=N[(h?h:275552)+12>>2]+(k<<2)|0}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;break Q}h=0;if(N[l+8>>2]){break Q}h=N[l+16>>2]}da=q+r|0;k=m+o|0;R:{S:{T:{U:{V:{if(!ea){break V}R[da>>2]=i|0;if((ea|0)==1){break V}R[da+12>>2]=i+j>>>0;if(fa>>>0>2){break U}}s=U(k-h|0);break T}R[da+28>>2]=k|0;s=U(k-h|0);if((fa|0)!=3){break S}}N[147456]=0;N[147457]=0;N[147458]=0;h=589824;break R}h=da+36|0}R[h+4>>2]=s;ra=N[f+4>>2];W:{if(!ra){break W}m=N[a+16>>2];q=N[c>>2];o=N[q>>2];h=o?o:275552;r=Q[h+16>>2]<20?275552:N[h+12>>2];h=O[r+12|0]|O[r+13|0]<<8;if(m>>>0>=((h<<8|h>>>8)&65535)>>>0){break W}i=r+20|0;I=275552;X:{if(L[r+15|0]&1){h=i+(m<<2)|0;h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);j=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);break X}h=i+(m<<1)|0;h=O[h|0]|O[h+1|0]<<8;j=((h<<8|h>>>8)&65535)<<1}k=O[r+12|0]|O[r+13|0]<<8;h=0;Y:{if(m>>>0>=((k<<8|k>>>8)&65535)>>>0){break Y}h=m+1|0;if(L[r+15|0]&1){h=i+(h<<2)|0;h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);break Y}h=i+(h<<1)|0;h=O[h|0]|O[h+1|0]<<8;h=((h<<8|h>>>8)&65535)<<1}Z:{if(j>>>0>h>>>0){i=0;break Z}i=N[o+16>>2];k=O[r+16|0]|O[r+17|0]<<8|(O[r+18|0]<<16|O[r+19|0]<<24);m=j+(k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24))|0;k=i-m|0;k=i>>>0>=k>>>0?k:0;h=h-j|0;i=h>>>0>k>>>0?k:h;if(i>>>0<4){i=0;break Z}ia=m+N[o+12>>2]|0;I=ia}h=O[I|0]|O[I+1|0]<<8;if(!h){break W}o=N[d+4>>2];m=N[d+8>>2];ua=N[f>>2];N[p+32>>2]=0;N[p+24>>2]=0;N[p+28>>2]=0;l=275552;j=N[q>>2];j=j?j:275552;j=Q[j+16>>2]<20?275552:N[j+12>>2];j=O[j+4|0]|O[j+5|0]<<8;_:{if(h&128){h=O[I+2|0]|O[I+3|0]<<8;if(h){l=((h<<8|h>>>8)&65535)+I|0}N[p+52>>2]=l;if(!Vp(p+52|0,p+24|0,i+ia|0)){break _}na=N[p+52>>2]-l|0;h=O[I|0]|O[I+1|0]<<8}if(!(h&65295)){break _}_=I+4|0;if(ia>>>0>_>>>0){break _}ja=i+ia|0;if(ja>>>0<_>>>0){break _}k=ja-_|0;if(k>>>0<4){break _}oa=((j<<8|j>>>8)&65535)<<1;i=O[I+6|0]|O[I+7|0]<<8;j=T(oa,i>>>5&2|i>>>7&1)+4|0;h=O[I+4|0]|O[I+5|0]<<8;h=(h<<8|h>>>8)&65535;if(k>>>0<(h>>>0>>0?j:h)>>>0){break _}X=t?o:w;h=(X|0)>0;z=h?X:0;$:{if(h){while(1){ca=((ca>>>1|0)+ca|0)+8|0;if(z>>>0>=ca>>>0){continue}break}h=0;if(ca>>>0>357913941){break $}ca=kb(T(ca,12));if(!ca){break $}}la=t?m:E;h=T(X,12);if(h){B(ca,la,h)}h=0;aa:{if((X|0)>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(z>>>0>=h>>>0){continue}break}l=0;if(h>>>0>357913941){break aa}h=kb(T(h,12));if(!h){break aa}}l=h;if(X){h=0;i=0;while(1){ba:{if(!O[(T(h,12)+la|0)+9|0]){break ba}ca:{da:{if((i|0)<0){break da}k=i;j=ma+1|0;if(j>>>0<=i>>>0){n=K;break ca}while(1){k=((k>>>1|0)+k|0)+8|0;if(j>>>0>=k>>>0){continue}break}i=-1;if(k>>>0>1073741823){break da}n=$a(K,k<<2);if(n){break ca}}N[147456]=0;break ba}N[(ma<<2)+n>>2]=h;K=n;ma=j;i=k}h=h+1|0;if((X|0)!=(h|0)){continue}break}i=O[I+6|0]|O[I+7|0]<<8;k=X}else{k=0}va=p+60|0;wa=p+56|0;xa=p+32|0;ka=p+28|0;h=N[q>>2];h=h?h:275552;m=Q[h+16>>2]<20?275552:N[h+12>>2];j=O[m+8|0]|O[m+9|0]<<8|(O[m+10|0]<<16|O[m+11|0]<<24);h=O[m+6|0]|O[m+7|0]<<8;pa=O[m+4|0]|O[m+5|0]<<8;N[p+60>>2]=0;N[p+52>>2]=0;N[p+56>>2]=0;$=(pa<<8|pa>>>8)&65535;qa=T($,(h<<8|h>>>8)&65535);ya=m+(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))|0;za=X&-2;Aa=X&1;sa=T(z,12);o=0;j=0;while(1){ea:{fa:{ga:{A=i&128;ha:{if(A){h=T(i>>>5&2|i>>>7&1,$);aa=h>>>0<$>>>0?h:$;r=_+4|0;break ha}m=T((i<<8|(i&65280)>>>8)&4095,$);if(m>>>0>=qa>>>0){break ga}h=qa-m|0;h=h>>>0<=qa>>>0?h:0;aa=h>>>0<$>>>0?h:$;r=(m<<1)+ya|0}h=0;m=0;n=0;H=0;q=0;if(i&64){q=T(i>>>5&2|i>>>7&1,$);A=A?$:0;m=A+$|0;i=q-m|0;i=i>>>0<=q>>>0?i:0;n=i>>>0<$>>>0?i:$;i=q-A|0;i=i>>>0<=q>>>0?i:0;q=i>>>0<$>>>0?i:$;i=_+4|0;H=i+(A<<1)|0;m=i+(m<<1)|0}s=U(1);if(pa){while(1){ia:{if(h>>>0>=ra>>>0){N[147456]=0;i=0;break ia}i=N[(h<<2)+ua>>2]}C=h<<1;A=h>>>0>=aa>>>0?275552:C+r|0;S=O[A|0]|O[A+1|0]<<8;ja:{if(!S){break ja}V=(S<<8|S>>>8)<<16>>16;if((V|0)==(i|0)){break ja}if(O[_+2|0]&64){A=h>>>0>=q>>>0?275552:C+H|0;u=O[A|0]|O[A+1|0]<<8;Y=(u<<8|u>>>8)<<16>>16;if((Y|0)>(V|0)){break ja}A=h>>>0>=n>>>0?275552:m+C|0;A=O[A|0]|O[A+1|0]<<8;C=(A<<8|A>>>8)<<16>>16;if((C|0)<(V|0)|(Y|0)<0&(C|0)>0){break ja}if((i|0)<(Y|0)|(i|0)>(C|0)){break ga}if((i|0)<(V|0)){if((u|0)==(S|0)){break ja}s=U(s*U(U(i-Y|0)/U(V-Y|0)));break ja}if((A|0)==(S|0)){break ja}s=U(s*U(U(C-i|0)/U(C-V|0)));break ja}if(!i|(i|0)>(((V|0)>0?V:0)|0)|(i|0)<(V&V>>31)){break ga}s=U(s*U(U(i|0)/U(V|0)))}h=h+1|0;if(($|0)!=(h|0)){continue}break}if(s==U(0)){break ga}}i=O[I+2|0]|O[I+3|0]<<8;if(i){h=((i<<8|i>>>8)&65535)+I|0}else{h=275552}i=h+na|0;N[p+48>>2]=i;ka:{if(i>>>0>>0|i>>>0>ja>>>0){break ka}h=O[_|0]|O[_+1|0]<<8;h=(h<<8|h>>>8)&65535;if(h>>>0>ja-i>>>0){break ka}H=h+i|0;h=xa;i=ka;if(O[_+2|0]&32){h=va;i=wa;if(!Vp(p+48|0,p+52|0,H)){break ka}}if((ga|0)<0){break ka}A=N[h>>2];C=N[i>>2];Y=C?C:k;S=(Y|0)>0?Y:0;la:{if(S>>>0<=ga>>>0){q=o;break la}while(1){ga=((ga>>>1|0)+ga|0)+8|0;if(S>>>0>=ga>>>0){continue}break}if(ga>>>0>1073741823){break ka}q=$a(o,ga<<2);if(!q){break ka}}o=(Y|0)<=0;if(!o){i=0;h=N[p+48>>2];k=h+1|0;if(H>>>0>>0){m=j;break ea}ma:{while(1){h=O[h|0];n=h&63;u=n+1|0;m=u+i|0;if(m>>>0>S>>>0){m=j;break ea}na:{if(h<<24>>24<0){G((i<<2)+q|0,0,(n<<2)+4|0);h=k;i=m;break na}if(h&64){if(H>>>0<(u<<1)+k>>>0){m=j;break ea}r=u&3;oa:{if(n>>>0<3){h=k;break oa}m=u&124;n=0;h=k;while(1){u=(i<<2)+q|0;k=O[h|0]|O[h+1|0]<<8;N[u>>2]=(k<<8|k>>>8)<<16>>16;k=O[h+2|0]|O[h+3|0]<<8;N[u+4>>2]=(k<<8|k>>>8)<<16>>16;k=O[h+4|0]|O[h+5|0]<<8;N[u+8>>2]=(k<<8|k>>>8)<<16>>16;k=O[h+6|0]|O[h+7|0]<<8;N[u+12>>2]=(k<<8|k>>>8)<<16>>16;i=i+4|0;h=h+8|0;n=n+4|0;if((m|0)!=(n|0)){continue}break}}k=0;if(!r){break na}while(1){m=O[h|0]|O[h+1|0]<<8;N[(i<<2)+q>>2]=(m<<8|m>>>8)<<16>>16;i=i+1|0;h=h+2|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}break na}if(H>>>0>>0){m=j;break ea}r=u&3;pa:{if(n>>>0<3){h=k;break pa}m=u&124;n=0;h=k;while(1){k=(i<<2)+q|0;N[k>>2]=L[h|0];N[k+4>>2]=L[h+1|0];N[k+8>>2]=L[h+2|0];N[k+12>>2]=L[h+3|0];i=i+4|0;h=h+4|0;n=n+4|0;if((m|0)!=(n|0)){continue}break}}k=0;if(!r){break na}while(1){N[(i<<2)+q>>2]=L[h|0];i=i+1|0;h=h+1|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if(i>>>0>=S>>>0){break ma}k=h+1|0;if(H>>>0>=k>>>0){continue}break}m=j;break ea}N[p+48>>2]=h}if((ha|0)<0){m=j;break ea}qa:{if(S>>>0<=ha>>>0){m=j;break qa}while(1){ha=((ha>>>1|0)+ha|0)+8|0;if(S>>>0>=ha>>>0){continue}break}if(ha>>>0>1073741823){m=j;break ea}m=$a(j,ha<<2);if(m){break qa}m=j;break ea}ra:{if(o){break ra}i=0;h=N[p+48>>2];k=h+1|0;if(H>>>0>>0){break ea}while(1){h=O[h|0];n=h&63;u=n+1|0;j=u+i|0;if(j>>>0>S>>>0){break ea}sa:{if(h<<24>>24<0){G((i<<2)+m|0,0,(n<<2)+4|0);h=k;i=j;break sa}if(h&64){if(H>>>0<(u<<1)+k>>>0){break ea}r=u&3;ta:{if(n>>>0<3){h=k;break ta}o=u&124;n=0;h=k;while(1){k=(i<<2)+m|0;j=O[h|0]|O[h+1|0]<<8;N[k>>2]=(j<<8|j>>>8)<<16>>16;j=O[h+2|0]|O[h+3|0]<<8;N[k+4>>2]=(j<<8|j>>>8)<<16>>16;j=O[h+4|0]|O[h+5|0]<<8;N[k+8>>2]=(j<<8|j>>>8)<<16>>16;j=O[h+6|0]|O[h+7|0]<<8;N[k+12>>2]=(j<<8|j>>>8)<<16>>16;i=i+4|0;h=h+8|0;n=n+4|0;if((o|0)!=(n|0)){continue}break}}k=0;if(!r){break sa}while(1){j=O[h|0]|O[h+1|0]<<8;N[(i<<2)+m>>2]=(j<<8|j>>>8)<<16>>16;i=i+1|0;h=h+2|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}break sa}if(H>>>0>>0){break ea}o=u&3;ua:{if(n>>>0<3){h=k;break ua}j=u&124;n=0;h=k;while(1){k=(i<<2)+m|0;N[k>>2]=L[h|0];N[k+4>>2]=L[h+1|0];N[k+8>>2]=L[h+2|0];N[k+12>>2]=L[h+3|0];i=i+4|0;h=h+4|0;n=n+4|0;if((j|0)!=(n|0)){continue}break}}k=0;if(!o){break sa}while(1){N[(i<<2)+m>>2]=L[h|0];i=i+1|0;h=h+1|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}}if(i>>>0>=S>>>0){break ra}k=h+1|0;if(H>>>0>=k>>>0){continue}break}break ea}if(sa){G(l,0,sa)}va:{wa:{if(s==U(1)){k=0;i=0;if(!Y){break va}while(1){h=i;xa:{if(!C){break xa}if(h>>>0>=C>>>0){N[147456]=0;h=0;break xa}h=N[A+(i<<2)>>2]}if(h>>>0>>0){o=T(h,12)+l|0;j=O[o+8|0];L[o+8|0]=1;h=i<<2;R[o>>2]=R[o>>2]+U(N[h+q>>2]);R[o+4>>2]=R[o+4>>2]+U(N[h+m>>2]);k=!j+k|0}i=i+1|0;if((Y|0)!=(i|0)){continue}break}break wa}k=0;i=0;if(!Y){break va}while(1){h=i;ya:{if(!C){break ya}if(h>>>0>=C>>>0){N[147456]=0;h=0;break ya}h=N[A+(i<<2)>>2]}if(h>>>0>>0){o=T(h,12)+l|0;j=O[o+8|0];L[o+8|0]=1;h=i<<2;R[o>>2]=U(U(N[h+q>>2])*s)+R[o>>2];R[o+4>>2]=U(U(N[h+m>>2])*s)+R[o+4>>2];k=!j+k|0}i=i+1|0;if((Y|0)!=(i|0)){continue}break}}if(!k|k>>>0>=z>>>0){break va}o=0;j=0;if(!ma){break va}while(1){V=N[(o<<2)+K>>2];A=V+1|0;za:{if(A>>>0<=j>>>0){r=V-j|0;i=0;break za}k=A-j|0;C=k&3;n=0;i=0;h=j;r=V-h|0;if(r>>>0>=3){k=k&-4;u=0;while(1){H=i;i=T(h,12)+l|0;i=(((H+O[i+8|0]|0)+O[i+20|0]|0)+O[i+32|0]|0)+O[i+44|0]|0;h=h+4|0;u=u+4|0;if((k|0)!=(u|0)){continue}break}}if(!C){break za}while(1){i=O[(T(h,12)+l|0)+8|0]+i|0;h=h+1|0;n=n+1|0;if((C|0)!=(n|0)){continue}break}}h=r-i|0;if(h>>>0>>0){n=h+1|0;h=j;Aa:while(1){i=h;Y=T(h,12);H=Y+l|0;h=h>>>0>>0?h+1|0:j;if(!O[H+8|0]|O[(T(h,12)+l|0)+8|0]){continue}k=1;h=i;while(1){C=k&255;h=h>>>0>>0?h+1|0:j;u=T(h,12);S=u+l|0;r=O[S+8|0];k=r;if(C){continue}k=0;if(!r){continue}break}C=u+ca|0;u=Y+ca|0;while(1){i=i>>>0>>0?i+1|0:j;if((i|0)==(h|0)){continue Aa}k=T(i,12);r=k+ca|0;k=k+l|0;J=R[H>>2];v=R[S>>2];x=R[u>>2];D=R[C>>2];y=J==v?J:U(0);Ba:{if(x==D){break Ba}s=R[r>>2];y=xD?J:v;if(s>=(x>=D?x:D)){break Ba}y=U(U(U(U(s-x)/U(D-x))*U(v-J))+J)}R[k>>2]=y;J=R[H+4>>2];v=R[S+4>>2];x=R[u+4>>2];D=R[C+4>>2];y=J==v?J:U(0);Ca:{if(x==D){break Ca}s=R[r+4>>2];y=xD?J:v;if(s>=(x>=D?x:D)){break Ca}y=U(U(U(U(s-x)/U(D-x))*U(v-J))+J)}R[k+4>>2]=y;n=n-1|0;if(n){continue}break}break}}j=A;o=o+1|0;if((ma|0)!=(o|0)){continue}break}}Da:{if(!X){break Da}h=0;if((X|0)!=1){while(1){j=T(h,12);k=j+la|0;j=j+l|0;R[k>>2]=R[j>>2]+R[k>>2];R[k+4>>2]=R[j+4>>2]+R[k+4>>2];j=T(h|1,12);k=j+la|0;j=j+l|0;R[k>>2]=R[j>>2]+R[k>>2];R[k+4>>2]=R[j+4>>2]+R[k+4>>2];h=h+2|0;if((za|0)!=(h|0)){continue}break}if(!Aa){break Da}}h=T(h,12);j=h+la|0;h=h+l|0;R[j>>2]=R[h>>2]+R[j>>2];R[j+4>>2]=R[h+4>>2]+R[j+4>>2]}k=X;break fa}q=o;m=j;break ea}m=j;q=o}ta=ta+1|0;h=O[I|0]|O[I+1|0]<<8;if(ta>>>0>=((h<<8|h>>>8)&4095)>>>0){break ea}h=O[_+2|0]|O[_+3|0]<<8;h=(T(h>>>5&2|h>>>7&1,oa)+_|0)+4|0;if(h>>>0>>0|h>>>0>ja>>>0){break ea}n=ja-h|0;if(n>>>0<4){break ea}j=O[_|0]|O[_+1|0]<<8;na=((j<<8|j>>>8)&65535)+na|0;o=q;j=m;i=O[h+2|0]|O[h+3|0]<<8;r=T(i>>>5&2|i>>>7&1,oa)+4|0;_=h;h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;if(n>>>0>=(h>>>0>>0?r:h)>>>0){continue}}break}_a(m);_a(q);_a(N[p+60>>2]);_a(K)}_a(l);h=ca}_a(h)}_a(N[p+32>>2])}Ea:{switch(N[a+20>>2]-1|0){case 0:if(t){break f}h=N[d>>2];if((h|0)<0){break f}b=N[d+4>>2];a=b+w|0;c=(a|0)>0?a:0;if(c>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(c>>>0>=h>>>0){continue}break}Fa:{if(h>>>0<=357913941){a=$a(N[d+8>>2],T(h,12));if(a){break Fa}}N[d>>2]=-1;break f}N[d>>2]=h;N[d+8>>2]=a}N[d+4>>2]=c;a=T(w,12);if(!a){break f}B(N[d+8>>2]+T(b,12)|0,E,a);break f;case 1:break Ea;default:break g}}l=0;N[p+60>>2]=0;N[p+52>>2]=0;N[p+56>>2]=0;Ga:{Ha:{Ia:{k=N[a+12>>2]+10|0;X=N[a>>2];Ja:{if(k>>>0>>0){break Ja}ka=X+N[a+4>>2]|0;if(ka>>>0>>0){break Ja}a=ka-k|0;if(a>>>0<4){break Ja}h=O[k|0]|O[k+1|0]<<8;j=h<<8|h>>>8;i=j&65535;m=i&1?8:6;h=2;Ka:{if(j&8){break Ka}h=4;if(i&64){break Ka}h=i>>>4&8}r=m+h|0;if(a>>>0>=r>>>0){break Ia}}h=N[d+4>>2];break Ha}q=da+36|0;o=da+24|0;m=da+12|0;z=g+1|0;n=0;aa=0;while(1){La:{if(N[p+52>>2]<0){N[p+52>>2]=n;if((n|0)<0){break La}}N[p+56>>2]=0}Ma:{Na:{a=O[k+2|0]|O[k+3|0]<<8;l=(a<<8|a>>>8)&65535;if(l>>>0>=Q[c+16>>2]){break Na}a=N[c+20>>2];a=N[(a?a:275552)+12>>2];Oa:{if(O[c+12|0]){h=a+(l<<1)|0;a=O[h|0]|O[h+1|0]<<8;i=((a<<8|a>>>8)&65535)<<1;a=O[h+2|0]|O[h+3|0]<<8;a=((a<<8|a>>>8)&65535)<<1;break Oa}h=a+(l<<2)|0;a=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);i=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}Pa:{if(a>>>0>=i>>>0){h=N[c+24>>2];h=h?h:275552;if(a>>>0<=Q[h+16>>2]){break Pa}}break Na}j=N[h+12>>2]+i|0;a=a-i|0;i=a>>>0<10?275552:j;h=O[i|0]|O[i+1|0]<<8;if(h){h=(h<<8|h>>>8)<<16>>16>0?1:(h|0)==65279?3:2}else{h=0}N[p+32>>2]=0;N[p+28>>2]=a;N[p+24>>2]=j;break Ma}h=0;N[p+32>>2]=0;N[p+24>>2]=0;N[p+28>>2]=0;l=-1;i=275552}N[p+44>>2]=h;N[p+40>>2]=l;N[p+36>>2]=i;N[p+16>>2]=N[f+8>>2];a=N[f+4>>2];N[p+8>>2]=N[f>>2];N[p+12>>2]=a;if(!fj(p+24|0,b,c,p+52|0,e,p+8|0,z)){break Ga}h=O[k|0]|O[k+1|0]<<8;if(h&2){j=N[p+56>>2];Qa:{if(j>>>0<=3){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Qa}a=(N[p+60>>2]+T(j,12)|0)-48|0}i=da;if(!ea){N[147456]=0;N[147457]=0;N[147458]=0;i=589824}h=N[a+4>>2];N[i>>2]=N[a>>2];N[i+4>>2]=h;M[i+8>>1]=P[a+8>>1];Ra:{if(j>>>0<=2){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Ra}a=(N[p+60>>2]+T(j,12)|0)-36|0}i=m;if(fa>>>0<=1){N[147456]=0;N[147457]=0;N[147458]=0;i=589824}h=N[a+4>>2];N[i>>2]=N[a>>2];N[i+4>>2]=h;M[i+8>>1]=P[a+8>>1];Sa:{if(j>>>0<=1){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Sa}a=(N[p+60>>2]+T(j,12)|0)-24|0}i=o;if(fa>>>0<=2){N[147456]=0;N[147457]=0;N[147458]=0;i=589824}h=N[a+4>>2];N[i>>2]=N[a>>2];N[i+4>>2]=h;M[i+8>>1]=P[a+8>>1];Ta:{if(!j){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Ta}a=(N[p+60>>2]+T(j,12)|0)-12|0}h=q;if(fa>>>0<=3){N[147456]=0;N[147457]=0;N[147458]=0;h=589824}j=N[a+4>>2];N[h>>2]=N[a>>2];N[h+4>>2]=j;M[h+8>>1]=P[a+8>>1];h=O[k|0]|O[k+1|0]<<8}a=h<<8|(h&65280)>>>8;i=a&65535;Ua:{if(a&1){a=O[k+6|0]|O[k+7|0]<<8;n=(a<<8|a>>>8)<<16>>16;l=k+8|0;a=O[k+4|0]|O[k+5|0]<<8;j=(a<<8|a>>>8)<<16>>16;break Ua}l=k+6|0;n=L[k+5|0];j=L[k+4|0]}a=h<<22>>31;n=a&n;K=a&j;Va:{Wa:{Xa:{if(i&8){Z=U(0);a=O[l|0]|O[l+1|0]<<8;y=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));s=y;break Xa}if(i&64){a=O[l+2|0]|O[l+3|0]<<8;y=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));Z=U(0);a=O[l|0]|O[l+1|0]<<8;s=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));break Xa}if(i&128){a=O[l+6|0]|O[l+7|0]<<8;y=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));a=O[l+4|0]|O[l+5|0]<<8;x=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));a=O[l+2|0]|O[l+3|0]<<8;Z=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));a=O[l|0]|O[l+1|0]<<8;s=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));break Wa}if(!(n|K)){break Va}Z=U(0);y=U(1);s=U(1)}x=U(0)}D=U(n|0);J=U(K|0);if((h&24)==8){Ya:{if(!(n|K)){break Ya}a=N[p+56>>2];if(!a){break Ya}l=N[p+60>>2];h=0;if((a|0)!=1){j=a&1;a=a&-2;while(1){i=l+T(h,12)|0;R[i>>2]=R[i>>2]+J;R[i+4>>2]=R[i+4>>2]+D;i=l+T(h|1,12)|0;R[i>>2]=R[i>>2]+J;R[i+4>>2]=R[i+4>>2]+D;h=h+2|0;if((a|0)!=(h|0)){continue}break}if(!j){break Ya}}a=l+T(h,12)|0;R[a>>2]=R[a>>2]+J;R[a+4>>2]=R[a+4>>2]+D}if(!(s!=U(1)|Z!=U(0)|x!=U(0))){if(y==U(1)){break Va}}a=N[p+56>>2];if(!a){break Va}l=N[p+60>>2];h=0;if((a|0)!=1){j=a&1;a=a&-2;while(1){i=l+T(h,12)|0;W=R[i>>2];v=R[i+4>>2];R[i+4>>2]=U(W*Z)+U(y*v);R[i>>2]=U(W*s)+U(x*v);i=l+T(h|1,12)|0;W=R[i>>2];v=R[i+4>>2];R[i+4>>2]=U(W*Z)+U(y*v);R[i>>2]=U(W*s)+U(x*v);h=h+2|0;if((a|0)!=(h|0)){continue}break}if(!j){break Va}}a=l+T(h,12)|0;W=R[a>>2];v=R[a+4>>2];R[a+4>>2]=U(W*Z)+U(y*v);R[a>>2]=U(W*s)+U(x*v);break Va}Za:{if(!(s!=U(1)|Z!=U(0)|x!=U(0))){if(y==U(1)){break Za}}a=N[p+56>>2];if(!a){break Za}l=N[p+60>>2];h=0;if((a|0)!=1){j=a&1;a=a&-2;while(1){i=l+T(h,12)|0;W=R[i>>2];v=R[i+4>>2];R[i+4>>2]=U(W*Z)+U(y*v);R[i>>2]=U(W*s)+U(x*v);i=l+T(h|1,12)|0;W=R[i>>2];v=R[i+4>>2];R[i+4>>2]=U(W*Z)+U(y*v);R[i>>2]=U(W*s)+U(x*v);h=h+2|0;if((a|0)!=(h|0)){continue}break}if(!j){break Za}}a=l+T(h,12)|0;W=R[a>>2];v=R[a+4>>2];R[a+4>>2]=U(W*Z)+U(y*v);R[a>>2]=U(W*s)+U(x*v)}if(!(n|K)){break Va}a=N[p+56>>2];if(!a){break Va}l=N[p+60>>2];h=0;if((a|0)!=1){j=a&1;a=a&-2;while(1){i=l+T(h,12)|0;R[i>>2]=R[i>>2]+J;R[i+4>>2]=R[i+4>>2]+D;i=l+T(h|1,12)|0;R[i>>2]=R[i>>2]+J;R[i+4>>2]=R[i+4>>2]+D;h=h+2|0;if((a|0)!=(h|0)){continue}break}if(!j){break Va}}a=l+T(h,12)|0;R[a>>2]=R[a>>2]+J;R[a+4>>2]=R[a+4>>2]+D}_a:{if((t?N[d+4>>2]:w)>>>0<=aa>>>0){N[147456]=0;N[147457]=0;N[147458]=0;h=589824;Z=U(0);s=U(0);break _a}h=T(aa,12)+(t?N[d+8>>2]:E)|0;Z=R[h+4>>2];s=R[h>>2]}$a:{if(s==U(0)&Z==U(0)){break $a}a=N[p+56>>2];if(!a){break $a}K=N[p+60>>2];i=0;if((a|0)!=1){j=a&1;a=a&-2;while(1){l=K+T(i,12)|0;R[l>>2]=R[h>>2]+R[l>>2];R[l+4>>2]=R[h+4>>2]+R[l+4>>2];l=K+T(i|1,12)|0;R[l>>2]=R[h>>2]+R[l>>2];R[l+4>>2]=R[h+4>>2]+R[l+4>>2];i=i+2|0;if((a|0)!=(i|0)){continue}break}if(!j){break $a}Z=R[h+4>>2];s=R[h>>2]}a=K+T(i,12)|0;R[a>>2]=s+R[a>>2];R[a+4>>2]=Z+R[a+4>>2]}a=O[k|0]|O[k+1|0]<<8;ab:{if(a&512){n=N[p+56>>2];l=N[p+60>>2];break ab}l=N[p+60>>2];n=N[p+56>>2];bb:{if(a&256){a=O[k+6|0]|O[k+7|0]<<8;i=(a<<8|a>>>8)&65535;a=O[k+4|0]|O[k+5|0]<<8;a=(a<<8|a>>>8)&65535;break bb}i=O[k+5|0];a=O[k+4|0]}if(a>>>0>=Q[d+4>>2]|i>>>0>=n>>>0){break ab}h=N[d+8>>2]+T(a,12)|0;a=T(i,12)+l|0;v=U(R[h+4>>2]-R[a+4>>2]);s=U(R[h>>2]-R[a>>2]);if(s==U(0)&v==U(0)){break ab}h=0;if((n|0)!=1){j=n&1;a=n&-2;while(1){i=T(h,12)+l|0;R[i>>2]=s+R[i>>2];R[i+4>>2]=v+R[i+4>>2];i=T(h|1,12)+l|0;R[i>>2]=s+R[i>>2];R[i+4>>2]=v+R[i+4>>2];h=h+2|0;if((a|0)!=(h|0)){continue}break}if(!j){break ab}}a=T(h,12)+l|0;R[a>>2]=s+R[a>>2];R[a+4>>2]=v+R[a+4>>2]}a=N[d+4>>2];j=N[d>>2];cb:{if((j|0)<0){h=a;break cb}h=n-4|0;K=h>>>0>n>>>0?n:h;h=K+a|0;h=(h|0)>0?h:0;db:{if(j>>>0>>0){while(1){j=((j>>>1|0)+j|0)+8|0;if(j>>>0<=h>>>0){continue}break}eb:{if(j>>>0<=357913941){i=$a(N[d+8>>2],T(j,12));if(i){break eb}}N[d>>2]=-1;break db}N[d>>2]=j;N[d+8>>2]=i}N[d+4>>2]=h;j=T(K,12);if(!j){break cb}B(N[d+8>>2]+T(a,12)|0,l,j)}h=N[d+4>>2]}if(h>>>0>1e4){break Ga}if(!(O[k+1|0]&32)){break Ha}k=k+r|0;if(X>>>0>k>>>0|k>>>0>ka>>>0){break Ha}a=ka-k|0;if(a>>>0<4){break Ha}aa=(h>>>0<10001)+aa|0;j=O[k|0]|O[k+1|0]<<8;i=j<<8|j>>>8;r=i&65535;K=r&1?8:6;j=2;fb:{if(i&8){break fb}j=4;if(r&64){break fb}j=r>>>4&8}r=K+j|0;if(a>>>0>=r>>>0){continue}break}}i=N[d>>2];gb:{if((i|0)<0){break gb}a=h+ea|0;b=(a|0)>0?a:0;if(b>>>0>i>>>0){while(1){i=((i>>>1|0)+i|0)+8|0;if(b>>>0>=i>>>0){continue}break}hb:{if(i>>>0<=357913941){a=$a(N[d+8>>2],T(i,12));if(a){break hb}}N[d>>2]=-1;break gb}N[d>>2]=i;N[d+8>>2]=a}N[d+4>>2]=b;if(!ea){break gb}B(N[d+8>>2]+T(h,12)|0,da,T(ea,12))}_a(l);break f}_a(N[p+60>>2])}H=0;break a}h=N[d>>2];if((h|0)<0){break f}b=N[d+4>>2];a=b+ea|0;c=(a|0)>0?a:0;if(c>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(c>>>0>=h>>>0){continue}break}ib:{if(h>>>0<=357913941){a=$a(N[d+8>>2],T(h,12));if(a){break ib}}N[d>>2]=-1;break f}N[d>>2]=h;N[d+8>>2]=a}N[d+4>>2]=c;if(!ea){if(g){break b}break e}B(N[d+8>>2]+T(b,12)|0,da,T(ea,12));if(g){break b}break d}if(g){break b}if(ea){break d}}N[147456]=0;N[147457]=0;N[147458]=0;s=U(0);break c}s=R[da>>2]}if(s==U(0)){break b}a=N[d+4>>2];if(!a){break b}e=N[d+8>>2];h=0;if((a|0)!=1){b=a&1;a=a&-2;while(1){c=e+T(h,12)|0;R[c>>2]=R[c>>2]-s;R[c+4>>2]=R[c+4>>2]+U(0);c=e+T(h|1,12)|0;R[c>>2]=R[c>>2]-s;R[c+4>>2]=R[c+4>>2]+U(0);h=h+2|0;if((a|0)!=(h|0)){continue}break}if(!b){break b}}a=e+T(h,12)|0;R[a>>2]=R[a>>2]-s;R[a+4>>2]=R[a+4>>2]+U(0)}H=N[d>>2]>=0}_a(E)}La=p- -64|0;return H}function co(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,I=0,J=0,K=0,P=0,R=0,V=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;Y=La-16|0;La=Y;N[Y+12>>2]=b;e=La-144|0;La=e;G(e,0,144);N[e+76>>2]=-1;N[e+44>>2]=a;N[e+32>>2]=383;N[e+84>>2]=a;V=b;a=0;q=La-304|0;La=q;a:{b:{c:{d:{if(N[e+4>>2]){break d}ni(e);if(N[e+4>>2]){break d}break c}b=17004;r=37;e:{f:{g:{h:{while(1){i:{d=r&255;j:{if((d|0)==32|d-9>>>0<5){while(1){r=b;b=b+1|0;d=O[r+1|0];if((d|0)==32|d-9>>>0<5){continue}break}bd(e,0,0);while(1){b=N[e+4>>2];k:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break k}b=Cb(e)}if((b|0)==32|b-9>>>0<5){continue}break}b=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){b=b-1|0;N[e+4>>2]=b}b=b-N[e+44>>2]|0;d=b;i=F+N[e+124>>2]|0;f=b>>31;b=y+N[e+120>>2]|0;i=f+(b>>>0>>0?i+1|0:i)|0;y=b+d|0;F=y>>>0>>0?i+1|0:i;break j}l:{m:{n:{if(O[b|0]==37){d=O[b+1|0];if((d|0)==42){break n}if((d|0)!=37){break m}}bd(e,0,0);o:{if(O[b|0]==37){while(1){d=N[e+4>>2];p:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;r=O[d|0];break p}r=Cb(e)}if((r|0)==32|r-9>>>0<5){continue}break}b=b+1|0;break o}d=N[e+4>>2];if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;r=O[d|0];break o}r=Cb(e)}if(O[b|0]!=(r|0)){b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}if((r|0)>=0){break a}l=0;if(X){break a}break c}d=N[e+4>>2]-N[e+44>>2]|0;g=d;i=F+N[e+124>>2]|0;f=d>>31;d=y+N[e+120>>2]|0;f=f+(d>>>0>>0?i+1|0:i)|0;y=d+g|0;F=y>>>0>>0?f+1|0:f;r=b;break j}w=0;b=b+2|0;break l}d=d-48|0;if(!(O[b+2|0]!=36|d>>>0>=10)){g=La-16|0;N[g+12>>2]=V;d=(d>>>0>1?(d<<2)-4|0:0)+V|0;N[g+8>>2]=d+4;w=N[d>>2];b=b+3|0;break l}w=N[V>>2];V=V+4|0;b=b+1|0}f=0;while(1){j=O[b|0];if(j-48>>>0<10){b=b+1|0;f=(T(f,10)+j|0)-48|0;continue}break}I=0;if((j|0)==109){E=0;I=(w|0)!=0;j=O[b+1|0];b=b+1|0;a=0}r=b+1|0;s=3;l=I;q:{r:{switch((j&255)-65|0){case 39:d=b+2|0;b=O[b+1|0]==104;r=b?d:r;s=b?-2:-1;break q;case 43:d=b+2|0;b=O[b+1|0]==108;r=b?d:r;s=b?3:1;break q;case 51:case 57:s=1;break q;case 11:s=2;break q;case 41:break q;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break r;default:break e}}s=0;r=b}b=O[r|0];d=(b&47)==3;P=d?1:s;m=d?b|32:b;s:{if((m|0)==91){break s}t:{if((m|0)!=110){if((m|0)!=99){break t}f=(f|0)<=1?1:f;break s}Rn(w,P,y,F);break j}bd(e,0,0);while(1){b=N[e+4>>2];u:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break u}b=Cb(e)}if((b|0)==32|b-9>>>0<5){continue}break}b=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){b=b-1|0;N[e+4>>2]=b}b=b-N[e+44>>2]|0;d=b;i=F+N[e+124>>2]|0;j=b>>31;b=y+N[e+120>>2]|0;h=j+(b>>>0>>0?i+1|0:i)|0;y=b+d|0;F=y>>>0>>0?h+1|0:h}h=f;n=f>>31;bd(e,f,n);b=N[e+4>>2];v:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;break v}if((Cb(e)|0)<0){break f}}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}b=16;w:{x:{y:{z:{A:{switch(m-88|0){default:b=m-65|0;if(b>>>0>6|!(1<>>0<=2){b=P<<2;J=N[b+583548>>2];K=N[b+583536>>2];while(1){b=N[e+4>>2];C:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;f=O[b|0];break C}f=Cb(e)}if((f|0)==32|f-9>>>0<5){continue}break}j=1;D:{E:{switch(f-43|0){case 0:case 2:break E;default:break D}}j=(f|0)==45?-1:1;b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;f=O[b|0];break D}f=Cb(e)}F:{G:{while(1){if(L[m+7858|0]==(f|32)){H:{if(m>>>0>6){break H}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;f=O[b|0];break H}f=Cb(e)}m=m+1|0;if((m|0)!=8){continue}break G}break}if((m|0)!=3){if((m|0)==8){break G}break F}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}}k=La-16|0;La=k;n=(H(U(U(j|0)*U(Infinity))),v(2));b=n&2147483647;I:{if(b-8388608>>>0<=2130706431){f=(b>>>7|0)+1065353216|0;g=b<<25;break I}f=n>>>7|2147418112;g=n<<25;if(b>>>0>=2139095040){break I}f=0;g=0;if(!b){break I}f=b;b=W(b);fc(k,f,0,0,0,b+81|0);d=N[k>>2];h=N[k+4>>2];f=N[k+12>>2]^65536|16265-b<<16;g=N[k+8>>2]}N[t>>2]=d;N[t+4>>2]=h;N[t+8>>2]=g;N[t+12>>2]=n&-2147483648|f;La=k+16|0;d=N[t+8>>2];h=N[t+12>>2];g=N[t>>2];i=N[t+4>>2];break B}J:{K:{L:{if(m){break L}m=0;while(1){if(L[m+13118|0]!=(f|32)){break L}M:{if(m>>>0>1){break M}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;f=O[b|0];break M}f=Cb(e)}m=m+1|0;if((m|0)!=3){continue}break}break K}N:{switch(m|0){case 0:O:{if((f|0)!=48){break O}b=N[e+4>>2];P:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break P}b=Cb(e)}if((b&-33)==88){c=La-432|0;La=c;b=N[e+4>>2];Q:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;m=O[b|0];break Q}m=Cb(e)}R:{S:{while(1){if((m|0)!=48){T:{if((m|0)!=46){break R}b=N[e+4>>2];if((b|0)==N[e+104>>2]){break T}N[e+4>>2]=b+1;m=O[b|0];break S}}else{b=N[e+4>>2];if((b|0)!=N[e+104>>2]){o=1;N[e+4>>2]=b+1;m=O[b|0]}else{o=1;m=Cb(e)}continue}break}m=Cb(e)}s=1;if((m|0)!=48){break R}while(1){b=n;n=b-1|0;u=u-!b|0;b=N[e+4>>2];U:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;m=O[b|0];break U}m=Cb(e)}if((m|0)==48){continue}break}o=1}i=1073676288;V:{while(1){W:{b=m|32;X:{Y:{f=m-48|0;if(f>>>0<10){break Y}Z=(m|0)!=46;if(Z&b-97>>>0>5){break V}if(Z){break Y}if(s){break W}s=1;n=d;u=h;break X}b=(m|0)>57?b-87|0:f;Z:{if((h|0)<=0&d>>>0<=7|(h|0)<0){l=b+(l<<4)|0;break Z}if(!h&d>>>0<=28){tc(c+48|0,b);Gb(c+32|0,C,D,g,i,0,0,0,1073414144);C=N[c+32>>2];D=N[c+36>>2];g=N[c+40>>2];i=N[c+44>>2];Gb(c+16|0,N[c+48>>2],N[c+52>>2],N[c+56>>2],N[c+60>>2],C,D,g,i);oc(c,N[c+16>>2],N[c+20>>2],N[c+24>>2],N[c+28>>2],k,p,x,A);x=N[c+8>>2];A=N[c+12>>2];k=N[c>>2];p=N[c+4>>2];break Z}if(B|!b){break Z}Gb(c+80|0,C,D,g,i,0,0,0,1073610752);oc(c- -64|0,N[c+80>>2],N[c+84>>2],N[c+88>>2],N[c+92>>2],k,p,x,A);x=N[c+72>>2];A=N[c+76>>2];B=1;k=N[c+64>>2];p=N[c+68>>2]}d=d+1|0;h=d?h:h+1|0;o=1}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;m=O[b|0]}else{m=Cb(e)}continue}break}m=46}_:{if(!o){b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}bd(e,0,0);ad(c+96|0,+(j|0)*0);k=N[c+96>>2];p=N[c+100>>2];d=N[c+108>>2];b=N[c+104>>2];break _}if((h|0)<=0&d>>>0<=7|(h|0)<0){g=d;i=h;while(1){l=l<<4;g=g+1|0;i=g?i:i+1|0;if((g|0)!=8|i){continue}break}}$:{if((m&-33)==80){g=Yn(e);b=Pa;i=b;if(g|(b|0)!=-2147483648){break $}k=0;p=0;bd(e,0,0);d=0;b=0;break _}g=0;i=0;if(N[e+116>>2]<0){break $}N[e+4>>2]=N[e+4>>2]-1}if(!l){ad(c+112|0,+(j|0)*0);k=N[c+112>>2];p=N[c+116>>2];d=N[c+124>>2];b=N[c+120>>2];break _}b=s?n:d;f=(s?u:h)<<2|b>>>30;b=g+(b<<2)|0;i=f+i|0;i=b>>>0>>0?i+1|0:i;d=b-32|0;h=i-(b>>>0<32)|0;b=h;if(d>>>0>0-J>>>0&(b|0)>=0|(b|0)>0){N[147316]=68;tc(c+160|0,j);Gb(c+144|0,N[c+160>>2],N[c+164>>2],N[c+168>>2],N[c+172>>2],-1,-1,-1,2147418111);Gb(c+128|0,N[c+144>>2],N[c+148>>2],N[c+152>>2],N[c+156>>2],-1,-1,-1,2147418111);k=N[c+128>>2];p=N[c+132>>2];d=N[c+140>>2];b=N[c+136>>2];break _}b=J-226|0;g=b>>31;if((h|0)>=(g|0)&b>>>0<=d>>>0|(g|0)<(h|0)){if((l|0)>=0){while(1){oc(c+416|0,k,p,x,A,0,0,0,-1073807360);b=yn(k,p,x,A,1073610752);g=(b|0)>=0;b=g;oc(c+400|0,k,p,x,A,b?N[c+416>>2]:k,b?N[c+420>>2]:p,b?N[c+424>>2]:x,b?N[c+428>>2]:A);b=d;d=b-1|0;h=h-!b|0;x=N[c+408>>2];A=N[c+412>>2];k=N[c+400>>2];p=N[c+404>>2];l=g|l<<1;if((l|0)>=0){continue}break}}i=h-((J>>31)+(d>>>0>>0)|0)|0;b=(d-J|0)+32|0;i=b>>>0<32?i+1|0:i;g=b>>>0>>0&(i|0)<=0|(i|0)<0?(b|0)>0?b:0:K;aa:{if((g|0)>=113){tc(c+384|0,j);n=N[c+392>>2];u=N[c+396>>2];C=N[c+384>>2];D=N[c+388>>2];h=0;b=0;break aa}ad(c+352|0,Fd(1,144-g|0));tc(c+336|0,j);C=N[c+336>>2];D=N[c+340>>2];n=N[c+344>>2];u=N[c+348>>2];_n(c+368|0,N[c+352>>2],N[c+356>>2],N[c+360>>2],N[c+364>>2],C,D,n,u);z=N[c+376>>2];R=N[c+380>>2];h=N[c+372>>2];b=N[c+368>>2]}f=!(l&1)&((Rd(k,p,x,A,0,0,0,0)|0)!=0&(g|0)<32);ne(c+320|0,f+l|0);Gb(c+304|0,C,D,n,u,N[c+320>>2],N[c+324>>2],N[c+328>>2],N[c+332>>2]);g=b;oc(c+272|0,N[c+304>>2],N[c+308>>2],N[c+312>>2],N[c+316>>2],b,h,z,R);b=f;Gb(c+288|0,C,D,n,u,b?0:k,b?0:p,b?0:x,b?0:A);oc(c+256|0,N[c+288>>2],N[c+292>>2],N[c+296>>2],N[c+300>>2],N[c+272>>2],N[c+276>>2],N[c+280>>2],N[c+284>>2]);Oh(c+240|0,N[c+256>>2],N[c+260>>2],N[c+264>>2],N[c+268>>2],g,h,z,R);b=N[c+240>>2];f=N[c+244>>2];g=N[c+248>>2];h=N[c+252>>2];if(!Rd(b,f,g,h,0,0,0,0)){N[147316]=68}Zn(c+224|0,b,f,g,h,d);k=N[c+224>>2];p=N[c+228>>2];d=N[c+236>>2];b=N[c+232>>2];break _}N[147316]=68;tc(c+208|0,j);Gb(c+192|0,N[c+208>>2],N[c+212>>2],N[c+216>>2],N[c+220>>2],0,0,0,65536);Gb(c+176|0,N[c+192>>2],N[c+196>>2],N[c+200>>2],N[c+204>>2],0,0,0,65536);k=N[c+176>>2];p=N[c+180>>2];d=N[c+188>>2];b=N[c+184>>2]}N[t+16>>2]=k;N[t+20>>2]=p;N[t+24>>2]=b;N[t+28>>2]=d;La=c+432|0;d=N[t+24>>2];h=N[t+28>>2];g=N[t+16>>2];i=N[t+20>>2];break B}if(N[e+116>>2]<0){break O}N[e+4>>2]=N[e+4>>2]-1}l=f;z=j;j=0;c=La-8976|0;La=c;m=0-J|0;R=m-K|0;ba:{ca:{while(1){if((l|0)!=48){da:{if((l|0)!=46){break ba}b=N[e+4>>2];if((b|0)==N[e+104>>2]){break da}N[e+4>>2]=b+1;l=O[b|0];break ca}}else{b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;l=O[b|0]}else{l=Cb(e)}j=1;continue}break}l=Cb(e)}B=1;if((l|0)!=48){break ba}while(1){b=d;d=b-1|0;h=h-!b|0;b=N[e+4>>2];ea:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;l=O[b|0];break ea}l=Cb(e)}if((l|0)==48){continue}break}j=1}N[c+784>>2]=0;fa:{ga:{b=(l|0)==46;f=l-48|0;ha:{ia:{ja:{if(b|f>>>0<=9){while(1){ka:{if(b&1){if(!B){d=g;h=i;B=1;break ka}b=!j;break ja}g=g+1|0;i=g?i:i+1|0;if((o|0)<=2044){s=(l|0)==48?s:g;b=(c+784|0)+(o<<2)|0;if(k){f=(T(N[b>>2],10)+l|0)-48|0}N[b>>2]=f;j=1;f=k+1|0;b=(f|0)==9;k=b?0:f;o=b+o|0;break ka}if((l|0)==48){break ka}N[c+8960>>2]=N[c+8960>>2]|1;s=18396}b=N[e+4>>2];la:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;l=O[b|0];break la}l=Cb(e)}b=(l|0)==46;f=l-48|0;if(b|f>>>0<10){continue}break}}d=B?d:g;h=B?h:i;if(!(!j|(l&-33)!=69)){b=Yn(e);f=Pa;if(!b&(f|0)==-2147483648){break ha}h=f+h|0;d=b+d|0;h=d>>>0>>0?h+1|0:h;break ga}b=!j;if((l|0)<0){break ia}}if(N[e+116>>2]<0){break ia}N[e+4>>2]=N[e+4>>2]-1}if(!b){break ga}N[147316]=28}g=0;i=0;bd(e,0,0);d=0;b=0;break fa}b=N[c+784>>2];if(!b){ad(c,+(z|0)*0);g=N[c>>2];i=N[c+4>>2];d=N[c+12>>2];b=N[c+8>>2];break fa}if(!(g>>>0>9&(i|0)>=0|(i|0)>0|((d|0)!=(g|0)|(h|0)!=(i|0))|(b>>>K|0?(K|0)<=30:0))){tc(c+48|0,z);ne(c+32|0,b);Gb(c+16|0,N[c+48>>2],N[c+52>>2],N[c+56>>2],N[c+60>>2],N[c+32>>2],N[c+36>>2],N[c+40>>2],N[c+44>>2]);g=N[c+16>>2];i=N[c+20>>2];d=N[c+28>>2];b=N[c+24>>2];break fa}if(d>>>0>m>>>1>>>0&(h|0)>=0|(h|0)>0){N[147316]=68;tc(c+96|0,z);Gb(c+80|0,N[c+96>>2],N[c+100>>2],N[c+104>>2],N[c+108>>2],-1,-1,-1,2147418111);Gb(c- -64|0,N[c+80>>2],N[c+84>>2],N[c+88>>2],N[c+92>>2],-1,-1,-1,2147418111);g=N[c+64>>2];i=N[c+68>>2];d=N[c+76>>2];b=N[c+72>>2];break fa}b=J-226|0;f=d>>>0>>0;b=b>>31;if(f&(h|0)<=(b|0)|(b|0)>(h|0)){N[147316]=68;tc(c+144|0,z);Gb(c+128|0,N[c+144>>2],N[c+148>>2],N[c+152>>2],N[c+156>>2],0,0,0,65536);Gb(c+112|0,N[c+128>>2],N[c+132>>2],N[c+136>>2],N[c+140>>2],0,0,0,65536);g=N[c+112>>2];i=N[c+116>>2];d=N[c+124>>2];b=N[c+120>>2];break fa}if(k){if((k|0)<=8){b=(c+784|0)+(o<<2)|0;m=N[b>>2];while(1){m=T(m,10);k=k+1|0;if((k|0)!=9){continue}break}N[b>>2]=m}o=o+1|0}k=d;ma:{if((d|0)<(s|0)|(s|0)>=9|(d|0)>17){break ma}if((d|0)==9){tc(c+192|0,z);ne(c+176|0,N[c+784>>2]);Gb(c+160|0,N[c+192>>2],N[c+196>>2],N[c+200>>2],N[c+204>>2],N[c+176>>2],N[c+180>>2],N[c+184>>2],N[c+188>>2]);g=N[c+160>>2];i=N[c+164>>2];d=N[c+172>>2];b=N[c+168>>2];break fa}if((k|0)<=8){tc(c+272|0,z);ne(c+256|0,N[c+784>>2]);Gb(c+240|0,N[c+272>>2],N[c+276>>2],N[c+280>>2],N[c+284>>2],N[c+256>>2],N[c+260>>2],N[c+264>>2],N[c+268>>2]);tc(c+224|0,N[(0-k<<2)+583536>>2]);rn(c+208|0,N[c+240>>2],N[c+244>>2],N[c+248>>2],N[c+252>>2],N[c+224>>2],N[c+228>>2],N[c+232>>2],N[c+236>>2]);g=N[c+208>>2];i=N[c+212>>2];d=N[c+220>>2];b=N[c+216>>2];break fa}b=(T(k,-3)+K|0)+27|0;d=N[c+784>>2];if(d>>>b|0?(b|0)<=30:0){break ma}tc(c+352|0,z);ne(c+336|0,d);Gb(c+320|0,N[c+352>>2],N[c+356>>2],N[c+360>>2],N[c+364>>2],N[c+336>>2],N[c+340>>2],N[c+344>>2],N[c+348>>2]);tc(c+304|0,N[(k<<2)+583464>>2]);Gb(c+288|0,N[c+320>>2],N[c+324>>2],N[c+328>>2],N[c+332>>2],N[c+304>>2],N[c+308>>2],N[c+312>>2],N[c+316>>2]);g=N[c+288>>2];i=N[c+292>>2];d=N[c+300>>2];b=N[c+296>>2];break fa}while(1){b=o;o=b-1|0;if(!N[(c+784|0)+(o<<2)>>2]){continue}break}s=0;d=(k|0)%9|0;na:{if(!d){f=0;break na}f=0;d=(k|0)<0?d+9|0:d;oa:{if(!b){b=0;break oa}g=N[(0-d<<2)+583536>>2];j=1e9/(g|0)|0;l=0;m=0;while(1){h=l;i=c+784|0;l=i+(m<<2)|0;o=N[l>>2];p=(o>>>0)/(g>>>0)|0;h=h+p|0;N[l>>2]=h;h=!h&(f|0)==(m|0);f=h?f+1&2047:f;k=h?k-9|0:k;l=T(j,o-T(g,p)|0);m=m+1|0;if((m|0)!=(b|0)){continue}break}if(!l){break oa}N[i+(b<<2)>>2]=l;b=b+1|0}k=(k-d|0)+9|0}while(1){m=(c+784|0)+(f<<2)|0;pa:{while(1){qa:{if((k|0)<36){break qa}if((k|0)!=36){break pa}if(Q[m>>2]<=10384592){break qa}k=36;break pa}o=b+2047|0;j=0;while(1){g=b;l=o&2047;o=(c+784|0)+(l<<2)|0;b=N[o>>2];i=b>>>3|0;b=b<<29;d=b+j|0;h=b>>>0>d>>>0?i+1|0:i;if(!h&d>>>0<1000000001){j=0}else{j=VE(d,h,1e9,0);b=TE(j,Pa,-1e9,-1);d=b+d|0}N[o>>2]=d;b=(f|0)==(l|0)?g:d?g:l;d=g-1&2047;b=(d|0)!=(l|0)?g:b;o=l-1|0;if((f|0)!=(l|0)){continue}break}s=s-29|0;b=g;if(!j){continue}break}f=f-1&2047;if((f|0)==(b|0)){l=(b+2046&2047)<<2;b=c+784|0;g=l+b|0;N[g>>2]=N[g>>2]|N[b+(d<<2)>>2];b=d}k=k+9|0;N[(c+784|0)+(f<<2)>>2]=j;continue}break}ra:{sa:while(1){d=b+1&2047;h=(c+784|0)+((b-1&2047)<<2)|0;while(1){g=(k|0)>45?9:1;ta:{while(1){j=f;m=0;ua:{while(1){va:{f=j+m&2047;if((f|0)==(b|0)){break va}f=N[(c+784|0)+(f<<2)>>2];l=N[(m<<2)+583488>>2];if(f>>>0>>0){break va}if(f>>>0>l>>>0){break ua}m=m+1|0;if((m|0)!=4){continue}}break}if((k|0)!=36){break ua}m=0;d=0;h=0;g=0;i=0;while(1){f=j+m&2047;if((f|0)==(b|0)){b=b+1&2047;N[(c+(b<<2)|0)+780>>2]=0}ne(c+768|0,N[(c+784|0)+(f<<2)>>2]);Gb(c+752|0,d,h,g,i,0,0,1342177280,1075633366);oc(c+736|0,N[c+752>>2],N[c+756>>2],N[c+760>>2],N[c+764>>2],N[c+768>>2],N[c+772>>2],N[c+776>>2],N[c+780>>2]);g=N[c+744>>2];i=N[c+748>>2];d=N[c+736>>2];h=N[c+740>>2];m=m+1|0;if((m|0)!=4){continue}break}tc(c+720|0,z);Gb(c+704|0,d,h,g,i,N[c+720>>2],N[c+724>>2],N[c+728>>2],N[c+732>>2]);g=N[c+712>>2];i=N[c+716>>2];d=0;h=0;k=N[c+704>>2];p=N[c+708>>2];B=s+113|0;l=B-J|0;m=(l|0)<(K|0);f=m?(l|0)>0?l:0:K;if((f|0)<=112){break ta}break ra}s=g+s|0;f=b;if((b|0)==(j|0)){continue}break}i=1e9>>>g|0;o=-1<>2];l=l+(B>>>g|0)|0;N[m>>2]=l;l=!l&(f|0)==(j|0);f=l?f+1&2047:f;k=l?k-9|0:k;m=T(i,o&B);j=j+1&2047;if((j|0)!=(b|0)){continue}break}if(!m){continue}if((d|0)!=(f|0)){N[p+(b<<2)>>2]=m;b=d;continue sa}N[h>>2]=N[h>>2]|1;continue}break}break}ad(c+656|0,Fd(1,225-f|0));_n(c+688|0,N[c+656>>2],N[c+660>>2],N[c+664>>2],N[c+668>>2],k,p,g,i);x=N[c+696>>2];A=N[c+700>>2];C=N[c+688>>2];D=N[c+692>>2];ad(c+640|0,Fd(1,113-f|0));hp(c+672|0,k,p,g,i,N[c+640>>2],N[c+644>>2],N[c+648>>2],N[c+652>>2]);d=N[c+672>>2];h=N[c+676>>2];n=N[c+680>>2];u=N[c+684>>2];Oh(c+624|0,k,p,g,i,d,h,n,u);oc(c+608|0,C,D,x,A,N[c+624>>2],N[c+628>>2],N[c+632>>2],N[c+636>>2]);g=N[c+616>>2];i=N[c+620>>2];k=N[c+608>>2];p=N[c+612>>2]}o=j+4&2047;wa:{if((o|0)==(b|0)){break wa}o=N[(c+784|0)+(o<<2)>>2];xa:{if(o>>>0<=499999999){if(!o&(j+5&2047)==(b|0)){break xa}ad(c+496|0,+(z|0)*.25);oc(c+480|0,d,h,n,u,N[c+496>>2],N[c+500>>2],N[c+504>>2],N[c+508>>2]);n=N[c+488>>2];u=N[c+492>>2];d=N[c+480>>2];h=N[c+484>>2];break xa}if((o|0)!=5e8){ad(c+592|0,+(z|0)*.75);oc(c+576|0,d,h,n,u,N[c+592>>2],N[c+596>>2],N[c+600>>2],N[c+604>>2]);n=N[c+584>>2];u=N[c+588>>2];d=N[c+576>>2];h=N[c+580>>2];break xa}_=+(z|0);if((j+5&2047)==(b|0)){ad(c+528|0,_*.5);oc(c+512|0,d,h,n,u,N[c+528>>2],N[c+532>>2],N[c+536>>2],N[c+540>>2]);n=N[c+520>>2];u=N[c+524>>2];d=N[c+512>>2];h=N[c+516>>2];break xa}ad(c+560|0,_*.75);oc(c+544|0,d,h,n,u,N[c+560>>2],N[c+564>>2],N[c+568>>2],N[c+572>>2]);n=N[c+552>>2];u=N[c+556>>2];d=N[c+544>>2];h=N[c+548>>2]}if((f|0)>111){break wa}hp(c+464|0,d,h,n,u,0,0,0,1073676288);if(Rd(N[c+464>>2],N[c+468>>2],N[c+472>>2],N[c+476>>2],0,0,0,0)){break wa}oc(c+448|0,d,h,n,u,0,0,0,1073676288);n=N[c+456>>2];u=N[c+460>>2];d=N[c+448>>2];h=N[c+452>>2]}oc(c+432|0,k,p,g,i,d,h,n,u);Oh(c+416|0,N[c+432>>2],N[c+436>>2],N[c+440>>2],N[c+444>>2],C,D,x,A);g=N[c+424>>2];i=N[c+428>>2];k=N[c+416>>2];p=N[c+420>>2];ya:{if((R-2|0)>=(B&2147483647)){break ya}N[c+408>>2]=g;N[c+412>>2]=i&2147483647;N[c+400>>2]=k;N[c+404>>2]=p;Gb(c+384|0,k,p,g,i,0,0,0,1073610752);j=yn(N[c+400>>2],N[c+404>>2],N[c+408>>2],N[c+412>>2],1081081856);b=(j|0)>=0;g=b?N[c+392>>2]:g;i=b?N[c+396>>2]:i;k=b?N[c+384>>2]:k;p=b?N[c+388>>2]:p;s=b+s|0;if(!(m&((f|0)!=(l|0)|(j|0)<0)&(Rd(d,h,n,u,0,0,0,0)|0)!=0)&(s+110|0)<=(R|0)){break ya}N[147316]=68}Zn(c+368|0,k,p,g,i,s);g=N[c+368>>2];i=N[c+372>>2];d=N[c+380>>2];b=N[c+376>>2]}N[t+40>>2]=b;N[t+44>>2]=d;N[t+32>>2]=g;N[t+36>>2]=i;La=c+8976|0;d=N[t+40>>2];h=N[t+44>>2];g=N[t+32>>2];i=N[t+36>>2];break B;case 3:break K;default:break N}}break J}za:{b=N[e+4>>2];Aa:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break Aa}b=Cb(e)}if((b|0)==40){m=1;break za}h=2147450880;if(N[e+116>>2]<0){break B}N[e+4>>2]=N[e+4>>2]-1;break B}while(1){Ba:{b=N[e+4>>2];Ca:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break Ca}b=Cb(e)}if(!(b-48>>>0<10|b-65>>>0<26|(b|0)==95)){if(b-97>>>0>=26){break Ba}}m=m+1|0;continue}break}h=2147450880;if((b|0)==41){break B}}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}N[147316]=28;bd(e,0,0)}h=0}N[q+8>>2]=g;N[q+12>>2]=i;N[q+16>>2]=d;N[q+20>>2]=h;La=t+48|0;b=N[e+4>>2]-N[e+44>>2]|0;if(N[e+120>>2]!=(0-b|0)|N[e+124>>2]!=(0-((b>>31)+((b|0)!=0)|0)|0)){break y}break g;case 3:case 11:case 27:if((m|16)==115){G(q+32|0,-1,257);L[q+32|0]=0;if((m|0)!=115){break x}L[q+65|0]=0;L[q+46|0]=0;M[q+42>>1]=0;M[q+44>>1]=0;break x}d=O[r+1|0];g=(d|0)==94;G(q+32|0,g<<24>>24,257);L[q+32|0]=0;b=g?r+2|0:r+1|0;Da:{Ea:{Fa:{g=O[(g?2:1)+r|0];if((g|0)!=45){if((g|0)==93){break Fa}s=(d|0)!=94;break Da}s=(d|0)!=94;L[q+78|0]=s;break Ea}s=(d|0)!=94;L[q+126|0]=s}b=b+1|0}r=b;while(1){j=O[r|0];Ga:{if((j|0)!=45){if(!j){break f}if((j|0)==93){break x}break Ga}j=45;d=O[r+1|0];if(!d|(d|0)==93){break Ga}g=r+1|0;b=O[r-1|0];Ha:{if(d>>>0<=b>>>0){j=d;break Ha}while(1){b=b+1|0;L[b+(q+32|0)|0]=s;j=O[g|0];if(j>>>0>b>>>0){continue}break}}r=g}L[(j+q|0)+33|0]=s;r=r+1|0;continue};case 23:b=8;break z;case 12:case 29:b=10;break z;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break w;case 0:case 24:case 32:break z;case 17:break A}}b=0}d=0;h=0;j=0;l=0;o=0;x=La-16|0;La=x;Ia:{if((b|0)==1){N[147316]=28;break Ia}while(1){g=N[e+4>>2];Ja:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Ja}f=Cb(e)}if((f|0)==32|f-9>>>0<5){continue}break}Ka:{La:{switch(f-43|0){case 0:case 2:break La;default:break Ka}}o=(f|0)==45?-1:0;g=N[e+4>>2];if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Ka}f=Cb(e)}Ma:{Na:{Oa:{Pa:{if(!((b|0)!=0&(b|0)!=16|(f|0)!=48)){g=N[e+4>>2];Qa:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Qa}f=Cb(e)}if((f&-33)==88){b=16;g=N[e+4>>2];Ra:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Ra}f=Cb(e)}if(O[f+584193|0]<16){break Oa}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}bd(e,0,0);break Ia}if(b){break Pa}b=8;break Oa}b=b?b:10;if(b>>>0>O[f+584193|0]){break Pa}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}bd(e,0,0);N[147316]=28;break Ia}if((b|0)!=10){break Oa}j=f-48|0;if(j>>>0<=9){f=0;while(1){f=T(f,10)+j|0;d=f>>>0<429496729;b=N[e+4>>2];Sa:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break Sa}b=Cb(e)}j=b-48|0;if(d&j>>>0<=9){continue}break}d=f}if(j>>>0>9){break Ma}g=TE(d,0,10,0);i=Pa;n=j;while(1){d=g+n|0;h=d>>>0>>0?i+1|0:i;j=(h|0)==429496729&d>>>0<2576980378|h>>>0<429496729;b=N[e+4>>2];Ta:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;f=O[b|0];break Ta}f=Cb(e)}k=f-48|0;if(!(j&k>>>0<=9)){b=10;if(k>>>0<=9){break Na}break Ma}g=TE(d,h,10,0);i=Pa;b=i;n=k;if((b|0)==-1&(k^-1)>>>0>=g>>>0|(b|0)!=-1){continue}break}b=10;break Na}if(b-1&b){l=O[f+584193|0];if(l>>>0>>0){while(1){j=T(b,j)+l|0;g=j>>>0<119304647;d=N[e+4>>2];Ua:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break Ua}f=Cb(e)}l=O[f+584193|0];if(g&l>>>0>>0){continue}break}d=j}if(b>>>0<=l>>>0){break Na}while(1){g=TE(d,h,b,0);i=Pa;n=l&255;if((i|0)==-1&(n^-1)>>>0>>0){break Na}d=g+n|0;h=d>>>0>>0?i+1|0:i;f=N[e+4>>2];Va:{if((f|0)!=N[e+104>>2]){N[e+4>>2]=f+1;f=O[f|0];break Va}f=Cb(e)}l=O[f+584193|0];if(b>>>0<=l>>>0){break Na}hb(x,b,0,0,0,d,h,0,0);if(!(N[x+8>>2]|N[x+12>>2])){continue}break}break Na}g=L[(T(b,23)>>>5&7)+584449|0];j=O[f+584193|0];if(j>>>0>>0){while(1){l=l<>>0<134217728;d=N[e+4>>2];Wa:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break Wa}f=Cb(e)}j=O[f+584193|0];if(i&j>>>0>>0){continue}break}d=l}if(b>>>0<=j>>>0){break Na}n=g&31;if((g&63)>>>0>=32){i=0;k=-1>>>n|0}else{i=-1>>>n|0;k=i|(1<>>0>k>>>0){break Na}while(1){l=j&255;j=d;f=g&31;if((g&63)>>>0>=32){i=d<>>32-f|h<>2];Xa:{if((f|0)!=N[e+104>>2]){N[e+4>>2]=f+1;f=O[f|0];break Xa}f=Cb(e)}j=O[f+584193|0];if(b>>>0<=j>>>0){break Na}if((h|0)==(n|0)&d>>>0<=k>>>0|h>>>0>>0){continue}break}}if(O[f+584193|0]>=b>>>0){break Ma}while(1){d=N[e+4>>2];Ya:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break Ya}f=Cb(e)}if(O[f+584193|0]>>0){continue}break}N[147316]=68;d=-1;h=-1;o=0}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}b=d^o;d=b-o|0;g=o>>31;h=(g^h)-((b>>>0>>0)+g|0)|0}La=x+16|0;b=N[e+4>>2]-N[e+44>>2]|0;if(N[e+120>>2]==(0-b|0)&N[e+124>>2]==(0-((b>>31)+((b|0)!=0)|0)|0)){break g}if(!(!w|(m|0)!=112)){N[w>>2]=d;break w}Rn(w,P,d,h);break w}if(!w){break w}d=N[q+16>>2];g=N[q+20>>2];f=N[q+8>>2];k=N[q+12>>2];Za:{switch(P|0){case 0:n=La-32|0;La=n;b=g&2147483647;h=b;j=b-1065418752|0;b=b-1082064896|0;_a:{if((j|0)==(b|0)&0|b>>>0>j>>>0){h=(g&33554431)<<7|d>>>25;b=0;j=b;d=d&33554431;if(!(!b&(d|0)==16777216?!(f|k):!b&d>>>0<16777216)){b=h+1073741825|0;break _a}b=h+1073741824|0;if(d^16777216|f|(k|j)){break _a}b=(h&1)+b|0;break _a}if(!(!d&(h|0)==2147418112?!(f|k):h>>>0<2147418112)){b=((g&33554431)<<7|d>>>25)&4194303|2143289344;break _a}b=2139095040;if(h>>>0>1082064895){break _a}b=0;h=h>>>16|0;if(h>>>0<16145){break _a}b=g&65535|65536;fc(n+16|0,f,k,d,b,h-16129|0);Pd(n,f,k,d,b,16257-h|0);b=N[n+8>>2];d=b;b=(N[n+12>>2]&33554431)<<7|b>>>25;h=N[n>>2]|(N[n+16>>2]|N[n+24>>2]|(N[n+20>>2]|N[n+28>>2]))!=0;k=N[n+4>>2];f=0;d=d&33554431;if(!(!f&(d|0)==16777216?!(h|k):!f&d>>>0<16777216)){b=b+1|0;break _a}if(d^16777216|h|(f|k)){break _a}b=(b&1)+b|0}La=n+32|0;N[w>>2]=g&-2147483648|b;break w;case 1:$=w,aa=ym(f,k,d,g),S[$>>3]=aa;break w;case 2:break Za;default:break w}}N[w>>2]=f;N[w+4>>2]=k;N[w+8>>2]=d;N[w+12>>2]=g;break w}g=(m|0)!=99;f=g?31:f+1|0;$a:{if((P|0)==1){j=w;if(I){j=kb(f<<2);if(!j){break h}}N[q+296>>2]=0;N[q+300>>2]=0;b=0;while(1){a=j;ab:{while(1){d=N[e+4>>2];bb:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;d=O[d|0];break bb}d=Cb(e)}if(!O[(d+q|0)+33|0]){break ab}L[q+27|0]=d;d=fo(q+28|0,q+27|0,1,q+296|0);if((d|0)==-2){continue}E=0;if((d|0)==-1){break f}if(a){N[(b<<2)+a>>2]=N[q+28>>2];b=b+1|0}if(!I|(b|0)!=(f|0)){continue}break}l=1;b=f;f=b<<1|1;j=$a(a,f<<2);if(j){continue}break e}break}E=0;f=a;if(q+296|0?N[q+296>>2]:0){break f}break $a}if(I){b=0;j=kb(f);if(!j){break h}while(1){a=j;while(1){d=N[e+4>>2];cb:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;d=O[d|0];break cb}d=Cb(e)}if(!O[(d+q|0)+33|0]){f=0;E=a;break $a}L[a+b|0]=d;b=b+1|0;if((f|0)!=(b|0)){continue}break}l=1;b=f;f=b<<1|1;j=$a(a,f);if(j){continue}break}E=a;a=0;break e}b=0;if(w){while(1){a=N[e+4>>2];db:{if((a|0)!=N[e+104>>2]){N[e+4>>2]=a+1;a=O[a|0];break db}a=Cb(e)}if(O[(a+q|0)+33|0]){L[b+w|0]=a;b=b+1|0;continue}else{f=0;a=w;E=a;break $a}}}while(1){a=N[e+4>>2];eb:{if((a|0)!=N[e+104>>2]){N[e+4>>2]=a+1;a=O[a|0];break eb}a=Cb(e)}if(O[(a+q|0)+33|0]){continue}break}a=0;E=0;f=0}j=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){j=j-1|0;N[e+4>>2]=j}k=j-N[e+44>>2]|0;d=k+N[e+120>>2]|0;i=N[e+124>>2]+(k>>31)|0;i=d>>>0>>0?i+1|0:i;if(!(i|d)|!(g|(d|0)==(h|0)&(i|0)==(n|0))){break i}if(I){N[w>>2]=a}fb:{if((m|0)==99){break fb}if(f){N[(b<<2)+f>>2]=0}if(!E){E=0;break fb}L[b+E|0]=0}a=f}b=N[e+4>>2]-N[e+44>>2]|0;d=b;i=F+N[e+124>>2]|0;f=b>>31;b=y+N[e+120>>2]|0;h=f+(b>>>0>>0?i+1|0:i)|0;y=b+d|0;F=y>>>0>>0?h+1|0:h;X=((w|0)!=0)+X|0}b=r+1|0;r=O[r+1|0];if(r){continue}break a}break}a=f;break g}l=1;E=0;a=0;break e}l=I;break b}l=I}if(X){break b}}X=-1}if(!l){break a}_a(E);_a(a)}La=q+304|0;La=e+144|0;La=Y+16|0;return X}function lz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,H=0;d=La-752|0;La=d;G(b,0,80);a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{switch(N[a>>2]){case 0:g=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];m=WE(S[a+16>>3]*64);k:{if(V(m)<2147483648){e=~~m;break k}e=-2147483648}N[d+360>>2]=e;N[d+352>>2]=1;N[d+356>>2]=0;N[d+364>>2]=0;N[d+368>>2]=0;eg(g,d+352|0);e=N[a+8>>2];h=N[(e+(N[a+24>>2]<<2)|0)+68>>2];g=N[a+28>>2];c=N[c+88>>2];if(c>>>0<=2){c=N[(c<<2)+440376>>2]}else{c=2568}if(uc(h,g,c)){a=N[e+20>>2];N[d>>2]=g;mb(a,2,17123,d);break d}l:{m:{if(L[h+12|0]&1|Q[e+12>>2]<56){break m}g=N[h+84>>2];c=N[110093];N[d+360>>2]=N[110092];N[d+364>>2]=c;c=N[110091];N[d+352>>2]=N[110090];N[d+356>>2]=c;c=N[g+112>>2];if(!c){break m}g=M[g+110>>1];if((g|0)<=0){break m}g=(g<<3)+c|0;while(1){hd(c,d+352|0);c=c+8|0;if(g>>>0>c>>>0){continue}break}f=N[e+8>>2];if(h){break l}break g}f=N[e+8>>2]}if(!(O[h+8|0]&8)){break g}g=N[h+96>>2];c=N[N[g>>2]+32>>2];if(!c){break g}c=Qa[c|0](g,16067)|0;if(!c){break g}g=Qa[N[c+4>>2]](h,2)|0;if(!g){break g}c=100;n:{o:{p:{q:{r:{s:{t:{u:{v:{g=P[g+4>>1];switch(g|0){case 9:break o;case 8:break p;case 7:break q;case 6:break r;case 5:break s;case 4:break t;case 3:break u;case 2:break v;case 1:break f;case 0:break g;default:break n}}c=200;break f}c=300;break f}c=350;break f}c=400;break f}c=600;break f}c=700;break f}c=800;break f}c=900;break f}c=g;break f;case 1:p=N[c>>2];c=N[a+8>>2];f=kb(800);N[b+20>>2]=f;a=kb(100);N[b+24>>2]=a;o=b+4|0;if(!(a?f:0)){_a(f);_a(a);N[o+16>>2]=0;N[o+20>>2]=0;N[o+8>>2]=0;N[o+12>>2]=0;N[o>>2]=0;N[o+4>>2]=0;break d}N[b+4>>2]=0;N[b+8>>2]=100;N[b+12>>2]=0;N[b+16>>2]=100;N[d+364>>2]=-2147483648;N[d+352>>2]=2147483647;N[d+356>>2]=2147483647;N[d+360>>2]=-2147483648;N[d+624>>2]=c;w:{if(!c){break w}h=O[c|0];if(!h){break w}f=-1;while(1){e=f;a=c;x:{if(!(!j|(h&255)!=99)){u=0;c=N[j+12>>2];if(!c|N[c>>2]!=5){break x}c=N[c+12>>2];if(!c|N[c>>2]!=5){break x}e=db(1,20);N[i+12>>2]=e;N[e>>2]=5;N[e+16>>2]=i;c=N[j+8>>2];N[e+4>>2]=N[j+4>>2];N[e+8>>2]=c;c=N[j+12>>2];h=db(1,20);N[e+12>>2]=h;N[h>>2]=5;N[h+16>>2]=e;e=N[c+8>>2];N[h+4>>2]=N[c+4>>2];N[h+8>>2]=e;e=N[c+12>>2];i=db(1,20);N[h+12>>2]=i;N[i>>2]=5;N[i+16>>2]=h;c=N[e+8>>2];N[i+4>>2]=N[e+4>>2];N[i+8>>2]=c;j=0;break x}y:{z:{A:{switch(u|0){case 0:m=ob(a,d+624|0);c=N[d+624>>2];if((c|0)==(a|0)){break z}a=c-1|0;N[d+624>>2]=a;u=1;m=WE(m*64);B:{if(V(m)<2147483648){k=~~m;break B}k=-2147483648}break x;case 1:break A;default:break z}}m=ob(a,d+624|0);c=N[d+624>>2];if((c|0)!=(a|0)){break y}}u=0;f=0;C:{switch(O[a|0]-98|0){case 12:f=1;break x;case 10:f=2;break x;case 0:f=3;break x;case 15:f=4;break x;case 17:f=5;break x;case 11:break x;default:break C}}f=e;break x}f=-1;a=c-1|0;N[d+624>>2]=a;m=WE(m*64);D:{if(V(m)<2147483648){c=~~m;break D}c=-2147483648}if((e|0)==-1){u=2;break x}u=0;f=0;l=db(1,20);h=l;if(g){N[i+12>>2]=h;N[h+16>>2]=i;h=g;f=i}N[l+4>>2]=k;N[l>>2]=e;N[l+8>>2]=c;c=(e|0)!=5|(j|0)!=0;j=c?j:f;f=c?e:5;g=h;i=l}c=a+1|0;N[d+624>>2]=c;h=O[a+1|0];if(h){continue}break}N[d+624>>2]=0;N[d+628>>2]=0;a=0;if(!g){c=1;break i}c=g;E:{F:{while(1){G:{H:{I:{J:{K:{L:{M:{N:{O:{e=c;switch(N[c>>2]){case 3:break J;case 1:break L;case 5:break M;case 2:break N;case 0:break O;default:break K}}c=N[e+8>>2];f=N[e+4>>2];N[d+624>>2]=f;N[d+628>>2]=c;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(c|0)>(f|0)?f:c;f=N[d+364>>2];N[d+364>>2]=(c|0)<(f|0)?f:c;if(a&1){if(!Ho(o)){break h}a=N[b+12>>2];if(!a){break c}c=(a+N[b+24>>2]|0)-1|0;a=O[c|0];if(a>>>0>=4){break b}L[c|0]=a|4}a=0;c=N[e+12>>2];if(c){continue}break F}c=N[e+8>>2];f=N[e+4>>2];N[d+560>>2]=f;N[d+564>>2]=c;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(c|0)>(f|0)?f:c;f=N[d+364>>2];N[d+364>>2]=(c|0)<(f|0)?f:c;if(!(a&1)){a=N[d+628>>2];N[d+40>>2]=N[d+624>>2];N[d+44>>2]=a;if(!Fb(o,d+40|0,0)){break h}}a=N[d+564>>2];N[d+32>>2]=N[d+560>>2];N[d+36>>2]=a;if(!Fb(o,d+32|0,1)){break h}break I}c=N[e+12>>2];if(!c){break G}if(N[c>>2]!=5){continue}f=N[c+12>>2];if(!f|N[f>>2]!=5){continue}f=N[e+16>>2];if(!f){continue}if(oo(o,d+352|0,N[f+4>>2],N[f+8>>2],N[f+12>>2],1,a&1)){break I}break h}c=N[e+8>>2];f=N[e+4>>2];N[d+624>>2]=f;N[d+628>>2]=c;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(c|0)>(f|0)?f:c;f=N[d+364>>2];N[d+364>>2]=(c|0)<(f|0)?f:c}c=N[e+12>>2];if(c){continue}break G}c=N[e+12>>2];if(!c){break G}if(N[c>>2]!=3){continue}f=N[c+12>>2];if(!f|N[f>>2]!=3){continue}f=N[e+16>>2];if(!f){continue}if(!oo(o,d+352|0,N[f+4>>2],N[f+8>>2],N[f+12>>2],0,a&1)){break h}c=N[N[N[e+12>>2]+12>>2]+12>>2];break H}c=N[e+12>>2]}a=1;if(c){continue}}break}if(!(a&1)){break F}if(!Ho(o)){break h}a=N[b+12>>2];if(!a){break c}c=(a+N[b+24>>2]|0)-1|0;a=O[c|0];if(a>>>0>=4){break E}L[c|0]=a|4}c=0;a=g;break i}break b}N[d+624>>2]=0;N[d+628>>2]=0;a=0;c=1;break i;case 3:a=kb(32);N[b+20>>2]=a;c=kb(4);N[b+24>>2]=c;if(!(c?a:0)){_a(a);_a(c);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break d}N[b+16>>2]=4;N[b+8>>2]=4;N[a>>2]=0;N[a+20>>2]=64;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=64;N[a+28>>2]=64;N[a+4>>2]=0;N[a+8>>2]=64;L[c|0]=1;L[c+1|0]=1;L[c+2|0]=1;L[c+3|0]=5;N[b+4>>2]=4;N[b+12>>2]=4;break e;case 2:break j;default:break d}}n=N[a+20>>2];if(!(n|N[a+24>>2])){break e}s=N[a+8>>2];z=N[s+4>>2];if(!z){break e}f=N[a+16>>2];h=N[a+12>>2];P:{if((h|0)>0){l=h>>>0<32?268435455>>>h|0:0;break P}h=(h|0)<=-32?-32:h;l=268435455}if((f|0)>0){k=f>>>0<32?268435455>>>f|0:0}else{f=(f|0)<=-32?-32:f;k=268435455}if(!l|!k){break d}Q:{A=N[s+12>>2];if(A){if(z>>>0>536870911){break d}p=kb(z<<3);v=kb(A);if(!p|!v){break Q}i=f+32|0;h=h+32|0;o=N[s+20>>2];f=0;while(1){e=f<<3;g=e+o|0;x=N[g>>2];j=x>>31;if((l|0)<((j^x)-j|0)){break Q}j=N[g+4>>2];g=j>>31;if((k|0)<((g^j)-g|0)){break Q}g=e+p|0;e=j>>31;w=j;r=i&31;if((i&63)>>>0>=32){j=j<>>32-r|e<>2]=j;e=x>>31;j=x;w=h&31;if((h&63)>>>0>=32){e=j<>>32-w|e<>2]=e;f=f+1|0;if((z|0)!=(f|0)){continue}break}B(v,N[s+24>>2],A);R:{i=z<<1;if(!i){break R}l=A<<1;if(!l){break R}e=b+28|0;f=b+4|0;S:{T:{U:{V:{W:{X:{Y:{Z:{if(i>>>0<=536870911){g=N[a+24>>2];h=kb(z<<4);N[b+20>>2]=h;a=kb(l);N[b+24>>2]=a;if(a?h:0){break Z}_a(h);_a(a);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;a=1;break Y}N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break X}N[b+4>>2]=0;N[b+16>>2]=l;N[b+8>>2]=i;N[b+12>>2]=0;a=0}k=kb(z<<4);N[b+44>>2]=k;h=kb(l);N[b+48>>2]=h;if(h?k:0){break W}_a(k);_a(h)}N[b+28>>2]=0;N[b+32>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;break V}N[b+28>>2]=0;N[b+40>>2]=l;N[b+32>>2]=i;N[b+36>>2]=0;if(a){break V}h=n<<4;g=g<<4;a=(g|0)<(h|0)?h:g;if(a-16>>>0>=268435440){break S}L[d+404|0]=1;N[d+360>>2]=0;N[d+364>>2]=0;N[d+356>>2]=e;N[d+352>>2]=f;S[d+376>>3]=g|0;S[d+368>>3]=h|0;t=16/+(a|0);S[d+480>>3]=t*.25;S[d+464>>3]=1-t;S[d+496>>3]=t*(t*390);q=t+1;S[d+488>>3]=q*(q*8);N[d+400>>2]=16;S[d+392>>3]=1/+(((g|0)<=16?16:g)|0);S[d+384>>3]=1/+(((h|0)<=16?16:h)|0);m=aa(t+t);S[d+504>>3]=m;S[d+472>>3]=q*-4*m+(t*8+1);a=0;while(1){f=p+(a<<3)|0;g=N[f>>2];e=g>>31;if((e^g)-e>>>0>268435455){break T}g=N[f+4>>2];f=g>>31;if((f^g)-f>>>0>=268435456){break T}a=a+1|0;if((z|0)!=(a|0)){continue}break}g=0;f=p;h=f;while(1){if((f|0)==(h|0)){a=N[f+4>>2];N[d+456>>2]=N[f>>2];N[d+460>>2]=a}a=O[g+v|0];e=a&3;f=(e<<3)+f|0;w=a&4;a=w?h:f;_:{$:{switch(e-1|0){case 1:e=a;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);x=e;k=a;N[d+520>>2]=a;N[d+524>>2]=e;a=f-8|0;e=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);s=e-N[d+460>>2]|0;o=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);j=o-N[d+456>>2]|0;i=N[d+400>>2];a=0-i|0;if(!((j|0)<=(a|0)|(i|0)<=(j|0)|((i|0)<=(s|0)|(a|0)>=(s|0)))){a=N[d+524>>2];N[d+264>>2]=N[d+520>>2];N[d+268>>2]=a;if(Vd(d+352|0,d+264|0)){break _}break V}n=x-e|0;l=k-o|0;if(!((l|0)<=(a|0)|(i|0)<=(l|0)|((i|0)<=(n|0)|(a|0)>=(n|0)))){a=N[d+524>>2];N[d+272>>2]=N[d+520>>2];N[d+276>>2]=a;if(Vd(d+352|0,d+272|0)){break _}break V}a=N[d+456>>2];i=N[d+460>>2];N[d+456>>2]=k;N[d+460>>2]=x;N[d+544>>2]=k;N[d+548>>2]=x;N[d+528>>2]=a;N[d+532>>2]=i;N[d+536>>2]=o;N[d+540>>2]=e;q=S[d+384>>3];C=q*+(0-j|0);S[d+568>>3]=C;m=S[d+392>>3];D=m*+(s|0);S[d+560>>3]=D;t=m*+(n|0);S[d+576>>3]=t;q=q*+(0-l|0);S[d+584>>3]=q;m=aa(D*D+C*C);S[d+640>>3]=m;m=1/m;S[d+632>>3]=C*m;S[d+624>>3]=D*m;m=aa(t*t+q*q);S[d+664>>3]=m;m=1/m;S[d+656>>3]=q*m;S[d+648>>3]=t*m;e=O[d+404|0];N[d+296>>2]=a;N[d+300>>2]=i;a=N[d+636>>2];N[d+288>>2]=N[d+632>>2];N[d+292>>2]=a;a=N[d+628>>2];N[d+280>>2]=N[d+624>>2];N[d+284>>2]=a;a=d+352|0;if(!we(a,d+296|0,d+280|0,3)){break V}if(zi(a,d+528|0,d+560|0,d+624|0,3,(e|0)!=0)){break _}break V;case 2:e=a;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);k=e;i=a;N[d+520>>2]=a;N[d+524>>2]=e;e=f-8|0;a=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);x=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);H=9;aa:{e=f-16|0;s=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);n=N[d+456>>2];y=s-n|0;E=N[d+400>>2];r=0-E|0;e=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);o=N[d+460>>2];l=e-o|0;j=(y|0)>(r|0)&(r|0)<(l|0)&(y|0)<(E|0)&(l|0)<(E|0);if(!j){break aa}l=a-o|0;H=8;y=x-n|0;if((r|0)>=(y|0)|(y|0)>=(E|0)|((l|0)<=(r|0)|(l|0)>=(E|0))){break aa}a=N[d+524>>2];N[d+304>>2]=N[d+520>>2];N[d+308>>2]=a;if(Vd(d+352|0,d+304|0)){break _}break V}u=k-a|0;ba:{o=i-x|0;if((r|0)>=(o|0)|(o|0)>=(E|0)|((r|0)>=(u|0)|(u|0)>=(E|0))){break ba}u=k-e|0;o=i-s|0;if(!((r|0)>=(o|0)|(o|0)>=(E|0)|((r|0)>=(u|0)|(u|0)>=(E|0)))){a=N[d+524>>2];N[d+312>>2]=N[d+520>>2];N[d+316>>2]=a;if(Vd(d+352|0,d+312|0)){break _}break V}H=13;if(!j){break ba}a=N[d+524>>2];N[d+320>>2]=N[d+520>>2];N[d+324>>2]=a;if(Vd(d+352|0,d+320|0)){break _}break V}N[d+552>>2]=i;N[d+556>>2]=k;j=N[d+460>>2];N[d+528>>2]=N[d+456>>2];N[d+532>>2]=j;N[d+544>>2]=x;N[d+548>>2]=a;N[d+536>>2]=s;N[d+540>>2]=e;N[d+456>>2]=i;N[d+460>>2]=k;j=d+528|0;i=j+((H&3)<<3)|0;k=N[i+4>>2];e=j+(H<<1&24)|0;a=N[e+4>>2];q=S[d+384>>3];S[d+648>>3]=q*+(N[i>>2]-N[e>>2]|0);m=S[d+392>>3];S[d+640>>3]=m*+(a-k|0);C=q*+(0-y|0);S[d+632>>3]=C;D=m*+(l|0);S[d+624>>3]=D;t=m*+(u|0);S[d+656>>3]=t;q=q*+(0-o|0);S[d+664>>3]=q;m=aa(D*D+C*C);S[d+576>>3]=m;m=1/m;S[d+568>>3]=C*m;S[d+560>>3]=D*m;m=aa(t*t+q*q);S[d+600>>3]=m;m=1/m;S[d+592>>3]=q*m;S[d+584>>3]=t*m;e=O[d+404|0];a=N[d+532>>2];N[d+344>>2]=N[d+528>>2];N[d+348>>2]=a;a=N[d+572>>2];N[d+336>>2]=N[d+568>>2];N[d+340>>2]=a;a=N[d+564>>2];N[d+328>>2]=N[d+560>>2];N[d+332>>2]=a;a=d+352|0;if(!we(a,d+344|0,d+328|0,3)){break V}if(!gf(a,j,d+624|0,d+560|0,3,(e|0)!=0)){break V}break _;case 0:break $;default:break V}}e=N[a+4>>2];N[d+256>>2]=N[a>>2];N[d+260>>2]=e;if(!Vd(d+352|0,d+256|0)){break V}}h=w?f:h;o=(h|0)!=(f|0);if(!o){j=O[d+404|0];ca:{if(j){a=N[d+460>>2];N[d+528>>2]=N[d+456>>2];N[d+532>>2]=a;q=0;m=1;a=15;t=S[d+472>>3];if(t>0){while(1){da:{q=q+1;m=.7071067811865476/aa(q);S[(d+624|0)+(a<<3)>>3]=m;a=a-1|0;q=q*m;if(!(t>q)){break da}if(a){continue}}break}m=q+1}s=(d+624|0)+(a<<3)|0;S[s>>3]=1/m;N[d+240>>2]=0;N[d+244>>2]=0;N[d+608>>2]=0;N[d+612>>2]=0;N[d+600>>2]=0;N[d+604>>2]=0;N[d+576>>2]=0;N[d+580>>2]=0;N[d+616>>2]=0;N[d+620>>2]=-1074790400;N[d+592>>2]=0;N[d+596>>2]=-1074790400;N[d+584>>2]=0;N[d+588>>2]=1072693248;e=N[d+532>>2];N[d+248>>2]=N[d+528>>2];N[d+252>>2]=e;N[d+232>>2]=0;N[d+236>>2]=1072693248;N[d+568>>2]=0;N[d+572>>2]=0;N[d+560>>2]=0;N[d+564>>2]=1072693248;e=N[d+588>>2];N[d+224>>2]=N[d+584>>2];N[d+228>>2]=e;e=N[d+580>>2];N[d+216>>2]=N[d+576>>2];N[d+220>>2]=e;w=d+352|0;n=15-a|0;if(!Ad(w,d+248|0,d+232|0,d+216|0,s,n,1)){break V}a=N[d+532>>2];N[d+208>>2]=N[d+528>>2];N[d+212>>2]=a;a=N[d+588>>2];N[d+200>>2]=N[d+584>>2];N[d+204>>2]=a;a=N[d+580>>2];N[d+192>>2]=N[d+576>>2];N[d+196>>2]=a;a=N[d+604>>2];N[d+184>>2]=N[d+600>>2];N[d+188>>2]=a;a=N[d+596>>2];N[d+176>>2]=N[d+592>>2];N[d+180>>2]=a;if(!Ad(w,d+208|0,d+192|0,d+176|0,s,n,1)){break V}a=N[d+532>>2];N[d+168>>2]=N[d+528>>2];N[d+172>>2]=a;a=N[d+604>>2];N[d+160>>2]=N[d+600>>2];N[d+164>>2]=a;a=N[d+596>>2];N[d+152>>2]=N[d+592>>2];N[d+156>>2]=a;a=N[d+620>>2];N[d+144>>2]=N[d+616>>2];N[d+148>>2]=a;a=N[d+612>>2];N[d+136>>2]=N[d+608>>2];N[d+140>>2]=a;if(!Ad(w,d+168|0,d+152|0,d+136|0,s,n,1)){break V}a=N[d+532>>2];N[d+128>>2]=N[d+528>>2];N[d+132>>2]=a;l=N[d+616>>2];i=N[d+620>>2];k=N[d+608>>2];e=N[d+612>>2];a=N[d+572>>2];N[d+104>>2]=N[d+568>>2];N[d+108>>2]=a;N[d+120>>2]=l;N[d+124>>2]=i;a=N[d+564>>2];N[d+96>>2]=N[d+560>>2];N[d+100>>2]=a;N[d+112>>2]=k;N[d+116>>2]=e;if(Ad(w,d+128|0,d+112|0,d+96|0,s,n,1)){break ca}break V}a=N[d+452>>2];N[d+88>>2]=N[d+448>>2];N[d+92>>2]=a;e=d+352|0;if(!Vd(e,d+88|0)){break V}a=N[d+452>>2];N[d+80>>2]=N[d+448>>2];N[d+84>>2]=a;a=N[d+428>>2];N[d+72>>2]=N[d+424>>2];N[d+76>>2]=a;a=N[d+420>>2];N[d+64>>2]=N[d+416>>2];N[d+68>>2]=a;if(!we(e,d+80|0,d- -64|0,3)){break V}n=N[d+408>>2]&(N[d+412>>2]^-1);m=S[d+424>>3]*S[d+376>>3];ea:{if(V(m)<2147483648){e=~~m;break ea}e=-2147483648}k=n&1;m=S[d+416>>3]*S[d+368>>3];fa:{if(V(m)<2147483648){a=~~m;break fa}a=-2147483648}l=N[d+452>>2];i=N[d+448>>2];if(k){N[d+628>>2]=e+l;N[d+624>>2]=a+i;k=N[d+628>>2];N[d+56>>2]=N[d+624>>2];N[d+60>>2]=k;if(!Fb(N[d+352>>2],d+56|0,1)){break V}}if((n&3)>>>0>=2){N[d+628>>2]=l-e;N[d+624>>2]=i-a;a=N[d+628>>2];N[d+48>>2]=N[d+624>>2];N[d+52>>2]=a;if(!Fb(N[d+356>>2],d+48|0,1)){break V}}q=S[d+432>>3];m=S[d+440>>3];ga:{if(q==S[d+416>>3]&m==S[d+424>>3]){break ga}n=(N[d+412>>2]^-1)&(N[d+408>>2]^-1);m=m*S[d+376>>3];ha:{if(V(m)<2147483648){e=~~m;break ha}e=-2147483648}k=n&1;m=q*S[d+368>>3];ia:{if(V(m)<2147483648){a=~~m;break ia}a=-2147483648}l=N[d+452>>2];i=N[d+448>>2];if(k){k=N[N[d+352>>2]+16>>2]+(N[d+360>>2]<<3)|0;N[k+4>>2]=e+l;N[k>>2]=a+i}if((n&3)>>>0<2){break ga}k=N[N[d+356>>2]+16>>2]+(N[d+364>>2]<<3)|0;N[k+4>>2]=l-e;N[k>>2]=i-a}L[d+404|0]=1}e=N[d+352>>2];a=N[e+8>>2];if(!a){break c}e=(a+N[e+20>>2]|0)-1|0;a=O[e|0];if(a>>>0>=4){break b}L[e|0]=a|4;if(!j){e=N[d+356>>2];a=N[e+8>>2];if(!a){break c}e=(a+N[e+20>>2]|0)-1|0;a=O[e|0];if(a>>>0>=4){break b}L[e|0]=a|4}N[d+360>>2]=N[N[d+352>>2]>>2];N[d+364>>2]=N[N[d+356>>2]>>2]}g=g+1|0;if((A|0)!=(g|0)){continue}break}if(!o&(p+(z<<3)|0)==(f|0)){break U}ba(9970,18249,1563,16088);F()}mb(N[c>>2],2,15719,0);_a(N[b+20>>2]);_a(N[b+24>>2]);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;_a(N[b+44>>2]);_a(N[b+48>>2]);N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;break Q}_a(p);_a(v);break e}ba(18838,18249,1523,16088);F()}ba(18805,18249,1498,16088);F()}break a}break a}_a(p);_a(v);break d}if(p){g=N[b+4>>2];N[d+20>>2]=N[b+12>>2];N[d+16>>2]=g;mb(p,6,10236,d+16|0)}if(!c){while(1){c=N[a+12>>2];_a(a);a=c;if(c){continue}break}}N[b+68>>2]=N[d+360>>2]-N[d+352>>2];c=N[d+356>>2];a=N[d+364>>2];N[b+76>>2]=0;N[b+72>>2]=a-c;break e}while(1){a=N[g+12>>2];_a(g);g=a;if(a){continue}break}_a(N[b+20>>2]);_a(N[b+24>>2]);N[o+16>>2]=0;N[o+20>>2]=0;N[o+8>>2]=0;N[o+12>>2]=0;N[o>>2]=0;N[o+4>>2]=0;break d}c=O[h+12|0]&2?700:400}ja:{if(c+150>>>0>=f>>>0){break ja}c=N[h+84>>2];if(N[c+72>>2]!=1869968492){break ja}g=c+108|0;c=N[c+4>>2];e=N[N[c+88>>2]+20>>2];f=e>>31;c=P[c+68>>1];f=(e^f)-f|0;ka:{if(c+(f>>>8|0)>>>0<=8190){c=T(c,f)+32768>>>16|0;break ka}c=T(c,f>>>16|0)+(T(c,f&65535)+32768>>>16|0)|0}c=(((e|0)<0?0-c|0:c)|0)/64|0;mn(g,c,c)}v=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];c=N[v+84>>2];h=N[N[v+88>>2]+20>>2];n=N[a+40>>2];o=n&4;if(o){p=N[c+60>>2]+512>>10}else{p=N[c+64>>2]}N[b+68>>2]=p;la:{if(!(O[v+8|0]&8)|(!(n&1)|(p|0)<=0)){break la}g=N[v+96>>2];c=N[N[g>>2]+32>>2];if(!c){break la}c=Qa[c|0](g,16067)|0;if(!c){break la}c=Qa[N[c+4>>2]](v,5)|0;if(!c){break la}f=M[c+8>>1];g=f>>31;if(!!f&(g|0)>=0|(g|0)>0){break la}c=M[c+10>>1];if((c|0)<=0){break la}j=h>>31;c=TE(h,j,c&65535,0);l=Pa;k=c+32768|0;l=k>>>0<32768?l+1|0:l;c=l;g=TE(h,j,f,g);f=Pa;e=c>>17;g=g+32768|0;f=g>>>0<32768?f+1|0:f;l=f>>16;f=(f&65535)<<16|g>>>16;i=((c&131071)<<15|k>>>17)+f|0;g=e+l|0;g=f>>>0>i>>>0?g+1|0:g;f=g;if(i>>>0>268435455&(f|0)>=0|(f|0)>0){break la}g=c>>16;e=(c&65535)<<16|k>>>16;c=e-i|0;g=g-((e>>>0>>0)+f|0)|0;if(c>>>0>268435455&(g|0)>=0|(g|0)>0){break la}N[d+356>>2]=c;N[d+352>>2]=0-i;u=1}ma:{if(!(O[v+8|0]&8)|(!(n&2)|(p|0)<=0)){break ma}g=N[v+96>>2];c=N[N[g>>2]+32>>2];if(!c){break ma}c=Qa[c|0](g,16067)|0;if(!c){break ma}c=Qa[N[c+4>>2]](v,2)|0;if(!c){break ma}j=M[c+28>>1];if((j|0)<0){break ma}c=M[c+26>>1];if((c|0)<=0){break ma}i=h>>31;c=TE(h,i,c&65535,0);e=Pa;k=c+32768|0;e=k>>>0<32768?e+1|0:e;l=(e&131071)<<15|k>>>17;f=e>>17;g=TE(j&65535,0,h,i);c=Pa;i=g+32768|0;c=i>>>0<32768?c+1|0:c;g=c>>16;i=(c&65535)<<16|i>>>16;c=i+l|0;f=f+g|0;f=c>>>0>>0?f+1|0:f;g=f;i=c;if(c>>>0>268435455&(f|0)>=0|(f|0)>0){break ma}f=e>>16;e=(e&65535)<<16|k>>>16;c=e-c|0;g=f-((e>>>0>>0)+g|0)|0;if(c>>>0>268435455&(g|0)>=0|(g|0)>0){break ma}g=d+352|u<<3;N[g+4>>2]=c;N[g>>2]=0-i;u=u+1|0}na:{oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{r=N[v+84>>2];if(N[r+72>>2]==1869968492){g=M[r+110>>1];if(!(u|g)){N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break na}c=u<<2;f=c+(g<<1)|0;if(!f){break a}g=c+g|0;if(!g){break a}if(f>>>0<=536870911){c=kb(f<<3);N[b+20>>2]=c;n=kb(g);N[b+24>>2]=n;Ba:{if(!(n?c:0)){_a(c);break Ba}N[b+4>>2]=0;N[b+16>>2]=g;N[b+8>>2]=f;N[b+12>>2]=0;Ca:{A=r+108|0;j=M[A>>1];if((j|0)>0){n=0;while(1){g=M[N[r+120>>2]+(H<<1)>>1];if((n|0)>(g|0)|M[r+110>>1]<=(g|0)){break Ca}Da:{if((g-n|0)<=1){n=g+1|0;break Da}f=N[r+112>>2];k=n<<3;c=f+k|0;j=N[c>>2];e=j>>31;if((e^j)-e>>>0>268435455){break Ca}i=N[c+4>>2];c=i>>31;if((c^i)-c>>>0>268435455){break Ca}x=0;l=0;Ea:{Fa:{e=N[r+116>>2];switch(O[e+n|0]&3){case 1:break Ea;case 0:break Fa;default:break Ca}}c=f+(g<<3)|0;y=N[c>>2];f=y>>31;if((f^y)-f>>>0>268435455){break Ca}f=N[c+4>>2];c=f>>31;if((c^f)-c>>>0>268435455){break Ca}f=0-f|0;Ga:{Ha:{Ia:{x=O[e+g|0]&3;switch(x|0){case 0:break Ha;case 1:break Ia;default:break Ca}}g=g-1|0;break Ga}f=f-i>>1;y=j+y>>1}c=N[b+4>>2];if(c>>>0>=Q[b+8>>2]){break Aa}l=1;N[b+4>>2]=c+1;c=N[b+20>>2]+(c<<3)|0;N[c+4>>2]=f;N[c>>2]=y}e=N[b+4>>2];if(e>>>0>=Q[b+8>>2]){break za}c=k+N[r+112>>2]|0;i=N[c>>2];f=N[c+4>>2];N[b+4>>2]=e+1;c=N[b+20>>2]+(e<<3)|0;s=0-f|0;N[c+4>>2]=s;N[c>>2]=i;j=n+1|0;if((g|0)>(n|0)){c=g+1|0;while(1){w=j<<3;e=w+N[r+112>>2]|0;f=N[e>>2];k=f>>31;if((f^k)-k>>>0>268435455){break Ca}f=N[e+4>>2];e=f>>31;if((e^f)-e>>>0>268435455){break Ca}Ja:{Ka:{switch(O[N[r+116>>2]+j|0]&3){case 1:i=1;La:{Ma:{switch(l|0){case 1:i=2;break La;case 0:break La;case 3:break Ma;default:break Ca}}i=3}f=N[b+12>>2];if(f>>>0>=Q[b+16>>2]){break ya}N[b+12>>2]=f+1;L[f+N[b+24>>2]|0]=i;k=0;break Ja;case 0:k=1;Na:{switch(l|0){case 0:break Ja;case 1:break Na;default:break Ca}}f=N[b+12>>2];if(f>>>0>=Q[b+16>>2]){break xa}N[b+12>>2]=f+1;L[f+N[b+24>>2]|0]=2;n=N[b+4>>2];if(n>>>0>=Q[b+8>>2]){break wa}f=w+N[r+112>>2]|0;l=N[f>>2];e=N[f+4>>2];N[b+4>>2]=n+1;f=N[b+20>>2]+(n<<3)|0;N[f+4>>2]=s-e>>1;N[f>>2]=i+l>>1;break Ja;case 2:break Ka;default:break Ca}}k=2;Oa:{switch(l|0){case 0:break Ja;case 2:break Oa;default:break Ca}}k=3}l=N[b+4>>2];if(l>>>0>=Q[b+8>>2]){break va}f=w+N[r+112>>2]|0;i=N[f>>2];e=N[f+4>>2];N[b+4>>2]=l+1;f=N[b+20>>2]+(l<<3)|0;s=0-e|0;N[f+4>>2]=s;N[f>>2]=i;f=(g|0)!=(j|0);j=j+1|0;l=k;if(f){continue}break}j=c}n=5;Pa:{Qa:{switch(l|0){case 1:n=6;break Pa;case 0:break Pa;case 3:break Qa;default:break Ca}}n=7}c=N[b+12>>2];if(c>>>0>=Q[b+16>>2]){break ua}N[b+12>>2]=c+1;L[c+N[b+24>>2]|0]=n;n=j+x|0;j=P[A>>1]}H=H+1|0;if((H|0)>16){continue}break}}Ra:{if(!o){break Ra}k=0;c=0;Sa:{if(!v|!(O[v+8|0]&8)){break Sa}f=N[v+96>>2];g=N[N[f>>2]+32>>2];if(!g){break Sa}g=Qa[g|0](f,16067)|0;if(!g){break Sa}g=Qa[N[g+4>>2]](v,2)|0;if(!g){break Sa}c=M[g+72>>1];c=TE(c,c>>31,h,h>>31);j=Pa;g=c+32768|0;j=g>>>0<32768?j+1|0:j;k=(j&65535)<<16|g>>>16;c=j>>16;f=c>>31;e=f;g=k^e;f=g-e|0;g=(c^e)-((g>>>0>>0)+e|0)|0;if(!g&f>>>0>536870910|g){break Ca}}f=N[N[v+84>>2]+52>>2];e=f;g=e+k|0;f=(e>>31)+c|0;c=g;f=c>>>0>>0?f+1|0:f;g=f>>31;h=c^g;e=h-g|0;g=(f^g)-((h>>>0>>0)+g|0)|0;if(!g&e>>>0>536870910|g){break Ca}g=c;c=c>>31;if((g^c)-c>>>0>=1879048193){break ta}if(!N[b+4>>2]){break Ra}c=k;f=0;while(1){i=N[b+20>>2]+(f<<3)|0;k=g+N[i+4>>2]|0;e=k>>31;if((e^k)-e>>>0>268435455){break Ca}h=c+N[i>>2]|0;e=h>>31;if((e^h)-e>>>0>268435455){break Ca}N[i>>2]=k;N[i+4>>2]=0-h;f=f+1|0;if(f>>>0>2]){continue}break}}if(!u){break na}h=dg(A);l=N[b+4>>2];e=l+4|0;if(e>>>0>Q[b+8>>2]){break sa}o=N[b+12>>2];f=o+4|0;if(f>>>0>Q[b+16>>2]){break ra}n=d+352|0;g=n;i=(h|0)!=0;j=N[(g|i<<2)>>2];c=j>>31;if((c^j)-c>>>0>=268435456){break qa}c=p>>31;k=(c^p)-c|0;if(k>>>0>268435455){break pa}h=!h;g=N[(g|h<<2)>>2];c=g>>31;if((c^g)-c>>>0>=268435456){break pa}c=N[b+24>>2]+o|0;if(O[c-1|0]&4?0:o){break oa}l=N[b+20>>2]+(l<<3)|0;N[l+4>>2]=j;N[l>>2]=0;N[l+16>>2]=p;N[l+8>>2]=p;N[l+12>>2]=j;N[l+24>>2]=0;N[l+28>>2]=g;N[l+20>>2]=g;N[b+4>>2]=e;L[c|0]=1;L[(o+N[b+24>>2]|0)+1|0]=1;L[(o+N[b+24>>2]|0)+2|0]=1;L[(o+N[b+24>>2]|0)+3|0]=5;N[b+12>>2]=f;if((u|0)==1){break na}e=N[b+4>>2];f=e+4|0;if(f>>>0>Q[b+8>>2]){break sa}j=N[b+12>>2];g=j+4|0;if(g>>>0>Q[b+16>>2]){break ra}c=n|8;l=N[(c|i<<2)>>2];i=l>>31;if((i^l)-i>>>0>268435455){break qa}if(k>>>0>268435455){break pa}h=N[(c|h<<2)>>2];c=h>>31;if((c^h)-c>>>0>268435455){break pa}c=N[b+24>>2]+j|0;if(O[c-1|0]&4?0:j){break oa}e=N[b+20>>2]+(e<<3)|0;N[e+4>>2]=l;N[e>>2]=0;N[e+16>>2]=p;N[e+8>>2]=p;N[e+12>>2]=l;N[e+24>>2]=0;N[e+28>>2]=h;N[e+20>>2]=h;N[b+4>>2]=f;L[c|0]=1;L[(j+N[b+24>>2]|0)+1|0]=1;L[(j+N[b+24>>2]|0)+2|0]=1;L[(j+N[b+24>>2]|0)+3|0]=5;N[b+12>>2]=g;break na}_a(N[b+20>>2]);n=N[b+24>>2]}_a(n)}N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break d}ba(20184,17934,742,15697);F()}ba(9900,18249,137,8782);F()}ba(9900,18249,147,8782);F()}ba(10145,18249,171,8782);F()}ba(10145,18249,183,8782);F()}ba(9900,18249,187,8782);F()}ba(9900,18249,216,8782);F()}ba(10145,18249,236,8782);F()}ba(19015,18249,331,21921);F()}ba(9855,18249,251,9621);F()}ba(10096,18249,252,9621);F()}ba(18966,18249,253,9621);F()}ba(18917,18249,254,9621);F()}ba(23976,18249,256,9621);F()}f=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];e=N[N[f+88>>2]+20>>2];c=e>>31;g=M[f+70>>1];a=g>>31;h=(c^e)-c|0;c=h>>>8|0;a=(a^g)-a|0;Ta:{if(c+a>>>0<=8190){k=T(a,h)+32768>>>16|0;break Ta}k=T(a,h>>>16|0)+(T(a,h&65535)+32768>>>16|0)|0}a=k;i=0-a|0;a=g>>31|1;N[b+72>>2]=(((e|0)<0?0-a|0:a)|0)<0?i:k;g=M[f+72>>1];a=g>>31;a=(a^g)-a|0;Ua:{if(a+c>>>0<=8190){c=T(a,h)+32768>>>16|0;break Ua}c=T(a,h>>>16|0)+(T(a,h&65535)+32768>>>16|0)|0}a=c;f=0-a|0;a=(g|0)<=0?1:-1;N[b+76>>2]=(((e|0)<0?0-a|0:a)|0)<0?f:c}f=2147483647;N[b+52>>2]=2147483647;h=-2147483648;N[b- -64>>2]=-2147483648;N[b+56>>2]=2147483647;N[b+60>>2]=-2147483648;a=-2147483648;c=2147483647;g=N[b+4>>2];if(g){o=N[b+20>>2];Va:{Wa:{if((g|0)==1){l=0;break Wa}i=g&1;l=g&-2;n=0;while(1){g=n<<3;k=g+o|0;j=N[k+4>>2];e=(h|0)>(j|0)?h:j;g=o+(g|8)|0;p=N[g+4>>2];h=(e|0)>(p|0)?e:p;k=N[k>>2];a=(a|0)>(k|0)?a:k;e=N[g>>2];a=(a|0)>(e|0)?a:e;g=(f|0)<(j|0)?f:j;f=(g|0)<(p|0)?g:p;c=(c|0)<(k|0)?c:k;c=(c|0)<(e|0)?c:e;n=n+2|0;if((n|0)!=(l|0)){continue}break}if(!i){break Va}}g=o+(l<<3)|0;e=N[g+4>>2];h=(e|0)<(h|0)?h:e;g=N[g>>2];a=(a|0)>(g|0)?a:g;f=(e|0)>(f|0)?f:e;c=(c|0)<(g|0)?c:g}N[b+64>>2]=h;N[b+60>>2]=a;N[b+56>>2]=f;N[b+52>>2]=c}g=N[b+28>>2];if(g){o=N[b+44>>2];l=0;Xa:{if((g|0)!=1){i=g&1;l=g&-2;n=0;while(1){g=n<<3;k=g+o|0;j=N[k+4>>2];e=(h|0)>(j|0)?h:j;g=o+(g|8)|0;p=N[g+4>>2];h=(e|0)>(p|0)?e:p;k=N[k>>2];a=(a|0)>(k|0)?a:k;e=N[g>>2];a=(a|0)>(e|0)?a:e;g=(f|0)<(j|0)?f:j;f=(g|0)<(p|0)?g:p;c=(c|0)<(k|0)?c:k;c=(c|0)<(e|0)?c:e;n=n+2|0;if((n|0)!=(l|0)){continue}break}if(!i){break Xa}}g=o+(l<<3)|0;e=N[g+4>>2];h=(e|0)<(h|0)?h:e;g=N[g>>2];a=(a|0)>(g|0)?a:g;f=(e|0)>(f|0)?f:e;c=(c|0)<(g|0)?c:g}N[b+64>>2]=h;N[b+60>>2]=a;N[b+56>>2]=f;N[b+52>>2]=c}if(!((f|0)<=(h|0)&(a|0)>=(c|0))){N[b+52>>2]=0;N[b+56>>2]=0;N[b+60>>2]=0;N[b+64>>2]=0}L[b|0]=1}La=d+752|0;return 1}ba(10216,18249,320,11772);F()}ba(23825,18249,321,11772);F()}ba(10189,18249,45,17699);F()}function Dw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,H=0,I=0;v=La-16|0;La=v;h=11;k=N[b+96>>2];j=N[k+4>>2];a:{if(!j){break a}l=N[j+16>>2];if((l|0)<=0){break a}f=j+20|0;n=f+(l<<2)|0;g=f;while(1){s=N[N[g>>2]>>2];if(cb(N[s+8>>2],9195)){g=g+4|0;if(n>>>0>g>>>0){continue}break a}break}s=N[s+20>>2];if(!s){break a}b:{if(!k){break b}n=j;g=N[N[k>>2]+32>>2];if(g){x=Qa[g|0](k,10566)|0;if(x){break b}n=N[k+4>>2];l=N[n+16>>2]}x=0;if((l|0)<=0){break b}g=n+20|0;l=g+(l<<2)|0;while(1){n=N[g>>2];c:{if((n|0)==(k|0)){break c}y=N[N[n>>2]+32>>2];if(!y){break c}x=Qa[y|0](n,10566)|0;if(x){break b}}g=g+4|0;if(l>>>0>g>>>0){continue}break}x=0}n=N[j+16>>2];if((n|0)<=0){break a}k=(n<<2)+f|0;g=f;d:{e:{while(1){l=N[N[g>>2]>>2];if(!cb(N[l+8>>2],11971)){break e}g=g+4|0;if(k>>>0>g>>>0){continue}break}g=0;break d}g=N[l+20>>2]}if((n|0)<=0){break a}y=g;while(1){g=N[N[f>>2]>>2];if(cb(N[g+8>>2],7988)){f=f+4|0;if(k>>>0>f>>>0){continue}break a}break}f=N[g+20>>2];if(!f){break a}N[b+556>>2]=f;f=N[b+96>>2];f:{g:{if(!f){break g}g=N[N[f>>2]+32>>2];if(g){n=Qa[g|0](f,16921)|0;if(n){break f}}g=N[f+4>>2];h=N[g+16>>2];if((h|0)<=0){break g}g=g+20|0;k=g+(h<<2)|0;while(1){h=N[g>>2];h:{if((h|0)==(f|0)){break h}n=N[N[h>>2]+32>>2];if(!n){break h}n=Qa[n|0](h,16921)|0;if(n){break f}}g=g+4|0;if(k>>>0>g>>>0){continue}break}}n=0}f=N[a+20>>2];if(f){h=85;if(Qa[f|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;E=Qa[N[s+4>>2]](a,b,c,d,e)|0;i:{if(!E){h=2;if(N[b+148>>2]!=1330926671){break a}h=0;if((c|0)<0){break a}j:{if(!(Qa[N[b+516>>2]](b,1751474532,a,0)|0)){h=Qa[N[s+8>>2]](a,b,c,d,e)|0;if(!h){break j}break a}h=Qa[N[s+32>>2]](b,a)|0;if(h){break a}w=1}h=Qa[N[b+516>>2]](b,1128678962,a,0)|0;if(!h){L[b+732|0]=1;s=1;break i}if((h&255)!=142){break a}h=Qa[N[b+516>>2]](b,1128678944,a,0)|0;s=0;if(!h){break i}break a}d=N[a+20>>2];if(d){h=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;w=1;s=0}z=N[b+100>>2];i=Qa[N[z+4>>2]](z,3136)|0;if(!i){h=64;break a}G(i,0,3136);N[b+712>>2]=i;q=La-80|0;La=q;u=N[a+28>>2];G(i,0,3136);N[q+72>>2]=0;d=q- -64|0;N[d>>2]=0;N[d+4>>2]=0;N[q+56>>2]=0;N[q+60>>2]=0;N[q+48>>2]=0;N[q+52>>2]=0;N[q+40>>2]=0;N[q+44>>2]=0;r=N[a+8>>2];L[i+32|0]=s;N[i+8>>2]=u;N[i+4>>2]=a;N[i>>2]=j;N[i+12>>2]=r;d=rb(a,33568,i);k:{if(d){break k}l:{m:{n:{if(s){d=2;if(O[i+24|0]!=2|O[i+26|0]<5){break k}o:{p:{q:{d=N[a+8>>2];if(Q[a+4>>2]<=d+1>>>0){break q}f=N[a+20>>2];r:{if(f){e=q+4|0;if((Qa[f|0](a,d,e,2)|0)!=2){break q}d=N[a+8>>2];break r}e=N[a>>2];if(!e){break p}e=d+e|0}e=O[e+1|0]|O[e|0]<<8;break o}N[i+28>>2]=0;d=85;break k}e=0}N[a+8>>2]=d+2;N[i+28>>2]=e;h=O[i+26|0];break n}L[q+4|0]=0;d=N[a+8>>2];f=N[a+20>>2];s:{if(f){e=q+4|0;if((Qa[f|0](a,d,e,1)|0)!=1){break m}d=N[a+8>>2];break s}if(Q[a+4>>2]<=d>>>0){break m}e=N[a>>2]+d|0}e=O[e|0];N[a+8>>2]=d+1;d=2;if(O[i+24|0]!=1){break k}h=O[i+26|0];if(h>>>0<4|e>>>0>4){break k}}d=r+(h&255)|0;e=N[a+20>>2];t:{if(e){if(Qa[e|0](a,d,0,0)|0){break t}break l}if(d>>>0<=Q[a+4>>2]){break l}}d=w?2:85;break k}d=85;break k}N[a+8>>2]=d;u:{if(s){N[i+1240>>2]=0;N[i+1244>>2]=0;h=0;N[i+1272>>2]=0;d=i+1264|0;N[d>>2]=0;N[d+4>>2]=0;e=i+1256|0;N[e>>2]=0;N[e+4>>2]=0;e=i+1248|0;N[e>>2]=0;N[e+4>>2]=0;N[i+1260>>2]=N[a+8>>2];e=d;d=N[i+28>>2];N[e>>2]=d;d=Wc(a,d);if(d){break k}d=yd(i+108|0,a,1,1);if(!d){break u}break k}d=yd(i+36|0,a,0,0);if(d){d=w?2:d;break k}d=N[i+48>>2];if(!(d>>>0<2|d>>>0<=Q[i+60>>2])){d=w?2:3;break k}d=yd(i+1240|0,a,0,0);if(d){break k}e=q+40|0;d=yd(e,a,1,0);if(d){break k}d=yd(i+108|0,a,1,0);if(d){break k}d=Hh(e,i+1360|0,i+1364|0,i+1368|0);if(d){break k}d=3;if(Q[i+48>>2]>Q[i+1252>>2]){break k}h=N[q+52>>2]}N[i+1356>>2]=h;v:{if(w){D=c&65535;e=N[i+48>>2];if((c|0)>0){d=6;if(e>>>0<=D>>>0){break k}}N[i+16>>2]=e;break v}d=3;if(Q[i+48>>2]>1){break k}}d=0;if((c|0)<0){break k}d=Am(i+1372|0,i+1240|0,D,a,r,s?12288:4096,i,b);if(d){break k}e=r+N[i+1484>>2]|0;f=N[a+20>>2];w:{if(f){d=85;if(!(Qa[f|0](a,e,0,0)|0)){break w}break k}d=85;if(e>>>0>Q[a+4>>2]){break k}}N[a+8>>2]=e;d=yd(i+1204|0,a,0,s);if(d){break k}x:{if(!(!s&N[i+1504>>2]==65535)){m=i+3112|0;d=0;l=0;j=La-16|0;La=j;p=N[a+28>>2];y:{z:{A:{B:{C:{e=N[i+1552>>2];D:{E:{if(!e){break E}g=e+r|0;e=N[a+20>>2];F:{G:{if(e){f=85;if(Qa[e|0](a,g,0,0)|0){break z}N[a+8>>2]=g;h=a+8|0;e=g+2|0;k=N[a+20>>2];if(!k){break G}if(Qa[k|0](a,e,0,0)|0){break z}l=N[a+4>>2];break F}f=85;if(g>>>0>Q[a+4>>2]){break z}N[a+8>>2]=g;h=a+8|0;e=g+2|0}l=N[a+4>>2];if(e>>>0>l>>>0){break z}}N[a+8>>2]=e;N[j+8>>2]=0;H:{I:{J:{if(g+3>>>0>=l>>>0){break J}f=N[a+20>>2];K:{if(f){g=j+14|0;if((Qa[f|0](a,e,g,2)|0)!=2){break J}f=N[h>>2];break K}f=N[a>>2];if(!f){break I}g=e+f|0;f=e}g=O[g|0]|O[g+1|0]<<8;N[h>>2]=f+2;f=3;if(((g<<8|g>>>8)&65535)!=1){break z}g=j+8|0;k=Nb(a,g);f=N[j+8>>2];if(f){break z}l=xb(a,g);N[m>>2]=l;f=N[j+8>>2];if(f){break z}f=0;l=lb(p,4,0,l,0,g);g=N[j+8>>2];if(g){d=g;break D}L:{if(!N[m>>2]){break L}while(1){M:{H=(f<<2)+l|0,I=Nb(a,j+8|0),N[H>>2]=I;g=N[j+8>>2];if(g){break M}f=f+1|0;if(f>>>0>2]){continue}break L}break}d=g;break B}f=e+k|0;g=N[a+20>>2];N:{if(g){if(Qa[g|0](a,f,0,0)|0){break N}break H}if(f>>>0<=Q[a+4>>2]){break H}}d=85;break E}f=85;break z}N[h>>2]=g+4;f=3;break z}N[a+8>>2]=f;N[j+8>>2]=0;H=m,I=xb(a,j+8|0),M[H+8>>1]=I;f=N[j+8>>2];if(f){d=f;break D}g=xb(a,j+8|0);N[m+12>>2]=g;f=N[j+8>>2];if(f){d=f;break D}H=m,I=lb(p,4,0,g,0,j+8|0),N[H+16>>2]=I;f=N[j+8>>2];if(f){d=f;break D}if(N[m+12>>2]){g=P[m+8>>1];k=0;while(1){o=N[m+16>>2]+(k<<2)|0;H=o,I=lb(p,12,0,g&65535,0,j+8|0),N[H>>2]=I;f=N[j+8>>2];if(f){d=f;break D}g=0;if(P[m+8>>1]){f=0;while(1){t=N[o>>2];A=xb(a,j+8|0);g=N[j+8>>2];if(g){d=g;break D}C=xb(a,j+8|0);g=N[j+8>>2];if(g){d=g;break D}F=xb(a,j+8|0);g=N[j+8>>2];if(g){d=g;break D}g=T(f,12)+t|0;N[g>>2]=A<<16>>16<<2;N[g+8>>2]=F<<16>>16<<2;N[g+4>>2]=C<<16>>16<<2;f=f+1|0;g=P[m+8>>1];if(f>>>0>>0){continue}break}}k=k+1|0;if(k>>>0>2]){continue}break}}k=0;H=m,I=lb(p,8,0,N[m>>2],0,j+8|0),N[H+4>>2]=I;f=N[j+8>>2];if(f){d=f;break D}if(!N[m>>2]){break E}while(1){g=N[m+4>>2];f=N[(k<<2)+l>>2]+e|0;O:{P:{Q:{o=N[a+20>>2];if(o){if(!(Qa[o|0](a,f,0,0)|0)){break Q}break C}if(f>>>0>Q[a+4>>2]){break C}N[h>>2]=f;f=f+4|0;break P}N[a+8>>2]=f;f=f+4|0;o=N[a+20>>2];if(!o){break P}if(Qa[o|0](a,f,0,0)|0){break C}break O}if(Q[a+4>>2]>>0){break C}}N[a+8>>2]=f;N[j+8>>2]=0;o=(k<<3)+g|0;g=xb(a,j+8|0);N[o>>2]=g;f=N[j+8>>2];if(f){d=f;break B}H=o,I=lb(p,4,0,g,0,j+8|0),N[H+4>>2]=I;f=N[j+8>>2];if(f){d=f;break B}R:{if(!N[o>>2]){break R}f=0;while(1){S:{g=xb(a,j+8|0);N[N[o+4>>2]+(f<<2)>>2]=g;g=N[j+8>>2];if(g){break S}f=f+1|0;if(f>>>0>2]){continue}break R}break}d=g;break D}k=k+1|0;if(k>>>0>2]){continue}break}}N[j+8>>2]=d}if(!l){break A}break B}d=85;N[j+8>>2]=85}Qa[N[p+8>>2]](p,l)}f=d;if(d){break z}f=0;break y}Em(m,p)}La=j+16|0;d=f;if(d){break k}e=r+N[i+1536>>2]|0;f=N[a+20>>2];T:{if(f){d=85;if(!(Qa[f|0](a,e,0,0)|0)){break T}break k}d=85;if(e>>>0>Q[a+4>>2]){break k}}N[a+8>>2]=e;d=yd(q+4|0,a,0,s);N[q+76>>2]=d;if(d){break k}U:{e=N[q+16>>2];if(e>>>0<=256){N[i+2024>>2]=e;h=0;f=lb(u,652,0,e,0,q+76|0);V:{W:{X:{d=N[q+76>>2];if(d){break X}if(!e){break V}d=0;if(e>>>0>=4){j=e&-4;g=i+2028|0;while(1){N[g+(d<<2)>>2]=f+T(d,652);k=d|1;N[g+(k<<2)>>2]=f+T(k,652);k=d|2;N[g+(k<<2)>>2]=f+T(k,652);k=d|3;N[g+(k<<2)>>2]=f+T(k,652);d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(e){while(1){N[(i+(d<<2)|0)+2028>>2]=f+T(d,652);d=d+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}e=s?16384:4096;g=0;while(1){d=Am(N[(i+(g<<2)|0)+2028>>2],q+4|0,g,a,r,e,i,b);if(d){break X}g=g+1|0;d=N[q+16>>2];if(g>>>0>>0){continue}break}break W}Gh(q+4|0);break k}h=d>>>0>1}if(h|!s){break U}}Gh(q+4|0);break x}j=i+3052|0;k=N[i+1216>>2];d=r+N[i+1540>>2]|0;f=La-16|0;La=f;Y:{Z:{_:{e=N[a+20>>2];$:{aa:{if(e){g=85;if(Qa[e|0](a,d,0,0)|0){break Y}N[a+8>>2]=d;g=N[a+20>>2];L[f+13|0]=0;h=a+8|0;if(!g){break aa}e=f+13|0;if((Qa[g|0](a,d,e,1)|0)!=1){break _}d=N[a+8>>2];break $}g=85;if(Q[a+4>>2]>>0){break Y}N[a+8>>2]=d;L[f+13|0]=0;h=a+8|0}if(Q[a+4>>2]<=d>>>0){break _}e=N[a>>2]+d|0}e=O[e|0];l=d+1|0;N[h>>2]=l;N[j+20>>2]=0;L[j|0]=e;g=3;ba:{switch(e|0){case 3:if(Q[a+4>>2]<=d+2>>>0){break _}e=N[a+20>>2];ca:{if(e){d=f+14|0;if((Qa[e|0](a,l,d,2)|0)!=2){break _}l=N[h>>2];break ca}e=N[a>>2];if(!e){break Z}d=e+l|0}d=O[d|0]|O[d+1|0]<<8;N[h>>2]=l+2;d=(d<<8|d>>>8)&65535;if(!d){break Y}k=T(d,3)+2|0;break;case 0:break ba;default:break Y}}N[j+12>>2]=k;g=dc(a,k,j+8|0);break Y}g=85;break Y}N[h>>2]=d+3}La=f+16|0;Gh(q+4|0);d=g;if(!d){break x}break k}N[i+2024>>2]=0}if(!N[i+1484>>2]){d=3;break k}N[i+20>>2]=N[i+1216>>2];d=Hh(i+108|0,i+1352|0,0,0);if(d){break k}da:{if(s){break da}j=N[i+20>>2];if(!j){break da}m=i+1180|0;u=N[i+1504>>2]!=65535&w;k=0;o=La-16|0;La=o;f=3;p=N[a+28>>2];ea:{fa:{ga:{d=N[i+1476>>2];ha:{if(d>>>0>=3){d=d+r|0;N[m+4>>2]=d;ia:{e=N[a+20>>2];ja:{ka:{if(e){f=85;if(Qa[e|0](a,d,0,0)|0){break fa}N[a+8>>2]=d;f=N[a+20>>2];L[o+10|0]=0;h=a+8|0;if(!f){break ka}e=o+10|0;if((Qa[f|0](a,d,e,1)|0)!=1){break ia}d=N[a+8>>2];break ja}f=85;if(Q[a+4>>2]>>0){break fa}N[a+8>>2]=d;L[o+10|0]=0;h=a+8|0}if(Q[a+4>>2]<=d>>>0){break ia}e=N[a>>2]+d|0}e=O[e|0];N[h>>2]=d+1;N[m>>2]=e;d=0;if((j|0)<0){f=6;break ga}la:{ma:{na:{if(j){f=10;if((j|0)>1073741823){break ga}e=j<<1;d=Qa[N[p+4>>2]](p,e)|0;if(!d|(j|0)<=0){break na}G(d,0,e)}N[m+8>>2]=d;l=m+8|0;break ma}N[m+8>>2]=d;if(!d){break la}l=m+8|0}M[d>>1]=0;f=3;oa:{switch(N[m>>2]){case 0:f=Bb(a,(j<<1)-2|0);if(f){break fa}pa:{if(j>>>0<2){break pa}d=N[a+32>>2];e=N[l>>2];h=N[a+36>>2];qa:{if((j|0)==2){g=1;break qa}f=j-1|0;l=f&1;t=f&-2;g=1;while(1){ra:{if(h>>>0<=d+1>>>0){f=0;break ra}f=O[d|0]|O[d+1|0]<<8;f=f<<8|f>>>8;d=d+2|0}N[a+32>>2]=d;M[e+(g<<1)>>1]=f;f=0;if(h>>>0>d+1>>>0){f=O[d|0]|O[d+1|0]<<8;f=f<<8|f>>>8;d=d+2|0}N[a+32>>2]=d;M[e+(g+1<<1)>>1]=f;g=g+2|0;k=k+2|0;if((t|0)!=(k|0)){continue}break}if(!l){break pa}}f=0;if(h>>>0>d+1>>>0){f=O[d|0]|O[d+1|0]<<8;f=f<<8|f>>>8;d=d+2|0}N[a+32>>2]=d;M[e+(g<<1)>>1]=f}if(N[a+20>>2]){d=N[a>>2];if(d){e=N[a+28>>2];Qa[N[e+8>>2]](e,d)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break ha;case 1:case 2:break oa;default:break fa}}if(j>>>0<2){break ha}e=N[a+8>>2];d=1;while(1){sa:{ta:{ua:{if(Q[a+4>>2]<=e+1>>>0){break ua}g=N[a+20>>2];va:{if(g){f=o+11|0;if((Qa[g|0](a,e,f,2)|0)!=2){break ua}e=N[h>>2];break va}f=N[a>>2];if(!f){break ta}f=e+f|0}f=O[f|0]|O[f+1|0]<<8;g=f<<8|f>>>8;break sa}f=85;break fa}g=0}f=e+2|0;N[h>>2]=f;wa:{xa:{ya:{if(N[m>>2]==2){za:{Aa:{if(Q[a+4>>2]<=e+3>>>0){break Aa}k=N[a+20>>2];Ba:{if(k){e=o+13|0;if((Qa[k|0](a,f,e,2)|0)!=2){break Aa}f=N[h>>2];break Ba}e=N[a>>2];if(!e){break za}e=e+f|0}k=O[e+1|0]|O[e|0]<<8;e=f+2|0;break ya}f=85;break fa}k=0;e=f+2|0;break ya}L[o+15|0]=0;k=N[a+20>>2];Ca:{if(k){e=o+15|0;if((Qa[k|0](a,f,e,1)|0)!=1){break xa}f=N[h>>2];break Ca}if(Q[a+4>>2]<=f>>>0){break xa}e=N[a>>2]+f|0}k=O[e|0];e=f+1|0}N[h>>2]=e;if(d>>>0>=j>>>0){break wa}f=g&65535;k=f>>>0>(k^65535)>>>0?f^65535:k;t=N[l>>2];f=0;while(1){M[t+(d<<1)>>1]=g;d=d+1|0;if(j>>>0<=d>>>0){break wa}g=g+1|0;A=f>>>0>>0;f=f+1|0;if(A){continue}break}break wa}f=85;break fa}if(d>>>0>>0){continue}break}break ha}f=!d<<6;break fa}N[m>>2]=0;f=85;break fa}N[m+4>>2]=d;Da:{Ea:{Fa:{Ga:{Ha:{switch(d|0){case 0:if(j>>>0>229){break fa}if(!j){d=j<<1;g=0;break Ea}d=j<<1;g=Qa[N[p+4>>2]](p,d)|0;if(!(!g|(j|0)<=0)){G(g,0,d);break Ea}N[m+8>>2]=g;if(g){break Da}f=!g<<6;break fa;case 1:if(j>>>0>166){break fa}if(!j){d=j<<1;g=0;break Ga}d=j<<1;g=Qa[N[p+4>>2]](p,d)|0;if(!(!g|(j|0)<=0)){G(g,0,d);break Ga}N[m+8>>2]=g;if(g){break Fa}f=!g<<6;break fa;case 2:break Ha;default:break fa}}if(j>>>0>87){break fa}Ia:{Ja:{if(!j){d=j<<1;g=0;break Ja}d=j<<1;g=Qa[N[p+4>>2]](p,d)|0;if(!(!g|(j|0)<=0)){G(g,0,d);break Ja}N[m+8>>2]=g;if(g){break Ia}f=!g<<6;break fa}N[m+8>>2]=g}B(g,266160,d);break ha}N[m+8>>2]=g}B(g,265824,d);break ha}N[m+8>>2]=g}B(g,33600,d)}if(!u){f=0;break ea}f=0;N[o+4>>2]=0;if(N[m+16>>2]){break ea}l=j&3;h=N[m+8>>2];k=0;Ka:{if(j>>>0<4){g=0;d=0;break Ka}d=j&-4;g=0;e=0;while(1){u=e<<1;t=P[h+(u|6)>>1];A=P[h+(u|4)>>1];C=P[h+(u|2)>>1];u=P[h+u>>1];g=g&65535;g=g>>>0>>0?u:g;g=g>>>0>>0?C:g;g=g>>>0>>0?A:g;g=g>>>0>>0?t:g;e=e+4|0;if((e|0)!=(d|0)){continue}break}}if(l){while(1){e=P[h+(d<<1)>>1];g=g&65535;g=e>>>0>g>>>0?e:g;d=d+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}k=g&65535;h=lb(p,2,0,k+1|0,0,o+4|0);N[m+12>>2]=h;d=N[o+4>>2];if(!d){La:{if((j|0)<=0){break La}d=N[m+8>>2];g=j;if(l){e=0;while(1){g=g-1|0;M[h+(P[d+(g<<1)>>1]<<1)>>1]=g;e=e+1|0;if((l|0)!=(e|0)){continue}break}}if(j>>>0<4){break La}while(1){e=g-1|0;M[h+(P[d+(e<<1)>>1]<<1)>>1]=e;e=g-2|0;M[h+(P[d+(e<<1)>>1]<<1)>>1]=e;e=g-3|0;M[h+(P[d+(e<<1)>>1]<<1)>>1]=e;g=g-4|0;M[h+(P[d+(g<<1)>>1]<<1)>>1]=g;if(e>>>0>1){continue}break}}N[m+20>>2]=j;N[m+16>>2]=k;break ea}f=d;break fa}N[m+8>>2]=0}d=N[m+8>>2];if(d){Qa[N[p+8>>2]](p,d)}N[m+8>>2]=0;d=N[m+12>>2];if(d){Qa[N[p+8>>2]](p,d)}N[m>>2]=0;N[m+4>>2]=0;N[m+12>>2]=0}La=o+16|0;d=f;if(d){break k}if(N[i+1504>>2]!=65535){break da}j=i+144|0;g=N[i+20>>2];e=a;d=N[i+1480>>2];u=0;p=La-16|0;La=p;a=3;Ma:{if(!N[m+8>>2]){break Ma}f=j+12|0;G(f,0,1024);Na:{Oa:{Pa:{if(d>>>0>=2){l=d+r|0;N[j+4>>2]=l;d=N[e+20>>2];Qa:{Ra:{if(d){a=85;if(Qa[d|0](e,l,0,0)|0){break Ma}N[e+8>>2]=l;d=N[e+20>>2];L[p+12|0]=0;k=e+8|0;if(!d){break Ra}a=p+12|0;if((Qa[d|0](e,l,a,1)|0)!=1){break Pa}l=N[e+8>>2];break Qa}a=85;if(Q[e+4>>2]>>0){break Ma}N[e+8>>2]=l;L[p+12|0]=0;k=e+8|0}if(Q[e+4>>2]<=l>>>0){break Pa}a=N[e>>2]+l|0}d=O[a|0];a=l+1|0;N[e+8>>2]=a;N[j>>2]=d;N[p+8>>2]=0;L[p+13|0]=0;f=N[e+20>>2];Sa:{if(f){d=p+13|0;if((Qa[f|0](e,a,d,1)|0)!=1){break Oa}a=N[k>>2];break Sa}if(Q[e+4>>2]<=a>>>0){break Oa}d=N[e>>2]+a|0}o=O[d|0];h=a+1|0;N[k>>2]=h;a=3;Ta:{Ua:{switch(N[j>>2]&127){case 0:N[j+8>>2]=o+1;a=Bb(e,o);N[p+8>>2]=a;if(a){break Ma}Va:{if(!o){break Va}a=1;l=N[e+32>>2];if((o|0)!=1){h=o&254;f=0;while(1){if(a>>>0>>0){d=j+(O[l|0]<<1)|0;M[d+524>>1]=a;M[d+12>>1]=P[N[m+8>>2]+(a<<1)>>1]}d=a+1|0;if(d>>>0>>0){k=j+(O[l+1|0]<<1)|0;M[k+524>>1]=d;M[k+12>>1]=P[N[m+8>>2]+(d<<1)>>1]}l=l+2|0;a=a+2|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(!(o&1)|a>>>0>=g>>>0){break Va}d=j+(O[l|0]<<1)|0;M[d+524>>1]=a;M[d+12>>1]=P[N[m+8>>2]+(a<<1)>>1]}if(N[e+20>>2]){a=N[e>>2];if(a){d=N[e+28>>2];Qa[N[d+8>>2]](d,a)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;break Ta;case 1:break Ua;default:break Ma}}N[j+8>>2]=0;if(!o){break Ta}f=1;while(1){a=f;L[p+14|0]=0;f=N[e+20>>2];Wa:{if(f){d=p+14|0;if((Qa[f|0](e,h,d,1)|0)!=1){break Oa}h=N[k>>2];break Wa}if(Q[e+4>>2]<=h>>>0){break Oa}d=N[e>>2]+h|0}l=O[d|0];f=h+1|0;N[e+8>>2]=f;L[p+15|0]=0;h=N[e+20>>2];Xa:{if(h){d=p+15|0;if((Qa[h|0](e,f,d,1)|0)!=1){break Oa}f=N[k>>2];break Xa}if(Q[e+4>>2]<=f>>>0){break Oa}d=N[e>>2]+f|0}r=O[d|0];h=f+1|0;N[k>>2]=h;f=r+1|0;d=N[j+8>>2];if(r>>>0>=d>>>0){N[j+8>>2]=f;d=f}f=a+f|0;Ya:{if(f>>>0<=a>>>0){break Ya}if(!(r&1)){if(a>>>0>>0){t=j+(l<<1)|0;M[t+524>>1]=a;M[t+12>>1]=P[N[m+8>>2]+(a<<1)>>1]}l=l+1|0;a=a+1|0}if(!r){break Ya}while(1){if(!(l>>>0>255|a>>>0>=g>>>0)){r=j+(l<<1)|0;M[r+524>>1]=a;M[r+12>>1]=P[N[m+8>>2]+(a<<1)>>1]}r=a+1|0;Za:{if(r>>>0>=g>>>0){break Za}t=l+1|0;if(t>>>0>255){break Za}t=j+(t<<1)|0;M[t+524>>1]=r;M[t+12>>1]=P[N[m+8>>2]+(r<<1)>>1]}l=l+2|0;a=a+2|0;if((f|0)!=(a|0)){continue}break}}u=u+1|0;if((o|0)!=(u|0)){continue}break}N[p+8>>2]=0;if(d>>>0<257){break Ta}N[j+8>>2]=256}a=0;if(!(O[j|0]&128)){break Ma}d=Od(e,p+8|0);a=N[p+8>>2];if(a|!d){break Ma}h=d&255;d=0;while(1){f=p+8|0;k=Od(e,f);a=N[p+8>>2];if(a){break Ma}f=xb(e,f);a=N[p+8>>2];if(a){break Ma}k=j+((k&255)<<1)|0;M[k+12>>1]=f;_a:{if(!g){break _a}l=N[m+8>>2];a=0;while(1){if((f|0)==P[l+(a<<1)>>1]){M[k+524>>1]=a;break _a}a=a+1|0;if((g|0)!=(a|0)){continue}break}}a=0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break Ma}$a:{ab:{switch(d|0){case 0:B(f,30800,512);break $a;case 1:break ab;default:break Ma}}B(f,34064,512)}N[j+8>>2]=0;d=N[m+16>>2];if(!d){o=N[e+28>>2];if(g){k=g&3;e=N[m+8>>2];f=0;bb:{if(g>>>0<4){a=0;l=0;break bb}l=g&-4;a=0;d=0;while(1){h=d<<1;r=P[e+(h|6)>>1];u=P[e+(h|4)>>1];t=P[e+(h|2)>>1];h=P[e+h>>1];a=a&65535;a=a>>>0>>0?h:a;a=a>>>0>>0?t:a;a=a>>>0>>0?u:a;a=a>>>0>>0?r:a;d=d+4|0;if((l|0)!=(d|0)){continue}break}}if(k){while(1){d=P[e+(l<<1)>>1];a=a&65535;a=a>>>0>>0?d:a;l=l+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}d=a&65535}else{d=0}a=(d<<1)+2|0;e=Qa[N[o+4>>2]](o,a)|0;if(!e){break Na}f=0;G(e,0,a);N[m+12>>2]=e;cb:{if((g|0)<=0){break cb}h=N[m+8>>2];a=g;k=a&3;if(k){while(1){a=a-1|0;M[e+(P[h+(a<<1)>>1]<<1)>>1]=a;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if(g>>>0<4){break cb}while(1){f=a-1|0;M[e+(P[h+(f<<1)>>1]<<1)>>1]=f;f=a-2|0;M[e+(P[h+(f<<1)>>1]<<1)>>1]=f;f=a-3|0;M[e+(P[h+(f<<1)>>1]<<1)>>1]=f;a=a-4|0;M[e+(P[h+(a<<1)>>1]<<1)>>1]=a;if(f>>>0>1){continue}break}}N[m+20>>2]=g;N[m+16>>2]=d}a=0;while(1){db:{eb:{e=j+(a<<1)|0;f=P[e+12>>1];if(!f|d>>>0>>0){break eb}f=P[N[m+12>>2]+(f<<1)>>1];if(!f){break eb}M[e+524>>1]=f;a=a+1|0;N[j+8>>2]=a;break db}M[e+524>>1]=0;M[e+12>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}a=0;break Ma}N[j>>2]=0}a=85;break Ma}N[m+12>>2]=0;a=64}La=p+16|0;d=a;if(a){break k}}H=i,I=Gm(i,D),N[H+1348>>2]=I;d=0}e=N[q+40>>2];fb:{if(!e){break fb}a=N[e+28>>2];f=N[q+72>>2];if(!(!f|!N[e+20>>2])){Qa[N[a+8>>2]](a,f)}e=N[q+68>>2];if(!e){break fb}Qa[N[a+8>>2]](a,e)}La=q+80|0;h=d;if(d){break a}if((c|0)<0){N[b>>2]=N[i+16>>2];h=0;break a}N[i+3088>>2]=n;N[i+3084>>2]=x;N[i+3080>>2]=y;j=c&65535;N[b+4>>2]=j;N[b+16>>2]=N[i+20>>2];if(N[i+1504>>2]==65535){h=11;if(!x){break a}}gb:{if(!(N[b+8>>2]&256)|c>>>0<65536){break gb}d=N[b+548>>2];if(!d){break gb}a=N[b+552>>2];h=Qa[N[d+28>>2]](b,c>>>16|0)|0;if(h){break a}if(!a){break gb}Qa[N[a+28>>2]](b)}if(!O[i+1436|0]){N[i+1440>>2]=w?1e3:P[b+68>>1]}c=i+1448|0;d=N[i+1432>>2];g=d;if(!d){g=N[i+1428>>2]}a=g>>31;a=(a^g)-a|0;hb:{if((a|0)==65536){n=N[i+1444>>2];a=N[i+1448>>2];break hb}H=i,I=fb(N[i+1440>>2],a),N[H+1440>>2]=I;H=i,I=fb(N[i+1420>>2],a),N[H+1420>>2]=I;e=i+1428|0;H=e,I=fb(N[e>>2],a),N[H>>2]=I;e=i+1424|0;H=e,I=fb(N[e>>2],a),N[H>>2]=I;H=i,I=fb(d,a),N[H+1432>>2]=I;n=fb(N[i+1444>>2],a);a=fb(N[i+1448>>2],a)}N[c>>2]=a>>16;N[i+1444>>2]=n>>16;f=N[i+2024>>2];if(f){d=i+1420|0;while(1){f=f-1|0;c=N[(i+(f<<2)|0)+2028>>2];ib:{if(O[c+64|0]){if(!O[i+1436|0]){break ib}n=1;a=N[i+1440>>2];if(a>>>0>=2){e=N[c+68>>2];n=e>>>0<=1?1:a>>>0>>0?a:e}a=c+48|0;if(!(!d|!a)){g=N[d>>2];h=N[a>>2];e=n<<16;k=jb(g,h,e);l=N[d+4>>2];y=N[a+8>>2];m=jb(l,y,e);o=g;g=N[a+4>>2];q=jb(o,g,e);o=l;l=N[a+12>>2];p=jb(o,l,e);o=N[d+8>>2];r=jb(o,h,e);h=N[d+12>>2];H=a,I=r+jb(h,y,e)|0,N[H+8>>2]=I;N[a+4>>2]=p+q;N[a>>2]=k+m;H=a,I=jb(o,g,e)+jb(h,l,e)|0,N[H+12>>2]=I}if(!(!d|(c|0)==-72)){e=N[d+8>>2];g=N[d+12>>2];h=N[c+72>>2];a=n<<16;l=jb(h,N[d>>2],a);k=N[c+76>>2];H=c,I=l+jb(k,N[d+4>>2],a)|0,N[H+72>>2]=I;H=c,I=jb(h,e,a)+jb(k,g,a)|0,N[H+76>>2]=I}H=c,I=jb(N[c+68>>2],N[i+1440>>2],n),N[H+68>>2]=I;break ib}a=N[d+4>>2];N[c+48>>2]=N[d>>2];N[c+52>>2]=a;a=N[d+12>>2];N[c+56>>2]=N[d+8>>2];N[c+60>>2]=a;a=N[i+1448>>2];N[c+72>>2]=N[i+1444>>2];N[c+76>>2]=a;N[c+68>>2]=N[i+1440>>2]}a=N[c+60>>2];n=a?a:N[c+56>>2];e=n>>31;e=(n^e)-e|0;jb:{if((e|0)==65536){a=N[c+72>>2];e=N[c+76>>2];break jb}H=c,I=fb(N[c+68>>2],e),N[H+68>>2]=I;H=c,I=fb(N[c+48>>2],e),N[H+48>>2]=I;H=c,I=fb(N[c+56>>2],e),N[H+56>>2]=I;H=c,I=fb(N[c+52>>2],e),N[H+52>>2]=I;H=c,I=fb(a,e),N[H+60>>2]=I;a=fb(N[c+72>>2],e);e=fb(N[c+76>>2],e)}N[c+76>>2]=e>>16;N[c+72>>2]=a>>16;if(f){continue}break}}l=N[i+1504>>2];if(w){N[b>>2]=N[i+16>>2];if((l|0)!=65535){a=N[i+1196>>2]+1|0}else{a=N[i+1216>>2]}N[b+16>>2]=a;N[b+52>>2]=M[i+1458>>1];a=M[i+1462>>1];N[b+56>>2]=a;N[b+60>>2]=N[i+1464>>2]+65535>>16;c=N[i+1468>>2]+65535>>16;N[b- -64>>2]=c;d=N[i+1440>>2];M[b+72>>1]=a;M[b+70>>1]=c;M[b+68>>1]=d;a=c-a|0;c=(T(d&65535,12)>>>0)/10|0;M[b+74>>1]=(a|0)>c<<16>>16?a:c;M[b+80>>1]=P[i+1406>>1];M[b+82>>1]=P[i+1410>>1];a=N[i+1388>>2];kb:{if(!a){break kb}a=Zf(i,a);if(!a){break kb}H=b,I=Nc(z,a,v+4|0),N[H+20>>2]=I}lb:{mb:{nb:{if(!N[b+20>>2]){d=Gm(i,j);N[b+20>>2]=d;if(!d){break nb}a=nb(d);ob:{if((a|0)<6){break ob}e=d+7|0;c=a+1|0;while(1){if(O[d+6|0]!=43|(O[d+5|0]-65&255)>>>0>25|((O[d+4|0]-65&255)>>>0>25|(O[d+3|0]-65&255)>>>0>25)){break ob}if((O[d+2|0]-65&255)>>>0>25|(O[d+1|0]-65&255)>>>0>25|((c|0)<8|(O[d|0]-65&255)>>>0>25)){break ob}a=c-7|0;B(d,e,a);f=(c|0)>13;c=a;if(f){continue}break}}if(!N[b+20>>2]){break nb}}h=Zf(i,N[i+1384>>2]);if(!h){break mb}f=N[b+20>>2];if(!f){break mb}g=O[h|0];if(!g){break mb}while(1){pb:{qb:{a=g&255;c=a-32|0;if(!((c|0)!=13?c:0)){if((a|0)==O[f|0]){break qb}break pb}n=f;g=O[f|0];if((a|0)==(g|0)){break qb}while(1){rb:{sb:{c=g&255;switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break mb;case 0:case 13:break sb;default:break rb}}g=O[n+1|0];f=n+1|0;n=f;if((a|0)!=(g|0)){continue}break qb}break}if(c){break mb}g=Nc(z,h,v+4|0);if(!g){break mb}c=N[b+20>>2];d=nb(c);a=nb(g);tb:{if((d|0)<=(a|0)){break tb}n=1;if((a|0)>0){while(1){if(O[c+(d-n|0)|0]!=O[(a-n|0)+g|0]){break tb}e=(a|0)==(n|0);n=n+1|0;if(!e){continue}break}}n=d+(a^-1)|0;if((n|0)<=0){break tb}while(1){a=c+n|0;d=O[a|0];e=d-32|0;if(!((1<>>0<=13:0)|(d|0)==95)){L[a+1|0]=0;break tb}a=(n|0)>1;n=n-1|0;if(a){continue}break}}break lb}f=f+1|0}g=O[h+1|0];h=h+1|0;if(g){continue}break}break mb}a=Zf(i,N[i+1544>>2]);if(!a){break mb}H=b,I=Nc(z,a,v+4|0),N[H+20>>2]=I}g=Nc(z,12199,v+4|0)}N[b+24>>2]=g;a=E?2065:2073;N[b+8>>2]=N[b+8>>2]|(O[i+1396|0]?a|4:a);g=N[i+1400>>2]!=0;a=Zf(i,N[i+1392>>2]);ub:{if(!a){break ub}if(cb(a,16733)){if(cb(a,13781)){break ub}}g=g|2}vb:{if(g&2){break vb}a=N[b+24>>2];if(!a){break vb}if(bb(a,16733,4)){if(bb(a,13781,5)){break vb}}g=g|2}N[b+12>>2]=g;l=N[i+1504>>2]}wb:{if(!(s|(l|0)!=65535)){N[b+8>>2]=N[b+8>>2]|512;break wb}if(!w|(l|0)==65535){break wb}N[b+8>>2]=N[b+8>>2]|4096;w=1}a=N[b+36>>2];xb:{if(a){c=N[b+40>>2];g=0;while(1){yb:{zb:{d=N[c+(g<<2)>>2];switch(P[d+8>>1]){case 0:break xb;case 3:break zb;default:break yb}}if(P[d+10>>1]==1){break xb}}g=g+1|0;if((a|0)!=(g|0)){continue}break}}h=0;if((l|0)!=65535&w){break a}N[v+4>>2]=b;N[v+8>>2]=1970170211;N[v+12>>2]=65539;h=Ac(30492,0,v+4|0,0);Ab:{if(!h){break Ab}c=h&255;if((c|0)==163){break Ab}if((c|0)!=7){break a}}if(N[b+92>>2]|(a|0)==N[b+36>>2]){break xb}N[b+92>>2]=N[N[b+40>>2]+(a<<2)>>2]}if(!N[i+152>>2]){h=0;break a}M[v+12>>1]=7;N[v+4>>2]=b;g=1094995778;n=0;Bb:{Cb:{switch(N[i+148>>2]){case 1:g=1094992453;n=1;break Bb;case 0:break Bb;default:break Cb}}g=1094992451;n=2}N[v+8>>2]=g;M[v+14>>1]=n;h=Ac(30452,0,v+4|0,0)}La=v+16|0;return h|0}function Bl(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;p=La-16|0;La=p;a:{b:{if(!b){m=1;if(!N[e>>2]|(!e|!f)){break a}break b}h=b+1|0;m=O[b+1|0];c:{if(O[b|0]==120){n=b;l=0;if((m&255)==45){break c}}n=0;d:{if(!(m&255)){i=h;break d}g=h;i=b;while(1){j=i;i=g;e:{if(O[j|0]!=45|O[j+2|0]!=45){break e}k=k?k:j;if((m&255)!=120){break e}n=g;break d}g=i+1|0;m=O[i+1|0];if(m){continue}break}i=g}l=k?k:i}g=0;i=0;f:{if(!c|!d|(!n|!N[c>>2])){break f}m=ub(n,17675);if(!m){break f}g:{h:{j=O[m+5|0];if((j|0)!=45){if(((j&223)-91&255)>>>0<230&(j-58&255)>>>0<=245){break f}i=(j-65&255)>>>0<26?j+32|0:j;L[p+4|0]=i;k=O[m+6|0];if((k-48&255)>>>0>=10){j=1;if(((k&-33)-65&255)>>>0>25){break h}}k=(k-65&255)>>>0<26?k+32|0:k;L[p+5|0]=k;o=O[m+7|0];if((o-48&255)>>>0>=10){j=2;if(((o&-33)-65&255)>>>0>25){break h}}o=(o-65&255)>>>0<26?o+32|0:o;L[p+6|0]=o;m=O[m+8|0];if((m-48&255)>>>0>=10){j=3;if(((m&-33)-65&255)>>>0>25){break h}}j=(m-65&255)>>>0<26?m+32|0:m;break g}k=O[m+6|0];j=k-48|0;i=(j&255)>>>0<10;i:{j:{if(!(i|(k-97&255)>>>0<6)){i=0;j=k-65|0;if((j&255)>>>0<6){break j}break f}if(i){break i}j=k-65|0}j=((j&255)>>>0<26?k+32|0:k)-87|0}k=O[m+7|0];o=k-48|0;i=(o&255)>>>0<10;k:{l:{if(!(i|(k-97&255)>>>0<6)){i=0;o=k-65|0;if((o&255)>>>0<6){break l}break f}if(i){break k}o=k-65|0}o=((o&255)>>>0<26?k+32|0:k)-87|0}k=O[m+8|0];q=k-48|0;i=(q&255)>>>0<10;m:{n:{if(!(i|(k-97&255)>>>0<6)){i=0;q=k-65|0;if((q&255)>>>0<6){break n}break f}if(i){break m}q=k-65|0}q=((q&255)>>>0<26?k+32|0:k)-87|0}k=O[m+9|0];r=k-48|0;i=(r&255)>>>0<10;o:{p:{if(!(i|(k-97&255)>>>0<6)){i=0;r=k-65|0;if((r&255)>>>0<6){break p}break f}if(i){break o}r=k-65|0}r=((r&255)>>>0<26?k+32|0:k)-87|0}k=O[m+10|0];s=k-48|0;i=(s&255)>>>0<10;q:{r:{s:{if(!(i|(k-97&255)>>>0<6)){i=0;if((k-65&255)>>>0<6){break s}break f}if(i){break q}if((k-65&255)>>>0>25){break r}}k=k+32|0}s=k-87|0}k=O[m+11|0];t=k-48|0;i=(t&255)>>>0<10;t:{u:{v:{if(!(i|(k-97&255)>>>0<6)){i=0;if((k-65&255)>>>0<6){break v}break f}if(i){break t}if((k-65&255)>>>0>25){break u}}k=k+32|0}t=k-87|0}k=O[m+12|0];u=k-48|0;i=(u&255)>>>0<10;w:{x:{y:{if(!(i|(k-97&255)>>>0<6)){i=0;if((k-65&255)>>>0<6){break y}break f}if(i){break w}if((k-65&255)>>>0>25){break x}}k=k+32|0}u=k-87|0}m=O[m+13|0];v=m-48|0;i=(v&255)>>>0<10;z:{A:{B:{if(!(i|(m-97&255)>>>0<6)){i=0;if((m-65&255)>>>0<6){break B}break f}if(i){break z}if((m-65&255)>>>0>25){break A}}m=m+32|0}v=m-87|0}i=(j<<4)+o|0;k=(q<<4)+r|0;o=(s<<4)+t|0;j=(u<<4)+v|0;break g}G((p+4|0)+j|0,32,4-j|0);o=O[p+6|0];k=O[p+5|0];i=O[p+4|0];j=O[p+7|0]}i=j&255|(i<<24|(k&255)<<16|(o&255)<<8);N[d>>2]=(i&-538976289)==1145457748?i^538976288:i;i=1;N[c>>2]=1}C:{if(!f|!e|(!n|!N[e>>2])){break C}m=ub(n,8910);if(!m){break C}D:{E:{j=O[m+5|0];if((j|0)!=45){if(((j&223)-91&255)>>>0<230&(j-58&255)>>>0<=245){break C}g=(j-97&255)>>>0<26?j-32|0:j;L[p+8|0]=g;j=O[m+6|0];if((j-48&255)>>>0>=10){n=1;if(((j&-33)-65&255)>>>0>25){break E}}k=(j-97&255)>>>0<26?j-32|0:j;L[p+9|0]=k;j=O[m+7|0];if((j-48&255)>>>0>=10){n=2;if(((j&-33)-65&255)>>>0>25){break E}}j=(j-97&255)>>>0<26?j-32|0:j;L[p+10|0]=j;m=O[m+8|0];if((m-48&255)>>>0>=10){n=3;if(((m&-33)-65&255)>>>0>25){break E}}n=(m-97&255)>>>0<26?m-32|0:m;break D}j=O[m+6|0];n=j-48|0;g=(n&255)>>>0<10;F:{G:{if(!(g|(j-97&255)>>>0<6)){g=0;n=j-65|0;if((n&255)>>>0<6){break G}break C}if(g){break F}n=j-65|0}n=((n&255)>>>0<26?j+32|0:j)-87|0}k=O[m+7|0];j=k-48|0;g=(j&255)>>>0<10;H:{I:{if(!(g|(k-97&255)>>>0<6)){g=0;j=k-65|0;if((j&255)>>>0<6){break I}break C}if(g){break H}j=k-65|0}j=((j&255)>>>0<26?k+32|0:k)-87|0}k=O[m+8|0];o=k-48|0;g=(o&255)>>>0<10;J:{K:{if(!(g|(k-97&255)>>>0<6)){g=0;o=k-65|0;if((o&255)>>>0<6){break K}break C}if(g){break J}o=k-65|0}o=((o&255)>>>0<26?k+32|0:k)-87|0}k=O[m+9|0];q=k-48|0;g=(q&255)>>>0<10;L:{M:{if(!(g|(k-97&255)>>>0<6)){g=0;q=k-65|0;if((q&255)>>>0<6){break M}break C}if(g){break L}q=k-65|0}q=((q&255)>>>0<26?k+32|0:k)-87|0}k=O[m+10|0];r=k-48|0;g=(r&255)>>>0<10;N:{O:{P:{if(!(g|(k-97&255)>>>0<6)){g=0;if((k-65&255)>>>0<6){break P}break C}if(g){break N}if((k-65&255)>>>0>25){break O}}k=k+32|0}r=k-87|0}k=O[m+11|0];s=k-48|0;g=(s&255)>>>0<10;Q:{R:{S:{if(!(g|(k-97&255)>>>0<6)){g=0;if((k-65&255)>>>0<6){break S}break C}if(g){break Q}if((k-65&255)>>>0>25){break R}}k=k+32|0}s=k-87|0}k=O[m+12|0];t=k-48|0;g=(t&255)>>>0<10;T:{U:{V:{if(!(g|(k-97&255)>>>0<6)){g=0;if((k-65&255)>>>0<6){break V}break C}if(g){break T}if((k-65&255)>>>0>25){break U}}k=k+32|0}t=k-87|0}m=O[m+13|0];u=m-48|0;g=(u&255)>>>0<10;W:{X:{Y:{if(!(g|(m-97&255)>>>0<6)){g=0;if((m-65&255)>>>0<6){break Y}break C}if(g){break W}if((m-65&255)>>>0>25){break X}}m=m+32|0}u=m-87|0}g=(n<<4)+j|0;k=(o<<4)+q|0;j=(r<<4)+s|0;n=(t<<4)+u|0;break D}G((p+8|0)+n|0,32,4-n|0);j=O[p+10|0];k=O[p+9|0];g=O[p+8|0];n=O[p+11|0]}g=n&255|(g<<24|(k&255)<<16|(j&255)<<8);N[f>>2]=(g&-538976289)==1145457748?g^538976288:g;g=1;N[e>>2]=1}m=i^1;if(!f|!e|(!N[e>>2]|g)){break a}Z:{n=l-b|0;if((n|0)<7){break Z}i=jc(b,45);if(!i|i>>>0>=l>>>0){break Z}k=l-i|0;if((k|0)<5){break Z}_:{if(k>>>0<8){break _}j=i;$:{while(1){g=ub(j,18424);if(!g|g>>>0>=l>>>0){break $}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1095782472;h=1;break b}j=i;aa:{while(1){g=ub(j,12699);if(!g|g>>>0>=l>>>0){break aa}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1346851360;h=1;break b}j=i;ba:{while(1){g=ub(j,18443);if(!g|g>>>0>=l>>>0){break ba}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1213809952;h=1;break b}j=i;while(1){g=ub(j,17740);if(!g|g>>>0>=l>>>0){break _}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1347571488;h=1;break b}g=i;if(k>>>0>6){ca:{while(1){j=ub(g,18416);if(!j|j>>>0>=l>>>0){break ca}g=j+7|0;j=O[j+7|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1230000200;h=1;break b}g=i}da:{while(1){j=ub(g,13563);if(!j|j>>>0>=l>>>0){break da}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1262961952;h=1;break b}g=i;ea:{while(1){j=ub(g,15487);if(!j|j>>>0>=l>>>0){break ea}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1398362693;h=1;break b}g=i;fa:{while(1){j=ub(g,13860);if(!j|j>>>0>=l>>>0){break fa}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1398362698;h=1;break b}if(!Ab(i,l,12549,5)){break Z}N[f>>2]=1398362702;h=1;break b}ga:{ha:{ia:{ja:{switch(L[b|0]-97|0){case 0:if(cb(h,13122)){break ia}N[f>>2]=1245859616;h=1;break b;case 2:ka:{g=l-h|0;la:{if(g>>>0>=10){ma:{if(bb(h,13650,10)){break ma}g=O[b+11|0];if(g?(g|0)!=45:0){break ma}N[f>>2]=1514686496;h=1;break b}na:{if(bb(h,12420,10)){break na}g=O[b+11|0];if(g?(g|0)!=45:0){break na}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}oa:{if(bb(h,13584,10)){break oa}g=O[b+11|0];if(g?(g|0)!=45:0){break oa}N[f>>2]=1514686496;h=1;break b}pa:{if(bb(h,12354,10)){break pa}g=O[b+11|0];if(g?(g|0)!=45:0){break pa}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}qa:{if(bb(h,13672,10)){break qa}g=O[b+11|0];if(g?(g|0)!=45:0){break qa}N[f>>2]=1514686496;h=1;break b}ra:{if(bb(h,12442,10)){break ra}g=O[b+11|0];if(g?(g|0)!=45:0){break ra}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}sa:{if(bb(h,13628,10)){break sa}g=O[b+11|0];if(g?(g|0)!=45:0){break sa}N[f>>2]=1514686496;h=1;break b}ta:{if(bb(h,12398,10)){break ta}g=O[b+11|0];if(g?(g|0)!=45:0){break ta}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}ua:{if(bb(h,13595,10)){break ua}g=O[b+11|0];if(g?(g|0)!=45:0){break ua}N[f>>2]=1514686496;h=1;break b}va:{if(bb(h,12365,10)){break va}g=O[b+11|0];if(g?(g|0)!=45:0){break va}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}wa:{if(bb(h,13617,10)){break wa}g=O[b+11|0];if(g?(g|0)!=45:0){break wa}N[f>>2]=1514686496;h=1;break b}xa:{if(bb(h,12387,10)){break xa}g=O[b+11|0];if(g?(g|0)!=45:0){break xa}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}ya:{if(bb(h,13705,10)){break ya}g=O[b+11|0];if(g?(g|0)!=45:0){break ya}N[f>>2]=1514686496;h=1;break b}za:{if(bb(h,12475,10)){break za}g=O[b+11|0];if(g?(g|0)!=45:0){break za}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}Aa:{if(bb(h,13639,10)){break Aa}g=O[b+11|0];if(g?(g|0)!=45:0){break Aa}N[f>>2]=1514686496;h=1;break b}if(bb(h,12409,10)){break la}g=O[b+11|0];if(g?(g|0)!=45:0){break la}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break ka}}Ba:{if(bb(h,10737,7)){break Ba}g=O[b+8|0];if(g?(g|0)!=45:0){break Ba}N[f>>2]=1514689312;h=1;break b}Ca:{if(bb(h,9378,7)){break Ca}g=O[b+8|0];if(g?(g|0)!=45:0){break Ca}N[f>>2]=1514689568;h=1;break b}Da:{if(bb(h,10689,7)){break Da}g=O[b+8|0];if(g?(g|0)!=45:0){break Da}N[f>>2]=1514689312;h=1;break b}Ea:{if(bb(h,9330,7)){break Ea}g=O[b+8|0];if(g?(g|0)!=45:0){break Ea}N[f>>2]=1514689568;h=1;break b}Fa:{if(bb(h,10753,7)){break Fa}g=O[b+8|0];if(g?(g|0)!=45:0){break Fa}N[f>>2]=1514689312;h=1;break b}Ga:{if(bb(h,9394,7)){break Ga}g=O[b+8|0];if(g?(g|0)!=45:0){break Ga}N[f>>2]=1514689568;h=1;break b}Ha:{if(bb(h,10721,7)){break Ha}g=O[b+8|0];if(g?(g|0)!=45:0){break Ha}N[f>>2]=1514689312;h=1;break b}Ia:{if(bb(h,9362,7)){break Ia}g=O[b+8|0];if(g?(g|0)!=45:0){break Ia}N[f>>2]=1514689568;h=1;break b}Ja:{if(bb(h,10697,7)){break Ja}g=O[b+8|0];if(g?(g|0)!=45:0){break Ja}N[f>>2]=1514689312;h=1;break b}Ka:{if(bb(h,9338,7)){break Ka}g=O[b+8|0];if(g?(g|0)!=45:0){break Ka}N[f>>2]=1514689568;h=1;break b}La:{if(bb(h,10713,7)){break La}g=O[b+8|0];if(g?(g|0)!=45:0){break La}N[f>>2]=1514689312;h=1;break b}Ma:{if(bb(h,9354,7)){break Ma}g=O[b+8|0];if(g?(g|0)!=45:0){break Ma}N[f>>2]=1514689568;h=1;break b}Na:{if(bb(h,10777,7)){break Na}g=O[b+8|0];if(g?(g|0)!=45:0){break Na}N[f>>2]=1514689312;h=1;break b}Oa:{if(bb(h,9418,7)){break Oa}g=O[b+8|0];if(g?(g|0)!=45:0){break Oa}N[f>>2]=1514689568;h=1;break b}Pa:{if(bb(h,10729,7)){break Pa}g=O[b+8|0];if(g?(g|0)!=45:0){break Pa}N[f>>2]=1514689312;h=1;break b}if(bb(h,9370,7)){break ka}g=O[b+8|0];if(g?(g|0)!=45:0){break ka}N[f>>2]=1514689568;h=1;break b}Qa:{if(bb(h,22513,3)){break Qa}Ra:{if(n>>>0<3){break Ra}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break Ra}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Qa}N[f>>2]=1514689568;h=1;break b}Sa:{if(bb(h,22485,3)){break Sa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Sa}N[f>>2]=1514689568;h=1;break b}Ta:{if(bb(h,22521,3)){break Ta}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Ta}N[f>>2]=1514689568;h=1;break b}Ua:{if(bb(h,22505,3)){break Ua}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Ua}N[f>>2]=1514689568;h=1;break b}Va:{if(bb(h,22489,3)){break Va}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Va}N[f>>2]=1514689568;h=1;break b}Wa:{if(bb(h,22501,3)){break Wa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Wa}N[f>>2]=1514689568;h=1;break b}Xa:{if(bb(h,22533,3)){break Xa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Xa}N[f>>2]=1514689568;h=1;break b}if(bb(h,22509,3)){break ia}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break ia}N[f>>2]=1514689568;h=1;break b;case 6:Ya:{Za:{_a:{g=l-h|0;$a:{if(g>>>0>=10){ab:{if(bb(h,13683,10)){break ab}g=O[b+11|0];if(g?(g|0)!=45:0){break ab}N[f>>2]=1514686496;h=1;break b}if(bb(h,12453,10)){break $a}g=O[b+11|0];if(g?(g|0)!=45:0){break $a}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break _a}}bb:{if(bb(h,10761,7)){break bb}g=O[b+8|0];if(g?(g|0)!=45:0){break bb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9402,7)){break Za}g=O[b+8|0];if(g?(g|0)!=45:0){break Za}N[f>>2]=1514689568;h=1;break b}if((g|0)!=6){break Ya}}if(bb(h,14515,6)){break Ya}g=O[b+7|0];if(g?(g|0)!=45:0){break Ya}N[f>>2]=1230132256;h=1;break b}if(bb(h,22525,3)){break ia}cb:{if(n>>>0<3){break cb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break cb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break ia}N[f>>2]=1514689568;h=1;break b;case 7:db:{g=l-h|0;eb:{if(g>>>0>=10){fb:{if(bb(h,13694,10)){break fb}g=O[b+11|0];if(g?(g|0)!=45:0){break fb}N[f>>2]=1514686496;h=1;break b}gb:{if(bb(h,12464,10)){break gb}g=O[b+11|0];if(g?(g|0)!=45:0){break gb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}hb:{if(bb(h,13661,10)){break hb}g=O[b+11|0];if(g?(g|0)!=45:0){break hb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12431,10)){break eb}g=O[b+11|0];if(g?(g|0)!=45:0){break eb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break db}}ib:{if(bb(h,10769,7)){break ib}g=O[b+8|0];if(g?(g|0)!=45:0){break ib}N[f>>2]=1514689312;h=1;break b}jb:{if(bb(h,9410,7)){break jb}g=O[b+8|0];if(g?(g|0)!=45:0){break jb}N[f>>2]=1514689568;h=1;break b}kb:{if(bb(h,10745,7)){break kb}g=O[b+8|0];if(g?(g|0)!=45:0){break kb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9386,7)){break db}g=O[b+8|0];if(g?(g|0)!=45:0){break db}N[f>>2]=1514689568;h=1;break b}lb:{if(bb(h,22529,3)){break lb}mb:{if(n>>>0<3){break mb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break mb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break lb}N[f>>2]=1514689568;h=1;break b}if(bb(h,22517,3)){break ia}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break ia}N[f>>2]=1514689568;h=1;break b;case 8:if(!cb(h,12493)){N[f>>2]=1312904736;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1096042528;break b}if(!cb(h,13825)){N[f>>2]=1514689312;h=1;break b}if(cb(h,7983)){break ia}N[f>>2]=1280596512;h=1;break b;case 11:if(l-h>>>0<7){break ia}if(bb(h,10777,7)){break ia}g=O[b+8|0];if(g?(g|0)!=45:0){break ia}N[f>>2]=1514689312;h=1;break b;case 12:nb:{g=l-h|0;ob:{if(g>>>0>=10){pb:{if(bb(h,13628,10)){break pb}g=O[b+11|0];if(g?(g|0)!=45:0){break pb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12398,10)){break ob}g=O[b+11|0];if(g?(g|0)!=45:0){break ob}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break nb}}qb:{if(bb(h,10721,7)){break qb}g=O[b+8|0];if(g?(g|0)!=45:0){break qb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9362,7)){break nb}g=O[b+8|0];if(g?(g|0)!=45:0){break nb}N[f>>2]=1514689568;h=1;break b}rb:{if(bb(h,22505,3)){break rb}sb:{if(n>>>0<3){break sb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break sb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break rb}N[f>>2]=1514689568;h=1;break b}if(bb(h,22493,3)){break ia}if(!Ab(b,l,14039,3)){break ia}N[f>>2]=1297043028;h=1;break b;case 13:tb:{g=l-h|0;ub:{if(g>>>0>=10){vb:{if(bb(h,13683,10)){break vb}g=O[b+11|0];if(g?(g|0)!=45:0){break vb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12453,10)){break ub}g=O[b+11|0];if(g?(g|0)!=45:0){break ub}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break tb}}wb:{if(bb(h,10761,7)){break wb}g=O[b+8|0];if(g?(g|0)!=45:0){break wb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9402,7)){break tb}g=O[b+8|0];if(g?(g|0)!=45:0){break tb}N[f>>2]=1514689568;h=1;break b}xb:{if(bb(h,22525,3)){break xb}yb:{if(n>>>0<3){break yb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break yb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break xb}N[f>>2]=1514689568;h=1;break b}if(!cb(h,13569)){N[f>>2]=1313821216;h=1;break b}if(cb(h,12537)){break ia}N[f>>2]=1314475552;h=1;break b;case 17:if(bb(h,22514,2)|n>>>0<3){break ia}g=b;while(1){i=ub(g,16705);if(!i|i>>>0>=l>>>0){break ia}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break};N[f>>2]=1297042464;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1380928800;break b;case 22:zb:{g=l-h|0;Ab:{if(g>>>0>=10){Bb:{if(bb(h,13606,10)){break Bb}g=O[b+11|0];if(g?(g|0)!=45:0){break Bb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12376,10)){break Ab}g=O[b+11|0];if(g?(g|0)!=45:0){break Ab}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break zb}}Cb:{if(bb(h,10705,7)){break Cb}g=O[b+8|0];if(g?(g|0)!=45:0){break Cb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9346,7)){break zb}g=O[b+8|0];if(g?(g|0)!=45:0){break zb}N[f>>2]=1514689568;h=1;break b}if(bb(h,22497,3)){break ia}Db:{if(n>>>0<3){break Db}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break Db}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break ia}N[f>>2]=1514689568;h=1;break b;case 24:if(l-h>>>0<7){break ia}if(bb(h,10785,7)){break ia}g=O[b+8|0];if(g?(g|0)!=45:0){break ia}N[f>>2]=1514689312;h=1;break b;case 25:break ja;default:break ia}}Eb:{g=l-h|0;if(g>>>0<9){break Eb}Fb:{if(bb(h,13706,9)){break Fb}i=O[b+10|0];if(i?(i|0)!=45:0){break Fb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12476,9)){break Eb}i=O[b+10|0];if(i?(i|0)!=45:0){break Eb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(!cb(h,13112)){N[f>>2]=1514689312;h=1;break b}Gb:{if(g>>>0<6){break Gb}Hb:{if(bb(h,10778,6)){break Hb}g=O[b+7|0];if(g?(g|0)!=45:0){break Hb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9419,6)){break Gb}g=O[b+7|0];if(g?(g|0)!=45:0){break Gb}N[f>>2]=1514689568;h=1;break b}if(!cb(h,12843)){N[f>>2]=1514689312;h=1;break b}if(bb(h,22534,2)){break ia}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break ha}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break ia}N[f>>2]=1514689568;h=1;break b}i=jc(b,45);Ib:{if(!i|(n|0)<6){break Ib}g=i+1|0;j=jc(g,45);Jb:{if(j){j=j+(i^-1)|0;break Jb}j=nb(g)}if((j|0)!=3){break Ib}b=((O[g|0]&223)-65&255)>>>0<26?g:b}n=203;g=179952;Kb:{Lb:{Mb:{j=jc(b,45);h=j?j:l;l=h-b|0;switch(l-2|0){case 0:break Lb;case 1:break Mb;default:break Kb}}n=1209;g=181584}j=0;Nb:{if((b|0)==(h|0)){break Nb}h=O[b|0];j=0;if(!h){break Nb}L[p+12|0]=h;j=O[b+1|0];Ob:{if(!j){h=1;break Ob}L[p+13|0]=j;h=2;if(((l>>>0>=4?4:l)|0)==2){break Ob}j=O[b+2|0];if(!j){break Ob}L[p+14|0]=j;h=3}G((p+12|0)+h|0,32,4-h|0);j=O[p+12|0]|O[p+13|0]<<8|(O[p+14|0]<<16|O[p+15|0]<<24);j=j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24)}h=N[147448];l=j;if(n>>>0>h>>>0&(j|0)==N[(h<<3)+g>>2]){break ga}k=n-1|0;j=0;while(1){h=j+k>>>1|0;o=N[(h<<3)+g>>2];Pb:{if(o>>>0>l>>>0){k=h-1|0;break Pb}if(l>>>0<=o>>>0){break ga}j=h+1|0}if((j|0)<=(k|0)){continue}break}}h=0;if(!i){i=nb(b)+b|0}if((i-b|0)!=3){break b}g=0;i=La-16|0;Qb:{if(!b){break Qb}j=O[b|0];if(!j){break Qb}L[i+12|0]=j;j=O[b+1|0];g=1;Rb:{if(!j){break Rb}L[i+13|0]=j;b=O[b+2|0];g=2;if(!b){break Rb}L[i+14|0]=b;g=3}G(g+(i+12|0)|0,32,4-g|0);g=O[i+15|0]|(O[i+13|0]<<16|O[i+12|0]<<24|O[i+14|0]<<8)}N[f>>2]=g&-538976257}h=1;break b}N[147448]=h;while(1){Sb:{i=h;if(!h){i=0;break Sb}h=i-1|0;if(N[(i<<3)+g>>2]==N[(h<<3)+g>>2]){continue}}break}if(!N[e>>2]){h=0;break b}b=(i<<3)+g|0;h=0;while(1){j=h+i|0;if(j>>>0>=n>>>0){break b}j=(j<<3)+g|0;l=N[j+4>>2];if(!l|N[j>>2]!=N[b>>2]){break b}N[(h<<2)+f>>2]=l;h=h+1|0;if(h>>>0>2]){continue}break}}N[e>>2]=h}if(!(!d|!c|(!m|!N[c>>2]))){i=0;Tb:{Ub:{Vb:{Wb:{Xb:{Yb:{Zb:{_b:{$b:{if((a|0)<=1298954604){if((a|0)<=1198877297){h=1651402546;if((a|0)==1113943655){break Wb}if((a|0)!=1147500129){break Ub}h=1684370994;break Wb}if((a|0)==1198877298){break $b}if((a|0)==1198879349){break _b}if((a|0)!=1265525857){break Ub}h=1802396722;break Wb}if((a|0)<=1332902240){if((a|0)==1298954605){break Zb}h=1836674354;if((a|0)==1299803506){break Vb}break Ub}if((a|0)==1332902241){break Yb}if((a|0)==1415671148){break Xb}if((a|0)!=1415933045){break Ub}h=1952803890;break Wb}h=1735029298;break Wb}h=1735750194;break Wb}h=1835822386;break Wb}h=1869773106;break Wb}h=1953328178}N[d>>2]=h|51;i=1;if(Q[c>>2]<2){break Tb}}N[(i<<2)+d>>2]=h;i=i+1|0;if(i>>>0>=Q[c>>2]){break Tb}}d=(i<<2)+d|0;ac:{bc:{cc:{dc:{ec:{if((a|0)<=1315663726){if(!a){break Tb}if((a|0)==1214870113){break dc}if((a|0)!=1281453935){break ec}b=1818324768;break ac}if((a|0)<=1500080488){if((a|0)==1315663727){break bc}if((a|0)!=1449224553){break ec}b=1986095392;break ac}if((a|0)==1500080489){break cc}b=1835103336;if((a|0)==1517122664){break ac}}b=a|536870912;break ac}b=1801547361;break ac}b=2036932640;break ac}b=1852534560}N[d>>2]=b;i=i+1|0}N[c>>2]=i}La=p+16|0}function nl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0;j=La-288|0;La=j;a:{b:{c:{d:{switch((O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))>>>24|0){case 0:f=N[b+16>>2];b=N[b+12>>2];o=N[b+32>>2];if((o|0)==-1){d=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;o=(b<<8|b>>>8)&65535;N[d+32>>2]=o}N[f+64>>2]=0;if(!O[f+60|0]){break c}k=a+12|0;s=j+40|0;while(1){d=N[f+64>>2];b=0;e:{if(d>>>0>=Q[f+68>>2]){break e}e=N[N[f+80>>2]+T(d,20)>>2];b=2;if((e|0)==65535){break e}d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);d=ac(k+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,e,o);b=1;if(!d){break e}b=O[d|0]|O[d+1|0]<<8;b=(b<<8|b>>>8)&65535}d=O[k|0]|O[k+1|0]<<8|(O[k+2|0]<<16|O[k+3|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);b=e>>>0<=b>>>0?1:b;u=T(e,i);e=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);n=k+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;e=(b+u<<1)+n|0;e=O[e|0]|O[e+1|0]<<8;h=((e<<8|e>>>8)&65535)<<2;e=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);q=k+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;h=h+q|0;l=O[h|0]|O[h+1|0]<<8;e=O[h+2|0]|O[h+3|0]<<8;m=c>>>0>g>>>0;f:{g:{if(m?e&3840:0){break g}if(!(!i|!(e&64?l:1))){b=n+(b<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=q+(((b<<8|b>>>8)&65535)<<2)|0;i=O[b+2|0]|O[b+3|0]<<8;if((m?i&3840:0)|(l|0)!=(O[b|0]|O[b+1|0]<<8)|(e^i)&64){break g}}b=n+(u+!d<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!(O[(q+(((b<<8|b>>>8)&65535)<<2)|0)+3|0]&15)|c>>>0<=g>>>0){break f}}b=N[f+64>>2];d=O[f+62|0]?N[f+72>>2]:b;if(!d|b>>>0>=Q[f+68>>2]){break f}wb(f,3,d-1|0,b+1|0,1,1);e=O[h+2|0]|O[h+3|0]<<8}d=e<<8|(e&65280)>>>8;b=d&65535;g=d<<16>>16<0?N[f+64>>2]:g;if(b&8192){c=N[f+64>>2]+1|0;d=N[f+68>>2];c=d>>>0>c>>>0?c:d}d=b&15;h:{if(!d|c>>>0<=g>>>0){break h}b=c-g|0;if(b>>>0>64){break h}e=O[d+238112|0];q=e>>>4|0;d=q>>>0>=2?2:q;u=e&15;e=u>>>0>=2?2:u;t=d+e|0;if(t>>>0>b>>>0){break h}i=N[f+64>>2]+1|0;m=N[f+68>>2];i=i>>>0>>0?i:m;if(i-g>>>0>=2){Ib(f,g,i)}if(b>>>0>=2){Ib(f,g,c)}i=T(d,20);m=N[f+80>>2];b=m+T(g,20)|0;if(d){B(j,b,i)}n=T(e,20);if(e){B(s,(m+T(c,20)|0)+T(e,-20)|0,n)}if((d|0)!=(e|0)){B(b+n|0,b+i|0,T(c-(g+t|0)|0,20))}if(e){B(b,s,n)}if(d){B((m+T(c,20)|0)+T(d,-20)|0,j,i)}if((q|0)==3){e=m+T(c,20)|0;d=e-20|0;N[j+16>>2]=N[d+16>>2];i=N[d+4>>2];N[j>>2]=N[d>>2];N[j+4>>2]=i;i=N[d+12>>2];N[j+8>>2]=N[d+8>>2];N[j+12>>2]=i;e=e-40|0;N[d+16>>2]=N[e+16>>2];i=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=i;i=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=i;N[e+16>>2]=N[j+16>>2];d=N[j+12>>2];N[e+8>>2]=N[j+8>>2];N[e+12>>2]=d;d=N[j+4>>2];N[e>>2]=N[j>>2];N[e+4>>2]=d}if((u|0)!=3){break h}N[j+16>>2]=N[b+16>>2];d=N[b+4>>2];N[j>>2]=N[b>>2];N[j+4>>2]=d;d=N[b+12>>2];N[j+8>>2]=N[b+8>>2];N[j+12>>2]=d;N[b+16>>2]=N[b+36>>2];d=N[b+32>>2];N[b+8>>2]=N[b+28>>2];N[b+12>>2]=d;d=N[b+24>>2];N[b>>2]=N[b+20>>2];N[b+4>>2]=d;N[b+36>>2]=N[j+16>>2];d=N[j+12>>2];N[b+28>>2]=N[j+8>>2];N[b+32>>2]=d;d=N[j+4>>2];N[b+20>>2]=N[j>>2];N[b+24>>2]=d}d=N[f+64>>2];if(!O[f+60|0]|(d|0)==N[f+68>>2]){break c}i:{if(O[h+2|0]&64){b=N[f+152>>2];N[f+152>>2]=b-1;if((b|0)>0){break i}}if(O[f+62|0]){i=N[f+80>>2];h=N[f+84>>2];e=N[f+72>>2];if((i|0)!=(h|0)|(d|0)!=(e|0)){b=e+1|0;if(!(!b|b>>>0>2])){if(!gb(f,b)){break i}e=N[f+72>>2];i=N[f+80>>2];h=N[f+84>>2];d=N[f+64>>2]}j:{if((h|0)!=(i|0)){break j}if(e+1>>>0<=d+1>>>0){h=i;break j}if(!O[f+62|0]){break b}h=N[f+88>>2];N[f+84>>2]=h;b=T(e,20);if(!b){break j}B(h,i,b);e=N[f+72>>2];h=N[f+84>>2];d=N[f+64>>2];i=N[f+80>>2]}b=T(e,20)+h|0;d=T(d,20)+i|0;e=N[d+4>>2];N[b>>2]=N[d>>2];N[b+4>>2]=e;N[b+16>>2]=N[d+16>>2];e=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=e;d=N[f+64>>2];b=N[f+72>>2]}else{b=d}N[f+72>>2]=b+1}N[f+64>>2]=d+1}i=(l<<8|l>>>8)&65535;if(O[f+60|0]){continue}break};break c;case 1:c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);o=N[b+68>>2];d=O[o|0]|O[o+1|0]<<8;e=O[o+4|0]|O[o+5|0]<<8;f=N[b+16>>2];b=N[b+12>>2];s=N[b+32>>2];if((s|0)==-1){g=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;s=(b<<8|b>>>8)&65535;N[g+32>>2]=s}N[f+64>>2]=0;if(!O[f+60|0]){break c}m=a+12|0;q=m+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;v=!e|(d|0)!=256;b=0;while(1){d=N[f+64>>2];c=0;k:{if(d>>>0>=Q[f+68>>2]){break k}e=N[N[f+80>>2]+T(d,20)>>2];c=2;if((e|0)==65535){break k}d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);d=ac(m+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,e,s);c=1;if(!d){break k}c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535}g=O[m|0]|O[m+1|0]<<8|(O[m+2|0]<<16|O[m+3|0]<<24);d=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);x=c>>>0>>0;if(x){e=c}else{e=1}p=T(d,i);d=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);k=m+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;d=(e+p<<1)+k|0;d=O[d|0]|O[d+1|0]<<8;e=((d<<8|d>>>8)&65535)<<3;d=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);n=m+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;l=e+n|0;u=O[l|0]|O[l+1|0]<<8;r=h&255;e=N[f+64>>2];d=N[f+68>>2];t=!r&(e|0)==(d|0);l:{m:{if(!t&((O[l+4|0]|O[l+5|0]<<8)!=65535|(O[l+6|0]|O[l+7|0]<<8)!=65535)){break m}n:{if(!i){break n}i=O[l+2|0]|O[l+3|0]<<8;if(!(i&64?u:1)){break n}c=k+((x?c:1)<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=n+(((c<<8|c>>>8)&65535)<<3)|0;if(!t&((O[c+4|0]|O[c+5|0]<<8)!=65535|(O[c+6|0]|O[c+7|0]<<8)!=65535)|((i^(O[c+2|0]|O[c+3|0]<<8))&64|(u|0)!=(O[c|0]|O[c+1|0]<<8))){break m}}c=!g;if(t){d=e;break l}c=k+(c+p<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=n+(((c<<8|c>>>8)&65535)<<3)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535){break m}if((O[c+6|0]|O[c+7|0]<<8)==65535){break l}}if(d>>>0<=e>>>0){break l}c=O[f+62|0]?N[f+72>>2]:e;if(!c){break l}wb(f,3,c-1|0,e+1|0,1,1);d=N[f+68>>2];e=N[f+64>>2]}if(r|(d|0)!=(e|0)){c=O[l+4|0]|O[l+5|0]<<8;o:{if((c|0)==65535){break o}c=q+(((c<<8|c>>>8)&65535)<<2)|0;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);r=T(b,20);t=ac(q+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,N[r+N[f+80>>2]>>2],s);e=N[f+64>>2];d=N[f+68>>2];if(!t){break o}n=N[f+80>>2];c=e+1|0;x=d>>>0>c>>>0?c:d;p=x-b|0;p:{if(p>>>0<2){break p}k=N[f+144>>2]|32;N[f+144>>2]=k;if(b>>>0>=x>>>0){break p}e=-1;c=b;w=x+(c^-1)|0;if(w>>>0>=3){z=p&-4;g=0;while(1){i=n+T(c,20)|0;y=N[i+8>>2];e=e>>>0>>0?e:y;y=N[i+28>>2];e=e>>>0>>0?e:y;y=N[i+48>>2];e=e>>>0>>0?e:y;i=N[i+68>>2];e=e>>>0>>0?e:i;c=c+4|0;g=g+4|0;if((z|0)!=(g|0)){continue}break}}i=0;g=p&3;if(g){while(1){z=N[(n+T(c,20)|0)+8>>2];e=e>>>0>>0?e:z;c=c+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}c=b;if(p&1){c=n+r|0;if(N[c+8>>2]!=(e|0)){N[c+4>>2]=N[c+4>>2]|3}c=b+1|0}if(!w){break p}while(1){g=n+T(c,20)|0;if(N[g+8>>2]!=(e|0)){k=k|32;N[f+144>>2]=k;N[g+4>>2]=N[g+4>>2]|3}g=n+T(c+1|0,20)|0;if(N[g+8>>2]!=(e|0)){k=k|32;N[f+144>>2]=k;N[g+4>>2]=N[g+4>>2]|3}c=c+2|0;if((x|0)!=(c|0)){continue}break}}c=n+r|0;e=O[t|0]|O[t+1|0]<<8;e=(e<<8|e>>>8)&65535;N[c>>2]=e;if(!v){A=c,C=Tc(o,e),M[A+12>>1]=C;d=N[f+68>>2]}e=N[f+64>>2]}c=O[l+6|0]|O[l+7|0]<<8;q:{if((c|0)==65535){break q}c=q+(((c<<8|c>>>8)&65535)<<2)|0;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);g=q+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=d-1|0;d=T(c>>>0>e>>>0?e:c,20);c=ac(g,N[d+N[f+80>>2]>>2],s);if(!c){break q}d=d+N[f+80>>2]|0;c=O[c|0]|O[c+1|0]<<8;c=(c<<8|c>>>8)&65535;N[d>>2]=c;if(v){break q}A=d,C=Tc(o,c),M[A+12>>1]=C}d=N[f+64>>2];c=O[l+2|0]&128;b=c?d:b;h=c?1:h}else{h=0}if(!O[f+60|0]|N[f+68>>2]==(d|0)){break c}r:{if(O[l+2|0]&64){c=N[f+152>>2];N[f+152>>2]=c-1;if((c|0)>0){break r}}if(O[f+62|0]){c=N[f+84>>2];g=N[f+80>>2];e=N[f+72>>2];if((c|0)!=(g|0)|(d|0)!=(e|0)){i=e+1|0;if(!(!i|i>>>0>2])){if(!gb(f,i)){break r}e=N[f+72>>2];d=N[f+64>>2];g=N[f+80>>2];c=N[f+84>>2]}s:{if((c|0)!=(g|0)){break s}if(e+1>>>0<=d+1>>>0){c=g;break s}if(!O[f+62|0]){break b}c=N[f+88>>2];N[f+84>>2]=c;i=T(e,20);if(!i){break s}B(c,g,i);e=N[f+72>>2];c=N[f+84>>2];d=N[f+64>>2];g=N[f+80>>2]}c=T(e,20)+c|0;d=T(d,20)+g|0;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;N[c+16>>2]=N[d+16>>2];e=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=e;d=N[f+64>>2];c=N[f+72>>2]}else{c=d}N[f+72>>2]=c+1}N[f+64>>2]=d+1}i=(u<<8|u>>>8)&65535;if(O[f+60|0]){continue}break};break c;case 2:L[j|0]=0;k=a+12|0;N[j+8>>2]=k;N[j+4>>2]=b;c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);N[j+12>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);N[j+16>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24);N[j+24>>2]=0;N[j+20>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));f=N[b+16>>2];b=N[b+12>>2];n=N[b+32>>2];if((n|0)==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;n=(b<<8|b>>>8)&65535;N[c+32>>2]=n}N[f+72>>2]=0;M[f+62>>1]=1;N[f+64>>2]=0;N[f+84>>2]=N[f+80>>2];t:{if(!O[f+60|0]){break t}while(1){c=N[f+64>>2];b=0;u:{if(c>>>0>=Q[f+68>>2]){break u}d=N[N[f+80>>2]+T(c,20)>>2];b=2;if((d|0)==65535){break u}c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);c=ac(k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,d,n);b=1;if(!c){break u}b=O[c|0]|O[c+1|0]<<8;b=(b<<8|b>>>8)&65535}c=O[k|0]|O[k+1|0]<<8|(O[k+2|0]<<16|O[k+3|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);b=d>>>0<=b>>>0?1:b;l=T(d,h);d=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);i=k+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;d=(b+l<<1)+i|0;d=O[d|0]|O[d+1|0]<<8;e=T((d<<8|d>>>8)&65535,6);d=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);d=k+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;m=e+d|0;o=O[m|0]|O[m+1|0]<<8;e=O[m+2|0]|O[m+3|0]<<8;v:{w:{if(e&32){break w}if(!(!h|!(e&64?o:1))){b=i+(b<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=d+T((b<<8|b>>>8)&65535,6)|0;g=O[b+2|0]|O[b+3|0]<<8;if(g&32|(o|0)!=(O[b|0]|O[b+1|0]<<8)|(e^g)&64){break w}}b=i+(l+!c<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!(O[(d+T((b<<8|b>>>8)&65535,6)|0)+2|0]&32)){break v}}b=N[f+64>>2];c=O[f+62|0]?N[f+72>>2]:b;if(!c|b>>>0>=Q[f+68>>2]){break v}wb(f,3,c-1|0,b+1|0,1,1);e=O[m+2|0]|O[m+3|0]<<8}if(e&128){d=j;b=N[j+24>>2];x:{if(!b){c=N[f+72>>2];b=0;break x}c=N[f+72>>2];b=b-((c|0)==N[(((b-1&63)<<2)+j|0)+28>>2])|0}N[d+24>>2]=b+1;N[(((b&63)<<2)+j|0)+28>>2]=c}y:{if(!(e&32)){break y}h=N[j+24>>2];if(!h|Q[f+64>>2]>=Q[f+68>>2]){break y}q=N[f+72>>2];b=O[m+4|0]|O[m+5|0]<<8;l=N[j+12>>2]+(((b<<8|b>>>8)&65535)<<2)|0;b=0;z:{while(1){if(!h){N[j+24>>2]=0;cc(f,q);break y}h=h-1|0;u=((h&63)<<2)+j|0;if(!cc(f,N[u+28>>2])){break y}d=N[j+4>>2];c=N[d+24>>2];A:{if(l>>>0>>0){break A}e=N[d+28>>2];if(e>>>0>>0|e-l>>>0<4){break A}e=N[d+32>>2]-4|0;N[d+32>>2]=e;if((e|0)<=0){break A}e=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);s=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=N[N[f+80>>2]+T(N[f+64>>2],20)>>2]+(e<<26>>31&-1073741824|s&1073741823)|0;if((e|0)<0){e=275552}else{d=N[j+4>>2];c=N[d+24>>2];e=N[j+16>>2]+(e<<1)|0}if(c>>>0>e>>>0){break A}g=N[d+28>>2];if(g>>>0>>0|g-e>>>0<2){break A}g=N[d+32>>2]-2|0;N[d+32>>2]=g;if((g|0)<=0){break A}g=b;b=O[e|0]|O[e+1|0]<<8;b=g+((b<<8|b>>>8)&65535)|0;if(s>>>0>=1073741824){if((b|0)<0){e=275552}else{d=N[j+4>>2];c=N[d+24>>2];e=N[j+20>>2]+(b<<1)|0}g=c;c=e;if(g>>>0>c>>>0){break A}e=N[d+28>>2];if(e>>>0>>0|e-c>>>0<2){break A}e=d+32|0;d=N[d+32>>2]-2|0;N[e>>2]=d;if((d|0)<=0){break A}c=O[c|0]|O[c+1|0]<<8;d=N[f+72>>2]+1|0;if(!(!d|d>>>0>2])){if(!gb(f,d)){break y}}d=N[f+64>>2];e=N[f+84>>2];B:{if((e|0)!=N[f+80>>2]){break B}g=N[f+72>>2];if(g+1>>>0<=d+1>>>0){break B}if(!O[f+62|0]){break b}i=N[f+88>>2];N[f+84>>2]=i;g=T(g,20);if(!g){break B}B(i,e,g);d=N[f+64>>2]}e=N[f+68>>2];if(e>>>0>>0){break a}g=(c<<8|c>>>8)&65535;C:{if(d>>>0>>0){e=N[f+72>>2];c=N[f+84>>2];d=N[f+80>>2]+T(d,20)|0;break C}c=N[f+84>>2];e=N[f+72>>2];d=e-1|0;d=c+T(d>>>0<=e>>>0?d:0,20)|0}e=T(e,20)+c|0;c=d;d=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=d;N[e+16>>2]=N[c+16>>2];d=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=d;N[e>>2]=g;N[f+64>>2]=N[f+64>>2]+1;N[f+72>>2]=N[f+72>>2]+1;d=N[j+24>>2]-1|0;t=N[(((d&63)<<2)+j|0)+28>>2];if(d>>>0>h>>>0){while(1){i=d;if(!cc(f,N[(((d&63)<<2)+j|0)+28>>2])){break z}c=N[f+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(f,c)){break z}}d=N[f+64>>2];c=N[f+84>>2];D:{if((c|0)!=N[f+80>>2]){break D}e=N[f+72>>2];if(e+1>>>0<=d+1>>>0){break D}if(!O[f+62|0]){break b}g=N[f+88>>2];N[f+84>>2]=g;e=T(e,20);if(!e){break D}B(g,c,e);d=N[f+64>>2]}c=N[f+68>>2];if(c>>>0>>0){break a}E:{if(d>>>0>>0){e=N[f+72>>2];g=N[f+84>>2];c=N[f+80>>2]+T(d,20)|0;break E}g=N[f+84>>2];e=N[f+72>>2];c=e-1|0;c=g+T(c>>>0<=e>>>0?c:0,20)|0}d=T(e,20)+g|0;e=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=e;N[d+16>>2]=N[c+16>>2];e=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=e;N[d>>2]=65535;N[f+64>>2]=N[f+64>>2]+1;N[f+72>>2]=N[f+72>>2]+1;d=i-1|0;if(h>>>0>>0){continue}break}N[j+24>>2]=i}if(!cc(f,t+1|0)){break y}vd(f,N[u+28>>2],N[f+72>>2])}l=l+4|0;if((s|0)>=0){continue}}break}cc(f,q);break y}N[j+24>>2]=i}d=N[f+64>>2];if(!O[f+60|0]|(d|0)==N[f+68>>2]){break t}F:{if(O[m+2|0]&64){b=N[f+152>>2];N[f+152>>2]=b-1;if((b|0)>0){break F}}if(O[f+62|0]){c=N[f+84>>2];g=N[f+80>>2];e=N[f+72>>2];if((c|0)!=(g|0)|(d|0)!=(e|0)){b=e+1|0;if(!(!b|b>>>0>2])){if(!gb(f,b)){break F}e=N[f+72>>2];d=N[f+64>>2];g=N[f+80>>2];c=N[f+84>>2]}G:{if((c|0)!=(g|0)){break G}if(e+1>>>0<=d+1>>>0){c=g;break G}if(!O[f+62|0]){break b}c=N[f+88>>2];N[f+84>>2]=c;b=T(e,20);if(!b){break G}B(c,g,b);e=N[f+72>>2];c=N[f+84>>2];d=N[f+64>>2];g=N[f+80>>2]}b=T(e,20)+c|0;c=T(d,20)+g|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;d=N[f+64>>2];b=N[f+72>>2]}else{b=d}N[f+72>>2]=b+1}N[f+64>>2]=d+1}h=(o<<8|o>>>8)&65535;if(O[f+60|0]){continue}break}}zc(f);break c;case 4:c=N[b+68>>2];f=O[c+4|0]|O[c+5|0]<<8;h=O[c|0]|O[c+1|0]<<8;d=N[b+12>>2];e=N[d+32>>2];if((e|0)==-1){g=d;d=sb(d+56|0);d=O[d+4|0]|O[d+5|0]<<8;e=(d<<8|d>>>8)&65535;N[g+32>>2]=e}d=N[b+16>>2];b=N[d+68>>2];if(!b){break c}a=a+12|0;g=N[d+80>>2];d=0;if((h|0)==256&(f|0)!=0){while(1){f=g+T(d,20)|0;h=ac(a,N[f>>2],e);if(h){h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;N[f>>2]=h;A=f,C=Tc(c,h),M[A+12>>1]=C}d=d+1|0;if((b|0)!=(d|0)){continue}break c}}while(1){f=g+T(d,20)|0;c=ac(a,N[f>>2],e);if(c){c=O[c|0]|O[c+1|0]<<8;N[f>>2]=(c<<8|c>>>8)&65535}d=d+1|0;if((b|0)!=(d|0)){continue}break};break c;case 5:break d;default:break c}}c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);f=N[b+16>>2];d=N[b+12>>2];q=N[d+32>>2];if((q|0)==-1){e=d;d=sb(d+56|0);d=O[d+4|0]|O[d+5|0]<<8;q=(d<<8|d>>>8)&65535;N[e+32>>2]=q}N[f+72>>2]=0;M[f+62>>1]=1;N[f+64>>2]=0;N[f+84>>2]=N[f+80>>2];H:{if(!O[f+60|0]){break H}m=a+12|0;u=m+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;while(1){d=N[f+64>>2];c=0;I:{if(d>>>0>=Q[f+68>>2]){break I}e=N[N[f+80>>2]+T(d,20)>>2];c=2;if((e|0)==65535){break I}d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);d=ac(m+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,e,q);c=1;if(!d){break I}c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535}d=O[m|0]|O[m+1|0]<<8|(O[m+2|0]<<16|O[m+3|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);h=e>>>0>c>>>0;o=T(e,g);e=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);k=m+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;e=((h?c:1)+o<<1)+k|0;e=O[e|0]|O[e+1|0]<<8;i=((e<<8|e>>>8)&65535)<<3;e=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);l=m+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;i=i+l|0;s=O[i|0]|O[i+1|0]<<8;e=O[i+2|0]|O[i+3|0]<<8;J:{K:{if((O[i+4|0]|O[i+5|0]<<8)!=65535|(O[i+6|0]|O[i+7|0]<<8)!=65535?e&65283:0){break K}if(!(!g|!(e&64?s:1))){c=k+((h?c:1)<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=l+(((c<<8|c>>>8)&65535)<<3)|0;g=O[c+2|0]|O[c+3|0]<<8;if(((O[c+4|0]|O[c+5|0]<<8)!=65535|(O[c+6|0]|O[c+7|0]<<8)!=65535?g&65283:0)|((e^g)&64|(s|0)!=(O[c|0]|O[c+1|0]<<8))){break K}}c=k+(o+!d<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=l+(((c<<8|c>>>8)&65535)<<3)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65283)){break J}if((O[c+4|0]|O[c+5|0]<<8)!=65535){break K}if((O[c+6|0]|O[c+7|0]<<8)==65535){break J}}c=N[f+64>>2];d=O[f+62|0]?N[f+72>>2]:c;if(!d|c>>>0>=Q[f+68>>2]){break J}wb(f,3,d-1|0,c+1|0,1,1);e=O[i+2|0]|O[i+3|0]<<8}t=e<<8|(e&65280)>>>8;o=t&65535;x=N[f+72>>2];c=O[i+6|0]|O[i+7|0]<<8;L:{if((c|0)!=65535){g=o&31;d=N[f+152>>2]-g|0;N[f+152>>2]=d;if((d|0)<=0){break L}k=u+(((c<<8|c>>>8)&65535)<<1)|0;M:{N:{if(!g|k>>>0>2]){break N}c=N[b+28>>2];if(c>>>0>>0){break N}d=c-k|0;c=g<<1;if(d>>>0>>0){break N}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break M}}g=0}p=N[f+72>>2];if(!cc(f,n)){break L}d=N[f+72>>2];v=o&1024;O:{if(v){break O}e=N[f+64>>2];if(e>>>0>=Q[f+68>>2]){break O}c=N[f+80>>2];e=c+T(e,20)|0;N[j+16>>2]=N[e+16>>2];h=N[e+12>>2];N[j+8>>2]=N[e+8>>2];N[j+12>>2]=h;h=N[e+4>>2];N[j>>2]=N[e>>2];N[j+4>>2]=h;e=d+1|0;if(!(!e|e>>>0>2])){if(!gb(f,e)){break L}d=N[f+72>>2];c=N[f+80>>2]}e=N[f+84>>2];P:{if((c|0)!=(e|0)){break P}if(Q[f+64>>2]>=d+1>>>0){e=c;break P}if(!O[f+62|0]){break b}e=N[f+88>>2];N[f+84>>2]=e;h=T(d,20);if(!h){break P}B(e,c,h);d=N[f+72>>2];e=N[f+84>>2]}c=T(d,20)+e|0;d=N[j+4>>2];N[c>>2]=N[j>>2];N[c+4>>2]=d;N[c+16>>2]=N[j+16>>2];d=N[j+12>>2];N[c+8>>2]=N[j+8>>2];N[c+12>>2]=d;d=N[f+72>>2]+1|0;N[f+72>>2]=d}c=d+g|0;if(!(!c|c>>>0>2])){if(!gb(f,c)){break L}}d=N[f+64>>2];c=N[f+84>>2];Q:{if((c|0)!=N[f+80>>2]){break Q}e=N[f+72>>2];if(e+g>>>0<=d>>>0){break Q}if(!O[f+62|0]){break b}h=N[f+88>>2];N[f+84>>2]=h;e=T(e,20);if(!e){break Q}B(h,c,e);d=N[f+64>>2]}c=N[f+68>>2];if(d>>>0>c>>>0){break a}R:{if(d>>>0>>0){h=N[f+72>>2];l=N[f+84>>2];e=N[f+80>>2]+T(d,20)|0;break R}l=N[f+84>>2];h=N[f+72>>2];e=h-1|0;e=l+T(e>>>0<=h>>>0?e:0,20)|0}S:{if(!g){N[f+72>>2]=h;break S}d=T(h,20)+l|0;c=0;T:{if((g|0)!=1){h=g&1;l=g&30;while(1){r=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=r;N[d+16>>2]=N[e+16>>2];r=e+8|0;w=N[r+4>>2];N[d+8>>2]=N[r>>2];N[d+12>>2]=w;r=c<<1;w=r+k|0;w=O[w|0]|O[w+1|0]<<8;N[d>>2]=(w<<8|w>>>8)&65535;N[d+36>>2]=N[e+16>>2];w=N[e+12>>2];N[d+28>>2]=N[e+8>>2];N[d+32>>2]=w;w=N[e+4>>2];N[d+20>>2]=N[e>>2];N[d+24>>2]=w;r=k+(r|2)|0;r=O[r|0]|O[r+1|0]<<8;N[d+20>>2]=(r<<8|r>>>8)&65535;d=d+40|0;c=c+2|0;if((l|0)!=(c|0)){continue}break}if(!h){break T}}h=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=h;N[d+16>>2]=N[e+16>>2];h=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=h;c=k+(c<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[d>>2]=(c<<8|c>>>8)&65535}N[f+72>>2]=N[f+72>>2]+g;c=N[f+68>>2];d=N[f+64>>2]}if(!(d>>>0>=c>>>0|v)){N[f+64>>2]=d+1}if(!cc(f,g+p|0)){break L}c=N[f+64>>2]+1|0;d=N[f+68>>2];wb(f,3,n,d>>>0>c>>>0?c:d,1,1)}n=t<<16>>16<0?x:n;c=O[i+4|0]|O[i+5|0]<<8;if((c|0)==65535){break L}k=o>>>5&31;d=N[f+152>>2]-k|0;N[f+152>>2]=d;if((d|0)<=0){break L}g=u+(((c<<8|c>>>8)&65535)<<1)|0;U:{V:{if(!k|g>>>0>2]){break V}c=N[b+28>>2];if(c>>>0>>0){break V}d=c-g|0;c=k<<1;if(d>>>0>>0){break V}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break U}}k=0}t=N[f+72>>2];d=t;x=o&2048;W:{if(x){break W}e=N[f+64>>2];if(e>>>0>=Q[f+68>>2]){break W}c=N[f+80>>2];e=c+T(e,20)|0;N[j+16>>2]=N[e+16>>2];h=N[e+12>>2];N[j+8>>2]=N[e+8>>2];N[j+12>>2]=h;h=N[e+4>>2];N[j>>2]=N[e>>2];N[j+4>>2]=h;e=d+1|0;if(!(!e|e>>>0>2])){if(!gb(f,e)){break L}d=N[f+72>>2];c=N[f+80>>2]}e=N[f+84>>2];X:{if((c|0)!=(e|0)){break X}if(Q[f+64>>2]>=d+1>>>0){e=c;break X}if(!O[f+62|0]){break b}e=N[f+88>>2];N[f+84>>2]=e;h=T(d,20);if(!h){break X}B(e,c,h);d=N[f+72>>2];e=N[f+84>>2]}c=T(d,20)+e|0;d=N[j+4>>2];N[c>>2]=N[j>>2];N[c+4>>2]=d;N[c+16>>2]=N[j+16>>2];d=N[j+12>>2];N[c+8>>2]=N[j+8>>2];N[c+12>>2]=d;d=N[f+72>>2]+1|0;N[f+72>>2]=d}c=d+k|0;if(!(!c|c>>>0>2])){if(!gb(f,c)){break L}}d=N[f+64>>2];c=N[f+84>>2];Y:{if((c|0)!=N[f+80>>2]){break Y}e=N[f+72>>2];if(e+k>>>0<=d>>>0){break Y}if(!O[f+62|0]){break b}h=N[f+88>>2];N[f+84>>2]=h;e=T(e,20);if(!e){break Y}B(h,c,e);d=N[f+64>>2]}c=N[f+68>>2];if(d>>>0>c>>>0){break a}Z:{if(d>>>0>>0){h=N[f+72>>2];l=N[f+84>>2];e=N[f+80>>2]+T(d,20)|0;break Z}l=N[f+84>>2];h=N[f+72>>2];e=h-1|0;e=l+T(e>>>0<=h>>>0?e:0,20)|0}_:{if(!k){N[f+72>>2]=h;break _}d=T(h,20)+l|0;c=0;$:{if((k|0)!=1){h=k&1;l=k&30;while(1){p=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=p;N[d+16>>2]=N[e+16>>2];p=e+8|0;v=N[p+4>>2];N[d+8>>2]=N[p>>2];N[d+12>>2]=v;p=c<<1;v=p+g|0;v=O[v|0]|O[v+1|0]<<8;N[d>>2]=(v<<8|v>>>8)&65535;N[d+36>>2]=N[e+16>>2];v=N[e+12>>2];N[d+28>>2]=N[e+8>>2];N[d+32>>2]=v;v=N[e+4>>2];N[d+20>>2]=N[e>>2];N[d+24>>2]=v;p=g+(p|2)|0;p=O[p|0]|O[p+1|0]<<8;N[d+20>>2]=(p<<8|p>>>8)&65535;d=d+40|0;c=c+2|0;if((l|0)!=(c|0)){continue}break}if(!h){break $}}h=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=h;N[d+16>>2]=N[e+16>>2];h=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=h;c=g+(c<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[d>>2]=(c<<8|c>>>8)&65535}N[f+72>>2]=N[f+72>>2]+k;c=N[f+68>>2];d=N[f+64>>2]}if(!(d>>>0>=c>>>0|x)){N[f+64>>2]=d+1}cc(f,t+(o&16384?0:k)|0)}d=N[f+64>>2];if(!O[f+60|0]|(d|0)==N[f+68>>2]){break H}aa:{if(O[i+2|0]&64){c=N[f+152>>2];N[f+152>>2]=c-1;if((c|0)>0){break aa}}if(O[f+62|0]){c=N[f+84>>2];g=N[f+80>>2];e=N[f+72>>2];if((c|0)!=(g|0)|(d|0)!=(e|0)){h=e+1|0;if(!(!h|h>>>0>2])){if(!gb(f,h)){break aa}e=N[f+72>>2];d=N[f+64>>2];g=N[f+80>>2];c=N[f+84>>2]}ba:{if((c|0)!=(g|0)){break ba}if(e+1>>>0<=d+1>>>0){c=g;break ba}if(!O[f+62|0]){break b}c=N[f+88>>2];N[f+84>>2]=c;h=T(e,20);if(!h){break ba}B(c,g,h);e=N[f+72>>2];c=N[f+84>>2];d=N[f+64>>2];g=N[f+80>>2]}c=T(e,20)+c|0;d=T(d,20)+g|0;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;N[c+16>>2]=N[d+16>>2];e=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=e;d=N[f+64>>2];c=N[f+72>>2]}else{c=d}N[f+72>>2]=c+1}N[f+64>>2]=d+1}g=(s<<8|s>>>8)&65535;if(O[f+60|0]){continue}break}}zc(f)}La=j+288|0;return}ba(8694,17855,209,11932);F()}ba(13080,14165,312,10949);F()}function iq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=U(0),o=U(0),p=0,q=0,r=U(0),s=0,t=0,u=U(0),v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;w=La-16|0;La=w;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{switch(a-1|0){default:switch(a-255|0){case 37:break j;case 36:break k;case 35:break l;case 0:break E;case 38:break i;default:break h};case 10:a=N[b+4>>2];if(a>>>0>2]){N[b+8>>2]=a+1}c=b+4164|0;a=N[b+4168>>2];G:{if(a){a=a-1|0;N[b+4168>>2]=a;a=(c+T(a,20)|0)+8|0;break G}L[c|0]=1;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;a=589824}c=N[a+4>>2];N[b+4128>>2]=N[a>>2];N[b+4132>>2]=c;N[b+4144>>2]=N[a+16>>2];i=a+8|0;c=N[i+4>>2];h=b+4136|0;N[h>>2]=N[i>>2];N[h+4>>2]=c;i=N[a>>2];c=N[a+4>>2];N[b+8>>2]=N[a+8>>2];N[b>>2]=i;N[b+4>>2]=c;break a;case 30:break m;case 29:break n;case 26:break o;case 25:break p;case 24:break q;case 23:break r;case 7:break s;case 6:break t;case 5:break u;case 4:break v;case 3:break w;case 21:break x;case 20:break y;case 18:case 19:break z;case 2:case 22:break A;case 0:case 17:break B;case 28:break C;case 9:break D;case 13:break F;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break h}}L[b+4148|0]=1;N[b+20>>2]=0;break a}a=N[b+4>>2];c=N[b+8>>2];if(a>>>0>>0){break a}h=b+16|0;H:{if(a>>>0<=c>>>0){c=a+1|0;a=275552;break H}a=N[b>>2]+c|0}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);i=N[b+20>>2];I:{if(i>>>0<=512){N[b+20>>2]=i+1;i=(h+(i<<3)|0)+8|0;break I}L[h|0]=1;N[147456]=0;N[147457]=0;i=589824}S[i>>3]=+(a|0)*152587890625e-16;N[b+8>>2]=c+4;break a}c=b+16|0;J:{a=N[b+20>>2];K:{if(a){a=a-1|0;N[b+20>>2]=a;d=S[(c+(a<<3)|0)+8>>3];if(V(d)<2147483648){a=~~d;break K}a=-2147483648;break K}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}g=a+N[b+4380>>2]|0;L:{if((g|0)<0){break L}a=N[b+4384>>2];if(!a){break L}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(g>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break L}a=N[b+4168>>2];if(a>>>0<10){break J}}N[b+8>>2]=N[b+4>>2]+1;break a}h=N[b+4>>2];j=N[b>>2];N[b+4128>>2]=j;N[b+4132>>2]=h;N[b+4168>>2]=a+1;k=b+4136|0;N[k>>2]=N[b+8>>2];c=T(a,20)+b|0;i=b+4144|0;N[c+4188>>2]=N[i>>2];a=c+4172|0;N[a>>2]=j;N[a+4>>2]=h;a=N[k+4>>2];c=c+4180|0;N[c>>2]=N[k>>2];N[c+4>>2]=a;h=b+4128|0;a=0;j=N[b+4384>>2];M:{if(!j){break M}c=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if(g>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break M}ae(w,j,g);a=N[w>>2];s=N[w+4>>2]}N[b+4128>>2]=a;N[b+4132>>2]=s;N[i>>2]=g;N[k>>2]=0;N[k+4>>2]=2;N[b+8>>2]=N[h+8>>2];a=N[h+4>>2];N[b>>2]=N[h>>2];N[b+4>>2]=a;break a}c=b+16|0;N:{a=N[b+20>>2];O:{if(a){a=a-1|0;N[b+20>>2]=a;d=S[(c+(a<<3)|0)+8>>3];if(V(d)<2147483648){a=~~d;break O}a=-2147483648;break O}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}g=a+N[b+4372>>2]|0;P:{if((g|0)<0){break P}a=N[b+4376>>2];if(!a){break P}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(g>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break P}a=N[b+4168>>2];if(a>>>0<10){break N}}N[b+8>>2]=N[b+4>>2]+1;break a}h=N[b+4>>2];j=N[b>>2];N[b+4128>>2]=j;N[b+4132>>2]=h;N[b+4168>>2]=a+1;k=b+4136|0;N[k>>2]=N[b+8>>2];c=T(a,20)+b|0;i=b+4144|0;N[c+4188>>2]=N[i>>2];a=c+4172|0;N[a>>2]=j;N[a+4>>2]=h;a=N[k+4>>2];c=c+4180|0;N[c>>2]=N[k>>2];N[c+4>>2]=a;h=b+4128|0;a=0;j=N[b+4376>>2];Q:{if(!j){break Q}c=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if(g>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break Q}ae(w,j,g);a=N[w>>2];s=N[w+4>>2]}N[b+4128>>2]=a;N[b+4132>>2]=s;N[i>>2]=g;N[k>>2]=0;N[k+4>>2]=1;N[b+8>>2]=N[h+8>>2];a=N[h+4>>2];N[b>>2]=N[h>>2];N[b+4>>2]=a;break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4152>>2]=N[b+4152>>2]+(a>>>1|0);break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4156>>2]=N[b+4156>>2]+(a>>>1|0);break a}R:{if(O[b+4150|0]){c=N[b+4160>>2];break R}L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;c=(a+N[b+4152>>2]|0)+7>>>3|0;N[b+4160>>2]=c}a=N[b+8>>2]+c|0;if(a>>>0>Q[b+4>>2]){break a}N[b+8>>2]=a;N[b+20>>2]=0;break a}j=b+16|0;f=S[b+4400>>3];d=S[b+4392>>3];h=N[b+20>>2];if(!h){i=589824;break c}a=h-1|0;N[b+20>>2]=a;i=(j+(a<<3)|0)+8|0;if(!a){break c}a=h-2|0;N[b+20>>2]=a;e=S[(j+(a<<3)|0)+8>>3];break b}i=b+16|0;f=S[b+4400>>3];d=S[b+4392>>3];a=N[b+20>>2];S:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(i+(a<<3)|0)+8>>3];break S}L[i|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];d=e+d;ij(N[c>>2],R[a+44>>2],R[a+48>>2],d,f);S[b+4400>>3]=f;S[b+4392>>3]=d;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}i=b+16|0;d=S[b+4400>>3];f=S[b+4392>>3];a=N[b+20>>2];T:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(i+(a<<3)|0)+8>>3];break T}L[i|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];d=e+d;ij(N[c>>2],R[a+44>>2],R[a+48>>2],f,d);S[b+4400>>3]=d;S[b+4392>>3]=f;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}j=N[b+20>>2];if(j>>>0>=2){h=b+16|0;e=S[b+4400>>3];d=S[b+4392>>3];k=2;a=0;while(1){U:{if(a>>>0>=j>>>0){L[h|0]=1;N[147456]=0;N[147457]=0;i=589824;break U}i=(h+(a<<3)|0)+8|0}a=a|1;V:{if(a>>>0>=j>>>0){L[h|0]=1;N[147456]=0;N[147457]=0;f=0;break V}f=S[(h+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+S[i>>3];e=f+e;nd(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;j=N[b+20>>2];a=k;k=a+2|0;if(j>>>0>=k>>>0){continue}break}}N[b+20>>2]=0;break a}g=b+16|0;k=N[b+20>>2];if(k>>>0>=2){e=S[b+4400>>3];d=S[b+4392>>3];h=2;a=0;while(1){j=h;W:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break W}f=S[(g+(a<<3)|0)+8>>3]}i=N[c+4>>2];d=d+f;nd(N[c>>2],R[i+44>>2],R[i+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=a|1;X:{if(a>>>0>=Q[b+20>>2]){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break X}f=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];e=e+f;nd(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=j;h=a+2|0;k=N[b+20>>2];if(h>>>0<=k>>>0){continue}break}}if(j>>>0>>0){a=N[c+4>>2];l=R[a+44>>2];n=R[a+48>>2];e=S[b+4392>>3]+S[(g+(j<<3)|0)+8>>3];a=b+4400|0;d=S[a>>3];nd(N[c>>2],l,n,e,d);S[a>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}g=b+16|0;k=N[b+20>>2];if(k>>>0>=2){e=S[b+4400>>3];d=S[b+4392>>3];h=2;a=0;while(1){j=h;Y:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Y}f=S[(g+(a<<3)|0)+8>>3]}i=N[c+4>>2];e=e+f;nd(N[c>>2],R[i+44>>2],R[i+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=a|1;Z:{if(a>>>0>=Q[b+20>>2]){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Z}f=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+f;nd(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=j;h=a+2|0;k=N[b+20>>2];if(h>>>0<=k>>>0){continue}break}}if(j>>>0>>0){a=N[c+4>>2];l=R[a+44>>2];n=R[a+48>>2];e=S[b+4392>>3];a=b+4400|0;d=S[a>>3]+S[(g+(j<<3)|0)+8>>3];nd(N[c>>2],l,n,e,d);S[a>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}j=N[b+20>>2];if(j>>>0>=6){g=b+16|0;e=S[b+4400>>3];d=S[b+4392>>3];i=6;a=0;while(1){_:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break _}h=(g+(a<<3)|0)+8|0}k=a|1;$:{if(k>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break $}m=S[(g+(k<<3)|0)+8>>3]}p=S[h>>3];h=a+2|0;aa:{if(h>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break aa}h=(g+(h<<3)|0)+8|0}k=a+3|0;ba:{if(k>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ba}f=S[(g+(k<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[h>>3];h=a+4|0;ca:{if(h>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break ca}h=(g+(h<<3)|0)+8|0}f=q+f;d=m+d;a=a+5|0;da:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break da}e=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];l=R[a+48>>2];o=U(n*U(d));d=d+S[h>>3];e=f+e;Db(N[c>>2],U(n*U(m)),U(l*U(q)),o,U(l*U(f)),U(n*U(d)),U(l*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;j=N[b+20>>2];a=i;i=a+6|0;if(j>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}a=N[b+20>>2];if(a>>>0>=8){s=b+16|0;j=a-2|0;e=S[b+4400>>3];d=S[b+4392>>3];k=6;a=0;while(1){g=N[b+20>>2];ea:{if(g>>>0<=a>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ea}i=(s+(a<<3)|0)+8|0}h=a|1;fa:{if(h>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;m=0;break fa}m=S[(s+(h<<3)|0)+8>>3]}p=S[i>>3];i=a+2|0;ga:{if(i>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ga}i=(s+(i<<3)|0)+8|0}h=a+3|0;ha:{if(h>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;f=0;break ha}f=S[(s+(h<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[i>>3];i=a+4|0;ia:{if(i>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ia}i=(s+(i<<3)|0)+8|0}f=q+f;d=m+d;a=a+5|0;ja:{if(a>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;e=0;break ja}e=S[(s+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];l=R[a+48>>2];o=U(n*U(d));d=d+S[i>>3];e=f+e;Db(N[c>>2],U(n*U(m)),U(l*U(q)),o,U(l*U(f)),U(n*U(d)),U(l*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;a=k;k=a+6|0;if(j>>>0>=k>>>0){continue}break}h=N[b+20>>2];ka:{if(h>>>0<=a>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ka}i=(s+(a<<3)|0)+8|0}a=a|1;la:{if(a>>>0>=h>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;m=0;break la}m=S[(s+(a<<3)|0)+8>>3]}a=N[c+4>>2];f=d+S[i>>3];d=e+m;nd(N[c>>2],R[a+44>>2],R[a+48>>2],f,d);S[b+4400>>3]=d;S[b+4392>>3]=f}N[b+20>>2]=0;break a}a=N[b+20>>2];if(a>>>0>=8){g=b+16|0;k=a-6|0;e=S[b+4400>>3];d=S[b+4392>>3];i=2;a=0;while(1){j=N[b+20>>2];ma:{if(j>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break ma}h=(g+(a<<3)|0)+8|0}a=a|1;na:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break na}f=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+S[h>>3];e=e+f;nd(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=i;i=a+2|0;if(k>>>0>=i>>>0){continue}break}k=N[b+20>>2];oa:{if(k>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break oa}h=(g+(a<<3)|0)+8|0}j=a|1;pa:{if(j>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break pa}m=S[(g+(j<<3)|0)+8>>3]}p=S[h>>3];qa:{if(i>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;i=589824;break qa}i=(g+(i<<3)|0)+8|0}h=a+3|0;ra:{if(h>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ra}f=S[(g+(h<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[i>>3];i=a+4|0;sa:{if(i>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;i=589824;break sa}i=(g+(i<<3)|0)+8|0}f=q+f;e=m+d;a=a+5|0;ta:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break ta}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];l=R[a+48>>2];o=U(n*U(e));e=e+S[i>>3];d=f+d;Db(N[c>>2],U(n*U(m)),U(l*U(q)),o,U(l*U(f)),U(n*U(e)),U(l*U(d)));S[b+4400>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}j=N[b+20>>2];a=j&1;i=a|4;if(j>>>0>=i>>>0){g=b+16|0;d=S[b+4392>>3]+(a?S[b+24>>3]:-0);m=S[b+4400>>3];while(1){ua:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ua}e=S[(g+(a<<3)|0)+8>>3]}h=a+1|0;va:{if(h>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break va}h=(g+(h<<3)|0)+8|0}f=m+e;k=a+2|0;wa:{if(k>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break wa}e=S[(g+(k<<3)|0)+8>>3]}p=f+e;e=d+S[h>>3];a=a+3|0;xa:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break xa}m=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];l=R[a+44>>2];o=U(l*U(d));n=R[a+48>>2];l=U(l*U(e));m=p+m;Db(N[c>>2],o,U(n*U(f)),l,U(n*U(p)),l,U(n*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=e;d=e;j=N[b+20>>2];a=i;i=a+4|0;if(j>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}j=N[b+20>>2];a=j&1;i=a|4;if(j>>>0>=i>>>0){g=b+16|0;d=S[b+4400>>3]+(a?S[b+24>>3]:-0);m=S[b+4392>>3];while(1){ya:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ya}e=S[(g+(a<<3)|0)+8>>3]}h=a+1|0;za:{if(h>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break za}h=(g+(h<<3)|0)+8|0}p=m+e;k=a+2|0;Aa:{if(k>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Aa}f=S[(g+(k<<3)|0)+8>>3]}e=d+f;m=p+S[h>>3];a=a+3|0;Ba:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ba}f=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];o=R[a+44>>2];l=R[a+48>>2];n=U(l*U(e));r=U(o*U(m));m=m+f;Db(N[c>>2],U(o*U(p)),U(l*U(d)),r,n,U(o*U(m)),n);S[b+4400>>3]=e;S[b+4392>>3]=m;d=e;j=N[b+20>>2];a=i;i=a+4|0;if(j>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}g=b+16|0;i=4;k=N[b+20>>2];if(k&4){break e}if(k>>>0<8){break d}d=S[b+4400>>3];e=S[b+4392>>3];h=8;i=0;while(1){j=i;i=h;Ca:{if(j>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ca}f=S[(g+(j<<3)|0)+8>>3]}a=j|1;Da:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Da}a=(g+(a<<3)|0)+8|0}d=d+f;h=j|2;Ea:{if(h>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ea}f=S[(g+(h<<3)|0)+8>>3]}f=d+f;p=e+S[a>>3];a=j|3;Fa:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break Fa}m=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];r=R[a+44>>2];n=R[a+48>>2];l=U(f);o=U(n*l);u=U(r*U(e));e=p+m;Db(N[c>>2],u,U(n*U(d)),U(r*U(p)),o,U(r*U(e)),o);S[b+4400>>3]=f;S[b+4392>>3]=e;k=N[b+20>>2];a=j|4;Ga:{if(k>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Ga}d=S[(g+(a<<3)|0)+8>>3]}a=j|5;Ha:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ha}a=(g+(a<<3)|0)+8|0}p=e+d;d=f;h=j|6;Ia:{if(h>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ia}f=S[(g+(h<<3)|0)+8>>3]}e=S[a>>3];m=d+f;a=j|7;Ja:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ja}f=S[(g+(a<<3)|0)+8>>3]}d=m+f;f=p+e;e=f;Ka:{if(k-j>>>0>15){break Ka}e=f;if(!(k&1)){break Ka}La:{if(i>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;q=0;break La}q=S[(g+(i<<3)|0)+8>>3]}e=e+q}a=N[c+4>>2];o=R[a+44>>2];n=R[a+48>>2];Db(N[c>>2],U(o*U(p)),U(n*l),U(o*U(f)),U(n*U(m)),U(o*U(e)),U(n*U(d)));S[b+4400>>3]=d;S[b+4392>>3]=e;h=i+8|0;k=N[b+20>>2];if(h>>>0<=k>>>0){continue}break}break d}g=b+16|0;i=4;k=N[b+20>>2];if(k&4){break g}if(k>>>0<8){break f}e=S[b+4400>>3];d=S[b+4392>>3];h=8;i=0;while(1){j=i;i=h;Ma:{if(j>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ma}f=S[(g+(j<<3)|0)+8>>3]}a=j|1;Na:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Na}a=(g+(a<<3)|0)+8|0}m=d+f;h=j|2;Oa:{if(h>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Oa}f=S[(g+(h<<3)|0)+8>>3]}f=e+f;q=m+S[a>>3];a=j|3;Pa:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Pa}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];l=R[a+44>>2];r=U(l*U(m));o=R[a+48>>2];n=U(q);l=U(l*n);u=U(o*U(f));f=f+d;Db(N[c>>2],r,U(o*U(e)),l,u,l,U(o*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=q;k=N[b+20>>2];a=j|4;Qa:{if(k>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Qa}d=S[(g+(a<<3)|0)+8>>3]}a=j|5;Ra:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ra}a=(g+(a<<3)|0)+8|0}h=j|6;Sa:{if(h>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break Sa}e=S[(g+(h<<3)|0)+8>>3]}p=f+d;m=q+S[a>>3];a=j|7;Ta:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ta}f=S[(g+(a<<3)|0)+8>>3]}d=m+f;f=p+e;e=f;Ua:{if(k-j>>>0>15){break Ua}e=f;if(!(k&1)){break Ua}Va:{if(i>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;q=0;break Va}q=S[(g+(i<<3)|0)+8>>3]}e=e+q}a=N[c+4>>2];o=R[a+44>>2];l=R[a+48>>2];Db(N[c>>2],U(o*n),U(l*U(p)),U(o*U(m)),U(l*U(f)),U(o*U(d)),U(l*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;h=i+8|0;k=N[b+20>>2];if(h>>>0<=k>>>0){continue}break}break f}Wa:{if(N[b+20>>2]==7){q=S[b+72>>3];p=S[b- -64>>3];m=S[b+56>>3];a=N[c+4>>2];u=R[a+44>>2];i=b+4400|0;v=S[i>>3];r=U(v);l=R[a+48>>2];f=v+S[b+40>>3];n=U(f);o=U(l*n);e=S[b+4392>>3]+S[b+24>>3];d=e+S[b+32>>3];t=d+S[b+48>>3];Db(N[c>>2],U(u*U(e)),U(l*r),U(u*U(d)),o,U(u*U(t)),o);S[i>>3]=f;S[b+4392>>3]=t;a=N[c+4>>2];u=R[a+44>>2];l=R[a+48>>2];o=U(l*r);e=t+m;d=e+p;f=d+q;Db(N[c>>2],U(u*U(e)),U(l*n),U(u*U(d)),o,U(u*U(f)),o);S[i>>3]=v;S[b+4392>>3]=f;break Wa}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Xa:{if(N[b+20>>2]==13){x=S[b+104>>3];y=S[b+88>>3];t=S[b+72>>3];v=S[b+112>>3];q=S[b+96>>3];p=S[b+80>>3];m=S[b+4392>>3]+S[b+24>>3];f=m+S[b+40>>3];z=f+S[b+56>>3];i=b+4400|0;e=S[i>>3]+S[b+32>>3];d=e+S[b+48>>3];A=d+S[b- -64>>3];a=N[c+4>>2];n=R[a+44>>2];l=R[a+48>>2];Db(N[c>>2],U(n*U(m)),U(l*U(e)),U(n*U(f)),U(l*U(d)),U(n*U(z)),U(l*U(A)));S[i>>3]=A;S[b+4392>>3]=z;m=z+t;f=m+y;t=f+x;e=A+p;d=e+q;p=d+v;a=N[c+4>>2];n=R[a+44>>2];l=R[a+48>>2];Db(N[c>>2],U(n*U(m)),U(l*U(e)),U(n*U(f)),U(l*U(d)),U(n*U(t)),U(l*U(p)));S[i>>3]=p;S[b+4392>>3]=t;break Xa}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Ya:{if(N[b+20>>2]==9){v=S[b+80>>3];q=S[b+88>>3];p=S[b+72>>3];m=S[b- -64>>3];a=N[c+4>>2];r=R[a+44>>2];n=R[a+48>>2];i=b+4400|0;y=S[i>>3];f=y+S[b+32>>3];t=f+S[b+48>>3];l=U(t);o=U(n*l);e=S[b+4392>>3]+S[b+24>>3];d=e+S[b+40>>3];x=d+S[b+56>>3];Db(N[c>>2],U(r*U(e)),U(n*U(f)),U(r*U(d)),o,U(r*U(x)),o);S[i>>3]=t;S[b+4392>>3]=x;e=x+m;d=e+p;f=d+q;a=N[c+4>>2];o=R[a+44>>2];n=R[a+48>>2];Db(N[c>>2],U(o*U(e)),U(n*l),U(o*U(d)),U(n*U(t+v)),U(o*U(f)),U(n*U(y)));S[i>>3]=y;S[b+4392>>3]=f;break Ya}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Za:{if(N[b+20>>2]==11){D=S[b+104>>3];E=S[b+88>>3];F=S[b+72>>3];G=S[b+96>>3];H=S[b+80>>3];z=S[b+4392>>3];A=S[b+24>>3];x=z+A;y=S[b+40>>3];m=x+y;t=S[b+56>>3];B=m+t;i=b+4400|0;v=S[i>>3];q=S[b+32>>3];f=v+q;p=S[b+48>>3];e=f+p;d=S[b- -64>>3];C=e+d;a=N[c+4>>2];n=R[a+44>>2];l=R[a+48>>2];Db(N[c>>2],U(n*U(x)),U(l*U(f)),U(n*U(m)),U(l*U(e)),U(n*U(B)),U(l*U(C)));S[i>>3]=C;S[b+4392>>3]=B;m=B+F;f=m+E;a=V(E+(F+(t+(y+(A+0)))))>V(G+(H+(d+(p+(q+0)))));q=a?f+D:z;e=C+H;d=e+G;p=a?v:d+D;a=N[c+4>>2];n=R[a+44>>2];l=R[a+48>>2];Db(N[c>>2],U(n*U(m)),U(l*U(e)),U(n*U(f)),U(l*U(d)),U(n*U(q)),U(l*U(p)));S[i>>3]=p;S[b+4392>>3]=q;break Za}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}uf(a,b);break a}e=S[b+4400>>3];p=e+S[b+40>>3];m=p+S[b+48>>3];q=S[b+4392>>3]+S[b+24>>3];d=q+S[b+32>>3];h=12;if(k>>>0>=12){j=4;while(1){i=h;a=N[c+4>>2];l=R[a+44>>2];r=U(l*U(q));o=R[a+48>>2];n=U(d);l=U(l*n);Db(N[c>>2],r,U(o*U(e)),l,U(o*U(p)),l,U(o*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=d;k=N[b+20>>2];_a:{if(k>>>0<=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break _a}e=S[(g+(j<<3)|0)+8>>3]}a=j|1;$a:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break $a}a=(g+(a<<3)|0)+8|0}f=m+e;h=j|2;ab:{if(h>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ab}e=S[(g+(h<<3)|0)+8>>3]}e=f+e;m=d+S[a>>3];a=j|3;bb:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break bb}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];r=R[a+44>>2];l=R[a+48>>2];o=U(l*U(e));l=U(l*U(f));f=m+d;Db(N[c>>2],U(r*n),l,U(r*U(m)),o,U(r*U(f)),o);S[b+4400>>3]=e;S[b+4392>>3]=f;k=N[b+20>>2];a=j+4|0;cb:{if(k>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break cb}d=S[(g+(a<<3)|0)+8>>3]}a=j+5|0;db:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break db}a=(g+(a<<3)|0)+8|0}q=f+d;h=j+6|0;eb:{if(h>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break eb}f=S[(g+(h<<3)|0)+8>>3]}d=q+S[a>>3];p=e+f;a=j+7|0;fb:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break fb}f=S[(g+(a<<3)|0)+8>>3]}m=p+f;j=i;h=j+8|0;if(k>>>0>=h>>>0){continue}break}}a=N[c+4>>2];n=R[a+44>>2];l=R[a+48>>2];f=i>>>0>>0?d+S[(g+(i<<3)|0)+8>>3]:d;Db(N[c>>2],U(n*U(q)),U(l*U(e)),U(n*U(d)),U(l*U(p)),U(n*U(f)),U(l*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=f}N[b+20>>2]=0;break a}e=S[b+4392>>3];p=e+S[b+32>>3];m=p+S[b+48>>3];q=S[b+4400>>3]+S[b+24>>3];d=q+S[b+40>>3];h=12;if(k>>>0>=12){j=4;while(1){i=h;a=N[c+4>>2];r=R[a+44>>2];l=R[a+48>>2];n=U(d);o=U(l*n);Db(N[c>>2],U(r*U(e)),U(l*U(q)),U(r*U(p)),o,U(r*U(m)),o);S[b+4400>>3]=d;S[b+4392>>3]=m;k=N[b+20>>2];gb:{if(k>>>0<=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break gb}e=S[(g+(j<<3)|0)+8>>3]}a=j|1;hb:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break hb}a=(g+(a<<3)|0)+8|0}m=m+e;h=j|2;ib:{if(h>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ib}f=S[(g+(h<<3)|0)+8>>3]}f=d+f;e=m+S[a>>3];a=j|3;jb:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break jb}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];l=R[a+44>>2];r=U(l*U(m));o=R[a+48>>2];l=U(l*U(e));u=U(o*U(f));f=f+d;Db(N[c>>2],r,U(o*n),l,u,l,U(o*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=e;k=N[b+20>>2];a=j+4|0;kb:{if(k>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break kb}d=S[(g+(a<<3)|0)+8>>3]}a=j+5|0;lb:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break lb}a=(g+(a<<3)|0)+8|0}q=f+d;h=j+6|0;mb:{if(h>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break mb}f=S[(g+(h<<3)|0)+8>>3]}d=q+f;p=e+S[a>>3];a=j+7|0;nb:{if(a>>>0>=k>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break nb}f=S[(g+(a<<3)|0)+8>>3]}m=p+f;j=i;h=j+8|0;if(k>>>0>=h>>>0){continue}break}}a=N[c+4>>2];n=R[a+44>>2];l=R[a+48>>2];f=i>>>0>>0?d+S[(g+(i<<3)|0)+8>>3]:d;Db(N[c>>2],U(n*U(e)),U(l*U(q)),U(n*U(p)),U(l*U(d)),U(n*U(m)),U(l*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=m}N[b+20>>2]=0;break a}L[j|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];e=e+d;d=f+S[i>>3];ij(N[c>>2],R[a+44>>2],R[a+48>>2],e,d);S[b+4400>>3]=d;S[b+4392>>3]=e;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0}La=w+16|0}function ml(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;j=La-288|0;La=j;a:{b:{c:{d:{switch(O[a+3|0]){case 0:e=N[b+16>>2];b=N[b+12>>2];if(N[b+32>>2]==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}N[e+64>>2]=0;if(!O[e+60|0]){break c}m=a+8|0;p=j+40|0;b=0;while(1){l=N[e+64>>2];q=l>>>0>=Q[e+68>>2];c=0;e:{if(q){break e}i=N[N[e+80>>2]+T(l,20)>>2];c=2;if((i|0)==65535){break e}g=i;c=O[a+10|0]|O[a+11|0]<<8;i=m+((c<<8|c>>>8)&65535)|0;c=O[i|0]|O[i+1|0]<<8;g=g-((c<<8|c>>>8)&65535)|0;h=O[i+2|0]|O[i+3|0]<<8;c=1;if(g>>>0>=((h<<8|h>>>8)&65535)>>>0){break e}c=O[(g+i|0)+4|0]}n=O[m|0]|O[m+1|0]<<8;k=(n<<8|n>>>8)&65535;c=k>>>0<=c>>>0?1:c;i=b;s=T(i,k);b=O[a+12|0]|O[a+13|0]<<8;r=(b<<8|b>>>8)&65535;o=r+m|0;b=O[a+14|0]|O[a+15|0]<<8;v=m+((b<<8|b>>>8)&65535)|0;h=(O[(c+s|0)+o|0]<<2)+v|0;b=O[h|0]|O[h+1|0]<<8;b=(((b<<8|b>>>8)&65535)-r|0)/(k|0)|0;g=O[h+2|0]|O[h+3|0]<<8;t=d>>>0>f>>>0;f:{g:{if(t?g&3840:0){break g}if(!(!i|!(g&64?b:1))){c=v+(O[c+o|0]<<2)|0;i=O[c+2|0]|O[c+3|0]<<8;if(t?i&3840:0){break g}c=O[c|0]|O[c+1|0]<<8;if((g^i)&64|((((c<<8|c>>>8)&65535)-r|0)/(k|0)|0)!=(b|0)){break g}}if(!(O[(v+(O[o+(s+!n|0)|0]<<2)|0)+3|0]&15)|d>>>0<=f>>>0){break f}}if(q){break f}c=O[e+62|0]?N[e+72>>2]:l;if(!c){break f}wb(e,3,c-1|0,l+1|0,1,1);g=O[h+2|0]|O[h+3|0]<<8}i=g<<8|(g&65280)>>>8;c=i&65535;f=i<<16>>16<0?N[e+64>>2]:f;if(c&8192){d=N[e+64>>2]+1|0;i=N[e+68>>2];d=d>>>0>>0?d:i}c=c&15;h:{if(!c|d>>>0<=f>>>0){break h}i=d-f|0;if(i>>>0>64){break h}g=O[c+238112|0];t=g>>>4|0;c=t>>>0>=2?2:t;r=g&15;g=r>>>0>=2?2:r;o=c+g|0;if(o>>>0>i>>>0){break h}l=N[e+64>>2]+1|0;k=N[e+68>>2];l=l>>>0>>0?l:k;if(l-f>>>0>=2){Ib(e,f,l)}if(i>>>0>=2){Ib(e,f,d)}l=T(c,20);k=N[e+80>>2];i=k+T(f,20)|0;if(c){B(j,i,l)}n=T(g,20);if(g){B(p,(k+T(d,20)|0)+T(g,-20)|0,n)}if((c|0)!=(g|0)){B(i+n|0,i+l|0,T(d-(f+o|0)|0,20))}if(g){B(i,p,n)}if(c){B((k+T(d,20)|0)+T(c,-20)|0,j,l)}if((t|0)==3){c=k+T(d,20)|0;g=c-20|0;N[j+16>>2]=N[g+16>>2];l=N[g+4>>2];N[j>>2]=N[g>>2];N[j+4>>2]=l;l=N[g+12>>2];N[j+8>>2]=N[g+8>>2];N[j+12>>2]=l;c=c-40|0;N[g+16>>2]=N[c+16>>2];l=N[c+12>>2];N[g+8>>2]=N[c+8>>2];N[g+12>>2]=l;l=N[c+4>>2];N[g>>2]=N[c>>2];N[g+4>>2]=l;N[c+16>>2]=N[j+16>>2];g=N[j+12>>2];N[c+8>>2]=N[j+8>>2];N[c+12>>2]=g;g=N[j+4>>2];N[c>>2]=N[j>>2];N[c+4>>2]=g}if((r|0)!=3){break h}N[j+16>>2]=N[i+16>>2];c=N[i+4>>2];N[j>>2]=N[i>>2];N[j+4>>2]=c;c=N[i+12>>2];N[j+8>>2]=N[i+8>>2];N[j+12>>2]=c;N[i+16>>2]=N[i+36>>2];c=N[i+32>>2];N[i+8>>2]=N[i+28>>2];N[i+12>>2]=c;c=N[i+24>>2];N[i>>2]=N[i+20>>2];N[i+4>>2]=c;N[i+36>>2]=N[j+16>>2];c=N[j+12>>2];N[i+28>>2]=N[j+8>>2];N[i+32>>2]=c;c=N[j+4>>2];N[i+20>>2]=N[j>>2];N[i+24>>2]=c}c=N[e+64>>2];if(!O[e+60|0]|(c|0)==N[e+68>>2]){break c}i:{if(O[h+2|0]&64){i=N[e+152>>2];N[e+152>>2]=i-1;if((i|0)>0){break i}}if(O[e+62|0]){h=N[e+84>>2];i=N[e+80>>2];g=N[e+72>>2];if((h|0)!=(i|0)|(g|0)!=(c|0)){l=g+1|0;if(!(!l|l>>>0>2])){if(!gb(e,l)){break i}g=N[e+72>>2];i=N[e+80>>2];h=N[e+84>>2];c=N[e+64>>2]}j:{if((h|0)!=(i|0)){break j}if(g+1>>>0<=c+1>>>0){h=i;break j}if(!O[e+62|0]){break b}h=N[e+88>>2];N[e+84>>2]=h;l=T(g,20);if(!l){break j}B(h,i,l);g=N[e+72>>2];h=N[e+84>>2];c=N[e+64>>2];i=N[e+80>>2]}c=T(c,20)+i|0;i=N[c+4>>2];g=T(g,20)+h|0;N[g>>2]=N[c>>2];N[g+4>>2]=i;N[g+16>>2]=N[c+16>>2];i=N[c+12>>2];N[g+8>>2]=N[c+8>>2];N[g+12>>2]=i;c=N[e+64>>2];i=N[e+72>>2]}else{i=c}N[e+72>>2]=i+1}N[e+64>>2]=c+1}if(O[e+60|0]){continue}break};break c;case 1:c=O[a+16|0]|O[a+17|0]<<8;p=N[b+68>>2];f=O[p|0]|O[p+1|0]<<8;g=O[p+4|0]|O[p+5|0]<<8;e=N[b+16>>2];d=N[b+12>>2];if(N[d+32>>2]==-1){h=d;d=sb(d+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[h+32>>2]=(d<<8|d>>>8)&65535}N[e+64>>2]=0;if(!O[e+60|0]){break c}t=a+8|0;r=(c<<8|c>>>8)&65535;q=t+r|0;s=!g|(f|0)!=256;while(1){d=N[e+64>>2];c=N[e+68>>2];A=d>>>0>=c>>>0;f=0;k:{if(A){break k}g=N[N[e+80>>2]+T(d,20)>>2];f=2;if((g|0)==65535){break k}h=g;f=O[a+10|0]|O[a+11|0]<<8;g=t+((f<<8|f>>>8)&65535)|0;f=O[g|0]|O[g+1|0]<<8;h=h-((f<<8|f>>>8)&65535)|0;k=O[g+2|0]|O[g+3|0]<<8;f=1;if(h>>>0>=((k<<8|k>>>8)&65535)>>>0){break k}f=O[(g+h|0)+4|0]}g=f;n=O[t|0]|O[t+1|0]<<8;k=(n<<8|n>>>8)&65535;y=g>>>0>>0;if(y){z=g}else{z=1}h=m;x=T(k,h);f=O[a+12|0]|O[a+13|0]<<8;o=(f<<8|f>>>8)&65535;v=o+t|0;f=O[a+14|0]|O[a+15|0]<<8;u=t+((f<<8|f>>>8)&65535)|0;f=(O[(z+x|0)+v|0]<<3)+u|0;m=O[f|0]|O[f+1|0]<<8;m=(((m<<8|m>>>8)&65535)-o|0)/(k|0)|0;z=l&255;w=!z&(c|0)==(d|0);l:{m:{if(!w&((O[f+4|0]|O[f+5|0]<<8)!=65535|(O[f+6|0]|O[f+7|0]<<8)!=65535)){break m}n:{if(!h){break n}h=O[f+2|0]|O[f+3|0]<<8;if(!(h&64?m:1)){break n}g=u+(O[v+(y?g:1)|0]<<3)|0;if(!w&((O[g+4|0]|O[g+5|0]<<8)!=65535|(O[g+6|0]|O[g+7|0]<<8)!=65535)){break m}y=O[g|0]|O[g+1|0]<<8;if((h^(O[g+2|0]|O[g+3|0]<<8))&64|((((y<<8|y>>>8)&65535)-o|0)/(k|0)|0)!=(m|0)){break m}}g=!n;if(w){c=d;break l}g=u+(O[v+(g+x|0)|0]<<3)|0;if((O[g+4|0]|O[g+5|0]<<8)!=65535){break m}if((O[g+6|0]|O[g+7|0]<<8)==65535){break l}}if(A){break l}g=O[e+62|0]?N[e+72>>2]:d;if(!g){break l}wb(e,3,g-1|0,d+1|0,1,1);c=N[e+68>>2];d=N[e+64>>2]}if(z|(c|0)!=(d|0)){u=T(i,20);c=O[f+4|0]|O[f+5|0]<<8;c=N[u+N[e+80>>2]>>2]+((c<<8|c>>>8)&65535)<<1;c=q+((c>>>0>>0?1073741823:c-r>>>1|0)<<1)|0;o:{if(c>>>0>2]){break o}d=N[b+28>>2];if(d>>>0>>0|d-c>>>0<2){break o}d=N[b+32>>2]-2|0;N[b+32>>2]=d;if((d|0)<=0){break o}w=O[c|0]|O[c+1|0]<<8;if(!w){break o}n=N[e+80>>2];c=N[e+64>>2]+1|0;d=N[e+68>>2];o=c>>>0>>0?c:d;v=o-i|0;p:{if(v>>>0<2){break p}k=N[e+144>>2]|32;N[e+144>>2]=k;if(i>>>0>=o>>>0){break p}c=-1;d=i;A=o+(d^-1)|0;if(A>>>0>=3){y=v&-4;g=0;while(1){h=n+T(d,20)|0;x=N[h+8>>2];c=c>>>0>>0?c:x;x=N[h+28>>2];c=c>>>0>>0?c:x;x=N[h+48>>2];c=c>>>0>>0?c:x;h=N[h+68>>2];c=c>>>0>>0?c:h;d=d+4|0;g=g+4|0;if((y|0)!=(g|0)){continue}break}}h=0;g=v&3;if(g){while(1){y=N[(n+T(d,20)|0)+8>>2];c=c>>>0>>0?c:y;d=d+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}d=i;if(v&1){d=n+u|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}d=i+1|0}if(!A){break p}while(1){g=n+T(d,20)|0;if(N[g+8>>2]!=(c|0)){k=k|32;N[e+144>>2]=k;N[g+4>>2]=N[g+4>>2]|3}g=n+T(d+1|0,20)|0;if(N[g+8>>2]!=(c|0)){k=k|32;N[e+144>>2]=k;N[g+4>>2]=N[g+4>>2]|3}d=d+2|0;if((o|0)!=(d|0)){continue}break}}c=n+u|0;d=(w<<8|w>>>8)&65535;N[c>>2]=d;if(s){break o}C=c,D=Tc(p,d),M[C+12>>1]=D}c=N[e+64>>2];d=N[e+68>>2]-1|0;d=T(c>>>0>>0?c:d,20);c=O[f+6|0]|O[f+7|0]<<8;c=N[d+N[e+80>>2]>>2]+((c<<8|c>>>8)&65535)<<1;c=q+((c>>>0>>0?1073741823:c-r>>>1|0)<<1)|0;q:{if(c>>>0>2]){break q}g=N[b+28>>2];if(g>>>0>>0|g-c>>>0<2){break q}g=N[b+32>>2]-2|0;N[b+32>>2]=g;if((g|0)<=0){break q}c=O[c|0]|O[c+1|0]<<8;if(!c){break q}d=d+N[e+80>>2]|0;c=(c<<8|c>>>8)&65535;N[d>>2]=c;if(s){break q}C=d,D=Tc(p,c),M[C+12>>1]=D}c=N[e+64>>2];d=O[f+2|0]&128;i=d?c:i;d=d?1:l}else{d=0}l=d;if(!O[e+60|0]|N[e+68>>2]==(c|0)){break c}r:{if(O[f+2|0]&64){d=N[e+152>>2];N[e+152>>2]=d-1;if((d|0)>0){break r}}if(O[e+62|0]){f=N[e+84>>2];g=N[e+80>>2];d=N[e+72>>2];if((f|0)!=(g|0)|(c|0)!=(d|0)){h=d+1|0;if(!(!h|h>>>0>2])){if(!gb(e,h)){break r}d=N[e+72>>2];g=N[e+80>>2];f=N[e+84>>2];c=N[e+64>>2]}s:{if((g|0)!=(f|0)){break s}if(d+1>>>0<=c+1>>>0){f=g;break s}if(!O[e+62|0]){break b}f=N[e+88>>2];N[e+84>>2]=f;h=T(d,20);if(!h){break s}B(f,g,h);d=N[e+72>>2];f=N[e+84>>2];c=N[e+64>>2];g=N[e+80>>2]}d=T(d,20)+f|0;c=T(c,20)+g|0;f=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=f;N[d+16>>2]=N[c+16>>2];f=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=f;c=N[e+64>>2];d=N[e+72>>2]}else{d=c}N[e+72>>2]=d+1}N[e+64>>2]=c+1}if(O[e+60|0]){continue}break};break c;case 2:L[j|0]=0;l=a+8|0;N[j+8>>2]=l;N[j+4>>2]=b;c=O[a+16|0]|O[a+17|0]<<8;N[j+12>>2]=l+((c<<8|c>>>8)&65535);c=O[a+18|0]|O[a+19|0]<<8;N[j+16>>2]=l+((c<<8|c>>>8)&65535);c=O[a+20|0]|O[a+21|0]<<8;N[j+24>>2]=0;N[j+20>>2]=l+((c<<8|c>>>8)&65535);e=N[b+16>>2];b=N[b+12>>2];if(N[b+32>>2]==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}N[e+72>>2]=0;M[e+62>>1]=1;N[e+64>>2]=0;N[e+84>>2]=N[e+80>>2];t:{if(!O[e+60|0]){break t}b=0;while(1){i=N[e+64>>2];t=i>>>0>=Q[e+68>>2];c=0;u:{if(t){break u}d=N[N[e+80>>2]+T(i,20)>>2];c=2;if((d|0)==65535){break u}f=d;c=O[a+10|0]|O[a+11|0]<<8;d=l+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;f=f-((c<<8|c>>>8)&65535)|0;g=O[d+2|0]|O[d+3|0]<<8;c=1;if(f>>>0>=((g<<8|g>>>8)&65535)>>>0){break u}c=O[(d+f|0)+4|0]}h=O[l|0]|O[l+1|0]<<8;g=(h<<8|h>>>8)&65535;r=c>>>0>>0;if(r){d=c}else{d=1}f=b;o=T(f,g);b=O[a+12|0]|O[a+13|0]<<8;m=(b<<8|b>>>8)&65535;n=m+l|0;b=O[a+14|0]|O[a+15|0]<<8;p=l+((b<<8|b>>>8)&65535)|0;k=(O[(d+o|0)+n|0]<<2)+p|0;b=O[k|0]|O[k+1|0]<<8;b=(((b<<8|b>>>8)&65535)-m|0)/(g|0)|0;d=O[k+2|0]|O[k+3|0]<<8;v:{w:{if(d&65343){break w}if(!(!f|!(d&64?b:1))){c=p+(O[n+(r?c:1)|0]<<2)|0;f=O[c+2|0]|O[c+3|0]<<8;if(f&65343){break w}c=O[c|0]|O[c+1|0]<<8;if((d^f)&64|((((c<<8|c>>>8)&65535)-m|0)/(g|0)|0)!=(b|0)){break w}}c=p+(O[n+(o+!h|0)|0]<<2)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65343)){break v}}if(t){break v}c=O[e+62|0]?N[e+72>>2]:i;if(!c){break v}wb(e,3,c-1|0,i+1|0,1,1);d=O[k+2|0]|O[k+3|0]<<8}if(d&128){i=j;c=N[j+24>>2];x:{if(!c){f=N[e+72>>2];c=0;break x}f=N[e+72>>2];c=c-((f|0)==N[(((c-1&63)<<2)+j|0)+28>>2])|0}N[i+24>>2]=c+1;N[(((c&63)<<2)+j|0)+28>>2]=f}c=d&65343;y:{if(!c){break y}m=N[j+24>>2];if(!m|Q[e+64>>2]>=Q[e+68>>2]){break y}p=N[e+72>>2];f=N[j+12>>2];d=f-N[j+8>>2]|0;c=(c<<8|c>>>8)&65535;h=((c>>>0>>0?536870911:c-d>>>2|0)<<2)+f|0;i=0;z:{while(1){if(!m){N[j+24>>2]=0;cc(e,p);break y}m=m-1|0;t=((m&63)<<2)+j|0;if(!cc(e,N[t+28>>2])){break y}c=N[j+4>>2];A:{if(Q[c+24>>2]>h>>>0){break A}d=N[c+28>>2];if(d>>>0>>0|d-h>>>0<4){break A}d=c;c=N[c+32>>2]-4|0;N[d+32>>2]=c;if((c|0)<=0){break A}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);n=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);g=N[j+16>>2];f=g-N[j+8>>2]|0;c=N[N[e+80>>2]+T(N[e+64>>2],20)>>2]+(c<<25&1073741824|n&1073741823)<<1;c=((c>>>0>>0?1073741823:c-f>>>1|0)<<1)+g|0;d=N[j+4>>2];if(c>>>0>2]){break A}f=N[d+28>>2];if(f>>>0>>0|f-c>>>0<2){break A}f=d;d=N[d+32>>2]-2|0;N[f+32>>2]=d;if((d|0)<=0){break A}c=O[c|0]|O[c+1|0]<<8;i=((c<<8|c>>>8)&65535)+i|0;if(n>>>0>=1073741824){c=N[j+20>>2];d=c-N[j+8>>2]|0;i=d>>>0>i>>>0?1073741823:i-d>>>1|0;c=(i<<1)+c|0;d=N[j+4>>2];if(c>>>0>2]){break A}f=N[d+28>>2];if(f>>>0>>0|f-c>>>0<2){break A}f=d;d=N[d+32>>2]-2|0;N[f+32>>2]=d;if((d|0)<=0){break A}d=O[c|0]|O[c+1|0]<<8;c=N[e+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break y}}c=N[e+64>>2];f=N[e+84>>2];B:{if((f|0)!=N[e+80>>2]){break B}g=N[e+72>>2];if(g+1>>>0<=c+1>>>0){break B}if(!O[e+62|0]){break b}r=N[e+88>>2];N[e+84>>2]=r;g=T(g,20);if(!g){break B}B(r,f,g);c=N[e+64>>2]}f=N[e+68>>2];if(f>>>0>>0){break a}g=(d<<8|d>>>8)&65535;C:{if(c>>>0>>0){d=N[e+72>>2];f=N[e+84>>2];c=N[e+80>>2]+T(c,20)|0;break C}f=N[e+84>>2];d=N[e+72>>2];c=d-1|0;c=f+T(c>>>0<=d>>>0?c:0,20)|0}d=T(d,20)+f|0;f=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=f;N[d+16>>2]=N[c+16>>2];f=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=f;N[d>>2]=g;N[e+64>>2]=N[e+64>>2]+1;N[e+72>>2]=N[e+72>>2]+1;c=N[j+24>>2]-1|0;r=N[(((c&63)<<2)+j|0)+28>>2];if(c>>>0>m>>>0){while(1){f=c;if(!cc(e,N[(((c&63)<<2)+j|0)+28>>2])){break z}c=N[e+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break z}}c=N[e+64>>2];d=N[e+84>>2];D:{if((d|0)!=N[e+80>>2]){break D}g=N[e+72>>2];if(g+1>>>0<=c+1>>>0){break D}if(!O[e+62|0]){break b}o=N[e+88>>2];N[e+84>>2]=o;g=T(g,20);if(!g){break D}B(o,d,g);c=N[e+64>>2]}d=N[e+68>>2];if(d>>>0>>0){break a}E:{if(c>>>0>>0){d=N[e+72>>2];g=N[e+84>>2];c=N[e+80>>2]+T(c,20)|0;break E}g=N[e+84>>2];d=N[e+72>>2];c=d-1|0;c=g+T(c>>>0<=d>>>0?c:0,20)|0}d=T(d,20)+g|0;g=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=g;N[d+16>>2]=N[c+16>>2];g=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=g;N[d>>2]=65535;N[e+64>>2]=N[e+64>>2]+1;N[e+72>>2]=N[e+72>>2]+1;c=f-1|0;if(m>>>0>>0){continue}break}N[j+24>>2]=f}if(!cc(e,r+1|0)){break y}vd(e,N[t+28>>2],N[e+72>>2])}h=h+4|0;if((n|0)>=0){continue}}break}cc(e,p);break y}N[j+24>>2]=f}c=N[e+64>>2];if(!O[e+60|0]|(c|0)==N[e+68>>2]){break t}F:{if(O[k+2|0]&64){d=N[e+152>>2];N[e+152>>2]=d-1;if((d|0)>0){break F}}if(O[e+62|0]){f=N[e+84>>2];g=N[e+80>>2];d=N[e+72>>2];if((f|0)!=(g|0)|(c|0)!=(d|0)){i=d+1|0;if(!(!i|i>>>0>2])){if(!gb(e,i)){break F}d=N[e+72>>2];g=N[e+80>>2];f=N[e+84>>2];c=N[e+64>>2]}G:{if((g|0)!=(f|0)){break G}if(d+1>>>0<=c+1>>>0){f=g;break G}if(!O[e+62|0]){break b}f=N[e+88>>2];N[e+84>>2]=f;i=T(d,20);if(!i){break G}B(f,g,i);d=N[e+72>>2];f=N[e+84>>2];c=N[e+64>>2];g=N[e+80>>2]}d=T(d,20)+f|0;c=T(c,20)+g|0;f=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=f;N[d+16>>2]=N[c+16>>2];f=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=f;c=N[e+64>>2];d=N[e+72>>2]}else{d=c}N[e+72>>2]=d+1}N[e+64>>2]=c+1}if(O[e+60|0]){continue}break}}zc(e);break c;case 4:f=N[b+68>>2];g=O[f+4|0]|O[f+5|0]<<8;e=O[f|0]|O[f+1|0]<<8;c=N[b+12>>2];d=N[c+32>>2];if((d|0)==-1){i=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;d=(c<<8|c>>>8)&65535;N[i+32>>2]=d}c=N[b+16>>2];b=N[c+68>>2];if(!b){break c}a=a+8|0;i=N[c+80>>2];c=0;if((e|0)==256&(g|0)!=0){while(1){g=i+T(c,20)|0;e=ac(a,N[g>>2],d);if(e){e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)&65535;N[g>>2]=e;C=g,D=Tc(f,e),M[C+12>>1]=D}c=c+1|0;if((b|0)!=(c|0)){continue}break c}}while(1){g=i+T(c,20)|0;f=ac(a,N[g>>2],d);if(f){f=O[f|0]|O[f+1|0]<<8;N[g>>2]=(f<<8|f>>>8)&65535}c=c+1|0;if((b|0)!=(c|0)){continue}break};break c;case 5:break d;default:break c}}c=O[a+16|0]|O[a+17|0]<<8;e=N[b+16>>2];d=N[b+12>>2];if(N[d+32>>2]==-1){f=d;d=sb(d+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[f+32>>2]=(d<<8|d>>>8)&65535}N[e+72>>2]=0;M[e+62>>1]=1;N[e+64>>2]=0;N[e+84>>2]=N[e+80>>2];H:{if(!O[e+60|0]){break H}n=a+8|0;r=n+((c<<8|c>>>8)&65535)|0;while(1){g=N[e+64>>2];v=g>>>0>=Q[e+68>>2];c=0;I:{if(v){break I}d=N[N[e+80>>2]+T(g,20)>>2];c=2;if((d|0)==65535){break I}f=d;c=O[a+10|0]|O[a+11|0]<<8;d=n+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;f=f-((c<<8|c>>>8)&65535)|0;h=O[d+2|0]|O[d+3|0]<<8;c=1;if(f>>>0>=((h<<8|h>>>8)&65535)>>>0){break I}c=O[(d+f|0)+4|0]}m=O[n|0]|O[n+1|0]<<8;h=(m<<8|m>>>8)&65535;q=c>>>0>>0;if(q){z=c}else{z=1}f=i;s=T(f,h);d=O[a+12|0]|O[a+13|0]<<8;k=(d<<8|d>>>8)&65535;p=k+n|0;d=O[a+14|0]|O[a+15|0]<<8;o=n+((d<<8|d>>>8)&65535)|0;l=(O[(z+s|0)+p|0]<<3)+o|0;d=O[l|0]|O[l+1|0]<<8;i=(((d<<8|d>>>8)&65535)-k|0)/(h|0)|0;d=O[l+2|0]|O[l+3|0]<<8;J:{K:{if((O[l+4|0]|O[l+5|0]<<8)!=65535|(O[l+6|0]|O[l+7|0]<<8)!=65535?d&65283:0){break K}if(!(!f|!(d&64?i:1))){c=o+(O[p+(q?c:1)|0]<<3)|0;f=O[c+2|0]|O[c+3|0]<<8;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(O[c+6|0]|O[c+7|0]<<8)!=65535?f&65283:0){break K}c=O[c|0]|O[c+1|0]<<8;if((d^f)&64|((((c<<8|c>>>8)&65535)-k|0)/(h|0)|0)!=(i|0)){break K}}c=o+(O[p+(s+!m|0)|0]<<3)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65283)){break J}if((O[c+4|0]|O[c+5|0]<<8)!=65535){break K}if((O[c+6|0]|O[c+7|0]<<8)==65535){break J}}if(v){break J}c=O[e+62|0]?N[e+72>>2]:g;if(!c){break J}wb(e,3,c-1|0,g+1|0,1,1);d=O[l+2|0]|O[l+3|0]<<8}o=d<<8|(d&65280)>>>8;p=o&65535;v=N[e+72>>2];c=O[l+6|0]|O[l+7|0]<<8;L:{if((c|0)!=65535){g=p&31;d=N[e+152>>2]-g|0;N[e+152>>2]=d;if((d|0)<=0){break L}k=r+(((c<<8|c>>>8)&65535)<<1)|0;M:{N:{if(!g|k>>>0>2]){break N}c=N[b+28>>2];if(c>>>0>>0){break N}d=c-k|0;c=g<<1;if(d>>>0>>0){break N}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break M}}g=0}q=N[e+72>>2];if(!cc(e,t)){break L}c=N[e+72>>2];s=p&1024;O:{if(s){break O}d=N[e+64>>2];if(d>>>0>=Q[e+68>>2]){break O}f=N[e+80>>2];d=f+T(d,20)|0;N[j+16>>2]=N[d+16>>2];h=N[d+12>>2];N[j+8>>2]=N[d+8>>2];N[j+12>>2]=h;h=N[d+4>>2];N[j>>2]=N[d>>2];N[j+4>>2]=h;d=c+1|0;if(!(!d|d>>>0>2])){if(!gb(e,d)){break L}f=N[e+80>>2];c=N[e+72>>2]}d=N[e+84>>2];P:{if((f|0)!=(d|0)){break P}if(Q[e+64>>2]>=c+1>>>0){d=f;break P}if(!O[e+62|0]){break b}d=N[e+88>>2];N[e+84>>2]=d;h=T(c,20);if(!h){break P}B(d,f,h);c=N[e+72>>2];d=N[e+84>>2]}c=T(c,20)+d|0;d=N[j+4>>2];N[c>>2]=N[j>>2];N[c+4>>2]=d;N[c+16>>2]=N[j+16>>2];d=N[j+12>>2];N[c+8>>2]=N[j+8>>2];N[c+12>>2]=d;c=N[e+72>>2]+1|0;N[e+72>>2]=c}c=c+g|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break L}}c=N[e+64>>2];d=N[e+84>>2];Q:{if((d|0)!=N[e+80>>2]){break Q}f=N[e+72>>2];if(f+g>>>0<=c>>>0){break Q}if(!O[e+62|0]){break b}h=N[e+88>>2];N[e+84>>2]=h;f=T(f,20);if(!f){break Q}B(h,d,f);c=N[e+64>>2]}f=N[e+68>>2];if(f>>>0>>0){break a}R:{if(c>>>0>>0){m=N[e+72>>2];h=N[e+84>>2];d=N[e+80>>2]+T(c,20)|0;break R}h=N[e+84>>2];m=N[e+72>>2];d=m-1|0;d=h+T(d>>>0<=m>>>0?d:0,20)|0}S:{if(!g){N[e+72>>2]=m;break S}c=T(m,20)+h|0;f=0;T:{if((g|0)!=1){h=g&1;m=g&30;while(1){u=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=u;N[c+16>>2]=N[d+16>>2];u=d+8|0;w=N[u+4>>2];N[c+8>>2]=N[u>>2];N[c+12>>2]=w;u=f<<1;w=u+k|0;w=O[w|0]|O[w+1|0]<<8;N[c>>2]=(w<<8|w>>>8)&65535;N[c+36>>2]=N[d+16>>2];w=N[d+12>>2];N[c+28>>2]=N[d+8>>2];N[c+32>>2]=w;w=N[d+4>>2];N[c+20>>2]=N[d>>2];N[c+24>>2]=w;u=k+(u|2)|0;u=O[u|0]|O[u+1|0]<<8;N[c+20>>2]=(u<<8|u>>>8)&65535;c=c+40|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}if(!h){break T}}h=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=h;N[c+16>>2]=N[d+16>>2];h=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=h;d=c;c=k+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[d>>2]=(c<<8|c>>>8)&65535}N[e+72>>2]=N[e+72>>2]+g;f=N[e+68>>2];c=N[e+64>>2]}if(!(c>>>0>=f>>>0|s)){N[e+64>>2]=c+1}if(!cc(e,g+q|0)){break L}c=N[e+64>>2]+1|0;d=N[e+68>>2];wb(e,3,t,c>>>0>>0?c:d,1,1)}t=o<<16>>16<0?v:t;c=O[l+4|0]|O[l+5|0]<<8;if((c|0)==65535){break L}k=p>>>5&31;d=N[e+152>>2]-k|0;N[e+152>>2]=d;if((d|0)<=0){break L}g=r+(((c<<8|c>>>8)&65535)<<1)|0;U:{V:{if(!k|g>>>0>2]){break V}c=N[b+28>>2];if(c>>>0>>0){break V}d=c-g|0;c=k<<1;if(d>>>0>>0){break V}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break U}}k=0}o=N[e+72>>2];c=o;v=p&2048;W:{if(v){break W}d=N[e+64>>2];if(d>>>0>=Q[e+68>>2]){break W}f=N[e+80>>2];d=f+T(d,20)|0;N[j+16>>2]=N[d+16>>2];h=N[d+12>>2];N[j+8>>2]=N[d+8>>2];N[j+12>>2]=h;h=N[d+4>>2];N[j>>2]=N[d>>2];N[j+4>>2]=h;d=c+1|0;if(!(!d|d>>>0>2])){if(!gb(e,d)){break L}f=N[e+80>>2];c=N[e+72>>2]}d=N[e+84>>2];X:{if((f|0)!=(d|0)){break X}if(Q[e+64>>2]>=c+1>>>0){d=f;break X}if(!O[e+62|0]){break b}d=N[e+88>>2];N[e+84>>2]=d;h=T(c,20);if(!h){break X}B(d,f,h);c=N[e+72>>2];d=N[e+84>>2]}c=T(c,20)+d|0;d=N[j+4>>2];N[c>>2]=N[j>>2];N[c+4>>2]=d;N[c+16>>2]=N[j+16>>2];d=N[j+12>>2];N[c+8>>2]=N[j+8>>2];N[c+12>>2]=d;c=N[e+72>>2]+1|0;N[e+72>>2]=c}c=c+k|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break L}}c=N[e+64>>2];d=N[e+84>>2];Y:{if((d|0)!=N[e+80>>2]){break Y}f=N[e+72>>2];if(f+k>>>0<=c>>>0){break Y}if(!O[e+62|0]){break b}h=N[e+88>>2];N[e+84>>2]=h;f=T(f,20);if(!f){break Y}B(h,d,f);c=N[e+64>>2]}f=N[e+68>>2];if(f>>>0>>0){break a}Z:{if(c>>>0>>0){m=N[e+72>>2];h=N[e+84>>2];d=N[e+80>>2]+T(c,20)|0;break Z}h=N[e+84>>2];m=N[e+72>>2];d=m-1|0;d=h+T(d>>>0<=m>>>0?d:0,20)|0}_:{if(!k){N[e+72>>2]=m;break _}c=T(m,20)+h|0;f=0;$:{if((k|0)!=1){h=k&1;m=k&30;while(1){q=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=q;N[c+16>>2]=N[d+16>>2];q=d+8|0;s=N[q+4>>2];N[c+8>>2]=N[q>>2];N[c+12>>2]=s;q=f<<1;s=q+g|0;s=O[s|0]|O[s+1|0]<<8;N[c>>2]=(s<<8|s>>>8)&65535;N[c+36>>2]=N[d+16>>2];s=N[d+12>>2];N[c+28>>2]=N[d+8>>2];N[c+32>>2]=s;s=N[d+4>>2];N[c+20>>2]=N[d>>2];N[c+24>>2]=s;q=g+(q|2)|0;q=O[q|0]|O[q+1|0]<<8;N[c+20>>2]=(q<<8|q>>>8)&65535;c=c+40|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}if(!h){break $}}h=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=h;N[c+16>>2]=N[d+16>>2];h=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=h;d=c;c=g+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[d>>2]=(c<<8|c>>>8)&65535}N[e+72>>2]=N[e+72>>2]+k;f=N[e+68>>2];c=N[e+64>>2]}if(!(c>>>0>=f>>>0|v)){N[e+64>>2]=c+1}cc(e,o+(p&16384?0:k)|0)}c=N[e+64>>2];if(!O[e+60|0]|(c|0)==N[e+68>>2]){break H}aa:{if(O[l+2|0]&64){d=N[e+152>>2];N[e+152>>2]=d-1;if((d|0)>0){break aa}}if(O[e+62|0]){f=N[e+84>>2];g=N[e+80>>2];d=N[e+72>>2];if((f|0)!=(g|0)|(c|0)!=(d|0)){h=d+1|0;if(!(!h|h>>>0>2])){if(!gb(e,h)){break aa}d=N[e+72>>2];g=N[e+80>>2];f=N[e+84>>2];c=N[e+64>>2]}ba:{if((g|0)!=(f|0)){break ba}if(d+1>>>0<=c+1>>>0){f=g;break ba}if(!O[e+62|0]){break b}f=N[e+88>>2];N[e+84>>2]=f;h=T(d,20);if(!h){break ba}B(f,g,h);d=N[e+72>>2];f=N[e+84>>2];c=N[e+64>>2];g=N[e+80>>2]}d=T(d,20)+f|0;c=T(c,20)+g|0;f=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=f;N[d+16>>2]=N[c+16>>2];f=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=f;c=N[e+64>>2];d=N[e+72>>2]}else{d=c}N[e+72>>2]=d+1}N[e+64>>2]=c+1}if(O[e+60|0]){continue}break}}zc(e)}La=j+288|0;return}ba(8694,17855,209,11932);F()}ba(13080,14165,312,10949);F()}function lc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;h=N[a>>2];if(!h){u=a-100|0;while(1){b=N[u>>2];if(!b){return 275552}o=db(1,12);if(!o){N[a>>2]=275552;return 275552}r=0;j=La-48|0;La=j;N[o>>2]=0;N[j+16>>2]=0;N[j+20>>2]=0;N[j+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[j+44|0]=1;N[j+40>>2]=c;c=N[b+12>>2];a:{if(c){h=Qa[c|0](b,1196445523,N[b+16>>2])|0;if(h){break a}}h=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{c=N[h>>2];if(c){if((c|0)<=0){break j}N[h>>2]=c+1}L[j+28|0]=0;N[j+36>>2]=h;c=N[h+12>>2];N[j+8>>2]=c;d=N[h+16>>2];N[j+12>>2]=d+c;if((d|0)<0){break i}if(d>>>0>67108863){e=1073741823}else{b=d<<6;b=b>>>0<=16384?16384:b;e=b>>>0>=1073741823?1073741823:b}N[j+24>>2]=0;N[j+4>>2]=0;N[j+32>>2]=0;b=h;if(!c){break c}if(d>>>0<4){break g}N[j+16>>2]=e-4;if((O[c|0]|O[c+1|0]<<8)!=256){break f}d=ch(c,j+4|0);b=N[j+32>>2];if(d){break h}if(O[j+28|0]|!b){break g}if(!zb(h)){break g}while(1){L[j+28|0]=1;b=N[j+36>>2];c=N[b+12>>2];N[j+8>>2]=c;d=N[b+16>>2];N[j+12>>2]=d+c;if((d|0)<0){break i}if(d>>>0>67108863){e=1073741823}else{e=d<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[j+24>>2]=0;N[j+4>>2]=0;N[j+32>>2]=0;if(!c){break c}if(d>>>0<4){break g}N[j+16>>2]=e-4;if((O[c|0]|O[c+1|0]<<8)!=256){break f}d=ch(c,j+4|0);b=N[j+32>>2];if(d){break h}if(O[j+28|0]|!b){break g}c=zb(h);N[j+8>>2]=c;N[j+12>>2]=c+N[h+16>>2];if(c){continue}break}break g}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!b){break f}N[j+32>>2]=0;if(Q[j+8>>2]>c>>>0){break g}b=N[j+12>>2];if(b>>>0>>0|b-c>>>0<4){break g}b=N[j+16>>2]-4|0;N[j+16>>2]=b;if((b|0)<=0){break g}if((O[c|0]|O[c+1|0]<<8)!=256){break f}c=ch(c,j+4|0);if(N[j+32>>2]){break g}ab(N[j+36>>2]);N[j+36>>2]=0;if(c){break e}break d}ab(N[j+36>>2]);break d}ab(N[j+36>>2]);N[j+36>>2]=0}if(!N[h+4>>2]){break b}N[h+4>>2]=0;break b}ab(h);h=275552;break b}ab(b)}N[o>>2]=h;c=0;b=Q[h+16>>2]<4?275552:N[h+12>>2];if((O[b|0]|O[b+1|0]<<8)==256){c=O[b+8|0]|O[b+9|0]<<8;if(c){c=b+((c<<8|c>>>8)&65535)|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;c=(c<<8|c>>>8)&65535}N[o+4>>2]=c;b=db(c,28);N[o+8>>2]=b;if(!b){N[o+4>>2]=0;ab(h);N[o>>2]=275552;c=N[o+4>>2]}if(c){while(1){p=275552;n=N[o+8>>2]+T(r,28)|0;c=N[o>>2];c=c?c:275552;c=Q[c+16>>2]<4?275552:N[c+12>>2];k:{if((O[c|0]|O[c+1|0]<<8)!=256){break k}h=275552;b=O[c+8|0]|O[c+9|0]<<8;if(b){h=c+((b<<8|b>>>8)&65535)|0}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break k}c=(r<<1)+h|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break k}p=((c<<8|c>>>8)&65535)+h|0}N[n+12>>2]=0;N[n+16>>2]=0;N[n+20>>2]=0;N[j+12>>2]=-1;N[j+16>>2]=0;N[j+8>>2]=n+12;N[j+4>>2]=0;c=O[p+4|0]|O[p+5|0]<<8;l:{if(!c){N[n>>2]=0;N[n+4>>2]=0;N[n+8>>2]=0;N[n+24>>2]=-1;break l}b=O[p|0]|O[p+1|0]<<8;s=(b<<8|b>>>8)&65535;t=p+4|0;c=(c<<8|c>>>8)&65535;v=c>>>0<=1?1:c;h=0;while(1){c=O[t|0]|O[t+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=h>>>0?275552:((h<<1)+t|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+p|0}else{c=275552}q=j+4|0;b=s;g=0;e=La-32|0;La=e;m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{while(1){D:{if((b|0)!=9){E:{switch(b-1|0){case 0:F:{G:{b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break F;case 0:break G;default:break m}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=204;N[e+12>>2]=205;N[e+8>>2]=206;N[e+4>>2]=c;H:{I:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break H;case 0:break I;default:break n}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break n}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;J:{if((b|0)==256){d=0;b=c;break J}i=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;i=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break o}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break o}Ub(c,e+20|0);break n}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=207;N[e+12>>2]=208;N[e+8>>2]=209;N[e+4>>2]=c;K:{L:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break K;case 0:break L;default:break p}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break p}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;M:{if((b|0)==256){d=0;b=c;break M}i=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;i=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break q}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break q}Ub(c,e+20|0);break p;case 1:N:{O:{b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break N;case 0:break O;default:break m}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=210;N[e+12>>2]=211;N[e+8>>2]=212;N[e+4>>2]=c;P:{Q:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break P;case 0:break Q;default:break r}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break r}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;R:{if((b|0)==256){d=0;b=c;break R}i=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;i=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break s}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break s}Ub(c,e+20|0);break r}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=213;N[e+12>>2]=214;N[e+8>>2]=215;N[e+4>>2]=c;S:{T:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break S;case 0:break T;default:break t}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break t}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;U:{if((b|0)==256){d=0;b=c;break U}i=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;i=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break u}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break u}Ub(c,e+20|0);break t;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=216;N[e+12>>2]=217;N[e+8>>2]=218;N[e+4>>2]=c;V:{W:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break V;case 0:break W;default:break v}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break v}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;X:{if((b|0)==256){d=0;b=c;break X}i=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;i=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break w}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break w}Ub(c,e+20|0);break v;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=219;N[e+12>>2]=220;N[e+8>>2]=221;N[e+4>>2]=c;Y:{Z:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break Y;case 0:break Z;default:break x}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break x}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;_:{if((b|0)==256){d=0;b=c;break _}i=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;i=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break y}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break y}Ub(c,e+20|0);break x;case 4:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=222;N[e+12>>2]=223;N[e+8>>2]=224;N[e+4>>2]=c;$:{aa:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break $;case 0:break aa;default:break z}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break z}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;ba:{if((b|0)==256){d=0;b=c;break ba}i=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;i=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break A}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break A}Ub(c,e+20|0);break z;case 5:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=225;N[e+12>>2]=226;N[e+8>>2]=227;N[e+4>>2]=c;ca:{da:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break ca;case 0:break da;default:break B}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break B}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;ea:{if((b|0)==256){d=0;b=c;break ea}i=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((i|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;i=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break C}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break C}Ub(c,e+20|0);break B;case 6:break D;case 7:break E;default:break m}}Wk(c,q);break m}if((O[c|0]|O[c+1|0]<<8)!=256){break m}b=O[c+2|0]|O[c+3|0]<<8;b=(b<<8|b>>>8)&65535;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(d){c=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0}else{c=275552}continue}break}Vk(c,q);break m}if(i){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}N[e+28>>2]=b}fa:{ga:{ha:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ga}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break fa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(i){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ia:{ja:{ka:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ja}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ia}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(i){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}N[e+28>>2]=b}la:{ma:{na:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ma}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break la}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(i){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}N[e+28>>2]=b}oa:{pa:{qa:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break pa}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break oa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(i){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ra:{sa:{ta:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break sa}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ra}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(i){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ua:{va:{wa:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break va}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ua}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(i){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}N[e+28>>2]=b}xa:{ya:{za:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break za}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ya}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break xa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(i){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}N[e+28>>2]=b}Aa:{Ba:{Ca:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break Ba}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break Aa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b}La=e+32|0;h=h+1|0;if((v|0)!=(h|0)){continue}break}h=N[n+20>>2];c=N[n+16>>2];N[n+8>>2]=0;N[n>>2]=0;N[n+4>>2]=0;if(!c){N[n+24>>2]=N[j+12>>2];break l}d=T(c,28)-28|0;e=((d>>>0)/28|0)+1|0;s=e&1;b=0;Da:{if(d>>>0<28){e=0;d=0;break Da}g=e&536870910;e=0;d=0;p=0;while(1){b=N[h+16>>2]|b;N[n>>2]=b;e=N[h+20>>2]|e;N[n+4>>2]=e;d=N[h+24>>2]|d;N[n+8>>2]=d;b=b|N[h+44>>2];N[n>>2]=b;e=e|N[h+48>>2];N[n+4>>2]=e;d=d|N[h+52>>2];N[n+8>>2]=d;h=h+56|0;p=p+2|0;if((g|0)!=(p|0)){continue}break}}if(s){N[n>>2]=N[h+16>>2]|b;N[n+4>>2]=N[h+20>>2]|e;N[n+8>>2]=N[h+24>>2]|d}N[n+24>>2]=N[j+12>>2];h=0;while(1){if(N[n+24>>2]!=(h|0)){Ea:{if(c>>>0<=h>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=N[n+16>>2];b=0;break Ea}b=N[(N[n+20>>2]+T(h,28)|0)+4>>2]}Fa:{if(c>>>0<=h>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=N[n+16>>2];d=589824;break Fa}d=N[n+20>>2]+T(h,28)|0}N[d+8>>2]=b}h=h+1|0;if(h>>>0>>0){continue}break}}r=r+1|0;if(r>>>0>2]){continue}break}}La=j+48|0;if(!N[a>>2]){N[a>>2]=o;return o}if(N[o+4>>2]){h=0;while(1){c=N[o+8>>2]+T(h,28)|0;if(N[c+16>>2]){N[c+16>>2]=0}_a(N[c+20>>2]);N[c+16>>2]=0;N[c+20>>2]=0;N[c+12>>2]=0;h=h+1|0;if(h>>>0>2]){continue}break}}_a(N[o+8>>2]);ab(N[o>>2]);_a(o);h=N[a>>2];if(!h){continue}break}}return h}function yE(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{c:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break b}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break a}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=279;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break f}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=d;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break i}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=d;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];j:{k:{l:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break k}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break l}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break j}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=280;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break o}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=d;N[b>>2]=1853188980;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break q}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break p}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break u}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=d;N[b>>2]=1634429038;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];v:{w:{x:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break w}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break x}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break v}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break A}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break C}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break B}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break G}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=d;N[b>>2]=1919644262;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];H:{I:{J:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break I}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break J}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break H}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break M}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];N:{O:{P:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break O}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break P}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break N}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break S}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];T:{U:{V:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break U}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break V}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break T}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Y}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];Z:{_:{$:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break _}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break $}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break Z}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];aa:{ba:{ca:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ba}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break ca}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break aa}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1751215206;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];da:{ea:{fa:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break ea}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break fa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break da}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];ga:{ha:{ia:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break ia}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ga}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];ja:{ka:{la:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break ka}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break la}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break ja}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];ma:{na:{oa:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break oa}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ma}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=d;N[b>>2]=1986098293;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];pa:{qa:{ra:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break qa}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break ra}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break pa}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];sa:{ta:{ua:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break ua}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break sa}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=d;N[b>>2]=1667916660;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];va:{wa:{xa:{c=N[a+96>>2];if((c|0)>=0){d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break wa}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){e=$a(N[a+104>>2],c<<3);b=N[a+100>>2];if(e){break xa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break va}N[a+96>>2]=c;N[a+104>>2]=e}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,d-b<<3)}N[a+100>>2]=d;b=d;d=(N[a+104>>2]+(b<<3)|0)-8|0}c=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=c;N[a+76>>2]=N[a+76>>2]+1;ya:{za:{Aa:{c=N[a+96>>2];if((c|0)>=0){d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break za}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){b=$a(N[a+104>>2],c<<3);if(b){break Aa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break ya}N[a+96>>2]=c;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,d-b<<3)}N[a+100>>2]=d;d=(N[a+104>>2]+(d<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=281;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];Ba:{Ca:{Da:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Da}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ba}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1768843636;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];Ea:{Fa:{Ga:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Ga}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ea}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=d;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];Ha:{Ia:{Ja:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Ja}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ha}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=d;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];Ka:{La:{Ma:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break La}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Ma}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ka}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=d;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];Na:{Oa:{Pa:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Pa}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Na}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=d;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];Qa:{Ra:{Sa:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Sa}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Qa}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=d;N[b>>2]=1751215214;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Jg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=La-8304|0;La=g;N[a+88>>2]=0;N[a+92>>2]=0;N[a+104>>2]=0;N[a+108>>2]=0;N[a+96>>2]=0;N[a+100>>2]=0;e=a+112|0;c=e;N[c>>2]=-1;N[c+4>>2]=-1;N[a+120>>2]=-1;N[a+124>>2]=-1;N[a+128>>2]=-1;N[a+132>>2]=-1;N[a+136>>2]=-1;N[a+140>>2]=-1;N[a+144>>2]=-1;N[a+148>>2]=-1;N[a+152>>2]=-1;N[a+168>>2]=0;N[a+172>>2]=0;N[a+160>>2]=0;N[a+164>>2]=8720;N[a+176>>2]=0;N[a+180>>2]=0;N[a+184>>2]=0;N[a+188>>2]=0;m=a+192|0;c=m;N[c>>2]=0;N[c+4>>2]=0;N[a+200>>2]=0;N[a+204>>2]=0;N[a+208>>2]=0;N[a+212>>2]=0;if(!O[a+40|0]){d=N[b+32>>2];if((d|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;d=(c<<8|c>>>8)&65535;N[b+32>>2]=d}L[a+40|0]=1;N[a+36>>2]=d}c=N[b+12>>2];a:{if(c){b=Qa[c|0](b,1128678944,N[b+16>>2])|0;if(b){break a}}b=275552}b:{c=N[b>>2];if(c){if((c|0)<=0){break b}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;h=N[b+12>>2];N[a+4>>2]=h;d=N[b+16>>2];N[a+8>>2]=d+h;if((d|0)>=0){c:{N[a+28>>2]=0;if(d>>>0>67108863){c=1073741823}else{c=d<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;d:{if(!h){ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break d}e:{if(d>>>0>=4){N[a+12>>2]=c-4;c=O[h|0];ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if((c|0)!=1){break e}if(!N[b+4>>2]){break d}N[b+4>>2]=0;break d}ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}ab(b);b=275552}N[a+44>>2]=b;f:{c=N[b>>2];if(c){if((c|0)<=0){break f}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;c=N[b+12>>2];N[a+4>>2]=c;d=c;c=N[b+16>>2];N[a+8>>2]=d+c;if((c|0)>=0){N[a+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;g:{h:{if(Q[b+16>>2]<4){break h}o=N[b+12>>2];if((o|0)==275552){break h}b=O[o+2|0]+o|0;N[a+56>>2]=b;if((b|0)==275552){break h}if(!Ed(b,a)){break h}c=N[a+56>>2];b=O[c|0]|O[c+1|0]<<8;if(b){d=O[c+2|0];b=(b<<8|b>>>8)&65535;h=T(d,b+1|0);b=c+T(b,d)|0;i:{j:{switch(d-1|0){case 0:i=O[b+3|0];break i;case 1:b=O[b+3|0]|O[b+4|0]<<8;i=(b<<8|b>>>8)&65535;break i;case 2:i=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break i;case 3:break j;default:break i}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);i=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(h+i|0)+2|0}else{b=2}b=b+c|0;N[a+60>>2]=b;if((b|0)==275552){break h}if(!Ed(b,a)){break h}b=N[a+60>>2];if(!(O[b|0]|O[b+1|0]<<8)){break h}fd(g+16|0,b,0);b=N[g+20>>2];if(b){c=N[g+16>>2];if(c>>>0>2]){break h}d=N[a+8>>2];if(d>>>0>>0|b>>>0>d-c>>>0){break h}b=N[a+12>>2]-b|0;N[a+12>>2]=b;if((b|0)<=0){break h}}k=a+204|0;L[g+4184|0]=0;G(g+4188|0,0,4108);N[g+8296>>2]=0;N[g+8300>>2]=0;i=N[g+20>>2];b=N[g+16>>2];N[g+4168>>2]=b;N[g+4172>>2]=i;N[a+104>>2]=0;N[a+108>>2]=0;N[a+96>>2]=0;N[a+100>>2]=0;N[a+88>>2]=0;N[a+92>>2]=0;N[e+40>>2]=-1;b=e;N[b+32>>2]=-1;N[b+36>>2]=-1;N[b+24>>2]=-1;N[b+28>>2]=-1;N[b+16>>2]=-1;N[b+20>>2]=-1;N[b+8>>2]=-1;N[b+12>>2]=-1;N[b>>2]=-1;N[b+4>>2]=-1;N[a+160>>2]=0;N[a+164>>2]=8720;N[a+184>>2]=0;N[a+188>>2]=0;N[a+176>>2]=0;N[a+180>>2]=0;N[a+168>>2]=0;N[a+172>>2]=0;l=g+4184|0;b=0;while(1){k:{l:{m:{d=b+1|0;if(d>>>0<=i>>>0){h=N[g+4168>>2];c=O[h+b|0];N[g+4176>>2]=d;n:{if((c|0)!=12){b=d;break n}b=b+2|0;if(i>>>0>>0){b=N[a+88>>2];c=N[g+8300>>2];N[g+8300>>2]=d;p=(b^-1)+c|0;c=65535;break m}c=O[d+h|0];N[g+4176>>2]=b;c=c|256}p=N[g+8300>>2]+(N[a+88>>2]^-1)|0;d=0;o:{p:{switch(c|0){case 0:case 1:case 2:case 3:case 4:case 256:case 277:case 278:case 294:q:{if(!f){f=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;d=1;break q}j=S[l+(f<<3)>>3];r:{if(V(j)<2147483648){f=~~j;break r}f=-2147483648}d=0;if((f|0)>=0){break q}L[g+4184|0]=1;f=0;d=1}s:{t:{u:{v:{w:{x:{y:{z:{A:{switch(c-1|0){default:h=0;switch(c-256|0){case 22:break t;case 38:break u;case 21:break v;case 0:break z;default:break s};case 3:break w;case 2:break x;case 1:break y;case 0:break A}}h=1;break s}h=2;break s}h=3;break s}h=4;break s}h=5;break s}h=6;break s}h=7;break s}h=8}N[e+(h<<2)>>2]=f;break o;case 290:B:{if(!f){c=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;d=1;break B}j=S[l+(f<<3)>>3];C:{if(V(j)<2147483648){c=~~j;break C}c=-2147483648}d=0;if((c|0)>=0){break B}L[g+4184|0]=1;c=0;d=1}N[a+164>>2]=c;c=290;break o;case 286:D:{E:{F:{G:{H:{if(!f){N[a+160>>2]=0;break H}h=f-1|0;j=S[(l+(h<<3)|0)+8>>3];I:{if(V(j)<2147483648){c=~~j;break I}c=-2147483648}if((c|0)<0){L[g+4184|0]=1;d=1;c=0}N[a+160>>2]=c;if(h){break G}}N[147456]=0;N[147457]=0;L[g+4184|0]=1;N[a+152>>2]=0;break F}f=f-2|0;N[g+4188>>2]=f;h=l+(f<<3)|0;j=S[h+8>>3];J:{if(V(j)<2147483648){c=~~j;break J}c=-2147483648}if((c|0)<0){L[g+4184|0]=1;d=1;c=0}N[a+152>>2]=c;if(f){break E}}c=0;N[147456]=0;N[147457]=0;d=1;L[g+4184|0]=1;break D}j=S[h>>3];K:{if(V(j)<2147483648){c=~~j;break K}c=-2147483648}if((c|0)>=0){break D}d=1;L[g+4184|0]=1;c=0}N[a+148>>2]=c;c=286;break o;case 16:if(!f){N[147456]=0;N[147457]=0;L[g+4184|0]=1;N[a+168>>2]=0;N[g+4188>>2]=0;break h}j=S[l+(f<<3)>>3];L:{if(V(j)<2147483648){d=~~j;break L}d=-2147483648}if((d|0)<0){L[g+4184|0]=1;N[a+168>>2]=0;N[g+4188>>2]=0;break h}N[a+168>>2]=d;f=0;N[g+4188>>2]=0;c=16;if(d){d=0;break l}d=0;break k;case 15:if(!f){N[147456]=0;N[147457]=0;L[g+4184|0]=1;N[a+172>>2]=0;N[g+4188>>2]=0;break h}j=S[l+(f<<3)>>3];M:{if(V(j)<2147483648){d=~~j;break M}d=-2147483648}if((d|0)<0){L[g+4184|0]=1;N[a+172>>2]=0;N[g+4188>>2]=0;break h}N[a+172>>2]=d;f=0;N[g+4188>>2]=0;c=15;if(d){d=0;break l}d=0;break k;case 293:N:{if(!f){c=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;d=1;break N}j=S[l+(f<<3)>>3];O:{if(V(j)<2147483648){c=~~j;break O}c=-2147483648}d=0;if((c|0)>=0){break N}L[g+4184|0]=1;c=0;d=1}N[a+176>>2]=c;c=293;break o;case 18:P:{Q:{R:{if(!f){N[a+180>>2]=0;break R}h=f-1|0;j=S[(l+(h<<3)|0)+8>>3];S:{if(V(j)<2147483648){c=~~j;break S}c=-2147483648}if((c|0)<0){L[g+4184|0]=1;d=1;c=0}N[a+180>>2]=c;if(h){break Q}}c=0;N[147456]=0;N[147457]=0;d=1;L[g+4184|0]=1;break P}j=S[(l+(f<<3)|0)-8>>3];T:{if(V(j)<2147483648){c=~~j;break T}c=-2147483648}if((c|0)>=0){break P}d=1;L[g+4184|0]=1;c=0}N[a+184>>2]=c;c=18;break o;case 5:case 13:case 14:case 257:case 258:case 259:case 260:case 261:case 262:case 264:case 276:case 279:case 287:case 288:case 289:case 291:break o;default:break p}}N[g+8300>>2]=b;if((c|0)!=292){if((c|0)==263){break o}if((c|0)!=17){break m}U:{if(!f){c=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;d=1;break U}j=S[l+(f<<3)>>3];V:{if(V(j)<2147483648){c=~~j;break V}c=-2147483648}d=0;if((c|0)>=0){break U}L[g+4184|0]=1;c=0;d=1}N[a+104>>2]=c;c=17;break o}W:{if(!f){c=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;d=1;break W}j=S[l+(f<<3)>>3];X:{if(V(j)<2147483648){c=~~j;break X}c=-2147483648}d=0;if((c|0)>=0){break W}L[g+4184|0]=1;c=0;d=1}N[a+108>>2]=c;c=292}N[g+4188>>2]=0;break l}b=N[a+172>>2];Y:{if(b>>>0<=2){N[a+52>>2]=275552;break Y}d=b+o|0;N[a+52>>2]=d;if((d|0)==275552){break h}h=0;i=N[a+4>>2];Z:{if(i>>>0>d>>>0){break Z}e=N[a+8>>2];if(e>>>0<=d>>>0){break Z}c=N[a+12>>2];b=c-1|0;N[a+12>>2]=b;if((b|0)<=0){break Z}_:{$:{switch(O[d|0]){case 0:b=(d+(N[a+36>>2]<<1)|0)-1|0;if(b>>>0>>0|b>>>0>e>>>0|e-b>>>0<2){break Z}b=c-3|0;N[a+12>>2]=b;h=(b|0)>0;break Z;case 1:h=1;c=N[a+36>>2]-1|0;if(!c){break Z}l=d+1|0;f=0;while(1){h=l+T(f,3)|0;if(h>>>0>>0|e>>>0>>0|e-h>>>0<3){break _}d=b-3|0;N[a+12>>2]=d;if((b|0)<4){break _}n=O[h+2|0];if(n>>>0>=c>>>0){break _}h=1;f=f+1|0;b=d;c=(n^-1)+c|0;if(c){continue}break};break Z;case 2:break $;default:break Z}}h=1;c=N[a+36>>2]-1|0;if(!c){break Z}l=d+1|0;f=0;while(1){h=l+(f<<2)|0;if(h>>>0>>0|e>>>0>>0|e-h>>>0<4){break _}d=b-4|0;N[a+12>>2]=d;if((b|0)<5){break _}b=O[h+2|0]|O[h+3|0]<<8;n=(b<<8|b>>>8)&65535;if(n>>>0>=c>>>0){break _}h=1;f=f+1|0;b=d;c=(n^-1)+c|0;if(c){continue}break}break Z}h=0}if(!h){break h}}N[a+84>>2]=1;aa:{ba:{if(N[a+148>>2]!=-1){b=N[a+108>>2];b=b?b+o|0:275552;N[a+76>>2]=b;c=N[a+176>>2];N[a+80>>2]=c?c+o|0:275552;if((b|0)==275552){break h}if(!Ed(b,a)){break h}b=N[a+80>>2];if((b|0)==275552){break h}c=N[a+76>>2];c=O[c|0]|O[c+1|0]<<8;e=(c<<8|c>>>8)&65535;d=0;ca:{if(b>>>0>2]){break ca}f=N[a+8>>2];if(f>>>0<=b>>>0){break ca}c=N[a+12>>2]-1|0;N[a+12>>2]=c;if((c|0)<=0){break ca}da:{switch(O[b|0]){case 0:e=N[a+36>>2];if(e){if(e>>>0>f+(b^-1)>>>0){break ca}b=c-e|0;N[a+12>>2]=b;if((b|0)<=0){break ca}}d=1;break ca;case 3:break da;default:break ca}}d=Yp(b+1|0,a,e)}if(!d){break h}b=N[a+76>>2];b=O[b|0]|O[b+1|0]<<8;N[a+48>>2]=275552;N[a+84>>2]=(b<<8|b>>>8)&65535;d=a+48|0;if(N[a+148>>2]==-1){break ba}if(N[a+52>>2]!=275552){break aa}break h}N[a+80>>2]=275552;N[a+76>>2]=275552;N[a+48>>2]=275552;d=a+48|0}c=N[a+168>>2];if(c>>>0<2){break aa}b=c+o|0;N[d>>2]=b;if((b|0)==275552){break h}ea:{fa:{if(b>>>0>2]){break fa}c=N[a+8>>2];if(c>>>0<=b>>>0){break fa}e=N[a+12>>2];d=e-1|0;N[a+12>>2]=d;if((d|0)<=0){break fa}d=0;ga:{ha:{ia:{ja:{ka:{f=O[b|0];h=f&127;switch(h|0){case 1:break ja;case 0:break ka;default:break ga}}i=b+1|0;if(i>>>0>=c>>>0){break fa}d=e-2|0;N[a+12>>2]=d;if(!d){break fa}e=O[b+1|0];if(!e){break ha}if(e>>>0<=c+(i^-1)>>>0){break ia}break fa}i=b+1|0;if(i>>>0>=c>>>0){break fa}d=e-2|0;N[a+12>>2]=d;if(!d){break fa}e=O[b+1|0];if(!e){break ha}i=c+(i^-1)|0;c=e<<1;if(i>>>0>>0){break fa}c=d-c|0;N[a+12>>2]=c;if((c|0)>0){break ha}break fa}c=d-e|0;N[a+12>>2]=c;d=0;if((c|0)<=0){break ga}}d=1;if(f<<24>>24>=0){break ga}d=275552;la:{ma:{switch(h|0){case 0:c=O[b+1|0];if(!c){d=275553;break la}d=(b+c|0)+2|0;break la;case 1:break ma;default:break la}}c=O[b+1|0];if(c){b=b+(c<<1)|0}else{b=275552}d=b+2|0}if(Q[a+4>>2]>d>>>0){break fa}c=N[a+8>>2];if(c>>>0<=d>>>0){break fa}b=N[a+12>>2]-1|0;N[a+12>>2]=b;if((b|0)<=0){break fa}e=O[d|0];if(e){d=c+(d^-1)|0;c=T(e,3);if(d>>>0>>0){break fa}b=b-c|0;N[a+12>>2]=b;d=0;if((b|0)<=0){break ga}}d=1}break ea}d=0}if(!d){break h}}c=N[a+60>>2];b=O[c|0]|O[c+1|0]<<8;if(b){d=O[c+2|0];b=(b<<8|b>>>8)&65535;e=T(d,b+1|0);b=c+T(b,d)|0;i=0;na:{oa:{switch(d-1|0){case 0:i=O[b+3|0];break na;case 1:b=O[b+3|0]|O[b+4|0]<<8;i=(b<<8|b>>>8)&65535;break na;case 2:i=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break na;case 3:break oa;default:break na}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);i=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(e+i|0)+2|0}else{b=2}b=b+c|0;N[a+64>>2]=b;if((b|0)==275552){break h}if(!Ed(b,a)){break h}e=N[a+64>>2];b=e;c=O[b|0]|O[b+1|0]<<8;if(c){d=(c<<8|c>>>8)&65535;c=O[b+2|0];f=T(d+1|0,c);b=b+T(c,d)|0;d=0;pa:{qa:{switch(c-1|0){case 0:d=O[b+3|0];break pa;case 1:b=O[b+3|0]|O[b+4|0]<<8;d=(b<<8|b>>>8)&65535;break pa;case 2:d=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break pa;case 3:break qa;default:break pa}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(d+f|0)+2|0}else{b=2}b=b+e|0;N[a+68>>2]=b;if((b|0)!=275552){if(!Ed(b,a)){break h}}b=N[a+104>>2];b=b?b+o|0:275552;N[a+72>>2]=b;if((b|0)==275552){break h}if(!Ed(b,a)){break h}b=N[a+72>>2];b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;N[a+216>>2]=b;if((b|0)!=N[a+36>>2]){break h}c=N[a+84>>2];b=k;d=N[b>>2];ra:{if((d|0)>=0){f=(c|0)>0?c:0;if(f>>>0>d>>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(f>>>0>=d>>>0){continue}break}sa:{if(d>>>0<=178956970){h=0;c=kb(T(d,24));if(c){if(N[b+4>>2]){while(1){k=T(h,24);i=k+c|0;e=k+N[b+8>>2]|0;N[i>>2]=N[e>>2];N[i+4>>2]=N[e+4>>2];N[e+4>>2]=0;N[i+8>>2]=N[e+8>>2];N[e+8>>2]=0;N[i+12>>2]=N[e+12>>2];N[e+12>>2]=0;l=N[e+20>>2];N[i+16>>2]=N[e+16>>2];N[i+20>>2]=l;e=k+N[b+8>>2]|0;if(N[e+8>>2]){N[e+8>>2]=0}_a(N[e+12>>2]);N[e+12>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;h=h+1|0;if(h>>>0>2]){continue}break}}_a(N[b+8>>2])}if(c){break sa}}N[b>>2]=-1;b=0;break ra}N[b>>2]=d;N[b+8>>2]=c}d=N[b+4>>2];ta:{if(f>>>0>d>>>0){while(1){N[b+4>>2]=d+1;c=N[b+8>>2]+T(d,24)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[b+4>>2];if(f>>>0>d>>>0){continue}break ta}}if(d>>>0<=f>>>0){break ta}while(1){c=(N[b+8>>2]+T(d,24)|0)-24|0;if(N[c+8>>2]){N[c+8>>2]=0}_a(N[c+12>>2]);N[c+12>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;d=N[b+4>>2]-1|0;N[b+4>>2]=d;if(d>>>0>f>>>0){continue}break}}N[b+4>>2]=f;b=1}else{b=0}}if(!b){break h}ua:{if(N[a+84>>2]){d=0;while(1){va:{if(Q[a+208>>2]<=d>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break va}b=N[a+212>>2]+T(d,24)|0}N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;d=d+1|0;b=N[a+84>>2];if(d>>>0>>0){continue}break}if(N[a+148>>2]==-1){break ua}if(!b){break g}n=g+36|0;p=g+4188|0;i=0;while(1){fd(g+4152|0,N[a+76>>2],i);b=N[g+4156>>2];if(b){c=N[g+4152>>2];if(c>>>0>2]){break h}d=N[a+8>>2];if(d>>>0>>0|b>>>0>d-c>>>0){break h}b=N[a+12>>2]-b|0;N[a+12>>2]=b;if((b|0)<=0){break h}}L[g+4184|0]=0;G(p,0,4108);N[g+8296>>2]=0;N[g+8300>>2]=0;N[g+4176>>2]=0;b=N[g+4156>>2];N[g+4168>>2]=N[g+4152>>2];N[g+4172>>2]=b;N[g+4148>>2]=g+4168;wa:{xa:{ya:{d=N[m>>2];if((d|0)>=0){b=N[m+4>>2];c=b+1|0;e=(c|0)>0?c:0;if(e>>>0<=d>>>0){break xa}while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(d>>>0<=134217727){f=0;b=kb(d<<5);if(b){if(N[m+4>>2]){while(1){k=f<<5;h=k+b|0;c=k+N[m+8>>2]|0;N[h>>2]=N[c>>2];N[h+4>>2]=N[c+4>>2];N[c+4>>2]=0;N[h+8>>2]=N[c+8>>2];N[c+8>>2]=0;N[h+12>>2]=N[c+12>>2];N[c+12>>2]=0;l=N[c+28>>2];N[h+24>>2]=N[c+24>>2];N[h+28>>2]=l;l=N[c+20>>2];N[h+16>>2]=N[c+16>>2];N[h+20>>2]=l;c=k+N[m+8>>2]|0;if(N[c+8>>2]){N[c+8>>2]=0}_a(N[c+12>>2]);N[c+12>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;f=f+1|0;if(f>>>0>2]){continue}break}}_a(N[m+8>>2])}if(b){break ya}}N[m>>2]=-1}N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break wa}N[m>>2]=d;N[m+8>>2]=b;b=N[m+4>>2]}za:{if(b>>>0>>0){while(1){N[m+4>>2]=b+1;b=N[m+8>>2]+(b<<5)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[m+4>>2];if(e>>>0>b>>>0){continue}break za}}if(b>>>0<=e>>>0){break za}while(1){b=(N[m+8>>2]+(b<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[m+4>>2]-1|0;N[m+4>>2]=b;if(b>>>0>e>>>0){continue}break}}N[m+4>>2]=e;b=(N[m+8>>2]+(e<<5)|0)-32|0}if(N[m>>2]<0){break h}N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b+24>>2]=0;N[b+28>>2]=-1;N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b+24>>2]=0;N[b+28>>2]=-1;q=g+4148|0;c=N[q>>2];f=N[c+4>>2];d=N[c+8>>2];while(1){Aa:{e=d+1|0;r=e>>>0>f>>>0;if(r){break Aa}k=N[c>>2];h=O[k+d|0];N[c+8>>2]=e;Ba:{Ca:{Da:{Ea:{if((h|0)!=12){d=e;break Ea}d=d+2|0;if(f>>>0>>0){h=65535;break Da}e=O[e+k|0];N[c+8>>2]=d;h=e|256}Fa:{Ga:{switch(h-261|0){default:if((h|0)!=18){if((h|0)!=294){break Da}k=c+16|0;f=c+20|0;e=N[f>>2];if(!e){L[k|0]=1;N[147456]=0;N[147457]=0;N[b+28>>2]=0;break Fa}j=S[k+(e<<3)>>3];Ha:{if(V(j)<2147483648){e=~~j;break Ha}e=-2147483648}if((e|0)<0){L[k|0]=1;e=0}N[b+28>>2]=e;break Fa}k=c+16|0;Ia:{f=c+20|0;l=N[f>>2];Ja:{if(!l){N[b+16>>2]=0;break Ja}s=l-1|0;j=S[(k+(s<<3)|0)+8>>3];Ka:{if(V(j)<2147483648){e=~~j;break Ka}e=-2147483648}if((e|0)<0){L[k|0]=1;e=0}N[b+16>>2]=e;if(s){break Ia}}L[k|0]=1;N[147456]=0;N[147457]=0;N[b+20>>2]=0;break Fa}j=S[(k+(l<<3)|0)-8>>3];La:{if(V(j)<2147483648){e=~~j;break La}e=-2147483648}if((e|0)<0){L[k|0]=1;e=0}N[b+20>>2]=e;break Fa;case 1:break Da;case 0:case 2:break Ga}}f=c+20|0}N[f>>2]=0;break Ca}He(h,c);if(N[c+20>>2]){break Ba}d=N[c+8>>2]}if(O[c+16|0]|Q[c+4>>2]>>0){break Ba}Ma:{Na:{Oa:{f=N[b+4>>2];if((f|0)>=0){d=N[b+8>>2];e=d+1|0;e=(e|0)>0?e:0;if(e>>>0<=f>>>0){break Na}while(1){f=((f>>>1|0)+f|0)+8|0;if(e>>>0>=f>>>0){continue}break}if(f>>>0<=357913941){d=$a(N[b+12>>2],T(f,12));if(d){break Oa}}N[b+4>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;k=589824;break Ma}N[b+4>>2]=f;N[b+12>>2]=d;d=N[b+8>>2]}if(d>>>0>>0){while(1){N[b+8>>2]=d+1;d=N[b+12>>2]+T(d,12)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;d=N[b+8>>2];if(e>>>0>d>>>0){continue}break}}N[b+8>>2]=e;k=(N[b+12>>2]+T(e,12)|0)-12|0}d=k;N[d+4>>2]=h;e=N[c+8>>2];f=N[c+4>>2];h=N[c>>2];c=N[b>>2];N[d>>2]=h+c;d=f-c|0;d=d>>>0<=f>>>0?d:0;c=e-c|0;L[k+8|0]=c>>>0>d>>>0?d:c;N[b>>2]=e}c=N[q>>2];d=N[c+8>>2];f=N[c+4>>2];if(d>>>0>f>>>0){break Aa}if(!O[c+16|0]){continue}}break}if(!r){break h}Pa:{if(Q[a+208>>2]<=i>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=589824;break Pa}c=N[a+212>>2]+T(i,24)|0}d=N[b+16>>2]+o|0;b=N[b+20>>2];if(b){if(d>>>0>2]){break h}e=N[a+8>>2];if(e>>>0>>0|b>>>0>e-d>>>0){break h}e=N[a+12>>2]-b|0;N[a+12>>2]=e;if((e|0)<=0){break h}}L[g+32|0]=0;G(n,0,4108);N[g+24>>2]=0;N[g+20>>2]=b;N[g+16>>2]=d;N[g+12>>2]=g+16;N[c+16>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;N[c>>2]=0;N[c+4>>2]=0;N[c+20>>2]=275552;if(!Zp(g+12|0,c)){break h}b=N[c+16>>2];b=b?b+d|0:275552;N[c+20>>2]=b;if((b|0)!=275552){if(!Ed(b,a)){break h}}i=i+1|0;if(i>>>0>2]){continue}break}break g}if(N[a+148>>2]!=-1){break g}}Qa:{if(!N[a+208>>2]){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break Qa}b=N[a+212>>2]}c=N[a+180>>2]+o|0;d=N[a+184>>2];if(d){if(c>>>0>2]){break h}e=N[a+8>>2];if(e>>>0>>0|d>>>0>e-c>>>0){break h}e=N[a+12>>2]-d|0;N[a+12>>2]=e;if((e|0)<=0){break h}}L[g+4184|0]=0;G(g+4188|0,0,4108);N[g+4176>>2]=0;N[g+4172>>2]=d;N[g+4168>>2]=c;N[g+16>>2]=g+4168;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;if(!Zp(g+16|0,b)){break h}d=b;b=N[b+16>>2];b=b?b+c|0:275552;N[d+20>>2]=b;if((b|0)==275552){break g}if(Ed(b,a)){break g}break h}He(c,g+4168|0);d=O[g+4184|0];i=N[g+4172>>2];b=N[g+4176>>2];f=N[g+4188>>2];if(f){break k}}f=0;if(d&255|b>>>0>i>>>0){break k}Ra:{Sa:{Ta:{d=N[a+92>>2];if((d|0)>=0){h=N[a+96>>2];f=h+1|0;if(f>>>0<=d>>>0){n=N[a+100>>2];break Sa}while(1){d=((d>>>1|0)+d|0)+8|0;if(f>>>0>=d>>>0){continue}break}if(d>>>0<=268435455){n=$a(N[a+100>>2],d<<4);if(n){break Ta}}N[a+92>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=589824;break Ra}N[a+92>>2]=d;N[a+100>>2]=n;h=N[a+96>>2];f=h+1|0}N[a+96>>2]=f;d=(h<<4)+n|0;N[d+12>>2]=p;L[d+8|0]=0;N[d>>2]=0}N[d+4>>2]=c;c=N[a+88>>2];N[d>>2]=c+N[g+4168>>2];f=0;h=d;d=i-c|0;d=d>>>0<=i>>>0?d:0;c=b-c|0;L[h+8|0]=c>>>0>d>>>0?d:c;N[a+88>>2]=b;d=O[g+4184|0]}if(b>>>0>i>>>0){break h}if(!(d&255)){continue}break}}Ke(a)}La=g+8304|0;return}break c}break b}}ba(16656,14279,195,9642);F()}ba(23506,14099,260,16403);F()}function Jq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,H=0;w=La-176|0;La=w;a:{v=N[a+112>>2];x=L[v+36|0]&1;if(!x){break a}while(1){b:{e=N[v+32>>2];if(!e){s=0;t=0;d=La-6752|0;La=d;y=275552;c:{d:{e:{f:{g:{h:{q=db(1,260);i:{if(!q){break i}j:{g=N[a+44>>2];if((g|0)<=0){break j}A=d+1132|0;o=d+4988|0;C=d+464|0;D=d+4448|0;E=d+496|0;r=d+4476|0;while(1){k:{l:{if((g|0)>0){j=N[(t<<2)+239840>>2];h=N[a+48>>2];g=g-1|0;k=0;while(1){i=g+k>>>1|0;f=h+T(i,36)|0;e=N[f>>2];m:{if(e>>>0>j>>>0){g=i-1|0;break m}if(e>>>0>=j>>>0){break l}k=i+1|0}if((g|0)>=(k|0)){continue}break}}N[((s<<2)+q|0)+8>>2]=0;break k}z=(s<<2)+q|0;e=N[f+28>>2];N[z+8>>2]=e;if(!e){break k}n:{o:{p:{q:{r:{if(t>>>0<=3){g=1569;i=0;while(1){e=P[((g<<3)+(t<<1)|0)+227320>>1];s:{if(!e){break s}N[d+288>>2]=0;f=N[b+96>>2];l=N[f+28>>2];k=N[b+100>>2];h=d+288|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}if(!(Qa[l|0](b,k,g,h,f)|0)){break s}N[d+4448>>2]=0;f=N[b+96>>2];l=N[f+28>>2];k=N[b+100>>2];h=d+4448|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}if(!(Qa[l|0](b,k,e,h,f)|0)){break s}h=N[d+288>>2];f=N[d+4448>>2];if((h|0)==(f|0)|(f|h)>>>0>65535){break s}e=i<<1;M[e+(d+5968|0)>>1]=f<<8|(f&65280)>>>8;M[e+(d+4960|0)>>1]=h<<8|(h&65280)>>>8;i=i+1|0}g=g+1|0;if((g|0)!=1748){continue}break}h=1;e=0;t:{switch(i|0){default:while(1){l=h<<1;m=l+(d+4960|0)|0;f=h;while(1){u:{e=f;if(!e){e=0;break u}f=e-1|0;j=P[(d+4960|0)+(f<<1)>>1];g=P[m>>1];if(((j<<8|j>>>8)&65535)>>>0<((g<<8|g>>>8)&65535)>>>0){break u}if((g|0)!=(j|0)){continue}}break}if((e|0)!=(h|0)){j=P[m>>1];k=e<<1;n=k+2|0;f=d+4960|0;m=f+k|0;g=h-e<<1;B(f+n|0,m,g);M[m>>1]=j;e=d+5968|0;f=P[e+l>>1];u=e+n|0;e=e+k|0;B(u,e,g);M[e>>1]=f}h=h+1|0;if((i|0)!=(h|0)){continue}break};break;case 0:break n;case 1:break t}}N[d+4460>>2]=A;N[d+4448>>2]=d+288;N[r+24>>2]=0;N[r+28>>2]=0;N[r+16>>2]=0;N[r+20>>2]=0;N[r+8>>2]=0;N[r+12>>2]=0;N[r>>2]=0;N[r+4>>2]=0;N[d+4524>>2]=0;N[d+4508>>2]=1;N[d+4512>>2]=1;N[d+4536>>2]=0;N[d+4528>>2]=0;N[d+4532>>2]=0;N[d+4516>>2]=0;N[d+4520>>2]=1;e=d+4448|0;zf(e);if(N[d+4492>>2]){break h}p=1;m=$c(e);if(!Bf(m,e,1,8)){break o}n=$c(e);if(N[d+4472>>2]){break p}if(n>>>0>2]){break g}g=N[d+4452>>2];if(n>>>0>g>>>0){break f}if(g-n>>>0>=3){break e}l=n+2|0;e=l-g|0;if((e|0)<0|(e|0)>(N[d+4456>>2]-g|0)){break q}if((g|0)!=(l|0)){G(g,0,e);g=N[d+4452>>2]}N[d+4452>>2]=e+g;if(!g|!n){break p}v:{w:{if(!i){break w}e=P[d+5968>>1];f=e<<8|e>>>8;e=P[d+4960>>1];h=f-(e<<8|e>>>8)|0;e=i-1|0;if(e){g=d+4960|0;k=d+5968|0;while(1){f=O[k+2|0]|O[k+3|0]<<8;u=f<<8|f>>>8;f=O[g+2|0]|O[g+3|0]<<8;if((h&65535)!=(u-(f<<8|f>>>8)&65535)){break w}k=k+2|0;g=g+2|0;e=e-1|0;if(e){continue}break}}L[n|0]=0;L[n+1|0]=1;N[d+216>>2]=241304;N[d+212>>2]=0;N[d+208>>2]=i;N[d+200>>2]=0;N[d+196>>2]=i;N[d+204>>2]=d+5968;N[d+192>>2]=d+4960;if(N[d+4472>>2]){break p}if(n>>>0>2]){break g}f=N[d+4452>>2];if(f>>>0>>0){break f}if(f-n>>>0>=7){break e}k=n+6|0;e=k-f|0;if((e|0)<0|(e|0)>(N[d+4456>>2]-f|0)){break q}if((f|0)!=(k|0)){G(f,0,e);k=N[d+4452>>2]}N[d+4452>>2]=e+k;if(!k){break p}if(!uj(l,d+4448|0,d+192|0)){break p}e=h<<8|(h&65280)>>>8;L[n+4|0]=e;L[n+5|0]=e>>>8;break v}L[n|0]=0;L[n+1|0]=2;N[d+216>>2]=241304;N[d+212>>2]=0;N[d+208>>2]=i;N[d+200>>2]=0;N[d+196>>2]=i;N[d+204>>2]=d+5968;N[d+192>>2]=d+4960;if(N[d+4472>>2]){break p}if(n>>>0>2]){break g}g=N[d+4452>>2];if(n>>>0>g>>>0){break f}if(g-n>>>0>=7){break e}f=4;k=n+6|0;e=k-g|0;if((e|0)<0|(e|0)>(N[d+4456>>2]-g|0)){break r}if((g|0)!=(k|0)){G(g,0,e);g=N[d+4452>>2]}h=e+g|0;N[d+4452>>2]=h;if(N[d+4472>>2]|!g){break p}j=n+4|0;if(j>>>0>2]){break g}if(j>>>0>h>>>0){break f}if(h-j>>>0>=3){break e}e=k-h|0;if((e|0)<0|(e|0)>(N[d+4456>>2]-h|0)){break r}if((h|0)!=(k|0)){G(h,0,e);k=N[d+4452>>2]}N[d+4452>>2]=e+k;if(!k){break p}e=i<<8|(i&65280)>>>8;L[j|0]=e;L[j+1|0]=e>>>8;e=N[d+4472>>2];if(i>>>0>=65536){f=e|16;break r}if(e){break p}if(j>>>0>2]){break g}g=N[d+4452>>2];if(g>>>0>>0){break f}e=(i<<1&131070)+2|0;if(e>>>0>>0){break e}e=(e+j|0)-g|0;if((e|0)<0|(e|0)>(N[d+4456>>2]-g|0)){break r}N[d+4452>>2]=e+g;if(!g){break p}if(i){e=0;f=d+5968|0;g=i;k=g;while(1){h=g?f:589824;x:{if(!(!g|!k)){j=n+(e<<1)|0;h=O[h|0]|O[h+1|0]<<8;L[j+6|0]=h;L[j+7|0]=h>>>8;k=k-1|0;h=1;break x}M[294912]=0;j=n+(e<<1)|0;h=O[h|0]|O[h+1|0]<<8;L[j+6|0]=h;L[j+7|0]=h>>>8;k=(k?-1:0)+k|0;h=1;if(g){break x}h=0}g=g-h|0;f=(h<<1)+f|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(!uj(l,d+4448|0,d+192|0)){break p}}e=d+4448|0;y:{if(!(O[m+4|0]|O[m+5|0]<<8)){M[294912]=0;f=589824;break y}f=m+6|0}ce(e,f,Cc(e,1));p=0;break o}z:{A:{B:{C:{D:{E:{switch(t-4|0){case 0:g=0;N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[i|0](b,h,65247,f,e)|0)){e=0;break n}N[d+6720>>2]=0;e=P[d+288>>1];M[d+6704>>1]=e<<8|e>>>8;N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];k=0;h=N[b+100>>2];f=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64904,f,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65252,f,e)|0){e=P[d+4960>>1];M[d+6640>>1]=e<<8|e>>>8;g=1}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65188,f,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[d+6480>>2]=3;N[d+6720>>2]=1;e=P[d+288>>1];M[d+6736>>1]=e<<8|e>>>8;k=1}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,61953,f,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65248,f,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65258,f,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+6480|0)+(k<<2)>>2]=3;e=P[d+288>>1];M[(d+6736|0)+(k<<1)>>1]=e<<8|e>>>8;k=k+1|0;N[d+6720>>2]=k}e=0;N[d+288>>2]=0;f=N[b+96>>2];j=N[f+28>>2];i=N[b+100>>2];h=d+288|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}F:{if(!(Qa[j|0](b,i,61969,h,f)|0)){if(k){break F}break n}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65252,f,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65184,f,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+6480|0)+(k<<2)>>2]=3;e=P[d+288>>1];M[(d+6736|0)+(k<<1)>>1]=e<<8|e>>>8;k=k+1|0;N[d+6720>>2]=k}N[d+4972>>2]=C;N[d+4960>>2]=d+288;N[o+24>>2]=0;N[o+28>>2]=0;N[o+16>>2]=0;N[o+20>>2]=0;N[o+8>>2]=0;N[o+12>>2]=0;N[o>>2]=0;N[o+4>>2]=0;N[d+5036>>2]=0;N[d+5020>>2]=1;N[d+5024>>2]=1;N[d+5048>>2]=0;N[d+5040>>2]=0;N[d+5044>>2]=0;N[d+5028>>2]=0;N[d+5032>>2]=1;e=d+4960|0;zf(e);if(N[d+5004>>2]){break h}h=1;i=$c(e);if(!Bf(i,e,4,8)){break z}j=$c(e);N[d+6564>>2]=1;N[d+6568>>2]=0;N[d+6560>>2]=d+6704;N[d+200>>2]=0;N[d+196>>2]=k;N[d+192>>2]=d+6736;N[d+4456>>2]=0;N[d+4452>>2]=k;N[d+4448>>2]=d+6480;N[d+5976>>2]=0;N[d+5972>>2]=g;N[d+5968>>2]=d+6640;if(N[d+4984>>2]){break A}if(j>>>0>2]){break g}g=N[d+4964>>2];if(j>>>0>g>>>0){break f}if(g-j>>>0>=3){break e}e=j+2|0;f=e-g|0;if(!((f|0)>=0&(f|0)<=(N[d+4968>>2]-g|0))){N[d+4984>>2]=4;break A}if((e|0)!=(g|0)){G(g,0,f);g=N[d+4964>>2]}N[d+4964>>2]=g+f;if(!j|!g){break A}L[j|0]=0;L[j+1|0]=1;N[d+56>>2]=N[d+6568>>2];N[d+40>>2]=N[d+200>>2];N[d+24>>2]=N[d+4456>>2];N[d+8>>2]=N[d+5976>>2];e=N[d+6564>>2];N[d+48>>2]=N[d+6560>>2];N[d+52>>2]=e;e=N[d+196>>2];N[d+32>>2]=N[d+192>>2];N[d+36>>2]=e;e=N[d+4452>>2];N[d+16>>2]=N[d+4448>>2];N[d+20>>2]=e;e=N[d+5972>>2];N[d>>2]=N[d+5968>>2];N[d+4>>2]=e;e=d+4960|0;if(!Pg(j,e,d+48|0,d+6720|0,1,d+32|0,d+16|0,d)){break A}G:{if(!(O[i+4|0]|O[i+5|0]<<8)){M[294912]=0;f=589824;break G}f=i+6|0}ce(e,f,Cc(e,1));h=0;break z;case 1:p=0;g=0;while(1){N[d+288>>2]=0;e=N[b+96>>2];j=N[e+28>>2];k=N[b+100>>2];h=P[T(g,58)+241328>>1];f=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[j|0](b,k,h,f,e)|0){e=P[d+288>>1];M[(d+6640|0)+(p<<1)>>1]=e<<8|e>>>8;e=p<<2;N[e+(d+6480|0)>>2]=0;N[e+(d+6560|0)>>2]=g;p=p+1|0}g=g+1|0;if((g|0)!=18){continue}break};break B;case 2:g=0;N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[i|0](b,h,1617,f,e)|0)){e=0;break n}k=0;N[d+6720>>2]=0;e=P[d+288>>1];M[d+6704>>1]=e<<8|e>>>8;N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64606,f,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];h=N[e+28>>2];g=N[b+100>>2];f=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[h|0](b,g,1612,f,e)|0){e=P[d+4960>>1];M[d+6736>>1]=e<<8|e>>>8;k=1}N[d+5968>>2]=2;N[d+6720>>2]=1;e=P[d+288>>1];M[d+6640>>1]=e<<8|e>>>8;g=1}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64608,f,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1614,f,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(k<<1)>>1]=e<<8|e>>>8;k=k+1|0}N[(d+5968|g<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0;N[d+6720>>2]=g}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64609,f,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1615,f,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(k<<1)>>1]=e<<8|e>>>8;k=k+1|0}N[(d+5968|g<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0;N[d+6720>>2]=g}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64610,f,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1616,f,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(k<<1)>>1]=e<<8|e>>>8;k=k+1|0}N[(d+5968|0)+(g<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0;N[d+6720>>2]=g}e=0;N[d+288>>2]=0;f=N[b+96>>2];j=N[f+28>>2];i=N[b+100>>2];h=d+288|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}H:{if(!(Qa[j|0](b,i,62190,h,f)|0)){if(g){break H}break n}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];f=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1611,f,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(k<<1)>>1]=e<<8|e>>>8;k=k+1|0}N[(d+5968|0)+(g<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0;N[d+6720>>2]=g}N[d+4972>>2]=E;N[d+4960>>2]=d+288;N[o+24>>2]=0;N[o+28>>2]=0;N[o+16>>2]=0;N[o+20>>2]=0;N[o+8>>2]=0;N[o+12>>2]=0;N[o>>2]=0;N[o+4>>2]=0;N[d+5036>>2]=0;N[d+5020>>2]=1;N[d+5024>>2]=1;N[d+5048>>2]=0;N[d+5040>>2]=0;N[d+5044>>2]=0;N[d+5028>>2]=0;N[d+5032>>2]=1;e=d+4960|0;zf(e);if(N[d+5004>>2]){break h}h=1;i=$c(e);if(!Bf(i,e,4,0)){break C}j=$c(e);N[d+6484>>2]=1;N[d+6488>>2]=0;N[d+6480>>2]=d+6704;N[d+6568>>2]=0;N[d+6564>>2]=g;N[d+6560>>2]=d+6640;N[d+200>>2]=0;N[d+196>>2]=g;N[d+192>>2]=d+5968;N[d+4456>>2]=0;N[d+4452>>2]=k;N[d+4448>>2]=d+6736;if(N[d+4984>>2]){break D}if(j>>>0>2]){break g}g=N[d+4964>>2];if(j>>>0>g>>>0){break f}if(g-j>>>0>=3){break e}e=j+2|0;f=e-g|0;if(!((f|0)>=0&(f|0)<=(N[d+4968>>2]-g|0))){N[d+4984>>2]=4;break D}if((e|0)!=(g|0)){G(g,0,f);g=N[d+4964>>2]}N[d+4964>>2]=g+f;if(!j|!g){break D}L[j|0]=0;L[j+1|0]=1;N[d+184>>2]=N[d+6488>>2];N[d+168>>2]=N[d+6568>>2];N[d+152>>2]=N[d+200>>2];N[d+136>>2]=N[d+4456>>2];e=N[d+6484>>2];N[d+176>>2]=N[d+6480>>2];N[d+180>>2]=e;e=N[d+6564>>2];N[d+160>>2]=N[d+6560>>2];N[d+164>>2]=e;e=N[d+196>>2];N[d+144>>2]=N[d+192>>2];N[d+148>>2]=e;e=N[d+4452>>2];N[d+128>>2]=N[d+4448>>2];N[d+132>>2]=e;e=d+4960|0;if(!Pg(j,e,d+176|0,d+6720|0,1,d+160|0,d+144|0,d+128|0)){break D}I:{if(!(O[i+4|0]|O[i+5|0]<<8)){M[294912]=0;f=589824;break I}f=i+6|0}ce(e,f,Cc(e,1));h=0;break C;default:break E}}ba(15473,14202,212,12255);F()}_c(d+4960|0)}J:{K:{f=N[d+4984>>2];if(!f&N[d+5008>>2]<0){break K}if(!f){if(!(L[d+5032|0]&1)){break K}e=0;f=N[d+5004>>2];g=0;L:{if(!f){break L}if(N[f+32>>2]){break d}g=0;if(Q[d+5012>>2]<2){break L}f=d+4960|0;Cc(f,0);yf(f);g=N[d+4984>>2]}if(g|h){break J}i=N[d+4972>>2];m=N[d+4968>>2];h=i-m|0;g=N[d+4964>>2];l=N[d+4960>>2];j=g-l|0;f=h+j|0;if(!f){break J}f=kb(f);if(!f){break J}if((g|0)!=(l|0)){B(f,l,j)}if((i|0)!=(m|0)){B(f+j|0,m,h)}e=f;break J}e=0;if(!(f&2)|!N[d+5004>>2]){break J}N[d+4984>>2]=f|1;break J}N[d+4984>>2]=1;e=0}xf(d+4960|0);break n}h=1;if(p>>>0>=2){while(1){j=(d+6640|0)+(h<<1)|0;f=h;while(1){M:{e=f;if(!e){e=0;break M}f=e-1|0;i=P[(d+6640|0)+(f<<1)>>1];g=P[j>>1];if(((i<<8|i>>>8)&65535)>>>0<((g<<8|g>>>8)&65535)>>>0){break M}if((g|0)!=(i|0)){continue}}break}if((e|0)!=(h|0)){j=P[j>>1];f=d+6640|0;l=f+(e<<1)|0;i=e+1|0;g=h-e|0;B(f+(i<<1)|0,l,g<<1);M[l>>1]=j;j=d+6560|0;f=N[j+(h<<2)>>2];e=j+(e<<2)|0;B(j+(i<<2)|0,e,g<<2);N[e>>2]=f}h=h+1|0;if((p|0)!=(h|0)){continue}break}}e=0;i=0;f=0;if(!p){break n}while(1){g=f<<2;l=g+(d+6480|0)|0;H=N[g+(d+6560|0)>>2];g=0;while(1){N[d+288>>2]=0;h=N[b+96>>2];k=N[h+28>>2];n=N[b+100>>2];m=T(H,58)+(g<<2)|0;j=P[m+241332>>1];u=d+288|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}if(Qa[k|0](b,n,j,u,h)|0){h=P[m+241330>>1];N:{if(!h){break N}N[d+192>>2]=0;j=N[b+96>>2];n=N[j+28>>2];u=N[b+100>>2];k=d+192|0;j=N[j+12>>2];if(j){j=N[j+8>>2]}else{j=0}if(!(Qa[n|0](b,u,h,k,j)|0)){break N}h=P[d+192>>1];M[(d+4448|0)+(i<<1)>>1]=h<<8|h>>>8;i=i+1|0}N[(d+4960|0)+(e<<2)>>2]=2;h=P[d+288>>1];M[(d+5968|0)+(e<<1)>>1]=h<<8|h>>>8;N[l>>2]=N[l>>2]+1;e=e+1|0}g=g+1|0;if((g|0)!=14){continue}break}f=f+1|0;if((p|0)!=(f|0)){continue}break}if(!e){e=0;break n}N[d+204>>2]=D;N[d+192>>2]=d+288;N[d+244>>2]=0;N[d+248>>2]=0;N[d+236>>2]=0;N[d+240>>2]=0;N[d+228>>2]=0;N[d+232>>2]=0;N[d+220>>2]=0;N[d+224>>2]=0;N[d+268>>2]=0;N[d+252>>2]=1;N[d+256>>2]=1;N[d+280>>2]=0;N[d+272>>2]=0;N[d+276>>2]=0;N[d+260>>2]=0;N[d+264>>2]=1;f=d+192|0;zf(f);O:{P:{if(!N[d+236>>2]){h=1;g=$c(f);if(!Bf(g,f,4,8)){break O}j=$c(f);N[d+6696>>2]=0;N[d+6692>>2]=p;N[d+6688>>2]=d+6640;N[d+6712>>2]=0;N[d+6708>>2]=e;N[d+6704>>2]=d+5968;N[d+6728>>2]=0;N[d+6724>>2]=e;N[d+6720>>2]=d+4960;N[d+6744>>2]=0;N[d+6740>>2]=i;N[d+6736>>2]=d+4448;if(N[d+216>>2]){break P}if(j>>>0>2]){break g}k=N[d+196>>2];if(j>>>0>k>>>0){break f}if(k-j>>>0>=3){break e}e=j+2|0;f=e-k|0;if(!((f|0)>=0&(f|0)<=(N[d+200>>2]-k|0))){N[d+216>>2]=4;break P}if((e|0)!=(k|0)){G(k,0,f);k=N[d+196>>2]}N[d+196>>2]=f+k;if(!j|!k){break P}L[j|0]=0;L[j+1|0]=1;N[d+120>>2]=N[d+6696>>2];N[d+104>>2]=N[d+6712>>2];N[d+88>>2]=N[d+6728>>2];N[d+72>>2]=N[d+6744>>2];e=N[d+6692>>2];N[d+112>>2]=N[d+6688>>2];N[d+116>>2]=e;e=N[d+6708>>2];N[d+96>>2]=N[d+6704>>2];N[d+100>>2]=e;e=N[d+6724>>2];N[d+80>>2]=N[d+6720>>2];N[d+84>>2]=e;e=N[d+6740>>2];N[d+64>>2]=N[d+6736>>2];N[d+68>>2]=e;e=d+192|0;if(!Pg(j,e,d+112|0,d+6480|0,p,d+96|0,d+80|0,d- -64|0)){break P}Q:{if(!(O[g+4|0]|O[g+5|0]<<8)){M[294912]=0;f=589824;break Q}f=g+6|0}ce(e,f,Cc(e,1));h=0;break O}break h}_c(d+192|0)}R:{S:{f=N[d+216>>2];if(!f&N[d+240>>2]<0){break S}if(!f){if(!(L[d+264|0]&1)){break S}e=0;f=N[d+236>>2];g=0;T:{if(!f){break T}if(N[f+32>>2]){break d}g=0;if(Q[d+244>>2]<2){break T}f=d+192|0;Cc(f,0);yf(f);g=N[d+216>>2]}if(g|h){break R}i=N[d+204>>2];m=N[d+200>>2];h=i-m|0;g=N[d+196>>2];l=N[d+192>>2];j=g-l|0;f=h+j|0;if(!f){break R}f=kb(f);if(!f){break R}if((g|0)!=(l|0)){B(f,l,j)}if((i|0)!=(m|0)){B(f+j|0,m,h)}e=f;break R}e=0;if(!(f&2)|!N[d+236>>2]){break R}N[d+216>>2]=f|1;break R}N[d+216>>2]=1;e=0}xf(d+192|0);break n}_c(d+4960|0)}U:{V:{f=N[d+4984>>2];if(!f&N[d+5008>>2]<0){break V}if(!f){if(!(L[d+5032|0]&1)){break V}e=0;f=N[d+5004>>2];g=0;W:{if(!f){break W}if(N[f+32>>2]){break d}g=0;if(Q[d+5012>>2]<2){break W}f=d+4960|0;Cc(f,0);yf(f);g=N[d+4984>>2]}if(g|h){break U}i=N[d+4972>>2];m=N[d+4968>>2];h=i-m|0;g=N[d+4964>>2];l=N[d+4960>>2];j=g-l|0;f=h+j|0;if(!f){break U}f=kb(f);if(!f){break U}if((g|0)!=(l|0)){B(f,l,j)}if((i|0)!=(m|0)){B(f+j|0,m,h)}e=f;break U}e=0;if(!(f&2)|!N[d+5004>>2]){break U}N[d+4984>>2]=f|1;break U}N[d+4984>>2]=1;e=0}xf(d+4960|0);break n}N[d+4472>>2]=f;break p}N[d+4472>>2]=4}_c(d+4448|0)}X:{Y:{f=N[d+4472>>2];if(!f&N[d+4496>>2]<0){break Y}if(!f){if(!(L[d+4520|0]&1)){break Y}e=0;f=N[d+4492>>2];h=0;Z:{if(!f){break Z}if(N[f+32>>2]){break d}h=0;if(Q[d+4500>>2]<2){break Z}f=d+4448|0;Cc(f,0);yf(f);h=N[d+4472>>2]}if(h|p){break X}i=N[d+4460>>2];m=N[d+4456>>2];h=i-m|0;g=N[d+4452>>2];l=N[d+4448>>2];j=g-l|0;f=h+j|0;if(!f){break X}f=kb(f);if(!f){break X}if((g|0)!=(l|0)){B(f,l,j)}if((i|0)!=(m|0)){B(f+j|0,m,h)}e=f;break X}e=0;if(!(f&2)|!N[d+4492>>2]){break X}N[d+4472>>2]=f|1;break X}N[d+4472>>2]=1;e=0}xf(d+4448|0)}N[z+36>>2]=e;if(!e){break k}sk((T(s,28)+q|0)- -64|0,e);s=s+1|0}t=t+1|0;if((t|0)!=7){g=N[a+44>>2];continue}break}L[q+4|0]=1;N[q>>2]=s;if(!s){break j}y=q;break i}_a(q)}La=d+6752|0;e=y;break c}ba(9270,14296,271,15396);F()}ba(13866,14296,669,15286);F()}ba(16941,14296,670,15286);F()}ba(15351,14296,671,15286);F()}ba(8458,14296,293,15412);F()}if(N[v+32>>2]){break b}N[v+32>>2]=e}a=Ec(w+12|0,0,b,c);b=N[e>>2];if(b){c=0;while(1){f=(c<<2)+e|0;o=N[f+36>>2];if(o){b=N[f+8>>2];N[a+32>>2]=0;N[a+132>>2]=b;N[a+24>>2]=0;N[a+28>>2]=0;g=N[a+140>>2];N[a+12>>2]=g;f=N[a+84>>2]==1;L[a+20|0]=f;L[a+21|0]=O[a+150|0];N[a+16>>2]=b;N[a+72>>2]=0;b=O[a+151|0];L[a+22|0]=b;N[a+64>>2]=0;N[a+68>>2]=0;N[a+52>>2]=g;N[a+8>>2]=a;N[a+48>>2]=a;L[a+61|0]=1;N[a+56>>2]=-1;L[a+62|0]=b;L[a+60|0]=f|O[a+149|0]!=0;Mj(a,o,(T(c,28)+e|0)- -64|0);b=N[e>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}_a(N[a+112>>2]);break a}h=0;if(!(!e|!N[e>>2])){while(1){f=(h<<2)+e|0;_:{if(!N[f+36>>2]){break _}g=T(h,28)+e|0;if(N[g+80>>2]){N[g+80>>2]=0}_a(N[g+84>>2]);N[g+80>>2]=0;N[g+84>>2]=0;N[g+76>>2]=0;if(!O[e+4|0]){break _}_a(N[f+36>>2])}h=h+1|0;if(h>>>0>2]){continue}break}_a(e)}continue}}La=w+176|0;return x|0}function Xj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0;a:{b:{c:{d:{e:{while(1){f:{if((c|0)!=7){g:{switch(c-1|0){case 0:h:{i:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break h;case 0:break i;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}e=O[a+4|0]|O[a+5|0]<<8;c=0;j:{k:{l:{m:{a=d;d=O[d|0]|O[d+1|0]<<8;f=d<<8|d>>>8;d=(f&65535)-1|0;switch(d|0){case 0:break l;case 1:break m;default:break k}}h=241305;g=256;n:{if(!(O[a+2|0]|O[a+3|0]<<8)){d=0;break n}h=a+4|0;d=O[h|0]|O[h+1|0]<<8;d=d<<8|d>>>8;i=O[a+2|0]|O[a+3|0]<<8;if(i){j=O[a+4|0]|O[a+5|0]<<8;g=j<<8|j>>>8;if(i){break n}}h=241305}i=O[h+2|0]|O[h+3|0]<<8;if((g&65535)>>>0<=((i<<8|i>>>8)&65535)>>>0){h=d&65535;break l}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;h=0}a=a+2|0;break j}if(d>>>0>1){break a}a=2}d=e<<8|e>>>8;j=d&65535;i=N[b+20>>2];o:{switch((f&65535)-1|0){case 1:b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}e=0;while(1){sc(i,h+j&65535);b=O[a|0]|O[a+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=c>>>0?241305:(a+T(c,6)|0)+2|0;b=O[b+2|0]|O[b+3|0]<<8;p:{if(((b<<8|b>>>8)&65535)>>>0<=h>>>0){h=0;c=c+1|0;f=O[a|0]|O[a+1|0]<<8;d=f>>>8|0;if(c>>>0>=((f<<8|d)&65535)>>>0){break p}b=(a+T(c,6)|0)+2|0;m=e+1|0;if(((d|f<<8)&65535)>>>0<=c>>>0){d=241305}else{f=O[a|0]|O[a+1|0]<<8;d=b}d=O[d+4|0]|O[d+5|0]<<8;e=(d<<8|d>>>8)&65535;if((m|0)==(e|0)){b=O[b|0]|O[b+1|0]<<8;h=(b<<8|b>>>8)&65535;break p}c=(f<<8|(f&65280)>>>8)&65535;break p}h=h+1|0;e=e+1|0;f=O[a|0]|O[a+1|0]<<8}if(((f<<8|(f&65280)>>>8)&65535)>>>0>c>>>0){continue}break};break a;case 0:break b;default:break o}}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}while(1){sc(i,j);b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>c>>>0){continue}break}break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){i=((c<<8|c>>>8)&65535)+a|0}else{i=275552}c=0;q:{r:{s:{t:{j=O[i|0]|O[i+1|0]<<8;h=((j<<8|(j&65280)>>>8)&65535)-1|0;switch(h|0){case 1:break s;case 0:break t;default:break q}}e=0;break r}f=241305;d=256;g=O[i+2|0]|O[i+3|0]<<8;u:{if(!g){break u}f=i+4|0;e=O[f|0]|O[f+1|0]<<8;e=e<<8|e>>>8;if(g){d=O[i+4|0]|O[i+5|0]<<8;d=d<<8|d>>>8;if(g){break u}}f=241305}m=d&65535;d=O[f+2|0]|O[f+3|0]<<8;e=e&65535;if(m>>>0<=((d<<8|d>>>8)&65535)>>>0){break r}c=O[i+2|0]|O[i+3|0]<<8;c=(c<<8|c>>>8)&65535;e=0}d=e;f=i}if(h>>>0>1){break a}e=O[a+4|0]|O[a+5|0]<<8;g=(e<<8|(e&65280)>>>8)&65535;k=a+6|0;o=N[b+20>>2];i=0;b=(e|0)!=0;e=f+2|0;a=O[e|0]|O[e+1|0]<<8;a=b&((a<<8|a>>>8)&65535)>>>0>c>>>0;if((j|0)==256){break c}if(!a){break a}while(1){a=O[k|0]|O[k+1|0]<<8;sc(o,(a<<8|a>>>8)&65535);a=O[e|0]|O[e+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=c>>>0?241305:(e+T(c,6)|0)+2|0;a=O[a+2|0]|O[a+3|0]<<8;v:{if(((a<<8|a>>>8)&65535)>>>0<=d>>>0){d=0;c=c+1|0;h=O[e|0]|O[e+1|0]<<8;b=h>>>8|0;if(c>>>0>=((h<<8|b)&65535)>>>0){break v}a=(e+T(c,6)|0)+2|0;j=i+1|0;if(((b|h<<8)&65535)>>>0<=c>>>0){b=241305}else{h=O[e|0]|O[e+1|0]<<8;b=a}b=O[b+4|0]|O[b+5|0]<<8;i=(b<<8|b>>>8)&65535;if((j|0)==(i|0)){a=O[a|0]|O[a+1|0]<<8;d=(a<<8|a>>>8)&65535;break v}c=(h<<8|(h&65280)>>>8)&65535;break v}d=d+1|0;i=i+1|0;h=O[e|0]|O[e+1|0]<<8}if(((h<<8|(h&65280)>>>8)&65535)>>>0<=c>>>0){break a}k=k+2|0;g=g-1|0;if(g){continue}break};break a;case 1:if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}w:{x:{y:{z:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;m=d<<8|d>>>8;d=(m&65535)-1|0;switch(d|0){case 0:break y;case 1:break z;default:break x}}f=241305;h=256;e=O[c+2|0]|O[c+3|0]<<8;A:{if(!e){break A}f=c+4|0;d=O[f|0]|O[f+1|0]<<8;g=d<<8|d>>>8;d=e;if(d){e=O[c+4|0]|O[c+5|0]<<8;h=e<<8|e>>>8;if(d){break A}}f=241305}d=O[f+2|0]|O[f+3|0]<<8;if((h&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){e=g&65535;break y}d=O[c+2|0]|O[c+3|0]<<8;i=(d<<8|d>>>8)&65535;e=0}j=c+2|0;break w}if(d>>>0>1){break a}j=2}c=O[j|0]|O[j+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=i>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}s=(c<<8|(c&65280)>>>8)&65535;n=a+6|0;d=0;while(1){c=O[n|0]|O[n+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}h=O[c|0]|O[c+1|0]<<8;f=(h<<8|h>>>8)&65535;k=c+2|0;c=N[b+20>>2];o=c+12|0;B:{if(O[c+48|0]){Ef(o,k,f,2);break B}if(!h|!O[o|0]){break B}N[c+16>>2]=-1;c=O[k|0]|O[k+1|0]<<8;c=(c<<8|c>>>8)&65535;C:while(1){t=vc(o,c);if(!t){break B}p=c&65024;q=p+512|0;while(1){h=t+(c>>>3&56)|0;l=N[h+4>>2];g=c&63;c=g&31;if((g&63)>>>0>=32){g=1<>>32-c}N[h>>2]=r|N[h>>2];N[h+4>>2]=g|l;f=f-1|0;if(!f){break B}c=O[k+2|0]|O[k+3|0]<<8;k=k+2|0;c=(c<<8|c>>>8)&65535;if(p>>>0>c>>>0){continue C}if(c>>>0>>0){continue}break}continue}}D:{E:{switch((m&65535)-1|0){case 0:i=i+1|0;break D;case 1:break E;default:break D}}c=O[j|0]|O[j+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=i>>>0?241305:(j+T(i,6)|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=e>>>0){e=0;i=i+1|0;f=O[j|0]|O[j+1|0]<<8;h=f>>>8|0;if(i>>>0>=((f<<8|h)&65535)>>>0){break D}c=(j+T(i,6)|0)+2|0;g=d+1|0;f=((h|f<<8)&65535)>>>0<=i>>>0?241305:c;d=O[f+4|0]|O[f+5|0]<<8;d=(d<<8|d>>>8)&65535;if((g|0)==(d|0)){c=O[c|0]|O[c+1|0]<<8;e=(c<<8|c>>>8)&65535;break D}c=O[j|0]|O[j+1|0]<<8;i=(c<<8|c>>>8)&65535;break D}e=e+1|0;d=d+1|0}c=O[j|0]|O[j+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=i>>>0){break a}n=n+2|0;s=s-1|0;if(s){continue}break};break a;case 4:Wj(a,b);break a;case 2:break d;case 3:break e;case 5:break f;case 7:break g;default:break a}}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=0;d=a+4|0;i=O[a+4|0]|O[a+5|0]<<8;if(i){c=(i<<8|i>>>8)&65535;j=c>>>0<=1?1:c;c=0;while(1){i=O[d|0]|O[d+1|0]<<8;i=((i<<8|i>>>8)&65535)>>>0<=c>>>0?275552:((c<<1)+a|0)+6|0;i=O[i|0]|O[i+1|0]<<8;if(i){h=((i<<8|i>>>8)&65535)+a|0}else{h=275552}if(!Ob(h,N[b+8>>2])){break a}c=c+1|0;if((j|0)!=(c|0)){continue}break}c=O[d|0]|O[d+1|0]<<8}d=(d+(((c<<8|(c&65280)>>>8)&65535)<<1)|0)+2|0;c=O[d|0]|O[d+1|0]<<8;if(c){c=(c<<8|c>>>8)&65535;i=c>>>0<=1?1:c;c=0;while(1){e=O[d|0]|O[d+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=c>>>0?275552:(d+(c<<1)|0)+2|0;e=O[e|0]|O[e+1|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}if(!Ob(e,N[b+16>>2])){break a}c=c+1|0;if((i|0)!=(c|0)){continue}break}e=O[d|0]|O[d+1|0]<<8}a=d+(((e<<8|(e&65280)>>>8)&65535)<<1)|0;c=O[a+2|0]|O[a+3|0]<<8;f=(c<<8|c>>>8)&65535;k=a+4|0;a=N[b+20>>2];d=a+12|0;if(O[a+48|0]){Ef(d,k,f,2);return}if(!c|!O[d|0]){break a}N[a+16>>2]=-1;a=O[k|0]|O[k+1|0]<<8;c=(a<<8|a>>>8)&65535;F:while(1){e=vc(d,c);if(!e){break a}i=c&65024;h=i+512|0;while(1){a=e+(c>>>3&56)|0;g=N[a+4>>2];c=c&63;b=c&31;if((c&63)>>>0>=32){j=1<>>32-b}N[a>>2]=c|N[a>>2];N[a+4>>2]=g|j;f=f-1|0;if(!f){break a}a=O[k+2|0]|O[k+3|0]<<8;k=k+2|0;c=(a<<8|a>>>8)&65535;if(i>>>0>c>>>0){continue F}if(c>>>0>>0){continue}break}continue}}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if(c){j=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0}else{j=275552}a=O[a+2|0]|O[a+3|0]<<8;c=(a<<8|a>>>8)&65535;a=j;continue}break}G:{H:{I:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break G;case 1:break H;case 0:break I;default:break a}}Vj(a,b);return}Tj(a,b);return}Sj(a,b);return}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}J:{K:{L:{M:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;C=d<<8|d>>>8;d=(C&65535)-1|0;switch(d|0){case 0:break L;case 1:break M;default:break K}}f=241305;h=256;e=O[c+2|0]|O[c+3|0]<<8;N:{if(!e){break N}f=c+4|0;d=O[f|0]|O[f+1|0]<<8;g=d<<8|d>>>8;d=e;if(d){e=O[c+4|0]|O[c+5|0]<<8;h=e<<8|e>>>8;if(d){break N}}f=241305}d=O[f+2|0]|O[f+3|0]<<8;if((h&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){w=g&65535;break L}d=O[c+2|0]|O[c+3|0]<<8;r=(d<<8|d>>>8)&65535}o=c+2|0;break J}if(d>>>0>1){break a}o=2}c=O[o|0]|O[o+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}y=(c<<8|(c&65280)>>>8)&65535;x=a+6|0;while(1){c=O[x|0]|O[x+1|0]<<8;if(c){t=((c<<8|c>>>8)&65535)+a|0}else{t=275552}c=O[t|0]|O[t+1|0]<<8;if(c){z=(c<<8|c>>>8)&65535;s=t+2|0;while(1){l=N[b+12>>2];d=O[l+12|0]!=0;c=O[s|0]|O[s+1|0]<<8;if(c){m=((c<<8|c>>>8)&65535)+t|0}else{m=275552}c=O[m+2|0]|O[m+3|0]<<8;k=c?((c<<8|c>>>8)&65535)-1|0:0;d=d&(k|0)!=0;c=m+4|0;O:{if(O[l+48|0]){if(!d){break O}N[l+16>>2]=-1;d=O[c|0]|O[c+1|0]<<8;f=(d<<8|d>>>8)&65535;n=N[l+28>>2];j=n-1|0;u=N[l+44>>2];e=N[l+20>>2];p=N[l+32>>2];P:while(1){Q:{q=f>>>9|0;R:{S:{if(!((q|0)!=N[p+(e<<3)>>2]|e>>>0>=n>>>0)){d=e;break S}g=0;h=j;T:{if((n|0)>0){while(1){d=g+h>>>1|0;v=N[p+(d<<3)>>2];U:{if((q|0)<(v|0)){h=d-1|0;break U}if((q|0)==(v|0)){break T}g=d+1|0}if((g|0)<=(h|0)){continue}break}}h=f&65024;g=h+512|0;break R}N[l+20>>2]=d}h=f&65024;g=h+512|0;if(u){break Q}e=d}while(1){k=k-1|0;if(!k){break O}d=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;f=(d<<8|d>>>8)&65535;if(h>>>0>f>>>0){continue P}if(f>>>0>>0){continue}break}continue}q=u+(N[(p+(d<<3)|0)+4>>2]<<6)|0;while(1){e=q+(f>>>3&56)|0;v=N[e>>2];A=N[e+4>>2];D=e,E=ZE(-2,-1,f)&v,N[D>>2]=E;N[e+4>>2]=Pa&A;k=k-1|0;if(!k){break O}e=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;f=(e<<8|e>>>8)&65535;if(h>>>0>f>>>0){e=d;continue P}if(f>>>0>>0){continue}break}e=d;continue}}if(!d){break O}N[l+16>>2]=-1;d=O[c|0]|O[c+1|0]<<8;f=(d<<8|d>>>8)&65535;q=l+24|0;p=l+36|0;e=N[l+32>>2];g=N[l+20>>2];V:{W:{X:{Y:while(1){Z:{u=f>>>9|0;_:{$:{d=N[l+28>>2];if(d>>>0<=g>>>0){break $}j=(g<<3)+e|0;if((u|0)!=N[j>>2]){break $}d=j+4|0;break _}j=N[l+40>>2];aa:{ba:{if((d|0)<=0){g=0;break ba}h=d-1|0;g=0;while(1){d=g+h>>>1|0;n=N[(d<<3)+e>>2];ca:{if((n|0)>(u|0)){h=d-1|0;break ca}if((n|0)==(u|0)){g=d;break aa}g=d+1|0}if((g|0)<=(h|0)){continue}break}}if(!O[l+12|0]){break O}n=N[p>>2];if((n|0)<0){break V}d=j;e=d+1|0;e=(e|0)>0?e:0;if(e>>>0>n>>>0){while(1){n=((n>>>1|0)+n|0)+8|0;if(e>>>0>=n>>>0){continue}break}if(n>>>0>67108863){break Z}d=$a(N[l+44>>2],n<<6);if(!d){break Z}N[l+36>>2]=n;N[l+44>>2]=d;d=N[l+40>>2]}if(d>>>0>>0){G(N[l+44>>2]+(d<<6)|0,0,e-d<<6)}N[l+40>>2]=e;d=N[l+24>>2];if((d|0)<0){break W}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break X}h=$a(N[l+32>>2],d<<3);if(!h){break X}N[l+24>>2]=d;N[l+32>>2]=h}d=N[l+28>>2];if(d>>>0>>0){G(N[l+32>>2]+(d<<3)|0,0,e-d<<3)}N[l+28>>2]=e;d=N[l+44>>2]+(j<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=g<<3;e=d+N[l+32>>2]|0;B(e+8|0,e,N[l+28>>2]+(g^-1)<<3);da:{if(Q[l+28>>2]<=g>>>0){N[147456]=0;N[147457]=0;d=589824;break da}d=d+N[l+32>>2]|0}N[d>>2]=u;N[d+4>>2]=j;e=N[l+32>>2]}N[l+20>>2]=g;d=((g<<3)+e|0)+4|0}j=N[l+44>>2];if(!j){break O}n=j+(N[d>>2]<<6)|0;u=f&65024;v=u+512|0;while(1){d=n+(f>>>3&56)|0;A=N[d+4>>2];f=f&63;j=f&31;if((f&63)>>>0>=32){h=1<>>32-j}N[d>>2]=f|N[d>>2];N[d+4>>2]=h|A;k=k-1|0;if(!k){break O}d=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;f=(d<<8|d>>>8)&65535;if(u>>>0>f>>>0){continue Y}if(f>>>0>>0){continue}break}continue}break}q=p}N[q>>2]=-1}k=N[l+36>>2];if((k|0)<0){break V}c=N[l+28>>2];c=(c|0)>0?c:0;if(c>>>0>k>>>0){while(1){k=((k>>>1|0)+k|0)+8|0;if(c>>>0>=k>>>0){continue}break}ea:{if(k>>>0<=67108863){d=$a(N[l+44>>2],k<<6);if(d){break ea}}N[p>>2]=-1;break V}N[l+36>>2]=k;N[l+44>>2]=d}d=N[l+40>>2];if(d>>>0>>0){G(N[l+44>>2]+(d<<6)|0,0,c-d<<6)}N[l+40>>2]=c}L[l+12|0]=0}c=O[m|0]|O[m+1|0]<<8;p=(c<<8|c>>>8)&65535;g=N[b+20>>2];c=O[g+12|0];fa:{if(O[g+48|0]){if(!c){break fa}f=N[g+20>>2];c=N[g+28>>2];d=p>>>9|0;e=N[g+32>>2];if(!(f>>>0>>0&(d|0)==N[e+(f<<3)>>2])){if((c|0)<=0){break fa}c=c-1|0;k=0;while(1){ga:{f=c+k>>>1|0;j=N[e+(f<<3)>>2];ha:{if((j|0)>(d|0)){c=f-1|0;break ha}if((d|0)==(j|0)){break ga}k=f+1|0}if((c|0)>=(k|0)){continue}break fa}break}N[g+20>>2]=f}c=N[g+44>>2];if(!c){break fa}d=N[(e+(f<<3)|0)+4>>2];N[g+16>>2]=-1;c=(c+(d<<6)|0)+(p>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];D=c,E=ZE(-2,-1,p)&d,N[D>>2]=E;N[c+4>>2]=Pa&e;break fa}if(!c){break fa}N[g+16>>2]=-1;q=p>>>9|0;e=N[g+32>>2];ia:{ja:{d=N[g+20>>2];c=N[g+28>>2];if(d>>>0>=c>>>0){break ja}d=(d<<3)+e|0;if((q|0)!=N[d>>2]){break ja}c=d+4|0;break ia}j=N[g+40>>2];ka:{la:{if((c|0)<=0){c=0;break la}k=c-1|0;c=0;while(1){d=c+k>>>1|0;f=N[(d<<3)+e>>2];ma:{if((f|0)>(q|0)){k=d-1|0;break ma}if((f|0)==(q|0)){c=d;break ka}c=d+1|0}if((c|0)<=(k|0)){continue}break}}na:{oa:{h=g+36|0;d=N[h>>2];pa:{if((d|0)<0){break pa}qa:{ra:{f=j;e=f+1|0;m=(e|0)>0?e:0;if(m>>>0>d>>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(m>>>0>=d>>>0){continue}break}e=h;if(d>>>0>67108863){break ra}f=$a(N[g+44>>2],d<<6);if(!f){break ra}N[g+36>>2]=d;N[g+44>>2]=f;f=N[g+40>>2]}if(f>>>0>>0){G(N[g+44>>2]+(f<<6)|0,0,m-f<<6)}N[g+40>>2]=m;e=g+24|0;f=N[e>>2];if((f|0)<0){break qa}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(m>>>0>=f>>>0){continue}break}if(f>>>0>536870911){break ra}d=$a(N[g+32>>2],f<<3);if(!d){break ra}N[g+24>>2]=f;N[g+32>>2]=d}d=N[g+28>>2];if(d>>>0>>0){G(N[g+32>>2]+(d<<3)|0,0,m-d<<3)}N[g+28>>2]=m;d=N[g+44>>2]+(j<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=c<<3;e=d+N[g+32>>2]|0;B(e+8|0,e,N[g+28>>2]+(c^-1)<<3);if(Q[g+28>>2]>c>>>0){break oa}N[147456]=0;N[147457]=0;d=589824;break na}N[e>>2]=-1}k=N[g+36>>2];if((k|0)<0){break pa}c=N[g+28>>2];c=(c|0)>0?c:0;if(c>>>0>k>>>0){while(1){k=((k>>>1|0)+k|0)+8|0;if(c>>>0>=k>>>0){continue}break}sa:{if(k>>>0<=67108863){d=$a(N[g+44>>2],k<<6);if(d){break sa}}N[h>>2]=-1;L[g+12|0]=0;break fa}N[g+36>>2]=k;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){G(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[g+12|0]=0;break fa}d=d+N[g+32>>2]|0}N[d>>2]=q;N[d+4>>2]=j;e=N[g+32>>2]}N[g+20>>2]=c;c=((c<<3)+e|0)+4|0}d=N[g+44>>2];if(!d){break fa}c=(d+(N[c>>2]<<6)|0)+(p>>>3&56)|0;j=N[c+4>>2];e=p&63;d=e&31;if((e&63)>>>0>=32){g=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=g|j}s=s+2|0;z=z-1|0;if(z){continue}break}}ta:{ua:{switch((C&65535)-1|0){case 0:r=r+1|0;break ta;case 1:break ua;default:break ta}}c=O[o|0]|O[o+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=r>>>0?241305:(T(r,6)+o|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=w>>>0){w=0;r=r+1|0;d=O[o|0]|O[o+1|0]<<8;e=d>>>8|0;if(r>>>0>=((d<<8|e)&65535)>>>0){break ta}c=(T(r,6)+o|0)+2|0;j=i+1|0;d=((e|d<<8)&65535)>>>0<=r>>>0?241305:c;d=O[d+4|0]|O[d+5|0]<<8;i=(d<<8|d>>>8)&65535;if((j|0)==(i|0)){c=O[c|0]|O[c+1|0]<<8;w=(c<<8|c>>>8)&65535;break ta}c=O[o|0]|O[o+1|0]<<8;r=(c<<8|c>>>8)&65535;break ta}w=w+1|0;i=i+1|0}c=O[o|0]|O[o+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break a}x=x+2|0;y=y-1|0;if(y){continue}break}break a}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}va:{wa:{xa:{ya:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;t=d<<8|d>>>8;d=(t&65535)-1|0;switch(d|0){case 0:break xa;case 1:break ya;default:break wa}}f=241305;h=256;e=O[c+2|0]|O[c+3|0]<<8;za:{if(!e){break za}f=c+4|0;d=O[f|0]|O[f+1|0]<<8;g=d<<8|d>>>8;d=e;if(d){e=O[c+4|0]|O[c+5|0]<<8;h=e<<8|e>>>8;if(d){break za}}f=241305}d=O[f+2|0]|O[f+3|0]<<8;if((h&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){e=g&65535;break xa}d=O[c+2|0]|O[c+3|0]<<8;i=(d<<8|d>>>8)&65535;e=0}j=c+2|0;break va}if(d>>>0>1){break a}j=2}c=O[j|0]|O[j+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=i>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}s=(c<<8|(c&65280)>>>8)&65535;n=a+6|0;d=0;while(1){c=O[n|0]|O[n+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}h=O[c|0]|O[c+1|0]<<8;f=(h<<8|h>>>8)&65535;k=c+2|0;c=N[b+20>>2];o=c+12|0;Aa:{if(O[c+48|0]){Ef(o,k,f,2);break Aa}if(!h|!O[o|0]){break Aa}N[c+16>>2]=-1;c=O[k|0]|O[k+1|0]<<8;c=(c<<8|c>>>8)&65535;Ba:while(1){p=vc(o,c);if(!p){break Aa}q=c&65024;l=q+512|0;while(1){h=p+(c>>>3&56)|0;r=N[h+4>>2];m=c&63;g=m&31;c=h;if((m&63)>>>0>=32){h=1<>>32-g}N[c>>2]=m|N[c>>2];N[c+4>>2]=h|r;f=f-1|0;if(!f){break Aa}c=O[k+2|0]|O[k+3|0]<<8;k=k+2|0;c=(c<<8|c>>>8)&65535;if(q>>>0>c>>>0){continue Ba}if(c>>>0>>0){continue}break}continue}}Ca:{Da:{switch((t&65535)-1|0){case 0:i=i+1|0;break Ca;case 1:break Da;default:break Ca}}c=O[j|0]|O[j+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=i>>>0?241305:(j+T(i,6)|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=e>>>0){e=0;i=i+1|0;f=O[j|0]|O[j+1|0]<<8;h=f>>>8|0;if(i>>>0>=((f<<8|h)&65535)>>>0){break Ca}c=(j+T(i,6)|0)+2|0;m=d+1|0;f=((h|f<<8)&65535)>>>0<=i>>>0?241305:c;d=O[f+4|0]|O[f+5|0]<<8;d=(d<<8|d>>>8)&65535;if((m|0)==(d|0)){c=O[c|0]|O[c+1|0]<<8;e=(c<<8|c>>>8)&65535;break Ca}c=O[j|0]|O[j+1|0]<<8;i=(c<<8|c>>>8)&65535;break Ca}e=e+1|0;d=d+1|0}c=O[j|0]|O[j+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=i>>>0){break a}n=n+2|0;s=s-1|0;if(s){continue}break}break a}if(!a){break a}while(1){a=O[k|0]|O[k+1|0]<<8;sc(o,(a<<8|a>>>8)&65535);c=c+1|0;a=O[e|0]|O[e+1|0]<<8;if(c>>>0>=((a<<8|a>>>8)&65535)>>>0){break a}k=k+2|0;g=g-1|0;if(g){continue}break}break a}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}while(1){b=a+(c<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;sc(i,d+(b<<8|b>>>8)&65535);c=c+1|0;b=O[a|0]|O[a+1|0]<<8;if(c>>>0<((b<<8|b>>>8)&65535)>>>0){continue}break}}}function km(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;p=La-32|0;La=p;c=-2;a:{if(!a){break a}e=N[a+28>>2];if(!e|!N[a>>2]){break a}j=-5;q=(b|0)==4?-5:0;while(1){b=1;c=-3;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{switch(N[e>>2]){case 0:b=j;c=N[a+4>>2];if(!c){break d}N[a+4>>2]=c-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;b=O[b|0];N[e+4>>2]=b;e=N[a+28>>2];if((b&15)!=8){N[e>>2]=13;N[a+24>>2]=16520;break c}if(Q[e+16>>2]<(N[e+4>>2]>>>4|0)+8>>>0){N[e>>2]=13;N[a+24>>2]=15309;break c}N[e>>2]=1;j=q;case 1:b=j;c=N[a+4>>2];if(!c){break d}i=c-1|0;N[a+4>>2]=i;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;b=O[b|0];if(((b|N[e+4>>2]<<8)>>>0)%31|0){N[e>>2]=13;N[a+24>>2]=13716;break c}if(!(b&32)){N[e>>2]=7;break b}N[e>>2]=2;c=q;break u;case 13:break a;case 7:break p;case 6:break q;case 5:break r;case 4:break s;case 3:break t;case 2:break v;case 12:break d;case 11:break e;case 10:break f;case 9:break g;case 8:break h;default:break o}}i=N[a+4>>2];c=j}if(!i){break a}N[a+4>>2]=i-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=O[b|0]<<24;e=N[a+28>>2];N[e>>2]=3;j=q}c=j;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<16);e=N[a+28>>2];N[e>>2]=4;j=q}c=j;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<8);e=N[a+28>>2];N[e>>2]=5;j=q}c=j;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+O[b|0];b=a;a=N[a+28>>2];N[b+48>>2]=N[a+8>>2];N[a>>2]=6;c=2;break a}N[e>>2]=13;N[a+24>>2]=7902;N[e+4>>2]=0;c=-2;break a}d=N[e+20>>2];l=N[d+52>>2];b=N[d+48>>2];w:{if(l>>>0>>0){c=b+(l^-1)|0;break w}c=N[d+44>>2]-l|0}g=N[a+4>>2];e=N[a>>2];i=N[d+28>>2];b=N[d+32>>2];u=d+20|0;s=d+16|0;f=N[d>>2];x:{y:{while(1){h=j;z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{W:{switch(f|0){case 2:if(!g){break R}X:{if(c){f=l;break X}Y:{if(N[d+44>>2]!=(l|0)){f=l;break Y}f=N[d+40>>2];c=N[d+48>>2];if((f|0)==(c|0)){f=l;break Y}c=c>>>0>f>>>0?c+(f^-1)|0:l-f|0;if(c){break X}}N[d+52>>2]=f;k=Xb(d,a,j);j=N[d+52>>2];h=N[d+48>>2];Z:{if(j>>>0>=h>>>0){f=N[d+44>>2];c=f-j|0;break Z}f=N[d+44>>2];c=h+(j^-1)|0}_:{if((f|0)!=(j|0)){f=j;break _}f=N[d+40>>2];if((h|0)==(f|0)){f=j;break _}c=f>>>0>>0?h+(f^-1)|0:j-f|0}if(!c){break S}}j=N[d+4>>2];j=g>>>0>j>>>0?j:g;j=c>>>0>j>>>0?j:c;B(f,e,j);h=N[d+4>>2];k=h-j|0;N[d+4>>2]=k;c=c-j|0;l=f+j|0;g=g-j|0;e=e+j|0;if((h|0)!=(j|0)){while(1){h=N[d>>2];if((h|0)!=2){j=0;switch(h|0){case 8:break x;case 7:break y;case 6:break H;case 5:break J;case 3:break O;case 1:break P;case 0:break Q;case 9:break U;case 4:break V;default:break T}}if(!g){j=0;break R}$:{if(c){f=l;break $}aa:{if(N[d+44>>2]!=(l|0)){f=l;break aa}f=N[d+40>>2];c=N[d+48>>2];if((f|0)==(c|0)){f=l;break aa}c=c>>>0>f>>>0?c+(f^-1)|0:l-f|0;if(c){break $}}N[d+52>>2]=f;k=Xb(d,a,0);j=N[d+52>>2];h=N[d+48>>2];ba:{if(j>>>0>>0){f=N[d+44>>2];c=h+(j^-1)|0;break ba}f=N[d+44>>2];c=f-j|0}ca:{if((f|0)!=(j|0)){f=j;break ca}f=N[d+40>>2];if((h|0)==(f|0)){f=j;break ca}c=f>>>0>>0?h+(f^-1)|0:j-f|0}if(!c){break S}k=N[d+4>>2]}j=g>>>0>k>>>0?k:g;j=c>>>0>j>>>0?j:c;B(f,e,j);h=N[d+4>>2];k=h-j|0;N[d+4>>2]=k;c=c-j|0;l=f+j|0;g=g-j|0;e=e+j|0;if((h|0)!=(j|0)){continue}break}}j=0;f=N[d+24>>2]?7:0;N[d>>2]=f;continue;case 8:break x;case 7:break y;case 6:break H;case 5:break J;case 3:break O;case 1:break P;case 0:break Q;case 9:break U;case 4:break W;default:break T}}k=N[d+4>>2]}c=N[d+8>>2];if(c>>>0<(k>>>10|0)+4>>>0){break L}break K}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break F}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[d+52>>2]=l;c=Xb(d,a,-2);break i}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[d+52>>2]=f;c=Xb(d,a,k);break i}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break j}da:{ea:{if(i>>>0>2){k=e;j=h;f=i;break ea}if(!g){break da}k=e+1|0;g=g-1|0;b=O[e|0]<>2]=b&1;fa:{ga:{switch((b>>>1&3)-1|0){case 0:e=Qa[N[a+32>>2]](N[a+40>>2],1,28)|0;if(!e){N[d+32>>2]=b;N[d+4>>2]=0;N[d+28>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=k;N[a+8>>2]=N[a+8>>2]+(k-b|0);break N}N[e+24>>2]=42352;N[e+20>>2]=38256;M[e+16>>1]=1289;N[e>>2]=0;N[d+4>>2]=e;i=f-3|0;b=b>>>3|0;f=6;break fa;case 1:i=f-3|0;b=b>>>3|0;f=3;break fa;case 2:N[d>>2]=9;N[a+24>>2]=15513;N[d+28>>2]=f-3;N[d+32>>2]=b>>>3;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=k;N[a+8>>2]=N[a+8>>2]+(k-b|0);break F;default:break ga}}f=f-3|0;b=b>>>3>>>(f&7)|0;i=f&-8;f=1}e=k;N[d>>2]=f;continue}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[d+52>>2]=l;c=Xb(d,a,h);break i}ha:{if(i>>>0>31){h=e;break ha}ia:{ja:{if(!g){h=e;f=i;break ja}f=i+8|0;h=e+1|0;k=g-1|0;b=O[e|0]<>>0>=24){i=f;g=k;break ha}if(k){k=i+16|0;h=e+2|0;n=g-2|0;b=O[e+1|0]<>>0>15){i=k;g=n;break ha}if(!n){f=k;break ja}f=i+24|0;h=e+3|0;n=g-3|0;b=O[e+2|0]<>>0>7){i=f;g=n;break ha}if(n){break ia}}}N[d+28>>2]=f;N[d+32>>2]=b;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-b|0);break j}i=i+32|0;h=e+4|0;g=g-4|0;b=O[e+3|0]<>>16|0;if((f|0)!=(b&65535)){N[d>>2]=9;N[a+24>>2]=10861;N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-b|0);break F}N[d+4>>2]=f;if(b>>>0<4294901760){f=2}else{f=N[d+24>>2]?7:0}b=0;i=0;e=h;N[d>>2]=f;continue}ka:{if(i>>>0>13){f=e;break ka}la:{ma:{if(!g){f=e;c=i;break ma}c=i+8|0;f=e+1|0;h=g-1|0;b=O[e|0]<>>0>=6){i=c;g=h;break ka}if(h){break la}}N[d+28>>2]=c;N[d+32>>2]=b;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=f;N[a+8>>2]=N[a+8>>2]+(f-b|0);break j}g=g-2|0;f=e+2|0;i=i+16|0;b=O[e+1|0]<>2]=b&16383;na:{c=b&31;if(c>>>0<=29){e=b>>>5&31;if(e>>>0<30){break na}}N[d>>2]=9;N[a+24>>2]=10793;N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=f;N[a+8>>2]=N[a+8>>2]+(f-b|0);break F}c=Qa[N[a+32>>2]](N[a+40>>2],(c+e|0)+258|0,4)|0;N[d+12>>2]=c;if(c){break M}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=f;N[a+8>>2]=N[a+8>>2]+(f-b|0)}N[d+52>>2]=l;c=Xb(d,a,-4);break i}N[d>>2]=4;c=0;N[d+8>>2]=0;i=i-14|0;b=b>>>14|0;e=f}while(1){oa:{if(i>>>0<=2){if(!g){break oa}g=g-1|0;b=O[e|0]<>2]=c+1;N[N[d+12>>2]+(N[(c<<2)+38096>>2]<<2)>>2]=b&7;i=i-3|0;b=b>>>3|0;c=N[d+8>>2];if(c>>>0<(N[d+4>>2]>>>10|0)+4>>>0){continue}break K}break}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break j}if(c>>>0<19){while(1){N[d+8>>2]=c+1;N[N[d+12>>2]+(N[(c<<2)+38096>>2]<<2)>>2]=0;c=N[d+8>>2];if(c>>>0<19){continue}break}}N[d+16>>2]=7;f=N[d+12>>2];h=N[d+36>>2];N[p+28>>2]=0;c=Qa[N[a+32>>2]](N[a+40>>2],19,4)|0;pa:{if(!c){f=-4;break pa}k=16137;qa:{ra:{sa:{ta:{f=Bh(f,19,19,0,0,u,s,h,p+28|0,c);switch(f+5|0){case 0:break ra;case 2:break ta;default:break sa}}k=16173;break ra}if(!N[s>>2]){break ra}Qa[N[a+36>>2]](N[a+40>>2],c);if(f){if((f|0)!=-3){break pa}break qa}N[d>>2]=5;N[d+8>>2]=0;c=0;break I}N[a+24>>2]=k;Qa[N[a+36>>2]](N[a+40>>2],c)}Qa[N[a+36>>2]](N[a+40>>2],N[d+12>>2]);N[d>>2]=9;f=-3}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[d+52>>2]=l;c=Xb(d,a,f);break i}c=N[d+8>>2]}h=N[d+4>>2];f=h&31;h=h>>>5&31;n=(f+h|0)+258|0;if(c>>>0>>0){while(1){o=N[s>>2];ua:{if(o>>>0<=i>>>0){f=i;k=e;h=g;break ua}if(!g){g=0;break k}k=e+1|0;h=g-1|0;b=O[e|0]<>>0<=f>>>0){break ua}while(1){if(!h){break k}h=h-1|0;b=O[k|0]<>>0>f>>>0){continue}break}}e=N[u>>2]+((N[(o<<2)+38176>>2]&b)<<3)|0;m=O[e+1|0];o=N[e+4>>2];va:{if(o>>>0<=15){N[d+8>>2]=c+1;N[N[d+12>>2]+(c<<2)>>2]=o;i=f-m|0;b=b>>>m|0;c=N[d+8>>2];e=k;g=h;break va}v=(o|0)==18;t=v?7:o-14|0;r=m+t|0;wa:{if(r>>>0<=f>>>0){i=f;e=k;g=h;break wa}if(!h){h=0;break l}e=k+1|0;g=h-1|0;b=O[k|0]<>>0<=i>>>0){break wa}while(1){if(!g){break l}g=g-1|0;b=O[e|0]<>>0>i>>>0){continue}break}}i=i-r|0;f=b>>>m|0;b=f>>>t|0;h=f&N[(t<<2)+38176>>2];m=v?11:3;k=h+m|0;if(!((o|0)!=16|c?k+c>>>0<=n>>>0:0)){Qa[N[a+36>>2]](N[a+40>>2],N[d+12>>2]);N[d>>2]=9;N[a+24>>2]=9688;N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break F}f=0;f=(o|0)==16?N[(N[d+12>>2]+(c<<2)|0)-4>>2]:f;o=k-1|0;n=k&3;if(n){k=h+m|0;h=0;while(1){N[N[d+12>>2]+(c<<2)>>2]=f;c=c+1|0;h=h+1|0;if((n|0)!=(h|0)){continue}break}k=k-n|0}if(o>>>0>=3){while(1){h=c<<2;N[h+N[d+12>>2]>>2]=f;N[(h+N[d+12>>2]|0)+4>>2]=f;N[(h+N[d+12>>2]|0)+8>>2]=f;N[(h+N[d+12>>2]|0)+12>>2]=f;c=c+4|0;k=k-4|0;if(k){continue}break}}N[d+8>>2]=c}h=N[d+4>>2];f=h&31;h=h>>>5&31;n=(f+h|0)+258|0;if(n>>>0>c>>>0){continue}break}}N[d+20>>2]=0;N[p+24>>2]=9;N[p+20>>2]=6;k=N[d+36>>2];o=N[d+12>>2];N[p+28>>2]=0;c=Qa[N[a+32>>2]](N[a+40>>2],288,4)|0;if(!c){break n}n=16213;xa:{ya:{za:{m=f+257|0;r=Bh(o,m,257,42608,42736,p+16|0,p+24|0,k,p+28|0,c);if(r){f=16244;switch(r+4|0){case 1:break za;case 0:break G;default:break ya}}r=N[p+24>>2];if(!r){break ya}h=Bh(o+(m<<2)|0,h+1|0,0,42864,42992,p+12|0,p+20|0,k,p+28|0,c);Aa:{if(h){n=16279;f=16304;switch(h+5|0){case 0:break ya;case 2:break za;case 1:break G;default:break Aa}}h=N[p+20>>2];if(h|!f){break xa}}n=10890;break ya}n=f}N[a+24>>2]=n;Qa[N[a+36>>2]](N[a+40>>2],c);Qa[N[a+36>>2]](N[a+40>>2],N[d+12>>2]);N[d>>2]=9;c=-3;break m}Qa[N[a+36>>2]](N[a+40>>2],c);f=N[p+12>>2];k=N[p+16>>2];c=Qa[N[a+32>>2]](N[a+40>>2],1,28)|0;if(!c){break n}N[c+24>>2]=f;N[c+20>>2]=k;L[c+17|0]=h;L[c+16|0]=r;N[c>>2]=0;N[d+4>>2]=c;Qa[N[a+36>>2]](N[a+40>>2],N[d+12>>2]);N[d>>2]=6}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;c=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-c|0);N[d+52>>2]=l;m=N[d+4>>2];c=N[d+48>>2];Ba:{if(c>>>0>l>>>0){f=c+(l^-1)|0;break Ba}f=N[d+44>>2]-l|0}n=N[m>>2];while(1){Ca:{Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{switch(n|0){case 1:o=N[m+12>>2];break Na;case 3:o=N[m+12>>2];h=e;k=g;break La;case 5:n=N[m+12>>2];h=e;o=g;break Ja;case 9:break Fa;case 8:break Ga;case 7:break Ha;case 6:break Ia;case 4:break Ka;case 2:break Ma;case 0:break Oa;default:break Da}}N[m>>2]=1;o=O[m+16|0];N[m+12>>2]=o;N[m+8>>2]=N[m+20>>2]}Pa:{if(i>>>0>=o>>>0){h=i;c=e;k=g;break Pa}if(!g){g=0;n=j;break A}c=e+1|0;k=g-1|0;b=O[e|0]<>>0<=h>>>0){break Pa}while(1){if(!k){n=0;break A}k=k-1|0;b=O[c|0]<>>0>h>>>0){continue}break}}e=N[m+8>>2]+((N[(o<<2)+38176>>2]&b)<<3)|0;g=O[e+1|0];i=h-g|0;b=b>>>g|0;Qa:{g=O[e|0];Ra:{if(!g){e=N[e+4>>2];N[m>>2]=6;N[m+8>>2]=e;n=6;break Ra}if(g&16){N[m+8>>2]=g&15;e=N[e+4>>2];N[m>>2]=2;N[m+4>>2]=e;n=2;break Ra}if(!(g&64)){N[m+12>>2]=g;N[m+8>>2]=e+(N[e+4>>2]<<3);n=1;break Ra}if(!(g&32)){break Qa}N[m>>2]=7;n=7}e=c;g=k;continue}N[m>>2]=9;N[a+24>>2]=16348;N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=k;b=N[a>>2];N[a>>2]=c;N[a+8>>2]=N[a+8>>2]+(c-b|0);break Ea}n=N[m+8>>2];Sa:{if(n>>>0<=i>>>0){c=i;h=e;k=g;break Sa}if(!g){g=0;n=j;break B}h=e+1|0;k=g-1|0;b=O[e|0]<>>0<=c>>>0){break Sa}while(1){if(!k){n=0;break B}k=k-1|0;b=O[h|0]<>>0>c>>>0){continue}break}}N[m>>2]=3;o=O[m+17|0];N[m+12>>2]=o;N[m+8>>2]=N[m+24>>2];N[m+4>>2]=N[m+4>>2]+(N[(n<<2)+38176>>2]&b);i=c-n|0;b=b>>>n|0}Ta:{if(i>>>0>=o>>>0){c=i;e=h;g=k;break Ta}if(!k){k=0;n=j;break C}e=h+1|0;g=k-1|0;b=O[h|0]<>>0<=c>>>0){break Ta}while(1){if(!g){n=0;break C}g=g-1|0;b=O[e|0]<>>0>c>>>0){continue}break}}i=c;k=N[(o<<2)+38176>>2]&b;o=N[m+8>>2];c=(k<<3)+o|0;h=O[c+1|0];i=i-h|0;b=b>>>h|0;h=O[c|0];if(h&16){N[m+8>>2]=h&15;c=N[c+4>>2];n=4;N[m>>2]=4;N[m+12>>2]=c;continue}if(!(h&64)){N[m+12>>2]=h;n=3;N[m+8>>2]=c+(N[(o+(k<<3)|0)+4>>2]<<3);continue}N[m>>2]=9;N[a+24>>2]=16376;N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break Ea}k=N[m+8>>2];Ua:{if(k>>>0<=i>>>0){c=i;h=e;o=g;break Ua}if(!g){g=0;n=j;break D}h=e+1|0;o=g-1|0;b=O[e|0]<>>0<=c>>>0){break Ua}while(1){if(!o){n=0;break D}o=o-1|0;b=O[h|0]<>>0>c>>>0){continue}break}}N[m>>2]=5;n=N[m+12>>2]+(N[(k<<2)+38176>>2]&b)|0;N[m+12>>2]=n;i=c-k|0;b=b>>>k|0}c=N[d+40>>2];e=l-n|0;if(c>>>0>e>>>0){g=N[d+44>>2]-c|0;while(1){e=e+g|0;if(e>>>0>>0){continue}break}}if(N[m+4>>2]){Va:{if(f){c=l;break Va}Wa:{if(N[d+44>>2]!=(l|0)){c=l;break Wa}f=N[d+48>>2];if((f|0)==(c|0)){c=l;break Wa}f=c>>>0>>0?f+(c^-1)|0:l-c|0;if(f){break Va}}N[d+52>>2]=c;n=Xb(d,a,j);j=N[d+52>>2];g=N[d+48>>2];Xa:{if(j>>>0>=g>>>0){c=N[d+44>>2];f=c-j|0;break Xa}c=N[d+44>>2];f=g+(j^-1)|0}Ya:{if((c|0)!=(j|0)){c=j;break Ya}c=N[d+40>>2];if((g|0)==(c|0)){c=j;break Ya}f=c>>>0>>0?g+(c^-1)|0:j-c|0}if(!f){break E}}L[c|0]=O[e|0];e=e+1|0;k=N[d+44>>2];if((e|0)==(k|0)){e=N[d+40>>2]}f=f-1|0;c=c+1|0;g=N[m+4>>2]-1|0;N[m+4>>2]=g;j=0;if(g){while(1){Za:{if(f){break Za}_a:{if((c|0)!=(k|0)){break _a}c=N[d+40>>2];f=N[d+48>>2];if((c|0)==(f|0)){c=k;break _a}f=c>>>0>>0?f+(c^-1)|0:k-c|0;if(f){break Za}}N[d+52>>2]=c;n=Xb(d,a,0);g=N[d+52>>2];l=N[d+48>>2];$a:{if(g>>>0>>0){c=N[d+44>>2];f=l+(g^-1)|0;break $a}c=N[d+44>>2];f=c-g|0}ab:{if((c|0)!=(g|0)){c=g;break ab}c=N[d+40>>2];if((l|0)==(c|0)){c=g;break ab}f=c>>>0>>0?l+(c^-1)|0:g-c|0}if(!f){break E}}L[c|0]=O[e|0];e=e+1|0;k=N[d+44>>2];if((e|0)==(k|0)){e=N[d+40>>2]}f=f-1|0;c=c+1|0;g=N[m+4>>2]-1|0;N[m+4>>2]=g;if(g){continue}break}}l=c}n=0;N[m>>2]=0;e=h;g=o;continue}if(f){c=l;break Ca}bb:{if(N[d+44>>2]!=(l|0)){c=l;break bb}c=N[d+40>>2];f=N[d+48>>2];if((c|0)==(f|0)){c=l;break bb}f=c>>>0>>0?f+(c^-1)|0:l-c|0;if(f){break Ca}}N[d+52>>2]=c;n=Xb(d,a,j);j=N[d+52>>2];h=N[d+48>>2];cb:{if(j>>>0>>0){c=N[d+44>>2];f=h+(j^-1)|0;break cb}c=N[d+44>>2];f=c-j|0}db:{if((c|0)!=(j|0)){c=j;break db}c=N[d+40>>2];if((h|0)==(c|0)){c=j;break db}f=c>>>0>>0?h+(c^-1)|0:j-c|0}if(f){break Ca}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[d+52>>2]=c;break z}N[d+52>>2]=l;c=i>>>0>7;i=c?i-8|0:i;g=c+g|0;e=e-c|0;n=Xb(d,a,j);l=N[d+52>>2];if((l|0)!=N[d+48>>2]){N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break z}N[m>>2]=8}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[d+52>>2]=l;n=1;break z}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0)}N[d+52>>2]=l;n=-3;break z}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[d+52>>2]=l;n=-2;break z}L[c|0]=N[m+8>>2];n=0;N[m>>2]=0;f=f-1|0;l=c+1|0;j=0;continue}}Qa[N[a+36>>2]](N[a+40>>2],c);break n}N[d+52>>2]=l;c=Xb(d,a,-3);break i}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=o;b=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-b|0);N[d+52>>2]=c;break z}N[d+32>>2]=b;N[d+28>>2]=(g<<3)+i;N[a+4>>2]=0;b=N[a>>2];c=e+g|0;N[a>>2]=c;N[a+8>>2]=N[a+8>>2]+(c-b|0);N[d+52>>2]=l;break z}N[d+32>>2]=b;N[d+28>>2]=(k<<3)+i;N[a+4>>2]=0;b=N[a>>2];c=h+k|0;N[a>>2]=c;N[a+8>>2]=N[a+8>>2]+(c-b|0);N[d+52>>2]=l;break z}N[d+32>>2]=b;N[d+28>>2]=(g<<3)+i;N[a+4>>2]=0;b=N[a>>2];c=e+g|0;N[a>>2]=c;N[a+8>>2]=N[a+8>>2]+(c-b|0);N[d+52>>2]=l;break z}N[d+32>>2]=b;N[d+28>>2]=(g<<3)+i;N[a+4>>2]=0;b=N[a>>2];c=e+g|0;N[a>>2]=c;N[a+8>>2]=N[a+8>>2]+(c-b|0);N[d+52>>2]=l}b=Xb(d,a,n);if((b|0)!=1){c=Xb(d,a,b);break i}Qa[N[a+36>>2]](N[a+40>>2],N[d+4>>2]);l=N[d+52>>2];b=N[d+48>>2];eb:{if(l>>>0>>0){c=b+(l^-1)|0;break eb}c=N[d+44>>2]-l|0}i=N[d+28>>2];b=N[d+32>>2];g=N[a+4>>2];e=N[a>>2];f=0;if(!N[d+24>>2]){j=0;N[d>>2]=0;continue}break}N[d>>2]=7;j=0}N[d+52>>2]=l;c=Xb(d,a,j);l=N[d+52>>2];if((l|0)!=N[d+48>>2]){N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);c=Xb(d,a,c);break i}N[d>>2]=8}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[d+52>>2]=l;c=Xb(d,a,1);break i}c=-2;break a}c=-4}N[d+28>>2]=i;N[d+32>>2]=b;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[d+52>>2]=l;c=Xb(d,a,c);break i}N[d+32>>2]=b;N[d+28>>2]=(h<<3)+f;N[a+4>>2]=0;b=N[a>>2];c=h+k|0;N[a>>2]=c;N[a+8>>2]=N[a+8>>2]+(c-b|0);break j}N[d+32>>2]=b;N[d+28>>2]=(g<<3)+i;N[a+4>>2]=0;b=N[a>>2];c=e+g|0;N[a>>2]=c;N[a+8>>2]=N[a+8>>2]+(c-b|0)}N[d+52>>2]=l;c=Xb(d,a,j)}b=q;fb:{switch(c+3|0){case 0:b=N[a+28>>2];N[b>>2]=13;N[b+4>>2]=0;j=-3;e=N[a+28>>2];continue;case 4:break fb;case 3:break d;default:break a}}b=N[a+28>>2];c=N[b+20>>2];N[b+4>>2]=N[c+60>>2];b=N[c>>2];if((b&-2)==4){Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);b=N[c>>2]}if((b|0)==6){Qa[N[a+36>>2]](N[a+40>>2],N[c+4>>2])}N[c+28>>2]=0;N[c+32>>2]=0;N[c>>2]=0;b=N[c+40>>2];N[c+52>>2]=b;N[c+48>>2]=b;b=N[c+56>>2];if(b){b=Qa[b|0](0,0,0)|0;N[c+60>>2]=b;N[a+48>>2]=b}e=N[a+28>>2];if(N[e+12>>2]){N[e>>2]=12;break b}N[e>>2]=8;j=q}b=j;c=N[a+4>>2];if(!c){break d}N[a+4>>2]=c-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=O[b|0]<<24;e=N[a+28>>2];N[e>>2]=9;j=q}b=j;c=N[a+4>>2];if(!c){break d}N[a+4>>2]=c-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<16);e=N[a+28>>2];N[e>>2]=10;j=q}b=j;c=N[a+4>>2];if(!c){break d}N[a+4>>2]=c-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<8);e=N[a+28>>2];N[e>>2]=11;j=q}b=j;c=N[a+4>>2];if(!c){break d}N[a+4>>2]=c-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+O[b|0];b=N[a+28>>2];if(N[b+4>>2]!=N[b+8>>2]){N[b>>2]=13;N[a+24>>2]=13739;N[b+4>>2]=5;break b}N[b>>2]=12;c=1;break a}c=b;break a}N[e+4>>2]=5}e=N[a+28>>2];j=q;continue}}La=p+32|0;return c}function KE(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{c:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break b}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break a}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=273;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break f}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=d;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break i}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=d;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break l}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=d;N[b>>2]=1853188980;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break o}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1634429038;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break q}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break p}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=274;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break u}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=72;N[b+4>>2]=d;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];v:{w:{x:{c=N[a+96>>2];if((c|0)>=0){d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break w}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){e=$a(N[a+104>>2],c<<3);b=N[a+100>>2];if(e){break x}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break v}N[a+96>>2]=c;N[a+104>>2]=e}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,d-b<<3)}N[a+100>>2]=d;b=d;d=(N[a+104>>2]+(b<<3)|0)-8|0}c=N[a+76>>2];N[d+4>>2]=275;N[d>>2]=c;N[a+76>>2]=N[a+76>>2]+1;y:{z:{A:{c=N[a+96>>2];if((c|0)>=0){d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break z}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){b=$a(N[a+104>>2],c<<3);if(b){break A}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break y}N[a+96>>2]=c;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,d-b<<3)}N[a+100>>2]=d;d=(N[a+104>>2]+(d<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=274;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];B:{C:{D:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break C}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break D}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break B}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];E:{F:{G:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break F}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break G}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break E}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=276;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];H:{I:{J:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break I}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break J}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break H}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1919644262;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break M}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break P}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break S}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1751215206;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];T:{U:{V:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break U}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break V}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break T}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Y}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1986098293;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];Z:{_:{$:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break _}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break $}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Z}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1667916660;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];aa:{ba:{ca:{c=N[a+96>>2];if((c|0)>=0){d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break ba}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){e=$a(N[a+104>>2],c<<3);b=N[a+100>>2];if(e){break ca}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break aa}N[a+96>>2]=c;N[a+104>>2]=e}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,d-b<<3)}N[a+100>>2]=d;b=d;d=(N[a+104>>2]+(b<<3)|0)-8|0}c=N[a+76>>2];N[d+4>>2]=277;N[d>>2]=c;N[a+76>>2]=N[a+76>>2]+1;da:{ea:{fa:{c=N[a+96>>2];if((c|0)>=0){d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break ea}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){b=$a(N[a+104>>2],c<<3);if(b){break fa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break da}N[a+96>>2]=c;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,d-b<<3)}N[a+100>>2]=d;d=(N[a+104>>2]+(d<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=278;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];ga:{ha:{ia:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break ia}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ga}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=d;N[b>>2]=1769172844;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];ja:{ka:{la:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break la}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ja}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=d;N[b>>2]=1768843636;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];ma:{na:{oa:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break oa}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ma}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=d;N[b>>2]=1835361385;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];pa:{qa:{ra:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break ra}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break pa}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=d;N[b>>2]=1718185569;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];sa:{ta:{ua:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break ta}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break ua}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break sa}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];va:{wa:{xa:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break xa}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break va}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=d;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];ya:{za:{Aa:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break za}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Aa}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ya}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=d;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];Ba:{Ca:{Da:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Da}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ba}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=d;N[b>>2]=1751215214;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];Ea:{Fa:{Ga:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Ga}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ea}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=d;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];Ha:{Ia:{Ja:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Ja}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ha}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=d;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Wh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0;g=La-176|0;La=g;N[g+172>>2]=0;w=N[a+12>>2];s=N[a>>2];if(P[s+290>>1]>>0){M[s+290>>1]=c}N[a+20>>2]=b;o=65536;u=65536;if(!(L[a+16|0]&1)){e=N[N[a+4>>2]+44>>2];o=N[e+8>>2];u=N[e+4>>2]}H=N[N[s+128>>2]+52>>2];a:{b:{if(H){e=Qa[N[N[H>>2]>>2]](N[H+4>>2],b,g+124|0)|0;if(e){break a}e=N[g+128>>2];N[a+28>>2]=e;N[g+152>>2]=0;N[g+156>>2]=0;N[g+168>>2]=0;N[g+160>>2]=0;N[g+164>>2]=0;N[g+152>>2]=0;N[g+144>>2]=0;N[g+148>>2]=0;N[g+140>>2]=0;N[g+136>>2]=e;N[g+132>>2]=N[g+124>>2];N[a+24>>2]=g+132;break b}j=bg(s,b,a+28|0);e=N[a+28>>2]}c:{if((e|0)>0){f=N[s+728>>2];if(!(f|N[N[s+128>>2]+52>>2])){e=8;break c}e=Qa[N[s+520>>2]](a,b,f+j|0,e)|0;if(e){break c}e=Qa[N[s+528>>2]](a)|0;N[g+172>>2]=e;Qa[N[s+524>>2]](a);if(e){break c}e=N[a+28>>2]}if(!(P[a+32>>1]?e:0)){N[a+36>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+48>>2]=0}l=N[a>>2];q=N[a+24>>2];M[g+80>>1]=0;M[g>>1]=0;M[g+44>>1]=0;M[g+64>>1]=0;i=N[q+8>>2];Qa[N[N[l+540>>2]+156>>2]](l,0,b,g+80|0,g+44|0);d:{if(O[l+292|0]){Qa[N[N[l+540>>2]+156>>2]](l,1,b,g,g- -64|0);break d}f=N[a+48>>2];if(P[l+372>>1]!=65535){e=M[l+442>>1];M[g>>1]=e-f;e=e-M[l+444>>1]|0;f=e>>31;M[g+64>>1]=(e^f)-f;break d}e=M[l+220>>1];M[g>>1]=e-f;e=e-M[l+222>>1]|0;f=e>>31;M[g+64>>1]=(e^f)-f}e:{e=N[q+20>>2];f:{if(e){if(Qa[e|0](q,i,0,0)|0){break f}break e}if(i>>>0<=Q[q+4>>2]){break e}}e=85;break c}N[q+8>>2]=i;i=M[g+80>>1];N[a+52>>2]=i;q=P[g+44>>1];N[a+56>>2]=q;N[a+172>>2]=M[g>>1];N[a+176>>2]=P[g+64>>1];if(!(N[N[l+128>>2]+52>>2]|O[a+64|0])){N[a+60>>2]=q;L[a+64|0]=1}e=0;if(d){break c}if(!(P[a+32>>1]?N[a+28>>2]:0)){e=N[a>>2];d=N[N[e+128>>2]+52>>2];g:{if(!d){break g}c=N[N[d>>2]+8>>2];if(!c){break g}N[g+92>>2]=0;N[g+88>>2]=q;N[g+84>>2]=0;N[g+80>>2]=i;h:{if(Qa[c|0](N[d+4>>2],b,0,g+80|0)|0){break h}c=M[g+80>>1];d=P[g+88>>1];N[a+172>>2]=0;N[a+176>>2]=0;N[a+56>>2]=d;N[a+52>>2]=c;if(O[a+64|0]){break h}N[a+60>>2]=d;L[a+64|0]=1}e=N[a>>2]}d=1;i:{if(N[N[e+96>>2]+64>>2]!=40){break i}c=N[a+156>>2];d=1;if(!c){break i}d=!O[c+641|0]|!O[c+646|0]}N[a+72>>2]=0;N[a+80>>2]=0;f=N[a+36>>2]-N[a+52>>2]|0;N[a+68>>2]=f;c=N[a+56>>2];k=c+f|0;N[a+76>>2]=k;c=d&1?0:(c|0)/2|0;N[a+188>>2]=c;d=N[a+172>>2]+N[a+48>>2]|0;N[a+184>>2]=d;N[a+180>>2]=c;j=d-N[a+176>>2]|0;N[a+192>>2]=j;j:{if(!(P[s+6>>1]&32767|O[s+9|0]&128)){b=c;break j}N[g+108>>2]=j;N[g+100>>2]=d;N[g+76>>2]=16843009;N[g+64>>2]=65536;N[g+68>>2]=196610;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+104>>2]=c;N[g+96>>2]=c;N[g+92>>2]=0;N[g+88>>2]=k;N[g+84>>2]=0;N[g+80>>2]=f;N[g+44>>2]=262148;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;N[g+56>>2]=g- -64;N[g+52>>2]=g+76;N[g+48>>2]=g+80;e=Th(e,b,g+44|0,g,4);if(e){break c}f=N[g+80>>2];N[a+68>>2]=f;N[a+72>>2]=N[g+84>>2];k=N[g+88>>2];N[a+76>>2]=k;N[a+80>>2]=N[g+92>>2];b=N[g+96>>2];N[a+180>>2]=b;d=N[g+100>>2];N[a+184>>2]=d;c=N[g+104>>2];N[a+188>>2]=c;j=N[g+108>>2];N[a+192>>2]=j;e=N[N[a>>2]+740>>2];if(!(e&2)){N[a+60>>2]=(N[g+8>>2]-N[g>>2]|0)+32>>6}if(e&16){break j}N[a+176>>2]=(N[g+24>>2]-N[g+16>>2]|0)+32>>6}e=0;if(L[a+16|0]&1){break c}I=a,J=qb(f,u),N[I+68>>2]=J;I=a,J=qb(k,u),N[I+76>>2]=J;I=a,J=qb(b,u),N[I+180>>2]=J;I=a,J=qb(d,o),N[I+184>>2]=J;I=a,J=qb(c,u),N[I+188>>2]=J;I=a,J=qb(j,o),N[I+192>>2]=J;break c}e=N[a>>2];f=N[N[e+128>>2]+52>>2];k:{if(!f){break k}d=N[N[f>>2]+8>>2];if(!d){break k}N[g+92>>2]=0;N[g+88>>2]=q;N[g+84>>2]=0;N[g+80>>2]=i;l:{if(Qa[d|0](N[f+4>>2],b,0,g+80|0)|0){break l}d=M[g+80>>1];e=P[g+88>>1];N[a+172>>2]=0;N[a+176>>2]=0;N[a+56>>2]=e;N[a+52>>2]=d;if(O[a+64|0]){break l}N[a+60>>2]=e;L[a+64|0]=1}e=N[a>>2]}f=1;m:{if(N[N[e+96>>2]+64>>2]!=40){break m}d=N[a+156>>2];if(!d){break m}f=!O[d+641|0]|!O[d+646|0]}N[a+72>>2]=0;N[a+80>>2]=0;d=N[a+36>>2]-N[a+52>>2]|0;N[a+68>>2]=d;e=d;d=N[a+56>>2];N[a+76>>2]=e+d;e=f?0:(d|0)/2|0;N[a+188>>2]=e;d=N[a+172>>2]+N[a+48>>2]|0;N[a+184>>2]=d;N[a+180>>2]=e;N[a+192>>2]=d-N[a+176>>2];e=Qa[N[s+520>>2]](a,b,(N[s+728>>2]+j|0)+10|0,N[a+28>>2]-10|0)|0;if(e){break c}d=M[a+32>>1];n:{if((d|0)>0){e=Qa[N[s+532>>2]](a)|0;if(e){break n}Qa[N[s+524>>2]](a);E=N[N[a>>2]+100>>2];b=N[a+72>>2];r=N[a+12>>2];y=M[r+58>>1];c=N[r+60>>2]+(y<<3)|0;N[c>>2]=N[a+68>>2];N[c+4>>2]=b;b=N[a+80>>2];F=y+1|0;c=N[r+60>>2]+(F<<3)|0;N[c>>2]=N[a+76>>2];N[c+4>>2]=b;b=N[a+184>>2];t=y+2|0;c=N[r+60>>2]+(t<<3)|0;N[c>>2]=N[a+180>>2];N[c+4>>2]=b;b=N[a+192>>2];x=y+3|0;c=N[r+60>>2]+(x<<3)|0;N[c>>2]=N[a+188>>2];N[c+4>>2]=b;b=0;c=r- -64|0;L[y+N[c>>2]|0]=0;L[F+N[c>>2]|0]=0;L[t+N[c>>2]|0]=0;L[x+N[c>>2]|0]=0;i=y+4|0;d=6;k=N[a>>2];o:{p:{if(P[k+6>>1]&32767|O[k+9|0]&128){if((y|0)<-4){break o}q:{if(!i){break q}c=i<<3;b=Qa[N[E+4>>2]](E,c)|0;if(!(!b|(y|0)<-3)){G(b,0,c);break q}if(b){break q}d=!b<<6;break o}d=Th(N[a>>2],N[a+20>>2],r+56|0,b,i);k=N[a>>2];c=N[k+740>>2];if(!(c&2)){N[a+60>>2]=(N[(F<<3)+b>>2]-N[(y<<3)+b>>2]|0)+32>>6}if(!(c&16)){N[a+176>>2]=(N[(x<<3)+b>>2]-N[(t<<3)+b>>2]|0)+32>>6}if(d){break p}}C=N[a+16>>2];if(!(C&2)){f=P[r+58>>1];M[a+128>>1]=f;M[a+130>>1]=P[r+56>>1];N[a+132>>2]=N[r+76>>2];e=N[r+60>>2];N[a+136>>2]=e;d=N[r+80>>2];N[a+140>>2]=d;N[a+144>>2]=N[r+64>>2];c=N[r+68>>2];M[a+152>>1]=0;N[a+148>>2]=c;B(d,e,(f<<3)+32|0);k=N[a>>2];C=N[a+16>>2]}j=0;f=0;r:{if(C&1){break r}d=N[r+60>>2];v=d+(i<<3)|0;c=N[N[a+4>>2]+44>>2];j=N[c+8>>2];f=N[c+4>>2];if(!(P[k+6>>1]&32767|O[k+9|0]&128)){if((y|0)<-3){break r}c=j>>31;z=(c^j)-c|0;A=z&65535;h=z>>>16|0;l=z>>>8|0;c=f>>31;m=(c^f)-c|0;q=m&65535;i=m>>>16|0;e=m>>>8|0;while(1){p=N[d>>2];c=p>>31;o=(c^p)-c|0;s:{if(o+e>>>0<=8190){n=T(m,o)+32768>>>16|0;break s}c=o&65535;n=T(c,i)+T(m,o>>>16|0)+(T(c,q)+32768>>>16)|0}c=n;o=0-c|0;c=p>>31|1;N[d>>2]=(((f|0)<0?0-c|0:c)|0)<0?o:n;p=N[d+4>>2];c=p>>31;o=(c^p)-c|0;t:{if(o+l>>>0<=8190){n=T(o,z)+32768>>>16|0;break t}c=o&65535;n=T(c,h)+T(z,o>>>16|0)+(T(c,A)+32768>>>16)|0}c=n;o=0-c|0;c=p>>31|1;N[d+4>>2]=(((j|0)<0?0-c|0:c)|0)<0?o:n;d=d+8|0;if(v>>>0>d>>>0){continue}break}break r}if((y|0)<-3){break r}c=j>>31;D=(c^j)-c|0;p=D&65535;A=D>>>16|0;h=D>>>8|0;c=f>>31;z=(c^f)-c|0;l=z&65535;q=z>>>16|0;i=z>>>8|0;c=b;while(1){o=N[c>>2];e=o>>31;m=(e^o)-e|0;u:{if(m+i>>>0<=8190){n=T(m,z)+32768>>>16|0;break u}e=m&65535;n=T(e,q)+T(z,m>>>16|0)+(T(e,l)+32768>>>16)|0}e=n;m=0-e|0;e=o>>31|1;N[d>>2]=((((f|0)<0?0-e|0:e)|0)<0?m:n)+32>>6;o=N[c+4>>2];e=o>>31;m=(e^o)-e|0;v:{if(m+h>>>0<=8190){n=T(m,D)+32768>>>16|0;break v}e=m&65535;n=T(e,A)+T(D,m>>>16|0)+(T(e,p)+32768>>>16)|0}e=n;m=0-e|0;e=o>>31|1;N[d+4>>2]=((((j|0)<0?0-e|0:e)|0)<0?m:n)+32>>6;c=c+8|0;d=d+8|0;if(v>>>0>d>>>0){continue}break}}d=N[k+740>>2];w:{if(!(!(d&2)|C&2)){q=N[a+68>>2];i=q>>31;c=f>>31;l=(c^f)-c|0;e=l>>>8|0;i=(i^q)-i|0;x:{if(e+i>>>0<=8190){n=T(i,l)+32768>>>16|0;break x}c=i&65535;n=T(c,l>>>16|0)+T(l,i>>>16|0)+(T(c,l&65535)+32768>>>16)|0}c=n;h=0-c|0;c=q>>31|1;N[a+68>>2]=(((f|0)<0?0-c|0:c)|0)<0?h:n;i=N[a+76>>2];c=i>>31;n=e;e=(c^i)-c|0;y:{if(n+e>>>0<=8190){e=T(e,l)+32768>>>16|0;break y}c=e&65535;e=T(c,l>>>16|0)+T(l,e>>>16|0)+(T(c,l&65535)+32768>>>16)|0}c=e;l=0-c|0;c=i>>31|1;N[a+76>>2]=(((f|0)<0?0-c|0:c)|0)<0?l:e;break w}d=N[r+60>>2]+(y<<3)|0;c=N[d+4>>2];N[a+68>>2]=N[d>>2];N[a+72>>2]=c;d=N[r+60>>2]+(F<<3)|0;c=N[d+4>>2];N[a+76>>2]=N[d>>2];N[a+80>>2]=c;d=N[k+740>>2]}i=C&2;e=d&16;z:{if(!(i|!e)){i=N[a+180>>2];d=i>>31;c=f>>31;h=(c^f)-c|0;e=h>>>8|0;d=(d^i)-d|0;A:{if(e+d>>>0<=8190){d=T(d,h)+32768>>>16|0;break A}c=d&65535;d=T(c,h>>>16|0)+T(h,d>>>16|0)+(T(c,h&65535)+32768>>>16)|0}c=d;l=0-c|0;c=i>>31|1;N[a+180>>2]=(((f|0)<0?0-c|0:c)|0)<0?l:d;q=N[a+184>>2];i=q>>31;c=j>>31;l=(c^j)-c|0;d=l>>>8|0;i=(i^q)-i|0;B:{if(d+i>>>0<=8190){n=T(i,l)+32768>>>16|0;break B}c=i&65535;n=T(c,l>>>16|0)+T(l,i>>>16|0)+(T(c,l&65535)+32768>>>16)|0}c=n;i=0-c|0;c=q>>31|1;N[a+184>>2]=(((j|0)<0?0-c|0:c)|0)<0?i:n;i=N[a+188>>2];c=i>>31;n=e;e=(c^i)-c|0;C:{if(n+e>>>0<=8190){e=T(e,h)+32768>>>16|0;break C}c=e&65535;e=T(c,h>>>16|0)+T(h,e>>>16|0)+(T(c,h&65535)+32768>>>16)|0}c=e;n=0-c|0;c=i>>31|1;N[a+188>>2]=(((f|0)<0?0-c|0:c)|0)<0?n:e;e=N[a+192>>2];c=e>>31;f=d;d=(c^e)-c|0;D:{if(f+d>>>0<=8190){d=T(d,l)+32768>>>16|0;break D}c=d&65535;d=T(c,l>>>16|0)+T(l,d>>>16|0)+(T(c,l&65535)+32768>>>16)|0}c=d;f=0-c|0;c=e>>31|1;N[a+192>>2]=(((j|0)<0?0-c|0:c)|0)<0?f:d;break z}d=N[r+60>>2]+(t<<3)|0;c=N[d+4>>2];N[a+180>>2]=N[d>>2];N[a+184>>2]=c;d=N[r+60>>2]+(x<<3)|0;c=N[d+4>>2];N[a+188>>2]=N[d>>2];N[a+192>>2]=c;d=0;if(e|i){break p}}M[a+128>>1]=P[a+128>>1]+4;d=_m(a,0)}if(!b){break o}Qa[N[E+8>>2]](E,b)}e=d;if(d){break c}$e(w);e=0;break c}e=0;if((d|0)>=0){break n}t=N[s+100>>2];M[a+32>>1]=65535;i=a+204|0;E:{d=N[a+204>>2];F:{if(d){f=d;e=c;while(1){if(!e){e=f;while(1){N[e+8>>2]=-1;e=N[e+4>>2];if(e){continue}break}e=N[i>>2];if(e){while(1){if(N[e+8>>2]==(b|0)){break E}e=N[e+4>>2];if(e){continue}break}}N[f+8>>2]=b;break F}e=e-1|0;f=N[f+4>>2];if(f){continue}break}while(1){if(N[d+8>>2]==(b|0)){break E}d=N[d+4>>2];if(d){continue}break}}e=Qa[N[t+4>>2]](t,12)|0;if(!e){e=64;break n}N[e+8>>2]=b;L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;d=N[a+208>>2];N[e>>2]=d;N[(d?d+4|0:i)>>2]=e;N[a+208>>2]=e}l=M[w+22>>1];q=M[w+20>>1];e=Qa[N[s+536>>2]](a)|0;N[g+172>>2]=e;if(e){break n}E=N[a+164>>2];Qa[N[s+524>>2]](a);if(P[s+6>>1]&32767|O[s+9|0]&128){i=N[w+84>>2];d=i+4|0;M[g+80>>1]=d;M[g+82>>1]=d;x=d<<16>>16;m=lb(t,8,0,x,0,g+172|0);e=N[g+172>>2];if(e){break c}if((x|0)<0){e=6;break c}f=0;G:{H:{if(x){f=Qa[N[t+4>>2]](t,x)|0;if(!f|(x|0)<=0){break H}G(f,0,x)}N[g+172>>2]=0;break G}d=!f;e=d<<6;N[g+172>>2]=e;if(d){break c}}d=g+172|0;v=lb(t,2,0,x,0,d);e=N[g+172>>2];if(e){break c}p=lb(t,8,0,x,0,d);e=N[g+172>>2];I:{if(e){break I}A=i<<16>>16;i=i<<16;J:{if((i|0)<=0){j=0;e=0;break J}h=N[w+88>>2];e=0;j=0;while(1){d=m+(e<<3)|0;N[d>>2]=N[h+8>>2];N[d+4>>2]=N[h+12>>2];L[e+f|0]=1;M[v+(e<<1)>>1]=j;h=h+32|0;j=j+1|0;e=j<<16>>16;if((A|0)>(e|0)){continue}break}}d=m+(e<<3)|0;N[d>>2]=N[a+68>>2];N[d+4>>2]=N[a+72>>2];L[e+f|0]=1;M[v+(e<<1)>>1]=j;e=j+1|0;h=e<<16>>16;d=m+(h<<3)|0;N[d>>2]=N[a+76>>2];N[d+4>>2]=N[a+80>>2];L[f+h|0]=1;M[v+(h<<1)>>1]=e;e=j+2|0;h=e<<16>>16;d=m+(h<<3)|0;N[d>>2]=N[a+180>>2];N[d+4>>2]=N[a+184>>2];L[f+h|0]=1;M[v+(h<<1)>>1]=e;e=j+3|0;h=e<<16>>16;d=m+(h<<3)|0;N[d>>2]=N[a+188>>2];N[d+4>>2]=N[a+192>>2];L[f+h|0]=1;M[v+(h<<1)>>1]=e;N[g+92>>2]=v;N[g+88>>2]=f;N[g+84>>2]=m;e=Th(s,b,g+80|0,p,x);N[g+172>>2]=e;K:{L:{if(e){Qa[N[t+8>>2]](t,m);break L}M:{if((i|0)<=0){j=0;break M}b=N[w+88>>2];j=0;h=0;while(1){if(O[b+4|0]&2){d=m+(j<<3)|0;N[b+8>>2]=M[d>>1];N[b+12>>2]=M[d+4>>1]}b=b+32|0;h=h+1|0;j=h<<16>>16;if((A|0)>(j|0)){continue}break}}b=m+(j<<3)|0;N[a+68>>2]=N[b>>2];N[a+72>>2]=N[b+4>>2];N[a+76>>2]=N[b+8>>2];N[a+80>>2]=N[b+12>>2];N[a+180>>2]=N[b+16>>2];N[a+184>>2]=N[b+20>>2];N[a+188>>2]=N[b+24>>2];N[a+192>>2]=N[b+28>>2];d=N[s+740>>2];if(!(d&2)){b=p+(x<<3)|0;N[a+60>>2]=(N[b-24>>2]-N[b-32>>2]|0)+32>>6}if(!(d&16)){b=p+(x<<3)|0;N[a+176>>2]=(N[b-8>>2]-N[b-16>>2]|0)+32>>6}Qa[N[t+8>>2]](t,m);if(!f){break K}}Qa[N[t+8>>2]](t,f)}if(!v){break I}Qa[N[t+8>>2]](t,v)}if(p){Qa[N[t+8>>2]](t,p)}if(e){break c}}b=N[a+16>>2];if(!(b&1)){I=a,J=qb(N[a+68>>2],u),N[I+68>>2]=J;I=a,J=qb(N[a+76>>2],u),N[I+76>>2]=J;I=a,J=qb(N[a+180>>2],u),N[I+180>>2]=J;I=a,J=qb(N[a+184>>2],o),N[I+184>>2]=J;I=a,J=qb(N[a+188>>2],u),N[I+188>>2]=J;I=a,J=qb(N[a+192>>2],o),N[I+192>>2]=J}if(b&1024){$e(w);N[N[a+8>>2]+72>>2]=1668246896;e=0;break c}C=N[w+48>>2];y=N[w+84>>2];D=N[a+28>>2];z=N[a+24>>2];$e(w);N:{if(!y){u=0;b=l;break N}F=c+1|0;b=0;while(1){r=M[w+22>>1];t=N[a+176>>2];x=N[a+60>>2];i=N[a+188>>2];m=N[a+192>>2];f=N[a+180>>2];v=N[a+184>>2];d=N[a+76>>2];o=N[a+80>>2];c=N[a+68>>2];p=N[a+72>>2];h=b<<5;A=C<<5;e=Wh(a,N[h+(A+N[w+52>>2]|0)>>2],F,0);if(e){break c}u=h+(A+N[w+52>>2]|0)|0;if(!(O[u+5|0]&2)){N[a+188>>2]=i;N[a+192>>2]=m;N[a+180>>2]=f;N[a+184>>2]=v;N[a+76>>2]=d;N[a+80>>2]=o;N[a+68>>2]=c;N[a+72>>2]=p;N[a+176>>2]=t;N[a+60>>2]=x}A=P[w+22>>1];if((A|0)!=(r&65535)){d=0;m=La-16|0;La=m;p=N[a+12>>2];e=N[p+24>>2];c=e+(r<<3)|0;v=P[p+22>>1]-r<<16>>16;j=P[u+4>>1];h=j&200;if(!(!h|!e|(v|0)<=0)){i=u+16|0;f=(v<<3)+c|0;e=c;while(1){hd(e,i);e=e+8|0;if(f>>>0>e>>>0){continue}break}j=P[u+4>>1]}k=N[u+12>>2];e=N[u+8>>2];O:{P:{if(!(j&2)){d=21;e=e+l|0;if(e>>>0>=r>>>0){break O}f=k+r|0;if(f>>>0>=M[p+22>>1]>>>0){break O}d=N[p+24>>2];e=d+(e<<3)|0;d=d+(f<<3)|0;k=N[e+4>>2]-N[d+4>>2]|0;e=N[e>>2]-N[d>>2]|0;break P}if(!(e|k)){break O}if(!(!h|!(j&2048))){d=N[u+20>>2];N[m+8>>2]=N[u+16>>2];N[m+12>>2]=d;h=kc(m+8|0);I=m,J=ZE(N[u+24>>2],N[u+28>>2],32),N[I+8>>2]=J;N[m+12>>2]=Pa;i=kc(m+8|0);d=h>>31;p=(d^h)-d|0;d=e>>31;f=(d^e)-d|0;Q:{if((p>>>8|0)+f>>>0<=8190){f=T(f,p)+32768>>>16|0;break Q}d=f&65535;f=T(d,p>>>16|0)+T(p,f>>>16|0)+(T(d,p&65535)+32768>>>16)|0}d=f;n=0-d|0;d=e>>31|1;e=(((h|0)<0?0-d|0:d)|0)<0?n:f;d=i>>31;h=(d^i)-d|0;d=k>>31;f=(d^k)-d|0;R:{if((h>>>8|0)+f>>>0<=8190){f=T(f,h)+32768>>>16|0;break R}d=f&65535;f=T(d,h>>>16|0)+T(h,f>>>16|0)+(T(d,h&65535)+32768>>>16)|0}d=f;n=0-d|0;d=k>>31|1;k=(((i|0)<0?0-d|0:d)|0)<0?n:f}f=N[a+16>>2];if(f&1){break P}d=N[N[a+4>>2]+44>>2];p=N[d+8>>2];i=N[d+4>>2];d=i>>31;o=(d^i)-d|0;d=e>>31;h=(d^e)-d|0;S:{if((o>>>8|0)+h>>>0<=8190){n=T(h,o)+32768>>>16|0;break S}d=h&65535;n=T(d,o>>>16|0)+T(o,h>>>16|0)+(T(d,o&65535)+32768>>>16)|0}d=n;h=0-d|0;d=e>>31|1;e=(((i|0)<0?0-d|0:d)|0)<0?h:n;d=p>>31;h=(d^p)-d|0;d=k>>31;i=(d^k)-d|0;T:{if((h>>>8|0)+i>>>0<=8190){n=T(h,i)+32768>>>16|0;break T}d=i&65535;n=T(d,h>>>16|0)+T(h,i>>>16|0)+(T(d,h&65535)+32768>>>16)|0}d=n;h=0-d|0;d=k>>31|1;k=(((p|0)<0?0-d|0:d)|0)<0?h:n;if(!(j&4)|f&2){break P}e=N[N[N[a>>2]+96>>2]+64>>2]==35?e+32&-64:e;k=k+32&-64}d=0;if(!(e|k)|(v|0)<=0){break O}if(v>>>0>=4){f=v&-4;j=0;while(1){N[c>>2]=N[c>>2]+e;N[c+4>>2]=N[c+4>>2]+k;N[c+8>>2]=N[c+8>>2]+e;N[c+16>>2]=N[c+16>>2]+e;N[c+24>>2]=N[c+24>>2]+e;N[c+12>>2]=N[c+12>>2]+k;N[c+20>>2]=N[c+20>>2]+k;N[c+28>>2]=N[c+28>>2]+k;c=c+32|0;j=j+4|0;if((f|0)!=(j|0)){continue}break}}f=v&3;if(!f){break O}j=0;while(1){N[c>>2]=N[c>>2]+e;N[c+4>>2]=N[c+4>>2]+k;c=c+8|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}}La=m+16|0;e=d;if(d){break c}}b=b+1|0;if((y|0)!=(b|0)){continue}break}b=A<<16>>16}N[a+164>>2]=E;N[a+28>>2]=D;N[a+24>>2]=z;if(!(!u|N[a+16>>2]&2|(!(L[u+5|0]&1)|b>>>0<=l>>>0))){i=La-16|0;La=i;d=N[a+12>>2];f=M[d+22>>1];b=f+4|0;U:{if(!(!b|Q[d+4>>2]>=M[d+58>>1]+(b+f|0)>>>0)){f=Sb(d,b,0);if(f){break U}f=M[d+22>>1]}b=N[a+72>>2];c=N[d+24>>2]+(f<<3)|0;N[c>>2]=N[a+68>>2];N[c+4>>2]=b;b=N[a+80>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+8>>2]=N[a+76>>2];N[c+12>>2]=b;b=N[a+184>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+16>>2]=N[a+180>>2];N[c+20>>2]=b;b=N[a+192>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+24>>2]=N[a+188>>2];N[c+28>>2]=b;L[N[d+28>>2]+M[d+22>>1]|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+1|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+2|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+3|0]=0;b=N[a+164>>2];h=N[a+24>>2];c=N[h+20>>2];V:{if(c){f=85;if(Qa[c|0](h,b,0,0)|0){break U}j=N[h+4>>2];break V}f=85;j=N[h+4>>2];if(j>>>0>>0){break U}}N[h+8>>2]=b;W:{X:{if(b+1>>>0>=j>>>0){break X}c=N[h+20>>2];if(c){f=i+14|0;if((Qa[c|0](h,b,f,2)|0)!=2){break X}b=N[h+8>>2];break W}c=N[h>>2];if(c){f=b+c|0;break W}N[h+8>>2]=b+2;f=0;break U}f=85;break U}c=O[f|0]|O[f+1|0]<<8;j=b+2|0;N[h+8>>2]=j;Y:{c=c<<8|c>>>8;b=c&65535;Z:{if(b>>>0>P[N[a>>2]+286>>1]){f=22;if((b|0)>N[a+28>>2]){break U}k=N[a+156>>2];c=N[k+408>>2];if(b>>>0>c>>>0){if((c|0)<0){f=6;break Y}e=N[k+8>>2];_:{if(!c){j=Qa[N[e+4>>2]](e,b)|0;f=!j<<6;break _}d=N[k+412>>2];e=Qa[N[e+12>>2]](e,c,b,d)|0;j=e?e:d;f=!e<<6}$:{if(!(f|(b|0)<=(c|0)|!j)){G(c+j|0,0,b-c|0);N[k+412>>2]=j;break $}N[k+412>>2]=j;if(f){break Y}}j=N[h+8>>2];k=N[a+156>>2];c=b}N[k+408>>2]=c&65535;break Z}if(!(c&65535)){f=0;break U}k=N[a+156>>2]}f=85;d=N[h+4>>2];if(d>>>0<=j>>>0){break U}e=N[k+412>>2];c=N[h+20>>2];aa:{if(c){k=Qa[c|0](h,j,e,b)|0;break aa}c=d-j|0;k=b>>>0>c>>>0?c:b;B(e,N[h>>2]+j|0,k)}N[h+8>>2]=j+k;if(b>>>0>k>>>0){break U}d=N[N[a+156>>2]+412>>2];c=N[a+8>>2];N[c+140>>2]=b;N[c+136>>2]=d;d=N[a+12>>2];c=P[d+22>>1];M[a+128>>1]=c-l;M[a+130>>1]=P[d+20>>1]-q;b=l<<3;N[a+132>>2]=b+N[d+40>>2];N[a+136>>2]=b+N[d+24>>2];N[a+140>>2]=b+N[d+44>>2];N[a+144>>2]=l+N[d+28>>2];b=N[d+32>>2];M[a+152>>1]=l;N[a+148>>2]=b+(q<<1);if((c|0)!=(l&65535)){b=0;while(1){c=N[a+144>>2]+b|0;L[c|0]=O[c|0]&231;b=b+1|0;c=P[a+128>>1];if(b>>>0>>0){continue}break}b=c+4|0}else{b=4}M[a+128>>1]=b;f=_m(a,1);break U}N[N[a+156>>2]+408>>2]=c&65535}La=i+16|0;e=f;if(e){break c}}e=0;if(!N[w+48>>2]|!(O[N[w+52>>2]+5|0]&4)){break c}N[w+36>>2]=N[w+36>>2]|64;break c}e=21}Qa[N[s+524>>2]](a)}if(!H){break a}a=N[N[s+128>>2]+52>>2];Qa[N[N[a>>2]+4>>2]](N[a+4>>2],g+124|0)}La=g+176|0;return e}function Qf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;j=La-112|0;s=e+2378|0;f=-31;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{switch(N[e+632>>2]){case 1:f=N[e+12>>2];break s;case 5:break j;case 4:break o;case 3:break q;case 2:break r;case 0:break t;default:break a}}f=2;g=N[e+12>>2];u:{if(g-31>>>0>=2){h=N[e+8>>2];break u}h=N[e+20>>2];if(!h){break a}f=N[e+8>>2]>>>8|0;N[e+8>>2]=f;i=N[e+16>>2];l=O[i|0];N[e+20>>2]=h-1;N[e+16>>2]=i+1;h=f|l<<24;N[e+8>>2]=h;g=g-8|0}f=g+2|0;N[e+12>>2]=f;h=h>>>g&3;N[e+636>>2]=h;if((h|0)!=1){break p}}v:{if(f-31>>>0>=2){g=N[e+8>>2];break v}h=N[e+20>>2];if(!h){break k}g=N[e+8>>2]>>>8|0;N[e+8>>2]=g;i=N[e+16>>2];j=O[i|0];N[e+20>>2]=h-1;N[e+16>>2]=i+1;g=g|j<<24;N[e+8>>2]=g;f=f-8|0}N[e+636>>2]=0;N[e+12>>2]=f+2;N[e+648>>2]=g>>>f&3}g=0;f=a-1|0;if(f){while(1){g=g+1|0;a=f>>>0>1;f=f>>>1|0;if(a){continue}break}}h=N[e+648>>2];l=N[e+636>>2];if(h>>>0>>0){break g}k=(g<<2)+169392|0;f=N[e+12>>2];while(1){w:{if(32-f>>>0>=g>>>0){m=N[e+8>>2];a=f;break w}j=N[e+20>>2];if(!j){break l}o=N[e+8>>2]>>>8|0;N[e+8>>2]=o;i=N[e+16>>2];n=O[i|0];p=j-1|0;N[e+20>>2]=p;a=f-8|0;N[e+12>>2]=a;N[e+16>>2]=i+1;m=o|n<<24;N[e+8>>2]=m;if(40-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+1|0];p=j-2|0;N[e+20>>2]=p;a=f-16|0;N[e+12>>2]=a;N[e+16>>2]=i+2;m=o|n<<24;N[e+8>>2]=m;if(48-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+2|0];p=j-3|0;N[e+20>>2]=p;a=f-24|0;N[e+12>>2]=a;N[e+16>>2]=i+3;m=o|n<<24;N[e+8>>2]=m;if(56-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+3|0];p=j-4|0;N[e+20>>2]=p;a=f-32|0;N[e+12>>2]=a;N[e+16>>2]=i+4;m=o|n<<24;N[e+8>>2]=m;if(64-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+4|0];p=j-5|0;N[e+20>>2]=p;a=f-40|0;N[e+12>>2]=a;N[e+16>>2]=i+5;m=o|n<<24;N[e+8>>2]=m;if(72-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+5|0];N[e+20>>2]=j-6;a=f-48|0;N[e+12>>2]=a;N[e+16>>2]=i+6;m=o|n<<24;N[e+8>>2]=m}f=a+g|0;N[e+12>>2]=f;a=N[k>>2]&m>>>a;if(a>>>0>>0){M[((l<<1)+e|0)+792>>1]=a;l=l+1|0;if(l>>>0>h>>>0){break g}continue}break}return-4}h=N[e+648>>2];break f}N[e+652>>2]=0;N[e+656>>2]=32;a=e+2360|0;M[a+22>>1]=0;M[a+24>>1]=0;M[a+26>>1]=0;M[a+28>>1]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[e+632>>2]=4;n=32;i=0;break n}n=N[e+656>>2];i=N[e+652>>2];h=N[e+636>>2];if(h>>>0>17){break m}f=N[e+12>>2]}while(1){a=O[h+169216|0];x:{y:{z:{if(f-29>>>0>=4){g=N[e+8>>2];break z}g=N[e+20>>2];if(!g){break y}l=N[e+8>>2]>>>8|0;N[e+8>>2]=l;k=N[e+16>>2];o=O[k|0];N[e+20>>2]=g-1;N[e+16>>2]=k+1;g=l|o<<24;N[e+8>>2]=g;f=f-8|0}g=g>>>f&15;m=O[g+169248|0];break x}g=0;g=(f|0)!=32?N[e+8>>2]>>>f|0:g;m=O[g+169248|0];if(m>>>0<=32-f>>>0){break x}N[e+656>>2]=n;N[e+652>>2]=i;N[e+636>>2]=h;N[e+632>>2]=4;return 2}f=f+m|0;N[e+12>>2]=f;l=(a+e|0)+2360|0;a=O[g+169264|0];L[l|0]=a;if(!(4369>>>g&1)){g=((a<<1)+e|0)+2378|0;M[g>>1]=P[g>>1]+1;i=i+1|0;n=n-(32>>>a|0)|0;if(n-33>>>0<4294967264){break m}}h=h+1|0;if((h|0)!=18){continue}break}}if((i|0)!=1){f=-6;if(n){break a}}a=P[e+2380>>1]-1|0;N[j+4>>2]=a;a=a+P[e+2382>>1]|0;N[j+8>>2]=a;a=a+P[e+2384>>1]|0;N[j+12>>2]=a;a=a+P[e+2386>>1]|0;N[j+16>>2]=a;f=P[e+2388>>1];N[j>>2]=17;N[j+20>>2]=a+f;f=j+(O[e+2377|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=17;f=j+(O[e+2376|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=16;f=j+(O[e+2375|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=15;f=j+(O[e+2374|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=14;f=j+(O[e+2373|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=13;f=j+(O[e+2372|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=12;f=j+(O[e+2371|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=11;f=j+(O[e+2370|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=10;f=j+(O[e+2369|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=9;f=j+(O[e+2368|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=8;f=j+(O[e+2367|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=7;f=j+(O[e+2366|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=6;f=j+(O[e+2365|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=5;f=j+(O[e+2364|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=4;f=j+(O[e+2363|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=3;f=j+(O[e+2362|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=2;f=j+(O[e+2361|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=1;f=j+(O[e+2360|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;h=0;N[(j+32|0)+(a<<2)>>2]=0;if(N[j>>2]){l=e+660|0;a=0;i=P[e+2380>>1];if(i){while(1){f=l+(O[h+168960|0]<<2)|0;g=N[(j+32|0)+(a<<2)>>2]<<16|1;M[f+112>>1]=g;k=g>>>16|0;M[f+114>>1]=k;M[f+120>>1]=g;M[f+122>>1]=k;M[f+104>>1]=g;M[f+106>>1]=k;M[f+96>>1]=g;M[f+98>>1]=k;M[f+88>>1]=g;M[f+90>>1]=k;M[f+80>>1]=g;M[f+82>>1]=k;M[f+72>>1]=g;M[f+74>>1]=k;M[f+64>>1]=g;M[f+66>>1]=k;M[f+56>>1]=g;M[f+58>>1]=k;M[f+48>>1]=g;M[f+50>>1]=k;M[f+40>>1]=g;M[f+42>>1]=k;M[f+32>>1]=g;M[f+34>>1]=k;M[f+24>>1]=g;M[f+26>>1]=k;M[f+16>>1]=g;M[f+18>>1]=k;M[f+8>>1]=g;M[f+10>>1]=k;M[f>>1]=g;M[f+2>>1]=k;h=h+128|0;a=a+1|0;i=i-1|0;if(i){continue}break}}i=P[e+2382>>1];if(i){while(1){f=l+(O[h+168960|0]<<2)|0;g=N[(j+32|0)+(a<<2)>>2]<<16|2;M[f+96>>1]=g;k=g>>>16|0;M[f+98>>1]=k;M[f+112>>1]=g;M[f+114>>1]=k;M[f+80>>1]=g;M[f+82>>1]=k;M[f+64>>1]=g;M[f+66>>1]=k;M[f+48>>1]=g;M[f+50>>1]=k;M[f+32>>1]=g;M[f+34>>1]=k;M[f+16>>1]=g;M[f+18>>1]=k;M[f>>1]=g;M[f+2>>1]=k;h=h- -64|0;a=a+1|0;i=i-1|0;if(i){continue}break}}f=P[e+2384>>1];A:{if(!f){break A}if(f&1){g=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|3;M[g+64>>1]=i;k=i>>>16|0;M[g+66>>1]=k;M[g+96>>1]=i;M[g+98>>1]=k;M[g+32>>1]=i;M[g+34>>1]=k;M[g>>1]=i;M[g+2>>1]=k;h=h+32|0;a=a+1|0;i=f-1|0}else{i=f}if((f|0)==1){break A}while(1){f=l+(O[h+168960|0]<<2)|0;k=(j+32|0)+(a<<2)|0;g=N[k>>2]<<16|3;M[f+64>>1]=g;o=g>>>16|0;M[f+66>>1]=o;M[f+96>>1]=g;M[f+98>>1]=o;M[f+32>>1]=g;M[f+34>>1]=o;M[f>>1]=g;M[f+2>>1]=o;f=l+(O[h+168992|0]<<2)|0;g=N[k+4>>2]<<16|3;M[f+64>>1]=g;M[f+66>>1]=g>>>16;M[f+96>>1]=g;M[f+98>>1]=g>>>16;M[f+32>>1]=g;M[f+34>>1]=g>>>16;M[f>>1]=g;M[f+2>>1]=g>>>16;h=h- -64|0;a=a+2|0;i=i-2|0;if(i){continue}break}}g=P[e+2386>>1];B:{if(!g){break B}if(g&1){f=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|4;M[f>>1]=i;k=i>>>16|0;M[f+2>>1]=k;M[f+64>>1]=i;M[f+66>>1]=k;h=h+16|0;a=a+1|0;f=g-1|0}else{f=g}if((g|0)==1){break B}while(1){g=l+(O[h+168960|0]<<2)|0;k=(j+32|0)+(a<<2)|0;i=N[k>>2]<<16|4;M[g>>1]=i;o=i>>>16|0;M[g+2>>1]=o;M[g+64>>1]=i;M[g+66>>1]=o;g=l+(O[h+168976|0]<<2)|0;i=N[k+4>>2]<<16|4;M[g>>1]=i;M[g+2>>1]=i>>>16;M[g+64>>1]=i;M[g+66>>1]=i>>>16;h=h+32|0;a=a+2|0;f=f-2|0;if(f){continue}break}}g=P[e+2388>>1];if(!g){break i}if(g&1){f=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|5;M[f>>1]=i;M[f+2>>1]=i>>>16;h=h+8|0;a=a+1|0;f=g-1|0}else{f=g}if((g|0)==1){break i}while(1){g=l+(O[h+168960|0]<<2)|0;i=(j+32|0)+(a<<2)|0;k=N[i>>2]<<16|5;M[g>>1]=k;M[g+2>>1]=k>>>16;g=l+(O[h+168968|0]<<2)|0;i=N[i+4>>2]<<16|5;M[g>>1]=i;M[g+2>>1]=i>>>16;h=h+16|0;a=a+2|0;f=f-2|0;if(f){continue}break}break i}a=N[j+32>>2]<<16;M[e+784>>1]=a;f=a>>>16|0;M[e+786>>1]=f;M[e+780>>1]=a;M[e+782>>1]=f;M[e+776>>1]=a;M[e+778>>1]=f;M[e+772>>1]=a;M[e+774>>1]=f;M[e+768>>1]=a;M[e+770>>1]=f;M[e+764>>1]=a;M[e+766>>1]=f;M[e+760>>1]=a;M[e+762>>1]=f;M[e+756>>1]=a;M[e+758>>1]=f;M[e+752>>1]=a;M[e+754>>1]=f;M[e+748>>1]=a;M[e+750>>1]=f;M[e+744>>1]=a;M[e+746>>1]=f;M[e+740>>1]=a;M[e+742>>1]=f;M[e+736>>1]=a;M[e+738>>1]=f;M[e+732>>1]=a;M[e+734>>1]=f;M[e+728>>1]=a;M[e+730>>1]=f;M[e+724>>1]=a;M[e+726>>1]=f;M[e+720>>1]=a;M[e+722>>1]=f;M[e+716>>1]=a;M[e+718>>1]=f;M[e+712>>1]=a;M[e+714>>1]=f;M[e+708>>1]=a;M[e+710>>1]=f;M[e+704>>1]=a;M[e+706>>1]=f;M[e+700>>1]=a;M[e+702>>1]=f;M[e+696>>1]=a;M[e+698>>1]=f;M[e+692>>1]=a;M[e+694>>1]=f;M[e+688>>1]=a;M[e+690>>1]=f;M[e+684>>1]=a;M[e+686>>1]=f;M[e+680>>1]=a;M[e+682>>1]=f;M[e+676>>1]=a;M[e+678>>1]=f;M[e+672>>1]=a;M[e+674>>1]=f;M[e+668>>1]=a;M[e+670>>1]=f;M[e+664>>1]=a;M[e+666>>1]=f;M[e+660>>1]=a;M[e+662>>1]=f;break i}N[e+632>>2]=2;N[e+636>>2]=l;return 2}N[e+632>>2]=1;return 2}m=N[e+788>>2];i=N[e+640>>2];o=N[e+644>>2];n=N[e+656>>2];p=N[e+652>>2];f=N[e+648>>2];break h}a=s;M[a+24>>1]=0;M[a+26>>1]=0;M[a+28>>1]=0;M[a+30>>1]=0;M[a+16>>1]=0;M[a+18>>1]=0;M[a+20>>1]=0;M[a+22>>1]=0;o=8;M[a+8>>1]=0;M[a+10>>1]=0;M[a+12>>1]=0;M[a+14>>1]=0;M[a>>1]=0;M[a+2>>1]=0;M[a+4>>1]=0;M[a+6>>1]=0;N[e+2232>>2]=-16;m=N[e+788>>2];M[m-32>>1]=65535;N[e+2236>>2]=-15;M[m-30>>1]=65535;N[e+2240>>2]=-14;M[m-28>>1]=65535;N[e+2244>>2]=-13;M[m-26>>1]=65535;N[e+2248>>2]=-12;M[m-24>>1]=65535;N[e+2252>>2]=-11;M[m-22>>1]=65535;N[e+2256>>2]=-10;M[m-20>>1]=65535;N[e+2260>>2]=-9;M[m-18>>1]=65535;N[e+2264>>2]=-8;M[m-16>>1]=65535;N[e+2268>>2]=-7;M[m-14>>1]=65535;N[e+2272>>2]=-6;M[m-12>>1]=65535;N[e+2276>>2]=-5;M[m-10>>1]=65535;N[e+2280>>2]=-4;M[m-8>>1]=65535;N[e+2284>>2]=-3;M[m-6>>1]=65535;N[e+2288>>2]=-2;M[m-4>>1]=65535;N[e+2292>>2]=-1;M[m-2>>1]=65535;N[e+648>>2]=0;N[e+652>>2]=0;n=32768;N[e+656>>2]=32768;N[e+640>>2]=0;N[e+644>>2]=8;N[e+632>>2]=5;i=0;f=0}r=e+2232|0;C:{D:{E:{a=N[e+12>>2];F:{if((a|0)!=32){q=N[e+16>>2];a=a-8|0;break F}a=N[e+20>>2];if(!a){j=0;break E}h=N[e+8>>2]>>>8|0;N[e+8>>2]=h;g=N[e+16>>2];j=O[g|0];N[e+20>>2]=a-1;N[e+12>>2]=24;q=g+1|0;N[e+16>>2]=q;N[e+8>>2]=h|j<<24;a=16}G:{if(!(q&1)){break G}h=N[e+20>>2];if(!h){break G}g=N[e+8>>2]>>>8|0;N[e+8>>2]=g;j=O[q|0];N[e+20>>2]=h-1;N[e+12>>2]=a;q=q+1|0;N[e+16>>2]=q;N[e+8>>2]=g|j<<24}H:{if(!n|b>>>0<=f>>>0){break H}v=e+660|0;j=N[e+20>>2];while(1){I:{J:{K:{if(j>>>0>=2){h=N[e+8>>2];g=N[e+12>>2];if(g>>>0>=16){g=g^16;N[e+12>>2]=g;a=h>>>16|0;N[e+8>>2]=a;h=O[q|0]|O[q+1|0]<<8;j=j-2|0;N[e+20>>2]=j;q=q+2|0;N[e+16>>2]=q;h=a|h<<16;N[e+8>>2]=h}a=v+((h>>>g&31)<<2)|0;g=O[a|0]+g|0;N[e+12>>2]=g;a=P[a+2>>1];if(a>>>0<=15){if(a){h=r+(a<<2)|0;M[(N[h>>2]<<1)+m>>1]=f;N[h>>2]=f;h=(a<<1)+s|0;M[h>>1]=P[h>>1]+1;n=n-(32768>>>a|0)|0;o=a}l=f+1|0;p=0;break I}l=(a|0)==16;a=l?2:3;N[e+12>>2]=a+g;h=N[(a<<2)+169392>>2]&h>>>g;k=l?o:0;if((k|0)==(i|0)){if(p){break K}k=i}g=0;a=0;break J}N[e+652>>2]=p;N[e+648>>2]=f;N[e+644>>2]=o;N[e+656>>2]=n;N[e+640>>2]=i;break E}k=i;g=p;a=g-2<>>0>b>>>0){n=1048575;N[e+656>>2]=1048575;break D}if(!k){i=0;break I}t=h-g|0;u=t+2|0;w=r+(k<<2)|0;g=N[w>>2];a=0;t=t+3&7;if(t){while(1){h=f;M[(g<<1)+m>>1]=f;f=f+1|0;g=h;a=a+1|0;if((t|0)!=(a|0)){continue}break}}if(u>>>0>=7){while(1){M[(g<<1)+m>>1]=f;a=f+1|0;M[(f<<1)+m>>1]=a;h=(a<<1)+m|0;a=f+2|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+3|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+4|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+5|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+6|0;M[h>>1]=a;g=f+7|0;M[(a<<1)+m>>1]=g;h=g;f=f+8|0;if((l|0)!=(f|0)){continue}break}}N[w>>2]=h;a=(k<<1)+s|0;M[a>>1]=i+P[a>>1];n=n-(i<<15-k)|0;i=k}if(b>>>0<=l>>>0){break H}f=l;if(n){continue}break}}N[e+656>>2]=n;break D}if(b>>>0<=f>>>0){break D}o=e+660|0;a=0;while(1){if(!n){break C}L:{if(!a){g=N[e+12>>2];break L}if(!j){return 2}a=N[e+8>>2]>>>8|0;N[e+8>>2]=a;h=N[e+16>>2];l=O[h|0];g=N[e+12>>2]-8|0;N[e+12>>2]=g;j=j-1|0;N[e+20>>2]=j;N[e+16>>2]=h+1;N[e+8>>2]=a|l<<24}h=0;a=1;h=(g|0)!=32?N[e+8>>2]>>>g|0:h;l=o+((h&31)<<2)|0;k=O[l|0];p=32-g|0;M:{if(k>>>0>p>>>0){break M}l=P[l+2>>1];N:{if(l>>>0<=15){N[e+652>>2]=0;N[e+12>>2]=g+k;if(l){a=r+(l<<2)|0;M[(N[a>>2]<<1)+m>>1]=f;N[a>>2]=f;n=n-(32768>>>l|0)|0;N[e+656>>2]=n;N[e+644>>2]=l;a=(l<<1)+s|0;M[a>>1]=P[a>>1]+1}f=f+1|0;N[e+648>>2]=f;break N}w=p;p=l-14|0;q=p+k|0;if(w>>>0>>0){break M}N[e+12>>2]=g+q;k=N[(p<<2)+169392>>2]&h>>>k;O:{P:{Q:{if((l|0)!=16){l=3;a=0;break Q}l=2;a=N[e+644>>2]}if((a|0)!=(i|0)){N[e+640>>2]=a;break P}h=N[e+652>>2];if(!h){break P}g=h-2<>2]=i;k=i-h|0;l=k+f|0;if(l>>>0>b>>>0){N[e+656>>2]=1048575;N[e+648>>2]=b;return-7}if(a){i=g-h|0;n=i+2|0;p=r+(a<<2)|0;g=N[p>>2];a=0;i=i+3&7;if(i){while(1){h=f;M[(g<<1)+m>>1]=f;f=f+1|0;g=h;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(n>>>0>=7){while(1){M[(g<<1)+m>>1]=f;a=f+1|0;M[(f<<1)+m>>1]=a;h=(a<<1)+m|0;a=f+2|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+3|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+4|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+5|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+6|0;M[h>>1]=a;g=f+7|0;M[(a<<1)+m>>1]=g;h=g;f=f+8|0;if((l|0)!=(f|0)){continue}break}}N[e+648>>2]=l;N[p>>2]=h;i=N[e+640>>2];n=N[e+656>>2]-(k<<15-i)|0;N[e+656>>2]=n;a=(i<<1)+s|0;M[a>>1]=k+P[a>>1];f=N[e+648>>2];break N}N[e+648>>2]=l;i=0;f=l}a=0}if(b>>>0>f>>>0){continue}break}}f=-7;if(n){break a}}f=15;g=-1;while(1){h=f;f=f-1|0;k=g;g=g-1|0;if(P[(k<<1)+m>>1]==65535){continue}break}j=k>>>0>=4294967288?256:1<=8?8:h;o=(a|0)<=1?1:a;q=128;l=0;a=2;n=1;while(1){i=P[(n<<1)+s>>1];if(i){b=n-16|0;while(1){p=(O[l+168960|0]<<2)+c|0;b=P[(b<<1)+m>>1];g=b<<16|n;f=j;while(1){f=f-a|0;r=p+(f<<2)|0;M[r>>1]=g;M[r+2>>1]=g>>>16;if((f|0)>0){continue}break}l=l+q|0;i=i-1|0;if(i){continue}break}}q=q>>>1|0;a=a<<1;b=(n|0)!=(o|0);n=n+1|0;if(b){continue}break}p=256;if((j|0)!=256){while(1){a=j<<2;B(a+c|0,c,a);j=j<<1;if((j|0)!=256){continue}break}}if(k>>>0>=4294967289){t=(h|0)<=9?9:h;o=8;k=128;j=256;g=2;i=256;b=c;while(1){a=o;o=a+1|0;r=(o<<1)+s|0;R:{if(!P[r>>1]){break R}q=a-15|0;v=a-7|0;n=1<>>0<=13){while(1){if((i|0)==256){b=(j<<2)+b|0;h=n;f=o;while(1){S:{a=h-P[(f<<1)+s>>1]|0;if((a|0)<=0){a=f;break S}h=a<<1;a=15;f=f+1|0;if((f|0)!=15){continue}}break}f=O[l+168960|0];h=(f<<2)+c|0;f=a&255|(b-c>>>2|0)-f<<16;M[h>>1]=f;M[h+2>>1]=f>>>16;l=l+1|0;j=1<>1];a=v|q<<16;f=j;while(1){f=f-g|0;u=h+(f<<2)|0;M[u>>1]=a;M[u+2>>1]=a>>>16;if((f|0)>0){continue}break}a=P[r>>1]-1|0;M[r>>1]=a;i=i+k|0;if(a&65535){continue}break R}}while(1){if((i|0)==256){a=O[l+168960|0];f=(a<<2)+c|0;b=(j<<2)+b|0;a=(b-c>>>2|0)-a<<16|o;M[f>>1]=a;M[f+2>>1]=a>>>16;l=l+1|0;p=n+p|0;j=n;i=0}h=(O[i+168960|0]<<2)+b|0;q=P[(q<<1)+m>>1];a=v|q<<16;f=j;while(1){f=f-g|0;u=h+(f<<2)|0;M[u>>1]=a;M[u+2>>1]=a>>>16;if((f|0)>0){continue}break}a=P[r>>1]-1|0;M[r>>1]=a;i=i+k|0;if(a&65535){continue}break}}k=k>>>1|0;g=g<<1;if((o|0)!=(t|0)){continue}break}}if(d){N[d>>2]=p}break b}if(!h){break e}a=0;while(1){b=P[((a<<1)+e|0)+792>>1];a=a+1|0;f=a;T:{while(1){if((b|0)!=P[((f<<1)+e|0)+792>>1]){f=f+1|0;if(h>>>0>=f>>>0){continue}break T}break}return-5}if((a|0)!=(h|0)){continue}break}}if((h|0)==3){f=N[e+12>>2];U:{if((f|0)!=32){g=N[e+8>>2];break U}a=N[e+20>>2];if(!a){N[e+632>>2]=3;return 2}b=N[e+8>>2]>>>8|0;N[e+8>>2]=b;f=N[e+16>>2];h=O[f|0];N[e+20>>2]=a-1;N[e+16>>2]=f+1;f=24;g=b|h<<24;N[e+8>>2]=g}N[e+12>>2]=f+1;h=(g>>>f&1)+3|0;N[e+648>>2]=h}g=e+792|0;f=1;V:{W:{X:{switch(h|0){case 1:a=P[e+794>>1];b=P[e+792>>1];if(a>>>0>b>>>0){a=b<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|1;M[c+4>>1]=a;M[c+6>>1]=a>>>16;f=2;break c}a=a<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+4>>1]=a;M[c+6>>1]=a>>>16;f=2;break c;case 2:a=P[e+792>>1]<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1];b=P[e+794>>1];if(a>>>0>b>>>0){a=b<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+796>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c}a=a<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c;case 3:h=P[e+794>>1];b=P[e+792>>1];Y:{if(h>>>0>=b>>>0){a=h;h=b;break Y}M[e+792>>1]=h;M[e+794>>1]=b;a=b}g=P[e+796>>1];Z:{if(h>>>0<=g>>>0){f=g;g=h;break Z}M[e+792>>1]=g;M[e+796>>1]=h;f=h}b=P[e+798>>1];if(b>>>0>>0){break W}l=g;g=b;break V;case 4:break X;case 0:break d;default:break c}}a=P[e+798>>1];b=P[e+796>>1];if(a>>>0>>0){M[e+796>>1]=a;M[e+798>>1]=b}a=P[e+792>>1]<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1]<<16|3;M[c+12>>1]=a;M[c+14>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+16>>1]=a;M[c+18>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+20>>1]=a;M[c+22>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+24>>1]=a;M[c+26>>1]=a>>>16;a=P[e+798>>1]<<16|3;M[c+28>>1]=a;M[c+30>>1]=a>>>16;f=8;break c}M[e+792>>1]=b;M[e+798>>1]=g;l=b}_:{if(a>>>0<=f>>>0){h=f;f=a;break _}M[e+794>>1]=f;M[e+796>>1]=a;h=a}$:{if(f>>>0<=g>>>0){f=g;break $}M[e+794>>1]=g;M[e+798>>1]=f}if(f>>>0>>0){M[e+796>>1]=f;M[e+798>>1]=h}a=l<<16|2;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1]<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+798>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c}g=e+792|0}a=P[g>>1]<<16;M[c>>1]=a;M[c+2>>1]=a>>>16;f=1}while(1){a=f<<2;B(a+c|0,c,a);f=f<<1;if((f|0)!=256){continue}break}if(d){N[d>>2]=256}}N[e+632>>2]=0;f=1}return f}function ch(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;u=La-16|0;La=u;a:{if(!Dk(a+4|0,b,a)){break a}c=a+6|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}d=((d<<8|d>>>8)&65535)+a|0;N[u+12>>2]=d;if(Ck(d,b,u+12|0)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}p=a+8|0;f=N[b+4>>2];if(p>>>0>>0){break a}c=N[b+8>>2];if(c>>>0

>>0){break a}if(c-p>>>0<2){break a}h=N[b+12>>2];d=h-2|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}d=O[p|0]|O[p+1|0]<<8;c:{if(!d){break c}d:{o=((d<<8|d>>>8)&65535)+a|0;if(f>>>0>o>>>0|c>>>0>>0|c-o>>>0<2){break d}d=h-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}f=O[o|0]|O[o+1|0]<<8;if(!f){break c}h=o+2|0;if(h>>>0>c>>>0){break d}e=c-h|0;c=(f<<8|f>>>8)&65535;f=c<<1;if(e>>>0>>0){break d}d=d-f|0;N[b+12>>2]=d;if((d|0)<=0){break d}A=c>>>0<=1?1:c;while(1){q=((v<<1)+o|0)+2|0;d=N[b+4>>2];if(q>>>0>>0){break d}f=N[b+8>>2];if(f>>>0>>0|f-q>>>0<2){break d}c=N[b+12>>2];h=c-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[q|0]|O[q+1|0]<<8;e:{if(!h){break e}l=((h<<8|h>>>8)&65535)+o|0;f:{g:{if(d>>>0>l>>>0|f>>>0>>0|f-l>>>0<6){break g}h=c-8|0;N[b+12>>2]=h;if((h|0)<=0){break g}n=l+4|0;if(f>>>0>>0|f-n>>>0<2){break g}h=c-10|0;N[b+12>>2]=h;if((h|0)<=0){break g}s=O[n|0]|O[n+1|0]<<8;t=(s<<8|s>>>8)&65535;e=t<<1;if(s){c=l+6|0;if(c>>>0>f>>>0|e>>>0>f-c>>>0){break g}h=h-e|0;N[b+12>>2]=h;if((h|0)<=0){break g}}c=N[b+16>>2]+t|0;N[b+16>>2]=c;if((c|0)>16383){break g}h:{if(!(O[l+3|0]&16)){c=h;break h}c=(e+n|0)+2|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break g}c=h-2|0;N[b+12>>2]=c;if((h|0)<3){break g}}if(d>>>0>n>>>0){break g}d=O[l|0]|O[l+1|0]<<8;c=c-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}if(s){h=l+6|0;if(h>>>0>f>>>0|e>>>0>f-h>>>0){break g}c=c-e|0;N[b+12>>2]=c;if((c|0)<=0){break g}s=(d<<8|d>>>8)&65535;B=t>>>0<=1?1:t;h=0;while(1){r=((h<<1)+n|0)+2|0;if(r>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-r>>>0<2){break g}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=O[r|0]|O[r+1|0]<<8;i:{if(!c){break i}f=((c<<8|c>>>8)&65535)+l|0;c=s;d=0;m=La-16|0;La=m;j:{while(1){k:{if((c|0)!=9){d=1;l:{switch(c-1|0){case 0:if(Q[b+4>>2]>f>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}g=c-f|0;if(g>>>0<2){d=0;break j}e=N[b+12>>2];i=e-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}m:{n:{i=O[f|0]|O[f+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break m;case 0:break n;default:break j}}if(g>>>0<6){d=0;break j}d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-10|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;o:{if(!c){break o}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break o}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=O[f+4|0]|O[f+5|0]<<8;if(!c){break j}e=f+6|0;if(e>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}g=d-e|0;d=XE(c)<<1;if(g>>>0>>0){d=0;break j}g=N[b+12>>2]-d|0;N[b+12>>2]=g;d=0;if((g|0)<=0){break j}d=1;if(c>>>0<4096){break j}d=ee(c,b,f,e);break j}if(g>>>0<8){d=0;break j}d=e-10|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-12|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;p:{if(!c){break p}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break p}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;g=O[f+4|0]|O[f+5|0]<<8;j=XE(g);e=O[f+6|0]|O[f+7|0]<<8;k=(e<<8|e>>>8)&65535;d=T(j,k)<<1;if(d){if(Q[b+4>>2]>c>>>0){d=0;break j}i=N[b+8>>2];if(i>>>0>>0){d=0;break j}if(d>>>0>i-c>>>0){d=0;break j}i=N[b+12>>2]-d|0;N[b+12>>2]=i;d=0;if((i|0)<=0){break j}}if(!e){d=1;break j}d=1;if(g>>>0<4096){break j}i=0;while(1){d=ee(O[f+4|0]|O[f+5|0]<<8,b,f,c);if(!d){break j}c=(j<<1)+c|0;i=i+1|0;if((k|0)!=(i|0)){continue}break};break j;case 1:if(Q[b+4>>2]>f>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}g=c-f|0;if(g>>>0<2){d=0;break j}e=N[b+12>>2];i=e-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}q:{r:{i=O[f|0]|O[f+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break q;case 0:break r;default:break j}}if(g>>>0<10){d=0;break j}d=e-12|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}i=O[f+6|0]|O[f+7|0]<<8;j=O[f+4|0]|O[f+5|0]<<8;c=e-14|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;s:{if(!c){break s}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break s}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=f+10|0;if(d>>>0>e>>>0){d=0;break j}e=e-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(e>>>0>>0){d=0;break j}e=g-d|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break j}y=XE(j);w=(y+XE(i)|0)+1|0;C=c>>>0<=1?1:c;i=0;while(1){e=N[b+4>>2];j=((i<<1)+f|0)+10|0;if(e>>>0>j>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}if(c-j>>>0<2){d=0;break j}k=N[b+12>>2];d=k-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[j|0]|O[j+1|0]<<8;t:{if(!d){break t}u:{g=((d<<8|d>>>8)&65535)+f|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<2){break u}d=k-4|0;N[b+12>>2]=d;if((d|0)<=0){break u}k=O[g|0]|O[g+1|0]<<8;if(!k){break t}e=g+2|0;if(e>>>0>c>>>0){break u}x=(k<<8|k>>>8)&65535;z=T(x,w)<<1;if(z>>>0>c-e>>>0){break u}c=d-z|0;N[b+12>>2]=c;if((c|0)<=0){break u}c=g+4|0;v:{if(!k){break v}e=0;d=c;if((O[f+4|0]|O[f+5|0]<<8)>>>0<4096){break v}while(1){if(!ee(O[f+4|0]|O[f+5|0]<<8,b,g,d)){break u}d=(w<<1)+d|0;e=e+1|0;if((x|0)!=(e|0)){continue}break}}if(!k|(O[f+6|0]|O[f+7|0]<<8)>>>0<4096){break t}d=c+(y<<1)|0;e=0;while(1){if(!ee(O[f+6|0]|O[f+7|0]<<8,b,g,d)){break u}d=(w<<1)+d|0;e=e+1|0;if((x|0)!=(e|0)){continue}break}break t}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[j|0]=0;L[j+1|0]=0}d=1;i=i+1|0;if((C|0)!=(i|0)){continue}break}break j}if(g>>>0<16){d=0;break j}d=e-18|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-20|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;w:{if(!c){break w}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break w}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;x:{if(!d){break x}if(sd(((d<<8|d>>>8)&65535)+f|0,b)){break x}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=f+10|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;y:{if(!d){break y}if(sd(((d<<8|d>>>8)&65535)+f|0,b)){break y}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=O[f+14|0]|O[f+15|0]<<8;d=(c<<8|c>>>8)&65535;c=O[f+12|0]|O[f+13|0]<<8;g=T(d,(c<<8|c>>>8)&65535);i=XE(O[f+4|0]|O[f+5|0]<<8);j=XE(O[f+6|0]|O[f+7|0]<<8)+i|0;c=TE(g,0,j<<1,0);if(Pa){d=0;break j}e=f+16|0;if(c){if(e>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(c>>>0>d-e>>>0){d=0;break j}c=N[b+12>>2]-c|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}}if(!(!g|(O[f+4|0]|O[f+5|0]<<8)>>>0<4096)){d=0;c=e;while(1){if(!ee(O[f+4|0]|O[f+5|0]<<8,b,f,c)){d=0;break j}c=(j<<1)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=1;if(!g|(O[f+6|0]|O[f+7|0]<<8)>>>0<4096){break j}c=e+(i<<1)|0;e=0;while(1){d=ee(O[f+6|0]|O[f+7|0]<<8,b,f,c);if(!d){break j}c=(j<<1)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break};break j;case 2:c=N[b+4>>2];if(c>>>0>f>>>0){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-f>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[f|0]|O[f+1|0]<<8)!=256){break j}d=c;c=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>e>>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;z:{if(!d){break z}if(Lb(((d<<8|d>>>8)&65535)+f|0,b)){break z}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=f+6|0;if(d>>>0>e>>>0){d=0;break j}e=e-d|0;c=(c<<8|c>>>8)&65535;d=c<<2;if(e>>>0>>0){d=0;break j}e=g-d|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break j}e=c>>>0<=1?1:c;c=0;while(1){d=(c<<2)+f|0;if(!Hf(d+6|0,b,f)){d=0;break j}if(Hf(d+8|0,b,f)){d=1;c=c+1|0;if((e|0)==(c|0)){break j}continue}break};d=0;break j;case 3:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;A:{if(!e){break A}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break A}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;B:{if(!e){break B}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break B}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;C:{if(!e){break C}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Yg(e,b,m+12|0)){break C}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;d=Xg(f+10|0,b,f,m+8|0);break j;case 4:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;D:{if(!e){break D}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break D}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;E:{if(!e){break E}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break E}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;F:{if(!e){break F}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Yg(e,b,m+12|0)){break F}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;i=N[b+4>>2];e=f+10|0;d=0;G:{if(i>>>0>e>>>0){break G}g=N[b+8>>2];d=0;if(g>>>0>>0){break G}d=0;if(g-e>>>0<2){break G}j=N[b+12>>2];k=j-2|0;N[b+12>>2]=k;c=1;d=0;if((k|0)<=0){break G}k=m+8|0;d=O[e|0]|O[e+1|0]<<8;H:{if(!d){break H}I:{f=((d<<8|d>>>8)&65535)+f|0;if(f>>>0>>0|f>>>0>g>>>0|g-f>>>0<2){break I}d=j-4|0;N[b+12>>2]=d;if((d|0)<=0){break I}i=O[f|0]|O[f+1|0]<<8;if(!i){break H}c=f+2|0;if(c>>>0>g>>>0){break I}j=g-c|0;c=(i<<8|i>>>8)&65535;g=c<<1;if(j>>>0>>0){break I}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break I}g=c>>>0<=1?1:c;d=0;while(1){if(!Xg((f+(d<<1)|0)+2|0,b,f,k)){break I}c=1;d=d+1|0;if((g|0)!=(d|0)){continue}break}break H}c=N[b+28>>2];d=0;if(c>>>0>31){break G}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break H}L[e|0]=0;L[e+1|0]=0;c=1}d=c}break j;case 5:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;J:{if(!e){break J}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break J}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;K:{if(!e){break K}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break K}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;L:{if(!e){break L}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Yg(e,b,m+12|0)){break L}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;d=Xg(f+10|0,b,f,m+8|0);break j;case 6:d=0;if(Q[b+4>>2]>f>>>0){break j}c=N[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break j}d=1;M:{N:{c=O[f|0]|O[f+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break M;case 1:break N;case 0:break k;default:break j}}d=yk(f,b);break j}d=xk(f,b);break j;case 7:break l;default:break j}}d=wk(f,b);break j}if(Q[b+4>>2]>f>>>0){break j}c=N[b+8>>2];if(c>>>0>>0){break j}c=c-f|0;if(c>>>0<2){break j}e=N[b+12>>2];g=e-2|0;N[b+12>>2]=g;if((g|0)<=0){break j}if((O[f|0]|O[f+1|0]<<8)!=256){d=1;break j}if(c>>>0<8){break j}c=e-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}e=O[f+2|0]|O[f+3|0]<<8;if((e|0)==2304){break j}c=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if(c){f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+f|0}else{f=275552}c=(e<<8|(e&65280)>>>8)&65535;continue}break}d=vk(f,b)}La=m+16|0;if(d){break i}c=N[b+28>>2];if(c>>>0>31){break d}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break f}L[r|0]=0;L[r+1|0]=0}h=h+1|0;if((B|0)!=(h|0)){continue}break}d=O[l|0]|O[l+1|0]<<8}if(N[b+28>>2]|(d&65535)!=2304){break e}d=275552;e=0;c=O[n|0]|O[n+1|0]<<8?l+6|0:275552;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+l|0}if((O[d|0]|O[d+1|0]<<8)==256){c=O[d+2|0]|O[d+3|0]<<8;e=(c<<8|c>>>8)&65535}d=1;if(t>>>0<2){break e}while(1){h=275552;c=O[n|0]|O[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=d>>>0?275552:((d<<1)+n|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){h=((c<<8|c>>>8)&65535)+l|0}c=0;if((O[h|0]|O[h+1|0]<<8)==256){c=O[h+2|0]|O[h+3|0]<<8;c=(c<<8|c>>>8)&65535}if((c|0)==(e|0)){d=d+1|0;if((t|0)!=(d|0)){continue}}break}if((c|0)==(e|0)){break e}}c=N[b+28>>2]}if(c>>>0>31){break d}N[b+28>>2]=c+1;if(!O[b+24|0]){break d}L[q|0]=0;L[q+1|0]=0}v=v+1|0;if((A|0)!=(v|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){h=0;break a}N[b+28>>2]=c+1;if(!O[b+24|0]){h=0;break a}L[p|0]=0;L[p+1|0]=0}h=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65537){break a}c=a+10|0;if(c>>>0>2]){h=0;break a}d=N[b+8>>2];if(d>>>0>>0){h=0;break a}if(d-c>>>0<4){h=0;break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!d){break a}if(d&128){h=0;break a}if(Bk((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+a|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){h=0;break a}N[b+28>>2]=a+1;h=0;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;h=1}La=u+16|0;return h}function cp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,M=0,P=0,Q=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,Ma=0;j=La+-64|0;La=j;a:{if(!b){f=6;break a}w=N[b>>2];if(!w){f=6;break a}h=N[b+4>>2];if(h){while(1){e=N[h+8>>2];N[j+48>>2]=0;if(e){while(1){f=6;b:{c:{switch(N[e+32>>2]-1|0){case 0:g=Qa[N[w+4>>2]](w,40)|0;if(!g){f=64;break a}N[g>>2]=0;N[g+4>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;v=N[e+4>>2];N[g>>2]=N[e>>2];N[g+4>>2]=v;v=N[e+12>>2];N[g+8>>2]=N[e+8>>2];N[g+12>>2]=v;v=N[e+20>>2];N[g+16>>2]=N[e+16>>2];N[g+20>>2]=v;v=N[e+28>>2];N[g+24>>2]=N[e+24>>2];N[g+28>>2]=v;N[g+32>>2]=N[e+32>>2];N[g+36>>2]=N[j+48>>2];N[j+48>>2]=g;break b;case 1:g=N[e+4>>2];N[j>>2]=N[e>>2];N[j+4>>2]=g;g=N[e+20>>2];N[j+8>>2]=N[e+16>>2];N[j+12>>2]=g;g=N[e+12>>2];N[j+16>>2]=N[e+8>>2];N[j+20>>2]=g;Qi(w,j,32,j+48|0);break b;case 2:break c;default:break a}}g=N[e+4>>2];N[j>>2]=N[e>>2];N[j+4>>2]=g;g=N[e+20>>2];N[j+8>>2]=N[e+16>>2];N[j+12>>2]=g;g=N[e+28>>2];N[j+16>>2]=N[e+24>>2];N[j+20>>2]=g;g=N[e+12>>2];N[j+24>>2]=N[e+8>>2];N[j+28>>2]=g;Pi(w,j,32,j+48|0)}e=N[e+36>>2];if(e){continue}break}}g=Qa[N[w+4>>2]](w,16)|0;if(!g){f=64;break a}N[g+12>>2]=i;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=N[j+48>>2];N[j+48>>2]=0;v=N[h+12>>2];e=N[h+8>>2];if(e){while(1){i=N[e+36>>2];Qa[N[w+8>>2]](w,e);e=i;if(e){continue}break}}Qa[N[w+8>>2]](w,h);i=g;h=v;if(h){continue}break}}N[b+4>>2]=g;if(!d){f=6;break a}if(c-33>>>0<4294967265){f=6;break a}fa=N[b>>2];if(!fa){f=6;break a}pa=N[a+8>>2];e=O[a+5|0];xa=O[a+4|0];h=N[a>>2];C=N[d+4>>2];J=N[d>>2];a=T(T(C,J),12);d:{if((a|0)<=0){f=6;if(!a){break d}break a}X=Qa[N[fa+4>>2]](fa,a)|0;if(!X){f=64;break a}G(X,0,a);J=N[d>>2];C=N[d+4>>2]}f=19;e:{f:{if(!C|!J){break f}v=c<<16;qa=N[d+12>>2];ga=N[b+4>>2];if(ga){w=e;ya=(h|0)==1;while(1){l=N[ga+8>>2];if(l){while(1){Y=O[l+12|0]|O[l+13|0]<<8|(O[l+14|0]<<16|O[l+15|0]<<24);k=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);a=O[l+20|0]|O[l+21|0]<<8|(O[l+22|0]<<16|O[l+23|0]<<24);b=a;g=O[l+16|0]|O[l+17|0]<<8|(O[l+18|0]<<16|O[l+19|0]<<24);i=g;e=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);d=e;f=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);h=f;g:{switch((O[l+32|0]|O[l+33|0]<<8|(O[l+34|0]<<16|O[l+35|0]<<24))-1|0){case 2:d=O[l+28|0]|O[l+29|0]<<8|(O[l+30|0]<<16|O[l+31|0]<<24);b=(a|0)<(d|0)?a:d;h=O[l+24|0]|O[l+25|0]<<8|(O[l+26|0]<<16|O[l+27|0]<<24);i=(g|0)<(h|0)?g:h;a=(a|0)>(d|0)?a:d;g=(g|0)>(h|0)?g:h;case 1:d=(b|0)>(e|0)?e:b;h=(f|0)<(i|0)?f:i;e=(a|0)<(e|0)?e:a;f=(g|0)<(f|0)?f:g;case 0:za=(e|0)<(Y|0)?Y:e;Aa=(d|0)>(Y|0)?Y:d;Ba=(f|0)<(k|0)?k:f;Ca=(h|0)>(k|0)?k:h;break;default:break g}}a=(Ba+63|0)/64|0;b=(Ca-63|0)/64|0;F=((Aa-63|0)/64|0)-c|0;ra=((za+63|0)/64|0)+c|0;h:{if((F|0)>=(ra|0)){break h}sa=a+c|0;Y=b-c|0;if((sa|0)<=(Y|0)){break h}while(1){if((J|0)>(F|0)&(F|0)>=0){ha=F<<6|32;ta=ha<<10;Da=T(w?F:(F^-1)+J|0,C);a=Y;while(1){i:{if((a|0)<0|(a|0)>=(C|0)){break i}f=6;$=a<<6|32;j:{k:{switch(N[l+32>>2]-1|0){case 2:b=N[l+20>>2];K=N[l+4>>2];h=b-K|0;M=T(h,3);d=M>>31;Z=(d^M)-d|0;oa=Z>>>16|0;ia=Z&65535;d=N[l+16>>2];P=N[l>>2];g=d-P|0;_=T(g,3);e=_>>31;Q=(e^_)-e|0;aa=Q>>>16|0;ma=Q&65535;i=N[l+28>>2];ba=i+(K-(b<<1)|0)|0;f=T(ba,3);e=f>>31;x=(e^f)-e|0;ca=x>>>16|0;B=x&65535;e=N[l+12>>2]+(T(b-i|0,3)-K|0)|0;b=e>>31;n=(b^e)-b|0;o=n>>>16|0;s=n&65535;i=N[l+24>>2];da=i+(P-(d<<1)|0)|0;f=T(da,3);e=f>>31;z=(e^f)-e|0;D=z>>>16|0;E=z&65535;e=N[l+8>>2]+(T(d-i|0,3)-P|0)|0;d=e>>31;p=(d^e)-d|0;R=p>>>16|0;t=p&65535;ea=0;S=h>>31|1;ja=0-S|0;ua=g>>31|1;Ea=0-ua|0;Fa=T(ba,6);Ga=T(da,6);va=ba>>31|1;Ha=0-va|0;H=b|1;U=0-H|0;wa=da>>31|1;Ia=0-wa|0;V=d|1;W=0-V|0;d=2147483647;h=0;g=0;while(1){e=ea<<14;ka=0;while(1){b=e>>31;f=(b^e)-b|0;u=f>>>8|0;if(f+u>>>0<=8190){m=T(e,e)+32768>>>16|0}else{b=f&65535;m=T(b+f|0,f>>>16|0)+(T(b,b)+32768>>>16|0)|0}i=m;b=e>>31|1;q=(e|0)<0;b=((q?0-b|0:b)|0)<0?0-i|0:i;i=i>>31;k=(m^i)-i|0;l:{if(k+u>>>0<=8190){r=T(f,k)+32768>>>16|0;break l}i=k&65535;r=T(i,f>>>16|0)+T(f,k>>>16|0)+(T(i,f&65535)+32768>>>16)|0}i=r;m=b>>31|1;y=((q?0-m|0:m)|0)<0?0-i|0:i;i=i>>31;i=(r^i)-i|0;I=i>>>8|0;m:{if(I+p>>>0<=8190){m=T(i,p)+32768>>>16|0;break m}m=T(t,i>>>16|0)+T(i,R)+(T(t,i&65535)+32768>>>16)|0}la=(y|0)<0;A=(((la?W:V)|0)<0?0-m|0:m)+P|0;na=k>>>8|0;m=z+na>>>0<=8190?T(k,z)+32768>>>16|0:T(E,k>>>16|0)+T(k,D)+(T(E,k&65535)+32768>>>16)|0;Ja=0-m|0;r=m;m=(b|0)<0;y=u+Q>>>0<=8190?T(f,Q)+32768>>>16|0:T(ma,f>>>16|0)+T(f,aa)+(T(ma,f&65535)+32768>>>16)|0;A=(A+(((m?Ia:wa)|0)<0?Ja:r)|0)+(((q?Ea:ua)|0)<0?0-y|0:y)|0;y=A-$|0;N[j>>2]=y<<10;i=n+I>>>0<=8190?T(i,n)+32768>>>16|0:T(s,i>>>16|0)+T(i,o)+(T(s,i&65535)+32768>>>16)|0;r=(((la?U:H)|0)<0?0-i|0:i)+K|0;i=x+na>>>0<=8190?T(k,x)+32768>>>16|0:T(B,k>>>16|0)+T(k,ca)+(T(B,k&65535)+32768>>>16)|0;r=r+(((m?Ha:va)|0)<0?0-i|0:i)|0;i=u+Z>>>0<=8190?T(f,Z)+32768>>>16|0:T(ia,f>>>16|0)+T(f,oa)+(T(ia,f&65535)+32768>>>16)|0;k=r+(((q?ja:S)|0)<0?0-i|0:i)|0;i=k-ha|0;N[j+4>>2]=i<<10;f=kc(j);if((f|0)<(d|0)){Ka=A<<10;Ma=k<<10;g=b;h=e;d=f}f=T(b,3);b=f>>31;k=(b^f)-b|0;A=k>>>8|0;n:{if(A+p>>>0<=8190){b=T(k,p)+32768>>>16|0;break n}b=T(t,k>>>16|0)+T(k,R)+(T(t,k&65535)+32768>>>16)|0}I=m?W:V;u=e<<1;la=e>>>7|0;f=la+z>>>0<=8190?T(u,z)+32768>>>16|0:T(E,e>>>15|0)+T(u,D)+(T(E,u&65534)+32768>>>16)|0;na=0-b|0;I=(I|0)<0;k=n+A>>>0<=8190?T(k,n)+32768>>>16|0:T(s,k>>>16|0)+T(k,o)+(T(s,k&65535)+32768>>>16)|0;A=(da|0)<0;b=(_+(I?na:b)|0)+(A?0-f|0:f)|0;N[j>>2]=y;N[j+4>>2]=i;m=(((m?U:H)|0)<0?0-k|0:k)+M|0;f=x+la>>>0<=8190?T(u,x)+32768>>>16|0:T(B,e>>>15|0)+T(u,ca)+(T(B,u&65534)+32768>>>16)|0;k=(ba|0)<0;f=m+(k?0-f|0:f)|0;m=((T(f,i)|0)/64|0)+((T(b,y)|0)/64|0)|0;r=(T(f,f)>>>6)+(T(b,b)>>>6)|0;f=T(e,6);b=f>>31;b=(b^f)-b|0;I=b>>>8|0;o:{if(I+p>>>0<=8190){f=T(b,p)+32768>>>16|0;break o}f=T(t,b>>>16|0)+T(b,R)+(T(t,b&65534)+32768>>>16)|0}b=n+I>>>0<=8190?T(b,n)+32768>>>16|0:T(s,b>>>16|0)+T(b,o)+(T(s,b&65534)+32768>>>16)|0;e=e-fb(m,(r+((T(y,(((q?W:V)|0)<0?0-f|0:f)+Ga|0)|0)/64|0)|0)+((T((((q?U:H)|0)<0?0-b|0:b)+Fa|0,i)|0)/64|0)|0)|0;if(e>>>0<=65536){b=ka&65535;ka=ka+1|0;if(b>>>0<3){continue}}break}ea=ea+1|0;if((ea|0)!=5){continue}break};e=h<<1;i=T(g,3);b=i>>31;b=(b^i)-b|0;f=b>>>8|0;p:{if(f+p>>>0<=8190){m=T(b,p)+32768>>>16|0;break p}m=T(t,b>>>16|0)+T(b,R)+(T(t,b&65535)+32768>>>16)|0}i=m;y=0-i|0;i=(g|0)<0;t=h>>>7|0;g=t+z>>>0<=8190?T(e,z)+32768>>>16|0:T(E,h>>>15|0)+T(e,D)+(T(E,e&65534)+32768>>>16)|0;g=(_+(((i?W:V)|0)<0?y:m)|0)+(A?0-g|0:g)|0;N[j+48>>2]=g;b=f+n>>>0<=8190?T(b,n)+32768>>>16|0:T(s,b>>>16|0)+T(b,o)+(T(s,b&65535)+32768>>>16)|0;i=M+(((i?U:H)|0)<0?0-b|0:b)|0;b=t+x>>>0<=8190?T(e,x)+32768>>>16|0:T(B,h>>>15|0)+T(e,ca)+(T(B,e&65534)+32768>>>16)|0;e=i+(k?0-b|0:b)|0;N[j+52>>2]=e;i=Ka-($<<10)|0;f=i>>31;f=(f^i)-f|0;b=e>>31;b=(b^e)-b|0;q:{if(f+(b>>>8|0)>>>0<=8190){f=T(b,f)+32768>>>16|0;break q}k=f&65535;f=T(k,b>>>16|0)+T(b,f>>>16|0)+(T(k,b&65535)+32768>>>16)|0}b=f;m=0-b|0;b=i>>31|1;m=(((e|0)<0?0-b|0:b)|0)<0?m:f;e=Ma-ta|0;f=e>>31;f=(e^f)-f|0;b=g>>31;b=(b^g)-b|0;r:{if(f+(b>>>8|0)>>>0<=8190){f=T(b,f)+32768>>>16|0;break r}n=f&65535;f=T(n,b>>>16|0)+T(b,f>>>16|0)+(T(n,b&65535)+32768>>>16)|0}b=f;o=0-b|0;b=e>>31|1;k=(m|0)<(((((g|0)<0?0-b|0:b)|0)<0?o:f)|0);f=65536;if(!(h&-65537)){N[j+4>>2]=e;N[j>>2]=i;Bc(j+48|0);Bc(j);h=N[j+48>>2];e=h>>31;g=N[j+4>>2];b=g>>31;e=(e^h)-e|0;b=(b^g)-b|0;s:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break s}i=e&65535;e=T(i,b>>>16|0)+T(b,e>>>16|0)+(T(i,b&65535)+32768>>>16)|0}b=e;i=0-b|0;b=h>>31|1;i=(((g|0)<0?0-b|0:b)|0)<0?i:e;h=N[j+52>>2];e=h>>31;g=N[j>>2];b=g>>31;e=(e^h)-e|0;b=(b^g)-b|0;t:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break t}f=e&65535;e=T(f,b>>>16|0)+T(b,e>>>16|0)+(T(f,b&65535)+32768>>>16)|0}b=e;f=0-b|0;b=h>>31|1;f=i+((((g|0)<0?0-b|0:b)|0)<0?e:f)|0}b=k?1:-1;break j;case 1:d=N[l+20>>2];R=N[l+4>>2];H=d-R|0;U=H<<1;b=U>>31;s=(b^U)-b|0;ea=s>>>16|0;V=s&65534;e=N[l+16>>2];W=N[l>>2];K=e-W|0;M=K<<1;b=M>>31;t=(b^M)-b|0;ka=t>>>16|0;Z=t&65534;x=N[l+12>>2]+(R-(d<<1)|0)|0;d=x>>31;b=d;f=(b^x)-b|0;z=f>>>16|0;n=f&65535;B=N[l+8>>2]+(W-(e<<1)|0)|0;b=B>>31;k=(b^B)-b|0;E=k>>>16|0;p=k&65535;u=0;m=H>>31|1;y=0-m|0;ia=K>>31|1;ma=0-ia|0;A=x<<1;oa=B<<1;P=d|1;_=0-P|0;Q=b|1;ca=0-Q|0;d=2147483647;i=0;while(1){e=u<<14;b=0;while(1){h=e>>31;g=(h^e)-h|0;q=g>>>8|0;if(g+q>>>0<=8190){r=T(e,e)+32768>>>16|0}else{h=g&65535;r=T(h+g|0,g>>>16|0)+(T(h,h)+32768>>>16|0)|0}h=r;o=e>>31|1;D=(e|0)<0;aa=((D?0-o|0:o)|0)<0?0-h|0:h;h=h>>31;h=(r^h)-h|0;S=h>>>8|0;u:{if(S+k>>>0<=8190){o=T(h,k)+32768>>>16|0;break u}o=T(p,h>>>16|0)+T(h,E)+(T(p,h&65535)+32768>>>16)|0}aa=(aa|0)<0;ja=((aa?ca:Q)|0)<0?0-o|0:o;o=q+t>>>0<=8190?T(g,t)+32768>>>16|0:T(Z,g>>>16|0)+T(g,ka)+(T(Z,g&65535)+32768>>>16)|0;o=((D?ma:ia)|0)<0?0-o|0:o;ja=W+ja|0;h=f+S>>>0<=8190?T(f,h)+32768>>>16|0:T(n,h>>>16|0)+T(h,z)+(T(n,h&65535)+32768>>>16)|0;S=o+ja|0;o=S-$|0;N[j>>2]=o<<10;r=R+(((aa?_:P)|0)<0?0-h|0:h)|0;h=q+s>>>0<=8190?T(g,s)+32768>>>16|0:T(V,g>>>16|0)+T(g,ea)+(T(V,g&65535)+32768>>>16)|0;q=r+(((D?y:m)|0)<0?0-h|0:h)|0;h=q-ha|0;N[j+4>>2]=h<<10;g=kc(j);if((g|0)<(d|0)){da=S<<10;ba=q<<10;i=e;d=g}g=e<<1;D=e>>>7|0;q=D+k>>>0<=8190?T(g,k)+32768>>>16|0:T(p,e>>>15|0)+T(g,E)+(T(p,g&65534)+32768>>>16)|0;q=M+((B|0)<0?0-q|0:q)|0;N[j+4>>2]=h;N[j>>2]=o;r=e;g=f+D>>>0<=8190?T(g,f)+32768>>>16|0:T(n,e>>>15|0)+T(g,z)+(T(n,g&65534)+32768>>>16)|0;e=U+((x|0)<0?0-g|0:g)|0;e=r-fb(((T(e,h)|0)/64|0)+((T(q,o)|0)/64|0)|0,(((T(e,e)>>>6)+(T(q,q)>>>6)|0)+((T(o,oa)|0)/64|0)|0)+((T(h,A)|0)/64|0)|0)|0;if(e>>>0<=65536){h=b&65535;b=b+1|0;if(h>>>0<3){continue}}break}u=u+1|0;if((u|0)!=5){continue}break};b=i>>31;b=(b^i)-b|0;h=b>>>8|0;v:{if(h+k>>>0<=8190){e=T(b,k)+32768>>>16|0;break v}e=T(p,b>>>16|0)+T(b,E)+(T(p,b&65535)+32768>>>16)|0}g=(i|0)<0;e=K+(((g?ca:Q)|0)<0?0-e|0:e)<<1;N[j+48>>2]=e;b=f+h>>>0<=8190?T(b,f)+32768>>>16|0:T(n,b>>>16|0)+T(b,z)+(T(n,b&65535)+32768>>>16)|0;h=H+(((g?_:P)|0)<0?0-b|0:b)<<1;N[j+52>>2]=h;g=da-($<<10)|0;f=g>>31;f=(g^f)-f|0;b=h>>31;b=(b^h)-b|0;w:{if(f+(b>>>8|0)>>>0<=8190){f=T(b,f)+32768>>>16|0;break w}k=f&65535;f=T(k,b>>>16|0)+T(b,f>>>16|0)+(T(k,b&65534)+32768>>>16)|0}b=f;m=0-b|0;b=g>>31|1;m=(((h|0)<0?0-b|0:b)|0)<0?m:f;h=ba-ta|0;f=h>>31;f=(f^h)-f|0;b=e>>31;b=(b^e)-b|0;x:{if(f+(b>>>8|0)>>>0<=8190){f=T(b,f)+32768>>>16|0;break x}n=f&65535;f=T(n,b>>>16|0)+T(b,f>>>16|0)+(T(n,b&65534)+32768>>>16)|0}b=f;o=0-b|0;b=h>>31|1;k=(m|0)<(((((e|0)<0?0-b|0:b)|0)<0?o:f)|0);f=65536;if(!(i&-65537)){N[j+4>>2]=h;N[j>>2]=g;Bc(j+48|0);Bc(j);h=N[j+48>>2];e=h>>31;g=N[j+4>>2];b=g>>31;e=(e^h)-e|0;b=(b^g)-b|0;y:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break y}i=e&65535;e=T(i,b>>>16|0)+T(b,e>>>16|0)+(T(i,b&65535)+32768>>>16)|0}b=e;i=0-b|0;b=h>>31|1;i=(((g|0)<0?0-b|0:b)|0)<0?i:e;h=N[j+52>>2];e=h>>31;g=N[j>>2];b=g>>31;e=(e^h)-e|0;b=(b^g)-b|0;z:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break z}f=e&65535;e=T(f,b>>>16|0)+T(b,e>>>16|0)+(T(f,b&65535)+32768>>>16)|0}b=e;f=0-b|0;b=h>>31|1;f=i+((((g|0)<0?0-b|0:b)|0)<0?e:f)|0}b=k?1:-1;break j;case 0:break k;default:break f}}b=N[l+8>>2];h=N[l>>2];i=N[l+4>>2];d=N[l+12>>2]-i|0;N[j+4>>2]=d;e=b-h|0;N[j>>2]=e;k=e<<10;g=k>>31;f=fb(((T(d,ha-i|0)|0)/64|0)+((T(e,$-h|0)|0)/64|0)|0,(T(d,d)>>>6)+(T(e,e)>>>6)|0);b=(f|0)>=65536?65536:f;b=(b|0)>0?b:0;n=b>>>8|0;g=(g^k)-g|0;A:{if((n|g)>>>0<=8190){g=T(b,g)+32768>>>16|0;break A}k=g&64512;g=T(k,b>>>16|0)+T(b,g>>>16|0)+(T(k,b&65535)+32768>>>16)|0}k=(e|0)<0;p=k?0-g|0:g;i=i-ha<<10;s=d<<10;g=s>>31;g=(g^s)-g|0;B:{if(g+n>>>0<=8190){g=T(b,g)+32768>>>16|0;break B}n=g&64512;g=T(n,b>>>16|0)+T(b,g>>>16|0)+(T(n,b&65535)+32768>>>16)|0}n=(d|0)<0;g=i+(n?0-g|0:g)|0;N[j+52>>2]=g;h=p+(h-$<<10)|0;N[j+48>>2]=h;i=h>>31;i=(i^h)-i|0;m=d;d=d>>31;d=(m^d)-d|0;C:{if(i+(d>>>8|0)>>>0<=8190){i=T(d,i)+32768>>>16|0;break C}p=i&65535;i=T(p,d>>>16|0)+T(d,i>>>16|0)+(T(p,d&65535)+32768>>>16)|0}d=i;m=0-d|0;d=h>>31|1;h=((n?0-d|0:d)|0)<0?m:i;d=e>>31;d=(d^e)-d|0;e=g>>31;e=(e^g)-e|0;D:{if((d>>>8|0)+e>>>0<=8190){e=T(d,e)+32768>>>16|0;break D}i=e&65535;e=T(i,d>>>16|0)+T(d,e>>>16|0)+(T(i,d&65535)+32768>>>16)|0}d=e;i=0-d|0;d=g>>31|1;i=(h|0)<((((k?0-d|0:d)|0)<0?i:e)|0);d=kc(j+48|0);E:{if((f|0)>0){f=65536;if((b|0)!=65536){break E}}Bc(j);Bc(j+48|0);h=N[j>>2];e=h>>31;g=N[j+52>>2];b=g>>31;e=(e^h)-e|0;b=(b^g)-b|0;F:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break F}f=e&65535;e=T(f,b>>>16|0)+T(b,e>>>16|0)+(T(f,b&65535)+32768>>>16)|0}b=e;f=0-b|0;b=h>>31|1;f=(((g|0)<0?0-b|0:b)|0)<0?f:e;h=N[j+4>>2];e=h>>31;g=N[j+48>>2];b=g>>31;e=(e^h)-e|0;b=(b^g)-b|0;G:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break G}k=e&65535;e=T(k,b>>>16|0)+T(b,e>>>16|0)+(T(k,b&65535)+32768>>>16)|0}b=e;m=0-b|0;b=h>>31|1;f=f+((((g|0)<0?0-b|0:b)|0)<0?e:m)|0}b=i?1:-1}if((d|0)>(v|0)){break i}e=ya?0-b|0:b;b=T(a+Da|0,12)+X|0;if(O[b+8|0]){h=N[b>>2];if((h|0)<=(d|0)){if((d-h|0)>31){break i}L[j+8|0]=e;N[j>>2]=d;N[j+4>>2]=f;L[j+11|0]=0;L[j+9|0]=0;L[j+10|0]=0;N[j+56>>2]=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);d=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);N[j+48>>2]=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);N[j+52>>2]=d;e=N[j+52>>2];d=e>>31;e=(d^e)-d|0;d=f>>31;d=e>>>0>(d^f)-d>>>0?j+48|0:j;h=N[d+8>>2];N[j+40>>2]=h;e=N[d+4>>2];d=N[d>>2];N[j+32>>2]=d;N[j+36>>2]=e;N[b+8>>2]=h;N[b>>2]=d;N[b+4>>2]=e;break i}L[b+9|0]=0;L[b+10|0]=0;L[b+8|0]=e;N[b+4>>2]=f;N[b>>2]=d;L[b+11|0]=0;break i}L[b+9|0]=0;L[b+10|0]=0;L[b+8|0]=e;N[b+4>>2]=f;N[b>>2]=d;L[b+11|0]=0}a=a+1|0;if((sa|0)>(a|0)){continue}break}}F=F+1|0;if((ra|0)>(F|0)){continue}break}}l=N[l+36>>2];if(l){continue}break}}ga=N[ga+12>>2];if(ga){continue}break}}f=0;if((J|0)<=0|(C|0)<=0){break f}b=pa?pa>>31|1:-1;h=0;if(!xa){while(1){g=T(h,C);a=b;f=0;while(1){e=v;i=g+f|0;d=T(i,12)+X|0;c=O[d+8|0];if(c){a=N[d>>2];e=(a|0)<(e|0)?a:e;a=c}c=T(a<<24>>24,e);N[d>>2]=c;c=fb(c,v);d=c>>31;d=(c^d)-d|0;e=d>>>9|0;d=(c|0)>0?d>>>0>65535?127:e:e;c=(c|0)<0;L[i+qa|0]=(c?0-(c?d>>>0>128?128:d:d)|0:d)^128;f=f+1|0;if((C|0)!=(f|0)){continue}break}h=h+1|0;if((J|0)!=(h|0)){continue}break}f=0;break e}while(1){g=T(h,C);a=b;f=0;while(1){e=v;i=g+f|0;d=T(i,12)+X|0;c=O[d+8|0];if(c){a=N[d>>2];e=(a|0)<(e|0)?a:e;a=c}c=0-T(a<<24>>24,e)|0;N[d>>2]=c;c=fb(c,v);d=c>>31;d=(c^d)-d|0;e=d>>>9|0;d=(c|0)>0?d>>>0>65535?127:e:e;c=(c|0)<0;L[i+qa|0]=(c?0-(c?d>>>0>128?128:d:d)|0:d)^128;f=f+1|0;if((C|0)!=(f|0)){continue}break}h=h+1|0;if((J|0)!=(h|0)){continue}break}f=0;break e}if(!X){break a}}Qa[N[fa+8>>2]](fa,X)}La=j- -64|0;return f}function bq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=La-8288|0;La=f;N[a>>2]=0;N[a+4>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;L[a+40|0]=0;N[a+36>>2]=65536;N[a+8>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;L[a+24|0]=0;G(a+44|0,0,88);c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[a+40|0]=1;N[a+36>>2]=c;c=N[b+12>>2];a:{if(c){b=Qa[c|0](b,1128678962,N[b+16>>2])|0;if(b){break a}}b=275552}b:{c=N[b>>2];if(c){if((c|0)<=0){break b}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;h=N[b+12>>2];N[a+4>>2]=h;d=N[b+16>>2];N[a+8>>2]=d+h;if((d|0)>=0){c:{N[a+28>>2]=0;if(d>>>0>67108863){c=1073741823}else{c=d<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;d:{if(!h){ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break d}e:{if(d>>>0>=5){N[a+12>>2]=c-5;c=O[h|0];ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if((c|0)!=2){break e}if(!N[b+4>>2]){break d}N[b+4>>2]=0;break d}ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}ab(b);b=275552}N[a+44>>2]=b;f:{c=N[b>>2];if(c){if((c|0)<=0){break f}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;c=N[b+16>>2];e=c+d|0;N[a+8>>2]=e;if((c|0)>=0){N[a+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;g:{h:{if(Q[b+16>>2]<5){break h}l=N[b+12>>2];if((l|0)==275552){break h}g=O[l+3|0]|O[l+4|0]<<8;h=(g<<8|g>>>8)&65535;b=O[l+2|0]+l|0;if(g){if(b>>>0>>0|b>>>0>e>>>0|e-b>>>0>>0){break h}c=c-h|0;N[a+12>>2]=c;if((c|0)<=0){break h}}n=a+116|0;s=a+104|0;L[f+24|0]=0;G(f+28|0,0,4108);N[f+12>>2]=h;N[f+8>>2]=b;N[a+72>>2]=0;N[a+76>>2]=0;N[a+64>>2]=0;N[a+68>>2]=0;N[a+56>>2]=0;N[a+60>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;e=f+24|0;c=0;d=0;while(1){i:{j:{k:{b=d+1|0;if(b>>>0<=h>>>0){g=N[f+8>>2];i=O[g+d|0];N[f+16>>2]=b;l:{if((i|0)!=12){d=b;break l}d=d+2|0;if(h>>>0>>0){i=65535;break k}b=O[b+g|0];N[f+16>>2]=d;i=b|256}m:{n:{o:{p:{q:{switch(i-17|0){default:r:{switch(i-292|0){case 0:break n;case 1:break p;default:break r}}if((i|0)!=263){break k}s:{t:{u:{j=N[a+52>>2];if((j|0)>=0){b=N[a+56>>2];c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=j>>>0){break t}while(1){j=((j>>>1|0)+j|0)+8|0;if(c>>>0>=j>>>0){continue}break}if(j>>>0<=357913941){b=$a(N[a+60>>2],T(j,12));if(b){break u}}N[a+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;j=589824;break s}N[a+52>>2]=j;N[a+60>>2]=b;b=N[a+56>>2]}if(b>>>0>>0){while(1){N[a+56>>2]=b+1;b=N[a+60>>2]+T(b,12)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+56>>2];if(c>>>0>b>>>0){continue}break}}N[a+56>>2]=c;j=(N[a+60>>2]+T(c,12)|0)-12|0}c=j;N[c+4>>2]=263;b=g;g=N[a+48>>2];N[c>>2]=b+g;b=0;c=h-g|0;c=c>>>0<=h>>>0?c:0;g=d-g|0;L[j+8|0]=c>>>0>>0?c:g;N[a+48>>2]=d;break m;case 1:case 2:case 3:case 4:case 5:case 6:break k;case 0:break o;case 7:break q}}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+72>>2]=0;break m}b=0;k=S[e+(c<<3)>>3];v:{if(V(k)<2147483648){c=~~k;break v}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+72>>2]=c;break m}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+76>>2]=0;break m}b=0;k=S[e+(c<<3)>>3];w:{if(V(k)<2147483648){c=~~k;break w}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+76>>2]=c;break m}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+64>>2]=0;break m}b=0;k=S[e+(c<<3)>>3];x:{if(V(k)<2147483648){c=~~k;break x}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+64>>2]=c;break m}y:{if(!c){c=0;N[147456]=0;N[147457]=0;L[f+24|0]=1;b=1;break y}k=S[e+(c<<3)>>3];z:{if(V(k)<2147483648){c=~~k;break z}c=-2147483648}b=0;if((c|0)>=0){break y}L[f+24|0]=1;c=0;b=1}N[a+68>>2]=c}N[f+28>>2]=0;break j}h=O[l+2|0];d=O[l+3|0]|O[l+4|0]<<8;b=N[a+72>>2];b=b?b+l|0:275552;N[a+84>>2]=b;c=N[a+64>>2];c=c?c+l|0:275552;N[a+88>>2]=c;e=N[a+68>>2];N[a+92>>2]=e?e+l|0:275552;e=N[a+76>>2];N[a+96>>2]=e?e+l|0:275552;N[a+80>>2]=(h+((d<<8|d>>>8)&65535)|0)+l;if((b|0)!=275552){if(b>>>0>2]){break h}h=N[a+8>>2];if(h>>>0>>0|h-b>>>0<10){break h}d=N[a+12>>2]-10|0;N[a+12>>2]=d;if((d|0)<=0){break h}c=b+2|0;g=O[b|0]|O[b+1|0]<<8;A:{if(!g){e=h-c|0;break A}if(c>>>0>h>>>0){break h}e=h-c|0;g=(g<<8|g>>>8)&65535;if(e>>>0>>0){break h}d=d-g|0;N[a+12>>2]=d;if((d|0)<=0){break h}}if(e>>>0<=7|c>>>0>h>>>0){break h}N[a+12>>2]=d-8;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<9){break h}if(!ih(b+4|0,a,c)){break h}N[f+8>>2]=c;if(!hh(b+8|0,a,f+8|0)){break h}c=N[a+88>>2]}if((c|0)==275552){break h}if(!Ig(c,a)){break h}b=N[a+80>>2];if((b|0)==275552){break h}if(!Ig(b,a)){break h}b=N[a+92>>2];if((b|0)==275552){break h}if(!Ig(b,a)){break h}b=N[a+96>>2];B:{if((b|0)==275552){break B}if(b>>>0>2]){break h}d=N[a+8>>2];if(d>>>0>>0|d-b>>>0<2){break h}c=N[a+92>>2];c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h=N[a+12>>2]-2|0;N[a+12>>2]=h;if((h|0)<=0){break h}j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);C:{switch(O[b|0]){case 0:c=N[a+36>>2];if(!c){break B}b=b+1|0;if(b>>>0>d>>>0|c>>>0>d-b>>>0){break h}b=h-c|0;N[a+12>>2]=b;if((b|0)>0){break B}break h;case 3:if(!Yp(b+1|0,a,j)){break h}break B;case 4:break C;default:break h}}g=0;d=b+1|0;D:{E:{if(d>>>0>2]){break E}e=N[a+8>>2];if(e>>>0>>0|e-d>>>0<4){break E}b=N[a+12>>2];c=b-4|0;N[a+12>>2]=c;if((c|0)<=0){break E}m=b-8|0;N[a+12>>2]=m;if((m|0)<=0){break E}h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);b=TE(i,0,6,0);if(Pa){break E}c=d+4|0;if(b){if(c>>>0>e>>>0|b>>>0>e-c>>>0){break E}b=m-b|0;N[a+12>>2]=b;if((b|0)<=0){break E}}F:{if(!h){break F}m=i>>>0<=1?1:i;p=N[a+36>>2];h=0;while(1){e=d+T(h,6)|0;i=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);b=0;if(p>>>0<=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))>>>0){break D}b=O[e+8|0]|O[e+9|0]<<8;if(j>>>0>((b<<8|b>>>8)&65535)>>>0){h=h+1|0;if((m|0)==(h|0)){break F}continue}break}b=0;break D}b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!b|(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))){break E}h=1;c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(c>>>0>1){while(1){e=275552;i=c;c=h-1|0;if(i>>>0>c>>>0){e=(d+T(c,6)|0)+4|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24)}b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<=h>>>0?275552:(d+T(h,6)|0)+4|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(c>>>0<=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0){break E}b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);h=h+1|0;if(c>>>0>h>>>0){continue}break}}b=(b?(d+T(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),6)|0)-2|0:275552)+6|0;if(b>>>0>2]){break E}c=N[a+8>>2];if(c>>>0>>0|c-b>>>0<4){break E}b=N[a+12>>2]-4|0;N[a+12>>2]=b;if((b|0)<=0){break E}c=N[a+36>>2];b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(b){b=(d+T(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),6)|0)-2|0}else{b=275552}b=O[b+6|0]|O[b+7|0]<<8|(O[b+8|0]<<16|O[b+9|0]<<24);g=(c|0)==(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))}b=g}if(!b){break h}}b=N[a+88>>2];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[a+128>>2]=b;if((b|0)!=N[a+36>>2]){break h}b=N[a+92>>2];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[a+100>>2]=b;d=N[a+116>>2];if((d|0)<0){break h}c=(b|0)>0?b:0;if(c>>>0>d>>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}G:{if(d>>>0<=153391689){b=Xp(n,d);if(b){break G}}N[n>>2]=-1;break h}N[a+116>>2]=d;N[a+124>>2]=b}b=N[a+120>>2];H:{if(c>>>0>b>>>0){while(1){N[a+120>>2]=b+1;b=N[a+124>>2]+T(b,28)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+120>>2];if(c>>>0>b>>>0){continue}break H}}if(b>>>0<=c>>>0){break H}while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b>>>0>c>>>0){continue}break}}N[a+120>>2]=c;if(!N[a+100>>2]){break g}u=f+28|0;p=f+24|0;v=f+4164|0;t=f+4160|0;I:while(1){ae(f+8272|0,N[a+92>>2],o);b=N[f+8276>>2];if(b){c=N[f+8272>>2];if(c>>>0>2]){break h}d=N[a+8>>2];if(d>>>0>>0|b>>>0>d-c>>>0){break h}b=N[a+12>>2]-b|0;N[a+12>>2]=b;if((b|0)<=0){break h}}L[f+4160|0]=0;G(v,0,4108);c=N[f+8276>>2];i=c;N[f+4144>>2]=N[f+8272>>2];N[f+4148>>2]=c;J:{K:{d=N[a+104>>2];if((d|0)>=0){b=N[a+108>>2];c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break J}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){b=Xp(s,d);if(b){break K}}N[s>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break h}N[a+104>>2]=d;N[a+112>>2]=b;b=N[a+108>>2]}L:{if(b>>>0>>0){while(1){N[a+108>>2]=b+1;b=N[a+112>>2]+T(b,28)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+108>>2];if(c>>>0>b>>>0){continue}break L}}if(b>>>0<=c>>>0){break L}while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b>>>0>c>>>0){continue}break}}N[a+108>>2]=c;b=N[a+112>>2];N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=T(c-1|0,28)+b|0;if((b|0)==589824){break h}N[b>>2]=0;N[b+4>>2]=0;g=0;N[b+24>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;c=0;while(1){h=c+1|0;if(i>>>0>=h>>>0){d=N[f+4144>>2];e=O[d+c|0];N[f+4152>>2]=h;M:{N:{O:{P:{if((e|0)==12){c=c+2|0;if(c>>>0<=i>>>0){break P}e=65535;break O}if((e|0)!=18){break O}Q:{R:{S:{if(!g){N[b+16>>2]=0;break S}d=0;e=g-1|0;k=S[((e<<3)+t|0)+8>>3];T:{if(V(k)<2147483648){c=~~k;break T}c=-2147483648}if((c|0)<0){L[f+4160|0]=1;d=1;c=0}N[b+16>>2]=c;if(e){break R}}c=0;N[147456]=0;N[147457]=0;d=1;L[f+4160|0]=1;break Q}k=S[((g<<3)+t|0)-8>>3];U:{if(V(k)<2147483648){c=~~k;break U}c=-2147483648}if((c|0)>=0){break Q}d=1;L[f+4160|0]=1;c=0}N[b+20>>2]=c;N[f+4164>>2]=0;e=18;break N}d=O[d+h|0];N[f+4152>>2]=c;e=d|256}He(e,f+4144|0);d=O[f+4160|0];i=N[f+4148>>2];h=N[f+4152>>2];g=N[f+4164>>2];if(g){break M}}g=0;if(d&255|h>>>0>i>>>0){break M}V:{W:{X:{g=N[b+4>>2];if((g|0)>=0){c=N[b+8>>2];d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=g>>>0){break W}while(1){g=((g>>>1|0)+g|0)+8|0;if(d>>>0>=g>>>0){continue}break}if(g>>>0<=357913941){c=$a(N[b+12>>2],T(g,12));if(c){break X}}N[b+4>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;g=589824;break V}N[b+4>>2]=g;N[b+12>>2]=c;c=N[b+8>>2]}if(c>>>0>>0){while(1){N[b+8>>2]=c+1;c=N[b+12>>2]+T(c,12)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;c=N[b+8>>2];if(d>>>0>c>>>0){continue}break}}N[b+8>>2]=d;g=(N[b+12>>2]+T(d,12)|0)-12|0}c=g;N[c+4>>2]=e;e=N[b>>2];N[c>>2]=e+N[f+4144>>2];d=0;c=i-e|0;c=c>>>0<=i>>>0?c:0;e=h-e|0;L[g+8|0]=c>>>0>>0?c:e;N[b>>2]=h;g=0}if(h>>>0>i>>>0){break h}c=h;if(!(d&255)){continue}break h}break}c=N[b+16>>2];m=c?c+l|0:275552;n=N[b+20>>2];if(n){if(m>>>0>2]){break h}b=N[a+8>>2];if(b>>>0>>0|n>>>0>b-m>>>0){break h}b=N[a+12>>2]-n|0;N[a+12>>2]=b;if((b|0)<=0){break h}}L[f+24|0]=0;G(u,0,4108);L[f+4140|0]=0;N[f+4136>>2]=0;N[f+12>>2]=n;N[f+8>>2]=m;Y:{if(Q[a+120>>2]<=o>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Y}b=N[a+124>>2]+T(o,28)|0}N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;Z:{if(Q[a+120>>2]<=o>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=589824;break Z}c=N[a+124>>2]+T(o,28)|0}N[c>>2]=0;N[c+4>>2]=0;g=0;N[c+24>>2]=0;N[c+20>>2]=275552;N[c+16>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;h=n;b=0;while(1){_:{$:{aa:{ba:{d=b+1|0;if(d>>>0<=h>>>0){e=N[f+8>>2];i=O[e+b|0];N[f+16>>2]=d;ca:{if((i|0)!=12){b=d;break ca}b=b+2|0;if(h>>>0>>0){i=65535;break ba}d=O[d+e|0];N[f+16>>2]=b;i=d|256}k=0;e=0;d=0;da:{ea:{fa:{ga:{ha:{ia:{switch(i-6|0){case 17:break $;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 15:break ba;case 0:case 1:case 2:case 3:break da;case 16:break fa;case 13:break ga;case 4:case 5:break ha;default:break ia}}d=i-265|0;if(d>>>0>9){break ba}d=1<>3];break da}if(!g){N[147456]=0;N[147457]=0;e=1;L[f+24|0]=1;N[c+16>>2]=0;break da}q=S[(g<<3)+p>>3];ja:{if(V(q)<2147483648){d=~~q;break ja}d=-2147483648}if((d|0)<0){e=1;L[f+24|0]=1;d=0}N[c+16>>2]=d;break da}ka:{if(O[f+4140|0]){d=N[f+4136>>2];break ka}la:{if(!g){N[147456]=0;N[147457]=0;L[f+24|0]=1;e=1;break la}q=S[(g<<3)+p>>3];ma:{if(V(q)<2147483648){d=~~q;break ma}d=-2147483648}e=0;if((d|0)>=0){break la}L[f+24|0]=1;d=0;e=1}N[f+4136>>2]=d}L[f+4140|0]=1;N[c+24>>2]=d;break da}N[147456]=0;N[147457]=0;e=1;L[f+24|0]=1}N[f+28>>2]=0;d=e;break aa}c=N[a+124>>2]+T(o,28)|0;b=N[c+16>>2];b=b?b+(n?m:275552)|0:275552;N[c+20>>2]=b;if((b|0)!=275552){if(!Ig(b,a)){break h}}o=o+1|0;if(o>>>0>2]){continue I}break g}He(i,f+8|0);d=O[f+24|0];h=N[f+12>>2];b=N[f+16>>2];g=N[f+28>>2];if(g){break _}k=0}g=0}if(d&255|b>>>0>h>>>0){break _}na:{oa:{pa:{d=N[c+4>>2];if((d|0)>=0){r=N[c+8>>2];e=r+1|0;if(e>>>0<=d>>>0){j=N[c+12>>2];break oa}while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(d>>>0<=178956970){j=$a(N[c+12>>2],T(d,24));if(j){break pa}}N[c+4>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=589824;break na}N[c+4>>2]=d;N[c+12>>2]=j;r=N[c+8>>2];e=r+1|0}N[c+8>>2]=e;d=T(r,24)+j|0;S[d+16>>3]=k;L[d+8|0]=0;N[d>>2]=0}N[d+4>>2]=i;e=N[c>>2];N[d>>2]=e+N[f+8>>2];i=d;d=h-e|0;d=d>>>0<=h>>>0?d:0;e=b-e|0;L[i+8|0]=d>>>0>>0?d:e;N[c>>2]=b;d=O[f+24|0]}if(b>>>0>h>>>0){break h}if(!(d&255)){continue}break}break}break h}He(i,f+8|0);b=O[f+24|0];h=N[f+12>>2];d=N[f+16>>2];c=N[f+28>>2];if(c){break i}}c=0;if(b&255|d>>>0>h>>>0){break i}qa:{ra:{sa:{g=N[a+52>>2];if((g|0)>=0){b=N[a+56>>2];c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=g>>>0){break ra}while(1){g=((g>>>1|0)+g|0)+8|0;if(c>>>0>=g>>>0){continue}break}if(g>>>0<=357913941){b=$a(N[a+60>>2],T(g,12));if(b){break sa}}N[a+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;j=589824;break qa}N[a+52>>2]=g;N[a+60>>2]=b;b=N[a+56>>2]}if(b>>>0>>0){while(1){N[a+56>>2]=b+1;b=N[a+60>>2]+T(b,12)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+56>>2];if(c>>>0>b>>>0){continue}break}}N[a+56>>2]=c;j=(N[a+60>>2]+T(c,12)|0)-12|0}c=j;N[c+4>>2]=i;g=N[a+48>>2];N[c>>2]=g+N[f+8>>2];b=0;c=h-g|0;c=c>>>0<=h>>>0?c:0;g=d-g|0;L[j+8|0]=c>>>0>>0?c:g;N[a+48>>2]=d;c=0}if(d>>>0>h>>>0){break h}if(!(b&255)){continue}break}}Wp(a)}La=f+8288|0;return a}break c}break b}}ba(16656,14279,195,9642);F()}ba(23506,14099,260,16403);F()}function Cg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=U(0),o=0,p=0,q=0,r=U(0),s=0,t=0,u=0,v=U(0),w=0,x=0;g=La-48|0;La=g;a:{d=N[a+16>>2];f=(d<<1)+400|0;b:{c:{if((f|0)<=0){e=6;if(!f){break c}break b}e=N[a+100>>2];e=Qa[N[e+4>>2]](e,f)|0;if(!e){e=64;break b}G(e,0,f);d=N[a+16>>2];j=e}N[j+396>>2]=c;N[j+4>>2]=d;N[j>>2]=a;N[j+376>>2]=0;N[j+380>>2]=0;M[j+372>>1]=0;N[j+8>>2]=j+400;N[j+384>>2]=0;N[j+388>>2]=0;N[j+392>>2]=0;d:{e:{f:{g:{h:{i:{j:{k:{l:{c=N[a+104>>2];if(!N[c+20>>2]){e=275552;d=N[c+4>>2];m:{if((d|0)<=0){break m}f=N[c>>2];c=db(1,32);if(!c){break m}N[c+28>>2]=0;N[c+24>>2]=a;N[c+20>>2]=1;N[c+16>>2]=d;N[c+12>>2]=f;N[c>>2]=1;N[c+4>>2]=1;e=c}i=N[a+4>>2];L[g+44|0]=0;N[g+40>>2]=65536;N[g+20>>2]=0;c=N[e>>2];if(c){if((c|0)<=0){break a}N[e>>2]=c+2}L[g+28|0]=0;N[g+36>>2]=e;d=N[e+12>>2];N[g+8>>2]=d;c=N[e+16>>2];N[g+12>>2]=c+d;if((c|0)<0){break l}N[g+32>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[g+16>>2]=c;N[g+24>>2]=0;N[g+4>>2]=0;c=e;if(!d){break g}if(oj(d,g+4|0)){break k}n:{if(O[g+28|0]|!N[g+32>>2]){break n}if(!zb(e)){break n}while(1){L[g+28|0]=1;c=N[g+36>>2];d=N[c+12>>2];N[g+8>>2]=d;f=N[c+16>>2];N[g+12>>2]=f+d;if((f|0)<0){break l}N[g+32>>2]=0;if(f>>>0>67108863){k=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;k=f>>>0>=1073741823?1073741823:f}N[g+16>>2]=k;N[g+24>>2]=0;N[g+4>>2]=0;if(!d){break g}if(oj(d,g+4|0)){break k}if(O[g+28|0]|!N[g+32>>2]){break n}c=zb(e);N[g+8>>2]=c;N[g+12>>2]=c+N[e+16>>2];if(c){continue}break}}ab(N[g+36>>2]);N[g+36>>2]=0;break j}d=db(1,212);if(!d){d=588540;break d}N[d+32>>2]=-1;N[d+20>>2]=0;N[d+16>>2]=a;N[d+12>>2]=314;N[d>>2]=1;N[d+4>>2]=1;N[d+48>>2]=d;N[d+36>>2]=d;break d}ba(16656,14279,195,9642);F()}if(!N[g+32>>2]){break i}N[g+32>>2]=0;c=oj(d,g+4|0);d=N[g+32>>2];ab(N[g+36>>2]);N[g+36>>2]=0;if(d){break j}if(c){break h}}ab(e);c=275552;break e}ab(N[g+36>>2])}c=e;if(!N[e+4>>2]){break e}N[e+4>>2]=0;break f}ab(c)}c=e}f=db(1,8);if(!f){ab(c);d=588540;ab(e);break d}M[f+4>>1]=i;N[f>>2]=c;d=db(1,212);o:{if(!d){ab(c);_a(f);d=588540;break o}N[d+32>>2]=-1;N[d+20>>2]=315;N[d+16>>2]=f;N[d+12>>2]=316;N[d>>2]=1;N[d+4>>2]=1;N[d+48>>2]=d;N[d+36>>2]=d}N[d+24>>2]=i;ab(e)}if(N[d+4>>2]){N[d+24>>2]=N[a+4>>2];N[d+28>>2]=P[a+68>>1]}e=Lp(d);nj(d);c=N[a+92>>2];if(c){d=N[c+4>>2]==1937337698}else{d=0}c=db(1,1044);p:{if(!c){break p}L[c+5|0]=0;L[c+4|0]=d;N[c+12>>2]=a;N[c>>2]=2;G(c+16|0,255,1028);a=N[147568];q:{if(a){break q}while(1){d=588448;a=db(1,92);if(a){N[a>>2]=1;N[a+4>>2]=1;B(a+20|0,588468,72);d=a}r:{if(!N[d+4>>2]){break r}a=N[d+16>>2];s:{if(!a){break s}f=N[a+8>>2];if(!f){break s}a=N[d+12>>2];if(a){a=N[a+8>>2]}else{a=0}Qa[f|0](a)}N[d+28>>2]=317;a=N[d+12>>2];if(a){N[a+8>>2]=0}a=N[d+16>>2];if(a){N[a+8>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];t:{if(!a){break t}f=N[a+12>>2];if(!f){break t}a=N[d+12>>2];if(a){a=N[a+12>>2]}else{a=0}Qa[f|0](a)}N[d+32>>2]=318;a=N[d+12>>2];if(a){N[a+12>>2]=0}a=N[d+16>>2];if(a){N[a+12>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];u:{if(!a){break u}f=N[a+16>>2];if(!f){break u}a=N[d+12>>2];if(a){a=N[a+16>>2]}else{a=0}Qa[f|0](a)}N[d+36>>2]=319;a=N[d+12>>2];if(a){N[a+16>>2]=0}a=N[d+16>>2];if(a){N[a+16>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];v:{if(!a){break v}f=N[a>>2];if(!f){break v}a=N[d+12>>2];if(a){a=N[a>>2]}else{a=0}Qa[f|0](a)}N[d+20>>2]=320;a=N[d+12>>2];if(a){N[a>>2]=0}a=N[d+16>>2];if(a){N[a>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];w:{if(!a){break w}f=N[a+28>>2];if(!f){break w}a=N[d+12>>2];if(a){a=N[a+28>>2]}else{a=0}Qa[f|0](a)}N[d+48>>2]=321;a=N[d+12>>2];if(a){N[a+28>>2]=0}a=N[d+16>>2];if(a){N[a+28>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];x:{if(!a){break x}f=N[a+24>>2];if(!f){break x}a=N[d+12>>2];if(a){a=N[a+24>>2]}else{a=0}Qa[f|0](a)}N[d+44>>2]=322;a=N[d+12>>2];if(a){N[a+24>>2]=0}a=N[d+16>>2];if(a){N[a+24>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];y:{if(!a){break y}f=N[a+40>>2];if(!f){break y}a=N[d+12>>2];if(a){a=N[a+40>>2]}else{a=0}Qa[f|0](a)}N[d+60>>2]=323;a=N[d+12>>2];if(a){N[a+40>>2]=0}a=N[d+16>>2];if(a){N[a+40>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];z:{if(!a){break z}f=N[a+44>>2];if(!f){break z}a=N[d+12>>2];if(a){a=N[a+44>>2]}else{a=0}Qa[f|0](a)}N[d- -64>>2]=324;a=N[d+12>>2];if(a){N[a+44>>2]=0}a=N[d+16>>2];if(a){N[a+44>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];A:{if(!a){break A}f=N[a+52>>2];if(!f){break A}a=N[d+12>>2];if(a){a=N[a+52>>2]}else{a=0}Qa[f|0](a)}N[d+72>>2]=325;a=N[d+12>>2];if(a){N[a+52>>2]=0}a=N[d+16>>2];if(a){N[a+52>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];B:{if(!a){break B}f=N[a+56>>2];if(!f){break B}a=N[d+12>>2];if(a){a=N[a+56>>2]}else{a=0}Qa[f|0](a)}N[d+76>>2]=326;a=N[d+12>>2];if(a){N[a+56>>2]=0}a=N[d+16>>2];if(a){N[a+56>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];C:{if(!a){break C}f=N[a+60>>2];if(!f){break C}a=N[d+12>>2];if(a){a=N[a+60>>2]}else{a=0}Qa[f|0](a)}N[d+80>>2]=327;a=N[d+12>>2];if(a){N[a+60>>2]=0}a=N[d+16>>2];if(a){N[a+60>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];D:{if(!a){break D}f=N[a+64>>2];if(!f){break D}a=N[d+12>>2];if(a){a=N[a+64>>2]}else{a=0}Qa[f|0](a)}N[d+84>>2]=328;a=N[d+12>>2];if(a){N[a+64>>2]=0}a=N[d+16>>2];if(a){N[a+64>>2]=0}if(!N[d+4>>2]){break r}a=N[d+16>>2];E:{if(!a){break E}f=N[a+68>>2];if(!f){break E}a=N[d+12>>2];if(a){a=N[a+68>>2]}else{a=0}Qa[f|0](a)}N[d+88>>2]=329;a=N[d+12>>2];if(a){N[a+68>>2]=0}a=N[d+16>>2];if(a){N[a+68>>2]=0}if(!N[d+4>>2]){break r}N[d+4>>2]=0}a=N[147568];if(!a){N[147568]=d;a=d;break q}if((d|0)==588448){break q}nc(d);a=N[147568];if(!a){continue}break}}if(!N[e+4>>2]){Ip(c);break p}N[e+12>>2]=N[e+12>>2]+1;d=N[e+104>>2];if(d){Qa[d|0](N[e+100>>2])}a=a?a:588448;d=N[a>>2];if(d){if((d|0)<=0){break a}N[a>>2]=d+1}nc(N[e+96>>2]);N[e+104>>2]=330;N[e+100>>2]=c;N[e+96>>2]=a}if(N[e+104>>2]==330){s=N[e+100>>2];f=N[s+12>>2];F:{if(!N[e+4>>2]){break F}a=P[f+68>>1];d=N[f+88>>2];c=N[d+20>>2];i=TE(a,0,c,c>>31);c=Pa;i=i+32768|0;c=((i>>>0<32768?c+1|0:c)&65535)<<16|i>>>16;k=a;a=N[d+16>>2];d=TE(k,0,a,a>>31);a=Pa;d=d+32768|0;a=((d>>>0<32768?a+1|0:a)&65535)<<16|d>>>16;if((a|0)==N[e+28>>2]&(c|0)==N[e+32>>2]){break F}N[e+32>>2]=c;N[e+28>>2]=a;N[e+12>>2]=N[e+12>>2]+1;Fe(e)}N[g+4>>2]=0;G:{if(!(L[f+9|0]&1)){break G}H:{I:{c=N[f+128>>2];d=N[c+32>>2];switch(d+2|0){case 2:break I;case 0:break G;default:break H}}a=N[f+96>>2];d=N[N[a>>2]+32>>2];J:{if(!d){d=0;break J}d=Qa[d|0](a,10423)|0;c=N[f+128>>2]}N[c+32>>2]=d?d:-2}if(!d){break G}a=N[d+16>>2];if(!a){break G}if(Qa[a|0](f,g+4|0)|0){break G}a=N[N[g+4>>2]>>2];o=db(a,4);i=db(a,4);K:{if(!o|!i|!(L[f+9|0]&1)){break K}L:{M:{d=N[f+128>>2];h=N[d+32>>2];switch(h+2|0){case 2:break M;case 0:break K;default:break L}}c=N[f+96>>2];h=N[N[c>>2]+32>>2];N:{if(!h){h=0;break N}h=Qa[h|0](c,10423)|0;d=N[f+128>>2]}N[d+32>>2]=h?h:-2}if(!h){break K}c=N[h+12>>2];if(!c){break K}if(Qa[c|0](f,a,o)|0){break K}O:{P:{c=N[N[g+4>>2]>>2];Q:{if(!c){break Q}d=0;a=0;R:{if((c|0)!=1){p=c&1;k=c&-2;while(1){h=a<<2;q=h+o|0;t=N[q>>2];m=t>>2;N[q>>2]=m;N[i+h>>2]=m;m=h|4;q=m+o|0;u=N[q>>2];h=u>>2;N[q>>2]=h;N[i+m>>2]=h;d=t>>>0>3|d|u>>>0>3;a=a+2|0;l=l+2|0;if((k|0)!=(l|0)){continue}break}if(!p){break R}}h=a<<2;l=h+o|0;m=N[l>>2];a=m>>2;N[l>>2]=a;N[i+h>>2]=a;if(d&1){break P}if(m>>>0<=3){break Q}break P}if(d&1){break P}}if(!N[e+4>>2]){break K}a=N[e+12>>2]+1|0;N[e+16>>2]=a;N[e+12>>2]=a;Hg(N[e+24>>2]+124|0);_a(N[e+88>>2]);_a(N[e+92>>2]);N[e+92>>2]=0;N[e+84>>2]=0;N[e+88>>2]=0;break O}if(!N[e+4>>2]){break K}a=N[e+12>>2]+1|0;N[e+16>>2]=a;N[e+12>>2]=a;m=db(c,4);l=db(c,4);p=db(c,4);if(p?!m|!l:1){_a(m);_a(l);_a(p);break K}a=c<<2;if(a){B(m,i,a);B(l,i,a)}a=Hg(N[e+24>>2]+124|0);d=O[a+6|0]|O[a+7|0]<<8;d=(d<<8|d>>>8)&65535;d=c>>>0>d>>>0?d:c;if(d){a=a+8|0;h=0;while(1){k=l+(h<<2)|0;w=k,x=Jp(a,N[k>>2],1,0),N[w>>2]=x;k=a;a=O[a|0]|O[a+1|0]<<8;a=(k+(((a<<8|a>>>8)&65535)<<2)|0)+2|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}a=0;while(1){d=sf(N[e+24>>2]+120|0);k=a<<2;h=N[k+l>>2];q=k+p|0;k=O[d+4|0]|O[d+5|0]<<8;if(k){k=d+((k<<8|k>>>8)&65535)|0}else{k=275552}d=O[d+8|0]|O[d+9|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=a>>>0?275552:k+T(a,20)|0;k=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);n=U(U(k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24))*U(152587890625e-16));S:{if(!h){break S}v=U(h|0);if((h|0)<0){d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);r=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));n=U(n+U(U(U(n-(n<=r?n:r))*v)*U(6103515625e-14)));break S}d=O[d+12|0]|O[d+13|0]<<8|(O[d+14|0]<<16|O[d+15|0]<<24);r=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));n=U(n+U(U(U((n>=r?n:r)-n)*v)*U(6103515625e-14)))}R[q>>2]=n;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=N[e+88>>2];_a(l);_a(a);_a(N[e+92>>2]);N[e+92>>2]=p;N[e+88>>2]=m;N[e+84>>2]=c}Fe(e)}_a(i);_a(o);a=N[N[f+84>>2]>>2];if(!a){break G}c=N[g+4>>2];if(!c){break G}a=N[a>>2];Qa[N[a+8>>2]](a,c)}G(s+20|0,255,1024);N[s+16>>2]=N[e+12>>2]}N[j+12>>2]=e;d=db(1,172);T:{if(!d){d=588184;break T}N[d+148>>2]=1073741823;N[d+152>>2]=536870911;N[d>>2]=1;N[d+4>>2]=1;a=Ic();U:{if(!a){break U}c=N[a>>2];if(!c){break U}if((c|0)<=0){break a}N[a>>2]=c+1}L[d+60|0]=1;N[d+24>>2]=65533;N[d+12>>2]=a}N[j+16>>2]=d;i=N[j+8>>2];f=N[j>>2];o=N[f+92>>2];c=N[j+4>>2];V:{if(c){d=0;e=0;if(c>>>0>=8){h=c&-8;while(1){a=e<<1;M[a+i>>1]=16383;M[i+(a|2)>>1]=16383;M[i+(a|4)>>1]=16383;M[i+(a|6)>>1]=16383;M[i+(a|8)>>1]=16383;M[i+(a|10)>>1]=16383;M[i+(a|12)>>1]=16383;M[i+(a|14)>>1]=16383;e=e+8|0;if((h|0)!=(e|0)){continue}break}}a=c&7;if(a){while(1){M[i+(e<<1)>>1]=16383;e=e+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(!f){break V}}c=N[f+40>>2];if(!c){break V}a=c+(N[f+36>>2]<<2)|0;d=a-4|0;W:{if(c>>>0<=d>>>0){while(1){e=N[d>>2];X:{if(N[e+4>>2]!=1970170211){break X}Y:{switch(P[e+8>>1]){case 3:if(P[e+10>>1]!=10){break X}break W;case 0:break Y;default:break X}}if(P[e+10>>1]==4){break W}}d=d-4|0;if(c>>>0<=d>>>0){continue}break}}while(1){a=a-4|0;if(c>>>0>a>>>0){break V}e=N[a>>2];if(N[e+4>>2]!=1970170211){continue}break}}N[f+92>>2]=e;l=-1;e=286856;h=0;while(1){c=N[e+8>>2];m=N[(c<<2)+288704>>2];a=N[m+4>>2];Z:{if(!a){break Z}if(N[e+16>>2]==10){p=(c|0)==N[N[j+396>>2]+16>>2];d=N[a>>2];if(d){while(1){c=a;_:{if(!f){break _}a=N[f+92>>2];if(!a){break _}a=Qa[N[N[a+12>>2]+12>>2]](a,d)|0;if(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2]){break _}a=i+(a<<1)|0;if((P[a>>1]&16383)!=16383){break _}M[a>>1]=h}while(1){$:{if(!f){break $}e=N[f+92>>2];if(!e|!N[f+16>>2]){break $}N[g+4>>2]=d;while(1){a=Qa[N[N[e+12>>2]+16>>2]](e,g+4|0)|0;if(a>>>0>=Q[f+16>>2]){continue}break}if(!a){break $}d=a?N[g+4>>2]:0;if(d>>>0>Q[c+4>>2]){break $}if(a>>>0>=Q[j+4>>2]){continue}a=i+(a<<1)|0;if((P[a>>1]&16383)!=16383){continue}M[a>>1]=h;continue}break}a=c+8|0;d=N[c+8>>2];if(d){continue}break}}l=p?h:l;a=N[m+8>>2];d=N[a>>2];if(!d){break Z}while(1){c=a;aa:{if(!f){break aa}a=N[f+92>>2];if(!a){break aa}a=Qa[N[N[a+12>>2]+12>>2]](a,d)|0;if(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2]){break aa}a=i+(a<<1)|0;e=P[a>>1];if((e&16383)!=(h&65535)){break aa}M[a>>1]=e|16384}while(1){ba:{if(!f){break ba}e=N[f+92>>2];if(!e|!N[f+16>>2]){break ba}N[g+4>>2]=d;while(1){a=Qa[N[N[e+12>>2]+16>>2]](e,g+4|0)|0;if(a>>>0>=Q[f+16>>2]){continue}break}if(!a){break ba}d=a?N[g+4>>2]:0;if(d>>>0>Q[c+4>>2]){break ba}if(a>>>0>=Q[j+4>>2]){continue}a=i+(a<<1)|0;e=P[a>>1];if((e&16383)!=(h&65535)){continue}M[a>>1]=e|16384;continue}break}a=c+8|0;d=N[c+8>>2];if(d){continue}break}break Z}Wi(j,e,i,0)}h=h+1|0;e=N[(h<<2)+288960>>2];if((h|0)!=87){continue}break}e=286856;a=0;while(1){if(N[e+16>>2]==10){Wi(j,e,i,0)}a=a+1|0;e=N[(a<<2)+288960>>2];if((a|0)!=87){continue}break}Wi(j,N[(l<<2)+288960>>2],i,1);if(!f){break V}a=N[f+92>>2];if(!a){break V}a=Qa[N[N[a+12>>2]+12>>2]](a,48)|0;if(!(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2])){a=i+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[f+92>>2];if(!a){break V}a=Qa[N[N[a+12>>2]+12>>2]](a,49)|0;if(!(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2])){a=i+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[f+92>>2];if(!a){break V}a=Qa[N[N[a+12>>2]+12>>2]](a,50)|0;if(!(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2])){a=i+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[f+92>>2];if(!a){break V}a=Qa[N[N[a+12>>2]+12>>2]](a,51)|0;if(!(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2])){a=i+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[f+92>>2];if(!a){break V}a=Qa[N[N[a+12>>2]+12>>2]](a,52)|0;if(!(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2])){a=i+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[f+92>>2];if(!a){break V}a=Qa[N[N[a+12>>2]+12>>2]](a,53)|0;if(!(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2])){a=i+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[f+92>>2];if(!a){break V}a=Qa[N[N[a+12>>2]+12>>2]](a,54)|0;if(!(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2])){a=i+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[f+92>>2];if(!a){break V}a=Qa[N[N[a+12>>2]+12>>2]](a,55)|0;if(!(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2])){a=i+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[f+92>>2];if(!a){break V}a=Qa[N[N[a+12>>2]+12>>2]](a,56)|0;if(!(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2])){a=i+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[f+92>>2];if(!a){break V}a=Qa[N[N[a+12>>2]+12>>2]](a,57)|0;if(!a|a>>>0>=Q[f+16>>2]|a>>>0>=Q[j+4>>2]){break V}a=i+(a<<1)|0;M[a>>1]=P[a>>1]|32768}c=N[N[j+396>>2]+12>>2];ca:{if((c|0)==16383){break ca}e=N[j+4>>2];if((e|0)<=0){break ca}a=0;if((e|0)!=1){d=e&1;e=e&-2;while(1){h=a<<1;l=h+i|0;m=P[l>>1];if((m&16383)==16383){M[l>>1]=c|m&49152}h=i+(h|2)|0;l=P[h>>1];if((l&16383)==16383){M[h>>1]=c|l&49152}a=a+2|0;if((e|0)!=(a|0)){continue}break}if(!d){break ca}}a=i+(a<<1)|0;e=P[a>>1];if((e&16383)!=16383){break ca}M[a>>1]=c|e&49152}da:{if(!f|!o){break da}a=N[f+40>>2];if(!a){break da}c=N[f+36>>2];if((c|0)<=0){break da}c=(c<<2)+a|0;while(1){ea:{if((o|0)!=N[a>>2]){break ea}e=N[o>>2];fa:{if(!e){break fa}e=N[e+96>>2];d=N[N[e>>2]+32>>2];if(!d){break fa}e=Qa[d|0](e,10557)|0;if(!e){break fa}if(Qa[N[e>>2]](o,g+4|0)|0){break fa}if(N[g+8>>2]==14){break ea}}N[f+92>>2]=N[a>>2];break da}a=a+4|0;if(c>>>0>a>>>0){continue}break}}e=0;N[j+20>>2]=0}N[b>>2]=j;La=g+48|0;return e}ba(23506,14099,260,16403);F()}function gm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;i=La-32|0;La=i;o=N[b+100>>2];d=N[a+20>>2];a:{b:{if(d){if(Qa[d|0](a,0,0,0)|0){break b}}N[a+8>>2]=0;if(rb(a,43232,b+184|0)|N[b+184>>2]!=1885562369){break b}d=N[b+188>>2];if(!d){break b}e=N[a+4>>2];if(e>>>0<16){break b}c:{g=e>>>4|0;if(d>>>0<=9&g>>>0>=d>>>0){break c}d=e>>>0>=144?9:g;N[b+188>>2]=d;if(d>>>0<134217728){break c}N[b+192>>2]=0;break b}g=d<<4;e=Qa[N[o+4>>2]](o,g)|0;d:{if(!(!e|(d|0)<=0)){G(e,0,g);N[b+192>>2]=e;break d}N[b+192>>2]=e;if(!e){break b}}e:{f:{g:{h:{if(!N[b+188>>2]){g=0;break h}d=0;while(1){g=rb(a,43248,e);if(g){break e}e=e+16|0;d=d+1|0;g=N[b+188>>2];if(d>>>0>>0){continue}break}e=N[b+192>>2];if((g|0)!=1){break h}f=N[a+4>>2];l=e;break g}i:{while(1){d=f+1|0;if((d|0)==(g|0)){h=g-1|0;f=N[a+4>>2];e=N[b+192>>2];break i}m=f^-1;k=N[e+12>>2];l=0;f=0;while(1){h=(f<<4)+e|0;f=f+1|0;j=(f<<4)+e|0;g=N[j+12>>2];if(k>>>0>g>>>0){g=N[h+12>>2];N[i+16>>2]=N[h+8>>2];N[i+20>>2]=g;g=N[h+4>>2];N[i+8>>2]=N[h>>2];N[i+12>>2]=g;g=N[j+12>>2];N[h+8>>2]=N[j+8>>2];N[h+12>>2]=g;g=N[j+4>>2];N[h>>2]=N[j>>2];N[h+4>>2]=g;g=N[i+20>>2];N[j+8>>2]=N[i+16>>2];N[j+12>>2]=g;g=N[i+12>>2];N[j>>2]=N[i+8>>2];N[j+4>>2]=g;l=1;g=N[j+12>>2]}k=N[h+8>>2];if(k>>>0>g>>>0|Q[h+12>>2]>g-k>>>0){break f}k=g;g=N[b+188>>2];if(m+g>>>0>f>>>0){continue}break}h=g-1|0;if(l){f=d;if(d>>>0>>0){continue}}break}f=N[a+4>>2];e=N[b+192>>2];l=e;if(!h){break g}}l=((g<<4)+e|0)-16|0;j=0;d=e;while(1){g=8;k=N[d+8>>2];if(k>>>0>f>>>0|Q[d+12>>2]>f-k>>>0){break e}d=d+16|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}}g=8;d=N[l+12>>2];if(d>>>0>f>>>0){break e}d=f-d|0;if(d>>>0>2]){N[l+8>>2]=d}N[b>>2]=1;N[b+4>>2]=0;d=0;if((c|0)<0){break a}f=N[b+188>>2];if(!f){break b}g=N[b+100>>2];j:{k:{l:{m:{n:{o:{while(1){p:{c=(d<<4)+e|0;if(N[c>>2]==1){d=N[c+12>>2];e=N[a+8>>2];if(d>>>0>>0){break b}if(Wc(a,d-e|0)){break b}h=N[c+8>>2];N[i+8>>2]=0;e=i+8|0;c=Vc(a,e);d=N[i+8>>2];if(d|c>>>0>255){break j}l=c&4;q:{if(l){c=Nb(a,e);break q}c=Vc(a,i+8|0)}if(N[i+8>>2]|c>>>0>(h>>>0)/9>>>0){break b}f=c>>>0>=256?256:c;N[b+280>>2]=f;j=0;k=lb(g,12,0,f,0,i+8|0);d=N[i+8>>2];if(d){break m}r:{if(!f){break r}e=0;if(!l){while(1){d=rb(a,43312,k+T(e,12)|0);if(d){break n}e=e+1|0;if((f|0)!=(e|0)){continue}break r}}while(1){d=rb(a,43280,k+T(e,12)|0);if(d){break n}e=e+1|0;if((f|0)!=(e|0)){continue}break}}d=Wc(a,T(c-f|0,9));N[i+8>>2]=d;if(d){break o}d=c&3;if(d){d=Wc(a,4-d|0);N[i+8>>2]=d;if(d){break o}}s:{if(l){e=Nb(a,i+8|0);break s}e=Vc(a,i+8|0)}d=N[i+8>>2];if(d){break m}d=8;if(e>>>0>h+T(c,-9)>>>0){break m}c=e>>>0>=16777472?16777472:e;j=Qa[N[g+4>>2]](g,c+1|0)|0;if(!j){d=!j<<6;j=0;break m}d=Yb(a,j,c);N[i+8>>2]=d;if(d){break m}h=0;L[c+j|0]=0;l=lb(g,12,0,f,0,i+8|0);d=N[i+8>>2];if(d){break m}N[b+284>>2]=l;if(f){while(1){e=T(h,12);m=e+k|0;d=N[m>>2];if((d|0)<0|c>>>0>>0){break p}e=e+l|0;s=e,t=Nc(g,d+j|0,i+8|0),N[s>>2]=t;d=N[i+8>>2];if(d){break l}p=O[m+4|0];L[e+4|0]=p;d=N[m+8>>2];t:{if(p){if((d|0)<0|c>>>0>>0){break p}s=e,t=Nc(g,d+j|0,i+8|0),N[s+8>>2]=t;d=N[i+8>>2];if(!d){break t}break l}N[e+8>>2]=d}h=h+1|0;if((f|0)!=(h|0)){continue}break}}d=0;N[i+8>>2]=0;break m}d=d+1|0;if((f|0)!=(d|0)){continue}break b}break}d=9;N[i+8>>2]=9;break l}d=83}N[i+8>>2]=d}if(!k){break k}}Qa[N[g+8>>2]](g,k)}if(!j){break j}Qa[N[g+8>>2]](g,j)}if(d){break b}u:{v:{e=N[b+188>>2];if(!e){break v}c=N[b+192>>2];d=0;while(1){if(N[(d<<4)+c>>2]!=256){d=d+1|0;if((e|0)!=(d|0)){continue}break v}break}d=0;break u}c=fm(a,b,2);N[i+4>>2]=c;if(c){break b}e=N[b+188>>2];c=N[b+192>>2];d=1}if(!e){break b}l=d;g=N[b+100>>2];d=0;w:{x:{while(1){y:{f=(d<<4)+c|0;if(N[f>>2]==4){c=N[f+12>>2];d=N[a+8>>2];if(c>>>0>>0){break b}if(Wc(a,c-d|0)){break b}e=N[f+8>>2];N[i+28>>2]=0;c=i+28|0;d=Vc(a,c);if(N[i+28>>2]|((d|256)&-256)!=256){break b}f=d&4;z:{if(d>>>0<=255){if(f){c=Nb(a,c);break z}c=Vc(a,i+28|0);break z}if(f){c=xb(a,i+28|0);break z}c=ln(a,i+28|0)}if(N[i+28>>2]){break b}h=c-1|0;A:{if(d>>>0<=255){if(h>>>0<(e>>>0)/12>>>0){break A}break b}if(h>>>0>=(e>>>0)/5>>>0){break b}}c=c>>>0>=65535?65535:c+1|0;N[b+288>>2]=c;e=lb(g,16,0,c,0,i+28|0);N[b+292>>2]=e;if(N[i+28>>2]){break b}B:{if(Q[b+288>>2]<2){break B}h=e+16|0;k=1;if(d>>>0<=255){f=f?43472:43504;while(1){d=h;c=rb(a,f,d);N[e+28>>2]=0;if(c){break x}if(!(M[e+18>>1]>=M[d>>1]&M[e+22>>1]>=(0-M[e+24>>1]|0))){M[e+20>>1]=0;M[d>>1]=0;M[e+22>>1]=0;M[e+24>>1]=0;M[e+18>>1]=0}h=d+16|0;e=d;k=k+1|0;if(k>>>0>2]){continue}break}break B}while(1){c=rb(a,43536,i+8|0);if(c){break y}c=h;f=O[i+8|0];M[c>>1]=f-128;j=O[i+9|0];M[e+18>>1]=j-128;M[e+20>>1]=O[i+10|0]-128;m=O[i+11|0]-128|0;M[e+22>>1]=m;d=O[i+12|0];M[e+26>>1]=0;M[e+24>>1]=d-128;N[e+28>>2]=0;if(!(f>>>0<=j>>>0&(m|0)>=(128-d|0))){M[e+20>>1]=0;M[c>>1]=0;M[e+22>>1]=0;M[e+24>>1]=0;M[e+18>>1]=0}h=c+16|0;e=c;k=k+1|0;if(k>>>0>2]){continue}break}}d=0;N[i+4>>2]=0;e=N[b+188>>2];if(!e){break b}c=N[b+192>>2];break w}d=d+1|0;if((e|0)!=(d|0)){continue}break b}break}N[e+28>>2]=0}a=N[b+292>>2];if(a){Qa[N[g+8>>2]](g,a)}N[b+292>>2]=0;N[i+4>>2]=c;break b}while(1){if(N[c+(d<<4)>>2]!=8){d=d+1|0;if((e|0)!=(d|0)){continue}break b}break}c=c+(d<<4)|0;d=N[c+12>>2];e=N[a+8>>2];if(d>>>0>>0){break b}if(Wc(a,d-e|0)){break b}e=N[c+8>>2];c=Bb(a,8);N[i+8>>2]=c;if(c){break b}c=0;C:{D:{g=N[a+36>>2];d=N[a+32>>2];if(g>>>0<=d+3>>>0){k=0;break D}k=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f=d+4|0;N[a+32>>2]=f;if(!(k&4)){d=f;break D}j=0;if(g>>>0<=d+7>>>0){break C}c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);f=d+8|0;break C}j=1;if(g>>>0<=d+3>>>0){f=d;break C}f=d+4|0;c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24)}N[a+32>>2]=f;if(N[a+20>>2]){d=N[a>>2];if(d){g=N[a+28>>2];Qa[N[g+8>>2]](g,d)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;if(k>>>0>255){break b}c=c>>>0>=65534?65534:c;if((c|0)!=(N[b+288>>2]-1|0)){break b}E:{if(!c){break E}g=(N[a+8>>2]+(c<<2)|0)+16|0;d=1;if(j){while(1){f=Vc(a,i+8|0);N[(N[b+292>>2]+(d<<4)|0)+12>>2]=g+(e>>>0>=f>>>0?f:0);f=(c|0)==(d|0);d=d+1|0;if(!f){continue}break E}}while(1){f=Nb(a,i+8|0);N[(N[b+292>>2]+(d<<4)|0)+12>>2]=g+(e>>>0>=f>>>0?f:0);f=(c|0)!=(d|0);d=d+1|0;if(f){continue}break}}if(N[i+8>>2]){break b}F:{if(!j){Nb(a,i+8|0);if(N[i+8>>2]){break b}Nb(a,i+8|0);if(N[i+8>>2]){break b}Nb(a,i+8|0);if(N[i+8>>2]){break b}Nb(a,i+8|0);if(!N[i+8>>2]){break F}break b}Vc(a,i+8|0);if(N[i+8>>2]){break b}Vc(a,i+8|0);if(N[i+8>>2]){break b}Vc(a,i+8|0);if(N[i+8>>2]){break b}Vc(a,i+8|0);if(N[i+8>>2]){break b}}N[b+312>>2]=k;h=a;a=0;k=La-16|0;La=k;f=3;c=N[b+188>>2];G:{if(!c){break G}m=b+296|0;e=N[b+192>>2];d=N[b+100>>2];H:{while(1){I:{g=e+(a<<4)|0;if(N[g>>2]==32){f=83;a=N[g+12>>2];c=N[h+8>>2];if(a>>>0>>0|(a-c|0)<0){break G}c=N[h+20>>2];if(!c){break I}if(Qa[c|0](h,a,0,0)|0){break G}g=N[h+4>>2];break H}a=a+1|0;if((c|0)!=(a|0)){continue}break G}break}g=N[h+4>>2];if(g>>>0>>0){break G}}N[h+8>>2]=a;J:{if(a+3>>>0>=g>>>0){break J}K:{L:{M:{e=N[h+20>>2];N:{if(e){c=k+12|0;if((Qa[e|0](h,a,c,4)|0)!=4){break J}a=N[h+8>>2];break N}c=N[h>>2];if(!c){break M}c=a+c|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[h+8>>2]=a+4;f=3;if(c>>>0>=256){break G}if(!(c&4)){break L}f=rb(h,43568,m);N[k+8>>2]=f;if(f){break G}c=0;break K}N[h+8>>2]=a+4}f=rb(h,43600,m);N[k+8>>2]=f;if(f){break G}c=1}f=8;g=P[b+296>>1];a=P[b+298>>1];if(g>>>0>a>>>0|a>>>0>255){break G}j=P[b+300>>1];e=P[b+302>>1];if(j>>>0>e>>>0|e>>>0>255){break G}a=T((e-j|0)+1|0,(a-g|0)+1|0);s=b,t=lb(d,2,0,a,0,k+8|0),N[s+308>>2]=t;f=N[k+8>>2];if(f){break G}f=Bb(h,a<<1);N[k+8>>2]=f;if(!f){e=P[b+304>>1];d=e>>>8|0;g=P[b+300>>1];O:{P:{if(d>>>0>>0){j=P[b+298>>1];a=P[b+296>>1];break P}j=P[b+298>>1];a=P[b+296>>1];if(P[b+302>>1]>>0){break P}e=e&255;if(e>>>0<(a&65535)>>>0){break P}if(e>>>0<=j>>>0){break O}}M[b+304>>1]=(g<<8)+a;d=g;e=a}f=1;a=a&65535;a=N[h+32>>2]+(((e&65535)-a|0)+T((j-a|0)+1|0,d-g|0)<<1)|0;a=O[a+c|0]<<8|O[a+!c|0];if((a|0)!=65535){a=a+1&65535;f=a>>>0>=Q[b+288>>2]?1:a}a=N[b+292>>2];d=(f<<4)+a|0;e=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=e;e=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=e;e=P[b+300>>1];a=P[b+302>>1];Q:{if(e>>>0>a>>>0){break Q}f=P[b+298>>1];if(f>>>0>1]){while(1){e=e+1|0;if(a>>>0>=(e&65535)>>>0){continue}break Q}}g=N[b+308>>2];while(1){d=P[m>>1];R:{if(d>>>0>(f&65535)>>>0){break R}a=N[h+32>>2];j=N[h+36>>2];if(c){while(1){S:{if(j>>>0<=a+1>>>0){N[h+32>>2]=a;f=1;break S}f=O[a|0]|O[a+1|0]<<8;a=a+2|0;N[h+32>>2]=a;f=f+1|0;f=(f|0)!=(f&65535)?-1:f}M[g>>1]=f;g=g+2|0;f=P[b+298>>1];d=d+1|0;if(f>>>0>=(d&65535)>>>0){continue}break R}}while(1){T:{if(j>>>0<=a+1>>>0){N[h+32>>2]=a;f=1;break T}f=O[a|0]|O[a+1|0]<<8;a=a+2|0;N[h+32>>2]=a;f=((f<<8|(f&65280)>>>8)&65535)+1|0;f=(f|0)!=(f&65535)?-1:f}M[g>>1]=f;g=g+2|0;f=P[b+298>>1];d=d+1|0;if(f>>>0>=(d&65535)>>>0){continue}break}}e=e+1|0;if(P[b+302>>1]>=(e&65535)>>>0){continue}break}}if(N[h+20>>2]){a=N[h>>2];if(a){c=N[h+28>>2];Qa[N[c+8>>2]](c,a)}N[h>>2]=0}N[h+32>>2]=0;N[h+36>>2]=0;f=0;break G}a=N[b+308>>2];if(a){Qa[N[d+8>>2]](d,a)}N[b+308>>2]=0;break G}f=85}La=k+16|0;if(f){break b}if(!l){if(fm(h,b,256)){break b}}a=N[b+8>>2];N[b+8>>2]=a|18;if(O[b+199|0]){N[b+8>>2]=a|22}a=0;c=0;k=0;l=0;j=0;p=0;N[b+12>>2]=0;h=1;n=N[b+100>>2];U:{V:{W:{X:{f=N[b+280>>2];if((f|0)<=0){f=8;k=7;d=12199;m=1;g=0;q=1;break X}g=N[b+284>>2];while(1){Y:{d=a;h=cb(N[g+T(a,12)>>2],19332);a=a+1|0;if((f|0)<=(a|0)){break Y}if(h){continue}}break}e=2;Z:{if(h){h=0;break Z}if(!O[(g+T(d,12)|0)+4|0]){h=0;break Z}h=0;_:{a=(g+T(a,12)|0)-4|0;switch(O[N[a>>2]]-73|0){case 0:case 6:case 32:case 38:break _;default:break Z}}N[b+12>>2]=1;h=(O[N[a>>2]]&223)==79?15457:17754;e=3}while(1){$:{d=c;l=cb(N[g+T(d,12)>>2],20260);c=d+1|0;if((f|0)<=(c|0)){break $}if(l){continue}}break}a=0;m=1;j=0;aa:{if(l){break aa}j=0;if(!O[(g+T(d,12)|0)+4|0]){break aa}j=0;if((O[N[(g+T(c,12)|0)-4>>2]]|32)!=98){break aa}N[b+12>>2]=e;m=0;j=16733}while(1){ba:{e=a;l=cb(N[g+T(a,12)>>2],20282);a=a+1|0;if((f|0)<=(a|0)){break ba}if(l){continue}}break}c=0;d=0;ca:{if(l){break ca}d=0;if(!O[(g+T(e,12)|0)+4|0]){break ca}a=N[(g+T(a,12)|0)-4>>2];e=O[a|0];d=0;if(!e){break ca}d=0;if((e|0)==78){break ca}d=0;if((e|0)==110){break ca}d=a}e=d;while(1){da:{a=c;l=cb(N[g+T(a,12)>>2],20296);c=a+1|0;if((f|0)<=(c|0)){break da}if(l){continue}}break}d=0;f=0;ea:{if(l){break ea}fa:{if(!O[(g+T(a,12)|0)+4|0]){break fa}a=N[(g+T(c,12)|0)-4>>2];c=O[a|0];if(!c|(c|0)==78){break fa}f=0;if((c|0)==110){break ea}d=a;k=nb(a);f=k+1|0;break ea}f=0}ga:{if(m){j=0;break ga}p=nb(j);f=(p+f|0)+1|0}g=0;ha:{if(!h){a=0;c=0;break ha}a=nb(h);f=(f+a|0)+1|0;c=h}r=c;ia:{if(!e){l=0;break ia}l=nb(e);f=(l+f|0)+1|0;g=e}q=!h;h=!e;if(!f){f=8;k=7;d=12199;break X}if((f|0)>0){break X}a=6;break W}e=Qa[N[n+4>>2]](n,f)|0;if(e){break V}a=64}N[b+24>>2]=0;break U}N[b+24>>2]=e;if(d){B(e,d,k);ja:{if(!k){break ja}c=0;f=0;if(k>>>0>=4){d=k&-4;while(1){n=e+f|0;if(O[n|0]==32){L[n|0]=45}n=(f|1)+e|0;if(O[n|0]==32){L[n|0]=45}n=(f|2)+e|0;if(O[n|0]==32){L[n|0]=45}n=(f|3)+e|0;if(O[n|0]==32){L[n|0]=45}f=f+4|0;if((d|0)!=(f|0)){continue}break}}d=k&3;if(!d){break ja}while(1){n=e+f|0;if(O[n|0]==32){L[n|0]=45}f=f+1|0;c=c+1|0;if((d|0)!=(c|0)){continue}break}}e=e+k|0}if(!m){if(N[b+24>>2]!=(e|0)){L[e|0]=32;e=e+1|0}B(e,j,p);e=e+p|0}if(!q){if(N[b+24>>2]!=(e|0)){L[e|0]=32;e=e+1|0}B(e,r,a);e=a+e|0}if(!h){if(N[b+24>>2]!=(e|0)){L[e|0]=32;e=e+1|0}B(e,g,l);ka:{if(!l){break ka}a=0;f=0;if(l>>>0>=4){c=l&-4;while(1){d=e+f|0;if(O[d|0]==32){L[d|0]=45}d=(f|1)+e|0;if(O[d|0]==32){L[d|0]=45}d=(f|2)+e|0;if(O[d|0]==32){L[d|0]=45}d=(f|3)+e|0;if(O[d|0]==32){L[d|0]=45}f=f+4|0;if((c|0)!=(f|0)){continue}break}}c=l&3;if(!c){break ka}while(1){d=e+f|0;if(O[d|0]==32){L[d|0]=45}f=f+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}e=e+l|0}L[e|0]=0;a=0}N[i+4>>2]=a;if(a){break b}a=xd(N[b+280>>2],N[b+284>>2],20231);la:{if(!(!a|!O[a+4|0])){s=b,t=Nc(o,N[a+8>>2],i+4|0),N[s+20>>2]=t;if(!N[i+4>>2]){break la}break b}N[b+20>>2]=0}N[b+28>>2]=1;N[b+16>>2]=N[b+288>>2];c=Qa[N[o+4>>2]](o,16)|0;if(!c){N[b+32>>2]=0;break b}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[i+4>>2]=0;N[b+32>>2]=c;g=32767;a=N[b+208>>2]+N[b+204>>2]|0;d=a>>31;a=(a^d)-d>>>0>32767?32767:a&32768?0-a|0:a;M[c>>1]=a;e=N[b+280>>2];f=N[b+284>>2];d=xd(e,f,19895);ma:{if(d){a=N[d+8>>2];d=a>>31;if((a^d)-d>>>0>327665){break ma}a=(a+5|0)/10|0;g=a&32768?0-a|0:a;break ma}g=jb(a<<16>>16,2,3)}M[c+2>>1]=g;d=0;g=0;a=xd(e,f,20048);if(a){g=32767;h=N[a+8>>2];a=h>>31;a=(a^h)-a|0;if(a>>>0<=328898){g=jb(a,460800,72270)}N[c+4>>2]=g}a=xd(e,f,20082);if(a){d=2097088;a=N[a+8>>2];h=a>>31;if((a^h)-h>>>0<=32767){d=a<<16>>16;d=(a<<16<0?0-d|0:d)<<6}N[c+12>>2]=d}h=xd(e,f,18765);a=0;na:{if(!h){break na}h=N[h+8>>2];k=h>>31;a=32767;if((h^k)-k>>>0>32767){break na}a=h<<16;a=((a|0)<0?0-a|0:a)>>16}oa:{pa:{qa:{ra:{sa:{h=xd(e,f,18633);if(h){k=32767;h=N[h+8>>2];j=h>>31;if((h^j)-j>>>0>32767){break sa}k=h&32768?0-h|0:h;if(d){break pa}N[c+12>>2]=g;if(k&65535){break ra}d=g;break oa}if(d){break oa}N[c+12>>2]=g;d=g;break oa}if(d){break pa}N[c+12>>2]=g;h=c+12|0;break qa}h=c+12|0}d=jb(g,k<<16>>16,72);N[h>>2]=d}if(!a|!(k&65535)){break oa}d=jb(d,a,k<<16>>16)}N[c+8>>2]=d;d=0;a=xd(e,f,18649);c=xd(e,f,19963);if(!a|!O[a+4|0]|(!c|!O[c+4|0])){break a}e=N[c+8>>2];c=i+4|0;s=b,t=Nc(o,e,c),N[s+176>>2]=t;if(N[i+4>>2]){break b}s=b,t=Nc(o,N[a+8>>2],c),N[s+180>>2]=t;if(!N[i+4>>2]){break a}break b}g=9}a=N[b+192>>2];if(a){Qa[N[o+8>>2]](o,a)}N[b+192>>2]=0;N[i+4>>2]=g}d=3}La=i+32|0;return d}function sk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=La-16|0;La=n;N[a+12>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[n+8>>2]=-1;N[n+12>>2]=0;N[n+4>>2]=a+12;N[n>>2]=0;d=O[b+4|0]|O[b+5|0]<<8;a:{if(!d){N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+24>>2]=-1;break a}c=O[b|0]|O[b+1|0]<<8;o=(c<<8|c>>>8)&65535;p=b+4|0;d=(d<<8|d>>>8)&65535;q=d>>>0<=1?1:d;while(1){d=O[p|0]|O[p+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=l>>>0?275552:((l<<1)+p|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+b|0}else{d=275552}c=o;h=0;g=La-32|0;La=g;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{while(1){m:{if((c|0)!=7){n:{switch(c-1|0){case 0:o:{p:{c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break o;case 0:break p;default:break b}}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=250;N[g+12>>2]=251;N[g+8>>2]=252;N[g+4>>2]=d;q:{r:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break q;case 0:break r;default:break c}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break c}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;s:{if((c|0)==256){e=0;c=d;break s}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break d}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break d}Ub(d,g+20|0);break c}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=253;N[g+12>>2]=254;N[g+8>>2]=255;N[g+4>>2]=d;t:{u:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break t;case 0:break u;default:break e}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break e}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;v:{if((c|0)==256){e=0;c=d;break v}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break f}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break f}Ub(d,g+20|0);break e;case 1:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=256;N[g+12>>2]=257;N[g+8>>2]=258;N[g+4>>2]=d;w:{x:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break w;case 0:break x;default:break g}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break g}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;y:{if((c|0)==256){e=0;c=d;break y}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break h}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break h}Ub(d,g+20|0);break g;case 2:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=259;N[g+12>>2]=260;N[g+8>>2]=261;N[g+4>>2]=d;z:{A:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break z;case 0:break A;default:break i}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break i}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;B:{if((c|0)==256){e=0;c=d;break B}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break j}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break j}Ub(d,g+20|0);break i;case 3:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=262;N[g+12>>2]=263;N[g+8>>2]=264;N[g+4>>2]=d;C:{D:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break C;case 0:break D;default:break k}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break k}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;E:{if((c|0)==256){e=0;c=d;break E}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break l}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break l}Ub(d,g+20|0);break k;case 4:Vk(d,n);break b;case 7:break m;case 5:break n;default:break b}}Wk(d,n);break b}if((O[d|0]|O[d+1|0]<<8)!=256){break b}c=O[d+2|0]|O[d+3|0]<<8;c=(c<<8|c>>>8)&65535;e=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(e){d=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0}else{d=275552}continue}break}if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=265;N[g+12>>2]=266;N[g+8>>2]=267;N[g+4>>2]=d;F:{G:{H:{I:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break H;case 0:break I;default:break F}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break F}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;J:{if((c|0)==256){e=0;c=d;break J}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break G}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break G}Ub(d,g+20|0);break F}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}K:{L:{M:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break M}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break L}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break K}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}N:{O:{P:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break P}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break O}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break N}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}Q:{R:{S:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break S}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break R}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break Q}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}T:{U:{V:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break V}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break U}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break T}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}W:{X:{Y:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break Y}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break X}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break W}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}Z:{_:{$:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break $}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break _}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break Z}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c}La=g+32|0;l=l+1|0;if((q|0)!=(l|0)){continue}break}N[a>>2]=0;N[a+4>>2]=0;e=0;N[a+8>>2]=0;f=N[a+16>>2];if(!f){N[a+24>>2]=N[n+8>>2];break a}l=N[a+20>>2];b=T(f,28)-28|0;d=((b>>>0)/28|0)+1|0;g=d&1;aa:{if(b>>>0<28){d=0;c=0;break aa}o=d&536870910;d=0;c=0;b=0;while(1){e=N[l+16>>2]|e;N[a>>2]=e;d=N[l+20>>2]|d;N[a+4>>2]=d;c=N[l+24>>2]|c;N[a+8>>2]=c;e=e|N[l+44>>2];N[a>>2]=e;d=d|N[l+48>>2];N[a+4>>2]=d;c=c|N[l+52>>2];N[a+8>>2]=c;l=l+56|0;b=b+2|0;if((o|0)!=(b|0)){continue}break}}if(g){N[a>>2]=N[l+16>>2]|e;N[a+4>>2]=N[l+20>>2]|d;N[a+8>>2]=N[l+24>>2]|c}N[a+24>>2]=N[n+8>>2];l=0;while(1){if(N[a+24>>2]!=(l|0)){ba:{if(f>>>0<=l>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;f=N[a+16>>2];b=0;break ba}b=N[(N[a+20>>2]+T(l,28)|0)+4>>2]}ca:{if(f>>>0<=l>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;f=N[a+16>>2];d=589824;break ca}d=N[a+20>>2]+T(l,28)|0}N[d+8>>2]=b}l=l+1|0;if(l>>>0>>0){continue}break}}La=n+16|0}function Mq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=N[a+88>>2];a:{b:{c:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break b}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(e){break c}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=b;N[a+92>>2]=e}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1937007464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d:{e:{f:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break d}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){G(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=270;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(e){break i}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=e}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];e=a+24|0;j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){f=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(f){break l}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=f}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];m:{n:{o:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break n}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break o}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break m}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){G(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1769172844,N[a+8>>2]==1098015074?10:8);p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){G(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1718185569,N[a+8>>2]==1098015074?10:8);s:{t:{u:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break t}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break u}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break s}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){G(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];v:{w:{x:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break w}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){f=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(f){break x}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break v}N[a+84>>2]=b;N[a+92>>2]=f}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1718185522;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];y:{z:{A:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break z}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break A}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break y}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){G(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];B:{C:{D:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break C}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){f=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(f){break D}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break B}N[a+84>>2]=b;N[a+92>>2]=f}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1718185523;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];E:{F:{G:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break F}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break G}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break E}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){G(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1835361385,N[a+8>>2]==1098015074?10:8);H:{I:{J:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break I}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break J}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break H}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){G(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){f=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(f){break M}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=f}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1835361330;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];N:{O:{P:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break O}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break P}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break N}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){G(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1768843636,N[a+8>>2]==1098015074?10:8);b=N[a+100>>2];Q:{R:{S:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break R}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){e=$a(N[a+104>>2],d<<3);b=N[a+100>>2];if(e){break S}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break Q}N[a+96>>2]=d;N[a+104>>2]=e}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;T:{U:{V:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break U}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break V}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break T}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=271;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(e){break Y}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=e}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=11;N[b+4>>2]=c;N[b>>2]=1919707495;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];if(N[a+8>>2]==1098015074){Z:{_:{$:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break _}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break $}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break Z}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){G(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=272;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1}c=N[a+88>>2];aa:{ba:{ca:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ba}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(e){break ca}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break aa}N[a+84>>2]=b;N[a+92>>2]=e}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1667329140;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];da:{if(Ff(N[a+24>>2],1196643650,N[a+60>>2],N[a+68>>2],1919118452,0)){break da}if(Ff(N[a+24>>2],1196445523,N[a- -64>>2],N[a+72>>2],1919118452,0)){break da}ea:{fa:{ga:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break fa}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break ga}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break ea}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){G(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ha:{ia:{ja:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(e){break ja}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ha}N[a+84>>2]=b;N[a+92>>2]=e}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1919118452;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}c=N[a+88>>2];ka:{la:{ma:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break la}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(e){break ma}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ka}N[a+84>>2]=b;N[a+92>>2]=e}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];na:{oa:{pa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(e){break pa}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break na}N[a+84>>2]=b;N[a+92>>2]=e}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1668049255;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];qa:{ra:{sa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));c=N[a+88>>2];if(e){break sa}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break qa}N[a+84>>2]=b;N[a+92>>2]=e}if(c>>>0>>0){G(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(d,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1836279156;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Wg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;w=La-16|0;La=w;a:{if(!Dk(a+4|0,b,a)){break a}c=a+6|0;if(c>>>0>2]){break a}e=N[b+8>>2];if(e>>>0>>0){break a}if(e-c>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=O[c|0]|O[c+1|0]<<8;b:{if(!e){break b}e=((e<<8|e>>>8)&65535)+a|0;N[w+12>>2]=e;if(Ck(e,b,w+12|0)){break b}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}r=a+8|0;h=N[b+4>>2];if(r>>>0>>0){h=0;break a}c=N[b+8>>2];if(c>>>0>>0){h=0;break a}if(c-r>>>0<2){h=0;break a}j=N[b+12>>2];e=j-2|0;N[b+12>>2]=e;if((e|0)<=0){h=0;break a}e=O[r|0]|O[r+1|0]<<8;c:{if(!e){break c}d:{q=((e<<8|e>>>8)&65535)+a|0;if(h>>>0>q>>>0|c>>>0>>0|c-q>>>0<2){break d}e=j-4|0;N[b+12>>2]=e;if((e|0)<=0){break d}h=O[q|0]|O[q+1|0]<<8;if(!h){break c}j=q+2|0;if(j>>>0>c>>>0){break d}j=c-j|0;c=(h<<8|h>>>8)&65535;h=c<<1;if(j>>>0>>0){break d}e=e-h|0;N[b+12>>2]=e;if((e|0)<=0){break d}y=c>>>0<=1?1:c;while(1){s=((x<<1)+q|0)+2|0;e=N[b+4>>2];if(s>>>0>>0){break d}j=N[b+8>>2];if(j>>>0>>0|j-s>>>0<2){break d}c=N[b+12>>2];h=c-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[s|0]|O[s+1|0]<<8;e:{if(!h){break e}m=((h<<8|h>>>8)&65535)+q|0;f:{g:{if(e>>>0>m>>>0|j>>>0>>0|j-m>>>0<6){break g}h=c-8|0;N[b+12>>2]=h;if((h|0)<=0){break g}n=m+4|0;if(j>>>0>>0|j-n>>>0<2){break g}h=c-10|0;N[b+12>>2]=h;if((h|0)<=0){break g}o=O[n|0]|O[n+1|0]<<8;u=(o<<8|o>>>8)&65535;d=u<<1;if(o){c=m+6|0;if(c>>>0>j>>>0|d>>>0>j-c>>>0){break g}h=h-d|0;N[b+12>>2]=h;if((h|0)<=0){break g}}c=N[b+16>>2]+u|0;N[b+16>>2]=c;if((c|0)>16383){break g}h:{if(!(O[m+3|0]&16)){c=h;break h}c=(d+n|0)+2|0;if(c>>>0>>0|c>>>0>j>>>0|j-c>>>0<2){break g}c=h-2|0;N[b+12>>2]=c;if((h|0)<3){break g}}if(e>>>0>n>>>0){break g}e=O[m|0]|O[m+1|0]<<8;c=c-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}if(o){h=m+6|0;if(h>>>0>j>>>0|d>>>0>j-h>>>0){break g}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break g}j=(e<<8|e>>>8)&65535;z=u>>>0<=1?1:u;h=0;while(1){o=((h<<1)+n|0)+2|0;if(o>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-o>>>0<2){break g}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=O[o|0]|O[o+1|0]<<8;i:{if(!c){break i}e=((c<<8|c>>>8)&65535)+m|0;c=j;d=0;l=0;v=La-16|0;La=v;j:{k:{while(1){l:{if((c|0)!=7){d=1;m:{switch(c-1|0){case 0:c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}n:{o:{i=O[e|0]|O[e+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break n;case 0:break o;default:break j}}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;p:{if(!d){break p}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break p}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}d=0;if(e-c>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;d=(c|0)>0;break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;q:{if(!d){break q}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break q}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}f=N[b+12>>2]-2|0;N[b+12>>2]=f;if((f|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break k}e=e+6|0;if(e>>>0>d>>>0){d=0;break j}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>d-e>>>0){d=0;break j}c=f-c|0;N[b+12>>2]=c;d=0;if((c|0)>0){break k}break j;case 1:if(Q[b+4>>2]>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;r:{if(!d){break r}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break r}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}p=c>>>0<=1?1:c;c=0;while(1){i=N[b+4>>2];d=((c<<1)+e|0)+6|0;if(i>>>0>d>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-d>>>0<2){d=0;break j}l=N[b+12>>2];g=l-2|0;N[b+12>>2]=g;if((g|0)<=0){d=0;break j}g=O[d|0]|O[d+1|0]<<8;s:{if(!g){break s}g=((g<<8|g>>>8)&65535)+e|0;t:{if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break t}i=l-4|0;N[b+12>>2]=i;if((i|0)<=0){break t}l=O[g|0]|O[g+1|0]<<8;if(!l){break s}g=g+2|0;if(g>>>0>f>>>0){break t}g=f-g|0;f=((l<<8|l>>>8)&65535)<<1;if(g>>>0>>0){break t}f=i-f|0;N[b+12>>2]=f;if((f|0)>0){break s}}f=N[b+28>>2];if(f>>>0>31){d=0;break j}N[b+28>>2]=f+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=c+1|0;if((p|0)!=(c|0)){continue}break};break j;case 2:if(Q[b+4>>2]>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;u:{if(!d){break u}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break u}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}p=c>>>0<=1?1:c;c=0;while(1){i=N[b+4>>2];d=((c<<1)+e|0)+6|0;if(i>>>0>d>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-d>>>0<2){d=0;break j}l=N[b+12>>2];g=l-2|0;N[b+12>>2]=g;if((g|0)<=0){d=0;break j}g=O[d|0]|O[d+1|0]<<8;v:{if(!g){break v}g=((g<<8|g>>>8)&65535)+e|0;w:{if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break w}i=l-4|0;N[b+12>>2]=i;if((i|0)<=0){break w}l=O[g|0]|O[g+1|0]<<8;if(!l){break v}g=g+2|0;if(g>>>0>f>>>0){break w}g=f-g|0;f=((l<<8|l>>>8)&65535)<<1;if(g>>>0>>0){break w}f=i-f|0;N[b+12>>2]=f;if((f|0)>0){break v}}f=N[b+28>>2];if(f>>>0>31){d=0;break j}N[b+28>>2]=f+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=c+1|0;if((p|0)!=(c|0)){continue}break};break j;case 3:c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;x:{if(!d){break x}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break x}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}A=c>>>0<=1?1:c;while(1){g=N[b+4>>2];f=((l<<1)+e|0)+6|0;if(g>>>0>f>>>0){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-f>>>0<2){d=0;break j}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[f|0]|O[f+1|0]<<8;y:{if(!c){break y}z:{A:{c=((c<<8|c>>>8)&65535)+e|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break A}g=i-4|0;N[b+12>>2]=g;if((g|0)<=0){break A}i=O[c|0]|O[c+1|0]<<8;if(!i){break y}p=c+2|0;if(p>>>0>d>>>0){break A}k=d-p|0;d=(i<<8|i>>>8)&65535;i=d<<1;if(k>>>0>>0){break A}g=g-i|0;N[b+12>>2]=g;if((g|0)<=0){break A}B=d>>>0<=1?1:d;p=0;while(1){k=N[b+4>>2];g=(c+(p<<1)|0)+2|0;if(k>>>0>g>>>0){break A}d=N[b+8>>2];if(d>>>0>>0|d-g>>>0<2){break A}t=N[b+12>>2];i=t-2|0;N[b+12>>2]=i;if((i|0)<=0){break A}i=O[g|0]|O[g+1|0]<<8;B:{if(!i){break B}i=c+((i<<8|i>>>8)&65535)|0;C:{if(i>>>0>>0|d>>>0>>0|d-i>>>0<2){break C}k=t-4|0;N[b+12>>2]=k;if((k|0)<=0){break C}k=i+2|0;if(k>>>0>d>>>0|d-k>>>0<2){break C}t=t-6|0;N[b+12>>2]=t;if((t|0)<=0){break C}k=O[k|0]|O[k+1|0]<<8;if(!k){break B}k=(((k<<8|k>>>8)&65535)<<1)-2|0;if(!k){break B}i=i+4|0;if(i>>>0>d>>>0|k>>>0>d-i>>>0){break C}d=t-k|0;N[b+12>>2]=d;if((d|0)>0){break B}}d=N[b+28>>2];if(d>>>0>31){d=0;break j}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break z}L[g|0]=0;L[g+1|0]=0}p=p+1|0;if((B|0)!=(p|0)){continue}break}break y}d=N[b+28>>2]}if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[f|0]=0;L[f+1|0]=0}d=1;l=l+1|0;if((A|0)!=(l|0)){continue}break};break j;case 4:d=0;if(Q[b+4>>2]>e>>>0){break j}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break j}d=1;D:{E:{F:{c=O[e|0]|O[e+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break D;case 1:break E;case 0:break F;default:break j}}d=vk(e,b);break j}d=yk(e,b);break j}d=xk(e,b);break j;case 7:break l;case 5:break m;default:break j}}d=wk(e,b);break j}if(Q[b+4>>2]>e>>>0){break j}c=N[b+8>>2];if(c>>>0>>0){break j}c=c-e|0;if(c>>>0<2){break j}f=N[b+12>>2];g=f-2|0;N[b+12>>2]=g;if((g|0)<=0){break j}if((O[e|0]|O[e+1|0]<<8)!=256){break k}if(c>>>0<8){break j}c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}f=O[e+2|0]|O[e+3|0]<<8;if((f|0)==1792){break j}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0}else{e=275552}c=(f<<8|(f&65280)>>>8)&65535;continue}break}c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;G:{if(!d){break G}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break G}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}N[v+12>>2]=e;d=e+4|0;if(!Oe(d,b,v+12|0)){d=0;break j}c=O[e+4|0]|O[e+5|0]<<8;N[v+8>>2]=e;c=(d+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!Oe(c,b,v+8|0)){d=0;break j}e=O[c|0]|O[c+1|0]<<8;c=(c+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}f=O[c|0]|O[c+1|0]<<8;if(!f){break k}c=c+2|0;if(c>>>0>e>>>0){d=0;break j}e=e-c|0;c=((f<<8|f>>>8)&65535)<<1;if(e>>>0>>0){d=0;break j}c=d-c|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}}d=1}La=v+16|0;if(d){break i}c=N[b+28>>2];if(c>>>0>31){break d}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break f}L[o|0]=0;L[o+1|0]=0}h=h+1|0;if((z|0)!=(h|0)){continue}break}e=O[m|0]|O[m+1|0]<<8}if(N[b+28>>2]|(e&65535)!=1792){break e}e=275552;d=0;c=O[n|0]|O[n+1|0]<<8?m+6|0:275552;c=O[c|0]|O[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+m|0}if((O[e|0]|O[e+1|0]<<8)==256){c=O[e+2|0]|O[e+3|0]<<8;d=(c<<8|c>>>8)&65535}e=1;if(u>>>0<2){break e}while(1){h=275552;c=O[n|0]|O[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+n|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){h=((c<<8|c>>>8)&65535)+m|0}c=0;if((O[h|0]|O[h+1|0]<<8)==256){c=O[h+2|0]|O[h+3|0]<<8;c=(c<<8|c>>>8)&65535}if((c|0)==(d|0)){e=e+1|0;if((u|0)!=(e|0)){continue}}break}if((c|0)==(d|0)){break e}}c=N[b+28>>2]}if(c>>>0>31){break d}N[b+28>>2]=c+1;if(!O[b+24|0]){break d}L[s|0]=0;L[s+1|0]=0}x=x+1|0;if((y|0)!=(x|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){h=0;break a}N[b+28>>2]=c+1;if(!O[b+24|0]){h=0;break a}L[r|0]=0;L[r+1|0]=0}h=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65537){break a}c=a+10|0;if(c>>>0>2]){h=0;break a}e=N[b+8>>2];if(e>>>0>>0){h=0;break a}if(e-c>>>0<4){h=0;break a}e=N[b+12>>2]-4|0;N[b+12>>2]=e;if((e|0)<=0){h=0;break a}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!e){break a}if(e&128){h=0;break a}if(Bk((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){h=0;break a}N[b+28>>2]=a+1;h=0;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;h=1}La=w+16|0;return h}function SD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=U(0),k=U(0),l=0,m=U(0),n=0,o=U(0),p=0,q=U(0),r=0,s=U(0),t=U(0),u=U(0),v=0,w=0,x=U(0),y=U(0),z=0,A=0,B=0,C=0,D=U(0),E=0,H=U(0),I=0;g=La-4560|0;La=g;j=R[a+40>>2];N[g+40>>2]=0;N[g+44>>2]=0;N[g+48>>2]=0;N[g+52>>2]=0;N[g+56>>2]=0;N[g+60>>2]=0;b=g- -64|0;N[b>>2]=0;N[b+4>>2]=0;N[g+72>>2]=0;N[g+76>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+28>>2]=e;N[g+24>>2]=d;R[g+16>>2]=j;L[g+20|0]=j==U(0);b=N[a+24>>2];d=N[b+108>>2];a:{if(d){break a}while(1){d=N[b+48>>2];if(!d){d=275552;break a}e=db(1,28);if(!e){d=275552;N[b+108>>2]=275552;break a}d=Je(e,d);if(!N[b+108>>2]){N[b+108>>2]=d;break a}ab(N[d+24>>2]);_a(d);d=N[b+108>>2];if(!d){continue}break}}b=g+32|0;b:{c:{if(Q[d+16>>2]<=c>>>0){break c}N[g+4552>>2]=0;N[g+4544>>2]=0;N[g+4548>>2]=0;e=N[d+20>>2];e=N[(e?e:275552)+12>>2];d:{if(O[d+12|0]){f=e+(c<<1)|0;e=O[f|0]|O[f+1|0]<<8;e=((e<<8|e>>>8)&65535)<<1;f=O[f+2|0]|O[f+3|0]<<8;f=((f<<8|f>>>8)&65535)<<1;break d}f=e+(c<<2)|0;e=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);f=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}e:{f:{if(e>>>0<=f>>>0){h=N[d+24>>2];h=h?h:275552;if(f>>>0<=Q[h+16>>2]){break f}}N[g+104>>2]=0;N[g+96>>2]=0;N[g+100>>2]=0;N[g+112>>2]=-1;N[g+116>>2]=0;N[g+108>>2]=275552;break e}h=N[h+12>>2]+e|0;i=f-e|0;f=i>>>0<10?275552:h;e=O[f|0]|O[f+1|0]<<8;if(e){e=(e<<8|e>>>8)<<16>>16>0?1:(e|0)==65279?3:2}else{e=0}N[g+116>>2]=e;N[g+112>>2]=c;N[g+108>>2]=f;N[g+104>>2]=0;N[g+100>>2]=i;N[g+96>>2]=h}N[g+88>>2]=0;N[g+8>>2]=0;N[g+80>>2]=0;N[g+84>>2]=0;N[g>>2]=0;N[g+4>>2]=0;w=fj(g+96|0,a,d,g+4544|0,0,g,0);if(w){r=N[g+4548>>2];if(r>>>0>3){z=N[g+4552>>2];C=r-4|0;if(!C){_a(z);break b}e=0;d=0;while(1){g:{if(d>>>0>=r>>>0){l=0;N[147456]=0;N[147457]=0;N[147458]=0;f=589824;j=U(0);k=U(0);break g}f=z+T(d,12)|0;j=R[f+4>>2];l=O[f+8|0];k=R[f>>2]}h=l&1;j=U(j*R[a+48>>2]);k=U(k*R[a+44>>2]);h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if(!n){if(h){i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(N[g+32>>2]){t=R[g+36>>2];s=R[g+40>>2];if(!(t==R[g+44>>2]&s==R[g+48>>2])){l=N[h+16>>2];n=N[h+32>>2];if(n){n=N[n+4>>2]}else{n=0}Qa[l|0](h,i,b,t,s,n)}l=N[h+28>>2];n=N[h+32>>2];if(n){n=N[n+16>>2]}else{n=0}Qa[l|0](h,i,b,n);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=j;R[g+44>>2]=k;n=1;break r}ej(h,i,b,U(U(j*R[g+16>>2])+k),j);n=1;break r}if(!v){break t}s=U(U(U(j-u)*U(.5))+u);t=U(U(U(k-y)*U(.5))+y);h=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(N[g+32>>2]){o=R[g+36>>2];m=R[g+40>>2];if(!(o==R[g+44>>2]&m==R[g+48>>2])){n=N[e+16>>2];i=N[e+32>>2];if(i){i=N[i+4>>2]}else{i=0}Qa[n|0](e,h,b,o,m,i)}n=N[e+28>>2];i=N[e+32>>2];if(i){i=N[i+16>>2]}else{i=0}Qa[n|0](e,h,b,i);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=s;R[g+44>>2]=t;break s}ej(e,h,b,U(U(s*R[g+16>>2])+t),s);break s}u:{v:{w:{if(e&255){if(h){i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[h+12>>2];q=R[g+44>>2];x=R[g+48>>2];e=N[h+32>>2];if(e){e=N[e>>2]}else{e=0}Qa[l|0](h,i,b,q,x,e);N[g+32>>2]=1;e=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=e}A=N[h+20>>2];e=0;l=N[h+32>>2];if(l){l=N[l+8>>2]}else{l=0}Qa[A|0](h,i,b,o,m,k,j,l);R[g+48>>2]=j;R[g+44>>2]=k;o=U(0);m=U(0);break u}q=R[g+16>>2];Ie(h,i,b,U(U(m*q)+o),m,U(U(j*q)+k),j);o=U(0);e=0;m=U(0);break u}q=U(U(U(j-m)*U(.5))+m);x=U(U(U(k-o)*U(.5))+o);h=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[e+12>>2];D=R[g+44>>2];H=R[g+48>>2];i=N[e+32>>2];if(i){i=N[i>>2]}else{i=0}Qa[l|0](e,h,b,D,H,i);N[g+32>>2]=1;i=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=i}l=N[e+20>>2];i=N[e+32>>2];if(i){i=N[i+8>>2]}else{i=0}Qa[l|0](e,h,b,o,m,x,q,i);R[g+48>>2]=q;R[g+44>>2]=x;e=1;break w}D=R[g+16>>2];Ie(e,h,b,U(U(m*D)+o),m,U(U(q*D)+x),q);e=1;break w}e=1;if(h){break v}}o=k;m=j;break u}i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[h+12>>2];q=R[g+44>>2];x=R[g+48>>2];e=N[h+32>>2];if(e){e=N[e>>2]}else{e=0}Qa[l|0](h,i,b,q,x,e);N[g+32>>2]=1;e=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=e}A=N[h+16>>2];e=0;l=N[h+32>>2];if(l){l=N[l+4>>2]}else{l=0}Qa[A|0](h,i,b,k,j,l);R[g+48>>2]=j;R[g+44>>2]=k;break u}cq(h,i,b,U(U(j*R[g+16>>2])+k),j);e=0}k=s;j=t;break r}if(!O[f+9|0]){n=0;v=1;y=k;u=j;break h}n=0;if(e&255){u=j;y=k;break q}e=N[g+28>>2];f=N[g+24>>2];if(O[g+20|0]){break m}break l}e=1;o=k;m=j;n=1;k=t;j=s}if(!O[f+9|0]){s=k;t=j;break h}if(!v){break o}t=j;s=k;if(!(e&255)){break p}}j=U(U(U(u-m)*U(.5))+m);k=U(U(U(y-o)*U(.5))+o);f=N[g+28>>2];e=N[g+24>>2];x:{if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];q=R[g+44>>2];x=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,q,x,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}i=N[e+20>>2];h=N[e+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](e,f,b,o,m,k,j,h);R[g+48>>2]=j;R[g+44>>2]=k;break x}q=R[g+16>>2];Ie(e,f,b,U(U(m*q)+o),m,U(U(j*q)+k),j)}j=t;k=s}e=N[g+28>>2];f=N[g+24>>2];h=O[g+20|0];if(!n){break n}if(h){if(!N[g+32>>2]){i=N[f+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[f+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](f,e,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}i=N[f+20>>2];h=N[f+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](f,e,b,y,u,k,j,h);break j}m=R[g+16>>2];Ie(f,e,b,U(U(u*m)+y),u,U(U(j*m)+k),j);break i}if(e&255){if(!n){break i}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];s=R[g+44>>2];t=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,s,t,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+20>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,o,m,k,j,0);break j}Qa[h|0](e,f,b,o,m,k,j,N[i+8>>2]);break j}u=R[g+16>>2];Ie(e,f,b,U(U(m*u)+o),m,U(U(j*u)+k),j);break i}if(!n){break i}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+16>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,k,j,0);break j}Qa[h|0](e,f,b,k,j,N[i+4>>2]);break j}cq(e,f,b,U(U(j*R[g+16>>2])+k),j);break i}j=u;k=y;if(!h){break l}}if(N[g+32>>2]){o=R[g+36>>2];m=R[g+40>>2];if(!(o==R[g+44>>2]&m==R[g+48>>2])){i=N[f+16>>2];h=N[f+32>>2];if(h){h=N[h+4>>2]}else{h=0}Qa[i|0](f,e,b,o,m,h)}i=N[f+28>>2];h=N[f+32>>2];if(h){h=N[h+16>>2]}else{h=0}Qa[i|0](f,e,b,h);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=j;R[g+44>>2]=k;break k}ej(f,e,b,U(U(j*R[g+16>>2])+k),j)}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+20>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,k,j,k,j,0);break j}Qa[h|0](e,f,b,k,j,k,j,N[i+8>>2]);break j}k=U(U(j*R[g+16>>2])+k);Ie(e,f,b,k,j,k,j);break i}R[g+48>>2]=j;R[g+44>>2]=k}if(N[g+32>>2]){f=N[g+28>>2];e=N[g+24>>2];k=R[g+36>>2];j=R[g+40>>2];if(!(k==R[g+44>>2]&j==R[g+48>>2])){i=N[e+16>>2];h=N[e+32>>2];if(h){h=N[h+4>>2]}else{h=0}Qa[i|0](e,f,b,k,j,h)}i=N[e+28>>2];h=N[e+32>>2];if(h){h=N[h+16>>2]}else{h=0}Qa[i|0](e,f,b,h)}N[b>>2]=0;N[b+4>>2]=0;e=0;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;o=U(0);m=U(0);v=0;y=U(0);u=U(0);n=0;s=U(0);t=U(0)}d=d+1|0;if((C|0)!=(d|0)){continue}break}_a(N[g+4552>>2]);if(!w){break c}break b}ba(19169,14261,202,9940);F()}_a(N[g+4552>>2])}e=N[a+24>>2];d=N[e+112>>2];y:{if(d){break y}while(1){f=N[e+48>>2];if(!f){d=275552;break y}d=db(1,224);if(!d){d=275552;N[e+112>>2]=275552;break y}N[d+36>>2]=65536;Jg(d,f);N[d+220>>2]=0;if(!N[e+112>>2]){N[e+112>>2]=d;break y}Ke(d);_a(wf(d));d=N[e+112>>2];if(!d){continue}break}}if(kj(d,a,c,g+16|0,0,0)){break b}e=N[a+24>>2];d=N[e+116>>2];z:{if(d){break z}while(1){d=N[e+48>>2];if(!d){d=275552;break z}f=db(1,132);if(!f){d=275552;N[e+116>>2]=275552;break z}d=bq(f,d);if(!N[e+116>>2]){N[e+116>>2]=d;break z}_a(mj(d));d=N[e+116>>2];if(!d){continue}break}}if(!N[d+44>>2]|Q[d+128>>2]<=c>>>0){break b}e=lq(N[d+96>>2],c);ae(g+4544|0,N[d+88>>2],c);v=e>>>0>=Q[d+120>>2]?275552:N[d+124>>2]+T(e,28)|0;f=N[v+20>>2];n=N[a+84>>2];l=N[a+88>>2];h=N[d+80>>2];L[g+112|0]=0;G(g+116|0,0,4108);c=g+4288|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4296>>2]=0;c=g+4308|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4316>>2]=0;c=g+4328|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4336>>2]=0;c=g+4348|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4356>>2]=0;c=g+4368|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4376>>2]=0;c=g+4388|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4396>>2]=0;N[g+4416>>2]=0;c=g+4408|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4436>>2]=0;c=g+4428|0;N[c>>2]=0;N[c+4>>2]=0;L[g+4260|0]=0;N[g+104>>2]=0;c=N[g+4548>>2];e=N[g+4544>>2];N[g+96>>2]=e;N[g+100>>2]=c;N[g+4456>>2]=0;i=g+4448|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4272|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4264|0;N[i>>2]=0;N[i+4>>2]=0;N[g+4240>>2]=0;i=g+4232|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4496|0;N[i>>2]=0;N[i+4>>2]=0;N[g+4472>>2]=h;N[g+4224>>2]=e;N[g+4228>>2]=c;N[g+4256>>2]=0;N[g+4248>>2]=0;N[g+4252>>2]=0;L[g+4245|0]=1;L[g+4246|0]=0;N[g+4488>>2]=0;N[g+4492>>2]=0;e=107;i=107;A:{if(!h){break A}h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);i=107;if(h>>>0<1240){break A}i=h>>>0<33900?1131:32768}N[g+4480>>2]=f;N[g+4468>>2]=i;B:{if(!f){break B}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0<1240){break B}e=f>>>0<33900?1131:32768}N[g+4508>>2]=n;N[g+4504>>2]=l;N[g+4476>>2]=e;d=N[d+84>>2];N[g+4532>>2]=0;N[g+4512>>2]=d;L[g+4537|0]=0;L[g+4538|0]=0;N[g+4524>>2]=0;N[g+4528>>2]=0;e=c;h=g+112|0;c=0;C:{if(!l){break C}c=0;if(!n){break C}c=(O[d|0]|O[d+1|0]<<8)!=0}L[g+4536|0]=c;N[g+4520>>2]=N[v+24>>2];L[g+4244|0]=0;N[g+84>>2]=a;N[g+80>>2]=g+16;C=g+120|0;z=1e4;d=0;while(1){D:{z=z-1|0;if(!z){N[g+104>>2]=e+1;break D}E:{F:{G:{H:{I:{J:{a=d+1|0;K:{if(a>>>0<=e>>>0){c=N[g+96>>2];f=O[c+d|0];N[g+104>>2]=a;if((f|0)==12){d=d+2|0;if(d>>>0>e>>>0){f=65535;break K}a=O[a+c|0];N[g+104>>2]=d;f=a|256}L:{switch(f-10|0){case 0:case 19:iq(f,g+96|0,g+80|0);break E;case 6:jq(g+96|0);a=N[g+116>>2];M:{if(a){e=a-1|0;N[g+116>>2]=e;p=S[(h+(e<<3)|0)+8>>3];break M}e=0;N[147456]=0;N[147457]=0;L[g+112|0]=1;p=0}n=N[g+4516>>2];if(V(p)<2147483648){a=~~p}else{a=-2147483648}if((a|0)<0){break J}i=T(n^-1,a)+e|0;if(i>>>0>e>>>0){break H}if(!a){a=0;break F}if(!O[g+4536|0]){d=0;if((a|0)!=1){c=a&1;l=a&-2;while(1){f=d+i|0;N:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break N}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;f=i+(d|1)|0;O:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break O}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;d=d+2|0;if((l|0)!=(d|0)){continue}break}if(!c){break F}}c=d+i|0;if(c>>>0>>0){break I}N[147456]=0;N[147457]=0;L[g+112|0]=1;S[73728]=0;break F}f=N[g+4528>>2];if(!f){break G}A=a+i|0;v=N[g+4532>>2];c=f&-2;I=f&1;l=0;while(1){d=A+T(l,n)|0;r=513-d|0;r=r>>>0<=513?r:0;r=n>>>0>r>>>0?r:n;w=i+l|0;P:{if(w>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;w=589824;p=0;break P}w=(h+(w<<3)|0)+8|0;p=S[w>>3]}B=0;Q:{if((f|0)!=(r|0)){break Q}r=C+(d<<3)|0;d=0;if((f|0)!=1){while(1){E=d|1;B=+R[v+(E<<2)>>2]*S[r+(E<<3)>>3]+(+R[v+(d<<2)>>2]*S[r+(d<<3)>>3]+B);d=d+2|0;if((c|0)!=(d|0)){continue}break}d=c;if(!I){break Q}}B=+R[v+(d<<2)>>2]*S[r+(d<<3)>>3]+B}S[w>>3]=p+B;l=l+1|0;if((l|0)!=(a|0)){continue}break};break F;case 5:break L;default:break K}}a=N[g+116>>2];R:{if(!a){d=0;N[147456]=0;N[147457]=0;L[g+112|0]=1;break R}p=S[h+(a<<3)>>3];S:{if(V(p)<2147483648){d=~~p;break S}d=-2147483648}if((d|0)>=0){break R}L[g+112|0]=1;d=0}T:{if(O[g+4537|0]|O[g+4538|0]){N[g+104>>2]=e+1;break T}N[g+4520>>2]=d}N[g+116>>2]=0;L[g+4537|0]=1;break E}f=N[g+4264>>2]?11:14}iq(f,g+96|0,g+80|0);break E}L[g+112|0]=1;a=0;break F}c=h+(c<<3)|0;S[c+8>>3]=S[c+8>>3]+0;break F}N[g+104>>2]=N[g+100>>2]+1;break E}d=0;if((a|0)!=1){c=a&1;l=a&-2;while(1){f=d+i|0;U:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break U}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;f=i+(d|1)|0;V:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break V}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;d=d+2|0;if((l|0)!=(d|0)){continue}break}if(!c){break F}}c=d+i|0;W:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;d=589824;p=0;break W}d=(h+(c<<3)|0)+8|0;p=S[d>>3]+0}S[d>>3]=p}a=T(a,n);if(a>>>0<=e>>>0){N[g+116>>2]=e-a;break E}L[g+112|0]=1}if(O[g+4260|0]){break D}d=N[g+104>>2];e=N[g+100>>2];if(O[g+112|0]|d>>>0>e>>>0){break D}if(!O[g+4244|0]){continue}}break}if(N[g+4528>>2]){N[g+4528>>2]=0}_a(N[g+4532>>2])}if(N[g+32>>2]){c=N[g+28>>2];a=N[g+24>>2];k=R[g+36>>2];j=R[g+40>>2];if(!(k==R[g+44>>2]&j==R[g+48>>2])){e=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](a,c,b,k,j,d)}e=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](a,c,b,d)}La=g+4560|0}function Aq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;k=La-32|0;La=k;a:{b:{a=L[b+140|0];if((a|0)>=0){N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;L[b+140|0]=a|128;N[b+84>>2]=N[b+80>>2];w=N[b+68>>2];c:{while(1){d:{if(!O[b+60|0]|e>>>0>=w>>>0){break d}a=N[b+80>>2];o=a+T(e,20)|0;d=N[o>>2];if((d&-2)==12334){e:{if(!(N[b+72>>2]!=(h|0)|h>>>0<=l>>>0)){wb(b,3,l,e,1,1);if(O[b+62|0]){a=N[b+84>>2];f=N[b+80>>2];e=N[b+72>>2];if(!((a|0)==(f|0)&(e|0)==N[b+64>>2])){g=e+1|0;if(!(!g|g>>>0>2])){if(!gb(b,g)){break d}e=N[b+72>>2];f=N[b+80>>2];a=N[b+84>>2]}g=N[b+64>>2];f:{if((a|0)!=(f|0)){break f}if(e+1>>>0<=g+1>>>0){a=f;break f}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;i=T(e,20);if(!i){break f}B(a,f,i);e=N[b+72>>2];a=N[b+84>>2];g=N[b+64>>2];f=N[b+80>>2]}a=T(e,20)+a|0;f=T(g,20)+f|0;e=N[f+4>>2];N[a>>2]=N[f>>2];N[a+4>>2]=e;N[a+16>>2]=N[f+16>>2];e=N[f+12>>2];N[a+8>>2]=N[f+8>>2];N[a+12>>2]=e;e=N[b+72>>2]}N[b+72>>2]=e+1}N[b+64>>2]=N[b+64>>2]+1;N[k+8>>2]=0;a=N[c+96>>2];f=N[a+28>>2];e=N[c+100>>2];i=k+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(Qa[f|0](c,e,d,i,a)|0){a=N[c+96>>2];d=N[a+40>>2];e=N[c+100>>2];f=N[k+8>>2];a=N[a+12>>2];if(a){a=N[a+20>>2]}else{a=0}if(!(Qa[d|0](c,e,f,a)|0)){break e}}vd(b,l,h+1|0);d=N[b+84>>2];a=d+T(h,20)|0;N[k+24>>2]=N[a+16>>2];f=N[a+12>>2];N[k+16>>2]=N[a+8>>2];N[k+20>>2]=f;f=N[a+4>>2];N[k+8>>2]=N[a>>2];N[k+12>>2]=f;a=d+T(l,20)|0;B(a+20|0,a,T(h-l|0,20));N[a+16>>2]=N[k+24>>2];d=N[k+20>>2];N[a+8>>2]=N[k+16>>2];N[a+12>>2]=d;d=N[k+12>>2];N[a>>2]=N[k+8>>2];N[a+4>>2]=d;break e}g:{if(O[b+16|0]&16){break g}N[k+8>>2]=0;a=N[c+96>>2];f=N[a+28>>2];e=N[c+100>>2];i=k+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[f|0](c,e,9676,i,a)|0)){break g}N[k+8>>2]=0;a=N[c+96>>2];f=N[a+28>>2];e=N[c+100>>2];i=k+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}h:{if(!(Qa[f|0](c,e,d,i,a)|0)){h=d;a=9676;break h}a=N[c+96>>2];f=N[a+40>>2];e=N[c+100>>2];i=N[k+8>>2];a=N[a+12>>2];if(a){a=N[a+20>>2]}else{a=0}a=Qa[f|0](c,e,i,a)|0;h=a?d:9676;a=a?9676:d}d=N[b+72>>2]+2|0;if(!(!d|d>>>0>2])){if(!gb(b,d)){break e}}e=N[b+64>>2];d=N[b+84>>2];i:{if((d|0)!=N[b+80>>2]){break i}f=N[b+72>>2];if(f+2>>>0<=e+1>>>0){break i}if(!O[b+62|0]){break b}g=N[b+88>>2];N[b+84>>2]=g;f=T(f,20);if(!f){break i}B(g,d,f);e=N[b+64>>2]}d=N[b+68>>2];if(d>>>0>>0){break a}j:{if(d>>>0>e>>>0){d=N[b+80>>2]+T(e,20)|0;e=N[b+72>>2];l=N[b+84>>2];break j}l=N[b+84>>2];e=N[b+72>>2];d=e-1|0;d=l+T(d>>>0<=e>>>0?d:0,20)|0}f=T(e,20)+l|0;e=N[d+4>>2];N[f>>2]=N[d>>2];N[f+4>>2]=e;N[f+16>>2]=N[d+16>>2];e=d+8|0;g=N[e+4>>2];N[f+8>>2]=N[e>>2];N[f+12>>2]=g;N[f>>2]=h;e=N[d+4>>2];N[f+20>>2]=N[d>>2];N[f+24>>2]=e;e=N[d+12>>2];N[f+28>>2]=N[d+8>>2];N[f+32>>2]=e;N[f+36>>2]=N[d+16>>2];N[f+20>>2]=a;N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+2;break e}if(O[b+62|0]){a=N[b+80>>2];d=N[b+84>>2];e=N[b+72>>2];if(!((a|0)==(d|0)&(e|0)==N[b+64>>2])){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(b,f)){break e}e=N[b+72>>2];d=N[b+84>>2];a=N[b+80>>2]}h=N[b+64>>2];k:{if((a|0)!=(d|0)){break k}if(e+1>>>0<=h+1>>>0){d=a;break k}if(!O[b+62|0]){break b}d=N[b+88>>2];N[b+84>>2]=d;f=T(e,20);if(!f){break k}B(d,a,f);e=N[b+72>>2];d=N[b+84>>2];h=N[b+64>>2];a=N[b+80>>2]}a=T(h,20)+a|0;f=N[a+4>>2];d=T(e,20)+d|0;N[d>>2]=N[a>>2];N[d+4>>2]=f;N[d+16>>2]=N[a+16>>2];f=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=f;e=N[b+72>>2]}N[b+72>>2]=e+1}N[b+64>>2]=N[b+64>>2]+1}h=N[b+72>>2];l=h;e=N[b+64>>2];continue}l=N[b+72>>2];l:{m:{n:{o:{p:{q:{r:{x=d-4352|0;if(!(d-43360>>>0>28&x>>>0>=96)){m=e+1|0;if(m>>>0>=w>>>0){break n}n=N[T(m,20)+a>>2];if(n-4448>>>0>=72&n-55216>>>0>22){break n}p=0;s=0;f=e+2|0;if(f>>>0>>0){f=N[T(f,20)+a>>2];g=f-4520>>>0<88|f-55243>>>0<49;p=g?f-4519|0:0;s=g?f:0}f=N[b+68>>2];v=s?3:2;g=v+e|0;t=f>>>0>>0?f:g;q=t-e|0;s:{if(q>>>0<2){break s}i=N[b+144>>2]|32;N[b+144>>2]=i;if(e>>>0>=t>>>0){break s}h=-1;f=e;r=t+(f^-1)|0;if(r>>>0>=3){y=q&-4;g=0;while(1){j=T(f,20)+a|0;u=N[j+8>>2];h=h>>>0>>0?h:u;u=N[j+28>>2];h=h>>>0>>0?h:u;u=N[j+48>>2];h=h>>>0>>0?h:u;j=N[j+68>>2];h=h>>>0>>0?h:j;f=f+4|0;g=g+4|0;if((y|0)!=(g|0)){continue}break}}j=0;g=q&3;if(g){while(1){y=N[(T(f,20)+a|0)+8>>2];h=h>>>0>>0?h:y;f=f+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}f=e;if(q&1){if(N[o+8>>2]!=(h|0)){N[o+4>>2]=N[o+4>>2]|3}f=m}if(!r){break s}while(1){g=T(f,20)+a|0;if(N[g+8>>2]!=(h|0)){i=i|32;N[b+144>>2]=i;N[g+4>>2]=N[g+4>>2]|3}g=T(f+1|0,20)+a|0;if(N[g+8>>2]!=(h|0)){i=i|32;N[b+144>>2]=i;N[g+4>>2]=N[g+4>>2]|3}f=f+2|0;if((t|0)!=(f|0)){continue}break}}if(!(x>>>0>18|n-4449>>>0>20|(s-4520>>>0>26?s:0))){a=((T(d,588)+T(n,28)|0)+p|0)-2639516|0;N[k+4>>2]=a;N[k+8>>2]=0;d=N[c+96>>2];f=N[d+28>>2];e=N[c+100>>2];i=k+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[f|0](c,e,a,i,d)|0){Sg(b,v,k+4|0);h=l+1|0;e=N[b+64>>2];continue}e=N[b+64>>2];a=N[b+80>>2]}L[(T(e,20)+a|0)+19|0]=1;e=N[b+80>>2];if(O[b+62|0]){a=N[b+84>>2];d=N[b+72>>2];if(!((e|0)==(a|0)&(d|0)==N[b+64>>2])){f=d+1|0;if(!(!f|f>>>0>2])){if(!gb(b,f)){break r}d=N[b+72>>2];e=N[b+80>>2];a=N[b+84>>2]}h=N[b+64>>2];t:{if((a|0)!=(e|0)){break t}if(d+1>>>0<=h+1>>>0){a=e;break t}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;f=T(d,20);if(!f){break t}B(a,e,f);d=N[b+72>>2];a=N[b+84>>2];h=N[b+64>>2];e=N[b+80>>2]}a=T(d,20)+a|0;d=T(h,20)+e|0;f=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=f;N[a+16>>2]=N[d+16>>2];f=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=f;e=N[b+80>>2];d=N[b+72>>2]}N[b+72>>2]=d+1}d=N[b+64>>2]+1|0;N[b+64>>2]=d;break m}a=d-44032|0;if(a>>>0>11171){break n}N[k+8>>2]=0;f=N[c+96>>2];e=N[f+28>>2];i=N[c+100>>2];g=k+8|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}s=Qa[e|0](c,i,d,g,f)|0;t=((a&65535)>>>0)/588|0;a=a-T(t,588)|0;q=((a&65535)>>>0)/28|0;p=T(q,-28)+a|0;m=p&65535;if(m){break q}g=N[b+64>>2];a=g+1|0;u:{if(a>>>0>=w>>>0){break u}a=N[N[b+80>>2]+T(a,20)>>2];if(a-4520>>>0>26){break u}a=(a+d|0)-4519|0;N[k+4>>2]=a;N[k+8>>2]=0;d=N[c+96>>2];f=N[d+28>>2];e=N[c+100>>2];i=k+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[f|0](c,e,a,i,d)|0){Sg(b,2,k+4|0);h=l+1|0;e=N[b+64>>2];continue}a=N[b+68>>2];g=N[b+64>>2];d=g+2|0;j=a>>>0>>0?a:d;o=j-g|0;if(o>>>0<2){break u}f=N[b+144>>2]|32;N[b+144>>2]=f;if(g>>>0>=j>>>0){break u}a=N[b+80>>2];d=-1;i=g;x=j+(g^-1)|0;if(x>>>0>=3){v=o&-4;n=0;while(1){e=a+T(i,20)|0;r=N[e+8>>2];d=d>>>0>>0?d:r;r=N[e+28>>2];d=d>>>0>>0?d:r;r=N[e+48>>2];d=d>>>0>>0?d:r;e=N[e+68>>2];d=d>>>0>>0?d:e;i=i+4|0;n=n+4|0;if((v|0)!=(n|0)){continue}break}}e=0;n=o&3;if(n){while(1){v=N[(a+T(i,20)|0)+8>>2];d=d>>>0>>0?d:v;i=i+1|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}i=g;if(o&1){e=a+T(g,20)|0;if(N[e+8>>2]!=(d|0)){N[e+4>>2]=N[e+4>>2]|3}i=g+1|0}if(!x){break u}while(1){e=a+T(i,20)|0;if(N[e+8>>2]!=(d|0)){f=f|32;N[b+144>>2]=f;N[e+4>>2]=N[e+4>>2]|3}e=a+T(i+1|0,20)|0;if(N[e+8>>2]!=(d|0)){f=f|32;N[b+144>>2]=f;N[e+4>>2]=N[e+4>>2]|3}i=i+2|0;if((j|0)!=(i|0)){continue}break}}if(!s){break p}a=g+1|0;if(a>>>0>=w>>>0){break o}a=N[N[b+80>>2]+T(a,20)>>2];if(a-4520>>>0<88){break p}if(a-55243>>>0>48){break o}break p}d=N[b+64>>2];e=N[b+80>>2];break m}if(s){break o}}N[k+8>>2]=0;a=N[c+96>>2];d=N[a+28>>2];v:{f=N[c+100>>2];e=t|4352;i=k+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[d|0](c,f,e,i,a)|0)){break v}N[k+8>>2]=0;a=N[c+96>>2];d=N[a+28>>2];f=N[c+100>>2];i=q+4449|0;g=k+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[d|0](c,f,i,g,a)|0)){break v}f=p+4519&65535;w:{x:{y:{if(!m){a=N[b+72>>2]+2|0;if(!(!a|a>>>0>2])){j=2;if(!gb(b,a)){break x}}j=2;a=N[b+84>>2];if((a|0)!=N[b+80>>2]){break y}d=N[b+72>>2];if(d+2>>>0<=N[b+64>>2]+1>>>0){break y}if(!O[b+62|0]){break b}g=N[b+88>>2];N[b+84>>2]=g;d=T(d,20);if(!d){break y}B(g,a,d);break y}N[k+8>>2]=0;a=N[c+96>>2];d=N[a+28>>2];g=N[c+100>>2];j=k+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[d|0](c,g,f,j,a)|0)){break o}a=N[b+72>>2]+3|0;if(!(!a|a>>>0>2])){j=3;if(!gb(b,a)){break w}}j=3;a=N[b+84>>2];if((a|0)!=N[b+80>>2]){break y}d=N[b+72>>2];if(d+3>>>0<=N[b+64>>2]+1>>>0){break y}if(!O[b+62|0]){break b}g=N[b+88>>2];N[b+84>>2]=g;d=T(d,20);if(!d){break y}B(g,a,d)}d=N[b+68>>2];a=N[b+64>>2];if(d>>>0>>0){break a}z:{if(a>>>0>>0){d=N[b+72>>2];g=N[b+84>>2];a=N[b+80>>2]+T(a,20)|0;break z}g=N[b+84>>2];d=N[b+72>>2];a=d-1|0;a=g+T(a>>>0<=d>>>0?a:0,20)|0}d=T(d,20)+g|0;g=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=g;N[d+16>>2]=N[a+16>>2];g=a+8|0;h=N[g+4>>2];N[d+8>>2]=N[g>>2];N[d+12>>2]=h;N[d>>2]=e;e=N[a+4>>2];N[d+20>>2]=N[a>>2];N[d+24>>2]=e;e=N[a+12>>2];N[d+28>>2]=N[a+8>>2];N[d+32>>2]=e;N[d+36>>2]=N[a+16>>2];N[d+20>>2]=i;if(m){e=N[a+4>>2];N[d+40>>2]=N[a>>2];N[d+44>>2]=e;N[d+56>>2]=N[a+16>>2];e=N[a+12>>2];N[d+48>>2]=N[a+8>>2];N[d+52>>2]=e;N[d+40>>2]=f}N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+j}if(!s|m){break w}A:{if(O[b+62|0]){a=N[b+80>>2];d=N[b+84>>2];e=N[b+72>>2];if(!((a|0)==(d|0)&(e|0)==N[b+64>>2])){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(b,f)){break A}e=N[b+72>>2];d=N[b+84>>2];a=N[b+80>>2]}h=N[b+64>>2];B:{if((a|0)!=(d|0)){break B}if(e+1>>>0<=h+1>>>0){d=a;break B}if(!O[b+62|0]){break b}d=N[b+88>>2];N[b+84>>2]=d;f=T(e,20);if(!f){break B}B(d,a,f);e=N[b+72>>2];d=N[b+84>>2];h=N[b+64>>2];a=N[b+80>>2]}a=T(h,20)+a|0;f=N[a+4>>2];d=T(e,20)+d|0;N[d>>2]=N[a>>2];N[d+4>>2]=f;N[d+16>>2]=N[a+16>>2];f=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=f;e=N[b+72>>2]}N[b+72>>2]=e+1}N[b+64>>2]=N[b+64>>2]+1}j=j+1|0}if(!O[b+60|0]){break d}a=N[b+84>>2];d=a+T(l,20)|0;L[d+39|0]=2;L[d+19|0]=1;h=j+l|0;d=l+2|0;if(h>>>0>d>>>0){L[(a+T(d,20)|0)+19|0]=3}if(N[b+20>>2]){break l}vd(b,l,h);e=N[b+64>>2];continue}if(m){break o}a=N[b+64>>2];f=a+1|0;if(w>>>0<=f>>>0){break o}m=N[b+80>>2];d=N[m+T(f,20)>>2];if(d-4520>>>0>=88&d-55243>>>0>48){break o}d=N[b+68>>2];e=a+2|0;o=d>>>0>>0?d:e;n=o-a|0;if(n>>>0<2){break o}i=N[b+144>>2]|32;N[b+144>>2]=i;if(a>>>0>=o>>>0){break o}e=-1;d=a;t=o+(a^-1)|0;if(t>>>0>=3){q=n&-4;g=0;while(1){j=m+T(d,20)|0;p=N[j+8>>2];e=e>>>0

>>0?e:p;p=N[j+28>>2];e=e>>>0

>>0?e:p;p=N[j+48>>2];e=e>>>0

>>0?e:p;j=N[j+68>>2];e=e>>>0>>0?e:j;d=d+4|0;g=g+4|0;if((q|0)!=(g|0)){continue}break}}j=0;g=n&3;if(g){while(1){q=N[(m+T(d,20)|0)+8>>2];e=e>>>0>>0?e:q;d=d+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}C:{if(!(n&1)){f=a;break C}a=m+T(a,20)|0;if(N[a+8>>2]==(e|0)){break C}N[a+4>>2]=N[a+4>>2]|3}if(!t){break o}while(1){a=m+T(f,20)|0;if(N[a+8>>2]!=(e|0)){i=i|32;N[b+144>>2]=i;N[a+4>>2]=N[a+4>>2]|3}a=m+T(f+1|0,20)|0;if(N[a+8>>2]!=(e|0)){i=i|32;N[b+144>>2]=i;N[a+4>>2]=N[a+4>>2]|3}f=f+2|0;if((o|0)!=(f|0)){continue}break}}h=s?l+1|0:h}if(O[b+62|0]){a=N[b+80>>2];d=N[b+84>>2];e=N[b+72>>2];if(!((a|0)==(d|0)&(e|0)==N[b+64>>2])){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(b,f)){break l}e=N[b+72>>2];d=N[b+84>>2];a=N[b+80>>2]}f=N[b+64>>2];D:{if((a|0)!=(d|0)){break D}if(e+1>>>0<=f+1>>>0){d=a;break D}if(!O[b+62|0]){break b}d=N[b+88>>2];N[b+84>>2]=d;g=T(e,20);if(!g){break D}B(d,a,g);e=N[b+72>>2];d=N[b+84>>2];f=N[b+64>>2];a=N[b+80>>2]}a=T(f,20)+a|0;f=N[a+4>>2];d=T(e,20)+d|0;N[d>>2]=N[a>>2];N[d+4>>2]=f;N[d+16>>2]=N[a+16>>2];f=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=f;e=N[b+72>>2]}N[b+72>>2]=e+1}N[b+64>>2]=N[b+64>>2]+1;break l}L[(T(d,20)+e|0)+19|0]=2;E:{if(O[b+62|0]){a=N[b+80>>2];d=N[b+84>>2];e=N[b+72>>2];if(!((a|0)==(d|0)&(e|0)==N[b+64>>2])){f=e+1|0;if(!(!f|f>>>0>2])){if(!gb(b,f)){break E}e=N[b+72>>2];d=N[b+84>>2];a=N[b+80>>2]}h=N[b+64>>2];F:{if((a|0)!=(d|0)){break F}if(e+1>>>0<=h+1>>>0){d=a;break F}if(!O[b+62|0]){break b}d=N[b+88>>2];N[b+84>>2]=d;f=T(e,20);if(!f){break F}B(d,a,f);e=N[b+72>>2];d=N[b+84>>2];h=N[b+64>>2];a=N[b+80>>2]}a=T(h,20)+a|0;f=N[a+4>>2];d=T(e,20)+d|0;N[d>>2]=N[a>>2];N[d+4>>2]=f;N[d+16>>2]=N[a+16>>2];f=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=f;e=N[b+72>>2]}N[b+72>>2]=e+1}N[b+64>>2]=N[b+64>>2]+1}a=2;G:{if(!s){break G}L[(N[b+80>>2]+T(N[b+64>>2],20)|0)+19|0]=3;if(O[b+62|0]){a=N[b+80>>2];d=N[b+84>>2];e=N[b+72>>2];if(!((a|0)==(d|0)&(e|0)==N[b+64>>2])){f=e+1|0;if(!(!f|f>>>0>2])){a=3;if(!gb(b,f)){break G}e=N[b+72>>2];d=N[b+84>>2];a=N[b+80>>2]}h=N[b+64>>2];H:{if((a|0)!=(d|0)){break H}if(e+1>>>0<=h+1>>>0){d=a;break H}if(!O[b+62|0]){break c}d=N[b+88>>2];N[b+84>>2]=d;f=T(e,20);if(!f){break H}B(d,a,f);e=N[b+72>>2];d=N[b+84>>2];h=N[b+64>>2];a=N[b+80>>2]}a=T(h,20)+a|0;f=N[a+4>>2];d=T(e,20)+d|0;N[d>>2]=N[a>>2];N[d+4>>2]=f;N[d+16>>2]=N[a+16>>2];f=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=f;e=N[b+72>>2]}N[b+72>>2]=e+1}N[b+64>>2]=N[b+64>>2]+1;a=3}if(!O[b+60|0]){break d}h=a+l|0;if(N[b+20>>2]){break l}vd(b,l,h);e=N[b+64>>2];continue}e=N[b+64>>2];continue}break}zc(b);La=k+32|0;return}break b}ba(22778,14165,169,12138);F()}ba(8694,17855,209,11932);F()}ba(13080,14165,312,10949);F()}function ZA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;c=c?-1:0;L[a+24|0]=c;d=c>>>8|0;L[a+25|0]=d;e=c>>>16|0;L[a+26|0]=e;f=c>>>24|0;L[a+27|0]=f;L[a+28|0]=c;g=c>>>8|0;L[a+29|0]=g;h=c>>>16|0;L[a+30|0]=h;i=c>>>24|0;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i}function Mv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=La-384|0;La=h;N[b>>2]=1;i=N[b+136>>2];a:{if(!i){d=11;e=N[N[b+96>>2]+4>>2];if(!e){break a}f=N[e+16>>2];if((f|0)<=0){break a}e=e+20|0;f=e+(f<<2)|0;while(1){i=N[N[e>>2]>>2];if(cb(N[i+8>>2],7988)){e=e+4|0;if(f>>>0>e>>>0){continue}break a}break}i=N[i+20>>2];if(!i){break a}N[b+136>>2]=i}if(!N[b+320>>2]){e=N[N[b+96>>2]+4>>2];b:{if(!e){d=0;break b}d=0;f=N[e+16>>2];if((f|0)<=0){break b}e=e+20|0;f=e+(f<<2)|0;while(1){j=N[N[e>>2]>>2];if(cb(N[j+8>>2],11971)){e=e+4|0;if(f>>>0>e>>>0){continue}break b}break}d=N[j+20>>2]}N[b+320>>2]=d}e=N[a+20>>2];if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}i=N[b+136>>2]}N[a+8>>2]=0;o=N[b+100>>2];N[h+108>>2]=0;g=N[b+104>>2];a=h+8|0;G(a,0,100);Qa[N[N[i+4>>2]>>2]](a,0,0,o);N[h+80>>2]=g;a=N[g+4>>2];m=N[g+8>>2];c:{d:{if(N[g+20>>2]){d=85;if(a>>>0<31){break c}e:{f:{a=N[g+28>>2];d=Qa[N[a+4>>2]](a,31)|0;if(d){N[g>>2]=d;f=Qa[N[g+20>>2]](g,N[g+8>>2],d,31)|0;e=N[g>>2];if(f>>>0<=30){break f}d=0;break e}N[g>>2]=0;d=64;break c}if(e){Qa[N[a+8>>2]](a,e)}e=0;N[g>>2]=0;d=85}N[g+32>>2]=e;N[g+36>>2]=e?e+31|0:0;N[g+8>>2]=f+N[g+8>>2];i=e;if(f>>>0>=31){break d}break c}d=85;if(a-m>>>0<31|a>>>0<=m>>>0){break c}N[g+8>>2]=m+31;e=N[g>>2];i=m+e|0;N[g+32>>2]=i;N[g+36>>2]=i+31}a=bb(i,9128,31);if(N[g+20>>2]){if(e){d=N[g+28>>2];Qa[N[d+8>>2]](d,e)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;if(a){d=2;break c}i=N[g+8>>2];n=h+84|0;j=h+112|9;g:{while(1){a=h+112|0;e=265;f=i;k=0;while(1){d=85;l=N[g+4>>2];if(l>>>0<=i>>>0){break c}l=l-i|0;l=e>>>0>>0?e:l;e=N[g+20>>2];h:{if(!e){B(a,N[g>>2]+i|0,l);N[g+8>>2]=i+l;break h}e=Qa[e|0](g,i,a,l)|0;N[g+8>>2]=e+i;if(e>>>0>>0){break c}}a=a+l|0;L[a|0]=0;i:{e=h+112|0;a=a-6|0;if(e>>>0>>0){d=O[h+112|0];while(1){j:{if((d&255)!=83){break j}if(bb(e,18380,9)){break j}d=10;break i}k:{d=O[e+1|0];if((d|0)!=115){break k}if(bb(e,10023,6)){break k}d=7;break i}e=e+1|0;if((a|0)!=(e|0)){continue}break}}if(k+l>>>0<9){d=3;break c}a=l+(h+k|0)|0;d=O[a+103|0]|O[a+104|0]<<8|(O[a+105|0]<<16|O[a+106|0]<<24);e=O[a+107|0]|O[a+108|0]<<8|(O[a+109|0]<<16|O[a+110|0]<<24);L[h+120|0]=O[a+111|0];N[h+112>>2]=d;N[h+116>>2]=e;e=256;f=f+256|0;i=N[g+8>>2];k=9;a=j;continue}break}l:{a=N[g+20>>2];if(a){if(!(Qa[a|0](g,m,0,0)|0)){break l}d=85;break c}if(m>>>0<=Q[g+4>>2]){break l}d=85;break c}N[g+8>>2]=m;i=((f-(h+112|0)|0)+e|0)+d|0;e=i-m|0;d=dc(g,e,n);if(d){break c}N[h+92>>2]=i;a=N[h+84>>2];N[h+12>>2]=a;N[h+104>>2]=-1;N[h+8>>2]=a;N[h+88>>2]=e;N[h+16>>2]=a+e;d=h+8|0;Qa[N[h+40>>2]](d);Qa[N[h+36>>2]](d);e=N[h+8>>2];Qa[N[h+40>>2]](d);Qa[N[h+36>>2]](d);m:{d=N[h+8>>2];f=N[h+16>>2];l=f-6|0;n:{if(d>>>0<=l>>>0){k=f-9|0;while(1){f=e;e=d;d=N[h+20>>2];if(d){break c}o:{if(O[e|0]!=83|e>>>0>k>>>0){break o}if(bb(e,18380,9)){break o}if(bb(a,22540,5)){break g}a=Kb(f,0);if((a|0)>=0){break m}d=3;break c}p:{if(O[e+1|0]!=115){break p}if(bb(e,10023,6)){break p}d=2;break c}a=h+8|0;Qa[N[h+40>>2]](a);Qa[N[h+36>>2]](a);a=f;d=N[h+8>>2];if(l>>>0>=d>>>0){continue}break}if(!g){break n}}if(!N[g+20>>2]){break n}a=N[h+84>>2];if(!a){break n}d=N[g+28>>2];Qa[N[d+8>>2]](d,a)}N[h+84>>2]=0;q:{a=N[g+20>>2];if(a){if(!(Qa[a|0](g,i,0,0)|0)){break q}d=85;break c}if(Q[g+4>>2]>=i>>>0){break q}d=85;break c}N[g+8>>2]=i;continue}break}N[h+96>>2]=a}N[h+20>>2]=0;e=N[h+84>>2];k=e+N[h+88>>2]|0;N[h+16>>2]=k;j=b+164|0;g=b+312|0;m=b+196|0;l=b+140|0;q=k-18|0;r:while(1){N[h+8>>2]=e;Qa[N[h+36>>2]](h+8|0);a=N[h+8>>2];d=a>>>0>>0?a-17|0:q;if(d>>>0>e>>>0){i=N[h+104>>2];while(1){s:{if(O[e|0]!=37){break s}if(bb(e,9603,17)|N[b+300>>2]<=0){break s}i=i+1|0;N[h+104>>2]=i}e=e+1|0;if((d|0)!=(e|0)){continue}break}}t:{if(a>>>0>=k>>>0){break t}Qa[N[h+40>>2]](h+8|0);e=N[h+8>>2];if(N[h+20>>2]|k>>>0<=e>>>0){break t}if(O[a|0]!=47|k>>>0<=a+2>>>0){continue}n=a+1|0;if((n|0)==(e|0)){continue}i=e-n|0;if(i>>>0>21){continue}p=O[n|0];d=34672;a=15898;u:{if(i>>>0>=2){while(1){f=d;v:{if((p|0)!=O[a|0]){break v}d=1;if((nb(a)|0)!=(i|0)){break v}while(1){if(O[d+n|0]!=O[a+d|0]){break v}d=d+1|0;if((i|0)!=(d|0)){continue}break}d=f;break u}d=f+36|0;a=N[f+36>>2];if(a){continue}continue r}}while(1){if((p|0)==O[a|0]){if((nb(a)|0)==(i|0)){break u}}a=N[d+36>>2];d=d+36|0;if(a){continue}break}continue}e=N[d+8>>2];w:{if((e|0)==11){Qa[N[d+12>>2]](b,h+8|0);d=N[h+20>>2];break w}a=l;x:{y:{z:{A:{switch(N[d+4>>2]){case 3:a=j;break z;case 2:a=g;break z;case 5:a=m;break z;case 0:break z;default:break A}}a=N[h+104>>2];if((a|0)<0|(a|0)>=N[b+300>>2]){break y}a=N[b+304>>2]+T(a,252)|0}N[h+112>>2]=a;if(e-9>>>0>1){break x}d=Qa[N[h+76>>2]](h+8|0,d,h+112|0,0,0)|0;break w}d=160;N[h+20>>2]=160;break c}d=Qa[N[h+72>>2]](h+8|0,d,h+112|0,0,0)|0}N[h+20>>2]=d;if(d){break c}e=N[h+8>>2];continue}break}if(!N[b+300>>2]){d=3;break c}d=N[h+20>>2];if(d|(c|0)<0){break c}d=Qa[N[o+4>>2]](o,40)|0;if(!d){N[b+328>>2]=0;d=64;break c}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+32|0]=0;L[d+33|0]=0;L[d+34|0]=0;L[d+35|0]=0;L[d+36|0]=0;L[d+37|0]=0;L[d+38|0]=0;L[d+39|0]=0;L[d+24|0]=0;L[d+25|0]=0;L[d+26|0]=0;L[d+27|0]=0;L[d+28|0]=0;L[d+29|0]=0;L[d+30|0]=0;L[d+31|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;N[b+328>>2]=d;a=N[b+104>>2];B:{i=N[h+96>>2];C:{if(i){f=N[h+92>>2];d=N[a+4>>2]-f|0;if(d>>>0>>0){N[h+96>>2]=d;i=d}D:{E:{if((i|0)>0){e=Qa[N[o+4>>2]](o,i)|0;if(e){break E}d=64;break B}d=6;if(i){break B}e=0;d=0;break D}a=N[b+104>>2];f=N[h+92>>2];d=N[h+96>>2]}N[b+324>>2]=e;i=La-256|0;La=i;m=a;j=N[a+20>>2];F:{G:{if(j){g=85;a=e;if(!(Qa[j|0](m,f,0,0)|0)){break G}break F}g=85;a=e;if(Q[m+4>>2]>>0){break F}}N[m+8>>2]=f;if((d|0)<=0){a=e}else{n=d+e|0;o=1;f=e;d=i;l=d;while(1){a=f;H:{I:{J:{while(1){if(d>>>0>=l>>>0){d=N[m+4>>2];f=N[m+8>>2];if((d|0)==(f|0)){g=160;break F}g=85;if(d>>>0<=f>>>0){break F}d=d-f|0;d=d>>>0>=256?256:d;j=N[m+20>>2];K:{if(!j){B(i,f+N[m>>2]|0,d);N[m+8>>2]=d+f;j=d;break K}j=Qa[j|0](m,f,i,d)|0;N[m+8>>2]=f+j;if(d>>>0>j>>>0){break F}}l=i+j|0;d=i}f=O[d|0];j=f-48|0;if(j>>>0<10){break I}if((f-97&255)>>>0>=6){if((f-65&255)>>>0<6){break J}j=0;g=160;k=0;L:{switch(f|0){case 62:break H;case 0:case 9:case 10:case 12:case 13:case 32:break L;default:break F}}d=d+1|0;continue}break}j=f-87|0;break I}j=f-55|0}k=1}M:{if(o&255){j=j<<4;f=a;break M}j=O[a|0]+j|0;f=a+1|0}L[a|0]=j;d=d+1|0;o=1-o|0;if(f>>>0>>0&k){continue}break}a=f}g=0}N[h+112>>2]=a-e;La=i+256|0;d=g;if(d){break c}d=N[b+324>>2];e=N[h+112>>2];a=N[b+328>>2];N[a+32>>2]=0;N[a+8>>2]=0;N[a+4>>2]=e;N[a>>2]=d;N[a+20>>2]=0;N[a+24>>2]=0;a=0;break C}e=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=e;e=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=e;e=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=e;e=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=e;e=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=e;a=N[h+92>>2]}N[b+308>>2]=a;i=N[b+288>>2];if((i|0)<0){d=3;break c}j=N[b+292>>2];if((j|0)<=0){d=3;break c}if(i>>>0>4){d=3;break c}if(j>>>0>4){d=3;break c}e=N[N[b+328>>2]+4>>2]-a|0;m=N[b+300>>2];if((m|0)>0){l=N[b+304>>2];d=0;while(1){a=l+T(d,252)|0;if(Q[a+112>>2]>=1001){N[a+112>>2]=7}if(Q[a+116>>2]>=1001){N[a+116>>2]=1}f=N[a+248>>2];if((f|0)<0){d=3;break c}g=N[a+240>>2];if(!f&(g|0)!=0){d=3;break c}if(f>>>0>4){d=3;break c}a=N[a+244>>2];if(a>>>0>e>>>0){d=3;break c}if((g|0)<0){d=3;break c}if(!(!f|g>>>0<=(e-a>>>0)/(f>>>0)>>>0)){d=3;break c}d=d+1|0;if((m|0)!=(d|0)){continue}break}}a=N[b+284>>2];if(a>>>0>e>>>0){d=3;break c}d=3;if(Q[b+296>>2]>(e-a>>>0)/(i+j>>>0)>>>0){break c}g=0;o=0;N:{O:{d=N[b+300>>2];if((d|0)<0){a=6;break O}t=N[b+136>>2];n=N[b+328>>2];p=N[b+100>>2];P:{Q:{R:{S:{T:{U:{V:{if(d){a=10;if((d|0)>268435455){break O}a=d<<3;o=Qa[N[p+4>>2]](p,a)|0;if(!o|(d|0)<=0){break V}G(o,0,a)}N[b+316>>2]=o;m=b+316|0;break U}N[b+316>>2]=o;if(!o){break T}m=b+316|0}a=0;k=N[b+300>>2];if((k|0)<=0){break N}W:{while(1){d=N[b+304>>2]+T(u,252)|0;q=N[d+240>>2];if(q){w=N[d+4>>2];r=q+1|0;X:{if(r>>>0<=a>>>0){e=a;break X}e=(q&-4)+4|0;if(e>>>0<=a>>>0){j=160;break Q}if((a|e)<0){j=6;break Q}if((e|0)>536870911){j=10;break Q}f=e<<2;Y:{if(!a){g=Qa[N[p+4>>2]](p,f)|0;j=!g<<6;break Y}f=Qa[N[p+12>>2]](p,a<<2,f,g)|0;g=f?f:g;j=!f<<6}if(!(j|(a|0)>=(e|0)|!g)){G((a<<2)+g|0,0,e-a<<2);break X}if(j){break Q}}a=N[d+244>>2]+N[b+308>>2]|0;Z:{f=N[n+20>>2];if(f){if(!(Qa[f|0](n,a,0,0)|0)){break Z}j=85;break Q}if(a>>>0<=Q[n+4>>2]){break Z}j=85;break Q}N[n+8>>2]=a;j=Bb(n,T(r,N[d+248>>2]));if(j){break Q}a=N[d+248>>2];s=a&255;_:{if(!s){d=0;while(1){N[(d<<2)+g>>2]=0;d=d+1|0;if(q>>>0>=d>>>0){continue}break}break _}v=a&3;i=N[n+32>>2];l=i+(a+252&252)|0;f=l+4|0;j=0;while(1){d=i;a=0;if(s>>>0>=4){d=f;a=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}k=0;if(v){while(1){a=O[d|0]|a<<8;d=d+1|0;k=k+1|0;if((k&255)!=(v|0)){continue}break}}N[(j<<2)+g>>2]=a;f=f+s|0;l=l+s|0;i=i+s|0;j=j+1|0;if(q>>>0>=j>>>0){continue}break}}if(N[n+20>>2]){a=N[n>>2];if(a){d=N[n+28>>2];Qa[N[d+8>>2]](d,a)}N[n>>2]=0}N[n+32>>2]=0;N[n+36>>2]=0;d=1;i=N[g>>2];a=i;while(1){j=3;f=a;a=N[(d<<2)+g>>2];if(f>>>0>a>>>0){break Q}d=d+1|0;if(q>>>0>=d>>>0){continue}break}a=N[(q<<2)+g>>2];if(a>>>0>N[n+4>>2]-N[b+308>>2]>>>0){break Q}if((r|0)<0){j=6;break S}if((r|0)>536870911){j=10;break S}f=r<<2;d=Qa[N[p+4>>2]](p,f)|0;$:{if(!(!d|q>>>0>2147483646)){G(d,0,f);N[o+4>>2]=d;break $}N[o+4>>2]=d;if(!d){break W}}aa:{f=a-i|0;if((f|0)>0){k=Qa[N[p+4>>2]](p,f)|0;d=N[o+4>>2];if(k){break aa}j=64;break R}k=0;if((a|0)==(i|0)){break aa}j=6;break R}N[d>>2]=k;a=N[g>>2]+N[b+308>>2]|0;ba:{ca:{d=N[n+20>>2];if(d){if(!(Qa[d|0](n,a,0,0)|0)){break ca}j=85;break Q}k=N[n+4>>2];if(a>>>0<=k>>>0){break ba}j=85;break Q}k=N[n+4>>2]}N[n+8>>2]=a;j=85;if(a>>>0>=k>>>0){break Q}d=N[N[o+4>>2]>>2];i=N[n+20>>2];da:{if(i){k=Qa[i|0](n,a,d,f)|0;break da}i=d;d=k-a|0;k=d>>>0>>0?d:f;B(i,a+N[n>>2]|0,k)}N[n+8>>2]=a+k;if(f>>>0>k>>>0){break Q}a=N[g>>2];d=1;while(1){f=d<<2;i=f+N[o+4>>2]|0;f=N[f+g>>2];N[i>>2]=N[i-4>>2]+(f-a|0);a=f;d=d+1|0;if(q>>>0>=d>>>0){continue}break}ea:{if((w|0)<0){break ea}a=q>>>0<=1?1:q;i=a&1;d=0;if(q>>>0>=2){j=a&-2;while(1){a=d<<2;l=a|4;f=l+g|0;Qa[N[t+16>>2]](N[a+N[o+4>>2]>>2],N[f>>2]-N[a+g>>2]|0,4330);d=d+2|0;Qa[N[t+16>>2]](N[l+N[o+4>>2]>>2],N[(d<<2)+g>>2]-N[f>>2]|0,4330);if((d|0)!=(j|0)){continue}break}}if(!i){break ea}d=d<<2;a=d+g|0;Qa[N[t+16>>2]](N[d+N[o+4>>2]>>2],N[a+4>>2]-N[a>>2]|0,4330)}N[o>>2]=q;k=N[b+300>>2];a=e}o=o+8|0;u=u+1|0;if((u|0)<(k|0)){continue}break}j=0;break P}j=!d<<6;break Q}a=!o<<6;break N}d=o+4|0}N[d>>2]=0}d=N[m>>2];if(!d){break P}if(N[b+300>>2]>0){a=0;while(1){f=a<<3;e=N[(f+d|0)+4>>2];fa:{if(!e){break fa}d=N[e>>2];if(d){Qa[N[p+8>>2]](p,d);e=N[(f+N[m>>2]|0)+4>>2]}N[e>>2]=0;d=N[m>>2];e=N[(f+d|0)+4>>2];if(!e){break fa}Qa[N[p+8>>2]](p,e);d=N[m>>2]}N[(d+f|0)+4>>2]=0;a=a+1|0;if((a|0)>2]){continue}break}}Qa[N[p+8>>2]](p,d);N[m>>2]=0}if(g){Qa[N[p+8>>2]](p,g)}a=j;break N}N[b+316>>2]=0}d=a;break c}N[b+324>>2]=0}e=N[h+84>>2];if(e){a=N[h+80>>2];if(!(!a|!N[a+20>>2])){a=N[a+28>>2];Qa[N[a+8>>2]](a,e)}N[h+84>>2]=0}Qa[N[h+32>>2]](h+8|0);if(d|(c|0)<0){break a}d=6;if(c&65535){break a}N[b+36>>2]=0;N[b+4>>2]=0;N[b+16>>2]=N[b+296>>2];a=N[b+8>>2];N[b+8>>2]=a|2065;if(O[b+188|0]){N[b+8>>2]=a|2069}N[b+24>>2]=12199;a=N[b+176>>2];N[b+20>>2]=a;ga:{if(a){e=N[b+172>>2];if(!e){break ga}d=O[e|0];if(!d){break ga}while(1){d=d&255;c=O[a|0];ha:{if((d|0)==(c|0)){e=e+1|0;a=a+1|0;break ha}d=d-32|0;if(!(!d|(d|0)==13)){ia:{switch(c-32|0){case 0:case 13:a=a+1|0;break ha;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break ga;default:break ia}}if(c){break ga}N[b+24>>2]=e;break ga}e=e+1|0}d=O[e|0];if(d){continue}break}break ga}a=N[b+140>>2];if(!a){break ga}N[b+20>>2]=a}c=N[b+184>>2]!=0;N[b+12>>2]=c;a=N[b+180>>2];ja:{if(!a){break ja}if(cb(a,16733)){if(cb(a,13781)){break ja}}N[b+12>>2]=c|2}N[b+28>>2]=0;N[b+32>>2]=0;N[b+52>>2]=M[b+198>>1];a=M[b+202>>1];N[b+56>>2]=a;N[b+60>>2]=N[b+204>>2]+65535>>16;c=N[b+208>>2]+65535>>16;N[b- -64>>2]=c;d=P[b+68>>1];if(!d){M[b+68>>1]=1e3;d=1e3}M[b+72>>1]=a;M[b+70>>1]=c;N[b+80>>2]=P[b+190>>1]|P[b+192>>1]<<16;e=b;a=c-a|0;b=(T(d,12)>>>0)/10|0;M[e+74>>1]=(a|0)>b<<16>>16?a:b;d=0}La=h+384|0;return d|0}function Vj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[a+4|0]|O[a+5|0]<<8;if(c){u=(c<<8|c>>>8)&65535;r=a+6|0;while(1){q=275552;c=O[r|0]|O[r+1|0]<<8;if(c){q=((c<<8|c>>>8)&65535)+a|0}c=O[q|0]|O[q+1|0]<<8;if(c){v=(c<<8|c>>>8)&65535;s=q+2|0;while(1){c=O[s|0]|O[s+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+q|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;o=(d<<8|d>>>8)&65535;A=(o<<1)+c|0;e=A;j=O[e+2|0]|O[e+3|0]<<8;w=(j<<8|j>>>8)&65535;e=(e+2|0)+(j?w<<1:2)|0;p=e+2|0;x=O[e|0]|O[e+1|0]<<8;t=(x<<8|x>>>8)&65535;y=p+(t<<1)|0;z=O[y|0]|O[y+1|0]<<8;if(d){k=c+2|0;f=N[b+8>>2];m=f+24|0;i=f+36|0;while(1){c=O[k|0]|O[k+1|0]<<8;l=(c<<8|c>>>8)&65535;c=O[f+12|0];a:{if(O[f+48|0]){if(!c){break a}d=N[f+20>>2];e=N[f+28>>2];c=l>>>9|0;j=N[f+32>>2];if(!(d>>>0>>0&(c|0)==N[j+(d<<3)>>2])){if((e|0)<=0){break a}e=e-1|0;g=0;while(1){b:{d=e+g>>>1|0;h=N[j+(d<<3)>>2];c:{if((h|0)>(c|0)){e=d-1|0;break c}if((c|0)==(h|0)){break b}g=d+1|0}if((e|0)>=(g|0)){continue}break a}break}N[f+20>>2]=d}c=N[f+44>>2];if(!c){break a}d=N[(j+(d<<3)|0)+4>>2];N[f+16>>2]=-1;c=(c+(d<<6)|0)+(l>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];C=c,D=ZE(-2,-1,l)&d,N[C>>2]=D;N[c+4>>2]=Pa&e;break a}if(!c){break a}N[f+16>>2]=-1;n=l>>>9|0;c=N[f+32>>2];d:{e:{e=N[f+20>>2];d=N[f+28>>2];if(e>>>0>=d>>>0){break e}e=(e<<3)+c|0;if((n|0)!=N[e>>2]){break e}c=e+4|0;break d}j=N[f+40>>2];f:{g:{if((d|0)<=0){e=0;break g}g=d-1|0;e=0;while(1){d=e+g>>>1|0;h=N[(d<<3)+c>>2];h:{if((h|0)>(n|0)){g=d-1|0;break h}if((h|0)==(n|0)){e=d;break f}e=d+1|0}if((e|0)<=(g|0)){continue}break}}i:{j:{h=N[i>>2];k:{if((h|0)<0){break k}l:{m:{d=j;c=d+1|0;g=(c|0)>0?c:0;if(g>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(g>>>0>=h>>>0){continue}break}c=i;if(h>>>0>67108863){break m}d=$a(N[f+44>>2],h<<6);if(!d){break m}N[f+36>>2]=h;N[f+44>>2]=d;d=N[f+40>>2]}if(d>>>0>>0){G(N[f+44>>2]+(d<<6)|0,0,g-d<<6)}N[f+40>>2]=g;d=N[f+24>>2];if((d|0)<0){break l}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(g>>>0>=d>>>0){continue}break}c=m;if(d>>>0>536870911){break m}h=$a(N[f+32>>2],d<<3);if(!h){break m}N[f+24>>2]=d;N[f+32>>2]=h}c=N[f+28>>2];if(c>>>0>>0){G(N[f+32>>2]+(c<<3)|0,0,g-c<<3)}N[f+28>>2]=g;c=N[f+44>>2]+(j<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=e<<3;d=c+N[f+32>>2]|0;B(d+8|0,d,N[f+28>>2]+(e^-1)<<3);if(Q[f+28>>2]>e>>>0){break j}N[147456]=0;N[147457]=0;c=589824;break i}N[c>>2]=-1}g=N[f+36>>2];if((g|0)<0){break k}c=N[f+28>>2];c=(c|0)>0?c:0;if(c>>>0>g>>>0){while(1){g=((g>>>1|0)+g|0)+8|0;if(c>>>0>=g>>>0){continue}break}n:{if(g>>>0<=67108863){d=$a(N[f+44>>2],g<<6);if(d){break n}}N[i>>2]=-1;L[f+12|0]=0;break a}N[f+36>>2]=g;N[f+44>>2]=d}d=N[f+40>>2];if(d>>>0>>0){G(N[f+44>>2]+(d<<6)|0,0,c-d<<6)}N[f+40>>2]=c}L[f+12|0]=0;break a}c=c+N[f+32>>2]|0}N[c>>2]=n;N[c+4>>2]=j;c=N[f+32>>2]}N[f+20>>2]=e;c=((e<<3)+c|0)+4|0}d=N[f+44>>2];if(!d){break a}c=(d+(N[c>>2]<<6)|0)+(l>>>3&56)|0;g=N[c+4>>2];e=l&63;d=e&31;if((e&63)>>>0>=32){j=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=g|j}k=k+2|0;o=o-1|0;if(o){continue}break}}if(w>>>0>=2){k=A+4|0;o=w-1|0;f=N[b+12>>2];m=f+24|0;i=f+36|0;while(1){c=O[k|0]|O[k+1|0]<<8;l=(c<<8|c>>>8)&65535;c=O[f+12|0];o:{if(O[f+48|0]){if(!c){break o}d=N[f+20>>2];e=N[f+28>>2];c=l>>>9|0;j=N[f+32>>2];if(!(d>>>0>>0&(c|0)==N[j+(d<<3)>>2])){if((e|0)<=0){break o}e=e-1|0;g=0;while(1){p:{d=e+g>>>1|0;h=N[j+(d<<3)>>2];q:{if((h|0)>(c|0)){e=d-1|0;break q}if((c|0)==(h|0)){break p}g=d+1|0}if((e|0)>=(g|0)){continue}break o}break}N[f+20>>2]=d}c=N[f+44>>2];if(!c){break o}d=N[(j+(d<<3)|0)+4>>2];N[f+16>>2]=-1;c=(c+(d<<6)|0)+(l>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];C=c,D=ZE(-2,-1,l)&d,N[C>>2]=D;N[c+4>>2]=Pa&e;break o}if(!c){break o}N[f+16>>2]=-1;n=l>>>9|0;c=N[f+32>>2];r:{s:{e=N[f+20>>2];d=N[f+28>>2];if(e>>>0>=d>>>0){break s}e=(e<<3)+c|0;if((n|0)!=N[e>>2]){break s}c=e+4|0;break r}j=N[f+40>>2];t:{u:{if((d|0)<=0){e=0;break u}g=d-1|0;e=0;while(1){d=e+g>>>1|0;h=N[(d<<3)+c>>2];v:{if((h|0)>(n|0)){g=d-1|0;break v}if((h|0)==(n|0)){e=d;break t}e=d+1|0}if((e|0)<=(g|0)){continue}break}}w:{x:{h=N[i>>2];y:{if((h|0)<0){break y}z:{A:{d=j;c=d+1|0;g=(c|0)>0?c:0;if(g>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(g>>>0>=h>>>0){continue}break}c=i;if(h>>>0>67108863){break A}d=$a(N[f+44>>2],h<<6);if(!d){break A}N[f+36>>2]=h;N[f+44>>2]=d;d=N[f+40>>2]}if(d>>>0>>0){G(N[f+44>>2]+(d<<6)|0,0,g-d<<6)}N[f+40>>2]=g;d=N[f+24>>2];if((d|0)<0){break z}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(g>>>0>=d>>>0){continue}break}c=m;if(d>>>0>536870911){break A}h=$a(N[f+32>>2],d<<3);if(!h){break A}N[f+24>>2]=d;N[f+32>>2]=h}c=N[f+28>>2];if(c>>>0>>0){G(N[f+32>>2]+(c<<3)|0,0,g-c<<3)}N[f+28>>2]=g;c=N[f+44>>2]+(j<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=e<<3;d=c+N[f+32>>2]|0;B(d+8|0,d,N[f+28>>2]+(e^-1)<<3);if(Q[f+28>>2]>e>>>0){break x}N[147456]=0;N[147457]=0;c=589824;break w}N[c>>2]=-1}g=N[f+36>>2];if((g|0)<0){break y}c=N[f+28>>2];c=(c|0)>0?c:0;if(c>>>0>g>>>0){while(1){g=((g>>>1|0)+g|0)+8|0;if(c>>>0>=g>>>0){continue}break}B:{if(g>>>0<=67108863){d=$a(N[f+44>>2],g<<6);if(d){break B}}N[i>>2]=-1;L[f+12|0]=0;break o}N[f+36>>2]=g;N[f+44>>2]=d}d=N[f+40>>2];if(d>>>0>>0){G(N[f+44>>2]+(d<<6)|0,0,c-d<<6)}N[f+40>>2]=c}L[f+12|0]=0;break o}c=c+N[f+32>>2]|0}N[c>>2]=n;N[c+4>>2]=j;c=N[f+32>>2]}N[f+20>>2]=e;c=((e<<3)+c|0)+4|0}d=N[f+44>>2];if(!d){break o}c=(d+(N[c>>2]<<6)|0)+(l>>>3&56)|0;g=N[c+4>>2];e=l&63;d=e&31;if((e&63)>>>0>=32){j=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=g|j}k=k+2|0;o=o-1|0;if(o){continue}break}}if(x){f=N[b+16>>2];m=f+24|0;i=f+36|0;while(1){c=O[p|0]|O[p+1|0]<<8;k=(c<<8|c>>>8)&65535;c=O[f+12|0];C:{if(O[f+48|0]){if(!c){break C}d=N[f+20>>2];e=N[f+28>>2];c=k>>>9|0;j=N[f+32>>2];if(!(d>>>0>>0&(c|0)==N[j+(d<<3)>>2])){if((e|0)<=0){break C}e=e-1|0;g=0;while(1){D:{d=e+g>>>1|0;h=N[j+(d<<3)>>2];E:{if((h|0)>(c|0)){e=d-1|0;break E}if((c|0)==(h|0)){break D}g=d+1|0}if((e|0)>=(g|0)){continue}break C}break}N[f+20>>2]=d}c=N[f+44>>2];if(!c){break C}d=N[(j+(d<<3)|0)+4>>2];N[f+16>>2]=-1;c=(c+(d<<6)|0)+(k>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];C=c,D=ZE(-2,-1,k)&d,N[C>>2]=D;N[c+4>>2]=Pa&e;break C}if(!c){break C}N[f+16>>2]=-1;l=k>>>9|0;c=N[f+32>>2];F:{G:{e=N[f+20>>2];d=N[f+28>>2];if(e>>>0>=d>>>0){break G}e=(e<<3)+c|0;if((l|0)!=N[e>>2]){break G}c=e+4|0;break F}j=N[f+40>>2];H:{I:{if((d|0)<=0){e=0;break I}g=d-1|0;e=0;while(1){d=e+g>>>1|0;h=N[(d<<3)+c>>2];J:{if((h|0)>(l|0)){g=d-1|0;break J}if((h|0)==(l|0)){e=d;break H}e=d+1|0}if((e|0)<=(g|0)){continue}break}}K:{L:{h=N[i>>2];M:{if((h|0)<0){break M}N:{O:{d=j;c=d+1|0;g=(c|0)>0?c:0;if(g>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(g>>>0>=h>>>0){continue}break}c=i;if(h>>>0>67108863){break O}d=$a(N[f+44>>2],h<<6);if(!d){break O}N[f+36>>2]=h;N[f+44>>2]=d;d=N[f+40>>2]}if(d>>>0>>0){G(N[f+44>>2]+(d<<6)|0,0,g-d<<6)}N[f+40>>2]=g;d=N[f+24>>2];if((d|0)<0){break N}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(g>>>0>=d>>>0){continue}break}c=m;if(d>>>0>536870911){break O}h=$a(N[f+32>>2],d<<3);if(!h){break O}N[f+24>>2]=d;N[f+32>>2]=h}c=N[f+28>>2];if(c>>>0>>0){G(N[f+32>>2]+(c<<3)|0,0,g-c<<3)}N[f+28>>2]=g;c=N[f+44>>2]+(j<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=e<<3;d=c+N[f+32>>2]|0;B(d+8|0,d,N[f+28>>2]+(e^-1)<<3);if(Q[f+28>>2]>e>>>0){break L}N[147456]=0;N[147457]=0;c=589824;break K}N[c>>2]=-1}g=N[f+36>>2];if((g|0)<0){break M}c=N[f+28>>2];c=(c|0)>0?c:0;if(c>>>0>g>>>0){while(1){g=((g>>>1|0)+g|0)+8|0;if(c>>>0>=g>>>0){continue}break}P:{if(g>>>0<=67108863){d=$a(N[f+44>>2],g<<6);if(d){break P}}N[i>>2]=-1;L[f+12|0]=0;break C}N[f+36>>2]=g;N[f+44>>2]=d}d=N[f+40>>2];if(d>>>0>>0){G(N[f+44>>2]+(d<<6)|0,0,c-d<<6)}N[f+40>>2]=c}L[f+12|0]=0;break C}c=c+N[f+32>>2]|0}N[c>>2]=l;N[c+4>>2]=j;c=N[f+32>>2]}N[f+20>>2]=e;c=((e<<3)+c|0)+4|0}d=N[f+44>>2];if(!d){break C}c=(d+(N[c>>2]<<6)|0)+(k>>>3&56)|0;g=N[c+4>>2];e=k&63;d=e&31;if((e&63)>>>0>=32){j=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=g|j}p=p+2|0;t=t-1|0;if(t){continue}break}}if(z){l=(z<<8|z>>>8)&65535;o=y+2|0;p=0;while(1){f=N[b+32>>2];Q:{if(!f|!N[b+24>>2]|N[b+20>>2]==275552){break Q}c=o+(p<<2)|0;c=O[c+2|0]|O[c+3|0]<<8;k=(c<<8|c>>>8)&65535;m=k>>>9|0;c=N[b+28>>2];i=N[c+32>>2];R:{S:{T:{d=N[c+20>>2];j=N[c+28>>2];if(d>>>0>=j>>>0){break T}d=i+(d<<3)|0;if((m|0)!=N[d>>2]){break T}e=d+4|0;break S}d=0;if((j|0)<=0){break R}g=j-1|0;d=0;U:{while(1){e=d+g>>>1|0;h=i+(e<<3)|0;n=N[h>>2];V:{if((n|0)>(m|0)){g=e-1|0;break V}if((m|0)==(n|0)){break U}d=e+1|0}if((d|0)<=(g|0)){continue}break}d=0;break R}N[c+20>>2]=e;e=(e>>>0>=j>>>0?275552:h)+4|0}j=N[c+44>>2];d=0;if(!j){break R}d=(j+(N[e>>2]<<6)|0)+(k>>>3&56)|0;g=N[d>>2];j=N[d+4>>2];e=k&63;d=e&31;d=((e&63)>>>0>=32?j>>>d|0:((1<>>d)&1}if((d|0)!=O[c+48|0]){break Q}c=N[b+16>>2];N[b+16>>2]=275552;d=N[b+8>>2];e=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=f-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,k);N[b+16>>2]=c;N[b+8>>2]=d;N[b+12>>2]=e;N[b+32>>2]=N[b+32>>2]+1;i=N[b+28>>2];c=O[i+12|0];if(O[i+48|0]){if(!c){break Q}e=N[i+20>>2];d=N[i+28>>2];c=N[i+32>>2];if(!(e>>>0>>0&(m|0)==N[c+(e<<3)>>2])){if((d|0)<=0){break Q}g=d-1|0;d=0;while(1){W:{e=d+g>>>1|0;j=N[c+(e<<3)>>2];X:{if((j|0)>(m|0)){g=e-1|0;break X}if((j|0)==(m|0)){break W}d=e+1|0}if((d|0)<=(g|0)){continue}break Q}break}N[i+20>>2]=e}d=N[i+44>>2];if(!d){break Q}c=N[(c+(e<<3)|0)+4>>2];N[i+16>>2]=-1;c=(d+(c<<6)|0)+(k>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];C=c,D=ZE(-2,-1,k)&d,N[C>>2]=D;N[c+4>>2]=Pa&e;break Q}if(!c){break Q}N[i+16>>2]=-1;c=N[i+32>>2];Y:{Z:{e=N[i+20>>2];d=N[i+28>>2];if(e>>>0>=d>>>0){break Z}e=(e<<3)+c|0;if((m|0)!=N[e>>2]){break Z}c=e+4|0;break Y}j=N[i+40>>2];_:{$:{if((d|0)<=0){g=0;break $}d=d-1|0;g=0;while(1){e=d+g>>>1|0;f=N[(e<<3)+c>>2];aa:{if((f|0)>(m|0)){d=e-1|0;break aa}if((f|0)==(m|0)){g=e;break _}g=e+1|0}if((d|0)>=(g|0)){continue}break}}ba:{ca:{c=i+36|0;h=N[c>>2];da:{if((h|0)<0){break da}ea:{fa:{e=j;d=e+1|0;f=(d|0)>0?d:0;if(f>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(f>>>0>=h>>>0){continue}break}d=c;if(h>>>0>67108863){break fa}e=$a(N[i+44>>2],h<<6);if(!e){break fa}N[i+36>>2]=h;N[i+44>>2]=e;e=N[i+40>>2]}if(f>>>0>e>>>0){G(N[i+44>>2]+(e<<6)|0,0,f-e<<6)}N[i+40>>2]=f;d=i+24|0;e=N[d>>2];if((e|0)<0){break ea}if(f>>>0>e>>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}if(e>>>0>536870911){break fa}h=$a(N[i+32>>2],e<<3);if(!h){break fa}N[i+24>>2]=e;N[i+32>>2]=h}c=N[i+28>>2];if(c>>>0>>0){G(N[i+32>>2]+(c<<3)|0,0,f-c<<3)}N[i+28>>2]=f;c=N[i+44>>2]+(j<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=g<<3;d=c+N[i+32>>2]|0;B(d+8|0,d,N[i+28>>2]+(g^-1)<<3);if(Q[i+28>>2]>g>>>0){break ca}N[147456]=0;N[147457]=0;c=589824;break ba}N[d>>2]=-1}g=N[i+36>>2];if((g|0)<0){break da}d=N[i+28>>2];d=(d|0)>0?d:0;if(d>>>0>g>>>0){while(1){g=((g>>>1|0)+g|0)+8|0;if(d>>>0>=g>>>0){continue}break}ga:{if(g>>>0<=67108863){e=$a(N[i+44>>2],g<<6);if(e){break ga}}N[c>>2]=-1;L[i+12|0]=0;break Q}N[i+36>>2]=g;N[i+44>>2]=e}c=N[i+40>>2];if(c>>>0>>0){G(N[i+44>>2]+(c<<6)|0,0,d-c<<6)}N[i+40>>2]=d}L[i+12|0]=0;break Q}c=c+N[i+32>>2]|0}N[c>>2]=m;N[c+4>>2]=j;c=N[i+32>>2]}N[i+20>>2]=g;c=((g<<3)+c|0)+4|0}d=N[i+44>>2];if(!d){break Q}c=(d+(N[c>>2]<<6)|0)+(k>>>3&56)|0;g=N[c+4>>2];e=k&63;d=e&31;if((e&63)>>>0>=32){j=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=g|j}p=p+1|0;if((l|0)!=(p|0)){continue}break}}s=s+2|0;v=v-1|0;if(v){continue}break}}r=r+2|0;u=u-1|0;if(u){continue}break}}}function sx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=La-1536|0;La=f;N[b>>2]=1;d=N[b+96>>2];a:{b:{if(!d){break b}a=N[N[d>>2]+32>>2];if(a){l=Qa[a|0](d,10566)|0;if(l){break a}}a=N[d+4>>2];e=N[a+16>>2];if((e|0)<=0){break b}a=a+20|0;g=a+(e<<2)|0;while(1){e=N[a>>2];c:{if((e|0)==(d|0)){break c}h=N[N[e>>2]+32>>2];if(!h){break c}l=Qa[h|0](e,10566)|0;if(l){break a}}a=a+4|0;if(g>>>0>a>>>0){continue}break}}l=0}N[b+488>>2]=l;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{a=N[N[b+96>>2]+4>>2];if(!a){break m}e=N[a+16>>2];if((e|0)<=0){break m}d=a+20|0;e=d+(e<<2)|0;a=d;while(1){g=N[N[a>>2]>>2];if(cb(N[g+8>>2],7988)){a=a+4|0;if(e>>>0>a>>>0){continue}break m}break}m=N[g+20>>2];N[b+492>>2]=m;if(!m){g=11;break d}n:{o:{while(1){a=N[N[d>>2]>>2];if(!cb(N[a+8>>2],11971)){break o}d=d+4|0;if(e>>>0>d>>>0){continue}break}a=0;break n}a=N[a+20>>2]}N[b+552>>2]=a;d=f+12|0;G(d,0,380);N[b+544>>2]=0;N[b+536>>2]=-1;N[b+540>>2]=-1;N[b+284>>2]=1;N[b+348>>2]=3932;N[b+172>>2]=4;N[b+276>>2]=2596864;N[b+280>>2]=7;a=N[b+104>>2];e=d;d=N[b+100>>2];Qa[N[N[m+4>>2]>>2]](e,0,0,d);N[f+96>>2]=0;N[f+100>>2]=0;L[f+103|0]=0;L[f+104|0]=0;L[f+105|0]=0;L[f+106|0]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+84>>2]=a;g=Sm(a,9095,14);if(g){if((g&255)!=2){break f}g=Sm(a,15555,10);if(g){break f}}e=N[a+20>>2];if(e){g=85;if(Qa[e|0](a,0,0,0)|0){break f}}N[a+8>>2]=0;if(Q[a+4>>2]<2){break h}e=N[a+20>>2];if(e){g=f+1528|0;if((Qa[e|0](a,0,g,2)|0)!=2){break h}e=N[a+8>>2];break l}e=0;g=N[a>>2];if(g){break l}N[a+8>>2]=2;break k}N[b+492>>2]=0;g=11;break d}g=O[g|0]|O[g+1|0]<<8;h=e+2|0;N[a+8>>2]=h;g=g<<8|g>>>8;if((g+32767&65535)>>>0>1){break k}if(Q[a+4>>2]<=e+5>>>0){break h}i=N[a+20>>2];p:{if(i){e=f+1528|0;if((Qa[i|0](a,h,e,4)|0)!=4){break h}h=N[a+8>>2];e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);break p}e=N[a>>2];if(e){e=e+h|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);break p}e=0}h=h+4|0;N[a+8>>2]=h;if((g&65535)==32769){break j}}e=N[a+20>>2];if(e){g=85;if(Qa[e|0](a,0,0,0)|0){break f}}h=0;N[a+8>>2]=0;e=N[a+4>>2];break i}L[f+104|0]=1}q:{if(!N[a+20>>2]){g=N[a>>2];L[f+105|0]=1;N[f+92>>2]=e;N[f+88>>2]=g+h;g=Wc(a,e);if(g){break f}e=N[f+92>>2];break q}r:{if((e|0)>0){g=Qa[N[d+4>>2]](d,e)|0;if(g){break r}g=64;break g}g=6;if(e){break g}g=0}N[f+88>>2]=g;g=Yb(a,g,e);if(g){break f}N[f+92>>2]=e}a=N[f+88>>2];N[f+16>>2]=a;N[f+12>>2]=a;N[f+20>>2]=a+e;g=Rm(b,f+12|0,a,e);N[f+8>>2]=g;if(g){break e}i=N[f+28>>2];s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if(O[f+104|0]){h=N[f+84>>2];a=N[h+8>>2];N[f+100>>2]=0;d=a;C:{while(1){if(Q[h+4>>2]<=d+1>>>0){break y}D:{g=N[h+20>>2];E:{if(g){e=f+1528|0;if((Qa[g|0](h,d,e,2)|0)!=2){break y}d=N[h+8>>2];break E}e=N[h>>2];if(!e){break D}e=d+e|0}e=O[e|0]|O[e+1|0]<<8;g=d+2|0;N[h+8>>2]=g;e=e<<8|e>>>8;if((e+32767&65535)>>>0>1){break C}F:{G:{H:{if(Q[h+4>>2]<=d+5>>>0){break H}j=N[h+20>>2];if(j){d=f+1528|0;if((Qa[j|0](h,g,d,4)|0)!=4){break H}g=N[h+8>>2];d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break F}d=N[h>>2];if(!d){break G}d=d+g|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break F}g=85;N[f+8>>2]=85;break e}d=0}j=g+4|0;N[h+8>>2]=j;if((e&65535)!=32770){break C}N[f+100>>2]=d+N[f+100>>2];g=85;if((d|0)<0){break A}d=d+j|0;e=N[h+20>>2];I:{if(e){if(!(Qa[e|0](h,d,0,0)|0)){break I}break A}if(Q[h+4>>2]>>0){break A}}N[h+8>>2]=d;continue}break}N[h+8>>2]=d+2}d=N[f+100>>2];if(!d){g=3;N[f+8>>2]=3;break e}e=N[h+20>>2];J:{if(e){g=85;if(Qa[e|0](h,a,0,0)|0){break A}d=N[f+100>>2];break J}g=85;if(a>>>0>Q[h+4>>2]){break A}}N[h+8>>2]=a;K:{if((d|0)>0){g=Qa[N[i+4>>2]](i,d)|0;if(g){break K}g=64;break s}g=6;if(d){break s}g=0}N[f+96>>2]=g;g=0;while(1){N[f+100>>2]=g;d=f+1528|0;a=xb(h,d);if(N[f+1528>>2]|(a+32767&65535)>>>0>1){break B}d=Vc(h,d);if(N[f+1528>>2]|(a|0)!=32770){break B}g=Yb(h,N[f+96>>2]+N[f+100>>2]|0,d);if(g){break A}g=d+N[f+100>>2]|0;continue}}e=N[f+88>>2];h=N[f+92>>2];d=e+h|0;a=e;while(1){L:{M:{if(O[a|0]!=101|a+9>>>0>=d>>>0|(O[a+1|0]!=101|O[a+2|0]!=120)){break M}if(O[a+3|0]!=101){break M}if(O[a+4|0]==99){break L}}a=a+1|0;if(d>>>0>a>>>0){continue}g=3;N[f+8>>2]=3;break e}a=a+10|0;N[f+20>>2]=a;N[f+12>>2]=e;N:{if(a>>>0>e>>>0){while(1){O:{if(O[e|0]!=101|e+5>>>0>=a>>>0|(O[e+1|0]!=101|O[e+2|0]!=120)){break O}if(O[e+3|0]!=101){break O}if(O[e+4|0]==99){break N}}d=f+12|0;Qa[N[f+44>>2]](d);if(!N[f+24>>2]){Qa[N[f+40>>2]](d);e=N[f+12>>2];if(e>>>0>>0){continue}}break}h=N[f+92>>2];e=N[f+88>>2]}g=3;d=e+h|0;if(d>>>0>a>>>0){continue}break A}break}N[f+20>>2]=N[f+88>>2]+N[f+92>>2];Qa[N[f+44>>2]](f+12|0);h=N[f+20>>2];a=N[f+12>>2];e=h-a|0;d=pe(a,10,e);if(d){d=pe(a,13,e)>>>0>>0}else{d=1}g=3;if(a>>>0>=h>>>0){break A}j=a+e|0;while(1){P:{e=O[a|0];if(!((e|0)==9|(e|0)==32|(e|0)==10)){if(!(d&(e|0)==13)){break P}}a=a+1|0;if((j|0)!=(a|0)){continue}break A}break}g=N[f+88>>2];d=N[f+92>>2]+(g-a|0)|0;Q:{if(O[f+105|0]){e=d+1|0;R:{if(d>>>0<=2147483646){g=Qa[N[i+4>>2]](i,e)|0;if(g){break R}g=64;break t}g=6;if(e){break t}g=0}N[f+100>>2]=d;N[f+96>>2]=g;break Q}N[f+100>>2]=d;N[f+96>>2]=g;L[f+106|0]=1;N[f+88>>2]=0;N[f+92>>2]=0}S:{if(h>>>0<=a+3>>>0){break S}T:{e=O[a|0];if(e-48>>>0<10){break T}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break T;default:break S}}U:{e=O[a+1|0];if(e-48>>>0<10){break U}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break U;default:break S}}V:{e=O[a+2|0];if(e-48>>>0<10){break V}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break V;default:break S}}W:{e=O[a+3|0];if(e-48>>>0<10){break W}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break W;default:break S}}N[f+12>>2]=a;Qa[N[N[m+4>>2]+24>>2]](f+12|0,g,d,f+1528|0,0)|0;a=N[f+1528>>2];N[f+100>>2]=a;L[a+N[f+96>>2]|0]=0;break B}B(g,a,d)}Qa[N[m+16>>2]](N[f+96>>2],N[f+100>>2],55665);g=3;if(Q[f+100>>2]>3){break z}}N[f+8>>2]=g;break e}L[N[f+96>>2]]=32;L[N[f+96>>2]+1|0]=32;L[N[f+96>>2]+2|0]=32;L[N[f+96>>2]+3|0]=32;a=N[f+96>>2];N[f+16>>2]=a;N[f+12>>2]=a;d=N[f+100>>2];N[f+20>>2]=d+a;g=Rm(b,f+12|0,a,d);N[f+8>>2]=g;if(g){break e}L[b+176|0]=O[b+176|0]&254;X:{Y:{g=N[b+532>>2];if(!g){break Y}if(N[g>>2]!=1<>2]){_e(b);g=N[b+532>>2];if(!g){break Y}}a=N[g+416>>2];if(!(!a|(a|0)==N[g+4>>2])){N[g+416>>2]=0}Z:{_:{if(N[g>>2]){d=N[g+4>>2];if(d){break _}}_e(b);g=N[b+532>>2];if(!g){break Y}d=N[g+4>>2];if(!d){break Z}}a=0;while(1){if(O[(T(a,12)+g|0)+88|0]){a=a+1|0;if((d|0)!=(a|0)){continue}break Z}break}_e(b);if(!N[b+532>>2]){break Y}}a=N[b+544>>2];if(!a){break X}r=b,s=lb(N[b+100>>2],4,0,a,0,f+8|0),N[r+548>>2]=s;g=N[f+8>>2];if(!g){break X}N[b+544>>2]=0;break e}N[b+544>>2]=0}j=N[f+164>>2];N[b+420>>2]=j;if(N[f+340>>2]){N[b+404>>2]=N[f+324>>2];N[b+392>>2]=N[f+328>>2];N[b+408>>2]=N[f+352>>2];N[b+412>>2]=N[f+356>>2];N[b+416>>2]=N[f+380>>2];N[f+380>>2]=0;N[f+340>>2]=0}g=0;$:{if(N[N[b+128>>2]+52>>2]){break $}g=0;if(N[f+232>>2]){break $}N[f+8>>2]=3;g=3}N[f+232>>2]=0;N[b+396>>2]=N[f+220>>2];N[b+428>>2]=N[f+244>>2];N[b+432>>2]=N[f+248>>2];N[b+400>>2]=N[f+168>>2];N[b+424>>2]=N[f+192>>2];N[f+192>>2]=0;N[f+168>>2]=0;if(N[b+368>>2]!=1){break u}i=N[f+128>>2];if((i|0)<=0){break w}e=0;if((j|0)<=0){break x}h=0;d=0;while(1){k=d<<2;o=N[k+N[f+136>>2]>>2];p=d<<1;M[p+N[b+384>>2]>>1]=0;N[k+N[b+388>>2]>>2]=15265;aa:{if(!o){break aa}q=N[b+424>>2];a=0;while(1){n=N[(a<<2)+q>>2];if(cb(o,n)){a=a+1|0;if((j|0)!=(a|0)){continue}break aa}break}M[N[b+384>>2]+p>>1]=a;N[k+N[b+388>>2]>>2]=n;if(!cb(15265,n)){break aa}e=(d|0)<(e|0)?e:d+1|0;h=(d|0)<(h|0)?d:h}d=d+1|0;if((i|0)!=(d|0)){continue}break}break v}g=85;N[f+8>>2]=85;break e}d=0;a=0;if(i>>>0>=4){e=i&-4;while(1){M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;h=a|1;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|2;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|3;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;a=a+4|0;if((e|0)!=(a|0)){continue}break}}i=i&3;if(!i){break w}while(1){h=0;M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;a=a+1|0;e=0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break v}h=0;e=0}N[b+380>>2]=e;N[b+376>>2]=h;N[b+372>>2]=N[f+108>>2]}if(Q[b+280>>2]>=1001){N[b+280>>2]=7}if(Q[b+284>>2]<1001){break e}N[b+284>>2]=1;break e}N[f+96>>2]=0;N[f+8>>2]=g;break e}N[f+96>>2]=0;N[f+8>>2]=g;break e}g=85;break f}N[f+88>>2]=0}if(O[f+105|0]){N[f+8>>2]=g;break e}a=N[f+88>>2];if(a){Qa[N[d+8>>2]](d,a)}N[f+88>>2]=0}d=N[f+28>>2];a=N[f+160>>2];if(a){Qa[a|0](f+112|0)}a=N[f+268>>2];if(a){Qa[a|0](f+220|0)}a=N[f+216>>2];if(a){Qa[a|0](f+168|0)}a=N[f+320>>2];if(a){Qa[a|0](f+272|0)}a=N[f+376>>2];if(a){Qa[a|0](f+328|0)}h=N[f+380>>2];ba:{if(!h){break ba}e=N[h+4>>2];ca:{if(!e){break ca}a=N[h+20>>2];if((e|0)!=1){i=e&1;j=e&-2;e=0;while(1){k=N[a>>2];if(k){Qa[N[d+8>>2]](d,k)}N[a>>2]=0;k=N[a+4>>2];if(k){Qa[N[d+8>>2]](d,k)}N[a+4>>2]=0;a=a+8|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}if(!i){break ca}}e=N[a>>2];if(e){Qa[N[d+8>>2]](d,e)}N[a>>2]=0}a=N[h+20>>2];if(a){Qa[N[d+8>>2]](d,a)}N[h+20>>2]=0;a=N[f+380>>2];if(!a){break ba}Qa[N[d+8>>2]](d,a)}N[f+380>>2]=0;a=N[f+28>>2];d=N[f+96>>2];if(d){Qa[N[a+8>>2]](a,d)}N[f+96>>2]=0;if(!O[f+105|0]){d=N[f+88>>2];if(d){Qa[N[a+8>>2]](a,d)}N[f+88>>2]=0}Qa[N[f+36>>2]](f+12|0);if(g|(c|0)<0){break d}g=6;if(c&65535){break d}N[b+4>>2]=0;N[b+16>>2]=N[b+420>>2];c=N[b+8>>2];a=c|2577;N[b+8>>2]=a;if(O[b+156|0]){a=c|2581;N[b+8>>2]=a}e=N[b+532>>2];if(e){N[b+8>>2]=a|256}N[b+24>>2]=0;g=N[b+144>>2];N[b+20>>2]=g;da:{ea:{if(g){a=N[b+140>>2];if(!a){break ea}d=O[a|0];if(!d){a=12199;break da}while(1){fa:{ga:{d=d&255;c=O[g|0];if((d|0)==(c|0)){a=a+1|0;break ga}d=d-32|0;if(!((d|0)!=13?d:0)){a=a+1|0;break fa}ha:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break ea;case 0:case 13:break ga;default:break ha}}if(c){break ea}break da}g=g+1|0}d=O[a|0];if(d){continue}break}a=12199;break da}a=N[b+364>>2];if(!a){break ea}N[b+20>>2]=a}a=N[b+148>>2];a=a?a:12199}N[b+24>>2]=a;c=N[b+152>>2]!=0;N[b+12>>2]=c;a=N[b+148>>2];ia:{if(!a){break ia}if(cb(a,16733)){if(cb(a,13781)){break ia}}N[b+12>>2]=c|2}N[b+28>>2]=0;N[b+32>>2]=0;N[b+52>>2]=M[b+466>>1];a=M[b+470>>1];N[b+56>>2]=a;g=N[b+472>>2]+65535>>16;N[b+60>>2]=g;c=N[b+476>>2]+65535>>16;N[b- -64>>2]=c;d=P[b+68>>1];if(!d){M[b+68>>1]=1e3;d=1e3}M[b+76>>1]=g;M[b+72>>1]=a;M[b+70>>1]=c;a=c-a|0;c=(T(d,12)>>>0)/10|0;M[b+74>>1]=(a|0)>c<<16>>16?a:c;a=0;c=f+12|0;d=N[b+492>>2];if(!(Qa[N[N[d+12>>2]>>2]](c,b,0,0,N[b+424>>2],e,0,0,147)|0)){L[f+80|0]=0;L[f+82|0]=1;N[f+1376>>2]=N[b+404>>2];N[f+1380>>2]=N[b+408>>2];N[f+1384>>2]=N[b+412>>2];N[f+1388>>2]=N[b+416>>2];N[f+1508>>2]=N[b+548>>2];N[f+1512>>2]=N[b+544>>2];ja:{if(N[b+420>>2]<=0){break ja}a=c;c=f+1528|0;ka:{if(Ze(a,0,c,f+8|0)){break ka}a=N[N[N[f+16>>2]+128>>2]+52>>2];if(!a){break ka}Qa[N[N[a>>2]+4>>2]](N[a+4>>2],c)}a=N[f+52>>2];if(N[b+420>>2]<2){break ja}g=1;while(1){e=f+1528|0;la:{if(Ze(f+12|0,g,e,f+8|0)){break la}c=N[N[N[f+16>>2]+128>>2]+52>>2];if(!c){break la}Qa[N[N[c>>2]+4>>2]](N[c+4>>2],e)}c=N[f+52>>2];a=(a|0)<(c|0)?c:a;g=g+1|0;if((g|0)>2]){continue}break}}Qa[N[N[d+12>>2]+4>>2]](f+12|0);M[b+76>>1]=((a>>31)+a|0)+32768>>>16}M[b+78>>1]=P[b+74>>1];N[b+80>>2]=P[b+158>>1]|P[b+160>>1]<<16;if(!l){g=0;break d}a=N[m+32>>2];N[f+12>>2]=b;N[f+16>>2]=1970170211;N[f+20>>2]=65539;g=Ac(N[a+12>>2],0,f+12|0,0);ma:{if(!g){break ma}c=g&255;if((c|0)==163){break ma}if((c|0)!=7){break d}}M[f+20>>1]=7;g=0;na:{oa:{switch(N[b+368>>2]-1|0){case 1:M[f+22>>1]=0;N[f+16>>2]=1094995778;break na;case 3:M[f+22>>1]=1;N[f+16>>2]=1094992453;a=a+4|0;break na;case 0:M[f+22>>1]=2;N[f+16>>2]=1094992451;a=a+8|0;break na;case 2:break oa;default:break d}}a=a+12|0;M[f+22>>1]=3;N[f+16>>2]=1818326065}a=N[a>>2];if(!a){break d}g=Ac(a,0,f+12|0,0)}La=f+1536|0;return g|0}function vC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0;f=La-26336|0;La=f;H=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{d=N[b+40>>2];b:{if(!d){break b}c=d+(N[b+36>>2]<<2)|0;i=c-4|0;c:{d:{e:{if(d>>>0<=i>>>0){while(1){k=N[i>>2];f:{if(N[k+4>>2]!=1970170211){break f}g:{switch(P[k+8>>1]){case 3:if(P[k+10>>1]!=10){break f}break e;case 0:break g;default:break f}}if(P[k+10>>1]==4){break e}}i=i-4|0;if(d>>>0<=i>>>0){continue}break}}while(1){c=c-4|0;if(d>>>0>c>>>0){break d}k=N[c>>2];if(N[k+4>>2]!=1970170211){continue}break}}N[b+92>>2]=k;c=N[b+100>>2];G(f+19664|4,0,2748);N[f+19664>>2]=c;N[a+9856>>2]=0;N[a+52>>2]=0;c=N[N[(N[N[a>>2]+8>>2]<<2)+288704>>2]+16>>2];i=db(1,172);h:{if(!i){i=588184;break h}N[i+148>>2]=1073741823;N[i+152>>2]=536870911;N[i>>2]=1;N[i+4>>2]=1;e=Ic();i:{if(!e){break i}d=N[e>>2];if(!d){break i}if((d|0)<=0){break a}N[e>>2]=d+1}L[i+60|0]=1;N[i+24>>2]=65533;N[i+12>>2]=e}j:{k:{k=O[c|0];if(k){while(1){if((k&255)==32){while(1){d=O[c+1|0];c=c+1|0;if((d|0)==32){continue}break}}c=De(c,a,i,f);l:{if(Q[f>>2]>1){break l}g=N[i+80>>2];e=N[i+68>>2];m:{if(O[i+63|0]|N[i+168>>2]){break m}N[i+84>>2]=g;N[i+72>>2]=0;M[i+62>>1]=256;d=T(e,20);if(!d){break m}G(N[i+88>>2],0,d)}if(!e){break l}d=N[g>>2];if(d){break k}}k=O[c|0];if(k){continue}break}}bc(i);break j}bc(i);if(uc(b,d,1)){break j}d=N[b+84>>2];if(M[d+110>>1]<=0){break j}G(f,0,19652);c=N[a+40>>2];N[f+8>>2]=65536;N[f+12>>2]=65536;N[f+40>>2]=c;N[f+4>>2]=b;N[f+22404>>2]=0;N[f+22412>>2]=f;c=f+19664|0;if(rf(c,d+108|0)){break j}if(Xd(c,0)){break j}i=0;qf(c,0,0,0);d=N[f+19708>>2];if((d|0)>0){c=N[f+19716>>2];e=c+T(d,44)|0;while(1){d=N[c+20>>2];if(!(!d|c>>>0>=d>>>0|(N[d+20>>2]!=(c|0)|i>>>0>15))){d=M[c+2>>1]-M[d+2>>1]|0;g=d>>31;N[(T(i,12)+a|0)+56>>2]=(d^g)-g;i=i+1|0}c=c+44|0;if(e>>>0>c>>>0){continue}break}}N[f+26288>>2]=i;Dg(f+26288|0,a+56|0,Q[f+40>>2]/100|0);N[a+52>>2]=N[f+26288>>2];c=f+19664|0;if(Xd(c,1)){break j}i=0;qf(c,0,0,1);d=N[f+21056>>2];if((d|0)>0){c=N[f+21064>>2];e=c+T(d,44)|0;while(1){d=N[c+20>>2];if(!(!d|c>>>0>=d>>>0|(N[d+20>>2]!=(c|0)|i>>>0>15))){d=M[c+2>>1]-M[d+2>>1]|0;g=d>>31;N[(T(i,12)+a|0)+9860>>2]=(d^g)-g;i=i+1|0}c=c+44|0;if(e>>>0>c>>>0){continue}break}}N[f+26288>>2]=i;Dg(f+26288|0,a+9860|0,Q[f+40>>2]/100|0);N[a+9856>>2]=N[f+26288>>2]}if(N[a+52>>2]){c=N[a+56>>2]}else{c=(T(N[a+40>>2],50)|0)/2048|0}L[a+256|0]=0;N[a+252>>2]=c;N[a+248>>2]=(c|0)/5;if(N[a+9856>>2]){c=N[a+9860>>2]}else{c=(T(N[a+40>>2],50)|0)/2048|0}L[a+10060|0]=0;N[a+10056>>2]=c;N[a+10052>>2]=(c|0)/5;d=N[f+19664>>2];if(d){N[f+19708>>2]=0;N[f+19712>>2]=0;c=N[f+19716>>2];if((c|0)!=(f+19736|0)){if(c){Qa[N[d+8>>2]](d,c)}N[f+19716>>2]=0}c=f+19720|0;N[c>>2]=0;N[c+4>>2]=0;c=N[f+19728>>2];if((c|0)!=(f+20528|0)){if(c){Qa[N[d+8>>2]](d,c)}N[f+19728>>2]=0}c=f+21056|0;N[c>>2]=0;N[c+4>>2]=0;c=N[f+21064>>2];if((c|0)!=(f+21084|0)){if(c){Qa[N[d+8>>2]](d,c)}N[f+21064>>2]=0}c=f+21068|0;N[c>>2]=0;N[c+4>>2]=0;c=N[f+21076>>2];if((c|0)!=(f+21876|0)){if(c){Qa[N[d+8>>2]](d,c)}N[f+21076>>2]=0}c=N[f+19704>>2];if((c|0)!=(f+22416|0)){if(c){Qa[N[d+8>>2]](d,c)}N[f+19704>>2]=0}N[f+19696>>2]=0;N[f+19700>>2]=0;c=N[f+19692>>2];if((c|0)!=(f+22448|0)){if(c){Qa[N[d+8>>2]](d,c)}N[f+19692>>2]=0}N[f+19684>>2]=0;N[f+19688>>2]=0}aa=Q[a+40>>2]/14|0;U=N[a>>2];c=N[U+12>>2];q=db(1,172);n:{if(!q){q=588184;break n}N[q+148>>2]=1073741823;N[q+152>>2]=536870911;N[q>>2]=1;N[q+4>>2]=1;e=Ic();o:{if(!e){break o}d=N[e>>2];if(!d){break o}if((d|0)<=0){break a}N[e>>2]=d+1}L[q+60|0]=1;N[q+24>>2]=65533;N[q+12>>2]=e}c=(c<<3)+283472|0;k=N[c>>2];if((k|0)!=5531){while(1){I=c;A=k+277936|0;c=O[A|0];p:{if(!c){break p}v=0;u=0;k=0;i=0;while(1){if((c&255)==32){while(1){c=O[A+1|0];A=A+1|0;if((c|0)==32){continue}break}}A=De(A,a,q,f+26288|0);V=N[f+26288>>2];q:{if(!V){break q}c=P[I+4>>1];W=c&1;x=W?-2147483648:2147483647;X=c&4;ca=c&16;da=c&3;C=0;D=0;while(1){g=N[q+80>>2];d=N[q+68>>2];r:{s:{if(O[q+63|0]){break s}e=0;if(N[q+168>>2]){break r}N[q+84>>2]=g;N[q+72>>2]=0;M[q+62>>1]=256;c=T(d,20);if(!c){break s}G(N[q+88>>2],0,c)}e=N[q+88>>2]}t:{if(d>>>0<=C>>>0){break t}d=T(C,20);c=N[d+g>>2];if(!c){break t}B=N[(d+e|0)+12>>2];if(uc(b,c,1)){break t}c=N[b+84>>2];if(M[c+110>>1]<3){break t}t=0;l=M[c+108>>1];u:{if((l|0)<=0){E=0;break u}n=N[c+120>>2];y=N[c+116>>2];r=N[c+112>>2];g=-1;w=0;j=0;m=0;d=0;while(1){s=M[n+(m<<1)>>1];v:{if((s|0)<=(j|0)){c=g;break v}c=(s-j|0)+1&1;w:{if(da){x:{if(!c){o=j;e=d;c=g;break x}e=N[((j<<3)+r|0)+4>>2];c=B+e|0;o=j+1|0;y:{if(!((g|0)<0|(d|0)<(e|0))){i=(c|0)>(i|0)?i:c;e=d;c=g;break y}k=(c|0)<(k|0)?k:c;d=e;c=j}}if((j|0)==(s|0)){break w}while(1){d=N[((o<<3)+r|0)+4>>2];h=B+d|0;z:{if(!((d|0)<=(e|0)&(c|0)>=0)){k=(h|0)<(k|0)?k:h;c=o;break z}i=(h|0)>(i|0)?i:h;d=e}h=o+1|0;e=N[((h<<3)+r|0)+4>>2];p=B+e|0;A:{if(!((c|0)<0|(d|0)<(e|0))){i=(i|0)<(p|0)?i:p;e=d;break A}k=(k|0)>(p|0)?k:p;c=h}o=o+2|0;d=e;if((h|0)!=(s|0)){continue}break}break w}B:{if(!c){o=j;e=d;c=g;break B}e=N[((j<<3)+r|0)+4>>2];c=B+e|0;o=j+1|0;C:{if(!((g|0)<0|(d|0)>(e|0))){k=(c|0)<(k|0)?k:c;e=d;c=g;break C}i=(c|0)>(i|0)?i:c;d=e;c=j}}if((j|0)==(s|0)){break w}while(1){d=N[((o<<3)+r|0)+4>>2];h=B+d|0;D:{if(!((c|0)>=0&(d|0)>=(e|0))){i=(h|0)>(i|0)?i:h;c=o;break D}k=(h|0)<(k|0)?k:h;d=e}h=o+1|0;e=N[((h<<3)+r|0)+4>>2];p=B+e|0;E:{if(!((c|0)<0|(d|0)>(e|0))){k=(k|0)>(p|0)?k:p;e=d;break E}i=(i|0)<(p|0)?i:p;c=h}o=o+2|0;d=e;if((h|0)!=(s|0)){continue}break}}e=(c|0)==(g|0);t=e?t:j;w=e?w:s;g=c}j=s+1|0;m=m+1|0;if((l|0)!=(m|0)){continue}break}E=0;if((c|0)<0){t=d;break u}J=N[(c<<3)+r>>2];h=c;e=(O[c+y|0]&3)!=1?-1:c;o=e;F:{while(1){g=(h|0)>(t|0)?h-1|0:w;l=(g<<3)+r|0;j=N[l+4>>2]-d|0;n=j>>31;n=(j^n)-n|0;if(n>>>0>=6){j=N[l>>2]-J|0;l=j>>31;if((j^l)-l>>>0<=T(n,20)>>>0){break F}}h=(O[g+y|0]&3)==1;o=h?(o|0)<0?g:o:o;e=h?g:e;h=g;if((g|0)!=(c|0)){continue}break}h=c}g=c;G:{while(1){j=(g|0)<(w|0)?g+1|0:t;K=(j<<3)+r|0;n=N[K+4>>2]-d|0;l=n>>31;l=(l^n)-l|0;if(l>>>0>=6){n=N[K>>2]-J|0;m=n>>31;if((n^m)-m>>>0<=T(l,20)>>>0){break G}}g=(O[j+y|0]&3)==1;e=g?(e|0)<0?j:e:e;o=g?j:o;g=j;if((g|0)!=(c|0)){continue}break}g=c}H:{I:{if(!ca){break I}n=N[(g<<3)+r>>2]-N[(h<<3)+r>>2]|0;l=n>>31;j=N[a+40>>2];Y=(j>>>0)/25|0;if(Y>>>0<=(l^n)-l>>>0){break I}m=c;if(((g-h|0)+2|0)>(w-t|0)){break I}while(1){m=(m|0)>(t|0)?m-1|0:w;Z=N[(m<<3)+r>>2];if((J|0)==(Z|0)&(c|0)!=(m|0)){continue}break}if((c|0)==(m|0)){break t}ea=j>>>2|0;R=0;n=g;c=g;m=0;l=0;while(1){if(!R){m=(O[c+y|0]&3)!=1?-1:c;l=m;n=c}c=(c|0)<(w|0)?c+1|0:t;R=0;s=(n<<3)+r|0;j=N[s+4>>2];p=d-j|0;z=p>>31;J:{if((p^z)-z>>>0>ea>>>0){break J}p=(c<<3)+r|0;_=N[p>>2];S=N[s>>2];s=_-S|0;z=s>>31;p=N[p+4>>2]-j|0;$=p>>31;z=(s^z)-z|0;p=(p^$)-$|0;s=T(p,20);if(z>>>0<=s>>>0&p>>>0>=6){break J}R=1;p=(O[c+y|0]&3)==1;m=p?(m|0)<0?c:m:m;l=p?c:l;if((S|0)<(_|0)^(J|0)>(Z|0)|z>>>0>>0){break J}while(1){c=(c|0)<(w|0)?c+1|0:t;d=N[((c<<3)+r|0)+4>>2]-j|0;e=d>>31;K:{if((d^e)-e>>>0<6){break K}d=N[K>>2]-S|0;e=d>>31;if(s>>>0<(d^e)-e>>>0){break K}g=(c|0)>(t|0)?c-1|0:w;break H}m=(O[c+y|0]&3)==1?(m|0)<0?c:m:m;l=c;if((c|0)!=(h|0)){continue}break}g=h;l=g;break H}if((c|0)!=(h|0)){continue}break}}j=d;n=h;m=e;l=o}t=j+B|0;if((m|l)>=0){c=N[(l<<3)+r>>2]-N[(m<<3)+r>>2]|0;d=c>>31;if((c^d)-d>>>0>aa>>>0){break u}}if((O[n+y|0]&3)==1){c=O[g+y|0]&3;E=(c|0)!=1;if(!X|(c|0)==1){break u}break t}E=1;if(X){break t}}if(W){c=(t|0)>(x|0);x=c?t:x;D=c?E:D;break t}c=(t|0)<(x|0);x=c?t:x;D=c?E:D}C=C+1|0;if((V|0)!=(C|0)){continue}break}if(x-2147483647>>>0<2){break q}c=D&255;N[(c?(f+19664|0)+(u<<2)|0:(v<<2)+f|0)>>2]=x;v=!c+v|0;u=((c|0)!=0)+u|0}c=O[A|0];if(c){continue}break}if(!(u|v)){break p}L:{if(u>>>0<2){break L}d=1;if((u|0)!=2){c=u-1|0;n=c&1;o=c&-2;m=0;while(1){l=N[(f+19664|0)+(d<<2)>>2];c=d;while(1){j=f+19664|0;e=c-1|0;h=j+(e<<2)|0;g=N[h>>2];if((g|0)>(l|0)){N[j+(c<<2)>>2]=g;N[h>>2]=l;c=e;if(c){continue}}break}c=d+1|0;j=N[(f+19664|0)+(c<<2)>>2];while(1){M:{e=c<<2;h=(e+f|0)+19660|0;g=N[h>>2];if((g|0)<=(j|0)){break M}l=e;e=f+19664|0;N[l+e>>2]=g;N[h>>2]=j;c=c-2|0;g=e+(c<<2)|0;e=N[g>>2];if((e|0)<=(j|0)){break M}N[h>>2]=e;N[g>>2]=j;if(c){continue}}break}d=d+2|0;m=m+2|0;if((o|0)!=(m|0)){continue}break}if(!n){break L}}j=N[(f+19664|0)+(d<<2)>>2];while(1){h=f+19664|0;c=d-1|0;g=h+(c<<2)|0;e=N[g>>2];if((e|0)<=(j|0)){break L}N[h+(d<<2)>>2]=e;N[g>>2]=j;d=c;if(c){continue}break}}N:{if(v>>>0<2){break N}d=1;if((v|0)!=2){c=v-1|0;o=c&1;j=c&-2;m=0;while(1){n=N[(d<<2)+f>>2];c=d;while(1){e=c-1|0;h=(e<<2)+f|0;g=N[h>>2];if((g|0)>(n|0)){N[(c<<2)+f>>2]=g;N[h>>2]=n;c=e;if(c){continue}}break}c=d+1|0;n=N[(c<<2)+f>>2];while(1){O:{h=(c-1<<2)+f|0;e=N[h>>2];if((e|0)<=(n|0)){break O}N[(c<<2)+f>>2]=e;N[h>>2]=n;c=c-2|0;g=(c<<2)+f|0;e=N[g>>2];if((e|0)<=(n|0)){break O}N[h>>2]=e;N[g>>2]=n;if(c){continue}}break}d=d+2|0;m=m+2|0;if((j|0)!=(m|0)){continue}break}if(!o){break N}}h=N[(d<<2)+f>>2];while(1){c=d-1|0;g=(c<<2)+f|0;e=N[g>>2];if((e|0)<=(h|0)){break N}N[(d<<2)+f>>2]=e;N[g>>2]=h;d=c;if(c){continue}break}}c=N[a+10064>>2];N[a+10064>>2]=c+1;j=T(c,36)+a|0;c=j+10080|0;d=j+10068|0;g=P[I+4>>1];e=N[(f+19664|0)+(u<<1&-4)>>2];P:{Q:{if(!v){break Q}h=N[(v<<1&-4)+f>>2];e=h;if(!u){break Q}N[d>>2]=h;e=N[(f+19664|0)+(u<<1&-4)>>2];N[c>>2]=e;if((e|0)==(h|0)|((g&3)!=0|0)==((e|0)>(h|0)|0)){break P}e=(e+h|0)/2|0}N[c>>2]=e;N[d>>2]=e}d=j+10100|0;c=g<<1&14;N[d>>2]=c;N[j+10096>>2]=i;N[j+10092>>2]=k;if(!(g&8)){break p}N[d>>2]=c|16}c=I+8|0;k=N[I+8>>2];if((k|0)!=5531){continue}break}}bc(q);R:{S:{l=N[a+10064>>2];if(l){i=0;c=0;if(l>>>0>=4){e=l&-4;h=a+10068|0;while(1){g=f+26288|0;N[g+(c<<2)>>2]=h+T(c,36);d=c|1;N[g+(d<<2)>>2]=h+T(d,36);d=c|2;N[g+(d<<2)>>2]=h+T(d,36);d=c|3;N[g+(d<<2)>>2]=h+T(d,36);c=c+4|0;if((e|0)!=(c|0)){continue}break}}d=l&3;if(d){while(1){N[(f+26288|0)+(c<<2)>>2]=(T(c,36)+a|0)+10068;c=c+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(l>>>0>=2){e=1;while(1){n=N[(f+26288|0)+(e<<2)>>2];j=N[(O[n+32|0]&6?0:12)+n>>2];c=e;while(1){h=f+26288|0;d=c-1|0;g=h+(d<<2)|0;o=N[g>>2];if((j|0)>2]){N[h+(c<<2)>>2]=o;N[g>>2]=n;c=d;if(c){continue}}break}e=e+1|0;if((l|0)!=(e|0)){continue}break}}e=l-1|0;if(e){c=N[f+26288>>2];i=N[c+32>>2];k=0;while(1){g=i&6?c+12|0:c;k=k+1|0;c=N[(f+26288|0)+(k<<2)>>2];i=N[c+32>>2];d=N[(i&6?12:0)+c>>2];if((d|0)>2]){N[g>>2]=d}if((e|0)!=(k|0)){continue}break}}N[f+16>>2]=N[73412];c=N[73411];N[f+8>>2]=N[73410];N[f+12>>2]=c;c=N[73409];N[f>>2]=N[73408];N[f+4>>2]=c;c=db(1,172);if(c){break S}c=588184;break R}a=N[a+36>>2];d=N[a+4>>2];T:{if((d|0)<=0){break T}j=N[a+8>>2];h=N[U>>2];c=0;if((d|0)!=1){g=d&1;e=d&-2;while(1){d=c<<1;a=d+j|0;if((h|0)==(P[a>>1]&16383)){M[a>>1]=66}a=j+(d|2)|0;if((h|0)==(P[a>>1]&16383)){M[a>>1]=66}c=c+2|0;if((e|0)!=(c|0)){continue}break}if(!g){break T}}a=j+(c<<1)|0;if((h|0)!=(P[a>>1]&16383)){break T}M[a>>1]=66}k=-1;break c}N[c+148>>2]=1073741823;N[c+152>>2]=536870911;N[c>>2]=1;N[c+4>>2]=1;e=Ic();U:{if(!e){break U}d=N[e>>2];if(!d){break U}if((d|0)<=0){break a}N[e>>2]=d+1}L[c+60|0]=1;N[c+24>>2]=65533;N[c+12>>2]=e}k=f;d=0;e=0;V:{while(1){k=De(k,a,c,f+19664|0);W:{if(Q[f+19664>>2]>1){break W}j=N[c+80>>2];h=N[c+68>>2];X:{Y:{if(O[c+63|0]){break Y}g=0;if(N[c+168>>2]){break X}N[c+84>>2]=j;N[c+72>>2]=0;M[c+62>>1]=256;g=T(h,20);if(!g){break Y}G(N[c+88>>2],0,g)}g=N[c+88>>2]}if(!h|!N[j>>2]){break W}g=N[g>>2];h=d&255;d=1;if(!h){e=g;break W}if((e|0)==(g|0)){break W}d=0;break V}if(O[k|0]){continue}break}d=1}bc(c);L[a+32|0]=d}k=0}if(!b|!H){break b}c=N[b+40>>2];if(!c){break b}a=N[b+36>>2];if((a|0)<=0){break b}e=(a<<2)+c|0;while(1){Z:{if(N[c>>2]!=(H|0)){break Z}a=N[H>>2];_:{if(!a){break _}d=N[a+96>>2];a=N[N[d>>2]+32>>2];if(!a){break _}a=Qa[a|0](d,10557)|0;if(!a){break _}if(Qa[N[a>>2]](H,f)|0){break _}if(N[f+4>>2]==14){break Z}}N[b+92>>2]=N[c>>2];break b}c=c+4|0;if(e>>>0>c>>>0){continue}break}}La=f+26336|0;return k|0}ba(23506,14099,260,16403);F()}function lf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;q=La-48|0;La=q;C=N[a+11744>>2];g=(C|0)==2;h=N[(g?a+11756|0:a+11772|0)+4>>2];i=(g?11756:11772)+a|0;p=N[i>>2];o=N[c>>2];k=N[c+4>>2];a:{if(!((p|0)!=(o|0)|(k|0)!=(h|0))){u=1;break a}v=N[(g?a+11748|0:a+11764|0)+4>>2];t=h-v|0;x=t+16|0;n=x>>5;A=(d-o|0)+16|0;j=A>>5;B=(e-k|0)+16|0;m=B>>5;l=m>>31;r=N[(g?11748:11764)+a>>2];w=p-r|0;y=w+16|0;z=y>>5;u=z>>31;g=(l^m)-l|0;D=g>>>8|0;l=(u^z)-u|0;b:{if(D+l>>>0<=8190){m=T(g,l)+32768>>>16|0;break b}u=l&65535;m=T(u,g>>>16|0)+T(g,l>>>16|0)+(T(u,g&65535)+32768>>>16)|0}l=m;s=0-l|0;l=y>>31|1;y=(((B|0)<0?0-l|0:l)|0)<0?s:m;l=j>>31;j=(l^j)-l|0;z=j>>>8|0;l=n>>31;l=(l^n)-l|0;c:{if(z+l>>>0<=8190){s=T(j,l)+32768>>>16|0;break c}n=l&65535;s=T(n,j>>>16|0)+T(j,l>>>16|0)+(T(n,j&65535)+32768>>>16)|0}m=s;l=0;u=1;n=0;E=0-m|0;m=x>>31|1;m=(((A|0)<0?0-m|0:m)|0)<0?E:s;if((m|0)==(y|0)){break a}u=(k-v|0)+16|0;n=u>>5;m=y-m|0;y=(o-r|0)+16|0;x=y>>5;l=x>>31;l=(l^x)-l|0;d:{if(l+D>>>0<=8190){g=T(g,l)+32768>>>16|0;break d}x=l&65535;g=T(x,g>>>16|0)+T(g,l>>>16|0)+(T(x,g&65535)+32768>>>16)|0}l=g;s=0-l|0;l=y>>31|1;s=(((B|0)<0?0-l|0:l)|0)<0?s:g;l=n>>31;l=(l^n)-l|0;e:{if(l+z>>>0<=8190){g=T(j,l)+32768>>>16|0;break e}n=l&65535;g=T(n,j>>>16|0)+T(j,l>>>16|0)+(T(n,j&65535)+32768>>>16)|0}l=g;j=0-l|0;l=u>>31|1;g=fb(s+((((A|0)<0?0-l|0:l)|0)<0?g:j)|0,m);l=g>>31;l=(g^l)-l|0;n=w>>31;n=(n^w)-n|0;f:{if(l+(n>>>8|0)>>>0<=8190){n=T(l,n)+32768>>>16|0;break f}j=l&65535;n=T(j,n>>>16|0)+T(n,l>>>16|0)+(T(j,n&65535)+32768>>>16)|0}g=g>>31|1;u=0-g|0;j=(((w|0)<0?u:g)|0)<0?0-n|0:n;n=t>>31;n=(n^t)-n|0;g:{if(l+(n>>>8|0)>>>0<=8190){l=T(l,n)+32768>>>16|0;break g}w=l&65535;l=T(w,n>>>16|0)+T(n,l>>>16|0)+(T(w,n&65535)+32768>>>16)|0}n=j+r|0;if((p|0)==(r|0)){r=n-p|0;j=r>>31;n=N[a+11696>>2]>((j^r)-j|0)?p:n}l=v+((((t|0)<0?u:g)|0)<0?0-l|0:l)|0;if((h|0)==(v|0)){j=l-h|0;g=j>>31;l=N[a+11696>>2]>((g^j)-g|0)?h:l}if((d|0)==(o|0)){j=n-d|0;g=j>>31;n=N[a+11696>>2]>((g^j)-g|0)?d:n}if((e|0)==(k|0)){g=l-e|0;d=g>>31;l=N[a+11696>>2]>((d^g)-d|0)?e:l}u=1;e=((o+p|0)/-2|0)+n|0;d=e>>31;d=(d^e)-d|0;e=N[a+11692>>2];if((d|0)>(e|0)){break a}g=((h+k|0)/-2|0)+l|0;d=g>>31;if(((d^g)-d|0)>(e|0)){break a}N[i>>2]=n;N[i+4>>2]=l;u=0}e=N[a+11728>>2];o=e;d=N[a+11724>>2];N[q+8>>2]=d;N[q+12>>2]=e;h:{i:{j:{switch(C-2|0){case 0:N[q+40>>2]=2;k:{if(f){e=N[a+11760>>2];j=N[a+11640>>2];g=j>>31;h=N[a+11756>>2];i=h>>31;g=(g^j)-g|0;i=(i^h)-i|0;l:{if(g+(i>>>8|0)>>>0<=8190){g=T(i,g)+32768>>>16|0;break l}k=g&65535;g=T(k,i>>>16|0)+T(i,g>>>16|0)+(T(k,i&65535)+32768>>>16)|0}i=g;k=a+3876|0;m=0-i|0;i=j>>31|1;m=(((h|0)<0?0-i|0:i)|0)<0?m:g;j=N[a+11644>>2];g=j>>31;g=(g^j)-g|0;i=e>>31;i=(i^e)-i|0;m:{if(g+(i>>>8|0)>>>0<=8190){h=T(i,g)+32768>>>16|0;break m}p=g&65535;h=T(p,i>>>16|0)+T(i,g>>>16|0)+(T(p,i&65535)+32768>>>16)|0}i=h;g=0-i|0;i=j>>31|1;i=m+((((e|0)<0?0-i|0:i)|0)<0?g:h)|0;e=Zc(k,e);break k}e=N[a+11760>>2];j=N[a+11640>>2];g=j>>31;h=N[a+11756>>2];i=h>>31;g=(g^j)-g|0;i=(i^h)-i|0;n:{if(g+(i>>>8|0)>>>0<=8190){g=T(i,g)+32768>>>16|0;break n}k=g&65535;g=T(k,i>>>16|0)+T(i,g>>>16|0)+(T(k,i&65535)+32768>>>16)|0}i=g;k=0-i|0;i=j>>31|1;m=(((h|0)<0?0-i|0:i)|0)<0?k:g;j=N[a+11644>>2];g=j>>31;g=(g^j)-g|0;i=e>>31;i=(i^e)-i|0;o:{if(g+(i>>>8|0)>>>0<=8190){h=T(i,g)+32768>>>16|0;break o}k=g&65535;h=T(k,i>>>16|0)+T(i,g>>>16|0)+(T(k,i&65535)+32768>>>16)|0}i=h;g=0-i|0;i=j>>31|1;i=m+((((e|0)<0?0-i|0:i)|0)<0?g:h)|0;e=Zc(b,e)}h=N[a>>2];k=N[h+64>>2];j=k>>31;g=i>>31;g=(g^i)-g|0;v=g>>>8|0;j=(j^k)-j|0;p:{if(v+j>>>0<=8190){m=T(g,j)+32768>>>16|0;break p}p=j&65535;m=T(p,g>>>16|0)+T(g,j>>>16|0)+(T(p,g&65535)+32768>>>16)|0}j=m;s=0-j|0;j=k>>31|1;s=(((i|0)<0?0-j|0:j)|0)<0?s:m;p=N[h+72>>2];k=p>>31;j=e>>31;j=(j^e)-j|0;r=j>>>8|0;k=(k^p)-k|0;q:{if(r+k>>>0<=8190){m=T(j,k)+32768>>>16|0;break q}w=k&65535;m=T(w,j>>>16|0)+T(j,k>>>16|0)+(T(w,j&65535)+32768>>>16)|0}k=m;t=0-k|0;k=p>>31|1;t=s+((((e|0)<0?0-k|0:k)|0)<0?t:m)|0;w=N[a+11652>>2];p=N[h+68>>2];k=p>>31;k=(k^p)-k|0;r:{if(k+v>>>0<=8190){m=T(g,k)+32768>>>16|0;break r}v=k&65535;m=T(v,g>>>16|0)+T(g,k>>>16|0)+(T(v,g&65535)+32768>>>16)|0}g=m;k=t+w|0;s=N[a+11656>>2];t=0-g|0;g=p>>31|1;m=(((i|0)<0?0-g|0:g)|0)<0?t:m;g=N[h+76>>2];i=g>>31;i=(i^g)-i|0;s:{if(i+r>>>0<=8190){h=T(i,j)+32768>>>16|0;break s}h=i&65535;h=T(h,j>>>16|0)+T(j,i>>>16|0)+(T(h,j&65535)+32768>>>16)|0}i=h;j=0-i|0;i=g>>31|1;e=s+(m+((((e|0)<0?0-i|0:i)|0)<0?j:h)|0)|0;N[q+20>>2]=e;N[q+16>>2]=k;if((d|0)==(k|0)&(e|0)==(o|0)){break h}i=N[a+4>>2];e=i+4|0;d=q+16|0;break i;case 2:break j;default:break h}}N[q+40>>2]=4;d=N[a+11760>>2];g=N[a+11640>>2];i=g>>31;j=N[a+11756>>2];e=j>>31;i=(i^g)-i|0;e=(e^j)-e|0;t:{if(i+(e>>>8|0)>>>0<=8190){i=T(e,i)+32768>>>16|0;break t}h=i&65535;i=T(h,e>>>16|0)+T(e,i>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=i;h=0-e|0;e=g>>31|1;j=(((j|0)<0?0-e|0:e)|0)<0?h:i;g=N[a+11644>>2];i=g>>31;i=(i^g)-i|0;e=d>>31;e=(e^d)-e|0;u:{if(i+(e>>>8|0)>>>0<=8190){h=T(e,i)+32768>>>16|0;break u}h=i&65535;h=T(h,e>>>16|0)+T(e,i>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;i=Zc(b,d);s=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=j+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;j=N[a>>2];h=N[j+64>>2];e=h>>31;d=(d^g)-d|0;o=d>>>8|0;e=(e^h)-e|0;v:{if(o+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break v}k=e&65535;k=T(k,d>>>16|0)+T(d,e>>>16|0)+(T(k,d&65535)+32768>>>16)|0}e=k;m=0-e|0;e=h>>31|1;p=(((g|0)<0?0-e|0:e)|0)<0?m:k;k=N[j+72>>2];h=k>>31;e=i>>31;e=(e^i)-e|0;t=e>>>8|0;h=(h^k)-h|0;w:{if(t+h>>>0<=8190){m=T(e,h)+32768>>>16|0;break w}r=h&65535;m=T(r,e>>>16|0)+T(e,h>>>16|0)+(T(r,e&65535)+32768>>>16)|0}h=m;r=0-h|0;h=k>>31|1;N[q+16>>2]=s+(p+((((i|0)<0?0-h|0:h)|0)<0?r:m)|0);m=N[a+11656>>2];k=N[j+68>>2];h=k>>31;h=(h^k)-h|0;x:{if(h+o>>>0<=8190){h=T(d,h)+32768>>>16|0;break x}o=h&65535;h=T(o,d>>>16|0)+T(d,h>>>16|0)+(T(o,d&65535)+32768>>>16)|0}d=h;o=0-d|0;d=k>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?o:h;g=N[j+76>>2];d=g>>31;d=(d^g)-d|0;y:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break y}j=d&65535;e=T(j,e>>>16|0)+T(e,d>>>16|0)+(T(j,e&65535)+32768>>>16)|0}d=e;j=0-d|0;d=g>>31|1;N[q+20>>2]=m+(h+((((i|0)<0?0-d|0:d)|0)<0?j:e)|0);d=N[a+11768>>2];g=N[a+11640>>2];i=g>>31;j=N[a+11764>>2];e=j>>31;i=(i^g)-i|0;e=(e^j)-e|0;z:{if(i+(e>>>8|0)>>>0<=8190){i=T(e,i)+32768>>>16|0;break z}h=i&65535;i=T(h,e>>>16|0)+T(e,i>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=i;h=0-e|0;e=g>>31|1;j=(((j|0)<0?0-e|0:e)|0)<0?h:i;g=N[a+11644>>2];i=g>>31;i=(i^g)-i|0;e=d>>31;e=(e^d)-e|0;A:{if(i+(e>>>8|0)>>>0<=8190){h=T(e,i)+32768>>>16|0;break A}h=i&65535;h=T(h,e>>>16|0)+T(e,i>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;i=Zc(b,d);s=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=j+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;j=N[a>>2];h=N[j+64>>2];e=h>>31;d=(d^g)-d|0;o=d>>>8|0;e=(e^h)-e|0;B:{if(o+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break B}k=e&65535;k=T(k,d>>>16|0)+T(d,e>>>16|0)+(T(k,d&65535)+32768>>>16)|0}e=k;m=0-e|0;e=h>>31|1;p=(((g|0)<0?0-e|0:e)|0)<0?m:k;k=N[j+72>>2];h=k>>31;e=i>>31;e=(e^i)-e|0;t=e>>>8|0;h=(h^k)-h|0;C:{if(t+h>>>0<=8190){m=T(e,h)+32768>>>16|0;break C}r=h&65535;m=T(r,e>>>16|0)+T(e,h>>>16|0)+(T(r,e&65535)+32768>>>16)|0}h=m;r=0-h|0;h=k>>31|1;N[q+24>>2]=s+(p+((((i|0)<0?0-h|0:h)|0)<0?r:m)|0);m=N[a+11656>>2];k=N[j+68>>2];h=k>>31;h=(h^k)-h|0;D:{if(h+o>>>0<=8190){h=T(d,h)+32768>>>16|0;break D}o=h&65535;h=T(o,d>>>16|0)+T(d,h>>>16|0)+(T(o,d&65535)+32768>>>16)|0}d=h;o=0-d|0;d=k>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?o:h;g=N[j+76>>2];d=g>>31;d=(d^g)-d|0;E:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break E}j=d&65535;e=T(j,e>>>16|0)+T(e,d>>>16|0)+(T(j,e&65535)+32768>>>16)|0}d=e;j=0-d|0;d=g>>31|1;N[q+28>>2]=m+(h+((((i|0)<0?0-d|0:d)|0)<0?j:e)|0);d=N[a+11776>>2];g=N[a+11640>>2];i=g>>31;j=N[a+11772>>2];e=j>>31;i=(i^g)-i|0;e=(e^j)-e|0;F:{if(i+(e>>>8|0)>>>0<=8190){i=T(e,i)+32768>>>16|0;break F}h=i&65535;i=T(h,e>>>16|0)+T(e,i>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=i;h=0-e|0;e=g>>31|1;j=(((j|0)<0?0-e|0:e)|0)<0?h:i;g=N[a+11644>>2];i=g>>31;i=(i^g)-i|0;e=d>>31;e=(e^d)-e|0;G:{if(i+(e>>>8|0)>>>0<=8190){h=T(e,i)+32768>>>16|0;break G}h=i&65535;h=T(h,e>>>16|0)+T(e,i>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;i=Zc(b,d);s=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=j+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;j=N[a>>2];h=N[j+64>>2];e=h>>31;d=(d^g)-d|0;o=d>>>8|0;e=(e^h)-e|0;H:{if(o+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break H}k=e&65535;k=T(k,d>>>16|0)+T(d,e>>>16|0)+(T(k,d&65535)+32768>>>16)|0}e=k;m=0-e|0;e=h>>31|1;p=(((g|0)<0?0-e|0:e)|0)<0?m:k;k=N[j+72>>2];h=k>>31;e=i>>31;e=(e^i)-e|0;t=e>>>8|0;h=(h^k)-h|0;I:{if(t+h>>>0<=8190){m=T(e,h)+32768>>>16|0;break I}r=h&65535;m=T(r,e>>>16|0)+T(e,h>>>16|0)+(T(r,e&65535)+32768>>>16)|0}h=m;r=0-h|0;h=k>>31|1;N[q+32>>2]=s+(p+((((i|0)<0?0-h|0:h)|0)<0?r:m)|0);m=N[a+11656>>2];k=N[j+68>>2];h=k>>31;h=(h^k)-h|0;J:{if(h+o>>>0<=8190){h=T(d,h)+32768>>>16|0;break J}o=h&65535;h=T(o,d>>>16|0)+T(d,h>>>16|0)+(T(o,d&65535)+32768>>>16)|0}d=h;o=0-d|0;d=k>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?o:h;g=N[j+76>>2];d=g>>31;d=(d^g)-d|0;K:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break K}j=d&65535;e=T(j,e>>>16|0)+T(e,d>>>16|0)+(T(j,e&65535)+32768>>>16)|0}d=e;j=0-d|0;d=g>>31|1;N[q+36>>2]=m+(h+((((i|0)<0?0-d|0:d)|0)<0?j:e)|0);i=N[a+4>>2];e=i+12|0;d=q+32|0}Qa[N[e>>2]](i,q+8|0);e=N[d+4>>2];N[a+11724>>2]=N[d>>2];N[a+11728>>2]=e}L:{if(!(f|u)){break L}M:{if(f){b=N[c+4>>2];g=a+3876|0;f=N[a+11640>>2];e=f>>31;i=N[c>>2];d=i>>31;e=(e^f)-e|0;d=(d^i)-d|0;N:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break N}j=e&65535;e=T(j,d>>>16|0)+T(d,e>>>16|0)+(T(j,d&65535)+32768>>>16)|0}d=e;h=0-d|0;d=f>>31|1;i=(((i|0)<0?0-d|0:d)|0)<0?h:e;f=N[a+11644>>2];e=f>>31;e=(e^f)-e|0;d=b>>31;d=(d^b)-d|0;O:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break O}j=e&65535;e=T(j,d>>>16|0)+T(d,e>>>16|0)+(T(j,d&65535)+32768>>>16)|0}d=e;h=0-d|0;d=f>>31|1;f=i+((((b|0)<0?0-d|0:d)|0)<0?h:e)|0;b=Zc(g,b);break M}d=N[c+4>>2];i=N[a+11640>>2];f=i>>31;g=N[c>>2];e=g>>31;f=(f^i)-f|0;e=(e^g)-e|0;P:{if(f+(e>>>8|0)>>>0<=8190){f=T(e,f)+32768>>>16|0;break P}j=f&65535;f=T(j,e>>>16|0)+T(e,f>>>16|0)+(T(j,e&65535)+32768>>>16)|0}e=f;h=0-e|0;e=i>>31|1;h=(((g|0)<0?0-e|0:e)|0)<0?h:f;i=N[a+11644>>2];f=i>>31;f=(f^i)-f|0;e=d>>31;e=(e^d)-e|0;Q:{if(f+(e>>>8|0)>>>0<=8190){f=T(e,f)+32768>>>16|0;break Q}j=f&65535;f=T(j,e>>>16|0)+T(e,f>>>16|0)+(T(j,e&65535)+32768>>>16)|0}e=f;g=0-e|0;e=i>>31|1;f=h+((((d|0)<0?0-e|0:e)|0)<0?g:f)|0;b=Zc(b,d)}m=N[a+11652>>2];i=N[a>>2];g=N[i+64>>2];e=g>>31;d=f>>31;d=(d^f)-d|0;k=d>>>8|0;e=(e^g)-e|0;R:{if(k+e>>>0<=8190){h=T(d,e)+32768>>>16|0;break R}j=e&65535;h=T(j,d>>>16|0)+T(d,e>>>16|0)+(T(j,d&65535)+32768>>>16)|0}e=h;j=0-e|0;e=g>>31|1;s=(((f|0)<0?0-e|0:e)|0)<0?j:h;j=N[i+72>>2];g=j>>31;e=b>>31;e=(e^b)-e|0;o=e>>>8|0;g=(g^j)-g|0;S:{if(o+g>>>0<=8190){h=T(e,g)+32768>>>16|0;break S}v=g&65535;h=T(v,e>>>16|0)+T(e,g>>>16|0)+(T(v,e&65535)+32768>>>16)|0}g=h;p=0-g|0;g=j>>31|1;h=m+(s+((((b|0)<0?0-g|0:g)|0)<0?p:h)|0)|0;N[q+16>>2]=h;m=N[a+11656>>2];j=N[i+68>>2];g=j>>31;g=(g^j)-g|0;T:{if(g+k>>>0<=8190){g=T(d,g)+32768>>>16|0;break T}k=g&65535;g=T(k,d>>>16|0)+T(d,g>>>16|0)+(T(k,d&65535)+32768>>>16)|0}d=g;k=0-d|0;d=j>>31|1;g=(((f|0)<0?0-d|0:d)|0)<0?k:g;f=N[i+76>>2];d=f>>31;d=(d^f)-d|0;U:{if(d+o>>>0<=8190){e=T(d,e)+32768>>>16|0;break U}i=d&65535;e=T(i,e>>>16|0)+T(e,d>>>16|0)+(T(i,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=f>>31|1;b=m+(g+((((b|0)<0?0-d|0:d)|0)<0?i:e)|0)|0;N[q+20>>2]=b;if((h|0)==N[a+11724>>2]&(b|0)==N[a+11728>>2]){break L}N[q+40>>2]=2;b=N[a+11728>>2];N[q+8>>2]=N[a+11724>>2];N[q+12>>2]=b;b=N[a+4>>2];Qa[N[b+4>>2]](b,q+8|0);b=N[q+20>>2];N[a+11724>>2]=N[q+16>>2];N[a+11728>>2]=b}if(!u){N[c>>2]=n;N[c+4>>2]=l}La=q+48|0}function Pg(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,H=0,I=0,J=0,K=0,P=0;C=La-16|0;La=C;a:{b:{c:{d:{e:{f:{if(N[b+24>>2]){break f}g:{h:{i:{j:{k:{l:{m:{n:{o:{if(Q[b>>2]<=a>>>0){i=N[b+4>>2];if(i>>>0>=a>>>0){if(i-a>>>0<7){k=a+6|0;j=k-i|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-i|0))){N[b+24>>2]=4;break f}if((i|0)!=(k|0)){G(i,0,j);i=N[b+4>>2]}j=i+j|0;N[b+4>>2]=j;if(N[b+24>>2]|!i){break f}q=a+4|0;if(q>>>0>=Q[b>>2]){if(j>>>0>=q>>>0){if(j-q>>>0<3){l=k-j|0;if(!((l|0)>=0&(l|0)<=(N[b+8>>2]-j|0))){N[b+24>>2]=4;break f}i=N[c+4>>2];if((k|0)!=(j|0)){G(j,0,l);k=N[b+4>>2]}N[b+4>>2]=k+l;if(!k){break f}j=i<<8|(i&65280)>>>8;L[q|0]=j;L[q+1|0]=j>>>8;j=N[b+24>>2];if(i>>>0>=65536){N[b+24>>2]=j|16;break f}if(j){break f}if(Q[b>>2]<=q>>>0){k=N[b+4>>2];if(q>>>0<=k>>>0){j=(i<<1&131070)+2|0;if(j>>>0>=k-q>>>0){l=j+q|0;j=l-k|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-k|0))){N[b+24>>2]=4;break f}if((k|0)!=(l|0)){G(k,0,j);k=N[b+4>>2]}N[b+4>>2]=k+j;if(!k){break f}p:{q:{if(!i){k=N[c+4>>2];break q}D=b+32|0;while(1){p=N[(e>>>0<=w>>>0?275552:(w<<2)+d|0)>>2];i=O[q|0]|O[q+1|0]<<8;r:{if(((i<<8|i>>>8)&65535)>>>0<=w>>>0){M[294912]=0;x=589824;break r}x=((w<<1)+a|0)+6|0}H=N[g>>2];I=N[f>>2];s=N[f+4>>2];y=N[g+4>>2];L[x|0]=0;L[x+1|0]=0;if(N[b+24>>2]){break g}s:{t:{i=N[b+28>>2];if(!i){if(!xj(D,N[b+36>>2]+1|0)){break t}i=db(1,576);N[C+12>>2]=i;if(!i){break t}wj(D,C+12|0);i=vj(i)}N[b+28>>2]=N[i>>2];j=i+32|0;L[j|0]=0;L[j+1|0]=0;L[j+2|0]=0;L[j+3|0]=0;L[i+24|0]=0;L[i+25|0]=0;L[i+26|0]=0;L[i+27|0]=0;L[i+28|0]=0;L[i+29|0]=0;L[i+30|0]=0;L[i+31|0]=0;L[i+16|0]=0;L[i+17|0]=0;L[i+18|0]=0;L[i+19|0]=0;L[i+20|0]=0;L[i+21|0]=0;L[i+22|0]=0;L[i+23|0]=0;L[i+8|0]=0;L[i+9|0]=0;L[i+10|0]=0;L[i+11|0]=0;L[i+12|0]=0;L[i+13|0]=0;L[i+14|0]=0;L[i+15|0]=0;L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0;L[i+4|0]=0;L[i+5|0]=0;L[i+6|0]=0;L[i+7|0]=0;N[i>>2]=N[b+4>>2];N[i+4>>2]=N[b+8>>2];N[i+32>>2]=N[b+44>>2];N[b+44>>2]=i;if(!N[b+24>>2]){break s}break g}if(N[b+24>>2]){break g}N[b+24>>2]=1;break g}n=N[b+4>>2];if(n>>>0>2]){break p}if((N[b+8>>2]-n|0)<=1){N[b+24>>2]=4;break g}L[n|0]=0;L[n+1|0]=0;k=N[b+4>>2];i=k+2|0;N[b+4>>2]=i;if(N[b+24>>2]|!k){break g}if(Q[b>>2]>n>>>0){break e}if(i>>>0>>0){break d}if(i-n>>>0>=3){break c}m=n+2|0;j=m-i|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-i|0))){N[b+24>>2]=4;break g}if((k|0)!=(n|0)){G(i,0,j);m=N[b+4>>2]}N[b+4>>2]=j+m;if(!m){break g}v=p>>>0>s>>>0?s:p;i=v<<8|(v&65280)>>>8;L[n|0]=i;L[n+1|0]=i>>>8;i=N[b+24>>2];if(v>>>0>=65536){N[b+24>>2]=i|16;break g}if(i){break g}if(Q[b>>2]>n>>>0){break e}i=N[b+4>>2];if(n>>>0>i>>>0){break d}j=(v<<1&131070)+2|0;if(j>>>0>>0){break c}k=j+n|0;j=k-i|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-i|0))){N[b+24>>2]=4;break g}if((i|0)!=(k|0)){G(i,0,j);i=N[b+4>>2]}N[b+4>>2]=i+j;if(!i){break g}if(v){P=p>>>0>y>>>0?y:p;t=0;while(1){E=N[(t>>>0>=P>>>0?275552:(t<<2)+H|0)>>2];i=O[n|0]|O[n+1|0]<<8;u:{if(((i<<8|i>>>8)&65535)>>>0<=t>>>0){M[294912]=0;z=589824;break u}z=((t<<1)+n|0)+2|0}J=N[h>>2];A=N[h+4>>2];L[z|0]=0;L[z+1|0]=0;if(N[b+24>>2]){break h}i=N[b+28>>2];v:{if(i){j=N[i>>2];break v}k=N[b+32>>2];if((k|0)<0){break i}i=N[b+36>>2]+1|0;if(i>>>0>k>>>0){while(1){k=((k>>>1|0)+k|0)+8|0;if(i>>>0>=k>>>0){continue}break}w:{if(k>>>0<=1073741823){i=$a(N[b+40>>2],k<<2);if(i){break w}}N[D>>2]=-1;break i}N[b+32>>2]=k;N[b+40>>2]=i}i=db(1,576);if(!i){break i}x:{y:{l=N[b+36>>2];m=l+1|0;z:{if(m>>>0<=k>>>0){o=N[b+40>>2];break z}while(1){k=((k>>>1|0)+k|0)+8|0;if(m>>>0>=k>>>0){continue}break}if(k>>>0>1073741823){break y}o=$a(N[b+40>>2],k<<2);if(!o){break y}N[b+32>>2]=k;N[b+40>>2]=o;l=N[b+36>>2];m=l+1|0}N[b+36>>2]=m;N[(l<<2)+o>>2]=i;break x}N[D>>2]=-1;N[147456]=0}N[i+540>>2]=0;N[i+504>>2]=i+540;N[i+468>>2]=i+504;N[i+432>>2]=i+468;N[i+396>>2]=i+432;N[i+360>>2]=i+396;N[i+324>>2]=i+360;N[i+288>>2]=i+324;N[i+252>>2]=i+288;N[i+216>>2]=i+252;N[i+180>>2]=i+216;N[i+144>>2]=i+180;N[i+108>>2]=i+144;N[i+72>>2]=i+108;N[i+36>>2]=i+72;j=i+36|0}N[b+28>>2]=j;j=i+32|0;L[j|0]=0;L[j+1|0]=0;L[j+2|0]=0;L[j+3|0]=0;L[i+24|0]=0;L[i+25|0]=0;L[i+26|0]=0;L[i+27|0]=0;L[i+28|0]=0;L[i+29|0]=0;L[i+30|0]=0;L[i+31|0]=0;L[i+16|0]=0;L[i+17|0]=0;L[i+18|0]=0;L[i+19|0]=0;L[i+20|0]=0;L[i+21|0]=0;L[i+22|0]=0;L[i+23|0]=0;L[i+8|0]=0;L[i+9|0]=0;L[i+10|0]=0;L[i+11|0]=0;L[i+12|0]=0;L[i+13|0]=0;L[i+14|0]=0;L[i+15|0]=0;L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0;L[i+4|0]=0;L[i+5|0]=0;L[i+6|0]=0;L[i+7|0]=0;N[i>>2]=N[b+4>>2];N[i+4>>2]=N[b+8>>2];N[i+32>>2]=N[b+44>>2];N[b+44>>2]=i;if(N[b+24>>2]){break h}j=N[b+4>>2];if(j>>>0>2]){break e}u=4;if((N[b+8>>2]-j|0)<4){break j}i=t>>>0>=v>>>0?275552:(t<<1)+I|0;i=O[i|0]|O[i+1|0]<<8;L[j|0]=0;L[j+1|0]=0;L[j+2|0]=0;L[j+3|0]=0;k=N[b+4>>2];N[b+4>>2]=k+4;if(!k){break h}L[j|0]=i;L[j+1|0]=i>>>8;if(N[b+24>>2]){break h}k=j+2|0;if(k>>>0>2]){break e}i=N[b+4>>2];if(i>>>0>>0){break d}if(i-k>>>0>=3){break c}m=j+4|0;l=m-i|0;if((l|0)<0|(l|0)>(N[b+8>>2]-i|0)){break j}if((i|0)!=(m|0)){G(i,0,l);m=N[b+4>>2]}N[b+4>>2]=l+m;if(!m){break h}o=((E|0)<=1?1:E)-1|0;i=o>>>0>A>>>0?A:o;m=i+1|0;l=m<<8|(m&65280)>>>8;L[k|0]=l;L[k+1|0]=l>>>8;l=N[b+24>>2];if(i>>>0>=65535){u=l|16;break j}if(l){break h}if(k>>>0>2]){break e}l=N[b+4>>2];if(l>>>0>>0){break d}m=m&65535?m<<1&131070:2;if(m>>>0>>0){break c}k=(k+m|0)-l|0;if((k|0)<0|(k|0)>(N[b+8>>2]-l|0)){break j}N[b+4>>2]=k+l;if(!l){break h}A:{if(!i){break A}m=0;k=J;if((i|0)!=1){u=i&1;E=i&-2;l=k;while(1){k=(m<<1)+j|0;r=i?l:275552;r=O[r|0]|O[r+1|0]<<8;L[k+4|0]=r;L[k+5|0]=r>>>8;r=((m|1)<<1)+j|0;k=(i|0)!=0;l=(k<<1)+l|0;K=(i|0)==(k|0);B=K?275552:l;B=O[B|0]|O[B+1|0]<<8;L[r+4|0]=B;L[r+5|0]=B>>>8;r=!K;l=l+(r<<1)|0;i=i-(k+r|0)|0;m=m+2|0;if((E|0)!=(m|0)){continue}break}if(!u){break A}k=i?l:275552}i=(m<<1)+j|0;j=O[k|0]|O[k+1|0]<<8;L[i+4|0]=j;L[i+5|0]=j>>>8}m=Cc(b,1);if(!(!m|N[b+24>>2])){i=N[b+44>>2];if(!i){break b}if(Q[i>>2]>z>>>0){break a}B:{C:{D:{j=N[i+8>>2];if((j|0)>=0){l=N[i+12>>2];k=l+1|0;k=(k|0)>0?k:0;if(k>>>0<=j>>>0){break C}while(1){j=((j>>>1|0)+j|0)+8|0;if(k>>>0>=j>>>0){continue}break}if(j>>>0<=357913941){l=$a(N[i+16>>2],T(j,12));if(l){break D}}N[i+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;i=589824;break B}N[i+8>>2]=j;N[i+16>>2]=l;l=N[i+12>>2]}if(k>>>0>l>>>0){G(N[i+16>>2]+T(l,12)|0,0,T(k-l|0,12))}N[i+12>>2]=k;i=(N[i+16>>2]+T(k,12)|0)-12|0}if(N[N[b+44>>2]+8>>2]<0){N[b+24>>2]=N[b+24>>2]|1}N[i+8>>2]=m;N[i>>2]=N[i>>2]&-64|2;j=N[N[b+44>>2]>>2];N[i>>2]=2;N[i+4>>2]=z-j}i=o>>>0>A>>>0?A:o;N[h+4>>2]=A-i;N[h+8>>2]=i+N[h+8>>2];N[h>>2]=(i<<1)+J;t=t+1|0;if(v>>>0>t>>>0){continue}break}}m=Cc(b,1);if(!(!m|N[b+24>>2])){i=N[b+44>>2];if(!i){break b}if(Q[i>>2]>x>>>0){break a}E:{F:{G:{j=N[i+8>>2];if((j|0)>=0){l=N[i+12>>2];k=l+1|0;k=(k|0)>0?k:0;if(k>>>0<=j>>>0){break F}while(1){j=((j>>>1|0)+j|0)+8|0;if(k>>>0>=j>>>0){continue}break}if(j>>>0<=357913941){l=$a(N[i+16>>2],T(j,12));if(l){break G}}N[i+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;i=589824;break E}N[i+8>>2]=j;N[i+16>>2]=l;l=N[i+12>>2]}if(k>>>0>l>>>0){G(N[i+16>>2]+T(l,12)|0,0,T(k-l|0,12))}N[i+12>>2]=k;i=(N[i+16>>2]+T(k,12)|0)-12|0}if(N[N[b+44>>2]+8>>2]<0){N[b+24>>2]=N[b+24>>2]|1}N[i+8>>2]=m;N[i>>2]=N[i>>2]&-64|2;j=N[N[b+44>>2]>>2];N[i>>2]=2;N[i+4>>2]=x-j}i=p;if(s>>>0>>0){i=s}N[f+4>>2]=s-i;N[f+8>>2]=N[f+8>>2]+i;N[f>>2]=(i<<1)+I;i=p>>>0>y>>>0?y:p;N[g+4>>2]=y-i;N[g+8>>2]=i+N[g+8>>2];N[g>>2]=(i<<2)+H;k=N[c+4>>2];w=w+1|0;if(k>>>0>w>>>0){continue}break}}u=0;L[a+2|0]=0;L[a+3|0]=0;d=$c(b);j=N[c>>2];if(!de(b,d)){break k}if(!k){L[d|0]=0;L[d+1|0]=1;break n}e=k-1&2147483647;g=e+1|0;f=g&3;o=0;if(e>>>0<3){l=-2;i=j;m=0;break o}h=g&-4;m=0;l=-2;i=j;c=0;while(1){p=l+1|0;l=O[i|0]|O[i+1|0]<<8;l=(l<<8|l>>>8)&65535;p=((p|0)!=(l|0))+m|0;s=l+1|0;l=O[i+2|0]|O[i+3|0]<<8;l=(l<<8|l>>>8)&65535;p=p+((s|0)!=(l|0))|0;s=l+1|0;l=O[i+4|0]|O[i+5|0]<<8;m=(l<<8|l>>>8)&65535;l=O[i+6|0]|O[i+7|0]<<8;l=(l<<8|l>>>8)&65535;m=(p+((s|0)!=(m|0))|0)+((l|0)!=(m+1|0))|0;i=i+8|0;c=c+4|0;if((h|0)!=(c|0)){continue}break}break o}break e}break c}break d}break e}break c}break d}break e}break c}break d}break e}if(f){while(1){h=l+1|0;c=O[i|0]|O[i+1|0]<<8;l=(c<<8|c>>>8)&65535;m=((h|0)!=(l|0))+m|0;i=i+2|0;o=o+1|0;if((f|0)!=(o|0)){continue}break}}c=T(m,3);h=c>>>0>e>>>0?256:512;L[d|0]=h;L[d+1|0]=h>>>8;if((c>>>0<=e>>>0)-1|0){break n}if(!tj(b,d)){break k}o=0;H:{if(e>>>0<3){m=-2;l=0;i=j;break H}e=g&-4;m=-2;l=0;i=j;c=0;while(1){g=O[i|0]|O[i+1|0]<<8;g=(g<<8|g>>>8)&65535;h=((g|0)!=(m+1|0))+l|0;l=g+1|0;g=O[i+2|0]|O[i+3|0]<<8;g=(g<<8|g>>>8)&65535;l=h+((l|0)!=(g|0))|0;p=g+1|0;g=O[i+4|0]|O[i+5|0]<<8;g=(g<<8|g>>>8)&65535;h=O[i+6|0]|O[i+7|0]<<8;m=(h<<8|h>>>8)&65535;l=(l+((p|0)!=(g|0))|0)+((m|0)!=(g+1|0))|0;i=i+8|0;c=c+4|0;if((e|0)!=(c|0)){continue}break}}if(f){while(1){e=m+1|0;c=O[i|0]|O[i+1|0]<<8;m=(c<<8|c>>>8)&65535;l=((e|0)!=(m|0))+l|0;i=i+2|0;o=o+1|0;if((f|0)!=(o|0)){continue}break}}c=d+2|0;if(!de(b,c)){break k}d=l<<8|(l&65280)>>>8;L[c|0]=d;L[c+1|0]=d>>>8;if(l>>>0>=65536){N[b+24>>2]=N[b+24>>2]|16}if(!sj(b,c,T(l&65535,6)+2|0)){break k}if(!l){break m}f=(k<<1)+j|0;k=-2;l=0;i=-1;while(1){e=k+1|0;d=O[j|0]|O[j+1|0]<<8;k=(d<<8|d>>>8)&65535;if((e|0)!=(k|0)){i=i+1|0;e=O[c|0]|O[c+1|0]<<8;I:{if(i>>>0>=((e<<8|e>>>8)&65535)>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break I}e=(c+T(i,6)|0)+2|0}L[e|0]=d;L[e+1|0]=d>>>8;e=O[c|0]|O[c+1|0]<<8;J:{if(((e<<8|e>>>8)&65535)>>>0<=i>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break J}e=(c+T(i,6)|0)+2|0}g=l<<8|(l&65280)>>>8;L[e+4|0]=g;L[e+5|0]=g>>>8}e=O[c|0]|O[c+1|0]<<8;K:{if(((e<<8|e>>>8)&65535)>>>0<=i>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break K}e=(c+T(i,6)|0)+2|0}L[e+2|0]=d;L[e+3|0]=d>>>8;l=l+1|0;j=j+2|0;if((f|0)!=(j|0)){continue}break}break m}c=d+2|0;if(!de(b,c)){break k}d=k<<8|(k&65280)>>>8;L[c|0]=d;L[c+1|0]=d>>>8;d=N[b+24>>2];if(k>>>0>=65536){l=d|16;break l}if(d){break k}if(c>>>0>2]){break e}d=N[b+4>>2];if(d>>>0>>0){break d}e=(k<<1&131070)+2|0;if(e>>>0>>0){break c}l=4;e=(c+e|0)-d|0;if((e|0)<0|(e|0)>(N[b+8>>2]-d|0)){break l}N[b+4>>2]=d+e;if(!d){break k}if(!k){break m}m=0;if((k|0)!=1){e=k&1;f=k&-2;while(1){d=c+(m<<1)|0;g=k?j:275552;g=O[g|0]|O[g+1|0]<<8;L[d+2|0]=g;L[d+3|0]=g>>>8;g=c+((m|1)<<1)|0;d=(k|0)!=0;h=(d<<1)+j|0;i=(d|0)==(k|0);j=i?275552:h;j=O[j|0]|O[j+1|0]<<8;L[g+2|0]=j;L[g+3|0]=j>>>8;g=!i;j=h+(g<<1)|0;k=k-(d+g|0)|0;m=m+2|0;if((f|0)!=(m|0)){continue}break}if(!e){break m}j=k?j:275552}c=c+(m<<1)|0;d=O[j|0]|O[j+1|0]<<8;L[c+2|0]=d;L[c+3|0]=d>>>8}u=1;ce(b,a+2|0,Cc(b,1));break f}N[b+24>>2]=l;_c(b);break f}_c(b);break f}N[b+24>>2]=u;break h}if(N[b+24>>2]){break h}N[b+24>>2]=1;_c(b);break g}_c(b)}_c(b);u=0}La=C+16|0;return u}ba(13866,14296,669,15286);F()}ba(16941,14296,670,15286);F()}ba(15351,14296,671,15286);F()}ba(9271,14296,479,13575);F()}ba(11056,14296,480,13575);F()}function uq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;j=La-32|0;La=j;n=N[c+80>>2];g=d+3|0;a:{if(N[c+44>>2]!=1265525857|g>>>0>e>>>0){break a}i=T(d,20);f=i+n|0;if(O[f+12|0]&32|O[f+18|0]!=15){break a}h=d+1|0;f=T(h,20)+n|0;if(O[f+12|0]&32|O[f+18|0]!=4){break a}i=i+n|0;if(O[i+52|0]&32){break a}i=i+40|0;if(O[i+18|0]!=6){break a}Ib(c,h,g);N[j+24>>2]=N[f+16>>2];h=N[f+12>>2];N[j+16>>2]=N[f+8>>2];N[j+20>>2]=h;h=N[f+4>>2];N[j+8>>2]=N[f>>2];N[j+12>>2]=h;N[f+16>>2]=N[i+16>>2];h=N[i+12>>2];N[f+8>>2]=N[i+8>>2];N[f+12>>2]=h;h=N[i+4>>2];N[f>>2]=N[i>>2];N[f+4>>2]=h;N[i+16>>2]=N[j+24>>2];f=N[j+20>>2];N[i+8>>2]=N[j+16>>2];N[i+12>>2]=f;f=N[j+12>>2];N[i>>2]=N[j+8>>2];N[i+4>>2]=f}h=N[N[a>>2]+16>>2];b:{c:{d:{e:{if(!(!N[a+100>>2]|e>>>0>>0)){i=e;g=d;f:{g:{switch(h|0){case 0:f=T(d,20)+n|0;if(O[f+52|0]&32){break f}f=O[f+58|0];if(f>>>0>31|!(1<>2]=N[f>>2];N[j+12>>2]=N[f+20>>2];N[j+16>>2]=(h|0)==1?N[f+40>>2]:0;i=N[a+16>>2];if(i){f=N[a+12>>2];i=f+T(i,12)|0;while(1){if(Dc(b,P[f>>1],j+8|0,2,O[a+24|0])){break d}f=f+12|0;if((i|0)!=(f|0)){continue}break}h=N[N[a>>2]+16>>2]}h:{if((h|0)!=1){break h}i=N[a+16>>2];if(!i){break h}f=N[a+12>>2];i=f+T(i,12)|0;while(1){if(Dc(b,P[f>>1],j+8|0,3,O[a+24|0])){break d}f=f+12|0;if((i|0)!=(f|0)){continue}break}}i=e;break b}i=e;g=d;if((h|0)!=2){break b}}if(O[(T(d,20)+n|0)+18|0]!=14){break b}m=1;f=g+1|0;g=f>>>0>>0?i:f;f=d;while(1){f=f+1|0;if(f>>>0>=e>>>0){i=d;break b}i=T(f,20)+n|0;if(O[i+12|0]&32){i=d;g=f;break b}i=O[i+18|0];if(1<>>0<=31:0){continue}break}g=f;break c}m=1;g=d+2|0;if(g>>>0>=e>>>0){i=d;break b}i:{while(1){f=T(g,20)+n|0;if(O[f+12|0]&32){i=d;break b}f=O[f+18|0];if(f>>>0>31|!(1<>>0>31|!(1<>>0>=f>>>0){break k}if(O[(T(h,20)+s|0)-24|0]==4){break j}}if(f>>>0>g>>>0){continue}}break}l=m?(d|0)!=(i|0)|g-i>>>0>2:0;o:{if(d>>>0>=i>>>0){break o}f=d;m=i-f&3;if(m){h=0;while(1){k=T(f,20)+q|0;g=O[k+16|0];L[k+16|0]=g>>>0>=3?3:g;f=f+1|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}if((d^-1)+i>>>0<=2){break o}while(1){g=T(f,20)+q|0;h=O[g+16|0];L[g+16|0]=h>>>0>=3?3:h;h=O[g+36|0];L[g+36|0]=h>>>0>=3?3:h;h=O[g+56|0];L[g+56|0]=h>>>0>=3?3:h;h=g;g=O[g+76|0];L[h+76|0]=g>>>0>=3?3:g;f=f+4|0;if((i|0)!=(f|0)){continue}break}}if(e>>>0>i>>>0){L[(T(i,20)+n|0)+19|0]=4}if(l){L[(T(d,20)+n|0)+19|0]=1}p:{if(!O[a+4|0]){break p}m=N[c+44>>2];f=i;while(1){l=f;f=f+1|0;if(f>>>0>=e>>>0){break p}h=T(f,20);if(O[(h+s|0)+16|0]!=4){continue}break}g=e-1|0;if(g>>>0<=f>>>0){break p}h=h+n|0;p=(m|0)!=1265525857;while(1){q:{o=T(g,20);m=o+n|0;r:{if(O[m+12|0]&32){break r}k=O[m+18|0];if(k>>>0>31){break r}if(1<>>0>f>>>0){continue}break p}g=g-1|0;if(g>>>0>f>>>0){continue}break p}break}if((k|0)==4){break p}N[j+24>>2]=N[h+16>>2];k=N[h+12>>2];N[j+16>>2]=N[h+8>>2];N[j+20>>2]=k;k=N[h+4>>2];N[j+8>>2]=N[h>>2];N[j+12>>2]=k;B(h,(T(l,20)+n|0)+40|0,T(g-f|0,20));N[m+16>>2]=N[j+24>>2];f=N[j+20>>2];N[m+8>>2]=N[j+16>>2];N[m+12>>2]=f;f=N[j+12>>2];N[m>>2]=N[j+8>>2];N[m+4>>2]=f}o=d>>>0>>0;if(o){g=0;f=d;while(1){l=T(f,20)+n|0;m=O[l+18|0];s:{if(!(m>>>0>31|!(1<>>0>=h>>>0){break s}h=h-1|0;m=O[(T(h,20)+q|0)+16|0];if((m|0)==2){continue}break}L[l+19|0]=m;break s}h=O[l+19|0];if((h|0)==13){break s}if(!((m|0)!=13|d>>>0>=f>>>0|O[l-2|0]!=8)){L[(l-4|0)+3|0]=h}g=h}f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=i+1|0;if(f>>>0>>0){p=i-1|0;g=0;l=i;while(1){m=l;t:{u:{k=T(f,20);h=k+n|0;if(O[h+12|0]&32){h=O[(k+s|0)+16|0];l=1<>>0>31){break u}h=m+1|0;l=f;if(h>>>0>=f>>>0){break t}k=k+q|0;if((g+i|0)-m&1){h=T(h,20)+q|0;if(O[h+16|0]<=12){L[h+16|0]=O[k+16|0]}h=m+2|0}l=f;if((m|0)==(g+p|0)){break t}while(1){l=T(h,20)+q|0;if(O[l+16|0]<=12){L[l+16|0]=O[k+16|0]}if(O[l+36|0]<=12){L[l+36|0]=O[k+16|0]}h=h+2|0;if(h>>>0>>0){continue}break}l=f;break t}l=h>>>0>31?m:l&8320?f:m}g=g+1|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}}u=e-d|0;l=T(d,20)+n|0;p=O[l+15|0];v=d>>>0>=e>>>0;v:{if(v){break v}f=d;i=u&3;if(i){h=0;while(1){L[(T(f,20)+q|0)+12|0]=f-d;f=f+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}if((d^-1)+e>>>0<3){break v}while(1){i=T(f,20)+q|0;g=f-d|0;L[i+32|0]=g+1;L[i+12|0]=g;L[i+52|0]=g+2;L[i+72|0]=g+3;f=f+4|0;if((f|0)!=(e|0)){continue}break}}if(u>>>0>=2){m=l+19|0;g=1;while(1){i=T(g,20);k=i+m|0;h=g;while(1){w:{f=h;if(!f){f=0;break w}h=f-1|0;if(O[m+T(h,20)|0]>O[k|0]){continue}}break}if((f|0)!=(g|0)){i=i+l|0;N[j+24>>2]=N[i+16>>2];h=N[i+12>>2];N[j+16>>2]=N[i+8>>2];N[j+20>>2]=h;h=N[i+4>>2];N[j+8>>2]=N[i>>2];N[j+12>>2]=h;i=l+T(f,20)|0;B(i+20|0,i,T(g-f|0,20));N[i+16>>2]=N[j+24>>2];f=N[j+20>>2];N[i+8>>2]=N[j+16>>2];N[i+12>>2]=f;f=N[j+12>>2];N[i>>2]=N[j+8>>2];N[i+4>>2]=f}g=g+1|0;if((u|0)!=(g|0)){continue}break}}i=e;x:{if(!o){break x}i=d;m=e;h=e;y:{while(1){z:{switch(O[(T(i,20)+q|0)+16|0]-2|0){case 0:h=(e|0)==(h|0)?i:h;m=i;break;case 2:break y;default:break z}}i=i+1|0;if((i|0)!=(e|0)){continue}break}i=e}if(h>>>0>=m>>>0){break x}f=N[c+68>>2];o=m+1|0;l=f>>>0>>0?f:o;g=f>>>0>>0?f:h;A:{if(l>>>0>>0){break A}l=l-1|0;if(l>>>0<=g>>>0){break A}r=N[c+80>>2];while(1){k=r+T(l,20)|0;N[j+24>>2]=N[k+16>>2];f=N[k+12>>2];N[j+16>>2]=N[k+8>>2];N[j+20>>2]=f;f=N[k+4>>2];N[j+8>>2]=N[k>>2];N[j+12>>2]=f;f=r+T(g,20)|0;N[k+16>>2]=N[f+16>>2];t=N[f+12>>2];N[k+8>>2]=N[f+8>>2];N[k+12>>2]=t;t=N[f+4>>2];N[k>>2]=N[f>>2];N[k+4>>2]=t;N[f+16>>2]=N[j+24>>2];k=N[j+20>>2];N[f+8>>2]=N[j+16>>2];N[f+12>>2]=k;k=N[j+12>>2];N[f>>2]=N[j+8>>2];N[f+4>>2]=k;g=g+1|0;l=l-1|0;if(g>>>0>>0){continue}break}}B:{if(!O[c+63|0]){break B}f=N[c+68>>2];l=f>>>0>>0?f:o;g=f>>>0>>0?f:h;if(l>>>0>>0){break B}l=l-1|0;if(l>>>0<=g>>>0){break B}o=N[c+88>>2];while(1){k=o+T(l,20)|0;N[j+24>>2]=N[k+16>>2];f=N[k+12>>2];N[j+16>>2]=N[k+8>>2];N[j+20>>2]=f;f=N[k+4>>2];N[j+8>>2]=N[k>>2];N[j+12>>2]=f;f=o+T(g,20)|0;N[k+16>>2]=N[f+16>>2];r=N[f+12>>2];N[k+8>>2]=N[f+8>>2];N[k+12>>2]=r;r=N[f+4>>2];N[k>>2]=N[f>>2];N[k+4>>2]=r;N[f+16>>2]=N[j+24>>2];k=N[j+20>>2];N[f+8>>2]=N[j+16>>2];N[f+12>>2]=k;k=N[j+12>>2];N[f>>2]=N[j+8>>2];N[f+4>>2]=k;g=g+1|0;l=l-1|0;if(g>>>0>>0){continue}break}}f=h;while(1){k=f;g=h;h=g+1|0;g=O[(T(g,20)+s|0)+16|0];C:{if(g>>>0>31|!(1<>2];l=g>>>0>>0?g:h;g=f>>>0>g>>>0?g:f;D:{if(l>>>0>>0){break D}l=l-1|0;if(l>>>0<=g>>>0){break D}r=N[c+80>>2];while(1){o=r+T(l,20)|0;N[j+24>>2]=N[o+16>>2];f=N[o+12>>2];N[j+16>>2]=N[o+8>>2];N[j+20>>2]=f;f=N[o+4>>2];N[j+8>>2]=N[o>>2];N[j+12>>2]=f;f=r+T(g,20)|0;N[o+16>>2]=N[f+16>>2];t=N[f+12>>2];N[o+8>>2]=N[f+8>>2];N[o+12>>2]=t;t=N[f+4>>2];N[o>>2]=N[f>>2];N[o+4>>2]=t;N[f+16>>2]=N[j+24>>2];o=N[j+20>>2];N[f+8>>2]=N[j+16>>2];N[f+12>>2]=o;o=N[j+12>>2];N[f>>2]=N[j+8>>2];N[f+4>>2]=o;g=g+1|0;l=l-1|0;if(g>>>0>>0){continue}break}}f=h;if(!O[c+63|0]){break C}g=N[c+68>>2];l=f>>>0>g>>>0?g:f;g=g>>>0>>0?g:k;if(l>>>0>>0){break C}l=l-1|0;if(l>>>0<=g>>>0){break C}o=N[c+88>>2];while(1){k=o+T(l,20)|0;N[j+24>>2]=N[k+16>>2];f=N[k+12>>2];N[j+16>>2]=N[k+8>>2];N[j+20>>2]=f;f=N[k+4>>2];N[j+8>>2]=N[k>>2];N[j+12>>2]=f;f=o+T(g,20)|0;N[k+16>>2]=N[f+16>>2];r=N[f+12>>2];N[k+8>>2]=N[f+8>>2];N[k+12>>2]=r;r=N[f+4>>2];N[k>>2]=N[f>>2];N[k+4>>2]=r;N[f+16>>2]=N[j+24>>2];k=N[j+20>>2];N[f+8>>2]=N[j+16>>2];N[f+12>>2]=k;k=N[j+12>>2];N[f>>2]=N[j+8>>2];N[f+4>>2]=k;g=g+1|0;l=l-1|0;if(g>>>0>>0){continue}break}f=h}if(h>>>0<=m>>>0){continue}break}}E:{if(!(O[a+4|0]|u>>>0>127)){if(e>>>0<=i>>>0){break E}l=i;while(1){f=O[(T(l,20)+q|0)+12|0];F:{if((f|0)==255){break F}f=d+f|0;g=l;h=g;if((f|0)!=(g|0)){while(1){m=T(f,20)+q|0;k=O[m+12|0];L[m+12|0]=255;g=f>>>0>>0?g:f;h=f>>>0>h>>>0?h:f;f=d+k|0;if((l|0)!=(f|0)){continue}break}}f=g+1|0;g=h>>>0>>0?i:h;if(f-g>>>0<2){break F}Ib(c,g,f)}l=l+1|0;if((l|0)!=(e|0)){continue}break}break E}if(e-i>>>0<2){break E}Ib(c,i,e)}G:{if(v){break G}h=d;g=u&7;if(g){f=0;while(1){L[(T(h,20)+q|0)+12|0]=p;h=h+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if((d^-1)+e>>>0>=7){while(1){f=T(h,20)+q|0;L[f+32|0]=p;L[f+12|0]=p;L[f+52|0]=p;L[f+72|0]=p;L[f+92|0]=p;L[f+112|0]=p;L[f+132|0]=p;L[f+152|0]=p;h=h+8|0;if((h|0)!=(e|0)){continue}break}}f=d;while(1){g=T(f,20);if(O[(g+q|0)+16|0]!=1){break G}g=g+n|0;N[g+4>>2]=N[g+4>>2]|N[a+100>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}h=N[a+120>>2];l=O[a+4|0];h=l|N[N[a>>2]+20>>2]?h:N[a+112>>2]|h;H:{if(d>>>0>=i>>>0){break H}f=d;m=i-f&3;if(m){g=0;while(1){k=T(f,20)+n|0;N[k+4>>2]=N[k+4>>2]|h;f=f+1|0;g=g+1|0;if((m|0)!=(g|0)){continue}break}}if((d^-1)+i>>>0<=2){break H}while(1){g=T(f,20)+n|0;N[g+4>>2]=N[g+4>>2]|h;N[g+24>>2]=N[g+24>>2]|h;N[g+44>>2]=N[g+44>>2]|h;g=g- -64|0;N[g>>2]=N[g>>2]|h;f=f+4|0;if((i|0)!=(f|0)){continue}break}}f=i+1|0;I:{if(f>>>0>=e>>>0){break I}h=N[a+124>>2]|(N[a+116>>2]|N[a+112>>2]);m=(i^-1)+e&3;if(m){g=0;while(1){k=T(f,20)+n|0;N[k+4>>2]=h|N[k+4>>2];f=f+1|0;g=g+1|0;if((m|0)!=(g|0)){continue}break}}if((e-i|0)-2>>>0<3){break I}while(1){g=T(f,20)+n|0;N[g+4>>2]=h|N[g+4>>2];N[g+24>>2]=h|N[g+24>>2];N[g+44>>2]=h|N[g+44>>2];g=g- -64|0;N[g>>2]=h|N[g>>2];f=f+4|0;if((f|0)!=(e|0)){continue}break}}J:{if(!l|N[c+44>>2]!=1147500129){break J}g=d+1|0;if(i>>>0<=g>>>0){break J}f=d;while(1){c=f;f=g;g=T(c,20);K:{if(O[(g+s|0)+16|0]!=15){break K}h=T(f,20);if(O[(h+s|0)+16|0]!=4){break K}c=c+2|0;if((c|0)!=(i|0)&O[(T(c,20)+s|0)+16|0]==6){break K}c=g+n|0;N[c+4>>2]=N[c+4>>2]|N[a+112>>2];c=h+n|0;N[c+4>>2]=N[c+4>>2]|N[a+112>>2]}g=f+1|0;if((i|0)!=(g|0)){continue}break}}L:{if(!N[a+108>>2]|i+2>>>0>=e>>>0){break L}while(1){c=T(i,20)+n|0;N[j+8>>2]=N[c+20>>2];N[j+12>>2]=N[c+40>>2];c=i+1|0;M:{g=N[a+32>>2];if(!g){break M}h=i+2|0;f=N[a+28>>2];g=f+T(g,12)|0;while(1){if(!Dc(b,P[f>>1],j+8|0,2,O[a+40|0])){f=f+12|0;if((g|0)!=(f|0)){continue}break M}break}b=T(c,20)+n|0;N[b+4>>2]=N[b+4>>2]|N[a+108>>2];b=T(h,20)+n|0;N[b+4>>2]=N[b+4>>2]|N[a+108>>2];break L}f=i+3|0;i=c;if(e>>>0>f>>>0){continue}break}}h=d+1|0;if(h>>>0>>0){g=d;while(1){f=g;g=h;b=T(g,20)+n|0;N:{if(O[b+12|0]&32){break N}b=O[b+18|0];if((b|0)!=5|!(1<>2]=N[b+4>>2]&(N[a+120>>2]^-1);if(d>>>0>=f>>>0){break N}while(1){b=T(f,20)+n|0;O:{if(O[b+12|0]&32){break O}b=O[b+18|0];if(b>>>0>31){break O}if(1<>2]=N[b+4>>2]&(N[a+120>>2]^-1);if(d>>>0>>0){continue}break}}h=g+1|0;if((h|0)!=(e|0)){continue}break}}La=j+32|0}function nC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;f=La-6752|0;La=f;h=N[N[a+4>>2]>>2];c=f- -64|0;G(c|4,0,2748);N[f+16>>2]=0;N[f+20>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+64>>2]=h;N[f+8>>2]=c;o=N[b+4>>2];n=N[o+84>>2];q=N[n+156>>2];w=N[q>>2];i=N[o+88>>2];j=N[i+40>>2];h=N[j+12>>2];a:{b:{if(!h){g=e>>>16&15;break b}c=N[j+4>>2];g=e>>>16&15;if((c|0)==(g|0)){break a}}N[j+4>>2]=g;N[j+32>>2]=N[i+36>>2];b=N[i+32>>2];N[j+24>>2]=N[i+28>>2];N[j+28>>2]=b;b=N[i+24>>2];N[j+16>>2]=N[i+20>>2];N[j+20>>2]=b;b=N[i+16>>2];N[j+8>>2]=N[i+12>>2];N[j+12>>2]=b;h=N[j+12>>2];c=g}N[f+6712>>2]=0;N[f+6704>>2]=h;N[f+6700>>2]=o;b=N[j+16>>2];N[f+6724>>2]=0;N[f+6720>>2]=c;N[f+6716>>2]=0;N[f+6708>>2]=b;N[f>>2]=o;g=N[o+116>>2];N[f+4>>2]=g;c:{if(!g){h=Cg(o,f|4,a);if(h){break c}g=N[f+4>>2];N[o+116>>2]=g;N[o+120>>2]=313}if(Q[g+4>>2]<=d>>>0){h=6;break c}i=d<<1;h=P[i+N[g+8>>2]>>1]&16383;j=((h<<2)+g|0)+24|0;b=N[j>>2];d:{if(b){break d}while(1){m=N[N[g>>2]+100>>2];c=N[(h<<2)+288960>>2];k=N[(N[c+4>>2]<<2)+288672>>2];h=N[k+4>>2];e:{if((h|0)<=0){b=0;if(!h){break e}h=6;break c}b=Qa[N[m+4>>2]](m,h)|0;if(!b){h=64;break c}G(b,0,h)}N[b+36>>2]=g;N[b>>2]=c;f:{c=N[k+8>>2];if(!c){break f}h=Qa[c|0](b,N[g>>2])|0;if(!h){break f}c=N[k+16>>2];if(c){Qa[c|0](b)}Qa[N[m+8>>2]](m,b);if((h|0)!=-1){break c}h=P[i+N[g+8>>2]>>1]&16383;j=((h<<2)+g|0)+24|0;b=N[j>>2];if(!b){continue}break d}break}N[j>>2]=b}c=N[N[b>>2]+4>>2];N[f+12>>2]=b;y=N[(c<<2)+288672>>2];c=N[y+12>>2];g:{if(c){Qa[c|0](b,f+6700|0);break g}c=N[f+6704>>2];N[b+4>>2]=N[f+6700>>2];N[b+8>>2]=c;N[b+28>>2]=N[f+6724>>2];h=f+6716|0;c=N[h+4>>2];N[b+20>>2]=N[h>>2];N[b+24>>2]=c;h=f+6708|0;c=N[h+4>>2];N[b+12>>2]=N[h>>2];N[b+16>>2]=c}c=N[y+24>>2];if(c){h=Qa[c|0](f- -64|0,b)|0;if(h){break c}}h=uc(o,d,e&-10246|10241);if(h){break c}h:{if(N[f+6720>>2]!=1){break h}c=L[N[o+128>>2]+56|0];if(O[a+20|0]|(c|0)>=0?c:0){break h}h=N[o+84>>2];r=N[N[o+88>>2]+40>>2];p=N[f+4>>2];N[f+6748>>2]=0;N[f+6744>>2]=0;s=P[o+68>>1];m=P[p+372>>1];k=P[r+8>>1];N[f+6736>>2]=N[73415];a=N[73414];N[f+6728>>2]=N[73413];N[f+6732>>2]=a;if(!s){break h}a=N[N[(N[N[b>>2]+4>>2]<<2)+288672>>2]+20>>2];if(!a){break h}Qa[a|0](b,f+6744|0,f+6748|0);a=N[f+6748>>2];i:{j:{k:{if(((a|0)==N[p+376>>2]|(a|0)<=0)&(k|0)==(m|0)){break k}j=N[N[f+4>>2]+396>>2];i=P[o+68>>1];g=P[N[o+88>>2]+12>>1];e=sp(j,i,g,a);c=N[r+12>>2];N[p+376>>2]=a;a=P[r+8>>1];z=p,A=qb(e,c)+32768>>16,N[z+384>>2]=A;M[p+372>>1]=a;if((k|0)==(m|0)){break k}e=N[f+6744>>2];break j}e=N[f+6744>>2];if((e|0)<=0|N[p+380>>2]==(e|0)){break i}j=N[N[f+4>>2]+396>>2];i=P[o+68>>1];g=P[N[o+88>>2]+12>>1]}g=sp(j,i,g,e);c=N[r+16>>2];N[p+380>>2]=e;a=P[r+8>>1];z=p,A=qb(g,c)+32768>>16,N[z+388>>2]=A;M[p+372>>1]=a;a=s<<16;z=p,A=fb((a-g|0)-524288|0,a),N[z+392>>2]=A}a=h+108|0;mn(a,N[p+384>>2],N[p+388>>2]);N[f+6740>>2]=N[p+392>>2];jg(a,f+6728|0)}a=O[q+8|0];L[f+16|0]=a;l:{if(!a){break l}j=N[q+24>>2];c=N[q+20>>2];N[f+28>>2]=c;N[f+32>>2]=j;i=N[q+16>>2];a=N[q+12>>2];N[f+20>>2]=a;N[f+24>>2]=i;g=N[q+28>>2];h=N[q+32>>2];e=f+6736|0;N[e>>2]=c;N[e+4>>2]=j;N[f+36>>2]=g;N[f+40>>2]=h;N[f+6728>>2]=a;N[f+6732>>2]=i;o=N[f+6740>>2];c=o>>31;t=(c^o)-c|0;c=a>>31;v=(c^a)-c|0;m:{if((t>>>8|0)+v>>>0<=8190){c=T(t,v)+32768>>>16|0;break m}c=v&65535;c=T(c,t>>>16|0)+T(t,v>>>16|0)+(T(c,t&65535)+32768>>>16)|0}r=a>>31|1;g=0-r|0;c=(((o|0)<0?g:r)|0)<0?0-c|0:c;h=N[f+6732>>2];e=h>>31;p=N[f+6736>>2];a=p>>31;e=(e^h)-e|0;u=(a^p)-a|0;n:{if(e+(u>>>8|0)>>>0<=8190){a=T(e,u)+32768>>>16|0;break n}a=e&65535;a=T(a,u>>>16|0)+T(u,e>>>16|0)+(T(a,u&65535)+32768>>>16)|0}s=h>>31|1;h=0-s|0;a=(((p|0)<0?h:s)|0)<0?0-a|0:a;if((c|0)==(a|0)){break l}x=c-a|0;a=x>>31;l=(a^x)-a|0;q=l>>>17^65535;o:{if(q>>>0>=e>>>0){c=((e<<16)+(l>>>1|0)>>>0)/(l>>>0)|0;break o}c=2147483647;a=l>>>1|0;i=a+(e<<16)|0;e=(e>>>16|0)+(a>>>0>i>>>0)|0;if(e>>>0>=l>>>0){break o}k=W(e);a=32-k|0;e=i>>>a|e<>>0)/(l>>>0)|0;j=e-T(c,l)|0;i=i<>>31;e=a>>>0>=l>>>0;j=a-(e?l:0)|0;c=e|c<<1;i=i<<1;a=31-k|0}if((k|0)==31){break o}while(1){e=j<<1|i>>>31;m=e>>>0>=l>>>0;e=i>>>30&1|e-(m?l:0)<<1;k=e>>>0>=l>>>0;j=e-(k?l:0)|0;c=c<<2|m<<1|k;i=i<<2;a=a-2|0;if(a){continue}break}}N[f+6732>>2]=(((x|0)<0?h:s)|0)<0?c:0-c|0;p:{if(q>>>0>=u>>>0){c=((u<<16)+(l>>>1|0)>>>0)/(l>>>0)|0;break p}c=2147483647;a=l>>>1|0;h=a+(u<<16)|0;e=(u>>>16|0)+(a>>>0>h>>>0)|0;if(e>>>0>=l>>>0){break p}k=W(e);a=32-k|0;e=h>>>a|e<>>0)/(l>>>0)|0;j=e-T(c,l)|0;i=h<>>31;e=a>>>0>=l>>>0;j=a-(e?l:0)|0;c=e|c<<1;i=i<<1;a=31-k|0}if((k|0)==31){break p}while(1){e=j<<1|i>>>31;k=e>>>0>=l>>>0;e=i>>>30&1|e-(k?l:0)<<1;h=e>>>0>=l>>>0;j=e-(h?l:0)|0;c=h|(c<<2|k<<1);i=i<<2;a=a-2|0;if(a){continue}break}}a=p>>31|1;N[f+6736>>2]=(((x|0)<0?0-a|0:a)|0)<0?c:0-c|0;q:{if(q>>>0>=t>>>0){c=((t<<16)+(l>>>1|0)>>>0)/(l>>>0)|0;break q}c=2147483647;a=l>>>1|0;h=a+(t<<16)|0;e=(t>>>16|0)+(a>>>0>h>>>0)|0;if(e>>>0>=l>>>0){break q}j=W(e);a=32-j|0;e=h>>>a|e<>>0)/(l>>>0)|0;e=e-T(c,l)|0;i=h<>>31;h=a>>>0>=l>>>0;e=a-(h?l:0)|0;c=h|c<<1;i=i<<1;a=31-j|0}if((j|0)==31){break q}while(1){e=e<<1|i>>>31;j=e>>>0>=l>>>0;e=i>>>30&1|e-(j?l:0)<<1;h=e>>>0>=l>>>0;e=e-(h?l:0)|0;c=h|(c<<2|j<<1);i=i<<2;a=a-2|0;if(a){continue}break}}h=f+36|0;a=o>>31|1;N[f+6728>>2]=(((x|0)<0?0-a|0:a)|0)<0?0-c|0:c;r:{if(q>>>0>=v>>>0){c=((v<<16)+(l>>>1|0)>>>0)/(l>>>0)|0;break r}c=2147483647;a=l>>>1|0;i=a+(v<<16)|0;e=(v>>>16|0)+(a>>>0>i>>>0)|0;if(e>>>0>=l>>>0){break r}k=W(e);a=32-k|0;e=i>>>a|e<>>0)/(l>>>0)|0;e=e-T(c,l)|0;i=i<>>31;j=a>>>0>=l>>>0;e=a-(j?l:0)|0;c=j|c<<1;i=i<<1;a=31-k|0}if((k|0)==31){break r}while(1){e=e<<1|i>>>31;k=e>>>0>=l>>>0;e=i>>>30&1|e-(k?l:0)<<1;j=e>>>0>=l>>>0;e=e-(j?l:0)|0;c=j|(c<<2|k<<1);i=i<<2;a=a-2|0;if(a){continue}break}}N[f+6740>>2]=(((x|0)<0?g:r)|0)<0?0-c|0:c;hd(h,f+6728|0)}j=7;s:{if(N[n+72>>2]!=1869968492){break s}t:{if(!O[f+16|0]){break t}e=M[n+110>>1];if((e|0)<=0){break t}i=N[f+40>>2];h=N[f+36>>2];g=N[n+112>>2];if(e>>>0>=4){a=e&-4;c=0;while(1){N[g>>2]=h+N[g>>2];N[g+4>>2]=i+N[g+4>>2];N[g+8>>2]=h+N[g+8>>2];N[g+16>>2]=h+N[g+16>>2];N[g+24>>2]=h+N[g+24>>2];N[g+12>>2]=i+N[g+12>>2];N[g+20>>2]=i+N[g+20>>2];N[g+28>>2]=i+N[g+28>>2];g=g+32|0;c=c+4|0;if((a|0)!=(c|0)){continue}break}}a=e&3;if(!a){break t}c=0;while(1){N[g>>2]=h+N[g>>2];N[g+4>>2]=i+N[g+4>>2];g=g+8|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}}e=N[f+80>>2];N[f+48>>2]=e;c=N[f+72>>2];N[f+44>>2]=c;i=N[n+40>>2];g=i>>31;h=N[f+68>>2];a=h>>31;g=(g^i)-g|0;j=(a^h)-a|0;u:{if(g+(j>>>8|0)>>>0<=8190){g=T(g,j)+32768>>>16|0;break u}a=g&65535;g=T(a,j>>>16|0)+T(j,g>>>16|0)+(T(a,j&65535)+32768>>>16)|0}a=g;N[f+56>>2]=e;j=0;e=0-a|0;a=i>>31|1;N[f+52>>2]=c+((((h|0)<0?0-a|0:a)|0)<0?e:g);if(!P[n+110>>1]){break s}a=N[y+28>>2];if(a){h=Qa[a|0](d,f- -64|0,w+20|0,b)|0;if(h){break c}}v:{w:{if(N[f+6720>>2]!=1){c=N[f+120>>2];if((c|0)<=1){g=N[f+52>>2];break w}g=N[f+52>>2];if(O[f+2804|0]&4){break w}e=N[f+128>>2];c=(e+T(c,44)|0)-44|0;s=N[c+8>>2];k=N[c+4>>2];h=N[e+8>>2];m=N[e+4>>2];c=h-m|0;e=(m|0)<24?c-8|0:c;i=e+32&-64;N[f+44>>2]=i;k=g-k|0;c=k+s|0;c=(k|0)<24?c+8|0:c;g=c+32&-64;N[f+52>>2]=g;if(!((m|0)<=0|(h|0)>(i|0))){i=i+-64|0;N[f+44>>2]=i}if(!((k|0)<=0|(g|0)>(s|0))){g=g- -64|0;N[f+52>>2]=g}N[n+144>>2]=i-e;a=g-c|0;break v}g=N[f+52>>2];h=g+32&-64;N[f+52>>2]=h;e=N[f+44>>2];c=e+32&-64;N[f+44>>2]=c;N[n+144>>2]=c-e;a=h-g|0;break v}h=g+32&-64;N[f+52>>2]=h;e=N[f+44>>2];c=e+32&-64;N[f+44>>2]=c;N[n+144>>2]=c-e;a=h-g|0}N[n+148>>2]=a}g=N[n+48>>2]-N[n+36>>2]|0;h=N[n+44>>2]-N[n+32>>2]|0;e=h>>31;c=N[b+8>>2];a=c>>31;e=(e^h)-e|0;i=(a^c)-a|0;x:{if(e+(i>>>8|0)>>>0<=8190){e=T(e,i)+32768>>>16|0;break x}a=e&65535;e=T(a,i>>>16|0)+T(i,e>>>16|0)+(T(a,i&65535)+32768>>>16)|0}a=e;i=0-a|0;a=h>>31|1;N[f+6728>>2]=(((c|0)<0?0-a|0:a)|0)<0?i:e;c=N[b+12>>2];a=c>>31;h=(a^c)-a|0;a=g>>31;e=(a^g)-a|0;y:{if((h>>>8|0)+e>>>0<=8190){e=T(e,h)+32768>>>16|0;break y}a=e&65535;e=T(a,h>>>16|0)+T(h,e>>>16|0)+(T(a,h&65535)+32768>>>16)|0}a=e;h=0-a|0;a=g>>31|1;N[f+6732>>2]=(((c|0)<0?0-a|0:a)|0)<0?h:e;if(O[f+16|0]){c=f+20|0;g=N[w+24>>2];z:{if(!g){break z}a=M[w+22>>1];if((a|0)<=0){break z}a=(a<<3)+g|0;while(1){hd(g,c);g=g+8|0;if(a>>>0>g>>>0){continue}break}}hd(f+6728|0,c)}m=N[f+44>>2];k=M[w+22>>1];A:{if(!m|(k|0)<=0){break A}i=k&3;g=N[w+24>>2];B:{if(k>>>0<4){break B}e=k-4|0;a=(e>>>2|0)+1|0;c=a&1;if(e>>>0>=4){a=a&2147483646;h=0;while(1){N[g>>2]=N[g>>2]-m;N[g+8>>2]=N[g+8>>2]-m;N[g+16>>2]=N[g+16>>2]-m;N[g+24>>2]=N[g+24>>2]-m;N[g+32>>2]=N[g+32>>2]-m;N[g+40>>2]=N[g+40>>2]-m;N[g+48>>2]=N[g+48>>2]-m;N[g+56>>2]=N[g+56>>2]-m;g=g- -64|0;h=h+2|0;if((a|0)!=(h|0)){continue}break}}if(!c){break B}N[g>>2]=N[g>>2]-m;N[g+8>>2]=N[g+8>>2]-m;N[g+16>>2]=N[g+16>>2]-m;N[g+24>>2]=N[g+24>>2]-m;g=g+32|0}if(!i){break A}h=0;while(1){N[g>>2]=N[g>>2]-m;g=g+8|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}C:{if(!k){g=0;c=0;i=0;h=0;break C}a=N[w+24>>2];i=N[a+4>>2];h=N[a>>2];if((k|0)<2){g=i;c=h;break C}k=(k<<3)+a|0;e=a+8|0;c=h;g=i;while(1){m=N[a+12>>2];g=(g|0)<(m|0)?m:g;i=(i|0)>(m|0)?m:i;a=N[a+8>>2];c=(a|0)>(c|0)?a:c;h=(a|0)<(h|0)?a:h;a=e;e=a+8|0;if(k>>>0>e>>>0){continue}break}}e=h&-64;N[n+32>>2]=e;a=g+63&-64;N[n+36>>2]=a;N[n+28>>2]=a-(i&-64);N[n+24>>2]=(c+63&-64)-e;N[n+44>>2]=e+N[f+6728>>2]&-64;N[n+48>>2]=a+N[f+6732>>2]&-64;D:{E:{if(N[f+6720>>2]==1){break E}if(!(O[N[n+4>>2]+8|0]&4)){a=N[f+4>>2];if(!O[b+32|0]|(Q[a+4>>2]<=d>>>0|M[N[a+8>>2]+(d<<1)>>1]>=0)){break E}}g=qb(N[n+40>>2],N[b+8>>2]);N[n+144>>2]=0;N[n+148>>2]=0;break D}if(!N[n+40>>2]){g=0;break D}g=N[f+52>>2]-N[f+44>>2]|0}d=N[n+52>>2];c=d>>31;b=N[b+12>>2];a=b>>31;c=(c^d)-c|0;e=(a^b)-a|0;F:{if(c+(e>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break F}a=c&65535;c=T(a,e>>>16|0)+T(e,c>>>16|0)+(T(a,e&65535)+32768>>>16)|0}a=c;N[n+72>>2]=1869968492;N[n+40>>2]=g+32&-64;e=0-a|0;a=d>>31|1;N[n+52>>2]=((((b|0)<0?0-a|0:a)|0)<0?e:c)+32&-64;h=j}N[f+8>>2]=0;N[f>>2]=0;N[f+4>>2]=0;b=N[f+64>>2];G:{if(!b){break G}N[f+108>>2]=0;N[f+112>>2]=0;a=N[f+116>>2];if((a|0)!=(f+136|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+116>>2]=0}N[f+120>>2]=0;N[f+124>>2]=0;a=N[f+128>>2];if((a|0)!=(f+928|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+128>>2]=0}a=f+1456|0;N[a>>2]=0;N[a+4>>2]=0;a=N[f+1464>>2];if((a|0)!=(f+1484|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+1464>>2]=0}a=f+1468|0;N[a>>2]=0;N[a+4>>2]=0;a=N[f+1476>>2];if((a|0)!=(f+2276|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+1476>>2]=0}a=N[f+104>>2];if((a|0)!=(f+2816|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+104>>2]=0}N[f+96>>2]=0;N[f+100>>2]=0;a=N[f+92>>2];if((a|0)==(f+2848|0)|!a){break G}Qa[N[b+8>>2]](b,a)}La=f+6752|0;return h|0}function ol(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{e=N[b+4>>2];c=a+4|0;c:{if(e>>>0>c>>>0){break c}d=N[b+8>>2];if(c>>>0>d>>>0|d-c>>>0<4){break c}h=N[b+12>>2]-4|0;N[b+12>>2]=h;if(a>>>0>>0|(h|0)<=0){break c}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<16|c>>>0>d-a>>>0){break c}f=h-c|0;N[b+12>>2]=f;if((f|0)<=0){break c}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=TE(j,0,12,0);if(Pa){break c}h=a+16|0;if(c){if(d>>>0>>0|c>>>0>d-h>>>0){break c}c=f-c|0;N[b+12>>2]=c;if((c|0)<=0){break c}}a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);if(!a){return 1}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);o=a>>>0<=1?1:a;f=h+T(j,12)|0;while(1){if(d>>>0>>0|e>>>0>f>>>0){break a}e=d-f|0;if(e>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}a=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0<13|a>>>0>e>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=N[b+32>>2];e=N[c+12>>2];N[b+4>>2]=e;h=N[c+16>>2];c=h+e|0;N[b+8>>2]=c;d:{e:{f:{g:{h:{if((h|0)>=0){e=c>>>0<=f>>>0|e>>>0>f>>>0;N[b+4>>2]=e?0:f;c=c-f|0;a=e?0:(a>>>0>c>>>0?c:a)+f|0;N[b+8>>2]=a;g=1;i:{switch((O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24))>>>24|0){case 4:break g;case 5:break h;case 0:break i;case 1:break e;case 2:break f;default:break d}}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<16){break d}c=d-16|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-20|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!xc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){j:{k:{l:{m:{n:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=TE(h,0,m,0);if(Pa){break d}o:{if(!d){d=N[b+12>>2];break o}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}TE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break n}c=h}if(!e){break l}d=e;break m}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=d>>>0>c>>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=d<<2;if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break k}break j}d=0;if(N[b+12>>2]>0){break j}g=0;break d}h=h+j|0;g=j+(e<<2)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+4|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=1;break d}break b}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<20){break d}c=d-20|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=d-36|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-40|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!xc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){p:{q:{r:{s:{t:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=TE(h,0,m,0);if(Pa){break d}u:{if(!d){d=N[b+12>>2];break u}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}TE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break t}c=h}if(!e){break r}d=e;break s}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=d>>>0>c>>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=d<<3;if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break q}break p}d=0;if(N[b+12>>2]>0){break p}g=0;break d}h=h+j|0;g=j+(e<<3)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+8|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=(O[f+28|0]|O[f+29|0]<<8|(O[f+30|0]<<16|O[f+31|0]<<24))!=0;break d}g=xc(f+12|0,b);break d}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<28){break d}c=d-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=d-44|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-48|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!xc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){v:{w:{x:{y:{z:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=TE(h,0,m,0);if(Pa){break d}A:{if(!d){d=N[b+12>>2];break A}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}TE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break z}c=h}if(!e){break x}d=e;break y}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=d>>>0>c>>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=T(d,6);if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break w}break v}e=N[b+12>>2]+e|0;N[b+12>>2]=e;d=0;if((e|0)>0){break v}g=0;break d}h=h+j|0;g=j+T(e,6)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+6|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=0;if(!(O[f+28|0]|O[f+29|0]<<8|(O[f+30|0]<<16|O[f+31|0]<<24))|!(O[f+32|0]|O[f+33|0]<<8|(O[f+34|0]<<16|O[f+35|0]<<24))){break d}g=(O[f+36|0]|O[f+37|0]<<8|(O[f+38|0]<<16|O[f+39|0]<<24))!=0;break d}g=0;j=f+12|0;if(j>>>0>a>>>0|a-j>>>0<16){break d}e=d-16|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<4){break d}e=f+16|0;if(e>>>0>a>>>0|a-e>>>0<4){break d}a=d-20|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(a&128){break d}if(!xc(j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);i=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((i|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);k=j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);l=j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;p=i<<1;c=0;a=0;e=0;while(1){B:{C:{D:{E:{F:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=TE(h,0,p,0);if(Pa){break d}G:{if(!d){d=N[b+12>>2];break G}if(l>>>0>2]){break d}m=N[b+8>>2];if(m>>>0>>0|d>>>0>m-l>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}TE(h,0,i,0);if(Pa){break d}d=T(h,i);if((d|0)<0){break d}c=T(c,i);if((c|0)<(d|0)){break F}c=h}if(!e){break D}d=e;break E}m=l+(d<<1)|0;g=l+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=d>>>0>c>>>0?d:c;g=g+2|0;if(m>>>0>g>>>0){continue}break}c=h}g=0;if(k>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}m=d<<3;if(m>>>0>h-k>>>0){break d}h=N[b+12>>2]-m|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=h+(e-d|0)|0;N[b+12>>2]=h;if((h|0)<=0){break d}if((d|0)>(e|0)){break C}break B}d=0;h=N[b+12>>2];if((h|0)>0){break B}g=0;break d}m=k+m|0;g=k+(e<<3)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+8|0;if(m>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}a=0;g=0;if(d){while(1){d=k+(g<<3)|0;c=O[d+4|0]|O[d+5|0]<<8;if((c|0)!=65535){c=((c<<8|c>>>8)&65535)+1|0;a=a>>>0>c>>>0?a:c}d=O[d+6|0]|O[d+7|0]<<8;if((d|0)!=65535){d=((d<<8|d>>>8)&65535)+1|0;a=a>>>0>d>>>0?a:d}g=g+1|0;if((g|0)!=(e|0)){continue}break}}c=N[b+4>>2];d=f+28|0;if(c>>>0>d>>>0){g=0;break d}e=N[b+8>>2];if(e>>>0>>0){g=0;break d}if(e-d>>>0<4){g=0;break d}h=h-4|0;N[b+12>>2]=h;if((h|0)<=0){g=0;break d}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(d&128){g=0;break d}g=1;if(!a){break d}g=c;c=j+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;if(g>>>0>c>>>0){g=0;break d}if(c>>>0>e>>>0){g=0;break d}g=0;d=a<<2;if(d>>>0>e-c>>>0){break d}e=h-d|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break d}while(1){e=c+(d<<2)|0;if(e>>>0>2]){g=0;break d}h=N[b+8>>2];if(h>>>0>>0){g=0;break d}if(h-e>>>0<4){g=0;break d}h=N[b+12>>2]-4|0;N[b+12>>2]=h;if((h|0)<=0){g=0;break d}e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(e&128){g=0;break d}if(xc(c+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0,b)){g=1;d=d+1|0;if((d|0)==(a|0)){break d}continue}break}g=0}a=N[b+32>>2];e=N[a+12>>2];N[b+4>>2]=e;a=N[a+16>>2];d=a+e|0;N[b+8>>2]=d;if((a|0)<0){break b}if(!g){break a}a=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+f|0;g=1;n=n+1|0;if((o|0)!=(n|0)){continue}break}}return g}ba(16656,14279,195,9642);F()}return 0}function Sd(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=La-240|0;La=g;N[g+8>>2]=0;i=6;a:{if(!b|!((d|0)!=0|(c|0)<0)){break a}l=N[b>>2];m=l&2;n=m?N[b+16>>2]!=0:n;N[g+12>>2]=0;b:{if(!a){i=33;l=0;break b}h=N[a>>2];c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch((l&7)-1|0){case 0:f=Qa[N[h+4>>2]](h,40)|0;if(f){break o}break d;case 3:f=Qa[N[h+4>>2]](h,40)|0;if(!f){break d}L[f|0]=0;L[f+1|0]=0;L[f+2|0]=0;L[f+3|0]=0;L[f+4|0]=0;L[f+5|0]=0;L[f+6|0]=0;L[f+7|0]=0;L[f+32|0]=0;L[f+33|0]=0;L[f+34|0]=0;L[f+35|0]=0;L[f+36|0]=0;L[f+37|0]=0;L[f+38|0]=0;L[f+39|0]=0;L[f+24|0]=0;L[f+25|0]=0;L[f+26|0]=0;L[f+27|0]=0;L[f+28|0]=0;L[f+29|0]=0;L[f+30|0]=0;L[f+31|0]=0;L[f+16|0]=0;L[f+17|0]=0;L[f+18|0]=0;L[f+19|0]=0;L[f+20|0]=0;L[f+21|0]=0;L[f+22|0]=0;L[f+23|0]=0;L[f+8|0]=0;L[f+9|0]=0;L[f+10|0]=0;L[f+11|0]=0;L[f+12|0]=0;L[f+13|0]=0;L[f+14|0]=0;L[f+15|0]=0;i=df(f,N[b+12>>2]);if(!i){break n}Qa[N[h+8>>2]](h,f);l=0;break m;case 1:f=N[b+16>>2];if(f){break n}break;default:break p}}l=0;if(!m){break c}a=N[b+16>>2];if(!a){break c}b=N[a+24>>2];if(!b){break c}Qa[b|0](a);break c}L[f|0]=0;L[f+1|0]=0;L[f+2|0]=0;L[f+3|0]=0;L[f+4|0]=0;L[f+5|0]=0;L[f+6|0]=0;L[f+7|0]=0;L[f+32|0]=0;L[f+33|0]=0;L[f+34|0]=0;L[f+35|0]=0;L[f+36|0]=0;L[f+37|0]=0;L[f+38|0]=0;L[f+39|0]=0;l=f+24|0;L[l|0]=0;L[l+1|0]=0;L[l+2|0]=0;L[l+3|0]=0;L[l+4|0]=0;L[l+5|0]=0;L[l+6|0]=0;L[l+7|0]=0;L[f+16|0]=0;L[f+17|0]=0;L[f+18|0]=0;L[f+19|0]=0;L[f+20|0]=0;L[f+21|0]=0;L[f+22|0]=0;L[f+23|0]=0;L[f+8|0]=0;L[f+9|0]=0;L[f+10|0]=0;L[f+11|0]=0;L[f+12|0]=0;L[f+13|0]=0;L[f+14|0]=0;L[f+15|0]=0;l=N[b+8>>2];i=N[b+4>>2];N[f+24>>2]=0;N[f>>2]=i;N[f+4>>2]=l}N[f+28>>2]=h;N[g+12>>2]=f;p=N[a>>2];q:{h=N[b>>2];if(!(h&8)){break q}l=N[b+20>>2];if(!l){break q}i=32;if(L[N[l>>2]]&1){i=0;f=0;if(h&16){i=N[b+24>>2];f=N[b+28>>2]}i=Dn(l,g+12|0,n,c,i,f,g+8|0);if(!i){break k}f=N[g+12>>2];if(!f){break b}}a=N[f+28>>2];b=N[f+24>>2];if(b){Qa[b|0](f)}if(n){break b}Qa[N[a+8>>2]](a,f);break b}h=N[a+16>>2];if((h|0)<=0){i=11;l=0;break c}f=a+20|0;m=f+(h<<2)|0;i=11;h=0;while(1){l=N[f>>2];if(L[N[l>>2]]&1){i=0;h=0;if(O[b|0]&16){i=N[b+24>>2];h=N[b+28>>2]}i=Dn(l,g+12|0,n,c,i,h,g+8|0);if(!i){break k}r:{if(!e){break r}if(cb(N[N[N[f>>2]>>2]+8>>2],15504)|(i&255)!=142){break r}h=N[g+12>>2];i=N[h+20>>2];if(i){if(Qa[i|0](h,0,0,0)|0){break l}}N[h+8>>2]=0;i=Cn(a,h,c,d);if(i){break r}a=N[h+28>>2];b=N[h+24>>2];if(b){Qa[b|0](h)}i=0;if(n){break a}Qa[N[a+8>>2]](a,h);break a}h=l;if((i&255)!=2){break m}}f=f+4|0;if(m>>>0>f>>>0){continue}break}l=h}s:{t:{h=i&255;switch(h-81|0){case 0:case 4:break s;case 1:case 2:case 3:break c;default:break t}}if((h|0)!=2){break c}}if(!e){break f}h=N[g+12>>2];if(h){break l}h=0;r=1;break j}e=N[h+20>>2];if(e){if(Qa[e|0](h,0,0,0)|0){break j}}N[h+8>>2]=0;e=N[h+4>>2];if(!e){break j}f=N[h+20>>2];u:{if(f){i=Qa[f|0](h,0,g+112|0,128)|0;break u}i=e>>>0>=128?128:e;B(g+112|0,N[h>>2],i)}N[h+8>>2]=i;if(i>>>0<128){break j}v:{w:{if(O[g+194|0]|(O[g+112|0]|O[g+186|0])){break w}e=O[g+113|0];if(!e|e>>>0>33|(O[g+175|0]|O[(e+g|0)+114|0])){break w}e=L[g+195|0];if((e|0)<0){break w}i=di(a,h,((O[g+198|0]|(O[g+196|0]<<16|(e&255)<<24|O[g+197|0]<<8))+127&2147483520)+128|0,c,d);if((i&255)!=2){break v}}i=di(a,h,0,c,d)}e=i&255;if((e|0)==85){break i}if((e|0)!=2){break h}break i}a=Qa[N[p+4>>2]](p,12)|0;if(!a){i=64;break b}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;e=N[g+8>>2];N[a+8>>2]=e;b=N[e+96>>2];h=N[b+20>>2];N[a>>2]=h;N[(h?h+4|0:b+16|0)>>2]=a;N[b+20>>2]=a;x:{if((c|0)>=0){i=fi(e,0);if(i){break x}i=Bn(e,g+112|0);if(i){break x}N[e+88>>2]=N[g+112>>2]}a=N[e+8>>2];y:{if(!(a&1)){break y}i=M[e+74>>1];if((i|0)<0){i=0-i|0;M[e+74>>1]=i}if(a&32){break y}M[e+78>>1]=i}z:{if(!(a&2)){break z}b=N[e+28>>2];if((b|0)<=0){break z}c=N[e+32>>2];i=0;while(1){a=c+(i<<4)|0;f=M[a>>1];if((f|0)<0){f=0-f|0;M[a>>1]=f}h=N[a+8>>2];if((h|0)<0){N[a+8>>2]=0-h}h=N[a+12>>2];if((h|0)<0){N[a+12>>2]=0-h}if(f<<16>>16<0){N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0}i=i+1|0;if((b|0)!=(i|0)){continue}break}}a=N[e+128>>2];N[a+64>>2]=1;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=65536;N[a>>2]=65536;N[a+4>>2]=0;L[a+56|0]=255;if(d){N[d>>2]=e;i=0;break a}zn(e);i=0;break a}a=N[e+96>>2];if(!a){break a}c=N[e+128>>2];b=N[c+64>>2];N[c+64>>2]=b-1;if((b|0)>1){break a}b=N[a+16>>2];if(!b){break a}h=a+16|0;c=N[a+8>>2];while(1){if((e|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break a}break}d=N[b>>2];l=d?d+4|0:h;h=N[b+4>>2];N[l>>2]=h;N[(h?h:a+20|0)>>2]=d;Qa[N[c+8>>2]](c,b);gc(c,e,a);break a}i=85}if(!(O[b|0]&4)){break h}m=N[a>>2];i=N[b+12>>2];N[g+112>>2]=0;A:{B:{C:{if(h){f=N[h+20>>2];D:{if(f){e=85;if(Qa[f|0](h,0,0,0)|0){break D}}N[h+8>>2]=0;N[g+112>>2]=0;N[g+16>>2]=0;e=Qd(h,333319,g- -64|0)}N[g+116>>2]=0;N[g+16>>2]=e;e=N[h+20>>2];if(!e){break C}if(!(Qa[e|0](h,0,0,0)|0)){break C}N[g+20>>2]=85;break B}N[g+16>>2]=81;N[g+20>>2]=81;N[g+116>>2]=0;N[g+120>>2]=0;e=ci(a,g,i,g+112|8,g- -64|8);N[g+124>>2]=0;N[g+24>>2]=e;f=nb(i);e=f+18|0;E:{F:{if((f|0)>=-17){j=N[a>>2];e=Qa[N[j+4>>2]](j,e)|0;if(e){break F}j=64;break E}j=6;if(e){break E}e=0}B(e,i,f);f=e+f|0;j=O[17697]|O[17698]<<8;L[f+16|0]=j;L[f+17|0]=j>>>8;j=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);k=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[f+8|0]=k;L[f+9|0]=k>>>8;L[f+10|0]=k>>>16;L[f+11|0]=k>>>24;L[f+12|0]=j;L[f+13|0]=j>>>8;L[f+14|0]=j>>>16;L[f+15|0]=j>>>24;j=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);k=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[f|0]=k;L[f+1|0]=k>>>8;L[f+2|0]=k>>>16;L[f+3|0]=k>>>24;L[f+4|0]=j;L[f+5|0]=j>>>8;L[f+6|0]=j>>>16;L[f+7|0]=j>>>24;N[g+124>>2]=e;N[g+76>>2]=0;j=0}e=0;N[g+128>>2]=0;N[g+28>>2]=j;f=6;j=nb(i);k=j+6|0;G:{H:{if((j|0)>=-5){e=N[a>>2];e=Qa[N[e+4>>2]](e,k)|0;if(e){break H}f=64;break G}if(k){break G}}B(e,i,j);f=0;j=e+j|0;k=O[17697]|O[17698]<<8;L[j+4|0]=k;L[j+5|0]=k>>>8;k=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[j|0]=k;L[j+1|0]=k>>>8;L[j+2|0]=k>>>16;L[j+3|0]=k>>>24;N[g+128>>2]=e;N[g+80>>2]=0}N[g+132>>2]=0;N[g+32>>2]=f;f=64;e=64;j=gd(N[a>>2],i,22019);if(j){N[g+84>>2]=0;N[g+132>>2]=j;e=0}N[g+136>>2]=0;N[g+36>>2]=e;e=gd(N[a>>2],i,22047);if(e){N[g+88>>2]=0;N[g+136>>2]=e;f=0}N[g+140>>2]=0;N[g+40>>2]=f;e=bi(a,g,i,g+140|0,g+92|0);N[g+144>>2]=0;N[g+44>>2]=e;s=g,t=ai(a,g,i,g+144|0,g+96|0),N[s+48>>2]=t;break A}N[h+8>>2]=0;N[g+116>>2]=0;N[g+20>>2]=0;s=g,t=Qd(h,333312,g- -64|4),N[s+20>>2]=t}N[g+120>>2]=0;I:{J:{e=N[h+20>>2];if(!e){break J}if(!(Qa[e|0](h,0,0,0)|0)){break J}N[g+24>>2]=85;break I}N[h+8>>2]=0;s=g,t=ci(a,g,i,g+112|8,g- -64|8),N[s+24>>2]=t}N[g+124>>2]=0;K:{L:{e=N[h+20>>2];if(!e){break L}if(!(Qa[e|0](h,0,0,0)|0)){break L}N[g+28>>2]=85;break K}N[h+8>>2]=0;f=nb(i);j=f+18|0;M:{N:{if((f|0)>=-17){e=N[a>>2];e=Qa[N[e+4>>2]](e,j)|0;if(e){break N}e=64;break M}e=6;if(j){break M}e=0}B(e,i,f);f=e+f|0;j=O[17697]|O[17698]<<8;L[f+16|0]=j;L[f+17|0]=j>>>8;j=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);k=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[f+8|0]=k;L[f+9|0]=k>>>8;L[f+10|0]=k>>>16;L[f+11|0]=k>>>24;L[f+12|0]=j;L[f+13|0]=j>>>8;L[f+14|0]=j>>>16;L[f+15|0]=j>>>24;j=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);k=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[f|0]=k;L[f+1|0]=k>>>8;L[f+2|0]=k>>>16;L[f+3|0]=k>>>24;L[f+4|0]=j;L[f+5|0]=j>>>8;L[f+6|0]=j>>>16;L[f+7|0]=j>>>24;N[g+124>>2]=e;N[g+76>>2]=0;e=0}N[g+28>>2]=e}N[g+128>>2]=0;O:{P:{e=N[h+20>>2];if(!e){break P}if(!(Qa[e|0](h,0,0,0)|0)){break P}N[g+32>>2]=85;break O}N[h+8>>2]=0;e=6;j=nb(i);f=j+6|0;Q:{R:{if((j|0)>=-5){e=N[a>>2];f=Qa[N[e+4>>2]](e,f)|0;if(f){break R}e=64;break Q}if(f){break Q}f=0}B(f,i,j);e=0;j=f+j|0;k=O[17697]|O[17698]<<8;L[j+4|0]=k;L[j+5|0]=k>>>8;k=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[j|0]=k;L[j+1|0]=k>>>8;L[j+2|0]=k>>>16;L[j+3|0]=k>>>24;N[g+128>>2]=f;N[g+80>>2]=0}N[g+32>>2]=e}N[g+132>>2]=0;S:{T:{e=N[h+20>>2];if(!e){break T}if(!(Qa[e|0](h,0,0,0)|0)){break T}N[g+36>>2]=85;break S}N[h+8>>2]=0;e=gd(N[a>>2],i,22019);if(e){N[g+84>>2]=0;N[g+132>>2]=e;e=0}else{e=64}N[g+36>>2]=e}N[g+136>>2]=0;U:{V:{e=N[h+20>>2];if(!e){break V}if(!(Qa[e|0](h,0,0,0)|0)){break V}N[g+40>>2]=85;break U}N[h+8>>2]=0;e=gd(N[a>>2],i,22047);if(e){N[g+88>>2]=0;N[g+136>>2]=e;e=0}else{e=64}N[g+40>>2]=e}N[g+140>>2]=0;W:{X:{e=N[h+20>>2];if(!e){break X}if(!(Qa[e|0](h,0,0,0)|0)){break X}N[g+44>>2]=85;break W}N[h+8>>2]=0;s=g,t=bi(a,g,i,g+140|0,g+92|0),N[s+44>>2]=t}N[g+144>>2]=0;Y:{e=N[h+20>>2];if(!e){break Y}if(!(Qa[e|0](h,0,0,0)|0)){break Y}N[g+48>>2]=85;break A}N[h+8>>2]=0;s=g,t=ai(a,g,i,g+144|0,g+96|0),N[s+48>>2]=t}f=0;j=2;i=0;while(1){Z:{q=N[(i<<3)+26356>>2]-3|0;_:{if(!(!(f&255)|q>>>0>1)){f=1;break _}o=i<<2;if(N[o+(g+16|0)>>2]){break _}j=N[o+(g+112|0)>>2];if(!j){j=N[b+12>>2]}$:{k=N[a>>2];e=Qa[N[k+4>>2]](k,40)|0;aa:{if(!e){j=64;break aa}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+32|0]=0;L[e+33|0]=0;L[e+34|0]=0;L[e+35|0]=0;L[e+36|0]=0;L[e+37|0]=0;L[e+38|0]=0;L[e+39|0]=0;L[e+24|0]=0;L[e+25|0]=0;L[e+26|0]=0;L[e+27|0]=0;L[e+28|0]=0;L[e+29|0]=0;L[e+30|0]=0;L[e+31|0]=0;L[e+16|0]=0;L[e+17|0]=0;L[e+18|0]=0;L[e+19|0]=0;L[e+20|0]=0;L[e+21|0]=0;L[e+22|0]=0;L[e+23|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;j=df(e,j);if(!j){break $}Qa[N[k+8>>2]](k,e)}f=q>>>0<2?(j|0)==81?1:f:f;break _}N[e+28>>2]=k;j=di(a,e,N[o+(g- -64|0)>>2],c,d);k=N[e+28>>2];o=N[e+24>>2];if(o){Qa[o|0](e)}Qa[N[k+8>>2]](k,e);if(!j){j=0;break Z}f=q>>>0<2?1:f}i=i+1|0;if((i|0)!=9){continue}}break}a=N[g+112>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+112>>2]=0}a=N[g+116>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+116>>2]=0}a=N[g+120>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+120>>2]=0}a=N[g+124>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+128>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+132>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+136>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+140>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+144>>2];if(a){Qa[N[m+8>>2]](m,a)}if(!j){break g}break e}if(i){break f}}i=0;if(r){break a}a=N[h+28>>2];b=N[h+24>>2];if(b){Qa[b|0](h)}if(n){break a}Qa[N[a+8>>2]](a,h);break a}if((i&255)!=2){break c}}i=2;break c}i=64;l=0}a=N[g+12>>2];if(!a){break b}b=N[a+28>>2];c=N[a+24>>2];if(c){Qa[c|0](a)}if(n){break b}Qa[N[b+8>>2]](b,a)}a=N[g+8>>2];if(!a){break a}gc(p,a,l)}La=g+240|0;return i}function Gx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=La-256|0;La=g;a:{if(!b){e=36;break a}j=N[a+4>>2];if(!j){e=35;break a}if(!(N[N[j+128>>2]+52>>2]|Q[j+16>>2]>c>>>0)){e=6;break a}if(d&2){d=O[j+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(O[j+9|0]&32?9:11)|d}o=d&2;N[b+44>>2]=(o?12:48)+b;b:{if(d&8){break b}e=N[b+116>>2];if(O[j+9|0]&128|(P[j+6>>1]&32767|(e|0)==-1)){break b}f=N[b+20>>2];h=N[b+16>>2];c:{i=g+12|0;e=Qa[N[N[j+540>>2]+72>>2]](j,e,c,d,N[j+104>>2],a+76|0,i)|0;if(e){j=N[a+4>>2];k=N[j+8>>2]&1;if((e&255)!=157){break c}if(k){break b}M[g+12>>1]=0;M[g+240>>1]=0;M[g+224>>1]=0;M[g+10>>1]=0;if(!N[j+752>>2]){break a}Qa[N[N[j+540>>2]+156>>2]](j,0,c,i,g+224|0);b=g+240|0;d=g+10|0;d:{if(O[j+292|0]){Qa[N[N[j+540>>2]+156>>2]](j,1,c,b,d);break d}if(P[j+372>>1]!=65535){M[b>>1]=P[j+442>>1];c=M[j+442>>1]-M[j+444>>1]|0;b=c>>31;M[d>>1]=(b^c)-b;break d}M[b>>1]=P[j+220>>1];c=M[j+220>>1]-M[j+222>>1]|0;b=c>>31;M[d>>1]=(b^c)-b}N[a+108>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;b=M[g+12>>1];N[a+36>>2]=0;s=a,t=qb(b,h),N[s+32>>2]=t;b=P[g+224>>1];N[a+44>>2]=0;s=a,t=qb(b,h),N[s+40>>2]=t;s=a,t=qb(M[g+240>>1],f),N[s+48>>2]=t;b=P[g+10>>1];N[a+100>>2]=0;N[a+104>>2]=0;L[a+94|0]=1;N[a+72>>2]=1651078259;s=a,t=qb(b,f),N[s+52>>2]=t;e=0;break a}e=0;N[a+108>>2]=0;N[a+24>>2]=P[g+14>>1]<<6;N[a+28>>2]=P[g+12>>1]<<6;j=M[g+16>>1];N[a+32>>2]=j<<6;k=M[g+18>>1];N[a+36>>2]=k<<6;N[a+40>>2]=P[g+20>>1]<<6;i=M[g+22>>1];N[a+44>>2]=i<<6;m=M[g+24>>1];N[a+48>>2]=m<<6;l=P[g+26>>1];q=k;k=d&16;N[a+104>>2]=k?m:q;N[a+100>>2]=k?i:j;N[a+72>>2]=1651078259;N[a+52>>2]=l<<6;j=N[a+4>>2];if(!(L[j+8|0]&1)){break a}e=N[j+104>>2];G(g+24|0,0,192);N[g+216>>2]=0;N[g+220>>2]=0;N[g+36>>2]=e;N[g+20>>2]=a;N[g+16>>2]=b;N[g+12>>2]=j;N[g+28>>2]=d;Wh(g+12|0,c,0,1);d=N[N[g+12>>2]+100>>2];e:{if(!d){break e}b=N[g+216>>2];if(!b){break e}while(1){c=N[b+4>>2];Qa[N[d+8>>2]](d,b);b=c;if(b){continue}break}}b=N[g+72>>2];N[a+56>>2]=b;c=N[g+188>>2];N[a+60>>2]=c;if(!(N[a+40>>2]|!b)){s=a,t=qb(b,h),N[s+40>>2]=t}e=0;if(N[a+52>>2]|!c){break a}s=a,t=qb(c,f),N[s+52>>2]=t;break a}if(!k){break a}}q=d&1;if(!(q|O[b+112|0])){e=36;break a}e=6;if(d&16384){break a}r=N[j+104>>2];p=N[j+96>>2];G(g+12|0,0,212);if(!o){m=(d&128)>>>7|0;e=N[b+304>>2];f:{g:{if((e|0)>=0){f=N[b+308>>2];if((f|0)<0){break g}if(e){break a}e=f;if(!e){break f}break a}k=N[b>>2];h=N[k+100>>2];e=N[b+132>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+132>>2]=0;e=N[b+144>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+144>>2]=0;e=N[b+252>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+252>>2]=0;e=N[b+260>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+260>>2]=0;e=N[b+300>>2];if(e){N[e+460>>2]=0;f=N[e+8>>2];i=N[e+24>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+20>>2]=0;N[e+24>>2]=0;i=N[e+400>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+396>>2]=0;N[e+400>>2]=0;i=N[e+500>>2];if(i){Qa[N[f+8>>2]](f,i)}M[e+496>>1]=0;N[e+500>>2]=0;i=N[e+456>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+456>>2]=0;N[e+448>>2]=0;N[e+452>>2]=0;i=N[e+412>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+408>>2]=0;N[e+412>>2]=0;N[e>>2]=0;N[e+4>>2]=0;Qa[N[f+8>>2]](f,e)}e=N[b+264>>2];if(e){f=N[b+292>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+292>>2]=0;f=N[b+288>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+288>>2]=0;f=N[b+280>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+280>>2]=0;f=N[b+276>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+276>>2]=0;f=N[b+284>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+284>>2]=0;N[b+272>>2]=0;N[b+264>>2]=0;N[b+268>>2]=0}N[b+304>>2]=-1;N[b+308>>2]=-1;i=0;e=N[k+96>>2];f=0;h:{if(!e){break h}l=N[e+8>>2];e=Qa[N[l+4>>2]](l,664)|0;f=0;if(!e){break h}G(e,0,664);N[e+452>>2]=32;N[e+8>>2]=l;f=Qa[N[l+4>>2]](l,512)|0;if(f){G(f,0,512);N[e+460>>2]=0;N[e+456>>2]=f;N[e+408>>2]=0;N[e+412>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e>>2]=0;N[e+4>>2]=0;f=e;break h}N[e+456>>2]=0;N[e+460>>2]=0;f=N[e+8>>2];l=N[e+24>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+20>>2]=0;N[e+24>>2]=0;l=N[e+400>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+396>>2]=0;N[e+400>>2]=0;l=N[e+500>>2];if(l){Qa[N[f+8>>2]](f,l)}M[e+496>>1]=0;N[e+500>>2]=0;l=N[e+456>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+456>>2]=0;N[e+448>>2]=0;N[e+452>>2]=0;l=N[e+412>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+408>>2]=0;N[e+412>>2]=0;N[e>>2]=0;N[e+4>>2]=0;Qa[N[f+8>>2]](f,e);f=0}N[b+300>>2]=f;e=P[k+280>>1];N[b+128>>2]=e;f=P[k+282>>1];N[b+148>>2]=0;N[b+152>>2]=0;N[b+136>>2]=0;N[b+124>>2]=0;N[b+140>>2]=f;N[b+248>>2]=N[k+700>>2];f=P[k+278>>1];L[b+113|0]=0;L[b+114|0]=0;M[b+256>>1]=f;N[b+96>>2]=0;N[b+100>>2]=0;N[b+104>>2]=0;N[b+108>>2]=0;i:{j:{if(e){e=T(e,24);i=Qa[N[h+4>>2]](h,e)|0;if(!i){break j}G(i,0,e)}N[g+224>>2]=0;N[b+132>>2]=i;f=g+224|0;s=b,t=lb(h,24,0,N[b+140>>2],0,f),N[s+144>>2]=t;e=N[g+224>>2];if(e){break i}s=b,t=lb(h,4,0,N[b+248>>2],0,f),N[s+252>>2]=t;e=N[g+224>>2];if(e){break i}s=b,t=lb(h,4,0,P[b+256>>1],0,f),N[s+260>>2]=t;e=N[g+224>>2];if(e){break i}e=P[k+276>>1];N[b+292>>2]=0;N[b+296>>2]=0;N[b+284>>2]=0;N[b+288>>2]=0;N[b+276>>2]=0;N[b+280>>2]=0;N[b+268>>2]=0;N[b+272>>2]=0;N[b+264>>2]=h;i=e+4|0;f=i&65535;l=g+240|0;s=b,t=lb(h,8,0,f,0,l),N[s+276>>2]=t;e=N[g+240>>2];k:{if(e){break k}s=b,t=lb(h,8,0,f,0,l),N[s+280>>2]=t;e=N[g+240>>2];if(e){break k}s=b,t=lb(h,8,0,f,0,l),N[s+284>>2]=t;e=N[g+240>>2];if(e){break k}e=0;l:{if(i&65535){e=Qa[N[h+4>>2]](h,f)|0;if(!e){break l}G(e,0,f)}M[b+268>>1]=i;N[b+292>>2]=0;N[b+288>>2]=e;M[b+270>>1]=0;M[b+272>>1]=i;B(b+180|0,26424,68);e=N[N[N[k+96>>2]+4>>2]+164>>2];N[k+708>>2]=e?e:146;f=N[b+300>>2];h=N[b>>2];e=Vh(f,h,b);m:{if(e){break m}N[f+512>>2]=0;N[f+516>>2]=0;N[f+508>>2]=64;N[f+16>>2]=0;N[f+448>>2]=0;N[f+596>>2]=16384;L[f+593|0]=m;N[f+220>>2]=0;N[f+224>>2]=0;L[f+520|0]=0;M[f+256>>1]=0;N[f+228>>2]=0;N[f+260>>2]=65536;N[f+264>>2]=0;k=N[h+688>>2];e=N[h+684>>2];N[f+472>>2]=0;N[f+476>>2]=0;N[f+468>>2]=e;N[f+464>>2]=k;N[f+480>>2]=0;N[f+484>>2]=0;n:{if(!e){N[b+304>>2]=0;break n}N[f+372>>2]=e;N[f+364>>2]=k;N[f+368>>2]=0;N[f+360>>2]=1;e=Qa[N[h+708>>2]](f)|0;N[b+304>>2]=e;if(e){break m}}N[b+124>>2]=N[f+416>>2];N[b+136>>2]=N[f+428>>2];N[b+148>>2]=N[f+440>>2];N[b+152>>2]=N[f+444>>2];e=N[f+468>>2];N[b+156>>2]=N[f+464>>2];N[b+160>>2]=e;e=N[f+476>>2];N[b+164>>2]=N[f+472>>2];N[b+168>>2]=e;e=N[f+484>>2];N[b+172>>2]=N[f+480>>2];N[b+176>>2]=e;e=0}break g}N[b+288>>2]=0;e=64}f=N[b+264>>2];if(!f){N[g+224>>2]=e;break i}h=N[b+292>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+292>>2]=0;h=N[b+288>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+288>>2]=0;h=N[b+280>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+280>>2]=0;h=N[b+276>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+276>>2]=0;h=N[b+284>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+284>>2]=0;N[b+272>>2]=0;N[b+264>>2]=0;N[b+268>>2]=0;break i}e=64;N[g+224>>2]=64;N[b+132>>2]=0}cn(b)}if(e){break a}e=N[b+308>>2];if((e|0)<0){f=P[b+272>>1];o:{if(!f){break o}h=N[b+280>>2];k=N[b+276>>2];e=0;if((f|0)!=1){l=f&65534;while(1){i=e<<3;n=i+k|0;N[n>>2]=0;N[n+4>>2]=0;n=h+i|0;N[n>>2]=0;N[n+4>>2]=0;i=i|8;n=i+k|0;N[n>>2]=0;N[n+4>>2]=0;i=h+i|0;N[i>>2]=0;N[i+4>>2]=0;e=e+2|0;if((l|0)!=(e|0)){continue}break}}if(!(f&1)){break o}e=e<<3;f=e+k|0;N[f>>2]=0;N[f+4>>2]=0;e=e+h|0;N[e>>2]=0;N[e+4>>2]=0}e=P[b+256>>1];if(e){G(N[b+260>>2],0,e<<2)}B(b+180|0,26424,68);e=bn(b,m)}if(e){break a}}f=N[b+300>>2];if(!f){e=153;break a}e=d&983040;p:{if(N[p+64>>2]!=40){h=(e|0)!=131072;k=0;i=0;e=0;break p}i=(e|0)!=131072;k=i&!(d&458752);h=0;e=d>>>18&1}L[f+642|0]=e;e=Vh(f,j,b);if(e){break a}q:{r:{s:{t:{if(N[p+64>>2]==40){e=O[f+641|0]==(i|0);if(!e){L[f+641|0]=i}if(O[f+646|0]!=(k|0)){break t}if(O[f+640|0]==(h|0)){break s}L[f+640|0]=h;break r}if(O[f+640|0]==(h|0)){break q}L[f+640|0]=h;break r}L[f+646|0]=k;if(O[f+640|0]==(h|0)){break r}L[f+640|0]=h;break r}if(e){break q}}e=bn(b,m);if(e){break a}}e=O[f+340|0];h=e<<1&2;if(e&2){B(f+288|0,26424,68)}L[f+593|0]=m;N[g+168>>2]=f;N[g+172>>2]=N[f+412>>2];d=d|h}e=N[N[a+156>>2]>>2];N[e+20>>2]=0;N[e+36>>2]=0;N[e+48>>2]=0;f=N[e+24>>2];N[e+56>>2]=N[e+20>>2];N[e+60>>2]=f;h=N[e+32>>2];f=e- -64|0;N[f>>2]=N[e+28>>2];N[f+4>>2]=h;N[e+88>>2]=N[e+52>>2];f=N[e+40>>2];N[e+72>>2]=N[e+36>>2];N[e+76>>2]=f;f=N[e+48>>2];N[e+80>>2]=N[e+44>>2];N[e+84>>2]=f;N[g+28>>2]=d;N[g+24>>2]=e;N[g+216>>2]=0;N[g+220>>2]=0;N[g+36>>2]=r;N[g+20>>2]=a;N[g+16>>2]=b;N[g+12>>2]=j;N[a+72>>2]=1869968492;N[a+124>>2]=0;N[a+128>>2]=0;e=Wh(g+12|0,c,0,0);u:{if(e){break u}d=N[g+24>>2];v:{if(N[a+72>>2]==1668246896){N[a+128>>2]=N[d+48>>2];N[a+132>>2]=N[d+52>>2];break v}f=N[d+24>>2];e=a+108|0;N[e>>2]=N[d+20>>2];N[e+4>>2]=f;N[e+16>>2]=N[d+36>>2];f=N[d+32>>2];N[e+8>>2]=N[d+28>>2];N[e+12>>2]=f;N[a+124>>2]=N[a+124>>2]&-513;d=N[g+80>>2];if(!d){break v}se(e,0-d|0,0)}w:{if(o){break w}d=8;e=N[g+168>>2];x:{if(!O[e+341|0]){break x}d=32;y:{switch(N[e+344>>2]){case 4:d=48;break x;case 5:d=16;break x;case 1:break w;case 0:break x;default:break y}}d=8}N[a+124>>2]=N[a+124>>2]|d}f=N[g+12>>2];j=65536;h=N[g+16>>2];d=N[g+20>>2];k=N[g+28>>2];j=k&1?j:N[N[h+44>>2]+8>>2];e=N[f+96>>2];z:{if(N[d+72>>2]!=1668246896){En(d+108|0,g+240|0);break z}i=N[g+60>>2];N[g+248>>2]=N[g+56>>2];N[g+252>>2]=i;i=N[g+52>>2];N[g+240>>2]=N[g+48>>2];N[g+244>>2]=i}N[d+56>>2]=N[g+72>>2];o=N[g+240>>2];N[d+32>>2]=o;i=N[g+252>>2];N[d+36>>2]=i;N[d+40>>2]=N[g+88>>2]-N[g+80>>2];A:{B:{if(N[e+64>>2]!=40){break B}e=N[g+168>>2];if(!e){break B}if(O[e+643|0]){break A}}if(N[f+488>>2]|k&2097154){break A}p=N[f+776>>2];if(!p){break A}e=0;m=N[f+768>>2];r=m?m+8|0:0;l=N[f+780>>2];n=N[f+784>>2];h=P[N[h+44>>2]>>1];while(1){if((h|0)==O[e+n|0]){h=c+2|0;if(!m|h>>>0>=l>>>0){break A}N[d+40>>2]=O[h+(r+T(e,l)|0)|0]<<6;break A}e=e+1|0;if((p|0)!=(e|0)){continue}break}}N[d+24>>2]=N[g+248>>2]-o;h=i-N[g+244>>2]|0;N[d+28>>2]=h;C:{if(!(!O[f+292|0]|!P[f+330>>1])){m=N[g+196>>2];h=fb(m-i|0,j)<<16>>16;e=0;i=N[g+204>>2];if((i|0)>=(m|0)){break C}e=fb(m-i|0,j)&65535;break C}e=P[f+372>>1]==65535;e=M[f+(e?220:442)>>1]-M[f+(e?222:444)>>1]|0;h=(e-(fb(h,j)<<16>>16)|0)/2|0}f=N[N[f+128>>2]+52>>2];D:{if(!f){break D}i=N[N[f>>2]+8>>2];if(!i){break D}N[g+232>>2]=e;N[g+228>>2]=h;N[g+224>>2]=0;e=Qa[i|0](N[f+4>>2],c,1,g+224|0)|0;if(e){break u}k=N[g+28>>2];e=N[g+232>>2];h=N[g+228>>2]}N[d+60>>2]=e;if(!(k&1)){h=qb(h,j);e=qb(e,j)}N[d+52>>2]=e;N[d+48>>2]=h;N[d+44>>2]=N[d+32>>2]+(N[d+40>>2]/-2|0);e=0}if(!(P[N[b+44>>2]+2>>1]>23|q)){N[a+124>>2]=N[a+124>>2]|256}c=N[N[g+12>>2]+100>>2];if(!c){break a}b=N[g+216>>2];if(!b){break a}while(1){a=N[b+4>>2];Qa[N[c+8>>2]](c,b);b=a;if(b){continue}break}}La=g+256|0;return e|0}function jm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=La-16|0;La=o;f=N[a+72>>2];n=N[a+64>>2];i=N[a+68>>2];a:{b:{c:{d:{e:{f:{g:{switch(N[a>>2]){case 0:k=N[a+164>>2];d=N[k+20>>2];h:{if(d){if(Qa[d|0](k,2,0,0)|0){break f}g=N[a+164>>2];h=N[g+4>>2];break h}g=k;h=N[g+4>>2];if(h>>>0<2){break f}}N[k+8>>2]=2;d=N[g+8>>2];if(d>>>0>=h>>>0){break f}k=N[g+20>>2];i:{if(!k){L[o+15|0]=O[d+N[g>>2]|0];N[g+8>>2]=d+1;break i}k=Qa[k|0](g,d,o+15|0,1)|0;N[g+8>>2]=k+N[g+8>>2];if((k|0)!=1){break f}}l=O[o+15|0];N[a+44>>2]=l&128;d=l&31;N[a+40>>2]=d;k=1<>2]=k-256;if(d>>>0>16){break f}N[a+52>>2]=9;N[a+56>>2]=l>>>7;N[a+60>>2]=d>>>0>9?256:k-255|0;f=0;l=Ah(a);if(l>>>0>255){break f}if(b){L[b|0]=l}if(c>>>0<2){break e}k=1;N[a>>2]=1;i=l;n=i;break;case 2:break d;case 1:break g;default:break a}}d=0;break c}d=0;break b}d=1;i=l;n=i;break a}d=1}j:{while(1){k:{l:{m:{n:{if(!d){l=Ah(a);d=k;if((l|0)<0){break b}if((l|0)!=256){j=i;break n}if(!N[a+44>>2]){j=i;l=256;break m}while(1){L[a+32|0]=1;i=0;N[a+56>>2]=0;l=Ah(a);if((l|0)<0){n=0;d=k;break b}if((l|0)!=256){j=0;n=0;break n}l=256;j=0;n=0;if(N[a+44>>2]){continue}break}break m}o:{if(b){while(1){k=N[a+92>>2];if(!k){break o}k=k-1|0;N[a+92>>2]=k;L[b+e|0]=O[k+N[a+88>>2]|0];e=e+1|0;if((e|0)!=(c|0)){continue}break}d=c;break a}d=N[a+92>>2];while(1){if(!d){break o}d=d-1|0;N[a+92>>2]=d;e=e+1|0;if((e|0)!=(c|0)){continue}break}d=c;break a}k=e;p:{q:{d=N[a+56>>2];if(d>>>0>2]){m=N[a+84>>2];if(m>>>0<=d>>>0){g=m?m+(m>>>2|0)|0:512;d=e;if((g|m)<0){break b}l=N[a+76>>2];j=N[a+168>>2];r:{s:{t:{if(!g){h=0;if(!l){break t}Qa[N[j+8>>2]](j,l);break t}d=k;if((g|0)>715827882){break b}u:{if(!m){h=Qa[N[j+4>>2]](j,T(g,3))|0;d=!h<<6;break u}d=Qa[N[j+12>>2]](j,T(m,3),T(g,3),l)|0;h=d?d:l;d=!d<<6}if(d|(g|0)<=(m|0)|!h){break s}G(T(m,3)+h|0,0,T(g-m|0,3))}N[a+76>>2]=h;break r}N[a+76>>2]=h;if(d){break q}}d=(g<<1)+h|0;N[a+80>>2]=d;B(d,(m<<1)+h|0,m);N[a+84>>2]=g;d=N[a+56>>2]}M[N[a+76>>2]+(d<<1)>>1]=n;L[N[a+80>>2]+d|0]=i;N[a+56>>2]=N[a+56>>2]+1}N[a>>2]=1;n=f;break p}d=k;break b}d=0;continue}i=l;if(i>>>0<256){break l}}v:{i=l;f=i-256|0;d=N[a+56>>2];if(f>>>0>>0){break v}if(d>>>0>>0){break k}d=N[a+96>>2];e=N[a+92>>2];if(d>>>0<=e>>>0){f=((d>>>1|0)+d|0)+4|0;h=N[a+168>>2];w:{x:{y:{e=N[a+88>>2];i=a+100|0;z:{if((e|0)!=(i|0)){A:{B:{if(f>>>0>=65537){f=65536;if((d|0)==65536|(d|0)<0){break k}break B}if((d|0)<0){break k}if(!f){break A}}if(!d){break y}g=Qa[N[h+12>>2]](h,d,f,e)|0;e=g?g:e;h=!g<<6;break x}g=0;if(e){Qa[N[h+8>>2]](h,e)}e=0;break z}g=0;N[a+88>>2]=0;d=0;e=0;f=f>>>0>=65536?65536:f;if(f){break y}}N[a+88>>2]=0;break w}d=0;e=Qa[N[h+4>>2]](h,f)|0;h=!e<<6}g=f;if(!(!e|(h|(f|0)<=(d|0)))){G(e+d|0,0,f-d|0);N[a+88>>2]=e;break w}N[a+88>>2]=e;if(h){break k}}if(!d){f=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);d=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);L[e|0]=d;L[e+1|0]=d>>>8;L[e+2|0]=d>>>16;L[e+3|0]=d>>>24;L[e+4|0]=f;L[e+5|0]=f>>>8;L[e+6|0]=f>>>16;L[e+7|0]=f>>>24;f=O[i+60|0]|O[i+61|0]<<8|(O[i+62|0]<<16|O[i+63|0]<<24);d=O[i+56|0]|O[i+57|0]<<8|(O[i+58|0]<<16|O[i+59|0]<<24);L[e+56|0]=d;L[e+57|0]=d>>>8;L[e+58|0]=d>>>16;L[e+59|0]=d>>>24;L[e+60|0]=f;L[e+61|0]=f>>>8;L[e+62|0]=f>>>16;L[e+63|0]=f>>>24;f=O[i+52|0]|O[i+53|0]<<8|(O[i+54|0]<<16|O[i+55|0]<<24);d=O[i+48|0]|O[i+49|0]<<8|(O[i+50|0]<<16|O[i+51|0]<<24);L[e+48|0]=d;L[e+49|0]=d>>>8;L[e+50|0]=d>>>16;L[e+51|0]=d>>>24;L[e+52|0]=f;L[e+53|0]=f>>>8;L[e+54|0]=f>>>16;L[e+55|0]=f>>>24;f=O[i+44|0]|O[i+45|0]<<8|(O[i+46|0]<<16|O[i+47|0]<<24);d=O[i+40|0]|O[i+41|0]<<8|(O[i+42|0]<<16|O[i+43|0]<<24);L[e+40|0]=d;L[e+41|0]=d>>>8;L[e+42|0]=d>>>16;L[e+43|0]=d>>>24;L[e+44|0]=f;L[e+45|0]=f>>>8;L[e+46|0]=f>>>16;L[e+47|0]=f>>>24;f=O[i+36|0]|O[i+37|0]<<8|(O[i+38|0]<<16|O[i+39|0]<<24);d=O[i+32|0]|O[i+33|0]<<8|(O[i+34|0]<<16|O[i+35|0]<<24);L[e+32|0]=d;L[e+33|0]=d>>>8;L[e+34|0]=d>>>16;L[e+35|0]=d>>>24;L[e+36|0]=f;L[e+37|0]=f>>>8;L[e+38|0]=f>>>16;L[e+39|0]=f>>>24;f=O[i+28|0]|O[i+29|0]<<8|(O[i+30|0]<<16|O[i+31|0]<<24);d=O[i+24|0]|O[i+25|0]<<8|(O[i+26|0]<<16|O[i+27|0]<<24);L[e+24|0]=d;L[e+25|0]=d>>>8;L[e+26|0]=d>>>16;L[e+27|0]=d>>>24;L[e+28|0]=f;L[e+29|0]=f>>>8;L[e+30|0]=f>>>16;L[e+31|0]=f>>>24;f=O[i+20|0]|O[i+21|0]<<8|(O[i+22|0]<<16|O[i+23|0]<<24);d=O[i+16|0]|O[i+17|0]<<8|(O[i+18|0]<<16|O[i+19|0]<<24);L[e+16|0]=d;L[e+17|0]=d>>>8;L[e+18|0]=d>>>16;L[e+19|0]=d>>>24;L[e+20|0]=f;L[e+21|0]=f>>>8;L[e+22|0]=f>>>16;L[e+23|0]=f>>>24;d=O[i+12|0]|O[i+13|0]<<8|(O[i+14|0]<<16|O[i+15|0]<<24);i=O[i+8|0]|O[i+9|0]<<8|(O[i+10|0]<<16|O[i+11|0]<<24);L[e+8|0]=i;L[e+9|0]=i>>>8;L[e+10|0]=i>>>16;L[e+11|0]=i>>>24;L[e+12|0]=d;L[e+13|0]=d>>>8;L[e+14|0]=d>>>16;L[e+15|0]=d>>>24}N[a+96>>2]=g;e=N[a+92>>2]}N[a+92>>2]=e+1;L[N[a+88>>2]+e|0]=j;i=n;if(i>>>0>=256){break v}break l}h=a+100|0;d=N[a+76>>2];while(1){if(!d){break k}d=N[a+88>>2];e=N[a+96>>2];f=N[a+92>>2];if(e>>>0<=f>>>0){f=((e>>>1|0)+e|0)+4|0;g=N[a+168>>2];C:{D:{E:{F:{G:{H:{if((d|0)!=(h|0)){if(f>>>0>=65537){f=65536;if((e|0)==65536|(e|0)<0){break k}break G}if((e|0)<0){break k}if(f){break G}if(!d){break H}Qa[N[g+8>>2]](g,d);break H}e=0;N[a+88>>2]=0;f=f>>>0>=65536?65536:f;if(f){break F}}f=0;d=0;N[a+88>>2]=0;break C}if(e){break E}}e=0;d=Qa[N[g+4>>2]](g,f)|0;g=!d<<6;break D}g=Qa[N[g+12>>2]](g,e,f,d)|0;d=g?g:d;g=!g<<6}if(!(!d|(g|(e|0)>=(f|0)))){G(e+d|0,0,f-e|0);N[a+88>>2]=d;break C}N[a+88>>2]=d;if(g){break k}}if(!e){g=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);e=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);L[d|0]=e;L[d+1|0]=e>>>8;L[d+2|0]=e>>>16;L[d+3|0]=e>>>24;L[d+4|0]=g;L[d+5|0]=g>>>8;L[d+6|0]=g>>>16;L[d+7|0]=g>>>24;g=O[h+60|0]|O[h+61|0]<<8|(O[h+62|0]<<16|O[h+63|0]<<24);e=O[h+56|0]|O[h+57|0]<<8|(O[h+58|0]<<16|O[h+59|0]<<24);L[d+56|0]=e;L[d+57|0]=e>>>8;L[d+58|0]=e>>>16;L[d+59|0]=e>>>24;L[d+60|0]=g;L[d+61|0]=g>>>8;L[d+62|0]=g>>>16;L[d+63|0]=g>>>24;g=O[h+52|0]|O[h+53|0]<<8|(O[h+54|0]<<16|O[h+55|0]<<24);e=O[h+48|0]|O[h+49|0]<<8|(O[h+50|0]<<16|O[h+51|0]<<24);L[d+48|0]=e;L[d+49|0]=e>>>8;L[d+50|0]=e>>>16;L[d+51|0]=e>>>24;L[d+52|0]=g;L[d+53|0]=g>>>8;L[d+54|0]=g>>>16;L[d+55|0]=g>>>24;g=O[h+44|0]|O[h+45|0]<<8|(O[h+46|0]<<16|O[h+47|0]<<24);e=O[h+40|0]|O[h+41|0]<<8|(O[h+42|0]<<16|O[h+43|0]<<24);L[d+40|0]=e;L[d+41|0]=e>>>8;L[d+42|0]=e>>>16;L[d+43|0]=e>>>24;L[d+44|0]=g;L[d+45|0]=g>>>8;L[d+46|0]=g>>>16;L[d+47|0]=g>>>24;g=O[h+36|0]|O[h+37|0]<<8|(O[h+38|0]<<16|O[h+39|0]<<24);e=O[h+32|0]|O[h+33|0]<<8|(O[h+34|0]<<16|O[h+35|0]<<24);L[d+32|0]=e;L[d+33|0]=e>>>8;L[d+34|0]=e>>>16;L[d+35|0]=e>>>24;L[d+36|0]=g;L[d+37|0]=g>>>8;L[d+38|0]=g>>>16;L[d+39|0]=g>>>24;g=O[h+28|0]|O[h+29|0]<<8|(O[h+30|0]<<16|O[h+31|0]<<24);e=O[h+24|0]|O[h+25|0]<<8|(O[h+26|0]<<16|O[h+27|0]<<24);L[d+24|0]=e;L[d+25|0]=e>>>8;L[d+26|0]=e>>>16;L[d+27|0]=e>>>24;L[d+28|0]=g;L[d+29|0]=g>>>8;L[d+30|0]=g>>>16;L[d+31|0]=g>>>24;g=O[h+20|0]|O[h+21|0]<<8|(O[h+22|0]<<16|O[h+23|0]<<24);e=O[h+16|0]|O[h+17|0]<<8|(O[h+18|0]<<16|O[h+19|0]<<24);L[d+16|0]=e;L[d+17|0]=e>>>8;L[d+18|0]=e>>>16;L[d+19|0]=e>>>24;L[d+20|0]=g;L[d+21|0]=g>>>8;L[d+22|0]=g>>>16;L[d+23|0]=g>>>24;g=O[h+12|0]|O[h+13|0]<<8|(O[h+14|0]<<16|O[h+15|0]<<24);e=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);L[d+8|0]=e;L[d+9|0]=e>>>8;L[d+10|0]=e>>>16;L[d+11|0]=e>>>24;L[d+12|0]=g;L[d+13|0]=g>>>8;L[d+14|0]=g>>>16;L[d+15|0]=g>>>24;d=N[a+88>>2]}N[a+96>>2]=f;f=N[a+92>>2]}e=i-256|0;i=O[e+N[a+80>>2]|0];N[a+92>>2]=f+1;L[d+f|0]=i;d=N[a+76>>2];i=P[d+(e<<1)>>1];if(i>>>0>255){continue}break}}d=N[a+96>>2];e=N[a+92>>2];if(d>>>0<=e>>>0){f=((d>>>1|0)+d|0)+4|0;g=N[a+168>>2];I:{J:{K:{L:{M:{N:{O:{P:{e=N[a+88>>2];j=a+100|0;if((e|0)!=(j|0)){if(f>>>0>=65537){f=65536;if((d|0)==65536|(d|0)<0){break j}break O}if((d|0)>=0){break P}break j}h=0;N[a+88>>2]=0;d=0;e=0;f=f>>>0>=65536?65536:f;if(f){break N}break K}if(f){break O}h=0;if(!e){e=0;N[a+88>>2]=0;break I}Qa[N[g+8>>2]](g,e);e=0;N[a+88>>2]=0;break I}if(d){break M}}d=0;e=Qa[N[g+4>>2]](g,f)|0;g=!e<<6;break L}g=Qa[N[g+12>>2]](g,d,f,e)|0;e=g?g:e;g=!g<<6}h=f;if(!e|(g|(d|0)>=(f|0))){break J}G(e+d|0,0,f-d|0)}N[a+88>>2]=e;break I}N[a+88>>2]=e;if(g){break j}}if(!d){f=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);d=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);L[e|0]=d;L[e+1|0]=d>>>8;L[e+2|0]=d>>>16;L[e+3|0]=d>>>24;L[e+4|0]=f;L[e+5|0]=f>>>8;L[e+6|0]=f>>>16;L[e+7|0]=f>>>24;f=O[j+60|0]|O[j+61|0]<<8|(O[j+62|0]<<16|O[j+63|0]<<24);d=O[j+56|0]|O[j+57|0]<<8|(O[j+58|0]<<16|O[j+59|0]<<24);L[e+56|0]=d;L[e+57|0]=d>>>8;L[e+58|0]=d>>>16;L[e+59|0]=d>>>24;L[e+60|0]=f;L[e+61|0]=f>>>8;L[e+62|0]=f>>>16;L[e+63|0]=f>>>24;f=O[j+52|0]|O[j+53|0]<<8|(O[j+54|0]<<16|O[j+55|0]<<24);d=O[j+48|0]|O[j+49|0]<<8|(O[j+50|0]<<16|O[j+51|0]<<24);L[e+48|0]=d;L[e+49|0]=d>>>8;L[e+50|0]=d>>>16;L[e+51|0]=d>>>24;L[e+52|0]=f;L[e+53|0]=f>>>8;L[e+54|0]=f>>>16;L[e+55|0]=f>>>24;f=O[j+44|0]|O[j+45|0]<<8|(O[j+46|0]<<16|O[j+47|0]<<24);d=O[j+40|0]|O[j+41|0]<<8|(O[j+42|0]<<16|O[j+43|0]<<24);L[e+40|0]=d;L[e+41|0]=d>>>8;L[e+42|0]=d>>>16;L[e+43|0]=d>>>24;L[e+44|0]=f;L[e+45|0]=f>>>8;L[e+46|0]=f>>>16;L[e+47|0]=f>>>24;f=O[j+36|0]|O[j+37|0]<<8|(O[j+38|0]<<16|O[j+39|0]<<24);d=O[j+32|0]|O[j+33|0]<<8|(O[j+34|0]<<16|O[j+35|0]<<24);L[e+32|0]=d;L[e+33|0]=d>>>8;L[e+34|0]=d>>>16;L[e+35|0]=d>>>24;L[e+36|0]=f;L[e+37|0]=f>>>8;L[e+38|0]=f>>>16;L[e+39|0]=f>>>24;f=O[j+28|0]|O[j+29|0]<<8|(O[j+30|0]<<16|O[j+31|0]<<24);d=O[j+24|0]|O[j+25|0]<<8|(O[j+26|0]<<16|O[j+27|0]<<24);L[e+24|0]=d;L[e+25|0]=d>>>8;L[e+26|0]=d>>>16;L[e+27|0]=d>>>24;L[e+28|0]=f;L[e+29|0]=f>>>8;L[e+30|0]=f>>>16;L[e+31|0]=f>>>24;f=O[j+20|0]|O[j+21|0]<<8|(O[j+22|0]<<16|O[j+23|0]<<24);d=O[j+16|0]|O[j+17|0]<<8|(O[j+18|0]<<16|O[j+19|0]<<24);L[e+16|0]=d;L[e+17|0]=d>>>8;L[e+18|0]=d>>>16;L[e+19|0]=d>>>24;L[e+20|0]=f;L[e+21|0]=f>>>8;L[e+22|0]=f>>>16;L[e+23|0]=f>>>24;f=O[j+12|0]|O[j+13|0]<<8|(O[j+14|0]<<16|O[j+15|0]<<24);d=O[j+8|0]|O[j+9|0]<<8|(O[j+10|0]<<16|O[j+11|0]<<24);L[e+8|0]=d;L[e+9|0]=d>>>8;L[e+10|0]=d>>>16;L[e+11|0]=d>>>24;L[e+12|0]=f;L[e+13|0]=f>>>8;L[e+14|0]=f>>>16;L[e+15|0]=f>>>24}N[a+96>>2]=h;e=N[a+92>>2]}N[a+92>>2]=e+1;L[N[a+88>>2]+e|0]=i;N[a>>2]=2;f=l;e=k;d=1;continue}break}i=j}f=l;d=k}N[a>>2]=3}N[a+72>>2]=f;N[a+68>>2]=i;N[a+64>>2]=n;La=o+16|0;return d}function Pt(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=La-32|0;La=g;f=N[a+720>>2];a:{if(f){break a}b:{c:{d:{if(!(!N[a+736>>2]|!(P[a+6>>1]&32767|O[a+9|0]&128))){m=N[a+548>>2];e=N[a+100>>2];if(!N[a+744>>2]){N[g+4>>2]=-1;N[g+8>>2]=-1;h=P[a+340>>1];if(!h){f=0;break b}i=N[a+356>>2];while(1){f=i+T(b,20)|0;e:{if(P[f+6>>1]!=25|!P[f+8>>1]){break e}f:{g:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break e}c=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break f}break e;case 0:break g;default:break e}}if(P[f+2>>1]){break e}c=g+4|0;if(!P[f+4>>1]){break f}if(N[g+4>>2]!=-1){break e}}N[c>>2]=b}b=b+1|0;if((h|0)!=(b|0)){continue}break}d=N[g+4>>2];h:{i:{j:{k:{l:{b=N[g+8>>2];if((b|0)>=0){break l}m:{if((d|0)>=0){break m}N[g+4>>2]=-1;N[g+8>>2]=-1;b=0;while(1){f=i+T(b,20)|0;n:{if(P[f+6>>1]!=16|!P[f+8>>1]){break n}o:{p:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break n}c=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break o}break n;case 0:break p;default:break n}}if(P[f+2>>1]){break n}c=g+4|0;if(!P[f+4>>1]){break o}if(N[g+4>>2]!=-1){break n}}N[c>>2]=b}b=b+1|0;if((h|0)!=(b|0)){continue}break}d=N[g+4>>2];b=N[g+8>>2];if((b|0)>=0){break l}if((d|0)>=0){break m}N[g+4>>2]=-1;N[g+8>>2]=-1;b=0;while(1){f=i+T(b,20)|0;q:{if(P[f+6>>1]!=1|!P[f+8>>1]){break q}r:{s:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break q}c=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break r}break q;case 0:break s;default:break q}}if(P[f+2>>1]){break q}c=g+4|0;if(!P[f+4>>1]){break r}if(N[g+4>>2]!=-1){break q}}N[c>>2]=b}b=b+1|0;if((h|0)!=(b|0)){continue}break}d=N[g+4>>2];b=N[g+8>>2];if((b|0)>=0){break l}f=0;if((d|0)<0){break b}}if((b|0)!=-1){break l}b=0;break k}b=Sl(e,N[a+368>>2],i+T(b,20)|0,178)}if(!(b|(d|0)==-1)){f=N[a+368>>2];i=N[a+100>>2];n=N[a+356>>2];h=n+T(d,20)|0;b=Qa[N[i+4>>2]](i,P[h+8>>1]+1|0)|0;if(!b){f=0;break b}c=N[h+12>>2];j=N[f+20>>2];t:{if(j){if(!(Qa[j|0](f,c,0,0)|0)){break t}break i}if(c>>>0>Q[f+4>>2]){break i}}N[f+8>>2]=c;if(Bb(f,P[h+8>>1])){break i}c=b;k=P[h+8>>1];if(k){j=N[f+32>>2];while(1){l=L[j|0];if(l-58>>>0<=4294967285&(l&-33)-91>>>0<4294967270){break j}L[c|0]=l;j=j+1|0;c=c+1|0;k=k-1|0;if(k){continue}break}}L[c|0]=0;if(N[f+20>>2]){c=N[f>>2];if(c){d=N[f+28>>2];Qa[N[d+8>>2]](d,c)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}if(b){break h}f=0;break b}if(N[f+20>>2]){c=N[f>>2];if(c){e=N[f+28>>2];Qa[N[e+8>>2]](e,c)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}Qa[N[i+8>>2]](i,b);f=0;N[h+12>>2]=0;M[h+8>>1]=0;b=T(d,20)+n|0;c=N[b+16>>2];if(c){Qa[N[i+8>>2]](i,c)}N[b+16>>2]=0;break b}c=nb(b);if(c>>>0>=92){L[b+91|0]=0;c=91}N[a+748>>2]=c;N[a+744>>2]=b}Qa[N[m+40>>2]](a,g+20|0,g+16|0,0,g+12|0)|0;u:{v:{b=N[a+4>>2]&2147418112;if(!b|O[a+9|0]&128){break v}i=(b>>>16|0)-1|0;b=N[N[g+12>>2]+16>>2];c=N[(T(i,12)+b|0)+8>>2];d=N[a+540>>2];N[g+24>>2]=0;if(!((c|0)!=6&c-256>>>0>32511)){Qa[N[d+160>>2]](a,c&65535,g+24|0)|0;f=N[g+24>>2];if(f){break u}b=N[N[g+12>>2]+16>>2]}Qa[N[d+160>>2]](a,P[(T(i,12)+b|0)+4>>1],g)|0;b=N[g>>2];if(!b){break v}b=(N[a+748>>2]+nb(b)|0)+2|0;w:{if((b|0)>0){b=Qa[N[e+4>>2]](e,b)|0;if(b){break w}break c}if(b){break c}b=0}f=od(b,N[a+744>>2]);b=f+N[a+748>>2]|0;L[b|0]=45;c=b+1|0;d=N[g>>2];b=O[d|0];if(b){while(1){i=b<<24>>24;if(!(!(i-48>>>0<10|i-65>>>0<26)&i-97>>>0>25)){L[c|0]=b;c=c+1|0}b=O[d+1|0];d=d+1|0;if(b){continue}break}}L[c|0]=0;b=N[g>>2];if(b){Qa[N[e+8>>2]](e,b)}b=c+1|0;break d}j=N[N[g+12>>2]+12>>2];b=(N[a+748>>2]+T(N[g+20>>2],17)|0)+1|0;x:{if((b|0)>0){f=Qa[N[e+4>>2]](e,b)|0;if(f){break x}f=0;break b}f=0;if(b){break b}}f=od(f,N[a+744>>2]);d=f+N[a+748>>2]|0;if(N[g+20>>2]){b=N[g+16>>2];l=0;while(1){y:{if(N[b>>2]==N[j+8>>2]){break y}L[d|0]=95;b=N[N[g+16>>2]>>2];z:{if(!b){L[d+1|0]=48;d=d+2|0;break z}if((b|0)>=0){d=d+1|0}else{L[d+1|0]=45;b=0-b|0;d=d+2|0}k=b&65535;A:{if(b>>>0<65536){break A}e=b>>>16|0;b=g+24|0;c=0;while(1){i=(e>>>0)/10|0;L[b|0]=T(i,246)+e|48;h=c;c=c+1|0;b=b+1|0;m=e>>>0<10;e=i;if(!m){continue}break}if(g+24>>>0>=b>>>0){break A}e=0;c=c&7;if(c){while(1){b=b-1|0;L[d|0]=O[b|0];d=d+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}if(h>>>0<7){break A}while(1){L[d|0]=O[b-1|0];L[d+1|0]=O[b-2|0];L[d+2|0]=O[b-3|0];L[d+3|0]=O[b-4|0];L[d+4|0]=O[b-5|0];L[d+5|0]=O[b-6|0];L[d+6|0]=O[b-7|0];b=b-8|0;L[d+7|0]=O[b|0];d=d+8|0;if(g+24>>>0>>0){continue}break}}if(!k){break z}L[d|0]=46;b=T(k,10)+5|0;L[d+1|0]=(b>>>16|0)+48;b=T(b&65535,10);L[d+2|0]=b>>>16|48;b=T(b&65534,10);e=b>>>16|48;L[d+3|0]=e;B:{C:{D:{E:{F:{G:{H:{b=b&65532;if(!b){b=d+3|0;break H}b=T(b,10);e=b>>>16|48;L[d+4|0]=e;b=b&65528;if(!b){b=d+4|0;break H}c=T(b,10);i=c>>>16|0;e=i|48;L[d+5|0]=e;b=d+5|0;c=c&65520;if(!c){break H}if(c>>>0>=34480){break D}if((e|0)==49){break G}if((c|0)==17232){if(!(i&1)){break D}e=i+47|0;break E}if(c>>>0>17231){break D}break F}if((b-d|0)!=5){break D}if((e|0)!=49){break F}}L[b|0]=48;break C}if((e|0)==48){break C}e=e-1|0}L[b|0]=e}if((e|0)!=48){break B}}while(1){L[b|0]=0;b=b-1|0;if(O[b|0]==48){continue}break}}d=b+1|0}b=N[j+16>>2];c=b>>24;if(!((c|0)==32|!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25)){L[d|0]=b>>>24;d=d+1|0;b=N[j+16>>2]}e=b>>>16|0;c=e<<24;I:{if((c|0)==536870912){break I}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break I}L[d|0]=e;d=d+1|0;b=N[j+16>>2]}e=b>>>8|0;c=e<<24;J:{if((c|0)==536870912){break J}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break J}L[d|0]=e;d=d+1|0;b=N[j+16>>2]}c=b<<24;if((c|0)==536870912){break y}c=c>>24;if(!(c-48>>>0<10|c-65>>>0<26)&c-97>>>0>25){break y}L[d|0]=b;d=d+1|0}b=N[g+16>>2]+4|0;N[g+16>>2]=b;j=j+24|0;l=l+1|0;if(l>>>0>2]){continue}break}}L[d|0]=0;b=d+1|0;break d}b=(nb(f)+f|0)+1|0;break d}N[g+20>>2]=-1;N[g+24>>2]=-1;f=P[a+340>>1];if(!f){f=0;break a}e=N[a+356>>2];while(1){c=e+T(b,20)|0;K:{if(P[c+6>>1]!=6|!P[c+8>>1]){break K}L:{M:{switch(P[c>>1]-1|0){case 2:if(P[c+2>>1]>1){break K}i=g+24|0;if(P[c+4>>1]==1033|N[g+24>>2]==-1){break L}break K;case 0:break M;default:break K}}if(P[c+2>>1]){break K}i=g+20|0;if(!P[c+4>>1]){break L}if(N[g+20>>2]!=-1){break K}}N[i>>2]=b}b=b+1|0;if((f|0)!=(b|0)){continue}break}d=N[g+20>>2];N:{O:{b=N[g+24>>2];if((b|0)>=0){break O}f=0;if((d|0)<0){break a}if((b|0)!=-1){break O}f=0;break N}f=Sl(N[a+100>>2],N[a+368>>2],e+T(b,20)|0,179)}if(f|(d|0)==-1){break b}b=N[a+368>>2];c=N[a+100>>2];l=N[a+356>>2];e=l+T(d,20)|0;f=Qa[N[c+4>>2]](c,P[e+8>>1]+1|0)|0;if(!f){f=0;break b}i=N[e+12>>2];h=N[b+20>>2];P:{Q:{if(h){if(!(Qa[h|0](b,i,0,0)|0)){break Q}break P}if(i>>>0>Q[b+4>>2]){break P}}N[b+8>>2]=i;if(Bb(b,P[e+8>>1])){break P}i=f;R:{k=P[e+8>>1];if(k){j=N[b+32>>2];while(1){h=O[j|0];m=h<<24>>24;if((m|0)<0|!(O[(h>>>3|0)+179360|0]>>>(h&7)&1)){break R}L[i|0]=m;j=j+1|0;i=i+1|0;k=k-1|0;if(k){continue}break}}L[i|0]=0;if(N[b+20>>2]){c=N[b>>2];if(c){e=N[b+28>>2];Qa[N[e+8>>2]](e,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;break b}if(N[b+20>>2]){i=N[b>>2];if(i){h=N[b+28>>2];Qa[N[h+8>>2]](h,i)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}Qa[N[c+8>>2]](c,f);f=0;N[e+12>>2]=0;M[e+8>>1]=0;b=l+T(d,20)|0;e=N[b+16>>2];if(e){Qa[N[c+8>>2]](c,e)}N[b+16>>2]=0;break b}k=b-f|0;if((k|0)<128){break b}e=0-(k>>>4|0)|0;h=(k&-16)+f|0;j=123456789;d=123456789;c=123456789;i=123456789;while(1){l=j;b=h+(e<<4)|0;j=N[b>>2];j=YE(l^T(T(j,597399067)>>>17|T(j,-888307712),-1425107063),19)+d|0;l=d;d=N[b+4>>2];d=T(YE(l^T(T(d,-1425107063)>>>16|T(d,-1752629248),951274213),17)+c|0,5)+197830471|0;l=c;c=N[b+8>>2];c=T(YE(l^T(T(c,951274213)>>>15|T(c,-1781923840),-1578923117),15)+i|0,5)-1764942795|0;b=N[b+12>>2];j=T(j,5)+1444728091|0;l=T(YE(T(T(b,-1578923117)>>>14|T(b,776732672),597399067)^i,13)+j|0,5)+850148119|0;i=l;e=e+1|0;if(e){continue}break}b=0;S:{switch((k&15)-1|0){case 14:b=O[h+14|0]<<16;case 13:b=O[h+13|0]<<8|b;case 12:b=O[h+12|0]^b;l=T(T(b,-1578923117)>>>14|T(b,776732672),597399067)^l;case 11:b=O[h+11|0]<<24;case 10:b=O[h+10|0]<<16|b;case 9:b=O[h+9|0]<<8^b;case 8:b=O[h+8|0]^b;c=T(T(b,951274213)>>>15|T(b,-1781923840),-1578923117)^c;case 7:b=O[h+7|0]<<24;case 6:b=O[h+6|0]<<16|b;case 5:b=O[h+5|0]<<8^b;case 4:b=O[h+4|0]^b;d=T(T(b,-1425107063)>>>16|T(b,-1752629248),951274213)^d;case 3:b=O[h+3|0]<<24;case 2:b=O[h+2|0]<<16|b;case 1:b=O[h+1|0]<<8^b;case 0:b=O[h|0]^b;j=T(T(b,597399067)>>>17|T(b,-888307712),-1425107063)^j;break;default:break S}}b=N[a+748>>2]+f|0;L[b|0]=45;L[b+33|0]=46;L[b+34|0]=46;L[b+35|0]=46;L[b+36|0]=0;d=d^k;e=c^k;i=k^l;c=(d+(e+i|0)|0)+(j^k)|0;h=T(c>>>16^c,-2048144789);h=T(h>>>13^h,-1028477387);j=h>>>16^h;d=c+d|0;d=T(d>>>16^d,-2048144789);d=T(d>>>13^d,-1028477387);h=d>>>16^d;e=c+e|0;e=T(e>>>16^e,-2048144789);e=T(e>>>13^e,-1028477387);d=e>>>16^e;c=c+i|0;c=T(c>>>16^c,-2048144789);c=T(c>>>13^c,-1028477387);e=c>>>16^c;c=((j+h|0)+d|0)+e|0;e=c+e|0;L[b+32|0]=O[(e&15)+584032|0];L[b+25|0]=O[(e>>>28|0)+584032|0];d=c+d|0;L[b+24|0]=O[(d&15)+584032|0];L[b+31|0]=O[(e>>>4&15)+584032|0];L[b+30|0]=O[(e>>>8&15)+584032|0];L[b+29|0]=O[(e>>>12&15)+584032|0];L[b+28|0]=O[(e>>>16&15)+584032|0];L[b+27|0]=O[(e>>>20&15)+584032|0];L[b+26|0]=O[(e>>>24&15)+584032|0];L[b+23|0]=O[(d>>>4&15)+584032|0];L[b+22|0]=O[(d>>>8&15)+584032|0];L[b+21|0]=O[(d>>>12&15)+584032|0];L[b+20|0]=O[(d>>>16&15)+584032|0];L[b+19|0]=O[(d>>>20&15)+584032|0];L[b+18|0]=O[(d>>>24&15)+584032|0];e=c+h|0;L[b+16|0]=O[(e&15)+584032|0];L[b+17|0]=O[(d>>>28|0)+584032|0];L[b+15|0]=O[(e>>>4&15)+584032|0];L[b+14|0]=O[(e>>>8&15)+584032|0];L[b+13|0]=O[(e>>>12&15)+584032|0];L[b+12|0]=O[(e>>>16&15)+584032|0];L[b+11|0]=O[(e>>>20&15)+584032|0];L[b+10|0]=O[(e>>>24&15)+584032|0];L[b+9|0]=O[(e>>>28|0)+584032|0];L[b+8|0]=O[(c&15)+584032|0];L[b+7|0]=O[(c>>>4&15)+584032|0];L[b+6|0]=O[(c>>>8&15)+584032|0];L[b+5|0]=O[(c>>>12&15)+584032|0];L[b+4|0]=O[(c>>>16&15)+584032|0];L[b+3|0]=O[(c>>>20&15)+584032|0];L[b+2|0]=O[(c>>>24&15)+584032|0];L[b+1|0]=O[(c>>>28|0)+584032|0];break b}f=0}N[a+720>>2]=f}La=g+32|0;return f|0}function Th(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0;p=La-16|0;La=p;u=N[a+736>>2];k=N[a+104>>2];n=N[k+28>>2];N[p+4>>2]=0;q=6;a:{if(!O[a+733|0]|!u){break a}b:{if(!e){break b}h=N[c+4>>2];q=0;if((e|0)!=1){g=e&1;j=e&-2;while(1){f=q<<3;o=f+d|0;F=f+h|0;N[o>>2]=N[F>>2]<<6;N[o+4>>2]=N[F+4>>2]<<6;f=f|8;o=f+d|0;f=f+h|0;N[o>>2]=N[f>>2]<<6;N[o+4>>2]=N[f+4>>2]<<6;q=q+2|0;if((j|0)!=(q|0)){continue}break}if(!g){break b}}f=q<<3;g=f+d|0;h=f+h|0;N[g>>2]=N[h>>2]<<6;N[g+4>>2]=N[h+4>>2]<<6}q=0;if(Q[u+68>>2]<=b>>>0){break a}h=N[u+72>>2];f=b+1|0;if(N[h+(b<<2)>>2]==N[h+(f<<2)>>2]){break a}c:{d:{if((e|0)<0){q=6;break d}e:{f:{g:{if(!e){break g}q=10;if((e|0)>268435455){break d}h=e<<3;r=Qa[N[n+4>>2]](n,h)|0;h:{if(!(r?(e|0)>0:0)){N[p+12>>2]=!r<<6;if(r){break h}break c}G(r,0,h)}s=Qa[N[n+4>>2]](n,h)|0;i:{if(!(s?(e|0)>0:0)){N[p+12>>2]=!s<<6;if(s){break i}q=0;break f}G(s,0,h)}q=Qa[N[n+4>>2]](n,e)|0;if(!(!q|(e|0)<=0)){G(q,0,e);break g}h=!q;N[p+12>>2]=h<<6;if(h){break f}}h=N[u+72>>2];b=N[h+(b<<2)>>2];h=N[h+(f<<2)>>2];j:{k:{f=N[k+20>>2];l:{if(f){if(Qa[f|0](k,b,0,0)|0){break l}break k}if(b>>>0<=Q[k+4>>2]){break k}}N[p+12>>2]=85;break j}N[k+8>>2]=b;f=h-b|0;b=Bb(k,f);N[p+12>>2]=b;if(b){break j}g=N[k>>2];j=N[k+32>>2];H=lb(n,4,0,N[u>>2],0,p+12|0);m:{if(N[p+12>>2]){break m}K=lb(n,4,0,N[u>>2],0,p+12|0);if(N[p+12>>2]){break m}R=lb(n,4,0,N[u>>2],0,p+12|0);if(N[p+12>>2]){break m}h=N[k+36>>2];b=N[k+32>>2];if(h>>>0>b+1>>>0){o=O[b|0]|O[b+1|0]<<8;i=o<<8|o>>>8;b=b+2|0}N[k+32>>2]=b;if(h>>>0>b+1>>>0){D=O[b+1|0]|O[b|0]<<8;b=b+2|0}N[k+32>>2]=b;n:{if(f>>>0>=D>>>0){ba=i&4095;if(f>>>0>=ba<<2>>>0){break n}}N[p+12>>2]=8;break m}I=(j-g|0)+D|0;D=0;o:{if(i<<16>>16>=0){F=0;break o}f=N[k>>2];N[k+32>>2]=h-f>>>0>I>>>0?f+I|0:h;F=ag(k,N[u+76>>2],p+4|0);g=N[k+32>>2];h=N[k>>2];b=b-f|0;f=N[k+36>>2];N[k+32>>2]=b>>>0>>0?h+b|0:f;I=g-h|0}U=lb(n,4,0,e,0,p+12|0);p:{q:{r:{if(N[p+12>>2]){break r}D=lb(n,4,0,e,0,p+12|0);if(N[p+12>>2]){break r}s:{if(!e){break s}b=N[c+4>>2];f=0;if((e|0)!=1){g=e&1;j=e&-2;while(1){h=f<<3;o=h+r|0;i=b+h|0;N[o>>2]=N[i>>2]<<16;N[o+4>>2]=N[i+4>>2]<<16;h=h|8;o=h+r|0;h=b+h|0;N[o>>2]=N[h>>2]<<16;N[o+4>>2]=N[h+4>>2]<<16;f=f+2|0;if((j|0)!=(f|0)){continue}break}if(!g){break s}}h=f<<3;f=h+r|0;b=b+h|0;N[f>>2]=N[b>>2]<<16;N[f+4>>2]=N[b+4>>2]<<16}if(ba){na=e&-4;ea=e&3;fa=e-1|0;ga=e-2|0;ha=e-3|0;Z=e-4|0;ia=N[p+4>>2];g=0;while(1){j=N[k+36>>2];b=N[k+32>>2];t:{if(j>>>0<=b+1>>>0){ja=0;break t}ja=O[b+1|0]|O[b|0]<<8;b=b+2|0}N[k+32>>2]=b;h=0;w=0;u:{v:{w:{x:{y:{z:{A:{if(j>>>0<=b+1>>>0){break A}h=O[b|0]|O[b+1|0]<<8;f=b+2|0;N[k+32>>2]=f;b=h<<8|h>>>8;h=b&65535;w=b<<16>>16;if((w|0)>=0){break A}b=N[u>>2];if(!b){break z}l=0;B:{if((b|0)==1){o=0;break B}m=b&1;y=b&-2;o=0;i=0;while(1){C:{if(j>>>0<=f+1>>>0){b=0;break C}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[k+32>>2]=f;N[(o<<2)+H>>2]=b<<16>>16<<2;b=0;if(j>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[k+32>>2]=f;N[((o|1)<<2)+H>>2]=b<<16>>16<<2;o=o+2|0;i=i+2|0;if((y|0)!=(i|0)){continue}break}if(!m){break z}}if(j>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;l=b<<8|b>>>8;f=f+2|0}N[k+32>>2]=f;N[(o<<2)+H>>2]=l<<16>>16<<2;break z}b=h&4095;if(b>>>0>=Q[u+60>>2]){break y}f=b;b=N[u>>2];B(H,N[u+64>>2]+(T(f,b)<<2)|0,b<<2)}if(!(h&16384)){break u}m=N[u>>2];if(!m){break u}y=m&1;f=N[k+32>>2];l=N[k+36>>2];o=0;E=m-1|0;if(!E){j=0;break w}J=m&-2;j=0;i=0;while(1){D:{if(l>>>0<=f+1>>>0){b=0;break D}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[k+32>>2]=f;N[(j<<2)+K>>2]=b<<16>>16<<2;b=0;if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[k+32>>2]=f;N[((j|1)<<2)+K>>2]=b<<16>>16<<2;j=j+2|0;i=i+2|0;if((J|0)!=(i|0)){continue}break}break x}N[p+12>>2]=8;break r}if(!y){break v}}if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;o=b<<8|b>>>8;f=f+2|0}N[k+32>>2]=f;N[(j<<2)+K>>2]=o<<16>>16<<2}o=0;E:{if(!E){j=0;break E}m=m&-2;j=0;i=0;while(1){F:{if(l>>>0<=f+1>>>0){b=0;break F}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[k+32>>2]=f;N[(j<<2)+R>>2]=b<<16>>16<<2;b=0;if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[k+32>>2]=f;N[((j|1)<<2)+R>>2]=b<<16>>16<<2;j=j+2|0;i=i+2|0;if((m|0)!=(i|0)){continue}break}if(!y){break u}}if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;o=b<<8|b>>>8;f=f+2|0}N[k+32>>2]=f;N[(j<<2)+R>>2]=o<<16>>16<<2}i=$m(u,w&65535,H,K,R);if(i){oa=N[k+32>>2];ca=N[k>>2];b=N[k+36>>2];N[k+32>>2]=b-ca>>>0>I>>>0?ca+I|0:b;G:{if(h&8192){o=ag(k,N[u+76>>2],p+8|0);h=o;b=N[p+8>>2];break G}N[p+8>>2]=ia;o=g;h=F;b=ia}f=b?b:e;y=Sh(k,N[u+76>>2],f);E=Sh(k,N[u+76>>2],f);H:{if(!y|(!h|!E)){break H}I:{J:{K:{if((h|0)!=-1){if(!e){break I}j=0;f=0;if(e>>>0>=4){break K}break J}f=0;if(!e){break H}while(1){b=f<<2;h=b+D|0;g=N[h>>2];j=b+U|0;l=N[j>>2];m=qb(N[b+y>>2],i);b=qb(N[b+E>>2],i);L:{if(f>>>0>>0){N[j>>2]=l+m;N[h>>2]=b+g;break L}if(!(O[a+740|0]&4|(f|0)!=(Z|0))){N[j>>2]=l+m;break L}if(!(O[a+740|0]&2|(f|0)!=(ha|0))){N[j>>2]=l+m;break L}if(!(O[a+740|0]&32|(f|0)!=(ga|0))){N[h>>2]=b+g;break L}if(O[a+740|0]&16|(f|0)!=(fa|0)){break L}N[h>>2]=b+g}f=f+1|0;if((f|0)!=(e|0)){continue}break}break H}while(1){L[f+q|0]=0;g=f<<3;l=g+s|0;g=g+r|0;m=N[g+4>>2];N[l>>2]=N[g>>2];N[l+4>>2]=m;g=f|1;L[g+q|0]=0;g=g<<3;l=g+s|0;g=g+r|0;m=N[g+4>>2];N[l>>2]=N[g>>2];N[l+4>>2]=m;g=f|2;L[g+q|0]=0;g=g<<3;l=g+s|0;g=g+r|0;m=N[g+4>>2];N[l>>2]=N[g>>2];N[l+4>>2]=m;g=f|3;L[g+q|0]=0;g=g<<3;l=g+s|0;g=g+r|0;m=N[g+4>>2];N[l>>2]=N[g>>2];N[l+4>>2]=m;f=f+4|0;if((na|0)!=(f|0)){continue}break}}if(!ea){break I}while(1){L[f+q|0]=0;g=f<<3;l=g+s|0;g=g+r|0;m=N[g+4>>2];N[l>>2]=N[g>>2];N[l+4>>2]=m;f=f+1|0;j=j+1|0;if((ea|0)!=(j|0)){continue}break}}f=0;if(b){while(1){g=P[(f<<1)+h>>1];if(g>>>0>>0){L[g+q|0]=1;g=(g<<3)+s|0;j=N[g>>2];l=j;j=f<<2;ta=g,ua=l+qb(N[j+y>>2],i)|0,N[ta>>2]=ua;ta=g,ua=N[g+4>>2]+qb(N[j+E>>2],i)|0,N[ta+4>>2]=ua}f=f+1|0;if((b|0)!=(f|0)){continue}break}}j=0;_=0;if(P[c>>1]){da=s+4|0;J=r+4|0;while(1){w=M[N[c+12>>2]+(_<<1)>>1];M:{if((w|0)<(j|0)){break M}b=w+1|0;$=0;f=j;while(1){g=f+1|0;if(O[f+q|0]){h=f;N:{O:{P:{Q:{b=f;ka=(w|0)>(b|0);if(ka){while(1){i=b;l=h;h=g;R:{if(!O[q+g|0]){break R}b=g;if((i|0)>=(l|0)){break R}g=i+1|0;m=N[(i<<3)+r>>2]>N[(b<<3)+r>>2];V=m?i:b;W=V<<3;t=N[W+s>>2];X=m?b:i;Y=X<<3;z=N[Y+s>>2];v=N[r+W>>2];x=N[r+Y>>2];if(!((v|0)==(x|0)&(t|0)!=(z|0))){m=0;aa=t-v|0;S=z-x|0;if((v|0)!=(x|0)){m=fb(t-z|0,v-x|0)}b=m>>31;t=(b^m)-b|0;pa=t&65535;qa=t>>>16|0;ra=t>>>8|0;b=g;while(1){i=b;la=b<<3;b=N[la+r>>2];S:{if((b|0)<=(x|0)){A=b+S|0;break S}A=b+aa|0;if((b|0)>=(v|0)){break S}A=b-x|0;b=A>>31;b=(b^A)-b|0;T:{if(b+ra>>>0<=8190){C=T(b,t)+32768>>>16|0;break T}C=b&65535;C=T(C,qa)+T(t,b>>>16|0)+(T(pa,C)+32768>>>16)|0}b=C;sa=0-b|0;b=A>>31|1;A=z+((((m|0)<0?0-b|0:b)|0)<0?sa:C)|0}N[s+la>>2]=A;b=i+1|0;if((i|0)!=(l|0)){continue}break}}b=N[J+Y>>2]>N[J+W>>2];i=(b?X:V)<<3;v=N[i+da>>2];b=(b?V:X)<<3;x=N[b+da>>2];z=N[i+J>>2];i=N[b+J>>2];if((z|0)==(i|0)){b=h;if((v|0)!=(x|0)){break R}}m=0;A=v-z|0;V=x-i|0;if((i|0)!=(z|0)){m=fb(v-x|0,z-i|0)}b=m>>31;v=(b^m)-b|0;W=v&65535;X=v>>>16|0;Y=v>>>8|0;while(1){b=g;aa=b<<3;g=N[aa+J>>2];U:{if((g|0)<=(i|0)){t=g+V|0;break U}t=g+A|0;if((g|0)>=(z|0)){break U}t=g-i|0;g=t>>31;g=(g^t)-g|0;V:{if(g+Y>>>0<=8190){C=T(g,v)+32768>>>16|0;break V}S=g&65535;C=T(S,X)+T(v,g>>>16|0)+(T(W,S)+32768>>>16)|0}g=C;S=0-g|0;g=t>>31|1;t=x+((((m|0)<0?0-g|0:g)|0)<0?S:C)|0}N[da+aa>>2]=t;g=b+1|0;if((b|0)!=(l|0)){continue}break}b=h}g=h+1|0;if((h|0)<(w|0)){continue}break}if((b|0)!=(f|0)){break Q}}h=f<<3;i=h+r|0;b=N[i+4>>2];l=h+s|0;h=N[l+4>>2];l=N[l>>2];i=N[i>>2];if((l|0)==(i|0)&(b|0)==(h|0)){break N}h=h-b|0;i=l-i|0;if((f|0)<=(j|0)){break O}if($&1){b=(j<<3)+s|0;N[b>>2]=i+N[b>>2];N[b+4>>2]=h+N[b+4>>2];j=j+1|0}if(($|0)!=1){break P}break O}Zm(b+1|0,w,b,f,r,s);if((f|0)<=0){break N}Zm(j,f-1|0,b,f,r,s);break N}while(1){b=(j<<3)+s|0;N[b>>2]=i+N[b>>2];N[b+4>>2]=h+N[b+4>>2];N[b+8>>2]=i+N[b+8>>2];N[b+12>>2]=h+N[b+12>>2];j=j+2|0;if((j|0)!=(f|0)){continue}break}}if(!ka){break N}while(1){f=f+1|0;b=(f<<3)+s|0;N[b>>2]=i+N[b>>2];N[b+4>>2]=h+N[b+4>>2];if((f|0)!=(w|0)){continue}break}}j=g;break M}$=$+1|0;h=(f|0)==(w|0);f=g;if(!h){continue}break}j=b}_=_+1|0;if((_|0)>1]){continue}break}}f=0;if(!e){break H}while(1){b=f<<3;h=b+s|0;g=b+r|0;b=N[h+4>>2]-N[g+4>>2]|0;h=N[h>>2]-N[g>>2]|0;i=f<<2;g=i+D|0;j=N[g>>2];i=i+U|0;l=N[i>>2];W:{if(f>>>0>>0){N[i>>2]=h+l;N[g>>2]=b+j;break W}if(!(O[a+740|0]&4|(f|0)!=(Z|0))){N[i>>2]=h+l;break W}if(!(O[a+740|0]&2|(f|0)!=(ha|0))){N[i>>2]=h+l;break W}if(!(O[a+740|0]&32|(f|0)!=(ga|0))){N[g>>2]=b+j;break W}if(O[a+740|0]&16|(f|0)!=(fa|0)){break W}N[g>>2]=b+j}f=f+1|0;if((f|0)!=(e|0)){continue}break}}g=-1;X:{switch(o+1|0){default:Qa[N[n+8>>2]](n,o);case 1:g=0;break;case 0:break X}}if(y){Qa[N[n+8>>2]](n,y)}if(E){Qa[N[n+8>>2]](n,E)}b=oa-ca|0;h=N[k>>2];f=N[k+36>>2];N[k+32>>2]=b>>>0>>0?b+h|0:f}I=I+ja|0;ma=ma+1|0;if((ma|0)!=(ba|0)){continue}break}}if(!e){break r}b=N[c+4>>2];f=0;while(1){c=f<<3;a=c+d|0;h=f<<2;g=h+U|0;N[a>>2]=N[a>>2]+(N[g>>2]+512>>10);h=h+D|0;N[a+4>>2]=N[a+4>>2]+(N[h>>2]+512>>10);a=b+c|0;N[a>>2]=N[a>>2]+(N[g>>2]+32768>>16);N[a+4>>2]=N[a+4>>2]+(N[h>>2]+32768>>16);f=f+1|0;if((f|0)!=(e|0)){continue}break}break q}if(!U){break p}}Qa[N[n+8>>2]](n,U)}if(D){Qa[N[n+8>>2]](n,D)}if(F+1>>>0<2){break m}Qa[N[n+8>>2]](n,F)}if(H){Qa[N[n+8>>2]](n,H)}if(K){Qa[N[n+8>>2]](n,K)}if(R){Qa[N[n+8>>2]](n,R)}if(N[k+20>>2]){a=N[k>>2];if(a){b=N[k+28>>2];Qa[N[b+8>>2]](b,a)}N[k>>2]=0}N[k+32>>2]=0;N[k+36>>2]=0}if(!r){break e}}Qa[N[n+8>>2]](n,r)}if(s){Qa[N[n+8>>2]](n,s)}if(!q){break c}Qa[N[n+8>>2]](n,q);break c}N[p+12>>2]=q}q=N[p+12>>2]}La=p+16|0;return q}function kb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=La-16|0;La=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if(a>>>0<=244){j=N[147317];g=a>>>0<11?16:a+11&-8;c=g>>>3|0;b=j>>>c|0;if(b&3){c=c+((b^-1)&1)|0;a=c<<3;b=a+589308|0;d=N[a+589316>>2];a=N[d+8>>2];n:{if((b|0)==(a|0)){m=589268,n=YE(-2,c)&j,N[m>>2]=n;break n}N[a+12>>2]=b;N[b+8>>2]=a}a=d+8|0;b=c<<3;N[d+4>>2]=b|3;b=b+d|0;N[b+4>>2]=N[b+4>>2]|1;break a}i=N[147319];if(i>>>0>=g>>>0){break m}if(b){a=2<>2];a=N[f+8>>2];o:{if((b|0)==(a|0)){j=YE(-2,d)&j;N[147317]=j;break o}N[a+12>>2]=b;N[b+8>>2]=a}N[f+4>>2]=g|3;c=f+g|0;a=d<<3;d=a-g|0;N[c+4>>2]=d|1;N[a+f>>2]=d;if(i){b=(i&-8)+589308|0;e=N[147322];a=1<<(i>>>3);p:{if(!(a&j)){N[147317]=a|j;a=b;break p}a=N[b+8>>2]}N[b+8>>2]=e;N[a+12>>2]=e;N[e+12>>2]=b;N[e+8>>2]=a}a=f+8|0;N[147322]=c;N[147319]=d;break a}k=N[147318];if(!k){break m}b=N[(RE(k)<<2)+589572>>2];d=(N[b+4>>2]&-8)-g|0;c=b;while(1){q:{a=N[c+16>>2];if(!a){a=N[c+20>>2];if(!a){break q}}c=(N[a+4>>2]&-8)-g|0;e=c>>>0>>0;d=e?c:d;b=e?a:b;c=a;continue}break}h=N[b+24>>2];e=N[b+12>>2];if((e|0)!=(b|0)){a=N[b+8>>2];N[a+12>>2]=e;N[e+8>>2]=a;break b}c=b+20|0;a=N[c>>2];if(!a){a=N[b+16>>2];if(!a){break l}c=b+16|0}while(1){f=c;e=a;c=a+20|0;a=N[c>>2];if(a){continue}c=e+16|0;a=N[e+16>>2];if(a){continue}break}N[f>>2]=0;break b}g=-1;if(a>>>0>4294967231){break m}a=a+11|0;g=a&-8;h=N[147318];if(!h){break m}d=0-g|0;k=0;r:{if(g>>>0<256){break r}k=31;if(g>>>0>16777215){break r}a=W(a>>>8|0);k=((g>>>38-a&1)-(a<<1)|0)+62|0}c=N[(k<<2)+589572>>2];s:{t:{u:{if(!c){a=0;break u}a=0;b=g<<((k|0)!=31?25-(k>>>1|0)|0:0);while(1){v:{f=(N[c+4>>2]&-8)-g|0;if(f>>>0>=d>>>0){break v}e=c;d=f;if(d){break v}d=0;a=c;break t}f=N[c+20>>2];c=N[((b>>>29&4)+c|0)+16>>2];a=f?(f|0)==(c|0)?a:f:a;b=b<<1;if(c){continue}break}}if(!(a|e)){e=0;a=2<>2]}if(!a){break s}}while(1){b=(N[a+4>>2]&-8)-g|0;c=b>>>0>>0;d=c?b:d;e=c?a:e;b=N[a+16>>2];if(b){a=b}else{a=N[a+20>>2]}if(a){continue}break}}if(!e|N[147319]-g>>>0<=d>>>0){break m}k=N[e+24>>2];b=N[e+12>>2];if((e|0)!=(b|0)){a=N[e+8>>2];N[a+12>>2]=b;N[b+8>>2]=a;break c}c=e+20|0;a=N[c>>2];if(!a){a=N[e+16>>2];if(!a){break k}c=e+16|0}while(1){f=c;b=a;c=a+20|0;a=N[c>>2];if(a){continue}c=b+16|0;a=N[b+16>>2];if(a){continue}break}N[f>>2]=0;break c}a=N[147319];if(a>>>0>=g>>>0){d=N[147322];c=a-g|0;w:{if(c>>>0>=16){b=d+g|0;N[b+4>>2]=c|1;N[a+d>>2]=c;N[d+4>>2]=g|3;break w}N[d+4>>2]=a|3;a=a+d|0;N[a+4>>2]=N[a+4>>2]|1;b=0;c=0}N[147319]=c;N[147322]=b;a=d+8|0;break a}i=N[147320];if(i>>>0>g>>>0){b=i-g|0;N[147320]=b;c=N[147323];a=c+g|0;N[147323]=a;N[a+4>>2]=b|1;N[c+4>>2]=g|3;a=c+8|0;break a}a=0;k=g+47|0;if(N[147435]){c=N[147437]}else{N[147438]=-1;N[147439]=-1;N[147436]=4096;N[147437]=4096;N[147435]=l+12&-16^1431655768;N[147440]=0;N[147428]=0;c=4096}f=k+c|0;e=0-c|0;c=f&e;if(c>>>0<=g>>>0){break a}d=N[147427];if(d){b=N[147425];h=b+c|0;if(d>>>0>>0|b>>>0>=h>>>0){break a}}x:{if(!(O[589712]&4)){y:{z:{A:{B:{h=N[147323];if(h){d=589716;while(1){b=N[d>>2];if(b>>>0<=h>>>0&h>>>0>2]>>>0){break B}d=N[d+8>>2];if(d){continue}break}}b=ye(0);if((b|0)==-1){break y}e=c;f=N[147436];d=f-1|0;if(d&b){e=(c-b|0)+(b+d&0-f)|0}if(e>>>0<=g>>>0){break y}f=N[147427];if(f){d=N[147425];h=d+e|0;if(f>>>0>>0|d>>>0>=h>>>0){break y}}d=ye(e);if((d|0)!=(b|0)){break A}break x}e=e&f-i;b=ye(e);if((b|0)==(N[d>>2]+N[d+4>>2]|0)){break z}d=b}if((d|0)==-1){break y}if(g+48>>>0<=e>>>0){b=d;break x}b=N[147437];b=b+(k-e|0)&0-b;if((ye(b)|0)==-1){break y}e=b+e|0;b=d;break x}if((b|0)!=-1){break x}}N[147428]=N[147428]|4}b=ye(c);c=ye(0);if((b|0)==-1|(c|0)==-1|b>>>0>=c>>>0){break a}e=c-b|0;if(e>>>0<=g+40>>>0){break a}}a=N[147425]+e|0;N[147425]=a;if(a>>>0>Q[147426]){N[147426]=a}C:{i=N[147323];if(i){a=589716;while(1){d=N[a>>2];c=N[a+4>>2];if((d+c|0)==(b|0)){break C}a=N[a+8>>2];if(a){continue}break}break j}a=N[147321];if(!(a>>>0<=b>>>0?a:0)){N[147321]=b}a=0;N[147430]=e;N[147429]=b;N[147325]=-1;N[147326]=N[147435];N[147432]=0;while(1){d=a<<3;c=d+589308|0;N[d+589316>>2]=c;N[d+589320>>2]=c;a=a+1|0;if((a|0)!=32){continue}break}d=e-40|0;a=-8-b&7;c=d-a|0;N[147320]=c;a=a+b|0;N[147323]=a;N[a+4>>2]=c|1;N[(b+d|0)+4>>2]=40;N[147324]=N[147439];break i}if(N[a+12>>2]&8|(b>>>0<=i>>>0|d>>>0>i>>>0)){break j}N[a+4>>2]=c+e;a=-8-i&7;c=a+i|0;N[147323]=c;b=N[147320]+e|0;a=b-a|0;N[147320]=a;N[c+4>>2]=a|1;N[(b+i|0)+4>>2]=40;N[147324]=N[147439];break i}e=0;break b}b=0;break c}if(Q[147321]>b>>>0){N[147321]=b}c=b+e|0;a=589716;D:{E:{F:{while(1){if((c|0)!=N[a>>2]){a=N[a+8>>2];if(a){continue}break F}break}if(!(O[a+12|0]&8)){break E}}a=589716;while(1){c=N[a>>2];if(c>>>0<=i>>>0){f=c+N[a+4>>2]|0;if(f>>>0>i>>>0){break D}}a=N[a+8>>2];continue}}N[a>>2]=b;N[a+4>>2]=N[a+4>>2]+e;k=(-8-b&7)+b|0;N[k+4>>2]=g|3;j=c+(-8-c&7)|0;h=g+k|0;a=j-h|0;if((i|0)==(j|0)){N[147323]=h;a=N[147320]+a|0;N[147320]=a;N[h+4>>2]=a|1;break d}if(N[147322]==(j|0)){N[147322]=h;a=N[147319]+a|0;N[147319]=a;N[h+4>>2]=a|1;N[a+h>>2]=a;break d}d=N[j+4>>2];if((d&3)!=1){break e}f=d&-8;if(d>>>0<=255){b=d>>>3|0;d=N[j+12>>2];c=N[j+8>>2];if((d|0)==(c|0)){m=589268,n=N[147317]&YE(-2,b),N[m>>2]=n;break f}N[c+12>>2]=d;N[d+8>>2]=c;break f}g=N[j+24>>2];b=N[j+12>>2];if((j|0)!=(b|0)){c=N[j+8>>2];N[c+12>>2]=b;N[b+8>>2]=c;break g}c=j+20|0;d=N[c>>2];if(!d){d=N[j+16>>2];if(!d){break h}c=j+16|0}while(1){e=c;b=d;c=b+20|0;d=N[c>>2];if(d){continue}c=b+16|0;d=N[b+16>>2];if(d){continue}break}N[e>>2]=0;break g}d=e-40|0;a=-8-b&7;c=d-a|0;N[147320]=c;a=a+b|0;N[147323]=a;N[a+4>>2]=c|1;N[(b+d|0)+4>>2]=40;N[147324]=N[147439];a=(f+(39-f&7)|0)-47|0;c=a>>>0>>0?i:a;N[c+4>>2]=27;a=N[147432];N[c+16>>2]=N[147431];N[c+20>>2]=a;a=N[147430];N[c+8>>2]=N[147429];N[c+12>>2]=a;N[147431]=c+8;N[147430]=e;N[147429]=b;N[147432]=0;a=c+24|0;while(1){N[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((c|0)==(i|0)){break i}N[c+4>>2]=N[c+4>>2]&-2;f=c-i|0;N[i+4>>2]=f|1;N[c>>2]=f;if(f>>>0<=255){b=(f&-8)+589308|0;c=N[147317];a=1<<(f>>>3);G:{if(!(c&a)){N[147317]=a|c;a=b;break G}a=N[b+8>>2]}N[b+8>>2]=i;N[a+12>>2]=i;N[i+12>>2]=b;N[i+8>>2]=a;break i}a=31;if(f>>>0<=16777215){a=W(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}N[i+28>>2]=a;N[i+16>>2]=0;N[i+20>>2]=0;d=(a<<2)+589572|0;H:{c=N[147318];b=1<>2]=i;N[i+24>>2]=d;break I}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);e=N[d>>2];while(1){b=e;if((f|0)==(N[b+4>>2]&-8)){break H}c=a>>>29|0;a=a<<1;c=b+(c&4)|0;e=N[c+16>>2];if(e){continue}break}N[c+16>>2]=i;N[i+24>>2]=b}N[i+12>>2]=i;N[i+8>>2]=i;break i}a=N[b+8>>2];N[a+12>>2]=i;N[b+8>>2]=i;N[i+24>>2]=0;N[i+12>>2]=b;N[i+8>>2]=a}a=0;b=N[147320];if(b>>>0<=g>>>0){break a}b=b-g|0;N[147320]=b;c=N[147323];a=c+g|0;N[147323]=a;N[a+4>>2]=b|1;N[c+4>>2]=g|3;a=c+8|0;break a}b=0}if(!g){break f}d=N[j+28>>2];c=(d<<2)+589572|0;J:{if(N[c>>2]==(j|0)){N[c>>2]=b;if(b){break J}m=589272,n=N[147318]&YE(-2,d),N[m>>2]=n;break f}N[g+(N[g+16>>2]==(j|0)?16:20)>>2]=b;if(!b){break f}}N[b+24>>2]=g;c=N[j+16>>2];if(c){N[b+16>>2]=c;N[c+24>>2]=b}c=N[j+20>>2];if(!c){break f}N[b+20>>2]=c;N[c+24>>2]=b}a=a+f|0;j=f+j|0;d=N[j+4>>2]}N[j+4>>2]=d&-2;N[h+4>>2]=a|1;N[a+h>>2]=a;if(a>>>0<=255){b=(a&-8)+589308|0;c=N[147317];a=1<<(a>>>3);K:{if(!(c&a)){N[147317]=a|c;a=b;break K}a=N[b+8>>2]}N[b+8>>2]=h;N[a+12>>2]=h;N[h+12>>2]=b;N[h+8>>2]=a;break d}d=31;if(a>>>0<=16777215){b=W(a>>>8|0);d=((a>>>38-b&1)-(b<<1)|0)+62|0}N[h+28>>2]=d;N[h+16>>2]=0;N[h+20>>2]=0;e=(d<<2)+589572|0;L:{c=N[147318];b=1<>2]=h;N[h+24>>2]=e;break M}d=a<<((d|0)!=31?25-(d>>>1|0)|0:0);b=N[e>>2];while(1){c=b;if((N[b+4>>2]&-8)==(a|0)){break L}e=d>>>29|0;d=d<<1;e=b+(e&4)|0;b=N[e+16>>2];if(b){continue}break}N[e+16>>2]=h;N[h+24>>2]=c}N[h+12>>2]=h;N[h+8>>2]=h;break d}a=N[c+8>>2];N[a+12>>2]=h;N[c+8>>2]=h;N[h+24>>2]=0;N[h+12>>2]=c;N[h+8>>2]=a}a=k+8|0;break a}N:{if(!k){break N}c=N[e+28>>2];a=(c<<2)+589572|0;O:{if(N[a>>2]==(e|0)){N[a>>2]=b;if(b){break O}h=YE(-2,c)&h;N[147318]=h;break N}N[k+(N[k+16>>2]==(e|0)?16:20)>>2]=b;if(!b){break N}}N[b+24>>2]=k;a=N[e+16>>2];if(a){N[b+16>>2]=a;N[a+24>>2]=b}a=N[e+20>>2];if(!a){break N}N[b+20>>2]=a;N[a+24>>2]=b}P:{if(d>>>0<=15){a=d+g|0;N[e+4>>2]=a|3;a=a+e|0;N[a+4>>2]=N[a+4>>2]|1;break P}N[e+4>>2]=g|3;f=e+g|0;N[f+4>>2]=d|1;N[d+f>>2]=d;if(d>>>0<=255){b=(d&-8)+589308|0;c=N[147317];a=1<<(d>>>3);Q:{if(!(c&a)){N[147317]=a|c;a=b;break Q}a=N[b+8>>2]}N[b+8>>2]=f;N[a+12>>2]=f;N[f+12>>2]=b;N[f+8>>2]=a;break P}a=31;if(d>>>0<=16777215){a=W(d>>>8|0);a=((d>>>38-a&1)-(a<<1)|0)+62|0}N[f+28>>2]=a;N[f+16>>2]=0;N[f+20>>2]=0;c=(a<<2)+589572|0;R:{b=1<>2]=f;N[f+24>>2]=c;break S}a=d<<((a|0)!=31?25-(a>>>1|0)|0:0);g=N[c>>2];while(1){b=g;if((N[b+4>>2]&-8)==(d|0)){break R}c=a>>>29|0;a=a<<1;c=b+(c&4)|0;g=N[c+16>>2];if(g){continue}break}N[c+16>>2]=f;N[f+24>>2]=b}N[f+12>>2]=f;N[f+8>>2]=f;break P}a=N[b+8>>2];N[a+12>>2]=f;N[b+8>>2]=f;N[f+24>>2]=0;N[f+12>>2]=b;N[f+8>>2]=a}a=e+8|0;break a}T:{if(!h){break T}c=N[b+28>>2];a=(c<<2)+589572|0;U:{if(N[a>>2]==(b|0)){N[a>>2]=e;if(e){break U}m=589272,n=YE(-2,c)&k,N[m>>2]=n;break T}N[h+(N[h+16>>2]==(b|0)?16:20)>>2]=e;if(!e){break T}}N[e+24>>2]=h;a=N[b+16>>2];if(a){N[e+16>>2]=a;N[a+24>>2]=e}a=N[b+20>>2];if(!a){break T}N[e+20>>2]=a;N[a+24>>2]=e}V:{if(d>>>0<=15){a=d+g|0;N[b+4>>2]=a|3;a=a+b|0;N[a+4>>2]=N[a+4>>2]|1;break V}N[b+4>>2]=g|3;e=b+g|0;N[e+4>>2]=d|1;N[d+e>>2]=d;if(i){c=(i&-8)+589308|0;f=N[147322];a=1<<(i>>>3);W:{if(!(a&j)){N[147317]=a|j;a=c;break W}a=N[c+8>>2]}N[c+8>>2]=f;N[a+12>>2]=f;N[f+12>>2]=c;N[f+8>>2]=a}N[147322]=e;N[147319]=d}a=b+8|0}La=l+16|0;return a|0}function Zj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;f=La-288|0;La=f;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}h=Vb(a+144|0);break b}h=lc(a+148|0)}g=N[h>>2];g=g?g:275552;g=Q[g+16>>2]<4?275552:N[g+12>>2]}N[f+20>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;L[f+52|0]=0;L[f+16|0]=1;N[f+12>>2]=0;N[f+4>>2]=1;N[f+8>>2]=1;c:{d:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break c}a=Vb(a+144|0);break d}a=lc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}N[f+80>>2]=0;N[f+84>>2]=0;L[f+76|0]=1;N[f+72>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;L[f+112|0]=0;N[f+136>>2]=0;N[f+140>>2]=0;L[f+132|0]=1;N[f+128>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;N[f+152>>2]=0;N[f+156>>2]=0;N[f+160>>2]=0;N[f+164>>2]=0;L[f+168|0]=0;N[f+64>>2]=1;N[f+68>>2]=1;N[f+56>>2]=h;N[f+120>>2]=1;N[f+124>>2]=1;N[f+60>>2]=f+4;L[f+184|0]=1;N[f+180>>2]=0;N[f+188>>2]=0;N[f+192>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;N[f+204>>2]=0;N[f+208>>2]=0;N[f+212>>2]=0;N[f+216>>2]=0;L[f+220|0]=0;N[f+172>>2]=1;N[f+176>>2]=1;N[f+232>>2]=0;N[f+224>>2]=0;N[f+228>>2]=0;e:{if(!d){L[f+116|0]=0;break e}L[f+116|0]=1;N[f+252>>2]=0;N[f+256>>2]=0;N[f+260>>2]=0;N[f+264>>2]=0;N[f+268>>2]=0;N[f+272>>2]=0;N[f+276>>2]=0;N[f+280>>2]=0;L[f+284|0]=0;L[f+248|0]=1;N[f+244>>2]=0;N[f+236>>2]=1;N[f+240>>2]=1;b=N[d>>2];if(b){while(1){sc(f+236|0,b);b=N[d+4>>2];d=d+4|0;if(b){continue}break}}m=f- -64|0;a=0;while(1){f:{b=N[f+56>>2];g:{if((O[b|0]|O[b+1|0]<<8)!=256){break g}d=O[b+6|0]|O[b+7|0]<<8;if(!d){break g}b=b+((d<<8|d>>>8)&65535)|0;d=O[b|0]|O[b+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>a>>>0){break f}}a=N[f+244>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;h=N[a+12>>2]+T(d,12)|0;b=N[h+8>>2];h=N[h+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](h);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a)}_a(N[f+268>>2]);_a(N[f+280>>2]);break e}d=O[b|0]|O[b+1|0]<<8;b=((d<<8|d>>>8)&65535)>>>0<=a>>>0?275552:(b+T(a,6)|0)+2|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);i=k>>>9|0;o=N[f+268>>2];h:{i:{j:{b=N[f+256>>2];j=N[f+264>>2];if(b>>>0>=j>>>0){break j}b=o+(b<<3)|0;if((i|0)!=N[b>>2]){break j}d=b+4|0;break i}b=0;if((j|0)<=0){break h}d=j-1|0;b=0;k:{while(1){h=b+d>>>1|0;l=o+(h<<3)|0;n=N[l>>2];l:{if((n|0)>(i|0)){d=h-1|0;break l}if((i|0)==(n|0)){break k}b=h+1|0}if((b|0)<=(d|0)){continue}break}b=0;break h}N[f+256>>2]=h;d=(h>>>0>=j>>>0?275552:l)+4|0}h=N[f+280>>2];b=0;if(!h){break h}b=(h+(N[d>>2]<<6)|0)+(k>>>3&56)|0;i=N[b>>2];h=N[b+4>>2];d=k&63;b=d&31;b=((d&63)>>>0>=32?h>>>b|0:((1<>>b)&1}if((b|0)!=O[f+284|0]){sc(m,a)}a=a+1|0;continue}}m:{if(c){a=N[c>>2];if(!a){break m}while(1){h=c;d=275552;c=N[f+56>>2];k=(O[c|0]|O[c+1|0]<<8)!=256;n:{if(k){break n}b=O[c+4|0]|O[c+5|0]<<8;if(!b){break n}d=c+((b<<8|b>>>8)&65535)|0}b=O[d|0]|O[d+1|0]<<8;o:{if(!b){break o}o=d+2|0;b=((b<<8|b>>>8)&65535)-1|0;j=0;while(1){p:{d=b+j>>>1|0;m=T(d,6);i=m+o|0;i=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);i=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);q:{if(i>>>0>a>>>0){b=d-1|0;break q}if((a|0)==(i|0)){break p}j=d+1|0}if((b|0)>=(j|0)){continue}break o}break}l=f+56|0;a=275552;r:{if(k){break r}b=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!b){break r}a=c+((b<<8|b>>>8)&65535)|0}b=O[a|0]|O[a+1|0]<<8;if(d>>>0<((b<<8|b>>>8)&65535)>>>0){b=(a+m|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}ak(l,a)}c=h+4|0;a=N[h+4>>2];if(a){continue}break}break m}d=275552;a=N[f+56>>2];s:{if((O[a|0]|O[a+1|0]<<8)!=256){break s}b=O[a+4|0]|O[a+5|0]<<8;if(!b){break s}d=a+((b<<8|b>>>8)&65535)|0}a=O[d|0]|O[d+1|0]<<8;if(!a){break m}a=(a<<8|a>>>8)&65535;h=a>>>0<=1?1:a;b=0;while(1){l=f+56|0;c=N[f+56>>2];a=275552;t:{if((O[c|0]|O[c+1|0]<<8)!=256){break t}d=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!d){break t}a=c+((d<<8|d>>>8)&65535)|0}c=O[a|0]|O[a+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>b>>>0){c=(a+T(b,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(c){a=a+((c<<8|c>>>8)&65535)|0}else{a=275552}ak(l,a);b=b+1|0;if((h|0)!=(b|0)){continue}break}}N[f+172>>2]=-57005;a=N[f+180>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+180>>2]=0}if(N[f+200>>2]){N[f+200>>2]=0}_a(N[f+204>>2]);N[f+204>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;if(N[f+212>>2]){N[f+212>>2]=0}_a(N[f+216>>2]);N[f+216>>2]=0;N[f+208>>2]=0;N[f+212>>2]=0;if(N[f+200>>2]){N[f+200>>2]=0}_a(N[f+204>>2]);N[f+204>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;N[f+120>>2]=-57005;a=N[f+128>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+128>>2]=0}if(N[f+148>>2]){N[f+148>>2]=0}_a(N[f+152>>2]);N[f+152>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;if(N[f+160>>2]){N[f+160>>2]=0}_a(N[f+164>>2]);N[f+164>>2]=0;N[f+156>>2]=0;N[f+160>>2]=0;if(N[f+148>>2]){N[f+148>>2]=0}_a(N[f+152>>2]);N[f+152>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;N[f+64>>2]=-57005;a=N[f+72>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+72>>2]=0}if(N[f+92>>2]){N[f+92>>2]=0}_a(N[f+96>>2]);N[f+96>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;if(N[f+104>>2]){N[f+104>>2]=0}_a(N[f+108>>2]);N[f+108>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;if(N[f+92>>2]){N[f+92>>2]=0}_a(N[f+96>>2]);N[f+56>>2]=-1;o=e+12|0;u:while(1){if(!Re(f+4|0,f+56|0)){k=275552;a=O[g|0]|O[g+1|0]<<8;v:{if((a|0)!=256){break v}a=O[g+2|0]<<16|O[g+3|0]<<24|a;if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0<65537){break v}a=O[g+10|0]|O[g+11|0]<<8|(O[g+12|0]<<16|O[g+13|0]<<24);if(!a){break v}k=g+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0}a=O[k+4|0]|O[k+5|0]<<8|(O[k+6|0]<<16|O[k+7|0]<<24);if(a){m=k+8|0;w=m+((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))<<3)|0;while(1){l=275552;a=O[m+4|0]|O[m+5|0]<<8|(O[m+6|0]<<16|O[m+7|0]<<24);if(a){l=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+k|0}a=O[l+4|0]|O[l+5|0]<<8;w:{if(!a){break w}i=l+6|0;a=(a<<8|a>>>8)&65535;n=N[f+32>>2];h=n-1|0;c=N[f+24>>2];v=O[f+52|0];r=N[f+48>>2];p=N[f+36>>2];while(1){b=O[i|0]|O[i+1|0]<<8;s=(b<<8|b>>>8)&65535;q=s>>>9|0;x:{y:{z:{if(c>>>0>=n>>>0){break z}b=p+(c<<3)|0;if((q|0)!=N[b>>2]){break z}b=b+4|0;break y}j=0;b=0;d=h;if((n|0)<=0){break x}while(1){A:{g=b+d>>>1|0;t=p+(g<<3)|0;u=N[t>>2];B:{if((u|0)>(q|0)){d=g-1|0;break B}if((q|0)==(u|0)){break A}b=g+1|0}if((b|0)<=(d|0)){continue}break x}break}N[f+24>>2]=g;c=g;b=(n>>>0<=c>>>0?275552:t)+4|0}if(!r){j=0;break x}b=(r+(N[b>>2]<<6)|0)+(s>>>3&56)|0;j=N[b>>2];g=N[b+4>>2];d=s&63;b=d&31;j=((d&63)>>>0>=32?g>>>b|0:((1<>>b)&1}if((j|0)==(v|0)){i=i+6|0;a=a-1|0;if(a){continue}break w}break}if(!a){break w}while(1){b=O[i+2|0]|O[i+3|0]<<8|(O[i+4|0]<<16|O[i+5|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+l|0}else{b=275552}c=O[b+2|0]|O[b+3|0]<<8;j=(c<<8|c>>>8)&65535;b=b+4|0;C:{if(O[e+48|0]){Vg(o,b,j);break C}if(!c|!O[o|0]){break C}N[e+16>>2]=-1;c=O[b|0]|O[b+1|0]<<8;d=(c<<8|c>>>8)&65535;D:while(1){h=vc(o,d);if(!h){break C}n=d&65024;q=n+512|0;while(1){c=h+(d>>>3&56)|0;r=N[c+4>>2];g=d&63;d=g&31;if((g&63)>>>0>=32){g=1<>>32-d}N[c>>2]=p|N[c>>2];N[c+4>>2]=g|r;j=j-1|0;if(!j){break C}c=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;d=(c<<8|c>>>8)&65535;if(n>>>0>d>>>0){continue D}if(d>>>0>>0){continue}break}continue}}n=N[f+32>>2];h=n-1|0;c=N[f+24>>2];v=O[f+52|0];r=N[f+48>>2];p=N[f+36>>2];while(1){b=a;d=(b|0)!=0;a=b-d|0;i=T(d,6)+i|0;if((b|0)!=(d|0)){b=O[i|0]|O[i+1|0]<<8;s=(b<<8|b>>>8)&65535;q=s>>>9|0;E:{F:{G:{if(c>>>0>=n>>>0){break G}b=p+(c<<3)|0;if((q|0)!=N[b>>2]){break G}b=b+4|0;break F}j=0;b=0;d=h;if((n|0)<=0){break E}while(1){H:{g=b+d>>>1|0;t=p+(g<<3)|0;u=N[t>>2];I:{if((u|0)>(q|0)){d=g-1|0;break I}if((q|0)==(u|0)){break H}b=g+1|0}if((b|0)<=(d|0)){continue}break E}break}N[f+24>>2]=g;c=g;b=(n>>>0<=c>>>0?275552:t)+4|0}if(!r){j=0;break E}b=(r+(N[b>>2]<<6)|0)+(s>>>3&56)|0;j=N[b>>2];g=N[b+4>>2];d=s&63;b=d&31;j=((d&63)>>>0>=32?g>>>b|0:((1<>>b)&1}if((j|0)==(v|0)){continue}}break}if(a){continue}break}}m=m+8|0;if((w|0)!=(m|0)){continue}break}}N[f+4>>2]=-57005;a=N[f+12>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+12>>2]=0}if(N[f+32>>2]){N[f+32>>2]=0}_a(N[f+36>>2]);N[f+36>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;if(N[f+44>>2]){N[f+44>>2]=0}_a(N[f+48>>2]);N[f+48>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;if(N[f+32>>2]){N[f+32>>2]=0}_a(N[f+36>>2]);La=f+288|0;return}a=275552;J:{if((O[g|0]|O[g+1|0]<<8)!=256){break J}b=O[g+6|0]|O[g+7|0]<<8;a=275552;if(!b){break J}a=g+((b<<8|b>>>8)&65535)|0}b=O[a|0]|O[a+1|0]<<8;c=(b<<8|b>>>8)&65535;b=N[f+56>>2];if(c>>>0>b>>>0){b=(a+T(b,6)|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}c=O[a+2|0]|O[a+3|0]<<8;j=(c<<8|c>>>8)&65535;b=a+4|0;if(O[e+48|0]){Vg(o,b,j);continue}if(!c|!O[o|0]){continue}N[e+16>>2]=-1;a=O[b|0]|O[b+1|0]<<8;d=(a<<8|a>>>8)&65535;K:while(1){h=vc(o,d);if(!h){continue u}i=d&65024;k=i+512|0;while(1){a=h+(d>>>3&56)|0;m=N[a+4>>2];d=d&63;c=d&31;if((d&63)>>>0>=32){d=1<>>32-c}N[a>>2]=l|N[a>>2];N[a+4>>2]=d|m;j=j-1|0;if(!j){continue u}a=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;d=(a<<8|a>>>8)&65535;if(i>>>0>d>>>0){continue K}if(d>>>0>>0){continue}break}continue}}}function gB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;p=La-80|0;La=p;N[p+12>>2]=0;e=6;a:{if(!a|!b){break a}e=97;b:{if(N[b+8>>2]!=8){break b}e=6;g=N[b+4>>2];if(!g){break b}s=N[b>>2];if(!s){break b}u=N[a>>2];if(!u){e=32;break b}c:{if(N[b+48>>2]-33>>>0<4294967265){break c}e=0;c=N[s>>2];a=N[s+4>>2];o=a<<4;if((c|o)<0){e=6;break a}if(!(!o|!c)){e=10;if((2147483647/(o>>>0)|0)<(c|0)){break a}e=Qa[N[u+4>>2]](u,T(c,o))|0;if(!e){e=64;break a}c=N[s>>2];a=N[s+4>>2]}N[p+20>>2]=c;N[p+16>>2]=a;N[p+12>>2]=e;a=N[b+12>>2];N[p+32>>2]=N[b+8>>2];N[p+36>>2]=a;a=N[b+20>>2];N[p+40>>2]=N[b+16>>2];N[p+44>>2]=a;a=N[b+28>>2];N[p+48>>2]=N[b+24>>2];N[p+52>>2]=a;a=N[b+36>>2];N[p+56>>2]=N[b+32>>2];N[p+60>>2]=a;e=N[b+44>>2];a=p- -64|0;N[a>>2]=N[b+40>>2];N[a+4>>2]=e;a=N[b+52>>2];N[p+72>>2]=N[b+48>>2];N[p+76>>2]=a;a=N[b+4>>2];N[p+24>>2]=N[b>>2];N[p+28>>2]=a;e=6;o=p+12|0;d:{if(!o){break d}a=N[o+4>>2];d=N[g+4>>2];if((a|0)<(d|0)){break d}k=N[o+8>>2];f=N[g>>2];if((k|0)<(f|0)){break d}c=O[g+18|0];if(!c){break d}m=(k-f|0)/2|0;i=(a-d|0)/2|0;r=N[g+12>>2];b=N[o>>2];e=7;e:{switch(c-1|0){case 1:e=0;if((k|0)<=0|(a|0)<=0){break d}q=a&-4;j=a&3;while(1){c=T(a,h);l=h-m|0;f:{if(!((l|0)>=(f|0)|(l|0)<0)){t=f+(l^-1)|0;while(1){g=b+(c+e<<4)|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;n=e-i|0;if(!((n|0)<0|(d|0)<=(n|0))){L[g+12|0]=O[r+(n+T(d,O[o+65|0]?t:l)|0)|0]}e=e+1|0;if((a|0)!=(e|0)){continue}break}break f}l=0;if(a>>>0>=4){while(1){g=b+(c+e<<4)|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;g=b+(c+(e|1)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;g=b+(c+(e|2)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;g=b+(c+(e|3)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;e=e+4|0;if((q|0)!=(e|0)){continue}break}}if(!j){break f}while(1){g=b+(c+e<<4)|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;e=e+1|0;l=l+1|0;if((j|0)!=(l|0)){continue}break}}e=0;h=h+1|0;if((k|0)!=(h|0)){continue}break};break d;case 0:break e;default:break d}}e=0;if((k|0)<=0|(a|0)<=0){break d}t=a&-4;q=a&3;while(1){h=T(a,j);l=j-m|0;g:{if(!((l|0)>=(f|0)|(l|0)<0)){v=f+(l^-1)|0;while(1){c=b+(e+h<<4)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;n=e-i|0;if(!((n|0)<0|(d|0)<=(n|0))){L[c+12|0]=O[r+(T(N[g+8>>2],O[o+65|0]?v:l)+(n>>>3|0)|0)|0]>>>((n^-1)&7)&1?-1:0}e=e+1|0;if((a|0)!=(e|0)){continue}break}break g}l=0;if(a>>>0>=4){while(1){c=b+(e+h<<4)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=b+(h+(e|1)<<4)|0;N[c+8>>2]=0;N[c+12>>2]=0;N[c>>2]=0;N[c+4>>2]=0;c=b+(h+(e|2)<<4)|0;N[c+8>>2]=0;N[c+12>>2]=0;N[c>>2]=0;N[c+4>>2]=0;c=b+(h+(e|3)<<4)|0;N[c+8>>2]=0;N[c+12>>2]=0;N[c>>2]=0;N[c+4>>2]=0;e=e+4|0;if((t|0)!=(e|0)){continue}break}}if(!q){break g}while(1){c=b+(e+h<<4)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=e+1|0;l=l+1|0;if((q|0)!=(l|0)){continue}break}}e=0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}if(e){break c}b=La-16|0;La=b;e=6;h:{if(!o){break h}h=N[o>>2];if(!h){break h}l=N[o+8>>2];if((l|0)>0){e=0;f=N[o+4>>2];if((f|0)<=0){break h}t=h+28|0;v=h-4|0;a=h;while(1){if((f|0)<=0){e=e+1|0}else{g=e+1|0;w=!e;l=0;while(1){i:{j:{d=T(e,f)+l<<4;c=d+a|0;k=O[c+12|0];if(!k){break j}j=N[o+8>>2];k:{l:{m:{n:{if((k|0)!=255){break n}k=0;n=(e|0)>(j|0);if(!(n|w)){k=1;if(!O[(c-(f<<4)|0)+12|0]){break n}}m=(g|0)>=(j|0);if(!m){if(!O[(c+(f<<4)|0)+12|0]){break n}k=k+1|0}if(!(!l|(e|0)>=(j|0))){if(!O[c-4|0]){break m}k=k+1|0}i=(l+1|0)>=(f|0);if(!(i|(e|0)>=(j|0))){if(!O[c+28|0]){break n}k=k+1|0}if(!(!l|(!e|n))){if(!O[(c-(f<<4)|0)-4|0]){break m}k=k+1|0}if(!(i|(!e|n))){if(!O[(c-(f<<4)|0)+28|0]){break n}k=k+1|0}if(!(m|!l)){if(!O[(c+(f<<4)|0)-4|0]){break m}k=k+1|0}if(!O[(c+(f<<4)|0)+28|0]|(m|i)){break n}if((k|0)==7){break j}}k=d+h|0;c=k+4|0;if(l){break l}a=0;n=0;break k}k=d+h|0;c=k+4|0}a=0;n=0;if(!e){break k}m=f-1|0;if((m|0)<=(l|0)|(j-1|0)<=(e|0)){break k}j=d+h|0;n=O[(j+(m<<4)|0)+12|0];i=O[(j+(1-f<<4)|0)+12|0];a=f<<4;m=j-a|0;r=a+j|0;x=O[r+28|0];q=O[(j+((f^-1)<<4)|0)+12|0]<<8;f=O[d+t|0];a=O[d+v|0];o:{if(a>>>0<=30){a=T(a,23726336)+32768>>>16|0;break o}a=(a<<8)+(T(a,6949120)+32768>>>16|0)|0}d=O[m+12|0];m=n<<8;i=i<<8;q=0-q|0;n=O[r+12|0];r=O[j+12|0];j=x<<8;N[b+8>>2]=j+((i+q-(a+m)|0)+(f>>>0<=30?T(f,23726336)+32768>>>16|0:(f<<8)+(T(f,6949120)+32768>>>16|0)|0)|0);a=d>>>0<=30?T(d,23726336)+32768>>>16|0:(d<<8)+(T(d,6949120)+32768>>>16|0)|0;d=r<<8;N[b+12>>2]=((j+(m+(q-i|0)|0)|0)-a|0)+(n>>>0<=30?T(n,23726336)+32768>>>16|0:(n<<8)+(T(n,6949120)+32768>>>16|0)|0);Bc(b+8|0);j=N[b+8>>2];n=N[b+12>>2];a=32768-d|0;p:{if(!(n?j:0)){break p}a=j>>31;m=(a^j)-a|0;a=n>>31;i=(a^n)-a|0;a=m>>>0>>0?m:i;f=m>>>0>i>>>0?m:i;q=(fb(a,f)|0)/2|0;if((q|0)>(d|0)){i=m+i>>>1|0;a=a+r>>>0<=8190?T(a,d)+32768>>>16|0:T(d,a>>>16|0)+(T(d,a&65535)+32768>>>16|0)|0;d=a;a=a>>31;a=(d^a)-a|0;q:{if(f+(a>>>8|0)>>>0<=8190){a=T(a,f)+32768>>>16|0;break q}d=f&65535;a=T(d,a>>>16|0)+T(a,f>>>16|0)+(T(d,a&65535)+32768>>>16)|0}a=i-bp(a<<1)|0;break p}if((d|0)<(65536-q|0)){d=32768-d|0;a=d>>31;a=(a^d)-a|0;r:{if(a+(f>>>8|0)>>>0<=8190){a=T(a,f)+32768>>>16|0;break r}a=a&65280;a=T(a,f>>>16|0)+(T(a,f&65535)+32768>>>16|0)|0}a=r>>>0>128?0-a|0:a;break p}m=m+i>>>1|0;d=65536-d|0;s:{if(a+(d>>>8|0)>>>0<=8190){a=T(a,d)+32768>>>16|0;break s}i=a&65535;a=T(i,d>>>16|0)+T(d,a>>>16|0)+(T(i,d&65280)+32768>>>16)|0}d=a>>31;d=(a^d)-d|0;t:{if(f+(d>>>8|0)>>>0<=8190){f=T(d,f)+32768>>>16|0;break t}i=f&65535;f=T(i,d>>>16|0)+T(d,f>>>16|0)+(T(i,d&65535)+32768>>>16)|0}a=bp(((a|0)<0?0-f|0:f)<<1)-m|0}f=a>>31;f=(a^f)-f|0;m=f>>>8|0;d=j>>31;d=(d^j)-d|0;u:{if(m+d>>>0<=8190){i=T(d,f)+32768>>>16|0;break u}i=d&65535;i=T(i,f>>>16|0)+T(f,d>>>16|0)+(T(i,f&65535)+32768>>>16)|0}d=i;q=0-d|0;d=j>>31|1;r=0-d|0;j=d;d=(a|0)<0;N[b+8>>2]=((d?r:j)|0)<0?q:i;a=n>>31;a=(a^n)-a|0;v:{if(a+m>>>0<=8190){f=T(a,f)+32768>>>16|0;break v}j=a&65535;f=T(j,f>>>16|0)+T(f,a>>>16|0)+(T(j,f&65535)+32768>>>16)|0}a=f;i=0-a|0;a=n>>31|1;N[b+12>>2]=((d?0-a|0:a)|0)<0?i:f;a=N[b+8>>2];n=N[b+12>>2]}N[c>>2]=a;N[c+4>>2]=n;y=k,z=kc(c),N[y>>2]=z;a=N[o>>2];f=N[o+4>>2];break i}c=d+h|0;N[c>>2]=26214400;N[c+4>>2]=13107200;N[c+8>>2]=13107200}l=l+1|0;if((l|0)<(f|0)){continue}break}l=N[o+8>>2];e=g}if((e|0)<(l|0)){continue}break}}e=0}La=b+16|0;if(e){break c}c=La-16|0;La=c;a=6;w:{if(!o){break w}f=N[o>>2];if(!f){break w}a=0;j=N[o+8>>2];if((j|0)<2){break w}g=N[o+4>>2];if((g|0)<2){break w}e=g-2|0;n=0-g|0;k=1;while(1){l=T(g,k);h=1;while(1){b=f+(h+l<<4)|0;a=b+(n<<4)|0;d=N[b>>2];x:{if((N[a-16>>2]-65536|0)>=(d|0)){break x}m=a-12|0;i=N[m>>2];m=N[m+4>>2];N[c+8>>2]=i-65536;N[c+12>>2]=m-65536;i=d;d=kc(c+8|0);if((i|0)<=(d|0)){break x}N[b>>2]=d;d=N[c+12>>2];N[b+4>>2]=N[c+8>>2];N[b+8>>2]=d}d=N[b>>2];y:{if((d|0)<=(N[a>>2]-65536|0)){break y}i=N[a+8>>2];N[c+8>>2]=N[a+4>>2];N[c+12>>2]=i-65536;i=d;d=kc(c+8|0);if((i|0)<=(d|0)){break y}N[b>>2]=d;d=N[c+12>>2];N[b+4>>2]=N[c+8>>2];N[b+8>>2]=d}d=N[b>>2];z:{if((d|0)<=(N[a+16>>2]-65536|0)){break z}m=N[a+20>>2];a=N[a+24>>2];N[c+8>>2]=m+65536;N[c+12>>2]=a-65536;a=kc(c+8|0);if((a|0)>=(d|0)){break z}N[b>>2]=a;a=N[c+12>>2];N[b+4>>2]=N[c+8>>2];N[b+8>>2]=a}d=N[b>>2];A:{if((d|0)<=(N[b-16>>2]-65536|0)){break A}m=b-12|0;a=N[m>>2];N[c+12>>2]=N[m+4>>2];N[c+8>>2]=a-65536;a=kc(c+8|0);if((a|0)>=(d|0)){break A}N[b>>2]=a;a=N[c+12>>2];N[b+4>>2]=N[c+8>>2];N[b+8>>2]=a}h=h+1|0;if((g|0)!=(h|0)){continue}break}a=e;while(1){b=a;h=f+(a+l<<4)|0;d=N[h>>2];B:{if((d|0)<=(N[h+16>>2]-65536|0)){break B}a=N[h+20>>2];N[c+12>>2]=N[h+24>>2];N[c+8>>2]=a+65536;a=kc(c+8|0);if((a|0)>=(d|0)){break B}N[h>>2]=a;a=N[c+12>>2];N[h+4>>2]=N[c+8>>2];N[h+8>>2]=a}a=b-1|0;if((b|0)>0){continue}break}k=k+1|0;if((j|0)!=(k|0)){continue}break}a=0;b=N[o+8>>2];if((b|0)<2){break w}g=N[o+4>>2];if((g|0)<2){break w}f=N[o>>2];e=g-2|0;k=b-2|0;while(1){l=T(g,k);h=1;while(1){b=f+(h+l<<4)|0;a=b+(g<<4)|0;d=N[b>>2];C:{if((N[a-16>>2]-65536|0)>=(d|0)){break C}j=a-12|0;n=N[j>>2];j=N[j+4>>2];N[c+8>>2]=n-65536;N[c+12>>2]=j+65536;i=d;d=kc(c+8|0);if((i|0)<=(d|0)){break C}N[b>>2]=d;d=N[c+12>>2];N[b+4>>2]=N[c+8>>2];N[b+8>>2]=d}d=N[b>>2];D:{if((d|0)<=(N[a>>2]-65536|0)){break D}n=N[a+8>>2];N[c+8>>2]=N[a+4>>2];N[c+12>>2]=n+65536;i=d;d=kc(c+8|0);if((i|0)<=(d|0)){break D}N[b>>2]=d;d=N[c+12>>2];N[b+4>>2]=N[c+8>>2];N[b+8>>2]=d}d=N[b>>2];E:{if((d|0)<=(N[a+16>>2]-65536|0)){break E}j=N[a+20>>2];a=N[a+24>>2];N[c+8>>2]=j+65536;N[c+12>>2]=a+65536;a=kc(c+8|0);if((a|0)>=(d|0)){break E}N[b>>2]=a;a=N[c+12>>2];N[b+4>>2]=N[c+8>>2];N[b+8>>2]=a}d=N[b>>2];F:{if((d|0)<=(N[b-16>>2]-65536|0)){break F}j=b-12|0;a=N[j>>2];N[c+12>>2]=N[j+4>>2];N[c+8>>2]=a-65536;a=kc(c+8|0);if((a|0)>=(d|0)){break F}N[b>>2]=a;a=N[c+12>>2];N[b+4>>2]=N[c+8>>2];N[b+8>>2]=a}h=h+1|0;if((g|0)!=(h|0)){continue}break}a=e;while(1){b=a;h=f+(a+l<<4)|0;d=N[h>>2];G:{if((d|0)<=(N[h+16>>2]-65536|0)){break G}a=N[h+20>>2];N[c+12>>2]=N[h+24>>2];N[c+8>>2]=a+65536;a=kc(c+8|0);if((a|0)>=(d|0)){break G}N[h>>2]=a;a=N[c+12>>2];N[h+4>>2]=N[c+8>>2];N[h+8>>2]=a}a=b-1|0;if((b|0)>0){continue}break}a=0;b=(k|0)>0;k=k-1|0;if(b){continue}break}}La=c+16|0;e=a;if(a){break c}h=6;H:{if(!o){break H}b=N[s+4>>2];if((b|0)!=N[o+4>>2]){break H}k=N[s>>2];if((k|0)!=N[o+8>>2]){break H}if((k|0)>0){h=0;if((b|0)<=0){break H}f=N[s+12>>2];a=N[o+60>>2]<<16;while(1){l=T(b,h);e=0;while(1){d=e+l|0;c=N[o>>2]+(d<<4)|0;g=O[c+12|0]<127;c=N[c>>2];c=fb(T(O[o+64|0]?g?1:-1:g?-1:1,(c|0)<0?a:(a|0)<(c|0)?a:c),a);g=c>>31;i=d+f|0;g=(c^g)-g|0;d=g>>>9|0;g=(c|0)>0?g>>>0>65535?127:d:d;c=(c|0)<0;L[i|0]=(c?0-(c?g>>>0>128?128:g:g)|0:g)^128;e=e+1|0;if((b|0)!=(e|0)){continue}break}h=h+1|0;if((k|0)!=(h|0)){continue}break}}h=0}e=h}c=u}a=N[p+12>>2];if(!a){break a}Qa[N[c+8>>2]](c,a)}La=p+80|0;return e|0}function ku(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;j=La-48|0;La=j;o=N[b+100>>2];d=N[a+20>>2];a:{if(d){i=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;N[j+32>>2]=0;N[j+36>>2]=8;N[j+24>>2]=1;N[j+28>>2]=1;N[j+40>>2]=0;i=64;f=Qa[N[o+4>>2]](o,64)|0;if(!f){break a}L[f|0]=0;L[f+1|0]=0;L[f+2|0]=0;L[f+3|0]=0;L[f+4|0]=0;L[f+5|0]=0;L[f+6|0]=0;L[f+7|0]=0;L[f+56|0]=0;L[f+57|0]=0;L[f+58|0]=0;L[f+59|0]=0;L[f+60|0]=0;L[f+61|0]=0;L[f+62|0]=0;L[f+63|0]=0;L[f+48|0]=0;L[f+49|0]=0;L[f+50|0]=0;L[f+51|0]=0;L[f+52|0]=0;L[f+53|0]=0;L[f+54|0]=0;L[f+55|0]=0;L[f+40|0]=0;L[f+41|0]=0;L[f+42|0]=0;L[f+43|0]=0;L[f+44|0]=0;L[f+45|0]=0;L[f+46|0]=0;L[f+47|0]=0;L[f+32|0]=0;L[f+33|0]=0;L[f+34|0]=0;L[f+35|0]=0;L[f+36|0]=0;L[f+37|0]=0;L[f+38|0]=0;L[f+39|0]=0;L[f+24|0]=0;L[f+25|0]=0;L[f+26|0]=0;L[f+27|0]=0;L[f+28|0]=0;L[f+29|0]=0;L[f+30|0]=0;L[f+31|0]=0;L[f+16|0]=0;L[f+17|0]=0;L[f+18|0]=0;L[f+19|0]=0;L[f+20|0]=0;L[f+21|0]=0;L[f+22|0]=0;L[f+23|0]=0;L[f+8|0]=0;L[f+9|0]=0;L[f+10|0]=0;L[f+11|0]=0;L[f+12|0]=0;L[f+13|0]=0;L[f+14|0]=0;L[f+15|0]=0;N[j+44>>2]=0;M[f+12>>1]=32767;N[f+36>>2]=j+24;d=N[a+4>>2];N[f+56>>2]=o;N[f+60>>2]=d;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+52>>2]=o;h=1024;t=N[a+28>>2];k=Qa[N[t+4>>2]](t,1024)|0;i=!k<<6;b:{if(!k){break b}N[j+12>>2]=169;L[k|0]=0;r=256;e=0;q=1;c:{d:while(1){m=h;p=0;h=0;while(1){l=e;d=g;e:{while(1){f:{if(p){e=l;break f}e=0;n=0;g=N[a+4>>2];s=N[a+8>>2];if(g>>>0>s>>>0){p=m-l|0;n=k+l|0;d=N[a+20>>2];g:{if(d){n=Qa[d|0](a,s,n,p)|0;break g}u=n;d=g-s|0;n=d>>>0

>>0?d:p;B(u,s+N[a>>2]|0,n)}N[a+8>>2]=N[a+8>>2]+n}d=l+n|0}h:{g=d;if((h|0)>=(d|0)){d=h}else{d=L[h+k|0]==(r|0);r=d?256:r;d=d+h|0}h=d;if((d|0)<(g|0)){while(1){i:{s=h+k|0;u=O[s|0];switch(u-10|0){case 0:case 3:break h;default:break i}}h=h+1|0;if((h|0)!=(g|0)){continue}break}}if(!n){break e}if(!d){if(m>>>0>65535){i=6;break e}h=m<<1;d=Qa[N[t+12>>2]](t,m,h,k)|0;k=d?d:k;i=0;e=m;if(d){continue d}i=64;break e}n=g-d|0;B(k,d+k|0,n);p=0;h=0;l=n;continue}break}L[s|0]=0;j:{k:{p=d+k|0;switch(O[p|0]-26|0){case 0:case 9:break j;default:break k}}if((d|0)>=(h|0)){break j}i=h-d|0;l=j+12|0;d=Qa[N[j+12>>2]](p,i,q,l,f)|0;if((d|0)==-1){d=Qa[N[j+12>>2]](p,i,q,l,f)|0}i=0;if(!d){break j}i=d;break c}L[s|0]=u;r=(u|0)==10?13:(u|0)==13?10:256;p=1;h=h+1|0;q=q+1|0;continue}break}break}if(!k){break b}}Qa[N[t+8>>2]](t,k)}N[j+44>>2]=i;h=N[f+32>>2];l:{m:{if(i){break m}a=j;n:{o:{p:{q:{if(h){if(N[h+28>>2]!=8){M[h+32>>1]=P[h+4>>1]}r:{if(!N[N[f+36>>2]>>2]|!(N[h+52>>2]|N[h+64>>2])){break r}e=M[f+12>>1];d=M[f+16>>1]-e|0;if((d|0)!=P[h+4>>1]){M[h+4>>1]=d}if(P[h+8>>1]!=(e&65535)){M[h+8>>1]=e}e=P[f+18>>1];if((e|0)!=P[h+12>>1]){M[h+12>>1]=e}g=P[f+20>>1];d=g<<16>>16;if((g|0)!=P[h+14>>1]){M[h+14>>1]=g;M[h+10>>1]=0-g}d=(e<<16>>16)+d|0;if((d|0)==P[h+6>>1]){break r}M[h+6>>1]=d}g=N[f>>2];if(g&1){break q}a=N[h+88>>2];if(a){break p}i=0;break l}g=N[f>>2];if(g&1){break q}h=0;i=3;break l}if(g&32){break o}i=185;break n}a=lb(N[h+100>>2],1,a,a+1|0,N[h+84>>2],j+44|0);h=N[f+32>>2];N[h+84>>2]=a;i=N[j+44>>2];if(i){break m}i=0;L[a+N[h+88>>2]|0]=0;h=N[f+32>>2];break l}i=186}N[a+44>>2]=i}dm(h);a=N[f+32>>2];if(a){Qa[N[o+8>>2]](o,a)}h=0;N[f+32>>2]=0}d=N[f+52>>2];if(d){a=N[f+40>>2];if(a){Qa[N[d+8>>2]](d,a)}N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0}a=N[f+24>>2];if(a){Qa[N[o+8>>2]](o,a)}N[f+24>>2]=0;Qa[N[o+8>>2]](o,f);N[j+40>>2]=i;s:{t:{u:{v:{w:{x:{y:{z:{A:{if((i&255)!=176){if(i){break a}N[b+140>>2]=h;if(!(!(c&65535)|(c|0)<=0)){zh(b);i=6;break a}N[b>>2]=1;N[b+4>>2]=0;N[b+8>>2]=N[b+8>>2]|18;B:{C:{if(!h|!N[h+72>>2]){break C}c=zd(19980,N[h+92>>2]);D:{if(!c){break D}a=N[h+80>>2];if(!a){break D}a=a+(N[c>>2]<<4)|0;if(N[a+4>>2]!=1){break D}a=N[a+12>>2];if(!a){break D}E:{F:{a=O[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break D;case 0:case 10:break E;default:break F}}switch(a-99|0){case 0:case 10:break E;default:break D}}N[b+8>>2]=N[b+8>>2]|4}if(!N[h+72>>2]){break C}c=zd(20231,N[h+92>>2]);if(!c){break C}a=N[h+80>>2];if(!a){break C}a=N[(a+(N[c>>2]<<4)|0)+12>>2];if(!a){break C}v=b,w=Nc(o,a,j+40|0),N[v+20>>2]=w;i=N[j+40>>2];if(!i){break B}break a}N[b+20>>2]=0}l=0;N[b+12>>2]=0;f=N[b+100>>2];i=1;g=N[b+140>>2];if(!g|!N[g+72>>2]){break v}a=0;r=0;d=zd(19332,N[g+92>>2]);G:{if(!d){break G}c=N[g+80>>2];if(!c){break G}d=c+(N[d>>2]<<4)|0;if(N[d+4>>2]!=1){break G}c=N[d+12>>2];if(!c){break G}H:{switch(O[c|0]-73|0){case 0:case 6:case 32:case 38:break H;default:break G}}N[b+12>>2]=N[b+12>>2]|1;r=(O[N[d+12>>2]]&223)==79?15457:17754}if(!N[g+72>>2]){k=0;m=0;e=0;c=0;g=0;n=1;break w}e=0;l=1;c=zd(20260,N[g+92>>2]);m=0;I:{if(!c){break I}a=N[g+80>>2];m=0;if(!a){break I}a=a+(N[c>>2]<<4)|0;m=0;if(N[a+4>>2]!=1){break I}a=N[a+12>>2];m=0;if(!a){break I}m=0;if((O[a|0]|32)!=98){break I}N[b+12>>2]=N[b+12>>2]|2;l=0;m=16733}if(!N[g+72>>2]){break z}k=0;c=zd(20282,N[g+92>>2]);e=0;J:{if(!c){break J}a=N[g+80>>2];e=0;if(!a){break J}a=a+(N[c>>2]<<4)|0;e=0;if(N[a+4>>2]!=1){break J}a=N[a+12>>2];e=0;if(!a){break J}c=O[a|0];e=0;if(!c){break J}e=0;if((c|0)==78){break J}e=0;if((c|0)==110){break J}e=a}if(!N[g+72>>2]){break y}c=zd(20296,N[g+92>>2]);if(!c){break z}a=N[g+80>>2];if(!a){break z}a=a+(N[c>>2]<<4)|0;if(N[a+4>>2]!=1){break y}k=N[a+12>>2];if(!k){break z}a=0;c=O[k|0];if(!c|(c|0)==78|(c|0)==110){break A}a=nb(k);g=a+1|0;break x}zh(b);i=2;break a}k=0;g=0;break x}k=0}a=0;g=0}if(l){m=0;c=0;n=1;break w}c=nb(m);g=(g+c|0)+1|0;n=0}q=0;K:{if(!r){l=0;break K}l=nb(r);g=(l+g|0)+1|0}s=!r;i=!e;if(e){q=nb(e);g=(q+g|0)+1|0}if(!g){g=8;a=7;k=12199;break u}if((g|0)>0){break u}i=6;break t}g=8;a=7;k=12199;n=1;m=0;r=0;e=0;c=0;s=1;q=0}g=Qa[N[f+4>>2]](f,g)|0;if(g){break s}i=64}N[b+24>>2]=0;break a}N[b+24>>2]=g;if(k){B(g,k,a);L:{if(!a){break L}k=0;d=0;if(a>>>0>=4){p=a&-4;while(1){f=d+g|0;if(O[f|0]==32){L[f|0]=45}f=(d|1)+g|0;if(O[f|0]==32){L[f|0]=45}f=(d|2)+g|0;if(O[f|0]==32){L[f|0]=45}f=(d|3)+g|0;if(O[f|0]==32){L[f|0]=45}d=d+4|0;if((p|0)!=(d|0)){continue}break}}p=a&3;if(!p){break L}while(1){f=d+g|0;if(O[f|0]==32){L[f|0]=45}d=d+1|0;k=k+1|0;if((p|0)!=(k|0)){continue}break}}g=a+g|0}if(!n){if(N[b+24>>2]!=(g|0)){L[g|0]=32;g=g+1|0}B(g,m,c);g=c+g|0}if(!s){if(N[b+24>>2]!=(g|0)){L[g|0]=32;g=g+1|0}B(g,r,l);g=g+l|0}if(!i){if(N[b+24>>2]!=(g|0)){L[g|0]=32;g=g+1|0}B(g,e,q);M:{if(!q){break M}k=0;d=0;if(q>>>0>=4){c=q&-4;while(1){a=d+g|0;if(O[a|0]==32){L[a|0]=45}a=(d|1)+g|0;if(O[a|0]==32){L[a|0]=45}a=(d|2)+g|0;if(O[a|0]==32){L[a|0]=45}a=(d|3)+g|0;if(O[a|0]==32){L[a|0]=45}d=d+4|0;if((c|0)!=(d|0)){continue}break}}c=q&3;if(!c){break M}while(1){a=d+g|0;if(O[a|0]==32){L[a|0]=45}d=d+1|0;k=k+1|0;if((c|0)!=(k|0)){continue}break}}g=g+q|0}L[g|0]=0;a=N[h+48>>2];N[b+28>>2]=1;N[b+16>>2]=a+1;a=Qa[N[o+4>>2]](o,16)|0;if(!a){N[b+32>>2]=0;i=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;N[j+40>>2]=0;N[b+32>>2]=a;d=N[h+40>>2];if(d-32768>>>0<=4294901760){d=(d|0)<0?-32767:32767;N[h+40>>2]=d}k=N[h+44>>2];if(k-32768>>>0<=4294901760){k=(k|0)<0?-32767:32767;N[h+44>>2]=k}M[a>>1]=d+k;c=Md(h,19895);N:{if(c){c=N[c+12>>2];d=32767;if(c-327666>>>0<4294311965){break N}c=(c+5|0)/10|0;d=c>>31;d=(c^d)-d|0;break N}d=jb(M[a>>1],2,3)}M[a+2>>1]=d;c=Md(h,20048);O:{if(c){c=N[c+12>>2];d=32767;if(c-328899>>>0<4294309499){break O}d=c;c=c>>31;d=jb((d^c)-c|0,460800,72270);break O}c=N[h+16>>2];if(c){d=c>>>0>32767?32767:c<<6;break O}d=M[a+2>>1]<<6}N[a+4>>2]=d;c=Md(h,20082);if(c){d=N[c+12>>2];c=d>>31;N[a+12>>2]=d-32768>>>0<4294901761?2097088:(c^d)-c<<6}d=Md(h,18765);d=N[(d?d+12|0:h+20|0)>>2];c=0;P:{if(!d){break P}c=32767;if(d-32768>>>0<4294901761){break P}c=d>>31;c=(c^d)-c|0}Q:{R:{S:{T:{d=Md(h,18633);d=N[(d?d+12|0:h+24|0)>>2];if(d){if(d-32768>>>0<4294901761){break T}e=d;d=d>>31;l=(e^d)-d|0;d=N[a+12>>2];if(d){break R}d=N[a+4>>2];N[a+12>>2]=d;if(!(l&65535)){break Q}e=a+12|0;break S}d=N[a+12>>2];if(d){break Q}d=N[a+4>>2];N[a+12>>2]=d;break Q}l=32767;d=N[a+12>>2];if(d){break R}d=N[a+4>>2];N[a+12>>2]=d;e=a+12|0}d=jb(d,l&65535,72);N[e>>2]=d}if(!c){break Q}e=l&65535;if(!e){break Q}d=jb(d,c,e)}N[a+8>>2]=d;m=N[h+56>>2];n=lb(o,8,0,N[h+48>>2],0,j+40|0);N[b+144>>2]=n;i=N[j+40>>2];if(i){break a}N[b+148>>2]=0;a=N[h+48>>2];U:{if(!a){break U}i=N[h+36>>2];g=0;if((a|0)!=1){d=a&1;c=a&-2;while(1){e=N[(m+T(g,36)|0)+4>>2];a=n+(g<<3)|0;M[a+4>>1]=g;N[a>>2]=e;if((e|0)==(i|0)){N[b+148>>2]=g}l=g|1;e=N[(m+T(l,36)|0)+4>>2];a=n+(l<<3)|0;M[a+4>>1]=l;N[a>>2]=e;if((e|0)==(i|0)){N[b+148>>2]=l}g=g+2|0;if((c|0)!=(g|0)){continue}break}if(!d){break U}}c=N[(m+T(g,36)|0)+4>>2];a=n+(g<<3)|0;M[a+4>>1]=g;N[a>>2]=c;if((c|0)!=(i|0)){break U}N[b+148>>2]=g}V:{c=Md(h,18649);a=Md(h,19963);if(!c|!a|(N[c+4>>2]!=1|N[a+4>>2]!=1)){break V}if(!N[c+12>>2]){break V}a=N[a+12>>2];if(!a){break V}d=a;a=j+40|0;v=b,w=Nc(o,d,a),N[v+132>>2]=w;i=N[j+40>>2];if(i){break a}a=Nc(o,N[c+12>>2],a);N[b+136>>2]=a;i=N[j+40>>2];if(i){break a}W:{X:{Y:{Z:{if(!((O[a|0]|32)!=105|(O[a+1|0]|32)!=115|(O[a+2|0]|32)!=111)){a=a+3|0;if(!cb(a,21540)){break Z}if(!cb(a,21356)){if(!cb(N[b+132>>2],21900)){break Z}}if(!cb(a,21737)){break Y}}N[j+16>>2]=0;N[j+20>>2]=0;N[j+12>>2]=b;break W}N[j+16>>2]=0;N[j+20>>2]=0;N[j+12>>2]=b;break X}a=cb(N[b+132>>2],19136);N[j+16>>2]=0;N[j+20>>2]=0;N[j+12>>2]=b;if(a){break W}}N[j+16>>2]=1970170211;N[j+20>>2]=65539}i=Ac(43664,0,j+12|0,0);break a}N[j+16>>2]=1094995778;N[j+20>>2]=7;N[j+12>>2]=b;i=Ac(43664,0,j+12|0,0);if(!N[b+36>>2]){break a}N[b+92>>2]=N[N[b+40>>2]>>2]}La=j+48|0;return i|0}function Dc(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;o=La-32|0;La=o;f=a+144|0;a:{if(Q[Vb(f)+4>>2]<=b>>>0){d=0;break a}N[o+24>>2]=d;N[o+20>>2]=c;N[o+16>>2]=a;d=0;N[o+12>>2]=0;L[o+28|0]=(e|0)!=0;e=275552;a=N[Vb(f)>>2];a=a?a:275552;c=Q[a+16>>2]<4?275552:N[a+12>>2];b:{if((O[c|0]|O[c+1|0]<<8)!=256){break b}a=275552;h=O[c+8|0]|O[c+9|0]<<8;if(h){a=c+((h<<8|h>>>8)&65535)|0}c=O[a|0]|O[a+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break b}c=(b<<1)+a|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break b}e=((c<<8|c>>>8)&65535)+a|0}a=Vb(f);if(!N[o+24>>2]){break a}a=N[a+8>>2]+T(b,28)|0;b=N[N[o+20>>2]>>2];if(!(N[a>>2]>>>(b>>>4)&1)|!(N[a+4>>2]>>>b&1)|!(N[a+8>>2]>>>(b>>>9)&1)){break a}a=O[e+4|0]|O[e+5|0]<<8;if(!a){break a}b=O[e|0]|O[e+1|0]<<8;x=(b<<8|b>>>8)&65535;t=e+4|0;u=(a<<8|a>>>8)&65535;y=u>>>0<=1?1:u;b=0;d=1;while(1){a=O[t|0]|O[t+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+t|0)+2|0;a=O[a|0]|O[a+1|0]<<8;if(a){c=((a<<8|a>>>8)&65535)+e|0}else{c=275552}j=o+12|0;a=x;p=La-32|0;La=p;c:{d:{while(1){e:{if((a|0)!=7){g=0;f:{switch(a-1|0){case 0:g:{h:{i:{a=O[c|0]|O[c+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break h;case 0:break i;default:break c}}if(N[j+12>>2]!=1){break c}f=O[c+2|0]|O[c+3|0]<<8;a=275552;if(!f){break g}a=((f<<8|f>>>8)&65535)+c|0;break g}if(N[j+12>>2]!=1){break c}f=O[c+2|0]|O[c+3|0]<<8;a=275552;if(!f){break g}a=((f<<8|f>>>8)&65535)+c|0}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 1:if((O[c|0]|O[c+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[c+2|0]|O[c+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 2:if((O[c|0]|O[c+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[c+2|0]|O[c+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break c}a=O[c+2|0]|O[c+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);if((a|0)==-1){break c}k=275552;h=((a<<1)+c|0)+6|0;f=a;a=O[c+4|0]|O[c+5|0]<<8;a=f>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:h;a=O[a|0]|O[a+1|0]<<8;if(a){k=((a<<8|a>>>8)&65535)+c|0}a=O[k|0]|O[k+1|0]<<8;if(!a){break c}l=(a<<8|a>>>8)&65535;c=k+2|0;while(1){j:{f=N[j+12>>2];a=O[c|0]|O[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+k|0}else{a=275552}h=O[a+2|0]|O[a+3|0]<<8;if((f|0)!=((h<<8|h>>>8)&65535)){break j}i=1;if(f>>>0<2){g=1;break c}while(1){f=O[a+2|0]|O[a+3|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=i>>>0?275552:(a+(i<<1)|0)+2|0;f=O[f|0]|O[f+1|0]<<8;if(N[N[j+8>>2]+(i<<2)>>2]!=((f<<8|f>>>8)&65535)){break j}g=1;i=i+1|0;if(i>>>0>2]){continue}break}break c}c=c+2|0;l=l-1|0;if(l){continue}break};g=0;break c;case 4:k:{l:{a=O[c|0]|O[c+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break k;case 0:break l;case 2:break d;default:break c}}a=O[c+2|0]|O[c+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);f=O[c+4|0]|O[c+5|0]<<8;a=a>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((a<<1)+c|0)+6|0;a=O[a|0]|O[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}c=O[a|0]|O[a+1|0]<<8;if(!c){break c}l=(c<<8|c>>>8)&65535;i=a+2|0;f=N[j+12>>2];while(1){c=O[i|0]|O[i+1|0]<<8;if(c){h=a+((c<<8|c>>>8)&65535)|0}else{h=275552}c=O[h|0]|O[h+1|0]<<8;c=(c<<8|c>>>8)&65535;m:{if((c|0)!=(f|0)){break m}if(c>>>0<2){g=1;break c}g=1;c=1;m=N[j+8>>2];k=h+4|0;h=O[k|0]|O[k+1|0]<<8;if(N[m+4>>2]!=((h<<8|h>>>8)&65535)){break m}while(1){h=c+1|0;if((h|0)==(f|0)){break c}n=c<<1;c=h;h=k+n|0;h=O[h|0]|O[h+1|0]<<8;if(N[m+(c<<2)>>2]==((h<<8|h>>>8)&65535)){continue}break}if(c>>>0>=f>>>0){break c}}i=i+2|0;l=l-1|0;if(l){continue}break}g=0;break c}h=N[N[j+8>>2]>>2];a=0;n:{o:{p:{q:{f=O[c+4|0]|O[c+5|0]<<8;if(f){f=((f<<8|f>>>8)&65535)+c|0}else{f=275552}g=O[f|0]|O[f+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break n}}a=h;h=O[f+2|0]|O[f+3|0]<<8;h=a-((h<<8|h>>>8)&65535)|0;g=O[f+4|0]|O[f+5|0]<<8;a=275552;if(h>>>0>=((g<<8|g>>>8)&65535)>>>0){break o}a=(f+(h<<1)|0)+6|0;break o}k=241305;a=O[f+2|0]|O[f+3|0]<<8;r:{if(!a){break r}m=f+4|0;a=((a<<8|a>>>8)&65535)-1|0;g=0;while(1){i=a+g>>>1|0;l=m+T(i,6)|0;n=O[l|0]|O[l+1|0]<<8;s:{if(h>>>0>=((n<<8|n>>>8)&65535)>>>0){g=O[l+2|0]|O[l+3|0]<<8;if(h>>>0>((g<<8|g>>>8)&65535)>>>0){g=i+1|0;break s}k=m+T(i,6)|0;break r}a=i-1|0}if((a|0)>=(g|0)){continue}break}}a=k+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}i=275552;g=((a<<1)+c|0)+8|0;h=a;a=O[c+6|0]|O[c+7|0]<<8;a=h>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:g;a=O[a|0]|O[a+1|0]<<8;if(a){i=((a<<8|a>>>8)&65535)+c|0}a=O[i|0]|O[i+1|0]<<8;if(!a){g=0;break c}q=(a<<8|a>>>8)&65535;s=f+4|0;l=i+2|0;while(1){a=O[l|0]|O[l+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+i|0}else{a=275552}c=O[a|0]|O[a+1|0]<<8;m=(c<<8|c>>>8)&65535;t:{if((m|0)!=N[j+12>>2]){break t}if(m>>>0<2){g=1;break c}v=a+4|0;a=O[v|0]|O[v+1|0]<<8;n=(a<<8|a>>>8)&65535;h=N[N[j+8>>2]+4>>2];a=0;u:{v:{w:{x:{c=O[f|0]|O[f+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break w;case 0:break x;default:break u}}c=O[f+4|0]|O[f+5|0]<<8;g=(c<<8|c>>>8)&65535;c=O[f+2|0]|O[f+3|0]<<8;c=h-((c<<8|c>>>8)&65535)|0;a=275552;if(g>>>0<=c>>>0){break v}a=(f+(c<<1)|0)+6|0;break v}c=O[f+2|0]|O[f+3|0]<<8;y:{if(c){c=((c<<8|c>>>8)&65535)-1|0;while(1){k=a+c>>>1|0;g=s+T(k,6)|0;r=O[g|0]|O[g+1|0]<<8;z:{if(h>>>0>=((r<<8|r>>>8)&65535)>>>0){a=O[g+2|0]|O[g+3|0]<<8;if(h>>>0<=((a<<8|a>>>8)&65535)>>>0){break y}a=k+1|0;break z}c=k-1|0}if((a|0)<=(c|0)){continue}break}}g=241305}a=g+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}g=1;c=1;if((a|0)!=(n|0)){break t}while(1){h=c+1|0;if((h|0)==(m|0)){break c}a=(c<<1)+v|0;a=O[a|0]|O[a+1|0]<<8;z=(a<<8|a>>>8)&65535;n=N[N[j+8>>2]+(h<<2)>>2];a=0;A:{B:{C:{D:{c=O[f|0]|O[f+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break C;case 0:break D;default:break A}}c=O[f+4|0]|O[f+5|0]<<8;k=(c<<8|c>>>8)&65535;c=O[f+2|0]|O[f+3|0]<<8;c=n-((c<<8|c>>>8)&65535)|0;a=275552;if(k>>>0<=c>>>0){break B}a=(f+(c<<1)|0)+6|0;break B}c=O[f+2|0]|O[f+3|0]<<8;E:{if(c){c=((c<<8|c>>>8)&65535)-1|0;while(1){r=a+c>>>1|0;k=s+T(r,6)|0;w=O[k|0]|O[k+1|0]<<8;F:{if(n>>>0>=((w<<8|w>>>8)&65535)>>>0){a=O[k+2|0]|O[k+3|0]<<8;if(n>>>0<=((a<<8|a>>>8)&65535)>>>0){break E}a=r+1|0;break F}c=r-1|0}if((a|0)<=(c|0)){continue}break}}k=241305}a=k+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}c=h;if((a|0)==(z|0)){continue}break}if(c>>>0>=m>>>0){break c}}l=l+2|0;q=q-1|0;if(q){continue}break};g=0;break c;case 5:break e;case 7:break f;default:break c}}if((O[c|0]|O[c+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[c+2|0]|O[c+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c}g=0;if((O[c|0]|O[c+1|0]<<8)!=256){break c}a=O[c+2|0]|O[c+3|0]<<8;a=(a<<8|a>>>8)&65535;f=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(f){c=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+c|0}else{c=275552}continue}break}G:{H:{I:{a=O[c|0]|O[c+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break G;case 1:break H;case 0:break I;default:break c}}a=O[c+2|0]|O[c+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);f=O[c+4|0]|O[c+5|0]<<8;a=a>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((a<<1)+c|0)+6|0;a=O[a|0]|O[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}g=Oj(a,j,238152);break c}i=275552;k=275552;a=O[c+4|0]|O[c+5|0]<<8;if(a){k=((a<<8|a>>>8)&65535)+c|0}a=O[c+6|0]|O[c+7|0]<<8;if(a){i=((a<<8|a>>>8)&65535)+c|0}a=O[c+8|0]|O[c+9|0]<<8;if(a){f=((a<<8|a>>>8)&65535)+c|0}else{f=275552}h=N[N[j+8>>2]>>2];a=0;J:{K:{L:{M:{g=O[i|0]|O[i+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break L;case 0:break M;default:break J}}a=h;h=O[i+2|0]|O[i+3|0]<<8;h=a-((h<<8|h>>>8)&65535)|0;g=O[i+4|0]|O[i+5|0]<<8;a=275552;if(h>>>0>=((g<<8|g>>>8)&65535)>>>0){break K}a=((h<<1)+i|0)+6|0;break K}l=241305;a=O[i+2|0]|O[i+3|0]<<8;N:{if(!a){break N}q=i+4|0;a=((a<<8|a>>>8)&65535)-1|0;g=0;while(1){m=a+g>>>1|0;n=q+T(m,6)|0;s=O[n|0]|O[n+1|0]<<8;O:{if(h>>>0>=((s<<8|s>>>8)&65535)>>>0){g=O[n+2|0]|O[n+3|0]<<8;if(h>>>0>((g<<8|g>>>8)&65535)>>>0){g=m+1|0;break O}l=q+T(m,6)|0;break N}a=m-1|0}if((a|0)>=(g|0)){continue}break}}a=l+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}g=275552;l=((a<<1)+c|0)+12|0;h=a;a=O[c+10|0]|O[c+11|0]<<8;a=h>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:l;a=O[a|0]|O[a+1|0]<<8;if(a){g=((a<<8|a>>>8)&65535)+c|0}N[p+28>>2]=f;N[p+24>>2]=i;N[p+20>>2]=k;N[p+16>>2]=249;N[p+12>>2]=249;N[p+8>>2]=249;g=Oj(g,j,p+8|0);break c}a=O[c+2|0]|O[c+3|0]<<8;i=(c+2|0)+(((a<<8|a>>>8)&65535)<<1)|0;f=i+2|0;h=O[f|0]|O[f+1|0]<<8;k=h<<8|h>>>8;h=k&65535;f=(h<<1)+f|0;if(!(!(O[f+2|0]|O[f+3|0]<<8|a)|!O[j+16|0])){break c}if((h|0)!=N[j+12>>2]){break c}g=1;if((k&65535)>>>0<2){break c}g=0;i=i+6|0;a=O[i|0]|O[i+1|0]<<8;j=N[j+8>>2];if((vb(a?((a<<8|a>>>8)&65535)+c|0:275552,N[j+4>>2])|0)==-1){break c}a=1;while(1){f=a+1|0;if((f|0)==(h|0)){g=1;break c}a=i+(a<<1)|0;a=O[a|0]|O[a+1|0]<<8;g=a?((a<<8|a>>>8)&65535)+c|0:275552;a=f;if((vb(g,N[j+(a<<2)>>2])|0)!=-1){continue}break}g=a>>>0>=h>>>0;break c}a=O[c+2|0]|O[c+3|0]<<8;a=a<<8|a>>>8;h=a&65535;if((h|0)!=N[j+12>>2]){break c}g=1;if((a&65535)>>>0<2){break c}g=0;a=O[c+8|0]|O[c+9|0]<<8;j=N[j+8>>2];if((vb(a?((a<<8|a>>>8)&65535)+c|0:275552,N[j+4>>2])|0)==-1){break c}g=c+8|0;a=1;while(1){f=a+1|0;if((f|0)==(h|0)){g=1;break c}a=g+(a<<1)|0;a=O[a|0]|O[a+1|0]<<8;i=a?((a<<8|a>>>8)&65535)+c|0:275552;a=f;if((vb(i,N[j+(a<<2)>>2])|0)!=-1){continue}break}g=a>>>0>=h>>>0}La=p+32|0;if(!g){b=b+1|0;d=u>>>0>b>>>0;if((b|0)!=(y|0)){continue}}break}}La=o+32|0;return d}function gE(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{c:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break b}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break a}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=284;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break f}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=d;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break i}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=d;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];j:{k:{l:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break k}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break l}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break j}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=285;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break o}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break q}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break p}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break u}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];v:{w:{x:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break w}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break x}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break v}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break A}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break C}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break B}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break G}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=d;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];H:{I:{J:{c=N[a+96>>2];if((c|0)>=0){d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break I}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){e=$a(N[a+104>>2],c<<3);b=N[a+100>>2];if(e){break J}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break H}N[a+96>>2]=c;N[a+104>>2]=e}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,d-b<<3)}N[a+100>>2]=d;b=d;d=(N[a+104>>2]+(b<<3)|0)-8|0}c=N[a+76>>2];N[d+4>>2]=0;N[d>>2]=c;N[a+76>>2]=N[a+76>>2]+1;K:{L:{M:{c=N[a+96>>2];if((c|0)>=0){d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break L}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){b=$a(N[a+104>>2],c<<3);if(b){break M}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break K}N[a+96>>2]=c;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,d-b<<3)}N[a+100>>2]=d;d=(N[a+104>>2]+(d<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=278;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break P}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=d;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break S}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=d;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];T:{U:{V:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break U}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break V}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break T}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=d;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break Y}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=d;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function gp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;n=La-144|0;La=n;a:{b:{c:{while(1){d:{N[a+84>>2]=0;M[a+78>>1]=0;N[a+40>>2]=0;N[a+44>>2]=0;e=N[a+24>>2];N[a+36>>2]=e;N[a+80>>2]=e;d=N[a+4>>2];N[a+72>>2]=T(d,c);N[a+68>>2]=T(d,s);j=N[a+28>>2]-32|0;N[a+32>>2]=j;N[e+8>>2]=e;M[a+76>>1]=0;e:{f:{g:{h:{i:{if(M[a+120>>1]<=0){break i}d=N[a+8>>2];h=N[a+132>>2];f=0;q=0;j:{while(1){N[a+88>>2]=0;N[a+92>>2]=0;g=N[a+12>>2];i=N[a+124>>2];j=f&65535;e=i+(j<<3)|0;f=T(g,N[e+4>>2])-d|0;m=T(g,N[e>>2])-d|0;u=q<<1;l=P[u+h>>1];k=i+(l<<3)|0;i=T(g,N[k+4>>2])-d|0;g=T(g,N[k>>2])-d|0;k:{if(!b){p=m;m=f;h=g;g=i;break k}p=f;h=i}i=N[a+128>>2];f=i+j|0;d=O[f|0];if(d&4){L[a+48|0]=d>>>5;d=O[f|0]}l:{switch(d&3){case 0:m:{if((O[i+l|0]&3)==1){k=k-8|0;break m}g=(g+m|0)/2|0;h=(h+p|0)/2|0}p=h;m=g;f=f-1|0;e=e-8|0;break;case 2:break d;default:break l}}N[a+64>>2]=m;N[a+60>>2]=p;n:{if(e>>>0>>0){while(1){g=f+1|0;d=e+8|0;o:{p:{q:{r:{switch(O[f+1|0]&3){case 1:i=N[e+8>>2];h=e;f=g;e=d;d=N[a+12>>2];g=T(d,N[h+12>>2]);h=N[a+8>>2];g=g-h|0;d=T(d,i)-h|0;if(fp(a,b?g:d,b?d:g)){break g}break o;case 0:f=N[a+12>>2];i=N[a+8>>2];h=T(f,N[e+8>>2])-i|0;j=T(f,N[e+12>>2])-i|0;if(b){break q}while(1){if(d>>>0>=k>>>0){d=h;h=j;break p}f=g+1|0;e=d+8|0;l=N[a+12>>2];o=N[a+8>>2];i=T(l,N[d+8>>2])-o|0;l=T(l,N[d+12>>2])-o|0;d=O[g+1|0]&3;if(d){if((d|0)!=1){break d}if(!mf(a,h,j,i,l)){break o}break g}o=mf(a,h,j,(h+i|0)/2|0,(j+l|0)/2|0);g=f;d=e;h=i;j=l;if(!o){continue}break};break g;default:break r}}if((O[f+2|0]&3)!=2|e+16>>>0>k>>>0){break d}o=N[a+12>>2];r=N[a+8>>2];h=T(o,N[e+16>>2])-r|0;j=T(o,N[e+8>>2])-r|0;d=T(o,N[e+20>>2])-r|0;g=T(o,N[e+12>>2])-r|0;s:{if(!b){i=j;j=g;l=h;h=d;break s}i=g;l=d}d=e+24|0;if(d>>>0<=k>>>0){g=h;h=T(o,N[e+28>>2])-r|0;e=T(o,N[e+24>>2])-r|0;if(ep(a,i,j,l,g,b?h:e,b?e:h)){break g}f=f+3|0;e=d;break o}if(ep(a,i,j,l,h,p,m)){break g}break n}while(1){if(d>>>0>=k>>>0){d=j;break p}f=g+1|0;e=d+8|0;l=N[a+12>>2];o=N[a+8>>2];i=T(l,N[d+8>>2])-o|0;l=T(l,N[d+12>>2])-o|0;d=O[g+1|0]&3;if(!d){o=mf(a,j,h,(j+l|0)/2|0,(h+i|0)/2|0);g=f;d=e;j=l;h=i;if(o){break g}continue}break}if((d|0)!=1){break d}if(!mf(a,j,h,l,i)){break o}break g}if(!mf(a,d,h,p,m)){break n}break g}if(e>>>0>>0){continue}break}}if(fp(a,p,m)){break g}}h=N[a+132>>2];i=P[u+h>>1];m=N[a+4>>2];l=m-1|0;e=N[a+64>>2];k=l&e;t:{if(k|(e|0)>2]|(e|0)>N[a+72>>2]){break t}d=N[a+88>>2];if(!d|(P[N[a+80>>2]+12>>1]^P[d+12>>1])&8){break t}N[a+36>>2]=N[a+36>>2]-4}u:{v:{w:{f=N[a+36>>2];g=N[a+80>>2];d=N[g+8>>2];p=(f|0)==(d|0);if(O[g+12|0]&8?p:1){j=f-d|0;if((j|0)>=0){break w}break c}j=f-d|0;if((j|0)<0){break c}d=N[a+8>>2];e=(k|0)>=(d|0);break v}d=N[a+8>>2];if(p){e=f;break u}e=((e+l&0-m)-e|0)>=(d|0)}N[g+16>>2]=j>>>2;if(e){e=P[g+12>>1];M[g+12>>1]=(e&8?16:32)|e}N[a+80>>2]=f;e=f+32|0;N[a+36>>2]=e;N[f+8>>2]=e;N[f+16>>2]=0;N[g+28>>2]=f;M[a+76>>1]=P[a+76>>1]+1}j=N[a+32>>2];if(j>>>0<=e>>>0){break j}L[a+79|0]=0;f=N[a+88>>2];if(f){N[g+28>>2]=f}f=i+1|0;q=q+1|0;if((q|0)>1]){continue}break}p=P[a+76>>1];if(p>>>0<2){break i}d=N[a+84>>2];if(!d){break i}l=N[a+44>>2];q=N[a+28>>2];while(1){x:{if((p&65535)>>>0<=1){g=N[d+16>>2];m=0;break x}g=N[d+16>>2];m=N[d+8>>2]+(g<<2)|0}N[d+4>>2]=m;h=N[d+20>>2];y:{if(O[d+12|0]&8){e=h;h=(g+e|0)-1|0;break y}e=(h-g|0)+1|0;N[d+20>>2]=e;N[d+8>>2]=(N[d+8>>2]+(g<<2)|0)-4}f=0;o=0-l|0;j=q-(l<<2)|0;k=(l>>31^-1)&l;d=l;z:{A:{while(1){g=d;i=f;if((f|0)==(k|0)){f=e;break A}f=i+1|0;d=g-1|0;r=N[j+(d<<2)>>2];if((r|0)>(e|0)){continue}break}if((e|0)<=(r|0)){i=l;break z}k=0;i=l-i&3;if(i){while(1){o=j+(d<<2)|0;f=N[o>>2];N[o>>2]=e;d=d-1|0;e=f;k=k+1|0;if((i|0)!=(k|0)){continue}break}}if(g>>>0<4){break A}while(1){f=j+(d<<2)|0;g=f-4|0;i=N[g>>2];g=N[g+4>>2];N[f>>2]=e;e=f-8|0;f=N[e>>2];N[e>>2]=i;N[e+4>>2]=g;g=d-3|0;i=j+(g<<2)|0;e=N[i>>2];N[i>>2]=f;d=d-4|0;f=e;if(g){continue}break}}d=N[a+32>>2]-4|0;N[a+32>>2]=d;if(d>>>0<=Q[a+36>>2]){break j}i=l+1|0;N[a+44>>2]=i;o=l^-1;N[q+(o<<2)>>2]=f}e=h+1|0;l=q+(o<<2)|0;k=(i>>31^-1)&i;f=0;d=i;B:{C:{while(1){g=d;j=f;if((f|0)==(k|0)){f=e;break C}f=j+1|0;d=g-1|0;o=N[l+(d<<2)>>2];if((o|0)>(e|0)){continue}break}if((h|0)<(o|0)){l=i;break B}k=0;h=i-j&3;if(h){while(1){j=l+(d<<2)|0;f=N[j>>2];N[j>>2]=e;d=d-1|0;e=f;k=k+1|0;if((h|0)!=(k|0)){continue}break}}if(g>>>0<4){break C}while(1){h=l+(d<<2)|0;f=h-4|0;g=N[f>>2];f=N[f+4>>2];N[h>>2]=e;e=h-8|0;h=N[e>>2];N[e>>2]=g;N[e+4>>2]=f;g=d-3|0;f=l+(g<<2)|0;e=N[f>>2];N[f>>2]=h;d=d-4|0;f=e;if(g){continue}break}}d=N[a+32>>2]-4|0;N[a+32>>2]=d;if(d>>>0<=Q[a+36>>2]){break j}l=i+1|0;N[a+44>>2]=l;N[q+((i^-1)<<2)>>2]=f}d=m;p=p-1|0;if(p&65535){continue}break}j=N[a+32>>2];e=N[a+36>>2];break h}N[a+40>>2]=98;break f}N[a+84>>2]=0}if(e>>>0>>0){break e}}d=N[a+40>>2];if((d|0)!=98){break a}}if((c|0)==(s|0)){d=98;break a}N[(t<<2)+n>>2]=s;t=t+1|0;s=(c+s>>1)+1|0;continue}f=N[a+84>>2];D:{if(!f){break D}N[n+140>>2]=0;N[n+136>>2]=0;N[n+132>>2]=0;c=N[a>>2];i=N[a+72>>2]>>c;o=N[a+68>>2]>>c;while(1){N[f>>2]=0;g=o<<16>>16;c=f;f=N[f+20>>2];m=(N[c+16>>2]+f|0)-1<<16>>16;j=(g|0)>(m|0);q=f<<16>>16>16;h=n+140|0;d=N[n+140>>2];E:{if(!d){d=0;break E}if(N[d>>2]>0){break E}F:{while(1){e=d;d=N[d+4>>2];if(d){if(N[d>>2]<=0){continue}break F}break}d=0}h=e+4|0}o=j?g:m;i=q?f:i;f=N[c+4>>2];N[c+4>>2]=d;N[h>>2]=c;if(f){continue}break}if(!N[a+44>>2]){break d}c=i<<16>>16;Qa[N[a+140>>2]](a,c,o);d=N[n+140>>2];if(d){while(1){N[d+24>>2]=N[d+20>>2]-c;d=N[d+4>>2];if(d){continue}break}}k=N[a+44>>2];G:{if((k|0)<=0){break G}if((c|0)==N[N[a+28>>2]-(k<<2)>>2]){k=k-1|0;N[a+44>>2]=k;if(!k){break G}}d=0;while(1){e=N[n+140>>2];if(e){g=d<<16>>16;while(1){d=N[e+24>>2];N[e+24>>2]=d-g;c=N[e+4>>2];if((d|0)==(g|0)){d=N[n+140>>2];H:{if(!d){break H}if((d|0)==(e|0)){N[n+140>>2]=c;break H}while(1){h=d;d=N[d+4>>2];if(!d){break H}if((d|0)!=(e|0)){continue}break}N[h+4>>2]=c}f=N[e>>2];I:{if(O[e+12|0]&8){j=n+136|0;d=N[n+136>>2];if(!d){d=0;break I}if((f|0)>2]){break I}J:{while(1){h=d;d=N[d+4>>2];if(d){if((f|0)>=N[d>>2]){continue}break J}break}d=0}j=h+4|0;break I}j=n+132|0;d=N[n+132>>2];if(!d){d=0;break I}if((f|0)>2]){break I}K:{while(1){h=d;d=N[d+4>>2];if(d){if((f|0)>=N[d>>2]){continue}break K}break}d=0}j=h+4|0}N[e+4>>2]=d;N[j>>2]=e}e=c;if(e){continue}break}}c=i;e=N[n+136>>2];d=e;L:{if(!d){break L}while(1){h=N[d+8>>2];N[d>>2]=N[h>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=h+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}d=N[e+4>>2];if(!d){break L}f=e+4|0;g=n+136|0;while(1){if(!(N[e>>2]<=N[d>>2])){N[g>>2]=d;N[f>>2]=N[d+4>>2];N[d+4>>2]=e;d=N[n+136>>2];f=n+136|0}g=f;e=d;f=d+4|0;d=N[d+4>>2];if(d){continue}break}}m=N[n+132>>2];d=m;M:{if(!d){m=0;break M}while(1){e=N[d+8>>2];N[d>>2]=N[e>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=e+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}e=N[m+4>>2];if(!e){break M}f=m+4|0;g=n+132|0;d=m;while(1){N:{if(N[d>>2]<=N[e>>2]){g=f;d=e;break N}N[g>>2]=e;N[f>>2]=N[e+4>>2];N[e+4>>2]=d;g=n+132|0;m=N[n+132>>2];d=m}f=d+4|0;e=N[d+4>>2];if(e){continue}break}}N[a+44>>2]=k-1;u=N[N[a+28>>2]-(k<<2)>>2];v=u<<16>>16;O:{if((v|0)>c<<16>>16){q=m;k=m;i=c;while(1){g=N[n+136>>2];P:{if(!g){break P}p=0;d=g;h=k;if(!h){break P}while(1){Q:{R:{f=N[d>>2];j=N[h>>2];e=(f|0)>(j|0)?f:j;f=(f|0)<(j|0)?f:j;j=N[a+4>>2];if((e-f|0)>(j|0)){break R}r=0-j|0;l=r&f;if((l|0)==(f|0)){break R}r=r&(e+j|0)-1;if((r|0)==(e|0)|(r|0)!=(j+l|0)&(l|0)<=(r|0)){break R}if((P[d+12>>1]&7)==2){break Q}N[d>>2]=f;N[h>>2]=e;N[d+24>>2]=1;p=p+1|0;break Q}Qa[N[a+144>>2]](a,i<<16>>16,f,e,d,h)}d=N[d+4>>2];if(d){h=N[h+4>>2];if(h){continue}}break}d=g;if(p<<16>>16<=0){break P}while(1){if(N[d+24>>2]){N[d+24>>2]=0;Qa[N[a+148>>2]](a,i<<16>>16,N[d>>2],N[k>>2],d,k)}d=N[d+4>>2];if(!d){break P}k=N[k+4>>2];if(k){continue}break}}Qa[N[a+152>>2]](a);i=i+1|0;if(i<<16>>16>=(v|0)){break O}d=g;S:{if(!d){break S}while(1){e=N[d+8>>2];N[d>>2]=N[e>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=e+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}d=N[g+4>>2];if(!d){break S}e=g+4|0;f=n+136|0;while(1){if(!(N[g>>2]<=N[d>>2])){N[f>>2]=d;N[e>>2]=N[d+4>>2];N[d+4>>2]=g;e=n+136|0;d=N[n+136>>2]}g=d;f=e;e=g+4|0;d=N[g+4>>2];if(d){continue}break}m=N[n+132>>2];q=m}h=q;q=0;k=0;d=h;if(!d){continue}while(1){e=N[d+8>>2];N[d>>2]=N[e>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=e+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}f=h+4|0;g=n+132|0;q=h;k=h;d=h;e=N[d+4>>2];if(!e){continue}while(1){T:{if(N[d>>2]<=N[e>>2]){g=f;d=e;break T}N[g>>2]=e;N[f>>2]=N[e+4>>2];N[e+4>>2]=d;g=n+132|0;m=N[n+132>>2];h=m;d=h}f=d+4|0;e=N[d+4>>2];if(e){continue}break}q=h;k=h;continue}}g=N[n+136>>2];i=c}if(g){while(1){e=g;g=N[e+4>>2];U:{if(N[e+16>>2]){break U}d=N[n+136>>2];if(!d){break U}if((d|0)==(e|0)){N[n+136>>2]=g;break U}while(1){h=d;d=N[d+4>>2];if(!d){break U}if((d|0)!=(e|0)){continue}break}N[h+4>>2]=g}if(g){continue}break}}V:{if(!m){break V}while(1){e=m;m=N[e+4>>2];W:{if(N[e+16>>2]){break W}d=N[n+132>>2];if(!d){break W}if((d|0)==(e|0)){N[n+132>>2]=m;if(!m){break V}continue}while(1){h=d;d=N[d+4>>2];if(!d){break W}if((d|0)!=(e|0)){continue}break}N[h+4>>2]=m;if(!m){break V}continue}if(m){continue}break}}d=u-c|0;k=N[a+44>>2];if((k|0)>0){continue}break}}if(i<<16>>16>(o|0)){break D}while(1){Qa[N[a+152>>2]](a);i=i+1<<16>>16;if((o|0)>=(i|0)){continue}break}}if((t|0)<=0){d=0;break a}else{c=s-1|0;t=t-1|0;s=N[(t<<2)+n>>2];continue}}break}d=20;break b}d=99}N[a+40>>2]=d}La=n+144|0;return d}function rv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=La-32|0;La=i;d=N[a+20>>2];a:{if(d){f=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;f=rb(a,36672,b+132|0);if(f){break a}N[b+168>>2]=N[b+168>>2]+(N[b+204>>2]<<16);f=2;if(N[b+132>>2]!=1346785840|Q[b+136>>2]>4|(N[b+140>>2]!=3338|Q[b+144>>2]<58)){break a}e=N[b+152>>2];d=N[a+20>>2];b:{if(d){f=85;if(!(Qa[d|0](a,e,0,0)|0)){break b}break a}f=85;if(e>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=e;N[i+12>>2]=0;d=xb(a,i+12|0);f=N[i+12>>2];if(f){break a}f=8;if(d>>>0>13106){break a}g=N[a+4>>2];if(T(d,5)+2>>>0>=g-e>>>0|g>>>0<=T(d,23)+95>>>0){break a}f=0;N[i+24>>2]=0;N[b>>2]=d;if((c|0)<0){break a}f=6;o=c&65535;if(d>>>0<=o>>>0){break a}n=N[b+204>>2];c=N[b+152>>2];d=N[a+20>>2];c:{if(d){f=85;if(!(Qa[d|0](a,c,0,0)|0)){break c}break a}f=85;if(c>>>0>g>>>0){break a}}N[a+8>>2]=c;N[i+12>>2]=0;g=i+12|0;c=xb(a,g);f=N[i+12>>2];if(f){break a}f=6;if(c>>>0<=o>>>0){break a}f=Wc(a,T(o,5));N[i+12>>2]=f;if(f){break a}d=xb(a,g);f=N[i+12>>2];if(f){break a}e=0;f=La-16|0;La=f;N[g>>2]=0;j=a;d:{e:{f:{g:{c=N[a+4>>2];a=N[a+8>>2];if(c>>>0<=a+2>>>0){break g}k=N[j+20>>2];h:{if(k){c=f+13|0;if((Qa[k|0](j,a,c,3)|0)!=3){break g}a=N[j+8>>2];break h}c=N[j>>2];if(!c){break f}c=a+c|0}e=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);break e}N[g>>2]=85;break d}e=0}N[j+8>>2]=a+3}La=f+16|0;f=N[i+12>>2];if(f){break a}N[b+240>>2]=d;N[b+244>>2]=e;a=N[j+20>>2];i:{if(a){f=85;if(!(Qa[a|0](j,e,0,0)|0)){break i}break a}f=85;if(e>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=e;f=Bb(j,d);N[i+12>>2]=f;if(f){break a}j:{if(d>>>0<13){f=8;g=0;break j}a=N[j+32>>2];k=a+d|0;f=8;N[b+248>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);N[b+252>>2]=O[a+5|0]|(O[a+4|0]<<8|O[a+3|0]<<16);N[b+256>>2]=O[a+8|0]|(O[a+7|0]<<8|O[a+6|0]<<16);N[b+260>>2]=O[a+11|0]|(O[a+10|0]<<8|O[a+9|0]<<16);g=0;d=a+13|0;e=O[a+12|0];c=e&4;if(c){h=e&8?2:1;h=e&3?h:h+3|0}m=e&32;if(k>>>0>31&(m?2:1))|0)>>>0){break j}l=e&16;k:{if(!c){break k}h=O[d|0];l:{if(e&8){h=(O[a+14|0]|h<<8)<<16>>16;d=a+15|0;break l}d=a+14|0}N[b+268>>2]=h;if(e&3){break k}N[b+276>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);d=d+3|0}m:{if(!l){c=d;break m}h=O[d|0];n:{if(m){h=(O[d+1|0]|h<<8)<<16>>16;c=d+2|0;break n}c=d+1|0}N[b+272>>2]=h}o:{if(!(e&64)){e=c;break o}e=c+1|0;if(k>>>0>>0){break j}c=O[c|0];if(c){while(1){a=e+2|0;if(a>>>0>k>>>0){break j}e=a+O[e|0]|0;if(k>>>0>>0){break j}c=c-1|0;if(c){continue}break}}N[i+12>>2]=0}if(k>>>0>>0){break j}a=O[e+1|0]|O[e|0]<<8;N[b+280>>2]=a;N[b+284>>2]=O[e+4|0]|(O[e+3|0]<<8|O[e+2|0]<<16);if(n){if(k>>>0>>0){break j}N[b+280>>2]=a|O[e+5|0]<<16}f=0;g=1}if(N[j+20>>2]){a=N[j>>2];if(a){c=N[j+28>>2];Qa[N[c+8>>2]](c,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;N[i+24>>2]=f;if(!g){break a}c=N[b+280>>2];n=N[b+284>>2];m=N[j+28>>2];N[b+428>>2]=b+424;N[b+424>>2]=0;N[b+292>>2]=n;N[b+288>>2]=m;a=N[j+20>>2];p:{if(a){f=85;if(!(Qa[a|0](j,n,0,0)|0)){break p}break a}f=85;if(n>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=n;f=Bb(j,c);N[i+12>>2]=f;if(f){break a}a=N[j+32>>2];N[b+436>>2]=a;f=8;q:{if((c|0)<15){break q}N[b+296>>2]=O[a+1|0]|O[a|0]<<8;N[b+300>>2]=O[a+3|0]|O[a+2|0]<<8;N[b+304>>2]=O[a+5|0]|O[a+4|0]<<8;d=O[a+6|0]|O[a+7|0]<<8;N[b+308>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+8|0]|O[a+9|0]<<8;N[b+312>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+10|0]|O[a+11|0]<<8;N[b+316>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+12|0]|O[a+13|0]<<8;N[b+320>>2]=(d<<8|d>>>8)<<16>>16;g=a+15|0;N[i+28>>2]=g;k=O[a+14|0];N[b+324>>2]=k;p=k&4;if(!p){if(c>>>0<17){break q}g=a+17|0;N[i+28>>2]=g;d=O[a+15|0]|O[a+16|0]<<8;N[b+328>>2]=(d<<8|d>>>8)<<16>>16}h=a+c|0;if(k<<24>>24<0){l=b+288|0;c=N[i+28>>2];a=c+1|0;r:{if(h>>>0>>0){N[i+28>>2]=c;a=8;break r}f=O[c|0];s:{if(f){while(1){d=a+2|0;if(h>>>0>>0){N[i+28>>2]=a;a=8;break r}c=O[a|0]+d|0;if(c>>>0>h>>>0){N[i+28>>2]=d;a=8;break r}e=156;g=157;t:{u:{v:{w:{switch(O[a+1|0]-1|0){case 2:e=158;break v;case 0:break u;case 1:break v;case 3:break w;default:break t}}e=159}g=e}a=Qa[g|0](d,c,l)|0;if(a){break s}}a=c;f=f-1|0;if(f){continue}break}}d=a;a=0}N[i+28>>2]=d}f=a;N[i+12>>2]=a;if(a){break q}g=N[i+28>>2]}f=8;d=g+3|0;if(h>>>0>>0){break q}N[i+28>>2]=d;g=O[g+2|0]|(O[g+1|0]<<8|O[g|0]<<16);if(g){a=d+g|0;if(a>>>0>h>>>0){break q}N[i+28>>2]=a;l=b+372|0;q=b+376|0;while(1){x:{e=d+4|0;if(e>>>0>a>>>0){break x}c=O[d+1|0]|O[d|0]<<8;if(c>>>0<4|c>>>0>g>>>0){break x}y:{z:{A:{B:{C:{f=O[d+2|0]|O[d+3|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 2:break A;case 1:break B;case 0:break C;default:break y}}f=sm(e,c-4|0,m,l);break z}if(c>>>0<36){break y}e=O[d+14|0]|O[d+15|0]<<8;N[b+332>>2]=(e<<8|e>>>8)<<16>>16;e=O[d+16|0]|O[d+17|0]<<8;N[b+336>>2]=(e<<8|e>>>8)<<16>>16;e=O[d+18|0]|O[d+19|0]<<8;N[b+340>>2]=(e<<8|e>>>8)<<16>>16;break y}f=sm(e,c-4|0,m,q)}N[i+12>>2]=f;if(f){break a}}d=c+d|0;g=g-c|0;if(g){continue}}break}d=a}g=d+1|0;if(h>>>0>>0){f=8;break q}N[i+28>>2]=g;a=O[d|0];N[b+392>>2]=a;f=8;if(h>>>0<(a<<1)+g>>>0){break q}c=lb(m,4,0,a,0,i+12|0);N[b+396>>2]=c;f=N[i+12>>2];if(f){break q}D:{if(!a){break D}d=a&1;E:{if((a|0)==1){f=0;break E}a=a&254;f=0;while(1){e=f<<2;l=O[g|0]|O[g+1|0]<<8;N[e+c>>2]=(l<<8|l>>>8)<<16>>16;l=c+(e|4)|0;e=O[g+2|0]|O[g+3|0]<<8;N[l>>2]=(e<<8|e>>>8)<<16>>16;g=g+4|0;f=f+2|0;if((a|0)!=(f|0)){continue}break}}if(!d){break D}a=O[g|0]|O[g+1|0]<<8;N[c+(f<<2)>>2]=(a<<8|a>>>8)<<16>>16;g=g+2|0}f=8;d=g+8|0;if(h>>>0>>0){break q}N[i+28>>2]=g+1;N[b+400>>2]=O[g|0];N[i+28>>2]=g+2;N[b+404>>2]=O[g+1|0];N[i+28>>2]=g+4;N[b+356>>2]=O[g+3|0]|O[g+2|0]<<8;N[b+344>>2]=O[g+5|0]|O[g+4|0]<<8;N[i+28>>2]=d;l=O[g+7|0]|O[g+6|0]<<8;N[b+408>>2]=l;N[b+412>>2]=(d+n|0)-N[j+32>>2];c=h;h=k>>>3&1;n=k&16;a=k&32;k=k&2;if(c>>>0>>1)+(n>>>4|0)+(a>>>5)|0)+(k?5:4)|0)+d>>>0){break q}m=lb(m,16,0,l,0,i+12|0);N[b+416>>2]=m;f=N[i+12>>2];if(f|!l){break q}e=0;if(!a){while(1){f=m+(e<<4)|0;g=O[d|0];F:{if(k){g=O[d+1|0]|g<<8;c=d+2|0;break F}c=d+1|0}N[f>>2]=g;G:{if(p){a=O[c|0]|O[c+1|0]<<8;d=(a<<8|a>>>8)<<16>>16;c=c+2|0;break G}d=N[b+328>>2]}N[f+4>>2]=d;a=c+h|0;d=O[a|0];H:{if(n){d=O[a+1|0]|d<<8;a=a+2|0;break H}a=a+1|0}N[f+8>>2]=d;N[f+12>>2]=O[a+1|0]|O[a|0]<<8;d=a+2|0;f=0;e=e+1|0;if((l|0)!=(e|0)){continue}break q}}while(1){f=m+(e<<4)|0;g=O[d|0];I:{if(k){g=O[d+1|0]|g<<8;c=d+2|0;break I}c=d+1|0}N[f>>2]=g;J:{if(p){a=O[c|0]|O[c+1|0]<<8;d=(a<<8|a>>>8)<<16>>16;c=c+2|0;break J}d=N[b+328>>2]}N[f+4>>2]=d;a=c+h|0;d=O[a|0];K:{if(n){d=O[a+1|0]|d<<8;a=a+2|0;break K}a=a+1|0}N[f+8>>2]=d;N[f+12>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);d=a+3|0;f=0;e=e+1|0;if((l|0)!=(e|0)){continue}break}}if(N[j+20>>2]){a=N[j>>2];if(a){c=N[j+28>>2];Qa[N[c+8>>2]](c,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;c=N[j+8>>2];a=0;N[b+436>>2]=0;N[b+432>>2]=c;N[i+24>>2]=f;if(f){break a}N[b+4>>2]=o;c=N[b+8>>2]|1;N[b+8>>2]=c;d=N[b+408>>2];N[b+16>>2]=d+1;L:{M:{N:{if(!d){break N}e=N[b+416>>2];while(1){if(N[(e+(a<<4)|0)+12>>2]){break N}a=a+1|0;if((d|0)!=(a|0)){continue}break}break M}if((a|0)==(d|0)){break M}d=N[b+380>>2];break L}c=0;d=N[b+380>>2];if(d){break L}f=3;break a}a=N[b+324>>2];c=(a^-1)&4|c|(a&1?32:16);c=d?c|2:c;N[b+8>>2]=c;if(N[b+420>>2]){N[b+8>>2]=c|64}c=N[b+372>>2];N[b+20>>2]=c;if(!c){N[b+20>>2]=N[b+368>>2]}N[b+28>>2]=0;N[b+32>>2]=0;N[b+24>>2]=N[b+376>>2];c=N[b+312>>2];N[b+52>>2]=N[b+308>>2];N[b+56>>2]=c;c=N[b+320>>2];N[b+60>>2]=N[b+316>>2];N[b+64>>2]=c;c=N[b+300>>2];M[b+68>>1]=c;e=N[b+320>>2];M[b+70>>1]=e;f=N[b+312>>2];M[b+72>>1]=f;e=(e<<16>>16)-(f<<16>>16)|0;c=(T(c&65535,12)>>>0)/10|0;M[b+74>>1]=(e|0)>c<<16>>16?e:c;if(d){a=lb(N[N[b+104>>2]+28>>2],16,0,d,0,i+24|0);N[b+32>>2]=a;f=N[i+24>>2];if(f){break a}f=N[b+388>>2];O:{if((d|0)!=1){g=d&1;j=d&-2;c=0;while(1){h=N[f+4>>2];M[a>>1]=h;e=N[f>>2];h=h<<6;N[a+12>>2]=h;N[a+4>>2]=h;M[a+2>>1]=e;N[a+8>>2]=e<<6;h=N[f+40>>2];M[a+16>>1]=h;e=N[f+36>>2];h=h<<6;N[a+28>>2]=h;N[a+20>>2]=h;M[a+18>>1]=e;N[a+24>>2]=e<<6;f=f+72|0;a=a+32|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}if(!g){break O}}e=N[f+4>>2];M[a>>1]=e;c=N[f>>2];e=e<<6;N[a+12>>2]=e;N[a+4>>2]=e;M[a+2>>1]=c;N[a+8>>2]=c<<6}N[b+28>>2]=d;a=N[b+324>>2]}P:{if(!(a&4)){f=N[b+328>>2];break P}c=N[b+408>>2];if(!c){f=0;break P}d=c&3;a=N[b+416>>2];e=0;Q:{if(c>>>0<4){f=0;break Q}c=c-4|0;f=(c>>>2|0)+1|0;g=f&1;R:{if(c>>>0<4){f=0;break R}j=f&2147483646;f=0;c=0;while(1){h=N[a+4>>2];f=(f|0)>(h|0)?f:h;h=N[a+20>>2];f=(f|0)>(h|0)?f:h;h=N[a+36>>2];f=(f|0)>(h|0)?f:h;h=N[a+52>>2];f=(f|0)>(h|0)?f:h;h=N[a+68>>2];f=(f|0)>(h|0)?f:h;h=N[a+84>>2];f=(f|0)>(h|0)?f:h;h=N[a+100>>2];f=(f|0)>(h|0)?f:h;h=N[a+116>>2];f=(f|0)>(h|0)?f:h;a=a+128|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}if(!g){break Q}c=N[a+4>>2];c=(c|0)<(f|0)?f:c;f=N[a+20>>2];c=(c|0)>(f|0)?c:f;f=N[a+36>>2];c=(c|0)>(f|0)?c:f;f=N[a+52>>2];f=(c|0)>(f|0)?c:f;a=a- -64|0}if(!d){break P}while(1){c=N[a+4>>2];f=(c|0)<(f|0)?f:c;a=a+16|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}M[b+76>>1]=f;M[b+78>>1]=P[b+74>>1];a=P[b+68>>1];M[b+82>>1]=(a>>>0)/30;M[b+80>>1]=0-((a>>>0)/10|0);N[i+12>>2]=b;N[i+16>>2]=1970170211;N[i+20>>2]=65539;f=Ac(36580,0,i+12|0,0);if(!N[b+420>>2]){break a}N[b+8>>2]=N[b+8>>2]|64}La=i+32|0;return f|0}function hC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;h=La-128|0;La=h;f=M[b+2>>1];a:{if(!f|!P[b>>1]){break a}G(h,0,128);v=N[c>>2];N[h+16>>2]=v;b:{if((f|0)<0){n=6;break b}c:{f=T(f,40);g=Qa[N[v+4>>2]](v,f)|0;if(g){G(g,0,f);N[h+8>>2]=g;g=M[b>>1];if((g|0)<0){N[h+12>>2]=0;n=6;break b}d:{if(g){f=g<<3;u=Qa[N[v+4>>2]](v,f)|0;if(!u|(g|0)<=0){break d}G(u,0,f)}N[h+12>>2]=u;break c}N[h+12>>2]=u;if(u){break c}n=!u<<6;break b}N[h+8>>2]=g;n=64;break b}r=M[b+2>>1];N[h>>2]=r;n=P[b>>1];A=n<<16>>16;N[h+4>>2]=A;l=N[h+8>>2];if(n){o=N[b+12>>2];f=u;while(1){s=M[o+(m<<1)>>1];t=T(i,40)+l|0;N[f>>2]=t;p=s+1|0;k=p-i|0;N[f+4>>2]=k;if(k){N[t>>2]=T(s,40)+l;N[t+8>>2]=f;g=t;e:{if((k|0)==1){break e}j=0;e=g;q=s-i&3;if(q){while(1){N[e+48>>2]=f;g=e+40|0;N[e+4>>2]=g;N[e+40>>2]=e;k=k-1|0;e=g;j=j+1|0;if((q|0)!=(j|0)){continue}break}}if(s+(i^-1)>>>0<3){break e}while(1){N[e+48>>2]=f;g=e+40|0;N[e+4>>2]=g;N[e+88>>2]=f;N[e+80>>2]=g;g=e+80|0;N[e+44>>2]=g;N[e+128>>2]=f;N[e+120>>2]=g;g=e+120|0;N[e+84>>2]=g;N[e+168>>2]=f;N[e+160>>2]=g;g=e+160|0;N[e+124>>2]=g;N[e+40>>2]=e;e=g;k=k-4|0;if(k>>>0>1){continue}break}}N[g+4>>2]=t}f=f+8|0;i=p;m=m+1|0;if((A|0)!=(m|0)){continue}break}}f:{if(!r){N[h+24>>2]=c;N[h+20>>2]=b;break f}e=N[b+4>>2];t=N[b+8>>2];k=0;f=l;while(1){j=(N[f+4>>2]-l|0)/40|0;g=(N[f>>2]-l|0)/40|0;if(!(L[k+t|0]&1)){N[f+12>>2]=1}i=(k<<3)+e|0;p=N[i+4>>2];g=(g<<3)+e|0;s=p-N[g+4>>2]|0;q=s>>31;m=N[i>>2];o=m-N[g>>2]|0;g=o>>31;w=(g^o)-g|0;x=(q^s)-q|0;g=(o|0)>=0?2:-2;g:{if(w>>>0>T(x,12)>>>0){break g}g=4;if(x>>>0<=T(w,12)>>>0){break g}g=(s|0)>=0?-1:1}L[f+20|0]=g;i=(j<<3)+e|0;q=N[i+4>>2]-p|0;p=q>>31;j=N[i>>2]-m|0;i=j>>31;y=(i^j)-i|0;z=(p^q)-p|0;i=(j|0)>=0?2:-2;h:{if(y>>>0>T(z,12)>>>0){break h}i=4;if(z>>>0<=T(y,12)>>>0){break h}i=(q|0)>=0?-1:1}L[f+21|0]=i;m=N[f+12>>2];i:{j:{if(m&1){break j}if((g|0)!=(i|0)){break i}if((i|0)!=4){break j}i=j+o|0;j=i>>31;g=q+s|0;p=g>>31;i=(i^j)-j|0;g=(g^p)-p|0;g=(T(g>>>0>i>>>0?i:g,3)>>>3|0)+(g>>>0>>0?i:g)|0;if((((T(z>>>0>y>>>0?y:z,3)>>>3|0)+(z>>>0>>0?y:z)+((T(x>>>0>w>>>0?w:x,3)>>>3|0)+(x>>>0>>0?w:x))|0)-g|0)>=(g>>>4|0)){break i}}N[f+12>>2]=m|2}f=f+40|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}N[h+24>>2]=c;N[h+20>>2]=b;b=r&3;if(b){f=0;while(1){N[l+24>>2]=0;N[l+16>>2]=0;N[l+28>>2]=N[e>>2];N[l+32>>2]=N[e+4>>2];e=e+8|0;l=l+40|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=r&-4}else{f=r}if(r>>>0<4){break f}while(1){N[l+24>>2]=0;N[l+16>>2]=0;N[l+28>>2]=N[e>>2];b=N[e+4>>2];N[l- -64>>2]=0;N[l+56>>2]=0;N[l+32>>2]=b;N[l+68>>2]=N[e+8>>2];b=N[e+12>>2];N[l+104>>2]=0;N[l+96>>2]=0;N[l+72>>2]=b;N[l+108>>2]=N[e+16>>2];b=N[e+20>>2];N[l+144>>2]=0;N[l+136>>2]=0;N[l+112>>2]=b;N[l+148>>2]=N[e+24>>2];N[l+152>>2]=N[e+28>>2];e=e+32|0;l=l+160|0;f=f-4|0;if(f){continue}break}}if(n){s=0;while(1){b=(s<<3)+u|0;k:{if(Q[b+4>>2]<4){break k}j=N[b>>2];e=j;while(1){e=N[e+4>>2];if((j|0)==(e|0)){break k}b=N[j+28>>2];l=N[e+28>>2];f=N[e+32>>2];i=N[j+32>>2];if((b|0)==(l|0)&(f|0)==(i|0)){continue}break}r=f-i|0;t=l-b|0;m=j;while(1){p=m;m=N[m>>2];if((j|0)==(m|0)){break k}g=b;b=N[m+28>>2];g=g-b|0;k=i;i=N[m+32>>2];k=k-i|0;if(!(g|k)){continue}o=Gn(t,r,g,k);if(!o){continue}break}b=p;while(1){q=o;r=k;t=g;n=b;m=0;j=f;i=l;while(1){b=e;e=N[e+4>>2];f=N[e+32>>2];k=f-j|0;l=N[e+28>>2];g=l-i|0;m=(e|0)==(p|0)?1:m;j=f;i=l;if(!(g|k)){continue}o=Gn(t,r,g,k);if(!o){continue}break}if((o^q)<0){while(1){N[n+12>>2]=N[n+12>>2]|4;n=N[n+4>>2];if((n|0)!=(b|0)){continue}break}N[b+12>>2]=N[b+12>>2]|4}if(!m){continue}break}}s=s+1|0;if((A|0)!=(s|0)){continue}break}}n=rp(h+28|0,a+16|0,a+28|0,v);if(n){break b}n=rp(h+68|0,a+52|0,a- -64|0,v);if(n){break b}a=N[h+24>>2];o=N[a+200>>2];p=c+416|0;q=N[a+404>>2];f=qb(N[p>>2],q);b=f+32&-64;r=!b|(b|0)==(f|0);if(!r){Vi(a,(b|0)<(f|0)?o+((o|0)/-50|0)|0:o,jb(q,b,f),0,0)}M[h+120>>1]=257;L[h+124|0]=(d|0)!=1;L[h+123|0]=(d|0)==2|(d|0)==4;L[h+122|0]=(d&-2)==2;t=c+932|0;g=N[h>>2];n=1;l=0;while(1){l:{if(!g){break l}a=g&3;f=N[N[h+20>>2]+4>>2];e=N[h+8>>2];if(!(n&1)){m:{if(!a){i=g;break m}i=g&-4;j=0;while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f+4>>2];N[e+32>>2]=N[f>>2];f=f+8|0;e=e+40|0;j=j+1|0;if((a|0)!=(j|0)){continue}break}}if(g>>>0<4){break l}while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f+4>>2];a=N[f>>2];N[e- -64>>2]=0;N[e+56>>2]=0;N[e+32>>2]=a;N[e+68>>2]=N[f+12>>2];a=N[f+8>>2];N[e+104>>2]=0;N[e+96>>2]=0;N[e+72>>2]=a;N[e+108>>2]=N[f+20>>2];a=N[f+16>>2];N[e+144>>2]=0;N[e+136>>2]=0;N[e+112>>2]=a;N[e+148>>2]=N[f+28>>2];N[e+152>>2]=N[f+24>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}break l}n:{if(!a){i=g;break n}i=g&-4;j=0;while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f>>2];N[e+32>>2]=N[f+4>>2];f=f+8|0;e=e+40|0;j=j+1|0;if((a|0)!=(j|0)){continue}break}}if(g>>>0<4){break l}while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f>>2];a=N[f+4>>2];N[e- -64>>2]=0;N[e+56>>2]=0;N[e+32>>2]=a;N[e+68>>2]=N[f+8>>2];a=N[f+12>>2];N[e+104>>2]=0;N[e+96>>2]=0;N[e+72>>2]=a;N[e+108>>2]=N[f+16>>2];a=N[f+20>>2];N[e+144>>2]=0;N[e+136>>2]=0;N[e+112>>2]=a;N[e+148>>2]=N[f+24>>2];N[e+152>>2]=N[f+28>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}}i=N[h+4>>2];o:{if(!i){m=0;break o}b=0;d=N[h+12>>2];while(1){p:{a=d+(b<<3)|0;if(!N[a+4>>2]){break p}a=N[a>>2];f=a;while(1){f=N[f>>2];if((a|0)==(f|0)){m=b+1|0;break o}if(N[f+28>>2]==N[a+28>>2]){continue}break}a=N[f+4>>2];e=a;while(1){k=e;while(1){e=N[e+4>>2];if((a|0)==(e|0)){break p}m=N[e+28>>2];j=N[k+28>>2];if((m|0)==(j|0)){continue}break}q:{r:{if((j|0)>N[f+28>>2]){if((j|0)>(m|0)){break r}break q}if((j|0)>=(m|0)){break q}}while(1){N[k+16>>2]=N[k+16>>2]|64;k=N[k+4>>2];if((k|0)!=(e|0)){continue}break}}f=N[e>>2];continue}}m=0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}while(1){if(g>>>0>m>>>0){f=N[h+8>>2];b=T(m,40);a=f+b|0;d=N[a+16>>2];s:{if(!(d&64)){break s}b=b+f|0;e=a;while(1){e=N[e>>2];if((a|0)==(e|0)){break s}f=N[e+32>>2];i=N[b+32>>2];if((f|0)==(i|0)){continue}break}e=a;while(1){e=N[e+4>>2];if((a|0)==(e|0)){break s}b=N[e+32>>2];if((b|0)==(i|0)){continue}break}t:{if((f|0)<(i|0)){e=128;if((b|0)>(i|0)){break t}}if((f|0)<=(i|0)){break s}e=256;if((b|0)>=(i|0)){break s}}N[a+16>>2]=d|e}m=m+1|0;continue}break}k=N[h+24>>2];m=T(l,40)+h|0;j=m+28|0;f=N[j>>2];if(f){e=N[j+8>>2];while(1){qp(e,k,l,h);e=e+28|0;f=f-1|0;if(f){continue}break}k=N[h+24>>2]}b=N[m+60>>2];e=N[b+8>>2];a=fb(32,N[(T(l,204)+k|0)+200>>2]);i=(a|0)>=30?30:a;d=n&1?1:2;u:{v:{w:{x:{y:{g=N[b>>2];z:{A:{B:{if(g>>>0>=2){b=N[h>>2];if(!b){m=0;break z}a=N[e+12>>2];f=a>>>0>>0?a:b;while(1){b=N[e+28>>2];a=N[h>>2];a=a>>>0>b>>>0?b:a;if(a>>>0>f>>>0){b=N[h+8>>2];pp(j,N[e+16>>2],N[e+24>>2]);op(N[j+4>>2],N[j+12>>2],b+T(f,40)|0,a-f|0,i,d)}e=e+16|0;f=a;g=g-1|0;if(g>>>0>1){continue}break}e=N[N[m+60>>2]+8>>2];break B}if((g|0)!=1){break A}}b=N[h+8>>2];a=N[h>>2];pp(j,N[e>>2],N[e+8>>2]);op(N[j+4>>2],N[j+12>>2],b,a,i,d)}m=N[h>>2];if(!m){m=0;break z}k=N[h+8>>2];e=k;f=m;if(f&1){C:{if(!N[e+24>>2]){break C}a=N[e+16>>2];if(a&16){break C}N[e+16>>2]=a|16}e=k+40|0;f=m-1|0}if((m|0)==1){break y}while(1){D:{if(!N[e+24>>2]){break D}a=N[e+16>>2];if(a&16){break D}N[e+16>>2]=a|16}E:{if(!N[e- -64>>2]){break E}a=N[e+56>>2];if(a&16){break E}N[e+56>>2]=a|16}e=e+80|0;f=f-2|0;if(f){continue}break}}if(!(l&1)){break x}if(!m){break v}k=N[h+8>>2];break w}m=1;if(l&1){break w}}g=0;np(h,0);mp(h,0);lp(h,0);a=N[h>>2];if(!a){break u}b=N[h+20>>2];d=N[b+8>>2];b=N[b+4>>2];f=0;e=N[h+8>>2];g=a;while(1){N[b+(f<<3)>>2]=N[e+36>>2];if(O[e+16|0]&16){a=d+f|0;L[a|0]=O[a|0]|32;g=N[h>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break u}while(1){a=O[k+20|0];F:{G:{if((a|0)==2|(a|0)==254){break G}a=O[k+21|0];if((a|0)==254){break G}if((a|0)!=2){break F}}j=N[k+16>>2];if(j&16){break F}i=N[k+28>>2];g=N[c+412>>2];H:{if(!g){break H}d=N[c+2488>>2];b=0-d|0;e=p;while(1){a=i-N[e+12>>2]|0;if((a|0)<(b|0)){break H}if(!(!O[c+2492|0]&(a|0)>N[c+2484>>2]|(i|0)>(d+N[e+8>>2]|0))){a=N[e+24>>2];j=j|48;N[k+16>>2]=j;N[k+36>>2]=a}e=e+32|0;g=g-1|0;if(g){continue}break}}g=N[c+928>>2];if(!g){break F}f=N[c+2488>>2];d=0-f|0;l=t+(g<<5)|0;while(1){a=l;l=a-32|0;b=N[l+8>>2]-i|0;if((b|0)<(d|0)){break F}if(!(!O[c+2492|0]&(b|0)>=N[c+2484>>2]|(i|0)<(N[a-20>>2]-f|0))){a=N[a-4>>2];j=j|48;N[k+16>>2]=j;N[k+36>>2]=a}g=g-1|0;if(g){continue}break}}k=k+40|0;m=m-1|0;if(m){continue}break}}np(h,1);mp(h,1);lp(h,1);g=N[h>>2];if(!g){g=0;break u}a=N[h+20>>2];d=N[a+8>>2];b=N[a+4>>2];f=0;e=N[h+8>>2];while(1){N[(b+(f<<3)|0)+4>>2]=N[e+36>>2];if(O[e+16|0]&16){a=d+f|0;L[a|0]=O[a|0]|64;g=N[h>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}if(!r){Vi(N[h+24>>2],o,q,0,0)}l=1;a=n&1;n=0;if(a){continue}break}}b=N[h+16>>2];a=N[h+92>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+80>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+76>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+52>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+40>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+36>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+8>>2];if(a){Qa[N[b+8>>2]](b,a)}N[h+8>>2]=0;a=N[h+12>>2];if(!a){break a}Qa[N[b+8>>2]](b,a)}La=h+128|0;return n|0}function gf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,T=0,U=0,W=0,X=0,Y=0;g=La-320|0;La=g;v=S[d+40>>3];r=S[d>>3];u=S[d+32>>3];n=S[d+24>>3];j=S[d+8>>3];s=r*u-n*j;A=S[c+24>>3];B=S[c+16>>3];L=r*A-B*j;y=v*s+L;C=S[d+16>>3];M=n*A-B*u;w=C*s-M;J=r*B+j*A;K=n*B+u*A;a:{if(!(s<0)){m=33;h=s;k=2;break a}y=-y;w=-w;h=-s;k=1}b:{X=J+K;c:{d:{if(!(X>0)){break d}z=r*n+j*u;e:{if(e&k){u=K+(C*z+v);r=J+(v*z+C);if(!(!(u>2];o=N[b+4>>2];x=La-32|0;La=x;g:{h:{if(f){N[a+56>>2]=k|N[a+56>>2];break h}I=k&(N[a+60>>2]^-1);j=S[a+88>>3]*S[a+24>>3];i:{if(V(j)<2147483648){i=~~j;break i}i=-2147483648}l=I&1;j=S[a+80>>3]*S[a+16>>3];j:{if(V(j)<2147483648){q=~~j;break j}q=-2147483648}if(l){N[x+28>>2]=i+o;N[x+24>>2]=q+D;t=N[a>>2];l=N[x+28>>2];N[x+16>>2]=N[x+24>>2];N[x+20>>2]=l;l=0;if(!Fb(t,x+16|0,1)){break g}}if(!(I&2)){break h}N[x+28>>2]=o-i;N[x+24>>2]=D-q;i=N[a+4>>2];q=N[x+28>>2];N[x+8>>2]=N[x+24>>2];N[x+12>>2]=q;l=0;if(!Fb(i,x+8|0,1)){break g}}N[a+60>>2]=k|N[a+60>>2];l=1}La=x+32|0;if(!l){break c}k:{if(u<0|r<0){if(!yi(a,N[b>>2],N[b+4>>2],0,0,k)){break c}if(yi(a,N[b+24>>2],N[b+28>>2],0,0,k)){break k}break c}h=u/h;if(!yi(a,N[b>>2],N[b+4>>2],h*S[d>>3],h*S[d+8>>3],k)){break c}}q=(k^-1)&e;if(q){break f}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;p=1;break c}k=e^k;break e}q=L<0?m|64:m;m=M<0?q^65:q;i=m&64;q=i>>>6|0;l:{m:{n:{o:{p:{q:{if(z+w<1){r:{if(!i){break r}m=(z<0?642:130)^m;if(!(h0)){m=m^193;break q}m=m^705}if(!(z+y<1)){break o}if(!i){break m}break n}if(z+y<1){m=m^65;break n}m=m^1;break l}if(i){m=m^64;break l}if(!(z>0)){m=m^320;break l}m=m^1344;break l}m=(z<0?1284:260)^m;if(!(h>>0>2?k:0)^e}else{k=e}q=e}s:{if(!k){break s}O=z+1;T=(L+M)/X;P=T*T;Q=O*P;R=s*s;w=O*Q;v=R*3+w*3;j=s*T;r=j*6*O;U=v-r;h=aa(O*.5);H=h*1.5*(h+1);E=j+j;u=E*(z+4);n=R+R+Q*-6;C=u+n;y=U+U+H*C;A=z+-1;j=A+A+P*3;h=j-E;W=r+v;r=n-u;B=W+W+H*r;u=E+j;w=z*((w-R)*3.6);n=(R-Q*z)*7.2;v=w+w+H*n;j=A*4+z*(P*3.6);v=(y*(U-H*h*H)+(B*(W-H*u*H)+(v*(w-H*j*H)+0)))/((y*y+(B*B+(v*v+0)))*H+1e-9);h=v*(v*U+C)+h;P=h*h;h=v*(v*W+r)+u;Q=h*h;h=v*(v*w+n)+j;if(!(S[a+144>>3]>P+(Q+(h*h+0)))){break s}n=v*O+-1;j=T*n;h=s*v;E=j+h;y=j-h;l=m&32;i=l?2:1;t:{if(!(i&k)){A=S[d+40>>3];B=S[d+16>>3];break t}h=n;n=l?-s:s;e=h*(n+n)>3];j=l?-y:y;e=B-j<0?e|2:e;h=l?-E:E;A=S[d+40>>3];e=h+A<0?e|4:e;e=n+(J+B)-h*z<0?e|8:e;if(!(((j*z+(n+(K+A))<0?e|16:e)^m)&m>>>6)){break t}k=(i^-1)&k;if(!k){break s}}v=L+L;C=J+J;w=S[a+152>>3];if(!(V(y*3*B+v)<(B*3+C)*w)){break s}r=M+M;u=K+K;if(!(V(E*3*A+r)<(A*3+u)*w)){break s}n=z*B;j=s*B;s=A*-s;h=z*A;if(!(V(E*n+(y*C+v-j)-s/3)>2];r=S[d+8>>3];u=S[d+32>>3];o=N[b>>2];n=S[d>>3];j=S[d+24>>3];I=k^-1;N[a+60>>2]=I&N[a+60>>2];h=S[a+88>>3]*S[a+24>>3];u:{if(V(h)<2147483648){i=~~h;break u}i=-2147483648}G=k&1;h=S[a+80>>3]*S[a+16>>3];v:{if(V(h)<2147483648){e=~~h;break v}e=-2147483648}if(G){N[g+84>>2]=i+D;N[g+80>>2]=e+o;t=N[a>>2];l=N[g+84>>2];N[g+72>>2]=N[g+80>>2];N[g+76>>2]=l;p=0;if(!Fb(t,g+72|0,3)){break c}}Y=k&2;if(Y){N[g+84>>2]=D-i;N[g+80>>2]=o-e;i=N[a+4>>2];e=N[g+84>>2];N[g+64>>2]=N[g+80>>2];N[g+68>>2]=e;p=0;if(!Fb(i,g- -64|0,3)){break c}}s=r*y+n;x=N[b+12>>2];D=N[b+8>>2];h=(r-n*y)*S[a+24>>3];w:{if(V(h)<2147483648){k=~~h;break w}k=-2147483648}h=s*S[a+16>>3];x:{if(V(h)<2147483648){i=~~h;break x}i=-2147483648}if(G){m=N[a>>2];t=N[m+4>>2];if(!t){break b}p=0;o=i+D|0;e=o>>31;if((e^o)-e>>>0>268435455){break c}e=k+x|0;l=e>>31;if((e^l)-l>>>0>268435455){break c}p=N[m>>2];y:{if(t>>>0>p>>>0){t=N[m+16>>2];break y}p=0;N[147316]=0;l=t<<1;t=id(N[m+16>>2],l,8);N[m+16>>2]=t;if(N[147316]){break c}N[m+4>>2]=l;p=N[m>>2]}l=(p<<3)+t|0;N[l>>2]=o;N[l+4>>2]=e;N[m>>2]=N[m>>2]+1}if(Y){o=N[a+4>>2];t=N[o+4>>2];if(!t){break b}p=0;l=D-i|0;e=l>>31;if((e^l)-e>>>0>268435455){break c}e=x-k|0;i=e>>31;if((e^i)-i>>>0>268435455){break c}p=N[o>>2];z:{if(t>>>0>p>>>0){k=N[o+16>>2];break z}p=0;N[147316]=0;i=t<<1;k=id(N[o+16>>2],i,8);N[o+16>>2]=k;if(N[147316]){break c}N[o+4>>2]=i;p=N[o>>2]}i=(p<<3)+k|0;N[i>>2]=l;N[i+4>>2]=e;N[o>>2]=N[o>>2]+1}s=u*E+j;x=N[b+20>>2];D=N[b+16>>2];h=(u-j*E)*S[a+24>>3];A:{if(V(h)<2147483648){k=~~h;break A}k=-2147483648}h=s*S[a+16>>3];B:{if(V(h)<2147483648){i=~~h;break B}i=-2147483648}if(G){G=N[a>>2];o=N[G+4>>2];if(!o){break b}p=0;t=i+D|0;e=t>>31;if((e^t)-e>>>0>268435455){break c}e=k+x|0;l=e>>31;if((e^l)-l>>>0>268435455){break c}p=N[G>>2];C:{if(o>>>0>p>>>0){m=N[G+16>>2];break C}p=0;N[147316]=0;l=o<<1;m=id(N[G+16>>2],l,8);N[G+16>>2]=m;if(N[147316]){break c}N[G+4>>2]=l;p=N[G>>2]}l=(p<<3)+m|0;N[l>>2]=t;N[l+4>>2]=e;N[G>>2]=N[G>>2]+1}D:{if(Y){o=N[a+4>>2];t=N[o+4>>2];if(!t){break D}p=0;l=D-i|0;e=l>>31;if((e^l)-e>>>0>268435455){break c}e=x-k|0;i=e>>31;if((e^i)-i>>>0>268435455){break c}p=N[o>>2];E:{if(t>>>0>p>>>0){k=N[o+16>>2];break E}p=0;N[147316]=0;i=t<<1;k=id(N[o+16>>2],i,8);N[o+16>>2]=k;if(N[147316]){break c}N[o+4>>2]=i;p=N[o>>2]}i=(p<<3)+k|0;N[i>>2]=l;N[i+4>>2]=e;N[o>>2]=N[o>>2]+1}e=q&I;if(e){break d}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;p=1;break c}break b}e=q}o=N[b+12>>2];x=N[b+8>>2];I=N[b>>2];t=N[b+24>>2];D=N[b+16>>2];l=N[b+4>>2];i=N[b+20>>2];q=i+N[b+28>>2]|0;N[g+300>>2]=q>>1;k=q;q=(i+o|0)+2|0;k=k+q|0;N[g+292>>2]=k>>2;i=l+o|0;q=i+q|0;N[g+276>>2]=q>>2;o=(k+q|0)-1>>3;N[g+284>>2]=o;q=t+D|0;N[g+296>>2]=q>>1;k=x+I|0;N[g+264>>2]=k>>1;N[g+268>>2]=i>>1;i=q;q=(x+D|0)+2|0;i=i+q|0;N[g+288>>2]=i>>2;q=k+q|0;N[g+272>>2]=q>>2;l=(i+q|0)-1>>3;N[g+280>>2]=l;i=N[b+4>>2];q=N[b>>2];N[g+256>>2]=q;N[g+260>>2]=i;k=N[b+28>>2];N[g+304>>2]=N[b+24>>2];N[g+308>>2]=k;r=S[c>>3]*.5;S[g+176>>3]=r;u=S[c+8>>3]*.5;S[g+184>>3]=u;s=S[c+24>>3];n=S[c+16>>3];j=S[c+32>>3]*.5;S[g+240>>3]=j;h=S[c+40>>3];s=s*.5;C=(u+s)*.5;S[g+200>>3]=C;h=h*.5;S[g+248>>3]=h;u=(s+h)*.5;S[g+232>>3]=u;w=(C+u)*.5;S[g+216>>3]=w;h=n*.5;n=(r+h)*.5;S[g+192>>3]=n;h=(h+j)*.5;S[g+224>>3]=h;r=(n+h)*.5;S[g+208>>3]=r;t=g+208|0;k=g+280|0;j=aa(r*r+w*w);s=S[a+128>>3];if(j>2];N[g+80>>2]=N[d>>2];N[g+84>>2]=b;b=N[d+12>>2];N[g+88>>2]=N[d+8>>2];N[g+92>>2]=b;S[g+96>>3]=S[d+16>>3]*.5;b=N[d+36>>2];N[g+160>>2]=N[d+32>>2];N[g+164>>2]=b;b=N[d+28>>2];N[g+152>>2]=N[d+24>>2];N[g+156>>2]=b;S[g+168>>3]=S[d+40>>3]*.5;v=n+r;S[g+192>>3]=v;r=h+r;S[g+224>>3]=r;n=u+w;S[g+232>>3]=n;j=C+w;S[g+200>>3]=j;N[t>>2]=0;N[t+4>>2]=0;N[t+8>>2]=0;N[t+12>>2]=0;h=aa(v*v+j*j);c=h>2];N[g+120>>2]=N[d+16>>2];N[g+124>>2]=b;b=N[d+12>>2];N[g+112>>2]=N[d+8>>2];N[g+116>>2]=b;b=N[d+4>>2];N[g+104>>2]=N[d>>2];N[g+108>>2]=b;break F}S[g+120>>3]=h;h=1/h;S[g+112>>3]=j*h;S[g+104>>3]=v*h}h=s;s=aa(r*r+n*n);G:{if(h>s){b=N[d+44>>2];N[g+144>>2]=N[d+40>>2];N[g+148>>2]=b;b=N[d+36>>2];N[g+136>>2]=N[d+32>>2];N[g+140>>2]=b;b=N[d+28>>2];N[g+128>>2]=N[d+24>>2];N[g+132>>2]=b;break G}S[g+144>>3]=s;h=1/s;S[g+136>>3]=n*h;S[g+128>>3]=r*h}H:{if(c){N[a+60>>2]=N[a+60>>2]&(e^-1);h=S[a+88>>3]*S[a+24>>3];I:{if(V(h)<2147483648){d=~~h;break I}d=-2147483648}b=i;f=e&1;h=S[a+80>>3]*S[a+16>>3];J:{if(V(h)<2147483648){c=~~h;break J}c=-2147483648}if(f){N[g+316>>2]=b+d;N[g+312>>2]=c+q;i=N[a>>2];f=N[g+316>>2];N[g+56>>2]=N[g+312>>2];N[g+60>>2]=f;p=0;if(!Fb(i,g+56|0,1)){break c}}if(!(e&2)){break H}N[g+316>>2]=b-d;N[g+312>>2]=q-c;c=N[a+4>>2];b=N[g+316>>2];N[g+48>>2]=N[g+312>>2];N[g+52>>2]=b;p=0;if(Fb(c,g+48|0,1)){break H}break c}p=0;if(!gf(a,g+256|0,g+176|0,g+80|0,e,f)){break c}}d=N[g+272>>2];c=N[g+276>>2];b=N[g+140>>2];N[g+32>>2]=N[g+136>>2];N[g+36>>2]=b;N[g+40>>2]=d;N[g+44>>2]=c;b=N[g+132>>2];N[g+24>>2]=N[g+128>>2];N[g+28>>2]=b;p=0;if(!we(a,g+40|0,g+24|0,e)){break c}K:{if(s>3]){N[a+60>>2]=N[a+60>>2]&(e^-1);h=S[a+88>>3]*S[a+24>>3];L:{if(V(h)<2147483648){c=~~h;break L}c=-2147483648}d=e&1;h=S[a+80>>3]*S[a+16>>3];M:{if(V(h)<2147483648){b=~~h;break M}b=-2147483648}if(d){N[g+316>>2]=c+o;N[g+312>>2]=b+l;f=N[a>>2];d=N[g+316>>2];N[g+16>>2]=N[g+312>>2];N[g+20>>2]=d;if(!Fb(f,g+16|0,1)){break c}}if(!(e&2)){break K}N[g+316>>2]=o-c;N[g+312>>2]=l-b;b=N[a+4>>2];a=N[g+316>>2];N[g+8>>2]=N[g+312>>2];N[g+12>>2]=a;if(Fb(b,g+8|0,1)){break K}break c}if(!gf(a,k,t,g+128|0,e,0)){break c}}p=1;break c}b=N[d+4>>2];N[g+80>>2]=N[d>>2];N[g+84>>2]=b;b=N[d+12>>2];N[g+88>>2]=N[d+8>>2];N[g+92>>2]=b;s=S[d+16>>3];h=1/j;S[g+112>>3]=w*h;S[g+120>>3]=j;S[g+104>>3]=r*h;S[g+96>>3]=s*.5;b=N[d+36>>2];N[g+136>>2]=N[d+32>>2];N[g+140>>2]=b;b=N[d+28>>2];N[g+128>>2]=N[d+24>>2];N[g+132>>2]=b;S[g+144>>3]=S[d+40>>3]*.5;p=0;if(!gf(a,g+256|0,g+176|0,g+80|0,e,f)){break c}p=gf(a,k,t,g+104|0,e,0)}La=g+320|0;return p}ba(9920,18249,281,9160);F()}function BA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=La-80|0;La=f;j=N[a+8>>2];a:{if(!j){b=6;break a}m=N[a>>2];c=N[a+4>>2];b:{if(N[c+12>>2]>1){break b}kd(c);if(N[c+12>>2]>1){break b}e=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=e>>>0){break b}d=b+1|0;N[c>>2]=d;g=O[b|0];b=d;if(!(1<>>0>26){continue}break}}while(1){c:{N[c+12>>2]=0;d=hf(c);if(d){break c}b=2;if(N[c+12>>2]==2){continue}break a}break}b=2;if((N[c>>2]+(d^-1)|0)!=16){break a}if(bb(d,11361,16)){break a}g=160;d:{e:{f:{g:while(1){c=N[a+4>>2];h:{if(N[c+12>>2]>1){break h}kd(c);if(N[c+12>>2]>1){break h}h=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=h>>>0){break h}d=b+1|0;N[c>>2]=d;e=O[b|0];b=d;if(!(1<>>0>26){continue}break}}while(1){i:{N[c+12>>2]=0;e=hf(c);if(e){break i}if(N[c+12>>2]==2){continue}break d}break}h=N[c>>2]+(e^-1)|0;b=O[e|0];c=0;while(1){j:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break j}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break j}d=c|2;if((d|0)==74){continue g}if((b|0)==O[N[(d<<2)+294496>>2]]){break j}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break j}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){i=N[(d<<2)+294496>>2];if((b|0)!=O[i|0]){continue g}if(bb(i,e,h)){i=(c|0)==(d|0);d=d+1|0;if(i){continue g}continue}break}b=0;k:{l:{switch(d|0){case 40:N[f+32>>2]=3;if((dd(a,f+32|0,1)|0)!=1){break d}if(!(N[f+36>>2]&-3)){continue}g=7;break d;case 30:N[f>>2]=4;if((dd(a,f,1)|0)!=1){break d}L[j|0]=O[f+4|0];continue;case 26:N[f+24>>2]=2;N[f+16>>2]=2;N[f+8>>2]=2;N[f>>2]=2;if((dd(a,f,4)|0)!=4){break d}N[j+4>>2]=N[f+4>>2];N[j+8>>2]=N[f+12>>2];N[j+12>>2]=N[f+20>>2];N[j+16>>2]=N[f+28>>2];continue;case 0:N[f>>2]=2;if((dd(a,f,1)|0)!=1){break d}N[j+20>>2]=N[f+4>>2];continue;case 14:N[f>>2]=2;if((dd(a,f,1)|0)!=1){break d}N[j+24>>2]=N[f+4>>2];continue;case 45:N[f+32>>2]=3;if((dd(a,f+32|0,1)|0)!=1){break d}c=N[f+36>>2];if((c|0)<=0){break k}m:while(1){i=N[a+4>>2];n:{if(N[i+12>>2]>=2){d=N[i>>2];h=N[i+8>>2];break n}kd(i);d=N[i>>2];h=N[i+8>>2];if(N[i+12>>2]>1){break n}while(1){if(d>>>0>=h>>>0){break n}b=d+1|0;N[i>>2]=b;g=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[i+12>>2]=0;if(d>>>0>=h>>>0){break f}e=c-1|0;while(1){b=d+1|0;N[i>>2]=b;o:{switch(O[d|0]-9|0){case 0:case 23:d=b;if((h|0)!=(b|0)){continue}break f;default:p:{q:{r:{while(1){s:{if(b>>>0>=h>>>0){break s}d=b;g=1;b=b+1|0;N[i>>2]=b;switch(O[d|0]-9|0){case 0:case 23:break p;case 50:break q;case 1:case 4:break r;case 17:break s;default:continue}}break}g=3;break q}g=2}N[i+12>>2]=g}b=(c|0)>1;c=e;if(b){continue m}break k;case 50:N[i+12>>2]=1;break e;case 1:case 4:break o;case 17:break f}}N[i+12>>2]=0;d=b;if(h>>>0>b>>>0){continue}break}break};break f;case 20:break a;case 49:break l;default:continue}}i=1;t:while(1){e=N[a+4>>2];u:{if(N[e+12>>2]>=2){d=N[e>>2];h=N[e+8>>2];break u}kd(e);d=N[e>>2];h=N[e+8>>2];if(N[e+12>>2]>1){break u}while(1){if(d>>>0>=h>>>0){break u}b=d+1|0;N[e>>2]=b;c=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[e+12>>2]=0;v:{if(d>>>0>=h>>>0){break v}w:{x:{y:{z:{while(1){A:{b=d+1|0;N[e>>2]=b;B:{switch(O[d|0]-9|0){case 0:case 23:d=b;if((h|0)!=(b|0)){continue}break v;default:while(1){if(b>>>0>=h>>>0){break y}g=b;c=1;b=b+1|0;N[e>>2]=b;switch(O[g|0]-9|0){case 0:case 23:break w;case 50:break x;case 17:break y;case 1:case 4:break z;default:continue}};case 17:break v;case 50:break A;case 1:case 4:break B}}N[e+12>>2]=0;d=b;if(h>>>0>b>>>0){continue}break v}break}N[e+12>>2]=1;g=160;break d}c=2;break x}c=3}N[e+12>>2]=c}e=(d^-1)+b|0;g=O[d|0];b=0;while(1){C:{if((g|0)==O[N[(b<<2)+294496>>2]]){c=b;break C}c=b|1;if((g|0)==O[N[(c<<2)+294496>>2]]){break C}c=b|2;if((c|0)==74){continue t}if((g|0)==O[N[(c<<2)+294496>>2]]){break C}c=b|3;if((g|0)==O[N[(c<<2)+294496>>2]]){break C}b=b+4|0;continue}break}b=(c|0)<=73?73:c;while(1){h=N[(c<<2)+294496>>2];if((g|0)!=O[h|0]){continue t}if(bb(h,d,e)){h=(b|0)==(c|0);c=c+1|0;if(h){continue t}continue}break}if((c|0)==75){continue}b=0;g=160;D:{switch(c-20|0){case 33:if(!i){break d}d=N[a+4>>2];e=N[a+8>>2];N[f+32>>2]=3;c=f+32|0;if((dd(a,c,1)|0)!=1){break d}b=N[f+36>>2];if((b|0)<0){break d}N[e+32>>2]=b;if(b>>>0>(N[d+8>>2]-N[d>>2]>>>0)/20>>>0){break d}if(b){n=e,o=lb(N[a>>2],20,0,b,0,c),N[n+28>>2]=o;g=N[f+32>>2];if(g){break d}}g=-1;E:while(1){c=N[a+4>>2];F:{if(N[c+12>>2]>1){break F}kd(c);if(N[c+12>>2]>1){break F}i=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=i>>>0){break F}d=b+1|0;N[c>>2]=d;h=O[b|0];b=d;if(!(1<>>0>26){continue}break}}G:{while(1){N[c+12>>2]=0;h=hf(c);if(h){break G}if(N[c+12>>2]==2){continue}break}g=160;break d}i=N[c>>2]+(h^-1)|0;b=O[h|0];c=0;while(1){H:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break H}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break H}d=c|2;if((d|0)==74){continue E}if((b|0)==O[N[(d<<2)+294496>>2]]){break H}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break H}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){k=N[(d<<2)+294496>>2];if((b|0)!=O[k|0]){continue E}if(bb(k,h,i)){k=(c|0)==(d|0);d=d+1|0;if(k){continue E}continue}break}I:{J:{switch(d-20|0){case 36:g=g+1|0;if((g|0)>=N[e+32>>2]){break I}b=N[e+28>>2];N[f+64>>2]=2;N[f+56>>2]=2;N[f+48>>2]=2;N[f+40>>2]=2;N[f+32>>2]=3;if((dd(a,f+32|0,5)|0)!=5){break I}b=T(g,20)+b|0;N[b>>2]=N[f+36>>2];N[b+4>>2]=N[f+44>>2];N[b+8>>2]=N[f+52>>2];N[b+12>>2]=N[f+60>>2];N[b+16>>2]=N[f+68>>2];continue;case 0:case 1:case 3:b=g+1|0;if((b|0)!=N[e+32>>2]){N[e+32>>2]=b}i=0;continue t;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break I;default:break J}}if((d|0)==75){continue}}break};g=160;break d;case 0:case 1:break a;case 30:case 31:break D;default:break d}}if(l){break d}d=N[a+4>>2];h=N[a+8>>2];N[f+32>>2]=3;c=f+32|0;if((dd(a,c,1)|0)!=1){break d}b=N[f+36>>2];if((b|0)<0){break d}N[h+40>>2]=b;if(b>>>0>(N[d+8>>2]-N[d>>2]>>>0)/10>>>0){break d}if(b){n=h,o=lb(N[a>>2],16,0,b,0,c),N[n+36>>2]=o;g=N[f+32>>2];if(g){break d}}g=-1;K:{L:while(1){c=N[a+4>>2];M:{if(N[c+12>>2]>1){break M}kd(c);if(N[c+12>>2]>1){break M}l=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=l>>>0){break M}d=b+1|0;N[c>>2]=d;e=O[b|0];b=d;if(!(1<>>0>26){continue}break}}N:{while(1){N[c+12>>2]=0;e=hf(c);if(e){break N}if(N[c+12>>2]==2){continue}break}g=160;break d}l=N[c>>2]+(e^-1)|0;b=O[e|0];c=0;while(1){O:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break O}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break O}d=c|2;if((d|0)==74){continue L}if((b|0)==O[N[(d<<2)+294496>>2]]){break O}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break O}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){k=N[(d<<2)+294496>>2];if((b|0)!=O[k|0]){continue L}if(bb(k,e,l)){k=(c|0)==(d|0);d=d+1|0;if(k){continue L}continue}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){g=160;break d}b=1<=N[h+40>>2]){break P}b=N[h+36>>2];N[f+56>>2]=3;N[f+48>>2]=3;N[f+40>>2]=5;N[f+32>>2]=5;l=dd(a,f+32|0,4);if((l|0)<3){break P}e=(g<<4)+b|0;N[e>>2]=N[f+36>>2];N[e+4>>2]=N[f+44>>2];c=0;b=N[f+52>>2];if((d|0)!=37){c=b;b=(d|0)==34?(l|0)==4?N[f+60>>2]:0:0}N[e+12>>2]=b;N[e+8>>2]=c;continue}break}g=160;break d}b=g+1|0;if((b|0)!=N[h+40>>2]){N[h+40>>2]=b}Yc(N[h+36>>2],b,16,361);l=1;continue}break}N[e+12>>2]=3;g=160;break d}while(1){e=N[a+4>>2];Q:{if(N[e+12>>2]>=2){d=N[e>>2];h=N[e+8>>2];break Q}kd(e);d=N[e>>2];h=N[e+8>>2];if(N[e+12>>2]>1){break Q}while(1){if(d>>>0>=h>>>0){break Q}b=d+1|0;N[e>>2]=b;c=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[e+12>>2]=0;R:{if(d>>>0>=h>>>0){break R}S:{T:{U:{while(1){V:{b=d+1|0;N[e>>2]=b;W:{switch(O[d|0]-9|0){case 50:N[e+12>>2]=1;break e;case 0:case 23:d=b;if((h|0)!=(b|0)){continue}break R;default:while(1){if(b>>>0>=h>>>0){break U}g=b;c=1;b=b+1|0;N[e>>2]=b;switch(O[g|0]-9|0){case 0:case 23:break S;case 50:break T;case 17:break U;case 1:case 4:break V;default:continue}};case 17:break R;case 1:case 4:break W}}N[e+12>>2]=0;d=b;if(h>>>0>b>>>0){continue}break R}break}c=2;break T}c=3}N[e+12>>2]=c}e=(d^-1)+b|0;g=O[d|0];c=0;X:{while(1){Y:{if((g|0)==O[N[(c<<2)+294496>>2]]){b=c;break Y}b=c|1;if((g|0)==O[N[(b<<2)+294496>>2]]){break Y}b=c|2;if((b|0)==74){c=75;break X}if((g|0)==O[N[(b<<2)+294496>>2]]){break Y}b=c|3;if((g|0)==O[N[(b<<2)+294496>>2]]){break Y}c=c+4|0;continue}break}h=(b|0)<=73?73:b;while(1){c=75;i=N[(b<<2)+294496>>2];if((g|0)!=O[i|0]){break X}if(!bb(i,d,e)){c=b;break X}i=(b|0)==(h|0);b=b+1|0;if(!i){continue}break}}g=0;switch(c-17|0){case 0:case 3:continue g;default:continue}}break}break}N[e+12>>2]=3;break e}N[i+12>>2]=3}b=160;break a}a=N[j+28>>2];if(a){Qa[N[m+8>>2]](m,a)}N[j+28>>2]=0;N[j+32>>2]=0;a=N[j+36>>2];if(a){Qa[N[m+8>>2]](m,a)}L[j|0]=0;N[j+36>>2]=0;N[j+40>>2]=0;b=g}La=f+80|0;return b|0}function ph(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{g=N[b+4>>2];b:{if(g>>>0>a>>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break b}f=N[b+12>>2];d=f-2|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=O[a|0]|O[a+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<2){break b}d=a+4|0;if(d>>>0>h>>>0|h-d>>>0<4){break b}f=f-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}c=1;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break b}c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);o=c>>>0<=1?1:c;p=c-1|0;e=a+8|0;while(1){c:{if(e>>>0>>0|e>>>0>h>>>0|h-e>>>0<12){break c}d=N[b+12>>2];a=d-12|0;N[b+12>>2]=a;if((a|0)<=0){break c}a=N[b+32>>2];c=N[a+12>>2];N[b+4>>2]=c;a=N[a+16>>2];h=a+c|0;N[b+8>>2]=h;d:{e:{f:{g:{h:{if((a|0)>=0){i:{j:{a=m>>>0

>>0?e:0;if(a){if(a>>>0>>0&a>>>0>=c>>>0){break j}N[b+4>>2]=0;N[b+8>>2]=0;c=0;h=0;break i}if(c>>>0<=e>>>0){break i}a=0;break d}N[b+4>>2]=a;f=h-a|0;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=a+(c>>>0>f>>>0?f:c)|0;N[b+8>>2]=h;c=a}a=0;if(e>>>0>h>>>0){break d}f=h-e|0;if(f>>>0<12){break d}g=d-24|0;N[b+12>>2]=g;if((g|0)<=0){break d}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0<13|d>>>0>f>>>0){break d}d=g-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}k:{switch((O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24))>>>24|0){case 0:f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<8){break d}d=d-8|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);c=TE(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24),0,6,0);if(Pa){break d}if(!c){break e}f=e+28|0;if(f>>>0>h>>>0|c>>>0>h-f>>>0){break d}c=d-c|0;N[b+12>>2]=c;if((c|0)>0){break e}break d;case 1:break k;case 2:break f;case 4:break g;case 6:break h;default:break e}}if(f>>>0<32|c>>>0>e>>>0){break d}f=d-32|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<16){break d}f=d-48|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<4){break d}f=e+16|0;if(f>>>0>h>>>0|h-f>>>0<4){break d}d=d-52|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(d&128){break d}if(!xc(c+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break d}d=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((i|0)<0){break d}a=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);j=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);k=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;n=i<<1;d=0;h=0;a=0;while(1){l:{m:{n:{if((d|0)<=(h|0)){f=h+1|0;c=TE(f,0,n,0);if(Pa){a=0;break d}o:{if(!c){g=N[b+12>>2];break o}if(k>>>0>2]){a=0;break d}g=N[b+8>>2];if(g>>>0>>0){a=0;break d}if(c>>>0>g-k>>>0){a=0;break d}g=N[b+12>>2]-c|0;N[b+12>>2]=g;if((g|0)>0){break o}a=0;break d}c=((h^-1)+d|0)+g|0;N[b+12>>2]=c;if((c|0)<=0){a=0;break d}TE(f,0,i,0);if(Pa){a=0;break d}c=T(f,i);if((c|0)<0){a=0;break d}d=T(d,i);if((d|0)<(c|0)){break n}d=f}if(!a){c=N[b+12>>2]+a|0;N[b+12>>2]=c;a=0;if((c|0)<=0){break d}break l}c=a;break m}l=k+(c<<1)|0;g=k+(d<<1)|0;c=a;while(1){d=O[g|0]|O[g+1|0]<<8;d=((d<<8|d>>>8)&65535)+1|0;c=c>>>0>d>>>0?c:d;g=g+2|0;if(l>>>0>g>>>0){continue}break}d=f}if(j>>>0>2]){a=0;break d}f=N[b+8>>2];if(f>>>0>>0){a=0;break d}l=f-j|0;f=T(c,6);if(l>>>0>>0){a=0;break d}g=N[b+12>>2]-f|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}g=g+(a-c|0)|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}if((a|0)>=(c|0)){a=c;break l}f=f+j|0;g=j+T(a,6)|0;while(1){a=O[g|0]|O[g+1|0]<<8;a=(a<<8|a>>>8)&65535;h=(a|0)<(h|0)?h:a;g=g+6|0;if(f>>>0>g>>>0){continue}break}a=c}if((d|0)<=(h|0)){continue}break}break e}break a}if(f>>>0<36|c>>>0>e>>>0){break d}c=d-36|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=e+20|0;f=c>>>0>h>>>0|h-c>>>0<4;p:{if(L[e+15|0]&1){if(f){break d}d=d-40|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!jl((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+24|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!jl((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+28|0]|O[e+29|0]<<8|(O[e+30|0]<<16|O[e+31|0]<<24);if(!c){break p}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)>0){break p}break d}if(f){break d}d=d-40|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!xc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+24|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!xc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+28|0]|O[e+29|0]<<8|(O[e+30|0]<<16|O[e+31|0]<<24);if(!c){break p}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}}if(!(O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24))){break e}c=O[e+32|0]|O[e+33|0]<<8|(O[e+34|0]<<16|O[e+35|0]<<24);if(!c){break e}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}break e}if(f>>>0<32|c>>>0>e>>>0){break d}f=d-32|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<16){break d}f=d-48|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<4){break d}f=e+16|0;if(f>>>0>h>>>0|h-f>>>0<4){break d}d=d-52|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(d&128){break d}if(!xc(c+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break d}d=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((i|0)<0){break d}a=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);j=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);k=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;n=i<<1;d=0;h=0;a=0;while(1){q:{r:{s:{if((d|0)<=(h|0)){f=h+1|0;c=TE(f,0,n,0);if(Pa){a=0;break d}t:{if(!c){g=N[b+12>>2];break t}if(k>>>0>2]){a=0;break d}g=N[b+8>>2];if(g>>>0>>0){a=0;break d}if(c>>>0>g-k>>>0){a=0;break d}g=N[b+12>>2]-c|0;N[b+12>>2]=g;if((g|0)>0){break t}a=0;break d}c=((h^-1)+d|0)+g|0;N[b+12>>2]=c;if((c|0)<=0){a=0;break d}TE(f,0,i,0);if(Pa){a=0;break d}c=T(f,i);if((c|0)<0){a=0;break d}d=T(d,i);if((d|0)<(c|0)){break s}d=f}if(!a){c=N[b+12>>2]+a|0;N[b+12>>2]=c;a=0;if((c|0)<=0){break d}break q}c=a;break r}l=k+(c<<1)|0;g=k+(d<<1)|0;c=a;while(1){d=O[g|0]|O[g+1|0]<<8;d=((d<<8|d>>>8)&65535)+1|0;c=c>>>0>d>>>0?c:d;g=g+2|0;if(l>>>0>g>>>0){continue}break}d=f}if(j>>>0>2]){a=0;break d}f=N[b+8>>2];if(f>>>0>>0){a=0;break d}l=f-j|0;f=T(c,6);if(l>>>0>>0){a=0;break d}g=N[b+12>>2]-f|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}g=g+(a-c|0)|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}if((a|0)>=(c|0)){a=c;break q}f=f+j|0;g=j+T(a,6)|0;while(1){a=O[g|0]|O[g+1|0]<<8;a=(a<<8|a>>>8)&65535;h=(a|0)<(h|0)?h:a;g=g+6|0;if(f>>>0>g>>>0){continue}break}a=c}if((d|0)<=(h|0)){continue}break}break e}if(f>>>0<28|c>>>0>e>>>0){break d}c=d-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=e+16|0;if(c>>>0>h>>>0|h-c>>>0<4){break d}d=d-32|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!xc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+20|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!xc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);if(!c){break e}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}}a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+e|0;a=1}c=N[b+32>>2];g=N[c+12>>2];N[b+4>>2]=g;c=N[c+16>>2];h=c+g|0;N[b+8>>2]=h;if((c|0)<0){break a}if(!a){break c}c=1;m=m+1|0;if((o|0)!=(m|0)){continue}break b}break}c=0}return c}ba(16656,14279,195,9642);F()}function nv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=La-32|0;La=o;q=6;p=N[a+4>>2];a:{if(!p){break a}e=c-1|0;t=c>>>0>=e>>>0?e:0;if(t>>>0>=Q[p+408>>2]){break a}b:{if(d&9){break b}g=N[p+380>>2];if(!g){break b}i=N[p+416>>2];f=i+(t<<4)|0;k=N[p+104>>2];c=N[p+388>>2];e=P[b+12>>1];while(1){if(!((e|0)==N[c>>2]&N[c+4>>2]==P[b+14>>1])){c=c+36|0;h=h+1|0;if((g|0)!=(h|0)){continue}break b}break}g=N[c+24>>2]+N[p+432>>2]|0;h=N[c+8>>2];e=N[k+20>>2];c:{if(e){if(!(Qa[e|0](k,g,0,0)|0)){break c}break b}if(g>>>0>Q[k+4>>2]){break b}}N[k+8>>2]=g;e=h&1;if(Bb(k,T(N[c+28>>2],(h>>>2&1)+(h&2?e+5|0:e|4)|0))){break b}g=N[c+8>>2];m=g&1;u=(g&2?m+5|0:m|4)+(g>>>2&1)|0;s=N[f>>2];h=N[c+28>>2];j=N[k+32>>2];if(!(g&64)){e=N[k+36>>2];r=g|128;N[c+8>>2]=r;d:{e:{f:{f=e;e=T(h,u);n=e+j|0;if(f>>>0>=n>>>0){if((e|0)<=0){break d}f=-1;if(m){break f}e=j;while(1){l=f;f=O[e|0];if((l|0)>=(f|0)){break e}e=e+u|0;if(n>>>0>e>>>0){continue}break}break d}r=g&-129;break d}e=j;while(1){l=f;f=O[e+1|0]|O[e|0]<<8;if((l|0)>=(f|0)){break e}e=e+u|0;if(n>>>0>e>>>0){continue}break}break d}r=g&-129}g=r|64;N[c+8>>2]=g}g:{h:{i:{if(!(g&128)){break i}c=0;j:{if(!m){while(1){if(c>>>0>=h>>>0){break i}n=c+h>>>1|0;e=j+T(n,u)|0;l=O[e|0];f=l>>>0>s>>>0;h=f?n:h;c=f?c:l>>>0>>0?n+1|0:c;if((l|0)!=(s|0)){continue}break}c=e+1|0;break j}while(1){if(c>>>0>=h>>>0){break i}n=c+h>>>1|0;l=j+T(n,u)|0;f=O[l|0]<<8|O[l+1|0];e=f>>>0>s>>>0;c=e?c:f>>>0>>0?n+1|0:c;h=e?n:h;if((f|0)!=(s|0)){continue}break}c=l+2|0}j=O[c|0];k:{if(g&2){j=O[c+1|0]|j<<8;c=c+2|0;break k}c=c+1|0}f=O[c+1|0];e=O[c|0];if(!(g&4)){break h}c=O[c+2|0]|(f<<8|e<<16);break g}if(N[k+20>>2]){e=N[k>>2];if(e){c=N[k+28>>2];Qa[N[c+8>>2]](c,e)}N[k>>2]=0}N[k+32>>2]=0;N[k+36>>2]=0;break b}c=f|e<<8}if(N[k+20>>2]){f=N[k>>2];if(f){e=N[k+28>>2];Qa[N[e+8>>2]](e,f)}N[k>>2]=0}N[k+32>>2]=0;N[k+36>>2]=0;if(!j){break b}N[o+28>>2]=0;N[o+24>>2]=0;N[o+16>>2]=0;N[o+12>>2]=0;N[o+8>>2]=0;f=N[((t<<4)+i|0)+4>>2];h=N[p+304>>2];e=N[p+300>>2];if((h|0)!=(e|0)){e=jb(f,e,h)}else{e=f}N[a+56>>2]=e;e=jb(P[b+12>>1]<<8,f,h);N[o+20>>2]=e;f=c+N[p+188>>2]|0;c=N[k+20>>2];l:{if(c){if(!(Qa[c|0](k,f,0,0)|0)){break l}break b}if(f>>>0>Q[k+4>>2]){break b}}N[k+8>>2]=f;if(Bb(k,j)){break b}N[o+4>>2]=N[k+32>>2];l=8;n=N[k+36>>2];g=N[o+4>>2];m:{if(n>>>0>>0){break m}n:{o:{p:{q:{r:{h=O[g|0];switch((h&3)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}c=g+2|0;if(n>>>0>>0){break m}f=L[g+1|0];g=f>>4;i=f<<28>>28;break n}c=g+3|0;if(n>>>0>>0){break m}i=L[g+2|0];g=L[g+1|0];break n}c=g+5|0;if(n>>>0>>0){break m}f=O[g+3|0]|O[g+4|0]<<8;i=(f<<8|f>>>8)<<16>>16;f=O[g+1|0]|O[g+2|0]<<8;g=(f<<8|f>>>8)<<16>>16;break n}c=g+7|0;if(n>>>0>>0){break m}i=O[g+6|0]|(O[g+5|0]<<8|O[g+4|0]<<16);g=O[g+3|0]|(O[g+2|0]<<8|O[g+1|0]<<16)}m=h>>>2&3;r=m;s:{t:{switch(m-1|0){case 0:f=c+1|0;if(f>>>0>n>>>0){break m}c=O[c|0];r=c&15;m=c>>>4|0;c=f;break s;case 1:f=c+2|0;if(f>>>0>n>>>0){break m}r=O[c+1|0];m=O[c|0];c=f;break s;case 2:break t;default:break s}}f=c+4|0;if(f>>>0>n>>>0){break m}r=O[c+3|0]|O[c+2|0]<<8;m=O[c+1|0]|O[c|0]<<8;c=f}u:{v:{w:{x:{h=h>>>4|0;switch((h&3)-1|0){case 2:break v;case 1:break w;case 0:break x;default:break u}}f=c+1|0;if(f>>>0>n>>>0){break m}e=L[c|0]<<8;c=f;break u}f=c+2|0;if(f>>>0>n>>>0){break m}c=O[c|0]|O[c+1|0]<<8;e=(c<<8|c>>>8)<<16>>16;c=f;break u}f=c+3|0;if(f>>>0>n>>>0){break m}e=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);c=f}N[o+28>>2]=g;N[o+24>>2]=i;N[o+16>>2]=m;N[o+12>>2]=r;N[o+20>>2]=e;N[o+8>>2]=h>>>2;N[o+4>>2]=c;l=0}y:{if(l){break y}z:{A:{B:{C:{l=N[o+8>>2];switch(l|0){case 0:break A;case 2:break B;case 1:break C;default:break y}}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)>>>0<=T(j,15)>>>0){break z}break y}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)>>>0>T(j+1>>>1|0,255)>>>0){break y}break z}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)+7>>>3>>>0>j>>>0){break y}}if((c|0)<0){break y}j=N[o+24>>2];if((j|0)>(c^2147483647)){break y}N[a+72>>2]=1651078259;N[a+76>>2]=c;N[a+80>>2]=h;L[a+94|0]=1;N[a+28>>2]=c<<6;g=h<<6;N[a+24>>2]=g;f=h+7>>3;N[a+84>>2]=f;h=N[o+28>>2];N[a+36>>2]=j<<6;N[a+32>>2]=h<<6;e=N[o+20>>2];N[a+48>>2]=0;N[a+44>>2]=0-g>>1;N[a+40>>2]=(e>>2)+32&-64;e=N[b+32>>2];N[a+104>>2]=c+j;N[a+100>>2]=h;N[a+52>>2]=e;if(!(d&4194304)){g=T(c,f);h=N[N[a+4>>2]+100>>2];e=N[a+156>>2];c=N[e+4>>2];D:{if(c&1){c=N[a+88>>2];if(c){Qa[N[h+8>>2]](h,c)}N[a+88>>2]=0;break D}N[e+4>>2]=c|1}c=0;f=g?6:0;E:{if((g|0)<=0){break E}e=Qa[N[h+4>>2]](h,g)|0;f=64;if(!e){break E}G(e,0,g);c=e;f=0}N[a+88>>2]=c;if(f){break y}d=N[o+4>>2];i=N[k+36>>2];f=O[p+208|0]>>>1&1;m=0;e=N[a+76>>2];F:{if(!e){break F}b=N[a+80>>2];if(!b){break F}c=N[a+84>>2];n=f?c:0-c|0;q=T(b,e);h=N[a+88>>2]+(f?0:T(c,e-1|0))|0;G:{H:{switch(l|0){case 0:a=i-d<<3;g=a>>>0>>0?a:q;if(!g){break F}j=128;f=0;e=h;a=b;c=g;while(1){if(!((c^g)&7)){f=O[d|0];d=d+1|0}m=f<<24>>31&j|m;a=a-1|0;I:{if(!a){L[e|0]=m;m=0;a=b;h=h+n|0;e=h;l=128;break I}l=j>>>1|0;if(j>>>0>1){break I}L[e|0]=m;e=e+1|0;m=0;l=128}j=l;f=f<<1;c=c-1|0;if(c){continue}break};if((j|0)!=128){break G}break F;case 1:if(!q){break F}r=1;g=128;e=h;c=b;a=0;f=0;j=1;while(1){J:{K:{if(!r){break K}L:{if(!j){j=1;f=a;break L}j=1;l=g;if(d>>>0>=i>>>0){break J}f=O[d|0];a=f&15;d=d+1|0;j=0;f=f>>>4|0}if(f){break K}while(1){M:{if(!j){j=1;f=a;break M}if(d>>>0>=i>>>0){j=1;f=0;l=g;break J}f=O[d|0];a=f&15;d=d+1|0;j=0;f=f>>>4|0}if(!f){continue}break}}l=j?g:0}m=l|m;c=c-1|0;N:{if(!c){L[e|0]=m;m=0;c=b;h=h+n|0;e=h;l=128;break N}l=g>>>1|0;if(g>>>0>1){break N}L[e|0]=m;e=e+1|0;m=0;l=128}g=l;r=(f|0)<2;f=f-1|0;q=q-1|0;if(q){continue}break};if((g|0)!=128){break G}break F;case 2:break H;default:break F}}if(!q){break F}f=1;g=128;e=h;c=b;a=0;j=1;while(1){O:{if(!(f&1)|d>>>0>=i>>>0){break O}P:{while(1){j=j^1;f=d+1|0;a=O[d|0];if(a){break P}d=f;if((f|0)!=(i|0)){continue}break}a=0;d=i;break O}d=f}m=(j?g:0)|m;c=c-1|0;Q:{if(!c){L[e|0]=m;m=0;c=b;h=h+n|0;e=h;f=128;break Q}f=g>>>1|0;if(g>>>0>1){break Q}L[e|0]=m;e=e+1|0;m=0;f=128}g=f;f=(a|0)<2;a=a-1|0;q=q-1|0;if(q){continue}break}if((g|0)==128){break F}}L[e|0]=m}}if(N[k+20>>2]){b=N[k>>2];if(b){a=N[k+28>>2];Qa[N[a+8>>2]](a,b)}N[k>>2]=0}N[k+32>>2]=0;N[k+36>>2]=0;q=0;break a}if(N[k+20>>2]){e=N[k>>2];if(e){c=N[k+28>>2];Qa[N[c+8>>2]](c,e)}N[k>>2]=0}N[k+32>>2]=0;N[k+36>>2]=0}if(d&16384){break a}l=N[p+416>>2];N[a+72>>2]=1869968492;N[a+108>>2]=0;c=l+(t<<4)|0;j=N[c+8>>2];g=N[c+12>>2];h=N[p+188>>2];f=N[p+104>>2];i=N[a+188>>2];N[i+20>>2]=0;N[i+36>>2]=0;N[i+48>>2]=0;c=N[i+32>>2];e=i- -64|0;N[e>>2]=N[i+28>>2];N[e+4>>2]=c;N[i+88>>2]=N[i+52>>2];c=N[i+24>>2];N[i+56>>2]=N[i+20>>2];N[i+60>>2]=c;c=N[i+40>>2];N[i+72>>2]=N[i+36>>2];N[i+76>>2]=c;c=N[i+48>>2];N[i+80>>2]=N[i+44>>2];N[i+84>>2]=c;N[a+176>>2]=0;q=rm(a+160|0,f,h,g,j);if(q){break a}e=N[a+188>>2];c=N[e+24>>2];N[a+108>>2]=N[e+20>>2];N[a+112>>2]=c;N[a+124>>2]=N[e+36>>2];c=N[e+32>>2];N[a+116>>2]=N[e+28>>2];N[a+120>>2]=c;c=N[a+124>>2]&-6;N[a+124>>2]=c|4;if(P[b+14>>1]<=23){N[a+124>>2]=c|260}N[a+52>>2]=0;N[a+40>>2]=0;c=N[(l+(t<<4)|0)+4>>2];f=N[p+304>>2];e=N[p+300>>2];if((f|0)!=(e|0)){c=jb(c,e,f)}e=N[p+324>>2]&1;N[(e?52:40)+a>>2]=c;m=0-e&c;N[a+60>>2]=m;r=e?0:c;N[a+56>>2]=r;N[a+44>>2]=0;N[a+48>>2]=0;u=M[a+110>>1];if(!(d&1)){p=N[b+20>>2];s=N[b+16>>2];R:{if((u|0)<=0){b=s>>31;b=(b^s)-b|0;n=b>>>8|0;break R}b=p>>31;t=(b^p)-b|0;j=t&65535;g=t>>>16|0;h=t>>>8|0;b=s>>31;b=(b^s)-b|0;f=b&65535;e=b>>>16|0;n=b>>>8|0;c=N[a+112>>2];q=0;while(1){l=N[c>>2];d=l>>31;i=(d^l)-d|0;S:{if(i+n>>>0<=8190){i=T(b,i)+32768>>>16|0;break S}d=i&65535;i=T(d,e)+T(i>>>16|0,b)+(T(d,f)+32768>>>16)|0}d=i;k=0-d|0;d=l>>31|1;N[c>>2]=(((s|0)<0?0-d|0:d)|0)<0?k:i;l=N[c+4>>2];d=l>>31;i=(d^l)-d|0;T:{if(i+h>>>0<=8190){i=T(i,t)+32768>>>16|0;break T}d=i&65535;i=T(d,g)+T(t,i>>>16|0)+(T(d,j)+32768>>>16)|0}d=i;k=0-d|0;d=l>>31|1;N[c+4>>2]=(((p|0)<0?0-d|0:d)|0)<0?k:i;c=c+8|0;q=q+1|0;if((u|0)!=(q|0)){continue}break}}c=r>>31;d=(c^r)-c|0;U:{if(d+n>>>0<=8190){c=T(b,d)+32768>>>16|0;break U}c=d&65535;c=T(c,b>>>16|0)+T(d>>>16|0,b)+(T(c,b&65535)+32768>>>16)|0}b=c;d=0-b|0;b=r>>31|1;N[a+40>>2]=(((s|0)<0?0-b|0:b)|0)<0?d:c;b=p>>31;d=(b^p)-b|0;b=m>>31;c=(b^m)-b|0;V:{if((d>>>8|0)+c>>>0<=8190){c=T(c,d)+32768>>>16|0;break V}b=c&65535;c=T(b,d>>>16|0)+T(d,c>>>16|0)+(T(b,d&65535)+32768>>>16)|0}b=c;d=0-b|0;b=m>>31|1;N[a+52>>2]=(((p|0)<0?0-b|0:b)|0)<0?d:c}q=0;b=0;d=0;h=0;e=0;W:{if(!u){break W}j=N[a+112>>2];h=N[j+4>>2];e=N[j>>2];if((u|0)<2){b=h;d=e;break W}c=(u<<3)+j|0;f=j+8|0;d=e;b=h;while(1){g=N[j+12>>2];b=(b|0)<(g|0)?g:b;h=(g|0)<(h|0)?g:h;g=N[j+8>>2];d=(d|0)<(g|0)?g:d;e=(e|0)>(g|0)?g:e;j=f;f=f+8|0;if(c>>>0>f>>>0){continue}break}}N[a+36>>2]=h;N[a+32>>2]=e;N[a+28>>2]=b-h;N[a+24>>2]=d-e}La=o+32|0;return q|0}function qe(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;k=La-48|0;La=k;r=N[a+100>>2];f=N[a+104>>2];N[k+32>>2]=0;N[k+36>>2]=0;N[k+24>>2]=0;N[k+28>>2]=0;g=N[a+736>>2];a:{b:{if(!g){c=k+44|0;if(Qa[N[a+516>>2]](a,1735811442,f,c)|0){c=Qa[N[a+516>>2]](a,1128678962,f,c)|0;if(c){break a}}c=Qa[N[a+516>>2]](a,1719034226,f,k+44|0)|0;if(c){break a}v=N[f+8>>2];c=rb(f,27216,k+24|0);if(c){break a}i=P[k+30>>1];c=P[k+36>>1];d=Qa[N[r+4>>2]](r,80)|0;if(!d){N[a+736>>2]=0;c=64;break a}G(d+4|0,0,76);N[a+736>>2]=d;N[d>>2]=i;n=(c|0)==((i<<2)+6|0);break b}i=N[g>>2];d=g;n=0}w=T(i,24);q=N[a+12>>2];s=q>>>16|0;x=T(s,12);y=(i<<1)+3&-4;p=T(i,s);t=p<<2;c:{if(!g){g=((((T(i,5)+w|0)+y|0)+x|0)+t|0)+20|0;N[d+16>>2]=g;d:{if((g|0)<=0){c=6;if(!g){break d}break a}j=Qa[N[r+4>>2]](r,g)|0;if(!j){c=64;break a}G(j,0,g);d=N[a+736>>2]}N[d+12>>2]=j;N[j+8>>2]=s;N[j+4>>2]=-1;N[j>>2]=i;h=j+20|0;g=y+h|0;N[j+12>>2]=g;m=g+w|0;N[j+16>>2]=m;d=m+x|0;e:{if(q>>>0<65536){break e}o=s>>>0<=1?1:s;u=o&3;c=d;if(q>>>0>=262144){q=o&65532;while(1){N[m+T(e,12)>>2]=c;o=c;c=i<<2;o=o+c|0;N[m+T(e|1,12)>>2]=o;o=c+o|0;N[m+T(e|2,12)>>2]=o;o=c+o|0;N[m+T(e|3,12)>>2]=o;c=c+o|0;e=e+4|0;if((q|0)!=(e|0)){continue}break}}if(!u){break e}q=i<<2;while(1){N[m+T(e,12)>>2]=c;e=e+1|0;c=c+q|0;l=l+1|0;if((u|0)!=(l|0)){continue}break}}f:{if(!i){break f}l=i&7;e=d+t|0;m=0;g:{if(i-1>>>0<7){c=0;break g}d=i&-8;c=0;while(1){N[g+T(c,24)>>2]=e;N[g+T(c|1,24)>>2]=e+5;N[g+T(c|2,24)>>2]=e+10;N[g+T(c|3,24)>>2]=e+15;N[g+T(c|4,24)>>2]=e+20;N[g+T(c|5,24)>>2]=e+25;N[g+T(c|6,24)>>2]=e+30;N[g+T(c|7,24)>>2]=e+35;e=e+40|0;c=c+8|0;if((d|0)!=(c|0)){continue}break}}if(!l){break f}while(1){N[g+T(c,24)>>2]=e;c=c+1|0;e=e+5|0;m=m+1|0;if((l|0)!=(m|0)){continue}break}}d=P[k+28>>1]+v|0;e=N[f+20>>2];h:{if(e){c=85;if(!(Qa[e|0](f,d,0,0)|0)){break h}break a}c=85;if(d>>>0>Q[f+4>>2]){break a}}N[f+8>>2]=d;i:{j:{k:{if(!i){e=0;break k}e=N[j+12>>2];d=0;while(1){c=rb(f,27264,k+4|0);if(c){break a}c=N[k+4>>2];N[e+16>>2]=c;N[e+4>>2]=N[k+8>>2];N[e+8>>2]=N[k+12>>2];N[e+12>>2]=N[k+16>>2];N[e+20>>2]=P[k+22>>1];L[N[e>>2]]=c>>>24;L[N[e>>2]+1|0]=P[e+18>>1];L[N[e>>2]+2|0]=N[e+16>>2]>>>8;L[N[e>>2]+3|0]=N[e+16>>2];L[N[e>>2]+4|0]=0;M[h>>1]=P[k+20>>1];c=N[e+8>>2];if(!((c|0)>=N[e+4>>2]&(c|0)<=N[e+12>>2])){N[e+12>>2]=c;N[e+4>>2]=c}h=h+2|0;e=e+24|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}e=0;if((p|0)<0){c=6;break c}if(!p){break k}c=10;if((p|0)>536870911){break c}e=Qa[N[r+4>>2]](r,t)|0;if(!e|(p|0)<=0){break j}G(e,0,t)}c=N[a+736>>2];N[c+20>>2]=e;break i}c=N[a+736>>2];N[c+20>>2]=e;if(e){break i}c=!e<<6;break a}g=P[k+34>>1];if(g){if(!O[c+24|0]){d=N[f+8>>2];Wm(a);e=N[f+20>>2];l:{if(e){c=85;if(!(Qa[e|0](f,d,0,0)|0)){break l}break a}c=85;if(d>>>0>Q[f+4>>2]){break a}}N[f+8>>2]=d;c=N[a+736>>2]}u=i<<2;v=u+(n?6:4)|0;o=g>>>0<=1?1:g;l=N[j+16>>2];h=N[c+20>>2];q=0;while(1){c=Bb(f,v);if(c){break a}d=0;p=N[f+36>>2];c=N[f+32>>2];if(p>>>0>c+1>>>0){d=O[c+1|0]|O[c|0]<<8;c=c+2|0}N[l+4>>2]=d;e=c+((p>>>0>c+1>>>0)<<1)|0;N[f+32>>2]=e;if(i){c=N[l>>2];d=0;while(1){m:{if(p>>>0<=e+3>>>0){m=0;break m}m=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);m=m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24);e=e+4|0}N[f+32>>2]=e;N[c>>2]=m;c=c+4|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}n:{if(!n){c=65535;break n}c=0;if(e+1>>>0

>>0){c=O[e+1|0]|O[e|0]<<8;e=e+2|0}N[f+32>>2]=e}N[l+8>>2]=c;Vm(N[a+736>>2],i,N[l>>2],h);if(N[f+20>>2]){c=N[f>>2];if(c){d=N[f+28>>2];Qa[N[d+8>>2]](d,c)}N[f>>2]=0}h=h+u|0;N[f+32>>2]=0;N[f+36>>2]=0;l=l+12|0;q=q+1|0;if((o|0)!=(q|0)){continue}break}c=g}else{c=0}o:{if((c|0)==(s|0)){break o}c=17;e=k+4|0;d=N[a+540>>2];if(!(Qa[N[d+164>>2]](a,17,e,k)|0)){c=2;if(!(Qa[N[d+164>>2]](a,2,e,k)|0)){break o}}if(!(Qa[N[d+164>>2]](a,6,k+4|0,k)|0)){break o}d=N[j+16>>2]+T(g,12)|0;N[d+8>>2]=6;N[d+4>>2]=c;if(!i){break o}e=N[d>>2];c=N[j+12>>2];if(i-1>>>0>=7){f=i&-8;d=0;while(1){N[e>>2]=N[c+8>>2];N[e+4>>2]=N[c+32>>2];N[e+8>>2]=N[c+56>>2];N[e+12>>2]=N[c+80>>2];N[e+16>>2]=N[c+104>>2];N[e+20>>2]=N[c+128>>2];N[e+24>>2]=N[c+152>>2];N[e+28>>2]=N[c+176>>2];e=e+32|0;c=c+192|0;d=d+8|0;if((f|0)!=(d|0)){continue}break}}f=i&7;if(!f){break o}d=0;while(1){N[e>>2]=N[c+8>>2];e=e+4|0;c=c+24|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}l=0;g=La-16|0;La=g;n=N[a+736>>2];f=N[a+104>>2];j=N[f+28>>2];p:{if(Qa[N[a+516>>2]](a,1297498450,f,g+4|0)|0){break p}c=N[f+8>>2];N[g+8>>2]=0;if(Q[f+4>>2]<=c+1>>>0){break p}q:{r:{d=N[f+20>>2];s:{if(d){h=g+14|0;if((Qa[d|0](f,c,h,2)|0)!=2){break p}d=N[f+8>>2];break s}d=N[f>>2];if(!d){break r}h=c+d|0;d=c}e=O[h|0]|O[h+1|0]<<8;e=e<<8|e>>>8;break q}d=c;e=0}N[f+8>>2]=d+2;d=d+4|0;h=N[f+20>>2];t:{if(h){if(!(Qa[h|0](f,d,0,0)|0)){break t}break p}if(d>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=d;if((e&65535)!=1){break p}d=Qa[N[j+4>>2]](j,28)|0;if(!d){N[n+56>>2]=0;break p}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+24|0]=0;L[d+25|0]=0;L[d+26|0]=0;L[d+27|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;N[n+56>>2]=d;d=N[f+8>>2]+4|0;e=N[f+20>>2];u:{if(e){if(!(Qa[e|0](f,d,0,0)|0)){break u}break p}if(d>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=d;N[g+8>>2]=0;e=g+8|0;d=xb(f,e);M[N[n+56>>2]>>1]=d;if(N[g+8>>2]){break p}h=xb(f,e);if(N[g+8>>2]){break p}d=N[f+8>>2];c=Um(N[a+104>>2],N[a+736>>2],c+h|0,N[n+56>>2]+4|0);N[g+8>>2]=c;if(c){break p}c=lb(j,12,0,P[N[n+56>>2]>>1],0,e);j=N[n+56>>2];N[j+24>>2]=c;if(N[g+8>>2]){break p}c=N[f+20>>2];v:{if(c){if(Qa[c|0](f,d,0,0)|0){break p}j=N[n+56>>2];break v}if(d>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=d;c=Bb(f,P[j>>1]<<3);N[g+8>>2]=c;if(c){break p}e=N[n+56>>2];c=P[e>>1];w:{if(!c){l=1;break w}j=N[e+24>>2];s=j+T(c,12)|0;c=N[f+32>>2];p=N[e+4>>2];m=N[f+36>>2];while(1){d=0;x:{if(m>>>0<=c+3>>>0){h=0;break x}h=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);c=c+4|0}N[f+32>>2]=c;N[j>>2]=h;if(m>>>0>c+1>>>0){d=O[c|0]|O[c+1|0]<<8;d=d<<8|d>>>8;c=c+2|0}N[f+32>>2]=c;M[j+4>>1]=d;y:{if(m>>>0<=c+1>>>0){h=0;break y}h=O[c|0]|O[c+1|0]<<8;h=h<<8|h>>>8;c=c+2|0}N[f+32>>2]=c;M[j+6>>1]=h;d=d&65535;if(d>>>0>=p>>>0|Q[N[e+8>>2]+(d<<4)>>2]<=(h&65535)>>>0){break w}j=j+12|0;if(s>>>0>j>>>0){continue}break}l=1}if(N[f+20>>2]){c=N[f>>2];if(c){d=N[f+28>>2];Qa[N[d+8>>2]](d,c)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;if(!l){break p}c=N[n+56>>2];e=P[c>>1];if(e){d=N[c+24>>2];c=d+T(e,12)|0;while(1){e=Xm(a,N[d>>2]);if(e){M[d+8>>1]=P[e>>1]}d=d+12|0;if(c>>>0>d>>>0){continue}break}}N[a+740>>2]=N[a+740>>2]|256}La=g+16|0}if(b){d=0;e=N[a+736>>2];f=N[e+16>>2];z:{if((f|0)<=0){c=6;if(f){break a}h=0;break z}h=Qa[N[r+4>>2]](r,f)|0;if(!h){c=64;break a}G(h,0,f);e=N[a+736>>2];d=N[e+16>>2]}B(h,N[e+12>>2],d);c=(h+y|0)+20|0;N[h+12>>2]=c;g=c+w|0;N[h+16>>2]=g;f=g+x|0;n=N[h+8>>2];A:{if(!n){break A}a=0;e=0;d=f;if(n>>>0>=4){j=n&-4;while(1){N[g+T(e,12)>>2]=d;o=d;d=i<<2;l=o+d|0;N[g+T(e|1,12)>>2]=l;l=d+l|0;N[g+T(e|2,12)>>2]=l;l=d+l|0;N[g+T(e|3,12)>>2]=l;d=d+l|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}n=n&3;if(!n){break A}j=i<<2;while(1){N[g+T(e,12)>>2]=d;e=e+1|0;d=d+j|0;a=a+1|0;if((n|0)!=(a|0)){continue}break}}B:{if(!i){break B}e=f+t|0;if((i|0)!=1){f=i&1;g=i&-2;i=0;while(1){N[c>>2]=e;C:{D:{E:{a=N[c+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break E}if((a|0)!=1936486004){break C}d=9324;break D}d=9465;if((a|0)==2003265652){break D}if((a|0)!=2003072104){break C}d=14033;break D}d=15435}N[c>>2]=d}N[c+24>>2]=e+5;F:{G:{H:{I:{a=N[c+40>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break I}if((a|0)!=1936486004){break F}d=9324;break G}if((a|0)==2003072104){break H}d=9465;if((a|0)==2003265652){break G}break F}d=15435;break G}d=14033}N[c+24>>2]=d}c=c+48|0;e=e+10|0;i=i+2|0;if((g|0)!=(i|0)){continue}break}if(!f){break B}}N[c>>2]=e;J:{K:{L:{a=N[c+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break L}if((a|0)!=1936486004){break B}d=9324;break J}if((a|0)==2003072104){break K}d=9465;if((a|0)==2003265652){break J}break B}d=15435;break J}d=14033}N[c>>2]=d}N[b>>2]=h}c=0;break a}N[N[a+736>>2]+20>>2]=0}La=k+48|0;return c|0}function xE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;k=N[c+80>>2];m=31;h=1;a=0;b=0;n=N[c+68>>2];if(!n){break b}f=0;break a}ba(22778,14165,169,12138);F()}f=1}while(1){c:{d:{e:{if(!f){a=O[m+259984|0]==10?b:a;d=m<<1;e=M[d+258944>>1]+257504|0;f=L[m+259232|0];i=O[d+257216|0];m=O[(k+T(b,20)|0)+18|0];if(i>>>0<=m>>>0){f=m>>>0>O[d+257217|0]?f:m-i|0}f=O[e+f|0];break e}if((m|0)==31){break d}b=n;f=M[(m<<1)+259696>>1]-1|0}m=O[f+259376|0];f=L[f+259536|0];f:{if(!f){break f}g:{h:{switch(f-1|0){case 1:g=b+1|0;break f;case 10:g=b+1|0;i:{if(g>>>0<=a>>>0){break i}i=k+3|0;e=h<<4|5;d=a;j=g-d&7;if(j){f=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(b-a>>>0<=6){break i}while(1){f=i+T(d,20)|0;L[f+32|0]=e;L[f+12|0]=e;L[f+52|0]=e;L[f+72|0]=e;L[f+92|0]=e;L[f+112|0]=e;L[f+132|0]=e;L[f+152|0]=e;f=d+7|0;d=d+8|0;if((b|0)!=(f|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 12:f=b-1|0;j:{if(a>>>0>=b>>>0){break j}i=k+3|0;e=h<<4;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break j}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 13:f=b-1|0;k:{if(a>>>0>=b>>>0){break k}i=k+3|0;e=h<<4|1;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break k}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 16:f=b-1|0;l:{if(a>>>0>=b>>>0){break l}i=k+3|0;e=h<<4|2;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break l}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 18:f=b-1|0;m:{if(a>>>0>=b>>>0){break m}i=k+3|0;e=h<<4|3;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break m}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 14:f=b-1|0;n:{if(a>>>0>=b>>>0){break n}i=k+3|0;e=h<<4|4;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break n}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 15:f=b-1|0;o:{if(a>>>0>=b>>>0){break o}i=k+3|0;e=h<<4|5;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break o}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 0:b=g-1|0;p:{if(a>>>0>=g>>>0){break p}i=k+3|0;e=h<<4;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break p}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 2:b=g-1|0;q:{if(a>>>0>=g>>>0){break q}i=k+3|0;e=h<<4|1;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break q}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 6:b=g-1|0;r:{if(a>>>0>=g>>>0){break r}i=k+3|0;e=h<<4|2;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break r}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 7:b=g-1|0;s:{if(a>>>0>=g>>>0){break s}i=k+3|0;e=h<<4|3;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break s}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 3:b=g-1|0;t:{if(a>>>0>=g>>>0){break t}i=k+3|0;e=h<<4|4;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break t}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;f=h+1|0;h=(f|0)==16?1:f;break f;case 5:u:{switch(l-1|0){case 0:b=g-1|0;v:{if(a>>>0>=g>>>0){break v}l=k+3|0;e=h<<4;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break v}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}l=1;f=h+1|0;h=(f|0)==16?1:f;break f;case 4:b=g-1|0;w:{if(a>>>0>=g>>>0){break w}l=k+3|0;e=h<<4|4;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break w}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;f=h+1|0;h=(f|0)==16?1:f;l=5;break f;case 5:break u;default:break f}}b=g-1|0;x:{if(a>>>0>=g>>>0){break x}l=k+3|0;e=h<<4|5;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break x}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break g;case 17:l=1;g=b+1|0;break f;case 4:g=b+1|0;l=5;break f;case 11:break h;default:break f}}g=b+1|0}l=6}a=O[m+260128|0]!=9?a:0;b=b+1|0;if((n|0)!=(b|0)){break c}f=1;continue}n=N[c+68>>2];if(n){a=n-1|0;k=N[c+80>>2];e=k+3|0;b=0;f=O[k+15|0];while(1){y:{if((a|0)==(b|0)){b=n;break y}b=b+1|0;if((f|0)==O[(e+T(b,20)|0)+12|0]){continue}}break}a=0;while(1){d=N[c+68>>2];f=b;l=d>>>0>>0?d:f;i=l-a|0;z:{if(i>>>0<2){break z}g=N[c+144>>2]|32;N[c+144>>2]=g;if(a>>>0>=l>>>0){break z}b=-1;m=a;j=l+(a^-1)|0;if(j>>>0>=3){p=i&-4;d=0;while(1){h=k+T(m,20)|0;o=N[h+8>>2];b=b>>>0>>0?b:o;o=N[h+28>>2];b=b>>>0>>0?b:o;o=N[h+48>>2];b=b>>>0>>0?b:o;h=N[h+68>>2];b=b>>>0>>0?b:h;m=m+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}h=0;d=i&3;if(d){while(1){p=N[(k+T(m,20)|0)+8>>2];b=b>>>0

>>0?b:p;m=m+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(i&1){d=k+T(a,20)|0;if(N[d+8>>2]!=(b|0)){N[d+4>>2]=N[d+4>>2]|3}a=a+1|0}if(!j){break z}while(1){d=k+T(a,20)|0;if(N[d+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=k+T(a+1|0,20)|0;if(N[d+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}a=f+1|0;a=a>>>0>>0?n:a;d=a-1|0;g=O[(e+T(f,20)|0)+12|0];b=f;while(1){A:{if((b|0)==(d|0)){b=a;break A}b=b+1|0;if((g|0)==O[(e+T(b,20)|0)+12|0]){continue}}break}a=f;if(f>>>0>>0){continue}break}}return 0}f=0;continue}}function xo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;m=La-48|0;La=m;if(!(a&1)){p=a;a=N[a>>2]}s=a>>>1&32767;f=a>>>16|0;N[m+40>>2]=0;N[m+44>>2]=0;a:{if(!b){break a}a=N[b>>2];if(!a){break a}l=N[c>>2];if(!l){break a}t=s+441617|0;u=f+441617|0;n=O[s+441616|0];o=O[f+441616|0];v=N[147600];N[147600]=581216;b:{c:{d:{e:{f:{while(1){g:{f=O[a|0];i=f<<24>>24;h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{r=o&255;switch(r-192|0){case 40:break C;case 32:break E;case 24:case 25:break G;case 26:break H;case 18:break I;case 16:break J;case 17:break K;case 11:break L;case 10:case 12:break M;case 1:case 2:case 4:case 5:break N;case 0:case 3:break P;case 6:break Q;case 7:break R;case 8:break S;default:break B}}k=1;if((i|0)>=0){break x}h=28;g=25;k=fo(m+36|0,a,l,m+40|0);switch(k+2|0){case 0:break c;case 1:break d;default:break A}}k=1;if((i|0)>=0){break x}break e}if(l>>>0<4){break f}f=N[a>>2];break O}if(l>>>0<4){break f}f=eo(a,r)}g=25;if(f>>>0>1114111){break d}k=4;if((f&-2048)==55296){break d}break x}h=28;if(l>>>0<2){break c}g=25;f=r&1;f=O[f+a|0]<<8|O[!f+a|0];j=f&64512;if((j|0)!=55296){k=2;if((j|0)==56320){break d}break x}if((r&254)==196){break d}if(l>>>0<4){break c}h=r&1;a=a+2|0;a=(O[h+a|0]<<8|O[a+!h|0])-56320|0;if(a>>>0>1023){break d}f=(a+(f<<10)|0)-56557568|0;k=4;break x}k=0;o=N[p+4>>2];if(o){break h}if(l>>>0<2){break f}a=O[a+1|0]|O[a|0]<<8;f=(a|0)==65534;o=(r|0)==204?f?197:196:f?193:194;N[p+4>>2]=o;k=f?2:((a|0)==65279)<<1;break h}k=0;o=N[p+4>>2];if(o){break h}if(l>>>0<4){break f}f=eo(a,0);a=(f|0)==-131072;o=a?195:192;N[p+4>>2]=o;k=a?4:((f|0)==65279)<<2;break h}k=1;if((i|0)>=0){break x}if(f-161>>>0<=62){f=f+65216|0;break x}if(l>>>0<2){break f}g=O[a+1|0];a=f-129|0;if(a>>>0>=31){if((f&240)!=224){break e}a=f-193|0}h=a<<1;a=g+-64|0;T:{if(a>>>0<=94){if((g|0)==127){break e}a=a+(g<<24>>24>>7)|0;break T}a=g-159|0;f=a>>>0<94;h=f|h;a=f?a:g}f=P[(T(h,188)+(a<<1)|0)+504752>>1];break y}k=1;if((i|0)>=0){break x}if(l>>>0<2){break f}a=O[a+1|0];if((i|0)==-114){if(a-224>>>0<4294967233){break e}f=a+65216|0;k=2;break x}g=25;f=f-161|0;if(f>>>0>83){break d}a=a-161|0;if(a>>>0>93){break d}f=P[(T(f,188)+(a<<1)|0)+504752>>1];break D}g=25;if((i|0)<0){break d}if((i|0)==27){if(l>>>0<3){break f}U:{f=O[a+1|0];switch(f-36|0){case 0:case 4:break U;default:break d}}V:{W:{X:{Y:{Z:{a=O[a+2|0]+(((f|0)==36)<<7)|0;switch(a-73|0){case 0:break X;case 1:break Y;default:break Z}}_:{switch(a-192|0){case 1:break d;case 2:break V;case 0:break W;default:break _}}if((a|0)!=66){break d}N[p+4>>2]=0;break z}N[p+4>>2]=1;break z}N[p+4>>2]=4;break z}N[p+4>>2]=2;break z}k=3;N[p+4>>2]=3;o=210;break h}k=1;$:{switch(N[p+4>>2]-1|0){case 0:a=(i|0)==92?165:f;f=(a|0)==126?8254:a;break x;case 1:case 2:if(l>>>0<2){break f}f=f-33|0;if(f>>>0>83){break d}a=O[a+1|0]-33|0;if(a>>>0>93){break d}f=P[(T(f,188)+(a<<1)|0)+504752>>1];break D;case 3:break $;default:break x}}if(f-96>>>0<31){break d}f=f-33>>>0<94?f+65344|0:f;break x}k=1;if((i|0)>=0){break x}if(i>>>0<4294967201){break e}break F}k=1;if((i|0)>=0){break x}}g=25;j=f-129|0;if(j>>>0>125){break d}h=28;if(l>>>0<2){break c}i=O[a+1|0];if((r|0)==218&i>>>0<=160){break d}aa:{if((i|0)!=127){f=i+-64|0;if(f>>>0<191){break aa}}if((r|0)!=216|i-58>>>0<4294967286){break d}if(l>>>0<4){break c}f=O[a+2|0]-129|0;if(f>>>0>126){break d}a=O[a+3|0]-48|0;if(a>>>0>9){break d}f=(a+(T(i+T(j,10)|0,1260)+T(f,10)|0)|0)-60352|0;g=0;while(1){j=f-g|0;i=0;h=0;while(1){a=0;while(1){h=(j>>>0>=P[(T(i,380)+(a<<1)|0)+446512>>1]-g>>>0)+h|0;a=a+1|0;if((a|0)!=190){continue}break}i=i+1|0;if((i|0)!=126){continue}break}g=f+1|0;k=4;f=f+h|0;if(g>>>0<=f>>>0){continue}break}break x}f=P[(T(j,380)+((f>>>0>63?i-65|0:f)<<1)|0)+446512>>1];k=2;break x}k=1;if((i|0)>=0){break x}if(l>>>0<2){break f}g=25;h=O[a+1|0];a=h+-64|0;if(a>>>0>190|h-127>>>0<34){break d}j=a>>>0>62?h-98|0:a;h=f-161|0;if(h>>>0>=89){a=f-135|0;if(a>>>0>119){break d}a=j+T(i>>>0<4294967201?a:f-224|0,157)|0;j=P[(a<<1)+494400>>1];f=j|P[(a>>>3&536870910)+504134>>1]>>>(a&15)<<17&131072;if((f&196352)!=56320){break D}h=m+28|0;N[m+24>>2]=h;a=li(21381);N[m+16>>2]=4;N[m+20>>2]=(j&255)+7721;N[m+12>>2]=8;g=xo(s<<1|a<<16|1,m+20|0,m+16|0,m+24|0,m+12|0);f=N[e>>2];j=N[m+24>>2]-h|0;if(f>>>0>>0){break w}a=N[d>>2];B(a,h,j);N[d>>2]=a+j;N[e>>2]=f-j;q=((g|0)!=0)+q|0;o=224;k=2;break h}a=P[(T(h,314)+(j<<1)|0)+520544>>1];ba:{ca:{if((h|0)!=39){break ca}h=131072;da:{switch(j-58|0){case 0:case 2:break ba;case 1:break ca;default:break da}}if((j|0)==66){break ba}}h=0}f=a|h}k=2;if(f){break x}break d}k=1;if((i|0)>=0){break x}if(l>>>0<2){break f}i=O[a+1|0];ea:{j=f-161|0;if(j>>>0<=92){a=i-161|0;if(a>>>0<94){break ea}}g=25;a=f-129|0;if(a>>>0>92|i>>>0>82&a>>>0>=69){break d}h=i-65|0;fa:{if(h>>>0<26){break fa}if(i-97>>>0<=25){h=i-71|0;break fa}if(i-129>>>0>125){break d}h=i-77|0}g=44032;k=2;f=((a>>>0<32?T(a,178):T(j,84)+5696|0)+h|0)+44032|0;if(f>>>0<44032){break x}while(1){j=f-g|0;i=0;h=0;while(1){a=0;while(1){h=(j>>>0>=P[(T(i,188)+(a<<1)|0)+548496>>1]-g>>>0)+h|0;a=a+1|0;if((a|0)!=94){continue}break}i=i+1|0;if((i|0)!=93){continue}break}g=f+1|0;f=f+h|0;if(g>>>0<=f>>>0){continue}break}break x}f=P[(T(j,188)+(a<<1)|0)+548496>>1];break y}k=1;if(!i){f=0;break x}f=ki(u,f);if(!f){break e}break x}f=N[m+36>>2];break x}o=210;k=3;break h}k=2;if(!f){break e}}ga:{switch(n-192|0){case 6:g=N[e>>2];if(g>>>0<4){break g}a=N[d>>2];N[a>>2]=f;N[d>>2]=a+4;N[e>>2]=g-4;n=198;break h;case 0:case 3:break m;case 11:break n;case 1:case 2:case 4:case 5:case 10:break o;case 12:break p;case 18:break q;case 16:break r;case 17:break s;case 7:break t;case 8:break ga;default:break l}}h=N[e>>2];if(h>>>0>3){break v}g=m+28|0;a=ng(g,f);if(h>>>0>>0){break w}i=N[d>>2];B(i,g,a);break u}h=1;break c}i=N[d>>2];a=ng(i,f)}N[d>>2]=a+i;N[e>>2]=h-a;n=200;break h}if(f>>>0<128){break l}break k}if(f>>>0<128){break i}ha:{if((f|0)!=8254){if((f|0)!=165){break ha}q=q+1|0;f=92;break i}q=q+1|0;f=126;break i}if(f-65377>>>0<=62){f=f-65216|0;break i}g=ji(f);if(!g){break k}a=N[e>>2];if(a>>>0<2){break g}f=N[d>>2];L[f|0]=((g>>>8|0)+1>>>1|0)+(g>>>0<24320?112:176);N[d>>2]=f+2;h=f;f=g&255;L[h+1|0]=g&256?(((f>>>0)/96|0)+f|0)+31|0:f+126|0;N[e>>2]=a-2;n=209;break h}if(f>>>0<128){break i}ia:{if(f-65377>>>0<=62){a=f-61760|0;break ia}a=ji(f);if(!a){break k}}f=N[e>>2];if(f>>>0<2){break g}g=N[d>>2];L[g|0]=a>>>8^128;N[d>>2]=g+2;L[g+1|0]=a^128;N[e>>2]=f-2;n=208;break h}if(f>>>0<128){break i}if(!(!((f|0)==8254|f-65377>>>0<63)&(f|0)!=165)){a=N[e>>2];if(a>>>0<7){break g}g=N[d>>2];L[g|0]=27;L[g+1|0]=40;ja:{ka:{if((f|0)!=8254){if((f|0)!=165){break ka}L[g+2|0]=74;L[g+3|0]=92;break ja}L[g+2|0]=74;L[g+3|0]=126;break ja}L[g+2|0]=73;L[g+3|0]=f+-64}L[g+4|0]=27;L[g+5|0]=40;N[d>>2]=g+7;L[g+6|0]=66;N[e>>2]=a-7;n=210;break h}g=ji(f);if(!g){break k}a=N[e>>2];if(a>>>0<8){break g}f=N[d>>2];L[f+5|0]=27;L[f+6|0]=40;L[f+4|0]=g;L[f+3|0]=g>>>8;L[f+2|0]=66;L[f|0]=27;L[f+1|0]=36;N[d>>2]=f+8;L[f+7|0]=66;N[e>>2]=a-8;n=210;break h}n=196}la:{h=f>>>0>65535;ma:{if(!h){a=N[e>>2];break ma}a=N[e>>2];if((n&254)!=196){break la}}if(a>>>0<2){break g}g=n&1;j=N[d>>2];f=h?65533:f;L[g+j|0]=f>>>8;L[j+!g|0]=f;N[d>>2]=j+2;N[e>>2]=a-2;break h}if(a>>>0<4){break g}j=n&1;i=N[d>>2];g=f-65536>>>10|55296;L[j+i|0]=g>>>8;h=!j;L[h+i|0]=g;g=i+2|0;f=f&1023|56320;L[g+j|0]=f>>>8;L[g+h|0]=f;N[d>>2]=i+4;N[e>>2]=a-4;break h}n=192}a=N[e>>2];if(a>>>0<4){break g}g=n&3;h=N[d>>2];L[g+h|0]=f>>>24;L[h+(g^1)|0]=f>>>16;L[h+(g^2)|0]=f>>>8;L[h+(g^3)|0]=f;N[d>>2]=h+4;N[e>>2]=a-4;break h}a=1;break j}a=0}while(1){if(!a){q=q+1|0;f=42;a=1;continue}if(!N[e>>2]){break g}if(f>>>0<=255){if((ki(t,f)|0)==(f|0)){break i}}if(n>>>0<=63){a=n<<2;h=a>>>0<=255?255:a;while(1){if((ki(t,a)|0)==(f|0)){f=a;break i}g=(a|0)==(h|0);a=a+1|0;if(!g){continue}break}}a=0;continue}}g=N[e>>2];if(!g){break g}a=N[d>>2];N[d>>2]=a+1;L[a|0]=f;N[e>>2]=g-1}a=N[b>>2]+k|0;N[b>>2]=a;l=l-k|0;N[c>>2]=l;if(l){continue}break b}break}g=1;break d}h=28;break c}g=25}h=g}N[147316]=h;q=-1}N[147600]=v}La=m+48|0;return q}function nE(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+100>>2];a:{b:{c:{c=N[a+96>>2];if((c|0)>=0){d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break b}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){e=$a(N[a+104>>2],c<<3);b=N[a+100>>2];if(e){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break a}N[a+96>>2]=c;N[a+104>>2]=e}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,d-b<<3)}N[a+100>>2]=d;b=d;d=(N[a+104>>2]+(b<<3)|0)-8|0}c=N[a+76>>2];N[d+4>>2]=282;N[d>>2]=c;N[a+76>>2]=N[a+76>>2]+1;d:{e:{f:{c=N[a+96>>2];if((c|0)>=0){d=b+1|0;d=(d|0)>0?d:0;if(d>>>0<=c>>>0){break e}while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){b=$a(N[a+104>>2],c<<3);if(b){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break d}N[a+96>>2]=c;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){G(N[a+104>>2]+(b<<3)|0,0,d-b<<3)}N[a+100>>2]=d;d=(N[a+104>>2]+(d<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=283;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break i}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=d;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break l}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=d;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break o}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];p:{q:{r:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break q}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break r}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break p}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break u}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];v:{w:{x:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break w}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break x}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break v}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break A}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=d;N[b>>2]=1667654002;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{c=N[a+96>>2];if((c|0)>=0){d=N[a+100>>2];b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break C}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=536870911){d=$a(N[a+104>>2],c<<3);if(d){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;d=589824;break B}N[a+96>>2]=c;N[a+104>>2]=d;d=N[a+100>>2]}if(b>>>0>d>>>0){G(N[a+104>>2]+(d<<3)|0,0,b-d<<3)}N[a+100>>2]=b;d=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[d+4>>2]=278;N[d>>2]=b;N[a+76>>2]=N[a+76>>2]+1;d=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break G}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=d;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];H:{I:{J:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break I}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break J}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break H}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=d;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break M}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=d;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){c=d+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){e=$a(N[a+92>>2],T(b,28));d=N[a+88>>2];if(e){break P}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=e}if(d>>>0>>0){G(N[a+92>>2]+T(d,28)|0,0,T(c-d|0,28))}N[a+88>>2]=c;d=c;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=d;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Ee(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0;g=La-1104|0;La=g;a:{b:{c:{d:{e:{f:{g:{n=N[b+68>>2];h:{if(!n){e=1;break h}N[b+144>>2]=0;L[b+61|0]=0;M[b+140>>1]=0;i:{if(n>>>0>67108863){break i}e=n<<6;N[b+148>>2]=e>>>0<=16384?16384:e;if(n>>>0>4194303){break i}e=n<<10;N[b+152>>2]=e>>>0<=16384?16384:e}if(O[b+16|0]&32){o=db(1,172);j:{if(!o){o=588184;break j}N[o+148>>2]=1073741823;N[o+152>>2]=536870911;N[o>>2]=1;N[o+4>>2]=1;n=Ic();k:{if(!n){break k}e=N[n>>2];if(!e){break k}if((e|0)<=0){break b}N[n>>2]=e+1}L[o+60|0]=1;N[o+24>>2]=65533;N[o+12>>2]=n}Kd(o,b,0,-1)}l=b+40|0;C=N[a+84>>2];q=N[a+88>>2];x=N[a+24>>2];l:{if(N[x>>2]>0){p=g+108|0;while(1){n=N[x+208>>2];if(!oq(g+80|0,0,x,l,c,d,q,C)){f=275552;break l}if(n){t=N[g+116>>2];z=N[g+100>>2];A=N[g+104>>2];v=N[g+96>>2];u=N[g+92>>2];y=N[g+88>>2];s=N[g+84>>2];i=N[g+80>>2];e=n;while(1){m:{f=N[e>>2];if((i|0)!=N[f+16>>2]|N[f+20>>2]!=(s|0)|(N[f+24>>2]!=(y|0)|N[f+28>>2]!=(u|0))){break m}if((v|0)!=N[f+32>>2]|(A|0)!=N[f+40>>2]){break m}if(A){r=N[f+36>>2];if(N[r>>2]!=N[z>>2]){break m}w=0;m=0;if(N[r+4>>2]!=N[z+4>>2]){break m}while(1){n:{o:{p:{k=m<<4;h=k+r|0;if(!N[h+8>>2]){j=N[h+12>>2];h=k+z|0;if(!N[h+8>>2]){break p}if((j|0)!=-1){break o}break n}h=k+z|0;if(N[h+8>>2]|N[h+12>>2]!=-1){break o}break n}if((j|0)==-1^N[h+12>>2]==-1){break n}}m=m+1|0;w=A>>>0<=m>>>0;if((m|0)==(A|0)){break n}h=m<<4;j=h+r|0;h=h+z|0;if(N[j>>2]!=N[h>>2]){break n}if(N[j+4>>2]==N[h+4>>2]){continue}}break}if(!w){break m}}if(Mb(f+44|0,p,8)|(t|0)!=N[f+52>>2]){break m}e=N[f>>2];if(!e){break l}if((e|0)>0){N[f>>2]=e+1;break l}break b}e=N[e+4>>2];if(e){continue}break}}f=nq(x,l,c,d,q,C);e=db(1,8);if(!e){break l}N[e+4>>2]=n;N[e>>2]=f;if((n|0)==N[x+208>>2]){N[x+208>>2]=e;if(!f){f=0;break l}e=N[f>>2];if(!e){break l}if((e|0)<=0){break b}N[f>>2]=e+1;break l}pj(f);_a(e);if(N[x>>2]>0){continue}break}}f=nq(x,l,c,d,q,C)}q:{r:{if(!N[b+68>>2]){break r}if(!N[b+4>>2]){break g}i=1;if(N[b+36>>2]!=1){break a}n=0;if(N[f>>2]<=0){break q}if(N[f+12>>2]!=N[a+24>>2]){break f}if(N[f+16>>2]!=N[l>>2]|N[f+20>>2]!=N[b+44>>2]|(N[f+24>>2]!=N[b+48>>2]|N[f+28>>2]!=N[b+52>>2])){break e}if(N[f+32>>2]!=N[b+56>>2]){break e}e=N[f+52>>2];if((e|0)==292){if(!N[a+112>>2]){if(!N[a+108>>2]){break q}N[a+112>>2]=1}rq(f,a,b,c,d);break r}if((e|0)!=293){break q}if(!N[a+116>>2]){if(!N[a+108>>2]){break q}N[a+116>>2]=1}pq(e,a,b,e,e)}n=1;i=0;if(N[b+36>>2]!=1){break q}N[b+36>>2]=2}if(N[b+152>>2]<=0){L[b+61|0]=1}pj(f);s:{if(!o){e=n;break s}e=0;t:{if(i){break t}if(!O[b+60|0]){e=n;break t}if(O[b+61|0]){e=n;break t}if(!O[o+60|0]){e=n;break t}w=1;e=1;i=N[b+20>>2];u:{if(i>>>0>1){break u}s=N[b+68>>2];if(s>>>0>=2){m=N[b+80>>2];f=N[m+8>>2];j=(N[b+40>>2]&-3)==4;v:{while(1){h=f;f=N[(m+T(e,20)|0)+8>>2];if(!((h|0)!=(f|0)&!(j^f>>>0<=h>>>0))){e=e+1|0;if((s|0)!=(e|0)){continue}break v}break}w=0;Yd(b,a,22206,0);i=N[b+20>>2]}e=1;if(i>>>0>1){break u}}f=Ve(b);if(N[f+4>>2]){N[f+16>>2]=N[f+16>>2]&-33}k=Ve(b);if(N[k+4>>2]){N[k+16>>2]=N[k+16>>2]&-33}v=N[b+68>>2];w:{if(v-1>>>0<=4294967293){u=N[o+80>>2];t=N[b+80>>2];p=(N[b+40>>2]&-3)!=4;y=p?-1:0;s=v+1|0;r=1;j=N[o+68>>2];e=p?j:0;i=e;while(1){x:{if(r>>>0>>0){h=t+T(r,20)|0;if(L[(t+T(r+y|0,20)|0)+4|0]&1|N[h+8>>2]==N[h-12>>2]){break x}}y:{if((r|0)==(v|0)){e=p?0:e;i=p?i:j;break y}if(!p){if(i>>>0>=j>>>0){break y}h=N[(t+T(r,20)|0)+8>>2];while(1){if(h>>>0<=Q[(u+T(i,20)|0)+8>>2]){break y}i=i+1|0;if((j|0)!=(i|0)){continue}break}i=j;break y}m=N[(t+T(r,20)|0)-12>>2];while(1){h=e;if(!e){e=0;break y}e=h-1|0;if(m>>>0<=Q[(u+T(e,20)|0)+8>>2]){continue}break}e=h}if(e>>>0>=i>>>0){break d}if(N[f+4>>2]){N[f+36>>2]=0;N[f+40>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;L[f+60|0]=1;L[f+68|0]=0;L[f+69|0]=0;L[f+70|0]=0;L[f+71|0]=0;L[f+72|0]=0;L[f+73|0]=0;L[f+74|0]=0;L[f+75|0]=0;L[f+61|0]=0;L[f+62|0]=0;L[f+63|0]=0;L[f+64|0]=0;L[f+65|0]=0;L[f+66|0]=0;L[f+67|0]=0;L[f+68|0]=0;N[f+144>>2]=0;N[f+84>>2]=N[f+80>>2];M[f+140>>1]=0;N[f+132>>2]=0;N[f+136>>2]=0;N[f+124>>2]=0;N[f+128>>2]=0;N[f+116>>2]=0;N[f+120>>2]=0;N[f+108>>2]=0;N[f+112>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;h=N[f+16>>2];h=e?h&-2:h;N[f+16>>2]=i>>>0>>0?h&-3:h}Kd(f,o,e,i);if(!Ee(a,f,c,d)){Yd(b,a,22058,0);e=0;break w}if(!(O[f+61|0]?0:O[f+60|0])){bc(k);bc(f);e=1;break u}Kd(k,f,0,-1);i=p?e:i;e=i}r=r+1|0;if(s>>>0>r>>>0){continue}break}}e=vl(k,b)&-65;if(e){Yd(b,a,22305,0);if(N[b+4>>2]){N[b+132>>2]=0;N[b+136>>2]=0;N[b+36>>2]=0;N[b+68>>2]=0}Kd(b,k,0,-1)}e=!e}bc(k);bc(f)}v=e&w;z:{if(O[b+16|0]&64){r=1;if(Q[b+20>>2]<=1){q=Ve(b);N[g+72>>2]=q;k=Ve(b);N[g+76>>2]=k;if(N[q+4>>2]){N[q+16>>2]=N[q+16>>2]&-33}if(N[k+4>>2]){N[k+16>>2]=N[k+16>>2]&-33}p=Ve(b);if(N[p+4>>2]){N[p+16>>2]=N[p+16>>2]&-33}N[g+96>>2]=N[l+16>>2];e=N[l+12>>2];N[g+88>>2]=N[l+8>>2];N[g+92>>2]=e;e=N[l+4>>2];N[g+80>>2]=N[l>>2];N[g+84>>2]=e;if(N[q+4>>2]){f=N[l+8>>2];j=N[l+12>>2];h=N[l>>2];e=N[l+4>>2];N[q+56>>2]=N[l+16>>2];N[q+48>>2]=f;N[q+52>>2]=j;N[q+40>>2]=h;N[q+44>>2]=e}if(N[k+4>>2]){e=N[g+84>>2];N[k+40>>2]=N[g+80>>2];N[k+44>>2]=e;N[k+56>>2]=N[g+96>>2];e=N[g+92>>2];N[k+48>>2]=N[g+88>>2];N[k+52>>2]=e}if(N[p+4>>2]){e=N[g+84>>2];N[p+40>>2]=N[g+80>>2];N[p+44>>2]=e;N[p+56>>2]=N[g+96>>2];e=N[g+92>>2];N[p+48>>2]=N[g+88>>2];N[p+52>>2]=e}s=N[o+80>>2];j=N[o+68>>2];u=N[b+80>>2];t=N[b+68>>2];y=N[b+40>>2]&-3;if((y|0)!=4){Ue(b)}if(t-1>>>0<=4294967293){i=t+1|0;w=0;f=1;e=0;m=0;while(1){A:{if(f>>>0>>0){h=u+T(f,20)|0;if(N[h+8>>2]==N[h-12>>2]|O[h+4|0]&2){break A}}h=j;B:{if((f|0)==(t|0)){break B}h=e;if(e>>>0>=j>>>0){break B}l=N[(u+T(f,20)|0)+8>>2];while(1){h=e;if(l>>>0<=Q[(s+T(e,20)|0)+8>>2]){break B}e=e+1|0;if((j|0)!=(e|0)){continue}break}h=j}if(h>>>0<=m>>>0){break c}Kd(N[(g+72|0)+(w<<2)>>2],o,m,h);w=1-w|0;m=h;e=h}f=f+1|0;if(i>>>0>f>>>0){continue}break}}C:{if(!Ee(a,q,c,d)){r=0;Yd(b,a,22058,0);break C}if(O[q+61|0]|!O[q+60|0]){break C}if(!Ee(a,k,c,d)){r=0;Yd(b,a,22058,0);break C}if(O[k+61|0]|!O[k+60|0]){break C}if((y|0)!=4){Ue(q);Ue(k)}N[g+64>>2]=0;N[g+68>>2]=0;s=N[q+68>>2];N[g+56>>2]=s;N[g+48>>2]=N[q+80>>2];i=N[k+68>>2];N[g+60>>2]=i;N[g+52>>2]=N[k+80>>2];if(i|s){d=0;while(1){u=d<<2;l=u+(g- -64|0)|0;m=N[l>>2];e=m+1|0;c=N[u+(g+56|0)>>2];D:{if(e>>>0>=c>>>0){break D}j=N[u+(g+48|0)>>2];f=N[(j+T(m,20)|0)+8>>2];while(1){t=f;h=j+T(e,20)|0;f=N[h+8>>2];if((t|0)!=(f|0)&!(O[h+4|0]&2)){break D}e=e+1|0;if((c|0)!=(e|0)){continue}break}e=c}Kd(p,N[u+(g+72|0)>>2],m,e);N[l>>2]=e;d=1-d|0;if(s>>>0>Q[g+64>>2]|i>>>0>Q[g+68>>2]){continue}break}}if((y|0)!=4){Ue(b);Ue(p)}if(!(vl(p,b)&-65)){break C}r=0;Yd(b,a,22254,0);if(N[b+4>>2]){N[b+132>>2]=0;N[b+136>>2]=0;N[b+36>>2]=0;N[b+68>>2]=0}Kd(b,p,0,-1)}bc(p);bc(q);bc(k)}e=n;if(!(r&v)){break z}break t}e=n;if(v){break t}}d=0;m=N[o+68>>2];c=T(m,10)+16|0;e=(c|0)>0;l=e?c:0;E:{if(e){while(1){d=((d>>>1|0)+d|0)+8|0;if(l>>>0>=d>>>0){continue}break}d=kb(d);if(!d){d=0;break E}G(d,0,l);c=N[o+68>>2];L[d|0]=0;m=c>>>0>>0?c:m}c=N[o+36>>2];if(c|N[o+68>>2]?(c|0)!=1:0){break a}F:{if(!m){break F}h=N[o+80>>2];L[g+80|0]=60;N[g+32>>2]=N[h>>2];s=g+80|1;c=Me(s,1023,19054,g+32|0);e=((c|0)>0?c:0)+s|0;n=m-1|0;if(!n){L[e|0]=62;e=e+1|0}c=g+80|0;j=e-c|0;if(j>>>0>=l>>>0){break F}if((c|0)!=(e|0)){B(d,c,j)}i=d+j|0;L[i|0]=0;f=1;if((m|0)==1){break F}l=l-j|0;while(1){L[g+80|0]=124;N[g+16>>2]=N[h+T(f,20)>>2];c=Me(s,1023,19054,g+16|0);e=s+((c|0)>0?c:0)|0;if((f|0)==(n|0)){L[e|0]=62;e=e+1|0}c=g+80|0;j=e-c|0;if(j>>>0>=l>>>0){break F}if((c|0)!=(e|0)){B(i,c,j)}i=i+j|0;L[i|0]=0;l=l-j|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}}N[g>>2]=d;Yd(b,a,22118,g)}_a(d);e=0}bc(o)}M[b+140>>1]=0;N[b+148>>2]=1073741823;N[b+152>>2]=536870911}La=g+1104|0;return e}ba(22880,17868,402,13371);F()}ba(16467,17868,409,13371);F()}ba(22811,17868,410,13371);F()}ba(16634,17802,150,13830);F()}ba(16634,17802,292,9714);F()}ba(23506,14099,260,16403);F()}ba(24107,14165,530,16333);F()}function rm(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;l=La-48|0;La=l;f=c+d|0;g=N[b+20>>2];a:{b:{if(g){d=85;if(!(Qa[g|0](b,f,0,0)|0)){break b}break a}d=85;if(f>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=f;d=Bb(b,e);if(d){break a}c:{d:{if(!e){break d}g=N[b+32>>2];h=g+e|0;d=L[g|0];i=d&255;if((d|0)<0){p=N[a+16>>2];r=N[a+28>>2];N[l>>2]=0;d=8;if((e|0)<=0){break c}f=g+1|0;k=N[r>>2];e:{if(!(i&64)){e=f;break e}if(e>>>0<2){break c}e=g+2|0;f=O[f|0];if(!f){break e}while(1){j=e+2|0;if(j>>>0>h>>>0){break c}e=j+O[e|0]|0;if(h>>>0>>0){break c}f=f-1|0;if(f){continue}break}}q=i&63;f=q+p|0;g=N[a+20>>2];f:{if(f>>>0<=g>>>0){f=N[a+24>>2];break f}j=f+3&-4;if(j>>>0>64){break c}f=lb(k,24,g,j,N[a+24>>2],l);N[a+24>>2]=f;d=N[l>>2];if(d){break c}N[a+20>>2]=j}if(q){f=T(p,24)+f|0;d=8;while(1){i=e+1|0;if(h>>>0>>0){break c}g=O[e|0];N[f>>2]=65536;if(g&16){i=e+3|0;if(h>>>0>>0){break c}e=O[e+1|0]|O[e+2|0]<<8;N[f>>2]=(e<<8|e>>>8)<<16>>16<<4}N[f+4>>2]=65536;g:{if(!(g&32)){e=i;break g}e=i+2|0;if(h>>>0>>0){break c}j=O[i|0]|O[i+1|0]<<8;N[f+4>>2]=(j<<8|j>>>8)<<16>>16<<4}k=0;i=0;h:{i:{switch((g&3)-1|0){case 0:j=e+2|0;if(j>>>0>h>>>0){break c}e=O[e|0]|O[e+1|0]<<8;i=(e<<8|e>>>8)<<16>>16;e=j;break h;case 1:break i;default:break h}}j=e+1|0;if(j>>>0>h>>>0){break c}i=L[e|0];e=j}j:{k:{switch((g>>>2&3)-1|0){case 0:j=e+2|0;if(j>>>0>h>>>0){break c}e=O[e|0]|O[e+1|0]<<8;k=(e<<8|e>>>8)<<16>>16;e=j;break j;case 1:break k;default:break j}}j=e+1|0;if(j>>>0>h>>>0){break c}k=L[e|0];e=j}N[f+12>>2]=k;N[f+8>>2]=i;l:{if(g&64){i=e+2|0;if(h>>>0>>0){break c}e=O[e+1|0]|O[e|0]<<8;break l}i=e+1|0;if(h>>>0>>0){break c}e=O[e|0]}N[f+20>>2]=e;m:{if(g<<24>>24<0){e=i+3|0;if(h>>>0>>0){break c}k=2;j=O[i+1|0]<<8|O[i|0]<<16;break m}e=i+2|0;if(h>>>0>>0){break c}k=1;j=O[i|0]<<8}N[f+16>>2]=j|O[i+k|0];N[a+16>>2]=N[a+16>>2]+1;f=f+24|0;m=m+1|0;if((q|0)!=(m|0)){continue}break}}if(N[b+20>>2]){d=N[b>>2];if(d){e=N[b+28>>2];Qa[N[e+8>>2]](e,d)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;d=0;e=N[a+16>>2];if((e|0)==(p|0)){break a}w=e-p|0;j=P[r+22>>1];q=N[a+24>>2];k=0;while(1){f=T(k,24);e=T(p,24);d=f+(e+q|0)|0;d=rm(a,b,c,N[d+16>>2],N[d+20>>2]);if(d){break a}h=j<<16>>16;j=M[r+22>>1];i=j-h|0;q=N[a+24>>2];f=f+(e+q|0)|0;o=N[f>>2];n:{if(!((o|0)==65536&N[f+4>>2]==65536)){if((i|0)<=0){break n}d=o>>31;m=(d^o)-d|0;x=m&65535;y=m>>>16|0;z=m>>>8|0;u=N[f+4>>2];d=u>>31;s=(d^u)-d|0;A=s&65535;B=s>>>16|0;C=s>>>8|0;d=N[r+24>>2]+(h<<3)|0;e=N[f+12>>2];g=N[f+8>>2];f=0;while(1){t=N[d>>2];h=t>>31;h=(h^t)-h|0;o:{if(h+z>>>0<=8190){n=T(h,m)+32768>>>16|0;break o}n=h&65535;n=T(n,y)+T(m,h>>>16|0)+(T(n,x)+32768>>>16)|0}h=n;v=0-h|0;h=t>>31|1;N[d>>2]=((((o|0)<0?0-h|0:h)|0)<0?v:n)+g;t=N[d+4>>2];h=t>>31;h=(h^t)-h|0;p:{if(h+C>>>0<=8190){n=T(h,s)+32768>>>16|0;break p}n=h&65535;n=T(n,B)+T(s,h>>>16|0)+(T(n,A)+32768>>>16)|0}h=n;v=0-h|0;h=t>>31|1;N[d+4>>2]=((((u|0)<0?0-h|0:h)|0)<0?v:n)+e;d=d+8|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}break n}if((i|0)<=0){break n}d=N[r+24>>2]+(h<<3)|0;e=N[f+12>>2];g=N[f+8>>2];if((h^-1)+j>>>0>=3){h=i&-4;f=0;while(1){N[d>>2]=g+N[d>>2];N[d+4>>2]=e+N[d+4>>2];N[d+8>>2]=g+N[d+8>>2];N[d+16>>2]=g+N[d+16>>2];N[d+24>>2]=g+N[d+24>>2];N[d+12>>2]=e+N[d+12>>2];N[d+20>>2]=e+N[d+20>>2];N[d+28>>2]=e+N[d+28>>2];d=d+32|0;f=f+4|0;if((h|0)!=(f|0)){continue}break}}f=0;i=i&3;if(!i){break n}while(1){N[d>>2]=g+N[d>>2];N[d+4>>2]=e+N[d+4>>2];d=d+8|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}d=0;k=k+1|0;if((w|0)!=(k|0)){continue}break}break a}N[l+44>>2]=0;d=8;if((e|0)<=0){break c}k=N[N[a+28>>2]>>2];q:{if(i&4){if(e>>>0<2){break c}f=g+2|0;c=O[g+1|0];r=c>>>4|0;p=c&15;break q}if(i&2){if(e>>>0<2){break c}p=O[g+1|0];c=g+2|0}else{c=g+1|0}if(!(i&1)){f=c;break q}f=c+1|0;if(h>>>0>>0){break c}r=O[c|0]}g=p+r|0;c=N[a+4>>2];r:{s:{if(g>>>0>c>>>0){d=c;c=g+7&1016;m=lb(k,4,d,c,N[a+8>>2],l+44|0);N[a+8>>2]=m;d=N[l+44>>2];if(d){break c}N[a+4>>2]=c;N[a+12>>2]=(p<<2)+m;q=a+12|0;break s}m=N[a+8>>2];N[a+12>>2]=m+(p<<2);q=a+12|0;if(!g){break r}}c=0;d=0;while(1){t:{if(d&7){e=f;break t}e=f+1|0;if(h>>>0>>0){break d}c=O[f|0]}n=(d<<2)+m|0;u:{if(c&1){f=e+2|0;if(h>>>0>>0){break d}e=O[e|0]|O[e+1|0]<<8;j=(e<<8|e>>>8)<<16>>16;break u}f=e+1|0;if(h>>>0>>0){break d}j=O[e|0]+j|0}N[n>>2]=j;c=c>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;v:{if(!(i&8)){c=f;break v}c=f+1|0;if(h>>>0>>0){break c}e=O[f|0];if(e){while(1){f=c+2|0;if(f>>>0>h>>>0){break c}c=f+O[c|0]|0;if(h>>>0>>0){break c}e=e-1|0;if(e){continue}break}}N[l+44>>2]=0}L[a+32|0]=0;N[l+24>>2]=0;N[l+28>>2]=0;N[l>>2]=0;N[l+4>>2]=0;m=l+16|0;s=l|8;j=0;f=0;while(1){g=c+1|0;if(g>>>0>h>>>0){break d}c=O[c|0];e=c&15;k=1;w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{o=c>>>4|0;switch(o|0){case 0:break z;case 1:case 4:case 5:break A;case 7:break C;case 6:break D;case 3:break F;case 2:break G;default:break B}}if(e>>>0>=p>>>0){break d}N[l>>2]=N[N[a+8>>2]+(e<<2)>>2];break E}if(e>>>0>=r>>>0){break d}N[l>>2]=f;j=N[N[q>>2]+(e<<2)>>2]}N[l+4>>2]=j;j=N[l+4>>2];f=N[l>>2];N[l+24>>2]=f;N[l+28>>2]=j;c=g;break y}e=2958;k=3;break A}e=3627;k=3;break A}k=4}d=l;i=0;c=g;while(1){H:{I:{switch(e&3){case 0:g=c+1|0;if(g>>>0>h>>>0){break d}c=O[c|0];if(c>>>0>=p>>>0){break d}f=N[N[a+8>>2]+(c<<2)>>2];c=g;break H;case 1:g=c+2|0;if(g>>>0>h>>>0){break d}c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=g;break H;case 2:break I;default:break H}}g=c+1|0;if(g>>>0>h>>>0){break d}f=L[c|0]+f|0;c=g}N[d>>2]=f;J:{K:{switch(e>>>2&3){case 0:f=c+1|0;if(f>>>0>h>>>0){break d}c=O[c|0];if(c>>>0>=r>>>0){break d}j=N[N[q>>2]+(c<<2)>>2];c=f;break J;case 1:f=c+2|0;if(f>>>0>h>>>0){break d}c=O[c|0]|O[c+1|0]<<8;j=(c<<8|c>>>8)<<16>>16;c=f;break J;case 2:break K;default:break J}}f=c+1|0;if(f>>>0>h>>>0){break d}j=L[c|0]+j|0;c=f}N[d+4>>2]=j;L:{if(!((k|0)!=4|i)){f=c+1|0;if(f>>>0>h>>>0){break d}e=O[c|0];k=3;c=f;break L}e=e>>>4|0}j=N[d+4>>2];f=N[d>>2];N[l+24>>2]=f;N[l+28>>2]=j;d=d+8|0;i=i+1|0;if(k>>>0>i>>>0){continue}break}M:{switch(o|0){case 4:case 5:e=N[a+28>>2];N:{if(!O[a+32|0]){break N}i=M[e+58>>1];d=i-1|0;g=P[e+56>>1];k=g<<16>>16;if((k|0)<=0){g=0}else{g=M[(N[e+68>>2]+(g<<1)|0)-2>>1]}O:{if((d|0)<=(g|0)){break O}o=N[e+60>>2];u=o+(g<<3)|0;o=o+(d<<3)|0;if(N[u>>2]!=N[o>>2]|N[u+4>>2]!=N[o+4>>2]){break O}M[e+58>>1]=i-1;d=i-2|0}if((d|0)<(g|0)){break N}M[e+56>>1]=k+1;M[N[e+68>>2]+(k<<1)>>1]=d}L[a+32|0]=1;d=M[e+58>>1];i=(d+M[e+22>>1]|0)+1|0;k=N[e+4>>2];if(!(i>>>0<=k>>>0&Q[e+8>>2]>=(M[e+20>>1]+M[e+56>>1]|0)+1>>>0)){d=Sb(e,1,1);if(d){break w}if(!O[a+32|0]){d=8;break w}e=N[a+28>>2];d=M[e+58>>1];i=(d+M[e+22>>1]|0)+1|0;k=N[e+4>>2]}if(i>>>0>k>>>0){d=Sb(e,1,0);if(d){break w}d=M[e+58>>1]}break x;case 1:case 2:case 3:break y;case 0:break z;default:break M}}if(O[a+32|0]){d=N[a+28>>2];e=M[d+58>>1];P:{if(Q[d+4>>2]<(M[d+22>>1]+e|0)+3>>>0){e=Sb(d,3,0);if(e){break P}e=M[d+58>>1]}i=N[d- -64>>2];k=N[l+4>>2];g=N[d+60>>2]+(e<<3)|0;N[g>>2]=N[l>>2];N[g+4>>2]=k;k=N[s+4>>2];N[g+8>>2]=N[s>>2];N[g+12>>2]=k;k=N[m+4>>2];N[g+16>>2]=N[m>>2];N[g+20>>2]=k;e=e+i|0;L[e+2|0]=1;L[e|0]=2;L[e+1|0]=2;M[d+58>>1]=P[d+58>>1]+3;e=0}d=e}else{d=8}break w}e=N[a+28>>2];if(O[a+32|0]){f=M[e+58>>1];d=f-1|0;c=P[e+56>>1];j=c<<16>>16;if((j|0)<=0){c=0}else{c=M[(N[e+68>>2]+(c<<1)|0)-2>>1]}Q:{if((d|0)<=(c|0)){break Q}g=N[e+60>>2];i=g+(c<<3)|0;g=g+(d<<3)|0;if(N[i>>2]!=N[g>>2]|N[i+4>>2]!=N[g+4>>2]){break Q}M[e+58>>1]=f-1;d=f-2|0}if((c|0)<=(d|0)){M[e+56>>1]=j+1;M[N[e+68>>2]+(j<<1)>>1]=d}L[a+32|0]=0}$e(e);d=0;break c}if(!O[a+32|0]){d=8;break w}e=N[a+28>>2];d=M[e+58>>1];if(Q[e+4>>2]<(d+M[e+22>>1]|0)+1>>>0){d=Sb(e,1,0);if(d){break w}d=M[e+58>>1]}}i=N[l+4>>2];g=N[e+60>>2]+(d<<3)|0;N[g>>2]=N[l>>2];N[g+4>>2]=i;L[d+N[e- -64>>2]|0]=1;M[e+58>>1]=P[e+58>>1]+1;d=0}N[l+44>>2]=d;if(!d){continue}break}break c}d=8}if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}La=l+48|0;return d}function IA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=La+-64|0;La=h;i=O[a+48|0];a:{if(!(N[a+536>>2]|!i)){e=8;break a}e=N[a+540>>2];d=N[e>>2];if(!d){g=N[a>>2];N[e+4>>2]=357;d=Qa[N[g+4>>2]](g,552)|0;if(!d){N[N[a+540>>2]>>2]=0;e=64;break a}G(d,0,552);N[N[a+540>>2]>>2]=d;N[d>>2]=g;if(!i){N[d+548>>2]=N[N[a+532>>2]+3088>>2]}e=d+168|0;N[e>>2]=0;N[e+4>>2]=0;N[d+160>>2]=0;N[d+164>>2]=0;N[d+152>>2]=0;N[d+156>>2]=0;N[d+144>>2]=358;N[d+148>>2]=359;N[d+168>>2]=d+4;N[d+164>>2]=g;N[d+156>>2]=360}N[d+176>>2]=a;N[d+172>>2]=a;e=N[a+4>>2];k=L[N[e+128>>2]+56|0];g=N[e+96>>2];p=O[g+32|0];N[h+16>>2]=0;N[h+20>>2]=0;N[h+24>>2]=0;N[h+40>>2]=b;N[h+28>>2]=0;N[h+36>>2]=b?b+c|0:0;N[h+32>>2]=b;N[h+8>>2]=0;N[h+12>>2]=0;b=N[a+8>>2];j=O[b+161|0];o=O[b+160|0];b:{if(!o){c=1024;b=1024;break b}c=(N[b+168>>2]+32|0)/64|0;b=(N[b+164>>2]+32|0)/64|0}N[h+16>>2]=c;N[h+4>>2]=b;f=i?f:O[e+732|0];L[d+8|0]=i;L[d+9|0]=f;e=(o|0)!=0;N[d+12>>2]=e;if(!(!j|(p|(k|0)>=0?k:0))){N[d+12>>2]=e|2}N[d+188>>2]=N[g+36>>2];N[d+192>>2]=N[g+40>>2];N[d+196>>2]=N[g+44>>2];N[d+200>>2]=N[g+48>>2];N[d+204>>2]=N[g+52>>2];N[d+208>>2]=N[g+56>>2];N[d+212>>2]=N[g+60>>2];N[d+216>>2]=N[g- -64>>2];f=N[a+4>>2];g=P[f+68>>1];N[d+132>>2]=g;if(j){e=36;if((b|0)<=0|(c|0)<=0){break a}e=164;if(g<<16>>16<0){break a}l=b;b=fb(131072e3,g<<16);if((l|0)>(b|0)|(b|0)<(c|0)){break a}}N[h+48>>2]=0;N[h+52>>2]=0;e=0;N[h+44>>2]=0;j=N[d+140>>2];g=N[d+136>>2];N[h+60>>2]=0;N[h+56>>2]=0;N[d+4>>2]=0;b=N[a+536>>2];if((b|0)!=N[d+180>>2]){N[d+180>>2]=b;e=1}c:{d:{if(!(!N[N[a+532>>2]+3112>>2]|i)){c=N[d+548>>2];f=Qa[N[N[f+548>>2]+40>>2]](f,h+60|0,0,h+56|0,0)|0;N[d+4>>2]=f;if(f){break d}if(Qa[N[c+12>>2]](b+556|0,N[b+548>>2],N[h+60>>2],N[h+56>>2])|0){Qa[N[c+4>>2]](N[a+532>>2],b,N[h+60>>2],N[h+56>>2])|0;e=1}c=N[b+560>>2];L[d+93|0]=0;N[d+96>>2]=c;N[d+120>>2]=N[b+548>>2];N[d+124>>2]=N[h+60>>2];N[d+128>>2]=N[h+56>>2];f=N[a+4>>2]}f=P[N[f+88>>2]+14>>1]<<16;if((f|0)!=N[d+88>>2]){N[d+88>>2]=f;e=1}b=N[d+12>>2];L[d+184|0]=b&1;e:{f:{g:{if(!Mb(h+4|0,d+16|0,16)){p=d+186|0;b=b&2;i=O[d+186|0];if((b|0)!=(i|0)){break g}if(e){break f}break e}c=N[h+8>>2];N[d+16>>2]=N[h+4>>2];N[d+20>>2]=c;c=N[h+16>>2];N[d+24>>2]=N[h+12>>2];N[d+28>>2]=c;N[d+32>>2]=0;N[d+36>>2]=0;c=N[h+8>>2];N[d+40>>2]=N[h+4>>2];N[d+44>>2]=c;c=N[h+16>>2];N[d+48>>2]=N[h+12>>2];N[d+52>>2]=c;c=N[h+24>>2];N[d+56>>2]=N[h+20>>2];N[d+60>>2]=c;N[d+72>>2]=0;N[d+76>>2]=65536;N[d+64>>2]=65536;N[d+68>>2]=0;p=d+186|0;b=b&2;i=O[d+186|0];if((b|0)==(i|0)){break f}}i=b>>>1|0;L[p|0]=i}b=N[d+132>>2];o=b?b:1e3;c=65536e3/(o|0)|0;k=d+188|0;e=(f|0)<=262144?262144:f;f=N[a+536>>2];b=N[f+400>>2]<<16;if((b|0)<=0){b=fb(4915200,c)}N[d+220>>2]=b;h:{if((g|0)>0){a=fb(o<<16,e);N[d+228>>2]=0;if((c|0)<655){break h}a=(a|0)<(g|0)?g:a;if(!a){break h}N[d+228>>2]=(a|0)/2;break h}Uo(c,e,b,d+228|0,0,i,k);f=N[a+536>>2]}b=N[f+396>>2];i:{if(b<<16>0){a=4915200;if(N[d+220>>2]>b<<17){break i}}a=7208960}a=fb(a,c);N[d+224>>2]=a;Uo(c,e,a,d+232|0,j,O[d+186|0],k);a=1;a=N[d+228>>2]?a:N[d+232>>2]!=0;i=0;L[d+236|0]=0;L[d+185|0]=a;a=N[d+176>>2];G(d+244|0,0,304);k=N[d+52>>2];N[d+240>>2]=k;f=N[a+536>>2];g=fb(N[f+384>>2],65536e3);N[d+252>>2]=g;N[d+256>>2]=N[f+388>>2]<<16;N[d+260>>2]=N[f+392>>2]<<16;j=f+192|0;s=O[f+191|0];o=O[f+190|0];r=O[f+189|0];c=O[f+188|0];j:{k:{if(N[f+524>>2]==1){l:{switch(c|0){case 4:if(N[j>>2]<<16>-7864321|N[f+196>>2]<<16>-7864321|(N[f+200>>2]<<16<57671681|N[f+204>>2]<<16<57671681)){break k}break;case 0:break l;default:break k}}N[d+304>>2]=k;N[d+296>>2]=-7864321;N[d+288>>2]=49;g=N[d+232>>2];b=(g<<1)+57671681|0;N[d+276>>2]=b;a=k>>31;a=(a^k)-a|0;c=a>>>16|0;e=c+T(a,120)+((a&32768)+32768>>>16)|0;N[d+300>>2]=(((k|0)<0?e:0-e|0)+32768&-65536)-32768;N[d+268>>2]=50;N[d+284>>2]=k;L[d+249|0]=1;e=b;b=b>>31;b=(e^b)-b|0;m:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break m}e=c;c=b&65535;b=T(e,c)+T(a,b>>>16|0)+(T(c,a&65535)+32768>>>16)|0}a=b;c=0-a|0;a=(g|0)>-28835841?1:-1;N[d+280>>2]=((((k|0)<0?0-a|0:a)|0)<0?c:b)+32768&-65536|32768;break e}b=0;if(!c){break j}}a=N[f+192>>2]<<16;N[d+308>>2]=a;e=N[f+196>>2]<<16;N[d+312>>2]=e;b=0;a=e-a|0;if((a|0)>=0){i=1;N[d+244>>2]=1;N[d+316>>2]=e;L[d+324|0]=1;b=a}e=2;if(c>>>0<=2){break j}while(1){a=T(i,20)+d|0;l=e<<2;m=N[l+j>>2]<<16;N[a+308>>2]=m;l=N[j+(l|4)>>2]<<16;N[a+312>>2]=l;n=l-m|0;if((n|0)>=0){q=l;l=N[d+232>>2]<<1;N[a+312>>2]=q+l;m=m+l|0;N[a+308>>2]=m;N[a+316>>2]=m;L[a+324|0]=0;i=i+1|0;N[d+244>>2]=i;b=(b|0)<(n|0)?n:b}e=e+2|0;if(c>>>0>e>>>0){continue}break}}if(r){c=f+248|0;e=0;while(1){a=T(i,20)+d|0;j=e<<2;m=N[j+c>>2]<<16;N[a+308>>2]=m;j=N[c+(j|4)>>2]<<16;N[a+312>>2]=j;m=j-m|0;if((m|0)>=0){N[a+316>>2]=j;L[a+324|0]=1;i=i+1|0;N[d+244>>2]=i;b=(b|0)<(m|0)?m:b}e=e+2|0;if(r>>>0>e>>>0){continue}break}}r=fb(65536,k);if(i){u=f+344|0;v=f+288|0;m=0;w=o>>>0<3;while(1){a=T(m,20)+d|0;l=a;j=N[a+316>>2];n:{if(O[a+324|0]){a=0;c=2147483647;o:{if(!s){break o}while(1){n=N[(a<<2|4)+u>>2]<<16;q=j-n|0;e=q>>31;p:{e=(e^q)-e|0;if((e|0)>=(c|0)|(e|0)>=(r|0)){break p}N[l+316>>2]=n;c=e;if((j|0)!=(n|0)){break p}c=0;break o}a=a+2|0;if(s>>>0>a>>>0){continue}break}}if(o>>>0<2){break n}e=N[f+292>>2]<<16;j=j-e|0;a=j>>31;a=(a^j)-a|0;if((a|0)>=(c|0)|(a|0)>=(r|0)){break n}N[l+316>>2]=e;break n}if(w){break n}q=N[d+232>>2]<<1;a=2;c=2147483647;while(1){n=(N[(a<<2)+v>>2]<<16)+q|0;t=j-n|0;e=t>>31;e=(e^t)-e|0;if(!((e|0)>=(c|0)|(e|0)>=(r|0))){N[l+316>>2]=n;c=e;if((j|0)==(n|0)){break n}}a=a+2|0;if(o>>>0>a>>>0){continue}break}}m=m+1|0;if((m|0)!=(i|0)){continue}break}}q:{if((b|0)<=0){break q}a=fb(65536,b);if((a|0)>=(g|0)){break q}N[d+252>>2]=a;g=a}if((g|0)>(k|0)){L[d+248|0]=1;a=jb(39322,k,g);N[d+264>>2]=(a|0)<6555?32767:39322-a|0}if(O[p|0]){N[d+264>>2]=0}if(!i){break e}f=d+240|0;a=0;while(1){b=T(a,20);c=b+f|0;k=O[c+84|0];l=b+d|0;g=N[c+76>>2];c=g>>31;e=N[d+240>>2];b=e>>31;c=(c^g)-c|0;b=(b^e)-b|0;r:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break r}p=c&65535;c=T(p,b>>>16|0)+T(b,c>>>16|0)+(T(p,b&65535)+32768>>>16)|0}b=c;q=0-b|0;b=g>>31|1;c=(((e|0)<0?0-b|0:b)|0)<0?q:c;b=N[d+264>>2];N[l+320>>2]=(c+(k?0-b|0:b)|0)+32768&-65536;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(N[d+4>>2]){break d}L[d+236|0]=0;N[d+160>>2]=0;b=O[d+185|0];a=N[N[d+172>>2]+12>>2];N[a+20>>2]=0;N[a+48>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];g=N[a+32>>2];c=a- -64|0;N[c>>2]=N[a+28>>2];N[c+4>>2]=g;c=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=c;c=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=c;c=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=c;c=h+28|0;g=d+144|0;e=h+48|0;f=h+44|0;Be(d,c,g,e,0,0,0,f);if(N[d+4>>2]){break d}if(!(!b|N[d+160>>2]>=0)){L[d+236|0]=1;N[d+160>>2]=0;a=N[N[d+172>>2]+12>>2];N[a+20>>2]=0;N[a+48>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];i=N[a+32>>2];b=a- -64|0;N[b>>2]=N[a+28>>2];N[b+4>>2]=i;b=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=b;b=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=b;b=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=b;Be(d,c,g,e,0,0,0,f);if(N[d+4>>2]){break d}}e=N[d+172>>2];a=N[e+20>>2];s:{if(!a){break s}t:{u:{b=P[a>>1];g=b<<16>>16;if((g|0)>=2){b=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break u}b=0;if(g){break u}c=P[a+2>>1];break t}c=M[a+2>>1];if((c|0)!=(b|0)){break t}M[a>>1]=g-1;break s}v:{if(c<<16>>16<2){break v}f=N[a+4>>2];i=f+(b<<3)|0;k=c&65535;f=f+(k<<3)|0;if(N[i>>2]!=N[f-8>>2]|N[i+4>>2]!=N[f-4>>2]|O[(k+N[a+8>>2]|0)-1|0]!=1){break v}c=c-1|0;M[a+2>>1]=c}if((g|0)<=0){break s}l=b;b=(c<<16>>16)-1|0;if((l|0)==(b|0)){M[a+2>>1]=c-1;M[a>>1]=g-1;break s}M[(N[a+12>>2]+(g<<1)|0)-2>>1]=b}$e(N[e+12>>2]);if(!N[d+4>>2]){break c}}e=3;break a}a=N[h+44>>2];e=0;N[d+4>>2]=0;b=N[d+172>>2];if(O[b+48|0]){break a}N[N[b+544>>2]>>2]=a+32768>>16}La=h- -64|0;return e|0}function Gt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=La-32|0;La=f;o=1;j=N[b+540>>2];a:{if((d|0)<=0){d=0;break a}p=d&3;if(d>>>0<4){c=0}else{g=d&-4;d=0;while(1){i=1;n=h<<3;m=N[n+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}c=d}else{c=1}d=N[(n|8)+e>>2]-1768386662|0;if(d){if((d|0)==13){k=1}i=c}d=1;m=N[(n|16)+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}c=i}else{c=1}i=N[(n|24)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}d=c}h=h+4|0;if((h|0)!=(g|0)){continue}break}c=d}if(!p){break a}while(1){i=N[(g<<3)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}}else{c=1}d=c;g=g+1|0;c=d;l=l+1|0;if((p|0)!=(l|0)){continue}break}}b:{if(N[N[b+128>>2]+52>>2]){break b}e=P[b+152>>1];if(e){c=N[b+156>>2];g=c+(e<<4)|0;e=c;while(1){if(N[e+12>>2]?N[e>>2]==1735162214:0){break b}e=e+16|0;if(g>>>0>e>>>0){continue}break}e=c;while(1){if(N[e+12>>2]?N[e>>2]==1128678944:0){break b}e=e+16|0;if(g>>>0>e>>>0){continue}break}while(1){if(N[c+12>>2]?N[c>>2]==1128678962:0){break b}c=c+16|0;if(g>>>0>c>>>0){continue}break}}o=0}e=1;g=Qa[N[b+516>>2]](b,1935829368,a,0)|0;i=(g|0)!=0&o;c:{d:{e:{if(i){break e}h=N[j+68>>2];if(!h){break e}c=0;h=Qa[h|0](b,a)|0;e=(h|0)!=0;if(!g){break e}if(!h){break d}}g=Qa[N[j+24>>2]](b,a)|0;N[f+28>>2]=g;c=e;if(g){break c}}e=Qa[N[b+516>>2]](b,1128418371,a,0)|0;g=Qa[N[b+516>>2]](b,1128416340,a,0)|0;if((P[b+178>>1]-16385&65535)>>>0<=49166){N[f+28>>2]=8;break c}e=i&((e|0)!=0&(g|0)!=0);Qa[N[j+36>>2]](b,a)|0;Qa[N[j+32>>2]](b,a)|0;Qa[N[j+48>>2]](b,a)|0;i=Qa[N[j+44>>2]](b,a)|0;f:{if(!c){g=e;break f}c=Qa[N[j+28>>2]](b,a,0)|0;N[f+28>>2]=c;g:{h:{i:{if(!c){c=Qa[N[j+92>>2]](b,a,0)|0;N[f+28>>2]=c;if((c&255)!=142){break h}N[f+28>>2]=147;c=N[N[b+128>>2]+52>>2];if(!c){break c}if(N[N[c>>2]+8>>2]){break i}break c}if((c&255)!=142){break c}g=0;if(N[b+148>>2]==1953658213){break g}N[f+28>>2]=143;c=N[N[b+128>>2]+52>>2];if(!c|!N[N[c>>2]+8>>2]){break c}}M[b+250>>1]=0;g=e;break g}g=e;if(c){break c}}e=Qa[N[j+28>>2]](b,a,1)|0;N[f+28>>2]=e;j:{k:{if(e){break k}e=Qa[N[j+92>>2]](b,a,1)|0;N[f+28>>2]=e;if(e){break k}L[b+292|0]=1;break j}if((e&255)!=142){break c}}c=Qa[N[j+40>>2]](b,a)|0;N[f+28>>2]=c;if(!c){break f}M[b+372>>1]=65535}c=N[j+96>>2];if(c){Qa[c|0](b,a)|0}c=N[j+112>>2];if(c){Qa[c|0](b,a)|0;Qa[N[j+116>>2]](b,a)|0}Qa[N[j+64>>2]](b,a)|0;Qa[N[j+60>>2]](b,a)|0;Qa[N[j+56>>2]](b,a)|0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+16>>2]=P[b+264>>1];a=b+24|0;c=b+20|0;l:{if(!(!(L[b+437|0]&1)|P[b+372>>1]==65535)){m:{if(!(d&255)){d=Uc(b,16,c);N[f+28>>2]=d;if(d){break c}if(N[c>>2]){break m}}c=Uc(b,1,c);N[f+28>>2]=c;if(c){break c}}if(!(k&255)){c=Uc(b,17,a);N[f+28>>2]=c;if(c){break c}}if(N[a>>2]){break l}a=Uc(b,2,a);N[f+28>>2]=a;if(!a){break l}break c}e=Uc(b,21,c);N[f+28>>2]=e;if(e){break c}l=N[c>>2];if(!(l|d&255)){d=Uc(b,16,c);N[f+28>>2]=d;if(d){break c}l=N[c>>2]}if(!l){c=Uc(b,1,c);N[f+28>>2]=c;if(c){break c}}c=Uc(b,22,a);N[f+28>>2]=c;if(c){break c}d=N[a>>2];if(!(d|k&255)){c=Uc(b,17,a);N[f+28>>2]=c;if(c){break c}d=N[a>>2]}if(d){break l}a=Uc(b,2,a);N[f+28>>2]=a;if(a){break c}}d=N[b+8>>2];a=g|(!N[b+872>>2]&(N[b+796>>2]&-2)!=2?d:d|16384);d=a|24;d=i?d:N[b+476>>2]==196608?d:a|536;a=N[b+488>>2]?d|4:d;a=O[b+292|0]?a|32:a;h=N[b+820>>2]?a|64:a;n:{if(!(L[b+740|0]&1)){break n}a=P[b+152>>1];if(!a){break n}d=N[b+156>>2];a=d+(a<<4)|0;e=d;o:{while(1){p:{if(!(!N[e+12>>2]|N[e>>2]!=1735162214)){e=d;while(1){if(N[e+12>>2]?N[e>>2]==1735811442:0){break p}e=e+16|0;if(a>>>0>e>>>0){continue}break}break o}e=e+16|0;if(a>>>0>e>>>0){continue}break o}break}h=h|256}while(1){if(!(N[d+12>>2]?N[d>>2]==1128678962:0)){d=d+16|0;if(a>>>0>d>>>0){continue}break n}break}h=h|256}N[b+8>>2]=h;q:{if(!(!g|P[b+372>>1]==65535)){a=P[b+436>>1];a=a>>>4&2|(a&513)!=0;break q}a=P[b+204>>1];a=(a<<1|(a&2)>>>1)&3}N[b+12>>2]=a|N[b+12>>2];a=La-224|0;La=a;d=kb(40);N[d>>2]=0;h=N[b+508>>2];N[a+216>>2]=h;c=N[a+216>>2];r:{if(!c){break r}e=N[b+512>>2];if(e>>>0<4){break r}N[a+216>>2]=c+2;N[a+216>>2]=N[a+216>>2]+2;N[a+220>>2]=O[N[a+216>>2]-1|0]|O[N[a+216>>2]-2|0]<<8;if(!N[a+220>>2]){break r}g=4;k=e+h|0;while(1){c=N[a+216>>2];if(k>>>0>>0){break r}N[a+216>>2]=c+2;c=O[N[a+216>>2]-2|0];e=O[N[a+216>>2]-1|0];N[a+216>>2]=N[a+216>>2]+2;M[a+212>>1]=e|c<<8;c=O[N[a+216>>2]-2|0];e=O[N[a+216>>2]-1|0];N[a+216>>2]=N[a+216>>2]+4;N[a+204>>2]=b;N[a+208>>2]=0;M[a+214>>1]=e|c<<8;c=O[N[a+216>>2]-1|0]|(O[N[a+216>>2]-3|0]<<16|O[N[a+216>>2]-4|0]<<24|O[N[a+216>>2]-2|0]<<8);if(!(!c|c>>>0>N[b+512>>2]-2>>>0)){N[a+200>>2]=c+h;c=N[a+200>>2];N[a+196>>2]=O[c+1|0]|O[c|0]<<8;N[a+192>>2]=178304;s:{if(!N[N[a+192>>2]>>2]){break s}while(1){t:{N[a+188>>2]=N[N[a+192>>2]>>2];if(N[N[a+188>>2]+40>>2]==N[a+196>>2]){c=0;N[a+8>>2]=0;N[a+168>>2]=N[a+200>>2];N[a+172>>2]=k;N[a+176>>2]=0;N[a+180>>2]=0;N[a+184>>2]=P[b+264>>1];d=Mh(a+12|0,1,d,g);g=Ma;while(1){u:{v:{w:{if(!c){c=N[N[a+188>>2]+44>>2];N[147441]=0;l=za(c|0,N[a+200>>2],a+12|0)|0;c=N[147441];N[147441]=0;e=-1;x:{if(!c){break x}i=N[147442];if(!i){break x}e=Lh(N[c>>2],d,g);if(!e){break w}Ma=i}c=Ma;if((e|0)==1){continue}N[a+8>>2]=l}if(N[a+180>>2]){break s}N[147441]=0;l=ya(186,N[a+188>>2],N[a+200>>2],a+204|0,a+4|0)|0;c=N[147441];N[147441]=0;e=-1;if(!c){break u}i=N[147442];if(!i){break u}e=Lh(N[c>>2],d,g);if(e){break v}}_a(d);oe(c,i);F()}Ma=i}c=Ma;if((e|0)==1){continue}break}break t}N[a+192>>2]=N[a+192>>2]+4;if(N[N[a+192>>2]>>2]){continue}break s}break}if(l){break s}N[N[a+4>>2]+20>>2]=N[a+8>>2]}}N[a+220>>2]=N[a+220>>2]-1;if(N[a+220>>2]){continue}break}}_a(d);La=a+224|0;e=N[b+36>>2];y:{if((e|0)>0){i=N[b+40>>2];k=1;d=0;while(1){c=N[i+(d<<2)>>2];a=P[c+10>>1];g=178352;z:{A:{B:{C:{switch(P[c+8>>1]){case 0:g=178364;break B;case 1:if(a){break A}g=178376;break B;case 2:break B;case 3:break C;default:break A}}if(!(1151>>>a&1)|a>>>0>=11){break A}g=N[(a<<2)+179376>>2]}a=N[g+8>>2];N[c+4>>2]=a;if((a|0)!=1937337698&(a|0)!=1970170211){break z}k=0;d=d+1|0;if((e|0)!=(d|0)){continue}break y}N[c+4>>2]=0}d=d+1|0;if((e|0)!=(d|0)){continue}break}if(!(k&1)){break y}}if(!(O[b+9|0]&2)){break y}N[f>>2]=b;N[f+4>>2]=1970170211;N[f+8>>2]=65539;a=Ac(177852,0,f,0);N[f+28>>2]=a;D:{if(!a){break D}a=a&255;if((a|0)==163){break D}if((a|0)!=7){break c}}N[f+28>>2]=0}a=N[b+800>>2];E:{if(!a){break E}e=N[N[b+104>>2]+28>>2];k=P[b+178>>1];if(!k|P[b+372>>1]==65535){k=1;c=1}else{c=P[b+374>>1]}d=f+28|0;q=b,r=lb(e,16,0,a,0,d),N[q+32>>2]=r;if(N[f+28>>2]){break c}g=lb(e,4,0,a,0,d);if(N[f+28>>2]){break c}l=k>>>1|0;n=c<<16>>16;h=0;d=0;while(1){c=N[b+32>>2];o=Qa[N[j+108>>2]](b,d,f)|0;F:{if(o){break F}c=c+(h<<4)|0;M[c>>1]=N[f+20>>2]>>>6;i=P[f>>1];N[c+8>>2]=i<<6;M[c+2>>1]=(l+T(i,n)|0)/(k|0);p=P[f+2>>1];m=p<<6;N[c+4>>2]=m;N[c+12>>2]=m;if(!i|!p){break F}N[g+(h<<2)>>2]=d;h=h+1|0}d=d+1|0;if((a|0)!=(d|0)){continue}break}N[f+28>>2]=o;a=lb(e,4,a,h,g,f+28|0);if(!h){break E}N[b+804>>2]=a;N[b+28>>2]=h;N[b+8>>2]=N[b+8>>2]|2}d=N[b+8>>2];if(!(d&3)){d=d|1;N[b+8>>2]=d}if(!(d&1)){break c}M[b+68>>1]=P[b+178>>1];N[b+52>>2]=M[b+196>>1];N[b+56>>2]=M[b+198>>1];N[b+60>>2]=M[b+200>>1];N[b- -64>>2]=M[b+202>>1];d=P[b+372>>1]==65535;G:{if(!(d|!(O[b+436|0]&128))){a=P[b+442>>1];M[b+70>>1]=a;c=P[b+444>>1];M[b+72>>1]=c;M[b+74>>1]=P[b+446>>1]+(a-c|0);break G}a=P[b+220>>1];M[b+70>>1]=a;c=P[b+222>>1];M[b+72>>1]=c;M[b+74>>1]=P[b+224>>1]+(a-c|0);if(c|(a|d)){break G}a=P[b+442>>1];c=P[b+444>>1];if(a|c){M[b+72>>1]=c;M[b+70>>1]=a;M[b+74>>1]=P[b+446>>1]+(a-c|0);break G}a=P[b+448>>1];M[b+70>>1]=a;c=a;a=P[b+450>>1];M[b+74>>1]=c+a;M[b+72>>1]=0-a}M[b+76>>1]=P[b+226>>1];M[b+78>>1]=P[(O[b+292|0]?306:74)+b>>1];a=M[b+486>>1];M[b+82>>1]=a;M[b+80>>1]=P[b+484>>1]+((a|0)/-2|0)}La=f+32|0;return N[f+28>>2]}function kf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=La-80|0;La=h;p=N[a>>2];a:{if(f){break a}g=N[a+4>>2];if(O[g+12|0]){break a}k=N[d>>2];N[h+68>>2]=0;N[h+72>>2]=0;N[h+60>>2]=0;N[h+64>>2]=0;N[h+52>>2]=0;N[h+56>>2]=0;N[h+48>>2]=k;kf(g,b,c,h+48|0,e,1)}b:{c:{d:{if(O[d+4|0]){break d}g=N[c+16>>2]+N[b+16>>2]|0;e:{if(g>>>0>=97){b=N[d>>2];if(!b|N[b>>2]){break e}N[b>>2]=18;break e}N[d+8>>2]=g;M[d+4>>1]=257;N[d+12>>2]=g+7>>>3;if(!g){break d}c=0;g=-1<<(0-g&7);while(1){L[(c+d|0)+16|0]=255;c=c+1|0;k=N[d+12>>2];if(c>>>0>>0){continue}break}c=d+k|0;L[c+15|0]=g&O[c+15|0];if(O[d+4|0]){break d}}if(!O[p+8|0]){break b}N[N[d>>2]>>2]=0;a=a+13|0;break c}N[a+20>>2]=0;N[a+24>>2]=0;N[h+72>>2]=N[d+24>>2];g=N[d+20>>2];s=h- -64|0;c=s;N[c>>2]=N[d+16>>2];N[c+4>>2]=g;c=N[d+12>>2];N[h+56>>2]=N[d+8>>2];N[h+60>>2]=c;c=N[d+4>>2];N[h+48>>2]=N[d>>2];N[h+52>>2]=c;v=N[b+16>>2];if(v>>>0>Q[d+8>>2]){break b}if(O[p+249|0]){N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;c=h+24|0;jf(a,p+288|0,c);jf(a,c,p+268|0)}f:{g:{if(v){k=s;r=128;while(1){h:{if(!(O[k|0]&r)){break h}c=N[a+16>>2];N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;g=n;l=g>>>0>2];i:{if(l){break i}g=0;i=N[b+4>>2];if(!i|N[i>>2]){break i}N[i>>2]=130}j:{k:{u=N[b+24>>2];o=N[b+8>>2];g=u+T(o,g)|0;i=N[g+8>>2];m=N[g+4>>2];j=i-m|0;if((j|0)==-1376256){m=1}else{if((j|0)==-1310720){N[h+40>>2]=c;N[h+32>>2]=e;N[h+28>>2]=n;m=0;i=e;break k}i=(j|0)<0?i:m;m=4}N[h+40>>2]=c;N[h+24>>2]=m;N[h+28>>2]=n;i=e+i|0;N[h+32>>2]=i;if(!O[g|0]){break k}q=N[g+12>>2];m=m|16;N[h+24>>2]=m;break j}j=i>>31;j=(j^i)-j|0;g=c>>31;g=(g^c)-g|0;l:{if(j+(g>>>8|0)>>>0<=8190){j=T(g,j)+32768>>>16|0;break l}q=j&65535;j=T(q,g>>>16|0)+T(g,j>>>16|0)+(T(q,g&65535)+32768>>>16)|0}g=j;q=0-g|0;g=i>>31|1;q=(((c|0)<0?0-g|0:g)|0)<0?q:j}N[h+36>>2]=q;c=N[a+16>>2];N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h>>2]=0;N[h+4>>2]=0;g=n;m:{if(l){break m}g=0;j=N[b+4>>2];if(!j|N[j>>2]){break m}N[j>>2]=130}n:{o:{l=u+T(g,o)|0;o=N[l+8>>2];g=N[l+4>>2];j=o-g|0;if((j|0)==-1310720){j=2}else{if((j|0)==-1376256){N[h+16>>2]=c;N[h+8>>2]=e;N[h+4>>2]=n;j=0;g=e;break o}g=(j|0)<0?g:o;j=8}N[h>>2]=j;o=N[p+232>>2];N[h+16>>2]=c;N[h+4>>2]=n;g=(e+g|0)+(o<<1)|0;N[h+8>>2]=g;if(!O[l|0]){break o}o=N[l+16>>2];j=j|16;N[h>>2]=j;break n}o=g>>31;o=(o^g)-o|0;l=c>>31;l=(l^c)-l|0;p:{if(o+(l>>>8|0)>>>0<=8190){o=T(l,o)+32768>>>16|0;break p}u=o&65535;o=T(u,l>>>16|0)+T(l,o>>>16|0)+(T(u,l&65535)+32768>>>16)|0}l=o;t=0-l|0;l=g>>31|1;o=(((c|0)<0?0-l|0:l)|0)<0?t:o}N[h+12>>2]=o;q:{if((j|m)&16){break q}u=N[p+244>>2];if(!u){break h}l=N[p+260>>2];t=j&10;r:{s:{t:{if(!(m&5)){c=0;if(!t){break h}while(1){i=p+T(c,20)|0;u:{if(O[i+324|0]){break u}w=N[i+308>>2];if((w-l|0)>(g|0)){break u}if((l+N[i+312>>2]|0)>=(g|0)){break t}}c=c+1|0;if((u|0)!=(c|0)){continue}break}break h}c=0;if(!t){while(1){g=p+T(c,20)|0;if(!(!O[g+324|0]|(N[g+308>>2]-l|0)>(i|0))){t=N[g+312>>2];if((l+t|0)>=(i|0)){break s}}c=c+1|0;if((u|0)!=(c|0)){continue}break h}}while(1){t=p+T(c,20)|0;w=N[t+308>>2];x=w-l|0;v:{if(O[t+324|0]){if((i|0)<(x|0)){break v}t=N[t+312>>2];if((l+t|0)<(i|0)){break v}break s}if((g|0)<(x|0)){break v}if((l+N[t+312>>2]|0)>=(g|0)){break t}}c=c+1|0;if((u|0)!=(c|0)){continue}break}break h}i=N[(p+T(c,20)|0)+320>>2];w:{if(O[p+248|0]){break w}i=o+32768&-65536;if(N[p+256>>2]>(g-w|0)){break w}c=N[(p+T(c,20)|0)+320>>2]+65536|0;i=(c|0)<(i|0)?i:c}c=i-o|0;if(!m){break r}N[h+24>>2]=m|16;N[h+36>>2]=c+q;break r}g=N[(p+T(c,20)|0)+320>>2];x:{if(O[p+248|0]){break x}g=q+32768&-65536;if(N[p+256>>2]>(t-i|0)){break x}c=N[(p+T(c,20)|0)+320>>2]-65536|0;g=(c|0)>(g|0)?g:c}N[h+24>>2]=m|16;N[h+36>>2]=g;if(!j){break q}c=g-q|0}N[h>>2]=j|16;N[h+12>>2]=c+o}jf(a,h+24|0,h);L[k|0]=O[k|0]&(r^-1)}c=(n&7)==7;r=c?128:r>>>1&127;k=c+k|0;n=n+1|0;if((v|0)!=(n|0)){continue}break}if(f){break g}n=128;c=0;while(1){if(O[s|0]&n){k=N[a+16>>2];N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;i=c;m=Q[b+16>>2]>c>>>0;y:{if(m){break y}i=0;g=N[b+4>>2];if(!g|N[g>>2]){break y}N[g>>2]=130}z:{A:{l=N[b+24>>2];r=N[b+8>>2];i=l+T(r,i)|0;g=N[i+8>>2];q=N[i+4>>2];j=g-q|0;if((j|0)==-1376256){j=1}else{if((j|0)==-1310720){N[h+40>>2]=k;N[h+32>>2]=e;N[h+28>>2]=c;g=e;break A}g=(j|0)<0?g:q;j=4}N[h+40>>2]=k;N[h+24>>2]=j;N[h+28>>2]=c;g=e+g|0;N[h+32>>2]=g;if(!O[i|0]){break A}g=N[i+12>>2];N[h+24>>2]=j|16;N[h+36>>2]=g;break z}j=g>>31;j=(j^g)-j|0;i=k>>31;i=(i^k)-i|0;B:{if(j+(i>>>8|0)>>>0<=8190){i=T(i,j)+32768>>>16|0;break B}q=j&65535;i=T(q,i>>>16|0)+T(i,j>>>16|0)+(T(q,i&65535)+32768>>>16)|0}g=g>>31|1;N[h+36>>2]=(((k|0)<0?0-g|0:g)|0)<0?0-i|0:i}k=N[a+16>>2];N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h>>2]=0;N[h+4>>2]=0;i=c;C:{if(m){break C}i=0;g=N[b+4>>2];if(!g|N[g>>2]){break C}N[g>>2]=130}D:{E:{i=l+T(i,r)|0;m=N[i+8>>2];g=N[i+4>>2];j=m-g|0;if((j|0)==-1310720){j=2}else{if((j|0)==-1376256){N[h+16>>2]=k;N[h+8>>2]=e;N[h+4>>2]=c;g=e;break E}g=(j|0)<0?g:m;j=8}N[h>>2]=j;m=N[p+232>>2];N[h+16>>2]=k;N[h+4>>2]=c;g=(e+g|0)+(m<<1)|0;N[h+8>>2]=g;if(!O[i|0]){break E}g=N[i+16>>2];N[h>>2]=j|16;N[h+12>>2]=g;break D}j=g>>31;j=(j^g)-j|0;i=k>>31;i=(i^k)-i|0;F:{if(j+(i>>>8|0)>>>0<=8190){i=T(i,j)+32768>>>16|0;break F}m=j&65535;i=T(m,i>>>16|0)+T(i,j>>>16|0)+(T(m,i&65535)+32768>>>16)|0}g=g>>31|1;N[h+12>>2]=(((k|0)<0?0-g|0:g)|0)<0?0-i|0:i}jf(a,h+24|0,h)}g=(c&7)==7;n=g?128:n>>>1&127;s=g+s|0;c=c+1|0;if((v|0)!=(c|0)){continue}break}break f}if(!f){break f}}c=N[a+20>>2];if(!(!c|N[a+36>>2]>0)&N[(T(c,20)+a|0)+16>>2]>=0){break f}N[h+36>>2]=0;N[h+28>>2]=0;N[h+32>>2]=0;N[h+24>>2]=49;c=N[a+16>>2];N[h+8>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h>>2]=0;N[h+4>>2]=0;N[h+40>>2]=c;jf(a,h+24|0,h)}r=N[a+8>>2];N[r+16>>2]=0;j=N[a+20>>2];if(j){p=a+28|0;c=0;while(1){i=c+1|0;m=T(c,20);n=m+p|0;e=N[n>>2];q=e&12;r=q?i:c;g=p+T(r,20)|0;o=g;G:{if(e&16){break G}l=N[n+12>>2];e=l&65535;s=e?65536-e|0:0;v=N[g+12>>2];k=v&65535;g=k?65536-k|0:0;g=g>>>0>s>>>0?s:g;s=(e|0)<(k|0)?e:k;k=0-s|0;H:{I:{if(r>>>0>>0){j=T(r+1|0,20)+a|0;if(N[j+40>>2]<((g+v|0)+32768|0)){break I}}if(!(!c|N[(a+m|0)+20>>2]<=((l-s|0)-32768|0))){k=g;break H}k=g>>>0>s>>>0?k:g;break H}J:{if(c){e=0;if(N[(a+m|0)+20>>2]>((l-s|0)-32768|0)){break J}}e=k;if(g>>>0>=s>>>0){break H}}if(!(O[j+28|0]&16)){N[h+24>>2]=r;N[h+28>>2]=g-e;Oo(N[a+8>>2],h+24|0)}k=e}N[n+12>>2]=k+l;if(!q){break G}N[o+12>>2]=k+v}K:{if(!c){break K}e=a+m|0;g=N[e+36>>2];e=N[e+16>>2];if((g|0)==(e|0)){break K}k=T(c-1|0,20)+a|0;y=k,z=fb(N[n+12>>2]-N[k+40>>2]|0,g-e|0),N[y+44>>2]=z}if(q){c=N[(p+T(i,20)|0)+8>>2];e=N[n+8>>2];if((c|0)!=(e|0)){y=a+m|0,z=fb(N[o+12>>2]-N[n+12>>2]|0,c-e|0),N[y+44>>2]=z}c=i}c=c+1|0;j=N[a+20>>2];if(c>>>0>>0){continue}break}r=N[a+8>>2]}e=N[r+16>>2];if(e){k=N[r+8>>2];i=N[r+24>>2];c=e;while(1){c=c-1|0;n=c;L:{if(c>>>0>>0){break L}n=0;g=N[r+4>>2];if(!g|N[g>>2]){break L}N[g>>2]=130}n=i+T(k,n)|0;g=T(N[n>>2],20)+a|0;n=N[n+4>>2];j=n+N[g+40>>2]|0;M:{if(N[g+60>>2]<(j+32768|0)){break M}N[g+40>>2]=j;if(!(O[g+28|0]&12)){break M}N[g+20>>2]=n+N[g+20>>2]}if(c){continue}break}}N:{if(f){break N}g=N[a+20>>2];if(!g){break N}c=0;while(1){e=T(c,20)+a|0;f=N[e+28>>2];if(!(f&32)){g=N[e+32>>2];O:{if(g>>>0>2]){break O}g=0;k=N[b+4>>2];if(!k|N[k>>2]){break O}N[k>>2]=130;f=N[e+28>>2]}i=f&10?16:12;f=N[b+24>>2]+T(N[b+8>>2],g)|0;N[i+f>>2]=N[e+40>>2];L[f|0]=1;g=N[a+20>>2]}c=c+1|0;if(g>>>0>c>>>0){continue}break}}L[a+12|0]=1;a=d+5|0}L[a|0]=0}La=h+80|0}function vE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=La-32|0;La=n;a:{if(N[c+68>>2]){if(ib(c,b,13403,0)){t=N[c+68>>2];if(t){e=t-1|0;i=N[c+80>>2];f=i+3|0;j=O[i+15|0];while(1){b:{if((d|0)==(e|0)){d=t;break b}d=d+1|0;if((j|0)==O[(f+T(d,20)|0)+12|0]){continue}}break}j=0;while(1){h=d;s=N[a+112>>2];f=N[s+8>>2];if(!(!f|d>>>0<=j>>>0)){m=i+2|0;d=j;while(1){g=T(d,20);e=g+i|0;c:{if((f|0)!=N[e>>2]){break c}l=P[e+12>>1];if((l&96)!=96){break c}L[(g+m|0)+16|0]=4;M[e+12>>1]=l&65439}d=d+1|0;if((h|0)!=(d|0)){continue}break}}m=N[s+108>>2];p=(m|0)!=0;d:{e:{f:{if(h>>>0>j>>>0){l=i+3|0;f=j;g:{while(1){h:{d=f+1|0;if(O[(l+T(f,20)|0)+16|0]>=4){i:{if(!m){break i}e=d;if(d>>>0>=h>>>0){break i}while(1){g=T(e,20)+i|0;if(m&N[g+4>>2]){p=1;if((P[g+12>>1]&112)==48){break i}j:{while(1){d=T(e,20)+i|0;if(O[d+12|0]&32|O[d+18|0]!=4){break j}e=e+1|0;if(h>>>0>e>>>0){continue}break}e=h}f=e;L[(T(e,20)+i|0)+19|0]=4;d=e+1|0;p=0;break i}p=1;e=e+1|0;if(h>>>0>e>>>0){continue}break}}k:{if(N[c+44>>2]!=1298954605|d>>>0>=h>>>0){break k}while(1){e=d+1|0;e=e>>>0>>0?h:e;l:{while(1){m=T(d,20)+i|0;if(O[m+12|0]&32){break l}m=O[m+18|0];if(m>>>0>31|!(1<>>0>d>>>0){continue}break}d=e}if((d|0)==(h|0)){break k}e=T(d,20)+i|0;if(O[e+12|0]&32|O[e+18|0]!=4){break k}e=d+1|0;m=(e>>>0>>0?h:e)-1|0;m:{while(1){e=d;d=d+1|0;if(h>>>0<=d>>>0){e=m;break m}k=T(d,20);g=k+i|0;if(O[g+12|0]&32){break m}o=O[g+18|0];g=1<>>0>31;if(!(g&96?o:1)){continue}break}if(!(g&363526)|o){break m}m=k+l|0;if(O[m+16|0]!=8){break m}L[m+16|0]=4;f=d}d=e+2|0;if(h>>>0>d>>>0){continue}break}}f=f>>>0>j>>>0?f-(O[(T(f,20)+i|0)+19|0]>4)|0:f;if((h|0)==(f|0)){break h}break g}f=d;if((d|0)!=(h|0)){continue}}break}d=h-1|0;e=T(d,20)+i|0;if(O[e+12|0]&32){f=h;break f}f=O[e+18|0]==6?d:h}if(f>>>0<=j>>>0|f>>>0>=h>>>0){break f}while(1){d=T(f,20)+i|0;if(O[d+12|0]&32){break f}d=O[d+18|0];if(d>>>0>31|!(1<>>0>>0){continue}break}m=j+1|0;f=j;break e}m=j+1|0;f=j;break d}m=j+1|0;o=m>>>0>=h>>>0;n:{if(o|f>>>0<=j>>>0){break n}d=((f|0)==(h|0)?-2:-1)+f|0;o:{p:{e=N[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break p}g=i+2|0;while(1){e=1;q:{if(d>>>0<=j>>>0){break q}while(1){r:{k=T(d,20)+i|0;if(O[k+12|0]&32){break r}k=O[k+18|0];if(k>>>0>31|!(1<>>0>>0){continue}break}d=j}k=T(d,20);q=k+i|0;if(O[q+12|0]&32|O[q+18|0]!=4|O[(k+l|0)+16|0]==2){break o}k=d+1|0;if(k>>>0>=h>>>0|(O[(g+T(k,20)|0)+16|0]!=6|e)){break p}d=d-1|0;continue}}if(O[(T(d,20)+i|0)+19|0]==2|d>>>0<=j>>>0){break o}e=d;while(1){g=d-1|0;k=T(g,20);if(O[(k+l|0)+16|0]==2){k=i+k|0;N[n+24>>2]=N[k+16>>2];q=N[k+12>>2];N[n+16>>2]=N[k+8>>2];N[n+20>>2]=q;q=N[k+4>>2];N[n+8>>2]=N[k>>2];N[n+12>>2]=q;B(k,T(d,20)+i|0,T(e-g|0,20));d=T(e,20)+i|0;N[d+16>>2]=N[n+24>>2];k=N[n+20>>2];N[d+8>>2]=N[n+16>>2];N[d+12>>2]=k;k=N[n+12>>2];N[d>>2]=N[n+8>>2];N[d+4>>2]=k;f=f-(f>>>0>g>>>0&e>>>0>=f>>>0)|0;d=f+1|0;d=d>>>0>>0?d:h;if(d-e>>>0>=2){Ib(c,e,d)}e=e-1|0}d=g;if(j>>>0>>0){continue}break}break n}e=j;while(1){if(O[(l+T(e,20)|0)+16|0]==2){d=f+1|0;d=d>>>0>>0?d:h;if(d-e>>>0<2){break n}Ib(c,e,d);break e}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(o){break d}}k=T(j,20)+i|0;if(O[k+19|0]!=1|(O[k+18|0]==14|0)==((P[k+12>>1]&96)==32|0)){break d}g=N[N[s>>2]+12>>2];s:{t:{if((g|0)==12){break t}u:{v:{w:{d=m;if(f>>>0>d>>>0){while(1){e=d+1|0;o=T(d,20)+i|0;if(!(O[o+12|0]&32)&O[o+18|0]==4){break w}d=e;if((f|0)!=(d|0)){continue}break}}switch(g-5|0){case 4:break u;case 0:break v;default:break t}}if(e>>>0>=f>>>0){break s}g=T(e,20)+i|0;if(O[g+12|0]&32){break s}l=d;d=O[g+18|0];d=d>>>0<32&(1<>>0>>0?h:d)-1|0;e=f;while(1){x:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break x}if(O[(l+T(e,20)|0)+16|0]<6){continue}}break}if(d>>>0>=h>>>0){break t}break s}d=f+1|0;g=(d>>>0>>0?h:d)-1|0;e=f;while(1){y:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break y}o=O[(l+T(e,20)|0)+16|0];if(o>>>0>31|!(1<>>0>>0){break s}}z:{d=m;if(f>>>0<=d>>>0){break z}while(1){A:{e=d+1|0;g=T(d,20)+i|0;if(!(O[g+12|0]&32)&O[g+18|0]==4){break A}d=e;if((f|0)!=(d|0)){continue}break z}break}if(e>>>0>=f>>>0){break s}g=T(e,20)+i|0;if(O[g+12|0]&32){break s}l=d;d=O[g+18|0];d=d>>>0<32&(1<>>0>j>>>0?j:d;d=h;while(1){B:{d=d-1|0;if(j>>>0>=d>>>0){d=e;break B}if(O[(l+T(d,20)|0)+16|0]==13){continue}}break}if(O[s+5|0]){break s}e=T(d,20)+i|0;if(O[e+12|0]&32|O[e+18|0]!=4){break s}e=f+1|0;if(e>>>0>=d>>>0){break s}g=i+2|0;while(1){l=d;d=O[(T(e,20)+g|0)+16|0];d=l-(d>>>0<32&(1<>>0>e>>>0){continue}break}}e=d+1|0;if(e-j>>>0>=2){Ib(c,j,e)}N[n+24>>2]=N[k+16>>2];e=N[k+12>>2];N[n+16>>2]=N[k+8>>2];N[n+20>>2]=e;e=N[k+4>>2];N[n+8>>2]=N[k>>2];N[n+12>>2]=e;B(k,T(m,20)+i|0,T(d-j|0,20));e=T(d,20)+i|0;N[e+16>>2]=N[n+24>>2];g=N[n+20>>2];N[e+8>>2]=N[n+16>>2];N[e+12>>2]=g;g=N[n+12>>2];N[e>>2]=N[n+8>>2];N[e+4>>2]=g;f=f-(f>>>0>j>>>0&d>>>0>=f>>>0)|0}C:{if(!p){break C}d=f+1|0;if(h>>>0<=d>>>0){break C}e=N[s+108>>2];D:{E:{while(1){F:{g=T(d,20)+i|0;if(e&N[g+4>>2]){if((P[g+12>>1]&96)!=32){break C}e=N[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break F}e=f;if(j>>>0>=e>>>0){break E}while(1){e=f;f=e-1|0;l=T(f,20)+i|0;G:{if(O[l+12|0]&32){break G}l=O[l+18|0];if(l>>>0>31){break G}if(1<>>0>j>>>0){continue}break}e=j;break D}d=d+1|0;if((h|0)!=(d|0)){continue}break C}break}e=f}if(e>>>0<=j>>>0|e>>>0>=h>>>0){break D}f=T(e,20)+i|0;l=f-20|0;if(P[l+12>>1]&32|O[l+18|0]!=4|O[f+12|0]&32){break D}l=e;e=O[f+18|0];e=l+(e>>>0<32&(1<>>0>=2){Ib(c,e,f)}N[n+24>>2]=N[g+16>>2];f=N[g+12>>2];N[n+16>>2]=N[g+8>>2];N[n+20>>2]=f;f=N[g+4>>2];N[n+8>>2]=N[g>>2];N[n+12>>2]=f;f=T(e,20)+i|0;B(f+20|0,f,T(d-e|0,20));N[f+16>>2]=N[n+24>>2];d=N[n+20>>2];N[f+8>>2]=N[n+16>>2];N[f+12>>2]=d;d=N[n+12>>2];N[f>>2]=N[n+8>>2];N[f+4>>2]=d}d=T(j,20)+i|0;H:{if(O[d+19|0]!=2){break H}I:{if(j){f=j-1|0;o=T(f,20);if(1<>1]&8190){break I}}N[d+4>>2]=N[d+4>>2]|N[s+136>>2];break H}d=N[c+68>>2];g=d>>>0>>0?d:m;k=g-f|0;if(k>>>0<2){break H}l=N[c+144>>2]|32;N[c+144>>2]=l;if(f>>>0>=g>>>0){break H}m=N[c+80>>2];d=-1;i=f;if(g-j>>>0>=3){q=k&-4;e=0;while(1){p=m+T(i,20)|0;r=N[p+8>>2];d=d>>>0>>0?d:r;r=N[p+28>>2];d=d>>>0>>0?d:r;r=N[p+48>>2];d=d>>>0>>0?d:r;p=N[p+68>>2];d=d>>>0

>>0?d:p;i=i+4|0;e=e+4|0;if((q|0)!=(e|0)){continue}break}}e=0;p=k&3;if(p){while(1){q=N[(m+T(i,20)|0)+8>>2];d=d>>>0>>0?d:q;i=i+1|0;e=e+1|0;if((p|0)!=(e|0)){continue}break}}J:{if(!(k&1)){break J}f=j;e=m+o|0;if(N[e+8>>2]==(d|0)){break J}N[e+4>>2]=N[e+4>>2]|3}if((j|0)==(g|0)){break H}while(1){e=m+T(f,20)|0;if(N[e+8>>2]!=(d|0)){l=l|32;N[c+144>>2]=l;N[e+4>>2]=N[e+4>>2]|3}e=m+T(f+1|0,20)|0;if(N[e+8>>2]!=(d|0)){l=l|32;N[c+144>>2]=l;N[e+4>>2]=N[e+4>>2]|3}f=f+2|0;if((g|0)!=(f|0)){continue}break}}if(!(!O[s+5|0]|h-j>>>0<2|N[a+4>>2]==1415671148)){Ib(c,j,h)}d=N[c+68>>2];e=h+1|0;e=d>>>0>e>>>0?d:e;f=e-1|0;i=N[c+80>>2];j=O[(i+T(h,20)|0)+15|0];m=i+3|0;d=h;while(1){K:{if((d|0)==(f|0)){d=e;break K}d=d+1|0;if((j|0)==O[(m+T(d,20)|0)+12|0]){continue}}break}j=h;if(h>>>0>>0){continue}break}}ib(c,b,13432,0)}a=O[c+140|0];if(!(a&64)){break a}a=a<<24>>24;L[c+140|0]=a&191;if((a|0)>=0){break a}L[c+140|0]=a&63}La=n+32|0;return 0}ba(22742,14165,187,12136);F()}function cv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=La-320|0;La=g;N[b>>2]=1;N[b+504>>2]=0;a=N[b+96>>2];a:{b:{if(!a){break b}f=N[N[a>>2]+32>>2];if(f){m=Qa[f|0](a,10566)|0;if(m){break a}}f=N[a+4>>2];h=N[f+16>>2];if((h|0)<=0){break b}f=f+20|0;i=f+(h<<2)|0;while(1){h=N[f>>2];c:{if((h|0)==(a|0)){break c}j=N[N[h>>2]+32>>2];if(!j){break c}m=Qa[j|0](h,10566)|0;if(m){break a}}f=f+4|0;if(i>>>0>f>>>0){continue}break}}m=0}N[b+488>>2]=m;d:{e:{f:{g:{h:{i:{j:{a=N[N[b+96>>2]+4>>2];if(!a){break j}h=N[a+16>>2];if((h|0)<=0){break j}s=b+504|0;f=a+20|0;a=f+(h<<2)|0;while(1){h=N[N[f>>2]>>2];if(cb(N[h+8>>2],7988)){f=f+4|0;if(a>>>0>f>>>0){continue}break j}break}p=N[h+20>>2];N[b+492>>2]=p;if(!p){f=11;break d}k=N[b+100>>2];G(g+4|0,0,304);a=Qa[N[k+4>>2]](k,12)|0;N[b+496>>2]=a;a=!a;if(a){f=a<<6;break e}N[b+500>>2]=12;a=N[b+104>>2];Qa[N[N[p+4>>2]>>2]](g+4|0,0,0,k);L[g+88|0]=0;N[g+80>>2]=0;N[g+84>>2]=0;N[g+76>>2]=a;h=N[a+20>>2];if(!h){N[a+8>>2]=0;j=a+4|0;l=a+8|0;h=N[a+4>>2];break i}f=85;if(Qa[h|0](a,0,0,0)|0){break f}N[a+8>>2]=0;j=a+4|0;l=a+8|0;h=N[a+4>>2];if(!N[a+20>>2]){break i}if(h>>>0<17){break f}f=N[a+28>>2];h=Qa[N[f+4>>2]](f,17)|0;if(!h){f=64;h=a;break g}N[a>>2]=h;i=Qa[N[a+20>>2]](a,N[a+8>>2],h,17)|0;h=N[a>>2];if(i>>>0>16){f=0}else{if(h){Qa[N[f+8>>2]](f,h)}h=0;N[a>>2]=0;f=85}N[a+32>>2]=h;N[a+36>>2]=h?h+17|0:0;N[a+8>>2]=i+N[a+8>>2];if(i>>>0<17){break f}break h}N[b+492>>2]=0;f=11;break d}f=85;if(h>>>0<17){break f}N[a+8>>2]=17;h=N[a>>2];N[a+32>>2]=h;N[a+36>>2]=h+17}i=N[a+20>>2];if(Mb(h,9077,17)){if(i){if(h){f=N[a+28>>2];Qa[N[f+8>>2]](f,h)}N[a>>2]=0}N[a+32>>2]=0;h=a+36|0;f=2;break g}k:{l:{m:{if(!i){N[a+32>>2]=0;N[a+36>>2]=0;break m}n:{if(!h){N[a+32>>2]=0;N[a+36>>2]=0;N[a>>2]=0;break n}f=N[a+28>>2];Qa[N[f+8>>2]](f,h);N[a+32>>2]=0;N[a+36>>2]=0;N[a>>2]=0;i=N[a+20>>2];if(!i){break m}}f=85;if(Qa[i|0](a,0,0,0)|0){break f}N[a+8>>2]=0;j=N[a+4>>2];f=j;if(!N[a+20>>2]){break l}h=g+80|0;o:{if((j|0)>0){f=Qa[N[k+4>>2]](k,j)|0;if(f){break o}f=64;break g}f=6;if(j){break g}f=0}N[g+80>>2]=f;f=Yb(a,f,j);if(f){break f}N[g+84>>2]=j;break k}N[l>>2]=0;f=N[j>>2]}h=N[a>>2];L[g+88|0]=1;N[g+84>>2]=f;N[g+80>>2]=h;f=Wc(a,f);if(f){break f}j=N[g+84>>2]}a=N[g+80>>2];N[g+8>>2]=a;N[g+16>>2]=0;N[g+4>>2]=a;h=a+j|0;N[g+12>>2]=h;Qa[N[g+32>>2]](g+4|0);f=N[g+4>>2];if(h>>>0>f>>>0){n=b+132|0;q=b+164|0;o=b+464|0;while(1){p:{q:{a=O[f|0];if(!((a|0)!=70|h>>>0<=f+25>>>0)){if(bb(f,7876,13)){break q}a=g+4|0;Qa[N[g+36>>2]](a);Qa[N[g+32>>2]](a);a=N[g+4>>2];f=a;r:{if(a>>>0>=h>>>0){break r}while(1){s:{if(!(O[f|0]!=107|h>>>0<=f+5>>>0)){if(!bb(f,12543,5)){break s}}i=g+4|0;Qa[N[g+36>>2]](i);f=N[g+16>>2];if(f){break e}Qa[N[g+32>>2]](i);f=N[g+4>>2];if(h>>>0>f>>>0){continue}break r}break}f=g+4|0;Qa[N[g+36>>2]](f);Qa[N[g+60>>2]](f,g+308|0);a=N[g+316>>2]==3?N[g+4>>2]:a}N[g+4>>2]=a;break p}if((a|0)!=47|h>>>0<=f+2>>>0){break q}a=f+1|0;N[g+4>>2]=a;Qa[N[g+36>>2]](g+4|0);f=N[g+16>>2];if(f){break e}i=N[g+4>>2];if((i|0)==(a|0)){break p}k=i-a|0;if(k>>>0>21){break p}f=0;if(h>>>0<=i>>>0){break p}while(1){t:{i=T(f,36);l=i+36880|0;j=N[l>>2];if(!j|O[a|0]!=O[j|0]){break t}if((nb(j)|0)!=(k|0)){break t}if(Mb(a,j,k)){break t}u:{if(f-15>>>0<=3){Qa[N[i+36892>>2]](b,g+4|0);f=N[g+16>>2];break u}a=N[i+36888>>2];v:{w:{switch(N[i+36884>>2]-2|0){case 0:N[g+308>>2]=q;break v;case 3:N[g+308>>2]=o;break v;default:break w}}N[g+308>>2]=n}if(a-9>>>0<=1){f=Qa[N[g+72>>2]](g+4|0,l,g+308|0,0,0)|0;break u}f=Qa[N[g+68>>2]](g+4|0,l,g+308|0,0,0)|0}N[g+16>>2]=f;if(!f){break p}break e}f=f+1|0;if((f|0)!=20){continue}break}break p}Qa[N[g+36>>2]](g+4|0);f=N[g+16>>2];if(f){break e}}Qa[N[g+32>>2]](g+4|0);f=N[g+4>>2];if(h>>>0>f>>>0){continue}break}}f=N[g+16>>2];if(f){break e}f=2;if(O[b+437|0]!=42){break e}l=N[g+148>>2];N[b+420>>2]=l;a=N[g+216>>2];h=0;N[g+216>>2]=0;N[b+396>>2]=N[g+204>>2];N[b+428>>2]=N[g+228>>2];N[b+432>>2]=N[g+232>>2];N[b+400>>2]=N[g+152>>2];N[b+424>>2]=N[g+176>>2];N[g+176>>2]=0;N[g+152>>2]=0;f=a?0:3;if(N[b+368>>2]!=1){break e}j=0;k=N[g+112>>2];x:{if((k|0)<=0){break x}i=0;if((l|0)>0){while(1){n=i<<2;q=N[n+N[g+120>>2]>>2];r=i<<1;M[r+N[b+384>>2]>>1]=0;N[n+N[b+388>>2]>>2]=15265;y:{if(!q){break y}t=N[b+424>>2];a=0;while(1){o=N[(a<<2)+t>>2];if(cb(q,o)){a=a+1|0;if((l|0)!=(a|0)){continue}break y}break}M[N[b+384>>2]+r>>1]=a;N[n+N[b+388>>2]>>2]=o;if(!cb(15265,o)){break y}j=(i|0)<(j|0)?j:i+1|0;h=(h|0)>(i|0)?i:h}i=i+1|0;if((k|0)!=(i|0)){continue}break}break x}a=0;if(k>>>0>=4){h=k&-4;while(1){M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;j=a|1;M[N[b+384>>2]+(j<<1)>>1]=0;N[N[b+388>>2]+(j<<2)>>2]=15265;j=a|2;M[N[b+384>>2]+(j<<1)>>1]=0;N[N[b+388>>2]+(j<<2)>>2]=15265;j=a|3;M[N[b+384>>2]+(j<<1)>>1]=0;N[N[b+388>>2]+(j<<2)>>2]=15265;a=a+4|0;if((h|0)!=(a|0)){continue}break}}k=k&3;if(!k){h=0;j=0;break x}while(1){h=0;M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;a=a+1|0;j=0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}N[b+380>>2]=j;N[b+376>>2]=h;N[b+372>>2]=N[g+92>>2];break e}N[h>>2]=0}if(O[g+88|0]){break e}a=N[g+80>>2];if(a){Qa[N[k+8>>2]](k,a)}N[g+80>>2]=0}a=N[g+144>>2];if(a){Qa[a|0](g+96|0)}a=N[g+252>>2];if(a){Qa[a|0](g+204|0)}a=N[g+200>>2];if(a){Qa[a|0](g+152|0)}a=N[g+304>>2];if(a){Qa[a|0](g+256|0)}if(!O[g+88|0]){a=N[g+80>>2];if(a){h=N[g+20>>2];Qa[N[h+8>>2]](h,a)}N[g+80>>2]=0}a=N[g+28>>2];if(a){Qa[a|0](g+4|0)}if(f|(c|0)<0){break d}f=6;if(c&65535){break d}N[b+36>>2]=0;N[b+4>>2]=0;N[b+24>>2]=12199;N[b+16>>2]=N[b+420>>2];a=N[b+144>>2];N[b+20>>2]=a;N[b+8>>2]=N[b+8>>2]|(O[b+156|0]?533:529)|2048;z:{if(a){f=N[b+140>>2];if(!f){break z}i=O[f|0];if(!i){break z}while(1){h=i&255;c=O[a|0];A:{if((h|0)==(c|0)){f=f+1|0;a=a+1|0;break A}h=h-32|0;if(!(!h|(h|0)==13)){B:{switch(c-32|0){case 0:case 13:a=a+1|0;break A;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break z;default:break B}}if(c){break z}N[b+24>>2]=f;break z}f=f+1|0}i=O[f|0];if(i){continue}break}break z}a=N[b+364>>2];if(!a){break z}N[b+20>>2]=a}N[b+28>>2]=0;N[b+32>>2]=0;N[g+4>>2]=9;c=N[N[b+96>>2]+4>>2];C:{if(!c){a=0;break C}a=N[c+16>>2];if((a|0)<=0){a=0;break C}f=c+20|0;h=f+(a<<2)|0;while(1){a=N[f>>2];if(!cb(N[N[a>>2]+8>>2],15504)){break C}f=f+4|0;if(h>>>0>f>>>0){continue}break}a=0}N[g+24>>2]=a;N[g+8>>2]=N[b+496>>2];N[g+12>>2]=N[b+500>>2];if(d){N[g+32>>2]=e;N[g+28>>2]=d;N[g+4>>2]=25}f=Sd(c,g+4|0,0,s,1);if(f){break d}vn(N[N[b+504>>2]+88>>2]);a=N[b+504>>2];c=N[a+56>>2];N[b+52>>2]=N[a+52>>2];N[b+56>>2]=c;c=N[a+64>>2];N[b+60>>2]=N[a+60>>2];N[b+64>>2]=c;M[b+68>>1]=P[a+68>>1];M[b+70>>1]=P[a+70>>1];M[b+72>>1]=P[a+72>>1];M[b+74>>1]=P[a+74>>1];M[b+76>>1]=P[a+76>>1];M[b+78>>1]=P[a+78>>1];M[b+80>>1]=P[b+158>>1];M[b+82>>1]=P[b+160>>1];c=N[b+152>>2]!=0;N[b+12>>2]=c;if(O[a+12|0]&2){N[b+12>>2]=c|2}if(O[a+8|0]&32){N[b+8>>2]=N[b+8>>2]|32}if(!m){f=0;break d}a=N[p+32>>2];N[g+4>>2]=b;N[g+8>>2]=1970170211;N[g+12>>2]=65539;f=Ac(N[a+12>>2],0,g+4|0,0);D:{if(!f){break D}c=f&255;if((c|0)==163){break D}if((c|0)!=7){break d}}M[g+12>>1]=7;f=0;E:{F:{switch(N[b+368>>2]-1|0){case 1:M[g+14>>1]=0;N[g+8>>2]=1094995778;break E;case 3:M[g+14>>1]=1;N[g+8>>2]=1094992453;a=a+4|0;break E;case 0:M[g+14>>1]=2;N[g+8>>2]=1094992451;a=a+8|0;break E;case 2:break F;default:break d}}a=a+12|0;M[g+14>>1]=3;N[g+8>>2]=1818326065}a=N[a>>2];if(!a){break d}f=Ac(a,0,g+4|0,0)}La=g+320|0;return f|0}function qt(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=La-48|0;La=i;h=2;a:{b:{c:{d:{e:{switch(N[a+796>>2]-1|0){case 0:case 1:l=N[a+864>>2];if(!l){h=142;break a}k=N[N[a+804>>2]+(b<<2)>>2];b=N[a+860>>2];j=N[a+104>>2];e=N[j+20>>2];f:{if(e){h=85;if(Qa[e|0](j,b,0,0)|0){break a}l=N[a+864>>2];e=N[a+860>>2];break f}h=85;e=b;if(b>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=b;N[i+4>>2]=j;N[i>>2]=a;b=N[a+84>>2];N[i+24>>2]=l;N[i+20>>2]=e;M[i+16>>1]=0;N[i+12>>2]=g;N[i+8>>2]=b+76;b=N[a+788>>2];N[i+36>>2]=b;e=N[a+792>>2];N[i+40>>2]=e+b;h=3;g=T(k,48);if(e>>>0>>0){break a}b=b+g|0;g=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);j=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);N[i+28>>2]=j;g=O[b+16|0]|O[b+17|0]<<8|(O[b+18|0]<<16|O[b+19|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);N[i+32>>2]=g;L[i+18|0]=O[b+54|0];if(e>>>0>>0|g>>>0>e-j>>>3>>>0){break a}h=Pl(i,c,0,0,0,d>>>22&1);if(h){break a}if(!(d&5242880)){break d}h=0;break a;case 2:break e;default:break a}}b=N[N[a+804>>2]+(b<<2)>>2];M[g>>1]=0;M[g+2>>1]=0;h=6;if(Q[a+16>>2]>>0){break a}b=N[a+788>>2]+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);g=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);k=g+4|0;while(1){b=N[a+864>>2];if(b>>>0<=g>>>0){h=3;break a}c=c<<2;if(c+12>>>0>b-g>>>0){h=3;break a}c=N[a+860>>2]+(c+k|0)|0;b=N[e+20>>2];g:{h:{if(b){h=85;if(Qa[b|0](e,c,0,0)|0){break a}N[e+8>>2]=c;b=N[e+4>>2];if(!N[e+20>>2]){break h}if(b>>>0<8){break a}b=N[e+28>>2];c=Qa[N[b+4>>2]](b,8)|0;if(!c){break c}N[e>>2]=c;j=Qa[N[e+20>>2]](e,N[e+8>>2],c,8)|0;d=N[e>>2];h=0;if(j>>>0<=7){if(d){Qa[N[b+8>>2]](b,d)}N[e>>2]=0;h=85;d=0}N[e+32>>2]=d;f=d?d+8|0:0;N[e+36>>2]=f;N[e+8>>2]=j+N[e+8>>2];c=d;if(j>>>0>=8){break g}break a}b=N[e+4>>2];if(c>>>0>b>>>0){h=85;break a}N[e+8>>2]=c}h=85;if(b-c>>>0<8|b>>>0<=c>>>0){break a}N[e+8>>2]=c+8;d=N[e>>2];c=c+d|0;N[e+32>>2]=c;f=c+8|0;N[e+36>>2]=f}h=0;i:{if(c+3>>>0>=f>>>0){b=0;break i}b=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);c=c+4|0}N[e+32>>2]=c;if(c+3>>>0>>0){f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=c+4|0}N[e+32>>2]=c;if(N[e+20>>2]){if(d){c=N[e+28>>2];Qa[N[c+8>>2]](c,d)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;if((b|0)==(h|0)){h=157;break a}if(b>>>0>h>>>0){h=3;break a}c=h-b|0;if(c>>>0<8){h=3;break a}if(N[a+864>>2]-g>>>0>>0){h=3;break a}b=N[a+860>>2]+(b+g|0)|0;j:{d=N[e+20>>2];if(d){if(!(Qa[d|0](e,b,0,0)|0)){break j}h=85;break a}if(b>>>0<=Q[e+4>>2]){break j}h=85;break a}N[e+8>>2]=b;h=Bb(e,c);if(h){break a}f=N[e+36>>2];b=N[e+32>>2];b=((f>>>0>b+1>>>0)<<1)+b|0;b=((b+1>>>0>>0)<<1)+b|0;N[e+32>>2]=b;k:{l:{if(f>>>0<=b+3>>>0){a=7;break l}c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);d=b+4|0;N[e+32>>2]=d;c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((c|0)==1685418085){break k}a=2;if((c|0)==1785751328|(c|0)==1919378028){break l}h=7;if((c|0)!=1953064550){break b}}h=a;break b}if((l|0)==4){h=3;break b}c=0;if(f>>>0>b+5>>>0){d=b+6|0;c=O[b+5|0]|O[b+4|0]<<8}N[e+32>>2]=d;if(N[e+20>>2]){b=N[e>>2];if(b){d=N[e+28>>2];Qa[N[d+8>>2]](d,b)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;l=l+1|0;h=6;if(Q[a+16>>2]>=c>>>0){continue}break}break a}h=0;if(O[f+18|0]!=7){break a}n=N[N[a+84>>2]>>2];N[i+16>>2]=0;N[i+20>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;j=f;h=33;m:{if(!n){break m}l=6;n:{o:{if(!f|!i){break o}p:{if((O[f+18|0]-1&255)>>>0<=6){c=N[n>>2];L[i+18|0]=2;g=N[i>>2];b=N[f>>2];N[i>>2]=b;N[i+4>>2]=N[f+4>>2];f=N[i+8>>2];e=N[j+4>>2];d=(e|0)>0;TE(e,0,b,0);if(Pa?d:0){break o}d=N[i+12>>2];h=f;f=f>>31;f=T((h^f)-f|0,g);b=T(b,e);if((f|b)<0){N[i+12>>2]=d;h=6;break m}q:{if(!b){b=0;if(!d){break q}Qa[N[c+8>>2]](c,d);break q}if(!f){b=Qa[N[c+4>>2]](c,b)|0;if(b){break q}g=0;break n}b=Qa[N[c+12>>2]](c,f,b,d)|0;g=b?b:d;if(!b){break n}b=g}N[i+12>>2]=b;l=0;N[i+8>>2]=N[i+8>>2]<0?0-e|0:e;break p}b=N[i+12>>2]}c=N[j+12>>2];f=N[j+8>>2];if((f|0)<0){c=T(1-N[j>>2]|0,f)+c|0}h=N[i+8>>2];if((h|0)<0){b=T(1-N[i>>2]|0,h)+b|0}r:{switch(O[j+18|0]-1|0){case 0:M[i+16>>1]=2;h=N[j>>2];if(!h){break o}while(1){e=N[j+4>>2];s:{if(e>>>0<8){f=c;d=b;break s}g=e>>>3|0;d=b;f=c;while(1){e=O[f|0];L[d+7|0]=e&1;L[d|0]=e>>>7;L[d+6|0]=e>>>1&1;L[d+5|0]=e>>>2&1;L[d+4|0]=e>>>3&1;L[d+3|0]=e>>>4&1;L[d+2|0]=e>>>5&1;L[d+1|0]=e>>>6&1;f=f+1|0;d=d+8|0;g=g-1|0;if(g){continue}break}e=N[j+4>>2]}e=e&7;t:{if(!e){break t}f=O[f|0];L[d|0]=f>>>7;if((e|0)==1){break t}L[d+1|0]=f>>>6&1;if((e|0)==2){break t}L[d+2|0]=f>>>5&1;if((e|0)==3){break t}L[d+3|0]=f>>>4&1;if((e|0)==4){break t}L[d+4|0]=f>>>3&1;if((e|0)==5){break t}L[d+5|0]=f>>>2&1;if((e|0)==6){break t}L[d+6|0]=f>>>1&1}b=N[i+8>>2]+b|0;c=N[j+8>>2]+c|0;h=h-1|0;if(h){continue}break};break o;case 1:case 4:case 5:f=N[j+4>>2];M[i+16>>1]=256;d=N[j>>2];if(!d){break o}if(d&1){B(b,c,f);b=N[i+8>>2]+b|0;c=N[j+8>>2]+c|0;e=d-1|0}else{e=d}if((d|0)==1){break o}while(1){B(b,c,f);b=N[i+8>>2]+b|0;c=N[j+8>>2]+c|0;B(b,c,f);b=b+N[i+8>>2]|0;c=c+N[j+8>>2]|0;e=e-2|0;if(e){continue}break};break o;case 2:M[i+16>>1]=4;h=N[j>>2];if(!h){break o}while(1){f=N[j+4>>2];u:{if(f>>>0<4){e=c;d=b;break u}k=f>>>2|0;g=k;d=b;e=c;if(f&4){f=O[e|0];L[b+3|0]=f&3;L[b|0]=f>>>6;L[b+2|0]=f>>>2&3;L[b+1|0]=f>>>4&3;g=g-1|0;e=e+1|0;d=b+4|0}if((k|0)!=1){while(1){f=O[e|0];L[d+3|0]=f&3;L[d|0]=f>>>6;L[d+2|0]=f>>>2&3;L[d+1|0]=f>>>4&3;f=O[e+1|0];L[d+7|0]=f&3;L[d+4|0]=f>>>6;L[d+6|0]=f>>>2&3;L[d+5|0]=f>>>4&3;d=d+8|0;e=e+2|0;g=g-2|0;if(g){continue}break}}f=N[j+4>>2]}f=f&3;v:{if(!f){break v}e=O[e|0];L[d|0]=e>>>6;if((f|0)==1){break v}L[d+1|0]=e>>>4&3;if((f|0)==2){break v}L[d+2|0]=e>>>2&3}b=N[i+8>>2]+b|0;c=N[j+8>>2]+c|0;h=h-1|0;if(h){continue}break};break o;case 3:M[i+16>>1]=16;h=N[j>>2];if(!h){break o}while(1){k=N[j+4>>2];w:{if(k>>>0<2){e=c;d=b;break w}g=k>>>1|0;o=g-1|0;f=0;d=b;e=c;m=g&3;if(m){while(1){g=O[e|0];L[d+1|0]=g&15;L[d|0]=g>>>4;d=d+2|0;e=e+1|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}g=k>>>1&2147483644}if(o>>>0>=3){while(1){f=O[e|0];L[d+1|0]=f&15;L[d|0]=f>>>4;f=O[e+1|0];L[d+3|0]=f&15;L[d+2|0]=f>>>4;f=O[e+2|0];L[d+5|0]=f&15;L[d+4|0]=f>>>4;f=O[e+3|0];L[d+7|0]=f&15;L[d+6|0]=f>>>4;d=d+8|0;e=e+4|0;g=g-4|0;if(g){continue}break}}k=N[j+4>>2]}if(k&1){L[d|0]=O[e|0]>>>4}b=N[i+8>>2]+b|0;c=N[j+8>>2]+c|0;h=h-1|0;if(h){continue}break};break o;case 6:break r;default:break o}}M[i+16>>1]=256;k=N[j>>2];if(!k){break o}g=N[j+4>>2];if(!g){break o}while(1){e=b;d=c;if(g){while(1){f=O[d+3|0];if(f){h=O[d+1|0];m=T(T(h,h),46871);h=O[d|0];m=m+T(T(h,h),4732)|0;h=O[d+2|0];f=f-((m+T(T(h,h),13933)>>>16>>>0)/(f>>>0)|0)|0}else{f=0}L[e|0]=f;e=e+1|0;d=d+4|0;g=g-1|0;if(g){continue}break}h=N[i+8>>2];f=N[j+8>>2]}k=k-1|0;if(!k){break o}c=c+f|0;b=b+h|0;g=N[j+4>>2];continue}}h=l;break m}N[i+12>>2]=g;h=64}if(h){if(!n){break a}a=N[i+12>>2];if(!a){break a}b=N[n>>2];Qa[N[b+8>>2]](b,a);break a}L[j+18|0]=O[i+18|0];N[j+8>>2]=N[i+8>>2];M[j+16>>1]=P[i+16>>1];d=N[i+12>>2];c=N[a+84>>2];e=N[c+156>>2];x:{if(!e){break x}b=N[e+4>>2];if(!(b&1)){break x}f=N[c+88>>2];if(f){b=N[N[c+4>>2]+100>>2];Qa[N[b+8>>2]](b,f);e=N[c+156>>2];b=N[e+4>>2]}N[e+4>>2]=b&-2}N[c+88>>2]=d;a=N[N[a+84>>2]+156>>2];N[a+4>>2]=N[a+4>>2]|1;break a}N[e>>2]=0;h=64;break a}if(N[e+20>>2]){a=N[e>>2];if(a){b=N[e+28>>2];Qa[N[b+8>>2]](b,a)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0}La=i+48|0;return h|0}function HB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=La-48|0;La=p;q=N[a+8>>2];f=6;a:{b:{if(N[b+72>>2]!=N[a+16>>2]){break b}f=19;if((c|0)==2|c>>>0>4){break b}m=N[b+156>>2];f=N[m+4>>2];if(f&1){j=N[b+88>>2];if(j){Qa[N[q+8>>2]](q,j);m=N[b+156>>2];f=N[m+4>>2]}N[b+88>>2]=0;N[m+4>>2]=f&-2}f=98;m=0;if(ig(b,c,d)){break b}f=0;c:{i=b+76|0;j=N[i>>2];d:{if(!j){break d}h=N[b+84>>2];if(!h){break d}if((h|j)<0){f=6;break c}f=10;if((j|0)>(2147483647/(h>>>0)|0)){break c}e:{h=T(h,j);f=Qa[N[q+4>>2]](q,h)|0;if(!(!f|(j|0)<=0)){G(f,0,h);N[b+88>>2]=f;break e}N[b+88>>2]=f;if(f){break e}f=!f<<6;break b}f=N[b+156>>2];N[f+4>>2]=N[f+4>>2]|1;f=N[b+76>>2]<<6;o=(O[b+94|0]==6?(f|0)/3|0:f)-(N[b+104>>2]<<6)|0;m=0-(N[b+100>>2]<<6)|0;j=b+108|0;if(d){o=N[d+4>>2]+o|0;m=N[d>>2]+m|0}if(m|o){se(j,m,o)}f:{if(c>>>0<=1){if(O[b+124|0]&64){e=La+-64|0;La=e;d=N[j+4>>2];if(d){f=(M[j+2>>1]<<3)+d|0}else{f=0}c=98;g=N[i+4>>2];g:{if(g&1073733632){break g}N[e+56>>2]=g<<2;N[e+48>>2]=0;N[e+52>>2]=0;N[e+28>>2]=345;N[e+24>>2]=3;N[e+20>>2]=j;N[e+44>>2]=e+8;j=N[i>>2];N[e+60>>2]=j<<2;g=N[i+12>>2];c=N[i+8>>2];N[e+12>>2]=c;N[e+8>>2]=g+((c|0)>=0?T(c,j-1|0):0);if(d>>>0>>0){c=d;while(1){N[c>>2]=N[c>>2]<<2;N[c+4>>2]=N[c+4>>2]<<2;c=c+8|0;if(f>>>0>c>>>0){continue}break}c=Qa[N[a+56>>2]](N[a+52>>2],e+16|0)|0;while(1){N[d>>2]=N[d>>2]/4;N[d+4>>2]=N[d+4>>2]/4;d=d+8|0;if(f>>>0>d>>>0){continue}break}break g}c=Qa[N[a+56>>2]](N[a+52>>2],e+16|0)|0}La=e- -64|0;f=c;break f}N[p+8>>2]=1;N[p+4>>2]=j;N[p>>2]=i;f=Qa[N[a+56>>2]](N[a+52>>2],p)|0;break f}f=0;h:{switch(c-3|0){case 0:h=La+-64|0;La=h;k=N[a+4>>2];N[h+48>>2]=0;N[h+52>>2]=0;N[h+28>>2]=346;N[h+24>>2]=3;N[h+20>>2]=j;N[h+44>>2]=h+8;N[h+56>>2]=N[i+4>>2];d=N[i>>2];N[h+60>>2]=d;f=N[i+12>>2];c=N[i+8>>2];N[h+12>>2]=c;N[h+8>>2]=f+((c|0)>=0?T(c,d-1|0):0);c=k+184|0;i:{if(!j){break i}i=M[j+2>>1];if((i|0)<=0){break i}d=N[k+184>>2];f=N[k+180>>2];e=N[j+4>>2];if(i>>>0>=4){l=i&-4;while(1){N[e>>2]=N[e>>2]-f;N[e+4>>2]=N[e+4>>2]-d;N[e+8>>2]=N[e+8>>2]-f;N[e+16>>2]=N[e+16>>2]-f;N[e+24>>2]=N[e+24>>2]-f;N[e+12>>2]=N[e+12>>2]-d;N[e+20>>2]=N[e+20>>2]-d;N[e+28>>2]=N[e+28>>2]-d;e=e+32|0;g=g+4|0;if((l|0)!=(g|0)){continue}break}}i=i&3;if(!i){break i}g=0;while(1){N[e>>2]=N[e>>2]-f;N[e+4>>2]=N[e+4>>2]-d;e=e+8|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0;j:{if(f){d=k+180|0;break j}N[h+8>>2]=N[h+8>>2]+1;c=k+192|0;d=k+188|0;k:{if(!j){break k}l=M[j+2>>1];if((l|0)<=0){break k}f=N[k+184>>2]-N[k+192>>2]|0;i=N[k+180>>2]-N[k+188>>2]|0;e=N[j+4>>2];if(l>>>0>=4){n=l&-4;g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];N[e+8>>2]=i+N[e+8>>2];N[e+16>>2]=i+N[e+16>>2];N[e+24>>2]=i+N[e+24>>2];N[e+12>>2]=f+N[e+12>>2];N[e+20>>2]=f+N[e+20>>2];N[e+28>>2]=f+N[e+28>>2];e=e+32|0;g=g+4|0;if((n|0)!=(g|0)){continue}break}}l=l&3;if(!l){break k}g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];e=e+8|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0;if(f){break j}N[h+8>>2]=N[h+8>>2]+1;c=k+200|0;d=k+196|0;l:{if(!j){break l}l=M[j+2>>1];if((l|0)<=0){break l}f=N[k+192>>2]-N[k+200>>2]|0;i=N[k+188>>2]-N[k+196>>2]|0;e=N[j+4>>2];if(l>>>0>=4){k=l&-4;g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];N[e+8>>2]=i+N[e+8>>2];N[e+16>>2]=i+N[e+16>>2];N[e+24>>2]=i+N[e+24>>2];N[e+12>>2]=f+N[e+12>>2];N[e+20>>2]=f+N[e+20>>2];N[e+28>>2]=f+N[e+28>>2];e=e+32|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}}k=l&3;if(!k){break l}g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];e=e+8|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0}m:{if(!j){break m}i=M[j+2>>1];if((i|0)<=0){break m}a=N[d>>2];c=N[c>>2];e=N[j+4>>2];if(i>>>0>=4){d=i&-4;g=0;while(1){N[e>>2]=a+N[e>>2];N[e+4>>2]=c+N[e+4>>2];N[e+8>>2]=a+N[e+8>>2];N[e+16>>2]=a+N[e+16>>2];N[e+24>>2]=a+N[e+24>>2];N[e+12>>2]=c+N[e+12>>2];N[e+20>>2]=c+N[e+20>>2];N[e+28>>2]=c+N[e+28>>2];e=e+32|0;g=g+4|0;if((d|0)!=(g|0)){continue}break}}d=i&3;if(!d){break m}g=0;while(1){N[e>>2]=a+N[e>>2];N[e+4>>2]=c+N[e+4>>2];e=e+8|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}La=h- -64|0;break f;case 1:break h;default:break d}}k=La-48|0;La=k;d=N[a+4>>2];l=N[i+8>>2];N[k+8>>2]=1;N[k+4>>2]=j;N[k>>2]=i;N[i+8>>2]=T(l,3);N[i>>2]=Q[i>>2]/3;n:{if(!j){break n}h=M[j+2>>1];if((h|0)<=0){break n}f=N[d+184>>2];g=N[d+180>>2];c=N[j+4>>2];if(h>>>0>=4){n=h&-4;while(1){N[c>>2]=N[c>>2]-f;N[c+4>>2]=g+N[c+4>>2];N[c+8>>2]=N[c+8>>2]-f;N[c+16>>2]=N[c+16>>2]-f;N[c+24>>2]=N[c+24>>2]-f;N[c+12>>2]=g+N[c+12>>2];N[c+20>>2]=g+N[c+20>>2];N[c+28>>2]=g+N[c+28>>2];c=c+32|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}}h=h&3;if(!h){break n}e=0;while(1){N[c>>2]=N[c>>2]-f;N[c+4>>2]=g+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+180>>2];h=N[d+184>>2];o:{if(f){break o}N[i+12>>2]=l+N[i+12>>2];p:{if(!j){break p}n=M[j+2>>1];if((n|0)<=0){break p}f=N[d+188>>2]-g|0;g=h-N[d+192>>2]|0;c=N[j+4>>2];if(n>>>0>=4){h=n&-4;e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];N[c+8>>2]=g+N[c+8>>2];N[c+16>>2]=g+N[c+16>>2];N[c+24>>2]=g+N[c+24>>2];N[c+12>>2]=f+N[c+12>>2];N[c+20>>2]=f+N[c+20>>2];N[c+28>>2]=f+N[c+28>>2];c=c+32|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}h=n&3;if(!h){break p}e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+188>>2];h=N[d+192>>2];c=N[i+12>>2]-l|0;N[i+12>>2]=c;if(f){break o}n=l<<1;N[i+12>>2]=n+c;q:{if(!j){break q}l=M[j+2>>1];if((l|0)<=0){break q}f=N[d+196>>2]-g|0;g=h-N[d+200>>2]|0;c=N[j+4>>2];if(l>>>0>=4){h=l&-4;e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];N[c+8>>2]=g+N[c+8>>2];N[c+16>>2]=g+N[c+16>>2];N[c+24>>2]=g+N[c+24>>2];N[c+12>>2]=f+N[c+12>>2];N[c+20>>2]=f+N[c+20>>2];N[c+28>>2]=f+N[c+28>>2];c=c+32|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}h=l&3;if(!h){break q}e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+196>>2];h=N[d+200>>2];N[i+12>>2]=N[i+12>>2]-n}r:{if(!j){break r}a=M[j+2>>1];if((a|0)<=0){break r}c=N[j+4>>2];if(a>>>0>=4){d=a&-4;e=0;while(1){N[c>>2]=N[c>>2]+h;N[c+4>>2]=N[c+4>>2]-g;N[c+8>>2]=N[c+8>>2]+h;N[c+16>>2]=N[c+16>>2]+h;N[c+24>>2]=N[c+24>>2]+h;N[c+12>>2]=N[c+12>>2]-g;N[c+20>>2]=N[c+20>>2]-g;N[c+28>>2]=N[c+28>>2]-g;c=c+32|0;e=e+4|0;if((d|0)!=(e|0)){continue}break}}a=a&3;if(!a){break r}e=0;while(1){N[c>>2]=N[c>>2]+h;N[c+4>>2]=N[c+4>>2]-g;c=c+8|0;e=e+1|0;if((a|0)!=(e|0)){continue}break}}N[i+8>>2]=N[i+8>>2]/3;N[i>>2]=T(N[i>>2],3);La=k+48|0}if(f){break b}}N[b+72>>2]=1651078259;break a}N[b+88>>2]=0}a=N[b+156>>2];c=N[a+4>>2];if(!(c&1)){break a}d=N[b+88>>2];if(d){Qa[N[q+8>>2]](q,d);a=N[b+156>>2];c=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=c&-2}s:{if(!(m|o)){break s}c=M[b+110>>1];if((c|0)<=0){break s}b=N[b+112>>2];if(c>>>0>=4){d=c&-4;a=0;while(1){N[b>>2]=N[b>>2]-m;N[b+4>>2]=N[b+4>>2]-o;N[b+8>>2]=N[b+8>>2]-m;N[b+16>>2]=N[b+16>>2]-m;N[b+24>>2]=N[b+24>>2]-m;N[b+12>>2]=N[b+12>>2]-o;N[b+20>>2]=N[b+20>>2]-o;N[b+28>>2]=N[b+28>>2]-o;b=b+32|0;a=a+4|0;if((d|0)!=(a|0)){continue}break}}c=c&3;if(!c){break s}a=0;while(1){N[b>>2]=N[b>>2]-m;N[b+4>>2]=N[b+4>>2]-o;b=b+8|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}La=p+48|0;return f|0}function rn(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0;k=La-336|0;La=k;m=h;n=i&65535;o=d;p=e&65535;t=(e^i)&-2147483648;r=i>>>16&32767;s=e>>>16&32767;a:{b:{if(r-32767>>>0>4294934529&s-32767>>>0>=4294934530){break b}j=e&2147483647;if(!(!d&(j|0)==2147418112?!(b|c):j>>>0<2147418112)){q=d;t=e|32768;break a}e=i&2147483647;if(!(!h&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){q=h;t=i|32768;b=f;c=g;break a}if(!(b|d|(j^2147418112|c))){if(!(f|h|(e^2147418112|g))){b=0;c=0;t=2147450880;break a}t=t|2147418112;b=0;c=0;break a}if(!(f|h|(e^2147418112|g))){b=0;c=0;break a}if(!(b|d|(c|j))){b=!(f|h|(e|g));q=b?0:q;t=b?2147450880:t;b=0;c=0;break a}if(!(f|h|(e|g))){t=t|2147418112;b=0;c=0;break a}if((j|0)==65535|j>>>0<65535){d=!(o|p);i=d;j=d?b:o;d=d<<6;i=W(i?c:p);d=d+((i|0)==32?W(j)+32|0:i)|0;fc(k+320|0,b,c,o,p,d-15|0);u=16-d|0;o=N[k+328>>2];p=N[k+332>>2];c=N[k+324>>2];b=N[k+320>>2]}if(e>>>0>65535){break b}d=!(n|m);h=d;i=d?f:m;d=d<<6;h=W(h?g:n);d=d+((h|0)==32?W(i)+32|0:h)|0;fc(k+304|0,f,g,m,n,d-15|0);u=(d+u|0)-16|0;m=N[k+312>>2];n=N[k+316>>2];f=N[k+304>>2];g=N[k+308>>2]}e=n|65536;z=e;A=m;d=m;j=e<<15|d>>>17;e=d<<15|g>>>17;d=e;i=0-d|0;h=j;j=1963258675-(j+((d|0)!=0)|0)|0;hb(k+288|0,d,h,0,0,i,j,0,0);d=N[k+296>>2];hb(k+272|0,0-d|0,0-(N[k+300>>2]+((d|0)!=0)|0)|0,0,0,i,j,0,0);d=N[k+280>>2];i=d<<1|N[k+276>>2]>>>31;d=N[k+284>>2]<<1|d>>>31;hb(k+256|0,i,d,0,0,e,h,0,0);j=N[k+264>>2];hb(k+240|0,i,d,0,0,0-j|0,0-(N[k+268>>2]+((j|0)!=0)|0)|0,0,0);i=N[k+248>>2];j=i<<1|N[k+244>>2]>>>31;d=N[k+252>>2]<<1|i>>>31;hb(k+224|0,j,d,0,0,e,h,0,0);i=N[k+232>>2];hb(k+208|0,j,d,0,0,0-i|0,0-(N[k+236>>2]+((i|0)!=0)|0)|0,0,0);d=N[k+216>>2];i=d<<1|N[k+212>>2]>>>31;d=N[k+220>>2]<<1|d>>>31;hb(k+192|0,i,d,0,0,e,h,0,0);j=N[k+200>>2];hb(k+176|0,i,d,0,0,0-j|0,0-(N[k+204>>2]+((j|0)!=0)|0)|0,0,0);i=e;e=N[k+184>>2];d=h;m=e<<1|N[k+180>>2]>>>31;h=m-1|0;e=(N[k+188>>2]<<1|e>>>31)-!m|0;hb(k+160|0,i,d,0,0,h,e,0,0);d=h;hb(k+144|0,f<<15,g<<15|f>>>17,0,0,d,e,0,0);w=k+112|0;x=N[k+168>>2];h=N[k+172>>2];m=N[k+160>>2];i=N[k+152>>2];l=m+i|0;n=N[k+164>>2];j=n+N[k+156>>2]|0;j=i>>>0>l>>>0?j+1|0:j;i=j;j=(n|0)==(j|0)&l>>>0>>0|j>>>0>>0;n=j+x|0;j=j>>>0>n>>>0?h+1|0:h;m=!i&l>>>0>1|(i|0)!=0;h=n+m|0;j=m>>>0>h>>>0?j+1|0:j;hb(w,d,e,0,0,0-h|0,0-(((h|0)!=0)+j|0)|0,0,0);hb(k+128|0,1-l|0,0-((l>>>0>1)+i|0)|0,0,0,d,e,0,0);I=(s-r|0)+u|0;e=N[k+116>>2];w=e;d=N[k+112>>2];j=e<<1|d>>>31;i=d<<1;n=j;d=j;h=N[k+140>>2];y=h;e=N[k+136>>2];j=h<<1|e>>>31;l=e<<1|N[k+132>>2]>>>31;h=l+i|0;d=d+j|0;d=h>>>0>>0?d+1|0:d;e=d;d=d-(h>>>0<13927)|0;v=d;x=d;l=0;j=p|65536;J=j;K=o;d=o;j=j<<1|d>>>31;M=d<<1;O=j;E=j;d=TE(v,l,j,0);j=Pa;B=d;C=j;u=b<<1;d=c<<1|b>>>31;r=d;j=0;s=j;m=h-13927|0;v=(e|0)==(v|0)&m>>>0>>0|e>>>0>v>>>0;e=(e|0)==(n|0)&h>>>0>>0|e>>>0>>0;d=N[k+120>>2];h=N[k+124>>2]<<1|d>>>31;d=d<<1|w>>>31;l=y>>>31|0;d=l+d|0;j=h;j=d>>>0>>0?j+1|0:j;h=d;d=d+e|0;j=h>>>0>d>>>0?j+1|0:j;e=d;d=d+v|0;l=e>>>0>d>>>0?j+1|0:j;e=d-1|0;D=l-!d|0;y=0;i=TE(r,s,D,y);d=i+B|0;h=Pa+C|0;h=d>>>0>>0?h+1|0:h;n=(C|0)==(h|0)&d>>>0>>0|h>>>0>>0;B=e;L=c>>>31|0;G=L|o<<1;v=0;e=TE(e,0,G,v);o=e+d|0;j=Pa+h|0;l=0;j=e>>>0>o>>>0?j+1|0:j;p=j;d=(j|0)==(h|0)&d>>>0>o>>>0|h>>>0>j>>>0;e=d;d=d+n|0;l=e>>>0>d>>>0?1:l;e=TE(E,s,D,y);d=e+d|0;j=Pa+l|0;n=d;d=d>>>0>>0?j+1|0:j;e=TE(E,s,B,v);l=Pa;h=e;e=TE(G,v,D,y);i=h+e|0;j=Pa+l|0;j=e>>>0>i>>>0?j+1|0:j;e=j;j=(l|0)==(j|0)&h>>>0>i>>>0|j>>>0>>0;l=n+e|0;d=d+j|0;d=l>>>0>>0?d+1|0:d;n=l;l=d;e=0;d=e+o|0;j=i+p|0;j=d>>>0>>0?j+1|0:j;e=j;h=(j|0)==(p|0)&d>>>0>>0|j>>>0

>>0;j=l;i=h;h=h+n|0;j=i>>>0>h>>>0?j+1|0:j;F=h;l=j;w=d;o=d;C=m;d=TE(m,0,G,v);i=Pa;h=d;m=TE(x,q,r,q);d=d+m|0;j=Pa+i|0;j=d>>>0>>0?j+1|0:j;m=(i|0)==(j|0)&d>>>0>>0|i>>>0>j>>>0;h=j;H=u&-2;i=TE(B,v,H,0);p=i+d|0;j=Pa+j|0;j=i>>>0>p>>>0?j+1|0:j;i=j;d=(j|0)==(h|0)&d>>>0>p>>>0|h>>>0>j>>>0;h=0;j=d+m|0;d=(j>>>0>>0?1:h)+e|0;n=j+o|0;d=n>>>0>>0?d+1|0:d;j=l;o=d;d=(d|0)==(e|0)&n>>>0>>0|d>>>0>>0;e=d;d=d+F|0;j=e>>>0>d>>>0?j+1|0:j;P=d;w=j;d=TE(E,s,C,q);F=Pa;E=d;e=TE(D,y,H,q);d=d+e|0;j=Pa+F|0;j=d>>>0>>0?j+1|0:j;m=d;l=TE(x,q,G,v);e=d+l|0;h=j;d=j+Pa|0;d=e>>>0>>0?d+1|0:d;s=e;j=TE(r,q,B,v);e=e+j|0;l=Pa+d|0;l=e>>>0>>0?l+1|0:l;D=(d|0)==(l|0)&e>>>0>>0|d>>>0>l>>>0;j=(h|0)==(F|0)&m>>>0>>0|h>>>0>>0;d=(d|0)==(h|0)&m>>>0>s>>>0|d>>>0>>0;d=d+j|0;d=d+D|0;h=l;s=h+n|0;j=(d|y)+o|0;j=h>>>0>s>>>0?j+1|0:j;m=j;d=(o|0)==(j|0)&n>>>0>s>>>0|j>>>0>>0;j=w;h=d;d=d+P|0;j=h>>>0>d>>>0?j+1|0:j;y=d;o=j;d=TE(x,q,H,q);x=Pa;n=d;h=TE(r,q,C,q);d=d+h|0;j=Pa+x|0;j=d>>>0>>0?j+1|0:j;w=0;h=(j|0)==(x|0)&d>>>0>>0|j>>>0>>0;n=j;d=j+p|0;j=(h|w)+i|0;j=d>>>0>>0?j+1|0:j;i=(i|0)==(j|0)&d>>>0

>>0|i>>>0>j>>>0;h=j;j=e;p=0;e=p+d|0;l=h+j|0;j=0;l=e>>>0

>>0?l+1|0:l;d=(h|0)==(l|0)&d>>>0>e>>>0|h>>>0>l>>>0;e=d;d=d+i|0;j=(e>>>0>d>>>0?1:j)+m|0;l=o;e=d;d=d+s|0;j=e>>>0>d>>>0?j+1|0:j;e=j;h=(m|0)==(j|0)&d>>>0>>0|j>>>0>>0;i=h;h=h+y|0;l=i>>>0>h>>>0?l+1|0:l;i=l;c:{if((l|0)==131071|l>>>0<131071){K=M|L;J=v|O;hb(k+80|0,d,j,h,l,f,g,A,z);l=N[k+84>>2];n=l;j=b<<17;m=0;p=N[k+88>>2];c=m-p|0;b=N[k+80>>2];l=(l|b)!=0;o=c-l|0;p=(j-(N[k+92>>2]+(m>>>0

>>0)|0)|0)-(c>>>0>>0)|0;m=0-b|0;n=0-(((b|0)!=0)+n|0)|0;b=I+16382|0;break c}d=(e&1)<<31|d>>>1;e=h<<31|e>>>1;h=(i&1)<<31|h>>>1;i=i>>>1|0;hb(k+96|0,d,e,h,i,f,g,A,z);o=N[k+100>>2];r=o;n=0;u=N[k+104>>2];m=n-u|0;l=N[k+96>>2];p=(o|l)!=0;o=m-p|0;p=((b<<16)-(N[k+108>>2]+(n>>>0>>0)|0)|0)-(m>>>0

>>0)|0;m=0-l|0;n=0-(((l|0)!=0)+r|0)|0;u=b;r=c;b=I+16383|0}if((b|0)>=32767){t=t|2147418112;b=0;c=0;break a}d:{if((b|0)>0){l=p<<1|o>>>31;o=o<<1|n>>>31;p=l;u=h;r=i&65535|b<<16;l=n<<1|m>>>31;i=m<<1;break d}if((b|0)<=-113){b=0;c=0;break a}Pd(k- -64|0,d,e,h,i,1-b|0);fc(k+48|0,u,r,K,J,b+112|0);d=N[k+64>>2];e=N[k+68>>2];u=N[k+72>>2];r=N[k+76>>2];hb(k+32|0,f,g,A,z,d,e,u,r);b=N[k+40>>2];c=N[k+56>>2];l=N[k+36>>2];o=b<<1|l>>>31;m=c-o|0;p=N[k+60>>2]-((N[k+44>>2]<<1|b>>>31)+(c>>>0>>0)|0)|0;b=N[k+32>>2];h=l<<1|b>>>31;j=b<<1;i=N[k+52>>2];c=N[k+48>>2];b=(h|0)==(i|0)&j>>>0>c>>>0|h>>>0>i>>>0;o=m-b|0;p=p-(b>>>0>m>>>0)|0;l=i-((c>>>0>>0)+h|0)|0;i=c-j|0}b=i;hb(k+16|0,f,g,A,z,3,0,0,0);hb(k,f,g,A,z,5,0,0,0);c=0;h=l+c|0;j=d&1;b=b+j|0;h=i>>>0>b>>>0?h+1|0:h;i=b;g=(h|0)==(g|0)&f>>>0>>0|g>>>0>>0;l=p;b=(c|0)==(h|0)&i>>>0>>0|c>>>0>h>>>0;f=b+o|0;l=b>>>0>f>>>0?l+1|0:l;j=e;b=(l|0)==(z|0);b=b&(f|0)==(A|0)?g:b&f>>>0>A>>>0|l>>>0>z>>>0;c=b;b=b+d|0;j=c>>>0>b>>>0?j+1|0:j;c=j;d=(e|0)==(j|0)&b>>>0>>0|e>>>0>j>>>0;j=r;e=d;d=d+u|0;j=e>>>0>d>>>0?j+1|0:j;g=d;e=N[k+20>>2];n=(e|0)==(h|0)&Q[k+16>>2]>>0|e>>>0>>0;e=N[k+28>>2];d=N[k+24>>2];e=j>>>0<2147418112&((d|0)==(f|0)&(e|0)==(l|0)?n:(e|0)==(l|0)&d>>>0>>0|e>>>0>>0);d=c;n=e;e=b+e|0;d=n>>>0>e>>>0?d+1|0:d;b=(c|0)==(d|0)&b>>>0>e>>>0|c>>>0>d>>>0;c=b;b=b+g|0;j=c>>>0>b>>>0?j+1|0:j;g=b;c=N[k+4>>2];h=(c|0)==(h|0)&Q[k>>2]>>0|c>>>0>>0;c=N[k+12>>2];b=N[k+8>>2];b=j>>>0<2147418112&((b|0)==(f|0)&(c|0)==(l|0)?h:(c|0)==(l|0)&b>>>0>>0|c>>>0>>0);c=b;b=b+e|0;l=c>>>0>b>>>0?d+1|0:d;c=l;e=(d|0)==(l|0)&b>>>0>>0|d>>>0>l>>>0;d=j;f=e;e=e+g|0;d=f>>>0>e>>>0?d+1|0:d;q=e|q;t=d|t}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=q;N[a+12>>2]=t;La=k+336|0}function TD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=U(0),o=0,p=0;f=La-144|0;La=f;i=N[a+96>>2];j=N[i+40>>2];g=N[b>>2];k=N[a+100>>2];b=N[i+12>>2];if(b){b=N[b+20>>2]}else{b=0}o=d,p=(Qa[j|0](a,k,c,b)|0)/2|0,N[o>>2]=p;d=N[g+52>>2];a:{if(d){break a}while(1){b=N[g>>2];if(!b){d=275552;break a}d=N[b+12>>2];b:{if(d){d=Qa[d|0](b,1448038983,N[b+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{if(!d){break f}b=N[d>>2];if(!b){break f}if((b|0)<=0){break e}N[d>>2]=b+1}L[f+104|0]=0;N[f+112>>2]=d;i=N[d+12>>2];N[f+84>>2]=i;j=N[d+16>>2];N[f+88>>2]=j+i;if((j|0)<0){break d}N[f+108>>2]=0;if(j>>>0>67108863){b=1073741823}else{b=j<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[f+92>>2]=b;N[f+100>>2]=0;N[f+80>>2]=0;if(!i){ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;b=d;break c}g:{h:{if(j>>>0<8){break h}N[f+92>>2]=b-8;if((j&-2)==6|(O[i|0]|O[i+1|0]<<8)!=256){break h}h=b-10|0;N[f+92>>2]=h;b=O[i+6|0]|O[i+7|0]<<8;if(!b){break g}b=((b<<8|b>>>8)&65535)<<2;if(b>>>0>j-8>>>0){break h}b=h-b|0;N[f+92>>2]=b;if((b|0)>0){break g}}ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;ab(d);b=275552;break c}ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;if(N[d+4>>2]){N[d+4>>2]=0}b=d;break c}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}d=N[g+52>>2];i:{if(b){if(d){break i}d=b;N[g+52>>2]=b;break a}if(d){break a}d=275552;N[g+52>>2]=275552;break a}if((b|0)==275552){break a}ab(b);d=N[g+52>>2];if(!d){continue}break}}j=Q[d+16>>2]<8?275552:N[d+12>>2];j:{if(O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24)){d=N[g+48>>2];k:{if(d){break k}while(1){b=N[g>>2];if(!b){d=275552;break k}d=db(1,28);if(!d){d=275552;N[g+48>>2]=275552;break k}d=Kg(d,b);if(!N[g+48>>2]){N[g+48>>2]=d;break k}ab(N[d+20>>2]);N[d+20>>2]=0;ab(N[d+24>>2]);_a(d);d=N[g+48>>2];if(!d){continue}break}}g=N[a+84>>2];l:{if(!g){break l}b=N[d+24>>2];b=b?b:275552;b=Q[b+16>>2]<24?275552:N[b+12>>2];d=O[b+20|0]|O[b+21|0]<<8|(O[b+22|0]<<16|O[b+23|0]<<24);if(!d){break l}i=N[a+88>>2];h=md(b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,c);k=h>>>16|0;d=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(d){b=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{b=275552}d=O[b+6|0]|O[b+7|0]<<8;if(k>>>0>=((d<<8|d>>>8)&65535)>>>0){break l}d=b+(k<<2)|0;d=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(d){d=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{d=275552}k=h&65535;h=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(h){b=b+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0}else{b=275552}l=Fc(d,k,i,g,b,0)}n=R[a+48>>2];m:{n:{a=O[j+6|0]|O[j+7|0]<<8;if(a){g=j+8|0;i=j+6|0;h=(a<<8|a>>>8)&65535;b=h-1|0;d=0;while(1){a=b+d>>>1|0;k=g+(a<<2)|0;k=O[k|0]|O[k+1|0]<<8;k=(k<<8|k>>>8)&65535;o:{if(k>>>0>c>>>0){b=a-1|0;break o}if((c|0)==(k|0)){break n}d=a+1|0}if((b|0)>=(d|0)){continue}break}}a=j+4|0;break m}a=(a>>>0>=h>>>0?275552:(i+(a<<2)|0)+2|0)+2|0}a=O[a|0]|O[a+1|0]<<8;l=U(Z(U(U(n*U(l+U((a<<8|a>>>8)<<16>>16)))+U(.5))));if(U(V(l))>2]=~~l;break j}N[e>>2]=-2147483648;break j}N[f+40>>2]=0;N[f+44>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;d=N[g+60>>2];p:{if(d){break p}while(1){b=N[g>>2];if(!b){d=275552;break p}d=db(1,28);if(!d){d=275552;N[g+60>>2]=275552;break p}d=Je(d,b);if(!N[g+60>>2]){N[g+60>>2]=d;break p}ab(N[d+24>>2]);_a(d);d=N[g+60>>2];if(!d){continue}break}}if(eq(d,a,c,f+32|0)){d=N[g+48>>2];q:{if(d){break q}while(1){b=N[g>>2];if(!b){d=275552;break q}d=db(1,28);if(!d){d=275552;N[g+48>>2]=275552;break q}d=Kg(d,b);if(!N[g+48>>2]){N[g+48>>2]=d;break q}ab(N[d+20>>2]);N[d+20>>2]=0;ab(N[d+24>>2]);_a(d);d=N[g+48>>2];if(!d){continue}break}}r:{i=N[a+84>>2];s:{if(!i){b=N[d>>2];t:{if(c>>>0>>0){if((c|0)<0){b=275552}else{b=N[d+20>>2];b=N[(b?b:275552)+12>>2]+(c<<2)|0}b=b+2|0;break t}if(Q[d+4>>2]<=c>>>0){break r}u:{if((b|0)<0){g=275552;break u}g=N[d+20>>2];g=N[(g?g:275552)+12>>2]+(b<<2)|0;b=N[d>>2]}b=(c-b<<1)+g|0}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;break s}b=275552;v:{w:{g=N[d+24>>2];g=g?g:275552;g=Q[g+16>>2]<24?275552:N[g+12>>2];h=O[g+12|0]|O[g+13|0]<<8|(O[g+14|0]<<16|O[g+15|0]<<24);if(!h){break w}j=N[a+88>>2];k=md(g+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0,c);h=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);if(h){b=g+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0}g=O[b+6|0]|O[b+7|0]<<8;h=(g<<8|g>>>8)&65535;g=k>>>16|0;if(h>>>0<=g>>>0){l=U(.5)}else{g=(g<<2)+b|0;g=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);if(g){g=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+b|0}else{g=275552}k=k&65535;h=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(h){b=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+b|0}else{b=275552}l=U(Fc(g,k,j,i,b,0)+U(.5))}l=U(Z(l));b=N[d>>2];x:{if(c>>>0>>0){if((c|0)<0){b=275552}else{b=N[d+20>>2];b=N[(b?b:275552)+12>>2]+(c<<2)|0}b=b+2|0;break x}if(Q[d+4>>2]<=c>>>0){break w}y:{if((b|0)<0){g=275552;break y}g=N[d+20>>2];g=N[(g?g:275552)+12>>2]+(b<<2)|0;b=N[d>>2]}b=(c-b<<1)+g|0}b=O[b|0]|O[b+1|0]<<8;l=U(l+U((b<<8|b>>>8)<<16>>16));if(!(U(V(l))>2];b=N[d+108>>2];z:{if(b){break z}while(1){b=N[d+48>>2];if(!b){b=275552;break z}g=db(1,28);if(!g){b=275552;N[d+108>>2]=275552;break z}b=Je(g,b);if(!N[d+108>>2]){N[d+108>>2]=b;break z}ab(N[b+24>>2]);_a(b);b=N[d+108>>2];if(!b){continue}break}}if(Q[b+16>>2]<=c>>>0){break r}M[f+100>>1]=0;M[f+112>>1]=0;M[f+124>>1]=0;N[f+72>>2]=-8388609;N[f+76>>2]=-8388609;d=f- -64|0;N[d>>2]=2139095039;N[d+4>>2]=2139095039;N[f+16>>2]=2139095039;N[f+20>>2]=2139095039;N[f+24>>2]=-8388609;N[f+28>>2]=-8388609;L[f+60|0]=0;N[f+56>>2]=f+80;d=N[f+60>>2];N[f+8>>2]=N[f+56>>2];N[f+12>>2]=d;N[f+48>>2]=a;M[f+88>>1]=0;N[f+80>>2]=0;N[f+84>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+116>>2]=0;N[f+120>>2]=0;N[f+52>>2]=f+128;d=N[f+52>>2];N[f>>2]=N[f+48>>2];N[f+4>>2]=d;if(!gj(b,a,c,f)){break r}l=U(U(Z(U(R[f+108>>2]+U(.5))))-U(N[f+132>>2]));if(!(U(V(l))>2];d=N[a+64>>2];i=N[a+68>>2];a=b<<16>>16;b=TE(d,i,a,a>>31);a=Pa;b=b+32768|0;N[e>>2]=(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16)+c;break j}N[f+120>>2]=0;N[f+124>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+80>>2]=0;N[f+84>>2]=0;b=N[a+96>>2];c=N[b+20>>2];d=N[a+100>>2];i=f+80|0;b=N[b+12>>2];if(b){b=N[b>>2]}else{b=0}A:{if(Qa[c|0](a,d,i,b)|0){b=N[f+80>>2];a=N[f+84>>2];break A}a=N[a+32>>2];m=+(a|0)*.8;B:{if(V(m)<2147483648){b=~~m;break B}b=-2147483648}a=b-a|0}N[e>>2]=N[f+36>>2]+(N[f+44>>2]+(b-a|0)>>1);break j}N[f+120>>2]=0;N[f+124>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+80>>2]=0;N[f+84>>2]=0;b=N[a+96>>2];c=N[b+20>>2];d=N[a+100>>2];i=f+80|0;b=N[b+12>>2];if(b){b=N[b>>2]}else{b=0}C:{if(Qa[c|0](a,d,i,b)|0){a=N[f+80>>2];break C}m=+N[a+32>>2]*.8;if(V(m)<2147483648){a=~~m;break C}a=-2147483648}N[e>>2]=a}La=f+144|0;return 1}function Nu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=La-144|0;La=h;j=N[b+100>>2];f=N[b+104>>2];N[b+132>>2]=0;d=c>>31;l=(d^c)-d&65535;e=N[f+20>>2];a:{b:{if(e){d=85;if(Qa[e|0](f,0,0,0)|0){break b}}N[f+8>>2]=0;d=rb(f,37696,h+140|0);if(d){break b}g=2;c:{d:{if(P[h+140>>1]!=23117){break d}e=P[h+142>>1];g=N[f+20>>2];e:{if(g){d=85;if(!(Qa[g|0](f,e,0,0)|0)){break e}break b}d=85;if(e>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=e;d=rb(f,37728,h+134|0);if(d){break b}g=2;f:{g:{switch(P[h+134>>1]-17742|0){case 0:d=e;e=P[h+136>>1];d=d+e|0;i=N[f+20>>2];h:{if(i){g=85;if(!(Qa[i|0](f,d,0,0)|0)){break h}break c}g=85;if(d>>>0>Q[f+4>>2]){break c}}N[f+8>>2]=d;g=Bb(f,P[h+138>>1]-e|0);if(g){break c}i:{g=N[f+36>>2];d=N[f+32>>2];if(g>>>0>d+1>>>0){m=O[d|0]|O[d+1|0]<<8;d=d+2|0;N[f+32>>2]=d;if(m>>>0>16){break i}}while(1){j:{k:{l:{m:{if(g>>>0<=d+1>>>0){N[f+32>>2]=d;break m}k=O[d|0]|O[d+1|0]<<8;e=d+2|0;N[f+32>>2]=e;if(k){break l}}i=0;d=0;break k}i=0;if(g>>>0>d+3>>>0){i=O[d+2|0]|O[d+3|0]<<8;e=d+4|0}N[f+32>>2]=e;if((k|0)!=32776){break j}d=((N[f+8>>2]+e|0)-g|0)+4|0}if(N[f+20>>2]){e=N[f>>2];if(e){g=N[f+28>>2];Qa[N[g+8>>2]](g,e)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;g=3;e=i&65535;if(!e|(!d|Q[f+4>>2]>>0)){break c}N[b>>2]=e;g=0;if((c|0)<0){break c}g=6;if(e>>>0<=l>>>0){break c}e=Qa[N[j+4>>2]](j,172)|0;if(!e){N[b+132>>2]=0;g=64;break c}G(e,0,172);N[b+132>>2]=e;d=d+T(l,12)|0;e=N[f+20>>2];n:{if(e){g=85;if(!(Qa[e|0](f,d,0,0)|0)){break n}break d}g=85;if(d>>>0>Q[f+4>>2]){break d}}N[f+8>>2]=d;g=Bb(f,12);if(g){break d}g=0;k=N[f+36>>2];d=N[f+32>>2];o:{if(k>>>0<=d+1>>>0){i=0;break o}i=O[d|0]|O[d+1|0]<<8;d=d+2|0}N[f+32>>2]=d;e=N[b+132>>2];N[e>>2]=i<>>0>>0){g=O[d|0]|O[d+1|0]<<8;d=d+2|0}N[e+164>>2]=g<>2]=d+8;if(N[f+20>>2]){d=N[f>>2];if(d){e=N[f+28>>2];Qa[N[e+8>>2]](e,d);e=N[b+132>>2]}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;g=Dh(e,f);i=!g;break f}d=(T(i&65535,12)+e|0)+4|0;N[f+32>>2]=d;continue}}if(N[f+20>>2]){d=N[f>>2];if(d){e=N[f+28>>2];Qa[N[e+8>>2]](e,d)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;d=3;break b;case 2:break g;default:break f}}g=N[f+20>>2];p:{if(g){d=85;if(!(Qa[g|0](f,e,0,0)|0)){break p}break b}d=85;if(e>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=e;d=rb(f,37760,h+112|0);if(d){break b}if(N[h+112>>2]!=17744){d=3;break b}if(P[h+116>>1]!=332){d=3;break b}if(P[h+120>>1]!=224){d=3;break b}if(P[h+122>>1]!=267){d=3;break b}e=0;N[b>>2]=0;g=P[h+118>>1];if(!g){d=3;break b}m=N[h+124>>2];q:{while(1){d=rb(f,37824,h+92|0);if(d){break b}if((m|0)==N[h+100>>2]){break q}e=e+1|0;if(g>>>0>(e&65535)>>>0){continue}break}d=3;break b}e=N[h+108>>2];g=N[f+20>>2];r:{if(g){d=85;if(!(Qa[g|0](f,e,0,0)|0)){break r}break b}d=85;if(e>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=e;d=rb(f,37856,h+76|0);if(d){break b}g=P[h+90>>1];d=P[h+88>>1];if((g|0)!=(0-d|0)){o=d+g|0;p=e+16|0;d=0;while(1){d=(d<<3)+p|0;s:{g=N[f+20>>2];if(g){if(!(Qa[g|0](f,d,0,0)|0)){break s}d=85;break b}if(d>>>0<=Q[f+4>>2]){break s}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+36|0);if(d){break b}d=N[h+40>>2];if((d|0)>=0){d=3;break b}d=d&2147483647;N[h+40>>2]=d;g=d+e|0;t:{d=N[f+20>>2];if(d){if(!(Qa[d|0](f,g,0,0)|0)){break t}d=85;break b}if(g>>>0<=Q[f+4>>2]){break t}d=85;break b}N[f+8>>2]=g;d=rb(f,37856,h+60|0);if(d){break b}i=P[h+74>>1];d=P[h+72>>1];if((i|0)!=(0-d|0)){q=d+i|0;r=g+16|0;d=0;s=N[h+36>>2];k=0;while(1){d=(d<<3)+r|0;u:{g=N[f+20>>2];if(g){if(!(Qa[g|0](f,d,0,0)|0)){break u}d=85;break b}if(d>>>0<=Q[f+4>>2]){break u}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+28|0);if(d){break b}d=N[h+32>>2];if((d|0)>=0){d=3;break b}d=d&2147483647;N[h+32>>2]=d;g=d+e|0;v:{d=N[f+20>>2];if(d){if(!(Qa[d|0](f,g,0,0)|0)){break v}d=85;break b}if(g>>>0<=Q[f+4>>2]){break v}d=85;break b}N[f+8>>2]=g;d=rb(f,37856,h+44|0);if(d){break b}i=P[h+58>>1];d=P[h+56>>1];if((i|0)!=(0-d|0)){t=d+i|0;u=g+16|0;d=0;i=0;while(1){d=(d<<3)+u|0;w:{g=N[f+20>>2];if(g){if(!(Qa[g|0](f,d,0,0)|0)){break w}d=85;break b}if(d>>>0<=Q[f+4>>2]){break w}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+20|0);if(d){break b}if((s|0)==8){d=e+N[h+24>>2]|0;x:{g=N[f+20>>2];if(g){if(!(Qa[g|0](f,d,0,0)|0)){break x}d=85;break b}if(d>>>0<=Q[f+4>>2]){break x}d=85;break b}N[f+8>>2]=d;d=rb(f,37904,h+4|0);if(d){break b}d=N[b>>2];if((d|0)==(l|0)){d=Qa[N[j+4>>2]](j,172)|0;if(!d){N[b+132>>2]=0;d=64;break b}G(d+4|0,0,168);N[b+132>>2]=d;N[d>>2]=(e+N[h+4>>2]|0)-m;N[d+164>>2]=N[h+8>>2];g=Dh(d,f);if(g){break d}d=N[b>>2]}N[b>>2]=d+1}i=i+1|0;d=i&65535;if(t>>>0>d>>>0){continue}break}}k=k+1|0;d=k&65535;if(q>>>0>d>>>0){continue}break}}n=n+1|0;d=n&65535;if(o>>>0>d>>>0){continue}break}}i=1;g=0}e=N[b>>2];if(!e){d=3;break b}d=6;if((e|0)<=(l|0)){break b}if(i){break c}}d=N[b+132>>2];if(!d){break c}e=N[b+100>>2];i=N[d+160>>2];if(i){f=N[b+104>>2];if(!(!f|!N[f+20>>2])){f=N[f+28>>2];Qa[N[f+8>>2]](f,i)}N[d+160>>2]=0}f=N[d+168>>2];if(f){Qa[N[e+8>>2]](e,f)}N[d+168>>2]=0;Qa[N[e+8>>2]](e,d);N[b+132>>2]=0}if((c|0)>=0){d=g;break b}e=0;d=g;if(!d){break a}}y:{z:{A:{B:{C:{D:{if((d&255)==2){d=Qa[N[j+4>>2]](j,172)|0;if(!d){N[b+132>>2]=0;e=64;break a}e=0;G(d+4|0,0,168);N[b>>2]=1;N[b+132>>2]=d;N[d>>2]=0;N[d+164>>2]=N[a+4>>2];d=Dh(d,a);if(!(d|(c|0)<0)){d=6;if(!l){break D}break A}if(d){break A}break a}if(d){break C}}a=N[b+132>>2];if(!P[a+96>>1]){c=N[b+100>>2];d=3;g=N[b+104>>2];break z}N[b+4>>2]=l;c=N[b+8>>2];N[b+8>>2]=c|18;if(P[a+100>>1]==P[a+102>>1]){N[b+8>>2]=c|22}if(O[a+86|0]){N[b+12>>2]=N[b+12>>2]|1}if(P[a+90>>1]>=800){N[b+12>>2]=N[b+12>>2]|2}c=Qa[N[j+4>>2]](j,16)|0;d=!c<<6;N[h+92>>2]=d;N[b+32>>2]=c;if(!c){break A}N[b+28>>2]=1;M[c+2>>1]=P[a+100>>1];g=P[a+96>>1];M[c>>1]=g+P[a+84>>1];d=P[a+74>>1]<<6;N[c+4>>2]=d;e=P[a+78>>1];f=P[a+76>>1];f=f?f:72;i=jb(d,f,72)+32&-64;N[c+12>>2]=i;g=g<<6;if((g|0)<(i|0)){N[c+12>>2]=g;d=jb(g,72,f);N[c+4>>2]=d}v=c,w=jb(d,e?e:72,72)+32&-64,N[v+8>>2]=w;N[h+112>>2]=b;N[h+116>>2]=0;N[h+120>>2]=0;if(O[a+92|0]==77){M[h+120>>1]=1;N[h+116>>2]=1634889070}d=Ac(37644,0,h+112|0,0);if(d){break A}d=3;c=O[a+105|0];e=O[a+104|0];if(c>>>0>>0){break A}N[b+16>>2]=(c-e|0)+2;c=N[a+116>>2];e=N[a+8>>2];if(c>>>0>=e>>>0){break A}e=e-c|0;g=e+1|0;E:{F:{if(e>>>0<=2147483646){d=Qa[N[j+4>>2]](j,g)|0;if(d){break F}d=64;break B}d=6;if(g){break B}d=0;break E}c=N[a+116>>2]}N[h+92>>2]=0;N[a+168>>2]=d;B(d,N[a+160>>2]+c|0,e);L[e+N[a+168>>2]|0]=0;c=a;a=N[a+168>>2];a=lb(j,1,e,nb(a)+1|0,a,h+92|0);N[c+168>>2]=a;d=N[h+92>>2];if(d){break A}N[b+24>>2]=12199;N[b+20>>2]=a;c=N[b+12>>2];a=c&1;if(c&2){if(a){N[b+24>>2]=17749;e=0;break a}N[b+24>>2]=16733;e=0;break a}e=0;if(!a){break a}N[b+24>>2]=17754;break a}e=d;if(!b){break a}break A}N[a+168>>2]=0}c=N[b+100>>2];a=N[b+132>>2];if(!a){e=d;break y}g=N[b+104>>2]}e=d;d=N[a+160>>2];if(d){if(!(!g|!N[g+20>>2])){g=N[g+28>>2];Qa[N[g+8>>2]](g,d)}N[a+160>>2]=0}d=N[a+168>>2];if(d){Qa[N[c+8>>2]](c,d)}N[a+168>>2]=0;Qa[N[c+8>>2]](c,a);N[b+132>>2]=0}a=N[b+32>>2];if(a){Qa[N[c+8>>2]](c,a)}N[b+28>>2]=0;N[b+32>>2]=0}La=h+144|0;return e|0}function Ar(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=La-80|0;La=j;e=eb(680);n=N[b>>2];o=N[a>>2];a=O[d|0];N[e+676>>2]=0;N[e+668>>2]=0;N[e+672>>2]=0;N[e+364>>2]=0;N[e+356>>2]=0;N[e+360>>2]=0;N[e+324>>2]=0;N[e+316>>2]=0;N[e+320>>2]=0;N[e+284>>2]=0;N[e+276>>2]=0;N[e+280>>2]=0;N[e+244>>2]=0;N[e+236>>2]=0;N[e+240>>2]=0;N[e+204>>2]=0;N[e+196>>2]=0;N[e+200>>2]=0;N[e+164>>2]=0;N[e+156>>2]=0;N[e+160>>2]=0;N[e+124>>2]=0;N[e+116>>2]=0;N[e+120>>2]=0;N[e+84>>2]=0;N[e+76>>2]=0;N[e+80>>2]=0;N[e+44>>2]=0;N[e+36>>2]=0;N[e+40>>2]=0;N[e+8>>2]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+660>>2]=0;N[e+400>>2]=0;N[e+380>>2]=0;N[e+384>>2]=0;N[e+392>>2]=0;N[e+396>>2]=0;N[e+376>>2]=0;L[e+388|0]=a;L[e+372|0]=0;a:{a=L[c+11|0]<0?N[c>>2]:c;if(nb(a)>>>0<256){t=od(e+404|0,a);l=db(1,28);if(!l){break a}N[e+380>>2]=l;c=0;N[l+24>>2]=0;N[l+20>>2]=80;N[j+64>>2]=24121344;mb(l,4,19069,j- -64|0);N[j+48>>2]=24067;mb(l,4,11566,j+48|0);a=j+76|0;k=La-432|0;La=k;b:{b=kb(16);if(!b){m=7;break b}N[b+12>>2]=105;N[b+4>>2]=106;N[b>>2]=0;N[b+8>>2]=107;c:{if(!a){_a(b);m=6;break c}d=kb(208);if(!d){_a(b);m=64;break c}G(d+16|0,0,188);N[d+204>>2]=1;N[d+12>>2]=0;N[d+4>>2]=2;N[d+8>>2]=11;N[d>>2]=b;N[a>>2]=d;ec(d,356728);ec(d,356824);ec(d,356920);ec(d,357016);ec(d,357112);ec(d,357208);ec(d,357304);ec(d,357400);ec(d,357496);ec(d,357592);ec(d,357628);ec(d,357664);ec(d,357700);ec(d,357760);ec(d,357820);ec(d,357880);ec(d,357940);ec(d,357976);m=0}p=N[a>>2];f=uh(19517);if(!f){break b}q=p+20|0;while(1){b=0;d:{e:{f:{d=f;h=O[d|0];switch(h|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break e;case 0:break b;case 9:break d;default:break f}}if((h|0)==32){break d}}g:{h:{i:{while(1){a=h&255;if(!a){h=b;break g}if((a|0)==58){h=b;break g}a=k+288|0;L[a+b|0]=h;h=b|1;g=O[d+1|0];if(!((g|0)==58|!g)){L[a+h|0]=g;h=b|2;g=O[d+2|0];if(!g|(g|0)==58){break i}L[a+h|0]=g;h=b|3;g=O[d+3|0];if(!g|(g|0)==58){break h}L[a+h|0]=g;d=d+4|0;h=128;b=b+4|0;if((b|0)==128){break g}h=O[d|0];continue}break}d=d+1|0;break g}d=d+2|0;break g}d=d+3|0}L[(k+288|0)+h|0]=0;if((d|0)==(f|0)|O[d|0]!=58){break b}a=1;h=d+1|0;b=0;j:{while(1){f=O[h|0];if(!f){f=b;break j}if((f|0)==61){f=b;break j}L[(k+144|0)+b|0]=f;f=b|1;g=a+1|0;h=g+d|0;i=O[h|0];if(!i){a=g;break j}if((i|0)==61){a=g;break j}L[(k+144|0)+f|0]=i;f=b|2;g=a+2|0;h=g+d|0;i=O[h|0];if(!i){a=g;break j}if((i|0)==61){a=g;break j}L[(k+144|0)+f|0]=i;f=b|3;g=a+3|0;h=g+d|0;i=O[h|0];if(!i){a=g;break j}if((i|0)==61){a=g;break j}L[(k+144|0)+f|0]=i;a=a+4|0;h=d+a|0;f=128;b=b+4|0;if((b|0)!=128){continue}break}a=129}L[(k+144|0)+f|0]=0;if((a|0)==1|O[h|0]!=61){break b}a=1;f=h+1|0;b=0;k:{while(1){g=a;d=b;l:{m:{i=O[f|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break l;default:break m}}if((i|0)!=32){break l}break k}L[b+k|0]=i;d=b|1;n:{o:{g=a+1|0;f=g+h|0;i=O[f|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break n;default:break o}}if((i|0)==32){break k}}L[d+k|0]=i;d=b|2;p:{q:{g=a+2|0;f=g+h|0;i=O[f|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break p;default:break q}}if((i|0)==32){break k}}L[d+k|0]=i;d=b|3;r:{s:{g=a+3|0;f=g+h|0;i=O[f|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break r;default:break s}}if((i|0)==32){break k}}L[d+k|0]=i;a=a+4|0;f=h+a|0;d=128;b=b+4|0;if((b|0)!=128){continue}break}g=129}L[d+k|0]=0;t:{u:{a=O[f|0];switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 0:case 9:break t;default:break u}}if((a|0)!=32){break b}}if((g|0)==1){break b}v:{if(!p){break v}a=N[p+16>>2];b=(a<<2)+q|0;d=q;w:{if((a|0)<=0){break w}while(1){if(!cb(N[N[N[d>>2]>>2]+8>>2],k+288|0)){break w}d=d+4|0;if(b>>>0>d>>>0){continue}break}}if((b|0)==(d|0)){break v}b=N[d>>2];a=N[N[b>>2]+32>>2];if(!a){break v}a=Qa[a|0](b,11276)|0;if(!a){break v}a=N[a>>2];if(!a){break v}Qa[a|0](N[d>>2],k+144|0,k,1)|0}if(!O[f|0]){break b}}f=f+1|0;continue}}La=k+432|0;x:{y:{if(m){N[j+32>>2]=15594;mb(l,0,16788,j+32|0);break y}a=N[j+76>>2];z:{if(!a){d=0;a=0;break z}d=N[a+12>>2];c=N[a+4>>2];a=N[a+8>>2]}N[j+24>>2]=d;N[j+20>>2]=a;N[j+16>>2]=c;mb(l,6,17016,j+16|0);c=db(1,1120);if(!c){dq(N[j+76>>2]);c=0;break y}N[c>>2]=l;a=N[j+76>>2];N[c+972>>2]=81;N[c+968>>2]=82;N[c+964>>2]=83;N[c+960>>2]=84;N[c+956>>2]=85;N[c+952>>2]=86;N[c+948>>2]=87;N[c+944>>2]=88;N[c+940>>2]=89;N[c+936>>2]=90;N[c+932>>2]=91;N[c+928>>2]=92;N[c+924>>2]=93;N[c+920>>2]=94;N[c+916>>2]=95;N[c+912>>2]=96;N[c+908>>2]=97;N[c+904>>2]=98;N[c+900>>2]=99;N[c+896>>2]=100;N[c+892>>2]=101;N[c+888>>2]=102;N[c+884>>2]=103;N[c+880>>2]=104;N[c+876>>2]=5;N[c+4>>2]=a;N[c+224>>2]=0;N[c+228>>2]=0;N[c+204>>2]=16;N[c+872>>2]=4;N[c+232>>2]=0;N[c+236>>2]=0;N[c+240>>2]=0;N[c+244>>2]=0;N[c+248>>2]=0;d=kb(1043);if(!d){N[c+252>>2]=0;break y}a=d+4|0;b=a&15;a=(b?16-b|0:0)+a|0;N[a-4>>2]=d;N[c+252>>2]=a;a=db(1,36);A:{if(!a){break A}N[a+16>>2]=440388;N[a>>2]=65535;N[a+12>>2]=a+8;b=db(65535,4);N[a+4>>2]=b;if(b){r=a;break A}_a(a)}N[c+840>>2]=r;b=db(1,36);a=0;B:{if(!b){break B}N[b+16>>2]=440416;N[b>>2]=65535;N[b+12>>2]=b+8;d=db(65535,4);N[b+4>>2]=d;a=b;if(d){break B}_a(a);a=0}d=a;N[c+848>>2]=d;a=db(1,36);C:{if(!a){break C}N[a+16>>2]=440444;N[a>>2]=65535;N[a+12>>2]=a+8;b=db(65535,4);N[a+4>>2]=b;if(b){s=a;break C}_a(a)}N[c+852>>2]=s;b=0;f=db(1,36);a=0;D:{if(!f){break D}N[f+16>>2]=440472;N[f>>2]=65535;N[f+12>>2]=f+8;g=db(65535,4);N[f+4>>2]=g;a=f;if(g){break D}_a(a);a=0}N[c+844>>2]=a;f=db(1,36);E:{if(!f){break E}N[f+16>>2]=440500;N[f>>2]=65535;N[f+12>>2]=f+8;g=db(65535,4);N[f+4>>2]=g;if(g){b=f;break E}_a(f)}N[c+856>>2]=b;if(!r|!d|(!s|!a)){break y}if(!b){break y}N[c+868>>2]=67108864;N[c+860>>2]=1e4;N[c+864>>2]=134217728;N[c+836>>2]=16;N[c+828>>2]=1024;N[c+832>>2]=64;N[c+804>>2]=0;h=db(16,88);N[c+800>>2]=h;g=db(1024,360);N[c+776>>2]=g;f=db(1024,4);N[c+780>>2]=f;d=kb(1024);N[c+784>>2]=d;a=db(64,24);N[c+792>>2]=a;if(!h|!f|(!d|!g)){break y}if(!a){break y}N[c+976>>2]=15978;N[c+196>>2]=c+776;N[c+96>>2]=2;N[c+32>>2]=0;N[c+36>>2]=1072693248;N[c+192>>2]=c;a=db(60,1);if(a){N[a+32>>2]=64;d=db(16,5);N[a+40>>2]=d;if(d){break x}_a(a)}N[c+200>>2]=0}mb(l,1,16798,0);Zo(c);N[e+384>>2]=0;ud(25307,34,1,588952);ha(3);F()}N[a+36>>2]=5;N[d+76>>2]=-1;N[d+60>>2]=-1;N[d+64>>2]=1668049255;N[d+44>>2]=-1;N[d+48>>2]=1818847073;N[d+28>>2]=-1;N[d+32>>2]=1801810542;N[d+12>>2]=-1;N[d+16>>2]=1986752097;N[d>>2]=1986359924;N[a+48>>2]=b;N[c+200>>2]=a;N[j>>2]=21962;mb(l,4,23768,j);N[c+92>>2]=1;mb(l,6,16768,0);N[e+384>>2]=c;N[N[e+380>>2]+4>>2]=1;a=(n|o)>=0;b=a?n:0;a=a?o:0;c=N[e+384>>2];if(!((a|0)==N[c+16>>2]&(b|0)==N[c+20>>2])){N[c+16>>2]=a;N[c+20>>2]=b;wg(c);c=N[e+384>>2]}N[e+392>>2]=o;N[e+396>>2]=n;Vo(c,t);_a(N[e>>2]);N[e+8>>2]=0;N[e>>2]=0;N[e+4>>2]=0;La=j+80|0;return e|0}rj(24937);ha(4);F()}N[e+380>>2]=0;ud(25273,33,1,588952);ha(2);F()}function Vi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if(N[a+200>>2]==(b|0)&N[a+204>>2]==(d|0)){break a}N[a+200>>2]=b;N[a+204>>2]=d;p=N[a+4>>2];if(!p){break a}k=N[a+8>>2];j=k>>31;d=b>>31;d=(d^b)-d|0;r=d>>>8|0;j=(k^j)-j|0;b:{if(r+j>>>0<=8190){h=T(d,j)+32768>>>16|0;break b}l=j&65535;h=T(l,d>>>16|0)+T(d,j>>>16|0)+(T(l,d&65535)+32768>>>16)|0}j=h;f=0-j|0;j=k>>31|1;l=(b|0)<0;b=((l?0-j|0:j)|0)<0?f:h;N[a+12>>2]=b;N[a+16>>2]=b+32&-64;j=p-1|0;if(!j){break a}m=d&65535;h=d>>>16|0;b=a+20|0;while(1){p=N[b>>2];k=p>>31;k=(k^p)-k|0;c:{if(k+r>>>0<=8190){f=T(d,k)+32768>>>16|0;break c}g=k&65535;f=T(g,h)+T(d,k>>>16|0)+(T(g,m)+32768>>>16)|0}k=f;g=0-k|0;k=p>>31|1;p=((l?0-k|0:k)|0)<0?g:f;g=N[a+12>>2];f=p-g|0;k=f>>31;k=(f^k)-k>>>0<128?g:p;N[b+4>>2]=k;N[b+8>>2]=k+32&-64;b=b+12|0;j=j-1|0;if(j){continue}break}}d:{if(N[a+404>>2]==(c|0)&N[a+408>>2]==(e|0)){break d}N[a+404>>2]=c;N[a+408>>2]=e;k=N[a+208>>2];e:{if(!k){break e}j=N[a+212>>2];b=j>>31;d=c>>31;d=(d^c)-d|0;r=d>>>8|0;b=(b^j)-b|0;f:{if(r+b>>>0<=8190){h=T(b,d)+32768>>>16|0;break f}p=b&65535;h=T(p,d>>>16|0)+T(d,b>>>16|0)+(T(p,d&65535)+32768>>>16)|0}b=h;f=0-b|0;b=j>>31|1;l=(c|0)<0;b=((l?0-b|0:b)|0)<0?f:h;N[a+216>>2]=b;N[a+220>>2]=b+32&-64;j=k-1|0;if(!j){break e}m=d&65535;h=d>>>16|0;b=a+224|0;while(1){p=N[b>>2];k=p>>31;k=(k^p)-k|0;g:{if(k+r>>>0<=8190){f=T(d,k)+32768>>>16|0;break g}g=k&65535;f=T(g,h)+T(d,k>>>16|0)+(T(g,m)+32768>>>16)|0}k=f;g=0-k|0;k=p>>31|1;p=((l?0-k|0:k)|0)<0?g:f;g=N[a+216>>2];f=p-g|0;k=f>>31;k=(f^k)-k>>>0<128?g:p;N[b+4>>2]=k;N[b+8>>2]=k+32&-64;b=b+12|0;j=j-1|0;if(j){continue}break}}L[a+2492|0]=(T(c,125)|0)>2]<<3&(c|0)<=34359737;b=N[a+2480>>2];h:{if((b|0)<=0){break h}d=c>>31;d=(d^c)-d|0;k=d&65535;p=d>>>16|0;r=d>>>8|0;while(1){j=b>>31;j=(j^b)-j|0;i:{if(j+r>>>0<=8190){j=T(d,j)+32768>>>16|0;break i}l=j&65535;j=T(l,p)+T(d,j>>>16|0)+(T(k,l)+32768>>>16)|0}if((((c|0)<0?0-j|0:j)|0)<33){break h}j=(b|0)>1;b=b-1|0;if(j){continue}break}b=0}N[a+2484>>2]=b;p=N[a+412>>2];if(p){b=c>>31;j=(b^c)-b|0;k=j&65535;r=j>>>16|0;l=j>>>8|0;b=a+416|0;d=p;while(1){h=N[b+8>>2];m=h>>31;m=(h^m)-m|0;j:{if(m+l>>>0<=8190){f=T(j,m)+32768>>>16|0;break j}g=m&65535;f=T(g,r)+T(j,m>>>16|0)+(T(g,k)+32768>>>16)|0}m=f;g=0-m|0;m=h>>31|1;i=0-m|0;h=m;m=(c|0)<0;N[b+28>>2]=(((m?i:h)|0)<0?g:f)+e;g=N[b+12>>2];h=g>>31;h=(g^h)-h|0;k:{if(h+l>>>0<=8190){f=T(h,j)+32768>>>16|0;break k}f=h&65535;f=T(f,r)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;N[b+24>>2]=(((m?0-h|0:h)|0)<0?i:f)+e;g=N[b>>2];h=g>>31;h=(g^h)-h|0;l:{if(h+l>>>0<=8190){f=T(h,j)+32768>>>16|0;break l}f=h&65535;f=T(f,r)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;f=(((m?0-h|0:h)|0)<0?i:f)+e|0;g=N[b+4>>2];h=g>>31;h=(g^h)-h|0;m:{if(h+l>>>0<=8190){i=T(h,j)+32768>>>16|0;break m}i=h&65535;i=T(i,r)+T(j,h>>>16|0)+(T(k,i)+32768>>>16)|0}h=i;N[b+16>>2]=f+32&-64;f=0-h|0;h=g>>31|1;N[b+20>>2]=((m?0-h|0:h)|0)<0?f:i;b=b+32|0;d=d-1|0;if(d){continue}break}}r=N[a+928>>2];if(r){b=c>>31;j=(b^c)-b|0;k=j&65535;l=j>>>16|0;m=j>>>8|0;b=a+932|0;d=r;while(1){g=N[b+8>>2];h=g>>31;h=(g^h)-h|0;n:{if(h+m>>>0<=8190){f=T(h,j)+32768>>>16|0;break n}f=h&65535;f=T(f,l)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;n=0-h|0;g=h;h=(c|0)<0;N[b+28>>2]=(((h?n:g)|0)<0?i:f)+e;f=N[b+12>>2];g=f>>31;g=(g^f)-g|0;o:{if(g+m>>>0<=8190){i=T(g,j)+32768>>>16|0;break o}i=g&65535;i=T(i,l)+T(j,g>>>16|0)+(T(k,i)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;N[b+24>>2]=(((h?0-g|0:g)|0)<0?n:i)+e;f=N[b>>2];g=f>>31;g=(g^f)-g|0;p:{if(g+m>>>0<=8190){i=T(g,j)+32768>>>16|0;break p}i=g&65535;i=T(i,l)+T(j,g>>>16|0)+(T(k,i)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;i=(((h?0-g|0:g)|0)<0?n:i)+e|0;f=N[b+4>>2];g=f>>31;g=(g^f)-g|0;q:{if(g+m>>>0<=8190){n=T(g,j)+32768>>>16|0;break q}o=g&65535;n=T(o,l)+T(j,g>>>16|0)+(T(k,o)+32768>>>16)|0}g=n;N[b+16>>2]=i+32&-64;i=0-g|0;g=f>>31|1;N[b+20>>2]=((h?0-g|0:g)|0)<0?i:n;b=b+32|0;d=d-1|0;if(d){continue}break}}j=N[a+1444>>2];if(j){b=c>>31;k=(b^c)-b|0;l=k&65535;m=k>>>16|0;h=k>>>8|0;b=a+1448|0;d=j;while(1){f=N[b+8>>2];g=f>>31;g=(g^f)-g|0;r:{if(g+h>>>0<=8190){i=T(g,k)+32768>>>16|0;break r}i=g&65535;i=T(i,m)+T(k,g>>>16|0)+(T(i,l)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;o=0-g|0;f=g;g=(c|0)<0;N[b+28>>2]=(((g?o:f)|0)<0?n:i)+e;i=N[b+12>>2];f=i>>31;f=(f^i)-f|0;s:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break s}o=f&65535;n=T(o,m)+T(k,f>>>16|0)+(T(l,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;N[b+24>>2]=(((g?0-f|0:f)|0)<0?o:n)+e;i=N[b>>2];f=i>>31;f=(f^i)-f|0;t:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break t}o=f&65535;n=T(o,m)+T(k,f>>>16|0)+(T(l,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;o=(((g?0-f|0:f)|0)<0?o:n)+e|0;i=N[b+4>>2];f=i>>31;f=(f^i)-f|0;u:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break u}q=f&65535;n=T(q,m)+T(k,f>>>16|0)+(T(l,q)+32768>>>16)|0}f=n;N[b+16>>2]=o+32&-64;o=0-f|0;f=i>>31|1;N[b+20>>2]=((g?0-f|0:f)|0)<0?o:n;b=b+32|0;d=d-1|0;if(d){continue}break}}k=N[a+1960>>2];if(k){b=c>>31;l=(b^c)-b|0;m=l&65535;h=l>>>16|0;g=l>>>8|0;b=a+1964|0;d=k;while(1){i=N[b+8>>2];f=i>>31;f=(f^i)-f|0;v:{if(f+g>>>0<=8190){n=T(f,l)+32768>>>16|0;break v}o=f&65535;n=T(o,h)+T(f>>>16|0,l)+(T(m,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;q=0-f|0;i=f;f=(c|0)<0;N[b+28>>2]=(((f?q:i)|0)<0?o:n)+e;o=N[b+12>>2];i=o>>31;i=(i^o)-i|0;w:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break w}q=i&65535;n=T(q,h)+T(i>>>16|0,l)+(T(m,q)+32768>>>16)|0}i=n;q=0-i|0;i=o>>31|1;N[b+24>>2]=(((f?0-i|0:i)|0)<0?q:n)+e;o=N[b>>2];i=o>>31;i=(i^o)-i|0;x:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break x}q=i&65535;n=T(q,h)+T(i>>>16|0,l)+(T(m,q)+32768>>>16)|0}i=n;q=0-i|0;i=o>>31|1;q=(((f?0-i|0:i)|0)<0?q:n)+e|0;o=N[b+4>>2];i=o>>31;i=(i^o)-i|0;y:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break y}n=i&65535;n=T(n,h)+T(i>>>16|0,l)+(T(m,n)+32768>>>16)|0}i=n;N[b+16>>2]=q+32&-64;q=0-i|0;i=o>>31|1;N[b+20>>2]=((f?0-i|0:i)|0)<0?q:n;b=b+32|0;d=d-1|0;if(d){continue}break}}z:{if(!p|!j){break z}b=a+1448|0;d=c>>31;m=(d^c)-d|0;g=m&65535;f=m>>>16|0;i=m>>>8|0;l=a+416|0;while(1){o=N[l>>2];d=j;e=b;while(1){A:{q=o-N[e>>2]|0;h=q>>31;h=(h^q)-h|0;B:{if(h+i>>>0<=8190){h=T(h,m)+32768>>>16|0;break B}q=h&65535;h=T(q,f)+T(m,h>>>16|0)+(T(g,q)+32768>>>16)|0}if((((c|0)<0?0-h|0:h)|0)<=63){N[l+28>>2]=N[e+28>>2];N[l+24>>2]=N[e+24>>2];N[l+16>>2]=N[e+16>>2];N[l+20>>2]=N[e+20>>2];break A}e=e+32|0;d=d-1|0;if(d){continue}}break}p=p-1|0;if(!p){break z}l=l+32|0;continue}}if(!r|!k){break d}b=a+1964|0;d=c>>31;j=(d^c)-d|0;p=j&65535;m=j>>>16|0;h=j>>>8|0;l=a+932|0;while(1){g=N[l>>2];d=k;e=b;C:{while(1){f=g-N[e>>2]|0;a=f>>31;a=(a^f)-a|0;D:{if(a+h>>>0<=8190){a=T(a,j)+32768>>>16|0;break D}f=a&65535;a=T(f,m)+T(j,a>>>16|0)+(T(f,p)+32768>>>16)|0}if((((c|0)<0?0-a|0:a)|0)>=64){e=e+32|0;d=d-1|0;if(d){continue}break C}break}N[l+28>>2]=N[e+28>>2];N[l+24>>2]=N[e+24>>2];N[l+16>>2]=N[e+16>>2];N[l+20>>2]=N[e+20>>2]}r=r-1|0;if(!r){break d}l=l+32|0;continue}}}function Sx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=11;f=N[N[b+96>>2]+4>>2];a:{if(!f){break a}h=N[f+16>>2];if((h|0)<=0){break a}f=f+20|0;h=f+(h<<2)|0;while(1){i=N[N[f>>2]>>2];if(cb(N[i+8>>2],9195)){f=f+4|0;if(h>>>0>f>>>0){continue}break a}break}f=N[i+20>>2];if(!f){break a}h=N[a+20>>2];if(h){g=85;if(Qa[h|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;g=Qa[N[f+4>>2]](a,b,c,d,e)|0;if(g){break a}k=N[b+104>>2];g=2;a=N[b+148>>2];b:{if((a|0)<=65535){if((a|0)==-1519689116|(a|0)==-1519619212){break b}break a}if((a|0)==65536|(a|0)==1953658213){break b}if((a|0)!=131072){break a}}N[b+8>>2]=N[b+8>>2]|2048;g=0;if((c|0)<0){break a}g=Qa[N[f+8>>2]](k,b,c,d,e)|0;if(g){break a}f=La-128|0;La=f;c:{d:{if(!b){break d}a=N[b+20>>2];if(a){i=1;if(ub(a,27296)){break c}if(ub(a,27316)){break c}if(ub(a,27336)){break c}if(ub(a,27356)){break c}if(ub(a,27376)){break c}if(ub(a,27396)){break c}if(ub(a,27416)){break c}if(ub(a,27436)){break c}if(ub(a,27456)){break c}if(ub(a,27476)){break c}if(ub(a,27496)){break c}if(ub(a,27516)){break c}if(ub(a,27536)){break c}if(ub(a,27556)){break c}if(ub(a,27576)){break c}if(ub(a,27596)){break c}if(ub(a,27616)){break c}if(ub(a,27636)){break c}if(ub(a,27656)){break c}if(ub(a,27676)){break c}if(ub(a,27696)){break c}if(ub(a,27716)){break c}if(ub(a,27736)){break c}if(ub(a,27756)){break c}if(ub(a,27776)){break c}if(ub(a,27796)){break c}}G(f,0,116);e:{f:{d=P[b+152>>1];if(!d){break f}a=0;while(1){i=0;e=1;g=0;n=o<<4;h=N[n+N[b+156>>2]>>2];g:{if((h|0)!=1668707360){h:{if((h|0)!=1886545264){if((h|0)!=1718642541){break g}g=1;break h}g=2}e=a}h=0;while(1){a=n+N[b+156>>2]|0;d=T(i,24)+(g<<3)|0;if(N[a+12>>2]==N[d+27828>>2]){r=d+27824|0;i:{if(h){break i}d=N[b+516>>2];if(!d){h=0;break i}h=0;if(Qa[d|0](b,N[a>>2],N[b+104>>2],0)|0){break i}j=N[b+104>>2];a=N[(n+N[b+156>>2]|0)+12>>2];if(Bb(j,a)){break i}if(a>>>0>=4){d=N[j+32>>2];m=N[j+36>>2];while(1){j:{if(m>>>0<=d+3>>>0){l=0;break j}l=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);l=l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24);d=d+4|0}N[j+32>>2]=d;h=h+l|0;a=a-4|0;if(a>>>0>3){continue}break}}k:{if(!a){break k}d=N[j+32>>2];m=N[j+36>>2];l=3;if((a|0)!=1){s=a&1;t=a&2;p=0;while(1){l:{if(d>>>0>=m>>>0){a=d;d=0;break l}a=d+1|0;N[j+32>>2]=a;d=O[d|0]}q=l<<3;u=(d<>>0>=m>>>0){d=a;break m}d=a+1|0;N[j+32>>2]=d;h=O[a|0]}h=((h&255)<>>0>>0){N[j+32>>2]=d+1;a=O[d|0]}else{a=0}h=(a<<(l<<3))+h|0}if(N[j+20>>2]){a=N[j>>2];if(a){d=N[j+28>>2];Qa[N[d+8>>2]](d,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0}a=f+(i<<2)|0;d=N[a>>2];if(N[r>>2]==(h|0)){d=d+1|0;N[a>>2]=d}if((d|0)==3){break e}}i=i+1|0;if((i|0)!=29){continue}break}d=P[b+152>>1];a=e}o=o+1|0;if(o>>>0<(d&65535)>>>0){continue}break}if(!(a&255)){break f}i=1;if(!(N[f>>2]!=3&N[f+4>>2]!=3&N[f+8>>2]!=3&N[f+12>>2]!=3&N[f+16>>2]!=3&N[f+20>>2]!=3&N[f+24>>2]!=3&N[f+28>>2]!=3&N[f+32>>2]!=3&N[f+36>>2]!=3&N[f+40>>2]!=3&N[f+44>>2]!=3&N[f+48>>2]!=3&N[f+52>>2]!=3&N[f+56>>2]!=3&N[f+60>>2]!=3&N[f+64>>2]!=3&N[f+68>>2]!=3&N[f+72>>2]!=3&N[f+76>>2]!=3&N[f+80>>2]!=3&N[f+84>>2]!=3&N[f+88>>2]!=3&N[f+92>>2]!=3&N[f+96>>2]!=3&N[f+100>>2]!=3&N[f+104>>2]!=3&N[f+108>>2]!=3&N[f+112>>2]!=3)){break c}break d}i=0;while(1){a=f+(i<<2)|0;h=N[a>>2];if(i-16>>>0<=11){h=h+1|0;N[a>>2]=h}if((h|0)==3){break e}a=i|1;if((a|0)==29){break d}a=f+(a<<2)|0;h=N[a>>2];if(i-15>>>0<=11){h=h+1|0;N[a>>2]=h}if((h|0)==3){break e}i=i+2|0;continue}}i=1;break c}i=0}La=f+128|0;if(i){N[b+8>>2]=N[b+8>>2]|8192}a=0;f=La-16|0;La=f;h=N[k+28>>2];n:{if(Qa[N[b+516>>2]](b,1751412088,k,f+12|0)|0){break n}d=N[f+12>>2];if(d>>>0<8){break n}a=dc(k,d,b+768|0);if(a){break n}a=3;e=N[b+768>>2];d=O[e+2|0]<<8|O[e+3|0];o:{if(d>>>0>255){break o}g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i=g>>>0>4294901759?g&65535:g;if(i-65538>>>0<4294901762?d:0){break o}j=N[f+12>>2];p:{q:{if(!d){e=0;N[b+784>>2]=0;break q}g=Qa[N[h+4>>2]](h,d)|0;if(!g){break p}a=e+8|0;h=e+j|0;e=0;G(g,0,d);N[b+784>>2]=g;while(1){g=a+i|0;if(g>>>0>h>>>0){break q}L[N[b+784>>2]+e|0]=O[a|0];a=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}e=d}N[b+776>>2]=e;a=N[f+12>>2];N[b+780>>2]=i;N[b+772>>2]=a;a=0;break n}N[b+784>>2]=0;a=64}r:{if(!N[k+20>>2]){break r}d=N[b+768>>2];if(!d){break r}e=N[k+28>>2];Qa[N[e+8>>2]](e,d)}N[b+768>>2]=0;N[b+772>>2]=0}La=f+16|0;g=a;if(a){break a}s:{if(!(L[b+8|0]&1)){break s}t:{if(N[N[b+128>>2]+52>>2]){break t}i=0;g=La-16|0;La=g;e=Qa[N[b+516>>2]](b,1735162214,k,b+724|0)|0;u:{v:{if((e&255)==142){N[b+724>>2]=0;a=0;break v}if(e){break u}a=0;if(N[N[b+128>>2]+52>>2]){break v}a=N[k+8>>2]}N[b+728>>2]=a;e=144;if(Qa[N[b+516>>2]](b,1819239265,k,g+12|0)|0){break u}a=N[g+12>>2];w:{if(P[b+210>>1]){e=2;if(a>>>0>=262144){N[g+12>>2]=262143;a=262143}break w}e=1;if(a>>>0>=131072){N[g+12>>2]=131071;a=131071}}d=a;f=a>>>e|0;N[b+760>>2]=f;a=N[b+16>>2];x:{y:{if(a>>>0>>0){break y}j=a+1|0;if((j|0)==(f|0)){break y}a=j<>2];e=P[b+152>>1];z:{if(e){h=N[b+156>>2];o=h+(e<<4)|0;e=2147483647;while(1){m=N[h+8>>2]-l|0;n=(m|0)>0&(e|0)>(m|0);i=n?1:i;e=n?m:e;h=h+16|0;if(o>>>0>h>>>0){continue}break}if(i&255){break z}}e=N[k+4>>2]-l|0}if(a>>>0<=e>>>0){N[b+760>>2]=j;N[g+12>>2]=a;break x}a=f-1|0;N[b+16>>2]=a>>>0<=f>>>0?a:0}a=d}e=dc(k,a,b+764|0)}La=g+16|0;g=e;if(N[b+724>>2]){if(e){break a}if((e&255)!=142){break t}break a}if(g){break a}}g=gn(b,k);if((g&255)!=142?g:0){break a}a=La-16|0;La=a;A:{if(Qa[N[b+516>>2]](b,1718642541,k,a+12|0)|0){N[b+684>>2]=0;N[b+688>>2]=0;g=0;break A}d=N[a+12>>2];N[b+684>>2]=d;g=dc(k,d,b+688|0)}La=a+16|0;if(g){break a}a=La-16|0;La=a;B:{if(Qa[N[b+516>>2]](b,1886545264,k,a+12|0)|0){N[b+692>>2]=0;N[b+696>>2]=0;g=0;break B}d=N[a+12>>2];N[b+692>>2]=d;g=dc(k,d,b+696|0)}La=a+16|0;if(g){break a}if(!N[b+764>>2]|(N[N[b+128>>2]+52>>2]|!N[b+28>>2])){break s}a=0;d=0;e=La-16|0;La=e;g=N[b+760>>2];C:{if(!g){break C}D:{while(1){bg(b,d,e+12|0);a=d+1|0;if(N[e+12>>2]){break D}d=a;if((a|0)!=(g|0)){continue}break}a=0;break C}if((a|0)!=(g|0)){while(1){bg(b,a,e+12|0);if(N[e+12>>2]){a=0;break C}a=a+1|0;if((g|0)!=(a|0)){continue}break}}if(!d){a=1;break C}a=0;if(!b){break C}L[e+4|0]=0;if(!(O[b+9|0]&2)|N[b+16>>2]<=(d|0)){break C}E:{F:{g=N[b+128>>2];f=N[g+40>>2];switch(f+2|0){case 0:break C;case 2:break F;default:break E}}f=N[b+96>>2];h=N[N[f>>2]+32>>2];G:{if(!h){f=0;break G}f=Qa[h|0](f,9592)|0;g=N[b+128>>2]}N[g+40>>2]=f?f:-2}if(!f){break C}g=N[f>>2];if(!g){break C}f=d;d=e+4|0;if(Qa[g|0](b,f,d,8)|O[e+4|0]!=46){break C}a=!Mb(d,15265,8)}La=e+16|0;if(!a){break s}N[b+8>>2]=N[b+8>>2]&-2}if(!(!(N[b+8>>2]&256)|c>>>0<65536)){g=fn(b,c>>>16|0);if(g){break a}en(b)}N[b+536>>2]=141;N[b+532>>2]=142;N[b+528>>2]=143;N[b+520>>2]=144;N[b+524>>2]=145;g=0}return g|0}function dh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}e=N[b+12>>2];c=e-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}d=e-6|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}if(sd(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}f=N[b+4>>2];d=a+6|0;if(f>>>0>d>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;c:{if(!c){break c}d:{c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break d}e=g-4|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[c|0]|O[c+1|0]<<8;e:{if(!e){break e}if(Lb(c+((e<<8|e>>>8)&65535)|0,b)){break e}e=N[b+28>>2];if(e>>>0>31){break d}N[b+28>>2]=e+1;if(!O[b+24|0]){break d}L[c|0]=0;L[c+1|0]=0}e=c+2|0;if(e>>>0>2]){break d}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<2){break d}g=N[b+12>>2]-2|0;N[b+12>>2]=g;if((g|0)<=0){break d}e=O[e|0]|O[e+1|0]<<8;if(!e){break c}h=c+4|0;if(h>>>0>f>>>0){break d}k=f-h|0;e=(e<<8|e>>>8)&65535;f=e<<1;if(k>>>0>>0){break d}f=g-f|0;N[b+12>>2]=f;if((f|0)<=0){break d}l=e>>>0<=1?1:e;e=0;while(1){j=N[b+4>>2];f=(c+(e<<1)|0)+4|0;if(j>>>0>f>>>0){break d}g=N[b+8>>2];if(g>>>0>>0|g-f>>>0<2){break d}i=N[b+12>>2];h=i-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[f|0]|O[f+1|0]<<8;f:{if(!h){break f}h=c+((h<<8|h>>>8)&65535)|0;g:{if(h>>>0>>0|g>>>0>>0|g-h>>>0<2){break g}j=i-4|0;N[b+12>>2]=j;if((j|0)<=0){break g}i=O[h|0]|O[h+1|0]<<8;if(!i){break f}h=h+2|0;if(h>>>0>g>>>0){break g}k=g-h|0;g=((i<<8|i>>>8)&65535)<<1;if(k>>>0>>0){break g}g=j-g|0;N[b+12>>2]=g;if((g|0)>0){break f}}g=N[b+28>>2];if(g>>>0>31){break d}N[b+28>>2]=g+1;if(!O[b+24|0]){break d}L[f|0]=0;L[f+1|0]=0}e=e+1|0;if((l|0)!=(e|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}e=N[b+4>>2];h=a+8|0;if(e>>>0>h>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-h>>>0<2){break a}g=N[b+12>>2];d=g-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[h|0]|O[h+1|0]<<8;h:{if(!d){break h}i:{f=((d<<8|d>>>8)&65535)+a|0;if(f>>>0>>0|c>>>0>>0|c-f>>>0<2){break i}c=g-4|0;N[b+12>>2]=c;if((c|0)<=0){break i}c=O[f|0]|O[f+1|0]<<8;j:{if(!c){break j}if(Lb(f+((c<<8|c>>>8)&65535)|0,b)){break j}c=N[b+28>>2];if(c>>>0>31){break i}N[b+28>>2]=c+1;if(!O[b+24|0]){break i}L[f|0]=0;L[f+1|0]=0}c=f+2|0;if(c>>>0>2]){break i}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break i}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break i}c=O[c|0]|O[c+1|0]<<8;if(!c){break h}g=f+4|0;if(g>>>0>d>>>0){break i}k=d-g|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(k>>>0>>0){break i}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break i}p=c>>>0<=1?1:c;while(1){e=N[b+4>>2];j=(f+(n<<1)|0)+4|0;if(e>>>0>j>>>0){break i}c=N[b+8>>2];if(c>>>0>>0|c-j>>>0<2){break i}i=N[b+12>>2];d=i-2|0;N[b+12>>2]=d;if((d|0)<=0){break i}d=O[j|0]|O[j+1|0]<<8;k:{if(!d){break k}l:{m:{g=f+((d<<8|d>>>8)&65535)|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<2){break m}d=i-4|0;N[b+12>>2]=d;if((d|0)<=0){break m}e=O[g|0]|O[g+1|0]<<8;if(!e){break k}i=g+2|0;if(i>>>0>c>>>0){break m}k=c-i|0;c=(e<<8|e>>>8)&65535;e=c<<1;if(k>>>0>>0){break m}d=d-e|0;N[b+12>>2]=d;if((d|0)<=0){break m}q=c>>>0<=1?1:c;m=0;while(1){e=N[b+4>>2];d=(g+(m<<1)|0)+2|0;if(e>>>0>d>>>0){break m}i=N[b+8>>2];if(i>>>0>>0|i-d>>>0<2){break m}l=N[b+12>>2];c=l-2|0;N[b+12>>2]=c;if((c|0)<=0){break m}c=O[d|0]|O[d+1|0]<<8;n:{if(!c){break n}k=e;e=g+((c<<8|c>>>8)&65535)|0;o:{p:{q:{if(k>>>0>e>>>0|e>>>0>i>>>0){break q}c=i-e|0;if(c>>>0<2){break q}k=l-4|0;N[b+12>>2]=k;if((k|0)<=0){break q}r:{s:{t:{k=O[e|0]|O[e+1|0]<<8;switch(((k<<8|k>>>8)&65535)-1|0){case 1:break r;case 2:break s;case 0:break t;default:break n}}if(c>>>0<4){break q}c=l-8|0;N[b+12>>2]=c;if((c|0)<=0){break q}break n}if(c>>>0<6){break q}c=l-10|0;N[b+12>>2]=c;if((c|0)<=0){break q}c=e+4|0;if(i>>>0>>0|i-c>>>0<2){break q}i=l-12|0;N[b+12>>2]=i;if((i|0)<=0){break q}i=O[c|0]|O[c+1|0]<<8;if(!i){break n}if(Hd(e+((i<<8|i>>>8)&65535)|0,b)){break n}e=N[b+28>>2];if(e>>>0>31){break i}e=e+1|0;N[b+28>>2]=e;if(!O[b+24|0]){break p}break o}if(c>>>0<4){break q}c=l-8|0;N[b+12>>2]=c;if((c|0)>0){break n}}e=N[b+28>>2]}if(e>>>0>31){break i}e=e+1|0;N[b+28>>2]=e;c=d;if(!O[b+24|0]){break l}}L[c|0]=0;L[c+1|0]=0}m=m+1|0;if((q|0)!=(m|0)){continue}break}break k}e=N[b+28>>2]}if(e>>>0>31){break i}N[b+28>>2]=e+1;if(!O[b+24|0]){break i}L[j|0]=0;L[j+1|0]=0}n=n+1|0;if((p|0)!=(n|0)){continue}break}break h}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[h|0]=0;L[h+1|0]=0}c=a+10|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;u:{if(!d){break u}if(sd(((d<<8|d>>>8)&65535)+a|0,b)){break u}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){return 1}h=N[b+4>>2];g=a+12|0;c=0;v:{if(h>>>0>g>>>0){break v}f=N[b+8>>2];c=0;if(f>>>0>>0){break v}c=0;if(f-g>>>0<2){break v}j=N[b+12>>2];e=j-2|0;N[b+12>>2]=e;d=1;c=0;if((e|0)<=0){break v}c=O[g|0]|O[g+1|0]<<8;w:{if(!c){break w}x:{e=((c<<8|c>>>8)&65535)+a|0;if(e>>>0>>0|e>>>0>f>>>0|f-e>>>0<2){break x}c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break x}if((O[e|0]|O[e+1|0]<<8)!=256){break w}c=e+2|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break x}h=j-6|0;N[b+12>>2]=h;if((h|0)<=0){break x}c=O[c|0]|O[c+1|0]<<8;if(!c){break w}d=e+4|0;if(d>>>0>f>>>0){break x}k=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<2;if(k>>>0>>0){break x}d=h-d|0;N[b+12>>2]=d;if((d|0)<=0){break x}h=c>>>0<=1?1:c;f=0;while(1){c=(e+(f<<2)|0)+4|0;if(c>>>0>2]){break x}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break x}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break x}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);y:{if(!d){break y}if(d&128){break x}if(Lb(e+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break y}d=N[b+28>>2];if(d>>>0>31){break x}N[b+28>>2]=d+1;if(!O[b+24|0]){break x}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}d=1;f=f+1|0;if((h|0)!=(f|0)){continue}break}break w}d=N[b+28>>2];c=0;if(d>>>0>31){break v}N[b+28>>2]=d+1;d=0;if(!O[b+24|0]){break w}L[g|0]=0;L[g+1|0]=0;d=1}c=d}if(!c){break a}o=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65539){break a}o=Gf(a+14|0,b,a)}return o}function jk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=La-1376|0;La=h;a:{b:{c:{d:{m=O[a+2|0]|O[a+3|0]<<8;q=m<<8|m>>>8;o=q&65535;switch(o|0){case 0:break b;case 1:break d;default:break c}}c=N[b+96>>2];if(N[c+156>>2]){yc(c);c=N[b+88>>2];e=N[b+96>>2];N[h+80>>2]=N[e+64>>2];ib(e,c,23142,h+80|0)}a=O[a|0]|O[a+1|0]<<8;Ne(b,(a<<8|a>>>8)&65535);i=1;a=N[b+96>>2];if(!N[a+156>>2]){break b}b=N[b+88>>2];N[h+64>>2]=N[a+64>>2]-1;ib(a,b,23188,h- -64|0);break b}e:{if(o>>>0>64){break e}k=N[b+96>>2];l=N[k+64>>2];N[b+36>>2]=o-1;N[b+4>>2]=l;e=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[e+68>>2];c=N[e+64>>2]==(l|0)?O[(N[e+80>>2]+T(l,20)|0)+15|0]:c;p=b+4|0;N[b+32>>2]=a+4;N[b+28>>2]=0;N[b+24>>2]=246;L[b+23|0]=O[b+22|0]?c:0;e=N[k+80>>2]+T(l,20)|0;c=O[e+14|0];f=c&16;f:{g:{h:{i:{j:{k:{if(O[e+12|0]&4){if(!f){j=(c&224)>>>5|0;break j}e=c&15;j=(c&224)>>>5|0;break k}j=(c&224)>>>5|0;e=1;if(!f){break j}}N[h+1120>>2]=l;break i}N[h+1120>>2]=l;e=1;if(c>>>0<32){break i}r=c&15;if(!r){break i}f=0;n=1;while(1){if(!ic(p,h+96|0)){break f}g=N[p>>2];N[(h+1120|0)+(n<<2)>>2]=g;c=N[k+80>>2];d=O[(c+T(g,20)|0)+14|0];if((d>>>5|0)==(j|0)){d=(r|0)==((d&16?0:d&15)|0)}else{d=0}l:{if(d){break l}d=0;m:{switch(f|0){case 0:break m;case 1:break e;default:break l}}f=N[k+84>>2];g=f+14|0;d=N[k+72>>2];while(1){if(!d){break g}d=d-1|0;s=T(d,20);c=O[g+s|0];if((c>>>5|0)!=(j|0)){break g}if(!(c&15?c&16:1)){continue}break}if((Jk(p,f+s|0)|0)!=1){break g}g=N[p>>2];c=N[k+80>>2];f=2}d=1;c=T(g,20)+c|0;n:{if(!(O[c+12|0]&4)){break n}c=O[c+14|0];if(!(c&16)){break n}d=c&15}e=d+e|0;n=n+1|0;if((o|0)!=(n|0)){continue}break}break h}c=1;while(1){if(!ic(p,h+96|0)){break f}g=N[p>>2];N[(h+1120|0)+(c<<2)>>2]=g;r=N[k+80>>2]+T(g,20)|0;f=O[r+14|0];d=f&15;n=f&16;if(!(n|((f>>>5|0)==(j|0)|f>>>0<32))){if(d){break g}}e=(n?P[r+12>>1]&4?d:1:1)+e|0;c=c+1|0;if((o|0)!=(c|0)){continue}break}}f=g+1|0;d=N[b+96>>2];o:{if(!N[d+156>>2]){p=0;break o}i=yc(d);d=N[b+96>>2];p=N[d+64>>2];c=h+96|0;G(c,0,1024);if(m){l=i+l|0;N[h+48>>2]=l;N[h+1120>>2]=l;Me(c,1024,8356,h+48|0);if((q&65535)>>>0>=2){j=o>>>0<=1?1:o;n=h+1120|0;d=nb(c)+c|0;c=1;while(1){k=(h+1120|0)+(c<<2)|0;g=i+N[k>>2]|0;N[k>>2]=g;L[d|0]=44;N[h+32>>2]=g;d=d+1|0;Me(d,n-d|0,8356,h+32|0);d=nb(d)+d|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}}d=N[b+96>>2]}f=f+i|0;c=N[b+88>>2];N[h+16>>2]=h+96;ib(d,c,11458,h+16|0);d=N[b+96>>2]}a=O[a|0]|O[a+1|0]<<8;c=N[d+64>>2];if(f-c>>>0>=2){Ib(d,c,f)}c=1;i=N[d+80>>2];f=P[(i+T(l,20)|0)+12>>1];l=!(f&8);g=!(f&2);p:{if((q&65535)>>>0<=1){break p}while(1){if(O[(i+T(N[(h+1120|0)+(c<<2)>>2],20)|0)+12|0]&8){c=c+1|0;if((o|0)!=(c|0)){continue}break p}break}l=1;g=1}n=0;k=g&l;if(k){c=O[d+141|0];while(1){c=c+1&255;c=c>>>0<=1?1:c;if(!(c&7)){continue}break}L[d+141|0]=c;n=c<<5&224}f=(a<<8|a>>>8)&65535;a=i+T(N[d+64>>2],20)|0;g=O[a+14|0];i=O[a+12|0];q:{if(!k){break q}L[a+14|0]=e&15|n|16;a=N[d+80>>2]+T(N[d+64>>2],20)|0;c=P[a+16>>1];if((c&31)!=12){break q}M[a+16>>1]=c&224|7}N[b+116>>2]=N[b+116>>2]|1<<(f>>>4);N[b+120>>2]=N[b+120>>2]|1<>2]=N[b+124>>2]|1<<(f>>>9);c=N[b+96>>2];a=N[b+160>>2];if((a|0)!=-1){L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=a;c=N[b+96>>2]}a=N[c+80>>2]+T(N[c+64>>2],20)|0;r:{if(O[b+148|0]){c=Tc(N[b+104>>2],f)|48;break r}c=k?52:P[a+12>>1]&65423|48}M[a+12>>1]=c;s:{t:{c=N[b+96>>2];a=N[c+72>>2]+1|0;u:{if(!(!a|a>>>0>2])){if(!gb(c,a)){break u}}a=N[c+84>>2];v:{if((a|0)!=N[c+80>>2]){break v}e=N[c+72>>2];if(e+1>>>0<=N[c+64>>2]+1>>>0){break v}if(!O[c+62|0]){break s}j=N[c+88>>2];N[c+84>>2]=j;e=T(e,20);if(!e){break v}B(j,a,e)}e=N[c+68>>2];a=N[c+64>>2];if(e>>>0>>0){break t}w:{if(a>>>0>>0){e=N[c+72>>2];j=N[c+84>>2];a=N[c+80>>2]+T(a,20)|0;break w}j=N[c+84>>2];e=N[c+72>>2];a=e-1|0;a=j+T(a>>>0<=e>>>0?a:0,20)|0}e=T(e,20)+j|0;j=N[a+4>>2];N[e>>2]=N[a>>2];N[e+4>>2]=j;N[e+16>>2]=N[a+16>>2];j=N[a+12>>2];N[e+8>>2]=N[a+8>>2];N[e+12>>2]=j;N[e>>2]=f;N[c+64>>2]=N[c+64>>2]+1;N[c+72>>2]=N[c+72>>2]+1}i=i&4?g&16?g&15:1:1;e=0-i|0;x:{if((q&65535)>>>0<2){a=i;break x}c=N[d+64>>2];j=1;a=i;while(1){y:{q=(h+1120|0)+(j<<2)|0;g=N[q>>2];if(g>>>0<=c>>>0){break y}if(k){r=e+i|0;while(1){if(!O[d+60|0]){break y}e=N[d+80>>2]+T(c,20)|0;c=O[e+14|0];c=c&16?0:c&15;c=c?c:a;L[e+14|0]=r+(a>>>0>c>>>0?c:a)&15|n;z:{A:{if(O[d+62|0]){e=N[d+84>>2];f=N[d+80>>2];c=N[d+72>>2];if(!((e|0)==(f|0)&(c|0)==N[d+64>>2])){m=c+1|0;if(!(!m|m>>>0>2])){if(!gb(d,m)){break A}f=N[d+80>>2];e=N[d+84>>2];c=N[d+72>>2]}g=N[d+64>>2];B:{if((e|0)!=(f|0)){break B}if(c+1>>>0<=g+1>>>0){e=f;break B}if(!O[d+62|0]){break a}e=N[d+88>>2];N[d+84>>2]=e;m=T(c,20);if(!m){break B}B(e,f,m);c=N[d+72>>2];e=N[d+84>>2];f=N[d+80>>2];g=N[d+64>>2]}c=T(c,20)+e|0;e=T(g,20)+f|0;f=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=f;N[c+16>>2]=N[e+16>>2];f=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=f;g=N[q>>2];c=N[d+72>>2]}N[d+72>>2]=c+1}c=N[d+64>>2]+1|0;N[d+64>>2]=c;break z}c=N[d+64>>2]}if(c>>>0>>0){continue}break}break y}if(!O[d+60|0]){break y}a=1;if(!O[d+62|0]){N[d+64>>2]=g;c=g;break y}while(1){C:{D:{if(a&255){e=N[d+84>>2];f=N[d+80>>2];a=N[d+72>>2];if((e|0)!=(f|0)|(c|0)!=(a|0)){m=a+1|0;if(!(!m|m>>>0>2])){if(!gb(d,m)){break D}c=N[d+64>>2];f=N[d+80>>2];e=N[d+84>>2];a=N[d+72>>2]}E:{if((e|0)!=(f|0)){break E}if(a+1>>>0<=c+1>>>0){e=f;break E}if(!O[d+62|0]){break a}e=N[d+88>>2];N[d+84>>2]=e;g=T(a,20);if(!g){break E}B(e,f,g);a=N[d+72>>2];e=N[d+84>>2];f=N[d+80>>2];c=N[d+64>>2]}a=T(a,20)+e|0;c=T(c,20)+f|0;e=N[c+4>>2];N[a>>2]=N[c>>2];N[a+4>>2]=e;N[a+16>>2]=N[c+16>>2];e=N[c+12>>2];N[a+8>>2]=N[c+8>>2];N[a+12>>2]=e;g=N[q>>2];c=N[d+64>>2];a=N[d+72>>2]}else{a=c}N[d+72>>2]=a+1}c=c+1|0;N[d+64>>2]=c;break C}c=N[d+64>>2]}if(!O[d+60|0]|c>>>0>=g>>>0){break y}a=O[d+62|0];continue}}a=N[d+80>>2]+T(c,20)|0;e=P[a+12>>1];g=O[a+14|0];c=c+1|0;N[d+64>>2]=c;a=e&4?g&16?g&15:1:1;e=0-a|0;i=a+i|0;j=j+1|0;if((o|0)!=(j|0)){continue}break}}F:{if(!(g>>>0>31&l)){break F}c=N[d+64>>2];if(c>>>0>=Q[d+68>>2]){break F}f=e+i|0;while(1){i=N[d+80>>2]+T(c,20)|0;e=O[i+14|0];if(((e^g)&255)>>>0>31|e&16){break F}e=e&15;if(!e){break F}L[i+14|0]=f+(a>>>0>>0?a:e)&15|n;c=c+1|0;if(c>>>0>2]){continue}break}}i=1;a=N[b+96>>2];if(!N[a+156>>2]){break b}yc(a);a=N[b+88>>2];b=N[b+96>>2];N[h>>2]=p;ib(b,a,17426,h);break b}ba(13080,14165,312,10949);F()}break a}d=0;break e}d=N[h+96>>2]}a=N[b+96>>2];if(!(O[a+16|0]&64)){break b}wb(a,2,N[a+64>>2],d,1,0)}La=h+1376|0;return i}ba(8694,17855,209,11932);F()}function zi(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;g=La-320|0;La=g;r=S[d>>3];j=S[d+24>>3];n=S[d+8>>3];t=S[d+32>>3];l=r*j+n*t;a:{r=r*t-j*n;o=r<0?1:2;b:{c:{if(o&e){j=V(r);n=S[d+16>>3];v=j*n;t=S[d+40>>3];z=j*t;d:{s=n*l+t;if(!(sx)){break d}m=e;e:{n=(s*t+n*x)*.5;if(!(n>2]=o|N[a+56>>2];break f}k=N[b+4>>2];q=N[b>>2];p=o&(N[a+60>>2]^-1);n=S[a+88>>3]*S[a+24>>3];g:{if(V(n)<2147483648){m=~~n;break g}m=-2147483648}h=p&1;n=S[a+80>>3]*S[a+16>>3];h:{if(V(n)<2147483648){i=~~n;break h}i=-2147483648}if(h){N[g+148>>2]=k+m;N[g+144>>2]=i+q;u=N[a>>2];h=N[g+148>>2];N[g+136>>2]=N[g+144>>2];N[g+140>>2]=h;h=0;if(!Fb(u,g+136|0,1)){break b}}if(p>>>0<2){break f}N[g+148>>2]=k-m;N[g+144>>2]=q-i;m=N[a+4>>2];i=N[g+148>>2];N[g+128>>2]=N[g+144>>2];N[g+132>>2]=i;h=0;if(!Fb(m,g+128|0,1)){break b}}N[a+60>>2]=o|N[a+60>>2];i:{if(s<0|x<0){k=N[b+4>>2];j=S[a+24>>3]*0;j:{if(V(j)<2147483648){m=~~j;break j}m=-2147483648}q=o&1;j=S[a+16>>3]*0;k:{if(V(j)<2147483648){i=~~j;break k}i=-2147483648}p=N[b>>2];if(q){N[g+148>>2]=k+m;N[g+144>>2]=i+p;u=N[a>>2];h=N[g+148>>2];N[g+104>>2]=N[g+144>>2];N[g+108>>2]=h;h=0;if(!Fb(u,g+104|0,1)){break b}}if(!(r<0)){N[g+148>>2]=k-m;N[g+144>>2]=p-i;m=N[a+4>>2];i=N[g+148>>2];N[g+96>>2]=N[g+144>>2];N[g+100>>2]=i;h=0;if(!Fb(m,g+96|0,1)){break b}}k=N[b+20>>2];p=N[b+16>>2];j=S[a+24>>3]*0;l:{if(V(j)<2147483648){m=~~j;break l}m=-2147483648}j=S[a+16>>3]*0;m:{if(V(j)<2147483648){i=~~j;break m}i=-2147483648}if(q){N[g+148>>2]=k+m;N[g+144>>2]=i+p;q=N[a>>2];h=N[g+148>>2];N[g+88>>2]=N[g+144>>2];N[g+92>>2]=h;h=0;if(!Fb(q,g+88|0,1)){break b}}if(r<0){break i}N[g+148>>2]=k-m;N[g+144>>2]=p-i;m=N[a+4>>2];i=N[g+148>>2];N[g+80>>2]=N[g+144>>2];N[g+84>>2]=i;h=0;if(Fb(m,g+80|0,1)){break i}break b}j=s/j;n=j*S[d+8>>3]*S[a+24>>3];n:{if(V(n)<2147483648){m=~~n;break n}m=-2147483648}h=o&1;k=N[b+4>>2];j=j*S[d>>3]*S[a+16>>3];o:{if(V(j)<2147483648){i=~~j;break o}i=-2147483648}q=N[b>>2];if(h){N[g+148>>2]=k+m;N[g+144>>2]=i+q;p=N[a>>2];h=N[g+148>>2];N[g+120>>2]=N[g+144>>2];N[g+124>>2]=h;h=0;if(!Fb(p,g+120|0,1)){break b}}if(r<0){break i}N[g+148>>2]=k-m;N[g+144>>2]=q-i;m=N[a+4>>2];i=N[g+148>>2];N[g+112>>2]=N[g+144>>2];N[g+116>>2]=i;h=0;if(!Fb(m,g+112|0,1)){break b}}m=(o^-1)&e;if(m){break e}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;h=1;break b}i=e^o;break c}i=(l+v<1?l+z<1?o:0:0)^e}else{i=e}m=e}p:{if(!i){break p}j=l+3;n=l+1;if(!(j*j>3])){break p}j=S[d+16>>3];s=j+j;n=1/n;t=S[d+40>>3];v=S[a+152>>3];if(!(V(r*(s*n-t))>2];l=S[d+32>>3];r=S[d+8>>3];q=N[b>>2];j=S[d+24>>3];t=S[d>>3];A=i^-1;N[a+60>>2]=A&N[a+60>>2];s=S[a+88>>3]*S[a+24>>3];q:{if(V(s)<2147483648){e=~~s;break q}e=-2147483648}p=i&1;s=S[a+80>>3]*S[a+16>>3];r:{if(V(s)<2147483648){o=~~s;break r}o=-2147483648}if(p){N[g+148>>2]=e+k;N[g+144>>2]=o+q;u=N[a>>2];h=N[g+148>>2];N[g+72>>2]=N[g+144>>2];N[g+76>>2]=h;h=0;if(!Fb(u,g+72|0,2)){break b}}B=i&2;if(B){N[g+148>>2]=k-e;N[g+144>>2]=q-o;e=N[a+4>>2];i=N[g+148>>2];N[g+64>>2]=N[g+144>>2];N[g+68>>2]=i;h=0;if(!Fb(e,g- -64|0,2)){break b}}j=n*(t+j);q=N[b+12>>2];u=N[b+8>>2];l=n*(r+l)*S[a+24>>3];s:{if(V(l)<2147483648){i=~~l;break s}i=-2147483648}l=j*S[a+16>>3];t:{if(V(l)<2147483648){o=~~l;break t}o=-2147483648}if(p){k=N[a>>2];p=N[k+4>>2];if(!p){break a}h=0;y=o+u|0;e=y>>31;if((e^y)-e>>>0>268435455){break b}e=i+q|0;w=e>>31;if((e^w)-w>>>0>268435455){break b}h=N[k>>2];u:{if(p>>>0>h>>>0){p=N[k+16>>2];break u}h=0;N[147316]=0;w=p<<1;p=id(N[k+16>>2],w,8);N[k+16>>2]=p;if(N[147316]){break b}N[k+4>>2]=w;h=N[k>>2]}h=(h<<3)+p|0;N[h>>2]=y;N[h+4>>2]=e;N[k>>2]=N[k>>2]+1}if(B){k=N[a+4>>2];p=N[k+4>>2];if(!p){break a}h=0;o=u-o|0;e=o>>31;if((e^o)-e>>>0>268435455){break b}e=q-i|0;i=e>>31;if((e^i)-i>>>0>268435455){break b}h=N[k>>2];v:{if(p>>>0>h>>>0){i=N[k+16>>2];break v}h=0;N[147316]=0;q=p<<1;i=id(N[k+16>>2],q,8);N[k+16>>2]=i;if(N[147316]){break b}N[k+4>>2]=q;h=N[k>>2]}i=(h<<3)+i|0;N[i>>2]=o;N[i+4>>2]=e;N[k>>2]=N[k>>2]+1}m=m&A;if(m){break p}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;h=1;break b}i=N[b>>2];o=N[b+16>>2];e=N[b+8>>2];h=N[b+4>>2];k=N[b+12>>2];q=k+N[b+20>>2]|0;N[g+300>>2]=q>>1;h=h+k|0;k=(h+q|0)+2>>2;N[g+292>>2]=k;o=e+o|0;N[g+296>>2]=o>>1;e=e+i|0;N[g+280>>2]=e>>1;N[g+284>>2]=h>>1;q=(e+o|0)+2>>2;N[g+288>>2]=q;i=N[b+4>>2];e=N[b>>2];N[g+272>>2]=e;N[g+276>>2]=i;o=N[b+20>>2];N[g+304>>2]=N[b+16>>2];N[g+308>>2]=o;r=S[c>>3]*.5;S[g+224>>3]=r;l=S[c+8>>3]*.5;S[g+232>>3]=l;j=S[c+16>>3]*.5;S[g+256>>3]=j;n=S[c+24>>3]*.5;S[g+264>>3]=n;l=(l+n)*.5;S[g+248>>3]=l;r=(r+j)*.5;S[g+240>>3]=r;o=g+288|0;j=aa(r*r+l*l);if(j>3]){p=m^-1;N[a+60>>2]=p&N[a+60>>2];l=S[a+88>>3]*S[a+24>>3];w:{if(V(l)<2147483648){b=~~l;break w}b=-2147483648}c=i;i=m&1;l=S[a+80>>3]*S[a+16>>3];x:{if(V(l)<2147483648){f=~~l;break x}f=-2147483648}if(i){N[g+148>>2]=b+c;N[g+144>>2]=e+f;u=N[a>>2];h=N[g+148>>2];N[g+56>>2]=N[g+144>>2];N[g+60>>2]=h;h=0;if(!Fb(u,g+56|0,1)){break b}}u=m&2;if(u){N[g+148>>2]=c-b;N[g+144>>2]=e-f;b=N[a+4>>2];c=N[g+148>>2];N[g+48>>2]=N[g+144>>2];N[g+52>>2]=c;h=0;if(!Fb(b,g+48|0,1)){break b}}b=N[o+4>>2];N[g+40>>2]=N[o>>2];N[g+44>>2]=b;b=N[d+36>>2];N[g+32>>2]=N[d+32>>2];N[g+36>>2]=b;b=N[d+28>>2];N[g+24>>2]=N[d+24>>2];N[g+28>>2]=b;h=0;if(!we(a,g+40|0,g+24|0,m)){break b}N[a+60>>2]=p&N[a+60>>2];l=S[d+32>>3]*S[a+24>>3];y:{if(V(l)<2147483648){b=~~l;break y}b=-2147483648}l=S[d+24>>3]*S[a+16>>3];z:{if(V(l)<2147483648){c=~~l;break z}c=-2147483648}if(i){N[g+148>>2]=b+k;N[g+144>>2]=c+q;d=N[a>>2];e=N[g+148>>2];N[g+16>>2]=N[g+144>>2];N[g+20>>2]=e;if(!Fb(d,g+16|0,1)){break b}}if(u){N[g+148>>2]=k-b;N[g+144>>2]=q-c;a=N[a+4>>2];b=N[g+148>>2];N[g+8>>2]=N[g+144>>2];N[g+12>>2]=b;if(!Fb(a,g+8|0,1)){break b}}h=1;break b}b=N[d+4>>2];N[g+144>>2]=N[d>>2];N[g+148>>2]=b;b=N[d+12>>2];N[g+152>>2]=N[d+8>>2];N[g+156>>2]=b;n=S[d+16>>3];s=l;l=1/j;S[g+176>>3]=s*l;S[g+184>>3]=j;S[g+168>>3]=r*l;S[g+160>>3]=n*.5;b=N[d+36>>2];N[g+200>>2]=N[d+32>>2];N[g+204>>2]=b;b=N[d+28>>2];N[g+192>>2]=N[d+24>>2];N[g+196>>2]=b;S[g+208>>3]=S[d+40>>3]*.5;h=0;if(!zi(a,g+272|0,g+224|0,g+144|0,m,f)){break b}h=zi(a,o,g+240|0,g+168|0,m,0)}La=g+320|0;return h}ba(9920,18249,281,9160);F()}function wm(){var a=0,b=0;ja(25360,25384,25420,0,25436,2,440648,0,440648,0,9426,25439,3);a=eb(4);N[a>>2]=0;b=eb(4);N[b>>2]=0;ca(25360,440650,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=4;b=eb(4);N[b>>2]=4;ca(25360,440652,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=8;b=eb(4);N[b>>2]=8;ca(25360,8314,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=12;b=eb(4);N[b>>2]=12;ca(25360,440634,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=6;ca(25360,8490,25360,25442,7,a|0,0,0,0,0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25360,16119,584936,25442,8,a|0,584936,25446,9,b|0);ja(25464,25484,25516,0,25436,10,440648,0,440648,0,16003,25439,11);a=eb(4);N[a>>2]=12;b=eb(4);N[b>>2]=13;ca(25464,15914,440720,25442,14,a|0,440720,25446,15,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=17;ca(25464,15901,440720,25442,14,a|0,440720,25446,15,b|0);a=eb(4);N[a>>2]=8;b=eb(4);N[b>>2]=8;ca(25464,15426,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25464,11798,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=20;b=eb(4);N[b>>2]=20;ca(25464,11812,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=24;b=eb(4);N[b>>2]=24;ca(25464,11839,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=28;b=eb(4);N[b>>2]=28;ca(25464,11828,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=32;ca(25464,16733,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=36;ca(25464,17754,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=40;b=eb(4);N[b>>2]=40;ca(25464,15749,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=44;b=eb(4);N[b>>2]=44;ca(25464,8720,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=48;b=eb(4);N[b>>2]=48;ca(25464,18724,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=56;b=eb(4);N[b>>2]=56;ca(25464,18592,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=64;b=eb(4);N[b>>2]=64;ca(25464,15170,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=72;b=eb(4);N[b>>2]=72;ca(25464,16029,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=80;b=eb(4);N[b>>2]=80;ca(25464,15944,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=88;b=eb(4);N[b>>2]=88;ca(25464,15741,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=96;b=eb(4);N[b>>2]=96;ca(25464,8274,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=104;b=eb(4);N[b>>2]=104;ca(25464,9279,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=108;b=eb(4);N[b>>2]=108;ca(25464,19806,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=112;b=eb(4);N[b>>2]=112;ca(25464,19589,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=116;b=eb(4);N[b>>2]=116;ca(25464,19116,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=120;b=eb(4);N[b>>2]=120;ca(25464,15161,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=124;b=eb(4);N[b>>2]=124;ca(25464,12555,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=128;b=eb(4);N[b>>2]=128;ca(25464,11871,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=136;b=eb(4);N[b>>2]=136;ca(25464,7942,584912,25442,22,a|0,584912,25446,23,b|0);ja(25552,25572,25604,0,25436,24,440648,0,440648,0,9260,25439,25);a=eb(4);N[a>>2]=26;b=eb(4);N[b>>2]=27;ca(25552,8828,584920,25442,28,a|0,584928,25446,29,b|0);a=eb(4);N[a>>2]=30;b=eb(4);N[b>>2]=31;ca(25552,12789,584920,25442,28,a|0,584928,25446,29,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=33;ca(25552,15914,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=37;ca(25552,9655,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=38;b=eb(4);N[b>>2]=39;ca(25552,8635,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25552,12056,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=20;b=eb(4);N[b>>2]=20;ca(25552,11954,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=24;b=eb(4);N[b>>2]=24;ca(25552,16007,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=32;ca(25552,19806,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=36;ca(25552,19589,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=40;b=eb(4);N[b>>2]=40;ca(25552,19116,584912,25442,40,a|0,584912,25446,41,b|0);ja(25628,25648,25676,0,25436,42,440648,0,440648,0,20429,25439,43);Aa(25628,5,25696,25716,44,45);a=eb(8);N[a+4>>2]=0;N[a>>2]=46;da(25628,13322,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=48;da(25628,10652,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=49;da(25628,13148,3,25736,25446,50,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=51;da(25628,13760,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=53;da(25628,11425,4,25760,25776,54,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=55;da(25628,7890,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=56;da(25628,9110,5,25792,25812,57,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=58;da(25628,9843,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=59;da(25628,12849,6,25824,25848,60,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=61;da(25628,8981,2,25856,25442,62,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=63;da(25628,9249,2,25864,25442,64,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=65;da(25628,15992,2,25864,25442,64,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=66;da(25628,9237,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=67;da(25628,9005,2,25856,25442,62,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=68;da(25628,15966,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=69;da(25628,10080,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=70;da(25628,10284,4,25760,25776,54,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=71;da(25628,16622,4,25872,25888,72,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=73;da(25628,16125,4,25872,25888,72,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=74;da(25628,9228,3,25896,25908,75,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=76;da(25628,15935,3,25916,25908,77,a|0,0,0);a=eb(4);N[a>>2]=664;b=eb(4);N[b>>2]=664;ca(25628,16451,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=668;b=eb(4);N[b>>2]=668;ca(25628,16901,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=672;b=eb(4);N[b>>2]=672;ca(25628,8975,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=676;b=eb(4);N[b>>2]=676;ca(25628,15816,584912,25442,78,a|0,584912,25446,79,b|0)}function _d(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{if(Q[b+4>>2]>a>>>0){break f}e=N[b+8>>2];if(e>>>0<=a>>>0){break f}c=N[b+12>>2];g=c-1|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break f}g:{h:{switch(O[a|0]-1|0){case 0:d=0;if(e-a>>>0<6){break g}a=c-7|0;N[b+12>>2]=a;break e;case 1:d=0;if(e-a>>>0<5){break g}a=c-6|0;N[b+12>>2]=a;break e;case 2:if(e-a>>>0<9){break f}a=c-10|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break g}a=c-15|0;N[b+12>>2]=a;break e;case 3:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 4:if(e-a>>>0<20){break f}d=c-21|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-37|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 5:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 6:if(e-a>>>0<20){break f}d=c-21|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-37|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 7:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 8:if(e-a>>>0<16){break f}d=c-17|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-29|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 9:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 10:d=0;if(e-a>>>0<3){break g}a=c-4|0;N[b+12>>2]=a;break e;case 11:if(e-a>>>0<7){break f}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!tf(a+1|0,b,a)){break g}i=N[b+4>>2];e=a+4|0;f=0;i:{if(i>>>0>e>>>0){break i}g=N[b+8>>2];f=0;if(g>>>0>>0){break i}f=0;if(g-e>>>0<3){break i}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break i}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);j:{if(!d){break j}a=a+d|0;k:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<24){break k}a=h-27|0;N[b+12>>2]=a;if((a|0)<=0){break k}a=h-51|0;N[b+12>>2]=a;if((a|0)>0){break j}}a=N[b+28>>2];f=0;if(a>>>0>31){break i}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break j}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f;case 12:if(e-a>>>0<7){break f}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!tf(a+1|0,b,a)){break g}i=N[b+4>>2];e=a+4|0;f=0;l:{if(i>>>0>e>>>0){break l}g=N[b+8>>2];f=0;if(g>>>0>>0){break l}f=0;if(g-e>>>0<3){break l}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break l}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);m:{if(!d){break m}a=a+d|0;n:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<28){break n}a=h-31|0;N[b+12>>2]=a;if((a|0)<=0){break n}a=h-55|0;N[b+12>>2]=a;if((a|0)>0){break m}}a=N[b+28>>2];f=0;if(a>>>0>31){break l}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break m}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f;case 13:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 14:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 15:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 16:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 17:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 18:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Tp(a,b);case 19:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 20:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Sp(a,b);case 21:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 22:if(e-a>>>0<14){break f}c=c-15|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Rp(a,b);case 23:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 24:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Sp(a,b);case 25:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 26:if(e-a>>>0<14){break f}c=c-15|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Rp(a,b);case 27:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 28:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 29:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 30:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Tp(a,b);case 31:break h;default:break g}}if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!tf(a+1|0,b,a)){break g}d=tf(a+5|0,b,a)}return d}return 0}return(a|0)>0}i=N[b+4>>2];e=a+1|0;f=0;o:{if(i>>>0>e>>>0){break o}g=N[b+8>>2];f=0;if(g>>>0>>0){break o}f=0;if(g-e>>>0<3){break o}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break o}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);p:{if(!d){break p}a=a+d|0;q:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<3){break q}c=h-6|0;N[b+12>>2]=c;if((c|0)<=0){break q}d=a+1|0;if(d>>>0>g>>>0|g-d>>>0<2){break q}h=h-8|0;N[b+12>>2]=h;c=1;if((h|0)<=0){break q}d=O[d|0]|O[d+1|0]<<8;if(!d){break p}a=a+3|0;if(a>>>0>g>>>0){break q}f=g-a|0;a=T((d<<8|d>>>8)&65535,6);if(f>>>0>>0){break q}a=h-a|0;N[b+12>>2]=a;if((a|0)>0){break p}}a=N[b+28>>2];f=0;if(a>>>0>31){break o}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break p}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f}i=N[b+4>>2];e=a+1|0;f=0;r:{if(i>>>0>e>>>0){break r}g=N[b+8>>2];f=0;if(g>>>0>>0){break r}f=0;if(g-e>>>0<3){break r}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break r}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);s:{if(!d){break s}a=a+d|0;t:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<3){break t}c=h-6|0;N[b+12>>2]=c;if((c|0)<=0){break t}d=a+1|0;if(d>>>0>g>>>0|g-d>>>0<2){break t}h=h-8|0;N[b+12>>2]=h;c=1;if((h|0)<=0){break t}d=O[d|0]|O[d+1|0]<<8;if(!d){break s}a=a+3|0;if(a>>>0>g>>>0){break t}f=g-a|0;a=T((d<<8|d>>>8)&65535,10);if(f>>>0>>0){break t}a=h-a|0;N[b+12>>2]=a;if((a|0)>0){break s}}a=N[b+28>>2];f=0;if(a>>>0>31){break r}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break s}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f}return tf(a+1|0,b,a)}u:{v:{if(Q[b+4>>2]>a>>>0){break v}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break v}d=N[b+12>>2];e=d-8|0;N[b+12>>2]=e;if((e|0)<=0){break v}e=a+1|0;if(e>>>0>c>>>0|c-e>>>0<3){break v}d=d-11|0;N[b+12>>2]=d;c=1;if((d|0)<=0){break v}d=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);w:{if(!d){break w}e=N[b+20>>2];x:{if((e|0)>15){break x}e=e+1|0;N[b+20>>2]=e;if(!e){break x}d=_d(a+d|0,b);N[b+20>>2]=N[b+20>>2]-1;if(d){break w}}c=N[b+28>>2];if(c>>>0>31){break v}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break w}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}break u}c=0}return c}function Wk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{b:{c:{d:{e:{f:{g:{h:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break a}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=228;N[e+12>>2]=229;N[e+8>>2]=230;N[e+4>>2]=a;i:{j:{d=O[a+2|0]|O[a+3|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break j;case 1:break i;default:break b}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}d=a+4|0;k=c<<8|c>>>8;i=k&65535;m=i&1;k:{if((c|0)==256){a=0;c=d;break k}h=i&65534;a=0;c=d;while(1){l=a;a=O[c|0]|O[c+1|0]<<8;l=l|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=l|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;c=d;a=0;if((k&65535)>>>0>=4){f=i&65532;while(1){a=1<>2]=a;a=0;if((k&65535)>>>0<4){c=0;break c}f=i&65532;c=0;g=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break c}Ub(a,e+20|0);break b}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=231;N[e+12>>2]=232;N[e+8>>2]=233;N[e+4>>2]=a;l:{m:{d=O[a+2|0]|O[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break d}d=d+4|0;k=c<<8|c>>>8;n=k&65535;m=n&1;n:{if((c|0)==256){c=d;break n}h=n&65534;c=d;while(1){l=f;f=O[c|0]|O[c+1|0]<<8;l=l|1<<(f>>>12|f<<4);f=O[c+2|0]|O[c+3|0]<<8;f=l|1<<(f>>>12|f<<4);c=c+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(m){c=O[c|0]|O[c+1|0]<<8;f=1<<(c>>>12|c<<4)|f}N[e+20>>2]=f;i=n&3;c=d;f=0;if((k&65535)>>>0>=4){h=n&65532;m=0;while(1){f=1<>2]=f;f=0;if((k&65535)>>>0<4){c=0;break e}h=n&65532;c=0;j=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;j=j+4|0;if((h|0)!=(j|0)){continue}break}break e}Ub(d,e+20|0);break d}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=234;N[e+12>>2]=235;N[e+8>>2]=236;N[e+4>>2]=a;d=275552;c=O[a+2|0]|O[a+3|0]<<8;c=((((c<<8|c>>>8)&65535)<<1)+a|0)+4|0;if(O[c|0]|O[c+1|0]<<8){c=c+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}o:{p:{q:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break o}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break o}d=d+4|0;k=c<<8|c>>>8;i=k&65535;m=i&1;a=N[e+20>>2];r:{if((c|0)==256){c=d;break r}h=i&65534;c=d;while(1){l=a;a=O[c|0]|O[c+1|0]<<8;l=l|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=l|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;a=N[e+24>>2];s:{if((k&65535)>>>0<4){c=d;break s}f=i&65532;c=d;while(1){a=1<>2]=a;c=N[e+28>>2];if((k&65535)>>>0>=4){f=i&65532;a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;a=a+4|0;if((f|0)!=(a|0)){continue}break}}if(h){a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c;break o}Ub(d,e+20|0)}t:{u:{v:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break v}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break u}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break t}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a;break a}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}N[e+28>>2]=c}w:{x:{y:{z:{d=N[b+4>>2];c=N[d>>2];if((c|0)>=0){g=N[d+4>>2];f=g+1|0;if(f>>>0<=c>>>0){break z}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){j=$a(N[d+8>>2],T(c,28));if(j){break y}}N[d>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break w}j=N[d+8>>2];break x}N[d>>2]=c;N[d+8>>2]=j;g=N[d+4>>2];f=g+1|0}N[d+4>>2]=f;d=N[e+8>>2];c=T(g,28)+j|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=d;N[c+24>>2]=N[e+28>>2];d=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=d;d=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=d}d=O[a+8|0]|O[a+9|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=0;A:{B:{C:{f=O[c|0]|O[c+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break B;case 0:break C;default:break A}}d=1;break A}d=O[c+2|0]|O[c+3|0]<<8;d=d?32-W((d<<8|d>>>8)&65535)|0:0}a=O[a+10|0]|O[a+11|0]<<8;a=T((a<<8|a>>>8)&65535,d);d=a>>>0>3?a:0;if(d>>>0<=Q[b+12>>2]){break a}a=N[b+4>>2];if(N[a>>2]<0){break a}a=N[a+4>>2];N[b+12>>2]=d;N[b+8>>2]=a-1;break a}if(h){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c}D:{E:{F:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break F}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break E}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break D}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a}La=e+32|0}function Zs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=N[a+872>>2];a:{if(!d|!N[d+20>>2]){break a}f=N[d+36>>2];if(!f){break a}b:{if(O[b+4|0]){N[c>>2]=12;b=N[b>>2];L[c+8|0]=0;N[c+4>>2]=b;b=N[a+88>>2];q=N[b+20>>2];e=q+32>>6;l=N[b+16>>2];f=l+32>>6;g=N[a+128>>2];c:{if(!(L[g+24|0]&1)){b=0;break c}h=N[g>>2];b=h>>31;d=f>>31;d=(d^f)-d|0;j=d>>>8|0;b=(b^h)-b|0;d:{if(j+b>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}f=b&65535;b=T(f,d>>>16|0)+T(d,b>>>16|0)+(T(f,d&65535)+32768>>>16)|0}i=(l|0)<-32;k=h>>31|1;m=0-k|0;h=N[g+4>>2];n=h>>31|1;r=0-n|0;o=e;e=e>>31;f=(o^e)-e|0;p=f>>>8|0;e=h>>31;e=(e^h)-e|0;e:{if(p+e>>>0<=8190){e=T(e,f)+32768>>>16|0;break e}h=e&65535;e=T(h,f>>>16|0)+T(f,e>>>16|0)+(T(h,f&65535)+32768>>>16)|0}k=i?m:k;m=(q|0)<-32?r:n;i=N[g+8>>2];h=i>>31;h=(h^i)-h|0;f:{if(h+j>>>0<=8190){d=T(d,h)+32768>>>16|0;break f}j=h&65535;d=T(j,d>>>16|0)+T(d,h>>>16|0)+(T(j,d&65535)+32768>>>16)|0}h=(k|0)<0;j=0-b|0;k=0-e|0;m=(m|0)<0;i=i>>31|1;l=(((l|0)<-32?0-i|0:i)|0)<0;i=0-d|0;g=N[g+12>>2];n=g>>31|1;r=0-n|0;o=g;g=g>>31;g=(o^g)-g|0;g:{if(g+p>>>0<=8190){g=T(f,g)+32768>>>16|0;break g}p=g&65535;g=T(p,f>>>16|0)+T(f,g>>>16|0)+(T(p,f&65535)+32768>>>16)|0}f=h?j:b;b=m?k:e;h=l?i:d;e=(((q|0)<-32?r:n)|0)<0?0-g|0:g}N[c+28>>2]=e;N[c+24>>2]=h;N[c+16>>2]=b;N[c+12>>2]=f;b=N[a+128>>2];if(O[b+24|0]&2){N[c+20>>2]=N[b+16>>2]<<10;N[c+32>>2]=N[N[a+128>>2]+20>>2]<<10;break b}N[c+32>>2]=0;N[c+20>>2]=0;break b}a=N[b>>2];if(!a){break a}b=N[d+32>>2];if(b>>>0>a>>>0){break a}f=f+N[d+40>>2]|0;if(f>>>0<=a>>>0){break a}g=O[a|0];N[c>>2]=g;if(g>>>0>32){break a}h:{switch(g-1|0){case 0:f=N[d+24>>2];b=O[a+1|0];if(f>>>0>>0){break a}a=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(f>>>0>>0){break a}N[c+4>>2]=b;N[c+8>>2]=0;N[c+12>>2]=(N[d+28>>2]+(a<<2)|0)+4;break b;case 1:b=O[a+1|0]|O[a+2|0]<<8;M[c+4>>1]=b<<8|b>>>8;a=O[a+3|0]|O[a+4|0]<<8;M[c+6>>1]=a<<8|a>>>8;break b;case 10:N[c+4>>2]=O[a+2|0]|O[a+1|0]<<8;break b;default:break h}}h=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);if(!h){break a}o=b;b=a+h|0;if(o>>>0>b>>>0|b>>>0>=f>>>0){break a}i:{switch(g-4|0){case 0:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8;N[c+28>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+10|0]|O[a+11|0]<<8;N[c+32>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+12|0]|O[a+13|0]<<8;N[c+36>>2]=(b<<8|b>>>8)<<16>>16;a=O[a+14|0]|O[a+15|0]<<8;N[c+40>>2]=(a<<8|a>>>8)<<16>>16;break b;case 2:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8;M[c+28>>1]=b<<8|b>>>8;b=O[a+10|0]|O[a+11|0]<<8;N[c+32>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+12|0]|O[a+13|0]<<8;N[c+36>>2]=(b<<8|b>>>8)<<16>>16;a=O[a+14|0]|O[a+15|0]<<8;M[c+40>>1]=a<<8|a>>>8;break b;case 4:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+32>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 6:N[c+4>>2]=b;L[c+8|0]=0;N[c+12>>2]=O[a+5|0]|O[a+4|0]<<8;break b;case 8:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);N[c+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);N[c+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);N[c+32>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 10:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 12:case 14:case 16:case 18:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[c+12>>2]=f;e=a+8|0;j:{switch(g-16|0){case 0:case 2:b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);e=a+12|0;break;default:break j}}N[c+16>>2]=f;k:{l:{switch(g-18|0){case 0:case 4:a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[c+20>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break k;default:break l}}N[c+20>>2]=0;a=0}N[c>>2]=16;N[c+24>>2]=a;break b;case 20:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+20>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 24:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);N[c+24>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 28:break i;default:break a}}N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0];if(b>>>0>26){break a}N[c+12>>2]=b;b=O[a+7|0]|(O[a+6|0]<<8|O[a+5|0]<<16);if(!b){break a}a=a+b|0;if(a>>>0>2]|a>>>0>=N[d+36>>2]+N[d+40>>2]>>>0){break a}L[c+20|0]=0;N[c+16>>2]=a}e=1}return e|0}function uo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,B=0,C=0,D=0,E=0,H=0,I=0,J=0;h=La-880|0;La=h;a:{b:{c:{d:{e:{if(b<.5){N[a>>2]=0;N[a+4>>2]=4;N[h+24>>2]=0;N[h+28>>2]=0;N[h+16>>2]=0;N[h+20>>2]=0;d=b*.085*b*b;S[h+8>>3]=d;S[h>>3]=b*.5+d*-4;l=4;break e}p=1-Ud(aa(b*.11569+.20591047),a);k=+N[a>>2]*-2;A(+k);c=v(1)|0;v(0)|0;c=c>>>20&2047;f:{if(c-969>>>0>=63){g=k+1;d=g;if(c>>>0<969){break f}A(+k);e=v(1)|0;f=v(0)|0;g:{if(c>>>0<1033){break g}d=0;if(!f&(e|0)==-1048576){break f}d=g;if(c>>>0>=2047){break f}if((e|0)>0|(e|0)>=0){c=La-16|0;S[c+8>>3]=3105036184601418e216;d=S[c+8>>3]*3105036184601418e216;break f}if(e>>>0<3230714880){break g}c=La-16|0;S[c+8>>3]=12882297539194267e-247;d=S[c+8>>3]*12882297539194267e-247;break f}i=c;c=e<<1|f>>>31;c=!(f<<1)&(c|0)==-2129002496|c>>>0<2165964800?i:0}g=k;d=S[136];k=d+k;d=g-(k-d);g=d*d;o=g*g*(d*S[141]+S[140]);g=g*(d*S[139]+S[138]);d=d*S[137];A(+k);v(1)|0;e=v(0)|0;j=e<<4&2032;d=o+(g+(d+S[j+1136>>3]));j=j+1144|0;i=N[j>>2];l=N[j+4>>2];f=i;i=0;j=f+i|0;f=(e<<13)+l|0;f=i>>>0>j>>>0?f+1|0:f;if(!c){h:{if(!(e&-2147483648)){x(0,j|0);x(1,f+-1048576|0);g=+z();d=g*d+g;d=d+d;break h}x(0,j|0);x(1,f+1071644672|0);g=+z();k=g*d;d=k+g;if(d<1){c=La-16|0;N[c+8>>2]=0;N[c+12>>2]=1048576;S[c+8>>3]=S[c+8>>3]*22250738585072014e-324;o=d+1;d=o+(k+(g-d)+(d+(1-o)))+-1;d=d==0?0:d}d=d*22250738585072014e-324}break f}x(0,j|0);x(1,f|0);g=+z();d=g*d+g}g=p*(d*.8335+10.1525);i:{if(V(g)<2147483648){j=~~g;break i}j=-2147483648}l=(j|0)>=4?4:8-j|0;N[a+4>>2]=l;if((l|0)>=9){break d}G(h+784|0,0,88);s=((d*-.013558201058201057+.022569444444444444)*d+-.010416666666666666)*d+.0014054232804232803;g=s+0;q=((d*.08134920634920635+-.04513888888888889)*d+-.0763888888888889)*d+.04017857142857143;t=((d*.27116402116402116+.09027777777777778)*d+.20833333333333334)*d+.43022486772486773;p=t*0;r=((d*-.20337301587301587+-.022569444444444444)*d+-.017361111111111112)*d+.24330357142857142;o=p+r*0;S[h+784>>3]=g*s+(q*0+o);k=q+0;C=k*s;S[h+776>>3]=C+(g*q+o);o=r+0;u=o*s;S[h+768>>3]=u+(k*q+(p+r*g));g=t+0;S[h+760>>3]=g*s+(o*q+(s*t+r*k));k=g*q;g=s+r;S[h+752>>3]=u+(k+(q*t+r*g));S[h+744>>3]=C+(g*q+(r*t+r*(q+t)));u=(s+s)*s+((q+q)*q+(t*t+r*(r+r)));S[h+736>>3]=u;e=0;k=.5/(d*b);g=-k;A(+g);c=v(1)|0;v(0)|0;j:{k:{l:{c=c>>>20&2047;if(c-969>>>0<63){e=c;break l}b=g+1;if(c>>>0<969){break j}if(c>>>0<1033){break l}A(+g);e=v(1)|0;d=0;if(!(v(0)|0)&(e|0)==-1048576){break k}if(c>>>0>=2047){break j}if((e|0)<0){c=La-16|0;S[c+8>>3]=12882297539194267e-247;b=S[c+8>>3]*12882297539194267e-247;break j}c=La-16|0;S[c+8>>3]=3105036184601418e216;b=S[c+8>>3]*3105036184601418e216;break j}b=S[129];p=S[128]*g+b;b=p-b;b=b*S[131]+(b*S[130]+g);d=b*b;g=d*d*(b*S[135]+S[134]);d=d*(b*S[133]+S[132]);A(+p);v(1)|0;c=v(0)|0;i=c<<4&2032;b=g+(d+(S[i+1136>>3]+b));i=i+1144|0;m=N[i>>2];w=N[i+4>>2];f=m;m=0;i=f+m|0;f=(c<<13)+w|0;f=i>>>0>>0?f+1|0:f;if(!e){m:{if(!(c&-2147483648)){x(0,i|0);x(1,f-1058013184|0);d=+z();b=(d*b+d)*5486124068793689e288;break m}x(0,i|0);x(1,f+1071644672|0);d=+z();g=d*b;b=g+d;if(b<1){c=La-16|0;N[c+8>>2]=0;N[c+12>>2]=1048576;S[c+8>>3]=S[c+8>>3]*22250738585072014e-324;p=b+1;b=p+(g+(d-b)+(b+(1-p)))+-1;b=b==0?0:b}b=b*22250738585072014e-324}break j}x(0,i|0);x(1,f|0);d=+z();d=d*b+d}b=d}d=b;g=aa(k/3.141592653589793);b=d*g;S[h+648>>3]=b;S[h+640>>3]=g;if((l|0)<-1){break a}k=d*d;e=l+3|0;c=2;while(1){d=k*d;b=b*d;S[(h+640|0)+(c<<3)>>3]=b;f=(c|0)!=(e|0);c=c+1|0;if(f){continue}break}c=0;if((l|0)<0){break a}C=S[h+664>>3];d=S[h+648>>3];b=d;o=S[h+656>>3];k=o;while(1){p=b;b=g;g=d;d=o;e=(h+640|0)+(c<<3)|0;o=S[e+24>>3];S[e>>3]=(C+o)*s+((d+k)*q+(b*t+r*(g+p)));e=(c|0)==(l|0);c=c+1|0;C=k;k=p;if(!e){continue}break}e=0;if((l|0)<=0){break a}b=u*3;while(1){f=e;w=(h+128|0)+(e<<6)|0;B=e<<3;e=e+1|0;d=S[(h+736|0)+(e<<3)>>3];S[w+B>>3]=d*-4+(b+S[((f<<4)+h|0)+752>>3]);if((e|0)<(l|0)){d=u-d;E=f+2|0;c=e;while(1){m=h+736|0;i=c+1|0;g=d-S[m+(i<<3)>>3];g=g+g+(S[m+(c+E<<3)>>3]+S[m+(c-f<<3)>>3]);S[B+((h+128|0)+(c<<6)|0)>>3]=g;S[w+(c<<3)>>3]=g;c=i;if((l|0)!=(c|0)){continue}break}}if((e|0)!=(l|0)){continue}break}E=l&-4;w=l&3;H=l&-2;B=l&1;y=((j|0)<=4?4:j)+3|0;I=y-j|0;m=0;while(1){J=m<<3;f=(h+128|0)+(m<<6)|0;c=J+f|0;b=S[c>>3];N[c>>2]=0;N[c+4>>2]=1072693248;b=1/b;e=0;while(1){n:{if((e|0)==(m|0)){break n}i=(h+128|0)+(e<<6)|0;c=i+J|0;d=S[c>>3];N[c>>2]=0;N[c+4>>2]=0;d=b*d;c=0;if((j|0)!=(y|0)){while(1){n=c<<3;D=n+i|0;S[D>>3]=S[D>>3]-S[f+n>>3]*d;n=n|8;D=n+i|0;S[D>>3]=S[D>>3]-S[f+n>>3]*d;c=c+2|0;if((H|0)!=(c|0)){continue}break}}if(!B){break n}c=c<<3;i=c+i|0;S[i>>3]=S[i>>3]-S[c+f>>3]*d}e=e+1|0;if((l|0)!=(e|0)){continue}break}i=0;c=0;if(I>>>0>=3){while(1){e=c<<3;n=e+f|0;S[n>>3]=b*S[n>>3];n=f+(e|8)|0;S[n>>3]=b*S[n>>3];n=f+(e|16)|0;S[n>>3]=b*S[n>>3];e=f+(e|24)|0;S[e>>3]=b*S[e>>3];c=c+4|0;if((E|0)!=(c|0)){continue}break}}if(w){while(1){e=f+(c<<3)|0;S[e>>3]=b*S[e>>3];c=c+1|0;i=i+1|0;if((w|0)!=(i|0)){continue}break}}m=m+1|0;if((m|0)!=(l|0)){continue}break}c=0;b=S[h+640>>3];if((j|0)!=(y|0)){while(1){f=c<<3;e=f|8;i=f;f=h- -64|0;j=h+640|0;S[i+f>>3]=S[j+e>>3]+(u-S[e+(h+736|0)>>3]-b);f=e+f|0;c=c+2|0;e=c<<3;S[f>>3]=S[e+j>>3]+(u-S[e+(h+736|0)>>3]-b);if((c|0)!=(H|0)){continue}break}}if(B){e=c<<3;c=e+8|0;S[e+(h- -64|0)>>3]=S[c+(h+640|0)>>3]+(u-S[c+(h+736|0)>>3]-b)}e=l&-4;i=0;H=I>>>0<3;while(1){f=0;d=0;c=0;b=0;if(!H){while(1){j=(h+128|0)+(i<<6)|0;c=f<<3;m=c|24;b=S[j+m>>3];n=m;m=h- -64|0;y=c|16;g=S[y+j>>3]*S[m+y>>3];y=c|8;d=b*S[n+m>>3]+(g+(S[y+j>>3]*S[m+y>>3]+(S[c+j>>3]*S[c+m>>3]+d)));f=f+4|0;if((E|0)!=(f|0)){continue}break}c=e;b=d}f=0;if(w){while(1){j=c<<3;c=c+1|0;b=S[j+((h+128|0)+(i<<6)|0)>>3]*S[j+(h- -64|0)>>3]+b;d=b;f=f+1|0;if((w|0)!=(f|0)){continue}break}}S[(i<<3)+h>>3]=d<0?0:d;i=i+1|0;if((i|0)!=(l|0)){continue}break}c=0;if((l|0)==1){break b}}j=l&2147483646;e=a+8|0;while(1){i=e+(c<<1)|0;b=S[(c<<3)+h>>3]*65536+.5;o:{if(V(b)<2147483648){f=~~b;break o}f=-2147483648}M[i>>1]=f;f=c|1;i=e+(f<<1)|0;b=S[(f<<3)+h>>3]*65536+.5;p:{if(V(b)<2147483648){f=~~b;break p}f=-2147483648}M[i>>1]=f;c=c+2|0;if((j|0)!=(c|0)){continue}break}break c}ba(21524,18088,111,15214);F()}if(!B){break a}}e=(c<<1)+a|0;b=S[(c<<3)+h>>3]*65536+.5;q:{if(V(b)<2147483648){a=~~b;break q}a=-2147483648}M[e+8>>1]=a}La=h+880|0}function cu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=La-16|0;La=k;N[k+8>>2]=0;f=N[e+32>>2];h=N[f+100>>2];a:{b:{c:{if(bb(a,19233,7)){break c}d:{i=O[a+7|0];switch(i|0){case 0:case 9:case 10:case 13:case 32:break d;default:break c}}g=N[f+88>>2];j=(i?-8:-7)+b|0;l=j+1|0;b=g+l|0;if((b|g)<0){c=6;break b}c=N[f+84>>2];e:{f:{g:{if(!b){d=0;if(!c){break g}Qa[N[h+8>>2]](h,c);N[f+84>>2]=0;break e}m=(b|0)<=(g|0);h:{if(!g){d=Qa[N[h+4>>2]](h,b)|0;c=!d<<6;break h}b=Qa[N[h+12>>2]](h,g,b,c)|0;d=b?b:c;c=!b<<6}if(m|c|!d){break f}G(d+g|0,0,l)}N[f+84>>2]=d;break e}N[f+84>>2]=d;if(c){break b}}b=N[f+88>>2]+d|0;B(b,i?a+8|0:a+7|0,j);L[b+j|0]=10;N[f+88>>2]=l+N[f+88>>2];c=0;break a}i:{j:{k:{l:{m:{g=N[e>>2];if(!(g&32)){c=180;if(bb(a,19438,5)){break b}n:{switch(O[a+5|0]){case 0:case 9:case 10:case 13:case 32:break n;default:break b}}c=Kc(e+40|0,22537,a,b);if(c){break b}c=N[N[e+40>>2]+4>>2];if(!c){break m}a=L[c|0];b=a&255;if(!b|!(O[(b>>>3|0)+45040|0]>>>(a&7)&1)){break m}b=0;o:{p:{while(1){if(b>>>0>=429496728){c=f+48|0;a=Q[e+60>>2]/20|0;b=e+4|0;break p}b=O[a+45072|0]+T(b,10)|0;a=L[c+1|0];c=c+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}N[f+48>>2]=b;N[e+4>>2]=b;c=f+48|0;a=Q[e+60>>2]/20|0;if(b>>>0<=a>>>0){a=b;break o}b=e+4|0}N[c>>2]=a;N[b>>2]=a}if(!a){break l}c=6;if(a>>>0>1114111){break b}break k}q:{if(bb(a,19213,7)){break q}r:{switch(O[a+7|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}c=186;if(g&4032){break b}Yc(N[f+56>>2],N[f+52>>2],36,174);N[e>>2]=N[e>>2]&-2;N[d>>2]=175;c=0;break a}s:{if(bb(a,19733,7)){break s}t:{switch(O[a+7|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break s}}c=0;N[e+28>>2]=0;N[e>>2]=g&-4033;break a}d=g&64;if(!(N[N[e+36>>2]+4>>2]|(!d|N[e+28>>2]!=-1))){c=0;break a}u:{if(bb(a,19723,9)){break u}v:{switch(O[a+9|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break u}}c=181;if(g&4032){break b}c=N[e+24>>2];if(c){Qa[N[h+8>>2]](h,c)}N[e+24>>2]=0;d=e+40|0;c=Kc(d,22537,a,b);if(c){break b}cm(d);d=bm(d,k+12|0);if(!d){c=3;break b}a=e+24|0;c=N[k+12>>2];b=c+1|0;w:{if(c>>>0<=2147483646){c=Qa[N[h+4>>2]](h,b)|0;if(c){break w}break j}c=6;if(b){break i}c=0}N[e+24>>2]=c;B(c,d,b);N[e>>2]=N[e>>2]|64;c=0;break a}x:{y:{z:{if(bb(a,19971,8)){break z}A:{switch(O[a+8|0]){case 0:case 9:case 10:case 13:case 32:break A;default:break z}}c=181;if(!d){break b}c=Kc(e+40|0,22537,a,b);N[k+8>>2]=c;if(c){break b}c=N[e+40>>2];a=am(N[c+4>>2]);b=(a|0)>=0;a=b?a:-1;N[e+28>>2]=a;if(!(Q[e+48>>2]<3|b)){a=am(N[c+8>>2]);N[e+28>>2]=a}if(a-1114112>>>0<=4293853182){N[e+28>>2]=-1;break y}if((a|0)<0){break y}c=N[f+52>>2];B:{if((c|0)!=N[f+48>>2]){b=N[f+56>>2];break B}b=lb(h,36,c,c- -64|0,N[f+56>>2],k+8|0);N[f+56>>2]=b;c=N[k+8>>2];if(c){break b}N[f+48>>2]=N[f+48>>2]- -64;c=N[f+52>>2];a=N[e+28>>2]}N[f+52>>2]=c+1;d=N[e+24>>2];b=T(c,36)+b|0;N[b+4>>2]=a;N[b>>2]=d;break x}c=182;if(!(g&128)){break b}c=N[e+28>>2]==-1;d=N[f+(c?64:52)>>2]-1|0;i=N[f+(c?68:56)>>2];if(g&2048){b=N[e+8>>2];i=i+T(d,36)|0;if(b>>>0>=P[i+14>>1]){c=0;if((g|0)<0){break a}N[e>>2]=g|-2147483648;break a}c=b;b=N[i+28>>2];f=N[i+24>>2]+T(c,b)|0;c=0;d=b<<1;C:{if(!d){b=0;break C}D:{while(1){b=c;j=O[c+a|0];g=j<<24>>24;if(!(O[(j>>>3|0)+45216|0]>>>(g&7)&1)){break D}L[f|0]=O[g+45072|0]+(O[f|0]<<4);c=c+1|0;if(!(!(b&1)|d>>>0<=c>>>0)){L[f+1|0]=0;f=f+1|0}if((c|0)!=(d|0)){continue}break}b=d;break C}c=N[e>>2];if(c&1073741824){break C}N[e>>2]=c|1073741824}c=P[i+12>>1];if(c){L[f|0]=O[f|0]&O[(T(c,P[N[e+32>>2]+96>>1])&7)+45200|0]}E:{if((b|0)!=(d|0)){break E}a=O[a+d|0];if(!(O[(a>>>3|0)+45216|0]>>>(a&7)&1)){break E}a=N[e>>2];if(a&1073741824){break E}N[e>>2]=a|1073741824}N[e+8>>2]=N[e+8>>2]+1;c=N[k+8>>2];if(c){break b}c=0;break a}F:{if(bb(a,19942,6)){break F}G:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break G;default:break F}}c=Kc(e+40|0,22537,a,b);if(c){break b}n=i+T(d,36)|0,o=Xe(N[N[e+40>>2]+4>>2]),M[n+8>>1]=o;N[e>>2]=N[e>>2]|256;c=0;break a}H:{if(bb(a,19949,6)){break H}I:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break I;default:break H}}c=Kc(e+40|0,22537,a,b);if(c){break b}a=i+T(d,36)|0;b=Xe(N[N[e+40>>2]+4>>2]);M[a+10>>1]=b;c=N[e>>2];if(!(c&256)){n=a,o=jb(b&65535,72e3,T(N[f+20>>2],N[f+16>>2])),M[n+8>>1]=o}N[e>>2]=c|512;c=0;break a}c=3;J:{if(bb(a,18801,3)){break J}K:{switch(O[a+3|0]){case 0:case 9:case 10:case 13:case 32:break K;default:break J}}c=Kc(e+40|0,22537,a,b);if(c){break b}a=i+T(d,36)|0;c=N[e+40>>2];h=Tf(N[c+4>>2]);M[a+12>>1]=h;g=Tf(N[c+8>>2]);M[a+14>>1]=g;b=Ye(N[c+12>>2]);M[a+16>>1]=b;c=Ye(N[c+16>>2]);M[a+18>>1]=c;j=0-c|0;M[a+22>>1]=j;c=c+g|0;M[a+20>>1]=c;g=b+h|0;M[e+22>>1]=g;c=c<<16>>16;l=M[e+18>>1];M[e+18>>1]=(c|0)>(l|0)?c:l;c=M[e+20>>1];j=j<<16>>16;M[e+20>>1]=(c|0)>(j|0)?c:j;c=g<<16>>16;g=M[e+16>>1];M[e+16>>1]=(c|0)>(g|0)?c:g;c=M[e+12>>1];M[e+12>>1]=(b|0)<(c|0)?b:c;c=M[e+14>>1];M[e+14>>1]=(b|0)>(c|0)?b:c;c=N[e>>2];if(!(c&512)){M[a+10>>1]=h}L:{if(!N[N[e+36>>2]>>2]){break L}a=i+T(d,36)|0;d=P[a+8>>1];b=jb(P[a+10>>1],72e3,T(N[f+20>>2],N[f+16>>2]));if((d|0)==(b&65535)){break L}M[a+8>>1]=b;c=c|4096}N[e>>2]=c|1024;c=0;break a}if(bb(a,19744,6)){break b}M:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break b}}c=183;if(!(g&1024)){break b}a=i+T(d,36)|0;f=T(P[f+96>>1],P[a+12>>1]);b=f+7>>>3|0;N[a+28>>2]=b;c=184;if(f>>>0>524280){break b}b=T(b,P[a+14>>1]);if(b>>>0>65535){break b}M[a+32>>1]=b;c=0;f=0;N:{if((b|0)>0){f=Qa[N[h+4>>2]](h,b)|0;if(!f){break N}G(f,0,b);g=N[e>>2]}N[a+24>>2]=f;N[e>>2]=g|2048;N[e+8>>2]=0;break a}a=(i+T(d,36)|0)+24|0;break j}if(N[N[e+36>>2]+4>>2]){a=N[f+64>>2];O:{if((a|0)!=N[f+60>>2]){b=N[f+68>>2];break O}b=lb(h,36,a,a+4|0,N[f+68>>2],k+8|0);N[f+68>>2]=b;c=N[k+8>>2];if(c){break b}N[f+60>>2]=N[f+60>>2]+4;a=N[f+64>>2]}b=T(a,36)+b|0;N[b>>2]=N[e+24>>2];N[f+64>>2]=a+1;N[b+4>>2]=a;break x}a=N[e+24>>2];if(!a){break x}Qa[N[h+8>>2]](h,a)}c=0;N[e+24>>2]=0;N[e>>2]=N[e>>2]&1073741695|128;break a}N[f+48>>2]=0;N[e+4>>2]=0;c=f+48|0}a=64;N[c>>2]=64}b=T(a,36);a=Qa[N[h+4>>2]](h,b)|0;if(a){c=0;G(a,0,b);N[f+56>>2]=a;N[e>>2]=N[e>>2]|32;break a}a=f+56|0}c=64}N[a>>2]=0}if(!(O[e|0]&64)){break a}a=N[e+24>>2];if(a){Qa[N[h+8>>2]](h,a)}N[e+24>>2]=0}La=k+16|0;return c|0}function Vk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{b:{c:{d:{e:{f:{g:{h:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break a}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=237;N[e+12>>2]=238;N[e+8>>2]=239;N[e+4>>2]=a;i:{j:{d=O[a+2|0]|O[a+3|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break j;case 1:break i;default:break b}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}d=a+4|0;l=c<<8|c>>>8;i=l&65535;m=i&1;k:{if((c|0)==256){a=0;c=d;break k}h=i&65534;a=0;c=d;while(1){k=a;a=O[c|0]|O[c+1|0]<<8;k=k|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=k|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;c=d;a=0;if((l&65535)>>>0>=4){f=i&65532;while(1){a=1<>2]=a;a=0;if((l&65535)>>>0<4){c=0;break c}f=i&65532;c=0;g=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break c}Ub(a,e+20|0);break b}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=240;N[e+12>>2]=241;N[e+8>>2]=242;N[e+4>>2]=a;l:{m:{d=O[a+2|0]|O[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break d}d=d+4|0;l=c<<8|c>>>8;n=l&65535;m=n&1;n:{if((c|0)==256){c=d;break n}h=n&65534;c=d;while(1){k=f;f=O[c|0]|O[c+1|0]<<8;k=k|1<<(f>>>12|f<<4);f=O[c+2|0]|O[c+3|0]<<8;f=k|1<<(f>>>12|f<<4);c=c+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}k=e;if(m){c=O[c|0]|O[c+1|0]<<8;f=1<<(c>>>12|c<<4)|f}N[k+20>>2]=f;i=n&3;c=d;f=0;if((l&65535)>>>0>=4){h=n&65532;m=0;while(1){f=1<>2]=f;f=0;if((l&65535)>>>0<4){c=0;break e}h=n&65532;c=0;j=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;j=j+4|0;if((h|0)!=(j|0)){continue}break}break e}Ub(d,e+20|0);break d}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=243;N[e+12>>2]=244;N[e+8>>2]=245;N[e+4>>2]=a;o:{p:{q:{d=O[a+6|0]|O[a+7|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break o}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break o}d=a+4|0;l=c<<8|c>>>8;i=l&65535;m=i&1;a=N[e+20>>2];r:{if((c|0)==256){c=d;break r}h=i&65534;c=d;while(1){k=a;a=O[c|0]|O[c+1|0]<<8;k=k|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=k|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;a=N[e+24>>2];s:{if((l&65535)>>>0<4){c=d;break s}f=i&65532;c=d;while(1){a=1<>2]=a;c=N[e+28>>2];if((l&65535)>>>0>=4){f=i&65532;a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;a=a+4|0;if((f|0)!=(a|0)){continue}break}}if(h){a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c;break o}Ub(a,e+20|0)}t:{u:{v:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break v}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break u}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break t}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a;break a}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}N[e+28>>2]=c}w:{x:{y:{z:{d=N[b+4>>2];c=N[d>>2];if((c|0)>=0){g=N[d+4>>2];f=g+1|0;if(f>>>0<=c>>>0){break z}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){j=$a(N[d+8>>2],T(c,28));if(j){break y}}N[d>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break w}j=N[d+8>>2];break x}N[d>>2]=c;N[d+8>>2]=j;g=N[d+4>>2];f=g+1|0}N[d+4>>2]=f;d=N[e+8>>2];c=T(g,28)+j|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=d;N[c+24>>2]=N[e+28>>2];d=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=d;d=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=d}d=O[a+4|0]|O[a+5|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=0;A:{B:{C:{f=O[c|0]|O[c+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break B;case 0:break C;default:break A}}d=1;break A}d=O[c+2|0]|O[c+3|0]<<8;d=d?32-W((d<<8|d>>>8)&65535)|0:0}a=O[a+6|0]|O[a+7|0]<<8;a=T((a<<8|a>>>8)&65535,d);d=a>>>0>3?a:0;if(d>>>0<=Q[b+12>>2]){break a}a=N[b+4>>2];if(N[a>>2]<0){break a}a=N[a+4>>2];N[b+12>>2]=d;N[b+8>>2]=a-1;break a}if(h){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c}D:{E:{F:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break F}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break E}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break D}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a}La=e+32|0}function Lp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=U(0),j=0,k=U(0),l=U(0),m=U(0),n=0,o=0,p=0,q=0;c=a;if(!c){c=588540}a:{d=db(1,120);b:{if(!d){d=588752;break b}N[d>>2]=1;N[d+4>>2]=1;if(N[c+4>>2]){N[c+4>>2]=0}N[d+20>>2]=588752;b=N[c>>2];if(b){if((b|0)<=0){break a}N[c>>2]=b+1}N[d+96>>2]=588448;N[d+24>>2]=c;N[d+108>>2]=d;b=N[c+28>>2];if(!b){j=c;c=$d(c+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;b=c-16>>>0>=16369?1e3:c;N[j+28>>2]=b}N[d+28>>2]=b;N[d+32>>2]=b;N[d+64>>2]=65536;N[d+68>>2]=0;N[d+44>>2]=1065353216;N[d+48>>2]=1065353216;N[d+56>>2]=65536;N[d+60>>2]=0}e=db(1,12);c:{if(!e){break c}N[e>>2]=N[d+24>>2]+48;b=N[147452];d:{if(b){break d}while(1){c=db(1,92);e:{if(!c){c=588448;break e}N[c>>2]=1;N[c+4>>2]=1;B(c+20|0,588468,72)}f:{if(!N[c+4>>2]){break f}b=N[c+16>>2];g:{if(!b){break g}f=N[b+8>>2];if(!f){break g}b=N[c+12>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[f|0](b)}N[c+28>>2]=294;b=N[c+12>>2];if(b){N[b+8>>2]=0}b=N[c+16>>2];if(b){N[b+8>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];h:{if(!b){break h}f=N[b+12>>2];if(!f){break h}b=N[c+12>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[f|0](b)}N[c+32>>2]=295;b=N[c+12>>2];if(b){N[b+12>>2]=0}b=N[c+16>>2];if(b){N[b+12>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];i:{if(!b){break i}f=N[b+16>>2];if(!f){break i}b=N[c+12>>2];if(b){b=N[b+16>>2]}else{b=0}Qa[f|0](b)}N[c+36>>2]=296;b=N[c+12>>2];if(b){N[b+16>>2]=0}b=N[c+16>>2];if(b){N[b+16>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];j:{if(!b){break j}f=N[b>>2];if(!f){break j}b=N[c+12>>2];if(b){b=N[b>>2]}else{b=0}Qa[f|0](b)}N[c+20>>2]=297;b=N[c+12>>2];if(b){N[b>>2]=0}b=N[c+16>>2];if(b){N[b>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];k:{if(!b){break k}f=N[b+28>>2];if(!f){break k}b=N[c+12>>2];if(b){b=N[b+28>>2]}else{b=0}Qa[f|0](b)}N[c+48>>2]=298;b=N[c+12>>2];if(b){N[b+28>>2]=0}b=N[c+16>>2];if(b){N[b+28>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];l:{if(!b){break l}f=N[b+4>>2];if(!f){break l}b=N[c+12>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[f|0](b)}N[c+24>>2]=299;b=N[c+12>>2];if(b){N[b+4>>2]=0}b=N[c+16>>2];if(b){N[b+4>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];m:{if(!b){break m}f=N[b+32>>2];if(!f){break m}b=N[c+12>>2];if(b){b=N[b+32>>2]}else{b=0}Qa[f|0](b)}N[c+52>>2]=300;b=N[c+12>>2];if(b){N[b+32>>2]=0}b=N[c+16>>2];if(b){N[b+32>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];n:{if(!b){break n}f=N[b+40>>2];if(!f){break n}b=N[c+12>>2];if(b){b=N[b+40>>2]}else{b=0}Qa[f|0](b)}N[c+60>>2]=301;b=N[c+12>>2];if(b){N[b+40>>2]=0}b=N[c+16>>2];if(b){N[b+40>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];o:{if(!b){break o}f=N[b+68>>2];if(!f){break o}b=N[c+12>>2];if(b){b=N[b+68>>2]}else{b=0}Qa[f|0](b)}N[c+88>>2]=302;b=N[c+12>>2];if(b){N[b+68>>2]=0}b=N[c+16>>2];if(b){N[b+68>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];p:{if(!b){break p}f=N[b+52>>2];if(!f){break p}b=N[c+12>>2];if(b){b=N[b+52>>2]}else{b=0}Qa[f|0](b)}N[c+72>>2]=303;b=N[c+12>>2];if(b){N[b+52>>2]=0}b=N[c+16>>2];if(b){N[b+52>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];q:{if(!b){break q}f=N[b+60>>2];if(!f){break q}b=N[c+12>>2];if(b){b=N[b+60>>2]}else{b=0}Qa[f|0](b)}N[c+80>>2]=304;b=N[c+12>>2];if(b){N[b+60>>2]=0}b=N[c+16>>2];if(b){N[b+60>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];r:{if(!b){break r}f=N[b+64>>2];if(!f){break r}b=N[c+12>>2];if(b){b=N[b+64>>2]}else{b=0}Qa[f|0](b)}N[c+84>>2]=305;b=N[c+12>>2];if(b){N[b+64>>2]=0}b=N[c+16>>2];if(b){N[b+64>>2]=0}if(!N[c+4>>2]){break f}N[c+4>>2]=0}b=N[147452];s:{t:{if(c){if(b){break s}break t}if(b){break d}c=588448}b=c;N[147452]=b;break d}if((c|0)==588448){break d}nc(c);b=N[147452];if(!b){continue}break}}if(!N[d+4>>2]){c=N[e+8>>2];if(c){_a(c)}_a(e);break c}N[d+12>>2]=N[d+12>>2]+1;c=N[d+104>>2];if(c){Qa[c|0](N[d+100>>2])}c=N[b>>2];if(c){if((c|0)<=0){break a}N[b>>2]=c+1}nc(N[d+96>>2]);N[d+104>>2]=312;N[d+100>>2]=e;N[d+96>>2]=b}u:{if(!a){break u}c=N[a+24>>2];if(!N[d+4>>2]|c>>>0<65536){break u}a=N[d+12>>2]+1|0;N[d+16>>2]=a;N[d+12>>2]=a;b=0;v:{w:{g=(c>>>16|0)-1|0;a=sf(N[d+24>>2]+120|0);e=O[a+12|0]|O[a+13|0]<<8;if(g>>>0>=((e<<8|e>>>8)&65535)>>>0){break w}a=O[a+8|0]|O[a+9|0]<<8;if(!a){break w}a=(a<<8|a>>>8)&65535;f=db(a,4);if(!f){break u}break v}a=0;f=0}e=sf(N[d+24>>2]+120|0);c=O[e+12|0]|O[e+13|0]<<8;x:{if(g>>>0>=((c<<8|c>>>8)&65535)>>>0){break x}c=O[e+4|0]|O[e+5|0]<<8;if(c){j=e+((c<<8|c>>>8)&65535)|0}else{j=275552}if(!a){break x}c=O[e+8|0]|O[e+9|0]<<8;h=(c<<8|c>>>8)&65535;c=a>>>0>h>>>0?h:a;if(!c){break x}a=O[e+14|0]|O[e+15|0]<<8;e=((T(h,20)+j|0)+T(g,(a<<8|a>>>8)&65535)|0)+4|0;a=0;y:{if((c|0)!=1){j=c&1;h=c&65534;while(1){g=a<<2;b=g+e|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);R[f+g>>2]=U(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))*U(152587890625e-16);g=g|4;b=g+e|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);R[f+g>>2]=U(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))*U(152587890625e-16);a=a+2|0;if((h|0)!=(a|0)){continue}break}if(!j){break y}}b=a<<2;a=b+e|0;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);R[b+f>>2]=U(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))*U(152587890625e-16)}b=c}z:{if(!N[d+4>>2]){break z}a=N[d+12>>2]+1|0;N[d+16>>2]=a;N[d+12>>2]=a;A:{B:{if(b){a=db(b,4);g=db(b,4);if(g?a:0){break B}_a(a);_a(g);break z}c=N[d+24>>2];sf(c+120|0);a=0;Kp(Hg(c+124|0),0,0);g=0;break A}B(g,f,b<<2);n=N[d+24>>2];c=sf(n+120|0);e=O[c+4|0]|O[c+5|0]<<8;p=e?((e<<8|e>>>8)&65535)+c|0:275552;c=O[c+8|0]|O[c+9|0]<<8;q=(c<<8|c>>>8)&65535;c=0;while(1){e=c>>>0>=q>>>0?275552:T(c,20)+p|0;h=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);i=U(U(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))*U(152587890625e-16));o=c<<2;k=R[o+f>>2];h=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);l=U(U(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))*U(152587890625e-16));l=i<=l?i:l;m=k>=l?k:l;e=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);k=U(U(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))*U(152587890625e-16));k=i>=k?i:k;m=k>=m?m:k;j=0;C:{if(i==m){break C}i=U(Z(U(U(U(U(m-i)/(i>m?U(i-l):U(k-i)))*U(16384))+U(.5))));if(U(V(i))>2]=j;c=c+1|0;if((c|0)!=(b|0)){continue}break}Kp(Hg(n+124|0),a,b)}_a(N[d+88>>2]);_a(N[d+92>>2]);N[d+92>>2]=g;N[d+88>>2]=a;N[d+84>>2]=b;Fe(d)}_a(f)}return d}ba(23506,14099,260,16403);F()}function $f(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;o=La-32|0;La=o;L[a+733|0]=0;r=N[a+100>>2];k=N[a+736>>2];a:{if(!k){e=qe(a,0);if(e){break a}k=N[a+736>>2]}b:{m=N[k+12>>2];h=N[m>>2];b=b>>>0>h>>>0?h:b;if(!b){break b}while(1){if(N[(g<<2)+c>>2]-65537>>>0>=4294836223){g=g+1|0;if((g|0)!=(b|0)){continue}break b}break}e=6;break a}c:{d:{e:{f:{g:{h:{if(O[a+732|0]|N[k+72>>2]){break h}g=N[a+104>>2];i=N[g+28>>2];e=Qa[N[a+516>>2]](a,1735811442,g,o+24|0)|0;if(e){break a}p=N[g+8>>2];e=rb(g,27168,o+4|0);if(e){break a}e=8;if(N[o+4>>2]!=65536){break a}h=P[o+8>>1];if((h|0)!=P[N[k+12>>2]>>1]){break a}s=P[o+10>>1];t=T(s,h);f=N[o+24>>2];if(t>>>0>f>>>1>>>0){break a}q=P[o+16>>1];l=q+1|0;n=M[o+18>>1]&1;j=l<<(n?2:1);if(j>>>0>f>>>0){break a}N[k+76>>2]=f;f=N[o+20>>2];e=Bb(g,j);N[o+28>>2]=e;if(e){break a}j=0;w=k,x=lb(i,4,0,l,0,o+28|0),N[w+72>>2]=x;e=N[o+28>>2];if(e){break g}u=f+p|0;l=p+N[o+24>>2]|0;i:{if(!n){n=0;while(1){e=0;f=N[g+32>>2];if(Q[g+36>>2]>f+1>>>0){e=O[f+1|0]|O[f|0]<<8;f=f+2|0}N[g+32>>2]=f;f=u+(e<<1)|0;j=f>>>0>>0?j:f;N[N[k+72>>2]+(n<<2)>>2]=j>>>0>l>>>0?l:j;f=(n|0)!=(q|0);n=n+1|0;if(f){continue}break}break i}n=0;while(1){e=0;f=N[g+32>>2];if(Q[g+36>>2]>f+3>>>0){e=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);f=f+4|0}N[g+32>>2]=f;f=e+u|0;n=f>>>0>>0?n:f;N[N[k+72>>2]+(j<<2)>>2]=l>>>0>>0?l:n;f=(j|0)==(q|0);j=j+1|0;if(!f){continue}break}}N[k+68>>2]=q;if(N[g+20>>2]){f=N[g>>2];if(f){e=N[g+28>>2];Qa[N[e+8>>2]](e,f)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;if(!s){break h}f=p+N[o+12>>2]|0;j:{e=N[g+20>>2];k:{if(e){if(Qa[e|0](g,f,0,0)|0){break k}break j}if(f>>>0<=Q[g+4>>2]){break j}}e=85;N[o+28>>2]=85;break f}N[g+8>>2]=f;e=Bb(g,t<<1);N[o+28>>2]=e;if(e){break f}j=0;n=lb(i,4,0,t,0,o+28|0);N[k+64>>2]=n;e=N[o+28>>2];if(e){break g}f=h>>>0<=1?1:h;t=f&65534;u=f&1;v=h>>>0<2;i=h;while(1){f=0;l:{if(!(i&65535)){break l}p=T(h,j);e=N[g+32>>2];q=N[g+36>>2];l=0;f=0;if(!v){while(1){m:{if(q>>>0<=e+1>>>0){i=0;break m}i=O[e|0]|O[e+1|0]<<8;i=i<<8|i>>>8;e=e+2|0}N[g+32>>2]=e;N[n+(l+p<<2)>>2]=i<<16>>16<<2;i=0;if(q>>>0>e+1>>>0){i=O[e|0]|O[e+1|0]<<8;i=i<<8|i>>>8;e=e+2|0}N[g+32>>2]=e;N[n+(p+(l|1)<<2)>>2]=i<<16>>16<<2;l=l+2|0;f=f+2|0;if((t|0)!=(f|0)){continue}break}}f=h;if(!u){break l}i=0;if(q>>>0>e+1>>>0){f=O[e|0]|O[e+1|0]<<8;i=f<<8|f>>>8;e=e+2|0}N[g+32>>2]=e;N[n+(l+p<<2)>>2]=i<<16>>16<<2;f=h}i=f;j=j+1|0;if(s>>>0>j>>>0){continue}break}N[k+60>>2]=s;if(N[g+20>>2]){h=N[g>>2];if(h){f=N[g+28>>2];Qa[N[f+8>>2]](f,h)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0}s=N[k+4>>2];if(s){break d}e=0;g=N[m>>2];if((g|0)>=0){break e}e=6;break c}if(N[g+20>>2]){a=N[g>>2];if(a){b=N[g+28>>2];Qa[N[b+8>>2]](b,a)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0}a=N[k+72>>2];if(a){Qa[N[i+8>>2]](i,a)}N[k+68>>2]=0;N[k+72>>2]=0;break a}n:{if(g){e=10;if((g|0)>536870911){break c}h=g<<2;e=Qa[N[r+4>>2]](r,h)|0;if(!e|(g|0)<=0){break n}G(e,0,h)}N[k+4>>2]=e;break d}N[k+4>>2]=e;if(e){break d}e=!e<<6;break a}o:{p:{q:{r:{s:{t:{i=N[k+8>>2];if(i){g=0;if(b){break t}break s}i=0;g=N[m>>2];if((g|0)<0){e=6;break o}u:{if(g){e=10;if((g|0)>536870911){break o}h=g<<2;i=Qa[N[r+4>>2]](r,h)|0;if(!i|(g|0)<=0){break u}G(i,0,h)}N[k+8>>2]=i;break q}N[k+8>>2]=i;if(i){break q}e=!i<<6;break a}l=1;while(1){h=g<<2;n=2;if(N[h+i>>2]!=N[c+h>>2]){break r}g=g+1|0;if((g|0)!=(b|0)){continue}break}g=b}l=0;n=0}j=N[m>>2];h=N[a+4>>2];v:{if(h&2147418112){if(g>>>0>=j>>>0){break v}f=N[k+20>>2]+(T((h>>>16|0)-1|0,j)<<2)|0;h=g<<2;m=f+h|0;q=(g^-1)+j|0;e=h+i|0;p=j-g&3;w:{if(!p){f=g;break w}f=g+p|0;t=f<<2;h=0;while(1){l=N[e>>2]!=N[m>>2]?1:l;e=e+4|0;m=m+4|0;h=h+1|0;if((p|0)!=(h|0)){continue}break}e=i+t|0}if(q>>>0<3){break v}while(1){l=N[e+12>>2]!=N[m+12>>2]?1:N[e+8>>2]!=N[m+8>>2]?1:N[e+4>>2]!=N[m+4>>2]?1:N[e>>2]!=N[m>>2]?1:l;e=e+16|0;m=m+16|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}break v}if(g>>>0>=j>>>0){break v}p=(g^-1)+j|0;e=(g<<2)+i|0;f=j-g&3;x:{if(!f){h=g;break x}h=g+f|0;q=h<<2;m=0;while(1){l=N[e>>2]?1:l;e=e+4|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}e=i+q|0}if(p>>>0<3){break v}while(1){l=N[e+12>>2]|N[e+8>>2]|(N[e+4>>2]|N[e>>2])?1:l;e=e+16|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}y:{if(l&255){if(g>>>0>=j>>>0){break p}break y}L[a+733|0]=1;e=-1;break a}while(1){if(!N[(g<<2)+i>>2]){g=g+1|0;if((j|0)!=(g|0)){continue}break p}break}n=2;break p}j=N[m>>2];n=1}N[k>>2]=j;if(c){B(i,c,b<<2)}z:{if(!d){break z}d=N[k+4>>2];i=N[a+736>>2];e=N[i>>2];b=s?b:N[k>>2];c=b>>>0>e>>>0?e:b;A:{if(!c){break A}h=N[k+8>>2];m=0;g=0;if(c>>>0>=4){k=c&-4;while(1){f=g<<2;N[f+d>>2]=N[f+h>>2];j=f|4;N[j+d>>2]=N[h+j>>2];j=f|8;N[j+d>>2]=N[h+j>>2];f=f|12;N[f+d>>2]=N[f+h>>2];g=g+4|0;if((k|0)!=(g|0)){continue}break}}f=c&3;if(!f){break A}while(1){k=g<<2;N[k+d>>2]=N[h+k>>2];g=g+1|0;m=m+1|0;if((f|0)!=(m|0)){continue}break}}if(b>>>0>e>>>0){G(d+(c<<2)|0,0,b-c<<2)}B:{if(!c){break B}j=N[i+28>>2];if(!j){break B}k=0;while(1){f=P[j>>1];C:{if(f>>>0<2){break C}e=d+(k<<2)|0;b=N[e>>2];l=N[j+4>>2];g=1;while(1){h=l+(g<<3)|0;m=N[h+4>>2];if((m|0)>(b|0)){f=h-8|0;g=N[f>>2];l=b;b=N[f+4>>2];w=e,x=jb(l-b|0,N[h>>2]-g|0,m-b|0)+g|0,N[w>>2]=x;break C}g=g+1|0;if((f|0)!=(g|0)){continue}break}}j=j+8|0;k=k+1|0;if((c|0)!=(k|0)){continue}break}}if(!c){break z}b=N[N[i+12>>2]+12>>2];e=0;while(1){j=d+(e<<2)|0;h=N[j>>2];D:{E:{if((h|0)<0){i=0-h|0;g=N[b+8>>2];k=g-N[b+4>>2]|0;f=k>>31;f=(f^k)-f|0;F:{if((f>>>8|0)-h>>>0<=8190){h=T(f,i)+32768>>>16|0;break F}h=i&65535;h=T(h,f>>>16|0)+T(f,i>>>16|0)+(T(h,f&65535)+32768>>>16)|0}h=(k|0)<0?h:0-h|0;break E}g=N[b+8>>2];if(!h){break D}i=N[b+12>>2]-g|0;f=i>>31;l=h;h=h>>31;h=(l^h)-h|0;f=(f^i)-f|0;G:{if(h+(f>>>8|0)>>>0<=8190){h=T(f,h)+32768>>>16|0;break G}k=h&65535;h=T(k,f>>>16|0)+T(f,h>>>16|0)+(T(k,f&65535)+32768>>>16)|0}h=(i|0)<0?0-h|0:h}g=g+h|0}N[j>>2]=g;b=b+24|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}L[a+733|0]=1;e=0;b=N[a+704>>2];H:{if(!b){break H}I:{switch(n-1|0){case 1:Qa[N[r+8>>2]](r,b);N[a+704>>2]=0;e=gn(a,N[a+104>>2]);break H;case 0:break I;default:break H}}e=Ym(a,N[a+104>>2])}b=N[a+720>>2];if(b){Qa[N[r+8>>2]](r,b)}N[a+720>>2]=0;break a}N[k+8>>2]=0;break a}N[k+4>>2]=0}La=o+32|0;return e}function hj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=La-48|0;La=h;N[a+44>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h+28>>2]=0;c=N[b+32>>2];if((c|0)==-1){d=sb(b+56|0);d=O[d+4|0]|O[d+5|0]<<8;c=(d<<8|d>>>8)&65535;N[b+32>>2]=c}L[h+40|0]=1;N[h+36>>2]=c;d=N[b+12>>2];a:{if(d){c=Qa[d|0](b,1668112752,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{d=N[c>>2];if(d){if((d|0)<=0){break j}N[c>>2]=d+1}L[h+24|0]=0;N[h+32>>2]=c;f=N[c+12>>2];N[h+4>>2]=f;e=N[c+16>>2];N[h+8>>2]=e+f;if((e|0)<0){break i}if(e>>>0>67108863){i=1073741823}else{d=e<<6;d=d>>>0<=16384?16384:d;i=d>>>0>=1073741823?1073741823:d}N[h+20>>2]=0;N[h>>2]=0;N[h+28>>2]=0;d=c;if(!f){break c}if(e>>>0<4){break g}N[h+12>>2]=i-4;if(O[f|0]|O[f+1|0]<<8){break g}N[h+44>>2]=f;if(Zi(f+2|0,h,h+44|0)){break h}if(O[h+24|0]|!N[h+28>>2]){break g}if(!zb(c)){break g}while(1){L[h+24|0]=1;d=N[h+32>>2];f=N[d+12>>2];N[h+4>>2]=f;e=N[d+16>>2];N[h+8>>2]=e+f;if((e|0)<0){break i}if(e>>>0>67108863){i=1073741823}else{i=e<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}N[h+20>>2]=0;N[h>>2]=0;N[h+28>>2]=0;if(!f){break c}if(e>>>0<=3){break g}N[h+12>>2]=i-4;if(O[f|0]|O[f+1|0]<<8){break g}N[h+44>>2]=f;if(Zi(f+2|0,h,h+44|0)){break h}if(O[h+24|0]|!N[h+28>>2]){break g}d=zb(c);N[h+4>>2]=d;N[h+8>>2]=d+N[c+16>>2];if(d){continue}break}break g}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!N[h+28>>2]){break f}N[h+28>>2]=0;if(Q[h+4>>2]>f>>>0){break g}d=N[h+8>>2];if(d>>>0>>0|d-f>>>0<=3){break g}d=N[h+12>>2]-4|0;N[h+12>>2]=d;if(O[f|0]|O[f+1|0]<<8|(d|0)<=0){break g}N[h+44>>2]=f;d=Zi(f+2|0,h,h+44|0);if(N[h+28>>2]){break g}ab(N[h+32>>2]);if(d){break e}break d}ab(N[h+32>>2]);break d}ab(N[h+32>>2])}if(!N[c+4>>2]){break b}N[c+4>>2]=0;break b}ab(c);c=275552;break b}ab(d)}N[a+44>>2]=c;j=275552;l=Q[c+16>>2]<4?275552:N[c+12>>2];i=l+4|0;k:{l:{k=O[l+2|0]|O[l+3|0]<<8;m:{if(!k){break m}e=0;d=((k<<8|k>>>8)&65535)-1|0;c=d;n:{while(1){o:{p:{f=c+e>>>1|0;g=(f<<3)+i|0;m=O[g|0]|O[g+1|0]<<8;n=(m<<8|m>>>8)&65535;q:{if(!(n>>>0>3|(m|0)!=768)){if(O[g+2|0]|O[g+3|0]<<8){break q}c=(f<<3)+i|0;break n}if(n>>>0<4){break p}}c=f-1|0;break o}e=f+1|0}if((c|0)>=(e|0)){continue}break}c=275552}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){break l}e=0;f=d;r:{while(1){s:{t:{u:{c=e+f>>>1|0;g=(c<<3)+i|0;m=O[g|0]|O[g+1|0]<<8;n=(m<<8|m>>>8)&65535;v:{if(!(n>>>0>3|(m|0)!=768)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>10){break v}if((g|0)==2560){break u}break t}if(n>>>0<4){break t}}f=c-1|0;break s}c=(c<<3)+i|0;break r}e=c+1|0}if((e|0)<=(f|0)){continue}break}c=275552}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=1;break k}f=0;c=d;w:{x:{while(1){y:{z:{e=c+f>>>1|0;g=(e<<3)+i|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<7){break z}}c=e-1|0;break y}if((g|0)==1536){break x}f=e+1|0}if((c|0)>=(f|0)){continue}break}c=275552;break w}c=(e<<3)+i|0}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=1;break k}c=0;A:{B:{while(1){C:{D:{f=c+d>>>1|0;e=(f<<3)+i|0;if(!(O[e|0]|O[e+1|0]<<8)){e=O[e+2|0]|O[e+3|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<5){break D}}d=f-1|0;break C}if((e|0)==1024){break B}c=f+1|0}if((c|0)<=(d|0)){continue}break}d=275552;break A}d=(f<<3)+i|0}d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(d){e=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+l|0;d=1;break k}if(!k){break m}f=((k<<8|k>>>8)&65535)-1|0;e=0;while(1){E:{F:{G:{d=e+f>>>1|0;c=(d<<3)+i|0;g=O[c|0]|O[c+1|0]<<8;m=(g<<8|g>>>8)&65535;H:{if(!(m>>>0>3|(g|0)!=768)){c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>1){break H}if((c|0)==256){break G}break F}if(m>>>0<4){break F}}f=d-1|0;break E}j=(d<<3)+i|0;break m}e=d+1|0}if((e|0)<=(f|0)){continue}break}}d=1;c=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=275552;I:{if(!k){break I}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){J:{K:{L:{j=c+f>>>1|0;g=(j<<3)+i|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<4){break L}}c=j-1|0;break K}if((g|0)==768){break J}f=j+1|0}if((c|0)>=(f|0)){continue}break I}break}e=(j<<3)+i|0}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=275552;M:{if(!k){break M}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){N:{O:{P:{j=c+f>>>1|0;g=(j<<3)+i|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<3){break P}}c=j-1|0;break O}if((g|0)==512){break N}f=j+1|0}if((c|0)>=(f|0)){continue}break M}break}e=(j<<3)+i|0}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=Qp(l,1);if(e){break k}c=Qp(l,0);e=c?c:275552;break k}e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=0}j=275552;N[a+4>>2]=275552;N[a>>2]=e;Q:{if(!k){break Q}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){R:{S:{T:{k=c+f>>>1|0;g=(k<<3)+i|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<6){break T}}c=k-1|0;break S}if((g|0)==1280){break R}f=k+1|0}if((c|0)>=(f|0)){continue}break Q}break}j=(k<<3)+i|0}c=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);U:{if(!c){break U}c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;if((O[c|0]|O[c+1|0]<<8)!=3584){break U}N[a+4>>2]=c}c=e?e:275552;N[a+12>>2]=c;V:{if(!d){b=Sc(b+72|0);b=(O[b|0]|O[b+1|0]<<8?0:(O[b+62|0]|O[b+63|0]<<8)<<8)&65280;if(!b){d=306;break V}W:{if((b|0)!=45824){if((b|0)!=45568){break W}d=307;break V}d=308;break V}d=309;break V}d=309;X:{Y:{b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-4|0){case 0:break X;case 8:break Y;default:break V}}d=310;break V}b=O[c+6|0]|O[c+7|0]<<8;d=c+14|0;N[a+16>>2]=d;b=(b<<8|b>>>8)&65534;f=b>>>1|0;N[a+36>>2]=f;d=(b+d|0)+2|0;N[a+20>>2]=d;d=b+d|0;N[a+24>>2]=d;d=b+d|0;N[a+28>>2]=d;N[a+32>>2]=b+d;b=O[c+2|0]|O[c+3|0]<<8;N[a+12>>2]=a+16;N[a+40>>2]=(((b<<8|b>>>8)&65535)-(f<<3)|0)-16>>>1;d=311}N[a+8>>2]=d;La=h+48|0;return a}function $i(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{g=N[b+4>>2];if(g>>>0>a>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<14){break b}f=N[b+12>>2]-14|0;N[b+12>>2]=f;if((f|0)<=0){break b}e=O[a+2|0]|O[a+3|0]<<8;if(e){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>d>>>0){break b}l=d-c|0;c=T((e<<8|e>>>8)&65535,6);if(l>>>0>>0){break b}f=f-c|0;N[b+12>>2]=f;if((f|0)<=0){break b}}e=O[a+12|0]|O[a+13|0]<<8;if(e){c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>d>>>0){break b}l=d-c|0;c=((e<<8|e>>>8)&65535)<<2;if(l>>>0>>0){break b}f=f-c|0;N[b+12>>2]=f;if((f|0)<=0){break b}}c=1;c:{e=O[a|0]|O[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 0:break a;case 1:break c;default:break b}}e=a+14|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break b}c=f-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d:{if(!c){break d}if(c&128){break b}e:{l=g;g=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(l>>>0>g>>>0|d>>>0>>0|d-g>>>0<4){break e}h=f-8|0;N[b+12>>2]=h;if((h|0)<=0){break e}f=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);j=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=TE(j,0,6,0);if(Pa){break e}if(c){i=g+4|0;if(i>>>0>d>>>0|c>>>0>d-i>>>0){break e}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break e}}if(!f){break d}j=j>>>0<=1?1:j;f=0;while(1){h=g+T(f,6)|0;c=h+4|0;if(c>>>0>2]){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<6){break e}i=N[b+12>>2];c=i-6|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=h+6|0;if(c>>>0>d>>>0|d-c>>>0<4){break e}d=i-10|0;N[b+12>>2]=d;if((d|0)<=0){break e}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);f:{if(!d){break f}if(d&128){break e}h=N[b+20>>2];g:{if((h|0)>15){break g}h=h+1|0;N[b+20>>2]=h;if(!h){break g}d=_d(g+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b);N[b+20>>2]=N[b+20>>2]-1;if(d){break f}}d=N[b+28>>2];if(d>>>0>31){break e}N[b+28>>2]=d+1;if(!O[b+24|0]){break e}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}f=f+1|0;if((j|0)!=(f|0)){continue}break}break d}c=N[b+28>>2];if(c>>>0>31){break b}N[b+28>>2]=c+1;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}f=N[b+4>>2];c=a+18|0;if(f>>>0>c>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break b}g=N[b+12>>2];e=g-4|0;N[b+12>>2]=e;if((e|0)<=0){break b}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h:{if(!e){break h}if(e&128){break b}i:{e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break i}j=g-8|0;N[b+12>>2]=j;if((j|0)<=0){break i}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(g>>>0>1073741823){break i}h=g<<2;if(h){i=e+4|0;if(i>>>0>d>>>0|h>>>0>d-i>>>0){break i}d=j-h|0;N[b+12>>2]=d;if((d|0)<=0){break i}}if(!f){break h}j=g>>>0<=1?1:g;f=0;while(1){d=(e+(f<<2)|0)+4|0;if(d>>>0>2]){break i}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break i}g=N[b+12>>2]-4|0;N[b+12>>2]=g;if((g|0)<=0){break i}g=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j:{if(!g){break j}if(g&128){break i}h=N[b+20>>2];k:{if((h|0)>15){break k}h=h+1|0;N[b+20>>2]=h;if(!h){break k}g=_d(e+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0,b);N[b+20>>2]=N[b+20>>2]-1;if(g){break j}}g=N[b+28>>2];if(g>>>0>31){break i}N[b+28>>2]=g+1;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}f=f+1|0;if((j|0)!=(f|0)){continue}break}break h}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}l:{m:{g=N[b+4>>2];d=a+22|0;if(g>>>0>d>>>0){break m}f=N[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break m}h=N[b+12>>2];e=h-4|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break m}e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);n:{if(!e){break n}if(e&128){break m}o:{p:{e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0;if(e>>>0>>0|e>>>0>f>>>0|f-e>>>0<5){break p}c=h-9|0;N[b+12>>2]=c;if((c|0)<=0){break p}j=e+1|0;if(j>>>0>>0|f>>>0>>0|f-j>>>0<4){break p}i=h-13|0;N[b+12>>2]=i;if((i|0)<=0){break p}g=O[e+1|0]|O[e+2|0]<<8|(O[e+3|0]<<16|O[e+4|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);c=TE(h,0,7,0);if(Pa){break p}if(c){k=e+5|0;if(k>>>0>f>>>0|c>>>0>f-k>>>0){break p}c=i-c|0;N[b+12>>2]=c;if((c|0)<=0){break p}}if(!g){break o}n=h>>>0<=1?1:h;h=0;while(1){g=N[b+4>>2];k=j+T(h,7)|0;c=k+4|0;if(g>>>0>c>>>0){break p}f=N[b+8>>2];if(f>>>0>>0|f-c>>>0<7){break p}i=N[b+12>>2];c=i-7|0;N[b+12>>2]=c;if((c|0)<=0){break p}c=k+8|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<3){break p}k=i-10|0;N[b+12>>2]=k;if((k|0)<=0){break p}m=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);q:{if(!m){break q}l=g;g=e+m|0;r:{if(l>>>0>g>>>0|f>>>0<=g>>>0){break r}m=i-11|0;N[b+12>>2]=m;if(!m){break r}s:{t:{switch(O[g|0]-1|0){case 0:i=-10;if(f-g>>>0>=9){break s}break r;case 1:break t;default:break q}}if(f-g>>>0<13){break r}f=i-24|0;N[b+12>>2]=f;i=-23;if((f|0)<=0){break r}}f=i+k|0;N[b+12>>2]=f;if((f|0)>0){break q}}f=N[b+28>>2];if(f>>>0>31){break p}N[b+28>>2]=f+1;if(!O[b+24|0]){break p}L[c+2|0]=0;L[c|0]=0;L[c+1|0]=0}c=1;h=h+1|0;if((n|0)!=(h|0)){continue}break}break n}c=N[b+28>>2];if(c>>>0>31){break m}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break n}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}c=1}break l}c=0}if(!c){break b}c=0;u:{v:{e=a+26|0;if(e>>>0>2]){break v}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break v}f=N[b+12>>2]-4|0;N[b+12>>2]=f;d=1;if((f|0)<=0){break v}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);w:{if(!f){break w}if(f&128){break v}if(Dd((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0,b)){break w}d=N[b+28>>2];if(d>>>0>31){break v}N[b+28>>2]=d+1;d=0;if(!O[b+24|0]){break w}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;d=1}break u}d=0}if(!d){break a}return Gf(a+30|0,b,a)}c=0}return c}function Eq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;j=La-32|0;La=j;N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;N[b+84>>2]=N[b+80>>2];a:{b:{m=N[b+68>>2];c:{if(!m){break c}while(1){d=N[b+80>>2];g=N[d+T(e,20)>>2];d:{if((g&-129)!=3635){if(O[b+62|0]){g=N[b+84>>2];h=N[b+72>>2];if((g|0)!=(d|0)|(h|0)!=(e|0)){f=h+1|0;if(!(!f|f>>>0>2])){if(!gb(b,f)){break c}h=N[b+72>>2];e=N[b+64>>2];g=N[b+84>>2];d=N[b+80>>2]}e:{if((d|0)!=(g|0)){break e}if(h+1>>>0<=e+1>>>0){g=d;break e}if(!O[b+62|0]){break b}g=N[b+88>>2];N[b+84>>2]=g;f=T(h,20);if(!f){break e}B(g,d,f);h=N[b+72>>2];g=N[b+84>>2];e=N[b+64>>2];d=N[b+80>>2]}f=T(e,20)+d|0;d=N[f+4>>2];i=T(h,20)+g|0;N[i>>2]=N[f>>2];N[i+4>>2]=d;N[i+16>>2]=N[f+16>>2];d=N[f+12>>2];N[i+8>>2]=N[f+8>>2];N[i+12>>2]=d;e=N[b+64>>2];f=N[b+72>>2]}else{f=e}N[b+72>>2]=f+1}N[b+64>>2]=e+1;break d}i=g+26|0;f:{d=N[b+72>>2]+1|0;if(!(!d|d>>>0>2])){if(!gb(b,d)){break f}}e=N[b+84>>2];g:{if((e|0)!=N[b+80>>2]){break g}d=N[b+72>>2];if(Q[b+64>>2]>=d+1>>>0){break g}if(!O[b+62|0]){break b}f=N[b+88>>2];N[b+84>>2]=f;d=T(d,20);if(!d){break g}B(f,e,d)}f=N[b+64>>2];d=N[b+68>>2];if(f>>>0<=d>>>0){h:{if(d>>>0>f>>>0){d=N[b+72>>2];e=N[b+84>>2];f=N[b+80>>2]+T(f,20)|0;break h}e=N[b+84>>2];d=N[b+72>>2];f=d-1|0;f=e+T(d>>>0>=f>>>0?f:0,20)|0}e=T(d,20)+e|0;d=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=d;N[e+16>>2]=N[f+16>>2];d=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=d;N[e>>2]=i;N[b+72>>2]=N[b+72>>2]+1;break f}break a}f=N[b+72>>2];d=f-1|0;d=N[b+84>>2]+T(d>>>0<=f>>>0?d:0,20)|0;M[d+16>>1]=P[d+16>>1]|128;i=g-1|0;i:{f=N[b+72>>2]+1|0;j:{if(!(!f|f>>>0>2])){d=0;if(!gb(b,f)){break j}}e=N[b+84>>2];k:{if((e|0)!=N[b+80>>2]){break k}d=N[b+72>>2];if(d+1>>>0<=N[b+64>>2]+1>>>0){break k}if(!O[b+62|0]){break b}f=N[b+88>>2];N[b+84>>2]=f;d=T(d,20);if(!d){break k}B(f,e,d)}d=N[b+68>>2];f=N[b+64>>2];if(d>>>0>>0){break a}l:{if(d>>>0>f>>>0){d=N[b+72>>2];e=N[b+84>>2];f=N[b+80>>2]+T(f,20)|0;break l}e=N[b+84>>2];d=N[b+72>>2];f=d-1|0;f=e+T(d>>>0>=f>>>0?f:0,20)|0}e=T(d,20)+e|0;d=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=d;N[e+16>>2]=N[f+16>>2];d=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=d;N[e>>2]=i;N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+1;d=1}break i}if(!d){break c}g=N[b+72>>2];e=g-2|0;f=T(e,20);d=f+N[b+84>>2]|0;M[d+16>>1]=P[d+16>>1]&224|12;if(!e){break d}d=N[b+84>>2];m:{n:{o:{while(1){h=e;p:{e=e-1|0;i=N[d+T(e,20)>>2];if((i&-132)==3636|(i&-129)-3655>>>0<8){break p}q:{switch(i-3633|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break o;case 0:case 10:break p;default:break q}}switch(i-3761|0){case 0:case 10:break p;default:break o}}if(e){continue}break}h=0;if(g>>>0>2){break n}break d}if(g>>>0<=h+2>>>0){break m}}vd(b,h,g);e=f;f=N[b+84>>2];e=e+f|0;N[j+24>>2]=N[e+16>>2];d=N[e+12>>2];N[j+16>>2]=N[e+8>>2];N[j+20>>2]=d;d=N[e+4>>2];N[j+8>>2]=N[e>>2];N[j+12>>2]=d;e=f;f=T(h,20);d=e+f|0;B(d+20|0,d,T(g-h|0,20)-40|0);d=N[j+12>>2];f=f+N[b+84>>2]|0;N[f>>2]=N[j+8>>2];N[f+4>>2]=d;N[f+16>>2]=N[j+24>>2];d=N[j+20>>2];N[f+8>>2]=N[j+16>>2];N[f+12>>2]=d;break d}if(N[b+20>>2]){break d}vd(b,e,g)}e=N[b+64>>2];if(m>>>0>e>>>0){continue}break}}zc(b);r:{if(O[a+32|0]|N[a+4>>2]!=1416126825){break r}v=N[b+68>>2];if(!v){break r}w=N[b+80>>2];f=0;t=3;u=2;i=0;while(1){e=0;s:{t:{o=T(i,20)+w|0;h=N[o>>2];if((h|0)==3633|(h&-4)==3636){break t}a=h-3655|0;if(1<>>0<=7:0){break t}e=1;if(h-3640>>>0<3){break t}e=2;if(h-3656>>>0<5){break t}u:{v:{a=h-3597|0;if(a>>>0<=18){a=1<>>0>45)<<2;break u}f=2}a=f<<2;u=N[a+242416>>2];t=N[a+242384>>2];f=i;break s}a=e<<3;g=a+T(u,24)|0;e=g+242548|0;d=a+T(t,24)|0;a=d+242452|0;l=N[d+242448>>2];if(!l){l=N[g+242544>>2]}u=N[e>>2];t=N[a>>2];a=N[b+68>>2];q=a>>>0>>0?a:i;r=q-f|0;w:{if(r>>>0<2){break w}n=N[b+144>>2]|32;N[b+144>>2]=n;if(f>>>0>=q>>>0){break w}p=N[b+80>>2];e=-1;d=f;k=(d^-1)+q|0;if(k>>>0>=3){m=r&-4;a=0;while(1){s=p+T(d,20)|0;g=N[s+8>>2];g=e>>>0>>0?e:g;e=N[s+28>>2];g=e>>>0>g>>>0?g:e;e=N[s+48>>2];g=e>>>0>g>>>0?g:e;e=N[s+68>>2];e=e>>>0>g>>>0?g:e;d=d+4|0;a=a+4|0;if((m|0)!=(a|0)){continue}break}}g=0;m=r&3;if(m){while(1){a=N[(p+T(d,20)|0)+8>>2];e=a>>>0>e>>>0?e:a;d=d+1|0;g=g+1|0;if((m|0)!=(g|0)){continue}break}}d=f;if(r&1){a=p+T(d,20)|0;if(N[a+8>>2]!=(e|0)){N[a+4>>2]=N[a+4>>2]|3}d=f+1|0}if(!k){break w}while(1){a=p+T(d,20)|0;if(N[a+8>>2]!=(e|0)){n=n|32;N[b+144>>2]=n;N[a+4>>2]=N[a+4>>2]|3}a=p+T(d+1|0,20)|0;if(N[a+8>>2]!=(e|0)){n=n|32;N[b+144>>2]=n;N[a+4>>2]=N[a+4>>2]|3}d=d+2|0;if((q|0)!=(d|0)){continue}break}}e=0;x:{y:{z:{switch(l|0){case 4:h=242816;A:{B:{C:{o=T(f,20)+w|0;d=N[o>>2];switch(d-3597|0){case 0:break B;case 3:break C;default:break A}}h=242822}N[j+8>>2]=0;a=N[c+96>>2];k=N[a+28>>2];l=N[c+100>>2];e=P[h+2>>1];g=j+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[k|0](c,l,e,g,a)|0)){N[j+8>>2]=0;a=N[c+96>>2];k=N[a+28>>2];g=N[c+100>>2];e=P[h+4>>1];h=j+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[k|0](c,g,e,h,a)|0)){break A}}d=e}N[o>>2]=d;break s;case 1:e=242624;break y;case 3:e=242688;break y;case 0:break x;case 2:break z;default:break y}}e=242736}d=P[e>>1];if(!d){break x}while(1){if((d&65535)==(h|0)){a=P[e+2>>1];N[j+8>>2]=0;d=N[c+96>>2];k=N[d+28>>2];l=N[c+100>>2];g=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[k|0](c,l,a,g,d)|0){h=P[e+2>>1];break x}a=P[e+4>>1];N[j+8>>2]=0;d=N[c+96>>2];k=N[d+28>>2];l=N[c+100>>2];g=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[k|0](c,l,a,g,d)|0)){break x}h=P[e+4>>1];break x}d=P[e+6>>1];e=e+6|0;if(d){continue}break}}N[o>>2]=h}i=i+1|0;if((v|0)!=(i|0)){continue}break}}La=j+32|0;return}ba(8694,17855,209,11932);F()}ba(13080,14165,312,10949);F()}function pl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;a:{b:{c=N[b+4>>2];d=a+4|0;c:{if(c>>>0>d>>>0){break c}e=N[b+8>>2];if(d>>>0>e>>>0|e-d>>>0<4){break c}k=N[b+12>>2]-4|0;N[b+12>>2]=k;if(a>>>0>>0|(k|0)<=0){break c}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0<12|d>>>0>e-a>>>0){break c}i=k-d|0;N[b+12>>2]=i;if((i|0)<=0){break c}l=O[a+8|0]|O[a+9|0]<<8;d=T((l<<8|l>>>8)&65535,12);k=a+12|0;if(l){if(e>>>0>>0|d>>>0>e-k>>>0){break c}i=i-d|0;N[b+12>>2]=i;if((i|0)<=0){break c}}a=O[a+10|0]|O[a+11|0]<<8;if(!a){return 1}a=(a<<8|a>>>8)&65535;w=a>>>0<=1?1:a;g=d+k|0;while(1){if(e>>>0>>0|c>>>0>g>>>0){break a}c=e-g|0;if(c>>>0<2){break a}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){break a}e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<9|c>>>0>>0){break a}a=a-e|0;N[b+12>>2]=a;if((a|0)<=0){break a}d=N[b+32>>2];c=N[d+12>>2];N[b+4>>2]=c;j=N[d+16>>2];d=j+c|0;N[b+8>>2]=d;d:{e:{f:{g:{if((j|0)>=0){c=d>>>0<=g>>>0|c>>>0>g>>>0;q=c?0:g;N[b+4>>2]=q;d=d-g|0;h=c?0:(e>>>0>d>>>0?d:e)+g|0;N[b+8>>2]=h;m=1;h:{switch(O[g+3|0]){case 0:m=qh(g+8|0,b);break d;case 5:break g;case 1:break h;case 2:break e;case 4:break f;default:break d}}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<8){break d}c=a-8|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8;o=(c<<8|c>>>8)&65535;if(o>>>0<4){break d}c=g+10|0;if(c>>>0>h>>>0|h-c>>>0<2){break d}d=a-10|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8;c=e+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<4){break d}d=a-14|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>h>>>0|h-d>>>0<2){break d}f=a-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}a=O[d|0]|O[d+1|0]<<8;if(a){c=c+4|0;if(c>>>0>h>>>0){break d}a=(a<<8|a>>>8)&65535;if(a>>>0>h-c>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}a=O[g+14|0]|O[g+15|0]<<8;p=e+((a<<8|a>>>8)&65535)|0;t=h-p|0;a=O[g+12|0]|O[g+13|0]<<8;s=(a<<8|a>>>8)&65535;l=s+e|0;u=h-l|0;a=0;d=0;k=0;j=0;n=0;c=0;while(1){i:{if(!(a&1)){e=c;break i}TE(j,0,o,0);if(Pa){break d}i=T(j,o);r=i+l|0;if(i){if(r>>>0>>0|h>>>0>>0|h-r>>>0<0-i>>>0){break d}f=f+i|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(j-k|0)+f|0;N[b+12>>2]=f;if((f|0)<=0|(i|0)>0){break d}a=l;e=c;if((i|0)<0){while(1){a=a-1|0;k=O[a|0]+1|0;e=e>>>0>k>>>0?e:k;if(a>>>0>r>>>0){continue}break}}k=j}j:{k:{l:{if((d|0)<=(n|0)){if(l>>>0>>0|h>>>0>>0){break d}i=n+1|0;a=T(i,o);if(a>>>0>u>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=f+((n^-1)+d|0)|0;N[b+12>>2]=f;if((a|0)<0|(f|0)<=0){break d}d=T(d,o);if((d|0)<(a|0)){break l}d=i}if(e){break k}e=0;break j}m=a+l|0;a=d+l|0;while(1){d=O[a|0]+1|0;e=e>>>0>d>>>0?e:d;a=a+1|0;if(m>>>0>a>>>0){continue}break}d=i}m=0;if(p>>>0>>0|h>>>0

>>0){break d}a=e<<3;if(a>>>0>t>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(c-e|0)+f|0;N[b+12>>2]=f;if((f|0)<=0){break d}if((c|0)<(e|0)){i=p+(e<<3)|0;c=p+(c<<3)|0;while(1){a=O[c|0]|O[c+1|0]<<8;a=(((a<<8|a>>>8)&65535)-s|0)/(o|0)|0;n=(a|0)<(n|0)?n:a;j=(a|0)>(j|0)?j:a;c=c+8|0;if(i>>>0>c>>>0){continue}break}}c=e;a=(j|0)<(k|0);if(a|(d|0)<=(n|0)){continue}break}a=g+16|0;if(a>>>0>h>>>0|h-a>>>0<2){break d}a=f-2|0;N[b+12>>2]=a;m=(a|0)>0;break d}break b}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<20){break d}c=a-20|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=a-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8;o=(c<<8|c>>>8)&65535;if(o>>>0<4){break d}c=g+10|0;if(c>>>0>h>>>0|h-c>>>0<2){break d}d=a-30|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8;c=e+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<4){break d}d=a-34|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>h>>>0|h-d>>>0<2){break d}f=a-36|0;N[b+12>>2]=f;if((f|0)<=0){break d}a=O[d|0]|O[d+1|0]<<8;if(a){c=c+4|0;if(c>>>0>h>>>0){break d}a=(a<<8|a>>>8)&65535;if(a>>>0>h-c>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}a=O[g+14|0]|O[g+15|0]<<8;p=e+((a<<8|a>>>8)&65535)|0;t=h-p|0;a=O[g+12|0]|O[g+13|0]<<8;s=(a<<8|a>>>8)&65535;l=s+e|0;u=h-l|0;a=0;d=0;k=0;j=0;n=0;c=0;while(1){m:{if(!(a&1)){e=c;break m}TE(j,0,o,0);if(Pa){break d}i=T(j,o);r=i+l|0;if(i){if(r>>>0>>0|h>>>0>>0|h-r>>>0<0-i>>>0){break d}f=f+i|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(j-k|0)+f|0;N[b+12>>2]=f;if((f|0)<=0|(i|0)>0){break d}a=l;e=c;if((i|0)<0){while(1){a=a-1|0;k=O[a|0]+1|0;e=e>>>0>k>>>0?e:k;if(a>>>0>r>>>0){continue}break}}k=j}n:{o:{p:{if((d|0)<=(n|0)){if(l>>>0>>0|h>>>0>>0){break d}i=n+1|0;a=T(i,o);if(a>>>0>u>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=f+((n^-1)+d|0)|0;N[b+12>>2]=f;if((a|0)<0|(f|0)<=0){break d}d=T(d,o);if((d|0)<(a|0)){break p}d=i}if(e){break o}e=0;break n}m=a+l|0;a=d+l|0;while(1){d=O[a|0]+1|0;e=e>>>0>d>>>0?e:d;a=a+1|0;if(m>>>0>a>>>0){continue}break}d=i}m=0;if(p>>>0>>0|h>>>0

>>0){break d}a=e<<3;if(a>>>0>t>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(c-e|0)+f|0;N[b+12>>2]=f;if((f|0)<=0){break d}if((c|0)<(e|0)){i=p+(e<<3)|0;c=p+(c<<3)|0;while(1){a=O[c|0]|O[c+1|0]<<8;a=(((a<<8|a>>>8)&65535)-s|0)/(o|0)|0;n=(a|0)<(n|0)?n:a;j=(a|0)>(j|0)?j:a;c=c+8|0;if(i>>>0>c>>>0){continue}break}}c=e;a=(j|0)<(k|0);if(a|(d|0)<=(n|0)){continue}break}m=(O[g+16|0]|O[g+17|0]<<8)!=0;break d}m=xc(g+8|0,b);break d}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<28){break d}a=a-28|0;N[b+12>>2]=a;if((a|0)<=0){break d}if(!qh(e,b)|!(O[g+16|0]|O[g+17|0]<<8)|!(O[g+18|0]|O[g+19|0]<<8)){break d}m=(O[g+20|0]|O[g+21|0]<<8)!=0}a=N[b+32>>2];c=N[a+12>>2];N[b+4>>2]=c;a=N[a+16>>2];e=a+c|0;N[b+8>>2]=e;if((a|0)<0){break b}if(!m){break a}a=O[g|0]|O[g+1|0]<<8;g=((a<<8|a>>>8)&65535)+g|0;j=1;v=v+1|0;if((w|0)!=(v|0)){continue}break}}return j}ba(16656,14279,195,9642);F()}return 0}function Ld(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=La-16|0;La=k;l=N[a+100>>2];h=N[a+92>>2];N[k+8>>2]=b;f=N[h+20>>2];d=f+((Qa[N[h+12>>2]](k+8|0)>>>0)%Q[h+4>>2]<<2)|0;e=N[d>>2];a:{if(!e){break a}while(1){if(Qa[N[h+16>>2]](e,k+8|0)|0){break a}d=d-4|0;if(f>>>0>d>>>0){d=(f+(N[h+4>>2]<<2)|0)-4|0}e=N[d>>2];if(e){continue}break}}f=N[d>>2];b:{if(f){d=0;c:{d:{e:{b=N[a+80>>2];f=N[f+4>>2];h=b+(f<<4)|0;switch(N[h+4>>2]-1|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}a=N[h+12>>2];if(a){Qa[N[l+8>>2]](l,a)}N[h+12>>2]=0;if(!c|!O[c|0]){break b}a=nb(c);b=a+1|0;f=!b;f:{if(a>>>0<=2147483646){a=Qa[N[l+4>>2]](l,b)|0;d=!a<<6;break f}a=0;d=b?6:0}if(!(f|d)){B(a,c,b);d=0}N[h+12>>2]=a;break b}f=b+(f<<4)|0;b=0;g:{if(!c){break g}a=O[c|0];b=0;if(!a){break g}b=(a|0)==45;a=b+c|0;e=L[a|0];h:{if(!(O[((e&248)>>>3|0)+45040|0]>>>(e&7)&1)){break h}while(1){if((g|0)>214748362){g=2147483647;break h}g=O[e+45072|0]+T(g,10)|0;e=L[a+1|0];a=a+1|0;if(O[((e&248)>>>3|0)+45040|0]>>>(e&7)&1){continue}break}}b=b?0-g|0:g}N[f+12>>2]=b;break b}i:{if(!c){break i}e=L[c|0];a=e&255;if(!a|!(O[(a>>>3|0)+45040|0]>>>(e&7)&1)){break i}while(1){if(g>>>0>429496727){g=-1;break i}g=O[e+45072|0]+T(g,10)|0;e=L[c+1|0];c=c+1|0;if(O[((e&248)>>>3|0)+45040|0]>>>(e&7)&1){continue}break}}N[(b+(f<<4)|0)+12>>2]=g;break b}N[k+8>>2]=b;f=N[a+132>>2];d=f+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;e=N[d>>2];j:{if(!e){break j}while(1){if(Qa[N[a+128>>2]](e,k+8|0)|0){break j}d=d-4|0;if(f>>>0>d>>>0){d=(f+(N[a+116>>2]<<2)|0)-4|0}e=N[d>>2];if(e){continue}break}}k:{d=N[d>>2];l:{if(d){f=d?d+4|0:0;break l}i=N[a+100>>2];N[k+8>>2]=b;f=N[a+132>>2];d=f+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;e=N[d>>2];m:{if(!e){break m}while(1){if(Qa[N[a+128>>2]](e,k+8|0)|0){break m}d=d-4|0;if(f>>>0>d>>>0){d=(f+(N[a+116>>2]<<2)|0)-4|0}e=N[d>>2];if(e){continue}break}}if(!N[d>>2]){j=N[a+108>>2];h=j+1|0;if((h|j)<0){d=6;break b}f=N[a+104>>2];n:{o:{p:{if(!h){if(!f){break p}Qa[N[i+8>>2]](i,f);N[a+104>>2]=0;break n}d=10;if((h|0)>134217727){break b}q:{if(!j){g=Qa[N[i+4>>2]](i,h<<4)|0;d=!g<<6;break q}d=Qa[N[i+12>>2]](i,j<<4,h<<4,f)|0;g=d?d:f;d=!d<<6}if(d|(j|0)==2147483647|!g){break o}d=(j<<4)+g|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0}N[a+104>>2]=g;break n}N[a+104>>2]=g;if(d){break b}}d=nb(b);j=d+1|0;f=N[a+108>>2];h=(f<<4)+g|0;r:{if(d>>>0<=2147483646){d=Qa[N[i+4>>2]](i,j)|0;if(d){break r}d=64;break k}d=6;if(j){break k}d=0}N[h>>2]=d;B(d,b,j);d=(f<<4)+g|0;N[d+4>>2]=1;N[d+8>>2]=0;d=gg(N[h>>2],N[a+108>>2]+83|0,a+112|0,i);if(d){break b}N[a+108>>2]=N[a+108>>2]+1}N[k+8>>2]=b;f=N[a+132>>2];d=f+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;e=N[d>>2];s:{if(!e){break s}while(1){if(Qa[N[a+128>>2]](e,k+8|0)|0){break s}d=d-4|0;if(f>>>0>d>>>0){d=(f+(N[a+116>>2]<<2)|0)-4|0}e=N[d>>2];if(e){continue}break}}d=N[d>>2];f=d?d+4|0:0}i=N[a+76>>2];if((i|0)==N[a+72>>2]){j=i+1|0;if((j|i)<0){d=6;break b}h=N[a+80>>2];t:{u:{v:{if(!j){g=0;if(!h){break v}Qa[N[l+8>>2]](l,h);N[a+80>>2]=0;break t}d=10;if((j|0)>134217727){break b}w:{if(!i){g=Qa[N[l+4>>2]](l,j<<4)|0;d=!g<<6;break w}d=Qa[N[l+12>>2]](l,i<<4,j<<4,h)|0;g=d?d:h;d=!d<<6}if(d|(i|0)==2147483647|!g){break u}d=(i<<4)+g|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0}N[a+80>>2]=g;break t}N[a+80>>2]=g;if(d){break b}}N[a+72>>2]=N[a+72>>2]+1}h=N[a+80>>2];j=N[a+76>>2];i=h+(j<<4)|0;d=N[f>>2];x:{if(d>>>0>=83){d=(N[a+104>>2]+(d<<4)|0)-1328|0;break x}d=(d<<4)+43712|0}N[i>>2]=N[d>>2];N[i+4>>2]=N[d+4>>2];N[i+8>>2]=N[d+8>>2];y:{z:{A:{switch(N[d+4>>2]-1|0){case 0:N[i+12>>2]=0;if(!c|!O[c|0]){break y}d=nb(c);f=d+1|0;e=!f;B:{if(d>>>0<=2147483646){g=Qa[N[l+4>>2]](l,f)|0;d=!g<<6;break B}g=0;d=f?6:0}if(!(e|d)){B(g,c,f);N[i+12>>2]=g;break y}N[i+12>>2]=g;if(!d){break y}break b;case 1:d=0;if(!c){break z}f=O[c|0];if(!f){break z}e=0;d=c;c=(f|0)==45;g=d+c|0;d=L[g|0];C:{if(!(O[((d&248)>>>3|0)+45040|0]>>>(d&7)&1)){break C}while(1){if((e|0)>214748362){e=2147483647;break C}e=O[d+45072|0]+T(e,10)|0;d=L[g+1|0];g=g+1|0;if(O[((d&248)>>>3|0)+45040|0]>>>(d&7)&1){continue}break}}d=c?0-e|0:e;break z;case 2:break A;default:break y}}d=0;if(!c){break z}e=L[c|0];f=e&255;if(!f|!(O[(f>>>3|0)+45040|0]>>>(e&7)&1)){break z}while(1){if(d>>>0>429496727){d=-1;break z}d=O[e+45072|0]+T(d,10)|0;e=L[c+1|0];c=c+1|0;if(O[((e&248)>>>3|0)+45040|0]>>>(e&7)&1){continue}break}}N[(h+(j<<4)|0)+12>>2]=d}D:{E:{if(bb(b,19233,7)){break E}switch(O[b+7|0]){case 0:case 9:case 10:case 13:case 32:break D;default:break E}}d=gg(N[i>>2],N[a+76>>2],N[a+92>>2],l);if(d){break b}}N[a+76>>2]=N[a+76>>2]+1;F:{if(bb(b,19710,12)){break F}G:{switch(O[b+12|0]){case 0:case 9:case 10:case 13:case 32:break G;default:break F}}N[a+36>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}H:{if(bb(b,19320,11)){break H}I:{switch(O[b+11|0]){case 0:case 9:case 10:case 13:case 32:break I;default:break H}}N[a+40>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}J:{if(bb(b,19275,12)){break J}K:{switch(O[b+12|0]){case 0:case 9:case 10:case 13:case 32:break K;default:break J}}N[a+44>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}d=0;if(bb(b,19980,7)){break b}L:{switch(O[b+7|0]){case 0:case 9:case 10:case 13:case 32:break L;default:break b}}b=N[(h+(j<<4)|0)+12>>2];if(!b){d=3;break b}M:{switch(O[b|0]-67|0){case 13:case 45:N[a+28>>2]=8;break b;case 10:case 42:N[a+28>>2]=16;break b;case 0:case 32:break M;default:break b}}N[a+28>>2]=32;break b}N[h>>2]=0}La=k+16|0;return d}function Mn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,B=0,C=0,D=0,E=0;n=La-48|0;La=n;A(+a);l=v(1)|0;d=v(0)|0;a:{b:{g=l&2147483647;c:{if(g>>>0<=1074752122){if((l&1048575)==598523){break c}if(g>>>0<=1073928572){if((l|0)>0|(l|0)>=0){a=a+-1.5707963267341256;f=a+-6077100506506192e-26;S[b>>3]=f;S[b+8>>3]=a-f+-6077100506506192e-26;d=1;break a}a=a+1.5707963267341256;f=a+6077100506506192e-26;S[b>>3]=f;S[b+8>>3]=a-f+6077100506506192e-26;d=-1;break a}if((l|0)>0|(l|0)>=0){a=a+-3.1415926534682512;f=a+-1.2154201013012384e-10;S[b>>3]=f;S[b+8>>3]=a-f+-1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;f=a+1.2154201013012384e-10;S[b>>3]=f;S[b+8>>3]=a-f+1.2154201013012384e-10;d=-2;break a}if(g>>>0<=1075594811){if(g>>>0<=1075183036){if((g|0)==1074977148){break c}if((l|0)>0|(l|0)>=0){a=a+-4.712388980202377;f=a+-1.8231301519518578e-10;S[b>>3]=f;S[b+8>>3]=a-f+-1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;f=a+1.8231301519518578e-10;S[b>>3]=f;S[b+8>>3]=a-f+1.8231301519518578e-10;d=-3;break a}if((g|0)==1075388923){break c}if((l|0)>0|(l|0)>=0){a=a+-6.2831853069365025;f=a+-2.430840202602477e-10;S[b>>3]=f;S[b+8>>3]=a-f+-2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;f=a+2.430840202602477e-10;S[b>>3]=f;S[b+8>>3]=a-f+2.430840202602477e-10;d=-4;break a}if(g>>>0>1094263290){break b}}j=a*.6366197723675814+6755399441055744+-6755399441055744;f=a+j*-1.5707963267341256;p=j*6077100506506192e-26;s=f-p;c=s<-.7853981633974483;if(V(j)<2147483648){d=~~j}else{d=-2147483648}d:{if(c){d=d-1|0;j=j+-1;p=j*6077100506506192e-26;f=a+j*-1.5707963267341256;break d}if(!(s>.7853981633974483)){break d}d=d+1|0;j=j+1;p=j*6077100506506192e-26;f=a+j*-1.5707963267341256}a=f-p;S[b>>3]=a;A(+a);c=v(1)|0;v(0)|0;e=g>>>20|0;e:{if((e-(c>>>20&2047)|0)<17){break e}s=f;a=j*6077100506303966e-26;f=f-a;p=j*20222662487959506e-37-(s-f-a);a=f-p;S[b>>3]=a;A(+a);c=v(1)|0;v(0)|0;if((e-(c>>>20&2047)|0)<50){break e}s=f;a=j*20222662487111665e-37;f=f-a;p=j*84784276603689e-45-(s-f-a);a=f-p;S[b>>3]=a}S[b+8>>3]=f-a-p;break a}if(g>>>0>=2146435072){a=a-a;S[b>>3]=a;S[b+8>>3]=a;d=0;break a}x(0,d|0);x(1,l&1048575|1096810496);a=+z();d=0;c=1;while(1){e=(n+16|0)+(d<<3)|0;if(V(a)<2147483648){d=~~a}else{d=-2147483648}f=+(d|0);S[e>>3]=f;a=(a-f)*16777216;d=1;e=c;c=0;if(e){continue}break}S[n+32>>3]=a;d=2;while(1){c=d;d=c-1|0;w=n+16|0;if(S[w+(c<<3)>>3]==0){continue}break}e=0;h=La-560|0;La=h;d=(g>>>20|0)-1046|0;g=(d-3|0)/24|0;y=(g|0)>0?g:0;g=T(y,-24)+d|0;o=N[146293];q=c+1|0;i=q-1|0;if((o+i|0)>=0){d=o+q|0;c=y-i|0;while(1){S[(h+320|0)+(e<<3)>>3]=(c|0)<0?0:+N[(c<<2)+585184>>2];c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}m=g-24|0;d=0;e=(o|0)>0?o:0;k=(q|0)<=0;while(1){f:{if(k){a=0;break f}u=d+i|0;c=0;a=0;while(1){a=S[(c<<3)+w>>3]*S[(h+320|0)+(u-c<<3)>>3]+a;c=c+1|0;if((q|0)!=(c|0)){continue}break}}S[(d<<3)+h>>3]=a;c=(d|0)==(e|0);d=d+1|0;if(!c){continue}break}D=47-g|0;u=48-g|0;B=(g|0)<25;E=g-25|0;d=o;while(1){g:{a=S[(d<<3)+h>>3];c=0;e=d;r=(d|0)<=0;if(!r){while(1){t=(h+480|0)+(c<<2)|0;f=a*5.960464477539063e-8;h:{if(V(f)<2147483648){k=~~f;break h}k=-2147483648}f=+(k|0);a=f*-16777216+a;i:{if(V(a)<2147483648){k=~~a;break i}k=-2147483648}N[t>>2]=k;e=e-1|0;a=S[(e<<3)+h>>3]+f;c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=Fd(a,m);a=a+Z(a*.125)*-8;j:{if(V(a)<2147483648){c=~~a;break j}c=-2147483648}k=c;a=a-+(k|0);k:{l:{m:{n:{if(!B){e=(d<<2)+h|0;i=N[e+476>>2];c=i>>u;t=e;e=i-(c<>2]=e;k=c+k|0;c=e>>D;break n}if(m){break m}c=N[((d<<2)+h|0)+476>>2]>>23}i=c;if((i|0)<=0){break k}break l}i=2;if(a>=.5){break l}i=0;break k}c=0;e=0;if(!r){while(1){C=(h+480|0)+(c<<2)|0;r=N[C>>2];t=16777215;o:{p:{if(e){break p}t=16777216;if(r){break p}e=0;break o}N[C>>2]=t-r;e=1}c=c+1|0;if((d|0)!=(c|0)){continue}break}}q:{if(B){break q}c=8388607;r:{switch(E|0){case 1:c=4194303;break;case 0:break r;default:break q}}r=(d<<2)+h|0;N[r+476>>2]=N[r+476>>2]&c}k=k+1|0;if((i|0)!=2){break k}a=1-a;i=2;if(!e){break k}a=a-Fd(1,m)}s:{t:{if(a==0){e=0;c=d;if((o|0)>=(c|0)){break s}while(1){c=c-1|0;e=N[(h+480|0)+(c<<2)>>2]|e;if((c|0)>(o|0)){continue}break}if(!e){break s}g=m;while(1){g=g-24|0;d=d-1|0;if(!N[(h+480|0)+(d<<2)>>2]){continue}break}break t}a=Fd(a,24-g|0);u:{if(a>=16777216){e=(h+480|0)+(d<<2)|0;f=a*5.960464477539063e-8;v:{if(V(f)<2147483648){c=~~f;break v}c=-2147483648}a=+(c|0)*-16777216+a;w:{if(V(a)<2147483648){m=~~a;break w}m=-2147483648}N[e>>2]=m;d=d+1|0;break u}if(V(a)<2147483648){c=~~a}else{c=-2147483648}g=m}N[(h+480|0)+(d<<2)>>2]=c}a=Fd(1,g);if((d|0)>=0){c=d;while(1){e=c;S[(c<<3)+h>>3]=a*+N[(h+480|0)+(c<<2)>>2];c=c-1|0;a=a*5.960464477539063e-8;if(e){continue}break}e=d;while(1){a=0;c=0;g=d-e|0;m=(g|0)>(o|0)?o:g;if((m|0)>=0){while(1){a=S[(c<<3)+587952>>3]*S[(c+e<<3)+h>>3]+a;q=(c|0)!=(m|0);c=c+1|0;if(q){continue}break}}S[(h+160|0)+(g<<3)>>3]=a;c=(e|0)>0;e=e-1|0;if(c){continue}break}}a=0;if((d|0)>=0){c=d;while(1){e=c;c=c-1|0;a=a+S[(h+160|0)+(e<<3)>>3];if(e){continue}break}}S[n>>3]=i?-a:a;a=S[h+160>>3]-a;c=1;if((d|0)>0){while(1){a=a+S[(h+160|0)+(c<<3)>>3];e=(c|0)!=(d|0);c=c+1|0;if(e){continue}break}}S[n+8>>3]=i?-a:a;La=h+560|0;d=k&7;break g}c=1;while(1){e=c;c=c+1|0;if(!N[(h+480|0)+(o-e<<2)>>2]){continue}break}e=d+e|0;while(1){i=d+q|0;d=d+1|0;S[(h+320|0)+(i<<3)>>3]=N[(y+d<<2)+585184>>2];c=0;a=0;if((q|0)>0){while(1){a=S[(c<<3)+w>>3]*S[(h+320|0)+(i-c<<3)>>3]+a;c=c+1|0;if((q|0)!=(c|0)){continue}break}}S[(d<<3)+h>>3]=a;if((d|0)<(e|0)){continue}break}d=e;continue}break}a=S[n>>3];if((l|0)<0){S[b>>3]=-a;S[b+8>>3]=-S[n+8>>3];d=0-d|0;break a}S[b>>3]=a;S[b+8>>3]=S[n+8>>3]}La=n+48|0;return d}function uc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=35;a:{if(!a|!N[a+88>>2]){break a}d=N[a+84>>2];if(!d){break a}b:{c:{e=N[d+156>>2];if(!e){break c}g=N[e+4>>2];if(!(g&1)){break c}f=N[d+88>>2];if(f){e=N[N[d+4>>2]+100>>2];Qa[N[e+8>>2]](e,f);e=N[d+156>>2];g=N[e+4>>2]}N[d+88>>2]=0;N[e+4>>2]=g&-2;break b}N[d+88>>2]=0}N[d+12>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+100>>2]=0;N[d+104>>2]=0;L[d+94|0]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;e=d- -64|0;N[e>>2]=0;N[e+4>>2]=0;N[d+72>>2]=0;N[d+76>>2]=0;N[d+80>>2]=0;N[d+84>>2]=0;N[d+108>>2]=0;N[d+112>>2]=0;N[d+116>>2]=0;N[d+120>>2]=0;N[d+124>>2]=0;N[d+128>>2]=0;N[d+132>>2]=0;N[d+136>>2]=0;N[d+140>>2]=0;N[d+144>>2]=0;N[d+148>>2]=0;N[d+152>>2]=0;c=c&1024?c|2049:c;c=c&1?c&-15|10:c;h=c&4194304?c&-5:c;j=h&2;d:{e:{c=N[a+96>>2];g=N[N[c+4>>2]+160>>2];if(h&32768|(j|!g)){break e}e=N[a+8>>2];if((e&8193)!=1){break e}f:{if(h&2048){break f}i=N[a+128>>2];f=N[i>>2];if(!N[i+8>>2]){if(f){break f}break e}if(f){break e}}g:{if(h&32){break g}f=N[c>>2];if(!(O[f+1|0]&4)){break g}if(ub(Qa[N[f+32>>2]](c,9676)|0,21771)){e=N[c+28>>2]==1}else{e=0}if(!(e|(O[N[c>>2]+1|0]&8)>>>3|(h&983040)!=65536)){e=N[a+8>>2];break g}e=N[a+8>>2];if(!(e&8)|!N[a+760>>2]|(P[a+286>>1]|N[a+684>>2])){break e}if(N[a+692>>2]){break e}}h:{if(!(e&2)|h&8){break h}if(Qa[N[N[c+12>>2]+72>>2]](d,N[a+88>>2],b,h|16384)|0){break h}c=0;if(N[d+72>>2]==1651078259){break d}}e=N[a+128>>2];f=N[e+24>>2];N[e+24>>2]=0;c=Qa[N[N[N[g>>2]+20>>2]+12>>2]](g,d,N[a+88>>2],b,h)|0;N[e+24>>2]=f;break d}e=Qa[N[N[c+12>>2]+72>>2]](d,N[a+88>>2],b,h)|0;if(e){break a}c=0;if(N[d+72>>2]!=1869968492){break d}k=M[d+108>>1];i=M[d+110>>1];if((k|i)&65535){e=6;if((i|0)<=0|(k|0)<=0){break a}m=N[d+120>>2];g=-1;while(1){f=M[(l<<1)+m>>1];if((f|0)>=(i|0)|(f|0)<=(g|0)){break a}g=f;l=l+1|0;if((l|0)!=(k|0)){continue}break}if((f|0)!=(i-1|0)){break a}}if(j){break d}i:{if(h>>>4&1){N[d+32>>2]=N[d+32>>2]&-64;e=N[d+44>>2];g=e&-64;N[d+44>>2]=g;f=N[d+48>>2];i=f&-64;N[d+48>>2]=i;N[d+36>>2]=N[d+36>>2]+63&-64;N[d+24>>2]=((e+N[d+24>>2]|0)+63&-64)-g;N[d+28>>2]=((f+N[d+28>>2]|0)+63&-64)-i;break i}N[d+44>>2]=N[d+44>>2]&-64;N[d+48>>2]=N[d+48>>2]&-64;e=N[d+32>>2];g=e&-64;N[d+32>>2]=g;f=N[d+36>>2];i=f+63&-64;N[d+36>>2]=i;N[d+28>>2]=i-(f-N[d+28>>2]&-64);N[d+24>>2]=((e+N[d+24>>2]|0)+63&-64)-g}N[d+40>>2]=N[d+40>>2]+32&-64;N[d+52>>2]=N[d+52>>2]+32&-64}j:{if(h&16){g=0;e=N[d+52>>2];break j}g=N[d+40>>2];e=0}N[d+64>>2]=g;N[d+68>>2]=e;if(!(!(L[a+8|0]&1)|h&8192)){e=N[a+88>>2];n=d,o=jb(N[d+56>>2],N[e+16>>2],64),N[n+56>>2]=o;n=d,o=jb(N[d+60>>2],N[e+20>>2],64),N[n+60>>2]=o}k:{if(h&2048){break k}i=N[a+128>>2];f=N[i+24>>2];if(!f){break k}k=d- -64|0;l:{m:{a=N[N[N[d+4>>2]+96>>2]+4>>2];e=N[a+156>>2];n:{if(!e){g=N[d+72>>2];break n}g=N[d+72>>2];if((g|0)==N[e+16>>2]){break m}}a=N[a+148>>2];if(a){while(1){e=N[a+8>>2];if(N[e+16>>2]==(g|0)){break m}a=N[a+4>>2];if(a){continue}break}}o:{if((g|0)!=1869968492){break o}if(f&1){jg(d+108|0,i);f=N[i+24>>2]}if(!(f&2)){break o}j=M[d+110>>1];if((j|0)<=0){break o}g=N[i+20>>2];f=N[i+16>>2];a=N[d+112>>2];if(j>>>0>=4){l=j&-4;e=0;while(1){N[a>>2]=f+N[a>>2];N[a+4>>2]=g+N[a+4>>2];N[a+8>>2]=f+N[a+8>>2];N[a+16>>2]=f+N[a+16>>2];N[a+24>>2]=f+N[a+24>>2];N[a+12>>2]=g+N[a+12>>2];N[a+20>>2]=g+N[a+20>>2];N[a+28>>2]=g+N[a+28>>2];a=a+32|0;e=e+4|0;if((l|0)!=(e|0)){continue}break}}j=j&3;if(!j){break o}e=0;while(1){N[a>>2]=f+N[a>>2];N[a+4>>2]=g+N[a+4>>2];a=a+8|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}break l}c=Qa[N[N[e+12>>2]+44>>2]](e,d,i,i+16|0)|0}hd(k,i)}e=c;N[d+12>>2]=b;N[N[d+156>>2]+40>>2]=h;if(e){break a}e=0;if(h&1){break a}a=N[d+72>>2];if((a|0)==1651078259|(a|0)==1668246896){break a}a=h>>>16&15;a=a?a:h>>>11&2;if(h&4){b=N[d+4>>2];if(!b){return 6}h=N[N[b+96>>2]+4>>2];e=a;g=La-32|0;La=g;p:{q:{if(!(O[N[d+156>>2]+42|0]&16)){break q}a=N[d+4>>2];b=N[d+12>>2];N[g+28>>2]=0;if(!(O[a+8|0]&8)|(!a|b>>>0>=Q[a+16>>2])){break q}c=N[N[a+540>>2]+132>>2];if(!c){break q}if(!(Qa[c|0](a,b,g+16|0,g+12|0,g+20|0)|0)){break q}r:{if(fi(a,0)){break r}c=N[a+540>>2];s:{while(1){if(uc(a,N[g+16>>2],N[N[d+156>>2]+40>>2]&-1048581|4)){break s}if(Qa[N[c+152>>2]](a,N[g+12>>2],d,N[a+84>>2])|0){break s}t:{if(!(O[a+8|0]&8)|b>>>0>=Q[a+16>>2]){break t}f=N[N[a+540>>2]+132>>2];if(!f){break t}if(Qa[f|0](a,b,g+16|0,g+12|0,g+20|0)|0){continue}}break}N[d+72>>2]=1651078259;u:{e=N[a+84>>2];if(!e){break u}f=N[e+4>>2];a=N[f+84>>2];if(!a){break u}d=N[N[f+96>>2]+8>>2];v:{if((a|0)==(e|0)){b=0;break v}while(1){c=N[a+8>>2];if(!c){break u}b=a;a=c;if((e|0)!=(a|0)){continue}break}}N[(b?b+8|0:f+84|0)>>2]=N[e+8>>2];a=N[e+20>>2];if(a){Qa[a|0](e)}af(e);Qa[N[d+8>>2]](d,e);b=0;break p}b=0;break p}f=N[a+84>>2];if(!f){break r}i=N[f+4>>2];a=N[i+84>>2];if(!a){break r}j=N[N[i+96>>2]+8>>2];w:{if((a|0)==(f|0)){b=0;break w}while(1){c=N[a+8>>2];if(!c){break r}b=a;a=c;if((f|0)!=(a|0)){continue}break}}N[(b?b+8|0:i+84|0)>>2]=N[f+8>>2];a=N[f+20>>2];if(a){Qa[a|0](f)}af(f);Qa[N[j+8>>2]](j,f)}N[d+72>>2]=1869968492}i=N[d+72>>2];x:{if((i|0)!=1869968492){b=7;if(!h){break p}a=N[h+148>>2];if(!a){break p}f=h+148|0;while(1){c=N[a+8>>2];if((i|0)==N[c+16>>2]){break x}a=N[a+4>>2];if(a){continue}break}break p}c=N[h+156>>2];if(!c){b=7;break p}f=h+148|0;a=N[h+148>>2]}b=0;c=Qa[N[c+60>>2]](c,d,e,0)|0;if(!c){break p}while(1){y:{z:{if((c&255)!=19){break z}a=N[(a?a+4|0:f)>>2];if(!a){break z}b=N[d+72>>2];while(1){h=N[a+8>>2];if((b|0)==N[h+16>>2]){break y}a=N[a+4>>2];if(a){continue}break}}b=c;break p}b=0;c=Qa[N[h+60>>2]](h,d,e,0)|0;if(c){continue}break}}La=g+32|0;return b}ig(d,a,0)}return e}function $y(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;m=La-560|0;La=m;N[m+44>>2]=0;A(+b);g=v(1)|0;v(0)|0;a:{if((g|0)<0){s=1;x=8236;b=-b;A(+b);g=v(1)|0;v(0)|0;break a}if(e&2048){s=1;x=8239;break a}s=e&1;x=s?8242:8237;z=!s}b:{if((g&2146435072)==2146435072){g=s+3|0;hc(a,32,c,g,e&-65537);_b(a,x,s);d=f&32;_b(a,b!=b?d?13118:19802:d?15186:19988,3);hc(a,32,c,g,e^8192);o=(c|0)<(g|0)?g:c;break b}u=m+16|0;c:{d:{e:{b=Ud(b,m+44|0);b=b+b;if(b!=0){g=N[m+44>>2];N[m+44>>2]=g-1;w=f|32;if((w|0)!=97){break e}break c}w=f|32;if((w|0)==97){break c}j=N[m+44>>2];l=(d|0)<0?6:d;break d}j=g-29|0;N[m+44>>2]=j;b=b*268435456;l=(d|0)<0?6:d}q=(m+48|0)+((j|0)>=0?288:0)|0;h=q;while(1){if(b<4294967296&b>=0){d=~~b>>>0}else{d=0}N[h>>2]=d;h=h+4|0;b=(b-+(d>>>0))*1e9;if(b!=0){continue}break}f:{if((j|0)<=0){d=j;g=h;i=q;break f}i=q;d=j;while(1){k=(d|0)>=29?29:d;g=h-4|0;g:{if(i>>>0>g>>>0){break g}n=0;while(1){d=N[g>>2];o=k&31;y=n;if((k&63)>>>0>=32){n=d<>>32-o;d=d<>>0>o>>>0?n+1|0:n,1e9,0);d=TE(n,Pa,-1e9,0)+o|0;N[g>>2]=d;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!n){break g}i=i-4|0;N[i>>2]=n}while(1){g=h;if(i>>>0>>0){h=g-4|0;if(!N[h>>2]){continue}}break}d=N[m+44>>2]-k|0;N[m+44>>2]=d;h=g;if((d|0)>0){continue}break}}if((d|0)<0){t=((l+25>>>0)/9|0)+1|0;p=(w|0)==102;while(1){d=0-d|0;o=(d|0)>=9?9:d;h:{if(g>>>0<=i>>>0){h=N[i>>2];break h}n=1e9>>>o|0;k=-1<>2];N[h>>2]=y+(d>>>o|0);d=T(n,d&k);h=h+4|0;if(h>>>0>>0){continue}break}h=N[i>>2];if(!d){break h}N[g>>2]=d;g=g+4|0}d=o+N[m+44>>2]|0;N[m+44>>2]=d;i=(!h<<2)+i|0;h=p?q:i;g=g-h>>2>(t|0)?h+(t<<2)|0:g;if((d|0)<0){continue}break}}d=0;i:{if(g>>>0<=i>>>0){break i}d=T(q-i>>2,9);h=10;k=N[i>>2];if(k>>>0<10){break i}while(1){d=d+1|0;h=T(h,10);if(k>>>0>=h>>>0){continue}break}}h=(l-((w|0)!=102?d:0)|0)-((w|0)==103&(l|0)!=0)|0;if((h|0)<(T(g-q>>2,9)-9|0)){n=h+9216|0;k=(n|0)/9|0;j=((((j|0)<0?4:292)+m|0)+(k<<2)|0)-4048|0;h=10;o=n+T(k,-9)|0;if((o|0)<=7){while(1){h=T(h,10);o=o+1|0;if((o|0)!=8){continue}break}}n=N[j>>2];t=(n>>>0)/(h>>>0)|0;p=T(t,h);k=j+4|0;j:{if((n|0)==(p|0)&(k|0)==(g|0)){break j}n=n-p|0;k:{if(!(t&1)){b=9007199254740992;if(!(L[j-4|0]&1)|((h|0)!=1e9|i>>>0>=j>>>0)){break k}}b=9007199254740994}r=(g|0)==(k|0)?1:1.5;k=h>>>1|0;r=k>>>0>n>>>0?.5:(k|0)==(n|0)?r:1.5;if(!(O[x|0]!=45|z)){r=-r;b=-b}N[j>>2]=p;if(b+r==b){break j}d=h+p|0;N[j>>2]=d;if(d>>>0>=1e9){while(1){N[j>>2]=0;j=j-4|0;if(j>>>0>>0){i=i-4|0;N[i>>2]=0}d=N[j>>2]+1|0;N[j>>2]=d;if(d>>>0>999999999){continue}break}}d=T(q-i>>2,9);h=10;k=N[i>>2];if(k>>>0<10){break j}while(1){d=d+1|0;h=T(h,10);if(k>>>0>=h>>>0){continue}break}}h=j+4|0;g=g>>>0>h>>>0?h:g}while(1){k=g;n=g>>>0<=i>>>0;if(!n){g=g-4|0;if(!N[g>>2]){continue}}break}l:{if((w|0)!=103){j=e&8;break l}h=l?l:1;g=(h|0)>(d|0)&(d|0)>-5;l=(g?d^-1:-1)+h|0;f=(g?-1:-2)+f|0;j=e&8;if(j){break l}g=-9;m:{if(n){break m}j=N[k-4>>2];if(!j){break m}o=10;g=0;if((j>>>0)%10|0){break m}while(1){h=g;g=g+1|0;o=T(o,10);if(!((j>>>0)%(o>>>0)|0)){continue}break}g=h^-1}h=T(k-q>>2,9);if((f&-33)==70){j=0;g=(g+h|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g;break l}j=0;g=((d+h|0)+g|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g}o=-1;n=j|l;if(((n?2147483645:2147483646)|0)<(l|0)){break b}p=(((n|0)!=0)+l|0)+1|0;h=f&-33;n:{if((h|0)==70){if((p^2147483647)<(d|0)){break b}g=(d|0)>0?d:0;break n}g=d>>31;g=te((g^d)-g|0,0,u);if((u-g|0)<=1){while(1){g=g-1|0;L[g|0]=48;if((u-g|0)<2){continue}break}}t=g-2|0;L[t|0]=f;L[g-1|0]=(d|0)<0?45:43;g=u-t|0;if((g|0)>(p^2147483647)){break b}}d=g+p|0;if((d|0)>(s^2147483647)){break b}p=d+s|0;hc(a,32,c,p,e);_b(a,x,s);hc(a,48,c,p,e^65536);o:{p:{q:{if((h|0)==70){f=m+16|0;d=f|8;j=f|9;h=i>>>0>q>>>0?q:i;i=h;while(1){g=te(N[i>>2],0,j);r:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break r}while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}break r}if((g|0)!=(j|0)){break r}L[m+24|0]=48;g=d}_b(a,g,j-g|0);i=i+4|0;if(q>>>0>=i>>>0){continue}break}if(n){_b(a,22483,1)}if((l|0)<=0|i>>>0>=k>>>0){break q}while(1){g=te(N[i>>2],0,j);if(g>>>0>m+16>>>0){while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}}_b(a,g,(l|0)>=9?9:l);g=l-9|0;i=i+4|0;if(k>>>0<=i>>>0){break p}d=(l|0)>9;l=g;if(d){continue}break}break p}s:{if((l|0)<0){break s}q=i>>>0>>0?k:i+4|0;f=m+16|0;d=f|8;k=f|9;h=i;while(1){g=te(N[h>>2],0,k);if((k|0)==(g|0)){L[m+24|0]=48;g=d}t:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break t}while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}break t}_b(a,g,1);g=g+1|0;if(!(j|l)){break t}_b(a,22483,1)}f=k-g|0;_b(a,g,(f|0)<(l|0)?f:l);l=l-f|0;h=h+4|0;if(q>>>0<=h>>>0){break s}if((l|0)>=0){continue}break}}hc(a,48,l+18|0,18,0);_b(a,t,u-t|0);break o}g=l}hc(a,48,g+9|0,9,0)}hc(a,32,c,p,e^8192);o=(c|0)<(p|0)?p:c;break b}j=(f<<26>>31&9)+x|0;u:{if(d>>>0>11){break u}g=12-d|0;r=16;while(1){r=r*16;g=g-1|0;if(g){continue}break}if(O[j|0]==45){b=-(r+(-b-r));break u}b=b+r-r}q=s|2;i=f&32;h=N[m+44>>2];g=h>>31;g=te((g^h)-g|0,0,u);if((u|0)==(g|0)){L[m+15|0]=48;g=m+15|0}l=g-2|0;L[l|0]=f+15;L[g-1|0]=(h|0)<0?45:43;g=e&8;h=m+16|0;while(1){f=h;if(V(b)<2147483648){k=~~b}else{k=-2147483648}L[h|0]=i|O[k+584032|0];b=(b-+(k|0))*16;h=f+1|0;if(!(!((d|0)>0|g)&b==0|(h-(m+16|0)|0)!=1)){L[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}o=-1;g=u-l|0;f=g+q|0;if((2147483645-f|0)<(d|0)){break b}k=f;f=m+16|0;i=h-f|0;d=d?(i-2|0)<(d|0)?d+2|0:i:i;h=k+d|0;hc(a,32,c,h,e);_b(a,j,q);hc(a,48,c,h,e^65536);_b(a,f,i);hc(a,48,d-i|0,0,0);_b(a,l,g);hc(a,32,c,h,e^8192);o=(c|0)<(h|0)?h:c}La=m+560|0;return o|0}function BC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;k=La-432|0;La=k;u=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{c=N[b+40>>2];b:{if(!c){break b}d=c+(N[b+36>>2]<<2)|0;g=d-4|0;c:{d:{if(c>>>0<=g>>>0){while(1){e=N[g>>2];e:{if(N[e+4>>2]!=1970170211){break e}f:{switch(P[e+8>>1]){case 3:if(P[e+10>>1]!=10){break e}break d;case 0:break f;default:break e}}if(P[e+10>>1]==4){break d}}g=g-4|0;if(c>>>0<=g>>>0){continue}break}}while(1){d=d-4|0;if(c>>>0>d>>>0){break c}e=N[d>>2];if(N[e+4>>2]!=1970170211){continue}break}}N[b+92>>2]=e;Hp(a,b);g=N[N[a>>2]+12>>2];o=db(1,172);g:{if(!o){o=588184;break g}N[o+148>>2]=1073741823;N[o+152>>2]=536870911;N[o>>2]=1;N[o+4>>2]=1;c=Ic();h:{if(!c){break h}d=N[c>>2];if(!d){break h}if((d|0)<=0){break a}N[c>>2]=d+1}L[o+60|0]=1;N[o+24>>2]=65533;N[o+12>>2]=c}d=(g<<3)+283472|0;e=N[d>>2];if((e|0)!=5531){B=a+7720|0;C=a+44|0;while(1){w=d;d=e+277936|0;e=O[d|0];i:{if(!e){break i}v=P[w+4>>1];z=v&2;x=z?C:B;y=1;A=v&1;r=0;s=0;while(1){c=e&255;if((c|0)!=32){j:{k:{if((c|0)==124){d=d+1|0;break k}d=De(d,a,o,k+12|0);if(Q[k+12>>2]>1){break j}c=N[o+80>>2];g=N[o+68>>2];l:{if(O[o+63|0]|N[o+168>>2]){break l}N[o+84>>2]=c;N[o+72>>2]=0;M[o+62>>1]=256;f=T(g,20);if(!f){break l}G(N[o+88>>2],0,f)}if(!g){break j}c=N[c>>2];if(!c){break j}if(uc(b,c,1)){break j}c=N[b+84>>2];if(M[c+110>>1]<3){break j}l=M[c+108>>1];m:{if((l|0)<=0){e=0;break m}t=N[c+120>>2];i=N[c+112>>2];if(!z){h=-1;g=0;e=0;n=0;if(!A){while(1){f=g;p=M[(n<<1)+t>>1];g=p+1|0;n:{if((f|0)>=(p|0)){break n}if(g-f&1){c=N[(i+(f<<3)|0)+4>>2];j=(h|0)<0|(c|0)<(e|0);h=j?f:h;e=j?c:e;c=f+1|0}else{c=f}if((f|0)==(p|0)){break n}while(1){f=h;m=(h|0)<0;h=N[(i+(c<<3)|0)+4>>2];j=m|(h|0)<(e|0);q=j?c:f;f=c+1|0;m=N[(i+(f<<3)|0)+4>>2];j=j?h:e;e=(q|0)<0|(m|0)<(j|0);h=e?f:q;e=e?m:j;c=c+2|0;if((f|0)!=(p|0)){continue}break}}n=n+1|0;if((l|0)!=(n|0)){continue}break m}}while(1){f=g;p=M[(n<<1)+t>>1];g=p+1|0;o:{if((f|0)>=(p|0)){break o}if(g-f&1){c=N[(i+(f<<3)|0)+4>>2];j=(h|0)<0|(c|0)>(e|0);h=j?f:h;e=j?c:e;c=f+1|0}else{c=f}if((f|0)==(p|0)){break o}while(1){f=h;m=(h|0)<0;h=N[(i+(c<<3)|0)+4>>2];j=m|(h|0)>(e|0);q=j?c:f;f=c+1|0;m=N[(i+(f<<3)|0)+4>>2];j=j?h:e;e=(q|0)<0|(m|0)>(j|0);h=e?f:q;e=e?m:j;c=c+2|0;if((f|0)!=(p|0)){continue}break}}n=n+1|0;if((l|0)!=(n|0)){continue}break}break m}h=-1;g=0;e=0;n=0;if(!A){while(1){f=g;p=M[(n<<1)+t>>1];g=p+1|0;p:{if((f|0)>=(p|0)){break p}if(g-f&1){c=N[i+(f<<3)>>2];j=(h|0)<0|(c|0)<(e|0);h=j?f:h;e=j?c:e;c=f+1|0}else{c=f}if((f|0)==(p|0)){break p}while(1){f=h;m=(h|0)<0;h=N[i+(c<<3)>>2];j=m|(h|0)<(e|0);q=j?c:f;f=c+1|0;m=N[i+(f<<3)>>2];j=j?h:e;e=(q|0)<0|(m|0)<(j|0);h=e?f:q;e=e?m:j;c=c+2|0;if((f|0)!=(p|0)){continue}break}}n=n+1|0;if((l|0)!=(n|0)){continue}break m}}while(1){f=g;p=M[(n<<1)+t>>1];g=p+1|0;q:{if((f|0)>=(p|0)){break q}if(g-f&1){c=N[i+(f<<3)>>2];j=(h|0)<0|(c|0)>(e|0);h=j?f:h;e=j?c:e;c=f+1|0}else{c=f}if((f|0)==(p|0)){break q}while(1){f=h;m=(h|0)<0;h=N[i+(c<<3)>>2];j=m|(h|0)>(e|0);q=j?c:f;f=c+1|0;m=N[i+(f<<3)>>2];j=j?h:e;e=(q|0)<0|(m|0)>(j|0);h=e?f:q;e=e?m:j;c=c+2|0;if((f|0)!=(p|0)){continue}break}}n=n+1|0;if((l|0)!=(n|0)){continue}break}}if(y){N[(k+224|0)+(r<<2)>>2]=e;y=1;r=r+1|0;break j}N[(k+16|0)+(s<<2)>>2]=e;s=s+1|0}y=0}e=O[d|0];if(e){continue}if(!(r|s)){break i}r:{if(r>>>0<2){break r}c=1;if((r|0)!=2){d=r-1|0;h=d&1;n=d&-2;f=0;while(1){e=N[(k+224|0)+(c<<2)>>2];d=c;while(1){i=k+224|0;g=d-1|0;l=i+(g<<2)|0;t=N[l>>2];if((t|0)>(e|0)){N[i+(d<<2)>>2]=t;N[l>>2]=e;d=g;if(d){continue}}break}d=c+1|0;g=N[(k+224|0)+(d<<2)>>2];while(1){s:{i=d<<2;e=i+k|0;l=N[e+220>>2];if((l|0)<=(g|0)){break s}m=i;i=k+224|0;N[m+i>>2]=l;N[e+220>>2]=g;d=d-2|0;i=i+(d<<2)|0;l=N[i>>2];if((l|0)<=(g|0)){break s}N[e+220>>2]=l;N[i>>2]=g;if(d){continue}}break}c=c+2|0;f=f+2|0;if((n|0)!=(f|0)){continue}break}if(!h){break r}}g=N[(k+224|0)+(c<<2)>>2];while(1){f=k+224|0;d=c-1|0;e=f+(d<<2)|0;h=N[e>>2];if((h|0)<=(g|0)){break r}N[f+(c<<2)>>2]=h;N[e>>2]=g;c=d;if(c){continue}break}}t:{if(s>>>0<2){break t}c=1;if((s|0)!=2){d=s-1|0;h=d&1;n=d&-2;f=0;while(1){e=N[(k+16|0)+(c<<2)>>2];d=c;while(1){i=k+16|0;g=d-1|0;l=i+(g<<2)|0;t=N[l>>2];if((t|0)>(e|0)){N[i+(d<<2)>>2]=t;N[l>>2]=e;d=g;if(d){continue}}break}d=c+1|0;g=N[(k+16|0)+(d<<2)>>2];while(1){u:{i=d<<2;e=i+k|0;l=N[e+12>>2];if((l|0)<=(g|0)){break u}m=i;i=k+16|0;N[m+i>>2]=l;N[e+12>>2]=g;d=d-2|0;i=i+(d<<2)|0;l=N[i>>2];if((l|0)<=(g|0)){break u}N[e+12>>2]=l;N[i>>2]=g;if(d){continue}}break}c=c+2|0;f=f+2|0;if((n|0)!=(f|0)){continue}break}if(!h){break t}}g=N[(k+16|0)+(c<<2)>>2];while(1){f=k+16|0;d=c-1|0;e=f+(d<<2)|0;h=N[e>>2];if((h|0)<=(g|0)){break t}N[f+(c<<2)>>2]=h;N[e>>2]=g;c=d;if(c){continue}break}}c=N[x+216>>2];N[x+216>>2]=c+1;c=T(c,28)+x|0;d=N[(k+224|0)+(r<<1&-4)>>2];v:{w:{if(!s){break w}d=N[(k+16|0)+(s<<1&-4)>>2];if(!r){break w}d=N[(k+224|0)+(r<<1&-4)>>2];N[c+220>>2]=d;g=N[(k+16|0)+(s<<1&-4)>>2];N[c+232>>2]=g;if(((d|0)<=(g|0)^v)&1|(d|0)==(g|0)){break v}d=(d+g|0)/2|0}N[c+232>>2]=d;N[c+220>>2]=d}N[c+244>>2]=v<<1&2}else{e=O[d+1|0];d=d+1|0;continue}break}}d=w+8|0;e=N[w+8>>2];if((e|0)!=5531){continue}break}}bc(o);Gp(a)}if(!b|!u){break b}d=N[b+40>>2];if(!d){break b}a=N[b+36>>2];if((a|0)<=0){break b}a=(a<<2)+d|0;while(1){x:{if(N[d>>2]!=(u|0)){break x}c=N[u>>2];y:{if(!c){break y}c=N[c+96>>2];g=N[N[c>>2]+32>>2];if(!g){break y}c=Qa[g|0](c,10557)|0;if(!c){break y}if(Qa[N[c>>2]](u,k+224|0)|0){break y}if(N[k+228>>2]==14){break x}}N[b+92>>2]=N[d>>2];break b}d=d+4|0;if(a>>>0>d>>>0){continue}break}}La=k+432|0;return 0}ba(23506,14099,260,16403);F()}function eE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-32|0;La=g;a:{b:{if(ib(c,b,12151,0)){p=Og(b,c,1,11,-1,-1);o=N[c+68>>2];if(o){d=o-1|0;l=N[c+80>>2];k=l+3|0;a=0;e=O[l+15|0];while(1){c:{if((a|0)==(d|0)){a=o;break c}a=a+1|0;if(O[(k+T(a,20)|0)+12|0]==(e|0)){continue}}break}d=0;while(1){k=a;d:{if(e&14){break d}e:{f:{a=d+3|0;if(k>>>0>>0){break f}e=T(d,20)+l|0;if(O[e+18|0]!=15|O[e+38|0]!=32|O[e+58|0]!=4){break f}i=0;j=3;break e}i=1;a=d;j=0}m=l+3|0;f=d;g:{if(a>>>0>=k>>>0){break g}while(1){h:{e=T(a,20)+l|0;if(O[e+12|0]&32){break h}e=O[e+18|0];if(e>>>0>31|!(1<>>0>>0){a=0;e=d;if(!i){while(1){L[(m+T(e,20)|0)+16|0]=5;e=e+1|0;a=a+1|0;if((j|0)!=(a|0)){continue}break}}if(j-1>>>0>6){while(1){a=m+T(e,20)|0;L[a+36|0]=5;L[a+16|0]=5;L[a+56|0]=5;L[a+76|0]=5;L[a+96|0]=5;L[a+116|0]=5;L[a+136|0]=5;L[a+156|0]=5;e=e+8|0;if((h|0)!=(e|0)){continue}break}}a=h}if(a>>>0>>0){j=f+(a^-1)|0;e=0;h=f-a&7;if(h){while(1){L[(m+T(a,20)|0)+16|0]=3;a=a+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(j>>>0>=7){while(1){e=m+T(a,20)|0;L[e+36|0]=3;L[e+16|0]=3;L[e+56|0]=3;L[e+76|0]=3;L[e+96|0]=3;L[e+116|0]=3;L[e+136|0]=3;L[e+156|0]=3;a=a+8|0;if((f|0)!=(a|0)){continue}break}}a=f}if(a>>>0>>0){L[(T(a,20)+l|0)+19|0]=4;a=a+1|0}e=5;if(a>>>0>>0){while(1){i:{j:{k:{l:{m:{h=T(a,20);f=h+l|0;j=O[f+18|0];switch(j-22|0){case 18:break k;case 0:break l;case 14:break m;default:break j}}L[f+19|0]=3;break i}L[f+19|0]=2;break i}L[f+19|0]=O[(h+m|0)-4|0];break i}n:{o:{if((e|0)==5&(j|0)==21){break o}if((e|0)!=8){break n}if((j|0)==9){L[f+19|0]=7;e=8;break i}if((j|0)==21){break o}e=9;break n}e=8}L[f+19|0]=e}a=a+1|0;if((k|0)!=(a|0)){continue}break}}if(O[c+63|0]){break b}f=d;h=d+1|0;a=h;if(k>>>0>a>>>0){while(1){j=f;f=a;i=a>>>0>d>>>0?d:a;e=a;while(1){p:{a=e;if(d>>>0>=a>>>0){a=i;break p}n=N[c+80>>2];e=a-1|0;if(O[(n+T(e,20)|0)+19|0]>O[(T(f,20)+n|0)+19|0]){continue}}break}if((a|0)!=(f|0)){e=j+2|0;if(e-a>>>0>=2){Ib(c,a,e)}j=N[c+80>>2];e=j+T(f,20)|0;N[g+24>>2]=N[e+16>>2];i=N[e+12>>2];N[g+16>>2]=N[e+8>>2];N[g+20>>2]=i;i=N[e+4>>2];N[g+8>>2]=N[e>>2];N[g+12>>2]=i;e=T(a,20);j=e+j|0;B(j+20|0,j,T(f-a|0,20));a=e+N[c+80>>2]|0;e=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=e;N[a+16>>2]=N[g+24>>2];e=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=e}a=f+1|0;if((k|0)!=(a|0)){continue}break}}if(d>>>0>=k>>>0){break d}q:{if(!(k-d&1)){j=k;break q}j=O[(m+T(d,20)|0)+16|0]==2?d:k;d=h}e=j;if((h|0)==(k|0)){break d}while(1){a=d+1|0;f=m+T(d,20)|0;h=O[f+16|0]==2;f=O[f+36|0]==2;j=f?a:h?d:j;i=a;a=h?(e|0)==(k|0)?d:e:e;e=f?(a|0)==(k|0)?i:a:a;d=d+2|0;if((k|0)!=(d|0)){continue}break}if(e>>>0>=j>>>0){break d}a=N[c+68>>2];i=j+1|0;d=a>>>0>>0?a:i;h=a>>>0>>0?a:e;r:{if(d>>>0>>0){break r}f=d-1|0;if(h>>>0>=f>>>0){break r}m=N[c+80>>2];while(1){a=m+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=m+T(h,20)|0;N[a+16>>2]=N[d+16>>2];n=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=n;n=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=n;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}s:{if(!O[c+63|0]){break s}a=N[c+68>>2];d=a>>>0>>0?a:i;h=a>>>0>>0?a:e;if(d>>>0>>0){break s}f=d-1|0;if(h>>>0>=f>>>0){break s}i=N[c+88>>2];while(1){a=i+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=i+T(h,20)|0;N[a+16>>2]=N[d+16>>2];m=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=m;m=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=m;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}m=l+2|0;a=e;while(1){d=a;f=e;e=e+1|0;t:{if(O[(m+T(f,20)|0)+16|0]!=22){break t}f=N[c+68>>2];i=e>>>0>f>>>0?f:e;h=a>>>0>f>>>0?f:a;u:{if(i>>>0>>0){break u}f=i-1|0;if(h>>>0>=f>>>0){break u}l=N[c+80>>2];while(1){i=l+T(f,20)|0;N[g+24>>2]=N[i+16>>2];a=N[i+12>>2];N[g+16>>2]=N[i+8>>2];N[g+20>>2]=a;a=N[i+4>>2];N[g+8>>2]=N[i>>2];N[g+12>>2]=a;a=l+T(h,20)|0;N[i+16>>2]=N[a+16>>2];n=N[a+12>>2];N[i+8>>2]=N[a+8>>2];N[i+12>>2]=n;n=N[a+4>>2];N[i>>2]=N[a>>2];N[i+4>>2]=n;N[a+16>>2]=N[g+24>>2];i=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=i;i=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=i;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}a=e;if(!O[c+63|0]){break t}f=N[c+68>>2];i=a>>>0>f>>>0?f:a;h=d>>>0>f>>>0?f:d;if(i>>>0>>0){break t}f=i-1|0;if(h>>>0>=f>>>0){break t}i=N[c+88>>2];while(1){a=i+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=i+T(h,20)|0;N[a+16>>2]=N[d+16>>2];l=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=l;l=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=l;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}a=e}if(e>>>0<=j>>>0){continue}break}}a=N[c+68>>2];e=k+1|0;d=a>>>0>e>>>0?a:e;f=d-1|0;l=N[c+80>>2];e=O[(l+T(k,20)|0)+15|0];j=l+3|0;a=k;while(1){v:{if((a|0)==(f|0)){a=d;break v}a=a+1|0;if(O[(j+T(a,20)|0)+12|0]==(e&255)){continue}}break}d=k;if(o>>>0>d>>>0){continue}break}}ib(c,b,12176,0)}a=O[c+140|0];if(!(a&64)){break a}a=a<<24>>24;L[c+140|0]=a&191;if((a|0)>=0){break a}L[c+140|0]=a&63;La=g+32|0;return p|0}ba(10615,17855,2019,8730);F()}ba(22742,14165,187,12136);F()}function Yf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;e=La-1488|0;La=e;i=N[a+4>>2];q=N[i+556>>2];k=N[q+40>>2];a:{b:{c:{j=N[i+712>>2];if(N[j+1504>>2]==65535){break c}f=N[j+1192>>2];if(!f){break c}if(!c){c=0;break b}g=6;if(Q[j+1196>>2]>>0){break a}c=P[f+(c<<1)>>1];if(c){break b}break a}g=6;if(Q[j+20>>2]<=c>>>0){break a}}N[a+164>>2]=65536;N[a+168>>2]=65536;o=d&1024?d|3:d;d:{e:{if(!b){break e}N[a+164>>2]=N[b+16>>2];N[a+168>>2]=N[b+20>>2];d=N[b+44>>2];if(o&8|(d|0)==-1){break e}f=N[b>>2];g=N[f+540>>2];if(!N[g+96>>2]){break e}if(Qa[N[g+72>>2]](i,d,c,o,N[f+104>>2],a+76|0,e+708|0)|0){break e}N[a+108>>2]=0;N[a+24>>2]=P[e+710>>1]<<6;N[a+28>>2]=P[e+708>>1]<<6;b=M[e+712>>1];N[a+32>>2]=b<<6;d=M[e+714>>1];N[a+36>>2]=d<<6;N[a+40>>2]=P[e+716>>1]<<6;f=M[e+718>>1];N[a+44>>2]=f<<6;g=M[e+720>>1];N[a+48>>2]=g<<6;j=P[e+722>>1];h=d;d=o&16;N[a+104>>2]=d?g:h;N[a+100>>2]=d?f:b;N[a+72>>2]=1651078259;N[a+52>>2]=j<<6;b=e+32|0;d=e+52|0;Qa[N[N[i+540>>2]+156>>2]](i,0,c,b,d);N[a+56>>2]=P[e+52>>1];if(!(!O[i+292|0]|!P[i+330>>1])){Qa[N[N[i+540>>2]+156>>2]](i,1,c,b,d);N[a+60>>2]=P[e+52>>1];break d}if(P[i+372>>1]!=65535){N[a+60>>2]=M[i+442>>1]-M[i+444>>1];break d}N[a+60>>2]=M[i+220>>1]-M[i+222>>1];break d}g=6;if(o&16384){break a}l=N[j+2024>>2];f:{if(l){g=0;f=N[j+3060>>2];g:{if(!f){break g}h:{switch(O[j+3052|0]){case 0:g=O[c+f|0];break g;case 3:break h;default:break g}}if(Q[j+3072>>2]>c-N[j+3068>>2]>>>0){g=O[j+3076|0];break g}g=f+2|0;d=O[f+1|0]|O[f|0]<<8;h=f+N[j+3064>>2]|0;while(1){if(c>>>0>=d>>>0){f=O[g+2|0]|O[g+1|0]<<8;if(f>>>0>c>>>0){g=O[g|0];L[j+3076|0]=g;N[j+3072>>2]=f-d;N[j+3068>>2]=d;break g}d=f;g=g+3|0;if(h>>>0>g>>>0){continue}}break}g=0}l=(j+(((l>>>0>(g&255)>>>0?g:l-1|0)&255)<<2)|0)+2028|0;d=N[l>>2];f=N[d+68>>2];g=N[j+1440>>2];h=N[d+60>>2];N[e+40>>2]=N[d+56>>2];N[e+44>>2]=h;h=N[d+52>>2];N[e+32>>2]=N[d+48>>2];N[e+36>>2]=h;d=N[l>>2];l=N[d+72>>2];h=N[d+76>>2];if((g|0)==(f|0)){break f}w=a,x=jb(N[a+164>>2],g,f),N[w+164>>2]=x;w=a,x=jb(N[a+168>>2],g,f),N[w+168>>2]=x;r=1;break f}d=j+1428|0;f=N[d+4>>2];N[e+40>>2]=N[d>>2];N[e+44>>2]=f;d=j+1420|0;f=N[d+4>>2];N[e+32>>2]=N[d>>2];N[e+36>>2]=f;h=N[j+1448>>2];l=N[j+1444>>2]}N[a+108>>2]=0;N[a+72>>2]=1869968492;s=o&1;L[a+161|0]=!s;n=!(o&2);L[a+160|0]=n;Qa[N[k>>2]](e+708|0,i,b,a,n,o>>>16&15,153,154);if(o&256){L[e+1301|0]=1}t=o&1024;L[e+774|0]=t>>>10;d=N[N[i+128>>2]+52>>2];i:{if(d){g=Qa[N[N[d>>2]>>2]](N[d+4>>2],c,e+52|0)|0;N[e+28>>2]=N[e+52>>2];N[e+24>>2]=N[e+56>>2];break i}g=Xf(N[i+712>>2]+1204|0,c,e+28|0,e+24|0)}if(g){break a}d=e+708|0;g=Qa[N[k+4>>2]](d,b,c)|0;if(g){break a}p=e+52|0;Qa[N[q+24>>2]](p,d,0);f=N[e+28>>2];d=N[e+24>>2];g=Qa[N[k+8>>2]](p,f,d)|0;if((g&255)==164){L[a+160|0]=0;r=1;n=0;g=Qa[N[k+8>>2]](p,f,d)|0}k=N[N[i+128>>2]+52>>2];j:{if(k){N[e+12>>2]=d;N[e+8>>2]=f;Qa[N[N[k>>2]+4>>2]](N[k+4>>2],e+8|0);break j}k=N[i+712>>2];if(N[k+1236>>2]){break j}k=N[k+1204>>2];if(!f|(!k|!N[k+20>>2])){break j}k=N[k+28>>2];Qa[N[k+8>>2]](k,f)}if(g){break a}g=0;k:{if(N[N[i+128>>2]+52>>2]){d=0}else{f=N[j+1232>>2];if(!f){break k}g=(N[j+1236>>2]+N[f+(c<<2)>>2]|0)-1|0}N[a+140>>2]=d;N[a+136>>2]=g}Qa[N[e+788>>2]](e+708|0);d=N[N[i+128>>2]+52>>2];l:{if(!d){break l}f=N[N[d>>2]+8>>2];if(!f){break l}N[e+12>>2]=0;N[e+8>>2]=N[e+740>>2];g=N[e+752>>2];N[e+16>>2]=N[e+748>>2];N[e+20>>2]=g;g=Qa[f|0](N[d+4>>2],c,0,e+8|0)|0;N[e+740>>2]=N[e+8>>2];d=N[e+20>>2];N[e+748>>2]=N[e+16>>2];N[e+752>>2]=d;if(g){break a}}if(t){N[a+32>>2]=N[e+740>>2];N[a+40>>2]=N[e+1292>>2];b=N[e+40>>2];c=N[e+44>>2];d=N[e+32>>2];f=N[e+36>>2];a=N[a+156>>2];N[a+28>>2]=l;N[a+32>>2]=h;L[a+8|0]=1;N[a+20>>2]=b;N[a+24>>2]=c;N[a+12>>2]=d;N[a+16>>2]=f;break d}m:{if(P[i+250>>1]){M[e+8>>1]=0;M[e+28>>1]=0;Qa[N[N[i+540>>2]+156>>2]](i,0,c,e+8|0,e+28|0);d=P[e+28>>1];N[a+32>>2]=M[e+8>>1];break m}d=N[e+1292>>2]}N[a+56>>2]=d;N[a+40>>2]=d;L[N[a+156>>2]+8|0]=0;n:{if(!(!O[i+292|0]|!P[i+330>>1])){M[e+8>>1]=0;M[e+28>>1]=0;Qa[N[N[i+540>>2]+156>>2]](i,1,c,e+8|0,e+28|0);N[a+48>>2]=M[e+8>>1];f=P[e+28>>1];N[a+52>>2]=f;i=1;break n}if(P[i+372>>1]!=65535){f=M[i+442>>1]-M[i+444>>1]|0}else{f=M[i+220>>1]-M[i+222>>1]|0}N[a+52>>2]=f;i=0}N[a+72>>2]=1869968492;N[a+60>>2]=f;k=a+108|0;N[a+124>>2]=b?P[b+14>>1]<24?260:4:4;o:{if(!(N[e+36>>2]|(N[e+32>>2]!=65536|N[e+44>>2]!=65536))){if(!N[e+40>>2]){break o}}jg(k,e+32|0);w=a,x=qb(N[a+40>>2],N[e+32>>2]),N[w+40>>2]=x;f=qb(N[a+52>>2],N[e+44>>2]);N[a+52>>2]=f}if(h|l){se(k,l,h);N[a+40>>2]=N[a+40>>2]+l;f=N[a+52>>2]+h|0;N[a+52>>2]=f}if(!(r?0:s)){b=N[a+168>>2];g=N[a+164>>2];p:{if(N[e+776>>2]!=0&n){break p}c=M[a+110>>1];if((c|0)<=0){break p}c=c&65535;d=b>>31;j=(d^b)-d|0;r=j&65535;p=j>>>16|0;q=j>>>8|0;d=g>>31;l=(d^g)-d|0;s=l&65535;t=l>>>16|0;v=l>>>8|0;d=N[a+112>>2];while(1){n=N[d>>2];h=n>>31;h=(h^n)-h|0;q:{if(h+v>>>0<=8190){m=T(h,l)+32768>>>16|0;break q}m=h&65535;m=T(m,t)+T(l,h>>>16|0)+(T(s,m)+32768>>>16)|0}h=m;u=0-h|0;h=n>>31|1;N[d>>2]=(((g|0)<0?0-h|0:h)|0)<0?u:m;n=N[d+4>>2];h=n>>31;h=(h^n)-h|0;r:{if(h+q>>>0<=8190){m=T(h,j)+32768>>>16|0;break r}m=h&65535;m=T(m,p)+T(j,h>>>16|0)+(T(r,m)+32768>>>16)|0}h=m;u=0-h|0;h=n>>31|1;N[d+4>>2]=(((b|0)<0?0-h|0:h)|0)<0?u:m;d=d+8|0;h=c>>>0>1;c=c-1|0;if(h){continue}break}}w=a,x=qb(N[a+40>>2],g),N[w+40>>2]=x;f=qb(f,b);N[a+52>>2]=f}En(k,e+8|0);b=N[e+8>>2];N[a+24>>2]=N[e+16>>2]-b;c=N[e+12>>2];d=N[e+20>>2];N[a+36>>2]=d;N[a+32>>2]=b;N[a+28>>2]=d-c;if(i){N[a+44>>2]=b+(N[a+40>>2]/-2|0);w=a,x=qb(N[a+48>>2],N[a+168>>2]),N[w+48>>2]=x;break d}if(!(o&16)){break d}tn(a+24|0,f)}g=0}La=e+1488|0;return g}function Xd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,H=0,I=0,J=0,K=0,Q=0,R=0,S=0;i=La-48|0;La=i;u=N[a>>2];y=N[a+40>>2];c=N[a+36>>2];e=N[N[a+2748>>2]+40>>2];L[i+39|0]=0;L[i+40|0]=0;L[i+41|0]=0;L[i+42|0]=0;N[i+32>>2]=0;N[i+36>>2]=0;N[i+24>>2]=0;N[i+28>>2]=0;N[i+8>>2]=0;N[i+16>>2]=0;N[i+20>>2]=0;N[i>>2]=0;N[i+4>>2]=0;d=T(b,1348)+a|0;v=d;N[d+44>>2]=0;d=N[d+68>>2];F=(e>>>0)/14|0;f=N[a+28>>2];e=N[a+24>>2];g=f+T(e,40)|0;a:{if(!b){if((e|0)<=0){break a}while(1){N[f+24>>2]=M[f+12>>1];N[f+28>>2]=M[f+14>>1];f=f+40|0;if(g>>>0>f>>>0){continue}break}break a}if((e|0)<=0){break a}while(1){N[f+24>>2]=M[f+14>>1];N[f+28>>2]=M[f+12>>1];f=f+40|0;if(g>>>0>f>>>0){continue}break}}b:{c:{d:{e:{if((c|0)<=0){break e}S=(c<<2)+y|0;o=T(b,1348)+a|0;x=o+72|0;c=d>>31;z=(c^d)-c|0;J=z;c=0;f:while(1){w=N[y>>2];e=L[N[w+36>>2]+3|0];d=e>>31;g:{if(((d^e)-d|0)!=(z|0)){break g}f=w;e=L[f+3|0];d=e>>31;if(((d^e)-d|0)!=(z|0)){break g}while(1){f=N[f+36>>2];e=L[f+3|0];d=e>>31;if(((d^e)-d|0)!=(z|0)){w=N[f+32>>2];break g}if((f|0)!=(w|0)){continue}break}}m=0;g=-32e3;e=32e3;f=w;d=32e3;n=-32e3;r=0;p=0;q=32e3;k=-32e3;K=0;j=0;l=32e3;s=-32e3;A=32e3;C=-32e3;H=0;I=0;D=32e3;E=-32e3;while(1){Q=1;h:{if(!m){break h}h=N[f+28>>2];m=P[f>>1];t=m&3;k=t?k:(h|0)>(k|0)?h:k;q=t?q:(h|0)<(q|0)?h:q;t=(h|0)>(n|0);p=t?m:p;n=t?h:n;t=m;m=(d|0)>(h|0);r=m?t:r;d=m?h:d;h=N[f+24>>2];g=(g|0)<(h|0)?h:g;e=(e|0)>(h|0)?h:e;if(!((f|0)==(w|0)|L[f+3|0]!=(J|0))){Q=0;break h}i:{if(j){h=N[c+36>>2];if((h|0)==N[j+40>>2]){break i}}N[c+40>>2]=f;M[c+4>>1]=g-e>>>1;M[c+2>>1]=e+g>>>1;if(!(!((p|r)&3)|(k-q|0)>=(F|0))){L[c|0]=O[c|0]|1}M[c+8>>1]=n;M[c+6>>1]=d;M[c+10>>1]=n-d;j=c;l=e;s=g;A=d;C=n;H=r;I=p;D=q;E=k;c=0;break h}j:{if(O[h+2|0]==O[f+2|0]){N[j+40>>2]=f;c=(n|0)<(C|0);n=c?C:n;M[j+8>>1]=n;h=(d|0)>(A|0);d=h?A:d;M[j+6>>1]=d;M[j+10>>1]=n-d;g=(g|0)<(s|0)?s:g;e=(e|0)>(l|0)?l:e;M[j+4>>1]=g-e>>>1;M[j+2>>1]=e+g>>>1;p=c?I:p;r=h?H:r;k=(k|0)<(E|0)?E:k;q=(q|0)>(D|0)?D:q;L[j|0]=O[j|0]&254|((p|r)&3)!=0&(k-q|0)<(F|0);break j}R=C-A|0;h=R>>31;m=n-d|0;t=m>>31;if((h^R)-h>>>0>(m^t)-t>>>0){N[j+40>>2]=f;s=(g|0)>(s|0)?g:s;l=(e|0)<(l|0)?e:l;M[j+4>>1]=s-l>>>1;M[j+2>>1]=l+s>>>1;break j}N[c+40>>2]=f;g=(g|0)<(s|0)?s:g;e=(e|0)>(l|0)?l:e;M[c+4>>1]=g-e>>>1;M[c+2>>1]=e+g>>>1;if(!(!((p|r)&3)|(k-q|0)>=(F|0))){L[c|0]=O[c|0]|1}M[c+6>>1]=d;M[c+10>>1]=m;M[c+8>>1]=n;N[j+40>>2]=N[c+40>>2];l=N[c+36>>2];N[j+32>>2]=N[c+32>>2];N[j+36>>2]=l;l=N[c+28>>2];N[j+24>>2]=N[c+24>>2];N[j+28>>2]=l;l=N[c+20>>2];N[j+16>>2]=N[c+16>>2];N[j+20>>2]=l;l=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=l;l=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=l;l=e;s=g;A=d;C=n;H=r;I=p;D=q;E=k}N[v+44>>2]=N[v+44>>2]-1;c=0}k:{l:{m:{n:{o:{if((f|0)==(w|0)){h=K;K=1;if(h){break o}}m=1;if(!Q){f=N[f+32>>2];continue}h=L[f+3|0];m=h>>31;p:{if(((h^m)-m|0)==(z|0)){break p}m=0;if(N[f+36>>2]==(f|0)){break p}f=N[f+32>>2];continue}c=N[v+44>>2];if((c|0)>=1001){k=0;N[v+44>>2]=0;break b}if((c|0)<=17){if(N[o+52>>2]){break k}N[o+52>>2]=x;N[o+48>>2]=18;break k}e=N[o+48>>2];if((e|0)>(c|0)){break k}q:{r:{s:{if((e|0)>=-16){c=(e+(e>>2)|0)+4|0;d=N[o+52>>2];if((x|0)!=(d|0)){break q}if((c|0)>=0){break s}k=6;break c}c=48806446;d=N[o+52>>2];if((x|0)==(d|0)){break r}break d}if(!c){c=0;N[o+52>>2]=0;B(0,x,792);break l}if((c|0)<=48806446){break r}k=10;break c}e=T(c,44);d=Qa[N[u+4>>2]](u,e)|0;if(!(!d|(c|0)<=0)){G(d,0,e);N[o+52>>2]=d;B(d,x,792);break l}N[o+52>>2]=d;if(!d){break n}B(d,x,792);break l}if((c|e)<0){break d}if(!c){if(!d){break m}Qa[N[u+8>>2]](u,d);break m}if((c|0)>48806446){k=10;N[o+52>>2]=d;break b}g=T(c,44);t:{if(!e){d=Qa[N[u+4>>2]](u,g)|0;k=!d<<6;break t}g=Qa[N[u+12>>2]](u,T(e,44),g,d)|0;d=g?g:d;k=!g<<6}if(!(k|(c|0)<=(e|0)|!d)){G(T(e,44)+d|0,0,T(c-e|0,44));N[o+52>>2]=d;break l}N[o+52>>2]=d;if(k){break b}break l}y=y+4|0;if(S>>>0>y>>>0){continue f}break e}k=!d<<6;break b}c=0;N[o+52>>2]=0}N[o+48>>2]=c;c=N[v+44>>2]}m=1;g=N[o+52>>2];N[v+44>>2]=c+1;p=T(c,44);c=p+g|0;L[c|0]=0;d=N[i+20>>2];e=N[i+16>>2];L[c+1|0]=e;L[c+2|0]=e>>>8;L[c+3|0]=e>>>16;L[c+4|0]=e>>>24;L[c+5|0]=d;L[c+6|0]=d>>>8;L[c+7|0]=d>>>16;L[c+8|0]=d>>>24;d=N[i+28>>2];e=N[i+24>>2];L[c+9|0]=e;L[c+10|0]=e>>>8;L[c+11|0]=e>>>16;L[c+12|0]=e>>>24;L[c+13|0]=d;L[c+14|0]=d>>>8;L[c+15|0]=d>>>16;L[c+16|0]=d>>>24;d=N[i+36>>2];e=N[i+32>>2];L[c+17|0]=e;L[c+18|0]=e>>>8;L[c+19|0]=e>>>16;L[c+20|0]=e>>>24;L[c+21|0]=d;L[c+22|0]=d>>>8;L[c+23|0]=d>>>16;L[c+24|0]=d>>>24;d=O[i+39|0]|O[i+40|0]<<8|(O[i+41|0]<<16|O[i+42|0]<<24);L[c+24|0]=d;L[c+25|0]=d>>>8;L[c+26|0]=d>>>16;L[c+27|0]=d>>>24;N[c+28>>2]=32e3;N[c+40>>2]=N[i+8>>2];d=N[i+4>>2];N[c+32>>2]=N[i>>2];N[c+36>>2]=d;L[c+1|0]=h;N[c+40>>2]=f;N[c+36>>2]=f;j=j?c-44|0:0;d=N[f+28>>2];r=P[f>>1];n=r&3;k=n?-32e3:d;q=n?32e3:d;e=N[f+24>>2];if(N[f+36>>2]==(f|0)){g=g+p|0;M[g+2>>1]=e;if(n){L[c|0]=1}M[g+10>>1]=0;M[g+8>>1]=d;M[g+6>>1]=d;m=0;c=0}g=e;n=d;p=r;J=h;f=N[f+32>>2];continue}}}k=0;f=N[(T(b,1348)+a|0)+52>>2];if(!f){break b}a=N[v+44>>2];if((a|0)<=0){break b}e=T(a,44)+f|0;while(1){b=N[f+36>>2];a=N[N[b+36>>2]+28>>2];b=N[b+28>>2];d=N[f+40>>2];c=N[d+28>>2];u:{v:{if((b|0)<(c|0)){if((a|0)<(b|0)){M[f+10>>1]=P[f+10>>1]+(b-a>>>1|0)}a=N[N[d+32>>2]+28>>2];if((a|0)<=(c|0)){break u}a=a-c|0;break v}if((a|0)>(b|0)){M[f+10>>1]=P[f+10>>1]+(a-b>>>1|0)}a=N[N[d+32>>2]+28>>2];if((a|0)>=(c|0)){break u}a=c-a|0}M[f+10>>1]=P[f+10>>1]+(a>>>1|0)}f=f+44|0;if(e>>>0>f>>>0){continue}break}break b}k=6;N[o+52>>2]=d;break b}N[o+52>>2]=0}La=i+48|0;return k}function di(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=La-48|0;La=g;o=N[a>>2];h=N[b+20>>2];a:{b:{if(h){f=85;if(Qa[h|0](b,c,0,0)|0){break a}l=N[b+4>>2];break b}f=85;l=N[b+4>>2];if(l>>>0>>0){break a}}N[b+8>>2]=c;if(c>>>0>=l>>>0){break a}h=N[b+20>>2];c:{if(h){l=Qa[h|0](b,c,g+16|0,16)|0;break c}h=l-c|0;l=h>>>0>=16?16:h;B(g+16|0,N[b>>2]+c|0,l)}N[b+8>>2]=c+l;if(l>>>0<16){break a}j=L[g+16|0];if((j|0)<0){f=2;break a}h=L[g+20|0];if((h|0)<0){f=2;break a}n=L[g+24|0];if((n|0)<0){f=2;break a}k=L[g+28|0];if((k|0)<0){f=2;break a}h=O[g+23|0]|(O[g+21|0]<<16|(h&255)<<24|O[g+22|0]<<8);if(!h){f=2;break a}i=O[g+31|0];k=i|(O[g+29|0]<<16|(k&255)<<24|O[g+30|0]<<8);n=O[g+27|0]|(O[g+25|0]<<16|(n&255)<<24|O[g+26|0]<<8);d:{j=O[g+19|0]|(O[g+17|0]<<16|(j&255)<<24|O[g+18|0]<<8);if(j>>>0>>0){if((j|0)<=(h-n|0)){break d}f=2;break a}if((h|0)<=(j-k|0)){break d}f=2;break a}if(j>>>0>(n^2147483647)>>>0){f=2;break a}if(h>>>0>(k^2147483647)>>>0){f=2;break a}if((j+n^2147483647)<(c|0)){f=2;break a}if((h+k^2147483647)<(c|0)){f=2;break a}j=c+j|0;l=j+n|0;n=N[b+4>>2];if(l>>>0>n>>>0){f=2;break a}c=c+h|0;if(n>>>0>>0){f=2;break a}h=N[b+20>>2];e:{if(h){if(Qa[h|0](b,c,0,0)|0){break a}i=O[g+31|0];break e}if(c>>>0>n>>>0){break a}}N[b+8>>2]=c;L[g+15|0]=i+1;f=Yb(b,g,16);if(f){break a}u=O[g|0];v=O[g+1|0];w=O[g+2|0];x=O[g+3|0];t=O[g+4|0];q=O[g+5|0];r=O[g+6|0];s=O[g+7|0];p=O[g+8|0];l=O[g+9|0];m=O[g+10|0];n=O[g+11|0];f=O[g+12|0];h=O[g+13|0];i=O[g+15|0];k=O[g+14|0];if(!(!(u|(v|(w|(x|(t|(q|(r|(s|(p|(l|(m|(n|(f|(h|(i|k)))))))))))))))|O[g+31|0]==(i|0)&O[g+30|0]==(k|0)&O[g+29|0]==(h|0)&O[g+28|0]==(f|0)&(n|0)==O[g+27|0]&(m|0)==O[g+26|0]&(l|0)==O[g+25|0]&(p|0)==O[g+24|0]&(s|0)==O[g+23|0]&(r|0)==O[g+22|0]&(q|0)==O[g+21|0]&(t|0)==O[g+20|0]&(x|0)==O[g+19|0]&(w|0)==O[g+18|0]&(v|0)==O[g+17|0]&(u|0)==O[g+16|0])){f=2;break a}h=N[b+8>>2]+8|0;i=N[b+20>>2];f:{g:{if(i){f=85;if(!(Qa[i|0](b,h,0,0)|0)){break g}break f}f=85;if(h>>>0>Q[b+4>>2]){break f}}N[b+8>>2]=h;f=0}N[g+44>>2]=f;h=xb(b,g+44|0);f=N[g+44>>2];if(f){break a}f=2;h=h<<16>>16;if((h|0)<0){break a}c=c+h|0;h=N[b+20>>2];h:{if(h){f=85;if(!(Qa[h|0](b,c,0,0)|0)){break h}break a}f=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;f=1;i:{j:{k:{if(!xn(N[a>>2],b,c,j,1347375956,1,g,g+44|0)){s=N[g>>2];l:{m:{n:{if(d+1>>>0>1){break n}t=N[g+44>>2];if((t|0)<=0){f=10;break n}r=N[a>>2];d=0;l=0;while(1){c=N[s+(l<<2)>>2];o:{p:{f=N[b+20>>2];if(f){if(!(Qa[f|0](b,c,0,0)|0)){break p}f=85;break m}f=N[b+4>>2];if(f>>>0>=c>>>0){break o}f=85;break m}f=N[b+4>>2]}N[b+8>>2]=c;q:{r:{s:{t:{if(c+3>>>0>=f>>>0){break t}h=N[b+20>>2];if(h){f=g+16|0;if((Qa[h|0](b,c,f,4)|0)!=4){break t}c=N[b+8>>2];break r}f=N[b>>2];if(!f){break s}f=c+f|0;break r}f=85;break m}N[b+8>>2]=c+4;c=0;break q}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);N[b+8>>2]=c+4;c=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(c>>>0<=16777215){break q}f=9;break m}d=d+6|0;if(d>>>0>(c^16777215)>>>0){f=9;break m}d=c+d|0;l=l+1|0;if((t|0)!=(l|0)){continue}break}q=d+2|0;m=Qa[N[r+4>>2]](r,q)|0;if(!m){f=64;break m}L[m+2|0]=0;L[m+3|0]=0;L[m+4|0]=0;L[m+5|0]=0;L[m|0]=128;L[m+1|0]=1;p=2;j=6;h=0;n=1;l=0;u:{while(1){c=N[s+(l<<2)>>2];f=N[b+20>>2];v:{if(f){if(Qa[f|0](b,c,0,0)|0){break u}f=N[b+4>>2];break v}f=N[b+4>>2];if(f>>>0>>0){break u}}N[b+8>>2]=c;if(c+3>>>0>=f>>>0){break u}w:{x:{i=N[b+20>>2];y:{if(i){f=g+16|0;if((Qa[i|0](b,c,f,4)|0)!=4){break u}c=N[b+8>>2];break y}f=N[b>>2];if(!f){break x}f=c+f|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break w}f=0}N[b+8>>2]=c+4;if((f|0)<0){break u}c=N[b+8>>2];if(Q[b+4>>2]<=c+1>>>0){break u}z:{A:{B:{k=N[b+20>>2];if(k){i=g+16|0;if((Qa[k|0](b,c,i,2)|0)!=2){break u}c=N[b+8>>2];break B}i=N[b>>2];if(i){i=c+i|0;break B}N[b+8>>2]=c+2;break A}k=O[i+1|0];i=O[i|0];N[b+8>>2]=c+2;if((i<<8|k)>>>0<256){break A}c=f-2|0;k=c>>>0<=f>>>0?c:0;C:{if((i|0)==(n|0)){f=j;h=h+k|0;break C}f=p+3|0;if(f>>>0>q>>>0){break u}c=m+p|0;L[c|0]=h;L[c+2|0]=h>>>16;L[c+1|0]=h>>>8;L[f+m|0]=h>>>24;if((i|0)==5){break z}f=j+6|0;if(q>>>0>>0){break u}h=j+m|0;L[h|0]=128;p=j+2|0;c=m+p|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[h+1|0]=i;n=i;h=k}if(d>>>0>>0){break u}j=f+k|0;if(j>>>0>d>>>0){break u}if(Yb(b,f+m|0,k)){break u}}l=l+1|0;if((t|0)!=(l|0)){continue}}break}c=j+2|0;if(c>>>0>q>>>0){break u}b=j+m|0;L[b|0]=128;L[b+1|0]=3;d=p+3|0;if(d>>>0>q>>>0){break u}b=m+p|0;L[b|0]=h;L[b+2|0]=h>>>16;L[b+1|0]=h>>>8;L[d+m|0]=h>>>24;f=$h(a,m,c,0,21728,e);break n}Qa[N[r+8>>2]](r,m);f=1}if(!s){break l}}Qa[N[o+8>>2]](o,s)}if(f){break a}c=1;break k}f=xn(N[a>>2],b,c,j,1936092788,0,g,g+44|0);if(f){break a}j=N[g>>2];c=N[g+44>>2];d=(d|0)%(c|0)|0;k=d>>31^d;if((c|0)<=(k|0)){break j}i=N[a>>2];h=N[j+(k<<2)>>2];d=N[b+20>>2];D:{if(d){f=85;if(!(Qa[d|0](b,h,0,0)|0)){break D}break i}f=85;if(h>>>0>Q[b+4>>2]){break i}}N[b+8>>2]=h;N[g+16>>2]=0;d=Nb(b,g+16|0);f=N[g+16>>2];if(f){break i}f=1;if((d|0)<=0){break i}f=9;if(d>>>0>16777215){break i}if(!Cn(a,b,k,e)){Qa[N[o+8>>2]](o,j);break k}h=h+4|0;k=N[b+20>>2];E:{if(k){f=85;if(Qa[k|0](b,h,0,0)|0){break i}break E}f=85;if(h>>>0>Q[b+4>>2]){break i}}N[b+8>>2]=h;h=Qa[N[i+4>>2]](i,d)|0;if(!h){f=64;break i}f=Yb(b,h,d);if(f){Qa[N[i+8>>2]](i,h);break i}if(d>>>0>=5){b=Mb(h,19751,4)?15504:15225}else{b=15504}f=$h(a,h,d,0,b,e);Qa[N[o+8>>2]](o,j);if(f){break a}}N[N[e>>2]>>2]=c;f=0;break a}f=1;if(!j){break a}Qa[N[o+8>>2]](o,j);break a}Qa[N[o+8>>2]](o,j)}La=g+48|0;return f}function Zi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(Q[b+4>>2]>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break a}e=O[a|0]|O[a+1|0]<<8;b:{if(!e){break b}d=a+2|0;if(d>>>0>f>>>0){break a}h=f-d|0;f=(e<<8|e>>>8)&65535;d=f<<3;if(h>>>0>>0){break a}g=g-d|0;N[b+12>>2]=g;d=0;if((g|0)<=0){break b}p=f>>>0<=1?1:f;while(1){e=N[b+4>>2];f=(m<<3)+a|0;d=f+2|0;if(e>>>0>d>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<8){break a}h=N[c>>2];d=N[b+12>>2];i=d-8|0;N[b+12>>2]=i;if((i|0)<=0){break a}i=f+6|0;if(g>>>0>>0|g-i>>>0<4){break a}f=d-12|0;N[b+12>>2]=f;if((f|0)<=0){break a}f=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);c:{if(!f){break c}if(f&128){break a}d:{e:{f=h+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;if(f>>>0>>0|f>>>0>g>>>0){break e}e=g-f|0;if(e>>>0<2){break e}h=d-14|0;N[b+12>>2]=h;if((h|0)<=0){break e}f:{g:{h:{i:{j:{k:{l:{h=O[f|0]|O[f+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break i;case 6:break j;case 4:break k;case 0:break l;case 14:break f;case 13:break g;case 12:break h;default:break c}}if(e>>>0<262){break e}d=d-276|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<14){break e}g=d-28|0;N[b+12>>2]=g;if((g|0)<=0){break e}d=O[f+2|0]|O[f+3|0]<<8;m:{if(!d){d=0;break m}h=(d<<8|d>>>8)&65535;if(h>>>0<=e>>>0){g=g-h|0;N[b+12>>2]=g;if((g|0)>0){break m}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}d=e>>>0>=65535?65535:e;d=d<<8|(d&65280)>>>8;L[f+2|0]=d;L[f+3|0]=d>>>8}f=O[f+6|0]|O[f+7|0]<<8;if((((f<<8|f>>>8)&65535)<<2)+16>>>0>((d<<8|(d&65280)>>>8)&65535)>>>0){break e}break c}if(e>>>0<10){break e}e=d-24|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+8|0;if(e>>>0>g>>>0|g-e>>>0<2){break e}d=d-26|0;N[b+12>>2]=d;if((d|0)<=0){break e}e=O[e|0]|O[e+1|0]<<8;if(!e){break c}f=f+10|0;if(f>>>0>g>>>0){break e}g=g-f|0;f=((e<<8|e>>>8)&65535)<<1;if(g>>>0>>0){break e}d=d-f|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<20){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+16|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-38|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+16|0]|O[f+17|0]<<8|(O[f+18|0]<<16|O[f+19|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((d|0)<0){break e}d=d<<1;if(!d){break c}f=f+20|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<16){break e}e=d-30|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+12|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);d=TE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,12,0);if(Pa){break e}if(!d){break c}f=f+16|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<16){break e}e=d-30|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+12|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);d=TE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,12,0);if(Pa){break e}if(!d){break c}f=f+16|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)>0){break c}break e}if(e>>>0<10){break e}e=d-24|0;N[b+12>>2]=e;if((e|0)<=0){break e}n=f+6|0;if(g>>>0>>0|g-n>>>0<4){break e}j=d-28|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[f+6|0]|O[f+7|0]<<8|(O[f+8|0]<<16|O[f+9|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);d=TE(h,0,11,0);if(Pa){break e}if(d){k=f+10|0;if(k>>>0>g>>>0|d>>>0>g-k>>>0){break e}d=j-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}}if(!e){break c}q=h>>>0<=1?1:h;k=0;while(1){j=N[b+4>>2];l=T(k,11)+n|0;g=l+4|0;if(j>>>0>g>>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-g>>>0<11){break e}h=N[b+12>>2];g=h-11|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=l+7|0;if(g>>>0>d>>>0|d-g>>>0<4){break e}e=h-15|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);n:{if(!e){break n}if(e&128){break e}e=f+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;o:{if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break o}o=h-19|0;N[b+12>>2]=o;if((o|0)<=0){break o}h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(h>>>0>1073741823){break o}h=h<<2;if(!h){break n}e=e+4|0;if(e>>>0>d>>>0|h>>>0>d-e>>>0){break o}d=o-h|0;N[b+12>>2]=d;if((d|0)>0){break n}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[g|0]=0;L[g+1|0]=0;L[g+2|0]=0;L[g+3|0]=0;j=N[b+4>>2]}g=l+11|0;if(g>>>0>>0){break e}h=N[b+8>>2];if(h>>>0>>0|h-g>>>0<4){break e}l=N[b+12>>2];d=l-4|0;N[b+12>>2]=d;if((d|0)<=0){break e}d=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);p:{if(!d){break p}if(d&128){break e}e=f+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;q:{if(e>>>0>>0|e>>>0>h>>>0|h-e>>>0<4){break q}j=l-8|0;N[b+12>>2]=j;if((j|0)<=0){break q}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=TE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,5,0);if(Pa){break q}if(!d){break p}e=e+4|0;if(e>>>0>h>>>0|d>>>0>h-e>>>0){break q}d=j-d|0;N[b+12>>2]=d;if((d|0)>0){break p}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[g|0]=0;L[g+1|0]=0;L[g+2|0]=0;L[g+3|0]=0}k=k+1|0;if((q|0)!=(k|0)){continue}break}break c}d=N[b+28>>2]}if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0}d=1;m=m+1|0;if((p|0)!=(m|0)){continue}break}}return d}return 0}function Yj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;j=La-48|0;La=j;N[j+36>>2]=0;f=275552;N[j+28>>2]=275552;N[j+20>>2]=275552;N[j+16>>2]=a;N[j+12>>2]=0;N[j+32>>2]=e?e:275552;N[j+24>>2]=d?d:275552;d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;f=d}N[j+44>>2]=64;N[j+40>>2]=f;a:{if((b|0)!=1196445523){if((b|0)!=1196643650){break a}b=275552;a=N[Vb(a+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];b:{if((O[a|0]|O[a+1|0]<<8)!=256){break b}e=275552;d=O[a+8|0]|O[a+9|0]<<8;if(d){e=a+((d<<8|d>>>8)&65535)|0}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=c>>>0){break b}a=(c<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;if(!a){break b}b=((a<<8|a>>>8)&65535)+e|0}N[j+36>>2]=268;c=O[b+4|0]|O[b+5|0]<<8;if(!c){break a}a=O[b|0]|O[b+1|0]<<8;d=(a<<8|a>>>8)&65535;a=b+4|0;c=(c<<8|c>>>8)&65535;f=c>>>0<=1?1:c;e=0;while(1){c=O[a|0]|O[a+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:(a+(e<<1)|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+b|0}else{c=275552}Xj(c,j+12|0,d);e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}b=275552;a=N[lc(a+148|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}e=275552;d=O[a+8|0]|O[a+9|0]<<8;if(d){e=a+((d<<8|d>>>8)&65535)|0}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=c>>>0){break c}a=(c<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;if(!a){break c}b=((a<<8|a>>>8)&65535)+e|0}a=O[b+4|0]|O[b+5|0]<<8;if(!a){break a}c=O[b|0]|O[b+1|0]<<8;c=(c<<8|c>>>8)&65535;o=b+4|0;a=(a<<8|a>>>8)&65535;s=a>>>0<=1?1:a;e=0;while(1){a=O[o|0]|O[o+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+o|0)+2|0;a=O[a|0]|O[a+1|0]<<8;if(a){d=((a<<8|a>>>8)&65535)+b|0}else{d=275552}g=j+12|0;a=c;h=0;k=0;d:{e:{f:{g:{h:{while(1){i:{if((a|0)!=9){j:{switch(a-1|0){case 0:k:{l:{m:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}f=O[d+2|0]|O[d+3|0]<<8;a=275552;if(!f){break k}a=((f<<8|f>>>8)&65535)+d|0;break k}f=O[d+2|0]|O[d+3|0]<<8;a=275552;if(!f){break k}a=((f<<8|f>>>8)&65535)+d|0}Ob(a,N[g+12>>2]);break d;case 3:case 4:case 5:break e;case 2:break g;case 6:break h;case 7:break i;case 1:break j;default:break d}}n:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break f;case 0:break n;default:break d}}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}a=O[d+8|0]|O[d+9|0]<<8;if(!a){break d}a=(a<<8|a>>>8)&65535;t=a>>>0<=1?1:a;while(1){a=275552;f=O[d+8|0]|O[d+9|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=k>>>0?275552:((k<<1)+d|0)+10|0;f=O[f|0]|O[f+1|0]<<8;if(f){a=((f<<8|f>>>8)&65535)+d|0}f=O[a|0]|O[a+1|0]<<8;i=(f<<8|f>>>8)&65535;h=a+2|0;a=N[g+12>>2];l=a+12|0;m=(XE(O[d+4|0]|O[d+5|0]<<8)+XE(O[d+6|0]|O[d+7|0]<<8)<<1)+2|0;o:{if(O[a+48|0]){Ef(l,h,i,m);break o}if(!f|!O[l|0]){break o}N[a+16>>2]=-1;a=O[h|0]|O[h+1|0]<<8;a=(a<<8|a>>>8)&65535;p:while(1){q=vc(l,a);if(!q){break o}r=a&65024;u=r+512|0;while(1){f=q+(a>>>3&56)|0;v=N[f+4>>2];n=a&63;a=n&31;if((n&63)>>>0>=32){n=1<>>32-a}N[f>>2]=p|N[f>>2];N[f+4>>2]=n|v;i=i-1|0;if(!i){break o}h=h+m|0;a=O[h|0]|O[h+1|0]<<8;a=(a<<8|a>>>8)&65535;if(r>>>0>a>>>0){continue p}if(a>>>0>>0){continue}break}continue}}k=k+1|0;if((t|0)!=(k|0)){continue}break}break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;a=(a<<8|a>>>8)&65535;f=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(f){d=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+d|0}else{d=275552}continue}break}q:{r:{s:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break q;case 1:break r;case 0:break s;default:break d}}Vj(d,g);break d}Tj(d,g);break d}Sj(d,g);break d}Wj(d,g);break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}Ob(a,N[g+12>>2]);break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}f=N[g+12>>2];t:{u:{v:{a=O[d+10|0]|O[d+11|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break u;case 0:break v;default:break d}}d=O[a+4|0]|O[a+5|0]<<8;g=(d<<8|d>>>8)&65535;if(d){l=g>>>0<=1?1:g;k=f+12|0;d=0;while(1){i=O[a+4|0]|O[a+5|0]<<8;i=((i<<8|i>>>8)&65535)>>>0<=d>>>0?275552:(a+(d<<1)|0)+6|0;w:{if(O[i|0]|O[i+1|0]<<8){d=d+1|0;break w}x:{if((d|0)==(h|0)){break x}i=O[a+2|0]|O[a+3|0]<<8;m=(i<<8|i>>>8)&65535;i=m+d|0;h=h+m|0;if(O[f+48|0]){qd(k,h,i);break x}if(!Le(k,h,i)){break d}}d=d+1|0;h=d}if((d|0)!=(l|0)){continue}break}}if((g|0)==(h|0)){break d}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=d+g|0;d=d+h|0;g=f+12|0;if(!O[f+48|0]){break t}qd(g,d,a);break d}g=O[a+2|0]|O[a+3|0]<<8;if(!g){break d}d=a+4|0;a=d+T((g<<8|g>>>8)&65535,6)|0;g=f+12|0;while(1){y:{if(O[d+4|0]|O[d+5|0]<<8){h=O[d+2|0]|O[d+3|0]<<8;h=(h<<8|h>>>8)&65535;k=O[d|0]|O[d+1|0]<<8;k=(k<<8|k>>>8)&65535;if(!O[f+48|0]){break y}qd(g,k,h)}d=d+6|0;if((a|0)!=(d|0)){continue}break d}if(!Le(g,k,h)){break d}d=d+6|0;if((a|0)!=(d|0)){continue}break}break d}Le(g,d,a);break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}a=O[d+4|0]|O[d+5|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}Ob(a,N[g+12>>2])}e=e+1|0;if((s|0)!=(e|0)){continue}break}}Se(N[j+40>>2]);La=j+48|0}function mE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;l=N[c+80>>2];k=21;h=1;a=0;n=N[c+68>>2];if(!n){break b}b=0;break a}ba(22778,14165,169,12138);F()}b=1}while(1){c:{d:{e:{if(!b){a=O[k+261936|0]==7?f:a;d=k<<1;g=M[d+261568>>1]+260608|0;b=L[k+261664|0];i=O[d+260512|0];k=O[(l+T(f,20)|0)+18|0];if(i>>>0<=k>>>0){b=k>>>0>O[d+260513|0]?b:k-i|0}b=L[b+g|0];break e}if((k|0)==21){break d}f=n;b=M[(k<<1)+261840>>1]-1|0}k=L[b+261712|0];d=b&31;f:{if(((b&63)>>>0>=32?63990>>>d|0:((1<>>d)&1){break f}g:{switch(L[b+261776|0]-1|0){case 1:e=f+1|0;break f;case 7:e=f+1|0;h:{if(e>>>0<=a>>>0){break h}i=l+3|0;g=h<<4|2;d=a;j=e-d&7;if(j){b=0;while(1){L[(i+T(d,20)|0)+12|0]=g;d=d+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if(f-a>>>0<=6){break h}while(1){b=i+T(d,20)|0;L[b+32|0]=g;L[b+12|0]=g;L[b+52|0]=g;L[b+72|0]=g;L[b+92|0]=g;L[b+112|0]=g;L[b+132|0]=g;L[b+152|0]=g;b=d+7|0;d=d+8|0;if((b|0)!=(f|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 9:g=f-1|0;i:{if(a>>>0>=f>>>0){break i}i=l+3|0;e=h<<4;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break i}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 10:g=f-1|0;j:{if(a>>>0>=f>>>0){break j}i=l+3|0;e=h<<4|1;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break j}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 11:g=f-1|0;k:{if(a>>>0>=f>>>0){break k}i=l+3|0;e=h<<4|2;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break k}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 0:f=e-1|0;l:{if(a>>>0>=e>>>0){break l}i=l+3|0;g=h<<4;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break l}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 2:f=e-1|0;m:{if(a>>>0>=e>>>0){break m}i=l+3|0;g=h<<4|1;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break m}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;break f;case 4:n:{switch(m-2|0){case 0:f=e-1|0;o:{if(a>>>0>=e>>>0){break o}m=l+3|0;g=h<<4|1;b=a;i=e-b&7;if(i){d=0;while(1){L[(m+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break o}while(1){d=m+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;m=2;break f;case 1:break n;default:break f}}m=3;f=e-1|0;p:{if(a>>>0>=e>>>0){break p}i=l+3|0;g=h<<4|2;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break p}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 3:e=f+1|0;m=2;break f;case 8:break g;default:break f}}e=f+1|0;m=3}a=O[k+261984|0]!=6?a:0;f=f+1|0;if((n|0)!=(f|0)){break c}b=1;continue}g=N[c+68>>2];if(g){a=g-1|0;h=N[c+80>>2];l=h+3|0;f=0;b=O[h+15|0];while(1){q:{if((a|0)==(f|0)){f=g;break q}f=f+1|0;if((b|0)==O[(l+T(f,20)|0)+12|0]){continue}}break}a=0;while(1){n=f;b=N[c+68>>2];m=b>>>0>>0?b:f;i=m-a|0;r:{if(i>>>0<2){break r}b=N[c+144>>2]|32;N[c+144>>2]=b;if(a>>>0>=m>>>0){break r}f=-1;k=a;j=m+(a^-1)|0;if(j>>>0>=3){p=i&-4;e=0;while(1){d=h+T(k,20)|0;o=N[d+8>>2];f=f>>>0>>0?f:o;o=N[d+28>>2];f=f>>>0>>0?f:o;o=N[d+48>>2];f=f>>>0>>0?f:o;d=N[d+68>>2];f=d>>>0>f>>>0?f:d;k=k+4|0;e=e+4|0;if((p|0)!=(e|0)){continue}break}}d=0;e=i&3;if(e){while(1){p=N[(h+T(k,20)|0)+8>>2];f=f>>>0

>>0?f:p;k=k+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(i&1){e=h+T(a,20)|0;if(N[e+8>>2]!=(f|0)){N[e+4>>2]=N[e+4>>2]|3}a=a+1|0}if(!j){break r}while(1){e=h+T(a,20)|0;if(N[e+8>>2]!=(f|0)){b=b|32;N[c+144>>2]=b;N[e+4>>2]=N[e+4>>2]|3}e=h+T(a+1|0,20)|0;if(N[e+8>>2]!=(f|0)){b=b|32;N[c+144>>2]=b;N[e+4>>2]=N[e+4>>2]|3}a=a+2|0;if((m|0)!=(a|0)){continue}break}}a=n+1|0;a=a>>>0>>0?g:a;b=a-1|0;e=O[(l+T(n,20)|0)+12|0];f=n;while(1){s:{if((b|0)==(f|0)){f=a;break s}f=f+1|0;if((e|0)==O[(l+T(f,20)|0)+12|0]){continue}}break}a=n;if(g>>>0>a>>>0){continue}break}}return 0}b=0;continue}}function Ej(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;c=N[a+4>>2];d=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];a:{b:{c:{d:{e:{f:{if(b){b=N[a+8>>2];N[g+12>>2]=N[a+16>>2];e=N[b+96>>2];f=N[e+28>>2];i=N[b+100>>2];h=g+12|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[f|0](b,i,d,h,e)|0)){break f}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[g+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){e=a+1|0;if(!(!e|e>>>0>2])){if(!gb(c,e)){break b}b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2]}e=N[c+64>>2];g:{if((b|0)!=(d|0)){break g}if(a+1>>>0<=e+1>>>0){d=b;break g}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;f=T(a,20);if(!f){break g}B(d,b,f);a=N[c+72>>2];d=N[c+84>>2];e=N[c+64>>2];b=N[c+80>>2]}a=T(a,20)+d|0;b=T(e,20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}if(Tg(a,0,d)){break c}b=N[a+8>>2];N[g+12>>2]=N[a+16>>2];e=N[b+96>>2];f=N[e+28>>2];i=N[b+100>>2];h=g+12|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[f|0](b,i,d,h,e)|0)){break e}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[g+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){e=a+1|0;if(!(!e|e>>>0>2])){if(!gb(c,e)){break b}b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2]}e=N[c+64>>2];h:{if((b|0)!=(d|0)){break h}if(a+1>>>0<=e+1>>>0){d=b;break h}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;f=T(a,20);if(!f){break h}B(d,b,f);a=N[c+72>>2];d=N[c+84>>2];e=N[c+64>>2];b=N[c+80>>2]}a=T(a,20)+d|0;b=T(e,20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}if(Tg(a,1,d)){break c}}if((P[(N[c+80>>2]+T(N[c+64>>2],20)|0)+16>>1]&31)!=29){break d}i:{if((d|0)<=8191){b=4608;if((d|0)==32|(d|0)==160){break i}break d}j:{k:{switch(d+-8192|0){case 0:case 2:b=512;break i;case 4:b=768;break i;case 5:b=1024;break i;case 6:b=1536;break i;case 7:b=4864;break i;case 8:b=5120;break i;case 9:b=1280;break i;case 10:b=4096;break i;case 47:b=5376;break i;case 95:b=4352;break i;case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:break d;case 1:case 3:break j;default:break k}}if((d|0)==12288){break j}break d}b=256}e=N[a+8>>2];N[g+8>>2]=0;f=N[e+96>>2];j=N[f+28>>2];i=N[e+100>>2];h=g+8|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}if(!(Qa[j|0](e,i,32,h,f)|0)){e=N[c+28>>2];N[g+8>>2]=e;if(!e){break d}}a=N[c+80>>2];d=N[c+64>>2];e=a+T(d,20)|0;f=P[e+16>>1];if((f&31)==29){M[e+16>>1]=f&255|b;d=N[c+64>>2];a=N[c+80>>2]}N[(a+T(d,20)|0)+12>>2]=N[g+8>>2];l:{if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){e=a+1|0;if(!(!e|e>>>0>2])){if(!gb(c,e)){break l}b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2]}e=N[c+64>>2];m:{if((b|0)!=(d|0)){break m}if(a+1>>>0<=e+1>>>0){d=b;break m}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;f=T(a,20);if(!f){break m}B(d,b,f);a=N[c+72>>2];d=N[c+84>>2];e=N[c+64>>2];b=N[c+80>>2]}a=T(a,20)+d|0;b=T(e,20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1}N[c+144>>2]=N[c+144>>2]|4;break b}n:{if((d|0)!=8209){break n}a=N[a+8>>2];N[g+4>>2]=0;b=N[a+96>>2];d=N[b+28>>2];h=N[a+100>>2];e=g+4|0;b=N[b+12>>2];if(b){b=N[b+8>>2]}else{b=0}if(!(Qa[d|0](a,h,8208,e,b)|0)){break n}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[g+4>>2];if(O[c+62|0]){o:{if(N[c+84>>2]==N[c+80>>2]){a=N[c+72>>2];if((a|0)==N[c+64>>2]){break o}}if(!wd(c)){break b}b=N[c+80>>2]+T(N[c+64>>2],20)|0;d=N[b+4>>2];a=N[c+84>>2]+T(N[c+72>>2],20)|0;N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[g+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){e=a+1|0;if(!(!e|e>>>0>2])){if(!gb(c,e)){break b}b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2]}e=N[c+64>>2];p:{if((b|0)!=(d|0)){break p}if(a+1>>>0<=e+1>>>0){d=b;break p}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;f=T(a,20);if(!f){break p}B(d,b,f);a=N[c+72>>2];d=N[c+84>>2];e=N[c+64>>2];b=N[c+80>>2]}a=T(a,20)+d|0;b=T(e,20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}N[c+64>>2]=N[c+64>>2]+1}La=g+16|0;return}ba(8694,17855,209,11932);F()}function oh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{k=N[b+4>>2];if(k>>>0>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0){break a}l=d-a|0;if(l>>>0<12){break a}c=N[b+12>>2]-12|0;N[b+12>>2]=c;if(O[a|0]|O[a+1|0]<<8|(c|0)<=0){break a}f=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b:{if(!f){break b}if(h>>>0>l>>>0){break a}c=c-h|0;N[b+12>>2]=c;if((c|0)>0){break b}break a}l=a+4|0;if(d>>>0>>0|d-l>>>0<4){break a}N[b+12>>2]=c-4;if((c|0)<5){break a}f=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);c:{d:{if(!f){break d}if(f&128){break a}f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0;e:{if(f>>>0>>0|d>>>0>>0){break e}i=d-f|0;if(i>>>0<2){break e}m=c-6|0;N[b+12>>2]=m;e=1;if((m|0)<=0){break e}m=a+h|0;f:{g:{h:{i:{j:{a=O[f|0]|O[f+1|0]<<8;switch((a<<8|a>>>8)&65535){case 2:break j;case 10:break e;case 0:break f;case 8:break g;case 6:break h;case 4:break i;default:break c}}i=f+2|0;if(i>>>0>>0|d>>>0>>0|d-i>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}h=O[i|0]|O[i+1|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<6){break e}g=O[f+4|0]|O[f+5|0]<<8;a=(g<<8|g>>>8)&65535;k:{if(!g){break k}g=f+12|0;if(g>>>0>d>>>0){break e}n=d-g|0;d=T(a,e);if(n>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=g+T(e,a-1|0)|0;if((O[c|0]|O[c+1|0]<<8)!=65535){break k}j=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=a+j|0;if(!n){break d}g=f+12|0;a=0;while(1){d=O[f+4|0]|O[f+5|0]<<8;e=(d<<8|d>>>8)&65535;c=0;l:{if(!d){break l}d=g+T(e-1|0,(h<<8|(h&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break l}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+e>>>0<=a>>>0){c=275552}else{k=N[b+4>>2];h=O[i|0]|O[i+1|0]<<8;c=g+T((h<<8|h>>>8)&65535,a)|0}if(c>>>0>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<6){break e}e=N[b+12>>2];j=e-6|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=c+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break e}j=e-8|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=O[c|0]|O[c+1|0]<<8;c=m+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}j=e-12|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>1073741823){break e}e=e<<2;if(e){c=c+4|0;if(c>>>0>d>>>0|e>>>0>d-c>>>0){break e}c=j-e|0;N[b+12>>2]=c;if((c|0)<=0){break e}}e=1;a=a+1|0;if((n|0)!=(a|0)){continue}break}break c}h=f+2|0;if(h>>>0>>0|d>>>0>>0|d-h>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}a=O[h|0]|O[h+1|0]<<8;k=(a<<8|a>>>8)&65535;if(k>>>0<6){break e}i=O[f+4|0]|O[f+5|0]<<8;a=(i<<8|i>>>8)&65535;e=0;m:{if(!i){break m}i=f+12|0;if(i>>>0>d>>>0){break e}g=d-i|0;d=T(a,k);if(g>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=i+T(k,a-1|0)|0;if((O[c|0]|O[c+1|0]<<8)!=65535){break m}e=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}i=a+e|0;if(!i){break d}k=f+12|0;c=0;while(1){d=O[f+4|0]|O[f+5|0]<<8;e=(d<<8|d>>>8)&65535;a=0;n:{if(!d){break n}d=O[h|0]|O[h+1|0]<<8;d=k+T(e-1|0,(d<<8|d>>>8)&65535)|0;a=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break n}a=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(a+e>>>0<=c>>>0){a=275552}else{a=O[h|0]|O[h+1|0]<<8;a=k+T((a<<8|a>>>8)&65535,c)|0}if(a>>>0>2]){break e}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break e}e=N[b+12>>2];g=e-6|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=O[a+2|0]|O[a+3|0]<<8;g=(g<<8|g>>>8)&65535;j=O[a|0]|O[a+1|0]<<8;j=(j<<8|j>>>8)&65535;if(g>>>0>j>>>0){break e}a=a+4|0;if(a>>>0>d>>>0|d-a>>>0<2){break e}d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){break e}a=O[a|0]|O[a+1|0]<<8;if(!nh(f+((a<<8|a>>>8)&65535)|0,b,(j-g|0)+1|0,m)){break e}e=1;c=c+1|0;if((i|0)!=(c|0)){continue}break}break c}i=f+2|0;if(i>>>0>>0|d>>>0>>0|d-i>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}h=O[i|0]|O[i+1|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<4){break e}g=O[f+4|0]|O[f+5|0]<<8;a=(g<<8|g>>>8)&65535;if(g){g=f+12|0;if(g>>>0>d>>>0){break e}j=d-g|0;d=T(a,e);if(j>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=g+T(e,a-1|0)|0;c=(O[c|0]|O[c+1|0]<<8)==65535?-1:0}else{c=0}n=c+a|0;if(!n){break d}g=f+12|0;a=0;while(1){c=O[f+4|0]|O[f+5|0]<<8;d=(c<<8|c>>>8)&65535;if(c){c=g+T(d-1|0,(h<<8|(h&65280)>>>8)&65535)|0;c=(O[c|0]|O[c+1|0]<<8)==65535?-1:0}else{c=0}if(c+d>>>0<=a>>>0){c=275552}else{k=N[b+4>>2];h=O[i|0]|O[i+1|0]<<8;c=g+T((h<<8|h>>>8)&65535,a)|0}if(c>>>0>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break e}e=N[b+12>>2];j=e-4|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=c+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break e}j=e-6|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=O[c|0]|O[c+1|0]<<8;c=m+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}j=e-10|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>1073741823){break e}e=e<<2;if(e){c=c+4|0;if(c>>>0>d>>>0|e>>>0>d-c>>>0){break e}c=j-e|0;N[b+12>>2]=c;if((c|0)<=0){break e}}e=1;a=a+1|0;if((n|0)!=(a|0)){continue}break}break c}if(i>>>0<6){break e}a=c-12|0;N[b+12>>2]=a;if((a|0)<=0){break e}a=O[f+4|0]|O[f+5|0]<<8;if(!nh(f+6|0,b,(a<<8|a>>>8)&65535,m)){break e}break c}if(nh(f+2|0,b,N[b+36>>2],m)){break c}}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;e=0;if(!O[b+24|0]){break c}L[l|0]=0;L[l+1|0]=0;L[l+2|0]=0;L[l+3|0]=0}e=1}return e}return 0}function Vn(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;j=La-80|0;La=j;N[j+76>>2]=b;z=j+55|0;s=j+56|0;a:{b:{c:{d:while(1){h=0;e:while(1){l=b;if((r^2147483647)<(h|0)){break c}r=h+r|0;f:{g:{h:{h=b;i=O[h|0];if(i){while(1){i:{b=i&255;j:{if(!b){b=h;break j}if((b|0)!=37){break i}i=h;while(1){if(O[i+1|0]!=37){b=i;break j}h=h+1|0;n=O[i+2|0];b=i+2|0;i=b;if((n|0)==37){continue}break}}h=h-l|0;y=r^2147483647;if((h|0)>(y|0)){break c}if(a){_b(a,l,h)}if(h){continue e}N[j+76>>2]=b;h=b+1|0;q=-1;i=L[b+1|0];if(!(O[b+2|0]!=36|i-48>>>0>=10)){q=i-48|0;t=1;h=b+3|0}N[j+76>>2]=h;o=0;i=L[h|0];b=i-32|0;k:{if(b>>>0>31){n=h;break k}n=h;b=1<>2]=n;o=b|o;i=L[h+1|0];b=i-32|0;if(b>>>0>=32){break k}h=n;b=1<>>0>=10)){b=b-48|0;n:{if(!a){N[(b<<2)+e>>2]=10;p=0;break n}p=N[(b<<3)+d>>2]}b=n+3|0;t=1;break m}if(t){break h}b=n+1|0;if(!a){N[j+76>>2]=b;t=0;p=0;break l}h=N[c>>2];N[c>>2]=h+4;p=N[h>>2];t=0}N[j+76>>2]=b;if((p|0)>=0){break l}p=0-p|0;o=o|8192;break l}p=Un(j+76|0);if((p|0)<0){break c}b=N[j+76>>2]}h=0;k=-1;i=0;o:{if(O[b|0]!=46){break o}if(O[b+1|0]==42){i=L[b+2|0];p:{if(!(O[b+3|0]!=36|i-48>>>0>=10)){i=i-48|0;b=b+4|0;q:{if(!a){N[(i<<2)+e>>2]=10;k=0;break q}k=N[(i<<3)+d>>2]}break p}if(t){break h}b=b+2|0;k=0;if(!a){break p}i=N[c>>2];N[c>>2]=i+4;k=N[i>>2]}N[j+76>>2]=b;i=(k|0)>=0;break o}N[j+76>>2]=b+1;k=Un(j+76|0);b=N[j+76>>2];i=1}v=i;while(1){u=h;m=28;w=b;i=L[b|0];if(i-123>>>0<4294967238){break b}b=b+1|0;h=O[(i+T(h,58)|0)+583503|0];if(h-1>>>0<8){continue}break}N[j+76>>2]=b;r:{if((h|0)!=27){if(!h){break b}if((q|0)>=0){if(!a){N[(q<<2)+e>>2]=h;continue d}h=(q<<3)+d|0;i=N[h+4>>2];N[j+64>>2]=N[h>>2];N[j+68>>2]=i;break r}if(!a){break f}Tn(j- -64|0,h,c,g);break r}if((q|0)>=0){break b}h=0;if(!a){continue e}}m=-1;if(O[a|0]&32){break a}i=o&-65537;o=o&8192?i:o;q=0;x=8226;n=s;s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{h=L[w|0];h=u?(h&15)==3?h&-33:h:h;switch(h-88|0){case 11:break s;case 9:case 13:case 14:case 15:break t;case 27:break y;case 12:case 17:break B;case 23:break C;case 0:case 32:break D;case 24:break E;case 22:break F;case 29:break G;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break g;default:break H}}I:{switch(h-65|0){case 0:case 4:case 5:case 6:break t;case 2:break w;case 1:case 3:break g;default:break I}}if((h|0)==83){break x}break g}i=N[j+64>>2];m=N[j+68>>2];h=8226;break A}h=0;J:{switch(u&255){case 0:N[N[j+64>>2]>>2]=r;continue e;case 1:N[N[j+64>>2]>>2]=r;continue e;case 2:i=N[j+64>>2];N[i>>2]=r;N[i+4>>2]=r>>31;continue e;case 3:M[N[j+64>>2]>>1]=r;continue e;case 4:L[N[j+64>>2]]=r;continue e;case 6:N[N[j+64>>2]>>2]=r;continue e;case 7:break J;default:continue e}}i=N[j+64>>2];N[i>>2]=r;N[i+4>>2]=r>>31;continue e}k=k>>>0<=8?8:k;o=o|8;h=120}l=s;w=h&32;i=N[j+64>>2];m=N[j+68>>2];if(i|m){while(1){l=l-1|0;L[l|0]=w|O[(i&15)+584032|0];u=!m&i>>>0>15|(m|0)!=0;i=(m&15)<<28|i>>>4;m=m>>>4|0;if(u){continue}break}}if(!(N[j+64>>2]|N[j+68>>2])|!(o&8)){break z}x=(h>>>4|0)+8226|0;q=2;break z}h=s;l=N[j+68>>2];m=l;i=N[j+64>>2];if(l|i){while(1){h=h-1|0;L[h|0]=i&7|48;u=!m&i>>>0>7|(m|0)!=0;i=(m&7)<<29|i>>>3;m=m>>>3|0;if(u){continue}break}}l=h;if(!(o&8)){break z}h=s-h|0;k=(h|0)<(k|0)?k:h+1|0;break z}i=N[j+64>>2];h=N[j+68>>2];m=h;if((h|0)<0){l=0-(h+((i|0)!=0)|0)|0;m=l;i=0-i|0;N[j+64>>2]=i;N[j+68>>2]=l;q=1;h=8226;break A}if(o&2048){q=1;h=8227;break A}q=o&1;h=q?8228:8226}x=h;l=te(i,m,s)}if((k|0)<0&v){break c}o=v?o&-65537:o;h=N[j+64>>2];i=N[j+68>>2];if(!(k|(h|i)!=0)){l=s;k=0;break g}h=!(h|i)+(s-l|0)|0;k=(h|0)<(k|0)?k:h;break g}h=N[j+64>>2];l=h?h:23499;h=$n(l,k>>>0>=2147483647?2147483647:k);n=h+l|0;if((k|0)>=0){o=i;k=h;break g}o=i;k=h;if(O[n|0]){break c}break g}if(k){i=N[j+64>>2];break v}h=0;hc(a,32,p,0,o);break u}N[j+12>>2]=0;N[j+8>>2]=N[j+64>>2];i=j+8|0;N[j+64>>2]=i;k=-1}h=0;K:{while(1){l=N[i>>2];if(!l){break K}l=ng(j+4|0,l);n=(l|0)<0;if(!(n|l>>>0>k-h>>>0)){i=i+4|0;h=h+l|0;if(k>>>0>h>>>0){continue}break K}break}if(n){break a}}m=61;if((h|0)<0){break b}hc(a,32,p,h,o);if(!h){h=0;break u}n=0;i=N[j+64>>2];while(1){l=N[i>>2];if(!l){break u}m=j+4|0;l=ng(m,l);n=l+n|0;if(n>>>0>h>>>0){break u}_b(a,m,l);i=i+4|0;if(h>>>0>n>>>0){continue}break}}hc(a,32,p,h,o^8192);h=(h|0)<(p|0)?p:h;continue e}if((k|0)<0&v){break c}m=61;h=Qa[f|0](a,S[j+64>>3],p,k,o,h)|0;if((h|0)>=0){continue e}break b}L[j+55|0]=N[j+64>>2];k=1;l=z;o=i;break g}i=O[h+1|0];h=h+1|0;continue}}m=r;if(a){break a}if(!t){break f}h=1;while(1){a=N[(h<<2)+e>>2];if(a){Tn((h<<3)+d|0,a,c,g);m=1;h=h+1|0;if((h|0)!=10){continue}break a}break}m=1;if(h>>>0>=10){break a}while(1){if(N[(h<<2)+e>>2]){break h}h=h+1|0;if((h|0)!=10){continue}break}break a}m=28;break b}n=n-l|0;k=(k|0)>(n|0)?k:n;if((k|0)>(q^2147483647)){break c}m=61;i=k+q|0;h=(i|0)<(p|0)?p:i;if((y|0)<(h|0)){break b}hc(a,32,h,i,o);_b(a,x,q);hc(a,48,h,i,o^65536);hc(a,48,k,n,0);_b(a,l,n);hc(a,32,h,i,o^8192);continue}break}break}m=0;break a}m=61}N[147316]=m;m=-1}La=j+80|0;return m}function rf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;N[a+44>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+1404>>2]=0;N[a+1392>>2]=0;N[a+56>>2]=0;d=N[a>>2];x=N[a+16>>2];y=N[a+8>>2];j=N[a+12>>2];k=N[a+4>>2];a:{b:{c=M[b>>1];c:{d:{e:{if(c>>>0<=8){if(N[a+40>>2]){break d}N[a+40>>2]=a+2752;g=8;break e}h=N[a+32>>2];if(h>>>0>=c>>>0){break d}e=N[a+40>>2];if((e|0)==(a+2752|0)){N[a+40>>2]=0;e=0}c=c+3|0;if((c|h)<0){c=6;break a}f:{g=c&-4;g:{if(!g){if(!e){break g}Qa[N[d+8>>2]](d,e);N[a+40>>2]=0;break e}c=10;if((g|0)>536870911){break a}h:{if(!h){l=Qa[N[d+4>>2]](d,g<<2)|0;c=!l<<6;break h}c=Qa[N[d+12>>2]](d,h<<2,g<<2,e)|0;l=c?c:e;c=!c<<6}if(c|(g|0)<=(h|0)|!l){break f}G((h<<2)+l|0,0,g-h<<2)}N[a+40>>2]=l;break e}N[a+40>>2]=l;if(c){break c}}N[a+32>>2]=g}p=M[b+2>>1];c=p+2|0;i:{if(c>>>0<=96){if(N[a+28>>2]){break i}N[a+20>>2]=96;N[a+28>>2]=a+2784;break i}h=N[a+20>>2];if(h>>>0>=c>>>0){break i}c=N[a+28>>2];if((c|0)==(a+2784|0)){N[a+28>>2]=0;c=0}e=p+11|0;if((e|h)<0){e=6;break b}j:{k:{g=e&-8;l:{if(!g){e=0;if(!c){break l}Qa[N[d+8>>2]](d,c);N[a+28>>2]=0;break j}e=10;if((g|0)>53687091){break b}m:{if(!h){e=Qa[N[d+4>>2]](d,T(g,40))|0;c=!e<<6;break m}d=Qa[N[d+12>>2]](d,T(h,40),T(g,40),c)|0;e=d?d:c;c=!d<<6}if(c|(g|0)<=(h|0)|!e){break k}G(T(h,40)+e|0,0,T(g-h|0,40))}N[a+28>>2]=e;break j}N[a+28>>2]=e;if(c){break c}}N[a+20>>2]=g;p=M[b+2>>1]}N[a+24>>2]=p;g=M[b>>1];N[a+1416>>2]=-1;N[a+68>>2]=2;N[a+36>>2]=g;if((dg(b)|0)==1){N[a+1416>>2]=1;N[a+68>>2]=-2}N[a+12>>2]=j;N[a+4>>2]=k;N[a+16>>2]=x;N[a+8>>2]=y;if(p){h=N[a+28>>2];v=h+T(p,40)|0;r=T(P[N[N[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;l=N[b+12>>2];if((p|0)>0){c=j>>31;m=(c^j)-c|0;z=m&65535;A=m>>>16|0;B=m>>>8|0;c=k>>31;o=(c^k)-c|0;C=o&65535;D=o>>>16|0;E=o>>>8|0;s=N[b+8>>2];u=N[b+4>>2];d=u;c=h;n=M[l>>1];e=c+T(n,40)|0;b=e;while(1){M[c+2>>1]=1028;f=N[d>>2];M[c+12>>1]=f;q=N[d+4>>2];M[c+14>>1]=q;i=f>>31;i=(i^f)-i|0;n:{if(i+E>>>0<=8190){i=T(i,o)+32768>>>16|0;break n}t=i&65535;i=T(t,D)+T(o,i>>>16|0)+(T(t,C)+32768>>>16)|0}f=f>>31|1;f=((((k|0)<0?0-f|0:f)|0)<0?0-i|0:i)+y|0;N[c+4>>2]=f;N[c+16>>2]=f;f=q>>31;f=(f^q)-f|0;o:{if(f+B>>>0<=8190){i=T(f,m)+32768>>>16|0;break o}i=f&65535;i=T(i,A)+T(m,f>>>16|0)+(T(i,z)+32768>>>16)|0}f=i;t=0-f|0;f=q>>31|1;f=((((j|0)<0?0-f|0:f)|0)<0?t:i)+x|0;N[c+8>>2]=f;N[c+20>>2]=f;f=(n<<16>>16<<3)+u|0;M[e+12>>1]=N[f>>2];M[e+14>>1]=N[f+4>>2];f=O[s|0]&3;M[c>>1]=f?((f|0)==2)<<1:1;i=M[c+14>>1]-M[b+14>>1]|0;f=i>>31;t=M[c+12>>1]-M[b+12>>1]|0;q=t>>31;if((f^i)-f+((q^t)-q)>>>0>>0){M[b>>1]=P[b>>1]|32}N[c+36>>2]=b;N[b+32>>2]=c;p:{if((c|0)!=(e|0)){b=c;break p}w=w+1|0;if((g|0)<=(w|0)){b=c;e=c;break p}n=M[(w<<1)+l>>1];b=T(n,40)+h|0;e=b}s=s+1|0;d=d+8|0;c=c+40|0;if(v>>>0>c>>>0){continue}break}}if((g|0)>0){c=N[a+40>>2];e=c+(g<<2)|0;b=0;while(1){N[c>>2]=T(b<<16>>16,40)+h;b=P[l>>1]+1|0;l=l+2|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}n=N[a+40>>2];s=n+(g<<2)|0;f=(r<<1)-1|0;while(1){e=N[n>>2];b=P[e+12>>1];c=e;while(1){q:{g=b;a=c;c=N[c+36>>2];if((e|0)==(c|0)){l=P[a+14>>1];break q}l=M[a+14>>1];k=l-M[c+14>>1]|0;d=k>>31;b=M[c+12>>1];m=(g<<16>>16)-b|0;j=m>>31;if((f|0)>((d^k)-d+((j^m)-j)|0)){continue}}break}N[a+24>>2]=0;N[a+28>>2]=0;c=0;d=a;e=a;b=0;while(1){k=g<<16>>16;g=l<<16>>16;d=N[d+32>>2];l=M[d+14>>1];b=(l-g|0)+b|0;j=b>>31;g=M[d+12>>1];c=(g-k|0)+c|0;k=c>>31;j=(b^j)-j|0;k=(c^k)-k|0;r:{if(j+k>>>0>>0){M[d>>1]=P[d>>1]|16;break r}m=(d-e|0)/40|0;N[e+24>>2]=m;N[d+28>>2]=0-m;m=0-c|0;s:{if((b|0)>=(c|0)){i=c;c=(b|0)<(m|0);k=c?b:i;j=k>>31;j=(j^k)-j|0;o=c?-1:2;c=c?m:b;break s}o=1;if((b|0)>=(m|0)){break s}c=0-b|0;o=254;j=k}b=(T(j,14)|0)>=(c|0)?4:o;L[e+3|0]=b;c=N[e+32>>2];if((d|0)!=(c|0)){while(1){L[c+3|0]=b;L[c+2|0]=b;c=N[c+32>>2];if((d|0)!=(c|0)){continue}break}}L[d+2|0]=b;b=(a-d|0)/40|0;N[d+24>>2]=b;c=0;N[a+28>>2]=0-b;e=d;b=0}if((a|0)!=(d|0)){continue}break}n=n+4|0;if(s>>>0>n>>>0){continue}break}}c=0;if((p|0)<=0){break c}c=h;while(1){e=P[c>>1];t:{if(e&16|O[c+2|0]!=4|O[c+3|0]!=4){break t}d=N[c+24>>2];a=T(d,40)+c|0;b=M[c+12>>1];u=M[a+12>>1]-b|0;i=b;g=N[c+28>>2];b=T(g,40)+c|0;if((u^i-M[b+12>>1])<0){break t}j=M[c+14>>1];if((j-M[b+14>>1]^M[a+14>>1]-j)<0){break t}M[c>>1]=e|16;e=b;b=(T(d-g|0,40)|0)/40|0;N[e+24>>2]=b;N[a+28>>2]=0-b}c=c+40|0;if(v>>>0>c>>>0){continue}break}while(1){c=P[h>>1];u:{if(c&16){break u}v:{if(c&3){break v}a=O[h+3|0];b=O[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break v}p=N[h+24>>2];e=T(p,40)+h|0;k=M[e+12>>1];d=M[h+12>>1];n=k-d|0;a=n>>31;l=M[e+14>>1];j=M[h+14>>1];m=l-j|0;b=m>>31;i=d;o=N[h+28>>2];d=T(o,40)+h|0;r=M[d+12>>1];s=i-r|0;g=s>>31;f=M[d+14>>1];q=j-f|0;j=q>>31;r=k-r|0;k=r>>31;f=l-f|0;l=f>>31;a=(a^n)-a|0;b=(b^m)-b|0;i=(T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;a=(g^s)-g|0;b=(j^q)-j|0;i=i+((T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0)|0;a=(k^r)-k|0;b=(f^l)-l|0;a=(T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;if((i-a|0)>=(a>>>4|0)){break u}a=(T(p-o|0,40)|0)/40|0;N[d+24>>2]=a;N[e+28>>2]=0-a;break v}if(b<<24>>24!=(0-(a<<24>>24)|0)){break u}}M[h>>1]=c|16}h=h+40|0;if(v>>>0>h>>>0){continue}break}}c=0}return c}N[a+28>>2]=c;return e}N[a+40>>2]=e;return c}function Hj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=(b<<4)+a|0;if(b>>>0>9){while(1){f=(b<<4)-16|0;g=f+a|0;i=g-16|0;d=N[a+16>>2];c=(b<<3&-16)+a|0;b=N[c>>2];a:{if((d|0)!=(b|0)){b=(b|0)>(d|0)?-1:1;break a}b:{if(O[a+24|0]){break b}b=N[c+4>>2];d=N[a+20>>2];if((b^d)>>>0<2){break b}b=(b|0)>(d|0)?-1:1;break a}b=N[a+28>>2];d=N[c+12>>2];b=b>>>0>>0?-1:b>>>0>d>>>0}e=a+16|0;h=(b|0)>0;b=h?e:c;j=N[b>>2];d=N[i>>2];c:{d:{if((j|0)!=(d|0)){if((d|0)<=(j|0)){break d}break c}e:{if(O[b+8|0]){break e}j=N[g-12>>2];l=N[b+4>>2];if((j^l)>>>0<2){break e}if((j|0)<=(l|0)){break d}break c}if(Q[b+12>>2]<=Q[g-4>>2]){break c}}b=h?c:e;c=N[b>>2];f:{if((c|0)!=(d|0)){c=(c|0)<(d|0)?-1:1;break f}g:{if(O[b+8|0]){break g}c=N[g-12>>2];d=N[b+4>>2];if((c^d)>>>0<2){break g}c=(c|0)>(d|0)?-1:1;break f}c=N[b+12>>2];d=N[g-4>>2];c=c>>>0>>0?-1:c>>>0>d>>>0}b=(c|0)>0?b:i}if((b|0)!=(g|0)){c=O[b|0];L[b|0]=O[g|0];L[g|0]=c;c=O[b+1|0];L[b+1|0]=O[g+1|0];L[g+1|0]=c;c=O[b+2|0];L[b+2|0]=O[g+2|0];L[g+2|0]=c;c=O[b+3|0];L[b+3|0]=O[g+3|0];L[g+3|0]=c;c=O[b+4|0];L[b+4|0]=O[g+4|0];L[g+4|0]=c;c=O[b+5|0];L[b+5|0]=O[g+5|0];L[g+5|0]=c;c=O[b+6|0];L[b+6|0]=O[g+6|0];L[g+6|0]=c;c=O[b+7|0];L[b+7|0]=O[g+7|0];L[g+7|0]=c;c=O[b+8|0];L[b+8|0]=O[g+8|0];L[g+8|0]=c;c=O[b+9|0];L[b+9|0]=O[g+9|0];L[g+9|0]=c;c=O[b+10|0];L[b+10|0]=O[g+10|0];L[g+10|0]=c;c=O[b+11|0];L[b+11|0]=O[g+11|0];L[g+11|0]=c;c=O[b+12|0];L[b+12|0]=O[g+12|0];L[g+12|0]=c;c=O[b+13|0];L[b+13|0]=O[g+13|0];L[g+13|0]=c;c=O[b+14|0];L[b+14|0]=O[g+14|0];L[g+14|0]=c;c=O[b+15|0];L[b+15|0]=O[g+15|0];L[g+15|0]=c}h:{if((f|0)<=0){d=0;break h}i=g;c=g;d=a;b=d;while(1){i:{j:{e=N[b>>2];h=N[g>>2];k:{if((e|0)!=(h|0)){if((e|0)<(h|0)){break k}break j}l:{if(O[b+8|0]){break l}e=N[g+4>>2];h=N[b+4>>2];if((e^h)>>>0<2){break l}if((e|0)<=(h|0)){break j}break k}e=N[b+12>>2];h=N[g+12>>2];if(e>>>0>>0){break k}if(e>>>0>h>>>0){break j}if(b>>>0>d>>>0){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;e=O[d+1|0];L[d+1|0]=O[b+1|0];L[b+1|0]=e;e=O[d+2|0];L[d+2|0]=O[b+2|0];L[b+2|0]=e;e=O[d+3|0];L[d+3|0]=O[b+3|0];L[b+3|0]=e;e=O[d+4|0];L[d+4|0]=O[b+4|0];L[b+4|0]=e;e=O[d+5|0];L[d+5|0]=O[b+5|0];L[b+5|0]=e;e=O[d+6|0];L[d+6|0]=O[b+6|0];L[b+6|0]=e;e=O[d+7|0];L[d+7|0]=O[b+7|0];L[b+7|0]=e;e=O[d+8|0];L[d+8|0]=O[b+8|0];L[b+8|0]=e;e=O[d+9|0];L[d+9|0]=O[b+9|0];L[b+9|0]=e;e=O[d+10|0];L[d+10|0]=O[b+10|0];L[b+10|0]=e;e=O[d+11|0];L[d+11|0]=O[b+11|0];L[b+11|0]=e;e=O[d+12|0];L[d+12|0]=O[b+12|0];L[b+12|0]=e;e=O[d+13|0];L[d+13|0]=O[b+13|0];L[b+13|0]=e;e=O[d+14|0];L[d+14|0]=O[b+14|0];L[b+14|0]=e;e=O[d+15|0];L[d+15|0]=O[b+15|0];L[b+15|0]=e}d=d+16|0}b=b+16|0;if(c>>>0>b>>>0){continue}break i}m:{if(b>>>0>=c>>>0){break m}while(1){n:{h=c;c=c-16|0;e=N[c>>2];f=N[g>>2];o:{if((e|0)!=(f|0)){if((e|0)>=(f|0)){break o}break n}p:{if(O[h-8|0]){break p}e=N[g+4>>2];f=N[h-12>>2];if((e^f)>>>0<2){break p}if((e|0)>(f|0)){break n}break o}e=N[h-4>>2];f=N[g+12>>2];if(e>>>0>>0){break n}if(e>>>0>f>>>0){break o}e=i-16|0;if(h>>>0>>0){f=c;i=e;while(1){j=O[f|0];L[f|0]=O[i|0];L[i|0]=j;i=i+1|0;f=f+1|0;if(h>>>0>f>>>0){continue}break}}i=e}if(b>>>0>>0){continue}break m}break}if(b>>>0>>0){e=O[b|0];L[b|0]=O[c|0];L[c|0]=e;e=O[b+1|0];f=h-15|0;L[b+1|0]=O[f|0];L[f|0]=e;e=O[b+2|0];f=h-14|0;L[b+2|0]=O[f|0];L[f|0]=e;e=O[b+3|0];f=h-13|0;L[b+3|0]=O[f|0];L[f|0]=e;e=O[b+4|0];f=h-12|0;L[b+4|0]=O[f|0];L[f|0]=e;e=O[b+5|0];f=h-11|0;L[b+5|0]=O[f|0];L[f|0]=e;e=O[b+6|0];f=h-10|0;L[b+6|0]=O[f|0];L[f|0]=e;e=O[b+7|0];f=h-9|0;L[b+7|0]=O[f|0];L[f|0]=e;e=O[b+8|0];f=h-8|0;L[b+8|0]=O[f|0];L[f|0]=e;e=O[b+9|0];f=h-7|0;L[b+9|0]=O[f|0];L[f|0]=e;e=O[b+10|0];f=h-6|0;L[b+10|0]=O[f|0];L[f|0]=e;e=O[b+11|0];f=h-5|0;L[b+11|0]=O[f|0];L[f|0]=e;e=O[b+12|0];f=h-4|0;L[b+12|0]=O[f|0];L[f|0]=e;e=O[b+13|0];f=h-3|0;L[b+13|0]=O[f|0];L[f|0]=e;e=O[b+14|0];f=h-2|0;L[b+14|0]=O[f|0];L[f|0]=e;e=O[b+15|0];h=h-1|0;L[b+15|0]=O[h|0];L[h|0]=e}b=b+16|0}if(b>>>0>>0){continue}}break}f=c-d|0;q:{if((a|0)==(d|0)|(c|0)==(d|0)){break q}b=d-a|0;if(b>>>0>f>>>0){if((f|0)<=0){break q}g=a+f|0;b=a+b|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}break q}if((b|0)<=0){break q}g=a+b|0;b=a+f|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}}d=i-c|0;if((c|0)==(i|0)|(i|0)==(k|0)){break h}b=k-i|0;if(b>>>0>>0){if((b|0)<=0){break h}g=b+c|0;b=c+d|0;while(1){i=O[c|0];L[c|0]=O[b|0];L[b|0]=i;b=b+1|0;c=c+1|0;if(g>>>0>c>>>0){continue}break}break h}if((d|0)<=0){break h}g=c+d|0;b=b+c|0;while(1){i=O[c|0];L[c|0]=O[b|0];L[b|0]=i;b=b+1|0;c=c+1|0;if(g>>>0>c>>>0){continue}break}}Hj(a,f>>>4|0);a=k-d|0;k=a+(d&-16)|0;b=d>>>4|0;if(d>>>0>=160){continue}break}}i=a+16|0;if(k>>>0>i>>>0){while(1){c=i;r:{if(c>>>0<=a>>>0){break r}while(1){g=c-16|0;b=N[g>>2];d=N[c>>2];s:{if((b|0)!=(d|0)){if((b|0)<(d|0)){break r}break s}t:{if(O[c-8|0]){break t}b=N[c+4>>2];d=N[c-12>>2];if((b^d)>>>0<2){break t}if((b|0)>(d|0)){break r}break s}if(Q[c-4>>2]<=Q[c+12>>2]){break r}}b=g;d=c;while(1){e=O[b|0];L[b|0]=O[d|0];L[d|0]=e;d=d+1|0;b=b+1|0;if(c>>>0>b>>>0){continue}break}c=g;if(c>>>0>a>>>0){continue}break}}i=i+16|0;if(k>>>0>i>>>0){continue}break}}}function iu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-160|0;La=h;f=N[e+32>>2];if(f){g=N[f+100>>2]}else{g=0}a:{b:{if(bb(a,19233,7)){break b}c:{i=O[a+7|0];switch(i|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!f|!N[N[e+36>>2]+8>>2]){break a}j=(i?-8:-7)+b|0;k=j+1|0;d=N[f+88>>2];e=k+d|0;if((d|e)<0){c=6;break a}g=N[f+84>>2];c=N[f+100>>2];d:{e:{f:{if(!e){b=0;if(!g){break f}Qa[N[c+8>>2]](c,g);N[f+84>>2]=0;break d}g:{if(!d){b=Qa[N[c+4>>2]](c,e)|0;c=!b<<6;break g}c=Qa[N[c+12>>2]](c,d,e,g)|0;b=c?c:g;c=!c<<6}if(c|(d|0)>=(e|0)|!b){break e}G(b+d|0,0,k)}N[f+84>>2]=b;break d}N[f+84>>2]=b;if(c){break a}}b=N[f+88>>2]+b|0;B(b,i?a+8|0:a+7|0,j);L[b+j|0]=10;N[f+88>>2]=N[f+88>>2]+k;c=0;break a}i=N[e>>2];if(!(i&1)){d=N[e+56>>2];c=176;if(bb(a,19203,9)){break a}h:{switch(O[a+9|0]){case 0:case 9:case 10:case 13:case 32:break h;default:break a}}N[e+32>>2]=0;N[e>>2]=1;c=64;b=Qa[N[d+4>>2]](d,136)|0;if(!b){break a}G(b,0,136);N[e+32>>2]=b;N[b+100>>2]=N[e+56>>2];N[e+56>>2]=0;N[b+128>>2]=170;N[b+124>>2]=171;N[b+112>>2]=80;N[b+116>>2]=241;c=Qa[N[d+4>>2]](d,964)|0;if(!c){N[b+132>>2]=0;c=64;break a}g=b+112|0;a=0;G(c,0,964);N[b+132>>2]=c;b=43712;while(1){c=gg(N[b>>2],a,g,d);if(c){break a}b=b+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=Qa[N[d+4>>2]](d,24)|0;if(!a){N[N[e+32>>2]+92>>2]=0;c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;N[N[e+32>>2]+92>>2]=a;N[a+16>>2]=170;N[a+12>>2]=171;N[a>>2]=80;N[a+4>>2]=241;b=Qa[N[d+4>>2]](d,964)|0;if(!b){N[a+20>>2]=0;c=64;break a}c=0;G(b,0,964);N[a+20>>2]=b;a=N[N[e+36>>2]+12>>2];b=N[e+32>>2];N[b+36>>2]=-1;N[b+28>>2]=a;break a}i:{if(bb(a,19537,15)){break i}j:{switch(O[a+15|0]){case 0:case 9:case 10:case 13:case 32:break j;default:break i}}c=179;if(!(i&8)){break a}c=Kc(e+40|0,22537,a,b);N[h+32>>2]=c;if(c){break a}k:{l:{b=N[N[e+40>>2]+4>>2];if(!b){break l}a=L[b|0];c=a&255;if(!c|!(O[(c>>>3|0)+45040|0]>>>(a&7)&1)){break l}c=0;m:{while(1){if(c>>>0>=429496728){a=N[e+32>>2];N[a+72>>2]=-1;N[e+4>>2]=-1;a=a+72|0;break m}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}a=N[e+32>>2];N[a+72>>2]=c;N[e+4>>2]=c;if(N[e+60>>2]>>>2>>>0>=c>>>0){break k}a=a+72|0}N[a>>2]=0;c=6;break a}c=0;N[N[e+32>>2]+72>>2]=0;N[e+4>>2]=0}a=lb(g,16,0,c,0,h+32|0);b=N[e+32>>2];N[b+80>>2]=a;c=N[h+32>>2];if(c){N[b+72>>2]=0;break a}N[e>>2]=N[e>>2]|16;N[d>>2]=172;c=0;break a}n:{if(bb(a,18785,15)){break n}o:{switch(O[a+15|0]){case 0:case 9:case 10:case 13:case 32:break o;default:break n}}c=178;if(!(i&4)){break a}c=Kc(e+40|0,22537,a,b);if(c){break a}a=N[e+32>>2];b=N[e+40>>2];l=a,m=Tf(N[b+4>>2]),M[l+4>>1]=m;d=Tf(N[b+8>>2]);M[a+6>>1]=d;l=a,m=Ye(N[b+12>>2]),M[l+8>>1]=m;b=Ye(N[b+16>>2]);M[a+10>>1]=b;c=0;M[a+14>>1]=0-b;M[a+12>>1]=b+d;N[e>>2]=N[e>>2]|8;break a}p:{if(bb(a,19216,4)){break p}q:{switch(O[a+4|0]){case 0:case 9:case 10:case 13:case 32:break q;default:break p}}d=e+40|0;c=Kc(d,22537,a,b);if(c){break a}cm(d);f=bm(d,h+32|0);if(!f){c=3;break a}a=N[e+32>>2];b=N[a>>2];if(b){Qa[N[g+8>>2]](g,b);a=N[e+32>>2]}b=0;N[a>>2]=0;c=N[h+32>>2];d=c+1|0;r:{s:{if(c>>>0<=2147483646){b=Qa[N[g+4>>2]](g,d)|0;a=N[e+32>>2];if(b){break r}c=64;break s}c=6;if(!d){break r}}N[a>>2]=0;break a}N[a>>2]=b;B(b,f,d);g=N[e+36>>2];a=La-272|0;La=a;d=6;b=N[e+32>>2];t:{if(!b){break t}c=N[b>>2];if(!c|!O[c|0]){break t}f=N[b+100>>2];N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[a+12>>2]=f;N[b+28>>2]=N[g+12>>2];g=nb(c)+1|0;if(g>>>0>255){break t}d=a+16|0;B(d,c,g);d=Kc(a,22535,d,g);u:{if(d|N[a+8>>2]!=15){break u}c=32;v:{w:{switch(L[N[N[a>>2]+44>>2]]-67|0){case 10:case 42:c=16;break v;case 0:case 32:break v;case 13:case 45:break w;default:break u}}c=8}N[b+28>>2]=c}b=N[a+12>>2];if(!b){break t}c=N[a>>2];if(!c){break t}Qa[N[b+8>>2]](b,c)}La=a+272|0;c=d;if(c){break a}N[e>>2]=N[e>>2]|2;c=0;break a}x:{if(bb(a,20116,4)){break x}y:{switch(O[a+4|0]){case 0:case 9:case 10:case 13:case 32:break y;default:break x}}c=177;if(!(i&2)){break a}c=Kc(e+40|0,22537,a,b);if(c){break a}a=N[e+32>>2];b=N[e+40>>2];l=a,m=Xe(N[b+4>>2]),N[l+16>>2]=m;l=a,m=Xe(N[b+8>>2]),N[l+20>>2]=m;l=a,m=Xe(N[b+12>>2]),N[l+24>>2]=m;z:{if(N[e+48>>2]==5){b=Ye(N[b+16>>2]);if(b>>>0>=5){M[a+96>>1]=8;break z}if(b>>>0>=3){M[a+96>>1]=4;break z}if((b|0)==2){M[a+96>>1]=2;break z}M[a+96>>1]=1;break z}M[a+96>>1]=1}N[e>>2]=N[e>>2]|4;c=0;break a}c=3;if(bb(a,19438,5)){break a}A:{switch(O[a+5|0]){case 0:case 9:case 10:case 13:case 32:break A;default:break a}}c=179;if(!(i&8)){break a}a=M[f+12>>1];N[f+40>>2]=a;N[h+16>>2]=a;a=h+32|0;Sf(a,h+16|0);c=Ld(N[e+32>>2],19320,a);if(c){break a}c=N[e+32>>2];b=M[c+14>>1];N[c+44>>2]=b;N[h>>2]=b;Sf(a,h);c=Ld(N[e+32>>2],19275,a);if(c){break a}N[d>>2]=173;c=-1}La=h+160|0;return c|0}function rB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;e=La-48|0;La=e;c=6;a:{if(!a|!b){break a}g=N[b+4>>2];if(!g){c=20;break a}c=0;if(M[g+2>>1]<=0|M[g>>1]<=0){break a}if(!N[g+12>>2]){c=20;break a}c=20;if(!N[g+4>>2]){break a}c=6;if(N[b+48>>2]-33>>>0<4294967265){break a}c=N[a>>2];if(!c){c=32;break a}z=e,A=dg(g),N[z+32>>2]=A;L[e+36|0]=O[b+52|0];a=O[b+53|0];N[e+40>>2]=0;L[e+37|0]=a;d=Qa[N[c+4>>2]](c,8)|0;if(!d){c=64;break a}N[d>>2]=0;N[d+4>>2]=0;N[d>>2]=c;N[e+44>>2]=d;c=Zh(g,294060,d);if(c){break a}h=N[b>>2];k=N[b+48>>2];b:{if(O[b+54|0]){N[e+24>>2]=N[e+40>>2];a=N[e+36>>2];N[e+16>>2]=N[e+32>>2];N[e+20>>2]=a;b=0;s=La-32|0;La=s;a=6;c:{if(!d|!h){break c}l=N[d>>2];if(!l){break c}p=O[e+20|0];L[e+20|0]=0;w=N[d+4>>2];N[s+24>>2]=l;u=d+4|0;y=N[h>>2];x=N[h+4>>2];d:{e:{f:{g:{if(!w){c=0;break g}c=w;while(1){d=q;q=d+1|0;c=N[c+12>>2];if(c){continue}break}c=T(q,24);h:{if((c|0)<=0){if(!c){break h}break c}m=Qa[N[l+4>>2]](l,c)|0;if(!m){a=64;break c}G(m,0,c)}c=q<<2;i:{if((c|0)<=0){if(!c){break i}break d}o=Qa[N[l+4>>2]](l,c)|0;if(!o){a=64;break d}G(o,0,c)}a=u;c=0;while(1){v=b;f=T(b,24)+m|0;t=N[a>>2];if(m){N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=0;N[f+20>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0}g=c;N[f+4>>2]=N[h+4>>2];N[f>>2]=N[h>>2];N[f+8>>2]=N[h+8>>2];M[f+16>>1]=P[h+16>>1];L[f+18|0]=O[h+18|0];j:{k:{b=T(N[h+8>>2],N[h>>2]);l:{if((b|0)<=0){a=0;if(!b){break j}a=6;break l}a=Qa[N[l+4>>2]](l,b)|0;if(a){break k}a=64}N[(T(v,24)+m|0)+12>>2]=0;break f}G(a,0,b)}N[f+12>>2]=a;m:{n:{o:{if(!t){break o}a=0;c=N[t+8>>2];if(!c){break o}while(1){p:{q:{switch(N[c+32>>2]-1|0){case 0:b=(T(N[c+4>>2]+N[c+12>>2]|0,N[c+8>>2]-N[c>>2]|0)|0)/64|0;break p;case 1:b=a;j=N[c+20>>2];a=N[c+16>>2];b=b+((T(j+N[c+4>>2]|0,a-N[c>>2]|0)|0)/64|0)|0;a=(T(j+N[c+12>>2]|0,N[c+8>>2]-a|0)|0)/64|0;break p;case 2:break q;default:break o}}r=a;a=N[c+20>>2];b=N[c+16>>2];i=r+((T(a+N[c+4>>2]|0,b-N[c>>2]|0)|0)/64|0)|0;j=N[c+28>>2];r=j+a|0;a=N[c+24>>2];b=i+((T(r,a-b|0)|0)/64|0)|0;a=(T(j+N[c+12>>2]|0,N[c+8>>2]-a|0)|0)/64|0}a=a+b|0;c=N[c+36>>2];if(c){continue}break}c=1;n=(v<<2)+o|0;a=(a|0)<=0;N[n>>2]=a?2:1;j=N[e+16>>2];b=0;if(j?0:a){break m}if(a){break n}b=1;if((j|0)==1){break m}break n}n=(v<<2)+o|0;N[n>>2]=0;j=N[e+16>>2]}c=0;b=j}N[e+24>>2]=c;c=N[t+12>>2];N[t+12>>2]=0;N[s+28>>2]=t;N[s+16>>2]=N[e+24>>2];a=N[e+20>>2];N[s+8>>2]=N[e+16>>2];N[s+12>>2]=a;a=cp(s+8|0,s+24|0,k,f);if(a){break e}a=t+12|0;N[a>>2]=c;c=N[s+28>>2];N[c+12>>2]=g;r:{if((b|0)!=1){break r}b=2;s:{switch(N[n>>2]-1|0){case 1:b=1;break;case 0:break s;default:break r}}N[n>>2]=b}b=v+1|0;if((d|0)!=(v|0)){continue}break}}N[u>>2]=c;if((y|0)<=0){a=0;if(o){break e}break d}a=0;if((x|0)<=0){break f}t=N[h+12>>2];if(!w){G(t,p?-1:0,T(x,y));if(o){break e}break d}g=q&-2;v=q&1;j=0;t:{if(p){w=(q|0)==1;while(1){u=T(j,x);f=0;while(1){h=f+u|0;i=255;c=0;a=0;b=0;u:{if(!w){while(1){a=i&255;n=O[h+N[(T(c,24)+m|0)+12>>2]|0];k=N[(c<<2)+o>>2]==1;a=k?i:a>>>0>>0?a:n;d=a&255;r=a;a=c|1;p=O[h+N[(T(a,24)+m|0)+12>>2]|0];i=d>>>0

>>0?d:p;d=N[(a<<2)+o>>2]==1;i=d?r:i;a=b&255;b=k?a>>>0>n>>>0?a:n:b;a=b&255;b=d?a>>>0>p>>>0?a:p:b;c=c+2|0;if((g|0)!=(c|0)){continue}break}a=g;if(!v){break u}}c=i&255;d=O[h+N[(T(a,24)+m|0)+12>>2]|0];r=c>>>0>>0?c:d;c=N[(a<<2)+o>>2]==1;i=c?i:r;a=b&255;b=c?a>>>0>d>>>0?a:d:b}b=b&255;a=i&255;L[h+t|0]=(a>>>0>b>>>0?b:a)^-1;f=f+1|0;if((x|0)!=(f|0)){continue}break}j=j+1|0;if((y|0)!=(j|0)){continue}break}break t}w=(q|0)==1;while(1){u=T(j,x);f=0;while(1){h=f+u|0;i=255;c=0;a=0;b=0;v:{if(!w){while(1){a=i&255;n=O[h+N[(T(c,24)+m|0)+12>>2]|0];k=N[(c<<2)+o>>2]==1;a=k?i:a>>>0>>0?a:n;d=a&255;r=a;a=c|1;p=O[h+N[(T(a,24)+m|0)+12>>2]|0];i=d>>>0

>>0?d:p;d=N[(a<<2)+o>>2]==1;i=d?r:i;a=b&255;b=k?a>>>0>n>>>0?a:n:b;a=b&255;b=d?a>>>0>p>>>0?a:p:b;c=c+2|0;if((g|0)!=(c|0)){continue}break}a=g;if(!v){break v}}c=i&255;d=O[h+N[(T(a,24)+m|0)+12>>2]|0];r=c>>>0>>0?c:d;c=N[(a<<2)+o>>2]==1;i=c?i:r;a=b&255;b=c?a>>>0>d>>>0?a:d:b}b=b&255;a=i&255;L[h+t|0]=a>>>0>b>>>0?b:a;f=f+1|0;if((x|0)!=(f|0)){continue}break}j=j+1|0;if((y|0)!=(j|0)){continue}break}}a=0;break e}if(!o){break d}}Qa[N[l+8>>2]](l,o)}if(!m){break c}if(!q){a=97;break c}c=0;w:{if((q|0)!=1){u=q&1;k=q&-2;b=0;while(1){d=T(c,24)+m|0;g=N[d+12>>2];if(g){Qa[N[l+8>>2]](l,g)}N[d+12>>2]=0;d=T(c|1,24)+m|0;g=N[d+12>>2];if(g){Qa[N[l+8>>2]](l,g)}N[d+12>>2]=0;c=c+2|0;b=b+2|0;if((k|0)!=(b|0)){continue}break}if(!u){break w}}c=T(c,24)+m|0;b=N[c+12>>2];if(b){Qa[N[l+8>>2]](l,b)}N[c+12>>2]=0}Qa[N[l+8>>2]](l,m)}La=s+32|0;c=a;if(!c){break b}break a}N[e+8>>2]=N[e+40>>2];a=N[e+36>>2];N[e>>2]=N[e+32>>2];N[e+4>>2]=a;c=cp(e,d,k,h);if(c){break a}}d=e+44|0;x:{if(!d){break x}a=N[d>>2];if(!a){break x}k=N[a>>2];if(!k){break x}b=N[a+4>>2];y:{if(b){while(1){g=N[b+12>>2];a=N[b+8>>2];if(a){while(1){c=N[a+36>>2];Qa[N[k+8>>2]](k,a);a=c;if(c){continue}break}}Qa[N[k+8>>2]](k,b);b=g;if(b){continue}break}a=N[d>>2];if(!a){break y}}Qa[N[k+8>>2]](k,a)}N[d>>2]=0}c=0}La=e+48|0;return c|0}function Ym(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;g=La-16|0;La=g;i=N[b+28>>2];n=N[a+736>>2];N[g>>2]=0;a:{if(!n){N[g+12>>2]=0;break a}if(!N[a+704>>2]){N[g+12>>2]=0;break a}if(Qa[N[a+516>>2]](a,1668702578,b,g+8|0)|0){N[g+12>>2]=0;break a}if(Bb(b,N[g+8>>2])){N[g+12>>2]=0;break a}b:{c:{d:{e:{c=N[b+32>>2];if(Q[b+36>>2]>c+3>>>0){j=N[b>>2];d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[b+32>>2]=c+4;if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==65536){break e}}N[g+12>>2]=0;break d}f:{d=N[n>>2];if((d|0)<0){l=6;break f}g:{h:{if(d){l=10;if((d|0)>536870911){break f}h=d<<2;l=Qa[N[i+4>>2]](i,h)|0;if(!l|(d|0)<=0){break h}G(l,0,h)}N[g+12>>2]=0;break g}N[g+12>>2]=!l<<6;if(l){break g}break c}s=lb(i,4,0,N[n>>2],0,g+12|0);if(N[g+12>>2]){break c}t=lb(i,4,0,N[n>>2],0,g+12|0);if(N[g+12>>2]){break c}h=N[b+36>>2];d=N[b+32>>2];if(h>>>0>d+1>>>0){o=O[d|0]|O[d+1|0]<<8;f=o<<8|o>>>8;d=d+2|0}N[b+32>>2]=d;if(d+1>>>0>>0){e=O[d+1|0]|O[d|0]<<8;d=d+2|0}N[b+32>>2]=d;o=N[g+8>>2];v=f&4095;if(o>>>0<(v<<2)+e>>>0){N[g+12>>2]=8;break c}q=(c-j|0)+e|0;i:{if(f<<16>>16>=0){o=0;break i}c=N[b>>2];N[b+32>>2]=h-c>>>0>q>>>0?c+q|0:h;o=ag(b,o,g);j=N[b+32>>2];h=N[b>>2];c=d-c|0;d=N[b+36>>2];N[b+32>>2]=c>>>0>>0?h+c|0:d;q=j-h|0}r=lb(i,4,0,N[a+700>>2],0,g+12|0);j:{if(N[g+12>>2]){break j}if(v){j=0;while(1){f=N[b+36>>2];c=N[b+32>>2];k:{if(f>>>0<=c+1>>>0){x=0;break k}x=O[c+1|0]|O[c|0]<<8;c=c+2|0}N[b+32>>2]=c;h=0;w=0;l:{m:{if(f>>>0<=c+1>>>0){break m}d=O[c|0]|O[c+1|0]<<8;c=c+2|0;N[b+32>>2]=c;d=d<<8|d>>>8;h=d&65535;w=d<<16>>16;if((w|0)>=0){break m}d=N[n>>2];if(!d){break l}m=0;n:{if((d|0)==1){d=0;break n}p=d&1;u=d&-2;d=0;k=0;while(1){o:{if(f>>>0<=c+1>>>0){e=0;break o}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(d<<2)+l>>2]=e<<16>>16<<2;e=0;if(f>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((d|1)<<2)+l>>2]=e<<16>>16<<2;d=d+2|0;k=k+2|0;if((u|0)!=(k|0)){continue}break}if(!p){break l}}if(f>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;m=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(d<<2)+l>>2]=m<<16>>16<<2;break l}c=h&4095;if(c>>>0>=Q[n+60>>2]){N[g+12>>2]=8;break j}d=N[n+64>>2];if(!d){N[g+12>>2]=8;break j}e=c;c=N[n>>2];B(l,d+(T(e,c)<<2)|0,c<<2)}p:{if(!(h&16384)){break p}p=N[n>>2];if(!p){break p}u=p&1;c=N[b+32>>2];d=N[b+36>>2];m=0;y=p-1|0;q:{r:{if(!y){f=0;break r}A=p&-2;f=0;k=0;while(1){s:{if(d>>>0<=c+1>>>0){e=0;break s}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(f<<2)+s>>2]=e<<16>>16<<2;e=0;if(d>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((f|1)<<2)+s>>2]=e<<16>>16<<2;f=f+2|0;k=k+2|0;if((A|0)!=(k|0)){continue}break}if(!u){break q}}if(d>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;m=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(f<<2)+s>>2]=m<<16>>16<<2}m=0;t:{if(!y){f=0;break t}p=p&-2;f=0;k=0;while(1){u:{if(d>>>0<=c+1>>>0){e=0;break u}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(f<<2)+t>>2]=e<<16>>16<<2;e=0;if(d>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((f|1)<<2)+t>>2]=e<<16>>16<<2;f=f+2|0;k=k+2|0;if((p|0)!=(k|0)){continue}break}if(!u){break p}}if(d>>>0>c+1>>>0){d=O[c|0]|O[c+1|0]<<8;m=d<<8|d>>>8;c=c+2|0}N[b+32>>2]=c;N[(f<<2)+t>>2]=m<<16>>16<<2}f=$m(n,w&65535,l,s,t);if(f){m=N[b+32>>2];e=N[b>>2];c=N[b+36>>2];N[b+32>>2]=c-e>>>0>q>>>0?e+q|0:c;m=m-e|0;v:{if(h&8192){h=ag(b,N[g+8>>2],g+4|0);d=N[g+4>>2];j=h;break v}d=N[g>>2];N[g+4>>2]=d;h=j;j=o}e=Sh(b,N[g+8>>2],d?d:N[a+700>>2]);w:{x:{y:{if(!j|!e){break y}z:{if((h|0)!=-1){c=0;if(d){break z}j=0;if(!h){break x}Qa[N[i+8>>2]](i,h);break x}j=-1;if(N[a+700>>2]!=(d|0)){break x}c=0;if(!d){break x}while(1){d=c<<2;j=d+r|0;C=j,D=qb(N[d+e>>2],f)+N[j>>2]|0,N[C>>2]=D;c=c+1|0;if(c>>>0>2]){continue}break}break y}while(1){k=P[j+(c<<1)>>1];if(k>>>0>2]){k=(k<<2)+r|0;C=k,D=qb(N[e+(c<<2)>>2],f)+N[k>>2]|0,N[C>>2]=D}c=c+1|0;if((c|0)!=(d|0)){continue}break}}j=-1;A:{switch(h+1|0){default:Qa[N[i+8>>2]](i,h);case 1:j=0;break;case 0:break A}}if(!e){break w}}Qa[N[i+8>>2]](i,e)}c=N[b>>2];d=N[b+36>>2];N[b+32>>2]=m>>>0>>0?c+m|0:d}q=q+x|0;z=z+1|0;if((z|0)!=(v|0)){continue}break}}c=N[a+700>>2];if(!c){break j}h=N[a+704>>2];d=0;if((c|0)!=1){j=c&1;e=c&-2;while(1){c=d<<2;f=c+h|0;N[f>>2]=N[f>>2]+(N[c+r>>2]+512>>10);c=c|4;f=c+h|0;N[f>>2]=N[f>>2]+(N[c+r>>2]+512>>10);d=d+2|0;if((e|0)!=(d|0)){continue}break}if(!j){break j}}c=d<<2;d=c+h|0;N[d>>2]=N[d>>2]+(N[c+r>>2]+512>>10)}if(N[b+20>>2]){c=N[b>>2];if(c){d=N[b+28>>2];Qa[N[d+8>>2]](d,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(o+1>>>0<2){break b}Qa[N[i+8>>2]](i,o);break b}N[g+12>>2]=l}l=0}if(N[b+20>>2]){c=N[b>>2];if(c){d=N[b+28>>2];Qa[N[d+8>>2]](d,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}if(l){Qa[N[i+8>>2]](i,l)}if(s){Qa[N[i+8>>2]](i,s)}if(t){Qa[N[i+8>>2]](i,t)}if(!r){break a}Qa[N[i+8>>2]](i,r)}a=N[a+108>>2];while(1){if(a){b=N[a+4>>2];N[N[a+8>>2]+308>>2]=-1;a=b;continue}break}La=g+16|0;return N[g+12>>2]}function Ao(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=La-128|0;La=f;r=N[a>>2];m=N[r>>2];h=N[m+12>>2]+T(b,12)|0;v=N[h+8>>2];s=N[h+4>>2];p=N[h>>2];t=f- -64|0;u=1;while(1){a:{b:{if(s){h=N[r+4>>2];N[f+104>>2]=0;N[f+96>>2]=v;N[f+92>>2]=s;N[f+88>>2]=1;if(!Sd(h,f+88|0,o,f+84|0,1)){break b}}N[f>>2]=p;mb(m,2,24370,f);break a}h=N[f+84>>2];u=N[h>>2];zo(m,h);N[f+80>>2]=0;N[f+72>>2]=0;N[f+76>>2]=0;N[t>>2]=0;N[t+4>>2]=0;N[f+56>>2]=0;N[f+60>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!Do(N[f+84>>2],0,f+48|0)){N[f+32>>2]=p;mb(m,2,24401,f+32|0);g=N[f+84>>2];if(!g){break a}h=N[g+96>>2];if(!h){break a}c=N[g+128>>2];d=N[c+64>>2];N[c+64>>2]=d-1;if((d|0)>1){break a}d=N[h+16>>2];if(!d){break a}j=h+16|0;c=N[h+8>>2];while(1){if((g|0)==N[d+8>>2]){break k}d=N[d+4>>2];if(d){continue}break}break a}h=db(1,12);if(!h){h=N[f+48>>2];if(!h){break c}d=0;g=N[f+64>>2];if((g|0)>0){break j}break d}N[h>>2]=m;g=N[f+84>>2];N[h+8>>2]=b;N[h+4>>2]=g;j=N[a>>2];N[f+120>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;d=f+48|0;g=o;q=N[f+64>>2];l:{if(!q){d=N[a+36>>2];if(d){g=Qa[d|0](h)|0}d=N[f+56>>2];d=yo(N[j>>2],N[j+4>>2],d?d:N[f+60>>2],N[a+4>>2],h,g);if(!d){break l}n=N[f+60>>2];if(!Do(d,n,f+88|0)){g=N[d+96>>2];if(!g){break l}e=N[d+128>>2];c=N[e+64>>2];N[e+64>>2]=c-1;if((c|0)>1){break l}c=N[g+16>>2];if(!c){break l}i=g+16|0;e=N[g+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break l}break}j=N[c>>2];k=j?j+4|0:i;i=N[c+4>>2];N[k>>2]=i;N[(i?i:g+20|0)>>2]=j;Qa[N[e+8>>2]](e,c);gc(e,d,g);break l}m:{c=N[f+96>>2];if(!c){break m}c=Hb(c);N[f+96>>2]=c;if(c){break m}g=N[d+96>>2];if(!g){break l}e=N[d+128>>2];c=N[e+64>>2];N[e+64>>2]=c-1;if((c|0)>1){break l}c=N[g+16>>2];if(!c){break l}i=g+16|0;e=N[g+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break l}break}j=N[c>>2];k=j?j+4|0:i;i=N[c+4>>2];N[k>>2]=i;N[(i?i:g+20|0)>>2]=j;Qa[N[e+8>>2]](e,c);gc(e,d,g);break l}e=N[d+96>>2];n:{if(!e){break n}i=N[d+128>>2];c=N[i+64>>2];N[i+64>>2]=c-1;if((c|0)>1){break n}c=N[e+16>>2];if(!c){break n}k=e+16|0;i=N[e+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break n}break}l=N[c>>2];w=l?l+4|0:k;k=N[c+4>>2];N[w>>2]=k;N[(k?k:e+20|0)>>2]=l;Qa[N[i+8>>2]](i,c);gc(i,d,e)}N[f+100>>2]=n;d=f+88|0}c=N[d+24>>2];i=c>>>0<=110?c:0;c=N[d+32>>2];l=c-201>>>0<4294967145?100:c;c=N[d+28>>2];k=c-901>>>0<4294966495?400:c;c=N[j+24>>2];e=N[j+28>>2];o:{if((c|0)<(e|0)){e=N[j+32>>2];break o}c=(e|0)<=0?1:e<<1;N[j+28>>2]=c;e=$a(N[j+32>>2],T(c,56));N[j+32>>2]=e;c=N[j+24>>2]}e=T(c,56)+e|0;N[e>>2]=0;N[e+4>>2]=0;N[e+48>>2]=0;N[e+52>>2]=0;N[e+40>>2]=0;N[e+44>>2]=0;N[e+32>>2]=0;N[e+36>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;c=N[j+8>>2];N[j+8>>2]=c+1;N[e+28>>2]=l;N[e+24>>2]=k;N[e+20>>2]=i;N[e>>2]=c;l=N[d+20>>2];N[e+16>>2]=l;k=N[d+16>>2];N[e+12>>2]=k;i=db(k,4);N[e+4>>2]=i;p:{if(!i){break p}if(l){c=db(l,4);N[e+8>>2]=c;if(!c){break p}}c=0;if((k|0)>0){while(1){n=c<<2;x=n+i|0,y=Hb(N[n+N[d>>2]>>2]),N[x>>2]=y;i=N[e+4>>2];if(!N[n+i>>2]){break p}c=c+1|0;if((k|0)!=(c|0)){continue}break}}if((l|0)>0){i=N[e+8>>2];c=0;while(1){k=c<<2;x=k+i|0,y=Hb(N[k+N[d+4>>2]>>2]),N[x>>2]=y;i=N[e+8>>2];if(!N[k+i>>2]){break p}c=c+1|0;if((l|0)!=(c|0)){continue}break}}c=N[d+8>>2];if(c){c=Hb(c);N[e+40>>2]=c;if(!c){break p}}d=N[d+12>>2];if(!d){break h}d=Hb(d);N[e+44>>2]=d;if(d){break h}}Co(e)}g=N[f+88>>2];if(!g){break f}d=0;c=N[f+104>>2];if((c|0)>0){break i}break g}e=N[d>>2];i=e?e+4|0:j;j=N[d+4>>2];N[i>>2]=j;N[(j?j:h+20|0)>>2]=e;Qa[N[c+8>>2]](c,d);gc(c,g,h);break a}while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}break d}while(1){_a(N[g+(d<<2)>>2]);d=d+1|0;if((c|0)!=(d|0)){continue}break}break g}N[e+52>>2]=h;N[e+36>>2]=g;N[e+48>>2]=a;N[j+24>>2]=N[j+24>>2]+1;break e}_a(g)}g=N[f+92>>2];if(g){d=0;c=N[f+108>>2];if((c|0)>0){while(1){_a(N[g+(d<<2)>>2]);d=d+1|0;if((c|0)!=(d|0)){continue}break}}_a(g)}_a(N[f+96>>2]);g=N[a+16>>2];if(g){Qa[g|0](h)}N[f+16>>2]=p;mb(m,2,24447,f+16|0);_a(h)}h=N[f+48>>2];if(h){d=0;if((q|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((q|0)!=(d|0)){continue}break}}_a(h)}h=N[f+52>>2];if(!h){break a}d=0;g=N[f+68>>2];if((g|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}}_a(h);break a}_a(h)}h=N[f+52>>2];if(h){d=0;g=N[f+68>>2];if((g|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}}_a(h)}g=N[f+84>>2];if(!g){break a}h=N[g+96>>2];if(!h){break a}c=N[g+128>>2];d=N[c+64>>2];N[c+64>>2]=d-1;if((d|0)>1){break a}d=N[h+16>>2];if(!d){break a}j=h+16|0;c=N[h+8>>2];while(1){if((g|0)!=N[d+8>>2]){d=N[d+4>>2];if(d){continue}break a}break}e=N[d>>2];i=e?e+4|0:j;j=N[d+4>>2];N[i>>2]=j;N[(j?j:h+20|0)>>2]=e;Qa[N[c+8>>2]](c,d);gc(c,g,h)}o=o+1|0;if((u|0)>(o|0)){continue}break}La=f+128|0}function dj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=b<<1;o=d+a|0;if(b>>>0>=10){while(1){j=a+2|0;i=P[a+2>>1];h=(b&-2)+a|0;g=P[h>>1];b=(cj(i,g,c)|0)>0;d=d-2|0;l=d+a|0;f=l-2|0;e=P[f>>1];k=b?j:h;a:{if((cj(b?i:g,e,c)|0)<=0){break a}k=(cj(b?g:i,e,c)|0)>0?b?h:j:f}b=k;if((b|0)!=(l|0)){j=O[b|0];L[b|0]=O[l|0];L[l|0]=j;j=O[b+1|0];L[b+1|0]=O[l+1|0];L[l+1|0]=j}h=l;i=h;j=a;b=j;b:{if((d|0)<=0){f=0;break b}while(1){c:{m=P[b>>1];d=P[l>>1];d:{e:{f:{g:{h:{g=N[c+4>>2];if((g|0)!=131072){if((g|0)!=65536){break e}g=0;k=0;f=0;if(d>>>0<=257){f=d<<2;d=N[f+267632>>2];k=d+268668|0;f=N[f+267636>>2]+(d^-1)|0}if(m>>>0<=257){break h}e=0;break f}g=0;k=0;e=N[c+8>>2];n=O[e|0]|O[e+1|0]<<8;n=(n<<8|n>>>8)&65535;f=0;i:{if(n>>>0<=d>>>0){break i}d=e+(d<<1)|0;d=O[d+2|0]|O[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){f=d<<2;d=N[f+267632>>2];k=d+268668|0;f=N[f+267636>>2]+(d^-1)|0;break i}d=d-258|0;f=0;if(d>>>0>=Q[c+16>>2]){break i}d=N[c+24>>2]+N[N[c+20>>2]+(d<<2)>>2]|0;k=d+1|0;f=O[d|0]}if(m>>>0>>0){break g}e=0;break f}g=m<<2;d=N[g+267632>>2];e=N[g+267636>>2]+(d^-1)|0;g=d+268668|0;break f}d=e+(m<<1)|0;d=O[d+2|0]|O[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){g=d<<2;d=N[g+267632>>2];e=N[g+267636>>2]+(d^-1)|0;g=d+268668|0;break f}d=d-258|0;if(d>>>0>=Q[c+16>>2]){e=0;break f}d=N[c+24>>2]+N[N[c+20>>2]+(d<<2)>>2]|0;g=d+1|0;e=O[d|0]}if((e|0)!=(f|0)){d=e-f|0}else{if(!f){break e}d=Mb(g,k,f)}if((d|0)>0){j:{if(b>>>0>=i>>>0){break j}while(1){g=i;i=i-2|0;m=P[i>>1];q=m>>>8|0;e=P[l>>1];k:{l:{m:{n:{o:{p:{d=N[c+4>>2];if((d|0)!=131072){if((d|0)!=65536){break m}k=0;d=0;f=0;if(e>>>0<=257){f=e<<2;d=N[f+267632>>2];f=N[f+267636>>2]+(d^-1)|0;d=d+268668|0}if(m>>>0<=257){break p}e=0;break n}k=0;d=0;f=0;n=N[c+8>>2];p=O[n|0]|O[n+1|0]<<8;p=(p<<8|p>>>8)&65535;q:{if(p>>>0<=e>>>0){break q}d=(e<<1)+n|0;d=O[d+2|0]|O[d+3|0]<<8;e=(d<<8|d>>>8)&65535;if(e>>>0<=257){f=e<<2;d=N[f+267632>>2];f=N[f+267636>>2]+(d^-1)|0;d=d+268668|0;break q}d=0;e=e-258|0;if(e>>>0>=Q[c+16>>2]){break q}f=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;d=f+1|0;f=O[f|0]}if(m>>>0

>>0){break o}e=0;break n}e=m<<2;k=N[e+267632>>2];e=N[e+267636>>2]+(k^-1)|0;k=k+268668|0;break n}e=(m<<1)+n|0;e=O[e+2|0]|O[e+3|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<=257){e=e<<2;k=N[e+267632>>2];e=N[e+267636>>2]+(k^-1)|0;k=k+268668|0;break n}e=e-258|0;if(e>>>0>=Q[c+16>>2]){e=0;break n}e=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;k=e+1|0;e=O[e|0]}if((e|0)!=(f|0)){d=e-f|0}else{if(!f){break m}d=Mb(k,d,f)}if(d){break l}}d=h-2|0;if(g>>>0>>0){L[i|0]=O[d|0];L[d|0]=m;h=h-1|0;L[g-1|0]=O[h|0];L[h|0]=q}h=d;break k}if((d|0)>=0){break k}if(b>>>0>>0){d=O[b|0];L[b|0]=m;L[i|0]=d;d=O[b+1|0];L[b+1|0]=q;L[g-1|0]=d}b=b+2|0;break j}if(b>>>0>>0){continue}break}}if(b>>>0>>0){continue}break c}if(d){break d}}if(b>>>0>j>>>0){d=O[j|0];L[j|0]=m;L[b|0]=d;d=O[j+1|0];L[j+1|0]=m>>>8;L[b+1|0]=d}j=j+2|0}b=b+2|0;if(i>>>0>b>>>0){continue}}break}d=i-j|0;r:{if((a|0)==(j|0)|(j|0)==(i|0)){break r}b=j-a|0;if(b>>>0>d>>>0){if((d|0)<=0){break r}l=a+d|0;b=a+b|0;j=a;while(1){g=O[j|0];L[j|0]=O[b|0];L[b|0]=g;b=b+1|0;j=j+1|0;if(l>>>0>j>>>0){continue}break}break r}if((b|0)<=0){break r}l=a+b|0;b=a+d|0;j=a;while(1){g=O[j|0];L[j|0]=O[b|0];L[b|0]=g;b=b+1|0;j=j+1|0;if(l>>>0>j>>>0){continue}break}}f=h-i|0;if((i|0)==(h|0)|(h|0)==(o|0)){break b}b=o-h|0;if(b>>>0>>0){if((b|0)<=0){break b}j=b+i|0;b=f+i|0;while(1){l=O[i|0];L[i|0]=O[b|0];L[b|0]=l;b=b+1|0;i=i+1|0;if(j>>>0>i>>>0){continue}break}break b}if((f|0)<=0){break b}j=f+i|0;b=b+i|0;while(1){l=O[i|0];L[i|0]=O[b|0];L[b|0]=l;b=b+1|0;i=i+1|0;if(j>>>0>i>>>0){continue}break}}dj(a,d>>>1|0,c);a=o-f|0;d=f&-2;o=a+d|0;b=f>>>1|0;if(f>>>0>=20){continue}break}}d=a+2|0;if(o>>>0>d>>>0){while(1){b=d;s:{if(d>>>0<=a>>>0){break s}while(1){i=P[b>>1];j=b-2|0;l=P[j>>1];t:{u:{v:{h=N[c+4>>2];if((h|0)!=131072){if((h|0)!=65536){break s}h=0;g=0;f=0;if(i>>>0<=257){f=i<<2;g=N[f+267632>>2];f=N[f+267636>>2]+(g^-1)|0;g=g+268668|0}if(l>>>0<=257){break v}e=0;break t}h=0;g=0;f=0;e=N[c+8>>2];k=O[e|0]|O[e+1|0]<<8;m=(k<<8|k>>>8)&65535;w:{if(m>>>0<=i>>>0){break w}g=e+(i<<1)|0;g=O[g+2|0]|O[g+3|0]<<8;k=(g<<8|g>>>8)&65535;if(k>>>0<=257){f=k<<2;g=N[f+267632>>2];f=N[f+267636>>2]+(g^-1)|0;g=g+268668|0;break w}g=0;k=k-258|0;if(k>>>0>=Q[c+16>>2]){break w}f=N[c+24>>2]+N[N[c+20>>2]+(k<<2)>>2]|0;g=f+1|0;f=O[f|0]}if(l>>>0>>0){break u}e=0;break t}e=l<<2;h=N[e+267632>>2];e=N[e+267636>>2]+(h^-1)|0;h=h+268668|0;break t}h=e+(l<<1)|0;h=O[h+2|0]|O[h+3|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<=257){e=e<<2;h=N[e+267632>>2];e=N[e+267636>>2]+(h^-1)|0;h=h+268668|0;break t}h=0;e=e-258|0;if(e>>>0>=Q[c+16>>2]){e=0;break t}e=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;h=e+1|0;e=O[e|0]}if((e|0)!=(f|0)){h=e-f|0}else{if(!f){break s}h=Mb(h,g,f)}if((h|0)<=0){break s}L[j|0]=i;L[b+1|0]=l>>>8;L[b-1|0]=i>>>8;L[b|0]=l;b=j;if(b>>>0>a>>>0){continue}break}}d=d+2|0;if(o>>>0>d>>>0){continue}break}}}function oj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{f=N[b+4>>2];if(f>>>0>a>>>0){break a}e=N[b+8>>2];if(e>>>0>>0){break a}i=e-a|0;if(i>>>0<4){break a}c=N[b+12>>2];g=c-4|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break a}b:{c:{d:{h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);e:{if((g|0)<=1953658212){if((g|0)==256){break c}if((g|0)==65536|(g|0)==1330926671){break e}break b}if((g|0)==1954115633){break e}if((g|0)==1953784678){break d}if((g|0)!=1953658213){break b}}if(i>>>0<12){break a}d=c-16|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+4|0;if(d>>>0>e>>>0|e-d>>>0<8){break a}c=c-24|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;if(d){a=a+12|0;if(a>>>0>e>>>0){break a}f=e-a|0;a=((d<<8|d>>>8)&65535)<<4;if(f>>>0>>0){break a}a=c-a|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}return 1}g=f;f=a+4|0;if(g>>>0>f>>>0|e>>>0>>0|e-f>>>0<4){break a}g=c-8|0;N[b+12>>2]=g;if((g|0)<=0){break a}f=O[f|0]|O[f+1|0]<<8;if(((f<<8|f>>>8)&65535)-1>>>0>1){break b}d=a+8|0;if(d>>>0>e>>>0|e-d>>>0<4){break a}d=c-12|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(f>>>0>1073741823){break a}g=f<<2;if(g){h=a+12|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break a}e=d-g|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break b}}if(!c){return 1}i=f>>>0<=1?1:f;c=0;while(1){g=N[b+4>>2];e=((c<<2)+a|0)+12|0;if(g>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}h=N[b+12>>2];f=h-4|0;N[b+12>>2]=f;if((f|0)<=0){break a}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f:{if(!f){break f}if(f&128){break a}f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0;g:{if(f>>>0>>0|d>>>0>>0|d-f>>>0<12){break g}g=h-16|0;N[b+12>>2]=g;if((g|0)<=0){break g}g=f+4|0;if(g>>>0>d>>>0|d-g>>>0<8){break g}h=h-24|0;N[b+12>>2]=h;if((h|0)<=0){break g}g=O[g|0]|O[g+1|0]<<8;if(!g){break f}f=f+12|0;if(f>>>0>d>>>0){break g}f=d-f|0;d=((g<<8|g>>>8)&65535)<<4;if(f>>>0>>0){break g}d=h-d|0;N[b+12>>2]=d;if((d|0)>0){break f}}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}d=1;c=c+1|0;if((i|0)!=(c|0)){continue}break}break b}if(i>>>0<16){break a}d=c-20|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=c-24|0;N[b+12>>2]=d;if(h&128|(d|0)<=0){break a}j=a+256|0;h:{c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(!c){break h}if(e>>>0>>0|f>>>0>j>>>0){break a}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>e-j>>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break h}break a}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break a}N[b+12>>2]=d-4;if((d|0)<5){break a}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break a}a=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<28){break a}c=d-32|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+24|0;if(c>>>0>e>>>0|e-c>>>0<2){break a}c=O[a+24|0]|O[a+25|0]<<8;g=d-34|0;N[b+12>>2]=g;if((g|0)<=0){break a}g=a+((c<<8|c>>>8)&65535)|0;if(g>>>0>>0|e>>>0>>0|e-g>>>0<2){break a}a=d-36|0;N[b+12>>2]=a;if((a|0)<=0){break a}d=g+2|0;if(d>>>0>e>>>0){break a}c=e-d|0;d=O[g|0]|O[g+1|0]<<8;p=(d<<8|d>>>8)&65535;d=(p<<3)+8|0;if(c>>>0>>0){break a}a=a-d|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}while(1){h=g+(o<<3)|0;c=h+2|0;if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<8){break a}d=a-8|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=0;k=0;if((O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))==1953392243){c=O[h+6|0]|O[h+7|0]<<8;k=((c<<8|c>>>8)&65535)+1|0}c=h+8|0;if(c>>>0>e>>>0|e-c>>>0<2){break b}a=a-10|0;N[b+12>>2]=a;if((a|0)<=0){break b}if(k){c=O[c|0]|O[c+1|0]<<8;l=g+((c<<8|c>>>8)&65535)|0;if(f>>>0>l>>>0|e>>>0>>0){break b}c=T(k,12);if(c>>>0>e-l>>>0){break b}a=a-c|0;N[b+12>>2]=a;m=0;if((a|0)<=0){break b}while(1){h=T(m,12)+l|0;if(h>>>0>>0|e>>>0>>0|e-h>>>0<12){break b}c=a-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}n=h+5|0;if(e>>>0>>0|e-n>>>0<3){break b}c=a-15|0;N[b+12>>2]=c;if((c|0)<=0){break b}i=j+(O[h+7|0]|(O[h+6|0]<<8|O[n|0]<<16))|0;if(i>>>0>>0|e>>>0>>0|e-i>>>0<4){break b}c=a-19|0;N[b+12>>2]=c;if((c|0)<=0){break b}a=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);if(a){i=i+4|0;if(i>>>0>e>>>0){break b}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0>e-i>>>0){break b}c=c-a|0;N[b+12>>2]=c;if((c|0)<=0){break b}}i=j+(O[h+7|0]|(O[h+6|0]<<8|O[n|0]<<16))|0;a=i+4|0;if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<12){break b}N[b+12>>2]=c-12;if((c|0)<13){break b}h=i+8|0;if(h>>>0>e>>>0|e-h>>>0<8){break b}a=c-20|0;N[b+12>>2]=a;if((c|0)<21){break b}c=O[h|0]|O[h+1|0]<<8;if(c){h=i+16|0;if(h>>>0>e>>>0){break b}c=((c<<8|c>>>8)&65535)<<4;if(c>>>0>e-h>>>0){break b}a=a-c|0;N[b+12>>2]=a;if((a|0)<=0){break b}}m=m+1|0;if((m|0)!=(k|0)){continue}break}}d=1;c=(o|0)!=(p|0);o=o+1|0;if(c){continue}break}}return d}return 0}function fE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;l=N[c+80>>2];h=1;a=0;b=0;m=N[c+68>>2];if(!m){break b}d=0;break a}ba(22778,14165,169,12138);F()}d=1}while(1){c:{d:{e:{if(!d){a=O[j+264560|0]==2?b:a;e=j<<1;f=M[e+264144>>1]+262144|0;d=L[j+264256|0];g=O[e+262032|0];j=O[(l+T(b,20)|0)+18|0];if(g>>>0<=j>>>0){d=j>>>0>O[e+262033|0]?d:j-g|0}d=L[d+f|0];break e}if(!j){break d}b=m;d=M[(j<<1)+264448>>1]-1|0}j=L[d+264320|0];e=d&31;f:{if(((d&63)>>>0>=32?268337151>>>e|0:((1<>>e)&1){break f}g:{switch(L[d+264384|0]-3|0){case 3:d=b+1|0;h:{if(d>>>0<=a>>>0){break h}g=l+3|0;f=h<<4;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break h}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 1:d=b+1|0;i:{if(d>>>0<=a>>>0){break i}g=l+3|0;f=h<<4|2;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break i}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 5:d=b+1|0;j:{if(d>>>0<=a>>>0){break j}g=l+3|0;f=h<<4|1;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break j}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;d=h+1|0;h=(d|0)==16?1:d;break f;case 0:d=b+1|0;k:{if(d>>>0<=a>>>0){break k}g=l+3|0;f=h<<4|2;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break k}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 2:f=b-1|0;l:{if(a>>>0>=b>>>0){break l}i=l+3|0;g=h<<4;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break l}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;b=f;break f;case 4:f=b-1|0;m:{if(a>>>0>=b>>>0){break m}i=l+3|0;g=h<<4|1;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break m}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;b=f;break f;case 6:break g;default:break f}}f=b-1|0;n:{if(a>>>0>=b>>>0){break n}i=l+3|0;g=h<<4|2;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break n}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;b=f}a=O[j+264624|0]!=1?a:0;b=b+1|0;if((m|0)!=(b|0)){break c}d=1;continue}f=N[c+68>>2];if(f){a=f-1|0;g=N[c+80>>2];l=g+3|0;b=0;d=O[g+15|0];while(1){o:{if((a|0)==(b|0)){b=f;break o}b=b+1|0;if((d|0)==O[(l+T(b,20)|0)+12|0]){continue}}break}a=0;while(1){m=b;d=N[c+68>>2];i=b>>>0>d>>>0?d:b;k=i-a|0;p:{if(k>>>0<2){break p}d=N[c+144>>2]|32;N[c+144>>2]=d;if(a>>>0>=i>>>0){break p}b=-1;j=a;p=i+(a^-1)|0;if(p>>>0>=3){o=k&-4;e=0;while(1){h=g+T(j,20)|0;n=N[h+8>>2];b=b>>>0>>0?b:n;n=N[h+28>>2];b=b>>>0>>0?b:n;n=N[h+48>>2];b=b>>>0>>0?b:n;h=N[h+68>>2];b=b>>>0>>0?b:h;j=j+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}h=0;e=k&3;if(e){while(1){o=N[(g+T(j,20)|0)+8>>2];b=b>>>0>>0?b:o;j=j+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){e=g+T(a,20)|0;if(N[e+8>>2]!=(b|0)){N[e+4>>2]=N[e+4>>2]|3}a=a+1|0}if(!p){break p}while(1){e=g+T(a,20)|0;if(N[e+8>>2]!=(b|0)){d=d|32;N[c+144>>2]=d;N[e+4>>2]=N[e+4>>2]|3}e=g+T(a+1|0,20)|0;if(N[e+8>>2]!=(b|0)){d=d|32;N[c+144>>2]=d;N[e+4>>2]=N[e+4>>2]|3}a=a+2|0;if((i|0)!=(a|0)){continue}break}}a=m+1|0;a=a>>>0>>0?f:a;d=a-1|0;e=O[(l+T(m,20)|0)+12|0];b=m;while(1){q:{if((b|0)==(d|0)){b=a;break q}b=b+1|0;if((e|0)==O[(l+T(b,20)|0)+12|0]){continue}}break}a=m;if(f>>>0>a>>>0){continue}break}}return 0}d=0;continue}}function Uk(a,b){var c=0,d=0,e=0,f=0,g=0,h=U(0),i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=La-48|0;La=d;j=N[b+96>>2];g=275552;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[N[j+80>>2]+T(N[j+64>>2],20)>>2]);i=O[a+4|0]|O[a+5|0]<<8;g=c>>>0<((i<<8|i>>>8)&65535)>>>0?((c<<2)+a|0)+6|0:g;c=0;a:{if(!(O[g|0]|O[g+1|0]<<8)){break a}c=N[j+64>>2];N[b+36>>2]=1;N[b+4>>2]=c;i=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[i+68>>2];L[b+23|0]=O[b+22|0]?(c|0)==N[i+64>>2]?O[(N[i+80>>2]+T(c,20)|0)+15|0]:0:0;i=b+4|0;if(!ge(i,d+44|0)){c=0;if(!(O[j+16|0]&64)){break a}wb(j,2,N[d+44>>2],N[j+64>>2]+1|0,0,1);c=0;break a}k=275552;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[N[j+80>>2]+T(N[i>>2],20)>>2]);l=O[a+4|0]|O[a+5|0]<<8;k=c>>>0<((l<<8|l>>>8)&65535)>>>0?((c<<2)+a|0)+6|0:k;if(!(O[k+2|0]|O[k+3|0]<<8)){c=0;if(!(O[j+16|0]&64)){break a}wb(j,2,N[i>>2],N[j+64>>2]+1|0,0,1);c=0;break a}l=N[j+64>>2];i=N[b+4>>2];c=N[b+96>>2];if(N[c+156>>2]){f=N[b+88>>2];N[d+20>>2]=l;N[d+16>>2]=i;ib(c,f,17289,d+16|0)}c=N[j+68>>2];f=l+1|0;p=c>>>0>>0?c:f;q=p-i|0;b:{if(q>>>0<2){break b}n=N[j+144>>2]|32;N[j+144>>2]=n;if(i>>>0>=p>>>0){break b}o=N[j+80>>2];e=-1;c=i;s=(c^-1)+p|0;if(s>>>0>=3){r=q&-4;while(1){f=T(c,20)+o|0;m=N[f+8>>2];e=e>>>0>>0?e:m;m=N[f+28>>2];e=e>>>0>>0?e:m;m=N[f+48>>2];e=e>>>0>>0?e:m;f=N[f+68>>2];e=e>>>0>>0?e:f;c=c+4|0;t=t+4|0;if((r|0)!=(t|0)){continue}break}}r=q&3;if(r){f=0;while(1){m=N[(T(c,20)+o|0)+8>>2];e=e>>>0>>0?e:m;c=c+1|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}c=i;if(q&1){c=T(c,20)+o|0;if(N[c+8>>2]!=(e|0)){N[c+4>>2]=N[c+4>>2]|3}c=i+1|0}if(!s){break b}while(1){f=T(c,20)+o|0;if(N[f+8>>2]!=(e|0)){n=n|32;N[j+144>>2]=n;N[f+4>>2]=N[f+4>>2]|3}f=T(c+1|0,20)+o|0;if(N[f+8>>2]!=(e|0)){n=n|32;N[j+144>>2]=n;N[f+4>>2]=N[f+4>>2]|3}c=c+2|0;if((p|0)!=(c|0)){continue}break}}c=O[k+2|0]|O[k+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}f=N[N[j+80>>2]+T(i,20)>>2];N[d+32>>2]=0;N[d+28>>2]=0;c:{d:{e:{f:{e=O[c|0]|O[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 2:break d;case 1:break e;case 0:break f;default:break c}}f=N[b+88>>2];e=O[c+2|0]|O[c+3|0]<<8;R[d+32>>2]=R[f+44>>2]*U((e<<8|e>>>8)<<16>>16);c=O[c+4|0]|O[c+5|0]<<8;R[d+28>>2]=R[f+48>>2]*U((c<<8|c>>>8)<<16>>16);break c}Jf(c,N[b+88>>2],f,d+32|0,d+28|0);break c}If(c,b,d+32|0,d+28|0)}c=O[g|0]|O[g+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}c=N[N[j+80>>2]+T(l,20)>>2];N[d+40>>2]=0;N[d+36>>2]=0;g:{h:{i:{j:{g=O[a|0]|O[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break g}}c=N[b+88>>2];g=O[a+2|0]|O[a+3|0]<<8;R[d+40>>2]=R[c+44>>2]*U((g<<8|g>>>8)<<16>>16);a=O[a+4|0]|O[a+5|0]<<8;R[d+36>>2]=R[c+48>>2]*U((a<<8|a>>>8)<<16>>16);break g}Jf(a,N[b+88>>2],c,d+40|0,d+36|0);break g}If(a,b,d+40|0,d+36|0)}e=N[j+88>>2];k:{l:{m:{n:{o:{k=N[b+128>>2];switch(k-4|0){case 3:break l;case 2:break m;case 1:break n;case 0:break o;default:break k}}c=e+T(i,20)|0;h=U(U(Z(U(R[d+32>>2]+U(.5))))+U(N[c+8>>2]));p:{if(U(V(h))>2]=a;a=e+T(l,20)|0;g=N[a+8>>2];h=U(U(Z(U(R[d+40>>2]+U(.5))))+U(g|0));q:{if(U(V(h))>2]=g-c;N[a>>2]=N[a>>2]-c;break k}a=e+T(i,20)|0;g=N[a+8>>2];h=U(U(Z(U(R[d+32>>2]+U(.5))))+U(g|0));r:{if(U(V(h))>2]=g-c;N[a>>2]=N[a>>2]-c;a=e+T(l,20)|0;h=U(U(Z(U(R[d+40>>2]+U(.5))))+U(N[a+8>>2]));if(U(V(h))>2]=~~h;break k}N[a>>2]=-2147483648;break k}c=e+T(i,20)|0;h=U(U(Z(U(R[d+28>>2]+U(.5))))+U(N[c+12>>2]));s:{if(U(V(h))>2]=a;a=e+T(l,20)|0;g=N[a+12>>2];h=U(U(Z(U(R[d+36>>2]+U(.5))))+U(g|0));t:{if(U(V(h))>2]=g-c;N[a+4>>2]=N[a+4>>2]-c;break k}a=e+T(i,20)|0;g=N[a+12>>2];h=U(U(Z(U(R[d+28>>2]+U(.5))))+U(g|0));u:{if(U(V(h))>2]=g-c;N[a+4>>2]=N[a+4>>2]-c;c=e+T(l,20)|0;h=U(Z(U(R[d+36>>2]+U(.5))));v:{if(U(V(h))>2]=a}a=O[b+140|0];h=U(R[d+36>>2]-R[d+28>>2]);w:{if(U(V(h))>2]-R[d+32>>2]);x:{if(U(V(h))>1]=a-c;L[k+18|0]=2;N[j+144>>2]=N[j+144>>2]|8;z:{if((N[b+128>>2]&-2)==4){N[k+12>>2]=g;break z}N[k+8>>2]=f}c=e+T(a,20)|0;if(M[c+16>>1]==(0-M[k+16>>1]|0)){M[c+16>>1]=0;N[((N[b+128>>2]&-2)==4?c+12|0:(e+T(a,20)|0)+8|0)>>2]=0}a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[d+4>>2]=l;N[d>>2]=i;ib(a,b,17334,d)}N[j+64>>2]=N[j+64>>2]+1;c=1}La=d+48|0;return c}function OB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;e=La-256|0;La=e;a:{if(!a){a=6;break a}a=19;d=N[b+8>>2];if(!(d&1)){break a}a=20;i=N[b+4>>2];if(!i){break a}f=M[i+2>>1];if(!f){a=0;break a}h=M[i>>1];if((h|0)<=0){a=0;break a}g=N[i+12>>2];if(!g|!N[i+4>>2]|(f|0)!=(M[(g+(h<<1)|0)-2>>1]+1|0)){break a}f=N[b>>2];N[e+224>>2]=N[i+16>>2];a=N[i+12>>2];N[e+216>>2]=N[i+8>>2];N[e+220>>2]=a;a=N[i+4>>2];N[e+208>>2]=N[i>>2];N[e+212>>2]=a;b:{if(d&2){a=N[b+12>>2];if(!a){a=0;break a}N[e+236>>2]=a;N[e+240>>2]=N[b+28>>2];a=N[b+32>>2];N[e+156>>2]=a;d=N[b+36>>2];N[e+164>>2]=d;i=N[b+40>>2];N[e+160>>2]=i;b=N[b+44>>2];break b}if(!f){a=6;break a}i=N[f+4>>2];if(!i){a=0;break a}b=N[f>>2];if(!b){a=0;break a}a=6;h=N[f+12>>2];if(!h){break a}a=N[f+8>>2];N[e+232>>2]=a;N[e+236>>2]=0;N[e+240>>2]=0;d=0;N[e+164>>2]=0;N[e+156>>2]=0;N[e+160>>2]=i;N[e+228>>2]=h+((a|0)>=0?T(a,b-1|0):0);a=0}N[e+168>>2]=b;if((a|0)>=(i|0)){a=0;break a}a=0;if((b|0)<=(d|0)){break a}i=La-16608|0;La=i;q=N[e+168>>2];b=N[e+164>>2];p=q-b|0;if(p>>>0>=129){a=p+127>>>7|0;p=((a+p|0)-1>>>0)/(a>>>0)|0}N[e+184>>2]=i+16512;a=(p<<2)+15|0;N[e+196>>2]=1024-(a>>>4|0);d=a&-16;a=i+128|0;l=d+a|0;N[e+192>>2]=l;N[e+188>>2]=a;N[l>>2]=2147483647;N[l+4>>2]=0;N[l+8>>2]=0;N[l+12>>2]=0;c:{if((b|0)>=(q|0)){break c}while(1){a=b;N[e+164>>2]=a;b=a+p|0;c=(b|0)<(q|0)?b:q;N[e+168>>2]=c;N[i>>2]=c;N[i+4>>2]=a;a=i;while(1){f=N[a>>2];g=N[a+4>>2];h=f-g|0;d:{if((h|0)<=0){break d}d=0;c=0;if(f+(g^-1)>>>0>=3){j=h&-4;while(1){f=c<<2;N[f+N[e+188>>2]>>2]=l;N[N[e+188>>2]+(f|4)>>2]=l;N[N[e+188>>2]+(f|8)>>2]=l;N[N[e+188>>2]+(f|12)>>2]=l;c=c+4|0;if((j|0)!=(c|0)){continue}break}}f=h&3;if(!f){break d}while(1){N[N[e+188>>2]+(c<<2)>>2]=l;c=c+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}N[e+176>>2]=l;N[e+164>>2]=g;N[e+180>>2]=N[e+192>>2]+16;N[e+168>>2]=N[a>>2];N[e+172>>2]=h;d=0;c=kb(40);N[c>>2]=0;c=Mh(e,1,c,4);m=Ma;o=e+208|0;e:{while(1){if(d){f=98;break e}N[147441]=0;f=xa(344,o|0,293956,e|0)|0;d=N[147441];N[147441]=0;g=-1;f:{g:{if(!d){break g}j=N[147442];if(!j){break g}g=Lh(N[d>>2],c,m);if(!g){break f}Ma=j}d=Ma;if((g|0)==1){continue}break e}break}_a(c);oe(d,j);F()}_a(c);c=f;h:{if((c|0)!=98){if(c){break c}m=N[e+224>>2]&2;o=m?256:-2147483648;i:{if(N[e+236>>2]){j=N[e+164>>2];if((j|0)>=N[e+168>>2]){break i}while(1){c=N[N[e+188>>2]+(j-N[e+164>>2]<<2)>>2];f=N[c>>2];j:{if((f|0)==2147483647){break j}g=N[e+156>>2];d=0;h=0;while(1){k:{if(!d|(f|0)<=(g|0)){break k}n=i+16512|0;k=n+T(h,6)|0;M[k+2>>1]=f-g;M[k>>1]=g;g=d>>9;g=(g&o?-1:0)^g;L[k+4|0]=(g|0)>255?m?g:-1:g;h=h+1|0;if((h|0)!=16){break k}Qa[N[e+236>>2]](j,16,n,N[e+240>>2]);f=N[c>>2];h=0}d=(N[c+4>>2]<<9)+d|0;k=N[c+8>>2];l:{if((d|0)==(k|0)|N[e+156>>2]>(f|0)){break l}n=i+16512|0;g=n+T(h,6)|0;M[g+2>>1]=1;M[g>>1]=f;r=g;g=d-k>>9;g=(g&o?-1:0)^g;L[r+4|0]=(g|0)>255?m?g:-1:g;h=h+1|0;if((h|0)!=16){break l}Qa[N[e+236>>2]](j,16,n,N[e+240>>2]);f=N[c>>2];h=0}g=f+1|0;c=N[c+12>>2];f=N[c>>2];if((f|0)!=2147483647){continue}break}if(d){c=(i+16512|0)+T(h,6)|0;M[c>>1]=g;f=d>>9;f=(f&o?-1:0)^f;L[c+4|0]=(f|0)>255?m?f:-1:f;M[c+2>>1]=N[e+160>>2]-g;h=h+1|0}if(!h){break j}Qa[N[e+236>>2]](j,h,i+16512|0,N[e+240>>2])}j=j+1|0;if((j|0)>2]){continue}break}break i}k=N[e+164>>2];if((k|0)>=N[e+168>>2]){break i}while(1){c=N[N[e+188>>2]+(k-N[e+164>>2]<<2)>>2];h=N[c>>2];m:{if((h|0)==2147483647){break m}n=N[e+228>>2]-T(N[e+232>>2],k)|0;g=N[e+156>>2];f=0;while(1){n:{if(!f|(g|0)>=(h|0)){break n}d=f>>9;d=(d&o?-1:0)^d;j=(d|0)>255?m?d:255:d;d=g+n|0;o:{p:{q:{r:{s:{t:{u:{v:{h=h-g|0;switch(h|0){case 0:break n;case 2:break p;case 3:break q;case 4:break r;case 5:break s;case 6:break t;case 7:break u;case 1:break v;default:break o}}L[d|0]=j;break n}L[d|0]=j;d=d+1|0}L[d|0]=j;d=d+1|0}L[d|0]=j;d=d+1|0}L[d|0]=j;d=d+1|0}L[d|0]=j;d=d+1|0}L[d|0]=j;L[d+1|0]=j;break n}G(d,j,h)}f=(N[c+4>>2]<<9)+f|0;h=N[c+8>>2];d=N[c>>2];if(!((f|0)==(h|0)|(d|0)>2])){g=d+n|0;d=f-h>>9;d=(d&o?-1:0)^d;L[g|0]=(d|0)>255?m?d:-1:d;d=N[c>>2]}g=d+1|0;c=N[c+12>>2];h=N[c>>2];if((h|0)!=2147483647){continue}break}if(!f){break m}c=f>>9;c=(c&o?-1:0)^c;f=(c|0)>255?m?c:255:c;c=g+n|0;w:{x:{y:{z:{A:{B:{C:{D:{d=N[e+160>>2]-g|0;switch(d|0){case 0:break m;case 2:break x;case 3:break y;case 4:break z;case 5:break A;case 6:break B;case 7:break C;case 1:break D;default:break w}}L[c|0]=f;break m}L[c|0]=f;c=c+1|0}L[c|0]=f;c=c+1|0}L[c|0]=f;c=c+1|0}L[c|0]=f;c=c+1|0}L[c|0]=f;c=c+1|0}L[c|0]=f;L[c+1|0]=f;break m}G(c,f,d)}k=k+1|0;if((k|0)>2]){continue}break}}a=a-4|0;break h}if(h>>>0<2){c=98;break c}c=N[a+4>>2];N[a+8>>2]=c;N[a+4>>2]=c+(h>>1);a=a+4|0}if(i>>>0<=a>>>0){continue}break}c=0;if((b|0)<(q|0)){continue}break}}La=i+16608|0;a=c}La=e+256|0;return a|0}function lx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=La-1552|0;La=g;m=N[a+4>>2];L[g+35|0]=0;i=N[N[m+492>>2]+12>>2];a:{if(!(N[N[m+128>>2]+52>>2]|Q[m+16>>2]>c>>>0)){f=6;break a}d=d&1024?d|3:d;b:{if(!b){e=65536;f=65536;break b}e=N[b+20>>2];f=N[b+16>>2]}N[a+168>>2]=e;N[a+164>>2]=f;N[a+108>>2]=0;N[a+72>>2]=1869968492;h=d&1;L[a+161|0]=!h;f=!(d&3);L[a+160|0]=f;e=g+36|0;f=Qa[N[i>>2]](e,m,b,a,N[m+424>>2],N[m+532>>2],f,d>>>16&15,147)|0;if(f){break a}j=d&1024;L[g+105|0]=j>>>10;N[g+1400>>2]=N[m+404>>2];N[g+1404>>2]=N[m+408>>2];N[g+1408>>2]=N[m+412>>2];N[g+1412>>2]=N[m+416>>2];N[g+1532>>2]=N[m+548>>2];N[g+1536>>2]=N[m+544>>2];f=Ze(e,c,g+8|0,g+35|0);if(!f){n=O[a+160|0];c=g+1424|0;f=N[c+4>>2];N[g+24>>2]=N[c>>2];N[g+28>>2]=f;c=N[g+1420>>2];N[g+16>>2]=N[g+1416>>2];N[g+20>>2]=c;c=N[g+1436>>2];f=N[g+1432>>2];Qa[N[i+4>>2]](e);e=N[a+124>>2]&1;N[a+124>>2]=e|4;c:{if(j){b=N[g+68>>2];N[a+32>>2]=((b>>31)+b|0)+32768>>16;b=N[g+76>>2];N[a+40>>2]=((b>>31)+b|0)+32768>>16;d=N[g+24>>2];e=N[g+28>>2];i=N[g+16>>2];j=N[g+20>>2];b=N[a+156>>2];N[b+28>>2]=f;N[b+32>>2]=c;L[b+8|0]=1;N[b+20>>2]=d;N[b+24>>2]=e;N[b+12>>2]=i;N[b+16>>2]=j;break c}i=N[g+76>>2];j=((i>>31)+i|0)+32768>>16;N[a+56>>2]=j;N[a+40>>2]=j;L[N[a+156>>2]+8|0]=0;p=d&16;if(p){d=N[m+476>>2]-N[m+468>>2]|0}else{d=N[g+80>>2];d=((d>>31)+d|0)+32768|0}N[a+72>>2]=1869968492;l=d>>16;N[a+60>>2]=l;N[a+52>>2]=l;if(!(!b|P[b+14>>1]>23)){N[a+124>>2]=e|260}d=N[g+16>>2];d:{if(!(N[g+20>>2]|((d|0)!=65536|N[g+28>>2]!=65536))){if(!N[g+24>>2]){break d}}b=N[a+112>>2];e:{if(!b){break e}e=M[a+110>>1];if((e|0)<=0){break e}d=(e<<3)+b|0;while(1){hd(b,g+16|0);b=b+8|0;if(d>>>0>b>>>0){continue}break}j=N[a+40>>2];d=N[g+16>>2]}e=j>>31;e=(e^j)-e|0;b=d>>31;b=(b^d)-b|0;f:{if(e+(b>>>8|0)>>>0<=8190){k=T(b,e)+32768>>>16|0;break f}i=e&65535;k=T(i,b>>>16|0)+T(b,e>>>16|0)+(T(i,b&65535)+32768>>>16)|0}b=k;i=0-b|0;b=j>>31|1;j=(((d|0)<0?0-b|0:b)|0)<0?i:k;N[a+40>>2]=j;e=N[a+52>>2];d=e>>31;i=N[g+28>>2];b=i>>31;d=(d^e)-d|0;b=(b^i)-b|0;g:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break g}l=d&65535;d=T(l,b>>>16|0)+T(b,d>>>16|0)+(T(l,b&65535)+32768>>>16)|0}b=d;k=0-b|0;b=e>>31|1;l=(((i|0)<0?0-b|0:b)|0)<0?k:d;N[a+52>>2]=l}if(c|f){e=M[a+110>>1];h:{if((e|0)<=0){break h}b=N[a+112>>2];if(e>>>0>=4){i=e&-4;d=0;while(1){N[b>>2]=f+N[b>>2];N[b+4>>2]=c+N[b+4>>2];N[b+8>>2]=f+N[b+8>>2];N[b+16>>2]=f+N[b+16>>2];N[b+24>>2]=f+N[b+24>>2];N[b+12>>2]=c+N[b+12>>2];N[b+20>>2]=c+N[b+20>>2];N[b+28>>2]=c+N[b+28>>2];b=b+32|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}e=e&3;if(!e){break h}d=0;while(1){N[b>>2]=f+N[b>>2];N[b+4>>2]=c+N[b+4>>2];b=b+8|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}l=c+l|0;N[a+52>>2]=l;j=f+j|0;N[a+40>>2]=j}if(!(O[g+35|0]?0:h)){c=N[a+168>>2];f=N[a+164>>2];i:{if(N[g+108>>2]?n:0){break i}b=N[g+52>>2];d=M[b+2>>1];if((d|0)<=0){break i}d=d&65535;e=c>>31;e=(e^c)-e|0;q=e&65535;r=e>>>16|0;s=e>>>8|0;i=f>>31;i=(i^f)-i|0;t=i&65535;u=i>>>16|0;v=i>>>8|0;b=N[b+4>>2];while(1){n=N[b>>2];h=n>>31;h=(h^n)-h|0;j:{if(h+v>>>0<=8190){k=T(h,i)+32768>>>16|0;break j}k=h&65535;k=T(k,u)+T(i,h>>>16|0)+(T(k,t)+32768>>>16)|0}h=k;o=0-h|0;h=n>>31|1;N[b>>2]=(((f|0)<0?0-h|0:h)|0)<0?o:k;n=N[b+4>>2];h=n>>31;h=(h^n)-h|0;k:{if(h+s>>>0<=8190){k=T(e,h)+32768>>>16|0;break k}k=h&65535;k=T(k,r)+T(e,h>>>16|0)+(T(k,q)+32768>>>16)|0}h=k;o=0-h|0;h=n>>31|1;N[b+4>>2]=(((c|0)<0?0-h|0:h)|0)<0?o:k;b=b+8|0;h=d>>>0>1;d=d-1|0;if(h){continue}break}}d=j>>31;d=(d^j)-d|0;b=f>>31;b=(b^f)-b|0;l:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break l}e=d&65535;d=T(e,b>>>16|0)+T(b,d>>>16|0)+(T(e,b&65535)+32768>>>16)|0}b=d;h=0-b|0;b=j>>31|1;j=(((f|0)<0?0-b|0:b)|0)<0?h:d;N[a+40>>2]=j;d=l>>31;d=(d^l)-d|0;b=c>>31;b=(b^c)-b|0;m:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break m}f=d&65535;d=T(f,b>>>16|0)+T(b,d>>>16|0)+(T(f,b&65535)+32768>>>16)|0}b=d;f=0-b|0;b=l>>31|1;l=(((c|0)<0?0-b|0:b)|0)<0?f:d;N[a+52>>2]=l}b=M[a+110>>1];n:{if(!b){d=0;b=0;c=0;f=0;break n}e=N[a+112>>2];c=N[e+4>>2];f=N[e>>2];if((b|0)<2){d=c;b=f;break n}n=(b<<3)+e|0;i=e+8|0;b=f;d=c;while(1){h=N[e+12>>2];d=(d|0)<(h|0)?h:d;c=(c|0)>(h|0)?h:c;e=N[e+8>>2];b=(b|0)<(e|0)?e:b;f=(e|0)<(f|0)?e:f;e=i;i=e+8|0;if(n>>>0>i>>>0){continue}break}}N[a+36>>2]=d;N[a+32>>2]=f;e=d-c|0;N[a+28>>2]=e;N[a+24>>2]=b-f;if(!p){break c}b=(d|0)<0?(d|0)<(e|0)?e:d:0-c|0;c=l?l:(T(b,12)|0)/10|0;N[a+52>>2]=c;N[a+48>>2]=(c-b|0)/2;N[a+44>>2]=((j|0)/-2|0)+f}N[a+136>>2]=N[g+8>>2];N[a+140>>2]=N[g+12>>2];f=0;b=N[N[m+128>>2]+52>>2];if(!b){break a}Qa[N[N[b>>2]+4>>2]](N[b+4>>2],g+8|0);N[a+136>>2]=0;N[a+140>>2]=0;break a}Qa[N[i+4>>2]](g+36|0)}La=g+1552|0;return f|0}function jz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;G(b,0,72);n=N[a+24>>2];a:{if(!n){h=2147483647;g=-2147483648;k=-2147483648;m=2147483647;r=-2147483648;t=-2147483648;p=2147483647;s=2147483647;break a}l=N[a+28>>2];t=-2147483648;s=2147483647;p=2147483647;r=-2147483648;m=2147483647;h=2147483647;k=-2147483648;g=-2147483648;while(1){u=T(d,24);i=u+l|0;j=N[i>>2];if(j){x=l+u|0;e=N[j>>2]+N[x+8>>2]|0;m=(e|0)>(m|0)?m:e;e=e+N[j+8>>2]|0;k=(e|0)<(k|0)?k:e;e=N[j+4>>2]+N[x+12>>2]|0;h=(e|0)>(h|0)?h:e;e=e+N[j+12>>2]|0;g=(e|0)<(g|0)?g:e;o=o+1|0;e=i}j=N[i+4>>2];if(j){u=l+u|0;f=N[j>>2]+N[u+16>>2]|0;s=(f|0)>(s|0)?s:f;f=f+N[j+8>>2]|0;t=(f|0)<(t|0)?t:f;f=N[j+4>>2]+N[u+20>>2]|0;p=(f|0)>(p|0)?p:f;f=f+N[j+12>>2]|0;r=(f|0)<(r|0)?r:f;q=q+1|0;f=i}d=d+1|0;if((n|0)!=(d|0)){continue}break}}b:{c:{d:{e:{d=N[a+4>>2];i=(d|0)<4?d:(d|0)<8?4:5;f:{if(!(i|(o|0)!=1)){sg(c+872|0,b,N[e>>2]);N[b>>2]=N[b>>2]+N[e+8>>2];N[b+4>>2]=N[b+4>>2]+N[e+12>>2];break f}if(!o){break f}d=1<>2];j=0-d|0;l=i<<1;e=l+(k-m|0)|0;k=e>>>0>j>>>0?e:j&(d+e|0)-1;g=l+(g-h|0)|0;if(k>>>0>((d^2147483647)>>>0)/(((g|0)<=1?1:g)>>>0)>>>0){break f}j=d+T(g,k)|0;if(j>>>0>=-5-d>>>0){break f}j=db((d+j|0)+3|0,1);if(!j){break f}o=d;l=d-1|0;d=j+4|0;l=l&d;d=(l?o-l|0:0)+d|0;N[d-4>>2]=j;N[b+20>>2]=d;N[b+16>>2]=k;N[b+12>>2]=g;N[b+8>>2]=e;N[b+4>>2]=h-i;N[b>>2]=m-i;if(!n){break f}d=0;while(1){g=N[a+28>>2]+T(d,24)|0;e=N[g>>2];if(e){h=(N[e>>2]+N[g+8>>2]|0)-N[b>>2]|0;if((h|0)<0){break e}m=N[e+8>>2];if(N[b+8>>2]<(m+h|0)){break e}g=(N[e+4>>2]+N[g+12>>2]|0)-N[b+4>>2]|0;if((g|0)<0){break d}k=N[e+12>>2];if(N[b+12>>2]<(k+g|0)){break d}o=g;g=N[b+16>>2];Qa[N[c+896>>2]](h+(N[b+20>>2]+T(o,g)|0)|0,g,N[e+20>>2],N[e+16>>2],m,k);n=N[a+24>>2]}d=d+1|0;if(n>>>0>d>>>0){continue}break}}g:{if(!((q|0)!=1|i)){sg(c+872|0,b+24|0,N[f+4>>2]);N[b+24>>2]=N[b+24>>2]+N[f+16>>2];N[b+28>>2]=N[b+28>>2]+N[f+20>>2];break g}if(!q){break g}d=1<>2];f=0-d|0;g=i<<1;e=g+(t-s|0)|0;f=e>>>0>f>>>0?e:f&(d+e|0)-1;g=g+(r-p|0)|0;if(f>>>0>((d^2147483647)>>>0)/(((g|0)<=1?1:g)>>>0)>>>0){break g}h=d+T(f,g)|0;if(h>>>0>=-5-d>>>0){break g}h=db((d+h|0)+3|0,1);if(!h){break g}o=d;j=d-1|0;d=h+4|0;m=j&d;d=(m?o-m|0:0)+d|0;N[d-4>>2]=h;N[b+44>>2]=d;N[b+40>>2]=f;N[b+36>>2]=g;N[b+32>>2]=e;N[b+28>>2]=p-i;N[b+24>>2]=s-i;g=N[a+24>>2];if(!g){break g}d=0;while(1){e=N[a+28>>2]+T(d,24)|0;i=N[e+4>>2];if(i){f=(N[i>>2]+N[e+16>>2]|0)-N[b+24>>2]|0;if((f|0)<0){break c}g=N[i+8>>2];if(N[b+32>>2]<(g+f|0)){break c}e=(N[i+4>>2]+N[e+20>>2]|0)-N[b+28>>2]|0;if((e|0)<0){break b}h=N[i+12>>2];if(N[b+36>>2]<(h+e|0)){break b}o=e;e=N[b+40>>2];Qa[N[c+896>>2]](f+(N[b+44>>2]+T(o,e)|0)|0,e,N[i+20>>2],N[i+16>>2],g,h);g=N[a+24>>2]}d=d+1|0;if(g>>>0>d>>>0){continue}break}}v=no(+N[a+8>>2]*.00390625)*32;v=v*v;w=no(+N[a+12>>2]*.00390625)*32;w=w*w;d=N[a+4>>2];c=c+872|0;e=c;h=b+24|0;f=h;i=N[a>>2];if((i&3)!=2){to(e,b,d,v,w);d=N[a+4>>2]}to(e,f,d,v,w);t=i&24;if(!t){wi(b,h)}h:{if(!(i&4)){break h}c=b+48|0;i:{if(i&2){sg(e,c,h);if((t|0)!=16){break i}wi(b,c);break i}if(i&1){d=N[h+4>>2];N[c>>2]=N[h>>2];N[c+4>>2]=d;d=N[h+20>>2];N[c+16>>2]=N[h+16>>2];N[c+20>>2]=d;d=N[h+12>>2];N[c+8>>2]=N[h+8>>2];N[c+12>>2]=d;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h+20>>2]=0;break i}sg(e,c,b)}d=N[a+16>>2];N[b+48>>2]=N[b+48>>2]+(d>>6);c=N[a+20>>2];N[b+52>>2]=N[b+52>>2]+(c>>6);m=N[b+68>>2];if(!m){break h}s=c&63;p=N[b- -64>>2];i=N[b+56>>2];k=d&63;c=N[b+60>>2];if(!(!k|(c|0)<=0|(i|0)<2)){e=i-1|0;l=i&1;g=0;o=(i|0)==2;while(1){r=T(g,p);d=i;if(!l){d=m+(e+r|0)|0;n=d-1|0;j=O[n|0];f=T(j,k)>>>6|0;L[n|0]=j-f;L[d|0]=f+O[d|0];d=e}if(!o){while(1){n=m+(d+r|0)|0;j=n-2|0;q=O[j|0];f=T(q,k)>>>6|0;L[j|0]=q-f;n=n-1|0;L[n|0]=f+O[n|0];f=d-2|0;n=m+(f+r|0)|0;q=n-1|0;u=O[q|0];j=T(u,k)>>>6|0;L[q|0]=u-j;L[n|0]=j+O[n|0];n=(d|0)>3;d=f;if(n){continue}break}}g=g+1|0;if((c|0)!=(g|0)){continue}break}}if(!s|(i|0)<=0|(c|0)<2){break h}r=c&1;e=c-1|0;n=T(e,p);g=0;j=(c|0)==2;while(1){d=c;if(!r){f=g+n|0;k=m+(f-p|0)|0;l=O[k|0];d=T(l,s)>>>6|0;L[k|0]=l-d;f=f+m|0;L[f|0]=d+O[f|0];d=e}if(!j){while(1){k=T(p,d-1|0)+g|0;l=m+(k-p|0)|0;o=O[l|0];f=T(o,s)>>>6|0;L[l|0]=o-f;k=k+m|0;L[k|0]=f+O[k|0];f=d-2|0;l=T(f,p)+g|0;o=m+(l-p|0)|0;q=O[o|0];k=T(q,s)>>>6|0;L[o|0]=q-k;l=m+l|0;L[l|0]=k+O[l|0];k=(d|0)>3;d=f;if(k){continue}break}}g=g+1|0;if((i|0)!=(g|0)){continue}break}}if((t|0)==8){wi(b,h)}return(((T(N[a+24>>2],24)+T(N[b+16>>2],N[b+12>>2])|0)+T(N[b+40>>2],N[b+36>>2])|0)+T(N[b- -64>>2],N[b+60>>2])|0)+104|0}ba(8285,18170,2727,9568);F()}ba(14429,18170,2728,9568);F()}ba(8285,18170,2752,9568);F()}ba(14429,18170,2753,9568);F()}function wo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=La-144|0;La=e;N[e+120>>2]=0;N[e+104>>2]=0;N[e+108>>2]=0;m=-1;a:{if(N[b+112>>2]==10){break a}i=N[a+36>>2];f=N[b+12>>2];j=N[b+8>>2];b:{d=N[b>>2];c:{if(!(!d|!O[d|0])){g=xi(a,d,0,j,f,e+116|0,e+120|0,e+112|0,e+104|0,c);if(g){break c}}d:{g=N[a+12>>2];if(!g){break d}g=xi(a,g,0,j,f,e+116|0,e+120|0,e+112|0,e+104|0,c);if(!g){break d}c=N[a>>2];N[e+96>>2]=N[e+116>>2];i=N[e+120>>2];N[e+100>>2]=i?i:23531;N[e+80>>2]=d;N[e+84>>2]=j;N[e+88>>2]=f;N[e+92>>2]=g;mb(c,2,11604,e+80|0);break c}e:{if(!i){break e}n=N[i+32>>2];if(!n){break e}h=N[i+40>>2];i=N[a>>2];f:{if(d){g=d;if(O[d|0]){break f}}g=13519}i=Qa[n|0](h,i,g,c)|0;if(!i){break e}g=xi(a,i,1,j,f,e+116|0,e+120|0,e+112|0,e+104|0,c);_a(i);if(g){break c}}g=N[a+16>>2];if(!g){break b}c=N[a+20>>2];N[e+116>>2]=c;i=N[a>>2];N[e- -64>>2]=c;c=N[e+120>>2];N[e+68>>2]=c?c:23531;N[e+48>>2]=d;N[e+52>>2]=j;N[e+56>>2]=f;N[e+60>>2]=g;mb(i,2,11670,e+48|0)}a=N[a>>2];c=N[e+116>>2];N[e+32>>2]=c;i=N[e+120>>2];N[e+36>>2]=i?i:23531;N[e+16>>2]=d;N[e+20>>2]=j;N[e+24>>2]=f;N[e+28>>2]=g;mb(a,4,11729,e+16|0);d=N[b+112>>2];if((d|0)>0){a=0;f=N[e+112>>2];while(1){if((f|0)==N[((a<<2)+b|0)+28>>2]){mb(N[b+20>>2],4,22153,0);m=a;break a}a=a+1|0;if((d|0)!=(a|0)){continue}break}}j=N[b+24>>2];n=N[b+20>>2];g:{if(N[e+104>>2]){a=yo(n,j,g,N[e+104>>2],N[e+108>>2],c);break g}d=La-80|0;La=d;h:{i:{j:{if(g){N[d+64>>2]=0;N[d+60>>2]=g;N[d+48>>2]=4;if(!Sd(j,d+48|0,c,d+44|0,1)){break j}}N[d+4>>2]=c;N[d>>2]=g;mb(n,2,17615,d);break i}a=N[d+44>>2];if((c|0)>=0){break h}k:{l:{m:{if(N[a>>2]<=0){break m}f=N[a+96>>2];n:{if(!f){break n}h=N[a+128>>2];c=N[h+64>>2];N[h+64>>2]=c-1;if((c|0)>1){break n}c=N[f+16>>2];if(!c){break n}k=f+16|0;h=N[f+8>>2];while(1){if(N[c+8>>2]!=(a|0)){c=N[c+4>>2];if(c){continue}break n}break}o=N[c>>2];q=o?o+4|0:k;k=N[c+4>>2];N[q>>2]=k;N[(k?k:f+20|0)>>2]=o;Qa[N[h+8>>2]](h,c);gc(h,a,f)}N[d+64>>2]=0;N[d+60>>2]=g;N[d+48>>2]=4;a=Sd(j,d+48|0,0,d+44|0,1);if(!i){break l}if(a){break k}a=N[d+44>>2];if(N[a>>2]==1){break h}o:{if(!a){break o}p:{q:{f=N[a+128>>2];c=N[f+28>>2];switch(c+2|0){case 0:break o;case 2:break q;default:break p}}c=N[a+96>>2];h=N[N[c>>2]+32>>2];r:{if(!h){c=0;break r}c=Qa[h|0](c,15866)|0;f=N[a+128>>2]}N[f+28>>2]=c?c:-2}if(!c){break o}c=N[c>>2];if(!c){break o}l=Qa[c|0](a)|0}a=N[d+44>>2];if(l){if(!cb(l,i)){break h}}if(N[a>>2]<2){break m}l=1;while(1){f=N[a+96>>2];s:{if(!f){break s}h=N[a+128>>2];c=N[h+64>>2];N[h+64>>2]=c-1;if((c|0)>1){break s}c=N[f+16>>2];if(!c){break s}k=f+16|0;h=N[f+8>>2];while(1){if(N[c+8>>2]!=(a|0)){c=N[c+4>>2];if(c){continue}break s}break}o=N[c>>2];q=o?o+4|0:k;k=N[c+4>>2];N[q>>2]=k;N[(k?k:f+20|0)>>2]=o;Qa[N[h+8>>2]](h,c);gc(h,a,f)}N[d+64>>2]=0;N[d+60>>2]=g;N[d+48>>2]=4;if(Sd(j,d+48|0,l,d+44|0,1)){break k}t:{u:{a=N[d+44>>2];v:{if(!a){break v}w:{x:{f=N[a+128>>2];c=N[f+28>>2];switch(c+2|0){case 0:break v;case 2:break x;default:break w}}c=N[a+96>>2];h=N[N[c>>2]+32>>2];y:{if(!h){c=0;break y}c=Qa[h|0](c,15866)|0;f=N[a+128>>2]}N[f+28>>2]=c?c:-2}if(!c){break v}c=N[c>>2];if(c){break u}}a=N[d+44>>2];break t}c=Qa[c|0](a)|0;a=N[d+44>>2];if(!c){break t}if(!cb(c,i)){break h}}l=l+1|0;if((l|0)>2]){continue}break}}f=N[a+96>>2];z:{if(!f){break z}j=N[a+128>>2];c=N[j+64>>2];N[j+64>>2]=c-1;if((c|0)>1){break z}c=N[f+16>>2];if(!c){break z}h=f+16|0;j=N[f+8>>2];while(1){if(N[c+8>>2]!=(a|0)){c=N[c+4>>2];if(c){continue}break z}break}l=N[c>>2];k=l?l+4|0:h;h=N[c+4>>2];N[k>>2]=h;N[(h?h:f+20|0)>>2]=l;Qa[N[j+8>>2]](j,c);gc(j,a,f)}N[d+36>>2]=g;N[d+32>>2]=i;mb(n,2,24647,d+32|0);break i}if(a){break k}a=N[d+44>>2];if(N[a>>2]==1){break h}zn(a);break i}N[d+20>>2]=l;N[d+16>>2]=g;mb(n,2,17615,d+16|0)}a=0}La=d+80|0}if(!a){break a}zo(N[b+20>>2],a);c=0;m=1;A:{if(!(O[a+8|0]&8)){break A}d=N[a+96>>2];g=N[N[d>>2]+32>>2];if(!g){break A}d=Qa[g|0](d,16067)|0;if(!d){break A}d=Qa[N[d+4>>2]](a,2)|0;if(!d){break A}m=0;g=M[d+76>>1];c=M[d+78>>1];if((g|0)!=(0-c|0)){M[a+70>>1]=g;M[a+74>>1]=c+g;M[a+72>>1]=0-c}c=d}if(!(P[a+74>>1]?P[a+70>>1]!=P[a+72>>1]:0)){B:{C:{if(m){break C}d=P[c+70>>1];c=P[c+72>>1];if((d|0)==(c|0)){break C}M[a+72>>1]=c;M[a+70>>1]=d;c=d-c|0;break B}c=N[a- -64>>2];M[a+70>>1]=c;d=N[a+56>>2];M[a+72>>1]=d;c=c-d|0}M[a+74>>1]=c}c=N[b+112>>2];d=(c<<2)+b|0;N[d+68>>2]=a;m=N[e+112>>2];N[b+112>>2]=c+1;N[d+28>>2]=m;p=S[b+120>>3];N[e+124>>2]=1;N[e+128>>2]=0;N[e+136>>2]=0;N[e+140>>2]=0;p=WE(p*64);D:{if(V(p)<2147483648){c=~~p;break D}c=-2147483648}N[e+132>>2]=c;eg(a,e+124|0);m=N[b+112>>2]-1|0;break a}a=N[a>>2];N[e+12>>2]=f;N[e+8>>2]=j;N[e+4>>2]=d;N[e>>2]=c;mb(a,2,23689,e)}La=e+144|0;return m}function Bh(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;m=La-192|0;La=m;N[m+144>>2]=0;N[m+148>>2]=0;N[m+152>>2]=0;N[m+156>>2]=0;N[m+160>>2]=0;N[m+164>>2]=0;N[m+168>>2]=0;N[m+172>>2]=0;N[m+176>>2]=0;N[m+180>>2]=0;N[m+184>>2]=0;N[m+188>>2]=0;N[m+128>>2]=0;N[m+132>>2]=0;N[m+136>>2]=0;N[m+140>>2]=0;s=b;k=a;n=b&3;if(n){s=b&-4;while(1){t=(m+128|0)+(N[k>>2]<<2)|0;N[t>>2]=N[t>>2]+1;k=k+4|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}if(b-1>>>0>=3){while(1){l=m+128|0;n=l+(N[k>>2]<<2)|0;N[n>>2]=N[n>>2]+1;n=l+(N[k+4>>2]<<2)|0;N[n>>2]=N[n>>2]+1;n=l+(N[k+8>>2]<<2)|0;N[n>>2]=N[n>>2]+1;l=l+(N[k+12>>2]<<2)|0;N[l>>2]=N[l>>2]+1;k=k+16|0;s=s-4|0;if(s){continue}break}}a:{if(N[m+128>>2]==(b|0)){N[f>>2]=0;N[g>>2]=0;break a}k=N[g>>2];o=1;b:{c:{d:{e:{f:{g:{l=N[m+132>>2];if(l){break g}o=2;if(N[m+136>>2]){break g}o=3;if(N[m+140>>2]){break g}o=4;if(N[m+144>>2]){break g}o=5;if(N[m+148>>2]){break g}o=6;if(N[m+152>>2]){break g}o=7;if(N[m+156>>2]){break g}o=8;if(N[m+160>>2]){break g}o=9;if(N[m+164>>2]){break g}o=10;if(N[m+168>>2]){break g}o=11;if(N[m+172>>2]){break g}o=12;if(N[m+176>>2]){break g}o=13;if(N[m+180>>2]){break g}o=14;if(N[m+184>>2]){break g}if(N[m+188>>2]){o=15;k=k>>>0<=15?15:k;A=1;l=15;break e}o=16;k=k>>>0<=16?16:k;break f}k=k>>>0>o>>>0?k:o;if(N[m+188>>2]){p=15;u=k>>>0>=15?15:k;N[g>>2]=u;w=1<>2]){break d}}p=13;if(N[m+180>>2]){break d}p=12;if(N[m+176>>2]){break d}p=11;if(N[m+172>>2]){break d}p=10;if(N[m+168>>2]){break d}p=9;if(N[m+164>>2]){break d}p=8;if(N[m+160>>2]){break d}p=7;if(N[m+156>>2]){break d}p=6;if(N[m+152>>2]){break d}p=5;if(N[m+148>>2]){break d}p=4;if(N[m+144>>2]){break d}p=3;if(N[m+140>>2]){break d}p=2;if(N[m+136>>2]){break d}A=!l;l=(l|0)!=0}p=l;u=k>>>0

>>0?k:p;N[g>>2]=u;w=1<>>0

>>0?k:p;N[g>>2]=u;A=1;w=1<>>0>=p>>>0){break b}}k=o;while(1){g=w-N[(m+128|0)+(k<<2)>>2]|0;if((g|0)<0){C=-3;break a}A=1;w=g<<1;k=k+1|0;if((p|0)!=(k|0)){continue}break}}C=-3;g=m+128|0;k=g+(p<<2)|0;D=N[k>>2];if((w-D|0)<0){break a}N[k>>2]=w;N[m+4>>2]=0;l=p-1|0;h:{if(!l){break h}k=g|4;n=l&3;l=m|8;s=0;i:{if(p-2>>>0<3){break i}g=p-5|0;t=(g>>>2|0)+1|0;v=t&1;if(g>>>0>=4){t=t&2147483646;g=0;while(1){q=N[k>>2]+r|0;N[l>>2]=q;q=q+N[k+4>>2]|0;N[l+4>>2]=q;q=q+N[k+8>>2]|0;N[l+8>>2]=q;q=q+N[k+12>>2]|0;N[l+12>>2]=q;q=q+N[k+16>>2]|0;N[l+16>>2]=q;q=q+N[k+20>>2]|0;N[l+20>>2]=q;q=q+N[k+24>>2]|0;N[l+24>>2]=q;r=q+N[k+28>>2]|0;N[l+28>>2]=r;l=l+32|0;k=k+32|0;g=g+2|0;if((t|0)!=(g|0)){continue}break}}if(!v){break i}g=N[k>>2]+r|0;N[l>>2]=g;g=g+N[k+4>>2]|0;N[l+4>>2]=g;g=g+N[k+8>>2]|0;N[l+8>>2]=g;r=g+N[k+12>>2]|0;N[l+12>>2]=r;l=l+16|0;k=k+16|0}if(!n){break h}while(1){r=N[k>>2]+r|0;N[l>>2]=r;l=l+4|0;k=k+4|0;s=s+1|0;if((n|0)!=(s|0)){continue}break}}g=b>>>0<=1?1:b;l=g&1;k=0;if(b>>>0>=2){g=g&-2;while(1){b=N[a>>2];if(b){n=(b<<2)+m|0;b=N[n>>2];N[n>>2]=b+1;N[(b<<2)+j>>2]=k}b=N[a+4>>2];if(b){n=(b<<2)+m|0;b=N[n>>2];N[n>>2]=b+1;N[(b<<2)+j>>2]=k|1}a=a+8|0;k=k+2|0;if((g|0)!=(k|0)){continue}break}}j:{if(!l){break j}a=N[a>>2];if(!a){break j}b=(a<<2)+m|0;a=N[b>>2];N[b>>2]=a+1;N[(a<<2)+j>>2]=k}N[m+64>>2]=0;a=N[(p<<2)+m>>2];N[m>>2]=0;if(o>>>0<=p>>>0){n=0-u|0;F=(a<<2)+j|0;g=0;s=0;a=0;k=-1;while(1){q=(m+128|0)+(o<<2)|0;y=N[q>>2];if(y){G=1<>>0<=y>>>0){break l}g=p-n|0;s=g>>>0>>0?g:u;if(s>>>0<=l>>>0){break l}l=l+1|0;if(s>>>0<=l>>>0){break l}g=u>>>0>>0?u:B;r=k-y|0;k=q;while(1){r=r<<1;z=N[k+4>>2];if(r>>>0<=z>>>0){break l}k=k+4|0;r=r-z|0;l=l+1|0;if(s>>>0>l>>>0){continue}break}l=g}g=1<>2];r=g+s|0;if(r>>>0>1440){break a}z=m- -64|0;k=t+1|0;E=k<<2;s=(s<<3)+h|0;N[z+E>>2]=s;N[i>>2]=r;m:{if(k){N[m+E>>2]=a;r=N[(t<<2)+z>>2];v=a>>>v|0;t=r+(v<<3)|0;L[t+1|0]=u;L[t|0]=l;x=(s-r>>3)-v|0;N[t+4>>2]=x;break m}N[f>>2]=s}B=B-u|0;v=n;t=k;l=n+u|0;if((o|0)>(l|0)){continue}break}}t=192;n:{if(j>>>0>=F>>>0){break n}x=N[j>>2];if(x>>>0>>0){t=x>>>0>=256?96:0;j=j+4|0;break n}j=j+4|0;l=x-c<<2;t=O[l+e|0]+80|0;x=N[d+l>>2]}l=a>>>n|0;if(l>>>0>>0){r=1<>2]=x;L[v+1|0]=b;L[v|0]=t;l=l+r|0;if(l>>>0>>0){continue}break}}l=G;if(l&a){while(1){a=a^l;l=l>>>1|0;if(a&l){continue}break}}a=a^l;if(N[(k<<2)+m>>2]!=(a&(-1<>2]!=((-1<>2];a:{b:{if(i){e=N[e+44>>2];d=Xd(a,b);if(d){break a}if((e|0)<=0){break b}e=T(e,44)+i|0;while(1){d=N[i+36>>2];c=P[d>>1];f=O[i|0];L[i|0]=f&254;h=N[i+40>>2];c:{if((h|0)==(d|0)){break c}c=c&3;while(1){l=c;d=N[d+32>>2];c=P[d>>1]&3;if(!((l|c)&65535)){break c}if((d|0)!=(h|0)){continue}break}L[i|0]=f|1}i=i+44|0;if(e>>>0>i>>>0){continue}break}break b}d=Xd(a,b);if(d){break a}}s=N[a+2748>>2];j=N[s+40>>2]/256|0;e=N[g+52>>2];p=T(b,1348)+a|0;w=p+44|0;m=N[w>>2];n=e+T(m,44)|0;l=N[p+68>>2];o=(b?12:4)+a|0;k=N[o>>2];i=fb(192,k);if((m|0)>0){c=e;while(1){d=e;if((l|0)==L[c+1|0]){while(1){d:{if((c|0)==(d|0)|(l|0)!=(0-L[d+1|0]|0)){break d}f=M[d+2>>1]-M[c+2>>1]|0;if((f|0)<0){break d}g=M[c+8>>1];h=M[d+8>>1];r=(g|0)<(h|0)?g:h;g=M[c+6>>1];h=M[d+6>>1];g=r-((g|0)>(h|0)?g:h)|0;if((g|0)<(j|0)){break d}h=f<<3;k=N[c+28>>2];if(!((h|0)>=(T(k,9)|0)|(g|0)<=N[c+32>>2]&(h|0)>=(T(k,7)|0))){N[c+32>>2]=g;N[c+28>>2]=f;N[c+20>>2]=d}k=N[d+28>>2];if((h|0)>=(T(k,9)|0)|(g|0)<=N[d+32>>2]&(h|0)>=(T(k,7)|0)){break d}N[d+32>>2]=g;N[d+28>>2]=f;N[d+20>>2]=c}d=d+44|0;if(n>>>0>d>>>0){continue}break}}c=c+44|0;if(n>>>0>c>>>0){continue}break}c=e;while(1){h=N[c+20>>2];e:{if(!h|N[h+20>>2]!=(c|0)){break e}j=M[h+2>>1];k=M[c+2>>1];if((j|0)<=(k|0)){break e}q=N[c+28>>2];if((q|0)>=(i|0)){break e}v=q<<2;d=e;while(1){f:{g:{if((c|0)==(d|0)){break g}g=M[d+2>>1];if((g|0)>(k|0)){break g}l=N[d+20>>2];if(!l|N[l+20>>2]!=(d|0)){break g}f=M[l+2>>1];if((f|0)<(j|0)|(g|0)==(k|0)&(f|0)==(j|0)){break g}g=N[d+28>>2];if((g|0)<=(q|0)|(g|0)>=(v|0)){break g}f=e;if(N[c+32>>2]<(T(N[d+32>>2],3)|0)){break f}while(1){g=h;t=N[f+20>>2];h:{if((t|0)!=(d|0)){g=c;if((l|0)!=(t|0)){break h}}N[f+24>>2]=g;N[f+20>>2]=0}f=f+44|0;if(n>>>0>f>>>0){continue}break}}d=d+44|0;if(n>>>0>d>>>0){continue}break e}break}N[h+20>>2]=0;N[c+20>>2]=0}c=c+44|0;if(n>>>0>c>>>0){continue}break}d=e;while(1){c=N[d+20>>2];i:{if(!c|N[c+20>>2]==(d|0)){break i}N[d+20>>2]=0;g=N[c+28>>2];if((g|0)>=(i|0)&N[d+28>>2]>=g<<2){break i}N[d+24>>2]=N[c+20>>2]}d=d+44|0;if(n>>>0>d>>>0){continue}break}k=N[o>>2]}v=N[a>>2];N[p+56>>2]=0;g=N[(s+T(b,7676)|0)+248>>2];c=g>>31;d=k>>31;j=(d^k)-d|0;t=j>>>8|0;c=(c^g)-c|0;j:{if(t+c>>>0<=8190){f=T(c,j)+32768>>>16|0;break j}d=c&65535;f=T(d,j>>>16|0)+T(j,c>>>16|0)+(T(d,j&65535)+32768>>>16)|0}c=f;d=0;h=0-c|0;c=g>>31|1;if((((((k|0)<0?0-c|0:c)|0)<0?h:f)|0)>=17){g=fb(16,k)}if((m|0)<=0){break a}z=j&65535;A=j>>>16|0;B=(T(b,1348)+a|0)- -64|0;while(1){k:{l:{x=N[p+56>>2];m:{if((x|0)<=0){q=O[e+1|0];break m}q=O[e+1|0];s=N[B>>2];f=0;h=65535;i=0;while(1){d=T(i,44);l=d+s|0;n:{if(O[l+13|0]!=(q|0)){break n}m=M[e+2>>1]-M[l>>1]|0;c=m>>31;m=(c^m)-c|0;if((m|0)>=(g|0)|(h|0)<=(m|0)){break n}y=N[e+20>>2];if(y){c=0;r=N[(d+s|0)+36>>2];d=r;while(1){o:{o=N[d+20>>2];if(o){c=M[y+2>>1];o=M[o+2>>1];c=(c|0)>(o|0)?c-o|0:o-c|0;if((g|0)<=(c|0)){break o}}d=N[d+16>>2];if((r|0)!=(d|0)){continue}}break}if((c|0)>=(g|0)){break n}}h=m;f=l}i=i+1|0;if((x|0)!=(i|0)){continue}break}if(f){break l}}d=xp(w,M[e+2>>1],q<<24>>24,0,v,u+12|0);if(d){break a}c=N[u+12>>2];N[c>>2]=0;N[c+4>>2]=0;N[c+40>>2]=e;N[c+36>>2]=e;N[c+32>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;L[c+13|0]=O[e+1|0];d=M[e+2>>1];M[c>>1]=d;f=d>>31;f=(f^d)-f|0;p:{if(f+t>>>0<=8190){f=T(f,j)+32768>>>16|0;break p}f=T(f,A)+(T(f,z)+32768>>>16|0)|0}d=d>>31|1;d=(((k|0)<0?0-d|0:d)|0)<0?0-f|0:f;N[c+8>>2]=d;N[c+4>>2]=d;N[e+16>>2]=e;break k}N[e+16>>2]=N[f+36>>2];N[N[f+40>>2]+16>>2]=e;N[f+40>>2]=e}e=e+44|0;if(n>>>0>e>>>0){continue}break}e=N[p+56>>2];if((e|0)>0){b=N[(T(b,1348)+a|0)- -64>>2];n=b+T(e,44)|0;c=b;while(1){a=N[c+36>>2];d=a;if(d){while(1){N[d+12>>2]=c;d=N[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+44|0;if(n>>>0>c>>>0){continue}break}while(1){f=0;m=0;h=N[b+36>>2];if(h){l=b+28|0;a=b+24|0;d=h;while(1){k=L[d|0]&1;p=!k;c=N[d+24>>2];q:{r:{if(c){e=N[c+12>>2]==(b|0);g=N[d+20>>2];if(e&!g){break q}if(e){i=0;e=a;break r}i=1;e=l;g=c;break r}i=0;e=a;g=N[d+20>>2];if(!g){break q}}c=N[e>>2];s:{if(c){j=M[b>>1]-M[c>>1]|0;e=j>>31;r=(e^j)-e|0;e=M[d+2>>1];j=M[g+2>>1];if((r|0)<=(((e|0)>(j|0)?e-j|0:j-e|0)|0)){break s}}c=N[g+12>>2]}if(i){N[l>>2]=c;L[c+12|0]=O[c+12|0]|2;break q}N[a>>2]=c}f=f+k|0;m=m+p|0;d=N[d+16>>2];if((h|0)!=(d|0)){continue}break}}L[b+12|0]=(f|0)>0&(f|0)>=(m|0);if(!(!N[b+28>>2]|!N[b+24>>2])){N[b+28>>2]=0}b=b+44|0;if(n>>>0>b>>>0){continue}break}}d=0}La=u+16|0;return d}function Vo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;k=La-80|0;La=k;_a(N[a+100>>2]);_a(N[a+104>>2]);N[a+100>>2]=0;if(b){e=Hb(b)}else{e=0}N[a+104>>2]=e;wg(a);cd(N[a+840>>2]);cd(N[a+856>>2]);e=N[a+8>>2];if(e){d=N[e+36>>2];if(d){ve(d)}d=N[e+40>>2];if(d){ve(d)}_a(N[e+32>>2]);_a(N[e+16>>2]);_a(N[e+12>>2]);_a(e)}e=N[a+4>>2];n=N[a>>2];j=db(1,44);a:{if(j){N[j+8>>2]=1;N[j+4>>2]=e;N[j>>2]=n;b:{if(b){b=Hb(b);N[j+16>>2]=0;N[j+12>>2]=b;if(!b){break b}}l=db(1,44);if(l){N[l>>2]=j;N[l+36>>2]=N[110084];b=N[110083];N[l+28>>2]=N[110082];N[l+32>>2]=b;b=N[110081];N[l+20>>2]=N[110080];N[l+24>>2]=b;b=N[110079];N[l+12>>2]=N[110078];N[l+16>>2]=b;b=N[110077];N[l+4>>2]=N[110076];N[l+8>>2]=b;d=N[n>>2];c:{if(!d|!O[d|0]){break c}b=nb(d);if(b){e=b-1|0;c=O[d+e|0]==47?e:b;if(c>>>0>4294967037){break c}r=c+258|0}else{r=258}b=kb(r);if(!b){break c}B(b,d,c);L[b+c|0]=47;e=0;d=Qn(d,589824);if((d|0)>=0){d:{e=db(1,2072);if(!e){ia(d|0)|0;e=0;break d}N[e+8>>2]=d}}o=e;e:{if(!e){e=b;break e}s=c+1|0;while(1){f:{e=b;c=N[o+12>>2];g:{if((c|0)>=N[o+16>>2]){c=0;d=Da(N[o+8>>2],o+24|0,2048)|0;if((d|0)<=0){if(!d|(d|0)==-44){break g}N[147316]=0-d;break g}N[o+16>>2]=d}d=c;c=c+o|0;N[o+12>>2]=d+P[c+40>>1];d=N[c+36>>2];N[o>>2]=N[c+32>>2];N[o+4>>2]=d;c=c+24|0}if(!c){break f}m=c?c+19|0:0;if(O[m|0]==46){continue}f=nb(m);d=f+1|0;c=d+s|0;if(c>>>0>>0){continue}h:{if(c>>>0>r>>>0){if(c>>>0>4294967039){continue}c=c+256|0;e=$a(e,c);if(!e){continue}B(e+s|0,m,d);r=c;break h}B(e+s|0,m,d);b=0;if(!e){continue}}N[k+64>>2]=e;mb(n,4,24533,k- -64|0);c=0;h=La-16|0;La=h;i:{j:{if(!jc(18347,114)){N[147316]=28;break j}b=((jc(18329,43)|0)!=0)<<1;b=jc(18329,120)?b|128:b;b=jc(18329,101)?b|524288:b;N[h>>2]=438;N[h+4>>2]=0;b=na(-100,e|0,b|32768,h|0)|0;if(b>>>0>=4294963201){N[147316]=0-b;b=-1}if((b|0)<0){break i}f=La-32|0;La=f;k:{l:{m:{if(!jc(18347,L[18329])){N[147316]=28;break m}c=kb(1176);if(c){break l}}c=0;break k}G(c,0,144);d=O[18329];if(!jc(18329,43)){N[c>>2]=(d|0)==114?8:4}n:{if((d|0)!=97){d=N[c>>2];break n}d=ka(b|0,3,0)|0;if(!(d&1024)){d=d|1024;N[f+16>>2]=d;N[f+20>>2]=d>>31;ka(b|0,4,f+16|0)|0}d=N[c>>2]|128;N[c>>2]=d}N[c+80>>2]=-1;N[c+48>>2]=1024;N[c+60>>2]=b;N[c+44>>2]=c+152;o:{if(d&8){break o}N[f>>2]=f+24;N[f+4>>2]=0;if(Ja(b|0,21523,f|0)|0){break o}N[c+80>>2]=10}N[c+40>>2]=379;N[c+36>>2]=380;N[c+32>>2]=381;N[c+12>>2]=382;if(!O[591481]){N[c+76>>2]=-1}d=N[147575];N[c+56>>2]=d;if(d){N[d+52>>2]=c}N[147575]=c}La=f+32|0;if(c){break i}ia(b|0)|0}c=0}La=h+16|0;if(!c){N[k>>2]=e;mb(n,2,16820,k);b=e;continue}p:{if(N[c+76>>2]<0){b=mi(c,2);break p}b=mi(c,2)}if((b|0)==-1){N[k+16>>2]=e;mb(n,2,16852,k+16|0);pg(c);b=e;continue}f=c;q:{if(N[c+76>>2]<0){b=ho(c);c=Pa;break q}b=ho(f);c=Pa}if((c|0)>=0&b>>>0>=2147483648|(c|0)>0){N[147316]=61;b=-1}mi(f,0);N[f>>2]=N[f>>2]&-33;h=b;N[k+48>>2]=b;mb(n,6,16738,k+48|0);r:{if((b|0)!=-1){b=0;q=kb(h+1|0);if(q){break r}}pg(f);b=e;continue}s:{while(1){i=b+q|0;d=h-b|0;c=N[f+72>>2];N[f+72>>2]=c-1|c;c=N[f+4>>2];g=N[f+8>>2];if((c|0)==(g|0)){c=d}else{p=c;c=g-c|0;c=c>>>0>>0?c:d;B(i,p,c);N[f+4>>2]=c+N[f+4>>2];i=c+i|0;c=d-c|0}if(c){while(1){t:{u:{if(!ni(f)){g=Qa[N[f+32>>2]](f,i,c)|0;if(g){break u}}d=d-c|0;break t}i=g+i|0;c=c-g|0;if(c){continue}}break}}if((d|0)<=0){t=N[147316];v=P[((t>>>0<=153?t:0)<<1)+583168>>1]+581240|0;b=0;c=N[N[147600]+20>>2];if(c){m=N[c+4>>2];c=N[c>>2];h=N[c>>2]+1794895138|0;d=Td(N[c+8>>2],h);i=Td(N[c+12>>2],h);g=Td(N[c+16>>2],h);v:{if(m>>>2>>>0<=d>>>0){break v}p=m-(d<<2)|0;if((g|i)&3|(p>>>0<=i>>>0|g>>>0>=p>>>0)){break v}z=g>>>2|0;A=i>>>2|0;i=0;while(1){p=d>>>1|0;w=p+i|0;x=w<<1;g=c+(x+A<<2)|0;y=Td(N[g>>2],h);g=Td(N[g+4>>2],h);if(g>>>0>=m>>>0|m-g>>>0<=y>>>0|O[c+(g+y|0)|0]){break v}g=cb(v,c+g|0);if(!g){d=c+(z+x<<2)|0;i=Td(N[d>>2],h);d=Td(N[d+4>>2],h);if(d>>>0>=m>>>0|i>>>0>=m-d>>>0){break v}b=O[c+(d+i|0)|0]?0:c+d|0;break v}if((d|0)==1){break v}g=(g|0)<0;d=g?p:d-p|0;i=g?i:w;continue}}}N[k+36>>2]=b?b:v;N[k+32>>2]=t;mb(n,4,11584,k+32|0);pg(f);break s}b=b+d|0;if((h|0)>(b|0)){continue}break}L[h+q|0]=0;pg(f);Ki(n,m,q,h)}_a(q);b=e;continue}break}gi(N[o+8>>2]);_a(o)}_a(e)}w:{if(!N[n+16>>2]){e=0;break w}while(1){Ao(l,u);e=N[n+16>>2];u=u+1|0;if(e>>>0>u>>>0){continue}break}}N[a+12>>2]=e;N[j+40>>2]=l;break a}mb(n,2,12085,0);b=N[j+36>>2];if(!b){break b}ve(b)}b=N[j+40>>2];if(b){ve(b)}_a(N[j+12>>2]);_a(N[j+16>>2]);_a(j)}j=0}N[a+8>>2]=j;La=k+80|0}function wk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=La-16|0;La=g;f=N[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=N[b+12>>2];h=e-2|0;N[b+12>>2]=h;c=1;if((h|0)<=0){c=0;break a}b:{c:{d:{h=O[a|0]|O[a+1|0]<<8;switch(((h<<8|h>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=a+2|0;if(c>>>0>d>>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;e:{if(!d){break e}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break e}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}d=a+4|0;if(d>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-d>>>0<2){c=0;break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){c=0;break a}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=a+6|0;if(c>>>0>e>>>0){c=0;break a}e=e-c|0;d=(d<<8|d>>>8)&65535;c=d<<1;if(e>>>0>>0){c=0;break a}e=f-c|0;N[b+12>>2]=e;c=0;if((e|0)<=0){break a}f=d>>>0<=1?1:d;d=0;while(1){c=((d<<1)+a|0)+6|0;if(c>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-c>>>0<2){c=0;break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){c=0;break a}e=O[c|0]|O[c+1|0]<<8;f:{if(!e){break f}e=((e<<8|e>>>8)&65535)+a|0;N[g+12>>2]=e;if(tk(e,b,g+12|0)){break f}e=N[b+28>>2];if(e>>>0>31){c=0;break a}N[b+28>>2]=e+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=1;d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>d>>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;g:{if(!d){break g}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break g}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+4|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;h:{if(!d){break h}if(sd(((d<<8|d>>>8)&65535)+a|0,b)){break h}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+6|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;i:{if(!d){break i}if(sd(((d<<8|d>>>8)&65535)+a|0,b)){break i}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+8|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;j:{if(!d){break j}if(sd(((d<<8|d>>>8)&65535)+a|0,b)){break j}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}d=a+10|0;if(d>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-d>>>0<2){c=0;break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){c=0;break a}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=a+12|0;if(c>>>0>e>>>0){c=0;break a}e=e-c|0;d=(d<<8|d>>>8)&65535;c=d<<1;if(e>>>0>>0){c=0;break a}e=f-c|0;N[b+12>>2]=e;c=0;if((e|0)<=0){break a}f=d>>>0<=1?1:d;d=0;while(1){c=((d<<1)+a|0)+12|0;if(c>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-c>>>0<2){c=0;break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){c=0;break a}e=O[c|0]|O[c+1|0]<<8;k:{if(!e){break k}e=((e<<8|e>>>8)&65535)+a|0;N[g+12>>2]=e;if(tk(e,b,g+12|0)){break k}e=N[b+28>>2];if(e>>>0>31){c=0;break a}N[b+28>>2]=e+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=1;d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}N[g+12>>2]=a;d=a+2|0;if(!Oe(d,b,g+12|0)){c=0;break a}c=O[a+2|0]|O[a+3|0]<<8;N[g+12>>2]=a;c=(d+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!Oe(c,b,g+12|0)){c=0;break a}d=O[c|0]|O[c+1|0]<<8;if(!d){c=0;break a}N[g+12>>2]=a;a=(c+(((d<<8|d>>>8)&65535)<<1)|0)+2|0;if(!Oe(a,b,g+12|0)){c=0;break a}c=a;a=O[a|0]|O[a+1|0]<<8;a=(c+(((a<<8|a>>>8)&65535)<<1)|0)+2|0;if(a>>>0>2]){c=0;break a}c=N[b+8>>2];if(c>>>0>>0){c=0;break a}if(c-a>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}e=O[a|0]|O[a+1|0]<<8;if(e){a=a+2|0;if(a>>>0>c>>>0){c=0;break a}c=c-a|0;a=((e<<8|e>>>8)&65535)<<2;if(c>>>0>>0){c=0;break a}a=d-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}La=g+16|0;return c}function Gb(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0;k=La-96|0;La=k;u=i&65535;o=(e^i)&-2147483648;r=e&65535;y=r;Q=i>>>16&32767;R=e>>>16&32767;a:{b:{if(Q-32767>>>0>4294934529&R-32767>>>0>=4294934530){break b}s=e&2147483647;q=s;j=d;if(!(!d&(q|0)==2147418112?!(b|c):q>>>0<2147418112)){m=d;o=e|32768;break a}s=i&2147483647;p=s;e=h;if(!(!e&(p|0)==2147418112?!(f|g):p>>>0<2147418112)){m=e;o=i|32768;b=f;c=g;break a}if(!(b|j|(q^2147418112|c))){if(!(e|f|(g|p))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(e|f|(p^2147418112|g))){e=b|j;d=c|q;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|j|(c|q))){b=0;c=0;break a}if(!(e|f|(g|p))){b=0;c=0;break a}if((q|0)==65535|q>>>0<65535){j=!(d|r);i=j?b:d;s=j<<6;e=W(i)+32|0;i=W(j?c:r);i=s+((i|0)==32?e:i)|0;fc(k+80|0,b,c,d,r,i-15|0);t=16-i|0;d=N[k+88>>2];y=N[k+92>>2];c=N[k+84>>2];b=N[k+80>>2]}if(p>>>0>65535){break b}i=!(h|u);e=i?f:h;r=i<<6;j=W(e)+32|0;e=W(i?g:u);e=r+((e|0)==32?j:e)|0;fc(k- -64|0,f,g,h,u,e-15|0);t=(t-e|0)+16|0;h=N[k+72>>2];u=N[k+76>>2];f=N[k+64>>2];g=N[k+68>>2]}e=f;f=g<<15|f>>>17;i=e<<15;e=0;v=i&-32768;J=c;s=TE(v,e,c,0);e=Pa;z=e;K=f;q=b;c=TE(f,0,b,0);b=c+s|0;f=Pa+e|0;i=b;c=b>>>0>>0?f+1|0:f;f=b;j=0;b=TE(q,l,v,l);p=j+b|0;e=Pa+f|0;e=b>>>0>p>>>0?e+1|0:e;r=e;L=(f|0)==(e|0)&j>>>0>p>>>0|e>>>0>>0;M=d;w=TE(v,l,d,0);O=Pa;b=TE(J,l,K,l);x=b+w|0;j=Pa+O|0;j=b>>>0>x>>>0?j+1|0:j;b=u<<15|h>>>17;A=h<<15|g>>>17;d=TE(A,0,q,l);B=d+x|0;f=Pa+j|0;f=d>>>0>B>>>0?f+1|0:f;C=f;d=(c|0)==(z|0)&i>>>0>>0|c>>>0>>0;D=c+B|0;f=d+f|0;f=c>>>0>D>>>0?f+1|0:f;u=f;g=D;c=f;E=y|65536;y=TE(v,l,E,n);P=Pa;d=TE(M,m,K,l);F=d+y|0;e=Pa+P|0;e=d>>>0>F>>>0?e+1|0:e;i=e;G=b|-2147483648;b=TE(G,0,q,l);H=b+F|0;f=Pa+e|0;f=b>>>0>H>>>0?f+1|0:f;d=TE(A,m,J,l);b=d+H|0;I=f;f=f+Pa|0;z=b;s=b>>>0>>0?f+1|0:f;f=b;b=0;q=b+g|0;e=c+f|0;e=b>>>0>q>>>0?e+1|0:e;v=e;f=e;b=q+L|0;c=b>>>0>>0?f+1|0:f;t=((R+Q|0)+t|0)-16383|0;d=TE(G,m,J,l);h=Pa;e=TE(E,m,K,l);g=e+d|0;f=Pa+h|0;f=e>>>0>g>>>0?f+1|0:f;n=(h|0)==(f|0)&d>>>0>g>>>0|f>>>0>>0;h=f;e=TE(A,m,M,m);d=e+g|0;f=Pa+f|0;f=d>>>0>>0?f+1|0:f;e=f;g=(f|0)==(h|0)&d>>>0>>0|f>>>0>>0;f=0;h=g;g=g+n|0;f=h>>>0>g>>>0?1:f;h=g;g=TE(G,m,E,m);h=h+g|0;f=Pa+f|0;L=h;g=g>>>0>h>>>0?f+1|0:f;h=d;l=e;e=(j|0)==(O|0)&w>>>0>x>>>0|j>>>0>>0;f=0;j=(j|0)==(C|0)&x>>>0>B>>>0|j>>>0>C>>>0;n=j;j=e+j|0;e=(n>>>0>j>>>0?1:f)+l|0;f=g;d=d+j|0;e=d>>>0>>0?e+1|0:e;n=e;w=d;d=(e|0)==(l|0)&d>>>0>>0|e>>>0>>0;e=d;d=d+L|0;f=e>>>0>d>>>0?f+1|0:f;j=d;h=f;e=TE(A,m,E,m);l=Pa;g=TE(G,m,M,m);d=g+e|0;f=Pa+l|0;f=d>>>0>>0?f+1|0:f;g=f;f=(l|0)==(f|0)&d>>>0>>0|f>>>0>>0;x=g+j|0;e=f+h|0;e=g>>>0>x>>>0?e+1|0:e;l=x;h=e;j=d;e=0;d=e+w|0;f=j+n|0;f=d>>>0>>0?f+1|0:f;e=f;g=(n|0)==(f|0)&d>>>0>>0|f>>>0>>0;f=h;h=g;g=g+l|0;f=h>>>0>g>>>0?f+1|0:f;w=g;g=f;h=d;j=e;e=(s|0)==(I|0)&z>>>0>>0|s>>>0>>0;d=(i|0)==(P|0)&y>>>0>F>>>0|i>>>0

>>0;i=(i|0)==(I|0)&F>>>0>H>>>0|i>>>0>I>>>0;d=d+i|0;d=d+e|0;n=s;i=n+h|0;e=d+j|0;f=g;d=i;e=d>>>0>>0?e+1|0:e;h=(e|0)==(j|0)&h>>>0>d>>>0|e>>>0>>0;g=h+w|0;f=h>>>0>g>>>0?f+1|0:f;j=g;g=f;h=d;f=0;i=e;n=(u|0)==(v|0)&q>>>0>>0|u>>>0>v>>>0;l=n;n=n+((u|0)==(C|0)&B>>>0>D>>>0|u>>>0>>0)|0;e=e+(l>>>0>n>>>0?1:f)|0;f=g;d=d+n|0;e=d>>>0>>0?e+1|0:e;h=(e|0)==(i|0)&d>>>0>>0|e>>>0>>0;g=h;h=h+j|0;f=g>>>0>h>>>0?f+1|0:f;i=f;c:{if(f&65536){t=t+1|0;break c}j=r>>>31|0;g=0;f=i<<1|h>>>31;h=h<<1|e>>>31;i=f;f=e<<1|d>>>31;d=d<<1|c>>>31;e=f;f=r<<1|p>>>31;p=p<<1;r=f;f=c<<1|b>>>31;b=b<<1|j;c=f|g}if((t|0)>=32767){o=o|2147418112;b=0;c=0;break a}d:{if((t|0)<=0){g=1-t|0;if(g>>>0<=127){f=t+127|0;fc(k+48|0,p,r,b,c,f);fc(k+32|0,d,e,h,i,f);Pd(k+16|0,p,r,b,c,g);Pd(k,d,e,h,i,g);p=N[k+32>>2]|N[k+16>>2]|(N[k+48>>2]|N[k+56>>2]|(N[k+52>>2]|N[k+60>>2]))!=0;r=N[k+36>>2]|N[k+20>>2];b=N[k+40>>2]|N[k+24>>2];c=N[k+44>>2]|N[k+28>>2];d=N[k>>2];e=N[k+4>>2];g=N[k+8>>2];f=N[k+12>>2];break d}b=0;c=0;break a}g=h;f=i&65535|t<<16}m=g|m;o=f|o;if(!(!b&(c|0)==-2147483648?!(p|r):(c|0)>0|(c|0)>=0)){b=d+1|0;j=b?e:e+1|0;e=o;c=j;d=!(j|b);m=d+m|0;o=d>>>0>m>>>0?e+1|0:e;break a}if(b|p|(c^-2147483648|r)){b=d;c=e;break a}f=e;b=d&1;c=b;b=b+d|0;c=c>>>0>b>>>0?f+1|0:f;d=(f|0)==(c|0)&b>>>0>>0|c>>>0>>0;f=o;m=d+m|0;o=m>>>0>>0?f+1|0:f}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=m;N[a+12>>2]=o;La=k+96|0}function Je(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;N[a+24>>2]=0;a:{b:{d=$d(b+52|0);c=O[d+50|0]|O[d+51|0]<<8;if(!(((c<<8|c>>>8)&65535)>>>0>1|(O[d+52|0]|O[d+53|0]<<8))){L[a+12|0]=!c;c=N[b+104>>2];c:{if(c){break c}while(1){d=N[b+48>>2];if(!d){c=275552;break c}N[e+8>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;L[e+24|0]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;L[e+40|0]=1;N[e+36>>2]=0;if(!O[e+40|0]){c=N[d+32>>2];if((c|0)==-1){c=sb(d+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[d+32>>2]=c}L[e+40|0]=1;N[e+36>>2]=c}c=N[d+12>>2];d:{if(c){d=Qa[c|0](d,1819239265,N[d+16>>2])|0;if(d){break d}}d=275552}c=N[d>>2];if(c){if((c|0)<=0){break b}N[d>>2]=c+1}L[e+24|0]=0;N[e+32>>2]=d;f=N[d+12>>2];N[e+4>>2]=f;c=N[d+16>>2];N[e+8>>2]=c+f;e:{if((c|0)<0){break a}N[e+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[e+12>>2]=c;N[e+20>>2]=0;N[e>>2]=0;ab(d);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;if(!(!f|!N[d+4>>2])){N[d+4>>2]=0}break e}c=N[b+104>>2];f:{if(d){if(c){break f}c=d;N[b+104>>2]=d;break c}if(c){break c}c=275552;N[b+104>>2]=275552;break c}if((d|0)==275552){break c}ab(d);c=N[b+104>>2];if(!c){continue}break}}N[a+20>>2]=c;if(N[b+32>>2]==-1){d=sb(b+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[b+32>>2]=(d<<8|d>>>8)&65535}d=N[b+12>>2];g:{if(d){c=Qa[d|0](b,1735162214,N[b+16>>2])|0;if(c){break g}}c=275552}d=N[c>>2];if(d){if((d|0)<=0){break b}N[c>>2]=d+1}if(N[c+16>>2]<0){break a}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+24>>2]=c;c=N[b+128>>2];h:{if(c){break h}while(1){f=N[b+48>>2];if(!f){c=275552;break h}c=db(1,4);if(!c){c=275552;N[b+128>>2]=275552;break h}N[e+8>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;L[e+24|0]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;d=N[f+32>>2];if((d|0)==-1){d=sb(f+56|0);d=O[d+4|0]|O[d+5|0]<<8;d=(d<<8|d>>>8)&65535;N[f+32>>2]=d}L[e+40|0]=1;N[e+36>>2]=d;d=N[f+12>>2];i:{if(d){d=Qa[d|0](f,1735811442,N[f+16>>2])|0;if(d){break i}}d=275552}j:{if(!d){break j}f=N[d>>2];if(!f){break j}if((f|0)<=0){break b}N[d>>2]=f+1}L[e+24|0]=0;N[e+32>>2]=d;h=N[d+12>>2];N[e+4>>2]=h;f=N[d+16>>2];N[e+8>>2]=f+h;if((f|0)<0){break a}N[e+28>>2]=0;if(f>>>0>67108863){f=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}N[e+12>>2]=f;N[e+20>>2]=0;N[e>>2]=0;f=d;k:{l:{if(!h){break l}m:{n:{o:{p:{if(aj(h,e)){break p}q:{if(O[e+24|0]|!N[e+28>>2]){break q}f=zb(d);N[e+4>>2]=f;N[e+8>>2]=f+N[d+16>>2];if(!f){break q}while(1){L[e+24|0]=1;f=N[e+32>>2];h=N[f+12>>2];N[e+4>>2]=h;g=N[f+16>>2];N[e+8>>2]=g+h;if((g|0)<0){break a}N[e+28>>2]=0;if(g>>>0>67108863){g=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}N[e+12>>2]=g;N[e+20>>2]=0;N[e>>2]=0;if(!h){break l}if(aj(h,e)){break p}if(O[e+24|0]|!N[e+28>>2]){break q}f=zb(d);N[e+4>>2]=f;N[e+8>>2]=f+N[d+16>>2];if(f){continue}break}}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;break o}if(!N[e+28>>2]){break n}N[e+28>>2]=0;f=aj(h,e);h=N[e+28>>2];ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;if(h){break o}if(f){break m}}ab(d);d=275552;break k}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break k}ab(f);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}N[c>>2]=d;if(!N[b+128>>2]){N[b+128>>2]=c;break h}ab(d);_a(c);c=N[b+128>>2];if(!c){continue}break}}N[a>>2]=c;c=N[b+68>>2];r:{if(c){break r}while(1){d=N[b+48>>2];if(!d){c=275552;break r}c=db(1,28);if(!c){c=275552;N[b+68>>2]=275552;break r}c=hq(c,d);if(!N[b+68>>2]){N[b+68>>2]=c;break r}ab(N[c+20>>2]);N[c+20>>2]=0;ab(N[c+24>>2]);_a(c);c=N[b+68>>2];if(!c){continue}break}}N[a+4>>2]=c;c=N[b+96>>2];s:{if(c){break s}while(1){d=N[b+48>>2];if(!d){c=275552;break s}c=db(1,28);if(!c){c=275552;N[b+96>>2]=275552;break s}c=Kg(c,d);if(!N[b+96>>2]){N[b+96>>2]=c;break s}ab(N[c+20>>2]);N[c+20>>2]=0;ab(N[c+24>>2]);_a(c);c=N[b+96>>2];if(!c){continue}break}}N[a+8>>2]=c;d=N[a+20>>2];d=N[(d?d:275552)+16>>2]>>>(O[a+12|0]?1:2)|0;c=(d>>>0<=1?1:d)-1|0;N[a+16>>2]=c;d=N[b+32>>2];if((d|0)==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;d=(b<<8|b>>>8)&65535;N[c+32>>2]=d;c=N[a+16>>2]}N[a+16>>2]=c>>>0>>0?c:d}La=e+48|0;return a}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}function Nw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+437|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+440|0;break i;case 1:a=a+444|0;break i;case 2:a=a+448|0;break i;case 3:break j;default:break h}}a=a+452|0}e=N[a>>2]}N[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+464|0;break l;case 1:a=a+468|0;break l;case 2:a=a+472|0;break l;case 3:break m;default:break k}}a=a+476|0}e=N[a>>2]}N[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+436|0];break b;case 4:a=N[a+364>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}B(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+420>>2];break c;case 7:if(Q[a+420>>2]<=c>>>0){break e}a=N[N[a+424>>2]+(c<<2)>>2];c=nb(a);b=c+1|0;if(!d|f>>>0>>0){break f}B(d,a,b);L[c+d|0]=0;break f;case 8:if(Q[a+420>>2]<=c>>>0){break e}e=c<<2;c=N[e+N[a+432>>2]>>2];b=c+1|0;if(!d|f>>>0>>0){break f}B(d,N[e+N[a+428>>2]>>2],c);L[c+d|0]=0;break f;case 9:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+368>>2];break c;case 10:if(N[a+368>>2]!=1|Q[a+372>>2]<=c>>>0){break e}c=N[N[a+388>>2]+(c<<2)>>2];a=nb(c);b=a+1|0;if(!d|f>>>0>>0){break f}B(d,c,a);L[a+d|0]=0;break f;case 11:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+404>>2];break c;case 12:b=N[a+416>>2];n:{if(b){b=zd(c,b);if(!b){break e}c=N[b>>2];break n}if(Q[a+404>>2]<=c>>>0){break e}}e=N[a+408>>2];if(!e){break e}c=c<<2;a=N[c+N[a+412>>2]>>2];b=a+1|0;if(!d|f>>>0>>0){break f}B(d,N[c+e>>2],a);L[a+d|0]=0;break f;case 13:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+176|0];break b;case 16:if(O[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+177|0];break b;case 19:if(O[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+178|0];break b;case 21:if(O[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+179|0];break b;case 23:if(O[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+292|0];break b;case 27:if(O[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+293|0];break b;case 29:if(O[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+295|0];break b;case 30:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+164>>1];break a;case 36:a=N[a+132>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}B(d,a,b);break f;case 37:a=N[a+136>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}B(d,a,b);break f;case 38:a=N[a+140>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}B(d,a,b);break f;case 39:a=N[a+144>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}B(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=N[a+148>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}B(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+152>>2]}return b|0}return 1}return 2}function Gj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;i=La-32|0;La=i;if(!(e-d>>>0<2|d>>>0>=e>>>0)){E=N[c+80>>2];while(1){r=T(d,20);a:{if(1<>1]&7168){t=d;break a}g=d+1|0;h=e>>>0>g>>>0?e:g;j=h-1|0;n=d;while(1){b:{t=n;if((j|0)==(n|0)){t=j;n=h;break b}n=t+1|0;if(1<>1]&7168){continue}}break}j=N[c+68>>2];y=j>>>0>>0?j:n;w=y-d|0;c:{if(w>>>0<=1){p=N[c+80>>2];break c}k=N[c+144>>2]|32;N[c+144>>2]=k;p=N[c+80>>2];if(d>>>0>=y>>>0){break c}h=-1;j=d;s=y+(d^-1)|0;if(s>>>0>=3){B=w&-4;l=0;while(1){q=T(j,20)+p|0;o=N[q+8>>2];h=h>>>0>>0?h:o;o=N[q+28>>2];h=h>>>0>>0?h:o;o=N[q+48>>2];h=h>>>0>>0?h:o;q=N[q+68>>2];h=h>>>0>>0?h:q;j=j+4|0;l=l+4|0;if((B|0)!=(l|0)){continue}break}}o=0;l=w&3;if(l){while(1){q=N[(T(j,20)+p|0)+8>>2];h=h>>>0>>0?h:q;j=j+1|0;o=o+1|0;if((l|0)!=(o|0)){continue}break}}j=d;d:{if(!(w&1)){break d}l=p+r|0;j=g;if(N[l+8>>2]==(h|0)){break d}N[l+4>>2]=N[l+4>>2]|3;j=g}if(!s){break c}while(1){l=T(j,20)+p|0;if(N[l+8>>2]!=(h|0)){k=k|32;N[c+144>>2]=k;N[l+4>>2]=N[l+4>>2]|3}l=T(j+1|0,20)+p|0;if(N[l+8>>2]!=(h|0)){k=k|32;N[c+144>>2]=k;N[l+4>>2]=N[l+4>>2]|3}j=j+2|0;if((y|0)!=(j|0)){continue}break}}j=N[p+r>>2];N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;h=N[b+96>>2];l=N[h+72>>2];s=N[b+100>>2];h=N[h+12>>2];if(h){h=N[h+52>>2]}else{h=0}if(!(Qa[l|0](b,s,j,i,h)|0)){if(g>>>0>=n>>>0){break a}j=N[c+80>>2];if(!f){h=g;if(t-d&1){n=T(g,20);if((P[(n+j|0)+16>>1]&31)==12){n=n+N[c+88>>2]|0;N[n>>2]=0;N[n+4>>2]=0}h=d+2|0}if((g|0)==(t|0)){break a}while(1){d=T(h,20);if((P[(d+j|0)+16>>1]&31)==12){d=d+N[c+88>>2]|0;N[d>>2]=0;N[d+4>>2]=0}d=h+1|0;g=T(d,20);if((P[(g+j|0)+16>>1]&31)==12){g=g+N[c+88>>2]|0;N[g>>2]=0;N[g+4>>2]=0}h=h+2|0;if((d|0)!=(t|0)){continue}break}break a}while(1){d=T(g,20);if((P[(d+j|0)+16>>1]&31)==12){d=d+N[c+88>>2]|0;n=N[d+4>>2];N[d+4>>2]=0;h=N[d>>2];N[d>>2]=0;N[d+8>>2]=N[d+8>>2]-h;N[d+12>>2]=N[d+12>>2]-n}d=(g|0)==(t|0);g=g+1|0;if(!d){continue}break}break a}d=N[(r+N[c+88>>2]|0)+12>>2];p=0;N[i>>2]=0;N[i+4>>2]=d+N[i+4>>2];d=N[b+96>>2];j=N[d+40>>2];s=N[b+100>>2];h=N[r+N[c+80>>2]>>2];d=N[d+12>>2];if(d){d=N[d+20>>2]}else{d=0}h=Qa[j|0](b,s,h,d)|0;N[i+8>>2]=h;o=0;if((N[c+40>>2]&-3)==4){d=r+N[c+88>>2]|0;p=0-N[d+4>>2]|0;o=0-N[d>>2]|0}if(g>>>0>=n>>>0){break a}F=N[c+80>>2];d=r+F|0;C=O[d+14|0];x=O[d+12|0]&4?C&16?C&15:1:1;y=-1;r=255;z=0;w=N[i>>2];n=w;q=N[i+4>>2];l=q;j=h;s=N[i+12>>2];d=s;while(1){B=g;A=T(g,20);g=F+A|0;k=P[g+16>>1];e:{if(!(k>>>0<256|!(1<>>0<2){break f}g=O[g+14|0];m=g&16?0:g&15;m=C>>>0<32?x:(g^C)>>>0>31?x:m>>>0>x>>>0?x:m;g=m-1|0;if((g|0)==(y|0)){break f}s=N[i+12>>2];h=N[i+8>>2];q=N[i+4>>2];r=N[i>>2];g:{if(z){break g}z=N[a>>2];if((z&-2)==4){break g}z=th(N[a+4>>2])}w=r+((T(h,(z|0)==4?g:x-m|0)|0)/(x|0)|0)|0;h=(h|0)/(x|0)|0;r=255;y=g}k=k>>>8|0;if((k|0)!=(r|0)){j=h;l=q;n=w;r=k;d=s}g=N[N[c+80>>2]+A>>2];N[i+24>>2]=0;N[i+28>>2]=0;N[i+16>>2]=0;N[i+20>>2]=0;m=N[b+96>>2];u=N[m+72>>2];D=N[b+100>>2];v=i+16|0;m=N[m+12>>2];if(m){m=N[m+52>>2]}else{m=0}g=Qa[u|0](b,D,g,v,m)|0;D=N[c+88>>2];h:{if(!g){break h}m=N[b+32>>2];g=A+D|0;N[g+12>>2]=0;u=(m|0)/16|0;i:{j:{k:{l:{m:{k=k-200|0;switch(k|0){case 16:case 22:case 32:break j;case 0:case 18:case 28:break k;case 33:case 34:break m;default:break l}}n:{switch(N[c+40>>2]-4|0){case 0:v=((j+n|0)+(N[i+24>>2]/-2|0)|0)-N[i+16>>2]|0;break i;case 1:break n;default:break l}}v=((N[i+24>>2]/-2|0)+n|0)-N[i+16>>2]|0;break i}v=(n-N[i+16>>2]|0)+((j-N[i+24>>2]|0)/2|0)|0;break i}v=n-N[i+16>>2]|0;break i}v=j+n-(N[i+24>>2]+N[i+16>>2])|0}N[g+8>>2]=v;o:{switch(k|0){case 18:case 20:case 22:case 33:d=d-u|0;case 0:case 2:k=(d+l|0)-N[i+20>>2]|0;m=(m|0)<16^(k|0)>0;N[g+12>>2]=m?0:k;d=(N[i+28>>2]+d|0)-(m?k:0)|0;break h;case 28:case 30:case 32:case 34:d=d-u|0;l=l+u|0;break;case 14:case 16:break o;default:break h}}v=(m|0)<16;m=N[i+28>>2];k=l-(m+N[i+20>>2]|0)|0;if(!(v^(k|0)>0)){u=(k|0)/-2|0;k=u+k|0;l=l+u|0;d=d-u|0}N[g+12>>2]=k;d=d+m|0;l=l-m|0}g=A+D|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=N[g+8>>2]+o;N[g+12>>2]=N[g+12>>2]+p;break e}k=N[c+88>>2]+A|0;g=N[k+4>>2];k=N[k>>2];if((N[c+40>>2]&-3)==4){p=p-g|0;o=o-k|0;break e}p=g+p|0;o=k+o|0}g=B+1|0;if((t|0)!=(B|0)){continue}break}}d=t+1|0;if(e>>>0>d>>>0){continue}break}}La=i+32|0}function Mf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;k=La-80|0;La=k;a:{b:{c:{if(O[a|0]){N[a+4>>2]=-1;h=N[a+28>>2];g=N[e+28>>2];N[k+76>>2]=0;N[k+68>>2]=0;N[k+72>>2]=0;d:{e:{f:{g:{h:{if(!c){f=(h|0)>0;t=f?h:0;if(f){while(1){p=((p>>>1|0)+p|0)+8|0;if(t>>>0>=p>>>0){continue}break}if(p>>>0>1073741823){break h}f=kb(p<<2);if(!f){break h}N[k+68>>2]=p;N[k+76>>2]=f;G(f,0,t<<2);p=f}N[k+72>>2]=t}i:{if(!h|!g){break i}while(1){o=N[a+16>>2];r=o>>>0>i>>>0;j:{if(!r){N[147456]=0;N[147457]=0;f=0;break j}f=N[N[a+20>>2]+(i<<3)>>2]}q=f;f=Q[e+16>>2]<=m>>>0?275552:N[e+20>>2]+(m<<3)|0;j=N[f>>2];k:{if((q|0)==(j|0)){if(!c){if(i>>>0>l>>>0){l:{if(!r){N[147456]=0;N[147457]=0;f=589824;break l}f=N[a+20>>2]+(i<<3)|0}m:{if(l>>>0>=o>>>0){N[147456]=0;N[147457]=0;o=589824;break m}o=N[a+20>>2]+(l<<3)|0}j=o;o=N[f+4>>2];N[j>>2]=N[f>>2];N[j+4>>2]=o}l=l+1|0}m=m+1|0;i=i+1|0;n=n+1|0;break k}n:{if(!r){N[147456]=0;N[147457]=0;j=N[f>>2];f=0;break n}f=N[N[a+20>>2]+(i<<3)>>2]}if(f>>>0>>0){i=i+1|0;n=c+n|0;break k}m=m+1|0;n=d+n|0}if(h>>>0<=i>>>0){break i}if(g>>>0>m>>>0){continue}break}}o=((c?h-i|0:0)+n|0)+(d?g-m|0:0)|0;if(!c){Ij(a,k+68|0,l);h=l}if(!Df(a,o)){break e}q=(g|0)!=0;m=(h|0)!=0;if(!h|!g){break g}i=o;n=h;while(1){l=g-1|0;m=l<<3;r=m+N[e+20>>2]|0;v=N[r>>2];u=N[a+20>>2];f=h-1|0;q=f<<3;s=u+q|0;j=N[s>>2];o:{p:{if((v|0)==(j|0)){h=N[s+4>>2];i=i-1|0;j=i<<3;g=j+u|0;N[g>>2]=N[s>>2];N[g+4>>2]=h;if(f>>>0>=Q[a+16>>2]){break b}if(l>>>0>=Q[e+16>>2]){break a}Qa[b|0](k,N[a+32>>2]+(N[(q+N[a+20>>2]|0)+4>>2]<<6)|0,N[e+32>>2]+(N[(m+N[e+20>>2]|0)+4>>2]<<6)|0);if(Q[a+16>>2]<=i>>>0){break b}h=N[k+4>>2];g=N[a+32>>2]+(N[(j+N[a+20>>2]|0)+4>>2]<<6)|0;N[g>>2]=N[k>>2];N[g+4>>2]=h;h=N[k+60>>2];N[g+56>>2]=N[k+56>>2];N[g+60>>2]=h;h=N[k+52>>2];N[g+48>>2]=N[k+48>>2];N[g+52>>2]=h;h=N[k+44>>2];N[g+40>>2]=N[k+40>>2];N[g+44>>2]=h;h=N[k+36>>2];N[g+32>>2]=N[k+32>>2];N[g+36>>2]=h;h=N[k+28>>2];N[g+24>>2]=N[k+24>>2];N[g+28>>2]=h;h=N[k+20>>2];N[g+16>>2]=N[k+16>>2];N[g+20>>2]=h;h=N[k+12>>2];N[g+8>>2]=N[k+8>>2];N[g+12>>2]=h;h=f;break p}if(j>>>0>v>>>0){if(!c){h=f;break o}h=N[s+4>>2];i=i-1|0;l=(i<<3)+u|0;N[l>>2]=N[s>>2];N[l+4>>2]=h;h=f;break o}if(!d){break p}i=i-1|0;f=(i<<3)+u|0;N[f+4>>2]=n;N[f>>2]=v;if(l>>>0>=Q[e+16>>2]){break a}if(Q[a+16>>2]<=i>>>0){break b}j=N[e+32>>2]+(N[r+4>>2]<<6)|0;f=N[j+4>>2];g=N[a+32>>2]+(n<<6)|0;N[g>>2]=N[j>>2];N[g+4>>2]=f;f=N[j+60>>2];N[g+56>>2]=N[j+56>>2];N[g+60>>2]=f;f=N[j+52>>2];N[g+48>>2]=N[j+48>>2];N[g+52>>2]=f;f=N[j+44>>2];N[g+40>>2]=N[j+40>>2];N[g+44>>2]=f;f=N[j+36>>2];N[g+32>>2]=N[j+32>>2];N[g+36>>2]=f;f=N[j+28>>2];N[g+24>>2]=N[j+24>>2];N[g+28>>2]=f;f=N[j+20>>2];N[g+16>>2]=N[j+16>>2];N[g+20>>2]=f;f=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=f;n=n+1|0}g=l}q=(g|0)!=0;m=(h|0)!=0;if(!h){break f}if(g){continue}break}break f}N[k+68>>2]=-1;p=0;L[a|0]=0;break d}n=h;i=o}q:{if(!m|!c){break q}j=h-1|0;l=h&3;if(l){m=0;while(1){b=N[a+20>>2];i=i-1|0;f=b+(i<<3)|0;h=h-1|0;c=b+(h<<3)|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;m=m+1|0;if((l|0)!=(m|0)){continue}break}}if(j>>>0<3){break q}while(1){j=i<<3;b=N[a+20>>2];f=(j+b|0)-8|0;l=h<<3;c=(l+b|0)-8|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];f=(b+j|0)-16|0;c=(b+l|0)-16|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];f=(b+j|0)-24|0;c=(b+l|0)-24|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];i=i-4|0;f=b+(i<<3)|0;h=h-4|0;c=b+(h<<3)|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;if(h){continue}break}}if((d&q)==1){while(1){g=g-1|0;d=N[e+20>>2]+(g<<3)|0;c=N[d>>2];i=i-1|0;b=N[a+20>>2]+(i<<3)|0;N[b+4>>2]=n;N[b>>2]=c;if(Q[e+16>>2]<=g>>>0){break a}if(Q[a+16>>2]<=i>>>0){break b}d=N[e+32>>2]+(N[d+4>>2]<<6)|0;b=N[d+4>>2];c=N[a+32>>2]+(n<<6)|0;N[c>>2]=N[d>>2];N[c+4>>2]=b;b=N[d+60>>2];N[c+56>>2]=N[d+56>>2];N[c+60>>2]=b;b=N[d+52>>2];N[c+48>>2]=N[d+48>>2];N[c+52>>2]=b;b=N[d+44>>2];N[c+40>>2]=N[d+40>>2];N[c+44>>2]=b;b=N[d+36>>2];N[c+32>>2]=N[d+32>>2];N[c+36>>2]=b;b=N[d+28>>2];N[c+24>>2]=N[d+24>>2];N[c+28>>2]=b;b=N[d+20>>2];N[c+16>>2]=N[d+16>>2];N[c+20>>2]=b;b=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=b;n=n+1|0;if(g){continue}break}}if(i){break c}Df(a,o)}if(!t){break d}N[k+72>>2]=0}_a(p)}La=k+80|0;return}ba(8946,14083,586,18452);F()}ba(13997,14083,950,9755);F()}ba(13997,14083,955,9755);F()}function _p(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=(b<<4)+a|0;if(b>>>0>9){while(1){j=N[a+16>>2];g=(b<<3&-16)+a|0;i=N[g>>2];d=N[a+20>>2];c=N[g+4>>2];f=bb(j,i,c>>>0>d>>>0?d:c);c=((f?f:d-c|0)|0)>0;e=(b<<4)-16|0;f=e+a|0;l=f-16|0;m=N[l>>2];n=a+16|0;b=c?n:g;h=N[b+4>>2];d=N[f-12>>2];o=bb(c?j:i,m,d>>>0>h>>>0?h:d);if(((o?o:h-d|0)|0)>0){g=c?g:n;b=N[g+4>>2];c=bb(c?i:j,m,b>>>0>>0?b:d);b=((c?c:b-d|0)|0)>0?g:l}if((b|0)!=(f|0)){d=O[b|0];L[b|0]=O[f|0];L[f|0]=d;d=O[b+1|0];L[b+1|0]=O[f+1|0];L[f+1|0]=d;d=O[b+2|0];L[b+2|0]=O[f+2|0];L[f+2|0]=d;d=O[b+3|0];L[b+3|0]=O[f+3|0];L[f+3|0]=d;d=O[b+4|0];L[b+4|0]=O[f+4|0];L[f+4|0]=d;d=O[b+5|0];L[b+5|0]=O[f+5|0];L[f+5|0]=d;d=O[b+6|0];L[b+6|0]=O[f+6|0];L[f+6|0]=d;d=O[b+7|0];L[b+7|0]=O[f+7|0];L[f+7|0]=d;d=O[b+8|0];L[b+8|0]=O[f+8|0];L[f+8|0]=d;d=O[b+9|0];L[b+9|0]=O[f+9|0];L[f+9|0]=d;d=O[b+10|0];L[b+10|0]=O[f+10|0];L[f+10|0]=d;d=O[b+11|0];L[b+11|0]=O[f+11|0];L[f+11|0]=d;d=O[b+12|0];L[b+12|0]=O[f+12|0];L[f+12|0]=d;d=O[b+13|0];L[b+13|0]=O[f+13|0];L[f+13|0]=d;d=O[b+14|0];L[b+14|0]=O[f+14|0];L[f+14|0]=d;d=O[b+15|0];L[b+15|0]=O[f+15|0];L[f+15|0]=d}a:{if((e|0)<=0){h=0;break a}j=f;g=f;d=a;b=d;while(1){b:{c=N[b+4>>2];e=N[f+4>>2];i=bb(N[b>>2],N[f>>2],c>>>0>>0?c:e);c=i?i:c-e|0;if((c|0)<=0){if(!c){if(b>>>0>d>>>0){c=O[d|0];L[d|0]=O[b|0];L[b|0]=c;c=O[d+1|0];L[d+1|0]=O[b+1|0];L[b+1|0]=c;c=O[d+2|0];L[d+2|0]=O[b+2|0];L[b+2|0]=c;c=O[d+3|0];L[d+3|0]=O[b+3|0];L[b+3|0]=c;c=O[d+4|0];L[d+4|0]=O[b+4|0];L[b+4|0]=c;c=O[d+5|0];L[d+5|0]=O[b+5|0];L[b+5|0]=c;c=O[d+6|0];L[d+6|0]=O[b+6|0];L[b+6|0]=c;c=O[d+7|0];L[d+7|0]=O[b+7|0];L[b+7|0]=c;c=O[d+8|0];L[d+8|0]=O[b+8|0];L[b+8|0]=c;c=O[d+9|0];L[d+9|0]=O[b+9|0];L[b+9|0]=c;c=O[d+10|0];L[d+10|0]=O[b+10|0];L[b+10|0]=c;c=O[d+11|0];L[d+11|0]=O[b+11|0];L[b+11|0]=c;c=O[d+12|0];L[d+12|0]=O[b+12|0];L[b+12|0]=c;c=O[d+13|0];L[d+13|0]=O[b+13|0];L[b+13|0]=c;c=O[d+14|0];L[d+14|0]=O[b+14|0];L[b+14|0]=c;c=O[d+15|0];L[d+15|0]=O[b+15|0];L[b+15|0]=c}d=d+16|0}b=b+16|0;if(g>>>0>b>>>0){continue}break b}c:{if(b>>>0>=g>>>0){break c}while(1){i=g;d:{e:{g=g-16|0;c=i-12|0;e=N[c>>2];h=N[f+4>>2];l=bb(N[g>>2],N[f>>2],e>>>0>>0?e:h);e=l?l:e-h|0;if(!e){e=j-16|0;if(i>>>0>=j>>>0){break e}c=g;h=e;while(1){j=O[c|0];L[c|0]=O[h|0];L[h|0]=j;h=h+1|0;c=c+1|0;if(i>>>0>c>>>0){continue}break}break e}if((e|0)>=0){break d}if(b>>>0>>0){e=O[b|0];L[b|0]=O[g|0];L[g|0]=e;e=O[b+1|0];h=i-15|0;L[b+1|0]=O[h|0];L[h|0]=e;e=O[b+2|0];h=i-14|0;L[b+2|0]=O[h|0];L[h|0]=e;e=O[b+3|0];h=i-13|0;L[b+3|0]=O[h|0];L[h|0]=e;e=O[b+4|0];L[b+4|0]=O[c|0];L[c|0]=e;c=O[b+5|0];e=i-11|0;L[b+5|0]=O[e|0];L[e|0]=c;c=O[b+6|0];e=i-10|0;L[b+6|0]=O[e|0];L[e|0]=c;c=O[b+7|0];e=i-9|0;L[b+7|0]=O[e|0];L[e|0]=c;c=O[b+8|0];e=i-8|0;L[b+8|0]=O[e|0];L[e|0]=c;c=O[b+9|0];e=i-7|0;L[b+9|0]=O[e|0];L[e|0]=c;c=O[b+10|0];e=i-6|0;L[b+10|0]=O[e|0];L[e|0]=c;c=O[b+11|0];e=i-5|0;L[b+11|0]=O[e|0];L[e|0]=c;c=O[b+12|0];e=i-4|0;L[b+12|0]=O[e|0];L[e|0]=c;c=O[b+13|0];e=i-3|0;L[b+13|0]=O[e|0];L[e|0]=c;c=O[b+14|0];e=i-2|0;L[b+14|0]=O[e|0];L[e|0]=c;c=O[b+15|0];e=i-1|0;L[b+15|0]=O[e|0];L[e|0]=c}b=b+16|0;break c}j=e}if(b>>>0>>0){continue}break}}if(b>>>0>>0){continue}}break}e=g-d|0;f:{if((a|0)==(d|0)|(d|0)==(g|0)){break f}b=d-a|0;if(b>>>0>e>>>0){if((e|0)<=0){break f}d=a+e|0;b=a+b|0;c=a;while(1){f=O[c|0];L[c|0]=O[b|0];L[b|0]=f;b=b+1|0;c=c+1|0;if(d>>>0>c>>>0){continue}break}break f}if((b|0)<=0){break f}d=a+b|0;b=a+e|0;c=a;while(1){f=O[c|0];L[c|0]=O[b|0];L[b|0]=f;b=b+1|0;c=c+1|0;if(d>>>0>c>>>0){continue}break}}h=j-g|0;if((g|0)==(j|0)|(j|0)==(k|0)){break a}b=k-j|0;if(b>>>0>>0){if((b|0)<=0){break a}d=b+g|0;b=g+h|0;while(1){c=O[g|0];L[g|0]=O[b|0];L[b|0]=c;b=b+1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}break a}if((h|0)<=0){break a}d=g+h|0;b=b+g|0;while(1){c=O[g|0];L[g|0]=O[b|0];L[b|0]=c;b=b+1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}_p(a,e>>>4|0);a=k-h|0;k=a+(h&-16)|0;b=h>>>4|0;if(h>>>0>=160){continue}break}}e=a+16|0;if(k>>>0>e>>>0){while(1){d=e;g:{if(d>>>0<=a>>>0){break g}while(1){g=d-16|0;b=N[d-12>>2];c=N[d+4>>2];f=bb(N[g>>2],N[d>>2],b>>>0>>0?b:c);if(((f?f:b-c|0)|0)<=0){break g}b=g;c=d;while(1){f=O[b|0];L[b|0]=O[c|0];L[c|0]=f;c=c+1|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}d=g;if(d>>>0>a>>>0){continue}break}}e=e+16|0;if(k>>>0>e>>>0){continue}break}}}function Of(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1195656518,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{d=N[c>>2];if(d){if((d|0)<=0){break j}N[c>>2]=d+1}L[e+28|0]=0;N[e+36>>2]=c;f=N[c+12>>2];N[e+8>>2]=f;g=N[c+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break i}if(g>>>0>67108863){h=1073741819}else{d=g<<6;d=d>>>0<=16384?16384:d;h=(d>>>0>=1073741823?1073741823:d)-4|0}N[e+24>>2]=0;N[e+4>>2]=0;N[e+32>>2]=0;d=c;if(!f){break c}if(g>>>0<4){break g}N[e+16>>2]=h;if((O[f|0]|O[f+1|0]<<8)!=256){break f}g=dh(f,e+4|0);d=N[e+32>>2];if(g){break h}if(O[e+28|0]|!d){break g}if(!zb(c)){break g}while(1){L[e+28|0]=1;d=N[e+36>>2];f=N[d+12>>2];N[e+8>>2]=f;g=N[d+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break i}if(g>>>0>67108863){h=1073741823}else{h=g<<6;h=h>>>0<=16384?16384:h;h=h>>>0>=1073741823?1073741823:h}N[e+24>>2]=0;N[e+4>>2]=0;N[e+32>>2]=0;if(!f){break c}if(g>>>0<4){break g}N[e+16>>2]=h-4;if((O[f|0]|O[f+1|0]<<8)!=256){break f}g=dh(f,e+4|0);d=N[e+32>>2];if(g){break h}if(O[e+28|0]|!d){break g}d=zb(c);N[e+8>>2]=d;N[e+12>>2]=d+N[c+16>>2];if(d){continue}break}break g}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!d){break f}N[e+32>>2]=0;if(Q[e+8>>2]>f>>>0){break g}d=N[e+12>>2];if(d>>>0>>0|d-f>>>0<4){break g}d=N[e+16>>2]-4|0;N[e+16>>2]=d;if((d|0)<=0){break g}if((O[f|0]|O[f+1|0]<<8)!=256){break f}d=dh(f,e+4|0);if(N[e+32>>2]){break g}ab(N[e+36>>2]);if(d){break e}break d}ab(N[e+36>>2]);break d}ab(N[e+36>>2])}if(!N[c+4>>2]){break b}N[c+4>>2]=0;break b}ab(c);c=275552;break b}ab(d)}N[a>>2]=c;c=N[c+16>>2];d=N[Vb(b+144|0)>>2];d=N[(d?d:275552)+16>>2];f=d>>>11|0;b=N[lc(b+148|0)>>2];d=N[(b?b:275552)+16>>2]|d<<21;b=c<<10|f;c=b;k:{l:{if((c|0)<=987147&d>>>0<=2743134887|(c|0)<987147){if((c|0)<=452609&d>>>0<=1732289589|(c|0)<452609){if((c|0)<=196614&d>>>0<=843062357|(c|0)<196614){if((c|0)<=192512&d>>>0<=553651553|(c|0)<192512){if((d|0)==1606425686&(c|0)==184326|(d|0)==520097548&(c|0)==192512){break l}break k}if((d|0)==553651554&(c|0)==192512|(d|0)==734010454&(c|0)==196614){break l}break k}if((c|0)<=440321&d>>>0<=1732288213|(c|0)<440321){if((d|0)==843062358&(c|0)==196614|(d|0)==1732286926&(c|0)==440321){break l}break k}if((d|0)==1732288214&(c|0)==440321|(d|0)==1732286668&(c|0)==452609){break l}break k}if((c|0)<=864259&d>>>0<=2428547489|(c|0)<864259){if((c|0)<=501761&d>>>0<=2092999333|(c|0)<501761){if((d|0)==1732289590&(c|0)==452609|(d|0)==2092999598&(c|0)==489473){break l}break k}if((d|0)==2092999334&(c|0)==501761|(d|0)==-1820280774&(c|0)==851971){break l}break k}if((c|0)<=931846&d>>>0<=583055987|(c|0)<931846){if((d|0)==-1866419806&(c|0)==864259|(d|0)==557888902&(c|0)==919558){break l}break k}if((d|0)==1640033596&(c|0)==962571|((d|0)==583055988&(c|0)==931846|(d|0)==1614866372&(c|0)==950283)){break l}break k}m:{if((c|0)<=1071126&d>>>0<=4139790647|(c|0)<1071126){if((c|0)<=1030155&d>>>0<=4072730923|(c|0)<1030155){if((c|0)<=1017867&d>>>0<=4081118127|(c|0)<1017867){if((d|0)==-1551832408&(c|0)==987147|(d|0)==-1560219632&(c|0)==999435){break l}break k}if((d|0)==-213849168&(c|0)==1017867|(d|0)==-629130764&(c|0)==1028124){break l}break k}b=d-61346|0;if(((d>>>0<61346)+1030156|0)==(c|0)&b>>>0<=6){break m}f=c-((d>>>0<4286641516)+1042443|0)|0;b=d+8325780|0;if(!f&b>>>0>6|f){if((d|0)==-222236372&(c|0)==1030155){break l}break k}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break k;default:break l}}if((c|0)<=1083427&d>>>0<=239092841|(c|0)<1083427){if((c|0)<=1071139&d>>>0<=230704581|(c|0)<1071139){if((d|0)==-155176648&(c|0)==1071126|(d|0)==226509528&(c|0)==1071139){break l}break k}if((d|0)==230704582&(c|0)==1071139|(d|0)==-150983126&(c|0)==1083414){break l}break k}if((c|0)<=1361973&d>>>0<=2852184657|(c|0)<1361973){b=(c|0)==1083427;if(b&(d|0)==239092842|b&(d|0)==243286402){break l}break k}if((d|0)==-1442781604&(c|0)==1361973){break l}if((d|0)!=-1442782638|(c|0)!=1361973){break k}break l}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break k;default:break l}}ab(N[a>>2]);N[a>>2]=275552}La=e+48|0;return a}function hg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=0;a:{if(!a){break a}n=N[a+12>>2];d=n>>31;k=N[a+8>>2];c=k>>31;m=N[a+4>>2];b=m>>31;h=N[a>>2];a=h>>31;f=(d^n)-d|0;p=(c^k)-c|0;o=(b^m)-b|0;i=(a^h)-a|0;a=(i|0)<(o|0)?o:i;a=(a|0)<(p|0)?p:a;c=(a|0)<(f|0)?f:a;if(c>>>0>=23171){b:{c:{d:{if(c>>>0<=65535){a=((c<<16|11584)>>>0)/23170|0;l=a;break d}a=2147483647;l=2147483647;if(c>>>0>1518469119){break d}b=c<<16|11585;a=c>>>16|0;d=W(a);e=32-d|0;a=b>>>e|a<>>0)/23170|0;g=T(l,-23170)+a|0;a=b<>>31;b=c>>>0>23169;g=(b?-23170:0)+c|0;l=b|l<<1;e=31-d|0;a=a<<1}if((d|0)!=31){while(1){b=g<<1|a>>>31;d=b>>>0>23169;c=a>>>30&1|(d?2147460478:0)+b<<1;b=c>>>0>23169;g=(b?-23170:0)+c|0;l=b|(l<<2|d<<1);a=a<<2;e=e-2|0;if(e){continue}break}}if(!l){break c}a=l>>31;a=(a^l)-a|0}b=h?(i|0)==2147483647?2147483647:i:2147483647;b=m?b>>>0>o>>>0?o:b:b;b=k?b>>>0>p>>>0?p:b:b;d=n?b>>>0>f>>>0?f:b:b;p=a>>>17^65535;e:{if(d>>>0<=p>>>0){j=((d<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break e}j=2147483647;b=a>>>1|0;c=b+(d<<16)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;if(b>>>0>=a>>>0){break e}d=W(b);g=32-d|0;b=c>>>g|b<>>0)/(a>>>0)|0;f=b-T(a,j)|0;e=c<>>31;c=b>>>0>=a>>>0;j=c|j<<1;g=31-d|0;e=e<<1;f=b-(c?a:0)|0}if((d|0)==31){break e}while(1){b=f<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;f=b-(c?a:0)|0;j=c|(j<<2|d<<1);e=e<<2;g=g-2|0;if(g){continue}break}}c=0;if(!((l|0)<0?0-j|0:j)){break a}b=h>>31;d=(b^h)-b|0;f:{if(d>>>0<=p>>>0){j=((d<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;c=(h|0)>=0;b=c?1:-1;if((l|0)>=0){break f}b=c?-1:1;break f}j=2147483647;b=a>>>1|0;c=b+(d<<16)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;g:{if(b>>>0>=a>>>0){break g}d=W(b);g=32-d|0;b=c>>>g|b<>>0)/(a>>>0)|0;f=b-T(a,j)|0;e=c<>>31;c=b>>>0>=a>>>0;j=c|j<<1;g=31-d|0;e=e<<1;f=b-(c?a:0)|0}if((d|0)==31){break g}while(1){b=f<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;f=b-(c?a:0)|0;j=c|(j<<2|d<<1);e=e<<2;g=g-2|0;if(g){continue}break}}c=(h|0)>=0;b=c?1:-1;if((l|0)>=0){break f}b=c?-1:1}c=m>>31;i=(c^m)-c|0;h:{if(i>>>0<=p>>>0){c=k>>31;e=(c^k)-c|0;d=((i<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;f=0-d|0;c=(m|0)<0;m=c?d:f;if((l|0)<0){break h}m=c?f:d;break h}h=2147483647;c=a>>>1|0;d=c+(i<<16)|0;c=(i>>>16|0)+(c>>>0>d>>>0)|0;i:{if(c>>>0>=a>>>0){break i}i=W(c);g=32-i|0;c=d>>>g|c<>>0)/(a>>>0)|0;f=c-T(a,h)|0;e=d<>>31;d=c>>>0>=a>>>0;h=d|h<<1;g=31-i|0;e=e<<1;f=c-(d?a:0)|0}if((i|0)==31){break i}while(1){c=f<<1|e>>>31;i=c>>>0>=a>>>0;c=e>>>30&1|c-(i?a:0)<<1;d=c>>>0>=a>>>0;f=c-(d?a:0)|0;h=d|(h<<2|i<<1);e=e<<2;g=g-2|0;if(g){continue}break}}c=k>>31;e=(c^k)-c|0;f=0-h|0;c=(m|0)<0;m=c?h:f;if((l|0)<0){break h}m=c?f:h}d=(b|0)<0;c=0-j|0;j:{if(e>>>0<=p>>>0){i=((e<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;b=n>>31;e=(b^n)-b|0;f=0-i|0;b=(k|0)<0;k=b?i:f;if((l|0)<0){break j}k=b?f:i;break j}h=2147483647;b=a>>>1|0;i=b+(e<<16)|0;b=(e>>>16|0)+(b>>>0>i>>>0)|0;k:{if(b>>>0>=a>>>0){break k}o=W(b);g=32-o|0;b=i>>>g|b<>>0)/(a>>>0)|0;f=b-T(a,h)|0;e=i<>>31;i=b>>>0>=a>>>0;h=i|h<<1;g=31-o|0;e=e<<1;f=b-(i?a:0)|0}if((o|0)==31){break k}while(1){b=f<<1|e>>>31;o=b>>>0>=a>>>0;b=e>>>30&1|b-(o?a:0)<<1;i=b>>>0>=a>>>0;f=b-(i?a:0)|0;h=i|(h<<2|o<<1);e=e<<2;g=g-2|0;if(g){continue}break}}b=n>>31;e=(b^n)-b|0;f=0-h|0;b=(k|0)<0;k=b?h:f;if((l|0)<0){break j}k=b?f:h}h=d?c:j;if(e>>>0<=p>>>0){j=((e<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;a=(n|0)>=0;b=a?1:-1;if((l|0)>=0){break b}b=a?-1:1;break b}j=2147483647;b=a>>>1|0;c=b+(e<<16)|0;b=(e>>>16|0)+(b>>>0>c>>>0)|0;l:{if(b>>>0>=a>>>0){break l}d=W(b);g=32-d|0;b=c>>>g|b<>>0)/(a>>>0)|0;f=b-T(a,j)|0;e=c<>>31;c=b>>>0>=a>>>0;j=c|j<<1;g=31-d|0;e=e<<1;f=b-(c?a:0)|0}if((d|0)==31){break l}while(1){b=f<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;f=b-(c?a:0)|0;j=c|(j<<2|d<<1);e=e<<2;g=g-2|0;if(g){continue}break}}a=(n|0)>=0;b=a?1:-1;if((l|0)>=0){break b}b=a?-1:1;break b}j=2147483647;k=(k|0)<0?-2147483647:2147483647;m=(m|0)<0?-2147483647:2147483647;h=(h|0)<0?-2147483647:2147483647;b=n>>31|1}n=(b|0)<0?0-j|0:j}b=T(h,n);a=T(k,m);c=0;if((b|0)==(a|0)){break a}a=b-a|0;b=a>>31;c=(((T(h,h)+T(m,m)|0)+T(k,k)|0)+T(n,n)>>>0)/((a^b)-b>>>0)>>>0<51}return c}function ue(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0;k=La+-64|0;La=k;l=N[a>>2];a:{b:{c:{if(O[a+257|0]){s=N[l- -64>>2];t=N[l+56>>2];m=N[l+168>>2];o=N[m+36>>2];y=N[l+144>>2];z=N[m+40>>2];H=N[l+140>>2];I=N[a+252>>2];r=N[a+248>>2];l=N[b+8>>2];m=N[a+240>>2];q=N[b>>2];w=N[a+244>>2];u=N[b+4>>2];a=N[b+12>>2];N[k+12>>2]=a;N[k>>2]=0;N[k+4>>2]=0;n=m;m=c+q|0;p=n-m|0;c=(l|0)>(p|0)?p:l;N[k+8>>2]=c;A=(a|0)>0;c=A&(c|0)>0;n=(c<<4)+k|0;q=d+u|0;d=w-q|0;w=(a|0)>(d|0)?d:a;N[n+12>>2]=w;d=r-m|0;r=(d|0)<(l|0)?d:l;N[n+8>>2]=r;N[n+4>>2]=0;u=n;n=(p|0)>0?p:0;N[u>>2]=n;u=(w|0)>0?c?2:1:c;w=(n|0)<(r|0);u=w?u:c;p=(u<<4)+k|0;N[p+12>>2]=a;N[p+8>>2]=r;r=I-q|0;r=(r|0)>0?r:0;N[p+4>>2]=r;N[p>>2]=n;p=w?u+((a|0)>(r|0))|0:c;c=(p<<4)+k|0;N[c+12>>2]=a;N[c+8>>2]=l;N[c+4>>2]=0;a=(d|0)>0?d:0;N[c>>2]=a;B=+(H|0);v=+(z|0);C=+(t|0);x=B*0/v+C;d:{if(V(x)<2147483648){c=~~x;break d}c=-2147483648}d=(a|0)<(l|0);D=+(y|0);x=+(o|0);E=+(s|0);G=D*0/x+E;e:{if(V(G)<2147483648){a=~~G;break e}a=-2147483648}d=d&A;v=B*v/v+C;f:{if(V(v)<2147483648){l=~~v;break f}l=-2147483648}r=d+p|0;v=D*x/x+E;g:{if(V(v)<2147483648){d=~~v;break g}d=-2147483648}if(!r){break b}p=a-m|0;n=N[k>>2];N[k>>2]=(a|0)>(m+n|0)?p:n;n=c-q|0;s=N[k+4>>2];N[k+4>>2]=(c|0)>(q+s|0)?n:s;s=d-m|0;t=N[k+8>>2];N[k+8>>2]=(d|0)<(m+t|0)?s:t;t=l-q|0;o=N[k+12>>2];N[k+12>>2]=(l|0)<(q+o|0)?t:o;if((r|0)==1){break c}o=N[k+20>>2];N[k+20>>2]=(c|0)>(q+o|0)?n:o;o=N[k+24>>2];N[k+24>>2]=(d|0)<(m+o|0)?s:o;o=N[k+28>>2];N[k+28>>2]=(l|0)<(q+o|0)?t:o;o=N[k+16>>2];N[k+16>>2]=(a|0)>(m+o|0)?p:o;if((r|0)==2){break c}o=N[k+36>>2];N[k+36>>2]=(c|0)>(q+o|0)?n:o;o=N[k+40>>2];N[k+40>>2]=(d|0)<(m+o|0)?s:o;o=N[k+44>>2];N[k+44>>2]=(l|0)<(q+o|0)?t:o;o=N[k+32>>2];N[k+32>>2]=(a|0)>(m+o|0)?p:o;if((r|0)==3){break c}u=n;n=N[k+52>>2];N[k+52>>2]=(c|0)>(q+n|0)?u:n;c=N[k+56>>2];N[k+56>>2]=(d|0)<(c+m|0)?s:c;c=N[k+60>>2];N[k+60>>2]=(l|0)<(c+q|0)?t:c;c=N[k+48>>2];N[k+48>>2]=(a|0)>(c+m|0)?p:c;break c}m=N[a+252>>2];q=(m|0)>0?m:0;m=N[l+136>>2];p=N[b+4>>2]+d|0;d=((m|0)>(q|0)?q:m)-p|0;q=N[b+12>>2];n=(d|0)<(q|0)?d:q;d=N[a+244>>2];d=(d|0)>0?d:0;d=p-((d|0)<(m|0)?d:m)|0;m=d>>31&0-d;if((n|0)<=(m|0)){break b}q=N[b>>2]+c|0;c=N[a+240>>2];c=(c|0)>0?c:0;d=N[l+132>>2];c=q-((c|0)<(d|0)?c:d)|0;c=c>>31&0-c;a=N[a+248>>2];a=(a|0)>0?a:0;a=((a|0)<(d|0)?a:d)-q|0;d=N[b+8>>2];l=(a|0)<(d|0)?a:d;if((c|0)>=(l|0)){break b}d=g-q|0;if((c|0)<(d|0)){s=N[b+20>>2];r=N[b+16>>2];g=c+(s+T(r,m)|0)|0;a=kb(48);if(!a){if(!s|j){break b}_a(N[g-4>>2]);break b}N[a+36>>2]=j;N[a+16>>2]=e;N[a+12>>2]=g;N[a+8>>2]=r;N[a+24>>2]=m+p;N[a+20>>2]=c+q;N[a+4>>2]=n-m;d=(d|0)<(l|0)?d:l;N[a>>2]=d-c;if(j){if(!N[j-8>>2]){break a}e=j-4|0;g=N[e>>2];if(!g){break a}N[e>>2]=g+1;g=0}N[a+44>>2]=0;N[a+40>>2]=g;N[a+32>>2]=i;N[h>>2]=a;h=a+28|0}if((d|0)>=(l|0)){break b}g=N[b+20>>2];e=N[b+16>>2];b=(c|0)<(d|0)?d:c;d=(g+T(e,m)|0)+b|0;a=kb(48);if(!a){if(!g|j){break b}_a(N[d-4>>2]);break b}N[a+36>>2]=j;N[a+16>>2]=f;N[a+12>>2]=d;N[a+8>>2]=e;N[a+24>>2]=m+p;N[a+20>>2]=b+q;N[a+4>>2]=n-m;N[a>>2]=l-b;h:{if(j){if(!N[j-8>>2]){break h}b=j-4|0;c=N[b>>2];if(!c){break h}N[b>>2]=c+1;d=0}N[a+44>>2]=0;N[a+40>>2]=d;N[a+32>>2]=i;N[h>>2]=a;h=a+28|0;break b}break a}c=g-m|0;s=j-4|0;o=j-8|0;a=0;while(1){d=(a<<4)+k|0;t=N[d+8>>2];p=N[d>>2];i:{if((t|0)<=(p|0)){break i}y=N[d+12>>2];n=N[d+4>>2];if((y|0)<=(n|0)){break i}j:{k:{l:{if((c|0)<=(p|0)){g=c;break l}g=N[b+16>>2];l=p+(N[b+20>>2]+T(g,n)|0)|0;d=kb(48);if(!d){if(!j){break k}break b}N[d+36>>2]=j;N[d+16>>2]=e;N[d+12>>2]=l;N[d+8>>2]=g;N[d+24>>2]=q+n;N[d+20>>2]=m+p;N[d+4>>2]=y-n;g=(c|0)<(t|0)?c:t;N[d>>2]=g-p;if(j){if(!N[o>>2]){break a}l=N[s>>2];if(!l){break a}N[s>>2]=l+1;l=0}N[d+44>>2]=0;N[d+40>>2]=l;N[d+32>>2]=i;N[h>>2]=d;h=d+28|0}if((g|0)>=(t|0)){break i}g=(g|0)>(p|0)?g:p;z=N[b+16>>2];l=g+(N[b+20>>2]+T(z,n)|0)|0;d=kb(48);if(d){break j}if(j){break b}}if(!l){break b}_a(N[l-4>>2]);break b}N[d+36>>2]=j;N[d+16>>2]=f;N[d+12>>2]=l;N[d+8>>2]=z;N[d+24>>2]=q+n;N[d+20>>2]=g+m;N[d+4>>2]=y-n;N[d>>2]=t-g;if(j){if(!N[o>>2]){break a}g=N[s>>2];if(!g){break a}N[s>>2]=g+1;l=0}N[d+44>>2]=0;N[d+40>>2]=l;N[d+32>>2]=i;N[h>>2]=d;h=d+28|0}a=a+1|0;if((r|0)!=(a|0)){continue}break}}La=k- -64|0;return h}ba(8916,18290,435,15229);F()}function Rj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=O[a|0]|O[a+1|0]<<8;if(e){p=(e<<8|e>>>8)&65535;n=a+2|0;while(1){h=275552;e=O[n|0]|O[n+1|0]<<8;if(e){h=((e<<8|e>>>8)&65535)+a|0}j=O[h+2|0]|O[h+3|0]<<8;d=h+4|0;i=O[h|0]|O[h+1|0]<<8;g=(i<<8|i>>>8)&65535;a:{if(g>>>0<2){break a}l=N[b+12>>2];k=N[c+4>>2];m=N[c>>2];e=d;f=g-1|0;if(f&1){e=O[h+4|0]|O[h+5|0]<<8;Qa[m|0](l,(e<<8|e>>>8)&65535,k);f=g-2|0;e=h+6|0}if((i|0)==512){break a}while(1){h=O[e|0]|O[e+1|0]<<8;Qa[m|0](l,(h<<8|h>>>8)&65535,k);h=O[e+2|0]|O[e+3|0]<<8;Qa[m|0](l,(h<<8|h>>>8)&65535,k);e=e+4|0;f=f-2|0;if(f){continue}break}}if(j){r=(j<<8|j>>>8)&65535;s=d+(i?(g<<1)-2|0:0)|0;o=0;while(1){h=N[b+32>>2];b:{if(!h|!N[b+24>>2]|N[b+20>>2]==275552){break b}e=s+(o<<2)|0;e=O[e+2|0]|O[e+3|0]<<8;m=(e<<8|e>>>8)&65535;l=m>>>9|0;e=N[b+28>>2];g=N[e+32>>2];c:{d:{e:{f=N[e+20>>2];j=N[e+28>>2];if(f>>>0>=j>>>0){break e}f=g+(f<<3)|0;if(N[f>>2]!=(l|0)){break e}d=f+4|0;break d}i=0;if((j|0)<=0){break c}f=j-1|0;i=0;f:{while(1){d=f+i>>>1|0;k=g+(d<<3)|0;q=N[k>>2];g:{if((q|0)>(l|0)){f=d-1|0;break g}if((l|0)==(q|0)){break f}i=d+1|0}if((f|0)>=(i|0)){continue}break}i=0;break c}N[e+20>>2]=d;d=(d>>>0>=j>>>0?275552:k)+4|0}j=N[e+44>>2];i=0;if(!j){break c}f=(j+(N[d>>2]<<6)|0)+(m>>>3&56)|0;i=N[f>>2];j=N[f+4>>2];d=m&63;f=d&31;i=((d&63)>>>0>=32?j>>>f|0:((1<>>f)&1}if((i|0)!=O[e+48|0]){break b}e=N[b+16>>2];N[b+16>>2]=275552;f=N[b+8>>2];d=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=h-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,m);N[b+16>>2]=e;N[b+8>>2]=f;N[b+12>>2]=d;N[b+32>>2]=N[b+32>>2]+1;g=N[b+28>>2];e=O[g+12|0];if(O[g+48|0]){if(!e){break b}d=N[g+20>>2];f=N[g+28>>2];e=N[g+32>>2];if(!(d>>>0>>0&N[e+(d<<3)>>2]==(l|0))){if((f|0)<=0){break b}f=f-1|0;i=0;while(1){h:{d=f+i>>>1|0;j=N[e+(d<<3)>>2];i:{if((j|0)>(l|0)){f=d-1|0;break i}if((j|0)==(l|0)){break h}i=d+1|0}if((f|0)>=(i|0)){continue}break b}break}N[g+20>>2]=d}f=N[g+44>>2];if(!f){break b}e=N[(e+(d<<3)|0)+4>>2];N[g+16>>2]=-1;e=(f+(e<<6)|0)+(m>>>3&56)|0;f=N[e>>2];d=N[e+4>>2];t=e,u=ZE(-2,-1,m)&f,N[t>>2]=u;N[e+4>>2]=Pa&d;break b}if(!e){break b}N[g+16>>2]=-1;d=N[g+32>>2];j:{k:{e=N[g+20>>2];f=N[g+28>>2];if(e>>>0>=f>>>0){break k}e=(e<<3)+d|0;if(N[e>>2]!=(l|0)){break k}e=e+4|0;break j}e=N[g+40>>2];l:{m:{if((f|0)<=0){f=0;break m}i=f-1|0;f=0;while(1){j=f+i>>>1|0;h=N[(j<<3)+d>>2];n:{if((h|0)>(l|0)){i=j-1|0;break n}if((h|0)==(l|0)){f=j;break l}f=j+1|0}if((f|0)<=(i|0)){continue}break}}o:{p:{j=g+36|0;h=N[j>>2];q:{if((h|0)<0){break q}r:{s:{d=e;i=d+1|0;k=(i|0)>0?i:0;if(k>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(k>>>0>=h>>>0){continue}break}i=j;if(h>>>0>67108863){break s}d=$a(N[g+44>>2],h<<6);if(!d){break s}N[g+36>>2]=h;N[g+44>>2]=d;d=N[g+40>>2]}if(d>>>0>>0){G(N[g+44>>2]+(d<<6)|0,0,k-d<<6)}N[g+40>>2]=k;i=g+24|0;d=N[i>>2];if((d|0)<0){break r}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(k>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break s}h=$a(N[g+32>>2],d<<3);if(!h){break s}N[g+24>>2]=d;N[g+32>>2]=h}d=N[g+28>>2];if(d>>>0>>0){G(N[g+32>>2]+(d<<3)|0,0,k-d<<3)}N[g+28>>2]=k;d=N[g+44>>2]+(e<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=f<<3;j=d+N[g+32>>2]|0;B(j+8|0,j,N[g+28>>2]+(f^-1)<<3);if(Q[g+28>>2]>f>>>0){break p}N[147456]=0;N[147457]=0;d=589824;break o}N[i>>2]=-1}f=N[g+36>>2];if((f|0)<0){break q}e=N[g+28>>2];e=(e|0)>0?e:0;if(e>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(e>>>0>=f>>>0){continue}break}t:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break t}}N[j>>2]=-1;L[g+12|0]=0;break b}N[g+36>>2]=f;N[g+44>>2]=d}f=N[g+40>>2];if(f>>>0>>0){G(N[g+44>>2]+(f<<6)|0,0,e-f<<6)}N[g+40>>2]=e}L[g+12|0]=0;break b}d=d+N[g+32>>2]|0}N[d>>2]=l;N[d+4>>2]=e;d=N[g+32>>2]}N[g+20>>2]=f;e=((f<<3)+d|0)+4|0}f=N[g+44>>2];if(!f){break b}e=(f+(N[e>>2]<<6)|0)+(m>>>3&56)|0;j=N[e+4>>2];d=m&63;f=d&31;if((d&63)>>>0>=32){d=1<>>32-f;i=h}N[e>>2]=i|N[e>>2];N[e+4>>2]=d|j}o=o+1|0;if((r|0)!=(o|0)){continue}break}}n=n+2|0;p=p-1|0;if(p){continue}break}}}function PD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;o=La-16|0;La=o;a:{b:{c:{d:{m=N[b>>2];g=aq(m+28|0);a=N[g+4>>2];e:{if((a|0)==65536){b=258}else{if((a|0)!=131072){break e}a=N[g+8>>2];a=O[a|0]|O[a+1|0]<<8;if(!a){break e}b=(a<<8|a>>>8)&65535}k=d;if((k|0)<0){k=nb(c)}if(!k){break e}a=N[g+28>>2];f:{if(a){break f}a=kb(b<<1);g:{h:{if(b){if(!a){break e}f=0;if(b>>>0>=8){i=b&65528;while(1){M[(f<<1)+a>>1]=f;j=f|1;M[(j<<1)+a>>1]=j;j=f|2;M[(j<<1)+a>>1]=j;j=f|3;M[(j<<1)+a>>1]=j;j=f|4;M[(j<<1)+a>>1]=j;j=f|5;M[(j<<1)+a>>1]=j;j=f|6;M[(j<<1)+a>>1]=j;j=f|7;M[(j<<1)+a>>1]=j;f=f+8|0;if((i|0)!=(f|0)){continue}break}}i=b&7;if(i){while(1){M[(f<<1)+a>>1]=f;f=f+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}dj(a,b,g);f=N[g+28>>2];if(!f){break h}_a(a);a=f;break f}if(!a){break e}dj(a,0,g);f=N[g+28>>2];if(f){break g}}N[g+28>>2]=a;break f}_a(a);a=f}f=b-1|0;n=N[g+20>>2];q=N[g+16>>2];r=N[g+24>>2];j=N[g+8>>2];i=0;b=N[g+4>>2];s=(b|0)==131072;t=(b|0)!=65536;while(1){p=f+i|0;g=P[(p&-2)+a>>1];i:{if(!s){h=0;b=0;if(g>>>0>257|t){break i}b=g<<2;h=N[b+267632>>2];b=N[b+267636>>2]+(h^-1)|0;h=h+268668|0;break i}h=0;b=0;l=O[j|0]|O[j+1|0]<<8;if(g>>>0>=((l<<8|l>>>8)&65535)>>>0){break i}b=j+(g<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;l=(b<<8|b>>>8)&65535;if(l>>>0<=257){b=l<<2;h=N[b+267632>>2];b=N[b+267636>>2]+(h^-1)|0;h=h+268668|0;break i}b=0;l=l-258|0;if(l>>>0>=q>>>0){break i}b=N[n+(l<<2)>>2]+r|0;h=b+1|0;b=O[b|0]}if((b|0)!=(k|0)){b=k-b|0}else{b=Mb(c,h,k)}h=p>>>1|0;j:{if((b|0)<0){f=h-1|0;break j}if(!b){break d}i=h+1|0}if((f|0)>=(i|0)){continue}break}}g=N[m+64>>2];k:{if(g){break k}while(1){a=N[m>>2];if(!a){g=275552;break k}g=db(1,224);if(!g){g=275552;N[m+64>>2]=275552;break k}N[g+36>>2]=65536;Jg(g,a);N[g+220>>2]=0;if(!N[m+64>>2]){N[m+64>>2]=g;break k}Ke(g);_a(wf(g));g=N[m+64>>2];if(!g){continue}break}}b=0;if(!N[g+44>>2]|N[g+148>>2]!=-1){break a}if((d|0)<0){d=nb(c)}if(!d){break a}i=N[g+220>>2];if(i){break c}while(1){i=db(12,1);if(!i){N[g+220>>2]=0;break a}k=0;N[i+8>>2]=0;N[i>>2]=0;N[i+4>>2]=0;l:{m:{n:{f=N[g+216>>2];if(f){while(1){o:{p:{q:{r:{a=N[g+52>>2];if((a|0)!=275552){f=$p(a,k,f);break r}f=0;s:{switch(N[g+172>>2]){case 1:if(k>>>0>165){break q}f=P[(k<<1)+265824>>1];break r;case 2:if(k>>>0>86){break q}f=P[(k<<1)+266160>>1];break r;case 0:break s;default:break q}}f=k>>>0<229?k:0;break q}if(f>>>0<=390){break q}fd(o+4|0,N[g+64>>2],f-391|0);a=N[o+4>>2];if(!a){break p}m=N[o+8>>2];break o}h=f<<2;a=N[h+270528>>2];m=N[h+270532>>2]+(a^-1)|0;a=a+272096|0;break o}m=0;a=441572}t:{u:{v:{h=N[i>>2];if((h|0)>=0){n=N[i+4>>2];j=n+1|0;if(j>>>0<=h>>>0){l=N[i+8>>2];break u}while(1){h=((h>>>1|0)+h|0)+8|0;if(j>>>0>=h>>>0){continue}break}if(h>>>0<=268435455){l=$a(N[i+8>>2],h<<4);if(l){break v}}N[i>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;break t}N[i>>2]=h;N[i+8>>2]=l;n=N[i+4>>2];j=n+1|0}N[i+4>>2]=j;h=(n<<4)+l|0;M[h+12>>1]=f;N[h+8>>2]=0;N[h+4>>2]=m;N[h>>2]=a}f=N[g+216>>2];k=k+1|0;if(f>>>0>k>>>0){continue}break n}}f=0;if(!N[g+220>>2]){break m}break l}a=N[i+4>>2];if(a){_p(N[i+8>>2],a)}if(!N[g+220>>2]){break m}f=N[i+8>>2];break l}N[g+220>>2]=i;break c}_a(f);_a(i);i=N[g+220>>2];if(!i){continue}break}break c}N[e>>2]=g;break b}a=N[i+4>>2];if((a|0)<=0){break a}k=N[i+8>>2];f=a-1|0;i=0;w:{while(1){a=f+i>>>1|0;h=k+(a<<4)|0;b=N[h+4>>2];h=bb(c,N[h>>2],b>>>0>d>>>0?d:b);b=h?h:d-b|0;x:{if((b|0)<0){f=a-1|0;break x}if(!b){break w}i=a+1|0}if((f|0)>=(i|0)){continue}break}b=0;break a}a=P[(k+(a<<4)|0)+12>>1];b=N[g+52>>2];y:{z:{A:{if((b|0)!=275552){f=vf(b,a,N[g+216>>2]);break A}f=85;h=164;b=0;B:{switch(N[g+172>>2]){case 0:f=a;if(a>>>0<229){break A}break a;case 1:while(1){C:{c=b+h>>>1|0;d=P[(c<<2)+266336>>1];D:{if(d>>>0>a>>>0){h=c-1|0;break D}if((a|0)==(d|0)){break C}b=c+1|0}if((b|0)<=(h|0)){continue}break z}break};f=O[(c<<2)+266338|0];break A;case 2:break B;default:break z}}while(1){E:{c=b+f>>>1|0;d=P[(c<<2)+267008>>1];F:{if(d>>>0>a>>>0){f=c-1|0;break F}if((a|0)==(d|0)){break E}b=c+1|0}if((b|0)<=(f|0)){continue}break z}break}f=O[(c<<2)+267010|0]}if(f){break y}}f=0;b=0;if(a){break a}}N[e>>2]=f}b=1}La=o+16|0;return b|0}function Pl(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=La-16|0;La=m;h=8;a:{if(e>>>0>100){break a}b:{h=N[a+32>>2];if(!h){break b}i=N[a+40>>2];j=N[a+36>>2]+N[a+28>>2]|0;g=j;while(1){k=O[g+1|0]|O[g|0]<<8;if(!(k>>>0<=b>>>0&(O[g+3|0]|O[g+2|0]<<8)>>>0>=b>>>0)){g=g+8|0;h=h-1|0;if(h){continue}break b}break}h=8;g=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(g>>>0>i-j>>>0){break a}g=g+j|0;h=g+8|0;if(h>>>0>i>>>0){break b}j=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);n=O[g+2|0];o=O[g+3|0];c:{d:{e:{f:{g:{h:{l=O[g|0]|O[g+1|0]<<8;switch(((l<<8|l>>>8)&65535)-1|0){case 1:break g;case 0:break h;case 4:case 18:break d;case 3:break e;case 2:break f;default:break b}}h=h+(b-k<<2)|0;if(i>>>0>>0){break b}b=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);g=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if((b|0)!=(g|0)){break c}break b}if(i>>>0>>0){break b}N[m+12>>2]=g+12;h=O[g+11|0];l=O[g+10|0];p=O[g+9|0];g=O[g+8|0];if(wh(a,m+12|0,i)){break b}i=b-k|0;b=h|(p<<16|g<<24|l<<8);g=T(i,b);b=g+b|0;break c}h=h+(b-k<<1)|0;if(i>>>0>>0){break b}b=O[h+3|0]|O[h+2|0]<<8;g=O[h+1|0]|O[h|0]<<8;if((b|0)!=(g|0)){break c}break b}h=g+12|0;if(i>>>0>>0|i>>>0>>0){break b}g=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(k-1>>>0>=(i-h>>2)-1>>>0){break b}g=0;while(1){if((O[h+1|0]|O[h|0]<<8)==(b|0)){b=O[h+7|0]|O[h+6|0]<<8;g=O[h+3|0]|O[h+2|0]<<8;break c}h=h+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}break b}if(i>>>0>>0){break b}N[m+12>>2]=g+12;h=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);if(wh(a,m+12|0,i)){break b}g=N[m+12>>2];k=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);k=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);g=g+4|0;if(k-1>>>0>=i-g>>1>>>0){break b}i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);h=0;while(1){if((O[g+1|0]|O[g|0]<<8)!=(b|0)){g=g+2|0;h=h+1|0;if((k|0)!=(h|0)){continue}break b}break}g=T(h,i);b=i+g|0}if(b>>>0>>0){break b}l=o|n<<8;i=La-16|0;La=i;h=6;b=b-g|0;j=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))+g|0;i:{if(!b|Q[a+24>>2]>>0){break i}g=j+N[a+20>>2]|0;k=N[a+4>>2];j=N[k+20>>2];j:{if(j){h=85;if(!(Qa[j|0](k,g,0,0)|0)){break j}break i}h=85;if(g>>>0>Q[k+4>>2]){break i}}N[k+8>>2]=g;h=dc(k,b,i+8|0);if(h){break i}j=N[i+8>>2];N[i+12>>2]=j;n=b+j|0;h=7;k:{l:{m:{n:{o:{p:{q:{r:{switch(l-1|0){case 0:case 1:case 7:case 16:h=6;if((b|0)<5){break k}b=N[a+12>>2];M[b>>1]=O[j|0];M[b+2>>1]=O[j+1|0];M[b+4>>1]=L[j+2|0];M[b+6>>1]=L[j+3|0];h=O[j+4|0];M[b+14>>1]=0;M[b+10>>1]=0;M[b+12>>1]=0;M[b+8>>1]=h;L[a+16|0]=1;N[i+12>>2]=j+5;break q;case 18:break k;case 4:break p;case 5:case 6:case 8:case 17:break r;default:break l}}h=wh(a,i+12|0,n);if(h){break k}}o=187;h=7;s:{switch(l-1|0){case 16:case 17:break k;case 0:case 5:break m;case 8:break n;case 7:break o;case 4:break p;case 1:case 6:break s;default:break l}}h=N[a+12>>2];b=P[h>>1];g=P[h+2>>1];h=T(b,g+7>>>3|0);if(h>>>0<=T(b,g)+7>>>3>>>0){break p}if((h|0)==(n-N[i+12>>2]|0)){break m}}o=188;break m}h=0;b=N[i+12>>2]+1|0;if(b>>>0>n>>>0){break k}N[i+12>>2]=b}o=189}if(!O[a+17|0]){b=6;t:{if(!O[a+16|0]){break t}g=N[a+12>>2];b=P[g+2>>1];h=N[a+8>>2];l=P[g>>1];N[h>>2]=l;N[h+4>>2]=b;g=3;u:{v:{w:{x:{switch(O[a+18|0]-1|0){case 0:L[h+18|0]=1;b=b+7>>>3|0;g=2;break v;case 1:L[h+18|0]=3;b=b+3>>>2|0;g=4;break v;case 3:L[h+18|0]=4;b=b+1>>>1|0;g=16;break v;case 7:L[h+18|0]=2;break w;case 31:break x;default:break u}}L[h+18|0]=7;b=b<<2}g=256}M[h+16>>1]=g;N[h+8>>2]=b;g=0;if(f){break u}l=T(b,l);if(!l){break u}h=N[N[a>>2]+84>>2];b=N[N[h+4>>2]+100>>2];g=N[h+156>>2];p=N[g+4>>2];y:{if(p&1){g=N[h+88>>2];if(g){Qa[N[b+8>>2]](b,g)}N[h+88>>2]=0;break y}N[g+4>>2]=p|1}z:{if((l|0)<=0){b=6}else{b=Qa[N[b+4>>2]](b,l)|0;if(b){break z}b=64}N[h+88>>2]=0;break t}g=0;G(b,0,l);N[h+88>>2]=b;L[a+17|0]=1}b=g}h=b;if(h){break k}}h=0;if(f){break k}h=Qa[o|0](a,N[i+12>>2],n,c,d,e)|0;break k}h=8}if(!N[k+20>>2]|!j){break i}a=N[k+28>>2];Qa[N[a+8>>2]](a,j)}La=i+16|0;break a}h=e?21:157}La=m+16|0;return h}function Cs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=La-16|0;La=l;h=N[a+16>>2];d=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if(!e){break a}i=h+10|0;b:{while(1){d=e+f>>>1|0;g=i+T(d,11)|0;j=O[g+1|0]<<8|O[g|0]<<16|O[g+2|0];c:{if(j>>>0>c>>>0){e=d;break c}if(c>>>0<=j>>>0){break b}f=d+1|0}if(e>>>0>f>>>0){continue}break}f=0;break a}f=0;c=O[g+3|0]|O[g+4|0]<<8|(O[g+5|0]<<16|O[g+6|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=O[g+7|0]|O[g+8|0]<<8|(O[g+9|0]<<16|O[g+10|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!(c|d)){break a}d:{if(!c){c=d+h|0;d=O[c+3|0];f=O[c+2|0];g=O[c+1|0];i=O[c|0];e=N[a+28>>2];N[l+4>>2]=0;g=d|(g<<16|i<<24|f<<8);i=g+1|0;e:{if(i>>>0<=e>>>0){f=N[a+32>>2];break e}N[a+36>>2]=b;f=lb(b,4,e,i,N[a+32>>2],l+4|0);N[a+32>>2]=f;if(N[l+4>>2]){break d}N[a+28>>2]=i}f:{if(!g){break f}a=d&1;d=c+4|0;e=0;if((g|0)!=1){b=g-a|0;while(1){c=e<<2;N[c+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);N[(c|4)+f>>2]=O[d+7|0]|(O[d+6|0]<<8|O[d+5|0]<<16);d=d+10|0;e=e+2|0;if((b|0)!=(e|0)){continue}break}}if(!a){break f}N[(e<<2)+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16)}N[(g<<2)+f>>2]=0;break a}if(!d){f=Nl(a,c+h|0,b);break a}j=d+h|0;m=O[j+3|0];i=m|(O[j+1|0]<<16|O[j|0]<<24|O[j+2|0]<<8);h=c+h|0;c=O[h+3|0];g:{h:{n=c|(O[h+1|0]<<16|O[h|0]<<24|O[h+2|0]<<8);i:{if(n){k=c&3;f=h+7|0;g=0;j:{if(n>>>0<4){e=0;d=f;break j}o=n-k|0;e=0;c=0;while(1){e=(O[f+12|0]+(O[f+8|0]+(O[f+4|0]+(O[f|0]+e|0)|0)|0)|0)+4|0;d=f+16|0;f=d;c=c+4|0;if((o|0)!=(c|0)){continue}break}}if(k){while(1){e=(O[d|0]+e|0)+1|0;d=d+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if(!i){break i}if(e){break h}break g}if(i){break g}}f=Nl(a,h,b);break a}c=N[a+28>>2];N[l+12>>2]=0;d=(e+i|0)+1|0;k:{if(d>>>0<=c>>>0){f=N[a+32>>2];break k}N[a+36>>2]=b;f=lb(b,4,c,d,N[a+32>>2],l+12|0);N[a+32>>2]=f;if(N[l+12>>2]){break d}N[a+28>>2]=d}m=O[j+6|0]|(O[j+5|0]<<8|O[j+4|0]<<16);g=O[h+6|0]|(O[h+5|0]<<8|O[h+4|0]<<16);c=j+9|0;a=h+8|0;b=O[h+7|0];e=0;j=1;k=1;while(1){l:{if(b+g>>>0>>0){d=b+1|0;p=d&3;h=0;m:{if(b>>>0<3){d=0;break m}q=d&-4;d=0;while(1){o=(e<<2)+f|0;N[o>>2]=d+g;N[o+4>>2]=(d|1)+g;N[o+8>>2]=(d|2)+g;N[o+12>>2]=(d|3)+g;e=e+4|0;d=d+4|0;if((q|0)!=(d|0)){continue}break}}if(p){while(1){N[(e<<2)+f>>2]=d+g;d=d+1|0;e=e+1|0;h=h+1|0;if((p|0)!=(h|0)){continue}break}}j=j+1|0;if(n>>>0>>0){break l}g=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);b=O[a+3|0];a=a+4|0;continue}if(g>>>0>m>>>0){N[(e<<2)+f>>2]=m;e=e+1|0}k=k+1|0;if(i>>>0>>0){break l}m=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);c=c+5|0;continue}break}n:{if(i>>>0>=k>>>0){N[(e<<2)+f>>2]=m;e=e+1|0;if(i>>>0<=k>>>0){break n}while(1){N[(e<<2)+f>>2]=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);e=e+1|0;c=c+5|0;k=k+1|0;if(i>>>0>k>>>0){continue}break}break n}if(j>>>0>n>>>0){break n}d=b+1|0;c=d&3;h=0;o:{if(b>>>0<3){d=0;break o}i=d&-4;d=0;while(1){b=(e<<2)+f|0;N[b>>2]=d+g;N[b+4>>2]=(d|1)+g;N[b+8>>2]=(d|2)+g;N[b+12>>2]=(d|3)+g;e=e+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}if(c){while(1){N[(e<<2)+f>>2]=d+g;d=d+1|0;e=e+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}if(j>>>0>=n>>>0){break n}while(1){b=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);c=O[a+3|0];d=c+1|0;g=d&3;h=0;p:{if(c>>>0<3){d=0;break p}i=d&508;d=0;while(1){c=(e<<2)+f|0;N[c>>2]=b+d;N[c+4>>2]=b+(d|1);N[c+8>>2]=b+(d|2);N[c+12>>2]=b+(d|3);e=e+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}if(g){while(1){N[(e<<2)+f>>2]=b+d;d=d+1|0;e=e+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}a=a+4|0;j=j+1|0;if(n>>>0>j>>>0){continue}break}}N[(e<<2)+f>>2]=0;break a}c=N[a+28>>2];N[l+8>>2]=0;d=i+1|0;q:{if(d>>>0<=c>>>0){f=N[a+32>>2];break q}N[a+36>>2]=b;f=lb(b,4,c,d,N[a+32>>2],l+8|0);N[a+32>>2]=f;if(N[l+8>>2]){break d}N[a+28>>2]=d}a=m&1;d=j+4|0;e=0;if((i|0)!=1){b=i-a|0;while(1){c=e<<2;N[c+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);N[(c|4)+f>>2]=O[d+7|0]|(O[d+6|0]<<8|O[d+5|0]<<16);d=d+10|0;e=e+2|0;if((b|0)!=(e|0)){continue}break}}if(a){N[(e<<2)+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16)}N[(i<<2)+f>>2]=0;break a}f=0}La=l+16|0;return f|0}function tp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=T(b,1348)+a|0;k=N[c- -64>>2];p=N[c+56>>2];r=k+T(p,44)|0;u=1;a:{if((b|0)==1){if((p|0)<=0){break a}q=N[a+2748>>2];u=!O[N[(N[N[q>>2]+8>>2]<<2)+288704>>2]+12|0];s=a+2744|0;c=k;while(1){f=O[c+12|0];b:{if(f&4){break b}c:{d:{e:{f:{g:{e=N[c+20>>2];d=N[c+24>>2];h:{if(!e|!d){break h}g=N[d+20>>2];if(!g){break g}l=O[d+12|0];if(l&8){N[d+20>>2]=0;L[d+12|0]=l&247;e=N[c+20>>2];break h}if(!(f&8)){break g}e=0;N[c+20>>2]=0;L[c+12|0]=f&247}if(!d|e){break f}e=N[d+20>>2];if(!e){break b}e=N[e+8>>2];N[d+8>>2]=e;l=O[d+12|0]|4;L[d+12|0]=l;f=d;d=c;break d}e=N[e+8>>2];l=f|4;L[c+12|0]=l;N[c+8>>2]=e;break e}if(!e){break b}e=N[e+8>>2];N[c+8>>2]=e;l=O[c+12|0]|4;L[c+12|0]=l;if(!d){break c}g=N[d+20>>2]}f=c;if(g){break c}}f=N[f+4>>2];g=N[d+4>>2]-f|0;i=e-f|0;f=O[d+12|0];g=pf(N[s>>2],q,1,g,i,l&255,f);L[d+12|0]=f|4;N[d+8>>2]=e+g}h=h?h:c}c=c+44|0;if(r>>>0>c>>>0){continue}break}}if((p|0)>0){q=a+2748|0;s=a+2744|0;c=k;l=0;while(1){e=O[c+12|0];i:{if(e&4){break i}d=N[c+24>>2];if(!d){l=l+1|0;break i}if(N[d+20>>2]){a=N[d+4>>2];f=N[d+8>>2];a=pf(N[s>>2],N[q>>2],b,N[c+4>>2]-a|0,f-a|0,O[d+12|0],e);L[c+12|0]=e|4;N[c+8>>2]=a+f;break i}f=N[c+4>>2];if(!h){m=N[s>>2];n=N[q>>2];g=N[d+4>>2]-f|0;a=pf(m,n,b,g,0,e,O[d+12|0]);j:{if((a|0)<=95){h=f+(g>>1)|0;t=h+32&-64;o=(a|0)<65;j=t+(o?-32:-38)|0;v=h-j|0;i=v>>31;o=t|(o?32:26);t=h-o|0;h=t>>31;h=((a|0)/-2|0)+((i^v)-i>>>0<(h^t)-h>>>0?j:o)|0;N[c+8>>2]=h;N[d+8>>2]=a+h;h=N[c+8>>2];break j}h=f+32&-64;N[c+8>>2]=h}a=e|4;L[c+12|0]=a;w=d,x=pf(m,n,b,g,h-f|0,a,O[d+12|0])+h|0,N[w+8>>2]=x;h=c;break i}j=N[h+4>>2];i=N[h+8>>2];g=N[d+4>>2]-f|0;m=O[d+12|0];a=pf(N[s>>2],N[q>>2],b,g,0,e,m);k:{if(m&4){g=N[d+8>>2]-a|0;a=c;break k}j=i+(f-j|0)|0;f=j+(g>>1)|0;l:{if((a|0)<=95){i=f+32&-64;j=(a|0)<65;m=i+(j?-32:-38)|0;n=f-m|0;g=n>>31;j=i|(j?32:26);i=f-j|0;f=i>>31;f=(g^n)-g>>>0<(f^i)-f>>>0?m:j;a=(a|0)/2|0;N[c+8>>2]=f-a;g=a+f|0;break l}n=a>>>1|0;i=j+32|0;m=i&-64;o=n+(m-f|0)|0;j=o>>31;g=(g+i&-64)-a|0;i=g+(n-f|0)|0;f=i>>31;f=(j^o)-j>>>0<(f^i)-f>>>0?m:g;N[c+8>>2]=f;g=a+f|0}a=d}N[a+8>>2]=g;L[c+12|0]=e|4;L[d+12|0]=O[d+12|0]|4;if(c>>>0<=k>>>0){break i}a=N[c-36>>2];e=N[c+8>>2];m:{if(!u){if((a|0)<(e|0)){break m}break i}if((a|0)<=(e|0)){break i}}e=N[d+8>>2]-a|0;d=e>>31;if((d^e)-d>>>0<17){break i}N[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}j=(l|0)!=0}n:{if(b){break n}c=4;e=2;d=k;o:{switch(p-6|0){case 6:d=k+44|0;c=9;e=5;break;case 0:break o;default:break n}}e=T(e,44)+k|0;a=T(c,44)+k|0;f=(N[e+4>>2]<<1)-(N[d+4>>2]+N[a+4>>2]|0)|0;b=f>>31;if((b^f)-b>>>0>7){break n}b=N[a+8>>2];d=(N[e+8>>2]<<1)-N[d+8>>2]|0;N[a+8>>2]=d;b=b-d|0;a=N[a+24>>2];if(a){N[a+8>>2]=N[a+8>>2]-b}if((p|0)==12){N[k+360>>2]=N[k+360>>2]-b;N[k+492>>2]=N[k+492>>2]-b}b=T(c,44)+k|0;L[b+12|0]=O[b+12|0]|4;if(!a){break n}L[a+12|0]=O[a+12|0]|4}if(!(!h|j)|(p|0)<=0){break a}c=k;while(1){f=O[c+12|0];p:{if(f&4){break p}q:{r:{a=N[c+28>>2];if(!a){break r}d=N[a+4>>2];e=N[c+4>>2];g=d-e|0;b=g>>31;if((b^g)-b>>>0>79){break r}d=e+(N[a+8>>2]-d|0)|0;break q}d=c;if(!h){d=N[c+4>>2]+32&-64;h=c;break q}while(1){b=d;d=d-44|0;g=k>>>0>d>>>0;if(!(g|O[b-32|0]&4)){continue}break}e=c;s:{while(1){a=e;e=a+44|0;if(r>>>0<=e>>>0){break s}if(!(O[a+56|0]&4)){continue}break}if(c>>>0<=d>>>0|g|c>>>0>=e>>>0){break s}b=b-44|0;d=N[b+8>>2];e=N[a+48>>2];b=N[b+4>>2];if((e|0)==(b|0)){break q}d=jb(N[c+4>>2]-b|0,N[a+52>>2]-d|0,e-b|0)+d|0;break q}d=N[h+8>>2]+((N[c+4>>2]-N[h+4>>2]|0)+16&-32)|0}N[c+8>>2]=d;L[c+12|0]=f|4;t:{if(c>>>0<=k>>>0){break t}a=N[c-36>>2];u:{if(!u){if((a|0)<(d|0)){break u}break t}if((a|0)<=(d|0)){break t}}b=N[c+24>>2];if(!b){break t}e=N[b+8>>2]-a|0;b=e>>31;if((b^e)-b>>>0<17){break t}N[c+8>>2]=a;d=a}if(!(O[c+56|0]&4)|c+44>>>0>=r>>>0){break p}a=N[c+52>>2];v:{if(!u){if((a|0)>(d|0)){break v}break p}if((a|0)>=(d|0)){break p}}b=N[c+24>>2];if(!b){break p}d=N[b+8>>2]-N[c-36>>2]|0;b=d>>31;if((b^d)-b>>>0<17){break p}N[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}}}function jd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=U(0),j=0,k=0,l=0,m=U(0),n=0,o=U(0),p=0,q=0,r=0,s=0,t=0,u=U(0),v=U(0),w=0,x=U(0),y=0,z=0,A=0,B=0,C=0,D=0;a:{b:{e=N[a+8>>2];y=N[b+4>>2]-N[b>>2]|0;t=y+1|0;z=N[b+12>>2]-N[b+8>>2]|0;A=z+1|0;B=T(t,A);f=B<<4;if(e>>>0>>0){break b}c:{if(!(+(e>>>0)>=+(f>>>0)*1.3)){N[a+4>>2]=0;break c}e=N[a+4>>2]+1|0;N[a+4>>2]=e;if(e>>>0>9){break b}}G(N[a>>2],0,f);j=N[a>>2];break a}_a(N[a>>2]);j=db(1,f);N[a>>2]=j;N[a+4>>2]=0;N[a+8>>2]=j?f:0}d:{if(j){q=N[b+12>>2];n=N[b+4>>2];C=N[b+8>>2];D=N[b>>2];while(1){k=N[c+20>>2];e:{if((k|0)<(D|0)){break e}d=N[c+24>>2];if((d|0)<(C|0)){break e}s=N[c>>2];if(!s){break e}w=N[c+4>>2];if(!w|(n|0)<((k+s|0)-1|0)|((d+w|0)-1|0)>(q|0)){break e}h=N[c+16>>2];f=(h^-1)&255;if(!f|(w|0)<=0|(s|0)<=0){break e}e=N[c+8>>2];g=(e|0)>(s|0)?e:s;l=k-D|0;o=U(+(f|0)/255);u=U(+(h>>>24>>>0)/255);m=U(+((h>>>8&255)>>>0)/255);i=U(+((h>>>16&255)>>>0)/255);h=N[c+12>>2];r=T(d-C|0,t);d=0;f=0;while(1){k=l+r|0;e=0;while(1){p=(e+k<<4)+j|0;v=U(U(o*U(O[h+(e+f|0)|0]))/U(255));x=U(U(1)-v);R[p+12>>2]=U(R[p+12>>2]*x)+v;R[p>>2]=U(u*v)+U(R[p>>2]*x);R[p+4>>2]=U(i*v)+U(x*R[p+4>>2]);R[p+8>>2]=U(m*v)+U(x*R[p+8>>2]);e=e+1|0;if((s|0)!=(e|0)){continue}break}r=r+t|0;f=f+g|0;d=d+1|0;if((w|0)!=(d|0)){continue}break}}c=N[c+28>>2];if(c){continue}break}e=a+12|0;g=B<<2;h=g>>>0>Q[a+44>>2];l=O[a+48|0];f=h&!l;c=f?e:0;d=l?0:h?0:e;f:{g:{if(O[a+88|0]){break g}e=a+52|0;k=N[a+84>>2];if(k>>>0>=g>>>0){if(!(h|l)&k>>>0>=Q[d+32>>2]){break g}d=e;break g}if(!f|k>>>0>2]){break f}}e=c}h:{i:{if(O[a+128|0]){break i}f=a+92|0;c=N[a+124>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break i}d=f;break i}if(!e|c>>>0>2]){break h}}f=e}j:{k:{if(O[a+168|0]){break k}e=a+132|0;c=N[a+164>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break k}d=e;break k}if(!f|c>>>0>2]){break j}}e=f}l:{m:{if(O[a+208|0]){break m}f=a+172|0;c=N[a+204>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break m}d=f;break m}if(!e|c>>>0>2]){break l}}f=e}n:{o:{if(O[a+248|0]){break o}e=a+212|0;c=N[a+244>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break o}d=e;break o}if(!f|c>>>0>2]){break n}}e=f}p:{q:{if(O[a+288|0]){break q}f=a+252|0;c=N[a+284>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break q}d=f;break q}if(!e|c>>>0>2]){break p}}f=e}r:{s:{if(O[a+328|0]){break s}e=a+292|0;c=N[a+324>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break s}d=e;break s}if(!f|c>>>0>2]){break r}}e=f}t:{if(O[a+368|0]){break t}c=a+332|0;a=N[a+364>>2];if(a>>>0>=g>>>0){if(a>>>0>=Q[d+32>>2]?d:0){break d}d=c;break d}if(a>>>0>=Q[e+32>>2]?e:0){break t}e=c}if(d){break d}d=e;if(d){break d}rj(24777);return 0}ud(25084,44,1,588952);return 0}u:{v:{a=N[d+32>>2];if(a>>>0>>0){break v}w:{if(!(+(a>>>0)>=+(g>>>0)*1.3)){N[d+28>>2]=0;break w}a=N[d+28>>2]+1|0;N[d+28>>2]=a;if(a>>>0>9){break v}}G(N[d+24>>2],0,g);n=N[d+24>>2];break u}_a(N[d+24>>2]);n=db(1,g);N[d+24>>2]=n;N[d+28>>2]=0;N[d+32>>2]=n?g:0}if(!n){rj(24825);return 0}L[d+36|0]=1;l=0;if((y|z)>=0){r=0;while(1){g=0;while(1){a=g+l|0;e=a<<2;f=e+n|0;o=R[((a<<4)+j|0)+12>>2];if(o>U(.0035294117406010628)){a=o>2]/o);a=m>2]/o);e=uU(.0035294117406010628)?a?q:255:0);m=U(R[(h|8)+j>>2]/o);c=mU(.0035294117406010628)?e?q<<8:65280:0)|a;i=U(m*U(255));A:{if(U(V(i))U(.0035294117406010628)?c?e<<16:16711680:0)}else{a=0}N[f>>2]=a;a=(g|0)==(y|0);g=g+1|0;if(!a){continue}break}l=l+t|0;a=(r|0)==(z|0);r=r+1|0;if(!a){continue}break}}N[d>>2]=N[b>>2];a=N[b+8>>2];N[d+16>>2]=n;N[d+12>>2]=A;N[d+8>>2]=t;N[d+4>>2]=a;return d}function Vq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=275552;c=N[N[N[a+92>>2]+144>>2]>>2];c=c?c:275552;h=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[h|0]|O[h+1|0]<<8)!=256){break a}d=275552;c=O[h+8|0]|O[h+9|0]<<8;if(c){d=h+((c<<8|c>>>8)&65535)|0}c=O[d|0]|O[d+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break a}i=((c<<8|c>>>8)&65535)+d|0}p=N[a+136>>2];N[a+136>>2]=b;b=O[i+2|0]|O[i+3|0]<<8;b=b<<8|b>>>8;d=b&65535;l=N[a+140>>2];if(b&16){b=O[i+4|0]|O[i+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+i|0;b=O[b+6|0]|O[b+7|0]<<8;d=b<<24|b<<8&16711680|d}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;j=O[a+150|0];L[a+21|0]=j;c=N[a+132>>2];N[a+16>>2]=c;N[a+72>>2]=0;N[a+48>>2]=a;b=O[a+151|0];L[a+22|0]=b;h=a- -64|0;N[h>>2]=0;N[h+4>>2]=0;N[a+52>>2]=d;g=N[a+84>>2];h=(g|0)==1;L[a+20|0]=h;d=O[a+149|0];L[a+61|0]=1;L[a+60|0]=h|(d|0)!=0;N[a+56>>2]=-1;L[a+62|0]=b;e=O[i+4|0]|O[i+5|0]<<8;if(e){b=O[i|0]|O[i+1|0]<<8;h=(b<<8|b>>>8)&65535;m=i+4|0;n=(e<<8|e>>>8)&65535;q=n>>>0<=1?1:n;b=0;o=1;while(1){c=O[m|0]|O[m+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+m|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+i|0}else{c=275552}d=h;b:{while(1){c:{g=0;if((d|0)!=7){d:{switch(d-1|0){case 0:e:{f:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break b}}g=gk(c,a);break b}g=fk(c,a);break b;case 1:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];d=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)==-1){break b}e=((d<<1)+c|0)+6|0;f=d;d=O[c+4|0]|O[c+5|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:e;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+c|0}else{d=275552}lk(d,a);g=1;break b;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];d=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)==-1){break b}e=((d<<1)+c|0)+6|0;f=d;d=O[c+4|0]|O[c+5|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:e;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+c|0}else{d=275552}g=kk(d,a);break b;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];e=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((e|0)==-1){break b}d=275552;k=((e<<1)+c|0)+6|0;f=e;e=O[c+4|0]|O[c+5|0]<<8;e=f>>>0>=((e<<8|e>>>8)&65535)>>>0?275552:k;e=O[e|0]|O[e+1|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+c|0}c=O[d|0]|O[d+1|0]<<8;if(!c){break b}k=(c<<8|c>>>8)&65535;j=k>>>0<=1?1:k;c=0;g=1;while(1){e=O[d|0]|O[d+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=c>>>0?275552:((c<<1)+d|0)+2|0;e=O[e|0]|O[e+1|0]<<8;if(e){f=((e<<8|e>>>8)&65535)+d|0}else{f=275552}if(jk(f,a)){break b}c=c+1|0;g=k>>>0>c>>>0;if((c|0)!=(j|0)){continue}break};break b;case 4:g=Kj(c,a);break b;case 7:break c;case 5:break d;default:break b}}g:{h:{i:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break g;case 1:break h;case 0:break i;default:break b}}g=Jj(a,c);break b}g=Kf(c,a,0);break b}g=bh(c,a);break b}if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;d=(d<<8|d>>>8)&65535;e=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}continue}break}if((O[c|0]|O[c+1|0]<<8)!=256){break b}g=ik(c,a)}if(!(g&1)){b=b+1|0;o=n>>>0>b>>>0;if((b|0)!=(q|0)){continue}}break}d=O[a+149|0];c=N[a+132>>2];j=O[a+150|0];g=N[a+84>>2];b=O[a+151|0]}N[a+140>>2]=l;N[a+136>>2]=p;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;L[a+21|0]=j;N[a+12>>2]=l;N[a+72>>2]=0;L[a+22|0]=b;N[a+16>>2]=c;N[a+64>>2]=0;N[a+68>>2]=0;L[a+61|0]=1;N[a+52>>2]=l;L[a+62|0]=b;N[a+56>>2]=-1;b=(g|0)==1;L[a+20|0]=b;L[a+60|0]=b|(d&255)!=0;N[a+8>>2]=a;N[a+48>>2]=a;return o|0}function Kg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a+20>>2]=0;N[a+24>>2]=0;if(N[b+32>>2]==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[b+32>>2]=(c<<8|c>>>8)&65535}c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1986884728,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}if(N[c+16>>2]<0){break b}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+20>>2]=c;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];d:{if(c){g=Qa[c|0](b,1448493394,N[b+16>>2])|0;if(g){break d}}g=275552}c=N[g>>2];if(c){if((c|0)<=0){break c}N[g>>2]=c+1}L[e+28|0]=0;N[e+36>>2]=g;c=N[g+12>>2];N[e+8>>2]=c;d=N[g+16>>2];N[e+12>>2]=d+c;if((d|0)<0){break b}N[e+32>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[e+16>>2]=d;N[e+24>>2]=0;N[e+4>>2]=0;d=g;e:{f:{if(!c){break f}g:{h:{i:{j:{k:{l:{m:{f=e+4|0;if(!Ge(c,f)){break m}d=c+20|0;if(d>>>0>2]){break m}h=N[e+12>>2];if(h>>>0>>0|h-d>>>0<4){break m}h=N[e+16>>2]-4|0;N[e+16>>2]=h;if((h|0)<=0){break m}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break i}if(d&128){break m}if(Dd((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0,f)){break i}d=N[e+32>>2];if(d>>>0>31){break l}N[e+32>>2]=d+1;if(!O[e+28|0]){break k}break j}if(O[e+28|0]|!N[e+32>>2]){break h}break k}if(!O[e+28|0]){break k}break h}if(!zb(g)){break h}while(1){L[e+28|0]=1;d=N[e+36>>2];c=N[d+12>>2];N[e+8>>2]=c;f=N[d+16>>2];N[e+12>>2]=f+c;if((f|0)<0){break b}N[e+32>>2]=0;if(f>>>0>67108863){f=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}N[e+16>>2]=f;N[e+24>>2]=0;N[e+4>>2]=0;if(!c){break f}n:{o:{p:{f=e+4|0;if(!Ge(c,f)){break p}d=c+20|0;if(d>>>0>2]){break p}h=N[e+12>>2];if(h>>>0>>0|h-d>>>0<4){break p}h=N[e+16>>2]-4|0;N[e+16>>2]=h;if((h|0)<=0){break p}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break i}if(d&128){break p}if(Dd((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0,f)){break i}d=N[e+32>>2];if(d>>>0>31){break o}N[e+32>>2]=d+1;if(!O[e+28|0]){break n}break j}if(!N[e+32>>2]){break h}if(!O[e+28|0]){break n}break h}if(O[e+28|0]){break h}}c=zb(g);N[e+8>>2]=c;N[e+12>>2]=c+N[g+16>>2];if(c){continue}break}break h}L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0}q:{if(N[e+32>>2]){f=0;N[e+32>>2]=0;r:{if(!Ge(c,e+4|0)){break r}d=c+20|0;if(d>>>0>2]){break r}h=N[e+12>>2];if(h>>>0>>0|h-d>>>0<4){break r}h=N[e+16>>2]-4|0;N[e+16>>2]=h;if((h|0)<=0){break r}h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!h){f=1;break r}if(h&128){break r}f=1;if(Dd((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+c|0,e+4|0)){break r}c=N[e+32>>2];if(c>>>0>31){break h}N[e+32>>2]=c+1;if(!O[e+28|0]){break h}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}if(N[e+32>>2]){break h}ab(N[e+36>>2]);if(f){break q}break g}ab(N[e+36>>2])}if(!N[g+4>>2]){break e}N[g+4>>2]=0;break e}ab(N[e+36>>2])}ab(g);g=275552;break e}ab(d)}N[a+24>>2]=g;c=N[b+28>>2];if(!c){c=$d(b+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;c=c-16>>>0>=16369?1e3:c;N[b+28>>2]=c}N[a+16>>2]=c;c=N[a+20>>2];d=N[(c?c:275552)+16>>2];c=wc(b+92|0);c=O[c+34|0]|O[c+35|0]<<8;c=(c<<8|c>>>8)&65535;f=c<<2;g=d&-2;if(f>>>0>g>>>0){f=d&-4;c=d>>>2|0}N[a>>2]=c;h=b+56|0;c=sb(h);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[a+4>>2]=c;g=g-f|0;f=N[a>>2];d=f;s:{if(c>>>0>=d>>>0){if(g>>>0>=c-d<<1>>>0){break s}d=(g>>>1|0)+d|0}N[a+4>>2]=d;c=d}d=(f+(g>>>1|0)|0)-c&2147483647;if(!f){N[a>>2]=0;N[a+4>>2]=0;c=0}c=c+d|0;N[a+8>>2]=c;g=N[b+32>>2];if((g|0)==-1){d=b;b=sb(h);b=O[b+4|0]|O[b+5|0]<<8;g=(b<<8|b>>>8)&65535;N[d+32>>2]=g;c=N[a+8>>2]}N[a+12>>2]=c>>>0>>0?g:c;La=e+48|0;return a}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}function nB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=La-2192|0;La=h;G(h+144|0,0,2048);G(h- -64|0,0,68);a:{b:{c:{if(d){y=T(d,40)+c|0;while(1){d=N[c+32>>2];if(d>>>0>=2048){break c}i=N[c+36>>2];if(i-1>>>0>=2048){break b}if(d>>>0>i>>>0){break a}k=h- -64|0;n=d>>>6|0;l=n+1|0;f=k+(l<<1)|0;s=f;x=P[f>>1];g=N[c+20>>2];f=g<<2&4;j=N[c+24>>2]?f:g&4?f^4:f;g=g&2;m=g?j:f;o=d&63;M[s>>1]=x-T(m,o);p=k+(n<<1)|0;M[p>>1]=P[p>>1]+T(m,o|65472);u=i>>>6|0;k=k+(u<<1)|0;f=g?f:j;q=i&63;M[k+2>>1]=P[k+2>>1]+T(f,q);M[k>>1]=P[k>>1]+T(f,64-q|0);d:{if((d|0)==(i|0)){break d}f=N[c>>2];p=N[c+4>>2];j=N[c+12>>2];s=j>>31;i=N[c+16>>2];d=N[c+8>>2];M[h>>1]=0;m=i>>31;TE(i,m,d,d>>31);k=Pa+262144|0;d=k>>31;g=k>>19;k=d;M[h+2>>1]=g;M[h+62>>1]=T(g,31);M[h+60>>1]=T(g,30);M[h+58>>1]=T(g,29);M[h+56>>1]=T(g,28);M[h+54>>1]=T(g,27);M[h+52>>1]=T(g,26);M[h+50>>1]=T(g,25);M[h+48>>1]=T(g,24);M[h+46>>1]=T(g,23);M[h+44>>1]=T(g,22);M[h+42>>1]=T(g,21);M[h+40>>1]=T(g,20);M[h+38>>1]=T(g,19);M[h+36>>1]=T(g,18);M[h+34>>1]=T(g,17);M[h+32>>1]=g<<4;M[h+30>>1]=T(g,15);M[h+28>>1]=T(g,14);M[h+26>>1]=T(g,13);M[h+24>>1]=T(g,12);M[h+22>>1]=T(g,11);M[h+20>>1]=T(g,10);M[h+18>>1]=T(g,9);M[h+16>>1]=g<<3;M[h+14>>1]=T(g,7);M[h+12>>1]=T(g,6);M[h+10>>1]=T(g,5);M[h+8>>1]=g<<2;M[h+6>>1]=T(g,3);M[h+4>>1]=g<<1;TE(i,m,j,s);j=Pa+262144|0;s=j;t=j>>19;d=t>>31;v=(d^t)-d|0;d=g>>31;r=(d^g)-d|0;d=p<<20|f>>>12;j=d>>31;TE(i,m,d,j);i=Pa+4096>>>13|0;f=(k&1)<<31|g>>>1;d=f+T(n,t)|0;d=i-d|0;i=d;e:{if(!o){l=n;break e}g=(h+144|0)+(n<<6)|0;if((n|0)==(u|0)){d=q-o|0;f=(d<<3)-r|0;f=((f<<16>>31&f)<<5)+16384<<16>>16;k=T(t,o+q|0)<<9>>16;j=T(d,v)<<10>>16;j=(((j|0)<(r|0)?j:r)<<14)+32768>>16;n=d-(T(f,k-j|0)>>>16|0)|0;k=d-(T(f,k+j|0)>>>16|0)|0;d=d<<1;j=i<<16>>16;i=0;while(1){l=i<<1;m=l+g|0;o=m;s=P[m>>1];l=T(f,j-M[h+l>>1]|0)>>16;m=l+k<<16>>16;m=(m|0)>0?m:0;l=n+l<<16>>16;l=(l|0)>0?l:0;M[o>>1]=s+(((d|0)>(m|0)?m:d)+((d|0)>(l|0)?l:d)|0);i=i+1|0;if((i|0)!=32){continue}break}break d}f=64-o|0;k=(f<<3)-r|0;k=((k<<16>>31&k)<<5)+16384<<16>>16;j=T(t,o<<9|32768)>>16;n=T(f,v)>>>6&65535;n=(((n|0)<(r|0)?n:r)<<14)+32768>>>16|0;m=f-(T(k,j-n|0)>>>16|0)|0;j=f-(T(k,j+n|0)>>>16|0)|0;f=f<<1;n=i<<16>>16;i=0;while(1){p=i<<1;o=p+g|0;x=o;z=P[o>>1];p=T(k,n-M[h+p>>1]|0)>>16;o=p+j<<16>>16;o=(o|0)>0?o:0;p=m+p<<16>>16;p=(p|0)>0?p:0;M[x>>1]=z+(((f|0)>(o|0)?o:f)+((f|0)>(p|0)?p:f)|0);i=i+1|0;if((i|0)!=32){continue}break}i=d-t|0}if((l|0)<(u|0)){d=256-(s>>20)|0;f=((r>>>0>>0?r:v)<<14)+32768>>>16|0;k=d-f|0;f=d+f|0;while(1){g=i&65535;d=0;while(1){j=d<<1;n=j+((h+144|0)+(l<<6)|0)|0;m=n;o=P[n>>1];j=g-P[h+j>>1]|0;n=j+f<<16>>16;n=(n|0)>0?n:0;j=k+j<<16>>16;j=(j|0)>0?j:0;M[m>>1]=o+((n>>>0>=512?512:n)+(j>>>0>=512?512:j)>>>2|0);d=d+1|0;if((d|0)!=32){continue}break}i=i-t|0;l=l+1|0;if((u|0)!=(l|0)){continue}break}}if(!q){break d}d=T(q,t)<<9>>16;f=T(q,v)>>>6&65535;k=(((f|0)<(r|0)?f:r)<<14)+32768>>>16|0;f=(q<<3)-r|0;f=((f<<16>>31&f)<<5)+16384<<16>>16;g=q-(T(d-k|0,f)>>>16|0)|0;k=q-(T(f,d+k|0)>>>16|0)|0;d=q<<1;j=(h+144|0)+(u<<6)|0;n=i<<16>>16;i=0;while(1){l=i<<1;m=l+j|0;o=m;s=P[m>>1];l=T(f,n-M[h+l>>1]|0)>>16;m=l+k<<16>>16;m=(m|0)>0?m:0;l=g+l<<16>>16;l=(l|0)>0?l:0;M[o>>1]=s+(((d|0)>(m|0)?m:d)+((d|0)>(l|0)?l:d)|0);i=i+1|0;if((i|0)!=32){continue}break}}c=c+40|0;if((y|0)!=(c|0)){continue}break}}i=e<<8;while(1){i=P[(h- -64|0)+(w<<1)>>1]+i|0;d=0;while(1){e=(h+144|0)+(w<<6)|0;f=P[e+(d<<1)>>1]+i|0;c=f<<16>>16>>15;c=(c^f)-c<<16>>16;L[a+d|0]=(c|0)>=255?255:c;f=d|1;e=P[e+(f<<1)>>1]+i|0;c=e<<16>>16>>15;c=(c^e)-c<<16>>16;L[a+f|0]=(c|0)>=255?255:c;d=d+2|0;if((d|0)!=32){continue}break}a=a+b|0;w=w+1|0;if((w|0)!=32){continue}break}La=h+2192|0;return}ba(19659,14460,146,17908);F()}ba(19608,14460,147,17908);F()}ba(8129,14460,148,17908);F()}function to(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;i=La+-64|0;La=i;a:{b:{if(!N[b+20>>2]){break b}c:{if(!(d>.001|e>.001)){break c}uo(i+40|0,d);d:{if(d==e){f=N[i+60>>2];N[i+32>>2]=N[i+56>>2];N[i+36>>2]=f;f=N[i+52>>2];N[i+24>>2]=N[i+48>>2];N[i+28>>2]=f;f=N[i+44>>2];N[i+16>>2]=N[i+40>>2];N[i+20>>2]=f;break d}uo(i+16|0,e)}l=N[b+12>>2];s=N[i+20>>2];j=N[i+16>>2];o=((l+((s<<1)+9<>2]-1|0;r=1<>31;g=N[b+8>>2];t=N[i+44>>2];p=N[i+40>>2];u=(g+((t<<1)+9<>>0>m>>>0?q+1|0:q;f=0-r|0;f=TE(h,0,f&m-1,q-!m&f>>31);h=Pa;if(!h&f>>>0>536870911|h){break c}h=f<<2;q=2<>>0>=-5-q>>>0){break c}m=kb((h+q|0)+3|0);if(!m){break c}h=m+4|0;k=h&q-1;h=(k?q-k|0:0)+h|0;r=h-4|0;N[r>>2]=m;Qa[N[a+40>>2]](h,N[b+20>>2],N[b+16>>2],g,l);f=h+(f<<1)|0;N[i+12>>2]=f;N[i+8>>2]=h;e:{if((j|0)<=0){f=h;break e}f:{if((j|0)==1){break f}q=j&1;m=j&-2;while(1){Qa[N[a+52>>2]](f,h,g,l);k=l+5>>>1|0;Qa[N[a+52>>2]](h,f,g,k);l=k+5>>>1|0;n=n+2|0;if((m|0)!=(n|0)){continue}break}n=0;if(q){break f}f=h;break e}Qa[N[a+52>>2]](f,h,g,l);n=1;l=l+5>>>1|0}g:{if((p|0)<=0){break g}h:{if((p|0)==1){h=n^1;break h}q=p&1;m=p&-2;h=i+8|0;k=h+(n<<2)|0;p=h;h=n^1;p=N[p+(h<<2)>>2];j=0;while(1){Qa[N[a+48>>2]](p,f,g,l);f=N[k>>2];g=g+5>>>1|0;Qa[N[a+48>>2]](f,p,g,l);g=g+5>>>1|0;j=j+2|0;if((m|0)!=(j|0)){continue}break}if(!q){break g}}Qa[N[a+48>>2]](N[(i+8|0)+(h<<2)>>2],f,g,l);g=g+5>>>1|0;n=h}m=t-4|0;if(m>>>0>=5){ba(21483,18088,210,11853);F()}f=i+8|0;k=N[f+((n^1)<<2)>>2];h=N[f+(n<<2)>>2];Qa[N[((m<<2)+a|0)- -64>>2]](k,h,g,l,i+48|0);i:{f=s-4|0;if(f>>>0<5){g=(N[i+44>>2]<<1)+g|0;Qa[N[((f<<2)+a|0)+84>>2]](h,k,g,l,i+24|0);l=(N[i+20>>2]<<1)+l|0;if(N[i+40>>2]<=0){f=h;break i}j=0;while(1){n=n^1;f=N[(i+8|0)+(n<<2)>>2];Qa[N[a+56>>2]](f,h,g,l);g=(g<<1)+4|0;h=f;j=j+1|0;if((j|0)>2]){continue}break}break i}ba(21442,18088,214,11853);F()}j=N[i+16>>2];if((j|0)>0){h=0;while(1){n=n^1;k=N[(i+8|0)+(n<<2)>>2];Qa[N[a+60>>2]](k,f,g,l);l=(l<<1)+4|0;f=k;h=h+1|0;j=N[i+16>>2];if((h|0)<(j|0)){continue}break}}if((g|0)!=(v|0)|(l|0)!=(o|0)){break a}g=1<>2];f=0-g|0;l=f>>>0>>0?v:f&(g+u|0)-5;j:{if(l>>>0>((g^2147483647)>>>0)/(((o|0)<=1?1:o)>>>0)>>>0){break j}f=g+T(l,o)|0;if(f>>>0>=-5-g>>>0){break j}m=N[b+20>>2];k=kb((f+g|0)+3|0);if(!k){break j}f=k+4|0;h=f&g-1;g=(h?g-h|0:0)+f|0;N[g-4>>2]=k;N[b+20>>2]=g;N[b+16>>2]=l;N[b+12>>2]=o;N[b+8>>2]=v;if(m){_a(N[m-4>>2]);l=N[b+16>>2];j=N[i+16>>2];g=N[b+20>>2]}N[b>>2]=(N[b>>2]+(-4-N[i+44>>2]<>2])|0)+4;N[b+4>>2]=(N[b+4>>2]+(-4-N[i+20>>2]<>2]](g,l,N[(i+8|0)+(n<<2)>>2],v,o)}_a(N[r>>2])}if(!c){break b}t=N[b+16>>2];f=t<<2;k=1<>2];if(f>>>0>=-5-k>>>0){break b}g=kb((f+k|0)+3|0);if(!g){break b}f=g+4|0;h=f&k-1;u=(h?k-h|0:0)+f|0;m=u-4|0;N[m>>2]=g;j=N[b+20>>2];p=N[b+12>>2];o=N[b+8>>2];r=c-1|0;k:{if(!r){break k}n=(o|0)>0&(p|0)>0;if(n){k=o&-2;h=o&1;s=0;while(1){q=T(s,t);g=0;f=0;l:{if((o|0)!=1){while(1){b=j+(g+q|0)|0;L[b|0]=(O[b|0]>>>1|0)+1>>>1;b=j+((g|1)+q|0)|0;L[b|0]=(O[b|0]>>>1|0)+1>>>1;g=g+2|0;if((k|0)!=(g|0)){continue}break}f=g;if(!h){break l}}b=j+(f+q|0)|0;L[b|0]=(O[b|0]>>>1|0)+1>>>1}s=s+1|0;if((p|0)!=(s|0)){continue}break}}if(r&1){Qa[N[a+36>>2]](j,t,o,p,u);r=c-2|0}if((c|0)!=2){while(1){Qa[N[a+36>>2]](j,t,o,p,u);Qa[N[a+36>>2]](j,t,o,p,u);r=r-2|0;if(r){continue}break}}if(!n){break k}h=o&-2;c=o&1;s=0;while(1){k=T(s,t);g=0;f=0;m:{if((o|0)!=1){while(1){b=j+(g+k|0)|0;f=O[b|0];L[b|0]=(f<<2)-(f>>>0>32);b=j+(k+(g|1)|0)|0;f=O[b|0];L[b|0]=(f<<2)-(f>>>0>32);g=g+2|0;if((h|0)!=(g|0)){continue}break}f=g;if(!c){break m}}b=j+(f+k|0)|0;f=O[b|0];L[b|0]=(f<<2)-(f>>>0>32)}s=s+1|0;if((p|0)!=(s|0)){continue}break}}Qa[N[a+36>>2]](j,t,o,p,u);_a(N[m>>2])}La=i- -64|0;return}ba(14404,18088,228,11853);F()}function Cc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=N[a+44>>2];a:{if(N[a+24>>2]|!d){break a}N[a+44>>2]=N[d+32>>2];h=N[a+4>>2];N[d+32>>2]=0;N[d+4>>2]=h;b:{c:{d:{g=N[d>>2];if(h>>>0>=g>>>0){m=N[a+16>>2];N[a+16>>2]=0;N[a+4>>2]=m?m:g;if((g|0)==(h|0)){if(N[d+12>>2]){break d}if(!N[d+24>>2]){break a}ba(13913,14296,357,13772);F()}j=h-g|0;if(!b){break b}if(j>>>0<=3){break c}f=4;while(1){c=e+g|0;i=T(i,31)+(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))|0;c=f;e=c;f=c+4|0;if(j>>>0>=f>>>0){continue}break}break c}ba(13248,14296,348,13772);F()}ba(13940,14296,356,13772);F()}e:{if(c>>>0>=j>>>0){break e}k=(h+(c^-1)|0)-g|0;h=j&3;if(h){f=0;e=c;while(1){i=L[e+g|0]+T(i,31)|0;e=e+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}c=c|h}if(k>>>0<3){break e}while(1){e=c+g|0;i=T(T(T(L[e|0]+T(i,31)|0,31)+L[e+1|0]|0,31)+L[e+2|0]|0,31)+L[e+3|0]|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}}h=N[d+16>>2];c=0;l=N[d+12>>2];k=T(l,12);f:{if(!k){f=0;break f}e=4;f=0;while(1){c=c+h|0;f=T(f,31)+(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))|0;c=e;e=c+4|0;if(k>>>0>=e>>>0){continue}break}}if(c>>>0>>0){while(1){f=L[h+(c|3)|0]+T(L[h+(c|2)|0]+T(L[h+(c|1)|0]+T(L[c+h|0]+T(f,31)|0,31)|0,31)|0,31)|0;c=c+4|0;if((k|0)!=(c|0)){continue}break}}f=f^i;c=275552;g:{if(!N[a+88>>2]){break g}i=Af(a+60|0,d,f);if((N[i+4>>2]&-1073741824)!=1073741824){break g}e=N[i>>2];o=N[e+4>>2];n=N[e>>2];if((j|0)!=(o-n|0)|N[e+12>>2]!=(l|0)){break g}if((n|0)!=(o|0)){if(Mb(n,g,j)){break g}}if(k){if(Mb(N[e+16>>2],h,k)){break g}}c=i+8|0}h=N[c>>2];if(!h){break b}h:{if(h>>>0>=Q[a+52>>2]){N[147456]=0;a=589824;break h}a=N[a+56>>2]+(h<<2)|0}b=N[d+24>>2];i:{if(!b){break i}c=N[d+28>>2];e=T(b,12);j=c+e|0;b=N[a>>2];f=N[b+20>>2];if((f|0)<0){b=e-12|0;a=((b>>>0)/12|0)+1&3;if(a){f=T(a,12);e=0;while(1){N[147456]=0;N[147457]=0;N[147458]=0;e=e+1|0;if((a|0)!=(e|0)){continue}break}c=c+f|0}if(b>>>0<36){break i}while(1){N[147456]=0;N[147457]=0;N[147458]=0;c=c+48|0;if((j|0)!=(c|0)){continue}break}break i}while(1){j:{k:{l:{if((f|0)>=0){g=N[b+24>>2];i=g+1|0;if(i>>>0<=f>>>0){a=N[b+28>>2];break k}while(1){f=((f>>>1|0)+f|0)+8|0;if(i>>>0>=f>>>0){continue}break}if(f>>>0<=357913941){a=$a(N[b+28>>2],T(f,12));if(a){break l}}N[b+20>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;break j}N[b+20>>2]=f;N[b+28>>2]=a;g=N[b+24>>2];i=g+1|0}N[b+24>>2]=i;e=N[c+4>>2];a=T(g,12)+a|0;N[a>>2]=N[c>>2];N[a+4>>2]=e;N[a+8>>2]=N[c+8>>2]}c=c+12|0;if((j|0)!=(c|0)){f=N[b+20>>2];continue}break}l=N[d+12>>2]}if(l){N[d+12>>2]=0}_a(N[d+16>>2]);N[d+16>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if(N[d+24>>2]){N[d+24>>2]=0}_a(N[d+28>>2]);N[d+28>>2]=0;N[d+20>>2]=0;N[d+24>>2]=0;return h}c=N[a+8>>2]-j|0;N[a+8>>2]=c;m:{if(m){if((c|0)==(g|0)){break m}ba(16968,14296,377,13772);F()}B(c,g,j);g=N[a+8>>2]}N[d>>2]=g;N[d+4>>2]=g+j;n:{o:{p:{q:{r:{c=N[a+48>>2];if((c|0)>=0){i=N[a+52>>2];e=i+1|0;if(e>>>0<=c>>>0){break q}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){g=$a(N[a+56>>2],c<<2);if(g){break r}}N[a+48>>2]=-1}N[147456]=0;if(N[a+24>>2]){break o}N[a+24>>2]=1;break o}N[a+48>>2]=c;N[a+56>>2]=g;i=N[a+52>>2];e=i+1|0;break p}g=N[a+56>>2]}N[a+52>>2]=e;N[(i<<2)+g>>2]=d;if(!N[a+24>>2]){break n}}if(N[d+12>>2]){N[d+12>>2]=0}_a(N[d+16>>2]);N[d+16>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if(N[d+24>>2]){N[d+24>>2]=0}_a(N[d+28>>2]);N[d+28>>2]=0;N[d+20>>2]=0;N[d+24>>2]=0;return 0}c=N[a+52>>2]-1|0;s:{if(!b|!(L[a+72|0]&1)){break s}b=a+60|0;e=N[a+76>>2];if(Q[a+80>>2]<=(e>>>1|0)+e>>>0){if(!Qg(b)){break s}}b=Af(b,d,f);t:{if(!(O[b+7|0]&64)){break t}N[a+76>>2]=N[a+76>>2]-1;if(N[b+4>>2]<0){break t}N[a+72>>2]=N[a+72>>2]-2}N[b+8>>2]=c;N[b>>2]=d;N[b+4>>2]=f&1073741823|1073741824;N[a+76>>2]=N[a+76>>2]+1;N[a+72>>2]=N[a+72>>2]+2}if(N[a+24>>2]|N[a+72>>2]&1){break a}N[a+24>>2]=1}return c}function Um(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-16|0;La=g;l=N[a+28>>2];f=N[a+20>>2];a:{b:{if(f){e=85;if(Qa[f|0](a,c,0,0)|0){break a}h=N[a+4>>2];break b}e=85;h=N[a+4>>2];if(h>>>0>>0){break a}}N[a+8>>2]=c;c:{d:{e:{if(c+1>>>0>=h>>>0){break e}f=N[a+20>>2];f:{if(f){e=g+12|0;if((Qa[f|0](a,c,e,2)|0)!=2){break e}f=N[a+8>>2];break f}f=N[a>>2];if(!f){break d}e=c+f|0;f=c}i=O[e|0]|O[e+1|0]<<8;j=f+2|0;N[a+8>>2]=j;e=8;if(((i<<8|i>>>8)&65535)!=1){break a}g:{h:{i:{if(Q[a+4>>2]<=f+5>>>0){break i}i=N[a+20>>2];j:{if(i){f=g+12|0;if((Qa[i|0](a,j,f,4)|0)!=4){break i}j=N[a+8>>2];break j}f=N[a>>2];if(!f){break h}f=f+j|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);i=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break g}e=85;break a}i=0}h=j+4|0;N[a+8>>2]=h;N[g+8>>2]=0;k:{if(Q[a+4>>2]<=j+5>>>0){break k}f=N[a+20>>2];if(f){e=g+12|0;if((Qa[f|0](a,h,e,2)|0)!=2){break k}h=N[a+8>>2];break c}f=N[a>>2];if(f){e=f+h|0;break c}N[a+8>>2]=h+2;N[d>>2]=0;break a}N[d>>2]=0;e=85;break a}e=85;break a}N[a+8>>2]=c+2;e=8;break a}f=O[e|0]|O[e+1|0]<<8;N[a+8>>2]=h+2;e=8;f=(f<<8|f>>>8)&65535;N[d>>2]=f;if(!f){break a}j=0;m=lb(l,4,0,f,0,g+8|0);l:{m:{e=N[g+8>>2];n:{if(e){break n}if(N[d>>2]){while(1){e=N[a+8>>2];if(Q[a+4>>2]<=e+3>>>0){break m}o:{p:{h=N[a+20>>2];q:{if(h){f=g+12|0;if((Qa[h|0](a,e,f,4)|0)!=4){break m}e=N[a+8>>2];break q}f=N[a>>2];if(!f){break p}f=e+f|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break o}f=0}N[a+8>>2]=e+4;N[(j<<2)+m>>2]=f;j=j+1|0;if(j>>>0>2]){continue}break}}i=c+i|0;f=N[a+20>>2];r:{if(f){e=85;if(!(Qa[f|0](a,i,0,0)|0)){break r}break n}e=85;if(i>>>0>Q[a+4>>2]){break n}}N[a+8>>2]=i;N[g+8>>2]=0;h=g+8|0;f=h;o=d,p=xb(a,f),M[o+8>>1]=p;e=N[g+8>>2];if(e){break n}i=xb(a,f);N[d+12>>2]=i;e=N[g+8>>2];if(e){break n}e=8;if(N[N[b+12>>2]>>2]!=P[d+8>>1]|i<<16>>16<0){break n}o=d,p=lb(l,4,0,i,0,f),N[o+16>>2]=p;e=N[g+8>>2];if(e){break n}if(N[d+12>>2]){e=P[d+8>>1];b=0;while(1){n=lb(l,12,0,e&65535,0,g+8|0);N[N[d+16>>2]+(b<<2)>>2]=n;e=N[g+8>>2];if(e){break n}e=0;if(P[d+8>>1]){h=0;while(1){j=xb(a,g+8|0);e=N[g+8>>2];if(e){break n}i=xb(a,g+8|0);e=N[g+8>>2];if(e){break n}f=xb(a,g+8|0);e=N[g+8>>2];if(e){break n}k=n+T(h,12)|0;N[k+8>>2]=f<<16>>16<<2;N[k+4>>2]=i<<16>>16<<2;N[k>>2]=j<<16>>16<<2;h=h+1|0;e=P[d+8>>1];if(h>>>0>>0){continue}break}}b=b+1|0;if(b>>>0>2]){continue}break}}j=0;o=d,p=lb(l,16,0,N[d>>2],0,g+8|0),N[o+4>>2]=p;e=N[g+8>>2];if(e){break n}if(!N[d>>2]){e=0;break n}while(1){f=N[d+4>>2];i=N[(j<<2)+m>>2]+c|0;s:{b=N[a+20>>2];if(b){if(!(Qa[b|0](a,i,0,0)|0)){break s}e=85;break l}if(i>>>0<=Q[a+4>>2]){break s}e=85;break l}N[a+8>>2]=i;N[g+8>>2]=0;k=(j<<4)+f|0;b=g+8|0;o=k,p=xb(a,b),N[o>>2]=p;e=N[g+8>>2];if(e){break l}f=xb(a,b);e=N[g+8>>2];if(e){break l}i=xb(a,g+8|0);N[k+4>>2]=i;e=N[g+8>>2];if(e){break l}e=8;if(f>>>0>i>>>0|i>>>0>Q[d+12>>2]){break l}o=k,p=lb(l,4,0,i,0,b),N[o+8>>2]=p;e=N[g+8>>2];if(e){break l}h=0;t:{if(!N[k+4>>2]){e=0;break t}while(1){b=xb(a,g+8|0);N[N[k+8>>2]+(h<<2)>>2]=b;e=N[g+8>>2];if(e){break n}if(b>>>0>2]){h=h+1|0;e=N[k+4>>2];if(h>>>0>=e>>>0){break t}continue}break}e=8;break n}o=k,p=lb(l,2,0,T(N[k>>2],e),0,g+8|0),N[o+12>>2]=p;e=N[g+8>>2];if(e){break n}e=N[k+4>>2];if(T(e,N[k>>2])){h=0;while(1){if(f){b=f+h|0;while(1){i=xb(a,g+8|0);e=N[g+8>>2];if(e){break n}M[N[k+12>>2]+(h<<1)>>1]=i;h=h+1|0;if((b|0)!=(h|0)){continue}break}e=N[k+4>>2];h=b}b=f;if(e>>>0>f>>>0){while(1){i=Od(a,g+8|0);e=N[g+8>>2];if(e){break n}M[N[k+12>>2]+(h<<1)>>1]=i;h=h+1|0;b=b+1|0;e=N[k+4>>2];if(b>>>0>>0){continue}break}}if(T(N[k>>2],e)>>>0>h>>>0){continue}break}}e=0;j=j+1|0;if(j>>>0>2]){continue}break}}if(!m){break a}break l}N[(j<<2)+m>>2]=0;e=85}Qa[N[l+8>>2]](l,m)}La=g+16|0;return e}function Ei(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0;o=La-32|0;La=o;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!((d|0)<=0|(e|0)<=0)){j=(g<<2)+b|0;A=j;z=N[h+4>>2];m=N[h>>2];v=z+m|0;k=N[j+28>>2];if(v>>>0>k>>>0){break i}p=N[a+4>>2];l=-1<>2];x=k-v|0;k=w+T(x,40)|0;q=N[i>>2];j=10;l=10;j:{k:{switch(m|0){case 0:l=(q|0)!=0;break j;case 1:break k;default:break j}}l=N[k+20>>2];l=(((l^-1)&1)==((l&6)!=6|0))+q|0;l=l?(l|0)==1?2:1:6}u=N[i+4>>2];l:{m:{switch(z|0){case 0:j=(u|0)!=0;break l;case 1:break m;default:break l}}j=N[(k+T(m,40)|0)+20>>2];j=(((j^-1)&1)==((j&6)!=6|0))+u|0;j=j?(j|0)==1?2:1:6}y=j|l;if((y&3)!=2){k=1;g=e>>>p|0;n:{if(!g){break n}b=d>>>p|0;if(!b){break n}i=f<>2]]((j<>2]](((j|1)<>2]]((h<>2]=x;break a}s=k+T(m,40)|0;if(!(!((j^l)&2)|y>>>0>7)){l=1<>2];w=y&4?0-g|0:g;g=N[b>>2];j=N[b+4>>2];q=j;i=N[b+12>>2];h=N[b+8>>2];if(!((d|0)!=(l|0)|(e|0)!=(l|0))){Qa[N[a+12>>2]](c,f,h,i,g,j,w);break b}j=e>>>p|0;if(!j){break b}k=d>>>p|0;if(!k){break b}b=i>>31;d=(b^i)-b|0;b=h>>31;b=d+((b^h)-b|0)|0;l=p+5|0;e=l&31;if((l&63)>>>0>=32){d=b<>>32-e;u=b<>31;C=i>>31;D=h>>31;b=C+D|0;m=h+i|0;b=m>>>0>>0?b+1|0:b;e=TE(e,l,m,b);s=Pa;H=f<>2]+6;v=k>>31;t=TE(j,b,h,D);m=I+Pa|0;t=l+t|0;m=t>>>0>>0?m+1|0:m;t=TE(k,v,t,m);k=g-t|0;v=k;B=e-k|0;G=q-(Pa+(g>>>0>>0)|0)|0;k=s-(G+(e>>>0>>0)|0)|0;m=k>>31;t=m;B=B^m;m=(k^m)-((m>>>0>B>>>0)+m|0)|0;p:{if((m|0)>=(d|0)&B-t>>>0>=u>>>0|(d|0)<(m|0)){Qa[N[a+8>>2]](E,f,(k^w)&-2147483648);break p}Qa[N[a+12>>2]](E,f,h,i,v,G,w)}j=j+1|0;b=j?b:b+1|0;if((j|0)!=(y|0)|b){continue}break}c=c+H|0;r=r+1|0;n=r?n:n+1|0;if((r|0)!=(z|0)|n){continue}break}break b}n=1<>2]](c,f,k,m,q);break b}if(!(l&2)){Qa[N[a+16>>2]](c,f,s,z,u);break b}q:{if(l>>>0>=8){Qa[N[a+16>>2]](c,f,k,m,q);break q}e=T(x,40)+w|0;g=N[e+16>>2];Qa[N[a+12>>2]](c,f,N[e+8>>2],N[e+12>>2],N[k>>2],N[k+4>>2],l&4?0-g|0:g)}e=N[b+48>>2];r:{if(j>>>0>=8){Qa[N[a+16>>2]](e,d,s,N[h+4>>2],N[i+4>>2]);break r}g=k+T(m,40)|0;h=N[g+16>>2];Qa[N[a+12>>2]](e,d,N[g+8>>2],N[g+12>>2],N[s>>2],N[s+4>>2],j&4?0-h|0:h)}Qa[N[a+20>>2]](c,f,N[b+48>>2]);break b}m=g^1;r=(m<<2)+b|0;j=N[r+36>>2];l=N[r+28>>2];s=l+v|0;s:{if(j>>>0>=s>>>0){n=N[r+20>>2];break s}j=j<<1;n=j>>>0<=64?64:j;while(1){j=n;n=j<<1;if(j>>>0>>0){continue}break}q=(m<<2)+b|0;n=$a(N[q+20>>2],T(j,40));if(!n){k=0;break a}N[q+20>>2]=n;N[r+36>>2]=j;u=N[i+4>>2];q=N[i>>2]}N[o+12>>2]=u;N[o+8>>2]=q;j=T(l,40)+n|0;t:{if((d|0)>(e|0)){n=N[h>>2];q=N[h+4>>2];h=W(d-1|0)^31;Gi(k,n,q,k,o+24|0,j,o+16|0,o+8|0,64<>2],N[h+4>>2],k,o+24|0,n,o+16|0,o+8|0,64<>2]=N[o+28>>2]+(N[o+24>>2]+x|0);N[r+28>>2]=N[o+20>>2]+(l+N[o+16>>2]|0);k=0;if(!Ei(a,b,c,j,e,f,g,o+24|0,i)){break a}if(N[A+28>>2]!=(x|0)){break d}if(!Ei(a,b,c+h|0,d,n,f,m,o+16|0,o+8|0)){break a}k=1;if((l|0)!=N[r+28>>2]){break c}break a}ba(21974,18126,634,13300);F()}ba(18464,18126,635,13300);F()}ba(24293,18126,636,13300);F()}ba(24249,18126,637,13300);F()}ba(24293,18126,562,15790);F()}ba(24249,18126,563,15790);F()}ba(11093,18126,715,13300);F()}ba(21690,18126,718,13300);F()}N[A+28>>2]=x;k=1}La=o+32|0;return k}function tE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=db(1,160);a:{if(!f){break a}c=260272;N[f>>2]=260272;b:{c:{d:{e:{f:{g:{h:{b=N[a+4>>2];if((b|0)<=1265525856){if((b|0)<=1198877297){if((b|0)==1113943655){break h}e=260296;if((b|0)==1147500129){break c}break b}if((b|0)==1198877298){break g}if((b|0)!=1198879349){break b}e=260344;break c}if((b|0)<=1332902240){if((b|0)==1265525857){break d}if((b|0)!=1298954605){break b}e=260488;break c}if((b|0)==1332902241){break f}if((b|0)==1415671148){break e}if((b|0)!=1415933045){break b}e=260440;break c}e=260320;break c}e=260368;break c}e=260392;break c}e=260416;break c}e=260464}N[f>>2]=e;c=e}d=O[c+4|0]?O[a+24|0]!=50:d;L[f+4|0]=d;c=N[147450];if(!c){Dl();c=N[147450]}b=-1;N[f+8>>2]=-1;L[f+5|0]=c>>>2&1;h=d?h:N[a+4>>2]!=1298954605;L[f+24|0]=h;j=N[a+48>>2];i=N[a+44>>2];i:{if((i|0)<=0){break i}b=i-1|0;d=0;j:{while(1){e=b+d>>>1|0;c=N[T(e,36)+j>>2];k:{if(c>>>0>=1919969383){b=e-1|0;break k}if((c|0)==1919969382){break j}d=e+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break i}b=N[(T(e,36)+j|0)+12>>2]}e=N[a+80>>2];l:{if(e>>>0>>0){c=0;b=0;break l}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+12>>2]=b;L[f+40|0]=h;N[f+20>>2]=0;N[f+16>>2]=c;b=-1;m:{if((i|0)<=0){break m}b=i-1|0;d=0;n:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];o:{if(g>>>0>=1886545255){b=c-1|0;break o}if((g|0)==1886545254){break n}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break m}b=N[(T(c,36)+j|0)+12>>2]}p:{if(b>>>0>e>>>0){c=0;b=0;break p}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+28>>2]=b;L[f+56|0]=h;N[f+36>>2]=0;N[f+32>>2]=c;b=-1;q:{if((i|0)<=0){break q}b=i-1|0;d=0;r:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];s:{if(g>>>0>=1651275623){b=c-1|0;break s}if((g|0)==1651275622){break r}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break q}b=N[(T(c,36)+j|0)+12>>2]}t:{if(b>>>0>e>>>0){c=0;b=0;break t}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+44>>2]=b;L[f+72|0]=h;N[f+52>>2]=0;N[f+48>>2]=c;b=-1;u:{if((i|0)<=0){break u}b=i-1|0;d=0;v:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];w:{if(g>>>0>=1886614631){b=c-1|0;break w}if((g|0)==1886614630){break v}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break u}b=N[(T(c,36)+j|0)+12>>2]}x:{if(b>>>0>e>>>0){c=0;b=0;break x}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+60>>2]=b;L[f+88|0]=h;N[f+68>>2]=0;N[f- -64>>2]=c;b=-1;y:{if((i|0)<=0){break y}b=i-1|0;d=0;z:{while(1){c=b+d>>>1|0;h=N[T(c,36)+j>>2];A:{if(h>>>0>=1986098294){b=c-1|0;break A}if((h|0)==1986098293){break z}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break y}b=N[(T(c,36)+j|0)+12>>2]}h=0;B:{if(b>>>0>e>>>0){c=0;a=0;break B}d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){e=N[a+84>>2]+(b<<3)|0}else{e=a+56|0}b=N[a+56>>2];c=b-d|0;b=b>>>0>=c>>>0?c:0;e=N[e>>2]-d|0;c=b>>>0>>0?b:e;a=N[a+60>>2]+T(d,12)|0}N[f+76>>2]=a;N[f+84>>2]=0;N[f+80>>2]=c;if((i|0)<=0){break a}a=i-1|0;while(1){k=(h<<2)+f|0;d=0;C:{if(!(2548>>>h&1)){break C}e=N[(h<<3)+257072>>2];d=0;b=a;while(1){c=b+d>>>1|0;g=T(c,36)+j|0;i=N[g>>2];D:{if(i>>>0<=e>>>0){d=N[g+28>>2];if(e>>>0<=i>>>0){break C}d=c+1|0;break D}b=c-1|0}if((b|0)>=(d|0)){continue}break}d=0}N[k+92>>2]=d;h=h+1|0;if((h|0)!=17){continue}break}}return f|0}function nj(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=N[a>>2];if(!b){break a}b:{c:{if((b|0)>0){N[a>>2]=b-1;if((b|0)!=1){break a}N[a>>2]=-57005;e=N[a+8>>2];if(e){c=N[e+8>>2];if(c){while(1){c=c-1|0;b=N[e+12>>2]+T(c,12)|0;d=N[b+8>>2];b=N[b+4>>2];N[e+8>>2]=c;if(d){Qa[d|0](b);c=N[e+8>>2]}if(c){continue}break}}_a(N[e+12>>2]);_a(e);N[a+8>>2]=0}c=N[a+208>>2];if(c){break c}break b}ba(23506,14099,270,7918);F()}while(1){b=N[c+4>>2];pj(N[c>>2]);_a(c);c=b;if(b){continue}break}}N[a+40>>2]=0;N[a+44>>2]=0;b=N[a+52>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+52>>2]=0;b=N[a+56>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+56>>2]=0;b=N[a+60>>2];if(!(!b|(b|0)==275552)){ab(N[b+44>>2]);_a(b)}N[a+60>>2]=0;b=N[a- -64>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+64>>2]=0;b=N[a+68>>2];if(!(!b|(b|0)==275552)){ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b)}N[a+68>>2]=0;b=N[a+72>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+72>>2]=0;b=N[a+76>>2];if(!(!b|(b|0)==275552)){_a(N[b+28>>2]);ab(N[b>>2]);N[b>>2]=0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);_a(b)}N[a+76>>2]=0;b=N[a+80>>2];if(!(!b|(b|0)==275552)){ab(N[b+8>>2]);N[b+8>>2]=0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);_a(b)}N[a+80>>2]=0;b=N[a+84>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+84>>2]=0;b=N[a+88>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+88>>2]=0;b=N[a+92>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+92>>2]=0;b=N[a+96>>2];if(!(!b|(b|0)==275552)){ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b)}N[a+96>>2]=0;b=N[a+100>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+100>>2]=0;b=N[a+104>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+104>>2]=0;b=N[a+108>>2];if(!(!b|(b|0)==275552)){ab(N[b+24>>2]);_a(b)}N[a+108>>2]=0;c=N[a+112>>2];if(!(!c|(c|0)==275552)){b=N[c+220>>2];if(b){if(N[b+4>>2]){N[b+4>>2]=0}_a(N[b+8>>2]);_a(b)}Ke(c);_a(wf(c))}N[a+112>>2]=0;b=N[a+116>>2];if(!(!b|(b|0)==275552)){_a(mj(b))}N[a+116>>2]=0;b=N[a+120>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+120>>2]=0;b=N[a+124>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+124>>2]=0;b=N[a+128>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+128>>2]=0;b=N[a+132>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+132>>2]=0;b=N[a+136>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+136>>2]=0;b=N[a+140>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+140>>2]=0;d=N[a+144>>2];if(!(!d|(d|0)==275552)){if(N[d+4>>2]){c=0;while(1){b=N[d+8>>2]+T(c,28)|0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);N[b+16>>2]=0;N[b+20>>2]=0;N[b+12>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}_a(N[d+8>>2]);ab(N[d>>2]);_a(d)}N[a+144>>2]=0;d=N[a+148>>2];if(!(!d|(d|0)==275552)){if(N[d+4>>2]){c=0;while(1){b=N[d+8>>2]+T(c,28)|0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);N[b+16>>2]=0;N[b+20>>2]=0;N[b+12>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}_a(N[d+8>>2]);ab(N[d>>2]);_a(d)}N[a+148>>2]=0;b=N[a+152>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+152>>2]=0;b=N[a+156>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+156>>2]=0;b=N[a+160>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+160>>2]=0;b=N[a+164>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+164>>2]=0;b=N[a+168>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+168>>2]=0;b=N[a+172>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+172>>2]=0;b=N[a+176>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+176>>2]=0;b=N[a+180>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+180>>2]=0;b=N[a+184>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+184>>2]=0;b=N[a+188>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+188>>2]=0;b=N[a+192>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);N[b>>2]=0;ab(N[b+4>>2]);_a(b)}N[a+192>>2]=0;b=N[a+196>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+196>>2]=0;b=N[a+200>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+200>>2]=0;b=N[a+204>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+204>>2]=0;b=N[a+20>>2];if(b){Qa[b|0](N[a+16>>2])}_a(a)}}function Tg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-16|0;La=f;N[f+12>>2]=0;N[f+8>>2]=0;N[f+4>>2]=0;N[f>>2]=0;e=N[a+8>>2];d=N[a+4>>2];a:{b:{c:{if(!(Qa[N[a+20>>2]](a,c,f+12|0,f+8|0)|0)){break c}c=N[f+8>>2];if(c){N[f>>2]=0;h=N[e+96>>2];i=N[h+28>>2];j=N[e+100>>2];h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}if(!(Qa[i|0](e,j,c,f,h)|0)){break c}}N[f+4>>2]=0;c=N[e+96>>2];g=N[c+28>>2];h=N[e+100>>2];i=N[f+12>>2];j=f+4|0;c=N[c+12>>2];if(c){c=N[c+8>>2]}else{c=0}c=Qa[g|0](e,h,i,j,c)|0;g=N[f+12>>2];d:{e:{f:{g:{h:{if(!(!c|!b)){N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f+4>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break h}}a=N[d+64>>2];b=N[d+84>>2];i:{if((b|0)!=N[d+80>>2]){break i}c=N[d+72>>2];if(c+1>>>0<=a>>>0){break i}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break i}B(e,b,c);a=N[d+64>>2]}b=N[d+68>>2];if(b>>>0>>0){break a}j:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break j}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break d}g=Tg(a,b,g);if(g){c=N[f+8>>2];if(!c){break c}N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break g}}a=N[d+64>>2];b=N[d+84>>2];k:{if((b|0)!=N[d+80>>2]){break k}e=N[d+72>>2];if(e+1>>>0<=a>>>0){break k}if(!O[d+62|0]){break b}h=N[d+88>>2];N[d+84>>2]=h;e=T(e,20);if(!e){break k}B(h,b,e);a=N[d+64>>2]}b=N[d+68>>2];if(b>>>0>>0){break a}l:{if(a>>>0>>0){e=N[d+72>>2];b=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break l}b=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=b+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+b|0;e=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=e;N[b+16>>2]=N[a+16>>2];e=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=e;N[b>>2]=c;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break e}if(!c){g=0;break c}g=N[f+12>>2];N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f+4>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break f}}a=N[d+64>>2];b=N[d+84>>2];m:{if((b|0)!=N[d+80>>2]){break m}c=N[d+72>>2];if(c+1>>>0<=a>>>0){break m}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break m}B(e,b,c);a=N[d+64>>2]}b=N[d+68>>2];if(b>>>0>>0){break a}n:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break n}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break d}a=N[d+72>>2];break d}a=N[d+72>>2];break e}a=N[d+72>>2];break d}b=a-1|0;Gd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=g+1|0;break c}b=a-1|0;Gd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=N[f+8>>2];if(!g){g=1;break c}N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f>>2];o:{p:{a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break p}}a=N[d+64>>2];q:{b=N[d+84>>2];r:{if((b|0)!=N[d+80>>2]){break r}c=N[d+72>>2];if(c+1>>>0<=a>>>0){break r}if(!O[d+62|0]){break q}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break r}B(e,b,c);a=N[d+64>>2]}b=N[d+68>>2];if(b>>>0>>0){break a}s:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break s}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break o}break b}a=N[d+72>>2]}b=a-1|0;Gd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=2}La=f+16|0;return g}ba(8694,17855,209,11932);F()}ba(13080,14165,312,10949);F()}function wb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=N[a+68>>2];k=d>>>0>g>>>0?g:d;i=k-c|0;a:{b:{c:{if(!(!e|f)&i>>>0<2){break c}h=N[a+144>>2]|32;N[a+144>>2]=h;if(!(O[a+62|0]?f:0)){if(!e){if(c>>>0>=k>>>0){break c}f=(c^-1)+k|0;e=N[a+80>>2];a=i&3;if(a){d=0;while(1){g=e+T(c,20)|0;N[g+4>>2]=N[g+4>>2]|b;c=c+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(f>>>0<3){break c}while(1){a=e+T(c,20)|0;N[a+4>>2]=N[a+4>>2]|b;N[a+24>>2]=N[a+24>>2]|b;N[a+44>>2]=N[a+44>>2]|b;a=a- -64|0;N[a>>2]=N[a>>2]|b;c=c+4|0;if((k|0)!=(c|0)){continue}break}break c}if(c>>>0>=k>>>0){break c}e=N[a+80>>2];d=-1;f=c;l=(c^-1)+k|0;if(l>>>0>=3){n=i&-4;while(1){g=e+T(f,20)|0;j=N[g+8>>2];d=d>>>0>>0?d:j;j=N[g+28>>2];d=d>>>0>>0?d:j;j=N[g+48>>2];d=d>>>0>>0?d:j;g=N[g+68>>2];d=d>>>0>>0?d:g;f=f+4|0;o=o+4|0;if((n|0)!=(o|0)){continue}break}}n=i&3;if(n){g=0;while(1){j=N[(e+T(f,20)|0)+8>>2];d=d>>>0>>0?d:j;f=f+1|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}if(i&1){f=e+T(c,20)|0;if(N[f+8>>2]!=(d|0)){N[f+4>>2]=N[f+4>>2]|b}c=c+1|0}if(!l){break c}while(1){f=e+T(c,20)|0;if(N[f+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[f+4>>2]=N[f+4>>2]|b}f=e+T(c+1|0,20)|0;if(N[f+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[f+4>>2]=N[f+4>>2]|b}c=c+2|0;if((k|0)!=(c|0)){continue}break}break c}l=N[a+72>>2];if(l>>>0>>0){break b}f=N[a+64>>2];if(k>>>0>>0){break a}if(!e){d:{if(c>>>0>=l>>>0){break d}g=l+(c^-1)|0;e=N[a+84>>2];i=l-c&3;if(i){d=0;while(1){h=e+T(c,20)|0;N[h+4>>2]=N[h+4>>2]|b;c=c+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(g>>>0<=2){break d}while(1){d=e+T(c,20)|0;N[d+4>>2]=N[d+4>>2]|b;N[d+24>>2]=N[d+24>>2]|b;N[d+44>>2]=N[d+44>>2]|b;d=d- -64|0;N[d>>2]=N[d>>2]|b;c=c+4|0;if((l|0)!=(c|0)){continue}break}}if(f>>>0>=k>>>0){break c}e=(f^-1)+k|0;d=N[a+80>>2];a=k-f&3;if(a){c=0;while(1){g=d+T(f,20)|0;N[g+4>>2]=N[g+4>>2]|b;f=f+1|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}}if(e>>>0<3){break c}while(1){a=d+T(f,20)|0;N[a+4>>2]=N[a+4>>2]|b;N[a+24>>2]=N[a+24>>2]|b;N[a+44>>2]=N[a+44>>2]|b;a=a- -64|0;N[a>>2]=N[a>>2]|b;f=f+4|0;if((k|0)!=(f|0)){continue}break}break c}n=N[a+80>>2];d=-1;p=f>>>0>=k>>>0;e:{if(p){break e}g=k-f|0;j=g&3;e=f;if((e^-1)+k>>>0>=3){o=g&-4;i=0;while(1){g=n+T(e,20)|0;m=N[g+8>>2];d=d>>>0>>0?d:m;m=N[g+28>>2];d=d>>>0>>0?d:m;m=N[g+48>>2];d=d>>>0>>0?d:m;g=N[g+68>>2];d=d>>>0>>0?d:g;e=e+4|0;i=i+4|0;if((o|0)!=(i|0)){continue}break}}if(!j){break e}g=0;while(1){i=N[(n+T(e,20)|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}f:{if(c>>>0>=l>>>0){break f}j=N[a+84>>2];o=l+(c^-1)|0;m=l-c|0;e=m&3;if(e){i=0;g=c;while(1){q=N[(j+T(g,20)|0)+8>>2];d=d>>>0>>0?d:q;g=g+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}e=c+e|0}else{e=c}i=e;if(o>>>0>=3){while(1){e=j+T(i,20)|0;g=N[e+8>>2];d=d>>>0>>0?d:g;g=N[e+28>>2];d=d>>>0>>0?d:g;g=N[e+48>>2];d=d>>>0>>0?d:g;e=N[e+68>>2];d=d>>>0>>0?d:e;i=i+4|0;if((l|0)!=(i|0)){continue}break}}if(m&1){e=j+T(c,20)|0;if(N[e+8>>2]!=(d|0)){N[e+4>>2]=N[e+4>>2]|b}c=c+1|0}if(!o){break f}while(1){e=j+T(c,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}e=j+T(c+1|0,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}c=c+2|0;if((l|0)!=(c|0)){continue}break}}if(p){break c}c=f+1|0;if(k-f&1){e=n+T(f,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}f=c}if((c|0)==(k|0)){break c}while(1){c=n+T(f,20)|0;if(N[c+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[c+4>>2]=N[c+4>>2]|b}c=n+T(f+1|0,20)|0;if(N[c+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[c+4>>2]=N[c+4>>2]|b}f=f+2|0;if((k|0)!=(f|0)){continue}break}}return}ba(12894,14165,449,11039);F()}ba(16690,14165,450,11039);F()}function Sb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=N[a>>2];a:{e=N[a+4>>2];b:{if(!e){e=0;break b}if(N[a+40>>2]){break b}d=e<<1;if((d|0)<0){h=6;break a}c:{if(!d){d=0;break c}h=10;if(d>>>0>268435455){break a}e=e<<4;d=Qa[N[g+4>>2]](g,e)|0;if(!d){N[a+40>>2]=0;return 64}G(d,0,e);e=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=d;i=(e<<3)+d|0;N[a+44>>2]=i;h=0;f=N[a+24>>2];if(f){f=f+(M[a+22>>1]<<3)|0}else{f=0}N[a+60>>2]=f;j=a- -64|0;f=N[a+28>>2];if(f){f=f+M[a+22>>1]|0}else{f=0}N[j>>2]=f;f=N[a+32>>2];if(f){f=f+(M[a+20>>1]<<1)|0}else{f=0}N[a+68>>2]=f;f=M[a+22>>1]<<3;N[a+80>>2]=f+i;N[a+76>>2]=d+f}d:{e:{b=M[a+58>>1]+(M[a+22>>1]+b|0)|0;j=b>>>0<=e>>>0;f:{g:{if(j){b=e;break g}d=10;f=b+7|0;b=f&-8;if(b>>>0>32767){break f}d=6;if((e|f)<0){break d}d=N[a+24>>2];h:{i:{j:{if(!b){if(d){Qa[N[g+8>>2]](g,d)}N[a+24>>2]=0;f=a+28|0;d=N[f>>2];if(!d){break j}Qa[N[g+8>>2]](g,d);N[a+28>>2]=0;break h}i=(b|0)<=(e|0);k:{if(!e){f=Qa[N[g+4>>2]](g,b<<3)|0;d=!f<<6;break k}h=Qa[N[g+12>>2]](g,e<<3,b<<3,d)|0;f=h?h:d;d=!h<<6}l:{if(f?i|d:1){N[a+24>>2]=f;if(!d){break l}break d}G((e<<3)+f|0,0,b-e<<3);N[a+24>>2]=f}f=a+28|0;m:{if(!e){h=Qa[N[g+4>>2]](g,b)|0;d=!h<<6;break m}h=N[a+28>>2];d=Qa[N[g+12>>2]](g,e,b,h)|0;h=d?d:h;d=!d<<6}if(d|i|!h){break i}G(e+h|0,0,b-e|0)}N[f>>2]=h;break h}N[a+28>>2]=h;if(d){break d}}if(O[a+16|0]){d=6;h=e<<1;if((h|0)<0){break d}d=N[a+40>>2];n:{o:{p:{if(!b){f=0;if(!d){break p}Qa[N[g+8>>2]](g,d);N[a+40>>2]=0;break n}q:{if(!h){f=Qa[N[g+4>>2]](g,b<<4)|0;d=!f<<6;break q}i=Qa[N[g+12>>2]](g,e<<4,b<<4,d)|0;f=i?i:d;d=!i<<6}i=b<<1;if(d|(i|0)<=(h|0)|!f){break o}G((e<<4)+f|0,0,i-h<<3)}N[a+40>>2]=f;break n}N[a+40>>2]=f;if(d){break d}}d=b<<3;e=e<<3;B(d+f|0,e+f|0,e);N[a+44>>2]=d+N[a+40>>2]}N[a+4>>2]=b}if(!(N[a+40>>2]|!b)){e=b<<1;if((e|0)<0){d=6;break e}r:{if(!e){e=0;break r}d=10;if(e>>>0>268435455){break e}d=N[a>>2];b=b<<4;e=Qa[N[d+4>>2]](d,b)|0;if(!e){N[a+40>>2]=0;return 64}G(e,0,b);b=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=e;d=(b<<3)+e|0;N[a+44>>2]=d;b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;i=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[i>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;b=M[a+22>>1]<<3;N[a+80>>2]=b+d;N[a+76>>2]=b+e}b=M[a+56>>1]+(M[a+20>>1]+c|0)|0;e=N[a+8>>2];s:{if(b>>>0>e>>>0){d=10;c=b+3|0;b=c&-4;if(b>>>0>32767){break f}if((c|e)<0){d=6;break d}d=N[a+32>>2];t:{u:{if(!b){c=0;if(!d){break u}Qa[N[g+8>>2]](g,d);N[a+32>>2]=0;N[a+8>>2]=b;break s}v:{if(!e){c=Qa[N[g+4>>2]](g,b<<1)|0;d=!c<<6;break v}g=Qa[N[g+12>>2]](g,e<<1,b<<1,d)|0;c=g?g:d;d=!g<<6}if(d|(b|0)<=(e|0)|!c){break t}G((e<<1)+c|0,0,b-e<<1)}N[a+32>>2]=c;N[a+8>>2]=b;break s}N[a+32>>2]=c;if(d){break d}N[a+8>>2]=b;break s}d=0;if(j){break f}}b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;c=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[c>>2]=b;d=0;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;if(!O[a+16|0]){break f}b=M[a+22>>1]<<3;N[a+76>>2]=b+N[a+40>>2];N[a+80>>2]=b+N[a+44>>2]}return d}N[a+40>>2]=0;return d}b=N[a>>2];c=N[a+24>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+24>>2]=0;c=N[a+28>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+28>>2]=0;c=N[a+32>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+32>>2]=0;c=N[a+40>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+40>>2]=0;c=N[a+52>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+12>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+20>>2]=0;N[a+44>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];b=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=b;b=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=b;b=N[a+32>>2];N[a+64>>2]=N[a+28>>2];N[a+68>>2]=b;b=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=b;return d}N[a+40>>2]=0;return h}function zj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{f=L[b+140|0];if((f|0)>=0){L[b+140|0]=f|128;t=N[b+80>>2];l=N[b+68>>2];b:{if(!N[b+132>>2]){break b}h=b+92|0;while(1){f=N[h+(d<<2)>>2];e=N[b+12>>2];f=Rg(f,Qa[N[e+24>>2]](e,f,N[e+56>>2])|0);if((f|0)==7){e=0;d=d+1|0;if(d>>>0>2]){continue}break b}break}e=P[(f<<2)+238226>>1]}if(!l){f=-1;break a}u=t+3|0;f=-1;while(1){n=T(g,20);d=t+n|0;h=Rg(N[d>>2],P[d+16>>1]&31);c:{if((h|0)==7){L[(n+u|0)+16|0]=7;break c}o=T(e,24)+(h<<2)|0;d=O[o+238224|0];d:{if(!((d|0)==7|(f|0)==-1)){L[(u+T(f,20)|0)+16|0]=d;yj(b,f,g+1|0);break d}if((f|0)==-1){if(!(O[b+16|0]&64)|h>>>0<2){break d}wb(b,2,0,g+1|0,0,1);break d}if(!(O[b+16|0]&64)|h>>>0<=1&e-2>>>0>3){break d}e=N[b+68>>2];d=g+1|0;q=d>>>0>e>>>0?e:d;r=q-f|0;if(r>>>0<2){break d}j=N[b+144>>2]|32;N[b+144>>2]=j;if(f>>>0>=q>>>0){break d}p=N[b+80>>2];d=-1;e=f;m=q+(f^-1)|0;if(m>>>0>=3){k=r&-4;i=0;while(1){s=p+T(e,20)|0;h=N[s+8>>2];h=d>>>0>>0?d:h;d=N[s+28>>2];h=d>>>0>h>>>0?h:d;d=N[s+48>>2];h=d>>>0>h>>>0?h:d;d=N[s+68>>2];d=d>>>0>h>>>0?h:d;e=e+4|0;i=i+4|0;if((k|0)!=(i|0)){continue}break}}i=0;k=r&3;if(k){while(1){h=N[(p+T(e,20)|0)+8>>2];d=d>>>0>>0?d:h;e=e+1|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}if(r&1){e=p+T(f,20)|0;if(N[e+8>>2]!=(d|0)){N[e+4>>2]=N[e+4>>2]|2}f=f+1|0}if(!m){break d}while(1){e=p+T(f,20)|0;if(N[e+8>>2]!=(d|0)){j=j|32;N[b+144>>2]=j;N[e+4>>2]=N[e+4>>2]|2}e=p+T(f+1|0,20)|0;if(N[e+8>>2]!=(d|0)){j=j|32;N[b+144>>2]=j;N[e+4>>2]=N[e+4>>2]|2}f=f+2|0;if((q|0)!=(f|0)){continue}break}}L[(n+u|0)+16|0]=O[o+238225|0];e=P[o+238226>>1];f=g}g=g+1|0;if((l|0)!=(g|0)){continue}break}break a}ba(22778,14165,169,12138);F()}e:{f:{if(!N[b+136>>2]){break f}d=0;while(1){g=N[((d<<2)+b|0)+112>>2];h=N[b+12>>2];g=Rg(g,Qa[N[h+24>>2]](h,g,N[h+56>>2])|0);if((g|0)==7){d=d+1|0;if(d>>>0>2]){continue}break f}break}d=O[(T(e,24)+(g<<2)|0)+238224|0];if(!((d|0)==7|(f|0)==-1)){L[(t+T(f,20)|0)+19|0]=d;yj(b,f,N[b+68>>2]);break f}if(!(O[b+16|0]&64)|e-2>>>0>3){break f}l=N[b+80>>2];e=N[b+68>>2];n=e-f|0;d=l;if(n>>>0<2){break e}j=N[b+144>>2]|32;N[b+144>>2]=j;if(f>>>0>=e>>>0){break f}g=-1;d=f;m=(d^-1)+e|0;if(m>>>0>=3){k=n&-4;i=0;while(1){o=l+T(d,20)|0;h=N[o+8>>2];h=g>>>0>>0?g:h;g=N[o+28>>2];h=g>>>0>h>>>0?h:g;g=N[o+48>>2];h=g>>>0>h>>>0?h:g;g=N[o+68>>2];g=g>>>0>h>>>0?h:g;d=d+4|0;i=i+4|0;if((k|0)!=(i|0)){continue}break}}k=n&3;if(k){i=0;while(1){h=N[(l+T(d,20)|0)+8>>2];g=g>>>0>>0?g:h;d=d+1|0;i=i+1|0;if((k|0)!=(i|0)){continue}break}}if(n&1){d=l+T(f,20)|0;if(N[d+8>>2]!=(g|0)){N[d+4>>2]=N[d+4>>2]|2}f=f+1|0}if(!m){break f}while(1){d=l+T(f,20)|0;if(N[d+8>>2]!=(g|0)){j=j|32;N[b+144>>2]=j;N[d+4>>2]=N[d+4>>2]|2}d=l+T(f+1|0,20)|0;if(N[d+8>>2]!=(g|0)){j=j|32;N[b+144>>2]=j;N[d+4>>2]=N[d+4>>2]|2}f=f+2|0;if((e|0)!=(f|0)){continue}break}}e=N[b+68>>2];d=N[b+80>>2]}if(!((c|0)!=1299148391|e>>>0<2)){i=d+3|0;g=1;g:{if((e|0)!=2){c=e-1|0;k=c&1;h=c&-2;e=0;while(1){m=T(g,20);c=N[m+d>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){c=i+m|0;L[c+16|0]=O[c-4|0]}f=T(g+1|0,20);c=N[f+d>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){L[(f+i|0)+16|0]=O[(i+m|0)+16|0]}g=g+2|0;e=e+2|0;if((h|0)!=(e|0)){continue}break}if(!k){break g}}f=T(g,20);c=N[f+d>>2]-6155|0;if(c>>>0>4|(c|0)==3){break g}c=f+i|0;L[c+16|0]=O[c-4|0]}e=N[b+68>>2];d=N[b+80>>2]}h:{if(!e){break h}k=d+3|0;g=0;if((e|0)!=1){h=e&1;f=e&-2;while(1){c=T(g,20);b=c+d|0;N[b+4>>2]=N[b+4>>2]|N[(O[(c+k|0)+16|0]<<2)+a>>2];c=T(g|1,20);b=c+d|0;N[b+4>>2]=N[b+4>>2]|N[(O[(c+k|0)+16|0]<<2)+a>>2];g=g+2|0;if((f|0)!=(g|0)){continue}break}if(!h){break h}}c=T(g,20);b=c+d|0;N[b+4>>2]=N[b+4>>2]|N[(O[(c+k|0)+16|0]<<2)+a>>2]}}function vp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=N[(c?16:12)+b>>2];k=N[(c?8:4)+b>>2];l=T(c,9804)+a|0;b=l+9840|0;d=l+9844|0;a:{if((k|0)==N[b>>2]&(o|0)==N[d>>2]){break a}N[b>>2]=k;N[d>>2]=o;m=N[a+10064>>2];b:{if(!m){break b}b=0;while(1){if(!(O[(T(b,36)+a|0)+10100|0]&16)){b=b+1|0;if((m|0)!=(b|0)){continue}break b}break}d=N[(T(b,36)+a|0)+10080>>2];g=d>>31;g=(d^g)-g|0;b=k>>31;b=(b^k)-b|0;c:{if(g+(b>>>8|0)>>>0<=8190){b=T(b,g)+32768>>>16|0;break c}e=g&65535;b=T(e,b>>>16|0)+T(b,g>>>16|0)+(T(e,b&65535)+32768>>>16)|0}g=N[N[a+36>>2]+20>>2];if(g){h=g;g=P[N[N[a+4>>2]+88>>2]+12>>1];g=g>>>0<=5?40:h>>>0>=g>>>0?52:40}else{g=40}if((c|0)!=1){break b}e=0-b|0;h=b;b=d>>31|1;b=(((k|0)<0?0-b|0:b)|0)<0?e:h;g=b+g&-64;if((b|0)==(g|0)){break b}g=jb(k,g,b);d=N[a+40>>2];d:{e:{if((m|0)==1){e=0;break e}j=m&1;e=m&-2;h=a+10068|0;b=0;while(1){f=h+T(b,36)|0;i=N[f+24>>2];d=(d|0)>(i|0)?d:i;f=0-N[f+28>>2]|0;d=(d|0)>(f|0)?d:f;f=h+T(b|1,36)|0;i=N[f+24>>2];d=(d|0)>(i|0)?d:i;f=0-N[f+28>>2]|0;d=(d|0)>(f|0)?d:f;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!j){break d}}b=T(e,36)+a|0;e=N[b+10092>>2];d=(d|0)>(e|0)?d:e;b=0-N[b+10096>>2]|0;d=(b|0)<(d|0)?d:b}j=g-k|0;b=j>>31;e=d>>31;e=(e^d)-e|0;b=(b^j)-b|0;f=e+(b>>>8|0)|0;f:{if(f>>>0<=8190){h=T(b,e)+32768>>>16|0;break f}h=e&65535;h=T(h,b>>>16|0)+T(b,e>>>16|0)+(T(h,b&65535)+32768>>>16)|0}d=d>>31|1;d=(j|0)<0?0-d|0:d;h=(d|0)<0?0-h|0:h;if(f>>>0<=8190){b=T(b,e)+32768>>>16|0}else{j=e&65535;b=T(j,b>>>16|0)+T(b,e>>>16|0)+(T(j,b&65535)+32768>>>16)|0}b=(d|0)<0?0-b|0:b;k=((h|0)<0?0-b|0:b)>>>0<128?g:k}N[l+44>>2]=k;N[(T(c,9804)+a|0)+48>>2]=o;g:{if(!c){N[a+8>>2]=k;b=a+16|0;break g}N[a+12>>2]=k;b=a+20|0}N[b>>2]=o;b=T(c,9804)+a|0;j=N[b+52>>2];h:{if(!j){b=k>>31;d=(b^k)-b|0;g=d>>>8|0;break h}g=k>>31;d=(g^k)-g|0;f=d&65535;i=d>>>16|0;g=d>>>8|0;r=b+56|0;b=0;while(1){l=r+T(b,12)|0;h=N[l>>2];e=h>>31;e=(e^h)-e|0;i:{if(e+g>>>0<=8190){n=T(d,e)+32768>>>16|0;break i}p=e&65535;n=T(p,i)+T(e>>>16|0,d)+(T(f,p)+32768>>>16)|0}e=n;p=0-e|0;e=h>>31|1;e=(((k|0)<0?0-e|0:e)|0)<0?p:n;N[l+8>>2]=e;N[l+4>>2]=e;b=b+1|0;if((j|0)!=(b|0)){continue}break}}b=T(c,9804)+a|0;f=b;e=N[b+252>>2];b=e>>31;b=(b^e)-b|0;j:{if(b+g>>>0<=8190){h=T(b,d)+32768>>>16|0;break j}h=b&65535;h=T(h,d>>>16|0)+T(b>>>16|0,d)+(T(h,d&65535)+32768>>>16)|0}b=h;i=0-b|0;b=e>>31|1;L[f+256|0]=(((((k|0)<0?0-b|0:b)|0)<0?i:h)|0)<40;if(!m|(c|0)!=1){break a}c=d&65535;e=d>>>16|0;l=0;while(1){b=T(l,36)+a|0;h=b+10068|0;j=N[h>>2];f=j>>31;f=(f^j)-f|0;k:{if(f+g>>>0<=8190){i=T(d,f)+32768>>>16|0;break k}i=f&65535;i=T(i,e)+T(f>>>16|0,d)+(T(c,i)+32768>>>16)|0}f=i;n=0-f|0;f=j>>31|1;r=(k|0)<0;p=o+(((r?0-f|0:f)|0)<0?n:i)|0;N[h+8>>2]=p;N[h+4>>2]=p;f=N[b+10080>>2];i=f>>31;i=(f^i)-i|0;l:{if(i+g>>>0<=8190){n=T(d,i)+32768>>>16|0;break l}q=i&65535;n=T(q,e)+T(i>>>16|0,d)+(T(c,q)+32768>>>16)|0}i=n;q=b+10100|0;s=N[q>>2];N[q>>2]=s&-2;t=b+10088|0;u=0-i|0;i=f>>31|1;i=o+(((r?0-i|0:i)|0)<0?u:n)|0;N[t>>2]=i;N[b+10084>>2]=i;j=j-f|0;b=j>>31;b=(b^j)-b|0;m:{if(b+g>>>0<=8190){f=T(b,d)+32768>>>16|0;break m}f=b&65535;f=T(f,e)+T(b>>>16|0,d)+(T(c,f)+32768>>>16)|0}b=f;j=j>>31|1;j=((r?0-j|0:j)|0)<0?0-b|0:b;if(j+48>>>0<=96){i=h;h=p+32&-64;N[i+8>>2]=h;b=b>>31;b=(f^b)-b|0;b=b>>>0>=32?b>>>0<48?32:64:0;N[t>>2]=h+((j|0)<0?b:0-b|0);N[q>>2]=s|1}l=l+1|0;if((m|0)!=(l|0)){continue}break}c=0;while(1){b=T(c,36)+a|0;g=b+10100|0;d=N[g>>2];n:{if((d&5)!=5){break n}o=b+10076|0;e=b+10088|0;b=0;while(1){k=T(b,36)+a|0;if(!((N[k+10100>>2]&5)!=1|N[k+10076>>2]>N[e>>2]|N[k+10088>>2]>2])){N[g>>2]=d&-2;break n}b=b+1|0;if((m|0)!=(b|0)){continue}break}}c=c+1|0;if((m|0)!=(c|0)){continue}break}}}function kz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,L=0;e=La-160|0;La=e;d=N[a>>2];f=N[d- -64>>2];g=N[d+56>>2];k=N[a+16>>2];l=k>>31;j=N[a+12>>2];h=j>>31;i=N[a+24>>2];n=i>>31;s=N[a+20>>2];t=s>>31;u=N[d+60>>2];v=N[d+52>>2];o=+(u-v|0)*.5+64;C=8/o;w=N[a+28>>2];l=(k^l)-l+((h^j)-h)|0;h=(i^n)-n+((s^t)-t)|0;m=.125/+((h>>>0>>0?l:h)|0);p=C*+(w|0)*m;S[e+112>>3]=p;x=+(f-g|0)*.5+64;y=8/x;l=N[a+32>>2];m=m*(y*+(l|0));S[e+120>>3]=m;h=N[a+4>>2];z=+(N[a+8>>2]<<3);E=m*z+y*+(i|0);S[e+96>>3]=E;o=V(m)*x+(V(p)*o+1);o=o>16?16:o;x=+(u+v|0)*.5;D=+(f+g|0)*.5;S[e+128>>3]=o-(p*x+D*m);G=p*z+C*+(s|0);S[e+88>>3]=G;S[e+104>>3]=o*z+0-(G*x+D*E);z=m;m=+(h<<3);y=z*m+y*+(k|0);S[e+72>>3]=y;p=p*m+C*+(j|0);S[e+64>>3]=p;S[e+80>>3]=o*m+0-(p*x+D*y);f=d+4|0;d=e+40|0;a:{if(l|w){q=f;f=e- -64|0;Fo(e+16|0,q,f);Fo(d,N[a>>2]+28|0,f);break a}q=f;f=e- -64|0;Go(e+16|0,q,f);Go(d,N[a>>2]+28|0,f)}l=N[c>>2];b:{c:{s=c+12|0;d:{e:{if(!Lo(s,e+16|0,0)){mb(N[l>>2],2,25239,0);break e}if(!Lo(s,d,1)){mb(N[l>>2],2,25239,0);break e}t=N[c+16>>2];u=N[c+24>>2];if((t|0)>(u|0)){break e}v=N[c+20>>2];w=N[c+28>>2];if((v|0)>(w|0)){break e}f:{A=t-1|0;B=A>>6;g=(u+127>>6)-B|0;i=v-1|0;n=i>>6;f=(w+127>>6)-n|0;g:{if((g|f)<0){break g}j=-1<>2];d=j&2147483647;if(d>>>0>>0){break g}if(d>>>0>=f>>>0){break f}}c=N[l>>2];N[e+4>>2]=f;N[e>>2]=g;mb(c,2,8058,e);break e}H=l+872|0;d=1<>2];k=0-d|0;h=j^-1;g=j&h+g;k=g>>>0>k>>>0?g:k&(d+g|0)-1;j=j&f+h;if(k>>>0>((d^2147483647)>>>0)/(((j|0)<=1?1:j)>>>0)>>>0){break e}f=d+T(k,j)|0;if(f>>>0>=-5-d>>>0){break e}f=kb((d+f|0)+3|0);if(!f){break e}q=d;r=d-1|0;d=f+4|0;r=r&d;r=(r?q-r|0:0)+d|0;N[r-4>>2]=f;N[b+20>>2]=r;N[b+16>>2]=k;N[b+12>>2]=j;N[b+8>>2]=g;N[b+4>>2]=n;N[b>>2]=B;if((k|0)<=0|(j|0)<=0){break c}if(h&k){break b}f=i&-64;g=A&-64;h=N[c+40>>2];if(h){d=N[c+32>>2];B=d+T(h,40)|0;I=f>>31;J=g>>31;while(1){N[d+24>>2]=N[d+24>>2]-g;N[d+28>>2]=N[d+28>>2]-g;N[d+32>>2]=N[d+32>>2]-f;N[d+36>>2]=N[d+36>>2]-f;A=N[d>>2];K=N[d+4>>2];i=N[d+12>>2];n=TE(i,i>>31,f,I);L=Pa;i=N[d+8>>2];q=TE(i,i>>31,g,J);i=q+n|0;n=Pa+L|0;N[d>>2]=A-i;N[d+4>>2]=K-((i>>>0>A>>>0)+(i>>>0>>0?n+1|0:n)|0);d=d+40|0;if((B|0)!=(d|0)){continue}break}}i=u-g|0;N[c+24>>2]=i;N[c+16>>2]=t-g;N[c+28>>2]=w-f;N[c+20>>2]=v-f;d=N[c+52>>2];g=N[c+44>>2]+h|0;h:{if(d>>>0>>0){d=d<<1;f=d>>>0<=64?64:d;while(1){d=f;f=d<<1;if(d>>>0>>0){continue}break}f=$a(N[c+36>>2],T(d,40));if(!f){break h}N[c+52>>2]=d;N[c+36>>2]=f;i=N[c+24>>2];h=N[c+40>>2]}d=N[c+56>>2];N[e+144>>2]=d;f=h-d|0;N[e+148>>2]=f;N[e+136>>2]=0;N[e+140>>2]=0;g=k<<6;if((g|0)<=(i|0)){h=N[c+32>>2];Gi(h,d,f,h,e+144|0,N[c+36>>2],e+152|0,e+136|0,g);N[e+136>>2]=0;N[e+140>>2]=0;f=N[e+148>>2];d=N[e+144>>2]}g=j<<6;if((g|0)<=N[c+28>>2]){h=N[c+32>>2];Fi(h,d,f,h,e+144|0,N[c+36>>2],e+152|0,e+136|0,g);N[e+136>>2]=0;N[e+140>>2]=0;f=N[e+148>>2];d=N[e+144>>2]}if(N[c+16>>2]<=0){g=N[c+32>>2];Gi(g,d,f,N[c+36>>2],e+152|0,g,e+144|0,e+136|0,0);f=N[e+148>>2];d=N[e+144>>2]}if(N[c+20>>2]<=0){g=N[c+32>>2];Fi(g,d,f,N[c+36>>2],e+152|0,g,e+144|0,e+136|0,0);f=N[e+148>>2];d=N[e+144>>2]}N[c+44>>2]=0;N[c+40>>2]=d+f;if(Ei(H,s,r,k,j,k,0,e+144|0,e+136|0)){break d}}mb(N[l>>2],2,25211,0);c=N[b+20>>2];if(!c){break e}_a(N[c-4>>2])}N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}_a(N[e+32>>2]);_a(N[e+36>>2]);_a(N[e+56>>2]);_a(N[e+60>>2]);La=e+160|0;a=N[a>>2];return((N[a+36>>2]+(N[a+12>>2]+T(N[b+12>>2],N[b+16>>2])|0)|0)+(N[a+4>>2]+N[a+28>>2]<<3)|0)+140|0}ba(21974,18126,726,13210);F()}ba(24293,18126,727,13210);F()}function UD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=U(0),r=U(0),s=0,t=0;p=La-48|0;La=p;h=N[b>>2];b=N[h+48>>2];a:{if(b){break a}while(1){b=N[h>>2];if(!b){b=275552;break a}i=db(1,28);if(!i){b=275552;N[h+48>>2]=275552;break a}b=Kg(i,b);if(!N[h+48>>2]){N[h+48>>2]=b;break a}ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b);b=N[h+48>>2];if(!b){continue}break}}b:{if(N[b+4>>2]){h=275552;i=N[b+24>>2];i=i?i:275552;i=Q[i+16>>2]<24?275552:N[i+12>>2];l=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);if(l){h=i+(l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24))|0}c:{if(!N[a+84>>2]){break c}i=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(i){h=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))+h|0}else{h=275552}h=O[h+2|0]|O[h+3|0]<<8;j=h<<8|h>>>8;i=j&65535;o=kb(i<<2);if(!h|!o){break c}i=i>>>0<=1?1:i;l=i&7;h=0;if((j&65535)>>>0>=8){j=i&65528;while(1){i=h<<2;N[i+o>>2]=1073741824;N[(i|4)+o>>2]=1073741824;N[(i|8)+o>>2]=1073741824;N[(i|12)+o>>2]=1073741824;N[(i|16)+o>>2]=1073741824;N[(i|20)+o>>2]=1073741824;N[(i|24)+o>>2]=1073741824;N[(i|28)+o>>2]=1073741824;h=h+8|0;if((j|0)!=(h|0)){continue}break}}if(!l){break c}while(1){N[(h<<2)+o>>2]=1073741824;h=h+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(c){while(1){k=N[b+4>>2];m=N[d>>2];d:{if(k>>>0>m>>>0){h=N[b>>2]-1|0;h=h>>>0>>0?h:m;if((h|0)<0){h=275552}else{k=N[b+4>>2];i=N[b+20>>2];h=N[(i?i:275552)+12>>2]+(h<<2)|0}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;break d}h=0;if(N[b+8>>2]){break d}h=N[b+16>>2]}e:{if(k>>>0<=m>>>0){break e}i=N[a+84>>2];if(!i){break e}l=N[b+24>>2];j=l?l:275552;n=N[j+16>>2];if(n){k=275552;l=N[a+88>>2];j=n>>>0<24?275552:N[j+12>>2];n=O[j+8|0]|O[j+9|0]<<8|(O[j+10|0]<<16|O[j+11|0]<<24);if(n){n=j+(n<<24|(n&65280)<<8|(n>>>8&65280|n>>>24))|0}else{n=275552}n=md(n,m);q=U(h>>>0);m=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);if(m){k=j+(m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))|0}h=O[k+6|0]|O[k+7|0]<<8;j=(h<<8|h>>>8)&65535;h=n>>>16|0;if(j>>>0<=h>>>0){r=U(.5)}else{h=(h<<2)+k|0;h=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);if(h){h=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+k|0}else{h=275552}m=n&65535;j=O[k+2|0]|O[k+3|0]<<8|(O[k+4|0]<<16|O[k+5|0]<<24);if(j){j=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))+k|0}else{j=275552}r=U(Fc(h,m,l,i,j,o)+U(.5))}q=U(U(Z(r))+q);if(q=U(0)){h=~~q>>>0;break e}h=0;break e}i=N[a+24>>2];h=N[i+108>>2];f:{if(h){break f}while(1){h=N[i+48>>2];if(!h){h=275552;break f}l=db(1,28);if(!l){h=275552;N[i+108>>2]=275552;break f}h=Je(l,h);if(!N[i+108>>2]){N[i+108>>2]=h;break f}ab(N[h+24>>2]);_a(h);h=N[i+108>>2];if(!h){continue}break}}h=fq(h,a,m,1)}h=0-h<<16>>16;i=TE(N[a+64>>2],N[a+68>>2],h,h>>31);h=Pa;i=i+32768|0;N[f>>2]=((i>>>0<32768?h+1|0:h)&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;s=s+1|0;if((s|0)!=(c|0)){continue}break}}_a(o);break b}b=p;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;d=N[a+96>>2];e=N[d+20>>2];h=N[a+100>>2];d=N[d+12>>2];if(d){d=N[d>>2]}else{d=0}g:{if(Qa[e|0](a,h,b,d)|0){b=N[p>>2];a=N[p+4>>2];break g}a=N[a+32>>2];t=+(a|0)*.8;h:{if(V(t)<2147483648){b=~~t;break h}b=-2147483648}a=b-a|0}if(!c){break b}a=a-b|0;if(c>>>0>=8){b=c&-8;h=0;while(1){N[f>>2]=a;d=f+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;f=d+g|0;h=h+8|0;if((b|0)!=(h|0)){continue}break}}b=c&7;if(!b){break b}h=0;while(1){N[f>>2]=a;f=f+g|0;h=h+1|0;if((b|0)!=(h|0)){continue}break}}La=p+48|0}function Bz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-384|0;La=d;a:{b:{switch(N[a>>2]){case 0:f=b;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);e=0|b;hb(d+208|0,f^e^2025677871,b^c^-1602871964,0,0,e^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+176|0,(g|c)^(N[d+200>>2]^N[d+192>>2])^2025677871,N[d+204>>2]^N[d+196>>2]^b^-1602871964,0,0,(b|g)^-1598805797,c^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805805,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);b=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);b=O[a+40|0]|O[a+41|0]<<8|(O[a+42|0]<<16|O[a+43|0]<<24);a=b;hb(d+16|0,a^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);b=N[d+8>>2]^N[d>>2];c=N[d+12>>2]^N[d+4>>2];break a;case 1:b=so(N[a+8>>2],N[a+12>>2],b,c);c=Pa;break a;case 2:break b;default:break a}}e=b;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+368|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+352|0,N[d+376>>2]^N[d+368>>2],N[d+380>>2]^N[d+372>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+336|0,b^(N[d+360>>2]^N[d+352>>2])^2025677871,N[d+364>>2]^N[d+356>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+320|0,N[d+344>>2]^N[d+336>>2],N[d+348>>2]^N[d+340>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+304|0,b^(N[d+328>>2]^N[d+320>>2])^2025677871,N[d+332>>2]^N[d+324>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+288|0,N[d+312>>2]^N[d+304>>2],N[d+316>>2]^N[d+308>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+272|0,b^(N[d+296>>2]^N[d+288>>2])^2025677871,N[d+300>>2]^N[d+292>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);a=b;hb(d+240|0,a^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=N[d+232>>2]^N[d+224>>2];c=N[d+236>>2]^N[d+228>>2]}La=d+384|0;Pa=c;return b|0}function Fg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;c=N[a+36>>2];s=N[a+40>>2];m=N[a+28>>2];t=N[a+24>>2];v=m+T(t,40)|0;a:{if(b){w=8;if((t|0)<=0){break a}a=m;while(1){N[a+24>>2]=N[a+20>>2];N[a+28>>2]=N[a+8>>2];a=a+40|0;if(v>>>0>a>>>0){continue}break}break a}w=4;if((t|0)<=0){break a}a=m;while(1){N[a+24>>2]=N[a+16>>2];N[a+28>>2]=N[a+4>>2];a=a+40|0;if(v>>>0>a>>>0){continue}break}}if((c|0)>0){A=(c<<2)+s|0;while(1){l=N[s>>2];a=l;h=N[a+36>>2];b:{if(a>>>0>h>>>0){break b}c:{while(1){d:{if(P[a>>1]&w){c=a;e:while(1){e=c;k=h>>>0<=e>>>0;if(!k){c=e+40|0;if(P[e+40>>1]&w){continue}}i=1;f:{g:{g=e+40|0;c=g;d=h>>>0>>0;if(!d){while(1){if(P[c>>1]&w){break g}i=i+1|0;c=e+T(i,40)|0;if(h>>>0>=c>>>0){continue}break}}if((a|0)!=(e|0)){break f}c=N[a+24>>2];g=N[a+28>>2];if((c|0)==(g|0)){break b}g=c-g|0;if(a>>>0>l>>>0){break d}break c}if(i>>>0<2){continue}i=e+T(i,40)|0;q=i-40|0;k=N[e+28>>2]>N[i+28>>2];i=k?e:c;d=N[i+24>>2];i=N[i+28>>2];r=d-i|0;e=k?c:e;k=N[e+24>>2];e=N[e+28>>2];o=k-e|0;if(!((d|0)!=(k|0)&(e|0)!=(i|0))){while(1){d=N[g+28>>2];N[g+24>>2]=(e|0)<(d|0)?(d|0)<(i|0)?k:d+r|0:d+o|0;g=g+40|0;if(q>>>0>=g>>>0){continue}continue e}}p=fb(d-k|0,i-e|0);d=p>>31;d=(d^p)-d|0;y=d&65535;z=d>>>16|0;x=d>>>8|0;while(1){f=N[g+28>>2];h:{if((f|0)<=(e|0)){j=f+o|0;break h}j=f+r|0;if((f|0)>=(i|0)){break h}n=f-e|0;f=n>>31;f=(f^n)-f|0;i:{if(f+x>>>0<=8190){j=T(d,f)+32768>>>16|0;break i}j=f&65535;j=T(z,j)+T(d,f>>>16|0)+(T(y,j)+32768>>>16)|0}f=j;u=0-f|0;f=n>>31|1;j=k+((((p|0)<0?0-f|0:f)|0)<0?u:j)|0}N[g+24>>2]=j;g=g+40|0;if(q>>>0>=g>>>0){continue}break}continue}break}j:{if(d|k){break j}c=N[e+28>>2]>N[a+28>>2];i=c?e:a;d=N[i+24>>2];i=N[i+28>>2];q=d-i|0;c=c?a:e;k=N[c+24>>2];c=N[c+28>>2];r=k-c|0;if(!((d|0)!=(k|0)&(c|0)!=(i|0))){while(1){d=N[g+28>>2];N[g+24>>2]=(d|0)>(c|0)?(d|0)<(i|0)?k:d+q|0:d+r|0;g=g+40|0;if(h>>>0>=g>>>0){continue}break j}}o=fb(d-k|0,i-c|0);d=o>>31;d=(d^o)-d|0;p=d&65535;y=d>>>16|0;z=d>>>8|0;while(1){f=N[g+28>>2];k:{if((f|0)<=(c|0)){j=f+r|0;break k}j=f+q|0;if((f|0)>=(i|0)){break k}n=f-c|0;f=n>>31;f=(f^n)-f|0;l:{if(f+z>>>0<=8190){j=T(d,f)+32768>>>16|0;break l}x=f&65535;j=T(x,y)+T(d,f>>>16|0)+(T(p,x)+32768>>>16)|0}f=j;u=0-f|0;f=n>>31|1;j=k+((((o|0)<0?0-f|0:f)|0)<0?u:j)|0}N[g+24>>2]=j;g=g+40|0;if(h>>>0>=g>>>0){continue}break}}if(a>>>0<=m>>>0){break b}k=a-40|0;if(k>>>0>>0){break b}g=N[e+28>>2]>N[a+28>>2];c=g?e:a;h=N[c+24>>2];c=N[c+28>>2];d=h-c|0;a=g?a:e;g=N[a+24>>2];a=N[a+28>>2];f=g-a|0;if(!((h|0)!=(g|0)&(a|0)!=(c|0))){while(1){e=N[l+28>>2];N[l+24>>2]=(a|0)<(e|0)?(e|0)<(c|0)?g:e+d|0:e+f|0;l=l+40|0;if(k>>>0>=l>>>0){continue}break b}}n=fb(h-g|0,c-a|0);e=n>>31;e=(e^n)-e|0;q=e&65535;r=e>>>16|0;o=e>>>8|0;while(1){h=N[l+28>>2];m:{if((h|0)<=(a|0)){j=f+h|0;break m}j=d+h|0;if((c|0)<=(h|0)){break m}i=h-a|0;h=i>>31;h=(h^i)-h|0;n:{if(h+o>>>0<=8190){j=T(e,h)+32768>>>16|0;break n}p=h&65535;j=T(p,r)+T(e,h>>>16|0)+(T(q,p)+32768>>>16)|0}h=j;u=0-h|0;h=i>>31|1;j=g+((((n|0)<0?0-h|0:h)|0)<0?u:j)|0}N[l+24>>2]=j;l=l+40|0;if(k>>>0>=l>>>0){continue}break}break b}a=a+40|0;if(h>>>0>=a>>>0){continue}break b}break}while(1){N[l+24>>2]=g+N[l+28>>2];l=l+40|0;if(l>>>0>>0){continue}break}}c=a+40|0;if(h>>>0>>0){break b}while(1){N[a- -64>>2]=g+N[a+68>>2];a=c;c=a+40|0;if(h>>>0>=c>>>0){continue}break}}s=s+4|0;if(A>>>0>s>>>0){continue}break}}o:{if(b){if((t|0)<=0){break o}while(1){N[m+20>>2]=N[m+24>>2];m=m+40|0;if(v>>>0>m>>>0){continue}break}break o}if((t|0)<=0){break o}while(1){N[m+16>>2]=N[m+24>>2];m=m+40|0;if(v>>>0>m>>>0){continue}break}}}function fh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break b}h=N[b+12>>2];c=h-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65536){break b}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break b}h=h-8|0;N[b+12>>2]=h;if((h|0)<=0){break b}d=1;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!c){break b}d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);l=d>>>0<=1?1:d;m=d-1|0;a=a+8|0;while(1){c:{if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<8){break c}i=N[b+12>>2];d=i-8|0;N[b+12>>2]=d;if((d|0)<=0){break c}c=N[b+32>>2];d=N[c+12>>2];N[b+4>>2]=d;c=N[c+16>>2];e=c+d|0;N[b+8>>2]=e;if((c|0)<0){break a}d:{e:{f:{c=j>>>0>>0?a:0;if(c){if(c>>>0>>0&c>>>0>=d>>>0){break f}N[b+4>>2]=0;N[b+8>>2]=0;d=0;e=0;break e}if(a>>>0>=d>>>0){break e}k=0;break d}N[b+4>>2]=c;e=e-c|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=c+(d>>>0>e>>>0?e:d)|0;N[b+8>>2]=e;d=c}k=0;if(a>>>0>e>>>0){break d}h=e-a|0;if(h>>>0<8){break d}f=i-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(i>>>0<8|h>>>0>>0){break d}c=f-i|0;N[b+12>>2]=c;if((c|0)<=0){break d}g:{h:{switch(O[a+5|0]){case 0:g=d;d=a+8|0;if(g>>>0>d>>>0|d>>>0>e>>>0|e-d>>>0<8){break d}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break d}d=O[d|0]|O[d+1|0]<<8;if(!d){break g}h=a+16|0;if(h>>>0>e>>>0){break d}d=T((d<<8|d>>>8)&65535,6);if(d>>>0>e-h>>>0){break d}d=c-d|0;N[b+12>>2]=d;if((d|0)>0){break g}break d;case 1:if(a>>>0>>0|h>>>0<18){break d}d=c-18|0;N[b+12>>2]=d;if((d|0)<=0){break d}if(!qh(a+8|0,b)){break d}d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break g;case 2:if(a>>>0>>0|h>>>0<16){break d}f=c-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=a+10|0;if(f>>>0>e>>>0|e-f>>>0<2){break d}f=c-18|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[a+10|0]|O[a+11|0]<<8;f=((f<<8|f>>>8)&65535)+a|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<4){break d}g=c-22|0;N[b+12>>2]=g;if((g|0)<=0){break d}g=f+2|0;if(g>>>0>e>>>0|e-g>>>0<2){break d}c=c-24|0;N[b+12>>2]=c;if((c|0)<=0){break d}g=O[g|0]|O[g+1|0]<<8;if(g){f=f+4|0;if(f>>>0>e>>>0){break d}n=e-f|0;f=((g<<8|g>>>8)&65535)<<1;if(n>>>0>>0){break d}c=c-f|0;N[b+12>>2]=c;if((c|0)<=0){break d}}f=a+12|0;if(f>>>0>e>>>0|e-f>>>0<2){break d}N[b+12>>2]=c-2;if((c|0)<3){break d}g=d;d=O[a+12|0]|O[a+13|0]<<8;f=((d<<8|d>>>8)&65535)+a|0;if(g>>>0>f>>>0|e>>>0>>0|e-f>>>0<4){break d}N[b+12>>2]=c-6;if((c|0)<7){break d}g=f+2|0;if(g>>>0>e>>>0|e-g>>>0<2){break d}d=c-8|0;N[b+12>>2]=d;if((c|0)<9){break d}c=O[g|0]|O[g+1|0]<<8;if(c){f=f+4|0;if(f>>>0>e>>>0){break d}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>e-f>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}c=O[a+14|0]|O[a+15|0]<<8;if(!c){break g}c=(c<<8|c>>>8)&65535;if(c>>>0>h>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break g}break d;case 3:break h;default:break g}}if(a>>>0>>0|h>>>0<14){break d}d=c-14|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[a+8|0]|O[a+9|0]<<8;c=T(O[a+12|0],O[a+11|0])+(O[a+10|0]+((c<<8|c>>>8)&65535)<<1)|0;if(!c){break g}h=a+14|0;if(h>>>0>e>>>0|c>>>0>e-h>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}a=a+i|0;k=1}d=N[b+32>>2];i=N[d+12>>2];N[b+4>>2]=i;d=N[d+16>>2];e=d+i|0;N[b+8>>2]=e;if((d|0)<0){break a}if(!k){break c}d=1;j=j+1|0;if((l|0)!=(j|0)){continue}break b}break}d=0}return d}ba(16656,14279,195,9642);F()}function Tl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-16|0;La=j;d=N[a+104>>2];b=Qa[N[a+516>>2]](a,1886352244,d,j+4|0)|0;a:{if(b){break a}e=N[d+8>>2];f=e+32|0;h=N[a+476>>2];c=N[d+20>>2];b:{if(c){b=85;if(!(Qa[c|0](d,f,0,0)|0)){break b}break a}b=85;if(Q[d+4>>2]>>0){break a}}N[d+8>>2]=f;c:{d:{e:{c=N[j+4>>2];if(!((h|0)!=131072|c>>>0<34)){h=N[d+28>>2];N[j+8>>2]=0;f:{if(Q[d+4>>2]<=e+33>>>0){break f}e=N[d+20>>2];if(e){b=j+12|0;if((Qa[e|0](d,f,b,2)|0)!=2){break f}f=N[d+8>>2];break e}b=N[d>>2];if(b){b=b+f|0;break e}N[d+8>>2]=f+2;e=0;break d}b=85;break c}b=3;if((h|0)!=151552|c>>>0<34){break c}g:{h:{i:{if(Q[d+4>>2]<=e+33>>>0){break i}i=N[d+28>>2];e=N[d+20>>2];j:{if(e){c=j+14|0;if((Qa[e|0](d,f,c,2)|0)!=2){break i}f=N[d+8>>2];break j}c=N[d>>2];if(!c){break h}c=c+f|0}c=O[c|0]|O[c+1|0]<<8;c=c<<8|c>>>8;break g}b=85;break c}c=0}N[d+8>>2]=f+2;e=c&65535;if(P[a+264>>1]<=(c-1&65535)>>>0|e>>>0>258){break c}h=Qa[N[i+4>>2]](i,e)|0;if(!h){b=64;break c}f=0;G(h,0,e);k:{b=Yb(d,h,e);if(!b){while(1){if(e>>>0>=L[f+h|0]+f>>>0){f=f+1|0;if((e|0)!=(f|0)){continue}break k}break}b=3}Qa[N[i+8>>2]](i,h);break c}N[a+640>>2]=h;M[a+636>>1]=c;b=0;break c}e=O[b|0]|O[b+1|0]<<8;N[d+8>>2]=f+2;b=3;n=e<<8|e>>>8;e=n&65535;if(e>>>0>P[a+264>>1]){break c}}b=3;m=c-34|0;k=e<<1;if(m>>>0>>0){break c}l=lb(h,2,0,e,0,j+8|0);l:{m:{b=N[j+8>>2];if(b){break m}b=Bb(d,k);N[j+8>>2]=b;if(b){break m}c=n&65535;n:{o:{if(c){b=N[d+32>>2];i=N[d+36>>2];f=0;if((c|0)!=1){o=e&65534;while(1){p:{if(i>>>0<=b+1>>>0){c=0;break p}c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[(f<<1)+l>>1]=c;c=0;if(i>>>0>b+1>>>0){c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[((f|1)<<1)+l>>1]=c;f=f+2|0;g=g+2|0;if((o|0)!=(g|0)){continue}break}}if(e&1){c=0;if(i>>>0>b+1>>>0){c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[(f<<1)+l>>1]=c}if(N[d+20>>2]){b=N[d>>2];if(b){c=N[d+28>>2];Qa[N[c+8>>2]](c,b)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0;i=e&1;q:{if((n&65535)==1){c=0;f=0;break q}c=e&65534;b=0;f=0;while(1){e=b<<1;g=P[(e|2)+l>>1];o=g-257|0;e=P[e+l>>1];p=e-257|0;f=e>>>0>257?(f&65535)<(p|0)?p:f:f;f=g>>>0>257?(o|0)>(f&65535)?o:f:f;b=b+2|0;if((c|0)!=(b|0)){continue}break}}if(i){b=P[(c<<1)+l>>1];c=b-257|0;f=b>>>0>257?(c|0)>(f&65535)?c:f:f}if(!(f&65535)){break o}e=m-k|0;c=e+1|0;r:{if(e>>>0<=2147483646){i=Qa[N[h+4>>2]](h,c)|0;if(i){break r}b=64;break l}b=6;if(c){break l}i=0}b=Yb(d,i,e);N[j+8>>2]=b;s:{if(b){break s}c=0;k=f&65535;d=lb(h,4,0,k,0,j+8|0);t:{b=N[j+8>>2];if(b){break t}u:{if(e){b=0;while(1){g=b+i|0;m=O[g|0];if(m>>>0>=64){b=3;N[j+8>>2]=3;break t}L[g|0]=0;N[(c<<2)+d>>2]=g+1;c=c+1|0;g=k>>>0>c>>>0;b=(b+m|0)+1|0;if(g&e>>>0>b>>>0){continue}break}L[e+i|0]=0;if(g){break u}break n}L[i|0]=0;e=1;g=Qa[N[h+12>>2]](h,1,2,i)|0;b=!g<<6;N[j+8>>2]=b;i=g?g:i;if(!g){break t}L[i+1|0]=0}g=c&65535;if(g>>>0>=(f&65535)>>>0){break n}b=e+i|0;e=k+(g^-1)|0;h=k-c&7;if(h){c=0;while(1){N[(g<<2)+d>>2]=b;g=g+1|0;c=c+1|0;if((h|0)!=(c|0)){continue}break}}if(e>>>0<7){break n}while(1){c=(g<<2)+d|0;N[c>>2]=b;N[c+4>>2]=b;N[c+8>>2]=b;N[c+12>>2]=b;N[c+16>>2]=b;N[c+20>>2]=b;N[c+24>>2]=b;N[c+28>>2]=b;g=g+8|0;if((k|0)!=(g|0)){continue}break}break n}if(!d){break s}Qa[N[h+8>>2]](h,d)}if(!i){break m}Qa[N[h+8>>2]](h,i);break m}if(N[d+20>>2]){b=N[d>>2];if(b){c=N[d+28>>2];Qa[N[c+8>>2]](c,b)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0}f=0;d=0}N[a+644>>2]=d;N[a+640>>2]=l;M[a+638>>1]=f;M[a+636>>1]=n;b=0;break c}if(!l){break c}}Qa[N[h+8>>2]](h,l)}L[a+632|0]=1}La=j+16|0;return b}function pz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=La-384|0;La=d;e=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);hb(d+368|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+352|0,N[d+376>>2]^N[d+368>>2],N[d+380>>2]^N[d+372>>2],0,0,-1598805793,-419201327,0,0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);hb(d+336|0,b^(N[d+360>>2]^N[d+352>>2])^2025677871,N[d+364>>2]^N[d+356>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+320|0,N[d+344>>2]^N[d+336>>2],N[d+348>>2]^N[d+340>>2],0,0,-1598805793,-419201327,0,0);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+304|0,b^(N[d+328>>2]^N[d+320>>2])^2025677871,N[d+332>>2]^N[d+324>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+288|0,N[d+312>>2]^N[d+304>>2],N[d+316>>2]^N[d+308>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+272|0,b^(N[d+296>>2]^N[d+288>>2])^2025677871,N[d+300>>2]^N[d+292>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+240|0,b^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+208|0,b^(N[d+232>>2]^N[d+224>>2])^2025677871,N[d+236>>2]^N[d+228>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=N[d+200>>2]^N[d+192>>2];c=N[d+204>>2]^N[d+196>>2];g=N[a+24>>2];if(g){h=N[a+28>>2];while(1){a=b;e=T(f,24)+h|0;b=e;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);hb(d+176|0,a^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805793,-419201327,0,0);b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=a;hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[e+16|0]|O[e+17|0]<<8|(O[e+18|0]<<16|O[e+19|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);b=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);b=N[d+8>>2]^N[d>>2];c=N[d+12>>2]^N[d+4>>2];f=f+1|0;if((g|0)!=(f|0)){continue}break}}La=d+384|0;Pa=c;return b|0}function Rm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-16|0;La=g;N[b+12>>2]=0;N[b>>2]=c;h=c+d|0;N[b+8>>2]=h;Qa[N[b+28>>2]](b);c=N[b>>2];a:{b:{if(h>>>0<=c>>>0){break b}k=a+132|0;m=a+164|0;n=a+168|0;o=a+464|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=O[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(h|0)){break h}if(d>>>0>=h>>>0){break d}switch(O[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(h|0)){break m}if(d>>>0>=h>>>0){break d}switch(O[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(bb(c,16013,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){Qa[N[b+32>>2]](b);e=1;l=c;if(!N[b+12>>2]){break c}break b}f=c+6|0;if(!((d|0)!=82|f>>>0>=h>>>0)){if(!e|O[c+1|0]!=68){break d}N[b>>2]=l;e=N[N[a+128>>2]+52>>2];d=N[b+8>>2];Qa[N[b+28>>2]](b);n:{c=N[b>>2];o:{if(c>>>0>=d>>>0|O[c|0]-48>>>0>9){break o}c=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((c|0)<0){break o}f=d;d=N[b>>2];if((c|0)<(f+(d^-1)|0)){break n}}c=3;if(e){break a}break f}N[b>>2]=(c+d|0)+1;e=0;if(!N[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|f>>>0>=h>>>0)){if(!e|O[c+1|0]!=124){break d}N[b>>2]=l;e=N[N[a+128>>2]+52>>2];d=N[b+8>>2];Qa[N[b+28>>2]](b);p:{c=N[b>>2];q:{if(c>>>0>=d>>>0|O[c|0]-48>>>0>9){break q}c=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((c|0)<0){break q}f=d;d=N[b>>2];if((c|0)<(f+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}N[b>>2]=(c+d|0)+1;e=0;if(!N[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=h>>>0){break d}i=c+1|0;N[b>>2]=i;Qa[N[b+32>>2]](b);if(N[b+12>>2]){break b}e=0;c=N[b>>2];if((c|0)==(i|0)){break c}j=c-i|0;if(j>>>0>21|c>>>0>=h>>>0){break c}p=O[i|0];c=28752;f=37600;while(1){d=c;r:{if(O[f|0]!=(p|0)){break r}if((nb(f)|0)!=(j|0)){break r}if(Mb(i,f,j)){break r}i=N[c+32>>2];c=N[b+376>>2];if(!(i&(c&1?2:1))){break c}if(c&2){if(cb(f,11012)){break c}}f=N[a+532>>2];if(f){c=N[f>>2]?f:0}else{c=0}i=N[d+8>>2];s:{if((i|0)==11){Qa[N[d+12>>2]](a,b);c=N[b+12>>2];break s}t:{u:{v:{w:{x:{y:{z:{switch(N[d+4>>2]-2|0){case 1:N[g+12>>2]=k;if(c){break y}e=g+12|0;break u;case 2:N[g+12>>2]=n;e=g+12|0;if(!c){break u}e=c+212|0;break x;case 3:N[g+12>>2]=o;e=g+12|0;if(!c){break u}e=c+284|0;break x;case 4:N[g+12>>2]=b;e=g+12|0;break u;case 5:N[g+12>>2]=a;e=g+12|0;break u;case 6:N[g+12>>2]=f;e=g+12|0;c=0;break w;case 0:break v;default:break z}}N[g+12>>2]=k;e=g+12|0;break u}e=c+144|0}f=N[e>>2];c=N[c>>2]}if(f){break t}break g}N[g+12>>2]=m;e=g+12|0}c=0}if(i-9>>>0<=1){c=Qa[N[b+68>>2]](b,d,e,c,0)|0;break s}c=Qa[N[b+64>>2]](b,d,e,c,0)|0}N[b+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;f=N[d+36>>2];if(f){continue}break}break c}if(!bb(c,17782,5)){break b}break d}e=0;N[b+12>>2]=0;break c}N[b+12>>2]=3;break a}A:{d=c+14|0;if((d|0)==(h|0)){break A}if(d>>>0>=h>>>0){break d}switch(O[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break A;default:break d}}if(bb(c,7876,13)){break d}d=N[b+376>>2];if(d&1){N[b+376>>2]=d|2}N[b>>2]=c+13;break c}Qa[N[b+32>>2]](b);e=0;if(N[b+12>>2]){break b}}Qa[N[b+28>>2]](b);c=N[b>>2];if(h>>>0>c>>>0){continue}break}}c=N[b+12>>2]}La=g+16|0;return c}function eu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-176|0;La=h;a:{b:{if(bb(a,19553,13)){break b}c:{switch(O[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}b=N[e+32>>2];d:{e:{if(!b|!N[b+72>>2]){break e}a=N[b+92>>2];N[h+32>>2]=19320;g=N[a+20>>2];c=g+((Qa[N[a+12>>2]](h+32|0)>>>0)%Q[a+4>>2]<<2)|0;f=N[c>>2];f:{if(!f){break f}while(1){if(Qa[N[a+16>>2]](f,h+32|0)|0){break f}c=c-4|0;if(g>>>0>c>>>0){c=(g+(N[a+4>>2]<<2)|0)-4|0}f=N[c>>2];if(f){continue}break}}if(!N[c>>2]){break e}if(N[b+80>>2]){break d}}b=N[e+32>>2];a=M[b+12>>1];N[b+40>>2]=a;N[h+16>>2]=a;a=h+32|0;Sf(a,h+16|0);c=Ld(N[e+32>>2],19320,a);if(c){break a}}b=N[e+32>>2];g:{h:{if(!b|!N[b+72>>2]){break h}a=N[b+92>>2];N[h+168>>2]=19275;g=N[a+20>>2];c=g+((Qa[N[a+12>>2]](h+168|0)>>>0)%Q[a+4>>2]<<2)|0;f=N[c>>2];i:{if(!f){break i}while(1){if(Qa[N[a+16>>2]](f,h+168|0)|0){break i}c=c-4|0;if(g>>>0>c>>>0){c=(g+(N[a+4>>2]<<2)|0)-4|0}f=N[c>>2];if(f){continue}break}}if(!N[c>>2]){break h}if(N[b+80>>2]){break g}}b=N[e+32>>2];a=M[b+14>>1];N[b+44>>2]=a;N[h>>2]=a;a=h+32|0;Sf(a,h);c=Ld(N[e+32>>2],19275,a);if(c){break a}}N[e>>2]=N[e>>2]&-17;N[d>>2]=173;c=0;break a}j:{if(bb(a,19567,21)){break j}c=0;switch(O[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break j}}k:{if(bb(a,19233,7)){break k}c=a+7|0;l:{switch(O[a+7|0]){case 9:case 10:case 13:case 32:L[a+7|0]=0;c=a+8|0;break;case 0:break l;default:break k}}c=Ld(N[e+32>>2],a,c);break a}i=N[e+32>>2];c=a;m:{while(1){n:{g=-1;o:{p:{d=O[c|0];switch(d|0){case 0:break m;case 9:break n;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break o;default:break p}}if((d|0)==32){break n}}c=c+1|0;continue}break}L[c|0]=0;g=d}q:{if(!a|!O[a|0]){break q}N[h+32>>2]=a;k=N[i+132>>2];f=k+((Qa[N[i+124>>2]](h+32|0)>>>0)%Q[i+116>>2]<<2)|0;d=N[f>>2];r:{if(!d){break r}while(1){if(Qa[N[i+128>>2]](d,h+32|0)|0){break r}f=f-4|0;if(k>>>0>f>>>0){f=(k+(N[i+116>>2]<<2)|0)-4|0}d=N[f>>2];if(d){continue}break}}d=N[f>>2];if(!d){break q}d=N[d+4>>2];if(d>>>0>=83){l=(N[i+104>>2]+(d<<4)|0)-1328|0;break q}l=(d<<4)+43712|0}if((g|0)!=-1){L[c|0]=g}if(!(N[l+4>>2]!=1?l:0)){if(O[c|0]){L[c|0]=0;c=c+1|0}g=a+b|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}b=((b|0)==34)+c|0;s:{if(b>>>0>=g>>>0){break s}while(1){t:{u:{g=g-1|0;switch(O[g|0]-9|0){case 25:break t;case 0:case 23:break u;default:break s}}L[g|0]=0;if(b>>>0>>0){continue}break s}break}L[g|0]=0}c=Ld(N[e+32>>2],a,b);break a}c=Kc(e+40|0,22537,a,b);if(c){break a}k=N[N[e+40>>2]>>2];f=0;v:{w:{x:{a=N[e+48>>2];switch(a|0){case 0:break v;case 1:break x;default:break w}}N[e+48>>2]=0;break v}b=a-1|0;i=b&3;d=0;c=1;if(a-2>>>0>=3){l=b&-4;while(1){g=N[e+40>>2];a=f<<2;m=g+a|0;j=g;g=c<<2;N[m>>2]=N[j+g>>2];j=N[e+40>>2];N[j+(a|4)>>2]=N[(g+j|0)+4>>2];j=N[e+40>>2];N[j+(a|8)>>2]=N[(g+j|0)+8>>2];j=a|12;a=N[e+40>>2];N[j+a>>2]=N[(a+g|0)+12>>2];c=c+4|0;f=f+4|0;if((l|0)!=(f|0)){continue}break}}if(i){while(1){a=N[e+40>>2];N[a+(f<<2)>>2]=N[a+(c<<2)>>2];c=c+1|0;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}N[e+48>>2]=b;if(!b){f=0;break v}a=N[N[e+40>>2]>>2];c=0;d=0;while(1){f=N[N[e+40>>2]+(d<<2)>>2];g=O[f|0];if(g){while(1){L[a+c|0]=g;c=c+1|0;g=O[f+1|0];f=f+1|0;if(g){continue}break}b=N[e+48>>2]}d=d+1|0;if(d>>>0>>0){L[a+c|0]=32;c=c+1|0;b=N[e+48>>2]}if(b>>>0>d>>>0){continue}break}f=441572;if((a|0)==441572){break v}L[a+c|0]=0;f=a}c=Ld(N[e+32>>2],k,f)}La=h+176|0;return c|0}function Do(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=La-1840|0;La=h;a:{if(!a){i=N[2];p=0;break a}i=N[a+8>>2];p=0;if(!(i&8)){break a}p=P[a+340>>1]}b:{if(!(i&1)){break b}c:{d:{e:{if(p){while(1){q=6;o=h+1024|0;if(!(!a|!o|(!(O[a+8|0]&8)|P[a+340>>1]<=r>>>0))){q=0;i=T(r,20);f=N[a+356>>2];j=i+f|0;e=P[j+8>>1];d=0;f:{if(!e){break f}d=e;if(N[j+16>>2]){break f}k=N[a+104>>2];n=N[a+100>>2];g=Qa[N[n+4>>2]](n,d)|0;g:{if(!g){break g}G(g,0,d);N[j+16>>2]=g;d=N[(f+i|0)+12>>2];e=N[k+20>>2];h:{i:{j:{if(e){e=Qa[e|0](k,d,0,0)|0;g=N[j+16>>2];if(!e){break j}break i}if(d>>>0>Q[k+4>>2]){break h}}N[k+8>>2]=d;if(!Yb(k,g,P[j+8>>1])){d=P[j+8>>1];break f}g=N[j+16>>2]}if(!g){break g}}Qa[N[n+8>>2]](n,g)}N[j+16>>2]=0;M[j+8>>1]=0;d=0}M[o>>1]=P[j>>1];M[o+2>>1]=P[j+2>>1];M[o+4>>1]=P[j+4>>1];M[o+6>>1]=P[j+6>>1];e=N[j+16>>2];N[o+12>>2]=d&65535;N[o+8>>2]=e}k:{if(P[h+1024>>1]!=3|q){break k}l:{switch(P[h+1030>>1]-1|0){case 0:case 3:break l;default:break k}}e=N[h+1036>>2];m:{if((e|0)<=0){e=h;break m}g=N[h+1032>>2];q=e+g|0;n=1024;e=h;while(1){d=e;n:{o:{p:{e=g;i=q-e|0;if(i>>>0>=2){f=O[e|0];k=O[e+1|0]|f<<8;g=e+2|0;if((f&252)!=216){break o}i=i-2|0;if(i>>>0>=2){break p}}g=g+i|0;f=65533;break n}i=O[g|0]<<8;f=65533;if(i-57344>>>0<4294966272){break n}k=((i|O[e+3|0])+(k<<10)|0)-56613888|0;g=e+4|0}f=(k&-1024)==56320?65533:k}if(n>>>0<5){e=d;break m}q:{if(f>>>0<=127){L[d|0]=f;e=d+1|0;break q}if(f>>>0<=2047){L[d+1|0]=f&63|128;L[d|0]=f>>>6|192;e=d+2|0;break q}if(f>>>0<=65535){L[d+2|0]=f&63|128;L[d|0]=f>>>12|224;L[d+1|0]=f>>>6&63|128;e=d+3|0;break q}e=d;if(f>>>0>1114111){break q}L[d+3|0]=f&63|128;L[d|0]=f>>>18|240;L[d+2|0]=f>>>6&63|128;L[d+1|0]=f>>>12&63|128;e=d+4|0}L[e|0]=0;n=(d-e|0)+n|0;if(g>>>0>>0){continue}break}}L[e|0]=0;e=P[h+1030>>1];if(!((e|0)!=4|(m|0)>99)){e=Hb(h);N[(h+1440|0)+(m<<2)>>2]=e;if(!e){break d}m=m+1|0;break k}if((e|0)!=1|(l|0)>99){break k}e=Hb(h);N[(h+1040|0)+(l<<2)>>2]=e;if(!e){break d}l=l+1|0}r=r+1|0;if((p|0)!=(r|0)){continue}break}if(l){break e}}if(!b){b=N[a+20>>2];if(!b){break c}}b=Hb(b);N[h+1040>>2]=b;l=1;if(!b){break c}}g=0-(N[a+12>>2]&1)&110;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if(!(O[a+8|0]&8)){break B}e=N[a+96>>2];b=N[N[e>>2]+32>>2];if(!b){break B}b=Qa[b|0](e,16067)|0;if(!b){break B}b=Qa[N[b+4>>2]](a,2)|0;if(!b){break B}d=100;b=P[b+4>>1];switch(b|0){case 1:break r;case 9:break t;case 8:break u;case 7:break v;case 6:break w;case 5:break x;case 4:break y;case 3:break z;case 2:break A;case 0:break B;default:break s}}d=O[a+12|0]&2?700:400;break r}d=200;break r}d=300;break r}d=350;break r}d=400;break r}d=600;break r}d=700;break r}d=800;break r}d=900;break r}d=b}N[c+32>>2]=100;N[c+28>>2]=d;N[c+24>>2]=g;i=0;C:{D:{E:{e=N[a+128>>2];d=N[e+28>>2];switch(d+2|0){case 0:break C;case 2:break E;default:break D}}d=N[a+96>>2];b=N[N[d>>2]+32>>2];F:{if(!b){d=0;break F}d=Qa[b|0](d,15866)|0;e=N[a+128>>2]}N[e+28>>2]=d?d:-2}if(!d){break C}b=N[d>>2];if(!b){break C}i=Qa[b|0](a)|0}N[c+8>>2]=i;a=db(4,l);N[c>>2]=a;if(!a){break d}B(a,h+1040|0,l<<2);N[c+16>>2]=l;d=1;if(!m){break b}a=db(4,m);N[c+4>>2]=a;if(!a){break d}B(a,h+1440|0,m<<2);N[c+20>>2]=m;break b}d=0;if((l|0)<=0){break c}while(1){_a(N[(h+1040|0)+(d<<2)>>2]);d=d+1|0;if((l|0)!=(d|0)){continue}break}}d=0;if((m|0)>0){while(1){_a(N[(h+1440|0)+(d<<2)>>2]);d=d+1|0;if((m|0)!=(d|0)){continue}break}}_a(N[c>>2]);_a(N[c+4>>2]);N[c>>2]=0;N[c+4>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;d=0}La=h+1840|0;return d}function Bk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break b}d=N[b+12>>2];f=d-4|0;N[b+12>>2]=f;if((O[a|0]|O[a+1|0]<<8)!=256|(f|0)<=0){break b}f=a+4|0;if(f>>>0>e>>>0|e-f>>>0<4){break b}g=d-8|0;N[b+12>>2]=g;if((g|0)<=0){break b}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>536870911){break b}i=f<<3;if(i){h=a+8|0;if(h>>>0>e>>>0|i>>>0>e-h>>>0){break b}e=g-i|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!d){return 1}m=f>>>0<=1?1:f;i=0;while(1){f=N[b+4>>2];k=(i<<3)+a|0;e=k+8|0;if(f>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}g=N[b+12>>2];c=g-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);c:{if(!c){break c}if(c&128){break a}d:{e:{h=f;f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(h>>>0>f>>>0|d>>>0>>0|d-f>>>0<2){break e}c=g-6|0;N[b+12>>2]=c;if((c|0)<=0){break e}g=O[f|0]|O[f+1|0]<<8;if(!g){break c}h=f+2|0;if(h>>>0>d>>>0){break e}h=d-h|0;d=(g<<8|g>>>8)&65535;g=d<<2;if(h>>>0>>0){break e}c=c-g|0;N[b+12>>2]=c;if((c|0)<=0){break e}n=d>>>0<=1?1:d;g=0;while(1){l=N[b+4>>2];d=(f+(g<<2)|0)+2|0;if(l>>>0>d>>>0){break e}h=N[b+8>>2];if(h>>>0>>0|h-d>>>0<4){break e}j=N[b+12>>2];c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f:{if(!c){break f}if(c&128){break e}c=f+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g:{if(c>>>0>>0|c>>>0>h>>>0){break g}h=h-c|0;if(h>>>0<2){break g}l=j-6|0;N[b+12>>2]=l;if((l|0)<=0){break g}if((O[c|0]|O[c+1|0]<<8)!=256){break f}if(h>>>0<8){break g}c=j-14|0;N[b+12>>2]=c;if((c|0)>0){break f}}c=N[b+28>>2];if(c>>>0>31){break a}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break d}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}g=g+1|0;if((n|0)!=(g|0)){continue}break}break c}c=N[b+28>>2]}if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}g=N[b+4>>2];e=k+12|0;if(g>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}h=N[b+12>>2];c=h-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h:{if(!c){break h}if(c&128){break a}i:{j:{f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<4){break j}c=h-8|0;N[b+12>>2]=c;if((O[f|0]|O[f+1|0]<<8)!=256|(c|0)<=0){break j}c=f+4|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break j}g=h-10|0;N[b+12>>2]=g;if((g|0)<=0){break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break h}h=f+6|0;if(h>>>0>d>>>0){break j}h=d-h|0;d=(c<<8|c>>>8)&65535;c=T(d,6);if(h>>>0>>0){break j}c=g-c|0;N[b+12>>2]=c;if((c|0)<=0){break j}h=d>>>0<=1?1:d;g=0;while(1){j=f+T(g,6)|0;d=j+6|0;if(d>>>0>2]){break j}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<6){break j}k=N[b+12>>2];d=k-6|0;N[b+12>>2]=d;if((d|0)<=0){break j}d=j+8|0;if(d>>>0>c>>>0|c-d>>>0<4){break j}c=k-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);k:{if(!c){break k}if(c&128){break j}if(Ak(f+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,b,0)){break k}c=N[b+28>>2];if(c>>>0>31){break a}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}g=g+1|0;if((h|0)!=(g|0)){continue}break}break h}c=N[b+28>>2]}if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}c=1;i=i+1|0;if((m|0)!=(i|0)){continue}break}}return c}return 0}function gj(a,b,c,d){var e=U(0),f=0,g=0,h=0,i=0,j=U(0),k=U(0),l=U(0),m=U(0),n=U(0),o=0,p=0,q=0,r=0,s=U(0),t=U(0),u=U(0);g=La-80|0;La=g;a:{if(Q[a+16>>2]>c>>>0){N[g+76>>2]=0;N[g+68>>2]=0;N[g+72>>2]=0;f=N[a+20>>2];f=N[(f?f:275552)+12>>2];b:{if(O[a+12|0]){h=f+(c<<1)|0;f=O[h|0]|O[h+1|0]<<8;q=((f<<8|f>>>8)&65535)<<1;f=O[h+2|0]|O[h+3|0]<<8;h=((f<<8|f>>>8)&65535)<<1;break b}h=f+(c<<2)|0;f=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);q=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}f=N[d+4>>2];c:{d:{if(h>>>0>=q>>>0){o=N[a+24>>2];o=o?o:275552;if(h>>>0<=Q[o+16>>2]){break d}}N[g+48>>2]=0;N[g+40>>2]=0;N[g+44>>2]=0;N[g+56>>2]=-1;N[g+60>>2]=0;N[g+52>>2]=275552;break c}o=N[o+12>>2]+q|0;h=h-q|0;r=h>>>0<10?275552:o;p=O[r|0]|O[r+1|0]<<8;if(p){i=(p<<8|p>>>8)<<16>>16>0?1:(p|0)==65279?3:2}else{i=0}N[g+60>>2]=i;N[g+56>>2]=c;N[g+52>>2]=r;N[g+48>>2]=0;N[g+44>>2]=h;N[g+40>>2]=o}N[g+32>>2]=0;N[g+16>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;c=a;a=!f;q=fj(g+40|0,b,c,g+68|0,a,g+8|0,0);e:{if(!q){break e}i=N[g+72>>2];f:{if(a){break f}if(i>>>0<=3){break a}b=i-4|0;g:{if(!b){k=R[d+28>>2];l=R[d+20>>2];m=R[d+24>>2];n=R[d+16>>2];break g}k=R[d+28>>2];m=R[d+24>>2];l=R[d+20>>2];n=R[d+16>>2];a=0;r=N[g+76>>2];h:{if((i|0)!=5){o=i&1;h=b&-2;p=0;while(1){c=r+T(a,12)|0;s=R[c+4>>2];e=k>=s?k:s;b=r+T(a|1,12)|0;t=R[b+4>>2];k=e>=t?e:t;u=R[c>>2];e=m>=u?m:u;j=R[b>>2];m=e>=j?e:j;e=l<=s?l:s;l=e<=t?e:t;e=n<=u?n:u;n=e<=j?e:j;a=a+2|0;p=p+2|0;if((h|0)!=(p|0)){continue}break}if(!o){break h}}a=r+T(a,12)|0;j=R[a+4>>2];k=k>=j?k:j;e=R[a>>2];m=e<=m?m:e;l=l<=j?l:j;n=e>=n?n:e}R[d+28>>2]=k;R[d+24>>2]=m;R[d+20>>2]=l;R[d+16>>2]=n}if(m<=n|k<=l){N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;break f}if(O[d+12|0]){b=N[d>>2];j=R[b+44>>2];e=U(Z(U(U(n*j)+U(.5))));i:{if(U(V(e))>2]=a;e=U(Z(U(U(m*j)+U(.5))));j:{if(U(V(e))>2]=c-a;j=R[b+48>>2];e=U(Z(U(U(k*j)+U(.5))));k:{if(U(V(e))>2]=a;e=U(Z(U(U(l*j)+U(.5))));l:{if(U(V(e))>2]=b-a;break f}e=U(Z(U(n+U(.5))));m:{if(U(V(e))>2]=b;e=U(Z(U(k+U(.5))));n:{if(U(V(e))>2]=a;e=U(Z(U(U(m-U(b|0))+U(.5))));o:{if(U(V(e))>2]=b;e=U(Z(U(U(l-U(a|0))+U(.5))));if(U(V(e))>2]=~~e;break f}N[f+12>>2]=-2147483648}b=N[d+8>>2];if(!b){break e}p:{q:{r:{s:{t:{u:{if(i>>>0>=4){c=(N[g+76>>2]+T(i,12)|0)-48|0;a=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=a;M[b+8>>1]=P[c+8>>1];break u}N[147456]=0;N[147457]=0;N[147458]=0;M[b+8>>1]=0;N[b>>2]=0;N[b+4>>2]=0;if(i>>>0<3){break t}}c=N[g+76>>2];d=(c+T(i,12)|0)-36|0;a=N[d+4>>2];N[b+12>>2]=N[d>>2];N[b+16>>2]=a;M[b+20>>1]=P[d+8>>1];break s}N[147456]=0;N[147457]=0;N[147458]=0;M[b+20>>1]=0;N[b+12>>2]=0;N[b+16>>2]=0;if((i|0)!=2){break r}c=N[g+76>>2]}d=(T(i,12)+c|0)-24|0;a=N[d+4>>2];N[b+24>>2]=N[d>>2];N[b+28>>2]=a;M[b+32>>1]=P[d+8>>1];break q}N[b+24>>2]=0;N[b+28>>2]=0;M[b+32>>1]=0;a=589824;if(!i){break p}c=N[g+76>>2]}a=(T(i,12)+c|0)-12|0}c=N[a+4>>2];N[b+36>>2]=N[a>>2];N[b+40>>2]=c;M[b+44>>1]=P[a+8>>1]}_a(N[g+76>>2])}La=g+80|0;return q}ba(19169,14261,202,9940);F()}function wu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-16|0;La=h;a:{b:{c:{if(gm(a,b,c)){Uf(b);if(!a){break b}g=b+132|0;k=N[a+28>>2];j=pm(a);d:{if(j){break d}N[g>>2]=0;N[g+4>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;N[b+160>>2]=k;f=Qa[N[k+4>>2]](k,8276)|0;e:{if(!f){j=!f<<6;break e}N[f>>2]=a;N[f+4>>2]=g;d=N[b+160>>2];e=f+8264|0;N[f+8272>>2]=e;N[f+8>>2]=d;N[f+8268>>2]=e;N[f+8264>>2]=0;f:{j=pm(a);g:{if(j){break g}d=N[a+8>>2];N[f+48>>2]=163;N[f+44>>2]=164;N[f+68>>2]=d;d=N[a+28>>2];N[f+16>>2]=0;N[f+52>>2]=d;N[f+12>>2]=f+4168;j=3;if(mm(f+12|0,-15)){break g}if(N[f+12>>2]){break f}}Qa[N[k+8>>2]](k,f);break d}N[b+144>>2]=f;j=0}d=N[a+4>>2];l=d-4|0;m=N[a+8>>2];h:{i:{j:{k:{e=N[a+20>>2];l:{if(e){if(Qa[e|0](a,l,0,0)|0){break k}e=N[a+4>>2];break l}e=d;if(d>>>0<4){break k}}N[a+8>>2]=l;m:{if(d-1>>>0>=e>>>0){break m}n:{o:{e=N[a+20>>2];p:{if(e){d=h+4|0;if((Qa[e|0](a,l,d,4)|0)!=4){break m}l=N[a+8>>2];break p}d=N[a>>2];if(!d){break o}d=d+l|0}i=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break n}i=0}N[a+8>>2]=l+4}d=N[a+20>>2];q:{r:{if(d){if(!(Qa[d|0](a,m,0,0)|0)){break r}break q}if(Q[a+4>>2]>>0){break q}}N[a+8>>2]=m}if(i-1>>>0<=40958){l=165;e=Qa[N[k+4>>2]](k,i)|0;if(!e){d=0;break i}d=0;if((Ch(f,0,e,i)|0)==(i|0)){break j}Ch(f,0,0,0);Qa[N[k+8>>2]](k,e);break i}if(!i){break k}l=165;d=0;break h}l=165;d=0;i=2147483647;break h}Vf(f+12|0);l=0;N[f+52>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;N[f+16>>2]=0;Qa[N[k+8>>2]](k,f);N[b+144>>2]=0;d=e}j=0}N[b+132>>2]=d;N[b+140>>2]=0;N[b+136>>2]=i;N[b+156>>2]=166;N[b+152>>2]=l}if((j&255)==7){break b}if(j){e=N[a+28>>2];d=N[a+20>>2];if(d){if(Qa[d|0](a,0,0,0)|0){break b}}N[a+8>>2]=0;d=N[a+4>>2];if(!d){break b}i=N[a+20>>2];s:{if(i){d=Qa[i|0](a,0,h+4|0,2)|0;break s}d=d>>>0>=2?2:d;B(h+4|0,N[a>>2],d)}N[a+8>>2]=d;if(O[h+4|0]!=31|d>>>0<2|O[h+5|0]!=157){break b}N[g>>2]=0;N[g+4>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;N[b+160>>2]=e;d=Qa[N[e+4>>2]](e,4292)|0;if(!d){break c}G(d+8|0,0,4284);N[d>>2]=a;N[d+4>>2]=g;i=N[b+160>>2];j=d+4280|0;N[d+4288>>2]=j;N[d+8>>2]=i;N[d+4284>>2]=j;t:{i=N[a+20>>2];u:{if(i){if(Qa[i|0](a,0,0,0)|0){break u}}N[a+8>>2]=0;if(Yb(a,h+4|0,2)|O[h+4|0]!=31){break u}if(O[h+5|0]==157){break t}}Qa[N[e+8>>2]](e,d);break b}G(d+12|0,0,172);N[d+176>>2]=a;e=N[a+28>>2];N[d+108>>2]=64;N[d+100>>2]=d+112;N[d+180>>2]=e;N[d+36>>2]=0;N[d+40>>2]=0;L[d+44|0]=0;N[d- -64>>2]=9;N[b+140>>2]=0;N[b+144>>2]=d;N[b+156>>2]=167;N[b+152>>2]=168;N[b+132>>2]=0;N[b+136>>2]=2147483647}N[b+104>>2]=g;N[b+172>>2]=a;if(gm(g,b,c)){break b}}a=0;if((c|0)<0){break a}if(c&65535){Uf(b);a=6;break a}v:{w:{x:{y:{a=N[b+180>>2];z:{if(!a){break z}c=N[b+176>>2];if(!c|(O[a|0]|32)!=105|((O[a+1|0]|32)!=115|(O[a+2|0]|32)!=111)){break z}a=a+3|0;if(!cb(a,21540)){break y}if(!cb(a,21356)){if(!cb(c,21900)){break y}}if(!cb(a,21737)){break x}}N[h+8>>2]=0;N[h+12>>2]=0;N[h+4>>2]=b;break v}N[h+8>>2]=0;N[h+12>>2]=0;N[h+4>>2]=b;break w}a=cb(c,19136);N[h+8>>2]=0;N[h+12>>2]=0;N[h+4>>2]=b;if(a){break v}}N[h+8>>2]=1970170211;N[h+12>>2]=65539}a=Ac(43184,0,h+4|0,0);break a}N[b+132>>2]=0;N[b+136>>2]=2147483647;N[b+140>>2]=0;N[b+156>>2]=167;N[b+152>>2]=168}Uf(b);a=2}La=h+16|0;return a|0}function um(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=La-1312|0;La=i;j=N[a+4>>2];n=N[j+136>>2];o=N[j+100>>2];m=N[N[j+128>>2]+52>>2];a:{b:{c:{d:{if(m){f=Qa[N[N[m>>2]>>2]](N[m+4>>2],b,i+656|0)|0;if(f){break c}f=0;d=N[j+288>>2];g=d&255;e:{if(!g){break e}l=d&3;c=N[i+656>>2];if(g>>>0>=4){c=(d+252&252)+c|0;g=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);c=c+4|0}if(!l){break e}while(1){k=O[c|0]|k<<8;c=c+1|0;e=e+1|0;if((l|0)!=(e&255)){continue}break}}c=N[i+660>>2];f:{if(!c){e=0;c=0;d=1;break f}g:{h:{e=c-d|0;if((e|0)>0){c=Qa[N[o+4>>2]](o,e)|0;if(c){break h}f=64;c=0;d=0;break f}f=6;c=0;if(!e){break g}d=0;break f}d=N[j+288>>2]}B(c,N[i+656>>2]+d|0,e);f=0;d=1}Qa[N[N[m>>2]+4>>2]](N[m+4>>2],i+656|0);if(d){break d}break c}d=N[j+292>>2]+N[j+288>>2]|0;c=(N[j+284>>2]+N[j+308>>2]|0)+T(d,b)|0;i:{g=N[j+328>>2];e=N[g+20>>2];if(e){f=85;if(Qa[e|0](g,c,0,0)|0){break a}break i}if(c>>>0<=Q[g+4>>2]){break i}f=85;break a}N[g+8>>2]=c;f=Bb(g,d<<1);if(f){break a}q=N[g+32>>2];d=q;f=N[j+288>>2];h=f&255;if(h){e=0;c=d;if(h>>>0>=4){c=(f+252&252)+c|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);k=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}d=f&3;if(d){while(1){k=O[c|0]|k<<8;c=c+1|0;e=e+1|0;if((d|0)!=(e&255)){continue}break}}d=q+(f&255)|0}e=0;l=N[j+292>>2];j:{if(!(l&255)){break j}c=d;if((l&255)>>>0>=4){c=q+((l+252&252)+(f&255)|0)|0;h=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);p=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);c=c+4|0}r=l&3;if(r){while(1){p=O[c|0]|p<<8;c=c+1|0;e=e+1|0;if((e&255)!=(r|0)){continue}break}}h=0;c=l&255;k:{if(c>>>0<4){e=0;c=(c+d|0)+f|0;break k}c=q+((c+((l+252&252)+f|0)|0)+(f&255)|0)|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}if(!r){break j}while(1){e=O[c|0]|e<<8;c=c+1|0;h=h+1|0;if((h&255)!=(r|0)){continue}break}}if(N[g+20>>2]){c=N[g>>2];if(c){d=N[g+28>>2];Qa[N[d+8>>2]](d,c)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;h=0;f=9;if(Q[g+4>>2]>>0|Q[j+300>>2]<=k>>>0|e>>>0

>>0){break a}e=e-p|0;if(!e){f=0;break a}if((e|0)<=0){f=6;break a}c=Qa[N[o+4>>2]](o,e)|0;if(!c){f=64;break a}f=Yh(g,N[j+308>>2]+p|0,c,e);if(f){break b}}d=N[j+316>>2]+(k<<3)|0;N[a+1364>>2]=N[d>>2];d=N[d+4>>2];N[a+1372>>2]=0;N[a+1376>>2]=0;N[a+1368>>2]=d;d=N[j+304>>2]+T(k,252)|0;f=N[d+220>>2];N[a+1380>>2]=N[d+216>>2];N[a+1384>>2]=f;g=N[d+228>>2];f=a+1388|0;N[f>>2]=N[d+224>>2];N[f+4>>2]=g;f=N[d+236>>2];N[a+1396>>2]=N[d+232>>2];N[a+1400>>2]=f;g=N[d+4>>2];N[a+1360>>2]=g;f=9;k=(g|0)>=0;g=k?g:0;if(g>>>0>e>>>0){break c}if(k){Qa[N[n+16>>2]](c,e,4330)}l:{if(O[a+70|0]){f=Qa[N[N[n+12>>2]+8>>2]](a,c+g|0,e-g|0)|0;h=0;break l}k=i+656|0;Qa[N[n+24>>2]](k,a,1);h=d;d=i+4|0;Qa[N[n+28>>2]](j,h,d);N[i+1192>>2]=d;d=c+g|0;e=e-g|0;f=Qa[N[N[n+12>>2]+12>>2]](k,d,e)|0;h=0;if((f&255)!=164){break l}L[N[a+8>>2]+160|0]=0;f=Qa[N[N[n+12>>2]+12>>2]](k,d,e)|0;h=1}if(f|!m){break c}e=N[N[m>>2]+8>>2];if(!e){f=0;break c}d=N[a+32>>2];N[i+660>>2]=0;N[i+656>>2]=(d+(d>>31)|0)+32768>>16;d=N[a+40>>2];N[i+664>>2]=((d>>31)+d|0)+32768>>16;d=N[a+44>>2];N[i+668>>2]=((d>>31)+d|0)+32768>>16;f=Qa[e|0](N[m+4>>2],b,0,i+656|0)|0;N[a+32>>2]=N[i+656>>2]<<16;N[a+40>>2]=N[i+664>>2]<<16;N[a+44>>2]=N[i+668>>2]<<16}if(!c){break a}}Qa[N[o+8>>2]](o,c)}L[N[a+8>>2]+161|0]=h;La=i+1312|0;return f|0}function Iq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;a:{b:{if(!(L[b+147|0]&1)){break b}z=N[c+28>>2]>>31|1;w=1;while(1){t=N[b+68>>2];y=t+x|0;c:{if(!t){m=y;break c}o=N[b+80>>2];u=o+3|0;s=N[b+88>>2];m=y;a=t;while(1){j=0;f=0;g=0;d=a;i=T(d-1|0,20);d:{if((O[(i+u|0)+16|0]&254)!=8){if(!C){break d}e=i+o|0;f=N[e+4>>2];m=m-1|0;h=T(m,20);d=h+o|0;N[d>>2]=N[e>>2];N[d+4>>2]=f;N[d+16>>2]=N[e+16>>2];f=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=f;d=h+s|0;e=i+s|0;N[d+16>>2]=N[e+16>>2];i=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=i;i=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=i;break d}while(1){e:{i=d-1|0;e=T(i,20);h=e+u|0;if((O[h+16|0]&254)!=8){k=0;e=d;f:{while(1){i=e-1|0;h=T(i,20);if((O[(h+u|0)+16|0]&254)==8){break f}r=h+o|0;n=P[r+16>>1];if(!((O[r+12|0]&16?0:n&32)|1<>2]+k|0;e=i;if(e){continue}break}e=0}r=d;break e}d=N[c+96>>2];k=N[d+40>>2];r=0;l=N[c+100>>2];e=N[e+o>>2];d=N[d+12>>2];if(d){d=N[d+20>>2]}else{d=0}e=Qa[k|0](c,l,e,d)|0;d=O[h+16|0]!=8;j=(d?0:e)+j|0;g=(d?e:0)+g|0;f=d+f|0;k=0;e=0;d=i;if(d){continue}}break}i=T(k-j|0,z);A=0;g=T(g,z);d=0;g:{if((g|0)<=0){break g}d=0;if((g|0)>=(i|0)){break g}d=((i|0)/(g|0)|0)-1|0}h=d+1|0;h:{if((i|0)<=(T(h,g)|0)){h=d;break h}if((f|0)<=0){h=d;break h}d=T(g,d+2|0)-i|0;if((d|0)<=0){break h}A=(d|0)/(T(f,h)|0)|0}i=r+1|0;if(w){x=T(f,h)+x|0;a=i;break d}d=N[b+68>>2];l=a>>>0>d>>>0?d:a;p=l-e|0;i:{if(p>>>0<2){break i}g=N[b+144>>2]|32;N[b+144>>2]=g;if(e>>>0>=l>>>0){break i}n=N[b+80>>2];d=-1;f=e;B=l+(f^-1)|0;if(B>>>0>=3){v=p&-4;k=0;while(1){j=n+T(f,20)|0;q=N[j+8>>2];d=d>>>0>>0?d:q;q=N[j+28>>2];d=d>>>0>>0?d:q;q=N[j+48>>2];d=d>>>0>>0?d:q;j=N[j+68>>2];d=d>>>0>>0?d:j;f=f+4|0;k=k+4|0;if((v|0)!=(k|0)){continue}break}}j=0;k=p&3;if(k){while(1){v=N[(n+T(f,20)|0)+8>>2];d=d>>>0>>0?d:v;f=f+1|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}if(p&1){f=n+T(e,20)|0;if(N[f+8>>2]!=(d|0)){N[f+4>>2]=N[f+4>>2]|3}e=e+1|0}if(!B){break i}while(1){f=n+T(e,20)|0;if(N[f+8>>2]!=(d|0)){g=g|32;N[b+144>>2]=g;N[f+4>>2]=N[f+4>>2]|3}f=n+T(e+1|0,20)|0;if(N[f+8>>2]!=(d|0)){g=g|32;N[b+144>>2]=g;N[f+4>>2]=N[f+4>>2]|3}e=e+2|0;if((l|0)!=(e|0)){continue}break}}if(a>>>0<=r>>>0){a=i;break d}n=h+1|0;e=0;while(1){h=N[c+96>>2];g=N[h+40>>2];j=N[c+100>>2];a=a-1|0;d=T(a,20);f=d+o|0;k=N[f>>2];h=N[h+12>>2];if(h){h=N[h+20>>2]}else{h=0}k=Qa[g|0](c,j,k,h)|0;j=O[(d+u|0)+16|0]!=9?1:n;j:{if(!j){break j}h=d+s|0;e=e-k|0;N[h+8>>2]=e;m=m-1|0;g=T(m,20);d=g+o|0;N[d+16>>2]=N[f+16>>2];l=N[f+12>>2];N[d+8>>2]=N[f+8>>2];N[d+12>>2]=l;l=N[f+4>>2];N[d>>2]=N[f>>2];N[d+4>>2]=l;d=g+s|0;N[d+16>>2]=N[h+16>>2];g=N[h+12>>2];N[d+8>>2]=N[h+8>>2];N[d+12>>2]=g;g=N[h+4>>2];N[d>>2]=N[h>>2];N[d+4>>2]=g;d=1;if((j|0)==1){break j}while(1){e=(e-k|0)+A|0;N[h+8>>2]=e;m=m-1|0;l=T(m,20);g=l+o|0;N[g+16>>2]=N[f+16>>2];p=N[f+12>>2];N[g+8>>2]=N[f+8>>2];N[g+12>>2]=p;p=N[f+4>>2];N[g>>2]=N[f>>2];N[g+4>>2]=p;g=l+s|0;N[g+16>>2]=N[h+16>>2];l=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=l;l=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=l;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(a>>>0>r>>>0){continue}break}a=i}a=a-1|0;if(a){continue}break}}if(w){w=0;C=1;a=x+t|0;if(!a|a>>>0>2]){continue}if(gb(b,a)){continue}break b}break}if(m){break a}N[b+68>>2]=y}return}ba(22012,17885,624,14367);F()}function mn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0,P=0,Q=0,R=0;a:{if(!a|c+1>>>0<3&b+1>>>0<=2){break a}y=dg(a);if((y|0)==2){break a}H=M[a>>1];if((H|0)<=0){break a}F=N[a+4>>2];z=(c|0)/2|0;i=z>>31;A=(i^z)-i|0;P=A>>>16|0;I=A&65535;B=(b|0)/2|0;i=B>>31;C=(i^B)-i|0;Q=C>>>16|0;J=C&65535;R=N[a+12>>2];while(1){w=M[(G<<1)+R>>1];b:{if((w|0)==(D|0)){break b}E=-1;s=D;K=0;e=0;L=0;O=0;q=0;j=0;a=w;if((a|0)==-1){break b}while(1){k=O;g=L;i=K;c:{if((s|0)!=(E|0)){k=(s<<3)+F|0;l=N[k+4>>2];g=(a<<3)+F|0;d=N[g+4>>2];o=l-d|0;i=o>>31;i=(i^o)-i|0;k=N[k>>2];g=N[g>>2];d:{if((k|0)==(g|0)){if((d|0)==(l|0)){break c}g=0;k=(o|0)<0?-65536:65536;break d}h=k-g|0;g=h>>31;f=(g^h)-g|0;if((d|0)==(l|0)){k=0;g=(h|0)<0?-65536:65536;i=f;break d}k=i>>>0>>0?f+(i>>>1|0)|0:(f>>>1|0)+i|0;g=W(k);r=(-1431655766>>>g>>>0>k>>>0?-15:-16)+g|0;d=(r|0)<=0;e:{if(!d){m=f<>>0>n>>>0?m+(n>>>1|0)|0:(m>>>1|0)+n|0;break e}g=0-r|0;k=k>>>g|0;n=i>>>g|0;m=f>>>g|0}g=65536-k|0;while(1){l=(T(g,m)>>16)+m|0;f=(T(g,n)>>16)+n|0;i=T((T(l,l)+T(f,f)|0)/-512|0,g+65536>>8);g=(i>>>16|0)+g|0;if((i|0)>65535){continue}break}k=(o|0)<0?0-f|0:f;g=(h|0)<0?0-l|0:l;i=((T(m,l)+T(f,n)|0)/65536|0)+65536|0;if(!d){i=i+(1<>>r|0;break d}i=i<<0-r}if(!i){break c}}f:{if(!e){break f}if((E|0)<0){L=q;K=e;E=a;O=j}f=0;d=g>>31;p=(d^g)-d|0;d=q>>31;m=(d^q)-d|0;g:{if((p>>>8|0)+m>>>0<=8190){h=T(m,p)+32768>>>16|0;break g}d=m&65535;h=T(d,p>>>16|0)+T(p,m>>>16|0)+(T(d,p&65535)+32768>>>16)|0}d=h;l=0-d|0;d=q>>31|1;l=(((g|0)<0?0-d|0:d)|0)<0?l:h;d=k>>31;n=(d^k)-d|0;d=j>>31;o=(d^j)-d|0;h:{if((n>>>8|0)+o>>>0<=8190){h=T(n,o)+32768>>>16|0;break h}d=o&65535;h=T(d,n>>>16|0)+T(n,o>>>16|0)+(T(d,n&65535)+32768>>>16)|0}d=h;x=0-d|0;d=j>>31|1;r=l+((((k|0)<0?0-d|0:d)|0)<0?x:h)|0;h=0;i:{if((r|0)<-61439){break i}d=j+k|0;t=r+65536|0;if(p+(o>>>8|0)>>>0<=8190){h=T(o,p)+32768>>>16|0}else{f=p&65535;h=T(f,o>>>16|0)+T(o,p>>>16|0)+(T(f,o&65535)+32768>>>16)|0}f=h;l=0-f|0;f=g>>31|1;h=(((j|0)<0?0-f|0:f)|0)<0?l:h;if(n+(m>>>8|0)>>>0<=8190){f=T(m,n)+32768>>>16|0}else{j=n&65535;f=T(j,m>>>16|0)+T(m,n>>>16|0)+(T(j,m&65535)+32768>>>16)|0}j=f;l=0-j|0;j=k>>31|1;j=h+((((q|0)<0?0-j|0:j)|0)<0?f:l)|0;m=y?j:0-j|0;p=(i|0)>(e|0)?e:i;f=0-d|0;e=j>>31;u=(e^j)-e|0;n=u>>>8|0;j:{if(n+C>>>0<=8190){e=T(u,C)+32768>>>16|0;break j}e=T(u>>>16|0,J)+T(u,Q)+(T(u&65535,J)+32768>>>16)|0}o=(m|0)<0;j=o^(b|0)<-1?0-e|0:e;e=p>>31;v=(e^p)-e|0;h=v+(t>>>8|0)>>>0>8190;k:{if(!h){x=T(t,v)+32768>>>16|0;break k}e=v&65535;x=T(e,t>>>16|0)+T(v>>>16|0,t)+(T(e,r&65535)+32768>>>16)|0}l=x;e=y?d:f;f=0-l|0;l=(p|0)<0;l:{if(((l?f:x)|0)>=(j|0)){f=jb(e,B,t);break l}f=jb(e,p,m)}d=g+q|0;q=0-d|0;e=n+A>>>0<=8190?T(u,A)+32768>>>16|0:T(u>>>16|0,I)+T(u,P)+(T(u&65535,I)+32768>>>16)|0;j=o^(c|0)<-1?0-e|0:e;if(h){e=v&65535;h=T(e,t>>>16|0)+T(v>>>16|0,t)+(T(e,r&65535)+32768>>>16)|0}else{h=T(t,v)+32768>>>16|0}e=y?q:d;if((j|0)<=((l?0-h|0:h)|0)){h=jb(e,z,t);break i}h=jb(e,p,m)}if((a|0)==(s|0)){break f}j=h+z|0;e=f+B|0;while(1){q=(a<<3)+F|0;N[q>>2]=e+N[q>>2];N[q+4>>2]=j+N[q+4>>2];a=(a|0)<(w|0)?a+1|0:D;if((s|0)!=(a|0)){continue}break}}j=k;q=g;e=i;a=s}s=(s|0)<(w|0)?s+1|0:D;if((s|0)==(a|0)){break b}if((a|0)!=(E|0)){continue}break}}D=w+1|0;G=G+1|0;if((H|0)!=(G|0)){continue}break}}}function Hk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=La-16|0;La=q;f=N[b+96>>2];d=O[a+2|0]|O[a+3|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=275552}d=0;c=N[f+64>>2];e=vb(e,N[N[f+80>>2]+T(c,20)>>2]);a:{if((e|0)==-1){break a}N[b+4>>2]=c;N[b+36>>2]=1;d=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[d+68>>2];L[b+23|0]=O[b+22|0]?(c|0)==N[d+64>>2]?O[(N[d+80>>2]+T(c,20)|0)+15|0]:0:0;if(!ic(b+4|0,q+12|0)){d=0;if(!(O[f+16|0]&64)){break a}wb(f,2,N[f+64>>2],N[q+12>>2],1,0);break a}d=O[a+8|0]|O[a+9|0]<<8;d=e>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((e<<1)+a|0)+10|0;d=O[d|0]|O[d+1|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+a|0}else{f=275552}m=N[b+4>>2];n=La-48|0;La=n;d=b;e=N[b+96>>2];b:{c:{b=O[f|0]|O[f+1|0]<<8;if(b){o=f+2|0;i=XE(O[a+4|0]|O[a+5|0]<<8);p=O[a+6|0]|O[a+7|0]<<8;h=(XE(p)+i<<1)+2|0;l=N[N[e+80>>2]+T(m,20)>>2];c=((b<<8|b>>>8)&65535)-1|0;b=0;while(1){k=b+c>>>1|0;g=o+T(k,h)|0;j=O[g|0]|O[g+1|0]<<8;j=(j<<8|j>>>8)&65535;d:{if(j>>>0>l>>>0){c=k-1|0;break d}if((l|0)==(j|0)){break c}b=k+1|0}if((b|0)<=(c|0)){continue}break}}d=0;if(!(O[e+16|0]&64)){break b}wb(e,2,N[e+64>>2],m+1|0,1,0);d=0;break b}if(N[e+156>>2]){b=N[d+88>>2];c=N[e+64>>2];N[n+36>>2]=m;N[n+32>>2]=c;ib(e,b,17042,n+32|0)}b=g+2|0;a=fe(O[a+4|0]|O[a+5|0]<<8,d,f,b,N[e+88>>2]+T(N[e+64>>2],20)|0)|fe(O[a+6|0]|O[a+7|0]<<8,d,f,b+(i<<1)|0,N[e+88>>2]+T(m,20)|0);c=N[d+96>>2];if(!((a|0)!=1|!N[c+156>>2])){b=N[d+88>>2];f=N[c+64>>2];N[n+20>>2]=m;N[n+16>>2]=f;ib(c,b,17100,n+16|0);c=N[d+96>>2]}if(N[c+156>>2]){b=N[d+88>>2];d=N[c+64>>2];N[n+4>>2]=m;N[n>>2]=d;ib(c,b,17070,n)}e:{if(!a){break e}a=N[e+68>>2];b=m+1|0;l=a>>>0>>0?a:b;a=N[e+64>>2];k=l-a|0;if(k>>>0<2){break e}f=N[e+144>>2]|32;N[e+144>>2]=f;if(a>>>0>=l>>>0){break e}i=N[e+80>>2];c=-1;b=a;o=l+(b^-1)|0;if(o>>>0>=3){h=k&-4;d=0;while(1){g=i+T(b,20)|0;j=N[g+8>>2];c=c>>>0>>0?c:j;j=N[g+28>>2];c=c>>>0>>0?c:j;j=N[g+48>>2];c=c>>>0>>0?c:j;g=N[g+68>>2];c=c>>>0>>0?c:g;b=b+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}g=k&3;if(g){d=0;while(1){h=N[(i+T(b,20)|0)+8>>2];c=c>>>0>>0?c:h;b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(k&1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){N[b+4>>2]=N[b+4>>2]|3}a=a+1|0}if(!o){break e}while(1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){f=f|32;N[e+144>>2]=f;N[b+4>>2]=N[b+4>>2]|3}b=i+T(a+1|0,20)|0;if(N[b+8>>2]!=(c|0)){f=f|32;N[e+144>>2]=f;N[b+4>>2]=N[b+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}f:{if(!p){break f}a=m+2|0;m=m+1|0;b=N[e+68>>2];l=a>>>0>b>>>0?b:a;a=N[e+64>>2];k=l-a|0;if(k>>>0<2){break f}f=N[e+144>>2]|32;N[e+144>>2]=f;if(a>>>0>=l>>>0){break f}i=N[e+80>>2];c=-1;b=a;o=l+(b^-1)|0;if(o>>>0>=3){p=k&-4;d=0;while(1){g=i+T(b,20)|0;h=N[g+8>>2];c=c>>>0>>0?c:h;h=N[g+28>>2];c=c>>>0>>0?c:h;h=N[g+48>>2];c=c>>>0>>0?c:h;g=N[g+68>>2];c=c>>>0>>0?c:g;b=b+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}g=k&3;if(g){d=0;while(1){p=N[(i+T(b,20)|0)+8>>2];c=c>>>0

>>0?c:p;b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(k&1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){N[b+4>>2]=N[b+4>>2]|3}a=a+1|0}if(!o){break f}while(1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){f=f|32;N[e+144>>2]=f;N[b+4>>2]=N[b+4>>2]|3}b=i+T(a+1|0,20)|0;if(N[b+8>>2]!=(c|0)){f=f|32;N[e+144>>2]=f;N[b+4>>2]=N[b+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}N[e+64>>2]=m;d=1}La=n+48|0}La=q+16|0;return d}function ix(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-32|0;La=j;h=N[b+28>>2];e=N[a+496>>2];if(e){d=N[e+36>>2];if(d){Qa[N[h+8>>2]](h,d)}N[e+36>>2]=0;N[e+40>>2]=0;d=N[e+28>>2];if(d){Qa[N[h+8>>2]](h,d)}N[e+28>>2]=0;N[e+32>>2]=0;Qa[N[h+8>>2]](h,e);N[a+496>>2]=0}c=Qa[N[h+4>>2]](h,44)|0;a:{if(!c){e=64;break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;e=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;d=Bb(b,N[b+4>>2]);b:{if(d){e=d;break b}d=N[a+476>>2];N[c+12>>2]=N[a+472>>2];N[c+16>>2]=d;d=N[a+468>>2];N[c+4>>2]=N[a+464>>2];N[c+8>>2]=d;N[c+20>>2]=N[a+476>>2];N[c+24>>2]=N[a+468>>2];d=N[a+492>>2];g=N[d+36>>2];c:{if(g){f=j+12|0;e=Qa[N[g>>2]](f,N[b+28>>2],N[b+32>>2],N[b+36>>2])|0;if(!e){N[j+28>>2]=a+132;N[j+24>>2]=148;N[j+20>>2]=c;e=Qa[N[N[d+36>>2]+8>>2]](f)|0;Qa[N[N[d+36>>2]+4>>2]](f)}if((e&255)==2){f=N[b+4>>2];if(f>>>0<7){break c}d=N[b+32>>2];if(O[d+1|0]>3|(f|0)!=(O[d+2|0]|O[d+3|0]<<8|(O[d+4|0]<<16|O[d+5|0]<<24))){break c}e=0;l=La-16|0;La=l;N[l+12>>2]=0;m=N[b+28>>2];f=2;d:{e:{i=N[b+36>>2];g=N[b+32>>2];if(i>>>0>>0){break e}d=(g+99|0)+(O[g+99|0]|O[g+100|0]<<8)|0;if(i>>>0>>0|(O[d+18|0]|O[d+19|0]<<8)>>>0<18){break d}d=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);if(!d){break d}k=d+g|0;g=k+2|0;if(i>>>0>>0){break e}d=O[k|0]|O[k+1|0]<<8;N[c+40>>2]=d;if(i>>>0<(d<<2)+g>>>0){break e}if(!d){break d}d=lb(m,16,0,d,0,l+12|0);N[c+36>>2]=d;f=N[l+12>>2];if(f){break e}o=N[c+40>>2];i=N[a+92>>2];f=N[a+36>>2];f:{if((f|0)<=0){break f}p=N[a+40>>2];while(1){n=N[(e<<2)+p>>2];if(P[n+8>>1]!=7){e=e+1|0;if((f|0)!=(e|0)){continue}break f}break}f=pn(a,n);if(f){break e}}e=o<<2;if((e|0)>0){k=(e+k|0)+2|0;while(1){g:{h:{if(a){e=N[a+92>>2];if(e){break h}}N[d>>2]=0;e=0;break g}e=Qa[N[N[e+12>>2]+12>>2]](e,O[g|0])|0;f=N[a+92>>2];N[d>>2]=e>>>0>2]?e:0;e=0;if(!f){break g}e=Qa[N[N[f+12>>2]+12>>2]](f,O[g+1|0])|0;e=e>>>0>2]?e:0}N[d+4>>2]=e;e=(O[g+2|0]|O[g+3|0]<<8)<<16>>16;N[d+12>>2]=0;N[d+8>>2]=e;d=d+16|0;g=g+4|0;if(k>>>0>g>>>0){continue}break}}if(i){f=pn(a,i);if(f){break e}}Yc(N[c+36>>2],N[c+40>>2],16,149);e=0;break d}e=N[c+36>>2];if(e){Qa[N[m+8>>2]](m,e)}N[c+36>>2]=0;N[c+40>>2]=0;e=f}La=l+16|0}if(e){break c}}d=N[c+8>>2];N[a+464>>2]=N[c+4>>2];N[a+468>>2]=d;d=N[c+16>>2];N[a+472>>2]=N[c+12>>2];N[a+476>>2]=d;N[a+52>>2]=M[c+6>>1];N[a+56>>2]=M[c+10>>1];N[a+60>>2]=N[c+12>>2]+65535>>16;N[a- -64>>2]=N[c+16>>2]+65535>>16;M[a+70>>1]=N[c+20>>2]+32768>>>16;M[a+72>>1]=N[c+24>>2]+32768>>>16;if(!N[c+40>>2]){break c}N[a+496>>2]=c;N[a+8>>2]=N[a+8>>2]|64;c=0}if(N[b+20>>2]){a=N[b>>2];if(a){d=N[b+28>>2];Qa[N[d+8>>2]](d,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!c){break a}}a=N[c+36>>2];if(a){Qa[N[h+8>>2]](h,a)}N[c+36>>2]=0;N[c+40>>2]=0;a=N[c+28>>2];if(a){Qa[N[h+8>>2]](h,a)}N[c+28>>2]=0;N[c+32>>2]=0;Qa[N[h+8>>2]](h,c)}La=j+32|0;return e|0}function So(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=N[a+660>>2];if(N[e+8>>2]>(b|0)){while(1){h=O[a+372|0];a:{b:{k=N[e+20>>2]+T(b,56)|0;d=N[k+44>>2];c:{if(!(!d|!O[d|0])){if(!h){break a}L[d|0]=0;f=N[k+48>>2];d=O[f|0];if(d){break c}break a}f=N[k+48>>2];d=O[f|0];if(!d){break a}if(!h){break b}}h=0;while(1){e=h;g=f;d:{e:{switch((d<<24>>24)-123|0){case 2:h=0;if(!e|(g-e|0)<3){break d}d=0;e=e+1|0;i=g-1|0;if(e>>>0>i>>>0){break d}while(1){f=d;f:{if(O[e|0]!=92){break f}d=e;if(!f){break f}l=e-1|0;c=f+1|0;if(l>>>0<=c>>>0){break f}j=(l-c|0)+1|0;g:{h:{i:{j:{m=L[c|0];switch(m-75|0){case 0:case 32:break g;case 27:break h;case 34:break i;case 41:break j;default:break f}}if((m|0)!=116|j>>>0<2){break f}k:{c=O[f+2|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break k}}if((c|0)==9){break g}break f}if(j>>>0<5){break f}if(bb(c,15447,4)){break f}l:{c=O[f+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break l}}if((c|0)==9){break g}break f}if(j>>>0<4){break f}m:{if(bb(c,16930,3)){break m}n:{d=O[f+4|0];switch(d-32|0){case 0:case 8:break g;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break m;default:break n}}if((d|0)==9){break g}}d=e;if(j>>>0<5){break f}if(bb(c,16398,4)){break f}o:{c=O[f+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break o}}if((c|0)!=9){break f}}G(f,32,(l-f|0)+1|0);d=e}e=e+1|0;if(i>>>0>=e>>>0){continue}break};if(!d){break d}if(!Io(d+1|0,i)|d>>>0>i>>>0){break d}G(d,32,(i-d|0)+1|0);break d;case 0:break e;default:break d}}if(e){break d}if((g|0)!=N[k+48>>2]){h=0;if(O[g-1|0]==92){break d}}h=g}f=g+1|0;d=O[g+1|0];if(d){continue}break}break a}h=0;e=f;while(1){c=h;g=e;p:{q:{switch((d<<24>>24)-123|0){case 0:if(c){break p}h=g;if((g|0)==(f|0)){break p}h=0;if(O[g-1|0]==92){break p}h=g;break p;case 2:break q;default:break p}}h=0;if(!c|(g-c|0)<3){break p}d=0;e=c+1|0;k=g-1|0;if(e>>>0>k>>>0){break p}while(1){c=d;r:{if(O[e|0]!=92){break r}d=e;if(!c){break r}j=e-1|0;i=c+1|0;if(j>>>0<=i>>>0){break r}j=(j-i|0)+1|0;s:{t:{u:{l=L[i|0];switch(l-75|0){case 27:break s;case 0:case 32:break a;case 34:break t;case 41:break u;default:break r}}if((l|0)!=116|j>>>0<2){break r}v:{c=O[c+2|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break v}}if((c|0)!=9){break r}break a}if(j>>>0<5){break r}if(bb(i,15447,4)){break r}w:{c=O[c+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break w}}if((c|0)!=9){break r}break a}if(j>>>0<4){break r}x:{if(bb(i,16930,3)){break x}y:{d=O[c+4|0];switch(d-32|0){case 0:case 8:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break x;default:break y}}if((d|0)==9){break a}}d=e;if(j>>>0<5){break r}if(bb(i,16398,4)){break r}z:{c=O[c+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break z}}if((c|0)==9){break a}}e=e+1|0;if(k>>>0>=e>>>0){continue}break}if(!d){break p}if(Io(d+1|0,k)){break a}}e=g+1|0;d=O[g+1|0];if(d){continue}break}}b=b+1|0;e=N[a+660>>2];if((b|0)>2]){continue}break}}N[a+376>>2]=b}function Tm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=La-16|0;La=k;f=N[a+104>>2];i=N[f+28>>2];l=N[a+736>>2];L[l+(b?44:32)|0]=1;c=Qa[N[a+516>>2]](a,b?1448493394:1213612370,f,k)|0;a:{if(c){break a}b:{c:{d:{g=N[f+8>>2];if(Q[f+4>>2]<=g+1>>>0){break d}d=N[f+20>>2];e:{if(d){c=k+10|0;if((Qa[d|0](f,g,c,2)|0)!=2){break d}d=N[f+8>>2];break e}d=N[f>>2];if(!d){break c}c=d+g|0;d=g}c=O[c|0]|O[c+1|0]<<8;e=((c<<8|c>>>8)&65535)==1;break b}c=85;break a}d=g;e=0}N[f+8>>2]=d+2;h=d+4|0;j=N[f+20>>2];f:{if(j){c=85;if(!(Qa[j|0](f,h,0,0)|0)){break f}break a}c=85;if(Q[f+4>>2]>>0){break a}}N[f+8>>2]=h;c=8;if(!e){break a}N[k+4>>2]=0;g:{h:{i:{if(Q[f+4>>2]<=d+7>>>0){break i}c=N[f+20>>2];j:{if(c){d=k+12|0;if((Qa[c|0](f,h,d,4)|0)!=4){break i}h=N[f+8>>2];break j}d=N[f>>2];if(!d){break h}d=d+h|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break g}c=85;break a}d=0}N[f+8>>2]=h+4;f=Nb(f,k+4|0);c=N[k+4>>2];if(c){break a}k:{l:{m:{e=Qa[N[i+4>>2]](i,32)|0;if(!e){if(!b){break m}N[l+52>>2]=0;c=64;break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+24|0]=0;L[e+25|0]=0;L[e+26|0]=0;L[e+27|0]=0;L[e+28|0]=0;L[e+29|0]=0;L[e+30|0]=0;L[e+31|0]=0;L[e+16|0]=0;L[e+17|0]=0;L[e+18|0]=0;L[e+19|0]=0;L[e+20|0]=0;L[e+21|0]=0;L[e+22|0]=0;L[e+23|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;if(b){break l}N[l+40>>2]=e;break k}N[l+40>>2]=0;c=64;break a}N[l+52>>2]=e}c=Um(N[a+104>>2],N[a+736>>2],d+g|0,e);N[k+4>>2]=c;if(c){break a}if(f){c=f+g|0;i=La-16|0;La=i;f=N[a+104>>2];m=N[f+28>>2];d=N[f+20>>2];n:{o:{if(d){g=85;if(Qa[d|0](f,c,0,0)|0){break n}j=N[f+4>>2];break o}g=85;j=N[f+4>>2];if(j>>>0>>0){break n}}N[f+8>>2]=c;p:{q:{r:{if(c+1>>>0>=j>>>0){break r}d=N[f+20>>2];s:{if(d){g=i+11|0;if((Qa[d|0](f,c,g,2)|0)!=2){break r}c=N[f+8>>2];break s}g=N[f>>2];if(!g){break q}g=c+g|0}g=O[g|0]|O[g+1|0]<<8;d=g<<8|g>>>8;break p}g=85;break n}d=0}g=c+2|0;N[f+8>>2]=g;t:{u:{v:{if(Q[f+4>>2]<=c+3>>>0){break v}h=N[f+20>>2];w:{if(h){c=i+13|0;if((Qa[h|0](f,g,c,2)|0)!=2){break v}g=N[f+8>>2];break w}c=N[f>>2];if(!c){break u}c=c+g|0}c=O[c+1|0]|O[c|0]<<8;break t}N[e+20>>2]=0;g=85;break n}c=0}N[f+8>>2]=g+2;N[e+20>>2]=c;g=8;if((d&65535)>>>0>63){break n}h=0;x:{y:{if(c){g=c<<2;h=Qa[N[m+4>>2]](m,g)|0;if(!h|(c|0)<=0){break y}G(h,0,g)}N[i+4>>2]=0;N[e+28>>2]=h;break x}c=!h;g=c<<6;N[i+4>>2]=g;N[e+28>>2]=h;if(c){break n}}r=e,s=lb(m,4,0,N[e+20>>2],0,i+4|0),N[r+24>>2]=s;g=N[i+4>>2];if(g){break n}g=0;if(!N[e+20>>2]){break n}c=d&15;m=c+1|0;o=(d&65520)>>>4|0;p=(2<>2];h=0;while(1){j=0;z:{while(1){L[i+15|0]=0;n=N[f+20>>2];A:{if(n){d=i+15|0;if((Qa[n|0](f,c,d,1)|0)!=1){break z}c=N[f+8>>2];break A}if(Q[f+4>>2]<=c>>>0){break z}d=N[f>>2]+c|0}d=O[d|0];c=c+1|0;N[f+8>>2]=c;j=j<<8|d;d=(g|0)!=(o|0);g=g+1|0;if(d){continue}break}g=8;d=j>>>m|0;if(d>>>0>=Q[e>>2]){break n}n=h<<2;N[n+N[e+24>>2]>>2]=d;q=N[N[e+4>>2]+(d<<4)>>2];d=j&p;if(q>>>0<=d>>>0){break n}N[n+N[e+28>>2]>>2]=d;g=0;h=h+1|0;if(h>>>0>2]){continue}break n}break}g=85}La=i+16|0;c=g;if(c){break a}}L[(b?45:33)+l|0]=1;N[a+740>>2]=N[a+740>>2]|(b?16:2);c=0}La=k+16|0;return c}function nt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=La-48|0;La=g;i=N[b+28>>2];c=N[b+8>>2];N[g+24>>2]=c;a:{b:{c:{d:{if(Q[b+4>>2]<=c+3>>>0){break d}f=N[b+20>>2];e:{if(f){d=g+28|0;if((Qa[f|0](b,c,d,4)|0)!=4){break d}c=N[b+8>>2];break e}d=N[b>>2];if(!d){break c}d=c+d|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}c=85;break a}d=0}N[b+8>>2]=c+4;N[g+12>>2]=d;c=rb(b,179200,g+12|0);if(c){break a}f:{l=N[g+12>>2];if((l|0)!=1330926671){f=N[g+24>>2];d=f+12|0;h=N[b+20>>2];g:{if(h){c=85;if(!(Qa[h|0](b,d,0,0)|0)){break g}break a}c=85;if(d>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=d;c=2;k=P[g+16>>1];if(!k){break a}m=f+28|0;f=0;h=0;while(1){h:{if(rb(b,179232,g+28|0)){k=f-1|0;M[g+16>>1]=k;break h}d=N[b+4>>2];j=N[g+36>>2];i:{if(d>>>0>>0){break i}e=N[g+28>>2];n=N[g+40>>2];if(!((e|0)==1986884728|n>>>0<=d-j>>>0)&(e|0)!=1752003704){break i}h=h+1|0;j:{k:{l:{m:{if((e|0)<=1651008867){if((e|0)==1296389185){break m}if((e|0)!=1397313095){break i}o=1;break i}if((e|0)!=1751474532&(e|0)!=1651008868){break i}if(n>>>0<54){c=142;break a}e=j+12|0;n:{o:{n=N[b+20>>2];if(n){if(!(Qa[n|0](b,e,0,0)|0)){break o}c=85;break a}if(d>>>0>=e>>>0){break n}c=85;break a}d=N[b+4>>2]}N[b+8>>2]=e;p:{if(j+15>>>0>>0){d=N[b+20>>2];if(!d){N[b+8>>2]=e+4;d=m+(f<<4)|0;break l}if((Qa[d|0](b,e,g+44|0,4)|0)==4){break p}}c=85;break a}N[b+8>>2]=N[b+8>>2]+4;d=m+(f<<4)|0;e=N[b+20>>2];if(!e){break l}if(Qa[e|0](b,d,0,0)|0){break k}break j}p=1;break i}if(Q[b+4>>2]>=d>>>0){break j}}c=85;break a}N[b+8>>2]=d;q=1}f=f+1|0;if((k|0)!=(f|0)){continue}}break}if(!(h&65535)){break a}if(q){break f}c=142;if(!o|!p){break a}break f}l=1330926671;k=P[g+16>>1];h=k;if(h){break f}c=2;break a}N[a+148>>2]=l;M[a+152>>1]=h;c=h<<4&1048560;d=Qa[N[i+4>>2]](i,c)|0;if(d){G(d,0,c);N[a+156>>2]=d;d=N[g+24>>2]+12|0;f=N[b+20>>2];q:{if(f){c=85;if(!(Qa[f|0](b,d,0,0)|0)){break q}break a}c=85;if(d>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=d;d=k&65535;c=Bb(b,d<<4);if(c){break a}r:{if(!d){e=0;break r}h=0;e=0;while(1){i=N[b+36>>2];c=N[b+32>>2];s:{if(i>>>0<=c+3>>>0){f=0;break s}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;j=0;t:{if(i>>>0<=c+3>>>0){l=0;break t}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);l=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;if(i>>>0>c+3>>>0){d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);j=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;d=0;if(i>>>0>c+3>>>0){d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;c=N[b+4>>2];u:{if(c>>>0>>0){break u}c=c-j|0;if(c>>>0>>0){if((f|0)!=1986884728&(f|0)!=1752003704){break u}d=c&-4}m=N[a+156>>2];i=e&65535;v:{if(!i){i=0;break v}c=0;while(1){if(N[m+(c<<4)>>2]==(f|0)){break u}c=c+1|0;if((i|0)!=(c|0)){continue}break}}c=m+(i<<4)|0;N[c+12>>2]=d;N[c+8>>2]=j;N[c+4>>2]=l;N[c>>2]=f;e=e+1|0}h=h+1|0;if((h&65535)>>>0<(k&65535)>>>0){continue}break}}M[a+152>>1]=e;if(N[b+20>>2]){a=N[b>>2];if(a){d=N[b+28>>2];Qa[N[d+8>>2]](d,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;c=0;break a}N[a+156>>2]=0;c=64}La=g+48|0;return c|0}function jl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{l=N[b+4>>2];if(l>>>0>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}g=c-a|0;if(g>>>0<2){break a}e=N[b+12>>2];j=e-2|0;N[b+12>>2]=j;if((j|0)<=0){break a}d=1;b:{c:{d:{e:{f:{g:{h:{i:{h=O[a|0]|O[a+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break d;case 8:break e;case 6:break f;case 4:break g;case 2:break h;case 0:break i;default:break b}}e=N[b+36>>2];if(e>>>0>1073741823){break a}e=e<<2;if(!e){break c}a=a+2|0;if(a>>>0>c>>>0|e>>>0>c-a>>>0){break a}a=j-e|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<8){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}g=a+2|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<10){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}d=0;j=O[g|0]|O[g+1|0]<<8;k=(j<<8|j>>>8)&65535;if(k>>>0<6){break b}i=O[a+4|0]|O[a+5|0]<<8;e=(i<<8|i>>>8)&65535;f=0;j:{if(!i){break j}i=a+12|0;if(i>>>0>c>>>0){break b}f=c-i|0;c=T(e,k);if(f>>>0>>0){break b}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=i+T(k,e-1|0)|0;f=0;if((O[c|0]|O[c+1|0]<<8)!=65535){break j}f=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=f+e|0;if(!n){break c}k=a+12|0;e=0;while(1){d=O[a+4|0]|O[a+5|0]<<8;h=(d<<8|d>>>8)&65535;c=0;k:{if(!d){break k}d=k+T(h-1|0,(j<<8|(j&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break k}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+h>>>0<=e>>>0){c=275552}else{l=N[b+4>>2];j=O[g|0]|O[g+1|0]<<8;c=k+T((j<<8|j>>>8)&65535,e)|0}d=0;if(c>>>0>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-c>>>0<6){break b}i=N[b+12>>2];f=i-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[c+2|0]|O[c+3|0]<<8;f=(f<<8|f>>>8)&65535;m=O[c|0]|O[c+1|0]<<8;m=(m<<8|m>>>8)&65535;if(f>>>0>m>>>0){break b}c=c+4|0;if(c>>>0>h>>>0|h-c>>>0<2){break b}i=i-8|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=(m-f|0)+1|0;if(f>>>0>1073741823){break b}if(f){c=O[c|0]|O[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>h>>>0){break b}h=h-c|0;c=f<<2;if(h>>>0>>0){break b}c=i-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=1;e=e+1|0;if((n|0)!=(e|0)){continue}break}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<6){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<6){break a}e=e-8|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+6|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=((d<<8|d>>>8)&65535)<<2;if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<8){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+2|0]|O[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){break a}g=d;d=O[a+6|0]|O[a+7|0]<<8;d=T(g,(d<<8|d>>>8)&65535);if(!d){break c}a=a+8|0;if(a>>>0>c>>>0|d>>>0>c-a>>>0){break a}a=e-d|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}d=1}return d}return 0}function bx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;l=La-16|0;La=l;j=N[b+8>>2];e=N[b>>2];n=N[a+492>>2];g=N[b+16>>2];a:{b:{c=Qa[N[b+36>>2]](b)|0;if((c|0)<0){c=3;break b}e=j-e>>3;e=(c|0)<(e|0)?c:e;if(N[b+12>>2]|!e){break a}h=b+260|0;k=b+156|0;i=b+208|0;if(!N[b+152>>2]){d=e+6|0;c=Qa[N[N[n>>2]>>2]](i,d,g)|0;if(c){break b}c=Qa[N[N[n>>2]>>2]](k,d,g)|0;if(c){break b}c=Qa[N[N[n>>2]>>2]](h,4,g)|0;if(c){break b}}Qa[N[b+28>>2]](b);c=3;d=N[b>>2];if(j>>>0<=d>>>0){break b}r=e+5|0;e=0;c:{d:{while(1){e:{f:{if(d+3>>>0>=j>>>0){break f}g:{switch(O[d+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break g;default:break f}}h:{switch(O[d|0]-100|0){case 0:if(!e|(O[d+1|0]!=101|O[d+2|0]!=102)){break f}break c;case 1:break h;default:break f}}if(O[d+1|0]!=110){break f}if(O[d+2|0]==100){break e}}Qa[N[b+32>>2]](b);c=3;m=N[b>>2];if(m>>>0>=j>>>0){break b}if(N[b+12>>2]){break a}i:{if(O[d|0]!=47){break i}if(d+2>>>0>=j>>>0){break b}s=N[N[a+128>>2]+52>>2];c=N[b+8>>2];Qa[N[b+28>>2]](b);j:{f=N[b>>2];k:{if(f>>>0>=c>>>0|O[f|0]-48>>>0>9){break k}f=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((f|0)<0){break k}t=c;c=N[b>>2];p=c+1|0;if((f|0)<(t-p|0)){break j}}if(s){break a}N[b+12>>2]=3;break a}N[b>>2]=(c+f|0)+1;if(N[b+12>>2]){break a}if(N[b+152>>2]){break i}d=d+1|0;m=m-d|0;c=Qa[N[b+200>>2]](k,e,d,m+1|0)|0;if(c){break b}c=e<<2;L[m+N[c+N[b+180>>2]>>2]|0]=0;if(O[d|0]==46){c=cb(15265,N[c+N[b+180>>2]>>2]);q=c?q:1;o=c?o:e}d=N[a+172>>2];l:{if(!((d|0)<0|(e|0)>=(r|0))){c=3;if(d>>>0>=f>>>0){break b}d=Qa[N[g+4>>2]](g,f)|0;if(!d){break d}B(d,p,f);Qa[N[n+16>>2]](d,f,4330);c=N[a+172>>2];c=Qa[N[b+252>>2]](i,e,c+d|0,f-c|0)|0;Qa[N[g+8>>2]](g,d);break l}c=Qa[N[b+252>>2]](i,e,p,f)|0}if(c){break b}e=e+1|0}Qa[N[b+28>>2]](b);d=N[b>>2];if(j>>>0>d>>>0){continue}}break}if(e){break c}c=3;break b}c=!d<<6;break b}N[b+152>>2]=e;if(q&255){a=N[N[b+180>>2]>>2];if(!cb(15265,a)){break a}c=Qa[N[b+304>>2]](h,0,a,N[N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,1,N[N[b+232>>2]>>2],N[N[b+236>>2]>>2])|0;if(c){break b}a=o<<2;c=Qa[N[b+304>>2]](h,2,N[a+N[b+180>>2]>>2],N[a+N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,3,N[a+N[b+232>>2]>>2],N[a+N[b+236>>2]>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,o,N[N[b+284>>2]>>2],N[N[b+288>>2]>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,o,N[N[b+284>>2]+4>>2],N[N[b+288>>2]+4>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,0,N[N[b+284>>2]+8>>2],N[N[b+288>>2]+8>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,0,N[N[b+284>>2]+12>>2],N[N[b+288>>2]+12>>2])|0;if(c){break b}break a}L[l+12|0]=O[30448];N[l+8>>2]=O[30444]|O[30445]<<8|(O[30446]<<16|O[30447]<<24);c=Qa[N[b+304>>2]](h,0,N[N[b+180>>2]>>2],N[N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,1,N[N[b+232>>2]>>2],N[N[b+236>>2]>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,0,15265,8)|0;if(c){break b}c=Qa[N[b+252>>2]](i,0,l+8|0,5)|0;if(c){break b}c=Qa[N[b+200>>2]](k,e,N[N[b+284>>2]>>2],N[N[b+288>>2]>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,e,N[N[b+284>>2]+4>>2],N[N[b+288>>2]+4>>2])|0;if(c){break b}N[b+152>>2]=N[b+152>>2]+1;break a}N[b+12>>2]=c}La=l+16|0}function xc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{l=N[b+4>>2];if(l>>>0>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}g=c-a|0;if(g>>>0<2){break a}e=N[b+12>>2];j=e-2|0;N[b+12>>2]=j;d=1;if((j|0)<=0){break a}b:{c:{d:{e:{f:{g:{h:{i:{h=O[a|0]|O[a+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break d;case 8:break e;case 6:break f;case 4:break g;case 2:break h;case 0:break i;default:break b}}d=0;e=N[b+36>>2];if((e|0)<0){break b}e=e<<1;if(!e){break c}a=a+2|0;if(a>>>0>c>>>0|e>>>0>c-a>>>0){break b}a=j-e|0;N[b+12>>2]=a;if((a|0)>0){break c}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<6){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}g=a+2|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<10){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}d=0;j=O[g|0]|O[g+1|0]<<8;k=(j<<8|j>>>8)&65535;if(k>>>0<6){break b}i=O[a+4|0]|O[a+5|0]<<8;e=(i<<8|i>>>8)&65535;f=0;j:{if(!i){break j}i=a+12|0;if(i>>>0>c>>>0){break b}f=c-i|0;c=T(e,k);if(f>>>0>>0){break b}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=i+T(k,e-1|0)|0;f=0;if((O[c|0]|O[c+1|0]<<8)!=65535){break j}f=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=f+e|0;if(!n){break c}k=a+12|0;e=0;while(1){d=O[a+4|0]|O[a+5|0]<<8;h=(d<<8|d>>>8)&65535;c=0;k:{if(!d){break k}d=k+T(h-1|0,(j<<8|(j&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break k}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+h>>>0<=e>>>0){c=275552}else{l=N[b+4>>2];j=O[g|0]|O[g+1|0]<<8;c=k+T((j<<8|j>>>8)&65535,e)|0}d=0;if(c>>>0>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-c>>>0<6){break b}i=N[b+12>>2];f=i-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[c+2|0]|O[c+3|0]<<8;f=(f<<8|f>>>8)&65535;m=O[c|0]|O[c+1|0]<<8;m=(m<<8|m>>>8)&65535;if(f>>>0>m>>>0){break b}c=c+4|0;if(c>>>0>h>>>0|h-c>>>0<2){break b}i=i-8|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=m-f|0;if((f|0)<-1){break b}f=(f<<1)+2|0;if(f){c=O[c|0]|O[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>h>>>0|f>>>0>h-c>>>0){break b}c=i-f|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=1;e=e+1|0;if((n|0)!=(e|0)){continue}break}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<4){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<6){break a}e=e-8|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+6|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=((d<<8|d>>>8)&65535)<<1;if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<8){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+2|0]|O[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){break a}g=d;d=O[a+6|0]|O[a+7|0]<<8;d=T(g,(d<<8|d>>>8)&65535);if(!d){break c}a=a+8|0;if(a>>>0>c>>>0|d>>>0>c-a>>>0){break a}a=e-d|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}d=1}return d}return 0}function Zd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{c:{d:{e:{f:{g:{h:{e=O[a|0]|O[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 13:break c;case 12:break d;case 10:break e;case 6:break f;case 4:break g;case 0:break h;default:break a}}if(b>>>0>255){break a}b=O[(a+b|0)+6|0];if(b){break b}break a}e=O[a+6|0]|O[a+7|0]<<8;d=e<<8|e>>>8;e=d&65535;if(e>>>0<2){break a}f=O[a+2|0]|O[a+3|0]<<8;e=e>>>1|0;i=(((f<<8|f>>>8)&65535)-(e<<3)|0)-16>>>1|0;k=a+14|0;a=d&65534;f=(k+a|0)+2|0;l=a+f|0;m=a+l|0;o=a+m|0;d=e-1|0;a=0;p=e+1<<1;i:{while(1){g=a+d|0;h=g>>>1|0;g=g&-2;j=g+k|0;n=O[j|0]|O[j+1|0]<<8;j:{if(((n<<8|n>>>8)&65535)>>>0>=b>>>0){d=j+p|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break i}d=h-1|0;break j}a=h+1|0}if((a|0)<=(d|0)){continue}break}return 0}a=g>>1;d=g+m|0;d=O[d|0]|O[d+1|0]<<8;if(d){j=0;d=a+(b-e|0)+(((d<<8|d>>>8)&65534)>>>1)|0;b=f+(a<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=d-((b<<8|b>>>8)&65535)|0;if(b>>>0>=i>>>0){break a}b=(b<<1)+o|0;b=O[b|0]|O[b+1|0]<<8;if(!b){break a}b=(b<<8|b>>>8)&65535}a=(a<<1)+l|0;a=O[a|0]|O[a+1|0]<<8;b=(a<<8|a>>>8)+b&65535;if(b){break b}return 0}d=b;b=O[a+6|0]|O[a+7|0]<<8;b=d-((b<<8|b>>>8)&65535)|0;e=O[a+8|0]|O[a+9|0]<<8;if(b>>>0>=((e<<8|e>>>8)&65535)>>>0){a=275552}else{a=((b<<1)+a|0)+10|0}a=O[a|0]|O[a+1|0]<<8;if(!a){break a}b=(a<<8|a>>>8)&65535;break b}d=b;b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);b=d-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;e=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(b>>>0>=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0){a=275552}else{a=((b<<1)+a|0)+20|0}a=O[a|0]|O[a+1|0]<<8;if(!a){break a}b=(a<<8|a>>>8)&65535;break b}e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);k:{if((d|0)<=0){break k}i=a+16|0;d=d-1|0;a=0;while(1){h=a+d>>>1|0;f=i+T(h,12)|0;g=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);l:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){a=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0>>0){a=h+1|0;break l}e=i+T(h,12)|0;break k}d=h-1|0}if((a|0)<=(d|0)){continue}break}}a=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(d>>>0>>0){break a}b=b-a|0;a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=b+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;if(b){break b}break a}e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);m:{if((d|0)<=0){break m}i=a+16|0;d=d-1|0;a=0;while(1){h=a+d>>>1|0;f=i+T(h,12)|0;g=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);n:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){a=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0>>0){a=h+1|0;break n}e=i+T(h,12)|0;break m}d=h-1|0}if((a|0)<=(d|0)){continue}break}}a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);if(!a){break a}b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}N[c>>2]=b;j=1}return j}function $j(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!(O[b+4|0]|O[b+5|0]<<8)&(O[b+2|0]|O[b+3|0]<<8)==65535){break a}c=N[a+172>>2];N[a+172>>2]=c+1;if(c>>>0>2e3){break a}f=b-N[a>>2]|0;g=f>>>9|0;j=N[a+148>>2];b:{c:{d:{c=N[a+136>>2];k=N[a+144>>2];if(c>>>0>=k>>>0){break d}c=j+(c<<3)|0;if((g|0)!=N[c>>2]){break d}d=c+4|0;break c}h=0;if((k|0)<=0){break b}e=k-1|0;c=0;e:{while(1){d=c+e>>>1|0;i=N[j+(d<<3)>>2];f:{if((i|0)>(g|0)){e=d-1|0;break f}if((g|0)==(i|0)){break e}c=d+1|0}if((c|0)<=(e|0)){continue}break}h=0;break b}N[a+136>>2]=d;d=(d>>>0>=k>>>0?275552:j+(d<<3)|0)+4|0}e=N[a+160>>2];h=0;if(!e){break b}c=(e+(N[d>>2]<<6)|0)+(f>>>3&56)|0;g=N[c>>2];e=N[c+4>>2];d=f&63;c=d&31;h=((d&63)>>>0>=32?e>>>c|0:((1<>>c)&1}if((h|0)!=O[a+164|0]){break a}g=b+4|0;sc(a+116|0,f);if(!O[a+60|0]){c=O[b+2|0]|O[b+3|0]<<8;g:{if((c|0)==65535){break g}d=N[a+176>>2]+1|0;N[a+176>>2]=d;if(d>>>0>1500){break g}sc(N[a+4>>2],(c<<8|c>>>8)&65535)}e=O[g|0]|O[g+1|0]<<8;d=(e<<8|e>>>8)&65535;c=d+N[a+176>>2]|0;N[a+176>>2]=c;if(c>>>0>1500){break a}c=b+6|0;a=N[a+4>>2];g=a+12|0;if(O[a+48|0]){Vg(g,c,d);return}if(!e|!O[g|0]){break a}N[a+16>>2]=-1;a=O[c|0]|O[c+1|0]<<8;e=(a<<8|a>>>8)&65535;h:while(1){f=vc(g,e);if(!f){break a}j=e&65024;k=j+512|0;while(1){a=f+(e>>>3&56)|0;i=N[a+4>>2];e=e&63;b=e&31;if((e&63)>>>0>=32){e=1<>>32-b}N[a>>2]=h|N[a>>2];N[a+4>>2]=e|i;d=d-1|0;if(!d){break a}a=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(a<<8|a>>>8)&65535;if(j>>>0>e>>>0){continue h}if(e>>>0>>0){continue}break}continue}}j=a+20|0;if(_j(j)){break a}b=O[g|0]|O[g+1|0]<<8;if(!b){break a}b=(b<<8|b>>>8)&65535;n=b>>>0<=1?1:b;k=0;while(1){b=O[g|0]|O[g+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=k>>>0?238136:(g+(k<<1)|0)+2|0;b=O[b|0]|O[b+1|0]<<8;e=(b<<8|b>>>8)&65535;b=e>>>9|0;h=N[a+40>>2];i:{j:{k:{c=N[a+28>>2];i=N[a+36>>2];if(c>>>0>=i>>>0){break k}c=h+(c<<3)|0;if((b|0)!=N[c>>2]){break k}d=c+4|0;break j}c=0;if((i|0)<=0){break i}c=i-1|0;d=0;l:{while(1){f=c+d>>>1|0;l=h+(f<<3)|0;m=N[l>>2];m:{if((b|0)<(m|0)){c=f-1|0;break m}if((b|0)==(m|0)){break l}d=f+1|0}if((c|0)>=(d|0)){continue}break}c=0;break i}N[a+28>>2]=f;d=(f>>>0>=i>>>0?275552:l)+4|0}f=N[a+52>>2];c=0;if(!f){break i}c=(f+(N[d>>2]<<6)|0)+(e>>>3&56)|0;i=N[c>>2];f=N[c+4>>2];d=e&63;c=d&31;c=((d&63)>>>0>=32?f>>>c|0:((1<>>c)&1}n:{if((c|0)==O[a+56|0]){break n}sc(N[a+4>>2],e);if(O[a+56|0]){if(!O[j|0]){break n}N[j+4>>2]=-1;b=vc(j,e);if(!b){break n}b=b+(e>>>3&56)|0;f=N[b+4>>2];d=e&63;c=d&31;if((d&63)>>>0>=32){d=1<>>32-c}N[b>>2]=e|N[b>>2];N[b+4>>2]=d|f;break n}if(!O[j|0]){break n}f=N[a+28>>2];c=N[a+36>>2];i=N[a+40>>2];if(!(f>>>0>>0&(b|0)==N[i+(f<<3)>>2])){if((c|0)<=0){break n}c=c-1|0;d=0;while(1){o:{f=c+d>>>1|0;h=N[i+(f<<3)>>2];p:{if((h|0)>(b|0)){c=f-1|0;break p}if((b|0)==(h|0)){break o}d=f+1|0}if((c|0)>=(d|0)){continue}break n}break}N[a+28>>2]=f}b=N[a+52>>2];if(!b){break n}c=N[(i+(f<<3)|0)+4>>2];N[a+24>>2]=-1;b=(b+(c<<6)|0)+(e>>>3&56)|0;c=N[b>>2];d=N[b+4>>2];o=b,p=ZE(-2,-1,e)&c,N[o>>2]=p;N[b+4>>2]=Pa&d}k=k+1|0;if((n|0)!=(k|0)){continue}break}}}function Zl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=La-16|0;La=o;p=d+8|0;e=-31;a:{b:{c:{d:{e:{f:{switch(N[d+628>>2]){case 3:b=N[d+2428>>2];break d;case 2:e=N[d+2424>>2];break e;case 0:e=Xl(d,p,b);if((e|0)!=1){break a}N[b>>2]=N[b>>2]+1;N[d+2420>>2]=0;f=Qa[N[d+24>>2]](N[d+32>>2],a)|0;N[c>>2]=f;if(!f){e=-25;break a}e=1;if(Q[b>>2]<=1){G(f,0,a);break a}N[d+628>>2]=1;break;case 4:break c;case 1:break f;default:break a}}e=N[d+12>>2];g:{if(e-28>>>0>=5){f=N[p>>2];break g}i=N[d+20>>2];if(!i){e=2;break a}g=N[d+8>>2]>>>8|0;N[d+8>>2]=g;h=N[d+16>>2];f=O[h|0];N[d+20>>2]=i-1;N[d+16>>2]=h+1;f=g|f<<24;N[d+8>>2]=f;e=e-8|0}N[d+628>>2]=2;h=e;e=f>>>e|0;f=e&1;N[d+12>>2]=h+(f?5:1);e=(e>>>1&15)+1&0-f;N[d+2424>>2]=e}b=N[b>>2]+e|0;e=Qf(b,b,d+2432|0,0,d);if((e|0)!=1){break a}N[d+628>>2]=3;N[d+2428>>2]=65535;b=65535}l=N[d+2424>>2];h=N[d+2420>>2];j=N[c>>2];g=b;N[o+12>>2]=b;if((b|0)==65535&a>>>0<=h>>>0){break c}b=(b|0)!=65535;m=d+2432|0;while(1){e=N[d+12>>2];h:{i:{j:{if(!(b&1)){k:{l:{m:{if(e-18>>>0>=15){k=N[p>>2];break m}b=N[d+20>>2];f=e;while(1){if(!b){break l}k=N[d+8>>2]>>>8|0;N[d+8>>2]=k;i=N[d+16>>2];g=O[i|0];b=b-1|0;N[d+20>>2]=b;e=f-8|0;N[d+12>>2]=e;N[d+16>>2]=i+1;k=k|g<<24;N[d+8>>2]=k;g=f-26|0;f=e;if(g>>>0<15){continue}break}}g=k>>>e|0;b=m+((g&255)<<2)|0;f=O[b|0];if(f>>>0>=9){e=e+8|0;b=(P[b+2>>1]+(N[(f<<2)+169360>>2]&g>>>8&127)<<2)+b|0;f=O[b|0]}N[d+12>>2]=(f&255)+e;g=P[b+2>>1];N[o+12>>2]=g;break k}if(!Jc(m,p,o+12|0)){g=65535;break b}g=N[o+12>>2]}if(!g){g=0;L[h+j|0]=0;break i}if(g>>>0>l>>>0){break j}e=N[d+12>>2]}n:{if(32-e>>>0>=g>>>0){k=N[p>>2];break n}b=N[d+20>>2];f=e;while(1){if(!b){break b}n=N[d+8>>2]>>>8|0;N[d+8>>2]=n;k=N[d+16>>2];i=O[k|0];b=b-1|0;N[d+20>>2]=b;e=f-8|0;N[d+12>>2]=e;N[d+16>>2]=k+1;k=n|i<<24;N[d+8>>2]=k;i=40-f|0;f=e;if(g>>>0>i>>>0){continue}break}}N[d+12>>2]=e+g;b=(N[(g<<2)+169392>>2]&k>>>e)+(1<>>0>a>>>0){e=-8;break a}G(h+j|0,0,b);break h}L[h+j|0]=g-l}f=h+1|0}b=0;h=f;if(h>>>0>>0){continue}break}}b=N[d+12>>2];o:{p:{if((b|0)!=32){h=N[p>>2];break p}h=N[d+20>>2];if(!h){e=2;f=4;break o}e=N[d+8>>2]>>>8|0;N[d+8>>2]=e;b=N[d+16>>2];f=O[b|0];N[d+20>>2]=h-1;N[d+16>>2]=b+1;b=24;h=e|f<<24;N[d+8>>2]=h}e=1;N[d+12>>2]=b+1;f=0;if(!(h>>>b&1)){break o}k=N[c>>2];i=50462976;l=d+288|0;N[l>>2]=50462976;j=1;b=N[d+280>>2]+1|0;c=b>>>0<=2?2:b;b=c-1|0;h=b&3;if(c-2>>>0>=3){b=b&-4;c=0;while(1){g=l+(j<<2)|0;N[g>>2]=i+67372036;N[g+4>>2]=i+134744072;N[g+8>>2]=i+202116108;i=i+269488144|0;N[g+12>>2]=i;j=j+4|0;c=c+4|0;if((b|0)!=(c|0)){continue}break}}if(h){m=0;while(1){i=i+67372036|0;N[l+(j<<2)>>2]=i;j=j+1|0;m=m+1|0;if((h|0)!=(m|0)){continue}break}}q:{if(!a){N[d+280>>2]=0;break q}n=d+287|0;m=0;j=0;r:{if((a|0)!=1){c=a&1;b=a&-2;while(1){a=j+k|0;i=O[a|0];h=O[i+l|0];L[a|0]=h;L[n|0]=h;B(l,n,i+1|0);a=k+(j|1)|0;g=O[a|0];h=O[g+l|0];L[a|0]=h;L[n|0]=h;B(l,n,g+1|0);m=g|(i|m);j=j+2|0;if((b|0)!=(j|0)){continue}break}if(!c){break r}}a=j+k|0;c=O[a|0];b=O[c+l|0];L[a|0]=b;L[n|0]=b;B(l,n,c+1|0);m=c|m}N[d+280>>2]=m>>>2}}N[d+628>>2]=f;break a}N[d+2420>>2]=h;N[d+2428>>2]=g;e=2}La=o+16|0;return e}function td(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=N[b>>2];if((c|0)==-1){g=b;d=-1;f=N[a+28>>2];a:{if(!f){break a}i=N[a+32>>2];k=N[a+20>>2];j=N[a+16>>2];b=0;b:{c:{d:{while(1){c=b>>>0>=j>>>0?275552:k+(b<<3)|0;a=N[c+4>>2];a=a>>>0>=f>>>0?275552:i+(a<<6)|0;e=N[a>>2];h=N[a+4>>2];if(e|h){b=N[c>>2]<<9;f=0;break c}e=N[a+8>>2];h=N[a+12>>2];if(e|h){break d}e:{if(N[a+16>>2]|N[a+20>>2]|(N[a+24>>2]|N[a+28>>2])){break e}if(N[a+32>>2]|N[a+36>>2]|(N[a+40>>2]|N[a+44>>2])){break e}if(N[a+48>>2]|N[a+52>>2]|(N[a+56>>2]|N[a+60>>2])){break e}b=b+1|0;if((f|0)==(b|0)){break a}continue}break}b=N[c>>2]<<9;c=N[a+20>>2];h=c;e=N[a+16>>2];f=128;if(c|e){break c}c=N[a+28>>2];h=c;e=N[a+24>>2];f=192;if(c|e){break c}c=N[a+36>>2];h=c;e=N[a+32>>2];f=256;if(c|e){break c}c=N[a+44>>2];h=c;e=N[a+40>>2];f=320;if(c|e){break c}c=N[a+52>>2];h=c;e=N[a+48>>2];f=384;if(c|e){break c}e=N[a+56>>2];a=N[a+60>>2];h=a;f=448;if(a|e){break c}a=-1;break b}b=N[c>>2]<<9;f=64}a=f|SE(e,h)}d=a+b|0}N[g>>2]=d;return(d|0)!=-1}f:{g:{h:{g=N[a+16>>2];i=N[a+8>>2];d=c>>>9|0;m=N[a+20>>2];i:{j:{if(!(g>>>0<=i>>>0|(d|0)!=N[m+(i<<3)>>2])){k=N[a+32>>2];break j}k:{if((g|0)<=0){i=0;break k}k=g-1|0;i=0;while(1){e=i+k>>>1|0;f=N[(e<<3)+m>>2];l:{if((f|0)>(d|0)){k=e-1|0;break l}if((d|0)==(f|0)){i=e;break k}i=e+1|0}if((i|0)<=(k|0)){continue}break}}if(g>>>0<=i>>>0){N[b>>2]=-1;return 0}k=N[a+32>>2];if((d|0)!=N[(i<<3)+m>>2]){break i}}m:{n:{d=c+1|0;e=d&511;if(!e){break n}n=(i<<3)+m|0;l=(N[n+4>>2]<<6)+k|0;j=e>>>6|0;e=l+(j<<3)|0;c=N[e>>2];f=N[e+4>>2];g=d&63;e=g&31;h=c;if((g&63)>>>0>=32){g=-1<>>32-e}e=h&c;g=g&f;h=g;if(e|g){d=d&448;break h}g=j+1|0;if((g|0)==8){break n}d=l+(g<<3)|0;e=N[d>>2];d=N[d+4>>2];h=d;if(d|e){d=g<<6;break h}d=j+2|0;if((d|0)==8){break n}c=l+(d<<3)|0;e=N[c>>2];c=N[c+4>>2];h=c;o:{if(e|c){break o}c=j+3|0;if((c|0)==8){break n}g=l+(c<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=d;d=c;break o}d=j+4|0;if((d|0)==8){break n}g=l+(d<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=c;break o}c=j+5|0;if((c|0)==8){break n}g=l+(c<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=d;d=c;break o}f=j+6|0;if((f|0)==8){break n}d=l+(f<<3)|0;e=N[d>>2];d=N[d+4>>2];h=d;if(d|e){g=c;d=f;break o}d=j+7|0;if((d|0)==8){break n}g=f;c=l+(d<<3)|0;e=N[c>>2];c=N[c+4>>2];h=c;if(!(e|c)){break n}}d=SE(e,h)|d<<6;N[b>>2]=d;if(g>>>0>=7){break m}break g}N[b>>2]=-1}i=i+1|0;g=N[a+16>>2]}if(g>>>0>i>>>0){while(1){p:{d=(N[((i<<3)+m|0)+4>>2]<<6)+k|0;e=N[d>>2];f=N[d+4>>2];h=f;c=0;q:{if(e|f){break q}f=N[d+12>>2];h=f;e=N[d+8>>2];c=64;if(f|e){break q}f=N[d+20>>2];h=f;e=N[d+16>>2];c=128;if(f|e){break q}f=N[d+28>>2];h=f;e=N[d+24>>2];c=192;if(f|e){break q}f=N[d+36>>2];h=f;e=N[d+32>>2];c=256;if(f|e){break q}f=N[d+44>>2];h=f;e=N[d+40>>2];c=320;if(f|e){break q}f=N[d+52>>2];h=f;e=N[d+48>>2];c=384;if(f|e){break q}e=N[d+56>>2];d=N[d+60>>2];h=d;if(!(d|e)){break p}c=448}o=b,p=c|SE(e,h)|N[(i<<3)+m>>2]<<9,N[o>>2]=p;break f}i=i+1|0;if((i|0)!=(g|0)){continue}break}}N[a+8>>2]=0;N[b>>2]=-1;return 0}d=SE(e,h)|d;N[b>>2]=d}N[b>>2]=(N[n>>2]<<9)+d}N[a+8>>2]=i;return 1}function Kp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=0,o=0,p=0,q=0;d=a+8|0;f=O[a+6|0]|O[a+7|0]<<8;j=(f<<8|f>>>8)&65535;f=c>>>0>j>>>0?j:c;if(f){while(1){g=(e<<2)+b|0;p=g,q=Jp(d,N[g>>2],0,1),N[p>>2]=q;g=d;d=O[d|0]|O[d+1|0]<<8;d=(g+(((d<<8|d>>>8)&65535)<<2)|0)+2|0;e=e+1|0;if((e|0)!=(f|0)){continue}break}}e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=2){a:{if(c>>>0>=j>>>0){break a}g=j+(f^-1)|0;i=j-f&3;if(i){e=0;while(1){h=d;d=O[d|0]|O[d+1|0]<<8;d=(h+(((d<<8|d>>>8)&65535)<<2)|0)+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}f=f+i|0}if(g>>>0<3){break a}while(1){e=O[d|0]|O[d+1|0]<<8;d=(((e<<8|e>>>8)&65535)<<2)+d|0;e=O[d+2|0]|O[d+3|0]<<8;d=(d+2|0)+(((e<<8|e>>>8)&65535)<<2)|0;e=O[d+2|0]|O[d+3|0]<<8;d=(d+2|0)+(((e<<8|e>>>8)&65535)<<2)|0;e=O[d+2|0]|O[d+3|0]<<8;d=((((e<<8|e>>>8)&65535)<<2)+d|0)+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}h=275552;n=275552;e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(e){n=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0}e=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(e){h=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0}a=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{a=275552}f=O[a+2|0]|O[a+3|0]<<8;e=f<<8|f>>>8;a=e&65535;k=kb(a<<2);b:{if(!f|!k){break b}a=a>>>0<=1?1:a;g=a&7;f=0;d=0;if((e&65535)>>>0>=8){a=a&65528;while(1){e=d<<2;N[e+k>>2]=1073741824;N[k+(e|4)>>2]=1073741824;N[k+(e|8)>>2]=1073741824;N[k+(e|12)>>2]=1073741824;N[k+(e|16)>>2]=1073741824;N[k+(e|20)>>2]=1073741824;N[k+(e|24)>>2]=1073741824;N[k+(e|28)>>2]=1073741824;d=d+8|0;if((a|0)!=(d|0)){continue}break}}if(!g){break b}while(1){N[k+(d<<2)>>2]=1073741824;d=d+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}e=0;c:{if(!c){break c}f=0;while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=c>>>0){continue}break}d=-1;if(f>>>0<=1073741823){e=kb(f<<2);d=e?f:-1}j=0;while(1){g=N[(m<<2)+b>>2];f=md(n,m);i=f>>>16|0;a=O[h+6|0]|O[h+7|0]<<8;if(i>>>0>=((a<<8|a>>>8)&65535)>>>0){l=U(0)}else{a=(i<<2)+h|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{a=275552}o=f&65535;i=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(i){f=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))+h|0}else{f=275552}l=Fc(a,o,b,c,f,k)}l=U(U(Z(U(l+U(.5))))+U(g|0));d:{if(U(V(l))>>0<=d>>>0){a=e;break f}while(1){f=((f>>>1|0)+f|0)+8|0;if(g>>>0>=f>>>0){continue}break}d=-1;if(f>>>0>1073741823){break g}a=$a(e,f<<2);if(a){break f}}N[147456]=0;break e}e=(i|0)<=-16384?-16384:i;N[(j<<2)+a>>2]=(e|0)>=16384?16384:e;d=f;j=g;e=a}m=m+1|0;if((m|0)!=(c|0)){continue}break}d=0;if((c|0)!=1){f=c&1;c=c&-2;while(1){g=(d<<2)+b|0;h:{if(d>>>0>=j>>>0){N[147456]=0;a=0;break h}a=N[(d<<2)+e>>2]}N[g>>2]=a;g=d|1;i:{if(g>>>0>=j>>>0){N[147456]=0;a=0;break i}a=N[(g<<2)+e>>2]}N[(g<<2)+b>>2]=a;d=d+2|0;if((c|0)!=(d|0)){continue}break}if(!f){break c}}b=(d<<2)+b|0;j:{if(d>>>0>=j>>>0){N[147456]=0;a=0;break j}a=N[(d<<2)+e>>2]}N[b>>2]=a}_a(k);_a(e)}}function uj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;L[a|0]=0;L[a+1|0]=0;n=$c(b);l=N[c+16>>2];m=N[c+12>>2];i=N[c+4>>2];k=N[c>>2];a:{if(!de(b,n)){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{if(i){q=(l<<1)+m|0;r=(i<<1)+k|0;h=-2;g=l;f=m;c=i;d=k;while(1){if(!g&(f|0)==(q|0)){break j}s=h+1|0;k:{if(c){e=0;h=d;if(g){break k}}M[294912]=0;e=!g|(c|0)!=0;h=c?d:589824}j=h;j=O[j|0]|O[j+1|0]<<8;h=(j<<8|j>>>8)&65535;o=((s|0)!=(h|0))+o|0;p=p+1|0;j=!e;g=g-j|0;f=(j<<1)+f|0;j=(c|0)!=0;d=(j<<1)+d|0;c=c-j|0;if((r|0)!=(d|0)|c){continue}break}break j}L[n|0]=0;L[n+1|0]=1;break i}c=T(o,3)>>>0

>>0;d=c?512:256;L[n|0]=d;L[n+1|0]=d>>>8;if(c-1|0){break i}break h}g=n+2|0;if(!de(b,g)){break a}m=i>>>0>>0?i:l;c=m<<8|(m&65280)>>>8;L[g|0]=c;L[g+1|0]=c>>>8;c=N[b+24>>2];if(m>>>0>=65536){f=c|16;break b}if(c){break a}if(g>>>0>2]){break g}c=N[b+4>>2];if(c>>>0>>0){break f}d=(m<<1&131070)+2|0;if(d>>>0>>0){break e}f=4;d=(d+g|0)-c|0;if((d|0)<0|(d|0)>(N[b+8>>2]-c|0)){break b}N[b+4>>2]=c+d;if(!c){break a}if(!m){break c}c=0;while(1){l:{m:{n:{if(i){if(!l){break n}d=g+(c<<1)|0;f=O[k|0]|O[k+1|0]<<8;L[d+2|0]=f;L[d+3|0]=f>>>8;k=k+2|0;d=-1;i=i-1|0;break l}M[294912]=0;d=g+(c<<1)|0;L[d+2|0]=0;L[d+3|0]=0;d=-1;i=0;if(!l){break m}break l}M[294912]=0;d=g+(c<<1)|0;f=O[k|0]|O[k+1|0]<<8;L[d+2|0]=f;L[d+3|0]=f>>>8;k=k+2|0;i=i-1|0}d=0}l=d+l|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}break c}if(!tj(b,n)){break a}e=0;j=-2;g=l;f=m;c=i;d=k;while(1){if(!g&(f|0)==(q|0)){break d}o:{if(c){o=0;h=d;if(g){break o}}M[294912]=0;o=!g|(c|0)!=0;h=c?d:589824}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;e=((h|0)!=(j+1|0))+e|0;j=!o;g=g-j|0;f=(j<<1)+f|0;j=h;p=(c|0)!=0;d=(p<<1)+d|0;c=c-p|0;if((r|0)!=(d|0)|c){continue}break}break d}ba(13866,14296,669,15286);F()}ba(16941,14296,670,15286);F()}ba(15351,14296,671,15286);F()}f=n+2|0;if(!de(b,f)){break a}c=e<<8|(e&65280)>>>8;L[f|0]=c;L[f+1|0]=c>>>8;if(e>>>0>=65536){N[b+24>>2]=N[b+24>>2]|16}if(!sj(b,f,T(e&65535,6)+2|0)){break a}if(!e){break c}g=-2;h=0;c=-1;while(1){if(!l&(m|0)==(q|0)){break c}e=g+1|0;p:{if(i){j=0;d=k;if(l){break p}}M[294912]=0;j=!l|(i|0)!=0;d=i?k:589824}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if((e|0)!=(g|0)){c=c+1|0;e=O[f|0]|O[f+1|0]<<8;q:{if(c>>>0>=((e<<8|e>>>8)&65535)>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break q}e=(f+T(c,6)|0)+2|0}L[e|0]=d;L[e+1|0]=d>>>8;e=O[f|0]|O[f+1|0]<<8;r:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break r}e=(f+T(c,6)|0)+2|0}n=h<<8|(h&65280)>>>8;L[e+4|0]=n;L[e+5|0]=n>>>8}e=O[f|0]|O[f+1|0]<<8;s:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break s}e=(f+T(c,6)|0)+2|0}L[e+2|0]=d;L[e+3|0]=d>>>8;d=(i|0)!=0;k=(d<<1)+k|0;h=h+1|0;i=i-d|0;d=!j;l=l-d|0;m=(d<<1)+m|0;if(i|(k|0)!=(r|0)){continue}break}}ce(b,a,Cc(b,1));return 1}N[b+24>>2]=f}_c(b);return 0}function re(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=N[a+88>>2];n=l+12|0;a:{b:{c:{d:{if(L[a+8|0]&1){e:{f:{g:{h:{i:{j:{k:{p=N[b>>2];switch(p|0){case 3:break i;case 2:break j;case 0:break k;case 1:break g;case 4:break h;default:break e}}e=P[a+68>>1];f=e;break e}e=N[a+60>>2]-N[a+52>>2]|0;d=N[a- -64>>2]-N[a+56>>2]|0;break f}e=M[a+76>>1];d=M[a+70>>1]-M[a+72>>1]|0;break f}c=N[b+4>>2];N[l+16>>2]=c;b=N[b+8>>2];N[l+20>>2]=b;if(!c){break c}if(b){break b}break d}e=M[a+70>>1]-M[a+72>>1]|0;d=e}c=d;c=c>>31;f=(d^c)-c|0;c=e>>31;e=(c^e)-c|0}d=N[b+4>>2];i=d;c=N[b+12>>2];if(c){i=(T(c,d)+36|0)/72|0}g=N[b+8>>2];m=g;b=N[b+16>>2];if(b){m=(T(b,g)+36|0)/72|0}l:{if(d){c=2147483647;m:{if(!e){break m}b=i>>31;h=(b^i)-b|0;if(h>>>0<=(e>>>17^65535)>>>0){c=((h<<16)+(e>>>1|0)>>>0)/(e>>>0)|0;break m}b=h<<16;d=b+(e>>>1|0)|0;b=(h>>>16|0)+(b>>>0>d>>>0)|0;if(b>>>0>=e>>>0){break m}o=W(b);j=32-o|0;b=d>>>j|b<>>0)/(e>>>0)|0;k=b-T(c,e)|0;b=d<>>31;h=d>>>0>=e>>>0;k=d-(h?e:0)|0;c=h|c<<1;j=31-o|0;b=b<<1}if((o|0)==31){break m}while(1){d=k<<1|b>>>31;o=d>>>0>=e>>>0;d=b>>>30&1|d-(o?e:0)<<1;h=d>>>0>=e>>>0;k=d-(h?e:0)|0;c=c<<2|o<<1|h;b=b<<2;j=j-2|0;if(j){continue}break}}c=(i|0)<0?0-c|0:c;N[l+16>>2]=c;if(g){b=2147483647;n:{if(!f){break n}d=m>>31;h=(d^m)-d|0;if(h>>>0<=(f>>>17^65535)>>>0){b=((h<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break n}d=h<<16;g=d+(f>>>1|0)|0;d=(h>>>16|0)+(d>>>0>g>>>0)|0;if(d>>>0>=f>>>0){break n}h=W(d);j=32-h|0;d=g>>>j|d<>>0)/(f>>>0)|0;k=d-T(b,f)|0;e=g<>>31;g=d>>>0>=f>>>0;k=d-(g?f:0)|0;j=31-h|0;e=e<<1;b=g|b<<1}if((h|0)==31){break n}while(1){d=k<<1|e>>>31;h=d>>>0>=f>>>0;d=e>>>30&1|d-(h?f:0)<<1;g=d>>>0>=f>>>0;k=d-(g?f:0)|0;b=g|(b<<2|h<<1);e=e<<2;j=j-2|0;if(j){continue}break}}b=(m|0)<0?0-b|0:b;N[l+20>>2]=b;if((p|0)!=3){break l}if((b|0)<=(c|0)){break c}break d}N[l+20>>2]=c;m=jb(i,f,e);b=c;break l}i=2147483647;o:{if(!f){break o}b=m>>31;d=(b^m)-b|0;if(d>>>0<=(f>>>17^65535)>>>0){i=((d<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break o}b=d<<16;c=b+(f>>>1|0)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;if(b>>>0>=f>>>0){break o}g=W(b);k=32-g|0;b=c>>>k|b<>>0)/(f>>>0)|0;j=b-T(f,i)|0;b=c<>>31;d=c>>>0>=f>>>0;j=c-(d?f:0)|0;i=d|i<<1;k=31-g|0;b=b<<1}if((g|0)==31){break o}while(1){c=j<<1|b>>>31;g=c>>>0>=f>>>0;c=b>>>30&1|c-(g?f:0)<<1;d=c>>>0>=f>>>0;j=c-(d?f:0)|0;i=d|(i<<2|g<<1);b=b<<2;k=k-2|0;if(k){continue}break}}b=(m|0)<0?0-i|0:i;N[l+16>>2]=b;N[l+20>>2]=b;i=jb(m,e,f);c=b}if(!p){break a}break b}N[n>>2]=0;N[n+4>>2]=0;N[n+24>>2]=0;N[n+16>>2]=0;N[n+20>>2]=0;N[n+8>>2]=0;N[n+12>>2]=0;N[l+16>>2]=65536;N[l+20>>2]=65536;return}N[l+20>>2]=c;b=c;break b}N[l+16>>2]=b;c=b}d=(c|0)<0;g=P[a+68>>1];e=c;c=c>>31;c=(e^c)-c|0;p:{if(g+(c>>>8|0)>>>0<=8190){c=T(c,g)+32768>>>16|0;break p}c=T(g,c>>>16|0)+(T(g,c&65535)+32768>>>16|0)|0}i=d?0-c|0:c;c=b>>31;c=(c^b)-c|0;q:{if(g+(c>>>8|0)>>>0<=8190){c=T(c,g)+32768>>>16|0;break q}c=T(g,c>>>16|0)+(T(g,c&65535)+32768>>>16|0)|0}m=(b|0)<0?0-c|0:c}M[l+14>>1]=m+32>>>6;M[l+12>>1]=i+32>>>6;sn(a,n)}function dA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=La-16|0;G(c,0,652);g=O[b+8|0];L[c+188|0]=g;a:{if(!g){break a}if(g>>>0>=4){i=g&252;e=c+192|0;h=b+12|0;while(1){N[e+(d<<2)>>2]=M[h+(d<<1)>>1];j=d|1;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];j=d|2;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];j=d|3;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];d=d+4|0;if((i|0)!=(d|0)){continue}break}}e=g&3;if(!e){break a}g=0;while(1){N[((d<<2)+c|0)+192>>2]=M[((d<<1)+b|0)+12>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+9|0];L[c+189|0]=e;b:{if(!e){break b}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+248|0;i=b+40|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break b}while(1){N[((d<<2)+c|0)+248>>2]=M[((d<<1)+b|0)+40>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+10|0];L[c+190|0]=e;c:{if(!e){break c}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+288|0;i=b+60|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break c}while(1){N[((d<<2)+c|0)+288>>2]=M[((d<<1)+b|0)+60>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+11|0];L[c+191|0]=e;d:{if(!e){break d}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+344|0;i=b+88|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break d}while(1){N[((d<<2)+c|0)+344>>2]=M[((d<<1)+b|0)+88>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}N[c+384>>2]=N[b+108>>2];N[c+388>>2]=N[b+112>>2];N[c+392>>2]=N[b+116>>2];N[c+396>>2]=P[b+120>>1];N[c+400>>2]=P[b+122>>1];e=O[b+124|0];L[c+404|0]=e;e:{if(!e){break e}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+408|0;i=b+128|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break e}while(1){N[((d<<2)+c|0)+408>>2]=M[((d<<1)+b|0)+128>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+125|0];L[c+405|0]=e;f:{if(!e){break f}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+460|0;i=b+154|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break f}while(1){N[((d<<2)+c|0)+460>>2]=M[((d<<1)+b|0)+154>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}L[c+512|0]=O[b+126|0];N[c+520>>2]=N[b+4>>2];N[c+524>>2]=N[b+184>>2];b=N[b+180>>2];N[c+552>>2]=c;N[c+528>>2]=b;g:{a=N[a+128>>2];d=N[a+60>>2];if((d|0)==-1){break g}N[c+648>>2]=d;if(!d){break g}while(1){b=d<<13^d;b=b>>>17^b;d=b<<5^b;if((d|0)<0){continue}break}N[a+60>>2]=d;return}a=k+4^(k+8^k+12);a=a>>>20^a>>>10^a;N[c+648>>2]=a?a:29572}function oc(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=La-112|0;La=j;k=i&2147483647;a:{b:{m=e&2147483647;l=2147418112;n=!(b|c);if(!(d|m?m-l>>>0<2147549184:n)){p=k-l|0;if(!h&(p|0)==-2147418112?f|g:(p|0)==-2147418112&(h|0)!=0|p>>>0>2147549184){break b}}if(!(!d&(m|0)==2147418112?n:m>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!h&(k|0)==2147418112?!(f|g):k>>>0<2147418112)){i=i|32768;break a}if(!(b|d|(m^2147418112|c))){l=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:l;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}l=f|h;if(!(l|(k^2147418112|g))){break a}if(!(b|d|(c|m))){if(g|k|l){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|h|(g|k)){break b}f=b;g=c;h=d;i=e;break a}l=(k|0)==(m|0);s=l&(d|0)==(h|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:l&d>>>0>>0|k>>>0>m>>>0;n=s;m=n?f:b;p=n?g:c;l=n?i:e;t=l;n=n?h:d;q=l&65535;d=s?d:h;e=s?e:i;r=e;l=e>>>16&32767;o=t>>>16&32767;if(!o){e=!(n|q);i=e;k=e?m:n;e=e<<6;i=W(i?p:q);e=e+((i|0)==32?W(k)+32|0:i)|0;fc(j+96|0,m,p,n,q,e-15|0);n=N[j+104>>2];q=N[j+108>>2];p=N[j+100>>2];o=16-e|0;m=N[j+96>>2]}f=s?b:f;g=s?c:g;h=d;i=r&65535;if(!l){b=!(d|i);e=b;k=b?f:d;b=b<<6;e=W(e?g:i);b=b+((e|0)==32?W(k)+32|0:e)|0;fc(j+80|0,f,g,d,i,b-15|0);l=16-b|0;h=N[j+88>>2];i=N[j+92>>2];g=N[j+84>>2];f=N[j+80>>2]}c=i<<3|h>>>29;b=h<<3|g>>>29;c=c|524288;e=q<<3|n>>>29;q=n<<3|p>>>29;h=e;i=r^t;k=g<<3|f>>>29;d=f<<3;c:{if((l|0)==(o|0)){break c}e=o-l|0;if(e>>>0>127){b=0;c=0;k=0;d=1;break c}fc(j- -64|0,d,k,b,c,128-e|0);Pd(j+48|0,d,k,b,c,e);b=N[j+56>>2];c=N[j+60>>2];k=N[j+52>>2];d=N[j+48>>2]|(N[j+64>>2]|N[j+72>>2]|(N[j+68>>2]|N[j+76>>2]))!=0}n=d;l=k;r=h|524288;k=p<<3|m>>>29;m=m<<3;d:{if((i|0)<0){f=0;g=0;h=0;i=0;if(!(m^n|b^q|(k^l|c^r))){break a}d=m-n|0;e=k-((m>>>0>>0)+l|0)|0;f=q-b|0;g=(k|0)==(l|0)&m>>>0>>0|k>>>0>>0;h=f-g|0;b=(r-((b>>>0>q>>>0)+c|0)|0)-(f>>>0>>0)|0;i=b;if(b>>>0>524287){break d}c=!(b|h);g=c;i=g?d:h;c=g<<6;g=W(g?e:b);c=c+((g|0)==32?W(i)+32|0:g)|0;f=b;b=c-12|0;fc(j+32|0,d,e,h,f,b);o=o-b|0;h=N[j+40>>2];i=N[j+44>>2];d=N[j+32>>2];e=N[j+36>>2];break d}k=k+l|0;d=m+n|0;e=d>>>0>>0?k+1|0:k;f=(l|0)==(e|0)&d>>>0>>0|e>>>0>>0;k=c+r|0;b=b+q|0;k=b>>>0>>0?k+1|0:k;h=b+f|0;i=h>>>0>>0?k+1|0:k;if(!(i&1048576)){break d}d=n&1|((e&1)<<31|d>>>1);e=h<<31|e>>>1;o=o+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}c=0;b=t&-2147483648;p=b;if((o|0)>=32767){h=c;i=b|2147418112;f=0;g=0;break a}l=0;e:{if((o|0)>0){l=o;break e}fc(j+16|0,d,e,h,i,o+127|0);Pd(j,d,e,h,i,1-o|0);d=N[j>>2]|(N[j+16>>2]|N[j+24>>2]|(N[j+20>>2]|N[j+28>>2]))!=0;e=N[j+4>>2];h=N[j+8>>2];i=N[j+12>>2]}m=d&7;d=(e&7)<<29|d>>>3;f=(m>>>0>4)+d|0;b=h<<29|e>>>3;g=d>>>0>f>>>0?b+1|0:b;d=(b|0)==(g|0)&d>>>0>f>>>0|b>>>0>g>>>0;b=c|((i&7)<<29|h>>>3);h=d+b|0;i=p|(i>>>3&65535|l<<16);i=b>>>0>h>>>0?i+1|0:i;f:{if((m|0)==4){b=0;k=g+b|0;d=f;c=f&1;f=f+c|0;g=d>>>0>f>>>0?k+1|0:k;b=(b|0)==(g|0)&c>>>0>f>>>0|b>>>0>g>>>0;h=b+h|0;i=b>>>0>h>>>0?i+1|0:i;break f}if(!m){break a}}}N[a>>2]=f;N[a+4>>2]=g;N[a+8>>2]=h;N[a+12>>2]=i;La=j+112|0}function Dk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=N[b+4>>2];if(e>>>0>a>>>0){return 0}f=N[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}j=N[b+12>>2];g=j-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){return 0}g=O[a|0]|O[a+1|0]<<8;a:{if(!g){break a}b:{l=((g<<8|g>>>8)&65535)+c|0;if(e>>>0>l>>>0|f>>>0>>0|f-l>>>0<2){break b}c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}g=O[l|0]|O[l+1|0]<<8;if(!g){break a}d=l+2|0;if(d>>>0>f>>>0){break b}k=f-d|0;f=(g<<8|g>>>8)&65535;d=T(f,6);if(k>>>0>>0){break b}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break b}o=f>>>0<=1?1:f;while(1){g=N[b+4>>2];e=T(n,6)+l|0;f=e+2|0;if(g>>>0>f>>>0){break b}c=N[b+8>>2];if(c>>>0>>0|c-f>>>0<6){break b}d=N[b+12>>2];f=d-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}j=e+6|0;if(c>>>0>>0|c-j>>>0<2){break b}f=d-8|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[j|0]|O[j+1|0]<<8;c:{if(!f){break c}d:{e:{f=((f<<8|f>>>8)&65535)+l|0;if(f>>>0>>0|c>>>0>>0|c-f>>>0<2){break e}e=d-10|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=O[f|0]|O[f+1|0]<<8;f:{if(!e){break f}e=f+((e<<8|e>>>8)&65535)|0;g:{if(e>>>0>>0|c>>>0>>0|c-e>>>0<6){break g}i=d-16|0;N[b+12>>2]=i;if((i|0)<=0){break g}i=e+4|0;if(i>>>0>c>>>0|c-i>>>0<2){break g}d=d-18|0;N[b+12>>2]=d;if((d|0)<=0){break g}i=O[i|0]|O[i+1|0]<<8;if(!i){break f}e=e+6|0;if(e>>>0>c>>>0){break g}k=c-e|0;c=((i<<8|i>>>8)&65535)<<1;if(k>>>0>>0){break g}c=d-c|0;N[b+12>>2]=c;if((c|0)>0){break f}}c=N[b+28>>2];if(c>>>0>31){break b}d=c+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[f|0]=0;L[f+1|0]=0;g=N[b+4>>2]}i=f+2|0;if(i>>>0>>0){break e}c=N[b+8>>2];if(c>>>0>>0|c-i>>>0<2){break e}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break e}g=O[i|0]|O[i+1|0]<<8;if(!g){break c}e=f+4|0;if(e>>>0>c>>>0){break e}k=c-e|0;c=(g<<8|g>>>8)&65535;g=T(c,6);if(k>>>0>>0){break e}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break e}p=c>>>0<=1?1:c;g=0;while(1){d=N[b+4>>2];h=i+T(g,6)|0;e=h+2|0;if(d>>>0>e>>>0){break e}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<6){break e}m=N[b+12>>2];e=m-6|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=h+6|0;if(e>>>0>>0|c>>>0>>0|c-e>>>0<2){break e}h=m-8|0;N[b+12>>2]=h;if((h|0)<=0){break e}h=O[e|0]|O[e+1|0]<<8;h:{if(!h){break h}k=d;d=f+((h<<8|h>>>8)&65535)|0;i:{if(k>>>0>d>>>0|c>>>0>>0|c-d>>>0<6){break i}h=m-14|0;N[b+12>>2]=h;if((h|0)<=0){break i}h=d+4|0;if(h>>>0>c>>>0|c-h>>>0<2){break i}m=m-16|0;N[b+12>>2]=m;if((m|0)<=0){break i}h=O[h|0]|O[h+1|0]<<8;if(!h){break h}d=d+6|0;if(d>>>0>c>>>0){break i}k=c-d|0;c=((h<<8|h>>>8)&65535)<<1;if(k>>>0>>0){break i}c=m-c|0;N[b+12>>2]=c;if((c|0)>0){break h}}c=N[b+28>>2];if(c>>>0>31){break b}d=c+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[e|0]=0;L[e+1|0]=0}g=g+1|0;if((p|0)!=(g|0)){continue}break}break c}d=N[b+28>>2]}if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[j|0]=0;L[j+1|0]=0}d=1;n=n+1|0;if((o|0)!=(n|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;d=1}return d}function _a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=N[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=N[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=b>>>3|0;b=N[d+12>>2];c=N[d+8>>2];if((b|0)==(c|0)){i=589268,j=N[147317]&YE(-2,e),N[i>>2]=j;break b}N[c+12>>2]=b;N[b+8>>2]=c;break b}h=N[d+24>>2];b=N[d+12>>2];if((d|0)!=(b|0)){c=N[d+8>>2];N[c+12>>2]=b;N[b+8>>2]=c;break c}e=d+20|0;c=N[e>>2];if(!c){c=N[d+16>>2];if(!c){break d}e=d+16|0}while(1){g=e;b=c;e=b+20|0;c=N[e>>2];if(c){continue}e=b+16|0;c=N[b+16>>2];if(c){continue}break}N[g>>2]=0;break c}b=N[f+4>>2];if((b&3)!=3){break b}N[147319]=a;N[f+4>>2]=b&-2;N[d+4>>2]=a|1;N[f>>2]=a;return}b=0}if(!h){break b}c=N[d+28>>2];e=(c<<2)+589572|0;e:{if(N[e>>2]==(d|0)){N[e>>2]=b;if(b){break e}i=589272,j=N[147318]&YE(-2,c),N[i>>2]=j;break b}N[h+(N[h+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}N[b+24>>2]=h;c=N[d+16>>2];if(c){N[b+16>>2]=c;N[c+24>>2]=b}c=N[d+20>>2];if(!c){break b}N[b+20>>2]=c;N[c+24>>2]=b}if(d>>>0>=f>>>0){break a}b=N[f+4>>2];if(!(b&1)){break a}f:{g:{h:{i:{if(!(b&2)){if(N[147323]==(f|0)){N[147323]=d;a=N[147320]+a|0;N[147320]=a;N[d+4>>2]=a|1;if(N[147322]!=(d|0)){break a}N[147319]=0;N[147322]=0;return}if(N[147322]==(f|0)){N[147322]=d;a=N[147319]+a|0;N[147319]=a;N[d+4>>2]=a|1;N[a+d>>2]=a;return}a=(b&-8)+a|0;if(b>>>0<=255){e=b>>>3|0;b=N[f+12>>2];c=N[f+8>>2];if((b|0)==(c|0)){i=589268,j=N[147317]&YE(-2,e),N[i>>2]=j;break g}N[c+12>>2]=b;N[b+8>>2]=c;break g}h=N[f+24>>2];b=N[f+12>>2];if((f|0)!=(b|0)){c=N[f+8>>2];N[c+12>>2]=b;N[b+8>>2]=c;break h}e=f+20|0;c=N[e>>2];if(!c){c=N[f+16>>2];if(!c){break i}e=f+16|0}while(1){g=e;b=c;e=b+20|0;c=N[e>>2];if(c){continue}e=b+16|0;c=N[b+16>>2];if(c){continue}break}N[g>>2]=0;break h}N[f+4>>2]=b&-2;N[d+4>>2]=a|1;N[a+d>>2]=a;break f}b=0}if(!h){break g}c=N[f+28>>2];e=(c<<2)+589572|0;j:{if(N[e>>2]==(f|0)){N[e>>2]=b;if(b){break j}i=589272,j=N[147318]&YE(-2,c),N[i>>2]=j;break g}N[h+(N[h+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}N[b+24>>2]=h;c=N[f+16>>2];if(c){N[b+16>>2]=c;N[c+24>>2]=b}c=N[f+20>>2];if(!c){break g}N[b+20>>2]=c;N[c+24>>2]=b}N[d+4>>2]=a|1;N[a+d>>2]=a;if(N[147322]!=(d|0)){break f}N[147319]=a;return}if(a>>>0<=255){b=(a&-8)+589308|0;c=N[147317];a=1<<(a>>>3);k:{if(!(c&a)){N[147317]=a|c;a=b;break k}a=N[b+8>>2]}N[b+8>>2]=d;N[a+12>>2]=d;N[d+12>>2]=b;N[d+8>>2]=a;return}c=31;if(a>>>0<=16777215){b=W(a>>>8|0);c=((a>>>38-b&1)-(b<<1)|0)+62|0}N[d+28>>2]=c;N[d+16>>2]=0;N[d+20>>2]=0;b=(c<<2)+589572|0;l:{m:{e=N[147318];g=1<>2]=d;N[d+24>>2]=b;break n}c=a<<((c|0)!=31?25-(c>>>1|0)|0:0);b=N[b>>2];while(1){e=b;if((N[b+4>>2]&-8)==(a|0)){break m}g=c>>>29|0;c=c<<1;g=b+(g&4)|0;b=N[g+16>>2];if(b){continue}break}N[g+16>>2]=d;N[d+24>>2]=e}N[d+12>>2]=d;N[d+8>>2]=d;break l}a=N[e+8>>2];N[a+12>>2]=d;N[e+8>>2]=d;N[d+24>>2]=0;N[d+12>>2]=e;N[d+8>>2]=a}a=N[147325]-1|0;N[147325]=a?a:-1}}function ZB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Qa[N[a+4>>2]](a,2496)|0;if(!h){N[c>>2]=0;return 64}G(h+4|0,0,2492);N[h>>2]=a;N[h+212>>2]=P[b+120>>1];g=O[b+124|0];a:{if(!g){break a}a=h+224|0;d=b+128|0;e=g&7;if(e){while(1){N[a>>2]=M[d>>1];d=d+2|0;a=a+12|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}e=g&248}else{e=g}f=e;if(g>>>0<8){break a}while(1){N[a>>2]=M[d>>1];N[a+12>>2]=M[d+2>>1];N[a+24>>2]=M[d+4>>1];N[a+36>>2]=M[d+6>>1];N[a+48>>2]=M[d+8>>1];N[a+60>>2]=M[d+10>>1];N[a+72>>2]=M[d+12>>1];N[a+84>>2]=M[d+14>>1];d=d+16|0;a=a+96|0;f=f-8|0;if(f){continue}break}}f=1;N[h+208>>2]=g+1;N[h+8>>2]=P[b+122>>1];g=O[b+125|0];b:{if(!g){break b}a=h+20|0;d=b+154|0;i=g&7;if(i){e=0;while(1){N[a>>2]=M[d>>1];d=d+2|0;a=a+12|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}e=g&248}else{e=g}if(g>>>0<8){break b}while(1){N[a>>2]=M[d>>1];N[a+12>>2]=M[d+2>>1];N[a+24>>2]=M[d+4>>1];N[a+36>>2]=M[d+6>>1];N[a+48>>2]=M[d+8>>1];N[a+60>>2]=M[d+10>>1];N[a+72>>2]=M[d+12>>1];N[a+84>>2]=M[d+14>>1];d=d+16|0;a=a+96|0;e=e-8|0;if(e){continue}break}}N[h+4>>2]=g+1;a=0;d=h+412|0;e=b+12|0;g=b+40|0;jp(d,O[b+8|0],e,O[b+9|0],g,N[b+116>>2],0);i=b+60|0;l=b+88|0;jp(d,O[b+10|0],i,O[b+11|0],l,N[b+116>>2],1);d=O[b+8|0];c:{if(!d){break c}j=(d-1>>>1|0)+1|0;k=j&1;if(d>>>0>=3){m=j&2147483646;n=d-3&-4;j=0;while(1){d=a<<1;o=P[e+(d|6)>>1]-P[e+(d|4)>>1]<<16>>16;d=P[e+(d|2)>>1]-P[d+e>>1]<<16>>16;f=f<<16>>16;f=(d|0)>(f|0)?d:f;f=(f|0)<(o|0)?o:f;a=a+4|0;j=j+2|0;if((m|0)!=(j|0)){continue}break}a=n+4|0}if(!k){break c}a=a<<1;a=P[e+(a|2)>>1]-P[a+e>>1]<<16>>16;f=(a|0)>(f|0)?a:f}a=O[b+9|0];d:{if(!a){break d}e=(a-1>>>1|0)+1|0;j=e&1;if(a>>>0<3){a=0}else{k=e&2147483646;m=a-3&-4;e=0;a=0;while(1){d=e<<1;n=P[g+(d|6)>>1]-P[g+(d|4)>>1]<<16>>16;d=P[g+(d|2)>>1]-P[d+g>>1]<<16>>16;f=f<<16>>16;f=(d|0)>(f|0)?d:f;f=(f|0)<(n|0)?n:f;e=e+4|0;a=a+2|0;if((k|0)!=(a|0)){continue}break}a=m+4|0}if(!j){break d}a=a<<1;a=P[g+(a|2)>>1]-P[a+g>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=O[b+10|0];e:{if(!a){break e}e=(a-1>>>1|0)+1|0;g=e&1;if(a>>>0<3){a=0}else{j=e&2147483646;k=a-3&-4;d=0;e=0;while(1){a=d<<1;m=P[i+(a|6)>>1]-P[i+(a|4)>>1]<<16>>16;a=P[i+(a|2)>>1]-P[a+i>>1]<<16>>16;f=f<<16>>16;a=(a|0)>(f|0)?a:f;f=(a|0)<(m|0)?m:a;d=d+4|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}a=k+4|0}if(!g){break e}a=a<<1;a=P[i+(a|2)>>1]-P[a+i>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=O[b+11|0];f:{if(!a){break f}e=(a-1>>>1|0)+1|0;g=e&1;if(a>>>0<3){a=0}else{i=e&2147483646;j=a-3&-4;d=0;e=0;while(1){a=d<<1;k=P[(a|6)+l>>1]-P[(a|4)+l>>1]<<16>>16;a=P[(a|2)+l>>1]-P[a+l>>1]<<16>>16;f=f<<16>>16;a=(a|0)>(f|0)?a:f;f=(a|0)<(k|0)?k:a;d=d+4|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}a=j+4|0}if(!g){break f}a=a<<1;a=P[(a|2)+l>>1]-P[a+l>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=N[b+108>>2];e=fb(1e3,f&65535);N[h+2476>>2]=(a|0)<(e|0)?a:e;N[h+2480>>2]=N[b+112>>2];a=N[b+116>>2];N[h+404>>2]=0;N[h+408>>2]=0;N[h+200>>2]=0;N[h+204>>2]=0;N[h+2488>>2]=a;N[c>>2]=h;return 0}function Ec(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;N[a>>2]=0;N[a+88>>2]=c;N[a+84>>2]=b;N[a+20>>2]=0;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=-1;N[a+28>>2]=0;N[a+60>>2]=0;N[a+64>>2]=0;N[a+52>>2]=0;N[a+56>>2]=-1;N[a+68>>2]=0;b=N[c+24>>2];N[a+100>>2]=0;N[a+96>>2]=d;N[a+92>>2]=b;e=N[b+140>>2];a:{if(e){break a}while(1){c=N[b+48>>2];if(!c){e=275552;break a}e=db(1,4);if(!e){e=275552;N[b+140>>2]=275552;break a}e=Of(e,c);if(!N[b+140>>2]){N[b+140>>2]=e;break a}ab(N[e>>2]);_a(e);e=N[b+140>>2];if(!e){continue}break}}b=275552;c=N[e>>2];c=c?c:275552;h=Q[c+16>>2]<4?275552:N[c+12>>2];N[a+104>>2]=h;c=O[h|0]|O[h+1|0]<<8;l=c;b:{if((c|0)!=256){break b}c=O[h+2|0]<<16|O[h+3|0]<<24|c;if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65539){break b}c=O[h+14|0]|O[h+15|0]<<8|(O[h+16|0]<<16|O[h+17|0]<<24);if(!c){break b}b=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+h|0}N[a+108>>2]=b;c=0;k=N[a+84>>2];c:{if(!N[N[a+88>>2]+84>>2]|(k|0)!=1){break c}c=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(c){b=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+b|0}else{b=275552}b=O[b+2|0]|O[b+3|0]<<8;f=b<<8|b>>>8;e=f&65535;c=kb(e<<2);if(!b|!c){break c}b=e>>>0<=1?1:e;g=b&7;e=0;if((f&65535)>>>0>=8){f=b&65528;while(1){b=e<<2;N[b+c>>2]=1073741824;N[(b|4)+c>>2]=1073741824;N[(b|8)+c>>2]=1073741824;N[(b|12)+c>>2]=1073741824;N[(b|16)+c>>2]=1073741824;N[(b|20)+c>>2]=1073741824;N[(b|24)+c>>2]=1073741824;N[(b|28)+c>>2]=1073741824;e=e+8|0;if((f|0)!=(e|0)){continue}break}}if(!g){break c}while(1){N[(e<<2)+c>>2]=1073741824;e=e+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}N[a+116>>2]=0;N[a+120>>2]=0;N[a+112>>2]=c;N[a+124>>2]=0;f=N[d+68>>2];if(f){g=0;c=N[d+80>>2];b=c;e=0;if(f>>>0>=4){j=f&-4;i=0;while(1){e=1<<(N[b>>2]>>>4)|e|1<<(N[b+20>>2]>>>4)|1<<(N[b+40>>2]>>>4)|1<<(N[b+60>>2]>>>4);b=b+80|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}j=f&3;if(j){while(1){e=1<<(N[b>>2]>>>4)|e;b=b+20|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[a+116>>2]=e;g=0;b=c;e=0;if(f>>>0>=4){m=f&-4;i=0;while(1){e=1<>2]|e|1<>2]|1<>2]|1<>2];b=b+80|0;i=i+4|0;if((m|0)!=(i|0)){continue}break}}if(j){while(1){e=1<>2]|e;b=b+20|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[a+120>>2]=e;e=0;d:{if(f>>>0<4){b=0;break d}f=f&-4;b=0;g=0;while(1){b=1<<(N[c>>2]>>>9)|b|1<<(N[c+20>>2]>>>9)|1<<(N[c+40>>2]>>>9)|1<<(N[c+60>>2]>>>9);c=c+80|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}}if(j){while(1){b=1<<(N[c>>2]>>>9)|b;c=c+20|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}N[a+124>>2]=b}b=N[d+40>>2];N[a+140>>2]=0;N[a+144>>2]=64;N[a+132>>2]=1;N[a+136>>2]=-1;N[a+128>>2]=b;b=O[h+4|0]|O[h+5|0]<<8;N[a+156>>2]=1;N[a+160>>2]=-1;L[a+149|0]=1;L[a+150|0]=1;L[a+151|0]=0;L[a+152|0]=0;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;L[a+20|0]=(k|0)==1;N[a+72>>2]=0;N[a+48>>2]=a;L[a+21|0]=1;L[a+22|0]=0;N[a+12>>2]=0;N[a+16>>2]=1;c=a- -64|0;N[c>>2]=0;N[c+4>>2]=0;M[a+60>>1]=257;N[a+52>>2]=0;N[a+56>>2]=-1;L[a+62|0]=0;L[a+148|0]=(l|0)==256&(b|0)!=0;return a}function Yo(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=La-32|0;La=g;Cd(a,g+20|0);f=N[g+28>>2];a:{if(!f){l=3;break a}j=N[g+20>>2];N[g+16>>2]=j;e=7;k=N[g+24>>2];h=N[b+8>>2];b:{if((h|0)==7){l=N[a+8>>2];h=k-1|0;N[a+8>>2]=h;o=1;m=N[a>>2];j=j+1|0;N[a>>2]=j;Cd(a,g);N[a+8>>2]=l;N[a>>2]=m;l=3;m=0;if(N[g+8>>2]!=3){break b}if(!d){break a}N[g+16>>2]=j;e=8;k=h;m=1;break b}l=3;if((f|0)!=3){e=1}else{if(!d){break a}m=1;N[g+16>>2]=j+1;k=k-1|0;e=d}o=e;e=h}p=d<<4;q=T(d,3);r=d<<1;s=e-1|0;t=f-2|0;n=d<<2;u=(n|0)>536870911;c:{d:{while(1){e=N[(m<<2)+c>>2];h=N[b+16>>2];Tb(g+16|0,k);j=e+h|0;e:{f:{g:{h:{i:{j:{switch(s|0){case 0:f=N[g+16>>2];h=f;k:{if(O[f|0]!=116|f+3>>>0>=k>>>0|(O[f+1|0]!=114|O[f+2|0]!=117)){break k}if(O[f+3|0]!=101){break k}e=1;N[g+16>>2]=f+5;break i}e=0;l:{if(O[f|0]!=102|f+4>>>0>=k>>>0|(O[f+1|0]!=97|O[f+2|0]!=108)){break l}if(O[h+3|0]!=115){break l}f=(O[f+4|0]==101?6:0)+f|0}N[g+16>>2]=f;break i;case 2:e=Pc(g+16|0,k,0);break i;case 3:e=Pc(g+16|0,k,3);break i;case 7:break f;case 6:break g;case 4:case 5:break h;case 1:break j;default:break a}}i=N[g+16>>2];N[g>>2]=i;h=ed(g,k,10);e=0;f=N[g>>2];if((i|0)==(f|0)){break i}if(!(O[f|0]!=35|f>>>0>=k>>>0)){i=f+1|0;N[g>>2]=i;h=ed(g,k,h);f=N[g>>2];if((i|0)==(f|0)){break i}}N[g+16>>2]=f;e=h}m:{switch(O[b+20|0]-1|0){case 0:L[j|0]=e;break e;case 1:M[j>>1]=e;break e;default:break m}}N[j>>2]=e;break e}e=N[g+16>>2];if(e>>>0>=k>>>0){break e}i=k-e|0;f=N[a+16>>2];n:{o:{switch(t|0){case 2:h=e+1|0;N[g+16>>2]=h;e=i-1|0;break n;case 0:break o;default:break a}}h=e+1|0;N[g+16>>2]=h;e=i-2|0}i=N[j>>2];if(i){Qa[N[f+8>>2]](f,i);N[j>>2]=0}i=e+1|0;p:{if(e>>>0<=2147483646){f=Qa[N[f+4>>2]](f,i)|0;if(f){break p}l=64;break a}f=0;if(!i){break p}l=6;break a}B(f,h,e);L[e+f|0]=0;N[j>>2]=f;break e}if((Ce(g+16|0,k,4,g,0)|0)<4){break a}e=N[g>>2];N[j>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+4>>2];N[j+4>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+8>>2];N[j+8>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+12>>2];N[j+12>>2]=((e>>31)+e|0)+32768&-65536;break e}if((n|0)<0){l=6;break a}j=N[a+16>>2];q:{if(!n){e=0;break q}if(u){l=10;break a}e=Qa[N[j+4>>2]](j,p)|0;if(!(!e|(n|0)<=0)){G(e,0,p);break q}if(!e){break d}}h=g+16|0;f=Ce(h,k,d,e,0);if((f|0)<0|d>>>0>f>>>0){break c}Tb(h,k);f=Ce(h,k,d,e+n|0,0);if((f|0)<0|d>>>0>f>>>0){break c}Tb(h,k);f=Ce(h,k,d,(r<<2)+e|0,0);if((f|0)<0|d>>>0>f>>>0){break c}Tb(h,k);f=Ce(h,k,d,(q<<2)+e|0,0);if((f|0)<0|d>>>0>f>>>0){break c}Tb(h,k);f=0;r:{if(d){while(1){i=f<<2;h=N[i+c>>2];i=N[e+i>>2];N[h>>2]=((i>>31)+i|0)+32768&-65536;i=N[(d+f<<2)+e>>2];N[h+4>>2]=((i>>31)+i|0)+32768&-65536;i=N[(f+r<<2)+e>>2];N[h+8>>2]=((i>>31)+i|0)+32768&-65536;i=h;h=N[(f+q<<2)+e>>2];N[i+12>>2]=((h>>31)+h|0)+32768&-65536;f=f+1|0;if((f|0)!=(d|0)){continue}break r}}if(!e){break e}}Qa[N[j+8>>2]](j,e)}m=m+1|0;o=o-1|0;if(o){continue}break}l=0;break a}l=!e<<6;break a}if(!e){break a}Qa[N[j+8>>2]](j,e)}La=g+32|0;return l|0}function Ui(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{g=N[a+204>>2];f=g>>8;e=N[a+168>>2];n=c>>8;b:{if((f|0)>=(e|0)&(e|0)<=(n|0)){break b}k=N[a+164>>2];if((k|0)>(f|0)&(k|0)>(n|0)){break b}r=c&255;e=g&255;d=N[a+200>>2];if((f|0)==(n|0)){yg(a,f,d,e,b,r);break b}l=c-g|0;if((b|0)==(d|0)){g=N[a+176>>2];d=(l|0)>0;i=d<<8;e=i-e|0;N[g+4>>2]=e+N[g+4>>2];o=b<<1&510;N[g+8>>2]=N[g+8>>2]+T(o,e);m=b>>8;s=d?1:-1;j=s+f|0;e=j-k|0;c:{if(!(!((e|0)<0|(e|0)>=N[a+172>>2])&(m|0)>2])){d=N[a+192>>2];break c}g=N[a+188>>2]+(e<<2)|0;e=N[g>>2];h=N[e>>2];d=N[a+156>>2];f=(d|0)>(m|0)?d-1|0:m;if((h|0)<=(f|0)){while(1){d=e;if((f|0)==(h|0)){break c}e=N[d+12>>2];h=N[e>>2];if((f|0)>=(h|0)){continue}break}g=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=f;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[g>>2];N[g>>2]=d}N[a+176>>2]=d;if((j|0)!=(n|0)){g=(i<<1)-256|0;f=T(g,o);while(1){N[d+4>>2]=g+N[d+4>>2];N[d+8>>2]=f+N[d+8>>2];j=j+s|0;e=j-k|0;d:{if(!(!((e|0)<0|(e|0)>=N[a+172>>2])&(m|0)>2])){d=N[a+192>>2];break d}p=N[a+188>>2]+(e<<2)|0;e=N[p>>2];h=N[e>>2];d=N[a+156>>2];r=(d|0)>(m|0)?d-1|0:m;if((h|0)<=(r|0)){while(1){d=e;if((h|0)==(r|0)){break d}e=N[d+12>>2];h=N[e>>2];if((r|0)>=(h|0)){continue}break}p=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=r;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[p>>2];N[p>>2]=d}N[a+176>>2]=d;if((j|0)!=(n|0)){continue}break}}e=i+(c|-256)|0;N[d+4>>2]=e+N[d+4>>2];N[d+8>>2]=N[d+8>>2]+T(e,o);break b}o=b-d|0;p=1;k=d;m=e;k=d;e:{if((l|0)>0){t=256;e=256-e|0;break e}l=0-l|0;p=-1}d=T(e,o);e=(d|0)/(l|0)|0;s=d-T(e,l)|0;g=s>>31;q=(k+e|0)+g|0;yg(a,f,k,m,q,t);f:{g:{j=f+p|0;e=j-N[a+164>>2]|0;if(!((e|0)<0|(e|0)>=N[a+172>>2])){f=q>>8;if((f|0)>2]){break g}}d=N[a+192>>2];break f}i=N[a+188>>2]+(e<<2)|0;e=N[i>>2];h=N[e>>2];d=N[a+156>>2];f=(d|0)>(f|0)?d-1|0:f;if((h|0)<=(f|0)){while(1){d=e;if((f|0)==(h|0)){break f}e=N[d+12>>2];h=N[e>>2];if((f|0)>=(h|0)){continue}break}i=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=f;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[i>>2];N[i>>2]=d}N[a+176>>2]=d;h:{if((j|0)==(n|0)){m=256-t|0;break h}e=s+(g&l)|0;d=o<<8;g=(d|0)/(l|0)|0;f=d-T(g,l)|0;d=f>>31;o=(d&l)+f|0;s=d+g|0;m=256-t|0;while(1){d=q;g=e+o|0;f=(g|0)>=(l|0);q=f+(q+s|0)|0;yg(a,j,d,m,q,t);i:{j:{j=j+p|0;e=j-N[a+164>>2]|0;if(!((e|0)<0|(e|0)>=N[a+172>>2])){i=q>>8;if((i|0)>2]){break j}}d=N[a+192>>2];break i}k=N[a+188>>2]+(e<<2)|0;e=N[k>>2];h=N[e>>2];d=N[a+156>>2];i=(d|0)>(i|0)?d-1|0:i;if((h|0)<=(i|0)){while(1){d=e;if((i|0)==(h|0)){break i}e=N[d+12>>2];h=N[e>>2];if((i|0)>=(h|0)){continue}break}k=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=i;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[k>>2];N[k>>2]=d}e=g-(f?l:0)|0;N[a+176>>2]=d;if((j|0)!=(n|0)){continue}break}}yg(a,n,q,m,b,r)}N[a+204>>2]=c;N[a+200>>2]=b;return}oe(a,1);F()}function up(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;q=La-16|0;La=q;h=Xd(a,d);a:{if(h){break a}qf(a,b,c,d);w=N[a>>2];c=N[a+2748>>2];h=N[N[c>>2]+8>>2];b=T(d,1348)+a|0;n=b;N[b+56>>2]=0;s=b+44|0;f=N[s>>2];j=N[b+52>>2];g=N[(d?12:4)+a>>2];b=O[N[(h<<2)+288704>>2]+12|0];b:{if((d|0)==1){break b}b=0;if(d){break b}k=fb(64,N[a+12>>2]);b=0}x=fb(32,g);e=N[(c+T(d,9804)|0)+248>>2];c=e>>31;h=g>>31;i=(h^g)-h|0;t=i>>>8|0;c=(c^e)-c|0;c:{if(t+c>>>0<=8190){l=T(c,i)+32768>>>16|0;break c}h=c&65535;l=T(h,i>>>16|0)+T(i,c>>>16|0)+(T(h,i&65535)+32768>>>16)|0}c=l;h=0;m=0-c|0;c=e>>31|1;c=(((g|0)<0?0-c|0:c)|0)<0?m:l;l=fb((c|0)>=16?16:c,g);if((f|0)>0){o=T(f,44)+j|0;y=i&65535;z=i>>>16|0;A=T(k,3);r=(T(d,1348)+a|0)- -64|0;B=b&255;c=j;while(1){b=M[c+10>>1];d:{if((b|0)<(k|0)|M[c+4>>1]>(x|0)){break d}m=O[c+1|0];if((m|0)==4|(b<<1<(A|0)?N[c+24>>2]:0)){break d}e:{u=N[n+56>>2];f:{if((u|0)<=0){f=M[c+2>>1];break f}f=M[c+2>>1];C=N[r>>2];b=0;while(1){e=T(b,44)+C|0;v=f-M[e>>1]|0;p=v>>31;if(O[e+13|0]==(m|0)&(l|0)>((p^v)-p|0)){break e}b=b+1|0;if((u|0)!=(b|0)){continue}break}}b=xp(s,f,m<<24>>24,B,w,q+12|0);if(!b){b=N[q+12>>2];N[b>>2]=0;N[b+4>>2]=0;N[b+40>>2]=c;N[b+36>>2]=c;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;L[b+13|0]=O[c+1|0];f=M[c+2>>1];M[b>>1]=f;e=f>>31;e=(e^f)-e|0;g:{if(e+t>>>0<=8190){e=T(e,i)+32768>>>16|0;break g}e=T(e,z)+(T(e,y)+32768>>>16|0)|0}f=f>>31|1;f=(((g|0)<0?0-f|0:f)|0)<0?0-e|0:e;N[b+8>>2]=f;N[b+4>>2]=f;N[c+16>>2]=c;break d}h=b;break a}N[c+16>>2]=N[e+36>>2];N[N[e+40>>2]+16>>2]=c;N[e+40>>2]=c}c=c+44|0;if(o>>>0>c>>>0){continue}break}while(1){h:{if(O[j+1|0]!=4){break h}g=N[n+56>>2];if((g|0)<=0){break h}k=M[j+2>>1];f=N[r>>2];c=0;while(1){b=f+T(c,44)|0;e=k-M[b>>1]|0;i=e>>31;if((l|0)<=((e^i)-i|0)){c=c+1|0;if((g|0)!=(c|0)){continue}break h}break}N[j+16>>2]=N[b+36>>2];N[N[b+40>>2]+16>>2]=j;N[b+40>>2]=j}j=j+44|0;if(o>>>0>j>>>0){continue}break}}d=N[(T(d,1348)+a|0)- -64>>2];if(!d){break a}a=N[n+56>>2];if((a|0)<=0){break a}n=T(a,44)+d|0;b=d;while(1){a=N[b+36>>2];c=a;if(c){while(1){N[c+12>>2]=b;c=N[c+16>>2];if((a|0)!=(c|0)){continue}break}}b=b+44|0;if(n>>>0>b>>>0){continue}break}while(1){j=d+28|0;h=d+24|0;l=N[d+36>>2];c=l;k=0;e=0;while(1){o=L[c|0]&1;r=!o;i=N[c+24>>2];i:{j:{k:{l:{if(i){a=N[i+12>>2];g=(a|0)!=0&(a|0)!=(d|0);b=N[c+20>>2];if(b){break l}if(g){break k}break i}g=0;b=N[c+20>>2];if(!b){break i}}if(!(g|N[b+12>>2])){break i}f=0;a=h;if(!g){break j}}f=1;b=i;a=j}g=N[a>>2];m:{if(g){m=M[c+2>>1]-M[b+2>>1]|0;a=m>>31;p=M[d>>1]-M[g>>1]|0;i=p>>31;if((a^m)-a>>>0>=(i^p)-i>>>0){break m}}g=N[b+12>>2]}if(f){N[j>>2]=g;L[g+12|0]=O[g+12|0]|2;break i}N[h>>2]=g}k=k+o|0;e=e+r|0;c=N[c+16>>2];if((l|0)!=(c|0)){continue}break}L[d+12|0]=(e|0)<=(k|0)&(k|0)>0;if(!(!N[d+28>>2]|!N[h>>2])){N[j>>2]=0}d=d+44|0;if(n>>>0>d>>>0){continue}break}h=0}La=q+16|0;return h}function oq(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{if(!(!f|!b)){j=db(f,16);if(j){break g}j=0;break e}i=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=i;N[a+16>>2]=N[d+16>>2];i=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=i;N[a+24>>2]=f;N[a+20>>2]=b?0:e;break f}b=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=b;N[a+16>>2]=N[d+16>>2];b=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=b;N[a+24>>2]=f;N[a+20>>2]=j;b=f<<4;h:{if(!b){d=0;b=0;break h}B(j,e,b);d=N[j+12>>2];b=N[j+8>>2]}e=f&3;i:{if(f>>>0<4){break i}f=f-4|0;k=(f>>>2|0)+1|0;i=k&3;if(f>>>0>=12){k=k&2147483644;f=0;while(1){f=f+4|0;if((k|0)!=(f|0)){continue}break}d=(d|0)==-1?-1:2;b=(b|0)!=0}if(!i){break i}f=0;while(1){d=(d|0)==-1?-1:2;b=(b|0)!=0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(e){f=0;while(1){d=(d|0)==-1?-1:2;b=(b|0)!=0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}N[j+12>>2]=d;N[j+8>>2]=b}N[a+36>>2]=0;N[a+40>>2]=0;Pj(c,1196643650,g,h,a+28|0);Pj(c,1196445523,g,h,a+32|0);d=N[147451];j:{if(d){break j}b=0;e=0;h=La-32|0;La=h;g=uh(19154);k:{if(!g|!O[g|0]){break k}f=db(1,40);if(!f){break k}b=N[66421];d=N[66420];L[f+32|0]=d;L[f+33|0]=d>>>8;L[f+34|0]=d>>>16;L[f+35|0]=d>>>24;L[f+36|0]=b;L[f+37|0]=b>>>8;L[f+38|0]=b>>>16;L[f+39|0]=b>>>24;b=N[66419];d=N[66418];L[f+24|0]=d;L[f+25|0]=d>>>8;L[f+26|0]=d>>>16;L[f+27|0]=d>>>24;L[f+28|0]=b;L[f+29|0]=b>>>8;L[f+30|0]=b>>>16;L[f+31|0]=b>>>24;b=N[66417];d=N[66416];L[f+16|0]=d;L[f+17|0]=d>>>8;L[f+18|0]=d>>>16;L[f+19|0]=d>>>24;L[f+20|0]=b;L[f+21|0]=b>>>8;L[f+22|0]=b>>>16;L[f+23|0]=b>>>24;b=N[66415];d=N[66414];L[f+8|0]=d;L[f+9|0]=d>>>8;L[f+10|0]=d>>>16;L[f+11|0]=d>>>24;L[f+12|0]=b;L[f+13|0]=b>>>8;L[f+14|0]=b>>>16;L[f+15|0]=b>>>24;b=N[66413];d=N[66412];L[f|0]=d;L[f+1|0]=d>>>8;L[f+2|0]=d>>>16;L[f+3|0]=d>>>24;L[f+4|0]=b;L[f+5|0]=b>>>8;L[f+6|0]=b>>>16;L[f+7|0]=b>>>24;i=f+20|0;while(1){b=jc(g,44);if(!b){b=nb(g)+g|0}l:{if(e>>>0>1){break l}d=e;l=f+T(d,20)|0;k=b-g|0;m:{if((nb(l)|0)!=(k|0)){break m}if(bb(l,g,k)){break m}d=d+1|0}n:{if(e){break n}if((nb(i)|0)!=(k|0)){break n}if(bb(i,g,k)){break n}e=d+1|0;N[h+24>>2]=N[i+16>>2];g=N[i+12>>2];N[h+16>>2]=N[i+8>>2];N[h+20>>2]=g;g=N[i+4>>2];N[h+8>>2]=N[i>>2];N[h+12>>2]=g;g=f+T(d,20)|0;B(g+20|0,g,T(1-d|0,20));N[g+16>>2]=N[h+24>>2];d=N[h+20>>2];N[g+8>>2]=N[h+16>>2];N[g+12>>2]=d;d=N[h+12>>2];N[g>>2]=N[h+8>>2];N[g+4>>2]=d;break l}e=d}g=b+1|0;if(O[b|0]){continue}break}b=f}La=h+32|0;d=N[147451];o:{p:{if(b){if(d){break o}break p}if(d){break j}b=265648}d=b;N[147451]=d;break j}_a(b)}b=N[d+16>>2];q:{if((b|0)==292){if(N[c+40>>2]){break a}if(!N[c+36>>2]){break q}break b}if((b|0)!=293){break q}if(N[c+44>>2]){break c}if(N[c+36>>2]){break d}}b=N[d+36>>2];if((b|0)!=292){if((b|0)!=293){break e}if(N[c+44>>2]){break c}if(N[c+36>>2]){break d}break e}if(N[c+40>>2]){break a}if(N[c+36>>2]){break b}}_a(j);return 0}N[c+44>>2]=1}N[a+40>>2]=13816;N[a+36>>2]=293;return 1}N[c+40>>2]=1}N[a+40>>2]=8913;N[a+36>>2]=292;return 1}function Vb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=N[a>>2];if(!c){i=a-96|0;while(1){c=N[i>>2];if(!c){return 275552}g=db(1,12);if(!g){N[a>>2]=275552;return 275552}d=La-48|0;La=d;N[g>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+32>>2]=0;b=N[c+32>>2];if((b|0)==-1){b=sb(c+56|0);b=O[b+4|0]|O[b+5|0]<<8;b=(b<<8|b>>>8)&65535;N[c+32>>2]=b}L[d+44|0]=1;N[d+40>>2]=b;b=N[c+12>>2];a:{if(b){c=Qa[b|0](c,1196643650,N[c+16>>2])|0;if(c){break a}}c=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{b=N[c>>2];if(b){if((b|0)<=0){break j}N[c>>2]=b+1}L[d+28|0]=0;N[d+36>>2]=c;b=N[c+12>>2];N[d+8>>2]=b;f=N[c+16>>2];N[d+12>>2]=f+b;if((f|0)<0){break i}if(f>>>0>67108863){h=1073741823}else{e=f<<6;e=e>>>0<=16384?16384:e;h=e>>>0>=1073741823?1073741823:e}N[d+24>>2]=0;N[d+4>>2]=0;N[d+32>>2]=0;e=c;if(!b){break c}if(f>>>0<4){break g}N[d+16>>2]=h-4;if((O[b|0]|O[b+1|0]<<8)!=256){break f}f=Wg(b,d+4|0);e=N[d+32>>2];if(f){break h}if(O[d+28|0]|!e){break g}if(!zb(c)){break g}while(1){L[d+28|0]=1;e=N[d+36>>2];b=N[e+12>>2];N[d+8>>2]=b;f=N[e+16>>2];N[d+12>>2]=f+b;if((f|0)<0){break i}if(f>>>0>67108863){h=1073741823}else{h=f<<6;h=h>>>0<=16384?16384:h;h=h>>>0>=1073741823?1073741823:h}N[d+24>>2]=0;N[d+4>>2]=0;N[d+32>>2]=0;if(!b){break c}if(f>>>0<4){break g}N[d+16>>2]=h-4;if((O[b|0]|O[b+1|0]<<8)!=256){break f}f=Wg(b,d+4|0);e=N[d+32>>2];if(f){break h}if(O[d+28|0]|!e){break g}b=zb(c);N[d+8>>2]=b;N[d+12>>2]=b+N[c+16>>2];if(b){continue}break}break g}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!e){break f}N[d+32>>2]=0;if(Q[d+8>>2]>b>>>0){break g}e=N[d+12>>2];if(e>>>0>>0|e-b>>>0<4){break g}e=N[d+16>>2]-4|0;N[d+16>>2]=e;if((e|0)<=0){break g}if((O[b|0]|O[b+1|0]<<8)!=256){break f}b=Wg(b,d+4|0);if(N[d+32>>2]){break g}ab(N[d+36>>2]);N[d+36>>2]=0;if(b){break e}break d}ab(N[d+36>>2]);break d}ab(N[d+36>>2]);N[d+36>>2]=0}if(!N[c+4>>2]){break b}N[c+4>>2]=0;break b}ab(c);c=275552;break b}ab(e)}N[g>>2]=c;b=0;e=Q[c+16>>2]<4?275552:N[c+12>>2];if((O[e|0]|O[e+1|0]<<8)==256){b=O[e+8|0]|O[e+9|0]<<8;if(b){b=e+((b<<8|b>>>8)&65535)|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535}N[g+4>>2]=b;e=db(b,28);N[g+8>>2]=e;if(!e){N[g+4>>2]=0;ab(c);N[g>>2]=275552;b=N[g+4>>2]}if(b){c=0;while(1){b=275552;j=N[g+8>>2]+T(c,28)|0;e=N[g>>2];e=e?e:275552;f=Q[e+16>>2]<4?275552:N[e+12>>2];k:{if((O[f|0]|O[f+1|0]<<8)!=256){break k}e=275552;h=O[f+8|0]|O[f+9|0]<<8;if(h){e=f+((h<<8|h>>>8)&65535)|0}f=O[e|0]|O[e+1|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=c>>>0){break k}f=(c<<1)+e|0;f=O[f+2|0]|O[f+3|0]<<8;if(!f){break k}b=((f<<8|f>>>8)&65535)+e|0}sk(j,b);c=c+1|0;if(c>>>0>2]){continue}break}}La=d+48|0;if(!N[a>>2]){N[a>>2]=g;return g}if(N[g+4>>2]){c=0;while(1){b=N[g+8>>2]+T(c,28)|0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);N[b+16>>2]=0;N[b+20>>2]=0;N[b+12>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}_a(N[g+8>>2]);ab(N[g>>2]);_a(g);c=N[a>>2];if(!c){continue}break}}return c}function vu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=N[b>>2];if(!g){return 35}f=6;a:{if(Q[g+16>>2]<=c>>>0){break a}h=N[g+104>>2];k=N[g+292>>2];b=k+(c<<4)|0;n=M[b+8>>1];i=M[b+6>>1];l=n+i|0;N[a+76>>2]=l;j=M[b>>1];b=M[b+2>>1];L[a+94|0]=1;M[a+92>>1]=1;e=b-j|0;N[a+80>>2]=e;f=3;b:{c:{switch((1<<(N[g+312>>2]&3))-1|0){case 0:b=e+7>>>3|0;break b;case 1:b=e+15>>>3&536870910;break b;case 3:b=e+31>>>3&536870908;break b;case 7:break c;default:break a}}b=e+63>>>3&536870904}N[a+104>>2]=i;N[a+100>>2]=j;N[a+72>>2]=1651078259;N[a+84>>2]=b;o=M[((c<<4)+k|0)+4>>1];m=i<<6;N[a+36>>2]=m;p=j<<6;N[a+32>>2]=p;j=l<<6;N[a+28>>2]=j;N[a+24>>2]=e<<6;N[a+40>>2]=o<<6;f=0;i=(i|0)<0?(j|0)>(m|0)?j:m:n<<6;e=N[g+208>>2]+N[g+204>>2]|0;d:{if(e){e=e<<6;break d}e=(T(i,12)|0)/10|0}N[a+52>>2]=e;N[a+48>>2]=(e-i|0)/2;N[a+44>>2]=p-(o<<5);if(d&4194304){break a}d=T(b,l);f=N[N[a+4>>2]+100>>2];b=N[a+156>>2];e=N[b+4>>2];e:{if(e&1){b=N[a+88>>2];if(b){Qa[N[f+8>>2]](f,b)}N[a+88>>2]=0;break e}N[b+4>>2]=e|1}b=0;f:{g:{h:{if((d|0)<=0){f=6;if(d){break h}break f}b=Qa[N[f+4>>2]](f,d)|0;if(b){break g}f=64}N[a+88>>2]=0;return f|0}G(b,0,d)}N[a+88>>2]=b;c=N[((c<<4)+k|0)+12>>2];e=N[h+20>>2];i:{if(e){f=85;if(Qa[e|0](h,c,0,0)|0){break a}b=N[a+88>>2];break i}f=85;if(c>>>0>Q[h+4>>2]){break a}}N[h+8>>2]=c;f=Yb(h,b,d);if(f){break a}c=N[g+312>>2];if(!(!d|c&8)){h=d-1|0;c=N[a+88>>2];b=d&3;if(b){f=0;while(1){e=O[c|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;L[c|0]=e>>>1&85|(e&85)<<1;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=d&-4}else{f=d}if(h>>>0>=3){while(1){b=O[c|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c|0]=b>>>1&85|(b&85)<<1;b=O[c+1|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+1|0]=b>>>1&85|(b&85)<<1;b=O[c+2|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+2|0]=b>>>1&85|(b&85)<<1;b=O[c+3|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+3|0]=b>>>1&85|(b&85)<<1;c=c+4|0;f=f-4|0;if(f){continue}break}}c=N[g+312>>2]}f=0;if(!((c>>>2^c>>>3)&1)){break a}j:{switch((1<<(c>>>4&3))-2|0){case 0:if(d>>>0<2){break a}a=N[a+88>>2];g=d-2|0;c=(g>>>1|0)+1&3;if(c){h=c<<1;b=0;while(1){e=O[a+1|0];L[a+1|0]=O[a|0];L[a|0]=e;a=a+2|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}d=d-h|0}if(g>>>0<6){break a}while(1){b=O[a+1|0];L[a+1|0]=O[a|0];L[a|0]=b;b=O[a+2|0];L[a+2|0]=O[a+3|0];L[a+3|0]=b;b=O[a+4|0];L[a+4|0]=O[a+5|0];L[a+5|0]=b;b=O[a+6|0];L[a+6|0]=O[a+7|0];L[a+7|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>1){continue}break};break a;case 2:break j;default:break a}}if(d>>>0<4){break a}a=N[a+88>>2];b=d-4|0;k:{if(b&4){b=d;break k}c=O[a+3|0];L[a+3|0]=O[a|0];L[a|0]=c;c=O[a+1|0];L[a+1|0]=O[a+2|0];L[a+2|0]=c;if(b>>>0<4){break a}a=a+4|0}while(1){c=O[a+3|0];L[a+3|0]=O[a|0];L[a|0]=c;c=O[a+1|0];L[a+1|0]=O[a+2|0];L[a+2|0]=c;c=O[a+4|0];L[a+4|0]=O[a+7|0];L[a+7|0]=c;c=O[a+5|0];L[a+5|0]=O[a+6|0];L[a+6|0]=c;a=a+8|0;b=b-8|0;if(b>>>0>3){continue}break}}return f|0}function Fq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=La-640|0;La=j;i=N[b+80>>2];a:{b:{c:{a=c;if(d>>>0<=a>>>0){break c}while(1){e=P[(T(a,20)+i|0)+16>>1];if(1<>>0>=56320:0){break c}a=a+1|0;if((d|0)!=(a|0)){continue}break}break b}if((a|0)==(d|0)){break b}g=T(a,20)+i|0;e=P[g+16>>1];d:{if(!(e>>>0<56576|!(1<>>0>=d>>>0){break e}while(1){f=T(e,20)+i|0;h=P[f+16>>1];if((h&65280)!=56320|!(1<>2];switch(f-2250|0){case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break e;case 0:case 1:case 3:case 4:case 5:case 9:case 41:break f;default:break g}}h=f-1756|0;if(1<>>0<=12:0){break f}f=f-1620|0;if(f>>>0>4|!(1<>>0>=33){break a}if(e-c>>>0>=2){Ib(b,c,e)}k=T(h,20);B(j,g,k);f=(c-a|0)+e|0;g=T(c,20)+i|0;B(T(f,20)+i|0,g,T(a-c|0,20));B(g,j,k);if(c>>>0>=f>>>0){break d}if(h&1){h=P[g+16>>1];if(1<>1]=h&255|6400}c=c+1|0}if((a+1|0)!=(e|0)){while(1){a=T(c,20)+i|0;g=P[a+16>>1];if(1<>1]=g&255|6400}g=P[a+36>>1];if(1<>1]=g&255|6400}c=c+2|0;if((f|0)!=(c|0)){continue}break}}c=f}h:{if(d>>>0<=e>>>0){break h}while(1){a=P[(T(e,20)+i|0)+16>>1];if(1<>>0>=58880:0){break h}e=e+1|0;if((e|0)!=(d|0)){continue}break}break b}if((d|0)==(e|0)){break b}g=T(e,20)+i|0;a=P[g+16>>1];if(1<>>0>=59136:0){break b}a=e;i:{if(d>>>0<=a>>>0){break i}while(1){f=T(a,20)+i|0;h=P[f+16>>1];if((h&65280)!=58880|!(1<>2];switch(f-2250|0){case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break i;case 0:case 1:case 3:case 4:case 5:case 9:case 41:break j;default:break k}}h=f-1756|0;if(1<>>0<=12:0){break j}f=f-1620|0;if(f>>>0>4|!(1<>>0>32){break a}if(a-c>>>0>=2){Ib(b,c,a)}b=g;g=T(d,20);B(j,b,g);f=(c-e|0)+a|0;b=T(c,20)+i|0;B(T(f,20)+i|0,b,T(e-c|0,20));B(b,j,g);if(c>>>0>=f>>>0){break b}if(d&1){d=P[b+16>>1];if(1<>1]=d&255|6656}c=c+1|0}if((e+1|0)==(a|0)){break b}while(1){a=T(c,20)+i|0;b=P[a+16>>1];if(1<>1]=b&255|6656}b=P[a+36>>1];if(1<>1]=b&255|6656}c=c+2|0;if((f|0)!=(c|0)){continue}break}}La=j+640|0;return}ba(22913,17885,706,17761);F()}function OE(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=La-144|0;La=f;N[a+672>>2]=0;N[a+676>>2]=0;g=a+668|0;j=N[a+384>>2];i=N[a+660>>2];b=b*1e3;a:{if(V(b)<2147483648){e=~~b;break a}e=-2147483648}j=No(j,i,e,e>>31,g);b:{if(!j|!(N[g>>2]|c)){break b}if(O[a+388|0]){b=+ma();c:{if(V(b)<2147483648){c=~~b;break c}c=-2147483648}N[a+676>>2]=c}L[a+368|0]=0;L[a+328|0]=0;L[a+288|0]=0;L[a+248|0]=0;L[a+208|0]=0;L[a+168|0]=0;L[a+128|0]=0;L[a+88|0]=0;L[a+48|0]=0;c=N[a+392>>2];d=N[a+396>>2];G(f,255,144);n=(d|0)/3|0;o=(c|0)/3|0;l=(d<<1)/3|0;m=(c<<1)/3|0;d=j;while(1){i=N[d>>2];d:{if(!i){break d}k=N[d+4>>2];if(!k){break d}e=N[d+24>>2];c=e+(k>>1)|0;g=N[d+20>>2];c=(((c|0)>(l|0)?6:(c|0)>(n|0)?3:0)+((m|0)<(g+(i>>1)|0)?2:(c|0)>(o|0))<<4)+f|0;h=N[c>>2];N[c>>2]=(h|0)<0?g:(g|0)>(h|0)?h:g;h=N[c+8>>2];N[c+8>>2]=(h|0)<0?e:(e|0)>(h|0)?h:e;h=g+i|0;g=h-1|0;i=g;g=N[c+4>>2];N[c+4>>2]=(g|0)<0?i:(g|0)<(h|0)?i:g;i=c;e=e+k|0;g=e-1|0;c=N[c+12>>2];N[i+12>>2]=(c|0)<0?g:(c|0)<(e|0)?g:c}d=N[d+28>>2];if(d){continue}break}g=0;e=0;while(1){h=(g<<4)+f|0;e:{if(N[h>>2]==-1){c=e;break e}k=h|8;n=h|12;o=h|4;d=g;c=e;while(1){d=d+1|0;e=(d<<4)+f|0;i=N[e>>2];f:{if((i|0)==-1){break f}l=N[o>>2];if((l|0)<(i|0)){break f}m=N[h>>2];p=N[e+4>>2];if((m|0)>(p|0)){break f}q=N[e+8>>2];r=N[n>>2];if((q|0)>(r|0)){break f}s=N[e+12>>2];t=N[k>>2];if((s|0)<(t|0)){break f}N[h>>2]=(i|0)>(m|0)?m:i;N[k>>2]=(q|0)>(t|0)?t:q;N[o>>2]=(l|0)>(p|0)?l:p;N[n>>2]=(r|0)>(s|0)?r:s;N[e+8>>2]=-1;N[e+12>>2]=-1;N[e>>2]=-1;N[e+4>>2]=-1;c=1}if((d|0)!=8){continue}break}}e=g+1|0;d=(e|0)!=8;g=d?e:0;e=c&d;if(c&1|d){continue}break}g:{if(N[f>>2]==-1){d=0;break g}d=jd(a,f,j);if(!d){d=0;break b}N[a+672>>2]=N[a+672>>2]+1}if(N[f+16>>2]!=-1){c=jd(a,f+16|0,j);if(!c){break b}h:{if(!d){d=c;break h}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+32>>2]!=-1){c=jd(a,f+32|0,j);if(!c){break b}i:{if(!d){d=c;break i}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+48>>2]!=-1){c=jd(a,f+48|0,j);if(!c){break b}j:{if(!d){d=c;break j}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+64>>2]!=-1){c=jd(a,f- -64|0,j);if(!c){break b}k:{if(!d){d=c;break k}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+80>>2]!=-1){c=jd(a,f+80|0,j);if(!c){break b}l:{if(!d){d=c;break l}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+96>>2]!=-1){c=jd(a,f+96|0,j);if(!c){break b}m:{if(!d){d=c;break m}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+112>>2]!=-1){c=jd(a,f+112|0,j);if(!c){break b}n:{if(!d){d=c;break n}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+128>>2]==-1){break b}c=jd(a,f+128|0,j);if(!c){break b}o:{if(!d){d=c;break o}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}La=f+144|0;return d|0}function Fi(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;N[e>>2]=0;N[e+4>>2]=0;N[g>>2]=0;N[g+4>>2]=0;s=T(b,40)+a|0;t=s+T(c,40)|0;if((t|0)!=(a|0)){q=i>>31;while(1){c=N[a+20>>2];j=0;a:{if(N[a+24>>2]){break a}j=0;if(!(c&4)){break a}j=N[a+12>>2]>=0?-1:1}r=a>>>0>=s>>>0;b:{c:{d:{e:{if(c&32){if(N[a+36>>2]<=(i|0)){break e}break d}o=N[a>>2];p=N[a+4>>2];b=N[(c&2?28:24)+a>>2];k=b;l=b>>31;b=N[a+8>>2];k=TE(k,l,b,b>>31);l=Pa;b=N[a+12>>2];n=b>>31;m=TE(b,n,i,q);k=m+k|0;l=Pa+l|0;l=k>>>0>>0?l+1|0:l;m=o-k|0;k=p-((k>>>0>o>>>0)+l|0)|0;if(((!!b&(n|0)>=0|(n|0)>0?0-(k+((m|0)!=0)|0)|0:k)|0)<0){break d}}b=r<<2;c=b+h|0;N[c>>2]=j+N[c>>2];if(N[a+32>>2]>=(i|0)){break b}c=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=c;c=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=c;c=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=c;c=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=c;c=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=c;c=N[d+36>>2];N[d+36>>2]=(c|0)<(i|0)?c:i;b=b+e|0;N[b>>2]=N[b>>2]+1;break c}f:{g:{if(c&16){if(N[a+32>>2]>=(i|0)){break g}c=c&2;break f}l=N[a>>2];o=N[a+4>>2];c=c&2;b=N[a+(c?24:28)>>2];k=b;m=b>>31;b=N[a+8>>2];k=TE(k,m,b,b>>31);n=Pa;b=N[a+12>>2];p=b>>31;m=TE(b,p,i,q);b=m+k|0;k=Pa+n|0;n=l-b|0;b=o-((b>>>0>l>>>0)+(b>>>0>>0?k+1|0:k)|0)|0;if((((p|0)<0?0-(b+((n|0)!=0)|0)|0:b)|0)<0){break f}}b=N[a+36>>2];c=N[a+32>>2];j=f+32|0;N[j>>2]=c;N[j+4>>2]=b;b=N[a+12>>2];N[f+8>>2]=N[a+8>>2];N[f+12>>2]=b;j=N[a+4>>2];k=j;b=N[a>>2];N[f>>2]=b;N[f+4>>2]=j;j=N[a+28>>2];N[f+24>>2]=N[a+24>>2];N[f+28>>2]=j;j=N[a+20>>2];N[f+16>>2]=N[a+16>>2];N[f+20>>2]=j;N[f+36>>2]=N[f+36>>2]-i;j=c-i|0;c=(j|0)>0;N[f+32>>2]=c?j:0;j=N[f+12>>2];j=TE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=k-(Pa+(b>>>0>>0)|0);h:{if(c){break h}b=N[f+20>>2];if((b&18)!=18){break h}N[f+20>>2]=b&-5}b=(r<<2)+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0;break b}if(c){b=(r<<2)+h|0;N[b>>2]=j+N[b>>2]}b=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=b;c=a+32|0;b=N[c>>2];c=N[c+4>>2];N[d+32>>2]=b;N[d+36>>2]=c;c=a+24|0;j=N[c+4>>2];N[d+24>>2]=N[c>>2];N[d+28>>2]=j;c=a+16|0;j=N[c+4>>2];N[d+16>>2]=N[c>>2];N[d+20>>2]=j;c=a+8|0;j=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=j;if(!((b|0)<(i|0)&N[d+36>>2]>(i|0))){ba(8156,18126,378,8809);F()}j=N[a+8>>2];k=N[a+12>>2];l=N[a+16>>2];o=N[a+20>>2];n=N[a+24>>2];p=N[a+28>>2];b=N[a>>2];c=N[a+4>>2];u=N[a+36>>2];m=f+32|0;N[m>>2]=N[a+32>>2];N[m+4>>2]=u;N[f+24>>2]=n;N[f+28>>2]=p;N[f+16>>2]=l;N[f+20>>2]=o;N[f+8>>2]=j;N[f+12>>2]=k;N[f>>2]=b;N[f+4>>2]=c;j=N[d+12>>2];N[f+32>>2]=0;N[f+36>>2]=N[f+36>>2]-i;j=TE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=c-(Pa+(b>>>0>>0)|0);N[d+36>>2]=i;N[d+20>>2]=N[d+20>>2]&-5;c=N[f+20>>2]&-9;N[f+20>>2]=c;b=N[d+20>>2];if(b&2){N[d+20>>2]=c;N[f+20>>2]=b;b=N[d+20>>2]}N[d+20>>2]=b|32;N[f+20>>2]=N[f+20>>2]|16;b=r<<2;c=b+e|0;N[c>>2]=N[c>>2]+1;b=b+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((t|0)!=(a|0)){continue}break}}}function Gi(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;N[e>>2]=0;N[e+4>>2]=0;N[g>>2]=0;N[g+4>>2]=0;s=T(b,40)+a|0;t=s+T(c,40)|0;if((t|0)!=(a|0)){q=i>>31;while(1){c=N[a+20>>2];j=0;a:{if(N[a+32>>2]){break a}j=0;if(!(c&16)){break a}j=N[a+8>>2]>=0?-1:1}r=a>>>0>=s>>>0;b:{c:{d:{e:{if(c&8){if(N[a+28>>2]<=(i|0)){break e}break d}o=N[a>>2];p=N[a+4>>2];b=N[(c&2?36:32)+a>>2];k=b;l=b>>31;b=N[a+12>>2];k=TE(k,l,b,b>>31);l=Pa;b=N[a+8>>2];n=b>>31;m=TE(b,n,i,q);k=m+k|0;l=Pa+l|0;l=k>>>0>>0?l+1|0:l;m=o-k|0;k=p-((k>>>0>o>>>0)+l|0)|0;if(((!!b&(n|0)>=0|(n|0)>0?0-(k+((m|0)!=0)|0)|0:k)|0)<0){break d}}b=r<<2;c=b+h|0;N[c>>2]=j+N[c>>2];if(N[a+24>>2]>=(i|0)){break b}c=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=c;c=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=c;c=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=c;c=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=c;c=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=c;c=N[d+28>>2];N[d+28>>2]=(c|0)<(i|0)?c:i;b=b+e|0;N[b>>2]=N[b>>2]+1;break c}f:{g:{if(c&4){if(N[a+24>>2]>=(i|0)){break g}c=c&2;break f}l=N[a>>2];o=N[a+4>>2];c=c&2;b=N[a+(c?32:36)>>2];k=b;m=b>>31;b=N[a+12>>2];k=TE(k,m,b,b>>31);n=Pa;b=N[a+8>>2];p=b>>31;m=TE(b,p,i,q);b=m+k|0;k=Pa+n|0;n=l-b|0;b=o-((b>>>0>l>>>0)+(b>>>0>>0?k+1|0:k)|0)|0;if((((p|0)<0?0-(b+((n|0)!=0)|0)|0:b)|0)<0){break f}}b=N[a+28>>2];j=N[a+24>>2];c=f+24|0;N[c>>2]=j;N[c+4>>2]=b;c=N[a+4>>2];k=c;b=N[a>>2];N[f>>2]=b;N[f+4>>2]=c;c=N[a+36>>2];N[f+32>>2]=N[a+32>>2];N[f+36>>2]=c;c=N[a+20>>2];N[f+16>>2]=N[a+16>>2];N[f+20>>2]=c;l=N[a+12>>2];c=N[a+8>>2];N[f+8>>2]=c;N[f+12>>2]=l;N[f+28>>2]=N[f+28>>2]-i;c=TE(c,c>>31,i,q);N[f>>2]=b-c;N[f+4>>2]=k-(Pa+(b>>>0>>0)|0);c=j-i|0;b=(c|0)>0;N[f+24>>2]=b?c:0;h:{if(b){break h}b=N[f+20>>2];if((b&6)!=6){break h}N[f+20>>2]=b&-17}b=(r<<2)+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0;break b}if(c){b=(r<<2)+h|0;N[b>>2]=j+N[b>>2]}b=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=b;b=a+32|0;c=N[b+4>>2];N[d+32>>2]=N[b>>2];N[d+36>>2]=c;c=a+24|0;b=N[c>>2];c=N[c+4>>2];N[d+24>>2]=b;N[d+28>>2]=c;c=a+16|0;j=N[c+4>>2];N[d+16>>2]=N[c>>2];N[d+20>>2]=j;c=a+8|0;j=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=j;if(!((b|0)<(i|0)&N[d+28>>2]>(i|0))){ba(8191,18126,357,7823);F()}j=N[a+8>>2];k=N[a+12>>2];l=N[a+16>>2];o=N[a+20>>2];n=N[a+24>>2];p=N[a+28>>2];b=N[a>>2];c=N[a+4>>2];m=N[a+36>>2];N[f+32>>2]=N[a+32>>2];N[f+36>>2]=m;m=f+24|0;N[m>>2]=n;N[m+4>>2]=p;N[f+16>>2]=l;N[f+20>>2]=o;N[f+8>>2]=j;N[f+12>>2]=k;N[f>>2]=b;N[f+4>>2]=c;j=N[d+8>>2];N[f+24>>2]=0;N[f+28>>2]=N[f+28>>2]-i;j=TE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=c-(Pa+(b>>>0>>0)|0);N[d+28>>2]=i;N[d+20>>2]=N[d+20>>2]&-17;c=N[f+20>>2]&-33;N[f+20>>2]=c;b=N[d+20>>2];if(b&2){N[d+20>>2]=c;N[f+20>>2]=b;b=N[d+20>>2]}N[d+20>>2]=b|8;N[f+20>>2]=N[f+20>>2]|4;b=r<<2;c=b+e|0;N[c>>2]=N[c>>2]+1;b=b+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((t|0)!=(a|0)){continue}break}}}function Cn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=La-16|0;La=k;a:{b:{c:{d:{e:{j=N[b+8>>2];if(Q[b+4>>2]<=j+3>>>0){break e}n=N[a>>2];e=N[b+20>>2];if(e){f=k+12|0;if((Qa[e|0](b,j,f,4)|0)!=4){break e}h=N[b+8>>2];break d}f=N[b>>2];if(f){f=f+j|0;h=j;break d}N[b+8>>2]=j+4;f=2;break c}f=85;break a}e=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);i=h+4|0;N[b+8>>2]=i;f=2;if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))!=1954115633){break c}e=N[b+4>>2];if(e>>>0<=h+5>>>0){break b}f:{g:{h:{g=N[b+20>>2];i:{if(g){f=k+12|0;if((Qa[g|0](b,i,f,2)|0)!=2){break b}i=N[b+8>>2];h=N[b+20>>2];break i}f=N[b>>2];if(!f){break h}f=f+i|0;h=0}e=O[f+1|0];f=O[f|0];N[b+8>>2]=i+2;g=i+8|0;o=f<<8|e;if(!h){e=N[b+4>>2];break g}f=85;if(!(Qa[h|0](b,g,0,0)|0)){break f}break a}N[b+8>>2]=h+6;g=h+12|0}f=85;if(e>>>0>>0){break a}}N[b+8>>2]=g;f=142;if(!o){break a}l=(c|0)>0?c&65535:c;m=-1;j:{k:{l:{while(1){h=N[b+4>>2];if(h>>>0<=g+3>>>0){break l}m:{n:{o:{p:{e=N[b+20>>2];q:{if(e){c=k+12|0;if((Qa[e|0](b,g,c,4)|0)!=4){break l}g=N[b+8>>2];h=N[b+20>>2];break q}c=N[b>>2];if(!c){break p}c=c+g|0;h=0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[b+8>>2]=g+4;i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=g+8|0;if(!h){h=N[b+4>>2];break o}if(!(Qa[h|0](b,c,0,0)|0)){break n}f=85;break a}N[b+8>>2]=g+4;c=g+8|0;i=0}if(c>>>0<=h>>>0){break m}f=85;break a}h=N[b+4>>2]}N[b+8>>2]=c;r:{s:{t:{if(g+11>>>0>=h>>>0){break t}g=N[b+20>>2];u:{if(g){e=k+12|0;if((Qa[g|0](b,c,e,4)|0)!=4){break t}h=N[b+4>>2];c=N[b+8>>2];break u}e=N[b>>2];if(!e){break s}e=c+e|0}e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);break r}f=85;break a}e=0}g=c+4|0;N[b+8>>2]=g;v:{w:{x:{if(c+7>>>0>=h>>>0){break x}h=N[b+20>>2];y:{if(h){c=k+12|0;if((Qa[h|0](b,g,c,4)|0)!=4){break x}g=N[b+8>>2];break y}c=N[b>>2];if(!c){break w}c=c+g|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break v}f=85;break a}c=0}g=g+4|0;N[b+8>>2]=g;z:{A:{if((i|0)!=1415139377){if((i|0)!=1128875040){break A}c=c-22|0;e=e+22|0;p=1;if((l|0)<0){break z}m=m+1|0;break A}c=c-24|0;e=e+24|0;p=0;if((l|0)<0){break z}m=m+1|0}if((l|0)==(m|0)&(l|0)>=0){break z}q=q+1|0;if((q|0)==(o|0)){break a}continue}break}f=8;h=N[b+4>>2];if(h>>>0>>0|h-e>>>0>>0){break a}e=e+j|0;g=N[b+20>>2];B:{if(g){f=85;if(!(Qa[g|0](b,e,0,0)|0)){break B}break a}f=85;if(e>>>0>h>>>0){break a}}N[b+8>>2]=e;if((c|0)>0){e=Qa[N[n+4>>2]](n,c)|0;if(!e){f=64;break a}f=Yb(b,e,c);if(f){break k}f=$h(a,e,c,l>>31&l,p?16760:21728,d);break j}f=6;if(c){break a}f=Yb(b,0,0);if(f){break j}f=6;break j}f=85;break a}Qa[N[n+8>>2]](n,e)}if((f&255)!=2){break a}}a=f;c=N[b+20>>2];C:{if(c){f=85;if(!(Qa[c|0](b,j,0,0)|0)){break C}break a}f=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=j;f=a;break a}f=85}La=k+16|0;return f}function Hn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+b|0;c=N[a+4>>2];a:{b:{if(c&1){break b}if(!(c&3)){break a}c=N[a>>2];b=c+b|0;c:{d:{e:{a=a-c|0;if((a|0)!=N[147322]){if(c>>>0<=255){d=N[a+8>>2];e=N[a+12>>2];if((d|0)!=(e|0)){break e}i=589268,j=N[147317]&YE(-2,c>>>3|0),N[i>>2]=j;break b}h=N[a+24>>2];c=N[a+12>>2];if((c|0)!=(a|0)){d=N[a+8>>2];N[d+12>>2]=c;N[c+8>>2]=d;break c}e=a+20|0;d=N[e>>2];if(!d){d=N[a+16>>2];if(!d){break d}e=a+16|0}while(1){g=e;c=d;e=c+20|0;d=N[e>>2];if(d){continue}e=c+16|0;d=N[c+16>>2];if(d){continue}break}N[g>>2]=0;break c}c=N[f+4>>2];if((c&3)!=3){break b}N[147319]=b;N[f+4>>2]=c&-2;N[a+4>>2]=b|1;N[f>>2]=b;return}N[d+12>>2]=e;N[e+8>>2]=d;break b}c=0}if(!h){break b}d=N[a+28>>2];e=(d<<2)+589572|0;f:{if(N[e>>2]==(a|0)){N[e>>2]=c;if(c){break f}i=589272,j=N[147318]&YE(-2,d),N[i>>2]=j;break b}N[h+(N[h+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}N[c+24>>2]=h;d=N[a+16>>2];if(d){N[c+16>>2]=d;N[d+24>>2]=c}d=N[a+20>>2];if(!d){break b}N[c+20>>2]=d;N[d+24>>2]=c}g:{h:{i:{j:{c=N[f+4>>2];if(!(c&2)){if(N[147323]==(f|0)){N[147323]=a;b=N[147320]+b|0;N[147320]=b;N[a+4>>2]=b|1;if(N[147322]!=(a|0)){break a}N[147319]=0;N[147322]=0;return}if(N[147322]==(f|0)){N[147322]=a;b=N[147319]+b|0;N[147319]=b;N[a+4>>2]=b|1;N[a+b>>2]=b;return}b=(c&-8)+b|0;if(c>>>0<=255){e=c>>>3|0;c=N[f+12>>2];d=N[f+8>>2];if((c|0)==(d|0)){i=589268,j=N[147317]&YE(-2,e),N[i>>2]=j;break h}N[d+12>>2]=c;N[c+8>>2]=d;break h}h=N[f+24>>2];c=N[f+12>>2];if((f|0)!=(c|0)){d=N[f+8>>2];N[d+12>>2]=c;N[c+8>>2]=d;break i}e=f+20|0;d=N[e>>2];if(!d){d=N[f+16>>2];if(!d){break j}e=f+16|0}while(1){g=e;c=d;e=c+20|0;d=N[e>>2];if(d){continue}e=c+16|0;d=N[c+16>>2];if(d){continue}break}N[g>>2]=0;break i}N[f+4>>2]=c&-2;N[a+4>>2]=b|1;N[a+b>>2]=b;break g}c=0}if(!h){break h}d=N[f+28>>2];e=(d<<2)+589572|0;k:{if(N[e>>2]==(f|0)){N[e>>2]=c;if(c){break k}i=589272,j=N[147318]&YE(-2,d),N[i>>2]=j;break h}N[h+(N[h+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}N[c+24>>2]=h;d=N[f+16>>2];if(d){N[c+16>>2]=d;N[d+24>>2]=c}d=N[f+20>>2];if(!d){break h}N[c+20>>2]=d;N[d+24>>2]=c}N[a+4>>2]=b|1;N[a+b>>2]=b;if(N[147322]!=(a|0)){break g}N[147319]=b;return}if(b>>>0<=255){c=(b&-8)+589308|0;d=N[147317];b=1<<(b>>>3);l:{if(!(d&b)){N[147317]=b|d;b=c;break l}b=N[c+8>>2]}N[c+8>>2]=a;N[b+12>>2]=a;N[a+12>>2]=c;N[a+8>>2]=b;return}d=31;if(b>>>0<=16777215){c=W(b>>>8|0);d=((b>>>38-c&1)-(c<<1)|0)+62|0}N[a+28>>2]=d;N[a+16>>2]=0;N[a+20>>2]=0;c=(d<<2)+589572|0;m:{e=N[147318];g=1<>2]=a;N[a+24>>2]=c;break n}d=b<<((d|0)!=31?25-(d>>>1|0)|0:0);c=N[c>>2];while(1){e=c;if((N[c+4>>2]&-8)==(b|0)){break m}g=d>>>29|0;d=d<<1;g=c+(g&4)|0;c=N[g+16>>2];if(c){continue}break}N[g+16>>2]=a;N[a+24>>2]=e}N[a+12>>2]=a;N[a+8>>2]=a;return}b=N[e+8>>2];N[b+12>>2]=a;N[e+8>>2]=a;N[a+24>>2]=0;N[a+12>>2]=e;N[a+8>>2]=b}}function kh(a,b,c){var d=U(0),e=0,f=0,g=0;f=N[a+24>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{if((b|0)<=1986098018){if((b|0)==1751216995){break i}if((b|0)==1751413603){break h}if((b|0)!=1751934832){break a}e=f+72|0;b=Sc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break g}b=Sc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break g}}if(!c){break c}b=Sc(e);b=O[b+72|0]|O[b+73|0]<<8;d=Gc(Hc(f+132|0),1751934832,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}if((b|0)==1986098019){break f}if((b|0)==1986294627){break e}if((b|0)!=1986815856){break a}e=f+92|0;b=wc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=wc(e);b=O[b+8|0]|O[b+9|0]<<8;d=Gc(Hc(f+132|0),1986815856,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+44>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}j:{e=f+72|0;b=Sc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break j}b=Sc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break j}}if(!c){break c}b=Sc(e);b=O[b+68|0]|O[b+69|0]<<8;d=Gc(Hc(f+132|0),1751216995,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}b=f- -64|0;e=Jd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Jd(b);b=O[b+4|0]|O[b+5|0]<<8;d=Gc(Hc(f+132|0),1751216995,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}k:{e=f+72|0;b=Sc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break k}b=Sc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break k}}if(!c){break c}b=Sc(e);b=O[b+70|0]|O[b+71|0]<<8;d=Gc(Hc(f+132|0),1751413603,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))));break d}b=f- -64|0;e=Jd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Jd(b);b=O[b+6|0]|O[b+7|0]<<8;d=Gc(Hc(f+132|0),1751413603,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))));break d}b=f- -64|0;e=Jd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Jd(b);b=O[b+8|0]|O[b+9|0]<<8;d=Gc(Hc(f+132|0),1751934832,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}e=f+92|0;b=wc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=wc(e);b=O[b+4|0]|O[b+5|0]<<8;d=Gc(Hc(f+132|0),1986098019,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+44>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}e=f+92|0;b=wc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=wc(e);b=O[b+6|0]|O[b+7|0]<<8;d=Gc(Hc(f+132|0),1986294627,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+44>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))))}d=U(Z(d));l:{if(U(V(d))>2]=a}b=1}return b}ba(22017,17838,100,12708);F()}function $g(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=U(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=U(0);h=La-48|0;La=h;m=275552;j=((c<<2)+a|0)+2|0;i=c;c=O[a|0]|O[a+1|0]<<8;c=i>>>0>=((c<<8|c>>>8)&65535)>>>0?275552:j;i=O[c|0]|O[c+1|0]<<8;j=(i<<8|i>>>8)&65535;c=O[c+2|0]|O[c+3|0]<<8;if(c){m=((c<<8|c>>>8)&65535)+a|0}i=0;a:{if(f>>>0<=j>>>0){break a}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=d>>>0){break a}a=j+T(d,f)|0;if((a|0)<0){break a}c=N[b+96>>2];a=(a<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;b:{if(a){if(!a){break a}j=((a<<8|a>>>8)&65535)+e|0;break b}j=275552;if(!a){break a}}a=N[c+68>>2];q=N[c+64>>2];d=q+1|0;n=a>>>0>>0?a:d;o=n-g|0;c:{if(o>>>0<=1){e=N[c+80>>2];break c}d=N[c+144>>2]|32;N[c+144>>2]=d;e=N[c+80>>2];if(g>>>0>=n>>>0){break c}i=-1;a=g;r=(a^-1)+n|0;if(r>>>0>=3){p=o&-4;while(1){f=T(a,20)+e|0;k=N[f+8>>2];i=i>>>0>>0?i:k;k=N[f+28>>2];i=i>>>0>>0?i:k;k=N[f+48>>2];i=i>>>0>>0?i:k;f=N[f+68>>2];i=f>>>0>i>>>0?i:f;a=a+4|0;s=s+4|0;if((p|0)!=(s|0)){continue}break}}p=o&3;if(p){f=0;while(1){k=N[(T(a,20)+e|0)+8>>2];i=i>>>0>>0?i:k;a=a+1|0;f=f+1|0;if((p|0)!=(f|0)){continue}break}}a=g;if(o&1){a=T(a,20)+e|0;if(N[a+8>>2]!=(i|0)){N[a+4>>2]=N[a+4>>2]|3}a=g+1|0}if(!r){break c}while(1){f=T(a,20)+e|0;if(N[f+8>>2]!=(i|0)){d=d|32;N[c+144>>2]=d;N[f+4>>2]=N[f+4>>2]|3}f=T(a+1|0,20)+e|0;if(N[f+8>>2]!=(i|0)){d=d|32;N[c+144>>2]=d;N[f+4>>2]=N[f+4>>2]|3}a=a+2|0;if((n|0)!=(a|0)){continue}break}}a=N[T(q,20)+e>>2];N[h+44>>2]=0;N[h+40>>2]=0;d:{e:{f:{g:{d=O[m|0]|O[m+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break e;case 1:break f;case 0:break g;default:break d}}a=N[b+88>>2];d=O[m+2|0]|O[m+3|0]<<8;R[h+44>>2]=R[a+44>>2]*U((d<<8|d>>>8)<<16>>16);l=R[a+48>>2];a=O[m+4|0]|O[m+5|0]<<8;R[h+40>>2]=l*U((a<<8|a>>>8)<<16>>16);break d}Jf(m,N[b+88>>2],a,h+44|0,h+40|0);break d}If(m,b,h+44|0,h+40|0)}a=N[N[c+80>>2]+T(g,20)>>2];N[h+36>>2]=0;N[h+32>>2]=0;h:{i:{j:{k:{d=O[j|0]|O[j+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break h}}a=N[b+88>>2];d=O[j+2|0]|O[j+3|0]<<8;R[h+36>>2]=R[a+44>>2]*U((d<<8|d>>>8)<<16>>16);l=R[a+48>>2];a=O[j+4|0]|O[j+5|0]<<8;R[h+32>>2]=l*U((a<<8|a>>>8)<<16>>16);break h}Jf(j,N[b+88>>2],a,h+36|0,h+32|0);break h}If(j,b,h+36|0,h+32|0)}a=N[b+96>>2];if(N[a+156>>2]){d=N[b+88>>2];e=N[a+64>>2];N[h+20>>2]=g;N[h+16>>2]=e;ib(a,d,17206,h+16|0)}a=N[c+88>>2]+T(N[c+64>>2],20)|0;l=U(Z(U(U(R[h+36>>2]-R[h+44>>2])+U(.5))));l:{if(U(V(l))>2]=d;l=R[h+40>>2];t=R[h+32>>2];L[a+18|0]=1;l=U(Z(U(U(t-l)+U(.5))));m:{if(U(V(l))>2]=d;M[a+16>>1]=g-N[c+64>>2];N[c+144>>2]=N[c+144>>2]|8;a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];d=N[a+64>>2];N[h+4>>2]=g;N[h>>2]=d;ib(a,b,17248,h)}i=1;N[c+64>>2]=N[c+64>>2]+1}La=h+48|0;return i}function bA(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=La-96|0;La=h;N[h+80>>2]=0;N[h+84>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;j=h- -64|0;N[j>>2]=0;N[j+4>>2]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;m=c+10|0;a:{if((m|0)<0){j=6;break a}b:{c:{if(m){j=10;if((m|0)>268435455){break a}j=m<<3;g=Qa[N[a+4>>2]](a,j)|0;if(!g|(m|0)<=0){break c}G(g,0,j)}N[b+20>>2]=g;break b}N[b+20>>2]=g;if(g){break b}j=!g<<6;break a}d:{if(!c){break d}j=0;while(1){k=Qa[d|0](f,j)|0;e:{if(!k|!O[k|0]){break e}i=0;f:{g:{if(!cb(356640,k)){break g}i=1;if(!cb(356646,k)){break g}i=2;if(!cb(356652,k)){break g}i=3;if(!cb(356661,k)){break g}i=4;if(!cb(356668,k)){break g}i=5;if(!cb(356675,k)){break g}i=6;if(!cb(356678,k)){break g}i=7;if(!cb(356693,k)){break g}i=8;if(!cb(356699,k)){break g}if(cb(356712,k)){break f}i=9}l=i<<2;i=l+(h+48|0)|0;if(N[i>>2]){break f}N[i>>2]=1;N[h+l>>2]=j}i=Mo(k);if(i&2147483647){n=h+48|0;h:{i:{j:{k:{l:{m:{n:{o:{p:{if((i|0)<=915){q:{switch(i-160|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break h;case 0:break l;case 13:break p;default:break q}}switch(i-538|0){case 1:break j;case 0:break k;default:break o}}r:{s:{switch(i-937|0){default:t:{switch(i-8725|0){case 1:case 2:case 3:break h;case 4:break m;case 0:break r;default:break t}}l=0;if((i|0)==916){break i}break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break h;case 19:break n;case 0:break s}}l=1;break i}l=2;break i}l=3;break i}if((i|0)!=713){break h}l=4;break i}l=5;break i}l=6;break i}l=7;break i}l=8;break i}l=9}N[n+(l<<2)>>2]=2}N[g+4>>2]=j;N[g>>2]=i;g=g+8|0}if(!e){break e}Qa[e|0](f,k)}j=j+1|0;if((j|0)!=(c|0)){continue}break}if(N[h+48>>2]!=1){break d}N[g>>2]=916;N[g+4>>2]=N[h>>2];g=g+8|0}if(N[h+52>>2]==1){N[g>>2]=937;N[g+4>>2]=N[h+4>>2];g=g+8|0}if(N[h+56>>2]==1){N[g>>2]=8725;N[g+4>>2]=N[h+8>>2];g=g+8|0}if(N[h+60>>2]==1){N[g>>2]=173;N[g+4>>2]=N[h+12>>2];g=g+8|0}if(N[h+64>>2]==1){N[g>>2]=713;N[g+4>>2]=N[h+16>>2];g=g+8|0}if(N[h+68>>2]==1){N[g>>2]=956;N[g+4>>2]=N[h+20>>2];g=g+8|0}if(N[h+72>>2]==1){N[g>>2]=8729;N[g+4>>2]=N[h+24>>2];g=g+8|0}if(N[h+76>>2]==1){N[g>>2]=160;N[g+4>>2]=N[h+28>>2];g=g+8|0}if(N[h+80>>2]==1){N[g>>2]=538;N[g+4>>2]=N[h+32>>2];g=g+8|0}if(N[h+84>>2]==1){N[g>>2]=539;N[g+4>>2]=N[h+36>>2];g=g+8|0}j=N[b+20>>2];e=g-j|0;d=e>>3;u:{if((g|0)==(j|0)){if(g){Qa[N[a+8>>2]](a,g)}N[b+20>>2]=0;j=163;break u}if(d>>>0>>1>>>0){v:{if((d|m)<0){break v}w:{if(!m){j=Qa[N[a+4>>2]](a,e)|0;a=!j<<6;break w}a=Qa[N[a+12>>2]](a,m<<3,e,j)|0;j=a?a:j;a=!a<<6}if(a|(d|0)<=(m|0)|!j){break v}G((m<<3)+j|0,0,d-m<<3)}N[b+20>>2]=j}Yc(j,d,8,363);j=0}N[b+16>>2]=d}La=h+96|0;return j|0}function qd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=La-16|0;La=i;a:{if(!O[a|0]|(b|0)==-1|b>>>0>c>>>0){break a}N[a+4>>2]=-1;g=b>>>9|0;d=b&511;l=g+((d|0)!=0)|0;k=c>>>9|0;o=c&511;m=k-((o|0)!=511)|0;b:{if(!d&(m|0)>=(l|0)){break b}f=N[a+8>>2];d=N[a+16>>2];h=N[a+20>>2];if(!(f>>>0>>0&(g|0)==N[h+(f<<3)>>2])){if((d|0)<=0){break b}d=d-1|0;while(1){c:{f=d+e>>>1|0;j=N[(f<<3)+h>>2];d:{if((g|0)<(j|0)){d=f-1|0;break d}if((g|0)==(j|0)){break c}e=f+1|0}if((d|0)>=(e|0)){continue}break b}break}N[a+8>>2]=f}e=N[a+32>>2];if(!e){break b}h=e+(N[((f<<3)+h|0)+4>>2]<<6)|0;j=b>>>6&7;e=h+(j<<3)|0;e:{if((g|0)==(k|0)){f=c>>>6&7;if((f|0)==(j|0)){f=c&63;d=f&31;if((f&63)>>>0>=32){f=2<>>32-d;d=2<>>0>=32){b=1<>>32-d;d=f}f=n+d|0;b=b+h|0;b=d>>>0>f>>>0?b+1|0:b;d=e;break e}j=N[e+4>>2];b=b&63;d=b&31;n=N[e>>2];if((b&63)>>>0>=32){b=-1<>>32-d;d=-1<>2]=n&(d^-1);N[e+4>>2]=(b^-1)&j;d=h+(f<<3)|0;b=e+8|0;if((d|0)!=(b|0)){G(b,0,d-b|0)}b=c&63;e=b&31;if((b&63)>>>0>=32){b=-2<>>32-e|-1<>>0>=32){b=-1<>>32-d;d=-1<>2];N[e>>2]=f&N[e>>2];N[e+4>>2]=b;f=0;b=0;d=h+56|0;e=e+8|0;if((d|0)==(e|0)){break e}G(e,0,d-e|0)}b=b&N[d+4>>2];N[d>>2]=f&N[d>>2];N[d+4>>2]=b}f:{if((g|0)==(k|0)|(o|0)==511){break f}f=N[a+8>>2];e=N[a+16>>2];b=N[a+20>>2];if(!(f>>>0>>0&(k|0)==N[b+(f<<3)>>2])){if((e|0)<=0){break f}d=e-1|0;e=0;while(1){g:{f=d+e>>>1|0;g=N[b+(f<<3)>>2];h:{if((g|0)>(k|0)){d=f-1|0;break h}if((g|0)==(k|0)){break g}e=f+1|0}if((d|0)>=(e|0)){continue}break f}break}N[a+8>>2]=f}e=N[a+32>>2];if(!e){break f}e=e+(N[(b+(f<<3)|0)+4>>2]<<6)|0;d=c>>>6&7;i:{if(!d){break i}b=e;N[e>>2]=0;N[e+4>>2]=0;d=d<<3;e=d+e|0;b=b+8|0;if((e|0)==(b|0)){break i}G(b,0,d-8|0)}d=N[e+4>>2];c=c&63;b=c&31;if((c&63)>>>0>=32){c=-2<>>32-b|-1<>2]=b&N[e>>2];N[e+4>>2]=c&d}if((l|0)>(m|0)){break a}b=0;N[i+12>>2]=0;N[i+4>>2]=0;e=N[a+28>>2];c=(e|0)>0;e=c?e:0;j:{k:{if(c){while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0>1073741823){break k}c=kb(b<<2);if(!c){break k}N[i+4>>2]=b;N[i+12>>2]=c;G(c,0,e<<2);b=c}N[i+8>>2]=e;e=N[a+16>>2];l:{if(!e){f=0;break l}d=0;f=0;while(1){m:{n:{if(d>>>0>>0){c=N[a+20>>2]+(d<<3)|0;g=N[c>>2];if((g|0)<(l|0)|(g|0)>(m|0)){break n}break m}N[147456]=0;N[147457]=0;c=589824;if(!l){break m}}o:{if(e>>>0<=f>>>0){N[147456]=0;N[147457]=0;e=589824;break o}e=N[a+20>>2]+(f<<3)|0}f=f+1|0;g=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=g;e=N[a+16>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}}Ij(a,i+4|0,f);Df(a,f);break j}b=0;L[a|0]=0}_a(b)}La=i+16|0}function yg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;n=e>>8;a:{if((d|0)==(f|0)){b=b-N[a+164>>2]|0;if(!(!((b|0)<0|(b|0)>=N[a+172>>2])&N[a+160>>2]>(n|0))){N[a+176>>2]=N[a+192>>2];return}d=N[a+188>>2]+(b<<2)|0;g=N[d>>2];b=N[g>>2];c=N[a+156>>2];e=(c|0)>(n|0)?c-1|0:n;b:{if((b|0)<=(e|0)){while(1){c=g;if((b|0)==(e|0)){break b}g=N[c+12>>2];b=N[g>>2];if((e|0)>=(b|0)){continue}break}d=c+12|0}c=N[a+180>>2];N[a+180>>2]=c+16;if(Q[a+184>>2]<=c>>>0){break a}N[c>>2]=e;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=N[d>>2];N[d>>2]=c}N[a+176>>2]=c;return}g=c&255;h=c>>8;c:{if((h|0)==(n|0)){c=N[a+176>>2];break c}p=1;j=N[a+176>>2];k=e-c|0;d:{if((k|0)>0){s=256;c=256-g|0;break d}k=0-k|0;p=-1;c=g}m=f-d|0;c=T(c,m);l=(c|0)/(k|0)|0;q=c-T(k,l)|0;r=q>>31;i=l+r|0;N[j+4>>2]=i+N[j+4>>2];N[j+8>>2]=N[j+8>>2]+T(i,g|s);j=h+p|0;c=b-N[a+164>>2]|0;e:{if(!(!((c|0)<0|(c|0)>=N[a+172>>2])&N[a+160>>2]>(j|0))){g=N[a+192>>2];break e}h=N[a+188>>2]+(c<<2)|0;b=N[h>>2];o=N[b>>2];g=N[a+156>>2];l=(g|0)>(j|0)?g-1|0:j;if((o|0)<=(l|0)){while(1){g=b;if((l|0)==(o|0)){break e}b=N[g+12>>2];o=N[b>>2];if((l|0)>=(o|0)){continue}break}h=g+12|0}g=N[a+180>>2];N[a+180>>2]=g+16;if(Q[a+184>>2]<=g>>>0){break a}N[g>>2]=l;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=N[h>>2];N[h>>2]=g}d=d+i|0;N[a+176>>2]=g;f:{if((j|0)==(n|0)){c=g;break f}b=q+(k&r)|0;l=m<<8;h=(l|0)/(k|0)|0;l=l-T(h,k)|0;m=l>>31;l=(m&k)+l|0;m=h+m|0;g:{if((c|0)<0){c=N[a+192>>2];h=b+l|0;i=(h|0)>=(k|0);b=i+m|0;N[g+4>>2]=b+N[g+4>>2];N[g+8>>2]=N[g+8>>2]+(b<<8);d=b+d|0;g=j+p|0;if((n|0)==(g|0)){break g}h=h-(i?k:0)|0;b=N[c+8>>2];j=N[c+4>>2];while(1){h=h+l|0;i=(h|0)>=(k|0);h=h-(i?k:0)|0;i=i+m|0;d=i+d|0;j=j+i|0;b=(i<<8)+b|0;g=g+p|0;if((n|0)!=(g|0)){continue}break}N[c+8>>2]=b;N[c+4>>2]=j;break g}if((c|0)>2]){q=N[a+160>>2];r=c<<2;c=g;while(1){t=b+l|0;u=(t|0)>=(k|0);o=m+u|0;N[c+4>>2]=o+N[c+4>>2];N[c+8>>2]=N[c+8>>2]+(o<<8);j=j+p|0;h:{if((q|0)>(j|0)){h=r+N[a+188>>2]|0;g=N[h>>2];b=N[g>>2];c=N[a+156>>2];i=(c|0)>(j|0)?c-1|0:j;if((b|0)<=(i|0)){while(1){c=g;if((b|0)==(i|0)){break h}g=N[c+12>>2];b=N[g>>2];if((i|0)>=(b|0)){continue}break}h=c+12|0}c=N[a+180>>2];N[a+180>>2]=c+16;if(Q[a+184>>2]<=c>>>0){break a}N[c>>2]=i;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=N[h>>2];N[h>>2]=c;break h}c=N[a+192>>2]}b=t-(u?k:0)|0;d=d+o|0;N[a+176>>2]=c;if((j|0)!=(n|0)){continue}break}break f}c=N[a+192>>2];h=b+l|0;i=(h|0)>=(k|0);b=i+m|0;N[g+4>>2]=b+N[g+4>>2];N[g+8>>2]=N[g+8>>2]+(b<<8);d=b+d|0;g=j+p|0;if((n|0)==(g|0)){break g}h=h-(i?k:0)|0;b=N[c+8>>2];j=N[c+4>>2];while(1){h=h+l|0;i=(h|0)>=(k|0);h=h-(i?k:0)|0;i=i+m|0;d=i+d|0;j=j+i|0;b=(i<<8)+b|0;g=g+p|0;if((n|0)!=(g|0)){continue}break}N[c+8>>2]=b;N[c+4>>2]=j}N[a+176>>2]=c}g=256-s|0}a=f-d|0;N[c+4>>2]=a+N[c+4>>2];N[c+8>>2]=N[c+8>>2]+T(a,(e&255)+g|0);return}oe(a,1);F()}function He(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=La-32|0;La=k;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{switch(a-29|0){case 0:a=N[b+8>>2];d=N[b+4>>2];l:{if(a>>>0>=d>>>0){a=d+1|0;N[b+8>>2]=a;c=275552;break l}c=N[b>>2]+a|0}i=O[c|0];c=a+1|0;m:{if(c>>>0>=d>>>0){a=d+1|0;N[b+8>>2]=a;c=275552;break m}c=c+N[b>>2]|0}g=O[c|0];c=a+2|0;n:{if(c>>>0>=d>>>0){a=d+1|0;N[b+8>>2]=a;c=275552;break n}c=c+N[b>>2]|0}h=O[c|0];c=a+3|0;o:{if(c>>>0>=d>>>0){a=d+1|0;N[b+8>>2]=a;d=275552;break o}d=c+N[b>>2]|0}c=b+16|0;j=O[d|0];d=N[b+20>>2];p:{if(d>>>0<=512){N[b+20>>2]=d+1;d=(c+(d<<3)|0)+8|0;break p}L[c|0]=1;N[147456]=0;N[147457]=0;d=589824}S[d>>3]=j|(g<<16|i<<24|h<<8);N[b+8>>2]=a+4;break a;case 1:a=N[b+8>>2];j=N[b+4>>2];if(a>>>0>j>>>0){break c}i=j+2|0;n=j+1|0;l=N[b>>2];while(1){q:{r:{s:{if(!(g&1)){d=a+1|0;if(d>>>0>j>>>0){break d}t:{if(a>>>0>=j>>>0){N[b+8>>2]=n;h=275552;a=i;break t}h=a+l|0;a=d}h=O[h|0];N[b+8>>2]=a;d=h>>>4|0;break s}d=h&15}switch(d-13|0){case 2:break r;case 0:break d;default:break q}}d=c+k|0;a=k;u:{if((c|0)<=0){break u}while(1){c=O[a|0];if(c-9>>>0>=5&(c|0)!=32){break u}a=a+1|0;if((d|0)!=(a|0)){continue}break}break f}if((a|0)==(d|0)){break f}j=0;h=0;g=0;c=1;v:{while(1){l=O[c+179647|0]+179456|0;i=L[c+179656|0];o=c<<1;p=O[o+179424|0];c=L[a|0];if((p|0)<=(c|0)){i=(c|0)>O[o+179425|0]?i:c-p|0}i=L[i+l|0];w:{if(587>>>i&1){break w}x:{switch(L[i+179675|0]-1|0){case 0:h=1;break w;case 3:q=1;break w;case 1:e=e*10+ +(c-48|0);break w;case 2:if(!(f<=450359962737049)){break w}f=f*10+ +(c-48|0);m=m+1;break w;case 4:break x;default:break w}}l=(c+T(g,10)|0)-48|0;c=l>>>0>2047;g=c?g:l;j=c|j}if((i|0)==1){break v}c=L[i+179665|0];a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}y:{if(m!=0){r=e;if(m<4294967296&m>=0){c=~~m>>>0}else{c=0}e=c&256?1e256:1;e=c&128?e*1e128:e;e=c&64?e*1e64:e;e=c&32?e*1e32:e;e=c&16?e*1e16:e;e=c&8?e*1e8:e;e=c&4?e*1e4:e;e=c&2?e*100:e;e=r+f/(c&1?e*10:e);if(h){break y}break j}if(!h){break j}}e=-e;if(!(j&1)){break i}break h}L[c+k|0]=O[d+20474|0];z:{if((d|0)!=12){d=c;break z}d=c+1|0;if((d|0)==32){break d}L[d+k|0]=45}c=d+1|0;g=g+1|0;if(d>>>0<31){continue}break};break d;default:break k}}uf(a,b);break a}if(j&1){break h}}if(!g){break e}f=g&256?1e256:1;f=g&128?f*1e128:f;f=g&64?f*1e64:f;f=g&32?f*1e32:f;f=g&16?f*1e16:f;f=g&8?f*1e8:f;f=g&4?f*1e4:f;f=g&2?f*100:f;f=g&1?f*10:f;if(!q){break g}e=e/f;break e}if(e==0){break e}if(q){e=h?-22250738585072014e-324:22250738585072014e-324;break e}e=h?-17976931348623157e292:17976931348623157e292;break e}e=f*e;break e}a=d}if((a|0)==(k|0)){break d}if((a|0)==(d|0)){break b}}N[b+8>>2]=n}e=0}a=b+16|0;d=N[b+20>>2];if(d>>>0<=512){N[b+20>>2]=d+1;S[(a+(d<<3)|0)+8>>3]=e;break a}L[a|0]=1;N[147456]=0;N[147457]=0;S[73728]=e}La=k+32|0}function Hp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=La-22048|0;La=c;d=N[b+100>>2];G(c+15424|4,0,2748);N[c+15424>>2]=d;N[a+7728>>2]=0;N[a+52>>2]=0;e=N[N[(N[N[a>>2]+8>>2]<<2)+288704>>2]+16>>2];a:{d=db(1,172);b:{if(!d){d=588184;break b}N[d+148>>2]=1073741823;N[d+152>>2]=536870911;N[d>>2]=1;N[d+4>>2]=1;f=Ic();c:{if(!f){break c}g=N[f>>2];if(!g){break c}if((g|0)<=0){break a}N[f>>2]=g+1}L[d+60|0]=1;N[d+24>>2]=65533;N[d+12>>2]=f}d:{e:{f=O[e|0];if(f){while(1){if((f|0)==32){while(1){f=O[e+1|0];e=e+1|0;if((f|0)==32){continue}break}}e=De(e,a,d,c+16|0);f:{if(Q[c+16>>2]>1){break f}f=N[d+80>>2];g=N[d+68>>2];g:{if(O[d+63|0]|N[d+168>>2]){break g}N[d+84>>2]=f;N[d+72>>2]=0;M[d+62>>1]=256;h=T(g,20);if(!h){break g}G(N[d+88>>2],0,h)}if(!g){break f}f=N[f>>2];if(f){break e}}f=O[e|0];if(f){continue}break}}bc(d);break d}bc(d);if(uc(b,f,1)){break d}d=N[b+84>>2];if(M[d+110>>1]<=0){break d}e=c+16|0;G(e,0,15396);f=N[a+40>>2];N[c+24>>2]=65536;N[c+28>>2]=65536;N[c+56>>2]=f;N[c+20>>2]=b;N[c+18164>>2]=0;N[c+18172>>2]=e;b=c+15424|0;if(rf(b,d+108|0)){break d}if(Xd(b,0)){break d}d=0;qf(b,0,0,0);b=N[c+15468>>2];if((b|0)>0){e=N[c+15476>>2];f=e+T(b,44)|0;while(1){b=N[e+20>>2];if(!(!b|b>>>0<=e>>>0|(N[b+20>>2]!=(e|0)|d>>>0>15))){g=M[e+2>>1]-M[b+2>>1]|0;b=g>>31;N[(T(d,12)+a|0)+56>>2]=(b^g)-b;d=d+1|0}e=e+44|0;if(f>>>0>e>>>0){continue}break}}N[c+12>>2]=d;Dg(c+12|0,a+56|0,Q[c+56>>2]/100|0);N[a+52>>2]=N[c+12>>2];b=c+15424|0;if(Xd(b,1)){break d}d=0;qf(b,0,0,1);b=N[c+16816>>2];if((b|0)>0){e=N[c+16824>>2];f=e+T(b,44)|0;while(1){b=N[e+20>>2];if(!(!b|b>>>0<=e>>>0|(N[b+20>>2]!=(e|0)|d>>>0>15))){g=M[e+2>>1]-M[b+2>>1]|0;b=g>>31;N[(T(d,12)+a|0)+7732>>2]=(b^g)-b;d=d+1|0}e=e+44|0;if(f>>>0>e>>>0){continue}break}}N[c+12>>2]=d;Dg(c+12|0,a+7732|0,Q[c+56>>2]/100|0);N[a+7728>>2]=N[c+12>>2]}if(N[a+52>>2]){b=N[a+56>>2]}else{b=(T(N[a+40>>2],50)|0)/2048|0}L[a+256|0]=0;N[a+252>>2]=b;N[a+248>>2]=(b|0)/5;if(N[a+7728>>2]){b=N[a+7732>>2]}else{b=(T(N[a+40>>2],50)|0)/2048|0}L[a+7932|0]=0;N[a+7928>>2]=b;N[a+7924>>2]=(b|0)/5;a=N[c+15424>>2];h:{if(!a){break h}N[c+15468>>2]=0;N[c+15472>>2]=0;b=N[c+15476>>2];if((b|0)!=(c+15496|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15476>>2]=0}b=c+15480|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+15488>>2];if((b|0)!=(c+16288|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15488>>2]=0}b=c+16816|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+16824>>2];if((b|0)!=(c+16844|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+16824>>2]=0}b=c+16828|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+16836>>2];if((b|0)!=(c+17636|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+16836>>2]=0}b=N[c+15464>>2];if((b|0)!=(c+18176|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15464>>2]=0}N[c+15456>>2]=0;N[c+15460>>2]=0;b=N[c+15452>>2];if((b|0)==(c+18208|0)|!b){break h}Qa[N[a+8>>2]](a,b)}La=c+22048|0;return}ba(23506,14099,260,16403);F()}function Uq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=275552;c=N[N[N[a+92>>2]+148>>2]>>2];c=c?c:275552;f=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[f|0]|O[f+1|0]<<8)!=256){break a}d=275552;c=O[f+8|0]|O[f+9|0]<<8;if(c){d=f+((c<<8|c>>>8)&65535)|0}c=O[d|0]|O[d+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break a}g=((c<<8|c>>>8)&65535)+d|0}m=N[a+136>>2];N[a+136>>2]=b;b=O[g+2|0]|O[g+3|0]<<8;b=b<<8|b>>>8;d=b&65535;j=N[a+140>>2];if(b&16){b=O[g+4|0]|O[g+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+g|0;b=O[b+6|0]|O[b+7|0]<<8;d=b<<24|b<<8&16711680|d}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;h=O[a+150|0];L[a+21|0]=h;c=N[a+132>>2];N[a+16>>2]=c;N[a+72>>2]=0;N[a+48>>2]=a;b=O[a+151|0];L[a+22|0]=b;f=a- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[a+52>>2]=d;e=N[a+84>>2];f=(e|0)==1;L[a+20|0]=f;d=O[a+149|0];L[a+61|0]=1;L[a+60|0]=f|(d|0)!=0;N[a+56>>2]=-1;L[a+62|0]=b;i=O[g+4|0]|O[g+5|0]<<8;if(i){b=O[g|0]|O[g+1|0]<<8;f=(b<<8|b>>>8)&65535;k=g+4|0;h=(i<<8|i>>>8)&65535;i=h>>>0<=1?1:h;b=0;l=1;while(1){c=O[k|0]|O[k+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+k|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+g|0}else{c=275552}d=f;b:{while(1){c:{e=0;if((d|0)!=9){d:{switch(d-1|0){case 0:e:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break c;case 1:break e;default:break b}}e=Ek(c,a);break b;case 1:f:{g:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break b}}e=Hk(c,a);break b}e=Gk(c,a);break b;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Uk(c,a);break b;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Tk(c,a);break b;case 4:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Sk(c,a);break b;case 5:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Rk(c,a);break b;case 6:e=Kj(c,a);break b;case 7:break d;default:break b}}h:{i:{j:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}e=Jj(a,c);break b}e=Kf(c,a,0);break b}e=bh(c,a);break b}if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=O[c+2|0]|O[c+3|0]<<8;d=(e<<8|e>>>8)&65535;e=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}continue}break}e=Fk(c,a)}if(!e){b=b+1|0;l=h>>>0>b>>>0;if((b|0)!=(i|0)){continue}}break}d=O[a+149|0];c=N[a+132>>2];h=O[a+150|0];e=N[a+84>>2];b=O[a+151|0]}N[a+140>>2]=j;N[a+136>>2]=m;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;L[a+21|0]=h;N[a+12>>2]=j;N[a+72>>2]=0;L[a+22|0]=b;N[a+16>>2]=c;N[a+64>>2]=0;N[a+68>>2]=0;L[a+61|0]=1;N[a+52>>2]=j;L[a+62|0]=b;N[a+56>>2]=-1;b=(e|0)==1;L[a+20|0]=b;L[a+60|0]=b|(d&255)!=0;N[a+8>>2]=a;N[a+48>>2]=a;return l|0}function mo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if(c>>>0>268435455){break a}d=c<<4;m=kb(d>>>0<=1?1:d);if(!m){break a}b:{if((c|0)<=0){Yc(m,0,16,377);break b}while(1){j=(n<<5)+b|0;c:{if(!N[j+20>>2]|!N[j+8>>2]|!N[j+16>>2]){break c}d=N[j+28>>2];f=N[d+52>>2];if(!f){f=db(1,20);N[d+52>>2]=f;if(!f){break c}}if(N[a+112>>2]!=N[f+16>>2]){N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;f=N[d+52>>2];N[f+16>>2]=N[a+112>>2]}g=N[f+4>>2];if((g|0)<=0){break c}e=N[f+12>>2];o=e;p=N[f+8>>2];h=p;l=N[f>>2];i=l;d=g;if((d|0)!=N[j+8>>2]){o=0;mb(N[a>>2],2,16884,0);N[f+8>>2]=0;N[f+12>>2]=0;N[f>>2]=0;N[f+4>>2]=0;h=0;i=0;d=0}if((k|0)>0){q=e+p|0;r=g+l|0;e=0;while(1){g=(e<<4)+m|0;if(!((l|0)>=N[g+12>>2]|(r|0)<=N[g+4>>2]|((q|0)<=N[g>>2]|(p|0)>=N[g+8>>2]))){N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;o=0;h=0;i=0;d=0}e=e+1|0;if((k|0)!=(e|0)){continue}break}}if((d|0)<=0){break c}g=(k<<4)+m|0;N[g+12>>2]=d+i;N[g+4>>2]=i;N[g+8>>2]=h+o;N[g>>2]=h;e=N[j>>2];if(e){h=i-N[j+4>>2]|0;f=N[a+136>>2];while(1){g=h+N[e+24>>2]|0;N[e+24>>2]=g;d=N[e+4>>2];if((g|0)<0){N[e+24>>2]=0;d=d+g|0;N[e+4>>2]=d;N[e+12>>2]=N[e+12>>2]-T(g,N[e+8>>2]);g=0}g=d+g|0;if((g|0)>=(f|0)){d=(f-g|0)+d|0;N[e+4>>2]=d}if((d|0)<=0){N[e+24>>2]=0;N[e+4>>2]=0}e=N[e+28>>2];if(e){continue}break}}k=k+1|0;N[j+4>>2]=i}n=n+1|0;if((n|0)!=(c|0)){continue}break}Yc(m,k,16,377);n=0;while(1){f=(n<<5)+b|0;d:{if(!N[f+20>>2]|!N[f+8>>2]|!N[f+16>>2]){break d}d=N[f+28>>2];h=N[d+52>>2];if(!h){h=db(1,20);N[d+52>>2]=h;if(!h){break d}}if(N[a+112>>2]!=N[h+16>>2]){N[h>>2]=0;N[h+4>>2]=0;N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;h=N[d+52>>2];N[h+16>>2]=N[a+112>>2]}if(N[h+4>>2]){break d}o=N[f+12>>2];p=o+N[f+16>>2]|0;e=N[f+4>>2];j=e+N[f+8>>2]|0;e:{if(N[f+24>>2]==1){i=0;d=0;if((k|0)<=0){break e}while(1){g=(d<<4)+m|0;f:{if(N[g+4>>2]>=(i+j|0)){break f}l=N[g+12>>2];if((l|0)<=(e+i|0)|(p|0)<=N[g>>2]){break f}i=(o|0)>2]?l-e|0:i}d=d+1|0;if((k|0)!=(d|0)){continue}break}break e}i=0;d=k;if((d|0)<=0){break e}while(1){g=d;d=d-1|0;l=(d<<4)+m|0;q=N[l+4>>2];if(!((q|0)>=(i+j|0)|N[l+12>>2]<=(e+i|0)|(p|0)<=N[l>>2])){i=(o|0)>2]?q-j|0:i}if(g>>>0>1){continue}break}}d=(k<<4)+m|0;N[d+12>>2]=i+j;N[d+4>>2]=e+i;N[d+8>>2]=p;N[d>>2]=o;k=k+1|0;Yc(m,k,16,377);g:{if(!i){e=N[f+4>>2];break g}e=N[f>>2];if(e){j=N[a+136>>2];while(1){g=N[e+24>>2]+i|0;N[e+24>>2]=g;d=N[e+4>>2];if((g|0)<0){N[e+24>>2]=0;d=d+g|0;N[e+4>>2]=d;N[e+12>>2]=N[e+12>>2]-T(g,N[e+8>>2]);g=0}g=d+g|0;if((g|0)>=(j|0)){d=(j-g|0)+d|0;N[e+4>>2]=d}if((d|0)<=0){N[e+24>>2]=0;N[e+4>>2]=0}e=N[e+28>>2];if(e){continue}break}}e=N[f+4>>2]+i|0;N[f+4>>2]=e}N[h>>2]=e;N[h+4>>2]=N[f+8>>2];N[h+8>>2]=N[f+12>>2];N[h+12>>2]=N[f+16>>2]}n=n+1|0;if((n|0)!=(c|0)){continue}break}}_a(m)}}function bE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[c>>2];a:{b:{c:{d:{if(!b){if(!d){return 0}a=N[d>>2];if(!a){break a}if((a|0)<=0){break d}N[d>>2]=a+1;return d|0}f=P[c+4>>1];e:{f:{g:{a=Q[d+16>>2]<4?275552:N[d+12>>2];d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((d|0)<=1953658212){if((d|0)==256){break g}if((d|0)==65536){d=a;break e}if((d|0)!=1330926671){break f}d=a;break e}if((d|0)==1953658213){d=a;break e}if((d|0)==1954115633){d=a;break e}if((d|0)!=1953784678){break f}d=275552;e=O[a+4|0]|O[a+5|0]<<8;if(((e<<8|e>>>8)&65535)-1>>>0>1){break e}e=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);e=f>>>0>=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0?275552:(a+(f<<2)|0)+12|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!e){break e}d=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;break e}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);g=a+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;d=O[g+24|0]|O[g+25|0]<<8;d=((d<<8|d>>>8)&65535)+g|0;d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;j=a+256|0;d=0;while(1){h:{e=O[g+24|0]|O[g+25|0]<<8;e=g+((e<<8|e>>>8)&65535)|0;h=O[e|0]|O[e+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0>>0){e=275552}else{e=(e+(d<<3)|0)+2|0}if((O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24))!=1953392243){break h}h=O[e+4|0]|O[e+5|0]<<8;if(f>>>0>((h<<8|h>>>8)&65535)>>>0){break h}d=O[g+24|0]|O[g+25|0]<<8;k=g+((d<<8|d>>>8)&65535)|0;d=O[e+6|0]|O[e+7|0]<<8;d=(k+((d<<8|d>>>8)&65535)|0)+T(f,12)|0;d=(j+(O[d+6|0]<<8|O[d+5|0]<<16|O[d+7|0])|0)+4|0;l=d-a|0;break e}e=(d|0)!=(i|0);d=d+1|0;if(e){continue}break}d=275552;l=275552-a|0;break e}d=275552}i=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=d+12|0;e=O[d+4|0]|O[d+5|0]<<8;j=(e<<8|e>>>8)&65535;if(j>>>0<=15){a=275552;if(!e){break b}e=0;f=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>=b>>>0&(f|0)==(i|0)){break c}while(1){e=e+1|0;if((j|0)==(e|0)){break b}f=g+(e<<4)|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>>0|(f|0)!=(i|0)){continue}break}break c}a=275552;if(!e){break b}h=j-1|0;while(1){e=h+m>>>1|0;f=g+(e<<4)|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);k=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>>0;i:{if(!(k|(f|0)==(i|0))){h=e-1|0;break i}if(!k&(f|0)==(i|0)){break c}m=e+1|0}if((h|0)>=(m|0)){continue}break}break b}ba(23506,14099,260,16403);F()}if(e>>>0>=j>>>0){break b}a=((e<<4)+d|0)+12|0}b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=Cl(N[c>>2],(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+l|0,a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}return d|0}function bj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{f=N[b+4>>2];b:{if(f>>>0>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break b}d=N[b+12>>2];c=d-8|0;N[b+12>>2]=c;if(((O[a|0]|O[a+1|0]<<8)&65279)!=512|(c|0)<=0){break b}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break b}c=d-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}h=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);d=TE(i,0,48,0);if(Pa){break b}if(d){k=a+8|0;if(k>>>0>e>>>0|d>>>0>e-k>>>0){break b}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break b}}if(!h){return 1}p=i>>>0<=1?1:i;k=0;while(1){h=T(k,48)+a|0;d=h+8|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<48){break a}i=c-48|0;N[b+12>>2]=i;if((i|0)<=0){break a}j=c-52|0;N[b+12>>2]=j;if((j|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(d&128){break a}c=O[h+16|0]|O[h+17|0]<<8|(O[h+18|0]<<16|O[h+19|0]<<24);m=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(m>>>0>536870911){break a}i=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+a|0;c:{d=m<<3;if(!d){break c}if(e>>>0>>0|f>>>0>i>>>0|d>>>0>e-i>>>0){break a}d=j-d|0;N[b+12>>2]=d;if((d|0)>0){break c}break a}n=0;j=0;if(c){while(1){g=N[b+4>>2];e=i+(j<<3)|0;if(g>>>0>e>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<8){break b}f=N[b+12>>2];c=f-8|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e+2|0]|O[e+3|0]<<8;l=(c<<8|c>>>8)&65535;c=O[e|0]|O[e+1|0]<<8;o=(c<<8|c>>>8)&65535;if(l>>>0>>0){break b}e=e+4|0;if(e>>>0>d>>>0|d-e>>>0<4){break b}c=f-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d:{if(!c){break d}if(c&128){break b}c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;e:{if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<8){break e}g=f-20|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=l-o|0;f:{g:{l=O[c|0]|O[c+1|0]<<8;switch(((l<<8|l>>>8)&65535)-1|0){case 2:break f;case 0:break g;default:break d}}f=f-28|0;N[b+12>>2]=f;if((f|0)<=0){break e}g=g+2|0;if(g>>>0>1073741823){break e}if(!g){break d}c=c+8|0;if(c>>>0>d>>>0){break e}c=d-c|0;d=g<<2;if(c>>>0>>0){break e}d=f-d|0;N[b+12>>2]=d;if((d|0)>0){break d}break e}f=f-28|0;N[b+12>>2]=f;if((g|0)<-2|(f|0)<=0){break e}g=(g<<1)+4|0;if(!g){break d}c=c+8|0;if(c>>>0>d>>>0|g>>>0>d-c>>>0){break e}d=f-g|0;N[b+12>>2]=d;if((d|0)>0){break d}}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}j=j+1|0;if((m|0)!=(j|0)){continue}break}f=N[b+4>>2]}d=h+24|0;if(d>>>0>>0){break b}e=N[b+8>>2];if(d>>>0>e>>>0|e-d>>>0<12){break b}d=N[b+12>>2];c=d-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=h+36|0;if(c>>>0>e>>>0|e-c>>>0<12){break b}c=d-24|0;N[b+12>>2]=c;n=(c|0)>0;if((c|0)<=0){break b}k=k+1|0;if((p|0)!=(k|0)){continue}break}}return n}return 0}function Dm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;G(b,0,196);f=O[a+188|0];L[b+8|0]=f;a:{if(!f){break a}if(f>>>0>=4){h=f&252;d=b+12|0;g=a+192|0;while(1){M[d+(c<<1)>>1]=N[g+(c<<2)>>2];i=c|1;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];i=c|2;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];i=c|3;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];c=c+4|0;if((h|0)!=(c|0)){continue}break}}d=f&3;if(!d){break a}f=0;while(1){M[((c<<1)+b|0)+12>>1]=N[((c<<2)+a|0)+192>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+189|0];L[b+9|0]=d;b:{if(!d){break b}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+40|0;h=a+248|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break b}while(1){M[((c<<1)+b|0)+40>>1]=N[((c<<2)+a|0)+248>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+190|0];L[b+10|0]=d;c:{if(!d){break c}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+60|0;h=a+288|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break c}while(1){M[((c<<1)+b|0)+60>>1]=N[((c<<2)+a|0)+288>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+191|0];L[b+11|0]=d;d:{if(!d){break d}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+88|0;h=a+344|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break d}while(1){M[((c<<1)+b|0)+88>>1]=N[((c<<2)+a|0)+344>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}N[b+108>>2]=N[a+384>>2];N[b+112>>2]=N[a+388>>2];N[b+116>>2]=N[a+392>>2];M[b+120>>1]=N[a+396>>2];M[b+122>>1]=N[a+400>>2];d=O[a+404|0];L[b+124|0]=d;e:{if(!d){break e}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+128|0;h=a+408|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break e}while(1){M[((c<<1)+b|0)+128>>1]=N[((c<<2)+a|0)+408>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+405|0];L[b+125|0]=d;f:{if(!d){break f}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+154|0;h=a+460|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break f}while(1){M[((c<<1)+b|0)+154>>1]=N[((c<<2)+a|0)+460>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}L[b+126|0]=O[a+512|0];N[b+184>>2]=N[a+524>>2];N[b+4>>2]=N[a+520>>2]}function qp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(!(O[a+16|0]&8)){e=T(c,204)+b|0;h=N[e+204>>2];p=N[e+200>>2];e=p>>31;l=N[a>>2];g=l>>31;j=(e^p)-e|0;t=j>>>8|0;e=(g^l)-g|0;a:{if(t+e>>>0<=8190){g=T(e,j)+32768>>>16|0;break a}g=e&65535;g=T(g,j>>>16|0)+T(e>>>16|0,j)+(T(g,j&65535)+32768>>>16)|0}e=g;m=0-e|0;e=l>>31|1;g=h+((((p|0)<0?0-e|0:e)|0)<0?m:g)|0;o=N[a+4>>2];e=o>>31;e=(e^o)-e|0;b:{if(e+t>>>0<=8190){h=T(e,j)+32768>>>16|0;break b}f=e&65535;h=T(f,j>>>16|0)+T(e>>>16|0,j)+(T(f,j&65535)+32768>>>16)|0}e=h;m=0-e|0;e=o>>31|1;f=(((p|0)<0?0-e|0:e)|0)<0?m:h;c:{d:{e:{f:{g:{switch(c|0){case 1:if(O[d+121|0]){break f}break d;case 0:if(!O[d+120|0]){break d}k=O[d+122|0]!=0;break;default:break g}}N[a+12>>2]=f;break e}u=O[d+123|0];N[a+12>>2]=f;q=O[b+2492|0];h=2;e=N[b+412>>2];h:{i:{if(!e){break i}k=l+o|0;i=b+416|0;n=N[b+2488>>2];r=0-n|0;while(1){s=k-N[i+12>>2]|0;if((s|0)<(r|0)){break i}if((k|0)<=(n+N[i+8>>2]|0)){if(!q){e=0;if((s|0)>N[b+2484>>2]){break h}}v=N[i+16>>2];h=3;e=1;break h}i=i+32|0;e=e-1|0;if(e){continue}break}}e=0}k=N[b+928>>2];j:{if(!k){n=0;break j}n=0;r=N[b+2488>>2];s=0-r|0;i=((k<<5)+b|0)+932|0;while(1){m=N[i-24>>2]-l|0;if((s|0)>(m|0)){break j}if((N[i-20>>2]-r|0)>(l|0)){i=i-32|0;k=k-1|0;if(k){continue}break j}break}if(!q&N[b+2484>>2]<=(m|0)){break j}n=N[i-16>>2];e=h}k=(u|0)!=0;k:{switch(e-1|0){case 1:N[a+8>>2]=n;if(!u){break c}N[a+12>>2]=(f|0)<64?64:f+32&-64;break c;case 2:N[a+8>>2]=n;N[a+12>>2]=v-n;break c;case 0:break k;default:break e}}N[a+8>>2]=v-f;if(!u){break c}b=(f|0)<64?64:f+32&-64;N[a+12>>2]=b;N[a+8>>2]=v-b;break c}e=N[a+20>>2];if(e){if(!(O[e+16|0]&8)){qp(e,b,c,d);o=N[a+4>>2];l=N[a>>2]}q=(N[e+8>>2]-(f>>1)|0)+(N[e+12>>2]>>1)|0;g=(l-(N[e>>2]+(N[e+4>>2]>>1)|0)|0)+(o>>1)|0;e=g>>31;e=(e^g)-e|0;l:{if(e+t>>>0<=8190){h=T(e,j)+32768>>>16|0;break l}i=e&65535;h=T(i,j>>>16|0)+T(e>>>16|0,j)+(T(i,j&65535)+32768>>>16)|0}e=h;m=0-e|0;e=g>>31|1;g=q+((((p|0)<0?0-e|0:e)|0)<0?m:h)|0}m:{if(!O[d+124|0]){break m}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;f=64;break m}b=g+32&-64;if((f|0)<=0){g=b;break m}e=b-g|0;c=e>>31;d=f+g|0;g=d+32&-64;h=g-d|0;d=h>>31;g=(c^e)-c>>>0>(d^h)-d>>>0?g:b;break m}b=N[(T(c,204)+b|0)+12>>2];d=f-b|0;c=d>>31;f=(c^d)-c>>>0<40?(b|0)<=48?48:b:f;if(f>>>0<=191){b=f&63;if(b>>>0<10){break m}c=f&-64;if(b>>>0<=31){f=c|10;break m}f=b>>>0<54?c|54:f;break m}f=f+32&-64}N[a+12>>2]=f;b=(g+32&-64)-g|0;c=b>>31;d=f+g|0;d=(d+32&-64)-d|0;e=d>>31;c=((b^c)-c>>>0>(d^e)-e>>>0?d:b)+g|0;N[a+8>>2]=c;if(!k){break c}d=(f|0)<64?64:f+32&-64;b=d>>1;N[a+12>>2]=d;N[a+8>>2]=(d&64?b+c&-64|32:(b+c|0)+32&-64)-b;break c}N[a+12>>2]=f;N[a+8>>2]=g}N[a+16>>2]=N[a+16>>2]|8}}function eh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}g=N[b+8>>2];if(g>>>0>>0|g-a>>>0<2){break b}d=N[b+12>>2];c=d-2|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=a+2|0;if(c>>>0>g>>>0|g-c>>>0<2){break b}d=d-4|0;N[b+12>>2]=d;if((d|0)<=0){break b}f=1;c=O[c|0]|O[c+1|0]<<8;if(!c){break b}c=(c<<8|c>>>8)&65535;n=c>>>0<=1?1:c;o=c-1|0;a=a+4|0;c:{while(1){if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<6){break c}c=d-6|0;N[b+12>>2]=c;if((c|0)<=0){break c}c=N[b+32>>2];i=N[c+12>>2];N[b+4>>2]=i;c=N[c+16>>2];g=c+i|0;N[b+8>>2]=g;if((c|0)<0){break a}d:{e:{if(m>>>0>>0){if(!(a>>>0>>0&a>>>0>=i>>>0)){N[b+4>>2]=0;N[b+8>>2]=0;c=0;f=0;break e}N[b+4>>2]=a;c=g-a|0;f=O[a+2|0]|O[a+3|0]<<8;f=(f<<8|f>>>8)&65535;f=(c>>>0>>0?c:f)+a|0;N[b+8>>2]=f;c=a;break e}f=g;c=i;if(c>>>0>a>>>0){break d}}if(a>>>0>f>>>0){break d}k=f-a|0;if(k>>>0<6){break d}d=d-12|0;N[b+12>>2]=d;if((d|0)<=0){break d}e=O[a+2|0]|O[a+3|0]<<8;l=(e<<8|e>>>8)&65535;if(l>>>0<6|k>>>0>>0){break d}d=d-l|0;N[b+12>>2]=d;if((d|0)<=0){break d}f:{g:{switch(O[a+4|0]){case 0:e=a+6|0;if(e>>>0>f>>>0|f-e>>>0<8){break d}c=d-8|0;N[b+12>>2]=c;if((d|0)<9){break d}d=O[e|0]|O[e+1|0]<<8;if(!d){d=c;break f}e=a+14|0;if(e>>>0>f>>>0){break d}j=f-e|0;f=T((d<<8|d>>>8)&65535,6);if(j>>>0>>0){break d}d=c-f|0;N[b+12>>2]=d;if((d|0)>0){break f}break d;case 2:break g;default:break f}}if(k>>>0<14){break d}e=d-14|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=a+8|0;if(e>>>0>f>>>0|f-e>>>0<2){break d}e=d-16|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[a+8|0]|O[a+9|0]<<8;h=((e<<8|e>>>8)&65535)+a|0;if(h>>>0>>0|f>>>0>>0|f-h>>>0<4){break d}e=d-20|0;N[b+12>>2]=e;if((e|0)<=0){break d}j=h+2|0;if(j>>>0>f>>>0|f-j>>>0<2){break d}e=d-22|0;N[b+12>>2]=e;if((e|0)<=0){break d}d=O[j|0]|O[j+1|0]<<8;if(d){h=h+4|0;if(h>>>0>f>>>0){break d}d=((d<<8|d>>>8)&65535)<<1;if(d>>>0>f-h>>>0){break d}e=e-d|0;N[b+12>>2]=e;if((e|0)<=0){break d}}d=a+10|0;if(d>>>0>f>>>0|f-d>>>0<2){break d}N[b+12>>2]=e-2;if((e|0)<3){break d}d=c;c=O[a+10|0]|O[a+11|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(d>>>0>c>>>0|c>>>0>f>>>0|f-c>>>0<4){break d}N[b+12>>2]=e-6;if((e|0)<7){break d}h=c+2|0;if(h>>>0>f>>>0|f-h>>>0<2){break d}d=e-8|0;N[b+12>>2]=d;if((e|0)<9){break d}e=O[h|0]|O[h+1|0]<<8;if(e){c=c+4|0;if(c>>>0>f>>>0){break d}f=f-c|0;c=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}c=O[a+12|0]|O[a+13|0]<<8;if(!c){break f}c=(c<<8|c>>>8)&65535;if(c>>>0>k>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}N[b+8>>2]=g;N[b+4>>2]=i;a=a+l|0;f=1;m=m+1|0;if((n|0)==(m|0)){break b}continue}break}N[b+8>>2]=g;N[b+4>>2]=i}f=0}return f}ba(16656,14279,195,9642);F()}function gt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=La-16|0;La=f;l=N[a+100>>2];N[f+8>>2]=0;d=Qa[N[a+516>>2]](a,1129333068,b,f+4|0)|0;N[f+12>>2]=d;a:{b:{if(d){break b}c=N[f+4>>2];c:{if(c>>>0<12){break c}d=dc(b,c,f+8|0);N[f+12>>2]=d;if(d){break b}i=N[f+8>>2];e=Qa[N[l+4>>2]](l,20)|0;if(!e){d=64;N[f+12>>2]=64;e=0;break b}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+16|0]=0;L[e+17|0]=0;L[e+18|0]=0;L[e+19|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;N[f+12>>2]=0;c=O[i|0]|O[i+1|0]<<8;c=c<<8|c>>>8;M[e>>1]=c;j=c&65535;if(j>>>0>1){break c}c=O[i+2|0]|O[i+3|0]<<8;g=c<<8|c>>>8;M[a+660>>1]=g;c=O[i+4|0]|O[i+5|0]<<8;d=c<<8|c>>>8;M[a+648>>1]=d;c=O[i+6|0]|O[i+7|0]<<8;k=c<<8|c>>>8;M[e+2>>1]=k;c=N[f+4>>2];m=d&65535;h=m<<1;if(c>>>0>>0){break c}d=O[i+8|0]|O[i+9|0]<<8|(O[i+10|0]<<16|O[i+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>=c>>>0){break c}k=k&65535;if(c-d>>>0>>0|k>>>0<(g&65535)>>>0){break c}g=i+12|0;N[e+8>>2]=g;N[e+4>>2]=d+i;d:{if((j|0)!=1){break d}if(h+24>>>0>c>>>0){break c}d=g+h|0;j=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);g=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);k=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(k){if(c>>>0<=k>>>0|h>>>0>c-k>>>0){break c}h=lb(l,2,0,m,0,f+12|0);d=N[f+12>>2];if(d){break b}c=P[a+648>>1];if(c){m=h+(c<<1)|0;d=i+k|0;c=h;while(1){k=O[d|0]|O[d+1|0]<<8;M[c>>1]=k<<8|k>>>8;d=d+2|0;c=c+2|0;if(m>>>0>c>>>0){continue}break}}N[a+656>>2]=h;c=N[f+4>>2]}g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(g){if(c>>>0<=g>>>0){break c}h=c-g|0;c=P[a+648>>1];if(h>>>0>>0){break c}h=lb(l,2,0,c,0,f+12|0);d=N[f+12>>2];if(d){break b}c=P[a+648>>1];if(c){k=h+(c<<1)|0;d=i+g|0;c=h;while(1){g=O[d|0]|O[d+1|0]<<8;M[c>>1]=g<<8|g>>>8;d=d+2|0;c=c+2|0;if(k>>>0>c>>>0){continue}break}}N[a+652>>2]=h;c=N[f+4>>2]}j=j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24);if(!j){break d}if(c>>>0<=j>>>0){break c}h=c-j|0;c=P[a+660>>1];if(h>>>0>>0){break c}h=lb(l,2,0,c,0,f+12|0);d=N[f+12>>2];if(d){break b}c=P[a+660>>1];if(c){g=h+(c<<1)|0;d=i+j|0;c=h;while(1){j=O[d|0]|O[d+1|0]<<8;M[c>>1]=j<<8|j>>>8;d=d+2|0;c=c+2|0;if(g>>>0>c>>>0){continue}break}}N[a+664>>2]=h;c=N[f+4>>2]}N[e+16>>2]=c;N[e+12>>2]=i;N[a+868>>2]=e;d=0;n=a,o=lb(l,4,0,P[a+660>>1],0,f+12|0),N[n+672>>2]=o;c=N[f+12>>2];if(c){d=c;break b}if(!Ol(a,0)){break a}}d=8;N[f+12>>2]=8}e:{if(!b|!N[b+20>>2]){break e}c=N[f+8>>2];if(!c){break e}b=N[b+28>>2];Qa[N[b+8>>2]](b,c)}N[f+8>>2]=0;if(e){Qa[N[l+8>>2]](l,e)}N[a+868>>2]=0}La=f+16|0;return d|0}function Vh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;N[a+4>>2]=c;N[a>>2]=b;N[a+416>>2]=N[c+124>>2];N[a+420>>2]=N[c+128>>2];N[a+428>>2]=N[c+136>>2];N[a+432>>2]=N[c+140>>2];N[a+424>>2]=N[c+132>>2];N[a+436>>2]=N[c+144>>2];N[a+216>>2]=N[c+120>>2];d=N[c+80>>2];N[a+248>>2]=N[c+76>>2];N[a+252>>2]=d;d=N[c+88>>2];N[a+256>>2]=N[c+84>>2];N[a+260>>2]=d;d=N[c+96>>2];N[a+264>>2]=N[c+92>>2];N[a+268>>2]=d;d=N[c+104>>2];N[a+272>>2]=N[c+100>>2];N[a+276>>2]=d;d=N[c+112>>2];N[a+280>>2]=N[c+108>>2];N[a+284>>2]=d;d=N[c+44>>2];f=N[d+4>>2];N[a+220>>2]=N[d>>2];N[a+224>>2]=f;f=N[d+12>>2];N[a+228>>2]=N[d+8>>2];N[a+232>>2]=f;f=N[d+20>>2];N[a+236>>2]=N[d+16>>2];N[a+240>>2]=f;N[a+244>>2]=N[d+24>>2];N[a+440>>2]=N[c+148>>2];N[a+444>>2]=N[c+152>>2];d=N[c+160>>2];N[a+464>>2]=N[c+156>>2];N[a+468>>2]=d;d=N[c+168>>2];N[a+472>>2]=N[c+164>>2];N[a+476>>2]=d;d=N[c+176>>2];N[a+480>>2]=N[c+172>>2];N[a+484>>2]=d;B(a+288|0,c+180|0,68);N[a+388>>2]=N[c+248>>2];N[a+392>>2]=N[c+252>>2];M[a+488>>1]=P[c+256>>1];N[a+492>>2]=N[c+260>>2];d=N[c+268>>2];N[a+180>>2]=N[c+264>>2];N[a+184>>2]=d;d=N[c+276>>2];N[a+188>>2]=N[c+272>>2];N[a+192>>2]=d;d=N[c+284>>2];N[a+196>>2]=N[c+280>>2];N[a+200>>2]=d;d=N[c+292>>2];N[a+204>>2]=N[c+288>>2];N[a+208>>2]=d;N[a+212>>2]=N[c+296>>2];G(a+36|0,0,108);e=N[a+8>>2];a:{b:{c=P[b+284>>1]+32|0;d=N[a+20>>2];c:{if(c>>>0<=d>>>0){c=d;break c}g=c<<2;h=d<<2;d:{if(!d){e=Qa[N[e+4>>2]](e,g)|0;f=!e<<6;break d}i=N[a+24>>2];f=Qa[N[e+12>>2]](e,h,g,i)|0;e=f?f:i;f=!f<<6}e:{if(!(f|!e)){G(e+h|0,0,g-h|0);N[a+24>>2]=e;break e}N[a+24>>2]=e;if(f){break b}}e=N[a+8>>2]}N[a+20>>2]=c;c=P[b+286>>1];b=N[a+408>>2];if(c>>>0<=b>>>0){c=b;break a}if((b|0)<0){N[a+408>>2]=b;return 6}f:{if(!b){e=Qa[N[e+4>>2]](e,c)|0;d=!e<<6;break f}f=N[a+412>>2];d=Qa[N[e+12>>2]](e,b,c,f)|0;e=d?d:f;d=!d<<6}if(!(d|(b|0)>=(c|0)|!e)){G(b+e|0,0,c-b|0);N[a+412>>2]=e;break a}N[a+412>>2]=e;if(!d){break a}N[a+408>>2]=b;return d}N[a+20>>2]=d;return f}N[a+408>>2]=c;N[a+152>>2]=0;N[a+104>>2]=N[a+176>>2];b=N[a+172>>2];N[a+96>>2]=N[a+168>>2];N[a+100>>2]=b;b=N[a+164>>2];N[a+88>>2]=N[a+160>>2];N[a+92>>2]=b;b=N[a+148>>2];N[a+72>>2]=N[a+144>>2];N[a+76>>2]=b;b=N[a+156>>2];N[a+80>>2]=N[a+152>>2];N[a+84>>2]=b;N[a+140>>2]=N[a+176>>2];b=N[a+172>>2];N[a+132>>2]=N[a+168>>2];N[a+136>>2]=b;b=N[a+164>>2];N[a+124>>2]=N[a+160>>2];N[a+128>>2]=b;b=N[a+156>>2];N[a+116>>2]=N[a+152>>2];N[a+120>>2]=b;b=N[a+148>>2];N[a+108>>2]=N[a+144>>2];N[a+112>>2]=b;N[a+68>>2]=N[a+176>>2];b=N[a+172>>2];N[a+60>>2]=N[a+168>>2];N[a+64>>2]=b;b=N[a+164>>2];N[a+52>>2]=N[a+160>>2];N[a+56>>2]=b;b=N[a+156>>2];N[a+44>>2]=N[a+152>>2];N[a+48>>2]=b;b=N[a+148>>2];N[a+36>>2]=N[a+144>>2];N[a+40>>2]=b;L[a+520|0]=0;return 0}function we(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=La-288|0;La=e;a:{if(O[a+52|0]){L[a+52|0]=0;N[a+56>>2]=0;N[a+60>>2]=0;d=N[c+12>>2];N[a+88>>2]=N[c+8>>2];N[a+92>>2]=d;d=N[c+4>>2];N[a+80>>2]=N[c>>2];N[a+84>>2]=d;d=N[c+4>>2];N[a+64>>2]=N[c>>2];N[a+68>>2]=d;d=N[c+12>>2];N[a+72>>2]=N[c+8>>2];N[a+76>>2]=d;c=N[b+4>>2];N[a+96>>2]=N[b>>2];N[a+100>>2]=c;f=1;break a}k=S[a+80>>3];o=S[c>>3];l=S[a+88>>3];p=S[c+8>>3];m=k*o+l*p;if(m>S[a+112>>3]){m=1/(m+1);S[a+88>>3]=m*(l+p);S[a+80>>3]=(k+o)*m;f=1;break a}g=N[c+4>>2];N[a+80>>2]=N[c>>2];N[a+84>>2]=g;g=N[c+12>>2];N[a+88>>2]=N[c+8>>2];N[a+92>>2]=g;h=k*p-o*l;n=h<0?1:2;b:{if(!(n&d)){break b}q=n&(N[a+60>>2]^-1);j=l*S[a+24>>3];c:{if(V(j)<2147483648){g=~~j;break c}g=-2147483648}f=q&1;j=k*S[a+16>>3];d:{if(V(j)<2147483648){i=~~j;break d}i=-2147483648}r=N[b+4>>2];s=N[b>>2];if(f){N[e+164>>2]=g+r;N[e+160>>2]=i+s;t=N[a>>2];f=N[e+164>>2];N[e+112>>2]=N[e+160>>2];N[e+116>>2]=f;f=0;if(!Fb(t,e+112|0,1)){break a}}if(q>>>0>=2){N[e+164>>2]=r-g;N[e+160>>2]=s-i;g=N[a+4>>2];i=N[e+164>>2];N[e+104>>2]=N[e+160>>2];N[e+108>>2]=i;f=0;if(!Fb(g,e+104|0,1)){break a}}j=S[a+24>>3]*0;e:{if(V(j)<2147483648){g=~~j;break e}g=-2147483648}f=n&1;j=S[a+16>>3]*0;f:{if(V(j)<2147483648){i=~~j;break f}i=-2147483648}if(f){N[e+164>>2]=g+r;N[e+160>>2]=i+s;q=N[a>>2];f=N[e+164>>2];N[e+96>>2]=N[e+160>>2];N[e+100>>2]=f;f=0;if(!Fb(q,e+96|0,1)){break a}}if(h<0){break b}N[e+164>>2]=r-g;N[e+160>>2]=s-i;g=N[a+4>>2];i=N[e+164>>2];N[e+88>>2]=N[e+160>>2];N[e+92>>2]=i;f=0;if(!Fb(g,e+88|0,1)){break a}}N[a+60>>2]=n;d=(n^-1)&d;f=1;if(!d){break a}S[e+136>>3]=l;S[e+128>>3]=k;g=N[b+4>>2];N[e+120>>2]=N[b>>2];N[e+124>>2]=g;h=m;if(h<0){h=(d&2?-.7071067811865476:.7071067811865476)/aa(1-h);S[e+152>>3]=h*(k-o);S[e+144>>3]=h*(p-l);h=m*.5+.5;h=aa(h<0?0:h)}k=S[a+120>>3];g:{if(!(k>h)){b=15;break g}b=15;while(1){h=h+1;l=.7071067811865476/aa(h);S[(e+160|0)+(b<<3)>>3]=l;b=b-1|0;h=h*l;if(!(k>h)){break g}if(b){continue}break}}g=(e+160|0)+(b<<3)|0;S[g>>3]=1/(h+1);i=15-b|0;b=e+128|0;if(m<0){b=N[e+140>>2];N[e+72>>2]=N[e+136>>2];N[e+76>>2]=b;b=N[e+156>>2];N[e+56>>2]=N[e+152>>2];N[e+60>>2]=b;b=N[e+124>>2];N[e+80>>2]=N[e+120>>2];N[e+84>>2]=b;b=N[e+132>>2];N[e+64>>2]=N[e+128>>2];N[e+68>>2]=b;b=N[e+148>>2];N[e+48>>2]=N[e+144>>2];N[e+52>>2]=b;b=e+144|0;f=0;if(!Ad(a,e+80|0,e- -64|0,e+48|0,g,i,d)){break a}}f=N[e+124>>2];N[e+40>>2]=N[e+120>>2];N[e+44>>2]=f;f=N[b+12>>2];N[e+32>>2]=N[b+8>>2];N[e+36>>2]=f;f=N[b+4>>2];N[e+24>>2]=N[b>>2];N[e+28>>2]=f;b=N[c+12>>2];N[e+16>>2]=N[c+8>>2];N[e+20>>2]=b;b=N[c+4>>2];N[e+8>>2]=N[c>>2];N[e+12>>2]=b;f=Ad(a,e+40|0,e+24|0,e+8|0,g,i,d)}La=e+288|0;return f}function lE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=La-48|0;La=e;if(ib(c,b,11986,0)){r=Og(b,c,1,11,-1,-1);p=N[c+68>>2];if(p){i=p-1|0;l=N[c+80>>2];j=l+3|0;g=O[l+15|0];k=g;while(1){a:{if((d|0)==(i|0)){d=p;break a}d=d+1|0;if((k|0)==O[(j+T(d,20)|0)+12|0]){continue}}break}k=0;s=a;a=p;while(1){i=d;b:{if(g&14){break b}j=k+1|0;if(j>>>0>=d>>>0){break b}m=N[s+112>>2];g=N[m+8>>2]|N[m+4>>2]|N[m+12>>2];a=0;d=j;h=i+(k^-1)&3;if(h){while(1){n=T(d,20)+l|0;N[n+4>>2]=g|N[n+4>>2];d=d+1|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}if((i-k|0)-2>>>0>2){while(1){a=T(d,20)+l|0;N[a+4>>2]=g|N[a+4>>2];N[a+24>>2]=g|N[a+24>>2];N[a+44>>2]=g|N[a+44>>2];a=a- -64|0;N[a>>2]=g|N[a>>2];d=d+4|0;if((i|0)!=(d|0)){continue}break}}t=i-3|0;u=i+2|0;q=l+2|0;n=T(j,20)+l|0;h=T(k,20)+l|0;v=h+40|0;d=0;while(1){g=j;f=T(g,20);a=f+l|0;f=O[(f+q|0)+16|0];c:{if(!((f|0)!=4|d>>>0>2)){j=g+1|0;if(i>>>0<=j>>>0){break c}f=T(j,20);if(O[(f+q|0)+16|0]!=15){d=d+1|0;break c}N[a+4>>2]=N[a+4>>2]|N[m>>2];f=f+l|0;N[f+4>>2]=N[f+4>>2]|N[m>>2];d=g+2|0;if(d-k>>>0>=2){Ib(c,k,d)}N[e+40>>2]=N[a+16>>2];o=N[a+12>>2];N[e+32>>2]=N[a+8>>2];N[e+36>>2]=o;o=N[a+4>>2];N[e+24>>2]=N[a>>2];N[e+28>>2]=o;N[e+16>>2]=N[f+16>>2];a=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=a;a=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=a;B(v,h,T(g-k|0,20));N[h+16>>2]=N[e+40>>2];a=N[e+36>>2];N[h+8>>2]=N[e+32>>2];N[h+12>>2]=a;a=N[e+28>>2];N[h>>2]=N[e+24>>2];N[h+4>>2]=a;N[n+16>>2]=N[e+16>>2];a=N[e+12>>2];N[n+8>>2]=N[e+8>>2];N[n+12>>2]=a;a=N[e+4>>2];N[n>>2]=N[e>>2];N[n+4>>2]=a;d:{if(!N[m+16>>2]|d>>>0>=i>>>0){break d}a=0;f=u-g&3;if(f){while(1){o=T(d,20)+l|0;N[o+4>>2]=N[o+4>>2]|N[m+16>>2];d=d+1|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}}if(t-g>>>0<3){break d}while(1){a=T(d,20)+l|0;N[a+4>>2]=N[a+4>>2]|N[m+16>>2];N[a+24>>2]=N[a+24>>2]|N[m+16>>2];N[a+44>>2]=N[a+44>>2]|N[m+16>>2];a=a- -64|0;N[a>>2]=N[a>>2]|N[m+16>>2];d=d+4|0;if((i|0)!=(d|0)){continue}break}}d=2;break c}j=g+1|0;if((f|0)!=22){break c}if(j-k>>>0>=2){Ib(c,k,j)}N[e+40>>2]=N[a+16>>2];f=N[a+12>>2];N[e+32>>2]=N[a+8>>2];N[e+36>>2]=f;f=N[a+4>>2];N[e+24>>2]=N[a>>2];N[e+28>>2]=f;B(n,h,T(g-k|0,20));N[h+16>>2]=N[e+40>>2];a=N[e+36>>2];N[h+8>>2]=N[e+32>>2];N[h+12>>2]=a;a=N[e+28>>2];N[h>>2]=N[e+24>>2];N[h+4>>2]=a}if((i|0)!=(j|0)){continue}break}l=N[c+80>>2];a=N[c+68>>2]}d=i+1|0;j=a>>>0>d>>>0?a:d;k=j-1|0;h=l+3|0;g=O[(T(i,20)+l|0)+15|0];d=i;while(1){e:{if((d|0)==(k|0)){d=j;break e}d=d+1|0;if(O[(h+T(d,20)|0)+12|0]==(g|0)){continue}}break}k=i;if(i>>>0

>>0){continue}break}}ib(c,b,12009,0)}a=O[c+140|0];if(a&64){L[c+140|0]=a&191;La=e+48|0;return r|0}ba(22742,14165,187,12136);F()}function ff(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,N=0,O=0,Q=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;g=La-48|0;l=f<<1;o=l+c|0;a:{if(!o){break a}if(!d){while(1){h=h+8|0;if(o>>>0>h>>>0){continue}break a}}p=T(c+7&-8,d);h=l+7|0;c=h>>>3|0;Z=1-c|0;q=d<<3;r=0-c|0;_=T(q,r);$=h&8;aa=0-f|0;i=g+32|0;l=i+(r<<4)|0;I=i-(f<<1)|0;s=7-f|0;J=(s<<1)+i|0;t=6-f|0;K=(t<<1)+i|0;u=5-f|0;L=(u<<1)+i|0;v=4-f|0;N=(v<<1)+i|0;w=3-f|0;O=(w<<1)+i|0;x=2-f|0;Q=(x<<1)+i|0;y=1-f|0;R=(y<<1)+i|0;while(1){z=0;while(1){h=r;if(!$){c=n+_|0;g=c>>>0>=p>>>0?440592:(c<<1)+b|0;h=P[g+4>>1]|P[g+6>>1]<<16;c=P[g>>1]|P[g+2>>1]<<16;M[l>>1]=c;M[l+2>>1]=c>>>16;M[l+4>>1]=h;M[l+6>>1]=h>>>16;h=P[g+12>>1]|P[g+14>>1]<<16;c=P[g+8>>1]|P[g+10>>1]<<16;M[l+8>>1]=c;M[l+10>>1]=c>>>16;M[l+12>>1]=h;M[l+14>>1]=h>>>16;h=Z}while(1){g=T(h,q)+n|0;j=g>>>0>=p>>>0?440592:(g<<1)+b|0;k=P[j+4>>1]|P[j+6>>1]<<16;c=(h<<4)+i|0;g=P[j>>1]|P[j+2>>1]<<16;M[c>>1]=g;M[c+2>>1]=g>>>16;M[c+4>>1]=k;M[c+6>>1]=k>>>16;k=P[j+12>>1]|P[j+14>>1]<<16;g=P[j+8>>1]|P[j+10>>1]<<16;M[c+8>>1]=g;M[c+10>>1]=g>>>16;M[c+12>>1]=k;M[c+14>>1]=k>>>16;j=h+1|0;c=(j<<4)+i|0;g=T(j,q)+n|0;m=g>>>0>=p>>>0?440592:(g<<1)+b|0;k=P[m+12>>1]|P[m+14>>1]<<16;g=P[m+8>>1]|P[m+10>>1]<<16;M[c+8>>1]=g;M[c+10>>1]=g>>>16;M[c+12>>1]=k;M[c+14>>1]=k>>>16;k=P[m+4>>1]|P[m+6>>1]<<16;g=P[m>>1]|P[m+2>>1]<<16;M[c>>1]=g;M[c+2>>1]=g>>>16;M[c+4>>1]=k;M[c+6>>1]=k>>>16;h=h+2|0;if(j){continue}break}S=M[J>>1];U=M[K>>1];V=M[L>>1];W=M[N>>1];X=M[O>>1];m=M[Q>>1];j=M[R>>1];k=M[I>>1];A=32768;B=32768;C=32768;D=32768;E=32768;F=32768;G=32768;H=32768;h=f;while(1){c=h-1|0;g=M[(c<<1)+e>>1];A=T(g,(P[(h+s<<1)+i>>1]-S<<16>>16)+(P[(s-h<<1)+i>>1]-S<<16>>16)|0)+A|0;B=T(g,(P[(h+t<<1)+i>>1]-U<<16>>16)+(P[(t-h<<1)+i>>1]-U<<16>>16)|0)+B|0;C=T(g,(P[(h+u<<1)+i>>1]-V<<16>>16)+(P[(u-h<<1)+i>>1]-V<<16>>16)|0)+C|0;D=T(g,(P[(h+v<<1)+i>>1]-W<<16>>16)+(P[(v-h<<1)+i>>1]-W<<16>>16)|0)+D|0;E=T(g,(P[(h+w<<1)+i>>1]-X<<16>>16)+(P[(w-h<<1)+i>>1]-X<<16>>16)|0)+E|0;F=T(g,(P[(h+x<<1)+i>>1]-m<<16>>16)+(P[(x-h<<1)+i>>1]-m<<16>>16)|0)+F|0;G=T(g,(P[(h+y<<1)+i>>1]-j<<16>>16)+(P[(y-h<<1)+i>>1]-j<<16>>16)|0)+G|0;H=T(g,(P[(h-f<<1)+i>>1]-k<<16>>16)+(P[(aa-h<<1)+i>>1]-k<<16>>16)|0)+H|0;g=(h|0)>1;h=c;if(g){continue}break}M[a>>1]=P[I>>1]+(H>>>16|0);M[a+2>>1]=P[R>>1]+(G>>>16|0);M[a+4>>1]=P[Q>>1]+(F>>>16|0);M[a+6>>1]=P[O>>1]+(E>>>16|0);M[a+8>>1]=P[N>>1]+(D>>>16|0);M[a+10>>1]=P[L>>1]+(C>>>16|0);M[a+12>>1]=P[K>>1]+(B>>>16|0);M[a+14>>1]=P[J>>1]+(A>>>16|0);n=n+8|0;a=a+16|0;z=z+1|0;if((z|0)!=(d|0)){continue}break}Y=Y+8|0;if(Y>>>0>>0){continue}break}}}function Tu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[a+492>>2];h=N[b+8>>2];Qa[N[b+28>>2]](b);d=N[b>>2];if(h>>>0<=d>>>0){N[b+12>>2]=3;return}a:{b:{c:{j=O[d|0];if(!((j|0)!=91&j-48>>>0>9)){e=N[b+16>>2];if((j|0)==91){N[b>>2]=d+1;f=256;break c}f=Qa[N[b+36>>2]](b)|0;if((f|0)<257){break c}N[b+12>>2]=3;return}d:{if(d+17>>>0>=h>>>0){break d}if(bb(d,14716,16)){break d}N[a+368>>2]=2;return}e:{if(d+15>>>0>=h>>>0){break e}if(bb(d,14701,14)){break e}N[a+368>>2]=4;return}f:{if(d+18>>>0>=h>>>0){break f}if(bb(d,14733,17)){break f}N[a+368>>2]=3;return}N[b+12>>2]=162;break b}Qa[N[b+28>>2]](b);if(Q[b>>2]>=h>>>0){break b}i=b+92|0;g=a;a=a+384|0;c=N[a>>2];g:{if(!c){break g}Qa[N[e+8>>2]](e,c);N[g+384>>2]=0;c=N[g+388>>2];if(c){Qa[N[e+8>>2]](e,c)}N[g+388>>2]=0;c=N[b+140>>2];if(!c){break g}Qa[c|0](i)}N[g+372>>2]=f;N[b+88>>2]=f;if((f|0)<0){N[g+384>>2]=0;N[b+12>>2]=6;return}h:{i:{j:{k:{l:{m:{n:{if(f){if((f|0)>1073741823){break l}c=f<<1;a=Qa[N[e+4>>2]](e,c)|0;if(a?(f|0)>0:0){break n}N[g+384>>2]=a;if(a){break m}N[b+12>>2]=!a<<6;return}c=0;N[g+384>>2]=0;break j}G(a,0,c);N[g+384>>2]=a}if((f|0)<536870912){break k}a=g+388|0}N[a>>2]=0;N[b+12>>2]=10;return}a=f<<2;c=Qa[N[e+4>>2]](e,a)|0;if(!c|(f|0)<=0){break i}G(c,0,a)}N[g+388>>2]=c;break h}N[g+388>>2]=c;if(c){break h}a=!c<<6;break a}a=Qa[N[N[k>>2]>>2]](i,f,e)|0;if(a){break a}o:{if((f|0)<=0){break o}e=0;a=0;if(f>>>0>=4){c=f&-4;while(1){Qa[N[b+136>>2]](i,a,15265,8)|0;Qa[N[b+136>>2]](i,a|1,15265,8)|0;Qa[N[b+136>>2]](i,a|2,15265,8)|0;Qa[N[b+136>>2]](i,a|3,15265,8)|0;a=a+4|0;if((c|0)!=(a|0)){continue}break}}c=f&3;if(!c){break o}while(1){Qa[N[b+136>>2]](i,a,15265,8)|0;a=a+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}Qa[N[b+28>>2]](b);a=N[b>>2];p:{if(h>>>0<=a>>>0){break p}k=(j|0)==91;c=0;while(1){q:{r:{s:{e=O[a|0];switch(e-93|0){case 0:break r;case 7:break s;default:break q}}d=a+3|0;if(O[a+1|0]!=101|h>>>0<=d>>>0|O[a+2|0]!=102){break q}switch(O[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break p;default:break q}}d=a+1|0;break p}t:{u:{if(!(!k&e-48>>>0>9)){if(k){d=a;e=c;break u}e=Qa[N[b+36>>2]](b)|0;Qa[N[b+28>>2]](b);d=N[b>>2];if((d|0)!=(a|0)){break u}N[b+12>>2]=2;return}Qa[N[b+32>>2]](b);d=a;if(N[b+12>>2]){break b}break t}if(!(O[d|0]!=47|d+2>>>0>=h>>>0|(c|0)>=(f|0))){d=d+1|0;N[b>>2]=d;Qa[N[b+32>>2]](b);a=N[b>>2];if(N[b+12>>2]|a>>>0>=h>>>0){break b}a=a-d|0;l=Qa[N[b+136>>2]](i,e,d,a+1|0)|0;N[b+12>>2]=l;if(l){break b}L[a+N[N[b+116>>2]+(e<<2)>>2]|0]=0;c=c+1|0;break t}if((j|0)!=91){break t}N[b+12>>2]=2;return}Qa[N[b+28>>2]](b);a=N[b>>2];if(h>>>0>a>>>0){continue}break}}N[g+368>>2]=1;N[b>>2]=d;return}return}N[b+12>>2]=a}function Hv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=La-1536|0;La=e;h=6;g=N[a+4>>2];a:{if(Q[g+16>>2]<=c>>>0){break a}l=N[g+136>>2];N[a+164>>2]=N[b+16>>2];N[a+168>>2]=N[b+20>>2];p=d&1024?d|3:d;n=p&1;L[a+161|0]=!n;d=!(p&3);L[a+160|0]=d;N[a+108>>2]=0;N[a+72>>2]=1869968492;i=e+20|0;h=Qa[N[N[l+12>>2]>>2]](i,g,b,a,0,0,d,p>>>16&15,155)|0;if(h){break a}f=p&1024;L[e+89|0]=f>>>10;h=um(i,c);if(!h){k=O[a+161|0];h=O[a+160|0];d=e+1408|0;c=N[d+4>>2];N[e+8>>2]=N[d>>2];N[e+12>>2]=c;c=N[e+1404>>2];N[e>>2]=N[e+1400>>2];N[e+4>>2]=c;j=N[e+1420>>2];o=N[e+1416>>2];Qa[N[N[l+12>>2]+4>>2]](i);i=N[a+124>>2]&1;N[a+124>>2]=i|4;if(f){b=N[e+52>>2];N[a+32>>2]=((b>>31)+b|0)+32768>>16;b=N[e+60>>2];N[a+40>>2]=((b>>31)+b|0)+32768>>16;i=N[e+8>>2];d=N[e+12>>2];c=N[e>>2];b=N[e+4>>2];a=N[a+156>>2];N[a+28>>2]=o;N[a+32>>2]=j;L[a+8|0]=1;N[a+20>>2]=i;N[a+24>>2]=d;N[a+12>>2]=c;N[a+16>>2]=b;h=0;break a}c=N[e+60>>2];f=((c>>31)+c|0)+32768>>16;N[a+56>>2]=f;N[a+40>>2]=f;L[N[a+156>>2]+8|0]=0;d=N[g+200>>2];c=N[g+208>>2];N[a+72>>2]=1869968492;m=c-d>>16;N[a+60>>2]=m;N[a+52>>2]=m;if(P[b+14>>1]<=23){N[a+124>>2]=i|260}b=a+108|0;b:{if(!(N[e+4>>2]|(N[e>>2]!=65536|N[e+12>>2]!=65536))){if(!N[e+8>>2]){break b}}jg(b,e);f=qb(N[a+40>>2],N[e>>2]);N[a+40>>2]=f;m=qb(N[a+52>>2],N[e+12>>2]);N[a+52>>2]=m}if(j|o){se(b,o,j);f=o+N[a+40>>2]|0;N[a+40>>2]=f;m=j+N[a+52>>2]|0;N[a+52>>2]=m}if(!(k?0:n)){s=N[a+168>>2];t=N[a+164>>2];c:{if(N[e+92>>2]?h:0){break c}h=N[e+36>>2];b=M[h+2>>1];if((b|0)<=0){break c}b=b&65535;c=s>>31;q=(c^s)-c|0;o=q&65535;l=q>>>16|0;n=q>>>8|0;c=t>>31;r=(c^t)-c|0;k=r&65535;i=r>>>16|0;d=r>>>8|0;h=N[h+4>>2];while(1){j=N[h>>2];c=j>>31;g=(c^j)-c|0;d:{if(g+d>>>0<=8190){g=T(g,r)+32768>>>16|0;break d}c=g&65535;g=T(c,i)+T(r,g>>>16|0)+(T(c,k)+32768>>>16)|0}c=g;u=0-c|0;c=j>>31|1;N[h>>2]=(((t|0)<0?0-c|0:c)|0)<0?u:g;j=N[h+4>>2];c=j>>31;g=(c^j)-c|0;e:{if(g+n>>>0<=8190){g=T(g,q)+32768>>>16|0;break e}c=g&65535;g=T(c,l)+T(q,g>>>16|0)+(T(c,o)+32768>>>16)|0}c=g;u=0-c|0;c=j>>31|1;N[h+4>>2]=(((s|0)<0?0-c|0:c)|0)<0?u:g;h=h+8|0;c=b>>>0>1;b=b-1|0;if(c){continue}break}}v=a,w=qb(f,t),N[v+40>>2]=w;m=qb(m,s);N[a+52>>2]=m}h=0;d=0;i=0;b=0;c=0;k=M[a+110>>1];f:{if(!k){break f}f=N[a+112>>2];b=N[f+4>>2];c=N[f>>2];if((k|0)<2){d=b;i=c;break f}n=(k<<3)+f|0;k=f+8|0;i=c;d=b;while(1){l=N[f+12>>2];d=(d|0)<(l|0)?l:d;b=(b|0)>(l|0)?l:b;f=N[f+8>>2];i=(f|0)>(i|0)?f:i;c=(c|0)>(f|0)?f:c;f=k;k=f+8|0;if(n>>>0>k>>>0){continue}break}}N[a+36>>2]=d;N[a+32>>2]=c;N[a+28>>2]=d-b;N[a+24>>2]=i-c;if(!(p&16)){break a}tn(a+24|0,m);break a}Qa[N[N[l+12>>2]+4>>2]](e+20|0)}La=e+1536|0;return h|0}function pq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=La-32|0;La=d;N[d>>2]=0;a=N[b+96>>2];e=N[a+28>>2];f=N[b+100>>2];a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}o=Qa[e|0](b,f,32,d,a)|0;N[c+72>>2]=0;M[c+62>>1]=256;l=N[c+80>>2];N[c+84>>2]=l;k=N[c+68>>2];a=T(k,20);if(a){G(N[c+88>>2],0,a);l=N[c+80>>2];k=N[c+68>>2]}m=N[c+40>>2];a:{b:{c:{d:{if(k){n=N[c+88>>2];a=0;p=(m&-2)!=4;while(1){i=T(a,20);g=i+l|0;e=N[g>>2];e:{f:{if(!o){break f}if(!Cj(e)){break f}N[g>>2]=N[d>>2];e=i+n|0;N[e>>2]=0;N[e+4>>2]=0;break e}N[g>>2]=0;f=N[b+96>>2];h=N[f+28>>2];j=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}Qa[h|0](b,j,e,g,f)|0;f=N[g>>2];e=i+n|0;N[e>>2]=0;N[e+4>>2]=0;j=N[b+96>>2];h=N[j+12>>2];i=N[b+100>>2];g:{h:{i:{j:{k:{if(!p){j=N[j+40>>2];if(h){break k}h=0;break j}j=N[j+44>>2];if(h){break i}h=0;break h}h=N[h+20>>2]}q=e,r=Qa[j|0](b,i,f,h)|0,N[q>>2]=r;Id(b,N[g>>2],d+8|0,d+4|0);break g}h=N[h+24>>2]}q=e,r=Qa[j|0](b,i,f,h)|0,N[q+4>>2]=r;qq(b,N[g>>2],d+8|0,d+4|0)}N[e+8>>2]=N[e+8>>2]-N[d+8>>2];N[e+12>>2]=N[e+12>>2]-N[d+4>>2]}a=a+1|0;if((k|0)!=(a|0)){continue}break}break d}b=0;a=0;if((m&-3)==5){break c}break a}b=N[c+68>>2];if((m&-3)!=5){a=b;break b}a=b;if(b>>>0<2){break c}i=N[c+80>>2];e=b-1|0;a=0;while(1){f=i+T(e,20)|0;N[d+24>>2]=N[f+16>>2];g=N[f+12>>2];N[d+16>>2]=N[f+8>>2];N[d+20>>2]=g;g=N[f+4>>2];N[d+8>>2]=N[f>>2];N[d+12>>2]=g;g=i+T(a,20)|0;N[f+16>>2]=N[g+16>>2];h=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=h;h=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=h;N[g+16>>2]=N[d+24>>2];f=N[d+20>>2];N[g+8>>2]=N[d+16>>2];N[g+12>>2]=f;f=N[d+12>>2];N[g>>2]=N[d+8>>2];N[g+4>>2]=f;a=a+1|0;e=e-1|0;if(a>>>0>>0){continue}break}a=N[c+68>>2]}if(!O[c+63|0]){break b}b=a>>>0>>0?a:b;if(b>>>0<2){break b}g=N[c+88>>2];e=b-1|0;a=0;while(1){b=g+T(e,20)|0;N[d+24>>2]=N[b+16>>2];f=N[b+12>>2];N[d+16>>2]=N[b+8>>2];N[d+20>>2]=f;f=N[b+4>>2];N[d+8>>2]=N[b>>2];N[d+12>>2]=f;f=g+T(a,20)|0;N[b+16>>2]=N[f+16>>2];i=N[f+12>>2];N[b+8>>2]=N[f+8>>2];N[b+12>>2]=i;i=N[f+4>>2];N[b>>2]=N[f>>2];N[b+4>>2]=i;N[f+16>>2]=N[d+24>>2];b=N[d+20>>2];N[f+8>>2]=N[d+16>>2];N[f+12>>2]=b;b=N[d+12>>2];N[f>>2]=N[d+8>>2];N[f+4>>2]=b;a=a+1|0;e=e-1|0;if(a>>>0>>0){continue}break}a=N[c+68>>2]}if(!a){break a}c=N[c+80>>2];e=0;b=0;if(a>>>0>=4){f=a&-4;while(1){g=c+T(b,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|1,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|2,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|3,20)|0;N[g+4>>2]=N[g+4>>2]&-8;b=b+4|0;if((f|0)!=(b|0)){continue}break}}a=a&3;if(!a){break a}while(1){f=c+T(b,20)|0;N[f+4>>2]=N[f+4>>2]&-8;b=b+1|0;e=e+1|0;if((a|0)!=(e|0)){continue}break}}La=d+32|0;return 1}function dx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+492>>2];h=N[b+8>>2];Qa[N[b+28>>2]](b);d=N[b>>2];if(h>>>0<=d>>>0){N[b+12>>2]=3;return}a:{b:{c:{l=O[d|0];if(!((l|0)!=91&l-48>>>0>9)){f=N[b+16>>2];d:{if((l|0)==91){N[b>>2]=d+1;c=256;break d}c=Qa[N[b+36>>2]](b)|0}k=c;Qa[N[b+28>>2]](b);if(Q[b>>2]>=h>>>0){break b}j=b+100|0;i=(k|0)>=256?256:k;c=N[a+384>>2];e:{if(!c){break e}Qa[N[f+8>>2]](f,c);N[a+384>>2]=0;c=N[a+388>>2];if(c){Qa[N[f+8>>2]](f,c)}N[a+388>>2]=0;c=N[b+148>>2];if(!c){break e}Qa[c|0](j)}N[a+372>>2]=i;N[b+96>>2]=i;if((k|0)<0){N[a+384>>2]=0;N[b+12>>2]=6;return}f:{g:{if(!i){N[a+384>>2]=0;break g}c=i<<1;e=Qa[N[f+4>>2]](f,c)|0;h:{if(!(e?(k|0)>0:0)){N[a+384>>2]=e;if(e){break h}N[b+12>>2]=!e<<6;return}G(e,0,c);N[a+384>>2]=e}c=i<<2;e=Qa[N[f+4>>2]](f,c)|0;if(!e|(k|0)<=0){break f}G(e,0,c)}N[a+388>>2]=e;break c}N[a+388>>2]=e;if(e){break c}c=!e<<6;break a}i:{if(d+17>>>0>=h>>>0){break i}if(bb(d,14716,16)){break i}N[a+368>>2]=2;return}j:{if(d+15>>>0>=h>>>0){break j}if(bb(d,14701,14)){break j}N[a+368>>2]=4;return}k:{if(d+18>>>0>=h>>>0){break k}if(bb(d,14733,17)){break k}N[a+368>>2]=3;return}N[b+12>>2]=162;break b}c=Qa[N[N[g>>2]>>2]](j,i,f)|0;if(c){break a}l:{if((k|0)<=0){break l}g=(i|0)<=1?1:i;f=g&3;e=0;c=0;if(g>>>0>=4){g=g&2147483644;while(1){Qa[N[b+144>>2]](j,c,15265,8)|0;Qa[N[b+144>>2]](j,c|1,15265,8)|0;Qa[N[b+144>>2]](j,c|2,15265,8)|0;Qa[N[b+144>>2]](j,c|3,15265,8)|0;c=c+4|0;if((g|0)!=(c|0)){continue}break}}if(!f){break l}while(1){Qa[N[b+144>>2]](j,c,15265,8)|0;c=c+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}Qa[N[b+28>>2]](b);c=N[b>>2];m:{if(h>>>0<=c>>>0){break m}m=(l|0)==91;g=0;while(1){n:{o:{p:{e=O[c|0];switch(e-93|0){case 0:break o;case 7:break p;default:break n}}d=c+3|0;if(O[c+1|0]!=101|h>>>0<=d>>>0|O[c+2|0]!=102){break n}switch(O[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break n}}d=c+1|0;break m}q:{r:{if(!(!m&e-48>>>0>9)){if(m){d=c;e=g;break r}e=Qa[N[b+36>>2]](b)|0;Qa[N[b+28>>2]](b);d=N[b>>2];if((d|0)!=(c|0)){break r}N[b+12>>2]=2;return}Qa[N[b+32>>2]](b);d=c;if(N[b+12>>2]){break b}break q}if(!(O[d|0]!=47|d+2>>>0>=h>>>0|(g|0)>=(k|0))){d=d+1|0;N[b>>2]=d;Qa[N[b+32>>2]](b);c=N[b>>2];if(N[b+12>>2]|c>>>0>=h>>>0){break b}if((g|0)<(i|0)){f=c-d|0;c=Qa[N[b+144>>2]](j,e,d,f+1|0)|0;N[b+12>>2]=c;if(c){break b}L[f+N[N[b+124>>2]+(e<<2)>>2]|0]=0}g=g+1|0;break q}if((l|0)!=91){break q}N[b+12>>2]=2;return}Qa[N[b+28>>2]](b);c=N[b>>2];if(h>>>0>c>>>0){continue}break}}N[a+368>>2]=1;N[b>>2]=d;return}return}N[b+12>>2]=c}function Ru(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+492>>2];i=N[b+16>>2];e=N[b+8>>2];Qa[N[b+28>>2]](b);c=3;a=N[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=O[a|0];c:{if(a-48>>>0<=9){a=Qa[N[b+36>>2]](b)|0;N[b+144>>2]=a;if(N[b+12>>2]){break a}if((a|0)<0){break b}f=a;a=N[b>>2];d=e-a>>2;if((f|0)<=(d|0)){break c}N[b+144>>2]=d;break c}if((a|0)!=60){break b}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}Qa[N[b+28>>2]](b);d=N[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=O[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}N[b>>2]=d;N[b+144>>2]=h;a=d;break c}h=h+1|0}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0>a>>>0){continue}break}}if(N[b+264>>2]|a>>>0>=e>>>0){break b}k=b+200|0;c=Qa[N[N[g>>2]>>2]](k,N[b+144>>2],i)|0;if(c){break b}l=b+148|0;c=Qa[N[N[g>>2]>>2]](l,N[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=Qa[N[N[g>>2]>>2]](h,4,i)|0;if(c){break b}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0<=a>>>0){N[b+144>>2]=0;c=3;break b}i=0;g=0;d=0;while(1){e:{f:{c=O[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(O[a+1|0]!=110|a+3>>>0>=e>>>0|O[a+2|0]!=100){break f}switch(O[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}Qa[N[b+32>>2]](b);f=N[b>>2];if(f>>>0>=e>>>0){c=3;break b}if(N[b+12>>2]){break a}g:{h:{j=O[a|0];switch(j-40|0){case 0:case 7:break h;default:break g}}c=3;m=(j|0)==40;if((m?3:2)+a>>>0>=e>>>0){break b}a=a+1|0;f=(f-a|0)-m|0;c=Qa[N[b+192>>2]](l,d,a,f+1|0)|0;if(c){break b}c=f;f=d<<2;L[c+N[f+N[b+172>>2]>>2]|0]=0;if(O[a|0]==46){a=cb(15265,N[f+N[b+172>>2]>>2]);i=a?i:1;g=a?g:d}Qa[N[b+28>>2]](b);if((j|0)==40){Qa[N[b+32>>2]](b)}a=N[b>>2];Qa[N[b+36>>2]](b)|0;c=3;j=N[b>>2];if(j>>>0>=e>>>0){break b}c=a;a=j-a|0;c=Qa[N[b+244>>2]](k,d,c,a+1|0)|0;if(c){break b}L[a+N[f+N[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=N[b+144>>2]){break e}}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0>a>>>0){continue}}break}N[b+144>>2]=d;if(!(i&255)){c=3;break b}a=N[N[b+172>>2]>>2];if(!cb(15265,a)){break a}c=Qa[N[b+296>>2]](h,0,a,N[N[b+176>>2]>>2])|0;if(c){break b}c=Qa[N[b+296>>2]](h,1,N[N[b+224>>2]>>2],N[N[b+228>>2]>>2])|0;if(c){break b}a=g<<2;c=Qa[N[b+296>>2]](h,2,N[a+N[b+172>>2]>>2],N[a+N[b+176>>2]>>2])|0;if(c){break b}c=Qa[N[b+296>>2]](h,3,N[a+N[b+224>>2]>>2],N[a+N[b+228>>2]>>2])|0;if(c){break b}c=Qa[N[b+192>>2]](l,g,N[N[b+276>>2]>>2],N[N[b+280>>2]>>2])|0;if(c){break b}c=Qa[N[b+244>>2]](k,g,N[N[b+276>>2]+4>>2],N[N[b+280>>2]+4>>2])|0;if(c){break b}c=Qa[N[b+192>>2]](l,0,N[N[b+276>>2]+8>>2],N[N[b+280>>2]+8>>2])|0;if(c){break b}c=Qa[N[b+244>>2]](k,0,N[N[b+276>>2]+12>>2],N[N[b+280>>2]+12>>2])|0;if(!c){break a}}N[b+12>>2]=c}}function lt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=La-16|0;La=f;N[a+788>>2]=0;N[a+792>>2]=0;j=a+796|0;c=j;N[c>>2]=0;N[c+4>>2]=0;k=a+788|0;a:{b:{c:{d:{if(!(Qa[N[a+516>>2]](a,1128418371,b,f+12|0)|0)){c=2;break d}c=1;d=f+12|0;if(!(Qa[N[a+516>>2]](a,1161972803,b,d)|0)){break d}if(!(Qa[N[a+516>>2]](a,1651273571,b,d)|0)){break d}c=Qa[N[a+516>>2]](a,1935829368,b,d)|0;if(c){break c}c=3}N[j>>2]=c;d=N[f+12>>2];if(d>>>0<8){c=3;break c}m=a+800|0;i=N[b+8>>2];e:{f:{g:{h:{switch(c-1|0){case 0:case 1:c=dc(b,d,k);if(c){break c}e=N[f+12>>2];N[a+792>>2]=e;c=N[a+788>>2];d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);i:{if((O[c+1|0]<<16|O[c|0]<<24|65536)==196608){break i}c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8|256)&65535)==768){break i}c=2;break c}c=3;d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>65535){break c}if(e>>>0>=(T(d,48)|8)>>>0){break g}d=(e-8>>>0)/48|0;break g;case 2:break h;default:break f}}d=N[b+4>>2];j:{if(N[b+20>>2]){c=85;if(d>>>0<8){break c}d=N[b+28>>2];c=Qa[N[d+4>>2]](d,8)|0;if(!c){break e}N[b>>2]=c;g=Qa[N[b+20>>2]](b,N[b+8>>2],c,8)|0;e=N[b>>2];if(g>>>0>7){c=0}else{if(e){Qa[N[d+8>>2]](d,e)}e=0;N[b>>2]=0;c=85}N[b+32>>2]=e;h=e?e+8|0:0;N[b+36>>2]=h;N[b+8>>2]=g+N[b+8>>2];d=e;if(g>>>0>=8){break j}break c}c=85;if(d-i>>>0<8|d>>>0<=i>>>0){break c}N[b+8>>2]=i+8;e=N[b>>2];d=i+e|0;N[b+32>>2]=d;h=d+8|0;N[b+36>>2]=h}g=1;if(d+1>>>0>>0){c=O[d|0]|O[d+1|0]<<8;l=c<<8|c>>>8;d=d+2|0}N[b+32>>2]=d;if(d+1>>>0>=h>>>0){c=d}else{g=((O[d+1|0]|O[d|0]<<8)&65533)!=1;c=d+2|0}N[b+32>>2]=c;d=0;if(c+3>>>0>>0){d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;if(N[b+20>>2]){if(e){c=N[b+28>>2];Qa[N[c+8>>2]](c,e)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!(l&65535)){c=2;break c}c=3;if(d>>>0>65535|g){break c}g=N[b+8>>2]-8|0;l=N[f+12>>2];e=N[b+20>>2];k:{if(e){c=85;if(!(Qa[e|0](b,g,0,0)|0)){break k}break c}c=85;if(g>>>0>Q[b+4>>2]){break c}}N[b+8>>2]=g;d=l>>>0<(d<<2)+8>>>0?l-8>>>2|0:d;c=(d<<2)+8|0;N[a+792>>2]=c;c=dc(b,c,k);if(c){break c}}N[a+800>>2]=d;c=N[j>>2]}N[a+860>>2]=0;N[a+864>>2]=0;l:{m:{n:{switch(c|0){case 3:N[a+860>>2]=i;b=N[f+12>>2];break m;case 0:break b;default:break n}}o:{c=f+8|0;if(!(Qa[N[a+516>>2]](a,1128416340,b,c)|0)){break o}if(!(Qa[N[a+516>>2]](a,1161970772,b,c)|0)){break o}if(!(Qa[N[a+516>>2]](a,1650745716,b,c)|0)){break o}b=N[a+864>>2];break l}N[a+860>>2]=N[b+8>>2];b=N[f+8>>2]}N[a+864>>2]=b}c=0;if(!b){break b}break a}N[b>>2]=0;c=64}d=N[k>>2];if(d){if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,d)}N[k>>2]=0}N[a+792>>2]=0;m=j}N[m>>2]=0}La=f+16|0;return c|0}function ub(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;c=O[b|0];if(!c){return a}d=jc(a,c<<24>>24);a:{if(!d){break a}f=O[b+1|0];if(!f){return d}a=O[d+1|0];if(!a){break a}if(!O[b+2|0]){b=(a|0)!=0;b:{if(!a){break b}e=a|O[d|0]<<8;f=c<<8|f;if((e|0)==(f|0)){break b}a=d+1|0;while(1){d=a;c=O[a+1|0];b=(c|0)!=0;if(!c){break b}a=a+1|0;e=c|e<<8&65280;if((f|0)!=(e|0)){continue}break}}return b?d:0}c=O[d+2|0];if(!c){break a}if(!O[b+3|0]){a=d+2|0;e=(c|0)!=0;c:{d:{if(!c){break d}c=O[d+1|0]<<16|O[d|0]<<24|c<<8;f=O[b+1|0]<<16|O[b|0]<<24|O[b+2|0]<<8;if((c|0)==(f|0)){break d}while(1){b=a+1|0;d=O[a+1|0];e=(d|0)!=0;if(!d){break c}a=b;c=(c|d)<<8;if((f|0)!=(c|0)){continue}break}break c}b=a}return e?b-2|0:0}c=O[d+3|0];if(!c){break a}if(!O[b+4|0]){a=d+3|0;e=(c|0)!=0;e:{f:{if(!c){break f}c=c|(O[d+1|0]<<16|O[d|0]<<24|O[d+2|0]<<8);b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((c|0)==(f|0)){break f}while(1){b=a+1|0;d=O[a+1|0];e=(d|0)!=0;if(!d){break e}a=b;c=d|c<<8;if((f|0)!=(c|0)){continue}break}break e}b=a}return e?b-3|0:0}c=0;i=La-1056|0;La=i;a=i+1048|0;N[a>>2]=0;N[a+4>>2]=0;a=i+1040|0;N[a>>2]=0;N[a+4>>2]=0;N[i+1032>>2]=0;N[i+1036>>2]=0;N[i+1024>>2]=0;N[i+1028>>2]=0;k=b;g:{h:{i:{j:{b=O[b|0];k:{if(!b){j=-1;a=1;break k}while(1){if(!O[d+g|0]){break h}g=g+1|0;N[((b&255)<<2)+i>>2]=g;a=(i+1024|0)+(b>>>3&28)|0;N[a>>2]=N[a>>2]|1<>>0>1){break j}}e=-1;h=1;break i}f=1;b=1;while(1){e=O[k+(b+j|0)|0];h=O[a+k|0];l:{if((e|0)==(h|0)){if((b|0)==(f|0)){c=c+f|0;b=1;break l}b=b+1|0;break l}if(e>>>0>h>>>0){f=a-j|0;c=a;b=1;break l}j=c;c=c+1|0;f=1;b=1}a=b+c|0;if(g>>>0>a>>>0){continue}break}e=-1;c=0;a=1;h=1;b=1;while(1){m=O[k+(b+e|0)|0];l=O[a+k|0];m:{if((m|0)==(l|0)){if((b|0)==(h|0)){c=c+h|0;b=1;break m}b=b+1|0;break m}if(l>>>0>m>>>0){h=a-e|0;c=a;b=1;break m}e=c;c=c+1|0;h=1;b=1}a=b+c|0;if(g>>>0>a>>>0){continue}break}a=f}b=a;a=e+1>>>0>j+1>>>0;h=a?h:b;l=a?e:j;m=l+1|0;n:{if(Mb(k,k+h|0,m)){a=(l^-1)+g|0;h=(a>>>0>>0?l:a)+1|0;f=0;break n}f=g-h|0}o=g-1|0;n=g|63;e=0;a=d;while(1){o:{if(d-a>>>0>=g>>>0){break o}b=pe(d,0,n);if(b){d=b;if(b-a>>>0>>0){break h}break o}d=d+n|0}b=g;c=O[a+o|0];p:{q:{if(!(N[(i+1024|0)+(c>>>3&28)>>2]>>>c&1)){break q}b=N[(c<<2)+i>>2];if((g|0)!=(b|0)){b=g-b|0;b=b>>>0>e>>>0?b:e;break q}r:{b=m;c=b>>>0>e>>>0?b:e;j=O[k+c|0];if(j){while(1){if(O[a+c|0]!=(j&255)){break r}c=c+1|0;j=O[k+c|0];if(j){continue}break}}while(1){if(b>>>0<=e>>>0){break g}b=b-1|0;if(O[k+b|0]==O[a+b|0]){continue}break}b=h;e=f;break p}b=c-l|0}e=0}a=a+b|0;continue}}a=0}La=i+1056|0;e=a}return e}function fp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{switch(N[a+92>>2]){case 0:i=N[a+64>>2];if((i|0)<(c|0)){g=N[a+36>>2];if(!N[a+84>>2]){N[a+84>>2]=g;N[a+80>>2]=g;g=g+32|0;N[a+36>>2]=g}if(Q[a+32>>2]>g>>>0){f=N[a+4>>2];d=N[a+8>>2];e=N[a+80>>2];N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=g;N[e+28>>2]=0;N[e+4>>2]=0;M[e+12>>1]=O[a+48|0]|((d|0)>(((f+i|0)-1&0-f)-i|0)?8:40);if(!N[a+88>>2]){N[a+88>>2]=e}L[a+78|0]=1;N[a+92>>2]=1;d=a+79|0;break f}break a}if((c|0)>=(i|0)){break d}g=N[a+36>>2];if(!N[a+84>>2]){N[a+84>>2]=g;N[a+80>>2]=g;g=g+32|0;N[a+36>>2]=g}if(Q[a+32>>2]>g>>>0){e=N[a+4>>2];f=N[a+8>>2];h=N[a+80>>2];N[h+16>>2]=0;N[h+20>>2]=0;N[h+8>>2]=g;N[h+28>>2]=0;N[h+4>>2]=0;d=O[a+48|0];M[h+12>>1]=(f|0)>(e-1&i)?d:d|16;if(!N[a+88>>2]){N[a+88>>2]=h}L[a+78|0]=1;N[a+92>>2]=2;d=a+79|0;break j}break a;case 1:break k;case 2:break i;default:break d}}i=N[a+64>>2];if((i|0)<=(c|0)){break e}e=N[a+36>>2];f=N[a+80>>2];h=N[f+8>>2];d=e-h|0;if((d|0)<0){N[a+40>>2]=99;return 1}j=N[a+4>>2]-1&i;g=N[a+8>>2];l:{if((e|0)==(h|0)){d=e;break l}N[f+16>>2]=d>>2;if((g|0)<=(j|0)){d=P[f+12>>1];M[f+12>>1]=(d&8?16:32)|d}N[a+80>>2]=e;d=e+32|0;N[a+36>>2]=d;N[e+8>>2]=d;N[e+16>>2]=0;N[f+28>>2]=e;M[a+76>>1]=P[a+76>>1]+1;f=e}h=N[a+32>>2];if(h>>>0<=d>>>0){break a}L[a+79|0]=0;m:{if(N[a+84>>2]){e=d;break m}N[a+84>>2]=d;N[a+80>>2]=d;e=d+32|0;N[a+36>>2]=e;f=d}if(e>>>0>=h>>>0){break a}N[f+16>>2]=0;N[f+20>>2]=0;N[f+8>>2]=e;N[f+28>>2]=0;N[f+4>>2]=0;d=O[a+48|0];M[f+12>>1]=(g|0)>(j|0)?d:d|16;if(!N[a+88>>2]){N[a+88>>2]=f}L[a+78|0]=1;N[a+92>>2]=2;d=a+79|0}L[d|0]=0;d=0;break h}i=N[a+64>>2];if((i|0)<(c|0)){break g}d=!O[a+78|0]}f=dp(a,N[a+60>>2],0-i|0,b,0-c|0,0-N[a+72>>2]|0,0-N[a+68>>2]|0);if(!(O[a+78|0]|d)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}g=1;if(!f){break d}break c}e=N[a+36>>2];f=N[a+80>>2];g=N[f+8>>2];h=e-g|0;if((h|0)<0){N[a+40>>2]=99;return 1}d=N[a+4>>2];k=((d+i|0)-1&0-d)-i|0;j=N[a+8>>2];n:{if((e|0)==(g|0)){d=e;break n}N[f+16>>2]=h>>2;if((j|0)<=(k|0)){d=P[f+12>>1];M[f+12>>1]=(d&8?16:32)|d}N[a+80>>2]=e;d=e+32|0;N[a+36>>2]=d;N[e+8>>2]=d;N[e+16>>2]=0;N[f+28>>2]=e;M[a+76>>1]=P[a+76>>1]+1;f=e}h=N[a+32>>2];if(h>>>0<=d>>>0){break a}L[a+79|0]=0;o:{if(N[a+84>>2]){e=d;break o}N[a+84>>2]=d;N[a+80>>2]=d;e=d+32|0;N[a+36>>2]=e;f=d}if(e>>>0>=h>>>0){break b}N[f+16>>2]=0;N[f+20>>2]=0;N[f+8>>2]=e;N[f+28>>2]=0;N[f+4>>2]=0;M[f+12>>1]=O[a+48|0]|((j|0)>(k|0)?8:40);if(!N[a+88>>2]){N[a+88>>2]=f}L[a+78|0]=1;N[a+92>>2]=1;d=a+79|0}L[d|0]=0}g=1;if(dp(a,N[a+60>>2],i,b,c,N[a+68>>2],N[a+72>>2])){break c}}N[a+64>>2]=c;N[a+60>>2]=b;g=0}return g}N[a+40>>2]=98;return 1}N[a+40>>2]=98;return 1}function Xm(a,b){var c=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{if((b|0)<=1935833198){if((b|0)<=1751346272){J:{switch(b-1735618608|0){case 9:break z;case 8:break A;case 7:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break J}}if((b|0)==1668311156){break y}if((b|0)!=1751216995){break a}return a+442|0}if((b|0)<=1751347821){switch(b-1751346273|0){case 1:case 2:break a;case 3:break w;case 0:break x;default:break v}}K:{switch(b-1751347822|0){case 1:case 2:case 3:case 4:break a;case 5:break t;case 0:break u;default:break K}}if((b|0)==1751413603){break s}if((b|0)!=1751934832){break a}return a+446|0}if((b|0)<=1970168942){if((b|0)<=1936750702){L:{switch(b-1935833199|0){case 1:case 2:case 3:break a;case 4:break q;case 0:break r;default:break L}}switch(b-1935833455|0){case 4:break o;case 0:break p;default:break a}}M:{switch(b-1936750703|0){case 1:case 2:case 3:break a;case 4:break m;case 0:break n;default:break M}}N:{switch(b-1936750959|0){case 1:case 2:case 3:break a;case 4:break k;case 0:break l;default:break N}}switch(b-1937011311|0){case 0:break j;case 4:break i;default:break a}}if((b|0)<=1986228845){O:{switch(b-1970168943|0){case 1:case 2:case 3:break a;case 4:break g;case 0:break h;default:break O}}if((b|0)==1986098019){break f}if((b|0)!=1986228070){break a}return a+318|0}if((b|0)<=1986815855){switch(b-1986228846|0){case 1:case 2:case 3:case 4:break a;case 5:break d;case 0:break e;default:break c}}if((b|0)==1986815856){break b}if((b|0)!=2020108148){break a}return a+460|0}if(P[a+562>>1]<2){break a}return N[a+564>>2]}if(P[a+562>>1]<3){break a}return N[a+564>>2]+4|0}if(P[a+562>>1]<4){break a}return N[a+564>>2]+8|0}if(P[a+562>>1]<5){break a}return N[a+564>>2]+12|0}if(P[a+562>>1]<6){break a}return N[a+564>>2]+16|0}if(P[a+562>>1]<7){break a}return N[a+564>>2]+20|0}if(P[a+562>>1]<8){break a}return N[a+564>>2]+24|0}if(P[a+562>>1]<9){break a}return N[a+564>>2]+28|0}if(P[a+562>>1]<10){break a}return N[a+564>>2]+32|0}if(P[a+562>>1]<11){break a}return N[a+564>>2]+36|0}return a+462|0}return a+448|0}return a+450|0}if((b|0)!=1751347046){break a}return a+238|0}return a+236|0}return a+234|0}return a+444|0}return a+386|0}return a+382|0}return a+388|0}return a+384|0}return a+394|0}return a+390|0}return a+396|0}return a+392|0}return a+400|0}return a+398|0}return a+484|0}return a+486|0}return a+300|0}return a+316|0}return a+314|0}if((b|0)!=1986294627){break a}return a+302|0}c=a+304|0}return c}function Bd(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=La+-64|0;La=j;o=a+11720|0;Li(a,N[a+11716>>2],N[o>>2],b,c,j+20|0,j+16|0);Li(a,d,e,f,g,j+12|0,j+8|0);h=N[a+4>>2];N[h+16>>2]=N[h+16>>2]+(T(e-c>>16,b>>16)-T(d-b>>16,c>>16)|0);h=N[j+20>>2];r=h+N[a+11716>>2]|0;N[j>>2]=r;l=N[j+16>>2];o=l+N[o>>2]|0;N[j+4>>2]=o;t=N[j+8>>2];u=N[j+12>>2];c=c+l|0;s=b+h|0;if(O[a+11663|0]){N[j+56>>2]=1;b=N[a+11728>>2];N[j+24>>2]=N[a+11724>>2];N[j+28>>2]=b;if(!O[a+20|0]){Ae(a,N[a+11732>>2],N[a+11736>>2])}p=a+8|0;l=N[a+11640>>2];h=l>>31;h=(h^l)-h|0;b=r>>31;b=(b^r)-b|0;a:{if(h+(b>>>8|0)>>>0<=8190){h=T(b,h)+32768>>>16|0;break a}k=h&65535;h=T(k,b>>>16|0)+T(b,h>>>16|0)+(T(k,b&65535)+32768>>>16)|0}b=h;i=0-b|0;b=l>>31|1;i=(((r|0)<0?0-b|0:b)|0)<0?i:h;k=N[a+11644>>2];h=k>>31;h=(h^k)-h|0;b=o>>31;b=(b^o)-b|0;b:{if(h+(b>>>8|0)>>>0<=8190){h=T(b,h)+32768>>>16|0;break b}l=h&65535;h=T(l,b>>>16|0)+T(b,h>>>16|0)+(T(l,b&65535)+32768>>>16)|0}b=h;l=Zc(p,o);w=N[a+11652>>2];m=0-b|0;b=k>>31|1;k=i+((((o|0)<0?0-b|0:b)|0)<0?m:h)|0;b=k>>31;p=N[a>>2];i=N[p+64>>2];h=i>>31;b=(b^k)-b|0;q=b>>>8|0;h=(h^i)-h|0;c:{if(q+h>>>0<=8190){m=T(b,h)+32768>>>16|0;break c}n=h&65535;m=T(n,b>>>16|0)+T(b,h>>>16|0)+(T(n,b&65535)+32768>>>16)|0}h=m;n=0-h|0;h=i>>31|1;x=(((k|0)<0?0-h|0:h)|0)<0?n:m;n=N[p+72>>2];i=n>>31;h=l>>31;h=(h^l)-h|0;v=h>>>8|0;i=(i^n)-i|0;d:{if(v+i>>>0<=8190){m=T(h,i)+32768>>>16|0;break d}m=i&65535;m=T(m,h>>>16|0)+T(h,i>>>16|0)+(T(h&65535,m)+32768>>>16)|0}i=m;y=0-i|0;i=n>>31|1;N[j+32>>2]=w+(x+((((l|0)<0?0-i|0:i)|0)<0?y:m)|0);m=N[a+11656>>2];n=N[p+68>>2];i=n>>31;i=(i^n)-i|0;e:{if(i+q>>>0<=8190){i=T(b,i)+32768>>>16|0;break e}q=i&65535;i=T(q,b>>>16|0)+T(b,i>>>16|0)+(T(q,b&65535)+32768>>>16)|0}b=i;q=0-b|0;b=n>>31|1;i=(((k|0)<0?0-b|0:b)|0)<0?q:i;k=N[p+76>>2];b=k>>31;b=(b^k)-b|0;f:{if(b+v>>>0<=8190){h=T(b,h)+32768>>>16|0;break f}p=b&65535;h=T(p,h>>>16|0)+T(h,b>>>16|0)+(T(p,h&65535)+32768>>>16)|0}b=h;n=0-b|0;b=k>>31|1;N[j+36>>2]=m+(i+((((l|0)<0?0-b|0:b)|0)<0?n:h)|0);b=N[a+4>>2];Qa[N[b>>2]](b,j+24|0);b=N[j+32>>2];h=N[j+36>>2];i=0;N[a+11700>>2]=i|r;N[a+11704>>2]=o;N[a+11724>>2]=b;N[a+11728>>2]=h;N[a+11708>>2]=i|s;N[a+11712>>2]=c;L[a+11660|0]=1;L[a+11663|0]=0}if(O[a+11740|0]){lf(a,a+8|0,j,s,c,0)}N[a+11744>>2]=4;L[a+11740|0]=1;b=N[j>>2];o=N[j+4>>2];N[a+11776>>2]=g+t;N[a+11772>>2]=f+u;N[a+11768>>2]=e+t;N[a+11764>>2]=d+u;N[a+11748>>2]=b;N[a+11752>>2]=o;N[a+11756>>2]=s;N[a+11760>>2]=c;b=N[a+11672>>2];if(O[b+5|0]){kf(a+8|0,N[a+11664>>2],N[a+11668>>2],b,N[a+11676>>2],0)}N[a+11720>>2]=g;N[a+11716>>2]=f;La=j- -64|0}function _c(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{d=N[a+44>>2];d:{if(!d){break d}c=N[a+24>>2];b=YE(c,31);if(b>>>0>8|!(1<>2]=N[d+32>>2];b=N[a+16>>2];if(!b){b=N[d>>2]}e:{if(c){break e}if(Q[a+4>>2]>>0){break b}c=N[d+4>>2];if(c>>>0>2]){break c}N[a+8>>2]=c;N[a+4>>2]=b;b=N[a+52>>2];if(b>>>0<2){break e}m=a+60|0;while(1){f:{g:{h:{l=(N[a+56>>2]+(b<<2)|0)-4|0;h=N[l>>2];e=N[h>>2];b=N[a+8>>2];if(e>>>0>>0){c=4;i=0;b=0;f=N[h+4>>2];g=f-e|0;if(g>>>0>3){break h}break f}if((b|0)!=(e|0)){break g}break e}while(1){b=b+e|0;i=T(i,31)+(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24))|0;b=c;c=b+4|0;if(g>>>0>=c>>>0){continue}break}break f}ba(13271,14296,437,10341);F()}i:{if(b>>>0>=g>>>0){break i}k=(f+(b^-1)|0)-e|0;f=0;c=b;j=g&3;if(j){while(1){i=L[c+e|0]+T(i,31)|0;c=c+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}b=b|j}if(k>>>0<3){break i}while(1){c=b+e|0;i=T(T(T(L[c|0]+T(i,31)|0,31)+L[c+1|0]|0,31)+L[c+2|0]|0,31)+L[c+3|0]|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}}c=N[h+16>>2];f=4;e=0;b=0;g=T(N[h+12>>2],12);if(g){while(1){b=b+c|0;e=T(e,31)+(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24))|0;b=f;f=b+4|0;if(g>>>0>=f>>>0){continue}break}}if(b>>>0>>0){while(1){e=L[c+(b|3)|0]+T(L[c+(b|2)|0]+T(L[c+(b|1)|0]+T(L[b+c|0]+T(e,31)|0,31)|0,31)|0,31)|0;b=b+4|0;if((g|0)!=(b|0)){continue}break}}j:{if(!(L[a+72|0]&1)){break j}b=N[a+76>>2];if(Q[a+80>>2]<=(b>>>1|0)+b>>>0){if(!Qg(m)){break j}h=N[l>>2]}e=e^i;b=Af(m,h,e);c=N[b>>2];f=N[c+4>>2];i=N[c>>2];j=f-i|0;g=N[h>>2];if((j|0)!=(N[h+4>>2]-g|0)){break j}k=N[c+12>>2];if((k|0)!=N[h+12>>2]){break j}if((f|0)!=(i|0)){if(Mb(i,g,j)){break j}}f=T(k,12);if(f){if(Mb(N[c+16>>2],N[h+16>>2],f)){break j}}k:{if(!(O[b+7|0]&64)){break k}N[a+76>>2]=N[a+76>>2]-1;if(N[b+4>>2]<0){break k}N[a+72>>2]=N[a+72>>2]-2;h=N[l>>2]}N[b+8>>2]=0;N[b>>2]=h;N[b+4>>2]=e|-1073741824;N[a+76>>2]=N[a+76>>2]+1}b=N[a+52>>2];l:{if(!b){b=0;N[147456]=0;if(!N[8]){break l}break a}b=N[(N[a+56>>2]+(b<<2)|0)-4>>2];if(N[b+32>>2]){break a}}if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;b=N[a+52>>2];if(!b){break e}b=b-1|0;N[a+52>>2]=b;if(b>>>0>1){continue}break}}N[a+16>>2]=0;if(N[d+12>>2]){N[d+12>>2]=0}_a(N[d+16>>2]);N[d+16>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if(N[d+24>>2]){N[d+24>>2]=0}_a(N[d+28>>2]);N[d+28>>2]=0;N[d+20>>2]=0;N[d+24>>2]=0;N[d>>2]=N[a+28>>2];N[a+28>>2]=d}return}ba(13230,14296,419,8802);F()}ba(16986,14296,418,8802);F()}ba(8473,14296,432,10341);F()}function Hh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=N[N[a>>2]+28>>2];N[b>>2]=0;a:{b:{c:{d:{if(N[a+28>>2]){break d}h=N[a+12>>2];if(!h){break d}e=h+1|0;if((e|0)<0){f=6;break a}g=N[a>>2];i=N[g+28>>2];l=O[a+16|0];e:{f:{g:{if(e){f=10;if((e|0)>536870911){break a}k=e<<2;f=Qa[N[i+4>>2]](i,k)|0;if(!f|h>>>0>2147483646){break g}G(f,0,k)}N[a+28>>2]=f;break f}N[a+28>>2]=f;if(!f){break e}}h=N[a+8>>2]+N[a+4>>2]|0;k=N[g+20>>2];h:{if(k){f=85;if(!(Qa[k|0](g,h,0,0)|0)){break h}break b}f=85;if(h>>>0>Q[g+4>>2]){break b}}N[g+8>>2]=h;h=T(e,l);f=Bb(g,h);if(f){break b}e=N[g+32>>2];f=h+e|0;i=N[a+28>>2];i:{j:{switch(l-1|0){case 2:if((h|0)<=0){break i}while(1){N[i>>2]=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);i=i+4|0;e=e+3|0;if(f>>>0>e>>>0){continue}break};break i;case 1:if((h|0)<=0){break i}while(1){N[i>>2]=O[e+1|0]|O[e|0]<<8;i=i+4|0;e=e+2|0;if(f>>>0>e>>>0){continue}break};break i;case 0:if((h|0)<=0){break i}while(1){N[i>>2]=O[e|0];i=i+4|0;e=e+1|0;if(f>>>0>e>>>0){continue}break};break i;default:break j}}if((h|0)<=0){break i}while(1){h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[i>>2]=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);i=i+4|0;e=e+4|0;if(f>>>0>e>>>0){continue}break}}if(N[g+20>>2]){f=N[g>>2];if(f){e=N[g+28>>2];Qa[N[e+8>>2]](e,f)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;break d}N[a+28>>2]=0;e=!f<<6;if(e){break c}}e=0;f=N[a+12>>2];if(!f){break c}i=0;g=f+1|0;if((g|0)<0){return 6}h=N[a+24>>2];k:{if(!g){break k}e=10;if((g|0)>536870911){break c}g=g<<2;i=Qa[N[j+4>>2]](j,g)|0;if(!(!i|f>>>0>2147483646)){G(i,0,g);break k}if(i){break k}return!i<<6}l=f+h|0;l:{m:{n:{o:{p:{q:{r:{if(c){h=0;if((l|0)<=0){e=6;if(!l){break q}break l}h=Qa[N[j+4>>2]](j,l)|0;if(h){break r}e=64;break l}h=N[a+32>>2];N[i>>2]=h;j=N[a+12>>2];if(j){e=1;f=0;while(1){k=e<<2;g=N[k+N[a+28>>2]>>2]-1|0;if(g>>>0>=f>>>0){f=N[a+24>>2];f=f>>>0>g>>>0?g:f}N[i+k>>2]=f+h;e=e+1|0;if(j>>>0>=e>>>0){continue}break}h=0;break p}N[b>>2]=i;break m}G(h,0,l)}o=N[a+32>>2];N[i>>2]=h;m=N[a+12>>2];if(!m){break o}e=1;j=0;f=0;while(1){g=e<<2;n=N[g+N[a+28>>2]>>2]-1|0;s:{if(n>>>0>>0){N[i+g>>2]=(f+h|0)+j;break s}k=i+g|0;g=N[a+24>>2];g=g>>>0>n>>>0?n:g;n=(g+h|0)+j|0;N[k>>2]=n;if((f|0)==(g|0)){break s}m=N[k-4>>2];B(m,f+o|0,n-m|0);L[N[k>>2]]=0;N[k>>2]=N[k>>2]+1;j=j+1|0;m=N[a+12>>2];f=g}e=e+1|0;if(m>>>0>=e>>>0){continue}break}}N[b>>2]=i;if(!c){break m}break n}N[b>>2]=i}N[c>>2]=h}e=0;if(!d){break c}N[d>>2]=l;break c}if(!e|!i){break c}Qa[N[j+8>>2]](j,i);return e}return e}b=N[a+28>>2];if(b){Qa[N[i+8>>2]](i,b)}N[a+28>>2]=0;return f}N[a+28>>2]=0;return f}function yp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=T(b,1348)+a|0;g=N[c- -64>>2];j=N[c+56>>2];k=g+T(j,44)|0;if((j|0)>0){h=a+2748|0;l=a+2744|0;c=g;while(1){d=O[c+12|0];a:{if(d&4){break a}f=N[c+24>>2];e=N[c+20>>2];b:{c:{if(!e){if(!f){break a}d=N[f+20>>2];if(!d){break a}e=N[d+8>>2];N[f+8>>2]=e;L[f+12|0]=O[f+12|0]|4;d=f;f=c;break c}e=N[e+8>>2];L[c+12|0]=d|4;N[c+8>>2]=e;if(!f){break b}d=c;if(N[f+20>>2]){break b}}d=Eg(N[l>>2],N[h>>2],b,N[f+4>>2]-N[d+4>>2]|0);L[f+12|0]=O[f+12|0]|4;N[f+8>>2]=d+e}i=i?i:c}c=c+44|0;if(k>>>0>c>>>0){continue}break}l=a+2748|0;o=a+2744|0;c=g;h=0;d=0;f=0;while(1){n=O[c+12|0];d:{if(n&4){break d}e=N[c+24>>2];if(!e){f=f+1|0;break d}e:{if(!(d&255)){break e}m=h- -64|0;if((m|0)<=N[c+8>>2]&(m|0)<=N[e+8>>2]){break e}d=1;f=f+1|0;break d}if(N[e+20>>2]){m=Eg(N[o>>2],N[l>>2],b,N[c+4>>2]-N[e+4>>2]|0);e=N[e+8>>2];L[c+12|0]=n|4;N[c+8>>2]=e+m;break d}if(c>>>0>e>>>0){d=Eg(N[o>>2],N[l>>2],b,N[c+4>>2]-N[e+4>>2]|0);e=N[e+8>>2];L[c+12|0]=n|4;h=d+e|0;N[c+8>>2]=h;d=1;break d}f:{if(!(i|(b|0)==1)){p=wp(a,c,e,0,0);break f}wp(a,c,e,p,b)}L[c+12|0]=O[c+12|0]|4;L[e+12|0]=O[e+12|0]|4;h=N[e+8>>2];d=1;i=c}c=c+44|0;if(k>>>0>c>>>0){continue}break}}g:{if(b){break g}i=4;d=2;c=g;h:{switch(j-6|0){case 6:c=g+44|0;i=9;d=5;break;case 0:break h;default:break g}}if(N[c+24>>2]!=(c+44|0)){break g}e=T(d,44)+g|0;d=e;if(N[d+24>>2]!=(d+44|0)){break g}b=T(i,44)+g|0;a=N[b+24>>2];if((a|0)!=(b+44|0)){break g}h=(N[d+4>>2]<<1)-(N[c+4>>2]+N[b+4>>2]|0)|0;d=h>>31;if((d^h)-d>>>0>7){break g}d=N[b+8>>2];h=b;b=(N[e+8>>2]<<1)-N[c+8>>2]|0;N[h+8>>2]=b;b=d-b|0;if(a){N[a+8>>2]=N[a+8>>2]-b}if((j|0)==12){N[g+360>>2]=N[g+360>>2]-b;N[g+492>>2]=N[g+492>>2]-b}b=T(i,44)+g|0;L[b+12|0]=O[b+12|0]|4;if(!a){break g}L[a+12|0]=O[a+12|0]|4}i:{if(!f|(j|0)<=0){break i}c=g;while(1){b=O[c+12|0];j:{if(b&4){break j}a=N[c+28>>2];if(!a){break j}d=N[a+8>>2];a=N[a+4>>2];L[c+12|0]=b|4;N[c+8>>2]=N[c+4>>2]+(d-a|0);f=f-1|0}c=c+44|0;if(k>>>0>c>>>0){continue}break}if(!f){break i}d=g;while(1){c=d;k:{if(O[c+12|0]&4){break k}while(1){a=c;c=c-44|0;i=g>>>0>c>>>0;if(!(i|O[a-32|0]&4)){continue}break}f=d;l:{m:{n:{while(1){b=f;f=b+44|0;if(k>>>0<=f>>>0){break n}if(!(O[b+56|0]&4)){continue}break}if(c>>>0>=g>>>0){break m}e=N[d+4>>2]+(N[b+52>>2]-N[b+48>>2]|0)|0;break l}if(i){break k}a=a-44|0;e=N[d+4>>2]+(N[a+8>>2]-N[a+4>>2]|0)|0;break l}f=P[f>>1];c=P[c>>1];e=N[a-36>>2];if((f|0)==(c|0)){break l}c=c<<16>>16;a=N[a-36>>2];e=jb(M[d>>1]-c|0,N[b+52>>2]-a|0,(f<<16>>16)-c|0)+a|0}N[d+8>>2]=e}d=d+44|0;if(k>>>0>d>>>0){continue}break}}}function zC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;p=d<<3;q=T(c+7&-8,d);a:{b:{t=c<<1;r=t+4|0;if(r>>>0>=9){o=8;if(d){break b}c=p<<1;while(1){a=a+c|0;o=o+16|0;if(r>>>0>o>>>0){continue}break}}c=0;break a}c=0;while(1){s=0;while(1){e=c>>>0>=q>>>0?440592:(c<<1)+b|0;h=P[e+8>>1];i=P[e+12>>1];u=P[e+14>>1];j=P[e+10>>1];f=c-p|0;f=f>>>0>=q>>>0?440592:(f<<1)+b|0;v=P[f+12>>1];l=P[f+14>>1];f=P[e>>1];k=P[e+4>>1];m=P[e+6>>1];g=P[e+2>>1];e=(k+((m+g&65534)>>>1|0)&65534)>>>1|0;n=k+1|0;M[a+14>>1]=(n+((e+m&65534)>>>1|0)&65534)>>>1;M[a+12>>1]=(n+((e+g&65534)>>>1|0)&65534)>>>1;n=g+1|0;e=(g+((f+k&65534)>>>1|0)&65534)>>>1|0;M[a+10>>1]=(n+((e+k&65534)>>>1|0)&65534)>>>1;M[a+8>>1]=(n+((e+f&65534)>>>1|0)&65534)>>>1;e=(f+((g+l&65534)>>>1|0)&65534)>>>1|0;n=(e+g&65534)>>>1|0;g=f+1|0;M[a+6>>1]=(n+g&65534)>>>1;M[a+4>>1]=(g+((e+l&65534)>>>1|0)&65534)>>>1;e=(l+((f+v&65534)>>>1|0)&65534)>>>1|0;g=(e+f&65534)>>>1|0;f=l+1|0;M[a+2>>1]=(g+f&65534)>>>1;M[a>>1]=(f+((e+v&65534)>>>1|0)&65534)>>>1;f=p<<1;e=f+a|0;l=i+1|0;g=(i+((j+u&65534)>>>1|0)&65534)>>>1|0;M[e+14>>1]=(l+((g+u&65534)>>>1|0)&65534)>>>1;M[e+12>>1]=(l+((g+j&65534)>>>1|0)&65534)>>>1;g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;l=(g+i&65534)>>>1|0;i=j+1|0;M[e+10>>1]=(l+i&65534)>>>1;M[e+8>>1]=(i+((h+g&65534)>>>1|0)&65534)>>>1;g=h+1|0;i=j;j=(h+((j+m&65534)>>>1|0)&65534)>>>1|0;M[e+6>>1]=(g+((i+j&65534)>>>1|0)&65534)>>>1;M[e+4>>1]=(g+((j+m&65534)>>>1|0)&65534)>>>1;j=m+1|0;i=h;h=(m+((h+k&65534)>>>1|0)&65534)>>>1|0;M[e+2>>1]=(j+((i+h&65534)>>>1|0)&65534)>>>1;M[e>>1]=(j+((h+k&65534)>>>1|0)&65534)>>>1;c=c+8|0;a=a+16|0;s=s+1|0;if((s|0)!=(d|0)){continue}break}a=a+f|0;o=o+16|0;if(r>>>0>o>>>0){continue}break}}if(!(!d|t+3&8)){while(1){e=c-p|0;e=e>>>0>=q>>>0?440592:(e<<1)+b|0;m=P[e+12>>1];j=P[e+14>>1];f=c>>>0>=q>>>0?440592:(c<<1)+b|0;e=P[f>>1];k=P[f+6>>1];h=P[f+2>>1];f=P[f+4>>1];g=(((k+h&65534)>>>1|0)+f&65534)>>>1|0;i=(g+k&65534)>>>1|0;k=f+1|0;M[a+14>>1]=(i+k&65534)>>>1;M[a+12>>1]=(k+((h+g&65534)>>>1|0)&65534)>>>1;g=h+1|0;i=f;f=(h+((e+f&65534)>>>1|0)&65534)>>>1|0;M[a+10>>1]=(g+((i+f&65534)>>>1|0)&65534)>>>1;M[a+8>>1]=(g+((e+f&65534)>>>1|0)&65534)>>>1;f=e+1|0;i=h;h=(e+((h+j&65534)>>>1|0)&65534)>>>1|0;M[a+6>>1]=(f+((i+h&65534)>>>1|0)&65534)>>>1;M[a+4>>1]=(f+((h+j&65534)>>>1|0)&65534)>>>1;h=j+1|0;f=e;e=(j+((e+m&65534)>>>1|0)&65534)>>>1|0;M[a+2>>1]=(h+((f+e&65534)>>>1|0)&65534)>>>1;M[a>>1]=(h+((e+m&65534)>>>1|0)&65534)>>>1;c=c+8|0;a=a+16|0;w=w+1|0;if((w|0)!=(d|0)){continue}break}}}function tw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=La+-64|0;La=d;l=N[a+16>>2];b=161;a:{if(Q[a+20>>2]>>0){break a}e=N[a+32>>2];m=e+48|0;L[e+64|0]=1;i=-2147483648;g=2147483647;while(1){b=k<<2;j=b+d|0;n=b+(d+32|0)|0;c=N[l>>2];h=O[c|0];b:{if((h|0)==30){b=Wf(a,c,0,j);break b}f=c+1|0;c:{d:{e:{switch(h-28|0){case 0:b=0;if(Q[a+8>>2]<=c+2>>>0){break c}b=O[c+2|0]|O[f|0]<<8;break c;case 1:b=0;if(Q[a+8>>2]<=c+4>>>0){break c}b=O[c+1|0]|O[c+2|0]<<8|(O[c+3|0]<<16|O[c+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break d;default:break e}}if(h>>>0<=246){b=h-139|0;break c}c=N[a+8>>2];if(h>>>0<=250){b=0;if(c>>>0<=f>>>0){break c}b=(O[f|0]|h<<8)-63124|0;break c}b=0;if(c>>>0<=f>>>0){break c}b=64148-(O[f|0]|h<<8)|0}if((b|0)<32768){break c}c=5;f:{if(b>>>0<1e5){break f}c=6;if(b>>>0<1e6){break f}c=7;if(b>>>0<1e7){break f}c=8;if(b>>>0<1e8){break f}c=b>>>0<1e9?9:10}h=c-5|0;f=N[(h<<2)+33472>>2];if(((b|0)/(f|0)|0)>=32768){c=c-4|0;N[j>>2]=c;b=fb(b,N[(c<<2)+33472>>2]);break b}N[j>>2]=h;b=fb(b,f);break b}N[j>>2]=0;b=b<<16}N[n>>2]=b;if(b){b=N[j>>2];g=(b|0)<(g|0)?b:g;i=(b|0)>(i|0)?b:i}l=l+4|0;k=k+1|0;if((k|0)!=6){continue}break}if(!(i-1>>>0<4294967286|i-g>>>0>9)){k=0;h=0;a=N[d+32>>2];if(a){c=N[(i-N[d>>2]<<2)+33472>>2];b=c>>1;h=(((a|0)<0?a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0:a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0)|0)/(c|0)|0}a=N[d+36>>2];if(a){c=N[(i-N[d+4>>2]<<2)+33472>>2];b=c>>1;k=(((a|0)>=0?a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0:a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0)|0)/(c|0)|0}b=0;j=0;a=N[d+40>>2];if(a){g=N[(i-N[d+8>>2]<<2)+33472>>2];c=g>>1;j=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(g|0)|0}a=N[d+44>>2];if(a){c=N[(i-N[d+12>>2]<<2)+33472>>2];b=c>>1;b=(((a|0)>=0?a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0:a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0)|0)/(c|0)|0}g=0;f=0;a=N[d+48>>2];if(a){f=N[(i-N[d+16>>2]<<2)+33472>>2];c=f>>1;f=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(f|0)|0}a=N[d+52>>2];if(a){g=N[(i-N[d+20>>2]<<2)+33472>>2];c=g>>1;g=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(g|0)|0}N[e+48>>2]=h;N[e+72>>2]=f;N[e+56>>2]=k;N[e+76>>2]=g;N[e+60>>2]=b;N[e+52>>2]=j;N[e+68>>2]=N[33472-(i<<2)>>2];b=0;if(hg(m)){break a}}N[e+48>>2]=65536;N[e+52>>2]=0;N[e+68>>2]=1;N[e+72>>2]=0;N[e+76>>2]=0;N[e+56>>2]=0;N[e+60>>2]=65536;b=0}La=d- -64|0;return b|0}function tz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-288|0;La=d;e=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);hb(d+272|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);hb(d+240|0,b^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+208|0,b^(N[d+232>>2]^N[d+224>>2])^2025677871,N[d+236>>2]^N[d+228>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+176|0,b^(N[d+200>>2]^N[d+192>>2])^2025677871,N[d+204>>2]^N[d+196>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);b=a;hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+288|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function wE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-16|0;La=j;if(ib(c,b,13459,0)){e=N[a+112>>2];g=N[e+8>>2];if((g|0)==-1){i=N[N[e>>2]+8>>2];if(i){N[j+4>>2]=0;g=N[b+96>>2];h=N[g+28>>2];d=N[b+100>>2];f=j+4|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}i=Qa[h|0](b,d,i,f,g)|0;g=i?N[j+4>>2]:0}else{g=0}N[e+8>>2]=g}a:{if(!g){break a}m=N[c+68>>2];if(!m){break a}n=N[c+80>>2];p=n+3|0;i=N[b+24>>2];k=j+8|0;while(1){h=T(l,20);o=h+p|0;if(O[o+16|0]==4){h=N[h+n>>2];N[j+12>>2]=g;N[j+8>>2]=h;N[j+4>>2]=g;h=N[e+48>>2];b:{c:{if(!h){break c}d=N[e+44>>2];f=d+T(h,12)|0;while(1){h=8;if(Dc(i,P[d>>1],j+4|0,2,O[e+56|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+48>>2];if(!f){break c}d=N[e+44>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+56|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=N[e+80>>2];d:{if(!h){break d}d=N[e+76>>2];f=d+T(h,12)|0;while(1){h=8;if(Dc(i,P[d>>1],j+4|0,2,O[e+88|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+80>>2];if(!f){break d}d=N[e+76>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+88|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=N[e+64>>2];e:{if(!h){break e}d=N[e+60>>2];f=d+T(h,12)|0;while(1){h=11;if(Dc(i,P[d>>1],j+4|0,2,O[e+72|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+64>>2];if(!f){break e}d=N[e+60>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+72|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=4;f=N[e+32>>2];if(!f){break b}d=N[e+28>>2];f=d+T(f,12)|0;f:{while(1){if(Dc(i,P[d>>1],j+4|0,2,O[e+40|0])){break f}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+32>>2];if(!f){break b}d=N[e+28>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+40|0])){break f}d=d+12|0;if((f|0)!=(d|0)){continue}break}break b}h=11}L[o+16|0]=h}l=l+1|0;if((m|0)!=(l|0)){continue}break}}l=Og(b,c,4,11,14,14);h=N[c+68>>2];if(h){i=h-1|0;k=N[c+80>>2];g=k+3|0;e=0;d=O[k+15|0];while(1){g:{if((e|0)==(i|0)){e=h;break g}e=e+1|0;if(O[(g+T(e,20)|0)+12|0]==(d|0)){continue}}break}g=0;while(1){i=e;e=N[b+24>>2];h:{i:{switch(d&15){case 0:case 1:uq(N[a+112>>2],e,c,g,i);break h;case 2:case 4:break i;default:break h}}d=N[a+112>>2];if(O[(T(i,20)+k|0)-2|0]==11?O[d+5|0]:0){break h}uq(d,e,c,g,i)}e=N[c+68>>2];g=i+1|0;g=e>>>0>g>>>0?e:g;m=g-1|0;k=N[c+80>>2];d=O[(k+T(i,20)|0)+15|0];n=k+3|0;e=i;while(1){j:{if((e|0)==(m|0)){e=g;break j}e=e+1|0;if(O[(n+T(e,20)|0)+12|0]==(d&255)){continue}}break}g=i;if(i>>>0>>0){continue}break}}ib(c,b,13490,0)}La=j+16|0;return l|0}function Px(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=La-16|0;La=n;h=N[a+12>>2];k=N[a+200>>2];e=N[a+196>>2];l=M[a+32>>1];a:{if(l){if(Q[h+8>>2]>1]+(M[h+20>>1]+l|0)>>>0){c=Sb(h,0,l);if(c){break a}}c=20;if((l|0)>4094){break a}}c=20;f=l<<1;if((f+e|0)+2>>>0>k>>>0){break a}d=N[h+68>>2];b=O[e|0]<<8;g=b|O[e+1|0];if((l|0)>0){M[d>>1]=g}if(b<<16>>16<0){break a}i=d+f|0;while(1){b=d+2|0;if(b>>>0>>0){d=O[e+2|0]|O[e+3|0]<<8;j=d<<8|d>>>8;M[b>>1]=j;f=g<<16>>16;d=b;b=j<<16>>16;g=b;e=e+2|0;if((b|0)>(f|0)){continue}break a}break}f=N[h+4>>2];g=M[h+58>>1];if((l|0)<=0){j=0}else{b=M[d>>1];if((b|0)<-1){break a}j=b+1|0}b=j+4|0;if(f>>>0>1]|0)>>>0){c=Sb(h,b,0);if(c){break a}}b=N[a+8>>2];N[b+136>>2]=0;N[b+140>>2]=0;f=e+4|0;if(f>>>0>k>>>0){c=20;break a}b=O[e+2|0]|O[e+3|0]<<8;b=b<<8|b>>>8;b:{c:{if(O[a+16|0]&2){d=b&65535;break c}d=b&65535;if((d|0)>(k-f|0)){break b}g=N[a+156>>2];N[n+12>>2]=N[g+408>>2];e=N[g+8>>2];c=0;i=N[n+12>>2];d:{if(i>>>0>=d>>>0){break d}c=6;if((d|i)<0){break d}e:{if(!i){b=Qa[N[e+4>>2]](e,d)|0;c=!b<<6;break e}b=N[g+412>>2];c=Qa[N[e+12>>2]](e,i,d,b)|0;b=c?c:b;c=!c<<6}f:{if(!(c|(d|0)<=(i|0)|!b)){G(b+i|0,0,d-i|0);N[g+412>>2]=b;break f}N[g+412>>2]=b;if(c){break d}}N[n+12>>2]=d;c=0}e=N[a+156>>2];N[e+408>>2]=N[n+12>>2];if(c){break a}b=N[a+8>>2];N[b+140>>2]=d;c=b;b=N[e+412>>2];N[c+136>>2]=b;if(!d){break c}B(b,f,d)}b=d+f|0;e=N[h- -64>>2];if((j|0)>0){g=e+j|0;while(1){d=b+1|0;if(d>>>0>k>>>0){c=20;break a}f=O[b|0];L[e|0]=f;c=e+1|0;g:{if(!(f&8)){b=d;break g}b=b+2|0;if(k>>>0>>0){c=20;break a}d=O[d|0];if(g>>>0>>0){c=20;break a}if(!d){break g}G(c,f,d);c=((d-1&255)+e|0)+2|0}e=c;if(g>>>0>e>>>0){continue}break}e=N[h+64>>2]}if(!(!j|!(O[e|0]&64))){N[h+36>>2]=N[h+36>>2]|64}if(b>>>0>k>>>0){c=20;break a}if((j|0)>0){c=N[h+60>>2];o=c+(j<<3)|0;g=c;d=e;while(1){i=O[d|0];h:{if(i&2){f=b+1|0;if(f>>>0>k>>>0){c=20;break a}b=O[b|0];m=i&16?b:0-b|0;b=f;break h}m=0;if(i&16){break h}f=b+2|0;if(f>>>0>k>>>0){c=20;break a}b=O[b|0]|O[b+1|0]<<8;m=(b<<8|b>>>8)<<16>>16;b=f}p=m+p|0;N[g>>2]=p;d=d+1|0;g=g+8|0;if(o>>>0>g>>>0){continue}break}m=0;while(1){f=O[e|0];i:{if(f&4){d=b+1|0;if(d>>>0>k>>>0){c=20;break a}b=O[b|0];g=f&32?b:0-b|0;b=d;break i}g=0;if(f&32){break i}d=b+2|0;if(d>>>0>k>>>0){c=20;break a}b=O[b|0]|O[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16;b=d}m=g+m|0;N[c+4>>2]=m;L[e|0]=f&1;e=e+1|0;c=c+8|0;if(o>>>0>c>>>0){continue}break}}M[h+56>>1]=l;M[h+58>>1]=j;N[a+196>>2]=b;c=0;break a}c=22}La=n+16|0;return c|0}function hq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a+20>>2]=0;N[a+24>>2]=0;if(N[b+32>>2]==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[b+32>>2]=(c<<8|c>>>8)&65535}c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1752003704,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}if(N[c+16>>2]<0){break b}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+20>>2]=c;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];d:{if(c){c=Qa[c|0](b,1213612370,N[b+16>>2])|0;if(c){break d}}c=275552}d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}L[e+28|0]=0;N[e+36>>2]=c;f=N[c+12>>2];N[e+8>>2]=f;d=N[c+16>>2];N[e+12>>2]=d+f;if((d|0)<0){break b}N[e+32>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[e+16>>2]=d;N[e+24>>2]=0;N[e+4>>2]=0;d=c;e:{f:{if(!f){break f}g:{h:{i:{j:{if(Ge(f,e+4|0)){break j}k:{if(O[e+28|0]|!N[e+32>>2]){break k}if(!zb(c)){break k}while(1){L[e+28|0]=1;d=N[e+36>>2];f=N[d+12>>2];N[e+8>>2]=f;g=N[d+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break b}N[e+32>>2]=0;if(g>>>0>67108863){g=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}N[e+16>>2]=g;N[e+24>>2]=0;N[e+4>>2]=0;if(!f){break f}if(Ge(f,e+4|0)){break j}if(O[e+28|0]|!N[e+32>>2]){break k}d=zb(c);N[e+8>>2]=d;N[e+12>>2]=d+N[c+16>>2];if(d){continue}break}}ab(N[e+36>>2]);break i}if(!N[e+32>>2]){break h}N[e+32>>2]=0;d=Ge(f,e+4|0);f=N[e+32>>2];ab(N[e+36>>2]);if(f){break i}if(d){break g}}ab(c);c=275552;break e}ab(N[e+36>>2])}if(!N[c+4>>2]){break e}N[c+4>>2]=0;break e}ab(d)}N[a+24>>2]=c;c=N[b+28>>2];if(!c){c=$d(b+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;c=c-16>>>0>=16369?1e3:c;N[b+28>>2]=c}N[a+16>>2]=c>>>1;c=N[a+20>>2];c=N[(c?c:275552)+16>>2];d=Jd(b- -64|0);d=O[d+34|0]|O[d+35|0]<<8;f=(d<<8|d>>>8)&65535;d=f<<2;g=c&-2;if(d>>>0>g>>>0){f=c>>>2|0;d=c&-4}N[a>>2]=f;h=b+56|0;c=sb(h);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[a+4>>2]=c;f=g-d|0;g=N[a>>2];d=g;l:{if(c>>>0>=d>>>0){if(f>>>0>=c-d<<1>>>0){break l}d=(f>>>1|0)+d|0}N[a+4>>2]=d;c=d}if(g){d=c}else{N[a>>2]=0;N[a+4>>2]=0;d=0}c=d+((g+(f>>>1|0)|0)-c&2147483647)|0;N[a+8>>2]=c;f=N[b+32>>2];if((f|0)==-1){d=b;b=sb(h);b=O[b+4|0]|O[b+5|0]<<8;f=(b<<8|b>>>8)&65535;N[d+32>>2]=f;c=N[a+8>>2]}N[a+12>>2]=c>>>0>>0?f:c;La=e+48|0;return a}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}function Nf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}h=a-132|0;while(1){c=N[h>>2];if(!c){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;d=N[c+32>>2];if((d|0)==-1){d=sb(c+56|0);d=O[d+4|0]|O[d+5|0]<<8;d=(d<<8|d>>>8)&65535;N[c+32>>2]=d}L[b+40|0]=1;N[b+36>>2]=d;d=N[c+12>>2];b:{if(d){d=Qa[d|0](c,1717920116,N[c+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!d){break l}c=N[d>>2];if(!c){break l}if((c|0)<=0){break k}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;e=N[d+12>>2];N[b+4>>2]=e;g=N[d+16>>2];N[b+8>>2]=g+e;if((g|0)<0){break j}N[b+28>>2]=0;if(g>>>0>67108863){f=1073741823}else{c=g<<6;c=c>>>0<=16384?16384:c;f=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=f;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!e){break d}if(g>>>0<12){break h}N[b+12>>2]=f-12;if((O[e|0]|O[e+1|0]<<8)!=256){break h}c=O[e+4|0]|O[e+5|0]<<8;if(lh(e+12|0,b,(c<<8|c>>>8)&65535,e)){break i}if(O[b+24|0]|!N[b+28>>2]){break h}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break h}while(1){L[b+24|0]=1;c=N[b+32>>2];e=N[c+12>>2];N[b+4>>2]=e;g=N[c+16>>2];N[b+8>>2]=g+e;if((g|0)<0){break j}N[b+28>>2]=0;if(g>>>0>67108863){f=1073741823}else{f=g<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}N[b+12>>2]=f;N[b+20>>2]=0;N[b>>2]=0;if(!e){break d}if(g>>>0<12){break h}N[b+12>>2]=f-12;if((O[e|0]|O[e+1|0]<<8)!=256){break h}c=O[e+4|0]|O[e+5|0]<<8;if(lh(e+12|0,b,(c<<8|c>>>8)&65535,e)){break i}if(O[b+24|0]|!N[b+28>>2]){break h}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}break h}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!N[b+28>>2]){break g}N[b+28>>2]=0;if(Q[b+4>>2]>e>>>0){break h}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<12){break h}c=N[b+12>>2]-12|0;N[b+12>>2]=c;if((O[e|0]|O[e+1|0]<<8)!=256|(c|0)<=0){break h}c=O[e+4|0]|O[e+5|0]<<8;c=lh(e+12|0,b,(c<<8|c>>>8)&65535,e);if(N[b+28>>2]){break h}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(c){break f}break e}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break e}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(d);d=275552;break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=c;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<12?275552:N[d+12>>2]}function Wd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;i=La+-64|0;La=i;t=!(O[N[a+11672>>2]+5|0]?O[a+11661|0]:1);l=N[a+11716>>2];j=N[a+11720>>2];if((l|0)!=(b|0)|(j|0)!=(c|0)|t){Li(a,l,j,b,c,i+20|0,i+16|0);d=N[i+20>>2];n=d+N[a+11716>>2]|0;N[i+8>>2]=n;l=N[i+16>>2];j=l+N[a+11720>>2]|0;N[i+12>>2]=j;l=c+l|0;r=b+d|0;if(O[a+11663|0]){N[i+56>>2]=1;d=N[a+11728>>2];N[i+24>>2]=N[a+11724>>2];N[i+28>>2]=d;if(!O[a+20|0]){Ae(a,N[a+11732>>2],N[a+11736>>2])}k=a+8|0;e=N[a+11640>>2];h=e>>31;h=(e^h)-h|0;d=n>>31;g=(d^n)-d|0;a:{if(h+(g>>>8|0)>>>0<=8190){g=T(h,g)+32768>>>16|0;break a}d=h&65535;g=T(d,g>>>16|0)+T(g,h>>>16|0)+(T(d,g&65535)+32768>>>16)|0}d=g;f=0-d|0;d=e>>31|1;h=(((n|0)<0?0-d|0:d)|0)<0?f:g;g=N[a+11644>>2];e=g>>31;e=(e^g)-e|0;d=j>>31;f=(d^j)-d|0;b:{if(e+(f>>>8|0)>>>0<=8190){e=T(e,f)+32768>>>16|0;break b}d=e&65535;e=T(d,f>>>16|0)+T(f,e>>>16|0)+(T(d,f&65535)+32768>>>16)|0}d=e;o=Zc(k,j);s=N[a+11652>>2];f=0-d|0;d=g>>31|1;p=h+((((j|0)<0?0-d|0:d)|0)<0?f:e)|0;e=p>>31;q=N[a>>2];h=N[q+64>>2];d=h>>31;k=(e^p)-e|0;g=k>>>8|0;e=(d^h)-d|0;c:{if(g+e>>>0<=8190){e=T(e,k)+32768>>>16|0;break c}d=e&65535;e=T(d,k>>>16|0)+T(k,e>>>16|0)+(T(d,k&65535)+32768>>>16)|0}d=e;f=0-d|0;d=h>>31|1;u=(((p|0)<0?0-d|0:d)|0)<0?f:e;h=N[q+72>>2];f=h>>31;d=o>>31;m=(d^o)-d|0;e=m>>>8|0;f=(h^f)-f|0;d:{if(e+f>>>0<=8190){f=T(f,m)+32768>>>16|0;break d}d=f&65535;f=T(d,m>>>16|0)+T(m,f>>>16|0)+(T(m&65535,d)+32768>>>16)|0}d=f;v=0-d|0;d=h>>31|1;N[i+32>>2]=s+(u+((((o|0)<0?0-d|0:d)|0)<0?v:f)|0);s=N[a+11656>>2];h=N[q+68>>2];d=h>>31;f=g;g=(d^h)-d|0;e:{if(f+g>>>0<=8190){g=T(g,k)+32768>>>16|0;break e}d=g&65535;g=T(d,k>>>16|0)+T(k,g>>>16|0)+(T(d,k&65535)+32768>>>16)|0}d=g;f=0-d|0;d=h>>31|1;h=(((p|0)<0?0-d|0:d)|0)<0?f:g;g=N[q+76>>2];d=g>>31;f=e;e=(d^g)-d|0;f:{if(f+e>>>0<=8190){e=T(e,m)+32768>>>16|0;break f}d=e&65535;e=T(d,m>>>16|0)+T(m,e>>>16|0)+(T(d,m&65535)+32768>>>16)|0}d=e;f=0-d|0;d=g>>31|1;N[i+36>>2]=s+(h+((((o|0)<0?0-d|0:d)|0)<0?f:e)|0);d=N[a+4>>2];Qa[N[d>>2]](d,i+24|0);d=N[i+32>>2];h=N[i+36>>2];e=0;N[a+11700>>2]=e|n;N[a+11704>>2]=j;N[a+11724>>2]=d;N[a+11728>>2]=h;N[a+11708>>2]=e|r;N[a+11712>>2]=l;L[a+11660|0]=1;L[a+11663|0]=0}if(O[a+11740|0]){lf(a,a+8|0,i+8|0,r,l,0)}N[a+11744>>2]=2;L[a+11740|0]=1;j=N[i+12>>2];N[a+11748>>2]=N[i+8>>2];N[a+11752>>2]=j;N[a+11756>>2]=r;N[a+11760>>2]=l;if(t){kf(a+8|0,N[a+11664>>2],N[a+11668>>2],N[a+11672>>2],N[a+11676>>2],0)}N[a+11720>>2]=c;N[a+11716>>2]=b}La=i- -64|0}function JA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-16|0;La=j;N[a+64>>2]=0;N[a+1140>>2]=b;k=a+1140|0;N[a+1344>>2]=k;l=a+112|0;N[a+1136>>2]=l;d=b+c|0;N[a+1148>>2]=d;N[a+1144>>2]=b;m=160;a:{if((c|0)<=0){break a}c=l;f=k;while(1){g=b+1|0;e=22;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{h=O[b|0];switch(h-1|0){case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 13:case 14:case 20:case 21:case 29:case 30:break a;case 11:break j;case 12:break k;case 9:break f;case 10:break g;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break h;default:break i}}e=2;break f}if(d>>>0<=g>>>0){break a}g=b+2|0;h=20;e=4;switch(O[b+1|0]-7|0){case 5:break e;case 0:break f;default:break a}}if((h|0)==255){break d}}if(h>>>0<32){break a}if(h>>>0<=246){b=h-139|0}else{b=b+2|0;if(b>>>0>d>>>0){break a}e=h<<8;n=O[g|0];g=b;b=h>>>0<=250?(e+n|0)-63124|0:64148-(e|n)|0}b=i?b:b<<16;e=(i|0)!=0;break c}e=24}h=e;if(i){break a}}b=N[(h<<2)+294928>>2];if((b|0)>c-l>>2){m=161;break a}c=c-(b<<2)|0;l:{m:{n:{o:{switch(h-2>>>1|0){case 1:N[a+64>>2]=1;N[a+32>>2]=N[c>>2]+N[a+32>>2];N[a+36>>2]=N[c+4>>2]+N[a+36>>2];N[a+40>>2]=N[c+8>>2];b=N[c+12>>2];break l;case 9:o=c,p=fb(N[c>>2],N[c+4>>2]),N[o>>2]=p;c=c+4|0;i=0;b=g;break b;case 10:b=M[c+2>>1];d=N[a+1376>>2];if(d){N[j+8>>2]=b;e=N[d+20>>2];b=e+((Qa[N[d+12>>2]](j+8|0)>>>0)%Q[d+4>>2]<<2)|0;while(1){p:{h=N[b>>2];if(!h){break p}if(Qa[N[d+16>>2]](h,j+8|0)|0){break p}b=b-4|0;if(e>>>0<=b>>>0){continue}b=(e+(N[d+4>>2]<<2)|0)-4|0;continue}break}b=N[b>>2];if(!b){break a}b=N[b+4>>2]}if((b|0)<0|N[a+1364>>2]<=(b|0)|(f-k|0)>180){break a}N[f>>2]=g;g=b<<2;d=g+N[a+1368>>2]|0;b=N[d>>2];N[f+16>>2]=b;e=N[a+1372>>2];q:{if(e){d=N[e+g>>2]+b|0;break q}g=b;b=N[a+1360>>2];b=g+((b|0)>0?b:0)|0;N[f+16>>2]=b;d=N[d+4>>2]}N[f+12>>2]=b;N[f+20>>2]=d;if(!b){break a}f=f+12|0;break n;case 0:break m;case 11:break o;default:break a}}if(f>>>0<=k>>>0){break a}f=f-12|0;b=N[f>>2];d=N[f+8>>2]}N[a+1344>>2]=f;break b}N[a+64>>2]=1;N[a+32>>2]=N[c>>2]+N[a+32>>2];N[a+40>>2]=N[c+4>>2];b=0}N[a+44>>2]=b;m=0;break a}g=b+5|0;if(d>>>0>>0){break a}b=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b-32001>>>0<=4294903294){e=1;if(!i){break c}break a}b=i?b:b<<16;e=(i|0)!=0}i=e;if((c-l|0)>1020){break a}N[c>>2]=b;c=c+4|0;b=g}N[a+1136>>2]=c;if(b>>>0>>0){continue}break}}La=j+16|0;return m|0}function xn(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=La-16|0;La=l;i=N[b+20>>2];a:{b:{if(i){j=85;if(Qa[i|0](b,c,0,0)|0){break a}k=N[b+4>>2];break b}j=85;k=N[b+4>>2];if(k>>>0>>0){break a}}N[b+8>>2]=c;c:{if(c+1>>>0>=k>>>0){break c}d:{e:{i=N[b+20>>2];f:{if(i){k=l+6|0;if((Qa[i|0](b,c,k,2)|0)!=2){break c}i=N[b+8>>2];break f}i=N[b>>2];if(!i){break e}k=c+i|0;i=c}m=O[k|0]|O[k+1|0]<<8;k=i+2|0;N[b+8>>2]=k;j=8;q=(m<<8|m>>>8)<<16>>16;if((q|0)>4078){break a}if((q|0)>=0){break d}j=1;break a}k=c+2|0;N[b+8>>2]=k}while(1){g:{h:{i:{p=N[b+4>>2];if(p>>>0<=k+3>>>0){break i}j:{k:{m=N[b+20>>2];l:{if(m){i=l+8|0;if((Qa[m|0](b,k,i,4)|0)!=4){break i}p=N[b+4>>2];k=N[b+8>>2];break l}i=N[b>>2];if(!i){break k}i=i+k|0}i=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);m=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);break j}m=0}j=k+4|0;N[b+8>>2]=j;if(k+5>>>0>=p>>>0){break i}m:{n:{n=N[b+20>>2];o:{if(n){i=l+12|0;if((Qa[n|0](b,j,i,2)|0)!=2){break i}p=N[b+4>>2];j=N[b+8>>2];break o}i=N[b>>2];if(!i){break n}i=i+j|0}i=O[i|0]|O[i+1|0]<<8;n=i<<8|i>>>8;break m}n=0}k=j+2|0;N[b+8>>2]=k;if(j+3>>>0>=p>>>0){break i}j=N[b+20>>2];p:{if(j){i=l+14|0;if((Qa[j|0](b,k,i,2)|0)!=2){break i}k=N[b+8>>2];break p}i=N[b>>2];if(!i){break h}i=i+k|0}i=O[i|0]|O[i+1|0]<<8;i=i<<8|i>>>8;break g}j=85;break a}i=0}k=k+2|0;N[b+8>>2]=k;if((e|0)!=(m|0)){j=1;i=(o|0)==(q|0);o=o+1|0;if(!i){continue}break a}break}N[h>>2]=(n<<16>>16)+1;j=8;if((n&65535)>>>0>2726){break a}e=(i<<16>>16)+c|0;c=N[b+20>>2];q:{if(c){j=85;if(!(Qa[c|0](b,e,0,0)|0)){break q}break a}j=85;if(e>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=e;c=0;N[l>>2]=0;o=lb(a,8,0,N[h>>2],0,l);j=N[l>>2];if(j){break a}j=N[h>>2];r:{if((j|0)>0){while(1){i=o+(c<<3)|0;r=i,s=xb(b,l),M[r>>1]=s;j=N[l>>2];if(j){break r}m=N[b+8>>2]+2|0;s:{e=N[b+20>>2];if(e){if(!(Qa[e|0](b,m,0,0)|0)){break s}j=85;break r}if(m>>>0<=Q[b+4>>2]){break s}j=85;break r}N[b+8>>2]=m;N[l>>2]=0;m=Nb(b,l);j=N[l>>2];if(j){break r}n=N[b+8>>2]+4|0;t:{e=N[b+20>>2];if(e){if(!(Qa[e|0](b,n,0,0)|0)){break t}j=85;break r}if(n>>>0<=Q[b+4>>2]){break t}j=85;break r}N[b+8>>2]=n;N[l>>2]=0;if((m|0)<0){j=8;break r}N[i+4>>2]=m&16777215;c=c+1|0;j=N[h>>2];if((c|0)<(j|0)){continue}break}}b=0;if(f){Yc(o,j,8,114);j=N[h>>2]}c=lb(a,4,0,j,0,l);j=N[l>>2];if(!j){if(N[h>>2]>0){while(1){N[c+(b<<2)>>2]=N[(o+(b<<3)|0)+4>>2]+d;b=b+1|0;if((b|0)>2]){continue}break}}N[g>>2]=c;j=0}if(!o){break a}}Qa[N[a+8>>2]](a,o);break a}}La=l+16|0;return j}function Lj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=N[b+24>>2];if((c|0)==-1){c=0}else{c=c>>>0>=Q[b+16>>2]?275552:N[b+20>>2]+T(c,28)|0;c=Qa[N[c+12>>2]](N[c>>2],a,1)|0}i=c;f=N[a+96>>2];d=N[f+64>>2];a:{if(d>>>0>=Q[f+68>>2]){break a}while(1){if(!O[f+60|0]){break a}b:{c:{d:{e:{c=N[f+80>>2]+T(d,20)|0;h=N[c>>2];f:{if(!(N[b>>2]>>>(h>>>4)&1)|!(N[b+4>>2]>>>h&1)|(!(N[b+8>>2]>>>(h>>>9)&1)|!(N[a+132>>2]&N[c+4>>2]))){break f}g=N[a+140>>2];e=P[c+12>>1];if(g&e&14){break f}g:{if(!(e&8)){break g}if(g&16){e=275552;d=N[a+104>>2];c=O[d+1|0]<<8;h:{if((O[d|0]|c)!=256){break h}c=c|O[d|0]|(O[d+2|0]<<16|O[d+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){break h}c=O[d+12|0]|O[d+13|0]<<8;if(!c){break h}e=d+((c<<8|c>>>8)&65535)|0}if((O[e|0]|O[e+1|0]<<8)!=256){break f}c=O[e+2|0]|O[e+3|0]<<8;d=(c<<8|c>>>8)&65535;c=g>>>16|0;if(d>>>0>c>>>0){c=((c<<2)+e|0)+4|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0}else{c=275552}if((vb(c,h)|0)!=-1){break g}break f}c=g&65280;if(!c){break g}if((c|0)!=(e&65280)){break f}}e=N[b+16>>2];if(i){if(!e){break f}d=N[b+20>>2];while(1){c=N[a+96>>2];c=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];if(!(!(N[d+16>>2]>>>(c>>>4)&1)|!(N[d+20>>2]>>>c&1)|!(N[d+24>>2]>>>(c>>>9)&1))){if(Qa[N[d+8>>2]](N[d>>2],a)|0){break e}}d=d+28|0;e=e-1|0;if(e){continue}break}break f}if(!e){break f}d=N[b+20>>2];while(1){c=N[a+96>>2];c=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];if(!(!(N[d+16>>2]>>>(c>>>4)&1)|!(N[d+20>>2]>>>c&1)|!(N[d+24>>2]>>>(c>>>9)&1))){if(Qa[N[d+4>>2]](N[d>>2],a)|0){break e}}d=d+28|0;e=e-1|0;if(e){continue}break}}if(O[f+62|0]){e=N[f+84>>2];c=N[f+80>>2];d=N[f+72>>2];if(!((e|0)==(c|0)&(d|0)==N[f+64>>2])){g=d+1|0;if(!(!g|g>>>0>2])){if(!gb(f,g)){break c}d=N[f+72>>2];e=N[f+84>>2];c=N[f+80>>2]}h=N[f+64>>2];i:{if((c|0)!=(e|0)){break i}if(d+1>>>0<=h+1>>>0){e=c;break i}if(!O[f+62|0]){break d}e=N[f+88>>2];N[f+84>>2]=e;g=T(d,20);if(!g){break i}B(e,c,g);d=N[f+72>>2];e=N[f+84>>2];c=N[f+80>>2];h=N[f+64>>2]}g=T(d,20)+e|0;e=T(h,20)+c|0;c=N[e+4>>2];N[g>>2]=N[e>>2];N[g+4>>2]=c;N[g+16>>2]=N[e+16>>2];c=N[e+12>>2];N[g+8>>2]=N[e+8>>2];N[g+12>>2]=c;d=N[f+72>>2]}N[f+72>>2]=d+1}d=N[f+64>>2]+1|0;N[f+64>>2]=d;break b}d=N[f+64>>2];break b}ba(8694,17855,209,11932);F()}d=N[f+64>>2]}if(Q[f+68>>2]>d>>>0){continue}break}}if(i){c=N[b+24>>2];b=c>>>0>=Q[b+16>>2]?275552:N[b+20>>2]+T(c,28)|0;Qa[N[b+12>>2]](N[b>>2],a,0)|0}}function so(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=La-96|0;La=e;c=c^2025677871;d=d^-1602871964;a:{if(b>>>0<=16){if(b>>>0>=4){g=(a+b|0)-4|0;f=g;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);h=b>>>1&2147483644;g=g-h|0;g=0|(O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24));i=f;f=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a+h|0;h=j|(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24));break a}f=0;if(!b){break a}h=O[(b>>>1|0)+a|0];f=h>>>24|0;h=h<<8;j=f;k=O[(a+b|0)-1|0];a=O[a|0];f=a>>>16|0;h=k|(a<<16|h);f=f|j;break a}b:{c:{if(b>>>0<49){f=b;break c}f=b;i=d;g=c;h=g;j=d;while(1){hb(e+80|0,c^(O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24)),d^(O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24)),0,0,(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))^-1598805797,(O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))^-419201327,0,0);hb(e- -64|0,g^(O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24)),i^(O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24)),0,0,(O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24))^-1668757789,(O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24))^-1900254480,0,0);hb(e+48|0,h^(O[a+40|0]|O[a+41|0]<<8|(O[a+42|0]<<16|O[a+43|0]<<24)),j^(O[a+44|0]|O[a+45|0]<<8|(O[a+46|0]<<16|O[a+47|0]<<24)),0,0,(O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24))^1966558403,(O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24))^1486448076,0,0);a=a+48|0;h=N[e+56>>2]^N[e+48>>2];j=N[e+60>>2]^N[e+52>>2];g=N[e+72>>2]^N[e+64>>2];i=N[e+76>>2]^N[e+68>>2];c=N[e+88>>2]^N[e+80>>2];d=N[e+92>>2]^N[e+84>>2];f=f-48|0;if(f>>>0>48){continue}break}c=h^(c^g);d=j^(d^i);if(f>>>0<17){break b}}while(1){hb(e+32|0,c^(O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24)),d^(O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24)),0,0,(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))^-1598805797,(O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))^-419201327,0,0);a=a+16|0;c=N[e+40>>2]^N[e+32>>2];d=N[e+44>>2]^N[e+36>>2];f=f-16|0;if(f>>>0>16){continue}break}}f=a+f|0;a=f-8|0;g=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);a=f-16|0;h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);f=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24)}hb(e+16|0,c^g,d^i,0,0,h^-1598805797,f^-419201327,0,0);hb(e,N[e+24>>2]^N[e+16>>2],N[e+28>>2]^N[e+20>>2],0,0,b^-1598805797,-419201327,0,0);La=e+96|0;Pa=N[e+4>>2]^N[e+12>>2];return N[e>>2]^N[e+8>>2]}function rp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{b:{c:{h=N[b>>2];g=h<<1;if((g|0)<0){e=6;break c}d:{e:{if(g){e=10;if((g|0)>536870911){break c}f=h<<3;e=Qa[N[d+4>>2]](d,f)|0;if(!e|(g|0)<=0){break e}G(e,0,f)}N[a+12>>2]=e;break d}N[a+12>>2]=e;if(e){break d}return!e<<6}e=0;f:{if((h|0)<0){e=6;break f}g:{h:{i:{if(h){e=10;if((h|0)>76695844){break f}f=T(h,28);e=Qa[N[d+4>>2]](d,f)|0;if(!e|(h|0)<=0){break i}G(e,0,f)}N[a+8>>2]=e;m=a+8|0;break h}N[a+8>>2]=e;if(!e){break g}m=a+8|0}g=g|1;if((g|0)>=134217728){e=10;a=a+24|0;break b}e=g<<4;d=Qa[N[d+4>>2]](d,e)|0;if(d){g=0;G(d,0,e);N[a>>2]=h;N[a+24>>2]=d;N[a+28>>2]=0;N[a+20>>2]=0;N[a+4>>2]=0;N[a+16>>2]=N[a+12>>2]+(h<<2);j:{if(!h){break j}e=N[m>>2];f=N[b+8>>2];i=h&3;k:{if(!i){d=h;break k}d=h&-4;b=0;while(1){N[e>>2]=N[f>>2];N[e+4>>2]=N[f+4>>2];N[e+16>>2]=N[f+8>>2];f=f+12|0;e=e+28|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(h>>>0<4){break j}while(1){N[e>>2]=N[f>>2];N[e+4>>2]=N[f+4>>2];N[e+16>>2]=N[f+8>>2];N[e+28>>2]=N[f+12>>2];N[e+32>>2]=N[f+16>>2];N[e+44>>2]=N[f+20>>2];N[e+56>>2]=N[f+24>>2];N[e+60>>2]=N[f+28>>2];N[e+72>>2]=N[f+32>>2];N[e+84>>2]=N[f+36>>2];N[e+88>>2]=N[f+40>>2];N[e+100>>2]=N[f+44>>2];f=f+48|0;e=e+112|0;d=d-4|0;if(d){continue}break}}l:{if(!c){break l}j=N[c>>2];k=N[c+8>>2];N[a+32>>2]=c;if(!j){break l}while(1){p=N[k>>2];if(p){n=N[k+8>>2];f=0;l=0;d=0;while(1){if(!f){d=O[n|0];n=n+1|0;f=128}m:{if(!(d&f)|h>>>0<=l>>>0){break m}i=N[m>>2]+T(l,28)|0;b=N[i+16>>2];if(b&4){break m}N[i+16>>2]=b|4;c=N[a+16>>2];N[i+20>>2]=0;n:{if(!g){break n}q=N[i>>2];s=q+N[i+4>>2]|0;b=g;e=c;while(1){o=N[e>>2];r=N[o>>2];if(!((r|0)>(s|0)|(q|0)>(r+N[o+4>>2]|0))){N[i+20>>2]=o;break n}e=e+4|0;b=b-1|0;if(b){continue}break}}if(g>>>0>=h>>>0){break m}b=g+1|0;N[a+4>>2]=b;N[c+(g<<2)>>2]=i;g=b}f=f>>>1|0;l=l+1|0;if((p|0)!=(l|0)){continue}break}}k=k+16|0;j=j-1|0;if(j){continue}break}}d=0;if((g|0)==(h|0)){return 0}if(!h){return 0}while(1){i=N[m>>2]+T(d,28)|0;b=N[i+16>>2];o:{if(b&4){break o}N[i+16>>2]=b|4;b=N[a+16>>2];N[i+20>>2]=0;p:{if(!g){break p}k=N[i>>2];l=k+N[i+4>>2]|0;f=g;e=b;while(1){c=N[e>>2];j=N[c>>2];if(!((j|0)>(l|0)|(k|0)>(j+N[c+4>>2]|0))){N[i+20>>2]=c;break p}e=e+4|0;f=f-1|0;if(f){continue}break}}if(g>>>0>=h>>>0){break o}c=g+1|0;N[a+4>>2]=c;N[b+(g<<2)>>2]=i;g=c}e=0;d=d+1|0;if((d|0)!=(h|0)){continue}break}break a}e=64;a=a+24|0;break b}return!e<<6}a=a+8|0;break b}a=a+12|0}N[a>>2]=0}return e}function Hl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;w=N[a+16>>2];m=O[w+6|0]<<8|O[w+7|0]&254;if(!m){return 0}x=N[a>>2];z=N[x+508>>2]+N[x+512>>2]|0;d=N[b>>2];o=d+1|0;p=c?o:d;u=m+2|0;t=w+14|0;v=m>>>1|0;d=v;a:{b:{c:{while(1){d:{i=d+f|0;g=(i&-2)+t|0;j=O[g|0]<<8|O[g+1|0];e=i>>>1|0;h=e;g=g+u|0;n=O[g|0]<<8|O[g+1|0];if(n>>>0<=p>>>0){if(j>>>0>=p>>>0){break d}h=d;f=e+1|0}d=h;if(f>>>0>>0){continue}break c}break}f=0;A=v-1|0;d=g+m|0;h=d+m|0;g=O[h|0]<<8|O[h+1|0];k=(n|0)==65535&(j|0)==65535&A>>>0<=e>>>0&(g|0)!=0&(g+h|0)+2>>>0>z>>>0;q=k?0:g;d=O[d|0]|O[d+1|0]<<8;l=k?1:(d<<8|d>>>8)<<16>>16;e:{f:{g:{h:{i:{if(O[a+20|0]&2){s=e+1|0;d=(q|0)==65535?s:e;if(i>>>0<2){break i}f=e-1|0;r=f<<1;i=r+t|0;k=O[i|0]<<8|O[i+1|0];if(k>>>0

>>0){break i}l=t+u|0;j:{while(1){k:{g=k;i=f;n=l+r|0;y=n+m|0;h=y+m|0;q=O[h|0]<<8|O[h+1|0];d=(q|0)==65535?d:f;if(!f){break k}f=f-1|0;r=f<<1;k=r+t|0;k=O[k|0]<<8|O[k+1|0];if(k>>>0>=p>>>0){continue}break j}break}i=0;n=l}f=O[y|0]|O[y+1|0]<<8;l=(f<<8|f>>>8)<<16>>16;n=O[n+1|0]|O[n|0]<<8;break h}if((q|0)==65535){break f}break g}i=e;g=j}if((d|0)==(s|0)){j=(e|0)==(i|0)?g:j;f=0;if(s>>>0>=v>>>0){break f}r=(s<<1)+t|0;d=r+u|0;k=O[d|0]<<8|O[d+1|0];if(k>>>0>p>>>0){break f}g=(m+w|0)+12|0;d=e;l:{while(1){m:{n=k;i=s;j=r;l=(u+j|0)+m|0;h=l+m|0;q=O[h|0]<<8|O[h+1|0];d=(q|0)==65535?d:i;s=i+1|0;if((v|0)==(s|0)){break m}r=(s<<1)+t|0;h=r+u|0;k=O[h|0]<<8|O[h+1|0];if(k>>>0<=p>>>0){continue}break l}break}j=g;i=A}g=O[j+1|0]|O[j|0]<<8;if((d|0)==(e|0)){e=i;j=g;if(c){break b}break a}e=O[l|0]|O[l+1|0]<<8;l=(e<<8|e>>>8)<<16>>16}if((d|0)==(i|0)){e=d;j=g;break g}e=(d<<1)+t|0;j=O[e|0]<<8|O[e+1|0];e=e+u|0;n=O[e|0]<<8|O[e+1|0];e=e+m|0;h=e+m|0;q=O[h|0]<<8|O[h+1|0];e=O[e|0]|O[e+1|0]<<8;l=(e<<8|e>>>8)<<16>>16;e=d}if(!q){break e}d=((p-n<<1)+q|0)+h|0;n:{if(!c){break n}f=0;if(d>>>0<=z>>>0){break n}o=p;break b}d=O[d+1|0]|O[d|0]<<8;if(!d){break c}d=d+l&65535;f=d>>>0>2]?d:0}if(c){break b}break a}d=l+p|0;f=d&65535;if(!c){break a}if(Q[x+16>>2]>f>>>0){break b}c=l+j|0;o:{if((d|0)>=0){break o}f=0;if((c|0)<0){break o}o=0-l|0;break b}o=(d|0)<65536?(c|0)>65535?65536-l|0:o:o;f=0;break b}f=0;if(!c){break a}}c=f;if(j>>>0>>0){f=0;e=e+1|0;if((v|0)==(e|0)){break a}}p:{if(Fl(a,e)){f=c;if(f){break p}return 0}N[a+24>>2]=o;if(c){N[a+28>>2]=c;f=c;break p}Gl(a);f=N[a+28>>2];if(!f){return 0}o=N[a+24>>2]}N[b>>2]=o}return f}function ui(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;c=N[a>>2];f=N[c+96>>2];h=N[a+532>>2];g=a+304|0;b=b?b:N[N[c+168>>2]+16>>2]+T(N[N[a+64>>2]+24>>2],144)|0;B(g,b,144);p=!h|!(f&2);N[a+528>>2]=p;f=h?0:f;e=f&1?f|124:f;if(e&512){B(g,c+976|0,144)}l=N[c+168>>2];f=N[l+40>>2];j=+(f|0);d=j/288;if(e&4){S[a+312>>3]=d*S[c+984>>3];S[a+368>>3]=d*S[c+1040>>3];S[a+352>>3]=S[c+1024>>3];S[a+360>>3]=S[c+1032>>3]}if(e&8){N[a+308>>2]=N[c+980>>2];N[a+428>>2]=N[c+1100>>2]}if(e&16){N[a+320>>2]=N[c+992>>2];N[a+324>>2]=N[c+996>>2];N[a+328>>2]=N[c+1e3>>2];N[a+332>>2]=N[c+1004>>2]}if(e&32){N[a+336>>2]=N[c+1008>>2];N[a+340>>2]=N[c+1012>>2];N[a+344>>2]=N[c+1016>>2];N[a+348>>2]=N[c+1020>>2]}if(e&64){N[a+384>>2]=N[c+1056>>2];S[a+392>>3]=d*S[c+1064>>3];S[a+400>>3]=d*S[c+1072>>3]}if(e&128){N[a+408>>2]=N[c+1080>>2]}if(e&1024){N[a+440>>2]=N[c+1112>>2]}if(e&256){N[a+412>>2]=N[c+1084>>2];N[a+416>>2]=N[c+1088>>2];N[a+420>>2]=N[c+1092>>2]}m=N[a+308>>2];if(!m){m=N[b+4>>2];N[a+308>>2]=m}N[a+524>>2]=e;N[a+68>>2]=g;g=N[c+140>>2];i=+(g|0);n=N[c+144>>2];k=+(n|0);if(!(!N[c+72>>2]|h)){k=S[c+160>>3];i=S[c+152>>3]}h=N[l+36>>2];j=i/j;S[a+544>>3]=j;o=k/+(h|0);S[a+536>>3]=o;e=N[l+92>>2];a:{if((e|0)>0){b=N[l+96>>2];if((b|0)>0){break a}}e=N[c+24>>2];if((e|0)>0){b=N[c+28>>2];if((b|0)>0){break a}}d=S[c+80>>3];b:{if(!(d<=0|d==1|(!n|!g))){if(d>1){b=pc(+((T(f,n)|0)/(g|0)|0)/d);e=(b|0)<=1?1:b;b=f;break a}b=pc(d*+((T(h,g)|0)/(n|0)|0));b=(b|0)<=1?1:b;break b}b=f}e=h}d=i/+(b|0);S[a+576>>3]=d;i=k/+(e|0);S[a+568>>3]=i;b=N[l+60>>2];k=b?j:d;S[a+560>>3]=k;q=b?o:i;S[a+552>>3]=q;if(p){r=d;d=S[c+32>>3];S[a+576>>3]=r*d;S[a+568>>3]=i*d;S[a+560>>3]=k*d;S[a+552>>3]=q*d;S[a+544>>3]=j*d;S[a+536>>3]=o*d}N[a+496>>2]=m;b=N[a+324>>2];N[a+224>>2]=N[a+320>>2];N[a+228>>2]=b;b=N[a+332>>2];N[a+232>>2]=N[a+328>>2];N[a+236>>2]=b;S[a+80>>3]=S[a+312>>3];N[a+92>>2]=(N[a+348>>2]!=0)<<1|N[a+344>>2]!=0;s=a,t=nb(m),N[s+500>>2]=t;N[a+512>>2]=N[a+428>>2];b=N[a+340>>2];N[a+504>>2]=N[a+336>>2];N[a+508>>2]=b;rg(a);L[a+259|0]=0;N[a+104>>2]=0;N[a+108>>2]=0;N[a+112>>2]=0;N[a+116>>2]=0;N[a+220>>2]=N[a+384>>2];d=S[a+392>>3];S[a+208>>3]=d;S[a+200>>3]=d;S[a+176>>3]=S[a+352>>3];S[a+184>>3]=S[a+360>>3];S[a+192>>3]=S[a+368>>3];S[a+264>>3]=S[a+432>>3];d=S[a+400>>3];S[a+280>>3]=d;S[a+272>>3]=d;N[a+128>>2]=0;N[a+132>>2]=0;N[a+136>>2]=0;N[a+140>>2]=0;S[a+120>>3]=S[a+376>>3];N[a+520>>2]=N[a+424>>2]}function Qh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=N[a+100>>2];a:{b:{j=N[a+736>>2];if(!j){d=qe(a,0);if(d){break b}j=N[a+736>>2]}m=N[j+12>>2];f=N[m>>2];c:{d=N[j+4>>2];if(d){break c}d=0;if((f|0)<0){d=6;break a}d:{if(f){d=10;if((f|0)>536870911){break a}g=f<<2;d=Qa[N[l+4>>2]](l,g)|0;if(!d|(f|0)<=0){break d}G(d,0,g)}N[j+4>>2]=d;break c}N[j+4>>2]=d;if(d){break c}return!d<<6}f=b>>>0>f>>>0?f:b;e:{if(!f){g=0;break e}h=f&3;b=0;f:{if(f>>>0<4){g=0;break f}e=f&-4;g=0;while(1){i=N[c>>2];if((i|0)!=N[d>>2]){N[d>>2]=i;g=1}i=N[c+4>>2];if((i|0)!=N[d+4>>2]){N[d+4>>2]=i;g=1}i=N[c+8>>2];if((i|0)!=N[d+8>>2]){N[d+8>>2]=i;g=1}i=N[c+12>>2];if((i|0)!=N[d+12>>2]){N[d+12>>2]=i;g=1}d=d+16|0;c=c+16|0;k=k+4|0;if((e|0)!=(k|0)){continue}break}}if(!h){break e}while(1){e=N[c>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}d=d+4|0;c=c+4|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}h=N[m>>2];b=N[a+4>>2];g:{if(b&2147418112){if(f>>>0>=h>>>0){break g}c=N[(N[m+16>>2]+T(b>>>16|0,12)|0)-12>>2]+(f<<2)|0;i=h+(f^-1)|0;e=h-f&3;if(e){b=0;while(1){k=N[c>>2];if((k|0)!=N[d>>2]){N[d>>2]=k;g=1}d=d+4|0;c=c+4|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}b=f+e|0}else{b=f}if(i>>>0<3){break g}while(1){e=N[c>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}e=N[c+4>>2];if((e|0)!=N[d+4>>2]){N[d+4>>2]=e;g=1}e=N[c+8>>2];if((e|0)!=N[d+8>>2]){N[d+8>>2]=e;g=1}e=N[c+12>>2];if((e|0)!=N[d+12>>2]){N[d+12>>2]=e;g=1}d=d+16|0;c=c+16|0;b=b+4|0;if((h|0)!=(b|0)){continue}break}break g}if(f>>>0>=h>>>0){break g}i=h+(f^-1)|0;c=N[m+12>>2]+T(f,24)|0;e=h-f&3;if(e){b=0;while(1){k=N[c+8>>2];if((k|0)!=N[d>>2]){N[d>>2]=k;g=1}d=d+4|0;c=c+24|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}b=f+e|0}else{b=f}if(i>>>0<3){break g}while(1){e=N[c+8>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}e=N[c+32>>2];if((e|0)!=N[d+4>>2]){N[d+4>>2]=e;g=1}e=N[c+56>>2];if((e|0)!=N[d+8>>2]){N[d+8>>2]=e;g=1}e=N[c+80>>2];if((e|0)!=N[d+12>>2]){N[d+12>>2]=e;g=1}d=d+16|0;c=c+96|0;b=b+4|0;if((h|0)!=(b|0)){continue}break}}if(N[j+8>>2]){d=-1;if(!g){break b}}c=0;if((h|0)<0){return 6}h:{if(!h){break h}d=10;if((h|0)>536870911){break b}b=h<<2;c=Qa[N[l+4>>2]](l,b)|0;if(!(!c|(h|0)<=0)){G(c,0,b);break h}if(c){break h}d=!c<<6;break b}b=N[a+736>>2];if(!O[b+24|0]){Wm(a);b=N[a+736>>2]}Vm(b,f,N[j+4>>2],c);d=$f(a,N[m>>2],c,0);if(!d){N[a+8>>2]=N[a+8>>2]&-32769|((f|0)!=0)<<15;d=0}if(!c){break b}Qa[N[l+8>>2]](l,c);return d|0}return d|0}N[j+4>>2]=0;return d|0}function De(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=N[N[b>>2]+16>>2];i=N[(h<<2)+293584>>2];e=N[b+36>>2];g=N[e+12>>2];a:{if(!N[g+4>>2]){break a}e=P[N[e>>2]+68>>1];if((e|0)==N[g+28>>2]&(e|0)==N[g+32>>2]){break a}N[g+32>>2]=e;N[g+28>>2]=e;N[g+12>>2]=N[g+12>>2]+1;Fe(g)}while(1){e=a;a=e+1|0;f=O[e|0];if((f|0)==32){continue}break}a=e;while(1){if((f|32)!=32){a=a+1|0;a=f<<24>>24<0?(f>>>0<224?1:f>>>0<240?2:3)+a|0:a;f=O[a|0];continue}break}if(N[c+4>>2]){N[c+36>>2]=0;N[c+40>>2]=0;L[c+61|0]=0;L[c+62|0]=0;L[c+63|0]=0;L[c+64|0]=0;L[c+65|0]=0;L[c+66|0]=0;L[c+67|0]=0;L[c+68|0]=0;L[c+60|0]=1;N[c+144>>2]=0;N[c+92>>2]=0;N[c+96>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;L[c+68|0]=0;L[c+69|0]=0;L[c+70|0]=0;L[c+71|0]=0;L[c+72|0]=0;L[c+73|0]=0;L[c+74|0]=0;L[c+75|0]=0;N[c+84>>2]=N[c+80>>2];N[c+100>>2]=0;N[c+104>>2]=0;N[c+108>>2]=0;N[c+112>>2]=0;N[c+116>>2]=0;N[c+120>>2]=0;N[c+124>>2]=0;N[c+128>>2]=0;N[c+132>>2]=0;N[c+136>>2]=0;M[c+140>>1]=0}f=a-e|0;yl(c,e,f,f);zl(c);h=(h|0)!=10;Ee(g,c,i,h);if(!h){N[d>>2]=N[c+68>>2];return a}b=N[N[b+36>>2]+16>>2];if(N[b+4>>2]){N[b+36>>2]=0;N[b+40>>2]=0;L[b+61|0]=0;L[b+62|0]=0;L[b+63|0]=0;L[b+64|0]=0;L[b+65|0]=0;L[b+66|0]=0;L[b+67|0]=0;L[b+68|0]=0;L[b+60|0]=1;N[b+144>>2]=0;N[b+92>>2]=0;N[b+96>>2]=0;N[b+52>>2]=0;N[b+56>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;L[b+68|0]=0;L[b+69|0]=0;L[b+70|0]=0;L[b+71|0]=0;L[b+72|0]=0;L[b+73|0]=0;L[b+74|0]=0;L[b+75|0]=0;N[b+84>>2]=N[b+80>>2];N[b+100>>2]=0;N[b+104>>2]=0;N[b+108>>2]=0;N[b+112>>2]=0;N[b+116>>2]=0;N[b+120>>2]=0;N[b+124>>2]=0;N[b+128>>2]=0;N[b+132>>2]=0;N[b+136>>2]=0;M[b+140>>1]=0}yl(b,e,f,f);zl(b);f=0;Ee(g,b,0,0);e=N[c+68>>2];b:{if((e|0)!=N[b+68>>2]){break b}g=N[c+80>>2];c:{d:{if(!e){break d}b=N[b+80>>2];while(1){h=T(f,20);if(N[h+g>>2]!=N[b+h>>2]){break d}f=f+1|0;if((f|0)!=(e|0)){continue}break}break c}if((e|0)!=(f|0)){break b}}if(!N[c+4>>2]){break b}N[c+36>>2]=0;N[c+40>>2]=0;L[c+61|0]=0;L[c+62|0]=0;L[c+63|0]=0;L[c+64|0]=0;L[c+65|0]=0;L[c+66|0]=0;L[c+67|0]=0;L[c+68|0]=0;L[c+60|0]=1;e=0;N[c+144>>2]=0;N[c+84>>2]=g;N[c+92>>2]=0;N[c+96>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;L[c+68|0]=0;L[c+69|0]=0;L[c+70|0]=0;L[c+71|0]=0;L[c+72|0]=0;L[c+73|0]=0;L[c+74|0]=0;L[c+75|0]=0;N[c+100>>2]=0;N[c+104>>2]=0;N[c+108>>2]=0;N[c+112>>2]=0;N[c+116>>2]=0;N[c+120>>2]=0;N[c+124>>2]=0;N[c+128>>2]=0;N[c+132>>2]=0;N[c+136>>2]=0;M[c+140>>1]=0}N[d>>2]=e;return a}function Kk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=La-32|0;La=p;k=N[a+96>>2];g=N[k+64>>2];i=O[k+62|0]?N[k+72>>2]:g;l=f-g|0;a:{if(!b){break a}f=i-g|0;if(b>>>0>=4){o=b&-4;while(1){g=h<<2;m=g+c|0;N[m>>2]=f+N[m>>2];m=(g|4)+c|0;N[m>>2]=f+N[m>>2];m=(g|8)+c|0;N[m>>2]=f+N[m>>2];g=(g|12)+c|0;N[g>>2]=f+N[g>>2];h=h+4|0;if((o|0)!=(h|0)){continue}break}}g=b&3;if(!g){break a}while(1){o=(h<<2)+c|0;N[o>>2]=f+N[o>>2];h=h+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}o=i+l|0;b:{if(!d){break b}m=0;while(1){if(!O[k+60|0]){break b}f=(m<<2)+e|0;g=O[f|0]|O[f+1|0]<<8;n=(g<<8|g>>>8)&65535;c:{if(n>>>0>=b>>>0){break c}r=(n<<2)+c|0;i=N[r>>2];g=N[k+64>>2];g=(N[k+68>>2]-g|0)+(O[k+62|0]?N[k+72>>2]:g)|0;if(i>>>0>=g>>>0){break c}if(!cc(k,i)|N[k+152>>2]<=0){break b}h=N[a+96>>2];if(N[h+156>>2]){if(O[k+62|0]){yc(h);h=N[a+96>>2]}i=O[f+2|0]|O[f+3|0]<<8;l=N[a+88>>2];N[p+20>>2]=N[k+64>>2];N[p+16>>2]=(i<<8|i>>>8)&65535;ib(h,l,17153,p+16|0);h=N[a+96>>2]}d:{l=N[a+144>>2];e:{if(!l){break e}j=N[a+100>>2];if(!j){break e}i=O[f+2|0]|O[f+3|0]<<8;q=N[h+152>>2];N[h+152>>2]=q-1;if((q|0)>0){break d}}L[h+61|0]=1;break c}N[a+144>>2]=l-1;i=Qa[j|0](a,(i<<8|i>>>8)&65535)|0;N[a+144>>2]=N[a+144>>2]+1;if(!i){break c}h=N[a+96>>2];if(N[h+156>>2]){if(O[k+62|0]){yc(h);h=N[a+96>>2]}i=N[a+88>>2];f=O[f+2|0]|O[f+3|0]<<8;N[p>>2]=(f<<8|f>>>8)&65535;ib(h,i,8337,p)}f=N[k+64>>2];f=(N[k+68>>2]-f|0)+(O[k+62|0]?N[k+72>>2]:f)|0;if((f|0)==(g|0)){break c}l=f-g|0;f=l+o|0;i=N[r>>2];o=(f|0)>(i|0)?f:i;g=n+1|0;j=l+((f|0)<(i|0)?i-f|0:0)|0;f:{if((j|0)>0){i=b+j|0;f=g;if(i>>>0<=64){break f}break b}f=g-b|0;j=(f|0)<(j|0)?j:f;i=j+b|0;f=g-j|0}l=f;f=(f<<2)+c|0;B(f+(j<<2)|0,f,b-l<<2);b=j+l|0;h=b;g:{if(b>>>0<=g>>>0){break g}n=b-n|0;q=n-2|0;f=N[r>>2];b=0;n=n-1&3;if(n){while(1){f=f+1|0;N[(g<<2)+c>>2]=f;g=g+1|0;b=b+1|0;if((n|0)!=(b|0)){continue}break}}if(q>>>0<=2){break g}while(1){b=(g<<2)+c|0;N[b>>2]=f+1;N[b+4>>2]=f+2;N[b+8>>2]=f+3;f=f+4|0;N[b+12>>2]=f;g=g+4|0;if((g|0)!=(h|0)){continue}break}}h:{if(h>>>0>=i>>>0){break h}f=0;b=i-h&3;if(b){while(1){g=(h<<2)+c|0;N[g>>2]=N[g>>2]+j;h=h+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}if(((j^-1)+i|0)-l>>>0<3){break h}while(1){b=(h<<2)+c|0;N[b>>2]=N[b>>2]+j;N[b+4>>2]=N[b+4>>2]+j;N[b+8>>2]=N[b+8>>2]+j;N[b+12>>2]=N[b+12>>2]+j;h=h+4|0;if((i|0)!=(h|0)){continue}break}}b=i}m=m+1|0;if((m|0)!=(d|0)){continue}break}}cc(k,o);La=p+32|0}function Kd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{if(!(O[a+62|0]|O[b+62|0])){if(!(N[b+68>>2]?!N[a+68>>2]|O[a+63|0]==O[b+63|0]:1)){break b}if(!(N[b+68>>2]?!N[a+68>>2]|N[a+36>>2]==N[b+36>>2]:1)){break a}e=N[b+68>>2];d=d>>>0>e>>>0?e:d;c:{if(d>>>0<=c>>>0){break c}e=N[a+68>>2];g=c>>>0>d>>>0?d:c;h=d-g|0;f=e+h|0;if(e>>>0>f>>>0){L[a+60|0]=0;return}d:{if(!N[a+4>>2]){break d}c=e;e:{if(!f){break e}if(f>>>0>2]){break e}if(!gb(a,f)){break d}c=N[a+68>>2]}f:{if(c>>>0>>0){i=T(f-c|0,20);if(i){G(N[a+80>>2]+T(c,20)|0,0,i)}g:{if(!O[a+63|0]){break g}c=N[a+68>>2];i=T(f-c|0,20);if(!i){break g}G(N[a+88>>2]+T(c,20)|0,0,i)}N[a+68>>2]=f;break f}N[a+68>>2]=f;if(f){break f}N[a+132>>2]=0;N[a+36>>2]=0}N[a+136>>2]=0}if(!O[a+60|0]){break c}if(!e){N[a+36>>2]=N[b+36>>2]}h:{if(O[a+63|0]|!O[b+63|0]){break h}N[a+72>>2]=0;M[a+62>>1]=256;N[a+84>>2]=N[a+80>>2];c=T(N[a+68>>2],20);if(!c){break h}G(N[a+88>>2],0,c)}c=N[a+40>>2];if(!c){c=N[b+40>>2];N[a+40>>2]=c}i:{if(N[b+40>>2]!=(c|0)){break i}c=N[a+44>>2];if(!c){c=N[b+44>>2];N[a+44>>2]=c}if(N[a+48>>2]|N[b+44>>2]!=(c|0)){break i}N[a+48>>2]=N[b+48>>2]}c=T(h,20);j:{if(!c){break j}f=T(e,20);h=T(g,20);B(f+N[a+80>>2]|0,h+N[b+80>>2]|0,c);if(!O[a+63|0]){break j}B(f+N[a+88>>2]|0,h+N[b+88>>2]|0,c)}if(N[b+36>>2]!=1){break c}k:{if((g|0)==(0-N[b+132>>2]|0)|e){break k}N[a+132>>2]=0;l:{if(!g){break l}e=N[b+80>>2];c=g-1|0;N[a+92>>2]=N[e+T(c,20)>>2];N[a+132>>2]=1;f=c>>>0>=4?4:c;if(!f){break l}c=e+T(g,20)|0;N[a+96>>2]=N[c-40>>2];N[a+132>>2]=2;e=f+1|0;if((e|0)==2){break l}N[a+100>>2]=N[c-60>>2];N[a+132>>2]=3;if((e|0)==3){break l}N[a+104>>2]=N[c-80>>2];N[a+132>>2]=4;if((e|0)==4){break l}N[a+108>>2]=N[c-100>>2];N[a+132>>2]=5}if(!N[b+132>>2]){break k}f=a+92|0;g=b+92|0;c=0;while(1){e=N[a+132>>2];if(e>>>0>4){break k}h=N[g+(c<<2)>>2];N[a+132>>2]=e+1;N[f+(e<<2)>>2]=h;c=c+1|0;if(c>>>0>2]){continue}break}}c=0;N[a+136>>2]=0;m:{if(Q[b+68>>2]<=d>>>0){break m}f=N[b+80>>2];e=0;while(1){g=N[f+T(d,20)>>2];N[a+136>>2]=e+1;N[((e<<2)+a|0)+112>>2]=g;d=d+1|0;if(d>>>0>=Q[b+68>>2]){break m}e=N[a+136>>2];if(e>>>0<=4){continue}break}}if(!N[b+136>>2]){break c}while(1){d=N[a+136>>2];if(d>>>0>4){break c}e=N[((c<<2)+b|0)+112>>2];N[a+136>>2]=d+1;N[((d<<2)+a|0)+112>>2]=e;c=c+1|0;if(c>>>0>2]){continue}break}}return}ba(8661,17855,1878,16605);F()}ba(12911,17855,1880,16605);F()}ba(12992,17855,1882,16605);F()}function Ys(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{if(!N[c+88>>2]){N[c+100>>2]=N[d+100>>2];N[c+104>>2]=N[d+104>>2];g=N[d+80>>2];N[c+80>>2]=g;f=N[d+76>>2];L[c+94|0]=7;N[c+76>>2]=f;M[c+92>>1]=256;g=g<<2;N[c+84>>2]=g;i=T(f,g);k=N[N[c+4>>2]+100>>2];f=N[c+156>>2];g=N[f+4>>2];c:{if(g&1){N[c+88>>2]=0;break c}N[f+4>>2]=g|1}d:{e:{f:{if((i|0)<=0){g=6;if(i){break f}break d}e=Qa[N[k+4>>2]](k,i)|0;if(e){break e}g=64}N[c+88>>2]=0;return g|0}G(e,0,i)}N[c+88>>2]=e;G(e,0,i);break b}h=N[d+104>>2];l=h-N[d+76>>2]|0;m=N[c+104>>2];n=N[c+76>>2];i=m-n|0;k=N[d+100>>2];e=k+N[d+80>>2]|0;f=N[c+100>>2];g=f+N[c+80>>2]|0;if(!((f|0)>(k|0)|(e|0)>(g|0)|(h|0)>(m|0))){if((i|0)<=(l|0)){break b}}h=(h|0)<(m|0)?m:h;m=h-((i|0)<(l|0)?i:l)|0;l=(f|0)<(k|0)?f:k;i=((e|0)<(g|0)?g:e)-l|0;o=i<<2;e=T(m,o);g:{if((e|0)<=0){f=6;if(!e){break g}break a}g=N[a+100>>2];p=Qa[N[g+4>>2]](g,e)|0;if(!p){return 64}G(p,0,e);n=N[c+76>>2]}if(n){f=(T(o,h-N[c+104>>2]|0)+p|0)+(N[c+100>>2]-l<<2)|0;e=N[c+88>>2];while(1){B(f,e,N[c+80>>2]<<2);f=f+o|0;e=N[c+84>>2]+e|0;j=j+1|0;if(j>>>0>2]){continue}break}}e=N[c+156>>2];f=N[e+4>>2];if(f&1){k=N[c+88>>2];if(k){g=N[N[c+4>>2]+100>>2];Qa[N[g+8>>2]](g,k);e=N[c+156>>2];f=N[e+4>>2]}f=f&-2;N[e+4>>2]=f}N[c+104>>2]=h;N[c+88>>2]=p;N[c+100>>2]=l;N[c+80>>2]=i;N[c+76>>2]=m;N[c+84>>2]=o;N[e+4>>2]=f|1;N[c+72>>2]=1651078259}h:{if((b|0)==65535){if(O[a+676|0]){e=O[a+680|0];j=O[a+679|0];h=O[a+677|0];g=O[a+678|0];break h}b=N[a+656>>2];if(b){e=255;j=255;h=255;g=255;if(O[b+(P[a+668>>1]<<1)|0]&2){break h}}j=0;e=255;h=0;g=0;break h}a=N[a+672>>2]+(b<<2)|0;e=O[a+3|0];j=O[a+2|0];h=O[a|0];g=O[a+1|0]}f=0;l=N[d+76>>2];if(!l|!N[d+80>>2]){break a}m=j&255;i=h&255;k=e&255;a=N[c+84>>2];b=(N[c+88>>2]+T(a,N[c+104>>2]-N[d+104>>2]|0)|0)+(N[d+100>>2]-N[c+100>>2]<<2)|0;h=N[d+88>>2];n=0;e=1;while(1){j=0;f=0;if(e){while(1){e=(j<<2)+b|0;f=(T(k,O[h+j|0])>>>0)/255|0;a=255-f|0;L[e+1|0]=(((T(a,O[e+1|0])&65535)>>>0)/255|0)+(((T(f,g)&65535)>>>0)/255|0);L[e|0]=(((T(a,O[e|0])&65535)>>>0)/255|0)+(((T(f,i)&65535)>>>0)/255|0);L[e+2|0]=(((T(a,O[e+2|0])&65535)>>>0)/255|0)+(((T(f,m)&65535)>>>0)/255|0);L[e+3|0]=f+(((T(a,O[e+3|0])&65535)>>>0)/255|0);f=N[d+80>>2];j=j+1|0;if(f>>>0>j>>>0){continue}break}l=N[d+76>>2];a=N[c+84>>2]}b=a+b|0;h=N[d+84>>2]+h|0;e=f;n=n+1|0;if(n>>>0>>0){continue}break}f=0}return f|0}function ft(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-16|0;La=j;k=N[a+100>>2];N[j+12>>2]=0;a:{if(!N[a+868>>2]){i=3;break a}b:{i=Qa[N[a+516>>2]](a,1129270354,b,j+8|0)|0;if(i){break b}i=8;c=N[j+8>>2];if(c>>>0<14){break b}i=dc(b,c,j+12|0);if(i){break b}e=N[j+12>>2];c=Qa[N[k+4>>2]](k,44)|0;if(!c){i=64;break b}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;i=8;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;f=O[e|0]|O[e+1|0]<<8;d=f<<8|f>>>8;M[c>>1]=d;if((d&65535)>>>0>1){f=c;break b}f=O[e+2|0]|O[e+3|0]<<8;h=f<<8|f>>>8;M[c+2>>1]=h;f=N[j+8>>2];g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);l=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(f>>>0<=l>>>0){f=c;break b}if(f-l>>>0>>0){f=c;break b}g=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);h=O[e+12|0]|O[e+13|0]<<8;h=h<<8|h>>>8;M[c+4>>1]=h;m=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(m>>>0>=f>>>0){f=c;break b}if(f-m>>>0<(h&65535)<<2>>>0){f=c;break b}if((d&65535)==1){g=O[e+14|0]|O[e+15|0]<<8|(O[e+16|0]<<16|O[e+17|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(h>>>0>=f>>>0){f=c;break b}g=e+h|0;d=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);n=T(d,6);if(n>>>0>f-h>>>0){f=c;break b}N[c+20>>2]=g;N[c+16>>2]=d;d=O[e+18|0]|O[e+19|0]<<8|(O[e+20|0]<<16|O[e+21|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>=f>>>0){f=c;break b}c:{if(d){p=f-d|0;d=e+d|0;h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);o=h<<2;if(p>>>0>>0){f=c;break b}N[c+28>>2]=d;N[c+24>>2]=h;b=g+n|0;i=d+o|0;b=b>>>0>>0?b:i;break c}N[c+24>>2]=0;N[c+28>>2]=0;b=g+n|0}N[c+32>>2]=b}N[c+40>>2]=f;N[c+36>>2]=e;N[c+12>>2]=e+m;N[c+8>>2]=e+l;N[a+872>>2]=c;i=0;break a}d:{if(!b|!N[b+20>>2]){break d}a=N[j+12>>2];if(!a){break d}b=N[b+28>>2];Qa[N[b+8>>2]](b,a)}N[j+12>>2]=0;if(!f){break a}Qa[N[k+8>>2]](k,f)}La=j+16|0;return i|0}function yh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=N[a+88>>2];N[c>>2]=0;g=a+828|0;a:{if(!O[a+848|0]){j=N[a+104>>2];N[g+16>>2]=0;N[g+20>>2]=0;i=8;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;f=P[a+152>>1];if(!f){break a}d=N[a+156>>2];e=d+(f<<4)|0;while(1){b:{if(N[d>>2]==1111770656){f=N[d+12>>2];if(f){break b}}d=d+16|0;if(e>>>0>d>>>0){continue}break a}break}e=N[d+8>>2];d=N[j+20>>2];c:{if(d){if(!(Qa[d|0](j,e,0,0)|0)){break c}break a}if(e>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=e;if(f>>>0<8){break a}if(dc(j,f,g)){break a}i=N[a+828>>2];N[a+832>>2]=i+f;d:{e:{f:{if((O[i+1|0]|O[i|0]<<8)!=1){break f}e=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);d=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0<8){break f}k=O[i+3|0];n=O[i+2|0]<<8;e=k|n;if(f>>>0>>0|e>>>0>d-8>>>2>>>0){break f}N[a+840>>2]=f-d;o=d+i|0;N[a+836>>2]=o;N[a+844>>2]=e;d=i+8|0;h=d+(e<<2)|0;g:{if(!e){break g}l=k&3;if(l){k=k|n;n=(l<<2)+8|0;f=0;while(1){h=T(O[d+3|0]|O[d+2|0]<<8,10)+h|0;d=d+4|0;f=f+1|0;if((l|0)!=(f|0)){continue}break}d=i+n|0;f=k-l|0}else{f=e}if(e>>>0<4){break g}while(1){h=(((T(O[d+3|0]|O[d+2|0]<<8,10)+h|0)+T(O[d+7|0]|O[d+6|0]<<8,10)|0)+T(O[d+11|0]|O[d+10|0]<<8,10)|0)+T(O[d+15|0]|O[d+14|0]<<8,10)|0;d=d+16|0;f=f-4|0;if(f){continue}break}}if(h>>>0<=o>>>0){break d}if(!j){break e}}if(!N[j+20>>2]){break e}a=N[j+28>>2];Qa[N[a+8>>2]](a,i)}N[g>>2]=0;N[g+4>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;return 8}L[a+848|0]=1}i=6;if(!b|!m){break a}e=N[a+844>>2];j=nb(b);if(!j|!e){break a}d=N[g>>2]+8|0;h=d+(e<<2)|0;g=P[m+14>>1];while(1){f=O[d+3|0]|O[d+2|0]<<8;if((g|0)==(O[d+1|0]|O[d|0]<<8)){if(!f){break a}while(1){h:{l=O[h+5|0];if(!(l&16)){break h}d=N[a+840>>2];e=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);g=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0<=g>>>0){break h}m=d-g|0;if(m>>>0<=j>>>0){break h}e=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);k=g;g=N[a+836>>2];if(bb(b,k+g|0,m)){break h}e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);i:{switch(l&15){case 0:case 1:if(d>>>0<=e>>>0){break h}e=e+g|0;if(!pe(e,0,d)){break h}N[c+4>>2]=e;N[c>>2]=1;return 0;case 2:N[c+4>>2]=e;N[c>>2]=2;return 0;case 3:break i;default:break h}}N[c+4>>2]=e;N[c>>2]=3;return 0}h=h+10|0;f=f-1|0;if(f){continue}break}break a}d=d+4|0;h=T(f,10)+h|0;e=e-1|0;if(e){continue}break}}return i|0}function rC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=rf(b,c);a:{if(f){break a}e=N[b+2740>>2];if(!(e&1)){f=up(b,N[d+52>>2],d+56|0,0);if(f){break a}e=N[b+2740>>2]}b:{if(e&2){break b}f=up(b,N[d+9856>>2],d+9860|0,1);if(f){break a}if(O[(N[N[d+36>>2]+8>>2]+(a<<1)|0)+1|0]&64){break b}a=N[b+1404>>2];if((a|0)<=0){break b}i=N[b+1412>>2];w=i+T(a,44)|0;o=N[d+10064>>2];x=o>>>0<=1?1:o;m=N[d+9848>>2];a=m>>31;j=(a^m)-a|0;p=j&65535;q=j>>>16|0;r=j>>>8|0;y=d+10068|0;while(1){c:{if(!o){break c}e=Q[d+40>>2]/40|0;d:{if(e+r>>>0<=8190){e=T(e,j)+32768>>>16|0;break d}a=e&65535;e=T(a,q)+T(j,e>>>16|0)+(T(a,p)+32768>>>16)|0}a=0;e=(m|0)<0?0-e|0:e;f=(e|0)>=32?32:e;k=0;n=0;while(1){l=T(a,36)+y|0;e=N[l+32>>2];e:{if(!(e&1)){break e}s=e>>>3&1;v=(e&6)!=0;if(!(s|v^N[b+1416>>2]==L[i+13|0])){break e}t=M[i>>1];h=N[l>>2];e=t-h|0;g=e>>31;g=(e^g)-g|0;f:{if(g+r>>>0<=8190){e=T(g,j)+32768>>>16|0;break f}e=g&65535;e=T(e,q)+T(j,g>>>16|0)+(T(e,p)+32768>>>16)|0}g=(m|0)<0;e=g?0-e|0:e;u=(e|0)<(f|0);f=u?e:f;k=u?l:k;n=u?s:n;if(!e|s|(!(L[i+12|0]&1)|!(v^(h|0)>(t|0)))){break e}e=t-N[l+12>>2]|0;h=e>>31;h=(e^h)-h|0;g:{if(h+r>>>0<=8190){e=T(h,j)+32768>>>16|0;break g}e=h&65535;e=T(e,q)+T(j,h>>>16|0)+(T(e,p)+32768>>>16)|0}e=g?0-e|0:e;if((e|0)>=(f|0)){break e}k=l+12|0;n=0;f=e}a=a+1|0;if((x|0)!=(a|0)){continue}break}if(!k){break c}N[i+20>>2]=k;if(!(n&255)){break c}L[i+12|0]=O[i+12|0]|8}i=i+44|0;if(w>>>0>i>>>0){continue}break}}a=N[b+2740>>2];if(!(a&1)){tp(b,0);a=N[b+44>>2];if((a|0)>0){f=N[b+52>>2];e=f+T(a,44)|0;while(1){a=N[f+12>>2];if(a){h=f+36|0;d=N[a+8>>2];a=N[f+40>>2];while(1){g=N[h>>2];N[g+16>>2]=d;M[g>>1]=P[g>>1]|4;h=g+32|0;if((a|0)!=(g|0)){continue}break}}f=f+44|0;if(e>>>0>f>>>0){continue}break}}Gg(b,0);Fg(b,0);a=N[b+2740>>2]}if(!(a&2)){tp(b,1);a=N[b+1392>>2];if((a|0)>0){f=N[b+1400>>2];e=f+T(a,44)|0;while(1){a=N[f+12>>2];if(a){h=f+36|0;d=N[a+8>>2];a=N[f+40>>2];while(1){g=N[h>>2];N[g+20>>2]=d;M[g>>1]=P[g>>1]|8;h=g+32|0;if((a|0)!=(g|0)){continue}break}}f=f+44|0;if(e>>>0>f>>>0){continue}break}}Gg(b,1);Fg(b,1)}d=N[b+24>>2];if((d|0)<=0){return 0}a=N[b+28>>2];d=a+T(d,40)|0;h=N[c+4>>2];b=N[c+8>>2];while(1){N[h>>2]=N[a+16>>2];N[h+4>>2]=N[a+20>>2];f=0;c=P[a>>1];L[b|0]=c&1?0:c&2?2:1;b=b+1|0;h=h+8|0;a=a+40|0;if(d>>>0>a>>>0){continue}break}}return f|0}function mw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;c=3;f=N[a+32>>2];a:{if(!f){break a}d=N[f+364>>2];if(!d){break a}b=N[d+588>>2];c=N[d+584>>2];f=N[f+360>>2];b:{if(!(!O[d+556|0]|(f|0)!=N[d+564>>2]|(c|0)!=N[d+568>>2])){if(!c){break b}if(!Mb(b,N[d+572>>2],c<<2)){break b}}c=vm(d+556|0,f,c,b);if(c){break a}}c=3;k=Lc(a,N[N[a+20>>2]-4>>2]);if(k>>>0>Q[a+24>>2]){break a}i=(N[a+20>>2]-N[a+16>>2]|0)-4>>2;j=T(N[d+576>>2],k);c=161;c:{if(i>>>0>>0){break c}b=N[d+604>>2];h=N[d+600>>2];e=T(k,5);d:{if(b>>>0>=h+e>>>0){break d}f=N[d+592>>2];g=b+e|0;if((g|b)<0){N[d+592>>2]=f;c=6;break c}c=N[N[d+560>>2]+8>>2];l=N[d+596>>2];e:{if(!g){b=0;if(!f){break e}Qa[N[c+8>>2]](c,f);break e}if(!b){b=Qa[N[c+4>>2]](c,g)|0;if(b){break e}N[d+592>>2]=0;c=64;break c}c=Qa[N[c+12>>2]](c,b,g,f)|0;b=c?c:f;if(c){break e}N[d+592>>2]=b;c=64;break c}N[d+592>>2]=b;h=N[d+600>>2];N[d+596>>2]=h+b;N[d+604>>2]=e+N[d+604>>2];if(!f|(b|0)==(f|0)){break d}c=N[a+16>>2];g=N[a+20>>2];if(c>>>0>=g>>>0){break d}m=b-f|0;while(1){b=N[c>>2];if(!(b>>>0>>0|b>>>0>=l>>>0)){N[c>>2]=b+m;g=N[a+20>>2]}c=c+4|0;if(g>>>0>c>>>0){continue}break}}N[d+600>>2]=h+e;o=i-j|0;f=o+k|0;if(k){c=f;j=0;while(1){l=N[d+580>>2];p=j+o<<2;g=Lc(a,N[p+N[a+16>>2]>>2])<<16;m=N[a+16>>2];n=1;q=N[d+576>>2];if(q>>>0>=2){while(1){f:{g:{b=N[m+(c<<2)>>2];h=O[b|0];if((h|0)!=255){if((h|0)!=30){break g}e=Wf(a,b,0,0)>>16;break f}e=((O[b+3|0]|(O[b+2|0]<<8|O[b+1|0]<<16))<<8)+32768>>16;break f}i=b+1|0;h:{switch(h-28|0){case 0:e=0;if(Q[a+8>>2]<=b+2>>>0){break f}e=(O[b+2|0]|O[i|0]<<8)<<16>>16;break f;case 1:e=0;if(Q[a+8>>2]<=b+4>>>0){break f}b=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);e=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break f;default:break h}}e=h-139|0;if(h>>>0<=246){break f}b=N[a+8>>2];if(h>>>0<=250){e=0;if(b>>>0<=i>>>0){break f}e=(O[i|0]|h<<8)-63124|0;break f}e=0;if(b>>>0<=i>>>0){break f}e=64148-(O[i|0]|h<<8)|0}c=c+1|0;l=l+4|0;g=T(e,N[l>>2])+g|0;n=n+1|0;if(q>>>0>n>>>0){continue}break}}N[m+p>>2]=N[d+596>>2];b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=255;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>24;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>16;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>8;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g;j=j+1|0;if((j|0)!=(k|0)){continue}break}}N[a+20>>2]=N[a+16>>2]+(f<<2);c=0}L[d+557|0]=1}return c|0}function jv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=8;d=a+5|0;a:{if(d>>>0>b>>>0){break a}i=O[a+3|0];j=O[a+4|0];a=N[c+92>>2];f=j+a|0;if(f>>>0>Q[c+96>>2]){f=f+3|0;if((f|a)<0){return 6}e=N[c>>2];k=N[c+100>>2];b:{c:{g=f&-4;d:{if(!g){if(!k){break d}Qa[N[e+8>>2]](e,k);N[c+100>>2]=0;break b}f=10;if((g|0)>59652323){break a}e:{if(!a){h=Qa[N[e+4>>2]](e,T(g,36))|0;f=!h<<6;break e}f=Qa[N[e+12>>2]](e,T(a,36),T(g,36),k)|0;h=f?f:k;f=!f<<6}if(f|(a|0)>=(g|0)|!h){break c}G(T(a,36)+h|0,0,T(g-a|0,36))}N[c+100>>2]=h;break b}N[c+100>>2]=h;if(f){break a}}N[c+96>>2]=g}f=8;a=b;k=i&8;b=i&4;g=i&16;h=i&1;i=i&2;if(a>>>0>>3)+(b>>>2)+(g>>>4)|0)+(i?h+9|0:h|8)|0,j)+d>>>0){break a}l=N[c+92>>2];f:{if(!j){break f}a=N[c+100>>2]+T(l,36)|0;if(!b){e=0;while(1){b=O[d|0];g:{if(h){b=O[d+1|0]|b<<8;d=d+2|0;break g}d=d+1|0}N[a>>2]=b;b=O[d|0];h:{if(i){b=O[d+1|0]|b<<8;d=d+2|0;break h}d=d+1|0}N[a+4>>2]=b;b=d;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+2|0]|O[d+1|0]<<8;d=O[d+4|0];m=O[b+3|0];i:{if(k){f=b+6|0;b=O[b+5|0]|(d<<8|m<<16);break i}f=b+5|0;b=d|m<<8}N[a+24>>2]=b;b=O[f|0];j:{if(g){b=O[f+1|0]|b<<8;d=f+2|0;break j}d=f+1|0}N[a+28>>2]=b;a=a+36|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break f}if(!k){e=0;while(1){f=O[d|0];k:{if(h){f=O[d+1|0]|f<<8;b=d+2|0;break k}b=d+1|0}N[a>>2]=f;d=O[b|0];l:{if(i){d=O[b+1|0]|d<<8;b=b+2|0;break l}b=b+1|0}N[a+4>>2]=d;d=b;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+5|0]|O[d+4|0]<<8;b=O[d+6|0];m:{if(g){b=O[d+7|0]|b<<8;d=d+8|0;break m}d=d+7|0}N[a+28>>2]=b;a=a+36|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break f}b=0;if(!h){while(1){N[a>>2]=O[d|0];e=O[d+1|0];n:{if(i){e=O[d+2|0]|e<<8;d=d+3|0;break n}d=d+2|0}N[a+4>>2]=e;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+6|0]|(O[d+5|0]<<8|O[d+4|0]<<16);e=O[d+7|0];o:{if(g){e=O[d+8|0]|e<<8;d=d+9|0;break o}d=d+8|0}N[a+28>>2]=e;a=a+36|0;b=b+1|0;if((j|0)!=(b|0)){continue}break f}}while(1){N[a>>2]=O[d+1|0]|O[d|0]<<8;e=O[d+2|0];p:{if(i){e=O[d+3|0]|e<<8;d=d+4|0;break p}d=d+3|0}N[a+4>>2]=e;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+6|0]|(O[d+5|0]<<8|O[d+4|0]<<16);e=O[d+7|0];q:{if(g){e=O[d+8|0]|e<<8;d=d+9|0;break q}d=d+8|0}N[a+28>>2]=e;a=a+36|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}N[c+92>>2]=j+l;f=0}return f|0}function Cw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){g=N[a+100>>2];c=N[a+540>>2];if(c){Qa[N[c+12>>2]](a)}c=N[a+712>>2];if(c){e=N[c+8>>2];d=N[c+108>>2];if(d){b=N[d+28>>2];f=N[c+140>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+140>>2]=0}d=N[c+136>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+108|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+1240>>2];if(d){b=N[d+28>>2];f=N[c+1272>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+1272>>2]=0}d=N[c+1268>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+1240|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+36>>2];if(d){b=N[d+28>>2];f=N[c+68>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+68>>2]=0}d=N[c- -64>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+36|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+1204>>2];if(d){b=N[d+28>>2];f=N[c+1236>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+1236>>2]=0}d=N[c+1232>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+1204|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}if(N[c+2024>>2]){b=0;while(1){Fm(e,N[(c+(b<<2)|0)+2028>>2]);b=b+1|0;if(b>>>0>2]){continue}break}b=N[c+2028>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+2028>>2]=0}N[c+144>>2]=0;N[c+148>>2]=0;N[c+152>>2]=0;b=N[N[c+4>>2]+28>>2];d=N[c+1192>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c+1192>>2]=0;N[c+1196>>2]=0;d=N[c+1188>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c+1180>>2]=0;N[c+1184>>2]=0;N[c+1188>>2]=0;Em(c+3112|0,e);Fm(e,c+1372|0);d=N[c+3060>>2];if(d){b=N[c+4>>2];if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,d)}N[c+3060>>2]=0}L[c+3052|0]=0;N[c+3056>>2]=0;N[c+3064>>2]=0;b=N[c+3092>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3092>>2]=0;b=N[c+1348>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1348>>2]=0;b=N[c+1352>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1352>>2]=0;b=N[c+1360>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1360>>2]=0;b=N[c+1364>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1364>>2]=0;b=N[c+3108>>2];if(b){Qa[b|0](N[c+3104>>2]);b=N[c+3104>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3104>>2]=0}b=N[c+3132>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3132>>2]=0;c=N[a+712>>2];if(c){Qa[N[g+8>>2]](g,c)}N[a+712>>2]=0}c=N[a+548>>2];if(c){Qa[N[c+44>>2]](a)}N[a+736>>2]=0}}function Ts(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=3;a:{if((d|e)<0){break a}i=N[a+8>>2];f=N[a+12>>2];j=P[f+2>>1];if(Q[i+4>>2]>>0){break a}f=P[f>>1];if(Q[i>>2]>>0){break a}j=T(j,O[a+18|0]);if(T(j+7>>>3|0,f)+b>>>0>c>>>0){break a}a=d>>>3|0;h=N[i+8>>2];i=N[i+12>>2];c=(a+T(h,e)|0)+i|0;g=d&7;if(g){k=0;if(!f){break a}l=8-g|0;if(j>>>0>=8){while(1){d=0;e=j;a=c;while(1){i=a;k=b;d=O[b|0]|d;L[a|0]=O[a|0]|d>>>g;m=e;e=e-8|0;a=a+1|0;b=b+1|0;d=d<<8;if((m|0)>15){continue}break}if((m|0)>8){d=O[k+1|0]&65280>>>e|d;b=k+2|0}L[a|0]=O[a|0]|d>>>g;if((e|0)>(l|0)){L[i+2|0]=O[i+2|0]|d<<8>>>g}c=c+h|0;a=f;f=f-1|0;k=0;if((a|0)>1){continue}break a}}d=65280>>>j|0;if(j>>>0>l>>>0){if((h|0)!=1){if(f&1){a=d&O[b|0];L[c|0]=O[c|0]|a>>>g;L[c+1|0]=O[c+1|0]|a<<8>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){e=d&O[b|0];L[c|0]=O[c|0]|e>>>g;L[c+1|0]=O[c+1|0]|e<<8>>>g;c=c+h|0;e=d&O[b+1|0];L[c|0]=O[c|0]|e>>>g;L[c+1|0]=O[c+1|0]|e<<8>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}e=O[i+(a+e|0)|0];if(f&1){a=d&O[b|0];L[c|0]=a>>>g|e;e=O[c+1|0]|a<<8>>>g;L[c+1|0]=e;c=c+1|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){f=e;e=d&O[b|0];L[c|0]=f|e>>>g;e=O[c+1|0]|e<<8>>>g;L[c+1|0]=e;f=d&O[b+1|0];L[c+1|0]=e|f>>>g;e=O[c+2|0]|f<<8>>>g;L[c+2|0]=e;c=c+2|0;b=b+2|0;f=a-3|0;a=a-2|0;if(f>>>0<4294967294){continue}break}break a}if(!j){break a}if(f&1){L[c|0]=O[c|0]|(d&O[b|0])>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){L[c|0]=O[c|0]|(d&O[b|0])>>>g;c=c+h|0;L[c|0]=O[c|0]|(d&O[b+1|0])>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}k=0;if(!f){break a}if(j>>>0>=8){while(1){a=f;d=j;f=c;while(1){e=b;L[f|0]=O[b|0]|O[f|0];i=d;d=d-8|0;f=f+1|0;b=b+1|0;if((i|0)>15){continue}break}if((i|0)>8){L[f|0]=O[f|0]|O[e+1|0]&65280>>>d;b=e+2|0}c=c+h|0;f=a-1|0;if((a|0)>1){continue}break a}}if(!j){break a}d=65280>>>j|0;e=f&3;if(e){a=0;while(1){L[c|0]=O[c|0]|d&O[b|0];c=c+h|0;b=b+1|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}a=f&65532}else{a=f}if(f>>>0<4){break a}while(1){L[c|0]=O[c|0]|d&O[b|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+1|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+2|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+3|0];b=b+4|0;c=c+h|0;e=a-5|0;a=a-4|0;if(e>>>0<4294967294){continue}break}}return k|0}function EE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=La-32|0;La=g;if(ib(c,b,20121,0)){o=Og(b,c,7,1,18,-1);l=N[c+68>>2];if(l){e=l-1|0;h=N[c+80>>2];j=h+3|0;a=0;d=O[h+15|0];while(1){a:{if((a|0)==(e|0)){a=l;break a}a=a+1|0;if(O[(j+T(a,20)|0)+12|0]==(d|0)){continue}}break}e=0;while(1){j=a;b:{if(!(1<<(d&15)&167)){break b}c:{if(a-e>>>0<2){break c}f=T(e,20)+h|0;if(O[f+18|0]!=18){break c}i=e+1|0;if(i>>>0>=a>>>0){break c}p=h+2|0;q=a-1|0;a=i;while(1){d:{n=T(a,20);k=O[(n+p|0)+16|0];if(k>>>0<=63){d=k&31;if((k&63)>>>0>=32){d=1<>>32-d}d=(m&2143289344|d&238)!=0}else{d=0}e:{if(!d){d=0;f:{g:{switch(k-44|0){default:if((k|0)!=12){break f}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break f;case 0:case 9:break g}}d=!(O[(h+n|0)+12|0]&32)}d=!d;if(d&(a|0)!=(q|0)){break d}if(d){break e}}a=a-1|0}d=a+1|0;if(d-e>>>0>=2){Ib(c,e,d)}N[g+24>>2]=N[f+16>>2];d=N[f+12>>2];N[g+16>>2]=N[f+8>>2];N[g+20>>2]=d;d=N[f+4>>2];N[g+8>>2]=N[f>>2];N[g+12>>2]=d;B(f,T(i,20)+h|0,T(a-e|0,20));i=T(a,20)+h|0;N[i+16>>2]=N[g+24>>2];a=N[g+20>>2];N[i+8>>2]=N[g+16>>2];N[i+12>>2]=a;a=N[g+12>>2];N[i>>2]=N[g+8>>2];N[i+4>>2]=a;break c}a=a+1|0;if((j|0)!=(a|0)){continue}break}}if(e>>>0>=j>>>0){break b}i=h+2|0;d=e;while(1){a=T(e,20);f=a+h|0;h:{i:{j:{k:{a=O[(a+i|0)+16|0];switch(a-44|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break i;case 0:case 9:break j;default:break k}}if((a|0)!=12){break i}}if(O[f+12|0]&32){break i}d=e+1|0;break h}if(!(1<>>0>31){break h}a=O[f+14|0];if(!(a&16)&(a&15)!=0|d>>>0>=e>>>0){break h}a=e+1|0;if(a-d>>>0>=2){Ib(c,d,a)}N[g+24>>2]=N[f+16>>2];a=N[f+12>>2];N[g+16>>2]=N[f+8>>2];N[g+20>>2]=a;a=N[f+4>>2];N[g+8>>2]=N[f>>2];N[g+12>>2]=a;f=T(d,20)+h|0;B(f+20|0,f,T(e-d|0,20));N[f+16>>2]=N[g+24>>2];a=N[g+20>>2];N[f+8>>2]=N[g+16>>2];N[f+12>>2]=a;a=N[g+12>>2];N[f>>2]=N[g+8>>2];N[f+4>>2]=a}e=e+1|0;if((j|0)!=(e|0)){continue}break}}e=N[c+68>>2];a=j+1|0;e=a>>>0>>0?e:a;f=e-1|0;h=N[c+80>>2];d=O[(h+T(j,20)|0)+15|0];i=h+3|0;a=j;while(1){l:{if((a|0)==(f|0)){a=e;break l}a=a+1|0;if(O[(i+T(a,20)|0)+12|0]==(d|0)){continue}}break}e=j;if(l>>>0>e>>>0){continue}break}}ib(c,b,20142,0)}a=O[c+140|0];if(!(a&64)){ba(22742,14165,187,12136);F()}L[c+140|0]=a&191;La=g+32|0;return o|0}function Bo(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;a:{m=N[a+24>>2];if(!m|(c|0)<=0|(m|0)<=0){break a}A=-1;while(1){b:{if(N[a+24>>2]<=0){break b}x=N[(t<<2)+b>>2];s=0;y=0;c:{d:{while(1){e:{f:{g:{h:{u=T(y,56);w=N[a+32>>2];B=u+w|0;r=N[B+12>>2];i:{if((r|0)>0){v=N[(u+w|0)+4>>2];o=0;while(1){n=N[v+(o<<2)>>2];m=x;while(1){j:{q=O[O[m|0]+25936|0];z=O[n|0];p=O[z+25936|0];if(!z){break j}m=m+1|0;n=n+1|0;if((p|0)==(q|0)){continue}}break}if((p|0)==(q|0)){break i}o=o+1|0;if((r|0)!=(o|0)){continue}break}}if(!d){break h}n=x;m=N[(u+w|0)+44>>2];if(!m){break h}while(1){k:{o=O[O[n|0]+25936|0];p=O[m|0];q=O[p+25936|0];if(!p){break k}n=n+1|0;m=m+1|0;if((o|0)==(q|0)){continue}}break}if((o|0)!=(q|0)){break h}}m=u+w|0;q=N[m+20>>2]-f|0;n=q>>31;p=N[m+24>>2]-e|0;o=p>>31;r=N[m+28>>2]-100|0;m=r>>31;n=(n^q)-n+((o^p)-o)+((m^r)-m)|0;break g}l:{m:{n:{q=u+w|0;v=N[q+16>>2];if((v|0)<=0){break n}z=N[q+8>>2];o=0;while(1){n=N[z+(o<<2)>>2];m=x;while(1){o:{p=O[O[m|0]+25936|0];C=O[n|0];r=O[C+25936|0];if(!C){break o}m=m+1|0;n=n+1|0;if((p|0)==(r|0)){continue}}break}if((p|0)!=(r|0)){o=o+1|0;if((v|0)==(o|0)){break n}continue}break}o=1;n=x;m=N[q+40>>2];if(m){break m}n=0;break l}n=x;m=N[q+40>>2];if(!m){break f}while(1){p:{o=O[O[n|0]+25936|0];r=O[m|0];p=O[r+25936|0];if(!r){break p}n=n+1|0;m=m+1|0;if((o|0)==(p|0)){continue}}break}if((o|0)!=(p|0)){break f}n=1;o=0;break l}while(1){q:{p=O[O[n|0]+25936|0];v=O[m|0];r=O[v+25936|0];if(!v){break q}n=n+1|0;m=m+1|0;if((p|0)==(r|0)){continue}}break}n=0;if((p|0)==(r|0)){break g}}m=N[q+48>>2];if(!m){break d}m=N[m+8>>2];if(!m){break d}m=Qa[m|0](N[q+52>>2])|0?n:o;n=0;if((m|0)!=1){break f}}L[l|0]=1;r:{if(n>>>0>=A>>>0){m=A;B=s;break r}o=u+w|0;m=N[o+48>>2];if(!m){break c}u=N[m+12>>2];if(!u){break c}m=n;if(!(Qa[u|0](N[o+52>>2],k)|0)){break f}}A=m;s=B;if(!n){break e}}y=y+1|0;if((y|0)>2]){continue}}break}if(!s){break b}a=N[s+48>>2];N[h>>2]=N[s+40>>2];N[i>>2]=N[s>>2];b=N[a+36>>2];s:{if(b){b=Qa[b|0](N[s+52>>2])|0;break s}b=N[s+36>>2]}N[g>>2]=b;t=N[s+32>>2];if(t){break a}N[j>>2]=N[a+4>>2];N[j+4>>2]=N[s+52>>2];t=N[s+40>>2];if(t){break a}t=N[N[s+4>>2]>>2];break a}ba(8834,17972,611,8862);F()}ba(14043,17972,711,14071);F()}t=t+1|0;if((t|0)!=(c|0)){continue}break}return 0}return t}function ek(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=lc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}i=O[h|0]|O[h+1|0]<<8;c:{d:{e:{if(c){n=(i|0)!=256;while(1){b=275552;f:{if(n){break f}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break f}b=h+((a<<8|a>>>8)&65535)|0}a=O[b|0]|O[b+1|0]<<8;if(a){l=(k<<2)+d|0;m=N[l>>2];o=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){j=a+b>>>1|0;g=T(j,6)+o|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g:{if(g>>>0>m>>>0){a=j-1|0;break g}if((g|0)==(m|0)){break e}b=j+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}k=k+1|0;if((k|0)!=(c|0)){continue}break}}b=275552;h:{if((i|0)!=256){break h}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break h}b=h+((a<<8|a>>>8)&65535)|0}i:{j:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){g=a+b>>>1|0;d=c+T(g,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);k:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1145457749){a=g-1|0;break k}if((d|0)==1414284868){break j}b=g+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}b=275552;l:{if((i|0)!=256){break l}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break l}b=h+((a<<8|a>>>8)&65535)|0}m:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){g=a+b>>>1|0;d=c+T(g,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);n:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1684434037){a=g-1|0;break n}if((d|0)==1953261156){break m}b=g+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}b=275552;o:{if((i|0)!=256){break o}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break o}b=h+((a<<8|a>>>8)&65535)|0}p:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){h=a+b>>>1|0;d=c+T(h,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);q:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1818326127){a=h-1|0;break q}if((d|0)==1853120876){break p}b=h+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}a=65535;break i}if(e){N[e>>2]=h}a=1818326126;break i}if(e){N[e>>2]=g}a=1684434036;break i}if(e){N[e>>2]=g}a=1145457748}b=0;if(!f){break c}break d}if(e){N[e>>2]=j}if(!f){return 1}a=N[l>>2];b=1}N[f>>2]=a}return b}function Ad(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=La-128|0;La=h;p=S[c>>3];i=S[(f<<3)+e>>3];q=(p+S[d>>3])*i;S[h+104>>3]=q;o=i;i=S[c+8>>3];o=o*(i+S[d+8>>3]);S[h+112>>3]=o;a:{b:{if(f){j=N[b+4>>2];N[h+96>>2]=N[b>>2];N[h+100>>2]=j;j=N[c+12>>2];N[h+88>>2]=N[c+8>>2];N[h+92>>2]=j;l=N[c>>2];j=N[c+4>>2];c=N[h+116>>2];N[h+72>>2]=N[h+112>>2];N[h+76>>2]=c;N[h+80>>2]=l;N[h+84>>2]=j;c=N[h+108>>2];N[h+64>>2]=N[h+104>>2];N[h+68>>2]=c;c=0;j=f-1|0;if(!Ad(a,h+96|0,h+80|0,h- -64|0,e,j,g)){break b}f=N[b>>2];c=N[b+4>>2];b=N[h+116>>2];N[h+48>>2]=N[h+112>>2];N[h+52>>2]=b;b=N[h+108>>2];N[h+40>>2]=N[h+104>>2];N[h+44>>2]=b;N[h+56>>2]=f;N[h+60>>2]=c;b=N[d+12>>2];N[h+32>>2]=N[d+8>>2];N[h+36>>2]=b;b=N[d+4>>2];N[h+24>>2]=N[d>>2];N[h+28>>2]=b;c=Ad(a,h+56|0,h+40|0,h+24|0,e,j,g);break b}i=i*S[a+24>>3];c:{if(V(i)<2147483648){e=~~i;break c}e=-2147483648}m=g&1;i=p*S[a+16>>3];d:{if(V(i)<2147483648){d=~~i;break d}d=-2147483648}n=N[b+4>>2];l=N[b>>2];if(m){N[h+124>>2]=e+n;N[h+120>>2]=d+l;f=N[a>>2];c=N[h+124>>2];N[h+16>>2]=N[h+120>>2];N[h+20>>2]=c;c=0;if(!Fb(f,h+16|0,2)){break b}}j=g&2;if(j){N[h+124>>2]=n-e;N[h+120>>2]=l-d;d=N[a+4>>2];c=N[h+124>>2];N[h+8>>2]=N[h+120>>2];N[h+12>>2]=c;c=0;if(!Fb(d,h+8|0,2)){break b}}i=o*S[a+24>>3];e:{if(V(i)<2147483648){f=~~i;break e}f=-2147483648}i=q*S[a+16>>3];f:{if(V(i)<2147483648){e=~~i;break f}e=-2147483648}r=N[b+4>>2];s=N[b>>2];if(m){k=N[a>>2];m=N[k+4>>2];if(!m){break a}c=0;n=e+s|0;b=n>>31;if((b^n)-b>>>0>268435455){break b}b=f+r|0;d=b>>31;if((b^d)-d>>>0>268435455){break b}c=N[k>>2];g:{if(m>>>0>c>>>0){d=N[k+16>>2];break g}c=0;N[147316]=0;l=N[k+16>>2];h:{g=m<<1;if(g>>>0<=536870911){d=m<<4;d=$a(l,d>>>0<=1?1:d);if(d){break h}}N[147316]=48;N[k+16>>2]=l;break b}N[147316]=0;N[k+4>>2]=g;N[k+16>>2]=d;c=N[k>>2]}c=(c<<3)+d|0;N[c>>2]=n;N[c+4>>2]=b;N[k>>2]=N[k>>2]+1}c=1;if(!j){break b}g=N[a+4>>2];d=N[g+4>>2];if(!d){break a}c=0;e=s-e|0;a=e>>31;if((a^e)-a>>>0>268435455){break b}a=r-f|0;b=a>>31;if((a^b)-b>>>0>268435455){break b}c=N[g>>2];i:{if(d>>>0>c>>>0){b=N[g+16>>2];break i}c=0;N[147316]=0;d=d<<1;b=id(N[g+16>>2],d,8);N[g+16>>2]=b;if(N[147316]){break b}N[g+4>>2]=d;c=N[g>>2]}b=(c<<3)+b|0;N[b>>2]=e;N[b+4>>2]=a;c=1;N[g>>2]=N[g>>2]+1}La=h+128|0;return c}ba(9920,18249,281,9160);F()}function _m(a,b){var c=0,d=0,e=0,f=0;f=N[N[a>>2]+96>>2];e=N[N[a+8>>2]+140>>2];if((e|0)>0){B(N[a+132>>2],N[a+136>>2],P[a+128>>1]<<3)}B(N[a+156>>2]+288|0,N[a+4>>2]+180|0,68);a:{if(b){c=N[a+156>>2];N[c+224>>2]=65536;N[c+228>>2]=65536;B(N[a+140>>2],N[a+136>>2],P[a+128>>1]<<3);break a}c=N[a+156>>2];d=N[N[a+4>>2]+44>>2];N[c+224>>2]=N[d+4>>2];N[c+228>>2]=N[d+8>>2]}c=N[a+136>>2]+(P[a+128>>1]<<3)|0;d=c-32|0;N[d>>2]=N[d>>2]+32&-64;d=c-24|0;N[d>>2]=N[d>>2]+32&-64;d=c-12|0;N[d>>2]=N[d>>2]+32&-64;c=c-4|0;N[c>>2]=N[c>>2]+32&-64;b:{if((e|0)>0){d=N[N[a+12>>2]- -64>>2];c=N[a+156>>2];L[c+592|0]=b;N[c+484>>2]=e;N[c+480>>2]=N[c+412>>2];b=N[a+124>>2];N[c+144>>2]=N[a+120>>2];N[c+148>>2]=b;b=N[a+132>>2];N[c+152>>2]=N[a+128>>2];N[c+156>>2]=b;b=N[a+140>>2];N[c+160>>2]=N[a+136>>2];N[c+164>>2]=b;b=N[a+148>>2];N[c+168>>2]=N[a+144>>2];N[c+172>>2]=b;N[c+176>>2]=N[a+152>>2];b=N[a+156>>2];N[b+360>>2]=3;N[b+368>>2]=0;c=N[b+148>>2];N[b+36>>2]=N[b+144>>2];N[b+40>>2]=c;N[b+68>>2]=N[b+176>>2];c=N[b+172>>2];N[b+60>>2]=N[b+168>>2];N[b+64>>2]=c;c=N[b+164>>2];N[b+52>>2]=N[b+160>>2];N[b+56>>2]=c;c=N[b+156>>2];N[b+44>>2]=N[b+152>>2];N[b+48>>2]=c;N[b+372>>2]=N[b+484>>2];N[b+364>>2]=N[b+480>>2];c=N[b+148>>2];N[b+72>>2]=N[b+144>>2];N[b+76>>2]=c;c=N[b+156>>2];N[b+80>>2]=N[b+152>>2];N[b+84>>2]=c;c=N[b+164>>2];N[b+88>>2]=N[b+160>>2];N[b+92>>2]=c;c=N[b+172>>2];N[b+96>>2]=N[b+168>>2];N[b+100>>2]=c;N[b+104>>2]=N[b+176>>2];N[b+140>>2]=N[b+176>>2];c=N[b+172>>2];N[b+132>>2]=N[b+168>>2];N[b+136>>2]=c;c=N[b+164>>2];N[b+124>>2]=N[b+160>>2];N[b+128>>2]=c;c=N[b+156>>2];N[b+116>>2]=N[b+152>>2];N[b+120>>2]=c;c=N[b+148>>2];N[b+108>>2]=N[b+144>>2];N[b+112>>2]=c;M[b+352>>1]=1;N[b+348>>2]=65537;M[b+298>>1]=16384;M[b+300>>1]=0;M[b+302>>1]=16384;M[b+304>>1]=0;N[b+316>>2]=1;M[b+294>>1]=16384;M[b+296>>1]=0;N[b+308>>2]=1;N[b+448>>2]=0;N[b+16>>2]=0;b=Qa[N[N[b>>2]+708>>2]](b)|0;c=N[a+156>>2];if(O[c+593|0]?b:0){break b}L[d|0]=O[d|0]|O[c+344|0]<<5|4}if(N[f+64>>2]==40){b=0;if(O[N[a+156>>2]+643|0]){break b}}b=N[a+136>>2]+(P[a+128>>1]<<3)|0;c=b-32|0;e=N[c+4>>2];N[a+68>>2]=N[c>>2];N[a+72>>2]=e;c=b-24|0;e=N[c+4>>2];N[a+76>>2]=N[c>>2];N[a+80>>2]=e;c=b-16|0;e=N[c+4>>2];N[a+180>>2]=N[c>>2];N[a+184>>2]=e;b=b-8|0;c=N[b+4>>2];N[a+188>>2]=N[b>>2];N[a+192>>2]=c;b=0}return b}function eq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=La+-64|0;La=f;a:{if(Q[a+16>>2]<=c>>>0){break a}if(N[b+84>>2]){N[f+40>>2]=0;N[f+48>>2]=2139095039;N[f+52>>2]=2139095039;N[f+56>>2]=-8388609;N[f+60>>2]=-8388609;L[f+44|0]=1;e=N[f+44>>2];N[f+8>>2]=N[f+40>>2];N[f+12>>2]=e;e=N[f+52>>2];N[f+16>>2]=N[f+48>>2];N[f+20>>2]=e;e=N[f+60>>2];N[f+24>>2]=N[f+56>>2];N[f+28>>2]=e;N[f+36>>2]=d;N[f+32>>2]=b;d=N[f+36>>2];N[f>>2]=N[f+32>>2];N[f+4>>2]=d;k=gj(a,b,c,f);break a}e=N[a+20>>2];e=N[(e?e:275552)+12>>2];k=1;b:{if(O[a+12|0]){e=e+(c<<1)|0;g=O[e|0]|O[e+1|0]<<8;h=((g<<8|g>>>8)&65535)<<1;e=O[e+2|0]|O[e+3|0]<<8;e=((e<<8|e>>>8)&65535)<<1;break b}e=e+(c<<2)|0;g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);e=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}if(e>>>0>>0){break a}g=N[a+24>>2];g=g?g:275552;if(e>>>0>Q[g+16>>2]){break a}i=e-h>>>0<10?275552:N[g+12>>2]+h|0;if(!(O[i|0]|O[i+1|0]<<8)){break a}g=N[b+60>>2];o=g;e=N[b+56>>2];a=N[a+4>>2];h=N[a>>2];c:{d:{if(h>>>0>c>>>0){if((c|0)<0){a=275552}else{a=N[a+20>>2];a=N[(a?a:275552)+12>>2]+(c<<2)|0}a=a+2|0;break d}if(Q[a+4>>2]<=c>>>0){a=O[i+6|0]|O[i+7|0]<<8;c=O[i+2|0]|O[i+3|0]<<8;a=(c<<8|c>>>8)<<16>>16>(a<<8|a>>>8)<<16>>16?a:c;a=a<<8|a>>>8;break c}e:{if((h|0)<0){j=275552;break e}j=N[a+20>>2];j=N[(j?j:275552)+12>>2]+(h<<2)|0;h=N[a>>2]}a=(c-h<<1)+j|0}a=O[a|0]|O[a+1|0]<<8;a=a<<8|a>>>8}a=a<<16>>16;c=TE(e,g,a,a>>31);a=Pa;c=c+32768|0;N[d>>2]=((c>>>0<32768?a+1|0:a)&65535)<<16|c>>>16;c=O[i+4|0]|O[i+5|0]<<8;g=(c<<8|c>>>8)<<16>>16;h=O[i+8|0]|O[i+9|0]<<8;j=(h<<8|h>>>8)<<16>>16;a=N[b+64>>2];l=N[b+68>>2];c=(g|0)<(j|0)?h:c;h=c<<8|c>>>8;b=h<<16>>16;c=TE(a,l,b,b>>31);b=Pa;c=c+32768|0;N[d+4>>2]=((c>>>0<32768?b+1|0:b)&65535)<<16|c>>>16;b=O[i+2|0]|O[i+3|0]<<8;m=(b<<8|b>>>8)<<16>>16;c=O[i+6|0]|O[i+7|0]<<8;n=(c<<8|c>>>8)<<16>>16;p=e;e=(m|0)<(n|0)?c:b;b=(m|0)>(n|0)?c:b;b=(e<<8|e>>>8)-(b<<8|b>>>8)<<16>>16;c=TE(p,o,b,b>>31);b=Pa;c=c+32768|0;N[d+8>>2]=((c>>>0<32768?b+1|0:b)&65535)<<16|c>>>16;c=a;b=(g|0)>(j|0)?i+8|0:i+4|0;b=O[b|0]|O[b+1|0]<<8;a=(b<<8|b>>>8)-h<<16>>16;b=TE(c,l,a,a>>31);a=Pa;b=b+32768|0;N[d+12>>2]=((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16}La=f- -64|0;return k}function ik(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{if(N[b+144>>2]!=64){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];l=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((l|0)==-1){break a}c=O[a+4|0]|O[a+5|0]<<8;g=(c<<8|c>>>8)&65535;f=((g<<1)+a|0)+6|0;c=O[f|0]|O[f+1|0]<<8;j=((((c<<8|c>>>8)&65535)<<1)+f|0)+2|0;c=O[j|0]|O[j+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=l>>>0){break a}N[e+28>>2]=0;N[e+24>>2]=0;k=a+6|0;h=La-16|0;La=h;c=N[b+96>>2];c=N[(O[c+62|0]?72:64)+c>>2];N[b+76>>2]=g;N[b+44>>2]=c;d=N[N[b+48>>2]+96>>2];N[b+80>>2]=N[d+68>>2];m=(c|0)==N[d+64>>2]?O[(N[d+80>>2]+T(c,20)|0)+15|0]:m;N[b+72>>2]=k;N[b+68>>2]=a;N[b- -64>>2]=247;L[b+63|0]=O[b+62|0]?m:0;b:{if(g){c=b+44|0;d=0;while(1){if(!ge(c,h+12|0)){N[e+28>>2]=N[h+12>>2];break b}d=d+1|0;i=g>>>0<=d>>>0;if((d|0)!=(g|0)){continue}break}c=N[c>>2]}N[e+28>>2]=c;i=1}La=h+16|0;c:{if(!i){break c}m=f+2|0;c=N[N[b+96>>2]+64>>2]+1|0;d=0;h=0;g=La-16|0;La=g;f=O[f|0]|O[f+1|0]<<8;f=(f<<8|f>>>8)&65535;N[b+76>>2]=f;i=c-1|0;N[b+44>>2]=i;k=N[N[b+48>>2]+96>>2];N[b+80>>2]=N[k+68>>2];h=(i|0)==N[k+64>>2]?O[(N[k+80>>2]+T(i,20)|0)+15|0]:h;N[b+72>>2]=m;N[b+68>>2]=a;N[b- -64>>2]=247;L[b+63|0]=O[b+62|0]?h:0;d:{if(f){c=b+44|0;a=0;while(1){if(!ic(c,g+12|0)){N[e+24>>2]=N[g+12>>2];break d}a=a+1|0;d=f>>>0<=a>>>0;if((a|0)!=(f|0)){continue}break}c=N[c>>2]+1|0}N[e+24>>2]=c;d=1}La=g+16|0;if(!d){break c}wb(N[b+96>>2],3,N[e+28>>2],N[e+24>>2],1,1);a=N[b+96>>2];if(N[a+156>>2]){c=N[b+88>>2];N[e+16>>2]=N[a+64>>2];ib(a,c,22942,e+16|0)}a=O[j|0]|O[j+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=l>>>0?275552:((l<<1)+j|0)+2|0;a=O[a|0]|O[a+1|0]<<8;d=(a<<8|a>>>8)&65535;N[b+116>>2]=N[b+116>>2]|1<<(d>>>4);N[b+120>>2]=N[b+120>>2]|1<>2]=N[b+124>>2]|1<<(d>>>9);a=N[b+160>>2];if((a|0)!=-1){c=N[b+96>>2];L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=a}a=N[b+96>>2];c=N[a+80>>2]+T(N[a+64>>2],20)|0;a=P[c+12>>1]|16;if(O[b+148|0]){a=Tc(N[b+104>>2],d)|a&112}M[c+12>>1]=a;a=N[b+96>>2];N[N[a+80>>2]+T(N[a+64>>2],20)>>2]=d;n=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[e>>2]=N[a+64>>2];ib(a,b,22996,e);break a}a=N[b+96>>2];if(!(O[a+16|0]&64)){break a}wb(a,2,N[e+28>>2],N[e+24>>2],0,1)}La=e+32|0;return n}function ip(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=La-16|0;La=m;d=N[a+12>>2];if(d){N[(N[a+20>>2]+(d<<4)|0)-4>>2]=b}b=0;n=N[a+24>>2];a:{if((n|0)<2){break a}o=n;while(1){q=o;k=N[a+32>>2];o=o-1|0;b=k+(o<<4)|0;p=N[b>>2];d=N[b+8>>2];g=q-2|0;while(1){b:{e=k+(g<<4)|0;b=N[e+8>>2];c:{e=N[e>>2];h=e>>>0>p>>>0?p:e;d:{e:{if(h>>>0<8){i=d;break e}i=(h-8>>>3|0)+1|0;e=i+b|0;i=d+i|0;f=d;while(1){if(O[b|0]&O[f|0]){break d}b=b+1|0;f=f+1|0;h=h-8|0;if(h>>>0>7){continue}break}b=e}if(!h|!(O[b|0]&O[i|0]&-256>>h)){break c}}p=g>>>0>o>>>0?g:o;b=g>>>0>>0?g:o;if(p>>>0<=b>>>0|n>>>0<=p>>>0){break b}l=k+(p<<4)|0;h=N[l>>2];f:{if(!h){break f}j=k+(b<<4)|0;e=N[j>>2];g:{if(e>>>0>=h>>>0){n=h+7|0;g=n>>>3|0;break g}n=h+7|0;g=n>>>3|0;b=N[j+4>>2]+7|0;i=b>>>3|0;if(g>>>0>i>>>0){d=N[j+8>>2];h:{i:{k=g+7&1073741816;j:{if(!k){f=0;if(!d){break j}Qa[N[c+8>>2]](c,d);N[j+8>>2]=0;break h}k:{if(b>>>0<=7){f=Qa[N[c+4>>2]](c,k)|0;b=!f<<6;break k}b=Qa[N[c+12>>2]](c,i,k,d)|0;f=b?b:d;b=!b<<6}if(b|i>>>0>=k>>>0|!f){break i}G(f+i|0,0,k-i|0)}N[j+8>>2]=f;break h}N[j+8>>2]=f;if(b){break a}}N[j+4>>2]=k<<3}d=e+1|0;l:{if(!(h-e&1)){b=e;break l}b=d;if(e>>>0>=Q[j>>2]){break l}i=N[j+8>>2]+(e>>>3|0)|0;L[i|0]=O[i|0]&-129>>(e&7)}if((d|0)==(h|0)){break g}while(1){d=N[j>>2];if(d>>>0>b>>>0){d=N[j+8>>2]+(b>>>3|0)|0;L[d|0]=O[d|0]&-129>>(b&7);d=N[j>>2]}e=b+1|0;if(e>>>0>>0){d=N[j+8>>2]+(e>>>3|0)|0;L[d|0]=O[d|0]&-129>>(e&7)}b=b+2|0;if((h|0)!=(b|0)){continue}break}}if(n>>>0<8){break f}e=g-1|0;f=N[l+8>>2];b=N[j+8>>2];d=g&3;if(d){g=g&536870908;h=0;while(1){L[b|0]=O[f|0]|O[b|0];f=f+1|0;b=b+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(e>>>0<3){break f}while(1){L[b|0]=O[f|0]|O[b|0];L[b+1|0]=O[f+1|0]|O[b+1|0];L[b+2|0]=O[f+2|0]|O[b+2|0];L[b+3|0]=O[f+3|0]|O[b+3|0];f=f+4|0;b=b+4|0;g=g-4|0;if(g){continue}break}}N[l>>2]=0;N[l+12>>2]=0;b=N[a+24>>2];d=b+(p^-1)|0;if((d|0)>0){b=N[l+12>>2];N[m+8>>2]=N[l+8>>2];N[m+12>>2]=b;b=N[l+4>>2];N[m>>2]=N[l>>2];N[m+4>>2]=b;b=d<<4;B(l,l+16|0,b);d=b+l|0;b=N[m+12>>2];N[d+8>>2]=N[m+8>>2];N[d+12>>2]=b;b=N[m+4>>2];N[d>>2]=N[m>>2];N[d+4>>2]=b;b=N[a+24>>2]}n=b-1|0;N[a+24>>2]=n;break b}b=(g|0)>0;g=g-1|0;if(b){continue}}break}if((q|0)>2){continue}break}b=0}La=m+16|0;return b}function kc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}b=N[a>>2];a=N[a+4>>2];if(!b){b=a;a=a>>31;return(b^a)-a|0}c=b>>31;c=(c^b)-c|0;if(a){d=c;c=a>>31;h=d|(c^a)-c;f=W(h);i=f-2|0;a:{if(h>>>0<=1073741823){a=a<>c;b=b>>c}e=0-a|0;c=0-b|0;b:{if((a|0)>(b|0)){b=(a|0)>(c|0);d=b?c:e;a=b?a:c;break b}d=a;a=(a|0)<(c|0);d=a?b:d;a=a?e:b}b=d+1>>1;c=(d|0)>0;b=a+(c?b:0-b|0)|0;a=a+1>>1;a=(c?0-a|0:a)+d|0;c=a+2>>2;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+2>>2;a=a+(d?0-b|0:b)|0;b=a+4>>3;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+4>>3;a=a+(d?0-c|0:c)|0;c=a+8>>4;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+8>>4;a=a+(d?0-b|0:b)|0;b=a+16>>5;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+16>>5;a=a+(d?0-c|0:c)|0;c=a+32>>6;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+32>>6;a=a+(d?0-b|0:b)|0;b=a- -64>>7;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c- -64>>7;a=a+(d?0-c|0:c)|0;c=a+128>>8;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+128>>8;a=a+(d?0-b|0:b)|0;b=a+256>>9;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+256>>9;a=a+(d?0-c|0:c)|0;c=a+512>>10;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+512>>10;a=a+(d?0-b|0:b)|0;b=a+1024>>11;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+1024>>11;a=a+(d?0-c|0:c)|0;c=a+2048>>12;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+2048>>12;a=a+(d?0-b|0:b)|0;b=a+4096>>13;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+4096>>13;a=a+(d?0-c|0:c)|0;c=a- -8192>>14;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b- -8192>>14;a=a+(d?0-b|0:b)|0;b=a+16384>>15;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+16384>>15;a=a+(d?0-c|0:c)|0;c=a+32768>>16;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+32768>>16;a=a+(d?0-b|0:b)|0;b=a+65536>>17;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+65536>>17;a=a+(d?0-c|0:c)|0;c=a+131072>>18;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+131072>>18;a=a+(d?0-b|0:b)|0;b=a+262144>>19;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+262144>>19;a=a+(d?0-c|0:c)|0;c=a+524288>>20;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+524288>>20;a=a+(d?0-b|0:b)|0;b=a- -1048576>>21;d=c- -1048576>>21;g=0-d|0;e=d;d=(a|0)>0;e=a+(d?g:e)|0;a=e+2097152>>22;a=(c+(d?b:0-b|0)|0)+((e|0)>0?a:0-a|0)|0;b=a>>31;c=(a^b)-b|0;d=c&65535;b=T(d,56281);e=c>>>16|0;c=b+T(e,23318)|0;g=c<<16;d=g+T(d,23318)|0;b=(((T(e,56281)+(c>>>16|0)|0)+((b>>>0>c>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;a=(a|0)<0?0-b|0:b;if(h>>>0<=536870911){return a+(1<>i}c=a<<2-f}return c}function xt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=La-16|0;La=f;i=N[b+28>>2];N[a+368>>2]=b;c=Qa[N[a+516>>2]](a,1851878757,b,f+8|0)|0;a:{if(c){break a}k=N[b+8>>2];c=rb(b,179040,a+344|0);if(c){break a}c=145;l=k+6|0;e=N[a+348>>2];h=l+T(e,12)|0;j=N[f+8>>2]+k|0;if(h>>>0>j>>>0){break a}if(P[a+344>>1]==1){d=N[b+20>>2];b:{if(d){c=85;if(!(Qa[d|0](b,h,0,0)|0)){break b}break a}c=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=h;N[f+12>>2]=0;d=f+12|0;g=xb(b,d);N[a+360>>2]=g;c=N[f+12>>2];if(c){break a}m=a,n=lb(i,12,0,g,0,d),N[m+364>>2]=n;c=N[f+12>>2];if(c){break a}c=Bb(b,N[a+360>>2]<<2);if(c){break a}h=((g<<2)+h|0)+2|0;c=N[a+364>>2];c:{if(!c){break c}d=N[a+360>>2];if((d|0)<=0){break c}g=T(d,12)+c|0;while(1){d=rb(b,179100,c);e=N[c+4>>2]+(N[a+352>>2]+k|0)|0;N[c+4>>2]=e;if(!(e+P[c>>1]>>>0<=j>>>0&e>>>0>=h>>>0)){M[c>>1]=0}c=c+12|0;if(g>>>0>c>>>0){continue}break}N[f+12>>2]=d}d:{e:{f:{c=N[b+20>>2];if(!c){N[b+32>>2]=0;N[b+36>>2]=0;break f}g=N[b>>2];g:{if(!g){N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;break g}d=N[b+28>>2];Qa[N[d+8>>2]](d,g);N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;c=N[b+20>>2];if(!c){break f}}if(Qa[c|0](b,l,0,0)|0){break d}break e}if(Q[b+4>>2]>>0){break d}}N[b+8>>2]=l}e=N[a+348>>2]}c=0;h:{if((e|0)<0){c=6;break h}i:{j:{if(e){c=10;if((e|0)>107374182){break h}d=T(e,20);c=Qa[N[i+4>>2]](i,d)|0;if(!c|(e|0)<=0){break j}G(c,0,d)}N[a+356>>2]=c;break i}N[a+356>>2]=c;if(c){break i}c=!c<<6;break a}c=Bb(b,T(N[a+348>>2],12));N[f+12>>2]=c;if(c){break a}d=N[a+356>>2];e=N[a+348>>2];k:{if(!e){c=d;j=0;break k}c=d;while(1){d=rb(b,179072,c);N[f+12>>2]=d;l:{if(d){break l}d=P[c+8>>1];if(!d){break l}g=N[c+12>>2]+(N[a+352>>2]+k|0)|0;N[c+12>>2]=g;if(g>>>0>>0|d+g>>>0>j>>>0){break l}m:{if(P[a+344>>1]!=1){break m}d=M[c+4>>1];if((d|0)>=0){break m}d=(d&65535)-32768|0;if(d>>>0>=Q[a+360>>2]|!P[N[a+364>>2]+T(d,12)>>1]){break l}}c=c+20|0}e=e-1|0;if(e){continue}break}d=N[a+356>>2];j=N[a+348>>2]}c=(c-d|0)/20|0;d=lb(i,20,j,c,d,f+12|0);N[a+348>>2]=c;N[a+356>>2]=d;if(N[b+20>>2]){i=N[b>>2];if(i){d=N[b+28>>2];Qa[N[d+8>>2]](d,i);c=N[a+348>>2]}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;M[a+340>>1]=c;c=N[f+12>>2];break a}N[a+356>>2]=0}La=f+16|0;return c|0}function ob(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;c=a;while(1){n=L[c|0];if(!(!(n-9>>>0<4|(n|0)==32)&(n|0)!=13)){c=c+1|0;continue}break}e=((n|0)==45|(n|0)==43)+c|0;c=0;g=-1;d=-1;while(1){a:{f=L[e|0];b:{if(f-58>>>0<=4294967285){if((f|0)!=46|(g|0)!=-1){break a}g=c;break b}d=(f|0)!=48?(d|0)==-1?c:d:d}c=c+1|0;e=e+1|0;continue}break}l=(d|0)==-1?c:d;j=l-(g>>>0>>0)|0;k=(g|0)!=-1;h=c-k|0;h=h-j>>>0>18?j+18|0:h;o=0;c:{if(!h){break c}r=f&255;a=k?g:c;k=a>>>0>>0;d=k?h-a|0:a-h|0;c=(l-c|0)+e|0;j=h-j|0;d:{e:{if((j|0)>=10){if((j|0)!=10){a=j-9|0;q=a&1;l=a&-2;a=0;while(1){g=O[c|0];if((g|0)!=46){c=c+1|0}else{g=O[c+1|0];c=c+2|0}h=((g<<24>>24)+T(m,10)|0)-48|0;g=O[c|0];if((g|0)!=46){c=c+1|0}else{g=O[c+1|0];c=c+2|0}m=((g<<24>>24)+T(h,10)|0)-48|0;a=a+2|0;if((l|0)!=(a|0)){continue}break}f=9;if(!q){break e}}f=O[c|0];if((f|0)!=46){c=c+1|0}else{f=O[c+1|0];c=c+2|0}m=((f<<24>>24)+T(m,10)|0)-48|0;f=9;break e}a=0;f=j;if((f|0)<=0){break d}}a=0;while(1){g=O[c|0];if((g|0)!=46){c=c+1|0}else{g=O[c+1|0];c=c+2|0}a=((g<<24>>24)+T(a,10)|0)-48|0;h=(f|0)>1;f=f-1|0;if(h){continue}break}}p=+(m|0)*1e9+ +(a|0);f:{g:{h:{if((r|32)!=101){a=e;break h}c=e+1|0;h=0;i:{j:{switch(O[e+1|0]-43|0){case 2:c=e+2|0;h=1;break i;case 0:break j;default:break i}}c=e+2|0}q=(h|0)!=(k|0);k:{if(!q){l=0;if(d>>>0>511){break k}l=((511-d&65535)>>>0)/10|0;break k}a=(d>>>0)/10|0;l=((((T(a,65526)+d|0)+511&65535)>>>0)/10|0)+a|0}g=0;f=L[c|0];m=f-48|0;l:{if(m>>>0>9){a=c;e=0;break l}e=0;while(1){if(!(!(g&1)&e>>>0<=l>>>0)){while(1){k=L[c+1|0];a=c+1|0;c=a;if(k-58>>>0>=4294967286){continue}break}k=h;break g}g=(47-f>>>0)/10>>>0>>0;f=L[c+1|0];e=T(e,10)+m|0;a=c+1|0;c=a;m=f-48|0;if(m>>>0<10){continue}break}}if(!q){d=d+e|0;break h}if(!((g^1)&d>>>0>e>>>0)){d=e-d|0;k=h;break h}d=d-e|0}if(d>>>0<512){break f}}d=511;if(p==0){break f}N[147316]=68}m:{if(!(d>>>0>308?k:0)){f=!k;c=26192;break m}i=1;if(j){e=26192;c=j;while(1){i=c&1?i*S[e>>3]:i;e=e+8|0;h=c>>>0>1;c=c>>>1|0;if(h){continue}break}}d=d-j|0;p=p/i;f=1;c=26272}i=1;if(d){while(1){i=d&1?i*S[c>>3]:i;c=c+8|0;h=d>>>0>1;d=d>>>1|0;if(h){continue}break}}o=p/i;if(!f){break c}o=p*i}i=o;if(b){N[b>>2]=a}return(n|0)==45?-i:i}function Mj(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{f=N[a+96>>2];b:{if(!N[f+68>>2]){break b}e=N[a+132>>2];if(!e){break b}d=O[b+2|0]|O[b+3|0]<<8;h=d<<8|d>>>8;d=h&65535;if(h&16){g=d;d=O[b+4|0]|O[b+5|0]<<8;d=(((d<<8|d>>>8)&65535)<<1)+b|0;d=O[d+6|0]|O[d+7|0]<<8;d=g|(d<<24|d<<8&16711680)}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;L[a+21|0]=O[a+150|0];N[a+16>>2]=e;N[a+72>>2]=0;N[a+48>>2]=a;e=O[a+151|0];L[a+22|0]=e;h=a- -64|0;N[h>>2]=0;N[h+4>>2]=0;N[a+52>>2]=d;L[a+61|0]=1;d=N[a+84>>2]==1;L[a+20|0]=d;L[a+60|0]=d|O[a+149|0]!=0;L[a+62|0]=e;N[a+56>>2]=-1;d=O[b|0]|O[b+1|0]<<8;c:{if((d|0)!=1792){if((d|0)!=2048){break c}break a}d=275552;e=O[b+4|0]|O[b+5|0]<<8?b+6|0:275552;e=O[e|0]|O[e+1|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+b|0}if((O[d|0]|O[d+1|0]<<8)!=256){break c}if((O[d+2|0]|O[d+3|0]<<8)==2048){break a}}N[f+72>>2]=0;M[f+62>>1]=1;N[f+64>>2]=0;N[f+84>>2]=N[f+80>>2];Lj(a,c);zc(f)}return}if(!O[f+62|0]){N[f+64>>2]=N[f+68>>2]-1;f=N[a+96>>2];b=N[f+64>>2];while(1){b=N[f+80>>2]+T(b,20)|0;e=N[b>>2];d:{if(!(N[c>>2]>>>(e>>>4)&1)|!(N[c+4>>2]>>>e&1)|(!(N[c+8>>2]>>>(e>>>9)&1)|!(N[a+132>>2]&N[b+4>>2]))){break d}h=N[a+140>>2];b=P[b+12>>1];if(h&b&14){break d}e:{if(!(b&8)){break e}if(h&16){d=275552;b=N[a+104>>2];g=O[b+1|0]<<8;f:{if((O[b|0]|g)!=256){break f}g=g|O[b|0]|(O[b+2|0]<<16|O[b+3|0]<<24);if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<65538){break f}g=O[b+12|0]|O[b+13|0]<<8;if(!g){break f}d=b+((g<<8|g>>>8)&65535)|0}if((O[d|0]|O[d+1|0]<<8)!=256){break d}b=O[d+2|0]|O[d+3|0]<<8;g=(b<<8|b>>>8)&65535;b=h>>>16|0;if(g>>>0>b>>>0){b=((b<<2)+d|0)+4|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+d|0}else{b=275552}if((vb(b,e)|0)!=-1){break e}break d}d=h&65280;if(!d){break e}if((d|0)!=(b&65280)){break d}}d=N[c+16>>2];if(!d){break d}b=N[c+20>>2];while(1){e=N[a+96>>2];e=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];if(!(!(N[b+16>>2]>>>(e>>>4)&1)|!(N[b+20>>2]>>>e&1)|!(N[b+24>>2]>>>(e>>>9)&1))){if(Qa[N[b+4>>2]](N[b>>2],a)|0){break d}}b=b+28|0;d=d-1|0;if(d){continue}break}}b=N[f+64>>2]-1|0;N[f+64>>2]=b;if((b|0)>=0){continue}break}return}ba(8640,17822,1889,14549);F()}function Ib(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(N[a+20>>2]==2){e=N[a+68>>2];f=c>>>0>e>>>0?e:c;j=f-b|0;if(j>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=f>>>0){break a}h=N[a+80>>2];d=-1;e=b;l=(b^-1)+f|0;if(l>>>0>=3){k=j&-4;while(1){c=T(e,20)+h|0;i=N[c+8>>2];d=d>>>0>>0?d:i;i=N[c+28>>2];d=d>>>0>>0?d:i;i=N[c+48>>2];d=d>>>0>>0?d:i;c=N[c+68>>2];d=c>>>0>d>>>0?d:c;e=e+4|0;m=m+4|0;if((k|0)!=(m|0)){continue}break}}k=j&3;if(k){c=0;while(1){i=N[(T(e,20)+h|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(j&1){c=T(b,20)+h|0;if(N[c+8>>2]!=(d|0)){N[c+4>>2]=N[c+4>>2]|3}b=b+1|0}if(!l){break a}while(1){c=T(b,20)+h|0;if(N[c+8>>2]!=(d|0)){g=g|32;N[a+144>>2]=g;N[c+4>>2]=N[c+4>>2]|3}c=T(b+1|0,20)+h|0;if(N[c+8>>2]!=(d|0)){g=g|32;N[a+144>>2]=g;N[c+4>>2]=N[c+4>>2]|3}b=b+2|0;if((f|0)!=(b|0)){continue}break}break a}h=N[a+80>>2];j=N[(h+T(b,20)|0)+8>>2];d=j;e=b+1|0;b:{if(e>>>0>=c>>>0){break b}l=(c-b|0)-2|0;f=(b^-1)+c&3;if(f){k=b+f|0;while(1){i=N[(h+T(e,20)|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}e=k+1|0}if(l>>>0<=2){break b}while(1){g=h+T(e,20)|0;f=N[g+8>>2];d=d>>>0>>0?d:f;f=N[g+28>>2];d=d>>>0>>0?d:f;f=N[g+48>>2];d=d>>>0>>0?d:f;g=N[g+68>>2];d=d>>>0>>0?d:g;e=e+4|0;if((e|0)!=(c|0)){continue}break}}e=N[a+68>>2];c:{if(e>>>0<=c>>>0){break c}while(1){g=h+T(c,20)|0;if(N[g-12>>2]!=N[g+8>>2]){break c}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e}f=N[a+64>>2];g=b>>>0>f>>>0?f:b;while(1){d:{e=b;if(b>>>0<=f>>>0){e=g;break d}b=e-1|0;if((j|0)==N[(h+T(b,20)|0)+8>>2]){continue}}break}e:{if((e|0)!=(f|0)){break e}b=N[a+72>>2];if(!b){break e}g=h+T(f,20)|0;f=N[a+84>>2];while(1){b=b-1|0;a=f+T(b,20)|0;j=N[a+8>>2];if((j|0)!=N[g+8>>2]){break e}if((d|0)!=(j|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;if(b){continue}break}}if(c>>>0<=e>>>0){break a}a=e+1|0;if(c-e&1){b=h+T(e,20)|0;if(N[b+8>>2]!=(d|0)){N[b+4>>2]=N[b+4>>2]&-8}N[b+8>>2]=d;e=a}if((a|0)==(c|0)){break a}while(1){a=h+T(e,20)|0;if(N[a+8>>2]!=(d|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;a=h+T(e+1|0,20)|0;if(N[a+8>>2]!=(d|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;e=e+2|0;if((e|0)!=(c|0)){continue}break}}}function Wi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=La-32|0;La=e;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;if(!(!c|(!a|!b))){n=N[N[a+12>>2]+24>>2];g=N[b+16>>2];f=N[b+8>>2];N[e+12>>2]=3;Bl(N[(f<<2)+293344>>2],0,e+12|0,e,0,0);f=N[e+12>>2];h=f?N[e>>2]:0;N[e+16>>2]=h;i=f>>>0>1?N[e+4>>2]:0;N[e+20>>2]=i;N[e+24>>2]=f>>>0>2?N[e+8>>2]:0;f=N[(g<<2)+293296>>2];a:{b:{if(d){if(!h){N[e+16>>2]=1145457748;break b}if((i|0)==1145457748){break b}if(!i){N[e+20>>2]=1145457748;break b}N[e+24>>2]=1145457748;break b}i=0;g=0;if((h|0)==1145457748){break a}}j=db(1,52);c:{if(!j){j=275552;break c}N[j>>2]=1;N[j+4>>2]=1;L[j+12|0]=1}Zj(n,1196643650,e+16|0,f,j);if(_j(j+12|0)){i=0;g=0;break a}g=db(1,52);d:{if(!g){g=275552;break d}N[g>>2]=1;N[g+4>>2]=1;L[g+12|0]=1}N[e>>2]=-1;while(1){if(Re(j,e)){Yj(n,1196643650,N[e>>2],0,g);continue}break}i=275552;o=275552;d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;o=d}Zj(n,1196445523,e+16|0,f,o);d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;i=d}N[e>>2]=-1;while(1){if(Re(o,e)){Yj(n,1196445523,N[e>>2],i,0);continue}break}e:{if(N[b+16>>2]==10){break e}p=(N[b+12>>2]<<3)+283472|0;d=N[p>>2];if((d|0)==5531){break a}f=0;while(1){h=d+277936|0;d=O[h|0];if(d){while(1){l=d&255;h=h+1|0;if(d<<24>>24<0){d=l>>>0<240;k=l>>>0<224;m=k?1:d?2:3;l=(k?31:d?15:7)&l;k=0;d=h;while(1){l=O[d|0]&63|l<<6;d=d+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}h=h+m|0}N[e>>2]=-1;while(1){f:{if(!Re(j,e)){d=f;break f}d=0;m=N[a>>2];g:{if(!m){break g}k=N[m+92>>2];if(!k){break g}d=Qa[N[N[k+12>>2]+12>>2]](k,l)|0;d=d>>>0>2]?d:0}N[e+12>>2]=d;d=1;if(!Dc(n,N[e>>2],e+12|0,1,1)){continue}}break}f=d;d=O[h|0];if(d){continue}break}}d=N[p+8>>2];p=p+8|0;if((d|0)!=5531){continue}break}if(!(f&255)){break a}if(N[b+16>>2]==10){break e}f=i+12|0;d=g+12|0;h=O[g+48|0];h:{if((h|0)==O[i+48|0]){if(h){Mf(d,200,0,1,f);break h}Mf(d,201,1,0,f);break h}if(h){Mf(d,202,1,1,f);break h}Mf(d,203,0,0,f)}if(O[d|0]){L[g+48|0]=!O[i+48|0]&O[g+48|0]!=0}}N[e>>2]=-1;while(1){if(!Re(g,e)){break a}d=N[e>>2];if(d>>>0>=Q[a+4>>2]){continue}d=(d<<1)+c|0;if(P[d>>1]!=16383){continue}M[d>>1]=N[b>>2];continue}}Se(j);Se(g);Se(o);Se(i)}La=e+32|0}function Ug(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=T(b,c)+a|0;if(b>>>0>=10){n=0-c|0;while(1){f=a+c|0;g=T(b>>>1|0,c)+a|0;h=(Qa[d|0](f,g)|0)>0;e=h?f:g;i=T(b-1|0,c);k=i+a|0;b=k+n|0;if((Qa[d|0](e,b)|0)>0){f=h?g:f;e=(Qa[d|0](f,b)|0)>0?f:b}if((e|0)!=(k|0)){f=c+e|0;b=k;while(1){g=O[e|0];L[e|0]=O[b|0];L[b|0]=g;b=b+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}}j=k;g=j;h=a;f=h;a:{if((i|0)<=0){f=0;break a}while(1){b:{b=Qa[d|0](f,k)|0;if((b|0)<=0){if(!b){if(f>>>0>h>>>0){i=c+h|0;e=h;b=f;while(1){m=O[e|0];L[e|0]=O[b|0];L[b|0]=m;b=b+1|0;e=e+1|0;if(i>>>0>e>>>0){continue}break}}h=c+h|0}f=c+f|0;if(g>>>0>f>>>0){continue}break b}c:{if(f>>>0>=g>>>0){break c}while(1){m=g;d:{e:{g=g+n|0;b=Qa[d|0](g,k)|0;if(!b){i=j+n|0;if(j>>>0<=m>>>0){break e}e=g;b=i;while(1){j=O[e|0];L[e|0]=O[b|0];L[b|0]=j;b=b+1|0;e=e+1|0;if(m>>>0>e>>>0){continue}break}break e}if((b|0)>=0){break d}if(f>>>0>>0){i=c+f|0;e=f;b=g;while(1){m=O[e|0];L[e|0]=O[b|0];L[b|0]=m;b=b+1|0;e=e+1|0;if(i>>>0>e>>>0){continue}break}}f=c+f|0;break c}j=i}if(f>>>0>>0){continue}break}}if(f>>>0>>0){continue}}break}i=g-h|0;f:{if((a|0)==(h|0)|(g|0)==(h|0)){break f}b=h-a|0;if(b>>>0>i>>>0){if((i|0)<=0){break f}f=a+i|0;e=a+b|0;b=a;while(1){h=O[b|0];L[b|0]=O[e|0];L[e|0]=h;e=e+1|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}break f}if((b|0)<=0){break f}f=a+b|0;e=a+i|0;b=a;while(1){h=O[b|0];L[b|0]=O[e|0];L[e|0]=h;e=e+1|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}f=j-g|0;if((g|0)==(j|0)|(j|0)==(l|0)){break a}b=l-j|0;if(b>>>0>>0){if((b|0)<=0){break a}b=b+g|0;e=f+g|0;while(1){h=O[g|0];L[g|0]=O[e|0];L[e|0]=h;e=e+1|0;g=g+1|0;if(b>>>0>g>>>0){continue}break}break a}if((f|0)<=0){break a}h=f+g|0;e=b+g|0;while(1){b=O[g|0];L[g|0]=O[e|0];L[e|0]=b;e=e+1|0;g=g+1|0;if(h>>>0>g>>>0){continue}break}}Ug(a,(i>>>0)/(c>>>0)|0,c,d);a=l-f|0;b=(f>>>0)/(c>>>0)|0;l=a+T(c,b)|0;if(b>>>0>=10){continue}break}}h=a+c|0;if(l>>>0>h>>>0){j=0-c|0;while(1){f=h;g:{if(f>>>0<=a>>>0){break g}while(1){g=f+j|0;if((Qa[d|0](g,f)|0)<=0){break g}e=g;b=f;while(1){k=O[e|0];L[e|0]=O[b|0];L[b|0]=k;b=b+1|0;e=e+1|0;if(f>>>0>e>>>0){continue}break}f=g;if(g>>>0>a>>>0){continue}break}}h=c+h|0;if(l>>>0>h>>>0){continue}break}}}function Kc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=La-48|0;La=j;N[a+8>>2]=0;h=N[a+4>>2];if(h){N[N[a>>2]>>2]=441572;N[N[a>>2]+4>>2]=441572;N[N[a>>2]+8>>2]=441572;N[N[a>>2]+12>>2]=441572;N[N[a>>2]+16>>2]=441572}a:{if(!d){break a}f=O[c|0];if(!f){break a}g=6;if(!b){break a}e=O[b|0];if(!e){break a}N[j+24>>2]=0;N[j+28>>2]=0;N[j+16>>2]=0;N[j+20>>2]=0;N[j+8>>2]=0;N[j+12>>2]=0;N[j>>2]=0;N[j+4>>2]=0;while(1){b:{c:{d:{i=e&255;if((i|0)!=43){if(!i){break d}i=O[b+1|0];break c}i=O[b+1|0];if(i){break c}k=1;i=0;break b}e:{if((d|0)<=0){g=0;e=0;break e}l=c+d|0;while(1){e=c;while(1){f:{if(O[((f&248)>>>3|0)+j|0]>>>(f&7)&1){i=e;break f}f=O[e+1|0];i=e+1|0;e=i;if(f){continue}}break}f=N[a+8>>2];h=N[a+4>>2];g:{if((f|0)!=(h|0)){break g}if((f|0)==-1){h=f;break g}if((f|0)==536870911){g=64;break a}b=((f>>>1|0)+f|0)+5|0;h=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;if((h|f)<0){g=6;break a}e=N[a>>2];d=N[a+12>>2];h:{i:{j:{if(!h){b=0;if(!e){break j}Qa[N[d+8>>2]](d,e);N[a>>2]=0;break h}if((h|0)>536870911){g=10;break a}k:{if(!f){b=Qa[N[d+4>>2]](d,h<<2)|0;g=!b<<6;break k}d=Qa[N[d+12>>2]](d,f<<2,h<<2,e)|0;b=d?d:e;g=!d<<6}if(g|(f|0)>=(h|0)|!b){break i}G((f<<2)+b|0,0,h-f<<2)}N[a>>2]=b;break h}N[a>>2]=b;if(g){break a}}N[a+4>>2]=h;f=N[a+8>>2]}g=f+1|0;N[a+8>>2]=g;N[N[a>>2]+(f<<2)>>2]=c>>>0>=i>>>0?441572:c;e=O[i|0];l:{m:{if(k){b=i;if(!(e&255)){e=0;break e}while(1){n:{if(!(O[((e&248)>>>3|0)+j|0]>>>(e&7)&1)){f=e;c=b;break n}f=0;L[b|0]=0;e=O[b+1|0];c=b+1|0;b=c;if(e){continue}}break}e=0;if(c>>>0<=i>>>0){break l}break m}if(!(e&255)){e=0;break e}L[i|0]=0;c=i+1|0;f=O[i+1|0]}e=!(f&255)}if(f&255?c>>>0>>0:0){continue}break}h=N[a+4>>2];g=N[a+8>>2]}b=e+g|0;o:{if(b>>>0>>0){break o}N[j+44>>2]=0;if(b+1>>>0<=h>>>0){break o}g=64;if((h|0)==536870911){break a}b=((h>>>1|0)+h|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;m=a,n=lb(N[a+12>>2],4,h,b,N[a>>2],j+44|0),N[m>>2]=n;g=N[j+44>>2];if(g){break a}N[a+4>>2]=b;g=N[a+8>>2]}f=N[a>>2];p:{if(!e){e=g;break p}e=g+1|0;N[a+8>>2]=e;N[(g<<2)+f>>2]=441572;f=N[a>>2]}g=0;N[(e<<2)+f>>2]=0;break a}g=((e&248)>>>3|0)+j|0;L[g|0]=O[g|0]|1<<(e&7)}b=b+1|0;e=i;continue}}La=j+48|0;return g}function jp(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=(g?1032:0)+a|0;N[p>>2]=0;q=(g?1548:516)+a|0;N[q>>2]=0;m=g?a+1548|0:a+516|0;n=g?a+1032|0:a;if(b>>>0>=2){while(1){a=c+2|0;k=h&1;o=M[(k?c:a)>>1];j=M[(k?a:c)>>1]-o|0;h=(k?n:m)+4|0;g=k?l:i;a:{b:{if(!g){break b}a=(g<<5)+h|0;c:{while(1){r=N[h>>2];if((r|0)>(o|0)){break c}if((o|0)==(r|0)){a=N[h+4>>2];if((j|0)<0){if((a|0)<=(j|0)){break a}N[h+4>>2]=j;break a}if((a|0)>=(j|0)){break a}N[h+4>>2]=j;break a}h=h+32|0;g=g-1|0;if(g){continue}break}h=a;break b}B(h+32|0,h,g<<5)}N[h+4>>2]=j;N[h>>2]=o;if(k){l=l+1|0;break a}i=i+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}N[p>>2]=l;N[q>>2]=i;if(d>>>0>=2){a=m+4|0;while(1){j=M[e+2>>1];c=M[e>>1]-j|0;h=a;d:{e:{if(!i){break e}b=(i<<5)+h|0;g=i;f:{while(1){k=N[h>>2];if((k|0)>(j|0)){break f}if((j|0)==(k|0)){b=N[h+4>>2];if((c|0)<0){if((b|0)<=(c|0)){break d}N[h+4>>2]=c;break d}if((b|0)>=(c|0)){break d}N[h+4>>2]=c;break d}h=h+32|0;g=g-1|0;if(g){continue}break}h=b;break e}B(h+32|0,h,g<<5)}N[h+4>>2]=c;N[h>>2]=j;i=i+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}N[p>>2]=l;N[q>>2]=i;g:{if(!l){break g}h=n+4|0;a=l;while(1){h:{i:{switch(a|0){case 1:b=N[h+4>>2];g=N[h>>2];break h;case 0:break g;default:break i}}g=N[h>>2];b=N[h+32>>2]-g|0;c=N[h+4>>2];if((b|0)>=(c|0)){b=c;break h}N[h+4>>2]=b}N[h+12>>2]=g;N[h+8>>2]=b+g;h=h+32|0;a=a-1|0;continue}}j:{if(!i){break j}h=m+4|0;a=i;while(1){k:{l:{switch(a|0){case 1:b=N[h+4>>2];g=N[h>>2];break k;case 0:break j;default:break l}}g=N[h>>2];b=g-N[h+32>>2]|0;c=N[h+4>>2];if((b|0)<=(c|0)){b=c;break k}N[h+4>>2]=b}N[h+8>>2]=g;N[h+12>>2]=b+g;h=h+32|0;a=a-1|0;continue}}if(l){N[n+16>>2]=N[n+16>>2]-f;h=n+4|0;a=N[n+12>>2];g=l-1|0;m:{if(!g){b=h;break m}while(1){b=N[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);N[h+8>>2]=a?d:e;N[h+44>>2]=a?d:b-f|0;a=N[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}N[b+8>>2]=a+f}if(i){N[m+16>>2]=N[m+16>>2]-f;h=m+4|0;a=N[m+12>>2];g=i-1|0;n:{if(!g){b=h;break n}while(1){b=N[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);N[h+8>>2]=a?d:e;N[h+44>>2]=a?d:b-f|0;a=N[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}N[b+8>>2]=a+f}}function Pc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=La-16|0;La=j;e=N[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{d=O[e|0];switch(d-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){break a}n=(d|0)==45;d=O[e|0];switch(d-43|0){case 0:case 2:break a;default:break b}}h=1;d:{if((d|0)==46){d=e;m=1;break d}N[j+8>>2]=e;f=j+8|0;g=ed(f,b,10);e:{d=N[j+8>>2];if((e|0)!=(d|0)){if(O[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;N[j+8>>2]=i;g=ed(f,b,g);d=N[j+8>>2];if((i|0)!=(d|0)){break e}}g=0;break a}if((d|0)==(e|0)){g=0;break a}m=(g|0)<32768;i=m?g<<16:g}e=0;f:{if(O[d|0]!=46|b>>>0<=d>>>0){break f}d=d+1|0;if(d>>>0>=b>>>0){break f}g:{if(!i){while(1){h:{f=O[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break h}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}i:{if((h|0)>214748363|(e|0)>214748363){break i}e=L[f+294800|0]+T(e,10)|0;if((c|0)>0){c=c-1|0;break i}h=T(h,10)}d=d+1|0;if((d|0)!=(b|0)){continue}break g}}while(1){j:{f=O[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break j}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}k=L[f+294800|0]+T(e,10)|0;f=(h|0)<214748364&(e|0)<214748364;e=f?k:e;h=f?T(h,10):h;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=b}f=1;k:{l:{m:{n:{k=d+1|0;if(!((O[d|0]|32)!=101|k>>>0>=b>>>0)){N[j+12>>2]=k;g=j+12|0;l=ed(g,b,10);o:{d=N[j+12>>2];if((k|0)!=(d|0)){if(O[d|0]!=35|b>>>0<=d>>>0){break o}f=d+1|0;N[j+12>>2]=f;l=ed(g,b,l);d=N[j+12>>2];if((f|0)!=(d|0)){break o}}g=0;break a}g=0;if((d|0)==(k|0)){break a}if((l|0)>1e3){break n}f=(l|0)>-1001;c=(f?l:0)+c|0}N[a>>2]=d;g=0;if(!(e|i)){break a}a=2147483647;if(!m){break k}if(!f){break a}if((c|0)<=0){break m}while(1){if((i|0)>214748363){break k}p:{if((e|0)>=214748364){if((h|0)==1){break k}h=(h|0)/10|0;break p}e=T(e,10)}i=T(i,10);b=(c|0)>1;c=c-1|0;if(b){continue}break}break l}N[a>>2]=d;a=2147483647;if(e|i){break k}break a}if((c|0)>=0){break l}while(1){a=i;i=(i|0)/10|0;q:{if((h|0)<=214748363){h=T(h,10);break q}e=(e|0)/10|0}if(!(!e&a-10>>>0>=4294967277)){c=c+1|0;if(!c){break l}continue}break}break a}if(!e){a=i;break k}a=fb(e,h)+i|0}g=n?0-a|0:a}La=j+16|0;return g}function aq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=N[a>>2];if(!d){i=a-28|0;while(1){c=N[i>>2];if(!c){return 275552}d=db(1,32);if(!d){N[a>>2]=275552;return 275552}N[d+8>>2]=0;N[d+12>>2]=0;N[d>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;if(N[c+32>>2]==-1){b=sb(c+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}b=N[c+12>>2];a:{if(b){b=Qa[b|0](c,1886352244,N[c+16>>2])|0;if(b){break a}}b=275552}b:{c:{d:{c=N[b>>2];if(c){if((c|0)<=0){break d}N[b>>2]=c+1}f=N[b+16>>2];if((f|0)<0){break c}e=N[b+12>>2];if(f>>>0>67108863){c=1073741789}else{c=f<<6;c=c>>>0<=16384?16384:c;c=(c>>>0>=1073741823?1073741823:c)-34|0}e:{if(!e){ab(b);break e}f:{if(f>>>0>=32){g:{h:{g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if((h|0)==65536){break h}i:{if((f&-2)==32|(h|0)!=131072){break i}e=O[e+32|0]|O[e+33|0]<<8;if(!e){break h}if((f|0)<34){break i}e=((e<<8|e>>>8)&65535)<<1;if(e>>>0>f-34>>>0){break i}if((c|0)>(e|0)){break h}}ab(b);if((g|0)==768){break g}break f}ab(b)}if(!N[b+4>>2]){break e}N[b+4>>2]=0;break e}ab(b)}ab(b);b=275552}N[d>>2]=b;f=N[b+16>>2];c=f>>>0<32?275552:N[b+12>>2];b=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[d+4>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);j:{if((b|0)!=512){break j}b=c+32|0;N[d+8>>2]=b;e=O[c+32|0]|O[c+33|0]<<8;b=(b+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;N[d+24>>2]=b;e=N[d+16>>2];if(e>>>0>65534){break j}h=c+f|0;if(h>>>0<=b>>>0){break j}while(1){if(h>>>0<=O[b|0]+b>>>0){break j}k:{l:{m:{c=N[d+12>>2];if((c|0)>=0){f=e+1|0;j=N[d+24>>2];if(c>>>0>e>>>0){g=N[d+20>>2];break l}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){g=$a(N[d+20>>2],c<<2);if(g){break m}}N[d+12>>2]=-1}N[147456]=0;break k}N[d+12>>2]=c;N[d+20>>2]=g;e=N[d+16>>2];f=e+1|0}N[d+16>>2]=f;N[(e<<2)+g>>2]=b-j}e=N[d+16>>2];if(e>>>0>65534){break j}b=(O[b|0]+b|0)+1|0;if(h>>>0>b>>>0){continue}break}}break b}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!N[a>>2]){N[a>>2]=d;return d}_a(N[d+28>>2]);ab(N[d>>2]);N[d>>2]=0;if(N[d+16>>2]){N[d+16>>2]=0}_a(N[d+20>>2]);_a(d);d=N[a>>2];if(!d){continue}break}}return d}function Qu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=La-16|0;La=n;i=N[b+16>>2];l=N[b+8>>2];Qa[N[b+28>>2]](b);j=3;c=N[b>>2];a:{b:{c:{if(c>>>0>=l>>>0){break c}N[b>>2]=c+1;if(O[c|0]!=91){break c}Qa[N[b+28>>2]](b);c=N[b>>2];if(l>>>0<=c>>>0){break c}while(1){d:{e:{f:{g:{h:{f=O[c|0];if((f|0)!=60){if((f|0)!=93){break h}N[b>>2]=c+1;break b}if(!(k|!h)){k=0;break c}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break b}e=N[b>>2];f=(e+(c^-1)|0)/2|0;if(e-c>>>0<3){break c}if((f|o)<0){j=6;break c}if(!o){h=Qa[N[i+4>>2]](i,f)|0;if(h){break g}h=0;j=64;break c}e=Qa[N[i+12>>2]](i,o,f,h)|0;h=e?e:h;if(e){break g}j=64;break c}if(f-48>>>0>9){f=o;break f}if(k){k=1;break c}k=0;e=Qa[N[b+36>>2]](b)|0;if((e|0)<0){break c}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}c=N[b>>2];h=c+1|0;if(l-c>>>0<=e>>>0){break c}N[b>>2]=(c+e|0)+1;break e}N[b>>2]=c;k=1;Qa[N[b+44>>2]](b,h,f,n+12|0,1)|0;e=N[n+12>>2]}if(!h){break d}o=f}i:{j:{if(!(e&1)){c=e;break j}c=e-1|0;if(O[h+c|0]){break i}}e=c;if(c){break i}break c}r=l-N[b>>2]|0;p=0;while(1){k:{l:{m:{n:{o:{p:{q:{switch(d|0){case 1:g=N[a+496>>2];break p;case 2:break m;case 0:break q;default:break k}}g=N[a+496>>2];d=0;if((m|0)<12){break l}q=O[g+5|0]+(O[g+4|0]<<4)|0;c=q<<4|12;N[a+500>>2]=c;if((c|0)>(r|0)){break c}c=Qa[N[i+12>>2]](i,12,c,g)|0;g=c?c:g;N[a+496>>2]=g;if(!c){break o}}c=N[a+500>>2];d=1;if((m|0)<(c|0)){break l}if(q){s=g+12|0;f=0;while(1){d=(f<<4)+s|0;d=O[d+12|0]|O[d+13|0]<<8|(O[d+14|0]<<16|O[d+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>r>>>0|(r-d|0)<(c|0)){break c}c=(d+3&-4)+c|0;N[a+500>>2]=c;f=f+1|0;if((q|0)!=(f|0)){continue}break}}if((c|0)<-1){j=6;N[a+496>>2]=g;break c}c=c+1|0;if(!c){d=0;if(!g){break n}Qa[N[i+8>>2]](i,g);break n}c=Qa[N[i+12>>2]](i,q<<4|12,c,g)|0;d=c?c:g;if(c){break n}j=64;N[a+496>>2]=d;break c}j=!c<<6;break c}N[a+496>>2]=d}if(N[a+500>>2]<=(m|0)){break c}g=N[a+496>>2];d=2}L[g+m|0]=O[h+p|0];m=m+1|0}p=p+1|0;if((p|0)!=(e|0)){continue}break}Qa[N[b+28>>2]](b);c=N[b>>2];if(l>>>0>c>>>0){continue}break c}break}h=0}N[b+12>>2]=j}if(!k|!h){break a}Qa[N[i+8>>2]](i,h)}La=n+16|0}function il(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{e=O[a|0]|O[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}if(b>>>0>=c>>>0){break a}if((b|0)<0){return 275552}return((b<<2)+a|0)+2|0}c=O[a+4|0]|O[a+5|0]<<8;d=(c<<8|c>>>8)&65535;f=a+12|0;a=O[a+2|0]|O[a+3|0]<<8;g:{if(!c){e=(a<<8|(a&65280)>>>8)&65535;c=0;break g}e=(a<<8|(a&65280)>>>8)&65535;a=f+T(e,d-1|0)|0;c=0;if((O[a|0]|O[a+1|0]<<8)!=65535){break g}c=(O[a+2|0]|O[a+3|0]<<8)==65535?-1:0}a=0;c=c+d|0;h:{if((c|0)<=0){break h}c=c-1|0;d=0;while(1){g=c+d>>>1|0;a=f+T(g,e)|0;h=O[a+2|0]|O[a+3|0]<<8;i:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){d=O[a|0]|O[a+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>=b>>>0){break h}d=g+1|0;break i}c=g-1|0}if((c|0)>=(d|0)){continue}break}a=0}return a?a+4|0:0}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;e=O[a+4|0]|O[a+5|0]<<8;if(b>>>0>=((e<<8|e>>>8)&65535)>>>0){break a}d=((b<<2)+a|0)+6|0;break a}c=O[a+4|0]|O[a+5|0]<<8;d=(c<<8|c>>>8)&65535;f=a+12|0;a=O[a+2|0]|O[a+3|0]<<8;j:{if(!c){e=(a<<8|(a&65280)>>>8)&65535;c=0;break j}e=(a<<8|(a&65280)>>>8)&65535;a=f+T(e,d-1|0)|0;c=(O[a|0]|O[a+1|0]<<8)==65535?-1:0}a=0;c=c+d|0;k:{if((c|0)<=0){break k}c=c-1|0;d=0;while(1){g=c+d>>>1|0;a=f+T(g,e)|0;h=O[a|0]|O[a+1|0]<<8;h=(h<<8|h>>>8)&65535;l:{if(h>>>0>b>>>0){c=g-1|0;break l}if((b|0)==(h|0)){break k}d=g+1|0}if((c|0)>=(d|0)){continue}break}a=0}return a?a+2|0:0}e=O[a+4|0]|O[a+5|0]<<8;g=(e<<8|e>>>8)&65535;h=a+12|0;c=O[a+2|0]|O[a+3|0]<<8;m:{if(!e){e=(c<<8|(c&65280)>>>8)&65535;f=0;break m}e=(c<<8|(c&65280)>>>8)&65535;c=h+T(e,g-1|0)|0;f=0;if((O[c|0]|O[c+1|0]<<8)!=65535){break m}f=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}c=f+g|0;if((c|0)<=0){break a}c=c-1|0;while(1){g=c+d>>>1|0;f=h+T(g,e)|0;i=O[f+2|0]|O[f+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){d=O[f|0]|O[f+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=g+1|0;break n}b=b-i|0;if((b|0)<0){return 275552}c=a;a=O[f+4|0]|O[f+5|0]<<8;return(c+((a<<8|a>>>8)&65535)|0)+(b<<2)|0}c=g-1|0}if((c|0)>=(d|0)){continue}break}return 0}return d}function ac(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{e=O[a|0]|O[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}if(b>>>0>=c>>>0){break a}if((b|0)<0){return 275552}return((b<<1)+a|0)+2|0}c=O[a+4|0]|O[a+5|0]<<8;d=(c<<8|c>>>8)&65535;f=a+12|0;a=O[a+2|0]|O[a+3|0]<<8;g:{if(!c){e=(a<<8|(a&65280)>>>8)&65535;c=0;break g}e=(a<<8|(a&65280)>>>8)&65535;a=f+T(e,d-1|0)|0;c=0;if((O[a|0]|O[a+1|0]<<8)!=65535){break g}c=(O[a+2|0]|O[a+3|0]<<8)==65535?-1:0}a=0;c=c+d|0;h:{if((c|0)<=0){break h}c=c-1|0;d=0;while(1){g=c+d>>>1|0;a=f+T(g,e)|0;h=O[a+2|0]|O[a+3|0]<<8;i:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){d=O[a|0]|O[a+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>=b>>>0){break h}d=g+1|0;break i}c=g-1|0}if((c|0)>=(d|0)){continue}break}a=0}return a?a+4|0:0}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;e=O[a+4|0]|O[a+5|0]<<8;if(b>>>0>=((e<<8|e>>>8)&65535)>>>0){break a}d=((b<<1)+a|0)+6|0;break a}c=O[a+4|0]|O[a+5|0]<<8;d=(c<<8|c>>>8)&65535;f=a+12|0;a=O[a+2|0]|O[a+3|0]<<8;j:{if(!c){e=(a<<8|(a&65280)>>>8)&65535;c=0;break j}e=(a<<8|(a&65280)>>>8)&65535;a=f+T(e,d-1|0)|0;c=(O[a|0]|O[a+1|0]<<8)==65535?-1:0}a=0;c=c+d|0;k:{if((c|0)<=0){break k}c=c-1|0;d=0;while(1){g=c+d>>>1|0;a=f+T(g,e)|0;h=O[a|0]|O[a+1|0]<<8;h=(h<<8|h>>>8)&65535;l:{if(h>>>0>b>>>0){c=g-1|0;break l}if((b|0)==(h|0)){break k}d=g+1|0}if((c|0)>=(d|0)){continue}break}a=0}return a?a+2|0:0}e=O[a+4|0]|O[a+5|0]<<8;g=(e<<8|e>>>8)&65535;h=a+12|0;c=O[a+2|0]|O[a+3|0]<<8;m:{if(!e){e=(c<<8|(c&65280)>>>8)&65535;f=0;break m}e=(c<<8|(c&65280)>>>8)&65535;c=h+T(e,g-1|0)|0;f=0;if((O[c|0]|O[c+1|0]<<8)!=65535){break m}f=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}c=f+g|0;if((c|0)<=0){break a}c=c-1|0;while(1){g=c+d>>>1|0;f=h+T(g,e)|0;i=O[f+2|0]|O[f+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){d=O[f|0]|O[f+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>>0){d=g+1|0;break n}b=b-i|0;if((b|0)<0){return 275552}c=a;a=O[f+4|0]|O[f+5|0]<<8;return(c+((a<<8|a>>>8)&65535)|0)+(b<<1)|0}c=g-1|0}if((c|0)>=(d|0)){continue}break}return 0}return d}function jC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=La-48|0;La=f;a:{b:{c:{if(!cb(b,8894)){e=6;if(d){break a}d=N[c>>2];b=0;c=286856;while(1){if(!((d|0)!=N[c+8>>2]|N[c+16>>2]!=10)){c=b;break c}c=b+1|0;g=N[(c<<2)+288960>>2];if((d|0)==N[g+8>>2]&N[g+16>>2]==10){break c}c=b+2|0;g=N[(c<<2)+288960>>2];if((d|0)==N[g+8>>2]&N[g+16>>2]==10){break c}b=b+3|0;c=N[(b<<2)+288960>>2];if((b|0)!=87){continue}break}break a}if(!cb(b,8879)){e=6;if(d){break a}N[a+16>>2]=N[c>>2];break b}if(!cb(b,9447)){e=6;if(d){break a}b=N[c>>2];if(!b){e=35;break a}d=N[b+116>>2];N[f+16>>2]=d;if(!d){e=Cg(b,f+16|0,a);if(e){break a}d=N[f+16>>2];N[b+116>>2]=d;N[b+120>>2]=313}N[d+20>>2]=N[c+4>>2];break b}d:{if(!cb(b,10437)){e:{if(!d){b=N[c>>2];break e}d=f+12|0;b=Kb(c,d);e=N[f+12>>2];if(O[e|0]!=44|(c|0)==(e|0)){break d}e=e+1|0;l=f,m=Kb(e,d),N[l+20>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break d}e=c+1|0;l=f,m=Kb(e,d),N[l+24>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break d}e=c+1|0;l=f,m=Kb(e,d),N[l+28>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break d}e=c+1|0;l=f,m=Kb(e,f+12|0),N[l+32>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break d}e=c+1|0;l=f,m=Kb(e,f+12|0),N[l+36>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break d}e=c+1|0;l=f,m=Kb(e,f+12|0),N[l+40>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break d}c=c+1|0;l=f,m=Kb(c,d),N[l+44>>2]=m;d=N[f+12>>2];if((O[d|0]|32)!=32|(c|0)==(d|0)){break d}c=f+16|0}e=6;if((b|0)<0){break a}d=N[c+8>>2];if((d|0)<0){break a}g=N[c+16>>2];if((g|0)<0){break a}h=N[c+24>>2];if((h|0)<0){break a}i=N[c+4>>2];if((i|0)<0){break a}j=N[c+12>>2];if((j|0)<0){break a}k=N[c+20>>2];if((k|0)<0){break a}c=N[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}N[a+24>>2]=b;N[a+52>>2]=c;N[a+48>>2]=h;N[a+44>>2]=k;N[a+40>>2]=g;N[a+36>>2]=j;N[a+32>>2]=d;N[a+28>>2]=i;break b}e=12;if(cb(b,14683)){break a}if(d){e=0;if(!Kb(c,0)){L[a+20|0]=0;break a}L[a+20|0]=1;break a}L[a+20|0]=O[c|0];break b}e=6;break a}N[a+12>>2]=c}e=0}La=f+48|0;return e|0}function WD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=N[b>>2];k=N[h+20>>2];a:{if(k){break a}while(1){i=N[h>>2];if(!i){k=275552;break a}k=db(1,28);if(!k){k=275552;N[h+20>>2]=275552;break a}k=hq(k,i);if(!N[h+20>>2]){N[h+20>>2]=k;break a}ab(N[k+20>>2]);N[k+20>>2]=0;ab(N[k+24>>2]);_a(k);k=N[h+20>>2];if(!k){continue}break}}i=275552;h=N[k+24>>2];h=h?h:275552;h=Q[h+16>>2]<20?275552:N[h+12>>2];j=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);if(j){i=h+(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))|0}h=0;o=N[a+84>>2];b:{if(T(o,c)>>>0<128){break b}h=O[i+2|0]|O[i+3|0]<<8|(O[i+4|0]<<16|O[i+5|0]<<24);if(h){h=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+i|0}else{h=275552}i=O[h+2|0]|O[h+3|0]<<8;m=i<<8|i>>>8;j=m&65535;h=kb(j<<2);if(!i|!h){break b}i=j>>>0<=1?1:j;n=i&7;j=0;if((m&65535)>>>0>=8){m=i&65528;while(1){i=j<<2;N[i+h>>2]=1073741824;N[(i|4)+h>>2]=1073741824;N[(i|8)+h>>2]=1073741824;N[(i|12)+h>>2]=1073741824;N[(i|16)+h>>2]=1073741824;N[(i|20)+h>>2]=1073741824;N[(i|24)+h>>2]=1073741824;N[(i|28)+h>>2]=1073741824;j=j+8|0;if((m|0)!=(j|0)){continue}break}}if(!n){break b}while(1){N[(j<<2)+h>>2]=1073741824;j=j+1|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}c:{d:{e:{if(!o){break e}j=N[b+8>>2];if(j){i=N[b+4>>2];break d}j=kb(1024);if(!j){break e}G(j,255,1024);N[b+8>>2]=j;i=N[a+16>>2];N[b+4>>2]=i;break d}if(!c){break c}i=0;while(1){b=gq(k,N[d>>2],a,h)<<16>>16;j=TE(b,b>>31,N[a+56>>2],N[a+60>>2]);b=Pa;j=j+32768|0;N[f>>2]=((j>>>0<32768?b+1|0:b)&65535)<<16|j>>>16;f=f+g|0;d=d+e|0;i=i+1|0;if((i|0)!=(c|0)){continue}break}break c}n=i;i=N[a+16>>2];if((n|0)!=(i|0)){G(j,255,1024);N[b+4>>2]=i}if(!c){break c}l=0;while(1){i=N[d>>2];j=N[N[b+8>>2]+((i&255)<<2)>>2];f:{if(!((j|0)==-1|(j>>>16|0)!=(i>>>8|0))){i=j&65535;break f}i=gq(k,i,a,h);if(i>>>0>65535){break f}j=N[d>>2];if(j>>>0>16777215){break f}N[N[b+8>>2]+((j&255)<<2)>>2]=j<<8&-65536|i}i=i<<16>>16;j=TE(N[a+56>>2],N[a+60>>2],i,i>>31);i=Pa;j=j+32768|0;N[f>>2]=((j>>>0<32768?i+1|0:i)&65535)<<16|j>>>16;f=f+g|0;d=d+e|0;l=l+1|0;if((l|0)!=(c|0)){continue}break}}_a(h)}function zm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;N[a+12>>2]=b;N[a+8>>2]=c;N[a+4>>2]=b;N[a+20>>2]=N[a+16>>2];n=6;a:{b:{while(1){if(b>>>0>=c>>>0){break b}g=N[a+20>>2];k=N[a+16>>2];l=g-k>>2;e=N[a+24>>2];h=O[b|0];c:{d:{if(!((h|0)==31|(h-27&255)>>>0>227)){i=4;if(e>>>0<=l>>>0){break c}N[a+20>>2]=g+4;N[g>>2]=b;e:{switch(h-28|0){case 2:while(1){b=b+1|0;if(c>>>0<=b>>>0){b=c;i=7;break c}e=O[b|0];if((e&240)==240){break d}if((e&15)!=15){continue}break};break d;case 0:b=b+2|0;break d;case 1:b=b+4|0;break d;default:break e}}b=(h>>>0>246)+b|0;break d}i=4;if(e>>>0<=l>>>0){break c}N[g>>2]=b;if((h|0)==12){b=b+1|0;i=8;if(c>>>0<=b>>>0){break c}h=O[b|0]|256}d=31312;j=4;f=N[a+28>>2]|h;f:{g:{if((f|0)==4096){break g}h:{i:{j:{k:{l:{m:{n:{while(1){if((f|0)==N[d+32>>2]){break i}if((f|0)==N[d+60>>2]){break k}if((f|0)==N[d+88>>2]){break m}j=N[d+112>>2];if(!j){break f}if((f|0)==N[d+116>>2]){break h}if((f|0)==N[d+144>>2]){break j}if((f|0)==N[d+172>>2]){break l}if((f|0)==N[d+200>>2]){break n}e=d;d=d+224|0;if((f|0)!=N[e+228>>2]){continue}break}j=N[d>>2];break g}d=d+112|0}d=d+84|0;j=N[d>>2];break g}d=d+112|0}d=d+56|0;j=N[d>>2];break g}d=d+112|0}d=d+28|0;j=N[d>>2];break g}d=d+112|0}e=N[d+8>>2];f=N[a+32>>2];if((g|0)==(k|0)){i=12;if((j|0)!=6){break c}}g=f+e|0;o:{p:{q:{r:{s:{t:{switch(j-1|0){case 0:case 3:case 4:e=Lc(a,N[N[a+16>>2]>>2]);break s;case 1:e=me(a,N[N[a+16>>2]>>2],0);break s;case 5:break r;case 2:break t;default:break q}}e=me(a,N[N[a+16>>2]>>2],3)}u:{switch(O[d+12|0]-1|0){case 1:M[g>>1]=e;break f;case 0:break o;default:break u}}N[g>>2]=e;break f}h=N[a+16>>2];e=N[d+20>>2];k=e>>>0>l>>>0?l:e;L[f+N[d+24>>2]|0]=k;if(!k){break f}f=0;while(1){f=Lc(a,N[h>>2])+f|0;v:{w:{x:{y:{e=O[d+12|0];switch(e-1|0){case 1:break x;case 0:break y;default:break w}}L[g|0]=f;break v}M[g>>1]=f;break v}N[g>>2]=f}h=h+4|0;g=e+g|0;k=k-1|0;if(k){continue}break}break p}m=Qa[N[d+16>>2]](a)|0;i=7;if(m){break c}m=0}if((j|0)!=8){break f}break d}L[g|0]=e}N[a+20>>2]=N[a+16>>2]}b=b+1|0;i=0}h=i;if(!h){continue}break}if(YE(h,30)-1>>>0<3){break a}}n=m}return n}function hp(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=La-128|0;La=j;a:{b:{c:{if(!Rd(f,g,h,i,0,0,0,0)){break c}k=i&65535;n=i>>>16&32767;d:{e:{if((n|0)!=32767){l=4;if(n){break e}l=f|h|(g|k)?3:2;break d}l=!(f|h|(g|k))}}s=e>>>16|0;o=s&32767;if((o|0)==32767){break c}if(l){break b}}Gb(j+16|0,b,c,d,e,f,g,h,i);b=N[j+16>>2];d=N[j+20>>2];e=N[j+24>>2];c=N[j+28>>2];rn(j,b,d,e,c,b,d,e,c);d=N[j+8>>2];e=N[j+12>>2];h=N[j>>2];i=N[j+4>>2];break a}l=d;p=e&2147483647;k=p;n=h;m=i&2147483647;if((Rd(b,c,l,k,f,g,h,m)|0)<=0){if(Rd(b,c,l,k,f,g,h,m)){h=b;i=c;break a}Gb(j+112|0,b,c,d,e,0,0,0,0);d=N[j+120>>2];e=N[j+124>>2];h=N[j+112>>2];i=N[j+116>>2];break a}q=i>>>16&32767;if(o){i=c;h=b}else{Gb(j+96|0,b,c,l,p,0,0,0,1081540608);l=N[j+104>>2];h=N[j+108>>2];p=h;o=(h>>>16|0)-120|0;i=N[j+100>>2];h=N[j+96>>2]}if(!q){Gb(j+80|0,f,g,n,m,0,0,0,1081540608);n=N[j+88>>2];f=N[j+92>>2];m=f;q=(f>>>16|0)-120|0;g=N[j+84>>2];f=N[j+80>>2]}r=n;t=m&65535|65536;p=p&65535|65536;if((o|0)>(q|0)){while(1){m=l-r|0;k=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-k|0;k=(p-((l>>>0>>0)+t|0)|0)-(k>>>0>m>>>0)|0;f:{if((k|0)>0|(k|0)>=0){l=h;h=h-f|0;i=i-((f>>>0>l>>>0)+g|0)|0;if(!(h|n|(i|k))){Gb(j+32|0,b,c,d,e,0,0,0,0);d=N[j+40>>2];e=N[j+44>>2];h=N[j+32>>2];i=N[j+36>>2];break a}k=k<<1|n>>>31;l=n<<1|i>>>31;break f}k=p<<1|l>>>31;l=l<<1|i>>>31}p=k;k=i<<1|h>>>31;h=h<<1;i=k;o=o-1|0;if((o|0)>(q|0)){continue}break}o=q}m=l-r|0;k=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-k|0;k=(p-((l>>>0>>0)+t|0)|0)-(k>>>0>m>>>0)|0;m=k;g:{if((k|0)<0){n=l;m=p;break g}l=h;h=h-f|0;i=i-((f>>>0>l>>>0)+g|0)|0;if(h|n|(i|m)){break g}Gb(j+48|0,b,c,d,e,0,0,0,0);d=N[j+56>>2];e=N[j+60>>2];h=N[j+48>>2];i=N[j+52>>2];break a}if((m|0)==65535|m>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;p=i<<1|h>>>31;h=h<<1;i=p;c=b;b=m<<1|n>>>31;n=c|n<<1;m=b;if(b>>>0<65536){continue}break}}b=s&32768;if((o|0)<=0){Gb(j- -64|0,h,i,n,m&65535|(b|o+120)<<16,0,0,0,1065811968);d=N[j+72>>2];e=N[j+76>>2];h=N[j+64>>2];i=N[j+68>>2];break a}d=n;e=m&65535|(b|o)<<16}N[a>>2]=h;N[a+4>>2]=i;N[a+8>>2]=d;N[a+12>>2]=e;La=j+128|0}function Vl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=La-16|0;La=h;a:{b:{m=N[a+204>>2];c:{if(m>>>0<2){break c}k=N[a+172>>2];i=N[a+168>>2];n=N[a+20>>2];o=N[a+16>>2];j=a+8|0;p=N[j>>2];e=p;d:{e:{q=N[a+12>>2];f=q;if(f-18>>>0<=14){c=o;b=f;d=n;while(1){if(!d){break e}e=e>>>8|0;N[a+8>>2]=e;g=O[c|0];d=d-1|0;N[a+20>>2]=d;f=b-8|0;N[a+12>>2]=f;c=c+1|0;N[a+16>>2]=c;e=e|g<<24;N[a+8>>2]=e;g=b-26|0;b=f;if(g>>>0<15){continue}break}}c=e>>>f|0;d=i+((c&255)<<2)|0;b=O[d|0];if(b>>>0>=9){f=f+8|0;d=(P[d+2>>1]+(N[(b<<2)+169360>>2]&c>>>8&127)<<2)+d|0;b=O[d|0]}N[a+12>>2]=(b&255)+f;N[h+8>>2]=P[d+2>>1];break d}if(!Jc(i,j,h+8|0)){break c}}f:{g:{if(!N[a+556>>2]){h:{b=N[a+12>>2];i:{if(b-18>>>0>=15){e=N[j>>2];break i}d=N[a+20>>2];c=b;while(1){if(!d){break h}e=N[a+8>>2]>>>8|0;N[a+8>>2]=e;g=N[a+16>>2];f=O[g|0];d=d-1|0;N[a+20>>2]=d;b=c-8|0;N[a+12>>2]=b;N[a+16>>2]=g+1;e=e|f<<24;N[a+8>>2]=e;f=c-26|0;c=b;if(f>>>0<15){continue}break}}f=e>>>b|0;d=k+((f&255)<<2)|0;c=O[d|0];if(c>>>0>=9){d=(P[d+2>>1]+(N[(c<<2)+169360>>2]&f>>>8&127)<<2)+d|0;c=O[d|0];b=b+8|0}N[a+12>>2]=b+(c&255);f=P[d+2>>1];break g}if(!Jc(k,j,h+12|0)){break f}f=N[h+12>>2];break g}f=N[a+188>>2]}c=f<<2;k=P[c+169280>>1];l=O[c+169282|0];b=N[a+12>>2];if(l>>>0<=32-b>>>0){e=N[j>>2];break b}d=N[a+20>>2];c=b;while(1){if(d){i=N[a+8>>2]>>>8|0;N[a+8>>2]=i;e=N[a+16>>2];g=O[e|0];d=d-1|0;N[a+20>>2]=d;b=c-8|0;N[a+12>>2]=b;N[a+16>>2]=e+1;e=i|g<<24;N[a+8>>2]=e;g=40-c|0;c=b;if(g>>>0>>0){continue}break b}break}N[a+188>>2]=f}N[a+20>>2]=n;N[a+16>>2]=o;N[a+8>>2]=p;N[a+556>>2]=0;N[a+12>>2]=q}a=0;break a}N[a+556>>2]=0;N[a+12>>2]=b+l;N[a+192>>2]=k+(N[(l<<2)+169392>>2]&e>>>b);j:{k:{l:{m:{b=N[h+8>>2];switch(b|0){case 1:break k;case 0:break m;default:break l}}b=N[a+216>>2];break j}b=b-2|0;break j}b=N[a+220>>2]+1|0}N[a+216>>2]=N[a+220>>2];c=b-(b>>>0>=m>>>0?m:0)|0;N[a+220>>2]=c;b=N[a+576>>2]+(c<<6)|0;N[a+112>>2]=b;N[a+176>>2]=N[((c>>>3&536870908)+a|0)+592>>2]>>>c&1;N[a+256>>2]=N[N[a+120>>2]+(O[b|0]<<2)>>2];N[a+108>>2]=((O[c+N[a+580>>2]|0]&3)<<9)+169536;a=1}La=h+16|0;return a}function qh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=N[b+4>>2];a:{if(n>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break a}g=N[b+12>>2];c=g-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8;l=(c<<8|c>>>8)&65535;if(l>>>0<4){break a}c=a+2|0;if(c>>>0>f>>>0|f-c>>>0<2){break a}c=g-10|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break a}e=g-14|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=c+2|0;if(e>>>0>f>>>0|f-e>>>0<2){break a}d=g-16|0;N[b+12>>2]=d;if((d|0)<=0){break a}g=O[e|0]|O[e+1|0]<<8;if(g){c=c+4|0;if(c>>>0>f>>>0){break a}e=f-c|0;c=(g<<8|g>>>8)&65535;if(e>>>0>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break a}}c=O[a+6|0]|O[a+7|0]<<8;o=((c<<8|c>>>8)&65535)+a|0;s=f-o|0;c=a;a=O[a+4|0]|O[a+5|0]<<8;q=(a<<8|a>>>8)&65535;j=c+q|0;t=f-j|0;a=0;g=0;while(1){b:{if(!(a&1)){c=g;break b}h=0;TE(k,0,l,0);if(Pa){break a}e=T(k,l);p=e+j|0;if(e){if(f>>>0

>>0|n>>>0>p>>>0|f-p>>>0<0-e>>>0){break a}d=d+e|0;N[b+12>>2]=d;if((d|0)<=0){break a}}d=(k-r|0)+d|0;N[b+12>>2]=d;if((d|0)<=0|(e|0)>0){break a}a=j;c=g;if((e|0)<0){while(1){a=a-1|0;e=O[a|0]+1|0;c=c>>>0>e>>>0?c:e;if(a>>>0>p>>>0){continue}break}}r=k}c:{d:{e:{if((i|0)<=(m|0)){h=0;if(j>>>0>>0|f>>>0>>0){break a}e=m+1|0;a=T(e,l);if(a>>>0>t>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=d+((m^-1)+i|0)|0;N[b+12>>2]=d;if((a|0)<0|(d|0)<=0){break a}i=T(i,l);if((i|0)<(a|0)){break e}i=e}if(c){break d}c=0;break c}h=a+j|0;a=i+j|0;while(1){i=O[a|0]+1|0;c=c>>>0>i>>>0?c:i;a=a+1|0;if(h>>>0>a>>>0){continue}break}i=e}h=0;if(f>>>0>>0|n>>>0>o>>>0){break a}a=c<<2;if(a>>>0>s>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}}d=(g-c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}if((c|0)>(g|0)){e=(c<<2)+o|0;h=(g<<2)+o|0;while(1){a=O[h|0]|O[h+1|0]<<8;a=(((a<<8|a>>>8)&65535)-q|0)/(l|0)|0;m=(a|0)<(m|0)?m:a;k=(a|0)>(k|0)?k:a;h=h+4|0;if(e>>>0>h>>>0){continue}break}}g=c;a=(k|0)<(r|0);if(a){continue}h=1;if((i|0)<=(m|0)){continue}break}}return h}function xp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=N[a+12>>2];a:{b:{c:{d:{if((g|0)<=11){e=N[a+20>>2];if(e){break d}N[a+16>>2]=12;e=a+820|0;N[a+20>>2]=e;break d}j=N[a+16>>2];if((j|0)>(g|0)){e=N[a+20>>2];h=e+T(g,44)|0;break c}g=64;if((j|0)>48806445){break a}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if((j|0)<-16){break p}i=((j>>2)+j|0)+4|0;if((i|0)>48806446){break p}l=a+20|0;k=N[a+20>>2];if((k|0)==(a+820|0)){break o}if((i|j)>=0){break n}g=k;break l}l=a+20|0;g=N[a+20>>2];k=a+820|0;if((g|0)!=(k|0)){break m}i=48806446;break i}if((i|0)<0){N[a+20>>2]=0;N[f>>2]=0;return 6}if(i){break i}i=0;break h}if(i){g=k;break j}if(!k){break k}Qa[N[e+8>>2]](e,k);break k}i=48806446;if((j|0)>=0){break j}}N[l>>2]=g;N[f>>2]=0;return 6}i=0;N[a+20>>2]=0;break e}q:{if(!j){e=Qa[N[e+4>>2]](e,T(i,44))|0;g=!e<<6;break q}k=Qa[N[e+12>>2]](e,T(j,44),T(i,44),g)|0;e=k?k:g;g=!k<<6}if(!(g|(i|0)<=(j|0)|!e)){G(T(j,44)+e|0,0,T(i-j|0,44));N[l>>2]=e;break e}N[l>>2]=e;if(g){break a}break e}g=T(i,44);h=Qa[N[e+4>>2]](e,g)|0;if(!h|(i|0)<=0){break g}G(h,0,g)}N[l>>2]=h;break f}N[l>>2]=h;if(h){break f}N[f>>2]=0;return!h<<6}B(h,k,528)}N[a+16>>2]=i;e=N[a+20>>2];g=N[a+12>>2]}h=T(g,44)+e|0;if((g|0)<=0){break b}}if(!d){g=h;while(1){h=g-44|0;d=M[h>>1];if((d|0)<(b|0)){h=g;break b}if(!((b|0)!=(d|0)|N[a+24>>2]!=(c|0))){h=g;break b}d=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=d;N[g+40>>2]=N[h+40>>2];d=N[h+36>>2];N[g+32>>2]=N[h+32>>2];N[g+36>>2]=d;d=N[h+28>>2];N[g+24>>2]=N[h+24>>2];N[g+28>>2]=d;d=N[h+20>>2];N[g+16>>2]=N[h+16>>2];N[g+20>>2]=d;d=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}break b}g=h;while(1){h=g-44|0;d=M[h>>1];if((d|0)>(b|0)){h=g;break b}if(!((b|0)!=(d|0)|N[a+24>>2]!=(c|0))){h=g;break b}d=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=d;N[g+40>>2]=N[h+40>>2];d=N[h+36>>2];N[g+32>>2]=N[h+32>>2];N[g+36>>2]=d;d=N[h+28>>2];N[g+24>>2]=N[h+24>>2];N[g+28>>2]=d;d=N[h+20>>2];N[g+16>>2]=N[h+16>>2];N[g+20>>2]=d;d=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}}N[a+12>>2]=N[a+12>>2]+1;g=0}N[f>>2]=h;return g}function Zh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=La-48|0;La=d;a:{b:{if(!a){break b}if(!b){e=6;break a}if(M[a>>1]<=0){break a}i=N[b+20>>2];j=N[b+16>>2];while(1){n=M[N[a+12>>2]+(q<<1)>>1];if((n|0)<0){break b}h=N[a+4>>2];f=h+(g<<3)|0;k=N[f>>2];e=N[f+4>>2];N[d+32>>2]=(k<>2]=m;l=h+(n<<3)|0;k=N[l>>2];o=N[l+4>>2];p=N[d+36>>2];e=N[d+32>>2];N[d+40>>2]=e;N[d+44>>2]=p;c:{d:{p=N[a+8>>2];h=p+g|0;switch(O[h|0]&3){case 2:break b;case 0:break d;default:break c}}g=(o<>2]=g;N[d+32>>2]=k;h=h-1|0;f=f-8|0}e=Qa[N[b>>2]](d+32|0,c)|0;if(e){break a}f:{if(f>>>0>>0){while(1){k=h+1|0;g=f+8|0;g:{h:{i:{switch(O[h+1|0]&3){case 1:N[d+24>>2]=(N[f+8>>2]<>2]=(N[f+12>>2]<>2]](d+24|0,c)|0;if(e){break a}break g;case 0:h=(N[f+8>>2]<>2]=h;f=(N[f+12>>2]<>2]=f;if(g>>>0>>0){while(1){e=O[k+1|0];m=(N[g+8>>2]<>2]=m;o=(N[g+12>>2]<>2]=o;k=k+1|0;g=g+8|0;j:{e=e&3;k:{if(e){if((e|0)!=1){g=7;e=0;break h}e=Qa[N[b+8>>2]](d+40|0,d+24|0,c)|0;if(e){break k}f=g;h=k;break g}N[d+20>>2]=(f+o|0)/2;N[d+16>>2]=(h+m|0)/2;e=Qa[N[b+8>>2]](d+40|0,d+16|0,c)|0;if(!e){break j}}g=10;break h}f=N[d+28>>2];h=N[d+24>>2];N[d+40>>2]=h;N[d+44>>2]=f;if(g>>>0>>0){continue}break}}e=Qa[N[b+8>>2]](d+40|0,d+32|0,c)|0;break f;default:break i}}g=7;e=0;if((O[h+2|0]&3)!=2|f+16>>>0>l>>>0){break h}N[d+24>>2]=(N[f+8>>2]<>2]=(N[f+12>>2]<>2]=(N[f+16>>2]<>2]=(N[f+20>>2]<>>0<=l>>>0){N[d+8>>2]=(N[f+24>>2]<>2]=(N[f+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(e){g=10;break h}h=h+3|0;f=g;break g}e=Qa[N[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break f}if((g|0)!=7){break a}break b}if(f>>>0>>0){continue}break}}e=Qa[N[b+4>>2]](d+32|0,c)|0}if(e){break a}g=n+1|0;e=0;q=q+1|0;if((q|0)>1]){continue}break}break a}e=20}La=d+48|0;return e|0}function cC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=La-16|0;La=f;a:{if(N[a+4>>2]){break a}d=6;b:{if(N[a+12>>2]!=1){break b}m=(b|0)!=0;b=(T(m,36)+a|0)+16|0;e=N[c>>2];d=((e>>31)+e|0)+32768>>16;e=N[c+4>>2];j=N[a>>2];d=of(b,d,((e>>31)+e|0)+32768>>16,j,f);if(d){break b}e=N[c+8>>2];d=((e>>31)+e|0)+32768>>16;e=N[c+12>>2];d=of(b,d,((e>>31)+e|0)+32768>>16,j,f+4|0);if(d){break b}e=b;b=N[c+16>>2];d=((b>>31)+b|0)+32768>>16;b=N[c+20>>2];d=of(e,d,((b>>31)+b|0)+32768>>16,j,f+8|0);if(d){break b}g=N[f+8>>2];h=N[f+4>>2];i=N[f>>2];k=T(m,36)+a|0;e=N[k+40>>2];c:{if(e){l=g>>3;n=h>>3;o=i>>3;p=128>>>(g&7)|0;q=128>>>(h&7)|0;r=128>>>(i&7)|0;c=N[k+48>>2];b=e;while(1){d=N[c>>2];if((O[N[c+8>>2]+o|0]&r?i>>>0>>0:0)|(O[N[c+8>>2]+n|0]&q?d>>>0>h>>>0:0)|(O[l+N[c+8>>2]|0]&p?d>>>0>g>>>0:0)){break c}c=c+16|0;b=b-1|0;if(b){continue}break}}l=e+1|0;b=N[k+44>>2];d:{if(l>>>0<=b>>>0){b=N[(T(m,36)+a|0)+48>>2];break d}N[f+12>>2]=0;c=(e&-8)+8|0;d=T(m,36)+a|0;b=lb(j,16,b,c,N[d+48>>2],f+12|0);N[d+48>>2]=b;d=N[f+12>>2];if(d){break b}N[k+44>>2]=c}d=0;c=((l<<4)+b|0)-16|0;N[c>>2]=0;N[((e<<4)+b|0)+12>>2]=0;N[k+40>>2]=l}if((i|0)>=0){if(d>>>0<=i>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=i+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=i+1}b=N[c+8>>2]+(i>>>3|0)|0;L[b|0]=O[b|0]|128>>>(i&7)}e:{if((h|0)>=0){if(Q[c>>2]<=h>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=h+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=h+1}b=N[c+8>>2]+(h>>>3|0)|0;L[b|0]=O[b|0]|128>>>(h&7);if((g|0)>=0){break e}break a}if((g|0)<0){break a}}if(Q[c>>2]<=g>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=g+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=g+1}a=N[c+8>>2]+(g>>>3|0)|0;L[a|0]=O[a|0]|128>>>(g&7);break a}N[a+4>>2]=d}La=f+16|0}function Ob(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{b:{c:{d:{e:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;h=(c<<8|c>>>8)&65535;a=a+4|0;c=!c|!O[b+12|0];if(!O[b+48|0]){break c}if(c){return 1}N[b+16>>2]=-1;o=N[b+28>>2];m=o-1|0;p=N[b+44>>2];f=N[b+20>>2];l=N[b+32>>2];q=(o|0)<=0;c=O[a|0]|O[a+1|0]<<8;c=(c<<8|c>>>8)&65535;d=c;while(1){f:{i=d>>>9|0;g:{if(!((i|0)!=N[(f<<3)+l>>2]|f>>>0>=o>>>0)){e=f;break g}j=0;g=m;h:{if(!q){while(1){e=g+j>>>1|0;n=N[(e<<3)+l>>2];i:{if((n|0)>(i|0)){g=e-1|0;break i}if((i|0)==(n|0)){break h}j=e+1|0}if((g|0)>=(j|0)){continue}break}}j=(d&-512)+512|0;break f}N[b+20>>2]=e}j=(d&-512)+512|0;if(!p){f=e;break f}n=(N[((e<<3)+l|0)+4>>2]<<6)+p|0;while(1){f=d;d=c>>>0<=d>>>0;if(c>>>0>f>>>0){break a}c=n+(f>>>3&56)|0;r=N[c+4>>2];i=f&63;g=i&31;if((i&63)>>>0>=32){i=1<>>32-g}N[c>>2]=k|N[c>>2];N[c+4>>2]=i|r;h=h-1|0;if(!h){break a}d=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;c=f;d=(d<<8|d>>>8)&65535;if(j>>>0>d>>>0){continue}break}f=e;continue}while(1){e=d;d=e>>>0>=c>>>0;if(c>>>0>e>>>0){break a}h=h-1|0;if(!h){break a}d=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;c=e;d=(d<<8|d>>>8)&65535;if(j>>>0>d>>>0){continue}break}continue}}d=1;c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}a=a+4|0;g=a+T((c<<8|c>>>8)&65535,6)|0;c=b+12|0;while(1){e=O[a+2|0]|O[a+3|0]<<8;e=(e<<8|e>>>8)&65535;f=O[a|0]|O[a+1|0]<<8;f=(f<<8|f>>>8)&65535;j:{if(O[b+48|0]){qd(c,f,e);break j}if(!Le(c,f,e)){break b}}a=a+6|0;if((g|0)!=(a|0)){continue}break}break a}if(c){return 1}g=b+12|0;N[b+16>>2]=-1;b=O[a|0]|O[a+1|0]<<8;c=(b<<8|b>>>8)&65535;d=c;while(1){m=vc(g,d);if(!m){break b}j=(d&65024)+512|0;b=c;while(1){c=d;d=c>>>0>=b>>>0;if(b>>>0>c>>>0){break a}b=m+(c>>>3&56)|0;l=N[b+4>>2];f=c&63;e=f&31;if((f&63)>>>0>=32){f=1<>>32-e}N[b>>2]=k|N[b>>2];N[b+4>>2]=f|l;h=h-1|0;if(!h){break a}e=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;b=c;d=(e<<8|e>>>8)&65535;if(j>>>0>d>>>0){continue}break}continue}}d=0}return d}function lk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-1136|0;La=f;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;h=(c<<8|c>>>8)&65535;switch(h|0){case 0:break c;case 1:break d;default:break b}}c=N[b+96>>2];if(N[c+156>>2]){yc(c);c=N[b+88>>2];d=N[b+96>>2];N[f+64>>2]=N[d+64>>2];ib(d,c,23278,f- -64|0)}a=O[a+2|0]|O[a+3|0]<<8;Ne(b,(a<<8|a>>>8)&65535);a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[f+48>>2]=N[a+64>>2]-1;ib(a,b,23455,f+48|0);break a}a=N[b+96>>2];if(N[a+156>>2]){yc(a);a=N[b+88>>2];c=N[b+96>>2];N[f+96>>2]=N[c+64>>2];ib(c,a,23233,f+96|0);a=N[b+96>>2]}g=N[a+80>>2];d=N[a+64>>2];h=N[(g+T(d,20)|0)+8>>2];e=d+1|0;e:{f:{g:{if(e>>>0>2]){if((h|0)==N[(g+T(e,20)|0)+8>>2]){break f}c=N[a+72>>2];if(c){break g}Ib(a,d,d+2|0);N[a+64>>2]=N[a+64>>2]+1;break e}c=N[a+72>>2];if(!c){break f}}i=N[a+84>>2];j=N[(i+T(c,20)|0)-12>>2];if(h>>>0>=j>>>0){break f}g=N[(g+T(d,20)|0)+4>>2]&7;while(1){c=c-1|0;d=T(c,20)+i|0;if(N[d+8>>2]!=(j|0)){break f}N[d+4>>2]=g|N[d+4>>2]&-8;N[d+8>>2]=h;if(c){continue}break}}N[a+64>>2]=e}a=N[b+96>>2];if(!N[a+156>>2]){break a}yc(a);a=N[b+88>>2];b=N[b+96>>2];N[f+80>>2]=N[b+64>>2];ib(b,a,23324,f+80|0);break a}d=N[b+96>>2];if(N[d+156>>2]){yc(d);d=N[b+88>>2];g=N[b+96>>2];N[f+32>>2]=N[g+64>>2];ib(g,d,17378,f+32|0);d=N[b+96>>2]}h:{if(!c){break h}e=N[d+80>>2]+T(N[d+64>>2],20)|0;d=P[e+12>>1]>>>1&2;g=h>>>0<=1?1:h;c=0;if(O[e+14|0]<=31){while(1){e=N[b+96>>2];L[(N[e+80>>2]+T(N[e+64>>2],20)|0)+14|0]=c&15;e=(c<<1)+a|0;e=O[e+2|0]|O[e+3|0]<<8;hk(b,(e<<8|e>>>8)&65535,d);c=c+1|0;if((g|0)!=(c|0)){continue}break h}}while(1){e=(c<<1)+a|0;e=O[e+2|0]|O[e+3|0]<<8;hk(b,(e<<8|e>>>8)&65535,d);c=c+1|0;if((g|0)!=(c|0)){continue}break}}a=N[b+96>>2];N[a+64>>2]=N[a+64>>2]+1;if(!N[a+156>>2]){break a}yc(a);c=f+112|0;G(c,0,1024);d=N[b+96>>2];g=N[d+64>>2];a=g-h|0;if(a>>>0>>0){h=f+1136|0;while(1){if(f+112>>>0>>0){L[c|0]=44;c=c+1|0}N[f+16>>2]=a;Me(c,h-c|0,8356,f+16|0);c=nb(c)+c|0;a=a+1|0;d=N[b+96>>2];if(a>>>0>2]){continue}break}}a=N[b+88>>2];N[f>>2]=f+112;ib(d,a,11480,f)}La=f+1136|0}function ht(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=N[a+804>>2];a:{b:{if(e){f=6;if(Q[a+28>>2]<=b>>>0){break a}b=N[e+(b<<2)>>2];break b}f=6;if(Q[a+800>>2]<=b>>>0){break a}}f=2;c:{d:{switch(N[a+796>>2]-1|0){case 0:case 1:g=N[a+788>>2]+T(b,48)|0;d=O[g+52|0];M[c>>1]=d;e=O[g+53|0];M[c+2>>1]=e;j=L[g+24|0];b=j<<6;N[c+12>>2]=b;i=L[g+25|0];f=i<<6;N[c+16>>2]=f;h=L[g+33|0];e:{f:{if((i|0)>0){if((h|0)>=0){break e}f=0-f|0;break f}if(i|j){break e}b=L[g+32|0];if(b|h){b=b<<6;N[c+12>>2]=b;f=h<<6;break f}b=e<<6;N[c+12>>2]=b;f=0}N[c+16>>2]=f}N[c+20>>2]=b-f;if((b|0)==(f|0)){b=e<<6;N[c+20>>2]=b;N[c+16>>2]=f-b}N[c+24>>2]=L[g+31|0]+(O[g+26|0]+L[g+30|0]|0)<<6;b=P[a+178>>1];break c;case 2:break d;default:break a}}f=3;b=N[a+788>>2]+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(Q[a+864>>2]>>0){break a}b=b+N[a+860>>2]|0;g:{h:{i:{j:{d=N[a+104>>2];e=N[d+20>>2];k:{if(e){f=85;if(Qa[e|0](d,b,0,0)|0){break a}N[d+8>>2]=b;e=N[d+4>>2];if(!N[d+20>>2]){break k}if(e>>>0<4){break a}b=N[d+28>>2];e=Qa[N[b+4>>2]](b,4)|0;if(!e){break j}N[d>>2]=e;g=Qa[N[d+20>>2]](d,N[d+8>>2],e,4)|0;e=N[d>>2];if(g>>>0<=3){break i}f=0;break h}f=85;e=N[d+4>>2];if(b>>>0>e>>>0){break a}N[d+8>>2]=b}if(e-b>>>0<4|b>>>0>=e>>>0){break a}N[d+8>>2]=b+4;e=N[d>>2];b=b+e|0;N[d+32>>2]=b;h=b+4|0;N[d+36>>2]=h;break g}N[d>>2]=0;return 64}if(e){Qa[N[b+8>>2]](b,e)}e=0;N[d>>2]=0;f=85}N[d+32>>2]=e;h=e?e+4|0:0;N[d+36>>2]=h;N[d+8>>2]=g+N[d+8>>2];b=e;if(g>>>0<4){break a}}f=0;if(b+1>>>0>>0){f=O[b|0]|O[b+1|0]<<8;f=f<<8|f>>>8;b=b+2|0}N[d+32>>2]=((b+1>>>0>>0)<<1)+b;if(N[d+20>>2]){if(e){b=N[d+28>>2];Qa[N[b+8>>2]](b,e)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0;b=P[a+178>>1];M[c+2>>1]=f;M[c>>1]=f;d=M[a+220>>1];e=f&65535;f=e<<6;k=c,l=jb(d,f,b),N[k+12>>2]=l;g=M[a+222>>1];k=c,l=jb(g,f,b),N[k+16>>2]=l;k=c,l=jb(M[a+224>>1]+(d-g|0)|0,f,b),N[k+20>>2]=l;k=c,l=jb(P[a+226>>1],f,b),N[k+24>>2]=l;d=e}k=c,l=jb(d,4194304,b),N[k+4>>2]=l;k=c,l=jb(e,4194304,b),N[k+8>>2]=l;f=0}return f|0}function Mo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{g=L[a|0];if((g|0)!=117){break b}c:{d=O[a+1|0];if((d|0)!=110|O[a+2|0]!=105){break c}b=O[a+3|0];c=b-48|0;e=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(e>>>0>15){break c}b=O[a+4|0];c=b-48|0;f=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(f>>>0>15){break c}b=O[a+5|0];c=b-48|0;h=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(h>>>0>15){break c}b=O[a+6|0];c=b-48|0;b=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(b>>>0>15){break c}b=b+(h+((e<<8)+(f<<4)|0)<<4)|0;c=O[a+7|0];if(!c){break a}if((c|0)!=46){break c}return b|-2147483648}b=d-48|0;c=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(c>>>0>15){break b}b=O[a+2|0];d=b-48|0;e=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(e>>>0>15){break b}b=O[a+3|0];d=b-48|0;f=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(f>>>0>15){break b}b=O[a+4|0];d=b-48|0;b=d>>>0>9?b-71>>>0<4294967290?16:b-55|0:d;if(b>>>0>15){break b}b=b+(f+((c<<8)+(e<<4)|0)<<4)|0;d=O[a+5|0];c=d-48|0;c=c>>>0>9?d-71>>>0<4294967290?16:d-55|0:c;d:{if(c>>>0>15){break d}b=c+(b<<4)|0;d=O[a+6|0];c=d-48|0;c=c>>>0>9?d-71>>>0<4294967290?16:d-55|0:c;if(c>>>0>15){break d}b=c+(b<<4)|0;d=O[a+7|0]}d=d&255;if(!d){break a}if((d|0)!=46){break b}return b|-2147483648}d=0;b=g;while(1){c=b&255;if(!(!c|(c|0)==46)){d=d+1|0;b=O[d+a|0];continue}break}if(!d){return 0}k=a+d|0;h=a+1|0;c=0;a=52;e:{f:{while(1){i=a+c|0;e=i&-2;e=(O[e+300610|0]<<8|O[e+300611|0])+300608|0;f=O[e|0];j=f&127;if((g|0)==(j|0)){break f}e=i>>1;f=(g|0)>(j|0);c=f?e+1|0:c;a=f?a:e;if((c|0)<(a|0)){continue}break}a=0;break e}if(d>>>0>1){while(1){a=O[e+1|0];c=a&127;d=f<<24>>24;g=O[h|0];f=a<<24>>24;g:{h:{if((d|0)<0){if((c|0)!=(g|0)){break h}e=e+1|0;break g}a=0;if(!c){break e}d=(((f|0)>=0?1:3)+e|0)+1|0;while(1){e=(O[d+1|0]|O[d|0]<<8)+300608|0;f=O[e|0];if((g|0)==(f&127)){break g}d=d+2|0;e=(c|0)>1;c=c-1|0;if(e){continue}break}break e}a=0;break e}h=h+1|0;if((k|0)!=(h|0)){continue}break}}a=0;if(f<<24>>24<0|L[e+1|0]>=0){break e}a=O[e+3|0]|O[e+2|0]<<8}b=(b&255)==46?a|-2147483648:a}return b|0}function vm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;n=N[a+4>>2];j=N[n+8>>2];e=3;a:{if(d?0:c){break a}L[a|0]=0;if(Q[n+3112>>2]<=b>>>0|(P[n+3120>>1]!=(c|0)?c:0)){break a}e=6;f=N[a+20>>2];m=N[n+3116>>2];p=N[m+(b<<3)>>2];h=p+1|0;if((f|h)<0){break a}i=N[a+24>>2];b:{c:{if(!h){if(i){Qa[N[j+8>>2]](j,i)}N[a+20>>2]=h;N[a+24>>2]=0;break c}e=10;if((h|0)>536870911){break a}d:{if(!f){i=Qa[N[j+4>>2]](j,h<<2)|0;e=!i<<6;break d}e=Qa[N[j+12>>2]](j,f<<2,h<<2,i)|0;i=e?e:i;e=!e<<6}e:{if(i?e|(f|0)>=(h|0):1){N[a+24>>2]=i;if(e){break a}N[a+20>>2]=h;break e}G((f<<2)+i|0,0,h-f<<2);N[a+20>>2]=h;N[a+24>>2]=i}q=m+(b<<3)|0;if(c){m=0;while(1){f:{if(!m){N[i>>2]=65536;break f}e=m<<2;f=N[(e+N[q+4>>2]|0)-4>>2];if(f>>>0>=Q[n+3124>>2]){return 3}g=N[n+3128>>2];h=e+i|0;N[h>>2]=65536;r=N[(f<<2)+g>>2];o=0;while(1){e=65536;g=T(o,12)+r|0;f=N[g+4>>2];l=N[g>>2];g:{if((f|0)<(l|0)){break g}k=N[g+8>>2];if(!f|(k|0)<(f|0)|(l|0)<0&(k|0)>0){break g}e=0;g=N[(o<<2)+d>>2];if((g|0)<(l|0)|(g|0)>(k|0)){break g}e=65536;if((f|0)==(g|0)){break g}if((f|0)>(g|0)){e=fb(g-l|0,f-l|0);break g}e=fb(k-g|0,k-f|0)}l=N[h>>2];g=l>>31;g=(g^l)-g|0;f=e>>31;f=(f^e)-f|0;h:{if(g+(f>>>8|0)>>>0<=8190){g=T(f,g)+32768>>>16|0;break h}k=g&65535;g=T(k,f>>>16|0)+T(f,g>>>16|0)+(T(k,f&65535)+32768>>>16)|0}f=g;k=0-f|0;f=l>>31|1;N[h>>2]=(((e|0)<0?0-f|0:f)|0)<0?k:g;o=o+1|0;if((o|0)!=(c|0)){continue}break}}e=(m|0)!=(p|0);m=m+1|0;if(e){continue}break}break c}N[i>>2]=65536;if(!p){N[a+8>>2]=b;break b}h=N[q+4>>2];e=1;while(1){f=e<<2;if(Q[(f+h|0)-4>>2]>=Q[n+3124>>2]){return 3}N[f+i>>2]=0;f=(e|0)==(p|0);e=e+1|0;if(!f){continue}break}}N[a+8>>2]=b;if(!c){break b}e=6;h=N[a+12>>2];if((h|c)<0){break a}e=10;if((c|0)>536870911){break a}i:{if(!h){b=Qa[N[j+4>>2]](j,c<<2)|0;e=!b<<6;break i}b=N[a+16>>2];e=Qa[N[j+12>>2]](j,h<<2,c<<2,b)|0;b=e?e:b;e=!e<<6}j:{if(!(e|(c|0)<=(h|0)|!b)){G((h<<2)+b|0,0,c-h<<2);N[a+16>>2]=b;break j}N[a+16>>2]=b;if(e){break a}}B(b,d,c<<2)}L[a|0]=1;N[a+12>>2]=c;e=0}return e|0}function lp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;m=N[a+4>>2];if(m){e=N[a+24>>2]+T(b,204)|0;j=N[e+200>>2];b=j>>31;g=(b^j)-b|0;n=g&65535;o=g>>>16|0;p=g>>>8|0;s=N[e+204>>2];q=N[a+12>>2];while(1){a=N[q+4>>2];a:{if((a|0)<=0){break a}b=N[q>>2];h=b+T(a,40)|0;e=0;a=b;i=0;while(1){f=N[a+16>>2]&32;i=f?i?i:a:i;e=(f>>>5|0)+e|0;a=a+40|0;if(h>>>0>a>>>0){continue}break}a=i;if(e>>>0<=1){if((e|0)==1){d=N[a+36>>2];e=N[a+28>>2];a=e>>31;a=(a^e)-a|0;b:{if(a+p>>>0<=8190){c=T(a,g)+32768>>>16|0;break b}c=a&65535;c=T(c,o)+T(a>>>16|0,g)+(T(c,n)+32768>>>16)|0}a=c;f=0-a|0;a=e>>31|1;s=d+((((j|0)<0?0-a|0:a)|0)<0?c:f)|0}while(1){if((b|0)!=(i|0)){e=N[b+28>>2];a=e>>31;a=(a^e)-a|0;c:{if(a+p>>>0<=8190){c=T(a,g)+32768>>>16|0;break c}f=a&65535;c=T(f,o)+T(a>>>16|0,g)+(T(f,n)+32768>>>16)|0}a=c;d=0-a|0;a=e>>31|1;N[b+36>>2]=((((j|0)<0?0-a|0:a)|0)<0?d:c)+s}b=b+40|0;if(h>>>0>b>>>0){continue}break}break a}while(1){b=a;a=N[a+4>>2];if((i|0)==(a|0)){break a}e=a;if(O[a+16|0]&32){continue}while(1){e=N[e+4>>2];if(!(O[e+16|0]&32)){continue}break}f=N[b+28>>2];c=N[e+28>>2];d:{if((f|0)<=(c|0)){k=c-f|0;h=e;break d}k=f-c|0;h=b;b=e;f=c}h=N[h+36>>2];r=N[b+36>>2];if((k|0)<=0){b=65536}else{b=fb(h-r|0,k)}c=b>>31;l=(b^c)-c|0;u=l&65535;v=l>>>16|0;w=l>>>8|0;while(1){c=N[a+28>>2]-f|0;e:{if((c|0)<=0){d=c>>31;d=(d^c)-d|0;f:{if(d+p>>>0<=8190){d=T(d,g)+32768>>>16|0;break f}t=d&65535;d=T(t,o)+T(d>>>16|0,g)+(T(n,t)+32768>>>16)|0}c=c>>31|1;c=((((j|0)<0?0-c|0:c)|0)<0?0-d|0:d)+r|0;break e}if((c|0)>=(k|0)){c=c-k|0;g:{if(c+p>>>0<=8190){d=T(c,g)+32768>>>16|0;break g}d=c&65535;d=T(d,o)+T(c>>>16|0,g)+(T(d,n)+32768>>>16)|0}c=c>>31|1;c=((((j|0)<0?0-c|0:c)|0)<0?0-d|0:d)+h|0;break e}d=c;c=c>>31;c=(d^c)-c|0;h:{if(c+w>>>0<=8190){c=T(c,l)+32768>>>16|0;break h}d=c&65535;c=T(d,v)+T(c>>>16|0,l)+(T(d,u)+32768>>>16)|0}c=((b|0)<0?0-c|0:c)+r|0}N[a+36>>2]=c;a=N[a+4>>2];if((e|0)!=(a|0)){continue}break}a=e;if((i|0)!=(a|0)){continue}break}}q=q+8|0;m=m-1|0;if(m){continue}break}}}function ep(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=La-784|0;La=i;N[i+24>>2]=N[a+60>>2];j=N[a+64>>2];N[i+20>>2]=c;N[i+28>>2]=j;N[i+16>>2]=b;N[i+12>>2]=e;N[i+8>>2]=d;N[i+4>>2]=g;N[i>>2]=f;c=i;a:{while(1){n=N[c>>2];b:{c:{j=N[c+20>>2];l=N[c+12>>2];f=N[c+28>>2];g=N[c+4>>2];if((((j|0)<(l|0)?j:l)|0)>=(((f|0)<(g|0)?f:g)|0)){k=(f|0)>(g|0);if((((j|0)>(l|0)?j:l)|0)<=((k?f:g)|0)){break c}}b=N[c+24>>2];N[c+48>>2]=b;N[c+52>>2]=f;d=f+j|0;N[c+44>>2]=d>>1;e=g+l|0;N[c+12>>2]=e>>1;f=N[c+8>>2];k=f+n|0;N[c+8>>2]=k>>1;m=b;b=N[c+16>>2];h=m+b|0;N[c+40>>2]=h>>1;m=d;d=j+l|0;j=m+d|0;N[c+36>>2]=j>>2;d=d+e|0;N[c+20>>2]=d>>2;b=b+f|0;e=b+k|0;N[c+16>>2]=e>>2;b=b+h|0;N[c+32>>2]=b>>2;N[c+28>>2]=d+j>>3;N[c+24>>2]=b+e>>3;c=c+24|0;break b}d:{if((f|0)==(g|0)){break d}o=k?2:1;h=N[a+92>>2];if((o|0)!=(h|0)){b=N[a+4>>2];e=k?f&b-1:((b+f|0)-1&0-b)-f|0;d=N[a+36>>2];m=N[a+8>>2];e:{if(!h){b=d;break e}h=N[a+80>>2];b=N[h+8>>2];p=d-b|0;if((p|0)<0){N[a+40>>2]=99;a=1;break a}f:{if((b|0)==(d|0)){b=d;break f}N[h+16>>2]=p>>2;if((e|0)>=(m|0)){b=P[h+12>>1];M[h+12>>1]=(b&8?16:32)|b}N[a+80>>2]=d;b=d+32|0;N[a+36>>2]=b;N[d+8>>2]=b;N[d+16>>2]=0;N[h+28>>2]=d;M[a+76>>1]=P[a+76>>1]+1}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}L[a+79|0]=0}if(!N[a+84>>2]){N[a+84>>2]=b;N[a+80>>2]=b;b=b+32|0;N[a+36>>2]=b}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}d=N[a+80>>2];N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=b;N[d+28>>2]=0;N[d+4>>2]=0;b=O[a+48|0];M[d+12>>1]=b;g:{h:{if(!k){M[d+12>>1]=b|8;h=40;if((e|0)>=(m|0)){break h}break g}h=16;if((e|0)<(m|0)){break g}}M[d+12>>1]=b|h}if(!N[a+88>>2]){N[a+88>>2]=d}M[a+78>>1]=1;N[a+92>>2]=o}b=N[a+72>>2];d=N[a+68>>2];if(!k){if(!xg(a,3,c,356,d,b)){break d}a=1;break a}N[c+28>>2]=0-f;N[c+20>>2]=0-j;N[c+12>>2]=0-l;N[c+4>>2]=0-g;e=O[a+78|0];b=xg(a,3,c,356,0-b|0,0-d|0);if(!(O[a+78|0]|!e)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}N[c+4>>2]=0-N[c+4>>2];if(!b){break d}a=1;break a}c=c-24|0}if(i>>>0<=c>>>0){continue}break}N[a+64>>2]=g;N[a+60>>2]=n;a=0}La=i+784|0;return a}function dB(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-128|0;l=g;k=g>>31;TE(g,k,c,c>>31);g=Pa+262144|0;c=g>>31;m=g>>19;p=c;c=m;g=c>>31;h=(c^g)-g|0;TE(l,k,d,d>>31);i=Pa+262144|0;g=i>>31;d=i>>19;n=d;i=d>>31;i=(i^d)-i|0;i=((i>>>0>h>>>0?h:i)<<14)+32768>>>16|0;M[j>>1]=i;M[j+64>>1]=0-i;M[j+66>>1]=c-i;M[j+2>>1]=c+i;h=c<<1;M[j+68>>1]=h-i;M[j+4>>1]=i+h;h=T(c,3);M[j+70>>1]=h-i;M[j+6>>1]=i+h;h=c<<2;M[j+72>>1]=h-i;M[j+8>>1]=i+h;h=T(c,5);M[j+74>>1]=h-i;M[j+10>>1]=i+h;h=T(c,6);M[j+76>>1]=h-i;M[j+12>>1]=i+h;h=T(c,7);M[j+78>>1]=h-i;M[j+14>>1]=i+h;h=c<<3;M[j+80>>1]=h-i;M[j+16>>1]=i+h;h=T(c,9);M[j+18>>1]=h+i;M[j+82>>1]=h-i;h=T(c,10);M[j+84>>1]=h-i;M[j+20>>1]=i+h;h=T(c,11);M[j+86>>1]=h-i;M[j+22>>1]=i+h;h=T(c,12);M[j+88>>1]=h-i;M[j+24>>1]=i+h;h=T(c,13);M[j+90>>1]=h-i;M[j+26>>1]=i+h;h=T(c,14);M[j+92>>1]=h-i;M[j+28>>1]=i+h;h=T(c,15);M[j+94>>1]=h-i;M[j+30>>1]=i+h;h=c<<4;M[j+96>>1]=h-i;M[j+32>>1]=i+h;h=T(c,17);M[j+98>>1]=h-i;o=T(c,18);M[j+100>>1]=o-i;M[j+34>>1]=i+h;M[j+36>>1]=i+o;h=T(c,19);M[j+102>>1]=h-i;M[j+38>>1]=i+h;h=T(c,20);M[j+104>>1]=h-i;M[j+40>>1]=i+h;h=T(c,21);M[j+106>>1]=h-i;M[j+42>>1]=i+h;h=T(c,22);M[j+108>>1]=h-i;M[j+44>>1]=i+h;h=T(c,23);M[j+110>>1]=h-i;M[j+46>>1]=i+h;h=T(c,24);M[j+112>>1]=h-i;M[j+48>>1]=i+h;h=T(c,25);M[j+114>>1]=h-i;M[j+50>>1]=i+h;h=T(c,26);M[j+52>>1]=h+i;M[j+116>>1]=h-i;h=T(c,27);M[j+118>>1]=h-i;M[j+54>>1]=i+h;h=T(c,28);M[j+120>>1]=h-i;M[j+56>>1]=i+h;h=T(c,29);M[j+122>>1]=h-i;M[j+58>>1]=i+h;h=T(c,30);M[j+124>>1]=h-i;M[j+60>>1]=i+h;c=T(c,31);M[j+126>>1]=c-i;M[j+62>>1]=c+i;c=f<<20|e>>>12;i=c>>31;TE(c,i,l,k);c=g+p|0;d=d+m|0;c=n>>>0>d>>>0?c+1|0:c;g=((Pa+4096>>>13|0)-((c&1)<<31|d>>>1)|0)+256|0;c=0;while(1){d=0;while(1){e=d<<1;f=g-P[e+j>>1]<<16>>16;f=(f|0)>0?f:0;e=g-P[e+(j- -64|0)>>1]<<16>>16;e=(e|0)>0?e:0;e=(f>>>0>=512?512:f)+(e>>>0>=512?512:e)>>>2|0;L[a+d|0]=e>>>0>=255?255:e;d=d+1|0;if((d|0)!=32){continue}break}g=g-n|0;a=a+b|0;c=c+1|0;if((c|0)!=32){continue}break}}function nc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;c=N[a+8>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;d=N[c+12>>2]+T(b,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[c+8>>2]=b;if(e){Qa[e|0](d);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+8>>2]=0}b=N[a+16>>2];c:{if(!b){b=0;break c}c=N[b>>2];if(c){b=N[a+12>>2];if(b){b=N[b>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+4>>2];if(c){b=N[a+12>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+8>>2];if(c){b=N[a+12>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+12>>2];if(c){b=N[a+12>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+16>>2];if(c){b=N[a+12>>2];if(b){b=N[b+16>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+20>>2];if(c){b=N[a+12>>2];if(b){b=N[b+20>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+24>>2];if(c){b=N[a+12>>2];if(b){b=N[b+24>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+28>>2];if(c){b=N[a+12>>2];if(b){b=N[b+28>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+32>>2];if(c){b=N[a+12>>2];if(b){b=N[b+32>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+36>>2];if(c){b=N[a+12>>2];if(b){b=N[b+36>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+40>>2];if(c){b=N[a+12>>2];if(b){b=N[b+40>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+44>>2];if(c){b=N[a+12>>2];if(b){b=N[b+44>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+48>>2];if(c){b=N[a+12>>2];if(b){b=N[b+48>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+52>>2];if(c){b=N[a+12>>2];if(b){b=N[b+52>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+56>>2];if(c){b=N[a+12>>2];if(b){b=N[b+56>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+60>>2];if(c){b=N[a+12>>2];if(b){b=N[b+60>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+64>>2];if(c){b=N[a+12>>2];if(b){b=N[b+64>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+68>>2];if(!c){break c}b=N[a+12>>2];if(b){b=N[b+68>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}_a(b);_a(N[a+12>>2]);_a(a)}return}ba(23506,14099,270,7918);F()}function hl(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-124|0;while(1){c=N[g>>2];if(!c){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;d=N[c+32>>2];if((d|0)==-1){d=sb(c+56|0);d=O[d+4|0]|O[d+5|0]<<8;d=(d<<8|d>>>8)&65535;N[c+32>>2]=d}L[b+40|0]=1;N[b+36>>2]=d;d=N[c+12>>2];b:{if(d){d=Qa[d|0](c,1953653099,N[c+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(mh(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(c);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(mh(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=mh(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=c;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<12?275552:N[d+12>>2]}function Qd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;a:{b:{c:{d:{f=N[a+8>>2];if(Q[a+4>>2]<=f+3>>>0){break d}e=N[a+20>>2];e:{if(e){d=g+12|0;if((Qa[e|0](a,f,d,4)|0)!=4){break d}f=N[a+8>>2];break e}d=N[a>>2];if(!d){break c}d=d+f|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}e=85;break a}h=0}d=f+4|0;N[a+8>>2]=d;e=2;if((b|0)!=(h|0)){break a}f:{g:{h:{i:{b=N[a+4>>2];if(b>>>0>f+7>>>0){e=N[a+20>>2];if(!e){N[a+8>>2]=f+8;f=f+24|0;break h}if((Qa[e|0](a,d,g+12|0,4)|0)==4){break i}}e=85;break a}d=N[a+8>>2];N[a+8>>2]=d+4;f=d+20|0;b=N[a+20>>2];if(b){break g}b=N[a+4>>2]}e=85;if(b>>>0>=f>>>0){break f}break a}e=85;if(Qa[b|0](a,f,0,0)|0){break a}b=N[a+4>>2]}N[a+8>>2]=f;j:{k:{l:{if(d+21>>>0>=b>>>0){break l}e=N[a+20>>2];if(e){b=g+12|0;if((Qa[e|0](a,f,b,2)|0)!=2){break l}f=N[a+8>>2];break j}b=N[a>>2];if(!b){break k}b=b+f|0;break j}e=85;break a}N[a+8>>2]=d+22;e=2;break a}e=2;b=O[b|0]|O[b+1|0]<<8;N[a+8>>2]=f+2;h=(b<<8|b>>>8)&65535;if(!h){break a}b=0;while(1){m:{f=N[a+4>>2];e=N[a+8>>2];if(f>>>0<=e+3>>>0){break m}n:{o:{p:{q:{i=N[a+20>>2];r:{if(i){d=g+12|0;if((Qa[i|0](a,e,d,4)|0)!=4){break m}e=N[a+8>>2];break r}d=N[a>>2];if(!d){break q}d=d+e|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f=e+4|0;N[a+8>>2]=f;if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==2){N[g+8>>2]=0;s:{t:{u:{if(Q[a+4>>2]<=e+7>>>0){break u}e=N[a+20>>2];v:{if(e){d=g+12|0;if((Qa[e|0](a,f,d,4)|0)!=4){break u}f=N[a+8>>2];break v}d=N[a>>2];if(!d){break t}d=d+f|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break s}N[g+8>>2]=85;break n}d=0}N[a+8>>2]=f+4;Nb(a,g+8|0);if(N[g+8>>2]){break n}N[c>>2]=d;e=0;break a}e=e+12|0;d=N[a+20>>2];if(!d){f=N[a+4>>2];break p}if(!(Qa[d|0](a,e,0,0)|0)){break o}e=85;break a}N[a+8>>2]=e+4;e=e+12|0}if(e>>>0<=f>>>0){break o}e=85;break a}N[a+8>>2]=e;N[g+8>>2]=0}e=2;b=b+1|0;if((h|0)!=(b|0)){continue}break a}break}e=85}La=g+16|0;return e}function yf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f:{if(!N[a+24>>2]){if(N[a+44>>2]){break f}c=N[a+52>>2];if(c>>>0<=1){break e}b=c<<2;c=N[a+56>>2];i=b+c|0;g=c+4|0;while(1){f=N[g>>2];c=N[f+12>>2];if(c){e=N[f+16>>2];j=e+T(c,12)|0;while(1){c=N[e+8>>2];if(c>>>0>=Q[a+52>>2]){N[147456]=0;break b}b=N[N[a+56>>2]+(c<<2)>>2];if(!b){break b}c=0;g:{h:{i:{j:{d=N[e>>2];switch(d>>>4&3){case 2:break h;case 1:break i;case 0:break j;default:break g}}c=N[b>>2]-N[f>>2]|0;break g}c=N[b>>2]-N[f+4>>2]|0;break g}c=N[a+4>>2]+N[b>>2]-(N[a>>2]+N[a+8>>2])|0}h=d>>>6|0;if(h>>>0>c>>>0){break d}b=d&7;c=c-h|0;k:{if(d&8){l:{switch(b-2|0){default:ba(21611,14296,537,10829);F();case 2:b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)){break a}d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);L[b|0]=d;L[b+1|0]=d>>>8;L[b+2|0]=d>>>16;L[b+3|0]=d>>>24;if(!(c>>31)){break k}N[a+24>>2]=N[a+24>>2]|2;break k;case 0:break l}}b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8){break a}d=c<<8|(c&65280)>>>8;L[b|0]=d;L[b+1|0]=d>>>8;b=c<<16>>16;if(!(b>>31)&(b|0)==(c|0)){break k}N[a+24>>2]=N[a+24>>2]|2;break k}if(b-2>>>0>=3){break c}m:{switch(b-3|0){case 1:b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)){break a}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);L[b|0]=c;L[b+1|0]=c>>>8;L[b+2|0]=c>>>16;L[b+3|0]=c>>>24;break k;case 0:b=N[f>>2]+N[e+4>>2]|0;if(O[b+1|0]<<8|O[b|0]<<16|O[b+2|0]){break a}L[b+2|0]=c;L[b+1|0]=c>>>8;L[b|0]=c>>>16;if(c>>>0<16777216){break k}N[a+24>>2]=N[a+24>>2]|2;break k;default:break m}}b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8){break a}d=c<<8|(c&65280)>>>8;L[b|0]=d;L[b+1|0]=d>>>8;if(c>>>0<65536){break k}N[a+24>>2]=N[a+24>>2]|2}e=e+12|0;if((j|0)!=(e|0)){continue}break}}g=g+4|0;if((i|0)!=(g|0)){continue}break}}return}ba(9270,14296,518,10829);F()}ba(21778,14296,519,10829);F()}ba(11438,14296,533,10829);F()}ba(21557,14296,545,10829);F()}N[a+24>>2]=N[a+24>>2]|1;return}ba(15190,14296,730,9500);F()}function el(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!b){break i}c=N[b>>2];if(!c){break i}if((c|0)<=0){break h}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;e=N[b+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){f=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;f=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=f;N[a+20>>2]=0;N[a>>2]=0;c=b;if(!d){break a}j:{if(e>>>0<4){break j}N[a+12>>2]=f-4;k:{l:{c=O[d|0]|O[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 0:break k;case 1:break l;default:break f}}if(!fh(d,a)){break j}break f}if(eh(d,a)){break f}}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break e}while(1){L[a+24|0]=1;c=N[a+32>>2];d=N[c+12>>2];N[a+4>>2]=d;e=N[c+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){f=1073741823}else{f=e<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}N[a+12>>2]=f;N[a+20>>2]=0;N[a>>2]=0;if(!d){break a}m:{if(e>>>0<4){break m}N[a+12>>2]=f-4;n:{o:{c=O[d|0]|O[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break n;case 0:break o;default:break f}}if(!eh(d,a)){break m}break f}if(fh(d,a)){break f}}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}break e}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!N[a+28>>2]){break d}c=0;N[a+28>>2]=0;if(Q[a+4>>2]>d>>>0){break e}e=N[a+8>>2];p:{if(e>>>0>>0|e-d>>>0<4){break p}e=N[a+12>>2]-4|0;N[a+12>>2]=e;if((e|0)<=0){break p}c=1;q:{r:{e=O[d|0]|O[d+1|0]<<8;switch((e<<8|e>>>8)&65535){case 1:break q;case 0:break r;default:break p}}c=eh(d,a);break p}c=fh(d,a)}d=N[a+28>>2];ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(d){break b}if(c){break c}break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(b);return 275552}ab(c);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function mp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=La+-64|0;La=j;f=N[a>>2];a:{if((f|0)<=0){break a}d=N[a+24>>2];c=T(b,204);k=N[a+16>>2];e=N[a+8>>2];m=e+T(f,40)|0;b=0;a=e;while(1){b=(N[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(m>>>0>a>>>0){continue}break}if(!b){break a}l=N[(c+d|0)+200>>2];d=j;if(b>>>0>=17){if(b>>>0>536870911){break a}a=b<<2;d=Qa[N[k+4>>2]](k,a)|0;if(!d){break a}G(d,0,a)}f=0;c=e;while(1){if(O[c+16|0]&16){a=(f<<2)+d|0;b:{if((f|0)<=0){b=a;break b}i=N[c+28>>2];while(1){b=a-4|0;h=N[b>>2];if((i|0)>=N[h+28>>2]){b=a;break b}N[a>>2]=h;a=b;if(d>>>0>>0){continue}break}}N[b>>2]=c;f=f+1|0}c=c+40|0;if(m>>>0>c>>>0){continue}break}a=l>>31;i=(a^l)-a|0;o=i&65535;p=i>>>16|0;q=i>>>8|0;r=((f<<2)+d|0)-4|0;while(1){n=N[e+16>>2];c:{if(n&16){break c}a=N[e+12>>2];if(a&2){b=O[e+20|0];if(!(a&4|n&64)|((b|0)==4|(b|0)!=O[e+21|0])){break c}N[e+12>>2]=a&-3}c=N[e+28>>2];a=0;d:{e:{if(f){f:{while(1){if((c|0)>2]+28>>2]){break f}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break e}}a=N[d>>2];h=N[a+36>>2];b=c-N[a+28>>2]|0;a=b>>31;a=(a^b)-a|0;g:{if(a+q>>>0<=8190){c=T(a,i)+32768>>>16|0;break g}c=a&65535;c=T(c,p)+T(i,a>>>16|0)+(T(c,o)+32768>>>16)|0}a=c;g=0-a|0;a=b>>31|1;g=h+((((l|0)<0?0-a|0:a)|0)<0?g:c)|0;break d}h=N[((a<<2)+d|0)-4>>2];b=f;while(1){h:{a=b;if(!a){a=0;break h}b=a-1|0;if((c|0)<=N[N[(b<<2)+d>>2]+28>>2]){continue}}break}if((a|0)==(f|0)){a=N[r>>2];h=N[a+36>>2];b=c-N[a+28>>2]|0;a=b>>31;a=(a^b)-a|0;i:{if(a+q>>>0<=8190){c=T(a,i)+32768>>>16|0;break i}c=a&65535;c=T(c,p)+T(i,a>>>16|0)+(T(c,o)+32768>>>16)|0}a=c;g=0-a|0;a=b>>31|1;g=h+((((l|0)<0?0-a|0:a)|0)<0?g:c)|0;break d}b=N[h+28>>2];g=N[h+36>>2];if((b|0)==(c|0)){break d}a=N[(a<<2)+d>>2];g=N[a+28>>2];if((c|0)==(g|0)){g=N[a+36>>2];break d}s=N[a+36>>2];a=N[h+36>>2];g=jb(c-b|0,s-a|0,g-b|0)+a|0}N[e+36>>2]=g;N[e+16>>2]=n|32}e=e+40|0;if(m>>>0>e>>>0){continue}break}if((d|0)==(j|0)){break a}Qa[N[k+8>>2]](k,d)}La=j- -64|0}function Wm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=La-16|0;La=j;d=N[a+104>>2];f=N[d+28>>2];i=N[a+736>>2];L[i+24|0]=1;a:{if(Qa[N[a+516>>2]](a,1635148146,d,j+12|0)|0){break a}if(Bb(d,N[j+12>>2])){break a}c=N[d+36>>2];a=N[d+32>>2];if(c>>>0>a+3>>>0){b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=a+4|0}N[d+32>>2]=a;if(c>>>0>a+3>>>0){b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=a+4|0}N[d+32>>2]=a;b:{if((e|0)!=65536|N[N[i+12>>2]>>2]!=(g|0)){break b}c:{d:{e:{if(g-268435456>>>0>=4026531841){b=g<<3;c=Qa[N[f+4>>2]](f,b)|0;a=!c<<6;if(!(!c|(g|0)<=0)){G(c,0,b);a=0}N[i+28>>2]=c;if((g|0)<=0|a){break b}l=i+28|0;e=0;while(1){a=N[d+32>>2];f:{if(Q[d+36>>2]<=a+1>>>0){b=0;break f}b=O[a|0]|O[a+1|0]<<8;b=b<<8|b>>>8;a=a+2|0}N[d+32>>2]=a;M[c>>1]=b;a=b&65535;if(Q[j+12>>2]>>0){break d}g:{if(!a){k=0;break g}a=a<<3;k=Qa[N[f+4>>2]](f,a)|0;if(!k){break e}G(k,0,a)}N[c+4>>2]=k;m=P[c>>1];if(m){a=N[d+32>>2];n=N[d+36>>2];b=0;while(1){h:{if(a+1>>>0>=n>>>0){h=0;break h}h=O[a|0]|O[a+1|0]<<8;h=h<<8|h>>>8;a=a+2|0}N[d+32>>2]=a;o=(b<<3)+k|0;N[o>>2]=h<<16>>16<<2;h=0;if(a+1>>>0>>0){h=O[a|0]|O[a+1|0]<<8;h=h<<8|h>>>8;a=a+2|0}N[d+32>>2]=a;N[o+4>>2]=h<<16>>16<<2;b=b+1|0;if((m|0)!=(b|0)){continue}break}}c=c+8|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break b}l=i+28|0;break c}N[c+4>>2]=0}a=N[i+28>>2];i:{if(e){j:{if(!(e&1)){b=e;break j}b=e-1|0;c=b<<3;g=N[(c+a|0)+4>>2];if(g){Qa[N[f+8>>2]](f,g);a=N[i+28>>2]}N[(a+c|0)+4>>2]=0}if((e|0)==1){break i}while(1){e=b-1<<3;c=N[(e+a|0)+4>>2];if(c){Qa[N[f+8>>2]](f,c);a=N[i+28>>2]}N[(a+e|0)+4>>2]=0;e=b-2|0;c=e<<3;g=N[(c+a|0)+4>>2];if(g){Qa[N[f+8>>2]](f,g);a=N[i+28>>2]}N[(a+c|0)+4>>2]=0;c=(b|0)>2;b=e;if(c){continue}break}break i}if(!a){break c}}Qa[N[f+8>>2]](f,a)}N[l>>2]=0}if(N[d+20>>2]){a=N[d>>2];if(a){b=N[d+28>>2];Qa[N[b+8>>2]](b,a)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0}La=j+16|0}function Am(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=La-48|0;La=j;N[j+4>>2]=0;m=N[h+556>>2];k=N[g>>2];i=N[k>>2];N[j+28>>2]=0;N[j+32>>2]=0;N[j+20>>2]=0;N[j+24>>2]=0;N[j+12>>2]=0;N[j+16>>2]=0;N[j+40>>2]=a;N[j+36>>2]=f;N[j+44>>2]=0;N[j+8>>2]=k;k=(f|0)==12288|(f|0)==16384;l=k?513:96;n=l<<2;i=Qa[N[i+4>>2]](i,n)|0;a:{if(i){G(i,0,n);N[j+32>>2]=l;N[j+24>>2]=i;N[j+28>>2]=i;G(a+24|0,0,160);N[a+156>>2]=8720;N[a+60>>2]=65536;N[a+44>>2]=2;N[a+48>>2]=65536;N[a+32>>2]=-6553600;N[a+36>>2]=3276800;N[a+184>>2]=k?513:48;N[a+172>>2]=65535;N[a+136>>2]=65535;N[a+128>>2]=65535;N[a+132>>2]=65535;N[a+16>>2]=65535;N[a+20>>2]=65535;N[a+8>>2]=65535;N[a+12>>2]=65535;N[a>>2]=65535;N[a+4>>2]=65535;b:{c:{d:{if(!N[b+12>>2]){c=N[b+20>>2];l=N[d+20>>2];e:{if(l){i=85;if(!(Qa[l|0](d,c,0,0)|0)){break e}break b}i=85;if(c>>>0>Q[d+4>>2]){break b}}N[d+8>>2]=c;i=dc(d,N[b+24>>2],j+4|0);if(i){break b}c=b+24|0;break d}i=Xf(b,c,j+4|0,j);if(i){break c}c=j}i=N[j+4>>2];i=zm(j+8|0,i,i?i+N[c>>2]|0:0)}c=d;f:{if(N[b+12>>2]){if(N[b+32>>2]){break f}c=N[b>>2]}g:{if(!c|!N[c+20>>2]){break g}b=N[j+4>>2];if(!b){break g}c=N[c+28>>2];Qa[N[c+8>>2]](c,b)}N[j+4>>2]=0}if(i){break b}i=0;if(N[a+132>>2]!=65535){break b}i=xm(g,a,0,0);if(i){break b}h:{if((f|0)==12288|(f|0)==16384){break h}f=N[N[h+128>>2]+60>>2];i:{if((f|0)==-1){b=N[h+96>>2];f=N[b+68>>2];N[a+648>>2]=f;if(!f){break i}while(1){f=Qa[N[m+20>>2]](f)|0;N[b+68>>2]=f;if((f|0)<0){continue}break}break i}N[a+648>>2]=f;if(!f){break i}while(1){f=Qa[N[m+20>>2]](f)|0;N[N[h+128>>2]+60>>2]=f;if((f|0)<0){continue}break}}if(N[a+648>>2]){break h}N[a+648>>2]=N[a+532>>2]}b=N[a+536>>2];if(!b){i=0;break b}b=N[a+116>>2]+(b+e|0)|0;c=N[d+20>>2];j:{if(c){i=85;if(!(Qa[c|0](d,b,0,0)|0)){break j}break b}i=85;if(b>>>0>Q[d+4>>2]){break b}}N[d+8>>2]=b;b=a+608|0;i=yd(b,d,1,k);if(i){break b}i=Hh(b,a+644|0,0,0)}a=N[j+24>>2];if(!a){break a}b=N[N[j+8>>2]>>2];Qa[N[b+8>>2]](b,a);break a}N[j+24>>2]=0;i=64}La=j+48|0;return i}function yd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=La-16|0;La=i;l=N[b+28>>2];N[a+28>>2]=0;N[a+32>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a>>2]=b;e=N[b+8>>2];N[a+4>>2]=e;a:{b:{c:{d:{if(d){if(Q[b+4>>2]<=e+3>>>0){break c}e:{f:{f=N[b+20>>2];g:{if(f){d=i+9|0;if((Qa[f|0](b,e,d,4)|0)!=4){break c}e=N[b+8>>2];break g}d=N[b>>2];if(!d){break f}d=d+e|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break e}d=0}e=e+4|0;N[b+8>>2]=e;f=5;break d}if(Q[b+4>>2]<=e+1>>>0){break c}h:{i:{f=N[b+20>>2];j:{if(f){d=i+13|0;if((Qa[f|0](b,e,d,2)|0)!=2){break c}e=N[b+8>>2];break j}d=N[b>>2];if(!d){break i}d=d+e|0}d=O[d+1|0]|O[d|0]<<8;break h}d=0}e=e+2|0;N[b+8>>2]=e;f=3}N[a+8>>2]=f;if(!d){e=0;break a}L[i+15|0]=0;g=N[b+20>>2];k:{if(g){f=i+15|0;if((Qa[g|0](b,e,f,1)|0)!=1){break c}e=N[b+8>>2];break k}if(Q[b+4>>2]<=e>>>0){break c}f=N[b>>2]+e|0}f=O[f|0];g=e+1|0;N[b+8>>2]=g;e=8;if((f-5&255)>>>0<252){break b}L[a+16|0]=f;N[a+12>>2]=d;N[a+20>>2]=N[a+8>>2]+(N[a+4>>2]+T(f,d+1|0)|0);e=85;d=T(d,f);if((d|0)<0){break b}d=d+g|0;f=N[b+20>>2];l:{if(f){if(!(Qa[f|0](b,d,0,0)|0)){break l}break b}if(d>>>0>Q[b+4>>2]){break b}}N[b+8>>2]=d;N[i+4>>2]=0;d=0;e=La-16|0;La=e;k=85;f=N[a>>2];h=N[f+4>>2];g=N[f+8>>2];m:{if(h>>>0<=g>>>0){break m}j=O[a+16|0];m=N[f+20>>2];n:{if(m){h=Qa[m|0](f,g,e+12|0,j)|0;break n}h=h-g|0;h=h>>>0>>0?h:j;B(e+12|0,g+N[f>>2]|0,h)}N[f+8>>2]=g+h;if(h>>>0>>0){break m}g=O[a+16|0];if(!g){k=0;break m}k=0;f=0;if(g>>>0>=4){f=g&252;d=e+f|0;d=(O[d+8|0]<<16|O[d+9|0]<<8|O[d+10|0])<<8|O[d+11|0]}j=g&3;if(!j){break m}g=0;while(1){d=O[(e+12|0)+f|0]|d<<8;f=f+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[i+4>>2]=k;La=e+16|0;e=N[i+4>>2];if(e){break b}e=8;if(!d){break b}d=d-1|0;N[a+24>>2]=d;o:{if(c){e=dc(b,d,a+32|0);break o}e=Wc(b,d)}if(e){break b}e=0;break a}e=85}b=N[a+28>>2];if(b){Qa[N[l+8>>2]](l,b)}N[a+28>>2]=0}La=i+16|0;return e}function dm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){d=N[a+100>>2];b=N[a>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a>>2]=0;e=N[a+92>>2];if(e){b=N[e+4>>2];a:{if(!b){break a}c=N[e+20>>2];if((b|0)!=1){g=b&1;f=b&-2;b=0;while(1){h=N[c>>2];if(h){Qa[N[d+8>>2]](d,h)}N[c>>2]=0;h=N[c+4>>2];if(h){Qa[N[d+8>>2]](d,h)}N[c+4>>2]=0;c=c+8|0;b=b+2|0;if((f|0)!=(b|0)){continue}break}if(!g){break a}}b=N[c>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c>>2]=0}b=N[e+20>>2];if(b){Qa[N[d+8>>2]](d,b)}N[e+20>>2]=0;b=N[a+92>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+92>>2]=0}b=N[a+84>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+84>>2]=0;e=N[a+72>>2];if(e){c=0;while(1){b=N[a+80>>2];g=c<<4;f=b+g|0;if(N[f+4>>2]==1){e=N[f+12>>2];if(e){Qa[N[d+8>>2]](d,e);b=N[a+80>>2]}N[(b+g|0)+12>>2]=0;e=N[a+72>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}b=N[a+80>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+80>>2]=0;if(N[a+52>>2]){c=N[a+56>>2];b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;e=N[c+24>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+24>>2]=0;c=c+36|0;b=b+1|0;if(b>>>0>2]){continue}break}}if(N[a+64>>2]){c=N[a+68>>2];b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;e=N[c+24>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+24>>2]=0;c=c+36|0;b=b+1|0;if(b>>>0>2]){continue}break}}b=N[a+56>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+56>>2]=0;b=N[a+68>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+68>>2]=0;b=N[a+116>>2];b:{if(!b){break b}c=N[a+132>>2];if((b|0)!=1){e=b&1;g=b&-2;b=0;while(1){f=N[c>>2];if(f){Qa[N[d+8>>2]](d,f)}N[c>>2]=0;f=N[c+4>>2];if(f){Qa[N[d+8>>2]](d,f)}N[c+4>>2]=0;c=c+8|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}if(!e){break b}}b=N[c>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c>>2]=0}b=N[a+132>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+132>>2]=0;c=N[a+104>>2];if(N[a+108>>2]){b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;if(N[c+4>>2]==1){e=N[c+12>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+12>>2]=0}c=c+16|0;b=b+1|0;if(b>>>0>2]){continue}break}c=N[a+104>>2]}if(c){Qa[N[d+8>>2]](d,c)}N[a+104>>2]=0}}function $l(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=N[d+8>>2];h=N[d+16>>2]+T(e,3)|0;m=P[f+(O[h+2|0]<<1)>>1];i=O[h+1|0];l=N[d+4>>2];f=l+P[f+(O[h|0]<<1)>>1]|0;g=O[f|0];a:{if(!g){g=0;break a}j=g&3;h=0;b:{if(g>>>0<4){g=0;break b}k=g&252;g=0;while(1){L[a+g|0]=O[f+1|0];L[(g|1)+a|0]=O[f+2|0];L[(g|2)+a|0]=O[f+3|0];L[(g|3)+a|0]=O[f+4|0];f=f+4|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}}if(!j){break a}while(1){L[a+g|0]=O[f+1|0];g=g+1|0;f=f+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}c:{if(i>>>0<=9){c=c-i|0;break c}if((i-12&255)>>>0>8){break c}h=i-11|0;c=c-h|0;b=b+h|0}d:{if((c|0)<=0){break d}j=c&3;k=0;e:{if(c>>>0<4){f=0;break e}n=c&-4;f=0;while(1){h=a+g|0;L[h|0]=O[b+f|0];L[h+1|0]=O[(f|1)+b|0];L[h+2|0]=O[(f|2)+b|0];L[h+3|0]=O[(f|3)+b|0];g=g+4|0;f=f+4|0;if((n|0)!=(f|0)){continue}break}}if(!j){break d}while(1){L[a+g|0]=O[b+f|0];g=g+1|0;f=f+1|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}}f=m+l|0;f:{g:{switch(i-10|0){case 0:b=(g-c|0)+a|0;c=O[b|0];if(c>>>0<=191){if((c-97&255)>>>0>25){break f}L[b|0]=c^32;break f}if(c>>>0<=223){L[b+1|0]=O[b+1|0]^32;break f}L[b+2|0]=O[b+2|0]^5;break f;case 1:if((c|0)<=0){break f}b=(g-c|0)+a|0;while(1){d=O[b|0];h:{if(d>>>0<=191){h=1;if((d-97&255)>>>0>25){break h}L[b|0]=d^32;break h}if(d>>>0<=223){L[b+1|0]=O[b+1|0]^32;h=2;break h}L[b+2|0]=O[b+2|0]^5;h=3}b=b+h|0;c=c-h|0;if((c|0)>0){continue}break};break f;case 11:b=N[d+20>>2]+(e<<1)|0;_l((g-c|0)+a|0,c,O[b|0]|O[b+1|0]<<8);break f;case 12:break g;default:break f}}if((c|0)<=0){break f}b=(g-c|0)+a|0;d=N[d+20>>2]+(e<<1)|0;d=O[d|0]|O[d+1|0]<<8;while(1){e=_l(b,c,d);b=e+b|0;c=c-e|0;if((c|0)>0){continue}break}}c=O[f|0];i:{if(!c){break i}d=c&3;if(d){b=0;while(1){L[a+g|0]=O[f+1|0];g=g+1|0;f=f+1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}b=c&252}else{b=c}h=b;if(c>>>0<4){break i}while(1){b=a+g|0;L[b|0]=O[f+1|0];L[b+1|0]=O[f+2|0];L[b+2|0]=O[f+3|0];L[b+3|0]=O[f+4|0];g=g+4|0;f=f+4|0;h=h-4|0;if(h){continue}break}}return g}function jf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=1;a:{b:{if(!N[b>>2]){b=c;break b}if(!N[c>>2]){break b}m=0;if(N[c+8>>2]>2]){break a}}d=N[a+20>>2];c:{if(!d){break c}e=N[b+8>>2];d:{while(1){g=N[(T(h,20)+a|0)+36>>2];if((g|0)>=(e|0)){break d}h=h+1|0;if((d|0)!=(h|0)){continue}break}h=d;break c}if(O[(T(h,20)+a|0)+28|0]&8|(!m&(g|0)<=N[c+8>>2]|(e|0)==(g|0))){break a}}d=N[a+4>>2];if(!(!O[d+12|0]|O[b|0]&16)){e:{if(!m){j=Zc(d,(N[b+8>>2]+N[c+8>>2]|0)/2|0);f=N[c+8>>2]-N[b+8>>2]|0;i=(f|0)/2|0;e=i>>31;g=N[a+16>>2];d=g>>31;e=(e^i)-e|0;d=(d^g)-d|0;f:{if(e+(d>>>8|0)>>>0<=8190){d=T(d,e)+32768>>>16|0;break f}i=e&65535;d=T(i,d>>>16|0)+T(d,e>>>16|0)+(T(i,d&65535)+32768>>>16)|0}d=(f|0)<-1^(g|0)<0?0-d|0:d;N[b+12>>2]=j-d;e=d+j|0;d=c;break e}e=Zc(d,N[b+8>>2]);d=b}N[d+12>>2]=e}e=T(h,20)+a|0;if(N[b+12>>2]>2]?h:0){break a}d=N[a+20>>2];g:{if(d>>>0<=h>>>0){break g}e=N[e+40>>2];if(!m){if((e|0)>=N[c+12>>2]){break g}break a}if((e|0)>2]){break a}}g=d+!m|0;if(g>>>0>191){break a}j=d-h|0;h:{if(!j){break h}k=h+1|0;i:{if(!(j&1)){e=d;break i}f=a+28|0;i=f+T(g,20)|0;e=d-1|0;f=f+T(e,20)|0;l=N[f+4>>2];N[i>>2]=N[f>>2];N[i+4>>2]=l;N[i+16>>2]=N[f+16>>2];l=N[f+12>>2];N[i+8>>2]=N[f+8>>2];N[i+12>>2]=l;g=g-1|0;j=j-1|0}if((d|0)==(k|0)){break h}i=a+28|0;while(1){k=i+T(e,20)|0;f=k-20|0;l=N[f+4>>2];d=i+T(g,20)|0;N[d>>2]=N[f>>2];N[d+4>>2]=l;N[d+16>>2]=N[f+16>>2];l=N[f+12>>2];N[d+8>>2]=N[f+8>>2];N[d+12>>2]=l;f=d-20|0;d=k-40|0;N[f+16>>2]=N[d+16>>2];k=N[d+12>>2];N[f+8>>2]=N[d+8>>2];N[f+12>>2]=k;k=N[d+4>>2];N[f>>2]=N[d>>2];N[f+4>>2]=k;g=g-2|0;e=e-2|0;j=j-2|0;if(j){continue}break}}h=T(h,20);d=h+a|0;N[d+44>>2]=N[b+16>>2];e=N[b+12>>2];N[d+36>>2]=N[b+8>>2];N[d+40>>2]=e;e=N[b+4>>2];N[d+28>>2]=N[b>>2];N[d+32>>2]=e;N[a+20>>2]=N[a+20>>2]+1;if(m){break a}b=h+(a+20|0)|0;N[b+44>>2]=N[c+16>>2];d=N[c+12>>2];N[b+36>>2]=N[c+8>>2];N[b+40>>2]=d;d=N[c+4>>2];N[b+28>>2]=N[c>>2];N[b+32>>2]=d;N[a+20>>2]=N[a+20>>2]+1}}function bk(a,b,c,d,e,f,g){var h=0,i=0,j=0;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=lc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}a=h;c:{d:{if((d|0)==-1){break d}h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0<65537){break d}b=275552;e:{if((h&65535)!=256){break e}h=O[a+10|0]|O[a+11|0]<<8|(O[a+12|0]<<16|O[a+13|0]<<24);b=275552;if(!h){break e}b=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+a|0}h=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0>d>>>0){d=(b+(d<<3)|0)+8|0}else{d=275552}d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(d){d=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{d=275552}b=O[d+4|0]|O[d+5|0]<<8;if(!b){break d}b=(b<<8|b>>>8)&65535;j=b>>>0<=1?1:b;b=0;while(1){h=d+T(b,6)|0;i=O[h+6|0]|O[h+7|0]<<8;if(((i<<8|i>>>8)&65535)==(c|0)){b=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);a=275552;if(!b){break c}a=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;break c}b=b+1|0;if((j|0)!=(b|0)){continue}break}}b=275552;f:{if((O[a|0]|O[a+1|0]<<8)!=256){break f}d=O[a+6|0]|O[a+7|0]<<8;b=275552;if(!d){break f}b=((d<<8|d>>>8)&65535)+a|0}a=O[b|0]|O[b+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0>c>>>0){c=(b+T(c,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!c){break c}a=b+((c<<8|c>>>8)&65535)|0}b=a;g:{if(!f){break g}a=O[b+2|0]|O[b+3|0]<<8;a=(a<<8|a>>>8)&65535;c=a-e|0;a=a>>>0>=c>>>0?c:0;c=N[f>>2];a=a>>>0>>0?a:c;N[f>>2]=a;if(!a){break g}d=(b+(e<<1)|0)+4|0;if(a&1){b=O[d|0]|O[d+1|0]<<8;N[g>>2]=(b<<8|b>>>8)&65535;d=d+2|0;g=g+4|0;b=a-1|0}else{b=a}if((a|0)==1){break g}a=b;while(1){c=O[d|0]|O[d+1|0]<<8;N[(b?g:589824)>>2]=(c<<8|c>>>8)&65535;c=(b|0)!=0;f=(c<<2)+g|0;e=(b|0)!=(c|0);g=O[d+2|0]|O[d+3|0]<<8;N[(e?f:589824)>>2]=(g<<8|g>>>8)&65535;g=f+(e<<2)|0;b=b-(c+e|0)|0;d=d+4|0;a=a-2|0;if(a){continue}break}}}function ro(a){var b=0,c=0,d=0,e=0,f=0;f=La-16|0;La=f;a:{while(1){b:{c:{d:{b=O[a|0];switch(b|0){case 0:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 9:break c;default:break d}}if((b|0)!=32){break b}}a=a+1|0;continue}break}c=nb(a);b=c+a|0;e:{if((c|0)<=0){break e}while(1){c=b-1|0;d=O[c|0];if((d|0)!=32&(d|0)!=9){break e}b=c;if(b>>>0>a>>>0){continue}break}b=a}c=a;a=b-a|0;a=a>>>0>=15?15:a;B(f,c,a);L[a|f]=0;a=f;b=15619;while(1){f:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break f}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=2;if((c|0)==(d|0)){break a}a=f;b=21753;while(1){g:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break g}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=3;if((c|0)==(d|0)){break a}a=f;b=21760;while(1){h:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break h}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=4;if((c|0)==(d|0)){break a}a=f;b=21367;while(1){i:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break i}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=5;if((c|0)==(d|0)){break a}a=f;b=21374;while(1){j:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break j}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=6;if((c|0)==(d|0)){break a}a=f;b=13166;while(1){k:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break k}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=7;if((c|0)==(d|0)){break a}a=f;b=13174;while(1){l:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break l}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=8;if((c|0)==(d|0)){break a}a=f;b=17788;while(1){m:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break m}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=9;if((c|0)==(d|0)){break a}a=f;b=17795;while(1){n:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break n}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=(c|0)==(d|0)?10:1}La=f+16|0;return b}function _f(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=La-16|0;La=k;h=N[a+100>>2];e=N[a+532>>2];a:{if(!e){e=Qa[N[h+4>>2]](h,420)|0;if(!e){d=64;break a}G(e,0,416);N[e+416>>2]=0;N[a+532>>2]=e}b:{c:{d:{if(!b){break d}e:{f=N[e>>2];if(!f){if((b|0)<0){d=6;break c}d=10;if((b|0)>67108863){break c}g=b<<5;f=Qa[N[h+4>>2]](h,g)|0;if(!(!f|(b|0)<=0)){G(f,0,g);g=e+148|0;N[g>>2]=f;break e}g=e+148|0;N[g>>2]=f;if(f){break e}d=!f<<6;break a}d=3;if((b|0)!=(f|0)){break a}break d}if((b|0)>=10956550){a=e+216|0;break b}f:{f=T(b,196);d=Qa[N[h+4>>2]](h,f)|0;if(!(!d|(b|0)<=0)){G(d,0,f);f=e+216|0;N[f>>2]=d;break f}f=e+216|0;N[f>>2]=d;if(d){break f}d=!d<<6;break a}d=b<<4;i=Qa[N[h+4>>2]](h,d)|0;g:{if(!(!i|(b|0)<=0)){G(i,0,d);N[k+12>>2]=0;j=e+288|0;N[j>>2]=i;break g}l=!i;d=l<<6;N[k+12>>2]=d;j=e+288|0;N[j>>2]=i;if(l){break a}}i=lb(h,4,0,b<<1,0,k+12|0);N[e+136>>2]=i;d=N[k+12>>2];if(d){break a}N[e+284>>2]=a+464;N[e+212>>2]=a+168;N[e+144>>2]=a+132;N[e+140>>2]=i+(b<<2);if(b>>>0>=2){j=N[j>>2];f=N[f>>2];g=N[g>>2];a=2;while(1){d=(a<<2)+e|0;j=j+16|0;N[d+284>>2]=j;f=f+196|0;N[d+212>>2]=f;g=g+32|0;N[d+144>>2]=g;a=a+1|0;if(b>>>0>=a>>>0){continue}break}}N[e>>2]=b}a=N[e+4>>2];h:{if(!c){c=a;break h}if(a){d=3;if((a|0)!=(c|0)){break a}}N[e+4>>2]=c}d=0;f=N[e>>2];if(N[e+24>>2]|(!f|!c)){break a}a=e+24|0;b=0;g=T(c,f);if((g|0)<0){d=6;break b}i:{if(!g){break i}d=10;if((g|0)>536870911){break b}a=g<<2;b=Qa[N[h+4>>2]](h,a)|0;d=!b<<6;if(!b|(g|0)<=0){break i}d=0;G(b,0,a)}N[e+24>>2]=b;if(f>>>0<2|d){break a}d=f-1|0;g=d&3;a=1;if(f-2>>>0>=3){f=d&-4;h=0;d=e+24|0;while(1){N[d+(a<<2)>>2]=(T(a,c)<<2)+b;i=a+1|0;N[d+(i<<2)>>2]=(T(c,i)<<2)+b;i=a+2|0;N[d+(i<<2)>>2]=(T(c,i)<<2)+b;i=a+3|0;N[d+(i<<2)>>2]=(T(c,i)<<2)+b;a=a+4|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}}d=0;if(!g){break a}h=0;while(1){N[((a<<2)+e|0)+24>>2]=(T(a,c)<<2)+b;a=a+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}break a}a=e+148|0}N[a>>2]=0}La=k+16|0;return d}function $a(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!a){return kb(b)}a:{if(b>>>0>4294967231){break a}f=b>>>0<11?16:b+11&-8;e=a-8|0;i=N[e+4>>2];d=i&-8;b:{if(!(i&3)){if(f>>>0<256){break b}if(d>>>0>=f+4>>>0){c=e;if(d-f>>>0<=N[147437]<<1>>>0){break b}}c=0;break b}g=d+e|0;c:{if(d>>>0>=f>>>0){c=d-f|0;if(c>>>0<16){break c}N[e+4>>2]=i&1|f|2;d=e+f|0;N[d+4>>2]=c|3;N[g+4>>2]=N[g+4>>2]|1;Hn(d,c);break c}if(N[147323]==(g|0)){d=d+N[147320]|0;if(d>>>0<=f>>>0){break b}N[e+4>>2]=i&1|f|2;c=e+f|0;d=d-f|0;N[c+4>>2]=d|1;N[147320]=d;N[147323]=c;break c}if(N[147322]==(g|0)){d=d+N[147319]|0;if(d>>>0>>0){break b}c=d-f|0;d:{if(c>>>0>=16){N[e+4>>2]=i&1|f|2;h=e+f|0;N[h+4>>2]=c|1;d=d+e|0;N[d>>2]=c;N[d+4>>2]=N[d+4>>2]&-2;break d}N[e+4>>2]=d|i&1|2;c=d+e|0;N[c+4>>2]=N[c+4>>2]|1;c=0}N[147322]=h;N[147319]=c;break c}h=N[g+4>>2];if(h&2){break b}j=d+(h&-8)|0;if(j>>>0>>0){break b}l=j-f|0;e:{if(h>>>0<=255){c=N[g+12>>2];d=N[g+8>>2];if((c|0)==(d|0)){o=589268,p=N[147317]&YE(-2,h>>>3|0),N[o>>2]=p;break e}N[d+12>>2]=c;N[c+8>>2]=d;break e}k=N[g+24>>2];d=N[g+12>>2];f:{if((g|0)!=(d|0)){c=N[g+8>>2];N[c+12>>2]=d;N[d+8>>2]=c;break f}g:{c=g+20|0;h=N[c>>2];if(!h){h=N[g+16>>2];if(!h){break g}c=g+16|0}while(1){m=c;d=h;c=d+20|0;h=N[c>>2];if(h){continue}c=d+16|0;h=N[d+16>>2];if(h){continue}break}N[m>>2]=0;break f}d=0}if(!k){break e}c=N[g+28>>2];h=(c<<2)+589572|0;h:{if(N[h>>2]==(g|0)){N[h>>2]=d;if(d){break h}o=589272,p=N[147318]&YE(-2,c),N[o>>2]=p;break e}N[(N[k+16>>2]==(g|0)?16:20)+k>>2]=d;if(!d){break e}}N[d+24>>2]=k;c=N[g+16>>2];if(c){N[d+16>>2]=c;N[c+24>>2]=d}c=N[g+20>>2];if(!c){break e}N[d+20>>2]=c;N[c+24>>2]=d}if(l>>>0<=15){N[e+4>>2]=i&1|j|2;c=e+j|0;N[c+4>>2]=N[c+4>>2]|1;break c}N[e+4>>2]=i&1|f|2;c=e+f|0;N[c+4>>2]=l|3;d=e+j|0;N[d+4>>2]=N[d+4>>2]|1;Hn(c,l)}c=e}if(c){return c+8|0}c=kb(b);if(!c){break a}e=N[a-4>>2];e=(e&3?-4:-8)+(e&-8)|0;B(c,a,b>>>0>e>>>0?e:b);_a(a);n=c}return n}function cx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=N[a+492>>2];g=N[b+16>>2];Qa[N[b+28>>2]](b);a:{b:{c:{f=N[b>>2];d:{if(!(f>>>0>=Q[b+8>>2]|O[f|0]!=91)){Qa[N[b+32>>2]](b);Qa[N[b+28>>2]](b);a=N[b>>2];if(a>>>0>2]&O[a|0]==93){break d}break a}e=Qa[N[b+36>>2]](b)|0;if((e|0)<0){break a}c=N[b+8>>2];f=N[b>>2];e:{if(c>>>0>>0){break e}c=c-f>>3;if((c|0)>=(e|0)){break e}if(!N[b+368>>2]){f=b+368|0;f:{e=Qa[N[g+4>>2]](g,24)|0;if(e){L[e+20|0]=0;L[e+21|0]=0;L[e+22|0]=0;L[e+23|0]=0;N[b+368>>2]=e;N[e+16>>2]=150;N[e+12>>2]=151;N[e+8>>2]=0;N[e>>2]=80;N[e+4>>2]=241;f=Qa[N[g+4>>2]](g,964)|0;if(f){break f}f=e+20|0}N[f>>2]=0;break b}G(f,0,964);N[e+20>>2]=f}e=c}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break d}j=b+316|0;Qa[N[b+28>>2]](b);if(!N[b+312>>2]){c=Qa[N[N[k>>2]>>2]](j,e,g)|0;if(c){break c}}c=N[b>>2];g:{if(Q[b+8>>2]<=c+4>>>0){break g}f=0;while(1){if(bb(c,12289,3)){break g}Qa[N[b+32>>2]](b);c=Qa[N[b+36>>2]](b)|0;l=N[N[a+128>>2]+52>>2];i=N[b+8>>2];Qa[N[b+28>>2]](b);h:{d=N[b>>2];i:{if(d>>>0>=i>>>0|O[d|0]-48>>>0>9){break i}h=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((h|0)<0){break i}m=i;d=N[b>>2];i=d+1|0;if((h|0)<(m-i|0)){break h}}if(l){break d}break a}N[b>>2]=(d+h|0)+1;if(N[b+12>>2]){break d}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break d}Qa[N[b+28>>2]](b);d=N[b>>2];j:{if(Q[b+8>>2]<=d+4>>>0){break j}if(bb(d,8702,3)){break j}Qa[N[b+32>>2]](b);Qa[N[b+28>>2]](b)}d=N[b+368>>2];if(d){gg(c,f,d,g);c=f}if(!N[b+312>>2]){d=N[a+172>>2];k:{if((d|0)>=0){if(d>>>0>h>>>0){c=3;break c}l:{if((h|0)<=0){d=0;break l}d=Qa[N[g+4>>2]](g,h)|0;if(!d){break b}}B(d,i,h);Qa[N[k+16>>2]](d,h,4330);i=c;c=N[a+172>>2];c=Qa[N[b+360>>2]](j,i,c+d|0,h-c|0)|0;if(!d){break k}Qa[N[g+8>>2]](g,d);break k}c=Qa[N[b+360>>2]](j,c,i,h)|0}if(c){break c}}f=f+1|0;c=N[b>>2];if(Q[b+8>>2]>c+4>>>0){continue}break}}if(N[b+312>>2]){break d}N[b+312>>2]=e}return}N[b+12>>2]=c;return}N[b+12>>2]=64;return}N[b+12>>2]=3}function tl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{if(!b){break d}d=N[b>>2];if(!d){break d}if((d|0)<=0){break c}N[b>>2]=d+1}N[a+32>>2]=b;e:{f:{while(1){L[a+24|0]=c;e=N[a+32>>2];d=N[e+12>>2];N[a+4>>2]=d;f=N[e+16>>2];g=f+d|0;N[a+8>>2]=g;if((f|0)<0){break b}N[a+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(e);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}g:{if(f>>>0<2){break g}N[a+12>>2]=c-2;if(!(O[d|0]|O[d+1|0]<<8)){break g}e=d+4|0;if((f&-4)==4|e>>>0>g>>>0){break g}N[a+12>>2]=c-6;c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=c>>>0<=1?1:c;g=0;f=d+8|0;c=f;h:{while(1){if(!ol(c,a)){break h}i=c;c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}if(!N[a+28>>2]){break f}N[a+28>>2]=0;if(d>>>0>2]){break g}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}g=N[a+12>>2];h=g-2|0;N[a+12>>2]=h;if(!(O[d|0]|O[d+1|0]<<8)|(h|0)<=0|(c>>>0>>0|c-e>>>0<4)){break g}c=g-6|0;N[a+12>>2]=c;if((c|0)<=0){break g}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0<=1?1:c;c=0;while(1){g=ol(f,a);if(g){d=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+f|0;c=c+1|0;if((e|0)!=(c|0)){continue}}break}if(N[a+28>>2]){break g}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(g){break e}break a}if(O[a+24|0]|!N[a+28>>2]){break g}d=zb(b);N[a+4>>2]=d;N[a+8>>2]=d+N[b+16>>2];c=1;if(d){continue}}break}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break a}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}ab(b);return 275552}function rl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{if(!b){break d}d=N[b>>2];if(!d){break d}if((d|0)<=0){break c}N[b>>2]=d+1}N[a+32>>2]=b;e:{f:{while(1){L[a+24|0]=c;e=N[a+32>>2];d=N[e+12>>2];N[a+4>>2]=d;f=N[e+16>>2];g=f+d|0;N[a+8>>2]=g;if((f|0)<0){break b}N[a+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(e);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}g:{if(f>>>0<2){break g}N[a+12>>2]=c-2;if(!(O[d|0]|O[d+1|0]<<8)){break g}e=d+4|0;if((f&-4)==4|e>>>0>g>>>0){break g}N[a+12>>2]=c-6;c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=c>>>0<=1?1:c;g=0;f=d+8|0;c=f;h:{while(1){if(!pl(c,a)){break h}i=c;c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}if(!N[a+28>>2]){break f}N[a+28>>2]=0;if(d>>>0>2]){break g}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}g=N[a+12>>2];h=g-2|0;N[a+12>>2]=h;if(!(O[d|0]|O[d+1|0]<<8)|(h|0)<=0|(c>>>0>>0|c-e>>>0<4)){break g}c=g-6|0;N[a+12>>2]=c;if((c|0)<=0){break g}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0<=1?1:c;c=0;while(1){g=pl(f,a);if(g){d=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+f|0;c=c+1|0;if((e|0)!=(c|0)){continue}}break}if(N[a+28>>2]){break g}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(g){break e}break a}if(O[a+24|0]|!N[a+28>>2]){break g}d=zb(b);N[a+4>>2]=d;N[a+8>>2]=d+N[b+16>>2];c=1;if(d){continue}}break}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break a}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}ab(b);return 275552}function Xf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=La-16|0;La=k;f=6;a:{if(!a){break a}h=N[a+12>>2];if(h>>>0<=b>>>0){break a}j=N[a>>2];b:{c:{d:{e:{f:{g=N[a+28>>2];if(!g){g=O[a+16|0];h=(N[a+8>>2]+N[a+4>>2]|0)+T(g,b)|0;e=N[j+20>>2];g:{if(e){f=85;if(Qa[e|0](j,h,0,0)|0){break a}g=O[a+16|0];e=N[a>>2];i=N[e+4>>2];break g}f=85;e=j;i=N[e+4>>2];if(h>>>0>i>>>0){break a}}N[j+8>>2]=h;h:{h=N[e+8>>2];if(h>>>0>>0){f=N[e+20>>2];i:{if(f){f=Qa[f|0](e,h,k+8|0,g)|0;break i}f=i-h|0;f=f>>>0>>0?f:g;B(k+8|0,h+N[e>>2]|0,f)}N[e+8>>2]=f+h;if(f>>>0>=g>>>0){break h}}f=85;break a}j:{g=O[a+16|0];if(g){f=0;e=0;i=0;if(g>>>0>=4){e=g&252;i=(k+e|0)+4|0;i=(O[i|0]<<16|O[i+1|0]<<8|O[i+2|0])<<8|O[i+3|0]}g=g&3;if(g){while(1){i=O[(k+8|0)+e|0]|i<<8;e=e+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(i){break j}}i=0;f=0;break e}while(1){f=85;e=N[a>>2];l=N[e+4>>2];g=N[e+8>>2];k:{if(l>>>0<=g>>>0){break k}h=O[a+16|0];m=N[e+20>>2];l:{if(m){l=Qa[m|0](e,g,k+12|0,h)|0;break l}l=l-g|0;l=h>>>0>l>>>0?l:h;B(k+12|0,g+N[e>>2]|0,l)}N[e+8>>2]=g+l;if(h>>>0>l>>>0){break k}h=O[a+16|0];if(!h){f=0;break k}g=0;f=0;e=0;if(h>>>0>=4){f=h&252;e=(k+f|0)+8|0;e=(O[e|0]<<16|O[e+1|0]<<8|O[e+2|0])<<8|O[e+3|0]}h=h&3;if(h){while(1){e=O[(k+12|0)+f|0]|e<<8;f=f+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}f=0;if(e){break f}}b=b+1|0;if(b>>>0>2]){continue}break}break e}f=0;i=N[g+(b<<2)>>2];if(!i){i=0;break e}while(1){b=b+1|0;e=N[g+(b<<2)>>2];if(e){break f}if((b|0)!=(h|0)){continue}break}break e}b=N[j+4>>2]+1|0;if(e>>>0<=b>>>0){break d}g=N[a+20>>2];break c}b=N[j+4>>2]+1|0;e=0}g=N[a+20>>2];if(g>>>0<=b-e>>>0){break b}}e=b-g|0}if(!(!i|e>>>0<=i>>>0)){b=e-i|0;N[d>>2]=b;d=N[a+32>>2];if(d){N[c>>2]=(d+i|0)-1;break a}a=(N[a+20>>2]+i|0)-1|0;d=N[j+20>>2];m:{if(d){f=85;if(!(Qa[d|0](j,a,0,0)|0)){break m}break a}f=85;if(a>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=a;f=dc(j,b,c);break a}N[c>>2]=0;N[d>>2]=0}La=k+16|0;return f}function ug(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=La+-64|0;La=h;N[h>>2]=N[b>>2];N[h+4>>2]=N[c>>2];l=O[e+9|0];n=l?10:9;while(1){g=(i<<2)+h|0;o=g;m=N[g>>2];N[g+8>>2]=m;if(O[e+i|0]){g=N[a+8>>2];a:{if(N[a+12>>2]-g>>3>>>0<=j>>>0){g=0;k=N[a+4>>2];if(!k|N[k>>2]){break a}N[k>>2]=130;break a}b:{c:{d:{g=g+(j<<3)|0;switch(N[g+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}g=N[g>>2]<<16;break a}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break a}g=N[g>>2]}N[o+8>>2]=g+m;j=j+1|0}i=i+1|0;if((n|0)!=(i|0)){continue}break}if(!l){N[h+44>>2]=N[c>>2]}e:{if(f){f=N[h+44>>2];i=f-N[c>>2]|0;e=i>>31;i=(e^i)-e|0;g=N[h+40>>2];k=g-N[b>>2]|0;e=k>>31;k=(e^k)-e|0;e=N[a+8>>2];f:{if(N[a+12>>2]-e>>3>>>0<=j>>>0){j=0;e=N[a+4>>2];if(!e|N[e>>2]){break f}N[e>>2]=130;break f}g:{h:{i:{e=e+(j<<3)|0;switch(N[e+4>>2]-1|0){case 0:break h;case 1:break i;default:break g}}j=N[e>>2]<<16;break f}e=N[e>>2];j=((e>>31)+e|0)- -8192>>14;break f}j=N[e>>2]}if((i|0)<(k|0)){i=g+j|0;e=N[c>>2];break e}i=N[b>>2];e=f+j|0;break e}j:{if(O[e+10|0]){g=N[h+40>>2];f=N[a+8>>2];k:{if(N[a+12>>2]-f>>3>>>0<=j>>>0){f=0;i=N[a+4>>2];if(!i|N[i>>2]){break k}N[i>>2]=130;break k}l:{m:{n:{f=f+(j<<3)|0;switch(N[f+4>>2]-1|0){case 0:break m;case 1:break n;default:break l}}f=N[f>>2]<<16;break k}f=N[f>>2];f=((f>>31)+f|0)- -8192>>14;break k}f=N[f>>2]}j=j+1|0;i=f+g|0;break j}i=N[b>>2]}if(O[e+11|0]){f=N[h+44>>2];e=N[a+8>>2];o:{if(N[a+12>>2]-e>>3>>>0<=j>>>0){e=N[a+4>>2];g=0;if(!e|N[e>>2]){break o}N[e>>2]=130;e=f;break e}p:{q:{r:{e=e+(j<<3)|0;switch(N[e+4>>2]-1|0){case 0:break q;case 1:break r;default:break p}}e=(N[e>>2]<<16)+f|0;break e}e=N[e>>2];e=(((e>>31)+e|0)- -8192>>14)+f|0;break e}g=N[e>>2]}e=f+g|0;break e}f=N[h+44>>2];e=N[c>>2]}Bd(d,N[h+8>>2],N[h+12>>2],N[h+16>>2],N[h+20>>2],N[h+24>>2],N[h+28>>2]);Bd(d,N[h+32>>2],N[h+36>>2],N[h+40>>2],f,i,e);N[a+12>>2]=N[a+8>>2];N[b>>2]=i;N[c>>2]=e;La=h- -64|0}function Om(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=La+-64|0;La=l;e=N[a+532>>2];d=6;a:{if(!e){break a}f=N[e+4>>2];o=b>>>0>f>>>0?f:b;b:{c:{if(f){p=e+88|0;while(1){b=p+T(h,12)|0;j=N[b+8>>2];k=N[b+4>>2];d:{if(h>>>0>>0){i=O[b|0];d=N[(h<<2)+c>>2];break d}i=O[b|0];d=(N[((i<<2)+k|0)-4>>2]-N[k>>2]|0)/2|0}q=(h<<2)+l|0;e:{f:{if(!i){break f}b=0;g=-1;g:{h:{while(1){m=b<<2;n=N[m+k>>2];if((n|0)==(d|0)){break g}if((d|0)<(n|0)){break h}g=b;b=b+1|0;if((i|0)!=(b|0)){continue}break}if(!i){break f}b=N[((i<<2)+j|0)-4>>2];break e}if((g|0)<0){break f}i=d;b=g<<2;d=N[b+k>>2];b=jb(i-d|0,N[j+m>>2]-N[b+j>>2]|0,n-d|0);break e}b=N[j+m>>2];break e}b=N[j>>2]}N[q>>2]=b;h=h+1|0;if(f>>>0>h>>>0){continue}break}j=N[e>>2];d=-1;if(!j){break a}e=N[e+136>>2];c=e;if(!f){break c}h=0;c=f;i=0;while(1){d=65536;b=0;i:{if(!c){break i}while(1){j:{if(b>>>0>=f>>>0){d=d>>1;break j}g=N[(b<<2)+l>>2];g=i>>>b&1?g:65536-g|0;if((g|0)<=0){d=0;b=c;break i}if(g>>>0>65535){break j}c=d>>31;c=(c^d)-c|0;k:{if(c+(g>>>8|0)>>>0<=8190){c=T(c,g)+32768>>>16|0;break k}k=c&65535;c=T(k,g>>>16|0)+T(g,c>>>16|0)+(T(k,g&65535)+32768>>>16)|0}d=(d|0)<0?0-c|0:c}b=b+1|0;c=f;if(b>>>0>>0){continue}break}b=c}c=e+(i<<2)|0;if(N[c>>2]!=(d|0)){N[c>>2]=d;h=1}c=b;i=i+1|0;if((i|0)!=(j|0)){continue}break}break b}j=N[e>>2];d=-1;if(!j){break a}c=N[e+136>>2]}g=j&3;d=0;l:{if(j>>>0<4){h=0;b=0;break l}i=j&-4;h=0;b=0;while(1){f=b<<2;e=f+c|0;if(N[e>>2]!=65536){N[e>>2]=65536;h=1}e=c+(f|4)|0;if(N[e>>2]!=65536){N[e>>2]=65536;h=1}e=c+(f|8)|0;if(N[e>>2]!=65536){N[e>>2]=65536;h=1}f=c+(f|12)|0;if(N[f>>2]!=65536){N[f>>2]=65536;h=1}b=b+4|0;if((i|0)!=(b|0)){continue}break}}if(!g){break b}while(1){f=c+(b<<2)|0;if(N[f>>2]!=65536){N[f>>2]=65536;h=1}b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=-1;if(!(h&255)){break a}N[a+8>>2]=N[a+8>>2]&-32769|((o|0)!=0)<<15;d=0}La=l- -64|0;return d|0}function ig(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(N[a+72>>2]==1869968492){if(c){m=N[c>>2];j=N[c+4>>2]}c=0;f=M[a+110>>1];a:{if(!f){break a}h=N[a+112>>2];c=N[h+4>>2];e=N[h>>2];if((f|0)<2){g=c;d=e;break a}i=(f<<3)+h|0;f=h+8|0;d=e;g=c;while(1){k=N[h+12>>2];g=(g|0)<(k|0)?k:g;c=(c|0)>(k|0)?k:c;h=N[h+8>>2];d=(d|0)<(h|0)?h:d;e=(e|0)>(h|0)?h:e;h=f;f=f+8|0;if(i>>>0>f>>>0){continue}break}}h=j&63;n=h+(g&63)|0;f=m&63;l=f+(d&63)|0;o=h+(c&63)|0;p=f+(e&63)|0;h=6;f=g>>6;g=j>>6;f=f+g|0;i=d>>6;d=m>>6;i=i+d|0;k=g+(c>>6)|0;m=d+(e>>6)|0;b:{c:{d:{switch(b-2|0){default:g=i+(l+63>>>6|0)|0;c=m+(p>>>6|0)|0;e=g-c|0;h=2;f=f+(n+63>>>6|0)|0;d=k+(o>>>6|0)|0;j=f-d|0;break c;case 0:d=l+32|0;g=i+(d>>>6|0)|0;b=p+31|0;c=(b>>>6|0)+m|0;e:{if((g|0)==(c|0)){if((((d&63)+(b&63)|0)-31|0)<=31){g=c;c=c-1|0;break e}g=c+1|0}}e=n+32|0;f=f+(e>>>6|0)|0;b=o+31|0;d=(b>>>6|0)+k|0;f:{if((f|0)==(d|0)){if((((e&63)+(b&63)|0)-31|0)<=31){f=d;d=d-1|0;break f}f=d+1|0}}j=f-d|0;h=1;e=g-c|0;b=e+15>>3&-2;break b;case 1:g=N[a>>2];e=N[g+184>>2];d=N[g+192>>2];b=(d|0)>(e|0)?e:d;c=N[g+200>>2];f=((n-((b|0)<(c|0)?b:c)|0)+63>>6)+f|0;b=(d|0)<(e|0)?e:d;d=(o-((b|0)>(c|0)?b:c)>>6)+k|0;j=f-d|0;h=5;k=i;i=N[g+180>>2];e=N[g+188>>2];b=(e|0)>(i|0)?i:e;c=N[g+196>>2];g=k+((l-((b|0)<(c|0)?b:c)|0)+63>>6)|0;b=(e|0)<(i|0)?i:e;c=(p-((b|0)>(c|0)?b:c)>>6)+m|0;e=T(g-c|0,3);b=e+3&-4;break b;case 2:break d}}g=l;l=N[a>>2];e=N[l+184>>2];d=N[l+192>>2];b=(d|0)>(e|0)?e:d;c=N[l+200>>2];g=((g-((b|0)<(c|0)?b:c)|0)+63>>6)+i|0;b=(d|0)<(e|0)?e:d;c=(p-((b|0)>(c|0)?b:c)>>6)+m|0;e=g-c|0;i=N[l+180>>2];j=N[l+188>>2];b=(i|0)>(j|0)?i:j;d=N[l+196>>2];f=((n+((b|0)>(d|0)?b:d)|0)+63>>6)+f|0;b=(i|0)<(j|0)?i:j;d=(((b|0)<(d|0)?b:d)+o>>6)+k|0;j=T(f-d|0,3)}b=e}N[a+104>>2]=f;N[a+100>>2]=c;N[a+76>>2]=j;L[a+94|0]=h;M[a+92>>1]=256;N[a+80>>2]=e;N[a+84>>2]=b;a=(c|0)<-32768|(d|0)<-32768|(g|0)>32767|(f|0)>32767}else{a=1}return a}function sf(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-72|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1719034226,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(Yi(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(Yi(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=Yi(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<16?275552:N[d+12>>2]}function Hc(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-84|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1297498450,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(jh(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(jh(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=jh(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<12?275552:N[d+12>>2]}function Hg(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-76|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1635148146,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(Xi(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(Xi(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=Xi(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<8?275552:N[d+12>>2]}function kE(a){a=a|0;var b=0,c=0,d=0,e=0;d=N[a+88>>2];a:{b:{c:{c=N[a+84>>2];if((c|0)>=0){b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break b}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){e=$a(N[a+92>>2],T(c,28));d=N[a+88>>2];if(e){break c}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=c;N[a+92>>2]=e}if(b>>>0>d>>>0){G(N[a+92>>2]+T(d,28)|0,0,T(b-d|0,28))}N[a+88>>2]=b;d=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=d;N[b>>2]=1668049255;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[147450];if(!d){Dl();d=N[147450]}if(d&4){d=N[a+88>>2];d:{e:{f:{c=N[a+84>>2];if((c|0)>=0){b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break e}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){e=$a(N[a+92>>2],T(c,28));d=N[a+88>>2];if(e){break f}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=c;N[a+92>>2]=e}if(b>>>0>d>>>0){G(N[a+92>>2]+T(d,28)|0,0,T(b-d|0,28))}N[a+88>>2]=b;d=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=d;N[b>>2]=1801810542;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}d=N[a+88>>2];g:{h:{i:{c=N[a+84>>2];if((c|0)>=0){b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break h}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){e=$a(N[a+92>>2],T(c,28));d=N[a+88>>2];if(e){break i}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=c;N[a+92>>2]=e}if(b>>>0>d>>>0){G(N[a+92>>2]+T(d,28)|0,0,T(b-d|0,28))}N[a+88>>2]=b;d=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=d;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Pe(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=La-272|0;La=n;N[n+268>>2]=0;s=Lk(a,b,c,f,g,n+268|0,n);i=N[a+96>>2];c=N[i+64>>2];a:{if(s){f=N[i+68>>2];r=N[n+268>>2];m=f>>>0>>0?f:r;j=m-c|0;b:{if(j>>>0<2){break b}h=N[i+144>>2]|32;N[i+144>>2]=h;if(c>>>0>=m>>>0){break b}o=N[i+80>>2];g=-1;f=c;t=m+(c^-1)|0;if(t>>>0>=3){q=j&-4;while(1){l=o+T(f,20)|0;p=N[l+8>>2];g=g>>>0

>>0?g:p;p=N[l+28>>2];g=g>>>0

>>0?g:p;p=N[l+48>>2];g=g>>>0

>>0?g:p;l=N[l+68>>2];g=g>>>0>>0?g:l;f=f+4|0;k=k+4|0;if((q|0)!=(k|0)){continue}break}}l=j&3;if(l){k=0;while(1){q=N[(o+T(f,20)|0)+8>>2];g=g>>>0>>0?g:q;f=f+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(j&1){f=o+T(c,20)|0;if(N[f+8>>2]!=(g|0)){N[f+4>>2]=N[f+4>>2]|3}c=c+1|0}if(!t){break b}while(1){f=o+T(c,20)|0;if(N[f+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[f+4>>2]=N[f+4>>2]|3}f=o+T(c+1|0,20)|0;if(N[f+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[f+4>>2]=N[f+4>>2]|3}c=c+2|0;if((m|0)!=(c|0)){continue}break}}Kk(a,b,n,d,e,r);break a}if(!(O[i+16|0]&64)){break a}a=N[i+68>>2];b=N[n+268>>2];b=a>>>0>>0?a:b;d=b-c|0;if(d>>>0<2){break a}h=N[i+144>>2]|32;N[i+144>>2]=h;if(b>>>0<=c>>>0){break a}a=N[i+80>>2];g=-1;f=c;o=b+(c^-1)|0;if(o>>>0>=3){m=d&-4;while(1){e=a+T(f,20)|0;j=N[e+8>>2];g=g>>>0>>0?g:j;j=N[e+28>>2];g=g>>>0>>0?g:j;j=N[e+48>>2];g=g>>>0>>0?g:j;e=N[e+68>>2];g=e>>>0>g>>>0?g:e;f=f+4|0;k=k+4|0;if((m|0)!=(k|0)){continue}break}}e=d&3;if(e){k=0;while(1){m=N[(a+T(f,20)|0)+8>>2];g=g>>>0>>0?g:m;f=f+1|0;k=k+1|0;if((e|0)!=(k|0)){continue}break}}if(d&1){d=a+T(c,20)|0;if(N[d+8>>2]!=(g|0)){N[d+4>>2]=N[d+4>>2]|2}c=c+1|0}if(!o){break a}while(1){d=a+T(c,20)|0;if(N[d+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[d+4>>2]=N[d+4>>2]|2}d=a+T(c+1|0,20)|0;if(N[d+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[d+4>>2]=N[d+4>>2]|2}c=c+2|0;if((b|0)!=(c|0)){continue}break}}La=n+272|0;return s}function AC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!c){break a}p=(d<<1)+4|0;if(!p){while(1){m=m+8|0;if(m>>>0>>0){continue}break a}}n=d<<3;while(1){o=0;l=0;while(1){i=l-8|0;i=i>>>0>=n>>>0?440592:(i<<1)+b|0;g=P[i>>1];d=l>>>0>=n>>>0?440592:(l<<1)+b|0;e=P[d>>1];j=l-16|0;j=j>>>0>=n>>>0?440592:(j<<1)+b|0;h=P[j>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+16>>1]=(k+e&65534)>>>1;M[a>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+2>>1];e=P[d+2>>1];h=P[j+2>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+18>>1]=(k+e&65534)>>>1;M[a+2>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+4>>1];e=P[d+4>>1];h=P[j+4>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+20>>1]=(k+e&65534)>>>1;M[a+4>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+6>>1];e=P[d+6>>1];h=P[j+6>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+22>>1]=(k+e&65534)>>>1;M[a+6>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+8>>1];e=P[d+8>>1];h=P[j+8>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+24>>1]=(k+e&65534)>>>1;M[a+8>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+10>>1];e=P[d+10>>1];h=P[j+10>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+26>>1]=(k+e&65534)>>>1;M[a+10>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+12>>1];e=P[d+12>>1];h=P[j+12>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+28>>1]=(k+e&65534)>>>1;M[a+12>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;i=P[i+14>>1];f=P[d+14>>1];j=P[j+14>>1];d=(i+((f+j&65534)>>>1|0)&65534)>>>1|0;i=i+1|0;M[a+30>>1]=(i+((d+f&65534)>>>1|0)&65534)>>>1;M[a+14>>1]=(i+((d+j&65534)>>>1|0)&65534)>>>1;l=l+8|0;a=a+32|0;o=o+2|0;if(p>>>0>o>>>0){continue}break}b=(n<<1)+b|0;m=m+8|0;if(m>>>0>>0){continue}break}}}function Wl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+204>>2];if(h>>>0>=2){d=N[a+168>>2];c=N[a+8>>2];b=N[a+12>>2];if(b>>>0>=16){b=b^16;N[a+12>>2]=b;e=c>>>16|0;N[a+8>>2]=e;c=N[a+16>>2];f=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=e|f<<16;N[a+8>>2]=c}f=c>>>b|0;d=((f&255)<<2)+d|0;e=O[d|0];if(e>>>0>=9){d=(P[d+2>>1]+(N[(e<<2)+169360>>2]&f>>>8)<<2)+d|0;e=O[d|0];b=b+8|0}f=N[a+172>>2];j=P[d+2>>1];b=(e&255)+b|0;if(b>>>0>=16){b=b^16;N[a+12>>2]=b;d=c>>>16|0;N[a+8>>2]=d;c=N[a+16>>2];e=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=d|e<<16;N[a+8>>2]=c}g=f;f=c>>>b|0;d=g+((f&255)<<2)|0;e=O[d|0];if(e>>>0>=9){d=(P[d+2>>1]+(N[(e<<2)+169360>>2]&f>>>8)<<2)+d|0;e=O[d|0];b=b+8|0}b=b+(e&255)|0;d=P[d+2>>1];e=d<<2;g=P[e+169280>>1];f=O[e+169282|0];l=g;a:{if((d|0)!=25){if(b>>>0>=16){b=b^16;N[a+12>>2]=b;d=c>>>16|0;N[a+8>>2]=d;c=N[a+16>>2];e=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=d|e<<16;N[a+8>>2]=c}N[a+12>>2]=b+f;b=N[(f<<2)+169392>>2]&c>>>b;break a}b:{c:{if(b>>>0<=15){d=c>>>16|0;e=b+16|0;k=c>>>b&65535;i=N[a+20>>2];b=N[a+16>>2];break c}g=b^16;N[a+12>>2]=g;c=c>>>16|0;N[a+8>>2]=c;b=N[a+16>>2];d=O[b|0]|O[b+1|0]<<8;i=N[a+20>>2]-2|0;N[a+20>>2]=i;b=b+2|0;N[a+16>>2]=b;c=c|d<<16;N[a+8>>2]=c;k=c>>>g&65535;e=g+16|0;if(g>>>0>4294967279){break b}}N[a+8>>2]=d;e=e^16;N[a+12>>2]=e;c=O[b|0]|O[b+1|0]<<8;N[a+20>>2]=i-2;N[a+16>>2]=b+2;c=c<<16|d;N[a+8>>2]=c}b=f-16|0;N[a+12>>2]=b+e;b=(N[(b<<2)+169392>>2]&c>>>e)<<16|k}N[a+192>>2]=l+b;d:{e:{switch(j|0){case 1:b=N[a+220>>2]+1|0;break d;case 0:b=N[a+216>>2];break d;default:break e}}b=j-2|0}N[a+216>>2]=N[a+220>>2];b=b-(b>>>0>=h>>>0?h:0)|0;N[a+220>>2]=b;c=N[a+576>>2]+(b<<6)|0;N[a+112>>2]=c;N[a+176>>2]=N[((b>>>3&536870908)+a|0)+592>>2]>>>b&1;N[a+256>>2]=N[N[a+120>>2]+(O[c|0]<<2)>>2];N[a+108>>2]=((O[b+N[a+580>>2]|0]&3)<<9)+169536}}function tk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}i=N[b+12>>2]-2|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=O[a|0]|O[a+1|0]<<8;if(!f){return 1}g=a+2|0;if(g>>>0>e>>>0){break b}g=e-g|0;e=(f<<8|f>>>8)&65535;f=e<<1;if(g>>>0>>0){break b}i=i-f|0;N[b+12>>2]=i;if((i|0)<=0){break b}n=e>>>0<=1?1:e;l=N[c>>2];while(1){j=N[b+4>>2];i=((k<<1)+a|0)+2|0;if(j>>>0>i>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-i>>>0<2){break a}g=N[b+12>>2];d=g-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[i|0]|O[i+1|0]<<8;c:{if(!d){break c}f=((d<<8|d>>>8)&65535)+l|0;d:{if(f>>>0>>0|e>>>0>>0|e-f>>>0<2){break d}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}h=O[f|0]|O[f+1|0]<<8;g=((h<<8|h>>>8)&65535)<<1;if(h){h=f+2|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break d}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break d}}f=(f+g|0)+2|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<2){break d}g=d-2|0;N[b+12>>2]=g;if((d|0)<3){break d}d=O[f|0]|O[f+1|0]<<8;e:{if(!d){d=2;break e}d=((d<<8|d>>>8)&65535)<<1;h=d-2|0;if(!h){d=2;break e}m=f+2|0;if(e>>>0>>0|h>>>0>e-m>>>0){break d}g=g-h|0;N[b+12>>2]=g;if((g|0)<=0){break d}}d=d+f|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break d}f=g-2|0;N[b+12>>2]=f;if((g|0)<3){break d}h=O[d|0]|O[d+1|0]<<8;g=((h<<8|h>>>8)&65535)<<1;if(h){h=d+2|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break d}f=f-g|0;N[b+12>>2]=f;if((f|0)<=0){break d}}d=(d+g|0)+2|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break d}g=f-2|0;N[b+12>>2]=g;if((f|0)<3){break d}f=O[d|0]|O[d+1|0]<<8;if(!f){break c}d=d+2|0;if(d>>>0>e>>>0){break d}d=e-d|0;e=((f<<8|f>>>8)&65535)<<2;if(d>>>0>>0){break d}e=g-e|0;N[b+12>>2]=e;if((e|0)>0){break c}}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[i|0]=0;L[i+1|0]=0;l=N[c>>2]}d=1;k=k+1|0;if((n|0)!=(k|0)){continue}break}}return d}return 0}function th(a){var b=0;b=5;a:{b:{c:{d:{if((a|0)<=1315009121){if((a|0)<=1215655526){if((a|0)<=1130918514){if((a|0)<=1098018152){if((a|0)==1097100397){break b}if((a|0)!=1098015074){break c}break b}if((a|0)==1098018153){break b}if((a|0)!=1098281844){break c}break b}if((a|0)<=1164736876){if((a|0)==1130918515){break b}if((a|0)!=1131442804){break c}break b}if((a|0)==1164736877|(a|0)==1214346354){break b}if((a|0)!=1214603890){break c}break b}if((a|0)<=1298230883){if((a|0)<=1265131889){if((a|0)==1215655527){break a}if((a|0)!=1232363884){break c}break a}if((a|0)==1265131890){break b}if((a|0)!=1283023977){break c}break b}e:{switch(a-1298230884|0){case 0:case 5:break b;case 1:case 2:case 3:case 4:break c;default:break e}}switch(a-1298494051|0){case 0:case 12:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;default:break d}}if((a|0)<=1349678184){if((a|0)<=1348562028){if((a|0)<=1315663726){if((a|0)==1315009122){break b}if((a|0)!=1315070324){break c}break b}if((a|0)==1315663727|(a|0)==1332898664){break b}if((a|0)!=1333094258){break c}break b}f:{switch(a-1349020777|0){case 0:case 7:break b;case 1:case 2:case 3:case 4:case 5:case 6:break c;default:break f}}if((a|0)==1348562029){break b}if((a|0)!=1349021304){break c}break b}if((a|0)<=1399809891){if((a|0)<=1383427697){if((a|0)==1349678185){break b}if((a|0)!=1383032935){break c}break b}if((a|0)==1383427698){break a}if((a|0)==1398893938){break b}if((a|0)!=1398895202){break c}break b}if((a|0)<=1416126816){g:{switch(a-1399809892|0){case 0:case 11:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break g}}if((a|0)!=1400468067){break c}break b}if((a|0)==1416126817){break b}if((a|0)!=1499822697){break c}break b}if((a|0)==1298493028){break b}}b=4}return b}return 0}function Dq(a){a=a|0;var b=0,c=0,d=0,e=0;d=N[a+88>>2];a:{b:{c:{c=N[a+84>>2];if((c|0)>=0){b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break b}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){e=$a(N[a+92>>2],T(c,28));d=N[a+88>>2];if(e){break c}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=c;N[a+92>>2]=e}if(b>>>0>d>>>0){G(N[a+92>>2]+T(d,28)|0,0,T(b-d|0,28))}N[a+88>>2]=b;d=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=d;N[b>>2]=1818914159;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];d:{e:{f:{c=N[a+84>>2];if((c|0)>=0){b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break e}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){e=$a(N[a+92>>2],T(c,28));d=N[a+88>>2];if(e){break f}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=c;N[a+92>>2]=e}if(b>>>0>d>>>0){G(N[a+92>>2]+T(d,28)|0,0,T(b-d|0,28))}N[a+88>>2]=b;d=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=d;N[b>>2]=1986686319;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d=N[a+88>>2];g:{h:{i:{c=N[a+84>>2];if((c|0)>=0){b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break h}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){e=$a(N[a+92>>2],T(c,28));d=N[a+88>>2];if(e){break i}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=c;N[a+92>>2]=e}if(b>>>0>d>>>0){G(N[a+92>>2]+T(d,28)|0,0,T(b-d|0,28))}N[a+88>>2]=b;d=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=d;N[b>>2]=1953131887;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function wl(a,b,c,d,e){var f=0,g=0,h=0,i=0;i=N[a+24>>2];f=N[a+36>>2];if(!(f|N[a+68>>2]?(f|0)!=1:0)){a:{if(!N[a+4>>2]){break a}b:{if((c|0)!=-1){break b}c=0;if(!N[b>>2]){break b}f=b;while(1){c=c+1|0;h=N[f+4>>2];f=f+4|0;if(h){continue}break}}h=(e|0)==-1?c-d|0:e;if(h>>>0>268435455){break a}f=N[a+68>>2];e=h+f|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break a}f=N[a+68>>2]}c:{if(f|!d){break c}N[a+132>>2]=0;if((d|0)<=0){break c}e=(d<<2)+b|0;g=e-4|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+92>>2]=f;N[a+132>>2]=1;if(b>>>0>=g>>>0){break c}g=e-8|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=2;N[a+96>>2]=f;if(b>>>0>=g>>>0){break c}g=e-12|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=3;N[a+100>>2]=f;if(b>>>0>=g>>>0){break c}g=e-16|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=4;N[a+104>>2]=f;if(b>>>0>=g>>>0){break c}f=N[e-20>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=5;N[a+108>>2]=f}f=(d<<2)+b|0;if((h|0)>0){g=(h<<2)+f|0;while(1){d=N[f>>2];if(!(d>>>0<55296|d-1114112>>>0>4293910527)){d=i}e=N[a+68>>2];h=e+1|0;d:{if(!(!h|h>>>0>2])){if(!gb(a,h)){break d}e=N[a+68>>2]}e=N[a+80>>2]+T(e,20)|0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;N[e>>2]=d;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;L[e+16|0]=0;L[e+17|0]=0;L[e+18|0]=0;L[e+19|0]=0;N[e+8>>2]=f-b>>2;N[e+4>>2]=0;N[a+68>>2]=N[a+68>>2]+1}f=f+4|0;if(g>>>0>f>>>0){continue}break}}e=0;N[a+136>>2]=0;b=(c<<2)+b|0;e:{if(b>>>0<=f>>>0){break e}while(1){d=N[f>>2];if(!(d>>>0<55296|d-1114112>>>0>4293910527)){d=i}N[a+136>>2]=e+1;N[((e<<2)+a|0)+112>>2]=d;f=f+4|0;if(b>>>0<=f>>>0){break e}e=N[a+136>>2];if(e>>>0<=4){continue}break}}N[a+36>>2]=1}return}ba(24107,14165,530,16333);F()}function Xs(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-16|0;La=j;k=N[a+552>>2];a:{b:{c:{l=P[(b?a+296|0:a+216|0)+34>>1];if(!l){break c}f=N[(b?856:852)+a>>2];m=f+N[(b?756:752)+a>>2]|0;g=N[a+104>>2];if(c>>>0>>0){h=f+(c<<2)|0;if(h+4>>>0>m>>>0){break c}f=N[g+20>>2];d:{if(f){if(Qa[f|0](g,h,0,0)|0){break c}f=N[g+4>>2];break d}f=N[g+4>>2];if(f>>>0>>0){break c}}N[g+8>>2]=h;if(h+1>>>0>=f>>>0){break c}e:{f:{i=N[g+20>>2];g:{if(i){f=j+12|0;if((Qa[i|0](g,h,f,2)|0)!=2){break c}h=N[g+8>>2];break g}f=N[g>>2];if(!f){break f}f=f+h|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break e}f=0}i=h+2|0;N[g+8>>2]=i;M[e>>1]=f;if(Q[g+4>>2]<=h+3>>>0){break c}h:{i:{h=N[g+20>>2];j:{if(h){f=j+12|0;if((Qa[h|0](g,i,f,2)|0)!=2){break c}i=N[g+8>>2];break j}f=N[g>>2];if(!f){break i}f=f+i|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break h}f=0}N[g+8>>2]=i+2;M[d>>1]=f;break a}f=f+(l<<2)|0;n=f-2|0;if(n>>>0>m>>>0){break c}i=f-4|0;f=N[g+20>>2];k:{if(f){if(Qa[f|0](g,i,0,0)|0){break c}h=N[g+4>>2];break k}h=N[g+4>>2];if(i>>>0>h>>>0){break c}}N[g+8>>2]=i;if(i+1>>>0>=h>>>0){break c}l:{m:{h=N[g+20>>2];n:{if(h){f=j+12|0;if((Qa[h|0](g,i,f,2)|0)!=2){break c}n=N[g+8>>2]+2|0;break n}f=N[g>>2];if(!f){break m}f=f+i|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break l}f=0}N[g+8>>2]=n;M[e>>1]=f;f=i+(c-l<<1)|0;if(f+6>>>0>m>>>0){M[d>>1]=0;break a}f=f+4|0;h=N[g+20>>2];o:{if(h){if(Qa[h|0](g,f,0,0)|0){break o}break b}if(f>>>0<=Q[g+4>>2]){break b}}M[d>>1]=0;break a}M[d>>1]=0;M[e>>1]=0;break a}N[g+8>>2]=f;o=d,p=xb(g,j+12|0),M[o>>1]=p}if(k){N[j+8>>2]=P[e>>1];h=M[d>>1];N[j+4>>2]=h;p:{q:{if(b){b=N[k+12>>2];if(b){Qa[b|0](a,c,j+8|0)|0}b=N[k+16>>2];if(b){break q}break p}b=N[k>>2];if(b){Qa[b|0](a,c,j+8|0)|0}b=N[k+4>>2];if(!b){break p}}Qa[b|0](a,c,j+4|0)|0;h=N[j+4>>2]}M[e>>1]=N[j+8>>2];M[d>>1]=h}La=j+16|0}function Bp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a=rf(b,c);a:{if(a){break a}e=N[b+2740>>2];if(!(e&1)){a=Ap(b,0);if(a){break a}zp(b,d,0);e=N[b+2740>>2]}if(!(e&2)){a=Ap(b,1);if(a){break a}zp(b,d,1);e=N[b+2740>>2]}if(!(e&1)){yp(b,0);a=N[b+56>>2];b:{if((a|0)<=0){break b}e=N[b- -64>>2];j=e+T(a,44)|0;if(!(L[b+2744|0]&1)){while(1){h=N[e+8>>2]-N[e+4>>2]|0;g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+16>>2]=h+N[f+16>>2];M[f>>1]=P[f>>1]|4;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break b}}while(1){h=N[e+8>>2];g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+16>>2]=h;M[f>>1]=P[f>>1]|4;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break}}Gg(b,0);Fg(b,0);e=N[b+2740>>2]}if(!(e&2)){yp(b,1);a=N[b+1404>>2];c:{if((a|0)<=0){break c}e=N[b+1412>>2];j=e+T(a,44)|0;if(!(O[b+2744|0]&2)){while(1){h=N[e+8>>2]-N[e+4>>2]|0;g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+20>>2]=h+N[f+20>>2];M[f>>1]=P[f>>1]|8;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break c}}while(1){h=N[e+8>>2];g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+20>>2]=h;M[f>>1]=P[f>>1]|8;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break}}Gg(b,1);Fg(b,1)}a=N[b+24>>2];if((a|0)<=0){return 0}e=N[b+28>>2];f=e+T(a,40)|0;d=N[c+4>>2];b=N[c+8>>2];while(1){N[d>>2]=N[e+16>>2];N[d+4>>2]=N[e+20>>2];a=0;c=P[e>>1];L[b|0]=c&1?0:c&2?2:1;b=b+1|0;d=d+8|0;e=e+40|0;if(f>>>0>e>>>0){continue}break}}return a|0}function jB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La+-64|0;La=h;i=N[a+8>>2];e=18;a:{b:{c:{if(N[b+72>>2]!=N[a+16>>2]){break c}e=19;if((c|0)!=5){break b}g=N[b+156>>2];f=N[g+4>>2];if(f&1){c=N[b+88>>2];if(c){Qa[N[i+8>>2]](i,c);g=N[b+156>>2];f=N[g+4>>2]}N[b+88>>2]=0;N[g+4>>2]=f&-2}g=0;e=98;f=0;if(ig(b,0,d)){break b}c=0;d:{l=b+76|0;e=N[l>>2];if(!(!e|!N[b+84>>2])){k=N[a+64>>2];L[b+94|0]=2;M[b+92>>1]=255;f=e;e=k<<1;f=f+e|0;N[b+76>>2]=f;j=e+N[b+80>>2]|0;N[b+80>>2]=j;N[b+84>>2]=j;if((f|j)<0){e=6;break d}e=0;e:{f:{if(!(!j|!f)){e=10;if((f|0)>(2147483647/(j>>>0)|0)){break d}g=T(f,j);e=Qa[N[i+4>>2]](i,g)|0;if(!e|(f|0)<=0){break f}G(e,0,g)}N[b+88>>2]=e;break e}N[b+88>>2]=e;if(e){break e}e=!e<<6;g=0;break c}e=N[b+156>>2];N[e+4>>2]=N[e+4>>2]|1;e=N[b+104>>2]+k|0;N[b+104>>2]=e;f=N[b+100>>2]-k|0;N[b+100>>2]=f;g=N[b+76>>2]-e<<6;f=0-(f<<6)|0;if(d){f=N[d>>2]+f|0;g=N[d+4>>2]+g|0}d=b+108|0;if(f|g){se(d,f,g)}N[h+16>>2]=8;N[h+12>>2]=d;N[h+8>>2]=l;N[h+56>>2]=N[a+64>>2];L[h+60|0]=O[a+68|0];L[h+61|0]=O[a+69|0];L[h+62|0]=O[a+70|0];e=Qa[N[a+56>>2]](N[a+52>>2],h+8|0)|0;if(e){break b}}N[b+72>>2]=1651078259;break a}N[b+88>>2]=0}f=0}a=N[b+156>>2];c=N[a+4>>2];if(c&1){d=N[b+88>>2];if(d){Qa[N[i+8>>2]](i,d);a=N[b+156>>2];c=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=c&-2}c=e}g:{if(!(f|g)){break g}d=M[b+110>>1];if((d|0)<=0){break g}b=N[b+112>>2];if(d>>>0>=4){e=d&-4;a=0;while(1){N[b>>2]=N[b>>2]-f;N[b+4>>2]=N[b+4>>2]-g;N[b+8>>2]=N[b+8>>2]-f;N[b+16>>2]=N[b+16>>2]-f;N[b+24>>2]=N[b+24>>2]-f;N[b+12>>2]=N[b+12>>2]-g;N[b+20>>2]=N[b+20>>2]-g;N[b+28>>2]=N[b+28>>2]-g;b=b+32|0;a=a+4|0;if((e|0)!=(a|0)){continue}break}}d=d&3;if(!d){break g}a=0;while(1){N[b>>2]=N[b>>2]-f;N[b+4>>2]=N[b+4>>2]-g;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}La=h- -64|0;return c|0}function mf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=La-528|0;La=h;N[h+16>>2]=N[a+60>>2];N[h+20>>2]=N[a+64>>2];N[h+12>>2]=c;N[h+8>>2]=b;N[h+4>>2]=e;N[h>>2]=d;c=h;a:{while(1){l=N[c>>2];i=N[c+4>>2];f=N[c+20>>2];b=(i|0)>(f|0);j=N[c+12>>2];b:{if(!((j|0)>=((b?f:i)|0)&(j|0)<=(((f|0)>(i|0)?f:i)|0))){b=N[c+16>>2];N[c+32>>2]=b;N[c+36>>2]=f;d=f+j|0;N[c+28>>2]=d>>1;e=i+j|0;N[c+12>>2]=e>>1;f=N[c+8>>2];j=f+l|0;N[c+8>>2]=j>>1;b=b+f|0;N[c+24>>2]=b>>1;N[c+20>>2]=d+e>>2;N[c+16>>2]=b+j>>2;c=c+16|0;break b}c:{if((f|0)==(i|0)){break c}m=b?1:2;g=N[a+92>>2];if((m|0)!=(g|0)){b=N[a+4>>2];n=(f|0)>=(i|0);e=n?f&b-1:((b+f|0)-1&0-b)-f|0;d=N[a+36>>2];k=N[a+8>>2];d:{if(!g){b=d;break d}g=N[a+80>>2];b=N[g+8>>2];o=d-b|0;if((o|0)<0){N[a+40>>2]=99;a=1;break a}e:{if((b|0)==(d|0)){b=d;break e}N[g+16>>2]=o>>2;if((e|0)>=(k|0)){b=P[g+12>>1];M[g+12>>1]=(b&8?16:32)|b}N[a+80>>2]=d;b=d+32|0;N[a+36>>2]=b;N[d+8>>2]=b;N[d+16>>2]=0;N[g+28>>2]=d;M[a+76>>1]=P[a+76>>1]+1}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}L[a+79|0]=0}if(!N[a+84>>2]){N[a+84>>2]=b;N[a+80>>2]=b;b=b+32|0;N[a+36>>2]=b}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}d=N[a+80>>2];N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=b;N[d+28>>2]=0;N[d+4>>2]=0;b=O[a+48|0];M[d+12>>1]=b;f:{g:{if(!n){M[d+12>>1]=b|8;g=40;if((e|0)>=(k|0)){break g}break f}g=16;if((e|0)<(k|0)){break f}}M[d+12>>1]=b|g}if(!N[a+88>>2]){N[a+88>>2]=d}M[a+78>>1]=1;N[a+92>>2]=m}b=N[a+72>>2];d=N[a+68>>2];if((f|0)<(i|0)){if(!xg(a,2,c,355,d,b)){break c}a=1;break a}N[c+20>>2]=0-f;N[c+12>>2]=0-j;N[c+4>>2]=0-i;e=O[a+78|0];b=xg(a,2,c,355,0-b|0,0-d|0);if(!(O[a+78|0]|!e)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}N[c+4>>2]=0-N[c+4>>2];if(!b){break c}a=1;break a}c=c-16|0}if(h>>>0<=c>>>0){continue}break}N[a+64>>2]=i;N[a+60>>2]=l;a=0}La=h+528|0;return a}function Ii(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;f=La+-64|0;La=f;v=N[b+20>>2];w=N[b+16>>2];x=N[b+12>>2];p=N[b+4>>2];i=x-p|0;u=i>>31;y=N[b+28>>2];g=y-p|0;n=g>>31;c=TE(i,u,g,n);j=Pa;z=N[b+8>>2];q=N[b>>2];k=z-q|0;A=N[b+24>>2];e=A-q|0;l=e;r=k>>31;o=e>>31;d=TE(k,r,e,o);h=d+c|0;c=Pa+j|0;c=d>>>0>h>>>0?c+1|0:c;a:{b:{j=N[a>>2];e=e>>31;e=(l^e)-e|0;d=g>>31;d=(d^g)-d|0;e=TE(j,j>>31,e>>>0>d>>>0?e:d,0);C=0-e|0;j=Pa;B=0-(j+((e|0)!=0)|0)|0;d=B;if(C>>>0>h>>>0&(d|0)>=(c|0)|(c|0)<(d|0)){break b}m=h;h=c;c=TE(g,n,g,n);s=Pa;t=TE(l,o,l,o);d=t+c|0;c=Pa+s|0;c=(d>>>0>>0?c+1|0:c)+j|0;s=d;d=e+d|0;c=s>>>0>d>>>0?c+1|0:c;s=d;m=d>>>0>>0;d=c;if(m&(c|0)<=(h|0)|(c|0)<(h|0)){break b}c=TE(i,u,l,o);h=Pa;i=TE(g,n,k,r);k=c-i|0;c=h-(Pa+(c>>>0>>0)|0)|0;m=c;c=c>>31;i=c^k;h=e>>>0>>0;c=(c^m)-((c>>>0>i>>>0)+c|0)|0;if(h&(j|0)<=(c|0)|(c|0)>(j|0)){break b}c=v-p|0;h=c;m=c>>31;k=TE(c,m,g,n);u=Pa;c=w-q|0;i=c;r=c>>31;t=TE(c,r,l,o);k=t+k|0;c=Pa+u|0;c=k>>>0>>0?c+1|0:c;if(k>>>0>>0&(B|0)>=(c|0)|(c|0)<(B|0)|(k>>>0>s>>>0&(c|0)>=(d|0)|(c|0)>(d|0))){break b}c=TE(h,m,l,o);l=Pa;g=TE(g,n,i,r);h=c-g|0;c=l-(Pa+(c>>>0>>0)|0)|0;i=c;c=c>>31;l=c^h;d=e>>>0>>0;c=(c^i)-((c>>>0>l>>>0)+c|0)|0;if(d&(j|0)<=(c|0)|(c|0)>(j|0)){break b}b=Hi(a,q,p,A,y);break a}c=v+y|0;N[f+44>>2]=c>>1;d=c;c=(v+x|0)+2|0;e=d+c|0;N[f+36>>2]=e>>2;d=c;c=p+x|0;g=d+c|0;N[f+20>>2]=g>>2;N[f+28>>2]=(e+g|0)-1>>3;e=w+A|0;N[f+40>>2]=e>>1;N[f+12>>2]=c>>1;c=q+z|0;N[f+8>>2]=c>>1;d=e;e=(w+z|0)+2|0;g=d+e|0;N[f+32>>2]=g>>2;c=c+e|0;N[f+16>>2]=c>>2;N[f+24>>2]=(c+g|0)-1>>3;c=N[b+4>>2];N[f>>2]=N[b>>2];N[f+4>>2]=c;c=N[b+28>>2];N[f+48>>2]=N[b+24>>2];N[f+52>>2]=c;b=0;if(!Ii(a,f)){break a}b=Ii(a,f+24|0)}La=f- -64|0;return b}function Ic(){var a=0,b=0,c=0;a:{b=N[147449];b:{if(b){break b}while(1){a=588072;b=db(1,112);if(b){N[b>>2]=1;N[b+4>>2]=1;if(N[147019]){N[147019]=0}a=N[147018];if(a){if((a|0)<=0){break a}N[147018]=a+1}N[b+12>>2]=588072;a=N[147023];N[b+16>>2]=N[147022];N[b+20>>2]=a;a=N[147025];N[b+24>>2]=N[147024];N[b+28>>2]=a;a=N[147027];N[b+32>>2]=N[147026];N[b+36>>2]=a;a=N[147029];N[b+40>>2]=N[147028];N[b+44>>2]=a;a=N[147031];N[b+48>>2]=N[147030];N[b+52>>2]=a;a=N[147033];N[b+56>>2]=N[147032];N[b+60>>2]=a;a=N[147035];c=b- -64|0;N[c>>2]=N[147034];N[c+4>>2]=a;a=N[147037];N[b+72>>2]=N[147036];N[b+76>>2]=a;a=b}c:{if(!N[a+4>>2]){break c}b=N[a+80>>2];d:{if(!b){N[a+80>>2]=0;N[a+48>>2]=0;N[a+16>>2]=193;break d}Qa[b|0](N[a+48>>2]);N[a+80>>2]=0;N[a+48>>2]=0;N[a+16>>2]=193;if(!N[a+4>>2]){break c}}b=N[a+88>>2];e:{if(!b){N[a+88>>2]=0;N[a+56>>2]=0;N[a+24>>2]=194;break e}Qa[b|0](N[a+56>>2]);N[a+88>>2]=0;N[a+56>>2]=0;N[a+24>>2]=194;if(!N[a+4>>2]){break c}}b=N[a+92>>2];f:{if(!b){N[a+92>>2]=0;N[a+60>>2]=0;N[a+28>>2]=195;break f}Qa[b|0](N[a+60>>2]);N[a+92>>2]=0;N[a+60>>2]=0;N[a+28>>2]=195;if(!N[a+4>>2]){break c}}c=N[a+96>>2];g:{if(!c){N[a+96>>2]=0;N[a- -64>>2]=0;N[a+32>>2]=196;break g}b=a- -64|0;Qa[c|0](N[b>>2]);N[a+96>>2]=0;N[b>>2]=0;N[a+32>>2]=196;if(!N[a+4>>2]){break c}}b=N[a+100>>2];h:{if(!b){N[a+100>>2]=0;N[a+68>>2]=0;N[a+36>>2]=197;break h}Qa[b|0](N[a+68>>2]);N[a+100>>2]=0;N[a+68>>2]=0;N[a+36>>2]=197;if(!N[a+4>>2]){break c}}b=N[a+104>>2];i:{if(!b){N[a+104>>2]=0;N[a+72>>2]=0;N[a+40>>2]=198;break i}Qa[b|0](N[a+72>>2]);N[a+104>>2]=0;N[a+72>>2]=0;N[a+40>>2]=198;if(!N[a+4>>2]){break c}}N[a+4>>2]=0}b=N[147449];if(!b){N[147449]=a;return a}if((a|0)==588072){break b}We(a);b=N[147449];if(!b){continue}break}}return b}ba(23506,14099,260,16403);F()}function ql(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!b){break i}c=N[b>>2];if(!c){break i}if((c|0)<=0){break h}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;f=N[b+16>>2];N[a+8>>2]=f+d;if((f|0)<0){break g}N[a+28>>2]=0;if(f>>>0>67108863){e=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;e=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=e;N[a+20>>2]=0;N[a>>2]=0;c=b;if(!d){break a}if(f>>>0<12){break e}N[a+12>>2]=e-12;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))){break e}if(rh(d+8|0,a,d)){break f}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(c);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break e}while(1){L[a+24|0]=1;c=N[a+32>>2];d=N[c+12>>2];N[a+4>>2]=d;f=N[c+16>>2];N[a+8>>2]=f+d;if((f|0)<0){break g}N[a+28>>2]=0;if(f>>>0>67108863){e=1073741823}else{e=f<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[a+12>>2]=e;N[a+20>>2]=0;N[a>>2]=0;if(!d){break a}if(f>>>0<12){break e}N[a+12>>2]=e-12;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))){break e}if(rh(d+8|0,a,d)){break f}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}break e}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!N[a+28>>2]){break d}N[a+28>>2]=0;if(Q[a+4>>2]>d>>>0){break e}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<12){break e}c=N[a+12>>2]-12|0;N[a+12>>2]=c;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))|(c|0)<=0){break e}c=rh(d+8|0,a,d);if(N[a+28>>2]){break e}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(c){break c}break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(b);return 275552}ab(c);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function Fx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;f=N[a+4>>2]&2147418112;a:{b:{if(d&16){if(f|O[a+9|0]&128){f=7;if(!(O[a+740|0]&16)){break a}}if(!c){break b}c:{if(O[a+292|0]){d=0;f=1;break c}h=c&7;if(P[a+372>>1]==65535){b=M[a+220>>1]-M[a+222>>1]|0;a=b>>31;a=(a^b)-a&65535;f=0;b=0;if(c>>>0>=8){d=c&-8;while(1){c=b<<2;N[c+e>>2]=a;N[(c|4)+e>>2]=a;N[(c|8)+e>>2]=a;N[(c|12)+e>>2]=a;N[(c|16)+e>>2]=a;N[(c|20)+e>>2]=a;N[(c|24)+e>>2]=a;N[(c|28)+e>>2]=a;b=b+8|0;if((d|0)!=(b|0)){continue}break}}if(!h){break a}d=0;while(1){N[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break a}b=M[a+442>>1]-M[a+444>>1]|0;a=b>>31;a=(a^b)-a&65535;f=0;b=0;if(c>>>0>=8){d=c&-8;while(1){c=b<<2;N[c+e>>2]=a;N[(c|4)+e>>2]=a;N[(c|8)+e>>2]=a;N[(c|12)+e>>2]=a;N[(c|16)+e>>2]=a;N[(c|20)+e>>2]=a;N[(c|24)+e>>2]=a;N[(c|28)+e>>2]=a;b=b+8|0;if((d|0)!=(b|0)){continue}break}}if(!h){break a}d=0;while(1){N[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break a}while(1){h=(d<<2)+e|0;d:{if(f){Qa[N[N[a+540>>2]+156>>2]](a,1,b+d|0,g+14|0,g+12|0);f=P[g+12>>1];break d}if(P[a+372>>1]!=65535){i=M[a+442>>1]-M[a+444>>1]|0;f=i>>31;f=(f^i)-f|0;break d}i=M[a+220>>1]-M[a+222>>1]|0;f=i>>31;f=(f^i)-f|0}N[h>>2]=f&65535;d=d+1|0;if((d|0)==(c|0)){break b}f=O[a+292|0];continue}}if(f|O[a+9|0]&128){f=7;if(!(O[a+740|0]&2)){break a}}if(!c){break b}d=0;if((c|0)!=1){h=c&1;c=c&-2;while(1){f=g+10|0;i=g+8|0;Qa[N[N[a+540>>2]+156>>2]](a,0,b+d|0,f,i);N[(d<<2)+e>>2]=P[g+8>>1];j=d|1;Qa[N[N[a+540>>2]+156>>2]](a,0,j+b|0,f,i);N[(j<<2)+e>>2]=P[g+8>>1];d=d+2|0;if((c|0)!=(d|0)){continue}break}f=0;if(!h){break a}}Qa[N[N[a+540>>2]+156>>2]](a,0,b+d|0,g+10|0,g+8|0);N[(d<<2)+e>>2]=P[g+8>>1]}f=0}La=g+16|0;return f|0}function xe(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=La-48|0;La=c;a:{if(!a){f=b;break a}if(P[a+8>>1]!=3){f=b;break a}b:{a=N[a+4>>2];if((a|0)<=1936353650){if((a|0)==1651074869|(a|0)==1734484e3|(a|0)==1785686113){break b}f=b;break a}if((a|0)==1936353651|(a|0)==2002873971){break b}if((a|0)!=1937337698){f=b;break a}f=b|61440;break a}c:{d:{if((a|0)<=1785686112){if((a|0)==1651074869){break d}if((a|0)!=1734484e3){break a}N[c+40>>2]=N[110089];a=N[110088];N[c+32>>2]=N[110087];N[c+36>>2]=a;a=N[110086];N[c+24>>2]=N[110085];N[c+28>>2]=a;e=c+24|0;a=21546;break c}if((a|0)!=1785686113){if((a|0)!=2002873971){if((a|0)!=1936353651){break a}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=19507;e=c+24|0;a=21661;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=19597;e=c+24|0;a=21361;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=20468;e=c+24|0;a=21746;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=21552;e=c+24|0;a=21943}while(1){e:{f:{a=li(a);g:{if((a|0)==-1){break g}d=li(20334);if((d|0)==-1){break g}if(O[a+441616|0]<216){break f}}N[147316]=28;a=-1;break e}g=a<<1|d<<16|1;a=O[d+441616|0]-202|0;if(!(a>>>0>8|!(1<>2]=0;N[d>>2]=g;a=d;break e}a=g}if((a|0)==-1){a=N[e+4>>2];e=e+4|0;if(a){continue}break a}break}L[c+20|0]=b;L[c+21|0]=b>>>8;L[c+22|0]=b>>>16;L[c+23|0]=b>>>24;N[c+12>>2]=4;N[c+8>>2]=2;N[c+4>>2]=c+20;g=c+18|0;N[c>>2]=g;h:{if(xo(a,c+4|0,c+12|0,c,c+8|0)){break h}d=N[c+8>>2];if((d|0)==2){break h}b=0;e=0;if(d+1>>>0>=3){e=-2-d|0;h=e&-4;f=g+h|0;f=(O[f|0]<<16|O[f+1|0]<<8|O[f+2|0])<<8|O[g+(e|3)|0];e=h+4|0}d=2-d&3;if(!d){break h}while(1){f=O[(c+18|0)+e|0]|f<<8;e=e+1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}if(!(a&1)){_a(a)}}La=c+48|0;return f}function Wf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(d){N[d>>2]=0}g=4;a:{while(1){f=i;i=j;b:{while(1){c:{if(!g){break c}b=b+1|0;if(b>>>0>2]){break c}e=0;break a}e=4-g|0;l=O[b|0];h=l>>>g&15;if((h|0)==14){o=1;g=e;j=i;continue}if(h>>>0>9){break b}if((f|0)>=214748364){i=i+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}m=m+1|0;i=T(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){k=(f|0)<214748364&(n|0)<9;while(1){if(e){b=b+1|0;if(b>>>0>=Q[a+8>>2]){e=0;break a}l=O[b|0]}j=4-e|0;h=l>>>e&15;if(h>>>0>9){e=j;break d}if(!(f|h)){i=i-1|0;f=0;e=j;continue e}e=j;if(!k){continue}break}n=n+1|0;f=T(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){j=0;while(1){if(e){b=b+1|0;if(b>>>0>=Q[a+8>>2]){e=0;break a}l=O[b|0]}k=l>>>e&15;if(k>>>0<=9){p=k+T(g,10)|0;k=(g|0)>1e3;g=k?g:p;j=k?1:j;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(j){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+i|0)+e|0;if(d){a=a+m|0;b=m+n|0;if((b|0)<=5){if((f|0)>=32768){e=fb(f,10);N[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<=0){break j}c=(a|0)>=5?5:a;e=c-b|0;if((e|0)<=0){break j}a=a-c|0;f=T(N[(e<<2)+33472>>2],f);if((f|0)<32768){break i}f=(f>>>0)/10|0;a=a+1|0;break i}a=a-b|0}N[d>>2]=a;e=f<<16;break a}b=b<<2;c=N[b+33452>>2];if(((f|0)/(c|0)|0)>=32768){e=fb(f,N[b+33456>>2]);N[d>>2]=a-4;break a}e=fb(f,c);N[d>>2]=a-5;break a}e=2147483647;b=a+m|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>=0){a=n-a|0}else{f=(f|0)/N[33472-(b<<2)>>2]|0;a=m+n|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>0){e=0;a=N[(a<<2)+33472>>2];if(((b|0)/(a|0)|0)>32767){break a}e=fb(b,a);break a}a=T(b,N[33472-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return o?0-e|0:e}function ZD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a=N[b>>2];f=N[a+12>>2];a:{if(f){break a}while(1){b=N[a>>2];if(!b){f=275552;break a}f=db(1,48);if(!f){f=275552;N[a+12>>2]=275552;break a}f=hj(f,b);if(!N[a+12>>2]){N[a+12>>2]=f;break a}ab(N[f+44>>2]);_a(f);f=N[a+12>>2];if(!f){continue}break}}g=275552;b=N[f+4>>2];h=b?b:275552;b=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=275552;b:{if((b|0)<=0){break b}k=h+10|0;a=b-1|0;b=0;c:{while(1){j=a+b>>>1|0;i=k+T(j,11)|0;i=O[i+1|0]<<8|O[i|0]<<16|O[i+2|0];d:{if(i>>>0>d>>>0){a=j-1|0;break d}if((d|0)==(i|0)){break c}b=j+1|0}if((a|0)>=(b|0)){continue}break}a=275552;break b}a=k+T(j,11)|0}d=a;a=O[d+3|0]|O[d+4|0]<<8|(O[d+5|0]<<16|O[d+6|0]<<24);if(a){g=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}e:{a=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((a|0)>0){k=g+4|0;a=a-1|0;b=0;while(1){j=a+b>>>1|0;g=k+(j<<2)|0;i=O[g+1|0]<<8|O[g|0]<<16|O[g+2|0];f:{if(i>>>0>c>>>0){a=j-1|0;break f}if(i+O[g+3|0]>>>0>=c>>>0){break e}b=j+1|0}if((a|0)>=(b|0)){continue}break}}f=275552;a=275552;b=O[d+7|0]|O[d+8|0]<<8|(O[d+9|0]<<16|O[d+10|0]<<24);if(b){a=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+h|0}b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g:{if((b|0)<=0){break g}g=a+4|0;a=b-1|0;b=0;while(1){h:{d=a+b>>>1|0;h=g+T(d,5)|0;h=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];i:{if(h>>>0>c>>>0){a=d-1|0;break i}if((c|0)==(h|0)){break h}b=d+1|0}if((a|0)>=(b|0)){continue}break g}break}f=g+T(d,5)|0}a=O[f+3|0]|O[f+4|0]<<8;if(!a){return 0}N[e>>2]=(a<<8|a>>>8)&65535;return 1}a=N[f+8>>2];if(!a){return 0}return Qa[a|0](N[f+12>>2],c,e)|0}function zE(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;N[a+672>>2]=0;N[a+676>>2]=0;e=a+668|0;a:{k=N[a+384>>2];g=N[a+660>>2];b=b*1e3;b:{if(V(b)<2147483648){f=~~b;break b}f=-2147483648}g=No(k,g,f,f>>31,e);if(!(!g|!(N[e>>2]|c))){if(O[a+388|0]){b=+ma();c:{if(V(b)<2147483648){c=~~b;break c}c=-2147483648}N[a+676>>2]=c}e=g;while(1){c=N[e>>2];d:{if(!c){break d}f=N[e+4>>2];if(!f){break d}d=((T(c,f)<<2)+d|0)+24|0}e=N[e+28>>2];if(e){continue}break}e:{f:{c=N[a+8>>2];if(c>>>0>>0){break f}g:{if(!(+(c>>>0)>=+(d>>>0)*1.3)){N[a+4>>2]=0;break g}c=N[a+4>>2]+1|0;N[a+4>>2]=c;if(c>>>0>9){break f}}G(N[a>>2],0,d);i=N[a>>2];break e}_a(N[a>>2]);i=db(1,d);N[a>>2]=i;N[a+4>>2]=0;N[a+8>>2]=i?d:0}if(!i){break a}m=N[a+672>>2];while(1){j=N[g>>2];h:{if(!j){break h}l=N[g+4>>2];if(!l){break h}c=N[g+16>>2];b=+(((c^-1)&255)>>>0)/255;if(b==0){break h}n=c<<8&16711680|c>>>8&65280|c>>>24;r=j&-2;s=j&1;c=N[g+12>>2];t=N[g+8>>2];o=0;f=0;while(1){e=0;d=0;i:{if((j|0)!=1){while(1){d=O[c+e|0];if(d){k=(f<<2)+i|0;h=b*+(d>>>0);j:{if(h<4294967296&h>=0){d=~~h>>>0;break j}d=0}N[k>>2]=d<<24|n}d=O[(e|1)+c|0];if(d){k=(f<<2)+i|0;h=b*+(d>>>0);k:{if(h<4294967296&h>=0){d=~~h>>>0;break k}d=0}N[k+4>>2]=d<<24|n}f=f+2|0;e=e+2|0;if((r|0)!=(e|0)){continue}break}d=e;if(!s){break i}}e=O[c+d|0];if(e){d=(f<<2)+i|0;h=b*+(e>>>0);l:{if(h<4294967296&h>=0){e=~~h>>>0;break l}e=0}N[d>>2]=e<<24|n}f=f+1|0}c=c+t|0;o=o+1|0;if((o|0)!=(l|0)){continue}break}c=(T(j,l)<<2)+i|0;N[c+12>>2]=l;N[c+8>>2]=j;N[c>>2]=N[g+20>>2];f=N[g+24>>2];N[c+20>>2]=0;N[c+16>>2]=i;N[c+4>>2]=f;f=c;if(p){N[p+20>>2]=c;f=q}m=m+1|0;N[a+672>>2]=m;i=c+24|0;p=c;q=f}g=N[g+28>>2];if(g){continue}break}}return q|0}ud(25038,45,1,588952);return 0}function rb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!b){return 6}if(!a){return 40}d=N[a+32>>2];while(1){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{g=O[b|0];switch(g-4|0){case 18:case 19:break h;case 16:case 17:break i;case 14:case 15:break j;case 12:case 13:break k;case 10:case 11:break l;case 8:case 9:break m;case 20:case 21:break n;case 0:break o;case 4:case 5:break f;default:break g}}e=N[a+4>>2];g=P[b+2>>1];h=N[a+20>>2];if(h){if(e>>>0>>0){f=85;break c}e=N[a+28>>2];f=0;d=0;if(g){d=Qa[N[e+4>>2]](e,g)|0;if(!d){break d}h=N[a+20>>2]}N[a>>2]=d;h=Qa[h|0](a,N[a+8>>2],d,g)|0;d=N[a>>2];if(g>>>0>h>>>0){if(d){Qa[N[e+8>>2]](e,d)}N[a>>2]=0;f=85;d=0}N[a+32>>2]=d;N[a+36>>2]=d?d+g|0:0;N[a+8>>2]=h+N[a+8>>2];e=1;if(g>>>0<=h>>>0){break a}break c}f=85;d=N[a+8>>2];if(d>>>0>=e>>>0|g>>>0>e-d>>>0){break c}N[a+8>>2]=d+g;d=d+N[a>>2]|0;N[a+32>>2]=d;N[a+36>>2]=d+g;e=1;break a}f=O[b+1|0];e=f+d|0;if(e>>>0>Q[a+36>>2]){f=85;break c}if((g|0)!=24){break b}B(P[b+2>>1]+c|0,d,f);break b}e=d+2|0;f=16;d=O[d+1|0]|O[d|0]<<8;break e}e=d+2|0;f=16;d=O[d|0]|O[d+1|0]<<8;break e}e=d+4|0;f=0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break e}e=d+4|0;f=0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break e}f=8;e=d+3|0;d=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e}f=8;e=d+3|0;d=O[d|0]|(O[d+1|0]<<8|O[d+2|0]<<16);break e}N[a+32>>2]=d;f=0;break c}e=d+1|0;f=24;d=O[d|0]}d=g&1?d<>f:d;f=P[b+2>>1]+c|0;p:{q:{switch(O[b+1|0]-1|0){case 0:L[f|0]=d;break p;case 1:M[f>>1]=d;break p;default:break q}}N[f>>2]=d}d=e;e=i;break a}N[a>>2]=0;f=64}if(i&255){if(N[a+20>>2]){b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}return f}d=e;e=i}b=b+4|0;i=e;continue}}function oi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;r=S[a>>3];h=N[e>>2];p=N[h+60>>2];l=N[h+52>>2];j=+(p+l|0)*.5;m=N[h- -64>>2];n=N[h+56>>2];q=+(m+n|0)*.5;s=S[a+8>>3];t=S[a+16>>3]+(r*j+q*s);S[a+16>>3]=t;u=S[a+24>>3];f=S[a+32>>3];i=S[a+40>>3]+(u*j+q*f);S[a+40>>3]=i;h=a- -64|0;k=S[a+48>>3];v=S[a+56>>3];w=S[h>>3]+(k*j+q*v);S[h>>3]=w;a:{if(w<=0){break a}j=f;f=1/w;o=f*i;j=j-v*o;S[a+32>>3]=j;q=u-k*o;S[a+24>>3]=q;f=f*t;s=s-v*f;S[a+8>>3]=s;t=r-k*f;S[a>>3]=t;i=f*.125;if(d){f=0}else{g=S[c+8>>3];f=S[c>>3]}z=i-f;if(!(V(z)<1e6)){break a}f=WE(z);b:{if(V(f)<2147483648){x=~~f;break b}x=-2147483648}o=o*.125-g;if(!(V(o)<1e6)){break a}f=WE(o);c:{if(V(f)<2147483648){y=~~f;break c}y=-2147483648}u=+(p-l|0)*.5+64;i=+(m-n|0)*.5+64;g=w-u*V(k)-V(v)*i;f=w*.0625;r=.125/(f>31;a=m>>31;h=(h^l)-h+((a^m)-a)|0;g=WE(g);g:{if(V(g)<2147483648){n=~~g;break g}n=-2147483648}a=n>>31;A=(n^a)-a|0;a=p>>31;a=A+((a^p)-a|0)|0;k=+((a>>>0>>0?h:a)|0)*8;f=j*(f*k);if(!(V(f)<1e6)){break a}f=WE(f);h:{if(V(f)<2147483648){h=~~f;break h}h=-2147483648}f=v*(i*k);if(!(V(f)<1e6)){break a}f=WE(f);i:{if(V(f)<2147483648){a=~~f;break i}a=-2147483648}if(!(!c|!d)){S[c+8>>3]=o-+(y|0);S[c>>3]=z-+(x|0)}N[b+4>>2]=y>>3;N[b>>2]=x>>3;N[e+32>>2]=a;N[e+28>>2]=h;N[e+24>>2]=n;N[e+20>>2]=p;N[e+16>>2]=l;N[e+12>>2]=m;N[e+8>>2]=y&7;N[e+4>>2]=x&7;B=1}return B}function Gk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-48|0;La=f;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=275552}g=N[d+64>>2];c=0;a:{if((vb(e,N[N[d+80>>2]+T(g,20)>>2])|0)==-1){break a}N[b+4>>2]=g;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];L[b+23|0]=O[b+22|0]?(g|0)==N[c+64>>2]?O[(N[c+80>>2]+T(g,20)|0)+15|0]:0:0;g=b+4|0;if(!ic(g,f+44|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[d+64>>2],N[f+44>>2],1,0);c=0;break a}c=275552;j=O[a+8|0]|O[a+9|0]<<8;if(j){c=((j<<8|j>>>8)&65535)+a|0}i=O[a+4|0]|O[a+5|0]<<8;j=O[a+6|0]|O[a+7|0]<<8;c=Qe(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);e=O[a+10|0]|O[a+11|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}e=Qe(e,N[N[d+80>>2]+T(N[g>>2],20)>>2]);b:{h=O[a+12|0]|O[a+13|0]<<8;if(c>>>0<((h<<8|h>>>8)&65535)>>>0){h=O[a+14|0]|O[a+15|0]<<8;h=(h<<8|h>>>8)&65535;if(h>>>0>e>>>0){break b}}c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[d+64>>2],N[g>>2]+1|0,1,0);c=0;break a}i=XE(i);c=T(e+T(c,h)|0,XE(j)+i|0);if((c|0)<0){c=275552}else{c=((c<<1)+a|0)+16|0}e=N[b+96>>2];if(N[e+156>>2]){h=N[b+88>>2];k=N[e+64>>2];N[f+36>>2]=N[b+4>>2];N[f+32>>2]=k;ib(e,h,17042,f+32|0)}c=fe(O[a+4|0]|O[a+5|0]<<8,b,a,c,N[d+88>>2]+T(N[d+64>>2],20)|0)|fe(O[a+6|0]|O[a+7|0]<<8,b,a,c+(i<<1)|0,N[d+88>>2]+T(N[b+4>>2],20)|0);a=N[b+96>>2];if(!((c|0)!=1|!N[a+156>>2])){e=N[b+88>>2];i=N[a+64>>2];N[f+20>>2]=N[b+4>>2];N[f+16>>2]=i;ib(a,e,17100,f+16|0);a=N[b+96>>2]}if(N[a+156>>2]){e=N[b+88>>2];i=N[a+64>>2];N[f+4>>2]=N[b+4>>2];N[f>>2]=i;ib(a,e,17070,f)}c:{if(c){Rc(d,N[d+64>>2],N[g>>2]+1|0);break c}if(!(O[d+16|0]&64)){break c}wb(d,2,N[d+64>>2],N[g>>2]+1|0,1,0)}if(j){a=N[g>>2];N[g>>2]=a+1;Rc(d,N[d+64>>2],a+2|0)}N[d+64>>2]=N[g>>2];c=1}La=f+48|0;return c}function vB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;while(1){d=O[a|0];e=O[c|0];L[a|0]=d>>>0>e>>>0?d:e;d=O[a+1|0];e=O[c+1|0];L[a+1|0]=d>>>0>e>>>0?d:e;d=O[a+2|0];e=O[c+2|0];L[a+2|0]=d>>>0>e>>>0?d:e;d=O[a+3|0];e=O[c+3|0];L[a+3|0]=d>>>0>e>>>0?d:e;d=O[a+4|0];e=O[c+4|0];L[a+4|0]=d>>>0>e>>>0?d:e;d=O[a+5|0];e=O[c+5|0];L[a+5|0]=d>>>0>e>>>0?d:e;d=O[a+6|0];e=O[c+6|0];L[a+6|0]=d>>>0>e>>>0?d:e;d=O[a+7|0];e=O[c+7|0];L[a+7|0]=d>>>0>e>>>0?d:e;d=O[a+8|0];e=O[c+8|0];L[a+8|0]=d>>>0>e>>>0?d:e;d=O[a+9|0];e=O[c+9|0];L[a+9|0]=d>>>0>e>>>0?d:e;d=O[a+10|0];e=O[c+10|0];L[a+10|0]=d>>>0>e>>>0?d:e;d=O[a+11|0];e=O[c+11|0];L[a+11|0]=d>>>0>e>>>0?d:e;d=O[a+12|0];e=O[c+12|0];L[a+12|0]=d>>>0>e>>>0?d:e;d=O[a+13|0];e=O[c+13|0];L[a+13|0]=d>>>0>e>>>0?d:e;d=O[a+14|0];e=O[c+14|0];L[a+14|0]=d>>>0>e>>>0?d:e;d=O[a+15|0];e=O[c+15|0];L[a+15|0]=d>>>0>e>>>0?d:e;d=O[a+16|0];e=O[c+16|0];L[a+16|0]=d>>>0>e>>>0?d:e;d=O[a+17|0];e=O[c+17|0];L[a+17|0]=d>>>0>e>>>0?d:e;d=O[a+18|0];e=O[c+18|0];L[a+18|0]=d>>>0>e>>>0?d:e;d=O[a+19|0];e=O[c+19|0];L[a+19|0]=d>>>0>e>>>0?d:e;d=O[a+20|0];e=O[c+20|0];L[a+20|0]=d>>>0>e>>>0?d:e;d=O[a+21|0];e=O[c+21|0];L[a+21|0]=d>>>0>e>>>0?d:e;d=O[a+22|0];e=O[c+22|0];L[a+22|0]=d>>>0>e>>>0?d:e;d=O[a+23|0];e=O[c+23|0];L[a+23|0]=d>>>0>e>>>0?d:e;d=O[a+24|0];e=O[c+24|0];L[a+24|0]=d>>>0>e>>>0?d:e;d=O[a+25|0];e=O[c+25|0];L[a+25|0]=d>>>0>e>>>0?d:e;d=O[a+26|0];e=O[c+26|0];L[a+26|0]=d>>>0>e>>>0?d:e;d=O[a+27|0];e=O[c+27|0];L[a+27|0]=d>>>0>e>>>0?d:e;d=O[a+28|0];e=O[c+28|0];L[a+28|0]=d>>>0>e>>>0?d:e;d=O[a+29|0];e=O[c+29|0];L[a+29|0]=d>>>0>e>>>0?d:e;d=O[a+30|0];e=O[c+30|0];L[a+30|0]=d>>>0>e>>>0?d:e;d=O[a+31|0];e=O[c+31|0];L[a+31|0]=d>>>0>e>>>0?d:e;c=c+32|0;a=a+b|0;f=f+1|0;if((f|0)!=32){continue}break}}function Tc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=275552;a:{if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}d=((c<<8|c>>>8)&65535)+a|0}b:{c:{d:{e:{f:{g:{h:{c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break g;case 0:break h;default:break b}}e=O[d+4|0]|O[d+5|0]<<8;i=(e<<8|e>>>8)&65535;e=O[d+2|0]|O[d+3|0]<<8;e=b-((e<<8|e>>>8)&65535)|0;c=275552;if(i>>>0<=e>>>0){break f}c=((e<<1)+d|0)+6|0;break f}g=241305;c=O[d+2|0]|O[d+3|0]<<8;i:{if(!c){break i}h=d+4|0;d=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){e=d+c>>>1|0;f=h+T(e,6)|0;i=O[f|0]|O[f+1|0]<<8;j:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=e+1|0;break j}g=h+T(e,6)|0;break i}d=e-1|0}if((d|0)>=(c|0)){continue}break}}c=g+4|0}d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}return 2}return 4}d=275552;k:{if((O[a|0]|O[a+1|0]<<8)!=256){break k}c=O[a+10|0]|O[a+11|0]<<8;if(!c){break k}d=((c<<8|c>>>8)&65535)+a|0}j=8;l:{m:{n:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break m;case 0:break n;default:break b}}a=b;b=O[d+2|0]|O[d+3|0]<<8;b=a-((b<<8|b>>>8)&65535)|0;c=O[d+4|0]|O[d+5|0]<<8;a=275552;if(b>>>0>=((c<<8|c>>>8)&65535)>>>0){break l}a=((b<<1)+d|0)+6|0;break l}a=241305;c=O[d+2|0]|O[d+3|0]<<8;o:{if(!c){break o}g=d+4|0;d=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){e=d+c>>>1|0;f=g+T(e,6)|0;h=O[f|0]|O[f+1|0]<<8;p:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=e+1|0;break p}a=g+T(e,6)|0;break o}d=e-1|0}if((d|0)>=(c|0)){continue}break}}a=a+4|0}a=O[a|0]|O[a+1|0]<<8;j=((a<<8|a>>>8)&65535)<<8|8}return j}function Lo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=La-32|0;La=g;if(c){e=N[a+44>>2]}else{N[a+4>>2]=2147483647;N[a+44>>2]=0;N[a+16>>2]=-2147483648;N[a+8>>2]=2147483647;N[a+12>>2]=-2147483648;e=0}N[a+28>>2]=e;e=N[b+16>>2];a:{b:{c:{d:{e:{f:{d=N[b>>2];if(d){while(1){j=(h<<3)+e|0;i=N[j>>2];f=i>>31;if((f^i)-f>>>0>268435455){break f}j=N[j+4>>2];f=j>>31;if((f^j)-f>>>0>=268435456){break f}h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(!N[b+8>>2]){break e}h=e;while(1){f=O[N[b+20>>2]+k|0];d=f&3;e=(d<<3)+e|0;j=f&4;f=j?h:e;g:{h:{i:{switch(d-1|0){case 1:d=e-16|0;i=N[d+4>>2];N[g>>2]=N[d>>2];N[g+4>>2]=i;d=e-8|0;i=N[d+4>>2];N[g+8>>2]=N[d>>2];N[g+12>>2]=i;d=N[f+4>>2];N[g+16>>2]=N[f>>2];N[g+20>>2]=d;if(Ji(a,g)){break g}break h;case 2:d=e-24|0;i=N[d+4>>2];N[g>>2]=N[d>>2];N[g+4>>2]=i;d=e-16|0;i=N[d+4>>2];N[g+8>>2]=N[d>>2];N[g+12>>2]=i;d=e-8|0;i=N[d+4>>2];N[g+16>>2]=N[d>>2];N[g+20>>2]=i;d=N[f+4>>2];N[g+24>>2]=N[f>>2];N[g+28>>2]=d;if(!Ii(a,g)){break h}break g;case 0:break i;default:break h}}d=e-8|0;if(Hi(a,N[d>>2],N[d+4>>2],N[f>>2],N[f+4>>2])){break g}}e=0;break b}h=j?e:h;k=k+1|0;if(k>>>0>2]){continue}break}if((e|0)==(h|0)){break d}break a}ba(18838,18126,276,15670);F()}if(!e){break c}}if((N[b+16>>2]+(N[b>>2]<<3)|0)!=(e|0)){break a}}h=N[a+44>>2];j=N[a+28>>2];if(h>>>0>>0){k=N[a+16>>2];e=N[a+12>>2];b=N[a+8>>2];f=N[a+4>>2];i=N[a+20>>2];while(1){d=i+T(h,40)|0;l=N[d+36>>2];k=(k|0)>(l|0)?k:l;l=N[d+28>>2];e=(e|0)>(l|0)?e:l;l=N[d+32>>2];b=(b|0)<(l|0)?b:l;d=N[d+24>>2];f=(d|0)>(f|0)?f:d;h=h+1|0;if((j|0)!=(h|0)){continue}break}N[a+16>>2]=k;N[a+12>>2]=e;N[a+8>>2]=b;N[a+4>>2]=f}e=1;if(c){break b}N[a+44>>2]=j}La=g+32|0;return e}ba(22626,18126,317,15670);F()}function wy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=La-48|0;La=f;a:{b:{if(!cb(b,10437)){c:{if(!d){b=N[c>>2];break c}d=f+12|0;b=Kb(c,d);e=N[f+12>>2];if(O[e|0]!=44|(c|0)==(e|0)){break b}e=e+1|0;l=f,m=Kb(e,d),N[l+20>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break b}e=c+1|0;l=f,m=Kb(e,d),N[l+24>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break b}e=c+1|0;l=f,m=Kb(e,d),N[l+28>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break b}e=c+1|0;l=f,m=Kb(e,f+12|0),N[l+32>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break b}e=c+1|0;l=f,m=Kb(e,f+12|0),N[l+36>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break b}e=c+1|0;l=f,m=Kb(e,f+12|0),N[l+40>>2]=m;c=N[f+12>>2];if(O[c|0]!=44|(c|0)==(e|0)){break b}c=c+1|0;l=f,m=Kb(c,d),N[l+44>>2]=m;d=N[f+12>>2];if((O[d|0]|32)!=32|(c|0)==(d|0)){break b}c=f+16|0}e=6;if((b|0)<0){break a}d=N[c+8>>2];if((d|0)<0){break a}g=N[c+16>>2];if((g|0)<0){break a}h=N[c+24>>2];if((h|0)<0){break a}i=N[c+4>>2];if((i|0)<0){break a}j=N[c+12>>2];if((j|0)<0){break a}k=N[c+20>>2];if((k|0)<0){break a}c=N[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}N[a+36>>2]=b;N[a- -64>>2]=c;N[a+60>>2]=h;N[a+56>>2]=k;N[a+52>>2]=g;N[a+48>>2]=j;N[a+44>>2]=d;N[a+40>>2]=i;e=0;break a}if(!cb(b,15759)){if(d){e=6;if(cb(c,16505)){break a}N[a+28>>2]=1;e=0;break a}e=7;if(N[c>>2]!=1){break a}N[a+28>>2]=1;e=0;break a}if(!cb(b,14683)){if(d){if(!Kb(c,0)){L[a+32|0]=0;break a}L[a+32|0]=1;break a}L[a+32|0]=O[c|0];break a}e=12;if(cb(b,16909)){break a}e=0;d:{if(d){b=Kb(c,0);break d}b=N[c>>2]}N[a+68>>2]=(b|0)>0?b:0;break a}e=6}La=f+48|0;return e|0}function fe(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=a&65535;if(!l){return 0}k=N[b+128>>2];j=N[b+88>>2];l=(a<<8|l>>>8)&65535;if(l&1){m=N[e+8>>2];h=O[d|0]|O[d+1|0]<<8;f=(h<<8|h>>>8)<<16>>16;g=TE(N[j+56>>2],N[j+60>>2],f,f>>31);f=Pa;g=g+32768|0;N[e+8>>2]=(((g>>>0<32768?f+1|0:f)&65535)<<16|g>>>16)+m;h=(h|0)!=0;d=d+2|0}if(l&2){g=N[e+12>>2];m=O[d|0]|O[d+1|0]<<8;f=(m<<8|m>>>8)<<16>>16;i=TE(N[j+64>>2],N[j+68>>2],f,f>>31);f=Pa;i=i+32768|0;N[e+12>>2]=(((i>>>0<32768?f+1|0:f)&65535)<<16|i>>>16)+g;h=(m|0)!=0|h;d=d+2|0}m=k&-2;if(l&4){if((m|0)==4){g=N[e>>2];k=O[d|0]|O[d+1|0]<<8;f=(k<<8|k>>>8)<<16>>16;i=TE(N[j+56>>2],N[j+60>>2],f,f>>31);f=Pa;i=i+32768|0;N[e>>2]=(((i>>>0<32768?f+1|0:f)&65535)<<16|i>>>16)+g;h=(k|0)!=0|h}d=d+2|0}if(l&8){if((m|0)!=4){g=N[e+4>>2];k=O[d|0]|O[d+1|0]<<8;f=(k<<8|k>>>8)<<16>>16;i=TE(N[j+64>>2],N[j+68>>2],f,f>>31);f=Pa;i=i+32768|0;N[e+4>>2]=g-(((i>>>0<32768?f+1|0:f)&65535)<<16|i>>>16);h=(k|0)!=0|h}d=d+2|0}a:{if((a&65535)>>>0<4096){break a}k=1;a=1;a=N[j+72>>2]?a:N[j+84>>2]!=0;if(!N[j+76>>2]){k=N[j+84>>2]!=0;if((k|a)!=1){break a}}f=N[b+112>>2];b=N[b+108>>2];if(l&16){if(a){g=O[d|0]|O[d+1|0]<<8;i=(g|0)!=0;n=e,o=_g(g?((g<<8|g>>>8)&65535)+c|0:275552,j,b,f)+N[e+8>>2]|0,N[n+8>>2]=o;h=h|i}d=d+2|0}if(l&32){if(k){g=O[d|0]|O[d+1|0]<<8;i=(g|0)!=0;n=e,o=Zg(g?((g<<8|g>>>8)&65535)+c|0:275552,j,b,f)+N[e+12>>2]|0,N[n+12>>2]=o;h=h|i}d=d+2|0}if(l&64){if((m|0)==4&a){a=O[d|0]|O[d+1|0]<<8;g=(a|0)!=0;n=e,o=_g(a?((a<<8|a>>>8)&65535)+c|0:275552,j,b,f)+N[e>>2]|0,N[n>>2]=o;h=h|g}d=d+2|0}if(!k|(!(l&128)|(m|0)==4)){break a}a=O[d|0]|O[d+1|0]<<8;h=(a|0)!=0|h;a=Zg(a?((a<<8|a>>>8)&65535)+c|0:275552,j,b,f);N[e+4>>2]=N[e+4>>2]-a}return h}function dk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=lc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}a=h;b=275552;c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}h=O[a+4|0]|O[a+5|0]<<8;b=275552;if(!h){break c}b=a+((h<<8|h>>>8)&65535)|0}a=O[b|0]|O[b+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0>c>>>0){a=(b+T(c,6)|0)+2|0}else{a=275552}a=O[a+4|0]|O[a+5|0]<<8;if(a){i=b+((a<<8|a>>>8)&65535)|0}else{i=275552}d:{e:{f:{g:{if(!d){j=O[i+2|0]|O[i+3|0]<<8;break g}h=65535;j=O[i+2|0]|O[i+3|0]<<8;if(!j){if(f){break e}break d}b=((j<<8|j>>>8)&65535)-1|0;m=i+4|0;if(!f){while(1){l=N[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=T(h,6)+m|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);h:{if(g>>>0<=l>>>0){if((g|0)==(l|0)){break f}a=h+1|0;break h}c=h-1|0}if((a|0)<=(c|0)){continue}break}k=k+1|0;if((k|0)!=(d|0)){continue}break g}}while(1){l=N[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=T(h,6)+m|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i:{if(g>>>0>l>>>0){c=h-1|0;break i}if((g|0)==(l|0)){break f}a=h+1|0}if((a|0)<=(c|0)){continue}break}N[f>>2]=65535;k=k+1|0;if((k|0)!=(d|0)){continue}break}}h=65535;j:{if(!j){break j}e=i+4|0;c=((j<<8|(j&65280)>>>8)&65535)-1|0;a=0;while(1){k:{b=a+c>>>1|0;d=e+T(b,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);l:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1684434037){c=b-1|0;break l}if((d|0)==1953261156){break k}a=b+1|0}if((a|0)<=(c|0)){continue}break j}break}h=b}if(!f){break d}break e}if(!f){break d}}N[f>>2]=h}}function _r(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{b:{c=N[b+160>>2];if(c>>>0>=a+4>>>0){e=O[a+3|0]|O[a+2|0]<<8;if(c>>>0>>0){if(N[b+164>>2]){break a}e=c-a|0}c=N[b+160>>2]-a|0;if(c>>>0>e>>>0){if(Q[b+164>>2]>=2){break a}e=c}if(e>>>0<=15){break a}c=Q[b+164>>2]>=2;d=O[a+7|0];if(c&(d&1)){break a}i=d|O[a+6|0]<<8;f=i&65534;if((f<<2)+16>>>0>e>>>0){break a}g=i>>>1|0;if(c){d=O[a+13|0];c=O[a+9|0];if((d|c)&1){break a}c=c|O[a+8|0]<<8;h=c>>>1|0;if(h>>>0>g>>>0|g>>>0>(c&65534)>>>0|((g|0)!=(h+((d|O[a+12|0]<<8)>>>1|0)|0)|(h|0)!=1<<(O[a+11|0]|O[a+10|0]<<8))){break a}}k=a+14|0;if(Q[b+164>>2]>=2){c=(f+k|0)-2|0;if((O[c|0]<<8|O[c+1|0])!=65535){break a}}if(i>>>0>=2){l=(a+f|0)+16|0;m=f+l|0;j=f+m|0;p=f+j|0;r=g>>>0<=1?1:g;s=a+e|0;q=g-1|0;d=0;c=0;while(1){a=c;e=d;c=O[l+1|0]|O[l|0]<<8;d=O[k+1|0]|O[k|0]<<8;if(c>>>0>d>>>0){break a}g=O[j|0];f=O[j+1|0];i=O[m|0];h=O[m+1|0];c:{if(!n|c>>>0>e>>>0){break c}if(N[b+164>>2]){break a}if(!(a>>>0<=c>>>0&d>>>0>=e>>>0)){o=o|1;break c}o=o|2}a=f|g<<8;d:{if(!a){break d}if((a|0)!=65535){a=a+j|0;e:{if(N[b+164>>2]){if(a>>>0

>>0){break a}if(((d-c<<1)+a|0)+2>>>0<=s>>>0){break e}break a}if(!((n|0)!=(q|0)|(c|0)!=65535)&(d|0)==65535){break e}if(a>>>0

>>0|Q[b+160>>2]<((d-c<<1)+a|0)+2>>>0){break a}}if(!N[b+164>>2]|c>>>0>=d>>>0){break d}i=i<<8|h;e=c;while(1){h=O[a+1|0]|O[a|0]<<8;if(Q[b+172>>2]<=(i+h&65535)>>>0?h:0){break b}a=a+2|0;e=e+1|0;if(e>>>0>>0){continue}break}break d}if((n|0)!=(q|0)|Q[b+164>>2]>1|((c|0)!=65535|(d|0)!=65535)){break a}}j=j+2|0;m=m+2|0;k=k+2|0;l=l+2|0;n=n+1|0;if((r|0)!=(n|0)){continue}break}}return o|0}break a}Pb(b,16);F()}Pb(b,8);F()}function UB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=1;k=(b<<1)+e|0;f=O[a|0];a:{b:{c:{d:{if(c>>>0>=2){e:{if((c|0)==2){h=f}else{h=c-1|0;m=h&1;n=h&-2;h=0;while(1){i=g-1|0;j=i<<1;o=f;f=a+g|0;l=O[f|0]+O[a+i|0]|0;i=o+l|0;M[j+k>>1]=i;M[e+j>>1]=i;p=g<<1;i=g+1|0;j=i+a|0;f=O[j|0]+O[f|0]|0;l=l+f|0;M[p+k>>1]=l;M[e+p>>1]=l;g=g+2|0;h=h+2|0;if((n|0)!=(h|0)){continue}break}if(!m){g=i;h=f;break e}h=O[j|0]}i=(g<<1)-2|0;j=a+g|0;h=h+O[j|0]|0;f=h+f|0;M[i+k>>1]=f;M[e+i>>1]=f}m=1;f=g<<1;h=O[j|0]+h|0;M[f+k>>1]=h;M[e+f>>1]=h;if(d>>>0>1){break d}h=a;break a}g=f<<1;M[k>>1]=g;M[e>>1]=g;if(d>>>0<2){h=a;break a}if((d|0)==2){break b}d=d-1|0;h=d&1;g=d&-2;f=0;while(1){i=P[e>>1];d=a+b|0;j=O[d|0]<<1;M[e>>1]=j;m=P[k>>1];i=i+j|0;M[k>>1]=i;L[a|0]=i+m>>>4;i=P[e>>1];a=b+d|0;j=O[a|0]<<1;M[e>>1]=j;m=P[k>>1];i=i+j|0;M[k>>1]=i;L[d|0]=i+m>>>4;f=f+2|0;if((g|0)!=(f|0)){continue}break}if(h){break c}h=a;break a}while(1){h=a+b|0;g=O[h|0];f=1;while(1){n=f-1|0;l=n<<1;i=l+e|0;p=P[i>>1];j=g;o=i;i=f;q=f+h|0;g=O[q|0]+O[h+n|0]|0;j=j+g|0;M[o>>1]=j;l=k+l|0;o=P[l>>1];j=j+p|0;M[l>>1]=j;L[a+n|0]=j+o>>>4;f=f+1|0;if((f|0)!=(c|0)){continue}break}f=i<<1;j=f+e|0;n=P[j>>1];g=O[q|0]+g|0;M[j>>1]=g;f=f+k|0;j=P[f>>1];o=f;f=g+n|0;M[o>>1]=f;L[a+i|0]=f+j>>>4;a=h;m=m+1|0;if((m|0)!=(d|0)){continue}break}break a}g=P[e>>1]}h=a+b|0;b=O[h|0]<<1;M[e>>1]=b;d=P[k>>1];b=b+g|0;M[k>>1]=b;L[a|0]=b+d>>>4}f:{if(!c){break f}g=0;if((c|0)!=1){b=c&1;c=c&-2;while(1){a=g<<1;L[g+h|0]=P[a+e>>1]+P[a+k>>1]>>>4;d=g|1;a=d<<1;L[d+h|0]=P[a+e>>1]+P[a+k>>1]>>>4;g=g+2|0;if((c|0)!=(g|0)){continue}break}if(!b){break f}}a=g<<1;L[g+h|0]=P[a+e>>1]+P[a+k>>1]>>>4}}function qx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){c=N[a+100>>2];b=N[a+548>>2];if(b){Qa[N[c+8>>2]](c,b);N[a+544>>2]=0;N[a+548>>2]=0}_e(a);N[a+532>>2]=0;b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+148>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+148>>2]=0;b=N[a+432>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+432>>2]=0;b=N[a+428>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+428>>2]=0;b=N[a+424>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+424>>2]=0;b=N[a+408>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+408>>2]=0;b=N[a+412>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+412>>2]=0;d=N[a+416>>2];a:{if(!d){break a}e=N[d+4>>2];b:{if(!e){break b}b=N[d+20>>2];if((e|0)!=1){g=e&1;h=e&-2;e=0;while(1){f=N[b>>2];if(f){Qa[N[c+8>>2]](c,f)}N[b>>2]=0;f=N[b+4>>2];if(f){Qa[N[c+8>>2]](c,f)}N[b+4>>2]=0;b=b+8|0;e=e+2|0;if((h|0)!=(e|0)){continue}break}if(!g){break b}}e=N[b>>2];if(e){Qa[N[c+8>>2]](c,e)}N[b>>2]=0}b=N[d+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+20>>2]=0;b=N[a+416>>2];if(!b){break a}Qa[N[c+8>>2]](c,b)}N[a+416>>2]=0;b=N[a+392>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+392>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+396>>2]=0;b=N[a+400>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+400>>2]=0;b=N[a+384>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+384>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+364>>2]=0;b=N[a+496>>2];if(b){d=N[b+36>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+36>>2]=0;N[b+40>>2]=0;d=N[b+28>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+28>>2]=0;N[b+32>>2]=0;Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0}}function ae(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<=c>>>0){break a}g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(g>>>0>=c>>>0){b:{h=b+5|0;e=O[b+4|0];b=h+T(e,c)|0;c:{d:{switch(e-1|0){case 0:f=O[b|0];break c;case 1:d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;break c;case 2:f=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break c;case 3:break d;default:break c}}d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}c=c+1|0;if(c>>>0>g>>>0){break b}d=T(c,e)+h|0;c=0;e:{f:{switch(e-1|0){case 0:c=O[d|0];break e;case 1:c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535;break e;case 2:c=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e;case 3:break f;default:break e}}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(c>>>0>>0){break a}d=T(e,g)+h|0;g:{h:{switch(e-1|0){case 0:i=O[d|0];break g;case 1:d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;break g;case 2:i=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break g;case 3:break h;default:break g}}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((c|0)==(f|0)|c>>>0>i>>>0){break a}d=c-f|0;f=T(e,g+1|0)+h|0;c=0;i:{j:{switch(e-1|0){case 0:c=O[b|0];break i;case 1:b=O[b|0]|O[b+1|0]<<8;c=(b<<8|b>>>8)&65535;break i;case 2:c=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break i;case 3:break j;default:break i}}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}N[a+8>>2]=0;N[a+4>>2]=d;N[a>>2]=(c+f|0)-1;return}}ba(8966,14180,149,9745);F()}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function Ij(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=N[b+4>>2];if((d|0)==N[a+28>>2]){g=N[b+8>>2];if(d){G(g,255,d<<2)}if(!c){break a}e=N[a+20>>2];while(1){b:{if(Q[a+16>>2]<=f>>>0){N[147456]=0;N[147457]=0;d=0;break b}d=N[(e+(f<<3)|0)+4>>2]}c:{if(d>>>0>=Q[b+4>>2]){N[147456]=0;d=589824;break c}d=g+(d<<2)|0}N[d>>2]=f;f=f+1|0;if((f|0)!=(c|0)){continue}break}break a}ba(13964,14083,441,9662);F()}d=N[a+28>>2];if(d){f=0;g=0;while(1){h=f<<2;c=N[b+8>>2];e=N[b+4>>2];if(N[(e>>>0<=f>>>0?275552:h+c|0)>>2]!=-1){if(f>>>0>g>>>0){d:{if(d>>>0<=f>>>0){N[147470]=0;N[147471]=0;N[147468]=0;N[147469]=0;N[147466]=0;N[147467]=0;N[147464]=0;N[147465]=0;N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=N[a+28>>2];c=589824;break d}c=N[a+32>>2]+(f<<6)|0}e:{if(d>>>0<=g>>>0){N[147470]=0;N[147471]=0;N[147468]=0;N[147469]=0;N[147466]=0;N[147467]=0;N[147464]=0;N[147465]=0;N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=589824;break e}d=N[a+32>>2]+(g<<6)|0}e=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=e;e=N[c+60>>2];N[d+56>>2]=N[c+56>>2];N[d+60>>2]=e;e=N[c+52>>2];N[d+48>>2]=N[c+48>>2];N[d+52>>2]=e;e=N[c+44>>2];N[d+40>>2]=N[c+40>>2];N[d+44>>2]=e;e=N[c+36>>2];N[d+32>>2]=N[c+32>>2];N[d+36>>2]=e;e=N[c+28>>2];N[d+24>>2]=N[c+24>>2];N[d+28>>2]=e;e=N[c+20>>2];N[d+16>>2]=N[c+16>>2];N[d+20>>2]=e;e=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=e;e=N[b+4>>2];c=N[b+8>>2]}c=N[(e>>>0<=f>>>0?275552:c+h|0)>>2];f:{if(c>>>0>=Q[a+16>>2]){N[147456]=0;N[147457]=0;c=589824;break f}c=N[a+20>>2]+(c<<3)|0}N[c+4>>2]=g;g=g+1|0;d=N[a+28>>2]}f=f+1|0;if(f>>>0>>0){continue}break}}}function Zp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;e=N[a>>2];g=N[e+4>>2];c=N[e+8>>2];while(1){a:{d=c+1|0;j=d>>>0>g>>>0;if(j){break a}f=N[e>>2];h=O[f+c|0];N[e+8>>2]=d;b:{c:{d:{e:{if((h|0)!=12){c=d;break e}c=c+2|0;if(g>>>0>>0){h=65535;break d}d=O[d+f|0];N[e+8>>2]=c;h=d|256}f:{g:{h:{i:{j:{if(h>>>0>21){break j}d=1<>2];if(!d){L[g|0]=1;N[147456]=0;N[147457]=0;N[b+16>>2]=0;break g}i=S[g+(d<<3)>>3];k:{if(V(i)<2147483648){d=~~i;break k}d=-2147483648}if((d|0)<0){L[g|0]=1;d=0}N[b+16>>2]=d;break g}d=h-265|0;if(d>>>0>10){break d}d=1<>2];if(g){i=S[d+(g<<3)>>3];break f}L[d|0]=1;N[147456]=0;N[147457]=0}i=0}N[f>>2]=0;break c}He(h,e);if(N[e+20>>2]){break b}c=N[e+8>>2];i=0}if(O[e+16|0]|Q[e+4>>2]>>0){break b}l:{m:{n:{c=N[b+4>>2];if((c|0)>=0){g=N[b+8>>2];f=g+1|0;if(f>>>0<=c>>>0){d=N[b+12>>2];break m}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=178956970){d=$a(N[b+12>>2],T(c,24));if(d){break n}}N[b+4>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=589824;break l}N[b+4>>2]=c;N[b+12>>2]=d;g=N[b+8>>2];f=g+1|0}N[b+8>>2]=f;c=T(g,24)+d|0;S[c+16>>3]=i;L[c+8|0]=0;N[c>>2]=0}N[c+4>>2]=h;d=N[e+8>>2];h=N[e+4>>2];f=N[e>>2];e=N[b>>2];N[c>>2]=f+e;f=c;c=h-e|0;c=c>>>0<=h>>>0?c:0;e=d-e|0;L[f+8|0]=c>>>0>>0?c:e;N[b>>2]=d}e=N[a>>2];c=N[e+8>>2];g=N[e+4>>2];if(c>>>0>g>>>0){break a}if(!O[e+16|0]){continue}}break}return j}function Ft(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=N[a+100>>2];c=N[a+540>>2];a:{if(!c){break a}b=N[c+80>>2];if(b){Qa[b|0](a)}b=N[c+100>>2];if(b){Qa[b|0](a)}b=N[c+120>>2];if(!b){break a}Qa[b|0](a);Qa[N[c+124>>2]](a)}if(O[a+848|0]){e=N[a+828>>2];if(e){b=N[a+104>>2];if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,e)}N[a+828>>2]=0}N[a+840>>2]=0;N[a+832>>2]=0;N[a+836>>2]=0}b=a+808|0;e=N[a+104>>2];b:{if(!e|!N[e+20>>2]){break b}f=N[b>>2];if(!f){break b}e=N[e+28>>2];Qa[N[e+8>>2]](e,f)}N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+144>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+140>>2]=0;N[a+144>>2]=0;b=N[a+156>>2];if(b){Qa[N[d+8>>2]](d,b)}M[a+152>>1]=0;N[a+156>>2]=0;b=N[a+104>>2];c:{if(!b|!N[b+20>>2]){break c}e=N[a+508>>2];if(!e){break c}b=N[b+28>>2];Qa[N[b+8>>2]](b,e)}N[a+752>>2]=0;N[a+756>>2]=0;N[a+508>>2]=0;N[a+512>>2]=0;if(O[a+292|0]){b=N[a+332>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+332>>2]=0;b=N[a+336>>2];if(b){Qa[N[d+8>>2]](d,b)}L[a+292|0]=0;N[a+336>>2]=0}b=N[a+564>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+564>>2]=0;M[a+562>>1]=0;if(c){Qa[N[c+52>>2]](a)}c=N[a+20>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+20>>2]=0;c=N[a+24>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+24>>2]=0;c=N[a+32>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+32>>2]=0;c=N[a+804>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+28>>2]=0;N[a+804>>2]=0;c=N[a+720>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+720>>2]=0;c=N[a+744>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+744>>2]=0;c=N[a+652>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+652>>2]=0;c=N[a+656>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+656>>2]=0;c=N[a+664>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+664>>2]=0;c=N[a+672>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+540>>2]=0;N[a+672>>2]=0}}function vo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-80|0;La=h;N[e>>2]=0;a:{if(c>>>0<=31){N[d>>2]=0;break a}f=N[b+112>>2];if(f){b:{if((f|0)>0){while(1){c:{i=N[((g<<2)+b|0)+68>>2];f=i;j=xe(N[f+92>>2],c);if(!j){break c}f=N[f+92>>2];if(!f){break c}f=Qa[N[N[f+12>>2]+12>>2]](f,j)|0;if(f>>>0>=Q[i+16>>2]|!f){break c}N[d>>2]=g;break b}g=g+1|0;if((g|0)>2]){continue}break}}f=N[b+20>>2];g=N[b+4>>2];i=N[b>>2];j=N[b+8>>2];N[h- -64>>2]=N[b+12>>2];N[h+60>>2]=j;N[h+56>>2]=i;N[h+52>>2]=g;N[h+48>>2]=c;mb(f,4,23624,h+48|0);a=wo(a,b,c);N[d>>2]=a;f=0;if((a|0)<0){break b}a=N[((a<<2)+b|0)+68>>2];g=xe(N[a+92>>2],c);d:{if(!g){break d}f=N[a+92>>2];if(!f){break d}f=Qa[N[N[f+12>>2]+12>>2]](f,g)|0;if(f>>>0>=Q[a+16>>2]){break d}if(f){break b}}e:{if(N[a+36>>2]<=0){break e}f=N[b+20>>2];N[h+32>>2]=c;mb(f,2,10502,h+32|0);f=N[a+36>>2];if((f|0)<=0){break e}i=0;while(1){g=N[a+40>>2];j=N[g+(i<<2)>>2];f:{if(!j|!g|(f|0)<=0){break f}f=(f<<2)+g|0;while(1){g:{if((j|0)!=N[g>>2]){break g}k=N[j>>2];h:{if(!k){break h}k=N[k+96>>2];l=N[N[k>>2]+32>>2];if(!l){break h}k=Qa[l|0](k,10557)|0;if(!k){break h}if(Qa[N[k>>2]](j,h+72|0)|0){break h}if(N[h+76>>2]==14){break g}}N[a+92>>2]=N[g>>2];break f}g=g+4|0;if(f>>>0>g>>>0){continue}break}}g=xe(N[a+92>>2],c);i:{if(!g){break i}f=N[a+92>>2];if(!f){break i}f=Qa[N[N[f+12>>2]+12>>2]](f,g)|0;if(f>>>0>=Q[a+16>>2]){break i}if(f){break b}}f=N[a+36>>2];i=i+1|0;if((f|0)>(i|0)){continue}break}}a=N[b+20>>2];f=N[b+4>>2];g=N[b>>2];i=N[b+8>>2];N[h+16>>2]=N[b+12>>2];N[h+12>>2]=i;N[h+8>>2]=g;N[h+4>>2]=f;N[h>>2]=c;mb(a,1,23576,h);f=0}a=N[d>>2];N[d>>2]=(a|0)>0?a:0;N[e>>2]=f;break a}N[d>>2]=0}La=h+80|0}function yj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[a+68>>2];l=c>>>0>d>>>0?d:c;k=l-b|0;a:{if(!(O[a+16|0]&128)){if(k>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=l>>>0){break a}i=N[a+80>>2];c=-1;d=b;m=(d^-1)+l|0;if(m>>>0>=3){j=k&-4;while(1){e=i+T(d,20)|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}e=k&3;if(e){h=0;while(1){j=N[(i+T(d,20)|0)+8>>2];c=c>>>0>>0?c:j;d=d+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}b=b+1|0}if(!m){break a}while(1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=i+T(b+1|0,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}b=b+2|0;if((l|0)!=(b|0)){continue}break}break a}if(k>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=l>>>0){break a}i=N[a+80>>2];c=-1;d=b;m=(d^-1)+l|0;if(m>>>0>=3){j=k&-4;while(1){e=i+T(d,20)|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}e=k&3;if(e){h=0;while(1){j=N[(i+T(d,20)|0)+8>>2];c=c>>>0>>0?c:j;d=d+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|4}b=b+1|0}if(!m){break a}while(1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|4}d=i+T(b+1|0,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|4}b=b+2|0;if((l|0)!=(b|0)){continue}break}}}function Bs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{f=a+10|0;d=N[b+160>>2];if(f>>>0<=d>>>0){c=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(i>>>0<10|d-a>>>0>>0){break a}c=O[a+6|0]|O[a+7|0]<<8|(O[a+8|0]<<16|O[a+9|0]<<24);j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(j>>>0>(i-10>>>0)/11>>>0){break a}if(j){d=1;while(1){c=O[f+3|0]|O[f+4|0]<<8|(O[f+5|0]<<16|O[f+6|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(e>>>0>=i>>>0){break a}c=O[f+7|0]|O[f+8|0]<<8|(O[f+9|0]<<16|O[f+10|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(g>>>0>=i>>>0){break a}k=O[f+2|0]|(O[f+1|0]<<8|O[f|0]<<16);if(k>>>0>>0){break a}c:{if(!e){break c}d=a+e|0;c=d+4|0;e=N[b+160>>2];if(c>>>0>e>>>0){break a}h=e-c>>>2|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(h>>>0>>0){break a}d=0;h=0;if(!e){break c}while(1){l=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);m=l+O[c+3|0]|0;if(m>>>0>=1114112|h>>>0>l>>>0){break a}c=c+4|0;h=m+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}d:{if(!g){break d}d=a+g|0;c=d+4|0;e=N[b+160>>2];if(c>>>0>e>>>0){break a}g=(e-c>>>0)/5|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(g>>>0>>0){break a}d=0;g=0;if(!e){break d}while(1){h=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);if(h>>>0>=1114112|d>>>0>h>>>0){break a}if(Q[b+172>>2]<=(O[c+4|0]|O[c+3|0]<<8)>>>0?N[b+164>>2]:0){break b}c=c+5|0;d=h+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}f=f+11|0;d=k+1|0;n=n+1|0;if((j|0)!=(n|0)){continue}break}}return 0}break a}Pb(b,16);F()}Pb(b,8);F()}function fl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=U(0),k=0,l=U(0);d=O[a|0]|O[a+1|0]<<8;if(!d){return 0}d=(d<<8|d>>>8)&65535;e=d>>>0<=1?1:d;h=a+8|0;a:{while(1){d=(g<<3)+h|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16))==U(0)){break a}g=g+1|0;if((e|0)!=(g|0)){continue}break}return 0}b:{c:{d:{d=O[a+2|0]|O[a+3|0]<<8;e=(d<<8|d>>>8)&65535;switch(e|0){case 0:break b;case 1:break d;default:break c}}a=(g<<3)+h|0;a=O[a+6|0]|O[a+7|0]<<8;a=((a<<8|a>>>8)&65535)+b|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}a=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);i=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+b|0;a=0;d=e-1|0;e:{if(!d){break e}while(1){f=a>>>0>=e>>>0?275552:(a<<2)+i|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(U(U(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))*U(152587890625e-16))>=c){break e}a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}d=a-1|0;a=a>>>0>=d>>>0?d:0;f=a>>>0>>0;d=e;e=a+1|0;k=d>>>0>e>>>0;d=f?(a<<2)+i|0:275552;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));d=k?(e<<2)+i|0:275552;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);l=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));if(j==l){c=U(0)}else{c=U(U(c-j)/U(l-j))}d=b;b=(g<<3)+h|0;b=O[b+6|0]|O[b+7|0]<<8;b=d+((b<<8|b>>>8)&65535)|0;d=k?b+(e<<1)|0:275552;d=O[d|0]|O[d+1|0]<<8;a=f?b+(a<<1)|0:275552;a=O[a|0]|O[a+1|0]<<8;c=U(Z(U(U(U(c*U((d<<8|d>>>8)<<16>>16))+U(U(U(1)-c)*U((a<<8|a>>>8)<<16>>16)))+U(.5))));if(U(V(c))>2]+236|0];N[g>>2]=0;N[f>>2]=0;if(O[a+11662|0]){h=e-c|0;e=i?0-h|0:h;j=N[a+4>>2];h=T(h>>16,b>>16);b=d-b|0;N[j+16>>2]=N[j+16>>2]+(h-T(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=N[a+11684>>2];if((e|0)>b<<1){N[f>>2]=c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45875)+(T(b&65535,45875)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?0-b|0:b;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,19661)+(T(b&65535,19661)+32768>>>16|0)|0;a=(a|0)<0?0-b|0:b;break a}if((b|0)>(0-(e<<1)|0)){break b}c=N[a+11684>>2];if((0-e|0)>b<<1){N[f>>2]=0-c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45874)+(T(b&65535,45874)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?b:0-b|0;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,19661)+(T(b&65535,19661)+32768>>>16|0)|0;a=(a|0)<0?0-b|0:b;break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){N[f>>2]=0;a=N[a+11688>>2]<<1;break a}c=N[a+11684>>2];if((e|0)>(0-(b<<1)|0)){N[f>>2]=c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45875)+(T(b&65535,45875)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?0-b|0:b;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,45875)+b+(T(b&65535,45875)+32768>>>16)|0;a=(a|0)<0?0-b|0:b;break a}if((c|0)>(0-(e<<1)|0)){N[f>>2]=0;a=N[a+11688>>2]<<1;break a}c=N[a+11684>>2];if((0-(b<<1)|0)<(0-e|0)){N[f>>2]=0-c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45874)+(T(b&65535,45874)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?b:0-b|0;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,45875)+b+(T(b&65535,45875)+32768>>>16)|0;a=(a|0)<0?0-b|0:b;break a}N[f>>2]=0;a=0}N[g>>2]=a}}function Il(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;m=O[b+7|0]&254|O[b+6|0]<<8;a:{if(!m){break a}f=N[c>>2]+((d|0)!=0)|0;if(f>>>0>65535){break a}p=N[a+508>>2]+N[a+512>>2]|0;h=m>>>1|0;q=h>>>0<=1?1:h;r=h-1|0;l=b+14|0;h=(b+m|0)+16|0;b:{c:{d:{if(d){while(1){b=h;g=O[b|0]<<8|O[b+1|0];f=f>>>0>g>>>0?f:g;j=O[l+1|0]|O[l|0]<<8;s=(g|0)==65535&(j|0)==65535&n>>>0>=r>>>0;h=b+2|0;l=l+2|0;i=b+m|0;k=i+m|0;t=k+2|0;e:{while(1){if(f>>>0>j>>>0){break e}b=O[i|0]|O[i+1|0]<<8;e=O[k+1|0]|O[k|0]<<8;o=(e|0)!=0&s&e+t>>>0>p>>>0;b=o?1:(b<<8|b>>>8)<<16>>16;f:{g:{e=o?0:e;if(e){if((e|0)==65535){break e}e=k+(e+(f-g<<1)|0)|0;if(e>>>0>p>>>0){break e}e=O[e+1|0]|O[e|0]<<8;if(!e){b=f;break f}e=b+e&65535;if(e>>>0>2]){break g}b=f;break f}o=b+f|0;e=o&65535;if(e>>>0>2]){break g}e=b+j|0;if(!((e|0)<0|(o|0)>=0)){b=0-b|0;break f}if((e|0)<65536|(o|0)>65535){break e}b=65536-b|0;break f}b=f;if(e){break d}}f=b+1|0;if(b>>>0<=65534){continue}break}e=0;f=b;break b}n=n+1|0;if((q|0)!=(n|0)){continue}break c}}while(1){b=O[h+1|0]|O[h|0]<<8;if(b>>>0>f>>>0){break a}h:{i:{f=b>>>0>>0?f:b;g=O[l+1|0]|O[l|0]<<8;if(f>>>0>g>>>0){break i}j=(b|0)==65535&(g|0)==65535&n>>>0>=r>>>0;g=h+m|0;k=g+m|0;i=O[k|0]<<8|O[k+1|0];j=j&(i|0)!=0&(i+k|0)+2>>>0>p>>>0;i=j?0:i;if((i|0)==65535){break i}if(!i){break h}b=k+(i+(f-b<<1)|0)|0;b=O[b|0]<<8|O[b+1|0];if(!b){break c}b=b+(j?1:O[g+1|0]|O[g|0]<<8)&65535;e=b>>>0>2]?b:0;break d}h=h+2|0;l=l+2|0;n=n+1|0;if((q|0)==(n|0)){break c}continue}break}return(j?1:O[g+1|0]|O[g|0]<<8)+f&65535}if(d){break b}break a}e=0;if(!d){break a}}N[c>>2]=f}return e}function wC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!c){break a}g=d+5|0;if(g>>>0<2){a=0;while(1){a=a+8|0;if(c>>>0>a>>>0){continue}break}break a}m=d<<3;d=g>>>1|0;p=d>>>0<=1?1:d;while(1){d=0;n=0;while(1){i=d-8|0;i=i>>>0>=m>>>0?440592:(i<<1)+b|0;j=d-16|0;j=j>>>0>=m>>>0?440592:(j<<1)+b|0;e=M[i>>1]+M[j>>1]|0;g=d|8;g=g>>>0>=m>>>0?440592:(g<<1)+b|0;l=d>>>0>=m>>>0?440592:(d<<1)+b|0;k=d-24|0;k=k>>>0>=m>>>0?440592:(k<<1)+b|0;f=M[l>>1]+M[k>>1]|0;h=d-32|0;h=h>>>0>=m>>>0?440592:(h<<1)+b|0;M[a>>1]=(((e+(M[g>>1]+(f+M[h>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+2>>1]+M[j+2>>1]|0;f=M[l+2>>1]+M[k+2>>1]|0;M[a+2>>1]=(((e+(M[g+2>>1]+(f+M[h+2>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+4>>1]+M[j+4>>1]|0;f=M[l+4>>1]+M[k+4>>1]|0;M[a+4>>1]=(((e+(M[g+4>>1]+(f+M[h+4>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+6>>1]+M[j+6>>1]|0;f=M[l+6>>1]+M[k+6>>1]|0;M[a+6>>1]=(((e+(M[g+6>>1]+(f+M[h+6>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+8>>1]+M[j+8>>1]|0;f=M[l+8>>1]+M[k+8>>1]|0;M[a+8>>1]=(((e+(M[g+8>>1]+(f+M[h+8>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+10>>1]+M[j+10>>1]|0;f=M[l+10>>1]+M[k+10>>1]|0;M[a+10>>1]=(((e+(M[g+10>>1]+(f+M[h+10>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+12>>1]+M[j+12>>1]|0;f=M[l+12>>1]+M[k+12>>1]|0;M[a+12>>1]=(((e+(M[g+12>>1]+(f+M[h+12>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[g+14>>1];g=M[l+14>>1]+M[k+14>>1]|0;e=e+(g+M[h+14>>1]|0)>>1;h=M[i+14>>1]+M[j+14>>1]|0;M[a+14>>1]=(((e+h>>>1|0)+g>>>1|0)+h|0)+2>>>2;d=d+16|0;a=a+16|0;n=n+1|0;if((p|0)!=(n|0)){continue}break}b=(m<<1)+b|0;o=o+8|0;if(o>>>0>>0){continue}break}}}function en(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!(L[a+741|0]&1)){break a}c=N[N[a+736>>2]+56>>2];f=P[c>>1];if(f){b=N[c+24>>2];j=b+T(f,12)|0;i=c+4|0;while(1){f=N[b>>2];h=Xm(a,f);c=Ph(a,i,P[b+4>>1],P[b+6>>1]);b:{if(!h){break b}M[h>>1]=c+P[b+8>>1];if((f|0)==1751216995){d=c;break b}if((f|0)!=1751934832){if((f|0)!=1751413603){break b}e=c;break b}g=c}b=b+12|0;if(j>>>0>b>>>0){continue}break}}c=P[a+72>>1];e=c+e|0;M[a+72>>1]=e;b=d;d=P[a+70>>1];b=b+d|0;M[a+70>>1]=b;f=M[a+486>>1];M[a+82>>1]=f;M[a+80>>1]=P[a+484>>1]+((f|0)/-2|0);M[a+74>>1]=(b+(c+((P[a+74>>1]+g|0)-d|0)|0)|0)-e;a=N[a+108>>2];while(1){if(!a){break a}c=N[a+8>>2];a=N[a+4>>2];g=N[c>>2];if(O[g+732|0]){continue}L[c+112|0]=0;e=N[c+16>>2];d=N[c+12>>2];N[c+48>>2]=d;N[c+52>>2]=e;e=N[c+24>>2];N[c+56>>2]=N[c+20>>2];N[c+60>>2]=e;b=N[c+32>>2];e=c- -64|0;N[e>>2]=N[c+28>>2];N[e+4>>2]=b;N[c+72>>2]=N[c+36>>2];if(!(d&65535)|!P[c+50>>1]){continue}if(O[g+176|0]&8){f=N[c+56>>2];d=f>>31;h=M[g+70>>1];b=h>>31;d=(d^f)-d|0;j=d>>>8|0;b=(b^h)-b|0;c:{if(j+b>>>0<=8190){i=T(b,d)+32768>>>16|0;break c}i=T(b,d>>>16|0)+(T(b,d&65535)+32768>>>16|0)|0}b=i;k=0-b|0;b=h>>31|1;f=(f|0)<0;N[c+60>>2]=(((f?0-b|0:b)|0)<0?k:i)+32&-64;i=e;h=M[g+72>>1];b=h>>31;b=(b^h)-b|0;d:{if(b+j>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}b=T(b,d>>>16|0)+(T(b,d&65535)+32768>>>16|0)|0}e=h>>31|1;N[i>>2]=(((f?0-e|0:e)|0)<0?0-b|0:b)+32&-64;g=M[g+74>>1];e=g>>31;e=(e^g)-e|0;e:{if(e+j>>>0<=8190){b=T(d,e)+32768>>>16|0;break e}b=T(e,d>>>16|0)+(T(e,d&65535)+32768>>>16|0)|0}d=b;e=0-d|0;d=g>>31|1;N[c+68>>2]=(((f?0-d|0:d)|0)<0?e:b)+32&-64}L[c+112|0]=1;continue}}}function qm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;N[d>>2]=0;N[d+4>>2]=0;g=b-1|0;g=b>>>0>=g>>>0?g:0;b=N[a+408>>2];a:{if(g>>>0>b>>>0){break a}e=b;b=c-1|0;c=b>>>0<=c>>>0?b:0;if(e>>>0>>0){break a}b=N[a+424>>2];if(!b){break a}e=c<<4;c=N[a+416>>2];c=P[e+c>>1]|N[c+(g<<4)>>2]<<16;g=N[a+104>>2];while(1){if(!(c>>>0<=Q[b+20>>2]&c>>>0>=Q[b+16>>2])){b=N[b>>2];if(b){continue}break a}break}a=N[b+12>>2];i=N[g+20>>2];b:{if(i){f=85;if(!(Qa[i|0](g,a,0,0)|0)){break b}break a}f=85;if(a>>>0>Q[g+4>>2]){break a}}N[g+8>>2]=a;f=Bb(g,T(N[b+8>>2],O[b+4|0]));if(f){break a}a=O[b+5|0];j=a&1;k=a>>>1&1;i=N[b+8>>2];f=N[g+32>>2];a=O[b+4|0];h=-2147483648>>>W(a)|0;c:{d:{e:{if((a|0)==(h|0)){break e}a=T(i,a-h|0)+f|0;e=O[a+1|0];l=O[a|0];f:{if(j){e=O[a+3|0]|(e<<16|l<<24|O[a+2|0]<<8);a=a+4|0;break f}e=e|l<<16;a=a+2|0}if((c|0)==(e|0)){break d}if(c>>>0<=e>>>0){break e}f=(k?2:1)+a|0}g:{a=T(i,h);h:{if(i>>>0>=a>>>0){break h}if(!j){while(1){a=a>>>1|0;h=f+a|0;e=O[h|0]<<16|O[h+1|0];if((e|0)!=(c|0)){f=c>>>0>e>>>0?h:f;if(a>>>0>i>>>0){continue}break h}break}a=h+2|0;break d}while(1){a=a>>>1|0;h=f+a|0;e=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((e|0)==(c|0)){break g}f=c>>>0>e>>>0?h:f;if(a>>>0>i>>>0){continue}break}}a=O[f+1|0];i=O[f|0];i:{if(j){i=O[f+3|0]|(a<<16|i<<24|O[f+2|0]<<8);a=f+4|0;break i}i=a|i<<16;a=f+2|0}if((c|0)==(i|0)){break d}break c}a=h+4|0}c=O[a|0];if(k){c=(O[a+1|0]|c<<8)<<16>>16}N[d>>2]=M[b+6>>1]+c}if(N[g+20>>2]){a=N[g>>2];if(a){b=N[g+28>>2];Qa[N[b+8>>2]](b,a)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;f=0}return f|0}function Gg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;a:{c=T(b,1348)+a|0;e=N[c+56>>2];if((e|0)<=0){break a}f=N[a+24>>2];if((f|0)<=0){break a}a=N[a+28>>2];m=a+T(f,40)|0;j=b?8:4;n=j|16;g=N[c- -64>>2];c=g+T(e,44)|0;o=c-40|0;p=c-36|0;q=c-44|0;k=(b|0)==1;r=k?14:12;s=(e|0)==2;t=(e|0)==3;u=(e|0)==5;v=(e|0)==6;w=(e|0)==7;x=b?20:16;while(1){l=P[a>>1];if(!(l&n)){b=N[(k?8:4)+a>>2];y=a+x|0;d=M[a+r>>1];c=(b+N[g+8>>2]|0)-N[g+4>>2]|0;b:{if((d|0)<=M[g>>1]){break b}c=(b+N[p>>2]|0)-N[o>>2]|0;if((d|0)>=M[q>>1]){break b}b=0;c:{c=e;d:{if(c>>>0<=8){b=1;e:{if((c|0)==1){break e}c=(d|0)<=M[g+44>>1];b=c?1:e;if(c|s){break e}c=(d|0)<=M[g+88>>1];b=c?2:e;if(c|t){break e}c=(d|0)<=M[g+132>>1];b=c?3:e;if((e|0)==4|c){break e}c=(d|0)<=M[g+176>>1];b=c?4:e;if(c|u){break e}c=(d|0)<=M[g+220>>1];b=c?5:e;if(c|v){break e}c=(d|0)<=M[g+264>>1];b=c?6:e;if(c|w){break e}b=(d|0)<=M[g+308>>1]?7:e}c=T(b,44)+g|0;if(P[c>>1]!=(d&65535)){break d}c=N[c+8>>2];break b}while(1){f=b+c>>1;h=T(f,44)+g|0;i=M[h>>1];f:{if((d|0)<(i|0)){c=f;break f}if((d|0)<=(i|0)){break c}b=f+1|0}if((b|0)<(c|0)){continue}break}}c=T(b,44)+g|0;f=c-44|0;b=N[f+16>>2];g:{if(b){h=N[c-36>>2];c=M[f>>1];break g}h=N[c-36>>2];b=N[c+8>>2]-h|0;i=M[c>>1];c=M[f>>1];b=fb(b,i-c|0);N[f+16>>2]=b}f=d-c|0;d=f>>31;d=(d^f)-d|0;c=b>>31;c=(c^b)-c|0;h:{if(d+(c>>>8|0)>>>0<=8190){d=T(c,d)+32768>>>16|0;break h}d=d&65535;d=T(d,c>>>16|0)+(T(d,c&65535)+32768>>>16|0)|0}c=d;i=0-c|0;c=f>>31|1;c=((((b|0)<0?0-c|0:c)|0)<0?i:d)+h|0;break b}c=N[h+8>>2]}N[y>>2]=c;M[a>>1]=j|l}a=a+40|0;if(m>>>0>a>>>0){continue}break}}}function Uh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=N[a>>2];a:{if(O[d+732|0]){break a}L[a+112|0]=0;f=N[a+16>>2];i=N[a+12>>2];N[a+48>>2]=i;N[a+52>>2]=f;f=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=f;c=N[a+32>>2];f=a- -64|0;N[f>>2]=N[a+28>>2];N[f+4>>2]=c;N[a+72>>2]=N[a+36>>2];c=151;j=i&65535;if(!j){break a}f=P[a+50>>1];if(!f){break a}b:{c:{d:{if(O[d+176|0]&8){e=N[a+56>>2];c=e>>31;h=M[d+70>>1];b=h>>31;c=(c^e)-c|0;k=c>>>8|0;b=(b^h)-b|0;e:{if(k+b>>>0<=8190){g=T(c,b)+32768>>>16|0;break e}g=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}b=g;l=0-b|0;b=h>>31|1;N[a+60>>2]=((((e|0)<0?0-b|0:b)|0)<0?l:g)+32&-64;l=a- -64|0;h=M[d+72>>1];b=h>>31;b=(b^h)-b|0;f:{if(b+k>>>0<=8190){g=T(c,b)+32768>>>16|0;break f}g=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}b=g;m=0-b|0;b=h>>31|1;N[l>>2]=((((e|0)<0?0-b|0:b)|0)<0?m:g)+32&-64;h=M[d+74>>1];b=h>>31;b=(b^h)-b|0;if(b+k>>>0>8190){break d}b=T(c,b)+32768>>>16|0;break c}L[a+112|0]=1;break b}b=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}c=b;L[a+112|0]=1;g=0-c|0;c=h>>31|1;N[a+68>>2]=((((e|0)<0?0-c|0:c)|0)<0?g:b)+32&-64;e=P[d+68>>1];c=fb(j<<6,e);N[a+52>>2]=c;n=a,o=fb(f<<6,e),N[n+56>>2]=o;b=M[d+76>>1];e=b>>31;e=(b^e)-e|0;d=c>>31;d=(d^c)-d|0;g:{if(e+(d>>>8|0)>>>0<=8190){g=T(d,e)+32768>>>16|0;break g}g=T(e,d>>>16|0)+(T(e,d&65535)+32768>>>16|0)|0}d=g;e=0-d|0;d=b>>31|1;N[a+72>>2]=((((c|0)<0?0-d|0:d)|0)<0?e:g)+32&-64}e=a+48|0;h:{if(f>>>0<=(i&65535)>>>0){c=a+52|0;d=fb(f,j);f=65536;break h}c=a+56|0;d=65536;i=f;f=fb(j,f)}c=N[c>>2];M[a+84>>1]=i;N[a+92>>2]=c;N[a+80>>2]=d;N[a+76>>2]=f;N[a+308>>2]=-1;N[a+44>>2]=e;c=0}return c}function _e(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=N[a+532>>2];if(c){d=N[a+100>>2];e=N[c>>2];h=N[c+4>>2];b=N[c+24>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+24>>2]=0;if(e>>>0>=2){G(c+28|0,0,(e<<2)-4|0)}b=N[c+216>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+216>>2]=0;b=N[c+148>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+148>>2]=0;b=N[c+288>>2];if(b){Qa[N[d+8>>2]](d,b)}b=0;N[c+288>>2]=0;a:{if(!e){break a}if(e>>>0>=4){l=e&-4;i=c+212|0;g=c+144|0;j=c+284|0;while(1){f=b<<2;N[f+i>>2]=0;N[f+g>>2]=0;N[f+j>>2]=0;k=f|4;N[k+i>>2]=0;N[g+k>>2]=0;N[j+k>>2]=0;k=f|8;N[k+i>>2]=0;N[g+k>>2]=0;N[j+k>>2]=0;f=f|12;N[f+i>>2]=0;N[f+g>>2]=0;N[f+j>>2]=0;b=b+4|0;if((l|0)!=(b|0)){continue}break}}i=e&3;if(!i){break a}e=0;while(1){f=c+(b<<2)|0;N[f+284>>2]=0;N[f+144>>2]=0;N[f+212>>2]=0;b=b+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}b=N[c+136>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+136>>2]=0;N[c+140>>2]=0;b:{if(!h){break b}b=0;c:{if((h|0)!=1){f=h&1;i=h&-2;e=0;while(1){g=b<<2;j=g+c|0;k=N[j+8>>2];if(k){Qa[N[d+8>>2]](d,k)}N[j+8>>2]=0;g=c+(g|4)|0;j=N[g+8>>2];if(j){Qa[N[d+8>>2]](d,j)}N[g+8>>2]=0;b=b+2|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}if(!f){break c}}b=c+(b<<2)|0;e=N[b+8>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+8>>2]=0}c=c+88|0;b=0;if((h|0)!=1){f=h&1;i=h&-2;e=0;while(1){h=c+T(b,12)|0;g=N[h+4>>2];if(g){Qa[N[d+8>>2]](d,g)}N[h+4>>2]=0;L[h|0]=0;h=c+T(b|1,12)|0;g=N[h+4>>2];if(g){Qa[N[d+8>>2]](d,g)}N[h+4>>2]=0;L[h|0]=0;b=b+2|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}if(!f){break b}}c=c+T(b,12)|0;b=N[c+4>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+4>>2]=0;L[c|0]=0}c=N[a+532>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+532>>2]=0}}function Le(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=1;a:{if(!O[a|0]){break a}j=0;if((c|0)==-1|(b|0)==-1|b>>>0>c>>>0){break a}N[a+4>>2]=-1;h=vc(a,b);k=c>>>9|0;l=b>>>9|0;b:{if((k|0)==(l|0)){if(!h){break a}g=-1;f=-1;a=b&63;d=a&31;if((a&63)>>>0>=32){a=-1<>>32-d;d=-1<>>6&7;d=(b<<3)+h|0;i=b;b=c>>>6&7;c:{if((i|0)==(b|0)){g=e;f=a;b=d;break c}a=a|N[d+4>>2];N[d>>2]=e|N[d>>2];N[d+4>>2]=a;b=(b<<3)+h|0;a=d+8|0;if((b|0)==(a|0)){b=a;break c}G(a,255,b-a|0)}a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<>>32-c;c=2<>>0>=32){d=-1<>>32-e;e=-1<>>6&7;e=(b<<3)+h|0;d:{if((b|0)==7){g=i;f=d;b=e;break d}d=d|N[e+4>>2];N[e>>2]=i|N[e>>2];N[e+4>>2]=d;b=h+56|0;d=e+8|0;if((b|0)==(d|0)){break d}G(d,255,b-d|0)}f=f|N[b+4>>2];N[b>>2]=g|N[b>>2];N[b+4>>2]=f;f=l+1|0;if(k>>>0>f>>>0){while(1){b=vc(a,f<<9);if(!b){break a}N[b>>2]=-1;N[b+4>>2]=-1;N[b+56>>2]=-1;N[b+60>>2]=-1;N[b+48>>2]=-1;N[b+52>>2]=-1;N[b+40>>2]=-1;N[b+44>>2]=-1;N[b+32>>2]=-1;N[b+36>>2]=-1;N[b+24>>2]=-1;N[b+28>>2]=-1;N[b+16>>2]=-1;N[b+20>>2]=-1;N[b+8>>2]=-1;N[b+12>>2]=-1;f=f+1|0;if((k|0)!=(f|0)){continue}break}}b=vc(a,c);if(!b){break a}f=c>>>6&7;e:{if(!f){break e}a=b;N[b>>2]=-1;N[b+4>>2]=-1;f=f<<3;b=f+b|0;a=a+8|0;if((b|0)==(a|0)){break e}G(a,255,f-8|0)}a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<>>32-c;g=2<>2];e=N[b+4>>2];a=a+f|0;c=c+g|0;a=c>>>0>>0?a+1|0:a;N[b>>2]=c|d;N[b+4>>2]=a|e;j=1}return j}function fd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=O[b|0]|O[b+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=c>>>0){break a}g=(d<<8|d>>>8)&65535;if(g>>>0>=c>>>0){b:{h=b+3|0;e=O[b+2|0];b=h+T(e,c)|0;c:{d:{switch(e-1|0){case 0:f=O[b|0];break c;case 1:d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;break c;case 2:f=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break c;case 3:break d;default:break c}}d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if(c>>>0>=g>>>0){break b}d=T(e,c+1|0)+h|0;c=0;e:{f:{switch(e-1|0){case 0:c=O[d|0];break e;case 1:c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535;break e;case 2:c=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e;case 3:break f;default:break e}}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(c>>>0>>0){break a}d=T(e,g)+h|0;g:{h:{switch(e-1|0){case 0:i=O[d|0];break g;case 1:d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;break g;case 2:i=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break g;case 3:break h;default:break g}}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((c|0)==(f|0)|c>>>0>i>>>0){break a}d=c-f|0;f=T(e,g+1|0)+h|0;c=0;i:{j:{switch(e-1|0){case 0:c=O[b|0];break i;case 1:b=O[b|0]|O[b+1|0]<<8;c=(b<<8|b>>>8)&65535;break i;case 2:c=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break i;case 3:break j;default:break i}}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}N[a+8>>2]=0;N[a+4>>2]=d;N[a>>2]=(c+f|0)-1;return}}ba(8966,14180,149,9745);F()}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function Fj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;m=La-176|0;La=m;if(ib(c,b,12581,0)){if(O[c+16|0]&64){wb(c,2,0,-1,1,0)}e=Ec(m+12|0,1,b,c);N[e+132>>2]=d;N[e+140>>2]=8;N[e+32>>2]=0;N[e+8>>2]=e;N[e+24>>2]=0;N[e+28>>2]=0;L[e+21|0]=O[e+150|0];N[e+12>>2]=8;N[e+72>>2]=0;N[e+48>>2]=e;i=O[e+151|0];L[e+22|0]=i;N[e+16>>2]=d;f=e- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[e+52>>2]=8;L[e+61|0]=1;f=N[e+84>>2]==1;L[e+20|0]=f;L[e+60|0]=f|O[e+149|0]!=0;L[e+62|0]=i;N[e+56>>2]=-1;r=N[c+68>>2];if(r){p=e+4|0;k=N[c+88>>2];s=N[c+80>>2];v=(N[c+40>>2]&-2)!=4;i=0;while(1){a:{b:{n=T(i,20);h=n+s|0;if(!(N[h+4>>2]&d)){break b}N[e+36>>2]=1;N[e+4>>2]=i;f=N[N[e+8>>2]+96>>2];N[e+40>>2]=N[f+68>>2];L[e+23|0]=O[e+22|0]?N[f+64>>2]==(i|0)?O[(n+N[f+80>>2]|0)+15|0]:0:0;if(!ic(p,m+8|0)){break b}t=N[p>>2];l=T(t,20);g=N[l+s>>2];h=N[h>>2];u=N[a>>2];f=N[u>>2];q=N[f+100>>2];j=N[f+96>>2];o=N[j+12>>2];c:{if((N[u+4>>2]&-2)==4){j=N[j- -64>>2];if(!o){f=Qa[j|0](f,q,h,g,0)|0;break c}f=Qa[j|0](f,q,h,g,N[o+44>>2])|0;break c}j=N[j+68>>2];f=Qa[j|0](f,q,h,g,o?N[o+48>>2]:0)|0}if(f){g=O[a+4|0];d:{if(!v){if(g){N[(k+l|0)+12>>2]=f;N[c+144>>2]=N[c+144>>2]|8;break d}g=k+n|0;h=f>>1;N[g>>2]=h+N[g>>2];g=k+l|0;f=f-h|0;N[g>>2]=f+N[g>>2];N[g+8>>2]=f+N[g+8>>2];break d}if(g){N[(k+l|0)+8>>2]=f;N[c+144>>2]=N[c+144>>2]|8;break d}g=k+n|0;h=f>>1;N[g+4>>2]=h+N[g+4>>2];g=k+l|0;f=f-h|0;N[g+4>>2]=f+N[g+4>>2];N[g+12>>2]=f+N[g+12>>2]}Rc(c,i,t+1|0)}i=N[p>>2];break a}i=i+1|0}if(r>>>0>i>>>0){continue}break}}ib(c,b,12662,0);_a(N[e+112>>2])}La=m+176|0}function ut(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=N[b+28>>2];a:{d=Qa[N[a+516>>2]](a,1734439792,b,0)|0;b:{if(d){break b}c=N[b+4>>2];c:{if(N[b+20>>2]){d=85;if(c>>>0<4){break b}d:{e:{c=N[b+28>>2];d=Qa[N[c+4>>2]](c,4)|0;if(d){N[b>>2]=d;e=Qa[N[b+20>>2]](b,N[b+8>>2],d,4)|0;f=N[b>>2];if(e>>>0<=3){break e}d=0;break d}N[b>>2]=0;return 64}if(f){Qa[N[c+8>>2]](c,f)}f=0;N[b>>2]=0;d=85}N[b+32>>2]=f;g=f?f+4|0:0;N[b+36>>2]=g;N[b+8>>2]=e+N[b+8>>2];c=f;if(e>>>0>=4){break c}break b}d=85;e=N[b+8>>2];if(e>>>0>=c>>>0|c-e>>>0<4){break b}N[b+8>>2]=e+4;f=N[b>>2];c=e+f|0;N[b+32>>2]=c;g=c+4|0;N[b+36>>2]=g}e=0;f:{if(c+1>>>0>=g>>>0){d=0;break f}d=O[c|0]|O[c+1|0]<<8;d=d<<8|d>>>8;c=c+2|0}N[b+32>>2]=c;M[a+560>>1]=d;if(c+1>>>0>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;M[a+562>>1]=e;if(N[b+20>>2]){if(f){c=N[b+28>>2];Qa[N[c+8>>2]](c,f);d=P[a+560>>1]}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if((d&65535)>>>0>=2){M[a+562>>1]=0;return 8}f=P[a+562>>1];g:{if(!f){d=f<<2;c=0;break g}d=f<<2;c=Qa[N[h+4>>2]](h,d)|0;if(!c){break a}G(c,0,d)}N[a+564>>2]=c;d=Bb(b,d);if(d){break b}if(f){g=N[a+564>>2];a=N[b+32>>2];e=N[b+36>>2];d=0;while(1){h:{if(e>>>0<=a+1>>>0){c=0;break h}c=O[a|0]|O[a+1|0]<<8;c=c<<8|c>>>8;a=a+2|0}N[b+32>>2]=a;h=g+(d<<2)|0;M[h>>1]=c;c=0;if(e>>>0>a+1>>>0){c=O[a|0]|O[a+1|0]<<8;c=c<<8|c>>>8;a=a+2|0}N[b+32>>2]=a;M[h+2>>1]=c;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;d=0}return d|0}N[a+564>>2]=0;return 64}function of(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(e){N[e>>2]=-1}l=(c|0)==-21;m=l?b-21|0:b;n=(c|0)>0?c:0;g=N[a+8>>2];a:{h=N[a>>2];b:{c:{if(h){b=g;while(1){if(!(N[b>>2]!=(m|0)|N[b+4>>2]!=(n|0))){h=f;break c}b=b+12|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}j=N[a+4>>2];k=h+1|0;d:{if(j>>>0>=k>>>0){b=g;break d}i=(h&-8)+8|0;if((i|j)<0){return 6}e:{f:{g:{if(!i){b=0;if(!g){break g}Qa[N[d+8>>2]](d,g);N[a+8>>2]=0;break e}f=10;if((i|0)>178956970){break b}h:{if(!j){b=Qa[N[d+4>>2]](d,T(i,12))|0;f=!b<<6;break h}f=Qa[N[d+12>>2]](d,T(j,12),T(i,12),g)|0;b=f?f:g;f=!f<<6}if(f|(i|0)<=(j|0)|!b){break f}G(T(j,12)+b|0,0,T(i-j|0,12))}N[a+8>>2]=b;break e}N[a+8>>2]=b;if(f){break b}}N[a+4>>2]=i}N[a>>2]=k;N[(T(k,12)+b|0)-12>>2]=m;b=T(h,12)+b|0;N[b+8>>2]=c>>31&(l?3:1);N[b+4>>2]=n}b=N[a+12>>2];i:{j:{if(!b){k:{if(N[a+16>>2]){b=N[a+20>>2];break k}b=Qa[N[d+4>>2]](d,128)|0;if(!b){break a}G(b,0,128);N[a+16>>2]=8;N[a+20>>2]=b}N[b>>2]=0;N[b+12>>2]=0;N[a+12>>2]=1;break j}b=(N[a+20>>2]+(b<<4)|0)-16|0;if(Q[b>>2]>h>>>0){break i}}a=h+8>>>3|0;i=N[b+4>>2]+7|0;g=i>>>3|0;if(a>>>0>g>>>0){f=N[b+8>>2];l:{m:{c=a+7&1073741816;n:{if(!c){a=0;if(!f){break n}Qa[N[d+8>>2]](d,f);N[b+8>>2]=0;break l}o:{if(i>>>0<=7){a=Qa[N[d+4>>2]](d,c)|0;f=!a<<6;break o}d=Qa[N[d+12>>2]](d,g,c,f)|0;a=d?d:f;f=!d<<6}if(f|c>>>0<=g>>>0|!a){break m}G(a+g|0,0,c-g|0)}N[b+8>>2]=a;break l}N[b+8>>2]=a;if(f){break b}}N[b+4>>2]=c<<3}N[b>>2]=h+1}a=N[b+8>>2]+(h>>>3|0)|0;L[a|0]=O[a|0]|128>>>(h&7);f=0;if(!e){break b}N[e>>2]=h}return f}N[a+20>>2]=0;return 64}function aw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=N[a+712>>2];if(!c){return 0}e=N[c+3092>>2];a:{if(!e){a=N[a+100>>2];e=Qa[N[a+4>>2]](a,32)|0;h=!e<<6;if(!e){break a}d=N[c+1372>>2];f=0;b:{if((d|0)==65535){break b}if(d>>>0>=391){d=d-391|0;f=0;if(d>>>0>=Q[c+1356>>2]){break b}f=N[N[c+1360>>2]+(d<<2)>>2];break b}a=N[c+3084>>2];f=0;if(!a){break b}f=Qa[N[a+20>>2]](d)|0}N[e>>2]=f;a=N[c+1376>>2];c:{if((a|0)==65535){break c}if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[c+1356>>2]){break c}g=N[N[c+1360>>2]+(a<<2)>>2];break c}d=N[c+3084>>2];if(!d){break c}g=Qa[N[d+20>>2]](a)|0}N[e+4>>2]=g;g=0;d=N[c+1384>>2];f=0;d:{if((d|0)==65535){break d}if(d>>>0>=391){d=d-391|0;f=0;if(d>>>0>=Q[c+1356>>2]){break d}f=N[N[c+1360>>2]+(d<<2)>>2];break d}a=N[c+3084>>2];f=0;if(!a){break d}f=Qa[N[a+20>>2]](d)|0}N[e+8>>2]=f;a=N[c+1388>>2];e:{if((a|0)==65535){break e}if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[c+1356>>2]){break e}g=N[N[c+1360>>2]+(a<<2)>>2];break e}d=N[c+3084>>2];if(!d){break e}g=Qa[N[d+20>>2]](a)|0}N[e+12>>2]=g;a=0;g=N[c+1392>>2];f:{if((g|0)==65535){break f}if(g>>>0>=391){g=g-391|0;if(g>>>0>=Q[c+1356>>2]){break f}a=N[N[c+1360>>2]+(g<<2)>>2];break f}d=N[c+3084>>2];if(!d){break f}a=Qa[N[d+20>>2]](g)|0}N[e+16>>2]=a;N[e+20>>2]=N[c+1400>>2];L[e+24|0]=O[c+1396|0];M[e+26>>1]=N[c+1404>>2];M[e+28>>1]=N[c+1408>>2];N[c+3092>>2]=e}a=N[e+4>>2];N[b>>2]=N[e>>2];N[b+4>>2]=a;a=N[e+28>>2];N[b+24>>2]=N[e+24>>2];N[b+28>>2]=a;a=N[e+20>>2];N[b+16>>2]=N[e+16>>2];N[b+20>>2]=a;a=N[e+12>>2];N[b+8>>2]=N[e+8>>2];N[b+12>>2]=a}return h|0}function kk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=La-32|0;La=k;e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}e=(e<<8|e>>>8)&65535;c=N[b+132>>2];h=N[b+96>>2];i=N[h+80>>2];c=(c&N[(i+T(N[h+64>>2],20)|0)+4>>2])>>>RE(c)|0;b:{if((c|0)!=255){break b}c=255;if(!O[b+152|0]){break b}l=N[h+68>>2];c:{if(l>>>0<2){break c}j=N[h+144>>2]|32;N[h+144>>2]=j;m=l&3;d:{if(l>>>0<4){c=-1;break d}f=l&-4;c=-1;while(1){g=N[(T(d,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|1,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|2,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|3,20)+i|0)+8>>2];c=c>>>0>>0?c:g;d=d+4|0;if((f|0)!=(d|0)){continue}break}}if(m){while(1){d=N[(T(f,20)+i|0)+8>>2];c=c>>>0>>0?c:d;f=f+1|0;n=n+1|0;if((m|0)!=(n|0)){continue}break}}m=l&-2;d=0;while(1){f=T(d,20)+i|0;if(N[f+8>>2]!=(c|0)){j=j|32;N[h+144>>2]=j;N[f+4>>2]=N[f+4>>2]|3}f=T(d|1,20)+i|0;if(N[f+8>>2]!=(c|0)){j=j|32;N[h+144>>2]=j;N[f+4>>2]=N[f+4>>2]|3}d=d+2|0;if((m|0)!=(d|0)){continue}break}if(!(l&1)){break c}n=c;c=T(d,20)+i|0;if((n|0)==N[c+8>>2]){break c}N[h+144>>2]=j|32;N[c+4>>2]=N[c+4>>2]|3}c=(T(N[b+156>>2],48271)>>>0)%2147483647|0;N[b+156>>2]=c;c=((c>>>0)%(e>>>0)|0)+1|0}c=c-1|0;if(c>>>0>=e>>>0){break a}if(N[h+156>>2]){yc(h);e=N[b+88>>2];d=N[b+96>>2];N[k+16>>2]=N[d+64>>2];ib(d,e,23049,k+16|0);e=O[a|0]|O[a+1|0]<<8;e=(e<<8|e>>>8)&65535}a=c>>>0>=e>>>0?275552:((c<<1)+a|0)+2|0;a=O[a|0]|O[a+1|0]<<8;Ne(b,(a<<8|a>>>8)&65535);o=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[k>>2]=N[a+64>>2]-1;ib(a,b,23096,k)}La=k+32|0;return o}function hh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;e=1;if((f|0)<=0){break a}g=O[a|0]|O[a+1|0]<<8;b:{if(!g){break b}e=a+2|0;if(e>>>0>d>>>0){break a}h=d-e|0;d=(g<<8|g>>>8)&65535;e=d<<2;if(h>>>0>>0){break a}f=f-e|0;N[b+12>>2]=f;e=0;if((f|0)<=0){break b}p=d>>>0<=1?1:d;n=N[c>>2];while(1){j=N[b+4>>2];e=((k<<2)+a|0)+2|0;if(j>>>0>e>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<4){break a}g=N[b+12>>2];d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);c:{if(!d){break c}if(d&128){break a}d=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+n|0;d:{if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<6){break d}h=g-10|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=d+4|0;if(h>>>0>f>>>0|f-h>>>0<2){break d}g=g-12|0;N[b+12>>2]=g;if((g|0)<=0){break d}i=O[h|0]|O[h+1|0]<<8;l=(i<<8|i>>>8)&65535;m=l<<1;if(i){i=d+6|0;if(i>>>0>f>>>0|f-i>>>0>>0){break d}g=g-m|0;N[b+12>>2]=g;if((g|0)<=0){break d}}i=O[d+2|0]|O[d+3|0]<<8;o=(i&65407)<<8|i>>>8;if((o&32767)>>>0>l>>>0){break d}d=O[d|0]|O[d+1|0]<<8;d=TE((d<<8|d>>>8)&65535,0,(o&65535)+l<<(i>>>7&1),0);if(Pa){break d}if(!d){break c}h=(h+m|0)+2|0;if(h>>>0>>0|f>>>0>>0|d>>>0>f-h>>>0){break d}d=g-d|0;N[b+12>>2]=d;if((d|0)>0){break c}}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;n=N[c>>2]}e=1;k=k+1|0;if((p|0)!=(k|0)){continue}break}}return e}return 0}function pf(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!(O[(T(c,9804)+b|0)+256|0]|!(a&4))){h=d>>31;h=(h^d)-h|0;a:{b:{c:{if((c|0)==1){if(a&2){break c}if(!(g&2)|h>>>0>=192){break b}f=h;break a}if(!(a&1)){break b}}d:{e:{f:{g:{h:{i:{e=T(c,9804)+b|0;b=N[e+52>>2];if(b){e=e+56|0;if((b|0)!=1){break i}f=98;g=h;break h}b=h+32&2147483584;g=h;break f}p=b&1;i=b&-2;f=98;b=0;g=h;while(1){n=N[(e+T(b|1,12)|0)+4>>2];j=h-n|0;k=j>>31;o=N[(e+T(b,12)|0)+4>>2];l=h-o|0;m=l>>31;l=(m^l)-m|0;m=(l|0)<(f|0);j=(k^j)-k|0;f=m?l:f;k=(j|0)<(f|0);f=k?j:f;g=k?n:m?o:g;b=b+2|0;if((i|0)!=(b|0)){continue}break}if(!p){break g}}e=N[(e+T(i,12)|0)+4>>2];i=h-e|0;b=i>>31;g=((b^i)-b|0)<(f|0)?e:g}b=g+32&-64;if((g|0)>(h|0)){break e}}b=(h|0)<(b|48)?g:h;break d}b=(h|0)>(b-48|0)?g:h}if((c|0)==1){f=64;if((b|0)<64){break a}f=b+16&-64;break a}if(a&8){f=64;if((b|0)<64){break a}f=b+32&-64;break a}if((b|0)<=47){f=b- -64>>1;break a}if(b>>>0<=127){f=b+22&-64;b=f-h|0;a=b>>31;if((a^b)-a>>>0<16){break a}if(h>>>0>47){f=h;break a}f=h- -64>>>1|0;break a}f=b+32&-64;break a}f=f&1?h>>>0<80?64:h:(h|0)<=56?56:h;a=T(c,9804)+b|0;if(!N[a+52>>2]){break a}a=N[a+60>>2];g=f-a|0;c=g>>31;if((c^g)-c>>>0<=39){f=(a|0)<=48?48:a;break a}if(f>>>0<=191){a=f&63;if(a>>>0<10){break a}b=f&2147483584;if(a>>>0<=31){f=b|10;break a}f=a>>>0<54?b|54:f;break a}a=0;j:{if(!((d|0)>0&(e|0)>0)&(d&e)>=0){break j}b=P[N[N[b+4>>2]+88>>2]+12>>1];if(b>>>0>=10){if(b>>>0>29){break j}e=(T(30-b|0,e)|0)/20|0}a=e>>31;a=(a^e)-a|0}f=(f-a|0)+32&-64}d=(d|0)<0?0-f|0:f}return d}function Vp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=N[a>>2];e=d+1|0;a:{if(e>>>0>c>>>0){break a}N[a>>2]=e;e=L[d|0];j=e&255;if((e|0)<0){e=d+2|0;if(e>>>0>c>>>0){break a}N[a>>2]=e;j=O[d+1|0]|j<<8&32512}d=N[b>>2];if((d|0)<0){break a}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(j>>>0>=d>>>0){continue}break}b:{if(d>>>0<=1073741823){e=$a(N[b+8>>2],d<<2);if(e){break b}}N[b>>2]=-1;return 0}N[b>>2]=d;N[b+8>>2]=e}N[b+4>>2]=j;if(j){e=N[a>>2];while(1){f=k;d=e+1|0;if(d>>>0>c>>>0){break a}N[a>>2]=d;g=O[e|0];m=g&127;l=m+1|0;k=l+f|0;if(k>>>0>j>>>0){break a}c:{if(g<<24>>24<0){if((l<<1)+d>>>0>c>>>0){break a}d:{if(!(l&1)){e=d;break d}d=O[e+1|0]|O[e+2|0]<<8;h=((d<<8|d>>>8)&65535)+h|0;N[N[b+8>>2]+(f<<2)>>2]=h;e=e+3|0;N[a>>2]=e;f=f+1|0}if(!m){break c}while(1){i=f<<2;d=O[e|0]|O[e+1|0]<<8;g=((d<<8|d>>>8)&65535)+h|0;N[i+N[b+8>>2]>>2]=g;N[a>>2]=e+2;d=O[e+2|0]|O[e+3|0]<<8;h=g+((d<<8|d>>>8)&65535)|0;N[(i+N[b+8>>2]|0)+4>>2]=h;e=e+4|0;N[a>>2]=e;f=f+2|0;if((k|0)!=(f|0)){continue}break}break c}if(d+l>>>0>c>>>0){break a}i=0;g=l&3;if(g){while(1){e=d+1|0;N[a>>2]=e;h=O[d|0]+h|0;N[N[b+8>>2]+(f<<2)>>2]=h;f=f+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(m>>>0<3){break c}while(1){N[a>>2]=d+1;i=f<<2;e=O[d|0]+h|0;N[i+N[b+8>>2]>>2]=e;N[a>>2]=d+2;e=e+O[d+1|0]|0;N[(i+N[b+8>>2]|0)+4>>2]=e;N[a>>2]=d+3;g=e+O[d+2|0]|0;N[(i+N[b+8>>2]|0)+8>>2]=g;e=d+4|0;N[a>>2]=e;h=g+O[d+3|0]|0;N[(i+N[b+8>>2]|0)+12>>2]=h;d=e;f=f+4|0;if((k|0)!=(f|0)){continue}break}}if(j>>>0>k>>>0){continue}break}}n=1}return n}function Hf(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}d=N[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}f=N[b+12>>2];e=f-2|0;N[b+12>>2]=e;g=1;if((e|0)<=0){return 0}e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}e=((e<<8|e>>>8)&65535)+c|0;b:{if(e>>>0>>0|d>>>0>>0){break b}c=d-e|0;if(c>>>0<2){break b}d=f-4|0;N[b+12>>2]=d;if((d|0)<=0){break b}c:{d:{e:{d=O[e|0]|O[e+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 2:break d;case 0:break e;default:break a}}if(c>>>0<6){break b}c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break b}break a}f:{g:{if(e>>>0>2]){break g}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<10){break g}f=N[b+12>>2];c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=e+6|0;if(c>>>0>d>>>0|d-c>>>0<2){break g}d=f-12|0;N[b+12>>2]=d;if((d|0)<=0){break g}d=O[c|0]|O[c+1|0]<<8;h:{if(!d){break h}if(Hd(e+((d<<8|d>>>8)&65535)|0,b)){break h}d=N[b+28>>2];if(d>>>0>31){break g}N[b+28>>2]=d+1;if(!O[b+24|0]){break g}L[c|0]=0;L[c+1|0]=0}d=e+8|0;if(d>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break g}f=O[d|0]|O[d+1|0]<<8;i:{if(!f){break i}if(Hd(e+((f<<8|f>>>8)&65535)|0,b)){break i}c=N[b+28>>2];if(c>>>0>31){break g}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;c=1}break f}c=0}if(!c){break b}break a}if(c>>>0<8){break b}c=f-12|0;N[b+12>>2]=c;if((c|0)>0){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;g=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;g=1}return g}function sB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=La-48|0;La=i;h=N[a+8>>2];e=6;a:{b:{c:{d:{if(N[b+72>>2]!=N[a+16>>2]){break d}e=19;if((c|0)!=2){break a}c=N[b+156>>2];e=N[c+4>>2];if(e&1){g=N[b+88>>2];if(g){Qa[N[h+8>>2]](h,g);c=N[b+156>>2];e=N[c+4>>2]}N[b+88>>2]=0;N[c+4>>2]=e&-2}e=98;c=0;if(ig(b,2,d)){break c}e:{g=N[b+84>>2];c=N[b+76>>2];if((g|c)<0){e=6;break e}e=0;f:{g:{if(!(!g|!c)){e=10;if((c|0)>(2147483647/(g>>>0)|0)){break e}f=T(c,g);e=Qa[N[h+4>>2]](h,f)|0;if(!e|(c|0)<=0){break g}G(e,0,f)}N[b+88>>2]=e;break f}N[b+88>>2]=e;if(e){break f}e=!e<<6;f=0;break d}c=N[b+156>>2];N[c+4>>2]=N[c+4>>2]|1;f=N[b+76>>2]-N[b+104>>2]<<6;c=0-(N[b+100>>2]<<6)|0;if(d){f=N[d+4>>2]+f|0;c=N[d>>2]+c|0}d=b+108|0;if(c|f){se(d,c,f)}e=0;N[i+8>>2]=0;N[i+4>>2]=d;N[i>>2]=b+76;a=Qa[N[a+56>>2]](N[a+52>>2],i)|0;if(a){e=a;break c}N[b+72>>2]=1651078259;break b}N[b+88>>2]=0}c=0}a=N[b+156>>2];d=N[a+4>>2];if(!(d&1)){break b}g=N[b+88>>2];if(g){Qa[N[h+8>>2]](h,g);a=N[b+156>>2];d=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=d&-2}if(!(c|f)){break a}d=M[b+110>>1];if((d|0)<=0){break a}b=N[b+112>>2];if(d>>>0>=4){h=d&-4;a=0;while(1){N[b>>2]=N[b>>2]-c;N[b+4>>2]=N[b+4>>2]-f;N[b+8>>2]=N[b+8>>2]-c;N[b+16>>2]=N[b+16>>2]-c;N[b+24>>2]=N[b+24>>2]-c;N[b+12>>2]=N[b+12>>2]-f;N[b+20>>2]=N[b+20>>2]-f;N[b+28>>2]=N[b+28>>2]-f;b=b+32|0;a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=d&3;if(!d){break a}a=0;while(1){N[b>>2]=N[b>>2]-c;N[b+4>>2]=N[b+4>>2]-f;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}La=i+48|0;return e|0}function jq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=U(0);if(!O[a+4442|0]){c=N[a+4416>>2];b=O[c+8|0]|O[c+9|0]<<8;i=(b<<8|b>>>8)&65535;b=N[a+4424>>2];if(i>>>0>b>>>0){b=(c+(b<<2)|0)+10|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=(c+2|0)+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}d=O[b+4|0]|O[b+5|0]<<8;b=(d<<8|d>>>8)&65535;N[a+4420>>2]=b;a:{if(!O[a+4440|0]){break a}b:{c:{e=N[a+4428>>2];if((e|0)>=0){if(b>>>0<=e>>>0){break b}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=1073741823){c=$a(N[a+4436>>2],e<<2);if(c){break c}}N[a+4428>>2]=-1}N[a+8>>2]=N[a+4>>2]+1;break a}N[a+4428>>2]=e;N[a+4436>>2]=c}c=N[a+4432>>2];if(c>>>0>>0){G(N[a+4436>>2]+(c<<2)|0,0,b-c<<2)}N[a+4432>>2]=b;c=N[a+4416>>2];f=N[a+4424>>2];d:{if(!d){N[147456]=0;b=589824;break d}b=N[a+4436>>2]}e=275552;g=c+2|0;d=O[c+8|0]|O[c+9|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:(c+(f<<2)|0)+10|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(d){e=g+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}d=N[a+4420>>2];c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){c=g+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0}else{c=275552}f=O[e+4|0]|O[e+5|0]<<8;j=(f<<8|f>>>8)&65535;g=d>>>0>j>>>0?j:d;if(g){k=N[a+4412>>2];i=N[a+4408>>2];f=0;while(1){h=(f<<1)+e|0;h=O[h+6|0]|O[h+7|0]<<8;l=b+(f<<2)|0,m=Lg(c,(h<<8|h>>>8)&65535,i,k,0),R[l>>2]=m;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(d>>>0<=j>>>0){break a}G(b+(g<<2)|0,0,d-g<<2)}L[a+4442|0]=1}}function Ds(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=N[a+16>>2];l=N[a+24>>2];f=l+1|0;g=N[a+28>>2];a:{b:{if(f>>>0<=g>>>0){i=N[a+32>>2];break b}N[a+36>>2]=b;if((f|g)<0|(f|0)>536870911){break a}c:{if(!g){i=Qa[N[b+4>>2]](b,f<<2)|0;b=!i<<6;break c}d=N[a+32>>2];b=Qa[N[b+12>>2]](b,g<<2,f<<2,d)|0;i=b?b:d;b=!b<<6}d:{if(!(b|(f|0)<=(g|0)|!i)){G((g<<2)+i|0,0,f-g<<2);N[a+32>>2]=i;break d}N[a+32>>2]=i;if(b){break a}}N[a+28>>2]=f}g=i;if(l){e=k+10|0;while(1){m=O[e+7|0]|O[e+8|0]<<8|(O[e+9|0]<<16|O[e+10|0]<<24);n=O[e|0];o=O[e+1|0];p=O[e+2|0];e:{f:{g:{b=O[e+3|0]|O[e+4|0]<<8|(O[e+5|0]<<16|O[e+6|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break g}d=b+N[a+16>>2]|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);f=d+4|0;j=0;while(1){if(b>>>0<=j>>>0){break g}d=b;b=b+j>>>1|0;h=f+(b<<2)|0;k=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];if(k>>>0>c>>>0){continue}j=b+1|0;b=d;if(O[h+3|0]+k>>>0>>0){continue}break}break f}b=m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24);if(!b){break e}d=b+N[a+16>>2]|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break e}f=d+4|0;j=0;while(1){h:{d=b+j>>>1|0;h=f+T(d,5)|0;k=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];i:{if(k>>>0>c>>>0){b=d;break i}if(c>>>0<=k>>>0){break h}j=d+1|0}if(b>>>0>j>>>0){continue}break e}break}if(!(O[h+4|0]|O[h+3|0]<<8)){break e}}N[g>>2]=o<<8|n<<16|p;g=g+4|0}e=e+11|0;l=l-1|0;if(l){continue}break}}N[g>>2]=0;j=i}return j|0}function Lu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=N[b>>2];if(!b){return 35}h=6;e=N[b+132>>2];a:{if(!e|Q[b+16>>2]<=c>>>0){break a}h=3;b=c?c-1|0:O[e+106|0];g=P[e+4>>1];c=(g|0)==768;f=T(b,c?6:4)+(c?148:118)|0;b=N[e+8>>2];if(f>>>0>=(b+(c?-4:-2)|0)-2>>>0){break a}k=N[e+160>>2];c=f+k|0;i=O[c|0]|O[c+1|0]<<8;N[a+80>>2]=i;if((g|0)==768){c=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24)}else{c=O[c+2|0]|O[c+3|0]<<8}if(b>>>0<=c>>>0){break a}g=P[e+96>>1];h=0;N[a+100>>2]=0;L[a+94|0]=1;N[a+76>>2]=g;e=P[e+80>>1];N[a+72>>2]=1651078259;N[a+104>>2]=e;j=i<<6;N[a+40>>2]=j;f=g<<6;N[a+28>>2]=f;N[a+24>>2]=j;N[a+32>>2]=0;e=e<<6;N[a+36>>2]=e;e=f-e|0;f=g?f:(T(e,12)|0)/10|0;N[a+52>>2]=f;N[a+48>>2]=(f-e|0)/2;N[a+44>>2]=0-(i<<5);if(d&4194304){break a}h=3;d=N[N[a+4>>2]+100>>2];j=i+7|0;f=j>>>3|0;N[a+84>>2]=f;if(!i){break a}e=b;b=T(f,g);if(e>>>0>>0){break a}b:{if(!g){e=0;break b}e=Qa[N[d+4>>2]](d,b)|0;if(e){break b}N[a+88>>2]=0;return 64}b=c+k|0;N[a+88>>2]=e;if(j&8){c=N[a+76>>2];if((c|0)>0){d=b+c|0;c=e;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}}e=e+1|0;d=f-1|0}else{d=f}if((f|0)!=1){while(1){c=N[a+76>>2];c:{if((c|0)<=0){break c}f=b+c|0;c=e;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}c=N[a+76>>2];if((c|0)<=0){break c}f=b+c|0;c=e+1|0;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}e=e+2|0;d=d-2|0;if(d){continue}break}}N[N[a+156>>2]+4>>2]=1;h=0}return h|0}function ee(a,b,c,d){var e=0,f=0,g=0;f=a<<8|(a&65280)>>>8;a=(((((f&1)<<1)+d|0)+(f&2)|0)+(a>>>9&2)|0)+(a>>>10&2)|0;a:{b:{if(!(f&16)){d=a;break b}if(a>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=O[a|0]|O[a+1|0]<<8;if(!e){break b}if(Hd(((e<<8|e>>>8)&65535)+c|0,b)){break b}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}f=f&65535;c:{if(!(f&32)){a=d;break c}if(Q[b+4>>2]>d>>>0){break a}a=N[b+8>>2];if(a>>>0>>0|a-d>>>0<2){break a}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){break a}a=d+2|0;e=O[d|0]|O[d+1|0]<<8;if(!e){break c}if(Hd(((e<<8|e>>>8)&65535)+c|0,b)){break c}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d:{if(!(f&64)){d=a;break d}if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=O[a|0]|O[a+1|0]<<8;if(!e){break d}if(Hd(((e<<8|e>>>8)&65535)+c|0,b)){break d}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}g=1;if(!(f&128)){break a}if(Q[b+4>>2]>d>>>0){return 0}a=N[b+8>>2];if(a>>>0>>0){return 0}if(a-d>>>0<2){return 0}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){return 0}a=O[d|0]|O[d+1|0]<<8;if(!a){break a}if(Hd(((a<<8|a>>>8)&65535)+c|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){return 0}N[b+28>>2]=a+1;g=0;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;g=1}return g}function Bf(a,b,c,d){var e=0,f=0,g=0,h=0;if(N[b+24>>2]){return 0}a:{b:{c:{if(Q[b>>2]<=a>>>0){d:{f=N[b+4>>2];if(f>>>0>>0){break c}if(f-a>>>0>=7){break b}e=a+6|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[b+8>>2]-f|0))){break a}if((e|0)!=(f|0)){G(f,0,g);f=N[b+4>>2]}N[b+4>>2]=f+g;g=0;e:{if(!f){break e}d=d<<8|(d&65280)>>>8;L[a+2|0]=d;L[a+3|0]=d>>>8;c=c<<8|(c&65280)>>>8;L[a|0]=c;L[a+1|0]=c>>>8;if(N[b+24>>2]){break e}c=a+4|0;if(c>>>0>2]){break d}d=N[b+4>>2];if(d>>>0>>0){break c}if(d-c>>>0>=3){break b}f=e-d|0;if(!((f|0)>=0&(f|0)<=(N[b+8>>2]-d|0))){break a}if((d|0)!=(e|0)){G(d,0,f);e=N[b+4>>2]}N[b+4>>2]=e+f;if(!e){break e}L[c|0]=0;L[c+1|0]=1;if(N[b+24>>2]){break e}if(c>>>0>2]){break d}e=N[b+4>>2];if(c>>>0>e>>>0){break c}if(e-c>>>0>=5){break b}f=a+8|0;d=f-e|0;if(!((d|0)>=0&(d|0)<=(N[b+8>>2]-e|0))){break a}if((e|0)!=(f|0)){G(e,0,d);e=N[b+4>>2]}d=d+e|0;N[b+4>>2]=d;if(!e){break e}g=1;e=O[a+2|0]|O[a+3|0]<<8;if(!(e&4096)){break e}g=0;if(N[b+24>>2]){break e}if(Q[b>>2]>a>>>0){break d}if(a>>>0>d>>>0){break c}h=d-a|0;f=O[a+4|0]|O[a+5|0]<<8;e=((c+(((f<<8|f>>>8)&65535)<<1)|0)+(e>>>11&2)|0)+2|0;a=e-a|0;if(h>>>0>a>>>0){break b}if((a|0)<0){break e}a=e-d|0;if(!((a|0)>=0&(a|0)<=(N[b+8>>2]-d|0))){break a}if((d|0)!=(e|0)){G(d,0,a);d=N[b+4>>2]}N[b+4>>2]=a+d;if(!d){return 0}g=1;a=O[c|0]|O[c+1|0]<<8;a=c+(((a<<8|a>>>8)&65535)<<1)|0;L[a+2|0]=0;L[a+3|0]=0}return g}}ba(13866,14296,669,15286);F()}ba(16941,14296,670,15286);F()}ba(15351,14296,671,15286);F()}N[b+24>>2]=4;return 0}function QD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=La-16|0;La=g;f=N[b>>2];a=aq(f+28|0);b=N[a+4>>2];a:{b:{c:{d:{e:{if((b|0)!=131072){if((b|0)!=65536|c>>>0>257){break d}b=c<<2;a=N[b+267632>>2];b=N[b+267636>>2]+(a^-1)|0;a=a+268668|0;break e}b=N[a+8>>2];h=O[b|0]|O[b+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0<=c>>>0){break d}b=b+(c<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0<=257){b=b<<2;a=N[b+267632>>2];b=N[b+267636>>2]+(a^-1)|0;a=a+268668|0;break e}b=b-258|0;if(b>>>0>=Q[a+16>>2]){break d}b=N[a+24>>2]+N[N[a+20>>2]+(b<<2)>>2]|0;a=b+1|0;b=O[b|0]}if(!(!e|!b)){c=a;a=e-1|0;b=a>>>0>>0?a:b;fg(d,c,b);break c}a=1;if(b){break a}}b=N[f+64>>2];f:{if(b){break f}while(1){a=N[f>>2];if(!a){b=275552;break f}b=db(1,224);if(!b){b=275552;N[f+64>>2]=275552;break f}N[b+36>>2]=65536;Jg(b,a);N[b+220>>2]=0;if(!N[f+64>>2]){N[f+64>>2]=b;break f}Ke(b);_a(wf(b));b=N[f+64>>2];if(!b){continue}break}}a=0;if(!N[b+44>>2]|N[b+148>>2]!=-1){break a}if(!e){break b}g:{h:{f=N[b+52>>2];i:{j:{if((f|0)!=275552){f=$p(f,c,N[b+216>>2]);break j}f=0;k:{switch(N[b+172>>2]){case 0:f=c>>>0<229?c:0;break i;case 1:if(c>>>0>165){break i}f=P[(c<<1)+265824>>1];break j;case 2:break k;default:break i}}if(c>>>0>86){break i}f=P[(c<<1)+266160>>1]}if(f>>>0>390){break h}}b=f<<2;c=N[b+270528>>2];b=N[b+270532>>2]+(c^-1)|0;c=c+272096|0;break g}fd(g+4|0,N[b+64>>2],f-391|0);b=N[g+8>>2];c=N[g+4>>2]}if(!b){break a}a=e-1|0;b=a>>>0>>0?a:b;fg(d,c,b)}L[b+d|0]=0}a=1}La=g+16|0;return a|0}function Uw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=La-80|0;La=l;d=6;i=N[a+532>>2];a:{if(!i){break a}j=N[i+4>>2];if(j){f=i+88|0;g=l+32|0;while(1){h=T(c,12);e=h+g|0;N[e>>2]=N[((c<<2)+i|0)+8>>2];h=f+h|0;m=N[h+4>>2];N[e+4>>2]=N[m>>2];N[e+8>>2]=N[(m+(O[h|0]<<2)|0)-4>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}}g=N[i>>2];e=0;h=j<<1;f=h+3&-4;c=(f+T(j,24)|0)+20|0;b:{if((c|0)<=0){if(!c){break b}break a}a=N[a+100>>2];e=Qa[N[a+4>>2]](a,c)|0;if(!e){d=64;break a}G(e,0,c)}a=0;N[e+8>>2]=0;N[e+4>>2]=g;N[e>>2]=j;c=e+20|0;c:{if(!j){N[e+16>>2]=0;N[e+12>>2]=c+f;break c}G(c,0,h);N[e+16>>2]=0;f=c+f|0;N[e+12>>2]=f;while(1){c=T(a,24)+f|0;g=(l+24|0)+T(a,12)|0;d=N[g+8>>2];N[c>>2]=d;N[c+4>>2]=N[g+12>>2]<<16;g=N[g+16>>2];N[c+16>>2]=-1;N[c+20>>2]=-1;N[c+12>>2]=g<<16;d:{if(!d){break d}k=2003265652;e:{if(!cb(d,9465)){break e}k=2003072104;if(!cb(d,14033)){break e}if(cb(d,15435)){break d}k=1869640570}N[c+16>>2]=k}a=a+1|0;if((j|0)!=(a|0)){continue}break}Kh(N[i+140>>2],l,N[i+4>>2]);a=0;while(1){h=N[(a<<2)+l>>2];d=T(a,12)+i|0;g=N[d+96>>2];f:{if((h|0)>N[g>>2]){c=1;m=O[d+88|0];if(m>>>0>1){while(1){n=c<<2;k=N[g+n>>2];if((h|0)<=(k|0)){c=n-4|0;f=N[c+g>>2];f=fb(h-f|0,k-f|0);d=N[d+92>>2];c=N[d+c>>2];c=T(N[d+n>>2]-c|0,f)+(c<<16)|0;f=N[e+12>>2];break f}c=c+1|0;if((m|0)!=(c|0)){continue}break}}c=N[(N[d+92>>2]+(m<<2)|0)-4>>2]<<16;break f}c=N[N[d+92>>2]>>2]<<16}N[(T(a,24)+f|0)+8>>2]=c;a=a+1|0;if((j|0)!=(a|0)){continue}break}}N[b>>2]=e;d=0}La=l+80|0;return d|0}function Uc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=N[a+356>>2];k=P[a+340>>1];a:{b:{if(!k){g=-1;h=-1;i=-1;break b}g=-1;h=-1;e=-1;i=-1;d=j;while(1){c:{if(!P[d+8>>1]|P[d+6>>1]!=(b|0)){break c}d:{switch(P[d>>1]){case 0:case 2:g=f;break c;case 1:if(!P[d+4>>1]){e=f;break c}i=P[d+2>>1]?i:f;break c;case 3:break d;default:break c}}l=P[d+4>>1]&1023;if((h|0)!=-1&(l|0)!=9){break c}m=P[d+2>>1];if(m>>>0>10|!(1<=0){break a}}e=i}i=N[a+100>>2];e:{f:{g:{h:{i:{j:{k:{if((h|0)>=0){b=184;if(((e|0)<0|d)!=1){break k}d=j+T(h,20)|0;f=P[d+2>>1];if(f>>>0<=10){break j}break e}b=184;if((e|0)>=0){break k}b=185;e=g;if((e|0)>=0){break k}break e}if(j){d=j+T(e,20)|0;break i}break e}b=185;e=0;if(!(1<>2]){break l}e=N[a+368>>2];f=P[d+8>>1];m:{if(!f){a=0;break m}a=Qa[N[i+4>>2]](i,f)|0;if(!a){break g}G(a,0,f)}N[d+16>>2]=a;f=N[d+12>>2];g=N[e+20>>2];n:{o:{if(g){g=Qa[g|0](e,f,0,0)|0;a=N[d+16>>2];if(g){break n}g=N[e+4>>2];break o}g=N[e+4>>2];if(f>>>0>g>>>0){break n}}N[e+8>>2]=f;if(f>>>0>=g>>>0){break n}h=P[d+8>>1];j=N[e+20>>2];p:{if(j){g=Qa[j|0](e,f,a,h)|0;break p}j=a;a=g-f|0;g=a>>>0>>0?a:h;B(j,f+N[e>>2]|0,g)}N[e+8>>2]=f+g;if(g>>>0>=h>>>0){break l}a=N[d+16>>2]}b=85;if(!a){break f}Qa[N[i+8>>2]](i,a);break f}e=Qa[b|0](d,i)|0}N[c>>2]=e;return 0}N[d+16>>2]=0;b=64}M[d+8>>1]=0;N[d+16>>2]=0;N[c>>2]=0;return b|0}N[c>>2]=0;return 0}function ef(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;a:{if(!c){break a}w=(f<<1)+d|0;if(!w){while(1){k=k+8|0;if(k>>>0>>0){continue}break a}}m=d<<3;G=f<<3;while(1){n=0;l=0;while(1){d=l-G|0;g=d>>>0>=m>>>0?440592:(d<<1)+b|0;x=M[g+14>>1];y=M[g>>1];z=M[g+12>>1];A=M[g+10>>1];B=M[g+8>>1];C=M[g+6>>1];D=M[g+4>>1];E=M[g+2>>1];o=32768;p=32768;q=32768;r=32768;s=32768;t=32768;u=32768;v=32768;d=f;while(1){F=d-1|0;j=M[(F<<1)+e>>1];h=(d-f<<3)+l|0;h=h>>>0>=m>>>0?440592:(h<<1)+b|0;i=l-(d+f<<3)|0;i=i>>>0>=m>>>0?440592:(i<<1)+b|0;o=T(j,(P[h+14>>1]-x<<16>>16)+(P[i+14>>1]-x<<16>>16)|0)+o|0;p=T((P[h+12>>1]-z<<16>>16)+(P[i+12>>1]-z<<16>>16)|0,j)+p|0;q=T((P[h+10>>1]-A<<16>>16)+(P[i+10>>1]-A<<16>>16)|0,j)+q|0;r=T((P[h+8>>1]-B<<16>>16)+(P[i+8>>1]-B<<16>>16)|0,j)+r|0;s=T((P[h+6>>1]-C<<16>>16)+(P[i+6>>1]-C<<16>>16)|0,j)+s|0;t=T((P[h+4>>1]-D<<16>>16)+(P[i+4>>1]-D<<16>>16)|0,j)+t|0;u=T((P[h+2>>1]-E<<16>>16)+(P[i+2>>1]-E<<16>>16)|0,j)+u|0;v=T((P[h>>1]-y<<16>>16)+(P[i>>1]-y<<16>>16)|0,j)+v|0;j=(d|0)>1;d=F;if(j){continue}break}M[a>>1]=P[g>>1]+(v>>>16|0);M[a+2>>1]=P[g+2>>1]+(u>>>16|0);M[a+4>>1]=P[g+4>>1]+(t>>>16|0);M[a+6>>1]=P[g+6>>1]+(s>>>16|0);M[a+8>>1]=P[g+8>>1]+(r>>>16|0);M[a+10>>1]=P[g+10>>1]+(q>>>16|0);M[a+12>>1]=P[g+12>>1]+(p>>>16|0);M[a+14>>1]=P[g+14>>1]+(o>>>16|0);l=l+8|0;a=a+16|0;n=n+1|0;if((w|0)!=(n|0)){continue}break}b=(m<<1)+b|0;k=k+8|0;if(k>>>0>>0){continue}break}}}function xm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-48|0;La=e;g=N[a+4>>2];L[b+557|0]=0;N[b+560>>2]=a;a:{if(!N[b+116>>2]|!N[b+120>>2]){break a}h=b+188|0;G(h,0,364);N[b+528>>2]=3932;N[b+520>>2]=-1;N[b+392>>2]=1;N[b+588>>2]=d;N[b+584>>2]=c;N[b+552>>2]=b;N[b+384>>2]=2596864;N[b+388>>2]=7;b:{if(!O[a+32|0]){f=97;c=8192;break b}f=N[a+1556>>2]+1|0;c=20480}i=N[a>>2];d=N[i>>2];j=N[b+176>>2];N[e+20>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+40>>2]=h;N[e+36>>2]=c;N[e+8>>2]=i;N[e+44>>2]=j;c:{d:{e:{f:{g:{if((f|0)<0){break g}if(!f){d=0;N[e+24>>2]=0;break e}if((f|0)>536870911){break g}c=f<<2;d=Qa[N[d+4>>2]](d,c)|0;if(!d|(f|0)<=0){break f}G(d,0,c);N[e+24>>2]=d;break e}f=0;break c}N[e+24>>2]=d;if(!d){break d}}N[e+28>>2]=d;N[e+32>>2]=f;a=N[b+116>>2]+N[a+12>>2]|0;c=N[g+20>>2];h:{if(c){f=85;if(!(Qa[c|0](g,a,0,0)|0)){break h}break c}f=85;if(a>>>0>Q[g+4>>2]){break c}}N[g+8>>2]=a;f=Bb(g,N[b+120>>2]);if(f){break c}f=zm(e+8|0,N[g+32>>2],N[g+36>>2]);if(N[g+20>>2]){a=N[g>>2];if(a){c=N[g+28>>2];Qa[N[c+8>>2]](c,a)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;if(f){break c}L[b+188|0]=O[b+188|0]&254;a=N[b+532>>2];i:{j:{if((a|0)<0){a=0-a|0;break j}if(a){break i}a=987654321}N[b+532>>2]=a}if(Q[b+388>>2]>=1001){N[b+388>>2]=7}f=0;if(Q[b+392>>2]<1001){break c}N[b+392>>2]=1;break c}f=0;N[e+24>>2]=0}N[b+600>>2]=0;N[b+596>>2]=N[b+592>>2];a=N[e+24>>2];if(!a){break a}b=N[N[e+8>>2]>>2];Qa[N[b+8>>2]](b,a)}La=e+48|0;return f|0}function Ff(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=lc(a+148|0)}a=N[a>>2];a=a?a:275552;g=Q[a+16>>2]<4?275552:N[a+12>>2]}a=g;b=275552;c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}g=O[a+4|0]|O[a+5|0]<<8;b=275552;if(!g){break c}b=((g<<8|g>>>8)&65535)+a|0}g=O[b|0]|O[b+1|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>c>>>0){c=(b+T(c,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(c){b=b+((c<<8|c>>>8)&65535)|0}else{b=275552}d:{e:{f:{g:{if((d|0)==65535){d=O[b|0]|O[b+1|0]<<8;c=238128;if(!d){break g}c=b+((d<<8|d>>>8)&65535)|0;break g}c=O[b+2|0]|O[b+3|0]<<8;d=((c<<8|c>>>8)&65535)>>>0<=d>>>0?275552:(b+T(d,6)|0)+4|0;d=O[d+4|0]|O[d+5|0]<<8;c=238128;if(!d){break g}c=b+((d<<8|d>>>8)&65535)|0}b=O[c+4|0]|O[c+5|0]<<8;if(!b){break f}g=c+4|0;b=(b<<8|b>>>8)&65535;j=b>>>0<=1?1:b;b=0;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?238136:(g+(b<<1)|0)+2|0;d=O[c|0]|O[c+1|0]<<8;i=d<<8|d>>>8;c=i&65535;if((d|0)==65535){d=0}else{d=275552;h:{if((O[a|0]|O[a+1|0]<<8)!=256){break h}h=O[a+6|0]|O[a+7|0]<<8;d=275552;if(!h){break h}d=((h<<8|h>>>8)&65535)+a|0}h=O[d|0]|O[d+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0>(i&65535)>>>0){d=(d+T(c,6)|0)+2|0}else{d=275552}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((d|0)!=(e|0)){b=b+1|0;if((j|0)==(b|0)){break f}continue}break}b=1;if(f){break e}break d}c=65535;b=0;if(!f){break d}}N[f>>2]=c}return b}function gl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break b}e=N[b+12>>2];d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=a+4|0;if(d>>>0>f>>>0|f-d>>>0<4){break b}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break b}g=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(g&128){break b}d=O[a+2|0]|O[a+3|0]<<8;if(d){g=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+c|0;if(g>>>0>>0|f>>>0>>0){break b}h=f-g|0;g=((d<<8|d>>>8)&65535)<<2;if(h>>>0>>0){break b}e=e-g|0;N[b+12>>2]=e;if((e|0)<=0){break b}}h=O[a|0]|O[a+1|0]<<8;if(!h){return 1}g=a+8|0;if(g>>>0>>0|f>>>0>>0){break b}h=(h<<8|h>>>8)&65535;j=h<<3;if(j>>>0>f-g>>>0){break b}a=e-j|0;N[b+12>>2]=a;if((a|0)<=0){break b}if(d){j=((d<<8|d>>>8)&65535)<<1;e=0;while(1){k=0;d=g+(e<<3)|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<8){break b}N[b+12>>2]=a-8;if((a|0)<9){break b}d=d+6|0;if(d>>>0>f>>>0|f-d>>>0<2){break b}l=a-10|0;N[b+12>>2]=l;if((a|0)<11){break b}a=O[d|0]|O[d+1|0]<<8;a=((a<<8|a>>>8)&65535)+c|0;if(a>>>0>>0|a>>>0>f>>>0|j>>>0>f-a>>>0){break b}a=l-j|0;N[b+12>>2]=a;if((a|0)<=0){break b}k=1;e=e+1|0;if((h|0)!=(e|0)){continue}break}break b}d=((j^-1)+e>>>0)/10|0;e=0;while(1){c=g+(e<<3)|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<8){break a}N[b+12>>2]=a-8;if((a|0)<9){break a}c=c+6|0;if(c>>>0>f>>>0|f-c>>>0<2){break a}a=a-10|0;N[b+12>>2]=a;if((d|0)==(e|0)){break a}k=1;e=e+1|0;if((h|0)!=(e|0)){continue}break}}return k}return 0}function Dn(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;k=N[a+8>>2];a:{b:{l=N[a+12>>2];h=N[l+36>>2];c:{if((h|0)<=0){if(!h){break c}d=6;break b}j=Qa[N[k+4>>2]](k,h)|0;if(!j){d=64;break b}G(j,0,h);i=j}N[i+100>>2]=k;N[i+96>>2]=a;N[i+104>>2]=N[b>>2];if(c){N[i+8>>2]=N[i+8>>2]|1024}d:{j=Qa[N[k+4>>2]](k,68)|0;if(!j){d=64;break d}h=0;G(j,0,68);N[i+128>>2]=j;e:{if((e|0)<=0){break e}a=0;while(1){if(h){break e}h=0;c=(a<<3)+f|0;if(N[c>>2]==1768842098){h=N[c+4>>2];N[j+52>>2]=h}a=a+1|0;if((e|0)!=(a|0)){continue}break}}N[j+60>>2]=-1;a=N[l+48>>2];f:{if(!a){N[b>>2]=N[i+104>>2];break f}d=Qa[a|0](N[b>>2],i,d,e,f)|0;N[b>>2]=N[i+104>>2];if(d){break d}}b=N[i+40>>2];g:{if(!b){break g}a=b+(N[i+36>>2]<<2)|0;c=a-4|0;h:{if(b>>>0<=c>>>0){while(1){h=N[c>>2];i:{if(N[h+4>>2]!=1970170211){break i}j:{switch(P[h+8>>1]){case 3:if(P[h+10>>1]!=10){break i}break h;case 0:break j;default:break i}}if(P[h+10>>1]==4){break h}}c=c-4|0;if(b>>>0<=c>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break g}h=N[a>>2];if(N[h+4>>2]!=1970170211){continue}break}}N[i+92>>2]=h}N[g>>2]=i;return 0}if(N[i+36>>2]>0){h=0;while(1){b=h<<2;e=N[b+N[i+40>>2]>>2];c=N[N[e>>2]+100>>2];a=N[N[e+12>>2]+8>>2];if(a){Qa[a|0](e)}Qa[N[c+8>>2]](c,e);N[b+N[i+40>>2]>>2]=0;h=h+1|0;if((h|0)>2]){continue}break}}a=N[i+40>>2];if(a){Qa[N[k+8>>2]](k,a)}N[i+36>>2]=0;N[i+40>>2]=0;a=0;break a}j=0;a=1}b=N[l+52>>2];if(b){Qa[b|0](i)}if(j){Qa[N[k+8>>2]](k,j)}if(!a){Qa[N[k+8>>2]](k,i)}N[g>>2]=0;return d}function bp(a){var b=0,c=0,d=0,e=0,f=0;c=a>>>0>1073741823;b=c<<31;d=b;e=b|1073741824;f=b|536870912;b=(c<<30)+a<<1;c=f>>>0>b>>>0;a=c?d:e;b=b+(c?0:1610612736)<<1;c=a|268435456;d=b>>>0>>0;a=d?a:a|536870912;b=b-(d?0:c)<<1;c=a|134217728;d=b>>>0>>0;a=d?a:a|268435456;b=b-(d?0:c)<<1;c=a+67108864|0;d=b>>>0>>0;a=d?a:a- -134217728|0;b=b-(d?0:c)<<1;c=a+33554432|0;d=b>>>0>>0;a=d?a:a+67108864|0;b=b-(d?0:c)<<1;c=a+16777216|0;d=b>>>0>>0;a=d?a:a+33554432|0;b=b-(d?0:c)<<1;c=a+8388608|0;d=b>>>0>>0;a=d?a:a+16777216|0;b=b-(d?0:c)<<1;c=a+4194304|0;d=b>>>0>>0;a=d?a:a+8388608|0;b=b-(d?0:c)<<1;c=a+2097152|0;d=b>>>0>>0;a=d?a:a+4194304|0;b=b-(d?0:c)<<1;c=a- -1048576|0;d=b>>>0>>0;a=d?a:a+2097152|0;b=b-(d?0:c)<<1;c=a+524288|0;d=b>>>0>>0;a=d?a:a- -1048576|0;b=b-(d?0:c)<<1;c=a+262144|0;d=b>>>0>>0;a=d?a:a+524288|0;b=b-(d?0:c)<<1;c=a+131072|0;d=b>>>0>>0;a=d?a:a+262144|0;b=b-(d?0:c)<<1;c=a+65536|0;d=b>>>0>>0;a=d?a:a+131072|0;b=b-(d?0:c)<<1;c=a+32768|0;d=b>>>0>>0;a=d?a:a+65536|0;b=b-(d?0:c)<<1;c=a+16384|0;d=b>>>0>>0;a=d?a:a+32768|0;b=b-(d?0:c)<<1;c=a- -8192|0;d=b>>>0>>0;a=d?a:a+16384|0;b=b-(d?0:c)<<1;c=a+4096|0;d=b>>>0>>0;a=d?a:a- -8192|0;b=b-(d?0:c)<<1;c=a+2048|0;d=b>>>0>>0;a=d?a:a+4096|0;b=b-(d?0:c)<<1;c=a+1024|0;d=b>>>0>>0;a=d?a:a+2048|0;b=b-(d?0:c)<<1;c=a+512|0;d=b>>>0>>0;a=d?a:a+1024|0;b=b-(d?0:c)<<1;c=a+256|0;d=b>>>0>>0;a=d?a:a+512|0;return(a+128>>>0>b-(d?0:c)<<1>>>0?a:a+256|0)>>>8|0}function zo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;a:{b:{h=N[b+36>>2];if((h|0)<=0){break b}e=N[b+40>>2];c=-1;while(1){c:{f=N[(d<<2)+e>>2];i=P[f+8>>1];if((i|0)!=3){break c}d:{switch(P[f+10>>1]-1|0){case 0:case 9:break d;default:break c}}if(!e|(!b|!f)){break a}a=(h<<2)+e|0;while(1){e:{if((f|0)!=N[e>>2]){break e}d=N[f>>2];f:{if(!d){break f}d=N[d+96>>2];c=N[N[d>>2]+32>>2];if(!c){break f}d=Qa[c|0](d,10557)|0;if(!d){break f}if(Qa[N[d>>2]](f,g+8|0)|0){break f}if(N[g+12>>2]==14){break e}}N[b+92>>2]=N[e>>2];break a}e=e+4|0;if(a>>>0>e>>>0){continue}break}break a}c=(i|0)==3?(c|0)<0?d:c:c;d=d+1|0;if((h|0)!=(d|0)){continue}break}if((c|0)<0){break b}a=N[(c<<2)+e>>2];if(!a|!e){break a}d=(h<<2)+e|0;while(1){g:{if((a|0)!=N[e>>2]){break g}c=N[a>>2];h:{if(!c){break h}c=N[c+96>>2];f=N[N[c>>2]+32>>2];if(!f){break h}c=Qa[f|0](c,10557)|0;if(!c){break h}if(Qa[N[c>>2]](a,g+8|0)|0){break h}if(N[g+12>>2]==14){break g}}N[b+92>>2]=N[e>>2];break a}e=e+4|0;if(d>>>0>e>>>0){continue}break}break a}if(N[b+92>>2]){break a}if(!h){mb(a,2,10475,0);break a}mb(a,2,15624,0);d=N[b+40>>2];a=N[d>>2];if(!a){break a}e=N[b+36>>2];if((e|0)<=0){break a}e=(e<<2)+d|0;while(1){i:{if((a|0)!=N[d>>2]){break i}c=N[a>>2];j:{if(!c){break j}c=N[c+96>>2];f=N[N[c>>2]+32>>2];if(!f){break j}c=Qa[f|0](c,10557)|0;if(!c){break j}if(Qa[N[c>>2]](a,g+8|0)|0){break j}if(N[g+12>>2]==14){break i}}N[b+92>>2]=N[d>>2];break a}d=d+4|0;if(e>>>0>d>>>0){continue}break}}La=g+16|0}function qf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=T(d,1348)+a|0;h=N[g+44>>2];c=b?N[(T(b,12)+c|0)-12>>2]:0;f=N[N[a+2748>>2]+40>>2];e=(f|0)/256|0;if((h|0)>0){k=(T(f,6e3)|0)/2048|0;b=N[g+52>>2];i=b+T(h,44)|0;l=f+255>>>0<511?1:e;j=N[(T(d,1348)+a|0)+68>>2];a:{if(!c){d=b;while(1){if((j|0)==L[d+1|0]){f=M[d+2>>1];a=b;while(1){b:{if((j|0)!=(0-L[a+1|0]|0)){break b}g=M[a+2>>1];if((g|0)<=(f|0)){break b}e=M[d+8>>1];c=M[a+8>>1];h=(c|0)>(e|0)?e:c;e=M[d+6>>1];c=M[a+6>>1];c=h-((c|0)<(e|0)?e:c)|0;if((c|0)<(l|0)){break b}c=(g-f|0)+((k|0)/(c|0)|0)|0;if((c|0)>2]){N[d+20>>2]=a;N[d+28>>2]=c}if((c|0)>=N[a+28>>2]){break b}N[a+20>>2]=d;N[a+28>>2]=c}a=a+44|0;if(i>>>0>a>>>0){continue}break}}d=d+44|0;if(i>>>0>d>>>0){continue}break}break a}d=b;while(1){if((j|0)==L[d+1|0]){h=M[d+2>>1];a=b;while(1){c:{if((j|0)!=(0-L[a+1|0]|0)){break c}f=M[a+2>>1];if((f|0)<=(h|0)){break c}g=M[d+8>>1];e=M[a+8>>1];m=(e|0)>(g|0)?g:e;g=M[d+6>>1];e=M[a+6>>1];g=m-((e|0)<(g|0)?g:e)|0;if((g|0)<(l|0)){break c}e=(f-h<<10)/(c|0)|0;f=32e3;d:{if((e|0)>11024){break d}f=0;if((e|0)<1025){break d}e=e-1024|0;f=(T(e,e)>>>0)/3e3|0}e=f+((k|0)/(g|0)|0)|0;if((e|0)>2]){N[d+20>>2]=a;N[d+28>>2]=e}if((e|0)>=N[a+28>>2]){break c}N[a+20>>2]=d;N[a+28>>2]=e}a=a+44|0;if(i>>>0>a>>>0){continue}break}}d=d+44|0;if(i>>>0>d>>>0){continue}break}}while(1){a=N[b+20>>2];if(!(!a|N[a+20>>2]==(b|0))){N[b+20>>2]=0;N[b+24>>2]=N[a+20>>2]}b=b+44|0;if(i>>>0>b>>>0){continue}break}}}function Ge(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((O[a|0]|O[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!Gf(a+4|0,b,a)){break a}d=a+8|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b:{if(!c){break b}if(c&128){break a}if(Dd((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}d=a+12|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c:{if(!c){break c}if(c&128){break a}if(Dd((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}d=a+16|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d:{if(!c){break d}if(c&128){break a}if(Dd((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break d}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;e=0;if(!O[b+24|0]){break d}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;e=1}return e}return 0}function vd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{f=c-b|0;if(N[a+20>>2]==2|f>>>0<2){break a}i=N[a+84>>2];k=N[(i+T(b,20)|0)+8>>2];g=k;l=b+1|0;b:{if(l>>>0>=c>>>0){break b}m=f-2|0;j=(b^-1)+c&3;if(j){h=b+j|0;f=0;e=l;while(1){d=N[(T(e,20)+i|0)+8>>2];g=d>>>0>g>>>0?g:d;e=e+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}f=h+1|0}else{f=l}if(m>>>0<=2){break b}while(1){h=T(f,20)+i|0;d=N[h+8>>2];e=d>>>0>g>>>0?g:d;d=N[h+28>>2];e=e>>>0>>0?e:d;d=N[h+48>>2];e=e>>>0>>0?e:d;d=N[h+68>>2];g=e>>>0>>0?e:d;f=f+4|0;if((f|0)!=(c|0)){continue}break}}h=0;d=b;while(1){c:{f=h;e=d;if(!d){f=b;e=0;break c}h=f+1|0;d=e-1|0;if((k|0)==N[(T(d,20)+i|0)+8>>2]){continue}}break}d:{e:{f:{d=N[a+72>>2];if(d>>>0<=c>>>0){break f}while(1){h=T(c,20)+i|0;if(N[h-12>>2]!=N[h+8>>2]){break f}c=c+1|0;if((d|0)!=(c|0)){continue}break}break e}if((c|0)!=(d|0)){break d}}c=N[a+64>>2];k=N[a+68>>2];g:{if(c>>>0>=k>>>0){break g}m=(T(d,20)+i|0)-12|0;h=N[a+80>>2];while(1){j=h+T(c,20)|0;a=N[j+8>>2];if((a|0)!=N[m>>2]){break g}if((a|0)!=(g|0)){N[j+4>>2]=N[j+4>>2]&-8}N[j+8>>2]=g;c=c+1|0;if((k|0)!=(c|0)){continue}break}}c=d}if(c>>>0<=e>>>0){break a}if((f-b|0)+c&1){a=T(e,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;e=e+1|0}if((l-f|0)==(c|0)){break a}while(1){a=T(e,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;a=T(e+1|0,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;e=e+2|0;if(e>>>0>>0){continue}break}}}function uk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}e=N[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}i=N[b+12>>2];g=i-2|0;N[b+12>>2]=g;f=1;if((g|0)<=0){return 0}g=O[a|0]|O[a+1|0]<<8;a:{if(!g){break a}b:{g=((g<<8|g>>>8)&65535)+c|0;if(g>>>0>>0|e>>>0>>0|e-g>>>0<2){break b}c=i-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}h=O[g|0]|O[g+1|0]<<8;if(!h){break a}f=g+2|0;if(f>>>0>e>>>0){break b}d=e-f|0;e=(h<<8|h>>>8)&65535;f=e<<1;if(d>>>0>>0){break b}c=c-f|0;N[b+12>>2]=c;if((c|0)<=0){break b}j=e>>>0<=1?1:e;h=0;while(1){d=N[b+4>>2];f=(g+(h<<1)|0)+2|0;if(d>>>0>f>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-f>>>0<2){break b}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[f|0]|O[f+1|0]<<8;c:{if(!c){break c}c=g+((c<<8|c>>>8)&65535)|0;d:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break d}d=i-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>e>>>0|e-d>>>0<2){break d}i=i-6|0;N[b+12>>2]=i;if((i|0)<=0){break d}d=O[c+2|0]|O[c+3|0]<<8;k=((d<<8|d>>>8)&65535)<<2;d=O[c|0]|O[c+1|0]<<8;d=k+(d?(((d<<8|d>>>8)&65535)<<1)-2|0:0)|0;if(!d){break c}c=c+4|0;if(c>>>0>e>>>0|d>>>0>e-c>>>0){break d}c=i-d|0;N[b+12>>2]=c;if((c|0)>0){break c}}c=N[b+28>>2];if(c>>>0>31){break b}N[b+28>>2]=c+1;if(!O[b+24|0]){break b}L[f|0]=0;L[f+1|0]=0}f=1;h=h+1|0;if((j|0)!=(h|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;f=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;f=1}return f}function LA(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0;G(a,0,1516);m=7;j=N[b+96>>2];a:{if(!j){break a}b:{k=N[N[j>>2]+32>>2];if(k){l=Qa[k|0](j,10566)|0;if(l){break b}}k=N[j+4>>2];l=N[k+16>>2];if((l|0)<=0){break a}k=k+20|0;o=k+(l<<2)|0;while(1){l=N[k>>2];c:{if((l|0)==(j|0)){break c}n=N[N[l>>2]+32>>2];if(!n){break c}l=Qa[n|0](l,10566)|0;if(l){break b}}k=k+4|0;if(o>>>0>k>>>0){continue}break}break a}L[a+68|0]=1;m=0;N[a+64>>2]=0;N[a+1348>>2]=l;N[a+8>>2]=d;N[a+4>>2]=b;N[a>>2]=N[b+100>>2];d:{if(!d){break d}j=N[N[d+156>>2]>>2];N[a+12>>2]=j;N[a+20>>2]=j+56;N[a+16>>2]=j+20;N[j+20>>2]=0;N[j+36>>2]=0;N[j+48>>2]=0;l=N[j+32>>2];k=j- -64|0;N[k>>2]=N[j+28>>2];N[k+4>>2]=l;N[j+88>>2]=N[j+52>>2];k=N[j+24>>2];N[j+56>>2]=N[j+20>>2];N[j+60>>2]=k;k=N[j+40>>2];N[j+72>>2]=N[j+36>>2];N[j+76>>2]=k;k=N[j+48>>2];N[j+80>>2]=N[j+44>>2];N[j+84>>2]=k;c=N[N[c+40>>2]>>2];N[a+72>>2]=0;N[a+76>>2]=c;if(!g){break d}N[a+72>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;c=N[73541];N[a+80>>2]=N[73540];N[a+84>>2]=c;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;c=N[73543];N[a+88>>2]=N[73542];N[a+92>>2]=c;c=N[73545];N[a+96>>2]=N[73544];N[a+100>>2]=c;c=N[73547];N[a+104>>2]=N[73546];N[a+108>>2]=c;N[a+1352>>2]=N[b+16>>2];N[a+1472>>2]=h;N[a+1356>>2]=e;N[a+1476>>2]=i;N[a+1468>>2]=f;b=N[73549];N[a+1480>>2]=N[73548];N[a+1484>>2]=b;b=N[73551];a=a+1488|0;N[a>>2]=N[73550];N[a+4>>2]=b}return m|0}function dn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=N[a+736>>2];if(d){c=N[a+100>>2];e=N[N[d+12>>2]>>2];b=N[d+4>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+4>>2]=0;b=N[d+8>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+8>>2]=0;b=N[d+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+20>>2]=0;b=N[d+12>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+12>>2]=0;b=N[d+28>>2];if(b){a:{if(!e){break a}if((e|0)!=1){i=e&1;j=e&-2;e=0;while(1){g=f<<3;h=N[(g+b|0)+4>>2];if(h){Qa[N[c+8>>2]](c,h);b=N[d+28>>2]}N[(b+g|0)+4>>2]=0;g=(f|1)<<3;h=N[(g+b|0)+4>>2];if(h){Qa[N[c+8>>2]](c,h);b=N[d+28>>2]}N[(b+g|0)+4>>2]=0;f=f+2|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}if(!i){break a}}e=f<<3;f=N[(e+b|0)+4>>2];if(f){Qa[N[c+8>>2]](c,f);b=N[d+28>>2]}N[(b+e|0)+4>>2]=0}Qa[N[c+8>>2]](c,b);N[d+28>>2]=0}b=N[d+40>>2];if(b){Rh(N[a+100>>2],b);b=N[d+40>>2];e=N[b+28>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+40>>2]}N[b+28>>2]=0;e=N[b+24>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+40>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+40>>2]=0}b=N[d+52>>2];if(b){Rh(N[a+100>>2],b);b=N[d+52>>2];e=N[b+28>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+52>>2]}N[b+28>>2]=0;e=N[b+24>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+52>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+52>>2]=0}b=N[d+56>>2];if(b){Rh(N[a+100>>2],b+4|0);b=N[d+56>>2];a=N[b+24>>2];if(a){Qa[N[c+8>>2]](c,a);b=N[d+56>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+56>>2]=0}a=N[d+64>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d+64>>2]=0;a=N[d+72>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d+72>>2]=0;Qa[N[c+8>>2]](c,d)}}function gq(a,b,c,d){var e=0,f=0,g=0,h=U(0),i=U(0);g=N[a+4>>2];a:{if(g>>>0>b>>>0){e=N[a>>2]-1|0;e=b>>>0>e>>>0?e:b;b:{if((e|0)<0){e=275552;break b}g=N[a+20>>2];e=N[(g?g:275552)+12>>2]+(e<<2)|0;g=N[a+4>>2]}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)&65535;break a}e=0;if(N[a+8>>2]){break a}e=N[a+16>>2]}c:{if(b>>>0>=g>>>0){break c}g=N[c+84>>2];if(!g){break c}a=N[a+24>>2];a=a?a:275552;f=N[a+16>>2];if(f){c=N[c+88>>2];a=f>>>0<20?275552:N[a+12>>2];f=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(f){f=a+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0}else{f=275552}f=md(f,b);h=U(e>>>0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if(b){a=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{a=275552}b=O[a+6|0]|O[a+7|0]<<8;e=(b<<8|b>>>8)&65535;b=f>>>16|0;if(e>>>0<=b>>>0){i=U(.5)}else{b=a+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}f=f&65535;e=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(e){a=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{a=275552}i=U(Fc(b,f,c,g,a,d)+U(.5))}h=U(U(Z(i))+h);if(h=U(0)){return~~h>>>0}return 0}d=N[c+24>>2];a=N[d+108>>2];d:{if(a){break d}while(1){a=N[d+48>>2];if(!a){a=275552;break d}e=db(1,28);if(!e){a=275552;N[d+108>>2]=275552;break d}a=Je(e,a);if(!N[d+108>>2]){N[d+108>>2]=a;break d}ab(N[a+24>>2]);_a(a);a=N[d+108>>2];if(!a){continue}break}}e=fq(a,c,b,0)}return e}function Rx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=N[a+12>>2];j=N[a+200>>2];c=N[a+196>>2];n=N[N[a>>2]+16>>2];a:{while(1){b=k;k=b+1|0;g=Fn(i,k);if(g){break a}g=21;h=c+4|0;if(h>>>0>j>>>0){break a}d=N[i+88>>2]+(b<<5)|0;N[d+8>>2]=0;N[d+12>>2]=0;l=O[c+1|0];e=l|O[c|0]<<8;M[d+4>>1]=e;b=O[c+3|0]|O[c+2|0]<<8;N[d>>2]=b;if((b|0)>=(n|0)){break a}f=l&1?4:2;m=e&8;b=f+2|0;b:{if(m){break b}b=f+4|0;if(e&64){break b}b=f|e>>>4&8}if(b+h>>>0>j>>>0){break a}b=e&1;c:{if(e&2){if(b){b=O[c+4|0]|O[c+5|0]<<8;N[d+8>>2]=(b<<8|b>>>8)<<16>>16;b=O[c+6|0]|O[c+7|0]<<8;f=(b<<8|b>>>8)<<16>>16;b=c+8|0;break c}N[d+8>>2]=L[c+4|0];f=L[c+5|0];b=c+6|0;break c}if(b){N[d+8>>2]=O[c+5|0]|O[c+4|0]<<8;f=O[c+7|0]|O[c+6|0]<<8;b=c+8|0;break c}N[d+8>>2]=O[c+4|0];f=O[c+5|0];b=c+6|0}N[d+12>>2]=f;d:{if(m){c=b+2|0;e=0;b=O[b|0]|O[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;f=g;h=0;break d}if(e&64){c=O[b+2|0]|O[b+3|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=O[b|0]|O[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+4|0;e=0;h=0;break d}if(!(e&128)){e=0;g=65536;c=b;f=65536;h=0;break d}c=O[b+6|0]|O[b+7|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=O[b+4|0]|O[b+5|0]<<8;e=(c<<8|c>>>8)<<16>>16<<2;c=O[b+2|0]|O[b+3|0]<<8;h=(c<<8|c>>>8)<<16>>16<<2;c=O[b|0]|O[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+8|0}N[d+16>>2]=g;N[d+28>>2]=f;N[d+24>>2]=h;N[d+20>>2]=e;if(l&32){continue}break}N[i+84>>2]=k;b=N[N[a+24>>2]+8>>2];N[a+196>>2]=c;N[a+164>>2]=(c+b|0)-j;g=0}return g|0}function Wb(a){var b=0,c=0,d=0,e=0;a:{b:{c:{d:{b=N[a+72>>2]+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break d}}e:{b=N[a+84>>2];f:{if((b|0)!=N[a+80>>2]){break f}d=N[a+72>>2];if(Q[a+64>>2]>=d+1>>>0){break f}if(!O[a+62|0]){break e}c=N[a+88>>2];N[a+84>>2]=c;d=T(d,20);if(!d){break f}B(c,b,d)}b=N[a+64>>2];d=N[a+68>>2];if(b>>>0>d>>>0){break c}g:{if(b>>>0>>0){c=N[a+80>>2]+T(b,20)|0;b=N[a+72>>2];d=N[a+84>>2];break g}d=N[a+84>>2];b=N[a+72>>2];c=b-1|0;c=d+T(b>>>0>=c>>>0?c:0,20)|0}b=T(b,20)+d|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;N[b>>2]=9676;c=N[a+72>>2]+1|0;N[a+72>>2]=c;break b}break a}c=N[a+72>>2];break b}ba(13080,14165,312,10949);F()}b=c-1|0;b=N[a+84>>2]+T(b>>>0<=c>>>0?b:0,20)|0;M[b+16>>1]=P[b+16>>1]&65407;h:{i:{if(O[a+62|0]){b=N[a+84>>2];d=N[a+80>>2];c=N[a+72>>2];if(!((b|0)==(d|0)&(c|0)==N[a+64>>2])){e=c+1|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break i}c=N[a+72>>2];d=N[a+80>>2];b=N[a+84>>2]}j:{if((b|0)!=(d|0)){break j}if(c+1>>>0<=N[a+64>>2]+1>>>0){b=d;break j}if(!O[a+62|0]){break h}b=N[a+88>>2];N[a+84>>2]=b;e=T(c,20);if(!e){break j}B(b,d,e);c=N[a+72>>2];b=N[a+84>>2];d=N[a+80>>2]}b=T(c,20)+b|0;d=T(N[a+64>>2],20)+d|0;c=N[d+4>>2];N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;c=N[a+72>>2]}N[a+72>>2]=c+1}N[a+64>>2]=N[a+64>>2]+1}return}}ba(8694,17855,209,11932);F()}function $b(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;L[a+48|0]=O[b+48|0];c=N[a>>2];d=N[a+20>>2];if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[b>>2];if(!N[b+20>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}a:{if(c>>>0>>0){f=e-c|0;if(!f){break a}N[a>>2]=N[a>>2]+T(N[a+4>>2],f);if(!d){break a}g=N[a+16>>2];e=N[a+24>>2];j=N[a+12>>2];k=N[a+40>>2];l=N[a+36>>2];c=N[a+8>>2];while(1){f=f-1|0;b=d;while(1){c=c+j|0;N[a+8>>2]=c;h=(b|0)!=0;e=h+e|0;N[a+24>>2]=e;d=b-h|0;N[a+20>>2]=d;g=T(h,20)+g|0;N[a+16>>2]=g;if((b|0)!=(h|0)){b=d;if(O[g+18|0]==6){continue}}if(!d){break a}b:{if(O[g+18|0]!=14){break b}h=N[N[l>>2]+68>>2];b=c;while(1){b=b+1|0;if(h>>>0<=b>>>0){break b}i=N[k>>2]+T(b,20)|0;if(O[i+18|0]==6){continue}break}b=d;if(1<>1]&7168){continue}}break}if(f){continue}break}break a}if(c>>>0<=e>>>0){break a}f=c-e|0;if(!f){break a}N[a>>2]=N[a>>2]-T(N[a+4>>2],f);if(!d){break a}c=N[a+16>>2];g=N[a+24>>2];h=N[a+12>>2];j=N[a+40>>2];k=N[a+36>>2];e=N[a+8>>2];while(1){f=f-1|0;while(1){e=e-h|0;N[a+8>>2]=e;b=(g|0)!=0;g=g-b|0;N[a+24>>2]=g;d=b+d|0;N[a+20>>2]=d;c=T(b,-20)+c|0;N[a+16>>2]=c;if(!d){break a}c:{d:{switch(O[c+18|0]-6|0){case 0:continue;case 8:break d;default:break c}}l=N[N[k>>2]+68>>2];b=e;while(1){b=b+1|0;if(l>>>0<=b>>>0){break c}i=N[j>>2]+T(b,20)|0;if(O[i+18|0]==6){continue}break}if(1<>1]&7168){continue}}break}if(f){continue}break}}}function Wj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=La-16|0;La=f;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=N[59537];N[f+8>>2]=N[59536];N[f+12>>2]=c;c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}e=(c<<8|c>>>8)&65535;c=a+6|0;while(1){d=O[c|0]|O[c+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}Rj(d,b,f+8|0);c=c+2|0;e=e-1|0;if(e){continue}break}break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}N[f+12>>2]=c;N[f+8>>2]=269;c=O[a+6|0]|O[a+7|0]<<8;if(!c){break a}e=(c<<8|c>>>8)&65535;c=a+8|0;while(1){d=O[c|0]|O[c+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}Rj(d,b,f+8|0);c=c+2|0;e=e-1|0;if(e){continue}break}break a}c=O[a+6|0]|O[a+7|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);d=O[a+4|0]|O[a+5|0]<<8;c=O[a+2|0]|O[a+3|0]<<8;g=(c<<8|c>>>8)&65535;if(g>>>0>=2){i=N[b+12>>2];e=g-1|0;c=a+8|0;while(1){h=O[c|0]|O[c+1|0]<<8;Ob(h?((h<<8|h>>>8)&65535)+a|0:275552,i);c=c+2|0;e=e-1|0;if(e){continue}break}}if(!d){break a}c=(d<<8|d>>>8)&65535;e=(a+6|0)+(g<<1)|0;a=0;while(1){d=e+(a<<2)|0;d=O[d+2|0]|O[d+3|0]<<8;Qj(b,(d<<8|d>>>8)&65535);a=a+1|0;if((c|0)!=(a|0)){continue}break}}La=f+16|0}function oo(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=La+-64|0;La=h;m=N[b+4>>2];j=N[b+12>>2];o=N[b>>2];i=N[b+8>>2];N[h+32>>2]=c;N[h+36>>2]=d;s=c;i=(c|0)<(i|0)?i:c;N[b+8>>2]=i;l=(c|0)>(o|0)?o:c;N[b>>2]=l;o=d;j=(d|0)<(j|0)?j:d;N[b+12>>2]=j;k=(d|0)>(m|0)?m:d;N[b+4>>2]=k;d=N[e+8>>2];c=N[e+4>>2];N[h+40>>2]=c;N[h+44>>2]=d;m=c;i=(c|0)<(i|0)?i:c;N[b+8>>2]=i;l=(c|0)>(l|0)?l:c;N[b>>2]=l;n=(d|0)<(j|0)?j:d;N[b+12>>2]=n;k=(d|0)>(k|0)?k:d;N[b+4>>2]=k;r=N[e+12>>2];e=r;c=N[e+4>>2];e=N[e+8>>2];N[h+48>>2]=c;N[h+52>>2]=e;j=c;p=(c|0)<(i|0)?i:c;N[b+8>>2]=p;q=(c|0)>(l|0)?l:c;N[b>>2]=q;n=(e|0)<(n|0)?n:e;N[b+12>>2]=n;k=(e|0)>(k|0)?k:e;N[b+4>>2]=k;i=N[r+12>>2];c=N[i+4>>2];i=N[i+8>>2];N[h+56>>2]=c;N[h+60>>2]=i;l=c;N[b+8>>2]=(c|0)<(p|0)?p:c;N[b>>2]=(c|0)>(q|0)?q:c;c=i;N[b+12>>2]=(c|0)<(n|0)?n:c;N[b+4>>2]=(c|0)>(k|0)?k:c;if(f){b=(e-d|0)/3|0;N[h+52>>2]=e-b;N[h+60>>2]=e+(((c-e|0)/3|0)-b>>1);c=(j-m|0)/3|0;N[h+48>>2]=j-c;N[h+44>>2]=b+d;N[h+40>>2]=c+m;N[h+56>>2]=(((l-j|0)/3|0)-c>>1)+j;N[h+36>>2]=(b+((d-o|0)/-3|0)>>1)+d;N[h+32>>2]=(c+((m-s|0)/-3|0)>>1)+m}a:{if(!g){b=N[h+36>>2];N[h+24>>2]=N[h+32>>2];N[h+28>>2]=b;b=0;if(!Fb(a,h+24|0,0)){break a}}b=h+32|8;c=N[b+4>>2];N[h+16>>2]=N[b>>2];N[h+20>>2]=c;b=0;if(!Fb(a,h+16|0,0)){break a}b=N[h+52>>2];N[h+8>>2]=N[h+48>>2];N[h+12>>2]=b;b=0;if(!Fb(a,h+8|0,0)){break a}b=N[h+60>>2];N[h>>2]=N[h+56>>2];N[h+4>>2]=b;b=Fb(a,h,3)}La=h- -64|0;return b}function df(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=La-112|0;La=g;f=Qn(b,0);a:{if((f|0)<0){i=1;break a}N[g>>2]=1;d=La-16|0;La=d;N[d+12>>2]=g+4;N[d>>2]=N[g>>2];N[d+4>>2]=0;c=ka(f|0,2,d|0)|0;if(c>>>0>=4294963201){N[147316]=0-c}La=d+16|0;b:{if((f|0)<0){N[147316]=8;c=-1;break b}c=g+16|0;c:{d:{if((f|0)>=0){if(O[441572]){break d}c=Ha(f|0,c|0)|0;break c}if((f|0)!=-100){break d}break d}c=Ga(f|0,441572,c|0,4096)|0}if(c>>>0>=4294963201){N[147316]=0-c;c=-1}}e:{if((c|0)<0){break e}c=N[g+40>>2];d=N[g+44>>2];if(c>>>0>2147483647&(d|0)>=0|(d|0)>0|!(c|d)){break e}N[a+8>>2]=0;N[a+4>>2]=c;f:{if(c>>>0>=2147483647){N[147316]=48;c=-1;break f}g:{h:{e=kb(40);d=ta(c|0,1,2,f|0,0,0,e+8|0,e|0)|0;if((d|0)>=0){N[e+12>>2]=f;break h}_a(e);break g}N[e+32>>2]=1;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=2;N[e+4>>2]=c;N[e+36>>2]=N[147574];N[147574]=e;d=N[e>>2]}c=d;c=(c|0)==-63?-63:c;if(c>>>0>=4294963201){N[147316]=0-c;c=-1}}N[a>>2]=c;if(c+1>>>0>1){d=111}else{d=N[a+4>>2];c=kb(d);N[a>>2]=c;if(!c){break e}while(1){e=N[a>>2]+h|0;c=La-16|0;La=c;N[c+12>>2]=d-h;N[c+8>>2]=e;d=oa(f|0,c+8|0,1,c+4|0)|0;if(d){N[147316]=d;d=-1}else{d=0}La=c+16|0;c=d?-1:N[c+4>>2];i:{if((c|0)<=0){if((c|0)==-1&N[147316]==27){break i}_a(N[a>>2]);break e}h=c+h|0}d=N[a+4>>2];if((h|0)!=(d|0)){continue}break}d=112}N[a+24>>2]=d;gi(f);N[a+20>>2]=0;N[a+16>>2]=b;N[a+12>>2]=N[a>>2];break a}gi(f);N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0;i=81}La=g+112|0;return i}function KB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=La-400|0;La=i;e=N[c+4>>2];g=N[b+4>>2];c=N[c>>2];b=N[b>>2];f=N[a>>2];a=N[a+4>>2];N[i+20>>2]=a<<2;N[i+16>>2]=f<<2;N[i+12>>2]=g<<2;j=b<<2;N[i+8>>2]=j;h=e<<2;N[i+4>>2]=h;f=c<<2;N[i>>2]=f;b=N[d+200>>2];N[i+24>>2]=b;c=N[d+204>>2];N[i+28>>2]=c;k=a>>6;a:{b:{l=e>>6;a=N[d+168>>2];g=g>>6;c:{d:{if(!((l|0)>=(a|0)&(g|0)>=(a|0))){e=c>>8;break d}e=c>>8;if((a|0)>(k|0)){break d}if((a|0)<=(e|0)){break c}}c=i;a=N[d+164>>2];if((a|0)<=(l|0)|(a|0)<=(g|0)|((a|0)<=(k|0)|(a|0)<=(e|0))){break b}}N[d+204>>2]=h;N[d+200>>2]=f;break a}while(1){e=(T(j,-3)+b|0)+(f<<1)|0;a=e>>31;e:{f:{if((a^e)-a>>>0>=129){k=N[c+12>>2];e=N[c+28>>2];g=N[c+4>>2];break f}e=N[c+28>>2];k=N[c+12>>2];g=N[c+4>>2];h=e+(T(k,-3)+(g<<1)|0)|0;a=h>>31;if((a^h)-a>>>0>128){break f}h=((b<<1)+f|0)+T(N[c+16>>2],-3)|0;a=h>>31;if((a^h)-a>>>0>128){break f}h=((e<<1)+g|0)+T(N[c+20>>2],-3)|0;a=h>>31;if((a^h)-a>>>0>128){break f}Ui(d,f,g);if((c|0)==(i|0)){break a}a=c-24|0;f=N[a>>2];break e}a=c+24|0;N[c+48>>2]=b;N[c+52>>2]=e;f=f+j|0;N[c+8>>2]=f>>1;g=g+k|0;N[c+12>>2]=g>>1;l=b;b=N[c+16>>2];h=l+b|0;N[c+40>>2]=h>>1;b=b+j|0;f=b+f|0;N[c+16>>2]=f>>2;b=b+h|0;N[c+32>>2]=b>>2;l=e;e=N[c+20>>2];j=l+e|0;N[c+44>>2]=j>>1;f=b+f>>3;N[c+24>>2]=f;b=e+k|0;e=b+g|0;N[c+20>>2]=e>>2;b=b+j|0;N[c+36>>2]=b>>2;N[c+28>>2]=b+e>>3}b=N[a+24>>2];j=N[a+8>>2];c=a;continue}}La=i+400|0;return 0}function ec(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a|!b|N[b+16>>2]>131083){break a}c=N[a+16>>2];if(c){e=N[b+8>>2];b:{while(1){f=N[((d<<2)+a|0)+20>>2];g=N[f>>2];if(cb(N[g+8>>2],e)){d=d+1|0;if((c|0)!=(d|0)){continue}break b}break}if(N[b+12>>2]<=N[g+12>>2]){break a}nn(a,f);c=N[a+16>>2]}if(c>>>0>31){break a}}d=0;f=N[a>>2];c=N[b+4>>2];c:{if((c|0)<=0){if(!c){break c}break a}d=Qa[N[f+4>>2]](f,c)|0;if(!d){break a}G(d,0,c)}N[d+8>>2]=f;N[d+4>>2]=a;N[d>>2]=b;d:{e:{c=b;e=N[c>>2];if(e&2){e=N[a>>2];c=Qa[N[e+4>>2]](e,12)|0;if(!c){break d}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;g=N[d>>2];N[d+12>>2]=g;N[d+16>>2]=N[g+36>>2];h=N[N[g+56>>2]+4>>2];if(h){if(Qa[h|0](e,d+52|0)|0){break e}N[d+56>>2]=N[N[g+56>>2]+16>>2];N[d+60>>2]=N[g+40>>2]}N[c+8>>2]=d;e=N[a+152>>2];N[c>>2]=e;N[c+4>>2]=0;N[(e?e+4|0:a+148|0)>>2]=c;N[a+152>>2]=c;e=N[a+148>>2];f:{if(e){while(1){c=N[e+8>>2];if(N[c+16>>2]==1869968492){break f}e=N[e+4>>2];if(e){continue}break}}c=0}N[a+156>>2]=c;c=N[d>>2];e=N[c>>2]}if(e&4){N[a+160>>2]=d}if(e&1){N[d+12>>2]=c}b=N[b+24>>2];if(b){if(Qa[b|0](d)|0){break d}}b=N[a+16>>2];N[a+16>>2]=b+1;N[((b<<2)+a|0)+20>>2]=d;return}Qa[N[e+8>>2]](e,c)}g:{if(!(O[N[d>>2]]&2)){break g}a=N[d+12>>2];if(!a|N[a+36>>2]!=1869968492){break g}b=N[d+52>>2];if(!b){break g}Qa[N[N[a+56>>2]+20>>2]](b)}Qa[N[f+8>>2]](f,d)}}function Bg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;j=N[a+12>>2];if(j){N[(N[a+20>>2]+(j<<4)|0)-4>>2]=e}a:{k=j+1|0;e=N[a+16>>2];b:{c:{if(k>>>0<=e>>>0){g=N[a+20>>2];h=e;break c}h=(j&-8)+8|0;if((e|h)<0){return 6}l=N[a+20>>2];d:{e:{f:{if(!h){if(!l){break f}Qa[N[f+8>>2]](f,l);N[a+20>>2]=0;break d}i=10;if((h|0)>134217727){break b}g:{if(!e){g=Qa[N[f+4>>2]](f,h<<4)|0;i=!g<<6;break g}i=Qa[N[f+12>>2]](f,e<<4,h<<4,l)|0;g=i?i:l;i=!i<<6}if(i|(e|0)>=(h|0)|!g){break e}G((e<<4)+g|0,0,h-e<<4)}N[a+20>>2]=g;break d}N[a+20>>2]=g;if(i){break b}}N[a+16>>2]=h}e=((k<<4)+g|0)-16|0;N[e>>2]=0;N[((j<<4)+g|0)+12>>2]=0;N[a+12>>2]=k;if(!k){if(!h){g=Qa[N[f+4>>2]](f,128)|0;if(!g){break a}G(g,0,128);N[a+16>>2]=8;N[a+20>>2]=g}N[g>>2]=0;N[g+12>>2]=0;N[a+12>>2]=1;e=g}a=d+7>>>3|0;h=N[e+4>>2]+7|0;g=h>>>3|0;h:{if(a>>>0<=g>>>0){h=N[e+8>>2];break h}i=N[e+8>>2];i:{j:{a=a+7&1073741816;k:{if(!a){h=0;if(!i){break k}Qa[N[f+8>>2]](f,i);N[e+8>>2]=0;break i}l:{if(h>>>0<=7){h=Qa[N[f+4>>2]](f,a)|0;i=!h<<6;break l}f=Qa[N[f+12>>2]](f,g,a,i)|0;h=f?f:i;i=!f<<6}if(i|a>>>0<=g>>>0|!h){break j}G(g+h|0,0,a-g|0)}N[e+8>>2]=h;break i}N[e+8>>2]=h;if(i){break b}}N[e+4>>2]=a<<3}N[e>>2]=d;i=0;if(!d){break b}g=(c>>>3|0)+b|0;e=128>>>(c&7)|0;a=128;while(1){b=O[h|0];L[h|0]=O[g|0]&e?b|a:b&(a^-1);b=a>>>0<2;a=b?128:a>>1;c=e>>>0<2;e=c?128:e>>>1|0;h=b+h|0;g=c+g|0;d=d-1|0;if(d){continue}break}}return i}N[a+20>>2]=0;return 64}function Pj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=275552;a:{b:{if((b|0)!=1196445523){f=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=lc(a+148|0)}a=N[a>>2];a=a?a:275552;f=Q[a+16>>2]<4?275552:N[a+12>>2]}a=f;b=O[a+1|0]<<8;c:{if((O[a|0]|b)!=256){break c}b=b|O[a|0]|(O[a+2|0]<<16|O[a+3|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<65537){break c}b=O[a+10|0]|O[a+11|0]<<8|(O[a+12|0]<<16|O[a+13|0]<<24);if(!b){break c}h=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}a=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);if(a){a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);m=a>>>0<=1?1:a;while(1){a=(i<<3)+h|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){j=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{j=275552}a=O[j|0]|O[j+1|0]<<8;if(!a){N[e>>2]=i;return}k=(a<<8|a>>>8)&65535;n=k>>>0<=1?1:k;l=0;b=0;while(1){d:{a=(b<<2)+j|0;a=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(a){f=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+j|0}else{f=275552}if((O[f|0]|O[f+1|0]<<8)!=256){break d}a=0;g=O[f+2|0]|O[f+3|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0>>0){a=N[(g<<2)+c>>2]}g=O[f+4|0]|O[f+5|0]<<8;if((g<<8|g>>>8)<<16>>16>(a|0)){break d}g=a;a=O[f+6|0]|O[f+7|0]<<8;if((g|0)>(a<<8|a>>>8)<<16>>16){break d}b=b+1|0;l=k>>>0<=b>>>0;if((b|0)!=(n|0)){continue}}break}if(l){N[e>>2]=i;return}i=i+1|0;if((m|0)!=(i|0)){continue}break}}N[e>>2]=-1}function dq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(a){b=N[a+204>>2];N[a+204>>2]=b-1;j=N[a>>2];if((b|0)<=1){b=N[a+16>>2];a:{if(!b){break a}while(1){i=N[((h<<2)+a|0)+20>>2];c=N[i>>2];b:{if(cb(N[c+8>>2],21646)|!(L[c|0]&1)){break b}c=N[i+16>>2];if(!c){break b}while(1){f=N[c+8>>2];c:{if(!f){break c}d=N[f+96>>2];if(!d){break c}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break c}b=N[d+16>>2];if(!b){break c}g=d+16|0;e=N[d+8>>2];while(1){if((f|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break c}break}c=N[b>>2];k=c?c+4|0:g;g=N[b+4>>2];N[k>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,b);gc(e,f,d);c=N[i+16>>2]}if(c){continue}break}b=N[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}h=0;while(1){i=N[((h<<2)+a|0)+20>>2];d:{if(!(L[N[i>>2]]&1)){break d}c=N[i+16>>2];if(!c){break d}while(1){f=N[c+8>>2];e:{if(!f){break e}d=N[f+96>>2];if(!d){break e}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break e}b=N[d+16>>2];if(!b){break e}g=d+16|0;e=N[d+8>>2];while(1){if((f|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break e}break}c=N[b>>2];k=c?c+4|0:g;g=N[b+4>>2];N[k>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,b);gc(e,f,d);c=N[i+16>>2]}if(c){continue}break}b=N[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}while(1){nn(a,N[((b<<2)+a|0)+16>>2]);b=N[a+16>>2];if(b){continue}break}}Qa[N[j+8>>2]](j,a)}Qa[N[j+8>>2]](j,j)}}function Nj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{g=T(c,20)+a|0;f=g;k=P[f+16>>1];c:{if(!k){break c}h=O[f+18|0];M[f+16>>1]=0;if(!e){break c}i=k<<16>>16;f=i+c|0;if(f>>>0>=b>>>0){break c}Nj(a,b,f,d,e-1|0);b=h&2;if((h&1)==(b>>>1|0)){break b}if(b){if((d&-2)==4){N[g+12>>2]=N[g+12>>2]+N[(T(f,20)+a|0)+12>>2];return}b=T(c,20)+a|0;N[b+8>>2]=N[b+8>>2]+N[(T(f,20)+a|0)+8>>2];return}g=T(c,20)+a|0;b=T(f,20)+a|0;e=N[g+8>>2]+N[b+8>>2]|0;N[g+8>>2]=e;b=N[g+12>>2]+N[b+12>>2]|0;N[g+12>>2]=b;if(c>>>0<=f>>>0){break a}d:{if((d&-3)==4){h=0;d=0-i&3;if(d){i=c+i|0;while(1){j=T(f,20)+a|0;b=b-N[j+4>>2]|0;e=e-N[j>>2]|0;f=f+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}f=d+i|0}if(k>>>0>65532){break d}while(1){d=T(f,20)+a|0;b=b-(((N[d+4>>2]+N[d+24>>2]|0)+N[d+44>>2]|0)+N[d- -64>>2]|0)|0;e=e-(N[d+60>>2]+(N[d+40>>2]+(N[d>>2]+N[d+20>>2]|0)|0)|0)|0;f=f+4|0;if((f|0)!=(c|0)){continue}break}break d}d=f+1|0;if(d>>>0>=c+1>>>0){break c}h=0;f=0-i&3;if(f){i=f+(c+i|0)|0;while(1){j=T(d,20)+a|0;b=N[j+4>>2]+b|0;e=N[j>>2]+e|0;d=d+1|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}d=i+1|0}if(k>>>0>65532){break d}while(1){f=T(d,20)+a|0;b=(((N[f+4>>2]+b|0)+N[f+24>>2]|0)+N[f+44>>2]|0)+N[f- -64>>2]|0;e=N[f+60>>2]+(N[f+40>>2]+(N[f+20>>2]+(N[f>>2]+e|0)|0)|0)|0;f=d+3|0;d=d+4|0;if((c|0)!=(f|0)){continue}break}}N[g+8>>2]=e;N[g+12>>2]=b}return}ba(23893,14342,99,10300);F()}ba(13900,14342,113,10300);F()}function eA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;G(a,0,656);N[a>>2]=N[b>>2];if(c){N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=N[b+16>>2];d=N[b+20>>2];N[a+40>>2]=b+48;N[a+36>>2]=b+40;N[a+32>>2]=b+32;N[a+28>>2]=b+28;N[a+24>>2]=b+24;N[a+20>>2]=d;d=O[b+68|0]|O[b+69|0]<<8;e=O[b+70|0];N[a+540>>2]=b+1508;f=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=f;L[a+48|0]=c;L[a+47|0]=e;L[a+45|0]=d;L[a+46|0]=d>>>8;L[a+44|0]=0;N[a+604>>2]=N[b+1348>>2];N[a+584>>2]=N[b+1352>>2];N[a+580>>2]=N[b+1356>>2];N[a+588>>2]=N[b+1472>>2];N[a+644>>2]=N[b+1468>>2];N[a+556>>2]=N[b+1364>>2];N[a+572>>2]=N[b+1368>>2];N[a+612>>2]=N[b+1372>>2];N[a+616>>2]=N[b+1376>>2];N[a+648>>2]=N[b+1496>>2];N[a+652>>2]=N[b+1500>>2];N[a+608>>2]=N[b+1360>>2];return}N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=N[b+16>>2];c=N[b+20>>2];N[a+40>>2]=b+48;N[a+36>>2]=b+40;N[a+32>>2]=b+32;N[a+28>>2]=b+28;N[a+24>>2]=b+24;N[a+20>>2]=c;c=N[b+64>>2];d=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=d;L[a+48|0]=0;N[a+44>>2]=c;c=N[b+108>>2];N[a+532>>2]=c;N[a+540>>2]=c+3104;N[a+536>>2]=N[b+768>>2];N[a+560>>2]=N[b+732>>2];N[a+576>>2]=N[b+748>>2];N[a+568>>2]=N[b+740>>2];N[a+556>>2]=N[b+728>>2];N[a+572>>2]=N[b+744>>2];c=N[b+736>>2];N[a+544>>2]=b+584;N[a+564>>2]=c;L[a+548|0]=O[b+593|0];N[a+588>>2]=N[b+760>>2];N[a+596>>2]=N[b+772>>2];N[a+600>>2]=N[b+776>>2]}function Dg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=La-16|0;e=1;a:{b:{c:{switch(N[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){i=e;while(1){d=T(i,12)+b|0;g=d-12|0;if(N[d>>2]>2]){N[f+8>>2]=N[d+8>>2];h=N[d+4>>2];N[f>>2]=N[d>>2];N[f+4>>2]=h;N[d+8>>2]=N[g+8>>2];h=N[g+4>>2];N[d>>2]=N[g>>2];N[d+4>>2]=h;N[g+8>>2]=N[f+8>>2];d=N[f+4>>2];N[g>>2]=N[f>>2];N[g+4>>2]=d;i=i-1|0;if(i){continue}}break}e=e+1|0;j=N[a>>2];if(e>>>0>>0){continue}break}e=1;if(j>>>0<2){break b}l=j-1|0;m=N[b>>2];g=0;d=1;while(1){h=(N[T(d,12)+b>>2]-m|0)<=(c|0);f=(d|0)==(l|0);d:{if(h&!f){break d}i=0;d=(f&h)+d|0;e=g;e:{if(g>>>0>=d>>>0){break e}e=d-g|0;n=e&3;k=0;f=g;if((g^-1)+d>>>0>=3){o=e&-4;e=0;while(1){h=T(f,12)+b|0;p=N[h>>2];N[h>>2]=0;q=N[h+12>>2];N[h+12>>2]=0;r=N[h+24>>2];N[h+24>>2]=0;s=N[h+36>>2];N[h+36>>2]=0;i=(((i+p|0)+q|0)+r|0)+s|0;f=f+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=d;if(!n){break e}while(1){e=T(f,12)+b|0;h=N[e>>2];N[e>>2]=0;f=f+1|0;i=h+i|0;k=k+1|0;if((k|0)!=(n|0)){continue}break}e=d}N[T(g,12)+b>>2]=(i|0)/(e|0);if(d>>>0>=l>>>0){break d}g=d+1|0;m=N[T(g,12)+b>>2]}e=1;d=d+1|0;if(j>>>0>d>>>0){continue}break}f=1;while(1){c=T(f,12)+b|0;if(N[c>>2]){g=N[c+4>>2];d=T(e,12)+b|0;N[d>>2]=N[c>>2];N[d+4>>2]=g;N[d+8>>2]=N[c+8>>2];j=N[a>>2];e=e+1|0}f=f+1|0;if(j>>>0>f>>>0){continue}break}}N[a>>2]=e}}function Sc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}i=a-24|0;while(1){b=N[i>>2];if(!b){b=275552;break a}d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1330851634,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{g:{if(!b){break g}d=N[b>>2];if(!d){break g}if((d|0)<=0){break f}N[b>>2]=d+1}L[c+28|0]=0;N[c+36>>2]=b;g=N[b+12>>2];N[c+8>>2]=g;f=N[b+16>>2];h=f+g|0;N[c+12>>2]=h;if((f|0)<0){break e}N[c+32>>2]=0;d=c;if(f>>>0>67108863){e=1073741823}else{e=f<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[d+16>>2]=e;N[c+24>>2]=0;N[c+4>>2]=0;if(!g){ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break c}if(f>>>0<78){break d}N[c+16>>2]=e-78;d=O[g|0]|O[g+1|0]<<8;h:{if(!d){break h}if(f-78>>>0<8){break d}N[c+16>>2]=e-86;d=d<<8|d>>>8;if((d&65535)>>>0<2){break h}if(f-86>>>0<10|g+86>>>0>h>>>0){break d}N[c+16>>2]=e-96;if((d&65535)>>>0<5){break h}if((f&-4)==96|g+96>>>0>h>>>0){break d}N[c+16>>2]=e-100}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if(N[b+4>>2]){N[b+4>>2]=0}break c}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;ab(b);b=275552}d=b;b=N[a>>2];i:{if(d){if(b){break i}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<78?275552:N[b+12>>2]}function Xc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+88>>2];b=N[a+32>>2]+(b<<4)|0;g=N[b+8>>2];M[h+12>>1]=g+32>>>6;j=N[b+12>>2];M[h+14>>1]=j+32>>>6;if(L[a+8|0]&1){l=h+12|0;b=P[a+68>>1];a:{if(!b){e=2147483647;N[h+16>>2]=(g|0)<0?-2147483647:2147483647;break a}e=g>>31;d=(e^g)-e|0;b:{if(d>>>0<=65535){e=((d<<16|b>>>1)>>>0)/(b>>>0)|0;break b}e=2147483647;c=d>>>16|0;if(c>>>0>=b>>>0){break b}d=d<<16|b>>>1;i=W(c);f=32-i|0;c=d>>>f|c<>>0)/(b>>>0)|0;c=c-T(b,e)|0;d=d<>>31;f=c>>>0>=b>>>0;c=c-(f?b:0)|0;e=f|e<<1;f=31-i|0;d=d<<1}if((i|0)==31){break b}while(1){c=c<<1|d>>>31;i=c>>>0>=b>>>0;c=d>>>30&1|c-(i?b:0)<<1;k=c>>>0>=b>>>0;c=c-(k?b:0)|0;e=e<<2|i<<1|k;d=d<<2;f=f-2|0;if(f){continue}break}}N[h+16>>2]=(g|0)<0?0-e|0:e;e=j>>31;d=(e^j)-e|0;if(d>>>0<=65535){e=((d<<16|b>>>1)>>>0)/(b>>>0)|0;break a}e=2147483647;c=d>>>16|0;if(c>>>0>=b>>>0){break a}d=d<<16|b>>>1;g=W(c);f=32-g|0;c=d>>>f|c<>>0)/(b>>>0)|0;c=c-T(b,e)|0;d=d<>>31;f=c>>>0>=b>>>0;c=c-(f?b:0)|0;e=f|e<<1;f=31-g|0;d=d<<1}if((g|0)==31){break a}while(1){c=c<<1|d>>>31;g=c>>>0>=b>>>0;c=d>>>30&1|c-(g?b:0)<<1;i=c>>>0>=b>>>0;c=c-(i?b:0)|0;e=i|(e<<2|g<<1);d=d<<2;f=f-2|0;if(f){continue}break}}N[h+20>>2]=(j|0)<0?0-e|0:e;sn(a,l);return}N[h+28>>2]=0;N[h+24>>2]=j;N[h+16>>2]=65536;N[h+20>>2]=65536;a=M[b>>1];N[h+36>>2]=g;N[h+32>>2]=a<<6}function Sk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=La-16|0;La=j;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}else{f=275552}h=N[d+64>>2];k=vb(f,N[N[d+80>>2]+T(h,20)>>2]);c=0;a:{if((k|0)==-1){break a}N[b+4>>2]=h;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];f=0;f=(h|0)==N[c+64>>2]?O[(N[c+80>>2]+T(h,20)|0)+15|0]:f;N[b+12>>2]=8;L[b+23|0]=O[b+22|0]?f:0;g=b+4|0;if(!ge(g,j+12|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[j+12>>2],N[d+64>>2]+1|0,0,1);c=0;break a}h=N[g>>2];c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}e=vb(c,N[N[d+80>>2]+T(h,20)>>2]);if((e|0)==-1){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,h,N[d+64>>2]+1|0,0,1);c=0;break a}f=275552;c=275552;i=O[a+10|0]|O[a+11|0]<<8;if(i){c=((i<<8|i>>>8)&65535)+a|0}i=O[c|0]|O[c+1|0]<<8;b:{if(e>>>0>=((i<<8|i>>>8)&65535)>>>0){break b}e=(e<<1)+c|0;e=O[e+2|0]|O[e+3|0]<<8;if(!e){break b}f=((e<<8|e>>>8)&65535)+c|0}c=O[f|0]|O[f+1|0]<<8;if(!c){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[g>>2],N[d+64>>2]+1|0,0,1);c=0;break a}c=(c<<8|c>>>8)&65535;g=N[d+80>>2];e=O[(g+T(h,20)|0)+14|0];if(e>>>0>=32){d=O[(g+T(N[d+64>>2],20)|0)+14|0];g=d&16?0:d&15;c=(d^e)>>>0<32?g?c>>>0>>0?c:g:c:c}d=c-1|0;c=O[a+8|0]|O[a+9|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}a=O[a+6|0]|O[a+7|0]<<8;c=$g(c,b,k,d,f,(a<<8|a>>>8)&65535,h)}La=j+16|0;return c}function Yp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=N[b+12>>2];e=f-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=f-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=O[a|0]|O[a+1|0]<<8;if(!g){break a}f=a+2|0;if(f>>>0>d>>>0){break a}h=d-f|0;d=(g<<8|g>>>8)&65535;g=T(d,3);if(h>>>0>>0){break a}e=e-g|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=d>>>0<=1?1:d;i=N[b+36>>2];d=0;while(1){e=T(d,3)+a|0;h=O[e+2|0]|O[e+3|0]<<8;if(i>>>0<=((h<<8|h>>>8)&65535)>>>0|O[e+4|0]>=c>>>0){break a}d=d+1|0;if((g|0)!=(d|0)){continue}break}d=O[a|0]|O[a+1|0]<<8;if(!d|(O[f|0]|O[f+1|0]<<8)){break a}c=(d<<8|d>>>8)&65535;if(c>>>0>=2){f=1;while(1){e=275552;g=c;c=f-1|0;if(g>>>0>c>>>0){e=(T(c,3)+a|0)+2|0;d=O[a|0]|O[a+1|0]<<8}c=O[e|0]|O[e+1|0]<<8;g=(c<<8|c>>>8)&65535;c=((d<<8|(d&65280)>>>8)&65535)>>>0<=f>>>0?275552:(T(f,3)+a|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(g>>>0>=((c<<8|c>>>8)&65535)>>>0){break a}d=O[a|0]|O[a+1|0]<<8;c=(d<<8|d>>>8)&65535;f=f+1|0;if(c>>>0>f>>>0){continue}break}}c=(d?(T((d<<8|d>>>8)&65535,3)+a|0)-1|0:275552)+3|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=N[b+36>>2];b=O[a|0]|O[a+1|0]<<8;if(b){a=(T((b<<8|b>>>8)&65535,3)+a|0)-1|0}else{a=275552}a=O[a+3|0]|O[a+4|0]<<8;j=(c|0)==((a<<8|a>>>8)&65535)}return j}function sb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}h=a-8|0;while(1){b=N[h>>2];if(!b){b=275552;break a}d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1835104368,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{if(!b){break f}d=N[b>>2];if(!d){break f}if((d|0)<=0){break e}N[b>>2]=d+1}L[c+28|0]=0;N[c+36>>2]=b;f=N[b+12>>2];N[c+8>>2]=f;g=N[b+16>>2];N[c+12>>2]=g+f;if((g|0)<0){break d}N[c+32>>2]=0;if(g>>>0>67108863){d=1073741823}else{e=g<<6;e=e>>>0<=16384?16384:e;d=e>>>0>=1073741823?1073741823:e}N[c+16>>2]=d;N[c+24>>2]=0;N[c+4>>2]=0;if(!f){ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break c}g:{h:{i:{if(g>>>0<6){break i}N[c+16>>2]=d-6;j:{k:{l:{e=O[f|0]|O[f+1|0]<<8;switch((e<<8|e>>>8)&65535){case 0:break k;case 1:break l;default:break i}}if(g>>>0<32){break i}N[c+16>>2]=d-32;ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break j}d=O[f+2|0]|O[f+3|0]<<8;ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if((d|0)!=80){break h}}if(!N[b+4>>2]){break g}N[b+4>>2]=0;break c}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}ab(b);b=275552}break c}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}d=b;b=N[a>>2];m:{if(d){if(b){break m}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<6?275552:N[b+12>>2]}function op(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(d){g=(f|0)==2;m=g?256:128;n=g?128:256;l=0-f|0;while(1){i=N[c+16>>2];a:{if(i&16){break a}k=N[c+28>>2];b:{g=L[c+20|0];c:{if((g|0)==(f|0)|(g|0)==(l|0)){break c}g=L[c+21|0];if((g|0)==(f|0)){break c}if((g|0)!=(l|0)){break b}}if(!g){break b}if((f|0)==(g|0)){g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-N[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}N[c+24>>2]=h;N[c+16>>2]=i|528;break a}if((g|0)!=(l|0)){break a}g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-(N[h>>2]+N[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}N[c+24>>2]=h;N[c+16>>2]=i|1040;break a}if(!(i&64)){break a}d:{e:{if(i&n){g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-N[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=528;break e}if(!(i&m)){break d}g=0;if(!a){break d}while(1){h=N[(g<<2)+b>>2];j=k-(N[h>>2]+N[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=1040}N[c+24>>2]=h;N[c+16>>2]=g|i}if(N[c+24>>2]){break a}g=0;if(!a){break a}while(1){i=N[(g<<2)+b>>2];h=N[i>>2];if(!((h|0)>(k|0)|(h+N[i+4>>2]|0)<(k|0))){N[c+24>>2]=i;break a}g=g+1|0;if((g|0)!=(a|0)){continue}break}}c=c+40|0;d=d-1|0;if(d){continue}break}}}function fm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=La-16|0;La=j;e=3;i=N[b+188>>2];a:{if(!i){break a}h=b+196|0;g=N[b+192>>2];b:{while(1){c:{d=g+(f<<4)|0;if(N[d>>2]==(c|0)){e=83;f=N[d+12>>2];c=N[a+8>>2];if(f>>>0>>0|(f-c|0)<0){break a}c=N[a+20>>2];if(!c){break c}if(Qa[c|0](a,f,0,0)|0){break a}c=N[a+4>>2];break b}f=f+1|0;if((i|0)!=(f|0)){continue}break a}break}c=N[a+4>>2];if(f>>>0>c>>>0){break a}}N[a+8>>2]=f;d:{if(f+3>>>0>=c>>>0){break d}e:{f:{g:{h:{d=N[a+20>>2];i:{if(d){c=j+12|0;if((Qa[d|0](a,f,c,4)|0)!=4){break d}f=N[a+8>>2];break i}c=N[a>>2];if(!c){break h}c=c+f|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[a+8>>2]=f+4;i=c&-256;if((i|256)!=256){break e}d=c&4;c=!d;if(!d){break g}e=rb(a,43344,h);if(!e){break f}break a}N[a+8>>2]=f+4;i=0;c=1}e=rb(a,43408,h);if(e){break a}}g=N[b+204>>2];d=g>>31;if((d^g)-d>>>0>=32768){N[b+204>>2]=(g|0)<0?-32767:32767}g=N[b+208>>2];d=g>>31;if((d^g)-d>>>0>=32768){N[b+208>>2]=(g|0)<0?-32767:32767}g=c?43504:43472;d=b+216|0;e=rb(a,g,d);if(e){break a}c=b+232|0;e=rb(a,g,c);if(e){break a}h=b+248|0;if((i|0)==256){e=rb(a,g,h);if(e){break a}e=rb(a,g,b+264|0);break a}a=N[d+4>>2];N[h>>2]=N[d>>2];N[h+4>>2]=a;a=N[d+12>>2];N[h+8>>2]=N[d+8>>2];N[h+12>>2]=a;a=N[c+12>>2];N[b+272>>2]=N[c+8>>2];N[b+276>>2]=a;a=N[c+4>>2];N[b+264>>2]=N[c>>2];N[b+268>>2]=a}e=0;break a}e=85}La=j+16|0;return e}function Zm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{if((a|0)>(b|0)){break a}h=N[(c<<3)+e>>2]>N[(d<<3)+e>>2];n=h?c:d;g=n<<3;i=N[g+f>>2];o=h?d:c;c=o<<3;k=N[c+f>>2];g=N[e+g>>2];h=N[c+e>>2];if(!((g|0)==(h|0)&(i|0)!=(k|0))){r=i-g|0;s=k-h|0;if((h|0)!=(g|0)){j=fb(i-k|0,g-h|0)}c=j>>31;i=(c^j)-c|0;q=i&65535;p=i>>>16|0;u=i>>>8|0;c=a;while(1){d=c;t=c<<3;c=N[t+e>>2];b:{if((c|0)<=(h|0)){l=c+s|0;break b}l=c+r|0;if((c|0)>=(g|0)){break b}l=c-h|0;c=l>>31;c=(c^l)-c|0;c:{if(c+u>>>0<=8190){m=T(c,i)+32768>>>16|0;break c}m=c&65535;m=T(p,m)+T(i,c>>>16|0)+(T(q,m)+32768>>>16)|0}c=m;v=0-c|0;c=l>>31|1;l=k+((((j|0)<0?0-c|0:c)|0)<0?v:m)|0}N[f+t>>2]=l;c=d+1|0;if((b|0)!=(d|0)){continue}break}}i=f+4|0;e=e+4|0;d=N[e+(o<<3)>>2]>N[e+(n<<3)>>2];j=(d?o:n)<<3;c=N[i+j>>2];d=(d?n:o)<<3;f=N[d+i>>2];h=N[e+j>>2];d=N[d+e>>2];if((h|0)==(d|0)&(c|0)!=(f|0)){break a}j=0;n=c-h|0;o=f-d|0;if((d|0)!=(h|0)){j=fb(c-f|0,h-d|0)}c=j>>31;k=(c^j)-c|0;l=k&65535;r=k>>>16|0;s=k>>>8|0;while(1){c=a;q=c<<3;a=N[q+e>>2];d:{if((a|0)<=(d|0)){g=a+o|0;break d}g=a+n|0;if((a|0)>=(h|0)){break d}g=a-d|0;a=g>>31;a=(a^g)-a|0;e:{if(a+s>>>0<=8190){m=T(a,k)+32768>>>16|0;break e}p=a&65535;m=T(p,r)+T(k,a>>>16|0)+(T(l,p)+32768>>>16)|0}a=m;p=0-a|0;a=g>>31|1;g=f+((((j|0)<0?0-a|0:a)|0)<0?p:m)|0}N[i+q>>2]=g;a=c+1|0;if((b|0)!=(c|0)){continue}break}}}function Ko(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=1;g=N[b+4>>2];a:{if(N[g+16>>2]==128){break a}while(1){d=h;b:{c:{f=N[g+12>>2];if(!f){break c}h=N[g+8>>2];if((d|0)>(h|0)){break c}while(1){d=a;a=N[d+4>>2];if(N[a+16>>2]!=128&N[a+8>>2]<=(h|0)){continue}break}i=f+h|0;e=d;while(1){a=e;e=N[a+4>>2];if(N[e+16>>2]!=128&N[e+8>>2]<(i|0)){continue}break}if(c){N[a+12>>2]=f+N[a+12>>2]}j=N[d+8>>2];f=j+N[d+12>>2]|0;d:{e:{if((a|0)==(d|0)){if((f|0)>(i|0)){e=kb(36);if(!e){k=0;break a}M[e+20>>1]=0;N[e+28>>2]=0;N[e+32>>2]=0;N[e>>2]=0;N[e+4>>2]=0;a=e+8|0;N[a>>2]=0;N[a+4>>2]=0;a=N[d+4>>2];N[a>>2]=e;N[e+4>>2]=a;L[e+20|0]=O[d+20|0];L[e+21|0]=O[d+21|0];N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];f=N[d+8>>2];N[e+8>>2]=i;N[e+12>>2]=a+(f-i|0);j=N[d+8>>2];f=j+N[d+12>>2]|0}if((f|0)<(h|0)){break e}if((h|0)>(j|0)){N[d+12>>2]=h-j;break e}a=N[d>>2];_a(d);break d}f:{if((f|0)<(h|0)){break f}if((h|0)>(j|0)){N[d+12>>2]=h-j;break f}d=N[d>>2]}f=N[a+12>>2]+N[a+8>>2]|0;if((f|0)>(i|0)){N[a+8>>2]=i;N[a+12>>2]=f-i;e=a}a=N[d+4>>2];if((e|0)==(a|0)){break e}while(1){f=N[a+4>>2];_a(a);a=f;if((e|0)!=(a|0)){continue}break}}a=d}d=N[g>>2];N[d+4>>2]=N[g+4>>2];N[N[g+4>>2]>>2]=d;N[a+4>>2]=g;N[g+4>>2]=e;N[g>>2]=a;N[e>>2]=g;break b}h=d;d=g}g=N[d+4>>2];if(N[g+16>>2]!=128){continue}break}}N[N[b>>2]+4>>2]=0;while(1){a=N[b+4>>2];_a(b);b=a;if(a){continue}break}return k}function Ep(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=N[(c?16:12)+b>>2];g=N[(c?8:4)+b>>2];q=T(c,7676)+a|0;b=q;h=b+7712|0;a=b+7716|0;a:{if((g|0)==N[h>>2]&N[a>>2]==(k|0)){break a}N[h>>2]=g;N[a>>2]=k;N[b+44>>2]=g;N[b+48>>2]=k;r=N[b+260>>2];if(!r){break a}b=g>>31;b=(b^g)-b|0;h=b&65535;m=b>>>16|0;n=b>>>8|0;while(1){a=T(o,28)+q|0;e=N[a+264>>2];c=e>>31;c=(c^e)-c|0;b:{if(c+n>>>0<=8190){d=T(b,c)+32768>>>16|0;break b}i=c&65535;d=T(i,m)+T(b,c>>>16|0)+(T(h,i)+32768>>>16)|0}c=d;f=0-c|0;c=e>>31|1;i=(g|0)<0;j=(((i?0-c|0:c)|0)<0?f:d)+k|0;N[a+272>>2]=j;N[a+268>>2]=j;c=N[a+276>>2];d=c>>31;d=(c^d)-d|0;c:{if(d+n>>>0<=8190){f=T(b,d)+32768>>>16|0;break c}l=d&65535;f=T(l,m)+T(b,d>>>16|0)+(T(h,l)+32768>>>16)|0}d=f;l=N[a+288>>2];N[a+288>>2]=l&-2;p=0-d|0;d=c>>31|1;d=(((i?0-d|0:d)|0)<0?p:f)+k|0;N[a+284>>2]=d;N[a+280>>2]=d;d=e-c|0;e=d>>31;e=(d^e)-e|0;d:{if(e+n>>>0<=8190){f=T(b,e)+32768>>>16|0;break d}f=e&65535;f=T(f,m)+T(b,e>>>16|0)+(T(h,f)+32768>>>16)|0}e=f;p=0-e|0;e=d>>31|1;if((((i?0-e|0:e)|0)<0?p:f)+48>>>0<=96){e=j+32&-64;N[a+272>>2]=e;d=fb(e,g)-c|0;c=d>>31;c=(c^d)-c|0;e:{if(c+n>>>0<=8190){c=T(b,c)+32768>>>16|0;break e}j=c&65535;c=T(j,m)+T(b,c>>>16|0)+(T(h,j)+32768>>>16)|0}c=i?0-c|0:c;c=(c|0)>=32?c+32&-64:0;N[a+284>>2]=e+((d|0)<0?c:0-c|0);N[a+288>>2]=l|1}o=o+1|0;if((r|0)!=(o|0)){continue}break}}}function xw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;i=N[a+84>>2];a:{b:{c:{f=N[a+8>>2];if(!(f&8)){break c}f=N[a+4>>2]&2147418112|f&32768;if(d&16){if(f){f=7;if(!(O[a+740|0]&16)){break a}}if(!O[a+292|0]){break c}if(!c){break b}if((c|0)!=1){d=c&1;c=c&-2;while(1){f=h+14|0;i=h+12|0;Qa[N[N[a+540>>2]+156>>2]](a,1,b+g|0,f,i);N[(g<<2)+e>>2]=P[h+12>>1];j=g|1;Qa[N[N[a+540>>2]+156>>2]](a,1,j+b|0,f,i);N[(j<<2)+e>>2]=P[h+12>>1];g=g+2|0;if((c|0)!=(g|0)){continue}break}f=0;if(!d){break a}}Qa[N[N[a+540>>2]+156>>2]](a,1,b+g|0,h+14|0,h+12|0);N[(g<<2)+e>>2]=P[h+12>>1];break b}if(f){f=7;if(!(O[a+740|0]&2)){break a}}if(!P[a+250>>1]){break c}if(!c){break b}if((c|0)!=1){d=c&1;c=c&-2;while(1){f=h+14|0;i=h+10|0;Qa[N[N[a+540>>2]+156>>2]](a,0,b+g|0,f,i);N[(g<<2)+e>>2]=P[h+10>>1];j=g|1;Qa[N[N[a+540>>2]+156>>2]](a,0,j+b|0,f,i);N[(j<<2)+e>>2]=P[h+10>>1];g=g+2|0;if((c|0)!=(g|0)){continue}break}f=0;if(!d){break a}}Qa[N[N[a+540>>2]+156>>2]](a,0,b+g|0,h+14|0,h+10|0);N[(g<<2)+e>>2]=P[h+10>>1];break b}if(!c){break b}if(!i){f=37;break a}l=i+(d&16?60:56)|0;while(1){f=N[a+88>>2];j=(f?256:259)|d;k=b+g|0;d:{if(!(j&1?0:f)){f=Yf(i,0,k,j);break d}if(N[f>>2]!=N[i+4>>2]){f=35;break a}f=Yf(i,f,k,j)}if(f){break a}N[(g<<2)+e>>2]=N[l>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}}f=0}La=h+16|0;return f|0}function ss(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d=N[b+160>>2];if(d>>>0>=a+16>>>0){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<16|c>>>0>d-a>>>0){break a}d=(c-16>>>0)/12|0;c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(d>>>0>>0){break a}d:{if(!g){break d}c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(c>>>0>>0){break a}d=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);if(N[b+164>>2]){f=N[b+172>>2];e=c-e|0;if(f>>>0>>0|f-e>>>0<=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break c}}f=1;if((g|0)==1){break d}a=a+28|0;while(1){d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0>>0|c>>>0>=e>>>0){break a}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(N[b+164>>2]){h=N[b+172>>2];e=d-e|0;if(h>>>0>>0|h-e>>>0<=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break b}}a=a+12|0;c=d;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return 0}break a}Pb(b,16);F()}Pb(b,16);F()}Pb(b,8);F()}function kl(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{f:{g:{h:{if(!b){break h}c=N[b>>2];if(!c){break h}if((c|0)<=0){break g}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;e=N[b+12>>2];N[a+4>>2]=e;c=N[b+16>>2];N[a+8>>2]=c+e;if((c|0)<0){break f}N[a+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;c=b;if(!e){break a}if(ph(e,a)){break e}i:{if(O[a+24|0]|!N[a+28>>2]){break i}c=zb(c);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break i}while(1){L[a+24|0]=1;c=N[a+32>>2];e=N[c+12>>2];N[a+4>>2]=e;d=N[c+16>>2];N[a+8>>2]=d+e;if((d|0)<0){break f}N[a+28>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[a+12>>2]=d;N[a+20>>2]=0;N[a>>2]=0;if(!e){break a}if(ph(e,a)){break e}if(O[a+24|0]|!N[a+28>>2]){break i}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break d}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}if(!N[a+28>>2]){break c}N[a+28>>2]=0;c=ph(e,a);e=N[a+28>>2];ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(e){break d}if(c){break b}}ab(b);return 275552}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(c);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function zk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=N[b+4>>2];if(g>>>0>a>>>0){return 0}e=N[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}f=N[b+12>>2];h=f-2|0;N[b+12>>2]=h;i=1;if((h|0)<=0){return 0}h=O[a|0]|O[a+1|0]<<8;a:{if(!h){break a}c=((h<<8|h>>>8)&65535)+c|0;d=N[d>>2];b:{if((d|0)==1936292453){if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<10){break b}d=f-12|0;N[b+12>>2]=d;if((d|0)<=0){break b}g=O[c|0]|O[c+1|0]<<8;if(!g){break b}d=O[c+8|0]|O[c+9|0]<<8;e=O[c+6|0]|O[c+7|0]<<8;f=O[c+4|0]|O[c+5|0]<<8;if(!(e|(f|(O[c+2|0]|O[c+3|0]<<8)))){if(!d){break a}}c=(g<<8|g>>>8)&65535;if(c>>>0<((e<<8|(e&65280)>>>8)&65535)>>>0|c>>>0>((d<<8|(d&65280)>>>8)&65535)>>>0|(f<<8|(f&65280)>>>8)<<16>>16<=255){break b}break a}d=d&-65536;if((d|0)!=1668677632){if((d|0)!=1936916480){break a}if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<4){break b}c=f-6|0;N[b+12>>2]=c;if((c|0)<=0){break b}break a}if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<14){break b}d=f-16|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=c+12|0;if(d>>>0>e>>>0|e-d>>>0<2){break b}f=f-18|0;N[b+12>>2]=f;if((f|0)<=0){break b}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=c+14|0;if(c>>>0>e>>>0){break b}e=e-c|0;c=T((d<<8|d>>>8)&65535,3);if(e>>>0>>0){break b}c=f-c|0;N[b+12>>2]=c;if((c|0)>0){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;i=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;i=1}return i}function EB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=La-16544|0;La=d;a:{if(!a){a=96;break a}a=20;c=N[b+4>>2];if(!c){break a}e=M[c+2>>1];if(!e){a=0;break a}f=M[c>>1];if((f|0)<=0){a=0;break a}g=N[c+12>>2];if(!g|!N[c+4>>2]|(e|0)!=(M[((f<<1)+g|0)-2>>1]+1|0)){break a}a=19;if(O[b+8|0]&3){break a}a=6;b=N[b>>2];if(!b){break a}if(!N[b+4>>2]){a=0;break a}a=0;if(!N[b>>2]){break a}a=6;if(!N[b+12>>2]){break a}N[d+16520>>2]=N[c+16>>2];e=N[c+12>>2];a=d+16512|0;N[a>>2]=N[c+8>>2];N[a+4>>2]=e;a=N[c+4>>2];N[d+16504>>2]=N[c>>2];N[d+16508>>2]=a;c=N[b+12>>2];a=d+16488|0;N[a>>2]=N[b+8>>2];N[a+4>>2]=c;c=N[b+20>>2];a=d+16496|0;N[a>>2]=N[b+16>>2];N[a+4>>2]=c;a=N[b+4>>2];N[d+16480>>2]=N[b>>2];N[d+16484>>2]=a;a=d+16384|0;N[d+16412>>2]=a;N[d+16408>>2]=d;b=N[a+136>>2];c=b&256;N[a+20>>2]=c?30:2;N[a+16>>2]=c?256:32;c=c?12:6;N[a>>2]=c;c=1<>2]=c;N[a+12>>2]=c>>>6;N[a+8>>2]=c>>>1;b:{if(b&8){L[a+48|0]=2;break b}c=b>>>2&4;L[a+48|0]=c;if(b&32){break b}L[a+48|0]=c|1}N[a+152>>2]=347;N[a+148>>2]=348;N[a+144>>2]=349;N[a+140>>2]=350;M[a+50>>1]=N[a+100>>2];c=N[a+108>>2];N[a+52>>2]=c;b=N[a+96>>2]-1|0;e=N[a+104>>2];if((e|0)>0){N[a+52>>2]=c+T(b,e)}b=gp(a,0,b);c:{if(b){break c}if(!(O[a+137|0]&2)){N[a+152>>2]=351;N[a+148>>2]=352;N[a+144>>2]=353;N[a+140>>2]=354;b=gp(a,1,N[a+100>>2]-1|0);if(b){break c}}b=0}a=b}La=d+16544|0;return a|0}function fq(a,b,c,d){var e=0,f=U(0),g=0;e=La-112|0;La=e;a:{b:{if(Q[a+16>>2]<=c>>>0){break b}M[e+84>>1]=0;M[e+96>>1]=0;M[e+108>>1]=0;M[e+72>>1]=0;N[e+64>>2]=0;N[e+68>>2]=0;N[e+76>>2]=0;N[e+80>>2]=0;N[e+88>>2]=0;N[e+92>>2]=0;N[e+100>>2]=0;N[e+104>>2]=0;c:{if(N[b+84>>2]){N[e+48>>2]=2139095039;N[e+52>>2]=2139095039;N[e+56>>2]=-8388609;N[e+60>>2]=-8388609;L[e+44|0]=0;N[e+40>>2]=e- -64;g=N[e+44>>2];N[e+8>>2]=N[e+40>>2];N[e+12>>2]=g;g=N[e+52>>2];N[e+16>>2]=N[e+48>>2];N[e+20>>2]=g;g=N[e+60>>2];N[e+24>>2]=N[e+56>>2];N[e+28>>2]=g;N[e+36>>2]=0;N[e+32>>2]=b;g=N[e+36>>2];N[e>>2]=N[e+32>>2];N[e+4>>2]=g;if(gj(a,b,c,e)){break c}}if(d){b=N[a+8>>2];if(Q[b+4>>2]>c>>>0){a=N[b>>2]-1|0;a=a>>>0>>0?a:c;if((a|0)<0){a=275552}else{b=N[b+20>>2];a=N[(b?b:275552)+12>>2]+(a<<2)|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break a}a=0;if(N[b+8>>2]){break a}a=N[b+16>>2];break a}b=N[a+4>>2];if(Q[b+4>>2]>c>>>0){a=N[b>>2]-1|0;a=a>>>0>>0?a:c;if((a|0)<0){a=275552}else{b=N[b+20>>2];a=N[(b?b:275552)+12>>2]+(a<<2)|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break a}a=0;if(N[b+8>>2]){break a}a=N[b+16>>2];break a}if(d){f=U(R[e+92>>2]-R[e+104>>2])}else{f=U(R[e+76>>2]-R[e+64>>2])}f=U(Z(U(f+U(.5))));f=f>=U(0)?f:U(0);f=f<=U(2147483648)?f:U(2147483648);if(!(f=U(0))){break b}a=~~f>>>0;break a}a=0}La=e+112|0;return a}function Oi(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=La-16|0;La=c;N[c+12>>2]=N[a>>2];d=N[a+8>>2];Tb(c+12|0,d);b=N[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{e=O[b|0];switch(e-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break c;case 7:break d;case 22:break e;case 20:break f;case 0:break g;case 51:case 53:break i;default:break h}}N[c+12>>2]=b+1;break b}if((e|0)!=123){break c}e=ap(c+12|0,d);break a}e=Ni(c+12|0,d);break a}if(!(O[b+1|0]!=60|b+1>>>0>=d>>>0)){N[c+12>>2]=b+2;break b}e=$o(c+12|0,d);break a}f=b+1|0;N[c+12>>2]=f;e=3;if(O[f|0]!=62|d>>>0<=f>>>0){break a}N[c+12>>2]=b+2;break b}b=b+1|0}j:{if(b>>>0>=d>>>0){break j}while(1){k:{switch(O[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break j;default:break k}}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}N[c+12>>2]=b}e=0}b=N[c+12>>2];if(b>>>0>>0){e=(b|0)==N[a>>2]?3:e}N[a+12>>2]=e;N[a>>2]=b>>>0>d>>>0?d:b;La=c+16|0}function Rk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;d=N[b+96>>2];g=O[a+2|0]|O[a+3|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}else{c=275552}f=N[d+64>>2];g=vb(c,N[N[d+80>>2]+T(f,20)>>2]);c=0;a:{if((g|0)==-1){break a}N[b+4>>2]=f;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];e=(f|0)==N[c+64>>2]?O[(N[c+80>>2]+T(f,20)|0)+15|0]:e;N[b+12>>2]=N[b+140>>2]&-15;L[b+23|0]=O[b+22|0]?e:0;c=b+4|0;if(!ge(c,h+12|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[h+12>>2],N[d+64>>2]+1|0,0,1);c=0;break a}f=N[c>>2];c=N[d+80>>2];i=T(f,20)+c|0;if(!(O[i+12|0]&8)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,N[d+64>>2]+1|0,0,1);c=0;break a}e=O[i+14|0];k=e&16?0:e&15;j=N[d+64>>2];c=O[(c+T(j,20)|0)+14|0];l=c&16?0:c&15;b:{c:{if((c^e)>>>0<=31){if(c>>>0<32){break b}if((k|0)!=(l|0)){break c}break b}if(!l&c>>>0>=32){break b}if(e>>>0<32){break c}if(!k){break b}}c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,j+1|0,0,1);c=0;break a}c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[i>>2]);if((c|0)==-1){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,j+1|0,0,1);c=0;break a}d=O[a+8|0]|O[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}e=O[a+10|0]|O[a+11|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}a=O[a+6|0]|O[a+7|0]<<8;c=$g(d,b,g,c,e,(a<<8|a>>>8)&65535,f)}La=h+16|0;return c}function pC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;e=c+5|0;if(!(!d|e>>>0<2)){o=d<<3;C=e>>>1|0;p=T(c+7&-8,d);c=0;while(1){q=0;while(1){e=c-o|0;e=e>>>0>=p>>>0?440592:(e<<1)+b|0;D=M[e+8>>1];E=M[e+10>>1];z=M[e+12>>1];A=M[e+14>>1];e=c+o|0;e=e>>>0>=p>>>0?440592:(e<<1)+b|0;g=M[e>>1];r=M[e+2>>1];m=M[e+14>>1];h=M[e+4>>1];n=M[e+12>>1];i=M[e+6>>1];j=M[e+10>>1];k=M[e+8>>1];e=c>>>0>=p>>>0?440592:(c<<1)+b|0;s=M[e>>1];t=M[e+2>>1];u=M[e+14>>1];v=M[e+12>>1];w=M[e+6>>1];l=v+w|0;x=M[e+4>>1];y=M[e+10>>1];e=M[e+8>>1];f=y+e|0;M[a+6>>1]=((((u+(l+x|0)>>1)+f>>>1|0)+l>>>1|0)+f|0)+2>>>2;f=w+x|0;l=e+t|0;M[a+4>>1]=(((f+((l+s|0)+y>>1)>>>1|0)+l>>>1|0)+f|0)+2>>>2;n=i+n|0;f=m+(n+h|0)>>1;m=j+k|0;M[a+14>>1]=(((f+m>>>1|0)+n>>>1|0)+m|0)+2>>>2;k=k+r|0;f=j+(k+g|0)>>1;j=h+i|0;M[a+12>>1]=(((f+j>>>1|0)+k>>>1|0)+j|0)+2>>>2;h=h+u|0;f=(h+v|0)+i>>1;i=g+r|0;M[a+10>>1]=(((f+i>>>1|0)+h>>>1|0)+i|0)+2>>>2;f=e;e=g+y|0;g=u+v|0;M[a+8>>1]=(((((f+e|0)+r>>1)+g>>>1|0)+e>>>1|0)+g|0)+2>>>2;g=s+t|0;e=A+x|0;M[a+2>>1]=(((g+((e+z|0)+w>>1)>>>1|0)+e>>>1|0)+g|0)+2>>>2;g=z+A|0;e=s+E|0;M[a>>1]=(((g+((e+D|0)+t>>1)>>>1|0)+e>>>1|0)+g|0)+2>>>2;c=c+8|0;a=a+16|0;q=q+1|0;if((q|0)!=(d|0)){continue}break}c=c+o|0;B=B+8|0;if(C>>>0>B>>>0){continue}break}}}function _i(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break a}e=N[b+12>>2];c=e-8|0;N[b+12>>2]=c;if(!(O[a|0]|O[a+1|0]<<8)|(c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<4){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(c>>>0>1073741823){break a}g=c<<2;if(g){i=a+8|0;if(i>>>0>d>>>0|g>>>0>d-i>>>0){break a}d=h-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}}if(!e){return 1}i=c>>>0<=1?1:c;h=0;while(1){b:{g=N[b+4>>2];d=((h<<2)+a|0)+8|0;if(g>>>0>d>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<4){break b}f=N[b+12>>2];c=f-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c:{if(!c){break c}if(c&128){break b}c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;d:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<4){break d}g=f-8|0;N[b+12>>2]=g;if((g|0)<=0){break d}f=N[b+36>>2]+1|0;if(f>>>0>1073741823){break d}f=f<<2;if(!f){break c}c=c+4|0;if(c>>>0>e>>>0|f>>>0>e-c>>>0){break d}e=g-f|0;N[b+12>>2]=e;if((e|0)>0){break c}}e=N[b+28>>2];if(e>>>0>31){break b}N[b+28>>2]=e+1;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}f=1;h=h+1|0;if((i|0)!=(h|0)){continue}break a}break}f=0}return f}function HC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;h=La-128|0;La=h;a=N[b+12>>2];a:{b:{c:{d:{if((d|0)<0){if(!(N[a+8>>2]&512)|(!a|!c)){break c}e:{f:{f=N[a+128>>2];b=N[f+40>>2];switch(b+2|0){case 0:break c;case 2:break f;default:break e}}b=N[a+96>>2];g=N[N[b>>2]+32>>2];g:{if(!g){b=0;break g}b=Qa[g|0](b,9592)|0;f=N[a+128>>2]}N[f+40>>2]=b?b:-2}if(!b){break c}b=N[b+4>>2];if(!b){break c}f=Qa[b|0](a,c)|0;break d}f=0;d=d>>>0>=127?127:d;g=fg(h,c,d);L[d+g|0]=0;if(!a|!(O[a+9|0]&2)){break d}h:{i:{i=N[a+128>>2];b=N[i+40>>2];switch(b+2|0){case 2:break i;case 0:break d;default:break h}}b=N[a+96>>2];j=N[N[b>>2]+32>>2];j:{if(!j){b=0;break j}b=Qa[j|0](b,9592)|0;i=N[a+128>>2]}N[i+40>>2]=b?b:-2}if(!b){break d}b=N[b+4>>2];if(!b){break d}f=Qa[b|0](a,g)|0}N[e>>2]=f;b=1;if(f){break a}break b}N[e>>2]=0}k:{l:{m:{if(!a){break m}L[h|0]=0;if(!(O[a+9|0]&2)|N[a+16>>2]<=0){break m}n:{o:{f=N[a+128>>2];b=N[f+40>>2];switch(b+2|0){case 0:break m;case 2:break o;default:break n}}b=N[a+96>>2];g=N[N[b>>2]+32>>2];p:{if(!g){b=0;break p}b=Qa[g|0](b,9592)|0;f=N[a+128>>2]}N[f+40>>2]=b?b:-2}if(!b){break m}b=N[b>>2];if(!b){break m}if(Qa[b|0](a,0,h,128)|(d|0)>=0){break m}if(cb(h,c)){break l}break k}if(!bb(h,c,d)){break k}}b=N[e>>2]!=0;break a}b=1}La=h+128|0;return b|0}function fB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-80|0;La=e;f=e- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[e+72>>2]=0;N[e+76>>2]=0;N[e+56>>2]=0;N[e+60>>2]=0;f=18;a:{if(N[b+72>>2]!=N[a+16>>2]){break a}f=19;if((c|0)!=5){break a}f=7;if(d){break a}i=N[a+8>>2];d=0;b:{h=b+76|0;f=N[h>>2];if(!(!f|!N[b+84>>2])){c=0;N[e+76>>2]=0;N[e+68>>2]=0;N[e+72>>2]=0;g=f;d=N[a+64>>2];f=d<<1;j=g+f|0;N[e+56>>2]=j;g=N[b+80>>2];L[e+74|0]=2;M[e+72>>1]=255;g=f+g|0;N[e+60>>2]=g;N[e+64>>2]=g;if((g|j)<0){f=6;break a}c:{d:{if(!(!g|!j)){f=10;if((2147483647/(g>>>0)|0)<(j|0)){break a}f=T(g,j);c=Qa[N[i+4>>2]](i,f)|0;if(!c|(j|0)<=0){break d}G(c,0,f)}N[e+68>>2]=c;break c}N[e+68>>2]=c;if(c){break c}f=!c<<6;break a}N[e+8>>2]=8;N[e+4>>2]=h;N[e>>2]=e+56;N[e+48>>2]=N[a+64>>2];L[e+52|0]=O[a+68|0];L[e+53|0]=O[a+69|0];f=Qa[N[a+56>>2]](N[a+52>>2],e)|0;if(f){break b}}f=N[b+156>>2];a=N[f+4>>2];if(a&1){c=N[b+88>>2];if(c){Qa[N[i+8>>2]](i,c);f=N[b+156>>2];a=N[f+4>>2]}N[f+4>>2]=a&-2}a=N[e+60>>2];N[h>>2]=N[e+56>>2];N[h+4>>2]=a;a=N[e+76>>2];N[h+16>>2]=N[e+72>>2];N[h+20>>2]=a;a=e- -64|0;c=N[a+4>>2];N[h+8>>2]=N[a>>2];N[h+12>>2]=c;N[b+104>>2]=N[b+104>>2]+d;N[b+100>>2]=N[b+100>>2]-d;N[f+4>>2]=N[f+4>>2]|1;f=0;break a}a=N[e+68>>2];if(!a){break a}Qa[N[i+8>>2]](i,a)}La=e+80|0;return f|0}function cc(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{f:{if(!O[a+62|0]){if(Q[a+68>>2]>>0){break d}N[a+64>>2]=b;break f}if(!O[a+60|0]){break e}e=N[a+68>>2];f=N[a+72>>2];d=N[a+64>>2];if((e+f|0)-d>>>0>>0){break c}if(b>>>0>f>>>0){e=f;if(Q[a+76>>2]<=b>>>0){if(!gb(a,b)){break e}d=N[a+64>>2];e=N[a+72>>2]}g=b-f|0;b=N[a+80>>2];c=N[a+84>>2];g:{if((b|0)!=(c|0)){break g}if(e+g>>>0<=d+g>>>0){b=c;break g}if(!O[a+62|0]){break b}f=N[a+88>>2];N[a+84>>2]=f;b=T(e,20);if(!b){b=c;c=f;break g}B(f,c,b);d=N[a+64>>2];b=N[a+80>>2];e=N[a+72>>2];c=N[a+84>>2]}B(T(e,20)+c|0,T(d,20)+b|0,T(g,20));N[a+64>>2]=g+N[a+64>>2];N[a+72>>2]=g+N[a+72>>2];break f}if(b>>>0>=f>>>0){break f}b=f-b|0;if(b>>>0>d>>>0){f=b-d|0;g=f+e|0;if(!(!g|g>>>0>2])){if(!gb(a,g)){break e}d=N[a+64>>2];e=N[a+68>>2]}c=N[a+80>>2]+T(d,20)|0;B(c+T(f,20)|0,c,T(e-d|0,20));c=N[a+68>>2];d=f+N[a+64>>2]|0;h:{if(c>>>0>=d>>>0){break h}e=T(d-c|0,20);if(!e){break h}G(N[a+80>>2]+T(c,20)|0,0,e);d=f+N[a+64>>2]|0;c=N[a+68>>2]}N[a+64>>2]=d;N[a+68>>2]=c+f}if(b>>>0>d>>>0){break a}c=d-b|0;N[a+64>>2]=c;e=N[a+72>>2]-b|0;N[a+72>>2]=e;B(N[a+80>>2]+T(c,20)|0,N[a+84>>2]+T(e,20)|0,T(b,20))}c=1}return c}ba(13100,17855,448,12346);F()}ba(22599,17855,455,12346);F()}ba(8694,17855,209,11932);F()}ba(8953,17855,480,12346);F()}function Gs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=-1;f=N[a+16>>2];a=O[f+6|0]|O[f+7|0]<<8|(O[f+8|0]<<16|O[f+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a:{if(!a){break a}j=f+10|0;while(1){b:{e=a+g>>>1|0;d=j+T(e,11)|0;h=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}g=e+1|0}if(a>>>0>g>>>0){continue}break a}break}e=O[d+7|0]|O[d+8|0]<<8|(O[d+9|0]<<16|O[d+10|0]<<24);d:{a=O[d+3|0]|O[d+4|0]<<8|(O[d+5|0]<<16|O[d+6|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break d}c=a+f|0;a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);j=c+4|0;g=0;while(1){if(a>>>0<=g>>>0){break d}c=a;a=a+g>>>1|0;d=j+(a<<2)|0;h=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];if(h>>>0>b>>>0){continue}i=1;g=a+1|0;a=c;if(h+O[d+3|0]>>>0>>0){continue}break}break a}a=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+f|0;a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break e}d=c+4|0;g=0;while(1){f:{c=a+g>>>1|0;e=d+T(c,5)|0;f=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];g:{if(f>>>0>b>>>0){a=c;break g}if(b>>>0<=f>>>0){break f}g=c+1|0}if(a>>>0>g>>>0){continue}break e}break}i=0;if(O[e+4|0]|O[e+3|0]<<8){break a}}i=-1}return i|0}function no(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{A(+a);b=v(1)|0;h=v(0)|0;d:{e:{f=b&2147483647;if(f>>>0>=1078159482){if((f|0)==2146435072&(h|0)!=0|f>>>0>2146435072){break a}if((b|0)<0){return-1}if(!(a>709.782712893384)){break e}return a*898846567431158e293}if(f>>>0<1071001155){break c}if(f>>>0>1072734897){break e}if((b|0)>0|(b|0)>=0){b=1;c=1.9082149292705877e-10;g=a+-.6931471803691238;break d}b=-1;c=-1.9082149292705877e-10;g=a+.6931471803691238;break d}A(.5);b=v(1)|0;h=v(0)|0;A(+a);f=v(1)|0;v(0)|0;x(0,h|0);x(1,b&2147483647|f&-2147483648);c=a*1.4426950408889634+ +z();f:{if(V(c)<2147483648){b=~~c;break f}b=-2147483648}d=+(b|0);c=d*1.9082149292705877e-10;g=a+d*-.6931471803691238}a=g;a=a-c;c=g-a-c;break b}if(f>>>0<1016070144){break a}b=0}e=a*.5;d=a*e;g=d*(d*(d*(d*(d*-2.0109921818362437e-7+4008217827329362e-21)+-793650757867488e-19)+.0015873015872548146)+-.03333333333333313)+1;e=3-g*e;e=d*((g-e)/(6-a*e));if(!b){return a-(a*e-d)}c=a*(e-c)-c-d;g:{switch(b+1|0){case 0:return(a-c)*.5+-.5;case 2:if(a<-.25){return(c-(a+.5))*-2}a=a-c;return a+a+1;default:break g}}x(0,0);x(1,b+1023<<20);d=+z();if(b>>>0>=57){a=a-c+1;return((b|0)==1024?(a+a)*898846567431158e293:a*d)+-1}x(0,0);x(1,1023-b<<20);e=+z();a=(b>>>0<=19?1-e+(a-c):a-(c+e)+1)*d}return a}function Hs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{h=N[a+16>>2];a=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b:{if(!a){break b}j=h+10|0;while(1){c:{g=a+f>>>1|0;e=j+T(g,11)|0;i=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];d:{if(i>>>0>d>>>0){a=g;break d}if(d>>>0<=i>>>0){break c}f=g+1|0}if(a>>>0>f>>>0){continue}break b}break}g=O[e+7|0]|O[e+8|0]<<8|(O[e+9|0]<<16|O[e+10|0]<<24);e:{a=O[e+3|0]|O[e+4|0]<<8|(O[e+5|0]<<16|O[e+6|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break e}d=a+h|0;a=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);j=d+4|0;f=0;while(1){if(a>>>0<=f>>>0){break e}d=a;a=a+f>>>1|0;e=j+(a<<2)|0;i=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];if(i>>>0>c>>>0){continue}f=a+1|0;a=d;if(i+O[e+3|0]>>>0>>0){continue}break}return Qa[N[N[b+12>>2]+12>>2]](b,c)|0}a=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(!a){break b}b=a+h|0;a=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break b}g=b+4|0;f=0;while(1){b=a+f>>>1|0;d=g+T(b,5)|0;e=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];f:{if(e>>>0>c>>>0){a=b;break f}if(c>>>0<=e>>>0){break a}f=b+1|0}if(a>>>0>f>>>0){continue}break}}return 0}return O[d+4|0]|O[d+3|0]<<8}function av(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){c=N[a+100>>2];f=N[a+504>>2];a:{if(!f){break a}d=N[f+96>>2];if(!d){break a}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break a}b=N[d+16>>2];if(!b){break a}g=d+16|0;e=N[d+8>>2];while(1){if(N[b+8>>2]!=(f|0)){b=N[b+4>>2];if(b){continue}break a}break}h=N[b>>2];i=h?h+4|0:g;g=N[b+4>>2];N[i>>2]=g;N[(g?g:d+20|0)>>2]=h;Qa[N[e+8>>2]](e,b);gc(e,f,d)}b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+148>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+148>>2]=0;b=N[a+432>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+432>>2]=0;b=N[a+428>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+428>>2]=0;b=N[a+424>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+424>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+396>>2]=0;b=N[a+400>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+400>>2]=0;b=N[a+384>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+384>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+364>>2]=0;b=N[a+496>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+496>>2]=0;b=N[a+560>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0;N[a+556>>2]=0;N[a+560>>2]=0}}function ws(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{c=N[b+160>>2];if(c>>>0>=a+16>>>0){d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0<16|d>>>0>c-a>>>0){break a}c=(d-16>>>0)/12|0;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(c>>>0>>0){break a}d:{if(!e){break d}d=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(d>>>0<(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break a}c=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);if(Q[b+172>>2]<=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0?N[b+164>>2]:0){break c}f=1;if((e|0)==1){break d}a=a+28|0;while(1){c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(g>>>0>c>>>0|d>>>0>=g>>>0){break a}d=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(Q[b+172>>2]<=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0?N[b+164>>2]:0){break b}a=a+12|0;d=c;f=f+1|0;if((e|0)!=(f|0)){continue}break}}return 0}break a}Pb(b,16);F()}Pb(b,16);F()}Pb(b,8);F()}function gc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=N[c+12>>2];d=N[b+120>>2];if(d){Qa[d|0](N[b+116>>2])}e=N[b+84>>2];if(e){while(1){h=N[e+4>>2];d=N[h+84>>2];a:{if(!d){break a}i=N[N[h+96>>2]+8>>2];b:{if((d|0)==(e|0)){g=0;break b}while(1){f=N[d+8>>2];if(!f){break a}g=d;d=f;if((e|0)!=(d|0)){continue}break}}N[(g?g+8|0:h+84|0)>>2]=N[e+8>>2];d=N[e+20>>2];if(d){Qa[d|0](e)}af(e);Qa[N[i+8>>2]](i,e);e=N[b+84>>2]}if(e){continue}break}}if(a){d=N[b+108>>2];if(d){while(1){g=N[d+4>>2];f=N[d+8>>2];e=N[f+8>>2];if(e){Qa[e|0](f)}e=N[N[c+12>>2]+60>>2];if(e){Qa[e|0](f)}e=N[f+40>>2];if(e){Qa[N[a+8>>2]](a,e)}N[f+40>>2]=0;Qa[N[a+8>>2]](a,f);Qa[N[a+8>>2]](a,d);d=g;if(d){continue}break}}N[b+108>>2]=0;N[b+112>>2]=0}N[b+88>>2]=0;c=N[b+48>>2];if(c){Qa[c|0](b)}if(N[b+36>>2]>0){d=0;while(1){f=d<<2;c=N[f+N[b+40>>2]>>2];g=N[N[c>>2]+100>>2];e=N[N[c+12>>2]+8>>2];if(e){Qa[e|0](c)}Qa[N[g+8>>2]](g,c);N[f+N[b+40>>2]>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}c=N[b+40>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+36>>2]=0;N[b+40>>2]=0;c=N[j+52>>2];if(c){Qa[c|0](b)}c=N[b+104>>2];c:{if(!c){break c}g=N[b+8>>2];d=N[c+28>>2];f=N[c+24>>2];if(f){Qa[f|0](c)}if(g&1024){break c}Qa[N[d+8>>2]](d,c)}N[b+104>>2]=0;c=N[b+128>>2];if(c){Qa[N[a+8>>2]](a,c);N[b+128>>2]=0}Qa[N[a+8>>2]](a,b)}function eC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!N[a+4>>2]){c=6;a:{if(N[a+12>>2]!=1){break a}g=N[a>>2];h=N[a+28>>2];if(h){N[(N[a+36>>2]+(h<<4)|0)-4>>2]=b}j=h+1|0;f=N[a+32>>2];b:{if(j>>>0<=f>>>0){d=N[a+36>>2];break b}e=(h&-8)+8|0;if((e|f)<0){break a}i=N[a+36>>2];c:{d:{e:{if(!e){if(!i){break e}Qa[N[g+8>>2]](g,i);N[a+36>>2]=0;break c}c=10;if((e|0)>134217727){break a}f:{if(!f){d=Qa[N[g+4>>2]](g,e<<4)|0;c=!d<<6;break f}c=Qa[N[g+12>>2]](g,f<<4,e<<4,i)|0;d=c?c:i;c=!c<<6}if(c|(e|0)<=(f|0)|!d){break d}G((f<<4)+d|0,0,e-f<<4)}N[a+36>>2]=d;break c}N[a+36>>2]=d;if(c){break a}}N[a+32>>2]=e}N[((j<<4)+d|0)-16>>2]=0;N[((h<<4)+d|0)+12>>2]=0;N[a+28>>2]=j;f=N[a- -64>>2];if(f){N[(N[a+72>>2]+(f<<4)|0)-4>>2]=b}i=f+1|0;e=N[a+68>>2];g:{if(i>>>0<=e>>>0){b=N[a+72>>2];break g}c=6;d=(f&-8)+8|0;if((d|e)<0){break a}h=N[a+72>>2];h:{i:{j:{if(!d){b=0;if(!h){break j}Qa[N[g+8>>2]](g,h);N[a+72>>2]=0;break h}c=10;if((d|0)>134217727){break a}k:{if(!e){b=Qa[N[g+4>>2]](g,d<<4)|0;c=!b<<6;break k}c=Qa[N[g+12>>2]](g,e<<4,d<<4,h)|0;b=c?c:h;c=!c<<6}if(c|(d|0)<=(e|0)|!b){break i}G((e<<4)+b|0,0,d-e<<4)}N[a+72>>2]=b;break h}N[a+72>>2]=b;if(c){break a}}N[a+68>>2]=d}N[((i<<4)+b|0)-16>>2]=0;N[((f<<4)+b|0)+12>>2]=0;N[a+64>>2]=i;return}N[a+4>>2]=c}}function pm(a){var b=0,c=0,d=0,e=0;d=La-16|0;La=d;b=N[a+20>>2];a:{if(b){c=85;if(Qa[b|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;c=85;b=N[a+4>>2];if(!b){break a}e=N[a+20>>2];b:{if(e){b=Qa[e|0](a,0,d+4|0,4)|0;break b}b=b>>>0>=4?4:b;B(d+4|0,N[a>>2],b)}N[a+8>>2]=b;if(b>>>0<4){break a}c=3;if(O[d+4|0]!=31|O[d+5|0]!=139|(O[d+6|0]!=8|O[d+7|0]>31)){break a}b=b+6|0;e=N[a+20>>2];c:{d:{if(e){c=85;if(!(Qa[e|0](a,b,0,0)|0)){break d}break c}c=85;if(b>>>0>Q[a+4>>2]){break c}}N[a+8>>2]=b;c=0}N[d+8>>2]=c;b=O[d+7|0];if(b&4){b=ln(a,d+8|0);c=N[d+8>>2];if(c){break a}c=Wc(a,b);if(c){break a}c=0;b=O[d+7|0]}e:{if(b&8){while(1){L[d+14|0]=0;c=N[a+8>>2];e=N[a+20>>2];f:{if(e){b=d+14|0;if((Qa[e|0](a,c,b,1)|0)!=1){break e}c=N[a+8>>2];break f}if(Q[a+4>>2]<=c>>>0){break e}b=N[a>>2]+c|0}b=O[b|0];N[a+8>>2]=c+1;if(b){continue}break}c=0;b=O[d+7|0]}if(b&16){while(1){L[d+15|0]=0;c=N[a+8>>2];e=N[a+20>>2];g:{if(e){b=d+15|0;if((Qa[e|0](a,c,b,1)|0)!=1){break e}c=N[a+8>>2];break g}if(Q[a+4>>2]<=c>>>0){break e}b=N[a>>2]+c|0}b=O[b|0];N[a+8>>2]=c+1;if(b){continue}break}c=0;b=O[d+7|0]}if(!(b&2)){break a}b=N[a+8>>2]+2|0;e=N[a+20>>2];h:{if(e){c=85;if(!(Qa[e|0](a,b,0,0)|0)){break h}break a}c=85;if(b>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=b;c=0;break a}c=85}La=d+16|0;return c}function Xu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=N[N[N[a+4>>2]+96>>2]+28>>2];i=Kb(N[N[N[b>>2]+428>>2]+(c<<2)>>2],0);c=N[a+160>>2];e=N[c+156>>2];a:{if(!e){break a}f=N[e+4>>2];if(!(f&1)){break a}g=N[c+88>>2];if(g){e=N[N[c+4>>2]+100>>2];Qa[N[e+8>>2]](e,g);e=N[c+156>>2];f=N[e+4>>2]}N[e+4>>2]=f&-2}N[c+24>>2]=0;N[c+28>>2]=0;N[c+152>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;G(c+72|0,0,72);c=Qa[N[h+72>>2]](N[a+160>>2],N[b+44>>2],i,d|8)|0;if(!c){b=N[a+160>>2];d=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=d;d=N[b+36>>2];N[a+32>>2]=N[b+32>>2];N[a+36>>2]=d;d=N[b+44>>2];N[a+40>>2]=N[b+40>>2];N[a+44>>2]=d;d=N[b+52>>2];N[a+48>>2]=N[b+48>>2];N[a+52>>2]=d;N[a+56>>2]=N[b+56>>2];N[a+60>>2]=N[b+60>>2];N[a+72>>2]=N[b+72>>2];N[a+124>>2]=N[b+124>>2];d=N[b+120>>2];N[a+116>>2]=N[b+116>>2];N[a+120>>2]=d;d=N[b+112>>2];N[a+108>>2]=N[b+108>>2];N[a+112>>2]=d;d=N[b+96>>2];N[a+92>>2]=N[b+92>>2];N[a+96>>2]=d;d=N[b+88>>2];N[a+84>>2]=N[b+84>>2];N[a+88>>2]=d;d=N[b+80>>2];N[a+76>>2]=N[b+76>>2];N[a+80>>2]=d;N[a+100>>2]=N[b+100>>2];N[a+104>>2]=N[b+104>>2];N[a+128>>2]=N[b+128>>2];N[a+132>>2]=N[b+132>>2];N[a+136>>2]=N[b+136>>2];N[a+140>>2]=N[b+140>>2]}return c|0}function Og(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-32|0;La=g;if(!(!(O[b+144|0]&64)|O[b+16|0]&16)){N[g+28>>2]=0;h=N[a+96>>2];j=N[h+28>>2];k=N[a+100>>2];l=g+28|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}l=Qa[j|0](a,k,9676,l,h)|0;if(l){h=N[g+28>>2];N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;N[b+84>>2]=N[b+80>>2];j=N[b+68>>2];a:{if(!j){break a}m=(f|0)!=-1?f:0;if((e|0)==-1){a=0;while(1){if(!O[b+60|0]){break a}f=N[b+80>>2]+T(i,20)|0;e=O[f+15|0];b:{if(!((e|0)!=(a|0)&(e&15)==(c|0))){Ng(b);break b}N[g+8>>2]=h;M[g+24>>1]=0;N[g+20>>2]=0;L[g+27|0]=m;L[g+26|0]=d;N[g+16>>2]=N[f+8>>2];a=N[f+4>>2];L[g+23|0]=e;N[g+12>>2]=a;xq(b,g+8|0);a=e}i=N[b+64>>2];if(i>>>0>2]){continue}break}break a}f=0;while(1){if(!O[b+60|0]){break a}k=N[b+80>>2]+T(i,20)|0;a=O[k+15|0];c:{if(!((a|0)==(f|0)|(a&15)!=(c|0))){N[g+8>>2]=h;M[g+24>>1]=0;N[g+20>>2]=0;L[g+27|0]=m;L[g+26|0]=d;N[g+16>>2]=N[k+8>>2];f=N[k+4>>2];L[g+23|0]=a;N[g+12>>2]=f;d:{if(i>>>0>=j>>>0){break d}while(1){if(!O[b+60|0]){break d}f=N[b+80>>2]+T(i,20)|0;if((a|0)!=O[f+15|0]|O[f+18|0]!=(e|0)){break d}Ng(b);i=N[b+64>>2];if(i>>>0>2]){continue}break}}xq(b,g+8|0);f=a;break c}Ng(b)}i=N[b+64>>2];j=N[b+68>>2];if(i>>>0>>0){continue}break}}zc(b)}i=(l|0)!=0}La=g+32|0;return i}function Lf(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=La-272|0;La=k;l=N[N[a+96>>2]+64>>2];N[k+264>>2]=0;a:{b:{if(!Lk(a,d,e,N[j+4>>2],N[j+16>>2],k+264|0,k)){break b}o=N[k+264>>2];if(!o){l=0;break b}q=N[j+20>>2];r=N[j+8>>2];N[a+76>>2]=f;e=o-1|0;N[a+44>>2]=e;n=N[N[a+48>>2]+96>>2];N[a+80>>2]=N[n+68>>2];l=0;l=(e|0)==N[n+64>>2]?O[(N[n+80>>2]+T(e,20)|0)+15|0]:l;n=a+44|0;N[a+72>>2]=g;N[a+68>>2]=q;N[a- -64>>2]=r;L[a+63|0]=O[a+62|0]?l:0;g=o;c:{if(!f){break c}e=0;while(1){if(!ic(n,k+268|0)){l=N[k+268>>2];g=l;if(m&1){break c}break b}e=e+1|0;m=f>>>0<=e>>>0;if((e|0)!=(f|0)){continue}break}g=N[n>>2]+1|0}m=N[a+96>>2];e=N[m+(O[m+62|0]?72:64)>>2];l=N[j+12>>2];q=N[j>>2];N[a+76>>2]=b;N[a+44>>2]=e;j=N[N[a+48>>2]+96>>2];N[a+80>>2]=N[j+68>>2];f=0;p=N[j+64>>2]==(e|0)?O[(N[j+80>>2]+T(e,20)|0)+15|0]:p;N[a+72>>2]=c;N[a+68>>2]=l;N[a+64>>2]=q;L[a+63|0]=O[a+62|0]?p:0;d:{if(!b){break d}e=0;while(1){if(!ge(n,k+268|0)){e=N[k+268>>2];m=N[a+96>>2];if(f&1){break d}p=0;if(!(O[m+16|0]&64)){break a}wb(m,2,e,g,0,1);break a}e=e+1|0;f=e>>>0>=b>>>0;if((b|0)!=(e|0)){continue}break}m=N[a+96>>2];e=N[a+44>>2]}p=1;wb(m,3,e,g,1,1);Kk(a,d,k,h,i,o);break a}a=N[a+96>>2];if(!(O[a+16|0]&64)){break a}wb(a,2,N[a+64>>2],l,1,0)}La=k+272|0;return p}function jE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=db(1,36);if(f){i=f;h=N[a+44>>2];a:{b:{if((h|0)>0){g=N[a+48>>2];c=h-1|0;a=c;c:{d:{while(1){b=a+d>>>1|0;e=N[T(b,36)+g>>2];e:{if(e>>>0>=1886545255){a=b-1|0;break e}if((e|0)==1886545254){break d}d=b+1|0}if((a|0)>=(d|0)){continue}break}a=0;break c}a=N[(T(b,36)+g|0)+28>>2]}N[f>>2]=a;d=0;a=c;f:{while(1){b=a+d>>>1|0;e=N[T(b,36)+g>>2];g:{if(e>>>0<=1651275622){d=N[(T(b,36)+g|0)+28>>2];if((e|0)==1651275622){break f}d=b+1|0;break g}a=b-1|0}if((a|0)>=(d|0)){continue}break}d=0}N[f+4>>2]=d;a=0;h:{while(1){b=a+c>>>1|0;e=N[T(b,36)+g>>2];i:{if(e>>>0<=1633842790){a=N[(T(b,36)+g|0)+28>>2];if((e|0)==1633842790){break h}a=b+1|0;break i}c=b-1|0}if((a|0)<=(c|0)){continue}break}a=0}N[f+8>>2]=a;c=0;if((h|0)<=0){break b}a=h-1|0;d=a;j:{while(1){b=c+d>>>1|0;e=N[T(b,36)+g>>2];k:{if(e>>>0<=1886614630){c=N[(T(b,36)+g|0)+28>>2];if((e|0)==1886614630){break j}c=b+1|0;break k}d=b-1|0}if((c|0)<=(d|0)){continue}break}c=0}N[f+12>>2]=c;c=0;while(1){b=a+c>>>1|0;e=N[T(b,36)+g>>2];l:{if(e>>>0<=1667654002){c=N[(T(b,36)+g|0)+28>>2];if((e|0)==1667654002){break a}c=b+1|0;break l}a=b-1|0}if((a|0)>=(c|0)){continue}break}c=0;break a}N[f+4>>2]=0;N[f+8>>2]=0}N[f+12>>2]=0;c=0}N[i+16>>2]=c}return f|0}function Du(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(!b){return 1}d=a&65535;a=a>>>16|0;if(c){while(1){h=c>>>0>=5552?5552:c;t=c-h|0;a:{if(c>>>0>=16){while(1){n=O[b|0]+d|0;o=n+O[b+1|0]|0;p=o+O[b+2|0]|0;q=p+O[b+3|0]|0;r=q+O[b+4|0]|0;s=r+O[b+5|0]|0;j=s+O[b+6|0]|0;k=j+O[b+7|0]|0;l=k+O[b+8|0]|0;m=l+O[b+9|0]|0;i=m+O[b+10|0]|0;f=i+O[b+11|0]|0;e=f+O[b+12|0]|0;g=e+O[b+13|0]|0;c=g+O[b+14|0]|0;d=c+O[b+15|0]|0;a=d+(c+(g+(e+(f+(i+(m+(l+(k+(j+(s+(r+(q+(p+(o+(a+n|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;h=h-16|0;if(h>>>0>15){continue}break}if(!h){break a}}f=h&3;b:{if(!f){g=h;c=b;break b}g=h&-4;e=0;c=b;while(1){d=O[c|0]+d|0;a=d+a|0;c=c+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}c=b+f|0}c:{if(h>>>0<4){break c}e=g-4|0;d:{if(e&4){e=g;break d}i=O[c|0]+d|0;f=i+O[c+1|0]|0;g=f+O[c+2|0]|0;d=g+O[c+3|0]|0;a=d+(g+(f+(a+i|0)|0)|0)|0;if(e>>>0<4){break c}c=c+4|0}while(1){j=O[c|0]+d|0;k=j+O[c+1|0]|0;l=k+O[c+2|0]|0;m=l+O[c+3|0]|0;i=m+O[c+4|0]|0;f=i+O[c+5|0]|0;g=f+O[c+6|0]|0;d=g+O[c+7|0]|0;a=d+(g+(f+(i+((((a+j|0)+k|0)+l|0)+m|0)|0)|0)|0)|0;c=c+8|0;e=e-8|0;if(e){continue}break}}b=b+h|0}a=(a>>>0)%65521|0;d=(d>>>0)%65521|0;c=t;if(c){continue}break}}return a<<16|d}function $d(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}g=a-4|0;while(1){b=N[g>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1751474532,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{if(!b){break f}c=N[b>>2];if(!c){break f}if((c|0)<=0){break e}N[b>>2]=c+1}L[d+28|0]=0;N[d+36>>2]=b;e=N[b+12>>2];N[d+8>>2]=e;f=N[b+16>>2];N[d+12>>2]=e+f;if((f|0)<0){break d}N[d+32>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[d+16>>2]=c;N[d+24>>2]=0;N[d+4>>2]=0;if(!e){ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;break c}g:{h:{i:{if(f>>>0<54){break i}N[d+16>>2]=c-54;if((O[e|0]|O[e+1|0]<<8)!=256){break i}c=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if((c|0)!=-180613281){break h}if(!N[b+4>>2]){break g}N[b+4>>2]=0;break c}ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0}ab(b);b=275552}break c}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}c=b;b=N[a>>2];j:{if(c){if(b){break j}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<54?275552:N[b+12>>2]}function SA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;e=La-464|0;La=e;f=b+8|0;g=N[f+4>>2];N[e+16>>2]=N[f>>2];N[e+20>>2]=g;N[e+40>>2]=N[b+32>>2];f=N[b+28>>2];N[e+32>>2]=N[b+24>>2];N[e+36>>2]=f;f=N[b+20>>2];N[e+24>>2]=N[b+16>>2];N[e+28>>2]=f;f=N[b+4>>2];g=N[b>>2];N[e+16>>2]=2;N[e+8>>2]=g;N[e+12>>2]=f;a:{switch(N[b+8>>2]-7|0){case 0:case 3:N[e+16>>2]=3;break;default:break a}}Cd(a,e+452|0);b:{if(N[e+460>>2]!=3){h=162;break b}i=N[a>>2];f=N[e+452>>2]+1|0;N[a>>2]=f;j=N[a+8>>2];h=N[e+456>>2]-1|0;N[a+8>>2]=h;g=e+48|0;c:{if(f>>>0>=h>>>0){break c}f=0;while(1){Cd(a,e+440|0);g=(e+48|0)+T(f,12)|0;if(!N[e+448>>2]){break c}if(f>>>0<=31){h=N[e+444>>2];N[g>>2]=N[e+440>>2];N[g+4>>2]=h;N[g+8>>2]=N[e+448>>2]}f=f+1|0;if(Q[a>>2]>2]){continue}break}g=(e+48|0)+T(f,12)|0}N[a+8>>2]=j;N[a>>2]=i;f=g-(e+48|0)|0;if((f|0)<0){h=162;break b}f=(f>>>0)/12|0;g=N[b+24>>2];g=f>>>0>>0?f:g;d:{if(N[b+8>>2]==7){break d}b=N[b+28>>2];if(!b){break d}L[b+N[c>>2]|0]=g}e:{if(g){f=e+48|0;b=N[e+24>>2];k=O[e+28|0];while(1){N[a>>2]=N[f>>2];N[a+8>>2]=N[f+4>>2];h=Yo(a,e+8|0,c,d,e);if(h){break e}b=b+k|0;N[e+24>>2]=b;f=f+12|0;h=(g|0)>1;g=g-1|0;if(h){continue}break}}h=0}N[a+8>>2]=j;N[a>>2]=i}La=e+464|0;return h|0}function QC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=U(0),h=0,i=0,j=U(0),k=0,l=0;d=N[b+12>>2];a:{if(O[b+6|0]){if(d){a=N[d+128>>2];j=U(N[a+12>>2]);g=U(N[a+8>>2])}else{g=U(0)}g=U(U(aa(U(U(g*g)+U(j*j))))*U(152587890625e-16));break a}g=U(N[a+32>>2]>>31|1)}b:{if(P[d+68>>1]){b=N[N[d+88>>2]+20>>2];a=b>>31;e=M[d+70>>1];f=e>>31;a=(a^b)-a|0;k=a>>>8|0;f=(e^f)-f|0;c:{if(k+f>>>0<=8190){h=T(a,f)+32768>>>16|0;break c}h=T(f,a>>>16|0)+(T(f,a&65535)+32768>>>16|0)|0}f=h;i=0-f|0;f=e>>31|1;f=(((b|0)<0?0-f|0:f)|0)<0?i:h;i=M[d+72>>1];e=i>>31;e=(e^i)-e|0;d:{if(e+k>>>0<=8190){h=T(a,e)+32768>>>16|0;break d}h=T(e,a>>>16|0)+(T(e,a&65535)+32768>>>16|0)|0}e=h;l=0-e|0;e=i>>31|1;e=(((b|0)<0?0-e|0:e)|0)<0?l:h;i=M[d+74>>1];d=i>>31;d=(d^i)-d|0;e:{if(d+k>>>0<=8190){d=T(a,d)+32768>>>16|0;break e}d=T(d,a>>>16|0)+(T(d,a&65535)+32768>>>16|0)|0}a=d;h=0-a|0;a=i>>31|1;a=e+(((((b|0)<0?0-a|0:a)|0)<0?h:d)-f|0)|0;break b}a=N[d+88>>2];e=N[a+28>>2];f=N[a+24>>2];a=(e-f|0)+N[a+32>>2]|0}j=U(g*U(a|0));f:{if(U(V(j))>2]=a;j=U(g*U(e|0));g:{if(U(V(j))>2]=a;g=U(g*U(f|0));h:{if(U(V(g))>2]=a;return 1}function ag(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=N[a+28>>2];N[c>>2]=0;e=-1;d=N[a+32>>2];j=N[a+36>>2];a:{if(d>>>0>=j>>>0){break a}i=d+1|0;N[a+32>>2]=i;g=O[d|0];if(!g){break a}e=0;if(g<<24>>24<0){if(i>>>0>>0){N[a+32>>2]=d+2;d=O[d+1|0]}else{d=0}g=d|g<<8&32512}if(b>>>0>>0){break a}b=(g<<1)+2|0;i=Qa[N[f+4>>2]](f,b)|0;if(!i){break a}G(i,0,b);N[c>>2]=g;if(g){d=N[a+32>>2];k=N[a+36>>2];while(1){b:{c:{if(d>>>0>=k>>>0){c=i+(e<<1)|0;l=0;e=e+1|0;b=0;break c}f=d+1|0;N[a+32>>2]=f;j=e+1|0;c=i+(e<<1)|0;l=O[d|0];b=l<<24>>24;if((b|0)>=0){d=f;e=j;break c}b=0;e=0;if(d+2>>>0>>0){f=d+3|0;d=O[d+1|0]|O[d+2|0]<<8;e=d<<8|d>>>8}N[a+32>>2]=f;h=e+h|0;M[c>>1]=h;d=f;e=j;f=l&127;if(!f){break b}while(1){c=0;if(d+1>>>0>>0){c=O[d|0]|O[d+1|0]<<8;c=c<<8|c>>>8;d=d+2|0}N[a+32>>2]=d;h=c+h|0;M[i+(e<<1)>>1]=h;e=e+1|0;if(g>>>0<=e>>>0){break b}b=b+1|0;if(f>>>0>b>>>0){continue}break}break b}m=0;d:{if(d>>>0>=k>>>0){f=0;break d}j=d+1|0;N[a+32>>2]=j;f=O[d|0];d=j}h=(f&255)+h|0;M[c>>1]=h;c=d;if(!b){break b}while(1){b=0;if(c>>>0>>0){d=c+1|0;N[a+32>>2]=d;b=O[c|0];c=d}h=(b&255)+h|0;M[i+(e<<1)>>1]=h;e=e+1|0;if(g>>>0<=e>>>0){break b}m=m+1|0;if(m>>>0>>0){continue}break}}if(e>>>0>>0){continue}break}}e=i}return e}function Eg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(a&4){f=d>>31;e=(f^d)-f|0;a:{b:{c:{if((c|0)==1){if(!(a&2)){break c}break b}if(a&1){break b}}d:{a=T(c,7676)+b|0;if(!N[a+52>>2]){break d}c=N[a+60>>2];a=e-c|0;b=a>>31;if((a^b)-b>>>0>39){break d}e=(c|0)<=48?48:c;break a}if(e>>>0<=53){e=(54-e>>>1&127)+e|0;break a}if(e>>>0>191){break a}b=e&63;if(b>>>0<10){break a}a=e&2147483584;if(b>>>0<=21){e=a|10;break a}e=b-42>>>0<12?a|54:e;break a}e:{f:{g:{h:{i:{j:{b=T(c,7676)+b|0;f=N[b+52>>2];if(f){k=b+56|0;if((f|0)!=1){break j}i=98;f=e;break i}b=e+32&2147483584;f=e;break g}q=f&1;l=f&-2;i=98;b=0;f=e;while(1){m=N[(T(b|1,12)+k|0)+4>>2];h=e-m|0;n=h>>31;o=N[(T(b,12)+k|0)+4>>2];g=e-o|0;j=g>>31;g=(g^j)-j|0;p=(g|0)<(i|0);h=(h^n)-n|0;g=p?g:i;j=(h|0)<(g|0);i=j?h:g;f=j?m:p?o:f;b=b+2|0;if((l|0)!=(b|0)){continue}break}if(!q){break h}}g=N[(T(l,12)+k|0)+4>>2];b=e-g|0;h=b>>31;f=((b^h)-h|0)<(i|0)?g:f}b=f+32&-64;if((e|0)<(f|0)){break f}}b=(b|48)>(e|0)?f:e;break e}b=(b-48|0)<(e|0)?f:e}if((c|0)==1){e=64;if((b|0)<64){break a}e=b+16&-64;break a}if(a&8){e=64;if((b|0)<64){break a}e=b+32&-64;break a}if((b|0)<=47){e=b- -64>>1;break a}if(b>>>0<=127){e=b+22&-64;break a}e=b+32&-64}d=(d|0)<0?0-e|0:e}return d}function lq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if((a|0)==275552){break a}b:{switch(O[a|0]){case 0:return O[(a+b|0)+1|0];case 3:c:{if(!(O[a+1|0]|O[a+2|0]<<8)){i=275552;e=0;break c}i=a+3|0;e=O[a+1|0]|O[a+2|0]<<8}g=(e<<8|(e&65280)>>>8)&65535;d:{if(g>>>0>=2){d=g-2|0;while(1){h=d+f>>>1|0;c=T(h,3)+i|0;j=O[c|0]|O[c+1|0]<<8;e:{if(((j<<8|j>>>8)&65535)>>>0<=b>>>0){f=O[c+3|0]|O[c+4|0]<<8;if(((f<<8|f>>>8)&65535)>>>0>b>>>0){break d}f=h+1|0;break e}d=h-1|0}if((d|0)>=(f|0)){continue}break}}if(!(e&65535)){return O[275554]}c=T(g,3)+a|0}return O[c+2|0];case 4:break b;default:break a}}f:{if(!(O[a+1|0]|O[a+2|0]<<8|(O[a+3|0]<<16|O[a+4|0]<<24))){i=275552;e=0;break f}i=a+5|0;e=O[a+1|0]|O[a+2|0]<<8|(O[a+3|0]<<16|O[a+4|0]<<24)}c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);j=c-1|0;g:{if((j|0)>0){f=c-2|0;while(1){h=d+f>>>1|0;c=T(h,6)+i|0;g=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){d=O[c+6|0]|O[c+7|0]<<8|(O[c+8|0]<<16|O[c+9|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>b>>>0){break g}d=h+1|0;break h}f=h-1|0}if((d|0)<=(f|0)){continue}break}}if(!e){c=275552;break g}c=(T(j,6)+a|0)+5|0}a=O[c+4|0]|O[c+5|0]<<8;d=(a<<8|a>>>8)&65535}return d}function QE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{e=b;if(e){if(!c){break j}if(!d){break i}e=W(d)-W(e)|0;if(e>>>0<=31){break h}break b}if((d|0)==1|d>>>0>1){break b}b=(a>>>0)/(c>>>0)|0;Na=a-T(b,c)|0;Oa=0;Pa=0;return b}if(!a){break g}if(!d){break f}f=d-1|0;if(f&d){break f}Na=a;Oa=e&f;a=e>>>RE(d)|0;Pa=0;return a}f=c-1|0;if(!(f&c)){break e}k=(W(c)+33|0)-W(e)|0;g=0-k|0;break c}k=e+1|0;g=63-e|0;break c}Na=0;a=(e>>>0)/(d>>>0)|0;Oa=e-T(a,d)|0;Pa=0;return a}e=W(d)-W(e)|0;if(e>>>0<31){break d}break b}Na=a&f;Oa=0;if((c|0)==1){break a}c=RE(c);d=c&31;if((c&63)>>>0>=32){e=0;a=b>>>d|0}else{e=b>>>d|0;a=((1<>>d}Pa=e;return a}k=e+1|0;g=63-e|0}f=a;e=k&63;h=e&31;if((e&63)>>>0>=32){e=0;f=b>>>h|0}else{e=b>>>h|0;f=((1<>>h}h=g&63;g=a;i=h&31;if((h&63)>>>0>=32){j=a<>>32-i|b<>>31;f=f<<1|b>>>31;l=e;i=g-(e+(f>>>0>h>>>0)|0)|0;m=i>>31;j=m;e=f;i=c&j;f=e-i|0;e=l-((d&j)+(e>>>0>>0)|0)|0;j=b<<1|a>>>31;a=n|a<<1;b=j|o;l=m&1;n=l;k=k-1|0;if(k){continue}break}}Na=f;Oa=e;j=b<<1|a>>>31;a=l|a<<1;Pa=j|o;return a}Na=a;Oa=b;a=0;b=0}Pa=b;return a}function xz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-128|0;La=d;f=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=0|b;hb(d+112|0,f^e^2025677871,b^c^-1602871964,0,0,e^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+80|0,(g|c)^(N[d+104>>2]^N[d+96>>2])^2025677871,b^(N[d+108>>2]^N[d+100>>2])^-1602871964,0,0,b^-1598805797,c^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805805,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+16|0,a^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+128|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function Tk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=La-16|0;La=i;e=N[b+96>>2];h=O[a+2|0]|O[a+3|0]<<8;if(h){c=((h<<8|h>>>8)&65535)+a|0}else{c=275552}g=N[e+64>>2];h=vb(c,N[N[e+80>>2]+T(g,20)>>2]);c=0;a:{if((h|0)==-1){break a}N[b+4>>2]=g;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];d=(g|0)==N[c+64>>2]?O[(N[c+80>>2]+T(g,20)|0)+15|0]:d;f=b+4|0;N[b+12>>2]=8;L[b+23|0]=O[b+22|0]?d:0;while(1){if(!ge(f,i+12|0)){if(O[e+16|0]&64){wb(e,2,N[i+12>>2],N[e+64>>2]+1|0,0,1)}c=0;break a}b:{g=N[f>>2];c=N[e+80>>2]+T(g,20)|0;if(!(O[c+12|0]&64)|!g){break b}d=O[c+14|0];k=d&16?0:d&15;if(!k){break b}l=c-20|0;if((P[l+12>>1]&72)!=64){break b}j=d;d=O[l+14|0];if((j^d)>>>0>31|((d&16?1:(d&15)+1|0)|0)!=(k|0)){break b}N[b+36>>2]=N[b+36>>2]+1;c=N[b+32>>2];if(!c){continue}N[b+32>>2]=c-2;continue}break}f=O[a+4|0]|O[a+5|0]<<8;if(f){d=((f<<8|f>>>8)&65535)+a|0}else{d=275552}c=vb(d,N[c>>2]);if((c|0)==-1){c=0;if(!(O[e+16|0]&64)){break a}wb(e,2,g,N[e+64>>2]+1|0,0,1);c=0;break a}e=O[a+8|0]|O[a+9|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=275552}f=O[a+10|0]|O[a+11|0]<<8;if(f){j=((f<<8|f>>>8)&65535)+a|0}else{j=275552}a=O[a+6|0]|O[a+7|0]<<8;c=$g(d,b,h,c,j,(a<<8|a>>>8)&65535,g)}La=i+16|0;return c}function fi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}d=N[a+96>>2];if(!d){return 6}h=N[d+8>>2];a:{b:{i=N[d+12>>2];c=N[i+44>>2];c:{if((c|0)<=0){g=6;f=h;if(!c){break c}break b}e=Qa[N[h+4>>2]](h,c)|0;if(!e){g=64;break b}G(e,0,c);d=N[a+96>>2];f=N[d+8>>2];i=N[d+12>>2]}N[e+4>>2]=a;N[e>>2]=N[d+4>>2];g=64;d:{c=Qa[N[f+4>>2]](f,44)|0;e:{if(!c){break e}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[e+156>>2]=c;if(!(O[N[d>>2]+1|0]&2)){d=Qa[N[f+4>>2]](f,96)|0;if(!d){break e}G(d+4|0,0,92);N[d>>2]=f;N[c>>2]=d}f=N[i+64>>2];if(!f){break d}g=Qa[f|0](e)|0;if(!g){break d}}af(e);Qa[N[h+8>>2]](h,e);return g}N[e+8>>2]=N[a+84>>2];N[a+84>>2]=e;g=0;if(!b){break a}N[b>>2]=e;break a}if(!b){break a}N[b>>2]=0;return g}return g}function Bn(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 35}c=6;a:{if(!b){break a}if(!N[a+96>>2]){return 34}N[b>>2]=0;e=N[a+100>>2];g=N[N[a+96>>2]+12>>2];d=N[g+40>>2];b:{if((d|0)<=0){if(!d){break b}break a}f=Qa[N[e+4>>2]](e,d)|0;if(!f){return 64}G(f,0,d)}c:{d:{d=Qa[N[e+4>>2]](e,12)|0;if(d){L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;N[f>>2]=a;c=Qa[N[e+4>>2]](e,36)|0;if(!c){c=64;break d}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[f+40>>2]=c;c=N[g+56>>2];if(c){c=Qa[c|0](f)|0;if(c){break d}}N[b>>2]=f;N[d+8>>2]=f;b=N[a+112>>2];N[d>>2]=b;N[d+4>>2]=0;N[(b?b+4|0:a+108|0)>>2]=d;N[a+112>>2]=d;return 0}c=64;if(!f){break a}break c}Qa[N[e+8>>2]](e,d)}a=N[f+40>>2];if(a){Qa[N[e+8>>2]](e,a)}N[f+40>>2]=0;Qa[N[e+8>>2]](e,f)}return c}function cn(a){var b=0,c=0,d=0,e=0;e=N[N[a>>2]+100>>2];b=N[a+300>>2];if(b){N[b+460>>2]=0;c=N[b+8>>2];d=N[b+24>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+20>>2]=0;N[b+24>>2]=0;d=N[b+400>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+396>>2]=0;N[b+400>>2]=0;d=N[b+500>>2];if(d){Qa[N[c+8>>2]](c,d)}M[b+496>>1]=0;N[b+500>>2]=0;d=N[b+456>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+456>>2]=0;N[b+448>>2]=0;N[b+452>>2]=0;d=N[b+412>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+408>>2]=0;N[b+412>>2]=0;N[b>>2]=0;N[b+4>>2]=0;Qa[N[c+8>>2]](c,b);N[a+300>>2]=0}b=N[a+252>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+248>>2]=0;N[a+252>>2]=0;b=N[a+260>>2];if(b){Qa[N[e+8>>2]](e,b)}M[a+256>>1]=0;N[a+260>>2]=0;b=N[a+264>>2];if(b){c=N[a+292>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+292>>2]=0;c=N[a+288>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+288>>2]=0;c=N[a+280>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+280>>2]=0;c=N[a+276>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+276>>2]=0;c=N[a+284>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+284>>2]=0;b=a+264|0;N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}b=N[a+132>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+132>>2]=0;b=N[a+144>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+136>>2]=0;N[a+140>>2]=0;N[a+124>>2]=0;N[a+128>>2]=0;N[a+304>>2]=-1;N[a+308>>2]=-1;N[a+144>>2]=0;N[a+148>>2]=0;N[a+152>>2]=0}function Qy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=La+-64|0;La=e;a:{if(Zb(b,584856,0)){N[c>>2]=0;f=1;break a}b:{if(O[a+8|0]&24){d=Zb(a,b,1);break b}c:{if(!b){break c}g=Oc(b,584588);if(!g){break c}d=Zb(a,b,(N[g+8>>2]&24)!=0)}}if(d){f=1;a=N[c>>2];if(!a){break a}N[c>>2]=N[a>>2];break a}if(!b){break a}b=Oc(b,584636);if(!b){break a}d=N[c>>2];if(d){h=N[d>>2];N[c>>2]=h}d=N[b+8>>2];g=N[a+8>>2];if(d&(g^-1)&7|g&(d^-1)&96){break a}f=1;d=N[a+12>>2];a=N[b+12>>2];if(Zb(d,a,0)){break a}if(Zb(d,584844,0)){if(!a){break a}f=!Oc(a,584688);break a}f=0;if(!d){break a}b=Oc(d,584636);if(b){if(!(g&1)){break a}d:{e:{while(1){if(!a){break e}a=Oc(a,584636);if(!a){break e}g=N[b+8>>2];if(N[a+8>>2]&(g^-1)){break e}d=N[b+12>>2];a=N[a+12>>2];b=1;if(Zb(d,a,0)){break d}if(!(g&1)|!d){break e}b=Oc(d,584636);if(b){continue}break}b=Oc(d,584748);if(!b){break e}f=Nn(b,a)}b=f}f=b;break a}b=Oc(d,584748);if(b){if(!(g&1)){break a}f=Nn(b,a);break a}b=Oc(d,584540);if(!b|!a){break a}a=Oc(a,584540);if(!a){break a}G(e+12|0,0,52);N[e+56>>2]=1;N[e+20>>2]=-1;N[e+16>>2]=b;N[e+8>>2]=a;Qa[N[N[a>>2]+28>>2]](a,e+8|0,h,1);a=N[e+32>>2];if(!(!N[c>>2]|(a|0)!=1)){N[c>>2]=N[e+24>>2]}f=(a|0)==1}La=e- -64|0;return f|0}function Kf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=La-32|0;La=g;d=O[a+2|0]|O[a+3|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=275552}d=N[b+96>>2];i=N[N[d+80>>2]+T(N[d+64>>2],20)>>2];if((vb(e,i)|0)!=-1){f=275552;d=275552;e=O[a+4|0]|O[a+5|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}e=O[a+6|0]|O[a+7|0]<<8;if(e){f=((e<<8|e>>>8)&65535)+a|0}e=275552;h=O[a+8|0]|O[a+9|0]<<8;if(h){e=((h<<8|h>>>8)&65535)+a|0}N[g+28>>2]=e;N[g+24>>2]=f;c=c?248:249;N[g+16>>2]=c;N[g+12>>2]=(e|0)!=(f|0)?249:c;N[g+20>>2]=d;N[g+8>>2]=(d|0)!=(f|0)?249:c;c=Qe(f,i);f=O[a+10|0]|O[a+11|0]<<8;c=c>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((c<<1)+a|0)+12|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}f=O[c|0]|O[c+1|0]<<8;d=0;a:{if(!f){break a}i=g+8|0;f=(f<<8|f>>>8)&65535;a=c+2|0;while(1){d=O[a|0]|O[a+1|0]<<8;if(d){d=c+((d<<8|d>>>8)&65535)|0}else{d=275552}e=O[d|0]|O[d+1|0]<<8;j=(e<<8|e>>>8)&65535;k=d+2|0;d=(j<<1)+k|0;e=O[d|0]|O[d+1|0]<<8;l=(e<<8|e>>>8)&65535;e=(e?l<<1:2)+d|0;h=O[e|0]|O[e+1|0]<<8;m=(h<<8|h>>>8)&65535;n=e+2|0;e=(m<<1)+n|0;h=O[e|0]|O[e+1|0]<<8;d=Lf(b,j,k,l,d+2|0,m,n,(h<<8|h>>>8)&65535,e+2|0,i);if(!d){a=a+2|0;f=f-1|0;if(f){continue}}break}}f=d}La=g+32|0;return f}function bn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=N[a>>2];if(N[a+248>>2]){i=N[a+92>>2];d=i>>6;c=d>>31;c=(c^d)-c|0;k=c&65535;l=c>>>16|0;m=c>>>8|0;n=N[a+252>>2];o=N[g+704>>2];while(1){j=e<<2;h=N[j+o>>2];d=h>>31;d=(d^h)-d|0;a:{if(d+m>>>0<=8190){f=T(c,d)+32768>>>16|0;break a}f=d&65535;f=T(f,l)+T(c,d>>>16|0)+(T(k,f)+32768>>>16)|0}d=f;p=0-d|0;d=h>>31|1;N[n+j>>2]=(((i|0)<0?0-d|0:d)|0)<0?p:f;e=e+1|0;if(e>>>0>2]){continue}break}}c=N[a+300>>2];e=Vh(c,g,a);if(!e){L[c+593|0]=b;L[c+520|0]=0;N[c+16>>2]=0;N[c+448>>2]=0;d=N[g+696>>2];b=N[g+692>>2];N[c+480>>2]=0;N[c+484>>2]=0;N[c+476>>2]=b;N[c+472>>2]=d;e=0;if(b){N[c+372>>2]=b;N[c+364>>2]=d;N[c+368>>2]=0;N[c+360>>2]=2;e=Qa[N[g+708>>2]](c)|0}N[a+308>>2]=e;M[c+304>>1]=0;M[c+296>>1]=0;M[c+298>>1]=16384;M[c+300>>1]=0;M[c+302>>1]=16384;N[c+288>>2]=0;N[c+292>>2]=1073741824;M[c+352>>1]=1;N[c+348>>2]=65537;N[c+308>>2]=1;B(a+180|0,c+288|0,68);N[a+124>>2]=N[c+416>>2];N[a+136>>2]=N[c+428>>2];N[a+148>>2]=N[c+440>>2];N[a+152>>2]=N[c+444>>2];b=N[c+468>>2];N[a+156>>2]=N[c+464>>2];N[a+160>>2]=b;b=N[c+476>>2];N[a+164>>2]=N[c+472>>2];N[a+168>>2]=b;b=N[c+484>>2];N[a+172>>2]=N[c+480>>2];N[a+176>>2]=b}return e}function dd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=La-16|0;La=g;j=N[a+4>>2];a:{while(1){i=(k<<3)+b|0;b:{if(!N[i>>2]){kd(j);if(N[j+12>>2]>1){break a}e=N[j>>2];f=e-1|0;l=N[j+8>>2];c:{while(1){h=3;if(e>>>0>=l>>>0){d=e;break c}d=e+1|0;N[j>>2]=d;m=O[e|0];e=d;d:{switch(m-10|0){case 16:break c;case 0:case 3:break d;default:continue}}break}h=2}N[j+12>>2]=h;N[g+8>>2]=f;break b}f=hf(j);N[g+8>>2]=f;if(!f){break a}d=N[j>>2]}h=d-f|0;e=h-1|0;e:{f:{g:{switch(N[i>>2]){case 0:case 1:h:{if((h|0)>0){d=N[a>>2];d=Qa[N[d+4>>2]](d,h)|0;if(d){break h}break f}if((d|0)!=(f|0)){break f}d=0}N[i+4>>2]=d;B(d,f,e);L[e+N[i+4>>2]|0]=0;break e;case 2:n=i,o=Pc(g+8|0,e+f|0,0),N[n+4>>2]=o;break e;case 3:N[g+12>>2]=f;m=g+12|0;l=e+f|0;h=ed(m,l,10);d=0;e=N[g+12>>2];i:{if((f|0)==(e|0)){break i}if(!(O[e|0]!=35|e>>>0>=l>>>0)){f=e+1|0;N[g+12>>2]=f;h=ed(m,l,h);e=N[g+12>>2];if((f|0)==(e|0)){break i}}N[g+8>>2]=e;d=h}N[i+4>>2]=d;break e;case 4:if((e|0)==4){d=bb(f,15452,4)}else{d=1}L[i+4|0]=!d;break e;case 5:break g;default:break e}}d=N[a+12>>2];if(!d){break f}n=i,o=Qa[d|0](f,e,N[a+16>>2])|0,N[n+4>>2]=o;break e}N[i+4>>2]=0}k=k+1|0;if((k|0)!=(c|0)){continue}break}k=c}La=g+16|0;return k}function Lk(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=La-16|0;La=k;h=0;a:{if(b>>>0>64){break a}j=N[a+96>>2];i=N[j+64>>2];N[a+36>>2]=b-1;N[a+4>>2]=i;h=N[N[a+8>>2]+96>>2];N[a+40>>2]=N[h+68>>2];l=(i|0)==N[h+64>>2]?O[(N[h+80>>2]+T(i,20)|0)+15|0]:l;h=a+4|0;N[a+32>>2]=c;N[a+28>>2]=e;N[a+24>>2]=d;L[a+23|0]=O[a+22|0]?l:0;c=O[(N[j+80>>2]+T(i,20)|0)+14|0];N[g>>2]=i;b:{c:{d:{if(b>>>0<2){break d}e=c>>>5|0;d=0;a=1;i=c&16?0:c&15;if((i|0)!=0&c>>>0>31){while(1){if(!ic(h,k+12|0)){break c}N[(a<<2)+g>>2]=N[h>>2];c=O[(N[j+80>>2]+T(N[h>>2],20)|0)+14|0];if((e|0)==(c>>>5|0)){c=(i|0)==((c&16?0:c&15)|0)}else{c=0}e:{if(c){break e}f:{switch(d|0){case 0:break f;case 1:break b;default:break e}}l=N[j+84>>2];n=l+14|0;c=N[j+72>>2];while(1){if(!c){break b}c=c-1|0;m=T(c,20);d=O[m+n|0];if((e|0)!=(d>>>5|0)){break b}if(!(d&15?d&16:1)){continue}break}d=2;if((Jk(h,l+m|0)|0)!=1){break b}}a=a+1|0;if((b|0)!=(a|0)){continue}break d}}while(1){if(!ic(h,k+12|0)){break c}N[(a<<2)+g>>2]=N[h>>2];c=O[(N[j+80>>2]+T(N[h>>2],20)|0)+14|0];if(!((e|0)==(c>>>5|0)|c>>>0<32|c&16)){if(c&15){break b}}a=a+1|0;if((b|0)!=(a|0)){continue}break}}N[f>>2]=N[h>>2]+1;h=1;break a}N[f>>2]=N[k+12>>2]}h=0}La=k+16|0;return h}function uf(a,b){var c=0,d=0,e=0;a:{b:{c:{switch(a-247|0){default:if((a|0)!=28){break b}a=N[b+8>>2];c=N[b+4>>2];d:{if(a>>>0>=c>>>0){a=c+1|0;N[b+8>>2]=a;e=275552;break d}e=N[b>>2]+a|0}e=O[e|0]<<8;d=a+1|0;e:{if(d>>>0>=c>>>0){a=c+1|0;N[b+8>>2]=a;c=275552;break e}c=d+N[b>>2]|0}d=b+16|0;e=O[c|0]|e;c=N[b+20>>2];f:{if(c>>>0<=512){N[b+20>>2]=c+1;c=(d+(c<<3)|0)+8|0;break f}L[d|0]=1;N[147456]=0;N[147457]=0;c=589824}S[c>>3]=e<<16>>16;N[b+8>>2]=a+2;return;case 0:case 1:case 2:case 3:c=b+16|0;e=a<<8;a=N[b+8>>2];d=N[b+4>>2];g:{if(a>>>0>=d>>>0){a=d+1|0;N[b+8>>2]=a;d=275552;break g}d=N[b>>2]+a|0}d=(e+O[d|0]|0)+2412&65535;break a;case 4:case 5:case 6:case 7:break c}}c=b+16|0;e=(a<<16)-16449536>>>8|0;a=N[b+8>>2];d=N[b+4>>2];h:{if(a>>>0>=d>>>0){a=d+1|0;N[b+8>>2]=a;d=275552;break h}d=N[b>>2]+a|0}d=-108-(e|O[d|0])|0;break a}if(a-32>>>0<=214){d=a-139|0;a=b+16|0;c=N[b+20>>2];i:{if(c>>>0<=512){N[b+20>>2]=c+1;a=(a+(c<<3)|0)+8|0;break i}L[a|0]=1;N[147456]=0;N[147457]=0;a=589824}S[a>>3]=d|0;return}N[b+20>>2]=0;N[b+8>>2]=N[b+4>>2]+1;return}e=N[b+20>>2];j:{if(e>>>0<=512){N[b+20>>2]=e+1;c=((e<<3)+c|0)+8|0;break j}L[c|0]=1;N[147456]=0;N[147457]=0;c=589824}S[c>>3]=d|0;N[b+8>>2]=a+1}function Nm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=N[a+532>>2];if(!d){return 6}m=-1;k=N[d>>2];a:{if(!k){break a}i=N[d+136>>2];h=N[d+4>>2];b:{if(h){o=b>>>0>h>>>0?h:b;d=h;while(1){g=65536;e=0;c:{if(!d){break c}while(1){d:{if(e>>>0>=o>>>0){g=g>>1;break d}f=N[(e<<2)+c>>2];f=l>>>e&1?f:65536-f|0;if((f|0)<=0){g=0;e=d;break c}if(f>>>0>65535){break d}d=g>>31;d=(d^g)-d|0;e:{if(d+(f>>>8|0)>>>0<=8190){d=T(d,f)+32768>>>16|0;break e}n=d&65535;d=T(n,f>>>16|0)+T(f,d>>>16|0)+(T(f&65535,n)+32768>>>16)|0}g=(g|0)<0?0-d|0:d}d=h;e=e+1|0;if(d>>>0>e>>>0){continue}break}e=d}d=e;e=(l<<2)+i|0;if(N[e>>2]!=(g|0)){N[e>>2]=g;j=1}l=l+1|0;if((l|0)!=(k|0)){continue}break}break b}d=k&3;h=0;if(k>>>0>=4){g=k&-4;while(1){c=e<<2;f=c+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}f=(c|4)+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}f=(c|8)+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}c=(c|12)+i|0;if(N[c>>2]!=65536){N[c>>2]=65536;j=1}e=e+4|0;if((g|0)!=(e|0)){continue}break}}if(!d){break b}while(1){c=(e<<2)+i|0;if(N[c>>2]!=65536){N[c>>2]=65536;j=1}e=e+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(!j){break a}m=0;N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return m|0}function vg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=La-32|0;La=i;g=N[b+12>>2];h=N[b+8>>2];l=g-h|0;m=l>>3;j=m&1;if(!(O[e|0]|(O[a+8|0]|!j))){a:{if((g|0)==(h|0)){g=0;k=N[b+4>>2];if(!k|N[k>>2]){break a}N[k>>2]=130;break a}b:{switch(N[h+4>>2]-1|0){case 1:g=N[h>>2]<<16;break a;case 0:g=N[h>>2];g=((g>>31)+g|0)- -8192>>14;break a;default:break b}}g=N[h>>2]}N[d>>2]=(N[N[N[a+176>>2]+536>>2]+544>>2]<<16)+g}if(!O[N[a+176>>2]+548|0]){if(l>>>0>=9){while(1){d=N[b+8>>2];g=N[b+12>>2]-d>>3;c:{if(g>>>0<=j>>>0){a=0;h=N[b+4>>2];if(!h|N[h>>2]){break c}N[h>>2]=130;break c}d:{e:{f:{a=d+(j<<3)|0;switch(N[a+4>>2]-1|0){case 0:break e;case 1:break f;default:break d}}a=N[a>>2]<<16;break c}a=N[a>>2];a=((a>>31)+a|0)- -8192>>14;break c}a=N[a>>2]}f=a+f|0;N[i+16>>2]=f;a=j+1|0;g:{if(a>>>0>=g>>>0){a=0;d=N[b+4>>2];if(!d|N[d>>2]){break g}N[d>>2]=130;break g}h:{i:{j:{a=d+(a<<3)|0;switch(N[a+4>>2]-1|0){case 0:break i;case 1:break j;default:break h}}a=N[a>>2]<<16;break g}a=N[a>>2];a=((a>>31)+a|0)- -8192>>14;break g}a=N[a>>2]}N[i+24>>2]=0;N[i+28>>2]=0;L[i+12|0]=0;f=a+f|0;N[i+20>>2]=f;Oo(c,i+12|0);j=j+2|0;if(m>>>0>j>>>0){continue}break}h=N[b+8>>2]}N[b+12>>2]=h}L[e|0]=1;La=i+32|0}function Ji(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;e=La-48|0;La=e;q=N[b+12>>2];m=N[b+4>>2];k=q-m|0;v=k>>31;r=N[b+20>>2];f=r-m|0;n=f>>31;c=TE(k,v,f,n);i=Pa;s=N[b+8>>2];o=N[b>>2];t=s-o|0;u=N[b+16>>2];d=u-o|0;j=d;w=t>>31;p=d>>31;g=TE(t,w,d,p);h=g+c|0;c=Pa+i|0;c=g>>>0>h>>>0?c+1|0:c;a:{b:{i=N[a>>2];d=d>>31;d=(j^d)-d|0;g=f>>31;g=(g^f)-g|0;d=TE(i,i>>31,d>>>0>g>>>0?d:g,0);g=Pa;i=0-(g+((d|0)!=0)|0)|0;if(0-d>>>0>h>>>0&(i|0)>=(c|0)|(c|0)<(i|0)){break b}i=h;h=c;c=TE(f,n,f,n);y=Pa;x=TE(j,p,j,p);l=x+c|0;c=Pa+y|0;c=g+(l>>>0>>0?c+1|0:c)|0;l=d+l|0;c=l>>>0>>0?c+1|0:c;if((c|0)<=(h|0)&i>>>0>l>>>0|(c|0)<(h|0)){break b}c=TE(j,p,k,v);j=Pa;f=TE(f,n,t,w);h=c-f|0;c=j-(Pa+(c>>>0>>0)|0)|0;k=c;c=c>>31;j=c^h;h=d>>>0>>0;c=(c^k)-((c>>>0>j>>>0)+c|0)|0;if(h&(g|0)<=(c|0)|(c|0)>(g|0)){break b}b=Hi(a,o,m,u,r);break a}c=q+r|0;N[e+28>>2]=c>>1;h=c;c=m+q|0;N[e+20>>2]=(h+c|0)+2>>2;f=s+u|0;N[e+24>>2]=f>>1;N[e+12>>2]=c>>1;c=o+s|0;N[e+8>>2]=c>>1;N[e+16>>2]=(c+f|0)+2>>2;c=N[b+4>>2];N[e>>2]=N[b>>2];N[e+4>>2]=c;c=N[b+20>>2];N[e+32>>2]=N[b+16>>2];N[e+36>>2]=c;b=0;if(!Ji(a,e)){break a}b=Ji(a,e+16|0)}La=e+48|0;return b}function Zc(a,b){var c=0,d=0,e=0,f=0;c=N[a+20>>2];if(!(O[a+13|0]?c:0)){d=N[a+16>>2];a=d>>31;c=b>>31;c=(c^b)-c|0;a=(a^d)-a|0;a:{if(c+(a>>>8|0)>>>0<=8190){c=T(a,c)+32768>>>16|0;break a}e=c&65535;c=T(e,a>>>16|0)+T(a,c>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=c;e=0-a|0;a=b>>31|1;return(((d|0)<0?0-a|0:a)|0)<0?e:c}d=N[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){b:{c=d;if((e|0)==(c|0)){c=e;break b}d=c+1|0;if(N[(T(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}c:{d:{if(c){while(1){d=N[(T(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break d}c=c-1|0;if(c){continue}break}}c=0;N[a+24>>2]=0;d=N[a+36>>2];if((d|0)<=(b|0)){break c}f=N[a+40>>2];c=b-d|0;b=c>>31;d=N[a+16>>2];a=d>>31;b=(b^c)-b|0;a=(a^d)-a|0;e:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break e}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=c>>31|1;return f+((((d|0)<0?0-a|0:a)|0)<0?e:b)|0}N[a+24>>2]=c}a=T(c,20)+a|0;f=N[a+40>>2];d=b-d|0;b=d>>31;c=N[a+44>>2];a=c>>31;b=(b^d)-b|0;a=(a^c)-a|0;f:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break f}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=d>>31|1;return f+((((c|0)<0?0-a|0:a)|0)<0?e:b)|0}function dg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(!a){break a}b=P[a+2>>1];c=b<<16>>16;if((c|0)<=0){break a}g=2;if((c|0)==1){break a}j=N[a+4>>2];k=j+(b<<3)|0;b=j+8|0;h=N[j>>2];d=h;e=j;f=N[e+4>>2];c=f;while(1){i=N[e+12>>2];c=(c|0)<(i|0)?i:c;f=(f|0)>(i|0)?i:f;e=N[e+8>>2];d=(e|0)>(d|0)?e:d;h=(e|0)<(h|0)?e:h;e=b;b=b+8|0;if(k>>>0>b>>>0){continue}break}if((d|0)==(h|0)|(c|0)==(f|0)|((c|0)>16777216|(d|0)>16777216)){break a}if((h|0)<-16777216|(f|0)<-16777216){break a}n=M[a>>1];if((n|0)>0){e=0;b=d>>31;d=(b^d)-b|0;b=h>>31;b=17-W(d|(b^h)-b)|0;i=(b|0)>0?b:0;b=17-W(c-f|0)|0;k=(b|0)>0?b:0;q=N[a+12>>2];b=0;while(1){g=M[(m<<1)+q>>1];b:{if((g|0)<(b|0)){b=g+1|0;break b}a=(g<<3)+j|0;c=N[a>>2]>>i;a=N[a+4>>2]>>k;h=g+1|0;c:{if(!(h-b&1)){f=a;a=b;break c}d=c;c=(b<<3)+j|0;f=N[c+4>>2]>>k;c=N[c>>2]>>i;e=T(f-a|0,d+c|0)+e|0;a=b+1|0}if((b|0)!=(g|0)){while(1){o=a+1|0;d=(o<<3)+j|0;b=N[d+4>>2]>>k;l=(a<<3)+j|0;p=N[l+4>>2]>>k;d=N[d>>2]>>i;l=N[l>>2]>>i;e=T(b-p|0,d+l|0)+(T(c+l|0,p-f|0)+e|0)|0;a=a+2|0;c=d;f=b;if((g|0)!=(o|0)){continue}break}}b=h}m=m+1|0;if((n|0)!=(m|0)){continue}break}g=1;if((e|0)>0){break a}g=0;if(e){break a}}g=2}return g}function Ch(a,b,c,d){var e=0,f=0,g=0,h=0;e=N[a+8264>>2];a:{if(e>>>0>b>>>0){f=N[a+68>>2];h=N[a>>2];g=N[h+20>>2];b:{if(g){e=0;if(!(Qa[g|0](h,f,0,0)|0)){break b}break a}e=0;if(f>>>0>Q[h+4>>2]){break a}}g=a+8264|0;N[h+8>>2]=f;e=N[a+40>>2];c:{if(!e){break c}N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[e>>2]=N[e+12>>2]?7:0;f=N[e+20>>2];e=N[f>>2];if((e&-2)==4){Qa[N[a+48>>2]](N[a+52>>2],N[f+12>>2]);e=N[f>>2]}if((e|0)==6){Qa[N[a+48>>2]](N[a+52>>2],N[f+4>>2])}N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;e=N[f+40>>2];N[f+52>>2]=e;N[f+48>>2]=e;e=N[f+56>>2];if(!e){break c}e=Qa[e|0](0,0,0)|0;N[f+60>>2]=e;N[a+60>>2]=e}N[a+8272>>2]=g;N[a+8268>>2]=g;N[a+8264>>2]=0;N[a+28>>2]=0;N[a+12>>2]=a+72;N[a+16>>2]=0;N[a+24>>2]=a+4168;e=0}d:{if(b>>>0>e>>>0){b=b-e|0;e:{while(1){f=N[a+8268>>2];e=N[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;N[a+8268>>2]=e+f;N[a+8264>>2]=e+N[a+8264>>2];b=b-e|0;if(!b){break e}if(!lm(a)){continue}break}return 0}if(d){break d}return 0}if(d){break d}return 0}e=0;while(1){f=N[a+8268>>2];b=N[a+8272>>2]-f|0;b=b>>>0>>0?b:d;B(c,f,b);N[a+8268>>2]=b+N[a+8268>>2];N[a+8264>>2]=b+N[a+8264>>2];e=b+e|0;d=d-b|0;if(!d){break a}c=b+c|0;if(!lm(a)){continue}break}}return e}function jh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}c=c-a|0;if(c>>>0<4){break a}d=N[b+12>>2];e=d-4|0;N[b+12>>2]=e;if((O[a|0]|O[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<12){break a}c=d-16|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a+6|0]|O[a+7|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<8){break a}d=0;f=La-16|0;La=f;h=N[b+4>>2];e=a+10|0;b:{if(h>>>0>e>>>0){break b}g=N[b+8>>2];if(e>>>0>g>>>0|g-e>>>0<2){break b}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;d=1;if((c|0)<=0){d=0;break b}c=O[e|0]|O[e+1|0]<<8;if(!c){break b}c=((c<<8|c>>>8)&65535)+a|0;c:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break c}d=i-10|0;N[b+12>>2]=d;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<=0){break c}if(!ih(c+2|0,b,c)){break c}N[f+12>>2]=c;d=1;if(hh(c+6|0,b,f+12|0)){break b}}c=N[b+28>>2];if(c>>>0>31){d=0;break b}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;d=1}La=f+16|0;if(!d){break a}c=O[a+6|0]|O[a+7|0]<<8;d=(c<<8|c>>>8)&65535;c=O[a+8|0]|O[a+9|0]<<8;c=T(d,(c<<8|c>>>8)&65535);if(!c){return 1}a=a+12|0;if(a>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|c>>>0>d-a>>>0){break a}a=N[b+12>>2]-c|0;N[b+12>>2]=a;j=(a|0)>0}return j}function Nl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=O[b+3|0];h=d|(O[b+1|0]<<16|O[b|0]<<24|O[b+2|0]<<8);if(h){g=d&3;e=b+7|0;a:{if(h>>>0<4){d=e;break a}i=h-g|0;while(1){f=(O[e+12|0]+(O[e+8|0]+(O[e+4|0]+(O[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;j=j+4|0;if((i|0)!=(j|0)){continue}break}}if(g){while(1){f=(O[d|0]+f|0)+1|0;d=d+4|0;k=k+1|0;if((g|0)!=(k|0)){continue}break}}d=f+1|0}else{d=1}g=N[a+28>>2];b:{c:{if(d>>>0<=g>>>0){c=N[a+32>>2];break c}N[a+36>>2]=c;f=0;if((d|g)<0|(d|0)>536870911){break b}d:{if(!g){c=Qa[N[c+4>>2]](c,d<<2)|0;e=!c<<6;break d}i=N[a+32>>2];e=Qa[N[c+12>>2]](c,g<<2,d<<2,i)|0;c=e?e:i;e=!e<<6}e:{if(!(e|(d|0)<=(g|0)|!c)){G((g<<2)+c|0,0,d-g<<2);N[a+32>>2]=c;break e}N[a+32>>2]=c;if(e){break b}}N[a+28>>2]=d}d=c;if(h){while(1){e=O[b+6|0]|(O[b+5|0]<<8|O[b+4|0]<<16);a=O[b+7|0];f=a+1|0;g=f&7;if(g){i=a+1|0;f=0;while(1){N[d>>2]=e;d=d+4|0;e=e+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}f=i-g|0}if(a>>>0>=7){while(1){N[d>>2]=e;N[d+28>>2]=e+7;N[d+24>>2]=e+6;N[d+20>>2]=e+5;N[d+16>>2]=e+4;N[d+12>>2]=e+3;N[d+8>>2]=e+2;N[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}b=b+4|0;h=h-1|0;if(h){continue}break}}N[d>>2]=0;f=c}return f}function ck(a,b,c,d,e,f){var g=0;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=lc(a+148|0)}a=N[a>>2];a=a?a:275552;g=Q[a+16>>2]<4?275552:N[a+12>>2]}a=275552;c:{if((O[g|0]|O[g+1|0]<<8)!=256){break c}b=O[g+4|0]|O[g+5|0]<<8;a=275552;if(!b){break c}a=((b<<8|b>>>8)&65535)+g|0}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>c>>>0){b=(a+T(c,6)|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}d:{if((d|0)==65535){b=O[a|0]|O[a+1|0]<<8;c=238128;if(!b){break d}c=a+((b<<8|b>>>8)&65535)|0;break d}b=O[a+2|0]|O[a+3|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=d>>>0?275552:(a+T(d,6)|0)+4|0;b=O[b+4|0]|O[b+5|0]<<8;c=238128;if(!b){break d}c=a+((b<<8|b>>>8)&65535)|0}a=O[c+2|0]|O[c+3|0]<<8;c=a<<8|a>>>8;d=c&65535;if(e){N[e>>2]=d}if(f){if((a|0)==65535){a=0}else{a=275552;e:{if((O[g|0]|O[g+1|0]<<8)!=256){break e}b=O[g+6|0]|O[g+7|0]<<8;a=275552;if(!b){break e}a=((b<<8|b>>>8)&65535)+g|0}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>(c&65535)>>>0){a=(a+T(d,6)|0)+2|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}N[f>>2]=a}}function Jp(a,b,c,d){var e=0,f=0,g=0,h=0,i=U(0),j=0;e=O[a|0]|O[a+1|0]<<8;g=(e<<8|e>>>8)&65535;a:{if(g>>>0<=1){if(!e){break a}e=b;b=a+2|0;a=b+(c<<1)|0;a=O[a|0]|O[a+1|0]<<8;c=e-((a<<8|a>>>8)<<16>>16)|0;a=b+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return c+((a<<8|a>>>8)<<16>>16)|0}f=a+2|0;e=f+(c<<1)|0;e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16;if((e|0)>=(b|0)){a=f+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)<<16>>16)+(b-e|0)|0}f=1;h=c<<1;e=g-1|0;b:{if(e>>>0<2){break b}j=a+h|0;while(1){g=j+(f<<2)|0;g=O[g+2|0]|O[g+3|0]<<8;if((g<<8|g>>>8)<<16>>16>=(b|0)){break b}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e}e=(f<<2)+a|0;g=e+2|0;a=g+h|0;a=O[a|0]|O[a+1|0]<<8;f=(a<<8|a>>>8)<<16>>16;if((f|0)<=(b|0)){a=g+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)<<16>>16)+(b-f|0)|0}h=a;e=e-2|0;a=e+(c<<1)|0;a=O[a|0]|O[a+1|0]<<8;if((h|0)==(a|0)){a=e+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}c=(a<<8|a>>>8)<<16>>16;i=U(b-c|0);b=d<<1;a=b+g|0;a=O[a|0]|O[a+1|0]<<8;d=(a<<8|a>>>8)<<16>>16;a=b+e|0;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;i=U(Z(U(U(U(U(i*U(d-a|0))/U(f-c|0))+U(a|0))+U(.5))));if(U(V(i))>2];b=N[N[c+96>>2]+4>>2];c:{if(!b){break c}d=N[b+16>>2];if((d|0)<=0){break c}c=N[N[c+712>>2]+3080>>2];e=b+20|0;b=e+(d<<2)|0;while(1){d=N[e>>2];if(cb(N[N[d>>2]+8>>2],11971)){e=e+4|0;if(b>>>0>e>>>0){continue}break c}break}if(!c){break c}b=N[c>>2];if(b){break b}}e=0;break a}g=Qa[b|0](d)|0;if(!g){e=0;break a}b=N[a>>2];f=N[b+712>>2];c=N[b+100>>2];d=Qa[N[c+4>>2]](c,1028)|0;if(!d){e=64;break a}G(d,0,1028);b=h+12|0;Dm(f+1372|0,b);d:{e=Qa[N[g>>2]](N[N[a>>2]+100>>2],b,d)|0;if(!e){b=N[f+2024>>2];while(1){if(!b){break d}b=b-1|0;e=b<<2;i=h+12|0;Dm(N[(e+f|0)+2028>>2],i);e=Qa[N[g>>2]](N[N[a>>2]+100>>2],i,(d+e|0)+4|0)|0;if(!e){continue}break}}a=N[f+2024>>2];e:{if(!a){break e}b=a;if(b&1){b=b-1|0;f=d+(b<<2)|0;g=N[f+4>>2];if(g){Qa[N[c+8>>2]](c,g)}N[f+4>>2]=0}if((a|0)==1){break e}while(1){a=d+(b<<2)|0;f=N[a>>2];if(f){Qa[N[c+8>>2]](c,f)}N[a>>2]=0;b=b-2|0;a=d+(b<<2)|0;f=N[a+4>>2];if(f){Qa[N[c+8>>2]](c,f)}N[a+4>>2]=0;if(b){continue}break}}a=N[d>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d>>2]=0;Qa[N[c+8>>2]](c,d);break a}N[N[a+40>>2]>>2]=d;N[a+44>>2]=-1;e=0}La=h+208|0;return e|0}function VA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;Tb(a,N[a+8>>2]);g=N[a+8>>2];d=N[a>>2];N[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}b:{c:{d:{e:{f:{e=O[d|0];if((e|0)==91){i=93}else{if((e|0)!=123){break f}i=125}d=d+1|0;N[f+12>>2]=d;if(c){break e}if(d>>>0>=g>>>0){break a}while(1){Tb(f+12|0,g);e=N[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(O[e|0]==(i|0)){break b}Pc(f+12|0,g,0);d=N[f+12>>2];if((d|0)==(e|0)){break d}h=h+1|0;if(d>>>0>>0){continue}break}break a}Tb(f+12|0,g);e=N[f+12>>2];if(!c){break c}if(e>>>0>=g>>>0){d=e;break a}if(!O[e|0]){break b}if((b|0)<=0){d=e;break a}j=c,k=Pc(f+12|0,g,0)>>>16|0,M[j>>1]=k;d=N[f+12>>2];h=(d|0)==(e|0)?-1:1;break a}if(d>>>0>=g>>>0){break a}b=(b|0)>0?b:0;while(1){Tb(f+12|0,g);e=N[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(O[e|0]==(i|0)){break b}if((b|0)==(h|0)){d=e;h=b;break a}j=(h<<1)+c|0,k=Pc(f+12|0,g,0)>>>16|0,M[j>>1]=k;d=N[f+12>>2];if((d|0)==(e|0)){break d}h=h+1|0;if(d>>>0>>0){continue}break}break a}h=-1;d=e;break a}if(e>>>0>=g>>>0){d=e;break a}if(!O[e|0]){break b}Pc(f+12|0,g,0);d=N[f+12>>2];h=(d|0)==(e|0)?-1:1;break a}d=e+1|0}N[a>>2]=d;La=f+16|0;return h|0}function Xi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{g=N[b+4>>2];if(g>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}e=N[b+12>>2];d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[a|0]|O[a+1|0]<<8;j=d<<8|d>>>8;if((j&65535)-3>>>0<4294967294|c>>>0<8){break a}c=e-12|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=a+8|0;e=O[a+6|0]|O[a+7|0]<<8;b:{if(e){e=(e<<8|e>>>8)&65535;l=e>>>0<=1?1:e;while(1){if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<2){break b}e=c-2|0;N[b+12>>2]=e;if((c|0)<3){break b}c=O[d|0]|O[d+1|0]<<8;h=((c<<8|c>>>8)&65535)<<2;c:{if(!c){c=e;break c}c=d+2|0;if(c>>>0>f>>>0|f-c>>>0>>0){break b}c=e-h|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=(h|2)+d|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}i=1;if((j&65535)>>>0<2){break b}if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<4){break a}N[b+12>>2]=c-4;if((c|0)<5){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d:{if(!c){break d}if(c&128){break a}if(Dd((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break d}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;i=0;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}i=Gf(d+4|0,b,a)}return i}return 0}function gg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-16|0;La=h;N[h>>2]=a;g=N[c+20>>2];e=g+((Qa[N[c+12>>2]](h)>>>0)%Q[c+4>>2]<<2)|0;f=N[e>>2];a:{if(!f){break a}while(1){if(Qa[N[c+16>>2]](f,h)|0){break a}e=e-4|0;if(g>>>0>e>>>0){e=(g+(N[c+4>>2]<<2)|0)-4|0}f=N[e>>2];if(f){continue}break}}b:{c:{d:{g=N[e>>2];e:{if(!g){f=64;g=Qa[N[d+4>>2]](d,8)|0;if(!g){break b}N[e>>2]=g;N[g+4>>2]=b;N[g>>2]=a;f:{if(Q[c+8>>2]>2]){break f}i=N[c+4>>2];a=i<<1;N[c+4>>2]=a;N[c>>2]=(a>>>0)/3;f=0;if((a|0)<0){f=6;break c}g=N[c+20>>2];if(a){f=10;if(a>>>0>536870911){break c}a=i<<3;f=Qa[N[d+4>>2]](d,a)|0;if(!f){break d}G(f,0,a)}N[c+20>>2]=f;if(i){b=0;a=g;while(1){e=N[a>>2];if(e){N[h+8>>2]=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=N[c+20>>2];e=f+((Qa[N[c+12>>2]](h+8|0)>>>0)%Q[c+4>>2]<<2)|0;while(1){g:{j=N[e>>2];if(!j){break g}if(Qa[N[c+16>>2]](j,h+8|0)|0){break g}e=e-4|0;if(f>>>0<=e>>>0){continue}e=(f+(N[c+4>>2]<<2)|0)-4|0;continue}break}N[e>>2]=N[a>>2]}a=a+4|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(!g){break f}Qa[N[d+8>>2]](d,g)}N[c+8>>2]=N[c+8>>2]+1;break e}N[g+4>>2]=b}f=0;break b}N[c+20>>2]=0;f=64;break b}N[c+20>>2]=0}La=h+16|0;return f}function _g(a,b,c,d){var e=0,f=0,g=U(0),h=0,i=0;a:{b:{c:{e=O[a+4|0]|O[a+5|0]<<8;e=e<<8|e>>>8;f=e&65535;if(f-1>>>0>=3){if((f|0)!=32768){break a}e=O[c+6|0]|O[c+7|0]<<8;f=(e<<8|e>>>8)&65535;e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0>a>>>0){break c}g=U(0);break b}c=N[b+72>>2];if(!c){break a}d=O[a|0]|O[a+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>c>>>0){break a}f=O[a+2|0]|O[a+3|0]<<8;if(c>>>0>((f<<8|f>>>8)&65535)>>>0){break a}f=a;d=c-d|0;a=e&65535;e=4-a|0;f=f+(d>>>e<<1)|0;f=O[f+6|0]|O[f+7|0]<<8;f=((f<<8|f>>>8)&65535)>>>((d^-1|-1<>>(-1<>>0>=d>>>1>>>0?d:0;if((a|0)==(d|0)){break a}b=N[b+28>>2];a=a-d|0;return UE(TE(b,b>>31,a,a>>31),Pa,c,0)}a=(a<<2)+c|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}f=e>>>8&65280|e>>>24;h=N[b+88>>2];i=N[b+84>>2];e=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}g=Fc(a,f,h,i,c,d)}g=U(Z(U(U(g*R[b+44>>2])+U(.5))));if(U(V(g))>>8;f=e&65535;if(f-1>>>0>=3){if((f|0)!=32768){break a}e=O[c+6|0]|O[c+7|0]<<8;f=(e<<8|e>>>8)&65535;e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0>a>>>0){break c}g=U(0);break b}c=N[b+76>>2];if(!c){break a}d=O[a|0]|O[a+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>c>>>0){break a}f=O[a+2|0]|O[a+3|0]<<8;if(c>>>0>((f<<8|f>>>8)&65535)>>>0){break a}f=a;d=c-d|0;a=e&65535;e=4-a|0;f=f+(d>>>e<<1)|0;f=O[f+6|0]|O[f+7|0]<<8;f=((f<<8|f>>>8)&65535)>>>((d^-1|-1<>>(-1<>>0>=d>>>1>>>0?d:0;if((a|0)==(d|0)){break a}b=N[b+32>>2];a=a-d|0;return UE(TE(b,b>>31,a,a>>31),Pa,c,0)}a=(a<<2)+c|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}f=e>>>8&65280|e>>>24;h=N[b+88>>2];i=N[b+84>>2];e=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}g=Fc(a,f,h,i,c,d)}g=U(Z(U(U(g*R[b+48>>2])+U(.5))));if(U(V(g))>2];if(e>>>0<=c>>>0){d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>c-a>>>0|d>>>0<=8207){break a}d=O[a+8204|0]|O[a+8205|0]<<8|(O[a+8206|0]<<16|O[a+8207|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>(c-e>>>0)/12>>>0){break a}if(f){g=a+12|0;d=0;while(1){c=d;j=O[e+1|0]<<16|O[e|0]<<24;a=j|(O[e+3|0]|O[e+2|0]<<8);k=O[e+5|0]<<16|O[e+4|0]<<24;d=k|(O[e+7|0]|O[e+6|0]<<8);if(a>>>0>d>>>0|(a>>>0<=c>>>0?h:0)){break a}c=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);c:{if(!N[b+164>>2]){break c}l=N[b+172>>2];i=d-a|0;if(l>>>0>>0|l-i>>>0<=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break b}c=i+1|0;if(j){if(!c){break c}while(1){if(!(O[(a>>>19|0)+g|0]<<(a>>>16&7)&128)|!(O[(a>>>3&8191)+g|0]<<(a&7)&128)){break a}a=a+1|0;c=c-1|0;if(c){continue}break}break c}if(k){break a}if(!c){break c}while(1){if(O[(a>>>3&8191)+g|0]<<(a&7)&128){break a}a=a+1|0;c=c-1|0;if(c){continue}break}}e=e+12|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}}return 0}break a}Pb(b,16);F()}Pb(b,8);F()}function gC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:{if(!d){break a}if(!e){while(1){a=a+8|0;i=i+8|0;if(i>>>0>>0){continue}break a}}while(1){j=0;g=a;while(1){h=j<<5&32;f=M[c>>1];L[g|0]=P[h+440528>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+2>>1];L[g+1|0]=P[h+440530>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+4>>1];L[g+2|0]=P[h+440532>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+6>>1];L[g+3|0]=P[h+440534>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+8>>1];L[g+4|0]=P[h+440536>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+10>>1];L[g+5|0]=P[h+440538>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+12>>1];L[g+6|0]=P[h+440540>>1]+(f-(f>>>8|0)|0)>>>6;f=P[h+440542>>1];h=M[c+14>>1];L[g+7|0]=f+(h-(h>>>8|0)|0)>>>6;c=c+16|0;g=b+g|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}a=a+8|0;i=i+8|0;if(i>>>0>>0){continue}break}}b:{if(!e){break b}c=d+7&-8;if((c|0)==(b|0)){break b}c=b-c|0;d=c>>>0<=1?1:c;if(e-1>>>0>=7){g=e&-8;c=0;while(1){G(a,0,d);a=a+b|0;G(a,0,d);a=a+b|0;G(a,0,d);a=a+b|0;G(a,0,d);a=a+b|0;G(a,0,d);a=a+b|0;G(a,0,d);a=a+b|0;G(a,0,d);a=a+b|0;G(a,0,d);a=a+b|0;c=c+8|0;if((g|0)!=(c|0)){continue}break}}e=e&7;if(!e){break b}c=0;while(1){G(a,0,d);a=a+b|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}}function Cz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a=N[b+108>>2];if(a){if(N[a>>2]){_a(N[a+80>>2]);Qc(N[a>>2]);nc(N[a+40>>2])}if(N[a+4>>2]){_a(N[a+84>>2]);Qc(N[a+4>>2]);nc(N[a+44>>2])}if(N[a+8>>2]){_a(N[a+88>>2]);Qc(N[a+8>>2]);nc(N[a+48>>2])}if(N[a+12>>2]){_a(N[a+92>>2]);Qc(N[a+12>>2]);nc(N[a+52>>2])}if(N[a+16>>2]){_a(N[a+96>>2]);Qc(N[a+16>>2]);nc(N[a+56>>2])}if(N[a+20>>2]){_a(N[a+100>>2]);Qc(N[a+20>>2]);nc(N[a+60>>2])}if(N[a+24>>2]){_a(N[a+104>>2]);Qc(N[a+24>>2]);nc(N[a- -64>>2])}if(N[a+28>>2]){_a(N[a+108>>2]);Qc(N[a+28>>2]);nc(N[a+68>>2])}if(N[a+32>>2]){_a(N[a+112>>2]);Qc(N[a+32>>2]);nc(N[a+72>>2])}if(N[a+36>>2]){_a(N[a+116>>2]);Qc(N[a+36>>2]);nc(N[a+76>>2])}_a(a)}c=N[b+112>>2];if((c|0)>0){while(1){f=N[((h<<2)+b|0)+68>>2];a:{if(!f){break a}d=N[f+96>>2];if(!d){break a}e=N[f+128>>2];a=N[e+64>>2];N[e+64>>2]=a-1;if((a|0)>1){break a}a=N[d+16>>2];if(!a){break a}g=d+16|0;e=N[d+8>>2];while(1){if(N[a+8>>2]!=(f|0)){a=N[a+4>>2];if(a){continue}break a}break}c=N[a>>2];i=c?c+4|0:g;g=N[a+4>>2];N[i>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,a);gc(e,f,d);c=N[b+112>>2]}h=h+1|0;if((h|0)<(c|0)){continue}break}}_a(N[b>>2])}function Pi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=La+-64|0;La=e;a:{if(!d){b=6;break a}f=b;j=N[f>>2];b=N[f+4>>2];k=b;N[e>>2]=j;N[e+4>>2]=b;h=N[f+8>>2];b=N[f+12>>2];l=N[f+16>>2];g=N[f+20>>2];i=N[f+24>>2];f=N[f+28>>2];N[e+52>>2]=f;f=f+g|0;N[e+44>>2]=(f|0)/2;g=b+g|0;f=g+f|0;N[e+36>>2]=(f|0)/4;b=b+k|0;g=b+g|0;N[e+20>>2]=(g|0)/4;N[e+28>>2]=(f+g|0)/8;g=h+j|0;N[e+8>>2]=(g|0)/2;N[e+48>>2]=i;f=l+i|0;N[e+40>>2]=(f|0)/2;i=g;g=h+l|0;h=i+g|0;N[e+16>>2]=(h|0)/4;N[e+12>>2]=(b|0)/2;b=f+g|0;N[e+32>>2]=(b|0)/4;N[e+24>>2]=(b+h|0)/8;if((c|0)>=3){c=c>>>1|0;b=Pi(a,e,c,d);if(b){break a}b=Pi(a,e+24|0,c,d);break a}b=64;c=Qa[N[a+4>>2]](a,40)|0;if(!c){break a}N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;a=Qa[N[a+4>>2]](a,40)|0;if(!a){break a}N[a+16>>2]=0;N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[c>>2]=j;N[c+4>>2]=k;b=N[e+24>>2];g=N[e+28>>2];N[c+32>>2]=1;N[c+8>>2]=b;N[c+12>>2]=g;N[a>>2]=b;N[a+4>>2]=g;b=N[e+48>>2];g=N[e+52>>2];N[a+32>>2]=1;N[a+8>>2]=b;N[a+12>>2]=g;N[c+36>>2]=a;N[a+36>>2]=N[d>>2];N[d>>2]=c;b=0}La=e- -64|0;return b}function Xn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=La-16|0;La=m;g=O[a|0];a:{if(!g){f=a;break a}f=a;b:{while(1){i=g<<24>>24;if(!((i|0)==32|i-9>>>0<5)){break b}g=O[f+1|0];f=f+1|0;if(g){continue}break}break a}c:{g=g&255;switch(g-43|0){case 0:case 2:break c;default:break a}}j=(g|0)==45?-1:0;f=f+1|0}d:{if(!((c|16)!=16|O[f|0]!=48)){o=1;if((O[f+1|0]&223)==88){f=f+2|0;i=16;break d}f=f+1|0;i=c?c:8;break d}i=c?c:10}c=0;while(1){e:{g=-48;k=L[f|0];f:{if((k-48&255)>>>0<10){break f}g=-87;if((k-97&255)>>>0<26){break f}g=-55;if((k-65&255)>>>0>25){break e}}n=g+k|0;if((n|0)>=(i|0)){break e}hb(m,i,0,0,0,l,h,0,0);g=1;g:{if(N[m+8>>2]|N[m+12>>2]){break g}p=TE(l,h,i,0);k=Pa;if((k|0)==-1&(n^-1)>>>0

>>0){break g}h=k;l=n+p|0;h=l>>>0>>0?h+1|0:h;o=1;g=c}f=f+1|0;c=g;continue}break}if(b){N[b>>2]=o?f:a}h:{i:{j:{if(c){N[147316]=68;a=d&1;j=a?0:j;l=d;h=e;break j}if((e|0)==(h|0)&d>>>0>l>>>0|e>>>0>h>>>0){break i}a=d&1}if(!(a|j)){N[147316]=68;a=d;d=a-1|0;e=e-!a|0;break h}if((e|0)==(h|0)&d>>>0>=l>>>0|e>>>0>h>>>0){break i}N[147316]=68;break h}a=j^l;d=a-j|0;b=j>>31;e=(b^h)-((a>>>0>>0)+b|0)|0}La=m+16|0;Pa=e;return d}function Yn(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{b=N[a+4>>2];f:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break f}b=Cb(a)}switch(b-43|0){case 0:case 2:break e;default:break d}}f=(b|0)==45;b=N[a+4>>2];g:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break g}b=Cb(a)}e=b-58|0;break c}e=b-58|0}if(e>>>0<=4294967285){if(N[a+116>>2]<0){break a}break b}h:{if(b-48>>>0>=10){break h}while(1){c=(T(c,10)+b|0)-48|0;d=(c|0)<214748364;b=N[a+4>>2];i:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break i}b=Cb(a)}e=b-48|0;if(d&e>>>0<=9){continue}break}d=c>>31;if(e>>>0>=10){break h}while(1){c=TE(c,d,10,0);d=c+b|0;b=Pa;b=c>>>0>d>>>0?b+1|0:b;c=N[a+4>>2];j:{if((c|0)!=N[a+104>>2]){N[a+4>>2]=c+1;e=O[c|0];break j}e=Cb(a)}c=d-48|0;d=b-(d>>>0<48)|0;b=e;e=b-48|0;if((c>>>0<2061584302&(d|0)<=21474836|(d|0)<21474836)&e>>>0<=9){continue}break}if(e>>>0>=10){break h}while(1){b=N[a+4>>2];k:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break k}b=Cb(a)}if(b-48>>>0<10){continue}break}}b=N[a+116>>2];if((b|0)>0|(b|0)>=0){N[a+4>>2]=N[a+4>>2]-1}Pa=f?0-(((c|0)!=0)+d|0)|0:d;return f?0-c|0:c}N[a+4>>2]=N[a+4>>2]-1}Pa=-2147483648;return 0}function Fe(a){var b=0,c=0,d=U(0),e=0,f=0,g=U(0),h=0,i=U(0),j=U(0),k=0;c=N[a+24>>2];b=N[c+28>>2];if(!b){e=c;c=$d(c+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;b=c-16>>>0>=16369?1e3:c;N[e+28>>2]=b}e=N[a+28>>2];i=U(e|0);g=U(b>>>0);R[a+44>>2]=i/g;c=N[a+32>>2];j=U(c|0);R[a+48>>2]=j/g;b=0-c|0;f=b>>31<<16|b>>>16;b=b<<16;h=(c|0)<0;d=U(U(+((h?0-b|0:c<<16)>>>0)+ +((h?0-(((b|0)!=0)+f|0)|0:c>>>16|0)|0)*4294967296)/g);a:{if(U(V(d))=U(1)?~~(d>U(0)?U(X(U(Z(U(d*U(2.3283064365386963e-10)))),U(4294967296))):U(_(U(U(d-U(~~d>>>0>>>0))*U(2.3283064365386963e-10)))))>>>0:0;b=~~d>>>0;break a}f=-2147483648;b=0}N[a+64>>2]=b;N[a+68>>2]=f;b=0-e|0;f=b>>31<<16|b>>>16;b=b<<16;h=0-b|0;b=0-(((b|0)!=0)+f|0)|0;f=e>>>16|0;k=e<<16;e=(e|0)<0;d=U(U(+((e?h:k)>>>0)+ +((e?b:f)|0)*4294967296)/g);b:{if(U(V(d))=U(1)?~~(d>U(0)?U(X(U(Z(U(d*U(2.3283064365386963e-10)))),U(4294967296))):U(_(U(U(d-U(~~d>>>0>>>0))*U(2.3283064365386963e-10)))))>>>0:0;e=~~d>>>0;break b}b=-2147483648;e=0}N[a+56>>2]=e;N[a+60>>2]=b;R[a+40>>2]=c?U(U(R[a+36>>2]*i)/j):U(0);N[a+112>>2]=0;N[a+116>>2]=0}function iA(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;j=N[b+712>>2];G(a,0,780);N[a+8>>2]=d;N[a+4>>2]=b;L[a+65|0]=1;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;l=N[b+32>>2];i=b- -64|0;N[i>>2]=N[b+28>>2];N[i+4>>2]=l;N[b+88>>2]=N[b+52>>2];i=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=i;i=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=i;i=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=i;N[a+68>>2]=0;N[a+72>>2]=0;if(!c|!e){break a}b=N[N[c+40>>2]>>2];if(!b){break a}N[a+72>>2]=N[b>>2];N[a+68>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+108>>2]=j;b=N[73600];N[a+76>>2]=N[73599];N[a+80>>2]=b;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73602];N[a+84>>2]=N[73601];N[a+88>>2]=b;b=N[73604];N[a+92>>2]=N[73603];N[a+96>>2]=b;b=N[73606];N[a+100>>2]=N[73605];N[a+104>>2]=b;b=N[j+120>>2];N[a+732>>2]=b;N[a+748>>2]=N[j+1352>>2];b:{if(N[j+1416>>2]==1){break b}k=107;if(b>>>0<1240){break b}k=b>>>0<33900?1131:32768}N[a+776>>2]=h;N[a+772>>2]=g;N[a+760>>2]=f;N[a+740>>2]=k}function Uo(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;N[d>>2]=0;if(!(!(e|f)|(a|0)<655)){o=d;p=(e|0)/2|0;if(f){i=N[g+24>>2];j=N[g>>2];k=N[g+4>>2];f=c+e|0;e=f>>31;e=(e^f)-e|0;c=a>>31;c=(c^a)-c|0;a:{if(e+(c>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break a}d=e&65535;c=T(d,c>>>16|0)+T(c,e>>>16|0)+(T(d,c&65535)+32768>>>16)|0}d=(f|0)<0?0-c|0:c;if(W(d)+W(b)>>>0<=16){c=i<<16}else{e=c;c=c>>31;c=(e^c)-c|0;e=b>>31;e=(e^b)-e|0;b:{if(c+(e>>>8|0)>>>0<=8190){e=T(c,e)+32768>>>16|0;break b}f=c&65535;e=T(f,e>>>16|0)+T(e,c>>>16|0)+(T(f,e&65535)+32768>>>16)|0}c=e;f=0-c|0;c=d>>31|1;c=(((b|0)<0?0-c|0:c)|0)<0?f:e}e=j<<16;c:{if((c|0)<(e|0)){b=fb(k<<16,b);break c}n=N[g+28>>2];l=N[g+20>>2];f=N[g+16>>2];m=N[g+12>>2];d:{e:{f:{h=N[g+8>>2];g=h<<16;g:{if((c|0)<(g|0)){c=fb(e,b);if((h|0)==(j|0)){break g}b=jb(d-c|0,m-k|0,h-j|0)+fb(k<<16,b)|0;break c}e=f<<16;if((e|0)<=(c|0)){break f}}c=fb(g,b);if((f|0)==(h|0)){break e}b=jb(d-c|0,l-m|0,f-h|0)+fb(m<<16,b)|0;break c}g=e;if((c|0)>=i<<16){break d}}c=fb(g,b);if((f|0)==(i|0)){break d}b=jb(d-c|0,n-l|0,i-f|0)+fb(l<<16,b)|0;break c}b=fb(n<<16,b)}a=fb(b,a<<1)}else{a=0}N[o>>2]=p+a}}function Vd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La+-64|0;La=c;d=N[b+4>>2]-N[a+108>>2]|0;g=N[b>>2]-N[a+104>>2]|0;h=N[a+48>>2];e=0-h|0;a:{if(!((g|0)<=(e|0)|(g|0)>=(h|0)|(d|0)<=(e|0))){e=1;if((d|0)<(h|0)){break a}}f=S[a+40>>3]*+(d|0);i=S[a+32>>3]*+(0-g|0);j=1/aa(f*f+i*i);S[c+48>>3]=i*j;S[c+40>>3]=f*j;d=N[a+104>>2];g=N[a+108>>2];e=N[c+52>>2];N[c+24>>2]=N[c+48>>2];N[c+28>>2]=e;N[c+32>>2]=d;N[c+36>>2]=g;d=N[c+44>>2];N[c+16>>2]=N[c+40>>2];N[c+20>>2]=d;e=0;if(!we(a,c+32|0,c+16|0,3)){break a}N[a+60>>2]=N[a+60>>2]&-4;k=N[a+108>>2];f=S[a+88>>3]*S[a+24>>3];b:{if(V(f)<2147483648){d=~~f;break b}d=-2147483648}f=S[a+80>>3];g=N[a+104>>2];i=S[a+16>>3];N[c+60>>2]=d+k;f=f*i;c:{if(V(f)<2147483648){h=~~f;break c}h=-2147483648}N[c+56>>2]=h+g;l=N[a>>2];e=N[c+60>>2];N[c+8>>2]=N[c+56>>2];N[c+12>>2]=e;e=0;if(!Fb(l,c+8|0,1)){break a}N[c+60>>2]=k-d;N[c+56>>2]=g-h;d=N[a+4>>2];g=N[c+60>>2];N[c>>2]=N[c+56>>2];N[c+4>>2]=g;e=0;if(!Fb(d,c,1)){break a}d=N[c+44>>2];N[a+80>>2]=N[c+40>>2];N[a+84>>2]=d;d=N[c+52>>2];N[a+88>>2]=N[c+48>>2];N[a+92>>2]=d;d=N[b+4>>2];N[a+104>>2]=N[b>>2];N[a+108>>2]=d;e=1}La=c- -64|0;return e}function ak(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!(O[b|0]|O[b+1|0]<<8|(O[b+2|0]|O[b+3|0]<<8))){break a}c=N[a+168>>2];N[a+168>>2]=c+1;if(c>>>0>500){break a}e=b-N[a>>2]|0;f=e>>>9|0;g=N[a+96>>2];b:{c:{d:{h=N[a+92>>2];c=N[a+84>>2];if(h>>>0<=c>>>0){break d}c=(c<<3)+g|0;if(N[c>>2]!=(f|0)){break d}d=c+4|0;break c}c=0;if((h|0)<=0){break b}c=h-1|0;e:{while(1){d=c+i>>>1|0;j=N[(d<<3)+g>>2];f:{if((j|0)>(f|0)){c=d-1|0;break f}if((f|0)==(j|0)){break e}i=d+1|0}if((c|0)>=(i|0)){continue}break}c=0;break b}N[a+84>>2]=d;d=(d>>>0>=h>>>0?275552:(d<<3)+g|0)+4|0}f=N[a+108>>2];c=0;if(!f){break b}c=(f+(N[d>>2]<<6)|0)+(e>>>3&56)|0;g=N[c>>2];f=N[c+4>>2];d=e&63;c=d&31;c=(d>>>0>=32?f>>>c|0:((1<>>c)&1}if((c|0)!=O[a+112|0]){break a}sc(a- -64|0,e);c=O[b|0]|O[b+1|0]<<8;if(c){$j(a,((c<<8|c>>>8)&65535)+b|0)}d=b+2|0;c=O[d|0]|O[d+1|0]<<8;if(!c){break a}c=(c<<8|c>>>8)&65535;f=c>>>0<=1?1:c;c=0;while(1){e=O[d|0]|O[d+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=c>>>0?275552:(d+T(c,6)|0)+2|0;e=O[e+4|0]|O[e+5|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+b|0}else{e=238128}$j(a,e);c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function ri(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(O[N[a+88>>2]+32|0]&32){break a}b:{while(1){f=b;while(1){d=O[f|0];if(!((d|0)!=9&(d|0)!=32)){f=f+1|0;continue}break}while(1){h=O[c|0];if(!((h|0)!=32&(h|0)!=9)){c=c+1|0;continue}break}if(!(!d|!h)){g=f;while(1){b=d&255;if(!(!b|(b|0)==44)){d=O[g+1|0];g=g+1|0;continue}break}b=((b|0)==44)+g|0;i=c;while(1){if(!(!h|(h|0)==44)){h=O[i+1|0];i=i+1|0;continue}break}c:{if(f>>>0>=g>>>0){break c}while(1){d=g-1|0;e=O[d|0];if((e|0)!=32&(e|0)!=9){break c}g=d;if(d>>>0>f>>>0){continue}break}g=f}d=i;d:{if(d>>>0<=c>>>0){break d}while(1){e=d-1|0;j=O[e|0];if((j|0)!=32&(j|0)!=9){break d}d=e;if(d>>>0>c>>>0){continue}break}d=c}if((g-f|0)==5){e=bb(f,11926,5);g=e?g:15918;f=e?f:15914}e=d-c|0;e:{if((e|0)!=5){d=c;break e}e=d;d=bb(c,11926,5);e=d?e:15918;d=d?c:15914;e=e-d|0}if((g-f|0)!=(e|0)){break b}c=((h|0)==44)+i|0;i=f+e|0;while(1){f:{j=O[O[d|0]+25936|0];g=O[f|0];e=O[g+25936|0];f=f+1|0;if(!g|i>>>0<=f>>>0){break f}d=d+1|0;if((e|0)==(j|0)){continue}}break}if((e|0)==(j|0)){continue}break b}break}if((d|0)==(h|0)){break a}}mb(N[a+84>>2],4,22405,0);N[a+60>>2]=1}}function uE(a){a=a|0;var b=0,c=0,d=0,e=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){e=$a(N[a+92>>2],T(d,28));c=N[a+88>>2];if(e){break c}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=e}if(b>>>0>c>>>0){G(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d:{e:{f:{b=N[a+96>>2];if((b|0)>=0){c=N[a+100>>2];d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=536870911){c=$a(N[a+104>>2],b<<3);if(c){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break d}N[a+96>>2]=b;N[a+104>>2]=c;c=N[a+100>>2]}if(c>>>0>>0){G(N[a+104>>2]+(c<<3)|0,0,d-c<<3)}N[a+100>>2]=d;c=(N[a+104>>2]+(d<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1}function Kj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];d=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((d|0)==-1){break a}c=275552;f=O[a+4|0]|O[a+5|0]<<8;d=d>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((d<<1)+a|0)+6|0;d=O[d|0]|O[d+1|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}a=O[c|0]|O[c+1|0]<<8;if(!a){break a}f=(a<<8|a>>>8)&65535;d=c+2|0;while(1){a=O[d|0]|O[d+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}e=O[a|0]|O[a+1|0]<<8;g=(e<<8|e>>>8)&65535;h=a+4|0;a=O[a+2|0]|O[a+3|0]<<8;e=Pe(b,g,h,(a<<8|a>>>8)&65535,(e?(g<<1)-2|0:0)+h|0,246,0);if(e){break a}d=d+2|0;f=f-1|0;if(f){continue}break}break a}return ah(a,b,0)}c=O[a+6|0]|O[a+7|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];if((vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2])|0)==-1){break a}d=b;b=O[a+2|0]|O[a+3|0]<<8;b=(b<<8|b>>>8)&65535;c=O[a+4|0]|O[a+5|0]<<8;e=Pe(d,b,a+8|0,(c<<8|c>>>8)&65535,(a+6|0)+(b<<1)|0,247,a)}return e}function rc(a,b,c){var d=0,e=0,f=0,g=0;e=N[a+16>>2];d=N[e+24>>2];g=Qa[N[e>>2]](b,198405332,-1276876204)|0;f=(d+7&-8)+32|0;a:{b:{d=N[a+4>>2];QE(g,Pa,N[a>>2],0);Pa=Oa;g=Na;d=N[d+(g<<2)>>2];if(d){while(1){if(Qa[N[e+4>>2]](b,d+f|0)|0){if(!N[d+24>>2]){break b}f=N[d+20>>2];c:{d:{if(f){c=N[d+16>>2];if(!c){break c}N[c+20>>2]=f;N[N[d+20>>2]>>2]=c;break d}N[d+28>>2]=N[d+28>>2]+1}N[N[a+12>>2]>>2]=d;N[d+20>>2]=N[a+12>>2];N[a+12>>2]=d+16;N[d+16>>2]=0}N[a+24>>2]=N[a+24>>2]+1;Qa[N[e+8>>2]](0,b)|0;N[d+28>>2]=N[d+28>>2]+1;return d+32|0}d=N[d+8>>2];if(d){continue}break}}N[a+28>>2]=N[a+28>>2]+1;d=kb(f+N[e+20>>2]|0);if(!d){Qa[N[e+8>>2]](0,b)|0;return 0}N[d+4>>2]=e;N[d>>2]=a;f=d+f|0;if(!(Qa[N[e+8>>2]](f,b)|0)){_a(d);return 0}b=f;f=d+32|0;b=Qa[N[e+12>>2]](b,f,c)|0;N[d+24>>2]=b;if(!b){break a}c=N[a+4>>2]+(g<<2)|0;e=N[c>>2];if(e){N[e+12>>2]=d+8}N[d+12>>2]=c;N[d+8>>2]=N[c>>2];N[c>>2]=d;N[N[a+12>>2]>>2]=d;N[d+20>>2]=N[a+12>>2];N[a+12>>2]=d+16;N[d+28>>2]=2;N[d+16>>2]=0;N[a+20>>2]=N[a+20>>2]+(b+(((b|0)!=1)<<5)|0);N[a+32>>2]=N[a+32>>2]+1;return f}ba(15298,18290,361,9541);F()}ba(15298,18290,396,9541);F()}function hv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=N[c>>2];d=Qa[N[f+4>>2]](f,24)|0;if(!d){return 64}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;a:{h=a+4|0;if(h>>>0>b>>>0){break a}g=O[a|0];L[d+4|0]=g;e=O[a+1|0]|O[a+2|0]<<8;M[d+6>>1]=e<<8|e>>>8;e=O[a+3|0];L[d+5|0]=e;j=N[c+148>>2];k=N[c+4>>2];i=e&1;e=(e>>>1&1)+(i?5:3)|0;N[d+8>>2]=e;N[d+12>>2]=(h+k|0)-j;if(T(e,g)+h>>>0>b>>>0){break a}if(g){b:{if(i){a=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[d+16>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=T(e,g-1|0)+h|0;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b}N[d+16>>2]=O[a+5|0]|O[a+4|0]<<16;a=T(e,g-1|0)+h|0;a=O[a|0]<<16|O[a+1|0]}N[d>>2]=0;N[d+20>>2]=a;N[N[c+140>>2]>>2]=d;N[c+140>>2]=d;N[c+132>>2]=N[c+132>>2]+g;return 0}Qa[N[f+8>>2]](f,d);return 0}Qa[N[f+8>>2]](f,d);return 8}function nn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}e=N[a+16>>2];if((e|0)<=0){break a}c=a+20|0;d=c+(e<<2)|0;while(1){if(N[c>>2]==(b|0)){N[a+16>>2]=e-1;a=d-4|0;if(a>>>0>c>>>0){while(1){N[c>>2]=N[c+4>>2];c=c+4|0;if(a>>>0>c>>>0){continue}break}}N[a>>2]=0;h=N[b+8>>2];e=N[b>>2];d=N[b+4>>2];a=e;b:{if(!d){break b}if(N[d+160>>2]==(b|0)){N[d+160>>2]=0}a=e;if(!(O[a|0]&2)){break b}c=N[d+148>>2];if(!c){break b}g=d+148|0;a=N[d>>2];c:{while(1){if(N[c+8>>2]==(b|0)){break c}c=N[c+4>>2];if(c){continue}break}a=e;break b}f=N[b+52>>2];if(f){Qa[N[N[N[b+12>>2]+56>>2]+20>>2]](f)}f=N[c>>2];i=f?f+4|0:g;g=N[c+4>>2];N[i>>2]=g;N[(g?g:d+152|0)>>2]=f;Qa[N[a+8>>2]](a,c);c=N[d+148>>2];d:{if(c){while(1){a=N[c+8>>2];if(N[a+16>>2]==1869968492){break d}c=N[c+4>>2];if(c){continue}break}}a=0}N[d+156>>2]=a;a=N[b>>2]}e:{if(!(L[a|0]&1)){break e}d=N[b+8>>2];if(!d){break e}c=N[b+16>>2];if(c){while(1){a=N[c+4>>2];gc(d,N[c+8>>2],b);Qa[N[d+8>>2]](d,c);c=a;if(c){continue}break}}N[b+16>>2]=0;N[b+20>>2]=0}a=N[e+28>>2];if(a){Qa[a|0](b)}Qa[N[h+8>>2]](h,b);break a}c=c+4|0;if(d>>>0>c>>>0){continue}break}}}function Ce(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;f=N[a>>2];N[h+12>>2]=f;a:{if(b>>>0<=f>>>0){break a}b:{c:{d:{e:{f:{g=O[f|0];if((g|0)==91){j=93}else{if((g|0)!=123){break f}j=125}f=f+1|0;N[h+12>>2]=f;if(d){break e}if(b>>>0<=f>>>0){break a}while(1){Tb(h+12|0,b);g=N[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(O[g|0]==(j|0)){break b}Pc(h+12|0,b,e);f=N[h+12>>2];if((f|0)==(g|0)){break d}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}Tb(h+12|0,b);g=N[h+12>>2];if(!d){break c}if(b>>>0<=g>>>0){f=g;break a}if(!O[g|0]){break b}if((c|0)<=0){f=g;break a}k=d,l=Pc(h+12|0,b,e),N[k>>2]=l;f=N[h+12>>2];i=(f|0)==(g|0)?-1:1;break a}if(b>>>0<=f>>>0){break a}c=(c|0)>0?c:0;while(1){Tb(h+12|0,b);g=N[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(O[g|0]==(j|0)){break b}if((c|0)==(i|0)){f=g;i=c;break a}k=(i<<2)+d|0,l=Pc(h+12|0,b,e),N[k>>2]=l;f=N[h+12>>2];if((f|0)==(g|0)){break d}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}i=-1;f=g;break a}if(b>>>0<=g>>>0){f=g;break a}if(!O[g|0]){break b}Pc(h+12|0,b,e);f=N[h+12>>2];i=(f|0)==(g|0)?-1:1;break a}f=g+1|0}N[a>>2]=f;La=h+16|0;return i}function CD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=N[a+20>>2];L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;d=N[b+96>>2];e=N[d+24>>2];f=N[b+100>>2];d=N[d+12>>2];if(d){d=N[d+4>>2]}else{d=0}g=Qa[e|0](b,f,c,d)|0;if(g){a:{b:{b=N[a+20>>2];if(b){b=N[b+28>>2];d=N[a+28>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=N[c+8>>2];break a}a=c+8|0;b=N[c+8>>2];break a}e=d>>31;a=N[c>>2];f=b>>31;h=c,i=UE(TE(d,e,a,a>>31),Pa,b,f),N[h>>2]=i;a=N[c+4>>2];h=c,i=UE(TE(d,e,a,a>>31),Pa,b,f),N[h+4>>2]=i;a=c+8|0;c=N[c+8>>2];b=UE(TE(d,e,c,c>>31),Pa,b,f)}N[a>>2]=b}return g|0}function yk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=a+2|0;a:{if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(Lb(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;c:{if(!c){break c}if(sd(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+6|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;if(!d){return 1}f=a+8|0;if(c>>>0>>0){break a}d=(d<<8|d>>>8)&65535;g=d<<1;if(g>>>0>c-f>>>0){break a}c=e-g|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=d>>>0<=1?1:d;d=0;while(1){h=uk(((d<<1)+a|0)+8|0,b,a);if(!h){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function DD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=N[a+20>>2];L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;d=N[b+96>>2];e=N[d+20>>2];f=N[b+100>>2];d=N[d+12>>2];if(d){d=N[d>>2]}else{d=0}g=Qa[e|0](b,f,c,d)|0;if(g){a:{b:{b=N[a+20>>2];if(b){b=N[b+32>>2];d=N[a+32>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=N[c+8>>2];break a}a=c+8|0;b=N[c+8>>2];break a}e=d>>31;a=N[c>>2];f=b>>31;h=c,i=UE(TE(d,e,a,a>>31),Pa,b,f),N[h>>2]=i;a=N[c+4>>2];h=c,i=UE(TE(d,e,a,a>>31),Pa,b,f),N[h+4>>2]=i;a=c+8|0;c=N[c+8>>2];b=UE(TE(d,e,c,c>>31),Pa,b,f)}N[a>>2]=b}return g|0}function Ze(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-1312|0;La=g;f=N[a+4>>2];j=N[f+492>>2];k=N[j+12>>2];h=N[N[f+128>>2]+52>>2];i=N[f+452>>2];e=a+1388|0;N[e>>2]=N[f+448>>2];N[e+4>>2]=i;e=N[f+444>>2];N[a+1380>>2]=N[f+440>>2];N[a+1384>>2]=e;e=N[f+460>>2];N[a+1396>>2]=N[f+456>>2];N[a+1400>>2]=e;a:{b:{if(!h){e=b<<2;N[c>>2]=N[e+N[f+428>>2]>>2];N[c+4>>2]=N[e+N[f+432>>2]>>2];break b}e=Qa[N[N[h>>2]>>2]](N[h+4>>2],b,c)|0;if(e){break a}}c:{if(O[a+70|0]){e=Qa[N[k+8>>2]](a,N[c>>2],N[c+4>>2])|0;break c}i=g+656|0;e=i;Qa[N[j+24>>2]](e,a,1);l=f;m=f+168|0;f=g+4|0;Qa[N[j+28>>2]](l,m,f);N[g+1192>>2]=f;e=Qa[N[k+12>>2]](e,N[c>>2],N[c+4>>2])|0;if((e&255)!=164){break c}L[N[a+8>>2]+160|0]=0;L[d|0]=1;e=Qa[N[k+12>>2]](i,N[c>>2],N[c+4>>2])|0}if(e|!h){break a}d=N[N[h>>2]+8>>2];if(!d){e=0;break a}c=N[a+32>>2];N[g+8>>2]=0;N[g+4>>2]=(c+(c>>31)|0)+32768>>16;c=N[a+40>>2];N[g+12>>2]=((c>>31)+c|0)+32768>>16;c=N[a+44>>2];N[g+16>>2]=((c>>31)+c|0)+32768>>16;e=Qa[d|0](N[h+4>>2],b,0,g+4|0)|0;N[a+32>>2]=N[g+4>>2]<<16;N[a+40>>2]=N[g+12>>2]<<16;N[a+44>>2]=N[g+16>>2]<<16}La=g+1312|0;return e}function Fo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{b:{c:{if(b){e=N[b>>2];if(e){break c}}break b}g=N[b+8>>2];if(g){if(e>>>0>=536870912){break b}i=kb(e<<3);N[a+16>>2]=i;j=kb(g);N[a+20>>2]=j;if(!(j?i:0)){break a}N[a+12>>2]=g;N[a+4>>2]=e;e=0;N[a+8>>2]=0;N[a>>2]=0;g=N[b>>2];if(g){m=N[b+16>>2];n=S[c- -64>>3];o=S[c+56>>3];p=S[c+40>>3];q=S[c+32>>3];r=S[c+48>>3];s=S[c+24>>3];t=S[c+16>>3];u=S[c+8>>3];v=S[c>>3];while(1){c=e<<3;f=c+m|0;d=+N[f>>2];k=+N[f+4>>2];h=n+(r*d+o*k);h=1/(h>.1?h:.1);d:{l=(t+(v*d+u*k))*h;if(V(l)<268435455){d=(p+(s*d+q*k))*h;if(V(d)<268435455){break d}}break a}c=c+i|0;d=WE(d);e:{if(V(d)<2147483648){f=~~d;break e}f=-2147483648}N[c+4>>2]=f;d=WE(l);f:{if(V(d)<2147483648){f=~~d;break f}f=-2147483648}N[c>>2]=f;e=e+1|0;if((g|0)!=(e|0)){continue}break}}c=N[b+20>>2];b=N[b+8>>2];B(j,c,b);N[a+8>>2]=b;N[a>>2]=g;return}ba(10189,18249,45,17699);F()}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;return}_a(i);_a(j);N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Yc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;i=a;e=La-208|0;La=e;N[e+8>>2]=1;N[e+12>>2]=0;h=T(b,c);a:{if(!h){break a}N[e+16>>2]=c;N[e+20>>2]=c;b=c;g=b;f=2;while(1){a=b;b=(c+g|0)+b|0;N[(e+16|0)+(f<<2)>>2]=b;f=f+1|0;g=a;if(b>>>0>>0){continue}break}h=(i+h|0)-c|0;b:{if(h>>>0<=i>>>0){g=0;f=1;h=0;b=1;a=0;break b}f=1;b=1;while(1){c:{if((f&3)==3){ii(i,c,d,b,e+16|0);mg(e+8|0,2);b=b+2|0;break c}a=e+16|0;g=b-1|0;d:{if(Q[a+(g<<2)>>2]>=h-i>>>0){lg(i,c,d,f,N[e+12>>2],b,0,a);break d}ii(i,c,d,b,e+16|0)}if((b|0)==1){kg(e+8|0,1);b=0;break c}kg(e+8|0,g);b=1}a=N[e+8>>2];f=a|1;N[e+8>>2]=f;i=c+i|0;if(h>>>0>i>>>0){continue}break}h=a>>>0>1;g=N[e+12>>2];a=(g|0)!=0}j=0-c|0;lg(i,c,d,f,g,b,0,e+16|0);if(!(h|(b|0)!=1|a)){break a}while(1){e:{if((b|0)<=1){a=bo(f,g);mg(e+8|0,a);g=N[e+12>>2];f=N[e+8>>2];a=a+b|0;break e}f=e+8|0;kg(f,2);N[e+8>>2]=N[e+8>>2]^7;mg(f,1);g=i+j|0;h=e+16|0;a=b-2|0;lg(g-N[h+(a<<2)>>2]|0,c,d,N[e+8>>2],N[e+12>>2],b-1|0,1,h);kg(f,1);f=N[e+8>>2]|1;N[e+8>>2]=f;b=g;g=N[e+12>>2];lg(b,c,d,f,g,a,1,h)}b=a;i=i+j|0;if(g|((b|0)!=1|(f|0)!=1)){continue}break}}La=e+208|0}function LB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-272|0;La=h;e=N[b+4>>2];g=N[b>>2];b=N[a>>2];d=N[a+4>>2];N[h+12>>2]=d<<2;N[h+8>>2]=b<<2;f=e<<2;N[h+4>>2]=f;g=g<<2;N[h>>2]=g;l=N[c+200>>2];N[h+16>>2]=l;a=N[c+204>>2];N[h+20>>2]=a;i=d>>6;a:{b:{k=e>>6;j=N[c+168>>2];c:{d:{if((k|0)<(j|0)){e=a>>8;break d}e=a>>8;if((i|0)<(j|0)){break d}if((e|0)>=(j|0)){break c}}j=N[c+164>>2];if((j|0)<=(k|0)|(i|0)>=(j|0)|(e|0)>=(j|0)){break b}}N[c+204>>2]=f;N[c+200>>2]=g;break a}e=1;g=(g-(b<<3)|0)+l|0;b=g>>31;d=a+(f-(d<<3)|0)|0;a=d>>31;b=(b^g)-b|0;a=(a^d)-a|0;b=a>>>0>>0?b:a;if(b>>>0>=65){while(1){e=e<<1;a=b>>>0>259;b=b>>>2|0;if(a){continue}break}}b=h;while(1){d=N[b>>2];a=0-e&e;if(a>>>0>=2){while(1){f=N[b+16>>2];N[b+32>>2]=f;g=N[b+20>>2];N[b+36>>2]=g;k=d;d=N[b+8>>2];i=k+d|0;N[b+8>>2]=i>>1;d=d+f|0;N[b+24>>2]=d>>1;d=d+i>>2;N[b+16>>2]=d;f=N[b+12>>2];i=f+N[b+4>>2]|0;N[b+12>>2]=i>>1;f=f+g|0;N[b+28>>2]=f>>1;N[b+20>>2]=f+i>>2;b=b+16|0;f=a>>>0>3;a=a>>1;if(f){continue}break}}Ui(c,d,N[b+4>>2]);b=b-16|0;e=e-1|0;if(e){continue}break}}La=h+272|0;return 0}function Zo(a){var b=0,c=0,d=0;if(a){b=N[a+116>>2];a:{if(!b){break a}c=N[b+44>>2]-1|0;N[b+44>>2]=c;if(c){break a}while(1){c=N[b+28>>2];tb(N[b+36>>2]);d=N[b+40>>2];if(d){_a(N[d-4>>2])}_a(b);b=c;if(b){continue}break}}b=N[a+120>>2];b:{if(!b){break b}c=N[b+44>>2]-1|0;N[b+44>>2]=c;if(c){break b}while(1){c=N[b+28>>2];tb(N[b+36>>2]);d=N[b+40>>2];if(d){_a(N[d-4>>2])}_a(b);b=c;if(b){continue}break}}b=N[a+852>>2];cd(b);_a(N[b+4>>2]);_a(b);b=N[a+848>>2];cd(b);_a(N[b+4>>2]);_a(b);b=N[a+844>>2];cd(b);_a(N[b+4>>2]);_a(b);b=N[a+856>>2];cd(b);_a(N[b+4>>2]);_a(b);b=N[a+200>>2];_a(N[b+40>>2]);_a(N[b+16>>2]);_a(N[b+52>>2]);_a(N[b+20>>2]);_a(N[b+24>>2]);_a(N[b+28>>2]);_a(b);b=N[a+840>>2];cd(b);_a(N[b+4>>2]);_a(b);_a(N[a+224>>2]);_a(N[a+228>>2]);b=N[a+252>>2];if(b){_a(N[b-4>>2])}b=N[a+8>>2];if(b){c=N[b+36>>2];if(c){ve(c)}c=N[b+40>>2];if(c){ve(c)}_a(N[b+32>>2]);_a(N[b+16>>2]);_a(N[b+12>>2]);_a(b)}b=N[a+4>>2];if(b){dq(b)}_a(N[a+124>>2]);_a(N[a+776>>2]);_a(N[a+780>>2]);_a(N[a+784>>2]);_a(N[a+792>>2]);_a(N[a+800>>2]);_a(N[a+100>>2]);_a(N[a+104>>2]);_a(N[a+980>>2]);_a(a)}}function Ss(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=3;a:{if((d|e)<0){break a}h=N[a+8>>2];i=N[a+12>>2];m=P[i+2>>1];if(Q[h+4>>2]>>0){break a}l=P[i>>1];if(Q[h>>2]>>0){break a}j=T(m,O[a+18|0]);if((T(l,j)+7>>>3|0)+b>>>0>c>>>0){break a}f=0;if(!j|!l){break a}n=d&7;a=8-n|0;k=a>>>0>j>>>0?j:a;p=(255<>2];h=N[h+12>>2]+(T(o,e)+(d>>>3|0)|0)|0;m=j-k|0;e=0;d=l;while(1){i=d;b:{if(!n){a=b;f=j;d=h;break b}c:{if((i|0)==(l|0)){e=O[b|0];g=n;a=b+1|0;break c}if((g|0)<(k|0)){g=(g-k|0)+8|0;if(b>>>0>=c>>>0){a=b}else{e=O[b|0]|e;a=b+1|0}break c}g=g-k|0;e=(e&65280)>>>8|0;a=b}L[h|0]=O[h|0]|(e&65535)>>>g&p;e=e<<8;f=m;d=h+1|0}if((f|0)>=8){while(1){b=O[a|0]|e;L[d|0]=O[d|0]|(b&65535)>>>g;d=d+1|0;a=a+1|0;e=b<<8;b=f>>>0>15;f=f-8|0;if(b){continue}break}}d:{if((f|0)>0){if((f|0)>(g|0)){if(a>>>0>>0){e=O[a|0]|e;a=a+1|0}L[d|0]=O[d|0]|(e&65535)>>>g&65280>>>f;e=e<<8;g=(g-f|0)+8|0;break d}L[d|0]=O[d|0]|65280>>>f&(e&65535)>>>g;g=g-f|0}}b=a;h=h+o|0;d=i-1|0;if((i|0)>1){continue}break}f=0}return f|0}function Vr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{c:{c=N[b+160>>2];if(c>>>0>=a+4>>>0){e=O[a+3|0]|O[a+2|0]<<8;if(e>>>0<518){break a}k=a+e|0;if(c>>>0>>0){break a}c=a+6|0;e=0;while(1){d=Q[b+164>>2]>=2;g=O[c+1|0];if(g&7?d:0){break a}j=d;d=O[c+3|0];if(d&7?j:0){break a}d=(d|O[c+2|0]<<8)>>>3|0;g=(g|O[c|0]<<8)>>>3|0;h=h>>>0>>0?g:h;h=d>>>0>h>>>0?d:h;c=c+4|0;e=e+2|0;if((e|0)!=256){continue}break}c=a+518|0;g=(c+(h<<3)|0)+8|0;if(g>>>0>Q[b+160>>2]){break a}a=0;while(1){e=a;a=c+8|0;d=O[c+3|0]|O[c+2|0]<<8;d:{if(!d){c=a;break d}f=O[c+6|0];l=O[c+7|0];m=O[c+4|0];n=O[c+5|0];i=O[c|0];j=O[c+1|0];if(Q[b+164>>2]>=2){i=i<<8|j;if(i>>>0>255|d>>>0>256-i>>>0){break a}}f=f<<8|l;if(!f){c=a;break d}f=f+(c+6|0)|0;if(f>>>0>>0){break c}d=d<<1;if(d+f>>>0>k>>>0){break c}if(!N[b+164>>2]){c=a;break d}f=m<<8|n;d=(c+d|0)+8|0;c=a;while(1){a=O[c+1|0]|O[c|0]<<8;if(Q[b+172>>2]<=(a+f&65535)>>>0?a:0){break b}c=c+2|0;if(d>>>0>c>>>0){continue}break}}a=e+1|0;if((e|0)!=(h|0)){continue}break}return 0}break a}Pb(b,9);F()}Pb(b,16);F()}Pb(b,8);F()}function zp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=T(c,1348)+a|0;i=N[g+56>>2];j=N[(T(c,7676)+b|0)+44>>2];e=j>>31;h=(e^j)-e|0;l=h>>>8|0;e=Q[b+40>>2]/40|0;a:{if(l+e>>>0<=8190){e=T(e,h)+32768>>>16|0;break a}d=e&65535;e=T(d,h>>>16|0)+T(e>>>16|0,h)+(T(d,h&65535)+32768>>>16)|0}b:{if((i|0)<=0){break b}d=T(c,7676)+b|0;b=N[d+260>>2];if(!b){break b}g=N[g- -64>>2];s=g+T(i,44)|0;e=(j|0)<0?0-e|0:e;e=(e|0)>=32?32:e;t=T(c,1348)+a|0;u=d+264|0;v=h&65535;w=h>>>16|0;c=1;while(1){a=c;c=0;c:{if(!a){break c}a=e;i=0;while(1){d=T(c,28)+u|0;f=N[d+24>>2];if(!(!(f&1)|(f&2)>>>1^N[t+68>>2]!=L[g+13|0])){f=M[g>>1];m=N[d>>2];n=f-m|0;o=n>>31;p=N[d+12>>2];q=f-p|0;r=q>>31;x=d+12|0;k=d;d=(o^n)-o>>>0>(r^q)-r>>>0;k=d?x:k;f=f-(d?p:m)|0;d=f>>31;d=(d^f)-d|0;d:{if(d+l>>>0<=8190){d=T(d,h)+32768>>>16|0;break d}f=d&65535;d=T(f,w)+T(d>>>16|0,h)+(T(f,v)+32768>>>16)|0}f=(j|0)<0?0-d|0:d;d=(f|0)<(a|0);i=d?k:i;a=d?f:a}c=c+1|0;if(b>>>0>c>>>0){continue}break}c=b;if(!i){break c}N[g+20>>2]=i}g=g+44|0;if(s>>>0>g>>>0){continue}break}}}function Te(a,b,c,d,e){N[a+8>>2]=c;N[a+4>>2]=b;N[a>>2]=0;c=N[c+24>>2];N[a+48>>2]=0;N[a+52>>2]=0;N[a+16>>2]=d;N[a+12>>2]=c;N[a+20>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;L[a+44|0]=0;N[a+64>>2]=275552;L[a+60|0]=0;N[a+56>>2]=65536;b=N[c+140>>2];a:{if(b){break a}while(1){b=N[c+48>>2];if(!b){b=275552;break a}d=db(1,4);if(!d){b=275552;N[c+140>>2]=275552;break a}b=Of(d,b);if(!N[c+140>>2]){N[c+140>>2]=b;break a}ab(N[b>>2]);_a(b);b=N[c+140>>2];if(!b){continue}break}}b=N[b>>2];b=b?b:275552;c=N[b+12>>2];b=N[b+16>>2];N[a+72>>2]=0;N[a+68>>2]=b>>>0<4?275552:c;b:{c:{d:{if(!e){break d}b=N[e>>2];if(!b){break d}if((b|0)<=0){break c}N[e>>2]=b+1}N[a+52>>2]=e;L[a+44|0]=0;b=N[a+12>>2];c=N[b+32>>2];if((c|0)==-1){d=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;c=(b<<8|b>>>8)&65535;N[d+32>>2]=c;e=N[a+52>>2]}L[a+60|0]=1;N[a+56>>2]=c;b=N[e+12>>2];N[a+24>>2]=b;c=b;b=N[e+16>>2];N[a+28>>2]=c+b;if((b|0)<0){break b}N[a+20>>2]=0;N[a+48>>2]=0;N[a+40>>2]=0;N[a+32>>2]=1073741823;return a}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}function Xl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=-31;a:{b:{c:{d:{e:{f:{switch(N[a+552>>2]){case 2:g=N[c>>2];break d;case 0:e=N[b+4>>2];g:{if((e|0)!=32){f=N[b>>2];break g}e=N[b+12>>2];if(!e){return 2}f=N[b>>2]>>>8|0;N[b>>2]=f;d=N[b+8>>2];g=O[d|0];N[b+12>>2]=e-1;N[b+8>>2]=d+1;e=24;f=f|g<<24;N[b>>2]=f}d=e+1|0;N[b+4>>2]=d;if(f>>>e&1){break e}N[c>>2]=0;return 1;case 1:break f;default:break c}}d=N[b+4>>2]}h:{if(d-30>>>0>=3){e=N[b>>2];break h}e=N[b+12>>2];if(!e){break b}f=N[b>>2]>>>8|0;N[b>>2]=f;g=N[b+8>>2];h=O[g|0];N[b+12>>2]=e-1;N[b+8>>2]=g+1;e=f|h<<24;N[b>>2]=e;d=d-8|0}N[b+4>>2]=d+3;g=e>>>d&7;if(!g){N[c>>2]=1;N[a+552>>2]=0;return 1}N[c>>2]=g}f=N[b+4>>2];i:{if(32-f>>>0>=g>>>0){h=N[b>>2];break i}d=N[b+12>>2];e=f;while(1){if(!d){break a}h=N[b>>2]>>>8|0;N[b>>2]=h;i=N[b+8>>2];j=O[i|0];d=d-1|0;N[b+12>>2]=d;f=e-8|0;N[b+4>>2]=f;N[b+8>>2]=i+1;h=h|j<<24;N[b>>2]=h;i=40-e|0;e=f;if(g>>>0>i>>>0){continue}break}}N[b+4>>2]=f+g;d=1;N[c>>2]=(N[(g<<2)+169392>>2]&h>>>f)+(1<>2]);N[a+552>>2]=0}return d}N[a+552>>2]=1;return 2}N[a+552>>2]=2;return 2}function zu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a=N[a+12>>2];h=a+4280|0;a:{b:{c:{f=N[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=N[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){N[a+4280>>2]=b;N[a+4284>>2]=e-f;break c}e=N[a>>2];g=N[e+20>>2];if(g){f=0;if(Qa[g|0](e,0,0,0)|0){break a}}N[e+8>>2]=0;N[a+104>>2]=0;N[a+48>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;L[a+44|0]=0;N[a- -64>>2]=9;N[a+4288>>2]=h;N[a+4284>>2]=h;N[a+4280>>2]=0;f=0}if(b>>>0<=f>>>0){break c}g=N[a+4284>>2];i=N[a+4288>>2]-g|0;e=b-f|0;b=e>>>0>i>>>0?i:e;N[a+4284>>2]=b+g;N[a+4280>>2]=b+f;b=e-b|0;if(b){g=a+12|0;while(1){f=0;e=b>>>0>=4096?4096:b;if(jm(g,0,e)>>>0>>0){break a}N[h>>2]=e+N[h>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}e=a+184|0;i=a+12|0;h=N[a+4284>>2];b=N[a+4288>>2];f=0;while(1){b=b-h|0;b=b>>>0>>0?b:d;B(c+f|0,h,b);N[a+4284>>2]=b+N[a+4284>>2];N[a+4280>>2]=b+N[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}N[a+4284>>2]=e;g=jm(i,e,4096);h=N[a+4284>>2];b=g+h|0;N[a+4288>>2]=b;if(g){continue}break}}return f|0}function Ue(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=La-32|0;f=N[a+68>>2];if(f>>>0>=2){i=N[a+80>>2];e=f-1|0;while(1){b=T(e,20)+i|0;N[c+24>>2]=N[b+16>>2];d=N[b+12>>2];N[c+16>>2]=N[b+8>>2];N[c+20>>2]=d;d=N[b+4>>2];N[c+8>>2]=N[b>>2];N[c+12>>2]=d;d=T(g,20)+i|0;N[b+16>>2]=N[d+16>>2];h=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=h;h=N[d+4>>2];N[b>>2]=N[d>>2];N[b+4>>2]=h;N[d+16>>2]=N[c+24>>2];b=N[c+20>>2];N[d+8>>2]=N[c+16>>2];N[d+12>>2]=b;b=N[c+12>>2];N[d>>2]=N[c+8>>2];N[d+4>>2]=b;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}a:{if(!O[a+63|0]){break a}b=N[a+68>>2];b=b>>>0>>0?b:f;if(b>>>0<2){break a}d=N[a+88>>2];e=b-1|0;g=0;while(1){a=d+T(e,20)|0;N[c+24>>2]=N[a+16>>2];b=N[a+12>>2];N[c+16>>2]=N[a+8>>2];N[c+20>>2]=b;b=N[a+4>>2];N[c+8>>2]=N[a>>2];N[c+12>>2]=b;b=d+T(g,20)|0;N[a+16>>2]=N[b+16>>2];f=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=f;f=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=f;N[b+16>>2]=N[c+24>>2];a=N[c+20>>2];N[b+8>>2]=N[c+16>>2];N[b+12>>2]=a;a=N[c+12>>2];N[b>>2]=N[c+8>>2];N[b+4>>2]=a;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}}function io(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-16|0;La=g;b=N[a+84>>2];N[g>>2]=N[N[a+88>>2]+16>>2];mb(b,6,18351,g);a:{i=N[a+88>>2];b=N[i+16>>2];e=b&3;b:{if((e|0)==1){mb(N[a+84>>2],1,15329,0);break b}d=b>>>2|0;j=(T(d,3)+(e>>>0<=1?1:e)|0)-1|0;f=kb(j);if(!f){f=0;break b}c=N[i+8>>2];c:{if(b>>>0<4){b=f;break c}l=d>>>0<=1?1:d;d=0;b=f;while(1){m=O[c|0];h=O[c+1|0];k=(O[c+2|0]+31&63)<<6;L[b+2|0]=k|O[c+3|0]+31&63;h=(h+31&63)<<12;L[b+1|0]=(h|k)>>>8;L[b|0]=(h|m<<18)+8126464>>>16;c=c+4|0;b=b+3|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}d:{e:{f:{switch(e-2|0){case 1:e=O[c+2|0];d=O[c|0]<<18;c=(O[c+1|0]+31&63)<<12;L[b|0]=(d|c)+8126464>>>16;c=(c|(e+31&60)<<6)>>>8|0;d=2;e=b+1|0;break e;case 0:break f;default:break d}}c=((O[c+1|0]+31&48)<<12|(O[c|0]+31&255)<<18)>>>16|0;d=1;e=b}L[e|0]=c;b=b+d|0}if((b-f|0)!=(j|0)){break a}b=N[a+84>>2];if(!N[b+4>>2]){break b}Ki(b,N[i+4>>2],f,j)}_a(f);a=N[a+88>>2];_a(N[a+4>>2]);_a(N[a+8>>2]);N[a+12>>2]=0;N[a+16>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;La=g+16|0;return}ba(21855,18016,1077,9028);F()}function hk(a,b,c){var d=0,e=0;N[a+116>>2]=N[a+116>>2]|1<<(b>>>4);N[a+120>>2]=N[a+120>>2]|1<>2]=N[a+124>>2]|1<<(b>>>9);d=N[a+160>>2];if((d|0)!=-1){e=N[a+96>>2];L[(N[e+80>>2]+T(N[e+64>>2],20)|0)+15|0]=d}d=N[a+96>>2];e=N[d+80>>2]+T(N[d+64>>2],20)|0;d=P[e+12>>1]|80;a:{if(O[a+148|0]){d=Tc(N[a+104>>2],b)|d&112;break a}if(!c){break a}d=d&112|c}M[e+12>>1]=d;b:{c:{a=N[a+96>>2];c=N[a+72>>2]+1|0;d:{if(!(!c|c>>>0>2])){if(!gb(a,c)){break d}}c=N[a+84>>2];e:{if((c|0)!=N[a+80>>2]){break e}d=N[a+72>>2];if(Q[a+64>>2]>=d+1>>>0){break e}if(!O[a+62|0]){break c}e=N[a+88>>2];N[a+84>>2]=e;d=T(d,20);if(!d){break e}B(e,c,d)}c=N[a+64>>2];d=N[a+68>>2];if(c>>>0>d>>>0){break b}f:{if(c>>>0>>0){d=N[a+80>>2]+T(c,20)|0;e=N[a+72>>2];c=N[a+84>>2];break f}c=N[a+84>>2];e=N[a+72>>2];d=e-1|0;d=c+T(d>>>0<=e>>>0?d:0,20)|0}c=T(e,20)+c|0;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;N[c+16>>2]=N[d+16>>2];e=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=e;N[c>>2]=b;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);F()}ba(13080,14165,312,10949);F()}function kp(a,b){var c=0,d=0,e=0;c=N[a+32>>2];d=N[a+28>>2];if(d){if(d&1){e=N[c+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=c+16|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){d=N[c+8>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[c+24>>2];if(d){Qa[N[b+8>>2]](b,d)}d=c+16|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;c=c+32|0;e=e-2|0;if(e){continue}break}}c=N[a+32>>2]}if(c){Qa[N[b+8>>2]](b,c)}N[a+24>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;c=N[a+20>>2];d=N[a+16>>2];if(d){if(d&1){e=N[c+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=c+16|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){d=N[c+8>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[c+24>>2];if(d){Qa[N[b+8>>2]](b,d)}d=c+16|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;c=c+32|0;e=e-2|0;if(e){continue}break}}c=N[a+20>>2]}if(c){Qa[N[b+8>>2]](b,c)}N[a+12>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;e=N[a+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function Ne(a,b){var c=0,d=0,e=0;N[a+116>>2]=N[a+116>>2]|1<<(b>>>4);N[a+120>>2]=N[a+120>>2]|1<>2]=N[a+124>>2]|1<<(b>>>9);c=N[a+160>>2];if((c|0)!=-1){d=N[a+96>>2];L[(N[d+80>>2]+T(N[d+64>>2],20)|0)+15|0]=c}c=N[a+96>>2];d=N[c+80>>2]+T(N[c+64>>2],20)|0;c=P[d+12>>1]|16;if(O[a+148|0]){c=Tc(N[a+104>>2],b)|c&112}M[d+12>>1]=c;a:{b:{c=N[a+96>>2];a=N[c+72>>2]+1|0;c:{if(!(!a|a>>>0>2])){if(!gb(c,a)){break c}}a=N[c+84>>2];d:{if((a|0)!=N[c+80>>2]){break d}d=N[c+72>>2];if(d+1>>>0<=N[c+64>>2]+1>>>0){break d}if(!O[c+62|0]){break b}e=N[c+88>>2];N[c+84>>2]=e;d=T(d,20);if(!d){break d}B(e,a,d)}d=N[c+68>>2];a=N[c+64>>2];if(d>>>0>>0){break a}e:{if(a>>>0>>0){d=N[c+72>>2];e=N[c+84>>2];a=N[c+80>>2]+T(a,20)|0;break e}e=N[c+84>>2];d=N[c+72>>2];a=d-1|0;a=e+T(a>>>0<=d>>>0?a:0,20)|0}d=T(d,20)+e|0;e=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=e;N[d+16>>2]=N[a+16>>2];e=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=e;N[d>>2]=b;N[c+64>>2]=N[c+64>>2]+1;N[c+72>>2]=N[c+72>>2]+1}return}ba(8694,17855,209,11932);F()}ba(13080,14165,312,10949);F()}function Gl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{b=N[a+24>>2];if(b>>>0>65534){break b}i=N[a>>2];l=N[i+508>>2]+N[i+512>>2]|0;c=b+1|0;b=N[a+40>>2];c=b>>>0>>0?c:b;while(1){g=N[a+44>>2];c:{if(g>>>0>>0){break c}f=N[a+48>>2];d:{e=N[a+52>>2];if(!e){j=N[i+16>>2];b=f+g|0;if((b|0)<0){while(1){d=c+f&65535;if(j>>>0<=d>>>0){break c}if(d){break a}c=c+1|0;if(g>>>0>=c>>>0){continue}break c}}e=0-f|0;if((b|0)<=65535){break d}h=65536-f|0;while(1){k=c+f|0;d=k&65535;e:{if(j>>>0<=d>>>0){b=e;if((k|0)<0){break e}b=h;if(k>>>0<65536){break e}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}break c}b=e+(c-b<<1)|0;if(l>>>0>>0){break c}while(1){e=O[b+1|0]|O[b|0]<<8;if(e){d=f+e&65535;if(d){break a}}b=b+2|0;c=c+1|0;if(g>>>0>=c>>>0){continue}break}break c}while(1){h=c+f|0;d=h&65535;f:{if(j>>>0<=d>>>0){b=e;if((h|0)<0){break f}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}}d=0;if((Fl(a,N[a+36>>2]+1|0)|0)<0){break b}b=N[a+40>>2];c=b>>>0>>0?c:b;continue}}c=-1}N[a+28>>2]=d;N[a+24>>2]=c}function Ck(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=La-16|0;La=g;a:{if(Q[b+4>>2]>a>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;d=1;if((f|0)<=0){d=0;break a}h=O[a|0]|O[a+1|0]<<8;if(!h){break a}d=a+2|0;if(d>>>0>e>>>0){d=0;break a}i=e-d|0;e=(h<<8|h>>>8)&65535;d=T(e,6);if(i>>>0>>0){d=0;break a}f=f-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break a}h=e>>>0<=1?1:e;f=0;while(1){b:{i=T(f,6)+a|0;d=i+2|0;e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j=N[c>>2];N[g+12>>2]=j;N[g+8>>2]=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0>2]){break b}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<6){break b}k=N[b+12>>2];d=k-6|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=i+6|0;if(d>>>0>e>>>0|e-d>>>0<2){break b}e=k-8|0;N[b+12>>2]=e;if((e|0)<=0){break b}e=O[d|0]|O[d+1|0]<<8;c:{if(!e){break c}if(Ak(((e<<8|e>>>8)&65535)+j|0,b,g+8|0)){break c}e=N[b+28>>2];if(e>>>0>31){break b}N[b+28>>2]=e+1;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0}d=1;f=f+1|0;if((h|0)!=(f|0)){continue}break a}break}d=0}La=g+16|0;return d}function cj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=b&65535;e=d;a:{b:{c:{d:{b=N[c+4>>2];if((b|0)!=131072){if((b|0)!=65536){break a}b=0;if(e>>>0<=257){b=e<<2;c=N[b+267632>>2];f=c+268668|0;b=N[b+267636>>2]+(c^-1)|0}if((a&65535)>>>0<=257){break d}d=0;break b}b=0;d=N[c+8>>2];g=O[d|0]|O[d+1|0]<<8;g=g<<8|g>>>8;e:{if(e>>>0>=(g&65535)>>>0){break e}b=d+(e<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;e=(b<<8|b>>>8)&65535;if(e>>>0<=257){b=e<<2;f=N[b+267632>>2];b=N[b+267636>>2]+(f^-1)|0;f=f+268668|0;break e}b=0;e=e-258|0;if(e>>>0>=Q[c+16>>2]){break e}b=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;f=b+1|0;b=O[b|0]}a=a&65535;if(a>>>0<(g&65535)>>>0){break c}d=0;break b}c=a<<2&262140;a=N[c+267632>>2];h=a+268668|0;d=N[c+267636>>2]+(a^-1)|0;break b}a=d+(a<<1)|0;a=O[a+2|0]|O[a+3|0]<<8;a=(a<<8|a>>>8)&65535;if(a>>>0<=257){c=a<<2;a=N[c+267632>>2];h=a+268668|0;d=N[c+267636>>2]+(a^-1)|0;break b}a=a-258|0;d=0;if(a>>>0>=Q[c+16>>2]){break b}a=N[c+24>>2]+N[N[c+20>>2]+(a<<2)>>2]|0;h=a+1|0;d=O[a|0]}c=d;if((c|0)!=(b|0)){return c-b|0}if(!b){break a}i=Mb(h,f,b)}return i}function yb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{b=O[a|0];if(!((b|0)==38&(O[a+1|0]&223)==72)){if((b&255)!=48|(O[a+1|0]&223)!=88){break b}}a=a+2|0;g=1;c:{d:{while(1){e:{d=-1;f:{c=O[a|0];switch(c-9|0){case 0:case 23:break f;case 36:break d;case 34:break e;default:break c}}a=a+1|0;continue}break}d=1}c=O[a+1|0];a=a+1|0;g=d}d=0;b=c&255;g:{if((b|0)!=48){b=(b|0)==48;break g}b=(O[a+1|0]&223)==88}e=(b?2:0)+a|0;c=L[e|0];b=0;if((c|0)<48){break a}b=e;while(1){h:{a=b;f=-48;i:{h=c&255;if(h>>>0<58){break i}f=-87;if((c-97&255)>>>0<6){break i}f=-55;if((c-65&255)>>>0<=5){break i}break h}b=a+1|0;d=((d<<4)+h|0)+f|0;c=L[a+1|0];if((c|0)>47){continue}}break}return T((b|0)==(e|0)?1:g,d)}j:{k:{while(1){l:{d=-1;f=1;m:{c=O[a|0];switch(c-9|0){case 36:break k;case 34:break l;case 0:case 23:break m;default:break j}}a=a+1|0;continue}break}d=1}c=O[a+1|0];a=a+1|0;f=d}d=0;b=0;if(c<<24>>24<48){break a}b=a;while(1){e=c&255;if(e>>>0<=57){d=(e+T(d,10)|0)-48|0;c=L[b+1|0];b=b+1|0;if((c|0)>47){continue}}break}b=T((a|0)==(b|0)?1:f,d)}return b}function yl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;i=N[a+24>>2];e=N[a+36>>2];if(!(e|N[a+68>>2]?(e|0)!=1:0)){a:{if(!N[a+4>>2]){break a}if((c|0)==-1){c=nb(b)}d=(d|0)==-1?c:d;if(d>>>0>268435455){break a}e=N[a+68>>2]+(d>>>2|0)|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break a}}e=b;if((d|0)>0){j=e+d|0;g=e;while(1){e=xl(g,j,f+12|0,i);k=N[f+12>>2];d=N[a+68>>2];h=d+1|0;b:{if(!(!h|Q[a+76>>2]>h>>>0)){if(!gb(a,h)){break b}d=N[a+68>>2]}d=N[a+80>>2]+T(d,20)|0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;N[d>>2]=k;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;N[d+8>>2]=g-b;N[d+4>>2]=0;N[a+68>>2]=N[a+68>>2]+1}g=e;if(j>>>0>e>>>0){continue}break}}N[a+136>>2]=0;b=b+c|0;c:{if(b>>>0<=e>>>0){break c}while(1){e=xl(e,b,f+8|0,i);c=N[f+8>>2];d=N[a+136>>2];N[a+136>>2]=d+1;N[((d<<2)+a|0)+112>>2]=c;if(b>>>0<=e>>>0){break c}if(Q[a+136>>2]<=4){continue}break}}N[a+36>>2]=1}La=f+16|0;return}ba(24107,14165,530,16333);F()}function Lv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){c=N[a+100>>2];d=N[a+316>>2];if(d){e=N[a+300>>2];a:{if((e|0)>0){d=0;while(1){f=N[a+316>>2]+(d<<3)|0;b=N[f+4>>2];if(b){e=N[b>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[f+4>>2]}N[b>>2]=0;b=N[f+4>>2];if(b){Qa[N[c+8>>2]](c,b)}N[f+4>>2]=0;e=N[a+300>>2]}d=d+1|0;if((e|0)>(d|0)){continue}break}d=N[a+316>>2];if(!d){break a}}Qa[N[c+8>>2]](c,d)}N[a+316>>2]=0}b=N[a+164>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+164>>2]=0;b=N[a+168>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+168>>2]=0;b=N[a+172>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+172>>2]=0;b=N[a+176>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+176>>2]=0;b=N[a+180>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+180>>2]=0;b=N[a+304>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+300>>2]=0;N[a+304>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+152>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+152>>2]=0;b=N[a+156>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0;N[a+156>>2]=0;b=N[a+324>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+324>>2]=0;b=N[a+328>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+328>>2]=0}}function Ig(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{h=N[b+4>>2];if(h>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}d=N[b+12>>2];c=d-4|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b:{if(!c){break b}if((c|0)==-1|a+4>>>0>=f>>>0){break a}d=d-5|0;N[b+12>>2]=d;if(!d){break a}e=O[a+4|0];if((e-1&255)>>>0>3){break a}i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);j=i+1|0;c=TE(e,0,j,0);if(Pa){break a}g=a+5|0;c:{if(!c){break c}if(c>>>0>f-g>>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break c}break a}c=-1;a=g+T(e,i)|0;d:{e:{f:{switch(e-1|0){case 0:a=O[a|0];break e;case 1:a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break e;case 2:a=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);break e;case 3:break f;default:break d}}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}c=a-1|0;if(c){break d}return 1}a=g+T(e,j)|0;if(a>>>0>>0|a>>>0>f>>>0){break a}e=0;if(f-a>>>0>>0){break b}a=d-c|0;N[b+12>>2]=a;e=(a|0)>0}return e}return 0}function NE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];N[d>>2]=0;a:{if(!(!b|!c)){f=1;if(Qa[N[e+36>>2]](e,b,c,d,N[e+68>>2])|0){break a}}if(O[N[a>>2]+140|0]&16){return 0}f=0;b:{c:{switch(c-1460|0){case 0:if((b|0)!=1497){break a}N[d>>2]=64285;break b;case 3:if((b|0)!=1488){if((b|0)!=1522){break a}N[d>>2]=64287;break b}N[d>>2]=64302;break b;case 4:if((b|0)!=1488){break a}N[d>>2]=64303;break b;case 5:if((b|0)!=1493){break a}N[d>>2]=64331;break b;case 8:a=b-1488|0;if(a>>>0<=26){N[d>>2]=N[(a<<2)+242848>>2];return 131817343>>>a&1}d:{switch(b-64298|0){case 0:N[d>>2]=64300;break b;case 1:break d;default:break a}}N[d>>2]=64301;break b;case 11:e:{switch(b-1489|0){case 0:N[d>>2]=64332;break b;case 10:N[d>>2]=64333;break b;case 19:break e;default:break a}}N[d>>2]=64334;break b;case 13:if((b|0)!=64329){if((b|0)!=1513){break a}N[d>>2]=64298;break b}N[d>>2]=64300;break b;case 14:break c;default:break a}}if((b|0)!=64329){if((b|0)!=1513){break a}N[d>>2]=64299;break b}N[d>>2]=64301}f=1}return f|0}function Sj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=O[a+2|0]|O[a+3|0]<<8;d=((((c<<8|c>>>8)&65535)<<1)+a|0)+4|0;if(O[d|0]|O[d+1|0]<<8){c=d+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[d|0]|O[d+1|0]<<8;i=(c<<8|c>>>8)&65535;c=d+(i<<1)|0;e=c+4|0;j=O[c+2|0]|O[c+3|0]<<8;h=(j<<8|j>>>8)&65535;k=e+(h<<1)|0;l=O[k|0]|O[k+1|0]<<8;c=O[a+2|0]|O[a+3|0]<<8;if(c){m=N[b+8>>2];f=(c<<8|c>>>8)&65535;c=a+4|0;while(1){g=O[c|0]|O[c+1|0]<<8;Ob(g?((g<<8|g>>>8)&65535)+a|0:275552,m);c=c+2|0;f=f-1|0;if(f){continue}break}}if(i>>>0>=2){c=d+4|0;g=N[b+12>>2];f=i-1|0;while(1){d=O[c|0]|O[c+1|0]<<8;Ob(d?((d<<8|d>>>8)&65535)+a|0:275552,g);c=c+2|0;f=f-1|0;if(f){continue}break}}if(j){d=N[b+16>>2];while(1){c=O[e|0]|O[e+1|0]<<8;Ob(c?((c<<8|c>>>8)&65535)+a|0:275552,d);e=e+2|0;h=h-1|0;if(h){continue}break}}if(l){a=(l<<8|l>>>8)&65535;c=k+2|0;e=0;while(1){d=c+(e<<2)|0;d=O[d+2|0]|O[d+3|0]<<8;Qj(b,(d<<8|d>>>8)&65535);e=e+1|0;if((a|0)!=(e|0)){continue}break}}}function ys(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=N[b>>2];a:{b:{if(!(!O[a+24|0]|(g|0)!=N[a+28>>2])){Ll(a);if(!O[a+24|0]){return 0}d=a+28|0;c=N[a+32>>2];break b}c=N[a+16>>2];d=O[c+12|0]|O[c+13|0]<<8|(O[c+14|0]<<16|O[c+15|0]<<24);h=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!h|(g|0)==-1){break a}l=c+16|0;i=g+1|0;c=h;c:{d:{while(1){d=c+j>>>1|0;e=T(d,12)+l|0;f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<=i>>>0){if(g>>>0>>0){break d}j=d+1|0}else{c=d}if(c>>>0>j>>>0){continue}break}c=0;break c}c=e;c=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}f=N[a>>2];if(g>>>0>=k>>>0){e=0;d=d+1|0;if((h|0)==(d|0)){break a}}N[a+36>>2]=d;N[a+28>>2]=i;L[a+24|0]=1;d=a+28|0;if(!(c>>>0>2]?c:0)){Ll(a);c=0;if(!O[a+24|0]){break b}c=N[a+32>>2];break b}N[a+32>>2]=c}e=c;N[b>>2]=N[d>>2]}return e|0}function vt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=La-16|0;La=f;e=Qa[N[a+516>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=N[f+12>>2];if(c>>>0<4){break a}e=dc(b,c,a+808|0);if(e){break a}c=N[f+12>>2];N[a+812>>2]=c;e=0;d=N[a+808>>2];b=O[d+2|0]<<8|O[d+3|0];j=b>>>0>=32?32:b;b:{if(!j){break b}k=c+d|0;h=d+4|0;while(1){b=h;if(b+6>>>0>k>>>0){break b}c=O[b+3|0]|O[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;h=c>>>0>k>>>0?k:c;c:{if(O[b+4|0]|(O[b+5|0]&3)!=1){break c}c=b+14|0;if(c>>>0>h>>>0){break c}l=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}n=n|l}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}N[a+824>>2]=n;N[a+820>>2]=m;N[a+816>>2]=g}La=f+16|0;return e|0}function af(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=N[N[a+4>>2]+96>>2];f=N[b+8>>2];c=N[N[b+12>>2]+68>>2];if(c){Qa[c|0](a)}c=N[a+156>>2];a:{if(!c){e=a+88|0;break a}e=N[c+4>>2];b:{if(e&1){d=N[a+88>>2];if(d){c=N[N[a+4>>2]+100>>2];Qa[N[c+8>>2]](c,d);c=N[a+156>>2];e=N[c+4>>2]}N[a+88>>2]=0;N[c+4>>2]=e&-2;break b}N[a+88>>2]=0}e=a+156|0;if(!(O[N[b>>2]+1|0]&2)){b=N[c>>2];if(b){c=N[b>>2];d=N[b+24>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+24>>2]=0;d=N[b+28>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+28>>2]=0;d=N[b+32>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+32>>2]=0;d=N[b+40>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+40>>2]=0;d=N[b+52>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+20>>2]=0;N[b+36>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+88>>2]=0;d=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=d;g=N[b+32>>2];d=b- -64|0;N[d>>2]=N[b+28>>2];N[d+4>>2]=g;d=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=d;d=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=d;Qa[N[c+8>>2]](c,b);c=N[a+156>>2]}N[c>>2]=0}Qa[N[f+8>>2]](f,c)}N[e>>2]=0}function Df(a,b){var c=0,d=0,e=0,f=0;if(!O[a|0]){return 0}e=a+24|0;c=N[a+24>>2];a:{if((c|0)<0){break a}b:{d=(b|0)>0?b:0;if(d>>>0>c>>>0){while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}b=e;if(c>>>0>67108863){break b}f=$a(N[a+32>>2],c<<6);if(!f){break b}N[a+24>>2]=c;N[a+32>>2]=f}b=N[a+28>>2];if(b>>>0>>0){G(N[a+32>>2]+(b<<6)|0,0,d-b<<6)}N[a+28>>2]=d;c=N[a+12>>2];if((c|0)<0){break a}if(c>>>0>>0){b=a+12|0;while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0>536870911){break b}f=$a(N[a+20>>2],c<<3);if(!f){break b}N[a+12>>2]=c;N[a+20>>2]=f}b=N[a+16>>2];if(b>>>0>>0){G(N[a+20>>2]+(b<<3)|0,0,d-b<<3)}N[a+16>>2]=d;return 1}N[b>>2]=-1}c=N[a+16>>2];b=N[e>>2];if((b|0)>=0){c:{c=(c|0)>0?c:0;if(c>>>0>b>>>0){while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}d:{if(b>>>0<=67108863){d=$a(N[e+8>>2],b<<6);if(d){break d}}N[e>>2]=-1;break c}N[e>>2]=b;N[e+8>>2]=d}b=N[e+4>>2];if(b>>>0>>0){G(N[e+8>>2]+(b<<6)|0,0,c-b<<6)}N[e+4>>2]=c}}L[a|0]=0;return 0}function cw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=N[a+96>>2];e=N[a+712>>2];a:{b:{if(O[e+24|0]==2){c=N[d+4>>2];if(!c){break b}d=N[c+16>>2];if((d|0)<=0){break a}c=c+20|0;d=c+(d<<2)|0;while(1){e=N[c>>2];f=N[e>>2];if(cb(N[f+8>>2],9195)){c=c+4|0;if(d>>>0>c>>>0){continue}break a}break}c=N[f+32>>2];if(!c){break a}c=Qa[c|0](e,9592)|0;if(!c){break a}c=N[c+4>>2];if(!c){break a}return Qa[c|0](a,b)|0}if(!d){break a}c:{a=N[N[d>>2]+32>>2];if(a){a=Qa[a|0](d,10566)|0;if(a){break c}}a=N[d+4>>2];f=N[a+16>>2];if((f|0)<=0){break a}c=a+20|0;f=c+(f<<2)|0;while(1){a=N[c>>2];d:{if((a|0)==(d|0)){break d}h=N[N[a>>2]+32>>2];if(!h){break d}a=Qa[h|0](a,10566)|0;if(a){break c}}c=c+4|0;if(f>>>0>c>>>0){continue}break}break a}if(!N[e+20>>2]){break a}while(1){c=P[N[e+1188>>2]+(g<<1)>>1];e:{f:{if(c>>>0>=391){c=c-391|0;if(c>>>0>=Q[e+1356>>2]){break e}c=N[N[e+1360>>2]+(c<<2)>>2];break f}c=Qa[N[a+20>>2]](c)|0}if(!c){break e}if(!cb(b,c)){break a}}g=g+1|0;if(g>>>0>2]){continue}break}}g=0}return g|0}function xk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break a}e=N[b+12>>2]-6|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}f=a+6|0;if(f>>>0>d>>>0){break a}g=d-f|0;d=(c<<8|c>>>8)&65535;c=d<<1;if(g>>>0>>0){break a}e=e-c|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=d>>>0<=1?1:d;e=0;while(1){d=f+(e<<1)|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(Lb(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}e=e+1|0;if((g|0)!=(e|0)){continue}break}d=O[a+4|0]|O[a+5|0]<<8;if(!d){return 1}a=O[a+2|0]|O[a+3|0]<<8;a=f+(((a<<8|a>>>8)&65535)<<1)|0;if(a>>>0>2]){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;a=((d<<8|d>>>8)&65535)<<2;if(c>>>0>>0){break a}a=N[b+12>>2]-a|0;N[b+12>>2]=a;h=(a|0)>0}return h}function Bj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=db(1,40);if(e){f=N[a+44>>2];k=f-1|0;j=N[a+48>>2];b=N[a+4>>2]==1098015074;b:{c:{if((f|0)<=0){break c}a=k;while(1){d:{d=a+c>>>1|0;g=N[T(d,36)+j>>2];e:{if(g>>>0>=1937007465){a=d-1|0;break e}if((g|0)==1937007464){break d}c=d+1|0}if((a|0)>=(c|0)){continue}break c}break}a=2;if(N[(T(d,36)+j|0)+28>>2]){break b}}a=0}L[e+36|0]=b|a;d=0;if((f|0)<=0){break a}while(1){b=d<<2;f=N[b+238192>>2];c=0;a=k;g=e+b|0;f:{g:{while(1){b=a+c>>>1|0;h=T(b,36)+j|0;i=N[h>>2];h:{if(i>>>0>f>>>0){a=b-1|0;break h}if(f>>>0<=i>>>0){break g}c=b+1|0}if((a|0)>=(c|0)){continue}break}a=0;break f}a=N[h+28>>2]}N[g>>2]=a;g=O[e+36|0];b=0;i:{if(!(g&1)){break i}c=0;a=k;b=1;if(44>>>d&1){break i}j:{while(1){b=a+c>>>1|0;h=T(b,36)+j|0;i=N[h>>2];k:{if(i>>>0>f>>>0){a=b-1|0;break k}if(f>>>0<=i>>>0){break j}c=b+1|0}if((a|0)>=(c|0)){continue}break}b=0;break i}b=L[h+32|0]&1}L[e+36|0]=b|g&254;d=d+1|0;if((d|0)!=7){continue}break}}return e|0}L[e+36|0]=a;return e|0}function ot(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=N[a+816>>2];a:{if(!h){break a}f=N[a+812>>2];if((f|0)<10){break a}d=f;f=N[a+808>>2];j=d+f|0;d=f+4|0;g=f+10|0;k=b<<16|c;n=N[a+820>>2];i=1;while(1){b=(O[d+3|0]|O[d+2|0]<<8)+d|0;f=b>>>0>j>>>0?j:b;b:{if(O[d+4|0]|!(i&n)){break b}o=O[d+5|0];b=d+14|0;e=f-b|0;c=O[d+7|0]|O[g|0]<<8;d=(e|0)<(T(c,6)|0)?(e|0)/6|0:c;c:{if(N[a+824>>2]&i){g=0;if(!d){break b}while(1){l=d+g>>>1|0;c=T(l,6)+b|0;e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((e|0)==(k|0)){break c}c=e>>>0>>0;g=c?l+1|0:g;d=c?d:l;if(g>>>0>>0){continue}break}break b}if(!d){break b}while(1){c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))==(k|0)){c=b;break c}b=b+6|0;d=d-1|0;if(d){continue}break}break b}b=O[c+4|0]|O[c+5|0]<<8;m=((b<<8|b>>>8)<<16>>16)+(o&8?0:m)|0}h=h-1|0;if(!h){break a}i=i<<1;d=f;g=d+6|0;if(j>>>0>=g>>>0){continue}break}}return m|0}function sp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=fb(65536e3,b<<16);if((h|0)>=655){b=c<<16;e=(b|0)<=262144?262144:b;if((d|0)<=0){b=4915200}else{b=d<<16;c=b>>31;d=h>>31;d=(d^h)-d|0;c=(b^c)-c|0;c=c+(d>>>8|0)>>>0<8191?T(d,c)>>>16|0:T(d,c>>>16|0);b=(b|0)<0?0-c|0:c}i=N[a+48>>2];j=N[a+28>>2];d=N[a+24>>2];m=d<<16;if(((W(e)^31)-W(b)|0)>=15){c=i<<16}else{c=b>>31;c=(c^b)-c|0;a:{if(c+(e>>>8|0)>>>0<=8190){c=T(c,e)>>>16|0;break a}c=T(c&65535,e>>>16|0)+T(c>>>16|0,e)|0}c=(b|0)<0?0-c|0:c}b:{if((m|0)>(c|0)){a=fb(j<<16,e);break b}n=N[a+52>>2];k=N[a+44>>2];f=N[a+40>>2];l=N[a+36>>2];c:{d:{e:{g=N[a+32>>2];a=g<<16;f:{if((c|0)<(a|0)){c=fb(m,e);if((d|0)==(g|0)){break f}a=jb(b-c|0,l-j|0,g-d|0)+fb(j<<16,e)|0;break b}d=f<<16;if((d|0)<=(c|0)){break e}}c=fb(a,e);if((f|0)==(g|0)){break d}a=jb(b-c|0,k-l|0,f-g|0)+fb(l<<16,e)|0;break b}a=d;if((c|0)>=i<<16){break c}}a=fb(a,e);if((f|0)==(i|0)){break c}a=jb(b-a|0,n-k|0,i-f|0)+fb(k<<16,e)|0;break b}a=fb(n<<16,e)}a=fb(a,h)}else{a=0}return a}function hu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=6;d=N[b>>2];if(Q[d+16>>2]>c>>>0){b=N[d+140>>2];f=P[b+96>>1];e=N[b+56>>2];if(c){b=c-1|0}else{b=N[d+148>>2]}b=e+T(b,36)|0;j=N[b+24>>2];h=M[b+20>>1];e=M[b+16>>1];i=P[b+10>>1];c=P[b+14>>1];g=P[b+12>>1];N[a+84>>2]=N[b+28>>2];N[a+80>>2]=g;N[a+76>>2]=c;c=N[a+156>>2];a:{if(!c){break a}b=N[c+4>>2];if(!(b&1)){break a}g=N[a+88>>2];if(g){b=N[N[a+4>>2]+100>>2];Qa[N[b+8>>2]](b,g);c=N[a+156>>2];b=N[c+4>>2]}N[c+4>>2]=b&-2}N[a+88>>2]=j;b:{c:{switch(f-1|0){case 0:L[a+94|0]=1;break b;case 1:L[a+94|0]=3;break b;case 3:L[a+94|0]=4;break b;case 7:break c;default:break b}}M[a+92>>1]=256;L[a+94|0]=2}N[a+104>>2]=h;N[a+100>>2]=e;N[a+72>>2]=1651078259;N[a+40>>2]=i<<6;b=h<<6;N[a+36>>2]=b;f=e<<6;N[a+32>>2]=f;N[a+24>>2]=N[a+80>>2]<<6;c=N[a+76>>2]<<6;N[a+28>>2]=c;e=0;c=(h|0)<0?(b|0)<(c|0)?c:b:c-b|0;b=P[N[d+140>>2]+6>>1];d:{if(b){b=b<<6;break d}b=(T(c,12)|0)/10|0}N[a+52>>2]=b;N[a+48>>2]=(b-c|0)/2;N[a+44>>2]=f-(i<<5)}return e|0}function Vg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if(!c|!O[a|0]){break a}N[a+4>>2]=-1;d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;k=N[a+16>>2];n=k-1|0;m=N[a+32>>2];l=N[a+20>>2];e=N[a+8>>2];o=(k|0)<=0;b:while(1){c:{i=f>>>9|0;d:{e:{if(!((i|0)!=N[(e<<3)+l>>2]|e>>>0>=k>>>0)){d=e;break e}h=0;g=n;f:{if(!o){while(1){d=h+g>>>1|0;j=N[(d<<3)+l>>2];g:{if((i|0)<(j|0)){g=d-1|0;break g}if((i|0)==(j|0)){break f}h=d+1|0}if((h|0)<=(g|0)){continue}break}}g=f&65024;h=g+512|0;break d}N[a+8>>2]=d}g=f&65024;h=g+512|0;if(m){break c}e=d}while(1){c=c-1|0;if(!c){break a}d=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;f=(d<<8|d>>>8)&65535;if(g>>>0>f>>>0){continue b}if(f>>>0>>0){continue}break}continue}i=(N[((d<<3)+l|0)+4>>2]<<6)+m|0;while(1){e=i+(f>>>3&56)|0;j=N[e>>2];p=N[e+4>>2];q=e,r=ZE(-2,-1,f)&j,N[q>>2]=r;N[e+4>>2]=Pa&p;c=c-1|0;if(!c){break a}e=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;f=(e<<8|e>>>8)&65535;if(g>>>0>f>>>0){e=d;continue b}if(f>>>0>>0){continue}break}e=d;continue}}}function Ef(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{if(!c|!O[a|0]){break a}N[a+4>>2]=-1;e=O[b|0]|O[b+1|0]<<8;g=(e<<8|e>>>8)&65535;l=N[a+16>>2];o=l-1|0;n=N[a+32>>2];m=N[a+20>>2];f=N[a+8>>2];p=(l|0)<=0;b:while(1){c:{j=g>>>9|0;d:{e:{if(!((j|0)!=N[(f<<3)+m>>2]|f>>>0>=l>>>0)){e=f;break e}i=0;h=o;f:{if(!p){while(1){e=i+h>>>1|0;k=N[(e<<3)+m>>2];g:{if((j|0)<(k|0)){h=e-1|0;break g}if((j|0)==(k|0)){break f}i=e+1|0}if((i|0)<=(h|0)){continue}break}}h=g&65024;i=h+512|0;break d}N[a+8>>2]=e}h=g&65024;i=h+512|0;if(n){break c}f=e}while(1){c=c-1|0;if(!c){break a}b=b+d|0;e=O[b|0]|O[b+1|0]<<8;g=(e<<8|e>>>8)&65535;if(h>>>0>g>>>0){continue b}if(g>>>0>>0){continue}break}continue}j=(N[((e<<3)+m|0)+4>>2]<<6)+n|0;while(1){f=j+(g>>>3&56)|0;k=N[f>>2];q=N[f+4>>2];r=f,s=ZE(-2,-1,g)&k,N[r>>2]=s;N[f+4>>2]=Pa&q;c=c-1|0;if(!c){break a}b=b+d|0;f=O[b|0]|O[b+1|0]<<8;g=(f<<8|f>>>8)&65535;if(h>>>0>g>>>0){f=e;continue b}if(g>>>0>>0){continue}break}f=e;continue}}}function ym(a,b,c,d){var e=0,f=0,g=0,h=0;g=La-32|0;La=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;a:{if((f|0)==(e|0)&0|e>>>0>f>>>0){e=c<<4|b>>>28;c=d<<4|c>>>28;b=b&268435455;if((b|0)==134217728&(a|0)!=0|b>>>0>134217728){f=c+1073741824|0;e=e+1|0;f=e?f:f+1|0;break a}f=c+1073741824|0;if(a|(b|0)!=134217728){break a}a=e&1;e=a+e|0;f=a>>>0>e>>>0?f+1|0:f;break a}if(!(!c&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){a=d<<4|c>>>28;e=c<<4|b>>>28;f=a&524287|2146959360;break a}e=0;f=2146435072;if(h>>>0>1140785151){break a}f=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;fc(g+16|0,a,b,c,e,h-15233|0);Pd(g,a,b,c,e,15361-h|0);b=N[g+8>>2];e=b<<4;b=N[g+12>>2]<<4|b>>>28;c=N[g>>2];f=N[g+4>>2];h=f;e=f>>>28|e;f=b;a=h&268435455;b=c|(N[g+16>>2]|N[g+24>>2]|(N[g+20>>2]|N[g+28>>2]))!=0;if((a|0)==134217728&(b|0)!=0|a>>>0>134217728){e=e+1|0;f=e?f:f+1|0;break a}if(b|(a|0)!=134217728){break a}a=e;e=e+(e&1)|0;f=a>>>0>e>>>0?f+1|0:f}La=g+32|0;x(0,e|0);x(1,d&-2147483648|f);return+z()}function Go(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{b:{c:{if(b){e=N[b>>2];if(e){break c}}break b}g=N[b+8>>2];if(g){if(e>>>0>=536870912){break b}h=kb(e<<3);N[a+16>>2]=h;i=kb(g);N[a+20>>2]=i;if(!(i?h:0)){break a}N[a+12>>2]=g;N[a+4>>2]=e;e=0;N[a+8>>2]=0;N[a>>2]=0;g=N[b>>2];if(g){l=N[b+16>>2];m=S[c+40>>3];n=S[c+32>>3];o=S[c+24>>3];p=S[c+16>>3];q=S[c+8>>3];r=S[c>>3];while(1){d:{c=e<<3;f=c+l|0;d=+N[f>>2];j=+N[f+4>>2];k=p+(r*d+q*j);if(V(k)<268435455){d=m+(o*d+n*j);if(V(d)<268435455){break d}}break a}c=c+h|0;d=WE(d);e:{if(V(d)<2147483648){f=~~d;break e}f=-2147483648}N[c+4>>2]=f;d=WE(k);f:{if(V(d)<2147483648){f=~~d;break f}f=-2147483648}N[c>>2]=f;e=e+1|0;if((g|0)!=(e|0)){continue}break}}c=N[b+20>>2];b=N[b+8>>2];B(i,c,b);N[a+8>>2]=b;N[a>>2]=g;return}ba(10189,18249,45,17699);F()}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;return}_a(h);_a(i);N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Fc(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=U(0);h=O[a|0]|O[a+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){return U(0)}h=O[a+4|0]|O[a+5|0]<<8;m=(h<<8|h>>>8)&65535;i=O[a+2|0]|O[a+3|0]<<8;g=(i<<8|(i&65280)>>>8)&32767;k=i&128;h=k>>>7|0?m:g;b=(((m<<1)+a|0)+T(g+m<<(i>>>7&1),b)|0)+6|0;if(!(!k|!(i&-129))){j=g>>>0<=1?1:g;i=0;while(1){g=(i<<1)+a|0;g=O[g+6|0]|O[g+7|0]<<8;n=Lg(e,(g<<8|g>>>8)&65535,c,d,f);g=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);l=U(U(n*U(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24)))+l);b=b+4|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}a:{if(h>>>0<=j>>>0){h=j;break a}g=h-j|0;i=b;while(1){k=(j<<1)+a|0;k=O[k+6|0]|O[k+7|0]<<8;n=Lg(e,(k<<8|k>>>8)&65535,c,d,f);k=O[i|0]|O[i+1|0]<<8;l=U(U(n*U((k<<8|k>>>8)<<16>>16))+l);i=i+2|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}b=(g<<1)+b|0}if(h>>>0>>0){while(1){j=(h<<1)+a|0;j=O[j+6|0]|O[j+7|0]<<8;l=U(U(Lg(e,(j<<8|j>>>8)&65535,c,d,f)*U(L[b|0]))+l);b=b+1|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}return l}function pp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=N[a>>2];a:{if(!h){break a}d=N[a+8>>2];f=h&3;b:{if(!f){g=h;break b}g=h&-4;while(1){N[d+24>>2]=-1;N[d+16>>2]=N[d+16>>2]&-5;d=d+28|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(h>>>0<4){break a}while(1){N[d+24>>2]=-1;N[d+52>>2]=-1;N[d+80>>2]=-1;N[d+108>>2]=-1;N[d+16>>2]=N[d+16>>2]&-5;N[d+44>>2]=N[d+44>>2]&-5;N[d+72>>2]=N[d+72>>2]&-5;N[d+100>>2]=N[d+100>>2]&-5;d=d+112|0;g=g-4|0;if(g){continue}break}}if(!b){N[a+4>>2]=0;return}d=0;g=0;e=0;f=0;while(1){if(!d){g=O[c|0];d=128;c=c+1|0}c:{if(!(d&g)){break c}i=N[a+8>>2]+T(e,28)|0;j=N[i+16>>2];if(j&4){break c}N[i+16>>2]=j|4;if(f>>>0>=h>>>0){break c}N[N[a+12>>2]+(f<<2)>>2]=i;f=f+1|0}d=d>>>1|0;e=e+1|0;if((e|0)!=(b|0)){continue}break}N[a+4>>2]=f;if((f|0)>=2){c=N[a+12>>2];a=1;while(1){g=N[c+(a<<2)>>2];h=N[g>>2];d=a;while(1){b=d-1|0;e=c+(b<<2)|0;i=N[e>>2];if((h|0)<=N[i>>2]){N[c+(d<<2)>>2]=i;N[e>>2]=g;e=(d|0)>1;d=b;if(e){continue}}break}a=a+1|0;if((f|0)!=(a|0)){continue}break}}}function Fv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[b+72>>2];d=N[a+100>>2];b=Qa[N[b+36>>2]](b)|0;a:{if((b|0)<0|N[a+304>>2]){break a}c=Q[c+4>>2]/100|0;c=b>>>0>>0?b:c;if(!c){N[a+300>>2]=0;N[a+304>>2]=0;return}if(c>>>0>=8521761){N[a+304>>2]=0;return}b=T(c,252);d=Qa[N[d+4>>2]](d,b)|0;if(!d){N[a+304>>2]=0;return}G(d,0,b);N[a+300>>2]=c;N[a+304>>2]=d;b=0;if(c>>>0>=4){f=c&67108860;while(1){a=d+T(b,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|1,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|2,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|3,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;b=b+4|0;if((f|0)!=(b|0)){continue}break}}c=c&3;if(!c){break a}while(1){a=d+T(b,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;b=b+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}}function Zu(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;b=N[a+4>>2];d=N[b+504>>2];g=N[b+100>>2];a:{if(N[b+84>>2]){f=fi(d,e+12|0);if(f){b=N[a+160>>2];break a}b=N[e+12>>2]}else{b=N[d+84>>2]}N[a+160>>2]=b;f=0}d=N[b+156>>2];b=N[d>>2];b:{if(b){d=N[b>>2];c=N[b+24>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+24>>2]=0;c=N[b+28>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+28>>2]=0;c=N[b+32>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+32>>2]=0;c=N[b+40>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+40>>2]=0;c=N[b+52>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+20>>2]=0;N[b+36>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+88>>2]=0;c=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=c;h=N[b+32>>2];c=b- -64|0;N[c>>2]=N[b+28>>2];N[c+4>>2]=h;c=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=c;c=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=c;Qa[N[d+8>>2]](d,b);b=N[a+160>>2];d=N[b+156>>2];if(!d){break b}}Qa[N[g+8>>2]](g,d);b=N[a+160>>2]}N[b+156>>2]=0;N[b+156>>2]=N[a+156>>2];La=e+16|0;return f|0}function ah(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;d=O[a+2|0]|O[a+3|0]<<8;if(d){h=((d<<8|d>>>8)&65535)+a|0}else{h=275552}d=N[b+96>>2];i=N[d+80>>2]+T(N[d+64>>2],20)|0;f=N[i>>2];if((vb(h,f)|0)!=-1){e=O[a+4|0]|O[a+5|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=275552}N[g+12>>2]=d;N[g+8>>2]=c?248:249;a:{if(!c){e=Qe(d,f);break a}e=O[i+15|0];if((e|0)!=255){break a}e=Qe(d,f);if(!c|e>>>0>254){break a}c=N[b+96>>2];L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=e}c=O[a+6|0]|O[a+7|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+a|0)+8|0;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}a=O[d|0]|O[d+1|0]<<8;if(a){e=(a<<8|a>>>8)&65535;a=d+2|0;while(1){c=O[a|0]|O[a+1|0]<<8;if(c){c=d+((c<<8|c>>>8)&65535)|0}else{c=275552}f=O[c|0]|O[c+1|0]<<8;i=(f<<8|f>>>8)&65535;h=c+4|0;c=O[c+2|0]|O[c+3|0]<<8;c=Pe(b,i,h,(c<<8|c>>>8)&65535,(f?(i<<1)-2|0:0)+h|0,N[g+8>>2],N[g+12>>2]);if(!c){a=a+2|0;e=e-1|0;if(e){continue}}break}}else{c=0}e=c}La=g+16|0;return e}function mq(a){var b=0,c=0,d=0,e=0;b=N[a+52>>2];c=(b|0)!=0;if((b|0)!=(c|0)){d=b<<2;b=N[a+56>>2];d=d+b|0;c=b+(c<<2)|0;while(1){b=N[c>>2];if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;c=c+4|0;if((d|0)!=(c|0)){continue}break}b=N[a+52>>2]}if(b){N[a+52>>2]=0}_a(N[a+56>>2]);N[a+56>>2]=0;N[a+60>>2]=-57005;N[a+48>>2]=0;N[a+52>>2]=0;c=N[a+68>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;e=N[c+12>>2]+T(b,12)|0;d=N[e+8>>2];e=N[e+4>>2];N[c+8>>2]=b;if(d){Qa[d|0](e);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+68>>2]=0}b=N[a+88>>2];if(b){_a(b);N[a+88>>2]=0}N[a+76>>2]=0;N[a+72>>2]=N[a+72>>2]&1;b=N[a+44>>2];if(b){while(1){N[a+44>>2]=N[b+32>>2];if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;b=N[a+44>>2];if(b){continue}break}}}function Qi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;f=La-48|0;La=f;a:{if(!d){b=6;break a}e=b;h=N[e>>2];b=N[e+4>>2];i=b;N[f>>2]=h;N[f+4>>2]=b;g=N[e+8>>2];b=N[e+12>>2];j=N[e+16>>2];e=N[e+20>>2];N[f+36>>2]=e;e=b+e|0;N[f+28>>2]=(e|0)/2;b=b+i|0;N[f+20>>2]=(b+e|0)/4;e=g+h|0;N[f+8>>2]=(e|0)/2;N[f+32>>2]=j;g=g+j|0;N[f+24>>2]=(g|0)/2;N[f+12>>2]=(b|0)/2;N[f+16>>2]=(e+g|0)/4;if((c|0)>=3){c=c>>>1|0;b=Qi(a,f,c,d);if(b){break a}b=Qi(a,f+16|0,c,d);break a}b=64;c=Qa[N[a+4>>2]](a,40)|0;if(!c){break a}N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;a=Qa[N[a+4>>2]](a,40)|0;if(!a){break a}N[a+16>>2]=0;N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[c>>2]=h;N[c+4>>2]=i;b=N[f+16>>2];e=N[f+20>>2];N[c+32>>2]=1;N[c+8>>2]=b;N[c+12>>2]=e;N[a>>2]=b;N[a+4>>2]=e;b=N[f+32>>2];e=N[f+36>>2];N[a+32>>2]=1;N[a+8>>2]=b;N[a+12>>2]=e;N[c+36>>2]=a;N[a+36>>2]=N[d>>2];N[d>>2]=c;b=0}La=f+48|0;return b}function pj(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}_a(N[a+36>>2]);N[a+36>>2]=0;b=N[N[a+80>>2]+12>>2];if(b){Qa[b|0](N[a+172>>2])}sq(a+84|0);if(N[a+164>>2]){N[a+164>>2]=0}_a(N[a+168>>2]);N[a+168>>2]=0;N[a+160>>2]=0;N[a+164>>2]=0;if(N[a+152>>2]){N[a+152>>2]=0}_a(N[a+156>>2]);N[a+156>>2]=0;N[a+148>>2]=0;N[a+152>>2]=0;if(N[a+140>>2]){N[a+140>>2]=0}_a(N[a+144>>2]);N[a+144>>2]=0;N[a+136>>2]=0;N[a+140>>2]=0;if(N[a+128>>2]){N[a+128>>2]=0}_a(N[a+132>>2]);N[a+132>>2]=0;N[a+124>>2]=0;N[a+128>>2]=0;if(N[a+116>>2]){N[a+116>>2]=0}_a(N[a+120>>2]);N[a+120>>2]=0;N[a+112>>2]=0;N[a+116>>2]=0;if(N[a+104>>2]){N[a+104>>2]=0}_a(N[a+108>>2]);_a(a)}return}ba(23506,14099,270,7918);F()}function hn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(b>>>0>c>>>0){break a}g=N[a+12>>2];if(g>>>0<=d>>>0|e>>>0>=g>>>0){break a}k=N[a+8>>2];f=N[k+(d<<3)>>2];h=N[(e<<3)+k>>2];b:{if((f|0)<=(h|0)){g=h;h=f;f=e;e=d;break b}g=f;f=d}i=N[a+4>>2];f=f<<3;d=N[i+f>>2];l=f;f=N[a>>2];m=N[l+f>>2];q=d-m|0;e=e<<3;a=N[e+i>>2];n=N[e+f>>2];r=a-n|0;if(!((g|0)==(h|0)|(a|0)==(d|0))){s=g-h|0;t=d-a|0;g=0;while(1){o=b<<3;d=N[f+o>>2];c:{if((d|0)<=(n|0)){e=d+r|0;break c}e=d+q|0;if((d|0)>=(m|0)){break c}if(!j){g=fb(t,s)}p=N[k+o>>2]-h|0;e=p>>31;e=(e^p)-e|0;d=g>>31;d=(d^g)-d|0;d:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break d}j=e&65535;e=T(j,d>>>16|0)+T(d,e>>>16|0)+(T(j,d&65535)+32768>>>16)|0}d=e;j=1;l=0-d|0;d=p>>31|1;e=a+((((g|0)<0?0-d|0:d)|0)<0?l:e)|0}N[i+o>>2]=e;b=b+1|0;if(c>>>0>=b>>>0){continue}break}break a}while(1){e=b<<3;d=N[e+f>>2];N[e+i>>2]=(d|0)>(n|0)?(d|0)<(m|0)?a:d+q|0:d+r|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function hd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(!a|!b)){c=N[a>>2];e=c>>31;f=N[b>>2];d=f>>31;e=(c^e)-e|0;d=(d^f)-d|0;a:{if(e+(d>>>8|0)>>>0<=8190){d=T(d,e)+32768>>>16|0;break a}g=e&65535;d=T(g,d>>>16|0)+T(d,e>>>16|0)+(T(g,d&65535)+32768>>>16)|0}g=c>>31|1;k=0-g|0;i=(((f|0)<0?k:g)|0)<0?0-d|0:d;f=N[a+4>>2];d=f>>31;h=N[b+4>>2];c=h>>31;d=(d^f)-d|0;c=(c^h)-c|0;b:{if(d+(c>>>8|0)>>>0<=8190){c=T(c,d)+32768>>>16|0;break b}j=d&65535;c=T(j,c>>>16|0)+T(c,d>>>16|0)+(T(j,c&65535)+32768>>>16)|0}f=f>>31|1;l=0-f|0;j=i+((((h|0)<0?l:f)|0)<0?0-c|0:c)|0;h=N[b+8>>2];c=h>>31;c=(c^h)-c|0;c:{if(e+(c>>>8|0)>>>0<=8190){e=T(c,e)+32768>>>16|0;break c}i=e&65535;e=T(i,c>>>16|0)+T(c,e>>>16|0)+(T(i,c&65535)+32768>>>16)|0}c=(((h|0)<0?k:g)|0)<0?0-e|0:e;e=N[b+12>>2];b=e>>31;b=(b^e)-b|0;d:{if(d+(b>>>8|0)>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}g=d&65535;b=T(g,b>>>16|0)+T(b,d>>>16|0)+(T(g,b&65535)+32768>>>16)|0}N[a>>2]=j;N[a+4>>2]=c+((((e|0)<0?l:f)|0)<0?0-b|0:b)}}function Kl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=N[a+16>>2];f=O[d+12|0]|O[d+13|0]<<8|(O[d+14|0]<<16|O[d+15|0]<<24);i=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);a:{if(!i){break a}h=N[b>>2];if(c){if((h|0)==-1){break a}h=h+1|0}l=d+16|0;d=i;b:{c:{while(1){f=d+j>>>1|0;e=T(f,12)+l|0;g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(g>>>0<=h>>>0){if(h>>>0<=k>>>0){break c}j=f+1|0}else{d=f}if(d>>>0>j>>>0){continue}break}d=0;break b}d=e;d=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=h-g|0;d=d>>>0<=(e^-1)>>>0?d+e|0:0}if(!c){return d}c=N[a>>2];if(h>>>0>k>>>0){e=0;f=f+1|0;if((i|0)==(f|0)){break a}}N[a+36>>2]=f;N[a+28>>2]=h;L[a+24|0]=1;d:{if(!(d>>>0>2]?d:0)){Jl(a);d=0;if(!O[a+24|0]){break d}d=N[a+32>>2];break d}N[a+32>>2]=d}e=d;N[b>>2]=N[a+28>>2]}return e}function xi(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0;k=La-48|0;La=k;N[k+44>>2]=b;m=N[a+36>>2];N[k+40>>2]=0;N[k+32>>2]=0;N[k+36>>2]=0;N[k+24>>2]=0;N[k+28>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+8>>2]=0;N[k+12>>2]=0;L[k+7|0]=0;a:{b:{c:{if(!m){break c}n=N[m+28>>2];if(!n){break c}Qa[n|0](N[m+40>>2],b,k+8|0);b=N[k+28>>2];if(b){break b}l=N[k+12>>2]}_a(l);N[k+24>>2]=0;N[k+28>>2]=1;N[k+40>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+8>>2]=0;N[k+32>>2]=0;N[k+36>>2]=0;l=k+44|0;N[k+12>>2]=l;b=1;break a}l=N[k+12>>2]}b=Bo(a,l,b,c,d,e,f,g,h,i,j,k+7|0);d:{if(b){break d}b=0;if(!N[m+24>>2]|(O[k+7|0]|!m)){break d}l=N[k+28>>2];if((l|0)>0){while(1){Qa[N[m+24>>2]](N[m+40>>2],N[a>>2],m,N[N[k+12>>2]+(b<<2)>>2]);b=b+1|0;l=N[k+28>>2];if((b|0)<(l|0)){continue}break}}b=Bo(a,N[k+12>>2],l,c,d,e,f,g,h,i,j,k+7|0)}a=N[k+12>>2];if((a|0)!=(k+44|0)){c=0;if(N[k+28>>2]>0){while(1){_a(N[N[k+12>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}a=N[k+12>>2]}_a(a)}La=k+48|0;return b}function ie(a,b){var c=0,d=0,e=0,f=0;f=La-16|0;La=f;L[f+11|0]=0;e=N[a+8>>2];a:{b:{d=N[a+20>>2];c:{if(d){c=f+11|0;if((Qa[d|0](a,e,c,1)|0)!=1){break b}e=N[a+8>>2];break c}if(Q[a+4>>2]<=e>>>0){break b}c=N[a>>2]+e|0}c=O[c|0];d=e+1|0;N[a+8>>2]=d;d:{e:{switch(c-253|0){case 0:f:{g:{h:{if(Q[a+4>>2]<=e+2>>>0){break h}e=N[a+20>>2];i:{if(e){c=f+12|0;if((Qa[e|0](a,d,c,2)|0)!=2){break h}d=N[a+8>>2];break i}c=N[a>>2];if(!c){break g}c=c+d|0}c=O[c|0]|O[c+1|0]<<8;c=c<<8|c>>>8;break f}a=85;break a}c=0}N[a+8>>2]=d+2;break d;case 2:L[f+14|0]=0;e=N[a+20>>2];j:{if(e){c=f+14|0;if((Qa[e|0](a,d,c,1)|0)!=1){break b}d=N[a+8>>2];break j}if(Q[a+4>>2]<=d>>>0){break b}c=N[a>>2]+d|0}c=O[c|0];N[a+8>>2]=d+1;c=c+253|0;break d;case 1:break e;default:break d}}L[f+15|0]=0;e=N[a+20>>2];k:{if(e){c=f+15|0;if((Qa[e|0](a,d,c,1)|0)!=1){break b}d=N[a+8>>2];break k}if(Q[a+4>>2]<=d>>>0){break b}c=N[a>>2]+d|0}c=O[c|0];N[a+8>>2]=d+1;c=c+506|0}M[b>>1]=c;a=0;break a}a=85}La=f+16|0;return a}function VD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=U(0),f=0;a:{b:{d=N[a+24>>2];f=d+92|0;b=wc(f);b=O[b|0]|O[b+1|0]<<8;if(!(!c|!b)){b=wc(f);b=O[b+4|0]|O[b+5|0]<<8;e=Gc(Hc(d+132|0),1986098019,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(R[a+44>>2]*U(V(U(e+U((b<<8|b>>>8)<<16>>16)))))+U(.5))));if(!(U(V(e))>2]=~~e;break a}if(b){break a}return 0}N[c>>2]=-2147483648}d=N[a+24>>2];b=d+92|0;f=wc(b);if(!(O[f|0]|O[f+1|0]<<8)){return 0}b=wc(b);b=O[b+6|0]|O[b+7|0]<<8;e=Gc(Hc(d+132|0),1986294627,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(.5)-U(R[a+44>>2]*U(V(U(e+U((b<<8|b>>>8)<<16>>16))))))));c:{if(U(V(e))>2]=b;d=N[a+24>>2];b=d+92|0;f=wc(b);f=O[f|0]|O[f+1|0]<<8;if(f){b=wc(b);b=O[b+8|0]|O[b+9|0]<<8;e=Gc(Hc(d+132|0),1986815856,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(R[a+44>>2]*U(e+U((b<<8|b>>>8)<<16>>16)))+U(.5))));d:{if(U(V(e))>2]=a}return(f|0)!=0|0}function Gc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=U(0);e=O[a+8|0]|O[a+9|0]<<8;a:{if(!e){break a}g=O[a+6|0]|O[a+7|0]<<8;j=(g<<8|g>>>8)&65535;k=a+12|0;g=((e<<8|e>>>8)&65535)-1|0;while(1){b:{h=g+i>>>1|0;e=T(j,h)+k|0;f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c:{if(f>>>0>b>>>0){g=h-1|0;break c}if((b|0)==(f|0)){break b}i=h+1|0}if((g|0)>=(i|0)){continue}break a}break}b=O[a+10|0]|O[a+11|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=275552}b=O[a+6|0]|O[a+7|0]<<8;f=(b<<8|b>>>8)&65535;b=e;e=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);b=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0<=b>>>0){break a}b=a+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}f=e>>>8&65280|e>>>24;e=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(e){a=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{a=275552}l=Fc(b,f,c,d,a,0)}return l}function _w(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La-320|0;La=c;i=N[a+100>>2];Qa[N[b+60>>2]](b,c+272|0,4,c+268|0);d=N[c+268>>2];a:{if((d|0)<0){g=162;break a}g=3;if(d-5>>>0<4294967292){break a}j=N[b+8>>2];k=N[b>>2];g=_f(a,0,d);if(g){break a}b:{if(N[c+268>>2]>0){l=N[a+532>>2]+88|0;g=3;while(1){a=T(h,12);d=a+(c+272|0)|0;N[b>>2]=N[d>>2];N[b+8>>2]=N[d+4>>2];Qa[N[b+60>>2]](b,c+16|0,20,c+12|0);e=N[c+12>>2];if(e-21>>>0<4294967276){break a}d=a+l|0;if(N[d+4>>2]){break a}f=e<<3;e=Qa[N[i+4>>2]](i,f)|0;if(!e){break b}a=0;G(e,0,f);N[d+4>>2]=e;f=N[c+12>>2];N[d+8>>2]=e+(f<<2);L[d|0]=f;if((f|0)>0){while(1){e=(c+16|0)+T(a,12)|0;N[b>>2]=N[e>>2]+1;N[b+8>>2]=N[e+4>>2]-1;e=Qa[N[b+36>>2]](b)|0;f=a<<2;N[f+N[d+4>>2]>>2]=e;e=Qa[N[b+40>>2]](b,0)|0;N[f+N[d+8>>2]>>2]=e;a=a+1|0;if((a|0)>2]){continue}break}}h=h+1|0;if((h|0)>2]){continue}break}}N[b+8>>2]=j;N[b>>2]=k;g=0;break a}N[d+4>>2]=0;g=64}N[b+12>>2]=g;La=c+320|0}function Xh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-16|0;La=g;a:{if(L[a+376|0]&1){i=N[a+52>>2];j=N[a+48>>2];l=P[a+46>>1];k=P[a+44>>1];h=N[a+36>>2];m=N[a+40>>2];f=a- -64|0;n=N[f+4>>2];N[g+8>>2]=N[f>>2];N[g+12>>2]=n;f=N[a+60>>2];N[g>>2]=N[a+56>>2];N[g+4>>2]=f;f=a+290|0;break a}i=N[a+88>>2];j=N[a+84>>2];l=P[a+82>>1];k=P[a+80>>1];h=N[a+72>>2];m=N[a+76>>2];f=N[a+104>>2];N[g+8>>2]=N[a+100>>2];N[g+12>>2]=f;f=N[a+96>>2];N[g>>2]=N[a+92>>2];N[g+4>>2]=f;f=a+292|0}f=P[f>>1];b:{if(f>>>0>=k>>>0){if(O[a+593|0]){N[a+12>>2]=134}M[e>>1]=0;a=1;break b}N[d+16>>2]=i;N[d+12>>2]=j;M[d+10>>1]=l;M[d+8>>1]=k;N[d>>2]=h;N[d+4>>2]=m;h=N[g+4>>2];N[d+20>>2]=N[g>>2];N[d+24>>2]=h;h=N[g+12>>2];N[d+28>>2]=N[g+8>>2];N[d+32>>2]=h;M[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=Qa[N[a+604>>2]](a,N[d>>2]-N[b>>2]|0,N[d+4>>2]-N[b+4>>2]|0)|0;o=e,p=jb(b,M[a+302>>1],N[a+596>>2]),N[o>>2]=p;o=c,p=jb(b,M[a+304>>1],N[a+596>>2]),N[o>>2]=p;a=0}La=g+16|0;return a}function Sh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if((c|0)<0|b>>>0>>0){break a}j=N[a+28>>2];b:{if(!c){break b}if((c|0)>536870911){break a}b=c<<2;f=Qa[N[j+4>>2]](j,b)|0;if(!(!f|(c|0)<=0)){G(f,0,b);break b}if(!f<<6){break a}}while(1){if(c>>>0<=e>>>0){return f}g=0;c:{d:{k=N[a+36>>2];d=N[a+32>>2];if(k>>>0<=d>>>0){h=0;b=d;break d}b=d+1|0;N[a+32>>2]=b;d=L[d|0];h=d&63;if((d|0)<0){b=(e^-1)+c|0;b=b>>>0>>0?b:h;G((e<<2)+f|0,0,(b<<2)+4|0);d=b+1|0;e=e+d|0;break c}i=0;if(!(d&64)){break d}while(1){e:{if(b+1>>>0>=k>>>0){g=0;break e}d=O[b|0]|O[b+1|0]<<8;g=d<<8|d>>>8;b=b+2|0}N[a+32>>2]=b;N[(e<<2)+f>>2]=g<<16;d=i+1|0;e=e+1|0;if(h>>>0<=i>>>0){break c}i=d;if(c>>>0>e>>>0){continue}break}break c}while(1){d=0;if(b>>>0>>0){i=b+1|0;N[a+32>>2]=i;d=O[b|0];b=i}N[(e<<2)+f>>2]=d<<24>>24<<16;d=g+1|0;e=e+1|0;if(g>>>0>=h>>>0){break c}g=d;if(c>>>0>e>>>0){continue}break}}if(d>>>0>h>>>0){continue}break}if(!f){break a}Qa[N[j+8>>2]](j,f)}return 0}function qC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=La-16|0;La=g;h=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{b:{c:{d=N[b+40>>2];if(!d){break c}e=(N[b+36>>2]<<2)+d|0;f=e-4|0;if(f>>>0>=d>>>0){while(1){c=N[f>>2];d:{if(N[c+4>>2]!=1970170211){break d}e:{switch(P[c+8>>1]){case 0:if(P[c+10>>1]==4){break b}break d;case 3:break e;default:break d}}if(P[c+10>>1]==10){break b}}f=f-4|0;if(f>>>0>=d>>>0){continue}break}}while(1){e=e-4|0;if(e>>>0>>0){break c}c=N[e>>2];if(N[c+4>>2]!=1970170211){continue}break}break b}N[b+92>>2]=0;break a}N[b+92>>2]=c;Hp(a,b);Gp(a);d=N[b+40>>2]}f:{if(!h|!d){break f}a=N[b+36>>2];if((a|0)<=0){break f}a=(a<<2)+d|0;while(1){g:{if(N[d>>2]!=(h|0)){break g}c=N[h>>2];h:{if(!c){break h}c=N[c+96>>2];e=N[N[c>>2]+32>>2];if(!e){break h}c=Qa[e|0](c,10557)|0;if(!c){break h}if(Qa[N[c>>2]](h,g+8|0)|0){break h}if(N[g+12>>2]==14){break g}}N[b+92>>2]=N[d>>2];break f}d=d+4|0;if(a>>>0>d>>>0){continue}break}}La=g+16|0;return 0}function Qw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=6;g=N[a+532>>2];a:{if(!g){break a}if(!(b|c)){e=N[g>>2];if(!e){return 0}a=N[g+136>>2];b=N[g+140>>2];h=0;if(e>>>0>=4){g=e&-4;while(1){c=f<<2;N[c+a>>2]=N[b+c>>2];d=c|4;N[d+a>>2]=N[b+d>>2];d=c|8;N[d+a>>2]=N[b+d>>2];c=c|12;N[c+a>>2]=N[b+c>>2];f=f+4|0;if((g|0)!=(f|0)){continue}break}}g=e&3;if(!g){break a}c=0;while(1){e=f<<2;N[e+a>>2]=N[b+e>>2];f=f+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}break a}if(!c){break a}j=N[g>>2];h=b>>>0>j>>>0?j:b;b:{if(!h){break b}e=N[g+136>>2];if(h>>>0>=4){k=h&-4;while(1){d=f<<2;N[d+e>>2]=N[c+d>>2];i=d|4;N[i+e>>2]=N[c+i>>2];i=d|8;N[i+e>>2]=N[c+i>>2];d=d|12;N[d+e>>2]=N[c+d>>2];f=f+4|0;if((k|0)!=(f|0)){continue}break}}d=h&3;if(!d){break b}while(1){k=f<<2;N[k+e>>2]=N[c+k>>2];f=f+1|0;l=l+1|0;if((d|0)!=(l|0)){continue}break}}if(b>>>0>>0){G(N[g+136>>2]+(h<<2)|0,0,j-h<<2)}h=0;N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return h|0}function xg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+36>>2];a:{h=N[c+4>>2];b:{if((h|0)<(e|0)){break b}k=(b<<3)+c|0;j=N[k+4>>2];if((j|0)>(f|0)){break b}i=h;l=N[a+4>>2];h=0-l|0;i=i&h;m=(i|0)<(f|0);c:{if((e|0)>(j|0)){h=e;break c}e=l-1|0;h=h&e+j;if(e&j&65535){e=h;break c}if(O[a+79|0]){L[a+79|0]=0;g=g-4|0}N[g>>2]=N[k>>2];e=h+l|0;g=g+4|0}if(O[a+78|0]){N[N[a+80>>2]+20>>2]=h>>N[a>>2];L[a+78|0]=0}h=m?i:f;if((h|0)<(e|0)){break b}if(Q[a+32>>2]<=((h-e>>N[a>>2]<<2)+g|0)+4>>>0){break a}j=0-b|0;l=b<<3;f=c;while(1){L[a+79|0]=0;b=N[f+4>>2];d:{if((b|0)>(e|0)){i=b;b=f+l|0;k=N[b+4>>2];i=i-k|0;if((i|0)>=N[a+16>>2]){Qa[d|0](f);break d}b=N[b>>2];N[g>>2]=((T(N[f>>2]-b|0,e-k|0)|0)/(i|0)|0)+b;g=g+4|0;e=N[a+4>>2]+e|0;b=(j<<3)+f|0;break d}if((b|0)==(e|0)){L[a+79|0]=1;N[g>>2]=N[f>>2];g=g+4|0;e=N[a+4>>2]+e|0}b=(j<<3)+f|0}f=b;if(f>>>0>>0){break b}if((e|0)<=(h|0)){continue}break}}N[a+36>>2]=g;return 0}N[a+40>>2]=98;N[a+36>>2]=g;return 1}function wD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;b=0;a:{if(N[N[a+96>>2]+40>>2]!=N[147122]){if(!c){break a}h=0;while(1){b=N[a+96>>2];i=N[b+40>>2];j=N[a+100>>2];k=N[d>>2];b=N[b+12>>2];if(b){b=N[b+20>>2]}else{b=0}l=f,m=Qa[i|0](a,j,k,b)|0,N[l>>2]=m;f=f+g|0;d=d+e|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}break a}h=N[a+20>>2];i=N[h+96>>2];j=N[i+48>>2];k=N[h+100>>2];i=N[i+12>>2];if(i){i=N[i+28>>2]}else{i=0}Qa[j|0](h,k,c,d,e,f,g,i);if(!c){break a}e=N[a+20>>2];if(!e){break a}if((c|0)!=1){i=c&1;j=c&-2;while(1){c=N[f>>2];d=N[e+28>>2];h=N[a+28>>2];if((d|0)!=(h|0)){c=UE(TE(h,h>>31,c,c>>31),Pa,d,d>>31)}N[f>>2]=c;d=f+g|0;c=N[d>>2];f=N[e+28>>2];h=N[a+28>>2];if((f|0)!=(h|0)){c=UE(TE(h,h>>31,c,c>>31),Pa,f,f>>31)}N[d>>2]=c;f=d+g|0;b=b+2|0;if((j|0)!=(b|0)){continue}break}if(!i){break a}}b=N[f>>2];c=N[e+28>>2];a=N[a+28>>2];if((c|0)!=(a|0)){b=UE(TE(a,a>>31,b,b>>31),Pa,c,c>>31)}N[f>>2]=b}}function vD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;b=0;a:{if(N[N[a+96>>2]+44>>2]!=N[147123]){if(!c){break a}h=0;while(1){b=N[a+96>>2];i=N[b+44>>2];j=N[a+100>>2];k=N[d>>2];b=N[b+12>>2];if(b){b=N[b+24>>2]}else{b=0}l=f,m=Qa[i|0](a,j,k,b)|0,N[l>>2]=m;f=f+g|0;d=d+e|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}break a}h=N[a+20>>2];i=N[h+96>>2];j=N[i+52>>2];k=N[h+100>>2];i=N[i+12>>2];if(i){i=N[i+32>>2]}else{i=0}Qa[j|0](h,k,c,d,e,f,g,i);if(!c){break a}e=N[a+20>>2];if(!e){break a}if((c|0)!=1){i=c&1;j=c&-2;while(1){c=N[f>>2];d=N[e+32>>2];h=N[a+32>>2];if((d|0)!=(h|0)){c=UE(TE(h,h>>31,c,c>>31),Pa,d,d>>31)}N[f>>2]=c;d=f+g|0;c=N[d>>2];f=N[e+32>>2];h=N[a+32>>2];if((f|0)!=(h|0)){c=UE(TE(h,h>>31,c,c>>31),Pa,f,f>>31)}N[d>>2]=c;f=d+g|0;b=b+2|0;if((j|0)!=(b|0)){continue}break}if(!i){break a}}b=N[f>>2];c=N[e+32>>2];a=N[a+32>>2];if((c|0)!=(a|0)){b=UE(TE(a,a>>31,b,b>>31),Pa,c,c>>31)}N[f>>2]=b}}function Ac(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=6;a:{if(!a|!c){break a}g=N[c>>2];if(!g){break a}i=N[g+100>>2];h=N[a>>2];b:{c:{if((h|0)<=0){if(!h){break c}break b}e=Qa[N[i+4>>2]](i,h)|0;if(!e){f=64;e=0;break b}G(e,0,h)}f=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=f;N[e+8>>2]=N[c+8>>2];N[e+12>>2]=a;d:{a=N[a+4>>2];if(a){f=Qa[a|0](e,b)|0;if(f){break d}}a=N[g+36>>2];b=a+1|0;if((a|b)<0){f=6;break d}h=N[g+40>>2];e:{f:{g:{if(!b){c=0;if(!h){break g}Qa[N[i+8>>2]](i,h);N[g+40>>2]=0;break e}f=10;if((a|0)>536870910){break d}h:{if(!a){c=Qa[N[i+4>>2]](i,b<<2)|0;f=!c<<6;break h}b=Qa[N[i+12>>2]](i,a<<2,b<<2,h)|0;c=b?b:h;f=!b<<6}if(f|!c){break f}a=(a<<2)+c|0;L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0}N[g+40>>2]=c;break e}N[g+40>>2]=c;if(f){break d}}a=N[g+36>>2];N[g+36>>2]=a+1;N[(a<<2)+c>>2]=e;f=0;break b}a=N[N[e>>2]+100>>2];b=N[N[e+12>>2]+8>>2];if(b){Qa[b|0](e)}Qa[N[a+8>>2]](a,e);e=0}if(!d){break a}N[d>>2]=e}return f|0}function vb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=-1;a:{b:{c:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}e=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c|0;f=d>>>1|0;d=e+(d&-2)|0;d=O[d|0]|O[d+1|0]<<8;d=(d<<8|d>>>8)&65535;d:{if(d>>>0>b>>>0){a=f-1|0;break d}if((b|0)==(d|0)){break a}c=f+1|0}if((a|0)>=(c|0)){continue}break}return-1}e=241305;c=O[a+2|0]|O[a+3|0]<<8;e:{if(!c){break e}h=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;g=T(d,6)+h|0;i=O[g|0]|O[g+1|0]<<8;f:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){c=O[g+2|0]|O[g+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}e=T(d,6)+h|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}a=O[e+2|0]|O[e+3|0]<<8;c=(a<<8|a>>>8)&65535;a=O[e|0]|O[e+1|0]<<8;a=(a<<8|a>>>8)&65535;if(c>>>0>>0){break a}b=b-a|0;a=O[e+4|0]|O[e+5|0]<<8;f=b+((a<<8|a>>>8)&65535)|0}return f}function sn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=N[b+8>>2];d=g>>31;f=M[a+70>>1];c=f>>31;d=(d^g)-d|0;h=d>>>8|0;c=(c^f)-c|0;a:{if(h+c>>>0<=8190){e=T(c,d)+32768>>>16|0;break a}e=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;N[b+12>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)+63&-64;f=M[a+72>>1];c=f>>31;c=(c^f)-c|0;b:{if(c+h>>>0<=8190){e=T(c,d)+32768>>>16|0;break b}e=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;N[b+16>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)&-64;f=M[a+74>>1];c=f>>31;c=(c^f)-c|0;c:{if(c+h>>>0<=8190){c=T(c,d)+32768>>>16|0;break c}c=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}d=c;e=0-d|0;d=f>>31|1;N[b+20>>2]=((((g|0)<0?0-d|0:d)|0)<0?e:c)+32&-64;g=M[a+76>>1];d=g>>31;c=N[b+4>>2];a=c>>31;d=(d^g)-d|0;a=(a^c)-a|0;d:{if(d+(a>>>8|0)>>>0<=8190){e=T(a,d)+32768>>>16|0;break d}e=T(d,a>>>16|0)+(T(d,a&65535)+32768>>>16|0)|0}a=e;d=0-a|0;a=g>>31|1;N[b+24>>2]=((((c|0)<0?0-a|0:a)|0)<0?d:e)+32&-64}function ic(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c=N[a+32>>2];if(c){d=N[a>>2];h=N[a+36>>2]+(O[N[N[a+4>>2]+96>>2]+16|0]&64?-1:0-c|0)|0;if((d|0)<(h|0)){while(1){c=d+1|0;N[a>>2]=c;f=N[a+4>>2];e=N[N[f+96>>2]+80>>2]+T(c,20)|0;d=P[e+12>>1];c=N[a+8>>2];c:{if(d&c&14){break c}if(d&8){if(!dl(N[f+104>>2],N[e>>2],d,c)){break c}d=P[e+12>>1]}f=1;c=P[e+16>>1];if(!(d&16|(c&96)!=32|!O[a+16|0]&(c&543)==513)){f=!O[a+17|0]&(c&287)==257}d=N[a+28>>2];if(d){c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535}else{c=0}d:{if(!(N[a+12>>2]&N[e+4>>2])){break d}g=O[a+19|0];if((g|0)!=O[e+15|0]?g:0){break d}g=N[a+20>>2];e:{if(g){if(!(Qa[g|0](e,c,N[a+24>>2])|0)){break d}d=N[a+28>>2];break e}if(!f){break c}}N[a+32>>2]=N[a+32>>2]-1;i=1;if(!d){break a}N[a+28>>2]=d+2;return 1}if(f){break b}}d=N[a>>2];if((h|0)>(d|0)){continue}break}}if(!b){break a}N[b>>2]=N[a+36>>2];break a}ba(21998,14114,537,8490);F()}if(!b){break a}N[b>>2]=N[a>>2]+1;return 0}return i}function Hi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;if(!((b|0)==(d|0)&(c|0)==(e|0))){g=N[a+28>>2];h=g+1|0;f=N[a+36>>2];a:{if(h>>>0<=f>>>0){f=N[a+20>>2];break a}f=f<<1;f=f>>>0<=64?64:f;while(1){g=f;f=f<<1;if(g>>>0>>0){continue}break}f=$a(N[a+20>>2],T(g,40));if(!f){return 0}N[a+36>>2]=g;N[a+20>>2]=f;g=N[a+28>>2];h=g+1|0}N[a+28>>2]=h;a=T(g,40)+f|0;N[a+36>>2]=(c|0)>(e|0)?c:e;N[a+32>>2]=(c|0)<(e|0)?c:e;N[a+28>>2]=(b|0)>(d|0)?b:d;N[a+24>>2]=(b|0)<(d|0)?b:d;d=d-b|0;f=(d|0)<0?62:60;e=e-c|0;N[a+20>>2]=(e|0)<0?f:f^3;i=d>>31;f=i;f=(f^d)-f|0;j=e>>31;g=j;g=(g^e)-g|0;g=(f|0)>(g|0)?f:g;h=W(g)^31;f=30-h|0;N[a+12>>2]=0-d<>2]=e<>31);e=Pa;c=TE(d,i,c,c>>31);d=b-c|0;e=e-(Pa+(b>>>0>>0)|0)|0;c=d;b=f&31;if((f&63)>>>0>=32){d=c<>>32-b|e<>2]=b;N[a+4>>2]=d;b=a;a=g<<31-h;TE(a,0,a,0);TE(Pa,0,1395864371,0);c=Pa;TE(a,0,-1144608785,0);N[b+16>>2]=(c-Pa|0)-2012192179}return 1}function ge(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c=N[a+32>>2];if(c){d=N[a>>2];h=O[N[N[a+4>>2]+96>>2]+16|0]&64?0:c-1|0;if(d>>>0>h>>>0){while(1){c=d-1|0;N[a>>2]=c;f=N[a+4>>2];e=N[N[f+96>>2]+84>>2]+T(c,20)|0;d=P[e+12>>1];c=N[a+8>>2];c:{if(d&c&14){break c}if(d&8){if(!dl(N[f+104>>2],N[e>>2],d,c)){break c}d=P[e+12>>1]}f=1;c=P[e+16>>1];if(!(d&16|(c&96)!=32|!O[a+16|0]&(c&543)==513)){f=!O[a+17|0]&(c&287)==257}d=N[a+28>>2];if(d){c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535}else{c=0}d:{if(!(N[a+12>>2]&N[e+4>>2])){break d}g=O[a+19|0];if((g|0)!=O[e+15|0]?g:0){break d}g=N[a+20>>2];e:{if(g){if(!(Qa[g|0](e,c,N[a+24>>2])|0)){break d}d=N[a+28>>2];break e}if(!f){break c}}N[a+32>>2]=N[a+32>>2]-1;i=1;if(!d){break a}N[a+28>>2]=d+2;return 1}if(f){break b}}d=N[a>>2];if(h>>>0>>0){continue}break}}if(!b){break a}N[b>>2]=0;break a}ba(21998,14114,575,8316);F()}if(!b){break a}a=N[a>>2];N[b>>2]=(a>>>0<=1?1:a)-1;return 0}return i}function Ah(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=N[a+52>>2];d=O[a+32|0];a:{b:{c:{if(d){break c}b=N[a+24>>2];if(b>>>0>=Q[a+28>>2]){break c}if(Q[a+56>>2]>2]){break b}}if(Q[a+56>>2]>=Q[a+60>>2]){c=c+1|0;N[a+52>>2]=c;f=-1;if(c>>>0>16){break a}N[a+60>>2]=Q[a+40>>2]>c>>>0?(1<>2]+1|0}if(d){N[a+60>>2]=256;N[a+52>>2]=9;L[a+32|0]=0;c=9}f=-1;if(N[a+4>>2]){break a}b=c;g=N[a+164>>2];h=N[g+4>>2];i=N[g+8>>2];if(h>>>0>i>>>0){d=a+8|0;b=N[g+20>>2];d:{if(b){e=Qa[b|0](g,i,d,c)|0;break d}b=h-i|0;e=b>>>0>>0?b:c;B(d,N[g>>2]+i|0,e)}N[g+8>>2]=N[g+8>>2]+e;b=N[a+52>>2]}N[a+24>>2]=0;d=e<<3;N[a+28>>2]=d;N[a+4>>2]=b>>>0>e>>>0;N[a+36>>2]=N[a+36>>2]+e;if(b>>>0>=d>>>0){break a}N[a+28>>2]=(d|1)-b;b=0;if(!e){break a}}N[a+24>>2]=b+c;d=(b>>>3|0)+a|0;h=d+8|0;b=b&7;f=O[h|0]>>>b|0;e=8-b|0;a=c-e|0;if(a>>>0<8){b=d+9|0}else{a=a-8|0;f=O[h+1|0]<>2];d=N[a+104>>2];e=N[a+100>>2];c=N[a+716>>2];if(c){Qa[c|0](N[a+712>>2])}if(b){Qa[N[b+12>>2]](a)}b=N[a+104>>2];a:{if(b){b:{if(!N[b+20>>2]){break b}c=N[a+764>>2];if(!c){break b}b=N[b+28>>2];Qa[N[b+8>>2]](b,c);b=N[a+104>>2]}N[a+760>>2]=0;N[a+764>>2]=0;c=N[a+784>>2];c:{if(c){f=N[b+28>>2];Qa[N[f+8>>2]](f,c);N[a+784>>2]=0;break c}N[a+784>>2]=0;if(!b){break a}}if(!N[b+20>>2]){break a}c=N[a+768>>2];if(!c){break a}b=N[b+28>>2];Qa[N[b+8>>2]](b,c);break a}N[a+784>>2]=0;N[a+760>>2]=0;N[a+764>>2]=0}N[a+768>>2]=0;b=N[a+704>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+700>>2]=0;N[a+704>>2]=0;d:{if(d){e:{if(!N[d+20>>2]){break e}b=N[a+688>>2];if(!b){break e}e=N[d+28>>2];Qa[N[e+8>>2]](e,b)}N[a+688>>2]=0;if(!N[d+20>>2]){break d}b=N[a+696>>2];if(!b){break d}d=N[d+28>>2];Qa[N[d+8>>2]](d,b);break d}N[a+688>>2]=0}N[a+684>>2]=0;N[a+692>>2]=0;N[a+696>>2]=0;dn(a);N[a+736>>2]=0}}function sd(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0){break a}g=d-a|0;if(g>>>0<2){break a}e=N[b+12>>2];f=e-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=O[a|0]|O[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}if(g>>>0<6){break a}c=e-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+6|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=T((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function Uf(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=N[a+100>>2];b=N[a+292>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+292>>2]=0;b=N[a+308>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+308>>2]=0;b=N[a+284>>2];if(b){b:{if(N[a+280>>2]>0){b=0;while(1){d=N[a+284>>2];c:{if(!d){break c}d=d+T(b,12)|0;e=N[d>>2];if(e){Qa[N[c+8>>2]](c,e)}N[d>>2]=0;if(!O[d+4|0]){break c}e=N[d+8>>2];if(e){Qa[N[c+8>>2]](c,e)}N[d+8>>2]=0}b=b+1|0;if((b|0)>2]){continue}break}b=N[a+284>>2];if(!b){break b}}Qa[N[c+8>>2]](c,b)}N[a+284>>2]=0}b=N[a+192>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+192>>2]=0;b=N[a+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+32>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+32>>2]=0;b=N[a+176>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+176>>2]=0;b=N[a+180>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+180>>2]=0;c=N[a+104>>2];if((c|0)!=(a+132|0)){break a}b=N[c+24>>2];if(b){Qa[b|0](c)}N[a+104>>2]=N[a+172>>2]}}function EA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a+28>>2];if(O[d+44|0]){break b}c=To(d,N[b>>2],N[b+4>>2]);if(!c){break b}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=c;return}c:{c=N[d+12>>2];if((M[c+22>>1]+M[c+58>>1]|0)+3>>>0<=Q[c+4>>2]){break c}c=Sb(c,3,0);if(!c){break c}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=c;return}a=N[d+20>>2];d:{e:{f:{if(!O[d+45|0]){b=P[a+2>>1]+1|0;M[a+2>>1]=b;break f}c=N[a+8>>2];e=N[b+8>>2];f=M[a+2>>1];g=N[a+4>>2]+(f<<3)|0;N[g+4>>2]=N[b+12>>2]>>10;N[g>>2]=e>>10;L[c+f|0]=2;e=O[d+45|0];c=N[d+20>>2];M[a+2>>1]=P[a+2>>1]+1;if(e){break e}b=P[c+2>>1];a=c}M[a+2>>1]=b+1;break d}a=N[c+8>>2];e=N[b+16>>2];f=M[c+2>>1];g=N[c+4>>2]+(f<<3)|0;N[g+4>>2]=N[b+20>>2]>>10;N[g>>2]=e>>10;L[a+f|0]=2;e=O[d+45|0];a=N[d+20>>2];M[c+2>>1]=P[c+2>>1]+1;if(!e){break d}c=N[a+8>>2];d=N[b+24>>2];e=M[a+2>>1];f=N[a+4>>2]+(e<<3)|0;N[f+4>>2]=N[b+28>>2]>>10;N[f>>2]=d>>10;L[c+e|0]=1}M[a+2>>1]=P[a+2>>1]+1}}function Qj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{i=N[a+32>>2];if(!i){break a}j=N[a+24>>2];if(!j|N[a+20>>2]==275552){break a}d=b>>>9|0;f=N[a+28>>2];e=N[f+32>>2];b:{c:{d:{g=N[f+28>>2];c=N[f+20>>2];if(g>>>0<=c>>>0){break d}c=(c<<3)+e|0;if(N[c>>2]!=(d|0)){break d}d=c+4|0;break c}c=0;if((g|0)<=0){break b}h=g-1|0;e:{while(1){c=h+k>>>1|0;l=N[(c<<3)+e>>2];f:{if((l|0)>(d|0)){h=c-1|0;break f}if((d|0)==(l|0)){break e}k=c+1|0}if((h|0)>=(k|0)){continue}break}c=0;break b}N[f+20>>2]=c;d=(c>>>0>=g>>>0?275552:(c<<3)+e|0)+4|0}e=N[f+44>>2];c=0;if(!e){break b}c=(e+(N[d>>2]<<6)|0)+(b>>>3&56)|0;g=N[c>>2];e=N[c+4>>2];d=b&63;c=d&31;c=(d>>>0>=32?e>>>c|0:((1<>>c)&1}if((c|0)!=O[f+48|0]){break a}f=N[a+16>>2];N[a+16>>2]=275552;c=N[a+12>>2];d=N[a+8>>2];N[a+12>>2]=275552;N[a+32>>2]=i-1;N[a+8>>2]=275552;Qa[j|0](a,b);N[a+16>>2]=f;N[a+8>>2]=d;N[a+12>>2]=c;N[a+32>>2]=N[a+32>>2]+1;sc(N[a+28>>2],b)}}function Cd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;Tb(a,N[a+8>>2]);c=N[a>>2];N[d+12>>2]=c;f=N[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=O[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}N[b>>2]=c;N[b+8>>2]=2;if(Ni(d+12|0,f)){break e}break d}N[b>>2]=c;N[b+8>>2]=3;if(!ap(d+12|0,f)){break d}break e}N[b>>2]=c;N[b+8>>2]=3;N[a>>2]=c+1;Tb(a,f);c=N[a>>2];h:{if(f>>>0<=c>>>0){break h}e=1;while(1){if(N[a+12>>2]){break h}i:{j:{switch(O[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break i}c=c+1|0;N[d+12>>2]=c;N[b+4>>2]=c;break a;case 0:break j;default:break i}}e=e+1|0}Oi(a);Tb(a,N[a+8>>2]);c=N[a>>2];if(f>>>0>c>>>0){continue}break}}N[d+12>>2]=c;break e}N[b>>2]=c;N[b+8>>2]=O[c|0]==47?4:1;Oi(a);c=N[a>>2];N[d+12>>2]=c;if(!N[a+12>>2]){break c}}c=N[b+4>>2];break b}c=N[d+12>>2]}N[b+4>>2]=c}if(c){break a}N[b+8>>2]=0;N[b>>2]=0}N[a>>2]=N[d+12>>2]}La=d+16|0}function GD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if((d|0)<=0){break a}g=a+16|0;a=d-1|0;while(1){h=a+i>>>1|0;f=T(h,12)+g|0;d=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);b:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<=b>>>0){d=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>>0){i=h+1|0;break b}e=T(h,12)+g|0;break a}a=h-1|0}if((a|0)>=(i|0)){continue}break}}a=0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);c:{if(d>>>0>(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0){break c}d=b-d|0;b=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;if(!b){break c}N[c>>2]=b;a=1}return a|0}function Fz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=La-96|0;La=d;e=so(N[a>>2],N[a+4>>2],b,c);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);c=0|b;hb(d+80|0,e^c^2025677871,b^Pa^-1602871964,0,0,c^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);b=a|f;hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,b^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+96|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function Ed(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{i=N[b+4>>2];if(i>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}d=N[b+12>>2];c=d-2|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8;b:{if(!c){break b}if(a+2>>>0>=f>>>0){break a}d=d-3|0;N[b+12>>2]=d;if(!d){break a}e=O[a+2|0];if((e-1&255)>>>0>3){break a}j=(c<<8|c>>>8)&65535;g=T(e,j+1|0);h=a+3|0;if(g>>>0>f-h>>>0){break a}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=-1;a=T(e,j)+h|0;c:{d:{e:{switch(e-1|0){case 0:a=O[a|0];break d;case 1:a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break d;case 2:a=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);break d;case 3:break e;default:break c}}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}c=a-1|0;if(c){break c}return 1}a=g+h|0;if(a>>>0>>0|a>>>0>f>>>0){break a}e=0;if(f-a>>>0>>0){break b}a=d-c|0;N[b+12>>2]=a;e=(a|0)>0}return e}return 0}function $h(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=La-32|0;La=h;a:{if(!b){b=6;break a}i=N[a>>2];g=Qa[N[i+4>>2]](i,40)|0;if(!g){Qa[N[i+8>>2]](i,b);b=64;break a}L[g+20|0]=0;L[g+21|0]=0;L[g+22|0]=0;L[g+23|0]=0;L[g+24|0]=0;L[g+25|0]=0;L[g+26|0]=0;L[g+27|0]=0;L[g+12|0]=0;L[g+13|0]=0;L[g+14|0]=0;L[g+15|0]=0;L[g+16|0]=0;L[g+17|0]=0;L[g+18|0]=0;L[g+19|0]=0;N[g+8>>2]=0;N[g+4>>2]=c;N[g>>2]=b;L[g+36|0]=0;L[g+37|0]=0;L[g+38|0]=0;L[g+39|0]=0;L[g+28|0]=0;L[g+29|0]=0;L[g+30|0]=0;L[g+31|0]=0;L[g+32|0]=0;L[g+33|0]=0;L[g+34|0]=0;L[g+35|0]=0;N[g+24>>2]=113;N[h+16>>2]=g;N[h>>2]=2;if(e){N[h>>2]=10;c=N[a+16>>2];b:{if((c|0)<=0){c=0;break b}b=a+20|0;j=b+(c<<2)|0;while(1){c=N[b>>2];if(!cb(N[N[c>>2]+8>>2],e)){break b}b=b+4|0;if(j>>>0>b>>>0){continue}break}c=0}N[h+20>>2]=c}b=Sd(a,h,d,f,0);if(!b){a=N[f>>2];N[a+8>>2]=N[a+8>>2]&-1025;b=0;break a}a=N[g+24>>2];if(a){Qa[a|0](g)}Qa[N[i+8>>2]](i,g)}La=h+32|0;return b}function jo(){sa(584844,16753);ra(584864,13202,1,0);ga(584872,12216,1,-128,127);ga(584888,12209,1,-128,127);ga(584880,12207,1,0,255);ga(584896,8776,2,-32768,32767);ga(584904,8767,2,0,65535);ga(584912,9191,4,-2147483648,2147483647);ga(584920,9182,4,0,-1);ga(584928,14531,4,-2147483648,2147483647);ga(584936,14522,4,0,-1);Ln(584944,9764,-2147483648,2147483647);Ln(584952,9763,0,-1);pa(584960,9670,4);pa(584968,16035,8);qa(440720,14562);qa(440792,20995);la(440864,4,14536);la(440940,2,14574);la(441016,4,14589);Ka(441044,13355);ea(441084,0,20926);ea(441124,0,21028);ea(441164,1,20956);ea(441204,2,20491);ea(441244,3,20522);ea(441284,4,20562);ea(441324,5,20591);ea(441364,4,21065);ea(441404,5,21095);ea(441124,0,20693);ea(441164,1,20660);ea(441204,2,20759);ea(441244,3,20725);ea(441284,4,20893);ea(441324,5,20859);ea(441444,8,20826);ea(441484,9,20792);ea(441524,6,20629);ea(441564,7,21134)}function aj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=N[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<20){break a}e=N[b+12>>2];c=e-20|0;N[b+12>>2]=c;if((O[a|0]|O[a+1|0]<<8)!=256|(c|0)<=0){break a}c=a+8|0;if(c>>>0>f>>>0|f-c>>>0<4){break a}d=O[a+4|0]|O[a+5|0]<<8;g=O[a+6|0]|O[a+7|0]<<8;e=e-24|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break a}d=T((g<<8|g>>>8)&65535,(d<<8|d>>>8)&65535);if((d|0)<0){break a}d=d<<1;if(d){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>f>>>0|d>>>0>f-c>>>0){break a}e=e-d|0;N[b+12>>2]=e;if((e|0)<=0){break a}}c=O[a+12|0]|O[a+13|0]<<8;c=(c<<8|c>>>8)&65535;d=a+20|0;g=f-d|0;b:{if(L[a+15|0]&1){if(d>>>0>f>>>0){break a}a=(c<<2)+4|0;if(g>>>0>=a>>>0){break b}break a}if(d>>>0>f>>>0){break a}a=(c<<1)+2|0;if(g>>>0>>0){break a}}a=e-a|0;N[b+12>>2]=a;i=(a|0)>0}return i}function mm(a,b){var c=0,d=0,e=0,f=0;d=-2;a:{if(!a){break a}N[a+24>>2]=0;d=N[a+32>>2];if(!d){N[a+40>>2]=0;N[a+32>>2]=160;d=160}if(!N[a+36>>2]){N[a+36>>2]=161}c=Qa[d|0](N[a+40>>2],1,24)|0;N[a+28>>2]=c;d=-4;if(!c){break a}N[c+20>>2]=0;N[c+12>>2]=b>>>31;d=b>>31;e=(d^b)-d|0;if(e>>>0<=7){Vf(a);return-2}N[c+16>>2]=e;b:{c=Qa[N[a+32>>2]](N[a+40>>2],1,64)|0;if(c){f=Qa[N[a+32>>2]](N[a+40>>2],8,1440)|0;N[c+36>>2]=f;d=N[a+40>>2];if(f){f=d;d=1<>2]](f,1,d)|0;N[c+40>>2]=e;if(e){break b}Qa[N[a+36>>2]](N[a+40>>2],N[c+36>>2]);d=N[a+40>>2]}Qa[N[a+36>>2]](d,c)}N[N[a+28>>2]+20>>2]=0;Vf(a);return-4}N[c+56>>2]=(b|0)>=0?162:0;N[c+44>>2]=d+e;d=0;f=(b|0)<0;if(!f){N[c+60>>2]=1;N[a+48>>2]=1}b=N[a+28>>2];N[b+20>>2]=c;N[a+8>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[b>>2]=N[b+12>>2]?7:0;N[c+52>>2]=e;N[c+28>>2]=0;N[c+32>>2]=0;N[c>>2]=0;N[c+48>>2]=e;if(f){break a}N[c+60>>2]=1;N[a+48>>2]=1}return d}function Cb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=N[a+112>>2];d=N[a+116>>2];g=(b|d)!=0;h=b;c=N[a+4>>2];f=N[a+44>>2];b=c-f|0;i=b;e=b+N[a+120>>2]|0;b=N[a+124>>2]+(b>>31)|0;a:{b=e>>>0>>0?b+1|0:b;if(!(((b|0)>=(d|0)&e>>>0>=h>>>0|(b|0)>(d|0))&g)){d=La-16|0;La=d;c=-1;b:{if(ni(a)){break b}if((Qa[N[a+32>>2]](a,d+15|0,1)|0)!=1){break b}c=O[d+15|0]}La=d+16|0;d=c;if((c|0)>=0){break a}f=N[a+44>>2];c=N[a+4>>2]}N[a+112>>2]=-1;N[a+116>>2]=-1;N[a+104>>2]=c;d=f-c|0;c=d+e|0;b=(d>>31)+b|0;N[a+120>>2]=c;N[a+124>>2]=c>>>0>>0?b+1|0:b;return-1}c=e+1|0;b=c?b:b+1|0;h=N[a+4>>2];f=N[a+8>>2];e=N[a+116>>2];i=e;g=N[a+112>>2];c:{if(!(e|g)){break c}e=g-c|0;g=i-(b+(c>>>0>g>>>0)|0)|0;j=f-h|0;i=j>>31;if((g|0)>=(i|0)&e>>>0>=j>>>0|(g|0)>(i|0)){break c}f=e+h|0}N[a+104>>2]=f;e=N[a+44>>2];f=e-h|0;c=f+c|0;b=(f>>31)+b|0;N[a+120>>2]=c;N[a+124>>2]=c>>>0>>0?b+1|0:b;if(e>>>0>=h>>>0){L[h-1|0]=d}return d}function Ph(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=N[b+4>>2]+(c<<4)|0;m=N[l+4>>2];if(!m){return 0}p=N[l+12>>2]+(T(d,m)<<1)|0;n=P[b+8>>1];while(1){a:{if(!n){d=65536;break a}c=N[N[b+16>>2]+(N[N[l+8>>2]+(k<<2)>>2]<<2)>>2];e=0;d=65536;while(1){g=d;i=N[c>>2];f=N[c+4>>2];b:{if((i|0)>(f|0)){break b}j=N[c+8>>2];if(!f|(f|0)>(j|0)){break b}if((i|0)<0&(j|0)>0){break b}h=N[N[N[a+736>>2]+8>>2]+(e<<2)>>2];if((f|0)==(h|0)){break b}d=0;if((h|0)<=(i|0)|(h|0)>=(j|0)){break a}if((f|0)>(h|0)){g=jb(g,h-i|0,f-i|0);break b}g=jb(g,j-h|0,j-f|0)}d=g;c=c+12|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}g=M[(k<<1)+p>>1];c=g<<16;e=c>>31;e=(c^e)-e|0;c=d>>31;c=(c^d)-c|0;c:{if((e>>>8|0)+c>>>0<=8190){e=T(c,e)>>>16|0;break c}e=T(c&65535,e>>>16|0)+T(e,c>>>16|0)|0}c=e;f=0-c|0;c=d>>31|1;o=(((g<<16>>16<0?0-c|0:c)|0)<0?f:e)+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}return o+32768>>16}function Bq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=db(1,16);a:{if(!f){break a}d=N[a+44>>2];if((d|0)<=0){break a}e=N[a+48>>2];d=d-1|0;a=d;b:{while(1){b=a>>>1|0;if(!N[T(b,36)+e>>2]){a=N[(T(b,36)+e|0)+28>>2];break b}c=a>>>0>1;a=b-1|0;if(c){continue}break}a=0}N[f>>2]=a;b=0;a=d;c:{while(1){c=a+b>>>1|0;g=N[T(c,36)+e>>2];d:{if(g>>>0<=1818914159){b=N[(T(c,36)+e|0)+28>>2];if((g|0)==1818914159){break c}b=c+1|0;break d}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}N[f+4>>2]=b;b=0;a=d;e:{while(1){c=a+b>>>1|0;g=N[T(c,36)+e>>2];f:{if(g>>>0<=1986686319){b=N[(T(c,36)+e|0)+28>>2];if((g|0)==1986686319){break e}b=c+1|0;break f}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}N[f+8>>2]=b;a=0;g:{while(1){b=a+d>>>1|0;c=N[T(b,36)+e>>2];h:{if(c>>>0<=1953131887){a=N[(T(b,36)+e|0)+28>>2];if((c|0)==1953131887){break g}a=b+1|0;break h}d=b-1|0}if((a|0)<=(d|0)){continue}break}a=0}N[f+12>>2]=a}return f|0}function Rb(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if(O[b|0]){g=S[b+8>>3];break a}L[b|0]=1;g=S[b+8>>3];f=S[a+4392>>3];if(g>f){S[b+8>>3]=f;g=f;f=S[a+4392>>3]}if(f>S[b+24>>3]){S[b+24>>3]=f}f=S[a+4400>>3];if(f>3]){S[b+16>>3]=f;f=S[a+4400>>3]}if(!(S[b+32>>3]>3]=f}f=S[c>>3];if(g>f){S[b+8>>3]=f;g=f;f=S[c>>3]}h=S[b+24>>3];if(f>h){S[b+24>>3]=f;h=f}i=S[b+16>>3];f=S[c+8>>3];if(i>f){S[b+16>>3]=f;i=f;f=S[c+8>>3]}j=S[b+32>>3];if(f>j){S[b+32>>3]=f;j=f}f=S[d>>3];if(f>3]=f;f=S[d>>3]}if(f>h){S[b+24>>3]=f}g=S[d+8>>3];if(i>g){S[b+16>>3]=g;g=S[d+8>>3]}if(g>j){S[b+32>>3]=g}c=N[e+4>>2];N[a+4392>>2]=N[e>>2];N[a+4396>>2]=c;d=N[e+12>>2];c=a+4400|0;N[c>>2]=N[e+8>>2];N[c+4>>2]=d;g=S[a+4392>>3];if(g>3]){S[b+8>>3]=g;g=S[a+4392>>3]}if(S[b+24>>3]>3]=g}g=S[a+4400>>3];if(g>3]){S[b+16>>3]=g;g=S[a+4400>>3]}if(S[b+32>>3]>3]=g}}function rh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[b+4>>2];a:{if(k>>>0>a>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(h>>>0>1073741823){break a}j=h<<2;if(j){i=a+4|0;if(i>>>0>g>>>0|j>>>0>g-i>>>0){break a}d=d-j|0;N[b+12>>2]=d;if((d|0)<=0){break a}}if(!e){return 1}h=h>>>0<=1?1:h;j=a+4>>>0>>0;while(1){b:{c:{if(j){break c}f=(l<<2)+a|0;e=f+4|0;if(e>>>0>g>>>0|g-e>>>0<4){break c}i=d-4|0;N[b+12>>2]=i;if((d|0)<5){break c}f=O[f+6|0]|O[f+7|0]<<8;if(!f){d=i;break b}d=O[e|0]|O[e+1|0]<<8;d=((d<<8|d>>>8)&65535)+c|0;if(d>>>0>>0|d>>>0>g>>>0){break c}e=g-d|0;d=(f<<8|f>>>8)&65535;if(e>>>0>>0){break c}d=i-d|0;N[b+12>>2]=d;if((d|0)>0){break b}}f=0;break a}f=1;l=l+1|0;if((h|0)!=(l|0)){continue}break}}return f}function Ak(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;a:{if(Q[b+4>>2]>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}e=N[b+12>>2];d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(d>>>0>f>>>0|f-d>>>0<2){break a}h=e-6|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[d|0]|O[d+1|0]<<8;if(e){d=a+4|0;if(f>>>0>>0){break a}f=f-d|0;d=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break a}d=h-d|0;N[b+12>>2]=d;if((d|0)<=0){break a}}e=O[a|0]|O[a+1|0]<<8;b:{if(!e){break b}N[g+12>>2]=c?N[c>>2]:0;if(!zk(a,b,a,g+12|0)){break a}if(!c|(O[a|0]|O[a+1|0]<<8)|N[c>>2]!=1936292453){break b}d=N[c+4>>2];if(!d|a>>>0<=d>>>0){break b}e=(d-a|0)+((e<<8|e>>>8)&65535)|0;if(e>>>0>65535){break b}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}d=e<<8|(e&65280)>>>8;L[a|0]=d;L[a+1|0]=d>>>8;N[g+8>>2]=N[c>>2];if(!zk(a,b,a,g+8|0)){break a}}i=1}La=g+16|0;return i}function ll(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=N[a+68>>2];if(!i){N[a+68>>2]=0;return}while(1){a:{b:{d=N[a+80>>2];g=T(e,20);b=d+g|0;if(N[b>>2]==65535){g=N[b+8>>2];c:{d:{e:{c=e+1|0;if(c>>>0>>0){if(N[(T(c,20)+d|0)+8>>2]!=(g|0)){break e}break a}if(f){break d}break b}if(!f){break c}}h=N[(T(f,20)+d|0)-12>>2];if(h>>>0<=g>>>0){break a}j=N[b+4>>2]&7;e=f;while(1){e=e-1|0;b=T(e,20)+d|0;if((h|0)!=N[b+8>>2]){break a}N[b+4>>2]=j|N[b+4>>2]&-8;N[b+8>>2]=g;if(e){continue}break}break a}Ib(a,e,e+2|0);break b}if((e|0)!=(f|0)){h=N[b+4>>2];c=d;d=T(f,20);c=c+d|0;N[c>>2]=N[b>>2];N[c+4>>2]=h;N[c+16>>2]=N[b+16>>2];h=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=h;b=N[a+88>>2];c=b+d|0;b=b+g|0;d=N[b+4>>2];N[c>>2]=N[b>>2];N[c+4>>2]=d;d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;N[c+16>>2]=N[b+16>>2]}f=f+1|0;c=e+1|0;break a}f=0}e=c;if((i|0)!=(c|0)){continue}break}N[a+68>>2]=f}function Yq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{c:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=O[c+4|0]|O[c+5|0]<<8;if(!d){break a}d=(d<<8|d>>>8)&65535;f=d>>>0<=1?1:d;d=0;while(1){e=O[c+4|0]|O[c+5|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=d>>>0?275552:((d<<1)+c|0)+6|0;e=O[e|0]|O[e+1|0]<<8;if(((e<<8|e>>>8)&65535)==(b|0)){e=O[c+2|0]|O[c+3|0]<<8;sc(a,((e<<8|e>>>8)&65535)+d|0)}d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}e=O[c+2|0]|O[c+3|0]<<8;if(!e){break a}d=c+4|0;c=d+T((e<<8|e>>>8)&65535,6)|0;e=a+12|0;while(1){d:{f=O[d+4|0]|O[d+5|0]<<8;if(((f<<8|f>>>8)&65535)==(b|0)){f=O[d+2|0]|O[d+3|0]<<8;f=(f<<8|f>>>8)&65535;g=O[d|0]|O[d+1|0]<<8;g=(g<<8|g>>>8)&65535;if(!O[a+48|0]){break d}qd(e,g,f)}d=d+6|0;if((c|0)!=(d|0)){continue}break a}if(!Le(e,g,f)){break a}d=d+6|0;if((c|0)!=(d|0)){continue}break}}}function vc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=b>>>9|0;d=N[a+20>>2];a:{b:{c:{b=N[a+8>>2];c=N[a+16>>2];if(b>>>0>=c>>>0){break c}b=(b<<3)+d|0;if(N[b>>2]!=(e|0)){break c}b=b+4|0;break b}f=N[a+28>>2];b=0;d:{if((c|0)>0){g=c-1|0;while(1){c=b+g>>>1|0;h=N[(c<<3)+d>>2];e:{if((h|0)>(e|0)){g=c-1|0;break e}if((e|0)==(h|0)){b=c;break d}b=c+1|0}if((b|0)<=(g|0)){continue}break}}if(!Df(a,f+1|0)){break a}c=N[a+32>>2]+(f<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=b<<3;d=c+N[a+20>>2]|0;B(d+8|0,d,N[a+16>>2]+(b^-1)<<3);f:{if(Q[a+16>>2]<=b>>>0){N[147456]=0;N[147457]=0;c=589824;break f}c=c+N[a+20>>2]|0}N[c>>2]=e;N[c+4>>2]=f;d=N[a+20>>2]}N[a+8>>2]=b;b=((b<<3)+d|0)+4|0}i=N[a+32>>2]+(N[b>>2]<<6)|0}return i}function qn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;if(!a){return 35}if(!e){return 6}f=N[a+96>>2];N[e>>2]=0;N[e+4>>2]=0;f=N[N[f+12>>2]+76>>2];if(!f){return 0}c=Qa[f|0](a,b,c,e)|0;a:{if(c){break a}f=N[e>>2];c=f>>31;b=N[a+88>>2];h=N[b+16>>2];a=h>>31;c=(c^f)-c|0;a=(a^h)-a|0;b:{if(c+(a>>>8|0)>>>0<=8190){c=T(a,c)+32768>>>16|0;break b}i=c&65535;c=T(i,a>>>16|0)+T(a,c>>>16|0)+(T(i,a&65535)+32768>>>16)|0}a=c;g=0-a|0;a=f>>31|1;f=(((h|0)<0?0-a|0:a)|0)<0?g:c;N[e>>2]=f;h=N[e+4>>2];c=h>>31;i=N[b+20>>2];a=i>>31;c=(c^h)-c|0;a=(a^i)-a|0;c:{if(c+(a>>>8|0)>>>0<=8190){g=T(a,c)+32768>>>16|0;break c}g=c&65535;g=T(g,a>>>16|0)+T(a,c>>>16|0)+(T(g,a&65535)+32768>>>16)|0}a=g;c=0;j=0-a|0;a=h>>31|1;a=(((i|0)<0?0-a|0:a)|0)<0?j:g;N[e+4>>2]=a;if((d|0)==1){break a}d=P[b+12>>1];if(d>>>0<=24){f=jb(f,d,25)}b=P[b+14>>1];if(b>>>0<=24){a=jb(a,b,25)}N[e+4>>2]=a+32&-64;N[e>>2]=f+32&-64}return c}function Lg(a,b,c,d,e){var f=0,g=0,h=U(0),i=0,j=0,k=U(0),l=0,m=0,n=0,o=0;f=O[a+2|0]|O[a+3|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){return U(0)}a:{if(e){l=(b<<2)+e|0;h=R[l>>2];if(h!=U(2)){break a}}f=O[a|0]|O[a+1|0]<<8;b:{c:{if(!f){h=U(1);break c}g=a;a=(f<<8|f>>>8)&65535;m=(g+T(T(a,b),6)|0)+4|0;n=a>>>0<=1?1:a;h=U(1);a=0;while(1){b=0;b=a>>>0>>0?N[(a<<2)+c>>2]:b;k=U(1);d:{f=T(a,6)+m|0;g=O[f|0]|O[f+1|0]<<8;j=(g<<8|g>>>8)<<16>>16;i=O[f+2|0]|O[f+3|0]<<8;g=(i<<8|i>>>8)<<16>>16;if((j|0)>(g|0)){break d}f=O[f+4|0]|O[f+5|0]<<8;f=(f<<8|f>>>8)<<16>>16;if((f|0)<(g|0)|!(i?(f|0)<=0|(j|0)>=0:1)){break d}if(!i|(b|0)==(g|0)){break d}if(!((b|0)<=(j|0)|(b|0)>=(f|0))){i=b-j|0;o=f-b|0;b=(b|0)<(g|0);k=U(U((b?i:o)|0)/U((b?g-j|0:f-g|0)|0));if(k!=U(0)){break d}}h=U(0);if(e){break b}break a}h=U(h*k);a=a+1|0;if((n|0)!=(a|0)){continue}break}}if(!e){break a}}R[l>>2]=h}return h}function wp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=N[a+2744>>2];l=i&4;f=64;a:{if(l){break a}f=(e|0)==1?55:49;if(!(!(L[b+12|0]&1)|!(L[c+12|0]&1))){break a}f=(e|0)==1?61:59}m=N[c+4>>2];n=N[b+4>>2];j=Eg(i,N[a+2748>>2],e,m-n|0);b:{c:{d:{e:{i=(((m+n|0)/2|0)+d|0)+((j|0)/-2|0)|0;a=i&63;f:{if(!a){break f}g=j+i&63;if(!g){break f}d=64-a|0;if((f|0)>=(j|0)){if((g|0)>=(j|0)){break f}if(d>>>0<=g>>>0){break c}h=0-g|0;break f}if(!l){if(a>>>0>=f>>>0|d>>>0>=f>>>0|(f>>>0<=g>>>0|f>>>0<=64-g>>>0)){break f}}k=j&63;if(k>>>0>31){break e}if(d>>>0<=k>>>0){break f}if(g>>>0>k>>>0){break d}}a=(h|0)<=-14?-14:h;break b}k=64-f|0}e=d-k|0;a=f-d|0;h=(a|0)>(e|0)?e:0-a|0;e=h>>31;d=f-g|0;a=g-k|0;d=(a|0)>(d|0)?d:0-a|0;a=d>>31;d=(e^h)-e>>>0>(a^d)-a>>>0?d:h}h=d;a=(d|0)<=-14?-14:d;a=(a|0)>=14?14:a}d=l?h:a;f=d+i|0;e=f+j|0;a=(m|0)>(n|0);N[b+8>>2]=a?f:e;N[c+8>>2]=a?e:f;return d}function ww(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;c=N[a>>2];a:{if(O[c+8|0]&2){if(!(Qa[N[N[c+540>>2]+104>>2]](c,b,g+12|0)|0)){Bm(a,N[g+12>>2]);break a}N[a+44>>2]=-1;c=N[a>>2]}re(c,b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}e=N[N[c+712>>2]+3080>>2];c=b+20|0;b=c+(d<<2)|0;while(1){d=N[c>>2];if(cb(N[N[d>>2]+8>>2],11971)){c=c+4|0;if(b>>>0>c>>>0){continue}break a}break}if(!e){break a}b=N[e>>2];if(!b){break a}d=Qa[b|0](d)|0;if(!d){break a}h=N[N[a>>2]+712>>2];e=N[h+1440>>2];i=N[N[a+40>>2]>>2];Qa[N[d+4>>2]](N[i>>2],N[a+16>>2],N[a+20>>2],0,0);c=N[h+2024>>2];if(!c){break a}while(1){b=N[a+16>>2];c=c-1|0;j=c<<2;f=N[N[(j+h|0)+2028>>2]+68>>2];b:{if((f|0)!=(e|0)){b=jb(b,e,f);f=jb(N[a+20>>2],e,f);break b}f=N[a+20>>2]}Qa[N[d+4>>2]](N[(i+j|0)+4>>2],b,f,0,0);if(c){continue}break}}La=g+16|0;return 0}function pD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;e=N[b+96>>2];f=N[e+72>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+52>>2]}else{e=0}g=Qa[f|0](b,g,c,d,e)|0;if(g){f=N[a+20>>2];a:{if(f){b=N[d>>2];c=N[f+28>>2];e=N[a+28>>2];if((c|0)!=(e|0)){b=UE(TE(e,e>>31,b,b>>31),Pa,c,c>>31)}N[d>>2]=b;b=N[d+4>>2];c=N[f+32>>2];e=N[a+32>>2];if((c|0)!=(e|0)){b=UE(TE(e,e>>31,b,b>>31),Pa,c,c>>31)}N[d+4>>2]=b;e=N[d+8>>2];b=N[f+28>>2];c=N[a+28>>2];if((b|0)!=(c|0)){e=UE(TE(c,c>>31,e,e>>31),Pa,b,b>>31)}b=d+12|0;N[d+8>>2]=e;c=N[d+12>>2];d=N[f+32>>2];a=N[a+32>>2];if((d|0)==(a|0)){break a}c=UE(TE(a,a>>31,c,c>>31),Pa,d,d>>31);break a}b=d+12|0;c=N[d+12>>2]}N[b>>2]=c}return g|0}function np(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=N[a>>2];if(f){g=N[(N[a+24>>2]+T(b,204)|0)+200>>2];b=g>>31;e=(b^g)-b|0;j=e&65535;k=e>>>16|0;l=e>>>8|0;a=N[a+8>>2];while(1){b=N[a+24>>2];if(b){i=N[a+16>>2];c=N[b+8>>2];a:{if(i&512){break a}c=N[b+12>>2]+N[b+8>>2]|0;if(i&1024){break a}c=N[a+28>>2]-N[b>>2]|0;if((c|0)<=0){h=N[b+8>>2];b=c>>31;b=(b^c)-b|0;b:{if(b+l>>>0<=8190){d=T(b,e)+32768>>>16|0;break b}d=b&65535;d=T(d,k)+T(b>>>16|0,e)+(T(d,j)+32768>>>16)|0}b=d;m=0-b|0;b=c>>31|1;c=h+((((g|0)<0?0-b|0:b)|0)<0?m:d)|0;break a}h=N[b+12>>2];d=N[b+8>>2];b=N[b+4>>2];if((b|0)<=(c|0)){d=d+h|0;b=c-b|0;c:{if(b+l>>>0<=8190){c=T(b,e)+32768>>>16|0;break c}c=b&65535;c=T(c,k)+T(b>>>16|0,e)+(T(c,j)+32768>>>16)|0}b=b>>31|1;c=d+((((g|0)<0?0-b|0:b)|0)<0?0-c|0:c)|0;break a}c=jb(c,h,b)+d|0}N[a+36>>2]=c;N[a+16>>2]=i|32}a=a+40|0;f=f-1|0;if(f){continue}break}}}function Ir(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{d:{a=b-44032|0;if(!(a>>>0>11171|c-4520>>>0>26)){if(((a&65535)>>>0)%28|0){break d}b=(b+c|0)-4519|0;break a}if(!(b-4352>>>0>18|c-4449>>>0>20)){b=(T(b,588)+T(c,28)|0)-2639516|0;break a}if((c&-128)!=768|b>>>0>2047){break d}a=c<<14&2080768|b<<21;b=637;c=0;while(1){e:{e=b+c>>>1|0;h=N[(e<<2)+228848>>2];g=h&-16384;f:{if(a>>>0>>0){b=e-1|0;break f}if(a>>>0<=g>>>0){break e}c=e+1|0}if((b|0)>=(c|0)){continue}break b}break}b=h&16383;break c}a=c>>>11|0;h=c<<21;e=b<<10|a;b=387;c=0;while(1){g:{g=b+c>>>1|0;f=(g<<3)+231408|0;a=N[f>>2];f=N[f+4>>2]&2147483647;i=a&-2097152;h:{if((f|0)==(e|0)&i>>>0>h>>>0|e>>>0>>0){b=g-1|0;break h}if((e|0)==(f|0)&h>>>0<=i>>>0|e>>>0>>0){break g}c=g+1|0}if((b|0)>=(c|0)){continue}break b}break}b=a&2097151}if(b){break a}}return 0}N[d>>2]=b;return 1}function Gp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=La-48|0;La=d;N[d+32>>2]=N[73412];c=N[73411];N[d+24>>2]=N[73410];N[d+28>>2]=c;c=N[73409];N[d+16>>2]=N[73408];N[d+20>>2]=c;a:{b=db(1,172);b:{if(!b){b=588184;break b}N[b+148>>2]=1073741823;N[b+152>>2]=536870911;N[b>>2]=1;N[b+4>>2]=1;c=Ic();c:{if(!c){break c}e=N[c>>2];if(!e){break c}if((e|0)<=0){break a}N[c>>2]=e+1}L[b+60|0]=1;N[b+24>>2]=65533;N[b+12>>2]=c}i=d+16|0;c=0;e=0;d:{while(1){i=De(i,a,b,d+12|0);e:{if(Q[d+12>>2]>1){break e}g=N[b+80>>2];h=N[b+68>>2];f:{g:{if(O[b+63|0]){break g}f=0;if(N[b+168>>2]){break f}N[b+84>>2]=g;N[b+72>>2]=0;M[b+62>>1]=256;f=T(h,20);if(!f){break g}G(N[b+88>>2],0,f)}f=N[b+88>>2]}if(!h|!N[g>>2]){break e}g=N[f>>2];h=c;c=1;if(!h){e=g;break e}if((e|0)==(g|0)){break e}c=0;break d}if(O[i|0]){continue}break}c=1}bc(b);L[a+32|0]=c;La=d+48|0;return}ba(23506,14099,260,16403);F()}function GC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=0,i=U(0);f=La-96|0;La=f;h=N[b+12>>2];a:{if(uc(h,c,N[b>>2]|8)){break a}b=N[h+84>>2];if(N[b+72>>2]!=1869968492){break a}c=N[69481];N[f+88>>2]=N[69480];N[f+92>>2]=c;c=N[69479];N[f+80>>2]=N[69478];N[f+84>>2]=c;c=N[69477];N[f+72>>2]=N[69476];N[f+76>>2]=c;g=R[a+40>>2];N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+60>>2]=0;a=f- -64|0;N[a>>2]=0;N[a+4>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+20>>2]=e;N[f+16>>2]=d;R[f+8>>2]=g;L[f+12|0]=g==U(0);Zh(b+108|0,f+72|0,f+8|0);if(!N[f+24>>2]){break a}b=f+24|0;c=N[f+20>>2];a=N[f+16>>2];i=R[f+28>>2];g=R[f+32>>2];if(!(i==R[f+36>>2]&g==R[f+40>>2])){e=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](a,c,b,i,g,d)}e=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](a,c,b,d)}La=f+96|0}function yB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=N[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){e=N[a>>2];c=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=P[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k;break c}if(!(N[e+28>>2]!=(f|0)|N[e+16>>2]>0)&(!(l&16)|N[a+8>>2]>(d-c|0))|!(N[f+28>>2]!=(e|0)|N[e+20>>2]!=(b|0))&(!(l&32)|N[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k}e=N[a>>2];c=g;c=(j|0)>=0?Q[a+96>>2]>j>>>e>>>0?j:i:c;d=((g|0)==(c|0)?i:g)>>e;if((d|0)<0|d>>>0>=Q[a+96>>2]){break b}if(O[(N[a+52>>2]+(b>>3)|0)-T(d,N[a+104>>2])|0]&128>>>(b&7)){break a}}c=c>>e;if((c|0)<0|c>>>0>=Q[a+96>>2]){break a}a=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[a|0]=O[a|0]|128>>>(b&7)}}function $e(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(a){d=M[a+56>>1];M[a+20>>1]=d+P[a+20>>1];b=P[a+22>>1];M[a+22>>1]=b+P[a+58>>1];h=N[a+48>>2]+N[a+84>>2]|0;N[a+48>>2]=h;a:{if((d|0)<=0){break a}g=N[a+68>>2];if(d>>>0>=4){j=d&-4;while(1){c=f<<1;e=c+g|0;M[e>>1]=b+P[e>>1];e=g+(c|2)|0;M[e>>1]=b+P[e>>1];e=g+(c|4)|0;M[e>>1]=b+P[e>>1];c=g+(c|6)|0;M[c>>1]=b+P[c>>1];f=f+4|0;if((j|0)!=(f|0)){continue}break}}d=d&3;if(!d){break a}while(1){c=g+(f<<1)|0;M[c>>1]=b+P[c>>1];f=f+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}N[a+84>>2]=0;N[a+56>>2]=0;b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;c=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[c>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;if(O[a+16|0]){b=M[a+22>>1]<<3;N[a+76>>2]=b+N[a+40>>2];N[a+80>>2]=b+N[a+44>>2]}b=a;a=N[a+52>>2];N[b+88>>2]=a?a+(h<<5)|0:0}}function nA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;N[a+8>>2]=d;N[a+4>>2]=b;M[a+64>>1]=256;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;g=N[b+32>>2];f=b- -64|0;N[f>>2]=N[b+28>>2];N[f+4>>2]=g;N[b+88>>2]=N[b+52>>2];f=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=f;f=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=f;f=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=f;N[a+68>>2]=0;N[a+72>>2]=0;if(!c|!e){break a}b=N[N[c+40>>2]>>2];if(!b){break a}N[a+72>>2]=N[b>>2];N[a+68>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73600];N[a+76>>2]=N[73599];N[a+80>>2]=b;b=N[73602];N[a+84>>2]=N[73601];N[a+88>>2]=b;b=N[73604];N[a+92>>2]=N[73603];N[a+96>>2]=b;b=N[73606];N[a+100>>2]=N[73605];N[a+104>>2]=b}function Io(a,b){var c=0,d=0;a:{b:{if(a>>>0>=b>>>0){break b}c=1;b=(b-a|0)+1|0;c:{d:{e:{f:{g:{h:{i:{d=L[a|0];switch(d-75|0){case 0:case 32:break c;case 27:break g;case 34:break h;case 41:break i;default:break b}}if(b>>>0<2){break b}if((d|0)==116){break f}break b}if(b>>>0<5){break b}if(!bb(a,15447,4)){break e}break b}if(b>>>0<4){break b}j:{if(bb(a,16930,3)){break j}k:{d=O[a+3|0];switch(d-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break j;case 0:case 8:break c;default:break k}}if((d|0)==9){break c}}if(b>>>0<5){break b}if(!bb(a,16398,4)){break d}break b}c=0;a=O[a+1|0];if(a>>>0>=41){break c}break a}c=0;a=O[a+4|0];if(a>>>0>=41){break c}break a}c=0;b=O[a+4|0];if(b>>>0>=41){break c}a=b&31;c=((b&63)>>>0>=32?257>>>a|0:((1<>>a)&1}return c}return 0}b=a&31;return((a&63)>>>0>=32?257>>>b|0:((1<>>b)&1}function DE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=db(1,8);a:{if(d){c=N[a+44>>2];b=0;b:{if((c|0)<=0){break b}e=N[a+48>>2];b=c-1|0;c:{while(1){c=b+f>>>1|0;g=N[T(c,36)+e>>2];d:{if(g>>>0>=1919969383){b=c-1|0;break d}if((g|0)==1919969382){break c}f=c+1|0}if((b|0)>=(f|0)){continue}break}b=0;break b}b=N[(T(c,36)+e|0)+28>>2]}N[d>>2]=b;b=N[a+4>>2];e:{if((b|0)<=1333094257){if((b|0)<=1298230883){if((b|0)==1097100397|(b|0)==1098015074|(b|0)==1130918515){break e}break a}f:{switch(b-1298230884|0){case 1:case 2:case 3:case 4:break a;case 0:case 5:break e;default:break f}}if((b|0)==1299148391|(b|0)==1315663727){break e}break a}if((b|0)<=1383032934){if((b|0)==1333094258|(b|0)==1349017959|(b|0)==1349020784){break e}break a}if((b|0)==1383032935|(b|0)==1400468067){break e}if((b|0)!=1399809892){break a}}a=Bj(a);N[d+4>>2]=a;if(a){break a}_a(d)}d=0}return d|0}function Qg(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=N[a+12>>2];if(!(b&1)){return 0}c=b&-2;b=c+8|0;b=b?32-W(b)|0:0;e=12<>2]=c;return 0}if(b>>>0<=29){c=e-12|0;G(d,0,(c-((c>>>0)%12|0)|0)+12|0)}N[a+12>>2]=1;N[a+16>>2]=0;c=N[a+20>>2];N[a+20>>2]=-1<>>0>31?2147483647:N[(b<<2)+265696>>2];e=N[a+28>>2];N[a+28>>2]=d;N[a+24>>2]=b;if(c>>>0>=2){g=c>>>0<=1?1:c;c=0;while(1){d=e+T(c,12)|0;b=N[d+4>>2];a:{if(!(L[a+12|0]&1)|(b&-1073741824)!=1073741824){break a}f=N[a+16>>2];if(Q[a+20>>2]<=(f>>>1|0)+f>>>0){if(!Qg(a)){break a}}f=b&1073741823;b=Af(a,N[d>>2],f);b:{if(!(O[b+7|0]&64)){break b}N[a+16>>2]=N[a+16>>2]-1;if(N[b+4>>2]<0){break b}N[a+12>>2]=N[a+12>>2]-2}N[b>>2]=N[d>>2];d=N[d+8>>2];N[b+4>>2]=f|1073741824;N[b+8>>2]=d;N[a+16>>2]=N[a+16>>2]+1;N[a+12>>2]=N[a+12>>2]+2}c=c+1|0;if((g|0)!=(c|0)){continue}break}}_a(e);return 1}function Wr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=N[a+16>>2];i=a+518|0;j=a+6|0;while(1){b:{e=d>>>0>255;c:{d:{e:{if(!e){c=(d<<1&510)+j|0;a=i;if(!(O[c|0]<<8|O[c+1|0])){break e}break d}a=(d>>>7&33554430)+j|0;a=O[a|0]<<8|O[a+1|0]&248;if(!a){break d}a=a+i|0}c=a;a=O[c+1|0]|O[c|0]<<8;g=O[c+3|0]|O[c+2|0]<<8;f=d&255;h=O[c+6|0];k=O[c+7|0];l=O[c+4|0];m=O[c+5|0];if(!e){e=256;if(f>>>0>=a+g>>>0){break c}}h=h<<8|k;if(!h){if((d|0)!=256){break d}break b}e=(d&-256)+(a>>>0>>0?f:a)|0;a=f-a|0;a=a>>>0<=f>>>0?a:0;if(g>>>0>a>>>0){f=l<<8|m;d=c+6+((a<<1)+h)|0;while(1){c=O[d+1|0]|O[d|0]<<8;if(c){c=c+f&65535;if(c){break a}}d=d+2|0;e=e+1|0;a=a+1|0;if(g>>>0>a>>>0){continue}break}}d=e-((g|0)!=0)|0}e=d>>>0<256?d+1|0:(d&-256)+256|0}d=e;if(d>>>0<65536){continue}}break}e=0;c=0}N[b>>2]=e;return c|0}function Rc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{d=N[a+68>>2];i=c>>>0>d>>>0?d:c;j=i-b|0;if(j>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=i>>>0){break a}h=N[a+80>>2];c=-1;d=b;l=(d^-1)+i|0;if(l>>>0>=3){k=j&-4;while(1){e=T(d,20)+h|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;m=m+4|0;if((k|0)!=(m|0)){continue}break}}k=j&3;if(k){e=0;while(1){f=N[(T(d,20)+h|0)+8>>2];c=c>>>0>>0?c:f;d=d+1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(j&1){d=T(b,20)+h|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}b=b+1|0}if(!l){break a}while(1){d=T(b,20)+h|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=T(b+1|0,20)+h|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}b=b+2|0;if((i|0)!=(b|0)){continue}break}}}function qq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-48|0;La=h;N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+60>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+40>>2]}else{e=0}a:{if(Qa[f|0](a,g,b,c,d,e)|0){break a}N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+56>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+36>>2]}else{e=0}if(!(Qa[f|0](a,g,b,c,d,e)|0)){break a}e=N[a+96>>2];f=N[e+40>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}f=Qa[f|0](a,g,b,e)|0;b=h;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;e=N[a+96>>2];g=N[e+20>>2];f=(f|0)/2|0;j=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e>>2]}else{e=0}b:{if(Qa[g|0](a,j,b,e)|0){a=N[h>>2];break b}i=+N[a+32>>2]*.8;if(V(i)<2147483648){a=~~i;break b}a=-2147483648}N[c>>2]=f+N[c>>2];N[d>>2]=a+N[d>>2]}La=h+48|0}function Id(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-48|0;La=h;N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+56>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+36>>2]}else{e=0}a:{if(Qa[f|0](a,g,b,c,d,e)|0){break a}N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+60>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+40>>2]}else{e=0}if(!(Qa[f|0](a,g,b,c,d,e)|0)){break a}e=N[a+96>>2];f=N[e+40>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}f=Qa[f|0](a,g,b,e)|0;b=h;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;e=N[a+96>>2];g=N[e+20>>2];f=(f|0)/-2|0;j=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e>>2]}else{e=0}b:{if(Qa[g|0](a,j,b,e)|0){a=N[h>>2];break b}i=+N[a+32>>2]*.8;if(V(i)<2147483648){a=~~i;break b}a=-2147483648}N[c>>2]=f+N[c>>2];N[d>>2]=N[d>>2]-a}La=h+48|0}function Jk(a,b){var c=0,d=0,e=0,f=0,g=0;g=1;e=P[b+12>>1];f=N[a+8>>2];a:{if(e&f&14){break a}b:{if(!(e&8)){break b}if(f&16){e=275552;c=N[N[a+4>>2]+104>>2];d=O[c+1|0]<<8;c:{if((O[c|0]|d)!=256){break c}d=d|O[c|0]|(O[c+2|0]<<16|O[c+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<65538){break c}d=O[c+12|0]|O[c+13|0]<<8;if(!d){break c}e=c+((d<<8|d>>>8)&65535)|0}if((O[e|0]|O[e+1|0]<<8)!=256){break a}c=275552;f=f>>>16|0;d=O[e+2|0]|O[e+3|0]<<8;if(f>>>0<((d<<8|d>>>8)&65535)>>>0){c=((f<<2)+e|0)+4|0}f=N[b>>2];c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0}else{c=275552}if((vb(c,f)|0)==-1){break a}e=P[b+12>>1];break b}c=f&65280;if(!c){break b}if((c|0)!=(e&65280)){break a}}g=0;b=P[b+16>>1];if(e&16|(b&96)!=32|!O[a+16|0]&(b&543)==513){break a}g=(b&287)!=257?2:O[a+17|0]<<1}return g}function Kh(a,b,c){a:{switch(c-1|0){case 0:N[b>>2]=N[a+4>>2];return;case 1:N[b>>2]=N[a+4>>2]+N[a+12>>2];N[b+4>>2]=N[a+8>>2]+N[a+12>>2];return;case 2:N[b>>2]=N[a+4>>2]+(N[a+12>>2]+(N[a+20>>2]+N[a+28>>2]|0)|0);N[b+4>>2]=N[a+8>>2]+(N[a+12>>2]+(N[a+24>>2]+N[a+28>>2]|0)|0);N[b+8>>2]=N[a+16>>2]+(N[a+20>>2]+(N[a+24>>2]+N[a+28>>2]|0)|0);return;default:break a}}N[b>>2]=N[a+4>>2]+(N[a+12>>2]+(N[a+20>>2]+(N[a+28>>2]+(N[a+36>>2]+(N[a+44>>2]+(N[a+52>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+4>>2]=N[a+8>>2]+(N[a+12>>2]+(N[a+24>>2]+(N[a+28>>2]+(N[a+40>>2]+(N[a+44>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+8>>2]=N[a+16>>2]+(N[a+20>>2]+(N[a+24>>2]+(N[a+28>>2]+(N[a+48>>2]+(N[a+52>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+12>>2]=N[a+32>>2]+(N[a+36>>2]+(N[a+40>>2]+(N[a+44>>2]+(N[a+48>>2]+(N[a+52>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0)}function Oj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=La-32|0;La=g;d=O[a|0]|O[a+1|0]<<8;a:{if(d){j=(d<<8|d>>>8)&65535;i=a+2|0;while(1){l=N[c+16>>2];m=N[c+4>>2];d=O[i|0]|O[i+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}f=O[d|0]|O[d+1|0]<<8;e=(((f<<8|f>>>8)&65535)<<1)+d|0;d=O[e+2|0]|O[e+3|0]<<8;h=(d<<8|d>>>8)&65535;d=(e+2|0)+(d?h<<1:2)|0;b:{if(N[b+12>>2]!=(h|0)|(O[b+16|0]?f|(O[d|0]|O[d+1|0]<<8):0)){break b}if(h>>>0<2){f=1;break a}N[g+12>>2]=N[N[b+8>>2]+4>>2];f=1;d=1;k=e+4|0;e=O[k|0]|O[k+1|0]<<8;if(!(Qa[m|0](g+12|0,(e<<8|e>>>8)&65535,l)|0)){break b}while(1){e=d+1|0;if((e|0)==(h|0)){break a}N[g+12>>2]=N[N[b+8>>2]+(e<<2)>>2];n=d<<1;d=e;e=k+n|0;e=O[e|0]|O[e+1|0]<<8;if(Qa[m|0](g+12|0,(e<<8|e>>>8)&65535,l)|0){continue}break}if(d>>>0>=h>>>0){break a}}i=i+2|0;j=j-1|0;if(j){continue}break}}f=0}La=g+32|0;return f}function Nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=O[a+2|0]|O[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=275552}e=N[b+96>>2];c=vb(c,N[N[e+80>>2]+T(N[e+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=275552;f=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}a=O[e|0]|O[e+1|0]<<8;if(!a){break a}f=(a<<8|a>>>8)&65535;c=e+2|0;while(1){a=O[c|0]|O[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;h=(d<<8|d>>>8)&65535;i=a+2|0;a=(h<<1)+i|0;d=O[a|0]|O[a+1|0]<<8;j=(d<<8|d>>>8)&65535;d=(d?j<<1:2)+a|0;g=O[d|0]|O[d+1|0]<<8;k=(g<<8|g>>>8)&65535;l=d+2|0;d=(k<<1)+l|0;g=O[d|0]|O[d+1|0]<<8;d=Lf(b,h,i,j,a+2|0,k,l,(g<<8|g>>>8)&65535,d+2|0,238152);if(d){break a}c=c+2|0;f=f-1|0;if(f){continue}break}}return d|0}function qj(a){var b=0,c=0;c=3584;a:{b:{c:{switch(a>>>12|0){case 0:if((a|0)==160){c=1034;break a}b=a-40|0;if(b>>>0<24){break b}if(a-176>>>0<=39){b=a-152|0;break b}if(a-2304>>>0>1151){break a}b=a-2240|0;break b;case 1:if(a-4096>>>0<=159){b=a-2880|0;break b}if(a-6016>>>0<=111){b=a-4640|0;break b}if(a-7376>>>0>47){break a}b=a-5888|0;break b;case 2:if((a|0)==9676){c=1035;break a}if(a-8200>>>0<=31){b=a-6664|0;break b}if(a-8304>>>0<=23){b=a-6736|0;break b}if((a&-8)!=9720){break a}b=a-8128|0;break b;case 10:b=a&-32;if((b|0)!=43616){if((b|0)!=43488){if((b|0)!=43232){break a}b=a-41632|0;break b}b=a-41856|0;break b}b=a-41952|0;break b;case 15:if((a&-16)!=65024){break a}b=a-63328|0;break b;case 17:break c;default:break a}}b=a&-8;if((b|0)!=70456){if((b|0)!=70400){break a}b=a-68688|0;break b}b=a-68736|0}c=P[(b<<1)+253616>>1]}return c}function nh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if((c|0)<0){break b}e=c<<1;if(e){if(Q[b+4>>2]>a>>>0){break b}g=N[b+8>>2];if(g>>>0>>0|e>>>0>g-a>>>0){break b}e=N[b+12>>2]-e|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!c){return 1}j=N[b+4>>2];while(1){e=(i<<1)+a|0;if(e>>>0>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-e>>>0<2){break a}f=N[b+12>>2];h=f-2|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[e|0]|O[e+1|0]<<8;e=((e<<8|e>>>8)&65535)+d|0;if(e>>>0>>0|e>>>0>g>>>0|g-e>>>0<4){break a}h=f-6|0;N[b+12>>2]=h;if((h|0)<=0){break a}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>1073741823){break a}c:{f=f<<2;if(!f){break c}e=e+4|0;if(e>>>0>g>>>0|f>>>0>g-e>>>0){break a}e=h-f|0;N[b+12>>2]=e;if((e|0)>0){break c}break a}f=1;i=i+1|0;if((i|0)!=(c|0)){continue}break}}return f}return 0}function ci(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=gd(g,c,18461);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=df(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Qd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function bi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=gd(g,c,24775);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=df(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Qd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function ai(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=gd(g,c,22033);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=df(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Qd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function Yi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=N[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}d=N[b+12>>2];e=d-4|0;N[b+12>>2]=e;if((O[a|0]|O[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<16){break a}d=d-20|0;N[b+12>>2]=d;if((O[a+10|0]|O[a+11|0]<<8)!=5120|(d|0)<=0){break a}c=O[a+14|0]|O[a+15|0]<<8;j=(c<<8|c>>>8)&65535;h=O[a+8|0]|O[a+9|0]<<8;g=(h<<8|h>>>8)&65535;if(j>>>0<(g<<2)+4>>>0){break a}e=O[a+4|0]|O[a+5|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=275552}g=T(g,20);if(h){if(c>>>0>>0|c>>>0>f>>>0|g>>>0>f-c>>>0){break a}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}}c=O[a+12|0]|O[a+13|0]<<8;h=(c<<8|c>>>8)&65535;a=c?g+(e?((e<<8|e>>>8)&65535)+a|0:275552)|0:0;c=T(h,j);if(!c){return 1}if(a>>>0>>0|a>>>0>f>>>0|c>>>0>f-a>>>0){break a}a=d-c|0;N[b+12>>2]=a;k=(a|0)>0}return k}function Lb(a,b){var c=0,d=0,e=0,f=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=N[b+12>>2];f=e-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=O[a|0]|O[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=T((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function Ql(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;L[e+14|0]=0;c=N[a+8>>2];a:{b:{d=N[a+20>>2];c:{if(d){f=e+14|0;if((Qa[d|0](a,c,f,1)|0)!=1){break b}c=N[a+8>>2];break c}if(Q[a+4>>2]<=c>>>0){break b}f=N[a>>2]+c|0}d=L[f|0];c=c+1|0;N[a+8>>2]=c;if((d|0)==-128){c=8;break a}g=b;f=d&127;b=f;d:{if((d|0)>=0){break d}N[e+8>>2]=0;L[e+15|0]=0;d=N[a+20>>2];e:{if(d){b=e+15|0;if((Qa[d|0](a,c,b,1)|0)!=1){break b}c=N[a+8>>2];break e}if(Q[a+4>>2]<=c>>>0){break b}b=N[a>>2]+c|0}d=L[b|0];N[a+8>>2]=c+1;b=d&127|f<<7;if((d|0)>=0){break d}d=Od(a,e+8|0);c=N[e+8>>2];if(c){break a}b=d&127|b<<7;if((d|0)>=0){break d}d=Od(a,e+8|0);c=N[e+8>>2];if(c){break a}b=d&127|b<<7;if((d|0)>=0){break d}a=Od(a,e+8|0);c=N[e+8>>2];if(c){break a}if(b>>>0>33554431){c=8;break a}c=8;if((a|0)<0){break a}b=a&127|b<<7}N[g>>2]=b;c=0;break a}c=85}La=e+16|0;return c}function QA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;L[a+68|0]=1;N[a+64>>2]=0;N[a+8>>2]=d;N[a+4>>2]=b;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;g=N[b+32>>2];f=b- -64|0;N[f>>2]=N[b+28>>2];N[f+4>>2]=g;N[b+88>>2]=N[b+52>>2];f=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=f;f=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=f;f=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=f;b=N[N[c+40>>2]>>2];N[a+72>>2]=0;N[a+76>>2]=b;if(!e){break a}N[a+72>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73541];N[a+80>>2]=N[73540];N[a+84>>2]=b;b=N[73543];N[a+88>>2]=N[73542];N[a+92>>2]=b;b=N[73545];N[a+96>>2]=N[73544];N[a+100>>2]=b;b=N[73547];N[a+104>>2]=N[73546];N[a+108>>2]=b}function iC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=La-16|0;La=e;d=N[a+16>>2];f=N[a+12>>2];a:{b:{if(!cb(b,12311)){b=N[c>>2];if(!b){d=35;break a}d=N[b+116>>2];N[e+8>>2]=d;if(!d){d=Cg(b,e+8|0,a);if(d){break a}d=N[e+8>>2];N[b+116>>2]=d;N[b+120>>2]=313}N[c+4>>2]=N[d+8>>2];break b}if(!cb(b,8894)){N[c>>2]=N[N[(f<<2)+288960>>2]+8>>2];break b}if(!cb(b,8879)){N[c>>2]=d;break b}if(!cb(b,9447)){b=N[c>>2];if(!b){d=35;break a}d=N[b+116>>2];N[e+12>>2]=d;if(!d){d=Cg(b,e+12|0,a);if(d){break a}d=N[e+12>>2];N[b+116>>2]=d;N[b+120>>2]=313}N[c+4>>2]=N[d+20>>2];break b}if(!cb(b,10437)){N[c>>2]=N[a+24>>2];N[c+4>>2]=N[a+28>>2];N[c+8>>2]=N[a+32>>2];N[c+12>>2]=N[a+36>>2];N[c+16>>2]=N[a+40>>2];N[c+20>>2]=N[a+44>>2];N[c+24>>2]=N[a+48>>2];N[c+28>>2]=N[a+52>>2];break b}d=12;if(cb(b,14683)){break a}L[c|0]=O[a+20|0]}d=0}La=e+16|0;return d|0}function DC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=U(0),g=0,h=U(0),i=U(0),j=U(0),k=U(0),l=U(0),m=U(0),n=U(0);e=c+16|0;g=N[c+12>>2];d=N[c+8>>2];h=U(N[b+4>>2]);f=U(N[b>>2]);j=U(N[a+4>>2]);k=U(N[a>>2]);a:{if(O[c+4|0]){if(!N[e>>2]){b=N[d+12>>2];l=R[c+28>>2];i=R[c+32>>2];a=N[d+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[b|0](d,g,e,l,i,a);N[c+16>>2]=1;a=N[c+32>>2];N[c+20>>2]=N[c+28>>2];N[c+24>>2]=a}b=N[d+20>>2];a=N[d+32>>2];if(!a){Qa[b|0](d,g,e,k,j,f,h,0);break a}Qa[b|0](d,g,e,k,j,f,h,N[a+8>>2]);break a}m=R[c>>2];n=U(h*m);if(!N[c+16>>2]){b=N[d+12>>2];l=R[c+28>>2];i=R[c+32>>2];a=N[d+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[b|0](d,g,e,l,i,a);N[c+16>>2]=1;a=N[c+32>>2];N[c+20>>2]=N[c+28>>2];N[c+24>>2]=a}b=N[d+20>>2];i=U(U(j*m)+k);f=U(n+f);a=N[d+32>>2];if(a){a=N[a+8>>2]}else{a=0}Qa[b|0](d,g,e,i,j,f,h,a)}R[c+32>>2]=h;R[c+28>>2]=f;return 0}function js(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=N[b>>2];if((d|0)==-1){return 0}e=N[a+16>>2];c=O[e+8204|0]|O[e+8205|0]<<8|(O[e+8206|0]<<16|O[e+8207|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{b:{if(!f){break b}k=N[a>>2];a=d+1|0;d=e+8208|0;while(1){e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);a=a>>>0>h>>>0?a:h;c=O[d+7|0];g=O[d+5|0]<<16|O[d+4|0]<<24|O[d+6|0]<<8;i=c|g;c:{if(a>>>0>i>>>0){break c}e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);j=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=(g|1)+c|0;d:{while(1){c=a-h|0;if((c^-1)>>>0>>0){break c}c=c+j|0;if(c){break d}c=a+1|0;if(!c){break b}g=a>>>0>>0;a=c;if(g){continue}break}a=e;break c}if(Q[k+16>>2]>c>>>0){break a}}d=d+12|0;f=f-1|0;if(f){continue}break}}c=0;a=0}N[b>>2]=a;return c|0}function CB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=N[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){d=N[a>>2];c=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=P[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k;break c}if(!(N[e+28>>2]!=(f|0)|N[e+16>>2]>0)&(!(l&16)|N[a+8>>2]>(d-c|0))|!(N[f+28>>2]!=(e|0)|N[e+20>>2]!=(b|0))&(!(l&32)|N[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k}d=N[a>>2];c=g;c=(j|0)>=0?P[a+50>>1]>j>>>d>>>0?j:i:c;b=((g|0)==(c|0)?i:g)>>d;if((b|0)<0|b>>>0>=P[a+50>>1]){break b}if(O[N[a+56>>2]+(b>>>3|0)|0]<<(b&7)&128){break a}}b=c>>d;if((b|0)<0|b>>>0>=P[a+50>>1]){break a}a=N[a+56>>2]+(b>>>3&65535)|0;L[a|0]=O[a|0]|128>>>(b&7)}}function ap(a,b){var c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];N[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){e=0;c:{d:{e:{f:{g:{h:{g=O[c|0];switch(g-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break e;case 23:break f;case 3:break g;default:break h}}i:{switch(g-123|0){case 0:f=f+1|0;break d;case 2:break i;default:break c}}f=f-1|0;if(f){break c}c=c+1|0;break b}e=Ni(d+12|0,b);break c}e=$o(d+12|0,b);break c}e=37;j:{while(1){k:{switch((e&255)-10|0){case 0:case 3:break j;default:break k}}c=c+1|0;if((c|0)!=(b|0)){e=O[c|0];continue}break}c=b}N[d+12>>2]=c}e=0}c=N[d+12>>2]+1|0;N[d+12>>2]=c;if(!e&b>>>0>c>>>0){continue}break}b=3;if(f){break a}}b=e}N[a>>2]=c;La=d+16|0;return b}function Jj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=O[b+2|0]|O[b+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+b|0}else{c=275552}e=N[a+96>>2];c=vb(c,N[N[e+80>>2]+T(N[e+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=275552;f=O[b+4|0]|O[b+5|0]<<8;c=c>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((c<<1)+b|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+b|0}b=O[e|0]|O[e+1|0]<<8;if(!b){break a}f=(b<<8|b>>>8)&65535;c=e+2|0;while(1){b=O[c|0]|O[c+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+e|0}else{b=275552}d=O[b|0]|O[b+1|0]<<8;h=(d<<8|d>>>8)&65535;i=b+2|0;b=(h<<1)+i|0;d=O[b|0]|O[b+1|0]<<8;j=(d<<8|d>>>8)&65535;d=(d?j<<1:2)+b|0;g=O[d|0]|O[d+1|0]<<8;k=(g<<8|g>>>8)&65535;l=d+2|0;d=(k<<1)+l|0;g=O[d|0]|O[d+1|0]<<8;d=Lf(a,h,i,j,b+2|0,k,l,(g<<8|g>>>8)&65535,d+2|0,238152);if(d){break a}c=c+2|0;f=f-1|0;if(f){continue}break}}return d}function RA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;N[a>>2]=0;N[a+4>>2]=0;N[a+56>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=N[b>>2];a:{if(c){N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];d=b+68|0;e=b+48|0;g=b+40|0;h=b+32|0;i=b+28|0;j=b+24|0;k=b+70|0;f=b+69|0;break a}N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];d=b+65|0;e=b+48|0;g=b+40|0;h=b+32|0;i=b+28|0;j=b+24|0;l=O[b+64|0];k=b+67|0;f=b+66|0}m=N[b+16>>2];n=N[b+12>>2];b=N[b+20>>2];N[a+40>>2]=e;N[a+36>>2]=g;N[a+32>>2]=h;N[a+28>>2]=i;N[a+24>>2]=j;N[a+20>>2]=b;N[a+12>>2]=n;N[a+16>>2]=m;b=O[d|0];f=O[f|0];d=O[k|0];e=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=e;L[a+48|0]=c;L[a+47|0]=d;L[a+46|0]=f;L[a+45|0]=b;L[a+44|0]=l}function hr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=O[a+15|0];a:{if((d|0)!=255){break a}f=N[a>>2];d=0;b:{c:{d:{e:{e=O[c|0]|O[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}d=f;f=O[c+2|0]|O[c+3|0]<<8;f=d-((f<<8|f>>>8)&65535)|0;e=O[c+4|0]|O[c+5|0]<<8;d=275552;if(f>>>0>=((e<<8|e>>>8)&65535)>>>0){break c}d=((f<<1)+c|0)+6|0;break c}h=241305;d=O[c+2|0]|O[c+3|0]<<8;f:{if(!d){break f}i=c+4|0;d=((d<<8|d>>>8)&65535)-1|0;c=0;while(1){e=c+d>>>1|0;g=T(e,6)+i|0;j=O[g|0]|O[g+1|0]<<8;g:{if(f>>>0>=((j<<8|j>>>8)&65535)>>>0){c=O[g+2|0]|O[g+3|0]<<8;if(f>>>0>((c<<8|c>>>8)&65535)>>>0){c=e+1|0;break g}h=T(e,6)+i|0;break f}d=e-1|0}if((c|0)<=(d|0)){continue}break}}d=h+4|0}c=O[d|0]|O[d+1|0]<<8;d=(c<<8|c>>>8)&65535;if(d>>>0>254){break a}}L[a+15|0]=d}return(b|0)==(d|0)|0}function ve(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=N[a>>2];c=N[f+24>>2];a:{if((c|0)<=0){break a}while(1){b=N[f+32>>2]+T(e,56)|0;if(N[b+48>>2]==(a|0)){Co(b);d=N[N[b+48>>2]+16>>2];if(d){Qa[d|0](N[b+52>>2])}N[b+48>>2]=0;c=N[f+24>>2]}e=e+1|0;if((e|0)<(c|0)){continue}break}e=0;if((c|0)<=0){break a}while(1){b=N[f+32>>2];d=b+T(e,56)|0;if(N[d+48>>2]){if((e|0)!=(g|0)){c=T(g,56)+b|0;b=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=b;b=N[d+52>>2];N[c+48>>2]=N[d+48>>2];N[c+52>>2]=b;b=N[d+44>>2];N[c+40>>2]=N[d+40>>2];N[c+44>>2]=b;b=N[d+36>>2];N[c+32>>2]=N[d+32>>2];N[c+36>>2]=b;b=N[d+28>>2];N[c+24>>2]=N[d+24>>2];N[c+28>>2]=b;b=N[d+20>>2];N[c+16>>2]=N[d+16>>2];N[c+20>>2]=b;b=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=b;c=N[f+24>>2]}g=g+1|0}e=e+1|0;if((e|0)<(c|0)){continue}break}}N[f+24>>2]=g;d=N[a+20>>2];if(d){Qa[d|0](N[a+40>>2])}_a(a)}function wi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{l=N[a+20>>2];if(!l){break a}c=N[b+20>>2];if(!c){break a}d=N[b+4>>2];f=d+N[b+12>>2]|0;h=N[a+4>>2];g=h+N[a+12>>2]|0;j=(d|0)>(h|0)?d:h;n=((f|0)<(g|0)?f:g)-j|0;if((n|0)<=0){break a}k=N[b+16>>2];f=N[b>>2];e=k+f|0;o=N[a+16>>2];g=N[a>>2];i=o+g|0;m=(e|0)<(i|0)?e:i;e=(f|0)>(g|0)?f:g;i=m-e|0;if((i|0)<=0){break a}h=l+T(j-h|0,o)+(e-g)|0;f=c+T(j-d|0,k)+(e-f)|0;j=i&-2;i=i&1;l=(e+1|0)==(m|0);g=0;while(1){d=0;if(!l){while(1){c=d+f|0;e=O[c|0];m=c;c=O[d+h|0];L[m|0]=e>>>0>c>>>0?e-(c>>>1|0)|0:0;c=d|1;k=c+f|0;e=O[k|0];c=O[c+h|0];L[k|0]=e>>>0>c>>>0?e-(c>>>1|0)|0:0;d=d+2|0;if((j|0)!=(d|0)){continue}break}}if(i){c=d+f|0;e=O[c|0];d=O[d+h|0];L[c|0]=e>>>0>d>>>0?e-(d>>>1|0)|0:0}f=N[b+16>>2]+f|0;h=N[a+16>>2]+h|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}}function UC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[b+12>>2];a:{b:{c:{if(!f){break c}e=N[f+92>>2];if(!e){break c}e=Qa[N[N[e+12>>2]+12>>2]](e,c)|0;if(e>>>0>=Q[f+16>>2]){break c}if(e){break b}}f=0;if(!O[b+4|0]){break a}a=Sc(N[a+24>>2]+72|0);a=(O[a|0]|O[a+1|0]<<8?0:(O[a+62|0]|O[a+63|0]<<8)<<8)&65280;d:{if((a|0)!=45824){if((a|0)!=45568){if(c>>>0>255|a){break a}a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c+61440|0)|0;if(e>>>0>2]){break d}break a}c=Pp(c);a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c)|0;if(e>>>0>2]){break d}break a}c=Op(c);a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c)|0;if(e>>>0>=Q[a+16>>2]){break a}}if(!e){break a}}N[d>>2]=e;f=1}return f|0}function Fb(a,b,c){var d=0,e=0,f=0,g=0;a:{d=N[a+4>>2];if(d){g=N[b>>2];f=g>>31;b:{if((f^g)-f>>>0>268435455){break b}g=N[b+4>>2];f=g>>31;if((f^g)-f>>>0>268435455){break b}e=N[a>>2];c:{if(d>>>0>e>>>0){d=N[a+16>>2];break c}N[147316]=0;e=N[a+16>>2];d:{f=d<<1;if(f>>>0<=536870911){d=d<<4;d=$a(e,d>>>0<=1?1:d);if(d){break d}}N[147316]=48;N[a+16>>2]=e;return 0}N[147316]=0;N[a+4>>2]=f;N[a+16>>2]=d;e=N[a>>2]}e=(e<<3)+d|0;d=N[b+4>>2];N[e>>2]=N[b>>2];N[e+4>>2]=d;e=1;N[a>>2]=N[a>>2]+1;if(!c){break b}b=N[a+12>>2];if(!b){break a}e=N[a+8>>2];e:{if(b>>>0>e>>>0){d=N[a+20>>2];break e}e=0;N[147316]=0;d=N[a+20>>2];f=b<<1;b=$a(d,f>>>0<=1?1:f);N[147316]=b?0:48;d=b?b:d;N[a+20>>2]=d;if(!b){break b}N[a+12>>2]=f;e=N[a+8>>2]}L[d+e|0]=c;e=1;N[a+8>>2]=N[a+8>>2]+1}return e}ba(9920,18249,281,9160);F()}ba(10167,18249,303,9289);F()}function Cj(a){var b=0,c=0;a:{if(a>>>0<=65535){b:{c:{d:{e:{f:{g:{h:{i:{j:{b=a>>>8|0;switch(b|0){case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break a;case 0:break i;case 32:break d;case 24:break e;case 23:break f;case 6:break g;case 3:break h;default:break j}}switch(b-254|0){case 1:break b;case 0:break c;default:break a}}return(a|0)==173}return(a|0)==847}return(a|0)==1564}return(a&-2)==6068}return a-6155>>>0<4}c=1;if(a-8203>>>0<5){break a}return(a&-16)==8288|a-8234>>>0<5}return(a|0)==65279|(a&-16)==65024}return a-65520>>>0<9}k:{b=(a>>>16|0)-1|0;if(b){if((b|0)==13){break k}else{break a}}return a-119155>>>0<8}c=(a&-4096)==917504}return c}function pd(a,b,c){var d=0,e=0,f=0,g=0,h=U(0),i=U(0),j=0,k=U(0),l=U(0),m=U(0);f=N[a+8>>2];if(f){c=S[f+8>>3]+c;b=S[f>>3]+b}e=N[a+4>>2];f=e+16|0;a=N[a>>2];i=U(R[a+48>>2]*U(c));h=U(R[a+44>>2]*U(b));j=N[e+12>>2];a=N[e+8>>2];a:{if(O[e+4|0]){if(!N[f>>2]){g=N[a+12>>2];k=R[e+28>>2];l=R[e+32>>2];d=N[a+32>>2];if(d){d=N[d>>2]}else{d=0}Qa[g|0](a,j,f,k,l,d);N[e+16>>2]=1;d=N[e+32>>2];N[e+20>>2]=N[e+28>>2];N[e+24>>2]=d}d=N[a+16>>2];g=N[a+32>>2];if(!g){Qa[d|0](a,j,f,h,i,0);break a}Qa[d|0](a,j,f,h,i,N[g+4>>2]);break a}k=U(i*R[e>>2]);if(!N[e+16>>2]){g=N[a+12>>2];l=R[e+28>>2];m=R[e+32>>2];d=N[a+32>>2];if(d){d=N[d>>2]}else{d=0}Qa[g|0](a,j,f,l,m,d);N[e+16>>2]=1;d=N[e+32>>2];N[e+20>>2]=N[e+28>>2];N[e+24>>2]=d}g=N[a+16>>2];h=U(k+h);d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,j,f,h,i,d)}R[e+32>>2]=i;R[e+28>>2]=h}function ct(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=N[a+872>>2];if(!i){return 0}f=N[e+8>>2];a:{b:{if(f){g=N[e>>2];b=N[e+4>>2];break b}f=0;N[e+4>>2]=0;g=P[i+2>>1];if(!g){break a}l=N[i+8>>2];c:{while(1){j=(g-f>>>1|0)+f|0;h=T(j,6)+l|0;k=O[h|0]<<8|O[h+1|0];d:{if(k>>>0>>0){f=j+1|0;break d}g=j;if(b>>>0>=k>>>0){break c}}if(f>>>0>>0){continue}break}return 0}f=0;b=O[h+4|0]|O[h+5|0]<<8;g=(b<<8|b>>>8)&65535;if(!g){break a}b=O[h+3|0];j=O[h+2|0];N[e>>2]=g;b=b|j<<8;if(Q[i+40>>2]>>0){break a}f=N[i+12>>2]+(b<<2)|0;N[e+8>>2]=f;b=0}if(b>>>0>=g>>>0){return 0}N[e+8>>2]=f+2;N[c>>2]=O[f+1|0]|O[f|0]<<8;N[e+8>>2]=f+4;b=O[f+3|0]|O[f+2|0]<<8;N[d>>2]=b;if(Q[c>>2]>=Q[a+16>>2]){return 0}if((b|0)!=65535){f=0;if(b>>>0>=P[a+660>>1]){break a}}f=1;N[e+4>>2]=N[e+4>>2]+1}return f|0}function iv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(N[c+76>>2]){break a}e=8;d=a+1|0;if(d>>>0>b>>>0){break a}a=O[a|0];f=a&15;g=a>>>4|0;a=f+g|0;if((a<<1)+d>>>0>b>>>0){break a}if(!a){N[c+76>>2]=0;N[c- -64>>2]=f<<2;return 0}b=N[c>>2];h=a<<2;b=Qa[N[b+4>>2]](b,h)|0;if(!b){return 64}e=0;G(b,0,h);N[c+76>>2]=b;N[c- -64>>2]=(f<<2)+b;c=a&3;if(c){f=f+g|0;while(1){g=O[d|0]|O[d+1|0]<<8;N[b>>2]=(g<<8|g>>>8)<<16>>16;b=b+4|0;d=d+2|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}c=f-c|0}else{c=a}e=0;if(a>>>0<4){break a}while(1){a=O[d|0]|O[d+1|0]<<8;N[b>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+2|0]|O[d+3|0]<<8;N[b+4>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+4|0]|O[d+5|0]<<8;N[b+8>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+6|0]|O[d+7|0]<<8;N[b+12>>2]=(a<<8|a>>>8)<<16>>16;b=b+16|0;d=d+8|0;c=c-4|0;if(c){continue}break}}return e|0}function dp(a,b,c,d,e,f,g){var h=0,i=0,j=0;j=e-c|0;a:{if((e|0)<(f|0)|(j|0)<=0|(c|0)>(g|0)){break a}i=d-b|0;b:{if((c|0)<(f|0)){b=jb(i,f-c|0,j)+b|0;h=N[a>>2];f=f>>h;c=0;break b}h=N[a>>2];f=c>>h;c=N[a+4>>2]-1&c}d=1;if((e|0)<=(g|0)){g=e;d=!(N[a+4>>2]-1&e)}e=g>>h;c:{if((c|0)>0){if((e|0)==(f|0)){break a}f=f+1|0;b=jb(i,N[a+4>>2]-c|0,j)+b|0;break c}if(!O[a+79|0]){break c}N[a+36>>2]=N[a+36>>2]-4}L[a+79|0]=d;if(O[a+78|0]){N[N[a+80>>2]+20>>2]=f;L[a+78|0]=0}c=N[a+36>>2];g=e-f|0;e=g+1|0;if(Q[a+32>>2]<=c+(e<<2)>>>0){N[a+40>>2]=98;return 1}d=1;h=N[a+4>>2];d:{if((i|0)>0){f=ei(h,i,j);break d}d=-1;i=0-i|0;f=0-ei(h,i,j)|0}i=(T(h,i)|0)%(j|0)|0;if((g|0)>=0){g=0-j|0;while(1){N[c>>2]=b;g=g+i|0;h=(g|0)>=0;g=g-(h?j:0)|0;b=(b+f|0)+(h?d:0)|0;c=c+4|0;h=e>>>0>1;e=e-1|0;if(h){continue}break}}N[a+36>>2]=c}return 0}function $w(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=La-272|0;La=d;Qa[N[b+60>>2]](b,d+80|0,16,d+76|0);f=N[d+76>>2];a:{if((f|0)<0){c=162;break a}c=3;if(f-17>>>0<4294967280){break a}i=N[a+532>>2];j=N[b+8>>2];k=N[b>>2];f=0;while(1){c=(d+80|0)+T(g,12)|0;N[b>>2]=N[c>>2];N[b+8>>2]=N[c+4>>2];Qa[N[b+60>>2]](b,d+16|0,4,d+12|0);e=N[d+12>>2];b:{c:{if(!g){if(e-5>>>0<4294967292){break c}c=_f(a,N[d+76>>2],e);if(c){break a}i=N[a+532>>2];c=N[d+12>>2];f=e;break b}c=f;if((e|0)==(c|0)){break b}}c=3;break a}if((c|0)>0){e=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+T(c,12)|0;N[b>>2]=N[h>>2];N[b+8>>2]=N[h+4>>2];h=Qa[N[b+40>>2]](b,0)|0;N[N[e+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}N[b+8>>2]=j;N[b>>2]=k;c=0}N[b+12>>2]=c;La=d+272|0}function jb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=2147483647;a:{if(!c){break a}b:{e=b>>31;f=(e^b)-e|0;e=a>>31;g=(e^a)-e|0;e=c>>31;e=(e^c)-e|0;if(f+g>>>0<=129894-(e>>>17|0)>>>0){f=T(f,g)+(e>>>1|0)|0;break b}h=f>>>16|0;d=g>>>16|0;j=T(h,g&65535)+T(d,f&65535)|0;d=(j>>>16|0)+T(d,h)|0;h=e>>>1|0;g=T(f,g);f=h+g|0;d=(d+(f>>>0>>0)|0)+(g>>>0>>0)|0;if(!d){break b}if(e>>>0<=d>>>0){break a}g=W(d);h=32-g|0;d=f>>>h|d<>>0)/(e>>>0)|0;d=d-T(e,i)|0;f=f<>>31;h=d>>>0>=e>>>0;d=d-(h?e:0)|0;i=h|i<<1;h=g^31;f=f<<1}if((g|0)==31){break a}while(1){d=d<<1|f>>>31;g=d>>>0>=e>>>0;d=f>>>30&1|d-(g?e:0)<<1;j=d>>>0>=e>>>0;d=d-(j?e:0)|0;i=j|(i<<2|g<<1);f=f<<2;h=h-2|0;if(h){continue}break}break a}i=(f>>>0)/(e>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-i|0:i}function Xg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}f=N[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}i=N[b+12>>2];e=i-2|0;N[b+12>>2]=e;g=1;if((e|0)<=0){return 0}e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}b:{c:{c=((e<<8|e>>>8)&65535)+c|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break c}d=N[d>>2];g=i-4|0;N[b+12>>2]=g;if((g|0)<=0){break c}e=O[c|0]|O[c+1|0]<<8;e=(e<<8|e>>>8)&65535;TE(e,0,d,0);if(Pa){break c}d=T(d,e);if((d|0)<0){break c}e=c+2|0;h=d<<1;if(h){if(e>>>0>f>>>0|h>>>0>f-e>>>0){break c}f=g-h|0;N[b+12>>2]=f;if((f|0)<=0){break c}}if(!d){break b}f=0;while(1){if(!Hf(e+(f<<1)|0,b,c)){break c}g=1;f=f+1|0;if((d|0)!=(f|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;g=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}g=1}return g}function mh(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=N[b+12>>2];d=e-12|0;N[b+12>>2]=d;if((O[a|0]|O[a+1|0]<<8)!=256|(d|0)<=0){break a}d=a+6|0;if(d>>>0>c>>>0|c-d>>>0<2){break a}c=e-14|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(gl(((c<<8|c>>>8)&65535)+a|0,b,a)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[d|0]|O[d+1|0]<<8;c:{if(!e){break c}if(gl(((e<<8|e>>>8)&65535)+a|0,b,a)){break c}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break c}L[d|0]=0;L[d+1|0]=0;c=1}return c}return 0}function Dd(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0<=a>>>0){break a}c=N[b+12>>2];e=c-1|0;N[b+12>>2]=e;f=1;if((e|0)<=0){break a}g=b;b:{c:{d:{switch(O[a|0]){case 0:if(d-a>>>0<4){break a}e=b;b=c-5|0;N[e+12>>2]=b;if((b|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}e=a+4|0;if(e>>>0>d>>>0){break a}f=0;a=T((O[a+1|0]>>>4&3)+1|0,(c<<8|c>>>8)&65535);if(a>>>0>d-e>>>0){break b}a=b-a|0;break c;case 1:break d;default:break b}}if(d-a>>>0<6){break a}c=c-7|0;N[b+12>>2]=c;if((c|0)<=0){break a}b=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);b=TE(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),0,(O[a+1|0]>>>4&3)+1|0,0);if(Pa){break a}if(!b){return 1}a=a+6|0;if(a>>>0>d>>>0){break a}f=0;if(b>>>0>d-a>>>0){break b}a=c-b|0}N[g+12>>2]=a;f=(a|0)>0}return f}return 0}function jj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=U(0),j=U(0),k=U(0),l=U(0);f=N[a+8>>2];if(f){c=S[f+8>>3]+c;b=S[f>>3]+b}e=N[a+4>>2];f=e+16|0;a=N[a>>2];l=U(R[a+48>>2]*U(c));k=U(R[a+44>>2]*U(b));h=N[e+12>>2];a=N[e+8>>2];a:{b:{if(O[e+4|0]){if(!N[f>>2]){break a}i=R[e+20>>2];j=R[e+24>>2];if(!(i==R[e+28>>2]&j==R[e+32>>2])){g=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,h,f,i,j,d)}d=N[a+28>>2];g=N[a+32>>2];if(!g){Qa[d|0](a,h,f,0);break b}Qa[d|0](a,h,f,N[g+16>>2]);break b}k=U(U(l*R[e>>2])+k);if(!N[e+16>>2]){break a}i=R[e+20>>2];j=R[e+24>>2];if(!(i==R[e+28>>2]&j==R[e+32>>2])){g=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,h,f,i,j,d)}g=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[g|0](a,h,f,d)}N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0}R[e+32>>2]=l;R[e+28>>2]=k}function In(a,b,c,d){var e=0,f=0;if(!a){return 35}if(!d){return 6}f=N[a+16>>2];if(f>>>0<=b>>>0){return 16}e=N[N[N[a+96>>2]+12>>2]+84>>2];a:{b:{if(!(!e|!(c&3)&(c&983040)!=65536)){e=Qa[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=N[a+88>>2];if(!a){return 36}a=jb(N[d>>2],N[a+(c&16?20:16)>>2],64);break b}if((e&255)!=7){break a}f=N[a+16>>2]}if(b+1>>>0>f>>>0){return 16}e=16;if(b>>>0>=f>>>0){break a}e=N[N[N[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Qa[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=N[a+88>>2];if(!a){return 36}a=jb(N[d>>2],N[a+(c&16?20:16)>>2],64);break b}if((e&255)!=7){break a}}e=7;if(c&536870912){break a}f=c&1?0:10;e=uc(a,b,c|256);if(!(c&16)){if(e){break a}a=N[N[a+84>>2]+64>>2]<>2]+68>>2]<>2]=a;e=0}return e}function wr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=N[b+56>>2];e=N[b+60>>2];f=N[b+48>>2];g=N[b+52>>2];h=N[b+40>>2];i=N[b+44>>2];j=N[b+32>>2];k=N[b+36>>2];l=N[b+24>>2];m=N[b+28>>2];n=N[b+16>>2];o=N[b+20>>2];p=N[b+8>>2];q=N[b+12>>2];r=N[b>>2];b=N[c+4>>2]&(N[b+4>>2]^-1);N[a>>2]=N[c>>2]&(r^-1);N[a+4>>2]=b;b=N[c+12>>2]&(q^-1);N[a+8>>2]=N[c+8>>2]&(p^-1);N[a+12>>2]=b;b=N[c+20>>2]&(o^-1);N[a+16>>2]=N[c+16>>2]&(n^-1);N[a+20>>2]=b;b=N[c+28>>2]&(m^-1);N[a+24>>2]=N[c+24>>2]&(l^-1);N[a+28>>2]=b;b=N[c+36>>2]&(k^-1);N[a+32>>2]=N[c+32>>2]&(j^-1);N[a+36>>2]=b;b=N[c+44>>2]&(i^-1);N[a+40>>2]=N[c+40>>2]&(h^-1);N[a+44>>2]=b;b=N[c+52>>2]&(g^-1);N[a+48>>2]=N[c+48>>2]&(f^-1);N[a+52>>2]=b;b=N[c+60>>2]&(e^-1);N[a+56>>2]=N[c+56>>2]&(d^-1);N[a+60>>2]=b}function vr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=N[c+56>>2];e=N[c+60>>2];f=N[c+48>>2];g=N[c+52>>2];h=N[c+40>>2];i=N[c+44>>2];j=N[c+32>>2];k=N[c+36>>2];l=N[c+24>>2];m=N[c+28>>2];n=N[c+16>>2];o=N[c+20>>2];p=N[c+8>>2];q=N[c+12>>2];r=N[c>>2];c=N[b+4>>2]&(N[c+4>>2]^-1);N[a>>2]=N[b>>2]&(r^-1);N[a+4>>2]=c;c=N[b+12>>2]&(q^-1);N[a+8>>2]=N[b+8>>2]&(p^-1);N[a+12>>2]=c;c=N[b+20>>2]&(o^-1);N[a+16>>2]=N[b+16>>2]&(n^-1);N[a+20>>2]=c;c=N[b+28>>2]&(m^-1);N[a+24>>2]=N[b+24>>2]&(l^-1);N[a+28>>2]=c;c=N[b+36>>2]&(k^-1);N[a+32>>2]=N[b+32>>2]&(j^-1);N[a+36>>2]=c;c=N[b+44>>2]&(i^-1);N[a+40>>2]=N[b+40>>2]&(h^-1);N[a+44>>2]=c;c=N[b+52>>2]&(g^-1);N[a+48>>2]=N[b+48>>2]&(f^-1);N[a+52>>2]=c;c=N[b+60>>2]&(e^-1);N[a+56>>2]=N[b+56>>2]&(d^-1);N[a+60>>2]=c}function bB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=6;if(!((b|0)<0|N[a+16>>2]<=(b|0))){i=N[a>>2];j=N[a+8>>2];g=N[a+4>>2];e=g+d|0;a:{if(j>>>0>=e>>>0){e=i;break a}k=c-i|0;f=j;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(e>>>0>f>>>0){continue}break}e=0;g=N[a+32>>2];b:{c:{d:{if((f|0)<=0){h=6;if(f){break d}break b}e=Qa[N[g+4>>2]](g,f)|0;if(e){break c}h=64}N[a>>2]=i;return h|0}G(e,0,f)}N[a>>2]=e;if(i){B(e,i,N[a+8>>2]);h=N[a+16>>2];if((h|0)>0){m=N[a>>2]-i|0;e=N[a+24>>2];h=e+(h<<2)|0;while(1){l=N[e>>2];if(l){N[e>>2]=m+l}e=e+4|0;if(h>>>0>e>>>0){continue}break}}Qa[N[g+8>>2]](g,i);e=N[a>>2]}N[a+8>>2]=f;c=k>>>0>>0&(k|0)>=0?e+k|0:c;g=N[a+4>>2]}b=b<<2;N[b+N[a+24>>2]>>2]=e?e+g|0:0;N[b+N[a+28>>2]>>2]=d;B(N[a>>2]+g|0,c,d);N[a+4>>2]=N[a+4>>2]+d;f=0}return f|0}function Jl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=N[a+28>>2];a:{if((d|0)==-1){break a}e=N[a+36>>2];h=N[a+40>>2];if(e>>>0>=h>>>0){break a}k=N[a>>2];d=d+1|0;l=N[a+16>>2]+16|0;while(1){b:{b=T(e,12)+l|0;c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=d>>>0>g>>>0?d:g;c=O[b+7|0];f=O[b+5|0]<<16|O[b+4|0]<<24|O[b+6|0]<<8;i=c|f;if(d>>>0>i>>>0){break b}b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);j=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=(f|1)+c|0;c:{while(1){c=d-g|0;if((c^-1)>>>0>>0){break b}c=c+j|0;if(c){break c}c=d+1|0;if(!c){break a}f=d>>>0>>0;d=c;if(f){continue}break}d=b;break b}if(c>>>0>=Q[k+16>>2]){break b}N[a+36>>2]=e;N[a+32>>2]=c;N[a+28>>2]=d;return}e=e+1|0;if((h|0)!=(e|0)){continue}break}}L[a+24|0]=0}function $c(a){var b=0,c=0,d=0;d=La-16|0;La=d;a:{if(N[a+24>>2]){break a}b:{b=N[a+28>>2];if(!b){c=a+32|0;if(!xj(c,N[a+36>>2]+1|0)){break b}b=db(1,576);N[d+12>>2]=b;if(!b){break b}wj(c,d+12|0);b=vj(b)}N[a+28>>2]=N[b>>2];c=b+32|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[b+24|0]=0;L[b+25|0]=0;L[b+26|0]=0;L[b+27|0]=0;L[b+28|0]=0;L[b+29|0]=0;L[b+30|0]=0;L[b+31|0]=0;L[b+16|0]=0;L[b+17|0]=0;L[b+18|0]=0;L[b+19|0]=0;L[b+20|0]=0;L[b+21|0]=0;L[b+22|0]=0;L[b+23|0]=0;L[b+8|0]=0;L[b+9|0]=0;L[b+10|0]=0;L[b+11|0]=0;L[b+12|0]=0;L[b+13|0]=0;L[b+14|0]=0;L[b+15|0]=0;L[b|0]=0;L[b+1|0]=0;L[b+2|0]=0;L[b+3|0]=0;L[b+4|0]=0;L[b+5|0]=0;L[b+6|0]=0;L[b+7|0]=0;N[b>>2]=N[a+4>>2];N[b+4>>2]=N[a+8>>2];N[b+32>>2]=N[a+44>>2];N[a+44>>2]=b;break a}if(N[a+24>>2]){break a}N[a+24>>2]=1}La=d+16|0;return N[a+4>>2]}function jn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Qa[N[a+624>>2]](a)|0;f=N[b>>2];a:{if(!f){break a}g=a+36|0;e=1;while(1){b=N[a+28>>2];if((b|0)<=1){if(O[a+593|0]){N[a+12>>2]=129}N[a+28>>2]=0;break a}d=b-2|0;N[a+28>>2]=d;c=b<<2;b=N[a+24>>2];c=P[(c+b|0)-4>>1];b:{if(c>>>0>1]){d=N[b+(d<<2)>>2];b=d>>>4&15;c:{d:{switch(O[a+376|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((P[a+336>>1]+b|0)!=(h|0)){break b}b=d&15;b=(b>>>0>7?-7:-8)+b<<6-P[a+338>>1];if(!(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40)){if(!((P[a+304>>1]?O[a+592|0]:0)|O[c+N[a+60>>2]|0]&16)|(O[a+645|0]?O[a+644|0]:0)){break b}Qa[N[a+616>>2]](a,g,c,b);break b}Qa[N[a+616>>2]](a,g,c,b);break b}if(!O[a+593|0]){break b}N[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}N[a+32>>2]=N[a+28>>2]}function Vm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=N[a+12>>2];j=N[e>>2];i=b>>>0>j>>>0?j:b;if(i){e=N[e+12>>2];while(1){h=N[e+12>>2];g=h;m=k<<2;f=N[m+c>>2];if((g|0)>=(f|0)){g=N[e+4>>2];g=(f|0)>(g|0)?f:g}f=N[e+8>>2];a:{if((f|0)>(g|0)){l=0-fb(g-f|0,N[e+4>>2]-f|0)|0;break a}l=0;if((f|0)>=(g|0)){break a}l=fb(g-f|0,h-f|0)}h=l;N[d+m>>2]=h;e=e+24|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}if(b>>>0>>0){G((i<<2)+d|0,0,j-i<<2)}a=N[a+28>>2];if(!(!a|!j)){b=0;while(1){f=P[a>>1];b:{if(f>>>0<2){break b}i=(b<<2)+d|0;c=N[i>>2];h=N[a+4>>2];e=1;while(1){g=h+(e<<3)|0;k=N[g>>2];if((k|0)>(c|0)){f=g-8|0;e=N[f+4>>2];h=c;c=N[f>>2];n=i,o=jb(h-c|0,N[g+4>>2]-e|0,k-c|0)+e|0,N[n>>2]=o;break b}e=e+1|0;if((f|0)!=(e|0)){continue}break}}a=a+8|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}}function Sm(a,b,c){var d=0,e=0,f=0,g=0;f=La-16|0;La=f;e=N[a+20>>2];a:{if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;b:{if(Q[a+4>>2]<2){break b}c:{d:{e:{d=N[a+20>>2];if(d){e=f+10|0;if((Qa[d|0](a,0,e,2)|0)!=2){break b}d=N[a+8>>2]+2|0;break e}d=2;e=N[a>>2];if(e){break e}N[a+8>>2]=2;break d}e=O[e|0]|O[e+1|0]<<8;N[a+8>>2]=d;g=e<<8|e>>>8;if((g+32767&65535)>>>0>1){break d}if(Q[a+4>>2]<=d+3>>>0){break b}e=N[a+20>>2];if(e){if((Qa[e|0](a,d,f+12|0,4)|0)!=4){break b}d=N[a+8>>2]}N[a+8>>2]=d+4;if((g&65535)==32769){break c}}e=N[a+20>>2];if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}}N[a+8>>2]=0}d=Bb(a,c);if(d){break a}d=(Mb(N[a+32>>2],b,c)|0)!=0;if(N[a+20>>2]){c=N[a>>2];if(c){b=N[a+28>>2];Qa[N[b+8>>2]](b,c)}N[a>>2]=0}d=d<<1;N[a+32>>2]=0;N[a+36>>2]=0;break a}d=85}La=f+16|0;return d}function gn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=La-16|0;La=f;c=N[b+28>>2];a:{if(Qa[N[a+516>>2]](a,1668707360,b,f+12|0)|0){N[a+700>>2]=0;N[a+704>>2]=0;c=0;break a}d=N[f+12>>2];g=d>>>1|0;N[a+700>>2]=g;b:{if(d>>>0>=2){if(d>>>0>=1073741824){N[a+704>>2]=0;c=10;break a}d=g<<2;e=Qa[N[c+4>>2]](c,d)|0;if(!e){break b}G(e,0,d)}N[a+704>>2]=e;c=Bb(b,N[a+700>>2]<<1);if(c){break a}c=N[a+700>>2];if((c|0)>0){d=N[a+704>>2];g=d+(c<<2)|0;c=N[b+32>>2];h=N[b+36>>2];while(1){e=0;if(c+1>>>0>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[d>>2]=e<<16>>16<<6;d=d+4|0;if(g>>>0>d>>>0){continue}break}}if(N[b+20>>2]){c=N[b>>2];if(c){e=N[b+28>>2];Qa[N[e+8>>2]](e,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!O[a+733|0]){c=0;break a}c=Ym(a,b);break a}N[a+704>>2]=0;c=64}La=f+16|0;return c}function Aw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=N[N[a+40>>2]>>2];if(e){a=N[a>>2];g=N[a+100>>2];b=N[N[a+96>>2]+4>>2];a:{if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}f=N[a+712>>2];d=N[f+3080>>2];a=b+20|0;b=a+(c<<2)|0;while(1){c=N[a>>2];if(cb(N[N[c>>2]+8>>2],11971)){a=a+4|0;if(b>>>0>a>>>0){continue}break a}break}if(!d){break a}a=N[d>>2];if(!a){break a}d=Qa[a|0](c)|0;if(!d){break a}Qa[N[d+8>>2]](N[e>>2]);b=N[f+2024>>2];if(!b){break a}f=b&3;b:{if(!f){a=b;break b}c=0;a=b;while(1){a=a-1|0;Qa[N[d+8>>2]](N[((a<<2)+e|0)+4>>2]);c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(b>>>0<4){break a}b=e+4|0;while(1){c=b+(a<<2)|0;Qa[N[d+8>>2]](N[c-4>>2]);Qa[N[d+8>>2]](N[c-8>>2]);Qa[N[d+8>>2]](N[c-12>>2]);a=a-4|0;Qa[N[d+8>>2]](N[b+(a<<2)>>2]);if(a){continue}break}}Qa[N[g+8>>2]](g,e)}}function vk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=a+2|0;a:{if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){return 1}f=a+6|0;if(d>>>0>>0){break a}c=(c<<8|c>>>8)&65535;g=c<<1;if(g>>>0>d-f>>>0){break a}d=e-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=c>>>0<=1?1:c;c=0;while(1){h=uk(((c<<1)+a|0)+6|0,b,a);if(!h){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return h}function ih(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{e=N[b+4>>2];if(e>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=N[b+12>>2];d=g-4|0;N[b+12>>2]=d;h=1;if((d|0)<=0){break a}d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b:{if(!d){break b}if(d&128){break a}d=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0;c:{if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<4){break c}e=g-8|0;N[b+12>>2]=e;if((e|0)<=0){break c}c=O[d+2|0]|O[d+3|0]<<8;g=(c<<8|c>>>8)&65535;c=O[d|0]|O[d+1|0]<<8;c=TE(T(g,(c<<8|c>>>8)&65535),0,6,0);if(Pa){break c}if(!c){break b}d=d+4|0;if(d>>>0>f>>>0|c>>>0>f-d>>>0){break c}c=e-c|0;N[b+12>>2]=c;if((c|0)>0){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;h=0;if(!O[b+24|0]){break b}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;h=1}return h}return 0}function qv(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=N[N[a+96>>2]+8>>2];N[a+20>>2]=0;N[a+24>>2]=0;c=N[a+100>>2];b=N[a+368>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+368>>2]=0;b=N[a+372>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+372>>2]=0;b=N[a+376>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+376>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+360>>2]=0;N[a+364>>2]=0;N[a+348>>2]=0;N[a+352>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;N[a+380>>2]=0;N[a+384>>2]=0;b=N[a+416>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+416>>2]=0;N[a+408>>2]=0;N[a+412>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+392>>2]=0;N[a+396>>2]=0;b=N[a+424>>2];if(b){while(1){e=N[b>>2];Qa[N[c+8>>2]](c,b);b=e;if(b){continue}break}}N[a+428>>2]=0;N[a+420>>2]=0;N[a+424>>2]=0;b=N[a+32>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+32>>2]=0}}function LC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=U(0),g=U(0),h=U(0),i=U(0);e=N[b+12>>2];a:{if(O[b+6|0]){if(e){a=N[e+128>>2];h=U(N[a+12>>2]);g=U(N[a+4>>2]);i=U(N[a>>2]);f=U(N[a+8>>2])}else{f=U(0)}h=U(U(aa(U(U(f*f)+U(h*h))))*U(152587890625e-16));f=U(U(aa(U(U(i*i)+U(g*g))))*U(152587890625e-16));break a}h=U(N[a+32>>2]>>31|1);f=U(N[a+28>>2]>>31|1)}if(uc(e,c,N[b>>2])){return 0}a=N[e+84>>2];g=U(f*U(N[a+32>>2]));b:{if(U(V(g))>2]=b;g=U(h*U(N[a+36>>2]));c:{if(U(V(g))>2]=b;f=U(f*U(N[a+24>>2]));d:{if(U(V(f))>2]=b;f=U(h*U(0-N[a+28>>2]|0));e:{if(U(V(f))>2]=a;return 1}function dw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=N[a+712>>2];a:{if(O[e+24|0]==2){i=11;e=N[N[a+96>>2]+4>>2];if(!e){break a}f=N[e+16>>2];if((f|0)<=0){break a}e=e+20|0;f=e+(f<<2)|0;while(1){g=N[e>>2];h=N[g>>2];if(cb(N[h+8>>2],9195)){e=e+4|0;if(f>>>0>e>>>0){continue}break a}break}e=N[h+32>>2];if(!e){break a}e=Qa[e|0](g,9592)|0;if(!e){break a}e=N[e>>2];if(!e){break a}return Qa[e|0](a,b,c,d)|0}f=N[e+3084>>2];if(!f){return 11}a=P[N[e+1188>>2]+(b<<1)>>1];if((a|0)==65535){break a}b:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[e+1356>>2]){break a}e=N[N[e+1360>>2]+(a<<2)>>2];break b}e=Qa[N[f+20>>2]](a)|0}if(!e){break a}c:{if(d>>>0<2){break c}while(1){a=O[e|0];if(!a){break c}L[c|0]=a;c=c+1|0;e=e+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0}return i|0}function Sl(a,b,c,d){var e=0,f=0,g=0,h=0;g=Qa[N[a+4>>2]](a,(P[c+8>>1]>>>1|0)+1|0)|0;if(!g){return 0}e=N[c+12>>2];f=N[b+20>>2];a:{b:{c:{if(f){if(!(Qa[f|0](b,e,0,0)|0)){break c}break b}if(e>>>0>Q[b+4>>2]){break b}}N[b+8>>2]=e;if(Bb(b,P[c+8>>1])){break b}e=g;d:{f=P[c+8>>1];if(f>>>0>=2){h=f>>>1|0;f=N[b+32>>2];while(1){if(O[f|0]){break d}if(!(Qa[d|0](L[f+1|0])|0)){break d}L[e|0]=O[f+1|0];f=f+2|0;e=e+1|0;h=h-1|0;if(h){continue}break}}L[e|0]=0;if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;b=b+36|0;break a}if(N[b+20>>2]){d=N[b>>2];if(d){e=N[b+28>>2];Qa[N[e+8>>2]](e,d)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}Qa[N[a+8>>2]](a,g);g=0;N[c+12>>2]=0;M[c+8>>1]=0;b=c+16|0;c=N[c+16>>2];if(!c){break a}Qa[N[a+8>>2]](a,c)}N[b>>2]=0;return g}function FD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+20>>2];if((h|0)<=0){return 0}k=N[a>>2];d=h-1|0;l=h+1<<1;a:{while(1){e=d+f|0;g=e>>>1|0;e=e&-2;i=e+k|0;j=O[i|0]|O[i+1|0]<<8;b:{if(((j<<8|j>>>8)&65535)>>>0>=b>>>0){d=i+l|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}d=g-1|0;break b}f=g+1|0}if((d|0)>=(f|0)){continue}break}return 0}f=e>>1;d=e+N[a+12>>2]|0;g=O[d|0]|O[d+1|0]<<8;c:{if(g){d=0;e=f+(b-h|0)+(((g<<8|g>>>8)&65534)>>>1)|0;b=N[a+4>>2]+(f<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=Q[a+24>>2]){break c}b=N[a+16>>2]+(b<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!b){break c}b=(b<<8|b>>>8)&65535}a=N[a+8>>2]+(f<<1)|0;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){return 0}N[c>>2]=a;d=1}return d|0}function Oe(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=N[b+12>>2]-2|0;N[b+12>>2]=f;if((f|0)<=0){break b}d=O[a|0]|O[a+1|0]<<8;if(!d){return 1}g=a+2|0;if(g>>>0>e>>>0){break b}d=(d<<8|d>>>8)&65535;h=d<<1;if(h>>>0>e-g>>>0){break b}e=f-h|0;N[b+12>>2]=e;if((e|0)<=0){break b}g=d>>>0<=1?1:d;f=0;while(1){e=((f<<1)+a|0)+2|0;if(e>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break a}h=N[c>>2];d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[e|0]|O[e+1|0]<<8;c:{if(!d){break c}if(Lb(h+((d<<8|d>>>8)&65535)|0,b)){break c}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0}i=1;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return i}return 0}function vf(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{switch(O[a|0]){case 0:if(!b|c>>>0<2){break b}e=1;a=a+1|0;while(1){d=(a+(e<<1)|0)-2|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)==(b|0)){return e}e=e+1|0;if((e|0)!=(c|0)){continue}break};break b;case 1:if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+T(e,3)|0;f=O[a+2|0];a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break};break b;case 2:break c;default:break b}}if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+(e<<2)|0;f=O[a+2|0]|O[a+3|0]<<8;f=(f<<8|f>>>8)&65535;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break}}return 0}return(b+d|0)-a|0}function Sg(a,b,c){var d=0,e=0,f=0;a:{b:{d=N[a+72>>2]+1|0;c:{if(!(!d|d>>>0>2])){if(!gb(a,d)){break c}}d=N[a+84>>2];d:{if((d|0)!=N[a+80>>2]){break d}e=N[a+72>>2];if(e+1>>>0<=N[a+64>>2]+b>>>0){break d}if(!O[a+62|0]){break b}f=N[a+88>>2];N[a+84>>2]=f;e=T(e,20);if(!e){break d}B(f,d,e)}d=N[a+64>>2];e=d+b|0;if(e>>>0>Q[a+68>>2]){break a}Ib(a,d,e);d=N[a+64>>2];e:{if(d>>>0>2]){e=N[a+72>>2];f=N[a+84>>2];d=N[a+80>>2]+T(d,20)|0;break e}f=N[a+84>>2];e=N[a+72>>2];d=e-1|0;d=f+T(d>>>0<=e>>>0?d:0,20)|0}e=T(e,20)+f|0;f=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=f;N[e+16>>2]=N[d+16>>2];f=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=f;N[e>>2]=N[c>>2];N[a+64>>2]=N[a+64>>2]+b;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);F()}ba(13080,14165,312,10949);F()}function ME(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=La-32|0;La=f;c=c+2|0;a:{if(d>>>0<=c>>>0){break a}h=N[b+80>>2];while(1){b:{a=T(c,20)+h|0;e=P[a-24>>1];if((e&65024)!=5120|!(1<>1];if((g&65024)!=5632|!(1<>1];g=1<>>8|0:0;if((g|0)!=220&(g|0)!=25){break b}Ib(b,c-1|0,c+1|0);N[f+24>>2]=N[e+16>>2];b=N[e+12>>2];N[f+16>>2]=N[e+8>>2];N[f+20>>2]=b;b=N[e+4>>2];N[f+8>>2]=N[e>>2];N[f+12>>2]=b;N[e+16>>2]=N[a+16>>2];b=N[a+12>>2];N[e+8>>2]=N[a+8>>2];N[e+12>>2]=b;b=N[a+4>>2];N[e>>2]=N[a>>2];N[e+4>>2]=b;N[a+16>>2]=N[f+24>>2];b=N[f+20>>2];N[a+8>>2]=N[f+16>>2];N[a+12>>2]=b;b=N[f+12>>2];N[a>>2]=N[f+8>>2];N[a+4>>2]=b;break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}La=f+32|0}function sc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=O[a+12|0];a:{if(O[a+48|0]){if(!c){break a}c=N[a+20>>2];d=N[a+28>>2];e=b>>>9|0;f=N[a+32>>2];if(!(c>>>0>>0&(e|0)==N[f+(c<<3)>>2])){if((d|0)<=0){break a}d=d-1|0;while(1){b:{c=d+g>>>1|0;h=N[(c<<3)+f>>2];c:{if((e|0)<(h|0)){d=c-1|0;break c}if((e|0)==(h|0)){break b}g=c+1|0}if((d|0)>=(g|0)){continue}break a}break}N[a+20>>2]=c}e=N[a+44>>2];if(!e){break a}c=N[((c<<3)+f|0)+4>>2];N[a+16>>2]=-1;a=(e+(c<<6)|0)+(b>>>3&56)|0;c=N[a>>2];e=N[a+4>>2];i=a,j=ZE(-2,-1,b)&c,N[i>>2]=j;N[a+4>>2]=Pa&e;return}if(!c|(b|0)==-1){break a}N[a+16>>2]=-1;a=vc(a+12|0,b);if(!a){break a}a=a+(b>>>3&56)|0;e=N[a+4>>2];c=b&63;b=c&31;if((c&63)>>>0>=32){c=1<>>32-b}N[a>>2]=d|N[a>>2];N[a+4>>2]=c|e}}function ed(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(c-37>>>0<4294967261){break a}d=N[a>>2];if(d>>>0>=b>>>0){break a}b:{c:{g=O[d|0];switch(g-43|0){case 0:case 2:break c;default:break b}}d=d+1|0;if((d|0)==(b|0)){break a}k=(g|0)==45;switch(O[d|0]-43|0){case 0:case 2:break a;default:break b}}h=2147483647/(c>>>0)|0;if(b>>>0>d>>>0){l=T(c,h)^2147483647;d:{while(1){g=e;e:{e=O[d|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break d;default:break e}}if(e<<24>>24<0){break d}i=L[e+294800|0];if((i|0)<0|(c|0)<=(i|0)){break d}e=1;j=f;f:{if((f|0)>(h|0)){break f}if((f|0)==(h|0)){j=h;if((i|0)>(l|0)){break f}}e=g;j=i+T(c,f)|0}f=j;d=d+1|0;if((d|0)!=(b|0)){continue}break}g=e;d=b}e=g&255?2147483647:f}N[a>>2]=d;f=k?0-e|0:e}return f}function Es(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=N[a+16>>2];f=N[a+24>>2];c=f+1|0;d=N[a+28>>2];a:{b:{if(c>>>0<=d>>>0){b=N[a+32>>2];break b}N[a+36>>2]=b;if((c|d)<0|(c|0)>536870911){break a}c:{if(!d){b=Qa[N[b+4>>2]](b,c<<2)|0;e=!b<<6;break c}h=N[a+32>>2];e=Qa[N[b+12>>2]](b,d<<2,c<<2,h)|0;b=e?e:h;e=!e<<6}d:{if(!(e|(c|0)<=(d|0)|!b)){G((d<<2)+b|0,0,c-d<<2);N[a+32>>2]=b;break d}N[a+32>>2]=b;if(e){break a}}N[a+28>>2]=c}g=b;e:{if(!f){break e}a=i+10|0;b=0;if((f|0)!=1){e=f&1;c=f&-2;while(1){d=b<<2;N[d+g>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);N[(d|4)+g>>2]=O[a+13|0]|(O[a+12|0]<<8|O[a+11|0]<<16);a=a+22|0;b=b+2|0;if((c|0)!=(b|0)){continue}break}if(!e){break e}}N[(b<<2)+g>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16)}N[(f<<2)+g>>2]=0}return g|0}function Ti(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=6;a:{if(N[b+72>>2]!=N[a+16>>2]){break a}b:{if(!c){break b}a=N[b+112>>2];if(!a){break b}e=M[b+110>>1];if((e|0)<=0){break b}e=(e<<3)+a|0;while(1){hd(a,c);a=a+8|0;if(e>>>0>a>>>0){continue}break}}e=0;if(!d){break a}f=M[b+110>>1];if((f|0)<=0){break a}c=N[d+4>>2];d=N[d>>2];a=N[b+112>>2];if(f>>>0>=4){e=f&-4;b=0;while(1){N[a>>2]=d+N[a>>2];N[a+4>>2]=c+N[a+4>>2];N[a+8>>2]=d+N[a+8>>2];N[a+16>>2]=d+N[a+16>>2];N[a+24>>2]=d+N[a+24>>2];N[a+12>>2]=c+N[a+12>>2];N[a+20>>2]=c+N[a+20>>2];N[a+28>>2]=c+N[a+28>>2];a=a+32|0;b=b+4|0;if((e|0)!=(b|0)){continue}break}}e=0;f=f&3;if(!f){break a}b=0;while(1){N[a>>2]=d+N[a>>2];N[a+4>>2]=c+N[a+4>>2];a=a+8|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}return e|0}function EC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=U(0),g=0,h=U(0),i=U(0),j=U(0),k=U(0);e=b+16|0;g=N[b+12>>2];c=N[b+8>>2];h=U(N[a+4>>2]);f=U(N[a>>2]);a:{if(O[b+4|0]){if(!N[e>>2]){d=N[c+12>>2];i=R[b+28>>2];j=R[b+32>>2];a=N[c+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[d|0](c,g,e,i,j,a);N[b+16>>2]=1;a=N[b+32>>2];N[b+20>>2]=N[b+28>>2];N[b+24>>2]=a}d=N[c+16>>2];a=N[c+32>>2];if(!a){Qa[d|0](c,g,e,f,h,0);break a}Qa[d|0](c,g,e,f,h,N[a+4>>2]);break a}i=U(h*R[b>>2]);if(!N[b+16>>2]){d=N[c+12>>2];j=R[b+28>>2];k=R[b+32>>2];a=N[c+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[d|0](c,g,e,j,k,a);N[b+16>>2]=1;a=N[b+32>>2];N[b+20>>2]=N[b+28>>2];N[b+24>>2]=a}d=N[c+16>>2];f=U(i+f);a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[d|0](c,g,e,f,h,a)}R[b+32>>2]=h;R[b+28>>2]=f;return 0}function gr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=N[a>>2];a=0;a:{b:{c:{d:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}a=e;e=O[c+2|0]|O[c+3|0]<<8;e=a-((e<<8|e>>>8)&65535)|0;d=O[c+4|0]|O[c+5|0]<<8;a=275552;if(e>>>0>=((d<<8|d>>>8)&65535)>>>0){break b}a=((e<<1)+c|0)+6|0;break b}g=241305;a=O[c+2|0]|O[c+3|0]<<8;e:{if(!a){break e}h=c+4|0;c=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){d=a+c>>>1|0;f=T(d,6)+h|0;i=O[f|0]|O[f+1|0]<<8;f:{if(e>>>0>=((i<<8|i>>>8)&65535)>>>0){a=O[f+2|0]|O[f+3|0]<<8;if(e>>>0>((a<<8|a>>>8)&65535)>>>0){a=d+1|0;break f}g=T(d,6)+h|0;break e}c=d-1|0}if((a|0)<=(c|0)){continue}break}}a=g+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}return(a|0)==(b|0)|0}function Mg(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=U(0),q=U(0),r=0;l=S[g+8>>3];m=S[g>>3];k=N[b+8>>2];if(k){n=S[k+8>>3];l=l+n;o=S[k>>3];m=m+o;f=n+f;e=o+e;d=n+d;c=o+c}k=N[b>>2];p=R[k+44>>2];q=R[k+48>>2];Db(N[b+4>>2],U(p*U(c)),U(q*U(d)),U(p*U(e)),U(q*U(f)),U(p*U(m)),U(q*U(l)));r=N[g+12>>2];k=a+4400|0;N[k>>2]=N[g+8>>2];N[k+4>>2]=r;k=N[g+4>>2];N[a+4392>>2]=N[g>>2];N[a+4396>>2]=k;f=S[j+8>>3];e=S[j>>3];d=S[i+8>>3];c=S[i>>3];l=S[h+8>>3];m=S[h>>3];g=N[b+8>>2];if(g){n=S[g+8>>3];f=f+n;o=S[g>>3];e=e+o;d=d+n;l=l+n;m=m+o;c=c+o}g=N[b+4>>2];b=N[b>>2];p=R[b+44>>2];q=R[b+48>>2];Db(g,U(p*U(m)),U(q*U(l)),U(p*U(c)),U(q*U(d)),U(p*U(e)),U(q*U(f)));b=N[j+12>>2];a=a+4392|0;N[a+8>>2]=N[j+8>>2];N[a+12>>2]=b;b=N[j+4>>2];N[a>>2]=N[j>>2];N[a+4>>2]=b}function ty(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}e=N[a+396>>2];g=e<<2;h=N[a+400>>2];b:{i=N[a+388>>2];c:{if(e>>>0>=i>>>0){f=g;e=h;break c}f=i<<2;if((g|f)<0){d=6;break b}d=N[a+8>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(g|0)>=(f|0)|!e){break e}G(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;B(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){b=b<<2;e=N[b+N[a+392>>2]>>2];d=cg(a);j=b+N[a+392>>2]|0,k=fb(c,d)+e|0,N[j>>2]=k}}function ko(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;A(+a);b=v(1)|0;v(0)|0;a:{b:{c:{d:{if(!(((b|0)>0|(b|0)>=0)&b>>>0>1071284857)){if(b>>>0>=3220176896){d=-Infinity;if(a==-1){break b}return(a-a)/0}if(b<<1>>>0<2034237440){break a}if(b>>>0>=3218259653){break d}d=0;break c}if(b>>>0>2146435071){break a}}c=a+1;A(+c);b=v(1)|0;b=b+614242|0;g=b>>>0<=1129316351?(b>>>0>1074790399?a-c+1:a-(c+-1))/c:g;x(0,v(0)|0);x(1,(b&1048575)+1072079006|0);a=+z()+-1;d=+((b>>>20|0)-1023|0)}e=a/(a+2);f=e*e;c=f*f;h=a;a=a*(a*.5);d=d*.6931471803691238+(h+(e*(a+(c*(c*(c*.15313837699209373+.22222198432149784)+.3999999999940942)+f*(c*(c*(c*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))+(d*1.9082149292705877e-10+g)-a))}return d}return a}function _l(a,b,c){var d=0,e=0,f=0;d=L[a|0];if((d|0)>=0){L[a|0]=c+d&127;return 1}e=1;a:{if(d>>>0<4294967232){break a}c=((c&32767)-(c&32768)|0)+16777216|0;f=d&255;if(d>>>0<=4294967263){if((b|0)<2){break a}b=O[a+1|0];c=c+(f<<6&1984|b&63)|0;L[a+1|0]=c&63|b&192;L[a|0]=c>>>6&31|192;return 2}if(d>>>0<=4294967279){e=b;if((b|0)<3){break a}b=O[a+2|0];c=(c+(f<<12&61440)|0)+(b&63)|0;L[a+2|0]=c&63|b&192;b=O[a+1|0];c=c+((b&63)<<6)|0;L[a+1|0]=c>>>6&63|b&192;L[a|0]=c>>>12&15|224;return 3}if(d>>>0>4294967287){break a}e=b;if((b|0)<4){break a}b=O[a+3|0];c=(c+(f<<18&1835008)|0)+(b&63)|0;L[a+3|0]=c&63|b&192;b=O[a+2|0];c=c+((b&63)<<6)|0;L[a+2|0]=c>>>6&63|b&192;b=O[a+1|0];c=c+((b&63)<<12)|0;L[a+1|0]=c>>>12&63|b&192;L[a|0]=c>>>18&7|240;e=4}return e}function Tn(a,b,c,d){a:{switch(b-9|0){case 0:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=N[b>>2];return;case 6:b=N[c>>2];N[c>>2]=b+4;b=M[b>>1];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 7:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=P[b>>1];N[a+4>>2]=0;return;case 8:b=N[c>>2];N[c>>2]=b+4;b=L[b|0];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 9:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=O[b|0];N[a+4>>2]=0;return;case 16:b=N[c>>2]+7&-8;N[c>>2]=b+8;S[a>>3]=S[b>>3];return;case 17:Qa[d|0](a,c);default:return;case 1:case 4:case 14:b=N[c>>2];N[c>>2]=b+4;b=N[b>>2];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 2:case 5:case 11:case 15:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=N[b>>2];N[a+4>>2]=0;return;case 3:case 10:case 12:case 13:break a}}b=N[c>>2]+7&-8;N[c>>2]=b+8;c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c}function Db(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=U(0),l=0,m=0,n=U(0);h=a+16|0;l=N[a+12>>2];j=N[a+8>>2];if(O[a+4|0]){if(!N[h>>2]){m=N[j+12>>2];n=R[a+28>>2];k=R[a+32>>2];i=N[j+32>>2];if(i){i=N[i>>2]}else{i=0}Qa[m|0](j,l,h,n,k,i);N[a+16>>2]=1;i=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=i}m=N[j+24>>2];i=N[j+32>>2];if(i){i=N[i+12>>2]}else{i=0}Qa[m|0](j,l,h,b,c,d,e,f,g,i);R[a+32>>2]=g;R[a+28>>2]=f;return}k=R[a>>2];n=U(U(c*k)+b);d=U(U(e*k)+d);b=U(U(g*k)+f);a=h;if(!N[a>>2]){i=N[j+12>>2];f=R[a+12>>2];k=R[a+16>>2];h=N[j+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](j,l,a,f,k,h);N[a>>2]=1;h=N[a+16>>2];N[a+4>>2]=N[a+12>>2];N[a+8>>2]=h}i=N[j+24>>2];h=N[j+32>>2];if(h){h=N[h+12>>2]}else{h=0}Qa[i|0](j,l,a,n,c,d,e,b,g,h);R[a+16>>2]=g;R[a+12>>2]=b}function ce(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{if(!(N[a+24>>2]|!c)){d=N[a+44>>2];if(!d){break b}if(Q[d>>2]>b>>>0){break a}c:{d:{e:{e=N[d+8>>2];if((e|0)>=0){g=N[d+12>>2];f=g+1|0;f=(f|0)>0?f:0;if(f>>>0<=e>>>0){break d}while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}if(e>>>0<=357913941){g=$a(N[d+16>>2],T(e,12));if(g){break e}}N[d+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;d=589824;break c}N[d+8>>2]=e;N[d+16>>2]=g;g=N[d+12>>2]}if(f>>>0>g>>>0){G(N[d+16>>2]+T(g,12)|0,0,T(f-g|0,12))}N[d+12>>2]=f;d=(N[d+16>>2]+T(f,12)|0)-12|0}if(N[N[a+44>>2]+8>>2]<0){N[a+24>>2]=N[a+24>>2]|1}N[d+8>>2]=c;N[d>>2]=N[d>>2]&-64|2;a=N[N[a+44>>2]>>2];N[d>>2]=2;N[d+4>>2]=b-a}return}ba(9271,14296,479,13575);F()}ba(11056,14296,480,13575);F()}function GE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=N[N[a+112>>2]>>2];a:{if(!j){break a}e=N[c+68>>2];if(!e){break a}f=e-1|0;g=N[c+80>>2];d=g+3|0;a=0;b=O[g+15|0];while(1){b:{if((a|0)==(f|0)){a=e;break b}a=a+1|0;if((b|0)==O[(d+T(a,20)|0)+12|0]){continue}}break}k=g+2|0;d=0;i=g;f=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){h=T(d,20);a=h+g|0;if(!(N[a+4>>2]&j)){break c}if(O[a+12|0]&16){L[(h+k|0)+16|0]=18;i=N[c+80>>2];f=N[c+68>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;l=d-1|0;m=i+3|0;h=O[(T(b,20)+i|0)+15|0];a=b;while(1){d:{if((a|0)==(l|0)){a=d;break d}a=a+1|0;if((h|0)==O[(T(a,20)+m|0)+12|0]){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}return 0}function Bm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;N[a+44>>2]=b;Xc(N[a>>2],b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[N[c+712>>2]+3080>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}e=Qa[b|0](e)|0;if(!e){break a}g=N[N[a>>2]+712>>2];c=N[g+1440>>2];h=N[N[a+40>>2]>>2];Qa[N[e+4>>2]](N[h>>2],N[a+16>>2],N[a+20>>2],0,0);b=N[g+2024>>2];if(!b){break a}while(1){d=N[a+16>>2];b=b-1|0;i=b<<2;f=N[N[(i+g|0)+2028>>2]+68>>2];b:{if((f|0)!=(c|0)){d=jb(d,c,f);f=jb(N[a+20>>2],c,f);break b}f=N[a+20>>2]}Qa[N[e+4>>2]](N[(h+i|0)+4>>2],d,f,0,0);if(b){continue}break}}return 0}function lh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{e=T(c,12);b:{if(e){if(Q[b+4>>2]>a>>>0){break b}g=N[b+8>>2];if(g>>>0>>0|e>>>0>g-a>>>0){break b}e=N[b+12>>2]-e|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!c){return 1}j=N[b+4>>2];g=0;while(1){e=T(g,12)+a|0;if(e>>>0>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<12){break a}h=N[b+12>>2]-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}c:{i=O[e+2|0]|O[e+3|0]<<8;if(!i){break c}e=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0;if(e>>>0>>0|e>>>0>f>>>0){break a}f=f-e|0;e=((i<<8|i>>>8)&65535)<<2;if(f>>>0>>0){break a}e=h-e|0;N[b+12>>2]=e;if((e|0)>0){break c}break a}f=1;g=g+1|0;if((g|0)!=(c|0)){continue}break}}return f}return 0}function FC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=U(0),h=U(0),i=U(0),j=U(0);d=b+16|0;f=N[b+12>>2];c=N[b+8>>2];j=U(N[a+4>>2]);i=U(N[a>>2]);a:{b:{if(O[b+4|0]){if(!N[d>>2]){break a}g=R[b+20>>2];h=R[b+24>>2];if(!(g==R[b+28>>2]&h==R[b+32>>2])){e=N[c+16>>2];a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[e|0](c,f,d,g,h,a)}a=N[c+28>>2];e=N[c+32>>2];if(!e){Qa[a|0](c,f,d,0);break b}Qa[a|0](c,f,d,N[e+16>>2]);break b}i=U(U(j*R[b>>2])+i);if(!N[b+16>>2]){break a}g=R[b+20>>2];h=R[b+24>>2];if(!(g==R[b+28>>2]&h==R[b+32>>2])){e=N[c+16>>2];a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[e|0](c,f,d,g,h,a)}e=N[c+28>>2];a=N[c+32>>2];if(a){a=N[a+16>>2]}else{a=0}Qa[e|0](c,f,d,a)}N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0}R[b+32>>2]=j;R[b+28>>2]=i;return 0}function Zn(a,b,c,d,e,f){var g=0;g=La-80|0;La=g;a:{if((f|0)>=16384){Gb(g+32|0,b,c,d,e,0,0,0,2147352576);d=N[g+40>>2];e=N[g+44>>2];b=N[g+32>>2];c=N[g+36>>2];if(f>>>0<32767){f=f-16383|0;break a}Gb(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)>=49149?49149:f)-32766|0;d=N[g+24>>2];e=N[g+28>>2];b=N[g+16>>2];c=N[g+20>>2];break a}if((f|0)>-16383){break a}Gb(g- -64|0,b,c,d,e,0,0,0,7471104);d=N[g+72>>2];e=N[g+76>>2];b=N[g+64>>2];c=N[g+68>>2];if(f>>>0>4294934644){f=f+16269|0;break a}Gb(g+48|0,b,c,d,e,0,0,0,7471104);f=((f|0)<=-48920?-48920:f)+32538|0;d=N[g+56>>2];e=N[g+60>>2];b=N[g+48>>2];c=N[g+52>>2]}Gb(g,b,c,d,e,0,0,0,f+16383<<16);b=N[g+12>>2];N[a+8>>2]=N[g+8>>2];N[a+12>>2]=b;b=N[g+4>>2];N[a>>2]=N[g>>2];N[a+4>>2]=b;La=g+80|0}function By(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=nb(c);b=f+18|0;a:{b:{if((f|0)>=-17){a=N[a>>2];b=Qa[N[a+4>>2]](a,b)|0;if(b){break b}return 64}a=6;if(b){break a}b=0}B(b,c,f);c=b+f|0;a=O[17697]|O[17698]<<8;L[c+16|0]=a;L[c+17|0]=a>>>8;a=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);f=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[c+8|0]=f;L[c+9|0]=f>>>8;L[c+10|0]=f>>>16;L[c+11|0]=f>>>24;L[c+12|0]=a;L[c+13|0]=a>>>8;L[c+14|0]=a>>>16;L[c+15|0]=a>>>24;a=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);f=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[c|0]=f;L[c+1|0]=f>>>8;L[c+2|0]=f>>>16;L[c+3|0]=f>>>24;L[c+4|0]=a;L[c+5|0]=a>>>8;L[c+6|0]=a>>>16;L[c+7|0]=a>>>24;N[d>>2]=b;N[e>>2]=0;a=0}return a|0}function We(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}b=N[a+80>>2];if(b){Qa[b|0](N[a+48>>2])}b=N[a+84>>2];if(b){Qa[b|0](N[a+52>>2])}b=N[a+88>>2];if(b){Qa[b|0](N[a+56>>2])}b=N[a+92>>2];if(b){Qa[b|0](N[a+60>>2])}b=N[a+96>>2];if(b){Qa[b|0](N[a- -64>>2])}b=N[a+100>>2];if(b){Qa[b|0](N[a+68>>2])}b=N[a+104>>2];if(b){Qa[b|0](N[a+72>>2])}b=N[a+108>>2];if(b){Qa[b|0](N[a+76>>2])}We(N[a+12>>2]);_a(a)}return}ba(23506,14099,270,7918);F()}function md(a,b){var c=0,d=0,e=0;a:{b:{switch(O[a|0]){case 0:c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}c=(c<<8|c>>>8)&65535;b=b>>>0>>0?b:c-1|0;d=O[a+1|0];e=d>>>4&3;c=e+1|0;b=T(b,c)+a|0;a=O[b+4|0];c:{if(!e){break c}a=O[b+5|0]|a<<8;if((c|0)==2){break c}a=O[b+6|0]|a<<8;if((c|0)==3){break c}a=O[b+7|0]|a<<8}b=(d&15)+1|0;return a>>>b<<16|(-1<>>8&65280|c>>>24);b=b>>>0>>0?b:c-1|0;d=O[a+1|0];e=d>>>4&3;c=e+1|0;b=T(b,c)+a|0;a=O[b+6|0];d:{if(!e){break d}a=O[b+7|0]|a<<8;if((c|0)==2){break d}a=O[b+8|0]|a<<8;if((c|0)==3){break d}a=O[b+9|0]|a<<8}b=(d&15)+1|0;b=a>>>b<<16|(-1<>2];if(e){d=N[e+3132>>2];if(!d){a=N[a+100>>2];d=Qa[N[a+4>>2]](a,2)|0;if(!d){return 64}M[d>>1]=0;a=N[e+1500>>2];a:{if((a|0)==65535){break a}b:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[e+1356>>2]){break a}a=N[N[e+1360>>2]+(a<<2)>>2];break b}f=N[e+3084>>2];if(!f){break a}a=Qa[N[f+20>>2]](a)|0}if(!a){break a}a=ub(a,15611);if(!a){break a}a=a+7|0;f=ub(a,15269);if(!f|(a|0)==(f|0)){break a}while(1){c:{c=O[a|0];d:{if((c-48&255)>>>0<=9){c=P[d>>1];if(c>>>0>6551){break c}c=T(c,10);M[d>>1]=c;M[d>>1]=(c+L[a|0]|0)-48;break d}c=c-10|0;if(c>>>0>22|!(1<>1]=0}N[e+3132>>2]=d}M[b>>1]=P[d>>1]}return 0}function Up(a,b){var c=0,d=0,e=0;a:{b:{c:{if(!b){break c}c=N[b>>2];if(!c){break c}if((c|0)<=0){break b}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;e=N[b+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break a}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}d:{e:{if(e>>>0>=36){N[a+12>>2]=c-36;c=O[d|0]|O[d+1|0]<<8;ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if((c|0)!=256){break e}if(!N[b+4>>2]){break d}N[b+4>>2]=0;return b}ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}ab(b);b=275552}return b}ba(23506,14099,260,16403);F()}ba(16656,14279,195,9642);F()}function nd(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=U(0),k=0,l=U(0),m=U(0);i=a+16|0;j=U(U(e)*c);c=U(U(d)*b);k=N[a+12>>2];g=N[a+8>>2];a:{if(O[a+4|0]){if(!N[i>>2]){h=N[g+12>>2];b=R[a+28>>2];l=R[a+32>>2];f=N[g+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[h|0](g,k,i,b,l,f);N[a+16>>2]=1;f=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=f}f=N[g+16>>2];h=N[g+32>>2];if(!h){Qa[f|0](g,k,i,c,j,0);break a}Qa[f|0](g,k,i,c,j,N[h+4>>2]);break a}b=U(j*R[a>>2]);if(!N[a+16>>2]){h=N[g+12>>2];l=R[a+28>>2];m=R[a+32>>2];f=N[g+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[h|0](g,k,i,l,m,f);N[a+16>>2]=1;f=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=f}h=N[g+16>>2];c=U(b+c);f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[h|0](g,k,i,c,j,f)}R[a+32>>2]=j;R[a+28>>2]=c}function ei(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c>>31;i=(d^c)-d|0;a:{b:{d=b>>31;d=(d^b)-d|0;f=a>>31;f=(f^a)-f|0;if(d+f>>>0<=131071){d=T(d,f);break b}h=d>>>16|0;g=f>>>16|0;e=T(h,f&65535)+T(g,d&65535)|0;d=T(d,f);e=((e>>>16|0)+T(h,g)|0)+(d>>>0>>0)|0;if(!e){break b}f=2147483647;if(e>>>0>=i>>>0){break a}h=W(e);g=32-h|0;e=d>>>g|e<>>0)/(i>>>0)|0;e=e-T(f,i)|0;d=d<>>31;g=e>>>0>=i>>>0;e=e-(g?i:0)|0;f=g|f<<1;g=h^31;d=d<<1}if((h|0)==31){break a}while(1){e=e<<1|d>>>31;h=e>>>0>=i>>>0;e=d>>>30&1|e-(h?i:0)<<1;j=e>>>0>=i>>>0;e=e-(j?i:0)|0;f=f<<2|h<<1|j;d=d<<2;g=g-2|0;if(g){continue}break}break a}f=(d>>>0)/(i>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-f|0:f}function Zq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=275552;c=N[N[N[a+4>>2]+144>>2]>>2];c=c?c:275552;d=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[d|0]|O[d+1|0]<<8)!=256){break a}c=275552;f=O[d+8|0]|O[d+9|0]<<8;if(f){c=d+((f<<8|f>>>8)&65535)|0}d=O[c|0]|O[c+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}b=(b<<1)+c|0;b=O[b+2|0]|O[b+3|0]<<8;if(!b){break a}e=((b<<8|b>>>8)&65535)+c|0}c=O[e+4|0]|O[e+5|0]<<8;if(c){b=O[e|0]|O[e+1|0]<<8;f=(b<<8|b>>>8)&65535;b=e+4|0;c=(c<<8|c>>>8)&65535;g=c>>>0<=1?1:c;c=0;while(1){d=O[b|0]|O[b+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=c>>>0?275552:(b+(c<<1)|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+e|0}else{d=275552}Xj(d,a,f);c=c+1|0;if((g|0)!=(c|0)){continue}break}}}function Ev(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La-32|0;La=c;e=N[b+96>>2];a:{if((e|0)<0|N[a+300>>2]<=(e|0)){break a}g=N[a+304>>2];if((Qa[N[b+52>>2]](b,6,c,3)|0)<6){break a}f=N[c+12>>2];if(!f){break a}h=T(e,252)+g|0;i=h+216|0;d=f>>31;d=(d^f)-d|0;b:{if((d|0)==65536){a=N[c>>2];break b}k=a,l=fb(1e3,d),M[k+68>>1]=l;a=fb(N[c>>2],d);k=c,l=fb(N[c+4>>2],d),N[k+4>>2]=l;k=c,l=fb(N[c+8>>2],d),N[k+8>>2]=l;k=c,l=fb(N[c+16>>2],d),N[k+16>>2]=l;j=N[c+20>>2];N[c+12>>2]=(f|0)<0?-65536:65536;k=c,l=fb(j,d),N[k+20>>2]=l}N[i>>2]=a;a=T(e,252)+g|0;N[a+224>>2]=N[c+4>>2];N[a+220>>2]=N[c+8>>2];N[a+228>>2]=N[c+12>>2];if(!hg(i)){N[b+12>>2]=3;break a}N[h+232>>2]=M[c+18>>1];N[a+236>>2]=M[c+22>>1]}La=c+32|0}function sy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}e=N[a+396>>2];g=e<<2;h=N[a+400>>2];b:{i=N[a+388>>2];c:{if(e>>>0>=i>>>0){f=g;e=h;break c}f=i<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(g|0)>=(f|0)|!e){break e}G(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;B(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){e=cg(a);j=N[a+392>>2]+(b<<2)|0,k=fb(c,e),N[j>>2]=k}}function dz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=La-32|0;La=e;d=N[a+28>>2];N[e+16>>2]=d;f=N[a+20>>2];N[e+28>>2]=c;N[e+24>>2]=b;b=f-d|0;N[e+20>>2]=b;f=b+c|0;i=2;b=e+16|0;a:{while(1){b:{c:{d=Ia(N[a+60>>2],b|0,i|0,e+12|0)|0;if(d){N[147316]=d;d=-1}else{d=0}d:{if(!d){g=N[e+12>>2];if((g|0)==(f|0)){break d}if((g|0)>=0){break c}break b}if((f|0)!=-1){break b}}b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;N[a+16>>2]=b+N[a+48>>2];a=c;break a}h=N[b+4>>2];j=h>>>0>>0;d=(j<<3)+b|0;h=g-(j?h:0)|0;N[d>>2]=h+N[d>>2];b=(j?12:4)+b|0;N[b>>2]=N[b>>2]-h;f=f-g|0;i=i-j|0;b=d;continue}break}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a>>2]=N[a>>2]|32;a=0;if((i|0)==2){break a}a=c-N[b+4>>2]|0}La=e+32|0;return a|0}function $p(a,b,c){var d=0,e=0;a:{b:{switch(O[a|0]){case 0:if(!b|b>>>0>=c>>>0){break a}a=((b<<1)+a|0)-1|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)&65535;case 1:if(!b|b>>>0>=c>>>0){break a}c=a+1|0;a=O[a+3|0];b=b-1|0;if(a>>>0>>0){while(1){b=(a^-1)+b|0;d=d+1|0;a=O[(c+T(d,3)|0)+2|0];if(b>>>0>a>>>0){continue}break}}a=c+T(d,3)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)&65535)+b|0;case 2:break b;default:break a}}if(!b|b>>>0>=c>>>0){break a}c=a+1|0;a=O[a+3|0]|O[a+4|0]<<8;a=(a<<8|a>>>8)&65535;b=b-1|0;if(a>>>0>>0){while(1){e=a^-1;d=d+1|0;a=c+(d<<2)|0;a=O[a+2|0]|O[a+3|0]<<8;a=(a<<8|a>>>8)&65535;b=b+e|0;if(a>>>0>>0){continue}break}}a=c+(d<<2)|0;a=O[a|0]|O[a+1|0]<<8;d=((a<<8|a>>>8)&65535)+b|0}return d}function PC(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=U(0),j=U(0),k=0,l=0,m=0,n=0,o=0;h=La-16|0;La=h;k=N[b+12>>2];a:{if(O[b+6|0]){if(k){a=N[k+128>>2];j=U(N[a+4>>2]);i=U(N[a>>2])}else{i=U(0)}i=U(U(aa(U(U(i*i)+U(j*j))))*U(152587890625e-16));break a}i=U(N[a+28>>2]>>31|1)}if(c){n=N[b>>2];o=b+20|0;while(1){N[h+12>>2]=0;b=N[d>>2];l=((b&255)<<2)+o|0;a=N[l>>2];b:{if(!((a|0)==-1|(a>>>24|0)!=(b>>>8|0))){a=a&16777215;break b}In(k,b,n,h+12|0);a=N[h+12>>2];if(b>>>0>65535|a>>>0>16777215){break b}N[l>>2]=b<<16&-16777216|a}j=U(U(U(a|0)*i)+U(512));c:{if(U(V(j))>2]=a>>10;f=f+g|0;d=d+e|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}La=h+16|0}function vl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=N[a+68>>2];h=N[a+36>>2];if((h|0)!=N[b+36>>2]){a=N[b+68>>2];if(f){return a?1:2}return((a|0)!=0)<<1}c=2;a:{b:{if((f|0)!=N[b+68>>2]){break b}if(!f){return 0}d=N[b+80>>2];e=N[a+80>>2];c=0;while(1){c=N[e>>2]==N[d>>2]?c:c|16;c=N[e+8>>2]==N[d+8>>2]?c:c|32;c=(N[d+4>>2]^N[e+4>>2])&7?c|64:c;d=d+20|0;e=e+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((h|0)!=2){break b}if(!O[a+63|0]){break a}f=f>>>0<=1?1:f;d=N[b+88>>2];e=N[a+88>>2];g=0;while(1){c:{if(!(N[e>>2]!=N[d>>2]|N[e+4>>2]!=N[d+4>>2]|N[e+8>>2]!=N[d+8>>2])){if(N[e+12>>2]==N[d+12>>2]){break c}}return c|128}d=d+20|0;e=e+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}return c}ba(10592,17855,2111,15199);F()}function Hd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{d=N[b+4>>2];c=a+4|0;if(d>>>0>c>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-c>>>0<2){break a}e=N[b+12>>2];h=e-2|0;N[b+12>>2]=h;g=1;if((h|0)<=0){break a}b:{c:{d:{c=O[c|0]|O[c+1|0]<<8;h=c<<8|c>>>8;c=h&65535;if(c-1>>>0>=3){if((c|0)!=32768){break b}if(a>>>0>=d>>>0){break d}break a}if(a>>>0>>0){break a}f=f-a|0;if(f>>>0<6){break a}c=e-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=O[a|0]|O[a+1|0]<<8;d=(d<<8|d>>>8)&65535;a=O[a+2|0]|O[a+3|0]<<8;a=(a<<8|a>>>8)&65535;e=c-6|0;if(d>>>0>a>>>0){break c}a=(a-d>>>4-(h&65535)<<1)+8|0;if(!a){break b}g=0;if(a>>>0>f>>>0){break b}e=c-a|0;break c}g=0;if(f-a>>>0<6){break b}e=e-8|0}g=e;N[b+12>>2]=g;g=(g|0)>0}return g}return 0}function eB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;N[a+32>>2]=c;a:{b:{if((b|0)<0){d=6;break b}c:{d:{e:{f:{if(b){d=10;if((b|0)>536870911){break b}f=b<<2;d=Qa[N[c+4>>2]](c,f)|0;if(d?(b|0)>0:0){break f}N[a+24>>2]=d;e=a+24|0;if(d){break e}d=!d<<6;break a}N[a+24>>2]=0;N[a+28>>2]=0;break d}G(d,0,f);N[a+24>>2]=d;e=a+24|0}d=Qa[N[c+4>>2]](c,f)|0;if(!(!d|(b|0)<=0)){G(d,0,f);N[a+28>>2]=d;break d}N[a+28>>2]=d;if(!d){break c}}N[a+20>>2]=0;N[a+16>>2]=b;N[a+8>>2]=0;N[a+12>>2]=-559038737;N[a>>2]=0;N[a+4>>2]=0;b=N[73522];N[a+36>>2]=N[73521];N[a+40>>2]=b;b=N[73524];N[a+44>>2]=N[73523];N[a+48>>2]=b;return 0}d=!d<<6;a=N[e>>2];if(!a){break a}Qa[N[c+8>>2]](c,a);break a}N[a+24>>2]=0;e=a+24|0}N[e>>2]=0;return d|0}function gx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=La-1536|0;La=f;a:{b:{if(d&16){if(!c){break b}d=0;G(e,0,c<<2);break a}d=Qa[N[N[N[a+492>>2]+12>>2]>>2]](f+8|0,a,0,0,N[a+424>>2],N[a+532>>2],0,0,147)|0;if(d){break a}L[f+76|0]=0;L[f+78|0]=1;N[f+1372>>2]=N[a+404>>2];N[f+1376>>2]=N[a+408>>2];N[f+1380>>2]=N[a+412>>2];N[f+1384>>2]=N[a+416>>2];N[f+1504>>2]=N[a+548>>2];N[f+1508>>2]=N[a+544>>2];d=0;if(!c){break a}a=0;while(1){h=(a<<2)+e|0;g=f+1528|0;c:{if(!Ze(f+8|0,a+b|0,g,f+1527|0)){d=N[N[N[f+12>>2]+128>>2]+52>>2];if(d){Qa[N[N[d>>2]+4>>2]](N[d+4>>2],g)}d=N[f+48>>2];d=((d>>31)+d|0)+32768>>16;break c}d=0}N[h>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}La=f+1536|0;return d|0}function Jf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=U(0),k=0,l=0,m=0,n=0,o=0;f=La-16|0;La=f;h=N[b+76>>2];g=N[b+72>>2];N[f>>2]=0;k=e;a:{b:{c:{if(!(h|g)){break c}e=O[a+6|0]|O[a+7|0]<<8;N[f+4>>2]=0;i=N[b+96>>2];l=N[i+76>>2];m=N[b+100>>2];n=(e<<8|e>>>8)&65535;o=f+4|0;e=N[i+12>>2];if(e){e=N[e+56>>2]}else{e=0}if(!(Qa[l|0](b,m,c,n,o,f,e)|0)){break c}Id(b,c,f+12|0,f+8|0);c=N[f+8>>2];e=N[f>>2];d:{if(g){R[d>>2]=N[f+4>>2]-N[f+12>>2]|0;if(h){break d}break b}g=d;d=O[a+2|0]|O[a+3|0]<<8;R[g>>2]=R[b+44>>2]*U((d<<8|d>>>8)<<16>>16);if(!h){break b}}j=U(e-c|0);break a}c=O[a+2|0]|O[a+3|0]<<8;R[d>>2]=R[b+44>>2]*U((c<<8|c>>>8)<<16>>16)}a=O[a+4|0]|O[a+5|0]<<8;j=U(R[b+48>>2]*U((a<<8|a>>>8)<<16>>16))}R[k>>2]=j;La=f+16|0}function ij(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=U(0),l=U(0);h=a+16|0;l=U(U(e)*c);c=U(U(d)*b);j=N[a+12>>2];g=N[a+8>>2];a:{b:{if(O[a+4|0]){if(!N[h>>2]){break a}k=R[a+20>>2];b=R[a+24>>2];if(!(k==R[a+28>>2]&b==R[a+32>>2])){i=N[g+16>>2];f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[i|0](g,j,h,k,b,f)}f=N[g+28>>2];i=N[g+32>>2];if(!i){Qa[f|0](g,j,h,0);break b}Qa[f|0](g,j,h,N[i+16>>2]);break b}c=U(U(l*R[a>>2])+c);if(!N[a+16>>2]){break a}k=R[a+20>>2];b=R[a+24>>2];if(!(k==R[a+28>>2]&b==R[a+32>>2])){i=N[g+16>>2];f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[i|0](g,j,h,k,b,f)}i=N[g+28>>2];f=N[g+32>>2];if(f){f=N[f+16>>2]}else{f=0}Qa[i|0](g,j,h,f)}N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0}R[a+32>>2]=l;R[a+28>>2]=c}function me(a,b,c){var d=0,e=0,f=0;d=O[b|0];if((d|0)==30){return Wf(a,b,c,0)}f=b+1|0;a:{b:{switch(d-28|0){case 0:e=0;if(Q[a+8>>2]<=b+2>>>0){break a}e=(O[b+2|0]|O[f|0]<<8)<<16>>16;break a;case 1:e=0;if(Q[a+8>>2]<=b+4>>>0){break a}a=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);e=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break a;default:break b}}e=d-139|0;if(d>>>0<=246){break a}a=N[a+8>>2];if(d>>>0<=250){e=0;if(a>>>0<=f>>>0){break a}e=(O[f|0]|d<<8)-63124|0;break a}e=0;if(a>>>0<=f>>>0){break a}e=64148-(O[f|0]|d<<8)|0}d=e;if(c){a=c<<2;b=d>>31;if(N[a+33520>>2]<((b^d)-b|0)){return(d|0)>0?2147483647:-2147483647}d=T(N[a+33472>>2],d)}return(d|0)>32767?2147483647:(d|0)<-32767?-2147483647:d<<16}function Qe(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=b;b=O[a+2|0]|O[a+3|0]<<8;b=c-((b<<8|b>>>8)&65535)|0;d=O[a+4|0]|O[a+5|0]<<8;c=275552;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break b}c=((b<<1)+a|0)+6|0;break b}f=241305;c=O[a+2|0]|O[a+3|0]<<8;e:{if(!c){break e}g=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;e=T(d,6)+g|0;h=O[e|0]|O[e+1|0]<<8;f:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){c=O[e+2|0]|O[e+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}f=T(d,6)+g|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}c=f+4|0}a=O[c|0]|O[c+1|0]<<8;c=(a<<8|a>>>8)&65535}return c}function py(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}e=N[a+396>>2];g=e<<2;h=N[a+400>>2];b:{i=N[a+388>>2];c:{if(e>>>0>=i>>>0){f=g;e=h;break c}f=i<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(g|0)>=(f|0)|!e){break e}G(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;B(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){a=N[a+392>>2]+(b<<2)|0;N[a>>2]=N[a>>2]+c}}function gb(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{if(!O[a+60|0]){break c}if(Q[a+148>>2]>>0){L[a+60|0]=0;return 0}e=N[a+80>>2];f=N[a+84>>2];if(b>>>0>214748364){break b}d=N[a+76>>2];if(d>>>0<=b>>>0){while(1){d=((d>>>1|0)+d|0)+32|0;if(d>>>0<=b>>>0){continue}break}}c=TE(d,0,20,0);if(Pa){break b}b=$a(N[a+88>>2],c);c=$a(N[a+80>>2],c);if(!(c?b:0)){L[a+60|0]=0;d:{if(b){N[a+88>>2]=b;if(!c){break d}break a}b=N[a+88>>2];if(c){break a}}N[a+84>>2]=(e|0)==(f|0)?N[a+80>>2]:b;return 0}N[a+88>>2]=b;N[a+80>>2]=c;N[a+84>>2]=(e|0)==(f|0)?c:b;if(!O[a+60|0]){break c}N[a+76>>2]=d;g=1}return g}L[a+60|0]=0;N[a+84>>2]=(e|0)==(f|0)?e:N[a+88>>2];return 0}N[a+80>>2]=c;N[a+84>>2]=(e|0)==(f|0)?c:b;return 0}function Qk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];c=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);a:{if((c|0)==-1){break a}d=275552;e=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((e<<8|e>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}a=O[d|0]|O[d+1|0]<<8;if(!a){break a}e=(a<<8|a>>>8)&65535;c=d+2|0;while(1){a=O[c|0]|O[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}f=O[a|0]|O[a+1|0]<<8;g=(f<<8|f>>>8)&65535;h=a+4|0;a=O[a+2|0]|O[a+3|0]<<8;f=Pe(b,g,h,(a<<8|a>>>8)&65535,(f?(g<<1)-2|0:0)+h|0,246,0);if(f){break a}c=c+2|0;e=e-1|0;if(e){continue}break}}return f|0}function Oc(a,b){var c=0,d=0,e=0,f=0;c=La+-64|0;La=c;d=N[a>>2];e=N[d-4>>2];f=N[d-8>>2];N[c+28>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;d=0;L[c+59|0]=0;L[c+60|0]=0;L[c+61|0]=0;L[c+62|0]=0;N[c+20>>2]=0;N[c+24>>2]=0;N[c+16>>2]=584492;N[c+12>>2]=a;N[c+8>>2]=b;a=a+f|0;a:{if(Zb(e,b,0)){N[c+56>>2]=1;Qa[N[N[e>>2]+20>>2]](e,c+8|0,a,a,1,0);d=N[c+32>>2]==1?a:0;break a}Qa[N[N[e>>2]+24>>2]](e,c+8|0,a,1,0);b:{switch(N[c+44>>2]){case 0:d=N[c+48>>2]==1?N[c+36>>2]==1?N[c+40>>2]==1?N[c+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(N[c+32>>2]!=1){if(N[c+48>>2]|N[c+36>>2]!=1|N[c+40>>2]!=1){break a}}d=N[c+24>>2]}La=c- -64|0;return d}function Ke(a){var b=0;ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(N[a+96>>2]){N[a+96>>2]=0}_a(N[a+100>>2]);N[a+100>>2]=0;N[a+92>>2]=0;N[a+96>>2]=0;b=N[a+196>>2];if(b){while(1){b=(N[a+200>>2]+(b<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+196>>2]-1|0;N[a+196>>2]=b;if(b){continue}break}}_a(N[a+200>>2]);N[a+200>>2]=0;N[a+192>>2]=0;N[a+196>>2]=0;b=N[a+208>>2];if(b){while(1){b=(N[a+212>>2]+T(b,24)|0)-24|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+208>>2]-1|0;N[a+208>>2]=b;if(b){continue}break}}_a(N[a+212>>2]);N[a+212>>2]=0;N[a+204>>2]=0;N[a+208>>2]=0;ab(N[a+44>>2]);N[a+44>>2]=0}function Wp(a){var b=0;ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;b=N[a+108>>2];if(b){while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b){continue}break}}_a(N[a+112>>2]);N[a+112>>2]=0;N[a+104>>2]=0;N[a+108>>2]=0;b=N[a+120>>2];if(b){while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b){continue}break}}_a(N[a+124>>2]);N[a+124>>2]=0;N[a+116>>2]=0;N[a+120>>2]=0;ab(N[a+44>>2]);N[a+44>>2]=0}function Sw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=La-16|0;La=f;g=N[a+532>>2];d=6;a:{if(!g){break a}h=N[g+4>>2];Kh(N[g+136>>2],f,h);i=b>>>0>h>>>0?h:b;if(i){while(1){n=j<<2;k=N[n+f>>2];d=T(j,12)+g|0;e=N[d+96>>2];b:{if((k|0)>N[e>>2]){a=1;l=O[d+88|0];if(l>>>0>1){while(1){m=a<<2;o=N[m+e>>2];if((k|0)<=(o|0)){a=m-4|0;e=N[a+e>>2];e=fb(k-e|0,o-e|0);d=N[d+92>>2];a=N[d+a>>2];a=T(N[d+m>>2]-a|0,e)+(a<<16)|0;break b}a=a+1|0;if((l|0)!=(a|0)){continue}break}}a=N[(N[d+92>>2]+(l<<2)|0)-4>>2]<<16;break b}a=N[N[d+92>>2]>>2]<<16}N[c+n>>2]=a;j=j+1|0;if((i|0)!=(j|0)){continue}break}}d=0;if(b>>>0<=h>>>0){break a}G((i<<2)+c|0,0,b-i<<2);d=0}La=f+16|0;return d|0}function Gf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=La-16|0;La=f;h=N[b+4>>2];a:{if(h>>>0>a>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}i=N[b+12>>2];e=i-4|0;N[b+12>>2]=e;d=1;if((e|0)<=0){d=0;break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(!e){break a}if(e&128){d=0;break a}c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0;b:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break b}d=i-12|0;N[b+12>>2]=d;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<=0){break b}if(!ih(c+2|0,b,c)){break b}N[f+12>>2]=c;d=1;if(hh(c+6|0,b,f+12|0)){break a}}c=N[b+28>>2];if(c>>>0>31){d=0;break a}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;d=1}La=f+16|0;return d}function oy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}e=N[a+396>>2];g=e<<2;h=N[a+400>>2];b:{i=N[a+388>>2];c:{if(e>>>0>=i>>>0){f=g;e=h;break c}f=i<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(g|0)>=(f|0)|!e){break e}G(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;B(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){N[N[a+392>>2]+(b<<2)>>2]=c}}function ul(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-108|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[d+8>>2]=0;N[d+12>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;L[d+24|0]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+28>>2]=0;N[d+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[d+40|0]=1;N[d+36>>2]=c;c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1836020344,N[b+16>>2])|0;if(b){break b}}b=275552}c=tl(d,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<8?275552:N[b+12>>2]}function sl(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-112|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[d+8>>2]=0;N[d+12>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;L[d+24|0]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+28>>2]=0;N[d+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[d+40|0]=1;N[d+36>>2]=c;c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1836020340,N[b+16>>2])|0;if(b){break b}}b=275552}c=rl(d,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<8?275552:N[b+12>>2]}function nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=O[a+2|0]|O[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=275552}e=N[b+96>>2];c=vb(c,N[N[e+80>>2]+T(N[e+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=275552;d=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}a=O[e|0]|O[e+1|0]<<8;if(!a){break a}c=(a<<8|a>>>8)&65535;g=c>>>0<=1?1:c;a=0;f=1;while(1){d=O[e|0]|O[e+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=a>>>0?275552:((a<<1)+e|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+e|0}else{d=275552}if(jk(d,b)){break a}a=a+1|0;f=c>>>0>a>>>0;if((a|0)!=(g|0)){continue}break}}return f|0}function Hr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=b-44032|0;a:{b:{if(a>>>0<=11171){f=a&65535;e=(f>>>0)%28|0;if(e){a=e+4519|0;N[c>>2]=b-e;break b}b=(f>>>0)/588|0;a=(((a+T(b,-588)&65535)>>>0)/28|0)+4449|0;N[c>>2]=b|4352;break b}a=0;if(b>>>0>195101){break a}b=P[(O[(b>>>4&31|O[(b>>>9|0)+207950|0]<<5)+208332|0]<<5|(b&15)<<1)+221152>>1];if(!b){break a}if(b>>>0<=935){if(b>>>0<=825){b=P[(b<<1)+234510>>1]}else{b=P[(b<<1)+234524>>1]|131072}N[c>>2]=b;break b}a=b-936|0;if(a>>>0<=637){a=N[(a<<2)+228848>>2];N[c>>2]=a>>>21;a=a>>>14&127|768;break b}b=(b<<3)+218816|0;a=N[b>>2];b=N[b+4>>2];N[c>>2]=b>>>10;a=((b&2097151)<<11|a>>>21)&2097151}N[d>>2]=a;a=1}return a|0}function Zw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=La+-64|0;La=d;Qa[N[b+60>>2]](b,d+16|0,4,d+12|0);c=N[d+12>>2];a:{if((c|0)<0){c=162;break a}if(c-5>>>0<4294967292){c=3;break a}c=_f(a,0,c);if(c){break a}c=0;if(N[d+12>>2]<=0){break a}g=N[a+100>>2];j=N[a+532>>2];a=0;while(1){h=(d+16|0)+T(a,12)|0;c=N[h>>2];if(O[c|0]==47){c=c+1|0;N[h>>2]=c}e=N[h+4>>2];if((e|0)==(c|0)){c=3;break a}i=(a<<2)+j|0;f=N[i+8>>2];if(f){Qa[N[g+8>>2]](g,f)}b:{e=e-c|0;if(e>>>0>2147483646){c=6}else{f=Qa[N[g+4>>2]](g,e+1|0)|0;if(f){break b}c=64}N[i+8>>2]=0;break a}N[i+8>>2]=f;B(f,N[h>>2],e);c=0;L[e+f|0]=0;a=a+1|0;if((a|0)>2]){continue}break}}N[b+12>>2]=c;La=d- -64|0}function Ew(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{if(!b){break b}c=30544;c:{if(!cb(9676,b)){break c}c=30552;if(!cb(10423,b)){break c}c=30560;if(!cb(10670,b)){break c}c=30568;if(!cb(12514,b)){break c}c=30576;if(!cb(15866,b)){break c}c=30584;if(!cb(9592,b)){break c}c=30592;if(!cb(10557,b)){break c}c=30600;if(!cb(20421,b)){break c}c=30608;if(!cb(11276,b)){break c}if(cb(16921,b)){break b}c=30616}c=N[c+4>>2];if(c){break a}}c=0;if(!a){break a}a=N[a+4>>2];if(!a){break a}d=N[a+16>>2];if((d|0)<=0){break a}a=a+20|0;d=a+(d<<2)|0;while(1){e=N[a>>2];f=N[e>>2];if(cb(N[f+8>>2],9195)){a=a+4|0;if(d>>>0>a>>>0){continue}break a}break}c=Qa[N[f+32>>2]](e,b)|0}return c|0}function zz(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{if(!a){if(N[b>>2]){break b}tb(N[b+8>>2]);return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+44>>2];N[a+40>>2]=N[b+40>>2];N[a+44>>2]=c;c=N[b+36>>2];N[a+32>>2]=N[b+32>>2];N[a+36>>2]=c;c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;c:{switch(N[b>>2]-1|0){case 0:d=N[b+8>>2];c=N[b+12>>2];b=kb(c+1|0);if(b){B(b,d,c);L[b+c|0]=0}N[a+8>>2]=b;return(b|0)!=0|0;case 1:break c;default:break b}}a=N[b+8>>2];if(!a){break b}if(!N[a-8>>2]){break a}a=a-4|0;b=N[a>>2];if(!b){break a}N[a>>2]=b+1}return 1}ba(8916,18290,435,15229);F()}function Nd(a){var b=0,c=0,d=0,e=0;c=N[a+436>>2];a:{if(!c){break a}b=N[a+428>>2];if((b|0)<=0){break a}b=T(b,24)+c|0;d=O[a+376|0];while(1){if(!(!O[c+16|0]|(d|0)!=O[c+12|0])){b=N[a+448>>2];if((b|0)>=N[a+452>>2]){N[a+12>>2]=130;return}N[a+448>>2]=b+1;b=N[a+456>>2]+(b<<4)|0;N[b>>2]=N[a+360>>2];d=N[a+368>>2];N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=d+1;b=N[c>>2];b:{if(b-4>>>0<=4294967292){N[a+12>>2]=132;break b}d=(b-1<<3)+a|0;e=N[d+464>>2];if(!e){N[a+12>>2]=138;break b}d=N[d+468>>2];c=N[c+4>>2];if((d|0)<(c|0)){N[a+12>>2]=131;break b}N[a+372>>2]=d;N[a+364>>2]=e;N[a+368>>2]=c;N[a+360>>2]=b}L[a+384|0]=0;return}c=c+24|0;if(b>>>0>c>>>0){continue}break}}N[a+12>>2]=128}function bh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-32|0;La=f;d=275552;e=O[a+2|0]|O[a+3|0]<<8;e=((((e<<8|e>>>8)&65535)<<1)+a|0)+4|0;if(O[e|0]|O[e+1|0]<<8){c=e+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=0;g=d;d=N[b+96>>2];if((vb(g,N[N[d+80>>2]+T(N[d+64>>2],20)>>2])|0)!=-1){c=O[e|0]|O[e+1|0]<<8;h=(c<<8|c>>>8)&65535;c=e+(h<<1)|0;d=O[c+2|0]|O[c+3|0]<<8;N[f+28>>2]=a;N[f+24>>2]=a;N[f+20>>2]=a;N[f+16>>2]=247;N[f+12>>2]=247;N[f+8>>2]=247;i=c+4|0;j=(d<<8|d>>>8)&65535;c=i+(j<<1)|0;d=O[c|0]|O[c+1|0]<<8;g=b;b=O[a+2|0]|O[a+3|0]<<8;c=Lf(g,(b<<8|b>>>8)&65535,a+4|0,h,e+4|0,j,i,(d<<8|d>>>8)&65535,c+2|0,f+8|0)}La=f+32|0;return c}function xl(a,b,c,d){var e=0,f=0,g=0,h=0;e=a+1|0;f=L[a|0];g=f&255;if((f|0)>=0){N[c>>2]=g;return e}a:{if(g-194>>>0<=29){if(b>>>0<=e>>>0){break a}b=O[a+1|0]-128|0;if(b>>>0>=64){break a}N[c>>2]=b|g<<6&1984;return a+2|0}if((g&240)==224){if((b-e|0)<2){break a}b=O[e|0]-128|0;if(b>>>0>63){break a}f=O[a+2|0]-128|0;if(f>>>0>63){break a}b=f|(g<<12&61440|b<<6);if(b>>>0<2048|(b&-2048)==55296){break a}N[c>>2]=b;return a+3|0}if((b-e|0)<3|g-240>>>0>4){break a}b=O[e|0]-128|0;if(b>>>0>63){break a}f=O[a+2|0]-128|0;if(f>>>0>63){break a}h=O[a+3|0]-128|0;if(h>>>0>63){break a}b=g<<18&1835008|b<<12|f<<6|h;if(b-65536>>>0>=1048576){break a}e=a+4|0;d=b}N[c>>2]=d;return e}function VC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;a=0;N[e+12>>2]=0;a:{if(!c|!(O[c+8|0]&8)){break a}d=N[c+96>>2];f=N[N[d>>2]+32>>2];if(!f){break a}d=Qa[f|0](d,16067)|0;if(!d){break a}f=e+12|0;if(Qa[N[d>>2]](c,b,0,0,f)|0){break a}d=kb(N[e+12>>2]);if(!d){break a}b:{c:{if(!(O[c+8|0]&8)){break c}g=N[c+96>>2];h=N[N[g>>2]+32>>2];if(!h){break c}g=Qa[h|0](g,16067)|0;if(!g){break c}if(!(Qa[N[g>>2]](c,b,0,d,f)|0)){break b}}_a(d);break a}d:{b=N[e+12>>2];if(!b|(b|0)<0){break d}a=db(1,32);if(!a){break d}N[a+28>>2]=192;N[a+24>>2]=d;N[a+20>>2]=2;N[a+16>>2]=b;N[a+12>>2]=d;N[a>>2]=1;N[a+4>>2]=1;break a}_a(d);a=275552}La=e+16|0;return a|0}function Oo(a,b){var c=0,d=0,e=0,f=0,g=0;a:{d=N[a+16>>2];if((d|0)!=N[a+12>>2]){c=N[a+24>>2];break a}b:{f=(d<<1)+16|0;c=N[a+8>>2];if(f>>>0<=2147483647/(c>>>0)>>>0){d=N[a+24>>2];g=T(c,f);c=N[a+20>>2];c:{if((g|c)<0){c=d;break c}e=N[a>>2];if(!g){c=0;if(!d){break b}Qa[N[e+8>>2]](e,d);break b}if(!c){c=Qa[N[e+4>>2]](e,g)|0;if(c){break b}c=0;break c}e=Qa[N[e+12>>2]](e,c,g,d)|0;c=e?e:d;if(e){break b}}N[a+24>>2]=c}a=N[a+4>>2];if(!(!a|N[a>>2])){N[a>>2]=64}return}N[a+20>>2]=g;N[a+12>>2]=f;N[a+24>>2]=c;d=N[a+16>>2];if(f>>>0>=d>>>0){break a}b=N[a+4>>2];if(!(!b|N[b>>2])){N[b>>2]=130}N[a+16>>2]=f;return}e=d;d=N[a+8>>2];B(T(e,d)+c|0,b,d);N[a+16>>2]=N[a+16>>2]+1}function Ng(a){var b=0,c=0,d=0,e=0;a:{b:{if(O[a+62|0]){b=N[a+84>>2];c=N[a+80>>2];d=N[a+72>>2];if(!((b|0)==(c|0)&(d|0)==N[a+64>>2])){e=d+1|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break b}d=N[a+72>>2];c=N[a+80>>2];b=N[a+84>>2]}c:{if((b|0)!=(c|0)){break c}if(d+1>>>0<=N[a+64>>2]+1>>>0){b=c;break c}if(!O[a+62|0]){break a}b=N[a+88>>2];N[a+84>>2]=b;e=T(d,20);if(!e){break c}B(b,c,e);d=N[a+72>>2];b=N[a+84>>2];c=N[a+80>>2]}b=T(d,20)+b|0;c=T(N[a+64>>2],20)+c|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;d=N[a+72>>2]}N[a+72>>2]=d+1}N[a+64>>2]=N[a+64>>2]+1}return}ba(8694,17855,209,11932);F()}function iw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+712>>2];a:{b:{if(!e){break b}f=N[e+1504>>2];a=6;if((f|0)==65535){break a}if(b){a=N[e+3096>>2];if(!a){c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=Q[e+1356>>2]){break c}g=N[N[e+1360>>2]+(f<<2)>>2];break c}a=N[e+3084>>2];g=0;if(!a){break c}g=Qa[N[a+20>>2]](f)|0}a=g;N[e+3096>>2]=a}N[b>>2]=a}if(c){a=N[e+3100>>2];if(!a){a=0;b=N[e+1508>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[e+1356>>2]){break d}a=N[N[e+1360>>2]+(b<<2)>>2];break d}f=N[e+3084>>2];if(!f){break d}a=Qa[N[f+20>>2]](b)|0}N[e+3100>>2]=a}N[c>>2]=a}if(!d){break b}N[d>>2]=N[e+1512>>2]}a=0}return a|0}function Ll(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=N[a+28>>2];a:{if((b|0)==-1){break a}d=N[a+36>>2];f=N[a+40>>2];if(d>>>0>=f>>>0){break a}g=N[a>>2];e=b+1|0;h=N[a+16>>2]+16|0;while(1){b:{b=T(d,12)+h|0;c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0>>0?e:c;c=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(e>>>0>(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break b}b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b|b>>>0>=Q[g+16>>2]){break b}N[a+36>>2]=d;N[a+32>>2]=b;N[a+28>>2]=e;return}d=d+1|0;if((f|0)!=(d|0)){continue}break}}L[a+24|0]=0}function FE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=N[c+68>>2];if(e){f=e-1|0;g=N[c+80>>2];d=g+3|0;a=0;b=O[g+15|0];while(1){a:{if((a|0)==(f|0)){a=e;break a}a=a+1|0;if((b|0)==O[(d+T(a,20)|0)+12|0]){continue}}break}i=g+2|0;d=0;h=g;f=e;while(1){b=a;b:{if(a>>>0<=d>>>0){break b}while(1){a=T(d,20);if(O[(a+g|0)+12|0]&16){L[(a+i|0)+16|0]=22;h=N[c+80>>2];f=N[c+68>>2];break b}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;j=d-1|0;k=h+3|0;l=O[(T(b,20)+h|0)+15|0];a=b;while(1){c:{if((a|0)==(j|0)){a=d;break c}a=a+1|0;if(O[(T(a,20)+k|0)+12|0]==(l|0)){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}return 0}function Wz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;a=0;N[e+12>>2]=0;a:{if(!c|!(O[c+8|0]&8)){break a}d=N[c+96>>2];f=N[N[d>>2]+32>>2];if(!f){break a}d=Qa[f|0](d,16067)|0;if(!d){break a}f=e+12|0;if(Qa[N[d>>2]](c,b,0,0,f)|0){break a}d=kb(N[e+12>>2]);if(!d){break a}b:{c:{if(!(O[c+8|0]&8)){break c}g=N[c+96>>2];h=N[N[g>>2]+32>>2];if(!h){break c}g=Qa[h|0](g,16067)|0;if(!g){break c}if(Qa[N[g>>2]](c,b,0,d,f)|0){break c}b=N[e+12>>2];if(!b|(b|0)<0){break b}a=db(1,32);if(!a){break b}N[a+28>>2]=192;N[a+24>>2]=d;N[a+20>>2]=2;N[a+16>>2]=b;N[a+12>>2]=d;N[a>>2]=1;N[a+4>>2]=1;break a}_a(d);break a}_a(d);a=275552}La=e+16|0;return a|0}function Xt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=La-16|0;La=d;h=6;f=N[a+140>>2];a:{if(!f|!b|(!N[f+72>>2]|!O[b|0])){break a}e=N[f+92>>2];N[d+8>>2]=b;g=N[e+20>>2];b=g+((Qa[N[e+12>>2]](d+8|0)>>>0)%Q[e+4>>2]<<2)|0;a=N[b>>2];b:{if(!a){break b}while(1){if(Qa[N[e+16>>2]](a,d+8|0)|0){break b}b=b-4|0;if(g>>>0>b>>>0){b=((N[e+4>>2]<<2)+g|0)-4|0}a=N[b>>2];if(a){continue}break}}a=N[b>>2];if(!a){break a}b=N[f+80>>2];if(!b){break a}c:{d:{e:{f:{a=b+(N[a+4>>2]<<4)|0;switch(N[a+4>>2]-1|0){case 2:break d;case 1:break e;case 0:break f;default:break a}}N[c>>2]=1;break c}N[c>>2]=2;break c}N[c>>2]=3}N[c+4>>2]=N[a+12>>2];h=0}La=d+16|0;return h|0}function NC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=U(0),i=U(0),j=U(0);f=N[b+12>>2];a:{if(O[b+6|0]){if(f){a=N[f+128>>2];h=U(N[a+12>>2]);i=U(N[a+4>>2]);j=U(N[a>>2]);g=U(N[a+8>>2])}else{g=U(0)}h=U(U(aa(U(U(g*g)+U(h*h))))*U(152587890625e-16));g=U(U(aa(U(U(j*j)+U(i*i))))*U(152587890625e-16));break a}h=U(N[a+32>>2]>>31|1);g=U(N[a+28>>2]>>31|1)}if(uc(f,c,N[b>>2])){return 0}a=N[f+84>>2];N[d>>2]=N[a+32>>2]-N[a+44>>2];N[e>>2]=N[a+48>>2]+N[a+36>>2];g=U(g*U(N[d>>2]));b:{if(U(V(g))>2]=a;g=U(h*U(N[e>>2]));c:{if(U(V(g))>2]=a;return 1}function Gd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=N[b+12>>2];c=N[a>>2];d=Qa[N[g+24>>2]](g,c,N[g+56>>2])|0;if(c>>>0>=128){h=N[b+144>>2];N[b+144>>2]=h|1;f=d;a:{if(!Cj(c)){break a}N[b+144>>2]=h|3;e=c-6155|0;f=d|96;if(!(e>>>0>4|(e|0)==3)){break a}b:{switch(c-8204|0){case 0:f=d|544;break a;case 1:f=d|288;break a;default:break b}}e=d|96;f=e;if(c-917536>>>0<=95){break a}f=d|32;if((c|0)!=847){break a}N[b+144>>2]=h|19;f=e}e=f;if(d>>>0>31){M[a+16>>1]=e;return}if(!(1<>1]=e;return}b=65024;c:{if((c|0)==6752|(c|0)==4038){break c}b=32512;if((c|0)==3897){break c}b=O[(Qa[N[g+16>>2]](g,c,N[g+48>>2])|0)+265296|0]<<8}d=b|e|128}M[a+16>>1]=d}function Pk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{c:{if(c){a=N[b+96>>2];d=O[a+140|0];c=0;if(d&8){break b}L[a+140|0]=d|8;d=N[a+68>>2];d:{if(!d){break d}c=0;if(d>>>0>=4){f=d&-4;while(1){L[(N[a+80>>2]+T(c,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|1,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|2,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|3,20)|0)+15|0]=255;c=c+4|0;if((f|0)!=(c|0)){continue}break}}d=d&3;if(!d){break d}while(1){L[(N[a+80>>2]+T(c,20)|0)+15|0]=255;c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}N[b+160>>2]=255;break c}N[b+160>>2]=-1;a=N[b+96>>2];b=O[a+140|0];if(!(b&8)){break a}L[a+140|0]=b&247}c=1}return c|0}ba(22742,14165,187,12136);F()}function $m(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[a>>2];if(!k){return 65536}f=65536;a:{if(!(b&16384)){while(1){b=f;e=h<<2;d=N[e+c>>2];b:{if(!d){break b}e=N[e+N[a+8>>2]>>2];if(!e){return 0}if((d|0)==(e|0)){break b}f=0;if((e|0)<(d&d>>31)|(e|0)>(((d|0)>0?d:0)|0)){break a}f=jb(b,e,d)}h=h+1|0;if(k>>>0>h>>>0){continue}break a}}while(1){b=f;g=h<<2;j=N[g+c>>2];c:{if(!j){break c}f=0;i=N[g+N[a+8>>2]>>2];if(!i){break a}if((i|0)==(j|0)){f=b;break c}l=N[d+g>>2];if((l|0)>=(i|0)){break a}g=N[e+g>>2];if((g|0)<=(i|0)){break a}if((i|0)<(j|0)){f=jb(b,i-l|0,j-l|0);break c}f=jb(b,g-i|0,g-j|0)}h=h+1|0;if((k|0)!=(h|0)){continue}break}}return f}function wx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+736>>2];a:{if(!f){d=qe(a,0);if(d){break a}f=N[a+736>>2]}if(!N[f+4>>2]){d=$f(a,0,0,1);if(d){break a}}e=N[f>>2];e=b>>>0>e>>>0?e:b;b:{if(O[a+733|0]){if(!e){e=0;break b}f=N[f+8>>2];a=0;if(e>>>0>=4){h=e&-4;while(1){d=a<<2;N[d+c>>2]=N[d+f>>2];g=d|4;N[g+c>>2]=N[f+g>>2];g=d|8;N[g+c>>2]=N[f+g>>2];d=d|12;N[d+c>>2]=N[d+f>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[f+h>>2];a=a+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break b}if(!e){e=0;break b}G(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}G((e<<2)+c|0,0,b-e<<2)}return d|0}function vx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+736>>2];a:{if(!f){d=qe(a,0);if(d){break a}f=N[a+736>>2]}if(!N[f+4>>2]){d=$f(a,0,0,1);if(d){break a}}e=N[f>>2];e=b>>>0>e>>>0?e:b;b:{if(O[a+733|0]){if(!e){e=0;break b}f=N[f+4>>2];a=0;if(e>>>0>=4){h=e&-4;while(1){d=a<<2;N[d+c>>2]=N[d+f>>2];g=d|4;N[g+c>>2]=N[f+g>>2];g=d|8;N[g+c>>2]=N[f+g>>2];d=d|12;N[d+c>>2]=N[d+f>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[f+h>>2];a=a+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break b}if(!e){e=0;break b}G(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}G((e<<2)+c|0,0,b-e<<2)}return d|0}function Rg(a,b){a:{b:{c:{d:{switch(a>>>12|0){case 0:a=a-1536|0;if(a>>>0<739){break c}break b;case 1:if(a-6150>>>0>164){break b}a=a-5411|0;break c;case 2:if(a-8204>>>0>93){break b}a=a-7300|0;break c;case 10:if(a-43072>>>0>51){break b}a=a-42074|0;break c;case 16:if(a-68288>>>0<=47){a=a-67238|0;break c}if(a-68480>>>0<=47){a=a-67382|0;break c}if(a-68864>>>0<=35){a=a-67718|0;break c}if(a-69424>>>0>155){break b}a=a-68242|0;break c;case 17:if(a-69821>>>0>16){break b}a=a-68483|0;break c;case 30:break d;default:break b}}if(a-125184>>>0>75){break b}a=a-123829|0}a=O[a+238400|0];if((a|0)!=8){break a}}a=b>>>0<=31?1<>2];a:{b:{c:{e=N[a+60>>2];if((e|0)>=0){d=f+1|0;d=(d|0)>0?d:0;if(d>>>0<=e>>>0){break b}while(1){e=((e>>>1|0)+e|0)+8|0;if(d>>>0>=e>>>0){continue}break}if(e>>>0<=153391689){g=$a(N[a+68>>2],T(e,28));f=N[a+64>>2];if(g){break c}}N[a+60>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;d=589824;break a}N[a+60>>2]=e;N[a+68>>2]=g}if(d>>>0>f>>>0){G(N[a+68>>2]+T(f,28)|0,0,T(d-f|0,28))}N[a+64>>2]=d;f=d;d=(N[a+68>>2]+T(d,28)|0)-28|0}N[d+12>>2]=c;N[d+8>>2]=1;N[d+4>>2]=f;N[d>>2]=b;N[d+16>>2]=0-(c&1)&1;N[d+20>>2]=N[a+52>>2];N[d+24>>2]=N[a+56>>2]}}function WB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-128|0;La=f;if((c|0)>0){k=(T((b|0)!=0,36)+a|0)+16|0;while(1){j=(c|0)>=16?16:c;g=j<<1;b=0;while(1){e=h;h=b<<2;e=e+N[h+d>>2]|0;N[f+h>>2]=(e+(e>>31)|0)+32768>>16;i=h|4;h=e+N[i+d>>2]|0;N[f+i>>2]=((h>>31)+h|0)+32768>>16;b=b+2|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;i=(e|4)+f|0;N[i>>2]=N[i>>2]-N[e+f>>2];b=b+2|0;if(g>>>0>b>>>0){continue}break}a:{if(N[a+4>>2]){break a}b=f;e=j;while(1){g=of(k,N[b>>2],N[b+4>>2],N[a>>2],0);if(g){N[a+4>>2]=g;break a}b=b+8|0;g=(e|0)>1;e=e-1|0;if(g){continue}break}}c=c-j|0;if((c|0)>0){continue}break}}La=f+128|0}function Af(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=N[a+28>>2];i=c&1073741823;c=(i>>>0)%Q[a+24>>2]|0;e=N[(f+T(c,12)|0)+4>>2];a:{b:{if(e&1073741824){o=N[a+20>>2];a=-1;while(1){c:{if((e&1073741823)!=(i|0)){break c}h=T(c,12)+f|0;g=N[h>>2];j=N[g+4>>2];d=N[g>>2];k=j-d|0;l=N[b>>2];if((k|0)!=(N[b+4>>2]-l|0)){break c}m=N[g+12>>2];if((m|0)!=N[b+12>>2]){break c}if((d|0)!=(j|0)){if(Mb(d,l,k)){break c}}d=T(m,12);if(!d){break a}if(!Mb(N[g+16>>2],N[b+16>>2],d)){break a}}a=(a|0)==-1?(e|0)>=0?-1:c:a;n=n+1|0;c=n+c&o;e=N[(T(c,12)+f|0)+4>>2];if(e&1073741824){continue}break}if((a|0)!=-1){break b}}a=c}h=T(a,12)+f|0}return h}function bg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=N[a+760>>2];a:{if(h>>>0>b>>>0){f=N[a+764>>2];b:{if(P[a+210>>1]){e=f+(b<<2)|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=g;if(e+8>>>0>f+(h<<2)>>>0){break b}d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}e=f+(b<<1)|0;d=O[e|0]<<8|O[e+1|0];g=d<<1;if(e+4>>>0<=f+(h<<1)>>>0){d=O[e+3|0]|O[e+2|0]<<8}d=d<<1}f=0;a=N[a+724>>2];if(a>>>0>>0){N[c>>2]=0;return 0}if(a>>>0>>0){d=a;e=0;if((h-2|0)!=(b|0)){break a}}a=d>>>0>>0?a:d}else{a=0}f=a-g|0;e=g}N[c>>2]=f;return e|0}function Bc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+4>>2];h=N[a>>2];a:{if(!h){if(!f){break a}N[a+4>>2]=(f|0)<0?-65536:65536;return}if(!f){N[a>>2]=(h|0)<0?-65536:65536;return}b=f>>31;c=(b^f)-b|0;b=h>>31;d=(b^h)-b|0;e=c>>>0>>0?(c>>>1|0)+d|0:c+(d>>>1|0)|0;b=W(e);b=(-1431655766>>>b>>>0>e>>>0?-15:-16)+b|0;b:{if((b|0)>0){d=d<>>0>>0?d+(c>>>1|0)|0:(d>>>1|0)+c|0;break b}g=e;e=0-b|0;b=g>>>e|0;c=c>>>e|0;d=d>>>e|0}b=65536-b|0;while(1){e=(T(b,d)>>16)+d|0;g=(T(b,c)>>16)+c|0;i=T((T(e,e)+T(g,g)|0)/-512|0,b+65536>>8);b=(i>>>16|0)+b|0;if((i|0)>65535){continue}break}N[a+4>>2]=(f|0)<0?0-g|0:g;N[a>>2]=(h|0)<0?0-e|0:e}}function fb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=2147483647;a:{if(!b){break a}c=a>>31;c=(c^a)-c|0;d=b>>31;d=(d^b)-d|0;if(c>>>0<=(d>>>17^65535)>>>0){g=((c<<16)+(d>>>1|0)>>>0)/(d>>>0)|0;break a}f=d>>>1|0;i=f+(c<<16)|0;c=(c>>>16|0)+(f>>>0>i>>>0)|0;if(c>>>0>=d>>>0){break a}f=W(c);h=32-f|0;c=i>>>h|c<>>0)/(d>>>0)|0;e=c-T(d,g)|0;c=i<>>31;h=e>>>0>=d>>>0;e=e-(h?d:0)|0;g=h|g<<1;h=31-f|0;c=c<<1}if((f|0)==31){break a}while(1){e=e<<1|c>>>31;f=e>>>0>=d>>>0;e=c>>>30&1|e-(f?d:0)<<1;i=e>>>0>=d>>>0;e=e-(i?d:0)|0;g=g<<2|f<<1|i;c=c<<2;h=h-2|0;if(h){continue}break}}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-g|0:g}function Yg(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=N[b+12>>2]-2|0;N[b+12>>2]=f;d=1;if((f|0)<=0){break b}h=O[a|0]|O[a+1|0]<<8;if(!h){break a}d=a+2|0;if(d>>>0>e>>>0){break b}g=e-d|0;e=(h<<8|h>>>8)&65535;d=e<<2;if(g>>>0>>0){break b}f=f-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break a}f=e>>>0<=1?1:e;e=0;while(1){h=(e<<2)+a|0;d=h+2|0;if(d>>>0>2]){break b}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break b}d=N[c>>2];g=N[b+12>>2]-4|0;N[b+12>>2]=g;if((g|0)<=0){break b}if(!Hf(h+4|0,b,d)){break b}d=1;e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}d=0}return d}function Cq(a){a=a|0;var b=0,c=0,d=0,e=0;d=N[a+88>>2];a:{b:{c:{c=N[a+84>>2];if((c|0)>=0){b=d+1|0;b=(b|0)>0?b:0;if(b>>>0<=c>>>0){break b}while(1){c=((c>>>1|0)+c|0)+8|0;if(b>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){e=$a(N[a+92>>2],T(c,28));d=N[a+88>>2];if(e){break c}}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=c;N[a+92>>2]=e}if(b>>>0>d>>>0){G(N[a+92>>2]+T(d,28)|0,0,T(b-d|0,28))}N[a+88>>2]=b;d=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=d;N[b>>2]=1667329140;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function bt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=N[a+872>>2];a:{if(!f){break a}j=N[f+36>>2];if(!j|!P[f>>1]){break a}g=N[f+16>>2];if(!g){break a}i=N[f+20>>2];if(N[d>>2]|!i){break a}l=i+4|0;a=0;while(1){b:{e=(g-a>>>1|0)+a|0;h=T(e,6)+l|0;k=O[h|0]<<8|O[h+1|0];c:{if(k>>>0>>0){a=e+1|0;break c}g=e;if(b>>>0>=k>>>0){break b}}e=0;if(a>>>0>>0){continue}break a}break}e=0;a=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!b){break a}a=N[f+40>>2];if(a>>>0>>0){break a}g=a+j|0;a=b+i|0;if(g>>>0<=a>>>0){break a}N[d>>2]=a;L[d+4|0]=!c;e=1}return e|0}function vi(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a+20>>2];if(d>>>0>b>>>0){g=a+8|0;c:{d:{while(1){c=N[a+8>>2];if(!c){break d}e=N[c+24>>2];if(!e){break b}N[a+8>>2]=N[c+16>>2];f=N[c+28>>2]-1|0;N[c+28>>2]=f;e:{if(f){N[c+20>>2]=0;break e}f=N[c+8>>2];if(f){N[f+12>>2]=N[c+12>>2]}N[N[c+12>>2]>>2]=f;N[a+20>>2]=(((e|0)!=1?-32:0)-e|0)+d;N[a+32>>2]=N[a+32>>2]-1;d=N[a+16>>2];if((d|0)!=N[c+4>>2]){break a}e=c+32|0;Qa[N[d+16>>2]](e+(N[d+24>>2]+7&-8)|0,e);_a(c);d=N[a+20>>2]}if(b>>>0>>0){continue}break}b=N[a+8>>2];if(!b){break d}a=b+20|0;break c}a=a+12|0}N[a>>2]=g}return}ba(15298,18290,469,8706);F()}ba(17656,18290,424,13135);F()}function Yw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=La-208|0;La=d;f=N[a+532>>2];Qa[N[b+60>>2]](b,d+16|0,16,d+12|0);e=N[d+12>>2];a:{if((e|0)<0){c=162;break a}c=3;if(e-17>>>0<4294967280){break a}b:{c:{d:{if(f){g=N[f>>2];if(g){break d}}c=_f(a,e,0);if(c){break a}e=N[b+8>>2];g=N[b>>2];if(N[d+12>>2]<=0){break b}f=N[a+532>>2];break c}if((e|0)!=(g|0)){break a}e=N[b+8>>2];g=N[b>>2]}c=0;while(1){a=(d+16|0)+T(c,12)|0;N[b>>2]=N[a>>2];N[b+8>>2]=N[a+4>>2];a=Qa[N[b+40>>2]](b,0)|0;h=c<<2;N[h+N[f+136>>2]>>2]=a;N[N[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}N[b+8>>2]=e;N[b>>2]=g;c=0}N[b+12>>2]=c;La=d+208|0}function Pf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!a){return 35}e=16;a:{if(P[a+264>>1]<=b>>>0){break a}d=N[a+544>>2];if(!d){return 7}e=0;g=c,h=Qa[N[d+16>>2]](0)|0,N[g>>2]=h;f=c;c=N[a+476>>2];b:{if((c|0)!=151552){if((c|0)!=131072){if((c|0)!=65536|b>>>0>257){break a}a=Qa[N[d+16>>2]](b)|0;break b}if(!O[a+632|0]){if(Tl(a)){break a}}if(P[a+636>>1]<=b>>>0){break a}b=P[N[a+640>>2]+(b<<1)>>1];if(b>>>0<=257){a=Qa[N[d+16>>2]](b)|0;break b}a=N[(N[a+644>>2]+(b<<2)|0)-1032>>2];break b}if(!O[a+632|0]){if(Tl(a)){break a}}if(P[a+636>>1]<=b>>>0){break a}a=Qa[N[d+16>>2]](L[N[a+640>>2]+b|0]+b|0)|0}N[f>>2]=a}return e|0}function xf(a){var b=0,c=0,d=0,e=0;mq(a);N[a+60>>2]=-57005;c=N[a+68>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;d=N[c+12>>2]+T(b,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[c+8>>2]=b;if(e){Qa[e|0](d);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+68>>2]=0}b=N[a+88>>2];if(b){_a(b);N[a+88>>2]=0}N[a+76>>2]=0;N[a+72>>2]=N[a+72>>2]&1;if(N[a+52>>2]){N[a+52>>2]=0}_a(N[a+56>>2]);N[a+56>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+28>>2]=0;c=N[a+36>>2];a:{if(!c){break a}b=N[a+40>>2];while(1){_a(N[b>>2]);b=b+4|0;c=c-1|0;if(c){continue}break}if(!N[a+36>>2]){break a}N[a+36>>2]=0}_a(N[a+40>>2]);N[a+40>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0}function mj(a){var b=0;Wp(a);b=N[a+120>>2];if(b){while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b){continue}break}}_a(N[a+124>>2]);N[a+124>>2]=0;N[a+116>>2]=0;N[a+120>>2]=0;b=N[a+108>>2];if(b){while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b){continue}break}}_a(N[a+112>>2]);N[a+112>>2]=0;N[a+104>>2]=0;N[a+108>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;return a}function Np(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;return 0}function ks(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=N[a+16>>2];c=O[a+8204|0]|O[a+8205|0]<<8|(O[a+8206|0]<<16|O[a+8207|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b=b-e|0;f=a>>>0<=(b^-1)>>>0?a+b|0:0}return f|0}function Xb(a,b,c){var d=0,e=0,f=0,g=0;g=N[b+12>>2];d=N[b+16>>2];f=N[a+48>>2];e=N[a+52>>2];if(f>>>0>e>>>0){e=N[a+44>>2]}e=e-f|0;e=d>>>0>e>>>0?e:d;N[b+16>>2]=d-e;N[b+20>>2]=e+N[b+20>>2];d=N[a+56>>2];if(d){d=Qa[d|0](N[a+60>>2],f,e)|0;N[a+60>>2]=d;N[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;B(g,f,e);g=e+g|0;d=e+f|0;if((d|0)==N[a+44>>2]){e=N[a+40>>2];f=N[a+52>>2];if((f|0)==(d|0)){N[a+52>>2]=e;f=e}f=f-e|0;d=N[b+16>>2];f=d>>>0>f>>>0?f:d;N[b+16>>2]=d-f;N[b+20>>2]=f+N[b+20>>2];d=N[a+56>>2];if(d){d=Qa[d|0](N[a+60>>2],e,f)|0;N[a+60>>2]=d;N[b+48>>2]=d}B(g,e,f);d=e+f|0;g=f+g|0;c=(c|0)==-5?f?0:c:c}N[b+12>>2]=g;N[a+48>>2]=d;return c}function wf(a){var b=0;b=N[a+208>>2];if(b){while(1){b=(N[a+212>>2]+T(b,24)|0)-24|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+208>>2]-1|0;N[a+208>>2]=b;if(b){continue}break}}_a(N[a+212>>2]);N[a+212>>2]=0;N[a+204>>2]=0;N[a+208>>2]=0;b=N[a+196>>2];if(b){while(1){b=(N[a+200>>2]+(b<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+196>>2]-1|0;N[a+196>>2]=b;if(b){continue}break}}_a(N[a+200>>2]);N[a+200>>2]=0;N[a+192>>2]=0;N[a+196>>2]=0;if(N[a+96>>2]){N[a+96>>2]=0}_a(N[a+100>>2]);N[a+100>>2]=0;N[a+92>>2]=0;N[a+96>>2]=0;return a}function Ni(a,b){var c=0,d=0,e=0,f=0;d=N[a>>2];if(d>>>0>>0){while(1){c=d+1|0;a:{b:{c:{d:{e:{e=O[d|0];switch(e-40|0){case 1:break c;case 0:break d;default:break e}}if((e|0)!=92){break a}if((b|0)==(c|0)){N[a>>2]=b;return 3}f:{e=O[c|0];switch(e-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}if((e&248)!=48|b>>>0<=c>>>0){break a}c=d+2|0;if(c>>>0>=b>>>0|(O[c|0]&248)!=48){break a}c=d+3|0;if(c>>>0>=b>>>0){break a}c=(O[d+3|0]&248)==48?d+4|0:c;break a}f=f+1|0;break a}f=f-1|0;if(f){break a}N[a>>2]=c;return 0}c=d+2|0}d=c;if(d>>>0>>0){continue}break}}N[a>>2]=d;return 3}function Ek(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=La-32|0;La=f;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}g=N[d+64>>2];c=vb(c,N[N[d+80>>2]+T(g,20)>>2]);a:{if((c|0)==-1){break a}h=O[a+6|0]|O[a+7|0]<<8;if(c>>>0>=((h<<8|h>>>8)&65535)>>>0){break a}if(N[d+156>>2]){e=N[b+88>>2];N[f+16>>2]=g;ib(d,e,17402,f+16|0)}e=O[a+4|0]|O[a+5|0]<<8;c=T(XE(e),c);if((c|0)<0){c=275552}else{e=O[a+4|0]|O[a+5|0]<<8;c=((c<<1)+a|0)+8|0}fe(e,b,a,c,N[d+88>>2]+T(N[d+64>>2],20)|0);a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[f>>2]=N[a+64>>2];ib(a,b,17446,f)}e=1;N[d+64>>2]=N[d+64>>2]+1}La=f+32|0;return e}function Rf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;if(N[a+184>>2]<0){return-9}h=N[b>>2];g=N[a+52>>2];f=N[a+64>>2];i=N[a+276>>2];j=(((g|0)<(f|0)?g:f)-i|0)+T(f,N[a+272>>2])|0;g=h>>>0>>0?h:j;f=h;a:{if(!c){break a}f=N[a+96>>2]+(i&N[a+68>>2])|0;i=N[c>>2];if(!i){N[c>>2]=f;f=h;break a}B(i,f,g);N[c>>2]=g+N[c>>2];f=N[b>>2]}N[b>>2]=f-g;b=g+N[a+276>>2]|0;N[a+276>>2]=b;if(d){N[d>>2]=b}c=1<>2];b=N[a+64>>2];if(h>>>0>>0){return e?3:(b|0)==(c|0)?3:1}b:{if((b|0)!=(c|0)){break b}c=N[a+52>>2];if((c|0)<(b|0)){break b}N[a+52>>2]=c-b;N[a+272>>2]=N[a+272>>2]+1;M[a+560>>1]=P[a+560>>1]&65527|((b|0)!=(c|0))<<3}return 1}function Fl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=N[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;j=g+2|0;k=N[a+16>>2]+14|0;while(1){c=(b<<1)+k|0;e=O[c|0]<<8|O[c+1|0];N[a+44>>2]=e;c=c+j|0;h=O[c|0]<<8|O[c+1|0];N[a+40>>2]=h;c=c+g|0;d=O[c|0]|O[c+1|0]<<8;N[a+48>>2]=(d<<8|d>>>8)<<16>>16;d=c+g|0;c=O[d|0]<<8|O[d+1|0];c:{if((h|0)!=65535|b>>>0>>0|(e|0)!=65535){break c}if(!c){break b}e=N[a>>2];if((c+d|0)+2>>>0<=N[e+508>>2]+N[e+512>>2]>>>0){break c}N[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}N[a+36>>2]=b;N[a+52>>2]=c;return 0}function Rs(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=3;g=b+2|0;a:{if(g>>>0>c>>>0){break a}i=c;c=O[b+1|0]|O[b|0]<<8;if(i>>>0<(c<<2)+g>>>0){break a}b=N[a+12>>2];i=O[b+14|0];j=P[b+12>>1];k=P[b+10>>1];l=O[b+8|0];m=P[b+6>>1];n=P[b+4>>1];b:{if(!c){h=0;break b}f=f+1|0;b=0;while(1){h=Pl(a,O[g+1|0]|O[g|0]<<8,L[g+2|0]+d|0,L[g+3|0]+e|0,f,0);if(!h){g=g+4|0;b=b+1|0;if((c|0)!=(b|0)){continue}}break}b=N[a+12>>2]}M[b+14>>1]=i;M[b+8>>1]=l;M[b+12>>1]=j<<24>>24;M[b+10>>1]=k<<24>>24;M[b+6>>1]=m<<24>>24;M[b+4>>1]=n<<24>>24;a=N[a+8>>2];M[b+2>>1]=O[a+4|0];M[b>>1]=O[a|0]}return h|0}function Gn(a,b,c,d){var e=0,f=0,g=0,h=0;a:{e=d>>31;f=(e^d)-e|0;e=a>>31;if((f+((e^a)-e|0)|0)>131071){break a}e=c>>31;f=(e^c)-e|0;e=b>>31;if((f+((e^b)-e|0)|0)>131071){break a}a=T(a,d);b=T(b,c);return(a|0)>(b|0)?1:(a|0)<(b|0)?-1:0}f=d>>>16|0;g=T(f,a&65535);h=a>>>16|0;e=g+T(h,d&65535)|0;a=T(a,d);e=(((e>>>16|0)+T(h,f)|0)+((e>>>0>>0)<<16)|0)+(a>>>0>>0)|0;f=c>>>16|0;g=T(f,b&65535);h=b>>>16|0;d=g+T(h,c&65535)|0;b=T(b,c);c=(((d>>>16|0)+T(h,f)|0)+((d>>>0>>0)<<16)|0)+(b>>>0>>0)|0;d=1;b:{if(e>>>0>c>>>0){break b}d=-1;if(c>>>0>e>>>0){break b}d=1;if(a>>>0>b>>>0){break b}d=a>>>0>>0?-1:0}return d}function Se(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}N[a>>2]=-57005;if(N[a+28>>2]){N[a+28>>2]=0}_a(N[a+32>>2]);N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;if(N[a+40>>2]){N[a+40>>2]=0}_a(N[a+44>>2]);N[a+44>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;if(N[a+28>>2]){N[a+28>>2]=0}_a(N[a+32>>2]);_a(a)}return}ba(23506,14099,270,7918);F()}function oz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(N[a>>2]!=N[b>>2]|N[a+4>>2]!=N[b+4>>2]|(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2])){break a}if(N[a+16>>2]!=N[b+16>>2]|N[a+20>>2]!=N[b+20>>2]){break a}d=N[a+24>>2];if((d|0)!=N[b+24>>2]){break a}if(!d){g=1;break a}e=N[a+28>>2];f=N[b+28>>2];if(N[e>>2]!=N[f>>2]){break a}while(1){b=T(c,24);a=b+e|0;b=b+f|0;if(N[a+4>>2]!=N[b+4>>2]|N[a+8>>2]!=N[b+8>>2]|(N[a+12>>2]!=N[b+12>>2]|N[a+16>>2]!=N[b+16>>2])){break a}if(N[a+20>>2]!=N[b+20>>2]){break a}c=c+1|0;g=d>>>0<=c>>>0;if((c|0)==(d|0)){break a}a=T(c,24);if(N[a+e>>2]==N[a+f>>2]){continue}break}}return g|0}function Wq(a){a=a|0;var b=0,c=0,d=0;b=N[a+660>>2];c=N[b+8>>2];a=N[b+12>>2];if((c|0)<=(a|0)){a:{b:{if((a|0)!=(c|0)){d=N[b+20>>2];a=c;break b}a=-1;if(c>>>0>1073741822){break a}N[147316]=0;a=N[b+20>>2];c:{c=c<<1|1;if(c>>>0<=76695844){d=T(c,56);d=$a(a,d>>>0<=1?1:d);if(d){break c}}N[147316]=48;N[b+20>>2]=a;return-1}N[147316]=0;N[b+12>>2]=c;N[b+20>>2]=d;a=N[b+8>>2]}N[b+8>>2]=a+1;b=T(a,56)+d|0;N[b>>2]=0;N[b+4>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}return a|0}ba(10030,18016,127,9200);F()}function fk(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-32|0;La=e;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];f=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);a:{if((f|0)==-1){break a}c=O[a+4|0]|O[a+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=f>>>0){break a}if(N[d+156>>2]){yc(d);c=N[b+88>>2];d=N[b+96>>2];N[e+16>>2]=N[d+64>>2];ib(d,c,23368,e+16|0);c=O[a+4|0]|O[a+5|0]<<8;c=(c<<8|c>>>8)&65535}a=c>>>0<=f>>>0?275552:((f<<1)+a|0)+6|0;a=O[a|0]|O[a+1|0]<<8;Ne(b,(a<<8|a>>>8)&65535);g=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[e>>2]=N[a+64>>2]-1;ib(a,b,23412,e)}La=e+32|0;return g}function Az(a,b){a=a|0;b=b|0;var c=0,d=0;a:{c=N[a>>2];if((c|0)!=N[b>>2]){break a}d=1;b:{c:{switch(c|0){case 0:if(N[a+8>>2]!=N[b+8>>2]|S[a+16>>3]!=S[b+16>>3]|(N[a+24>>2]!=N[b+24>>2]|N[a+28>>2]!=N[b+28>>2])){break a}if(N[a+32>>2]!=N[b+32>>2]){break a}d=0;if(N[a+36>>2]!=N[b+36>>2]){break b}return N[a+40>>2]==N[b+40>>2]|0;case 1:d=0;c=N[a+12>>2];if((c|0)!=N[b+12>>2]){break b}return!Mb(N[a+8>>2],N[b+8>>2],c)|0;case 2:break c;default:break b}}if(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2]|N[a+16>>2]!=N[b+16>>2]){break a}d=0;if(N[a+20>>2]!=N[b+20>>2]){break b}d=N[a+24>>2]==N[b+24>>2]}return d|0}return 0}function Lc(a,b){var c=0,d=0,e=0;a:{d=O[b|0];if((d|0)!=255){if((d|0)!=30){break a}return Wf(a,b,0,0)>>16}return((O[b+3|0]|(O[b+2|0]<<8|O[b+1|0]<<16))<<8)+32768>>16}e=b+1|0;b:{c:{switch(d-28|0){case 0:c=0;if(Q[a+8>>2]<=b+2>>>0){break b}return(O[b+2|0]|O[e|0]<<8)<<16>>16;case 1:c=0;if(Q[a+8>>2]<=b+4>>>0){break b}a=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);default:break c}}if(d>>>0<=246){return d-139|0}a=N[a+8>>2];if(d>>>0<=250){c=0;if(a>>>0<=e>>>0){break b}return(O[e|0]|d<<8)-63124|0}c=0;if(a>>>0<=e>>>0){break b}c=64148-(O[e|0]|d<<8)|0}return c}function Rd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;j=1;i=d&2147483647;l=i;k=(i|0)==2147418112;a:{if(k&!c?a|b:k&(c|0)!=0|i>>>0>2147418112){break a}i=h&2147483647;if(!g&(i|0)==2147418112?e|f:(i|0)==2147418112&(g|0)!=0|i>>>0>2147418112){break a}if(!(a|e|(c|g)|(b|f|(i|l)))){return 0}j=d&h;if((j|0)>0|(j|0)>=0){j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:c>>>0>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g|(b^f|d^h))!=0}j=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}j=(a^e|c^g|(b^f|d^h))!=0}return j}function zs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{c=N[a+16>>2];a=O[c+12|0]|O[c+13|0]<<8|(O[c+14|0]<<16|O[c+15|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a){g=c+16|0;while(1){e=a+f>>>1|0;c=T(e,12)+g|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);b:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>b>>>0){a=e;break b}d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=b>>>0){break a}f=e+1|0}if(a>>>0>f>>>0){continue}break}}return 0}a=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}function Wn(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=La-208|0;La=f;N[f+204>>2]=c;c=f+160|0;G(c,0,40);N[f+200>>2]=N[f+204>>2];a:{if((Vn(0,b,f+200|0,f+80|0,c,d,e)|0)<0){e=-1;break a}i=N[a+76>>2]<0;g=N[a>>2];N[a>>2]=g&-33;b:{c:{d:{if(!N[a+48>>2]){N[a+48>>2]=80;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;h=N[a+44>>2];N[a+44>>2]=f;break d}if(N[a+16>>2]){break c}}c=-1;if(Ih(a)){break b}}c=Vn(a,b,f+200|0,f+80|0,f+160|0,d,e)}if(h){Qa[N[a+36>>2]](a,0,0)|0;N[a+48>>2]=0;N[a+44>>2]=h;N[a+28>>2]=0;b=N[a+20>>2];N[a+16>>2]=0;N[a+20>>2]=0;c=b?c:-1}b=a;a=N[a>>2];N[b>>2]=a|g&32;e=a&32?-1:c;if(i){break a}}La=f+208|0;return e}function MA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(N[a+64>>2]!=3){N[a+64>>2]=3;e=N[a+20>>2];if(!e){break a}b:{if(O[a+68|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+68|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=((c>>31)+c|0)+32768>>16;N[f>>2]=((b>>31)+b|0)+32768>>16;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1}d=0}return d|0}function dl(a,b,c,d){var e=0;a:{if(d&16){c=275552;e=O[a|0]|O[a+1|0]<<8;b:{if((e|0)!=256){break b}e=O[a+2|0]<<16|O[a+3|0]<<24|e;if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<65538){break b}e=O[a+12|0]|O[a+13|0]<<8;if(!e){break b}c=((e<<8|e>>>8)&65535)+a|0}a=0;if((O[c|0]|O[c+1|0]<<8)!=256){break a}a=O[c+2|0]|O[c+3|0]<<8;e=(a<<8|a>>>8)&65535;a=d>>>16|0;if(e>>>0>a>>>0){a=((a<<2)+c|0)+4|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}return(vb(a,b)|0)!=-1}a=d&65280;if(!a){return 1}a=(a|0)==(c&65280)}return a}function NB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=N[a>>2];a:{b:{c:{h=N[a+4>>2];a=(h>>6)-N[b+164>>2]|0;if(!((a|0)<0|(a|0)>=N[b+172>>2])){c=g>>6;if((c|0)>2]){break c}}a=N[b+192>>2];break b}d=N[b+188>>2]+(a<<2)|0;e=N[d>>2];f=N[e>>2];a=N[b+156>>2];c=(a|0)>(c|0)?a-1|0:c;if((f|0)<=(c|0)){while(1){a=e;if((c|0)==(f|0)){break b}e=N[a+12>>2];f=N[e>>2];if((c|0)>=(f|0)){continue}break}d=a+12|0}a=N[b+180>>2];N[b+180>>2]=a+16;if(Q[b+184>>2]<=a>>>0){break a}N[a>>2]=c;N[a+4>>2]=0;N[a+8>>2]=0;N[a+12>>2]=N[d>>2];N[d>>2]=a}N[b+176>>2]=a;N[b+204>>2]=h<<2;N[b+200>>2]=g<<2;return 0}oe(b,1);F()}function ex(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=La-32|0;La=c;a:{if((Qa[N[b+52>>2]](b,6,c,3)|0)<=5){N[b+12>>2]=3;break a}e=N[c+12>>2];if(!e){N[b+12>>2]=3;break a}i=a+440|0;d=e>>31;d=(d^e)-d|0;b:{if((d|0)==65536){f=N[c+8>>2];g=N[c+4>>2];h=N[c>>2];break b}j=a,k=fb(1e3,d),M[j+68>>1]=k;h=fb(N[c>>2],d);g=fb(N[c+4>>2],d);f=fb(N[c+8>>2],d);j=c,k=fb(N[c+16>>2],d),N[j+16>>2]=k;j=c,k=fb(N[c+20>>2],d),N[j+20>>2]=k;e=(e|0)<0?-65536:65536}N[a+440>>2]=h;N[a+448>>2]=g;N[a+452>>2]=e;N[a+444>>2]=f;if(!hg(i)){N[b+12>>2]=3;break a}N[a+456>>2]=M[c+18>>1];N[a+460>>2]=M[c+22>>1]}La=c+32|0}function tg(a){var b=0,c=0,d=0;b=N[a+88>>2];if(b){_a(N[b+20>>2]);_a(N[N[a+88>>2]+4>>2]);_a(N[N[a+88>>2]+8>>2]);_a(N[a+88>>2])}_a(N[a+24>>2]);_a(N[a+28>>2]);_a(N[a+68>>2]);d=N[a+16>>2];b=0;a:{if(!d){break a}b=d;if(N[a>>2]<=0){break a}b=0;while(1){d=N[a+16>>2]+T(b,144)|0;_a(N[d>>2]);_a(N[d+4>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+16>>2]}_a(b);b=N[a+20>>2];b:{if(!b){break b}c=b;if(N[a+8>>2]<=0){break b}b=0;while(1){c=N[a+20>>2]+T(b,56)|0;_a(N[c+28>>2]);_a(N[c+44>>2]);_a(N[c+48>>2]);_a(N[c+52>>2]);b=b+1|0;if((b|0)>2]){continue}break}c=N[a+20>>2]}_a(c);_a(N[a+80>>2]);_a(a)}function fo(a,b,c,d){var e=0,f=0,g=0,h=0;f=d?d:590292;e=N[f>>2];a:{b:{c:{if(!b){if(e){break c}return 0}d:{if(e){d=c;break d}d=O[b|0];e=d<<24>>24;if((e|0)>=0){if(a){N[a>>2]=d}return(e|0)!=0}if(!N[N[147600]>>2]){b=1;if(!a){break b}N[a>>2]=e&57343;return 1}d=d-194|0;if(d>>>0>50){break c}e=N[(d<<2)+580976>>2];d=c-1|0;if(!d){break a}b=b+1|0}g=O[b|0];h=g>>>3|0;if((h-16|(e>>26)+h)>>>0>7){break c}while(1){d=d-1|0;e=g-128|e<<6;if((e|0)>=0){N[f>>2]=0;if(a){N[a>>2]=e}return c-d|0}if(!d){break a}b=b+1|0;g=O[b|0];if((g&192)==128){continue}break}}N[f>>2]=0;N[147316]=25;b=-1}return b}N[f>>2]=e;return-2}function lg(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=La-240|0;La=i;N[i+236>>2]=e;N[i+232>>2]=d;N[i>>2]=a;o=0-b|0;l=!g;a:{b:{c:{d:{if((d|0)!=1){j=a;k=1;break d}j=a;k=1;if(e){break d}g=a;break c}while(1){g=j-N[(f<<2)+h>>2]|0;if((Qa[c|0](g,a)|0)<=0){g=j;break c}m=l^-1;l=1;e:{if(!((m|(f|0)<2)&1)){m=N[((f<<2)+h|0)-8>>2];n=j+o|0;if((Qa[c|0](n,g)|0)>=0){break e}if((Qa[c|0](n-m|0,g)|0)>=0){break e}}N[(k<<2)+i>>2]=g;d=bo(d,e);mg(i+232|0,d);k=k+1|0;f=d+f|0;j=g;e=N[i+236>>2];d=N[i+232>>2];if(e|(d|0)!=1){continue}break b}break}g=j;break b}if(!l){break a}}ao(b,i,k);ii(g,b,c,f,h)}La=i+240|0}function zq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=N[a+112>>2];a:{if(!c){break a}d=N[b+68>>2];if(!d){break a}a=N[b+80>>2];if(d>>>0>=4){g=d&-4;while(1){N[a+4>>2]=N[a+4>>2]|N[(O[a+19|0]<<2)+c>>2];N[a+24>>2]=N[a+24>>2]|N[(O[a+39|0]<<2)+c>>2];N[a+44>>2]=N[a+44>>2]|N[(O[a+59|0]<<2)+c>>2];f=a- -64|0;N[f>>2]=N[f>>2]|N[(O[a+79|0]<<2)+c>>2];a=a+80|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){N[a+4>>2]=N[a+4>>2]|N[(O[a+19|0]<<2)+c>>2];a=a+20|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}a=L[b+140|0];if((a|0)>=0){ba(22742,14165,187,12136);F()}L[b+140|0]=a&127}function li(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=441616;h=O[a|0]?a:441616;while(1){d=b;f=0;a=h;c=O[a|0];a:{b:{if(!c){break b}while(1){g=O[d|0];if(!g){f=c;break b}c:{d:{while(1){if((c|32)-124>>>0>4294967268|c-59>>>0>4294967284){break d}c=O[a+1|0];e=a+1|0;a=e;if(c){continue}break}c=0;break c}e=a}a=1;if((c|32)!=(g|0)){break a}d=d+1|0;a=e+1|0;c=O[e+1|0];if(c){continue}break}}a=O[d|0]!=(f&255)}if(!a){while(1){b=(nb(b)+b|0)+1|0;if(O[b|0]){continue}break}return b-441615|0}b=(nb(b)+b|0)+1|0;a=O[b|0];if(!a){a=O[b+1|0];b=(a>>>0>128?2:T(a,-5)+322|0)+b|0;a=O[b|0]}if(a&255){continue}break}return-1}function Jo(a){var b=0,c=0,d=0;a:{if(!a){break a}c=N[a+16>>2];if((c|0)==128){break a}while(1){b=N[a>>2];b:{if(O[b+20|0]!=O[a+20|0]){b=a;break b}if(O[b+21|0]!=O[a+21|0]){b=a;break b}d=N[b+16>>2];if(!((d|0)==(c|0)|c&d&64)){b=a;break b}if(N[a+24>>2]){b=a;break b}if(N[b+24>>2]){b=a;break b}c=N[a+4>>2];N[b+4>>2]=c;N[c>>2]=b;N[b+12>>2]=N[b+12>>2]+N[a+12>>2];c=N[a+32>>2];c:{if(c){N[c+28>>2]=N[a+28>>2];break c}d=N[a+4>>2];if(N[d+28>>2]!=(a|0)){break c}N[d+28>>2]=N[a+28>>2]}d=N[a+28>>2];if(d){N[d+32>>2]=c;c=N[a+32>>2]}N[b+32>>2]=c;_a(a)}a=N[b+4>>2];c=N[a+16>>2];if((c|0)!=128){continue}break}}}function Ix(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{a=N[N[a+156>>2]>>2];b=N[a+4>>2];if(!(!b|N[a+40>>2])){d=b<<1;if((d|0)<0){c=6;break a}if(d){c=10;if(d>>>0>268435455){break a}c=N[a>>2];b=b<<4;c=Qa[N[c+4>>2]](c,b)|0;if(!c){break b}G(c,0,b);b=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=c;d=(b<<3)+c|0;N[a+44>>2]=d;b=N[a+24>>2];if(b){b=(M[a+22>>1]<<3)+b|0}else{b=0}N[a+60>>2]=b;e=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[e>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;b=M[a+22>>1]<<3;N[a+80>>2]=b+d;N[a+76>>2]=b+c}return 0}N[a+40>>2]=0;return 64}N[a+40>>2]=0;return c|0}function ur(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[c+4>>2]|N[b+4>>2];N[a>>2]=N[c>>2]|N[b>>2];N[a+4>>2]=d;d=N[c+12>>2]|N[b+12>>2];N[a+8>>2]=N[c+8>>2]|N[b+8>>2];N[a+12>>2]=d;d=N[c+20>>2]|N[b+20>>2];N[a+16>>2]=N[c+16>>2]|N[b+16>>2];N[a+20>>2]=d;d=N[c+28>>2]|N[b+28>>2];N[a+24>>2]=N[c+24>>2]|N[b+24>>2];N[a+28>>2]=d;d=N[c+36>>2]|N[b+36>>2];N[a+32>>2]=N[c+32>>2]|N[b+32>>2];N[a+36>>2]=d;d=N[c+44>>2]|N[b+44>>2];N[a+40>>2]=N[c+40>>2]|N[b+40>>2];N[a+44>>2]=d;d=N[c+52>>2]|N[b+52>>2];N[a+48>>2]=N[c+48>>2]|N[b+48>>2];N[a+52>>2]=d;d=N[c+60>>2]|N[b+60>>2];N[a+56>>2]=N[c+56>>2]|N[b+56>>2];N[a+60>>2]=d}function tr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[c+4>>2]&N[b+4>>2];N[a>>2]=N[c>>2]&N[b>>2];N[a+4>>2]=d;d=N[c+12>>2]&N[b+12>>2];N[a+8>>2]=N[c+8>>2]&N[b+8>>2];N[a+12>>2]=d;d=N[c+20>>2]&N[b+20>>2];N[a+16>>2]=N[c+16>>2]&N[b+16>>2];N[a+20>>2]=d;d=N[c+28>>2]&N[b+28>>2];N[a+24>>2]=N[c+24>>2]&N[b+24>>2];N[a+28>>2]=d;d=N[c+36>>2]&N[b+36>>2];N[a+32>>2]=N[c+32>>2]&N[b+32>>2];N[a+36>>2]=d;d=N[c+44>>2]&N[b+44>>2];N[a+40>>2]=N[c+40>>2]&N[b+40>>2];N[a+44>>2]=d;d=N[c+52>>2]&N[b+52>>2];N[a+48>>2]=N[c+48>>2]&N[b+48>>2];N[a+52>>2]=d;d=N[c+60>>2]&N[b+60>>2];N[a+56>>2]=N[c+56>>2]&N[b+56>>2];N[a+60>>2]=d}function he(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{f=N[147447];b:{if(f){d=f;while(1){c=a;e=N[d+4>>2];b=O[e|0];c:{if(b){d:{while(1){b=b&255;g=L[O[c|0]+179696|0];if((b|0)!=(g|0)){break d}c=c+1|0;b=O[e+1|0];e=e+1|0;if(b){continue}break}g=L[O[c|0]+179696|0];b=0}if((b|0)!=(g|0)){break c}break b}if(!O[O[a|0]+179696|0]){break b}}d=N[d>>2];if(d){continue}break}}d=db(1,8);if(!d){return 0}N[d>>2]=f;b=nb(a)+1|0;c=kb(b);N[d+4>>2]=c;if(!c){break a}e:{if(b){B(c,a,b);b=O[c|0];if(!b){break e}}while(1){L[c|0]=O[(b&255)+179696|0];b=O[c+1|0];c=c+1|0;if(b){continue}break}}N[147447]=d}return d}_a(d);return 0}function GA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=N[a+28>>2];a=N[f+20>>2];a:{if(!a){break a}b:{c:{b=P[a>>1];d=b<<16>>16;if((d|0)>=2){e=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break c}if(d){break c}b=P[a+2>>1];break b}b=M[a+2>>1];if((e|0)!=(b|0)){break b}M[a>>1]=d-1;break a}d:{if(b<<16>>16<2){break d}c=N[a+4>>2];g=c+(e<<3)|0;h=b&65535;c=c+(h<<3)|0;if(N[g>>2]!=N[c-8>>2]|N[g+4>>2]!=N[c-4>>2]|O[(N[a+8>>2]+h|0)-1|0]!=1){break d}b=b-1|0;M[a+2>>1]=b}if((d|0)<=0){break a}c=e;e=(b<<16>>16)-1|0;if((c|0)==(e|0)){M[a+2>>1]=b-1;M[a>>1]=d-1;break a}M[(N[a+12>>2]+(d<<1)|0)-2>>1]=e}L[f+44|0]=0}function TA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-32|0;La=e;N[d>>2]=-1;Cd(a,e+20|0);if(N[e+28>>2]==3){i=N[a>>2];g=N[e+20>>2]+1|0;N[a>>2]=g;j=N[a+8>>2];h=N[e+24>>2]-1|0;N[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}if(!f){f=0;while(1){Cd(a,e+8|0);if(!N[e+16>>2]){break a}f=f+12|0;if(Q[a>>2]>2]){continue}break}break a}c=T(c,12)+b|0;while(1){Cd(a,e+8|0);if(!N[e+16>>2]){break a}if(c>>>0>f>>>0){g=N[e+12>>2];N[f>>2]=N[e+8>>2];N[f+4>>2]=g;N[f+8>>2]=N[e+16>>2]}f=f+12|0;if(Q[a>>2]>2]){continue}break}}N[d>>2]=(f-b|0)/12;N[a+8>>2]=j;N[a>>2]=i}La=e+32|0}function Ub(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){a=a+4|0;l=a+T((c<<8|c>>>8)&65535,6)|0;c=N[b+8>>2];e=N[b+4>>2];d=N[b>>2];while(1){j=-1;h=-1;f=O[a+2|0]|O[a+3|0]<<8;f=(f<<8|f>>>8)&65535;i=f>>>4|0;g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;k=g>>>4|0;if(i-k>>>0<=30){h=d;d=1<>>0>1<>>0)}if(f-g>>>0<=30){d=e;e=1<>>0>1<>>0)}e=f>>>9|0;d=g>>>9|0;if(e-d>>>0<=30){f=c;c=1<>>0>1<>>0)}else{c=-1}e=j;d=h;a=a+6|0;if((l|0)!=(a|0)){continue}break}N[b+8>>2]=c;N[b+4>>2]=e;N[b>>2]=d}}function Qp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=275552;c=O[a+2|0]|O[a+3|0]<<8;a:{if(!c){break a}i=a+4|0;g=((c<<8|c>>>8)&65535)-1|0;k=(b<<8|(b&65280)>>>8)&65535;while(1){b:{c:{d:{e=g+j>>>1|0;f=(e<<3)+i|0;h=O[f|0]|O[f+1|0]<<8;c=(h<<8|h>>>8)&65535;e:{if(!(c|h)){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>(b&65535)>>>0){break e}if((c|0)==(k|0)){break d}break c}if(!c){break c}}g=e-1|0;break b}d=(e<<3)+i|0;break a}j=e+1|0}if((g|0)>=(j|0)){continue}break}}b=a;a=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);return a?b+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0:0}function Al(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{if(O[a+62|0]){d=N[a+84>>2];c=N[a+80>>2];e=N[a+72>>2];g=N[a+64>>2];if(!((d|0)==(c|0)&(e|0)==(g|0))){f=b+e|0;if(!(!f|f>>>0>2])){c=0;if(!gb(a,f)){break b}g=N[a+64>>2];e=N[a+72>>2];c=N[a+80>>2];d=N[a+84>>2]}c:{if((d|0)!=(c|0)){break c}if(b+e>>>0<=b+g>>>0){d=c;break c}if(!O[a+62|0]){break a}d=N[a+88>>2];N[a+84>>2]=d;f=T(e,20);if(!f){break c}B(d,c,f);g=N[a+64>>2];c=N[a+80>>2];e=N[a+72>>2];d=N[a+84>>2]}B(T(e,20)+d|0,T(g,20)+c|0,T(b,20));e=N[a+72>>2]}N[a+72>>2]=b+e}N[a+64>>2]=N[a+64>>2]+b;c=1}return c}ba(8694,17855,209,11932);F()}function zl(a){var b=0,c=0;b=N[a+36>>2];if(!(b|N[a+68>>2]?(b|0)!=1:0)){a:{if(N[a+44>>2]|!N[a+68>>2]){break a}while(1){b=N[a+12>>2];b=Qa[N[b+32>>2]](b,N[N[a+80>>2]+T(c,20)>>2],N[b- -64>>2])|0;if(!((b|0)==1516858984|(b|0)==1517910393|(b|0)==1517976186)){N[a+44>>2]=b;break a}c=c+1|0;if(c>>>0>2]){continue}break}}if(!N[a+40>>2]){b=th(N[a+44>>2]);N[a+40>>2]=b?b:4}if(!N[a+48>>2]){b=0;c=a;a=N[147446];if(!a){a=N[147878];a=a?a+8|0:20427;b:{if(!O[a|0]){break b}a=he(a);if(!a){break b}b=N[a+4>>2]}if(!N[147446]){N[147446]=b}a=b}N[c+48>>2]=a}return}ba(24107,14165,530,16333);F()}function on(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;a:{if(!a){break a}d=N[a+92>>2];if(!d|N[d+4>>2]!=1970170211){break a}d=N[a+40>>2];if(!d){break a}f=N[a+36>>2];if((f|0)<=0){break a}i=(f<<2)+d|0;while(1){b:{f=N[d>>2];c:{if(P[f+8>>1]|P[f+10>>1]!=5){break c}e=N[f>>2];if(!e){break c}e=N[e+96>>2];h=N[N[e>>2]+32>>2];if(!h){break c}e=Qa[h|0](e,10557)|0;if(!e){break c}if(Qa[N[e>>2]](f,g+8|0)|0){break c}if(N[g+12>>2]==14){break b}}d=d+4|0;if(i>>>0>d>>>0){continue}break a}break}d=N[d>>2];if(!d){break a}j=Qa[N[N[d+12>>2]+20>>2]](d,N[a+92>>2],b,c)|0}La=g+16|0;return j}function dC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(!(!e|!d)){j=e<<4;while(1){g=0;h=a;while(1){f=O[b+g|0];M[h>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|1)+b|0];M[h+2>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|2)+b|0];M[h+4>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|3)+b|0];M[h+6>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|4)+b|0];M[h+8>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|5)+b|0];M[h+10>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|6)+b|0];M[h+12>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|7)+b|0];M[h+14>>1]=(f>>>1|f<<7)+1>>>1;h=h+j|0;g=g+8|0;if(g>>>0>>0){continue}break}b=b+c|0;a=a+16|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}}function Di(a){var b=0,c=0,d=0;a:{if(!a){break a}b=N[a+16>>2];if((b|0)==128){break a}while(1){c=b;b=N[a>>2];b:{if((c|0)!=N[b+16>>2]){b=a;break b}if(O[b+20|0]!=O[a+20|0]){b=a;break b}if(O[b+21|0]!=O[a+21|0]){b=a;break b}if(N[a+24>>2]){b=a;break b}if(N[b+24>>2]){b=a;break b}c=N[a+4>>2];N[b+4>>2]=c;N[c>>2]=b;N[b+12>>2]=N[b+12>>2]+N[a+12>>2];c=N[a+32>>2];c:{if(c){N[c+28>>2]=N[a+28>>2];break c}d=N[a+4>>2];if(N[d+28>>2]!=(a|0)){break c}N[d+28>>2]=N[a+28>>2]}d=N[a+28>>2];if(d){N[d+32>>2]=c;c=N[a+32>>2]}N[b+32>>2]=c;_a(a)}a=N[b+4>>2];b=N[a+16>>2];if((b|0)!=128){continue}break}}}function dc(a,b,c){var d=0,e=0,f=0,g=0;d=N[a+4>>2];g=N[a+20>>2];a:{b:{c:{if(g){e=85;if(b>>>0>d>>>0){break a}f=N[a+28>>2];d:{if((b|0)>0){e=Qa[N[f+4>>2]](f,b)|0;d=64;if(!e){break b}g=N[a+20>>2];break d}d=6;if(b){break b}e=0}N[a>>2]=e;g=Qa[g|0](a,N[a+8>>2],e,b)|0;d=N[a>>2];if(b>>>0<=g>>>0){e=0}else{if(d){Qa[N[f+8>>2]](f,d)}d=0;N[a>>2]=0;e=85}N[a+32>>2]=d;N[a+36>>2]=d?b+d|0:0;N[a+8>>2]=g+N[a+8>>2];if(b>>>0<=g>>>0){break c}break a}e=85;f=N[a+8>>2];if(f>>>0>=d>>>0|d-f>>>0>>0){break a}N[a+8>>2]=b+f;d=f+N[a>>2]|0}N[c>>2]=d;N[a+32>>2]=0;a=a+36|0;d=0}e=d;N[a>>2]=0}return e}function cd(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a>>2];if(d){while(1){c=N[a+4>>2];g=e<<2;b=N[c+g>>2];if(b){while(1){if(!N[b+24>>2]){break b}c=N[b+28>>2];if(N[b+20>>2]){c=c-1|0;N[b+28>>2]=c}d=N[b+8>>2];c:{if(c){N[b>>2]=0;break c}f=N[a+16>>2];if((f|0)!=N[b+4>>2]){break a}c=b+32|0;Qa[N[f+16>>2]](c+(N[f+24>>2]+7&-8)|0,c);_a(b)}b=d;if(b){continue}break}c=N[a+4>>2];d=N[a>>2]}N[c+g>>2]=0;e=e+1|0;if(e>>>0>>0){continue}break}}N[a+20>>2]=0;N[a+24>>2]=0;N[a+8>>2]=0;N[a+12>>2]=a+8;N[a+28>>2]=0;N[a+32>>2]=0;return}ba(15298,18290,509,7842);F()}ba(17656,18290,424,13135);F()}function gh(a){var b=0,c=0,d=0,e=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}e=a-88|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[c+8>>2]=0;N[c+12>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;L[c+24|0]=0;N[c>>2]=0;N[c+4>>2]=0;N[c+28>>2]=0;N[c+32>>2]=0;L[c+40|0]=1;N[c+36>>2]=0;d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1801810542,N[b+16>>2])|0;if(b){break b}}b=275552}d=el(c,b);b=N[a>>2];c:{if(d){if(b){break c}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<4?275552:N[b+12>>2]}function Ny(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=N[a+12>>2];f=N[a+4>>2];d=La-16|0;La=d;N[d+12>>2]=0;c=-28;b=N[147574];a:{if(b){e=d+12|0;while(1){if(N[b>>2]==(g|0)){break a}if(e){N[e>>2]=b}b=N[b+36>>2];if(b){continue}break}}b=0}b:{if(!f|!b|N[b+4>>2]!=(f|0)){break b}c=N[d+12>>2];N[(c?c+36|0:590296)>>2]=N[b+36>>2];c=N[b+16>>2];if(!(c&32)){e=N[b+24>>2];c=ua(g|0,f|0,N[b+32>>2],c|0,N[b+12>>2],e|0,N[b+28>>2])|0;if(c){break b}}if(N[b+8>>2]){_a(N[b>>2])}c=0;if(O[b+16|0]&32){break b}_a(b)}La=d+16|0;b=c;if(b>>>0>=4294963201){N[147316]=0-b}N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function cg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=La-16|0;La=d;b=N[a+260>>2];if(!b){j=a;g=M[a+300>>1];b=N[a+248>>2];a:{if(!g){break a}c=M[a+298>>1];b=N[a+252>>2];if(!c){break a}h=N[a+252>>2];i=N[a+248>>2];b=i>>31;e=(b^i)-b|0;b=c>>31;f=(b^c)-b|0;b=T(e>>>16|0,f);a=b<<16|8192;k=b>>>16|0;b=a+T(f,e&65535)|0;b=k+(b>>>0>>0)<<18|b>>>14;N[d+8>>2]=(c^i)<0?0-b|0:b;b=h>>31;e=(b^h)-b|0;b=g>>31;f=(b^g)-b|0;b=T(e>>>16|0,f);a=b<<16|8192;c=b>>>16|0;b=a+T(f,e&65535)|0;b=c+(b>>>0>>0)<<18|b>>>14;N[d+12>>2]=(g^h)<0?0-b|0:b;b=kc(d+8|0)}N[j+260>>2]=b}La=d+16|0;return b}function Tp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=N[b+12>>2];d=e-12|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-15|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=_d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function Rp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<10){break a}e=N[b+12>>2];d=e-10|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-13|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=_d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function wt(a){a=a|0;var b=0,c=0,d=0,e=0;d=N[N[a+96>>2]+8>>2];b=N[a+356>>2];if(b){c=N[a+348>>2];a:{if((c|0)>0){c=T(c,20)+b|0;while(1){e=N[b+16>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+16>>2]=0;b=b+20|0;if(c>>>0>b>>>0){continue}break}b=N[a+356>>2];if(!b){break a}}Qa[N[d+8>>2]](d,b)}N[a+356>>2]=0}b=N[a+364>>2];if(b){c=N[a+360>>2];b:{if((c|0)>0){c=T(c,12)+b|0;while(1){e=N[b+8>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+8>>2]=0;b=b+12|0;if(c>>>0>b>>>0){continue}break}b=N[a+364>>2];if(!b){break b}}Qa[N[d+8>>2]](d,b)}N[a+364>>2]=0}M[a+344>>1]=0;N[a+360>>2]=0;N[a+348>>2]=0;N[a+352>>2]=0}function Sp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<6){break a}e=N[b+12>>2];d=e-6|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-9|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=_d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function Mt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{if(b){h=142;f=P[a+152>>1];if(!f){break a}g=N[a+156>>2];i=g+(f<<4)|0;while(1){c:{if(N[g>>2]==(b|0)){f=N[g+12>>2];if(f){break c}}g=g+16|0;if(i>>>0>g>>>0){continue}break a}break}c=N[g+8>>2]+c|0;break b}f=N[N[a+104>>2]+4>>2]}d:{if(!e){b=f;break d}b=N[e>>2];if(b){break d}N[e>>2]=f;return 0}h=85;a=N[a+104>>2];e=N[a+4>>2];if(e>>>0<=c>>>0){break a}f=N[a+20>>2];e:{if(f){d=Qa[f|0](a,c,d,b)|0;break e}f=d;d=e-c|0;d=b>>>0>d>>>0?d:b;B(f,N[a>>2]+c|0,d)}N[a+8>>2]=c+d;h=b>>>0>d>>>0?85:0}return h|0}function mB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=6;a:{if(!c|(!a|!b)){break a}f=N[d>>2];if(!f){break a}e=N[d+4>>2];d=Qa[N[f+4>>2]](f,40)|0;if(!d){return!d<<6}N[d+32>>2]=0;N[d+36>>2]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;N[d+32>>2]=3;f=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=f;f=N[a+4>>2];N[d+16>>2]=N[a>>2];N[d+20>>2]=f;a=N[b+4>>2];N[d+24>>2]=N[b>>2];N[d+28>>2]=a;a=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=a;N[d+36>>2]=N[e+8>>2];N[e+8>>2]=d;a=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=a;e=0}return e|0}function hy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=M[a+302>>1];if(g){a:{b:{c:{switch(N[N[N[a>>2]+96>>2]+64>>2]-35|0){case 5:if(O[a+643|0]){break a}e=N[b+16>>2];f=e+(c<<3)|0;break b;case 0:break c;default:break a}}e=N[b+16>>2];f=e+(c<<3)|0}h=(c<<3)+e|0,i=jb(d,g,N[a+596>>2])+N[f>>2]|0,N[h>>2]=i}e=N[b+24>>2]+c|0;L[e|0]=O[e|0]|8}e=M[a+304>>1];if(e){d:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break d}}f=N[b+16>>2]+(c<<3)|0;h=f,i=jb(d,e,N[a+596>>2])+N[f+4>>2]|0,N[h+4>>2]=i}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|16}}function zf(a){var b=0,c=0,d=0,e=0;N[a+24>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+4>>2]=N[a>>2];N[a+8>>2]=N[a+12>>2];mq(a);a:{b:{c:{d:{b=N[a+48>>2];if((b|0)>=0){c=N[a+52>>2];d=c+1|0;if(d>>>0<=b>>>0){break d}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=1073741823){e=$a(N[a+56>>2],b<<2);if(e){break c}}N[a+48>>2]=-1}N[147456]=0;break a}e=N[a+56>>2];break b}N[a+48>>2]=b;N[a+56>>2]=e;c=N[a+52>>2];d=c+1|0}N[a+52>>2]=d;N[(c<<2)+e>>2]=0}N[a+60>>2]=1;N[a+64>>2]=1;N[a+76>>2]=0;N[a+88>>2]=0;N[a+80>>2]=0;N[a+84>>2]=0;N[a+68>>2]=0;N[a+72>>2]=1}function Uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=La-32|0;La=c;a:{if((Qa[N[b+52>>2]](b,6,c,0)|0)<=5){N[b+12>>2]=3;break a}e=N[c+12>>2];if(!e){N[b+12>>2]=3;break a}i=a+440|0;f=N[c>>2];d=e>>31;d=(d^e)-d|0;b:{if((d|0)==65536){g=N[c+8>>2];h=N[c+4>>2];break b}f=fb(f,d);h=fb(N[c+4>>2],d);g=fb(N[c+8>>2],d);j=c,k=fb(N[c+16>>2],d),N[j+16>>2]=k;j=c,k=fb(N[c+20>>2],d),N[j+20>>2]=k;e=(e|0)<0?-65536:65536}N[a+440>>2]=f;N[a+448>>2]=h;N[a+452>>2]=e;N[a+444>>2]=g;if(!hg(i)){N[b+12>>2]=3;break a}N[a+456>>2]=M[c+18>>1];N[a+460>>2]=M[c+22>>1]}La=c+32|0}function vn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}b=N[a>>2];if(!b){break a}f=N[b+96>>2];if(!f){break a}c=N[b+108>>2];if(!c){break a}e=b+108|0;d=N[f+8>>2];while(1){if(N[c+8>>2]!=(a|0)){c=N[c+4>>2];if(c){continue}break a}break}g=N[c>>2];h=g?g+4|0:e;e=N[c+4>>2];N[h>>2]=e;N[(e?e:b+112|0)>>2]=g;Qa[N[d+8>>2]](d,c);b:{if(N[b+88>>2]!=(a|0)){break b}N[b+88>>2]=0;c=N[b+108>>2];if(!c){break b}N[b+88>>2]=N[c+8>>2]}b=N[a+8>>2];if(b){Qa[b|0](a)}b=N[N[f+12>>2]+60>>2];if(b){Qa[b|0](a)}b=N[a+40>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+40>>2]=0;Qa[N[d+8>>2]](d,a)}}function Tx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{if(!b){break b}c=27008;c:{if(!cb(9676,b)){break c}c=27016;if(!cb(10423,b)){break c}c=27024;if(!cb(10670,b)){break c}c=27032;if(!cb(15774,b)){break c}c=27040;if(!cb(15178,b)){break c}if(cb(11276,b)){break b}c=27048}d=N[c+4>>2];if(d){break a}}d=0;if(!a){break a}c=N[a+4>>2];if(!c){break a}e=N[c+16>>2];if((e|0)<=0){break a}c=c+20|0;e=c+(e<<2)|0;while(1){f=N[N[c>>2]>>2];if(cb(N[f+8>>2],9195)){c=c+4|0;if(e>>>0>c>>>0){continue}break a}break}c=N[f+20>>2];if(!c){break a}d=Qa[N[c+16>>2]](a,b)|0}return d|0}function Wo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{a=N[a+20>>2];b:{if(!a){break b}c:{d:{b=P[a>>1];e=b<<16>>16;if((e|0)>=2){d=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break d}if(e){break d}b=P[a+2>>1];break c}b=M[a+2>>1];if((d|0)!=(b|0)){break c}break a}e:{if(b<<16>>16<2){break e}c=N[a+4>>2];f=c+(d<<3)|0;g=b&65535;c=c+(g<<3)|0;if(N[f>>2]!=N[c-8>>2]|N[f+4>>2]!=N[c-4>>2]|O[(N[a+8>>2]+g|0)-1|0]!=1){break e}b=b-1|0;M[a+2>>1]=b}if((e|0)<=0){break b}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){M[a+2>>1]=b-1;break a}M[(N[a+12>>2]+(e<<1)|0)-2>>1]=d}return}M[a>>1]=e-1}function Ty(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Zb(a,N[b+8>>2],e)){if(!(N[b+28>>2]==1|N[b+4>>2]!=(c|0))){N[b+28>>2]=d}return}a:{if(Zb(a,N[b>>2],e)){if(!(N[b+16>>2]!=(c|0)&N[b+20>>2]!=(c|0))){if((d|0)!=1){break a}N[b+32>>2]=1;return}N[b+32>>2]=d;b:{if(N[b+44>>2]==4){break b}M[b+52>>1]=0;a=N[a+8>>2];Qa[N[N[a>>2]+20>>2]](a,b,c,c,1,e);if(O[b+53|0]){N[b+44>>2]=3;if(!O[b+52|0]){break b}break a}N[b+44>>2]=4}N[b+20>>2]=c;N[b+40>>2]=N[b+40>>2]+1;if(N[b+36>>2]!=1|N[b+24>>2]!=2){break a}L[b+54|0]=1;return}a=N[a+8>>2];Qa[N[N[a>>2]+24>>2]](a,b,c,d,e)}}function Bb(a,b){var c=0,d=0,e=0;c=N[a+4>>2];a:{e=N[a+20>>2];b:{if(e){d=85;if(b>>>0>c>>>0){break b}d=N[a+28>>2];c:{d:{if((b|0)>0){c=Qa[N[d+4>>2]](d,b)|0;if(c){break d}c=64;break a}c=6;if(b){break a}c=0;break c}e=N[a+20>>2]}N[a>>2]=c;e=Qa[e|0](a,N[a+8>>2],c,b)|0;c=N[a>>2];if(b>>>0<=e>>>0){d=0}else{if(c){Qa[N[d+8>>2]](d,c)}c=0;N[a>>2]=0;d=85}N[a+32>>2]=c;N[a+36>>2]=c?b+c|0:0;N[a+8>>2]=e+N[a+8>>2];return d}e=N[a+8>>2];d=85;if(e>>>0>=c>>>0|c-e>>>0>>0){break b}N[a+8>>2]=b+e;c=e+N[a>>2]|0;N[a+32>>2]=c;N[a+36>>2]=b+c;d=0}return d}N[a>>2]=0;return c}function cm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}b:{c:{b=N[a+8>>2];switch(b|0){case 0:break a;case 1:break b;default:break c}}g=b-1|0;h=g&3;d=1;if(b-2>>>0>=3){j=g&-4;while(1){c=N[a>>2];b=e<<2;f=d<<2;N[c+b>>2]=N[c+f>>2];c=N[a>>2];N[c+(b|4)>>2]=N[(c+f|0)+4>>2];c=N[a>>2];N[c+(b|8)>>2]=N[(c+f|0)+8>>2];c=b|12;b=N[a>>2];N[c+b>>2]=N[(b+f|0)+12>>2];d=d+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}if(!h){break b}while(1){b=N[a>>2];N[b+(e<<2)>>2]=N[b+(d<<2)>>2];d=d+1|0;e=e+1|0;i=i+1|0;if((i|0)!=(h|0)){continue}break}}N[a+8>>2]=g}}function Ro(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;N[c+8>>2]=0;N[c+12>>2]=0;N[c>>2]=0;N[c+4>>2]=0;d=N[a+4>>2];a:{if(!N[N[d+128>>2]+52>>2]){d=18;if(b>>>0>255){break a}f=N[a+532>>2];if(!N[f+1188>>2]){break a}h=Qa[N[N[f+3088>>2]>>2]](b)|0;g=N[f+20>>2];if(!g){break a}f=N[f+1188>>2];b=0;while(1){if(P[f+(b<<1)>>1]!=(h|0)){b=b+1|0;if((g|0)!=(b|0)){continue}break a}break}if((b|0)<0){break a}d=N[a+4>>2]}d=Qa[N[a+596>>2]](d,b,e+12|0,e+8|0)|0;if(d){break a}a=N[e+12>>2];N[c+4>>2]=a;b=N[e+8>>2];N[c+12>>2]=a;d=0;N[c+8>>2]=a?a+b|0:0}La=e+16|0;return d}function jA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(O[a+64|0]){break a}L[a+64|0]=1;e=N[a+20>>2];b:{if(O[a+65|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+65|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function Vf(a){var b=0,c=0,d=0;a:{if(!a){break a}c=N[a+28>>2];if(!c){break a}d=N[a+36>>2];if(!d){break a}b=N[c+20>>2];if(b){c=N[b>>2];if((c&-2)==4){Qa[d|0](N[a+40>>2],N[b+12>>2]);c=N[b>>2]}if((c|0)==6){Qa[N[a+36>>2]](N[a+40>>2],N[b+4>>2])}N[b+28>>2]=0;N[b+32>>2]=0;N[b>>2]=0;d=N[b+40>>2];N[b+52>>2]=d;N[b+48>>2]=d;c=N[b+56>>2];if(c){c=Qa[c|0](0,0,0)|0;N[b+60>>2]=c;N[a+48>>2]=c;d=N[b+40>>2]}Qa[N[a+36>>2]](N[a+40>>2],d);Qa[N[a+36>>2]](N[a+40>>2],N[b+36>>2]);Qa[N[a+36>>2]](N[a+40>>2],b);d=N[a+36>>2];c=N[a+28>>2]}Qa[d|0](N[a+40>>2],c);N[a+28>>2]=0}}function Vw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=La-16|0;La=f;a=N[a+532>>2];a:{if(!a){e=6;break a}d=N[a+4>>2];Kh(N[a+136>>2],f,d);a=b>>>0>d>>>0?d:b;if(a){B(c,f,a<<2)}if(b>>>0<=d>>>0){break a}d=(a^-1)+b|0;g=b-a&7;if(g){while(1){N[(a<<2)+c>>2]=32768;a=a+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}e=0;if(d>>>0<7){break a}while(1){d=(a<<2)+c|0;N[d>>2]=32768;N[d+4>>2]=32768;N[d+8>>2]=32768;N[d+12>>2]=32768;N[d+16>>2]=32768;N[d+20>>2]=32768;N[d+24>>2]=32768;N[d+28>>2]=32768;a=a+8|0;if((b|0)!=(a|0)){continue}break}}La=f+16|0;return e|0}function To(a,b,c){var d=0,e=0,f=0;a:{if(O[a+44|0]){break a}L[a+44|0]=1;e=N[a+20>>2];if(!e){return 3}b:{if(O[a+45|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+45|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d}function Pw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=N[a+532>>2];if(!e){return 6}f=N[e>>2];i=N[b>>2];a=6;a:{if(f>>>0>i>>>0){break a}b:{if(!f){break b}e=N[e+136>>2];a=0;if(f>>>0>=4){h=f&-4;while(1){d=a<<2;N[d+c>>2]=N[e+d>>2];g=d|4;N[g+c>>2]=N[e+g>>2];g=d|8;N[g+c>>2]=N[e+g>>2];d=d|12;N[d+c>>2]=N[e+d>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=f&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[e+h>>2];a=a+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}}a=0;if(f>>>0>=i>>>0){break a}G((f<<2)+c|0,0,i-f<<2);a=0}N[b>>2]=f;return a|0}function Fn(a,b){var c=0,d=0,e=0,f=0,g=0;b=N[a+84>>2]+(N[a+48>>2]+b|0)|0;d=N[a+12>>2];a:{if(b>>>0<=d>>>0){break a}b=b+1|0;if((b|d)<0){return 6}f=N[a>>2];g=N[a+52>>2];b:{c:{e=b&-2;d:{if(!e){b=0;if(!g){break d}Qa[N[f+8>>2]](f,g);N[a+52>>2]=0;break b}c=10;if((e|0)>67108863){break a}e:{if(!d){b=Qa[N[f+4>>2]](f,e<<5)|0;c=!b<<6;break e}c=Qa[N[f+12>>2]](f,d<<5,e<<5,g)|0;b=c?c:g;c=!c<<6}if(c|(d|0)>=(e|0)|!b){break c}G((d<<5)+b|0,0,e-d<<5)}N[a+52>>2]=b;break b}N[a+52>>2]=b;if(c){break a}}N[a+12>>2]=e;c=0;N[a+88>>2]=b?(N[a+48>>2]<<5)+b|0:0}return c}function Dh(a,b){var c=0,d=0,e=0,f=0;c=N[a>>2];e=N[b+20>>2];a:{b:{if(e){d=85;if(!(Qa[e|0](b,c,0,0)|0)){break b}break a}d=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;d=rb(b,37936,a+4|0);if(d){break a}d=2;c=P[a+4>>1];if((c|256)!=768){break a}e=N[a+8>>2];if(e>>>0<((c|0)==768?148:118)>>>0){break a}if((c|0)==512){N[a+140>>2]=0;N[a+132>>2]=0;N[a+136>>2]=0}if(L[a+72|0]&1){break a}c=N[a>>2];f=N[b+20>>2];c:{if(f){d=85;if(Qa[f|0](b,c,0,0)|0){break a}e=N[a+8>>2];break c}d=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;d=dc(b,e,a+160|0)}return d}function FB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(b){h=N[d>>2]-T(N[d+4>>2],a)|0;while(1){e=P[c+2>>1];a:{if(!e){break a}d=T(M[c>>1],3)+h|0;g=e&7;b:{if(!g){f=e;break b}f=e&65528;a=0;while(1){L[d|0]=O[c+4|0];d=d+3|0;a=a+1|0;if((a&65535)!=(g|0)){continue}break}}if(e>>>0<8){break a}while(1){L[d|0]=O[c+4|0];L[d+3|0]=O[c+4|0];L[d+6|0]=O[c+4|0];L[d+9|0]=O[c+4|0];L[d+12|0]=O[c+4|0];L[d+15|0]=O[c+4|0];L[d+18|0]=O[c+4|0];L[d+21|0]=O[c+4|0];d=d+24|0;f=f-8|0;if(f&65535){continue}break}}c=c+6|0;b=b-1|0;if(b){continue}break}}}function hA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[N[a+4>>2]+712>>2];a:{b:{if(!N[d+2024>>2]){d=d+1372|0;break b}e=Qa[N[N[d+3088>>2]+8>>2]](d+3052|0,c)|0;c=3;if(e>>>0>=Q[d+2024>>2]){break a}c=e<<2;d=N[(c+d|0)+2028>>2];if(!b|!N[a+68>>2]){break b}N[a+72>>2]=N[(c+N[N[b+40>>2]>>2]|0)+4>>2]}e=N[d+620>>2];N[a+728>>2]=e;N[a+744>>2]=N[d+644>>2];c=0;b=0;c:{if(N[N[a+108>>2]+1416>>2]==1){break c}b=107;if(e>>>0<1240){break c}b=e>>>0<33900?1131:32768}N[a+736>>2]=b;N[a+584>>2]=N[d+540>>2];b=N[d+544>>2];N[a+768>>2]=d;N[a+588>>2]=b}return c|0}function sg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!N[c+20>>2]){N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;return}a=1<>2];d=0-a|0;f=N[c+8>>2];g=d>>>0>>0?f:d&(a+f|0)-1;d=N[c+12>>2];a:{if(g>>>0>((a^2147483647)>>>0)/(((d|0)<=1?1:d)>>>0)>>>0){break a}e=a+T(d,g)|0;if(e>>>0>=-5-a>>>0){break a}e=kb((a+e|0)+3|0);if(!e){break a}h=e+4|0;i=h&a-1;a=(i?a-i|0:0)+h|0;N[a-4>>2]=e;N[b+20>>2]=a;N[b+16>>2]=g;N[b+12>>2]=d;N[b+8>>2]=f;N[b>>2]=N[c>>2];N[b+4>>2]=N[c+4>>2];B(a,N[c+20>>2],T(N[c+12>>2],N[c+16>>2]))}}function Qc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}N[a+112>>2]=0;N[a+116>>2]=0;b=N[a+104>>2];if(b){Qa[b|0](N[a+100>>2])}Qc(N[a+20>>2]);nj(N[a+24>>2]);nc(N[a+96>>2]);_a(N[a+88>>2]);_a(N[a+92>>2]);_a(a)}return}ba(23506,14099,270,7918);F()}function Ex(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;c=N[a>>2];a:{b:{if(O[c+8|0]&2){d=Qa[N[N[c+540>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=N[e+12>>2];N[a+116>>2]=c;b=N[a>>2];if(L[b+8|0]&1){Xc(b,c);Uh(a);break b}d=Qa[N[N[b+540>>2]+108>>2]](b,c,a+12|0)|0;if(!d){break b}N[a+116>>2]=-1;break a}N[a+116>>2]=-1;c=N[a>>2]}re(c,b);if(!(L[N[a>>2]+8|0]&1)){break a}d=Uh(a);if(d){break a}c=a;d=P[a+84>>1];a=N[a+44>>2];a=N[(P[a>>1]>P[a+2>>1]?12:16)+b>>2];f=c,g=jb(d,4608,N[b>>2]==4?72:a?a:72),N[f+120>>2]=g}d=0}La=e+16|0;return d|0}function Vu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[a>>2];c=N[a+44>>2];a:{if(!c){break a}d=N[c>>2];if(!d|!N[d+96>>2]){break a}N[d+88>>2]=c}d=35;c=N[e+504>>2];b:{if(!c|!(O[c+8|0]&2)){break b}d=6;if((b|0)<0|N[c+28>>2]<=(b|0)){break b}d=N[N[N[c+96>>2]+12>>2]+92>>2];c:{if(!d){Xc(c,b);break c}d=Qa[d|0](N[c+88>>2],b)|0;if(d){break b}}b=N[N[e+504>>2]+88>>2];c=N[b+16>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=c;N[a+36>>2]=N[b+36>>2];c=N[b+32>>2];N[a+28>>2]=N[b+28>>2];N[a+32>>2]=c;c=N[b+24>>2];N[a+20>>2]=N[b+20>>2];N[a+24>>2]=c;d=0}return d|0}function AD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;b=0;if(N[N[a+96>>2]+28>>2]!=N[147119]){a:{if(!c){break a}while(1){h=N[d>>2];N[f>>2]=0;i=N[a+96>>2];j=N[i+28>>2];k=N[a+100>>2];i=N[i+12>>2];if(i){i=N[i+8>>2]}else{i=0}if(!(Qa[j|0](a,k,h,f,i)|0)){break a}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return(b>>>0>>0?b:c)|0}a=N[a+20>>2];i=N[a+96>>2];b=N[i+32>>2];h=N[a+100>>2];i=N[i+12>>2];if(!i){return Qa[b|0](a,h,c,d,e,f,g,0)|0}return Qa[b|0](a,h,c,d,e,f,g,N[i+12>>2])|0}function at(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=N[b+4>>2];a:{if((g|0)==N[b>>2]){break a}d=N[a+872>>2];if(!d){break a}a=N[b+8>>2];f=N[d+28>>2];if(a>>>0>>0){break a}h=N[d+36>>2]+N[d+40>>2]|0;if(h>>>0<=a>>>0){break a}e=(a-(g<<2)|0)-4|0;if(e>>>0>>0|e>>>0>=((N[d+24>>2]<<2)+f|0)+4>>>0){break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);L[c+4|0]=0;i=N[d+32>>2];d=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+f|0;if(i>>>0>d>>>0|d>>>0>=h>>>0){break a}N[c>>2]=d;j=1;N[b+4>>2]=g+1;N[b+8>>2]=a+4}return j|0}function Ve(a){var b=0,c=0,d=0;a:{b=db(1,172);b:{if(!b){c=N[147049];b=588184;break b}N[b+148>>2]=1073741823;N[b+152>>2]=536870911;N[b>>2]=1;N[b+4>>2]=1;c=Ic();c:{if(!c){break c}d=N[c>>2];if(!d){break c}if((d|0)<=0){break a}N[c>>2]=d+1}L[b+60|0]=1;N[b+24>>2]=65533;N[b+12>>2]=c}We(c);c=N[a+12>>2];d:{if(!c){break d}d=N[c>>2];if(!d){break d}if((d|0)<=0){break a}N[c>>2]=d+1}N[b+12>>2]=c;N[b+16>>2]=N[a+16>>2];N[b+20>>2]=N[a+20>>2];c=N[a+28>>2];N[b+28>>2]=c;N[b+24>>2]=c;N[b+32>>2]=N[a+32>>2];return b}ba(23506,14099,260,16403);F()}function lm(a){var b=0,c=0,d=0,e=0,f=0;N[a+28>>2]=4096;b=a+4168|0;N[a+24>>2]=b;N[a+8268>>2]=b;d=a+72|0;f=a+12|0;a:{while(1){if(!N[a+16>>2]){b=N[a>>2];c=N[b+20>>2];b:{if(c){c=Qa[c|0](b,N[b+8>>2],d,4096)|0;if(c){break b}break a}e=N[b+8>>2];c=N[b+4>>2]-e|0;c=c>>>0>=4096?4096:c;if(!c){break a}B(d,N[b>>2]+e|0,c)}N[b+8>>2]=N[b+8>>2]+c;N[a+16>>2]=c;N[a+12>>2]=d}b=km(f,0);if(b){if((b|0)==1){b=N[a+24>>2];N[a+8272>>2]=b;return(b|0)==N[a+8268>>2]?85:0}break a}if(N[a+28>>2]){continue}break}return 0}N[a+8272>>2]=N[a+8268>>2];return 85}function fg(a,b,c){var d=0,e=0;e=a;a:{b:{c:{d:{if((e^b)&3){break d}d=(c|0)!=0;e:{if(!(b&3)|!c){break e}while(1){d=O[b|0];L[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break e}if(c){continue}break}}if(!d){break b}if(!O[b|0]){break a}if(c>>>0<4){break d}while(1){d=N[b>>2];if((d^-1)&d-16843009&-2139062144){break c}N[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}}while(1){d=O[b|0];L[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}G(e,0,c);return a}function ad(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=La-16|0;La=e;A(+b);g=v(1)|0;c=v(0)|0;d=g&2147483647;f=d+-1048576|0;a:{if((f|0)==2145386495|f>>>0<2145386495){h=c<<28;c=(d&15)<<28|c>>>4;d=(d>>>4|0)+1006632960|0;break a}if((d|0)==2146435072|d>>>0>2146435072){h=c<<28;c=(g&15)<<28|c>>>4;d=g>>>4|2147418112;break a}if(!(c|d)){c=0;d=0;break a}f=c;c=d?W(d):W(c)+32|0;fc(e,f,d,0,0,c+49|0);i=N[e>>2];h=N[e+4>>2];f=15372-c<<16;c=N[e+8>>2];d=f|N[e+12>>2]^65536}N[a>>2]=i;N[a+4>>2]=h;N[a+8>>2]=c;N[a+12>>2]=g&-2147483648|d;La=e+16|0}function ms(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{d=a+20|0;e=N[b+160>>2];if(d>>>0<=e>>>0){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<20|c>>>0>e-a>>>0){break b}a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0>c-20>>>1>>>0){break b}if(!(!N[b+164>>2]|!a)){c=N[b+172>>2];while(1){if(c>>>0<=(O[d+1|0]|O[d|0]<<8)>>>0){break a}d=d+2|0;a=a-1|0;if(a){continue}break}}return 0}Pb(b,8);F()}Pb(b,8);F()}Pb(b,16);F()}function pB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=6;a:{if(!a){break a}e=N[b>>2];c=N[b+4>>2];if(N[c>>2]==N[a>>2]){d=0;if(N[c+4>>2]==N[a+4>>2]){break a}}d=6;if(!e){break a}b=Qa[N[e+4>>2]](e,40)|0;if(!b){return!b<<6}N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b+32>>2]=1;e=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=e;e=N[a+4>>2];N[b+8>>2]=N[a>>2];N[b+12>>2]=e;N[b+36>>2]=N[c+8>>2];N[c+8>>2]=b;b=N[a+4>>2];N[c>>2]=N[a>>2];N[c+4>>2]=b;d=0}return d|0}function ns(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[b>>2];if((c|0)==-1){return 0}d=c+1|0;a=N[a+16>>2];c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=d>>>0>e>>>0?d:e;e=c-e|0;d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if(e>>>0>=d>>>0){break a}a=(a+(e<<1)|0)+20|0;while(1){f=O[a+1|0]|O[a|0]<<8;if(f){break a}if((c|0)==-1){return 0}a=a+2|0;c=c+1|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}f=0}N[b>>2]=c;return f|0}function BB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;b=N[a+4>>2];g=b+c|0;b=0-b|0;f=g-1&b;b=b&d;if((P[e+12>>1]&7)!=2){b=N[a+20>>2]<(d-g|0)?b:(c|0)==(f|0)?b:(b|0)==(d|0)?b:f}c=N[a>>2];b=b>>c;a:{if((b|0)<0){break a}d=f>>c;c=P[a+50>>1];if((d|0)>=(c|0)){break a}f=b>>>0>>0?b:c-1|0;c=-128>>(f&7);e=N[a+56>>2];d=(d|0)>0?d:0;a=d>>>3|0;b=e+a|0;d=255>>>(d&7)|0;f=f<<13>>16;g=f-a|0;b:{if((g|0)>0){L[b|0]=d|O[b|0];if((g|0)!=1){G((a+e|0)+1|0,255,f+(a^-1)|0);a=f-1|0}b=(a+e|0)+1|0;break b}c=c&d}L[b|0]=O[b|0]|c}}function Fm(a,b){var c=0,d=0,e=0;if(b){d=N[b+608>>2];if(d){c=N[d+28>>2];e=N[b+640>>2];if(e){if(N[d+20>>2]){Qa[N[c+8>>2]](c,e)}N[b+640>>2]=0}d=N[b+636>>2];if(d){Qa[N[c+8>>2]](c,d)}c=b+608|0;N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=N[b+644>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+644>>2]=0;c=N[b+572>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+572>>2]=0;c=N[b+580>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+580>>2]=0;c=N[b+592>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+592>>2]=0}}function yD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;b=La-16|0;La=b;N[b+12>>2]=c;d=N[a+96>>2];e=N[d+48>>2];a:{if((e|0)!=N[147124]){f=N[a+100>>2];g=b+12|0;h=b+8|0;c=N[d+12>>2];if(c){c=N[c+28>>2]}else{c=0}Qa[e|0](a,f,1,g,0,h,0,c);c=N[b+8>>2];break a}d=N[a+20>>2];e=N[d+96>>2];f=N[e+40>>2];g=N[d+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}c=Qa[f|0](d,g,c,e)|0;d=N[a+20>>2];if(!d){break a}d=N[d+28>>2];a=N[a+28>>2];if((d|0)==(a|0)){break a}c=UE(TE(a,a>>31,c,c>>31),Pa,d,d>>31)}La=b+16|0;return c|0}function xD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;b=La-16|0;La=b;N[b+12>>2]=c;d=N[a+96>>2];e=N[d+52>>2];a:{if((e|0)!=N[147125]){f=N[a+100>>2];g=b+12|0;h=b+8|0;c=N[d+12>>2];if(c){c=N[c+32>>2]}else{c=0}Qa[e|0](a,f,1,g,0,h,0,c);c=N[b+8>>2];break a}d=N[a+20>>2];e=N[d+96>>2];f=N[e+44>>2];g=N[d+100>>2];e=N[e+12>>2];if(e){e=N[e+24>>2]}else{e=0}c=Qa[f|0](d,g,c,e)|0;d=N[a+20>>2];if(!d){break a}d=N[d+32>>2];a=N[a+32>>2];if((d|0)==(a|0)){break a}c=UE(TE(a,a>>31,c,c>>31),Pa,d,d>>31)}La=b+16|0;return c|0}function og(a){var b=0,c=0,d=0;a:{if(!a){a=N[147312];if(a){b=og(a)}a=N[147274];if(a){b=og(a)|b}a=N[147575];if(!a){break a}while(1){if(N[a+20>>2]!=N[a+28>>2]){b=og(a)|b}a=N[a+56>>2];if(a){continue}break}break a}c=N[a+76>>2]<0;b:{c:{if(N[a+20>>2]==N[a+28>>2]){break c}Qa[N[a+36>>2]](a,0,0)|0;if(N[a+20>>2]){break c}b=-1;if(!c){break b}break a}b=N[a+8>>2];d=N[a+4>>2];if((b|0)!=(d|0)){b=d-b|0;Qa[N[a+40>>2]](a,b,b>>31,1)|0}b=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(c){break a}}}return b}function un(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=35;a:{if(!(O[a+8|0]&2)){break a}d=7;if(N[b>>2]){break a}e=N[b+4>>2];f=e;d=N[b+12>>2];if(d){f=(T(d,e)+36|0)/72|0}g=N[b+8>>2];h=g;d=23;b=N[b+16>>2];if(b){h=(T(b,g)+36|0)/72|0}b=g?h:f;f=(e?f:b)+32&-64;if(!f){break a}e=(e?b:h)+32&-64;if(!e){break a}h=N[a+28>>2];if((h|0)<=0){break a}a=N[a+32>>2];b=0;while(1){g=a+(b<<4)|0;if(!((e|0)!=(N[g+12>>2]+32&-64)|(f|0)!=(N[g+8>>2]+32&-64))){d=0;if(!c){break a}N[c>>2]=b;return 0}b=b+1|0;if((h|0)!=(b|0)){continue}break}}return d}function Rh(a,b){var c=0,d=0,e=0,f=0,g=0;c=N[b+4>>2];if(c){if(N[b>>2]){while(1){f=e<<4;d=N[(f+c|0)+8>>2];if(d){Qa[N[a+8>>2]](a,d);c=N[b+4>>2]}d=c+f|0;N[d+8>>2]=0;d=N[d+12>>2];if(d){Qa[N[a+8>>2]](a,d);c=N[b+4>>2]}N[(c+f|0)+12>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}Qa[N[a+8>>2]](a,c);N[b+4>>2]=0}e=N[b+16>>2];if(e){f=N[b+12>>2];if(f){c=0;while(1){d=c<<2;g=N[d+e>>2];if(g){Qa[N[a+8>>2]](a,g);f=N[b+12>>2];e=N[b+16>>2]}N[e+d>>2]=0;c=c+1|0;if(f>>>0>c>>>0){continue}break}}Qa[N[a+8>>2]](a,e);N[b+16>>2]=0}}function oB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=6;a:{if(!a|!b){break a}e=N[c>>2];if(!e){break a}d=N[c+4>>2];c=Qa[N[e+4>>2]](e,40)|0;if(!c){return!c<<6}N[c+32>>2]=0;N[c+36>>2]=0;N[c>>2]=0;N[c+4>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;N[c+32>>2]=2;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;e=N[a+4>>2];N[c+16>>2]=N[a>>2];N[c+20>>2]=e;a=N[b+4>>2];N[c+8>>2]=N[b>>2];N[c+12>>2]=a;N[c+36>>2]=N[d+8>>2];N[d+8>>2]=c;a=N[b+4>>2];N[d>>2]=N[b>>2];N[d+4>>2]=a;d=0}return d|0}function AB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:{f=T(b,f);if((f|0)<=0){break a}i=a+f|0;if(e){j=e&-2;k=e&1;while(1){f=0;b:{if((e|0)!=1){while(1){h=a+f|0;g=O[c+f|0]+O[h|0]|0;L[h|0]=g>>>0>=255?255:g;g=f|1;h=g+a|0;g=O[c+g|0]+O[h|0]|0;L[h|0]=g>>>0>=255?255:g;f=f+2|0;if((j|0)!=(f|0)){continue}break}if(!k){break b}}g=a+f|0;f=O[c+f|0]+O[g|0]|0;L[g|0]=f>>>0>=255?255:f}c=c+d|0;a=a+b|0;if(i>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(i>>>0>a>>>0){continue}break}}}function wg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;N[a+112>>2]=N[a+112>>2]+1;cd(N[a+852>>2]);cd(N[a+848>>2]);cd(N[a+844>>2]);b=N[a+16>>2];N[a+132>>2]=b;c=N[a+20>>2];N[a+136>>2]=c;d=b-(N[a- -64>>2]+N[a+68>>2]|0)|0;N[a+144>>2]=d;e=c-(N[a+56>>2]+N[a+60>>2]|0)|0;N[a+140>>2]=e;h=TE(d,d>>31,c,c>>31);f=Pa;i=TE(e,e>>31,b,b>>31);g=Pa;S[a+160>>3]=(g|0)<=(f|0)&h>>>0>=i>>>0|(f|0)>(g|0)?+(b|0):+(c|0)*+(d|0)/+(e|0);if((f|0)<=(g|0)&h>>>0<=i>>>0|(f|0)<(g|0)){S[a+152>>3]=c|0;return}S[a+152>>3]=+(b|0)*+(e|0)/+(d|0)}function Pd(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){c=f+-64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<>>b}d=0;e=0;break a}if(!f){break a}i=d;h=64-f|0;g=h&31;if((h&63)>>>0>=32){h=d<>>32-g|e<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=j|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e}function eg(a,b){var c=0,d=0,e=0;d=La-16|0;La=d;a:{if(!a){c=35;break a}c=6;if(!b|N[b+4>>2]<0|(N[b+8>>2]<0|Q[b>>2]>4)){break a}c=N[a+88>>2];N[N[c+40>>2]+12>>2]=0;e=N[N[N[a+96>>2]+12>>2]+88>>2];if(e){c=Qa[e|0](c,b)|0;break a}if((N[a+8>>2]&3)==2){c=un(a,b,d+12|0);if(c){break a}b=N[d+12>>2];c=35;b:{c:{if(!a|!(O[a+8|0]&2)){break c}c=6;if((b|0)<0|(b|0)>=N[a+28>>2]){break c}c=N[N[N[a+96>>2]+12>>2]+92>>2];if(c){a=Qa[c|0](N[a+88>>2],b)|0;break b}Xc(a,b);c=0}a=c}c=a;break a}re(a,b);c=0}La=d+16|0;return c}function _D(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;b=N[b>>2];a=N[b+12>>2];a:{if(a){break a}while(1){a=N[b>>2];if(!a){a=275552;break a}h=db(1,48);if(!h){a=275552;N[b+12>>2]=275552;break a}a=hj(h,a);if(!N[b+12>>2]){N[b+12>>2]=a;break a}ab(N[a+44>>2]);_a(a);a=N[b+12>>2];if(!a){continue}break}}h=N[a+8>>2];if(!h){return 0}b=0;b:{if(!c){break b}a=N[a+12>>2];while(1){if(!(Qa[h|0](a,N[d>>2],f)|0)){break b}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return b|0}function er(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+660>>2];if(b){tg(b);N[a+660>>2]=0}Zo(N[a+384>>2]);c=N[a+380>>2];if(c){_a(N[c>>2]);N[c>>2]=0;b=N[c+8>>2];e=0;a:{if(!b){break a}d=N[b>>2];e=b;if(!d){break a}while(1){_a(d);d=N[b+4>>2];b=b+4|0;if(d){continue}break}e=N[c+8>>2]}_a(e);N[c+8>>2]=0;if(N[c+16>>2]){b=0;while(1){d=T(b,12);_a(N[d+N[c+12>>2]>>2]);_a(N[(d+N[c+12>>2]|0)+4>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[c+12>>2]);_a(c)}_a(N[a>>2]);N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Kv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}e=N[b+16>>2];if((e|0)<=0){break a}c=N[c+320>>2];b=b+20|0;e=b+(e<<2)|0;while(1){f=N[b>>2];if(cb(N[N[f>>2]+8>>2],11971)){b=b+4|0;if(e>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}c=Qa[b|0](f)|0;if(!c){break a}b=N[a>>2];g=Qa[N[c>>2]](N[b+100>>2],N[b+304>>2]+T(N[b+4>>2],252)|0,d+12|0)|0;if(g){break a}N[N[a+40>>2]>>2]=N[d+12>>2]}La=d+16|0;return g|0}function pt(a){a=a|0;var b=0,c=0,d=0;a:{if(!O[a+632|0]){break a}c=N[a+100>>2];b=N[a+476>>2];if((b|0)!=151552){if((b|0)!=131072){break a}b=N[a+640>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+636>>1]=0;N[a+640>>2]=0;if(!P[a+638>>1]){break a}b=N[a+644>>2];N[b>>2]=N[b>>2]-1;b=N[a+644>>2];d=N[b>>2];if(d){Qa[N[c+8>>2]](c,d);b=N[a+644>>2]}N[b>>2]=0;b=N[a+644>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+638>>1]=0;N[a+644>>2]=0;break a}b=N[a+640>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+636>>1]=0;N[a+640>>2]=0}L[a+632|0]=0}function IB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:{f=T(b,f);if((f|0)<=0){break a}h=a+f|0;if(e){j=e&-2;k=e&1;while(1){f=0;b:{if((e|0)!=1){while(1){g=a+f|0;L[g|0]=T(O[g|0],O[c+f|0]^255)+255>>>8;g=f|1;i=g+a|0;L[i|0]=T(O[i|0],O[c+g|0]^255)+255>>>8;f=f+2|0;if((j|0)!=(f|0)){continue}break}if(!k){break b}}g=a+f|0;L[g|0]=T(O[g|0],O[c+f|0]^255)+255>>>8}c=c+d|0;a=a+b|0;if(h>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(h>>>0>a>>>0){continue}break}}}function oD(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;b=N[a+20>>2];N[f>>2]=0;N[e>>2]=0;g=N[b+96>>2];h=N[g+76>>2];i=N[b+100>>2];g=N[g+12>>2];if(g){g=N[g+56>>2]}else{g=0}h=Qa[h|0](b,i,c,d,e,f,g)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[e>>2];d=N[c+28>>2];g=N[a+28>>2];if((d|0)!=(g|0)){b=UE(TE(g,g>>31,b,b>>31),Pa,d,d>>31)}N[e>>2]=b;b=N[f>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=UE(TE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[f>>2]}N[f>>2]=b}return h|0}function fn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;d=N[a+736>>2];a:{if(!d){c=qe(a,0);if(c){break a}d=N[a+736>>2]}c=6;if(P[a+14>>1]>>0){break a}b:{if(b){f=N[a+100>>2];g=N[d+12>>2];d=N[g+16>>2]+T(b,12)|0;c=Qa[N[N[a+540>>2]+160>>2]](a,P[d-8>>1],e+12|0)|0;if(c){break a}c=N[a+24>>2];if(c){Qa[N[f+8>>2]](f,c)}N[a+24>>2]=N[e+12>>2];c=Qh(a,N[g>>2],N[d-12>>2]);if(c){c=(c|0)!=-1?c:0;break a}c=0;break b}c=Qh(a,0,0)}M[a+6>>1]=b;N[a+8>>2]=N[a+8>>2]&-32769}La=e+16|0;return c|0}function xq(a,b){var c=0,d=0,e=0,f=0;a:{e=N[a+72>>2];c=e+1|0;b:{if(!(!c|c>>>0>2])){if(!gb(a,c)){break b}e=N[a+72>>2]}c=N[a+84>>2];c:{if((c|0)!=N[a+80>>2]|Q[a+64>>2]>=e+1>>>0){break c}if(!O[a+62|0]){break a}d=N[a+88>>2];N[a+84>>2]=d;f=T(e,20);if(!f){c=d;break c}B(d,c,f);e=N[a+72>>2];c=N[a+84>>2]}d=N[b+4>>2];c=T(e,20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);F()}function qu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{d=N[b>>2];e=N[a+16>>2];g=P[e+2>>1];h=g+(P[e+6>>1]<<8)|0;if(d>>>0>=h>>>0){break a}a=P[e>>1];k=(g-a|0)+1|0;i=P[e+4>>1];j=a+(i<<8)|0;e=N[e+12>>2];while(1){c=d+1|0;c=c>>>0>j>>>0?c:j;d=c>>>8|0;c=c&255;b:{if(c>>>0>>0){c=a;break b}f=c>>>0>g>>>0;c=f?a:c;d=d+f|0}f=d&65535;d=(f<<8)+c|0;c=P[e+((c-a|0)+T(f-i|0,k)<<1)>>1];if((c|0)!=65535){break a}if(d>>>0>>0){continue}break}N[b>>2]=d;return 65535}N[b>>2]=d;return c|0}function fc(a,b,c,d,e,f){var g=0,h=0,i=0;a:{if(f&64){e=f+-64|0;f=b;d=e&31;if((e&63)>>>0>=32){e=f<>>32-d|c<>>0>=32){i=d<>>32-g|e<>>0>=32){e=0;d=c>>>d|0}else{e=c>>>d|0;d=((1<>>d}d=h|d;e=e|i;h=b;g=f&31;if((f&63)>>>0>=32){i=b<>>32-g|c<>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e}function Us(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;N[c>>2]=-1;N[d>>2]=-1;f=P[a+340>>1];if(f){h=N[a+356>>2];a=0;while(1){e=T(a,20)+h|0;a:{if(P[e+6>>1]!=(b|0)|!P[e+8>>1]){break a}b:{c:{switch(P[e>>1]-1|0){case 2:if(P[e+2>>1]>1){break a}g=c;if(P[e+4>>1]==1033|N[c>>2]==-1){break b}break a;case 0:break c;default:break a}}if(P[e+2>>1]){break a}g=d;if(!P[e+4>>1]){break b}if(N[d>>2]!=-1){break a}}N[g>>2]=a}a=a+1|0;if((f|0)!=(a|0)){continue}break}}return(N[d>>2]&N[c>>2])>=0|0}function pn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;a:{if(!a){f=35;break a}f=38;if(!b){break a}d=N[a+40>>2];if(!d){break a}f=6;g=N[a+36>>2];if((g|0)<=0){break a}g=(g<<2)+d|0;while(1){b:{if(N[d>>2]!=(b|0)){break b}c=N[b>>2];c:{if(!c){break c}c=N[c+96>>2];h=N[N[c>>2]+32>>2];if(!h){break c}c=Qa[h|0](c,10557)|0;if(!c){break c}if(Qa[N[c>>2]](b,e+8|0)|0){break c}if(N[e+12>>2]==14){break b}}N[a+92>>2]=N[d>>2];f=0;break a}d=d+4|0;if(g>>>0>d>>>0){continue}break}}La=e+16|0;return f}function If(a,b,c,d){var e=0,f=0;f=N[b+88>>2];e=O[a+2|0]|O[a+3|0]<<8;R[c>>2]=R[f+44>>2]*U((e<<8|e>>>8)<<16>>16);e=O[a+4|0]|O[a+5|0]<<8;R[d>>2]=R[f+48>>2]*U((e<<8|e>>>8)<<16>>16);if(N[f+72>>2]|N[f+84>>2]){e=O[a+6|0]|O[a+7|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}e=_g(e,f,N[b+108>>2],N[b+112>>2]);R[c>>2]=R[c>>2]+U(e|0)}if(N[f+76>>2]|N[f+84>>2]){c=O[a+8|0]|O[a+9|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}a=Zg(a,f,N[b+108>>2],N[b+112>>2]);R[d>>2]=R[d>>2]+U(a|0)}}function yi(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=La-32|0;La=g;e=S[a+24>>3]*e;a:{if(V(e)<2147483648){i=~~e;break a}i=-2147483648}h=f&1;d=S[a+16>>3]*d;b:{if(V(d)<2147483648){j=~~d;break b}j=-2147483648}c:{if(h){N[g+28>>2]=c+i;N[g+24>>2]=b+j;k=N[a>>2];h=N[g+28>>2];N[g+16>>2]=N[g+24>>2];N[g+20>>2]=h;h=0;if(!Fb(k,g+16|0,1)){break c}}if(f&2){N[g+28>>2]=c-i;N[g+24>>2]=b-j;a=N[a+4>>2];b=N[g+28>>2];N[g+8>>2]=N[g+24>>2];N[g+12>>2]=b;h=0;if(!Fb(a,g+8|0,1)){break c}}h=1}La=g+32|0;return h}function PB(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a:{h=T(b,h);if((h|0)<=0){break a}j=a+h|0;if(g){k=g&-2;l=g&1;while(1){h=0;b:{if((g|0)!=1){while(1){L[a+h|0]=T(O[e+h|0],O[c+h|0])+255>>>8;i=h|1;L[i+a|0]=T(O[e+i|0],O[c+i|0])+255>>>8;h=h+2|0;if((k|0)!=(h|0)){continue}break}if(!l){break b}}L[a+h|0]=T(O[e+h|0],O[c+h|0])+255>>>8}e=e+f|0;c=c+d|0;a=a+b|0;if(j>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(j>>>0>a>>>0){continue}break}}}function se(a,b,c){var d=0,e=0,f=0;a:{if(!a){break a}d=M[a+2>>1];if((d|0)<=0){break a}a=N[a+4>>2];if(d>>>0>=4){f=d&-4;while(1){N[a>>2]=N[a>>2]+b;N[a+4>>2]=N[a+4>>2]+c;N[a+8>>2]=N[a+8>>2]+b;N[a+16>>2]=N[a+16>>2]+b;N[a+24>>2]=N[a+24>>2]+b;N[a+12>>2]=N[a+12>>2]+c;N[a+20>>2]=N[a+20>>2]+c;N[a+28>>2]=N[a+28>>2]+c;a=a+32|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){N[a>>2]=N[a>>2]+b;N[a+4>>2]=N[a+4>>2]+c;a=a+8|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}}function cz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=La-32|0;La=e;N[e+16>>2]=b;d=N[a+48>>2];N[e+20>>2]=c-((d|0)!=0);g=N[a+44>>2];N[e+28>>2]=d;N[e+24>>2]=g;a:{b:{d=oa(N[a+60>>2],e+16|0,2,e+12|0)|0;if(d){N[147316]=d;d=-1}else{d=0}if(d){b=32}else{d=N[e+12>>2];if((d|0)>0){break b}b=d?32:16}N[a>>2]=b|N[a>>2];break a}f=d;g=N[e+20>>2];if(g>>>0>=d>>>0){break a}f=N[a+44>>2];N[a+4>>2]=f;N[a+8>>2]=f+(d-g|0);if(N[a+48>>2]){N[a+4>>2]=f+1;L[(b+c|0)-1|0]=O[f|0]}f=c}La=e+32|0;return f|0}function tf(a,b,c){var d=0,e=0,f=0;if(Q[b+4>>2]>a>>>0){return 0}d=N[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<3){return 0}e=N[b+12>>2]-3|0;N[b+12>>2]=e;d=1;if((e|0)<=0){return 0}e=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);a:{if(!e){break a}f=N[b+20>>2];b:{if((f|0)>15){break b}f=f+1|0;N[b+20>>2]=f;if(!f){break b}c=_d(c+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(c){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a+2|0]=0;L[a|0]=0;L[a+1|0]=0;d=1}return d}function FA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c=N[a+28>>2];if(O[c+44|0]){break b}d=To(c,N[b>>2],N[b+4>>2]);if(!d){break b}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=d;return}d=N[b+12>>2];f=N[b+8>>2];c:{b=N[c+12>>2];if((M[b+22>>1]+M[b+58>>1]|0)+1>>>0>Q[b+4>>2]){b=Sb(b,1,0);if(b){break c}}a=N[c+20>>2];if(O[c+45|0]){b=N[a+8>>2];c=M[a+2>>1];e=N[a+4>>2]+(c<<3)|0;N[e+4>>2]=d>>10;N[e>>2]=f>>10;L[b+c|0]=1}M[a+2>>1]=P[a+2>>1]+1;return}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=b}}function At(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qa[N[a+516>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=rb(b,178672,d);if(c){break a}M[a+290>>1]=0;M[a+282>>1]=0;M[a+284>>1]=0;M[a+286>>1]=0;M[a+288>>1]=0;M[a+274>>1]=0;M[a+276>>1]=0;M[a+278>>1]=0;M[a+280>>1]=0;M[a+266>>1]=0;M[a+268>>1]=0;M[a+270>>1]=0;M[a+272>>1]=0;b:{if(N[a+260>>2]<65536){break b}c=rb(b,178688,d);if(c){break a}if(P[a+280>>1]<=63){M[a+280>>1]=64}if(P[a+276>>1]<65532){break b}M[a+276>>1]=65531}c=0}return c|0}function AE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=N[N[a+112>>2]+4>>2];if(c){zj(c,b,N[a+4>>2])}a=O[b+140|0];if(!(a&64)){L[b+140|0]=a|64;d=N[b+68>>2];if(d){e=N[b+80>>2];g=e+2|0;a=0;while(1){c=0;f=T(a,20);b=N[f+e>>2];if(b>>>0<=921599){c=O[(b&1|O[(b>>>1&7|P[(b>>>3&14|O[(b>>>7&31|O[(b>>>13|0)+248896|0]>>>(b>>>10&4)<<5&480)+249009|0]<<4)+252048>>1]<<3)+249489|0]<<1)+251673|0]}L[(g+f|0)+16|0]=c;a=a+1|0;if((d|0)!=(a|0)){continue}break}}return}ba(22778,14165,169,12138);F()}function tD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=N[a+20>>2];N[e>>2]=0;N[d>>2]=0;f=N[b+96>>2];g=N[f+56>>2];h=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+36>>2]}else{f=0}h=Qa[g|0](b,h,c,d,e,f)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[d>>2];f=N[c+28>>2];g=N[a+28>>2];if((f|0)!=(g|0)){b=UE(TE(g,g>>31,b,b>>31),Pa,f,f>>31)}N[d>>2]=b;b=N[e>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=UE(TE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[e>>2]}N[e>>2]=b}return h|0}function sD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=N[a+20>>2];N[e>>2]=0;N[d>>2]=0;f=N[b+96>>2];g=N[f+60>>2];h=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+40>>2]}else{f=0}h=Qa[g|0](b,h,c,d,e,f)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[d>>2];f=N[c+28>>2];g=N[a+28>>2];if((f|0)!=(g|0)){b=UE(TE(g,g>>31,b,b>>31),Pa,f,f>>31)}N[d>>2]=b;b=N[e>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=UE(TE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[e>>2]}N[e>>2]=b}return h|0}function $o(a,b){var c=0,d=0,e=0;d=La-16|0;La=d;c=N[a>>2]+1|0;N[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){Tb(d+12|0,b);c=N[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=O[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;N[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(O[c|0]!=62){break c}}c=c+1|0;b=0}N[a>>2]=c;La=d+16|0;return b}function HE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;b=N[c+68>>2];a:{if(!b){break a}a=N[c+80>>2];c=0;if(b>>>0>=4){e=b&-4;while(1){d=T(c,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|1,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|2,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|3,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;c=c+4|0;if((e|0)!=(c|0)){continue}break}}b=b&3;if(!b){break a}while(1){e=T(c,20)+a|0;M[e+12>>1]=P[e+12>>1]&65519;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}return 0}function bc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}We(N[a+12>>2]);_a(N[a+80>>2]);_a(N[a+88>>2]);b=N[a+164>>2];if(b){Qa[b|0](N[a+160>>2])}_a(a)}return}ba(23506,14099,270,7918);F()}function Si(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if(N[b+72>>2]==N[a+16>>2]){e=M[b+110>>1];a:{if(!e){e=0;a=0;b=0;break a}d=N[b+112>>2];a=N[d+4>>2];b=N[d>>2];if((e|0)<2){e=a;f=b;break a}i=(e<<3)+d|0;h=d+8|0;f=b;e=a;while(1){g=N[d+12>>2];e=(e|0)<(g|0)?g:e;a=(a|0)>(g|0)?g:a;d=N[d+8>>2];f=(d|0)>(f|0)?d:f;b=(b|0)>(d|0)?d:b;d=h;h=d+8|0;if(i>>>0>h>>>0){continue}break}}N[c+8>>2]=f;N[c>>2]=b;N[c+12>>2]=e;N[c+4>>2]=a}}function lD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=U(0),i=0;b=La-32|0;La=b;N[b+16>>2]=e;N[b+12>>2]=d;d=N[a+20>>2];e=N[d+28>>2];if(e){g=U(U(N[a+28>>2])/U(e|0))}else{g=U(0)}R[b+20>>2]=g;e=N[d+32>>2];if(e){g=U(e|0);h=U(U(N[a+32>>2])/g);g=U(U(U(R[a+36>>2]-R[d+36>>2])*U(N[a+28>>2]))/g)}else{g=U(0)}R[b+28>>2]=g;R[b+24>>2]=h;a=N[d+96>>2];e=N[a+88>>2];f=N[d+100>>2];i=b+12|0;a=N[a+12>>2];if(a){a=N[a+68>>2]}else{a=0}Qa[e|0](d,f,c,588872,i,a);La=b+32|0}function yc(a){var b=0,c=0,d=0,e=0;a:{b:{if(O[a+62|0]){b=N[a+68>>2];d=N[a+64>>2];if(b>>>0>>0){break b}c:{d:{if(O[a+60|0]){c=N[a+72>>2];if(Al(a,b-d|0)){break d}b=N[a+68>>2]}N[a+84>>2]=N[a+80>>2];c=d;break c}e=N[a+84>>2];b=N[a+80>>2];if((e|0)!=(b|0)){N[a+80>>2]=e;N[a+88>>2]=b}b=N[a+72>>2];N[a+68>>2]=b}N[a+72>>2]=c;L[a+62|0]=1;N[a+64>>2]=c;if(b>>>0>>0){break a}return c-d|0}ba(8694,17855,395,17735);F()}ba(13069,17855,397,17735);F()}ba(13069,17855,438,12229);F()}function _o(a,b,c,d){var e=0,f=0,g=0,h=0;h=N[a>>2];if(h>>>0>>0){f=1;d=d<<1;b=b-h|0;d=b>>>0>d>>>0?d:b;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=O[b+h|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=O[e+294800|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}L[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}L[c+g|0]=f<<4;g=g+1|0}N[a>>2]=b+h}return g}function px(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}e=N[b+16>>2];if((e|0)<=0){break a}c=N[c+552>>2];b=b+20|0;e=b+(e<<2)|0;while(1){f=N[b>>2];if(cb(N[N[f>>2]+8>>2],11971)){b=b+4|0;if(e>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](f)|0;if(!b){break a}c=N[a>>2];g=Qa[N[b>>2]](N[c+100>>2],c+168|0,d+12|0)|0;if(g){break a}N[N[a+40>>2]>>2]=N[d+12>>2]}La=d+16|0;return g|0}function pe(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==O[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}d=b&255;if(!((d|0)==O[a|0]|c>>>0<4)){d=T(d,16843009);while(1){e=d^N[a>>2];if((e^-1)&e-16843009&-2139062144){break b}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}b=b&255;while(1){if((b|0)==O[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function gk(a,b){var c=0,d=0,e=0,f=0;d=La-32|0;La=d;e=N[b+96>>2];f=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,f);a:{if((c|0)==-1){break a}a=O[a+4|0]|O[a+5|0]<<8;a=f+(a<<8|a>>>8)&65535;if(N[e+156>>2]){yc(e);e=N[b+88>>2];f=N[b+96>>2];N[d+16>>2]=N[f+64>>2];ib(f,e,23368,d+16|0)}Ne(b,a);a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[d>>2]=N[a+64>>2]-1;ib(a,b,23412,d)}La=d+32|0;return(c|0)!=-1}function _z(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=N[a+16>>2];a:{if(j){c=N[b>>2]+1|0;k=N[a+20>>2];h=j;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+k|0;f=N[e>>2];if((f|0)==(c|0)){a=N[((i<<3)+k|0)+4>>2];N[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?N[e+4>>2]:g;e=c>>>0>f>>>0;d=e?i+1|0:d;h=e?h:i;if(d>>>0>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=j>>>0){break a}a=N[a+20>>2]+(d<<3)|0;c=N[a>>2]&2147483647;g=N[a+4>>2]}N[b>>2]=c;return g|0}function Xp(a,b){var c=0,d=0,e=0,f=0,g=0;d=kb(T(b,28));if(d){if(N[a+4>>2]){while(1){f=T(e,28);c=f+d|0;b=N[a+8>>2]+f|0;N[c>>2]=N[b>>2];N[c+4>>2]=N[b+4>>2];N[b+4>>2]=0;N[c+8>>2]=N[b+8>>2];N[b+8>>2]=0;N[c+12>>2]=N[b+12>>2];N[b+12>>2]=0;N[c+24>>2]=N[b+24>>2];g=N[b+20>>2];N[c+16>>2]=N[b+16>>2];N[c+20>>2]=g;b=N[a+8>>2]+f|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}_a(N[a+8>>2])}return d}function rg(a){var b=0,c=0,d=0;d=La-32|0;La=d;c=N[a+500>>2];b=N[a+496>>2];N[d+8>>2]=b;N[d+12>>2]=c;if(b){a:{if(!(!c|O[b|0]!=64)){N[d+12>>2]=c-1;N[d+24>>2]=1;N[d+8>>2]=b+1;break a}N[d+24>>2]=0}c=700;b:{c:{b=N[a+504>>2];switch(b+1|0){case 0:case 2:break b;default:break c}}c=b?b:400}N[d+16>>2]=c;c=N[a+508>>2];N[d+20>>2]=(c|0)==1?100:c;tb(N[a+72>>2]);c=0;b=N[a>>2];b=rc(N[b+840>>2],d+8|0,b);d:{if(!b){break d}if(N[b+20>>2]){c=b;break d}tb(b)}N[a+72>>2]=c}La=d+32|0}function Xr(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(b>>>0>65535){break a}c=N[a+16>>2];a=c+518|0;c=c+6|0;b:{if(b>>>0<=255){c=c+(b<<1&510)|0;if(!(O[c|0]<<8|O[c+1|0])){break b}break a}c=c+(b>>>7&33554430)|0;c=O[c|0]<<8|O[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(O[a+1|0]|O[a|0]<<8)|0;if(b>>>0>=(O[a+3|0]|O[a+2|0]<<8)>>>0){break a}c=O[a+7|0]|O[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=O[b|0]<<8|O[b+1|0];if(!b){break a}d=b+(O[a+5|0]|O[a+4|0]<<8)&65535}return d|0}function JC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;f=0;a=N[b+12>>2];a:{if(!e|(!a|!d)){break a}L[d|0]=0;if(!(O[a+9|0]&2)|N[a+16>>2]<=(c|0)){break a}b:{c:{g=N[a+128>>2];b=N[g+40>>2];switch(b+2|0){case 0:break a;case 2:break c;default:break b}}b=N[a+96>>2];h=N[N[b>>2]+32>>2];d:{if(!h){b=0;break d}b=Qa[h|0](b,9592)|0;g=N[a+128>>2]}N[g+40>>2]=b?b:-2}if(!b){break a}b=N[b>>2];if(!b){break a}if(Qa[b|0](a,c,d,e)|0){break a}f=O[d|0]!=0}return f|0}function pv(a){a=a|0;var b=0,c=0;b=N[N[a+156>>2]>>2];N[a+184>>2]=0;N[a+188>>2]=0;N[a+160>>2]=0;N[a+164>>2]=0;N[a+168>>2]=0;N[a+172>>2]=0;N[a+176>>2]=0;N[a+180>>2]=0;N[a+192>>2]=0;N[a+188>>2]=b;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;c=N[b+32>>2];a=b- -64|0;N[a>>2]=N[b+28>>2];N[a+4>>2]=c;N[b+88>>2]=N[b+52>>2];a=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=a;a=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=a;a=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=a;return 0}function ng(a,b){if(!a){return 0}a:{b:{if(b>>>0<=127){break b}c:{if(!N[N[147600]>>2]){if((b&-128)==57216){break b}break c}if(b>>>0<=2047){L[a+1|0]=b&63|128;L[a|0]=b>>>6|192;a=2;break a}if(!((b&-8192)!=57344&b>>>0>=55296)){L[a+2|0]=b&63|128;L[a|0]=b>>>12|224;L[a+1|0]=b>>>6&63|128;a=3;break a}if(b-65536>>>0<=1048575){L[a+3|0]=b&63|128;L[a|0]=b>>>18|240;L[a+2|0]=b>>>6&63|128;L[a+1|0]=b>>>12&63|128;a=4;break a}}N[147316]=25;a=-1;break a}L[a|0]=b;a=1}return a}function yo(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=La-48|0;La=g;i=db(1,8);a:{if(!i){break a}N[i>>2]=d;N[i+4>>2]=e;h=db(1,40);if(!h){_a(i);break a}d=Qa[d|0](e,0,0,0)|0;N[h+24>>2]=375;N[h+20>>2]=376;N[h+4>>2]=d;N[h+12>>2]=i;N[g+28>>2]=0;N[g+32>>2]=0;N[g+44>>2]=0;N[g+36>>2]=0;N[g+40>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=2;N[g+32>>2]=h;if(Sd(b,g+16|0,f,g+12|0,1)){if(c){N[g>>2]=c;mb(a,2,24556,g);break a}mb(a,2,9040,0);break a}j=N[g+12>>2]}La=g+48|0;return j}function Fk(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-32|0;La=e;c=N[b+96>>2];d=O[a+2|0]|O[a+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+a|0}else{f=275552}d=N[c+64>>2];f=vb(f,N[N[c+80>>2]+T(d,20)>>2]);if((f|0)!=-1){if(N[c+156>>2]){g=N[b+88>>2];N[e+16>>2]=d;ib(c,g,17402,e+16|0);d=N[c+64>>2]}fe(O[a+4|0]|O[a+5|0]<<8,b,a,a+6|0,N[c+88>>2]+T(d,20)|0);a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[e>>2]=N[a+64>>2];ib(a,b,17446,e)}N[c+64>>2]=N[c+64>>2]+1}La=e+32|0;return(f|0)!=-1}function po(a,b,c){var d=0,e=0,f=0,g=0;e=La-16|0;La=e;d=1;f=c-1|0;if(f>>>0<=1){if((c|0)==2){d=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);N[e+8>>2]=c;N[e+12>>2]=d;c=Eb(c,e+8|0,10);d=Pa;g=(d|0)<0&c>>>0<=2147483648|(d|0)<-1;c=g?-2147483648:c;d=g?-1:d;d=(d|0)>=0&c>>>0>=2147483647|(d|0)>0?2147483647:c}b=(f<<3)+b|0;c=N[b+4>>2];b=N[b>>2];N[a+452>>2]=d;N[a+296>>2]=b;N[a+300>>2]=c-b}La=e+16|0;return f>>>0<2}function Em(a,b){var c=0,d=0,e=0,f=0,g=0;c=N[a+16>>2];if(c){e=N[a+12>>2];if(e){while(1){f=d<<2;g=N[f+c>>2];if(g){Qa[N[b+8>>2]](b,g);e=N[a+12>>2];c=N[a+16>>2]}N[c+f>>2]=0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}Qa[N[b+8>>2]](b,c)}N[a+16>>2]=0;c=N[a+4>>2];if(c){e=N[a>>2];if(e){d=0;while(1){f=d<<3;g=N[(f+c|0)+4>>2];if(g){Qa[N[b+8>>2]](b,g);e=N[a>>2];c=N[a+4>>2]}N[(c+f|0)+4>>2]=0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}Qa[N[b+8>>2]](b,c)}N[a+4>>2]=0}function wc(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-44|0;while(1){b=N[e>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1986553185,N[b+16>>2])|0;if(b){break b}}b=275552}c=Up(d+4|0,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<36?275552:N[b+12>>2]}function kw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[a+8>>2];a:{if(!c){break a}b:{switch(O[a|0]){case 0:e=O[b+c|0];break a;case 3:break b;default:break a}}if(Q[a+20>>2]>b-N[a+16>>2]>>>0){e=O[a+24|0];break a}d=c+2|0;g=c+N[a+12>>2]|0;c=O[c+1|0]|O[c|0]<<8;while(1){if(b>>>0>>0){break a}f=O[d+2|0]|O[d+1|0]<<8;if(f>>>0>b>>>0){e=O[d|0];L[a+24|0]=e;N[a+20>>2]=f-c;N[a+16>>2]=c;break a}c=f;d=d+3|0;if(g>>>0>d>>>0){continue}break}}return e|0}function go(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=O[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=N[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=T(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=N[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=O[a|0];if(d){a=a+1|0;if((d|0)!=(b&255)){continue}}break}return c}return nb(a)+a|0}return a}function Jd(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-16|0;while(1){b=N[e>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1751672161,N[b+16>>2])|0;if(b){break b}}b=275552}c=Up(d+4|0,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<36?275552:N[b+12>>2]}function Cl(a,b,c){var d=0,e=0,f=0;d=275552;a:{b:{if(!a|!c){break b}e=N[a+16>>2];if(e>>>0<=b>>>0){break b}if(N[a+4>>2]){N[a+4>>2]=0}f=N[a+12>>2];d=N[a>>2];if(d){if((d|0)<=0){break a}N[a>>2]=d+1}d=e-b|0;c=c>>>0>d>>>0?d:c;if(!c){ab(a);return 275552}c:{if((c|0)>=0){d=db(1,32);if(d){break c}}ab(a);return 275552}N[d+28>>2]=191;N[d+24>>2]=a;N[d+20>>2]=1;N[d+16>>2]=c;N[d+12>>2]=b+f;N[d>>2]=1;N[d+4>>2]=1}return d}ba(23506,14099,260,16403);F()}function Tq(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+660>>2];c=N[b>>2];a=N[b+4>>2];if((c|0)<=(a|0)){a:{b:{if((a|0)!=(c|0)){d=N[b+16>>2];a=c;break b}a=-1;if(c>>>0>2147483626){break a}N[147316]=0;e=N[b+16>>2];c:{if(c>>>0<=29826141){c=c+20|0;a=T(c,144);d=$a(e,a>>>0<=1?1:a);if(d){break c}}N[147316]=48;N[b+16>>2]=e;return-1}N[147316]=0;N[b+4>>2]=c;N[b+16>>2]=d;a=N[b>>2]}N[b>>2]=a+1;G(T(a,144)+d|0,0,144)}return a|0}ba(11239,18016,104,15919);F()}function zh(a){a=a|0;var b=0,c=0;if(a){c=N[a+100>>2];dm(N[a+140>>2]);b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+32>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+32>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0}}function yn(a,b,c,d,e){var f=0,g=0,h=0;h=-1;g=d&2147483647;f=(g|0)==2147418112;a:{if(f&!c?a|b:f&(c|0)!=0|g>>>0>2147418112){break a}f=e&2147483647;if(((f|0)==2147418112&0|f>>>0>2147418112)&(f|0)!=2147418112){break a}if(!(a|c|(f|g|b))){return 0}f=d&e;if((f|0)>0|(f|0)>=0){if(((c|0)!=0|(d|0)!=(e|0))&(d|0)<(e|0)){break a}return(a|c|(d^e|b))!=0}if(!c&(d|0)==(e|0)?a|b:(c|0)!=0&(d|0)>=(e|0)|(d|0)>(e|0)){break a}h=(a|c|(d^e|b))!=0}return h}function sq(a){if(N[a+20>>2]){N[a+20>>2]=0}_a(N[a+24>>2]);N[a+24>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;if(N[a+32>>2]){N[a+32>>2]=0}_a(N[a+36>>2]);N[a+36>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;if(N[a+44>>2]){N[a+44>>2]=0}_a(N[a+48>>2]);N[a+48>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;if(N[a+68>>2]){N[a+68>>2]=0}_a(N[a+72>>2]);N[a+72>>2]=0;a=a- -64|0;N[a>>2]=0;N[a+4>>2]=0}function fw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=150;c=N[a+12>>2];a:{if((c|0)==30452|(c|0)==30492){break a}c=N[N[N[a>>2]+96>>2]+4>>2];if(!c){return 0}e=0;d=N[c+16>>2];if((d|0)<=0){break a}c=c+20|0;d=c+(d<<2)|0;while(1){f=N[c>>2];g=N[f>>2];if(cb(N[g+8>>2],9195)){c=c+4|0;if(d>>>0>c>>>0){continue}break a}break}c=N[g+32>>2];if(!c){break a}c=Qa[c|0](f,10557)|0;if(!c){break a}c=N[c>>2];if(!c){break a}e=Qa[c|0](a,b)|0}return e|0}function Jc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=c;c=N[b+4>>2];a:{b:{if((c|0)==32){if(O[a|0]){break a}a=a+2|0;break b}f=32-c|0;g=N[b>>2]>>>c|0;e=g&255;h=(e<<2)+a|0;d=O[h|0];if(d>>>0<=8){if(d>>>0>f>>>0){break a}N[b+4>>2]=c+d;a=((e<<2)+a|0)+2|0;break b}if(f>>>0<9){break a}a=(P[((e<<2)+a|0)+2>>1]+((N[(d<<2)+169392>>2]&g)>>>8|0)<<2)+h|0;d=O[a|0];if(d>>>0>24-c>>>0){break a}N[b+4>>2]=(c+d|0)+8;a=a+2|0}N[i>>2]=P[a>>1];j=1}return j}function fx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{e=N[a>>2];c=N[N[e+96>>2]+4>>2];b:{if(!c){break b}d=N[c+16>>2];if((d|0)<=0){break b}f=N[e+552>>2];c=c+20|0;d=c+(d<<2)|0;while(1){g=N[c>>2];if(cb(N[N[g>>2]+8>>2],11971)){c=c+4|0;if(d>>>0>c>>>0){continue}break b}break}if(!f){break b}c=N[f>>2];if(c){break a}}re(e,b);return 0}c=Qa[c|0](g)|0;re(N[a>>2],b);if(c){Qa[N[c+4>>2]](N[N[a+40>>2]>>2],N[a+16>>2],N[a+20>>2],0,0)}return 0}function hb(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;i=TE(b,c,h,i);h=Pa;e=TE(d,e,f,g);i=e+i|0;d=Pa+h|0;h=e>>>0>i>>>0?d+1|0:d;j=g;e=0;k=c;d=0;c=TE(g,e,c,d);g=c+i|0;i=Pa+h|0;l=g;c=c>>>0>g>>>0?i+1|0:i;g=TE(f,0,b,0);h=Pa;i=0;d=TE(f,i,k,d);h=h+d|0;f=Pa+i|0;f=d>>>0>h>>>0?f+1|0:f;i=f+l|0;d=c;f=f>>>0>i>>>0?d+1|0:d;b=TE(b,m,j,e)+h|0;e=Pa;e=b>>>0>>0?e+1|0:e;h=e+i|0;i=f;N[a+8>>2]=h;N[a+12>>2]=e>>>0>h>>>0?i+1|0:i;N[a>>2]=g;N[a+4>>2]=b}function ab(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}b=N[a+28>>2];if(b){Qa[b|0](N[a+24>>2])}_a(a)}return}ba(23506,14099,270,7918);F()}function gD(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=U(f);g=U(g);h=U(h);i=U(i);j=j|0;var k=U(0),l=U(0),m=U(0),n=U(0),o=0;k=R[b+8>>2];l=R[b+16>>2];m=R[b+12>>2];n=R[c+16>>2];R[c+16>>2]=m*n;R[c+12>>2]=U(k*R[c+12>>2])+U(l*n);a=N[b>>2];j=N[a+24>>2];o=N[b+4>>2];d=U(U(k*d)+U(l*e));e=U(m*e);f=U(U(k*f)+U(l*g));g=U(m*g);h=U(U(k*h)+U(l*i));i=U(m*i);b=N[a+32>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[j|0](a,o,c,d,e,f,g,h,i,b)}function gu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[b+8>>2];f=N[a>>2];d=N[f+140>>2];g=N[f+32>>2];e=N[b+16>>2];if(e){c=(T(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((e|0)==N[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(N[d+44>>2]+N[d+40>>2]|0)){break a}}c=0;Xc(f,0);N[a+24>>2]=N[d+40>>2]<<6;N[a+28>>2]=0-(N[d+44>>2]<<6);N[a+36>>2]=P[d+4>>1]<<6}return c|0}function bw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=N[a+712>>2];a:{if(!(O[a+8|0]&8)|!N[a+540>>2]){break a}b=N[N[a+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){d=N[b>>2];e=N[d>>2];if(cb(N[e+8>>2],9195)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=N[e+32>>2];if(!b){break a}b=Qa[b|0](d,15866)|0;if(!b){break a}b=N[b>>2];if(!b){break a}return Qa[b|0](a)|0}return N[f+1348>>2]}function tv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=N[a+16>>2];if(!g){N[b>>2]=0;return 0}h=N[a+20>>2];d=N[b>>2];a:while(1){d=d+1|0;a=0;c=g;while(1){e=(c-a>>>1|0)+a|0;f=N[(e<<4)+h>>2];if((f|0)==(d|0)){if(!e){continue a}N[b>>2]=d;return e+1|0}f=d>>>0>f>>>0;a=f?e+1|0:a;c=f?c:e;if(a>>>0>>0){continue}break}break}c=0;if(a>>>0>=g>>>0){N[b>>2]=0;return 0}if(a){c=a+1|0;a=N[(a<<4)+h>>2]}else{a=0}N[b>>2]=a;return c|0}function Ki(a,b,c,d){var e=0,f=0,g=0;a:{if(!(!d|(!b|!c))){f=N[a+16>>2];b:{if(f-32&f){e=N[a+12>>2];break b}N[147316]=0;g=N[a+12>>2];e=f<<1;if(e>>>0>357913941){break a}e=T(e>>>0<=32?32:e,12);e=$a(g,e>>>0<=1?1:e);if(!e){break a}N[147316]=0;N[a+12>>2]=e}f=T(f,12)+e|0;b=Hb(b);N[f>>2]=b;e=kb(d);N[f+4>>2]=e;if(!(!b|!e)){B(e,c,d);N[f+8>>2]=d;N[a+16>>2]=N[a+16>>2]+1;return}_a(b);_a(N[f+4>>2])}return}N[147316]=48;N[a+12>>2]=g}function od(a,b){var c=0,d=0;d=a;a:{b:{if((d^b)&3){c=O[b|0];break b}if(b&3){while(1){c=O[b|0];L[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=N[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){N[d>>2]=c;c=N[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}L[d|0]=c;if(!(c&255)){break a}while(1){c=O[b+1|0];L[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a}function WA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;Tb(a,N[a+8>>2]);g=N[a>>2];N[f+12>>2]=g;h=N[a+8>>2];a:{if(h>>>0<=g>>>0){break a}b:{if(e){i=3;if(O[g|0]!=60){break a}N[f+12>>2]=g+1;j=d,k=_o(f+12|0,h,b,c),N[j>>2]=k;b=N[f+12>>2];N[a>>2]=b;if(O[b|0]!=62&b>>>0>2]){break a}b=b+1|0;break b}j=d,k=_o(f+12|0,h,b,c),N[j>>2]=k;b=N[f+12>>2]}N[a>>2]=b;i=0}La=f+16|0;return i|0}function Md(a,b){var c=0,d=0,e=0,f=0,g=0;c=La-16|0;La=c;a:{if(!a|!b|(!N[a+72>>2]|!O[b|0])){break a}d=N[a+92>>2];N[c+8>>2]=b;f=N[d+20>>2];b=f+((Qa[N[d+12>>2]](c+8|0)>>>0)%Q[d+4>>2]<<2)|0;e=N[b>>2];b:{if(!e){break b}while(1){if(Qa[N[d+16>>2]](e,c+8|0)|0){break b}b=b-4|0;if(f>>>0>b>>>0){b=((N[d+4>>2]<<2)+f|0)-4|0}e=N[b>>2];if(e){continue}break}}b=N[b>>2];if(!b){break a}g=N[a+80>>2]+(N[b+4>>2]<<4)|0}La=c+16|0;return g}function uB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=N[a+24>>2];N[a+48>>2]=b;d=N[a+28>>2];N[a+52>>2]=d;e=N[a+8>>2];f=e+N[a>>2]|0;N[a+8>>2]=f>>1;c=b;b=N[a+16>>2];c=c+b|0;N[a+40>>2]=c>>1;b=b+e|0;e=b+f|0;N[a+16>>2]=e>>2;b=b+c|0;N[a+32>>2]=b>>2;c=d;d=N[a+20>>2];f=c+d|0;N[a+44>>2]=f>>1;c=N[a+12>>2];g=c+N[a+4>>2]|0;N[a+12>>2]=g>>1;N[a+24>>2]=b+e>>3;b=d+c|0;d=b+f|0;N[a+36>>2]=d>>2;b=b+g|0;N[a+20>>2]=b>>2;N[a+28>>2]=b+d>>3}function Gm(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;d=N[a+36>>2];a:{if(!d){break a}d=N[d+28>>2];if(Xf(a+36|0,b,c+12|0,c+8|0)){break a}b=N[c+8>>2];f=b+1|0;b:{c:{if(b>>>0<=2147483646){e=Qa[N[d+4>>2]](d,f)|0;if(e){break c}e=0;break b}if(f){break b}}B(e,N[c+12>>2],b);L[b+e|0]=0}if(N[a+68>>2]){break a}a=N[a+36>>2];if(!a|!N[a+20>>2]){break a}b=N[c+12>>2];if(!b){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,b)}La=c+16|0;return e}function OC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=U(0),f=U(0),g=0;d=La-16|0;La=d;a:{if(O[b+6|0]){a=N[b+12>>2];if(a){g=N[a+128>>2];e=U(N[g+12>>2]);f=U(N[g+8>>2])}else{f=U(0)}e=U(U(aa(U(U(f*f)+U(e*e))))*U(152587890625e-16));break a}e=U(N[a+32>>2]>>31|1);a=N[b+12>>2]}if(In(a,c,N[b>>2]|16,d+12|0)){a=0}else{e=U(e*U(N[d+12>>2]));b:{if(U(V(e))>10}La=d+16|0;return a|0}function Ip(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+5|0]){break a}e=N[a+12>>2];if(!e){break a}c=N[e+96>>2];if(!c){break a}d=N[e+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}f=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(e|0)){b=N[b+4>>2];if(b){continue}break a}break}g=N[b>>2];h=g?g+4|0:f;f=N[b+4>>2];N[h>>2]=f;N[(f?f:c+20|0)>>2]=g;Qa[N[d+8>>2]](d,b);gc(d,e,c)}_a(a)}function zx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+733|0]){break a}d=N[a+736>>2];if(!d){break a}if(!O[d+32|0]){e=Tm(a,0);d=N[a+736>>2];N[d+36>>2]=e}if(!O[d+33|0]){return N[d+36>>2]}d=N[d+40>>2];e=N[d+28>>2];b:{if(e){f=e;e=N[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=N[f+e>>2];f=N[e+N[d+24>>2]>>2];break b}e=6;if(Q[N[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=N[c>>2]+Ph(a,d,f,b)|0,N[g>>2]=h;e=0}return e|0}function yx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+733|0]){break a}d=N[a+736>>2];if(!d){break a}if(!O[d+44|0]){e=Tm(a,1);d=N[a+736>>2];N[d+48>>2]=e}if(!O[d+45|0]){return N[d+48>>2]}d=N[d+52>>2];e=N[d+28>>2];b:{if(e){f=e;e=N[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=N[f+e>>2];f=N[e+N[d+24>>2]>>2];break b}e=6;if(Q[N[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=N[c>>2]+Ph(a,d,f,b)|0,N[g>>2]=h;e=0}return e|0}function ox(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=N[a+40>>2];if(N[c>>2]){d=N[a>>2];b=N[N[d+96>>2]+4>>2];a:{if(!b){break a}e=N[b+16>>2];if((e|0)<=0){break a}d=N[d+552>>2];b=b+20|0;e=b+(e<<2)|0;while(1){f=N[b>>2];if(cb(N[N[f>>2]+8>>2],11971)){b=b+4|0;if(e>>>0>b>>>0){continue}break a}break}if(!d){break a}b=N[d>>2];if(!b){break a}b=Qa[b|0](f)|0;c=N[a+40>>2];if(!b){break a}Qa[N[b+8>>2]](N[c>>2]);c=N[a+40>>2]}N[c>>2]=0}}function Jv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=N[a+40>>2];if(N[c>>2]){d=N[a>>2];b=N[N[d+96>>2]+4>>2];a:{if(!b){break a}e=N[b+16>>2];if((e|0)<=0){break a}d=N[d+320>>2];b=b+20|0;e=b+(e<<2)|0;while(1){f=N[b>>2];if(cb(N[N[f>>2]+8>>2],11971)){b=b+4|0;if(e>>>0>b>>>0){continue}break a}break}if(!d){break a}b=N[d>>2];if(!b){break a}b=Qa[b|0](f)|0;c=N[a+40>>2];if(!b){break a}Qa[N[b+8>>2]](N[c>>2]);c=N[a+40>>2]}N[c>>2]=0}}function cB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{d=N[a>>2];if(!d){break a}e=N[a+32>>2];b=N[a+4>>2];b:{if((b|0)>0){b=Qa[N[e+4>>2]](e,b)|0;if(b){N[a>>2]=b;c=N[a+4>>2];break b}N[a>>2]=0;return}N[a>>2]=0;if(b){break a}b=0}B(b,d,c);c=N[a+16>>2];if((c|0)>0){g=N[a>>2]-d|0;b=N[a+24>>2];c=b+(c<<2)|0;while(1){f=N[b>>2];if(f){N[b>>2]=g+f}b=b+4|0;if(c>>>0>b>>>0){continue}break}}N[a+8>>2]=N[a+4>>2];Qa[N[e+8>>2]](e,d)}}function Gv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;re(N[a>>2],b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[c+320>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](e)|0;if(!b){break a}Qa[N[b+4>>2]](N[N[a+40>>2]>>2],N[a+16>>2],N[a+20>>2],0,0)}return 0}function El(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;j=10;k=N[c>>2];h=k+e|0;a:{if(h>>>0>31457280){break a}g=N[a>>2];i=N[b>>2];if(i>>>0>>0){if((h|i)<0){return 6}b:{if(!i){g=Qa[N[f+4>>2]](f,h)|0;j=!g<<6;break b}f=Qa[N[f+12>>2]](f,i,h,g)|0;g=f?f:g;j=!f<<6}c:{if(!(j|(h|0)<=(i|0)|!g)){G(g+i|0,0,h-i|0);break c}if(j){break a}}N[b>>2]=N[c>>2]+e;b=N[c>>2]}else{b=k}B(b+g|0,d,e);N[c>>2]=N[c>>2]+e;N[a>>2]=g;j=0}return j}function jx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;N[d>>2]=0;N[d+4>>2]=0;e=N[a+496>>2];if(e){a=N[e+36>>2];e=(a+(N[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0>e>>>0){break a}c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=N[b>>2]<<16|N[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;N[d>>2]=N[a+8>>2];h=N[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}N[d+4>>2]=h}return 0}function Ku(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[b+8>>2];f=N[a>>2];g=N[f+32>>2];e=N[f+132>>2];d=N[b+16>>2];if(d){c=(T(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((d|0)==N[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=P[e+96>>1]){break a}}c=0;Xc(f,0);b=P[e+80>>1];N[a+24>>2]=b<<6;N[a+28>>2]=b-P[e+96>>1]<<6;N[a+36>>2]=P[e+102>>1]<<6}return c|0}function uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[b+8>>2];d=N[a>>2];f=N[d+32>>2];e=N[b+16>>2];if(e){c=(T(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((e|0)==N[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(N[d+208>>2]+N[d+204>>2]|0)){break a}}c=0;Xc(d,0);N[a+24>>2]=N[d+204>>2]<<6;N[a+28>>2]=0-(N[d+208>>2]<<6);N[a+36>>2]=M[d+236>>1]<<6}return c|0}function $t(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=N[a+20>>2];h=N[a+16>>2];a:{b:{if(h){e=N[b>>2]+1|0;a=h>>>1|0;g=h;while(1){d=c+g>>>1|0;d=a>>>0>=g>>>0?d:a>>>0>>0?d:a;f=N[(d<<3)+i>>2];if((f|0)==(e|0)){c=d;break b}a=(e+d|0)-f|0;f=e>>>0>>0;c=f?c:d+1|0;g=f?d:g;if(c>>>0>>0){continue}break}}e=0;if(c>>>0>=h>>>0){break a}e=N[(c<<3)+i>>2]}j=P[((c<<3)+i|0)+4>>1]+1&65535}N[b>>2]=e;return j|0}function yq(){var a=0,b=0,c=0;a=La-16|0;La=a;a:{if(Fa(a+12|0,a+8|0)|0){break a}b=kb((N[a+12>>2]<<2)+4|0);N[147572]=b;if(!b){break a}b=kb(N[a+8>>2]);if(b){c=N[147572];N[c+(N[a+12>>2]<<2)>>2]=0;if(!(Ea(c|0,b|0)|0)){break a}}N[147572]=0}La=a+16|0;N[147444]=1;N[147445]=0;wm();N[147445]=N[147569];N[147569]=589776;N[147570]=378;N[147571]=0;jo();N[147571]=N[147569];N[147569]=590280;N[147582]=42;N[147600]=591512}function $s(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=N[a+872>>2];a:{if(!d){break a}f=N[d+36>>2];if(!f){break a}e=N[c+4>>2];a=N[c>>2];if(e>>>0>=a>>>0){break a}g=T(a-e|0,6);a=N[c+8>>2];if(g+a>>>0>N[d+40>>2]+f>>>0){break a}d=O[a|0]|O[a+1|0]<<8;M[b>>1]=d<<8|d>>>8;d=O[a+2|0]|O[a+3|0]<<8;M[b+2>>1]=d<<8|d>>>8;d=b;b=O[a+4|0]|O[a+5|0]<<8;M[d+4>>1]=b<<8|b>>>8;h=1;N[c+4>>2]=e+1;N[c+8>>2]=a+6}return h|0}function sj(a,b,c){var d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}d=N[a+4>>2];if(d>>>0>>0){break b}if(d-b>>>0>c>>>0){break a}e=b+c|0;c=e-d|0;if(!((c|0)>=0&(c|0)<=(N[a+8>>2]-d|0))){N[a+24>>2]=4;break e}if((d|0)!=(e|0)){G(d,0,c);d=N[a+4>>2]}N[a+4>>2]=c+d;if(d){break d}}b=0}return b}ba(13866,14296,669,15286);F()}ba(16941,14296,670,15286);F()}ba(15351,14296,671,15286);F()}function qi(a){var b=0,c=0,d=0;b=La-16|0;La=b;A(+a);d=v(1)|0;v(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=bf(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(Mn(a,b)&3){case 0:c=bf(S[b>>3],S[b+8>>3]);break a;case 1:c=-cf(S[b>>3],S[b+8>>3],1);break a;case 2:c=-bf(S[b>>3],S[b+8>>3]);break a;default:break b}}c=cf(S[b>>3],S[b+8>>3],1)}a=c;La=b+16|0;return a}function xB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=N[a+4>>2];e=0-f|0;a:{if((e&(c+f|0)-1)!=(c|0)){break a}c=c>>N[a>>2];if((c|0)<0|c>>>0>=Q[a+96>>2]){break a}c=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[c|0]=O[c|0]|128>>>(b&7);e=0-N[a+4>>2]|0}b:{if((d&e)!=(d|0)){break b}c=d>>N[a>>2];if((c|0)<0|c>>>0>=Q[a+96>>2]){break b}a=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[a|0]=O[a|0]|128>>>(b&7)}}function tj(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}c=N[a+4>>2];if(c>>>0>>0){break b}if(c-b>>>0>=5){break a}e=b+4|0;d=e-c|0;if(!((d|0)>=0&(N[a+8>>2]-c|0)>=(d|0))){N[a+24>>2]=4;break e}if((c|0)!=(e|0)){G(c,0,d);c=N[a+4>>2]}N[a+4>>2]=c+d;if(c){break d}}b=0}return b}ba(13866,14296,669,15286);F()}ba(16941,14296,670,15286);F()}ba(15351,14296,671,15286);F()}function de(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}c=N[a+4>>2];if(c>>>0>>0){break b}if(c-b>>>0>=3){break a}e=b+2|0;d=e-c|0;if(!((d|0)>=0&(N[a+8>>2]-c|0)>=(d|0))){N[a+24>>2]=4;break e}if((c|0)!=(e|0)){G(c,0,d);c=N[a+4>>2]}N[a+4>>2]=c+d;if(c){break d}}b=0}return b}ba(13866,14296,669,15286);F()}ba(16941,14296,670,15286);F()}ba(15351,14296,671,15286);F()}function tb(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}e=N[a-8>>2];if(!e){break a}b=a-4|0;c=N[b>>2];if(!c){break a}d=b;b=c-1|0;N[d>>2]=b;if(b){break b}d=a-32|0;b=N[d>>2];if(b){c=N[a-24>>2];if(c){N[c+12>>2]=N[a-20>>2]}N[N[a-20>>2]>>2]=c;N[b+32>>2]=N[b+32>>2]-1;N[b+20>>2]=N[b+20>>2]+(((e|0)!=1?-32:0)-e|0)}b=N[a-28>>2];Qa[N[b+16>>2]]((N[b+24>>2]+7&-8)+a|0,a);_a(d)}return}ba(8916,18290,444,15247);F()}function Nb(a,b){var c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+3>>>0){break d}e=N[a+20>>2];e:{if(e){f=d+12|0;if((Qa[e|0](a,c,f,4)|0)!=4){break d}c=N[a+8>>2];b=f;break e}b=N[a>>2];if(!b){break c}b=b+c|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);g=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break b}N[b>>2]=85;break a}g=0}N[a+8>>2]=c+4}La=d+16|0;return g}function cr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=La-16|0;La=f;g=b;b=N[a+4>>2];h=g+(b>>1)|0;g=N[a>>2];g=b&1?N[N[h>>2]+g>>2]:g;a=N[c>>2];if(a>>>0<2147483632){a:{if(a>>>0<=10){L[f+15|0]=a;b=f+4|0;break a}i=(a|15)+1|0;b=eb(i);N[f+12>>2]=i|-2147483648;N[f+4>>2]=b;N[f+8>>2]=a}B(b,c+4|0,a);L[a+b|0]=0;Qa[g|0](h,f+4|0,d,e);if(L[f+15|0]<0){_a(N[f+4>>2])}La=f+16|0;return}fa();F()}function Re(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;e=a+12|0;a:{if(!O[a+48|0]){a=td(e,b);break a}f=N[b>>2];if((f|0)==-2){N[b>>2]=-1;a=0;break a}N[c+8>>2]=f;td(e,c+8|0);a=1;d=f+1|0;if(d>>>0>=Q[c+8>>2]){N[c+12>>2]=f;d=0;b:{if(!td(e,c+12|0)){break b}a=N[c+12>>2];while(1){if(!td(e,c+12|0)){d=a+1|0;break b}d=a+1|0;a=N[c+12>>2];if((d|0)==(a|0)){continue}break}}a=(d|0)!=-1}N[b>>2]=d}La=c+16|0;return a}function nz(a,b){a=a|0;b=b|0;var c=0;if(!a){if(N[b+24>>2]){a=0;while(1){c=T(a,24);tb(N[c+N[b+28>>2]>>2]);tb(N[(N[b+28>>2]+c|0)+4>>2]);a=a+1|0;if(a>>>0>2]){continue}break}}_a(N[b+28>>2]);return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;return 1}function Ow(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a=N[a+496>>2];if(!a){return 6}h=N[a+32>>2];if(h){j=N[a+28>>2];a=0;while(1){e=T(a,20)+j|0;if(N[e>>2]==(c|0)){g=N[e+4>>2];f=N[e+8>>2];a:{if((g|0)>(b|0)){break a}i=N[e+12>>2];f=N[e+16>>2];if((i|0)<(b|0)){break a}f=N[e+16>>2];e=N[e+8>>2];f=jb(b-g|0,f-e|0,i-g|0)+e|0}N[d>>2]=f}a=a+1|0;if(h>>>0>a>>>0){continue}break}}return 0}function pi(a){var b=0,c=0;b=La-16|0;La=b;A(+a);c=v(1)|0;v(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=cf(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(Mn(a,b)&3){case 0:a=cf(S[b>>3],S[b+8>>3],1);break a;case 1:a=bf(S[b>>3],S[b+8>>3]);break a;case 2:a=-cf(S[b>>3],S[b+8>>3],1);break a;default:break b}}a=-bf(S[b>>3],S[b+8>>3])}La=b+16|0;return a}function Ol(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=6;d=N[a+868>>2];a:{if(!d|P[a+648>>1]<=b>>>0){break a}e=8;b=N[d+8>>2]+(b<<1)|0;b=O[b|0]<<8|O[b+1|0];c=P[a+660>>1];if(P[d+2>>1]>>0){break a}e=0;if(!c){break a}a=N[a+672>>2];c=a+(c<<2)|0;b=N[d+4>>2]+(b<<2)|0;while(1){L[a|0]=O[b|0];L[a+1|0]=O[b+1|0];L[a+2|0]=O[b+2|0];L[a+3|0]=O[b+3|0];b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}return e|0}function Jz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=N[a+4>>2];a:{if(!e){break a}c=N[e+96>>2];if(!c){break a}d=N[e+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}f=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(e|0)){b=N[b+4>>2];if(b){continue}break a}break}g=N[b>>2];h=g?g+4|0:f;f=N[b+4>>2];N[h>>2]=f;N[(f?f:c+20|0)>>2]=g;Qa[N[d+8>>2]](d,b);gc(d,e,c)}_a(a)}function Br(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=La-32|0;La=f;N[f+28>>2]=b;N[f+24>>2]=c;b=N[d>>2];if(b>>>0<2147483632){a:{if(b>>>0<=10){L[f+23|0]=b;c=f+12|0;break a}g=(b|15)+1|0;c=eb(g);N[f+20>>2]=g|-2147483648;N[f+12>>2]=c;N[f+16>>2]=b}B(c,d+4|0,b);L[b+c|0]=0;L[f+11|0]=e;a=Qa[a|0](f+28|0,f+24|0,f+12|0,f+11|0)|0;if(L[f+23|0]<0){_a(N[f+12>>2])}La=f+32|0;return a|0}fa();F()}function ZE(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;e=f&31;if(f>>>0>=32){f=-1>>>e|0}else{d=-1>>>e|0;f=d|(1<>>0>=32){d=f<>>32-e|d<>>0>=32){d=-1<>>32-d}a=c&a;b=b&d;d=e&31;if(e>>>0>=32){c=0;a=b>>>d|0}else{c=b>>>d|0;a=((1<>>d}a=a|g;Pa=c|f;return a}function Yd(a,b,c,d){var e=0,f=0;e=La-128|0;La=e;N[e+12>>2]=d;a:{b:{if(N[a+156>>2]){d=N[e+12>>2];if(N[a+84>>2]!=N[a+80>>2]|N[a+72>>2]!=N[a+64>>2]?O[a+62|0]:0){break a}N[a+168>>2]=N[a+168>>2]+1;f=e+16|0;sh(f,100,c,d);Qa[N[a+156>>2]](a,b,f,N[a+160>>2])|0;N[a+168>>2]=N[a+168>>2]-1;break b}ud(24963,9,1,588952);Ai(588952,c,N[e+12>>2]);Ul(588952)}La=e+128|0;return}ba(22546,17855,2177,13189);F()}function It(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=142;f=P[a+152>>1];a:{if(!f){break a}a=N[a+156>>2];f=a+(f<<4)|0;while(1){b:{if(N[a>>2]==(b|0)){g=N[a+12>>2];if(g){break b}}a=a+16|0;if(f>>>0>a>>>0){continue}break a}break}if(d){N[d>>2]=g}a=N[a+8>>2];b=N[c+20>>2];c:{if(b){e=85;if(!(Qa[b|0](c,a,0,0)|0)){break c}break a}e=85;if(a>>>0>Q[c+4>>2]){break a}}N[c+8>>2]=a;e=0}return e|0}function BD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;e=La-16|0;La=e;N[e+12>>2]=c;b=N[a+96>>2];f=N[b+32>>2];a:{if((f|0)!=N[147120]){c=N[a+100>>2];g=e+12|0;b=N[b+12>>2];if(b){b=N[b+12>>2]}else{b=0}a=Qa[f|0](a,c,1,g,0,d,0,b)|0;break a}a=N[a+20>>2];N[d>>2]=0;b=N[a+96>>2];f=N[b+28>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+8>>2]}else{b=0}a=Qa[f|0](a,g,c,d,b)|0}La=e+16|0;return a|0}function zt(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qa[N[a+516>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+372|0;c=rb(b,178752,d);if(c){break a}N[a+468>>2]=0;N[a+460>>2]=0;N[a+464>>2]=0;N[a+452>>2]=0;N[a+456>>2]=0;M[a+472>>1]=65535;if(!P[a+372>>1]){return 0}c=rb(b,178928,d);if(c){break a}if(P[d>>1]<2){return 0}c=rb(b,178944,d);if(c){break a}c=0;if(P[d>>1]<5){break a}c=rb(b,178976,d)}return c|0}function En(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!(!a|!b)){d=M[a+2>>1];a:{if(!d){d=0;a=0;break a}c=N[a+4>>2];e=N[c+4>>2];f=N[c>>2];if((d|0)<2){d=e;a=f;break a}i=(d<<3)+c|0;h=c+8|0;a=f;d=e;while(1){g=N[c+12>>2];d=(d|0)<(g|0)?g:d;e=(e|0)>(g|0)?g:e;c=N[c+8>>2];a=(a|0)<(c|0)?c:a;f=(c|0)<(f|0)?c:f;c=h;h=c+8|0;if(i>>>0>h>>>0){continue}break}}N[b+8>>2]=a;N[b>>2]=f;N[b+12>>2]=d;N[b+4>>2]=e}}function $A(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[a+8>>2]=c;N[a+4>>2]=b;N[a+12>>2]=0;N[a+16>>2]=d;N[a>>2]=b;b=N[73526];N[a+20>>2]=N[73525];N[a+24>>2]=b;b=N[73528];N[a+28>>2]=N[73527];N[a+32>>2]=b;b=N[73530];N[a+36>>2]=N[73529];N[a+40>>2]=b;b=N[73532];N[a+44>>2]=N[73531];N[a+48>>2]=b;b=N[73534];N[a+52>>2]=N[73533];N[a+56>>2]=b;b=N[73536];N[a+60>>2]=N[73535];N[a+64>>2]=b;N[a+68>>2]=N[73537]}function vh(a,b,c){var d=0,e=0,f=0;d=N[c+16>>2];a:{if(!d){if(Ih(c)){break a}d=N[c+16>>2]}f=N[c+20>>2];if(d-f>>>0>>0){return Qa[N[c+36>>2]](c,a,b)|0}b:{if(N[c+80>>2]<0){d=0;break b}e=b;while(1){d=e;if(!d){d=0;break b}e=d-1|0;if(O[e+a|0]!=10){continue}break}e=Qa[N[c+36>>2]](c,a,d)|0;if(e>>>0>>0){break a}a=a+d|0;b=b-d|0;f=N[c+20>>2]}B(f,a,b);N[c+20>>2]=N[c+20>>2]+b;e=b+d|0}return e}function gA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{d=a?a+b|0:0;if(d>>>0<=a>>>0){break a}d=d-a|0;d=b>>>0>d>>>0?d:b;if(!d){break a}b=0;if((d|0)!=1){g=d&1;h=d&-2;while(1){e=a+b|0;d=O[e|0];L[e|0]=d^c>>>8;f=(b|1)+a|0;e=O[f|0];c=T(c+d|0,52845)+22719|0;L[f|0]=e^c>>>8;c=T(c+e|0,52845)+22719&65535;b=b+2|0;if((h|0)!=(b|0)){continue}break}if(!g){break a}}a=a+b|0;L[a|0]=O[a|0]^c>>>8}}function Ay(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;b=nb(c);g=b+6|0;a:{b:{if((b|0)>=-5){a=N[a>>2];a=Qa[N[a+4>>2]](a,g)|0;if(a){break b}return 64}if(g){break a}a=0}B(a,c,b);f=0;b=a+b|0;c=O[17697]|O[17698]<<8;L[b+4|0]=c;L[b+5|0]=c>>>8;c=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[b|0]=c;L[b+1|0]=c>>>8;L[b+2|0]=c>>>16;L[b+3|0]=c>>>24;N[d>>2]=a;N[e>>2]=0}return f|0}function Ae(a,b,c){if(O[a+11660|0]){L[a+11661|0]=1;Wd(a,N[a+11732>>2],N[a+11736>>2]);if(O[a+11740|0]){lf(a,a+8|0,a+11700|0,N[a+11708>>2],N[a+11712>>2],1)}L[a+11740|0]=0;M[a+11660>>1]=0}N[a+11716>>2]=b;N[a+11732>>2]=b;L[a+11663|0]=1;N[a+11736>>2]=c;N[a+11720>>2]=c;b=a+8|0;c=N[a+11672>>2];if(!(O[c+5|0]?0:O[a+20|0])){kf(b,N[a+11664>>2],N[a+11668>>2],c,N[a+11676>>2],0)}B(a+3876|0,b,3868)}function fs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=N[b>>2]+1|0;if(c>>>0<=65535){h=b;d=N[a+16>>2];a=O[d+6|0]<<8|O[d+7|0];c=a>>>0>>0?c:a;b=c-a|0;g=O[d+9|0]|O[d+8|0]<<8;e=0;a:{if(b>>>0>=g>>>0){break a}a=(d+(b<<1)|0)+10|0;while(1){f=O[a+1|0]|O[a|0]<<8;e=c;if(f){break a}if(c>>>0>65534){return 0}a=a+2|0;c=c+1|0;b=b+1|0;if(g>>>0>b>>>0){continue}break}f=0;e=0}N[h>>2]=e}return f|0}function Ox(a){a=a|0;var b=0,c=0,d=0;b=N[a+196>>2];d=b+10|0;if(d>>>0<=Q[a+200>>2]){c=O[b|0]|O[b+1|0]<<8;M[a+32>>1]=c<<8|c>>>8;c=O[b+2|0]|O[b+3|0]<<8;N[a+36>>2]=(c<<8|c>>>8)<<16>>16;c=O[b+4|0]|O[b+5|0]<<8;N[a+40>>2]=(c<<8|c>>>8)<<16>>16;c=O[b+6|0]|O[b+7|0]<<8;N[a+44>>2]=(c<<8|c>>>8)<<16>>16;b=O[b+8|0]|O[b+9|0]<<8;N[a+196>>2]=d;N[a+48>>2]=(b<<8|b>>>8)<<16>>16;a=0}else{a=20}return a|0}function lb(a,b,c,d,e,f){var g=0;if((b|c|d)<0){N[f>>2]=6;return e}a:{if(!(d?b:0)){if(!e){break a}Qa[N[a+8>>2]](a,e);break a}g=10;b:{if((2147483647/(b>>>0)|0)<(d|0)){break b}c:{if(!c){e=Qa[N[a+4>>2]](a,T(b,d))|0;g=!e<<6;break c}a=Qa[N[a+12>>2]](a,T(b,c),T(b,d),e)|0;e=a?a:e;g=!a<<6}if(g|(c|0)>=(d|0)|!e){break b}g=0;G(T(b,c)+e|0,0,T(d-c|0,b))}N[f>>2]=g;return e}N[f>>2]=0;return 0}function Ul(a){var b=0,c=0;a:{b=N[a+76>>2];if(!((b|0)>=0&(!b|N[147582]!=(b&-1073741825)))){b:{if(N[a+80>>2]==10){break b}b=N[a+20>>2];if((b|0)==N[a+16>>2]){break b}N[a+20>>2]=b+1;L[b|0]=10;break a}Eh(a);break a}b=a+76|0;c=N[b>>2];N[b>>2]=c?c:1073741823;c:{d:{if(N[a+80>>2]==10){break d}c=N[a+20>>2];if((c|0)==N[a+16>>2]){break d}N[a+20>>2]=c+1;L[c|0]=10;break c}Eh(a)}N[b>>2]=0}}function Tw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=La-16|0;La=e;b=b>>>0>=4?4:b;a:{if(!b){b=0;break a}d=N[c>>2];N[e>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==1){break a}d=N[c+4>>2];N[e+4>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==2){break a}d=N[c+8>>2];N[e+8>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==3){break a}c=N[c+12>>2];N[e+12>>2]=((c>>31)+c|0)+32768>>16}a=Om(a,b,e);La=e+16|0;return a|0}function rr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-16|0;La=d;e=b;b=N[a+4>>2];f=e+(b>>1)|0;e=N[a>>2];e=b&1?N[N[f>>2]+e>>2]:e;a=N[c>>2];if(a>>>0<2147483632){a:{if(a>>>0<=10){L[d+15|0]=a;b=d+4|0;break a}g=(a|15)+1|0;b=eb(g);N[d+12>>2]=g|-2147483648;N[d+4>>2]=b;N[d+8>>2]=a}B(b,c+4|0,a);L[a+b|0]=0;Qa[e|0](f,d+4|0);if(L[d+15|0]<0){_a(N[d+4>>2])}La=d+16|0;return}fa();F()}function bm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;N[b>>2]=0;a:{if(!a){break a}d=N[a+8>>2];if(!d){break a}e=N[N[a>>2]>>2];while(1){g=N[N[a>>2]+(f<<2)>>2];h=O[g|0];if(h){while(1){L[c+e|0]=h;c=c+1|0;h=O[g+1|0];g=g+1|0;if(h){continue}break}d=N[a+8>>2]}f=f+1|0;if(f>>>0>>0){L[c+e|0]=32;d=N[a+8>>2];c=c+1|0}if(d>>>0>f>>>0){continue}break}if((e|0)!=441572){L[c+e|0]=0}N[b>>2]=c}return e}function sm(a,b,c,d){var e=0;e=N[d>>2];if(e){Qa[N[c+8>>2]](c,e);N[d>>2]=0}a:{if(!b){break a}e=b-1|0;if(!O[e+a|0]){b=e;if(!b){break a}}e=0;b:{while(1){if(L[a+e|0]>=32){e=e+1|0;if((e|0)!=(b|0)){continue}break b}break}N[d>>2]=0;return 0}if((b|0)<0){N[d>>2]=0;return 6}c=Qa[N[c+4>>2]](c,b+1|0)|0;if(!c){N[d>>2]=0;return 64}B(c,a,b);L[b+c|0]=0;N[d>>2]=c;return 0}N[d>>2]=0;return 0}function Vz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;a=xe(N[b+92>>2],c);N[d>>2]=a;a:{if(!a){break a}b:{f=N[b+92>>2];if(f){a=Qa[N[N[f+12>>2]+12>>2]](f,a)|0;if(a>>>0>2]){break b}}N[d>>2]=0;return 0}N[d>>2]=a;if(!a){break a}N[e+28>>2]=a;d=0;a=rc(N[e>>2],e+8|0,c>>>0>752?N[e+32>>2]?e:0:0);c:{if(!a){break c}if(N[a>>2]>=0){d=a;break c}tb(a)}tb(d);g=1}return g|0}function iE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{switch(b-6078|0){case 0:N[c>>2]=6081;N[d>>2]=6078;return 1;case 1:N[c>>2]=6081;N[d>>2]=6079;return 1;case 2:N[c>>2]=6081;N[d>>2]=6080;return 1;case 6:N[c>>2]=6081;N[d>>2]=6084;return 1;case 7:N[c>>2]=6081;N[d>>2]=6085;return 1;default:break a}}a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;return(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0|0}function hD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=U(f);g=U(g);h=h|0;var i=U(0),j=U(0),k=U(0),l=U(0),m=0;i=R[b+8>>2];j=R[b+16>>2];k=R[b+12>>2];l=R[c+16>>2];R[c+16>>2]=k*l;R[c+12>>2]=U(i*R[c+12>>2])+U(j*l);a=N[b>>2];h=N[a+20>>2];m=N[b+4>>2];d=U(U(i*d)+U(j*e));e=U(k*e);f=U(U(i*f)+U(j*g));g=U(k*g);b=N[a+32>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[h|0](a,m,c,d,e,f,g,b)}function es(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{b:{d=a+10|0;c=N[b+160>>2];if(d>>>0<=c>>>0){e=c;c=O[a+3|0]|O[a+2|0]<<8;if(e>>>0>>0){break b}a=O[a+9|0]|O[a+8|0]<<8;if(c>>>0<(a<<1)+10>>>0){break b}if(!(!N[b+164>>2]|!a)){c=N[b+172>>2];while(1){if(c>>>0<=(O[d+1|0]|O[d|0]<<8)>>>0){break a}d=d+2|0;a=a-1|0;if(a){continue}break}}return 0}Pb(b,8);F()}Pb(b,8);F()}Pb(b,16);F()}function Co(a){var b=0;b=N[a+8>>2];if(b){if(N[a+16>>2]>0){b=0;while(1){_a(N[N[a+8>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+8>>2]}_a(b)}b=N[a+4>>2];if(b){if(N[a+12>>2]>0){b=0;while(1){_a(N[N[a+4>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+4>>2]}_a(b)}b=N[a+32>>2];if(b){_a(b)}b=N[a+40>>2];if(b){_a(b)}a=N[a+44>>2];if(a){_a(a)}}function ky(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=M[a+298>>1];e=T(d,b>>16);b=T(d,b&65535);d=e<<16;f=b+d|0;a=M[a+300>>1];g=T(a,c&65535);c=T(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function jy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=M[a+294>>1];e=T(d,b>>16);b=T(d,b&65535);d=e<<16;f=b+d|0;a=M[a+296>>1];g=T(a,c&65535);c=T(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function Xz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[(N[a>>2]+(N[a+16>>2]<<2)|0)+68>>2];if(uc(d,N[a+20>>2],2560)){N[b>>2]=-1;return 1}a=N[d+84>>2];d=N[a+28>>2];N[b>>2]=N[a+24>>2];N[b+4>>2]=d;d=N[a+52>>2];N[b+24>>2]=N[a+48>>2];N[b+28>>2]=d;d=N[a+44>>2];N[b+16>>2]=N[a+40>>2];N[b+20>>2]=d;d=N[a+36>>2];N[b+8>>2]=N[a+32>>2];N[b+12>>2]=d;if(c){N[b+16>>2]=N[b+28>>2]}return 1}function zn(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=N[a+96>>2];if(!c){break a}d=N[a+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}e=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(a|0)){b=N[b+4>>2];if(b){continue}break a}break}f=N[b>>2];g=f?f+4|0:e;e=N[b+4>>2];N[g>>2]=e;N[(e?e:c+20|0)>>2]=f;Qa[N[d+8>>2]](d,b);gc(d,a,c)}}function mi(a,b){var c=0,d=0,e=0;a:{if((b|0)!=1){break a}c=N[a+8>>2];if(!c){break a}c=c-N[a+4>>2]|0;d=0-c|0;e=0-((c>>31)+((c|0)!=0)|0)|0}b:{if(N[a+20>>2]!=N[a+28>>2]){Qa[N[a+36>>2]](a,0,0)|0;if(!N[a+20>>2]){break b}}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;Qa[N[a+40>>2]](a,d,e,b)|0;if((Pa|0)<0){break b}N[a+4>>2]=0;N[a+8>>2]=0;N[a>>2]=N[a>>2]&-17;return 0}return-1}function SC(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;a=0;a:{if(!c){break a}while(1){b:{h=N[b+12>>2];c:{if(!h){break c}i=N[h+92>>2];if(!i){break c}i=Qa[N[N[i+12>>2]+12>>2]](i,N[d>>2])|0;if(i>>>0>2]){break b}}N[f>>2]=0;return a|0}N[f>>2]=i;if(!i){break a}f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}return a|0}function yz(a,b){a=a|0;b=b|0;_a(N[b+20>>2]);_a(N[b+24>>2]);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;_a(N[b+44>>2]);_a(N[b+48>>2]);N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;a:{switch(N[a>>2]){case 0:tb(N[a+8>>2]);return;case 1:_a(N[a+8>>2]);return;case 2:tb(N[a+8>>2]);break;default:break a}}}function Wu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=N[a>>2];d=N[a+44>>2];a:{if(!d){break a}e=N[d>>2];if(!e|!N[e+96>>2]){break a}N[e+88>>2]=d}d=eg(N[c+504>>2],b);if(!d){b=N[N[c+504>>2]+88>>2];c=N[b+16>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=c;N[a+36>>2]=N[b+36>>2];c=N[b+32>>2];N[a+28>>2]=N[b+28>>2];N[a+32>>2]=c;c=N[b+24>>2];N[a+20>>2]=N[b+20>>2];N[a+24>>2]=c}return d|0}function zc(a){var b=0,c=0;a:{if(O[a+62|0]){b=N[a+68>>2];c=N[a+64>>2];if(b>>>0>>0){break a}b:{if(!O[a+60|0]){break b}if(!Al(a,b-c|0)){break b}b=N[a+84>>2];c=N[a+80>>2];if((b|0)!=(c|0)){N[a+80>>2]=b;N[a+88>>2]=c}N[a+68>>2]=N[a+72>>2]}N[a+72>>2]=0;L[a+62|0]=0;N[a+64>>2]=0;N[a+84>>2]=N[a+80>>2];return}ba(8694,17855,395,17735);F()}ba(13069,17855,397,17735);F()}function wj(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{c=N[a>>2];if((c|0)>=0){d=N[a+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break c}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){f=$a(N[a+8>>2],c<<2);if(f){break b}}N[a>>2]=-1}N[147456]=0;return}f=N[a+8>>2];break a}N[a>>2]=c;N[a+8>>2]=f;d=N[a+4>>2];e=d+1|0}N[a+4>>2]=e;N[(d<<2)+f>>2]=N[b>>2]}function xA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=N[b>>2];while(1){d=d+1|0;if(d>>>0>255){N[b>>2]=0;return 0}f=Qa[N[a+20>>2]](P[N[a+16>>2]+(d<<1)>>1])|0;g=N[a+24>>2];a:{if(g){h=N[a+28>>2];c=0;while(1){e=N[(c<<2)+h>>2];if(!(!e|O[e|0]!=O[f|0])){if(!cb(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}N[b>>2]=d;return c|0}function Py(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(Zb(a,N[b+8>>2],e)){if(!(N[b+28>>2]==1|N[b+4>>2]!=(c|0))){N[b+28>>2]=d}return}a:{if(!Zb(a,N[b>>2],e)){break a}if(!(N[b+16>>2]!=(c|0)&N[b+20>>2]!=(c|0))){if((d|0)!=1){break a}N[b+32>>2]=1;return}N[b+20>>2]=c;N[b+32>>2]=d;N[b+40>>2]=N[b+40>>2]+1;if(!(N[b+36>>2]!=1|N[b+24>>2]!=2)){L[b+54|0]=1}N[b+44>>2]=4}}function ok(a,b){a=a|0;b=b|0;var c=0,d=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];c=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((c|0)!=-1){d=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}a=kk(a,b)}else{a=0}return a|0}function Rr(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{c=N[b+160>>2];if(c>>>0>=a+4>>>0){d=O[a+3|0]|O[a+2|0]<<8;if(d>>>0<262|c>>>0>>0){break b}if(N[b+164>>2]){a=a+6|0;c=N[b+172>>2];d=0;while(1){if(c>>>0<=O[a|0]|c>>>0<=O[a+1|0]|(c>>>0<=O[a+2|0]|c>>>0<=O[a+3|0])){break a}a=a+4|0;d=d+4|0;if((d|0)!=256){continue}break}}return 0}Pb(b,8);F()}Pb(b,8);F()}Pb(b,16);F()}function ps(a,b){a=a|0;b=b|0;var c=0,d=0;a=N[a+16>>2];c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{if(c>>>0>b>>>0){break a}b=b-c|0;c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(b>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break a}a=(a+20|0)+(b<<1)|0;d=O[a|0]<<8|O[a+1|0]}return d|0}function Vc(a,b){var c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+3>>>0){break d}e=N[a+20>>2];e:{if(e){f=d+12|0;if((Qa[e|0](a,c,f,4)|0)!=4){break d}c=N[a+8>>2];b=f;break e}b=N[a>>2];if(!b){break c}b=b+c|0}g=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);break b}N[b>>2]=85;break a}g=0}N[a+8>>2]=c+4}La=d+16|0;return g}function Tb(a,b){var c=0,d=0;c=N[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{switch(O[c|0]){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}d=37;while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((c|0)!=(b|0)){d=O[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}N[a>>2]=c}function Yl(a){var b=0,c=0;c=N[a+568>>2];if((c|0)!=N[a+64>>2]){b=N[a+96>>2];c=Qa[N[a+24>>2]](N[a+32>>2],c+42|0)|0;N[a+96>>2]=c;if(!c){N[a+96>>2]=b;return 0}L[(c+N[a+568>>2]|0)-2|0]=0;L[(N[a+568>>2]+N[a+96>>2]|0)-1|0]=0;if(b){B(N[a+96>>2],b,N[a+52>>2]);Qa[N[a+28>>2]](N[a+32>>2],b)}b=N[a+568>>2];N[a+64>>2]=b;N[a+68>>2]=b-1;N[a+100>>2]=b+N[a+96>>2]}return 1}function pk(a,b){a=a|0;b=b|0;var c=0,d=0;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];d=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)!=-1){c=O[a+4|0]|O[a+5|0]<<8;c=d>>>0>=((c<<8|c>>>8)&65535)>>>0?275552:((d<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}lk(a,b)}return(d|0)!=-1|0}function mu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=6;f=N[a+280>>2];a:{if((f|0)<=0){break a}d=N[a+284>>2];a=0;while(1){b:{h=a;g=cb(N[T(a,12)+d>>2],b);a=a+1|0;if((f|0)<=(a|0)){break b}if(g){continue}}break}if(g){break a}b=T(h,12)+d|0;c:{if(O[b+4|0]){N[c>>2]=1;N[c+4>>2]=N[b+8>>2];break c}N[c>>2]=2;N[c+4>>2]=N[(T(a,12)+d|0)-4>>2]}e=0}return e|0}function fC(a){a=a|0;var b=0;b=N[a+8>>2];G(a+16|0,0,84);N[a+136>>2]=331;N[a+132>>2]=332;N[a+128>>2]=333;N[a+124>>2]=334;N[a+120>>2]=335;N[a+116>>2]=336;N[a+108>>2]=337;N[a+104>>2]=338;N[a+100>>2]=339;N[a+12>>2]=b;N[a+164>>2]=331;N[a+160>>2]=340;N[a+156>>2]=341;N[a+152>>2]=342;N[a+148>>2]=335;N[a+144>>2]=343;b=a+12|0;N[a+112>>2]=b;N[a+140>>2]=b;return 0}function vy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!cb(b,10437)){N[c>>2]=N[a+36>>2];N[c+4>>2]=N[a+40>>2];N[c+8>>2]=N[a+44>>2];N[c+12>>2]=N[a+48>>2];N[c+16>>2]=N[a+52>>2];N[c+20>>2]=N[a+56>>2];N[c+24>>2]=N[a+60>>2];N[c+28>>2]=N[a- -64>>2];break b}if(!cb(b,15759)){N[c>>2]=N[a+28>>2];break b}d=12;if(cb(b,14683)){break a}L[c|0]=O[a+32|0]}d=0}return d|0}function $D(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=N[b>>2];b=N[a+12>>2];a:{if(b){break a}while(1){b=N[a>>2];if(!b){b=275552;break a}e=db(1,48);if(!e){b=275552;N[a+12>>2]=275552;break a}b=hj(e,b);if(!N[a+12>>2]){N[a+12>>2]=b;break a}ab(N[b+44>>2]);_a(b);b=N[a+12>>2];if(!b){continue}break}}a=N[b+8>>2];if(!a){return 0}return Qa[a|0](N[b+12>>2],c,d)|0}function zb(a){var b=0,c=0,d=0;a:{if(!N[a+4>>2]){break a}b=N[a+16>>2];b:{if(!b){N[a+20>>2]=2;break b}c:{switch(N[a+20>>2]-2|0){case 1:N[a+20>>2]=2;break b;case 0:break b;default:break c}}c=kb(b);if(!c){break a}if(b){B(c,N[a+12>>2],b)}b=N[a+28>>2];if(b){Qa[b|0](N[a+24>>2])}N[a+28>>2]=192;N[a+24>>2]=c;N[a+12>>2]=c;N[a+20>>2]=2}d=N[a+12>>2]}return d}function yu(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+12>>2];if(b){e=N[a+28>>2];N[b+104>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;L[b+44|0]=0;N[b- -64>>2]=9;N[b+12>>2]=0;N[b+16>>2]=0;d=N[b+180>>2];c=N[b+100>>2];if((c|0)!=(b+112|0)){if(c){Qa[N[d+8>>2]](d,c)}N[b+100>>2]=0}c=N[b+88>>2];if(c){Qa[N[d+8>>2]](d,c)}G(b,0,184);Qa[N[e+8>>2]](e,b);N[a+12>>2]=0}}function Zy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=N[a+84>>2];f=N[e>>2];d=N[e+4>>2];h=N[a+28>>2];g=N[a+20>>2]-h|0;g=d>>>0>>0?d:g;if(g){B(f,h,g);f=g+N[e>>2]|0;N[e>>2]=f;d=N[e+4>>2]-g|0;N[e+4>>2]=d}d=c>>>0>d>>>0?d:c;if(d){B(f,b,d);f=d+N[e>>2]|0;N[e>>2]=f;N[e+4>>2]=N[e+4>>2]-d}L[f|0]=0;b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;return c|0}function Pn(a,b,c,d){L[a+53|0]=1;a:{if(N[a+4>>2]!=(c|0)){break a}L[a+52|0]=1;c=N[a+16>>2];b:{if(!c){N[a+36>>2]=1;N[a+24>>2]=d;N[a+16>>2]=b;if((d|0)!=1){break a}if(N[a+48>>2]==1){break b}break a}if((b|0)==(c|0)){c=N[a+24>>2];if((c|0)==2){N[a+24>>2]=d;c=d}if(N[a+48>>2]!=1){break a}if((c|0)==1){break b}break a}N[a+36>>2]=N[a+36>>2]+1}L[a+54|0]=1}}function xb(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+1>>>0){break d}f=N[a+20>>2];e:{if(f){d=e+14|0;if((Qa[f|0](a,c,d,2)|0)!=2){break d}c=N[a+8>>2];break e}b=N[a>>2];if(!b){break c}d=b+c|0}b=O[d|0]|O[d+1|0]<<8;g=b<<8|b>>>8;break b}N[b>>2]=85;break a}g=0}N[a+8>>2]=c+2}La=e+16|0;return g&65535}function sw(a){a=a|0;var b=0,c=0,d=0;c=N[a+16>>2];if(Q[a+20>>2]>=c+16>>>0){d=N[a+32>>2];b=me(a,N[c>>2],0);N[d+84>>2]=((b>>31)+b|0)+32768&-65536;b=me(a,N[c+4>>2],0);N[d+88>>2]=((b>>31)+b|0)+32768&-65536;b=me(a,N[c+8>>2],0);N[d+92>>2]=((b>>31)+b|0)+32768&-65536;a=me(a,N[c+12>>2],0);N[d+96>>2]=((a>>31)+a|0)+32768&-65536;a=0}else{a=161}return a|0}function sC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=N[b+4>>2];N[a+2748>>2]=b;c=N[b+28>>2];N[a+4>>2]=N[b+44>>2];N[a+8>>2]=N[b+48>>2];N[a+12>>2]=N[b+9848>>2];N[a+16>>2]=N[b+9852>>2];b=N[b+24>>2];e=b&-3;N[a+2740>>2]=!(L[d+12|0]&1)&(e|0)!=1?c:c|1;d=a;a=(b&-2)==2;c=a|2;f=(b|0)==4?c:a;a=(b|0)==2;b=a?c:f;b=(e|0)==1?b:b|4;N[d+2744>>2]=a?b|8:b;return 0}function ii(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-240|0;La=h;N[h>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;f=a;while(1){f=f+k|0;j=d-2|0;g=f-N[(j<<2)+e>>2]|0;if((Qa[c|0](a,g)|0)>=0){if((Qa[c|0](a,f)|0)>=0){break a}}l=g;g=(Qa[c|0](g,f)|0)>=0;f=g?l:f;N[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}ao(b,h,i);La=h+240|0}function Ww(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a=N[a+532>>2];if(!a){return 6}d=N[a+4>>2];N[b>>2]=d;N[b+4>>2]=N[a>>2];if(!d){return 0}g=a+88|0;h=b+8|0;b=0;while(1){c=T(b,12);e=c+h|0;N[e>>2]=N[(a+(b<<2)|0)+8>>2];c=c+g|0;f=N[c+4>>2];N[e+4>>2]=N[f>>2];N[e+8>>2]=N[((O[c|0]<<2)+f|0)-4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}return 0}function Vs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=N[a+16>>2];d=P[a+8>>1];c=d>>>1|0;a=c+1|0;e=Qa[N[b+4>>2]](b,a)|0;if(!e){return 0}G(e,0,a);a=0;a:{if(d>>>0<2){break a}b=c>>>0<=1?1:c;while(1){c=O[f+1|0];d=c|O[f|0]<<8;if(!d){break a}L[a+e|0]=d-128>>>0<4294967200?63:c;f=f+2|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}L[a+e|0]=0;return e|0}function Fd(a,b){a:{if((b|0)>=1024){a=a*898846567431158e293;if(b>>>0<2047){b=b-1023|0;break a}a=a*898846567431158e293;b=((b|0)>=3069?3069:b)-2046|0;break a}if((b|0)>-1023){break a}a=a*2004168360008973e-307;if(b>>>0>4294965304){b=b+969|0;break a}a=a*2004168360008973e-307;b=((b|0)<=-2960?-2960:b)+1938|0}x(0,0);x(1,b+1023<<20);return a*+z()}function $z(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=N[a+20>>2];a=(c+(N[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=N[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return N[f+4>>2]}function qE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];a:{if(Qa[N[e+24>>2]](e,b,N[e+56>>2])>>>0<=31){e=N[a+12>>2];f=0;if(1<>2]](e,b,N[e+56>>2])&7168){break a}}if(!((b|0)!=2479|(c|0)!=2492)){N[d>>2]=2527;return 1}a=N[a+12>>2];N[d>>2]=0;f=0;if(!b|!c){break a}f=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return f|0}function ib(a,b,c,d){var e=0,f=0;f=La-16|0;La=f;e=1;if(N[a+156>>2]){N[f+12>>2]=d;e=La-112|0;La=e;if(!(!O[a+62|0]|N[a+84>>2]==N[a+80>>2]&N[a+72>>2]==N[a+64>>2])){ba(22546,17855,2177,13189);F()}N[a+168>>2]=N[a+168>>2]+1;sh(e,100,c,d);b=Qa[N[a+156>>2]](a,b,e,N[a+160>>2])|0;N[a+168>>2]=N[a+168>>2]-1;La=e+112|0;e=(b|0)!=0}La=f+16|0;return e}function Ik(a,b,c,d){var e=0,f=0,g=0,h=0;a:{g=T(b,20)+a|0;e=g;f=P[e+16>>1];if(!f){break a}h=O[e+18|0];if(!(h&2)){break a}M[e+16>>1]=0;e=(f<<16>>16)+b|0;if((e|0)==(d|0)){break a}Ik(a,e,c,d);b:{if((c&-2)==4){N[(T(e,20)+a|0)+12>>2]=0-N[g+12>>2];break b}N[(T(e,20)+a|0)+8>>2]=0-N[(T(b,20)+a|0)+8>>2]}a=T(e,20)+a|0;M[a+16>>1]=0-f;L[a+18|0]=h}}function zw(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[N[b+712>>2]+3080>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+8>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function uw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=N[N[a+128>>2]+52>>2];a:{if(e){a=N[b>>2];N[d+12>>2]=c;N[d+8>>2]=a;Qa[N[N[e>>2]+4>>2]](N[e+4>>2],d+8|0);break a}a=N[a+712>>2];if(N[a+1236>>2]){break a}a=N[a+1204>>2];b:{if(!a|!N[a+20>>2]){break b}c=N[b>>2];if(!c){break b}a=N[a+28>>2];Qa[N[a+8>>2]](a,c)}N[b>>2]=0}La=d+16|0}function Vy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La+-64|0;La=d;e=1;a:{if(Zb(a,b,0)){break a}e=0;if(!b){break a}b=Oc(b,584540);e=0;if(!b){break a}G(d+12|0,0,52);N[d+56>>2]=1;N[d+20>>2]=-1;N[d+16>>2]=a;N[d+8>>2]=b;Qa[N[N[b>>2]+28>>2]](b,d+8|0,N[c>>2],1);a=N[d+32>>2];if((a|0)==1){N[c>>2]=N[d+24>>2]}e=(a|0)==1}a=e;La=d- -64|0;return a|0}function mC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=N[N[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=N[f+24>>2];if(c){b=N[N[(N[N[b+288960>>2]+4>>2]<<2)+288672>>2]+16>>2];a:{if(b){Qa[b|0](c);c=N[f+24>>2];if(!c){break a}}Qa[N[d+8>>2]](d,c)}N[f+24>>2]=0}e=e+1|0;if((e|0)!=87){continue}break}Qc(N[a+12>>2]);bc(N[a+16>>2]);Qa[N[d+8>>2]](d,a)}}function Mu(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=N[a+100>>2];b=N[a+132>>2];if(b){e=N[b+160>>2];if(e){c=N[a+104>>2];if(!(!c|!N[c+20>>2])){c=N[c+28>>2];Qa[N[c+8>>2]](c,e)}N[b+160>>2]=0}c=N[b+168>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+168>>2]=0;Qa[N[d+8>>2]](d,b);N[a+132>>2]=0}b=N[a+32>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+28>>2]=0;N[a+32>>2]=0}}function _j(a){var b=0,c=0,d=0;b=La-16|0;La=b;N[b+4>>2]=-1;a:{if(!O[a+36|0]){td(a,b+4|0);c=N[b+4>>2];break a}N[b+8>>2]=-1;td(a,b+8|0);if(N[b+8>>2]){break a}N[b+12>>2]=-1;if(!td(a,b+12|0)){break a}d=N[b+12>>2];while(1){if(!td(a,b+12|0)){c=d+1|0;break a}c=d+1|0;d=N[b+12>>2];if((c|0)==(d|0)){continue}break}}La=b+16|0;return(c|0)==-1}function Ye(a){var b=0,c=0,d=0;a:{if(!a){break a}b=O[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=L[b|0];b:{if(!(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1)){break b}while(1){if(c<<16>>16>3274){c=32767;break b}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c<<16>>16}function wd(a){var b=0,c=0,d=0,e=0;a:{b=N[a+72>>2]+1|0;b:{if(!(!b|b>>>0>2])){if(!gb(a,b)){break b}}d=1;b=N[a+84>>2];if((b|0)!=N[a+80>>2]){break b}c=N[a+72>>2];if(c+1>>>0<=N[a+64>>2]+1>>>0){break b}if(!O[a+62|0]){break a}e=a;a=N[a+88>>2];N[e+84>>2]=a;c=T(c,20);if(!c){break b}B(a,b,c)}return d}ba(8694,17855,209,11932);F()}function hf(a){var b=0,c=0,d=0,e=0,f=0;kd(a);a:{if(N[a+12>>2]>0){break a}b=N[a>>2];d=b-1|0;e=N[a+8>>2];b:{c:{while(1){d:{if(b>>>0>=e>>>0){break d}f=b;c=1;b=b+1|0;N[a>>2]=b;switch(O[f|0]-9|0){case 0:case 23:break a;case 50:break b;case 1:case 4:break c;case 17:break d;default:continue}}break}c=3;break b}c=2}N[a+12>>2]=c}return d}function am(a){var b=0,c=0,d=0;a:{if(!a){break a}b=O[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=L[b|0];b:{if(!(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1)){break b}while(1){if((c|0)>214748362){c=2147483647;break b}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c}function OA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=N[a+12>>2];a:{if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+68|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=((c>>31)+c|0)+32768>>16;N[f>>2]=((b>>31)+b|0)+32768>>16;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function nx(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[b+552>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+4>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function ln(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+1>>>0){break d}f=N[a+20>>2];e:{if(f){d=e+14|0;if((Qa[f|0](a,c,d,2)|0)!=2){break d}c=N[a+8>>2];break e}b=N[a>>2];if(!b){break c}d=b+c|0}g=O[d|0]|O[d+1|0]<<8;break b}N[b>>2]=85;break a}g=0}N[a+8>>2]=c+2}La=e+16|0;return g}function kd(a){var b=0,c=0,d=0,e=0;a:{if(N[a+12>>2]>0){break a}c=3;b=N[a>>2];d=N[a+8>>2];b:{if(b>>>0>=d>>>0){break b}while(1){c:{e=b+1|0;N[a>>2]=e;c=2;d:{switch(O[b|0]-9|0){case 50:c=1;break b;case 1:case 4:break b;case 17:break c;case 0:case 23:break d;default:break a}}b=e;if((d|0)!=(b|0)){continue}}break}c=3}N[a+12>>2]=c}}function Iv(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[b+320>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+4>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function em(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-16|0;La=d;e=N[c>>2];if(e>>>0<2147483632){g=N[a>>2];a:{if(e>>>0<=10){L[d+15|0]=e;a=d+4|0;break a}f=(e|15)+1|0;a=eb(f);N[d+12>>2]=f|-2147483648;N[d+4>>2]=a;N[d+8>>2]=e}B(a,c+4|0,e);L[a+e|0]=0;Qa[g|0](b,d+4|0);if(L[d+15|0]<0){_a(N[d+4>>2])}La=d+16|0;return}fa();F()}function ej(a,b,c,d,e){var f=0,g=0,h=U(0),i=U(0);if(N[c>>2]){h=R[c+4>>2];i=R[c+8>>2];if(!(h==R[c+12>>2]&i==R[c+16>>2])){g=N[a+16>>2];f=N[a+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[g|0](a,b,c,h,i,f)}g=N[a+28>>2];f=N[a+32>>2];if(f){f=N[f+16>>2]}else{f=0}Qa[g|0](a,b,c,f);N[c+8>>2]=0;N[c>>2]=0;N[c+4>>2]=0}R[c+16>>2]=e;R[c+12>>2]=d}function Ok(a,b){a=a|0;b=b|0;var c=0,d=0;c=O[a+6|0]|O[a+7|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];if((vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2])|0)!=-1){d=b;b=O[a+2|0]|O[a+3|0]<<8;b=(b<<8|b>>>8)&65535;c=O[a+4|0]|O[a+5|0]<<8;a=Pe(d,b,a+8|0,(c<<8|c>>>8)&65535,(a+6|0)+(b<<1)|0,247,a)}else{a=0}return a|0}function Lq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!(O[N[a+112>>2]+36|0]&2)){break a}b=N[c+68>>2];if(!b){break a}e=N[c+80>>2];g=e+3|0;a=0;while(1){d=T(a,20);f=d+e|0;if(O[f+12|0]&64){h=d+g|0;d=O[f+14|0];L[h+16|0]=d&16?8:d&1|8;N[c+144>>2]=N[c+144>>2]|16777216}a=a+1|0;if((b|0)!=(a|0)){continue}break}}return 0}function Ie(a,b,c,d,e,f,g){var h=0,i=0,j=U(0),k=U(0);if(!N[c>>2]){i=N[a+12>>2];j=R[c+12>>2];k=R[c+16>>2];h=N[a+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](a,b,c,j,k,h);N[c>>2]=1;h=N[c+16>>2];N[c+4>>2]=N[c+12>>2];N[c+8>>2]=h}i=N[a+20>>2];h=N[a+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](a,b,c,d,e,f,g,h);R[c+16>>2]=g;R[c+12>>2]=f}function vz(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(!a){break b}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;a=N[b>>2];if(!a){break b}if(!N[a-8>>2]){break a}a=a-4|0;b=N[a>>2];if(!b){break a}N[a>>2]=b+1}return 1}ba(8916,18290,435,15229);F()}function iD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=f|0;var g=U(0),h=U(0),i=U(0),j=U(0),k=0;g=R[b+8>>2];h=R[b+16>>2];i=R[b+12>>2];j=R[c+16>>2];R[c+16>>2]=i*j;R[c+12>>2]=U(g*R[c+12>>2])+U(h*j);a=N[b>>2];f=N[a+16>>2];k=N[b+4>>2];d=U(U(g*d)+U(h*e));e=U(i*e);b=N[a+32>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[f|0](a,k,c,d,e,b)}function Yu(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=N[a+160>>2];N[b+156>>2]=0;c=N[b+4>>2];a=N[c+84>>2];a:{if(!a){break a}d=N[N[c+96>>2]+8>>2];if((a|0)!=(b|0)){while(1){e=N[a+8>>2];if(!e){break a}f=a;a=e;if((b|0)!=(a|0)){continue}break}}N[(f?f+8|0:c+84|0)>>2]=N[b+8>>2];a=N[b+20>>2];if(a){Qa[a|0](b)}af(b);Qa[N[d+8>>2]](d,b)}}function YA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=La-16|0;La=b;Tb(a,N[a+8>>2]);e=N[a+8>>2];d=N[a>>2];N[b+12>>2]=d;g=b+12|0;f=ed(g,e,10);c=N[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(O[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;N[b+12>>2]=d;f=ed(g,e,f);c=N[b+12>>2];if((d|0)==(c|0)){break a}}N[a>>2]=c;h=f}La=b+16|0;return h|0}function Ho(a){var b=0,c=0,d=0,e=0;b=N[a+12>>2];if(b){c=N[a+8>>2];a:{b:{if(b>>>0>c>>>0){d=N[a+20>>2];break b}N[147316]=0;d=N[a+20>>2];c=b<<1;b=$a(d,c>>>0<=1?1:c);N[147316]=b?0:48;d=b?b:d;N[a+20>>2]=d;e=0;if(!b){break a}N[a+12>>2]=c;c=N[a+8>>2]}L[c+d|0]=1;N[a+8>>2]=N[a+8>>2]+1;e=1}return e}ba(10167,18249,303,9289);F()}function zd(a,b){var c=0,d=0,e=0;c=La-16|0;La=c;N[c+8>>2]=a;e=N[b+20>>2];a=e+((Qa[N[b+12>>2]](c+8|0)>>>0)%Q[b+4>>2]<<2)|0;d=N[a>>2];a:{if(!d){break a}while(1){if(Qa[N[b+16>>2]](d,c+8|0)|0){break a}a=a-4|0;if(e>>>0>a>>>0){a=((N[b+4>>2]<<2)+e|0)-4|0}d=N[a>>2];if(d){continue}break}}La=c+16|0;a=N[a>>2];return a?a+4|0:0}function xC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=rf(b,c);a:{if(d){break a}a=N[b+24>>2];if((a|0)<=0){break a}b=N[b+28>>2];f=b+T(a,40)|0;a=N[c+4>>2];c=N[c+8>>2];while(1){N[a>>2]=N[b+16>>2];N[a+4>>2]=N[b+20>>2];e=P[b>>1];L[c|0]=e&1?0:e&2?2:1;c=c+1|0;a=a+8|0;b=b+40|0;if(f>>>0>b>>>0){continue}break}}return d|0}function wh(a,b,c){var d=0,e=0,f=0,g=0;f=6;d=N[b>>2];a:{if(d+5>>>0>c>>>0){break a}e=N[a+12>>2];M[e>>1]=O[d|0];M[e+2>>1]=O[d+1|0];M[e+4>>1]=L[d+2|0];M[e+6>>1]=L[d+3|0];M[e+8>>1]=O[d+4|0];g=c;c=d+8|0;if(g>>>0>>0){break a}M[e+10>>1]=L[d+5|0];M[e+12>>1]=L[d+6|0];M[e+14>>1]=O[d+7|0];L[a+16|0]=1;N[b>>2]=c;f=0}return f}function cq(a,b,c,d,e){var f=0,g=0,h=U(0),i=U(0);if(!N[c>>2]){g=N[a+12>>2];h=R[c+12>>2];i=R[c+16>>2];f=N[a+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[g|0](a,b,c,h,i,f);N[c>>2]=1;f=N[c+16>>2];N[c+4>>2]=N[c+12>>2];N[c+8>>2]=f}g=N[a+16>>2];f=N[a+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[g|0](a,b,c,d,e,f);R[c+16>>2]=e;R[c+12>>2]=d}function oE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){a:{a=a<<24>>24;L[b+140|0]=a|64;if((a|0)<0){break a}L[b+140|0]=a|192;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),M[e+18>>1]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}ba(22778,14165,169,12138);F()}function rD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];e=N[b+96>>2];f=N[e- -64>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+44>>2]}else{e=0}b=Qa[f|0](b,g,c,d,e)|0;c=N[a+20>>2];a:{if(!c){break a}c=N[c+28>>2];a=N[a+28>>2];if((c|0)==(a|0)){break a}b=UE(TE(a,a>>31,b,b>>31),Pa,c,c>>31)}return b|0}function dE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){a:{a=a<<24>>24;L[b+140|0]=a|64;if((a|0)<0){break a}L[b+140|0]=a|192;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),L[e+18|0]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}ba(22778,14165,169,12138);F()}function Nh(a){a=a|0;var b=0;N[a+36>>2]=500;N[a+40>>2]=400;L[a+32|0]=1;N[a+28>>2]=1;N[a+60>>2]=2333;N[a+64>>2]=0;N[a+52>>2]=1667;N[a+56>>2]=275;N[a+44>>2]=1e3;N[a+48>>2]=275;b=La-16|0;b=N[a+8>>2]^(b+8^b+12);b=b>>>20^b>>>10^b;N[a+68>>2]=b;a:{if((b|0)<0){b=0-b|0}else{if(b){break a}b=123456789}N[a+68>>2]=b}return 0}function tx(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=28592;b:{if(!cb(15866,b)){break b}c=28600;if(!cb(9592,b)){break b}c=28608;if(!cb(9676,b)){break b}c=28616;if(!cb(12514,b)){break b}c=28624;if(!cb(11276,b)){break b}c=28632;if(!cb(14667,b)){break b}if(cb(10423,b)){break a}c=28640}a=N[c+4>>2]}return a|0}function qD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];e=N[b+96>>2];f=N[e+68>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+48>>2]}else{e=0}b=Qa[f|0](b,g,c,d,e)|0;c=N[a+20>>2];a:{if(!c){break a}c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=UE(TE(a,a>>31,b,b>>31),Pa,c,c>>31)}return b|0}function pc(a){var b=0,c=0,d=0;A(+a);b=v(1)|0;v(0)|0;d=b>>>20&2047;if(d>>>0<=1074){if(d>>>0<=1021){a=a*0}else{a=(b|0)>0|(b|0)>=0?a:-a;c=a+4503599627370496+-4503599627370496-a;a:{if(c>.5){a=a+c+-1;break a}a=a+c;if(!(c<=-.5)){break a}a=a+1}a=(b|0)>0|(b|0)>=0?a:-a}}if(V(a)<2147483648){return~~a}return-2147483648}function au(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=N[a+16>>2];if(d){g=N[a+20>>2];a=d>>>1|0;while(1){c=d+f>>>1|0;c=a>>>0>=d>>>0?c:a>>>0>>0?c:a;e=N[(c<<3)+g>>2];if((e|0)==(b|0)){return P[((c<<3)+g|0)+4>>1]+1&65535}a=(b+c|0)-e|0;e=b>>>0>>0;f=e?f:c+1|0;d=e?c:d;if(f>>>0>>0){continue}break}}return 0}function Aj(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+32>>2];if(!(!b|!N[b>>2])){while(1){e=(d<<2)+b|0;a:{if(!N[e+36>>2]){break a}c=T(d,28)+b|0;if(N[c+80>>2]){N[c+80>>2]=0}_a(N[c+84>>2]);N[c+80>>2]=0;N[c+84>>2]=0;N[c+76>>2]=0;if(!O[b+4|0]){break a}_a(N[e+36>>2])}d=d+1|0;if(d>>>0>2]){continue}break}_a(b)}_a(a)}function ry(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[N[a+392>>2]+(b<<2)>>2];b=d>>31;e=cg(a);a=e>>31;b=(b^d)-b|0;a=(a^e)-a|0;a:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break a}c=b&65535;b=T(c,a>>>16|0)+T(a,b>>>16|0)+(T(a&65535,c)+32768>>>16)|0}a=b;c=0-a|0;a=d>>31|1;return((((e|0)<0?0-a|0:a)|0)<0?c:b)|0}function Ci(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-16|0;La=b;d=N[a>>2];a:{if(!d){break a}c=N[d+8>>2];if(!c){break a}e=d;while(1){c=N[c+8>>2];if(c){e=N[e+8>>2];c=N[c+8>>2];if(c){continue}}break}N[b+12>>2]=d;N[b+8>>2]=N[e+8>>2];N[e+8>>2]=0;Ci(b+12|0);Ci(b+8|0);f=a,g=Bi(N[b+12>>2],N[b+8>>2]),N[f>>2]=g}La=b+16|0}function ji(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=28711;if((a|0)!=28711){c=6879;e=3439;d=3439;while(1){if((c|0)==1){return 0}b=a>>>0>>0;g=b?g:e;c=b?d:c-d|0;d=c>>>1|0;e=g+d|0;f=P[(e<<1)+567216>>1];b=P[(T(f>>>8|0,188)+((f&255)<<1)|0)+504752>>1];if((b|0)!=(a|0)){continue}break}a=f+8481|0}else{a=17005}return a}function Gz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;N[b+20>>2]=N[c>>2];d=N[c+4>>2];N[b+108>>2]=0;N[b+112>>2]=0;N[b+24>>2]=d;d=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=d;N[b+8>>2]=N[a+8>>2];N[b+12>>2]=N[a+12>>2];a=N[a+16>>2];N[b+120>>2]=0;N[b+124>>2]=0;N[b+16>>2]=a;if((wo(N[c+8>>2],b,0)|0)==-1){N[b+20>>2]=0}return 1}function ld(a,b){var c=0;c=N[a+8>>2];a:{if(N[a+12>>2]-c>>3>>>0<=b>>>0){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=130;return 0}b:{c:{d:{a=(b<<3)+c|0;switch(N[a+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}return N[a>>2]<<16}a=N[a>>2];return((a>>31)+a|0)- -8192>>14}b=N[a>>2]}return b}function Qo(a,b){var c=0,d=0,e=0;a:{if(b>>>0>255){break a}c=N[a+604>>2];c=Qa[N[c+20>>2]](P[N[c+24>>2]+(b<<1)>>1])|0;d=N[a+584>>2];if(!d){break a}e=N[a+580>>2];b=0;while(1){b:{a=N[(b<<2)+e>>2];if(!a|O[a|0]!=O[c|0]){break b}if(cb(a,c)){break b}return b}b=b+1|0;if((d|0)!=(b|0)){continue}break}}return-1}function vj(a){N[a+540>>2]=0;N[a+504>>2]=a+540;N[a+468>>2]=a+504;N[a+432>>2]=a+468;N[a+396>>2]=a+432;N[a+360>>2]=a+396;N[a+324>>2]=a+360;N[a+288>>2]=a+324;N[a+252>>2]=a+288;N[a+216>>2]=a+252;N[a+180>>2]=a+216;N[a+144>>2]=a+180;N[a+108>>2]=a+144;N[a+72>>2]=a+108;N[a+36>>2]=a+72;N[a>>2]=a+36;return a}function KA(a){a=a|0;var b=0,c=0,d=0,e=0;e=N[a>>2];b=N[a+8>>2];if(b){c=N[a+16>>2];d=N[c+4>>2];N[b+108>>2]=N[c>>2];N[b+112>>2]=d;N[b+124>>2]=N[c+16>>2];d=N[c+12>>2];N[b+116>>2]=N[c+8>>2];N[b+120>>2]=d}b=N[a+1512>>2];if(b){Qa[b|0](N[a+1508>>2]);b=N[a+1508>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+1508>>2]=0}}function GB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(b){f=N[d>>2]+T(N[d+4>>2],(a|0)/-4|0)|0;while(1){if(P[c+2>>1]){g=O[c+4|0]+8>>>4|0;d=0;while(1){e=f+((M[c>>1]+d|0)/4|0)|0;a=O[e|0]+g|0;L[e|0]=a-(a>>>8|0);d=d+1|0;if(d>>>0>1]){continue}break}}c=c+6|0;b=b-1|0;if(b){continue}break}}}function ao(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=La-256|0;La=f;if((c|0)>=2){h=(c<<2)+b|0;N[h>>2]=f;while(1){e=a>>>0>=256?256:a;B(N[h>>2],N[b>>2],e);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;B(N[g>>2],N[(d<<2)+b>>2],e);N[g>>2]=N[g>>2]+e;if((c|0)!=(d|0)){continue}break}a=a-e|0;if(a){continue}break}}La=f+256|0}function Po(a,b,c){var d=0,e=0,f=0;e=La-16|0;La=e;f=N[N[a+128>>2]+52>>2];a:{b:{if(!f){d=b<<2;b=d+N[a+432>>2]|0;d=d+N[a+428>>2]|0;break b}d=e+8|0;a=Qa[N[N[f>>2]>>2]](N[f+4>>2],b,d)|0;if(a){break a}b=e+12|0}b=N[b>>2];d=N[d>>2];N[c+12>>2]=d;a=0;N[c>>2]=0;N[c+4>>2]=d;N[c+8>>2]=b+d}La=e+16|0;return a}function Cp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;N[a+2748>>2]=b;c=N[b+28>>2];N[a+4>>2]=N[b+44>>2];N[a+8>>2]=N[b+48>>2];N[a+12>>2]=N[b+7720>>2];N[a+16>>2]=N[b+7724>>2];b=N[b+24>>2];N[a+2740>>2]=c|4;d=a;a=(b&-2)==2;c=a|2;e=(b|0)==4?c:a;a=(b|0)==2;c=a?c:e;b=(b&-3)==1?c:c|4;N[d+2744>>2]=a?b|8:b;return 0}function hx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=N[c+288>>2];if((e|0)<=0){break a}f=N[c+292>>2];while(1){c=N[(d<<2)+f>>2];b:{if(!c|O[c|0]!=O[a|0]){break b}if((nb(c)|0)!=(b|0)){break b}if(!bb(c,a,b)){break a}}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0}return d|0}function nb(a){var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!O[b|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(O[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=N[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}while(1){b=c;c=b+1|0;if(O[b|0]){continue}break}}return b-a|0}function Od(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;L[d+15|0]=0;N[b>>2]=0;c=N[a+8>>2];a:{b:{f=N[a+20>>2];c:{if(f){e=d+15|0;if((Qa[f|0](a,c,e,1)|0)!=1){break b}c=N[a+8>>2];break c}if(Q[a+4>>2]<=c>>>0){break b}e=N[a>>2]+c|0}b=O[e|0];N[a+8>>2]=c+1;break a}N[b>>2]=85;b=0}La=d+16|0;return b<<24>>24}function Mb(a,b,c){var d=0,e=0;a:{b:{if(c>>>0>=4){if((a|b)&3){break b}while(1){if(N[a>>2]!=N[b>>2]){break b}b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}while(1){d=O[a|0];e=O[b|0];if((d|0)==(e|0)){b=b+1|0;a=a+1|0;c=c-1|0;if(c){continue}break a}break}return d-e|0}return 0}function Bu(a){a=a|0;var b=0,c=0;c=N[a+28>>2];b=N[a+12>>2];if(b){Vf(b+12|0);N[b+52>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;Qa[N[c+8>>2]](c,b);N[a+12>>2]=0}if(!N[a+20>>2]){b=N[a>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0}}function tc(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;a:{if(!b){b=0;break a}c=b>>31;e=(c^b)-c|0;c=W(e);fc(d,e,0,0,0,c+81|0);e=0+N[d+8>>2]|0;c=(N[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=N[d+4>>2];b=N[d>>2]}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=e;N[a+12>>2]=f;La=d+16|0}function ru(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=N[a+16>>2];d=P[a+2>>1];a:{if(d+(P[a+6>>1]<<8)>>>0>>0){break a}c=P[a>>1];f=P[a+4>>1];if(c+(f<<8)>>>0>b>>>0){break a}e=b&255;if(e>>>0>d>>>0|c>>>0>e>>>0){break a}g=P[N[a+12>>2]+((e-c|0)+T((d-c|0)+1|0,(b>>>8&65535)-f|0)<<1)>>1]}return g|0}function Tf(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=L[a|0];e=b&255;if(!e|!(O[(e>>>3|0)+45040|0]>>>(b&7)&1)){break a}while(1){c=65535;if((d&65535)>>>0>6551){break a}c=b+45072|0;b=L[a+1|0];a=a+1|0;d=O[c|0]+T(d,10)|0;c=d;if(O[((b&248)>>>3|0)+45040|0]>>>(b&7)&1){continue}break}}return c&65535}function lA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=N[a+12>>2];a:{if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+65|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function Sf(a,b){var c=0,d=0,e=0;e=La-16|0;La=e;N[e+12>>2]=b;c=La-144|0;La=c;B(c,584048,144);N[c+44>>2]=a;N[c+20>>2]=a;d=-2-a|0;d=d>>>0>=2147483647?2147483647:d;N[c+48>>2]=d;a=a+d|0;N[c+28>>2]=a;N[c+16>>2]=a;Sn(c,16764,b);if(d){a=N[c+20>>2];L[a-((a|0)==N[c+16>>2])|0]=0}La=c+144|0;La=e+16|0}function NA(a){a=a|0;var b=0,c=0;b=N[a+20>>2];if(!b){return 3}a:{b:{if(O[a+68|0]){a=N[a+12>>2];if((M[a+20>>1]+M[a+56>>1]|0)+1>>>0>Q[a+8>>2]){a=Sb(a,0,1);if(a){break a}}c=P[b>>1];a=c<<16>>16;if((a|0)<=0){break b}M[(N[b+12>>2]+(c<<1)|0)-2>>1]=P[b+2>>1]-1}a=P[b>>1]}M[b>>1]=a+1;a=0}return a|0}function iB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{if(!cb(b,16934)){b=N[c>>2];d=6;if(b-33>>>0<4294967265){break a}N[a+64>>2]=b;break b}if(!cb(b,12859)){L[a+68|0]=N[c>>2]!=0;return 0}if(!cb(b,7976)){L[a+69|0]=N[c>>2]!=0;return 0}d=12;if(cb(b,10583)){break a}L[a+70|0]=O[c|0]}d=0}return d|0}function Uz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=xe(N[b+92>>2],c);N[e>>2]=a;a:{if(!a){break a}a=on(b,a,d);N[e>>2]=a;if(!a){break a}N[f+28>>2]=a;b=0;a=rc(N[f>>2],f+8|0,c>>>0>752?N[f+32>>2]?f:0:0);b:{if(!a){break b}if(N[a>>2]>=0){b=a;break b}tb(a)}tb(b);g=1}return g|0}function Nq(a){a=a|0;var b=0,c=0;a=N[a+660>>2];if(N[a+20>>2]){if(N[a+8>>2]>0){while(1){b=N[a+20>>2]+T(c,56)|0;_a(N[b+28>>2]);_a(N[b+44>>2]);_a(N[b+48>>2]);_a(N[b+52>>2]);c=c+1|0;if((c|0)>2]){continue}break}}N[a+8>>2]=0}_a(N[N[a+88>>2]+20>>2]);a=N[a+88>>2];N[a+20>>2]=0;N[a+24>>2]=0}function Lt(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(O[a+292|0]?a+296|0:0)|0;case 2:return(P[a+372>>1]!=65535?a+372|0:0)|0;case 5:return a+476|0;case 1:return a+260|0;case 6:c=N[a+568>>2]?a+568|0:0;break;default:break a}}return c|0}function sh(a,b,c,d){var e=0,f=0,g=0;e=La-160|0;La=e;f=b?a:e+158|0;N[e+148>>2]=f;a=-1;g=b-1|0;N[e+152>>2]=b>>>0>=g>>>0?g:0;G(e,0,144);N[e+76>>2]=-1;N[e+36>>2]=199;N[e+80>>2]=-1;N[e+44>>2]=e+159;N[e+84>>2]=e+148;a:{if((b|0)<0){N[147316]=61;break a}L[f|0]=0;a=Ai(e,c,d)}La=e+160|0;return a}function vq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];a:{if(Qa[N[e+24>>2]](e,b,N[e+56>>2])>>>0<=31){e=N[a+12>>2];f=0;if(1<>2]](e,b,N[e+56>>2])&7168){break a}}a=N[a+12>>2];N[d>>2]=0;f=0;if(!b|!c){break a}f=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return f|0}function mz(a,b){a=a|0;b=b|0;var c=0;c=N[b+20>>2];if(c){_a(N[c-4>>2])}c=N[b+44>>2];if(c){_a(N[c-4>>2])}b=N[b+68>>2];if(b){_a(N[b-4>>2])}if(N[a+24>>2]){b=0;while(1){c=T(b,24);tb(N[c+N[a+28>>2]>>2]);tb(N[(c+N[a+28>>2]|0)+4>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[a+28>>2])}function Gq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;N[d+4>>2]=c;N[d>>2]=b;e=La-16|0;La=e;N[e+12>>2]=d;Sn(589104,25129,d);La=e+16|0;a=N[a+384>>2];N[a+860>>2]=b?b:1e4;a:{if(!c){b=67108864;c=134217728;break a}c=c<<20;b=(c>>>0)/3|0;c=c-b|0}N[a+868>>2]=b;N[a+864>>2]=c;La=d+16|0}function yt(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1886352244,b,0)|0;a:{if(c){break a}c=rb(b,178992,a+476|0);if(c){break a}c=154;a=N[a+476>>2];b:{if((a|0)<=151551){if((a|0)==65536|(a|0)==131072){break b}break a}if((a|0)==196608){break b}if((a|0)!=151552){break a}}c=0}return c|0}function ux(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[a+736>>2];a:{b:{if(f){if(b){N[b>>2]=N[f>>2]}if(c){N[c>>2]=N[f+4>>2]}if(d){N[d>>2]=N[N[a+736>>2]+8>>2]}if(!e){break a}a=N[N[a+736>>2]+12>>2];break b}if(b){N[b>>2]=0}if(c){N[c>>2]=0}a=0;if(!e){break a}}N[e>>2]=a}return 0}function pb(a){var b=0,c=0;c=N[a+12>>2];a:{if((c|0)==N[a+8>>2]){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=161;return 0}b=a;a=c-8|0;N[b+12>>2]=a;b:{switch(N[a+4>>2]-1|0){case 1:return N[a>>2]<<16;case 0:a=N[a>>2];return((a>>31)+a|0)- -8192>>14;default:break b}}b=N[a>>2]}return b}function yA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=Qa[N[a+20>>2]](P[N[a+16>>2]+(b<<1)>>1])|0;d=N[a+24>>2];if(!d){break a}e=N[a+28>>2];while(1){a=N[(c<<2)+e>>2];if(!(!a|O[a|0]!=O[b|0])){if(!cb(a,b)){break a}}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=0}return c|0}function uh(a){var b=0,c=0,d=0,e=0;b=go(a,61);if((b|0)==(a|0)){return 0}d=b-a|0;a:{if(O[d+a|0]){break a}b=N[147572];if(!b){break a}c=N[b>>2];if(!c){break a}while(1){b:{if(!bb(a,c,d)){c=c+d|0;if(O[c|0]==61){break b}}c=N[b+4>>2];b=b+4|0;if(c){continue}break a}break}e=c+1|0}return e}function sz(a,b){a=a|0;b=b|0;var c=0;a:{if(N[a>>2]!=N[b>>2]|N[a+4>>2]!=N[b+4>>2]|(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2])){break a}if(N[a+16>>2]!=N[b+16>>2]|N[a+20>>2]!=N[b+20>>2]|(N[a+24>>2]!=N[b+24>>2]|N[a+28>>2]!=N[b+28>>2])){break a}c=N[a+32>>2]==N[b+32>>2]}return c|0}function Ws(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[a+16>>2];c=P[a+8>>1];a=c+1|0;b=Qa[N[b+4>>2]](b,a)|0;if(!b){return 0}G(b,0,a);a=0;a:{if(!c){break a}while(1){e=L[d|0];if(!e){break a}L[a+b|0]=(e|0)<32?63:e;d=d+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}L[a+b|0]=0;return b|0}function rz(a,b){a=a|0;b=b|0;var c=0;if(a){c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;N[a+32>>2]=N[b+32>>2];c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;return 1}tb(N[b>>2]);return 1}function Gh(a){var b=0,c=0,d=0;b=N[a>>2];if(b){c=N[b+28>>2];d=N[a+32>>2];if(d){if(N[b+20>>2]){Qa[N[c+8>>2]](c,d)}N[a+32>>2]=0}b=N[a+28>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0;N[a+4>>2]=0;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0}}function xh(a,b){var c=0,d=0,e=0,f=0;c=b&-4;if(c){while(1){e=(O[(d|3)+a|0]|(O[(d|1)+a|0]<<16|O[a+d|0]<<24|O[(d|2)+a|0]<<8))+e|0;d=d+4|0;if(d>>>0>>0){continue}break}}if((b|0)!=(c|0)){while(1){f=O[a+c|0]<<((c^-1)<<3)|f;c=c+1|0;if(c>>>0>>0){continue}break}e=e+f|0}return e}function xj(a,b){var c=0,d=0,e=0;c=N[a>>2];a:{if((c|0)<0){break a}d=1;if(b>>>0<=c>>>0){break a}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=b>>>0){continue}break}b=-1;d=0;b:{if(c>>>0>1073741823){break b}e=$a(N[a+8>>2],c<<2);if(!e){break b}N[a+8>>2]=e;d=1;b=c}N[a>>2]=b}return d}function kA(a){a=a|0;var b=0,c=0;b=N[a+20>>2];a:{b:{if(O[a+65|0]){a=N[a+12>>2];if((M[a+20>>1]+M[a+56>>1]|0)+1>>>0>Q[a+8>>2]){a=Sb(a,0,1);if(a){break a}}c=P[b>>1];a=c<<16>>16;if((a|0)<=0){break b}M[(N[b+12>>2]+(c<<1)|0)-2>>1]=P[b+2>>1]-1}a=P[b>>1]}M[b>>1]=a+1;a=0}return a|0}function qc(a,b,c,d){var e=0,f=0,g=0;a:{e=N[b>>2];if((e|0)>7){break a}b:{if(c>>>0>=d>>>0){break b}while(1){f=d-1|0;g=O[f|0];if((g|0)!=32&(g|0)!=9){break b}d=f;if(d>>>0>c>>>0){continue}break}d=c}if(c>>>0>=d>>>0){break a}a=(e<<3)+a|0;N[a+4>>2]=d;N[a>>2]=c;N[b>>2]=N[b>>2]+1}}function gd(a,b,c){var d=0,e=0,f=0,g=0;e=nb(b)+nb(c)|0;d=e+1|0;a:{b:{if(e>>>0<=2147483646){a=Qa[N[a+4>>2]](a,d)|0;if(a){break b}return 0}a=0;if(d){break a}}d=hi(b,47);c:{if(d){e=b;b=(d-b|0)+1|0;f=fg(a,e,b)+b|0,g=0,L[f|0]=g;b=d+1|0;break c}L[a|0]=0}a=wn(wn(a,c),b)}return a}function Nx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;b=N[a+24>>2];f=N[b+20>>2];a:{b:{if(f){e=85;if(!(Qa[f|0](b,c,0,0)|0)){break b}break a}e=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=c;e=Bb(b,d);if(e){break a}N[a+196>>2]=N[b+32>>2];N[a+200>>2]=N[b+36>>2];e=0}return e|0}function ho(a){var b=0,c=0,d=0;b=N[a+40>>2];c=Qa[b|0](a,0,0,O[a|0]&128?N[a+20>>2]==N[a+28>>2]?1:2:1)|0;b=Pa;a:{if((b|0)<0){break a}d=N[a+8>>2];if(d){a=a+4|0}else{d=N[a+28>>2];if(!d){break a}a=a+20|0}a=N[a>>2]-d|0;c=a+c|0;b=(a>>31)+b|0;b=a>>>0>c>>>0?b+1|0:b}Pa=b;return c}function te(a,b,c){var d=0,e=0,f=0;a:{if(!b){d=a;break a}while(1){d=VE(a,b,10,0);e=Pa;a=TE(d,e,246,0)+a|0;c=c-1|0;L[c|0]=a|48;f=b>>>0>9;a=d;b=e;if(f){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;L[c|0]=T(a,246)+d|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function Pu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=N[a+420>>2];if((d|0)>0){g=N[a+424>>2];h=O[b|0];while(1){a:{e=c<<2;f=N[e+g>>2];if(O[f|0]!=(h|0)){break a}if(cb(b,f)){break a}return Kb(N[N[a+428>>2]+e>>2],0)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function cf(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+-2.5050760253406863e-8)+(d*(d*27557313707070068e-22+-.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+-.16666666666666632)+a}return a-(d*(b*.5-f*e)-b+e*.16666666666666632)}function ti(a){var b=0,c=0,d=0;while(1){c=a;a=a+1|0;b=L[c|0];if((b|0)==32|b-9>>>0<5){continue}break}d=1;a:{switch(b-43|0){case 2:d=0;case 0:c=a;break;default:break a}}a=0;while(1){b=L[c|0];if(b-48>>>0<10){c=c+1|0;a=(T(a,10)-b|0)+48|0;continue}break}return d?0-a|0:a}function qB(a,b){a=a|0;b=b|0;var c=0,d=0;c=6;a:{if(!a){break a}d=N[b>>2];if(!d){break a}c=Qa[N[d+4>>2]](d,16)|0;if(!c){return!c<<6}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[a+4>>2];N[c>>2]=N[a>>2];N[c+4>>2]=d;N[c+12>>2]=N[b+4>>2];N[b+4>>2]=c;c=0}return c|0}function kv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(!N[c+80>>2]){e=b-a|0;b=e+1|0;b:{if(e>>>0<=2147483646){d=N[c>>2];b=Qa[N[d+4>>2]](d,b)|0;if(b){break b}d=64;break a}d=6;if(b){break a}b=0}N[c+80>>2]=b;B(b,a,e);L[N[c+80>>2]+e|0]=0}return 0}N[c+80>>2]=0;return d|0}function qw(a){a=a|0;var b=0,c=0,d=0;c=N[a+16>>2];b=161;a:{if(Q[a+20>>2]>>0){break a}d=N[a+32>>2];c=Lc(a,N[c>>2]);b=3;if(c-17>>>0<4294967281){break a}M[d+176>>1]=c;b=d;d=(N[a+20>>2]-N[a+16>>2]>>>2|0)-4|0;M[b+178>>1]=d;M[a+38>>1]=d;M[a+36>>1]=c;b=0}return b|0}function wB(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+16>>2];N[a+32>>2]=b;d=N[a+20>>2];N[a+36>>2]=d;c=N[a+8>>2];e=c+N[a>>2]|0;N[a+8>>2]=e>>1;b=b+c|0;N[a+24>>2]=b>>1;N[a+16>>2]=b+e>>2;b=N[a+12>>2];c=b+N[a+4>>2]|0;N[a+12>>2]=c>>1;b=b+d|0;N[a+28>>2]=b>>1;N[a+20>>2]=b+c>>2}function Xe(a){var b=0,c=0,d=0;a:{if(!a){break a}b=L[a|0];d=b&255;if(!d|!(O[(d>>>3|0)+45040|0]>>>(b&7)&1)){break a}while(1){if(c>>>0>429496727){return-1}c=O[b+45072|0]+T(c,10)|0;b=L[a+1|0];a=a+1|0;if(O[((b&248)>>>3|0)+45040|0]>>>(b&7)&1){continue}break}}return c}function hE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){L[b+140|0]=a|64;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),L[e+18|0]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}ba(22778,14165,169,12138);F()}function Yx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[((c<<2)+a|0)+268>>2];e=N[a+508>>2];c=N[a+512>>2];a=N[a+516>>2];if((b|0)>=0){a=((a+d|0)-c|0)+b|0;a=c+(a-((a|0)%(e|0)|0)|0)|0;return((a|0)<0?c:a)|0}a=a+d-(b+c)|0;a=(a|0)%(e|0)-(a+c)|0;return((a|0)>0?0-c|0:a)|0}function ne(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;a:{if(!b){b=0;break a}d=b;b=W(b);fc(c,d,0,0,0,b+81|0);d=0+N[c+8>>2]|0;b=(N[c+12>>2]^65536)+(16414-b<<16)|0;f=e>>>0>d>>>0?b+1|0:b;e=N[c+4>>2];b=N[c>>2]}N[a>>2]=b;N[a+4>>2]=e;N[a+8>>2]=d;N[a+12>>2]=f;La=c+16|0}function KC(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;a=0;g=N[b+12>>2];a:{if(uc(g,c,N[b>>2])){break a}b=N[g+84>>2];if(N[b+72>>2]!=1869968492|M[b+110>>1]>>>0<=d>>>0){break a}a=N[b+112>>2]+(d<<3)|0;N[e>>2]=N[a>>2];N[f>>2]=N[a+4>>2];a=1}return a|0}function Hw(a,b){a=a|0;b=b|0;var c=0;a=N[a+712>>2];b=P[N[a+1188>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[a+1356>>2]){break a}return N[N[a+1360>>2]+(b<<2)>>2]}a=N[a+3084>>2];if(!a){break a}c=Qa[N[a+20>>2]](b)|0}return c|0}function vv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=N[a>>2];c=N[b+408>>2];N[a+16>>2]=c;d=N[b+416>>2];N[a+20>>2]=d;a:{if(c>>>0<2){break a}b=N[d>>2];a=1;while(1){e=b;b=N[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function gv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[a+88>>2];if(b){N[b>>2]=N[a+300>>2]}if(c){N[c>>2]=N[a+304>>2]}a:{if(!f){c=65536;a=65536;break a}a=N[a+304>>2];c=fb(P[f+12>>1]<<6,a);a=fb(P[f+14>>1]<<6,a)}if(d){N[d>>2]=c}if(e){N[e>>2]=a}return 0}function ev(a){a=a|0;var b=0,c=0,d=0,e=0;d=11;b=N[a+4>>2];a:{if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[N[b>>2]>>2];if(cb(N[e+8>>2],15504)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}N[a+28>>2]=e;d=0}return d|0}function St(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=La-16|0;La=e;a=Pf(a,b,e+12|0);if(!a){a:{if(d>>>0<2){break a}b=N[e+12>>2];while(1){f=O[b|0];if(!f){break a}L[c|0]=f;c=c+1|0;b=b+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0}La=e+16|0;return a|0}function Mh(a,b,c,d){var e=0,f=0,g=0;f=N[147443]+1|0;N[147443]=f;N[a>>2]=f;if(d){while(1){e=(g<<3)+c|0;if(!N[e>>2]){N[e>>2]=f;N[e+4>>2]=b;N[e+8>>2]=0;Ma=d;return c}g=g+1|0;if((g|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=Mh(e,b,$a(c,d<<4|8),a);Ma=a;return b}function Eh(a){var b=0,c=0,d=0;c=La-16|0;La=c;L[c+15|0]=10;b=N[a+16>>2];a:{if(!b){if(Ih(a)){break a}b=N[a+16>>2]}d=b;b=N[a+20>>2];if(!((d|0)==(b|0)|N[a+80>>2]==10)){N[a+20>>2]=b+1;L[b|0]=10;break a}if((Qa[N[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}La=c+16|0}function ni(a){var b=0,c=0;b=N[a+72>>2];N[a+72>>2]=b-1|b;if(N[a+20>>2]!=N[a+28>>2]){Qa[N[a+36>>2]](a,0,0)|0}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;b=N[a>>2];if(b&4){N[a>>2]=b|32;return-1}c=N[a+44>>2]+N[a+48>>2]|0;N[a+8>>2]=c;N[a+4>>2]=c;return b<<27>>31}function Vt(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=179264;b:{if(!cb(16067,b)){break b}c=179272;if(!cb(15866,b)){break b}c=179280;if(!cb(9592,b)){break b}c=179288;if(!cb(15278,b)){break b}if(cb(10557,b)){break a}c=179296}a=N[c+4>>2]}return a|0}function Ct(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{if(c){c=Qa[N[a+516>>2]](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=Qa[N[a+516>>2]](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=rb(b,178592,a);if(c){break a}N[a+36>>2]=0;N[a+40>>2]=0;c=0}return c|0}function Dz(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;N[a+16>>2]=N[b+16>>2];c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;d=N[b>>2];c=N[b+4>>2];b=kb(c+1|0);if(b){B(b,d,c);L[b+c|0]=0}N[a>>2]=b;return(b|0)!=0|0}function bd(a,b,c){var d=0,e=0,f=0,g=0;N[a+112>>2]=b;N[a+116>>2]=c;e=N[a+4>>2];d=N[a+44>>2]-e|0;N[a+120>>2]=d;N[a+124>>2]=d>>31;d=N[a+8>>2];a:{if(!(b|c)){break a}f=d-e|0;g=f>>31;if((c|0)>=(g|0)&b>>>0>=f>>>0|(c|0)>(g|0)){break a}d=b+e|0}N[a+104>>2]=d}function sA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=N[b>>2]+1|0;d=N[a+16>>2];c=c>>>0>d>>>0?c:d;d=d+N[a+20>>2]|0;a:{if(c>>>0>>0){e=N[a+24>>2];while(1){a=P[(c<<1)+e>>1];if(a){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=0;c=0}N[b>>2]=c;return a|0}function Dl(){var a=0,b=0,c=0,d=0,e=0;b=uh(19476);a=2;a:{if(!b){break a}a=2;if(!O[b|0]){break a}while(1){c=jc(b,58);if(!c){c=nb(b)+b|0}e=a|4;d=a;a=c-b|0;a=bb(b,16042,a)?d:(a|0)==24?e:d;b=(O[c|0]!=0)+c|0;if(O[b|0]){continue}break}a=a&255}N[147450]=a}function qb(a,b){var c=0,d=0,e=0;c=a>>31;d=(c^a)-c|0;c=b>>31;c=(c^b)-c|0;a:{if(d+(c>>>8|0)>>>0<=8190){c=T(c,d)+32768>>>16|0;break a}e=d&65535;c=T(e,c>>>16|0)+T(c,d>>>16|0)+(T(c&65535,e)+32768>>>16)|0}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-c|0:c}function Nv(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=34576;b:{if(!cb(9676,b)){break b}c=34584;if(!cb(15866,b)){break b}c=34592;if(!cb(12514,b)){break b}c=34600;if(!cb(20421,b)){break b}if(cb(11276,b)){break a}c=34608}a=N[c+4>>2]}return a|0}function Ud(a,b){var c=0,d=0,e=0;A(+a);d=v(1)|0;e=v(0)|0;c=d>>>20&2047;if((c|0)!=2047){if(!c){if(a==0){c=0}else{a=Ud(a*0x10000000000000000,b);c=N[b>>2]+-64|0}N[b>>2]=c;return a}N[b>>2]=c-1022;x(0,e|0);x(1,d&-2146435073|1071644672);a=+z()}return a}function iy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=M[a+302>>1];if(e){f=N[b+12>>2]+(c<<3)|0;g=f,h=jb(d,e,N[a+596>>2])+N[f>>2]|0,N[g>>2]=h}e=M[a+304>>1];if(e){b=N[b+12>>2]+(c<<3)|0;g=b,h=jb(d,e,N[a+596>>2])+N[b+4>>2]|0,N[g+4>>2]=h}}function mc(a){var b=0,c=0;c=N[a+12>>2];a:{if((c|0)==N[a+8>>2]){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=161;return 0}if(N[c-4>>2]!=2){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=160;return 0}b=a;a=c-8|0;N[b+12>>2]=a;b=N[a>>2]}return b}function Qm(a,b){var c=0,d=0,e=0,f=0;c=b>>>20&2047;e=0;a:{if(c>>>0<1023){break a}e=2;if(c>>>0>1075){break a}c=1075-c|0;d=c&31;if((c&63)>>>0>=32){c=1<>>32-d;d=f}f=d-1|0;e=0;if(a&f|b&c-!d){break a}e=a&d|b&c?1:2}return e}function vw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=La-16|0;La=e;f=N[N[a+128>>2]+52>>2];a:{if(f){a=Qa[N[N[f>>2]>>2]](N[f+4>>2],b,e+8|0)|0;N[c>>2]=N[e+8>>2];N[d>>2]=N[e+12>>2];break a}a=Xf(N[a+712>>2]+1204|0,b,c,d)}La=e+16|0;return a|0}function ov(a){a=a|0;var b=0,c=0;c=N[N[a+188>>2]>>2];b=N[a+168>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+172>>2]=0;N[a+164>>2]=0;N[a+168>>2]=0;b=N[a+184>>2];if(b){Qa[N[c+8>>2]](c,b)}L[a+192|0]=0;N[a+184>>2]=0;N[a+188>>2]=0;N[a+176>>2]=0;N[a+180>>2]=0}function bf(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+-.001388888888887411)+.0416666666666666)+d*d*(c*(c*-11359647557788195e-27+2.087572321298175e-9)+-2.7557314351390663e-7))-a*b))}function _C(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;return 0}function yv(a,b){a=a|0;b=b|0;var c=0;c=N[a+192>>2];N[b+24>>2]=N[a+188>>2];N[b+28>>2]=c;c=N[a+184>>2];N[b+16>>2]=N[a+180>>2];N[b+20>>2]=c;c=N[a+176>>2];N[b+8>>2]=N[a+172>>2];N[b+12>>2]=c;c=N[a+168>>2];N[b>>2]=N[a+164>>2];N[b+4>>2]=c;return 0}function bv(a,b){a=a|0;b=b|0;var c=0;c=La-32|0;La=c;Qa[N[a>>2]](c+8|0,b);a=eb(24);b=N[c+28>>2];N[a+16>>2]=N[c+24>>2];N[a+20>>2]=b;b=N[c+20>>2];N[a+8>>2]=N[c+16>>2];N[a+12>>2]=b;b=N[c+12>>2];N[a>>2]=N[c+8>>2];N[a+4>>2]=b;La=c+32|0;return a|0}function Mm(a,b){a=a|0;b=b|0;var c=0;c=N[a+136>>2];N[b>>2]=N[a+132>>2];N[b+4>>2]=c;c=N[a+160>>2];N[b+24>>2]=N[a+156>>2];N[b+28>>2]=c;c=N[a+152>>2];N[b+16>>2]=N[a+148>>2];N[b+20>>2]=c;c=N[a+144>>2];N[b+8>>2]=N[a+140>>2];N[b+12>>2]=c;return 0}function Xx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[((c<<2)+a|0)+268>>2];c=N[a+512>>2];e=N[a+516>>2];if((b|0)>=0){a=c+(((b+d|0)+e|0)-c&0-N[a+508>>2])|0;return((a|0)<0?c:a)|0}a=0-(c+(d+e-(b+c)&0-N[a+508>>2])|0)|0;return((a|0)>0?0-c|0:a)|0}function $r(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[b>>2];a:{if(c>>>0>65534){break a}if(L[a+20|0]&1){return Il(N[a>>2],N[a+16>>2],b,1)|0}if((c|0)==N[a+24>>2]){Gl(a);c=N[a+28>>2];if(!c){break a}N[b>>2]=N[a+24>>2];return c|0}d=Hl(a,b,1)}return d|0}function iz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=N[a+28>>2];d=N[a+20>>2];b=N[b+28>>2];e=N[b+20>>2];c=-1;a:{if((d|0)<(e|0)){break a}c=1;if((d|0)>(e|0)){break a}a=N[a+16>>2];b=N[b+16>>2];c=-1;if((a|0)<(b|0)){break a}c=(a|0)>(b|0)}return c|0}function XB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(N[a+4>>2]){break a}e=c;g=a+52|0;f=N[g>>2];c=N[a+16>>2];if((e|0)!=(f+c|0)){break a}e=N[a>>2];c=Bg(a+16|0,d,f,c,b,e);if(!c){c=Bg(g,d,0,f,b,e);if(!c){break a}}N[a+4>>2]=c}}function PA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+20>>2];if(O[a+68|0]){a=N[e+8>>2];f=M[e+2>>1];g=N[e+4>>2]+(f<<3)|0;N[g+4>>2]=((c>>31)+c|0)+32768>>16;N[g>>2]=((b>>31)+b|0)+32768>>16;L[a+f|0]=d?1:2}M[e+2>>1]=P[e+2>>1]+1}function Kt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;a:{if(!d|!e){break a}g=P[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=N[a+156>>2]+(b<<4)|0;N[c>>2]=N[a>>2];N[d>>2]=N[a+8>>2];g=N[a+12>>2]}N[e>>2]=g;f=0}return f|0}function Lz(a){a=a|0;var b=0,c=0,d=0,e=0;c=La-32|0;La=c;a=N[a+4>>2];a:{if(!a){break a}b=N[a+96>>2];d=N[N[b>>2]+32>>2];if(!d){break a}b=Qa[d|0](b,12514)|0;if(!b){break a}b=N[b>>2];if(!b){break a}e=!(Qa[b|0](a,c)|0)}La=c+32|0;return e|0}function uv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[a+16>>2];if(c){f=N[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=N[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;a=d?e+1|0:a;c=d?c:e;if(a>>>0>>0){continue}break}}return 0}function aB(a){a=a|0;var b=0,c=0;if(N[a+12>>2]==-559038737){c=N[a+32>>2];b=N[a>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+28>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+12>>2]=0;N[a+28>>2]=0}}function im(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=La-16|0;La=c;e=c+4|0;Qa[N[a>>2]](e,b);b=O[c+15|0];f=b<<24>>24;a=(f|0)<0;b=a?N[c+8>>2]:b;d=kb(b+4|0);N[d>>2]=b;g=N[c+4>>2];B(d+4|0,a?g:e,b);if((f|0)<0){_a(g)}La=c+16|0;return d|0}function Tt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=yh(a,18649,d);a:{if(e){break a}e=yh(a,19963,d+8|0);if(e){break a}e=6;if(N[d>>2]!=1|N[d+8>>2]!=1){break a}N[b>>2]=N[d+12>>2];N[c>>2]=N[d+4>>2];e=0}La=d+16|0;return e|0}function qg(a,b,c){var d=0;c=(1-c)*+O[a|0]+ +(b>>>0)*c;A(+c);b=v(1)|0;d=v(0)|0;b=b&2147483647;d=(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072;if(V(c)<2147483648){b=~~c}else{b=-2147483648}L[a|0]=c>=2147483648?0:c<=-2147483648?0:d?0:b}function os(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[b+44>>2];c=nb(d);if(c>>>0<2147483632){a:{if(c>>>0<=10){L[a+11|0]=c;break a}e=(c|15)+1|0;b=eb(e);N[a+8>>2]=e|-2147483648;N[a>>2]=b;N[a+4>>2]=c;a=b}B(a,d,c);L[a+c|0]=0;return}fa();F()}function mv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;qm(a,b,c,d);b=N[a+300>>2];a=N[a+304>>2];a:{if((b|0)==(a|0)){break a}c=N[d>>2];if(c){e=d,f=jb(c,b,a),N[e>>2]=f}c=N[d+4>>2];if(!c){break a}e=d,f=jb(c,b,a),N[e+4>>2]=f}return 0}function fy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{switch(N[N[N[a>>2]+96>>2]+64>>2]-35|0){case 5:if(O[a+643|0]){break a}break;case 0:break b;default:break a}}a=N[b+16>>2]+(c<<3)|0;N[a>>2]=N[a>>2]+d}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|8}function Yr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[b+48>>2];c=nb(d);if(c>>>0<2147483632){a:{if(c>>>0<=10){L[a+11|0]=c;break a}e=(c|15)+1|0;b=eb(e);N[a+8>>2]=e|-2147483648;N[a>>2]=b;N[a+4>>2]=c;a=b}B(a,d,c);L[a+c|0]=0;return}fa();F()}function Fs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[b+28>>2];c=nb(d);if(c>>>0<2147483632){a:{if(c>>>0<=10){L[a+11|0]=c;break a}e=(c|15)+1|0;b=eb(e);N[a+8>>2]=e|-2147483648;N[a>>2]=b;N[a+4>>2]=c;a=b}B(a,d,c);L[a+c|0]=0;return}fa();F()}function ju(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[b+4>>2];c=nb(d);if(c>>>0<2147483632){a:{if(c>>>0<=10){L[a+11|0]=c;break a}e=(c|15)+1|0;b=eb(e);N[a+8>>2]=e|-2147483648;N[a>>2]=b;N[a+4>>2]=c;a=b}B(a,d,c);L[a+c|0]=0;return}fa();F()}function rw(a){a=a|0;var b=0,c=0,d=0,e=0;b=161;c=N[a+16>>2];a:{if(Q[a+20>>2]>>0){break a}d=N[a+32>>2];b=3;e=Lc(a,N[c>>2]);if((e|0)<0){break a}N[d+120>>2]=e;a=Lc(a,N[c+4>>2]);if((a|0)<0){break a}N[d+116>>2]=a;b=0}return b|0}function hB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!cb(b,16934)){a=N[a+64>>2];break b}if(!cb(b,12859)){a=O[a+68|0];break b}if(!cb(b,7976)){a=O[a+69|0];break b}d=12;if(cb(b,10583)){break a}a=O[a+70|0]}N[c>>2]=a;d=0}return d|0}function aA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=N[a>>2];d=a&2147483647;b=N[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function YB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(N[a+4>>2]){break a}d=N[a+16>>2];e=a+52|0;f=N[e>>2];if((d+f|0)!=(b|0)){break a}g=N[a>>2];b=Bg(a+16|0,c,0,d,0,g);if(!b){b=Bg(e,c,d,f,0,g);if(!b){break a}}N[a+4>>2]=b}}function Iu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[b>>2];c=nb(d);if(c>>>0<2147483632){a:{if(c>>>0<=10){L[a+11|0]=c;break a}e=(c|15)+1|0;b=eb(e);N[a+8>>2]=e|-2147483648;N[a>>2]=b;N[a+4>>2]=c;a=b}B(a,d,c);L[a+c|0]=0;return}fa();F()}function Yb(a,b,c){var d=0,e=0,f=0;d=N[a+8>>2];f=N[a+4>>2];if(d>>>0>>0){e=N[a+20>>2];a:{if(e){b=Qa[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>>0?b:c;B(e,N[a>>2]+d|0,b)}N[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function nD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];if(e){L[d|0]=0}g=N[a+96>>2];b=N[g+80>>2];f=N[a+100>>2];g=N[g+12>>2];if(!g){return Qa[b|0](a,f,c,d,e,0)|0}return Qa[b|0](a,f,c,d,e,N[g+60>>2])|0}function mD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];N[e>>2]=0;if((d|0)==-1){d=nb(c)}b=N[a+96>>2];f=N[b+84>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+64>>2]}else{b=0}return Qa[f|0](a,g,c,d,e,b)|0}function pw(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+16>>2];if(Q[a+20>>2]>=b+12>>>0){c=N[a+32>>2];d=c,e=Lc(a,N[b>>2]),N[d+132>>2]=e;d=c,e=Lc(a,N[b+4>>2]),N[d+136>>2]=e;d=c,e=Lc(a,N[b+8>>2]),N[d+140>>2]=e;a=0}else{a=161}return a|0}function UE(a,b,c,d){var e=0,f=0,g=0,h=0;f=b^d;g=f>>31;e=b>>31;a=a^e;h=a-e|0;e=(b^e)-((a>>>0>>0)+e|0)|0;a=d>>31;b=c^a;f=f>>31;a=VE(h,e,b-a|0,(a^d)-((a>>>0>b>>>0)+a|0)|0)^f;b=a-f|0;Pa=(g^Pa)-((a>>>0>>0)+g|0)|0;return b}function ar(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{a=N[a+384>>2];if(!(N[a- -64>>2]!=(d|0)|N[a+68>>2]!=(e|0)|N[a+56>>2]!=(b|0))){if(N[a+60>>2]==(c|0)){break a}}N[a+64>>2]=d;N[a+68>>2]=e;N[a+60>>2]=c;N[a+56>>2]=b;wg(a)}}function bC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(N[a+4>>2]){break a}d=(T((b|0)!=0,36)+a|0)+16|0;b=N[c>>2];e=((b>>31)+b|0)+32768>>16;b=N[c+4>>2];b=of(d,e,((b>>31)+b|0)+32768>>16,N[a>>2],0);if(!b){break a}N[a+4>>2]=b}}function Nz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;a=0;a:{if(uc(b,c,2560)){break a}b=N[b+84>>2];if(M[b+110>>1]>>>0<=d>>>0){break a}a=N[b+112>>2]+(d<<3)|0;N[e>>2]=N[a>>2];N[f>>2]=N[a+4>>2];a=1}return a|0}function Oz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[e+28>>2]=c;c=0;a=rc(N[e>>2],e+8|0,0);if(a){b=N[a>>2];if((b|0)>=0){N[d>>2]=N[a+8>>2];c=N[a+12>>2];N[d+8>>2]=b;N[d+4>>2]=c;N[d+12>>2]=0-N[a+4>>2];c=1}tb(a)}return c|0}function Mz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[N[a>>2]+12>>2];f=N[a+8>>2];a=N[(e+T(f,12)|0)+8>>2];if(!b){return a|0}if(a>>>0>c>>>0){a=a-c|0;g=a>>>0>>0?a:d;B(b,N[(T(f,12)+e|0)+4>>2]+c|0,g)}return g|0}function kD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=f|0;var g=0;a=N[b>>2];f=N[a+12>>2];g=N[b+4>>2];d=U(U(R[b+8>>2]*d)+U(R[b+16>>2]*e));e=U(R[b+12>>2]*e);b=N[a+32>>2];if(b){b=N[b>>2]}else{b=0}Qa[f|0](a,g,c,d,e,b)}function TE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=T(e,f);g=c&65535;h=a&65535;i=T(g,h);f=(i>>>16|0)+T(f,g)|0;e=(f&65535)+T(e,h)|0;Pa=(T(b,c)+j|0)+T(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function Fp(a,b){a=a|0;b=b|0;var c=0;c=N[b+4>>2];N[a+4>>2]=N[b>>2];N[a+8>>2]=c;N[a+28>>2]=N[b+24>>2];c=N[b+20>>2];N[a+20>>2]=N[b+16>>2];N[a+24>>2]=c;c=N[b+12>>2];N[a+12>>2]=N[b+8>>2];N[a+16>>2]=c;Ep(a,b,0);Ep(a,b,1)}function dv(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=36800;b:{if(!cb(9592,b)){break b}c=36808;if(!cb(15866,b)){break b}c=36816;if(!cb(12514,b)){break b}if(cb(9676,b)){break a}c=36824}a=N[c+4>>2]}return a|0}function bb(a,b,c){var d=0,e=0;if(!c){return 0}d=O[a|0];if(d){a:{while(1){e=O[b|0];if((e|0)!=(d|0)|!e){break a}c=c-1|0;if(!c){break a}b=b+1|0;d=O[a+1|0];a=a+1|0;if(d){continue}break}d=0}}else{d=0}return d-O[b|0]|0}function Qt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=La-16|0;La=d;e=N[a+16>>2];a:{if((e|0)>0){while(1){if(!Pf(a,c,d+12|0)){if(!cb(b,N[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}La=d+16|0;return c|0}function hc(a,b,c,d,e){var f=0;f=La-256|0;La=f;if(!(e&73728|(c|0)<=(d|0))){d=c-d|0;c=d>>>0<256;G(f,(b&255)<<24>>24,c?d:256);if(!c){while(1){_b(a,f,256);d=d-256|0;if(d>>>0>255){continue}break}}_b(a,f,d)}La=f+256|0}function dy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break a}}a=N[b+16>>2]+(c<<3)|0;N[a+4>>2]=N[a+4>>2]+d}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|16}function Yh(a,b,c,d){var e=0,f=0;f=N[a+4>>2];if(f>>>0>b>>>0){e=N[a+20>>2];a:{if(e){c=Qa[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>>0?c:d;B(e,N[a>>2]+b|0,c)}N[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function Bx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(cb(b,12798)){break a}e=7;b:{c:{if(d){b=Kb(c,0);break c}b=N[c>>2]}switch(b-35|0){case 0:case 5:break b;default:break a}}N[a+64>>2]=b;e=0}return e|0}function mt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=Qa[N[a+516>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){N[(c?756:752)+a>>2]=N[d+12>>2];N[(c?856:852)+a>>2]=N[b+8>>2]}La=d+16|0;return e|0}function On(a,b,c){var d=0;d=N[a+16>>2];if(!d){N[a+36>>2]=1;N[a+24>>2]=c;N[a+16>>2]=b;return}a:{if((b|0)==(d|0)){if(N[a+24>>2]!=2){break a}N[a+24>>2]=c;return}L[a+54|0]=1;N[a+24>>2]=2;N[a+36>>2]=N[a+36>>2]+1}}function et(a){a=a|0;var b=0,c=0,d=0;b=N[a+868>>2];if(b){c=N[a+100>>2];a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}d=N[b+12>>2];if(!d){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,d)}N[b+12>>2]=0;Qa[N[c+8>>2]](c,b)}}function dt(a){a=a|0;var b=0,c=0,d=0;b=N[a+872>>2];if(b){c=N[a+100>>2];a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}d=N[b+36>>2];if(!d){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,d)}N[b+36>>2]=0;Qa[N[c+8>>2]](c,b)}}function Jm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d>>>0<2){break a}b=N[N[a+424>>2]+(b<<2)>>2];while(1){a=O[b|0];if(!a){break a}L[c|0]=a;c=c+1|0;b=b+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0;return 0}function Ab(a,b,c,d){var e=0,f=0;a:{if(b-a>>>0>>0){break a}while(1){a=ub(a,c);e=(a|0)!=0&a>>>0>>0;if(!e){break a}a=a+d|0;f=O[a|0];if((f-48&255)>>>0<10|((f&-33)-65&255)>>>0<26){continue}break}}return e}function qy(a){a=a|0;var b=0,c=0;b=P[a+256>>1];c=cg(a);a=c>>31;a=(a^c)-a|0;a:{if((a>>>8|0)+b>>>0<=8190){a=T(a,b)+32768>>>16|0;break a}a=T(a>>>16|0,b)+(T(a&65535,b)+32768>>>16|0)|0}return((c|0)<0?0-a|0:a)|0}function rj(a){var b=0;a:{b=a;a=nb(a);if((((ud(b,1,a,589104)|0)!=(a|0)?-1:0)|0)<0){break a}b:{if(N[147296]==10){break b}a=N[147281];if((a|0)==N[147280]){break b}N[147281]=a+1;L[a|0]=10;break a}Eh(589104)}}function Nc(a,b,c){var d=0,e=0,f=0;if(!b){N[c>>2]=0;return 0}e=c;c=nb(b);d=c+1|0;f=!d;a:{if(c>>>0<=2147483646){c=Qa[N[a+4>>2]](a,d)|0;a=!c<<6;break a}c=0;a=d?6:0}if(!(f|a)){B(c,b,d);a=0}N[e>>2]=a;return c}function $u(a){a=a|0;var b=0,c=0,d=0;b=La-16|0;La=b;d=Bn(N[N[a>>2]+504>>2],b+12|0);c=N[b+12>>2];if(!d){N[a+44>>2]=c}a:{if(!c){break a}a=N[c>>2];if(!a|!N[a+96>>2]){break a}N[a+88>>2]=c}La=b+16|0;return d|0}function Zf(a,b){var c=0;a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[a+1356>>2]){break a}return N[N[a+1360>>2]+(b<<2)>>2]}a=N[a+3084>>2];if(!a){break a}c=Qa[N[a+20>>2]](b)|0}return c}function zD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];N[e>>2]=0;b=N[a+96>>2];f=N[b+36>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+16>>2]}else{b=0}return Qa[f|0](a,g,c,d,e,b)|0}function rx(a,b){a=a|0;b=b|0;var c=0,d=0;c=La-16|0;La=c;d=b;b=c+8|0;d=Ze(a,d,b,c+7|0);a:{if(d){break a}a=N[N[N[a+4>>2]+128>>2]+52>>2];if(!a){break a}Qa[N[N[a>>2]+4>>2]](N[a+4>>2],b)}La=c+16|0;return d|0}function Qz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[f+28>>2]=c;c=0;a=rc(N[f>>2],f+8|0,0);if(a){if(N[a>>2]>=0){N[d>>2]=N[a+8>>2]-N[a+20>>2];N[e>>2]=N[a+24>>2]+N[a+12>>2];c=1}tb(a)}return c|0}function mA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+20>>2];if(O[a+65|0]){a=N[e+8>>2];f=M[e+2>>1];g=N[e+4>>2]+(f<<3)|0;N[g+4>>2]=c>>10;N[g>>2]=b>>10;L[a+f|0]=d?1:2}M[e+2>>1]=P[e+2>>1]+1}function as(a,b){a=a|0;b=b|0;var c=0,d=0;c=La-16|0;La=c;N[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(L[a+20|0]&1){d=Il(N[a>>2],N[a+16>>2],c+12|0,0);break a}d=Hl(a,c+12|0,0)}a=d;La=c+16|0;return a|0}function Un(a){var b=0,c=0,d=0;d=N[a>>2];while(1){c=L[d|0];if(c-48>>>0<10){d=d+1|0;N[a>>2]=d;if(b>>>0<=214748364){c=c-48|0;b=T(b,10);b=(c|0)>(b^2147483647)?-1:c+b|0}else{b=-1}continue}break}return b}function Ez(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+4>>2];a:{if((c|0)!=N[b+4>>2]){break a}if(Mb(N[a>>2],N[b>>2],c)|N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2]){break a}d=N[a+16>>2]==N[b+16>>2]}return d|0}function gw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=N[a+712>>2];a:{b:{if(!a){break b}d=6;if(N[a+1504>>2]==65535|Q[a+20>>2]<=b>>>0){break a}if(!c){break b}N[c>>2]=P[N[a+1188>>2]+(b<<1)>>1]}d=0}return d|0}function Eo(a,b){var c=0,d=0;c=a-1|0;if(!(c&a)){a:{if(-5-a>>>0<=b>>>0){break a}b=kb((a+b|0)+3|0);if(!b){break a}d=a;a=b+4|0;c=a&c;d=(c?d-c|0:0)+a|0;N[d-4>>2]=b}return d}ba(24218,18049,61,17717);F()}function pg(a){var b=0,c=0;og(a);Qa[N[a+12>>2]](a)|0;if(!(L[a|0]&1)){b=N[a+52>>2];if(b){N[b+56>>2]=N[a+56>>2]}c=N[a+56>>2];if(c){N[c+52>>2]=b}if(N[147575]==(a|0)){N[147575]=c}_a(N[a+96>>2]);_a(a)}}function or(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=(b|c)>=0;e=d?c:0;f=d?b:0;d=N[a+384>>2];if(!((f|0)==N[d+16>>2]&N[d+20>>2]==(e|0))){N[d+16>>2]=f;N[d+20>>2]=e;wg(d)}N[a+392>>2]=b;N[a+396>>2]=c}function ki(a,b){var c=0,d=0;c=O[a-1|0]<<2;a:{if(c>>>0>b>>>0){break a}d=a;a=b-c|0;b=d+(T(a,5)>>>2|0)|0;a=a<<1&6;b=O[b+1|0]<<8-a&1020|O[b|0]>>>a;if(b>>>0<256){break a}b=P[(b<<1)+565472>>1]}return b}function DA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qa[N[b+4>>2]](b,16)|0;if(!e){return 64}N[e+12>>2]=2;N[e+8>>2]=d;N[e>>2]=c;N[e+4>>2]=c;N[a+8>>2]=0;N[a+12>>2]=0;N[a+4>>2]=e;N[a>>2]=b;return 0}function nw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=3;c=N[a+32>>2];a:{if(!c){break a}d=N[c+364>>2];if(!d){break a}b=160;if(O[d+557|0]){break a}e=c,f=Lc(a,N[N[a+16>>2]>>2]),N[e+360>>2]=f;b=0}return b|0}function xd(a,b,c){var d=0,e=0;a:{if((a|0)<=0){break a}while(1){b:{e=cb(N[T(d,12)+b>>2],c);d=d+1|0;if((d|0)>=(a|0)){break b}if(e){continue}}break}if(e){break a}return(T(d,12)+b|0)-12|0}return 0}function Jw(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[b>>2];N[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=P[N[a+16>>2]+(c<<1)>>1];if(!d){continue}break}N[b>>2]=c;return d|0}function ez(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=La-16|0;La=e;a=va(N[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){N[147316]=a;a=-1}else{a=0}La=e+16|0;Pa=a?-1:N[e+12>>2];return(a?-1:N[e+8>>2])|0}function Qn(a,b){var c=0,d=0;c=La-16|0;La=c;if(b&64){N[c+12>>2]=4;d=N[0]}else{d=0}N[c>>2]=d;N[c+4>>2]=0;a=na(-100,a|0,b|32768,c|0)|0;if(a>>>0>=4294963201){N[147316]=0-a;a=-1}La=c+16|0;return a}function kt(a){a=a|0;var b=0,c=0;b=a+788|0;a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}c=N[b>>2];if(!c){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,c)}N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}function Wc(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=N[a+8>>2]+b|0;d=N[a+20>>2];b:{if(d){if(!(Qa[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=b;c=0}return c}function lC(a){a=a|0;N[a+24>>2]=500;N[a+28>>2]=400;L[a+20|0]=1;N[a+12>>2]=86;N[a+16>>2]=30;N[a+48>>2]=2333;N[a+52>>2]=0;N[a+40>>2]=1667;N[a+44>>2]=275;N[a+32>>2]=1e3;N[a+36>>2]=275;return 0}function Rn(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:L[a|0]=c;return;case 1:M[a>>1]=c;return;case 2:case 3:N[a>>2]=c;return;case 5:break b;default:break a}}N[a>>2]=c;N[a+4>>2]=d}}function Ih(a){var b=0;b=N[a+72>>2];N[a+72>>2]=b-1|b;b=N[a>>2];if(b&8){N[a>>2]=b|32;return-1}N[a+4>>2]=0;N[a+8>>2]=0;b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;N[a+16>>2]=b+N[a+48>>2];return 0}function Oh(a,b,c,d,e,f,g,h,i){var j=0;j=La-16|0;La=j;oc(j,b,c,d,e,f,g,h,i^-2147483648);d=N[j>>2];c=N[j+4>>2];b=N[j+12>>2];N[a+8>>2]=N[j+8>>2];N[a+12>>2]=b;N[a>>2]=d;N[a+4>>2]=c;La=j+16|0}function Mw(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+420>>2];a:{if((c|0)>0){d=N[a+424>>2];a=0;while(1){if(!cb(b,N[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function Fr(a){a=a|0;if(a){_a(N[a+356>>2]);_a(N[a+316>>2]);_a(N[a+276>>2]);_a(N[a+236>>2]);_a(N[a+196>>2]);_a(N[a+156>>2]);_a(N[a+116>>2]);_a(N[a+76>>2]);_a(N[a+36>>2]);_a(N[a>>2]);_a(a)}}function ze(a,b){var c=0;a:{c=N[a+12>>2];if((c|0)==(N[a+8>>2]+(N[a+16>>2]<<3)|0)){a=N[a+4>>2];if(!a|N[a>>2]){break a}N[a>>2]=130;return}N[c>>2]=b;b=N[a+12>>2];N[b+4>>2]=2;N[a+12>>2]=b+8}}function Kz(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b){return 1}a=N[a+4>>2];a:{if(!a){break a}c=N[a+92>>2];if(!c){break a}b=Qa[N[N[c+12>>2]+12>>2]](c,b)|0;d=(b|0)!=0&b>>>0>2]}return d|0}function Jb(a,b){var c=0;a:{c=N[a+12>>2];if((c|0)==(N[a+8>>2]+(N[a+16>>2]<<3)|0)){a=N[a+4>>2];if(!a|N[a>>2]){break a}N[a>>2]=130;return}N[c>>2]=b;b=N[a+12>>2];N[b+4>>2]=0;N[a+12>>2]=b+8}}function cb(a,b){var c=0,d=0;c=O[a|0];d=O[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=O[b+1|0];c=O[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function rE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!((b|0)==2353|b-2524>>>0<2|(b|0)==2964)){a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;e=(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0}return e|0}function _u(a){a=a|0;var b=0,c=0;a:{b=N[N[N[a>>2]+504>>2]+108>>2];if(!b){break a}c=N[a+44>>2];while(1){if(N[b+8>>2]!=(c|0)){b=N[b+4>>2];if(b){continue}break a}break}vn(c);N[a+44>>2]=0}}function Yy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=N[a+84>>2];d=c+256|0;f=pe(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;B(b,e,c);b=e+d|0;N[a+84>>2]=b;N[a+8>>2]=b;N[a+4>>2]=c+e;return c|0}function Lr(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0>1114109?2:O[(b&1|O[(b>>>1&7|P[(b>>>3&14|O[(b>>>7&15|O[(b>>>11|0)+191264|0]<<4)+191808|0]<<4)+209136>>1]<<3)+192576|0]<<1)+198064|0])|0}function JB(a){a=a|0;var b=0;b=N[a+4>>2];N[b+180>>2]=-21;N[b+184>>2]=0;N[b+196>>2]=21;N[b+200>>2]=0;N[b+188>>2]=0;N[b+192>>2]=0;Qa[N[N[N[a+12>>2]+56>>2]+8>>2]](N[a+52>>2],0,0);return 0}function lv(a,b){a=a|0;b=b|0;var c=0;b=N[b+20>>2];c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c}function Lh(a,b,c){var d=0,e=0,f=0;a:{if(!c){break a}while(1){e=(d<<3)+b|0;f=N[e>>2];if(!f){break a}if((a|0)==(f|0)){return N[e+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function Iw(a,b){a=a|0;b=b|0;var c=0,d=0;b=N[a>>2];c=N[b+712>>2];if(!N[c+1188>>2]){return 163}d=N[N[c+3084>>2]+4>>2];if(!d){return 7}return Qa[d|0](N[b+100>>2],a,N[c+20>>2],152,0,b)|0}function Mi(a){a=a|0;var b=0,c=0;b=N[a+8>>2];if(b){a=N[a+16>>2];c=N[a+4>>2];N[b+108>>2]=N[a>>2];N[b+112>>2]=c;N[b+124>>2]=N[a+16>>2];c=N[a+12>>2];N[b+116>>2]=N[a+8>>2];N[b+120>>2]=c}}function Dx(a,b){a=a|0;b=b|0;var c=0;N[a+116>>2]=b;c=N[a>>2];if(L[c+8|0]&1){Xc(c,b);Uh(a);return 0}b=Qa[N[N[c+540>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}N[a+116>>2]=-1;return b|0}function xu(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=43136;b:{if(!cb(15278,b)){break b}c=43144;if(!cb(9676,b)){break b}if(cb(11276,b)){break a}c=43152}a=N[c+4>>2]}return a|0}function tn(a,b){var c=0,d=0;d=N[a+4>>2];c=N[a+12>>2];c=(c|0)<0?(c|0)<(d|0)?d:c:d-c|0;b=b?b:(T(c,12)|0)/10|0;N[a+28>>2]=b;N[a+24>>2]=(b-c|0)/2;N[a+20>>2]=N[a+8>>2]+(N[a+16>>2]/-2|0)}function Sq(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[b>>2];d=N[a>>2];if((c|0)!=(d|0)){return(c>>>0>d>>>0?-1:1)|0}a=N[a+4>>2];b=N[b+4>>2];if(a>>>0>=b>>>0){a=a>>>0>b>>>0}else{a=-1}return a|0}function Mr(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=125258?O[(b&3|O[(b>>>2&3|O[(b>>>4&3|O[(b>>>6&7|O[(b>>>9|0)+198442|0]<<3)+198688|0]<<2)+199040|0]<<2)+199500|0]<<2)+200056|0]:0)|0}function ye(a){var b=0,c=0;b=N[147016];c=a+7&-8;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Ra()<<16>>>0){if(!(Ca(a|0)|0)){break a}}N[147016]=a;return b}N[147316]=48;return-1}function Op(a){return a>>>0<=65276?P[(O[(O[((O[(a>>>11|0)+277576|0]>>>(a>>>8&4)<<4&240|a>>>6&14)>>>1|0)+277608|0]>>>(a>>>4&4)<<4&240|a>>>2&15)+277648|0]<<3|(a&3)<<1)+276640>>1]:0}function Ls(a,b){a=a|0;b=b|0;N[a+16>>2]=b;b=O[b+6|0]|O[b+7|0]<<8|(O[b+8|0]<<16|O[b+9|0]<<24);N[a+28>>2]=0;N[a+32>>2]=0;N[a+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function Kr(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=65379?M[(O[(b>>>2&7|O[(b>>>5&7|O[(b>>>9|0)+200556|0]>>>(b>>>6&4)<<3&120)+200684|0]<<3)+200804|0]<<3|(b&3)<<1)+227776>>1]:0)+b|0}function Bi(a,b){var c=0,d=0;a:{if(a){if(!b){break a}if(N[N[a>>2]+8>>2]>2]+8>>2]){c=a,d=Bi(N[a+8>>2],b),N[c+8>>2]=d;return a}c=b,d=Bi(a,N[b+8>>2]),N[c+8>>2]=d}a=b}return a}function Pp(a){return a>>>0<=65276?P[(O[(a>>>3&15|O[((O[(a>>>13|0)+277440|0]>>>(a>>>10&6)<<4&48|a>>>7&14)>>>1|0)+277448|0]>>>(a>>>5&4)<<4&240)+277480|0]<<4|(a&7)<<1)+276e3>>1]:0}function Nn(a,b){var c=0;a:{if(!b){break a}b=Oc(b,584748);if(!b|N[b+8>>2]&(N[a+8>>2]^-1)){break a}if(!Zb(N[a+12>>2],N[b+12>>2],0)){break a}c=Zb(N[a+16>>2],N[b+16>>2],0)}return c}function jg(a,b){var c=0;a:{if(!a|!b){break a}c=N[a+4>>2];if(!c){break a}a=M[a+2>>1];if((a|0)<=0){break a}a=(a<<3)+c|0;while(1){hd(c,b);c=c+8|0;if(a>>>0>c>>>0){continue}break}}}function Jr(a,b,c){a=a|0;b=b|0;c=c|0;return N[((b>>>0>917999?2:O[(b&7|P[(b>>>2&30|O[(b>>>7&15|O[(b>>>11|0)+201140|0]<<4)+201590|0]<<5)+213216>>1]<<3)+202326|0])<<2)+228176>>2]}function fv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;N[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=Q[a+408>>2]){break a}N[c>>2]=N[(N[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function Sr(a,b){a=a|0;b=b|0;var c=0,d=0;d=N[a+16>>2]+6|0;a=N[b>>2];while(1){a=a+1|0;if(a>>>0>255){N[b>>2]=0;return 0}c=O[a+d|0];if(!c){continue}break}N[b>>2]=a;return c|0}function jw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;a:{if(!O[a|0]|N[a+8>>2]!=(b|0)|N[a+12>>2]!=(c|0)){break a}if(c){if(Mb(d,N[a+16>>2],c<<2)){break a}}e=0}return e|0}function Ml(a,b){a=a|0;b=b|0;N[a+16>>2]=b;b=O[b+12|0]|O[b+13|0]<<8|(O[b+14|0]<<16|O[b+15|0]<<24);L[a+24|0]=0;N[a+40>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function si(a,b,c){var d=0;if(N[a+72>>2]?b:1){return+N[a+140>>2]*c/+N[N[a+168>>2]+40>>2]+ +N[a+56>>2]}d=S[a+152>>3];return(+N[a+136>>2]-d)*.5+d*c/+N[N[a+168>>2]+40>>2]}function ts(a,b){a=a|0;b=b|0;var c=0;if(!(!O[a+24|0]|N[a+28>>2]!=N[b>>2])){Jl(a);if(!O[a+24|0]){return 0}c=N[a+32>>2];N[b>>2]=N[a+28>>2];return c|0}return Kl(a,b,1)|0}function yw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a){return 37}d=b?d:d|3;if(!(d&1?0:b)){return Yf(a,0,c,d)|0}if(N[b>>2]==N[a+4>>2]){a=Yf(a,b,c,d)}else{a=35}return a|0}function vs(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=13;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function gs(a,b){a=a|0;b=b|0;a=N[a+16>>2];b=b-(O[a+6|0]<<8|O[a+7|0])|0;if(b>>>0<(O[a+9|0]|O[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=O[a+10|0]<<8|O[a+11|0]}else{a=0}return a|0}function rs(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=12;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function ls(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=10;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function hs(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=8;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function Fu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=N[b>>2]+1|0;b=N[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}N[e>>2]=b;return d|0}function SE(a,b){var c=0,d=0;if(a|b){c=b-1|0;d=a-1|0;c=(d|0)!=-1?c+1|0:c;d=W(a^d)+32|0;a=W(b^c);a=(a|0)==32?d:a;b=63-a|0;Pa=0-(a>>>0>63)|0;return b}Pa=0;return 64}function yC(a,b){a=a|0;b=b|0;N[a+2748>>2]=b;N[a+2740>>2]=N[b+28>>2];N[a+4>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+8>>2]=N[b+16>>2];N[a+16>>2]=N[b+20>>2];return 0}function Dv(a,b){a=a|0;b=b|0;var c=0;c=N[b+96>>2];if(!((c|0)<0|N[a+300>>2]<=(c|0))){a=N[a+304>>2]+T(c,252)|0;b=Qa[N[b+40>>2]](b,0)|0;N[a+180>>2]=b;N[a+208>>2]=b}}function wA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+488>>2];N[a+24>>2]=N[b+420>>2];N[a+28>>2]=N[b+424>>2];N[a+20>>2]=N[c+20>>2];N[a+16>>2]=N[c+28>>2];return 0}function fu(a,b){a=a|0;b=b|0;var c=0,d=0;d=N[a>>2];c=N[d+140>>2];Xc(d,b);N[a+24>>2]=N[c+40>>2]<<6;N[a+28>>2]=0-(N[c+44>>2]<<6);N[a+36>>2]=P[c+4>>1]<<6;return 0}function Ju(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];b=N[c+132>>2];Xc(c,0);c=P[b+80>>1];N[a+24>>2]=c<<6;N[a+28>>2]=c-P[b+96>>1]<<6;N[a+36>>2]=P[b+102>>1]<<6;return 0}function AA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+488>>2];N[a+24>>2]=N[b+420>>2];N[a+28>>2]=N[b+424>>2];N[a+20>>2]=N[c+20>>2];N[a+16>>2]=N[c+24>>2];return 0}function fD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=N[b>>2];d=N[a+28>>2];b=N[b+4>>2];e=N[a+32>>2];if(!e){Qa[d|0](a,b,c,0);return}Qa[d|0](a,b,c,N[e+16>>2])}function Bt(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1668112752,b,a+512|0)|0;if(!c){c=dc(b,N[a+512>>2],a+508|0);if(!c){return 0}N[a+512>>2]=0}return c|0}function YD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!kh(a,1751216995,c)){break a}if(!kh(a,1751413603,c+4|0)){break a}b=kh(a,1751934832,c+8|0)}return b|0}function HA(a){a=a|0;var b=0,c=0;if(a){c=N[a>>2];b=N[a+108>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+108>>2]=0;b=N[a+116>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+116>>2]=0}}function db(a,b){var c=0,d=0;a:{if(!a){break a}c=TE(a,0,b,0);d=Pa;if((a|b)>>>0<65536){break a}c=d?-1:c}a=kb(c);if(!(!a|!(O[a-4|0]&3))){G(a,0,c)}return a}function by(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+32&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+32&-64)|0;return a>>31&a}function an(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+540>>2];N[d>>2]=0;N[d+4>>2]=0;if(e){f=d,g=Qa[N[e+84>>2]](a,b,c)|0,N[f>>2]=g}return 0}function _x(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+63&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+63&-64)|0;return a>>31&a}function Wx(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+16&-32;return((a|0)>0?a:0)|0}a=0-((a-b|0)+16&-32)|0;return a>>31&a}function ay(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)<0?32:a|32)|0}a=a-b&-64;return((a|0)<-32?-32:a^-32)|0}function _B(a){a=a|0;var b=0;if(a){N[a+412>>2]=0;N[a+4>>2]=0;N[a+1960>>2]=0;N[a+1444>>2]=0;N[a+928>>2]=0;N[a+208>>2]=0;b=N[a>>2];Qa[N[b+8>>2]](b,a)}}function $q(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){g=N[g+N[b>>2]>>2]}Qa[g|0](b,c,d,e,f)}function Uy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Zb(a,N[b+8>>2],f)){Pn(b,c,d,e);return}a=N[a+8>>2];Qa[N[N[a>>2]+20>>2]](a,b,c,d,e,f)}function tu(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];Xc(c,b);N[a+24>>2]=N[c+204>>2]<<6;N[a+28>>2]=0-(N[c+208>>2]<<6);N[a+36>>2]=M[c+236>>1]<<6;return 0}function Xo(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=N[a+12>>2];if((M[a+22>>1]+b|0)+M[a+58>>1]>>>0<=Q[a+4>>2]){break a}c=Sb(a,b,0)}return c|0}function Mx(a){a=a|0;var b=0,c=0;a=N[a+24>>2];if(N[a+20>>2]){b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}function ud(a,b,c,d){var e=0;e=T(b,c);a:{if(N[d+76>>2]<0){a=vh(a,e,d);break a}a=vh(a,e,d)}if((e|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function Pq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=N[a+12>>2];N[d>>2]=0;if(!(!b|!c)){e=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return e|0}function Hy(a){a=a|0;var b=0,c=0;a=N[a>>2];b=O[a|0];if(b){while(1){c=(b<<24>>24)+T(c,31)|0;b=O[a+1|0];a=a+1|0;if(b){continue}break}}return c|0}function wz(a,b){a=a|0;b=b|0;var c=0;if(!(N[a>>2]!=N[b>>2]|S[a+8>>3]!=S[b+8>>3]|N[a+16>>2]!=N[b+16>>2])){c=N[a+20>>2]==N[b+20>>2]}return c|0}function MC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=La-16|0;La=e;a=qn(N[b+12>>2],c,d,!N[a+72>>2],e+8|0);La=e+16|0;return(a?0:N[e+8>>2])|0}function om(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=T(b,c);a:{if((b|0)<=0){break a}a=Qa[N[a+4>>2]](a,b)|0;if(!a){break a}G(a,0,b);d=a}return d|0}function hi(a,b){var c=0,d=0;c=nb(a)+1|0;d=b&255;while(1){a:{b=0;if(!c){break a}c=c-1|0;b=c+a|0;if((d|0)!=O[b|0]){continue}}break}return b}function aC(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+4>>2];a:{if(c){break a}d=N[a>>2];c=ip(a+16|0,b,d);if(c){break a}c=ip(a+52|0,b,d)}return c|0}function Ks(a){a=a|0;var b=0,c=0;N[a+28>>2]=0;b=N[a+36>>2];a:{if(!b){break a}c=N[a+32>>2];if(!c){break a}Qa[N[b+8>>2]](b,c);N[a+32>>2]=0}}function $x(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)>0?a:0)|0}a=0-(a-b&-64)|0;return a>>31&a}function rA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[N[b+488>>2]+4>>2];if(!c){return 7}return Qa[c|0](N[b+100>>2],a,N[b+420>>2],362,0,b)|0}function lo(a,b,c){if(N[a+72>>2]?b:1){return+N[a+140>>2]*c/+N[N[a+168>>2]+40>>2]+ +N[a+56>>2]}return S[a+152>>3]*c/+N[N[a+168>>2]+40>>2]}function IE(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;var e=0;e=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){e=N[e+N[b>>2]>>2]}return Qa[e|0](b,c,d)|0}function _y(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=N[b>>2]+7&-8;N[c>>2]=b+16;d=a,e=ym(N[b>>2],N[b+4>>2],N[b+8>>2],N[b+12>>2]),S[d>>3]=e}function Ps(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[N[b+544>>2]+4>>2];if(!c){return 7}return Qa[c|0](N[b+100>>2],a,N[b+16>>2],190,0,b)|0}function xs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=od(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+28>>2]=f}function sv(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(11349,b)){if(cb(9676,b)){break a}a=36632}else{a=36624}a=N[a+4>>2]}return a|0}function lu(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(15278,b)){if(cb(9676,b)){break a}a=43640}else{a=43632}a=N[a+4>>2]}return a|0}function ds(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=od(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+44>>2]=f}function Pr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=od(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+48>>2]=f}function du(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=od(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+4>>2]=f}function Tz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[d+28>>2]=c;c=0;a=rc(N[d>>2],d+8|0,0);if(a){c=N[a>>2]>=0?N[a+16>>2]:c;tb(a)}return c|0}function Sz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[d+28>>2]=c;c=0;a=rc(N[d>>2],d+8|0,0);if(a){c=N[a>>2]>=0?N[a+28>>2]:c;tb(a)}return c|0}function Ou(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(9676,b)){if(cb(9772,b)){break a}a=37624}else{a=37616}a=N[a+4>>2]}return a|0}function kg(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=N[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=N[c>>2];N[a>>2]=d<>2]=c<>>32-b}function bs(a,b){a=a|0;b=b|0;var c=0;N[a+16>>2]=b;c=O[b+7|0];b=O[b+6|0];N[a+24>>2]=-1;N[a+28>>2]=0;N[a+32>>2]=(b<<8|c)>>>1;return 0}function CC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Db(d,U(N[a>>2]),U(N[a+4>>2]),U(N[b>>2]),U(N[b+4>>2]),U(N[c>>2]),U(N[c+4>>2]));return 0}function Bv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){N[b>>2]=N[a+152>>2]}if(c){N[c>>2]=N[a+156>>2]}if(d){N[d>>2]=N[a+160>>2]}return 0}function vA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+376>>2];N[a+16>>2]=c;N[a+20>>2]=N[b+380>>2]-c;N[a+24>>2]=N[b+384>>2];return 0}function mg(a,b){var c=0,d=0;c=N[a+4>>2];a:{if(b>>>0<=31){d=N[a>>2];break a}b=b-32|0;d=c;c=0}N[a+4>>2]=c>>>b;N[a>>2]=c<<32-b|d>>>b}function Cu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=od(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e>>2]=f}function jr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){e=N[e+N[b>>2]>>2]}Qa[e|0](b,c,d)}function KD(a,b,c){a=a|0;b=b|0;c=c|0;if(Zd(a,b,c)){a=1}else{if(b>>>0<=255){a=Zd(a,b+61440|0,c)}else{a=1}a=a&b>>>0<256}return a|0}function tq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){d=N[d+N[b>>2]>>2]}return Qa[d|0](b,c)|0}function Zx(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b|0;return((a|0)>0?a:0)|0}a=b-a|0;return a>>31&a}function Qq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;return(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0|0}function tA(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+16>>2];return(c>>>0>b>>>0|N[a+20>>2]+c>>>0<=b>>>0?d:P[N[a+24>>2]+(b<<1)>>1])|0}function VB(a){a=a|0;N[a+12>>2]=2;N[a+16>>2]=0;N[a+4>>2]=0;N[a+76>>2]=0;N[a- -64>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+28>>2]=0}function Sy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Zb(a,N[b+8>>2],0)){On(b,c,d);return}a=N[a+8>>2];Qa[N[N[a>>2]+28>>2]](a,b,c,d)}function $B(a){a=a|0;N[a+12>>2]=1;N[a+16>>2]=0;N[a+4>>2]=0;N[a+76>>2]=0;N[a- -64>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+28>>2]=0}function TB(a){a=a|0;var b=0;N[a+140>>2]=0;N[a+112>>2]=0;b=N[a+12>>2];kp(a+28|0,b);kp(a- -64|0,b);N[a+12>>2]=0;N[a+16>>2]=0}function _n(a,b,c,d,e,f,g,h,i){N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e&65535|(i>>>16&32768|(e&2147418112)>>>16)<<16}function XD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(N[147017]>=(a|0)){a=(a|0)<2?588952:589104;ud(24996,8,1,a);Ai(a,b,c);Ul(a)}}function bo(a,b){var c=0,d=0,e=0;a=a-1|0;a=(c=RE(a),d=0,e=a,e?c:d);if(!a){a=(c=RE(b),d=0,e=b,e?c:d);a=a?a+32|0:0}return a}function Pz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=La-16|0;La=a;b=qn(b,c,d,0,a+8|0);La=a+16|0;return(b?0:N[a+8>>2])|0}function Hu(a,b){a=a|0;b=b|0;var c=0;b=N[N[a>>2]+132>>2];c=O[b+104|0];N[a+16>>2]=c;N[a+20>>2]=(O[b+105|0]-c|0)+1;return 0}function Dj(a,b){a=a|0;b=b|0;a=N[N[a+660>>2]+20>>2]+T(b,56)|0;_a(N[a+28>>2]);_a(N[a+44>>2]);_a(N[a+48>>2]);_a(N[a+52>>2])}function zy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=gd(N[a>>2],c,22019);if(!a){return 64}N[d>>2]=a;N[e>>2]=0;return 0}function yy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=gd(N[a>>2],c,22047);if(!a){return 64}N[d>>2]=a;N[e>>2]=0;return 0}function id(a,b,c){TE(c,0,b,0);a:{if(!Pa){b=T(b,c);b=$a(a,b>>>0<=1?1:b);c=0;if(b){break a}}b=a;c=48}N[147316]=c;return b}function yr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){d=N[d+N[b>>2]>>2]}Qa[d|0](b,c)}function Kq(a,b,c){a=a|0;b=b|0;c=c|0;a=L[c+140|0];if((a|0)>=0){ba(22742,14165,187,12136);F()}L[c+140|0]=a&127;return 0}function Uj(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){c=N[c+N[b>>2]>>2]}return Qa[c|0](b)|0}function Pm(a,b){a=a|0;b=b|0;a=N[a+4>>2]|N[a>>2]<<16;b=N[b+4>>2]|N[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function JD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(Zd(a,b,c)){a=1}else{d=Pp(b);if(d){b=Zd(a,d,c)}a=(d|0)!=0&b}return a|0}function ID(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(Zd(a,b,c)){a=1}else{d=Op(b);if(d){b=Zd(a,d,c)}a=(d|0)!=0&b}return a|0}function RC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=on(N[b+12>>2],c,d);if(!a){return 0}N[e>>2]=a;return 1}function LE(a,b,c){a=a|0;b=b|0;c=c|0;a=O[c+140|0];if(!(a&8)){ba(22742,14165,187,12136);F()}L[c+140|0]=a&247;return 0}function Jh(a){a=a|0;var b=0,c=0;b=N[a+20>>2];if(b){c=N[N[a>>2]+100>>2];Qa[N[c+8>>2]](c,b)}N[a+16>>2]=0;N[a+20>>2]=0}function Gy(a,b){a=a|0;b=b|0;a:{a=N[a>>2];b=N[b>>2];if(O[a|0]!=O[b|0]){break a}if(cb(a,b)){break a}return 1}return 0}function tt(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=rb(b,179120,a+568|0)}return c|0}function rt(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=rb(b,178496,a+160|0)}return c|0}function _h(a){a=a|0;var b=0,c=0;b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0;N[a+4>>2]=0;N[a+24>>2]=0}function Et(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=rb(b,178496,a+160|0)}return c|0}function Ag(a,b){a=a|0;b=b|0;var c=0;N[b>>2]=0;c=Qa[N[a+4>>2]](a,4)|0;if(!c){return 64}N[c>>2]=a;N[b>>2]=c;return 0}function WE(a){var b=0,c=0;b=Z(a);c=a-b;if(!(c<.5)){a=_(a);if(c>.5){return a}c=a;a=b*.5;b=a-Z(a)==0?b:c}return b}function xx(a,b,c){a=a|0;b=b|0;c=c|0;c=$f(a,b,c,1);if(!c){N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function uC(a,b){a=a|0;b=b|0;N[a+24>>2]=N[b+20>>2];N[a+4>>2]=N[b>>2];N[a+28>>2]=N[b+24>>2];vp(a,b,0);vp(a,b,1)}function Zb(a,b,c){if(!c){return N[a+4>>2]==N[b+4>>2]}if((a|0)==(b|0)){return 1}return!cb(N[a+4>>2],N[b+4>>2])}function pr(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){c=N[c+N[b>>2]>>2]}Qa[c|0](b)}function Os(a,b){a=a|0;b=b|0;var c=0;c=La-16|0;La=c;N[c+12>>2]=0;Pf(a,b,c+12|0);La=c+16|0;return N[c+12>>2]}function ow(a){a=a|0;var b=0;b=N[a+32>>2];if(!b){return 3}Lc(a,N[N[a+16>>2]>>2]);N[b+184>>2]=513;return 0}function Rl(a,b){a=a|0;b=b|0;a=N[N[a>>2]+4>>2];b=N[N[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function Fy(a){a=a|0;a=N[a>>2];return T(T(T(a&255,31)+(a>>>8&255)|0,31)+(a>>>16&255)|0,31)+(a>>>24|0)|0}function Dy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;if(!b){return 81}return Qd(b,333319,e)|0}function Cy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;if(!b){return 81}return Qd(b,333312,e)|0}function us(a,b){a=a|0;b=b|0;var c=0;c=La-16|0;La=c;N[c+12>>2]=b;a=Kl(a,c+12|0,0);La=c+16|0;return a|0}function bu(a,b){a=a|0;b=b|0;b=N[a>>2];N[a+16>>2]=N[N[b+140>>2]+52>>2];N[a+20>>2]=N[b+144>>2];return 0}function mb(a,b,c,d){var e=0;e=La-16|0;La=e;N[e+12>>2]=d;Qa[N[a+20>>2]](b,c,d,N[a+24>>2]);La=e+16|0}function hw(a,b){a=a|0;b=b|0;a=N[a+712>>2];L[b|0]=0;if(!(!a|N[a+1504>>2]==65535)){L[b|0]=1}return 0}function My(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Qa[a|0](b,c,d,e,f,g,h)}function Hz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[a+12>>2];Qa[N[a>>2]](N[a+4>>2],c,b,d)|0;return d|0}function Ut(a,b){a=a|0;b=b|0;var c=0;c=N[N[a+12>>2]+48>>2];if(!c){return 150}return Qa[c|0](a,b)|0}function fz(){var a=0;a=N[147569];if(a){while(1){Qa[N[a>>2]]();a=N[a+4>>2];if(a){continue}break}}}function ZC(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;N[f>>2]=0;N[e>>2]=0;return 0}function Pv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Qa[N[N[a+548>>2]+40>>2]](a,b,c,d,e)|0}function Ax(a,b,c){a=a|0;b=b|0;c=c|0;if(cb(b,12798)){a=12}else{N[c>>2]=N[a+64>>2];a=0}return a|0}function Oy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(Zb(a,N[b+8>>2],f)){Pn(b,c,d,e)}}function Ri(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[N[a+12>>2]+56>>2]+12>>2]](N[a+52>>2],b,c)|0}function tC(a,b,c){a=a|0;b=b|0;c=c|0;if(b){N[b>>2]=N[a+10056>>2]}if(c){N[c>>2]=N[a+252>>2]}}function cs(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=6;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function Zr(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=4;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function Ur(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=2;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function UA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Tb(a,N[a+8>>2]);return Ce(a,N[a+8>>2],b,c,d)|0}function Qr(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=0;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function CA(a){a=a|0;var b=0,c=0;b=N[a+4>>2];if(b){c=N[a>>2];Qa[N[c+8>>2]](c,b)}N[a+4>>2]=0}function Ly(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Qa[a|0](b,c,d,e)|0;Ma=Pa;return a|0}function Dp(a,b,c){a=a|0;b=b|0;c=c|0;if(b){N[b>>2]=N[a+7928>>2]}if(c){N[c>>2]=N[a+252>>2]}}function ir(a,b,c){a=a|0;b=b|0;c=c|0;b=b&65535;return(vb(b?b+c|0:275552,N[a>>2])|0)!=-1|0}function aD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;N[d>>2]=0;return 1}function Zt(a,b){a=a|0;b=b|0;a=N[a+4>>2];b=N[b+4>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function Me(a,b,c,d){var e=0;e=La-16|0;La=e;N[e+12>>2]=d;a=sh(a,b,c,d);La=e+16|0;return a}function $C(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;N[d>>2]=0;return 0}function ey(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[b+12>>2]+(c<<3)|0;N[a+4>>2]=N[a+4>>2]+d}function eo(a,b){b=b&3;return O[(b^1)+a|0]<<16|O[a+b|0]<<24|O[(b^2)+a|0]<<8|O[(b^3)+a|0]}function YE(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function Kx(a){a=a|0;N[a+116>>2]=-1;N[a+304>>2]=-1;N[a+308>>2]=-1;L[a+112|0]=0;return 0}function dr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ki(N[a+380>>2],L[b+11|0]<0?N[b>>2]:b,c,d)}function Xw(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Qa[N[b+52>>2]](b,0,0,0)|0,N[c+544>>2]=d}function nu(a,b,c){a=a|0;b=b|0;c=c|0;N[b>>2]=N[a+176>>2];N[c>>2]=N[a+180>>2];return 0}function Yt(a,b,c){a=a|0;b=b|0;c=c|0;N[b>>2]=N[a+132>>2];N[c>>2]=N[a+136>>2];return 0}function Rq(a,b){a=a|0;b=b|0;a=P[a>>1];b=P[b>>1];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function gy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[b+12>>2]+(c<<3)|0;N[a>>2]=N[a>>2]+d}function YC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(e){L[d|0]=0}return 0}function Fw(a,b){a=a|0;b=b|0;return Qa[N[N[N[N[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function Gw(a,b){a=a|0;b=b|0;return Qa[N[N[N[N[a>>2]+712>>2]+3084>>2]+8>>2]](a,b)|0}function Ky(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Qa[a|0](b,c,d)|0;Ma=Pa;return a|0}function Hb(a){var b=0,c=0;c=nb(a)+1|0;b=kb(c);if(!b){return 0}B(b,a,c);return b}function Gu(a,b){a=a|0;b=b|0;b=b-N[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function Mp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;return 0}function tB(a){a=a|0;Qa[N[N[N[a+12>>2]+56>>2]+8>>2]](N[a+52>>2],0,0);return 0}function XE(a){var b=0;while(1){if(a){a=a-1&a;b=b+1|0;continue}break}return b}function Wv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+12>>2]](a,b,c)|0}function Uv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+20>>2]](a,b,c)|0}function Tv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+24>>2]](a,b,c)|0}function Ry(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(Zb(a,N[b+8>>2],0)){On(b,c,d)}}function Rv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+32>>2]](a,b,c)|0}function Qv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+36>>2]](a,b,c)|0}function Xv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+8>>2]](a,b,c)|0}function zB(a,b,c){a=a|0;b=b|0;c=c|0;N[a+56>>2]=N[a+52>>2]-T(N[a+104>>2],b)}function kC(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(11276,b)?0:293668)|0}function kB(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(11276,b)?0:294052)|0}function cA(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(10566,b)?0:356608)|0}function Tr(a,b){a=a|0;b=b|0;return(b>>>0<=255?O[(N[a+16>>2]+b|0)+6|0]:0)|0}function Kw(a,b){a=a|0;b=b|0;return(b>>>0<=255?P[N[a+16>>2]+(b<<1)>>1]:0)|0}function wv(a){a=a|0;a=N[a+140>>2];if(!a){return 0}return a+(O[a|0]==47)|0}function Zv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+552>>2]>>2]](a,b,c)|0}function Nt(a){a=a|0;return(a>>>0<=127?O[(a>>>3|0)+179360|0]&1<<(a&7):0)|0}function Au(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ch(N[a+12>>2],b,c,d)|0}function xr(a,b){a=a|0;b=b|0;L[a+372|0]=(b|0)!=0;if(b){So(a,N[a+376>>2])}}function qz(a,b){a=a|0;b=b|0;b=N[b+20>>2];if(b){_a(N[b-4>>2])}tb(N[a>>2])}function oA(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+488>>2]+12>>2]](a,b)|0}function Ms(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+544>>2]+12>>2]](a,b)|0}function zA(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0}function pA(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+488>>2]+8>>2]](a,b)|0}function Yz(a){a=a|0;return(a>>>0<=390?M[(a<<1)+299312>>1]+295088|0:0)|0}function Ns(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+544>>2]+8>>2]](a,b)|0}function eD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;return 0}function Zz(a){a=a|0;return M[((a>>>0<=257?a:0)<<1)+298784>>1]+295088|0}function XA(a,b){a=a|0;b=b|0;Tb(a,N[a+8>>2]);return Pc(a,N[a+8>>2],b)|0}function Lw(a,b){a=a|0;b=b|0;N[a+16>>2]=N[N[a>>2]+712>>2]+668;return 0}function Jy(a){a=a|0;_a(N[a+12>>2]);N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function qr(a){a=a|0;var b=0;b=N[a+660>>2];if(b){tg(b);N[a+660>>2]=0}}function Rz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return 1}function uD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,4)}function kx(a,b){a=a|0;b=b|0;if(!N[147441]){N[147441]=a;N[147442]=b}}function jD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,8)}function bD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,7)}function WC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,6)}function TC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,5)}function ND(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,8)}function MD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,7)}function LD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,6)}function IC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,4)}function ED(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,5)}function sE(a,b,c){a=a|0;b=b|0;c=c|0;if(!O[N[a+112>>2]+5|0]){wq(b)}}function lB(a){a=a|0;L[a+70|0]=0;M[a+68>>1]=0;N[a+64>>2]=8;return 0}function cE(a,b){a=a|0;b=b|0;return N[N[a+660>>2]+16>>2]+T(b,144)|0}function Vv(a,b){a=a|0;b=b|0;return Qa[N[N[a+548>>2]+16>>2]](a,b)|0}function Td(a,b){return b?a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24):a}function Sv(a,b){a=a|0;b=b|0;return Qa[N[N[a+548>>2]+28>>2]](a,b)|0}function Ov(a){a=a|0;var b=0;b=N[a+548>>2];if(b){Qa[N[b+44>>2]](a)}}function MB(a,b){a=a|0;b=b|0;Ui(b,N[a>>2]<<2,N[a+4>>2]<<2);return 0}function pE(a,b){a=a|0;b=b|0;return N[N[a+660>>2]+20>>2]+T(b,56)|0}function oC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Bp(d,b,c,d)|0}function zg(a){a=a|0;var b=0;if(a){b=N[a>>2];Qa[N[b+8>>2]](b,a)}}function Hq(a,b,c){a=a|0;b=b|0;c=c|0;zj(N[a+112>>2],b,N[a+4>>2])}function lw(a){a=a|0;return(a>>>0<=255?P[(a<<1)+30800>>1]:0)|0}function dD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return N[a+28>>2]}function cD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return N[a+32>>2]}function Eu(a,b){a=a|0;b=b|0;B(b,N[a+132>>2]+4|0,156);return 0}function zv(a,b,c){a=a|0;b=b|0;c=c|0;if(c){N[c>>2]=b}return 0}function je(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function gi(a){a=ia(a|0)|0;a=(a|0)!=27?a:0;if(a){N[147316]=a}}function Iy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return $a(d,c)|0}function As(a,b){a=a|0;b=b|0;N[b>>2]=-1;N[b+4>>2]=14;return 0}function su(a,b){a=a|0;b=b|0;N[a+16>>2]=N[a>>2]+296;return 0}function qA(a,b){a=a|0;b=b|0;return N[N[a+424>>2]+(b<<2)>>2]}function oe(a,b){if(!N[147441]){N[147441]=a;N[147442]=b}Ba()}function ny(a,b){a=a|0;b=b|0;return N[N[a+392>>2]+(b<<2)>>2]}function fr(a,b,c){a=a|0;b=b|0;c=c|0;return N[a>>2]==(b|0)|0}function XC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0}function uA(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0}function eb(a){a=kb(a>>>0<=1?1:a);if(!a){fa();F()}return a}function az(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Pa=0;return 0}function OD(a){a=a|0;var b=0;b=N[a+8>>2];if(b){_a(b)}_a(a)}function CE(a){a=a|0;var b=0;b=N[a+4>>2];if(b){Aj(b)}_a(a)}function xv(a,b){a=a|0;b=b|0;M[b>>1]=P[a+312>>1];return 0}function hz(a,b){a=a|0;b=b|0;return N[a+4>>2]-N[b+4>>2]|0}function Qs(a,b){a=a|0;b=b|0;N[a+8>>2]=b;N[a+12>>2]=b>>31}function Ot(a){a=a|0;return a-48>>>0<10|(a&-33)-65>>>0<26}function Lm(a,b){a=a|0;b=b|0;M[b>>1]=P[a+164>>1];return 0}function jt(a,b,c){a=a|0;b=b|0;c=c|0;return un(a,b,c)|0}function fA(a){a=a|0;a=a<<13^a;a=a>>>17^a;return a<<5^a}function Wy(a,b,c){a=a|0;b=b|0;c=c|0;return Zb(a,b,0)|0}function HD(a,b,c){a=a|0;b=b|0;c=c|0;return Zd(a,b,c)|0}function pu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 12}function nm(a,b){a=a|0;b=b|0;if(b){Qa[N[a+8>>2]](a,b)}}function ke(a,b,c){a=a|0;b=b|0;c=c|0;N[N[a>>2]+b>>2]=c}function ax(a,b){a=a|0;b=b|0;N[b+376>>2]=N[b+376>>2]|1}function Km(a,b){a=a|0;b=b|0;B(b,a+168|0,196);return 0}function Ey(a,b){a=a|0;b=b|0;return N[a>>2]==N[b>>2]|0}function Dt(a,b){a=a|0;b=b|0;N[a>>2]=b;N[a+4>>2]=b>>31}function Dr(a,b,c){a=a|0;b=b|0;c=c|0;return 1517976186}function DB(a){a=a|0;N[a+56>>2]=N[a+56>>2]-N[a+104>>2]}function Cm(a){a=a|0;a=N[a+156>>2];if(a){N[a+36>>2]=0}}function xy(a,b){a=a|0;b=b|0;return M[a>>1]-M[b>>1]|0}function jc(a,b){a=go(a,b);return O[a|0]==(b&255)?a:0}function it(a,b,c){a=a|0;b=b|0;c=c|0;Qa[N[a>>2]](b,c)}function Wt(a,b,c){a=a|0;b=b|0;c=+c;S[N[a>>2]+b>>3]=c}function Eb(a,b,c){a=Xn(a,b,c,0,-2147483648);return a}function Cr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function $n(a,b){var c=0;c=pe(a,0,b);return c?c-a|0:b}function st(a,b){a=a|0;b=b|0;return Qa[N[a>>2]](b)|0}function Av(a,b){a=a|0;b=b|0;if(b){L[b|0]=1}return 0}function le(a,b){a=a|0;b=b|0;return N[N[a>>2]+b>>2]}function _t(a,b){a=a|0;b=b|0;return+S[N[a>>2]+b>>3]}function RE(a){if(a){return 31-W(a-1^a)|0}return 32}function qs(a,b){a=a|0;b=b|0;N[a+16>>2]=b;return 0}function Yv(a){a=a|0;Qa[N[N[a+552>>2]+28>>2]](a)}function Kb(a,b){return Xn(a,b,10,-2147483648,0)}function nr(a,b){a=a|0;b=b|0;return ah(a,b,1)|0}function mr(a,b){a=a|0;b=b|0;return ah(a,b,0)|0}function ly(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function lr(a,b){a=a|0;b=b|0;return Kf(a,b,1)|0}function kr(a,b){a=a|0;b=b|0;return Kf(a,b,0)|0}function kn(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function _q(a){a=a|0;return N[N[a+660>>2]+8>>2]}function Rw(a,b){a=a|0;b=b|0;return Nm(a,0,0)|0}function Ln(a,b,c,d){wa(a|0,b|0,8,0,c|0,-1,d|0)}function Is(a,b){a=a|0;b=b|0;N[b>>2]=0;return 0}function Cx(a){a=a|0;a=La-a&-16;La=a;return a|0}function tm(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0}function ou(a,b,c){a=a|0;b=b|0;c=c|0;return 12}function _b(a,b,c){if(!(O[a|0]&32)){vh(b,c,a)}}function rk(a,b){a=a|0;b=b|0;return gk(a,b)|0}function qk(a,b){a=a|0;b=b|0;return fk(a,b)|0}function mk(a,b){a=a|0;b=b|0;return ik(a,b)|0}function cl(a,b){a=a|0;b=b|0;return Fk(a,b)|0}function bl(a,b){a=a|0;b=b|0;return Ek(a,b)|0}function al(a,b){a=a|0;b=b|0;return Hk(a,b)|0}function _k(a,b){a=a|0;b=b|0;return Uk(a,b)|0}function Zk(a,b){a=a|0;b=b|0;return Tk(a,b)|0}function Yk(a,b){a=a|0;b=b|0;return Sk(a,b)|0}function Xk(a,b){a=a|0;b=b|0;return Rk(a,b)|0}function Qb(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Oq(a){a=a|0;return N[N[a+660>>2]>>2]}function Mk(a,b){a=a|0;b=b|0;return bh(a,b)|0}function Gr(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function Er(a,b,c){a=a|0;b=b|0;c=c|0;return 7}function $k(a,b){a=a|0;b=b|0;return Gk(a,b)|0}function bz(a){a=a|0;return ia(N[a+60>>2])|0}function br(a){a=a|0;Vo(N[a+384>>2],a+404|0)}function Xq(a,b,c){a=a|0;b=b|0;c=c|0;sc(a,b)}function mx(a){a=a|0;N[N[a+156>>2]+36>>2]=0}function gz(a){a=a|0;return Hb(N[a+4>>2])|0}function _v(a){a=a|0;return N[a+8>>2]>>>9&1}function VE(a,b,c,d){a=QE(a,b,c,d);return a}function Ux(a){a=a|0;N[a+64>>2]=40;return 0}function Kn(a,b){a=a|0;b=b|0;return kb(b)|0}function Ai(a,b,c){return Wn(a,b,c,109,110)}function Pb(a,b){N[a+168>>2]=b;oe(a,1);F()}function BE(a,b,c){a=a|0;b=b|0;c=c|0;wq(b)}function wn(a,b){od(nb(a)+a|0,b);return a}function Iz(a){a=a|0;_a(N[a+12>>2]);_a(a)}function zr(a,b){a=a|0;b=b|0;N[147017]=b}function uz(a,b){a=a|0;b=b|0;tb(N[a>>2])}function my(a){a=a|0;return P[a+256>>1]}function Jx(a){a=a|0;cn(a);L[a+112|0]=0}function Im(a){a=a|0;return N[a+364>>2]}function aE(a){a=a|0;ab(N[a>>2]);_a(a)}function _s(a){a=a|0;return N[a+8>>2]}function Js(a,b){a=a|0;b=b|0;return 0}function nf(a,b,c){a=a|0;b=b|0;c=c|0}function _A(a){a=a|0;Tb(a,N[a+8>>2])}function SB(a){a=a|0;return a+100|0}function RB(a){a=a|0;return a+112|0}function QB(a){a=a|0;return a+140|0}function Jt(a){a=a|0;return N[a>>2]}function Jn(a,b){a=a|0;b=b|0;_a(b)}function ew(a){a=a|0;return 25360}function Su(a){a=a|0;return 25464}function Rt(a){a=a|0;return 25552}function Nr(a){a=a|0;return 25628}function Hm(a){a=a|0;N[a+16>>2]=0}function Fh(a){a=a|0;if(a){_a(a)}}function Sn(a,b,c){Wn(a,b,c,0,0)}function rd(a,b){return Fd(a,b)}function Xy(a){a=a|0;return a|0}function PE(){G(589264,0,2272)}function hm(a){a=a|0;return 0}function An(a){a=a|0;return 1}function Cv(a,b){a=a|0;b=b|0}function be(a){a=a|0;_a(a)}function Or(a){a=a|0;ab(a)}function cy(a){a=a|0;Ma=a}function Vx(){return Ma|0}function Qx(){return La|0}function Hx(a){a=a|0;La=a}function Mc(a){a=a|0}e=O;p(q);var Qa=c([null,wm,ew,Fh,le,ke,lv,bv,le,ke,Su,Fh,Iu,Cu,im,em,ju,du,_t,Wt,le,ke,le,ke,Rt,Fh,Jt,Dt,st,it,_s,Qs,Fs,xs,im,em,os,ds,Yr,Pr,le,ke,Nr,Fr,Br,Ar,zr,yr,xr,sr,rr,qr,pr,or,jr,er,dr,cr,br,ar,$q,_q,Uj,Wq,Uj,Tq,Dj,Oq,Dj,Nq,Gq,OE,IE,zE,pE,tq,cE,tq,le,ke,XD,ND,MD,LD,ED,uD,jD,bD,WC,TC,IC,AC,zC,wC,pC,gC,dC,UB,PB,IB,AB,vB,nB,dB,ZA,Iy,Kn,Jn,iz,$y,_y,Ny,Jy,_h,xy,ty,sy,ry,qy,py,oy,ny,my,kn,ly,ky,jy,iy,hy,gy,fy,ey,dy,by,ay,$x,_x,Zx,Yx,Xx,Wx,Rx,Px,Ox,Nx,Mx,uy,rx,hx,Pm,Ey,Fy,Hw,vw,uw,um,kv,jv,iv,hv,om,nm,Du,nm,om,Au,Bu,yu,zu,iu,Gy,Hy,eu,cu,Zt,je,Jn,Kn,Ot,Nt,Rl,_h,Rl,_h,Ws,Vs,Ac,Ts,Ss,Rs,Os,Or,_a,Mr,Lr,Kr,Jr,Ir,Hr,Zy,wr,vr,ur,tr,Qb,cl,cl,Qb,bl,bl,Qb,al,al,Qb,$k,$k,Qb,_k,_k,Qb,Zk,Zk,Qb,Yk,Yk,Qb,Xk,Xk,Qb,Nk,Nk,Pk,lr,kr,Qb,Mk,Mk,Qb,Qk,Qk,Pk,nr,mr,Qb,Ok,Ok,fr,ir,hr,gr,Qb,rk,rk,Qb,qk,qk,Qb,pk,pk,Qb,ok,ok,Qb,nk,nk,Qb,mk,mk,Zq,Yq,Lq,Kq,Jq,JE,HE,GE,FE,EE,LE,xE,wE,vE,mE,lE,fE,eE,Sq,Rq,Uq,Qq,Pq,Vq,rq,pq,$D,_D,ZD,YD,WD,VD,UD,TD,SD,RD,QD,PD,KD,JD,ID,HD,GD,FD,OD,mC,VC,aE,bE,UC,SC,RC,QC,PC,OC,NC,MC,LC,KC,JC,HC,GC,Ip,hC,eC,cC,bC,aC,$B,_B,Vi,ZB,YB,XB,WB,VB,Zh,GB,FB,DB,CB,BB,zB,Mc,yB,xB,nf,wB,uB,HA,GA,FA,EA,Pm,qA,aA,Wz,Vz,Uz,Tz,Sz,Rz,Qz,Pz,je,Oz,Nz,Iz,Hz,hz,jo,ez,dz,cz,bz,Yy,Dy,Cy,ci,By,Ay,zy,yy,bi,ai,xx,wx,qe,Qh,vx,fn,ux,dn,zx,yx,en,bg,Bx,Ax,Im,Jm,Mw,Mm,Lm,An,Km,Nw,wy,vy,Ow,Ww,Om,Nm,Vw,Uw,Tw,Sw,Rw,Qw,Pw,_e,ex,dx,cx,bx,ax,$w,_w,Zw,Yw,Xw,Lw,Hm,Kw,Jw,Iw,Jh,Gw,Fw,Xv,Wv,Vv,Uv,Tv,Sv,Rv,Qv,Pv,Ov,Zv,Yv,aw,$v,_v,bw,dw,cw,fw,iw,hw,gw,lw,xm,kw,jw,vm,tw,sw,rw,qw,pw,ow,nw,mw,wv,yv,xv,Bv,Av,zv,Fv,Ev,Dv,Cv,vv,tm,uv,tv,gv,qm,fv,Jm,Pu,Im,Mm,Lm,An,Km,Uu,Tu,Ru,Qu,Eu,Hu,Gu,Fu,nu,mu,pu,ou,su,Hm,ru,qu,Yt,Xt,bu,tm,au,$t,It,Ht,Gt,Ft,Vt,Mt,Et,Ct,Bt,At,zt,yt,xt,wt,vt,ut,tt,rt,qt,Pf,pt,ot,nt,mt,lt,kt,jt,ht,gt,ft,et,dt,Ol,ct,bt,at,$s,Zs,Ys,Xs,Uc,Us,qs,Tr,Sr,Rr,Qr,Xr,Wr,Vr,Ur,bs,as,$r,_r,Zr,gs,fs,es,cs,ks,js,is,hs,ps,ns,ms,ls,Ml,us,ts,ss,rs,Ml,zs,ys,ws,vs,Ls,Ks,Js,Is,Hs,Gs,Es,Ds,Cs,Bs,As,Ps,Jh,Ns,Ms,Lt,Kt,Pt,St,Qt,Tt,yh,Ut,Qb,Gr,Er,kn,Dr,je,je,Cr,Xq,Mq,Bj,Aj,Iq,Hq,Fq,Eq,Dq,Cq,Bq,be,Aq,zq,NE,ME,KE,DE,CE,BE,vq,AE,yE,uE,tE,be,sE,rE,qE,oE,nE,kE,jE,be,iE,vq,hE,gE,dE,Np,Np,eD,AD,Mp,dD,cD,wD,vD,aD,$C,je,je,_C,ZC,YC,Mp,XC,DD,CD,BD,zD,yD,xD,tD,sD,rD,qD,pD,oD,nD,mD,lD,kD,iD,hD,gD,fD,FC,EC,DC,CC,BC,Fp,Dp,Cp,Bp,yC,xC,vC,uC,tC,sC,rC,qC,Fp,Dp,Cp,oC,nC,jC,iC,SB,RB,QB,Ag,nf,Qb,OB,zg,NB,MB,LB,KB,Ag,nf,Qb,EB,zg,Ag,nf,Qb,rB,zg,Ag,nf,Qb,gB,zg,iB,hB,qB,pB,oB,mB,eB,cB,bB,aB,$A,Mc,_A,Oi,YA,XA,WA,VA,UA,Cd,TA,Yo,SA,RA,Mi,QA,Mi,Xo,PA,OA,NA,MA,Wo,LA,KA,JA,IA,DA,CA,BA,AA,zA,yA,xA,wA,vA,uA,tA,sA,rA,Jh,pA,oA,nA,Mi,Xo,mA,lA,kA,jA,Wo,iA,hA,gA,fA,eA,dA,Mo,bA,$z,_z,Zz,Yz,Ux,Mc,Tx,Sx,Lx,Kx,Jx,Ix,Gx,an,Fx,Ex,Dx,Nh,Mc,tx,sx,qx,px,ox,nx,mx,lx,jx,ix,gx,fx,Nh,Mc,Ew,Dw,Cw,Bw,Aw,zw,Cm,yw,an,xw,ww,Bm,Nh,Mc,Nv,Mv,Lv,Kv,Jv,Iv,Cm,Hv,Gv,sv,rv,qv,pv,ov,nv,mv,ev,Mc,dv,cv,av,$u,_u,Zu,Yu,Xu,Wu,Vu,Ou,Nu,Mu,Lu,Ku,Ju,hm,Mc,xu,wu,Uf,vu,uu,tu,lu,ku,zh,hu,gu,fu,lC,Mc,kC,fC,TB,JB,HB,Ti,Si,Ri,tB,sB,Ti,Si,Ri,lB,Mc,kB,jB,Ti,Si,Ri,fB,cA,Mz,Lz,Kz,Jz,Fz,Ez,Dz,Gz,Cz,tz,sz,rz,kz,qz,pz,oz,nz,jz,mz,Bz,Az,zz,lz,yz,xz,wz,vz,Xz,uz,hm,az,Xy,be,Mc,Mc,Wy,be,Qy,be,Vy,Oy,Py,Ry,be,Uy,Ty,Sy]);PE();function Ra(){return K.byteLength/65536|0}function Wa(Xa){Xa=Xa|0;var Sa=Ra()|0;var Ta=Sa+Xa|0;if(Sa=0;--a){f[48+a]=52+a;f[65+a]=a;f[97+a]=26+a}f[43]=62;f[47]=63;function l(m,n,o){var g,h,a=0,i=n,j=o.length,k=n+(j*3>>2)-(o[j-2]=="=")-(o[j-1]=="=");for(;a>4;if(i>2;if(i>>0;E=E>>>0;if(D+E>e.length)throw"trap: invalid memory.fill";e.fill(y,D,D+E)}function F(D,G,E){e.copyWithin(D,G,G+E)}function H(y){t[2]=y}function Ya(q){var I=q.a;var J=I.a;var K=J.buffer;J.grow=Wa;var L=new Int8Array(K);var M=new Int16Array(K);var N=new Int32Array(K);var O=new Uint8Array(K);var P=new Uint16Array(K);var Q=new Uint32Array(K);var R=new Float32Array(K);var S=new Float64Array(K);var T=Math.imul;var U=Math.fround;var V=Math.abs;var W=Math.clz32;var X=Math.min;var Y=Math.max;var Z=Math.floor;var _=Math.ceil;var $=Math.trunc;var aa=Math.sqrt;var ba=I.b;var ca=I.c;var da=I.d;var ea=I.e;var fa=I.f;var ga=I.g;var ha=I.h;var ia=I.i;var ja=I.j;var ka=I.k;var la=I.l;var ma=I.m;var na=I.n;var oa=I.o;var pa=I.p;var qa=I.q;var ra=I.r;var sa=I.s;var ta=I.t;var ua=I.u;var va=I.v;var wa=I.w;var xa=I.x;var ya=I.y;var za=I.z;var Aa=I.A;var Ba=I.B;var Ca=I.C;var Da=I.D;var Ea=I.E;var Fa=I.F;var Ga=I.G;var Ha=I.I;var Ia=I.J;var Ja=I.K;var Ka=I.L;var La=657072;var Ma=0;var Na=0;var Oa=0;var Pa=0;function sq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,S=0,W=U(0),X=0,Y=0,_=0,$=U(0),aa=0,ca=0,da=0,ea=0,fa=0;q=La-288|0;La=q;a:{b:{c:{d:{e:{f:{g:{f=O[c+140|0];if(!(f&48)){aa=N[c+40>>2];L[c+140|0]=f|48;l=N[c+68>>2];if(l){j=N[a+96>>2];h=N[c+80>>2];f=0;if(l>>>0>=8){i=l&-8;while(1){N[(h+T(f,20)|0)+4>>2]=j;N[(h+T(f|1,20)|0)+4>>2]=j;N[(h+T(f|2,20)|0)+4>>2]=j;N[(h+T(f|3,20)|0)+4>>2]=j;N[(h+T(f|4,20)|0)+4>>2]=j;N[(h+T(f|5,20)|0)+4>>2]=j;N[(h+T(f|6,20)|0)+4>>2]=j;N[(h+T(f|7,20)|0)+4>>2]=j;f=f+8|0;if((i|0)!=(f|0)){continue}break}}i=l&7;if(i){while(1){N[(h+T(f,20)|0)+4>>2]=j;f=f+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}while(1){f=h+T(n,20)|0;Hd(f,c);j=P[f+16>>1];h:{i:{if(!((j&31)!=24|N[f>>2]-127995>>>0>4)){f=(h+T(n,20)|0)+16|0;break i}if(!(!n|N[f>>2]-127462>>>0>25)){f=(h+T(n,20)|0)-20|0;if(N[f>>2]-127462>>>0>25|O[f+16|0]&128){break h}f=(h+T(n,20)|0)+16|0;break i}if((j&287)==257){M[(h+T(n,20)|0)+16>>1]=j|128;g=n+1|0;if(g>>>0>=l>>>0){break h}j=h+T(g,20)|0;f=N[j>>2];if(f>>>0<=131069){f=O[((f&24|O[(f>>>5&3|O[(O[(f>>>11|0)+236400|0]>>>(f>>>8&4)<<3&120|f>>>7&7)+236464|0]<<2)+236544|0]<<5)>>>3|0)+236664|0]>>>(f&7)&1}else{f=0}if(!f){break h}Hd(j,c);j=h+T(g,20)|0;f=j+16|0;j=P[j+16>>1];n=g;break i}f=N[f>>2];if((f&-2)!=65438&f-917536>>>0>95){break h}f=(h+T(n,20)|0)+16|0}M[f>>1]=j|128}n=n+1|0;if(l>>>0>n>>>0){continue}break}}j:{k:{if(!(1<>2]+16>>1]&7168)|(N[c+132>>2]|(N[c+16>>2]&17)!=1)){break k}N[q+120>>2]=0;f=N[b+96>>2];g=N[f+28>>2];h=N[b+100>>2];j=q+120|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}if(!(Qa[g|0](b,h,9676,j,f)|0)){break k}N[q+132>>2]=0;N[q+136>>2]=0;N[q+124>>2]=0;N[q+128>>2]=0;N[q+120>>2]=9676;Hd(q+120|0,c);N[c+72>>2]=0;M[c+62>>1]=1;N[c+64>>2]=0;f=N[c+80>>2];N[c+84>>2]=f;j=N[f+4>>2];l=N[f+8>>2];g=N[q+132>>2];n=N[q+136>>2];i=N[q+120>>2];l:{m:{if(Q[c+76>>2]<=1){if(!gb(c,1)){break l}f=N[c+80>>2];h=N[c+84>>2];if((f|0)!=(h|0)){break m}}k=N[c+72>>2];if(Q[c+64>>2]>=k+1>>>0){h=f;break m}if(!O[c+62|0]){break j}h=N[c+88>>2];N[c+84>>2]=h;k=T(k,20);if(!k){break m}F(h,f,k);h=N[c+84>>2]}f=T(N[c+72>>2],20)+h|0;N[f+12>>2]=g;N[f+16>>2]=n;N[f+8>>2]=l;N[f+4>>2]=j;N[f>>2]=i;N[c+72>>2]=N[c+72>>2]+1}Ac(c)}l=N[c+144>>2];n:{if(!(l&1)){break n}i=N[c+68>>2];if(!N[c+20>>2]){if(!i){break n}f=i-1|0;h=0;j=0;o:{while(1){if((f|0)==(j|0)){n=i;j=i;break o}j=j+1|0;if(O[(N[c+80>>2]+T(j,20)|0)+16|0]&128){continue}break}n=i}while(1){if(j-h>>>0>=2){Ib(c,h,j);n=N[c+68>>2]}f=j+1|0;g=f>>>0>>0?n:f;h=g-1|0;f=j;while(1){p:{if((f|0)==(h|0)){f=g;break p}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}g=i>>>0>j>>>0;h=j;j=f;if(g){continue}break}break n}if(!i){break n}g=i-1|0;j=0;f=0;while(1){q:{if((f|0)==(g|0)){f=i;break q}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}while(1){n=f;v=N[c+68>>2];s=f>>>0>v>>>0?v:f;p=s-j|0;r:{if(p>>>0<2){break r}l=l|32;N[c+144>>2]=l;if(j>>>0>=s>>>0){break r}k=N[c+80>>2];f=-1;h=j;r=s+(h^-1)|0;if(r>>>0>=3){o=p&-4;m=0;while(1){g=k+T(h,20)|0;u=N[g+8>>2];f=f>>>0>>0?f:u;u=N[g+28>>2];f=f>>>0>>0?f:u;u=N[g+48>>2];f=f>>>0>>0?f:u;g=N[g+68>>2];f=f>>>0>>0?f:g;h=h+4|0;m=m+4|0;if((o|0)!=(m|0)){continue}break}}m=p&3;if(m){g=0;while(1){o=N[(k+T(h,20)|0)+8>>2];f=f>>>0>>0?f:o;h=h+1|0;g=g+1|0;if((m|0)!=(g|0)){continue}break}}if(p&1){g=k+T(j,20)|0;if(N[g+8>>2]!=(f|0)){N[g+4>>2]=N[g+4>>2]|3}j=j+1|0}if(!r){break r}while(1){g=k+T(j,20)|0;if(N[g+8>>2]!=(f|0)){l=l|32;N[c+144>>2]=l;N[g+4>>2]=N[g+4>>2]|3}g=k+T(j+1|0,20)|0;if(N[g+8>>2]!=(f|0)){l=l|32;N[c+144>>2]=l;N[g+4>>2]=N[g+4>>2]|3}j=j+2|0;if((s|0)!=(j|0)){continue}break}}f=n+1|0;g=f>>>0>>0?v:f;j=g-1|0;f=n;while(1){s:{if((f|0)==(j|0)){f=g;break s}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}j=n;if(j>>>0>>0){continue}break}}f=N[c+40>>2];t:{u:{v:{h=sh(N[c+44>>2]);w:{if(!((h|0)!=5|(f|0)!=4)){g=N[c+68>>2];if(!g){h=5;break w}j=N[c+80>>2];h=0;l=1;k=0;m=0;while(1){x:{n=j+T(h,20)|0;i=P[n+16>>1]&31;y:{if((i|0)==13){k=1;break y}if(1<>2]-127462>>>0<26|m}h=h+1|0;l=g>>>0>h>>>0;if((g|0)!=(h|0)){continue}}break}h=(k|m)&1?l&1?5:4:5}g=f&-2;if((g|0)!=4){break v}}if((f|0)==(h|0)){break t}if(h){break u}break t}if((f|0)==6|(g|0)!=6){break t}}k=N[c+20>>2];g=0;f=N[c+68>>2];l=f;z:{A:{switch(f|0){default:l=1;while(1){h=g;g=N[c+80>>2];B:{if(O[(g+T(l,20)|0)+16|0]&128){g=h;break B}if(!((k|0)!=1|l-h>>>0<2)){Ib(c,h,l);g=N[c+80>>2];f=N[c+68>>2]}j=f>>>0>>0?f:h;f=f>>>0>>0?f:l;C:{if(j+2>>>0>f>>>0){break C}n=f-1|0;if(n>>>0<=j>>>0){break C}while(1){f=T(n,20)+g|0;N[q+136>>2]=N[f+16>>2];i=N[f+12>>2];N[q+128>>2]=N[f+8>>2];N[q+132>>2]=i;i=N[f+4>>2];N[q+120>>2]=N[f>>2];N[q+124>>2]=i;i=T(j,20)+g|0;N[f+16>>2]=N[i+16>>2];v=N[i+12>>2];N[f+8>>2]=N[i+8>>2];N[f+12>>2]=v;v=N[i+4>>2];N[f>>2]=N[i>>2];N[f+4>>2]=v;N[i+16>>2]=N[q+136>>2];f=N[q+132>>2];N[i+8>>2]=N[q+128>>2];N[i+12>>2]=f;f=N[q+124>>2];N[i>>2]=N[q+120>>2];N[i+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}}g=l;if(!O[c+63|0]){break B}f=N[c+68>>2];n=f>>>0>>0?f:l;j=f>>>0>>0?f:h;if(n>>>0>>0){break B}n=n-1|0;if(n>>>0<=j>>>0){break B}h=N[c+88>>2];while(1){f=h+T(n,20)|0;N[q+136>>2]=N[f+16>>2];g=N[f+12>>2];N[q+128>>2]=N[f+8>>2];N[q+132>>2]=g;g=N[f+4>>2];N[q+120>>2]=N[f>>2];N[q+124>>2]=g;g=h+T(j,20)|0;N[f+16>>2]=N[g+16>>2];i=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=i;i=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=i;N[g+16>>2]=N[q+136>>2];f=N[q+132>>2];N[g+8>>2]=N[q+128>>2];N[g+12>>2]=f;f=N[q+124>>2];N[g>>2]=N[q+120>>2];N[g+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}g=l}f=N[c+68>>2];l=l+1|0;if(f>>>0>l>>>0){continue}break};break;case 0:break z;case 1:break A}}if(!((k|0)!=1|l-g>>>0<2)){Ib(c,g,l);f=N[c+68>>2]}j=f>>>0>>0?f:g;f=f>>>0>>0?f:l;D:{if(j+2>>>0>f>>>0){break D}n=f-1|0;if(n>>>0<=j>>>0){break D}i=N[c+80>>2];while(1){f=i+T(n,20)|0;N[q+136>>2]=N[f+16>>2];h=N[f+12>>2];N[q+128>>2]=N[f+8>>2];N[q+132>>2]=h;h=N[f+4>>2];N[q+120>>2]=N[f>>2];N[q+124>>2]=h;h=i+T(j,20)|0;N[f+16>>2]=N[h+16>>2];k=N[h+12>>2];N[f+8>>2]=N[h+8>>2];N[f+12>>2]=k;k=N[h+4>>2];N[f>>2]=N[h>>2];N[f+4>>2]=k;N[h+16>>2]=N[q+136>>2];f=N[q+132>>2];N[h+8>>2]=N[q+128>>2];N[h+12>>2]=f;f=N[q+124>>2];N[h>>2]=N[q+120>>2];N[h+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}}E:{if(!O[c+63|0]){break E}f=N[c+68>>2];h=f>>>0>>0?f:l;j=f>>>0>>0?f:g;if(h>>>0>>0){break E}n=h-1|0;if(n>>>0<=j>>>0){break E}h=N[c+88>>2];while(1){f=h+T(n,20)|0;N[q+136>>2]=N[f+16>>2];g=N[f+12>>2];N[q+128>>2]=N[f+8>>2];N[q+132>>2]=g;g=N[f+4>>2];N[q+120>>2]=N[f>>2];N[q+124>>2]=g;g=h+T(j,20)|0;N[f+16>>2]=N[g+16>>2];l=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=l;l=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=l;N[g+16>>2]=N[q+136>>2];f=N[q+132>>2];N[g+8>>2]=N[q+128>>2];N[g+12>>2]=f;f=N[q+124>>2];N[g>>2]=N[q+120>>2];N[g+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}}h=N[c+68>>2];if(h>>>0>=2){l=N[c+80>>2];j=h-1|0;n=0;while(1){f=l+T(j,20)|0;N[q+136>>2]=N[f+16>>2];g=N[f+12>>2];N[q+128>>2]=N[f+8>>2];N[q+132>>2]=g;g=N[f+4>>2];N[q+120>>2]=N[f>>2];N[q+124>>2]=g;g=l+T(n,20)|0;N[f+16>>2]=N[g+16>>2];i=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=i;i=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=i;N[g+16>>2]=N[q+136>>2];f=N[q+132>>2];N[g+8>>2]=N[q+128>>2];N[g+12>>2]=f;f=N[q+124>>2];N[g>>2]=N[q+120>>2];N[g+4>>2]=f;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}if(!O[c+63|0]){break z}f=N[c+68>>2];f=f>>>0>>0?f:h;if(f>>>0<2){break z}h=N[c+88>>2];j=f-1|0;n=0;while(1){f=h+T(j,20)|0;N[q+136>>2]=N[f+16>>2];g=N[f+12>>2];N[q+128>>2]=N[f+8>>2];N[q+132>>2]=g;g=N[f+4>>2];N[q+120>>2]=N[f>>2];N[q+124>>2]=g;g=h+T(n,20)|0;N[f+16>>2]=N[g+16>>2];l=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=l;l=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=l;N[g+16>>2]=N[q+136>>2];f=N[q+132>>2];N[g+8>>2]=N[q+128>>2];N[g+12>>2]=f;f=N[q+124>>2];N[g>>2]=N[q+120>>2];N[g+4>>2]=f;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}N[c+40>>2]=N[c+40>>2]^1}J=a+60|0;F:{if(!N[N[a+80>>2]+16>>2]){break F}if(!ib(c,b,8372,0)){break F}Qa[N[N[a+80>>2]+16>>2]](J,c,b);ib(c,b,8394,0)}n=N[c+80>>2];h=N[c+68>>2];if(!(!h|(aa&-3)!=5)){k=N[a+188>>2];l=N[c+12>>2];j=0;while(1){g=n+T(j,20)|0;f=Qa[N[l+28>>2]](l,N[g>>2],N[l+60>>2])|0;G:{H:{if((f|0)==N[g>>2]){break H}N[q+120>>2]=0;i=N[b+96>>2];v=N[i+28>>2];m=N[b+100>>2];o=q+120|0;i=N[i+12>>2];if(i){i=N[i+8>>2]}else{i=0}if(!(Qa[v|0](b,m,f,o,i)|0)){break H}N[g>>2]=f;break G}N[g+4>>2]=k|N[g+4>>2]}j=j+1|0;if((h|0)!=(j|0)){continue}break}}if(!(!h|(O[a+200|0]&8|(aa&-2)!=6))){f=0;while(1){I:{J:{K:{L:{M:{N:{O:{l=n+T(f,20)|0;g=N[l>>2];j=g>>>8|0;switch(j-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break I;case 16:break K;case 0:break N;default:break O}}switch(j-254|0){case 1:break L;case 0:break M;default:break I}}j=65074;P:{switch(g-8211|0){case 1:j=65073;break J;case 18:j=65072;break J;case 19:break P;case 0:break J;default:break I}}j=65049;break J}j=65076;if((g|0)==65103){break J}break I}j=65045;Q:{switch(g-65281|0){case 7:j=65077;break J;case 8:j=65078;break J;case 11:j=65040;break J;case 25:j=65043;break J;case 26:j=65044;break J;case 30:j=65046;break J;case 58:j=65095;break J;case 60:j=65096;break J;case 62:j=65075;break J;case 90:j=65079;break J;case 92:break Q;case 0:break J;default:break I}}j=65080;break J}j=g-12289|0;if(j>>>0>=23|!(7995267>>>j&1)){break I}j=N[(j<<2)+265552>>2]}if((g|0)==(j|0)){break I}N[q+120>>2]=0;g=N[b+96>>2];i=N[g+28>>2];v=N[b+100>>2];k=q+120|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}if(!(Qa[i|0](b,v,j,k,g)|0)){break I}N[l>>2]=j}f=f+1|0;if((h|0)!=(f|0)){continue}break}}f=O[c+140|0];if(!(f&15)){L[c+140|0]=f|15;R:{S:{s=N[c+68>>2];T:{if(!s){break T}if((f&48)!=48){break R}f=N[a+80>>2];g=N[f+44>>2];N[q+128>>2]=b;N[q+124>>2]=c;N[q+120>>2]=J;N[q+132>>2]=N[c+12>>2];N[q+136>>2]=N[c+32>>2];j=N[f+24>>2];N[q+140>>2]=j?j:287;f=N[f+28>>2];N[q+144>>2]=f?f:288;N[c+72>>2]=0;M[c+62>>1]=1;N[c+64>>2]=0;N[c+84>>2]=N[c+80>>2];p=(g|0)==4?2:g;r=p&-3;f=0;m=1;U:{V:{while(1){g=f+1|0;j=g>>>0>>0?s:g;h=f;while(1){W:{g=h;h=g+1|0;if(s>>>0<=h>>>0){g=j;break W}if(!(1<>2]+T(h,20)|0)+16>>1]&7168)){continue}}break}X:{Y:{if((r|0)!=1){j=N[b+96>>2];h=N[j+32>>2];k=N[b+100>>2];l=g-f|0;f=N[c+80>>2]+T(f,20)|0;n=f;i=f+12|0;f=N[j+12>>2];if(f){f=N[f+12>>2]}else{f=0}f=Qa[h|0](b,k,l,n,20,i,20,f)|0;if(O[c+62|0]){l=N[c+84>>2];k=N[c+80>>2];h=N[c+72>>2];if(!((l|0)==(k|0)&(h|0)==N[c+64>>2])){j=f+h|0;if(!(!j|j>>>0>2])){if(!gb(c,j)){break Y}k=N[c+80>>2];l=N[c+84>>2]}Z:{if((k|0)!=(l|0)){break Z}j=N[c+72>>2];if(j+f>>>0<=f+N[c+64>>2]>>>0){l=k;break Z}if(!O[c+62|0]){break a}l=N[c+88>>2];N[c+84>>2]=l;j=T(j,20);if(!j){break Z}F(l,k,j);k=N[c+80>>2];l=N[c+84>>2]}F(T(N[c+72>>2],20)+l|0,T(N[c+64>>2],20)+k|0,T(f,20));h=N[c+72>>2]}N[c+72>>2]=h+f}f=f+N[c+64>>2]|0;N[c+64>>2]=f}_:{if(!O[c+60|0]|f>>>0>=g>>>0){break _}while(1){Ej(q+120|0,(r|0)!=1);f=N[c+64>>2];if(g>>>0<=f>>>0){break _}if(O[c+60|0]){continue}break}}if(!O[c+60|0]|(f|0)==(s|0)){break Y}g=f+1|0;j=g>>>0>>0?s:g;h=j-1|0;while(1){$:{g=f;f=f+1|0;if(s>>>0<=f>>>0){g=h;f=j;break $}if(1<>2]+T(f,20)|0)+16>>1]&7168){continue}}break}k=N[q+124>>2];l=N[k+64>>2];if(l>>>0>=f>>>0){break X}aa:{ba:{v=O[k+60|0];if(v){j=N[k+80>>2];h=l;while(1){n=N[j+T(h,20)>>2];if(!((n&-16)==65024|n-918e3>>>0>=4294967056)){n=(g|0)==(h|0);h=h+1|0;if(!n){continue}break ba}break}j=N[q+128>>2];ca:{if(g>>>0<=l>>>0){break ca}while(1){if(!O[k+60|0]){break ca}i=N[k+80>>2]+T(l,20)|0;N[i+12>>2]=0;h=i+12|0;l=N[i>>2];n=N[j+100>>2];m=N[j+96>>2];v=N[m+12>>2];i=N[i+20>>2];da:{if(!((i&-16)!=65024&i-918e3>>>0<4294967056)){m=N[m+36>>2];ea:{if(Qa[m|0](j,n,l,i,h,v?N[v+16>>2]:0)|0){N[q+96>>2]=N[N[k+80>>2]+T(N[k+64>>2],20)>>2];Sg(k,2,q+96|0);break ea}h=N[k+80>>2]+T(N[k+64>>2],20)|0;N[h+12>>2]=0;l=N[j+96>>2];n=N[l+28>>2];o=N[j+100>>2];v=N[h>>2];i=h+12|0;h=N[l+12>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[n|0](j,o,v,i,h)|0;fa:{if(O[k+62|0]){ga:{if(N[k+84>>2]==N[k+80>>2]){h=N[k+72>>2];if((h|0)==N[k+64>>2]){break ga}}if(!xd(k)){h=N[k+64>>2];break fa}h=N[k+80>>2]+T(N[k+64>>2],20)|0;n=N[h+4>>2];l=N[k+84>>2]+T(N[k+72>>2],20)|0;N[l>>2]=N[h>>2];N[l+4>>2]=n;N[l+16>>2]=N[h+16>>2];n=N[h+12>>2];N[l+8>>2]=N[h+8>>2];N[l+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}h=N[k+64>>2]+1|0;N[k+64>>2]=h}h=N[k+80>>2]+T(h,20)|0;N[h+12>>2]=0;l=N[j+96>>2];n=N[l+28>>2];o=N[j+100>>2];v=N[h>>2];i=h+12|0;h=N[l+12>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[n|0](j,o,v,i,h)|0;if(O[k+62|0]){ha:{if(N[k+84>>2]==N[k+80>>2]){h=N[k+72>>2];if((h|0)==N[k+64>>2]){break ha}}if(!xd(k)){break ea}h=N[k+80>>2]+T(N[k+64>>2],20)|0;n=N[h+4>>2];l=N[k+84>>2]+T(N[k+72>>2],20)|0;N[l>>2]=N[h>>2];N[l+4>>2]=n;N[l+16>>2]=N[h+16>>2];n=N[h+12>>2];N[l+8>>2]=N[h+8>>2];N[l+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}N[k+64>>2]=N[k+64>>2]+1}l=N[k+64>>2];if(l>>>0>=f>>>0){break da}while(1){if(!O[k+60|0]){break da}n=N[k+80>>2]+T(l,20)|0;h=N[n>>2];if((h&-16)!=65024&h-918e3>>>0<4294967056){break da}N[n+12>>2]=0;l=N[j+96>>2];i=N[l+28>>2];v=N[j+100>>2];n=n+12|0;l=N[l+12>>2];if(l){l=N[l+8>>2]}else{l=0}Qa[i|0](j,v,h,n,l)|0;ia:{if(O[k+62|0]){ja:{if(N[k+84>>2]==N[k+80>>2]){h=N[k+72>>2];if((h|0)==N[k+64>>2]){break ja}}if(!xd(k)){l=N[k+64>>2];break ia}h=N[k+80>>2]+T(N[k+64>>2],20)|0;n=N[h+4>>2];l=N[k+84>>2]+T(N[k+72>>2],20)|0;N[l>>2]=N[h>>2];N[l+4>>2]=n;N[l+16>>2]=N[h+16>>2];n=N[h+12>>2];N[l+8>>2]=N[h+8>>2];N[l+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}l=N[k+64>>2]+1|0;N[k+64>>2]=l}if(f>>>0>l>>>0){continue}break}break da}m=N[m+28>>2];Qa[m|0](j,n,l,h,v?N[v+8>>2]:0)|0;ka:{if(O[k+62|0]){m=N[k+84>>2];v=N[k+80>>2];h=N[k+72>>2];if(!((m|0)==(v|0)&(h|0)==N[k+64>>2])){h=h+1|0;if(!(!h|h>>>0>2])){if(!gb(k,h)){break ka}m=N[k+84>>2];v=N[k+80>>2]}la:{if((m|0)!=(v|0)){break la}h=N[k+72>>2];if(h+1>>>0<=N[k+64>>2]+1>>>0){m=v;break la}if(!O[k+62|0]){break a}m=N[k+88>>2];N[k+84>>2]=m;h=T(h,20);if(!h){break la}F(m,v,h);m=N[k+84>>2];v=N[k+80>>2]}h=T(N[k+64>>2],20)+v|0;n=N[h+4>>2];l=T(N[k+72>>2],20)+m|0;N[l>>2]=N[h>>2];N[l+4>>2]=n;N[l+16>>2]=N[h+16>>2];n=N[h+12>>2];N[l+8>>2]=N[h+8>>2];N[l+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}l=N[k+64>>2]+1|0;N[k+64>>2]=l;break da}l=N[k+64>>2]}if(g>>>0>l>>>0){continue}break}}if(f>>>0<=l>>>0){break X}f=N[k+80>>2]+T(l,20)|0;N[f+12>>2]=0;g=N[j+96>>2];h=N[g+28>>2];l=N[j+100>>2];i=N[f>>2];n=f+12|0;f=N[g+12>>2];if(f){f=N[f+8>>2]}else{f=0}Qa[h|0](j,l,i,n,f)|0;if(O[k+62|0]){ma:{if(N[k+84>>2]==N[k+80>>2]){f=N[k+72>>2];if((f|0)==N[k+64>>2]){break ma}}if(!xd(k)){break X}f=N[k+80>>2]+T(N[k+64>>2],20)|0;j=N[f+4>>2];g=N[k+84>>2]+T(N[k+72>>2],20)|0;N[g>>2]=N[f>>2];N[g+4>>2]=j;N[g+16>>2]=N[f+16>>2];j=N[f+12>>2];N[g+8>>2]=N[f+8>>2];N[g+12>>2]=j;f=N[k+72>>2]}N[k+72>>2]=f+1}N[k+64>>2]=N[k+64>>2]+1;break X}h=1;break aa}h=0}while(1){if(!h){v=O[k+60|0];h=1;continue}if(!(v&255)){break X}Ej(q+120|0,!p);if(Q[k+64>>2]>=f>>>0){break X}h=0;continue}}Ac(c);j=1;if(m&1){break U}break V}f=N[c+64>>2];if(s>>>0>f>>>0){m=0;if(O[c+60|0]){continue}}break}Ac(c)}j=0;if(!ib(c,b,12030,0)){break U}k=N[c+68>>2];if(k){l=0;while(1){g=N[c+80>>2];f=P[(g+T(l,20)|0)+16>>1];na:{if(f>>>0<256){i=l;break na}if(!(1<>>0>>0?k:h;i=l;while(1){oa:{i=i+1|0;if(k>>>0<=i>>>0){i=f;break oa}j=P[(g+T(i,20)|0)+16>>1];if(j>>>0<256){break oa}if(1<>>0>32){break na}if(O[c+63|0]){break S}g=l;if(h>>>0>>0){while(1){j=g;g=h;n=g>>>0>l>>>0?l:g;while(1){pa:{f=h;if(l>>>0>=f>>>0){f=n;break pa}v=N[c+80>>2];h=f-1|0;m=P[(v+T(h,20)|0)+16>>1];if(!(1<>1];if(m>>>8>>>0>(1<>>8|0:0)>>>0){continue}}break}if((f|0)!=(g|0)){j=j+2|0;if(j-f>>>0>=2){Ib(c,f,j)}h=N[c+80>>2];j=h+T(g,20)|0;N[q+112>>2]=N[j+16>>2];n=N[j+12>>2];N[q+104>>2]=N[j+8>>2];N[q+108>>2]=n;n=N[j+4>>2];N[q+96>>2]=N[j>>2];N[q+100>>2]=n;j=T(f,20);h=j+h|0;F(h+20|0,h,T(g-f|0,20));f=j+N[c+80>>2]|0;j=N[q+100>>2];N[f>>2]=N[q+96>>2];N[f+4>>2]=j;N[f+16>>2]=N[q+112>>2];j=N[q+108>>2];N[f+8>>2]=N[q+104>>2];N[f+12>>2]=j}h=g+1|0;if((i|0)!=(h|0)){continue}break}}f=N[N[a+80>>2]+36>>2];if(!f){break na}Qa[f|0](J,c,l,i)}l=i+1|0;if(k>>>0>l>>>0){continue}break}}ib(c,b,12044,0);j=0}qa:{if(!(O[c+144|0]&16)){break qa}g=N[c+68>>2];if(g>>>0<3){break qa}f=1;h=2;while(1){l=f;f=h;h=T(l,20);l=N[c+80>>2];h=h+l|0;ra:{if(N[h>>2]!=847){break ra}l=P[(l+T(f,20)|0)+16>>1];sa:{if(l>>>0<256|!(1<>1];if(n>>>8>>>0<=l>>>8>>>0){break sa}if(1<>1]=P[h+16>>1]&65471;g=N[c+68>>2]}h=f+1|0;if(g>>>0>h>>>0){continue}break}}if(!O[c+60|0]|j|(p&-2)!=2){break T}h=1;N[c+64>>2]=1;M[c+62>>1]=1;N[c+72>>2]=1;N[c+84>>2]=N[c+80>>2];i=N[c+68>>2];ta:{if(i>>>0<2){break ta}j=0;while(1){ua:{va:{h=N[c+80>>2]+T(h,20)|0;l=P[h+16>>1];if(!(1<>2];n=N[c+72>>2];g=n-1|0;if((g|0)!=(j|0)){g=P[(f+T(g>>>0<=n>>>0?g:0,20)|0)+16>>1];if(l>>>8>>>0<=(1<>>8|0:0)>>>0){break va}}g=T(j,20);if(!(Qa[N[q+144>>2]](q+120|0,N[g+f>>2],N[h>>2],q+96|0)|0)){break va}N[q+92>>2]=0;f=N[b+96>>2];h=N[f+28>>2];k=N[b+100>>2];l=N[q+96>>2];n=q+92|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}if(!(Qa[h|0](b,k,l,n,f)|0)){break va}wa:{if(!O[c+62|0]){f=N[c+72>>2];break wa}h=N[c+84>>2];l=N[c+80>>2];f=N[c+72>>2];if(!((h|0)==(l|0)&(f|0)==N[c+64>>2])){f=f+1|0;if(!(!f|f>>>0>2])){if(!gb(c,f)){break ta}l=N[c+80>>2];h=N[c+84>>2]}xa:{if((h|0)!=(l|0)){break xa}f=N[c+72>>2];if(f+1>>>0<=N[c+64>>2]+1>>>0){h=l;break xa}if(!O[c+62|0]){break a}h=N[c+88>>2];N[c+84>>2]=h;f=T(f,20);if(!f){break xa}F(h,l,f);l=N[c+80>>2];h=N[c+84>>2]}f=T(N[c+64>>2],20)+l|0;l=N[f+4>>2];h=T(N[c+72>>2],20)+h|0;N[h>>2]=N[f>>2];N[h+4>>2]=l;N[h+16>>2]=N[f+16>>2];l=N[f+12>>2];N[h+8>>2]=N[f+8>>2];N[h+12>>2]=l;f=N[c+72>>2]}f=f+1|0;N[c+72>>2]=f}N[c+64>>2]=N[c+64>>2]+1;wd(c,j,f);N[c+72>>2]=N[c+72>>2]-1;f=g+N[c+84>>2]|0;N[f>>2]=N[q+96>>2];N[f+12>>2]=N[q+92>>2];Hd(g+N[c+84>>2]|0,c);h=N[c+64>>2];break ua}ya:{if(!O[c+62|0]){n=N[c+72>>2];break ya}h=N[c+84>>2];n=N[c+80>>2];f=N[c+72>>2];if(!((h|0)==(n|0)&(f|0)==N[c+64>>2])){f=f+1|0;if(!(!f|f>>>0>2])){if(!gb(c,f)){break ta}n=N[c+80>>2];h=N[c+84>>2]}za:{if((h|0)!=(n|0)){break za}f=N[c+72>>2];if(f+1>>>0<=N[c+64>>2]+1>>>0){h=n;break za}if(!O[c+62|0]){break a}h=N[c+88>>2];N[c+84>>2]=h;f=T(f,20);if(!f){break za}F(h,n,f);n=N[c+80>>2];h=N[c+84>>2]}g=T(N[c+72>>2],20)+h|0;f=T(N[c+64>>2],20)+n|0;h=N[f+4>>2];N[g>>2]=N[f>>2];N[g+4>>2]=h;N[g+16>>2]=N[f+16>>2];h=N[f+12>>2];N[g+8>>2]=N[f+8>>2];N[g+12>>2]=h;f=N[c+72>>2]}n=f+1|0;N[c+72>>2]=n}h=N[c+64>>2]+1|0;N[c+64>>2]=h;f=n-1|0;g=P[(N[c+84>>2]+T(f>>>0<=n>>>0?f:0,20)|0)+16>>1];j=1<>>0<256?f:j:f}if(h>>>0>>0){continue}break}}Ac(c)}r=N[c+144>>2];Aa:{if(!(r&1)|!(O[a+200|0]&4)){break Aa}Ba:{if((N[c+40>>2]&-3)==4){n=N[a+176>>2];g=n|N[a+180>>2];f=a+184|0;break Ba}n=N[a+176>>2];g=n|N[a+184>>2];f=a+180|0}h=N[c+68>>2];if(!h){break Aa}s=N[c+80>>2];o=N[f>>2];l=0;while(1){y=s+T(l,20)|0;if(N[y>>2]==8260){j=l+1|0;m=0;i=l;while(1){Ca:{k=m;f=i;if(!f){k=l;f=0;break Ca}m=k+1|0;i=f-1|0;if((P[(s+T(i,20)|0)+16>>1]&31)==13){continue}}break}i=j;Da:{if(h>>>0<=i>>>0){break Da}while(1){if((P[(s+T(i,20)|0)+16>>1]&31)!=13){break Da}i=i+1|0;if((h|0)!=(i|0)){continue}break}i=h}v=N[c+68>>2];u=i>>>0>v>>>0?v:i;x=u-f|0;Ea:{if(x>>>0<2){break Ea}r=r|32;N[c+144>>2]=r;if(f>>>0>=u>>>0){break Ea}m=-1;v=f;H=u+((l^-1)+k|0)|0;if(H>>>0>=3){z=x&-4;p=0;while(1){A=s+T(v,20)|0;D=N[A+8>>2];m=m>>>0>>0?m:D;D=N[A+28>>2];m=m>>>0>>0?m:D;D=N[A+48>>2];m=m>>>0>>0?m:D;A=N[A+68>>2];m=m>>>0>>0?m:A;v=v+4|0;p=p+4|0;if((z|0)!=(p|0)){continue}break}}p=0;A=x&3;if(A){while(1){z=N[(s+T(v,20)|0)+8>>2];m=m>>>0>>0?m:z;v=v+1|0;p=p+1|0;if((A|0)!=(p|0)){continue}break}}v=f;if(x&1){v=s+T(f,20)|0;if(N[v+8>>2]!=(m|0)){N[v+4>>2]=N[v+4>>2]|3}v=f+1|0}if(!H){break Ea}while(1){p=s+T(v,20)|0;if(N[p+8>>2]!=(m|0)){r=r|32;N[c+144>>2]=r;N[p+4>>2]=N[p+4>>2]|3}p=s+T(v+1|0,20)|0;if(N[p+8>>2]!=(m|0)){r=r|32;N[c+144>>2]=r;N[p+4>>2]=N[p+4>>2]|3}v=v+2|0;if((u|0)!=(v|0)){continue}break}}Fa:{if(f>>>0>=l>>>0){break Fa}m=0;v=k&3;if(v){while(1){p=s+T(f,20)|0;N[p+4>>2]=N[p+4>>2]|g;f=f+1|0;m=m+1|0;if((v|0)!=(m|0)){continue}break}}if(k-1>>>0<=2){break Fa}while(1){k=s+T(f,20)|0;N[k+4>>2]=N[k+4>>2]|g;N[k+24>>2]=N[k+24>>2]|g;N[k+44>>2]=N[k+44>>2]|g;k=k- -64|0;N[k>>2]=N[k>>2]|g;f=f+4|0;if((l|0)!=(f|0)){continue}break}}N[y+4>>2]=N[y+4>>2]|n;Ga:{if(i>>>0<=j>>>0){break Ga}f=0;k=(l^-1)+i&3;if(k){while(1){v=s+T(j,20)|0;N[v+4>>2]=o|N[v+4>>2]|n;j=j+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if((i-l|0)-2>>>0<3){break Ga}while(1){f=s+T(j,20)|0;N[f+4>>2]=o|N[f+4>>2]|n;N[f+24>>2]=o|N[f+24>>2]|n;N[f+44>>2]=o|N[f+44>>2]|n;f=f- -64|0;N[f>>2]=o|N[f>>2]|n;j=j+4|0;if((i|0)!=(j|0)){continue}break}}l=i-1|0}l=l+1|0;if(h>>>0>l>>>0){continue}break}}f=N[N[a+80>>2]+32>>2];if(f){Qa[f|0](J,c,b)}if(e){v=0;while(1){g=(v<<4)+d|0;j=N[g+8>>2];Ha:{if(!j&N[g+12>>2]==-1){break Ha}Ia:{Ja:{f=N[a+104>>2];if((f|0)<=0){break Ja}k=N[a+108>>2];l=N[g>>2];f=f-1|0;h=0;while(1){Ka:{n=f+h>>>1|0;i=k+T(n,36)|0;m=N[i>>2];La:{if(m>>>0>l>>>0){f=n-1|0;break La}if(l>>>0<=m>>>0){break Ka}h=n+1|0}if((f|0)>=(h|0)){continue}break Ja}break}h=N[i+20>>2];f=N[i+24>>2];break Ia}h=0;f=0}if(!f){break Ha}l=N[c+68>>2];if(!l){break Ha}n=f^-1;h=f&N[g+4>>2]<>2];i=N[c+80>>2];f=0;if((l|0)!=1){k=l&1;m=l&-2;while(1){l=i+T(f,20)|0;s=N[l+8>>2];if(!(s>>>0>>0|g>>>0<=s>>>0)){N[l+4>>2]=h|n&N[l+4>>2]}l=i+T(f|1,20)|0;s=N[l+8>>2];if(!(s>>>0>>0|g>>>0<=s>>>0)){N[l+4>>2]=h|n&N[l+4>>2]}f=f+2|0;if((m|0)!=(f|0)){continue}break}if(!k){break Ha}}l=j;f=i+T(f,20)|0;j=N[f+8>>2];if(l>>>0>j>>>0|g>>>0<=j>>>0){break Ha}N[f+4>>2]=h|n&N[f+4>>2]}v=v+1|0;if((v|0)!=(e|0)){continue}break}}Ma:{if(O[a+200|0]&128){h=N[c+68>>2];if(!h){break Ma}l=N[c+80>>2];f=0;while(1){g=l+T(f,20)|0;e=P[g+16>>1];if((e&31)==12){d=e>>>8|0;Na:{if(e>>>0>51199){n=d;break Na}Oa:{Pa:{j=N[g>>2];if((j&-256)==3584){if(e>>>0<=255){i=0;Qa:{switch(j-3633|0){case 128:case 131:case 132:case 133:case 134:case 138:case 155:case 156:i=230;break Oa;case 0:case 3:case 4:case 5:case 6:case 22:case 27:case 28:case 29:break Pa;case 139:break Qa;default:break Oa}}i=220;break Oa}i=222;if((j|0)==3642){break Oa}}n=220;Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{i=d;switch(d-3|0){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 27:case 30:case 115:case 126:case 128:break Na;case 119:case 129:break Ra;case 104:break Sa;case 0:break Ta;case 23:case 24:case 25:case 26:case 28:case 29:case 31:case 32:case 33:break Ua;case 8:case 11:break Va;case 7:break Wa;case 10:break Xa;default:break Oa}}n=214;break Na}n=232;break Na}n=228;break Na}n=230;break Na}n=222;break Na}n=232;break Na}n=230;break Na}i=232}n=i}M[g+16>>1]=e&255|n<<8}f=f+1|0;if((h|0)!=(f|0)){continue}break}}e=N[c+68>>2];if(!e){break Ma}d=N[c+80>>2];j=0;f=0;if(e>>>0>=4){g=e&-4;while(1){h=d+T(f,20)|0;N[h>>2]=N[h+12>>2];h=d+T(f|1,20)|0;N[h>>2]=N[h+12>>2];h=d+T(f|2,20)|0;N[h>>2]=N[h+12>>2];h=d+T(f|3,20)|0;N[h>>2]=N[h+12>>2];f=f+4|0;if((g|0)!=(f|0)){continue}break}}e=e&3;if(!e){break Ma}while(1){g=d+T(f,20)|0;N[g>>2]=N[g+12>>2];f=f+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}N[c+36>>2]=2;d=O[c+140|0];if((d&15)==15){L[c+140|0]=d&240|7;d=N[b+24>>2];f=N[d+140>>2];Ya:{if(f){break Ya}while(1){e=N[d+48>>2];if(!e){f=275552;break Ya}f=db(1,4);if(!f){f=275552;N[d+140>>2]=275552;break Ya}f=Of(f,e);if(!N[d+140>>2]){N[d+140>>2]=f;break Ya}ab(N[f>>2]);_a(f);f=N[d+140>>2];if(!f){continue}break}}d=N[c+68>>2];if(d){e=N[f>>2];e=e?e:275552;e=Q[e+16>>2]<4?275552:N[e+12>>2];f=0;while(1){g=T(f,20);j=g+N[c+80>>2]|0;ea=j,fa=Uc(e,N[j>>2]),M[ea+12>>1]=fa;L[(g+N[c+80>>2]|0)+14|0]=0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}f=P[a+200>>1];Za:{if(!(f&64)){break Za}e=N[c+68>>2];if(!e){break Za}g=N[c+80>>2];f=0;while(1){d=g+T(f,20)|0;h=P[d+16>>1];_a:{if((h&31)==12){j=8;if(!(h&32)|P[d+12>>1]&16){break _a}}j=2}M[d+12>>1]=j;f=f+1|0;if((e|0)!=(f|0)){continue}break}f=P[a+200>>1]}$a:{if(f&8192){v=0;h=La-160|0;La=h;f=N[b+24>>2];d=N[f+156>>2];ab:{if(d){break ab}g=h- -64|0;while(1){d=N[f+48>>2];if(!d){d=275552;break ab}N[g>>2]=0;N[g+4>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;L[h+80|0]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+84>>2]=0;N[h+88>>2]=0;e=N[d+32>>2];if((e|0)==-1){e=sb(d+56|0);e=O[e+4|0]|O[e+5|0]<<8;e=(e<<8|e>>>8)&65535;N[d+32>>2]=e}L[h+96|0]=1;N[h+92>>2]=e;e=N[d+12>>2];bb:{if(e){d=Qa[e|0](d,1836020344,N[d+16>>2])|0;if(d){break bb}}d=275552}e=tl(h+56|0,d);d=N[f+156>>2];cb:{if(e){if(d){break cb}d=e;N[f+156>>2]=e;break ab}if(d){break ab}d=275552;N[f+156>>2]=275552;break ab}if((e|0)==275552){break ab}ab(e);d=N[f+156>>2];if(!d){continue}break}}db:{e=Q[d+16>>2]<8?275552:N[d+12>>2];eb:{if(O[e|0]|O[e+1|0]<<8){f=Ue(h+56|0,J,b,c,d);if(ib(c,b,7994,0)){d=N[f+16>>2];fb:{if(!O[d+60|0]){break fb}N[f+72>>2]=0;g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!g){break fb}g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);s=g>>>0<=1?1:g;m=e+8|0;while(1){e=O[m+12|0]|O[m+13|0]<<8|(O[m+14|0]<<16|O[m+15|0]<<24);gb:{if(!e){break gb}d=N[f+4>>2];p=N[(Q[d+104>>2]<=v>>>0?275552:N[d+108>>2]+(v<<2)|0)>>2];d=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);o=d>>>0<=1?1:d;d=O[m+8|0]|O[m+9|0]<<8|(O[m+10|0]<<16|O[m+11|0]<<24);e=(T(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),12)+m|0)+16|0;k=0;while(1){d=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);hb:{if(!(p&(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)))){break hb}g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!(g&32)&((g&128)>>>7|0)==((N[N[f+16>>2]+40>>2]&-2)!=6|0)){break hb}ib:{if(g&16){d=N[f+16>>2];g=(g&64)>>>6|0;break ib}d=N[f+16>>2];g=(g&64)>>>6^(N[d+40>>2]&-3)==5}j=N[f+8>>2];N[h+48>>2]=N[f+72>>2];if(!ib(d,j,17537,h+48|0)){break hb}jb:{if(g){l=N[f+16>>2];n=N[l+68>>2];if(n>>>0>=2){i=N[l+80>>2];r=n-1|0;d=0;while(1){g=i+T(r,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];u=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=u;u=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=u;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;r=r-1|0;if(d>>>0>>0){continue}break}}kb:{if(!O[l+63|0]){break kb}d=N[l+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break kb}l=N[l+88>>2];r=d-1|0;d=0;while(1){g=l+T(r,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=l+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;r=r-1|0;if(d>>>0>>0){continue}break}}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}r=0;d=0;lb:{if(e>>>0>>0){break lb}d=0;if(e>>>0>=j>>>0){break lb}g=j-e|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);r=(d>>>0>g>>>0?g:d)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=r;nl(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}l=N[f+16>>2];n=N[l+68>>2];if(n>>>0>=2){i=N[l+80>>2];r=n-1|0;d=0;while(1){g=i+T(r,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];u=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=u;u=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=u;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;r=r-1|0;if(d>>>0>>0){continue}break}}if(!O[l+63|0]){break jb}d=N[l+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break jb}l=N[l+88>>2];r=d-1|0;d=0;while(1){g=l+T(r,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=l+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;r=r-1|0;if(d>>>0>>0){continue}break}break jb}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}r=0;d=0;mb:{if(e>>>0>>0){break mb}d=0;if(e>>>0>=j>>>0){break mb}g=j-e|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);r=(d>>>0>g>>>0?g:d)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=r;nl(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}}d=N[f+8>>2];g=N[f+16>>2];N[h+32>>2]=N[f+72>>2];ib(g,d,17560,h+32|0);d=N[f+16>>2];if(!O[d+60|0]){break gb}}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[f+72>>2]=N[f+72>>2]+1;e=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+e|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}d=N[f+16>>2]}if(!O[d+60|0]){break fb}e=O[m+4|0]|O[m+5|0]<<8|(O[m+6|0]<<16|O[m+7|0]<<24);m=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+m|0;v=v+1|0;if((s|0)!=(v|0)){continue}break}}ib(c,b,8011,0)}ab(N[f+52>>2]);break eb}f=N[b+24>>2];d=N[f+160>>2];nb:{if(d){break nb}g=h- -64|0;while(1){d=N[f+48>>2];if(!d){d=275552;break nb}N[g>>2]=0;N[g+4>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;L[h+80|0]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+84>>2]=0;N[h+88>>2]=0;e=N[d+32>>2];if((e|0)==-1){e=sb(d+56|0);e=O[e+4|0]|O[e+5|0]<<8;e=(e<<8|e>>>8)&65535;N[d+32>>2]=e}L[h+96|0]=1;N[h+92>>2]=e;e=N[d+12>>2];ob:{if(e){d=Qa[e|0](d,1836020340,N[d+16>>2])|0;if(d){break ob}}d=275552}e=rl(h+56|0,d);d=N[f+160>>2];pb:{if(e){if(d){break pb}d=e;N[f+160>>2]=e;break nb}if(d){break nb}d=275552;N[f+160>>2]=275552;break nb}if((e|0)==275552){break nb}ab(e);d=N[f+160>>2];if(!d){continue}break}}e=Q[d+16>>2]<8?275552:N[d+12>>2];if(!(O[e|0]|O[e+1|0]<<8)){break eb}f=Ue(h+56|0,J,b,c,d);if(ib(c,b,8735,0)){d=N[f+16>>2];qb:{if(!O[d+60|0]){break qb}N[f+72>>2]=0;g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!g){break qb}g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);s=g>>>0<=1?1:g;m=e+8|0;while(1){e=O[m+10|0]|O[m+11|0]<<8;rb:{if(!e){break rb}d=N[f+4>>2];p=N[(Q[d+104>>2]<=v>>>0?275552:N[d+108>>2]+(v<<2)|0)>>2];d=(e<<8|e>>>8)&65535;o=d>>>0<=1?1:d;d=O[m+8|0]|O[m+9|0]<<8;e=(T((d<<8|d>>>8)&65535,12)+m|0)+12|0;k=0;while(1){d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);sb:{if(!(p&(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)))){break sb}g=O[e+2|0];if(!(g&32)&((N[N[f+16>>2]+40>>2]&-2)!=6|0)==(g>>>0>127|0)){break sb}tb:{if(g&16){d=N[f+16>>2];g=(g&64)>>>6|0;break tb}d=N[f+16>>2];g=(g&64)>>>6^(N[d+40>>2]&-3)==5}j=N[f+8>>2];N[h+16>>2]=N[f+72>>2];if(!ib(d,j,17537,h+16|0)){break sb}ub:{if(g){l=N[f+16>>2];n=N[l+68>>2];if(n>>>0>=2){i=N[l+80>>2];r=n-1|0;d=0;while(1){g=i+T(r,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];u=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=u;u=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=u;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;r=r-1|0;if(d>>>0>>0){continue}break}}vb:{if(!O[l+63|0]){break vb}d=N[l+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break vb}l=N[l+88>>2];r=d-1|0;d=0;while(1){g=l+T(r,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=l+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;r=r-1|0;if(d>>>0>>0){continue}break}}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}r=0;d=0;wb:{if(e>>>0>>0){break wb}d=0;if(e>>>0>=j>>>0){break wb}d=j-e|0;g=O[e|0]|O[e+1|0]<<8;g=(g<<8|g>>>8)&65535;r=(d>>>0>>0?d:g)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=r;ml(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}l=N[f+16>>2];n=N[l+68>>2];if(n>>>0>=2){i=N[l+80>>2];r=n-1|0;d=0;while(1){g=i+T(r,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];u=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=u;u=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=u;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;r=r-1|0;if(d>>>0>>0){continue}break}}if(!O[l+63|0]){break ub}d=N[l+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break ub}l=N[l+88>>2];r=d-1|0;d=0;while(1){g=l+T(r,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=l+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;r=r-1|0;if(d>>>0>>0){continue}break}break ub}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}r=0;d=0;xb:{if(e>>>0>>0){break xb}d=0;if(e>>>0>=j>>>0){break xb}d=j-e|0;g=O[e|0]|O[e+1|0]<<8;g=(g<<8|g>>>8)&65535;r=(d>>>0>>0?d:g)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=r;ml(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}}d=N[f+8>>2];g=N[f+16>>2];N[h>>2]=N[f+72>>2];ib(g,d,17560,h);d=N[f+16>>2];if(!O[d+60|0]){break rb}}d=O[e|0]|O[e+1|0]<<8;N[f+72>>2]=N[f+72>>2]+1;e=((d<<8|d>>>8)&65535)+e|0;k=k+1|0;if((o|0)!=(k|0)){continue}break}d=N[f+16>>2]}if(!O[d+60|0]){break qb}e=O[m+4|0]|O[m+5|0]<<8|(O[m+6|0]<<16|O[m+7|0]<<24);m=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+m|0;v=v+1|0;if((s|0)!=(v|0)){continue}break}}ib(c,b,8752,0)}ab(N[f+52>>2])}La=h+160|0;break $a}break b}d=N[b+24>>2]+144|0;e=N[Vb(d)>>2];e=e?e:275552;f=N[e+16>>2];e=N[e+12>>2];r=N[Vb(d)+8>>2];if(!ib(c,b,20436,0)){break $a}d=Ec(q+120|0,0,b,c);N[d+100>>2]=289;j=N[a+140>>2];if(j){v=f>>>0<4?275552:e;h=0;p=0;while(1){m=j>>>0<=p>>>0?275552:N[a+144>>2]+(p<<3)|0;if(Q[m>>2]>h>>>0){while(1){e=Q[a+116>>2]<=h>>>0?275552:N[a+120>>2]+T(h,12)|0;f=P[e>>1];g=N[e+8>>2];N[q+80>>2]=g&255;N[q+64>>2]=f;N[q+68>>2]=g>>>24;N[q+76>>2]=g>>>8&255;N[q+72>>2]=g>>>16&255;if(ib(c,b,24707,q- -64|0)){k=r+T(f,28)|0;yb:{if(!(!(N[d+116>>2]&N[k>>2])|!(N[d+120>>2]&N[k+4>>2])|!(N[d+124>>2]&N[k+8>>2]))){N[d+136>>2]=f;j=N[e+4>>2];N[d+32>>2]=0;N[d+132>>2]=j;N[d+24>>2]=0;N[d+28>>2]=0;g=N[d+140>>2];N[d+12>>2]=g;l=N[d+84>>2]==1;L[d+20|0]=l;L[d+21|0]=O[d+150|0];N[d+16>>2]=j;N[d+72>>2]=0;n=O[d+151|0];L[d+22|0]=n;N[d+64>>2]=0;N[d+68>>2]=0;N[d+52>>2]=g;N[d+8>>2]=d;N[d+48>>2]=d;L[d+61|0]=1;N[d+56>>2]=-1;L[d+62|0]=n;i=l|O[d+149|0]!=0;L[d+60|0]=i;s=O[e+2|0];N[d+28>>2]=0;N[d+32>>2]=0;N[d+12>>2]=g;N[d+68>>2]=0;N[d+72>>2]=0;N[d+16>>2]=j;N[d+52>>2]=g;N[d+56>>2]=-1;L[d+20|0]=l;L[d+22|0]=n;L[d+60|0]=i;L[d+62|0]=n;i=s>>>1&1;L[d+21|0]=i;L[d+150|0]=i;s=O[e+2|0];L[d+21|0]=i;L[d+20|0]=l;L[d+22|0]=n;L[d+62|0]=n;L[d+61|0]=1;N[d+24>>2]=0;N[d+12>>2]=g;N[d+64>>2]=0;N[d+16>>2]=j;N[d+52>>2]=g;L[d+149|0]=s&1;n=(l|s)&1;L[d+60|0]=n;N[d+8>>2]=d;N[d+48>>2]=d;L[d+152|0]=O[e+2|0]>>>2&1;s=O[e+2|0];N[d+28>>2]=0;N[d+32>>2]=0;L[d+21|0]=i;L[d+20|0]=l;N[d+12>>2]=g;N[d+16>>2]=j;N[d+68>>2]=0;N[d+72>>2]=0;L[d+60|0]=n;N[d+52>>2]=g;N[d+56>>2]=-1;g=s>>>3&1;L[d+151|0]=g;L[d+22|0]=g;L[d+62|0]=g;j=275552;zb:{if((O[v|0]|O[v+1|0]<<8)!=256){break zb}i=275552;g=O[v+8|0]|O[v+9|0]<<8;if(g){i=v+((g<<8|g>>>8)&65535)|0}g=O[i|0]|O[i+1|0]<<8;if(f>>>0>=((g<<8|g>>>8)&65535)>>>0){break zb}g=(f<<1)+i|0;g=O[g+2|0]|O[g+3|0]<<8;if(!g){break zb}j=((g<<8|g>>>8)&65535)+i|0}Mj(d,j,k);break yb}g=N[e+8>>2];N[q+48>>2]=g&255;N[q+32>>2]=f;N[q+36>>2]=g>>>24;N[q+44>>2]=g>>>8&255;N[q+40>>2]=g>>>16&255;ib(c,b,11287,q+32|0)}e=N[e+8>>2];N[q+16>>2]=e&255;N[q>>2]=f;N[q+4>>2]=e>>>24;N[q+12>>2]=e>>>8&255;N[q+8>>2]=e>>>16&255;ib(c,b,24742,q)}h=h+1|0;if(h>>>0>2]){continue}break}}e=N[m+4>>2];Ab:{if(!e){break Ab}if(!(Qa[e|0](J,b,c)|0)){break Ab}e=N[c+68>>2];Bb:{if(!e){n=0;g=0;l=0;break Bb}g=0;j=N[c+80>>2];n=j;l=0;m=e>>>0<4;if(!m){f=e&-4;i=0;while(1){l=1<<(N[n>>2]>>>4)|l|1<<(N[n+20>>2]>>>4)|1<<(N[n+40>>2]>>>4)|1<<(N[n+60>>2]>>>4);n=n+80|0;i=i+4|0;if((f|0)!=(i|0)){continue}break}}f=e&3;if(f){while(1){l=1<<(N[n>>2]>>>4)|l;n=n+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}i=0;n=j;g=0;if(!m){s=e&-4;k=0;while(1){g=1<>2]|g|1<>2]|1<>2]|1<>2];n=n+80|0;k=k+4|0;if((s|0)!=(k|0)){continue}break}}if(f){while(1){g=1<>2]|g;n=n+20|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}i=0;Cb:{if(m){n=0;break Cb}e=e&-4;n=0;k=0;while(1){n=1<<(N[j>>2]>>>9)|n|1<<(N[j+20>>2]>>>9)|1<<(N[j+40>>2]>>>9)|1<<(N[j+60>>2]>>>9);j=j+80|0;k=k+4|0;if((e|0)!=(k|0)){continue}break}}if(!f){break Bb}while(1){n=1<<(N[j>>2]>>>9)|n;j=j+20|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}N[d+124>>2]=n;N[d+120>>2]=g;N[d+116>>2]=l}j=N[a+140>>2];p=p+1|0;if(j>>>0>p>>>0){continue}break}}_a(N[d+112>>2]);ib(c,b,20453,0)}if((P[a+200>>1]&8704)==8704){ll(c)}N[c+72>>2]=0;M[c+62>>1]=256;n=N[c+80>>2];N[c+84>>2]=n;j=N[c+68>>2];d=T(j,20);if(d){C(N[c+88>>2],0,d);n=N[c+80>>2];j=N[c+68>>2]}d=N[c+88>>2];Db:{if((N[c+40>>2]&-2)==4){e=N[b+96>>2];f=N[e+48>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+28>>2]}else{e=0}Qa[f|0](b,g,j,n,20,d,20,e);e=N[147126];f=b;while(1){if((e|0)==N[N[f+96>>2]+56>>2]){f=N[f+20>>2];if(!f){break Db}if((f|0)!=588752){continue}break Db}break}if(!j){break Db}h=0;while(1){e=T(h,20);Jd(b,N[e+n>>2],q+120|0,q+96|0);e=d+e|0;N[e+8>>2]=N[e+8>>2]-N[q+120>>2];N[e+12>>2]=N[e+12>>2]-N[q+96>>2];h=h+1|0;if((j|0)!=(h|0)){continue}break}break Db}e=N[b+96>>2];f=N[e+52>>2];h=0;i=N[b+100>>2];g=d+4|0;e=N[e+12>>2];if(e){e=N[e+32>>2]}else{e=0}Qa[f|0](b,i,j,n,20,g,20,e);if(!j){break Db}while(1){e=T(h,20);rq(b,N[e+n>>2],q+120|0,q+96|0);e=d+e|0;N[e+8>>2]=N[e+8>>2]-N[q+120>>2];N[e+12>>2]=N[e+12>>2]-N[q+96>>2];h=h+1|0;if((j|0)!=(h|0)){continue}break}}Eb:{if(O[c+144|0]&4){n=N[c+68>>2];if(!n){break Eb}k=N[c+80>>2];g=N[c+88>>2];h=(N[c+40>>2]&-2)!=4;f=0;while(1){j=T(f,20);d=j+k|0;Fb:{if((P[d+16>>1]&31)!=29|O[d+12|0]&32){break Fb}e=N[c+28>>2];Gb:{if(!e|(e|0)!=N[d>>2]){break Gb}if(!h){N[g+j>>2]=N[b+28>>2]/4;break Gb}N[(g+j|0)+4>>2]=N[b+32>>2]/-4}Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{d=P[d+16>>1];d=(d&31)==29?d>>>8|0:0;switch(d-1|0){case 20:break Jb;case 19:break Kb;case 18:break Lb;case 16:break Mb;case 0:case 1:case 2:case 3:case 4:case 5:case 15:break Nb;default:break Fb}}e=d>>>1|0;if(!h){N[g+j>>2]=(e+N[b+28>>2]|0)/(d|0);break Fb}N[(g+j|0)+4>>2]=0-((e+N[b+32>>2]|0)/(d|0)|0);break Fb}if(!h){d=N[b+28>>2];o=d>>31<<2|d>>>30;ea=g+j|0,fa=VE(d<<2,o,18,0),N[ea>>2]=fa;break Fb}d=0-N[b+32>>2]|0;r=d>>31<<2|d>>>30;ea=g+j|0,fa=VE(d<<2,r,18,0),N[ea+4>>2]=fa;break Fb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,l,48,i,d)|0)){break Ib}break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,l,46,i,d)|0)){N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,l,44,i,d)|0)){break Fb}}d=N[b+100>>2];i=N[b+96>>2];l=N[i+12>>2];e=N[q+120>>2];if(!h){i=N[i+40>>2];ea=g+j|0,fa=Qa[i|0](b,d,e,l?N[l+20>>2]:0)|0,N[ea>>2]=fa;break Fb}i=N[i+44>>2];ea=g+j|0,fa=Qa[i|0](b,d,e,l?N[l+24>>2]:0)|0,N[ea+4>>2]=fa;break Fb}if(!h){d=g+j|0;N[d>>2]=N[d>>2]/2;break Fb}d=g+j|0;N[d+4>>2]=N[d+4>>2]/2;break Fb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,l,49,i,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,l,50,i,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,l,51,i,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,l,52,i,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,l,53,i,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,l,54,i,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,l,55,i,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,l,56,i,d)|0){break Hb}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];l=N[b+100>>2];i=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,l,57,i,d)|0)){break Fb}}d=N[b+100>>2];i=N[b+96>>2];l=N[i+12>>2];e=N[q+120>>2];if(!h){i=N[i+40>>2];ea=g+j|0,fa=Qa[i|0](b,d,e,l?N[l+20>>2]:0)|0,N[ea>>2]=fa;break Fb}i=N[i+44>>2];ea=g+j|0,fa=Qa[i|0](b,d,e,l?N[l+24>>2]:0)|0,N[ea+4>>2]=fa}f=f+1|0;if((n|0)!=(f|0)){continue}break}}n=N[c+68>>2]}v=0;v=L[a+201|0]&1?(N[c+40>>2]&-3)==4:v;ca=N[c+80>>2];da=N[c+88>>2];d=N[147126];f=b;Ob:{Pb:{Qb:{while(1){if((d|0)!=N[N[f+96>>2]+56>>2]){break Qb}f=N[f+20>>2];if((f|0)!=588752?f:0){continue}break}g=n;j=(g|0)!=0;break Pb}j=0;if(!n){break Ob}while(1){d=T(j,20);Jd(b,N[d+ca>>2],q+120|0,q+96|0);d=d+da|0;N[d+8>>2]=N[d+8>>2]+N[q+120>>2];N[d+12>>2]=N[d+12>>2]+N[q+96>>2];j=j+1|0;if((n|0)!=(j|0)){continue}break}g=N[c+68>>2];j=1}if(!g){break Ob}h=0;f=0;if(g>>>0>=4){d=g&-4;while(1){e=T(f,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|1,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|2,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|3,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;f=f+4|0;if((d|0)!=(f|0)){continue}break}}d=g&3;if(!d){break Ob}while(1){e=T(f,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;f=f+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}Rb:{if(!(O[a+200|0]&32)|N[N[a+80>>2]+48>>2]!=1){break Rb}e=N[c+68>>2];if(!e){break Rb}g=N[c+80>>2];if(v){h=0;while(1){d=T(h,20);if(O[(d+g|0)+12|0]&8){d=d+N[c+88>>2]|0;f=N[d+4>>2];N[d+4>>2]=0;l=N[d>>2];N[d>>2]=0;N[d+8>>2]=N[d+8>>2]-l;N[d+12>>2]=N[d+12>>2]-f}h=h+1|0;if((e|0)!=(h|0)){continue}break}break Rb}f=0;if((e|0)!=1){d=e&1;e=e&-2;while(1){h=T(f,20);if(O[(h+g|0)+12|0]&8){h=h+N[c+88>>2]|0;N[h>>2]=0;N[h+4>>2]=0}h=T(f|1,20);if(O[(h+g|0)+12|0]&8){h=h+N[c+88>>2]|0;N[h>>2]=0;N[h+4>>2]=0}f=f+2|0;if((e|0)!=(f|0)){continue}break}if(!d){break Rb}}d=T(f,20);if(!(O[(d+g|0)+12|0]&8)){break Rb}d=d+N[c+88>>2]|0;N[d>>2]=0;N[d+4>>2]=0}s=c;k=0;l=0;i=La-448|0;La=i;Sb:{c=P[J+140>>1];if(c&512){c=N[b+24>>2]+148|0;d=N[mc(c)>>2];d=d?d:275552;f=N[d+16>>2];d=N[d+12>>2];x=N[mc(c)+8>>2];if(!ib(s,b,19444,0)){break Sb}h=Ec(i+272|0,1,b,s);N[h+100>>2]=286;e=N[J+92>>2];if(e){l=f>>>0<4?275552:d;while(1){r=e>>>0<=t>>>0?275552:N[J+96>>2]+(t<<3)|0;if(Q[r>>2]>k>>>0){while(1){d=Q[J+68>>2]<=k>>>0?275552:N[J+72>>2]+T(k,12)|0;f=P[d>>1];c=N[d+8>>2];N[i+176>>2]=c&255;N[i+160>>2]=f;N[i+164>>2]=c>>>24;N[i+172>>2]=c>>>8&255;N[i+168>>2]=c>>>16&255;if(ib(s,b,24707,i+160|0)){w=x+T(f,28)|0;Tb:{if(!(!(N[h+116>>2]&N[w>>2])|!(N[h+120>>2]&N[w+4>>2])|!(N[h+124>>2]&N[w+8>>2]))){N[h+136>>2]=f;e=N[d+4>>2];N[h+32>>2]=0;N[h+132>>2]=e;N[h+24>>2]=0;N[h+28>>2]=0;c=N[h+140>>2];N[h+12>>2]=c;g=N[h+84>>2]==1;L[h+20|0]=g;L[h+21|0]=O[h+150|0];N[h+16>>2]=e;N[h+72>>2]=0;m=O[h+151|0];L[h+22|0]=m;N[h+64>>2]=0;N[h+68>>2]=0;N[h+52>>2]=c;N[h+8>>2]=h;N[h+48>>2]=h;L[h+61|0]=1;N[h+56>>2]=-1;L[h+62|0]=m;p=g|O[h+149|0]!=0;L[h+60|0]=p;o=O[d+2|0];N[h+28>>2]=0;N[h+32>>2]=0;N[h+12>>2]=c;N[h+68>>2]=0;N[h+72>>2]=0;N[h+16>>2]=e;N[h+52>>2]=c;N[h+56>>2]=-1;L[h+20|0]=g;L[h+22|0]=m;L[h+60|0]=p;L[h+62|0]=m;p=o>>>1&1;L[h+21|0]=p;L[h+150|0]=p;o=O[d+2|0];L[h+21|0]=p;L[h+20|0]=g;L[h+22|0]=m;L[h+62|0]=m;L[h+61|0]=1;N[h+24>>2]=0;N[h+12>>2]=c;N[h+64>>2]=0;N[h+16>>2]=e;N[h+52>>2]=c;L[h+149|0]=o&1;m=(g|o)&1;L[h+60|0]=m;N[h+8>>2]=h;N[h+48>>2]=h;L[h+152|0]=O[d+2|0]>>>2&1;o=O[d+2|0];N[h+28>>2]=0;N[h+32>>2]=0;L[h+21|0]=p;L[h+20|0]=g;N[h+12>>2]=c;N[h+16>>2]=e;N[h+68>>2]=0;N[h+72>>2]=0;L[h+60|0]=m;N[h+52>>2]=c;N[h+56>>2]=-1;c=o>>>3&1;L[h+151|0]=c;L[h+22|0]=c;L[h+62|0]=c;c=275552;Ub:{if((O[l|0]|O[l+1|0]<<8)!=256){break Ub}e=275552;g=O[l+8|0]|O[l+9|0]<<8;if(g){e=l+((g<<8|g>>>8)&65535)|0}g=O[e|0]|O[e+1|0]<<8;if(f>>>0>=((g<<8|g>>>8)&65535)>>>0){break Ub}g=(f<<1)+e|0;g=O[g+2|0]|O[g+3|0]<<8;if(!g){break Ub}c=((g<<8|g>>>8)&65535)+e|0}g=N[h+96>>2];if(!N[g+68>>2]){break Tb}m=N[h+132>>2];if(!m){break Tb}e=O[c+2|0]|O[c+3|0]<<8;p=e<<8|e>>>8;e=p&65535;if(p&16){o=c;c=O[c+4|0]|O[c+5|0]<<8;c=o+(((c<<8|c>>>8)&65535)<<1)|0;c=O[c+6|0]|O[c+7|0]<<8;e=c<<24|c<<8&16711680|e}N[h+32>>2]=0;N[h+140>>2]=e;N[h+24>>2]=0;N[h+28>>2]=0;N[h+12>>2]=e;N[h+16>>2]=m;N[h+72>>2]=0;N[h+64>>2]=0;N[h+68>>2]=0;N[h+52>>2]=e;L[h+61|0]=1;L[h+21|0]=O[h+150|0];c=O[h+151|0];L[h+22|0]=c;e=N[h+84>>2]==1;L[h+20|0]=e;L[h+60|0]=e|O[h+149|0]!=0;N[h+8>>2]=h;N[h+48>>2]=h;L[h+62|0]=c;N[h+56>>2]=-1;N[g+64>>2]=0;Lj(h,w);break Tb}c=N[d+8>>2];N[i+144>>2]=c&255;N[i+128>>2]=f;N[i+132>>2]=c>>>24;N[i+140>>2]=c>>>8&255;N[i+136>>2]=c>>>16&255;ib(s,b,11287,i+128|0)}c=N[d+8>>2];N[i+112>>2]=c&255;N[i+96>>2]=f;N[i+100>>2]=c>>>24;N[i+108>>2]=c>>>8&255;N[i+104>>2]=c>>>16&255;ib(s,b,24742,i+96|0)}k=k+1|0;if(k>>>0>2]){continue}break}}c=N[r+4>>2];Vb:{if(!c){break Vb}if(!(Qa[c|0](J,b,s)|0)){break Vb}m=N[s+68>>2];Wb:{if(!m){d=0;g=0;f=0;break Wb}g=0;e=N[s+80>>2];d=e;f=0;p=m>>>0<4;if(!p){w=m&-4;c=0;while(1){f=1<<(N[d>>2]>>>4)|f|1<<(N[d+20>>2]>>>4)|1<<(N[d+40>>2]>>>4)|1<<(N[d+60>>2]>>>4);d=d+80|0;c=c+4|0;if((w|0)!=(c|0)){continue}break}}w=m&3;if(w){while(1){f=1<<(N[d>>2]>>>4)|f;d=d+20|0;g=g+1|0;if((w|0)!=(g|0)){continue}break}}c=0;d=e;g=0;if(!p){r=m&-4;u=0;while(1){g=1<>2]|g|1<>2]|1<>2]|1<>2];d=d+80|0;u=u+4|0;if((r|0)!=(u|0)){continue}break}}if(w){while(1){g=1<>2]|g;d=d+20|0;c=c+1|0;if((w|0)!=(c|0)){continue}break}}c=0;Xb:{if(p){d=0;break Xb}m=m&-4;d=0;u=0;while(1){d=1<<(N[e>>2]>>>9)|d|1<<(N[e+20>>2]>>>9)|1<<(N[e+40>>2]>>>9)|1<<(N[e+60>>2]>>>9);e=e+80|0;u=u+4|0;if((m|0)!=(u|0)){continue}break}}if(!w){break Wb}while(1){d=1<<(N[e>>2]>>>9)|d;e=e+20|0;c=c+1|0;if((w|0)!=(c|0)){continue}break}}N[h+124>>2]=d;N[h+120>>2]=g;N[h+116>>2]=f}e=N[J+92>>2];t=t+1|0;if(e>>>0>t>>>0){continue}break}}_a(N[h+112>>2]);ib(s,b,19461,0);break Sb}if(!(c&4096)){break Sb}f=N[b+24>>2];c=N[f+164>>2];Yb:{if(c){break Yb}while(1){c=N[f+48>>2];if(!c){c=275552;break Yb}N[i+280>>2]=0;N[i+284>>2]=0;N[i+288>>2]=0;N[i+292>>2]=0;L[i+296|0]=0;N[i+272>>2]=0;N[i+276>>2]=0;N[i+300>>2]=0;N[i+304>>2]=0;e=N[c+32>>2];if((e|0)==-1){d=sb(c+56|0);d=O[d+4|0]|O[d+5|0]<<8;e=(d<<8|d>>>8)&65535;N[c+32>>2]=e}L[i+312|0]=1;N[i+308>>2]=e;d=N[c+12>>2];Zb:{if(d){c=Qa[d|0](c,1801810552,N[c+16>>2])|0;if(c){break Zb}}c=275552}d=kl(i+272|0,c);c=N[f+164>>2];_b:{if(d){if(c){break _b}c=d;N[f+164>>2]=c;break Yb}if(c){break Yb}c=275552;N[f+164>>2]=275552;break Yb}if((d|0)==275552){break Yb}ab(d);c=N[f+164>>2];if(!c){continue}break}}g=N[c+16>>2];m=N[c+12>>2];p=Ue(i+196|0,J,b,s,c);$b:{if(ib(s,b,8026,0)){d=N[b+24>>2];k=N[d+168>>2];ac:{if(k){break ac}while(1){c=N[d+48>>2];if(!c){k=275552;break ac}N[i+288>>2]=0;N[i+300>>2]=0;f=N[c+32>>2];if((f|0)==-1){e=sb(c+56|0);e=O[e+4|0]|O[e+5|0]<<8;f=(e<<8|e>>>8)&65535;N[c+32>>2]=f}L[i+312|0]=1;N[i+308>>2]=f;e=N[c+12>>2];bc:{if(e){h=Qa[e|0](c,1634626418,N[c+16>>2])|0;if(h){break bc}}h=275552}cc:{dc:{ec:{fc:{gc:{hc:{ic:{c=N[h>>2];if(c){if((c|0)<=0){break ic}N[h>>2]=c+1}L[i+296|0]=0;N[i+304>>2]=h;k=N[h+12>>2];N[i+276>>2]=k;c=N[h+16>>2];N[i+280>>2]=c+k;if((c|0)<0){break b}N[i+292>>2]=0;N[i+272>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[i+284>>2]=c;c=h;if(!k){break dc}if(nh(k,i+272|0)){break hc}jc:{if(O[i+296|0]|!N[i+300>>2]){break jc}if(!zb(h)){break jc}while(1){L[i+296|0]=1;c=N[i+304>>2];k=N[c+12>>2];N[i+276>>2]=k;e=N[c+16>>2];N[i+280>>2]=e+k;if((e|0)<0){break b}N[i+300>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[i+284>>2]=e;N[i+292>>2]=0;N[i+272>>2]=0;if(!k){break dc}if(nh(k,i+272|0)){break hc}if(O[i+296|0]|!N[i+300>>2]){break jc}c=zb(h);N[i+276>>2]=c;N[i+280>>2]=c+N[h+16>>2];if(c){continue}break}}ab(N[i+304>>2]);break gc}ba(23506,14099,260,16403);B()}if(!N[i+300>>2]){break fc}N[i+300>>2]=0;c=nh(k,i+272|0);e=N[i+300>>2];ab(N[i+304>>2]);if(e){break gc}if(c){break ec}}ab(h);k=N[d+168>>2];if(k){break ac}k=275552;N[d+168>>2]=275552;break ac}ab(N[i+304>>2])}if(!N[h+4>>2]){break cc}N[h+4>>2]=0;break cc}ab(c)}k=N[d+168>>2];if(!k){k=h;N[d+168>>2]=h;break ac}if((h|0)==275552){break ac}ab(h);k=N[d+168>>2];if(!k){continue}break}}c=N[k+12>>2];d=N[k+16>>2];N[p+72>>2]=0;N[p+64>>2]=d>>>0<12?275552:c;c=g>>>0<8?275552:m;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(d){d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);Y=d>>>0<=1?1:d;K=d-1|0;d=c+8|0;H=i+276|0;e=0;while(1){c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);f=N[p+16>>2];g=N[f+40>>2];kc:{if((!(c&128)|0)==((g&-2)!=4|0)){break kc}h=N[p+8>>2];N[i+80>>2]=e;if(!ib(f,h,17581,i+80|0)){break kc}_=(c&16)>>>4^(g&-3)!=5;c=1;lc:{if(w){break lc}c=0;if(!(O[d+4|0]&64)){break lc}f=N[p+16>>2];e=N[f+68>>2];c=1;if(!e){break lc}f=N[f+88>>2];k=0;if((e|0)!=1){g=e&1;c=e&-2;while(1){e=f+T(k,20)|0;L[e+18|0]=2;M[e+16>>1]=(N[N[p+16>>2]+40>>2]&-3)==4?-1:1;e=f+T(k|1,20)|0;L[e+18|0]=2;M[e+16>>1]=(N[N[p+16>>2]+40>>2]&-3)==4?-1:1;k=k+2|0;if((c|0)!=(k|0)){continue}break}c=1;if(!g){break lc}}c=f+T(k,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[p+16>>2]+40>>2]&-3)==4?-1:1;c=1}w=c;mc:{if(_){break mc}h=N[p+16>>2];k=N[h+68>>2];if(k>>>0>=2){m=N[h+80>>2];g=k-1|0;f=0;while(1){c=m+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=m+T(f,20)|0;N[c+16>>2]=N[e+16>>2];t=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=t;t=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=t;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[h+63|0]){break mc}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break mc}h=N[h+88>>2];g=c-1|0;f=0;while(1){c=h+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(f,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}e=N[p+52>>2];c=N[e+12>>2];N[p+24>>2]=c;f=N[e+16>>2];e=f+c|0;N[p+28>>2]=e;nc:{oc:{pc:{qc:{rc:{if((f|0)>=0){sc:{if(l>>>0>=K>>>0){break sc}f=c;c=l>>>0>>0?d:0;if(!(f>>>0<=c>>>0&c>>>0>>0)){N[p+24>>2]=0;N[p+28>>2]=0;break sc}N[p+24>>2]=c;f=e-c|0;e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);N[p+28>>2]=c+(e>>>0>f>>>0?f:e)}tc:{c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);e=c>>>24|0;switch(e|0){case 1:break oc;case 2:break pc;case 4:break qc;case 6:break rc;case 0:break tc;default:break nc}}f=N[p+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}A=N[f+132>>2];t=N[p+16>>2];r=N[p+8>>2];if(!ib(t,r,12581,0)){break nc}if(O[t+16|0]&64){wb(t,2,0,-1,1,0)}c=Ec(i+272|0,1,r,t);N[i+404>>2]=A;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=A;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;f=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(f|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;g=N[t+68>>2];if(g){X=N[t+40>>2]&-2;u=N[t+88>>2];z=N[t+80>>2];D=e&1073741824;S=d+28|0;c=0;while(1){uc:{vc:{y=T(c,20);h=y+z|0;if(!(A&N[h+4>>2])){break vc}N[i+308>>2]=1;N[i+276>>2]=c;e=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[e+68>>2];L[i+295|0]=O[i+294|0]?N[e+64>>2]==(c|0)?O[(y+N[e+80>>2]|0)+15|0]:0:0;if(!kc(H,i+440|0)){break vc}f=N[i+276>>2];x=T(f,20);e=O[d+12|0]|O[d+13|0]<<8|(O[d+14|0]<<16|O[d+15|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);wc:{if((e|0)>0){m=N[x+z>>2];o=N[h>>2];k=e-1|0;e=0;while(1){xc:{yc:{G=e+k>>>1|0;h=S+T(G,6)|0;E=O[h|0]|O[h+1|0]<<8;E=(E<<8|E>>>8)&65535;zc:{if((E|0)==(o|0)){E=O[h+2|0]|O[h+3|0]<<8;E=(E<<8|E>>>8)&65535;if(E>>>0>m>>>0){break zc}if((m|0)==(E|0)){break wc}break yc}if(o>>>0>=E>>>0){break yc}}k=G-1|0;break xc}e=G+1|0}if((e|0)<=(k|0)){continue}break}}h=275552}e=O[h+4|0]|O[h+5|0]<<8;k=(e<<8|e>>>8)<<16>>16;h=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(h){m=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if((m|0)<0){break uc}h=d+k|0;Ac:{k=m<<1;if(!k){break Ac}if(h>>>0>2]){break uc}m=N[p+28>>2];if(m>>>0>>0){break uc}if(k>>>0>m-h>>>0){break uc}e=N[p+32>>2]-k|0;N[p+32>>2]=e;if((e|0)>0){break Ac}break uc}e=O[h|0]|O[h+1|0]<<8;k=(e<<8|e>>>8)<<16>>16}if(!k){break uc}e=k>>31;Bc:{if((X|0)==4){e=UE(N[r+56>>2],N[r+60>>2],k,e);o=Pa;e=e+32768|0;e=((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16;if(D){N[(u+x|0)+12>>2]=e;N[t+144>>2]=N[t+144>>2]|8;break Bc}h=u+y|0;k=e>>1;N[h>>2]=k+N[h>>2];h=u+x|0;e=e-k|0;N[h>>2]=e+N[h>>2];N[h+8>>2]=e+N[h+8>>2];break Bc}e=UE(N[r+64>>2],N[r+68>>2],k,e);m=Pa;e=e+32768|0;e=((e>>>0<32768?m+1|0:m)&65535)<<16|e>>>16;if(D){N[(u+x|0)+8>>2]=e;N[t+144>>2]=N[t+144>>2]|8;break Bc}h=u+y|0;k=e>>1;N[h+4>>2]=k+N[h+4>>2];h=u+x|0;e=e-k|0;N[h+4>>2]=e+N[h+4>>2];N[h+12>>2]=e+N[h+12>>2]}Sc(t,c,f+1|0);f=N[i+276>>2];break uc}f=c+1|0}c=f;if(g>>>0>c>>>0){continue}break}}ib(t,r,12662,0);_a(N[i+384>>2]);break nc}break b}f=N[p+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}z=N[f+132>>2];h=N[p+16>>2];x=N[p+8>>2];if(!ib(h,x,12581,0)){break nc}if(O[h+16|0]&64){wb(h,2,0,-1,1,0)}c=Ec(i+272|0,1,x,h);N[i+404>>2]=z;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=z;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;f=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(f|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;f=N[h+68>>2];if(f){S=N[h+40>>2]&-2;A=N[h+88>>2];G=N[h+80>>2];X=e&1073741824;k=0;while(1){Cc:{Dc:{D=T(k,20);t=D+G|0;if(!(z&N[t+4>>2])){break Dc}N[i+308>>2]=1;N[i+276>>2]=k;c=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[c+68>>2];L[i+295|0]=O[i+294|0]?N[c+64>>2]==(k|0)?O[(D+N[c+80>>2]|0)+15|0]:0:0;if(!kc(H,i+440|0)){break Dc}c=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;g=O[e|0]|O[e+1|0]<<8;E=N[i+276>>2];y=T(E,20);m=N[y+G>>2];r=N[p+56>>2];c=N[t>>2];Ec:{Fc:{Gc:{if(L[d+15|0]&1){Hc:{Ic:{Jc:{if((g|0)==2560){g=0;t=O[e+4|0]|O[e+5|0]<<8;t=(t<<8|t>>>8)&65535;if(t>>>0>c>>>0){break Hc}o=O[e+6|0]|O[e+7|0]<<8;I=(o<<8|o>>>8)&65535;o=c-t|0;if(I>>>0<=o>>>0){break Hc}c=O[e+2|0]|O[e+3|0]<<8;t=(c<<8|c>>>8)&65535;o=T(o,t);if((o|0)<0){e=275552}else{c=O[e+2|0]|O[e+3|0]<<8;t=(c<<8|c>>>8)&65535;e=(e+o|0)+8|0}if(!c){break Hc}g=t>>>0<=1?1:t;t=g&3;c=0;if(g>>>0>=4){break Jc}g=0;break Ic}c=il(e,c,r);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break Hc}e=(g&65532)+e|0;g=e-4|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24)}if(!t){break Hc}while(1){g=O[e|0]|g<<8;e=e+1|0;c=c+1|0;if((t|0)!=(c|0)){continue}break}}Kc:{Lc:{Mc:{c=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;if((O[c|0]|O[c+1|0]<<8)==2560){e=0;t=O[c+4|0]|O[c+5|0]<<8;t=(t<<8|t>>>8)&65535;if(t>>>0>m>>>0){break Kc}t=m-t|0;r=O[c+6|0]|O[c+7|0]<<8;if(t>>>0>=((r<<8|r>>>8)&65535)>>>0){break Kc}m=O[c+2|0]|O[c+3|0]<<8;u=(m<<8|m>>>8)&65535;t=T(t,u);if((t|0)<0){c=275552}else{m=O[c+2|0]|O[c+3|0]<<8;u=(m<<8|m>>>8)&65535;c=(c+t|0)+8|0}if(!m){break Kc}e=u>>>0<=1?1:u;t=e&3;m=0;if(e>>>0>=4){break Mc}e=0;break Lc}c=il(c,m,r);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break Kc}c=(e&65532)+c|0;e=c-4|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}if(!t){break Kc}while(1){e=O[c|0]|e<<8;c=c+1|0;m=m+1|0;if((t|0)!=(m|0)){continue}break}}c=e;e=e+g|0;if(c>>>0>e>>>0|e>>>0>1073741823){break Ec}t=N[p+24>>2];c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);c=((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)+(e<<2)|0;if(t>>>0>c>>>0){break Ec}g=N[p+28>>2];if(g>>>0>>0|g-c>>>0<4){break Ec}m=N[p+32>>2]-4|0;N[p+32>>2]=m;if((m|0)<=0){break Ec}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);r=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);c=r;if(!e){break Fc}o=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((o|0)<0){break Ec}c=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);e=r+((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)|0;c=o<<1;if(!c){break Gc}if(e>>>0>>0|e>>>0>g>>>0|c>>>0>g-e>>>0){break Ec}c=m-c|0;N[p+32>>2]=c;if((c|0)>0){break Gc}break Ec}Nc:{if((g|0)==2560){g=0;t=O[e+4|0]|O[e+5|0]<<8;t=(t<<8|t>>>8)&65535;if(t>>>0>c>>>0){break Nc}o=O[e+6|0]|O[e+7|0]<<8;I=(o<<8|o>>>8)&65535;o=c-t|0;if(I>>>0<=o>>>0){break Nc}c=O[e+2|0]|O[e+3|0]<<8;t=(c<<8|c>>>8)&65535;o=T(o,t);if((o|0)<0){e=275552}else{c=O[e+2|0]|O[e+3|0]<<8;t=(c<<8|c>>>8)&65535;e=(e+o|0)+8|0}if(!c){break Nc}g=t>>>0<=1?1:t;t=g&3;c=0;if(g>>>0<4){g=0}else{e=(g&65532)+e|0;g=e-4|0;g=O[g+2|0]<<8|O[g+3|0]}if(!t){break Nc}while(1){g=O[e|0]|g<<8;e=e+1|0;c=c+1|0;if((t|0)!=(c|0)){continue}break}break Nc}c=cc(e,c,r);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8;g=c<<8|c>>>8}t=g&65535;c=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);g=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;Oc:{if((O[g|0]|O[g+1|0]<<8)==2560){e=0;c=O[g+4|0]|O[g+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>m>>>0){break Oc}r=O[g+6|0]|O[g+7|0]<<8;o=(r<<8|r>>>8)&65535;r=m-c|0;if(o>>>0<=r>>>0){break Oc}c=O[g+2|0]|O[g+3|0]<<8;m=(c<<8|c>>>8)&65535;r=T(r,m);if((r|0)<0){g=275552}else{c=O[g+2|0]|O[g+3|0]<<8;m=(c<<8|c>>>8)&65535;g=(g+r|0)+8|0}if(!c){break Oc}e=m>>>0<=1?1:m;m=e&3;c=0;if(e>>>0<4){e=0}else{g=(e&65532)+g|0;e=g-4|0;e=O[e+2|0]<<8|O[e+3|0]}if(!m){break Oc}while(1){e=O[g|0]|e<<8;g=g+1|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}break Oc}c=cc(g,m,r);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8;e=c<<8|c>>>8}r=N[p+24>>2];c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);c=((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)+(t+(e&65535)<<1)|0;if(r>>>0>c>>>0){break Ec}g=N[p+28>>2];if(g>>>0>>0|g-c>>>0<2){break Ec}m=N[p+32>>2]-2|0;N[p+32>>2]=m;if((m|0)<=0){break Ec}c=O[c|0]|O[c+1|0]<<8;t=(c<<8|c>>>8)<<16>>16;e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);c=t;if(!e){break Fc}o=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((o|0)<0){break Ec}c=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);e=t+((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)|0;c=o<<1;if(!c){break Gc}if(e>>>0>>0|e>>>0>g>>>0|c>>>0>g-e>>>0){break Ec}c=m-c|0;N[p+32>>2]=c;if((c|0)<=0){break Ec}}c=O[e|0]|O[e+1|0]<<8;c=(c<<8|c>>>8)<<16>>16}if(!c){break Ec}c=c<<16>>16;e=c>>31;Pc:{if((S|0)==4){c=UE(N[x+56>>2],N[x+60>>2],c,e);r=Pa;c=c+32768|0;c=((c>>>0<32768?r+1|0:r)&65535)<<16|c>>>16;if(X){N[(y+A|0)+12>>2]=c;N[h+144>>2]=N[h+144>>2]|8;break Pc}e=A+D|0;g=c>>1;N[e>>2]=g+N[e>>2];e=y+A|0;c=c-g|0;N[e>>2]=c+N[e>>2];N[e+8>>2]=c+N[e+8>>2];break Pc}c=UE(N[x+64>>2],N[x+68>>2],c,e);o=Pa;c=c+32768|0;c=((c>>>0<32768?o+1|0:o)&65535)<<16|c>>>16;if(X){N[(y+A|0)+8>>2]=c;N[h+144>>2]=N[h+144>>2]|8;break Pc}e=A+D|0;g=c>>1;N[e+4>>2]=g+N[e+4>>2];e=y+A|0;c=c-g|0;N[e+4>>2]=c+N[e+4>>2];N[e+12>>2]=c+N[e+12>>2]}Sc(h,k,E+1|0)}k=N[i+276>>2];break Cc}k=k+1|0}if(f>>>0>k>>>0){continue}break}}ib(h,x,12662,0);_a(N[i+384>>2]);break nc}c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);h=N[p+16>>2];e=N[N[p+8>>2]+24>>2];r=N[e+32>>2];if((r|0)==-1){f=e;e=sb(e+56|0);e=O[e+4|0]|O[e+5|0]<<8;r=(e<<8|e>>>8)&65535;N[f+32>>2]=r}N[h+64>>2]=0;if(!O[h+60|0]){break nc}x=d+12|0;y=x+(c>>>8&65280|c>>>24|(c&65280)<<8)|0;D=c<<24>>>30|0;m=0;t=0;u=0;while(1){e=N[h+64>>2];c=0;Qc:{if(e>>>0>=Q[h+68>>2]){break Qc}f=N[N[h+80>>2]+T(e,20)>>2];c=2;if((f|0)==65535){break Qc}e=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);e=cc(x+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0,f,r);c=1;if(!e){break Qc}c=O[e|0]|O[e+1|0]<<8;c=(c<<8|c>>>8)&65535}e=O[x|0]|O[x+1|0]<<8|(O[x+2|0]<<16|O[x+3|0]<<24);f=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);g=f>>>0>c>>>0;z=T(f,u);f=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);o=x+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;f=((g?c:1)+z<<1)+o|0;f=O[f|0]|O[f+1|0]<<8;k=T((f<<8|f>>>8)&65535,6);f=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);f=x+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;k=k+f|0;A=O[k|0]|O[k+1|0]<<8;Rc:{Sc:{if((O[k+4|0]|O[k+5|0]<<8)!=65535){break Sc}Tc:{if(!u){break Tc}u=O[k+2|0]|O[k+3|0]<<8;if(!(u&64?A:1)){break Tc}c=o+((g?c:1)<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(A|0)!=(O[c|0]|O[c+1|0]<<8)|(u^(O[c+2|0]|O[c+3|0]<<8))&64){break Sc}}c=o+(z+!e<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)==65535){break Rc}}c=N[h+64>>2];e=O[h+62|0]?N[h+72>>2]:c;if(!e|c>>>0>=Q[h+68>>2]){break Rc}wb(h,3,e-1|0,c+1|0,1,1)}Uc:{Vc:{if(!(m&255)){break Vc}c=O[k+4|0]|O[k+5|0]<<8;if((c|0)==65535){break Vc}f=N[h+64>>2];if(f>>>0>=Q[h+68>>2]){break Vc}e=(c<<8|c>>>8)&65535;c=N[h+88>>2]+T(f,20)|0;Wc:{Xc:{switch(D|0){case 0:e=y+(e<<2)|0;if(e>>>0>2]){break Uc}f=N[p+28>>2];if(f>>>0>>0|f-e>>>0<4){break Uc}f=N[p+32>>2]-4|0;N[p+32>>2]=f;if((f|0)<=0){break Uc}g=O[e|0]|O[e+1|0]<<8;o=O[e+2|0]|O[e+3|0]<<8;N[i+184>>2]=0;N[i+180>>2]=0;f=N[N[N[p+16>>2]+80>>2]+T(t,20)>>2];e=N[p+8>>2];N[i+192>>2]=0;N[i+188>>2]=0;u=N[e+96>>2];z=N[u+76>>2];G=N[e+100>>2];X=(g<<8|g>>>8)&65535;S=i+192|0;I=i+188|0;g=N[u+12>>2];if(g){g=N[g+56>>2]}else{g=0}if(!(Qa[z|0](e,G,f,X,S,I,g)|0)){break Uc}Jd(e,f,i+272|0,i+440|0);N[i+192>>2]=N[i+192>>2]-N[i+272>>2];N[i+188>>2]=N[i+188>>2]-N[i+440>>2];e=N[p+16>>2];f=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];e=N[p+8>>2];N[i+184>>2]=0;N[i+180>>2]=0;g=N[e+96>>2];u=N[g+76>>2];S=N[e+100>>2];z=(o<<8|o>>>8)&65535;I=i+184|0;o=i+180|0;g=N[g+12>>2];if(g){g=N[g+56>>2]}else{g=0}if(!(Qa[u|0](e,S,f,z,I,o,g)|0)){break Uc}Jd(e,f,i+272|0,i+440|0);N[i+180>>2]=N[i+180>>2]-N[i+440>>2];N[c+8>>2]=N[i+192>>2]+(N[i+272>>2]-N[i+184>>2]|0);N[c+12>>2]=N[i+188>>2]-N[i+180>>2];break Wc;case 1:e=y+(e<<2)|0;if(e>>>0>2]){break Uc}f=N[p+28>>2];if(f>>>0>>0|f-e>>>0<4){break Uc}f=N[p+32>>2]-4|0;N[p+32>>2]=f;if((f|0)<=0){break Uc}z=N[N[N[p+16>>2]+80>>2]+T(t,20)>>2];o=O[e+2|0]|O[e+3|0]<<8;g=O[e|0]|O[e+1|0]<<8;u=275552;e=N[p+64>>2];f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(f){f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0}else{f=238136}z=cc(f,z,N[p+56>>2]);Yc:{if(!z){break Yc}f=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;e=O[z|0]|O[z+1|0]<<8;e=f+((e<<8|e>>>8)&65535)|0;f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);I=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=(g<<8|g>>>8)&65535;if(I>>>0<=f>>>0){break Yc}u=(e+(f<<2)|0)+4|0}e=N[p+16>>2];z=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];G=N[p+56>>2];g=275552;e=N[p+64>>2];f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(f){f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0}else{f=238136}z=cc(f,z,G);Zc:{if(!z){break Zc}f=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;e=O[z|0]|O[z+1|0]<<8;e=f+((e<<8|e>>>8)&65535)|0;f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);I=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=(o<<8|o>>>8)&65535;if(I>>>0<=f>>>0){break Zc}g=(e+(f<<2)|0)+4|0}f=N[p+8>>2];e=N[f+56>>2];z=N[f+60>>2];o=O[u|0]|O[u+1|0]<<8;o=(o<<8|o>>>8)<<16>>16;G=UE(e,z,o,o>>31);o=Pa;G=G+32768|0;G=((G>>>0<32768?o+1|0:o)&65535)<<16|G>>>16;I=e;o=O[g|0]|O[g+1|0]<<8;e=(o<<8|o>>>8)<<16>>16;e=UE(I,z,e,e>>31);o=Pa;e=e+32768|0;N[c+8>>2]=G-(((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16);e=N[f+64>>2];f=N[f+68>>2];o=O[u+2|0]|O[u+3|0]<<8;o=(o<<8|o>>>8)<<16>>16;u=UE(e,f,o,o>>31);o=Pa;u=u+32768|0;u=((u>>>0<32768?o+1|0:o)&65535)<<16|u>>>16;o=e;g=O[g+2|0]|O[g+3|0]<<8;e=(g<<8|g>>>8)<<16>>16;e=UE(o,f,e,e>>31);o=Pa;e=e+32768|0;N[c+12>>2]=u-(((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16);break Wc;case 2:break Xc;default:break Wc}}f=y+(e<<3)|0;if(f>>>0>2]){break Uc}e=N[p+28>>2];if(e>>>0>>0|e-f>>>0<8){break Uc}e=N[p+32>>2]-8|0;N[p+32>>2]=e;if((e|0)<=0){break Uc}g=O[f+2|0]|O[f+3|0]<<8;u=O[f+6|0]|O[f+7|0]<<8;z=N[p+8>>2];o=z;e=N[o+56>>2];X=N[o+60>>2];G=O[f|0]|O[f+1|0]<<8;o=(G<<8|G>>>8)<<16>>16;G=UE(e,X,o,o>>31);o=Pa;G=G+32768|0;G=((G>>>0<32768?o+1|0:o)&65535)<<16|G>>>16;o=e;f=O[f+4|0]|O[f+5|0]<<8;e=(f<<8|f>>>8)<<16>>16;e=UE(o,X,e,e>>31);o=Pa;e=e+32768|0;N[c+8>>2]=G-(((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16);f=g<<8|g>>>8;e=N[z+64>>2];g=N[z+68>>2];f=f<<16>>16;f=UE(e,g,f,f>>31);o=Pa;f=f+32768|0;f=((f>>>0<32768?o+1|0:o)&65535)<<16|f>>>16;o=e;e=(u<<8|u>>>8)<<16>>16;e=UE(o,g,e,e>>31);o=Pa;e=e+32768|0;N[c+12>>2]=f-(((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16)}L[c+18|0]=1;M[c+16>>1]=t-N[h+64>>2];N[h+144>>2]=N[h+144>>2]|8}if(!(O[k+2|0]&128)){break Uc}t=N[h+64>>2];m=1}g=N[h+64>>2];if(!O[h+60|0]|(g|0)==N[h+68>>2]){break nc}_c:{$c:{if(O[k+2|0]&64){c=N[h+152>>2];N[h+152>>2]=c-1;if((c|0)>0){break $c}}if(O[h+62|0]){k=N[h+72>>2];e=N[h+84>>2];f=N[h+80>>2];ad:{if((e|0)==(f|0)){c=g;if((c|0)==(k|0)){break ad}}c=k+1|0;if(!(!c|c>>>0>2])){if(!gb(h,c)){break $c}f=N[h+80>>2];e=N[h+84>>2]}bd:{if((e|0)!=(f|0)){break bd}c=N[h+72>>2];if(c+1>>>0<=N[h+64>>2]+1>>>0){e=f;break bd}if(!O[h+62|0]){break _c}e=N[h+88>>2];N[h+84>>2]=e;c=T(c,20);if(!c){break bd}F(e,f,c);e=N[h+84>>2];f=N[h+80>>2]}c=T(N[h+72>>2],20)+e|0;e=T(N[h+64>>2],20)+f|0;f=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=f;N[c+16>>2]=N[e+16>>2];f=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=f;g=N[h+64>>2];c=N[h+72>>2]}N[h+72>>2]=c+1}N[h+64>>2]=g+1}u=(A<<8|A>>>8)&65535;if(O[h+60|0]){continue}break nc}break}break a}f=N[p+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}u=N[f+132>>2];f=N[p+16>>2];h=N[p+8>>2];if(!ib(f,h,12581,0)){break nc}if(O[f+16|0]&64){wb(f,2,0,-1,1,0)}c=Ec(i+272|0,1,h,f);N[i+404>>2]=u;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=u;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;g=O[i+421|0];k=N[i+356>>2]==1;L[i+292|0]=k;L[i+332|0]=k|(g|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;c=N[f+68>>2];if(c){z=N[f+40>>2]&-2;t=N[f+88>>2];A=N[f+80>>2];y=e&1073741824;k=0;while(1){cd:{dd:{x=T(k,20);o=x+A|0;if(!(u&N[o+4>>2])){break dd}N[i+308>>2]=1;N[i+276>>2]=k;e=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[e+68>>2];g=0;L[i+295|0]=O[i+294|0]?N[e+64>>2]==(k|0)?O[(x+N[e+80>>2]|0)+15|0]:0:0;if(!kc(H,i+440|0)){break dd}D=N[i+276>>2];r=T(D,20);G=N[r+A>>2];m=0;e=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);I=N[o>>2];o=N[p+56>>2];e=cc((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0,I,o);if(e){e=O[e|0]|O[e+1|0]<<8;m=(e<<8|e>>>8)&65535}e=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);e=cc((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0,G,o);if(e){e=O[e|0]|O[e+1|0]<<8;g=(e<<8|e>>>8)&65535}G=N[p+24>>2];e=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);e=((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0)+(g+m<<1)|0;ed:{if(G>>>0>e>>>0){break ed}m=N[p+28>>2];if(m>>>0>>0|m-e>>>0<2){break ed}o=N[p+32>>2]-2|0;N[p+32>>2]=o;if((o|0)<=0){break ed}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16;g=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(g){g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if((g|0)<0){break ed}e=d+e|0;g=g<<1;if(g){if(e>>>0>>0|e>>>0>m>>>0|g>>>0>m-e>>>0){break ed}g=o-g|0;N[p+32>>2]=g;if((g|0)<=0){break ed}}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16}if(!e){break ed}g=e>>31;fd:{if((z|0)==4){e=UE(N[h+56>>2],N[h+60>>2],e,g);o=Pa;e=e+32768|0;e=((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16;if(y){N[(r+t|0)+12>>2]=e;N[f+144>>2]=N[f+144>>2]|8;break fd}g=t+x|0;m=e>>1;N[g>>2]=m+N[g>>2];g=r+t|0;e=e-m|0;N[g>>2]=e+N[g>>2];N[g+8>>2]=e+N[g+8>>2];break fd}e=UE(N[h+64>>2],N[h+68>>2],e,g);o=Pa;e=e+32768|0;e=((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16;if(y){N[(r+t|0)+8>>2]=e;N[f+144>>2]=N[f+144>>2]|8;break fd}g=t+x|0;m=e>>1;N[g+4>>2]=m+N[g+4>>2];g=r+t|0;e=e-m|0;N[g+4>>2]=e+N[g+4>>2];N[g+12>>2]=e+N[g+12>>2]}Sc(f,k,D+1|0)}k=N[i+276>>2];break cd}k=k+1|0}if(c>>>0>k>>>0){continue}break}}ib(f,h,12662,0);_a(N[i+384>>2]);break nc}if(!(c&64|M[N[p+4>>2]+140>>1]&1)){break nc}N[i+272>>2]=p;N[i+276>>2]=d;e=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);L[i+320|0]=c>>>6&1;N[i+316>>2]=0;x=d+12|0;N[i+280>>2]=x+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24));h=N[p+16>>2];c=N[N[p+8>>2]+24>>2];t=N[c+32>>2];if((t|0)==-1){e=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;t=(c<<8|c>>>8)&65535;N[e+32>>2]=t}N[h+64>>2]=0;if(!O[h+60|0]){break nc}u=0;while(1){e=N[h+64>>2];c=0;gd:{if(e>>>0>=Q[h+68>>2]){break gd}f=N[N[h+80>>2]+T(e,20)>>2];c=2;if((f|0)==65535){break gd}e=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);e=cc(x+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0,f,t);c=1;if(!e){break gd}c=O[e|0]|O[e+1|0]<<8;c=(c<<8|c>>>8)&65535}e=O[x|0]|O[x+1|0]<<8|(O[x+2|0]<<16|O[x+3|0]<<24);f=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);k=f>>>0>c>>>0;r=T(f,u);f=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);m=x+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;f=((k?c:1)+r<<1)+m|0;f=O[f|0]|O[f+1|0]<<8;g=T((f<<8|f>>>8)&65535,6);f=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);f=x+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;g=g+f|0;A=O[g|0]|O[g+1|0]<<8;hd:{id:{if((O[g+4|0]|O[g+5|0]<<8)!=65535){break id}jd:{if(!u){break jd}o=O[g+2|0]|O[g+3|0]<<8;if(!(o&64?A:1)){break jd}c=m+((k?c:1)<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(A|0)!=(O[c|0]|O[c+1|0]<<8)|(o^(O[c+2|0]|O[c+3|0]<<8))&64){break id}}c=m+(r+!e<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)==65535){break hd}}c=N[h+64>>2];e=O[h+62|0]?N[h+72>>2]:c;if(!e|c>>>0>=Q[h+68>>2]){break hd}wb(h,3,e-1|0,c+1|0,1,1)}c=O[g+2|0]|O[g+3|0]<<8;c=c<<8|c>>>8;e=c<<16>>16;if(c&8192){N[i+316>>2]=0}kd:{if((e|0)>=0){break kd}c=N[i+316>>2];if(c>>>0<=7){e=N[h+64>>2];N[i+316>>2]=c+1;N[((c<<2)+i|0)+284>>2]=e;break kd}N[i+316>>2]=0}f=O[g+4|0]|O[g+5|0]<<8;ld:{if(!N[i+316>>2]|(f|0)==65535){break ld}e=N[i+316>>2];c=N[i+276>>2];c=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);y=c>>>0<=1?1:c;c=UE(e,0,y,0);md:{nd:{if(Pa|(c|0)<0){break nd}f=N[i+280>>2]+((f<<8|f>>>8)&65534)|0;u=N[i+272>>2];c=c<<1;if(!c){break md}if(Q[u+24>>2]>f>>>0){break nd}k=N[u+28>>2];if(k>>>0>>0|c>>>0>k-f>>>0){break nd}c=N[u+32>>2]-c|0;N[u+32>>2]=c;if((c|0)>0){break md}}N[i+316>>2]=0;break ld}if(!e){break ld}z=N[N[u+4>>2]+132>>2];D=O[i+320|0];while(1){e=e-1|0;N[i+316>>2]=e;c=N[((e<<2)+i|0)+284>>2];if(c>>>0>2]){k=O[f|0]|O[f+1|0]<<8;G=(k<<8|k>>>8)<<16>>16;k=G&-2;m=T(c,20);c=m+N[h+88>>2]|0;od:{if((N[h+40>>2]&-2)==4){if(D){if((k|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+12>>2]=0;break od}if(!O[c+18|0]){break od}m=N[c+12>>2];r=N[u+8>>2];k=UE(N[r+64>>2],N[r+68>>2],k,k>>31);r=Pa;k=k+32768|0;N[c+12>>2]=(((k>>>0<32768?r+1|0:r)&65535)<<16|k>>>16)+m;N[h+144>>2]=N[h+144>>2]|8;break od}if(!(z&N[(m+N[h+80>>2]|0)+4>>2])){break od}m=N[u+8>>2];k=UE(N[m+56>>2],N[m+60>>2],k,k>>31);o=Pa;k=k+32768|0;k=((k>>>0<32768?o+1|0:o)&65535)<<16|k>>>16;N[c>>2]=k+N[c>>2];N[c+8>>2]=k+N[c+8>>2];break od}if(D){if((k|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+8>>2]=0;break od}if(!O[c+18|0]){break od}r=N[c+8>>2];m=N[u+8>>2];k=UE(N[m+56>>2],N[m+60>>2],k,k>>31);m=Pa;k=k+32768|0;N[c+8>>2]=(((k>>>0<32768?m+1|0:m)&65535)<<16|k>>>16)+r;N[h+144>>2]=N[h+144>>2]|8;break od}if(!(z&N[(m+N[h+80>>2]|0)+4>>2])){break od}m=N[u+8>>2];k=UE(N[m+64>>2],N[m+68>>2],k,k>>31);o=Pa;k=k+32768|0;k=((k>>>0<32768?o+1|0:o)&65535)<<16|k>>>16;N[c+4>>2]=k+N[c+4>>2];N[c+12>>2]=k+N[c+12>>2]}if(G&1){break ld}}f=(y<<1)+f|0;if(e){continue}break}}e=N[h+64>>2];if(!O[h+60|0]|(e|0)==N[h+68>>2]){break nc}pd:{if(O[g+2|0]&64){c=N[h+152>>2];N[h+152>>2]=c-1;if((c|0)>0){break pd}}if(O[h+62|0]){k=N[h+72>>2];f=N[h+80>>2];g=N[h+84>>2];qd:{if((f|0)==(g|0)){c=e;if((c|0)==(k|0)){break qd}}c=k+1|0;if(!(!c|c>>>0>2])){if(!gb(h,c)){break pd}g=N[h+84>>2];f=N[h+80>>2]}rd:{if((f|0)!=(g|0)){break rd}c=N[h+72>>2];if(c+1>>>0<=N[h+64>>2]+1>>>0){g=f;break rd}if(!O[h+62|0]){break a}g=N[h+88>>2];N[h+84>>2]=g;c=T(c,20);if(!c){break rd}F(g,f,c);g=N[h+84>>2];f=N[h+80>>2]}e=T(N[h+64>>2],20)+f|0;f=N[e+4>>2];c=T(N[h+72>>2],20)+g|0;N[c>>2]=N[e>>2];N[c+4>>2]=f;N[c+16>>2]=N[e+16>>2];f=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=f;e=N[h+64>>2];c=N[h+72>>2]}N[h+72>>2]=c+1}N[h+64>>2]=e+1}u=(A<<8|A>>>8)&65535;if(O[h+60|0]){continue}break}}c=N[p+52>>2];e=N[c+12>>2];N[p+24>>2]=e;c=N[c+16>>2];N[p+28>>2]=c+e;if((c|0)<0){break $b}sd:{if(_){break sd}h=N[p+16>>2];k=N[h+68>>2];if(k>>>0>=2){m=N[h+80>>2];g=k-1|0;f=0;while(1){c=m+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=m+T(f,20)|0;N[c+16>>2]=N[e+16>>2];t=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=t;t=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=t;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[h+63|0]){break sd}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break sd}h=N[h+88>>2];g=c-1|0;f=0;while(1){c=h+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(f,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}c=N[p+8>>2];e=N[p+16>>2];N[i+64>>2]=N[p+72>>2];ib(e,c,17599,i- -64|0)}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);e=N[p+72>>2]+1|0;N[p+72>>2]=e;d=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;l=l+1|0;if((Y|0)!=(l|0)){continue}break}}ib(s,b,8043,0)}ab(N[p+52>>2]);break Sb}break b}td:{ud:{vd:{wd:{xd:{c=P[J+140>>1];if(c&1024){e=N[b+24>>2];c=N[e+136>>2];yd:{if(c){break yd}while(1){c=N[e+48>>2];if(!c){c=275552;break yd}N[i+280>>2]=0;N[i+284>>2]=0;N[i+288>>2]=0;N[i+292>>2]=0;L[i+296|0]=0;N[i+272>>2]=0;N[i+276>>2]=0;N[i+300>>2]=0;N[i+304>>2]=0;L[i+312|0]=1;N[i+308>>2]=0;d=N[c+12>>2];zd:{if(d){c=Qa[d|0](c,1801810542,N[c+16>>2])|0;if(c){break zd}}c=275552}d=el(i+272|0,c);c=N[e+136>>2];Ad:{if(d){if(c){break Ad}c=d;N[e+136>>2]=c;break yd}if(c){break yd}c=275552;N[e+136>>2]=275552;break yd}if((d|0)==275552){break yd}ab(d);c=N[e+136>>2];if(!c){continue}break}}d=N[c+16>>2];e=N[c+12>>2];p=Ue(i+196|0,J,b,s,c);if(!ib(s,b,12630,0)){break vd}Bd:{c=d>>>0<4?275552:e;d=O[c|0]|O[c+1|0]<<8;switch((d<<8|d>>>8)&65535){case 1:break xd;case 0:break Bd;default:break wd}}N[p+72>>2]=0;d=O[c+2|0]|O[c+3|0]<<8;if(!d){break wd}d=(d<<8|d>>>8)&65535;_=d>>>0<=1?1:d;G=d-1|0;f=c+4|0;H=i+276|0;e=0;w=0;l=0;while(1){Cd:{c=N[p+16>>2];d=N[c+40>>2];Dd:{if((L[f+5|0]&1)==((d&-2)!=4|0)){break Dd}g=N[p+8>>2];N[i+16>>2]=e;if(!ib(c,g,17581,i+16|0)){break Dd}g=d&-3;c=1;Ed:{if(w){break Ed}c=0;if(!(O[f+5|0]&4)){break Ed}e=N[p+16>>2];d=N[e+68>>2];c=1;if(!d){break Ed}e=N[e+88>>2];k=0;if((d|0)!=1){h=d&1;c=d&-2;while(1){d=e+T(k,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[p+16>>2]+40>>2]&-3)==4?-1:1;d=e+T(k|1,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[p+16>>2]+40>>2]&-3)==4?-1:1;k=k+2|0;if((c|0)!=(k|0)){continue}break}c=1;if(!h){break Ed}}c=e+T(k,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[p+16>>2]+40>>2]&-3)==4?-1:1;c=1}w=c;X=(g|0)!=5;Fd:{if(X){break Fd}h=N[p+16>>2];k=N[h+68>>2];if(k>>>0>=2){m=N[h+80>>2];d=k-1|0;g=0;while(1){c=m+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=m+T(g,20)|0;N[c+16>>2]=N[e+16>>2];t=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=t;t=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=t;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}if(!O[h+63|0]){break Fd}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break Fd}h=N[h+88>>2];d=c-1|0;g=0;while(1){c=h+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(g,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}c=N[p+52>>2];d=N[c+12>>2];N[p+24>>2]=d;c=N[c+16>>2];e=c+d|0;N[p+28>>2]=e;Gd:{Hd:{if((c|0)>=0){c=l>>>0>>0?f:0;Id:{if(!c){break Id}if(!(c>>>0>>0&c>>>0>=d>>>0)){N[p+24>>2]=0;N[p+28>>2]=0;break Id}N[p+24>>2]=c;d=e-c|0;e=O[c+2|0]|O[c+3|0]<<8;e=(e<<8|e>>>8)&65535;N[p+28>>2]=c+(d>>>0>>0?d:e)}Jd:{switch(O[f+4|0]){case 2:break Hd;case 0:break Jd;default:break Gd}}c=N[p+4>>2];if(!(L[c+140|0]&1)){break Gd}A=N[c+132>>2];d=O[f+5|0];m=N[p+16>>2];t=N[p+8>>2];if(!ib(m,t,12581,0)){break Gd}if(O[m+16|0]&64){wb(m,2,0,-1,1,0)}c=Ec(i+272|0,1,t,m);N[i+404>>2]=A;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=A;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;e=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(e|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;g=N[m+68>>2];if(g){Y=N[m+40>>2]&-2;u=N[m+88>>2];z=N[m+80>>2];D=d&4;S=f+14|0;c=0;while(1){Kd:{Ld:{y=T(c,20);h=y+z|0;if(!(A&N[h+4>>2])){break Ld}N[i+308>>2]=1;N[i+276>>2]=c;d=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[d+68>>2];L[i+295|0]=O[i+294|0]?N[d+64>>2]==(c|0)?O[(y+N[d+80>>2]|0)+15|0]:0:0;if(!kc(H,i+440|0)){break Ld}d=N[i+276>>2];x=T(d,20);e=O[f+6|0]|O[f+7|0]<<8;Md:{if(e){r=N[x+z>>2];o=N[h>>2];k=((e<<8|e>>>8)&65535)-1|0;e=0;while(1){Nd:{Od:{K=e+k>>>1|0;h=S+T(K,6)|0;E=O[h|0]|O[h+1|0]<<8;E=(E<<8|E>>>8)&65535;Pd:{if((E|0)==(o|0)){E=O[h+2|0]|O[h+3|0]<<8;E=(E<<8|E>>>8)&65535;if(E>>>0>r>>>0){break Pd}if((r|0)==(E|0)){break Md}break Od}if(o>>>0>=E>>>0){break Od}}k=K-1|0;break Nd}e=K+1|0}if((e|0)<=(k|0)){continue}break}}h=275552}e=O[h+4|0]|O[h+5|0]<<8;if(!e){break Kd}e=(e<<8|e>>>8)<<16>>16;h=e>>31;Qd:{if((Y|0)==4){e=UE(N[t+56>>2],N[t+60>>2],e,h);r=Pa;e=e+32768|0;e=((e>>>0<32768?r+1|0:r)&65535)<<16|e>>>16;if(D){N[(u+x|0)+12>>2]=e;N[m+144>>2]=N[m+144>>2]|8;break Qd}h=u+y|0;k=e>>1;N[h>>2]=k+N[h>>2];h=u+x|0;e=e-k|0;N[h>>2]=e+N[h>>2];N[h+8>>2]=e+N[h+8>>2];break Qd}e=UE(N[t+64>>2],N[t+68>>2],e,h);o=Pa;e=e+32768|0;e=((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16;if(D){N[(u+x|0)+8>>2]=e;N[m+144>>2]=N[m+144>>2]|8;break Qd}h=u+y|0;k=e>>1;N[h+4>>2]=k+N[h+4>>2];h=u+x|0;e=e-k|0;N[h+4>>2]=e+N[h+4>>2];N[h+12>>2]=e+N[h+12>>2]}Sc(m,c,d+1|0);d=N[i+276>>2];break Kd}d=c+1|0}c=d;if(g>>>0>c>>>0){continue}break}}ib(m,t,12662,0);_a(N[i+384>>2]);break Gd}break b}c=N[p+4>>2];if(!(L[c+140|0]&1)){break Gd}u=N[c+132>>2];d=O[f+5|0];g=N[p+16>>2];h=N[p+8>>2];if(!ib(g,h,12581,0)){break Gd}if(O[g+16|0]&64){wb(g,2,0,-1,1,0)}c=Ec(i+272|0,1,h,g);N[i+404>>2]=u;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=u;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;e=O[i+421|0];k=N[i+356>>2]==1;L[i+292|0]=k;L[i+332|0]=k|(e|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;e=N[g+68>>2];if(e){z=N[g+40>>2]&-2;t=N[g+88>>2];A=N[g+80>>2];y=d&4;k=0;while(1){Rd:{Sd:{x=T(k,20);o=x+A|0;if(!(u&N[o+4>>2])){break Sd}N[i+308>>2]=1;N[i+276>>2]=k;c=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[c+68>>2];d=0;L[i+295|0]=O[i+294|0]?N[c+64>>2]==(k|0)?O[(x+N[c+80>>2]|0)+15|0]:0:0;if(!kc(H,i+440|0)){break Sd}D=N[i+276>>2];r=T(D,20);K=N[r+A>>2];m=0;I=N[o>>2];c=O[f+8|0]|O[f+9|0]<<8;c=((c<<8|c>>>8)&65535)+f|0;o=O[c|0]|O[c+1|0]<<8;o=I-((o<<8|o>>>8)&65535)|0;Y=O[c+2|0]|O[c+3|0]<<8;if(o>>>0<((Y<<8|Y>>>8)&65535)>>>0){c=c+(o<<1)|0;c=O[c+4|0]|O[c+5|0]<<8;m=(c<<8|c>>>8)&65535}c=O[f+10|0]|O[f+11|0]<<8;c=((c<<8|c>>>8)&65535)+f|0;o=O[c|0]|O[c+1|0]<<8;o=K-((o<<8|o>>>8)&65535)|0;K=O[c+2|0]|O[c+3|0]<<8;if(o>>>0<((K<<8|K>>>8)&65535)>>>0){c=c+(o<<1)|0;c=O[c+4|0]|O[c+5|0]<<8;d=(c<<8|c>>>8)&65535}c=O[f+12|0]|O[f+13|0]<<8;c=(c<<8|c>>>8)&65535;d=d+m|0;c=(c+f|0)+((c>>>0>d>>>0?1073741823:d-c>>>1|0)<<1)|0;Td:{if(c>>>0>2]){break Td}d=N[p+28>>2];if(d>>>0>>0|d-c>>>0<2){break Td}d=N[p+32>>2]-2|0;N[p+32>>2]=d;if((d|0)<=0){break Td}c=O[c|0]|O[c+1|0]<<8;if(!c){break Td}c=(c<<8|c>>>8)<<16>>16;d=c>>31;Ud:{if((z|0)==4){c=UE(N[h+56>>2],N[h+60>>2],c,d);o=Pa;c=c+32768|0;c=((c>>>0<32768?o+1|0:o)&65535)<<16|c>>>16;if(y){N[(r+t|0)+12>>2]=c;N[g+144>>2]=N[g+144>>2]|8;break Ud}d=t+x|0;m=c>>1;N[d>>2]=m+N[d>>2];d=r+t|0;c=c-m|0;N[d>>2]=c+N[d>>2];N[d+8>>2]=c+N[d+8>>2];break Ud}c=UE(N[h+64>>2],N[h+68>>2],c,d);m=Pa;c=c+32768|0;c=((c>>>0<32768?m+1|0:m)&65535)<<16|c>>>16;if(y){N[(r+t|0)+8>>2]=c;N[g+144>>2]=N[g+144>>2]|8;break Ud}d=t+x|0;m=c>>1;N[d+4>>2]=m+N[d+4>>2];d=r+t|0;c=c-m|0;N[d+4>>2]=c+N[d+4>>2];N[d+12>>2]=c+N[d+12>>2]}Sc(g,k,D+1|0)}k=N[i+276>>2];break Rd}k=k+1|0}if(e>>>0>k>>>0){continue}break}}ib(g,h,12662,0);_a(N[i+384>>2])}c=N[p+52>>2];d=N[c+12>>2];N[p+24>>2]=d;c=N[c+16>>2];N[p+28>>2]=c+d;if((c|0)<0){break Cd}Vd:{if(X){break Vd}h=N[p+16>>2];k=N[h+68>>2];if(k>>>0>=2){m=N[h+80>>2];d=k-1|0;g=0;while(1){c=m+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=m+T(g,20)|0;N[c+16>>2]=N[e+16>>2];t=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=t;t=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=t;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}if(!O[h+63|0]){break Vd}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break Vd}h=N[h+88>>2];d=c-1|0;g=0;while(1){c=h+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(g,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}c=N[p+8>>2];d=N[p+16>>2];N[i>>2]=N[p+72>>2];ib(d,c,17599,i)}c=O[f+2|0]|O[f+3|0]<<8;e=N[p+72>>2]+1|0;N[p+72>>2]=e;f=((c<<8|c>>>8)&65535)+f|0;l=l+1|0;if((_|0)!=(l|0)){continue}break wd}break}break b}if(!(c&2048)){break ud}Wd:{if((N[s+40>>2]&-2)==4){d=N[147128];c=b;while(1){if((d|0)!=N[N[c+96>>2]- -64>>2]){break Wd}c=N[c+20>>2];if(!c){break ud}if((c|0)!=588752){continue}break}break ud}d=N[147129];c=b;while(1){if((d|0)!=N[N[c+96>>2]+68>>2]){break Wd}c=N[c+20>>2];if(!c){break ud}if((c|0)!=588752){continue}break}break ud}if(!ib(s,b,12592,0)){break ud}c=N[s+40>>2];Xd:{if((c&-3)==5){g=N[s+68>>2];if(g>>>0>=2){h=N[s+80>>2];e=g-1|0;d=0;while(1){c=h+T(e,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=h+T(d,20)|0;N[c+16>>2]=N[f+16>>2];l=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=l;l=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=l;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}Yd:{if(!O[s+63|0]){break Yd}c=N[s+68>>2];c=c>>>0>>0?c:g;if(c>>>0<2){break Yd}g=N[s+88>>2];e=c-1|0;d=0;while(1){c=g+T(e,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=g+T(d,20)|0;N[c+16>>2]=N[f+16>>2];h=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=h;h=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=h;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}N[i+196>>2]=b;N[i+200>>2]=N[s+40>>2];e=0;L[i+444|0]=0;N[i+440>>2]=i+196;Fj(i+440|0,b,s,N[J+132>>2]);g=N[s+68>>2];if(g>>>0>=2){h=N[s+80>>2];d=g-1|0;while(1){c=h+T(d,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=h+T(e,20)|0;N[c+16>>2]=N[f+16>>2];l=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=l;l=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=l;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d-1|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}if(!O[s+63|0]){break Xd}c=N[s+68>>2];c=c>>>0>>0?c:g;if(c>>>0<2){break Xd}g=N[s+88>>2];e=c-1|0;d=0;while(1){c=g+T(e,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=g+T(d,20)|0;N[c+16>>2]=N[f+16>>2];h=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=h;h=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=h;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}break Xd}N[i+200>>2]=c;N[i+196>>2]=b;L[i+444|0]=0;N[i+440>>2]=i+196;Fj(i+440|0,b,s,N[J+132>>2])}ib(s,b,12612,0);break ud}N[p+72>>2]=0;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(!d){break wd}d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);G=d>>>0<=1?1:d;z=d-1|0;k=c+8|0;A=i+276|0;d=0;t=0;h=0;while(1){c=O[k+4|0];Zd:{if(c&32){break Zd}e=N[p+16>>2];f=N[e+40>>2];if(((f&-2)!=4|0)==(c<<24>>24>=0|0)){break Zd}c=N[p+8>>2];N[i+48>>2]=d;if(!ib(e,c,17581,i+48|0)){break Zd}g=f&-3;c=1;_d:{if(t&1){break _d}c=0;if(!(O[k+4|0]&64)){break _d}e=N[p+16>>2];d=N[e+68>>2];c=1;if(!d){break _d}f=N[e+88>>2];e=0;if((d|0)!=1){l=d&1;c=d&-2;while(1){d=f+T(e,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[p+16>>2]+40>>2]&-3)==4?-1:1;d=f+T(e|1,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[p+16>>2]+40>>2]&-3)==4?-1:1;e=e+2|0;if((c|0)!=(e|0)){continue}break}c=1;if(!l){break _d}}c=f+T(e,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[p+16>>2]+40>>2]&-3)==4?-1:1;c=1}t=c;X=(g|0)!=5;$d:{if(X){break $d}e=N[p+16>>2];l=N[e+68>>2];if(l>>>0>=2){m=N[e+80>>2];g=l-1|0;f=0;while(1){c=m+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=m+T(f,20)|0;N[c+16>>2]=N[d+16>>2];w=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=w;w=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=w;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[e+63|0]){break $d}c=N[e+68>>2];c=c>>>0>>0?c:l;if(c>>>0<2){break $d}e=N[e+88>>2];g=c-1|0;f=0;while(1){c=e+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=e+T(f,20)|0;N[c+16>>2]=N[d+16>>2];l=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=l;l=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=l;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}d=N[p+52>>2];c=N[d+12>>2];N[p+24>>2]=c;e=N[d+16>>2];d=e+c|0;N[p+28>>2]=d;ae:{be:{ce:{de:{if((e|0)>=0){ee:{if(h>>>0>=z>>>0){break ee}e=c;c=h>>>0>>0?k:0;if(!(e>>>0<=c>>>0&c>>>0>>0)){N[p+24>>2]=0;N[p+28>>2]=0;break ee}N[p+24>>2]=c;e=d-c|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);N[p+28>>2]=c+(d>>>0>e>>>0?e:d)}fe:{switch(O[k+5|0]){case 1:break be;case 2:break ce;case 3:break de;case 0:break fe;default:break ae}}c=N[p+4>>2];if(!(L[c+140|0]&1)){break ae}y=N[c+132>>2];d=O[k+4|0];l=N[p+16>>2];w=N[p+8>>2];if(!ib(l,w,12581,0)){break ae}if(O[l+16|0]&64){wb(l,2,0,-1,1,0)}c=Ec(i+272|0,1,w,l);N[i+404>>2]=y;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=y;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;e=O[i+421|0];f=N[i+356>>2]==1;L[i+292|0]=f;L[i+332|0]=f|(e|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;g=N[l+68>>2];if(g){Y=N[l+40>>2]&-2;u=N[l+88>>2];D=N[l+80>>2];K=d&64;S=k+16|0;m=0;while(1){ge:{he:{H=T(m,20);e=H+D|0;if(!(y&N[e+4>>2])){break he}N[i+308>>2]=1;N[i+276>>2]=m;c=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[c+68>>2];d=0;L[i+295|0]=O[i+294|0]?N[c+64>>2]==(m|0)?O[(H+N[c+80>>2]|0)+15|0]:0:0;if(!kc(A,i+440|0)){break he}f=N[i+276>>2];x=T(f,20);c=O[k+8|0]|O[k+9|0]<<8;ie:{if(c){r=N[x+D>>2];o=N[e>>2];e=((c<<8|c>>>8)&65535)-1|0;while(1){je:{ke:{_=d+e>>>1|0;c=S+T(_,6)|0;E=O[c|0]|O[c+1|0]<<8;E=(E<<8|E>>>8)&65535;le:{if((E|0)==(o|0)){E=O[c+2|0]|O[c+3|0]<<8;E=(E<<8|E>>>8)&65535;if(E>>>0>r>>>0){break le}if((r|0)==(E|0)){break ie}break ke}if(o>>>0>=E>>>0){break ke}}e=_-1|0;break je}d=_+1|0}if((d|0)<=(e|0)){continue}break}}c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(!c){break ge}c=(c<<8|c>>>8)<<16>>16;d=c>>31;me:{if((Y|0)==4){c=UE(N[w+56>>2],N[w+60>>2],c,d);o=Pa;c=c+32768|0;c=((c>>>0<32768?o+1|0:o)&65535)<<16|c>>>16;if(K){N[(u+x|0)+12>>2]=c;N[l+144>>2]=N[l+144>>2]|8;break me}d=u+H|0;e=c>>1;N[d>>2]=e+N[d>>2];d=u+x|0;c=c-e|0;N[d>>2]=c+N[d>>2];N[d+8>>2]=c+N[d+8>>2];break me}c=UE(N[w+64>>2],N[w+68>>2],c,d);r=Pa;c=c+32768|0;c=((c>>>0<32768?r+1|0:r)&65535)<<16|c>>>16;if(K){N[(u+x|0)+8>>2]=c;N[l+144>>2]=N[l+144>>2]|8;break me}d=u+H|0;e=c>>1;N[d+4>>2]=e+N[d+4>>2];d=u+x|0;c=c-e|0;N[d+4>>2]=c+N[d+4>>2];N[d+12>>2]=c+N[d+12>>2]}Sc(l,m,f+1|0);f=N[i+276>>2];break ge}f=m+1|0}m=f;if(g>>>0>m>>>0){continue}break}}ib(l,w,12662,0);_a(N[i+384>>2]);break ae}break b}c=N[p+4>>2];if(!(L[c+140|0]&1)){break ae}r=N[c+132>>2];d=O[k+4|0];g=N[p+16>>2];l=N[p+8>>2];if(!ib(g,l,12581,0)){break ae}if(O[g+16|0]&64){wb(g,2,0,-1,1,0)}c=Ec(i+272|0,1,l,g);N[i+404>>2]=r;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=r;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;e=O[i+421|0];f=N[i+356>>2]==1;L[i+292|0]=f;L[i+332|0]=f|(e|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;f=N[g+68>>2];if(f){D=N[g+40>>2]&-2;m=N[g+88>>2];x=N[g+80>>2];y=d&64;H=k+14|0;e=0;while(1){ne:{oe:{u=T(e,20);d=u+x|0;if(!(r&N[d+4>>2])){break oe}N[i+308>>2]=1;N[i+276>>2]=e;c=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[c+68>>2];L[i+295|0]=O[i+294|0]?N[c+64>>2]==(e|0)?O[(u+N[c+80>>2]|0)+15|0]:0:0;if(!kc(A,i+440|0)){break oe}c=N[i+276>>2];K=O[k+10|0];w=H+(K<<1)|0;d=N[d>>2];I=w+d|0;o=d;d=O[k+8|0]|O[k+9|0]<<8;d=(d<<8|d>>>8)&65535;_=O[(o>>>0>=d>>>0?275552:I)|0];Y=O[k+11|0];if(_>>>0>=Y>>>0){break ne}S=d+w|0;w=T(c,20);o=N[w+x>>2];E=O[(d>>>0<=o>>>0?275552:S+o|0)|0];o=O[k+12|0];if(E>>>0>=o>>>0){break ne}I=d+S|0;d=E+T(o,_)|0;d=O[(d>>>0>=T(o,Y)>>>0?275552:I+d|0)|0];d=d>>>0>=K>>>0?275552:H+(d<<1)|0;d=O[d|0]|O[d+1|0]<<8;if(!d){break ne}d=(d<<8|d>>>8)<<16>>16;o=d>>31;pe:{if((D|0)==4){d=UE(N[l+56>>2],N[l+60>>2],d,o);o=Pa;d=d+32768|0;d=((d>>>0<32768?o+1|0:o)&65535)<<16|d>>>16;if(y){N[(m+w|0)+12>>2]=d;N[g+144>>2]=N[g+144>>2]|8;break pe}o=m+u|0;I=o;S=N[o>>2];o=d>>1;N[I>>2]=S+o;w=m+w|0;d=d-o|0;N[w>>2]=d+N[w>>2];N[w+8>>2]=d+N[w+8>>2];break pe}d=UE(N[l+64>>2],N[l+68>>2],d,o);o=Pa;d=d+32768|0;d=((d>>>0<32768?o+1|0:o)&65535)<<16|d>>>16;if(y){N[(m+w|0)+8>>2]=d;N[g+144>>2]=N[g+144>>2]|8;break pe}o=m+u|0;I=o;S=N[o+4>>2];o=d>>1;N[I+4>>2]=S+o;w=m+w|0;d=d-o|0;N[w+4>>2]=d+N[w+4>>2];N[w+12>>2]=d+N[w+12>>2]}Sc(g,e,c+1|0);c=N[i+276>>2];break ne}c=e+1|0}e=c;if(f>>>0>c>>>0){continue}break}}ib(g,l,12662,0);_a(N[i+384>>2]);break ae}c=N[p+4>>2];if(!(L[c+140|0]&1)){break ae}x=N[c+132>>2];e=O[k+4|0];f=N[p+16>>2];l=N[p+8>>2];if(!ib(f,l,12581,0)){break ae}if(O[f+16|0]&64){wb(f,2,0,-1,1,0)}c=Ec(i+272|0,1,l,f);N[i+404>>2]=x;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=x;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;d=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(d|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;d=N[f+68>>2];if(d){K=N[f+40>>2]&-2;w=N[f+88>>2];H=N[f+80>>2];D=e&64;e=0;while(1){qe:{re:{y=T(e,20);m=y+H|0;if(!(x&N[m+4>>2])){break re}N[i+308>>2]=1;N[i+276>>2]=e;c=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[c+68>>2];g=0;L[i+295|0]=O[i+294|0]?N[c+64>>2]==(e|0)?O[(y+N[c+80>>2]|0)+15|0]:0:0;if(!kc(A,i+440|0)){break re}_=N[i+276>>2];r=T(_,20);o=N[r+H>>2];u=0;I=N[m>>2];c=O[k+10|0]|O[k+11|0]<<8;c=((c<<8|c>>>8)&65535)+k|0;m=O[c|0]|O[c+1|0]<<8;m=I-((m<<8|m>>>8)&65535)|0;Y=O[c+2|0]|O[c+3|0]<<8;if(m>>>0<((Y<<8|Y>>>8)&65535)>>>0){c=c+(m<<1)|0;c=O[c+4|0]|O[c+5|0]<<8;u=(c<<8|c>>>8)&65535}c=O[k+12|0]|O[k+13|0]<<8;c=((c<<8|c>>>8)&65535)+k|0;m=O[c|0]|O[c+1|0]<<8;m=o-((m<<8|m>>>8)&65535)|0;o=O[c+2|0]|O[c+3|0]<<8;if(m>>>0<((o<<8|o>>>8)&65535)>>>0){c=c+(m<<1)|0;c=O[c+4|0]|O[c+5|0]<<8;g=(c<<8|c>>>8)&65535}c=O[k+14|0]|O[k+15|0]<<8;c=(c<<8|c>>>8)&65535;g=g+u|0;c=(c+k|0)+((c>>>0>g>>>0?1073741823:g-c>>>1|0)<<1)|0;se:{if(c>>>0>2]){break se}g=N[p+28>>2];if(g>>>0>>0|g-c>>>0<2){break se}g=N[p+32>>2]-2|0;N[p+32>>2]=g;if((g|0)<=0){break se}c=O[c|0]|O[c+1|0]<<8;if(!c){break se}c=(c<<8|c>>>8)<<16>>16;g=c>>31;te:{if((K|0)==4){c=UE(N[l+56>>2],N[l+60>>2],c,g);m=Pa;c=c+32768|0;c=((c>>>0<32768?m+1|0:m)&65535)<<16|c>>>16;if(D){N[(r+w|0)+12>>2]=c;N[f+144>>2]=N[f+144>>2]|8;break te}g=w+y|0;m=c>>1;N[g>>2]=m+N[g>>2];g=r+w|0;c=c-m|0;N[g>>2]=c+N[g>>2];N[g+8>>2]=c+N[g+8>>2];break te}c=UE(N[l+64>>2],N[l+68>>2],c,g);o=Pa;c=c+32768|0;c=((c>>>0<32768?o+1|0:o)&65535)<<16|c>>>16;if(D){N[(r+w|0)+8>>2]=c;N[f+144>>2]=N[f+144>>2]|8;break te}g=w+y|0;m=c>>1;N[g+4>>2]=m+N[g+4>>2];g=r+w|0;c=c-m|0;N[g+4>>2]=c+N[g+4>>2];N[g+12>>2]=c+N[g+12>>2]}Sc(f,e,_+1|0)}e=N[i+276>>2];break qe}e=e+1|0}if(d>>>0>e>>>0){continue}break}}ib(f,l,12662,0);_a(N[i+384>>2]);break ae}d=O[k+4|0];if(!(L[N[p+4>>2]+140|0]&1|d&64)){break ae}N[i+272>>2]=p;N[i+276>>2]=k;c=O[k+16|0]|O[k+17|0]<<8;L[i+320|0]=d>>>6&1;N[i+316>>2]=0;x=k+8|0;N[i+280>>2]=x+((c<<8|c>>>8)&65535);e=N[p+16>>2];c=N[N[p+8>>2]+24>>2];if(N[c+32>>2]==-1){d=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[d+32>>2]=(c<<8|c>>>8)&65535}N[e+64>>2]=0;if(!O[e+60|0]){break ae}l=0;while(1){f=N[e+64>>2];D=f>>>0>=Q[e+68>>2];c=0;ue:{if(D){break ue}d=N[N[e+80>>2]+T(f,20)>>2];c=2;if((d|0)==65535){break ue}g=d;c=O[k+10|0]|O[k+11|0]<<8;d=x+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;g=g-((c<<8|c>>>8)&65535)|0;m=O[d+2|0]|O[d+3|0]<<8;c=1;if(g>>>0>=((m<<8|m>>>8)&65535)>>>0){break ue}c=O[(d+g|0)+4|0]}w=O[x|0]|O[x+1|0]<<8;m=(w<<8|w>>>8)&65535;r=m>>>0>c>>>0;d=l;K=T(d,m);g=O[k+12|0]|O[k+13|0]<<8;o=(g<<8|g>>>8)&65535;y=o+x|0;g=O[k+14|0]|O[k+15|0]<<8;H=x+((g<<8|g>>>8)&65535)|0;u=(O[((r?c:1)+K|0)+y|0]<<2)+H|0;g=O[u|0]|O[u+1|0]<<8;l=(((g<<8|g>>>8)&65535)-o|0)/(m|0)|0;g=O[u+2|0]|O[u+3|0]<<8;ve:{we:{if(g&65343){break we}if(!(!d|!(g&64?l:1))){c=H+(O[y+(r?c:1)|0]<<2)|0;d=O[c+2|0]|O[c+3|0]<<8;if(d&65343){break we}c=O[c|0]|O[c+1|0]<<8;if((d^g)&64|((((c<<8|c>>>8)&65535)-o|0)/(m|0)|0)!=(l|0)){break we}}c=H+(O[y+(K+!w|0)|0]<<2)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65343)){break ve}}if(D){break ve}c=O[e+62|0]?N[e+72>>2]:f;if(!c){break ve}wb(e,3,c-1|0,f+1|0,1,1);g=O[u+2|0]|O[u+3|0]<<8}xe:{if(!(g&128)){break xe}c=N[i+316>>2];if(c>>>0<=7){d=N[e+64>>2];N[i+316>>2]=c+1;N[((c<<2)+i|0)+284>>2]=d;break xe}N[i+316>>2]=0}c=g&65343;ye:{if(!c|!N[i+316>>2]){break ye}ze:{d=N[i+316>>2];Ae:{if((d|0)<0){break Ae}g=N[i+280>>2];f=(g-N[i+276>>2]|0)-8|0;c=(c<<8|c>>>8)&65535;g=((c>>>0>>0?1073741823:c-f>>>1|0)<<1)+g|0;w=N[i+272>>2];c=d<<1;if(!c){break ze}if(Q[w+24>>2]>g>>>0){break Ae}f=N[w+28>>2];if(f>>>0>>0|c>>>0>f-g>>>0){break Ae}c=N[w+32>>2]-c|0;N[w+32>>2]=c;if((c|0)>0){break ze}}N[i+316>>2]=0;break ye}if(!d){break ye}y=N[N[w+4>>2]+132>>2];H=O[i+320|0];while(1){d=d-1|0;N[i+316>>2]=d;c=N[((d<<2)+i|0)+284>>2];if(c>>>0>2]){f=O[g|0]|O[g+1|0]<<8;D=(f<<8|f>>>8)<<16>>16;f=D&-2;m=T(c,20);c=m+N[e+88>>2]|0;Be:{if((N[e+40>>2]&-2)==4){if(H){if((f|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+12>>2]=0;break Be}if(!O[c+18|0]){break Be}m=N[c+12>>2];r=N[w+8>>2];f=UE(N[r+64>>2],N[r+68>>2],f,f>>31);r=Pa;f=f+32768|0;N[c+12>>2]=(((f>>>0<32768?r+1|0:r)&65535)<<16|f>>>16)+m;N[e+144>>2]=N[e+144>>2]|8;break Be}if(!(y&N[(m+N[e+80>>2]|0)+4>>2])){break Be}m=N[w+8>>2];f=UE(N[m+56>>2],N[m+60>>2],f,f>>31);o=Pa;f=f+32768|0;f=((f>>>0<32768?o+1|0:o)&65535)<<16|f>>>16;N[c>>2]=f+N[c>>2];N[c+8>>2]=f+N[c+8>>2];break Be}if(H){if((f|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+8>>2]=0;break Be}if(!O[c+18|0]){break Be}r=N[c+8>>2];m=N[w+8>>2];f=UE(N[m+56>>2],N[m+60>>2],f,f>>31);m=Pa;f=f+32768|0;N[c+8>>2]=(((f>>>0<32768?m+1|0:m)&65535)<<16|f>>>16)+r;N[e+144>>2]=N[e+144>>2]|8;break Be}if(!(y&N[(m+N[e+80>>2]|0)+4>>2])){break Be}m=N[w+8>>2];f=UE(N[m+64>>2],N[m+68>>2],f,f>>31);o=Pa;f=f+32768|0;f=((f>>>0<32768?o+1|0:o)&65535)<<16|f>>>16;N[c+4>>2]=f+N[c+4>>2];N[c+12>>2]=f+N[c+12>>2]}if(D&1){break ye}}g=g+2|0;if(d){continue}break}}d=N[e+64>>2];if(!O[e+60|0]|(d|0)==N[e+68>>2]){break ae}Ce:{if(O[u+2|0]&64){c=N[e+152>>2];N[e+152>>2]=c-1;if((c|0)>0){break Ce}}if(O[e+62|0]){m=N[e+72>>2];f=N[e+80>>2];g=N[e+84>>2];De:{if((f|0)==(g|0)){c=d;if((c|0)==(m|0)){break De}}c=m+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break Ce}g=N[e+84>>2];f=N[e+80>>2]}Ee:{if((f|0)!=(g|0)){break Ee}c=N[e+72>>2];if(c+1>>>0<=N[e+64>>2]+1>>>0){g=f;break Ee}if(!O[e+62|0]){break a}g=N[e+88>>2];N[e+84>>2]=g;c=T(c,20);if(!c){break Ee}F(g,f,c);g=N[e+84>>2];f=N[e+80>>2]}d=T(N[e+64>>2],20)+f|0;f=N[d+4>>2];c=T(N[e+72>>2],20)+g|0;N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;d=N[e+64>>2];c=N[e+72>>2]}N[e+72>>2]=c+1}N[e+64>>2]=d+1}if(O[e+60|0]){continue}break}}c=N[p+52>>2];d=N[c+12>>2];N[p+24>>2]=d;c=N[c+16>>2];N[p+28>>2]=c+d;if((c|0)<0){break b}Fe:{if(X){break Fe}e=N[p+16>>2];l=N[e+68>>2];if(l>>>0>=2){m=N[e+80>>2];g=l-1|0;f=0;while(1){c=m+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=m+T(f,20)|0;N[c+16>>2]=N[d+16>>2];w=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=w;w=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=w;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[e+63|0]){break Fe}c=N[e+68>>2];c=c>>>0>>0?c:l;if(c>>>0<2){break Fe}e=N[e+88>>2];g=c-1|0;f=0;while(1){c=e+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=e+T(f,20)|0;N[c+16>>2]=N[d+16>>2];l=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=l;l=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=l;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}c=N[p+8>>2];d=N[p+16>>2];N[i+32>>2]=N[p+72>>2];ib(d,c,17599,i+32|0)}c=O[k|0]|O[k+1|0]<<8|(O[k+2|0]<<16|O[k+3|0]<<24);d=N[p+72>>2]+1|0;N[p+72>>2]=d;k=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+k|0;h=h+1|0;if((G|0)!=(h|0)){continue}break}}ib(s,b,12647,0)}ab(N[p+52>>2])}if(O[J+141|0]&64){c=hl(N[b+24>>2]+172|0);m=Ue(i+272|0,J,b,s,275552);W=R[N[m+8>>2]+80>>2];Ge:{if(W<=U(0)){break Ge}w=N[N[m+4>>2]+136>>2];l=N[m+16>>2];if((N[l+40>>2]&-2)==4){d=O[c+6|0]|O[c+7|0]<<8;if(d){d=c+((d<<8|d>>>8)&65535)|0}else{d=275552}d=fl(d,c,W);W=R[N[m+8>>2]+44>>2];$=U(Z(U(U(W*U(d|0))+U(.5))));He:{if(U(V($))>2];if(!f){break Ge}g=c;h=d;c=f-1|0;d=0;while(1){Je:{if((c|0)==(d|0)){k=N[l+80>>2];d=f;break Je}k=N[l+80>>2];d=d+1|0;if(O[(k+T(d,20)|0)+16|0]&128){continue}}break}e=0;while(1){c=T(e,20);if(w&N[(c+k|0)+4>>2]){c=c+N[l+88>>2]|0;N[c>>2]=g+N[c>>2];N[c+8>>2]=h+N[c+8>>2]}c=d+1|0;e=c>>>0>>0?f:c;t=e-1|0;c=d;while(1){Ke:{if((c|0)==(t|0)){c=e;break Ke}c=c+1|0;if(O[(T(c,20)+k|0)+16|0]&128){continue}}break}t=d>>>0>>0;e=d;d=c;if(t){continue}break}break Ge}d=O[c+8|0]|O[c+9|0]<<8;if(d){d=c+((d<<8|d>>>8)&65535)|0}else{d=275552}d=fl(d,c,W);W=R[N[m+8>>2]+48>>2];$=U(Z(U(U(W*U(d|0))+U(.5))));Le:{if(U(V($))>2];if(!d){break Ge}f=c;g=e;e=d-1|0;c=0;while(1){Ne:{if((c|0)==(e|0)){k=N[l+80>>2];c=d;break Ne}k=N[l+80>>2];c=c+1|0;if(O[(k+T(c,20)|0)+16|0]&128){continue}}break}e=0;while(1){e=T(e,20);if(w&N[(e+k|0)+4>>2]){e=e+N[l+88>>2]|0;N[e+4>>2]=f+N[e+4>>2];N[e+12>>2]=g+N[e+12>>2]}e=c;h=c+1|0;h=d>>>0>h>>>0?d:h;t=h-1|0;while(1){Oe:{if((c|0)==(t|0)){c=h;break Oe}c=c+1|0;if(O[(T(c,20)+k|0)+16|0]&128){continue}}break}if(d>>>0>e>>>0){continue}break}}ab(N[m+52>>2])}La=i+448|0;break td}Pe:{if(!(O[a+200|0]&32)|N[N[a+80>>2]+48>>2]!=2){break Pe}d=N[s+68>>2];if(!d){break Pe}e=N[s+80>>2];if(v){h=0;while(1){c=T(h,20);if(O[(c+e|0)+12|0]&8){c=c+N[s+88>>2]|0;f=N[c+4>>2];N[c+4>>2]=0;g=N[c>>2];N[c>>2]=0;N[c+8>>2]=N[c+8>>2]-g;N[c+12>>2]=N[c+12>>2]-f}h=h+1|0;if((d|0)!=(h|0)){continue}break}break Pe}f=0;if((d|0)!=1){c=d&1;d=d&-2;while(1){g=T(f,20);if(O[(g+e|0)+12|0]&8){g=g+N[s+88>>2]|0;N[g>>2]=0;N[g+4>>2]=0}g=T(f|1,20);if(O[(g+e|0)+12|0]&8){g=g+N[s+88>>2]|0;N[g>>2]=0;N[g+4>>2]=0}f=f+2|0;if((d|0)!=(f|0)){continue}break}if(!c){break Pe}}c=T(f,20);if(!(O[(c+e|0)+12|0]&8)){break Pe}c=c+N[s+88>>2]|0;N[c>>2]=0;N[c+4>>2]=0}Qe:{if(!(O[s+144|0]&2)|O[s+16|0]&12){break Qe}c=N[s+68>>2];if(!c){break Qe}d=N[s+80>>2];e=N[s+88>>2];f=0;if((c|0)!=1){g=c&1;h=c&-2;while(1){c=T(f,20);l=c+d|0;if(!(!(O[l+16|0]&32)|O[l+12|0]&16)){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=T(f|1,20);l=c+d|0;if(!(!(O[l+16|0]&32)|O[l+12|0]&16)){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}f=f+2|0;if((h|0)!=(f|0)){continue}break}if(!g){break Qe}}c=d+T(f,20)|0;if(!(O[c+16|0]&32)|O[c+12|0]&16){break Qe}c=e+T(f,20)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}Re:{if(!(O[a+201|0]&32)){break Re}c=N[s+68>>2];if(!c){break Re}d=N[s+80>>2];e=N[s+88>>2];f=0;if((c|0)!=1){g=c&1;h=c&-2;while(1){c=T(f,20);if(N[c+d>>2]==65535){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=T(f|1,20);if(N[c+d>>2]==65535){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}f=f+2|0;if((h|0)!=(f|0)){continue}break}if(!g){break Re}}c=T(f,20);if(N[c+d>>2]!=65535){break Re}c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=O[s+140|0];if((c&3)==3){if(c&4){e=N[s+68>>2];Se:{Te:{if(O[s+63|0]){break Te}c=0;if(N[s+168>>2]){break Se}N[s+72>>2]=0;M[s+62>>1]=256;N[s+84>>2]=N[s+80>>2];c=T(e,20);if(!c){break Te}C(N[s+88>>2],0,c)}c=N[s+88>>2]}if(!(!(O[s+144|0]&8)|!e)){d=N[s+40>>2];f=0;while(1){Nj(c,e,f,d,64);f=f+1|0;if((e|0)!=(f|0)){continue}break}}if(!(!e|R[b+36>>2]==U(0))){f=0;while(1){d=c+T(f,20)|0;g=N[d+12>>2];if(g){W=U(U(Z(U(U(R[b+40>>2]*U(g|0))+U(.5))))+U(N[d+8>>2]));Ue:{if(U(V(W))>2]=g}f=f+1|0;if(e>>>0>f>>>0){continue}break}}c=N[147126];f=b;Ve:{while(1){if((c|0)==N[N[f+96>>2]+56>>2]){f=N[f+20>>2];if(!f){break Ve}if((f|0)!=588752){continue}break Ve}break}if(!j){break Ve}h=0;while(1){c=T(h,20);Jd(b,N[c+ca>>2],q+120|0,q+96|0);c=c+da|0;N[c+8>>2]=N[c+8>>2]-N[q+120>>2];N[c+12>>2]=N[c+12>>2]-N[q+96>>2];h=h+1|0;if((n|0)!=(h|0)){continue}break}}We:{Xe:{if(!(O[a+200|0]&128)){break Xe}if(!ib(s,b,13525,0)){break Xe}c=O[s+140|0];if((c&3)!=3){break We}if(!(c&4)){break d}f=1;h=0;c=N[s+68>>2];if(c>>>0>1){d=N[s+80>>2];while(1){if(!(1<>1]&7168)){Gj(J,b,s,h,f,v);h=f}f=f+1|0;if((c|0)!=(f|0)){continue}break}}Gj(J,b,s,h,c,v);ib(s,b,13545,0)}Ye:{if((N[s+40>>2]&-3)!=5){break Ye}e=N[s+68>>2];if(e>>>0>=2){f=N[s+80>>2];j=e-1|0;n=0;while(1){c=f+T(j,20)|0;N[q+136>>2]=N[c+16>>2];d=N[c+12>>2];N[q+128>>2]=N[c+8>>2];N[q+132>>2]=d;d=N[c+4>>2];N[q+120>>2]=N[c>>2];N[q+124>>2]=d;d=f+T(n,20)|0;N[c+16>>2]=N[d+16>>2];g=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=g;g=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=g;N[d+16>>2]=N[q+136>>2];c=N[q+132>>2];N[d+8>>2]=N[q+128>>2];N[d+12>>2]=c;c=N[q+124>>2];N[d>>2]=N[q+120>>2];N[d+4>>2]=c;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}if(!O[s+63|0]){break Ye}c=N[s+68>>2];c=c>>>0>>0?c:e;if(c>>>0<2){break Ye}e=N[s+88>>2];j=c-1|0;n=0;while(1){c=e+T(j,20)|0;N[q+136>>2]=N[c+16>>2];d=N[c+12>>2];N[q+128>>2]=N[c+8>>2];N[q+132>>2]=d;d=N[c+4>>2];N[q+120>>2]=N[c>>2];N[q+124>>2]=d;d=e+T(n,20)|0;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[d+16>>2]=N[q+136>>2];c=N[q+132>>2];N[d+8>>2]=N[q+128>>2];N[d+12>>2]=c;c=N[q+124>>2];N[d>>2]=N[q+120>>2];N[d+4>>2]=c;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}c=O[s+140|0];if(c&4){L[s+140|0]=c&251;if((c&3)==3){L[s+140|0]=c&248;if((P[a+200>>1]&8704)==8192){ll(s)}if(!(O[s+144|0]&2)){break f}d=N[s+16>>2];if(d&4){break f}c=N[s+80>>2];g=N[s+68>>2];e=N[s+28>>2];N[q+120>>2]=e;if(!(d&8)){if(e){break g}N[q+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];j=N[b+100>>2];f=q+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,j,32,f,d)|0){break g}g=N[s+68>>2]}h=0;if(g){f=0;while(1){e=N[s+80>>2];j=T(f,20);d=e+j|0;Ze:{if(!(O[d+12|0]&16?0:O[d+16|0]&32)){if((f|0)!=(h|0)){l=N[d+4>>2];c=e;e=T(h,20);c=c+e|0;N[c>>2]=N[d>>2];N[c+4>>2]=l;N[c+16>>2]=N[d+16>>2];l=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=l;d=N[s+88>>2];c=d+e|0;d=d+j|0;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;e=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=e;N[c+16>>2]=N[d+16>>2]}h=h+1|0;c=f+1|0;break Ze}l=N[d+8>>2];_e:{$e:{af:{bf:{c=f+1|0;if(c>>>0>>0){if((l|0)!=N[(e+T(c,20)|0)+8>>2]){break bf}break Ze}if(h){break af}break _e}if(!h){break $e}}n=N[(e+T(h,20)|0)-12>>2];if(n>>>0<=l>>>0){break Ze}i=N[d+4>>2]&7;j=h;while(1){j=j-1|0;d=e+T(j,20)|0;if((n|0)!=N[d+8>>2]){break Ze}N[d+4>>2]=i|N[d+4>>2]&-8;N[d+8>>2]=l;if(j){continue}break}break Ze}Ib(s,f,f+2|0)}h=0}f=c;if((g|0)!=(f|0)){continue}break}}N[s+68>>2]=h;break f}break e}break e}break d}break d}break d}break e}ba(10615,17855,2019,8730);B()}break d}break c}break a}break c}if(!g){break f}f=0;if((g|0)!=1){e=g&1;g=g&-2;while(1){d=c+T(f,20)|0;if(!(!(O[d+16|0]&32)|O[d+12|0]&16)){N[d>>2]=N[q+120>>2]}d=c+T(f|1,20)|0;if(!(!(O[d+16|0]&32)|O[d+12|0]&16)){N[d>>2]=N[q+120>>2]}f=f+2|0;if((g|0)!=(f|0)){continue}break}if(!e){break f}}c=c+T(f,20)|0;if(!(O[c+16|0]&32)|O[c+12|0]&16){break f}N[c>>2]=N[q+120>>2]}cf:{if(!N[N[a+80>>2]+20>>2]){break cf}if(!ib(s,b,10964,0)){break cf}Qa[N[N[a+80>>2]+20>>2]](J,s,b);ib(s,b,10989,0)}df:{if(!(O[s+144|0]&32)){break df}b=N[s+68>>2];if(!b){break df}a=N[s+16>>2];g=a&64;a=a&128;d=N[s+80>>2];c=b-1|0;f=0;while(1){ef:{if((c|0)==(f|0)){f=b;break ef}e=T(f,20);f=f+1|0;e=d+e|0;if(N[e+8>>2]==N[e+28>>2]){continue}}break}if(!a){n=0;while(1){a=f;ff:{if(f>>>0<=n>>>0){break ff}e=a-n|0;h=e&3;l=0;j=0;f=n;i=a+(f^-1)|0;if(i>>>0>=3){k=e&-4;m=0;while(1){c=d+T(f,20)|0;j=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|j;f=f+4|0;m=m+4|0;if((k|0)!=(m|0)){continue}break}}if(h){while(1){j=N[(d+T(f,20)|0)+4>>2]&7|j;f=f+1|0;l=l+1|0;if((h|0)!=(l|0)){continue}break}}c=g?j:j&-3;j=0;e=e&7;if(e){while(1){N[(d+T(n,20)|0)+4>>2]=c;n=n+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}if(i>>>0<7){break ff}while(1){e=d+T(n,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;n=n+8|0;if((a|0)!=(n|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){gf:{if((e|0)==(f|0)){f=c;break gf}j=T(f,20);f=f+1|0;j=d+j|0;if(N[j+8>>2]==N[j+28>>2]){continue}}break}n=a;if(b>>>0>n>>>0){continue}break}break df}j=0;if(!g){while(1){n=0;a=f;g=f>>>0<=j>>>0;hf:{if(g){break hf}c=a-j|0;e=c&3;l=0;f=j;if(a+(f^-1)>>>0>=3){h=c&-4;m=0;while(1){c=d+T(f,20)|0;n=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|n;f=f+4|0;m=m+4|0;if((h|0)!=(m|0)){continue}break}}if(!e){break hf}while(1){n=N[(d+T(f,20)|0)+4>>2]&7|n;f=f+1|0;l=l+1|0;if((e|0)!=(l|0)){continue}break}}jf:{if(g){break jf}c=n&1?n&-5:n;c=c>>>2&1|c&-3;e=a+(j^-1)|0;n=0;f=a-j&7;if(f){while(1){N[(d+T(j,20)|0)+4>>2]=c;j=j+1|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if(e>>>0<7){break jf}while(1){e=d+T(j,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;j=j+8|0;if((a|0)!=(j|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){kf:{if((e|0)==(f|0)){f=c;break kf}g=T(f,20);f=f+1|0;g=d+g|0;if(N[g+8>>2]==N[g+28>>2]){continue}}break}j=a;if(b>>>0>j>>>0){continue}break df}}while(1){n=0;a=f;g=f>>>0<=j>>>0;lf:{if(g){break lf}c=a-j|0;e=c&3;l=0;f=j;if(a+(f^-1)>>>0>=3){h=c&-4;m=0;while(1){c=d+T(f,20)|0;n=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|n;f=f+4|0;m=m+4|0;if((h|0)!=(m|0)){continue}break}}if(!e){break lf}while(1){n=N[(d+T(f,20)|0)+4>>2]&7|n;f=f+1|0;l=l+1|0;if((e|0)!=(l|0)){continue}break}}mf:{if(g){break mf}c=n&1?n&-5:n;c=c&4?c|3:c;e=a+(j^-1)|0;n=0;f=a-j&7;if(f){while(1){N[(d+T(j,20)|0)+4>>2]=c;j=j+1|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if(e>>>0<7){break mf}while(1){e=d+T(j,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;j=j+8|0;if((a|0)!=(j|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){nf:{if((e|0)==(f|0)){f=c;break nf}g=T(f,20);f=f+1|0;g=d+g|0;if(N[g+8>>2]==N[g+28>>2]){continue}}break}j=a;if(b>>>0>j>>>0){continue}break}}if((O[s+140|0]&48)==48){N[s+148>>2]=1073741823;N[s+152>>2]=536870911;N[s+40>>2]=aa;M[s+140>>1]=0;La=q+288|0;return 1}}ba(22742,14165,187,12136);B()}ba(22742,14165,195,12125);B()}ba(22778,14165,169,12138);B()}ba(16656,14279,195,9642);B()}ba(8694,17855,209,11932);B()}function Kt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0;q=La-128|0;La=q;i=N[b+96>>2];g=N[i+4>>2];a:{b:{c:{ga=N[b+540>>2];if(ga){break c}f=11;if(!g){break a}d=N[g+16>>2];if((d|0)<=0){break a}e=g+20|0;h=e+(d<<2)|0;while(1){d=N[N[e>>2]>>2];if(cb(N[d+8>>2],9195)){e=e+4|0;if(h>>>0>e>>>0){continue}break a}break}ga=N[d+20>>2];if(!ga){break a}N[b+540>>2]=ga;N[b+516>>2]=N[ga>>2];if(i){break c}break b}e=g;d=N[N[i>>2]+32>>2];if(d){k=Qa[d|0](i,10566)|0;if(k){break b}e=N[i+4>>2]}k=0;d=N[e+16>>2];if((d|0)<=0){break b}e=e+20|0;f=e+(d<<2)|0;while(1){d:{h=N[e>>2];if((h|0)==(i|0)){break d}d=N[N[h>>2]+32>>2];if(!d){break d}d=Qa[d|0](h,10566)|0;if(!d){break d}k=d;break b}e=e+4|0;if(f>>>0>e>>>0){continue}break}}N[b+544>>2]=k;if(!N[b+548>>2]){e:{if(!g){h=0;break e}h=0;d=N[g+16>>2];if((d|0)<=0){break e}e=g+20|0;i=e+(d<<2)|0;while(1){f=N[e>>2];d=N[f>>2];if(cb(N[d+8>>2],15504)){e=e+4|0;if(i>>>0>e>>>0){continue}break e}break}d=N[d+32>>2];if(!d){break e}h=Qa[d|0](f,10423)|0}N[b+548>>2]=h}if(!N[b+552>>2]){f:{if(!g){h=0;break f}h=0;d=N[g+16>>2];if((d|0)<=0){break f}e=g+20|0;g=e+(d<<2)|0;while(1){f=N[e>>2];d=N[f>>2];if(cb(N[d+8>>2],15504)){e=e+4|0;if(g>>>0>e>>>0){continue}break f}break}d=N[d+32>>2];if(!d){break f}h=Qa[d|0](f,10670)|0}N[b+552>>2]=h}oa=N[a+28>>2];N[b+140>>2]=0;N[b+132>>2]=0;N[b+136>>2]=0;qa=b+132|0;sa=q+108|0;while(1){g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{e=N[a+8>>2];if(Q[a+4>>2]<=e+3>>>0){break t}u:{d=N[a+20>>2];v:{if(d){if((Qa[d|0](a,e,q+52|0,4)|0)!=4){break t}u=N[a+8>>2];d=q+52|0;break v}d=N[a>>2];if(!d){break u}u=e;d=d+e|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);N[a+8>>2]=u+4;f=2;w:{d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);x:{if((d|0)<=1954115632){if((d|0)<=131071){if((d|0)==-1519689116|(d|0)==-1519619212|(d|0)==65536){break x}break a}if((d|0)<=1953658212){if((d|0)==131072|(d|0)==1330926671){break x}break a}if((d|0)==1953658213|(d|0)==1953784678){break x}break a}if((d|0)==2001684018){break p}if((d|0)==2001684038){break w}if((d|0)!=1954115633){break a}}N[qa>>2]=1953784678;if((d|0)!=1953784678){break s}f=rb(a,177904,qa);N[q+12>>2]=f;if(f){break a}d=N[b+140>>2];if(d){break r}f=8;break a}y:{d=N[a+20>>2];if(d){if(!(Qa[d|0](a,e,0,0)|0)){break y}f=85;break a}if(e>>>0<=Q[a+4>>2]){break y}f=85;break a}N[a+8>>2]=e;N[q+12>>2]=0;A=N[a+28>>2];f=rb(a,177920,q+52|0);if(f){break a}f=8;u=N[q+56>>2];if((u|0)==1953784678|(u|0)==2001684038){break a}d=N[q+60>>2];if((d|0)!=N[a+4>>2]){break a}h=P[q+64>>1];if(!h){break a}l=T(h,20);if(d>>>0<=l+44>>>0){break a}k=h<<4;e=k|12;d=N[q+68>>2];if(e>>>0>=d>>>0|d&3){break a}r=N[q+80>>2];s=N[q+76>>2];z:{if(!s){if(!(r|N[q+84>>2])){break z}break a}if(!r){break z}if(!N[q+84>>2]){break a}}m=N[q+88>>2];if(!(N[q+92>>2]?m:1)){break a}w=Qa[N[A+4>>2]](A,e)|0;if(!w){f=!w<<6;n=0;w=0;break j}f=64;n=Qa[N[A+4>>2]](A,40)|0;if(!n){n=0;break i}L[n|0]=0;L[n+1|0]=0;L[n+2|0]=0;L[n+3|0]=0;L[n+4|0]=0;L[n+5|0]=0;L[n+6|0]=0;L[n+7|0]=0;L[n+32|0]=0;L[n+33|0]=0;L[n+34|0]=0;L[n+35|0]=0;L[n+36|0]=0;L[n+37|0]=0;L[n+38|0]=0;L[n+39|0]=0;L[n+24|0]=0;L[n+25|0]=0;L[n+26|0]=0;L[n+27|0]=0;L[n+28|0]=0;L[n+29|0]=0;L[n+30|0]=0;L[n+31|0]=0;L[n+16|0]=0;L[n+17|0]=0;L[n+18|0]=0;L[n+19|0]=0;L[n+20|0]=0;L[n+21|0]=0;L[n+22|0]=0;L[n+23|0]=0;L[n+8|0]=0;L[n+9|0]=0;L[n+10|0]=0;L[n+11|0]=0;L[n+12|0]=0;L[n+13|0]=0;L[n+14|0]=0;L[n+15|0]=0;d=0;N[q+24>>2]=0;e=h;while(1){g=d;d=g+1|0;i=e>>>0>1;e=e>>>1|0;if(i){continue}break}L[w+9|0]=g;L[w+5|0]=h;L[w+3|0]=u;L[w+8|0]=g>>>8;e=16<>>8;L[w+2|0]=u>>>8;L[w+1|0]=u>>>16;L[w|0]=u>>>24;d=k-e|0;L[w+11|0]=d;L[w+6|0]=e>>>8;L[w+10|0]=d>>>8;d=T(h,24);v=Qa[N[A+4>>2]](A,d)|0;if(!v){break i}C(v,0,d);d=h<<2;H=Qa[N[A+4>>2]](A,d)|0;if(!H){Qa[N[A+8>>2]](A,v);break i}C(H,0,d);f=Bb(a,l);N[q+24>>2]=f;if(f){break l}d=h>>>0<=1?1:h;g=0;h=0;while(1){l=v+T(h,24)|0;k=N[a+36>>2];e=N[a+32>>2];A:{if(k>>>0<=e+3>>>0){f=0;break A}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=e+4|0}N[a+32>>2]=e;N[l>>2]=f;u=0;B:{if(k>>>0<=e+3>>>0){I=0;break B}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);I=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+4>>2]=I;if(k>>>0>e+3>>>0){i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);u=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+8>>2]=u;u=0;C:{if(k>>>0<=e+3>>>0){I=0;break C}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);I=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+12>>2]=I;if(k>>>0>e+3>>>0){i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);u=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+16>>2]=u;if(f>>>0<=g>>>0){if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break m}N[H+(h<<2)>>2]=l;g=f;h=h+1|0;if((d|0)!=(h|0)){continue}break}if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;p=P[q+64>>1];Zc(H,p,4,180);f=p<<4|12;e=T(p,20)+44|0;D:{if(!p){d=f;break D}u=0;h=N[q+68>>2];g=N[q+60>>2];d=f;while(1){l=N[H+(u<<2)>>2];if(N[l+4>>2]!=(e|0)){break m}k=N[l+8>>2];if(k>>>0>g>>>0|g-k>>>0>>0){break m}i=N[l+12>>2];if(i>>>0>>0|h>>>0>>0|h-i>>>0>>0){break m}N[l+20>>2]=d;d=(i+3&-4)+d|0;e=(k+3&-4)+e|0;u=u+1|0;if((p|0)!=(u|0)){continue}break}}if(s){if((e|0)!=(s|0)){break o}e=r+s|0;if(e>>>0>Q[q+60>>2]){break o}}E:{if(!m){u=N[q+60>>2];break E}if((m|0)!=(e+3&-4)){break o}e=m+N[q+92>>2]|0;u=N[q+60>>2];if(e>>>0>u>>>0){break o}}if(N[q+68>>2]!=(d|0)|(e|0)!=(u|0)){break o}w=lb(A,1,f,d,w,q+24|0);f=N[q+24>>2];if(f){break n}if(p){u=w+12|0;h=0;while(1){l=v+T(h,24)|0;L[u|0]=O[l+3|0];L[u+1|0]=P[l+2>>1];L[u+2|0]=N[l>>2]>>>8;L[u+3|0]=N[l>>2];L[u+4|0]=O[l+19|0];L[u+5|0]=P[l+18>>1];L[u+6|0]=N[l+16>>2]>>>8;L[u+7|0]=N[l+16>>2];L[u+8|0]=O[l+23|0];L[u+9|0]=P[l+22>>1];L[u+10|0]=N[l+20>>2]>>>8;L[u+11|0]=N[l+20>>2];L[u+12|0]=O[l+15|0];L[u+13|0]=P[l+14>>1];L[u+14|0]=N[l+12>>2]>>>8;L[u+15|0]=N[l+12>>2];f=N[l+4>>2];F:{G:{H:{I:{e=N[a+20>>2];J:{if(e){if(Qa[e|0](a,f,0,0)|0){break J}break I}if(f>>>0<=Q[a+4>>2]){break I}}f=85;break H}N[a+8>>2]=f;f=Bb(a,N[l+8>>2]);if(f){break H}f=N[l+8>>2];e=N[l+12>>2];if((f|0)!=(e|0)){break G}F(N[l+20>>2]+w|0,N[a+32>>2],f);break F}N[q+24>>2]=f;break n}N[q+124>>2]=e;k=q+124|0;g=N[a+32>>2];f=N[l+8>>2];m=La+-64|0;La=m;i=6;e=N[l+20>>2]+w|0;K:{if(!k|(!e|!A)){break K}N[m+20>>2]=e;N[m+12>>2]=f;N[m+8>>2]=g;e=N[k>>2];N[m+48>>2]=A;N[m+44>>2]=163;N[m+40>>2]=164;N[m+24>>2]=e;if(mm(m+8|0,15)){break K}f=km(m+8|0,4);if((f|0)!=1){i=N[m+36>>2];L:{if(!i){break L}I=N[m+44>>2];if(!I){break L}g=N[i+20>>2];if(g){e=N[g>>2];if((e&-2)==4){Qa[I|0](N[m+48>>2],N[g+12>>2]);e=N[g>>2]}if((e|0)==6){Qa[N[m+44>>2]](N[m+48>>2],N[g+4>>2])}N[g+28>>2]=0;N[g+32>>2]=0;N[g>>2]=0;i=N[g+40>>2];N[g+52>>2]=i;N[g+48>>2]=i;e=N[g+56>>2];if(e){e=Qa[e|0](0,0,0)|0;N[g+60>>2]=e;N[m+56>>2]=e;i=N[g+40>>2]}Qa[N[m+44>>2]](N[m+48>>2],i);Qa[N[m+44>>2]](N[m+48>>2],N[g+36>>2]);Qa[N[m+44>>2]](N[m+48>>2],g);I=N[m+44>>2];i=N[m+36>>2]}Qa[I|0](N[m+48>>2],i)}i=0;e=f+5|0;if(e>>>0>=6){break K}i=N[(e<<2)+43112>>2];break K}N[k>>2]=N[m+28>>2];i=0;y=N[m+36>>2];if(!y){break K}I=N[m+44>>2];if(!I){break K}f=N[y+20>>2];if(f){e=N[f>>2];if((e&-2)==4){Qa[I|0](N[m+48>>2],N[f+12>>2]);e=N[f>>2]}if((e|0)==6){Qa[N[m+44>>2]](N[m+48>>2],N[f+4>>2])}N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;y=N[f+40>>2];N[f+52>>2]=y;N[f+48>>2]=y;e=N[f+56>>2];if(e){e=Qa[e|0](0,0,0)|0;N[f+60>>2]=e;N[m+56>>2]=e;y=N[f+40>>2]}Qa[N[m+44>>2]](N[m+48>>2],y);Qa[N[m+44>>2]](N[m+48>>2],N[f+36>>2]);Qa[N[m+44>>2]](N[m+48>>2],f);I=N[m+44>>2];y=N[m+36>>2]}Qa[I|0](N[m+48>>2],y)}La=m- -64|0;f=i;if(!f){if(N[q+124>>2]==N[l+12>>2]){break F}f=8}N[q+24>>2]=f;if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break n}if(N[a+20>>2]){f=N[a>>2];if(f){e=N[a+28>>2];Qa[N[e+8>>2]](e,f)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;g=N[l+12>>2];f=N[l+20>>2];e=g+f|0;if(e&3){C(e+w|0,0,((g^-1)-f&3)+1|0)}u=u+16|0;h=h+1|0;if((p|0)!=(h|0)){continue}break}N[q+24>>2]=0}N[n+32>>2]=0;N[n+8>>2]=0;N[n+4>>2]=d;N[n>>2]=w;N[n+20>>2]=0;a=N[a+28>>2];N[n+24>>2]=181;N[n+28>>2]=a;f=N[b+104>>2];M:{if(!f){break M}d=N[b+8>>2];e=N[f+28>>2];a=N[f+24>>2];if(a){Qa[a|0](f)}if(d&1024){break M}Qa[N[e+8>>2]](e,f)}N[b+104>>2]=n;N[b+8>>2]=N[b+8>>2]&-1025;f=0;break n}N[a+8>>2]=e+4;f=2;break a}f=85;break a}N[b+136>>2]=65536;N[b+140>>2]=1;a=Qa[N[oa+4>>2]](oa,4)|0;N[b+144>>2]=a;if(!a){f=!a<<6;break a}N[a>>2]=e;break q}f=10;if(d>>>0>N[a+4>>2]>>>5>>>0){break a}ta=b,ua=lb(oa,4,0,d,0,q+12|0),N[ta+144>>2]=ua;f=N[q+12>>2];if(f){break a}f=Bb(a,N[b+140>>2]<<2);N[q+12>>2]=f;if(f){break a}if(N[b+140>>2]>0){e=N[a+32>>2];g=N[b+144>>2];f=N[a+36>>2];d=0;while(1){N:{if(f>>>0<=e+3>>>0){u=0;break N}h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);u=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);e=e+4|0}N[a+32>>2]=e;N[g+(d<<2)>>2]=u;d=d+1|0;if((d|0)>2]){continue}break}}if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}u=N[b+104>>2];d=N[b+144>>2];a=c>>31;n=(a^c)-a|0;a=(n&65535)+a|0;if((a|0)>=N[b+140>>2]){f=6;if((c|0)>=0){break a}a=0}d=N[d+(a<<2)>>2];a=N[u+20>>2];O:{if(a){f=85;if(!(Qa[a|0](u,d,0,0)|0)){break O}break a}f=85;if(d>>>0>Q[u+4>>2]){break a}}N[u+8>>2]=d;f=Qa[N[ga+88>>2]](b,u)|0;N[q+52>>2]=f;if(f){break a}m=N[b+100>>2];a=0;f=0;P:{Q:{if(Qa[N[b+516>>2]](b,1719034226,u,q+24|0)|Q[q+24>>2]<20){break Q}e=Nb(u,q+52|0);f=N[q+52>>2];if(f){break Q}k=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}g=N[u+8>>2]+2|0;d=N[u+20>>2];R:{if(d){f=85;if(!(Qa[d|0](u,g,0,0)|0)){break R}break Q}f=85;if(g>>>0>Q[u+4>>2]){break Q}}N[u+8>>2]=g;N[q+52>>2]=0;h=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}ga=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}d=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}i=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}f=0;a=e;break P}k=0;h=0;ga=0;d=0;i=0}e=0;S:{if((a|0)!=65536|(ga|0)!=20|(!h|h>>>0>16382)){break S}a=h<<2;T:{if((a+4|0)!=(i|0)){if((a+6|0)!=(i|0)){break S}if(d>>>0<=32511){break T}break S}if(d>>>0>32511){break S}}if(Q[q+24>>2]<(T(h,20)+k|0)+T(d,i)>>>0){break S}N[b+740>>2]=N[b+740>>2]|1;e=d}U:{if(!(L[b+740|0]&1)){break U}l=h<<2;V:{W:{X:{Y:{if(h){g=Qa[N[m+4>>2]](m,l)|0;if(!g){f=64;break U}w=Qa[N[m+4>>2]](m,l)|0;if(w){break Y}w=0;f=64;break W}y=(N[u+8>>2]+k|0)-16|0;f=0;w=0;g=0;break X}d=N[u+8>>2]+k|0;a=d-8|0;y=d-16|0;k=0;d=g;while(1){f=Xh(u,a,d,4);d=d+4|0;a=a+ga|0;k=k+1|0;if((k|0)!=(h|0)){continue}break}}Z:{if(!e){d=0;break Z}a=(T(h,ga)+y|0)+4|0;d=0;while(1){f=Xh(u,a,w,l);if(!Mb(g,w,l)){break Z}a=a+i|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}d=e}e=((d|0)==(e|0))+e|0;if(!g){break V}}Qa[N[m+8>>2]](m,g)}if(!w){break U}Qa[N[m+8>>2]](m,w)}a=n>>>16|0;_:{if(!(Qa[N[b+516>>2]](b,1735162214,u,0)|0)){break _}if(!(Qa[N[b+516>>2]](b,1128678962,u,0)|0)){break _}e=Qa[N[b+516>>2]](b,1128678944,u,0)|0?e:0}$:{if(a>>>0>(e&65535)>>>0){if((c|0)>=0){break $}e=0}N[b+12>>2]=e<<16;N[b+4>>2]=c;N[b>>2]=N[b+140>>2];if(!ra){break a}N[b>>2]=ra;break a}f=6;break a}aa:{d=N[a+20>>2];if(d){if(!(Qa[d|0](a,e,0,0)|0)){break aa}f=85;break a}if(e>>>0<=Q[a+4>>2]){break aa}f=85;break a}N[a+8>>2]=e;N[q+12>>2]=0;t=N[a+28>>2];N[q+40>>2]=0;N[q+44>>2]=0;N[q+32>>2]=0;N[q+36>>2]=0;N[q+24>>2]=0;N[q+28>>2]=0;N[q+20>>2]=0;f=rb(a,177984,q+52|0);if(f){break a}f=8;i=N[q+56>>2];if((i|0)==2001684018){break a}n=N[q+60>>2];if((n|0)!=N[a+4>>2]){break a}g=P[q+64>>1];if(!g|n>>>0<=T(g,20)+48>>>0){break a}h=N[q+80>>2];e=N[q+76>>2];ba:{if(!e){d=N[q+84>>2]|h;h=0;if(!d){break ba}break a}if(!h){break ba}if(!N[q+84>>2]){break a}}if(n-e>>>0>>0|e>>>0>=n>>>0){break a}e=N[q+88>>2];if(e>>>0>=n>>>0){break a}d=N[q+92>>2];if(!(!d|(e|0)!=0)|d>>>0>n-e>>>0){break a}w=0;N[q+116>>2]=0;d=g<<5;ma=Qa[N[t+4>>2]](t,d)|0;ca:{if(!ma){f=64;break ca}C(ma,0,d);da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{m=g<<2;I=Qa[N[t+4>>2]](t,m)|0;if(I){d=c>>31;l=(d^c)-d&65535;h=0;C(I,0,m);N[q+120>>2]=0;g=g>>>0<=1?1:g;k=0;na:{oa:{pa:{qa:{ra:{while(1){L[q+124|0]=0;s=(h<<5)+ma|0;f=N[a+8>>2];sa:{ta:{e=N[a+20>>2];ua:{if(e){if((Qa[e|0](a,f,q+124|0,1)|0)!=1){break ta}f=N[a+8>>2];e=q+124|0;break ua}if(Q[a+4>>2]<=f>>>0){break ta}e=N[a>>2]+f|0}u=O[e|0];w=f+1|0;N[a+8>>2]=w;L[s|0]=u;e=u&63;va:{if((e|0)==63){wa:{xa:{ya:{if(Q[a+4>>2]<=f+4>>>0){break ya}e=N[a+20>>2];za:{if(e){if((Qa[e|0](a,w,q+124|0,4)|0)!=4){break ya}w=N[a+8>>2];e=q+124|0;break za}e=N[a>>2];if(!e){break xa}e=e+w|0}e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);break wa}f=85;N[q+120>>2]=85;u=0;N[s+4>>2]=0;break fa}f=0}N[a+8>>2]=w+4;N[s+4>>2]=f;u=O[s|0];break va}f=N[(e<<2)+178048>>2];N[s+4>>2]=f}e=u&255;n=(f|0)!=1819239265&(f|0)!=1735162214?e>>>0<64:e>>>0>63;f=Ql(a,s+8|0);if(f){break qa}f=N[s+8>>2];N[s+12>>2]=f;Aa:{if(!n){f=Ql(a,s+12|0);if(f){break qa}e=N[s+12>>2];if(N[s+4>>2]==1819239265){break Aa}f=e}if((k^-1)>>>0>>0){break ra}break sa}f=0;if(!e){break sa}break ra}f=85;N[q+120>>2]=85;u=0;L[s|0]=0;break fa}N[s+24>>2]=f;N[s+20>>2]=k;N[s+16>>2]=(u&192)>>>6|(n?0:256);N[(h<<2)+I>>2]=s;k=f+k|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}N[q+120>>2]=0;e=N[(m+I|0)-4>>2];f=N[e+24>>2];e=f+N[e+20>>2]|0;N[q+96>>2]=e;if(e>>>0>>0){break ra}N[q+104>>2]=0;M[q+108>>1]=1;if((i|0)!=1953784678){break oa}e=Nb(a,q+120|0);N[q+104>>2]=e;u=0;f=N[q+120>>2];if(f){break fa}if((e|0)==65536|(e|0)==131072){break pa}break ga}f=8}N[q+120>>2]=f;break ha}f=je(a,sa);N[q+120>>2]=f;if(f){break fa}h=P[q+108>>1];if(!h){break ga}k=lb(t,12,0,h,0,q+120|0);N[q+116>>2]=k;f=N[q+120>>2];if(f){break fa}w=0;i=P[q+64>>1];n=0;while(1){m=T(n,12)+k|0;f=je(a,m+4|0);N[q+120>>2]=f;if(f){break ja}ta=m,ua=Nb(a,q+120|0),N[ta>>2]=ua;f=N[q+120>>2];if(f){break ja}u=0;ta=m,ua=lb(t,2,0,P[m+4>>1],0,q+120|0),N[ta+8>>2]=ua;f=N[q+120>>2];if(f){d=c;break ia}Ba:{if(!P[m+4>>1]){g=0;y=0;break Ba}y=0;g=0;while(1){f=je(a,q+124|0);if(f){break ka}f=P[q+124>>1];if(f>>>0>=i>>>0){break la}M[N[m+8>>2]+(u<<1)>>1]=f;e=N[N[(f<<2)+I>>2]+4>>2];g=(e|0)==1735162214?f:g;y=(e|0)==1819239265?f:y;u=u+1|0;if(u>>>0>1]){continue}break}N[q+120>>2]=0}if((y-g|0)!=1|g>>>0>y>>>0?g|y:0){break la}n=n+1|0;if((n|0)!=(h|0)){continue}break}break na}k=0;N[q+116>>2]=0;h=1}e=N[a+8>>2];N[q+100>>2]=e;g=N[q+72>>2];i=(g+e|0)+3|0;e=i&-4;m=N[q+60>>2];if(e>>>0>m>>>0){break la}f=N[q+76>>2];if(f){if((e|0)!=(f|0)){break la}e=N[q+80>>2]+(i|3)&-4}f=N[q+88>>2];if(f){if((e|0)!=(f|0)){break la}e=N[q+92>>2]+(e|3)&-4}if((m+3&-4)!=(e|0)){break la}ra=h;Ca:{e=d+l|0;if((h|0)>(e|0)){break Ca}e=0;if((c|0)<0){break Ca}f=6;break ka}Da:{if(!N[q+104>>2]){n=P[q+64>>1];break Da}w=0;l=T(e,12)+k|0;u=lb(t,4,0,P[l+4>>1],0,q+120|0);f=N[q+120>>2];if(f){break ja}i=P[l+4>>1];Ea:{if(!i){break Ea}e=0;if((i|0)!=1){h=i&65534;while(1){N[u+(e<<2)>>2]=N[(P[N[l+8>>2]+(e<<1)>>1]<<2)+I>>2];f=e|1;N[u+(f<<2)>>2]=N[(P[N[l+8>>2]+(f<<1)>>1]<<2)+I>>2];e=e+2|0;if((h|0)!=(e|0)){continue}break}}if(!(i&1)){break Ea}N[u+(e<<2)>>2]=N[(P[N[l+8>>2]+(e<<1)>>1]<<2)+I>>2]}I=lb(t,4,P[q+64>>1],i,I,q+120|0);f=N[q+120>>2];if(f){break ja}Fa:{Ga:{Ha:{n=P[l+4>>1];if(!n){break Ha}k=0;e=0;if(n>>>0>=4){h=n&65532;while(1){i=e<<2;N[i+I>>2]=N[i+u>>2];f=i|4;N[f+I>>2]=N[f+u>>2];f=i|8;N[f+I>>2]=N[f+u>>2];f=i|12;N[f+I>>2]=N[f+u>>2];e=e+4|0;if((h|0)!=(e|0)){continue}break}}h=n&3;if(!h){break Ha}while(1){f=e<<2;N[f+I>>2]=N[f+u>>2];e=e+1|0;k=k+1|0;if((h|0)!=(k|0)){continue}break}break Ga}if(!u){break Fa}}Qa[N[t+8>>2]](t,u);n=P[l+4>>1]}e=N[l>>2];M[q+64>>1]=n;N[q+56>>2]=e}f=n&65535;l=f<<4;y=l|12;N[q+16>>2]=y;Ia:{e=N[q+68>>2];if(e>>>0<=y>>>0){break Ia}e=m>>>0>>6>>>0?m<<6:e;y=e>>>0>=67108864?67108864:e;N[q+16>>2]=y;if(y){break Ia}k=0;break ma}k=Qa[N[t+4>>2]](t,y)|0;if(k){break ma}w=0;N[q+20>>2]=0;f=64;N[q+120>>2]=64;break ja}f=64;N[q+120>>2]=64;I=0;break ha}N[q+20>>2]=k;Ja:{w=Qa[N[t+4>>2]](t,40)|0;if(w){L[w|0]=0;L[w+1|0]=0;L[w+2|0]=0;L[w+3|0]=0;L[w+4|0]=0;L[w+5|0]=0;L[w+6|0]=0;L[w+7|0]=0;L[w+32|0]=0;L[w+33|0]=0;L[w+34|0]=0;L[w+35|0]=0;L[w+36|0]=0;L[w+37|0]=0;L[w+38|0]=0;L[w+39|0]=0;L[w+24|0]=0;L[w+25|0]=0;L[w+26|0]=0;L[w+27|0]=0;L[w+28|0]=0;L[w+29|0]=0;L[w+30|0]=0;L[w+31|0]=0;L[w+16|0]=0;L[w+17|0]=0;L[w+18|0]=0;L[w+19|0]=0;L[w+20|0]=0;L[w+21|0]=0;L[w+22|0]=0;L[w+23|0]=0;L[w+8|0]=0;L[w+9|0]=0;L[w+10|0]=0;L[w+11|0]=0;L[w+12|0]=0;L[w+13|0]=0;L[w+14|0]=0;L[w+15|0]=0;u=0;N[q+120>>2]=0;e=N[q+56>>2];e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);L[k|0]=e;L[k+1|0]=e>>>8;L[k+2|0]=e>>>16;L[k+3|0]=e>>>24;if(n&65535){e=f;while(1){h=u;u=h+1|0;i=e>>>0>1;e=e>>>1|0;if(i){continue}break}L[k+9|0]=h;L[k+5|0]=n;L[k+8|0]=h>>>8;h=16<>>8;e=l-h|0;L[k+11|0]=e;L[k+6|0]=h>>>8;L[k+10|0]=e>>>8;u=n;break Ja}f=0;break Ja}f=64;break ka}ta=q,ua=wh(k,12),N[ta+24>>2]=ua;Zc(I,f,4,182);Ka:{La:{h=u&65535;if(h>>>0>=2){u=N[N[I>>2]+4>>2];e=1;while(1){f=u;u=N[N[(e<<2)+I>>2]+4>>2];if((f|0)==(u|0)){break La}e=e+1|0;if((h|0)!=(e|0)){continue}break}}z=N[q+96>>2];if(!z|y>>>0>>0){break La}f=6;if((z|0)<=0){break Ka}u=Qa[N[t+4>>2]](t,z)|0;f=64;if(!u){break Ka}f=Bb(a,g);if(f){d=c;break ia}S=N[a+32>>2];N[q+124>>2]=z;y=g;ha=0;j=La-5040|0;La=j;f=N[q+124>>2];s=j+136|0;e=s;N[e>>2]=0;N[e+4>>2]=0;N[j+8>>2]=f;N[j+48>>2]=0;N[j+44>>2]=176;N[j+40>>2]=177;N[j+24>>2]=0;N[j+28>>2]=32;N[j+288>>2]=0;N[j+292>>2]=0;N[j+64>>2]=0;N[j+68>>2]=0;N[j+16>>2]=0;N[j+20>>2]=0;N[j+108>>2]=0;N[j+112>>2]=0;N[j+584>>2]=0;N[j+592>>2]=0;N[j+596>>2]=0;N[j+80>>2]=0;N[j+84>>2]=0;N[j+268>>2]=0;N[j+152>>2]=0;N[j+156>>2]=0;N[j+168>>2]=0;N[j+172>>2]=0;N[j+128>>2]=0;N[j+132>>2]=0;N[j+4>>2]=u;N[j+568>>2]=0;N[j+572>>2]=0;N[j+100>>2]=11;N[j+104>>2]=4;N[j+560>>2]=0;N[j+564>>2]=0;N[j+580>>2]=0;M[j+576>>1]=16;N[j+76>>2]=0;N[j+92>>2]=16;N[j+96>>2]=15;N[j+88>>2]=0;N[j+296>>2]=63;N[j+600>>2]=45248;N[j+604>>2]=168208;N[j+184>>2]=0;N[j+188>>2]=0;N[j+12>>2]=0;Ma:{Na:{if(!f){break Na}ha=j+4|0;if(u){break Na}f=-20;break Ma}H=j+168|0;p=j+152|0;la=j+268|0;na=j+592|0;r=j+24|0;N[j+32>>2]=S;N[j+36>>2]=y;ia=j+840|0;_=j+1184|0;ba=j+640|0;da=j+264|0;pa=j+588|0;ca=j+56|0;Oa:while(1){h=1;Pa:{Qa:while(1){Ra:{switch(h-1|0){case 1:if(N[j+112>>2]){f=Rf(j+16|0,j+8|0,ha,j+12|0,1);if((f|0)<0){break Ma}}e=N[j+64>>2];if(e){if(!N[j+36>>2]){N[j+36>>2]=y;N[j+64>>2]=0;N[j+32>>2]=S;continue Oa}if(!y){f=2;break Ma}L[e+ca|0]=O[S|0];h=1;e=N[j+64>>2]+1|0;N[j+36>>2]=e;N[j+64>>2]=e;y=y-1|0;S=S+1|0;continue}f=2;e=N[j+36>>2];if(!e){break Ma}h=N[j+32>>2];k=e&3;g=0;Sa:{if(e>>>0<4){e=0;break Sa}n=e&-4;e=0;i=0;while(1){L[e+ca|0]=O[h|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;L[e+ca|0]=O[h+1|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;L[e+ca|0]=O[h+2|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;L[e+ca|0]=O[h+3|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;h=h+4|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}}if(!k){break Ma}while(1){L[e+ca|0]=O[h|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;h=h+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break};break Ma;default:if(N[j+64>>2]){N[j+64>>2]=0;f=h;break Ma}g=N[j+28>>2];f=32-g|0;e=f>>>3|0;N[j+36>>2]=e+N[j+36>>2];N[j+32>>2]=N[j+32>>2]-e;e=f&-8;N[j+28>>2]=e+g;N[j+24>>2]=(e|0)!=32?N[j+24>>2]<>2]){case 19:e=N[j+20>>2];h=N[(j+(e<<2)|0)+220>>2];break Wa;case 2:e=N[j+580>>2];break bb;case 22:h=N[j+220>>2];break ob;case 6:e=N[j+20>>2];break pb;case 12:e=N[j+200>>2];if((e|0)<=0){break _a}g=N[j+32>>2];k=N[j+24>>2];i=N[j+36>>2];h=N[j+28>>2];while(1){if(h-25>>>0<=7){if(!i){h=2;continue Qa}n=k>>>8|0;N[j+24>>2]=n;f=O[g|0];i=i-1|0;N[j+36>>2]=i;g=g+1|0;N[j+32>>2]=g;k=n|f<<24;N[j+24>>2]=k;h=h-8|0}f=e-1|0;N[j+200>>2]=f;h=h+8|0;N[j+28>>2]=h;n=(e|0)>1;e=f;if(n){continue}break};break _a;case 0:break Ta;case 21:break Ua;case 20:break Va;case 17:break Ya;case 4:break $a;case 3:break ab;case 1:break cb;case 18:break db;case 11:break eb;case 26:break gb;case 14:break hb;case 13:case 15:case 16:break ib;case 7:case 8:case 9:case 10:break jb;case 25:break kb;case 24:break mb;case 23:break nb;case 5:break qb;default:continue}}e=N[j+28>>2];rb:{if(e-27>>>0>=6){h=N[j+24>>2];break rb}h=2;i=N[j+36>>2];if(!i){continue}h=N[j+24>>2]>>>8|0;N[j+24>>2]=h;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=i-1;N[j+32>>2]=g+1;h=h|f<<24;N[j+24>>2]=h;e=e-8|0}N[j+28>>2]=e+6;f=h>>>e|0;e=f&3;N[j+256>>2]=e;N[j+260>>2]=(f>>>2&15)<>2]](N[j+48>>2],N[j+220>>2])|0;N[j+596>>2]=e;h=-21;if(!e){continue}N[j+16>>2]=6;N[j+20>>2]=0;e=0}h=N[j+220>>2];if((e|0)<(h|0)){while(1){h=N[j+28>>2];sb:{if(h-31>>>0>=2){f=N[j+24>>2];break sb}n=N[j+36>>2];if(!n){break fb}i=N[j+24>>2]>>>8|0;N[j+24>>2]=i;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=n-1;N[j+32>>2]=g+1;f=i|f<<24;N[j+24>>2]=f;h=h-8|0}N[j+28>>2]=h+2;L[N[j+596>>2]+e|0]=f>>>h&3;e=e+1|0;h=N[j+220>>2];if((e|0)<(h|0)){continue}break}}N[j+16>>2]=22}h=Zl(h<<6,pa,na,j+16|0);if((h|0)!=1){continue}N[j+608>>2]=0;N[j+612>>2]=0;N[j+632>>2]=0;N[j+636>>2]=0;N[j+624>>2]=0;N[j+628>>2]=0;N[j+616>>2]=0;N[j+620>>2]=0;l=N[j+220>>2];if(l){e=0;A=N[j+592>>2];while(1){v=e<<6;k=v|3;n=v|2;i=v|1;m=O[v+A|0];h=0;g=0;while(1){g=m^O[A+(h+i|0)|0]|m^O[A+(h+v|0)|0]|m^O[A+(h+n|0)|0]|m^O[A+(h+k|0)|0]|g;f=h>>>0<60;h=h+4|0;if(f){continue}break}if(!g){f=j+(e>>>3&536870908)|0;N[f+608>>2]=N[f+608>>2]|1<>2]=23}m=N[j+260>>2];i=m+16|0;l=N[j+256>>2];k=l+1|0;tb:{if(!(O[j+576|0]&32)){i=i+(24<>>0>2147483643){break ub}e=0;n=(2147483644-m>>>l|0)+4|0;h=n;while(1){g=e;e=e+1|0;f=h>>>0>3;h=h>>>1|0;if(f){continue}break}e=(n>>>g&1|e<<1)-4|0;f=i;if(!e){break ub}f=(m+(-1<>2]<<2,da,la,j+16|0);if((h|0)!=1){continue}e=N[j+588>>2];k=Qa[N[j+40>>2]](N[j+48>>2],T(e,2532))|0;M[j+148>>1]=e;N[j+144>>2]=16777472;N[j+136>>2]=k;N[j+140>>2]=k+(e<<2);e=N[j+224>>2];n=Qa[N[j+40>>2]](N[j+48>>2],T(e,4324))|0;M[j+164>>1]=e;N[j+160>>2]=46138048;N[j+152>>2]=n;N[j+156>>2]=n+(e<<2);g=N[j+264>>2];e=g<<2;h=Qa[N[j+40>>2]](N[j+48>>2],T(e,f+377|0))|0;M[j+180>>1]=g;M[j+178>>1]=f;M[j+176>>1]=i;N[j+168>>2]=h;N[j+172>>2]=e+h;f=-22;if(!h|(!k|!n)){break Ma}N[j+16>>2]=24;N[j+20>>2]=0;g=0;e=s;break lb}f=-31;e=s;vb:{wb:{g=N[j+20>>2];switch(g|0){case 0:break lb;case 2:break vb;case 1:break wb;default:break Ma}}e=p;break lb}e=H}if(N[j+640>>2]==1){f=N[j+2428>>2]}else{f=N[e+4>>2];N[j+2428>>2]=0;N[j+2432>>2]=f;N[j+640>>2]=1;f=0}if((f|0)>1]){h=N[j+2432>>2];while(1){h=Qf(P[e+8>>1],P[e+10>>1],h,j+5036|0,j+16|0);if((h|0)!=1){continue Qa}f=N[j+2428>>2];N[N[e>>2]+(f<<2)>>2]=N[j+2432>>2];h=N[j+2432>>2]+(N[j+5036>>2]<<2)|0;N[j+2432>>2]=h;f=f+1|0;N[j+2428>>2]=f;if((f|0)>1]){continue}break}g=N[j+20>>2]}N[j+640>>2]=0;h=1;N[j+20>>2]=g+1;if((g|0)<2){continue}N[j+16>>2]=25}f=N[j+236>>2];e=N[j+592>>2]+(f<<6)|0;N[j+128>>2]=e;N[j+192>>2]=N[(j+(f>>>3&536870908)|0)+608>>2]>>>f&1;N[j+272>>2]=N[N[j+136>>2]+(O[e|0]<<2)>>2];e=O[f+N[j+596>>2]|0];N[j+132>>2]=N[j+268>>2];N[j+124>>2]=((e&3)<<9)+169536;N[j+120>>2]=N[N[j+152>>2]>>2];h=-27;if(!Yl(j+16|0)){continue}k=P[j+178>>1];n=N[j+256>>2];l=N[j+260>>2];xb:{if(!l){h=16;break xb}h=16;f=0;e=0;if(l>>>0>=4){i=l&-4;while(1){L[h+ba|0]=0;N[_+(h<<2)>>2]=e|1;g=h|1;L[g+ba|0]=0;N[_+(g<<2)>>2]=e|2;g=h|2;L[g+ba|0]=0;N[_+(g<<2)>>2]=e|3;g=h|3;L[g+ba|0]=0;e=e+4|0;N[_+(g<<2)>>2]=e;h=h+4|0;if((e|0)!=(i|0)){continue}break}}g=l&3;if(!g){break xb}while(1){L[h+ba|0]=0;e=e+1|0;N[_+(h<<2)>>2]=e;h=h+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}f=1;g=0;if(h>>>0>>0){while(1){i=l+((g+2<>2]=i+e;h=h+1|0;if(!(e>>>n|0)){continue}break}f=f+g|0;g=g^1;if(h>>>0>>0){continue}break}}N[j+16>>2]=7}k=j+16|0;f=N[k+4>>2];g=N[k+52>>2];i=2;yb:{zb:{Ab:{e=N[k+20>>2];if(e>>>0<28){break Ab}h=N[k+12>>2];Bb:{if((h|0)!=32){i=N[k+16>>2];h=h-8|0;break Bb}n=N[k+8>>2]>>>8|0;N[k+8>>2]=n;i=N[k+16>>2];h=O[i|0];e=e-1|0;N[k+20>>2]=e;N[k+12>>2]=24;i=i+1|0;N[k+16>>2]=i;N[k+8>>2]=n|h<<24;h=16}if(!(!(i&1)|!e)){l=N[k+8>>2]>>>8|0;N[k+8>>2]=l;n=O[i|0];N[k+20>>2]=e-1;N[k+12>>2]=h;N[k+16>>2]=i+1;N[k+8>>2]=l|n<<24}i=-31;Cb:{Db:{switch(N[k>>2]-7|0){case 0:e=0;break Cb;case 1:e=1;break Cb;case 2:e=2;break Cb;case 3:break Db;default:break zb}}e=3}while(1){Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{switch(e|0){case 0:Kb:{Lb:{n=N[k+20>>2];if(n>>>0<28){break Lb}h=N[k+196>>2];if(h){break Kb}while(1){A=N[k+208>>2];if(A>>>0>=2){n=N[k+168>>2]+2528|0;h=N[k+8>>2];e=N[k+12>>2];if(e>>>0>=16){e=e^16;N[k+12>>2]=e;i=h>>>16|0;N[k+8>>2]=i;l=N[k+16>>2];h=O[l|0]|O[l+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=l+2;h=i|h<<16;N[k+8>>2]=h}m=N[k+172>>2];l=h>>>e|0;i=n+((l&255)<<2)|0;n=O[i|0];if(n>>>0>=9){i=(P[i+2>>1]+(N[(n<<2)+169360>>2]&l>>>8)<<2)+i|0;n=O[i|0];e=e+8|0}v=P[i+2>>1];e=(n&255)+e|0;if(e>>>0>=16){e=e^16;N[k+12>>2]=e;i=h>>>16|0;N[k+8>>2]=i;n=N[k+16>>2];h=O[n|0]|O[n+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=n+2;h=i|h<<16;N[k+8>>2]=h}l=h>>>e|0;i=(m+1584|0)+((l&255)<<2)|0;n=O[i|0];if(n>>>0>=9){i=(P[i+2>>1]+(N[(n<<2)+169360>>2]&l>>>8)<<2)+i|0;n=O[i|0];e=e+8|0}e=e+(n&255)|0;n=P[i+2>>1];i=n<<2;l=P[i+169280>>1];R=O[i+169282|0];Mb:{if((n|0)!=25){if(e>>>0>=16){e=e^16;N[k+12>>2]=e;i=h>>>16|0;N[k+8>>2]=i;n=N[k+16>>2];h=O[n|0]|O[n+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=n+2;h=i|h<<16;N[k+8>>2]=h}N[k+12>>2]=e+R;e=N[(R<<2)+169392>>2]&h>>>e;break Mb}Nb:{Ob:{if(e>>>0<=15){i=h>>>16|0;n=e+16|0;B=h>>>e&65535;o=N[k+20>>2];e=N[k+16>>2];break Ob}m=e^16;N[k+12>>2]=m;h=h>>>16|0;N[k+8>>2]=h;e=N[k+16>>2];i=O[e|0]|O[e+1|0]<<8;o=N[k+20>>2]-2|0;N[k+20>>2]=o;e=e+2|0;N[k+16>>2]=e;h=h|i<<16;N[k+8>>2]=h;B=h>>>m&65535;n=m+16|0;if(m>>>0>4294967279){break Nb}}N[k+8>>2]=i;n=n^16;N[k+12>>2]=n;h=O[e|0]|O[e+1|0]<<8;N[k+20>>2]=o-2;N[k+16>>2]=e+2;h=h<<16|i;N[k+8>>2]=h}e=R-16|0;N[k+12>>2]=e+n;e=(N[(e<<2)+169392>>2]&h>>>n)<<16|B}N[k+196>>2]=e+l;Pb:{Qb:{switch(v|0){case 1:e=N[k+228>>2]+1|0;break Pb;case 0:e=N[k+224>>2];break Pb;default:break Qb}}e=v-2|0}N[k+224>>2]=N[k+228>>2];e=e-(e>>>0>=A>>>0?A:0)|0;N[k+228>>2]=e;N[k+104>>2]=N[N[k+136>>2]+(e<<2)>>2]}n=N[k+20>>2];if(n>>>0<=27){break Lb}h=N[k+196>>2];if(!h){continue}break}break Kb}N[k>>2]=7;i=2;break Ab}e=N[k+8>>2];m=N[k+104>>2];f=N[k+12>>2];if(f>>>0>=16){f=f^16;N[k+12>>2]=f;i=e>>>16|0;N[k+8>>2]=i;l=N[k+16>>2];e=O[l|0]|O[l+1|0]<<8;n=n-2|0;N[k+20>>2]=n;N[k+16>>2]=l+2;e=i|e<<16;N[k+8>>2]=e}l=e>>>f|0;m=m+((l&255)<<2)|0;i=O[m|0];if(i>>>0>=9){m=(P[m+2>>1]+(N[(i<<2)+169360>>2]&l>>>8)<<2)+m|0;i=O[m|0];f=f+8|0}i=f+(i&255)|0;N[k+12>>2]=i;m=P[m+2>>1]<<3;f=O[m+171587|0];N[k+180>>2]=f;N[k+268>>2]=L[m+171586|0];L[k+260|0]=O[f+N[k+116>>2]|0];v=P[m+171588>>1];l=P[m+171590>>1];x=O[m+171585|0];E=0;R=O[m+171584|0];Rb:{if(!R){break Rb}if(R>>>0<=16){if(i>>>0>=16){i=i^16;N[k+12>>2]=i;f=e>>>16|0;N[k+8>>2]=f;m=N[k+16>>2];e=O[m|0]|O[m+1|0]<<8;n=n-2|0;N[k+20>>2]=n;N[k+16>>2]=m+2;e=f|e<<16;N[k+8>>2]=e}E=N[(R<<2)+169392>>2]&e>>>i;i=i+R|0;break Rb}Sb:{Tb:{if(i>>>0<=15){E=e>>>16|0;m=i+16|0;B=e>>>i&65535;i=N[k+16>>2];break Tb}A=i^16;N[k+12>>2]=A;e=e>>>16|0;N[k+8>>2]=e;f=N[k+16>>2];E=O[f|0]|O[f+1|0]<<8;n=n-2|0;N[k+20>>2]=n;i=f+2|0;N[k+16>>2]=i;e=e|E<<16;N[k+8>>2]=e;B=e>>>A&65535;m=A+16|0;if(A>>>0>4294967279){break Sb}}N[k+8>>2]=E;m=m^16;N[k+12>>2]=m;e=O[i|0]|O[i+1|0]<<8;n=n-2|0;N[k+20>>2]=n;N[k+16>>2]=i+2;e=e<<16|E;N[k+8>>2]=e}f=R-16|0;E=(N[(f<<2)+169392>>2]&e>>>m)<<16|B;i=f+m|0}Ub:{if(x>>>0<=16){if(i>>>0>=16){i=i^16;N[k+12>>2]=i;f=e>>>16|0;N[k+8>>2]=f;m=N[k+16>>2];e=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=n-2;N[k+16>>2]=m+2;e=f|e<<16;N[k+8>>2]=e}N[k+12>>2]=i+x;e=N[(x<<2)+169392>>2]&e>>>i;break Ub}Vb:{Wb:{if(i>>>0<=15){m=e>>>16|0;f=i+16|0;B=e>>>i&65535;i=N[k+16>>2];break Wb}A=i^16;N[k+12>>2]=A;e=e>>>16|0;N[k+8>>2]=e;f=N[k+16>>2];m=O[f|0]|O[f+1|0]<<8;n=n-2|0;N[k+20>>2]=n;i=f+2|0;N[k+16>>2]=i;e=e|m<<16;N[k+8>>2]=e;B=e>>>A&65535;f=A+16|0;if(A>>>0>4294967279){break Vb}}N[k+8>>2]=m;f=f^16;N[k+12>>2]=f;e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=n-2;N[k+16>>2]=i+2;e=e<<16|m;N[k+8>>2]=e}i=x-16|0;N[k+12>>2]=i+f;e=(N[(i<<2)+169392>>2]&e>>>f)<<16|B}N[k+196>>2]=h-1;N[k+264>>2]=e+l;f=v+E|0;if(!f){break Ib}N[k+184>>2]=N[k+184>>2]-f;e=1;continue;case 2:break Gb;case 1:break Jb;default:break Hb}}n=N[k+176>>2];Xb:while(1){Yb:{Zb:{if(n){i=N[k+8>>2];n=N[k+12>>2];if(n>>>0>=16){n=n^16;N[k+12>>2]=n;h=i>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;i=h|e<<16;N[k+8>>2]=i}e=N[k+256>>2]+((i>>>n&255)<<2)|0;h=P[e+2>>1];i=O[e|0];while(1){if(Q[k+20>>2]<=27){N[k>>2]=8;i=2;break Ab}_b:{if(N[k+192>>2]){E=N[k+12>>2];e=N[k+256>>2];break _b}Wl(k);i=N[k+8>>2];E=N[k+12>>2];if(E>>>0>=16){E=E^16;N[k+12>>2]=E;h=i>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;i=h|e<<16;N[k+8>>2]=i}if(!N[k+176>>2]){break Yb}e=N[k+256>>2];i=e+((i>>>E&255)<<2)|0;h=P[i+2>>1];i=O[i|0]}m=i&255;$b:{if(m>>>0>=9){n=N[k+8>>2];if(E>>>0>=16){E=E^16;N[k+12>>2]=E;n=n>>>16|0;N[k+8>>2]=n;l=N[k+16>>2];i=O[l|0]|O[l+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=l+2;n=n|i<<16;N[k+8>>2]=n}i=n>>>E|0;h=((((i&255)<<2)+e|0)+((h&65535)<<2)|0)+((N[(m<<2)+169360>>2]&i>>>8)<<2)|0;i=(O[h|0]+E|0)+8|0;N[k+12>>2]=i;h=O[h+2|0];break $b}i=m+E|0;N[k+12>>2]=i;n=N[k+8>>2]}l=h;if(i>>>0>=16){i=i^16;N[k+12>>2]=i;n=n>>>16|0;N[k+8>>2]=n;m=N[k+16>>2];h=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=m+2;n=n|h<<16;N[k+8>>2]=n}e=((n>>>i&255)<<2)+e|0;h=P[e+2>>1];i=O[e|0];L[N[k+96>>2]+g|0]=l;N[k+192>>2]=N[k+192>>2]-1;g=g+1|0;if((g|0)==N[k+64>>2]){N[k>>2]=13;f=f-1|0;i=1;break Ab}f=f-1|0;if(f){continue}break}break Zb}e=N[k+96>>2];h=N[k+68>>2];i=O[e+(h&g-2)|0];h=O[e+(h&g-1)|0];while(1){if(Q[k+20>>2]<=27){N[k>>2]=8;i=2;break Ab}if(!N[k+192>>2]){Wl(k);n=N[k+176>>2];if(n){continue Xb}}e=N[k+108>>2];l=N[N[k+120>>2]+(O[N[k+112>>2]+(O[(e+(i&255)|0)+256|0]|O[e+(h&255)|0])|0]<<2)>>2];n=N[k+8>>2];i=N[k+12>>2];if(i>>>0>=16){i=i^16;N[k+12>>2]=i;n=n>>>16|0;N[k+8>>2]=n;m=N[k+16>>2];e=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=m+2;n=n|e<<16;N[k+8>>2]=n}e=n>>>i|0;n=l+((e&255)<<2)|0;E=O[n|0];if(E>>>0>=9){n=(P[n+2>>1]+(N[(E<<2)+169360>>2]&e>>>8)<<2)+n|0;E=O[n|0];i=i+8|0}N[k+12>>2]=i+(E&255);e=P[n+2>>1];L[N[k+96>>2]+g|0]=e;N[k+192>>2]=N[k+192>>2]-1;g=g+1|0;if((g|0)==N[k+64>>2]){N[k>>2]=13;f=f-1|0;i=1;break Ab}i=h;h=e;f=f-1|0;if(f){continue}break}}f=0;if(N[k+184>>2]>0){break Ib}N[k>>2]=14;i=1;break Ab}n=0;continue}}e=2;continue}i=N[k+64>>2]-g|0;ac:{bc:{while(1){e=f-1|0;if((f|0)<=0){break bc}f=N[k+96>>2];L[f+g|0]=O[f+(N[k+68>>2]&g-N[k+268>>2])|0];g=g+1|0;f=e;i=i-1|0;if(i){continue}break}N[k>>2]=16;break ac}if(N[k+184>>2]>0){f=e;break Fb}N[k>>2]=14}i=1;f=e;break Ab}e=N[k+268>>2];cc:{if((e|0)>=0){m=!e;N[k+180>>2]=m;e=N[k+72>>2]-1|0;N[k+72>>2]=e;e=N[(k+((e&3)<<2)|0)+76>>2];break cc}if(!N[k+200>>2]){v=N[k+212>>2];if(v>>>0>=2){i=N[k+168>>2]+5056|0;f=N[k+8>>2];e=N[k+12>>2];if(e>>>0>=16){e=e^16;N[k+12>>2]=e;h=f>>>16|0;N[k+8>>2]=h;n=N[k+16>>2];f=O[n|0]|O[n+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=n+2;f=h|f<<16;N[k+8>>2]=f}l=N[k+172>>2];n=f>>>e|0;h=i+((n&255)<<2)|0;i=O[h|0];if(i>>>0>=9){h=(P[h+2>>1]+(N[(i<<2)+169360>>2]&n>>>8)<<2)+h|0;i=O[h|0];e=e+8|0}m=P[h+2>>1];e=(i&255)+e|0;if(e>>>0>=16){e=e^16;N[k+12>>2]=e;h=f>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];f=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;f=h|f<<16;N[k+8>>2]=f}n=f>>>e|0;h=(l+3168|0)+((n&255)<<2)|0;i=O[h|0];if(i>>>0>=9){h=(P[h+2>>1]+(N[(i<<2)+169360>>2]&n>>>8)<<2)+h|0;i=O[h|0];e=e+8|0}e=e+(i&255)|0;i=P[h+2>>1];h=i<<2;n=P[h+169280>>1];A=O[h+169282|0];dc:{if((i|0)!=25){if(e>>>0>=16){e=e^16;N[k+12>>2]=e;h=f>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];f=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;f=h|f<<16;N[k+8>>2]=f}N[k+12>>2]=e+A;e=N[(A<<2)+169392>>2]&f>>>e;break dc}ec:{fc:{if(e>>>0<=15){h=f>>>16|0;i=e+16|0;x=f>>>e&65535;B=N[k+20>>2];e=N[k+16>>2];break fc}l=e^16;N[k+12>>2]=l;f=f>>>16|0;N[k+8>>2]=f;e=N[k+16>>2];h=O[e|0]|O[e+1|0]<<8;B=N[k+20>>2]-2|0;N[k+20>>2]=B;e=e+2|0;N[k+16>>2]=e;f=f|h<<16;N[k+8>>2]=f;x=f>>>l&65535;i=l+16|0;if(l>>>0>4294967279){break ec}}N[k+8>>2]=h;i=i^16;N[k+12>>2]=i;f=O[e|0]|O[e+1|0]<<8;N[k+20>>2]=B-2;N[k+16>>2]=e+2;f=f<<16|h;N[k+8>>2]=f}e=A-16|0;N[k+12>>2]=e+i;e=(N[(e<<2)+169392>>2]&f>>>i)<<16|x}N[k+200>>2]=e+n;gc:{hc:{switch(m|0){case 1:e=N[k+236>>2]+1|0;break gc;case 0:e=N[k+232>>2];break gc;default:break hc}}e=m-2|0}N[k+232>>2]=N[k+236>>2];e=e-(e>>>0>=v>>>0?v:0)|0;N[k+236>>2]=e;e=N[k+252>>2]+(e<<2)|0;N[k+116>>2]=e;L[k+260|0]=O[e+N[k+180>>2]|0]}}l=N[N[k+152>>2]+(O[k+260|0]<<2)>>2];e=N[k+8>>2];f=N[k+12>>2];if(f>>>0>=16){f=f^16;N[k+12>>2]=f;h=e>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;e=h|e<<16;N[k+8>>2]=e}n=e>>>f|0;h=n&255;i=l+(h<<2)|0;m=O[i|0];if(m>>>0>=9){i=(P[(l+(h<<2)|0)+2>>1]+(N[(m<<2)+169360>>2]&n>>>8)<<2)+i|0;m=O[i|0];f=f+8|0}h=k+624|0;m=(m&255)+f|0;N[k+12>>2]=m;v=P[i+2>>1];N[k+180>>2]=0;N[k+200>>2]=N[k+200>>2]-1;ic:{if(v>>>0<=15){if(v>>>0<=3){m=1>>>v|0;N[k+180>>2]=m;f=N[k+72>>2];e=N[(k+((f+(v^-1)&3)<<2)|0)+76>>2];N[k+72>>2]=f-m;break cc}e=v>>>0<10;e=((6312258>>>(v+(e?-4:-10)<<2)&7)+N[(k+((N[k+72>>2]+(e?3:2)&3)<<2)|0)+76>>2]|0)-3|0;e=(e|0)<=0?2147483647:e;break ic}l=O[h+v|0];jc:{if(l>>>0<=16){if(m>>>0>=16){m=m^16;N[k+12>>2]=m;f=e>>>16|0;N[k+8>>2]=f;h=N[k+16>>2];e=O[h|0]|O[h+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=h+2;e=f|e<<16;N[k+8>>2]=e}N[k+12>>2]=l+m;e=N[(l<<2)+169392>>2]&e>>>m;break jc}kc:{lc:{if(m>>>0<=15){h=e>>>16|0;n=m+16|0;E=e>>>m&65535;x=N[k+20>>2];m=N[k+16>>2];break lc}i=m^16;N[k+12>>2]=i;e=e>>>16|0;N[k+8>>2]=e;f=N[k+16>>2];h=O[f|0]|O[f+1|0]<<8;x=N[k+20>>2]-2|0;N[k+20>>2]=x;m=f+2|0;N[k+16>>2]=m;e=e|h<<16;N[k+8>>2]=e;E=e>>>i&65535;n=i+16|0;if(i>>>0>4294967279){break kc}}N[k+8>>2]=h;n=n^16;N[k+12>>2]=n;e=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=x-2;N[k+16>>2]=m+2;e=e<<16|h;N[k+8>>2]=e}f=l-16|0;N[k+12>>2]=f+n;e=(N[(f<<2)+169392>>2]&e>>>n)<<16|E}e=N[(k+(v<<2)|0)+1168>>2]+(e<>2])|0}m=0}N[k+268>>2]=e;i=N[k+60>>2];f=N[k+56>>2];if((i|0)!=(f|0)){i=(f|0)>(g|0)?g:f;N[k+60>>2]=i}f=N[k+264>>2];mc:{if((e|0)>(i|0)){h=-16;if((e|0)>2147483644){break yb}h=-12;if(f-4>>>0>20){break yb}n=N[k+584>>2];l=N[(n+(f<<2)|0)+32>>2];v=O[f+n|0];N[k+72>>2]=N[k+72>>2]+m;n=N[n+164>>2];h=-19;if(!n){break yb}e=(i^-1)+e|0;i=e>>v;m=N[k+588>>2];h=-11;if((i|0)>=N[m+12>>2]){break yb}h=n+(l+T(e&N[(v<<2)+169392>>2],f)|0)|0;e=N[k+96>>2]+g|0;nc:{if((i|0)==M[m+24>>1]){F(e,h,f);e=f;break nc}e=$l(e,h,f,m,i)}N[k+184>>2]=N[k+184>>2]-e;g=e+g|0;if((g|0)>2]){e=g;break mc}N[k>>2]=15;i=1;break Ab}l=N[k+96>>2];i=N[k+68>>2];h=N[k+72>>2];N[(k+((h&3)<<2)|0)+76>>2]=e;N[k+72>>2]=h+1;N[k+184>>2]=N[k+184>>2]-f;n=i&g-e;v=n+l|0;h=O[v|0]|O[v+1|0]<<8|(O[v+2|0]<<16|O[v+3|0]<<24);e=O[v+4|0]|O[v+5|0]<<8|(O[v+6|0]<<16|O[v+7|0]<<24);m=g+l|0;l=O[v+12|0]|O[v+13|0]<<8|(O[v+14|0]<<16|O[v+15|0]<<24);i=O[v+8|0]|O[v+9|0]<<8|(O[v+10|0]<<16|O[v+11|0]<<24);L[m+8|0]=i;L[m+9|0]=i>>>8;L[m+10|0]=i>>>16;L[m+11|0]=i>>>24;L[m+12|0]=l;L[m+13|0]=l>>>8;L[m+14|0]=l>>>16;L[m+15|0]=l>>>24;L[m|0]=h;L[m+1|0]=h>>>8;L[m+2|0]=h>>>16;L[m+3|0]=h>>>24;L[m+4|0]=e;L[m+5|0]=e>>>8;L[m+6|0]=e>>>16;L[m+7|0]=e>>>24;e=f+g|0;i=f+n|0;if((n|0)<(e|0)&(i|0)>(g|0)){break Eb}h=N[k+64>>2];if((h|0)<=(e|0)|(h|0)<=(i|0)){break Eb}if((f|0)<17){break mc}i=v+16|0;l=m+16|0;if(f>>>0>=33){F(l,i,f-16|0);break mc}h=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);g=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);n=O[i+12|0]|O[i+13|0]<<8|(O[i+14|0]<<16|O[i+15|0]<<24);i=O[i+8|0]|O[i+9|0]<<8|(O[i+10|0]<<16|O[i+11|0]<<24);L[l+8|0]=i;L[l+9|0]=i>>>8;L[l+10|0]=i>>>16;L[l+11|0]=i>>>24;L[l+12|0]=n;L[l+13|0]=n>>>8;L[l+14|0]=n>>>16;L[l+15|0]=n>>>24;L[l|0]=h;L[l+1|0]=h>>>8;L[l+2|0]=h>>>16;L[l+3|0]=h>>>24;L[l+4|0]=g;L[l+5|0]=g>>>8;L[l+6|0]=g>>>16;L[l+7|0]=g>>>24}if(N[k+184>>2]>0){g=e;break Fb}N[k>>2]=14;i=1;g=e;break Ab}e=0;continue}e=3;continue}}N[k+4>>2]=f;N[k+52>>2]=g}h=i}if((h|0)!=2){continue}Y=La-16|0;La=Y;l=j+16|0;J=l+8|0;i=N[l+4>>2];k=N[l+52>>2];f=-31;oc:{pc:{qc:{switch(N[l>>2]-7|0){case 0:h=0;break pc;case 1:h=2;break pc;case 2:h=1;break pc;case 3:break qc;default:break oc}}h=3}while(1){rc:{sc:{tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{Cc:{Dc:{switch(h|0){case 0:N[l>>2]=7;if(N[l+196>>2]){break wc}while(1){K=La-16|0;La=K;Ec:{Fc:{Z=N[l+208>>2];Gc:{if(Z>>>0<2){break Gc}x=N[l+172>>2];E=N[l+168>>2]+2528|0;v=N[l+20>>2];m=N[l+16>>2];V=l+8|0;W=N[V>>2];B=W;Hc:{Ic:{n=N[l+12>>2];h=n;if(h-18>>>0<=14){f=m;e=n;g=v;while(1){if(!g){break Ic}R=B>>>8|0;N[l+8>>2]=R;A=O[f|0];g=g-1|0;N[l+20>>2]=g;h=e-8|0;N[l+12>>2]=h;f=f+1|0;N[l+16>>2]=f;B=R|A<<24;N[l+8>>2]=B;A=e-26|0;e=h;if(A>>>0<15){continue}break}}f=B>>>h|0;g=E+((f&255)<<2)|0;e=O[g|0];if(e>>>0>=9){h=h+8|0;g=(P[g+2>>1]+(N[(e<<2)+169360>>2]&f>>>8&127)<<2)+g|0;e=O[g|0]}N[l+12>>2]=(e&255)+h;N[K+8>>2]=P[g+2>>1];break Hc}if(!Jc(E,V,K+8|0)){break Gc}}Jc:{Kc:{if(!N[l+556>>2]){x=x+1584|0;Lc:{e=N[l+12>>2];Mc:{if(e-18>>>0>=15){B=N[V>>2];break Mc}g=N[l+20>>2];f=e;while(1){if(!g){break Lc}R=N[l+8>>2]>>>8|0;N[l+8>>2]=R;A=N[l+16>>2];h=O[A|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=A+1;B=R|h<<24;N[l+8>>2]=B;h=f-26|0;f=e;if(h>>>0<15){continue}break}}h=B>>>e|0;g=x+((h&255)<<2)|0;f=O[g|0];if(f>>>0>=9){g=(P[g+2>>1]+(N[(f<<2)+169360>>2]&h>>>8&127)<<2)+g|0;f=O[g|0];e=e+8|0}N[l+12>>2]=e+(f&255);h=P[g+2>>1];break Kc}if(!Jc(x,V,K+12|0)){break Jc}h=N[K+12>>2];break Kc}h=N[l+188>>2]}f=h<<2;E=P[f+169280>>1];$=O[f+169282|0];e=N[l+12>>2];if($>>>0<=32-e>>>0){B=N[V>>2];break Fc}g=N[l+20>>2];f=e;while(1){if(g){x=N[l+8>>2]>>>8|0;N[l+8>>2]=x;R=N[l+16>>2];A=O[R|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=R+1;B=x|A<<24;N[l+8>>2]=B;A=40-f|0;f=e;if(A>>>0<$>>>0){continue}break Fc}break}N[l+188>>2]=h}N[l+20>>2]=v;N[l+16>>2]=m;N[l+8>>2]=W;N[l+556>>2]=0;N[l+12>>2]=n}e=0;break Ec}N[l+556>>2]=0;N[l+12>>2]=e+$;N[l+196>>2]=E+(N[($<<2)+169392>>2]&B>>>e);Nc:{Oc:{Pc:{Qc:{e=N[K+8>>2];switch(e|0){case 1:break Oc;case 0:break Qc;default:break Pc}}e=N[l+224>>2];break Nc}e=e-2|0;break Nc}e=N[l+228>>2]+1|0}N[l+224>>2]=N[l+228>>2];e=e-(e>>>0>=Z>>>0?Z:0)|0;N[l+228>>2]=e;N[l+104>>2]=N[N[l+136>>2]+(e<<2)>>2];e=1}La=K+16|0;if(e){N[l>>2]=7;if(!N[l+196>>2]){continue}break wc}break};f=2;break rc;case 1:N[l>>2]=9;e=N[l+268>>2];if((e|0)<0){break Cc}N[l+180>>2]=!e;e=N[l+72>>2]-1|0;N[l+72>>2]=e;h=N[(l+((e&3)<<2)|0)+76>>2];break Bc;case 2:break Dc;default:break Ac}}h=N[l+176>>2];Rc:while(1){Sc:{N[l>>2]=8;if(h){h=N[l+192>>2];while(1){Tc:{if(h){break Tc}if(!Vl(l)){f=2;break rc}if(N[l+176>>2]){break Tc}h=0;continue Rc}v=N[l+256>>2];Uc:{Vc:{e=N[l+12>>2];Wc:{if(e-18>>>0>=15){m=N[J>>2];break Wc}h=N[l+20>>2];f=e;while(1){if(!h){break Vc}m=N[l+8>>2]>>>8|0;N[l+8>>2]=m;n=N[l+16>>2];g=O[n|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=n+1;m=m|g<<24;N[l+8>>2]=m;g=f-26|0;f=e;if(g>>>0<15){continue}break}}g=m>>>e|0;h=v+((g&255)<<2)|0;f=O[h|0];if(f>>>0>=9){h=(P[h+2>>1]+(N[(f<<2)+169360>>2]&g>>>8&127)<<2)+h|0;f=O[h|0];e=e+8|0}N[l+12>>2]=e+(f&255);e=P[h+2>>1];break Uc}if(!Jc(v,J,Y+12|0)){break zc}e=N[Y+12>>2]}L[N[l+96>>2]+k|0]=e;h=N[l+192>>2]-1|0;N[l+192>>2]=h;k=k+1|0;if((k|0)==N[l+64>>2]){N[l>>2]=13;i=i-1|0;f=1;break rc}i=i-1|0;if(i){continue}break}break Sc}f=N[l+96>>2];g=N[l+68>>2];e=O[f+(g&k-2)|0];g=O[f+(g&k-1)|0];f=N[l+192>>2];while(1){if(!f){if(!Vl(l)){f=2;break rc}h=N[l+176>>2];if(h){continue Rc}}f=e&255;e=N[l+108>>2];A=N[N[l+120>>2]+(O[N[l+112>>2]+(O[(f+e|0)+256|0]|O[e+(g&255)|0])|0]<<2)>>2];Xc:{Yc:{e=N[l+12>>2];Zc:{if(e-18>>>0>=15){m=N[J>>2];break Zc}h=N[l+20>>2];f=e;while(1){if(!h){break Yc}v=N[l+8>>2]>>>8|0;N[l+8>>2]=v;m=N[l+16>>2];n=O[m|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=m+1;m=v|n<<24;N[l+8>>2]=m;n=f-26|0;f=e;if(n>>>0<15){continue}break}}n=m>>>e|0;h=A+((n&255)<<2)|0;f=O[h|0];if(f>>>0>=9){h=(P[h+2>>1]+(N[(f<<2)+169360>>2]&n>>>8&127)<<2)+h|0;f=O[h|0];e=e+8|0}N[l+12>>2]=e+(f&255);h=O[h+2|0];break Xc}if(!Jc(A,J,Y+12|0)){break zc}h=N[Y+12>>2]}L[N[l+96>>2]+k|0]=h;f=N[l+192>>2]-1|0;N[l+192>>2]=f;k=k+1|0;if((k|0)==N[l+64>>2]){N[l>>2]=13;i=i-1|0;f=1;break rc}e=g;g=h;i=i-1|0;if(i){continue}break}}break}if(N[l+184>>2]>0){break vc}N[l>>2]=14;f=1;i=0;break rc}_c:{if(N[l+200>>2]){break _c}K=La-16|0;La=K;$c:{ad:{Z=N[l+212>>2];bd:{if(Z>>>0<2){break bd}x=N[l+172>>2];E=N[l+168>>2]+5056|0;v=N[l+20>>2];m=N[l+16>>2];V=l+8|0;W=N[V>>2];B=W;cd:{dd:{n=N[l+12>>2];h=n;if(h-18>>>0<=14){f=m;e=n;g=v;while(1){if(!g){break dd}R=B>>>8|0;N[l+8>>2]=R;A=O[f|0];g=g-1|0;N[l+20>>2]=g;h=e-8|0;N[l+12>>2]=h;f=f+1|0;N[l+16>>2]=f;B=R|A<<24;N[l+8>>2]=B;A=e-26|0;e=h;if(A>>>0<15){continue}break}}f=B>>>h|0;g=E+((f&255)<<2)|0;e=O[g|0];if(e>>>0>=9){h=h+8|0;g=(P[g+2>>1]+(N[(e<<2)+169360>>2]&f>>>8&127)<<2)+g|0;e=O[g|0]}N[l+12>>2]=(e&255)+h;N[K+8>>2]=P[g+2>>1];break cd}if(!Jc(E,V,K+8|0)){break bd}}ed:{fd:{if(!N[l+556>>2]){x=x+3168|0;gd:{e=N[l+12>>2];hd:{if(e-18>>>0>=15){B=N[V>>2];break hd}g=N[l+20>>2];f=e;while(1){if(!g){break gd}R=N[l+8>>2]>>>8|0;N[l+8>>2]=R;A=N[l+16>>2];h=O[A|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=A+1;B=R|h<<24;N[l+8>>2]=B;h=f-26|0;f=e;if(h>>>0<15){continue}break}}h=B>>>e|0;g=x+((h&255)<<2)|0;f=O[g|0];if(f>>>0>=9){g=(P[g+2>>1]+(N[(f<<2)+169360>>2]&h>>>8&127)<<2)+g|0;f=O[g|0];e=e+8|0}N[l+12>>2]=e+(f&255);h=P[g+2>>1];break fd}if(!Jc(x,V,K+12|0)){break ed}h=N[K+12>>2];break fd}h=N[l+188>>2]}f=h<<2;E=P[f+169280>>1];$=O[f+169282|0];e=N[l+12>>2];if($>>>0<=32-e>>>0){B=N[V>>2];break ad}g=N[l+20>>2];f=e;while(1){if(g){x=N[l+8>>2]>>>8|0;N[l+8>>2]=x;R=N[l+16>>2];A=O[R|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=R+1;B=x|A<<24;N[l+8>>2]=B;A=40-f|0;f=e;if(A>>>0<$>>>0){continue}break ad}break}N[l+188>>2]=h}N[l+20>>2]=v;N[l+16>>2]=m;N[l+8>>2]=W;N[l+556>>2]=0;N[l+12>>2]=n}e=0;break $c}N[l+556>>2]=0;N[l+12>>2]=e+$;N[l+200>>2]=E+(N[($<<2)+169392>>2]&B>>>e);id:{jd:{kd:{ld:{e=N[K+8>>2];switch(e|0){case 1:break jd;case 0:break ld;default:break kd}}e=N[l+232>>2];break id}e=e-2|0;break id}e=N[l+236>>2]+1|0}N[l+232>>2]=N[l+236>>2];e=e-(e>>>0>=Z>>>0?Z:0)|0;N[l+236>>2]=e;e=N[l+252>>2]+(e<<2)|0;N[l+116>>2]=e;L[l+260|0]=O[e+N[l+180>>2]|0];e=1}La=K+16|0;if(e){break _c}f=2;break rc}E=l+624|0;R=N[l+20>>2];A=N[l+16>>2];x=N[N[l+152>>2]+(O[l+260|0]<<2)>>2];$=N[l+8>>2];f=$;md:{nd:{od:{pd:{qd:{rd:{v=N[l+12>>2];h=v;if(h-18>>>0<=14){m=A;g=v;e=R;while(1){if(!e){break rd}n=f>>>8|0;N[l+8>>2]=n;f=O[m|0];e=e-1|0;N[l+20>>2]=e;h=g-8|0;N[l+12>>2]=h;m=m+1|0;N[l+16>>2]=m;f=n|f<<24;N[l+8>>2]=f;n=g-26|0;g=h;if(n>>>0<15){continue}break}}n=f>>>h|0;g=n&255;f=x+(g<<2)|0;e=O[f|0];if(e>>>0>=9){h=h+8|0;f=(P[(x+(g<<2)|0)+2>>1]+(N[(e<<2)+169360>>2]&n>>>8&127)<<2)+f|0;e=O[f|0]}N[l+12>>2]=(e&255)+h;e=P[f+2>>1];break qd}if(!Jc(x,J,Y+12|0)){break pd}e=N[Y+12>>2]}f=0;N[l+180>>2]=0;m=N[l+200>>2];N[l+200>>2]=m-1;x=e;if(e>>>0<=15){if(x>>>0>3){break md}f=1>>>x|0;N[l+180>>2]=f;e=N[l+72>>2];h=N[(l+((e+(x^-1)&3)<<2)|0)+76>>2];N[l+72>>2]=e-f;break Bc}V=O[x+E|0];if(!V){break nd}sd:{if(V>>>0<=24){n=N[l+12>>2];td:{if(V>>>0<=32-n>>>0){K=N[J>>2];break td}f=N[l+20>>2];e=n;while(1){if(!f){break sd}E=N[l+8>>2]>>>8|0;N[l+8>>2]=E;h=N[l+16>>2];g=O[h|0];f=f-1|0;N[l+20>>2]=f;n=e-8|0;N[l+12>>2]=n;N[l+16>>2]=h+1;K=E|g<<24;N[l+8>>2]=K;g=40-e|0;e=n;if(g>>>0>>0){continue}break}}N[l+12>>2]=n+V;f=N[(V<<2)+169392>>2]&K>>>n;break nd}Z=N[J+8>>2];K=Z;W=N[J+12>>2];X=W;B=N[J>>2];f=B;ud:{vd:{m=N[J+4>>2];n=m;if(m-17>>>0<=15){e=m;while(1){if(!X){break vd}g=f>>>8|0;N[J>>2]=g;f=O[K|0];X=X-1|0;N[J+12>>2]=X;n=e-8|0;N[J+4>>2]=n;K=K+1|0;N[J+8>>2]=K;f=g|f<<24;N[J>>2]=f;g=e-25|0;e=n;if(g>>>0<16){continue}break}}e=n+16|0;N[J+4>>2]=e;V=V-16|0;wd:{if(V>>>0<=16-n>>>0){g=f;h=e;break wd}g=f;while(1){if(!X){break vd}E=g>>>8|0;N[J>>2]=E;g=O[K|0];X=X-1|0;N[J+12>>2]=X;h=e-8|0;N[J+4>>2]=h;K=K+1|0;N[J+8>>2]=K;g=E|g<<24;N[J>>2]=g;E=40-e|0;e=h;if(E>>>0>>0){continue}break}}N[J+4>>2]=h+V;N[Y+8>>2]=f>>>n&65535|(N[(V<<2)+169392>>2]&g>>>h)<<16;e=1;break ud}N[J+12>>2]=W;N[J+8>>2]=Z;N[J>>2]=B;N[J+4>>2]=m;e=0}if(e){break od}m=N[l+200>>2]+1|0}N[l+20>>2]=R;N[l+16>>2]=A;N[l+8>>2]=$;N[l+200>>2]=m;N[l+12>>2]=v}f=2;break rc}f=N[Y+8>>2]}h=N[(l+(x<<2)|0)+1168>>2]+(f<>2])|0;break Bc}e=x>>>0<10;e=((6312258>>>(x+(e?-4:-10)<<2)&7)+N[(l+((N[l+72>>2]+(e?3:10)&3)<<2)|0)+76>>2]|0)-3|0;h=(e|0)<=0?2147483647:e}N[l+268>>2]=h;f=N[l+60>>2];e=N[l+56>>2];if((f|0)!=(e|0)){f=(e|0)>(k|0)?k:e;N[l+60>>2]=f}i=N[l+264>>2];xd:{if((f|0)<(h|0)){if((h|0)>2147483644){f=-16;break oc}if(i-4>>>0>20){f=-12;break oc}e=N[l+584>>2];n=N[(e+(i<<2)|0)+32>>2];v=O[e+i|0];N[l+72>>2]=N[l+72>>2]+N[l+180>>2];g=N[e+164>>2];if(!g){f=-19;break oc}e=(f^-1)+h|0;h=e>>v;m=N[l+588>>2];if((h|0)>=N[m+12>>2]){f=-11;break oc}f=g+(n+T(e&N[(v<<2)+169392>>2],i)|0)|0;e=N[l+96>>2]+k|0;yd:{if((h|0)==M[m+24>>1]){F(e,f,i);e=i;break yd}e=$l(e,f,i,m,h)}N[l+184>>2]=N[l+184>>2]-e;k=e+k|0;if((k|0)>2]){h=k;break xd}N[l>>2]=15;f=1;break rc}n=N[l+96>>2];f=N[l+68>>2];e=N[l+72>>2];N[(l+((e&3)<<2)|0)+76>>2]=h;N[l+72>>2]=e+1;N[l+184>>2]=N[l+184>>2]-i;g=f&k-h;v=g+n|0;f=O[v|0]|O[v+1|0]<<8|(O[v+2|0]<<16|O[v+3|0]<<24);e=O[v+4|0]|O[v+5|0]<<8|(O[v+6|0]<<16|O[v+7|0]<<24);m=k+n|0;n=O[v+12|0]|O[v+13|0]<<8|(O[v+14|0]<<16|O[v+15|0]<<24);h=O[v+8|0]|O[v+9|0]<<8|(O[v+10|0]<<16|O[v+11|0]<<24);L[m+8|0]=h;L[m+9|0]=h>>>8;L[m+10|0]=h>>>16;L[m+11|0]=h>>>24;L[m+12|0]=n;L[m+13|0]=n>>>8;L[m+14|0]=n>>>16;L[m+15|0]=n>>>24;L[m|0]=f;L[m+1|0]=f>>>8;L[m+2|0]=f>>>16;L[m+3|0]=f>>>24;L[m+4|0]=e;L[m+5|0]=e>>>8;L[m+6|0]=e>>>16;L[m+7|0]=e>>>24;h=i+k|0;f=g+i|0;if((g|0)<(h|0)&(f|0)>(k|0)){break xc}e=N[l+64>>2];if((e|0)<=(h|0)|(e|0)<=(f|0)){break xc}if((i|0)<17){break xd}g=v+16|0;k=m+16|0;if(i>>>0>=33){F(k,g,i-16|0);break xd}f=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);e=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);n=O[g+12|0]|O[g+13|0]<<8|(O[g+14|0]<<16|O[g+15|0]<<24);g=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);L[k+8|0]=g;L[k+9|0]=g>>>8;L[k+10|0]=g>>>16;L[k+11|0]=g>>>24;L[k+12|0]=n;L[k+13|0]=n>>>8;L[k+14|0]=n>>>16;L[k+15|0]=n>>>24;L[k|0]=f;L[k+1|0]=f>>>8;L[k+2|0]=f>>>16;L[k+3|0]=f>>>24;L[k+4|0]=e;L[k+5|0]=e>>>8;L[k+6|0]=e>>>16;L[k+7|0]=e>>>24}if(N[l+184>>2]>0){k=h;break yc}N[l>>2]=14;f=1;k=h;break rc}f=N[l+64>>2]-k|0;zd:{Ad:{while(1){e=i-1|0;if((i|0)<=0){break Ad}g=N[l+96>>2];L[g+k|0]=O[g+(N[l+68>>2]&k-N[l+268>>2])|0];k=k+1|0;i=e;f=f-1|0;if(f){continue}break}N[l>>2]=16;break zd}if(N[l+184>>2]>0){i=e;break yc}N[l>>2]=14}f=1;i=e;break rc}f=2;break rc}h=0;continue}h=3;continue}R=N[l+20>>2];A=N[l+16>>2];B=N[l+104>>2];E=N[l+8>>2];f=E;e=l;l=e;Bd:{Cd:{v=N[e+12>>2];h=v;if(h-18>>>0<=14){m=A;g=v;n=R;while(1){if(!n){break Cd}x=f>>>8|0;N[l+8>>2]=x;f=O[m|0];n=n-1|0;N[l+20>>2]=n;h=g-8|0;N[l+12>>2]=h;m=m+1|0;N[l+16>>2]=m;f=x|f<<24;N[l+8>>2]=f;x=g-26|0;g=h;if(x>>>0<15){continue}break}}i=f>>>h|0;f=B+((i&255)<<2)|0;g=O[f|0];if(g>>>0>=9){h=h+8|0;f=(P[f+2>>1]+(N[(g<<2)+169360>>2]&i>>>8&127)<<2)+f|0;g=O[f|0]}N[l+12>>2]=(g&255)+h;e=P[f+2>>1];break Bd}if(!Jc(B,J,Y+12|0)){break tc}e=N[Y+12>>2]}f=e<<3;e=O[f+171587|0];N[l+180>>2]=e;N[l+268>>2]=L[f+171586|0];L[l+260|0]=O[e+N[l+116>>2]|0];i=P[f+171588>>1];x=P[f+171590>>1];W=O[f+171585|0];K=0;B=O[f+171584|0];if(B){e=N[l+12>>2];Dd:{if(B>>>0<=32-e>>>0){m=N[J>>2];break Dd}h=N[l+20>>2];f=e;while(1){if(!h){break uc}m=N[l+8>>2]>>>8|0;N[l+8>>2]=m;n=N[l+16>>2];g=O[n|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=n+1;m=m|g<<24;N[l+8>>2]=m;g=40-f|0;f=e;if(g>>>0>>0){continue}break}}N[l+12>>2]=e+B;K=N[(B<<2)+169392>>2]&m>>>e}if(W){e=N[l+12>>2];Ed:{if(W>>>0<=32-e>>>0){m=N[J>>2];break Ed}h=N[l+20>>2];f=e;while(1){if(!h){break uc}m=N[l+8>>2]>>>8|0;N[l+8>>2]=m;n=N[l+16>>2];g=O[n|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=n+1;m=m|g<<24;N[l+8>>2]=m;g=40-f|0;f=e;if(g>>>0>>0){continue}break}}N[l+12>>2]=e+W;e=N[(W<<2)+169392>>2]&m>>>e}else{e=0}N[l+264>>2]=e+x;N[l+196>>2]=N[l+196>>2]-1;i=i+K|0;if(i){break sc}}i=0;h=1;continue}N[l+16>>2]=A;N[l+8>>2]=E;N[l+20>>2]=R;N[l+12>>2]=v}f=2;break rc}N[l+184>>2]=N[l+184>>2]-i;h=2;continue}break}N[l+4>>2]=i;N[l+52>>2]=k}La=Y+16|0;h=f;continue}h=Rf(j+16|0,j+8|0,ha,j+12|0,0);if((h|0)!=1){continue}if(O[j+576|0]&8){F(N[j+112>>2],N[j+116>>2],N[j+68>>2]);M[j+576>>1]=P[j+576>>1]&65527}if(N[j+80>>2]==1<>2]){N[j+76>>2]=N[j+72>>2]}Fd:{switch(N[j+16>>2]-15|0){case 0:if(!N[j+200>>2]){break _a}N[j+16>>2]=7;continue Oa;case 1:N[j+16>>2]=10;continue Oa;default:break Fd}}if(!N[j+20>>2]){if(!N[j+200>>2]){break _a}N[j+16>>2]=9;continue Oa}N[j+16>>2]=8;continue Oa}h=-10;if(N[j+200>>2]<0){continue}Qa[N[j+44>>2]](N[j+48>>2],N[j+596>>2]);N[j+596>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+592>>2]);N[j+592>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+268>>2]);N[j+268>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+136>>2]);N[j+136>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+152>>2]);N[j+152>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+168>>2]);N[j+168>>2]=0;if(!(L[j+576|0]&1)){N[j+16>>2]=3;continue Oa}e=N[j+28>>2];f=0-e&7;Gd:{if(!f){g=e;break Gd}g=e+f|0;N[j+28>>2]=g;h=-15;if(N[(f<<2)+169392>>2]&N[j+24>>2]>>>e){continue}}if(!N[j+64>>2]){f=32-g|0;e=f>>>3|0;y=e+N[j+36>>2]|0;N[j+36>>2]=y;S=N[j+32>>2]-e|0;N[j+32>>2]=S;e=f&-8;N[j+28>>2]=e+g;N[j+24>>2]=(e|0)!=32?N[j+24>>2]<>2]=26}if(!N[j+112>>2]){f=1;break Ma}f=1;h=Rf(j+16|0,j+8|0,ha,j+12|0,1);if((h|0)!=1){continue}break Ma}N[j+20>>2]=e;h=2;continue}m=j+16|0;if(Yl(m)){k=j+8|0;n=j+12|0;e=N[m+548>>2];Hd:{while(1){Id:{Jd:{switch(e|0){case 0:l=N[m+52>>2];h=l+N[m+96>>2]|0;g=N[m+64>>2];e=N[m+20>>2];i=N[m+12>>2];f=e>>>0>1073741824?1073741824:e+(32-i>>>3|0)|0;e=N[m+184>>2];e=(e|0)>(f|0)?f:e;f=(g|0)<(e+l|0)?g-l|0:e;Kd:{if(!f){e=f;break Kd}e=f;if(i-33>>>0>4294967287){break Kd}while(1){L[h|0]=N[m+8>>2]>>>i;g=N[m+12>>2];i=g+8|0;N[m+12>>2]=i;e=e-1|0;h=h+1|0;if(g-25>>>0>4294967287){break Kd}if(e){continue}break}}F(h,N[m+16>>2],e);N[m+20>>2]=N[m+20>>2]-e;N[m+16>>2]=N[m+16>>2]+e;g=f+N[m+52>>2]|0;N[m+52>>2]=g;e=N[m+184>>2];N[m+184>>2]=e-f;if((g|0)<1<>2]){break Id}N[m+548>>2]=1;break;case 1:break Jd;default:continue}}e=Rf(m,k,ha,n,0);if((e|0)!=1){break Hd}if(N[m+64>>2]==1<>2]){N[m+60>>2]=N[m+56>>2]}e=0;N[m+548>>2]=0;continue}break}e=(e|0)==(f|0)?1:2}}else{e=-26}h=e;if((e|0)!=1){continue}break _a}h=N[j+20>>2];if((h|0)<3){break Xa}N[j+16>>2]=5;continue Oa}e=N[j+28>>2];Ld:{if(e-27>>>0>=6){h=N[j+24>>2];break Ld}h=2;i=N[j+36>>2];if(!i){continue}h=N[j+24>>2]>>>8|0;N[j+24>>2]=h;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=i-1;N[j+32>>2]=g+1;h=h|f<<24;N[j+24>>2]=h;e=e-8|0}N[j+28>>2]=e+6;e=h>>>e&63;N[j+580>>2]=e;h=-13;if(e-31>>>0<4294967275){continue}N[j+16>>2]=2}N[j+72>>2]=(1<>2]](N[j+48>>2],12336)|0;N[j+184>>2]=e;h=-30;if(!e){continue}N[j+188>>2]=e+7584}N[j+592>>2]=0;N[j+596>>2]=0;N[j+248>>2]=1;N[j+252>>2]=0;N[j+240>>2]=1;N[j+244>>2]=0;N[j+232>>2]=1;N[j+236>>2]=0;N[j+224>>2]=1;N[j+228>>2]=1;N[j+216>>2]=16777216;N[j+220>>2]=1;N[j+208>>2]=16777216;N[j+212>>2]=16777216;N[j+200>>2]=0;N[j+152>>2]=0;N[j+156>>2]=0;N[j+168>>2]=0;N[j+172>>2]=0;N[j+132>>2]=0;N[j+136>>2]=0;N[j+140>>2]=0;N[j+124>>2]=0;N[j+128>>2]=0;L[la+8|0]=0;N[la>>2]=0;N[la+4>>2]=0;N[j+16>>2]=4}e=N[j+560>>2];g=-31;Md:{Nd:{Od:{Pd:{Qd:{Rd:{Sd:{Td:{Ud:{Vd:{Wd:{Xd:{Yd:{while(1){Zd:{_d:{switch(e|0){case 2:e=N[r+4>>2];break Zd;case 0:e=N[r+4>>2];$d:{if((e|0)!=32){h=N[r>>2];break $d}i=N[r+12>>2];if(!i){break Nd}h=N[r>>2]>>>8|0;N[r>>2]=h;e=N[r+8>>2];f=O[e|0];N[r+12>>2]=i-1;N[r+8>>2]=e+1;e=24;h=h|f<<24;N[r>>2]=h}N[r+4>>2]=e+1;N[j+200>>2]=0;e=1<>1]=P[j+576>>1]&65528|(e|0)!=0;if(!e){e=2;N[j+560>>2]=2;continue}N[j+560>>2]=1;break;case 7:break Rd;case 6:break Td;case 5:break Ud;case 4:break Wd;case 3:break Yd;case 1:break _d;default:break Md}}h=N[r+4>>2];ae:{if((h|0)!=32){i=N[r>>2];break ae}h=N[r+12>>2];if(!h){break Nd}i=N[r>>2]>>>8|0;N[r>>2]=i;f=N[r+8>>2];e=O[f|0];N[r+12>>2]=h-1;N[r+8>>2]=f+1;h=24;i=i|e<<24;N[r>>2]=i}e=h+1|0;N[r+4>>2]=e;if(i>>>h&1){N[j+560>>2]=0;g=1;break Md}N[j+560>>2]=2}be:{if(e-31>>>0>=2){h=N[r>>2];break be}n=N[r+12>>2];if(!n){break Nd}i=N[r>>2]>>>8|0;N[r>>2]=i;h=N[r+8>>2];f=O[h|0];N[r+12>>2]=n-1;N[r+8>>2]=h+1;h=i|f<<24;N[r>>2]=h;e=e-8|0}N[r+4>>2]=e+2;N[j+20>>2]=0;f=h>>>e&3;e=P[j+576>>1]&-16321|f<<6|256;M[j+576>>1]=e;if((f|0)==3){M[j+576>>1]=e|4;e=5;N[j+560>>2]=5;continue}break}N[j+560>>2]=3;f=0;break Xd}e=P[j+576>>1];f=N[j+20>>2]}if((f|0)<(e>>>6&255)){h=N[r+4>>2];while(1){g=f;ce:{if(h-29>>>0>=4){f=N[r>>2];e=h;break ce}n=N[r+12>>2];if(!n){break Pd}i=N[r>>2]>>>8|0;N[r>>2]=i;f=N[r+8>>2];e=O[f|0];N[r+12>>2]=n-1;N[r+8>>2]=f+1;f=i|e<<24;N[r>>2]=f;e=h-8|0}h=e+4|0;N[r+4>>2]=h;n=f>>>e&15;f=g+1|0;e=P[j+576>>1];i=e>>>6&255;if(!(n|((f|0)!=(i|0)|i>>>0<5))){g=-1;break Md}N[j+200>>2]=N[j+200>>2]|n<<(g<<2);if((f|0)<(i|0)){continue}break}}N[j+560>>2]=4;break Vd}e=P[j+576>>1]}if(!(e&1)){e=N[r+4>>2];de:{if((e|0)!=32){f=N[r>>2];break de}h=N[r+12>>2];if(!h){break Nd}g=N[r>>2]>>>8|0;N[r>>2]=g;e=N[r+8>>2];f=O[e|0];N[r+12>>2]=h-1;N[r+8>>2]=e+1;e=24;f=g|f<<24;N[r>>2]=f}N[r+4>>2]=e+1;M[j+576>>1]=P[j+576>>1]&65533|(f>>>e&1)<<1}N[j+560>>2]=0;N[j+200>>2]=N[j+200>>2]+1;g=1;break Md}f=N[r+4>>2];ee:{if((f|0)!=32){h=N[r>>2];break ee}h=N[r+12>>2];if(!h){break Nd}g=N[r>>2]>>>8|0;N[r>>2]=g;f=N[r+8>>2];e=O[f|0];N[r+12>>2]=h-1;N[r+8>>2]=f+1;f=24;h=g|e<<24;N[r>>2]=h}e=f+1|0;N[r+4>>2]=e;g=-2;if(h>>>f&1){break Md}N[j+560>>2]=6;break Sd}e=N[r+4>>2]}g=2;fe:{if(e-31>>>0>=2){f=N[r>>2];break fe}i=N[r+12>>2];if(!i){break Md}h=N[r>>2]>>>8|0;N[r>>2]=h;g=N[r+8>>2];f=O[g|0];N[r+12>>2]=i-1;N[r+8>>2]=g+1;f=h|f<<24;N[r>>2]=f;e=e-8|0}N[r+4>>2]=e+2;e=f>>>e&3;if(!e){N[j+560>>2]=0;g=1;break Md}N[j+560>>2]=7;f=P[j+576>>1]&-16321|e<<6;M[j+576>>1]=f;break Qd}f=P[j+576>>1]}e=N[j+20>>2];ge:{if((e|0)>=(f>>>6&255)){h=N[j+200>>2];break ge}f=N[r+4>>2];while(1){g=e;he:{if(f-25>>>0>=8){i=N[r>>2];e=f;break he}n=N[r+12>>2];if(!n){break Od}i=N[r>>2]>>>8|0;N[r>>2]=i;h=N[r+8>>2];e=O[h|0];N[r+12>>2]=n-1;N[r+8>>2]=h+1;i=i|e<<24;N[r>>2]=i;e=f-8|0}f=e+8|0;N[r+4>>2]=f;h=i>>>e&255;e=g+1|0;i=P[j+576>>1]>>>6&255;if(!(h|((e|0)!=(i|0)|i>>>0<2))){g=-3;break Md}h=N[j+200>>2]|h<<(g<<3);N[j+200>>2]=h;if((e|0)<(i|0)){continue}break}}N[j+560>>2]=0;N[j+200>>2]=h+1;g=1;break Md}N[j+20>>2]=g;break Nd}N[j+20>>2]=g}g=2}h=g;if((g|0)!=1){continue}ie:{e=P[j+576>>1];if(!(e&6)){break ie}g=N[j+28>>2];f=0-g&7;if(f){N[j+28>>2]=f+g;h=-14;if(N[(f<<2)+169392>>2]&N[j+24>>2]>>>g){continue}}if(!(e&4)){break ie}N[j+16>>2]=12;continue Oa}if(N[j+200>>2]){break Za}}N[j+16>>2]=14;continue Oa}e=1<>2];h=N[j+80>>2];je:{if((e|0)==(h|0)){break je}g=P[j+576>>1];if(g&4){break je}f=N[j+112>>2]?N[j+68>>2]:0;ke:{if(!(g&16)){f=e;break ke}g=h?h:1024;f=f+N[j+200>>2]|0;g=(f|0)<(g|0)?g:f;while(1){f=e;e=e>>1;if((g|0)<=(e|0)){continue}break}}N[j+584>>2]=f}if(!(O[j+576|0]&2)){break Ya}N[j+16>>2]=11;continue Oa}N[j+804>>2]=ia;N[j+16>>2]=18;N[j+20>>2]=0;N[j+648>>2]=0;N[j+652>>2]=0;N[j+640>>2]=0;N[j+644>>2]=0;h=0}h=Xl(j+16|0,r,(j+(h<<2)|0)+220|0);if((h|0)!=1){continue}f=j+220|0;e=f+(N[j+20>>2]<<2)|0;N[e>>2]=N[e>>2]+1;e=N[j+20>>2];h=N[f+(e<<2)>>2];if(h>>>0<=1){h=1;N[j+20>>2]=e+1;continue}N[j+16>>2]=19}f=h+2|0;h=Qf(f,f,N[j+184>>2]+T(e,2528)|0,0,j+16|0);if((h|0)!=1){continue}N[j+16>>2]=20}h=Qf(26,26,N[j+188>>2]+T(N[j+20>>2],1584)|0,0,j+16|0);if((h|0)!=1){continue}N[j+16>>2]=21}m=N[j+20>>2];le:{if(!N[j+572>>2]){k=N[j+188>>2]+T(m,1584)|0;me:{g=N[j+28>>2];ne:{if(g-18>>>0>=15){i=N[j+24>>2];break ne}e=N[j+32>>2];i=N[j+24>>2];h=N[j+36>>2];f=g;while(1){if(!h){break me}n=i>>>8|0;N[j+24>>2]=n;i=O[e|0];h=h-1|0;N[j+36>>2]=h;g=f-8|0;N[j+28>>2]=g;e=e+1|0;N[j+32>>2]=e;i=n|i<<24;N[j+24>>2]=i;n=f-26|0;f=g;if(n>>>0<15){continue}break}}e=j;i=i>>>g|0;h=k+((i&255)<<2)|0;f=O[h|0];if(f>>>0>=9){g=g+8|0;h=(P[h+2>>1]+(N[(f<<2)+169360>>2]&i>>>8&127)<<2)+h|0;f=O[h|0]}N[e+28>>2]=(f&255)+g;n=P[h+2>>1];break le}if(!Jc(k,r,j+5036|0)){h=2;continue}n=N[j+5036>>2];break le}n=N[j+204>>2]}e=n<<2;l=P[e+169280>>1];oe:{v=O[e+169282|0];g=N[j+28>>2];pe:{if(v>>>0<=32-g>>>0){i=N[j+24>>2];break pe}e=N[j+32>>2];i=N[j+24>>2];h=N[j+36>>2];f=g;while(1){if(!h){break oe}k=i>>>8|0;N[j+24>>2]=k;i=O[e|0];h=h-1|0;N[j+36>>2]=h;g=f-8|0;N[j+28>>2]=g;e=e+1|0;N[j+32>>2]=e;i=k|i<<24;N[j+24>>2]=i;k=40-f|0;f=g;if(k>>>0>>0){continue}break}}N[j+28>>2]=g+v;N[(j+(m<<2)|0)+208>>2]=l+(N[(v<<2)+169392>>2]&i>>>g);N[j+572>>2]=0;N[j+16>>2]=18;h=1;N[j+20>>2]=N[j+20>>2]+1;continue}N[j+572>>2]=1;N[j+204>>2]=n;h=2;continue}e=N[j+28>>2];qe:{if((e|0)!=32){h=N[j+32>>2];f=e-8|0;break qe}h=2;e=N[j+36>>2];if(!e){continue}i=N[j+24>>2]>>>8|0;N[j+24>>2]=i;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=e-1;e=24;N[j+28>>2]=24;h=g+1|0;N[j+32>>2]=h;N[j+24>>2]=i|f<<24;f=16}re:{if(!(h&1)){break re}i=N[j+36>>2];if(!i){break re}g=N[j+24>>2]>>>8|0;N[j+24>>2]=g;e=O[h|0];N[j+36>>2]=i-1;N[j+32>>2]=h+1;N[j+24>>2]=g|e<<24;e=f}n=P[j+576>>1];M[j+576>>1]=n&65503;f=e+1|0;N[j+28>>2]=f;k=N[j+24>>2];if(!(k>>>e&1)){h=16;break Pa}i=e+4|0;N[j+28>>2]=i;f=k>>>f&7;if(f){h=f+17|0;break Pa}g=e+7|0;N[j+28>>2]=g;h=17;se:{te:{f=k>>>i&7;switch(f|0){case 0:break Pa;case 1:break te;default:break se}}h=-13;if(!(n&32)){continue}N[j+28>>2]=e+8;if(k>>>g&1){continue}h=1;N[j+16>>2]=1;M[j+576>>1]=n|32;continue}break}h=f|8}N[j+16>>2]=2;N[j+580>>2]=h;continue}}N[j+108>>2]=f;N[q+124>>2]=N[j+12>>2];Qa[N[j+44>>2]](N[j+48>>2],N[j+596>>2]);N[j+596>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+592>>2]);N[j+592>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+268>>2]);N[j+268>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+136>>2]);N[j+136>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+152>>2]);N[j+152>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+168>>2]);N[j+168>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+112>>2]);N[j+112>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+184>>2]);La=j+5040|0;e=((f-1>>>0<3?f:0)|0)==1&(z|0)==N[q+124>>2];f=e?0:8;N[q+120>>2]=f;if(N[a+20>>2]){h=N[a>>2];if(h){g=N[a+28>>2];Qa[N[g+8>>2]](g,h)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;if(!e){d=c;break ia}A=z;ea=q+16|0;g=0;z=0;l=0;la=0;p=La-48|0;La=p;f=N[q+20>>2];N[p+16>>2]=f;_=P[q+64>>1];k=_<<4|12;N[p+12>>2]=k;N[p+4>>2]=0;U=q+24|0;V=N[U>>2];ue:{ve:{if(_){we:{while(1){i=N[(g<<2)+I>>2];if(N[i+4>>2]==1735162214){break we}g=g+1|0;if((_|0)!=(g|0)){continue}break}i=0}N[U+12>>2]=i;ka=U+12|0;g=0;xe:{while(1){e=N[(g<<2)+I>>2];if(N[e+4>>2]!=1819239265){g=g+1|0;if((_|0)!=(g|0)){continue}break xe}break}N[U+16>>2]=e;E=8;if(!i|(N[e+16>>2]^N[i+16>>2])&256){break ue}v=U+16|0;break ve}N[U+16>>2]=0;E=8;if(i){break ue}v=U+16|0;break ve}N[U+12>>2]=0;N[U+16>>2]=0;ka=U+12|0;v=U+16|0}ye:{ze:{Ae:{Be:{D=Qa[N[t+4>>2]](t,16)|0;if(D){L[D|0]=0;L[D+1|0]=0;L[D+2|0]=0;L[D+3|0]=0;L[D+4|0]=0;L[D+5|0]=0;L[D+6|0]=0;L[D+7|0]=0;L[D+8|0]=0;L[D+9|0]=0;L[D+10|0]=0;L[D+11|0]=0;L[D+12|0]=0;L[D+13|0]=0;L[D+14|0]=0;L[D+15|0]=0;o=Qa[N[t+4>>2]](t,40)|0;if(o){break Be}o=0;E=64;break Ae}N[q+20>>2]=f;E=64;break ue}L[o|0]=0;L[o+1|0]=0;L[o+2|0]=0;L[o+3|0]=0;L[o+4|0]=0;L[o+5|0]=0;L[o+6|0]=0;L[o+7|0]=0;L[o+32|0]=0;L[o+33|0]=0;L[o+34|0]=0;L[o+35|0]=0;L[o+36|0]=0;L[o+37|0]=0;L[o+38|0]=0;L[o+39|0]=0;L[o+8|0]=0;L[o+9|0]=0;L[o+10|0]=0;L[o+11|0]=0;L[o+12|0]=0;L[o+13|0]=0;L[o+14|0]=0;L[o+15|0]=0;L[o+24|0]=0;L[o+25|0]=0;L[o+26|0]=0;L[o+27|0]=0;L[o+28|0]=0;L[o+29|0]=0;L[o+30|0]=0;L[o+31|0]=0;L[o+16|0]=0;L[o+17|0]=0;L[o+18|0]=0;L[o+19|0]=0;L[o+20|0]=0;L[o+21|0]=0;L[o+22|0]=0;L[o+23|0]=0;N[o+4>>2]=A;N[o>>2]=u;N[o+32>>2]=0;N[o+8>>2]=0;N[o+24>>2]=0;N[o+20>>2]=0;Ce:{De:{if(!_){break De}pa=u+8|0;R=12;while(1){g=N[(la<<2)+I>>2];e=N[g+28>>2];s=N[g+24>>2];r=N[g+20>>2];h=N[g+16>>2];ha=N[g+8>>2];Y=N[g+4>>2];Ee:{g=N[o+20>>2];if(g){if(!(Qa[g|0](o,r,0,0)|0)){break Ee}E=85;break Ae}if(r>>>0<=Q[o+4>>2]){break Ee}E=85;break Ae}N[o+8>>2]=r;E=8;if(A>>>0>>0){break Ae}Fe:{Ge:{He:{if((Y|0)==1751672161){g=r+34|0;e=N[o+20>>2];Ie:{if(e){if(Qa[e|0](o,g,0,0)|0){break Ae}y=N[o+4>>2];break Ie}y=N[o+4>>2];if(y>>>0>>0){break Ae}}N[o+8>>2]=g;if(r+35>>>0>=y>>>0){break Ae}Je:{Ke:{e=N[o+20>>2];Le:{if(e){if((Qa[e|0](o,g,p+44|0,2)|0)!=2){break Ae}g=N[o+8>>2];e=p+44|0;break Le}e=N[o>>2];if(!e){break Ke}e=e+g|0}e=O[e|0]|O[e+1|0]<<8;l=e<<8|e>>>8;break Je}l=0}N[o+8>>2]=g+2;M[U+6>>1]=l;if(!(h&256)){break He}break Ae}M[U+6>>1]=l;N[p+8>>2]=0;if(h&256){break Ge}if((Y|0)!=1751474532){break He}if(s>>>0<12){break Ae}e=r+pa|0;L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}m=r+u|0;g=0;h=0;y=s&-4;if(y){while(1){h=(O[m+(g|3)|0]|(O[m+(g|1)|0]<<16|O[g+m|0]<<24|O[m+(g|2)|0]<<8))+h|0;g=g+4|0;if(y>>>0>g>>>0){continue}break}}if((s|0)!=(y|0)){g=0;Me:{if(s>>>0<=y>>>0){break Me}n=s&1;if((s|0)!=(y|1)){i=(s&3)-n|0;j=0;while(1){e=y<<3&16;g=O[m+(y|1)|0]<<(e^16)|(O[m+y|0]<<(e^24)|g);y=y+2|0;j=j+2|0;if((i|0)!=(j|0)){continue}break}}if(!n){break Me}g=O[m+y|0]<<((y^-1)<<3)|g}h=g+h|0}N[p+8>>2]=h;h=k+s|0;if(h>>>0>31457280){break Ce}g=N[ea>>2];if(g>>>0>>0){if((g|h)<0){break Ce}Ne:{if(!g){f=Qa[N[t+4>>2]](t,h)|0;e=!f<<6;break Ne}e=Qa[N[t+12>>2]](t,g,h,f)|0;f=e?e:f;e=!e<<6}Oe:{if(!(e|(g|0)>=(h|0)|!f)){C(f+g|0,0,h-g|0);break Oe}if(e){break Ce}}N[ea>>2]=h}F(f+k|0,m,s);N[p+16>>2]=f;N[p+12>>2]=h;break Fe}Pe:{Qe:{Re:{Se:{Te:{Ue:{Ve:{We:{Xe:{Ye:{Ze:{_e:{$e:{af:{bf:{if((Y|0)!=1819239265){if((Y|0)==1752003704){break bf}if((Y|0)!=1735162214){break Ae}N[p+40>>2]=f;N[p+36>>2]=k;G=Qa[N[t+4>>2]](t,84)|0;if(!G){break af}C(G,0,84);g=N[o+8>>2]+4|0;e=N[o+20>>2];cf:{if(e){if(Qa[e|0](o,g,0,0)|0){break cf}break $e}if(g>>>0<=Q[o+4>>2]){break $e}}N[p+44>>2]=85;break _e}N[p+8>>2]=N[p+4>>2];k=e;break Fe}g=l;if(!z){e=0;s=La-16|0;La=s;df:{while(1){g=N[(e<<2)+I>>2];if(N[g+4>>2]==1835104368){break df}e=e+1|0;if((_|0)!=(e|0)){continue}break}g=0}e=0;ef:{ff:{while(1){i=N[(e<<2)+I>>2];if(N[i+4>>2]==1751474532){break ff}e=e+1|0;if((_|0)!=(e|0)){continue}break}e=8;break ef}e=8;if(!g|!N[U+16>>2]){break ef}n=N[g+20>>2];f=N[o+20>>2];gf:{hf:{if(f){e=85;if(Qa[f|0](o,n,0,0)|0){break ef}N[o+8>>2]=n;j=o+8|0;h=n+8|0;f=N[o+20>>2];if(!f){break hf}if(Qa[f|0](o,h,0,0)|0){break ef}g=N[o+4>>2];break gf}e=85;if(n>>>0>Q[o+4>>2]){break ef}N[o+8>>2]=n;j=o+8|0;h=n+8|0}g=N[o+4>>2];if(h>>>0>g>>>0){break ef}}N[o+8>>2]=h;jf:{if(n+9>>>0>=g>>>0){break jf}kf:{lf:{f=N[o+20>>2];mf:{if(f){if((Qa[f|0](o,h,s+14|0,2)|0)!=2){break jf}h=N[j>>2];f=s+14|0;break mf}f=N[o>>2];if(!f){break lf}f=f+h|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break kf}f=0}N[o+8>>2]=h+2;M[U+4>>1]=f;h=N[i+20>>2];g=N[o+20>>2];nf:{of:{if(g){if(Qa[g|0](o,h,0,0)|0){break ef}N[o+8>>2]=h;n=h+50|0;g=N[o+20>>2];if(!g){break of}if(!(Qa[g|0](o,n,0,0)|0)){break nf}break ef}if(h>>>0>Q[o+4>>2]){break ef}N[j>>2]=h;n=h+50|0}if(n>>>0>Q[o+4>>2]){break ef}}N[o+8>>2]=n;N[s+8>>2]=0;g=xb(o,s+8|0);e=N[s+8>>2];if(e){break ef}m=f&65535;ta=U,ua=lb(t,2,0,m,0,s+8|0),N[ta+8>>2]=ua;e=N[s+8>>2];if(e){break ef}if(!m){e=0;break ef}i=g?4:2;n=N[N[U+16>>2]+20>>2];h=0;if(!g){while(1){e=N[o+20>>2];pf:{if(e){if(!(Qa[e|0](o,n,0,0)|0)){break pf}break jf}if(Q[o+4>>2]>>0){break jf}}N[o+8>>2]=n;N[s+8>>2]=0;f=xb(o,s+8|0);e=N[s+8>>2];if(e){break ef}g=N[N[U+12>>2]+20>>2]+(f<<1)|0;f=N[o+20>>2];qf:{rf:{if(f){e=85;if(Qa[f|0](o,g,0,0)|0){break ef}N[o+8>>2]=g;g=g+2|0;f=N[o+20>>2];if(!f){break rf}if(Qa[f|0](o,g,0,0)|0){break ef}break qf}if(g>>>0>Q[o+4>>2]){break jf}N[j>>2]=g;g=g+2|0}if(g>>>0>Q[o+4>>2]){break jf}}N[o+8>>2]=g;N[s+8>>2]=0;e=xb(o,s+8|0);M[N[U+8>>2]+(h<<1)>>1]=e;e=N[s+8>>2];if(e){break ef}n=i+n|0;e=0;h=h+1|0;if((m|0)!=(h|0)){continue}break ef}}while(1){e=N[o+20>>2];sf:{if(e){if(!(Qa[e|0](o,n,0,0)|0)){break sf}break jf}if(Q[o+4>>2]>>0){break jf}}N[o+8>>2]=n;N[s+8>>2]=0;f=Nb(o,s+8|0);e=N[s+8>>2];if(e){break ef}g=f+N[N[U+12>>2]+20>>2]|0;f=N[o+20>>2];tf:{uf:{if(f){e=85;if(Qa[f|0](o,g,0,0)|0){break ef}N[o+8>>2]=g;g=g+2|0;f=N[o+20>>2];if(!f){break uf}if(Qa[f|0](o,g,0,0)|0){break ef}break tf}if(g>>>0>Q[o+4>>2]){break jf}N[j>>2]=g;g=g+2|0}if(g>>>0>Q[o+4>>2]){break jf}}N[o+8>>2]=g;N[s+8>>2]=0;e=xb(o,s+8|0);M[N[U+8>>2]+(h<<1)>>1]=e;e=N[s+8>>2];if(e){break ef}n=i+n|0;e=0;h=h+1|0;if((m|0)!=(h|0)){continue}break}break ef}e=85}La=s+16|0;if(e){break Ae}g=P[U+6>>1]}r=P[U+4>>1];e=g&65535;y=N[U+8>>2];x=La-16|0;La=x;N[x+4>>2]=N[p+16>>2];N[x>>2]=N[p+12>>2];N[x+8>>2]=0;L[x+14|0]=0;g=N[o+8>>2];vf:{wf:{xf:{yf:{zf:{Af:{Bf:{Cf:{Df:{Ef:{f=N[o+20>>2];Ff:{if(f){if((Qa[f|0](o,g,x+14|0,1)|0)!=1){break Ef}g=N[o+8>>2];f=x+14|0;break Ff}if(Q[o+4>>2]<=g>>>0){break Ef}f=N[o>>2]+g|0}i=O[f|0];N[o+8>>2]=g+1;if(!(i&3)|i>>>0>3|(!e|r>>>0<=(e-1&65535)>>>0)){break wf}f=e<<1;s=Qa[N[t+4>>2]](t,f)|0;if(!s){break Df}h=0;C(s,0,f);f=r<<1;H=Qa[N[t+4>>2]](t,f)|0;Gf:{if(H){C(H,0,f);N[x+8>>2]=0;break Gf}f=!H<<6;N[x+8>>2]=f;if(f){break yf}}n=i&2;i=i&1;g=N[o+8>>2];f=0;while(1){if(Q[o+4>>2]<=g+1>>>0){break Bf}Hf:{If:{h=N[o+20>>2];Jf:{if(h){if((Qa[h|0](o,g,x+14|0,2)|0)!=2){break Bf}g=N[o+8>>2];h=x+14|0;break Jf}h=N[o>>2];if(!h){break If}h=g+h|0}h=O[h|0]|O[h+1|0]<<8;h=h<<8|h>>>8;break Hf}h=0}g=g+2|0;N[o+8>>2]=g;M[s+(f<<1)>>1]=h;f=f+1|0;if((e|0)!=(f|0)){continue}break}break Cf}N[x+8>>2]=85;break wf}N[x+8>>2]=64;break wf}f=0;N[x+8>>2]=0;Kf:{Lf:{if(!i){while(1){if(Q[o+4>>2]<=g+1>>>0){break Kf}Mf:{Nf:{h=N[o+20>>2];Of:{if(h){if((Qa[h|0](o,g,x+14|0,2)|0)!=2){break Kf}g=N[o+8>>2];h=x+14|0;break Of}h=N[o>>2];if(!h){break Nf}h=g+h|0}h=O[h|0]|O[h+1|0]<<8;h=h<<8|h>>>8;break Mf}h=0}g=g+2|0;N[o+8>>2]=g;M[H+(f<<1)>>1]=h;f=f+1|0;if((e|0)!=(f|0)){continue}break}N[x+8>>2]=0;break Lf}h=0;g=0;if(e-1>>>0>=3){i=e&65532;while(1){m=g<<1;M[m+H>>1]=P[m+y>>1];f=m|2;M[f+H>>1]=P[f+y>>1];f=m|4;M[f+H>>1]=P[f+y>>1];f=m|6;M[f+H>>1]=P[f+y>>1];g=g+4|0;if((i|0)!=(g|0)){continue}break}}i=e&3;if(!i){break Lf}while(1){f=g<<1;M[f+H>>1]=P[f+y>>1];g=g+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}Pf:{if(e>>>0>=r>>>0){break Pf}if(!n){g=e;while(1){f=xb(o,x+8|0);if(N[x+8>>2]){break Af}M[H+(g<<1)>>1]=f;g=g+1|0;if((r|0)!=(g|0)){continue}break}break Pf}n=r+(e^-1)|0;i=r-e&3;Qf:{if(!i){f=e;break Qf}g=0;f=e;while(1){h=f<<1;M[h+H>>1]=P[h+y>>1];f=f+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(n>>>0<3){break Pf}while(1){h=f<<1;M[h+H>>1]=P[h+y>>1];g=h+2|0;M[g+H>>1]=P[g+y>>1];g=h+4|0;M[g+H>>1]=P[g+y>>1];g=h+6|0;M[g+H>>1]=P[g+y>>1];f=f+4|0;if((r|0)!=(f|0)){continue}break}}n=e+r<<1;h=Qa[N[t+4>>2]](t,n)|0;if(h){g=0;C(h,0,n);N[x+8>>2]=0;f=h;while(1){if(e>>>0>g>>>0){i=s+(g<<1)|0;L[f|0]=O[i+1|0];L[f+1|0]=O[i|0];f=f+2|0}i=H+(g<<1)|0;L[f|0]=O[i+1|0];L[f+1|0]=O[i|0];f=f+2|0;g=g+1|0;if((r|0)!=(g|0)){continue}break}ta=p,ua=wh(h,n),N[ta+8>>2]=ua;if(El(x+4|0,ea,x,h,n,t)){break zf}N[p+16>>2]=N[x+4>>2];N[p+12>>2]=N[x>>2];if(s){Qa[N[t+8>>2]](t,s)}Qa[N[t+8>>2]](t,H);if(h){Qa[N[t+8>>2]](t,h)}e=N[x+8>>2];break vf}N[x+8>>2]=64;break Af}N[x+8>>2]=85;break Af}N[x+8>>2]=85}h=0}if(!s){break xf}}Qa[N[t+8>>2]](t,s)}if(H){Qa[N[t+8>>2]](t,H)}if(!h){break wf}Qa[N[t+8>>2]](t,h)}e=N[x+8>>2];e=e?e:8}La=x+16|0;if(e){break Ae}f=N[p+16>>2];break Fe}N[p+16>>2]=f;break Ae}N[o+8>>2]=g;N[p+44>>2]=0;ba=xb(o,p+44|0);if(N[p+44>>2]){break _e}na=xb(o,p+44|0);if(N[p+44>>2]){break _e}M[U+4>>1]=ba;n=0;h=0;y=0;H=ba+1|0;if(N[N[U+16>>2]+8>>2]!=H<<(na?2:1)|Q[N[ka>>2]+12>>2]<36){break Ve}g=Nb(o,p+44|0);if(N[p+44>>2]){break _e}if(g>>>0>N[N[ka>>2]+12>>2]-36>>>0){break Ve}N[G+8>>2]=g;e=r+36|0;N[G+4>>2]=e;N[G>>2]=e;j=0;m=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+36|0;if(m>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+20>>2]=m;e=g+r|0;N[G+16>>2]=e;N[G+12>>2]=e;i=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+m|0;if(i>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+32>>2]=i;e=g+r|0;N[G+28>>2]=e;N[G+24>>2]=e;m=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+i|0;if(m>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+44>>2]=m;e=g+r|0;N[G+40>>2]=e;N[G+36>>2]=e;i=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+m|0;if(i>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+56>>2]=i;e=g+r|0;N[G+52>>2]=e;N[G+48>>2]=e;m=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}i=g+i|0;if(m>>>0>N[N[ka>>2]+12>>2]-i>>>0){break Ve}N[G+68>>2]=m;e=i+r|0;N[G- -64>>2]=e;N[G+60>>2]=e;g=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}e=i+m|0;if(g>>>0>N[N[ka>>2]+12>>2]-e>>>0){break Ve}N[G+80>>2]=g;e=e+r|0;N[G+76>>2]=e;N[G+72>>2]=e;y=lb(t,4,0,H,0,p+44|0);if(N[p+44>>2]){break Xe}$=N[G+64>>2];N[G+64>>2]=$+(ba+31>>>3&16380);g=Qa[N[t+4>>2]](t,5120)|0;if(!g){break Ye}C(g,0,5120);N[p+44>>2]=0;ta=U,ua=lb(t,2,0,ba,0,p+44|0),N[ta+8>>2]=ua;if(!N[p+44>>2]){break Ze}h=g;break Xe}f=N[p+40>>2];N[p+16>>2]=f;n=0;h=0;j=0;y=0;break Se}Rf:{if(!ba){h=g;e=k;break Rf}e=5120;ca=0;h=g;while(1){N[p+32>>2]=0;M[p+30>>1]=0;g=(ca>>>3|0)+$|0;Sf:{f=N[o+20>>2];Tf:{if(f){if(Qa[f|0](o,g,0,0)|0){break Tf}break Sf}if(g>>>0<=Q[o+4>>2]){break Sf}}N[p+44>>2]=85;x=0;break Ue}N[o+8>>2]=g;x=0;N[p+44>>2]=0;g=Pd(o,p+44|0);if(N[p+44>>2]){break Ue}i=N[G+4>>2];f=N[o+20>>2];Uf:{if(f){if(Qa[f|0](o,i,0,0)|0){break We}break Uf}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;N[p+44>>2]=0;J=xb(o,p+44|0);if(N[p+44>>2]){break Ve}ia=g&128>>>(ca&7);N[G+4>>2]=N[G+4>>2]+2;Vf:{Wf:{Xf:{Yf:{if(J){if((J|0)==65535){L[p+22|0]=0;M[p+28>>1]=0;if(!ia){break Ve}m=N[G+52>>2];i=0;z=La-16|0;La=z;g=N[o+20>>2];Zf:{_f:{if(g){f=85;if(!(Qa[g|0](o,m,0,0)|0)){break _f}break Zf}f=85;if(m>>>0>Q[o+4>>2]){break Zf}}N[o+8>>2]=m;f=m;j=32;while(1){if(j&32){$f:{ag:{bg:{if(Q[o+4>>2]<=f+1>>>0){break bg}g=N[o+20>>2];cg:{if(g){if((Qa[g|0](o,f,z+14|0,2)|0)!=2){break bg}f=N[o+8>>2];g=z+14|0;break cg}g=N[o>>2];if(!g){break ag}g=f+g|0}g=O[g|0]|O[g+1|0]<<8;g=g<<8|g>>>8;break $f}f=85;break Zf}g=0}s=f+2|0;N[o+8>>2]=s;j=g;g=j&1?6:4;r=g+2|0;dg:{if(j&8){break dg}r=g+4|0;f=j&65535;if(f&64){break dg}r=g|f>>>4&8}f=r+s|0;eg:{g=N[o+20>>2];if(g){if(!(Qa[g|0](o,f,0,0)|0)){break eg}f=85;break Zf}if(Q[o+4>>2]>=f>>>0){break eg}f=85;break Zf}i=j>>>8&1|i;N[o+8>>2]=f;continue}break}N[p+24>>2]=f-m;L[p+22|0]=i;f=0}La=z+16|0;if(f){break Ve}f=0;if(!O[p+22|0]){break Wf}g=N[G+40>>2];f=N[o+20>>2];if(f){if(Qa[f|0](o,g,0,0)|0){break We}break Xf}if(g>>>0>Q[o+4>>2]){break We}break Xf}j=0;x=lb(t,2,0,J,0,p+44|0);if(N[p+44>>2]){break Te}g=N[G+16>>2];f=N[o+20>>2];fg:{if(f){if(Qa[f|0](o,g,0,0)|0){break fg}break Yf}if(g>>>0<=Q[o+4>>2]){break Yf}}N[p+44>>2]=85;break Te}i=0;if(ia){break Ve}break Vf}N[o+8>>2]=g;f=0;i=0;gg:{hg:{while(1){j=je(o,p+28|0);if(j){break hg}g=P[p+28>>1];M[(f<<1)+x>>1]=g;r=g+i|0;if(r>>>0>=i>>>0){i=r;f=f+1|0;if((J|0)==(f|0)){break gg}continue}break}j=0}N[p+44>>2]=j;break Ue}j=0;N[p+44>>2]=0;N[G+16>>2]=N[o+8>>2];if(Q[G+32>>2]>>0){break Te}s=N[G+44>>2];g=N[G+40>>2];m=g-N[G+36>>2]|0;if(s>>>0>>0){break Te}z=N[o>>2];f=N[G+28>>2];N[p+24>>2]=0;j=lb(t,12,0,i,0,p+44|0);if(N[p+44>>2]){break Te}Z=f+z|0;K=g+z|0;f=0;B=0;aa=0;X=0;g=0;da=8;W=s-m|0;ig:{if(W>>>0>>0){break ig}if(r){while(1){m=O[X+Z|0];fa=m&127;i=1;jg:{if(fa>>>0<84){break jg}i=2;if(fa>>>0<120){break jg}i=fa>>>0<124?3:4}g=i+f|0;if(W>>>0>>0|g>>>0>>0){break ig}ja=m<<24>>24;kg:{if(fa>>>0<=9){z=0;f=O[f+K|0]|fa<<7&1792;S=ja&1?f:0-f|0;break kg}if(fa>>>0<=19){S=0;f=O[f+K|0]|(fa<<7)+768&1792;z=ja&1?f:0-f|0;break kg}if(fa>>>0<=83){m=O[f+K|0];i=fa-20|0;f=m&15|i<<2&48;S=ja&2?f+1|0:f^-1;f=i&48|m>>>4;z=ja&1?f+1|0:f^-1;break kg}if(fa>>>0<=119){s=f+K|0;m=fa-84|0;i=((m&255)>>>0)/12|0;f=O[s|0]|i<<8;z=ja&1?f+1|0:f^-1;f=O[s+1|0]|m+(i<<2)<<6&768;S=ja&2?f+1|0:f^-1;break kg}if(fa>>>0<=123){m=f+K|0;i=O[m+1|0];f=O[m|0]<<4|i>>>4;z=ja&1?f:0-f|0;f=O[m+2|0]|i<<8&3840;S=ja&2?f:0-f|0;break kg}i=f+K|0;f=O[i|0]<<8|O[i+1|0];z=ja&1?f:0-f|0;f=O[i+3|0]|O[i+2|0]<<8;S=ja&2?f:0-f|0}if((aa^2147483647)<(z|0)&(aa|0)>0|(aa|0)<0&(-2147483648-aa|0)>(z|0)|((B^2147483647)<(S|0)&(B|0)>0|(B|0)<0&(-2147483648-B|0)>(S|0))){break ig}f=T(X,12)+j|0;L[f+8|0]=(ja|0)>=0;B=B+S|0;N[f+4>>2]=B;aa=z+aa|0;N[f>>2]=aa;f=g;X=X+1|0;if((r|0)!=(X|0)){continue}break}}N[p+24>>2]=g;da=0}if(da){break Te}N[G+28>>2]=r+N[G+28>>2];g=N[G+40>>2]+N[p+24>>2]|0;N[G+40>>2]=g;lg:{f=N[o+20>>2];mg:{if(f){if(Qa[f|0](o,g,0,0)|0){break mg}break lg}if(g>>>0<=Q[o+4>>2]){break lg}}N[p+44>>2]=85;break Te}N[o+8>>2]=g;f=je(o,p+22|0);N[p+44>>2]=f;if(f){break Te}N[G+40>>2]=N[o+8>>2];if(r>>>0>134217727){break Te}g=(P[p+22>>1]+(T(r,5)+(J<<1)|0)|0)+12|0;ng:{if(g>>>0<=e>>>0){g=e;break ng}h=lb(t,1,e,g,h,p+44|0);if(N[p+44>>2]){break Te}}e=J<<8|J>>>8;L[h|0]=e;L[h+1|0]=e>>>8;og:{pg:{if(ia){f=N[p+32>>2];i=N[G+64>>2];e=N[o+20>>2];qg:{if(e){if(Qa[e|0](o,i,0,0)|0){break qg}break pg}if(i>>>0<=Q[o+4>>2]){break pg}}N[p+44>>2]=85;break Te}i=0;e=0;f=0;m=0;X=0;rg:{if(!r){break rg}z=1;f=N[j+4>>2];e=N[j>>2];if((r|0)==1){m=f;i=e;break rg}sg:{if((r|0)==2){m=f;i=e;break sg}i=r-1|0;S=i&1;s=i&-2;i=e;m=f;while(1){B=T(z,12)+j|0;da=N[B+16>>2];Z=N[B+4>>2];m=(m|0)<(Z|0)?Z:m;m=(m|0)<(da|0)?da:m;W=N[B+12>>2];B=N[B>>2];i=(i|0)<(B|0)?B:i;i=(i|0)<(W|0)?W:i;f=(f|0)>(Z|0)?Z:f;f=(f|0)>(da|0)?da:f;e=(e|0)>(B|0)?B:e;e=(e|0)>(W|0)?W:e;z=z+2|0;X=X+2|0;if((s|0)!=(X|0)){continue}break}if(!S){break rg}z=(r-3&-2)+3|0}s=T(z,12)+j|0;z=N[s+4>>2];m=(m|0)<(z|0)?z:m;s=N[s>>2];i=(i|0)<(s|0)?s:i;f=(f|0)>(z|0)?z:f;e=(e|0)>(s|0)?s:e}L[h+9|0]=m;L[h+7|0]=i;L[h+5|0]=f;L[h+3|0]=e;L[h+8|0]=m>>>8;L[h+6|0]=i>>>8;L[h+4|0]=f>>>8;L[h+2|0]=e>>>8;M[p+30>>1]=e;break og}N[o+8>>2]=i;N[p+44>>2]=0;ta=p,ua=xb(o,p+44|0),M[ta+30>>1]=ua;if(N[p+44>>2]){break Te}i=N[G+64>>2];tg:{e=N[o+20>>2];ug:{if(e){if(Qa[e|0](o,i,0,0)|0){break ug}break tg}if(i>>>0<=Q[o+4>>2]){break tg}}N[p+44>>2]=85;break Te}N[o+8>>2]=i;e=Zb(o,(f+2|0)+h|0,8);N[p+44>>2]=e;if(e){break Te}N[G+64>>2]=N[G+64>>2]+8}N[p+32>>2]=10;e=h+10|0;i=-1;f=0;while(1){m=e;i=P[(f<<1)+x>>1]+i|0;if((i|0)>65535){break Te}e=i<<8|(i&65280)>>>8;L[m|0]=e;L[m+1|0]=e>>>8;N[p+32>>2]=N[p+32>>2]+2;e=m+2|0;f=f+1|0;if((J|0)!=(f|0)){continue}break}z=P[p+22>>1];e=z<<8|z>>>8;L[m+2|0]=e;L[m+3|0]=e>>>8;f=N[p+32>>2];i=N[G+76>>2];vg:{e=N[o+20>>2];wg:{if(e){if(Qa[e|0](o,i,0,0)|0){break wg}break vg}if(i>>>0<=Q[o+4>>2]){break vg}}N[p+44>>2]=85;break Te}N[o+8>>2]=i;f=f+2|0;e=Zb(o,f+h|0,z);N[p+44>>2]=e;if(e){break Te}N[G+76>>2]=z+N[G+76>>2];N[p+32>>2]=f+z;s=g;S=0;aa=0;X=0;e=(z+(J<<1)|0)+12|0;xg:{yg:{zg:{if(r){z=e;B=255;g=0;e=0;Ag:{Bg:while(1){W=r-S|0;da=h+z|0;Z=da-1|0;ia=0;while(1){i=T(S,12)+j|0;m=N[i+4>>2];f=O[i+8|0]!=0;i=N[i>>2];Cg:{if((i|0)==(g|0)){f=f|16;break Cg}g=i-g|0;if(g+255>>>0<=510){aa=aa+1|0;f=((g|0)>0?18:2)|f;break Cg}aa=aa+2|0}Dg:{if((e|0)==(m|0)){f=f|32;break Dg}e=m-e|0;if(e+255>>>0<=510){X=X+1|0;f=((e|0)>0?36:4)|f;break Dg}X=X+2|0}if(!((B&255)==(f|0)&(ia&255)!=255)){if(ia&255){e=8;if(s>>>0<=z>>>0){break xg}L[da|0]=ia;z=z+1|0}e=8;if(s>>>0<=z>>>0){break xg}L[h+z|0]=f;z=z+1|0;B=f;g=i;e=m;S=S+1|0;if((r|0)!=(S|0)){continue Bg}break Ag}L[Z|0]=O[Z|0]|8;ia=ia+1|0;g=i;e=m;S=S+1|0;if((r|0)!=(S|0)){continue}break}break}f=8;if(s>>>0<=z>>>0){break yg}L[da|0]=W;z=z+1|0}f=8;e=X+aa|0;if(e>>>0>>0){break yg}e=e+z|0;if(e>>>0>>0|e>>>0>s>>>0){break yg}e=z+aa|0;S=0;f=0;g=0;while(1){m=f;B=T(g,12)+j|0;f=N[B+4>>2];i=S;S=N[B>>2];Eg:{if((i|0)==(S|0)){break Eg}i=S-i|0;if(i+255>>>0<=510){B=i;i=i>>31;L[h+z|0]=(B^i)-i;z=z+1|0;break Eg}B=h+z|0;i=i<<8|(i&65280)>>>8;L[B|0]=i;L[B+1|0]=i>>>8;z=z+2|0}Fg:{if((f|0)==(m|0)){break Fg}i=f-m|0;if(i+255>>>0<=510){m=i;i=i>>31;L[e+h|0]=(m^i)-i;e=e+1|0;break Fg}m=e+h|0;i=i<<8|(i&65280)>>>8;L[m|0]=i;L[m+1|0]=i>>>8;e=e+2|0}g=g+1|0;if((r|0)!=(g|0)){continue}break}break zg}f=8;if(e>>>0>s>>>0){break yg}}N[p+32>>2]=e;f=0}e=f}if(e){break Te}if(j){Qa[N[t+8>>2]](t,j)}Qa[N[t+8>>2]](t,x);i=N[p+32>>2];e=s;break Vf}N[o+8>>2]=g;f=je(o,p+28|0);N[p+44>>2]=f;if(f){break Ve}N[G+40>>2]=N[o+8>>2];f=P[p+28>>1]}f=(N[p+24>>2]+(f&65535)|0)+12|0;Gg:{if(f>>>0<=e>>>0){f=e;break Gg}h=lb(t,1,e,f,h,p+44|0);if(N[p+44>>2]){break Ve}}L[h|0]=255;L[h+1|0]=255;g=N[p+32>>2];i=N[G+64>>2];e=N[o+20>>2];Hg:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Hg}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;N[p+44>>2]=0;ta=p,ua=xb(o,p+44|0),M[ta+30>>1]=ua;if(N[p+44>>2]){break Ve}i=N[G+64>>2];e=N[o+20>>2];Ig:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Ig}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;e=Zb(o,(g+2|0)+h|0,8);N[p+44>>2]=e;if(e){break Ve}N[G+64>>2]=N[G+64>>2]+8;i=N[G+52>>2];e=N[o+20>>2];Jg:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Jg}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;g=g+10|0;i=N[p+24>>2];e=Zb(o,g+h|0,i);N[p+44>>2]=e;if(e){break Ve}N[G+52>>2]=i+N[G+52>>2];i=g+i|0;N[p+32>>2]=i;if(O[p+22|0]){e=h+i|0;L[e|0]=O[p+29|0];L[e+1|0]=O[p+28|0];g=N[p+32>>2];i=N[G+76>>2];e=N[o+20>>2];Kg:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Kg}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;g=g+2|0;i=P[p+28>>1];e=Zb(o,g+h|0,i);N[p+44>>2]=e;if(e){break Ve}N[G+76>>2]=i+N[G+76>>2];i=g+i|0;N[p+32>>2]=i}e=f}N[(ca<<2)+y>>2]=N[p+36>>2]-k;if(El(p+40|0,ea,p+36|0,h,i,t)){break Ve}s=La-16|0;La=s;j=N[p+40>>2];m=N[p+36>>2];L[s+14|0]=0;M[s+12>>1]=0;z=8;Lg:{if(m>>>0>4294967292){break Lg}g=m+3|0;f=g&-4;Mg:{if((m|0)==(f|0)){f=m;break Mg}if(f>>>0>31457280){break Lg}r=N[ea>>2];if(r>>>0>>0){if((g|r)<0){break Lg}Ng:{if(!r){j=Qa[N[t+4>>2]](t,f)|0;g=!j<<6;break Ng}g=Qa[N[t+12>>2]](t,r,f,j)|0;j=g?g:j;g=!g<<6}Og:{if(!(g|(f|0)<=(r|0)|!j)){C(j+r|0,0,f-r|0);break Og}if(g){break Lg}}N[ea>>2]=f}F(j+m|0,s+12|0,f-m|0)}N[p+40>>2]=j;N[p+36>>2]=f;z=0}La=s+16|0;if(z){break Ve}ta=p,ua=N[p+8>>2]+wh(h,i)|0,N[ta+8>>2]=ua;if(J){M[N[U+8>>2]+(ca<<1)>>1]=P[p+30>>1]}ca=ca+1|0;if((ba|0)!=(ca|0)){continue}break}e=N[p+36>>2]}f=N[ka>>2];g=e-N[f+28>>2]|0;N[f+8>>2]=g;N[N[v>>2]+28>>2]=e;N[(ba<<2)+y>>2]=g;f=0;j=0;z=0;r=N[p+36>>2];i=N[p+40>>2];x=H<<(na?2:1);Pg:{if(x){g=64;f=Qa[N[t+4>>2]](t,x)|0;if(!f){break Pg}C(f,0,x)}Qg:{if(na){e=f;if((H|0)!=1){s=H&1;m=H&-2;while(1){g=z<<2;H=N[g+y>>2];H=H<<24|(H&65280)<<8|(H>>>8&65280|H>>>24);L[e|0]=H;L[e+1|0]=H>>>8;L[e+2|0]=H>>>16;L[e+3|0]=H>>>24;g=N[(g|4)+y>>2];g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);L[e+4|0]=g;L[e+5|0]=g>>>8;L[e+6|0]=g>>>16;L[e+7|0]=g>>>24;e=e+8|0;z=z+2|0;if((m|0)!=(z|0)){continue}break}if(!s){break Qg}}g=N[(z<<2)+y>>2];g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);L[e|0]=g;L[e+1|0]=g>>>8;L[e+2|0]=g>>>16;L[e+3|0]=g>>>24;break Qg}e=f;if(H>>>0>=4){m=H&-4;while(1){s=j<<2;g=N[s+y>>2];L[e+1|0]=g>>>1;L[e|0]=g>>>9;g=N[(s|4)+y>>2];L[e+3|0]=g>>>1;L[e+2|0]=g>>>9;g=N[(s|8)+y>>2];L[e+5|0]=g>>>1;L[e+4|0]=g>>>9;g=N[(s|12)+y>>2];L[e+7|0]=g>>>1;L[e+6|0]=g>>>9;e=e+8|0;j=j+4|0;if((m|0)!=(j|0)){continue}break}}m=H&3;if(!m){break Qg}while(1){g=N[(j<<2)+y>>2];L[e+1|0]=g>>>1;L[e|0]=g>>>9;j=j+1|0;e=e+2|0;z=z+1|0;if((m|0)!=(z|0)){continue}break}}e=0;m=x&2147483644;Rg:{if(!m){g=0;break Rg}g=0;while(1){g=(O[(e|3)+f|0]|(O[(e|1)+f|0]<<16|O[e+f|0]<<24|O[(e|2)+f|0]<<8))+g|0;e=e+4|0;if(m>>>0>e>>>0){continue}break}e=m}if((e|0)!=(x|0)){j=0;if(e>>>0>>0){s=x-e|0;z=0;while(1){m=e<<3&16;j=O[(e|1)+f|0]<<(m^16)|(O[e+f|0]<<(m^24)|j);e=e+2|0;z=z+2|0;if((s|0)!=(z|0)){continue}break}}g=g+j|0}N[p+4>>2]=g;g=8;s=r+x|0;Sg:{if(s>>>0>31457280){break Sg}m=N[ea>>2];if(m>>>0>>0){if((m|s)<0){break Sg}Tg:{if(!m){i=Qa[N[t+4>>2]](t,s)|0;e=!i<<6;break Tg}e=Qa[N[t+12>>2]](t,m,s,i)|0;i=e?e:i;e=!e<<6}Ug:{if(!(e|(m|0)>=(s|0)|!i)){C(i+m|0,0,s-m|0);break Ug}if(e){break Sg}}N[ea>>2]=s}F(i+r|0,f,x);N[p+40>>2]=i;N[p+36>>2]=s;g=0}if(f){Qa[N[t+8>>2]](t,f)}}if(g){break Ve}f=N[v>>2];e=N[p+36>>2];N[f+8>>2]=e-N[f+28>>2];N[p+12>>2]=e;f=N[p+40>>2];N[p+16>>2]=f;Qa[N[t+8>>2]](t,G);j=0;n=y;break Qe}N[p+44>>2]=64}N[p+16>>2]=f;break Se}N[p+44>>2]=85}f=N[p+40>>2];N[p+16>>2]=f;e=N[p+44>>2];N[p+44>>2]=e?e:8;j=0;break Se}j=0}f=N[p+40>>2];N[p+16>>2]=f;e=N[p+44>>2];N[p+44>>2]=e?e:8;n=x;if(!G){break Re}}Qa[N[t+8>>2]](t,G)}if(y){Qa[N[t+8>>2]](t,y)}if(!n){break Pe}}Qa[N[t+8>>2]](t,n)}if(h){Qa[N[t+8>>2]](t,h)}if(j){Qa[N[t+8>>2]](t,j)}z=1;if(N[p+44>>2]){break Ce}}y=N[p+8>>2];L[D+15|0]=ha;L[D+11|0]=k;L[D+7|0]=y;L[D+3|0]=Y;L[D+14|0]=ha>>>8;L[D+13|0]=ha>>>16;L[D+12|0]=ha>>>24;L[D+10|0]=k>>>8;L[D+9|0]=k>>>16;L[D+8|0]=k>>>24;L[D+6|0]=y>>>8;L[D+5|0]=y>>>16;L[D+4|0]=y>>>24;L[D+2|0]=Y>>>8;L[D+1|0]=Y>>>16;L[D|0]=Y>>>24;Vg:{Wg:{Xg:{h=R+16|0;Yg:{if(h>>>0>31457280){break Yg}i=N[ea>>2];if(i>>>0>=h>>>0){e=f;break Wg}if((h|i)<0){break Yg}Zg:{if(!i){e=Qa[N[t+4>>2]](t,h)|0;g=!e<<6;break Zg}g=Qa[N[t+12>>2]](t,i,h,f)|0;e=g?g:f;g=!g<<6}if(!(g|(h|0)<=(i|0)|!e)){C(e+i|0,0,h-i|0);break Xg}if(!g){break Xg}}e=f;break Vg}N[ea>>2]=h}g=O[D+4|0]|O[D+5|0]<<8|(O[D+6|0]<<16|O[D+7|0]<<24);i=e+R|0;f=O[D|0]|O[D+1|0]<<8|(O[D+2|0]<<16|O[D+3|0]<<24);L[i|0]=f;L[i+1|0]=f>>>8;L[i+2|0]=f>>>16;L[i+3|0]=f>>>24;L[i+4|0]=g;L[i+5|0]=g>>>8;L[i+6|0]=g>>>16;L[i+7|0]=g>>>24;g=O[D+12|0]|O[D+13|0]<<8|(O[D+14|0]<<16|O[D+15|0]<<24);f=O[D+8|0]|O[D+9|0]<<8|(O[D+10|0]<<16|O[D+11|0]<<24);L[i+8|0]=f;L[i+9|0]=f>>>8;L[i+10|0]=f>>>16;L[i+11|0]=f>>>24;L[i+12|0]=g;L[i+13|0]=g>>>8;L[i+14|0]=g>>>16;L[i+15|0]=g>>>24;N[p+16>>2]=e;R=h}r=O[D+12|0]|O[D+13|0]<<8|(O[D+14|0]<<16|O[D+15|0]<<24);s=O[D+8|0]|O[D+9|0]<<8|(O[D+10|0]<<16|O[D+11|0]<<24);m=O[D+4|0]|O[D+5|0]<<8|(O[D+6|0]<<16|O[D+7|0]<<24);n=O[D|0]|O[D+1|0]<<8|(O[D+2|0]<<16|O[D+3|0]<<24);h=N[p+12>>2];L[p+46|0]=0;M[p+44>>1]=0;if(h>>>0>4294967292){break Ae}f=h+3|0;g=f&-4;_g:{if((h|0)==(g|0)){f=e;g=h;break _g}if(g>>>0>31457280){break Ae}H=N[ea>>2];$g:{if(H>>>0>=g>>>0){f=e;break $g}if((f|H)<0){break Ae}ah:{if(!H){f=Qa[N[t+4>>2]](t,g)|0;e=!f<<6;break ah}i=Qa[N[t+12>>2]](t,H,g,e)|0;f=i?i:e;e=!i<<6}bh:{if(!(e|(g|0)<=(H|0)|!f)){C(f+H|0,0,g-H|0);break bh}if(e){break Ae}}N[ea>>2]=g}F(f+h|0,p+44|0,g-h|0)}N[p+16>>2]=f;N[p+12>>2]=g;if(k+ha>>>0>g>>>0){break Ae}V=y+V+((((m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))+(n<<24|(n&65280)<<8|(n>>>8&65280|n>>>24))|0)+(s<<24|(s&65280)<<8|(s>>>8&65280|s>>>24))|0)+(r<<24|(r&65280)<<8|(r>>>8&65280|r>>>24)))|0;k=g;la=la+1|0;if((_|0)!=(la|0)){continue}break}g=0;while(1){e=N[(g<<2)+I>>2];if(N[e+4>>2]!=1751474532){g=g+1|0;if((_|0)!=(g|0)){continue}break De}break}N[U+20>>2]=e;if(Q[e+8>>2]<12){break Ce}g=N[e+28>>2]+f|0;e=-1313820742-V|0;e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);L[g+8|0]=e;L[g+9|0]=e>>>8;L[g+10|0]=e>>>16;L[g+11|0]=e>>>24;N[q+112>>2]=N[p+12>>2];N[q+20>>2]=f;Qa[N[t+8>>2]](t,D);E=0;if(!o){break ue}e=N[o+24>>2];if(e){Qa[e|0](o)}Qa[N[t+8>>2]](t,o);break ue}N[U+20>>2]=0}N[q+20>>2]=N[p+16>>2];E=8;if(!D){break ye}break ze}N[q+20>>2]=N[p+16>>2]}Qa[N[t+8>>2]](t,D)}if(!o){break ue}e=N[o+24>>2];if(e){Qa[e|0](o)}Qa[N[t+8>>2]](t,o)}La=p+48|0;f=E;N[q+120>>2]=f;if(f){d=c;break ia}e=N[q+20>>2];ch:{g=N[q+112>>2];f=N[q+16>>2];if(g>>>0>=f>>>0){break ch}e=lb(t,1,f,g,e,q+120|0);N[q+20>>2]=e;f=N[q+120>>2];if(!f){break ch}d=c;break ia}N[w+32>>2]=0;N[w+8>>2]=0;N[w+4>>2]=g;N[w>>2]=e;N[w+20>>2]=0;a=N[a+28>>2];N[w+24>>2]=183;N[w+28>>2]=a;f=N[b+104>>2];dh:{if(!f){break dh}c=N[b+8>>2];e=N[f+28>>2];a=N[f+24>>2];if(a){Qa[a|0](f)}if(c&1024){break dh}Qa[N[e+8>>2]](e,f)}N[b+104>>2]=w;N[b+8>>2]=N[b+8>>2]&-1025;f=0;break ia}f=8}N[q+120>>2]=f;u=0;d=c;break ia}f=8}N[q+120>>2]=f;w=0}d=c;u=0}if(!ma){break da}break ea}u=0;break fa}f=8;N[q+120>>2]=8}w=0;d=c}Qa[N[t+8>>2]](t,ma)}if(I){Qa[N[t+8>>2]](t,I)}if(u){Qa[N[t+8>>2]](t,u)}c=d}a=N[q+32>>2];if(a){Qa[N[t+8>>2]](t,a)}g=N[q+116>>2];if(g){d=P[q+108>>1];eh:{if(!d){break eh}e=g;a=d;if((a|0)!=1){i=a&65534;a=0;while(1){h=N[e+8>>2];if(h){Qa[N[t+8>>2]](t,h)}N[e+8>>2]=0;h=N[e+20>>2];if(h){Qa[N[t+8>>2]](t,h)}N[e+20>>2]=0;e=e+24|0;a=a+2|0;if((i|0)!=(a|0)){continue}break}}if(!(d&1)){break eh}a=N[e+8>>2];if(a){Qa[N[t+8>>2]](t,a)}N[e+8>>2]=0}Qa[N[t+8>>2]](t,g)}if(!f){break g}a=N[q+20>>2];if(a){Qa[N[t+8>>2]](t,a)}if(w){a=N[w+24>>2];if(a){Qa[a|0](w)}Qa[N[t+8>>2]](t,w)}N[q+12>>2]=f;break a}f=8;N[q+24>>2]=8}Qa[N[A+8>>2]](A,v);if(!H){break j}break k}f=8;N[q+24>>2]=8}Qa[N[A+8>>2]](A,v)}Qa[N[A+8>>2]](A,H)}if(!f){break g}if(!w){break h}}Qa[N[A+8>>2]](A,w)}if(n){a=N[n+24>>2];if(a){Qa[a|0](n)}Qa[N[A+8>>2]](A,n)}N[q+12>>2]=f;break a}N[q+12>>2]=0;a=N[b+104>>2];continue}}La=q+128|0;return f|0}function No(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,U=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,Ma=0,Na=0,Oa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,ab=0,cb=0,eb=0,fb=0,hb=0,ib=0,jb=0,lb=0,nb=0,ob=0,pb=0;oa=La+-64|0;La=oa;a:{b:{c:{if(!(N[a+16>>2]|N[a+20>>2])|!N[a+8>>2]){break c}h=N[a>>2];if(!N[b+8>>2]|(h|0)!=N[b+84>>2]){break c}N[a+176>>2]=c;N[a+180>>2]=d;N[a+168>>2]=b;f=N[b+40>>2];d:{e:{f:{g=N[b+36>>2];if((g|0)>0){if((f|0)>0){break d}if((g|0)!=1280){break f}N[b+40>>2]=1024;N[oa+32>>2]=1024;mb(h,2,17469,oa+32|0);break d}if((f|0)>0){break e}mb(h,2,21386,0);N[b+36>>2]=384;N[b+40>>2]=288;break d}f=UE(g,0,3,0);f=g>>>0<=1?1:(Pa&3)<<30|f>>>2;N[b+40>>2]=f;N[oa+48>>2]=f;mb(h,2,17469,oa+48|0);break d}if((f|0)==1024){N[b+36>>2]=1280;N[oa>>2]=1280;mb(h,2,17503,oa);break d}f=WE(f<<2,f>>>30|0,3,0);N[b+36>>2]=f;N[oa+16>>2]=f;mb(h,2,17503,oa+16|0)}g:{U=N[a+12>>2];f=N[N[a>>2]+16>>2];if((U|0)!=(f|0)){if(f>>>0<=U>>>0){break g}g=N[a+8>>2];if(N[g+40>>2]){f=N[N[g>>2]+16>>2];if(f>>>0>U>>>0){while(1){Ao(N[g+40>>2],U);U=U+1|0;if((f|0)!=(U|0)){continue}break}}U=f}N[a+12>>2]=U}f=N[a+200>>2];g=N[a+168>>2];N[N[f+40>>2]+36>>2]=N[g+64>>2]!=0;h=N[g+68>>2];h:{if(!h|!O[h|0]){break h}h=ie(h);if(!h){break h}_=N[h+4>>2]}N[f+44>>2]=_;N[f>>2]=N[a+92>>2];g=N[N[g+88>>2]+36>>2];L[f+56|0]=g>>>1&1;L[f+57|0]=g&4?2:N[f+32>>2]==64;f=N[b+96>>2]>0&N[b+92>>2]>0;s=S[a+80>>3];i:{if(!(f|s==0)){r=s;break i}r=1;g=N[a+144>>2];if(!g){break i}i=N[a+140>>2];if(!i|!f&(!N[a+24>>2]|!N[a+28>>2])){break i}r=+(g|0)/+(i|0);f=N[a+168>>2];U=N[f+92>>2];j:{if((U|0)>0){h=N[f+96>>2];if((h|0)>0){break j}}U=N[a+24>>2];if((U|0)>0){h=N[a+28>>2];if((h|0)>0){break j}}if(!(!(s<=0)&s!=1)){h=N[f+40>>2];U=N[f+36>>2];break j}if(s>1){h=N[f+40>>2];f=qc(+((T(g,h)|0)/(i|0)|0)/s);U=(f|0)<=1?1:f;break j}U=N[f+36>>2];f=qc(s*+((T(i,U)|0)/(g|0)|0));h=(f|0)<=1?1:f}r=r/(+(U|0)/+(h|0))}S[a+184>>3]=r;ya=a+116|0;f=N[ya>>2];U=0;N[ya>>2]=0;N[a+120>>2]=f;ui(N[a+852>>2],N[a+868>>2]);ui(N[a+848>>2],N[a+864>>2]);ui(N[a+844>>2],N[a+860>>2]);h=N[b+8>>2];k:{if((h|0)<=0){break k}n=a+192|0;_=0;while(1){fa=N[b+20>>2]+T(U,56)|0;g=fa;f=N[g>>2];g=N[g+4>>2];l:{if(c>>>0>>0&(d|0)<=(g|0)|(d|0)<(g|0)){break l}k=g+N[fa+12>>2]|0;g=f;f=f+N[fa+8>>2]|0;k=g>>>0>f>>>0?k+1|0:k;if((d|0)>=(k|0)&c>>>0>=f>>>0|(d|0)>(k|0)){break l}f=N[a+128>>2];m:{if((f|0)>(_|0)){h=N[a+124>>2];break m}f=f+100|0;N[a+128>>2]=f;h=$a(N[a+124>>2],f<<5);N[a+124>>2]=h}ea=(_<<5)+h|0;g=0;r=0;p=0;q=0;u=0;ta=0;t=La-272|0;La=t;W=N[n>>2];n:{if(N[fa+24>>2]>=N[N[W+168>>2]>>2]){mb(N[W>>2],2,16547,0);break n}if(!N[fa+48>>2]){mb(N[W>>2],2,9216,0);break n}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(f){N[f+12>>2]=0}N[n+216>>2]=0;N[n+88>>2]=0;N[n+64>>2]=fa;f=N[n>>2];g=N[f+168>>2];h=N[g+56>>2];L[n+256|0]=0;N[n+240>>2]=0;N[n+244>>2]=0;N[n+144>>2]=0;N[n+148>>2]=0;N[n+152>>2]=0;N[n+156>>2]=0;N[n+160>>2]=0;N[n+164>>2]=0;N[n+168>>2]=0;N[n+172>>2]=0;N[n+516>>2]=h;N[n+248>>2]=N[g+36>>2];N[n+252>>2]=N[g+40>>2];L[n+465|0]=0;L[n+466|0]=0;L[n+467|0]=0;L[n+468|0]=0;L[n+469|0]=0;L[n+470|0]=0;L[n+471|0]=0;L[n+472|0]=0;N[n+460>>2]=0;N[n+464>>2]=0;N[n+288>>2]=0;N[n+292>>2]=0;N[n+260>>2]=0;N[n+448>>2]=0;L[n+257|0]=0;L[n+258|0]=1;o:{g=N[fa+44>>2];if(!(!g|!O[g|0])){j=lc(g,59);p:{if(!j){i=1;break p}i=1;h=j+1|0;q=si(h);h=lc(h,59);if(!h){p=1;break p}h=h+1|0;u=si(h);h=lc(h,59);if(!h){break p}r=+(si(h+1|0)|0);i=0}h=N[f+168>>2];k=N[h+92>>2];q:{if((k|0)>0){m=N[h+96>>2];if((m|0)>0){break q}}k=N[f+24>>2];if((k|0)>0){m=N[f+28>>2];if((m|0)>0){break q}}r:{s=S[f+80>>3];s:{if(s<=0|s==1){break s}o=N[f+144>>2];if(!o){break s}l=N[f+140>>2];if(l){break r}}m=N[h+40>>2];k=N[h+36>>2];break q}if(s>1){m=N[h+40>>2];k=qc(+((T(o,m)|0)/(l|0)|0)/s);k=(k|0)<=1?1:k;break q}k=N[h+36>>2];m=qc(s*+((T(l,k)|0)/(o|0)|0));m=(m|0)<=1?1:m}t:{if(!bb(g,21166,7)){if(!j){f=N[f>>2];N[t+32>>2]=g;mb(f,6,24620,t+32|0);break t}N[n+476>>2]=!u|p;g=N[fa>>2];i=N[fa+4>>2];h=N[f+176>>2];j=N[f+180>>2];f=N[N[f+168>>2]+36>>2];N[n+516>>2]=2;L[n+258|0]=0;N[n+216>>2]=2;s=+(k|0)/+(f|0);r=+(q|0)/s;k=r>1;w=+(h-g>>>0)+ +(j-((h>>>0>>0)+i|0)|0)*4294967296;if(V(r)<2147483648){f=~~r}else{f=-2147483648}S[n+480>>3]=w/(s*(k?+(f|0):1));h=1;break o}u:{if(bb(g,21174,10)){if(bb(g,21185,12)){break u}j=2}else{j=3}N[n+476>>2]=j;if(i){f=N[f>>2];N[t+48>>2]=g;mb(f,6,24620,t+48|0);break t}g=N[fa>>2];j=N[fa+4>>2];i=N[f+176>>2];f=N[f+180>>2];h=N[h+40>>2];L[n+258|0]=0;N[n+216>>2]=4;N[n+492>>2]=(q|0)>(u|0)?q:u;N[n+488>>2]=(q|0)<(u|0)?q:u;s=+(m|0)/+(h|0);r=r/s;h=r>1;w=+(i-g>>>0)+ +(f-((g>>>0>i>>>0)+j|0)|0)*4294967296;if(V(r)<2147483648){f=~~r}else{f=-2147483648}S[n+480>>3]=w/(s*(h?+(f|0):1));h=1;break o}f=N[f>>2];N[t+64>>2]=g;mb(f,7,24588,t- -64|0)}h=1;if(N[n+216>>2]){break o}}g=N[fa+48>>2];v:while(1){h=O[g|0];w:while(1){x:{h=h&255;if((h|0)!=123){if(!h){break o}if(!O[g+1|0]|(h|0)!=92){break x}g=g+2|0;continue v}while(1){f=g;g=f+1|0;h=O[f+1|0];if((h|0)!=92){if(!h|(h|0)==125){continue w}continue}h=1;y:{switch(O[f+2|0]-99|0){case 10:if(O[f+3|0]!=111|O[f+4|0]!=118|O[f+5|0]!=101){continue}break o;case 0:if(O[f+3|0]!=108|O[f+4|0]!=105|O[f+5|0]!=112){continue}break o;case 6:if(O[f+3|0]!=99|O[f+4|0]!=108|(O[f+5|0]!=105|O[f+6|0]!=112)){continue}break o;case 13:break o;case 12:break y;default:continue}}if(O[f+3|0]!=114|O[f+4|0]!=103){continue}break}break o}break}g=g+1|0;continue}}N[n+532>>2]=h;ti(n,0);f=N[n+68>>2];N[n+96>>2]=N[f+104>>2];N[n+100>>2]=N[f+136>>2];m=N[n+4>>2];g=N[fa+48>>2];p=N[n>>2];z:{while(1){A:{B:{C:{D:{E:{F:{f=O[g|0];if((f|0)!=123){if(!f){break E}break F}h=lc(g,125);if(!h){break F}f=qo(n,g,h,1,0);if(O[f|0]==125){g=f+1|0;continue}ba(24336,18170,2097,10067);B()}h=f<<24>>24;if(N[n+448>>2]){h=((h|0)==123)+g|0;while(1){f=O[h|0];if(!(!f|(f|0)==123)){h=h+1|0;continue}break}o=65532;f=h-g|0;break B}if((f|0)==9){o=32;h=1;break C}G:{H:{if((f|0)==92){o=10;h=2;I:{switch(O[g+1|0]-78|0){case 26:o=160;break C;case 45:o=123;break C;case 0:break C;case 32:break D;case 47:break I;default:break H}}o=125;break C}i=-1;if((h|0)>=0){break H}h=128;while(1){j=i;i=i+1|0;h=h>>>1|0;if(f&h){continue}break}if(j>>>0>3){break H}q=O[g+1|0];if((q&192)!=128){break H}u=g+1|0;o=f&h-1;while(1){if((i|0)<=0){break H}o=q&63|o<<6;i=i-1|0;q=O[u+1|0];h=u+1|0;u=h;if((q&192)==128){continue}break}if(!i){break G}}h=g+1|0;o=f}g=0;f=0;if(o){break B}}$=N[n+4>>2];k=N[$+12>>2];if(k){break A}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;g=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0;break n}o=N[n+516>>2]==2?10:32}h=h+g|0;g=0;f=0}if(!N[n+72>>2]){break z}i=f;f=N[m+12>>2];j=N[m+52>>2];if((f|0)>=(j|0)){k=f;f=((f|0)/2|0)+1|0;f=(f|0)<(j|0)?j:f;j=(f|0)>=1073741823?1073741823:f;f=j<<1;if((k|0)>=(f|0)){break z}N[147316]=0;k=N[m>>2];J:{if(f>>>0<=11930464){q=T(j,720);q=$a(k,q>>>0<=1?1:q);if(q){break J}}N[147316]=48;N[m>>2]=k;break z}N[147316]=0;N[m>>2]=q;N[147316]=0;k=N[m+4>>2];j=j<<3;j=$a(k,j>>>0<=1?1:j);if(!j){N[147316]=48;N[m+4>>2]=k;break z}N[147316]=0;N[m+4>>2]=j;N[147316]=0;k=N[m+8>>2];j=$a(k,f>>>0<=1?1:f);N[147316]=j?0:48;N[m+8>>2]=j?j:k;if(!j){break z}N[m+52>>2]=f;f=N[m+12>>2]}f=N[m>>2]+T(f,360)|0;C(f,0,360);K:{if(g){N[f+32>>2]=g;N[f+36>>2]=i;N[f+40>>2]=N[n+448>>2];s=S[n+288>>3];L:{if(V(s)<2147483648){i=~~s;break L}i=-2147483648}N[f+44>>2]=i;N[f>>2]=o;N[f+8>>2]=N[n+72>>2];u=f+8|0;break K}N[f>>2]=o;i=N[n+72>>2];N[f+8>>2]=i;u=f+8|0;if(!i){break K}if(!N[i-8>>2]){break a}i=i-4|0;j=N[i>>2];if(!j){break a}N[i>>2]=j+1}i=N[n+224>>2];L[f+140|0]=i;j=N[n+260>>2];if((j|0)>0){q=i&-256;i=i&255;l=i+j|0;i=UE(i,0,j,0);k=Pa;i=i+127|0;k=i>>>0<127?k+1|0:k;i=l-WE(i,k,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|q}N[f+124>>2]=i;i=N[n+228>>2];L[f+141|0]=i;j=N[n+260>>2];if((j|0)>0){k=i&-256;i=i&255;q=i+j|0;j=UE(i,0,j,0);i=Pa;j=j+127|0;i=j>>>0<127?i+1|0:i;i=q-WE(j,i,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|k}N[f+128>>2]=i;i=N[n+232>>2];L[f+142|0]=i;j=N[n+260>>2];if((j|0)>0){k=i&-256;i=i&255;q=i+j|0;j=UE(i,0,j,0);i=Pa;j=j+127|0;i=j>>>0<127?i+1|0:i;i=q-WE(j,i,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|k}N[f+132>>2]=i;i=N[n+236>>2];L[f+143|0]=i;j=N[n+260>>2];if((j|0)>0){q=i&-256;i=i&255;l=i+j|0;i=UE(i,0,j,0);k=Pa;i=i+127|0;k=i>>>0<127?k+1|0:k;i=l-WE(i,k,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|q}N[f+136>>2]=i;N[f+160>>2]=N[n+460>>2];N[f+164>>2]=N[n+464>>2];N[f+168>>2]=N[n+468>>2];L[f+172|0]=O[n+472|0];w=S[n+80>>3]*S[n+544>>3];s=V(w);S[f+24>>3]=s;N[f+184>>2]=L[n+259|0];S[f+192>>3]=S[n+264>>3];S[f+200>>3]=S[n+272>>3];S[f+208>>3]=S[n+280>>3];r=S[n+176>>3];S[f+256>>3]=r;J=S[n+184>>3];S[f+264>>3]=J;N[f+280>>2]=N[n+220>>2];S[f+288>>3]=S[n+200>>3];S[f+296>>3]=S[n+208>>3];E=S[n+192>>3];S[f+304>>3]=E;N[f+320>>2]=N[n+504>>2];N[f+316>>2]=N[n+508>>2];i=N[n+92>>2];N[f+324>>2]=i;if(!(!N[N[u>>2]+16>>2]|o>>>0<753)){N[f+324>>2]=i|4}S[f+216>>3]=S[n+104>>3];S[f+224>>3]=S[n+112>>3];S[f+232>>3]=S[n+120>>3];S[f+240>>3]=S[n+128>>3];S[f+248>>3]=S[n+136>>3];i=N[n+260>>2];N[f+312>>2]=0;N[f+328>>2]=i;N[f+272>>2]=0;N[f+276>>2]=1072693248;M:{if(g){break M}E=XE(r*(E*S[n+536>>3]/S[p+184>>3])*64);N:{if(V(E)<2147483648){g=~~E;break N}g=-2147483648}N[f+312>>2]=g;O:{if(!N[p+88>>2]){R=256;break O}R=s*J;if(R==0){break M}}if(w==0){break M}s=s/R;S[f+272>>3]=1/s;S[f+256>>3]=r*s;S[f+264>>3]=J*s;S[f+24>>3]=R}N[m+12>>2]=N[m+12>>2]+1;L[n+465|0]=0;L[n+466|0]=0;L[n+467|0]=0;L[n+468|0]=0;L[n+469|0]=0;L[n+470|0]=0;L[n+471|0]=0;L[n+472|0]=0;N[n+460>>2]=0;N[n+464>>2]=0;g=h;continue}break}i=1;j=N[$>>2];L[j+121|0]=1;if((k|0)>=2){q=N[j+160>>2];while(1){f=j+T(i,360)|0;m=N[f+160>>2];g=1;P:{if(N[f+164>>2]){break P}if(m){g=1;if((m|0)!=(q|0)){break P}}g=1;if(N[f+32>>2]){break P}h=j+T(i-1|0,360)|0;g=1;if(N[h+32>>2]){break P}p=N[h+8>>2];u=N[p+4>>2];o=N[f+8>>2];g=1;if((u|0)!=N[o+4>>2]){break P}g=1;if(Mb(N[p>>2],N[o>>2],u)){break P}g=1;if(N[p+16>>2]!=N[o+16>>2]){break P}g=1;if(S[h+24>>3]!=S[f+24>>3]){break P}g=1;if(N[h+124>>2]!=N[f+124>>2]){break P}g=1;if(N[h+128>>2]!=N[f+128>>2]){break P}g=1;if(N[h+132>>2]!=N[f+132>>2]){break P}g=1;if(N[h+136>>2]!=N[f+136>>2]){break P}g=1;if(N[h+184>>2]!=N[f+184>>2]){break P}g=1;if(S[h+192>>3]!=S[f+192>>3]){break P}g=1;if(S[h+200>>3]!=S[f+200>>3]){break P}g=1;if(S[h+208>>3]!=S[f+208>>3]){break P}g=1;if(S[h+216>>3]!=S[f+216>>3]){break P}g=1;if(S[h+224>>3]!=S[f+224>>3]){break P}g=1;if(S[h+232>>3]!=S[f+232>>3]){break P}g=1;if(S[h+240>>3]!=S[f+240>>3]){break P}g=1;if(S[h+248>>3]!=S[f+248>>3]){break P}g=1;if(S[h+256>>3]!=S[f+256>>3]){break P}g=1;if(S[h+264>>3]!=S[f+264>>3]){break P}g=1;if(N[h+280>>2]!=N[f+280>>2]){break P}g=1;if(S[h+288>>3]!=S[f+288>>3]){break P}g=1;if(S[h+296>>3]!=S[f+296>>3]){break P}g=1;if(S[h+304>>3]!=S[f+304>>3]){break P}g=1;if(N[h+316>>2]!=N[f+316>>2]){break P}g=1;if(N[h+320>>2]!=N[f+320>>2]){break P}g=((N[f+324>>2]^N[h+324>>2])&-5)!=0}L[f+121|0]=g;q=m?m:q;i=i+1|0;if((k|0)!=(i|0)){continue}break}}m=N[n+8>>2];f=N[n+520>>2]==-1;N[m+32>>2]=f?64:272;if(O[m+57|0]!=2){L[m+57|0]=f}f=1517976186;i=0;o=Ic();q=0;while(1){g=f;p=j+T(i,360)|0;f=Qa[N[o+32>>2]](o,N[p>>2],N[o+64>>2])|0;N[p+20>>2]=f;Q:{if(!((f|0)!=1517910393&(f|0)!=1516858984)){f=1517976186;h=1;if((g|0)==1517976186){break Q}N[p+20>>2]=g;f=g}h=q}q=h;i=i+1|0;if((k|0)!=(i|0)){continue}break}i=k-1|0;f=0;R:{if(!q|(i|0)<0){break R}S:{if(!i){g=1517976186;i=0;break S}o=k&1;p=k&-2;q=0;g=1517976186;while(1){h=j+T(i,360)|0;f=N[h+20>>2];T:{if((f|0)!=1517910393&(f|0)!=1516858984){break T}f=1517976186;if((g|0)==1517976186){break T}N[h+20>>2]=g;f=g}h=h-340|0;g=N[h>>2];U:{if((g|0)!=1517910393&(g|0)!=1516858984){break U}g=1517976186;if((f|0)==1517976186){break U}N[h>>2]=f;g=f}i=i-2|0;q=q+2|0;if((p|0)!=(q|0)){continue}break}f=0;if(!o){break R}}f=j+T(i,360)|0;h=N[f+20>>2];if(!((h|0)!=1517910393&(h|0)!=1516858984|(g|0)==1517976186)){N[f+20>>2]=g}f=0}while(1){V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{g=N[j+T(f,360)>>2];h=g>>>8|0;switch(h|0){case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break Z;case 32:break ba;case 24:break ca;case 23:break da;case 6:break ea;case 3:break fa;case 0:break ga;default:break ha}}switch(h-254|0){case 1:break $;case 0:break aa;default:break _}}if((g|0)==173){break W}break V}if((g|0)==847){break W}break V}if((g|0)==1564){break W}break V}if((g&-2)==6068){break W}break V}if(g-6155>>>0<4){break W}break V}switch(g-8203|0){case 0:case 1:case 2:case 3:case 4:case 31:case 32:case 33:case 34:case 35:break W;default:break Y}}if((g|0)==65279|(g&-16)==65024){break W}break V}if(g-65520>>>0<9){break W}break V}if((h|0)==465){break X}}if((g&-4096)==917504){break W}break V}if((g&-16)!=8288){break V}break W}if(g-119155>>>0>=8){break V}}L[(j+T(f,360)|0)+4|0]=1}f=f+1|0;if((k|0)!=(f|0)){continue}break}if(!(N[j+32>>2]|O[j+4|0])){vo(N[W+8>>2],N[j+8>>2],N[j>>2],j+12|0,j+16|0)}i=0;N[j+332>>2]=0;g=1;if((k|0)!=1){while(1){f=j+T(g,360)|0;if(!(N[f+32>>2]|O[f+4|0])){vo(N[W+8>>2],N[f+8>>2],N[f>>2],f+12|0,f+16|0)}ia:{ja:{ka:{if(N[f-352>>2]!=N[f+8>>2]){break ka}h=O[f+4|0];if(!h&N[f-348>>2]!=N[f+12>>2]|N[f-340>>2]!=N[f+20>>2]|(O[f+121|0]|!O[m+57|0]&S[f+304>>3]!=0)){break ka}if(N[f-36>>2]==N[f+324>>2]){break ja}}i=i+1|0;break ia}if(!h){break ia}N[f+12>>2]=N[f-348>>2]}N[f+332>>2]=i;g=g+1|0;if((k|0)!=(g|0)){continue}break}}i=0;o=0;G=0;D=0;aa=0;y=La-9040|0;La=y;Z=N[$>>2];H=N[n+8>>2];g=N[$+4>>2];N[H+12>>2]=g;la:{ma:{h=N[$+12>>2];na:{if(h>>>0>Q[H+4>>2]){N[147316]=0;f=N[H+16>>2];oa:{if(h>>>0<=1073741823){g=h<<2;g=$a(f,g>>>0<=1?1:g);if(g){break oa}}N[147316]=48;N[H+16>>2]=f;break na}N[147316]=0;N[H+16>>2]=g;if(O[H+56|0]){N[147316]=0;f=N[H+52>>2];g=h<<2;g=$a(f,g>>>0<=1?1:g);if(!g){N[147316]=48;N[H+52>>2]=f;break na}N[147316]=0;N[H+52>>2]=g}N[147316]=0;g=N[H+20>>2];f=$a(g,h>>>0<=1?1:h);N[147316]=f?0:48;N[H+20>>2]=f?f:g;if(!f){break na}N[147316]=0;f=N[H+24>>2];g=h<<2;g=$a(f,g>>>0<=1?1:g);if(!g){N[147316]=48;N[H+24>>2]=f;break na}N[147316]=0;N[H+4>>2]=h;N[H+24>>2]=g;h=N[$+12>>2];g=N[H+12>>2]}p=1;if((h|0)>0){f=0;while(1){N[(f<<2)+g>>2]=N[Z+T(f,360)>>2];f=f+1|0;h=N[$+12>>2];if((f|0)<(h|0)){continue}break}}pa:{if(!h){break pa}f=N[H+16>>2];while(1){j=N[g>>2];if(j>>>0<=1114111){j=O[(P[(j>>>7&33554430)+386528>>1]+(j&255)|0)+358112|0]}else{j=0}N[f>>2]=N[(j<<2)+358016>>2];g=g+4|0;f=f+4|0;h=h-1|0;if(h){continue}break}f=N[$+12>>2];if((f|0)<2){break pa}h=f-1|0;j=h&3;g=N[H+16>>2];if(f-2>>>0<3){f=0}else{k=h&-4;m=f-5&-4;h=0;while(1){f=h<<2;p=((((N[f+g>>2]==2107456)+p|0)+(N[g+(f|4)>>2]==2107456)|0)+(N[g+(f|8)>>2]==2107456)|0)+(N[g+(f|12)>>2]==2107456)|0;h=h+4|0;if((k|0)!=(h|0)){continue}break}f=m+4|0}if(!j){break pa}while(1){p=(N[g+(f<<2)>>2]==2107456)+p|0;f=f+1|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}if(!(!O[H+57|0]|Q[H+8>>2]>=p>>>0)){N[147316]=0;f=N[H+28>>2];qa:{if(p>>>0<=1073741823){g=p<<2;g=$a(f,g>>>0<=1?1:g);if(g){break qa}}N[147316]=48;N[H+28>>2]=f;break na}N[147316]=0;N[H+8>>2]=p;N[H+28>>2]=g}ra:{sa:{ta:{if(O[H+56|0]){k=N[$+12>>2];if((k|0)<=0){break ta}i=N[H+12>>2];g=N[H+16>>2];f=N[H+52>>2];while(1){h=0;ua:{if(N[g>>2]!=64){break ua}j=N[i>>2];if(j>>>0>65535){break ua}m=O[(P[(j>>>6&67108862)+395232>>1]+(j&127)|0)+398304|0];if(!m){break ua}h=j+N[(P[(j>>>5&134217726)+396256>>1]+(j&63)<<2)+400096>>2]|0;if(m&2){h=h|-2147483648;break ua}h=h&2147483647}N[f>>2]=h;i=i+4|0;g=g+4|0;f=f+4|0;o=o+1|0;if((o|0)!=(k|0)){continue}break}}k=N[$+12>>2];if((k|0)<=0){break ta}Na=y+1472|0;Oa=y+1408|0;Ra=y+1344|0;Sa=y+1280|0;Ta=y+1216|0;Ua=y+1152|0;Va=y+1088|0;Wa=y+1024|0;Xa=y+960|0;Ya=y+896|0;Za=y+832|0;ab=y+768|0;cb=y+704|0;eb=y+640|0;fb=y+576|0;hb=y+8528|4;Ca=N[H+28>>2];while(1){va:{wa:{if((k-1|0)==(D|0)|N[N[H+16>>2]+(D<<2)>>2]==2107456){break wa}f=D+1|0;if(O[H+57|0]){D=f;break va}if(O[(Z+T(f,360)|0)+121|0]|S[(Z+T(D,360)|0)+304>>3]!=0){break wa}D=f;break va}j=O[H+56|0]?N[H+52>>2]+(aa<<2)|0:0;K=N[H+32>>2];xa:{D=D+1|0;if((aa|0)==(D|0)){break xa}ib=N[H+20>>2];f=N[H+16>>2];g=kb(36);if(!g){G=0;break na}M[g+20>>1]=255;N[g+28>>2]=0;N[g+32>>2]=0;N[g+16>>2]=128;N[g+8>>2]=-1;N[g+12>>2]=-1;N[g+4>>2]=g;ha=D-aa|0;if((ha|0)<=0){h=g;break sa}Da=f+(aa<<2)|0;f=0;h=g;o=0;i=0;ya:{if(!j){while(1){i=N[(o<<2)+Da>>2];if(!((i|0)==N[h+16>>2]&!(N[h+24>>2]|i&32768))){f=kb(36);if(!f){break sa}N[f+8>>2]=0;N[f+12>>2]=0;M[f+20>>1]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=i;N[f+8>>2]=o;N[h+4>>2]=f;N[h+12>>2]=o-N[h+8>>2];N[f+24>>2]=0;N[f>>2]=h;h=f}o=o+1|0;if((ha|0)!=(o|0)){continue}break ya}}while(1){m=i<<2;k=N[m+j>>2];m=N[m+Da>>2];if(k|(m|0)!=N[h+16>>2]|(N[h+24>>2]|m&32768)){f=kb(36);if(!f){break sa}N[f+8>>2]=0;N[f+12>>2]=0;M[f+20>>1]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=m;N[f+8>>2]=i;N[h+4>>2]=f;N[h+12>>2]=i-N[h+8>>2];N[f+24>>2]=k;N[f>>2]=h;h=f}i=i+1|0;if((ha|0)!=(i|0)){continue}break}}N[h+4>>2]=g;N[h+12>>2]=ha-N[h+8>>2];N[g>>2]=h;i=h+4|0;if(!f){break ra}o=0;i=g;za:{if(K&16){f=K;break za}while(1){i=N[i+4>>2];f=N[i+16>>2];if((f|0)==128){f=K;break za}if((f|0)==32864){o=o-((o|0)>0)|0;continue}if(f&32768){o=o+1|0;continue}if(o){continue}o=0;if(!(f&256)){continue}break}K=f&1|272}C(y+8528|0,0,508);Aa:{l=kb(36);if(l){ca=f&1;Ea=ca?273:272;M[l+20>>1]=255;N[l+28>>2]=0;N[l+32>>2]=0;N[l+16>>2]=128;N[l+8>>2]=-1;N[l+12>>2]=-1;N[l+4>>2]=l;N[l>>2]=l;m=N[g+4>>2];h=N[m+16>>2];Ba:{if((h|0)==128){break Ba}I=m+16|0;p=64;q=0;u=l;i=ca;j=0;f=0;o=0;pa=0;G=0;while(1){Ca:{L[m+21|0]=j;Da:{if(h&1052672){Ea:{if(h&16){k=N[m+12>>2];if(!k){break Ea}I=h&1;h=h&16384?I|272:64;Y=!G;while(1){q=((i+I&254)-I|0)+2|0;Fa:{if(!(o|G|q<<24>2113929215)){o=(y+512|0)+(f<<4)|0;N[o+12>>2]=j;L[o+4|0]=i;N[o+8>>2]=0;N[o>>2]=p;f=f+1|0;p=h;i=q;o=0;break Fa}o=o+Y|0}k=k-1|0;if(k){continue}break}break Ea}if((h|0)!=4128){break Ea}k=N[m+12>>2];if(!k){break Ea}while(1){Ga:{if(!f){f=0;break Ga}h=f-1|0;I=(y+512|0)+(h<<4)|0;if(N[I+8>>2]){break Ea}if((o|0)>0){o=o-1|0;break Ga}j=N[I+12>>2];p=N[I>>2];i=O[I+4|0];f=h}k=k-1|0;if(k){continue}break}}L[m+20|0]=255;k=N[m+4>>2];N[y+4>>2]=k;h=N[m>>2];if(h){N[h+4>>2]=k;N[N[m+4>>2]>>2]=h;u=N[l>>2]}N[m>>2]=u;N[N[l>>2]+4>>2]=m;N[m+4>>2]=l;N[l>>2]=m;u=m;m=y;break Da}Ha:{if((h|0)==32864){Y=N[m+12>>2];if(!Y){break Ha}while(1){Ia:{if((G|0)>0){L[m+20|0]=i;G=G-1|0;break Ia}if((pa|0)>0){k=0;Ja:{if(!f){break Ja}Ka:{while(1){k=f-1|0;h=(y+512|0)+(k<<4)|0;if(N[h+8>>2]){break Ka}La:{if((o|0)>0){o=o-1|0;break La}j=N[h+12>>2];p=N[h>>2];i=O[h+4|0];f=k}if(f){continue}break}k=0;break Ja}j=N[h+12>>2];p=N[h>>2];i=O[h+4|0]}L[m+20|0]=i;j=j-((j|0)>0)|0;L[m+21|0]=j;pa=pa-1|0;o=0;f=k;break Ia}N[I>>2]=64;L[m+20|0]=i}Y=Y-1|0;if(Y){continue}break}break Ha}Ma:{Na:{Oa:{Pa:{if(h&32768){Qa:{switch(h-32832|0){case 0:break Oa;case 1:break Pa;default:break Qa}}if((h|0)!=33587264){break Ma}q=0;k=m;while(1){k=N[k+4>>2];h=N[k+16>>2];if((h|0)==128){break Na}if((h|0)==32864){q=q-1|0;if((pa|0)>=0){continue}break Na}if(h&32768){q=q+1|0;continue}if(q){continue}q=0;if(!(h&256)){continue}break}if(!(h&1)){break Na}q=(((i<<24>>24)%2|0)+i|0)+1|0;break Ma}if((h|0)==2107456){break Ca}L[m+20|0]=i;if(p&64){break Ha}N[I>>2]=p;break Ha}q=(((i<<24>>24)%2|0)+i|0)+1|0;break Ma}q=(i-((i<<24>>24)%2|0)|0)+2|0;break Ma}q=(i-((i<<24>>24)%2|0)|0)+2|0}L[m+20|0]=i;if(!(p&64)){N[I>>2]=p}j=((j|0)<124)+j|0;if(q<<24>>24<=125){pa=pa+1|0;if(!(o|G)){h=(y+512|0)+(f<<4)|0;N[h+12>>2]=j;L[h+4|0]=i;N[h+8>>2]=1;N[h>>2]=p;f=f+1|0;p=64;G=0;o=0;i=q;break Ha}o=!G+o|0;i=q;break Ha}G=G+1|0}}m=N[m+4>>2];I=m+16|0;h=N[m+16>>2];if((h|0)!=128){continue}}break}i=0;m=N[g+4>>2];f=m;if(N[f+16>>2]==128){break Ba}while(1){h=L[f+21|0];if((h|0)<(i|0)){C((h<<2)+hb|0,0,i-h<<2)}j=(y+8528|0)+(h<<2)|0;i=N[j>>2];if(i){N[i+32>>2]=f;N[f+28>>2]=i}N[j>>2]=f;i=h;f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}Ci(m);N[y+512>>2]=Ea;q=0;o=N[g+4>>2];G=N[o+16>>2];Ra:{if((G|0)==128){break Ra}Y=o+16|0;while(1){h=588912;f=588912;k=N[o+28>>2];Sa:{if(!k){break Sa}f=k;if(N[f+16>>2]==128){break Sa}i=L[o+21|0];while(1){if((i|0)>=L[f+21|0]){break Sa}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}j=N[o+32>>2];Ta:{if(!j){break Ta}h=j;i=N[h+16>>2];if((i|0)==128){break Ta}m=L[o+21|0];while(1){if((i|0)!=32864&(m|0)>=L[h+21|0]){break Ta}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}p=L[o+21|0];i=O[f+20|0];m=O[o+20|0];u=(i|0)!=(m|0);if(u){i=i<<24>>24;I=m<<24>>24;i=((i|0)>(I|0)?i:I)&1?273:272}else{i=N[f+16>>2]}I=O[h+20|0];if((I|0)==(m|0)){m=N[h+16>>2]}else{I=I<<24>>24;m=m<<24>>24;m=((m|0)<(I|0)?I:m)&1?273:272}if(i&16){N[(y+512|0)+(p<<2)>>2]=i}I=(q|0)>(p|0);Ua:{Va:{if((G|0)!=544){if((G|0)!=524320){break Va}G=N[o>>2];if(O[G+17|0]&128){N[Y>>2]=64}Wa:{Xa:{if(!u){if((f|0)!=(G|0)){break Xa}u=N[o+4>>2];N[f+4>>2]=u;N[u>>2]=f;N[f+12>>2]=N[f+12>>2]+N[o+12>>2];Ya:{if(j){u=j+28|0}else{u=N[o+4>>2];if(N[u+28>>2]!=(o|0)){break Ya}u=u+28|0}N[u>>2]=k}k=N[o+28>>2];if(k){N[k+32>>2]=j;j=N[o+32>>2]}N[f+32>>2]=j;_a(o);break Wa}N[Y>>2]=i}f=o}if((i|0)!=(m|0)){break Ua}i=N[f+4>>2];if((i|0)!=(h|0)|O[f+20|0]!=O[i+20|0]){break Ua}f=N[h>>2];i=N[h+4>>2];N[f+4>>2]=i;N[i>>2]=f;N[f+12>>2]=N[f+12>>2]+N[h+12>>2];i=N[h+32>>2];Za:{if(i){N[i+28>>2]=N[h+28>>2];break Za}j=N[h+4>>2];if(N[j+28>>2]!=(h|0)){break Za}N[j+28>>2]=N[h+28>>2]}j=N[h+28>>2];if(j){N[j+32>>2]=i;i=N[h+32>>2]}N[f+32>>2]=i;_a(h);break Ua}if(N[(y+512|0)+(p<<2)>>2]!=275){break Va}N[Y>>2]=546;if((m|0)!=524320){break Va}N[h+16>>2]=546}f=o}q=I?q:p;o=N[f+4>>2];Y=o+16|0;G=N[o+16>>2];if((G|0)!=128){continue}break}o=N[g+4>>2];k=N[o+16>>2];N[y+512>>2]=Ea;if((k|0)==128){break Ra}G=o+16|0;m=64;Y=1;j=o;while(1){p=L[j+21|0];h=588912;f=588912;i=N[j+28>>2];_a:{if(!i){break _a}f=i;if(N[f+16>>2]==128){break _a}while(1){if((p|0)>=L[f+21|0]){break _a}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}i=N[j+32>>2];$a:{if(!i){break $a}h=i;i=N[h+16>>2];if((i|0)==128){break $a}while(1){if((i|0)!=32864&(p|0)>=L[h+21|0]){break $a}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}u=O[f+20|0];i=O[j+20|0];if((u|0)==(i|0)){f=N[f+16>>2]}else{f=u<<24>>24;u=i<<24>>24;f=((f|0)>(u|0)?f:u)&1?273:272}u=O[h+20|0];if((u|0)==(i|0)){h=N[h+16>>2]}else{h=u<<24>>24;u=i<<24>>24;h=((h|0)>(u|0)?h:u)&1?273:272}if(f&16){N[(y+512|0)+(p<<2)>>2]=f}ab:{if((k|0)==275){N[G>>2]=273;j=N[j+4>>2];Y=1;m=64;break ab}bb:{if(!Y|!(k&327680)|(!(m&512)|N[j+12>>2]!=1)){break bb}if((m|0)!=544&(k|0)!=263200|(h|0)!=(m|0)){break bb}N[G>>2]=f;k=f}cb:{db:{eb:{fb:{if((k|0)==132128){if((m|0)!=544&(h|0)!=544){break fb}N[G>>2]=544;Y=0;break db}if(!(k&1024)){break eb}}N[G>>2]=64;Y=1;break cb}Y=1;if((k|0)!=544){break cb}}if(N[(y+512|0)+(p<<2)>>2]!=272){break cb}N[G>>2]=272;j=N[j+4>>2];m=(i|0)==O[j+20|0]?544:64;break ab}j=N[j+4>>2];f=N[j>>2];h=O[f+20|0];i=O[j+20|0];if((h|0)==(i|0)){m=N[f+16>>2];break ab}f=h<<24>>24;h=i<<24>>24;m=((f|0)>(h|0)?f:h)&1?273:272}G=j+16|0;k=N[j+16>>2];if((k|0)!=128){continue}break}}Jo(o);N[y+8524>>2]=0;k=L[g+20|0];f=(q<<2)+4|0;C(y+8528|0,0,f);C(y,0,f);N[y+8588>>2]=Na;N[y+8584>>2]=Oa;N[y+8580>>2]=Ra;N[y+8576>>2]=Sa;N[y+8572>>2]=Ta;N[y+8568>>2]=Ua;N[y+8564>>2]=Va;N[y+8560>>2]=Wa;N[y+8556>>2]=Xa;N[y+8552>>2]=Ya;N[y+8548>>2]=Za;N[y+8544>>2]=ab;N[y+8540>>2]=cb;N[y+8536>>2]=eb;N[y+8532>>2]=fb;N[y+8528>>2]=y+512;f=16;if((q|0)>15){while(1){lb=(y+8528|0)+(f<<2)|0,nb=kb(252),N[lb>>2]=nb;h=(f|0)==(q|0);f=f+1|0;if(!h){continue}break}}j=0;m=0;o=N[g+4>>2];h=N[o+16>>2];gb:{if((h|0)==128){break gb}while(1){f=j;i=k;k=L[o+20|0];j=L[o+21|0];if(!((i|0)==(k|0)|(f|0)!=(j|0))){N[y+(f<<2)>>2]=0}hb:{if((h|0)!=64){break hb}h=N[o+24>>2];if(!h){break hb}i=j<<2;p=i+y|0;f=N[p>>2];if((h|0)<0){if((f|0)==63){break gb}h=N[i+(y+8528|0)>>2];N[p>>2]=f+1;N[h+(f<<2)>>2]=o;break hb}i=i+(y+8528|0)|0;while(1){if((f|0)<=0){break hb}f=f-1|0;u=N[N[i>>2]+(f<<2)>>2];if((h^N[u+24>>2])&2147483647){continue}break}N[p>>2]=f;f=kb(12);N[f+8>>2]=m;N[f+4>>2]=o;N[f>>2]=u;m=f}o=N[o+4>>2];h=N[o+16>>2];if((h|0)!=128){continue}break}}N[y+8524>>2]=m;Bi(y+8524|0);m=N[y+8524>>2];G=m;if(m){while(1){k=N[G>>2];j=L[k+20|0];ib:{jb:{f=k;o=N[G+4>>2];u=(f|0)==(o|0);if(!u){while(1){h=273;kb:{lb:{mb:{i=N[f+16>>2];switch(i-544|0){case 0:case 2:break kb;case 1:break lb;default:break mb}}if((i|0)==273){break kb}}h=i}if(h&16){i=h;h=L[f+20|0];if((((i^h)&1)+h|0)==(j|0)){break jb}}f=N[f+4>>2];if((o|0)!=(f|0)){continue}break}}p=O[k+21|0];f=k;nb:{while(1){i=273;ob:{pb:{qb:{f=N[f>>2];h=N[f+16>>2];switch(h-544|0){case 0:case 2:break ob;case 1:break pb;default:break qb}}if((h|0)==273){break ob}if((h|0)==128){break nb}}i=h;if(!(h&16)){continue}}if((p|0)!=O[f+21|0]){continue}break}f=O[f+20|0];j=((f^i)&1)+f|0}f=k;if(u){break ib}while(1){rb:{sb:{tb:{ub:{h=N[f+16>>2];switch(h-544|0){case 0:case 2:break sb;case 1:break tb;default:break ub}}if((h|0)==273){break sb}}if(!(h&16)){break rb}}if((p|0)==O[f+21|0]){break jb}}f=N[f+4>>2];if((o|0)!=(f|0)){continue}break}break ib}f=j&1|272;N[o+16>>2]=f;N[k+16>>2]=f}G=N[G+8>>2];if(G){continue}break}while(1){f=N[m+8>>2];_a(m);m=f;if(f){continue}break}}f=16;if((q|0)>=16){while(1){_a(N[(y+8528|0)+(f<<2)>>2]);h=(f|0)!=(q|0);f=f+1|0;if(h){continue}break}}h=N[g+4>>2];f=h;if(N[f+16>>2]!=128){while(1){N[f+24>>2]=0;f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}Jo(h);m=N[g+4>>2];k=N[m+16>>2];if((k|0)!=128){q=m+16|0;o=m;while(1){h=588912;f=588912;i=N[o+28>>2];vb:{if(!i){break vb}if(N[i+16>>2]==128){f=i;break vb}j=L[o+21|0];f=i;while(1){if((j|0)>=L[f+21|0]){break vb}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}j=N[o+32>>2];wb:{if(!j){break wb}i=N[j+16>>2];if((i|0)==128){h=j;break wb}p=L[o+21|0];h=j;while(1){if((i|0)!=32864&(p|0)>=L[h+21|0]){break wb}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}j=O[f+20|0];i=O[o+20|0];xb:{if((j|0)==(i|0)){f=N[f+16>>2];f=f&512?273:f;break xb}f=j<<24>>24;j=i<<24>>24;f=((f|0)>(j|0)?f:j)&1?273:272}j=O[h+20|0];yb:{if((j|0)==(i|0)){h=N[h+16>>2];h=h&512?273:h;break yb}h=j<<24>>24;j=i<<24>>24;h=((h|0)>(j|0)?h:j)&1?273:272}if((k&576)==64){N[q>>2]=(f|0)==(h|0)?f:i&1?273:272}o=N[o+4>>2];q=o+16|0;k=N[o+16>>2];if((k|0)!=128){continue}break}}Ci(m);j=N[g+4>>2];f=j;h=N[f+16>>2];if((h|0)!=128){while(1){i=O[f+20|0];L[f+20|0]=h&512?(i&-2)+2|0:i+((h^i)&1)|0;f=N[f+4>>2];h=N[f+16>>2];if((h|0)!=128){continue}break}}Ci(j);zb:{Ab:{if(N[l+4>>2]==(l|0)){break Ab}if(!Ko(g,l,1)){break zb}f=N[g+4>>2];if(!((g|0)==(f|0)|O[f+20|0]!=255)){L[f+20|0]=ca}l=0;if(N[f+16>>2]==128){break Ab}while(1){if(O[f+20|0]==255){L[f+20|0]=O[N[f>>2]+20|0]}f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}o=1;p=kb(36);if(!p){break Aa}M[p+20>>1]=255;N[p+28>>2]=0;N[p+32>>2]=0;N[p+16>>2]=128;N[p+8>>2]=-1;N[p+12>>2]=-1;N[p+4>>2]=p;N[p>>2]=p;if((ha|0)>=0){i=1;j=p;k=ha-1|0;h=k;while(1){m=h;f=(h|0)<0?64:N[(h<<2)+Da>>2];Bb:{if(!i){i=!i&(f&8192)>>>13;k=i?m:k;break Bb}i=1;if(f&9482240){break Bb}f=kb(36);if(!f){N[N[p>>2]+4>>2]=0;while(1){f=N[p+4>>2];_a(p);p=f;if(f){continue}break}break Aa}i=0;L[f+21|0]=0;N[f+28>>2]=0;N[f+32>>2]=0;L[f+20|0]=ca;N[f+16>>2]=Ea;N[f>>2]=0;N[f+4>>2]=0;N[f+12>>2]=k-m;N[f+8>>2]=m+1;N[f>>2]=N[j>>2];N[N[j>>2]+4>>2]=f;N[f+4>>2]=j;N[j>>2]=f;j=f}h=m-1|0;if((m|0)>=0){continue}break}}if(!Ko(g,p,0)){break Aa}o=0;f=N[g+4>>2];if(N[f+16>>2]==128){break Aa}i=aa+ib|0;while(1){h=N[f+12>>2];if(h){C(i+o|0,O[f+20|0],h);o=h+o|0}f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}o=0;break Aa}h=N[g>>2]}G=0;N[h+4>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}break na}N[N[g>>2]+4>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}if(l){N[N[l>>2]+4>>2]=0;while(1){f=N[l+4>>2];_a(l);l=f;if(f){continue}break}if(!o){break xa}G=0;break na}if(!o){break xa}G=0;break na}if(O[H+57|0]){N[Ca>>2]=K;Ca=Ca+4|0}aa=D}k=N[$+12>>2];if((D|0)<(k|0)){continue}break}}if(!N[H>>2]){G=1;o=db(1,k);if(k){g=o;K=N[H+12>>2];f=K;p=k;if(k&1){f=N[K>>2];if(f>>>0<=1048575){f=O[(P[(f>>>7&33554430)+404704>>1]+(f&255)|0)+412896|0]}else{f=0}L[o|0]=f;p=k-1|0;g=o+1|0;f=K+4|0}if((k|0)!=1){while(1){h=N[f>>2];if(h>>>0<=1048575){h=O[(P[(h>>>7&33554430)+404704>>1]+(h&255)|0)+412896|0]}else{h=0}L[g|0]=h;h=N[f+4>>2];if(h>>>0<=1048575){h=O[(P[(h>>>7&33554430)+404704>>1]+(h&255)|0)+412896|0]}else{h=0}L[g+1|0]=h;f=f+8|0;g=g+2|0;p=p-2|0;if(p){continue}break}}aa=N[H+20>>2];Cb:{if((k|0)<=0){break Cb}Y=N[H+16>>2];u=0;q=255;g=0;j=0;h=0;i=0;while(1){ca=g+o|0;f=O[ca|0];I=f&24;Db:{if((I|0)==16){break Db}p=255;p=N[Y+(g<<2)>>2]&1052672?p:O[g+aa|0];D=f&4;l=0;m=0;Eb:{Fb:{Gb:{if(j){j=p&255;if((j|0)==255){break Gb}ha=q&255;if((ha|0)==255){break Gb}m=1;if((j|0)==(ha|0)){break Gb}}if(!D|I){break Fb}L[ca|0]=f&(p&1?-2:-3);break Fb}j=1;if(I){break Eb}l=1;m=1;I=p&1?1:2;if(!(I&f)){break Fb}f=u+1|0;if((g|0)<=(f|0)){break Eb}m=0;l=(u^-1)+g&3;if(l){while(1){ha=f+o|0;L[ha|0]=I|(O[ha|0]|h);f=f+1|0;m=m+1|0;if((l|0)!=(m|0)){continue}break}}if((g-2|0)-u>>>0<3){break Eb}while(1){m=f+o|0;L[m|0]=I|(O[m|0]|h);L[m+1|0]=I|(O[m+1|0]|h);L[m+2|0]=I|(O[m+2|0]|h);L[m+3|0]=I|(O[m+3|0]|h);f=f+4|0;if((g|0)!=(f|0)){continue}break}break Eb}if(!(!m|!i)){f=o+u|0;L[f|0]=O[f|0]&(h^-1)}j=l}f=O[ca|0];if(f&24){break Db}h=p&1?2:1;j=(f&h)!=0;i=D;q=p;u=g}g=g+1|0;if((k|0)!=(g|0)){continue}break}if(!j|!i){break Cb}f=o+u|0;L[f|0]=O[f|0]&(h^-1)}f=0;Hb:{if(!K){break Hb}Ib:{if(!o){break Ib}g=0;if((k|0)<=0){break Hb}while(1){h=O[g+o|0];if(h&4){i=K+(g<<2)|0;j=i;i=N[i>>2];N[j>>2]=N[(i-1748>>>0<4294967117?j:(i<<4|(h&3)<<2)+406576|0)>>2]}g=g+1|0;if((k|0)!=(g|0)){continue}break}if((k|0)<2){break Ib}u=k-2|0;I=0;while(1){i=I;I=i+1|0;g=O[i+aa|0];Jb:{if(!(g&1)|(g|0)!=O[I+aa|0]){break Jb}l=K+(i<<2)|0;j=N[l>>2];if(j-65249>>>0<4294967294){break Jb}D=K+(I<<2)|0;m=N[D>>2];g=7;h=0;while(1){Kb:{Lb:{Mb:{Nb:{p=h+g>>>1|0;q=T(p,12);ca=N[q+431584>>2];Ob:{if((ca|0)!=(j|0)){if(j>>>0>>0){break Ob}break Mb}ca=N[q+431588>>2];if(ca>>>0<=m>>>0){break Nb}}g=p-1|0;break Lb}if(m>>>0<=ca>>>0){break Kb}}h=p+1|0}if((h|0)<=(g|0)){continue}break Jb}break}g=N[q+431592>>2];if(!g){break Jb}N[l>>2]=65279;h=i+o|0;L[h|0]=O[h|0]|32;N[D>>2]=g}if((i|0)!=(u|0)){continue}break}}if((k|0)<=0){break Hb}g=k;while(1){h=g;g=h-1|0;Pb:{if(!(L[aa+g|0]&1)){break Pb}j=K+(g<<2)|0;i=N[j>>2];if(i>>>0>65535){break Pb}m=M[(P[(i>>>5&134217726)+434544>>1]+(i&63)<<1)+436592>>1];if(!m){break Pb}N[j>>2]=i+m}if(h>>>0>1){continue}break}}while(1){g=Z+T(f,360)|0;h=N[(N[g+8>>2]+(N[g+12>>2]<<2)|0)+68>>2];i=N[H+12>>2]+(f<<2)|0;N[g>>2]=N[i>>2];i=ze(N[h+92>>2],N[i>>2]);N[g+16>>2]=i;if(i){j=N[h+92>>2];if(j){i=Qa[N[N[j+12>>2]+12>>2]](j,i)|0;h=i>>>0>2]?i:0}else{h=0}N[g+16>>2]=h}f=f+1|0;if((k|0)!=(f|0)){continue}break}}_a(o);break na}q=db(1,172);Qb:{if(!q){q=588184;break Qb}N[q+148>>2]=1073741823;N[q+152>>2]=536870911;N[q>>2]=1;N[q+4>>2]=1;f=Ic();Rb:{if(!f){break Rb}g=N[f>>2];if(!g){break Rb}if((g|0)<=0){break ma}N[f>>2]=g+1}L[q+60|0]=1;N[q+24>>2]=65533;N[q+12>>2]=f}N[y+8528>>2]=0;N[y+8532>>2]=0;Sb:{if(k){f=0;g=0;if(k>>>0>=8){h=k&-8;while(1){L[(Z+T(g,360)|0)+4|0]=1;L[(Z+T(g|1,360)|0)+4|0]=1;L[(Z+T(g|2,360)|0)+4|0]=1;L[(Z+T(g|3,360)|0)+4|0]=1;L[(Z+T(g|4,360)|0)+4|0]=1;L[(Z+T(g|5,360)|0)+4|0]=1;L[(Z+T(g|6,360)|0)+4|0]=1;L[(Z+T(g|7,360)|0)+4|0]=1;g=g+8|0;if((h|0)!=(g|0)){continue}break}}h=k&7;if(h){while(1){L[(Z+T(g,360)|0)+4|0]=1;g=g+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}u=k-1|0;f=0;while(1){m=Z+T(f,360)|0;Tb:{if(N[m+32>>2]){L[m+4|0]=0;j=f;break Tb}Ub:{o=N[m+8>>2];i=N[o+108>>2];if(i){break Ub}i=db(120,1);N[o+108>>2]=i;if(i){break Ub}G=0;break na}g=N[m+12>>2];h=g<<2;if(!N[h+i>>2]){p=N[(h+o|0)+68>>2];g=db(1,212);Vb:{if(!g){g=588540;break Vb}N[g+32>>2]=-1;N[g+20>>2]=0;N[g+16>>2]=p;N[g+12>>2]=362;N[g>>2]=1;N[g+4>>2]=1;N[g+48>>2]=g;N[g+36>>2]=g}if(N[g+4>>2]){N[g+24>>2]=N[p+4>>2];N[g+28>>2]=P[p+68>>1]}j=Lp(g);N[(N[m+12>>2]<<2)+i>>2]=j;nj(g);G=0;if(!j){break na}Wb:{if(!N[j+4>>2]){break Wb}g=P[p+68>>1];l=N[p+88>>2];h=N[l+20>>2];D=UE(g,0,h,h>>31);h=Pa;D=D+32768|0;h=((D>>>0<32768?h+1|0:h)&65535)<<16|D>>>16;D=g;g=N[l+16>>2];l=UE(D,0,g,g>>31);g=Pa;l=l+32768|0;g=((l>>>0<32768?g+1|0:g)&65535)<<16|l>>>16;if((g|0)==N[j+28>>2]&(h|0)==N[j+32>>2]){break Wb}N[j+32>>2]=h;N[j+28>>2]=g;N[j+12>>2]=N[j+12>>2]+1;He(j)}h=db(40,1);l=N[m+12>>2];N[(N[o+108>>2]+(l<<2)|0)+80>>2]=h;if(!h){break na}N[h>>2]=N[H+48>>2];N[h+32>>2]=N[N[m+8>>2]+16>>2];g=db(1,92);Xb:{if(!g){g=588448;break Xb}N[g>>2]=1;N[g+4>>2]=1;F(g+20|0,588468,72);l=N[m+12>>2]}N[(N[o+108>>2]+(l<<2)|0)+40>>2]=g;Yb:{if(!N[g+4>>2]){break Yb}l=N[g+16>>2];Zb:{if(!l){break Zb}D=N[l+8>>2];if(!D){break Zb}l=N[g+12>>2];if(l){l=N[l+8>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];_b:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break _b}}N[g+28>>2]=363;N[l+8>>2]=h;l=N[g+16>>2];if(!l){break _b}N[l+8>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];$b:{if(!l){break $b}D=N[l+16>>2];if(!D){break $b}l=N[g+12>>2];if(l){l=N[l+16>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];ac:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break ac}}N[g+36>>2]=364;N[l+16>>2]=h;l=N[g+16>>2];if(!l){break ac}N[l+16>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];bc:{if(!l){break bc}D=N[l+20>>2];if(!D){break bc}l=N[g+12>>2];if(l){l=N[l+20>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];cc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break cc}}N[g+40>>2]=365;N[l+20>>2]=h;l=N[g+16>>2];if(!l){break cc}N[l+20>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];dc:{if(!l){break dc}D=N[l+24>>2];if(!D){break dc}l=N[g+12>>2];if(l){l=N[l+24>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];ec:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break ec}}N[g+44>>2]=366;N[l+24>>2]=h;l=N[g+16>>2];if(!l){break ec}N[l+24>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];fc:{if(!l){break fc}D=N[l+36>>2];if(!D){break fc}l=N[g+12>>2];if(l){l=N[l+36>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];gc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break gc}}N[g+56>>2]=367;N[l+36>>2]=h;l=N[g+16>>2];if(!l){break gc}N[l+36>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];hc:{if(!l){break hc}D=N[l+40>>2];if(!D){break hc}l=N[g+12>>2];if(l){l=N[l+40>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];ic:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break ic}}N[g+60>>2]=368;N[l+40>>2]=h;l=N[g+16>>2];if(!l){break ic}N[l+40>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];jc:{if(!l){break jc}D=N[l+44>>2];if(!D){break jc}l=N[g+12>>2];if(l){l=N[l+44>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];kc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break kc}}N[g- -64>>2]=369;N[l+44>>2]=h;l=N[g+16>>2];if(!l){break kc}N[l+44>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];lc:{if(!l){break lc}D=N[l+48>>2];if(!D){break lc}l=N[g+12>>2];if(l){l=N[l+48>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];mc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break mc}}N[g+68>>2]=370;N[l+48>>2]=h;l=N[g+16>>2];if(!l){break mc}N[l+48>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];nc:{if(!l){break nc}D=N[l+52>>2];if(!D){break nc}l=N[g+12>>2];if(l){l=N[l+52>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];oc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break oc}}N[g+72>>2]=371;N[l+52>>2]=h;l=N[g+16>>2];if(!l){break oc}N[l+52>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];pc:{if(!l){break pc}D=N[l+56>>2];if(!D){break pc}l=N[g+12>>2];if(l){l=N[l+56>>2]}else{l=0}Qa[D|0](l)}G=N[g+12>>2];if(!G){G=db(1,72);N[g+12>>2]=G;if(!G){break Yb}}N[g+76>>2]=372;N[G+56>>2]=h;h=N[g+16>>2];if(!h){break Yb}N[h+56>>2]=0}if(N[j+4>>2]){N[j+12>>2]=N[j+12>>2]+1;h=N[j+104>>2];if(h){Qa[h|0](N[j+100>>2])}h=N[g>>2];if(h){if((h|0)<=0){break ma}N[g>>2]=h+1}oc(N[j+96>>2]);N[j+104>>2]=0;N[j+100>>2]=p;N[j+96>>2]=g}g=N[m+12>>2]}j=o+68|0;h=N[(g<<2)+j>>2];s=S[m+24>>3];N[y+512>>2]=1;N[y+516>>2]=0;N[y+524>>2]=0;N[y+528>>2]=0;s=XE(s*64);qc:{if(V(s)<2147483648){g=~~s;break qc}g=-2147483648}N[y+520>>2]=g;eg(h,y+512|0);g=N[m+12>>2]<<2;h=N[g+i>>2];rc:{if(!N[h+4>>2]){break rc}p=N[g+j>>2];j=N[p+88>>2];l=N[j+20>>2];g=P[p+68>>1];l=UE(l,l>>31,g,0);l=(Pa&65535)<<16|l>>>16;D=g;g=N[j+16>>2];g=UE(D,0,g,g>>31);g=(Pa&65535)<<16|g>>>16;sc:{if(!((g|0)!=N[h+28>>2]|(l|0)!=N[h+32>>2])){Y=P[j+14>>1];g=P[j+12>>1];break sc}N[h+32>>2]=l;N[h+28>>2]=g;N[h+12>>2]=N[h+12>>2]+1;He(h);if(!N[h+4>>2]){break rc}g=N[p+88>>2];Y=P[g+14>>1];g=P[g+12>>1]}if((g|0)==N[h+72>>2]&N[h+76>>2]==(Y|0)){break rc}N[h+76>>2]=Y;N[h+72>>2]=g;N[h+12>>2]=N[h+12>>2]+1}h=N[m+12>>2];j=h<<2;g=N[(j+N[o+108>>2]|0)+80>>2];N[g+8>>2]=N[m+8>>2];N[g+24>>2]=h;S[g+16>>3]=S[m+24>>3];l=N[i+j>>2];if(!l){G=0;break na}h=f>>>0>u>>>0?f:u;i=N[H+20>>2];o=O[i+f|0];p=N[m+332>>2];g=f;while(1){tc:{j=g;if((h|0)==(g|0)){j=h;break tc}g=j+1|0;if((p|0)!=N[(Z+T(g,360)|0)+332>>2]){break tc}if((o|0)==O[g+i|0]){continue}}break}g=(j-f|0)+1|0;if(!(!g|g>>>0>2])){gb(q,g)}uc:{if(O[H+57|0]){wl(q,N[H+12>>2],k,f,g);i=0;break uc}p=0;i=0;vc:{if((f|0)<=0){break vc}i=0;if(O[m+121|0]){break vc}i=(N[m-360>>2]&-2)==8204}wc:{if(j>>>0>=u>>>0){break wc}h=Z+T(j+1|0,360)|0;if(O[h+121|0]){break wc}p=(N[h>>2]&-2)==8204}wl(q,(N[H+12>>2]+(f<<2)|0)-(i<<2)|0,(g+i|0)+p|0,i,g)}h=N[m+20>>2];p=N[H+44>>2];xc:{if(p){break xc}yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{Gc:{Hc:{Ic:{Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{Sc:{Tc:{Uc:{Vc:{Wc:{Xc:{Yc:{Zc:{if((h|0)<=1265134961){if((h|0)<=1165256808){if((h|0)<=1130458738){if((h|0)<=1113943654){g=12238;if((h|0)==1098015074){break zc}if((h|0)!=1098018158){break yc}g=7939;break zc}if((h|0)==1113943655){break Zc}if((h|0)==1114990441){break Ac}if((h|0)!=1114990692){break yc}g=8327;break zc}if((h|0)<=1131376755){if((h|0)==1130458739){break Yc}if((h|0)!=1130915186){break yc}g=11946;break zc}if((h|0)==1131376756){break Xc}if((h|0)==1132032620){break Wc}if((h|0)!=1147500129){break yc}g=13897;break zc}if((h|0)<=1214344806){if((h|0)<=1198679402){if((h|0)==1165256809){break Hc}if((h|0)!=1197830002){break yc}g=18433;break zc}if((h|0)==1198679403){break Vc}if((h|0)==1198877298){break Uc}if((h|0)!=1198879349){break yc}g=18430;break zc}if((h|0)<=1214870112){switch(h-1214344807|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break yc;case 8:break Cc;case 0:break Tc;default:break Sc}}if((h|0)==1214870113){break Rc}if((h|0)!=1264676449){break yc}g=18436;break zc}if((h|0)<=1400468066){if((h|0)<=1299148390){if((h|0)<=1281453934){if((h|0)==1265134962){break Gc}if((h|0)!=1265525857){break yc}g=12840;break zc}if((h|0)==1281453935){break Qc}if((h|0)==1281455214){break Pc}if((h|0)!=1298954605){break yc}g=13207;break zc}if((h|0)<=1332902240){if((h|0)==1299148391){break Oc}if((h|0)==1299803506){break Fc}if((h|0)!=1315663727){break yc}g=12489;break zc}if((h|0)==1332902241){break Nc}if((h|0)==1399418472){break Ec}if((h|0)!=1400466543){break yc}g=13182;break zc}if((h|0)<=1416126816){if((h|0)<=1415671147){if((h|0)==1400468067){break Mc}if((h|0)!=1415669602){break yc}g=8281;break zc}if((h|0)==1415671148){break Lc}if((h|0)==1415933045){break Kc}if((h|0)!=1416064103){break yc}g=13186;break zc}if((h|0)<=1432838513){switch(h-1416126817|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break yc;case 0:break Dc;case 8:break Jc;default:break Ic}}if((h|0)==1432838514){break Bc}if((h|0)!=1483761007){break yc}g=12530;break zc}g=13109;break zc}g=8331;break zc}g=12293;break zc}g=8324;break zc}g=13352;break zc}g=8334;break zc}g=12490;break zc}if((h|0)!=1214603890){break yc}g=16107;break zc}g=18436;break zc}g=12486;break zc}g=13106;break zc}g=12837;break zc}g=11943;break zc}g=11768;break zc}g=18413;break zc}g=15470;break zc}g=14040;break zc}if((h|0)!=1416192628){break yc}g=12534;break zc}g=13163;break zc}g=13132;break zc}g=7936;break zc}g=13894;break zc}g=8321;break zc}g=12833;break zc}g=18439;break zc}g=14511}if(!O[g|0]){break yc}g=ie(g);if(!g){break yc}p=N[g+4>>2];if(p){break xc}}p=N[147446];if(p){break xc}p=0;g=N[147878];g=g?g+8|0:20427;_c:{if(!O[g|0]){break _c}g=ie(g);if(!g){break _c}p=N[g+4>>2]}if(N[147446]){break xc}N[147446]=p}if(N[q+4>>2]){N[q+48>>2]=p;N[q+44>>2]=h;N[q+40>>2]=o&1|4;g=N[y+8532>>2];N[q+52>>2]=N[y+8528>>2];N[q+56>>2]=g}g=N[H+40>>2];h=N[N[m+8>>2]+16>>2]!=0;N[g+4>>2]=h;N[g+20>>2]=h;h=S[m+304>>3]==0;N[g+52>>2]=h;N[g+68>>2]=h;Ge(l,q,g,N[H+36>>2]);m=O[H+57|0];l=N[q+80>>2];o=N[q+68>>2];$c:{ad:{if(O[q+63|0]){break ad}h=0;if(N[q+168>>2]){break $c}N[q+84>>2]=l;N[q+72>>2]=0;M[q+62>>1]=256;g=T(o,20);if(!g){break ad}C(N[q+88>>2],0,g)}h=N[q+88>>2]}if((o|0)>0){D=m?0:f-i|0;i=0;while(1){p=T(i,20);K=p+l|0;m=Z+T(D+N[K+8>>2]|0,360)|0;g=m;f=g;bd:{if(O[f+4|0]){break bd}while(1){f=g;g=N[f+352>>2];if(g){continue}break}g=kb(360);N[f+352>>2]=g;if(!g){break bd}F(g,f,360);g=N[f+8>>2];if(g){if(!N[g-8>>2]){break a}g=g-4|0;G=N[g>>2];if(!G){break a}N[g>>2]=G+1}f=N[f+352>>2];N[f+352>>2]=0}L[f+4|0]=0;N[f+16>>2]=N[K>>2];s=S[f+256>>3];p=h+p|0;r=XE(s*+N[p+8>>2]);cd:{if(V(r)<2147483648){g=~~r;break cd}g=-2147483648}N[f+112>>2]=g;r=S[f+264>>3];J=XE(r*+(0-N[p+12>>2]|0));dd:{if(V(J)<2147483648){g=~~J;break dd}g=-2147483648}N[f+116>>2]=g;s=XE(s*+N[p>>2]);ed:{if(V(s)<2147483648){g=~~s;break ed}g=-2147483648}N[f+144>>2]=g;s=XE(r*+(0-N[p+4>>2]|0));fd:{if(V(s)<2147483648){p=~~s;break fd}p=-2147483648}N[f+148>>2]=p;N[m+156>>2]=p+N[m+156>>2];N[m+152>>2]=g+N[m+152>>2];i=i+1|0;if((o|0)!=(i|0)){continue}break}}if(!N[q+4>>2]){break Tb}Xe(N[q+12>>2]);f=Ic();gd:{if(!f){break gd}g=N[f>>2];if(!g){break gd}if((g|0)<=0){break Sb}N[f>>2]=g+1}N[q+24>>2]=65533;N[q+16>>2]=0;N[q+20>>2]=0;N[q+12>>2]=f;N[q+52>>2]=0;N[q+56>>2]=0;N[q+44>>2]=0;N[q+48>>2]=0;N[q+36>>2]=0;N[q+40>>2]=0;N[q+28>>2]=0;N[q+32>>2]=0;L[q+60|0]=1;L[q+68|0]=0;L[q+69|0]=0;L[q+70|0]=0;L[q+71|0]=0;L[q+72|0]=0;L[q+73|0]=0;L[q+74|0]=0;L[q+75|0]=0;L[q+61|0]=0;L[q+62|0]=0;L[q+63|0]=0;L[q+64|0]=0;L[q+65|0]=0;L[q+66|0]=0;L[q+67|0]=0;L[q+68|0]=0;N[q+144>>2]=0;N[q+84>>2]=N[q+80>>2];M[q+140>>1]=0;N[q+132>>2]=0;N[q+136>>2]=0;N[q+124>>2]=0;N[q+128>>2]=0;N[q+116>>2]=0;N[q+120>>2]=0;N[q+108>>2]=0;N[q+112>>2]=0;N[q+100>>2]=0;N[q+104>>2]=0;N[q+92>>2]=0;N[q+96>>2]=0}f=j+1|0;if(k>>>0>f>>>0){continue}break}}dc(q);G=1;break na}break ma}N[h+4>>2]=g;N[h+12>>2]=ha-N[h+8>>2];N[g>>2]=h;i=h+4|0}G=0;N[i>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}}La=y+9040|0;break la}ba(23506,14099,260,16403);B()}if(!G){g=0;mb(N[W>>2],1,8437,0);tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0;break n}l=N[n+4>>2];k=N[l+12>>2];hd:{if((k|0)<=0){p=l+12|0;f=0;break hd}j=N[l>>2];o=0;while(1){m=T(o,360);f=m+j|0;while(1){g=N[n>>2];id:{jd:{if(N[f+32>>2]){N[t+144>>2]=1;h=N[f+36>>2];N[t+152>>2]=N[f+32>>2];N[t+156>>2]=h;h=sc(N[g+844>>2],t+144|0,g);if(!h){break id}if(!O[h|0]){tb(h);break id}w=0;i=N[f+40>>2]-1&31;if((i|0)!=31){w=1/+(1<>3]*S[n+544>>3];k=N[f+44>>2]<<6;i=N[h+72>>2]-k|0;J=r*+(0-i|0);s=w*S[f+256>>3]*S[n+536>>3]/S[g+184>>3];break jd}N[t+144>>2]=0;N[t+152>>2]=N[f+8>>2];S[t+160>>3]=S[f+24>>3];N[t+168>>2]=N[f+12>>2];N[t+172>>2]=N[f+16>>2];N[t+176>>2]=N[f+320>>2];N[t+180>>2]=N[f+316>>2];N[t+184>>2]=N[f+324>>2];h=sc(N[g+844>>2],t+144|0,g);if(!h){break id}if(!O[h|0]){tb(h);break id}k=N[h+76>>2];i=N[h+72>>2];r=S[f+264>>3];J=0;s=S[f+256>>3]}S[f+56>>3]=s;N[f+48>>2]=h;S[f+80>>3]=J;N[f+72>>2]=0;N[f+76>>2]=0;S[f- -64>>3]=r;w=XE(+N[h+52>>2]*s+0);kd:{if(V(w)<2147483648){p=~~w;break kd}p=-2147483648}N[f+88>>2]=p;w=XE(+N[h+56>>2]*r+J);ld:{if(V(w)<2147483648){p=~~w;break ld}p=-2147483648}N[f+92>>2]=p;w=XE(+N[h+60>>2]*s+0);md:{if(V(w)<2147483648){p=~~w;break md}p=-2147483648}N[f+96>>2]=p;J=XE(+N[h- -64>>2]*r+J);nd:{if(V(J)<2147483648){p=~~J;break nd}p=-2147483648}N[f+100>>2]=p;if(N[g+92>>2]?N[f+32>>2]:1){g=N[h+68>>2];N[f+156>>2]=0;N[f+148>>2]=0;s=XE(s*+(g|0));od:{if(V(s)<2147483648){g=~~s;break od}g=-2147483648}N[f+152>>2]=g;N[f+144>>2]=g}s=XE(r*+(k|0));pd:{if(V(s)<2147483648){h=~~s;break pd}h=-2147483648}N[f+180>>2]=h;s=XE(r*+(i|0));qd:{if(V(s)<2147483648){h=~~s;break qd}h=-2147483648}N[f+176>>2]=h}f=N[f+352>>2];if(f){continue}break}rd:{if(!o){break rd}f=o-1|0;if(N[(j+m|0)+316>>2]|!N[(j+T(f,360)|0)+316>>2]){break rd}g=0;sd:{if(!f){break sd}while(1){h=j+T(f,360)|0;if(N[h+96>>2]!=N[h+88>>2]){g=f;break sd}if(!N[h+316>>2]){g=f;break sd}f=f-1|0;if(f){continue}break}}f=j+T(g,360)|0;g=N[f+96>>2];if((g|0)<=N[f+152>>2]){break rd}N[f+152>>2]=g}f=j+m|0;N[f+152>>2]=N[f+152>>2]+N[f+312>>2];l=N[n+4>>2];k=N[l+12>>2];o=o+1|0;if((k|0)>(o|0)){continue}break}p=l+12|0;if((k|0)<=0){f=0;break hd}j=N[l>>2];i=0;o=0;q=0;while(1){m=T(i,360);f=m+j|0;h=o;g=q;while(1){N[f+104>>2]=g;N[f+108>>2]=h;g=N[f+144>>2]+g|0;h=N[f+148>>2]+h|0;f=N[f+352>>2];if(f){continue}break}f=j+m|0;q=N[f+152>>2]+q|0;o=N[f+156>>2]+o|0;f=1;i=i+1|0;if((k|0)!=(i|0)){continue}break}}g=N[fa+32>>2];if(!g){g=N[N[n+68>>2]+108>>2]}h=N[fa+36>>2];if(!h){h=N[N[n+68>>2]+112>>2]}aa=N[fa+40>>2];if(!aa){aa=N[N[n+68>>2]+116>>2]}s=+(N[N[W+168>>2]+36>>2]-h|0);td:{ud:{h=N[n+532>>2];j=N[n>>2];vd:{if(!(h|!N[j+72>>2])){R=S[j+160>>3];r=S[j+184>>3];w=+N[N[j+168>>2]+36>>2];J=R*s/r/w+(+N[j+132>>2]-R);X=+(g|0);break vd}J=s;s=+N[j+144>>2];r=S[j+184>>3];w=+N[N[j+168>>2]+36>>2];E=+N[j- -64>>2];J=J*s/r/w+E;X=+(g|0);if(!N[j+72>>2]|h){break ud}R=S[j+160>>3]}s=X*R/r/w;break td}s=s*X/r/w+E}ca=N[n+96>>2];N[l+20>>2]=1;R=J-s;if(f){o=N[l>>2];h=-1;f=0;while(1){wd:{xd:{yd:{zd:{Ad:{g=N[l>>2]+T(f,360)|0;i=N[g>>2];Bd:{if((i|0)==10){i=N[j>>2];N[t>>2]=f;mb(i,7,17182,t);u=2;i=f;break Bd}i=(i|0)==32;if(i|!(R<=+(N[g+104>>2]+N[g+96>>2]|0)*.015625-+(N[o+104>>2]+N[o+88>>2]|0)*.015625)|N[n+516>>2]==2){break xd}if((h|0)<0){break Ad}i=N[j>>2];N[t+16>>2]=h;mb(i,7,17189,t+16|0);u=1;i=h}h=N[g>>2]==32?f:h;break zd}u=1;i=h;if((h|0)==-1){break yd}}g=i+1|0;i=N[l+20>>2];k=N[l+56>>2];Cd:{if((i|0)<(k|0)){break Cd}Dd:{if((k|0)<=1073741823){N[l+56>>2]=k<<1;N[147316]=0;i=N[l+16>>2];k=N[l+56>>2];if(k>>>0<=178956970){k=T(k,24);k=$a(i,k>>>0<=1?1:k);if(k){break Dd}}N[147316]=48;N[l+16>>2]=i;i=N[l+20>>2]}L[o+120|0]=0;N[l+20>>2]=i-1;break Cd}N[147316]=0;N[l+16>>2]=k}k=N[p>>2];if((g|0)>=(k|0)){break wd}o=N[l>>2]+T(g,360)|0;L[o+120|0]=u;N[l+20>>2]=N[l+20>>2]+1}h=-1;break wd}h=i?f:h}f=f+1|0;if((k|0)>(f|0)){continue}break}l=N[n+4>>2]}Ed:{if(N[n+516>>2]==1){break Ed}h=0;y=N[l+12>>2];if((y|0)<0){break Ed}p=1;m=N[l>>2];i=m;q=0;while(1){Fd:{K=(q|0)==(y|0);f=T(q,360);Gd:{if(!(K|O[(f+m|0)+120|0])){j=i;f=p;break Gd}j=f+m|0;Hd:{Id:{if(!h){break Id}f=i;if(O[f+120|0]!=1){break Id}Jd:{while(1){o=f;f=f-360|0;if(h>>>0>=f>>>0){break Jd}if(N[f>>2]==32){continue}break}while(1){f=f-360|0;if(h>>>0>=f>>>0){break Jd}if(N[f>>2]!=32){continue}break}}k=f;Kd:{if(f>>>0<=h>>>0){break Kd}while(1){if(N[k>>2]!=32){break Kd}k=k-360|0;if(k>>>0>h>>>0){continue}break}}g=j;G=T(N[f>>2]==32,360);u=G+f|0;if((u|0)!=(h|0)){while(1){D=g;g=g-360|0;if(i>>>0>>0&N[g>>2]==32){continue}break}g=D-360|0;g=N[g+104>>2]+N[g+96>>2]|0;f=f+G|0;s=+(g-(N[f+88>>2]+N[f+104>>2]|0)|0)*.015625;h=N[h+104>>2]+N[h+88>>2]|0;r=+(N[k+104>>2]+(N[k+96>>2]-h|0)|0)*.015625;w=r>2]+N[i+104>>2]|0)|0)*.015625;g=o-360|0;r=+((N[g+104>>2]+N[g+96>>2]|0)-h|0)*.015625;if(!(w<(r>2];if((y|0)>0){D=N[l>>2];f=D;Md:{Nd:{Od:{i=N[l+12>>2];g=i-1|0;if(!g){break Od}while(1){f=D+T(g,360)|0;h=N[f>>2];if(!((h|0)!=32&(h|0)!=10|O[f+120|0])){M[f+4>>1]=257;g=g-1|0;if(g){continue}}break}h=0;f=D;if((i|0)>0){break Od}I=N[n>>2];q=0;N[l+48>>2]=0;N[l+32>>2]=0;N[l+36>>2]=0;m=l+48|0;K=l+32|0;break Nd}Pd:{while(1){g=N[f>>2];if(!(O[f+120|0]|(g|0)!=32&(g|0)!=10)){M[f+4>>1]=257;h=h+1|0;f=D+T(h,360)|0;if((h|0)!=(i|0)){continue}break Pd}break}L[f+121|0]=1}j=D+T(i,360)|0;o=0;while(1){k=T(o,360);g=k+D|0;Qd:{if(!O[g+120|0]){break Qd}f=o-1|0;Rd:{if(!f){break Rd}while(1){h=D+T(f,360)|0;m=N[h>>2];if((m|0)!=32&(m|0)!=10|O[h+120|0]){break Rd}M[h+4>>1]=257;f=f-1|0;if(f){continue}break}}f=N[g>>2];Sd:{if((f|0)!=32&(f|0)!=10){break Sd}f=k+D|0;M[f+4>>1]=257;g=f+360|0;h=o+1|0;if((i|0)<=(h|0)){break Sd}while(1){f=N[g>>2];if((f|0)!=32&(f|0)!=10){break Sd}f=D+T(h,360)|0;if(O[f+120|0]){break Sd}M[f+4>>1]=257;g=f+360|0;o=h;h=h+1|0;if((i|0)!=(h|0)){continue}break}g=j}if(g>>>0>=j>>>0){break Qd}L[g+121|0]=1}o=o+1|0;if((o|0)<(i|0)){continue}break}I=N[n>>2];q=0;N[l+48>>2]=0;N[l+32>>2]=0;N[l+36>>2]=0;m=l+48|0;K=l+32|0;if((i|0)>0){break Md}}J=.0078125;s=0;u=0;f=0;h=0;r=0;w=0;o=0;break Ld}J=.0078125;s=0;u=0;o=0;k=0;p=1;w=0;r=0;h=0;f=0;while(1){Td:{Ud:{Vd:{q=T(k,360);g=q+D|0;Wd:{if(O[g+120|0]){j=N[l+16>>2]+T(o,24)|0;E=J*+(h|0);S[j+8>>3]=E;J=J*+(f|0);S[j>>3]=J;s=s+(J+E);S[l+32>>3]=s;r=S[n+560>>3]*r+.5;Xd:{if(V(r)<2147483648){f=~~r;break Xd}f=-2147483648}N[l+44>>2]=f;if(!o){N[l+40>>2]=f}r=S[n+552>>3]*w+.5;Yd:{if(V(r)<2147483648){f=~~r;break Yd}f=-2147483648}u=(f|0)<(u|0)?u:f;N[l+48>>2]=u;o=o+1|0;J=.0078125;h=0;w=0;j=g;r=0;f=0;break Wd}j=q+D|0;if(!(p&1)){break Vd}}if(!O[g+5|0]){f=0;r=0;h=0;w=0;p=0;break Ud}p=1;break Ud}p=0;if(O[(q+D|0)+5|0]){break Td}}g=q+D|0;E=S[g+288>>3];w=w>E?w:E;E=S[g+296>>3];r=r>E?r:E;q=N[g+180>>2];h=(h|0)>(q|0)?h:q;g=N[g+176>>2];f=(f|0)>(g|0)?f:g;J=N[j>>2]==10?J:.015625}q=1;k=k+1|0;if((k|0)!=(i|0)){continue}break}break Ld}ba(21796,18170,1877,16423);B()}if((y-1|0)!=(o|0)){ba(21820,18170,1649,8359);B()}p=N[l+16>>2];g=p+T(o,24)|0;E=J*+(h|0);S[g+8>>3]=E;J=J*+(f|0);S[g>>3]=J;r=S[n+560>>3]*r+.5;Zd:{if(V(r)<2147483648){f=~~r;break Zd}f=-2147483648}N[l+44>>2]=f;if(!o){N[l+40>>2]=f}r=S[n+552>>3]*w+.5;_d:{if(V(r)<2147483648){f=~~r;break _d}f=-2147483648}N[m>>2]=(f|0)<(u|0)?u:f;ia=S[I+40>>3];S[K>>3]=+(o|0)*ia+(s+(J+E));g=1;if(q){f=0;$d:{while(1){if(!O[(D+T(f,360)|0)+4|0]){break $d}f=f+1|0;if((i|0)!=(f|0)){continue}break}f=i}j=D+T(i,360)|0;w=+(0-N[(D+T(f,360)|0)+104>>2]|0)*.015625;r=0;f=0;while(1){k=T(f,360);h=k+D|0;ae:{if(!O[h+120|0]){k=N[(k+D|0)+104>>2];break ae}be:{if((f|0)>=(i|0)){break be}while(1){if(!O[h+4|0]|N[h>>2]==10){break be}f=f+1|0;h=D+T(f,360)|0;if((f|0)!=(i|0)){continue}break}f=i;h=j}k=p+T(g,24)|0;m=k-24|0;N[m+20>>2]=f-N[m+16>>2];N[k+16>>2]=f;r=r+(ia+(S[m+8>>3]+S[k>>3]));g=g+1|0;k=N[h+104>>2];w=+(0-k|0)*.015625}s=XE(w*64);ce:{if(V(s)<2147483648){m=~~s;break ce}m=-2147483648}N[h+104>>2]=m+k;s=XE(r*64);de:{if(V(s)<2147483648){k=~~s;break de}k=-2147483648}N[h+108>>2]=k+N[h+108>>2];f=f+1|0;if((i|0)>(f|0)){continue}break}}f=(p+T(g,24)|0)-24|0;N[f+20>>2]=i-N[f+16>>2];ee:{if((i|0)>=0){f=N[I+176>>2];g=N[n+64>>2];h=N[g>>2];y=f-h|0;G=N[I+180>>2]-(N[g+4>>2]+(f>>>0>>0)|0)|0;p=0;u=0;g=0;f=0;q=0;h=0;while(1){K=h;fe:{ge:{if((h|0)>=(i|0)){break ge}h=D+T(K,360)|0;if(O[h+121|0]){break ge}i=N[h+168>>2];h=O[h+172|0];u=i+(h?0:u)|0;q=(h|0)!=0|q;break fe}o=D+T(K,360)|0;if(!f){f=o;break fe}h=N[f+160>>2];g=h?h:g;if(!g){g=0;f=o;break fe}h=N[f+168>>2]+(O[f+172|0]?0:p)|0;i=N[f+164>>2];k=i;j=h+i|0;m=h>>31;i=m+(i>>31)|0;k=j>>>0>>0?i+1|0:i;H=q&1?0:j;i=-1e8;he:{if(h>>>0>y>>>0&(m|0)>=(G|0)|(m|0)>(G|0)){break he}p=(g|0)==2;j=p?j:h;p=p?k:m;k=p;i=1e8;if((k|0)<=(G|0)&j>>>0<=y>>>0|(k|0)<(G|0)){break he}i=f;k=o-360|0;ie:{if(k>>>0<=f>>>0){break ie}while(1){if(!O[i+4|0]){break ie}i=i+360|0;if(k>>>0>i>>>0){continue}break}}je:{if(i>>>0>=k>>>0){break je}while(1){if(!O[k+4|0]){break je}k=k-360|0;if(k>>>0>i>>>0){continue}break}}r=(+(y-h>>>0)+ +(G-((h>>>0>y>>>0)+m|0)|0)*4294967296)/(+(j-h>>>0)+ +(p-((h>>>0>j>>>0)+m|0)|0)*4294967296);Z=N[k+144>>2];Y=N[k+104>>2];q=N[i+104>>2];s=S[f+232>>3];A(+s);m=v(1)|0;p=v(0)|0;i=m>>>20&2047;ke:{if((i|0)==2047){s=s*360;s=s/s;break ke}j=p<<1;h=m<<1|p>>>31;if(!j&(h|0)==-2131951616|h>>>0<2163015680){s=!j&(h|0)==-2131951616?s*0:s;break ke}le:{if(!i){i=0;j=p<<12;k=m<<12|p>>>20;h=k;if((h|0)>0|(h|0)>=0){while(1){i=i-1|0;k=h<<1|j>>>31;j=j<<1;h=k;if((h|0)>0|(h|0)>=0){continue}break}}j=p;k=1-i|0;h=k&31;if((k&63)>>>0>=32){k=j<>>32-h|m<1031){while(1){me:{k=h-1474560|0;if((k|0)<0){break me}h=k;if(h|j){break me}s=s*0;break ke}k=h<<1|j>>>31;j=j<<1;h=k;i=i-1|0;if((i|0)>1031){continue}break}i=1031}ne:{k=h-1474560|0;if((k|0)<0){break ne}h=k;if(h|j){break ne}s=s*0;break ke}if((h|0)==1048575|h>>>0<1048575){while(1){i=i-1|0;k=h>>>0<524288;h=h<<1|j>>>31;j=j<<1;if(k){continue}break}}p=0;m=m&-2147483648;if((i|0)>0){k=h+-1048576|0;h=i<<20;i=j;k=h|k}else{k=1-i|0;i=k&31;if((k&63)>>>0>=32){k=0;i=h>>>i|0}else{k=h>>>i|0;i=((1<>>i}}x(0,i|p);x(1,k|m);s=+z()}oe:{if(!(s>90)|!(s<270)){break oe}r=1-r;k=f;if(f>>>0>=o>>>0){break oe}while(1){lb=k,nb=_E(N[k+124>>2],N[k+128>>2],32),N[lb+124>>2]=nb;N[k+128>>2]=Pa;k=k+360|0;if(o>>>0>k>>>0){continue}break}}s=XE(r*+(Z+(Y-q|0)|0));pe:{if(V(s)<2147483648){h=~~s;break pe}h=-2147483648}i=h+q|0}p=u+H|0;q=0;if(f>>>0>>0){while(1){N[f+160>>2]=g;N[f+164>>2]=i-N[f+104>>2];f=f+360|0;if(o>>>0>f>>>0){continue}break}}f=o;u=0}h=K+1|0;i=N[l+12>>2];if((K|0)<(i|0)){continue}break}q=N[n+8>>2];if((i|0)<=0){break ee}g=N[q+24>>2];f=0;while(1){N[g+(f<<2)>>2]=f;f=f+1|0;i=N[l+12>>2];if((f|0)<(i|0)){continue}break}break ee}q=N[n+8>>2]}f=O[q+57|0];if(f){u=N[q+28>>2]}else{u=q+32|0}if((i|0)>0){k=0;o=0;while(1){j=o;o=j+1|0;qe:{re:{if((j|0)==(i-1|0)){break re}g=D+T(o,360)|0;if(O[g+120|0]|N[N[q+16>>2]+(j<<2)>>2]==2107456){break re}if(f&255){break qe}if(O[g+121|0]|S[(D+T(j,360)|0)+304>>3]!=0){break re}f=0;break qe}se:{if((k|0)==(o|0)|(j|0)<(k|0)){break se}h=o-k|0;y=N[q+24>>2];p=N[q+20>>2];g=N[q+16>>2];i=N[u>>2]&1;f=j;while(1){if(N[g+(f<<2)>>2]&9441280){L[f+p|0]=i;m=(f|0)>(k|0);f=f-1|0;if(m){continue}}break}g=0;K=0;f=j;if(h>>>0>=4){G=h&-4;i=0;while(1){m=f+p|0;H=L[m-3|0];Z=L[m-2|0];Y=L[m-1|0];m=L[m|0];K=K<<24>>24;m=(m|0)>(K|0)?m:K;m=(m|0)<(Y|0)?Y:m;m=(m|0)<(Z|0)?Z:m;K=(m|0)<(H|0)?H:m;f=f-4|0;i=i+4|0;if((G|0)!=(i|0)){continue}break}}h=h&3;if(h){while(1){i=L[f+p|0];m=K<<24>>24;K=(i|0)>(m|0)?i:m;f=f-1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}i=K<<24>>24;if((i|0)<=0){break se}g=j;if(!y){while(1){te:{if((i|0)>L[g+p|0]){f=g;break te}h=((g|0)<(k|0)?g:k)-1|0;f=g;while(1){if((f|0)<=(k|0)){f=h;break te}f=f-1|0;if((i|0)<=L[p+f|0]){continue}break}}g=f-1|0;if((f|0)>(k|0)){continue}break se}}while(1){g=j;while(1){G=K<<24>>24;ue:{if((G|0)>L[g+p|0]){h=g;break ue}i=(g|0)<(k|0)?g:k;m=i-1|0;h=g;while(1){ve:{f=h;if((k|0)>=(f|0)){f=i;h=m;break ve}h=f-1|0;if((G|0)<=L[p+h|0]){continue}}break}i=g-h|0;if((i|0)<2){break ue}m=(i|0)/2|0;g=y+(f<<2)|0;f=0;if((i&-2)!=2){H=m&-2;while(1){Z=f<<2;Y=Z+g|0;ha=N[Y>>2];pa=Y;Y=g+(i+(f^-1)<<2)|0;N[pa>>2]=N[Y>>2];N[Y>>2]=ha;Z=g+(Z|4)|0;Y=N[Z>>2];pa=Z;Z=(g+(i-f<<2)|0)-8|0;N[pa>>2]=N[Z>>2];N[Z>>2]=Y;f=f+2|0;if((H|0)!=(f|0)){continue}break}}if(!(m&1)){break ue}m=g+(f<<2)|0;H=N[m>>2];f=g+(i+(f^-1)<<2)|0;N[m>>2]=N[f>>2];N[f>>2]=H}g=h-1|0;if((h|0)>(k|0)){continue}break}K=K-1|0;if((G|0)>1){continue}break}}f=O[q+57|0];we:{if(!f){f=0;break we}u=((N[N[q+16>>2]+(j<<2)>>2]==2107456)<<2)+u|0}k=o}i=N[l+12>>2];if((o|0)<(i|0)){continue}break}}o=N[q+24>>2];xe:{if(o){if((i|0)<=0){break xe}m=N[l>>2];k=0;u=1;q=0;j=0;while(1){g=T(N[o+(k<<2)>>2],360);if(O[(m+T(k,360)|0)+120|0]){s=XE(S[I+40>>3]*64);ye:{if(V(s)<2147483648){f=~~s;break ye}f=-2147483648}j=N[l+16>>2]+T(u,24)|0;s=XE(S[j-16>>3]*64);ze:{if(V(s)<2147483648){h=~~s;break ze}h=-2147483648}p=h+q|0;s=XE(S[j>>3]*64);Ae:{if(V(s)<2147483648){h=~~s;break Ae}h=-2147483648}q=f+(p+h|0)|0;u=u+1|0;j=0}h=g+m|0;if(!O[h+4|0]){f=g+m|0;p=N[h+152>>2];D=N[h+156>>2];h=j;g=q;while(1){N[f+104>>2]=N[f+112>>2]+h;N[f+108>>2]=N[f+116>>2]+g;h=N[f+144>>2]+h|0;g=N[f+148>>2]+g|0;f=N[f+352>>2];if(f){continue}break}q=q+D|0;j=j+p|0}k=k+1|0;if((k|0)!=(i|0)){continue}break}break xe}mb(N[I>>2],1,8414,0);h=0;g=N[l+12>>2];if((g|0)>0){while(1){f=N[(N[l>>2]+T(h,360)|0)+352>>2];if(f){while(1){g=N[f+352>>2];_a(f);f=g;if(f){continue}break}g=N[l+12>>2]}h=h+1|0;if((h|0)<(g|0)){continue}break}}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break xe}N[f+12>>2]=0}m=N[n+216>>2];q=m&2;l=N[n+96>>2];u=l&3;f=0;g=N[n+4>>2];j=N[g>>2];k=N[g+12>>2];if((k|0)>=0){p=q?u:N[n+100>>2];h=q?1:u;w=0;r=0;while(1){i=(f|0)==(k|0);if(i|O[(j+T(f,360)|0)+120|0]){w=r=(k|0)){break Be}g=j+T(f,360)|0;if(O[g+4|0]){break Be}Ce:{switch(N[g>>2]){case 0:case 10:break Be;default:break Ce}}r=r+ +N[g+152>>2]*.015625}f=f+1|0;if(!i){continue}break}s=R-w;E=s*.5;ia=w+E;f=0;D=h-1|0;o=-1;while(1){h=f;if(!(!O[(j+T(f,360)|0)+120|0]&(f|0)!=(k|0))){J=0;De:{Ee:{switch(D|0){case 0:Fe:{switch(p-2|0){case 1:J=w-r;break De;case 0:break Fe;default:break De}}J=(w-r)*.5;break De;case 2:J=s;Ge:{switch(p-1|0){case 1:J=s+(w-r)*.5;break De;case 0:break De;default:break Ge}}J=R-r;break De;case 1:break Ee;default:break De}}J=E;He:{switch(p-1|0){case 2:J=ia-r;break De;case 0:break De;default:break He}}J=(R-r)*.5}g=o+1|0;Ie:{if((h|0)<=(g|0)){break Ie}r=XE(J*64);Je:{if(V(r)<2147483648){i=~~r;break Je}i=-2147483648}if(!j){break Ie}if(h+(o^-1)&1){f=j+T(g,360)|0;while(1){N[f+104>>2]=i+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}g=o+2|0}if((h-2|0)==(o|0)){break Ie}while(1){o=T(g,360);f=o+j|0;while(1){N[f+104>>2]=i+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}f=(j+o|0)+360|0;while(1){N[f+104>>2]=i+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}g=g+2|0;if((h|0)!=(g|0)){continue}break}}o=h-1|0;r=0}Ke:{if((h|0)>=(k|0)){break Ke}f=j+T(h,360)|0;if(O[f+4|0]){break Ke}Le:{switch(N[f>>2]){case 0:case 10:break Ke;default:break Le}}r=r+ +N[f+152>>2]*.015625}f=h+1|0;if((h|0)!=(k|0)){continue}break}}h=N[$+12>>2];Me:{if((h|0)<=0){J=0;ia=0;R=0;E=0;break Me}i=N[$>>2];w=S[$+32>>3];s=S[N[$+16>>2]>>3];f=0;ia=-32e3;J=32e3;while(1){g=i+T(f,360)|0;if(!O[g+4|0]){r=+N[g+104>>2]*.015625;E=r+ +N[g+152>>2]*.015625;ia=E>2];if((k|0)>0){o=N[N[N[p+168>>2]+88>>2]+36>>2]&4;D=N[N[n+8>>2]+24>>2];g=0;i=0;while(1){f=T(N[D+(i<<2)>>2],360);h=j+T(i,360)|0;if(!O[h+121|0]|o?O[h+120|0]:1){g=0}Ne:{Oe:{h=f+j|0;s=S[h+256>>3];if(s!=0){r=S[h+264>>3];if(r!=0){break Oe}}L[h+4|0]=1;break Ne}if(O[h+4|0]){break Ne}f=f+j|0;while(1){N[f+108>>2]=N[f+108>>2]+g;f=N[f+352>>2];if(f){continue}break}s=r*(S[h+248>>3]/s)*+N[h+152>>2]+ +(g|0);if(V(s)<2147483648){g=~~s;break Ne}g=-2147483648}i=i+1|0;if((k|0)!=(i|0)){continue}break}}D=ca&12;Pe:{Qe:{Re:{Se:{Te:{Ue:{Ve:{We:{Xe:{f=m&1;if(f){g=l&12;r=0;s=J;w=0;Ye:{Ze:{_e:{switch(u-1|0){case 1:s=(J+ia)*.5;break Ze;case 0:break Ze;case 2:break _e;default:break Ye}}s=ia}w=s}s=E;$e:{af:{bf:{switch(g|0){case 8:s=(E+R)*.5;break af;case 4:break af;case 0:break bf;default:break $e}}s=R}r=s}g=N[W+168>>2];s=S[n+152>>3]*+N[W+140>>2]/+N[g+40>>2]+ +N[W+56>>2]-r;ta=S[n+144>>3]*+N[W+144>>2]/S[W+184>>3]/+N[g+36>>2]+ +N[W- -64>>2]-w;if(!q){break Xe}break We}s=0;if(q){break We}if(N[p+72>>2]?N[n+532>>2]:1){ta=+N[p+144>>2]*X/S[p+184>>3]/+N[N[p+168>>2]+36>>2]+ +N[p- -64>>2]}else{ta=S[p+160>>3]*X/S[p+184>>3]/+N[N[p+168>>2]+36>>2]}if(!(m&4)){break Ve}break Ue}if(!(m&4)){break Qe}break Ue}cf:{df:{switch(N[n+476>>2]){case 1:r=+N[N[W+168>>2]+36>>2];ta=(r-S[n+480>>3])*+N[W+144>>2]/S[W+184>>3]/r+ +N[W- -64>>2];break cf;case 0:break df;default:break cf}}ta=S[n+480>>3]*+N[W+144>>2]/S[W+184>>3]/+N[N[W+168>>2]+36>>2]+ +N[W- -64>>2]-(ia-J)}if(m&4){break Ue}if(f){break Qe}}switch(D-4|0){case 4:break Se;case 0:break Te;default:break Re}}ef:{switch(N[n+476>>2]-2|0){case 0:g=N[n+532>>2];s=ri(p,g,S[n+480>>3]+ +N[n+488>>2])-R;break Pe;case 1:break ef;default:break Qe}}g=N[n+532>>2];s=ri(p,g,+N[n+492>>2]-S[n+480>>3])-E;break Pe}s=lo(p,N[n+532>>2],+(aa|0))+S[N[$+16>>2]>>3];break Qe}g=N[n+532>>2];s=ri(p,g,+N[N[W+168>>2]+40>>2]*.5)-(E+R)*.5;break Pe}r=0;f=N[n+532>>2];r=f?r:S[W+48>>3];if(D){mb(N[W>>2],6,23538,0);p=N[n>>2];f=N[n+532>>2]}s=+(N[N[W+168>>2]+40>>2]-aa|0);w=+N[p+140>>2]*s/+N[N[p+168>>2]+40>>2]+ +N[p+56>>2];ff:{if(N[p+72>>2]?f:1){break ff}w=S[p+152>>3];w=w*s/+N[N[p+168>>2]+40>>2]+(+N[p+136>>2]-w)}s=w;w=lo(p,f,0);X=S[N[$+16>>2]>>3];da=w+X;s=X+(s+r*(w-s)/100-S[$+32>>3]);s=s0?da:s:s}g=N[n+532>>2]}gf:{hf:{if(N[W+72>>2]?g:1){o=N[W+144>>2];r=+(o|0);f=N[W+168>>2];w=+N[f+36>>2];i=N[W- -64>>2];X=+(i|0);k=qc(+N[n+240>>2]*r/w+X);N[n+240>>2]=k;m=qc(r*+N[n+248>>2]/w+X);N[n+248>>2]=m;q=N[W+140>>2];r=+(q|0);w=+N[f+40>>2];j=N[W+56>>2];X=+(j|0);h=qc(+N[n+244>>2]*r/w+X);N[n+244>>2]=h;f=qc(r*+N[n+252>>2]/w+X);N[n+252>>2]=f;if(!g){break gf}h=(h|0)>(j|0)?h:j;N[n+244>>2]=h;N[n+240>>2]=(i|0)<(k|0)?k:i;g=i+o|0;N[n+248>>2]=(g|0)>(m|0)?m:g;g=j+q|0;f=(f|0)<(g|0)?f:g;break hf}N[n+240>>2]=0;N[n+244>>2]=0;N[n+248>>2]=N[W+16>>2];h=0;f=N[W+20>>2]}N[n+252>>2]=f}if(O[n+216|0]&4){r=+N[W+140>>2];w=+N[N[W+168>>2]+40>>2];X=+N[W+56>>2];g=qc(r*+N[n+492>>2]/w+X);N[n+252>>2]=(f|0)<(g|0)?f:g;f=qc(+N[n+488>>2]*r/w+X);N[n+244>>2]=(f|0)<(h|0)?h:f}jf:{if(O[n+256|0]){f=N[p+168>>2];r=S[n+168>>3]*+N[p+140>>2]/+N[f+40>>2]+ +N[p+56>>2];w=S[n+160>>3]*+N[p+144>>2]/S[p+184>>3]/+N[f+36>>2]+ +N[p- -64>>2];break jf}f=N[n+96>>2];g=f&12;r=0;w=0;kf:{lf:{switch((f&3)-1|0){case 0:w=J;break kf;case 1:w=(J+ia)*.5;break kf;case 2:break lf;default:break kf}}w=ia}mf:{nf:{switch(g|0){case 4:r=E;break mf;case 8:r=(E+R)*.5;break mf;case 0:break nf;default:break mf}}r=R}r=s+r;w=ta+w}u=N[n+4>>2];i=N[u+12>>2];j=(i|0)<=0;of:{if(j){break of}k=N[u>>2];if(!k){break of}r=s-r;w=ta-w;E=S[n+560>>3];R=S[p+184>>3];X=S[n+552>>3];h=0;while(1){f=k+T(h,360)|0;while(1){da=XE((S[f+208>>3]*E+r)*64);pf:{if(V(da)<2147483648){g=~~da;break pf}g=-2147483648}N[f+340>>2]=g+N[f+108>>2];da=XE((w+X*S[f+200>>3]/R)*64);qf:{if(V(da)<2147483648){g=~~da;break qf}g=-2147483648}N[f+336>>2]=g+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}h=h+1|0;if((i|0)!=(h|0)){continue}break}}rf:{if(j){o=0;break rf}r=+N[p- -64>>2];jb=(ta-r)*S[p+184>>3]+r;m=N[u+24>>2];K=t+240|0;G=t+236|0;r=XE(s*64);sf:{if(V(r)<2147483648){j=~~r;break sf}j=-2147483648}o=0;i=1;h=0;q=0;while(1){f=N[u>>2]+T(q,360)|0;i=O[f+121|0]!=0|i;tf:{if(O[f+4|0]){while(1){tb(N[f+48>>2]);f=N[f+352>>2];if(f){continue}break tf}}while(1){k=N[f+280>>2];g=(k|0)==3;g=S[f+288>>3]==0&S[f+296>>3]==0?g:g|2;g=S[f+200>>3]==0&S[f+208>>3]==0?g:g|4;if(!(!(g&4)|!((N[f+160>>2]&-2)==2|O[f+140|0]!=255)&(k|0)!=3)){g=g|8}g=g&10?g:g&11;uf:{vf:{if(!(O[f+141|0]|(O[f+140|0]|!(g&2)))){if(!N[f+328>>2]|(k|0)==3){break vf}break uf}if((k|0)!=3){break uf}}g=g|16}wf:{xf:{yf:{zf:{Af:{Bf:{if(i&1){i=N[u+60>>2];Cf:{if(i>>>0>o>>>0){k=m;break Cf}N[147316]=0;l=N[u+24>>2];y=i<<1;if(y>>>0>48806446){break zf}i=T(i,176);k=$a(l,i>>>0<=1?1:i);if(!k){break zf}N[147316]=0;N[u+60>>2]=y;N[u+24>>2]=k}i=N[f+128>>2];h=T(o,88)+k|0;N[h+24>>2]=N[f+124>>2];N[h+28>>2]=i;i=N[f+136>>2];N[h+32>>2]=N[f+132>>2];N[h+36>>2]=i;N[h+40>>2]=N[f+160>>2];i=N[f+164>>2];N[h+48>>2]=268435455;N[h+44>>2]=i;N[h>>2]=g;N[h+4>>2]=N[f+184>>2];r=S[n+576>>3];w=S[f+192>>3];E=S[n+568>>3]*.8493218002880191*w*.03125;m=t+144|0;Vd((E+1)*4,m);l=N[t+144>>2];E=XE(ko(E)*256);Df:{if(V(E)<2147483648){i=~~E;break Df}i=-2147483648}N[h+8>>2]=i;r=w*(r*.8493218002880191)*.03125;Vd((r+1)*4,m);m=N[t+144>>2];r=XE(ko(r)*256);Ef:{if(V(r)<2147483648){i=~~r;break Ef}i=-2147483648}N[h+12>>2]=i;i=0;if(g&4){r=XE(S[f+208>>3]*S[n+560>>3]*64);Ff:{if(V(r)<2147483648){y=~~r;break Ff}y=-2147483648}i=-1<>1^-1)&i;r=XE(S[f+200>>3]*S[n+552>>3]*64);Gf:{if(V(r)<2147483648){y=~~r;break Gf}y=-2147483648}m=-1<>1^-1)&m}else{m=0}N[h+16>>2]=m;N[h+20>>2]=i;N[h+64>>2]=2147483647;N[h+68>>2]=2147483647;N[h+52>>2]=0;N[h+56>>2]=0;i=kb(1536);N[h+80>>2]=0;N[h+84>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;N[h+60>>2]=i;if(i){break Bf}tb(N[f+48>>2]);m=k;i=1;break wf}if(h){break Af}ba(12501,18170,2574,10923);B()}N[h+56>>2]=64;o=o+1|0;m=k}r=S[p+184>>3];I=j+N[f+108>>2]|0;N[f+108>>2]=I;r=XE((r*(+N[f+104>>2]*.015625)+jb)*64);Hf:{if(V(r)<2147483648){i=~~r;break Hf}i=-2147483648}N[f+104>>2]=i;If:{k=N[f+48>>2];Jf:{if(!k){break Jf}Kf:{switch(N[f>>2]){case 0:case 10:break Jf;default:break Kf}}if(!O[f+4|0]){break If}}tb(k);break xf}l=N[n>>2];aa=N[h+52>>2];ga=S[f+256>>3];da=S[f+240>>3];ja=S[f+264>>3];w=S[f+232>>3]*.017453292519943295;r=pi(w);w=oi(w);R=S[f+224>>3]*.017453292519943295;E=oi(R);qa=S[f+216>>3]*.017453292519943295;la=oi(qa);X=pi(R);ma=S[f+72>>3];na=S[f+80>>3];y=N[f+340>>2];ca=N[f+176>>2];H=N[f+336>>2];ra=S[l+184>>3];za=S[n+576>>3];R=S[f+56>>3];Aa=S[f+248>>3];ka=da*ga/ja;wa=w+r*ka;va=r-ka*w;ua=-la;xa=va*ua;da=E*wa+X*xa;sa=S[f- -64>>3];Fa=da*sa;S[t+200>>3]=Fa;ga=ja*Aa/ga;Ba=r+w*ga;la=r*ga-w;Ia=la*ua;ga=E*Ba+X*Ia;Aa=R*ga;S[t+192>>3]=Aa;Ga=+(I-y|0);Ha=pi(qa);ja=za*2e4;qa=da*Ga+Ha*va*ja;Ja=sa*qa;S[t+176>>3]=Ja;la=ga*Ga+ja*(Ha*la);Ka=R*la;S[t+168>>3]=Ka;Ma=+(H|0);za=+(i|0)-ra*Ma;va=wa*X-E*xa;wa=ja*ra;ra=da*za+va*wa;va=sa*ra;S[t+152>>3]=va;sa=ga*za+wa*(Ba*X-E*Ia);xa=R*sa;S[t+144>>3]=xa;R=+(ca|0)*ka+Ma;ka=+(y|0);Ba=r*R+w*ka;r=r*ka-R*w;ka=r*ua;w=ja+(E*Ba+X*ka);R=w+(ga*ma+da*na);S[t+208>>3]=R;ja=w*Ga+ja*(Ha*r);ua=ja+(la*ma+qa*na);S[t+184>>3]=ua;X=w*za+wa*(Ba*X-E*ka);r=X+(sa*ma+ra*na);S[t+160>>3]=r;Lf:{if(N[f+160>>2]!=2){break Lf}y=N[k+4>>2];if(!y){break Lf}I=N[k+20>>2];k=0;while(1){i=I+(k<<3)|0;ma=+N[i>>2];na=+N[i+4>>2];E=R+(Aa*ma+Fa*na);E=(r+(xa*ma+va*na))/(E>.1?E:.1);A(+E);i=v(1)|0;i=i&2147483647;if(!(v(0)|0)&(i|0)==2146435072|i>>>0<2146435072){ca=N[h+48>>2];E=E>-268435455?E:-268435455;E=XE(E>268435455?268435455:E);Mf:{if(V(E)<2147483648){i=~~E;break Mf}i=-2147483648}N[h+48>>2]=(i|0)>(ca|0)?ca:i}k=k+1|0;if((y|0)!=(k|0)){continue}break}}N[t+108>>2]=N[f+48>>2];if(!ni(t+144|0,t+80|0,t+88|0,!aa,t+108|0)){tb(N[f+48>>2]);break xf}i=sc(N[l+848>>2],t+108|0,n);N[f+344>>2]=i;Nf:{if(i){if(N[i+20>>2]){break Nf}tb(i)}N[f+344>>2]=0}k=N[t+84>>2];y=k;i=N[t+80>>2];N[t+72>>2]=i;N[t+76>>2]=k;Of:{if(g&1){if(!(g&6)){break xf}N[t+224>>2]=3;g=N[f+144>>2];k=N[f+312>>2];R=S[l+184>>3];ma=S[n+552>>3];na=S[f+288>>3];ka=S[f+256>>3];ua=S[f+272>>3];r=ua*S[f+264>>3];E=S[f+296>>3]*64*S[n+560>>3]*r;E=E<64?64:E;I=N[f+176>>2];r=(E+E+r*+(I+N[f+180>>2]|0))*.015625;S[t+200>>3]=da*r;S[t+176>>3]=qa*r;S[t+152>>3]=ra*r;r=ma*(na*64)/R;R=ka*ua;r=r*R;r=r<64?64:r;R=(r+r+R*+(g+k|0))*.015625;S[t+192>>3]=ga*R;E=-E-+(I|0);S[t+184>>3]=ja+(qa*E-la*r);S[t+168>>3]=la*R;S[t+160>>3]=X+(ra*E-sa*r);S[t+144>>3]=sa*R;R=w+(da*E-ga*r);break Of}if(!(g&2)){break xf}N[t+224>>2]=2;g=N[f+48>>2];N[t+232>>2]=g;X=S[t+208>>3];da=V(S[t+192>>3]);ma=S[n+552>>3]*64*S[f+288>>3]/S[f+56>>3]/S[l+184>>3];w=ma+64+ +(N[g+60>>2]-N[g+52>>2]|0)*.5;na=V(S[t+200>>3]);qa=S[n+560>>3]*64*S[f+296>>3]/S[f+64>>3];E=qa+64+ +(N[g- -64>>2]-N[g+56>>2]|0)*.5;ga=X-da*w-na*E;X=X*.0625;X=1/(X>3]);ga=V(S[t+152>>3]);ra=da*w+ga*E;ja=V(S[t+168>>3]);sa=ja*w;w=V(S[t+176>>3]);E=sa+E*w;E=(Eja?da:ja)),G);Vd(la*(na*E+(w>2];w=sd(ma,I);aa=N[t+240>>2];E=sd(qa,aa);if(!(w<268435455)|!(E<268435455)){break xf}E=XE(E*.0625);Pf:{if(V(E)<2147483648){g=~~E;break Pf}g=-2147483648}N[t+248>>2]=g;w=XE(w*.0625);Qf:{if(V(w)<2147483648){k=~~w;break Qf}k=-2147483648}N[t+244>>2]=k;if(!(g|k)){break yf}g=0-I|0;lb=t,pb=sd(xa,g),S[lb+144>>3]=pb;S[t+160>>3]=r;k=0-aa|0;lb=t,pb=sd(va,k),S[lb+152>>3]=pb;lb=t,pb=sd(Ka,g),S[lb+168>>3]=pb;S[t+184>>3]=ua;lb=t,pb=sd(Ja,k),S[lb+176>>3]=pb;lb=t,pb=sd(Aa,g),S[lb+192>>3]=pb;lb=t,pb=sd(Fa,k),S[lb+200>>3]=pb}S[t+208>>3]=R;g=sc(N[l+844>>2],t+224|0,l);N[t+108>>2]=g;if(!g){tb(0);break xf}Rf:{if(O[g|0]){if(ni(t+144|0,t+72|0,t+88|0,0,t+108|0)){break Rf}g=N[t+108>>2]}tb(g);break xf}g=sc(N[l+848>>2],t+108|0,n);N[f+348>>2]=g;Sf:{if(g){if(N[g+20>>2]){break Sf}tb(g)}N[f+348>>2]=0;N[t+72>>2]=i;N[t+76>>2]=y;break xf}if(N[f+344>>2]){break xf}g=N[t+76>>2];N[t+80>>2]=N[t+72>>2];N[t+84>>2]=g;break xf}N[147316]=48;N[u+24>>2]=l;tb(N[f+48>>2]);i=1;break wf}g=N[f+344>>2];if(g){if(!N[g-8>>2]){break a}g=g-4|0;i=N[g>>2];if(!i){break a}N[g>>2]=i+1}N[f+348>>2]=N[f+344>>2]}g=N[f+344>>2];Tf:{if(!(g|N[f+348>>2])){tb(0);break Tf}Uf:{k=N[h+52>>2];i=N[h+56>>2];Vf:{if(k>>>0>>0){i=N[h+60>>2];break Vf}N[147316]=0;g=N[h+60>>2];k=i<<1;if(k>>>0>178956970){break Uf}i=T(i,48);i=$a(g,i>>>0<=1?1:i);if(!i){break Uf}N[147316]=0;N[h+56>>2]=k;N[h+60>>2]=i;k=N[h+52>>2];g=N[f+344>>2]}k=T(k,24)+i|0;N[k>>2]=g;N[k+4>>2]=N[f+348>>2];g=N[t+84>>2];i=N[t+80>>2];N[k+8>>2]=i;N[k+12>>2]=g;l=N[t+76>>2];k=N[h+60>>2]+T(N[h+52>>2],24)|0;N[k+16>>2]=N[t+72>>2];N[k+20>>2]=l;N[h+52>>2]=N[h+52>>2]+1;k=N[h+64>>2];N[h+64>>2]=(i|0)>(k|0)?k:i;i=N[h+68>>2];N[h+68>>2]=(g|0)>(i|0)?i:g;break Tf}N[147316]=48;N[h+60>>2]=g;tb(N[f+344>>2]);tb(N[f+348>>2])}i=0}f=N[f+352>>2];if(f){continue}break}}q=q+1|0;if((q|0)>2]){continue}break}if(!o){o=0;break rf}K=0;while(1){f=T(K,88)+m|0;k=N[f+52>>2];Wf:{if(!k){_a(N[f+60>>2]);break Wf}if(N[f+40>>2]==2){lb=f,nb=qc(+N[f+44>>2]*.015625*S[p+184>>3]+ +N[f+48>>2]*.015625),N[lb+44>>2]=nb}i=N[f+68>>2];q=N[f+60>>2];j=N[f+64>>2];h=0;while(1){g=q+T(h,24)|0;N[g+8>>2]=N[g+8>>2]-j;N[g+16>>2]=N[g+16>>2]-j;N[g+12>>2]=N[g+12>>2]-i;N[g+20>>2]=N[g+20>>2]-i;h=h+1|0;if((k|0)!=(h|0)){continue}break}g=N[f+20>>2];N[t+160>>2]=N[f+16>>2];N[t+164>>2]=g;g=N[f+12>>2];N[t+152>>2]=N[f+8>>2];N[t+156>>2]=g;g=N[f+4>>2];N[t+144>>2]=N[f>>2];N[t+148>>2]=g;N[t+168>>2]=N[f+52>>2];N[t+172>>2]=N[f+60>>2];g=sc(N[p+852>>2],t+144|0,p);if(!g){break Wf}if(N[g+20>>2]){N[f+72>>2]=g}if(N[g+44>>2]){N[f+76>>2]=g+24}if(N[g+68>>2]){N[f+80>>2]=g+48}N[f+84>>2]=g}K=K+1|0;if((K|0)!=(o|0)){continue}break}}N[u+28>>2]=o;N[ea+24>>2]=0;N[ea+28>>2]=0;N[ea+16>>2]=0;N[ea+20>>2]=0;N[ea+8>>2]=0;N[ea+12>>2]=0;N[ea>>2]=0;N[ea+4>>2]=0;r=s-S[N[$+16>>2]>>3];s=+N[$+40>>2];r=r-s;Xf:{if(V(r)<2147483648){f=~~r;break Xf}f=-2147483648}N[ea+4>>2]=f;s=S[$+32>>3]+ +N[$+44>>2]+s;Yf:{if(V(s)<2147483648){f=~~s;break Yf}f=-2147483648}N[ea+8>>2]=f;s=S[W+184>>3];g=N[$+48>>2];r=(J+ta)*s-+(g|0)+.5;Zf:{if(V(r)<2147483648){f=~~r;break Zf}f=-2147483648}N[ea+12>>2]=f;s=(ia-J)*s+ +(g<<1)+.5;_f:{if(V(s)<2147483648){f=~~s;break _f}f=-2147483648}N[ea+16>>2]=f;f=L[n+258|0];N[ea+28>>2]=fa;N[ea+24>>2]=D?1:-1;N[ea+20>>2]=f;i=t+80|0;f=N[n+4>>2];g=N[f+28>>2];if(g){h=N[f+24>>2];f=0;while(1){j=h+T(f,88)|0;k=N[j+80>>2];if(!(!k|N[n+220>>2]==4)){i=we(n,k,N[j+64>>2],N[j+68>>2],N[j+36>>2],0,1e6,i,2,N[j+84>>2])}f=f+1|0;if((g|0)!=(f|0)){continue}break}k=0;while(1){f=h+T(k,88)|0;j=N[f+76>>2];if(!(!j|N[f+40>>2]==3&N[f+44>>2]<=0)){i=we(n,j,N[f+64>>2],N[f+68>>2],N[f+32>>2],0,1e6,i,1,N[f+84>>2])}k=k+1|0;if((g|0)!=(k|0)){continue}break}k=0;while(1){f=h+T(k,88)|0;j=N[f+72>>2];$f:{if(!j){break $f}ag:{switch(N[f+40>>2]-1|0){case 0:case 2:m=N[f+84>>2];o=N[f+68>>2];p=N[f+64>>2];if(N[f+44>>2]>0){i=we(n,j,p,o,N[f+24>>2],0,1e6,i,0,m);break $f}i=we(n,j,p,o,N[f+28>>2],0,1e6,i,0,m);break $f;case 1:i=we(n,j,N[f+64>>2],N[f+68>>2],N[f+24>>2],N[f+28>>2],N[f+44>>2],i,0,N[f+84>>2]);break $f;default:break ag}}i=we(n,j,N[f+64>>2],N[f+68>>2],N[f+24>>2],0,1e6,i,0,N[f+84>>2])}k=k+1|0;if((g|0)!=(k|0)){continue}break}f=0;while(1){tb(N[(h+T(f,88)|0)+84>>2]);f=f+1|0;if((g|0)!=(f|0)){continue}break}}N[i>>2]=0;f=N[t+80>>2];if(N[n+296>>2]){h=N[n>>2];N[t+224>>2]=1;g=N[n+300>>2];N[t+232>>2]=N[n+296>>2];N[t+236>>2]=g;N[t+200>>2]=0;N[t+204>>2]=0;N[t+192>>2]=0;N[t+196>>2]=0;N[t+184>>2]=0;N[t+188>>2]=0;N[t+176>>2]=0;N[t+180>>2]=0;N[t+168>>2]=0;N[t+172>>2]=0;N[t+160>>2]=0;N[t+164>>2]=0;N[t+152>>2]=0;N[t+156>>2]=0;N[t+144>>2]=0;N[t+148>>2]=0;r=0;g=N[n+452>>2]-1&31;if((g|0)!=31){r=1/+(1<>3]=r*S[n+536>>3];s=S[n+544>>3];N[t+208>>2]=0;N[t+212>>2]=1072693248;S[t+176>>3]=r*s;S[t+160>>3]=N[h- -64>>2]<<6;S[t+184>>3]=N[h+56>>2]<<6;g=sc(N[h+844>>2],t+224|0,h);N[t+108>>2]=g;bg:{if(!g){tb(0);break bg}cg:{if(O[g|0]){if(ni(t+144|0,t+88|0,0,1,t+108|0)){break cg}g=N[t+108>>2]}tb(g);break bg}g=sc(N[h+848>>2],t+108|0,n);if(!g){break bg}dg:{if(!f){break dg}Y=N[t+92>>2];fa=N[t+88>>2];while(1){j=fa+N[g>>2]|0;i=j+N[g+8>>2]|0;K=N[f+4>>2];k=N[f+24>>2];p=K+k|0;o=Y+N[g+4>>2]|0;ha=N[f>>2];m=N[f+20>>2];u=ha+m|0;G=(p|0)<(o|0)|(j|0)>(u|0)|(i|0)<(m|0);l=o+N[g+12>>2]|0;I=(l|0)>(p|0)?p:l;p=(k|0)>(o|0)?k:o;q=I-p|0;aa=(i|0)>(u|0)?u:i;u=(j|0)<(m|0)?m:j;i=aa-u|0;ca=p-o|0;H=u-j|0;D=p-k|0;y=u-m|0;j=1<>2];o=N[g+16>>2];m=N[f+8>>2];W=N[g+20>>2];Z=N[f+12>>2];eg:{fg:{if(N[n+456>>2]){if((u|0)==(aa|0)|G|((p|0)==(I|0)|(k|0)>(l|0))){break eg}k=Eo(j,j+T(m,K)|0);if(!k){break dg}F(k,Z,ha+T(m,K-1|0)|0);Qa[N[h+900>>2]](y+(T(m,D)+k|0)|0,m,H+(W+T(o,ca)|0)|0,o,i,q);break fg}gg:{if(!((u|0)==(aa|0)|G|(k|0)>(l|0))){if((p|0)!=(I|0)){break gg}}N[f+8>>2]=0;N[f>>2]=0;N[f+4>>2]=0;break eg}k=0-j|0;p=i>>>0>k>>>0?i:k&(i+j|0)-1;k=Eo(j,j+T(p,q)|0);if(!k){break dg}Qa[N[h+904>>2]](k,p,y+(Z+T(m,D)|0)|0,m,H+(W+T(o,ca)|0)|0,o,i,q);N[f+8>>2]=p;N[f+4>>2]=q;N[f>>2]=i;N[f+20>>2]=y+N[f+20>>2];N[f+24>>2]=D+N[f+24>>2]}N[f+40>>2]=k;N[f+12>>2]=k;tb(N[f+36>>2]);N[f+36>>2]=0}f=N[f+28>>2];if(f){continue}break}}tb(g)}f=N[t+80>>2]}N[ea>>2]=f;hg:{if(N[n+220>>2]!=4){break hg}h=N[n>>2];k=0;g=0;s=S[n+272>>3];if(s>0){g=qc(s*S[n+552>>3])}s=S[n+280>>3];if(s>0){k=qc(s*S[n+560>>3])}j=N[ea+12>>2];i=N[ea+16>>2]+(j+g|0)|0;i=(i|0)>0?i:0;g=j-g|0;j=(g|0)>0?g:0;g=N[h+132>>2];j=(g|0)>(j|0)?j:g;i=((g|0)>(i|0)?i:g)-j|0;if((i|0)<=0){break hg}g=N[ea+4>>2];m=N[ea+8>>2]+(g+k|0)|0;m=(m|0)>0?m:0;g=g-k|0;k=(g|0)>0?g:0;g=N[h+136>>2];k=(g|0)>(k|0)?k:g;m=((g|0)>(m|0)?m:g)-k|0;if((m|0)<=0){break hg}g=T(i,m);if(g>>>0>4294967289){break hg}h=kb(g+4|0);if(!h){break hg}N[h>>2]=h;o=h+4|0;C(o,255,g);p=N[n+236>>2];g=kb(48);if(!g){_a(h);break hg}N[g+44>>2]=0;N[g+40>>2]=o;N[g+36>>2]=0;N[g+24>>2]=k;N[g+20>>2]=j;N[g+16>>2]=p;N[g+12>>2]=o;N[g+8>>2]=i;N[g+4>>2]=m;N[g>>2]=i;N[g+28>>2]=f;N[ea>>2]=g}g=1;h=N[$+12>>2];if((h|0)>0){k=0;while(1){f=N[(N[$>>2]+T(k,360)|0)+352>>2];if(f){while(1){h=N[f+352>>2];_a(f);f=h;if(f){continue}break}h=N[$+12>>2]}k=k+1|0;if((k|0)<(h|0)){continue}break}}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0;break n}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;g=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0}La=t+272|0;_=g+_|0;h=N[b+8>>2]}U=U+1|0;if((U|0)<(h|0)){continue}break}if((_|0)<=0){break k}Zc(N[a+124>>2],_,32,108);f=N[a+124>>2];ig:{if((_|0)==1){b=f;_=1;break ig}U=1;b=f;while(1){c=U<<5;d=c+f|0;if(N[N[b+28>>2]+20>>2]!=N[N[d+28>>2]+20>>2]){mo(a,b,d-b>>5);f=N[a+124>>2];b=c+f|0}U=U+1|0;if((_|0)!=(U|0)){continue}break}}mo(a,b,((_<<5)+f|0)-b>>5);f=0;U=ya;if((_|0)!=1){c=_&1;d=_&-2;while(1){_=N[a+124>>2];g=f<<5;b=N[_+g>>2];if(b){while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}_=N[a+124>>2]}b=N[_+(g|32)>>2];if(b){while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}}f=f+2|0;if((d|0)!=(f|0)){continue}break}if(!c){break k}}b=N[N[a+124>>2]+(f<<5)>>2];if(!b){break k}while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}}g=N[ya>>2];if(g){N[g+44>>2]=N[g+44>>2]+1}U=N[a+120>>2];if(e){f=0;jg:{if(!U){b=g;break jg}_=U;b=g;while(1){if(!b){b=0;f=2;break jg}h=2;kg:{if(N[_>>2]!=N[b>>2]|N[_+4>>2]!=N[b+4>>2]|(N[_+8>>2]!=N[b+8>>2]|N[_+16>>2]!=N[b+16>>2])){break kg}if(N[_+12>>2]!=N[b+12>>2]){break kg}h=1;if(N[_+20>>2]!=N[b+20>>2]){break kg}h=N[_+24>>2]!=N[b+24>>2]}f=(f|0)<(h|0)?h:f;b=N[b+28>>2];_=N[_+28>>2];if(!_){break jg}if(f>>>0<2){continue}break}}N[e>>2]=b?2:f}lg:{if(!U){break lg}b=N[U+44>>2]-1|0;N[U+44>>2]=b;if(b){break lg}while(1){b=N[U+28>>2];tb(N[U+36>>2]);c=N[U+40>>2];if(c){_a(N[c-4>>2])}_a(U);U=b;if(b){continue}break}g=N[ya>>2]}N[a+120>>2]=0;break b}ba(9781,18170,3106,15850);B()}if(!e){break b}N[e>>2]=2}La=oa- -64|0;return g}ba(8916,18290,435,15229);B()}function oq(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0;a:{if(!N[b>>2]){break a}v=db(1,204);if(!v){break a}N[v>>2]=1;N[v+4>>2]=1;i=a?a:588540;if(N[i+4>>2]){N[i+4>>2]=0}N[v+12>>2]=i;p=v+16|0;if(pq(p,1,i,b,c,d,e,f)){e=0;g=La-336|0;La=g;j=v+60|0;D=j+24|0;C(D,0,88);N[g+8>>2]=i;a=N[p+12>>2];N[g+20>>2]=N[p+8>>2];N[g+24>>2]=a;N[g+28>>2]=N[p+16>>2];a=N[p+4>>2];N[g+12>>2]=N[p>>2];N[g+16>>2]=a;N[g+32>>2]=i;c=g+56|0;C(c,0,72);N[g+52>>2]=N[p+16>>2];b=N[p+12>>2];a=N[p+8>>2];N[g+44>>2]=a;N[g+48>>2]=b;b=N[p+4>>2];N[g+36>>2]=N[p>>2];N[g+40>>2]=b;N[g+196>>2]=3;N[g+184>>2]=3;d=a;b=g+208|0;a=g+172|0;Bl(N[g+40>>2],d,g+196|0,b,g+184|0,a);J=g- -64|0,K=ek(N[g+32>>2],1196643650,N[g+196>>2],b,g+68|0,c),L[J|0]=K;dk(N[g+32>>2],1196643650,N[g+68>>2],N[g+184>>2],a,g+76|0);J=g,K=ek(N[g+32>>2],1196445523,N[g+196>>2],b,g+72|0,g+60|0),L[J+65|0]=K;dk(N[g+32>>2],1196445523,N[g+72>>2],N[g+184>>2],a,g+80|0);N[g+128>>2]=i;a=N[p+4>>2];N[g+132>>2]=N[p>>2];N[g+136>>2]=a;a=N[p+12>>2];N[g+140>>2]=N[p+8>>2];N[g+144>>2]=a;N[g+148>>2]=N[p+16>>2];N[g+160>>2]=0;N[g+152>>2]=0;N[g+156>>2]=0;a=ul(i+156|0);b:{if(!(O[a|0]|O[a+1|0]<<8)){a=sl(i+160|0);if(!(O[a|0]|O[a+1|0]<<8)){break b}}e=1;if((N[p>>2]&-2)==4){break b}a=N[Vb(i+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];e=!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))}b=O[g+164|0]&-8|e;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{c=N[g+16>>2];if((c|0)<=1298231906){if((c|0)<=1198877297){if((c|0)<=1130918514){if((c|0)<=1114139506){if((c|0)<=1113681e3){if((c|0)==1097100397|(c|0)==1097363309){break e}if((c|0)==1098015074){break l}a=264680;break c}if((c|0)==1113681001|(c|0)==1113683051){break e}if((c|0)==1113943655){break i}a=264680;break c}if((c|0)<=1114990691){if((c|0)==1114139507|(c|0)==1114792296){break e}a=264680;if((c|0)==1114990441){break e}break c}if((c|0)==1114990692|(c|0)==1130457965){break e}a=264680;if((c|0)==1130914157){break e}break c}if((c|0)<=1164409199){if((c|0)<=1147756906){if((c|0)==1130918515|(c|0)==1131441518){break e}if((c|0)==1147500129){break i}a=264680;break c}if((c|0)==1147756907|(c|0)==1148151666){break e}a=264680;if((c|0)==1148547180){break e}break c}if((c|0)<=1198485094){if((c|0)==1164409200){break e}a=264680;if((c|0)==1164736877){break e}break c}a=264680;switch(c-1198485095|0){case 1:case 2:case 3:case 4:case 5:break c;case 0:case 6:break e;default:break f}}if((c|0)<=1265135465){if((c|0)<=1247901280){if((c|0)<=1214603889){a=264680;m:{switch(c-1214344807|0){case 0:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;case 8:break e;default:break m}}if((c|0)==1198877298|(c|0)==1198879349){break i}break c}a=264680;switch(c-1215131239|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;case 0:case 9:break e;default:break j}}if((c|0)<=1264678760){if((c|0)==1247901281){break e}a=264680;if((c|0)==1264675945){break e}break c}if((c|0)==1264678761|(c|0)==1265131890){break e}a=264680;if((c|0)!=1265134962){break c}a=265128;break c}if((c|0)<=1281716322){if((c|0)<=1265920104){if((c|0)==1265135466|(c|0)==1265202291){break e}if((c|0)==1265525857){break i}a=264680;break c}if((c|0)==1265920105|(c|0)==1281453665){break e}a=264680;if((c|0)!=1281453935){break c}break d}if((c|0)<=1298230112){if((c|0)==1281716323|(c|0)==1281977698){break e}a=264680;if((c|0)==1298229354){break e}break c}a=264680;n:{switch(c-1298230884|0){case 1:case 2:case 3:case 4:break c;case 0:case 5:break e;default:break n}}if((c|0)==1298230113){break e}break c}if((c|0)<=1399809891){if((c|0)<=1333094257){if((c|0)<=1299541107){if((c|0)<=1299145832){if((c|0)==1298231907|(c|0)==1298490470){break e}if((c|0)==1298954605){break i}a=264680;break c}if((c|0)==1299145833|(c|0)==1299148391){break e}a=264680;if((c|0)==1299473769){break e}break c}if((c|0)<=1315008099){if((c|0)==1299541108){break e}if((c|0)==1299803506){break h}a=264680;if((c|0)==1315006317){break e}break c}if((c|0)<=1315663726){if((c|0)==1315008100){break e}a=264680;if((c|0)==1315272545){break e}break c}if((c|0)==1315663727){break e}if((c|0)==1332902241){break i}a=264680;break c}if((c|0)<=1383032934){if((c|0)<=1349284451){if((c|0)==1333094258|(c|0)==1349017959){break e}a=264680;if((c|0)==1349020784){break e}break c}if((c|0)==1349284452){break e}if((c|0)==1365336423){break g}a=264680;if((c|0)==1382706791){break e}break c}if((c|0)<=1399415907){if((c|0)==1383032935|(c|0)==1398895986){break e}a=264680;if((c|0)==1399353956){break e}break c}a=264680;o:{switch(c-1399418468|0){case 1:case 2:case 3:break c;case 0:case 4:break e;default:break o}}if((c|0)==1399415908){break e}break c}if((c|0)<=1415999078){if((c|0)<=1415669601){if((c|0)<=1400204899){a=264680;p:{switch(c-1399809892|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 0:case 11:break e;default:break p}}if((c|0)==1399814511){break e}break c}if((c|0)==1400204900|(c|0)==1400466543){break e}if((c|0)==1400468067){break l}a=264680;break c}if((c|0)<=1415671147){if((c|0)==1415669602|(c|0)==1415670642){break e}a=264680;if((c|0)==1415670885){break e}break c}if((c|0)==1415671148){break i}if((c|0)==1415673460){break e}if((c|0)==1415933045){break i}a=264680;break c}if((c|0)<=1416524640){if((c|0)<=1416126824){if((c|0)==1415999079){break e}a=264680;if((c|0)==1416064103){break e}break c}if((c|0)==1416126825){break d}if((c|0)==1416192628){break e}a=264680;if((c|0)==1416196712){break e}break c}if((c|0)<=1466132590){if((c|0)==1416524641|(c|0)==1416590447){break e}a=264680;if((c|0)==1449751656){break e}break c}if((c|0)==1466132591|(c|0)==1499822697){break e}a=264680;if((c|0)==1516334690){break e}break c}if(!(N[g+56>>2]==1145457748&(c|0)!=1098015074)){a=264792;if((N[g+12>>2]&-2)==4){break c}}a=264680;break c}a=264904;break c}if((c|0)!=1214603890){break c}a=264960;break c}c=N[g+56>>2];if((c|0)==1145457748){a=264680;break c}a=264680;if((c|0)==1818326126){break c}a=(c&255)==51?265016:265072;break c}c=N[g+56>>2];if((c|0)==1145457748){a=264680;break c}if((c|0)==1818326126){a=264680;break c}a=264680;if((c|0)==1836674418){break c}a=265184;break c}a=265240;break c}if((c|0)!=1198678382){break c}}a=N[g+56>>2];a=(a|0)==1145457748?264680:(a|0)==1818326126?264680:265016;break c}a=264848}N[g+168>>2]=a;L[g+164|0]=b|(N[a+48>>2]!=0)<<1|O[a+52|0]<<2;if(!(e^1|(a|0)==264680)){N[g+168>>2]=264736}a=N[g+96>>2];s=N[p+24>>2];m=N[p+20>>2];q:{r:{s:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break r}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break s}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break q}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1920365166;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];t:{u:{v:{e=N[g+104>>2];if((e|0)>=0){a=N[g+108>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break u}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+112>>2],e<<3);if(a){break v}}N[g+104>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break t}N[g+104>>2]=e;N[g+112>>2]=a;a=N[g+108>>2]}if(a>>>0>>0){C(N[g+112>>2]+(a<<3)|0,0,b-a<<3)}N[g+108>>2]=b;b=(N[g+112>>2]+(b<<3)|0)-8|0}a=N[g+84>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+84>>2]=N[g+84>>2]+1;w:{x:{y:{switch(N[g+12>>2]-4|0){case 0:a=N[g+96>>2];z:{A:{B:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break A}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break B}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break z}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1819570785;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];C:{D:{E:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break D}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break E}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break C}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1819570797;c=1;break x;case 1:break y;default:break w}}a=N[g+96>>2];F:{G:{H:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break G}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break H}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break F}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1920232545;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];I:{J:{K:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break J}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break K}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break I}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1920232557;c=0}N[b+16>>2]=c;N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=a;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2]}a=N[g+96>>2];L:{M:{N:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break M}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break N}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break L}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1718772067;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];O:{P:{Q:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break P}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Q}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break O}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1853189490;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];R:{S:{T:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break S}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break T}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break R}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1684959085;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];U:{V:{W:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break V}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break W}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break U}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=255;N[b+8>>2]=255;N[b+12>>2]=33;N[b+4>>2]=a;N[b>>2]=1918987876;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];X:{Y:{Z:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Y}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Z}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break X}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=3;N[b+4>>2]=a;N[b>>2]=1953653099;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];_:{$:{aa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break $}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break aa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break _}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1214345830;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ba:{ca:{da:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break da}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ba}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1212240454;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[N[g+168>>2]>>2];if(a){Qa[a|0](g+8|0)}a=N[g+96>>2];ea:{fa:{ga:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ga}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ea}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1114995322;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ha:{ia:{ja:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ja}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ha}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1112889946;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ka:{la:{ma:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break la}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ma}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ka}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1633842797;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];na:{oa:{pa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break pa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break na}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1651275629;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];qa:{ra:{sa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break sa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break qa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1667460464;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ta:{ua:{va:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ua}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break va}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ta}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1819239276;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];wa:{xa:{ya:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break xa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ya}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break wa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=a;N[b>>2]=1835102827;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];za:{Aa:{Ba:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Aa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ba}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break za}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=a;N[b>>2]=1835756907;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ca:{Da:{Ea:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Da}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ea}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ca}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1919707495;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];b=a+1|0;c=(b|0)>0?b:0;b=N[g+92>>2];Fa:{if((N[g+12>>2]&-2)==4){Ga:{Ha:{Ia:{if((b|0)>=0){if(b>>>0>=c>>>0){break Ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ia}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ga}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1667329140;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ja:{Ka:{La:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break La}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ja}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1668049255;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ma:{Na:{Oa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Na}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Oa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ma}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1668641395;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Pa:{Qa:{Ra:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ra}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Pa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1684632436;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Sa:{Ta:{Ua:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ua}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Sa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=3;N[b+4>>2]=a;N[b>>2]=1801810542;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Va:{Wa:{Xa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Xa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Va}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1818847073;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ya:{Za:{_a:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Za}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break _a}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ya}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1919118452;c=1;break Fa}$a:{ab:{bb:{if((b|0)>=0){if(b>>>0>=c>>>0){break ab}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break bb}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break $a}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1986359924;c=17}N[b+16>>2]=1;N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=a;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];cb:{if(!s){break cb}while(1){a=m+(h<<4)|0;f=N[a>>2];d=0;d=N[a+8>>2]?d:N[a+12>>2]==-1;if(f){e=N[a+4>>2];a=N[g+96>>2];db:{eb:{fb:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break eb}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break fb}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break db}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+12>>2]=d;N[b+8>>2]=e;N[b+4>>2]=a;N[b>>2]=f;N[b+16>>2]=d?e:0;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2]}h=h+1|0;if((s|0)!=(h|0)){continue}break}if(!(L[g+164|0]&1)){break cb}c=0;while(1){a=m+(c<<4)|0;k=N[a+4>>2];f=N[a>>2];a=Nf(N[g+128>>2]+180|0);gb:{if(!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))){break gb}if((f|0)!=1633774708){b=77;a=0;while(1){hb:{e=a+b>>>1|0;h=e<<4;d=N[h+236864>>2];ib:{if(d>>>0>f>>>0){b=e-1|0;break ib}if(d>>>0>=f>>>0){break hb}a=e+1|0}if((a|0)<=(b|0)){continue}break gb}break}b=Nf(N[g+128>>2]+180|0);q=N[h+236868>>2];a=O[b+4|0]|O[b+5|0]<<8;jb:{if(a){e=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;i=e+T(f,12)|0;d=O[i|0]|O[i+1|0]<<8;d=(d<<8|d>>>8)&65535;kb:{if((d|0)>(q|0)){b=f-1|0;break kb}if((d|0)==(q|0)){break jb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}i=275552}if(!(O[i+2|0]|O[i+3|0]<<8)){if((q|0)!=37|N[h+236872>>2]!=1){break gb}b=Nf(N[g+128>>2]+180|0);a=O[b+4|0]|O[b+5|0]<<8;lb:{if(a){d=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;i=d+T(f,12)|0;e=O[i|0]|O[i+1|0]<<8;mb:{if(((e<<8|e>>>8)&65535)>>>0>=4){b=f-1|0;break mb}if((e|0)==768){break lb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}i=275552}if(!(O[i+2|0]|O[i+3|0]<<8)){break gb}}b=N[g+156>>2];nb:{ob:{pb:{e=N[g+152>>2];if((e|0)>=0){a=b+1|0;a=(a|0)>0?a:0;if(a>>>0<=e>>>0){break ob}while(1){e=((e>>>1|0)+e|0)+8|0;if(a>>>0>=e>>>0){continue}break}if(e>>>0<=268435455){b=$a(N[g+160>>2],e<<4);if(b){break pb}b=N[g+156>>2]}N[g+152>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break nb}N[g+152>>2]=e;N[g+160>>2]=b;b=N[g+156>>2]}if(a>>>0>b>>>0){C(N[g+160>>2]+(b<<4)|0,0,a-b<<4)}N[g+156>>2]=a;b=a;a=(N[g+160>>2]+(b<<4)|0)-16|0}N[a+12>>2]=b;N[a>>2]=q;N[a+4>>2]=N[(h|(k?8:12))+236864>>2];L[a+8|0]=((O[i+8|0]|O[i+9|0]<<8)&128)>>>7;break gb}b=Nf(N[g+128>>2]+180|0);a=O[b+4|0]|O[b+5|0]<<8;qb:{if(a){d=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;h=d+T(f,12)|0;e=O[h|0]|O[h+1|0]<<8;rb:{if(((e<<8|e>>>8)&65535)>>>0>=18){b=f-1|0;break rb}if((e|0)==4352){break qb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}h=275552}if(!(O[h+2|0]|O[h+3|0]<<8)){break gb}b=N[g+156>>2];sb:{tb:{ub:{e=N[g+152>>2];if((e|0)>=0){a=b+1|0;a=(a|0)>0?a:0;if(a>>>0<=e>>>0){break tb}while(1){e=((e>>>1|0)+e|0)+8|0;if(a>>>0>=e>>>0){continue}break}if(e>>>0<=268435455){b=$a(N[g+160>>2],e<<4);if(b){break ub}b=N[g+156>>2]}N[g+152>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break sb}N[g+152>>2]=e;N[g+160>>2]=b;b=N[g+156>>2]}if(a>>>0>b>>>0){C(N[g+160>>2]+(b<<4)|0,0,a-b<<4)}N[g+156>>2]=a;b=a;a=(N[g+160>>2]+(b<<4)|0)-16|0}N[a+12>>2]=b;N[a+4>>2]=k;N[a>>2]=17;L[a+8|0]=1}c=c+1|0;if((s|0)!=(c|0)){continue}break}}a=N[g+168>>2];b=N[a+4>>2];if(b){Qa[b|0](g+8|0);a=N[g+168>>2]}b=N[g+16>>2];N[j>>2]=N[g+12>>2];N[j+4>>2]=b;N[j+16>>2]=N[g+28>>2];b=N[g+24>>2];N[j+8>>2]=N[g+20>>2];N[j+12>>2]=b;N[j+36>>2]=-2147483648;N[j+20>>2]=a;N[g+184>>2]=0;N[g+188>>2]=0;N[j+24>>2]=N[g+56>>2];L[j+32|0]=O[g+64|0];ck(N[g+32>>2],1196643650,N[g+68>>2],N[g+76>>2],g+172|0,g+196|0);N[j+28>>2]=N[g+60>>2];L[j+33|0]=O[g+65|0];ck(N[g+32>>2],1196445523,N[g+72>>2],N[g+80>>2],g+176|0,g+200|0);a=N[g+96>>2];vb:{if(!a){break vb}vq(N[g+100>>2],a,28);e=1;k=N[g+96>>2];wb:{if(k>>>0<=1){h=0;break wb}d=N[g+100>>2];h=0;while(1){i=d+T(e,28)|0;f=d+T(h,28)|0;xb:{if(N[i>>2]!=N[f>>2]){a=N[i+4>>2];h=h+1|0;b=d+T(h,28)|0;N[b>>2]=N[i>>2];N[b+4>>2]=a;N[b+24>>2]=N[i+24>>2];a=N[i+20>>2];N[b+16>>2]=N[i+16>>2];N[b+20>>2]=a;a=N[i+12>>2];N[b+8>>2]=N[i+8>>2];N[b+12>>2]=a;break xb}c=N[f+12>>2];yb:{if(L[i+12|0]&1){c=c|1;N[f+12>>2]=c;N[f+8>>2]=N[i+8>>2];N[f+16>>2]=N[i+16>>2];break yb}if(c&1){c=c^1;N[f+12>>2]=c}b=N[f+8>>2];a=N[i+8>>2];N[f+8>>2]=a>>>0>>0?b:a}N[f+12>>2]=N[i+12>>2]&2|c;b=N[f+20>>2];a=N[i+20>>2];N[f+20>>2]=a>>>0>b>>>0?b:a;b=N[f+24>>2];a=N[i+24>>2];N[f+24>>2]=a>>>0>b>>>0?b:a}e=e+1|0;if((k|0)!=(e|0)){continue}break}k=N[g+96>>2]}a=h+1|0;a=(a|0)>0?a:0;if(a>>>0>>0){N[g+96>>2]=a;k=a}if(!k){break vb}q=g+212|0;f=0;c=4;e=0;while(1){zb:{if(Q[g+96>>2]<=e>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break zb}l=N[g+100>>2]+T(e,28)|0;b=N[l+8>>2];Ab:{if(L[l+12|0]&1){a=0;if((b|0)==1){break Ab}}if(!b){break zb}a=32-W(b)|0;a=a>>>0>=8?8:a}i=a+c|0;if(i>>>0>30){break zb}a=N[l>>2];f=(a|0)==N[g+196>>2]?N[l+20>>2]:f;b=Ff(N[g+32>>2],1196643650,N[g+68>>2],N[g+76>>2],a,g+208|0);a=N[l>>2];u=(a|0)==N[g+200>>2]?N[l+24>>2]:u;w=0;Bb:{if(Ff(N[g+32>>2],1196445523,N[g+72>>2],N[g+80>>2],a,q)|b){break Bb}a=N[l+12>>2];if(a&16){b=N[l>>2];a=275552;d=N[Vb(N[g+32>>2]+144|0)>>2];d=d?d:275552;o=Q[d+16>>2]<4?275552:N[d+12>>2];Cb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Cb}d=O[o+6|0]|O[o+7|0]<<8;if(!d){break Cb}a=o+((d<<8|d>>>8)&65535)|0}h=65535;a=O[a|0]|O[a+1|0]<<8;Db:{if(!a){r=0;break Db}r=1;t=(a<<8|a>>>8)&65535;s=t>>>0<=1?1:t;a=0;while(1){d=275552;Eb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Eb}m=O[o+6|0]|O[o+7|0]<<8;d=275552;if(!m){break Eb}d=o+((m<<8|m>>>8)&65535)|0}m=O[d|0]|O[d+1|0]<<8;if(((m<<8|m>>>8)&65535)>>>0>a>>>0){d=(d+T(a,6)|0)+2|0}else{d=275552}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==(b|0)){h=a;break Db}a=a+1|0;r=t>>>0>a>>>0;if((a|0)!=(s|0)){continue}break}}N[g+208>>2]=h;d=N[l>>2];a=275552;b=N[mc(N[g+32>>2]+148|0)>>2];b=b?b:275552;o=Q[b+16>>2]<4?275552:N[b+12>>2];Fb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Fb}b=O[o+6|0]|O[o+7|0]<<8;if(!b){break Fb}a=o+((b<<8|b>>>8)&65535)|0}b=65535;a=O[a|0]|O[a+1|0]<<8;Gb:{if(!a){x=0;break Gb}x=1;t=(a<<8|a>>>8)&65535;s=t>>>0<=1?1:t;a=0;while(1){h=275552;Hb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Hb}m=O[o+6|0]|O[o+7|0]<<8;h=275552;if(!m){break Hb}h=o+((m<<8|m>>>8)&65535)|0}m=O[h|0]|O[h+1|0]<<8;if(((m<<8|m>>>8)&65535)>>>0>a>>>0){h=(h+T(a,6)|0)+2|0}else{h=275552}h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))==(d|0)){b=a;break Gb}a=a+1|0;x=t>>>0>a>>>0;if((a|0)!=(s|0)){continue}break}}N[g+212>>2]=b;if((r|x)&1){break Bb}a=N[l+12>>2]}w=1;if(!(a&2)){break zb}}Ib:{Jb:{Kb:{h=N[j+40>>2];if((h|0)>=0){d=N[j+44>>2];a=d+1|0;b=(a|0)>0?a:0;if(b>>>0<=h>>>0){break Jb}while(1){h=((h>>>1|0)+h|0)+8|0;if(b>>>0>=h>>>0){continue}break}if(h>>>0<=119304647){a=$a(N[j+48>>2],T(h,36));if(a){break Kb}}N[j+40>>2]=-1}N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147464]=0;a=589824;b=0;break Ib}N[j+40>>2]=h;N[j+48>>2]=a;d=N[j+44>>2]}if(b>>>0>d>>>0){C(N[j+48>>2]+T(d,36)|0,0,T(b-d|0,36))}N[j+44>>2]=b;a=(N[j+48>>2]+T(b,36)|0)-36|0;b=O[a+32|0]}N[a>>2]=N[l>>2];N[a+4>>2]=N[g+208>>2];N[a+8>>2]=N[g+212>>2];N[a+12>>2]=N[l+20>>2];N[a+16>>2]=N[l+24>>2];b=(O[l+12|0]>>>1&2|b&-3)^2;L[a+32|0]=b;b=(O[l+12|0]>>>1&4|b&-5)^4;L[a+32|0]=b;b=b&-9|O[l+12|0]>>>2&8;L[a+32|0]=b;h=b&-17|O[l+12|0]>>>2&16;L[a+32|0]=h;Lb:{if(!(!(L[l+12|0]&1)|N[l+8>>2]!=1)){b=-2147483648;i=c;c=31;break Lb}b=(1<>2]=N[j+36>>2]|b&N[l+16>>2]<>2]=b;N[a+20>>2]=c;L[a+32|0]=h&254|w;N[a+28>>2]=1<>2]=u;N[g+184>>2]=f}Mb:{Nb:{Ob:{e=N[g+104>>2];if((e|0)>=0){a=N[g+108>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break Nb}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+112>>2],e<<3);if(a){break Ob}}N[g+104>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break Mb}N[g+104>>2]=e;N[g+112>>2]=a;a=N[g+108>>2]}if(a>>>0>>0){C(N[g+112>>2]+(a<<3)|0,0,b-a<<3)}N[g+108>>2]=b;b=(N[g+112>>2]+(b<<3)|0)-8|0}a=N[g+84>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+84>>2]=N[g+84>>2]+1;Pb:{Qb:{Rb:{e=N[g+116>>2];if((e|0)>=0){a=N[g+120>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break Qb}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+124>>2],e<<3);if(a){break Rb}}N[g+116>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break Pb}N[g+116>>2]=e;N[g+124>>2]=a;a=N[g+120>>2]}if(a>>>0>>0){C(N[g+124>>2]+(a<<3)|0,0,b-a<<3)}N[g+120>>2]=b;b=(N[g+124>>2]+(b<<3)|0)-8|0}I=p+28|0;a=N[g+88>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+88>>2]=N[g+88>>2]+1;h=1;b=0;while(1){y=b<<2;E=y+g|0;if(N[E+84>>2]){a=T(b,12);n=a+j|0;G=y+238176|0;H=y+I|0;A=a+(g+8|0)|0;p=y+(g+184|0)|0;l=y+(g+172|0)|0;r=0;f=0;w=0;while(1){s=N[l>>2];Sb:{if((s|0)==65535|N[p>>2]!=(r|0)){break Sb}m=N[H>>2];b=N[g+32>>2];i=0;c=0;u=N[G>>2];Tb:{Ub:{if((u|0)!=1196445523){a=275552;if((u|0)!=1196643650){break Tb}a=Vb(b+144|0);break Ub}a=mc(b+148|0)}a=N[a>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2]}if((O[a|0]|O[a+1|0]<<8)==256){b=O[a+8|0]|O[a+9|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8;c=(a<<8|a>>>8)&65535}while(1){N[g+204>>2]=32;bk(N[g+32>>2],u,s,m,i,g+204|0,g+208|0);b=0;a=N[g+204>>2];if(!a){break Sb}while(1){e=N[(g+208|0)+(b<<2)>>2];if(e>>>0>>0){Vb:{Wb:{Xb:{k=N[n+52>>2];if((k|0)>=0){d=N[n+56>>2];a=d+1|0;q=(a|0)>0?a:0;if(q>>>0<=k>>>0){break Wb}while(1){k=((k>>>1|0)+k|0)+8|0;if(q>>>0>=k>>>0){continue}break}if(k>>>0<=357913941){a=$a(N[n+60>>2],T(k,12));if(a){break Xb}}N[n+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;a=589824;d=0;break Vb}N[n+60>>2]=a;N[n+52>>2]=k;d=N[n+56>>2]}if(d>>>0>>0){C(N[n+60>>2]+T(d,12)|0,0,T(q-d|0,12))}N[n+56>>2]=q;a=(N[n+60>>2]+T(q,12)|0)-12|0;d=O[a+2|0]}M[a>>1]=e;N[a+4>>2]=-2147483648;N[a+8>>2]=538976288;L[a+2|0]=d&240|3;a=N[g+204>>2]}b=b+1|0;if(b>>>0>>0){continue}break}i=a+i|0;if((a|0)==32){continue}break}}a=N[j+44>>2];if(a){e=N[j+48>>2];o=e+T(a,36)|0;while(1){a=e+y|0;Yb:{if(N[a+12>>2]!=(r|0)){break Yb}t=N[a+4>>2];q=N[e>>2];b=O[e+32|0];u=N[e+24>>2];s=N[H>>2];d=N[g+32>>2];x=0;c=0;B=N[G>>2];Zb:{_b:{if((B|0)!=1196445523){a=275552;if((B|0)!=1196643650){break Zb}a=Vb(d+144|0);break _b}a=mc(d+148|0)}a=N[a>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2]}if((O[a|0]|O[a+1|0]<<8)==256){c=O[a+8|0]|O[a+9|0]<<8;if(c){a=a+((c<<8|c>>>8)&65535)|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8;c=(a<<8|a>>>8)&65535}m=b>>>1&15;while(1){N[g+204>>2]=32;bk(N[g+32>>2],B,t,s,x,g+204|0,g+208|0);b=0;a=N[g+204>>2];if(!a){break Yb}while(1){i=N[(g+208|0)+(b<<2)>>2];if(i>>>0>>0){$b:{ac:{bc:{k=N[n+52>>2];if((k|0)>=0){d=N[n+56>>2];a=d+1|0;z=(a|0)>0?a:0;if(z>>>0<=k>>>0){break ac}while(1){k=((k>>>1|0)+k|0)+8|0;if(z>>>0>=k>>>0){continue}break}if(k>>>0<=357913941){a=$a(N[n+60>>2],T(k,12));if(a){break bc}}N[n+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;a=589824;d=0;break $b}N[n+60>>2]=a;N[n+52>>2]=k;d=N[n+56>>2]}if(d>>>0>>0){C(N[n+60>>2]+T(d,12)|0,0,T(z-d|0,12))}N[n+56>>2]=z;a=(N[n+60>>2]+T(z,12)|0)-12|0;d=O[a+2|0]}N[a+8>>2]=q;M[a>>1]=i;N[a+4>>2]=u;L[a+2|0]=d&240|m;a=N[g+204>>2]}b=b+1|0;if(b>>>0>>0){continue}break}x=a+x|0;if((a|0)==32){continue}break}}e=e+36|0;if((o|0)!=(e|0)){continue}break}}a=N[n+56>>2];cc:{if(f>>>0>=a>>>0){f=a;break cc}c=a-f|0;b=a>>>0>=c>>>0?c:0;b=b>>>0>>0?b:c;if(b){uq(N[n+60>>2]+T(f,12)|0,b,12);a=N[n+56>>2]}b=f+1|0;if(b>>>0>>0){while(1){c=N[n+60>>2];d=T(b,12);i=c+d|0;a=T(f,12);e=a+c|0;dc:{if(P[i>>1]!=P[e>>1]){a=N[i+4>>2];f=f+1|0;c=c+T(f,12)|0;N[c>>2]=N[i>>2];N[c+4>>2]=a;N[c+8>>2]=N[i+8>>2];break dc}N[e+4>>2]=N[e+4>>2]|N[i+4>>2];L[e+2|0]=O[e+2|0]&(O[i+2|0]|254);c=N[n+60>>2];a=c+a|0;L[a+2|0]=O[a+2|0]&(O[(c+d|0)+2|0]|253)}a=N[n+56>>2];b=b+1|0;if(a>>>0>b>>>0){continue}break}b=f+1|0}f=a;a=(b|0)>0?b:0;if(f>>>0<=a>>>0){break cc}N[n+56>>2]=a;f=a}ec:{if(Q[A+100>>2]<=w>>>0){break ec}b=w<<3;if(N[b+N[A+104>>2]>>2]!=(r|0)){break ec}fc:{gc:{hc:{d=N[n+76>>2];if((d|0)>=0){e=N[n+80>>2];a=e+1|0;c=(a|0)>0?a:0;if(c>>>0<=d>>>0){break gc}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){a=$a(N[n+84>>2],d<<3);if(a){break hc}}N[n+76>>2]=-1}N[147456]=0;N[147457]=0;a=589824;break fc}N[n+84>>2]=a;N[n+76>>2]=d;e=N[n+80>>2]}if(c>>>0>e>>>0){C(N[n+84>>2]+(e<<3)|0,0,c-e<<3)}N[n+80>>2]=c;a=(N[n+84>>2]+(c<<3)|0)-8|0}N[a>>2]=f;ic:{if(Q[A+100>>2]<=w>>>0){N[147456]=0;N[147457]=0;b=0;break ic}b=N[(b+N[A+104>>2]|0)+4>>2]}N[a+4>>2]=b;w=w+1|0}r=r+1|0;if(r>>>0>2]){continue}break}}b=1;a=h;h=0;if(a){continue}break}jc:{if(!(L[g+164|0]&1)){break jc}a=N[g+156>>2];kc:{if(!a){break kc}Hj(N[g+160>>2],a);a=N[g+156>>2];lc:{if(a>>>0<=1){e=0;break lc}e=0;while(1){f=a>>>0>b>>>0;mc:{if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=0;break mc}c=N[N[g+160>>2]+(b<<4)>>2]}d=a>>>0>e>>>0;nc:{if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;h=0;break nc}h=N[N[g+160>>2]+(e<<4)>>2]}oc:{if((c|0)==(h|0)){pc:{if(a>>>0>b>>>0){c=N[g+160>>2]+(b<<4)|0;if(O[c+8|0]){break oc}c=N[c+4>>2];break pc}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=0}qc:{if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=0;break qc}d=N[(N[g+160>>2]+(e<<4)|0)+4>>2]}if((c^d)>>>0<2){break oc}}rc:{if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=589824;break rc}c=N[g+160>>2]+(b<<4)|0}e=e+1|0;sc:{if(e>>>0>=a>>>0){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break sc}a=N[g+160>>2]+(e<<4)|0}d=N[c+4>>2];N[a>>2]=N[c>>2];N[a+4>>2]=d;d=N[c+12>>2];N[a+8>>2]=N[c+8>>2];N[a+12>>2]=d;a=N[g+156>>2]}b=b+1|0;if(b>>>0>>0){continue}break}}b=a;a=e+1|0;a=(a|0)>0?a:0;if(b>>>0<=a>>>0){break kc}N[g+156>>2]=a}b=ul(N[g+128>>2]+156|0);if(O[b|0]|O[b+1|0]<<8){a=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(!a){break jc}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);t=a>>>0<=1?1:a;h=b+8|0;f=0;while(1){a=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);r=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);if(a){a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);q=a>>>0<=1?1:a;u=h+16|0;i=0;while(1){l=(i|0)<0?275552:u+T(i,12)|0;e=O[l+2|0]|O[l+3|0]<<8;c=(e<<8|e>>>8)&65535;b=O[l|0]|O[l+1|0]<<8;d=(b<<8|b>>>8)&65535;a=N[g+156>>2];tc:{uc:{vc:{if((a|0)>0){e=a-1|0;s=N[g+160>>2];b=d;a=c;while(1){c=a;d=b;b=0;a=e;while(1){wc:{xc:{o=a+b>>>1|0;m=s+(o<<4)|0;k=N[m>>2];yc:{if((k|0)!=(d|0)){if((d|0)>=(k|0)){break yc}break xc}k=N[m+4>>2];if((k|0)==(c|0)){break uc}if((c|0)<(k|0)){break xc}}b=o+1|0;break wc}a=o-1|0}if((a|0)>=(b|0)){continue}break}if((d|0)!=3){break vc}a=1;b=37;if((c|0)==3){continue}break}break vc}if((b|0)!=768){break vc}if((e|0)==768){break tc}}if(!c|(d|0)!=39){break tc}d=N[g+128>>2];b=N[d+176>>2];zc:{if(b){break zc}while(1){b=N[d+48>>2];if(!b){b=275552;break zc}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;e=N[b+32>>2];if((e|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;e=(a<<8|a>>>8)&65535;N[b+32>>2]=e}L[g+248|0]=1;N[g+244>>2]=e;a=N[b+12>>2];Ac:{if(a){b=Qa[a|0](b,1819566439,N[b+16>>2])|0;if(b){break Ac}}b=275552}a=ql(g+208|0,b);b=N[d+176>>2];Bc:{if(a){if(b){break Bc}b=a;N[d+176>>2]=b;break zc}if(b){break zc}b=275552;N[d+176>>2]=275552;break zc}if((a|0)==275552){break zc}ab(a);b=N[d+176>>2];if(!b){continue}break}}e=275552;k=Q[b+16>>2]<12?275552:N[b+12>>2];a=O[k+8|0]|O[k+9|0]<<8|(O[k+10|0]<<16|O[k+11|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=c-1|0;if(b>>>0>a>>>0){e=(k+(a<<2)|0)+12|0}b=0;Cc:{if(!k){break Cc}d=O[e+2|0]|O[e+3|0]<<8;if(!d){break Cc}a=O[e|0]|O[e+1|0]<<8;a=k+((a<<8|a>>>8)&65535)|0;if(!O[a|0]){break Cc}c=g+208|0;e=a;a=(d<<8|d>>>8)&65535;a=a>>>0>=63?63:a;F(c,e,a);L[a+c|0]=0;a=ie(c);if(!a){break Cc}b=N[a+4>>2]}c=N[g+140>>2];if((c|0)==(b|0)){break uc}if(!b|!c){break tc}a=nb(b);if(nb(c)>>>0>>0){break tc}if(bb(b,c,a)){break tc}a=O[a+c|0];if((a|0)==45){break uc}if(a){break tc}}a=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);b=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))&r;a=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);r=b|(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}i=i+1|0;if((q|0)!=(i|0)){continue}break}}Dc:{Ec:{Fc:{b=N[j+100>>2];if((b|0)>=0){e=N[j+104>>2];a=e+1|0;if(b>>>0>=a>>>0){d=N[j+108>>2];break Ec}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=a>>>0){continue}break}if(b>>>0<=1073741823){d=$a(N[j+108>>2],b<<2);if(d){break Fc}}N[j+100>>2]=-1}N[147456]=0;break Dc}N[j+100>>2]=b;N[j+108>>2]=d;e=N[j+104>>2];a=e+1|0}N[j+104>>2]=a;N[(e<<2)+d>>2]=r}a=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0;f=f+1|0;if((t|0)!=(f|0)){continue}break}break jc}b=sl(N[g+128>>2]+160|0);if(!(O[b|0]|O[b+1|0]<<8)){break jc}a=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(!a){break jc}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);t=a>>>0<=1?1:a;h=b+8|0;f=0;while(1){a=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);r=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[h+8|0]|O[h+9|0]<<8;if(a){a=(a<<8|a>>>8)&65535;q=a>>>0<=1?1:a;u=h+12|0;i=0;while(1){l=u+T(i,12)|0;e=O[l+2|0]|O[l+3|0]<<8;c=(e<<8|e>>>8)&65535;b=O[l|0]|O[l+1|0]<<8;d=(b<<8|b>>>8)&65535;a=N[g+156>>2];Gc:{Hc:{Ic:{if((a|0)>0){e=a-1|0;s=N[g+160>>2];b=d;a=c;while(1){c=a;d=b;b=0;a=e;while(1){Jc:{Kc:{o=a+b>>>1|0;m=s+(o<<4)|0;k=N[m>>2];Lc:{if((k|0)!=(d|0)){if((d|0)>=(k|0)){break Lc}break Kc}k=N[m+4>>2];if((k|0)==(c|0)){break Hc}if((c|0)<(k|0)){break Kc}}b=o+1|0;break Jc}a=o-1|0}if((a|0)>=(b|0)){continue}break}if((d|0)!=3){break Ic}a=1;b=37;if((c|0)==3){continue}break}break Ic}if((b|0)!=768){break Ic}if((e|0)==768){break Gc}}if(!c|(d|0)!=39){break Gc}d=N[g+128>>2];b=N[d+176>>2];Mc:{if(b){break Mc}while(1){b=N[d+48>>2];if(!b){b=275552;break Mc}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;e=N[b+32>>2];if((e|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;e=(a<<8|a>>>8)&65535;N[b+32>>2]=e}L[g+248|0]=1;N[g+244>>2]=e;a=N[b+12>>2];Nc:{if(a){b=Qa[a|0](b,1819566439,N[b+16>>2])|0;if(b){break Nc}}b=275552}a=ql(g+208|0,b);b=N[d+176>>2];Oc:{if(a){if(b){break Oc}b=a;N[d+176>>2]=b;break Mc}if(b){break Mc}b=275552;N[d+176>>2]=275552;break Mc}if((a|0)==275552){break Mc}ab(a);b=N[d+176>>2];if(!b){continue}break}}e=275552;k=Q[b+16>>2]<12?275552:N[b+12>>2];a=O[k+8|0]|O[k+9|0]<<8|(O[k+10|0]<<16|O[k+11|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=c-1|0;if(b>>>0>a>>>0){e=(k+(a<<2)|0)+12|0}b=0;Pc:{if(!k){break Pc}d=O[e+2|0]|O[e+3|0]<<8;if(!d){break Pc}a=O[e|0]|O[e+1|0]<<8;a=k+((a<<8|a>>>8)&65535)|0;if(!O[a|0]){break Pc}c=g+208|0;e=a;a=(d<<8|d>>>8)&65535;a=a>>>0>=63?63:a;F(c,e,a);L[a+c|0]=0;a=ie(c);if(!a){break Pc}b=N[a+4>>2]}c=N[g+140>>2];if((c|0)==(b|0)){break Hc}if(!b|!c){break Gc}a=nb(b);if(nb(c)>>>0>>0){break Gc}if(bb(b,c,a)){break Gc}a=O[a+c|0];if((a|0)==45){break Hc}if(a){break Gc}}a=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);b=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))&r;a=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);r=b|(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}i=i+1|0;if((q|0)!=(i|0)){continue}break}}Qc:{Rc:{Sc:{b=N[j+100>>2];if((b|0)>=0){e=N[j+104>>2];a=e+1|0;if(b>>>0>=a>>>0){d=N[j+108>>2];break Rc}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=a>>>0){continue}break}if(b>>>0<=1073741823){d=$a(N[j+108>>2],b<<2);if(d){break Sc}}N[j+100>>2]=-1}N[147456]=0;break Qc}N[j+100>>2]=b;N[j+108>>2]=d;e=N[j+104>>2];a=e+1|0}N[j+104>>2]=a;N[(e<<2)+d>>2]=r}a=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0;f=f+1|0;if((t|0)!=(f|0)){continue}break}}m=N[j+48>>2];b=j;Tc:{Uc:{Vc:{Wc:{k=N[b+44>>2];if((k|0)>0){d=0;a=k-1|0;e=a;Xc:{Yc:{while(1){f=d+e>>>1|0;c=N[m+T(f,36)>>2];Zc:{if(c>>>0>=1718772068){e=f-1|0;break Zc}if((c|0)==1718772067){break Yc}d=f+1|0}if((d|0)<=(e|0)){continue}break}f=0;break Xc}f=N[(m+T(f,36)|0)+28>>2]}N[j+116>>2]=f;d=0;e=a;while(1){i=d+e>>>1|0;c=N[m+T(i,36)>>2];_c:{if(c>>>0>=1853189491){e=i-1|0;break _c}if((c|0)==1853189490){break Wc}d=i+1|0}if((d|0)<=(e|0)){continue}break}c=0;break Vc}N[j+116>>2]=0;N[j+120>>2]=0;N[j+124>>2]=0;N[j+128>>2]=0;c=P[j+140>>1]&-5;M[j+140>>1]=c;f=j+140|0;break Uc}c=N[(m+T(i,36)|0)+28>>2]}N[b+120>>2]=c;d=0;e=a;$c:{ad:{while(1){i=d+e>>>1|0;b=N[m+T(i,36)>>2];bd:{if(b>>>0>=1684959086){e=i-1|0;break bd}if((b|0)==1684959085){break ad}d=i+1|0}if((d|0)<=(e|0)){continue}break}b=0;break $c}b=N[(m+T(i,36)|0)+28>>2]}N[j+124>>2]=b;cd:{dd:{if(f){f=j+140|0;h=P[j+140>>1];break dd}f=j+140|0;h=P[j+140>>1];d=0;if(!((c|0)!=0&(b|0)!=0)){break cd}}d=4}c=d|h&-5;M[f>>1]=c;d=0;e=a;ed:{fd:{while(1){i=d+e>>>1|0;b=N[m+T(i,36)>>2];gd:{if(b>>>0>=1920232558){e=i-1|0;break gd}if((b|0)==1920232557){break fd}d=i+1|0}if((d|0)<=(e|0)){continue}break}b=0;break ed}b=N[(m+T(i,36)|0)+28>>2]}N[j+128>>2]=b;e=0;while(1){hd:{d=a+e>>>1|0;b=N[m+T(d,36)>>2];id:{if(b>>>0>=1986359925){a=d-1|0;break id}if((b|0)==1986359924){break hd}e=d+1|0}if((a|0)>=(e|0)){continue}break Uc}break}a=8;if(N[(m+T(d,36)|0)+28>>2]){break Tc}}a=0}b=a|c&-9;M[f>>1]=b;i=(N[g+12>>2]&-2)==4?1801810542:1986753134;e=0;jd:{kd:{ld:{md:{if((k|0)<=0){N[j+132>>2]=0;c=b&65534;break md}d=k-1|0;h=d;nd:{od:{while(1){c=e+h>>>1|0;a=N[m+T(c,36)>>2];pd:{if(a>>>0>i>>>0){h=c-1|0;break pd}if(a>>>0>=i>>>0){break od}e=c+1|0}if((e|0)<=(h|0)){continue}break}a=0;break nd}a=N[(m+T(c,36)|0)+24>>2]}N[j+132>>2]=a;e=0;c=b&-2|(a|0)!=0;M[j+140>>1]=c;while(1){b=d+e>>>1|0;a=N[m+T(b,36)>>2];qd:{if(a>>>0>=1953653100){d=b-1|0;break qd}if((a|0)==1953653099){break ld}e=b+1|0}if((d|0)>=(e|0)){continue}break}}N[j+136>>2]=0;break kd}a=N[(m+T(b,36)|0)+24>>2];N[j+136>>2]=a;b=2;if(a){break jd}}b=0}M[f>>1]=b|c&65533;e=1;rd:{if((k|0)<=0){break rd}e=k-1|0;d=0;sd:{while(1){b=d+e>>>1|0;a=N[m+T(b,36)>>2];td:{if(a>>>0>i>>>0){e=b-1|0;break td}if(a>>>0>=i>>>0){break sd}d=b+1|0}if((d|0)<=(e|0)){continue}break}e=1;break rd}e=N[(m+T(b,36)|0)+8>>2]==65535}i=N[j+28>>2];h=N[N[j+20>>2]+40>>2];c=N[g+8>>2];d=N[c+140>>2];ud:{if(d){break ud}while(1){b=N[c+48>>2];if(!b){d=275552;break ud}a=db(1,4);if(!a){d=275552;N[c+140>>2]=275552;break ud}d=Of(a,b);if(!N[c+140>>2]){N[c+140>>2]=d;break ud}ab(N[d>>2]);_a(d);d=N[c+140>>2];if(!d){continue}break}}a=P[f>>1];b=N[d>>2];b=b?b:275552;b=Q[b+16>>2]<4?275552:N[b+12>>2];if(!(O[b+4|0]|O[b+5|0]<<8?(O[b|0]|O[b+1|0]<<8)==256:0)){a=a|64;M[f>>1]=a}k=1;M[f>>1]=a&57343|(L[g+164|0]&1)<<13;d=N[g+8>>2];b=N[d+164>>2];vd:{if(b){break vd}while(1){b=N[d+48>>2];if(!b){b=275552;break vd}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;c=N[b+32>>2];if((c|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;c=(a<<8|a>>>8)&65535;N[b+32>>2]=c}L[g+248|0]=1;N[g+244>>2]=c;a=N[b+12>>2];wd:{if(a){b=Qa[a|0](b,1801810552,N[b+16>>2])|0;if(b){break wd}}b=275552}a=kl(g+208|0,b);b=N[d+164>>2];xd:{if(a){if(b){break xd}b=a;N[d+164>>2]=b;break vd}if(b){break vd}b=275552;N[d+164>>2]=275552;break vd}if((a|0)==275552){break vd}ab(a);b=N[d+164>>2];if(!b){continue}break}}a=Q[b+16>>2]<8?275552:N[b+12>>2];c=O[a|0]|O[a+1|0]<<8;if(!(L[g+164|0]&1)){a=N[Vb(N[g+8>>2]+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];k=!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))}yd:{zd:{Ad:{Bd:{Cd:{if(!((h|0)!=(i|0)&(h|0)!=0)){a=N[mc(N[g+8>>2]+148|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(!a|k?c:0){break Cd}if(a){break Bd}break zd}if(!c){break zd}}b=P[f>>1]|4096;break Ad}b=P[f>>1]|512}M[f>>1]=b;break yd}b=P[f>>1]}Dd:{if(b&4096|(e^-1)&(b&512)>>>9){break Dd}if(c){b=b|4096;break Dd}b=fh(N[g+8>>2]+136|0);a=P[f>>1];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)?a|1024:a}a=0;k=b&-2049|(b&4608?0:(b^-1)<<1&2048);M[f>>1]=k;Ed:{if(!(O[g+164|0]&2)|b&4096){break Ed}a=32;if(!(b&1024)){break Ed}Fd:{Gd:{Hd:{Id:{Jd:{Kd:{e=fh(N[g+8>>2]+136|0);b=O[e|0]|O[e+1|0]<<8;switch((b<<8|b>>>8)&65535){case 1:break Jd;case 0:break Kd;default:break Fd}}b=O[e+2|0]|O[e+3|0]<<8;if(!b){break Fd}if(O[e+8|0]==1){break Gd}d=(b<<8|b>>>8)&65535;c=d>>>0<=1?1:d;b=e+4|0;e=0;while(1){e=e+1|0;if((c|0)==(e|0)){break Fd}h=b;b=O[b+2|0]|O[b+3|0]<<8;b=h+((b<<8|b>>>8)&65535)|0;if(O[b+4|0]!=1){continue}break}break Id}b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!b){break Fd}if(O[e+13|0]==1){break Gd}c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=c>>>0<=1?1:c;e=e+8|0;d=0;while(1){d=d+1|0;if((b|0)==(d|0)){break Fd}h=e;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=h+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;if(O[e+5|0]!=1){continue}break}break Hd}if(d>>>0>e>>>0){break Gd}break Fd}if(c>>>0<=d>>>0){break Fd}}a=0}k=P[f>>1]}d=k&-33|a;M[j+140>>1]=d;a=N[j+44>>2];Ld:{Md:{if((a|0)<=0){break Md}e=N[j+48>>2];b=a-1|0;a=0;while(1){Nd:{i=a+b>>>1|0;c=N[e+T(i,36)>>2];Od:{if(c>>>0>=1835102828){b=i-1|0;break Od}if((c|0)==1835102827){break Nd}a=i+1|0}if((a|0)<=(b|0)){continue}break Md}break}a=16;if(N[(e+T(i,36)|0)+28>>2]){break Ld}}a=0}b=a|d&-17;M[f>>1]=b;a=0;e=1;Pd:{if(k&4608){d=0;break Pd}d=256;e=0;if(!(k&1024)){break Pd}Qd:{Rd:{Sd:{Td:{Ud:{Vd:{Wd:{Xd:{h=fh(N[g+8>>2]+136|0);b=O[h|0]|O[h+1|0]<<8;switch((b<<8|b>>>8)&65535){case 1:break Wd;case 0:break Xd;default:break Ud}}b=O[h+2|0]|O[h+3|0]<<8;if(!b){break Ud}if(O[h+9|0]&4){break Td}i=(b<<8|b>>>8)&65535;c=i>>>0<=1?1:i;b=h+4|0;h=0;while(1){h=h+1|0;if((c|0)==(h|0)){break Qd}k=b;b=O[b+2|0]|O[b+3|0]<<8;b=k+((b<<8|b>>>8)&65535)|0;if(!(O[b+5|0]&4)){continue}break}break Vd}b=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);if(!b){break Ud}if(O[h+12|0]&64){break Td}c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=c>>>0<=1?1:c;e=h+8|0;h=0;while(1){h=h+1|0;if((b|0)==(h|0)){break Qd}i=e;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=i+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;if(!(O[e+4|0]&64)){continue}break}break Sd}b=P[f>>1];if(h>>>0>>0){break Rd}break Pd}b=P[f>>1];break Pd}b=P[f>>1];break Rd}b=P[f>>1];e=0;if(c>>>0<=h>>>0){break Pd}}d=0;e=1;break Pd}b=P[f>>1];e=0}c=b&-257|d;M[f>>1]=c;c=c&-129|(e?0:O[g+164|0]<<5&128);b=b&8192?c&-257:c;M[f>>1]=b;if(b&2){a=hl(N[g+8>>2]+172|0);a=((O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))!=0)<<14;b=P[f>>1]}M[j+140>>1]=b&49151|a;b=1;a=N[N[j+20>>2]+8>>2];Yd:{if(!a){break Yd}a=Qa[a|0](j)|0;N[j+112>>2]=a;if(a){break Yd}tq(D);if(N[j+104>>2]){N[j+104>>2]=0}_a(N[j+108>>2]);b=0;N[j+108>>2]=0;N[j+100>>2]=0;N[j+104>>2]=0}if(N[g+156>>2]){N[g+156>>2]=0}_a(N[g+160>>2]);N[g+160>>2]=0;N[g+152>>2]=0;N[g+156>>2]=0;if(N[g+96>>2]){N[g+96>>2]=0}_a(N[g+100>>2]);N[g+100>>2]=0;N[g+92>>2]=0;N[g+96>>2]=0;if(N[g+108>>2]){N[g+108>>2]=0}_a(N[g+112>>2]);N[g+112>>2]=0;N[g+104>>2]=0;N[g+108>>2]=0;if(N[g+120>>2]){N[g+120>>2]=0}_a(N[g+124>>2]);N[g+124>>2]=0;N[g+116>>2]=0;N[g+120>>2]=0;if(N[g+108>>2]){N[g+108>>2]=0}_a(N[g+112>>2]);N[g+112>>2]=0;N[g+104>>2]=0;N[g+108>>2]=0;if(N[g+96>>2]){N[g+96>>2]=0}_a(N[g+100>>2]);La=g+336|0;if(b){return v}_a(N[v+36>>2])}_a(v)}return 275552}function xy(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;j=La-48|0;La=j;d=N[a>>2];b=0;a:{if(N[N[d+96>>2]+64>>2]!=40){break a}b=0;if(!O[a+641|0]){break a}b=0;if(O[d+9|0]&32){break a}b=(O[a+340|0]^-1)>>>2&1}M[a+644>>1]=0;L[a+643|0]=b;b=N[a+388>>2];c=P[a+152>>1];f=b+c<<1;f=f>>>0<=30?30:f;if(f>>>0>1]){M[a+188>>1]=f}N[a+656>>2]=0;N[a+648>>2]=0;b=c?(c>>>0<5?50:T(c,10))+(b>>>0<500?50:(b>>>0)/10|0)|0:T(b,22)+300|0;N[a+652>>2]=b;c=N[d+16>>2];N[a+260>>2]=0;c=T(c,100);b=b>>>0>>0?b:c;N[a+660>>2]=b;N[a+652>>2]=b;b:{if(P[a+220>>1]!=P[a+222>>1]){c=116;f=117;d=118;b=115;break b}c=120;f=121;d=122;b=119}N[a+636>>2]=b;N[a+632>>2]=c;N[a+628>>2]=f;N[a+624>>2]=d;N[a+404>>2]=N[a+392>>2];N[a+504>>2]=N[a+492>>2];N[a+356>>2]=N[a+360>>2];d=M[a+302>>1];c:{if((d&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;c=b;break c}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;c=P[a+298>>1];break c}c=M[a+298>>1];b=T(b,M[a+300>>1])+T(d,c)>>14;N[a+596>>2]=b}d:{if((c&65535)==16384){N[a+604>>2]=123;break d}if(P[a+300>>1]==16384){N[a+604>>2]=124;break d}N[a+604>>2]=125}e:{if(P[a+294>>1]==16384){N[a+608>>2]=123;break e}if(P[a+296>>1]==16384){N[a+608>>2]=124;break e}N[a+608>>2]=126}N[a+620>>2]=127;N[a+616>>2]=128;f:{if((b|0)!=16384){break f}g:{if((d|0)==16384){f=130;c=129;break g}if(P[a+304>>1]!=16384){break f}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;b=N[a+316>>2];if(!(b&248)){N[a+600>>2]=N[(b<<24>>22)+28520>>2]}x=a+180|0;y=a+144|0;n=a+72|0;o=a+36|0;p=a+108|0;c=N[a+368>>2];h:{i:{while(1){h=N[a+364>>2];i=O[h+c|0];L[a+376|0]=i;f=L[i+26496|0];N[a+380>>2]=f;j:{if((i&254)!=64){d=N[a+372>>2];break j}d=N[a+372>>2];b=c+1|0;if((d|0)<=(b|0)){d=131;break i}f=2-T(O[b+h|0],f)|0;N[a+380>>2]=f}if((c+f|0)>(d|0)){d=131;break i}b=O[i+26752|0];d=b>>>4|0;c=N[a+16>>2]-d|0;N[a+28>>2]=c;if((c|0)<0){if(O[a+593|0]){d=129;break i}if(b>>>0>=16){C(N[a+24>>2],0,(d>>>0<=1?1:d)<<2)}N[a+28>>2]=0;c=0}k:{l:{if((i|0)==145){b=N[N[a>>2]+736>>2];if(!b){g=N[a+32>>2];break k}g=N[b>>2]+c|0;break l}g=(b&15)+c|0}N[a+32>>2]=g}d=130;b=N[a+20>>2];if((b|0)<(g|0)){break i}N[a+12>>2]=0;L[a+384|0]=1;k=N[a+24>>2];e=k+(c<<2)|0;d=135;m:{n:{o:{p:{q:{r:{switch(i|0){case 0:case 1:case 2:case 3:case 4:case 5:c=i<<14&16384;b=c^16384;if(i>>>0<=3){M[a+296>>1]=b;M[a+294>>1]=c;M[a+300>>1]=b;M[a+298>>1]=c}s:{if(i&2){c=P[a+302>>1];break s}M[a+304>>1]=b;M[a+302>>1]=c}t:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break t}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break t}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}f=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;u:{if((b|0)!=16384){break u}v:{if((c&65535)==16384){f=130;c=129;break v}if(P[a+304>>1]!=16384){break u}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 6:case 7:w:{b=P[e+4>>1];if(b>>>0>1]){c=P[e>>1];if(c>>>0>1]){break w}}if(!O[a+593|0]){break q}d=134;break i}c=N[a+88>>2]+(c<<3)|0;d=N[c+4>>2];f=N[a+124>>2]+(b<<3)|0;g=N[f+4>>2];b=d-g|0;e=N[c>>2];f=N[f>>2];c=(e|0)==(f|0)&(d|0)==(g|0);d=c?16384:e-f|0;c=c|!(i&1);f=c?b:d;b=c?d:0-b|0;if(f|b){N[j+16>>2]=f;N[j+12>>2]=b;_b(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}c=P[a+298>>1]|P[a+300>>1]<<16;M[a+294>>1]=c;M[a+296>>1]=c>>>16;d=M[a+302>>1];b=c<<16>>16;x:{if((d&65535)==16384){break x}f=M[a+304>>1];b=c>>16;if((f|0)==16384){break x}b=T(f,c>>16)+T(d,c<<16>>16)>>14}N[a+620>>2]=127;N[a+616>>2]=128;N[a+596>>2]=b;f=(c&-65536)==1073741824;c=(c&65535)==16384;N[a+608>>2]=c?123:f?124:126;N[a+604>>2]=c?123:f?124:125;y:{if((b|0)!=16384){break y}z:{if((d|0)==16384){f=130;c=129;break z}if(P[a+304>>1]!=16384){break y}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 8:case 9:A:{b=P[e+4>>1];if(b>>>0>1]){c=P[e>>1];if(c>>>0>1]){break A}}if(!O[a+593|0]){break q}d=134;break i}c=N[a+88>>2]+(c<<3)|0;d=N[c+4>>2];f=N[a+124>>2]+(b<<3)|0;g=N[f+4>>2];b=d-g|0;e=N[c>>2];f=N[f>>2];c=(e|0)==(f|0)&(d|0)==(g|0);d=c?16384:e-f|0;c=c|!(i&1);f=c?b:d;b=c?d:0-b|0;B:{if(!(f|b)){c=P[a+302>>1];break B}N[j+16>>2]=f;N[j+12>>2]=b;_b(j+12|0);c=N[j+12>>2]/4|0;M[a+302>>1]=c;M[a+304>>1]=N[j+16>>2]/4}C:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break C}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break C}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}f=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;D:{if((b|0)!=16384){break D}E:{if((c&65535)==16384){f=130;c=129;break E}if(P[a+304>>1]!=16384){break D}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 10:b=M[e+4>>1];c=M[e>>1];if(b|c){N[j+16>>2]=b;N[j+12>>2]=c;_b(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}c=P[a+298>>1]|P[a+300>>1]<<16;M[a+294>>1]=c;M[a+296>>1]=c>>>16;d=M[a+302>>1];b=c<<16>>16;F:{if((d&65535)==16384){break F}f=M[a+304>>1];b=c>>16;if((f|0)==16384){break F}b=T(f,c>>16)+T(d,c<<16>>16)>>14}N[a+620>>2]=127;N[a+616>>2]=128;N[a+596>>2]=b;f=(c&-65536)==1073741824;c=(c&65535)==16384;N[a+608>>2]=c?123:f?124:126;N[a+604>>2]=c?123:f?124:125;G:{if((b|0)!=16384){break G}H:{if((d|0)==16384){f=130;c=129;break H}if(P[a+304>>1]!=16384){break G}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 11:b=M[e+4>>1];c=M[e>>1];I:{if(!(b|c)){c=P[a+302>>1];break I}N[j+16>>2]=b;N[j+12>>2]=c;_b(j+12|0);c=N[j+12>>2]/4|0;M[a+302>>1]=c;M[a+304>>1]=N[j+16>>2]/4}J:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break J}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break J}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}f=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;K:{if((b|0)!=16384){break K}L:{if((c&65535)==16384){f=130;c=129;break L}if(P[a+304>>1]!=16384){break K}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 12:b=M[a+298>>1];N[e+4>>2]=M[a+300>>1];N[e>>2]=b;break q;case 13:b=M[a+302>>1];N[e+4>>2]=M[a+304>>1];N[e>>2]=b;break q;case 14:g=P[a+298>>1]|P[a+300>>1]<<16;M[a+302>>1]=g;e=g>>>16|0;M[a+304>>1]=e;c=g<<16>>16;f=123;i=g&65535;M:{if((i|0)==16384){d=123;b=c;break M}d=124;b=16384;if((e|0)==16384){break M}d=125;b=g>>16;b=T(c,c)+T(b,b)>>>14|0}N[a+604>>2]=d;N[a+596>>2]=b;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;N:{if((b|0)!=16384){break N}O:{if((i|0)==16384){f=130;c=129;break O}if((e|0)!=16384){break N}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 15:P:{d=P[e+12>>1];b=P[a+44>>1];Q:{if(d>>>0>=b>>>0){break Q}f=P[e+16>>1];if(f>>>0>=b>>>0){break Q}c=P[e+4>>1];b=P[a+80>>1];if(c>>>0>=b>>>0){break Q}g=P[e+8>>1];if(g>>>0>=b>>>0){break Q}b=P[e>>1];if(b>>>0>1]){break P}}if(!O[a+593|0]){break q}d=134;break i}e=g<<3;g=N[a+88>>2];i=e+g|0;s=N[i>>2];h=g+(c<<3)|0;c=N[h>>2];g=s-c|0;e=f<<3;f=N[a+52>>2];k=e+f|0;u=N[k+4>>2];f=f+(d<<3)|0;e=N[f+4>>2];q=u-e|0;t=0-q|0;l=jb(g,t,64);w=N[i+4>>2];d=N[h+4>>2];i=w-d|0;v=N[k>>2];h=N[f>>2];k=v-h|0;f=l+jb(i,k,64)|0;l=f>>31;r=jb(g,k,64)+jb(i,q,64)|0;q=r>>31;R:{if(((r^q)-q|0)<(T((f^l)-l|0,19)|0)){r=N[a+124>>2];e=jb(h-c|0,t,64)+jb(e-d|0,k,64)|0;W=r+(b<<3)|0,X=jb(e,g,f)+c|0,N[W>>2]=X;c=jb(e,i,f)+d|0;break R}r=N[a+124>>2];N[r+(b<<3)>>2]=(v+(h+(c+s|0)|0)|0)/4;c=(u+(e+(d+w|0)|0)|0)/4|0}N[((b<<3)+r|0)+4>>2]=c;b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|24;break q;case 16:M[a+288>>1]=N[e>>2];break q;case 17:M[a+290>>1]=N[e>>2];break q;case 18:M[a+292>>1]=N[e>>2];break q;case 19:b=x;S:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break S}}c=N[b+4>>2];N[o>>2]=N[b>>2];N[o+4>>2]=c;N[o+32>>2]=N[b+32>>2];c=N[b+28>>2];N[o+24>>2]=N[b+24>>2];N[o+28>>2]=c;c=N[b+20>>2];N[o+16>>2]=N[b+16>>2];N[o+20>>2]=c;c=N[b+12>>2];N[o+8>>2]=N[b+8>>2];N[o+12>>2]=c;M[a+348>>1]=N[e>>2];break q;case 20:b=x;T:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break T}}c=N[b+4>>2];N[n>>2]=N[b>>2];N[n+4>>2]=c;N[n+32>>2]=N[b+32>>2];c=N[b+28>>2];N[n+24>>2]=N[b+24>>2];N[n+28>>2]=c;c=N[b+20>>2];N[n+16>>2]=N[b+16>>2];N[n+20>>2]=c;c=N[b+12>>2];N[n+8>>2]=N[b+8>>2];N[n+12>>2]=c;M[a+350>>1]=N[e>>2];break q;case 21:b=x;U:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break U}}c=N[b+4>>2];N[p>>2]=N[b>>2];N[p+4>>2]=c;N[p+32>>2]=N[b+32>>2];c=N[b+28>>2];N[p+24>>2]=N[b+24>>2];N[p+28>>2]=c;c=N[b+20>>2];N[p+16>>2]=N[b+16>>2];N[p+20>>2]=c;c=N[b+12>>2];N[p+8>>2]=N[b+8>>2];N[p+12>>2]=c;M[a+352>>1]=N[e>>2];break q;case 22:b=x;V:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break V}}c=N[b+4>>2];N[o>>2]=N[b>>2];N[o+4>>2]=c;N[o+32>>2]=N[b+32>>2];c=N[b+28>>2];N[o+24>>2]=N[b+24>>2];N[o+28>>2]=c;c=N[b+20>>2];N[o+16>>2]=N[b+16>>2];N[o+20>>2]=c;c=N[b+12>>2];N[o+8>>2]=N[b+8>>2];N[o+12>>2]=c;N[n+32>>2]=N[b+32>>2];c=N[b+28>>2];N[n+24>>2]=N[b+24>>2];N[n+28>>2]=c;c=N[b+20>>2];N[n+16>>2]=N[b+16>>2];N[n+20>>2]=c;c=N[b+12>>2];N[n+8>>2]=N[b+8>>2];N[n+12>>2]=c;c=N[b+4>>2];N[n>>2]=N[b>>2];N[n+4>>2]=c;N[p+32>>2]=N[b+32>>2];c=N[b+28>>2];N[p+24>>2]=N[b+24>>2];N[p+28>>2]=c;c=N[b+20>>2];N[p+16>>2]=N[b+16>>2];N[p+20>>2]=c;c=N[b+12>>2];N[p+8>>2]=N[b+8>>2];N[p+12>>2]=c;c=N[b+4>>2];N[p>>2]=N[b>>2];N[p+4>>2]=c;b=P[e>>1];M[a+352>>1]=b;M[a+350>>1]=b;M[a+348>>1]=b;break q;case 23:b=N[e>>2];if((b|0)<0){d=132;break i}N[a+308>>2]=b>>>0>=65535?65535:b;break q;case 24:N[a+600>>2]=133;N[a+316>>2]=1;break q;case 25:N[a+600>>2]=134;N[a+316>>2]=0;break q;case 26:N[a+312>>2]=N[e>>2];break q;case 27:b=N[a+368>>2];c=N[a+372>>2];g=1;while(1){b=b+f|0;N[a+368>>2]=b;if((b|0)>=(c|0)){d=131;break i}d=O[b+h|0];L[a+376|0]=d;f=L[d+26496|0];N[a+380>>2]=f;if((d&254)==64){e=b+1|0;if((e|0)>=(c|0)){d=131;break i}f=2-T(O[e+h|0],f)|0;N[a+380>>2]=f}if((c|0)<(b+f|0)){d=131;break i}W:{switch(d-88|0){case 0:g=g+1|0;if(g){continue}break q;case 1:g=g-1|0;break;default:break W}}if(g){continue}break};break q;case 28:b=132;d=c;c=N[e>>2];X:{if(!(d|c)){break X}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break X}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break X}L[a+384|0]=0;if(N[e>>2]>=0){break q}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break q}}N[a+12>>2]=b;break p;case 29:N[a+324>>2]=N[e>>2];break q;case 30:N[a+328>>2]=N[e>>2];break q;case 31:W=a,X=ob(N[e>>2],N[a+264>>2]),N[W+332>>2]=X;break q;case 32:N[e+4>>2]=N[e>>2];break q;case 34:N[a+32>>2]=0;break q;case 35:W=e,X=_E(N[e>>2],N[e+4>>2],32),N[W>>2]=X;N[e+4>>2]=Pa;break q;case 36:N[e>>2]=N[a+16>>2];break q;case 37:b=N[e>>2];Y:{if(!((b|0)>0&(b|0)<=(c|0))){b=0;if(!O[a+593|0]){break Y}N[a+12>>2]=134;N[e>>2]=0;break q}b=N[k+(c-b<<2)>>2]}N[e>>2]=b;break q;case 38:b=N[e>>2];if(!((b|0)>0&(b|0)<=(c|0))){if(!O[a+593|0]){break q}d=134;break i}c=k+(c-b<<2)|0;d=N[c>>2];F(c,c+4|0,(b<<2)-4|0);N[(N[a+24>>2]+(N[a+28>>2]<<2)|0)-4>>2]=d;break q;case 39:Z:{b=P[e>>1];if(b>>>0>1]){c=P[e+4>>1];if(c>>>0>1]){break Z}}if(!O[a+593|0]){break q}d=134;break i}e=b;d=N[a+52>>2]+(c<<3)|0;b=N[a+88>>2]+(b<<3)|0;b=(Qa[N[a+604>>2]](a,N[d>>2]-N[b>>2]|0,N[d+4>>2]-N[b+4>>2]|0)|0)/2|0;Qa[N[a+616>>2]](a,n,e,b);Qa[N[a+616>>2]](a,o,c,0-b|0);break q;case 40:Od(a);break q;case 41:b=P[e>>1];if(b>>>0>=P[a+44>>1]){if(!O[a+593|0]){break q}d=134;break i}b=b+N[a+60>>2]|0;c=b;d=O[b|0];b=P[a+302>>1]?-9:-1;L[c|0]=d&(P[a+304>>1]?b&239:b);break q;case 42:b=134;f=N[e+4>>2];c=N[a+440>>2]+1|0;_:{if(f>>>0>=c>>>0){break _}d=N[a+424>>2];g=N[a+416>>2];$:{if((g|0)==(c|0)){c=d+T(f,24)|0;if((f|0)==N[(d?c:0)+12>>2]){break $}}c=d;d=c?c+T(g,24)|0:0;aa:{if(c>>>0>=d>>>0){break aa}while(1){if((f|0)==N[c+12>>2]){break aa}c=c+24|0;if(d>>>0>c>>>0){continue}break}}if((c|0)==(d|0)){break _}}if(!O[c+16|0]){break _}b=130;d=N[a+448>>2];if((d|0)>=N[a+452>>2]){break _}if(N[e>>2]<=0){break q}b=N[a+456>>2]+(d<<4)|0;N[b>>2]=N[a+360>>2];N[b+4>>2]=N[a+368>>2]+1;f=N[e>>2];N[b+12>>2]=c;N[b+8>>2]=f;N[a+448>>2]=d+1;b=N[c>>2];ba:{if(b-4>>>0<=4294967292){N[a+12>>2]=132;break ba}d=(b-1<<3)+a|0;f=N[d+464>>2];if(!f){N[a+12>>2]=138;break ba}d=N[d+468>>2];c=N[c+4>>2];if((d|0)<(c|0)){N[a+12>>2]=131;break ba}N[a+372>>2]=d;N[a+364>>2]=f;N[a+368>>2]=c;N[a+360>>2]=b}L[a+384|0]=0;c=N[a+648>>2]+N[e>>2]|0;N[a+648>>2]=c;b=139;if(c>>>0<=Q[a+652>>2]){break q}}N[a+12>>2]=b;break p;case 43:d=134;b=N[a+440>>2]+1|0;f=N[e>>2];if(b>>>0<=f>>>0){break i}c=N[a+424>>2];if(!c){break i}g=N[a+416>>2];ca:{if((g|0)==(b|0)){b=c+T(f,24)|0;if((f|0)==N[b+12>>2]){break ca}}e=c+T(g,24)|0;b=c;da:{if((g|0)<=0){break da}while(1){if((f|0)==N[b+12>>2]){break da}b=b+24|0;if(e>>>0>b>>>0){continue}break}}if((b|0)==(e|0)){break i}}if(!O[b+16|0]){break i}d=130;f=N[a+448>>2];if((f|0)>=N[a+452>>2]){break i}c=N[a+456>>2]+(f<<4)|0;N[c>>2]=N[a+360>>2];d=N[a+368>>2];N[c+12>>2]=b;N[c+8>>2]=1;N[c+4>>2]=d+1;N[a+448>>2]=f+1;c=N[b>>2];ea:{if(c-4>>>0<=4294967292){N[a+12>>2]=132;break ea}d=(c-1<<3)+a|0;f=N[d+464>>2];if(!f){N[a+12>>2]=138;break ea}d=N[d+468>>2];b=N[b+4>>2];if((d|0)<(b|0)){N[a+12>>2]=131;break ea}N[a+372>>2]=d;N[a+364>>2]=f;N[a+368>>2]=b;N[a+360>>2]=c}L[a+384|0]=0;break q;case 44:if(N[a+356>>2]==3){d=156;break i}b=N[a+424>>2];fa:{ga:{if(!b){g=N[a+416>>2];d=N[e>>2];c=0;break ga}g=N[a+416>>2];c=T(g,24)+b|0;d=N[e>>2];ha:{if((g|0)<=0){break ha}while(1){if(N[b+12>>2]==(d|0)){break ha}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break fa}}if(Q[a+420>>2]<=g>>>0){d=140;break i}N[a+416>>2]=g+1;b=c}if(d>>>0>65535){d=140;break i}c=N[a+360>>2];N[b+12>>2]=d;N[b>>2]=c;c=N[a+368>>2];N[b+20>>2]=0;M[b+16>>1]=1;N[b+4>>2]=c+1;if(Q[a+440>>2]>>0){N[a+440>>2]=d}e=N[a+372>>2];while(1){c=c+f|0;N[a+368>>2]=c;if((c|0)>=(e|0)){d=131;break i}g=O[c+h|0];L[a+376|0]=g;f=L[g+26496|0];N[a+380>>2]=f;if((g&254)==64){d=c+1|0;if((d|0)>=(e|0)){d=131;break i}f=2-T(O[d+h|0],f)|0;N[a+380>>2]=f}if((e|0)<(c+f|0)){d=131;break i}d=137;ia:{switch(g-44|0){case 1:N[b+8>>2]=c;break q;case 0:break i;default:break ia}}if((g|0)!=137){continue}break};break i;case 33:case 89:case 126:case 127:N[a+16>>2]=g;break o;default:if(i>>>0>=224){c=N[e+4>>2];b=0;ja:{ka:{f=N[e>>2];d=f&65535;la:{if(d>>>0>=P[a+80>>1]){break la}g=c+1|0;if(g>>>0>=N[a+388>>2]+1>>>0){break la}if(P[a+288>>1]>1]){break ka}}if(!O[a+593|0]){break ja}N[a+12>>2]=134;break ja}if(g){b=Qa[N[a+628>>2]](a,c)|0}c=N[a+332>>2];e=b-c|0;g=e>>31;b=N[a+328>>2]>((e^g)-g|0)?(b|0)<0?0-c|0:c:b;if(!P[a+350>>1]){g=M[a+302>>1];c=g>>31;i=(c^g)-c|0;c=b>>31;h=(c^b)-c|0;k=h>>>16|0;l=T(i,k);e=l<<16|8192;q=d<<3;c=q+N[a+84>>2]|0;r=N[a+48>>2]+(P[a+288>>1]<<3)|0;m=e;s=i;i=h&65535;e=e+T(s,i)|0;e=(l>>>16|0)+(m>>>0>e>>>0)<<18|e>>>14;N[c>>2]=N[r>>2]+((b^g)<0?0-e|0:e);g=M[a+304>>1];e=g>>31;h=(e^g)-e|0;k=T(h,k);e=k<<16|8192;l=e;e=e+T(i,h)|0;e=(k>>>16|0)+(l>>>0>e>>>0)<<18|e>>>14;N[c+4>>2]=N[r+4>>2]+((b^g)<0?0-e|0:e);e=N[c+4>>2];g=q+N[a+88>>2]|0;N[g>>2]=N[c>>2];N[g+4>>2]=e}d=d<<3;c=d+N[a+84>>2]|0;g=N[a+48>>2]+(P[a+288>>1]<<3)|0;c=Qa[N[a+608>>2]](a,N[c>>2]-N[g>>2]|0,N[c+4>>2]-N[g+4>>2]|0)|0;d=d+N[a+88>>2]|0;g=N[a+52>>2]+(P[a+288>>1]<<3)|0;e=Qa[N[a+604>>2]](a,N[d>>2]-N[g>>2]|0,N[d+4>>2]-N[g+4>>2]|0)|0;b=O[a+320|0]?(b^c)<0?0-b|0:b:b;d=O[a+376|0];ma:{if(d&4){if(P[a+348>>1]==P[a+350>>1]){i=b-c|0;g=i>>31;b=N[a+324>>2]<((g^i)-g|0)?c:b}b=Qa[N[a+600>>2]](a,b,d&3)|0;d=O[a+376|0];break ma}g=N[(((d&3)<<2)+a|0)+268>>2];if((b|0)>=0){b=b+g|0;b=(b|0)>0?b:0;break ma}b=b-g|0;b=b>>31&b}g=a+72|0;na:{if(!(d&8)){break na}d=N[a+312>>2];if((c|0)>=0){b=(b|0)>(d|0)?b:d;break na}c=0-d|0;b=(b|0)<(c|0)?b:c}Qa[N[a+616>>2]](a,g,f&65535,b-e|0)}M[a+290>>1]=P[a+288>>1];if(O[a+376|0]&16){M[a+288>>1]=f}M[a+292>>1]=f;break q}if(i>>>0>=192){oa:{pa:{f=N[e>>2];d=f&65535;if(d>>>0>1]){c=P[a+288>>1];if(c>>>0>1]){break pa}}if(!O[a+593|0]){break oa}N[a+12>>2]=134;break oa}qa:{if(!(P[a+350>>1]?P[a+348>>1]:0)){b=N[a+84>>2]+(d<<3)|0;c=N[a+48>>2]+(c<<3)|0;b=Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0;break qa}k=N[a+56>>2];b=k+(c<<3)|0;l=N[a+92>>2];g=l+(d<<3)|0;e=N[a+224>>2];i=N[a+228>>2];if((e|0)==(i|0)){g=Qa[N[a+608>>2]](a,N[g>>2]-N[b>>2]|0,N[g+4>>2]-N[b+4>>2]|0)|0;c=g>>31;e=N[a+224>>2];b=e>>31;c=(c^g)-c|0;b=(b^e)-b|0;ra:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break ra}i=c&65535;c=T(i,b>>>16|0)+T(b,c>>>16|0)+(T(i,b&65535)+32768>>>16)|0}b=c;i=0-b|0;b=g>>31|1;b=(((e|0)<0?0-b|0:b)|0)<0?i:c;break qa}h=N[g>>2]-N[b>>2]|0;g=h>>31;g=(g^h)-g|0;b=e>>31;b=(b^e)-b|0;sa:{if(g+(b>>>8|0)>>>0<=8190){g=T(b,g)+32768>>>16|0;break sa}q=g&65535;g=T(q,b>>>16|0)+T(b,g>>>16|0)+(T(q,b&65535)+32768>>>16)|0}b=g;q=0-b|0;b=h>>31|1;e=(((e|0)<0?0-b|0:b)|0)<0?q:g;g=N[(l+(d<<3)|0)+4>>2]-N[(k+(c<<3)|0)+4>>2]|0;c=g>>31;c=(c^g)-c|0;b=i>>31;b=(b^i)-b|0;ta:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break ta}h=c&65535;c=T(h,b>>>16|0)+T(b,c>>>16|0)+(T(h,b&65535)+32768>>>16)|0}b=c;h=0-b|0;b=g>>31|1;b=Qa[N[a+608>>2]](a,e,(((i|0)<0?0-b|0:b)|0)<0?h:c)|0}g=N[a+328>>2];ua:{if((g|0)<=0){break ua}c=N[a+332>>2];if((c+g|0)<=(b|0)|(c-g|0)>=(b|0)){break ua}b=(b|0)<0?0-c|0:c}g=O[a+376|0];va:{if(g&4){c=Qa[N[a+600>>2]](a,b,g&3)|0;g=O[a+376|0];break va}c=N[(((g&3)<<2)+a|0)+268>>2];if((b|0)>=0){c=b+c|0;c=(c|0)>0?c:0;break va}c=b-c|0;c=c>>31&c}e=a+72|0;wa:{if(!(g&8)){break wa}g=N[a+312>>2];if((b|0)>=0){c=(c|0)>(g|0)?c:g;break wa}b=0-g|0;c=(b|0)>(c|0)?c:b}g=c;b=N[a+88>>2]+(d<<3)|0;c=N[a+52>>2]+(P[a+288>>1]<<3)|0;X=a,Y=e,Z=f&65535,_=g-(Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0)|0,W=N[a+616>>2],Qa[W](X|0,Y|0,Z|0,_|0)}M[a+292>>1]=f;M[a+290>>1]=P[a+288>>1];if(O[a+376|0]&16){M[a+288>>1]=f}break q}if(i>>>0>=184){b=O[a+376|0]+65353|0;c=b&65535;if(c>>>0>=(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){N[a+12>>2]=130;break q}N[a+368>>2]=N[a+368>>2]+1;xa:{if(!c){break xa}f=b&1;d=N[a+364>>2];b=0;if((c|0)!=1){c=c-f|0;while(1){g=N[a+368>>2];N[a+368>>2]=g+2;i=b<<2;g=d+g|0;g=O[g|0]|O[g+1|0]<<8;N[i+e>>2]=(g<<8|g>>>8)<<16>>16;g=N[a+368>>2];N[a+368>>2]=g+2;g=d+g|0;g=O[g|0]|O[g+1|0]<<8;N[e+(i|4)>>2]=(g<<8|g>>>8)<<16>>16;b=b+2|0;if((c|0)!=(b|0)){continue}break}}if(!f){break xa}c=N[a+368>>2];N[a+368>>2]=c+2;e=e+(b<<2)|0;b=c+d|0;b=O[b|0]|O[b+1|0]<<8;N[e>>2]=(b<<8|b>>>8)<<16>>16}L[a+384|0]=0;break q}if(i>>>0>=176){d=O[a+376|0]+65361|0;b=d&65535;if(b>>>0<(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){if(b){f=N[a+364>>2];b=1;c=1;while(1){N[(e+(b<<2)|0)-4>>2]=O[f+(N[a+368>>2]+b|0)|0];c=c+1|0;b=c&65535;if(b>>>0<=(d&65535)>>>0){continue}break}}break q}N[a+12>>2]=130;break q}Od(a);break q;case 146:if(N[N[a>>2]+736>>2]){N[e>>2]=17;break q}Od(a);break q;case 145:if(N[N[a>>2]+736>>2]){f=0;c=N[N[a>>2]+736>>2];b=N[c>>2];if(b>>>0>=(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){N[a+12>>2]=130;break q}d=N[c+8>>2];ya:{if(d){if(!b){break ya}c=0;if(b>>>0>=4){i=b&-4;while(1){g=c<<2;N[g+e>>2]=N[d+g>>2]>>2;h=g|4;N[h+e>>2]=N[d+h>>2]>>2;h=g|8;N[h+e>>2]=N[d+h>>2]>>2;g=g|12;N[g+e>>2]=N[d+g>>2]>>2;c=c+4|0;if((i|0)!=(c|0)){continue}break}}b=b&3;if(!b){break ya}while(1){g=c<<2;N[g+e>>2]=N[d+g>>2]>>2;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}break ya}if(!b){break ya}C(e,0,b<<2)}break q}Od(a);break q;case 143:case 144:Od(a);break q;case 142:c=N[e+4>>2];if(c-4>>>0<=4294967292){if(!O[a+593|0]){break q}d=134;break i}b=N[e>>2];d=1<>2]+96>>2]+64>>2]!=40){break q}L[a+643|0]=(b|0)!=4;break q;case 141:b=N[e>>2];if((b|0)<0){break q}N[a+344>>2]=b&65535;break q;case 140:b=N[e+4>>2];if((b|0)>=N[e>>2]){break q}N[e>>2]=b;break q;case 139:b=N[e+4>>2];if((b|0)<=N[e>>2]){break q}N[e>>2]=b;break q;case 138:b=N[e+8>>2];c=N[e+4>>2];N[e+8>>2]=N[e>>2];N[e>>2]=c;N[e+4>>2]=b;break q;case 137:if(N[a+356>>2]==3){d=156;break i}d=N[a+428>>2];b=N[a+436>>2];za:{Aa:{if(!b){c=0;break Aa}c=T(d,24)+b|0;Ba:{if((d|0)<=0){break Ba}g=N[e>>2];while(1){if((g|0)==N[b+12>>2]){break Ba}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break za}}if(d>>>0>=Q[a+432>>2]){d=141;break i}N[a+428>>2]=d+1;b=c}c=N[e>>2];if(c>>>0>255){d=141;break i}N[b+12>>2]=c;c=N[a+368>>2];N[b+4>>2]=c+1;d=N[a+360>>2];L[b+16|0]=1;N[b>>2]=d;d=N[e>>2];if(d>>>0>Q[a+444>>2]){N[a+444>>2]=d&255}e=N[a+372>>2];while(1){c=c+f|0;N[a+368>>2]=c;if((c|0)>=(e|0)){d=131;break i}g=O[c+h|0];L[a+376|0]=g;f=L[g+26496|0];N[a+380>>2]=f;if((g&254)==64){d=c+1|0;if((d|0)>=(e|0)){d=131;break i}f=2-T(O[d+h|0],f)|0;N[a+380>>2]=f}if((e|0)<(c+f|0)){d=131;break i}d=137;Ca:{switch(g-44|0){default:if((g|0)!=137){continue}break i;case 0:break i;case 1:break Ca}}break};N[b+8>>2]=c;break q;case 136:b=0;c=N[e>>2];b=c&1?N[N[N[a>>2]+96>>2]+64>>2]:b;b=c&2?O[a+285|0]?b|256:b:b;b=c&4?O[a+286|0]?b|512:b:b;b=c&8?N[N[a>>2]+736>>2]?b|1024:b:b;b=c&32?O[a+640|0]?b|4096:b:b;Da:{if(!O[a+641|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40){break Da}d=c<<7;b=d&8192|b;if(c&256){b=O[a+642|0]?b|32768:b}b=d&393216|b;if(!(c&4096)){break Da}b=O[a+646|0]?b|524288:b}N[e>>2]=b;break q;case 134:case 135:Ea:{b=P[e>>1];if(b>>>0>1]){c=P[e+4>>1];if(c>>>0>1]){break Ea}}if(!O[a+593|0]){break q}d=134;break i}d=b<<3;f=d+N[a+84>>2]|0;g=N[f+4>>2];e=c<<3;c=e+N[a+120>>2]|0;h=N[c+4>>2];b=g-h|0;f=N[f>>2];k=N[c>>2];c=(f|0)==(k|0)&(g|0)==(h|0);f=c?16384:f-k|0;c=c|!(i&1);g=c?b:f;b=c?f:0-b|0;if(g|b){N[j+16>>2]=g;N[j+12>>2]=b;_b(j+12|0);M[a+294>>1]=N[j+12>>2]/4;M[a+296>>1]=N[j+16>>2]/4}d=d+N[a+88>>2]|0;f=N[d+4>>2];g=e+N[a+124>>2]|0;e=N[g+4>>2];b=f-e|0;i=N[d>>2];g=N[g>>2];d=(i|0)==(g|0)&(e|0)==(f|0);f=d?16384:i-g|0;c=c|d;d=c?b:f;b=c?f:0-b|0;if(d|b){N[j+16>>2]=d;N[j+12>>2]=b;_b(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}f=P[a+302>>1];Fa:{if((f|0)==16384){b=M[a+298>>1];N[a+596>>2]=b;d=b;break Fa}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;d=P[a+298>>1];break Fa}d=M[a+298>>1];b=T(b,M[a+300>>1])+T(d,f<<16>>16)>>14;N[a+596>>2]=b}c=123;N[a+604>>2]=(d&65535)==16384?123:P[a+300>>1]==16384?124:125;c=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:c;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=c;Ga:{if((b|0)!=16384){break Ga}Ha:{if((f|0)==16384){f=130;c=129;break Ha}if(P[a+304>>1]!=16384){break Ga}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 133:b=N[e>>2];c=b&255;if((c|0)==255){L[a+341|0]=1;break q}if(!c){L[a+341|0]=0;break q}if(!(!(b&256)|c>>>0>1])){L[a+341|0]=1}if(!(!(b&512)|!O[a+285|0])){L[a+341|0]=1}if(!(!(b&1024)|!O[a+286|0])){L[a+341|0]=1}if(!(!(b&2048)|c>>>0>=P[a+256>>1])){L[a+341|0]=0}if(!(!(b&4096)|!O[a+285|0])){L[a+341|0]=0}if(!(b&8192)|!O[a+286|0]){break q}L[a+341|0]=0;break q;case 131:case 132:Od(a);break q;case 130:if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break q}}Ia:{d=P[e+4>>1];c=P[a+152>>1];if(d>>>0>=c>>>0){break Ia}b=P[e>>1];if(c>>>0<=b>>>0){break Ia}if(b>>>0>d>>>0){break q}c=b;while(1){b=N[a+168>>2]+b|0;L[b|0]=O[b|0]&254;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break q}if(!O[a+593|0]){break q}d=134;break i;case 129:if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break q}}Ja:{d=P[e+4>>1];c=P[a+152>>1];if(d>>>0>=c>>>0){break Ja}b=P[e>>1];if(c>>>0<=b>>>0){break Ja}if(b>>>0>d>>>0){break q}c=b;while(1){b=N[a+168>>2]+b|0;L[b|0]=O[b|0]|1;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break q}if(!O[a+593|0]){break q}d=134;break i;case 128:Ka:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Ka}}f=N[a+308>>2];if((f|0)<=N[a+16>>2]){if((f|0)<=0){break Ka}while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];La:{if(b>>>0>=P[a+152>>1]){b=f;if(!O[a+593|0]){break La}d=134;break i}b=b+N[a+168>>2]|0;L[b|0]=O[b|0]^1;b=N[a+308>>2]}f=b-1|0;N[a+308>>2]=f;if((b|0)>1){continue}break}c=N[a+28>>2];break Ka}if(!O[a+593|0]){break Ka}N[a+12>>2]=129}N[a+32>>2]=c;N[a+308>>2]=1;break q;case 125:N[a+600>>2]=135;N[a+316>>2]=3;break q;case 124:N[a+600>>2]=136;N[a+316>>2]=4;break q;case 123:Od(a);break q;case 122:N[a+600>>2]=137;N[a+316>>2]=5;break q;case 121:if(N[e+4>>2]){break q}b=132;d=c;c=N[e>>2];Ma:{if(!(d|c)){break Ma}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break Ma}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break Ma}L[a+384|0]=0;if(N[e>>2]>=0){break q}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break q}}N[a+12>>2]=b;break p;case 120:if(!N[e+4>>2]){break q}b=132;d=c;c=N[e>>2];Na:{if(!(d|c)){break Na}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break Na}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break Na}L[a+384|0]=0;if(N[e>>2]>=0){break q}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break q}}N[a+12>>2]=b;break p;case 119:d=N[e>>2];c=d>>>4|0;b=N[(c&12)+28568>>2];Oa:{Pa:{Qa:{Ra:{c=c&3;switch(c-1|0){case 2:break Pa;case 1:break Qa;case 0:break Ra;default:break Oa}}c=b>>>10|0;break Oa}c=b>>>9|0;break Oa}c=T(b,3)>>>10|0}N[a+512>>2]=c;N[a+600>>2]=138;N[a+316>>2]=7;c=d&15;if(c){c=(T(b,c-4|0)|0)/8|0}else{c=b-1|0}N[a+516>>2]=c>>8;N[a+508>>2]=b>>>8;break q;case 118:d=N[e>>2];c=d>>>4|0;b=N[(c&12)+28552>>2];Sa:{Ta:{Ua:{Va:{c=c&3;switch(c-1|0){case 2:break Ta;case 1:break Ua;case 0:break Va;default:break Sa}}c=b>>>10|0;break Sa}c=b>>>9|0;break Sa}c=T(b,3)>>>10|0}N[a+512>>2]=c;N[a+600>>2]=139;N[a+316>>2]=6;N[a+508>>2]=b>>>8;c=d&15;N[a+516>>2]=(c?T(b,c-4|0)>>3:b-1|0)>>8;break q;case 115:case 116:case 117:d=Qa[N[a+624>>2]](a)|0;c=1;f=N[e>>2];Wa:{if(!f){break Wa}while(1){b=N[a+28>>2];if((b|0)<=1){if(O[a+593|0]){N[a+12>>2]=129}N[a+28>>2]=0;break Wa}g=b-2|0;N[a+28>>2]=g;e=b<<2;b=N[a+24>>2];e=N[(e+b|0)-4>>2];Xa:{if(e>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break Xa}d=134;break i}g=N[b+(g<<2)>>2];b=g>>>4&15;Ya:{Za:{switch(O[a+376|0]-116|0){case 0:b=b|16;break Ya;case 1:break Za;default:break Ya}}b=b|32}if((d|0)!=(P[a+336>>1]+b|0)){break Xa}b=g&15;Qa[N[a+636>>2]](a,e,(b>>>0>7?-7:-8)+b<<6-P[a+338>>1])}c=c+1|0;if(f>>>0>=c>>>0){continue}break}}N[a+32>>2]=N[a+28>>2];break q;case 113:case 114:jn(a,e);break q;case 112:b=N[e>>2];if(b>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break q}d=134;break i}W=N[a+392>>2]+(b<<2)|0,_=ob(N[e+4>>2],N[a+264>>2]),N[W>>2]=_;break q;case 108:case 109:case 110:case 111:b=N[(((i&3)<<2)+a|0)+268>>2];c=N[e>>2];if((c|0)>=0){b=b+c|0;N[e>>2]=(b|0)>0?b:0;break q}b=c-b|0;N[e>>2]=b>>31&b;break q;case 104:case 105:case 106:case 107:W=e,_=Qa[N[a+600>>2]](a,N[e>>2],i&3)|0,N[W>>2]=_;break q;case 103:N[e>>2]=N[e>>2]+63&-64;break q;case 102:N[e>>2]=N[e>>2]&-64;break q;case 101:N[e>>2]=0-N[e>>2];break q;case 100:b=N[e>>2];if((b|0)>=0){break q}N[e>>2]=0-b;break q;case 99:W=e,_=jb(N[e>>2],N[e+4>>2],64),N[W>>2]=_;break q;case 98:b=N[e+4>>2];if(!b){d=133;break i}W=e,_=di(N[e>>2],64,b),N[W>>2]=_;break q;case 97:N[e>>2]=N[e>>2]-N[e+4>>2];break q;case 96:N[e>>2]=N[e+4>>2]+N[e>>2];break q;case 95:b=N[e>>2];if(b>>>0>6){d=132;break i}M[a+338>>1]=b;break q;case 94:M[a+336>>1]=N[e>>2];break q;case 93:jn(a,e);break q;case 92:N[e>>2]=!N[e>>2];break q;case 91:N[e>>2]=N[e>>2]?1:N[e+4>>2]!=0;break q;case 90:if(!N[e>>2]){N[e>>2]=0;break q}N[e>>2]=N[e+4>>2]!=0;break q;case 88:if(N[e>>2]){break q}c=N[a+368>>2];g=N[a+372>>2];d=1;_a:while(1){c=c+f|0;N[a+368>>2]=c;$a:{if((d|0)==1){if((c|0)>=(g|0)){d=131;break i}b=O[c+h|0];L[a+376|0]=b;f=L[b+26496|0];N[a+380>>2]=f;if((b&254)==64){e=c+1|0;if((e|0)>=(g|0)){d=131;break i}f=2-T(O[e+h|0],f)|0;N[a+380>>2]=f}if((g|0)<(c+f|0)){d=131;break i}ab:{switch(b-88|0){case 1:break q;case 0:break $a;default:break ab}}d=1;if((b|0)!=27){continue}break q}if((c|0)>=(g|0)){d=131;break i}bb:{while(1){e=O[c+h|0];L[a+376|0]=e;f=L[e+26496|0];N[a+380>>2]=f;if((e&254)==64){b=c+1|0;if((b|0)>=(g|0)){d=131;break i}f=2-T(O[b+h|0],f)|0;N[a+380>>2]=f}b=c+f|0;if((b|0)>(g|0)){d=131;break i}if((e|0)!=27){switch(e-88|0){case 0:break $a;case 1:break bb;default:continue _a}}N[a+368>>2]=b;c=b;if((b|0)<(g|0)){continue}break}d=131;break i}d=d-1|0;continue}d=d+1|0;continue};case 87:W=e,_=!(Qa[N[a+600>>2]](a,N[e>>2],3)&127),N[W>>2]=_;break q;case 86:W=e,_=(Qa[N[a+600>>2]](a,N[e>>2],3)&127)==64,N[W>>2]=_;break q;case 85:N[e>>2]=N[e>>2]!=N[e+4>>2];break q;case 84:N[e>>2]=N[e>>2]==N[e+4>>2];break q;case 83:N[e>>2]=N[e>>2]>=N[e+4>>2];break q;case 82:N[e>>2]=N[e>>2]>N[e+4>>2];break q;case 81:N[e>>2]=N[e>>2]<=N[e+4>>2];break q;case 80:N[e>>2]=N[e>>2]>2];break q;case 78:L[a+320|0]=0;break q;case 77:L[a+320|0]=1;break q;case 76:if(N[N[N[a>>2]+96>>2]+64>>2]==35){W=e,_=Qa[N[a+624>>2]](a)|0,N[W>>2]=_;break q}N[e>>2]=N[a+216>>2];break q;case 75:W=e,_=Qa[N[a+624>>2]](a)|0,N[W>>2]=_;break q;case 73:case 74:cb:{db:{b=P[e>>1];if(b>>>0>1]){c=P[e+4>>1];if(c>>>0>1]){break db}}b=0;if(!O[a+593|0]){break cb}N[a+12>>2]=134;N[e>>2]=0;break q}if(i&1){b=N[a+52>>2]+(b<<3)|0;c=N[a+88>>2]+(c<<3)|0;W=e,_=Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0,N[W>>2]=_;break q}if(!(P[a+350>>1]?P[a+348>>1]:0)){b=N[a+48>>2]+(b<<3)|0;c=N[a+84>>2]+(c<<3)|0;W=e,_=Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0,N[W>>2]=_;break q}b=N[a+56>>2]+(b<<3)|0;c=N[a+92>>2]+(c<<3)|0;d=N[b+4>>2]-N[c+4>>2]|0;f=N[a+224>>2];g=N[a+228>>2];if((f|0)==(g|0)){W=e,_=ob(Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,d)|0,N[a+224>>2]),N[W>>2]=_;break q}b=(_=a,Z=ob(N[b>>2]-N[c>>2]|0,f),Y=ob(d,g),W=N[a+608>>2],Qa[W](_|0,Z|0,Y|0)|0)}N[e>>2]=b;break q;case 72:b=P[e>>1];if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break q}d=134;break i}c=b<<3;d=c+N[a+124>>2]|0;d=Qa[N[a+604>>2]](a,N[d>>2],N[d+4>>2])|0;Qa[N[a+616>>2]](a,p,b,N[e+4>>2]-d|0);if(P[a+352>>1]){break q}b=c+N[a+120>>2]|0;c=c+N[a+124>>2]|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;break q;case 70:case 71:b=N[e>>2];eb:{if(b>>>0>=P[a+116>>1]){b=0;if(!O[a+593|0]){break eb}N[a+12>>2]=134;N[e>>2]=0;break q}if(i&1){b=N[a+120>>2]+(b<<3)|0;W=e,Y=Qa[N[a+608>>2]](a,N[b>>2],N[b+4>>2])|0,N[W>>2]=Y;break q}b=N[a+124>>2]+(b<<3)|0;b=Qa[N[a+604>>2]](a,N[b>>2],N[b+4>>2])|0}N[e>>2]=b;break q;case 69:b=N[e>>2];fb:{if(b>>>0>=Q[a+388>>2]){b=0;if(!O[a+593|0]){break fb}d=134;break i}b=Qa[N[a+628>>2]](a,b)|0}N[e>>2]=b;break q;case 68:b=N[e>>2];if(b>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break q}d=134;break i}Qa[N[a+632>>2]](a,b,N[e+4>>2]);break q;case 67:b=N[e>>2];gb:{if(b>>>0>=P[a+488>>1]){b=0;if(!O[a+593|0]){break gb}d=134;break i}b=N[N[a+492>>2]+(b<<2)>>2]}N[e>>2]=b;break q;case 66:f=N[e>>2];c=P[a+488>>1];if(f>>>0>=c>>>0){if(!O[a+593|0]){break q}d=134;break i}hb:{b=N[a+492>>2];if(!(N[a+356>>2]!=3|(b|0)!=N[a+504>>2])){d=P[a+496>>1];ib:{if(c>>>0<=d>>>0){g=d<<2;s=N[a+500>>2];break ib}g=c<<2;s=lb(N[a+8>>2],1,d<<2,g,N[a+500>>2],j+12|0);N[a+500>>2]=s;b=N[j+12>>2];if(b){break hb}b=N[a+492>>2];d=c}M[a+496>>1]=d;N[a+12>>2]=0;F(s,b,g);b=N[a+500>>2];N[a+492>>2]=b}N[(f<<2)+b>>2]=N[e+4>>2];break q}M[a+496>>1]=d;N[a+12>>2]=b;break p;case 65:d=130;f=(b-N[a+16>>2]|0)+1|0;b=N[a+368>>2];c=O[(b+h|0)+1|0];if(f>>>0<=c>>>0){break i}N[a+368>>2]=b+2;if(c){b=0;if((c|0)!=1){d=c&254;while(1){f=N[a+368>>2];N[a+368>>2]=f+2;g=b<<2;f=f+h|0;f=O[f|0]|O[f+1|0]<<8;N[g+e>>2]=(f<<8|f>>>8)<<16>>16;f=N[a+368>>2];N[a+368>>2]=f+2;f=f+h|0;f=O[f|0]|O[f+1|0]<<8;N[e+(g|4)>>2]=(f<<8|f>>>8)<<16>>16;b=b+2|0;if((d|0)!=(b|0)){continue}break}}if(c&1){d=N[a+368>>2];N[a+368>>2]=d+2;e=e+(b<<2)|0;b=d+h|0;b=O[b|0]|O[b+1|0]<<8;N[e>>2]=(b<<8|b>>>8)<<16>>16}g=N[a+32>>2]}L[a+384|0]=0;N[a+32>>2]=c+g;break q;case 64:d=130;f=O[(h+N[a+368>>2]|0)+1|0];if(f>>>0>=(b-N[a+16>>2]|0)+1>>>0){break i}if(f){b=1;if((f|0)!=1){d=f&254;c=0;while(1){g=e+(b<<2)|0;N[g-4>>2]=O[(h+(N[a+368>>2]+b|0)|0)+1|0];b=b+2|0;N[g>>2]=O[h+(b+N[a+368>>2]|0)|0];c=c+2|0;if((d|0)!=(c|0)){continue}break}}if(f&1){N[(e+(b<<2)|0)-4>>2]=O[(h+(N[a+368>>2]+b|0)|0)+1|0]}g=N[a+32>>2]}N[a+32>>2]=f+g;break q;case 62:case 63:jb:{kb:{c=P[e>>1];if(c>>>0>1]){b=N[e+4>>2];if(b>>>0>2]){break kb}}if(!O[a+593|0]){break jb}N[a+12>>2]=134;break jb}b=Qa[N[a+628>>2]](a,b)|0;if(!P[a+348>>1]){f=M[a+302>>1];d=f>>31;e=(d^f)-d|0;d=b>>31;i=(d^b)-d|0;h=i>>>16|0;k=T(e,h);g=k<<16|8192;l=c<<3;d=l+N[a+48>>2]|0;q=g;m=e;e=i&65535;g=g+T(m,e)|0;g=(k>>>16|0)+(q>>>0>g>>>0)<<18|g>>>14;N[d>>2]=(b^f)<0?0-g|0:g;f=M[a+304>>1];g=f>>31;i=(f^g)-g|0;h=T(i,h);g=h<<16|8192;k=g;g=g+T(e,i)|0;g=(h>>>16|0)+(k>>>0>g>>>0)<<18|g>>>14;N[d+4>>2]=(b^f)<0?0-g|0:g;g=N[d+4>>2];f=l+N[a+52>>2]|0;N[f>>2]=N[d>>2];N[f+4>>2]=g}d=N[a+52>>2]+(c<<3)|0;d=Qa[N[a+604>>2]](a,N[d>>2],N[d+4>>2])|0;if(L[a+376|0]&1){g=b-d|0;f=g>>31;b=Qa[N[a+600>>2]](a,N[a+324>>2]<((f^g)-f|0)?d:b,3)|0}Qa[N[a+616>>2]](a,o,c,b-d|0)}M[a+290>>1]=c;M[a+288>>1]=c;break q;case 61:N[a+600>>2]=140;N[a+316>>2]=2;break q;case 60:f=N[a+308>>2];lb:{if(!(P[a+288>>1]>1]&(f|0)<=N[a+16>>2])){if(!O[a+593|0]){break lb}N[a+12>>2]=134;break lb}if((f|0)<=0){break lb}while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];mb:{if(b>>>0>=P[a+80>>1]){b=f;if(!O[a+593|0]){break mb}d=134;break i}d=b;b=N[a+88>>2]+(b<<3)|0;c=N[a+52>>2]+(P[a+288>>1]<<3)|0;Y=a,Z=n,_=d,X=0-(Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0)|0,W=N[a+616>>2],Qa[W](Y|0,Z|0,_|0,X|0);b=N[a+308>>2]}f=b-1|0;N[a+308>>2]=f;if((b|0)>1){continue}break}c=N[a+28>>2]}N[a+32>>2]=c;N[a+308>>2]=1;break q;case 58:case 59:nb:{b=P[e>>1];if(b>>>0>1]){c=P[a+288>>1];if(c>>>0>1]){break nb}}if(!O[a+593|0]){break q}d=134;break i}if(!P[a+350>>1]){c=N[a+48>>2]+(c<<3)|0;g=N[c+4>>2];d=b<<3;f=d+N[a+84>>2]|0;N[f>>2]=N[c>>2];N[f+4>>2]=g;Qa[N[a+620>>2]](a,n,b,N[e+4>>2]);c=d+N[a+88>>2]|0;d=d+N[a+84>>2]|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;c=P[a+288>>1]}d=N[a+88>>2]+(b<<3)|0;c=N[a+52>>2]+(c<<3)|0;c=Qa[N[a+604>>2]](a,N[d>>2]-N[c>>2]|0,N[d+4>>2]-N[c+4>>2]|0)|0;Qa[N[a+616>>2]](a,n,b,N[e+4>>2]-c|0);M[a+292>>1]=b;M[a+290>>1]=P[a+288>>1];if(!(L[a+376|0]&1)){break q}M[a+288>>1]=b;break q;case 57:ob:{pb:{b=N[a+308>>2];qb:{if((b|0)>N[a+16>>2]){if(O[a+593|0]){break qb}break ob}c=1;c=!P[a+348>>1]|!P[a+350>>1]?c:!P[a+352>>1];g=P[a+290>>1];if(g>>>0>1]){break pb}if(!O[a+593|0]){break ob}}N[a+12>>2]=134;break ob}e=N[(c?48:56)+a>>2];f=g<<3;d=e+f|0;k=N[a+52>>2];i=k+f|0;r=0;f=0;h=P[a+292>>1];if(h>>>0>1]){rb:{if(c){b=N[a+84>>2]+(h<<3)|0;f=Qa[N[a+608>>2]](a,N[b>>2]-N[d>>2]|0,N[b+4>>2]-N[(e+(g<<3)|0)+4>>2]|0)|0;break rb}b=N[(e+(g<<3)|0)+4>>2];f=N[a+224>>2];l=N[a+228>>2];if((f|0)==(l|0)){f=N[a+92>>2]+(h<<3)|0;f=Qa[N[a+608>>2]](a,N[f>>2]-N[d>>2]|0,N[f+4>>2]-b|0)|0;break rb}h=N[a+92>>2]+(h<<3)|0;f=(X=a,_=ob(N[h>>2]-N[d>>2]|0,f),Z=ob(N[h+4>>2]-b|0,l),W=N[a+608>>2],Qa[W](X|0,_|0,Z|0)|0)}b=N[a+88>>2]+(P[a+292>>1]<<3)|0;r=Qa[N[a+604>>2]](a,N[b>>2]-N[i>>2]|0,N[b+4>>2]-N[(k+(g<<3)|0)+4>>2]|0)|0;b=N[a+308>>2]}if((b|0)<=0){break ob}h=g<<3;g=h+k|0;e=e+h|0;if(c){while(1){c=N[a+28>>2]-1|0;N[a+28>>2]=c;c=N[N[a+24>>2]+(c<<2)>>2];sb:{if(c>>>0>=P[a+116>>1]){if(!O[a+593|0]){break sb}d=134;break i}h=c<<3;b=h+N[a+120>>2]|0;b=Qa[N[a+608>>2]](a,N[b>>2]-N[d>>2]|0,N[b+4>>2]-N[e+4>>2]|0)|0;h=h+N[a+124>>2]|0;h=Qa[N[a+604>>2]](a,N[h>>2]-N[i>>2]|0,N[h+4>>2]-N[g+4>>2]|0)|0;k=a;c=c&65535;if(!(!b|!f)){b=jb(b,r,f)}Qa[N[a+616>>2]](k,p,c,b-h|0);b=N[a+308>>2]}c=b;b=c-1|0;N[a+308>>2]=b;if((c|0)>1){continue}break ob}}while(1){c=N[a+28>>2]-1|0;N[a+28>>2]=c;c=N[N[a+24>>2]+(c<<2)>>2];tb:{if(c>>>0>=P[a+116>>1]){if(!O[a+593|0]){break tb}d=134;break i}b=N[e+4>>2];h=N[a+224>>2];k=N[a+228>>2];ub:{if((h|0)==(k|0)){h=N[a+128>>2]+(c<<3)|0;b=Qa[N[a+608>>2]](a,N[h>>2]-N[d>>2]|0,N[h+4>>2]-b|0)|0;break ub}l=N[a+128>>2]+(c<<3)|0;b=(Z=a,_=ob(N[l>>2]-N[d>>2]|0,h),X=ob(N[l+4>>2]-b|0,k),W=N[a+608>>2],Qa[W](Z|0,_|0,X|0)|0)}h=N[a+124>>2]+(c<<3)|0;h=Qa[N[a+604>>2]](a,N[h>>2]-N[i>>2]|0,N[h+4>>2]-N[g+4>>2]|0)|0;k=a;c=c&65535;if(!(!b|!f)){b=jb(b,r,f)}Qa[N[a+616>>2]](k,p,c,b-h|0);b=N[a+308>>2]}c=b;b=c-1|0;N[a+308>>2]=b;if((c|0)>1){continue}break}}N[a+308>>2]=1;N[a+32>>2]=N[a+28>>2];break q;case 56:f=1;f=!P[a+348>>1]|!P[a+350>>1]?f:!P[a+352>>1];b=N[a+308>>2];vb:{if((b|0)>=N[a+16>>2]){if(!O[a+593|0]){break vb}N[a+12>>2]=134;break vb}if((b|0)<=0){break vb}c=M[a+304>>1];d=c>>31;b=N[e>>2];g=b>>31;e=(c^d)-d|0;g=(b^g)-g|0;i=g>>>16|0;h=T(e,i);d=h<<16|8192;k=d;g=g&65535;d=d+T(g,e)|0;d=(h>>>16|0)+(k>>>0>d>>>0)<<18|d>>>14;e=(b^c)<0?0-d|0:d;c=M[a+302>>1];d=c>>31;h=i;i=(c^d)-d|0;h=T(h,i);d=h<<16|8192;k=d;d=d+T(g,i)|0;d=(h>>>16|0)+(k>>>0>d>>>0)<<18|d>>>14;c=(b^c)<0?0-d|0:d;while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];wb:{if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break wb}d=134;break i}xb:{yb:{zb:{Ab:{if(N[N[N[a>>2]+96>>2]+64>>2]==40){if(O[a+643|0]){Bb:{if(f){break Bb}if(O[a+645|0]?O[a+644|0]:0){break wb}if(P[a+304>>1]?O[a+592|0]:0){break Bb}if(!(O[b+N[a+132>>2]|0]&16)){break wb}}if(P[a+302>>1]){d=b+N[a+132>>2]|0;L[d|0]=O[d|0]|8}if(!P[a+304>>1]){break wb}if(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40|(!O[a+644|0]|!O[a+645|0])){break yb}break xb}if(P[a+302>>1]){break Ab}break zb}if(!P[a+302>>1]){break zb}}d=N[a+124>>2]+(b<<3)|0;N[d>>2]=c+N[d>>2];d=b+N[a+132>>2]|0;L[d|0]=O[d|0]|8}if(!P[a+304>>1]){break wb}if(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40)){break yb}if(O[a+645|0]){break xb}}d=N[a+124>>2]+(b<<3)|0;N[d+4>>2]=e+N[d+4>>2]}b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|16}b=N[a+308>>2];N[a+308>>2]=b-1;if((b|0)>1){continue}break}c=N[a+28>>2]}N[a+32>>2]=c;N[a+308>>2]=1;break q;case 54:case 55:if(Q[e>>2]>=2){if(!O[a+593|0]){break q}N[a+12>>2]=134;break q}if(Wh(a,j+4|0,j,j+12|0,j+10|0)){break q}Cb:{Db:{switch(P[a+352>>1]){case 0:c=P[a+116>>1];break Cb;case 1:break Db;default:break q}}b=M[a+118>>1];if((b|0)<=0){break q}c=P[(N[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}if(!(c&65535)){break q}g=N[j>>2];e=N[j+4>>2];f=N[a+124>>2];if((f|0)==N[j+28>>2]){c=c&65535;b=0;d=P[j+10>>1];while(1){Eb:{if((b|0)==(d|0)){break Eb}if(!(!P[a+302>>1]|(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0))){i=f+(b<<3)|0;N[i>>2]=e+N[i>>2]}if(!P[a+304>>1]){break Eb}if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Eb}}i=f+(b<<3)|0;N[i+4>>2]=g+N[i+4>>2]}b=b+1|0;if((c|0)!=(b|0)){continue}break}break q}b=P[a+302>>1];if(!P[a+304>>1]){if(!b){break q}d=N[N[N[a>>2]+96>>2]+64>>2];b=0;g=c&65535;if((g|0)!=1){g=g&65534;while(1){if(!(O[a+643|0]?(d|0)==40:0)){i=b<<3;h=i+f|0;N[h>>2]=e+N[h>>2];i=f+(i|8)|0;N[i>>2]=e+N[i>>2]}b=b+2|0;if((g|0)!=(b|0)){continue}break}}if(!(c&1)|(O[a+643|0]?(d|0)==40:0)){break q}b=f+(b<<3)|0;N[b>>2]=e+N[b>>2];break q}d=N[N[N[a>>2]+96>>2]+64>>2];if(!b){if((d|0)!=40){d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if(!O[a+643|0]){d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if(!O[a+644|0]){d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if(O[a+645|0]){break q}d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if((d|0)==40){c=c&65535;d=O[a+643|0];b=0;while(1){Fb:{Gb:{if(!d){i=f+(b<<3)|0;N[i>>2]=e+N[i>>2];break Gb}if(!O[a+644|0]){break Gb}if(O[a+645|0]){break Fb}}i=f+(b<<3)|0;N[i+4>>2]=g+N[i+4>>2]}b=b+1|0;if((c|0)!=(b|0)){continue}break}break q}d=0;b=c&65535;if((b|0)!=1){i=b&65534;while(1){h=d<<3;b=h+f|0;N[b>>2]=e+N[b>>2];N[b+4>>2]=g+N[b+4>>2];b=f+(h|8)|0;N[b>>2]=e+N[b>>2];N[b+4>>2]=g+N[b+4>>2];d=d+2|0;if((i|0)!=(d|0)){continue}break}}if(!(c&1)){break q}b=f+(d<<3)|0;N[b>>2]=e+N[b>>2];N[b+4>>2]=g+N[b+4>>2];break q;case 52:case 53:b=N[e>>2];c=b<<16>>16;if(c>>>0>=(P[a+352>>1]?M[a+118>>1]:1)>>>0){if(!O[a+593|0]){break q}N[a+12>>2]=134;break q}if(Wh(a,j+4|0,j,j+12|0,j+10|0)){break q}b=(b<<16?(P[(N[a+136>>2]+(c<<1)|0)-2>>1]-P[a+140>>1]|0)+1|0:0)&65535;if(P[a+352>>1]){c=(P[N[a+136>>2]+(c<<1)>>1]-P[a+140>>1]|0)+1|0}else{c=P[a+116>>1]}c=c&65535;if(b>>>0>=c>>>0){break q}d=P[j+10>>1];f=N[j>>2];g=N[j+4>>2];e=N[j+28>>2];while(1){i=N[a+124>>2];Hb:{if((i|0)==(e|0)&(b|0)==(d|0)){break Hb}if(P[a+302>>1]){if(!(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0)){i=i+(b<<3)|0;N[i>>2]=g+N[i>>2]}i=N[a+132>>2]+b|0;L[i|0]=O[i|0]|8}if(!P[a+304>>1]){break Hb}Ib:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Ib}}i=N[a+124>>2]+(b<<3)|0;N[i+4>>2]=f+N[i+4>>2]}i=N[a+132>>2]+b|0;L[i|0]=O[i|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break};break q;case 50:case 51:Jb:{if(N[a+16>>2]>2]){if(!O[a+593|0]){break Jb}N[a+12>>2]=134;break Jb}if(Wh(a,j+4|0,j,j+12|0,j+10|0)){break q}if(N[a+308>>2]<=0){break Jb}c=N[j>>2];d=N[j+4>>2];while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];Kb:{if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break Kb}N[a+12>>2]=134;break q}if(P[a+302>>1]){if(!(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0)){f=N[a+124>>2]+(b<<3)|0;N[f>>2]=d+N[f>>2]}f=b+N[a+132>>2]|0;L[f|0]=O[f|0]|8}if(!P[a+304>>1]){break Kb}Lb:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Lb}}f=N[a+124>>2]+(b<<3)|0;N[f+4>>2]=c+N[f+4>>2]}b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|16}b=N[a+308>>2];N[a+308>>2]=b-1;if((b|0)>1){continue}break}}N[a+308>>2]=1;N[a+32>>2]=N[a+28>>2];break q;case 48:case 49:Mb:{if(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40){break Mb}if(O[a+645|0]?O[a+644|0]:0){break q}if(i&1){L[a+644|0]=1;break Mb}L[a+645|0]=1}if(!P[a+154>>1]){break q}s=N[a+156>>2];Nb:{if(i&1){u=N[a+164>>2];w=8;k=N[a+160>>2];break Nb}s=s+4|0;u=N[a+164>>2]+4|0;w=16;k=N[a+160>>2]+4|0}N[j+20>>2]=u;N[j+16>>2]=k;N[j+12>>2]=s;A=P[a+152>>1];N[j+24>>2]=A;v=0;f=0;while(1){l=f;b=P[N[a+172>>2]+(v<<1)>>1]-P[a+176>>1]|0;c=P[a+152>>1];t=b>>>0>>0?b:c-1|0;Ob:{if(t>>>0>>0){break Ob}G=N[a+168>>2];r=0;g=f;Pb:{while(1){Qb:{f=g+1|0;if(O[g+G|0]&w){d=g;c=d;Rb:{Sb:{b=f;H=t>>>0>>0;if(!H){while(1){e=c;q=d;d=b;Tb:{if(!(O[b+G|0]&w)){break Tb}b=e+1|0;c=d;if(q>>>0>>0|A>>>0<=c>>>0|e>>>0>=A>>>0){break Tb}h=N[(d<<3)+u>>2];i=N[(e<<3)+u>>2];Ub:{if((h|0)>=(i|0)){c=h;h=i;i=d;break Ub}c=i;i=e;e=d}m=i<<3;i=N[m+k>>2];B=N[s+m>>2];I=i-B|0;m=e<<3;e=N[m+k>>2];D=N[s+m>>2];J=e-D|0;Vb:{if(!((c|0)==(h|0)|(e|0)==(i|0))){S=c-h|0;U=i-e|0;K=0;i=0;while(1){c=b<<3;V=c+k|0;c=N[c+s>>2];Wb:{if((c|0)<=(D|0)){m=c+J|0;break Wb}m=c+I|0;if((c|0)>=(B|0)){break Wb}if(!K){i=fb(U,S)}K=1;E=N[(b<<3)+u>>2]-h|0;m=E>>31;m=(m^E)-m|0;c=i>>31;c=(c^i)-c|0;Xb:{if(m+(c>>>8|0)>>>0<=8190){m=T(c,m)+32768>>>16|0;break Xb}z=m&65535;m=T(z,c>>>16|0)+T(c,m>>>16|0)+(T(c&65535,z)+32768>>>16)|0}c=m;z=0-c|0;c=E>>31|1;m=e+((((i|0)<0?0-c|0:c)|0)<0?z:m)|0}N[V>>2]=m;b=b+1|0;if(q>>>0>=b>>>0){continue}break}break Vb}while(1){i=b<<3;c=N[i+s>>2];N[i+k>>2]=(c|0)>(D|0)?(c|0)<(B|0)?e:c+I|0:c+J|0;b=b+1|0;if(q>>>0>=b>>>0){continue}break}}c=d}b=d+1|0;if(t>>>0>=b>>>0){continue}break}if((c|0)!=(g|0)){break Sb}}c=g<<3;d=N[c+k>>2];c=N[c+s>>2];if((d|0)==(c|0)){break Pb}e=d-c|0;if(g>>>0<=l>>>0){break Qb}d=0;c=r&3;if(c){while(1){i=k+(l<<3)|0;N[i>>2]=e+N[i>>2];l=l+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}if(r-1>>>0>2){break Rb}break Qb}hn(j+12|0,c+1&65535,t,c,g);if(!g){break Pb}hn(j+12|0,l,g-1|0,c,g);break Pb}while(1){c=k+(l<<3)|0;N[c>>2]=e+N[c>>2];N[c+8>>2]=e+N[c+8>>2];N[c+16>>2]=e+N[c+16>>2];N[c+24>>2]=e+N[c+24>>2];l=l+4|0;if((l|0)!=(g|0)){continue}break}break Qb}r=r+1|0;g=f;if(t>>>0>=f>>>0){continue}break Ob}break}if(H){break Pb}while(1){c=k+(f<<3)|0;N[c>>2]=e+N[c>>2];f=f+1|0;if(t>>>0>=f>>>0){continue}break}}f=b}v=v+1|0;if((v|0)>1]){continue}break};break q;case 46:case 47:b=P[e>>1];if(b>>>0>=P[a+44>>1]){if(!O[a+593|0]){break q}d=134;break i}if(i&1){c=N[a+52>>2]+(b<<3)|0;c=Qa[N[a+604>>2]](a,N[c>>2],N[c+4>>2])|0;c=(Qa[N[a+600>>2]](a,c,3)|0)-c|0}else{c=0}Qa[N[a+616>>2]](a,o,b,c);M[a+290>>1]=b;M[a+288>>1]=b;break q;case 79:break i;case 45:break r}}c=N[a+448>>2];if((c|0)<=0){d=136;break i}b=c-1|0;N[a+448>>2]=b;b=N[a+456>>2]+(b<<4)|0;d=N[b+8>>2];N[b+8>>2]=d-1;L[a+384|0]=0;if((d|0)>=2){N[a+448>>2]=c;N[a+368>>2]=N[N[b+12>>2]+4>>2];break q}c=N[b>>2];if(c-4>>>0<4294967293){d=132;break i}d=(c-1<<3)+a|0;f=N[d+464>>2];if(!f){d=138;break i}d=N[d+468>>2];b=N[b+4>>2];if((d|0)<(b|0)){d=131;break i}N[a+372>>2]=d;N[a+364>>2]=f;N[a+368>>2]=b;N[a+360>>2]=c}b=N[a+12>>2]}if(b){d=128;if((b|0)!=128){break h}b=N[a+436>>2];if(!b){break i}c=N[a+428>>2];if((c|0)<=0){break i}c=T(c,24)+b|0;while(1){Yb:{if(!(!O[b+16|0]|O[a+376|0]!=O[b+12|0])){c=N[a+448>>2];if((c|0)>=N[a+452>>2]){d=134;break i}c=N[a+456>>2]+(c<<4)|0;N[c>>2]=N[a+360>>2];d=N[a+368>>2];N[c+12>>2]=b;N[c+8>>2]=1;N[c+4>>2]=d+1;d=N[b>>2];if(d-4>>>0<4294967293){d=132;break i}f=(d-1<<3)+a|0;g=N[f+464>>2];if(!g){d=138;break i}c=N[b+4>>2];f=N[f+468>>2];if((c|0)<=(f|0)){break Yb}d=131;break i}b=b+24|0;if(c>>>0>b>>>0){continue}break i}break}N[a+372>>2]=f;N[a+364>>2]=g;N[a+368>>2]=c;N[a+360>>2]=d;break m}N[a+16>>2]=N[a+32>>2];if(!O[a+384|0]){break n}f=N[a+380>>2]}N[a+368>>2]=N[a+368>>2]+f}R=R+1|0;if(R>>>0>1e6){d=139;break i}f=N[a+372>>2];c=N[a+368>>2]}if((c|0)>=(f|0)){b=0;d=131;if(N[a+448>>2]>0){break i}break h}if(!O[a+520|0]){continue}break}b=0;break h}N[a+12>>2]=d;b=d}N[a+392>>2]=N[a+404>>2];N[a+492>>2]=N[a+504>>2];La=j+48|0;return b|0}function qo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,P=0,Q=0,R=0,U=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0;i=La-96|0;La=i;a:{if(b>>>0>=c>>>0){break a}D=N[a>>2];G=a+224|0;H=a+228|0;I=a+232|0;J=a+236|0;while(1){h=b;while(1){b:{b=h;h=h+1|0;f=O[b|0];if((b|0)==(c|0)){break b}if((f|0)!=92){continue}}break}if((f|0)!=92){break a}c:{if((c|0)==(h|0)){h=c;break c}while(1){b=O[h|0];if((b|0)!=32&(b|0)!=9){break c}h=h+1|0;continue}}b=(c+h|0)-h|0;f=h;d:{while(1){e:{f:{g=O[f|0];if(!((g|0)==40|(g|0)==92)){if((c|0)!=(f|0)){break f}f=b}if((f|0)!=(h|0)){break e}b=h;break d}f=f+1|0;continue}break}N[i+20>>2]=441572;N[i+28>>2]=441572;N[i+16>>2]=441572;N[i+36>>2]=441572;N[i+24>>2]=441572;N[i+44>>2]=441572;N[i+32>>2]=441572;N[i+52>>2]=441572;N[i+40>>2]=441572;N[i+60>>2]=441572;N[i+48>>2]=441572;N[i+68>>2]=441572;N[i+56>>2]=441572;N[i+76>>2]=441572;N[i+64>>2]=441572;N[i+72>>2]=441572;l=0;N[i+12>>2]=0;g=f;b=f;r=0;if(O[f|0]==40){g:{h:{while(1){i:{b=g+1|0;if((c|0)==(b|0)){b=c;break i}while(1){g=O[b|0];if((g|0)!=32&(g|0)!=9){break i}b=b+1|0;continue}}m=(b+c|0)-b|0;g=b;j:{k:{while(1){l:{m:{k=O[g|0];switch(k-41|0){case 0:break g;case 3:break k;case 1:case 2:break l;default:break m}}if((k|0)!=92){break l}m=g;break h}if((c|0)!=(g|0)){g=g+1|0;continue}break}if((k|0)!=44){break j}g=m}if(l>>>0>7){continue}k=g;n:{if(b>>>0>=g>>>0){break n}while(1){n=k-1|0;m=O[n|0];if((m|0)!=32&(m|0)!=9){break n}k=n;if(k>>>0>b>>>0){continue}break}k=b}if(b>>>0>=k>>>0){continue}n=(i+16|0)+(l<<3)|0;N[n+4>>2]=k;N[n>>2]=b;l=l+1|0;N[i+12>>2]=l;continue}break}g=m;if((k|0)!=92){break g}}while(1){r=1;g=m;if((g|0)==(c|0)){break g}m=g+1|0;if(O[g|0]!=41){continue}break}}o:{if(l>>>0>7){break o}m=g;p:{if(b>>>0>=g>>>0){break p}while(1){k=m-1|0;n=O[k|0];if((n|0)!=32&(n|0)!=9){break p}m=k;if(k>>>0>b>>>0){continue}break}m=b}if(b>>>0>=m>>>0){break o}k=(i+16|0)+(l<<3)|0;N[k+4>>2]=m;N[k>>2]=b;l=l+1|0;N[i+12>>2]=l}b=((c|0)!=(g|0))+g|0}m=h+5|0;q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{t=O[h|0];switch(t-120|0){case 1:break M;case 0:break N;default:break K}}w=0;g=O[h+1|0]-98|0;if(g){if((g|0)==17){break L}else{break z}}if(O[h+2|0]!=111|O[h+3|0]!=114|O[h+4|0]!=100){break z}O:{if((l|0)<=7){P:{if(f>>>0<=m>>>0){break P}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break P}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break O}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+200>>3]*(1-d)+d*j;S[a+200>>3]=j<0?0:j;break d}S[a+200>>3]=S[N[a+68>>2]+88>>3];break d}w=0;g=O[h+1|0]-98|0;if(g){if((g|0)==17){break J}else{break z}}if(O[h+2|0]!=111|O[h+3|0]!=114|O[h+4|0]!=100){break z}Q:{if((l|0)<=7){R:{if(f>>>0<=m>>>0){break R}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break R}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break Q}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+208>>3]*(1-d)+d*j;S[a+208>>3]=j<0?0:j;break d}S[a+208>>3]=S[N[a+68>>2]+88>>3];break d}if(O[h+2|0]!=104|O[h+3|0]!=97|O[h+4|0]!=100){break z}S:{if((l|0)<=7){T:{if(f>>>0<=m>>>0){break T}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break T}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break S}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);S[a+272>>3]=S[a+272>>3]*(1-d)+d*j;break d}S[a+272>>3]=S[N[a+68>>2]+96>>3];break d}n=h+3|0;switch(t-102|0){case 3:break H;case 0:break I;default:break F}}if(O[h+2|0]!=104|O[h+3|0]!=97|O[h+4|0]!=100){break z}U:{if((l|0)<=7){V:{if(f>>>0<=m>>>0){break V}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break V}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break U}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);S[a+280>>3]=S[a+280>>3]*(1-d)+d*j;break d}S[a+280>>3]=S[N[a+68>>2]+96>>3];break d}g=O[h+1|0];if((g|0)!=97){break G}if(O[h+2|0]==120){W:{if((l|0)<=7){X:{if(f>>>0<=n>>>0){break X}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break X}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break W}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+128>>3],S[W+128>>3]=X;break d}N[a+128>>2]=0;N[a+132>>2]=0;break d}if(O[h+2|0]!=121){break A}Y:{if((l|0)<=7){Z:{if(f>>>0<=n>>>0){break Z}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Z}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break Y}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+136>>3],S[W+136>>3]=X;break d}N[a+136>>2]=0;N[a+140>>2]=0;break d}w=1;if(O[h+1|0]!=99|O[h+2|0]!=108|(O[n|0]!=105|O[h+4|0]!=112)){break z}if((l|0)==4){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;h=i+88|0;r=Eb(f,h,10);k=Pa;g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,h,10);n=Pa;m=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=m;g=Eb(g,h,10);m=Pa;p=N[i+44>>2];l=N[i+40>>2];N[i+88>>2]=l;N[i+92>>2]=p;h=Eb(l,h,10);l=Pa;L[a+257|0]=1;j=1-d;p=(k|0)<0&r>>>0<=2147483648|(k|0)<-1;r=p?-2147483648:r;k=p?-1:k;o=+N[a+240>>2]*j+d*+(((k|0)>=0&r>>>0>=2147483647|(k|0)>0?2147483647:r)|0);_:{if(V(o)<2147483648){k=~~o;break _}k=-2147483648}N[a+240>>2]=k;k=m;m=(k|0)<0&g>>>0<=2147483648|(k|0)<-1;g=m?-2147483648:g;k=m?-1:k;o=+N[a+248>>2]*j+d*+(((k|0)>=0&g>>>0>=2147483647|(k|0)>0?2147483647:g)|0);$:{if(V(o)<2147483648){g=~~o;break $}g=-2147483648}N[a+248>>2]=g;g=n;k=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=k?-2147483648:f;g=k?-1:g;o=+N[a+244>>2]*j+d*+(((g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f)|0);aa:{if(V(o)<2147483648){f=~~o;break aa}f=-2147483648}N[a+244>>2]=f;g=h;f=l;h=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;j=+N[a+252>>2]*j+d*+(((f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g)|0);if(V(j)<2147483648){N[a+252>>2]=~~j;break d}N[a+252>>2]=-2147483648;break d}if(N[a+296>>2]){break d}if(!po(a,i+16|0,l)){break d}N[a+456>>2]=1;break d}k=h+2|0;ba:{switch(g-101|0){case 0:break t;case 9:break D;case 13:break E;case 14:break ba;default:break d}}g=h+4|0;if(!(O[k|0]!=99|O[n|0]!=120)){ca:{if((l|0)<=7){da:{if(f>>>0<=g>>>0){break da}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break da}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ca}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+176>>3]*(1-d)+d*(j/100);S[a+176>>3]=j<0?0:j;break d}S[a+176>>3]=S[N[a+68>>2]+48>>3];break d}if(!(O[h+2|0]!=99|O[n|0]!=121)){ea:{if((l|0)<=7){fa:{if(f>>>0<=g>>>0){break fa}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break fa}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ea}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+184>>3]*(1-d)+d*(j/100);S[a+184>>3]=j<0?0:j;break d}S[a+184>>3]=S[N[a+68>>2]+56>>3];break d}if(O[h+2|0]==99){ga:{if((l|0)>7){break ga}ha:{if(f>>>0<=n>>>0){break ha}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ha}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0<=n>>>0){break ga}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;N[i+12>>2]=l+1}f=N[a+68>>2];S[a+176>>3]=S[f+48>>3];S[a+184>>3]=S[f+56>>3];break d}if(O[h+2|0]==112){ia:{if((l|0)<=7){ja:{if(f>>>0<=n>>>0){break ja}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ja}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break ia}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);S[a+192>>3]=S[a+192>>3]*(1-d)+d*j;break d}S[a+192>>3]=S[N[a+68>>2]+64>>3];break d}ka:{la:{if((l|0)<=7){ma:{if(f>>>0<=k>>>0){break ma}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ma}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0>k>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}if(!l){break la}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);na:{oa:{switch(O[N[i+16>>2]]-43|0){case 0:case 2:j=(d*j/10+1)*S[a+80>>3];break na;default:break oa}}j=S[a+80>>3]*(1-d)+d*j}if(!(j<=0)){break ka}}j=S[N[a+68>>2]+8>>3]}S[a+80>>3]=j;break d}p=h+4|0;C=(t|0)==98;if(C){break s}k=h+1|0;g=h+2|0;w=0;s=0;pa:{switch(t-97|0){case 12:break pa;case 15:break B;case 0:break C;default:break q}}if(O[k|0]!=111|O[g|0]!=118|O[n|0]!=101){break r}if((l&-3)!=4){break d}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;q=pb(f,i+88|0);g=N[i+36>>2];f=N[i+32>>2];N[i+88>>2]=f;N[i+92>>2]=g;u=pb(f,i+88|0);g=N[i+44>>2];f=N[i+40>>2];N[i+88>>2]=f;N[i+92>>2]=g;y=pb(f,i+88|0);f=0;h=0;if((l|0)==6){g=N[i+52>>2];f=N[i+48>>2];N[i+88>>2]=f;N[i+92>>2]=g;k=i+88|0;g=Eb(f,k,10);h=N[i+60>>2];f=N[i+56>>2];N[i+88>>2]=f;N[i+92>>2]=h;h=Pa;n=(h|0)<0&g>>>0<=2147483648|(h|0)<-1;g=n?-2147483648:g;h=n?-1:h;g=(h|0)>=0&g>>>0>=2147483647|(h|0)>0?2147483647:g;f=Eb(f,k,10);h=Pa;k=(h|0)<0&f>>>0<=2147483648|(h|0)<-1;f=k?-2147483648:f;h=k?-1:h;f=(h|0)>=0&f>>>0>=2147483647|(h|0)>0?2147483647:f;h=(f|0)>(g|0)?g:f;f=(f|0)<(g|0)?g:f}g=N[a+64>>2];if(!((h|0)>0|(f|0)>0)){h=0;f=N[g+8>>2]}g=N[D+176>>2]-N[g>>2]|0;j=0;qa:{if((g|0)<=(h|0)){break qa}j=1;if((f|0)<=(g|0)){break qa}j=+(g-h|0)/+(f-h|0)}f=N[a+216>>2];if(f&1){break d}L[a+258|0]=0;N[a+216>>2]=f|1;S[a+152>>3]=j*(y-q)+q;S[a+144>>3]=j*(u-o)+o;break d}if(O[k|0]==120){rc(i+16|0,i+12|0,n,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+104>>3],S[W+104>>3]=X;break d}N[a+104>>2]=0;N[a+108>>2]=0;break d}if(O[k|0]==121){rc(i+16|0,i+12|0,n,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+112>>3],S[W+112>>3]=X;break d}N[a+112>>2]=0;N[a+116>>2]=0;break d}ra:{if((l|0)<=7){g=O[k|0]==122?n:k;sa:{if(g>>>0>=f>>>0){break sa}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break sa}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ra}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+120>>3],S[W+120>>3]=X;break d}S[a+120>>3]=S[N[a+68>>2]+72>>3];break d}rc(i+16|0,i+12|0,k,f);ta:{ua:{if(!N[i+12>>2]){break ua}h=N[i+16>>2];f=N[i+20>>2];if(!bb(h,22017,f-h|0)){break ua}while(1){g=O[h|0];if(!((g|0)!=32&(g|0)!=9)){h=h+1|0;continue}break}N[a+496>>2]=h;f=f-h|0;break ta}f=N[N[a+68>>2]+4>>2];N[a+496>>2]=f;f=nb(f)}N[a+500>>2]=f;sg(a);break d}va:{wa:{switch(O[k|0]-108|0){case 0:if(O[g|0]!=112|O[n|0]!=104|O[p|0]!=97){break va}rc(i+16|0,i+12|0,m,f);if(N[i+12>>2]){f=N[i+16>>2];g=La-16|0;La=g;while(1){h=O[f|0];if(!((h|0)!=72&(h|0)!=38)){f=f+1|0;continue}break}N[g+12>>2]=f;f=Eb(f,g+12|0,16);La=g+16|0;g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;rg(G,f,d);rg(H,f,d);rg(I,f,d);rg(J,f,d);break d}f=N[a+68>>2];g=O[f+16|0];h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+224|0]=Y;g=O[f+20|0];h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+228|0]=Y;g=O[f+24|0];h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+232|0]=Y;f=O[f+28|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+236|0]=Y;break d;case 2:break wa;default:break va}}xa:{if((l|0)>7){break xa}ya:{if(f>>>0<=g>>>0){break ya}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ya}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0<=g>>>0){break xa}h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;N[i+12>>2]=l+1}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;k=N[a+88>>2];if(k&2){break d}h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;g=f-1|0;za:{if(g>>>0<=8){h=(((g&255)>>>0)%3|0)+1|0;g=h;if(f>>>0<4){break za}g=h|8;if(f>>>0<=6){break za}g=h|4;break za}g=N[N[a+68>>2]+104>>2]}N[a+96>>2]=g;N[a+88>>2]=k|2;break d}Aa:{if((l|0)>7){break Aa}Ba:{if(f>>>0<=k>>>0){break Ba}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ba}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break Aa}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;N[i+12>>2]=l+1}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;h=N[a+88>>2];if(h&2){break d}k=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=k?-2147483648:f;g=k?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;Ca:{if(f-1>>>0<=10){f=f&3?f:5;break Ca}f=N[N[a+68>>2]+104>>2]}N[a+96>>2]=f;N[a+88>>2]=h|2;break d}m=O[k|0];if((m|0)!=111){break v}if(O[g|0]!=115){break u}if((l|0)!=2){break d}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);f=N[a+216>>2];if(f&1){mb(N[D>>2],6,14604,0);break d}L[a+258|0]=0;S[a+152>>3]=o;S[a+144>>3]=j;N[a+216>>2]=f|1;break d}if(O[h+2|0]!=100){break d}switch(l-2|0){case 5:break x;case 0:break y;default:break d}}k=h+1|0;g=h+2|0;p=h+4|0;s=0;break q}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;k=i+88|0;g=Eb(f,k,10);h=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=h;h=Pa;n=(h|0)<0&g>>>0<=2147483648|(h|0)<-1;g=n?-2147483648:g;h=n?-1:h;r=(h|0)>=0&g>>>0>=2147483647|(h|0)>0?2147483647:g;f=Eb(f,k,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;n=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;k=0;m=255;h=-1;l=255;f=-1;break w}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;n=i+88|0;C=n;l=Eb(f,n,10);g=Pa;h=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=h;t=Eb(f,n,10);h=Pa;k=N[i+36>>2];f=N[i+32>>2];N[i+88>>2]=f;N[i+92>>2]=k;w=Eb(f,n,10);m=Pa;k=N[i+44>>2];f=N[i+40>>2];N[i+88>>2]=f;N[i+92>>2]=k;K=Eb(f,n,10);p=Pa;k=N[i+52>>2];f=N[i+48>>2];N[i+88>>2]=f;N[i+92>>2]=k;n=Eb(f,i+88|0,10);f=Pa;r=N[i+60>>2];k=N[i+56>>2];N[i+88>>2]=k;N[i+92>>2]=r;M=Eb(k,C,10);r=N[i+68>>2];k=N[i+64>>2];s=k;N[i+88>>2]=k;N[i+92>>2]=r;k=n;n=(f|0)<0&n>>>0<=2147483648|(f|0)<-1;k=n?-2147483648:k;f=n?-1:f;r=(f|0)>=0&k>>>0>=2147483647|(f|0)>0?2147483647:k;f=Pa;n=(f|0)<0&M>>>0<=2147483648|(f|0)<-1;k=n?-2147483648:M;f=n?-1:f;n=(f|0)>=0&k>>>0>=2147483647|(f|0)>0?2147483647:k;f=g;k=(f|0)<0&l>>>0<=2147483648|(f|0)<-1;g=k?-2147483648:l;f=k?-1:f;l=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=h;h=(f|0)<0&t>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:t;f=h?-1:f;k=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=m;h=(f|0)<0&w>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:w;f=h?-1:f;m=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=p;h=(f|0)<0&K>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:K;f=h?-1:f;h=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=Eb(s,C,10);g=Pa;p=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=p?-2147483648:f;g=p?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f}g=n;if((h&f)==-1){h=0;f=N[N[a+64>>2]+8>>2];g=f-g|0}n=N[a+88>>2];if(n&1){break d}p=N[D+176>>2];C=N[D+180>>2];t=N[a+64>>2];s=N[t>>2];t=N[t+4>>2];N[a+88>>2]=n|1;n=p-s|0;p=C-((p>>>0>>0)+t|0)|0;s=h>>31;if(h>>>0<=n>>>0&(p|0)>=(s|0)|(p|0)>(s|0)){Da:{Ea:{s=r>>31;if(n>>>0>>0&(s|0)>=(p|0)|(p|0)<(s|0)){j=+(n-h|0)/+(r-h|0);j=+(l|0)*(1-j)+j*+(k|0);if(!(V(j)<2147483648)){break Ea}h=~~j;break Da}l=g>>31;h=k;if(g>>>0>n>>>0&(l|0)>=(p|0)|(l|0)>(p|0)){break Da}l=f>>31;h=m;if((l|0)<=(p|0)&f>>>0<=n>>>0|(l|0)<(p|0)){break Da}j=+(n-g|0)/+(f-g|0);j=+(k|0)*(1-j)+j*+(m|0);if(!(V(j)<2147483648)){break Ea}h=~~j;break Da}h=-2147483648}}else{h=l}N[a+260>>2]=h;break d}if((m|0)!=98|O[h+2|0]!=111){break u}rc(i+16|0,i+12|0,n,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0),S[W+288>>3]=X;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;N[a+448>>2]=(f|0)>0?f:0;break d}rc(i+16|0,i+12|0,k,f);Fa:{if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;break Fa}f=N[N[a+68>>2]+120>>2]}N[a+520>>2]=f;break d}Ga:{Ha:{switch(O[h+1|0]-108|0){case 0:if(O[h+2|0]!=117|O[n|0]!=114){break Ga}Ia:{if((l|0)<=7){Ja:{if(f>>>0<=p>>>0){break Ja}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ja}f=g;if(p>>>0>>0){continue}break}f=p}if(f>>>0>p>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=p;l=l+1|0;N[i+12>>2]=l}if(!l){break Ia}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+264>>3]*(1-d)+d*j;j=j<0?0:j;S[a+264>>3]=j>100?100:j;break d}N[a+264>>2]=0;N[a+268>>2]=0;break d;case 3:break Ha;default:break Ga}}if(O[h+2|0]!=114|O[n|0]!=100){break Ga}Ka:{La:{if((l|0)<=7){Ma:{if(f>>>0<=p>>>0){break Ma}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ma}f=g;if(p>>>0>>0){continue}break}f=p}if(f>>>0>p>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=p;l=l+1|0;N[i+12>>2]=l}if(!l){break La}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=d*pb(f,i+88|0);q=1-d;j=S[a+208>>3]*q+o;j=j<0?0:j;o=S[a+200>>3]*q+o;o=o<0?0:o;break Ka}j=S[N[a+68>>2]+88>>3];o=j}S[a+208>>3]=j;S[a+200>>3]=o;break d}g=h+2|0}k=h+1|0;w=0;s=C}Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{switch(t-49|0){case 62:r=O[k|0];if((r|0)!=114){break Ta}r=114;if(O[h+2|0]!=103){break Ta}if((l|0)!=2){break d}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);if(O[a+256|0]){break d}L[a+258|0]=0;L[a+256|0]=1;S[a+168>>3]=o;S[a+160>>3]=j;break d;case 67:o=1;$a:{ab:{bb:{cb:{switch(l-2|0){case 1:g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;A(+j);g=v(1)|0;k=v(0)|0;if(V(j)<2147483648){h=~~j}else{h=-2147483648}g=g&2147483647;g=j<=-2147483648?-2147483648:(g|0)==2146435072&(k|0)!=0|g>>>0>2146435072?-2147483648:h;h=j>=2147483648;q=pb(f,i+88|0);k=q>=2147483648;if(V(q)<2147483648){f=~~q}else{f=-2147483648}h=h?-2147483648:g;if(!(q<=-2147483648|k)){A(+q);g=v(1)|0;g=g&2147483647;j=1;if(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072){break bb}}L[a+258|0]=0;f=-2147483648;break $a;case 0:g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);default:h=0;L[a+258|0]=0;break ab;case 2:break cb}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;k=i+88|0;h=Eb(f,k,10);f=Pa;n=N[i+28>>2];g=N[i+24>>2];N[i+88>>2]=g;N[i+92>>2]=n;n=Eb(g,k,10);m=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=m;m=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;h=m?-2147483648:h;f=m?-1:f;h=(f|0)>=0&h>>>0>=2147483647|(f|0)>0?2147483647:h;f=Pa;m=(f|0)<0&n>>>0<=2147483648|(f|0)<-1;n=m?-2147483648:n;f=m?-1:f;f=(f|0)>=0&n>>>0>=2147483647|(f|0)>0?2147483647:n;j=pb(g,k)}o=j;L[a+258|0]=0;if(f){break $a}}f=N[N[a+64>>2]+8>>2]}j=0;g=N[D+176>>2]-N[N[a+64>>2]>>2]|0;db:{if((g|0)<(h|0)){break db}j=1;n=g;if((g|0)>=(f|0)){break db}if((f|0)==(h|0)){break Ra}g=0;s=La-16|0;La=s;A(+o);k=v(1)|0;p=v(0)|0;q=+(n-h|0)/+(f-h|0);A(+q);h=v(1)|0;n=v(0)|0;C=k>>>20|0;t=C&2047;w=t-1086|0;f=h>>>20|0;eb:{fb:{if(w>>>0>4294967167&f-2047>>>0>=4294965250){break fb}m=(k<<1|p>>>31)+2097152|0;if(!(p<<1)&(m|0)==2097152|m>>>0<2097152){if(!n&(h|0)==1072693248){break eb}f=p<<1;m=k<<1|p>>>31;if(!(f|m)){break eb}g=!f&(m|0)==-2097152|m>>>0<4292870144;f=n<<1;m=h<<1|n>>>31;if(!(g&(!f&(m|0)==-2097152|m>>>0<4292870144))){j=q+o;break eb}if(!f&(m|0)==2145386496){break eb}j=((k|0)>0|(k|0)>=0)^m>>>0>2145386495?0:o*o;break eb}m=(h<<1|n>>>31)+2097152|0;if(!(n<<1)&(m|0)==2097152|m>>>0<2097152){j=q*q;if((h|0)<0){j=(Qm(p,k)|0)==1?-j:j}if((k|0)>0|(k|0)>=0){break eb}f=La-16|0;S[f+8>>3]=1/j;j=S[f+8>>3];break eb}if((h|0)<0){g=Qm(p,k);if(!g){j=q-q;j=j/j;break eb}g=((g|0)==1)<<18;h=h&2147483647;f=f&2047}if(w>>>0<=4294967167){if(!n&(h|0)==1072693248){break eb}if(t>>>0<=957){j=((h|0)==1072693248&(n|0)!=0|h>>>0>1072693248?o:-o)+1;break eb}if((!n&(h|0)==1072693248|h>>>0<1072693248)!=(C>>>0<2048|0)){f=La-16|0;S[f+8>>3]=3105036184601418e216;j=S[f+8>>3]*3105036184601418e216;break eb}f=La-16|0;S[f+8>>3]=12882297539194267e-247;j=S[f+8>>3]*12882297539194267e-247;break eb}if(f){break fb}A(+(q*4503599627370496));f=v(1)|0;n=v(0)|0;h=(f&2147483647)-54525952|0}x(0,p&-134217728);x(1,k|0);P=+z();f=h-1072076117|0;y=+(f>>20);m=(f>>>13&127)<<5;U=y*S[399]+S[m+3280>>3];p=0;k=n-p|0;f=h-((f&-1048576)+(n>>>0

>>0)|0)|0;x(0,0);x(1,(k- -2147483648>>>0<2147483648?f+1|0:f)|0);j=+z();u=S[m+3256>>3];q=j*u+-1;x(0,k|0);x(1,f|0);Q=(+z()-j)*u;j=q+Q;E=S[400];u=j*E;R=y*S[398]+S[m+3272>>3];y=j+R;F=q;q=q*E;F=F*q;E=y+F;F=U+(j+(R-y))+Q*(u+q)+(F+(y-E));q=j*u;j=F+j*q*(q*(q*(j*S[406]+S[405])+(j*S[404]+S[403]))+(j*S[402]+S[401]));q=E+j;S[s+8>>3]=j+(E-q);A(+q);f=v(1)|0;x(0,v(0)&-134217728);x(1,f|0);u=+z();j=P*u;o=(o-P)*u+(S[s+8>>3]+(q-u))*o;A(+j);f=v(1)|0;v(0)|0;gb:{hb:{f=f>>>20&2047;if(f-969>>>0<63){break hb}if(f>>>0<969){j=j+1;j=g?-j:j;break gb}h=f>>>0<1033;f=0;if(h){break hb}A(+j);f=v(1)|0;v(0)|0;if((f|0)<0){f=La-16|0;S[f+8>>3]=g?-12882297539194267e-247:12882297539194267e-247;j=S[f+8>>3]*12882297539194267e-247;break gb}f=La-16|0;S[f+8>>3]=g?-3105036184601418e216:3105036184601418e216;j=S[f+8>>3]*3105036184601418e216;break gb}q=S[129];u=S[128]*j+q;q=u-q;j=q*S[131]+(q*S[130]+j)+o;o=j*j;q=o*o*(j*S[135]+S[134]);o=o*(j*S[133]+S[132]);A(+u);v(1)|0;k=v(0)|0;n=k<<4&2032;j=q+(o+(S[n+1136>>3]+j));n=n+1144|0;m=N[n>>2];n=N[n+4>>2];g=g+k|0;p=m;m=g<<13;h=0;g=p+h|0;m=n+m|0;m=g>>>0>>0?m+1|0:m;if(!f){ib:{if(!(k&-2147483648)){x(0,g|0);x(1,m-1058013184|0);o=+z();j=(o*j+o)*5486124068793689e288;break ib}f=m+1071644672|0;h=f;x(0,g|0);x(1,f|0);o=+z();u=o*j;j=u+o;if(V(j)<1){f=La-16|0;S[f+8>>3]=22250738585072014e-324;S[f+8>>3]=S[f+8>>3]*22250738585072014e-324;x(0,0);x(1,h&-2147483648);q=j<0?-1:1;y=j+q;j=y+(u+(o-j)+(j+(q-y)))-q;j=(X=+z(),Z=j,W=j==0,W?X:Z)}j=j*22250738585072014e-324}break gb}x(0,g|0);x(1,m|0);o=+z();j=o*j+o}}La=s+16|0}g=e&1;f=l-1|0;if(r^1|f>>>0>3){d=g?j:d;break d}e=(i+16|0)+(f<<3)|0;f=N[e>>2];e=N[e+4>>2];if(e>>>0>>0){if(g){break Qa}qo(a,f,e,j,1);e=0;break d}g=(b|0)==(c|0);e=1;b=f;d=j;if(g){break d}ba(16681,18210,718,11024);B();case 50:if(O[k|0]!=108|O[h+2|0]!=105){break Oa}g=k;if(O[h+3|0]!=112){break Na}if((l|0)==4){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;h=i+88|0;r=Eb(f,h,10);k=Pa;g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,h,10);n=Pa;m=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=m;g=Eb(g,h,10);m=Pa;p=N[i+44>>2];l=N[i+40>>2];N[i+88>>2]=l;N[i+92>>2]=p;h=Eb(l,h,10);l=Pa;L[a+257|0]=0;j=1-d;p=(k|0)<0&r>>>0<=2147483648|(k|0)<-1;r=p?-2147483648:r;k=p?-1:k;o=+N[a+240>>2]*j+d*+(((k|0)>=0&r>>>0>=2147483647|(k|0)>0?2147483647:r)|0);jb:{if(V(o)<2147483648){k=~~o;break jb}k=-2147483648}N[a+240>>2]=k;k=m;m=(k|0)<0&g>>>0<=2147483648|(k|0)<-1;g=m?-2147483648:g;k=m?-1:k;o=+N[a+248>>2]*j+d*+(((k|0)>=0&g>>>0>=2147483647|(k|0)>0?2147483647:g)|0);kb:{if(V(o)<2147483648){g=~~o;break kb}g=-2147483648}N[a+248>>2]=g;g=n;k=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=k?-2147483648:f;g=k?-1:g;o=+N[a+244>>2]*j+d*+(((g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f)|0);lb:{if(V(o)<2147483648){f=~~o;break lb}f=-2147483648}N[a+244>>2]=f;g=h;f=l;h=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;j=+N[a+252>>2]*j+d*+(((f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g)|0);if(V(j)<2147483648){N[a+252>>2]=~~j;break d}N[a+252>>2]=-2147483648;break d}if(N[a+296>>2]){break d}if(!po(a,i+16|0,l)){break d}N[a+456>>2]=0;break d;case 0:r=O[k|0];switch(r-97|0){case 2:break Na;case 0:break Za;default:break Ta};case 1:mb:{r=O[k|0];switch(r-97|0){case 0:break Ya;case 2:break mb;default:break Ta}}nb:{if((l|0)<=7){ob:{if(f>>>0<=g>>>0){break ob}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ob}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break nb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[H>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);pb:{if(V(j)<2147483648){m=~~j;break pb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);qb:{if(V(j)<2147483648){k=~~j;break qb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);rb:{if(V(j)<2147483648){h=~~j;break rb}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[H>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+228|0];f=N[N[a+68>>2]+20>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+228>>2]=Y;break d;case 2:sb:{r=O[k|0];switch(r-97|0){case 0:break Xa;case 2:break sb;default:break Ta}}tb:{if((l|0)<=7){ub:{if(f>>>0<=g>>>0){break ub}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ub}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break tb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[I>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);vb:{if(V(j)<2147483648){m=~~j;break vb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);wb:{if(V(j)<2147483648){k=~~j;break wb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);xb:{if(V(j)<2147483648){h=~~j;break xb}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[I>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+232|0];f=N[N[a+68>>2]+24>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+232>>2]=Y;break d;case 65:break Ua;case 3:break _a;default:break Va}}yb:{r=O[k|0];switch(r-97|0){case 0:break Wa;case 2:break yb;default:break Ta}}zb:{if((l|0)<=7){Ab:{if(f>>>0<=g>>>0){break Ab}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Ab}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break zb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[J>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);Bb:{if(V(j)<2147483648){m=~~j;break Bb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);Cb:{if(V(j)<2147483648){k=~~j;break Cb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);Db:{if(V(j)<2147483648){h=~~j;break Db}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[J>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+236|0];f=N[N[a+68>>2]+28>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+236>>2]=Y;break d}Eb:{if((l|0)<=7){Fb:{if(f>>>0<=g>>>0){break Fb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Fb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Eb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[G|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[G|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+16|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+224|0]=Y;break d}Gb:{if((l|0)<=7){Hb:{if(f>>>0<=g>>>0){break Hb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Hb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Gb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[H|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[H|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+20|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+228|0]=Y;break d}Ib:{if((l|0)<=7){Jb:{if(f>>>0<=g>>>0){break Jb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Jb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Ib}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[I|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[I|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+24|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+232|0]=Y;break d}Kb:{if((l|0)<=7){Lb:{if(f>>>0<=g>>>0){break Lb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Lb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Kb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[J|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[J|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+28|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+236|0]=Y;break d}if(!s){break Sa}r=O[k|0];break Pa}Mb:{if((l|0)<=7){Nb:{if(f>>>0<=k>>>0){break Nb}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Nb}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0>k>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}if(!l){break Mb}}n=N[i+16>>2];g=N[i+20>>2]-n|0;k=N[D+168>>2];h=N[k>>2];Ob:{if((h|0)>0){l=N[k+16>>2];while(1){f=h-1|0;m=l+T(f,144)|0;r=N[m>>2];if(!(bb(r,n,g)|O[g+r|0])){break Ob}m=h>>>0>1;h=f;if(m){continue}break}}f=N[k+84>>2];N[i+8>>2]=n;N[i+4>>2]=g;N[i>>2]=k;mb(f,2,16562,i);m=0}ti(a,m);break d}ti(a,0);break d}if(s){break Pa}}Pb:{Qb:{Rb:{Sb:{Tb:{Ub:{Vb:{if(!w){r=k;switch(t-75|0){case 38:break Pb;case 42:break Qb;case 40:break Rb;case 0:break Ub;case 32:break Vb;default:break d}}Wb:{if((l|0)>7){break Wb}Xb:{if(f>>>0<=k>>>0){break Xb}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Xb}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break Wb}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;Yb:{if(l){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2){break Yb}}h=N[N[a+68>>2]+36>>2]}N[a+508>>2]=h;sg(a);break d}r=g;Zb:{switch(O[k|0]-102|0){case 9:break Tb;case 0:break Ub;case 14:break Zb;default:break Sb}}rc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)*10}else{j=0}L[a+472|0]=1;N[a+464>>2]=0;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+468>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}rc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)}else{j=100}N[a+460>>2]=2;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}rc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)}else{j=100}N[a+460>>2]=3;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}rc(i+16|0,i+12|0,k,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)}else{j=100}N[a+460>>2]=1;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}if(!(O[k|0]!=104|O[h+2|0]!=97|O[h+3|0]!=100)){rc(i+16|0,i+12|0,p,f);_b:{if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=d*pb(f,i+88|0);q=1-d;j=S[a+280>>3]*q+o;j=j<0?0:j;o=S[a+272>>3]*q+o;o=o<0?0:o;break _b}o=S[N[a+68>>2]+96>>3];j=o}S[a+280>>3]=j;S[a+272>>3]=o;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;$b:{if(N[i+12>>2]){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2){break $b}}h=N[N[a+68>>2]+44>>2]}f=N[a+92>>2];if(h){N[a+92>>2]=f|2;break d}N[a+92>>2]=f&-3;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;ac:{if(N[i+12>>2]){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2){break ac}}h=N[N[a+68>>2]+40>>2]}f=N[a+92>>2];if(h){N[a+92>>2]=f|1;break d}N[a+92>>2]=f&-2;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;bc:{cc:{if(!N[i+12>>2]){break cc}h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if((h|0)<0){break cc}if((h|0)<4){break bc}}h=N[N[D+168>>2]+56>>2]}N[a+516>>2]=h;break d}ba(22391,18210,702,11024);B()}ba(16780,18210,715,11024);B()}if((r&255)==101){dc:{if((l|0)<=7){ec:{if(f>>>0<=g>>>0){break ec}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ec}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break dc}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=+L[a+259|0]*(1-d)+d*j+.5;fc:{if(V(j)<2147483648){f=~~j;break fc}f=-2147483648}f=(f|0)>0?f:0;g=f>>>0>=127?127:f;A(+j);f=v(1)|0;f=f&2147483647;W=a,Y=(_=0,$=(ca=0,da=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,ea=j<=-2147483648,ea?ca:da),aa=j>=2147483648,aa?_:$),L[W+259|0]=Y;break d}L[a+259|0]=0;break d}gc:{if((l|0)>7){break gc}hc:{if(f>>>0<=k>>>0){break hc}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break hc}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break gc}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;ic:{if(l){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2|(h|0)>99){break ic}}h=N[N[a+68>>2]+32>>2]}N[a+504>>2]=h;sg(a);break d}g=k}jc:{if((l|0)<=7){kc:{if(f>>>0<=g>>>0){break kc}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break kc}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break jc}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[G>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);lc:{if(V(j)<2147483648){m=~~j;break lc}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);mc:{if(V(j)<2147483648){k=~~j;break mc}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);nc:{if(V(j)<2147483648){h=~~j;break nc}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[G>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+224|0];f=N[N[a+68>>2]+16>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+224>>2]=Y}if(b>>>0>>0){continue}break}}La=i+96|0;return b}function De(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,P=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0;j=La-15968|0;La=j;N[j+15960>>2]=g;N[j+15964>>2]=f;q=N[a+176>>2];o=N[N[q+536>>2]+544>>2];J=N[a+52>>2];x=N[a>>2];C(j+15808|0,0,128);N[j+15952>>2]=0;f=j+15792|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15764|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15736|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15700|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15708|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15944>>2]=0;N[j+15948>>2]=0;N[j+15776>>2]=0;N[j+15780>>2]=0;N[j+15784>>2]=0;N[j+15788>>2]=0;N[j+15756>>2]=0;N[j+15760>>2]=0;N[j+15752>>2]=20;H=a+4|0;N[j+15748>>2]=H;N[j+15744>>2]=x;N[j+15728>>2]=0;N[j+15732>>2]=0;N[j+15724>>2]=20;N[j+15720>>2]=H;N[j+15716>>2]=x;N[j+15692>>2]=0;N[j+15696>>2]=0;N[j+15688>>2]=H;V=j+15608|0;C(V,0,80);f=j+15532|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15528>>2]=8;N[j+15524>>2]=H;f=j+15540|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15520>>2]=x;N[j+3912>>2]=c;N[j+3908>>2]=a;C(j+11664|0,0,3856);f=O[a+184|0];N[j+11668>>2]=J;L[j+11665|0]=f;K=j+15520|0;N[j+11660>>2]=K;P=j+11652|0;N[j+11656>>2]=P;N[j+11652>>2]=a;C(j+7796|0,0,3856);N[j+7800>>2]=J;L[j+7797|0]=f;N[j+7792>>2]=K;N[j+7788>>2]=P;N[j+7784>>2]=a;C(j+3928|0,0,3856);N[j+3932>>2]=J;L[j+3929|0]=f;N[j+3924>>2]=K;N[j+3920>>2]=P;N[j+3916>>2]=a;N[j+15548>>2]=N[a+40>>2];G=48;f=N[a+48>>2];N[j+15556>>2]=J;N[j+15552>>2]=f;f=N[d>>2];i=N[d+4>>2];N[j+15588>>2]=a+240;N[j+15584>>2]=g;N[j+15560>>2]=f;N[j+15564>>2]=i;N[j+15580>>2]=j+15688;N[j+15576>>2]=j+15716;N[j+15572>>2]=j+15744;L[j+15570|0]=O[a+185|0];g=N[a+228>>2];N[j+15592>>2]=g;f=N[a+232>>2];N[j+15604>>2]=6554;N[j+15596>>2]=f;M[j+15568>>1]=0;i=1;L[j+15571|0]=1;l=g;g=g>>31;g=(l^g)-g|0;l=f;f=f>>31;f=(l^f)-f|0;N[j+15600>>2]=((f|0)<(g|0)?g:f)<<1;f=O[a+9|0];L[j+15775|0]=(f|0)!=0;N[h>>2]=N[N[q+536>>2]+540>>2]<<16;G=f?N[N[q+532>>2]+1556>>2]:G;l=64;f=Qa[N[x+4>>2]](x,20)|0;a:{b:{c:{if(!f){f=0;break c}N[f+4>>2]=H;N[f>>2]=x;g=0;d:{e:{f:{g:{if((G|0)<0){break g}if(G){if((G|0)>268435455){break g}k=G<<3;g=Qa[N[x+4>>2]](x,k)|0;if(!g|(G|0)<=0){break f}C(g,0,k)}D=f+8|0;N[D>>2]=g;break d}N[f+8>>2]=0;break e}D=f+8|0;N[D>>2]=g;if(g){break d}}Qa[N[x+8>>2]](x,f);f=0;break c}N[f+16>>2]=G;N[f+12>>2]=g;A=Qa[N[x+4>>2]](x,272)|0;g=N[a+4>>2];if(!A){A=0;if(g){i=0;break a}i=0;break b}i=0;if(g){break a}R=o<<16;Z=j+3916|0;B=j+15692|0;g=N[b+4>>2];N[A>>2]=N[b>>2];N[A+4>>2]=g;g=N[b+12>>2];N[A+8>>2]=N[b+8>>2];N[A+12>>2]=g;I=a+92|0;_=j+48|0;S=2e7;t=A;h:while(1){w=0;while(1){o=i;l=t+12|0;b=N[l>>2];m=N[t+8>>2];i:{if(b>>>0>=m>>>0){g=y?11:14;k=b;break i}k=b+1|0;N[l>>2]=k;j:{g=O[b|0];switch(g-11|0){case 0:case 3:break j;default:break i}}g=O[a+9|0]?0:g}n=O[a+8|0];if(n){b=g&254;k:{i=g>>>0>31;if(i|(g|0)==12|((b|0)==10|(g-13&255)>>>0<2)){break k}if(o&255|(g&253)==1){break k}N[f+12>>2]=N[f+8>>2];i=0;continue}r=(g|0)==12;E=r?E:E&255?i?E:0:E;u=i?u:r?u:(u|0)<=0?u:(b|0)==10?u:0}if(N[a+4>>2]){i=0;break a}S=S-1|0;if(!S){i=0;l=18;break b}i=o;l:{m:{n:{o:{p:{q:{r:{s:{switch(g|0){case 15:if(!O[a+9|0]){break p}if(O[a+93|0]){break l}b=N[f+12>>2];if((b|0)==N[f+8>>2]){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break n}N[b>>2]=161;N[a+120>>2]=0;break m}if(N[b-4>>2]!=2){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break n}N[b>>2]=160;break n}b=b-8|0;N[f+12>>2]=b;g=N[b>>2];if((g|0)>=0){break n}break p;case 16:if(!O[a+9|0]){break p}l=18;i=0;if(!N[a+96>>2]){break c}t:{if(!(Qa[N[N[a+548>>2]+12>>2]](I,N[a+120>>2],N[a+124>>2],N[a+128>>2])|0)){break t}b=Qa[N[N[a+548>>2]+16>>2]](I,N[a+120>>2],N[a+124>>2],N[a+128>>2])|0;if(!b){break t}l=b;break c}b=N[f+12>>2];u:{if((b|0)==N[f+8>>2]){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break u}N[b>>2]=161;break u}if(N[b-4>>2]!=2){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break u}N[b>>2]=160;break u}b=b-8|0;N[f+12>>2]=b;g=N[b>>2];if(G>>>0>>0){break c}}p=0;b=N[f+12>>2];i=N[f+8>>2];l=b-i>>3;W=T(N[I+20>>2],g);if(g){X=l-W|0;k=X+g|0;while(1){m=N[I+24>>2];Y=N[f+12>>2];n=Y-i>>3;s=p+X|0;v:{if(n>>>0<=s>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break v}N[b>>2]=130;break v}w:{x:{y:{b=(s<<3)+i|0;switch(N[b+4>>2]-1|0){case 0:break x;case 1:break y;default:break w}}l=N[b>>2]<<16;break v}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break v}l=N[b>>2]}U=1;if(Q[I+20>>2]>=2){while(1){v=N[m+4>>2];z:{if(k>>>0>=n>>>0){b=0;r=N[f+4>>2];if(!r|N[r>>2]){break z}N[r>>2]=130;break z}A:{B:{C:{b=(k<<3)+i|0;switch(N[b+4>>2]-1|0){case 0:break B;case 1:break C;default:break A}}b=N[b>>2]<<16;break z}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break z}b=N[b>>2]}k=k+1|0;m=m+4|0;$=l;z=v>>31;z=(z^v)-z|0;r=b>>31;r=(r^b)-r|0;D:{if(z+(r>>>8|0)>>>0<=8190){r=T(r,z)+32768>>>16|0;break D}l=z&65535;r=T(l,r>>>16|0)+T(r,z>>>16|0)+(T(r&65535,l)+32768>>>16)|0}l=v>>31|1;l=$+((((b|0)<0?0-l|0:l)|0)<0?0-r|0:r)|0;U=U+1|0;if(U>>>0>2]){continue}break}n=Y-i>>3}E:{if(n>>>0>>0){b=N[f+4>>2];if(!b|N[b>>2]){break E}N[b>>2]=130;break E}b=s<<3;N[b+i>>2]=l;i=N[f+8>>2];N[(b+i|0)+4>>2]=0}p=p+1|0;if((p|0)!=(g|0)){continue}break}b=N[f+12>>2];l=b-i>>3}g=W-g|0;F:{if(g>>>0>l>>>0){b=N[f+4>>2];if(!b|N[b>>2]){break F}N[b>>2]=161;break F}N[f+12>>2]=b-(g<<3)}L[a+93|0]=1;i=o;continue;case 1:case 18:g=j+15744|0;l=j+15775|0;G:{if(!n){if(O[j+15692|0]){break p}b=0;break G}b=N[N[q+32>>2]+4>>2]}wg(a,f,g,h,l,b);if(!O[q+548|0]){break m}break o;case 3:case 23:g=j+15716|0;l=j+15775|0;H:{if(!n){if(O[j+15692|0]){break p}b=0;break H}b=N[N[q+32>>2]>>2]}wg(a,f,g,h,l,b);if(O[q+548|0]){break o}break m;case 4:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<16)){I:{J:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break I;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break I;default:break J}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}K:{if((b|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break K}N[b>>2]=161;break K}b=i-8|0;N[f+12>>2]=b;L:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break K;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break K;default:break L}}g=N[b>>2]}b=N[j+15960>>2]+g|0;N[j+15960>>2]=b;if(N[q+468>>2]){break p}Ce(j+3908|0,N[j+15964>>2],b);break p;case 5:l=N[j+15960>>2];i=N[j+15964>>2];g=N[f+8>>2];b=N[f+12>>2];if((g|0)!=(b|0)){m=b-g>>3;g=0;while(1){k=N[f+8>>2];r=N[f+12>>2]-k>>3;M:{if(r>>>0<=g>>>0){n=0;b=N[f+4>>2];if(!b|N[b>>2]){break M}N[b>>2]=130;break M}N:{O:{P:{b=k+(g<<3)|0;switch(N[b+4>>2]-1|0){case 1:break P;case 0:break O;default:break N}}n=N[b>>2]<<16;break M}b=N[b>>2];n=((b>>31)+b|0)- -8192>>14;break M}n=N[b>>2]}i=i+n|0;b=g|1;Q:{if(b>>>0>=r>>>0){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Q}N[k>>2]=130;break Q}R:{S:{T:{b=k+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break S;case 1:break T;default:break R}}b=N[b>>2]<<16;break Q}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break Q}b=N[b>>2]}l=b+l|0;Xd(j+3908|0,i,l);g=g+2|0;if(m>>>0>g>>>0){continue}break}g=N[D>>2]}N[j+15960>>2]=l;N[j+15964>>2]=i;N[f+12>>2]=g;i=o;continue;case 6:case 7:b=N[j+15960>>2];p=N[j+15964>>2];i=N[f+8>>2];l=N[f+12>>2];if((i|0)!=(l|0)){i=l-i>>3;n=i>>>0<=1?1:i;i=(g|0)==6;g=0;while(1){l=N[f+8>>2];U:{if(N[f+12>>2]-l>>3>>>0<=g>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break U}N[k>>2]=130;break U}V:{W:{X:{l=l+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break W;case 1:break X;default:break V}}l=N[l>>2]<<16;break U}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break U}l=N[l>>2]}k=i&255;p=(k?l:0)+p|0;b=(k?0:l)+b|0;Xd(j+3908|0,p,b);i=i^1;g=g+1|0;if((n|0)!=(g|0)){continue}break}i=N[D>>2]}N[j+15960>>2]=b;N[j+15964>>2]=p;N[f+12>>2]=i;i=o;continue;case 8:case 24:n=0;i=N[j+15960>>2];p=N[j+15964>>2];b=N[f+12>>2]-N[f+8>>2]|0;if(b>>>0>=48){z=b>>3;l=6;while(1){b=n;n=l;l=N[f+8>>2];s=N[f+12>>2]-l>>3;Y:{if(s>>>0<=b>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break Y}N[m>>2]=130;break Y}Z:{_:{$:{k=l+(b<<3)|0;switch(N[k+4>>2]-1|0){case 0:break _;case 1:break $;default:break Z}}k=N[k>>2]<<16;break Y}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break Y}k=N[k>>2]}m=b|1;aa:{if(m>>>0>=s>>>0){m=0;r=N[f+4>>2];if(!r|N[r>>2]){break aa}N[r>>2]=130;break aa}ba:{ca:{da:{m=l+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break ca;case 1:break da;default:break ba}}m=N[m>>2]<<16;break aa}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break aa}m=N[m>>2]}r=b+2|0;ea:{if(r>>>0>=s>>>0){r=0;v=N[f+4>>2];if(!v|N[v>>2]){break ea}N[v>>2]=130;break ea}fa:{ga:{ha:{r=l+(r<<3)|0;switch(N[r+4>>2]-1|0){case 0:break ga;case 1:break ha;default:break fa}}r=N[r>>2]<<16;break ea}r=N[r>>2];r=((r>>31)+r|0)- -8192>>14;break ea}r=N[r>>2]}v=k+p|0;k=b+3|0;ia:{if(k>>>0>=s>>>0){p=0;k=N[f+4>>2];if(!k|N[k>>2]){break ia}N[k>>2]=130;break ia}ja:{ka:{la:{k=l+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break ka;case 1:break la;default:break ja}}p=N[k>>2]<<16;break ia}k=N[k>>2];p=((k>>31)+k|0)- -8192>>14;break ia}p=N[k>>2]}k=i+m|0;m=r+v|0;i=b+4|0;ma:{if(i>>>0>=s>>>0){i=0;r=N[f+4>>2];if(!r|N[r>>2]){break ma}N[r>>2]=130;break ma}na:{oa:{pa:{i=l+(i<<3)|0;switch(N[i+4>>2]-1|0){case 0:break oa;case 1:break pa;default:break na}}i=N[i>>2]<<16;break ma}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break ma}i=N[i>>2]}r=k+p|0;p=i+m|0;b=b+5|0;qa:{if(b>>>0>=s>>>0){i=0;b=N[f+4>>2];if(!b|N[b>>2]){break qa}N[b>>2]=130;break qa}ra:{sa:{ta:{b=l+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break sa;case 1:break ta;default:break ra}}i=N[b>>2]<<16;break qa}b=N[b>>2];i=((b>>31)+b|0)- -8192>>14;break qa}i=N[b>>2]}i=i+r|0;Cd(j+3908|0,v,k,m,r,p,i);l=n+6|0;if(z>>>0>=l>>>0){continue}break}}N[j+15960>>2]=i;N[j+15964>>2]=p;if((g|0)==24){g=N[f+8>>2];k=N[f+12>>2]-g>>3;ua:{if(k>>>0<=n>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break ua}N[b>>2]=130;break ua}va:{wa:{xa:{b=g+(n<<3)|0;switch(N[b+4>>2]-1|0){case 0:break wa;case 1:break xa;default:break va}}l=N[b>>2]<<16;break ua}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break ua}l=N[b>>2]}l=l+p|0;N[j+15964>>2]=l;b=n|1;ya:{if(b>>>0>=k>>>0){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break ya}N[b>>2]=130;break ya}za:{Aa:{Ba:{b=g+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break Aa;case 1:break Ba;default:break za}}g=N[b>>2]<<16;break ya}b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break ya}g=N[b>>2]}b=g+i|0;N[j+15960>>2]=b;Xd(j+3908|0,l,b)}N[f+12>>2]=N[f+8>>2];i=o;continue;case 9:if(!n){break p}if(O[j+15568|0]){L[j+15569|0]=1;Xd(j+3908|0,N[j+15640>>2],N[j+15644>>2]);if(O[j+15648|0]){lf(j+3908|0,Z,V,N[j+15616>>2],N[j+15620>>2],1)}L[j+15648|0]=0;M[j+15568>>1]=0;L[j+15571|0]=1}L[j+15775|0]=1;i=o;break m;case 10:case 29:l=18;i=0;if((y|0)>16){break c}y=y+1|0;b=y;if(b>>>0>=17){N[a+4>>2]=130;b=0}m=b<<4;b=N[f+12>>2];Ca:{if((b|0)==N[f+8>>2]){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Ca}N[k>>2]=161;break Ca}if(N[b-4>>2]!=2){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Ca}N[k>>2]=160;break Ca}b=b-8|0;N[f+12>>2]=b;b=N[b>>2]}t=m+A|0;Da:{if(!n){break Da}k=N[q+616>>2];if(!k){break Da}b=Ad(b,k);if(!b){b=-1;break Da}b=N[b>>2]}N[t>>2]=0;N[t+4>>2]=0;N[t+8>>2]=0;N[t+12>>2]=0;if((g|0)==29){b=N[q+568>>2]+b|0;if(b>>>0>=Q[q+560>>2]){break c}b=N[q+576>>2]+(b<<2)|0;g=N[b>>2];N[t+4>>2]=g;N[t+12>>2]=g;N[t+8>>2]=N[b+4>>2];i=o;continue}b=N[q+564>>2]+b|0;if(b>>>0>=Q[q+556>>2]){break c}i=b<<2;b=i+N[q+572>>2]|0;g=N[b>>2];N[t+4>>2]=g;Ea:{if(O[q+48|0]){l=N[q+612>>2];if(l){if(!g){g=0;b=0;break Ea}b=N[i+l>>2]+g|0;break Ea}i=g;g=N[q+608>>2];g=i+((g|0)>0?g:0)|0;N[t+4>>2]=g;b=N[b+4>>2];break Ea}b=N[b+4>>2]}N[t+12>>2]=g;N[t+8>>2]=b;i=o;continue;case 11:if((y|0)<=0){break l}y=y-1|0;b=y;if(b>>>0>=17){N[a+4>>2]=130;b=0}t=(b<<4)+A|0;continue;case 12:if(k>>>0>=m>>>0){b=N[t>>2];if(b){g=0;if(N[b>>2]){break q}N[b>>2]=85}g=0;break q}N[l>>2]=k+1;Fa:{Ga:{Ha:{Ia:{g=O[k|0];switch(g-8|0){case 29:break Fa;case 28:break Ga;case 27:break Ha;case 26:break Ia;case 0:case 5:case 11:case 17:case 23:case 24:break m;default:break q}}vg(f,j+15964|0,j+15960|0,j+3908|0,295036,0);continue}vg(f,j+15964|0,j+15960|0,j+3908|0,295048,0);break m}vg(f,j+15964|0,j+15960|0,j+3908|0,295060,0);continue}vg(f,j+15964|0,j+15960|0,j+3908|0,295072,1);continue;case 13:if(!n){break p}g=N[f+12>>2];i=N[f+8>>2];Ja:{if((g|0)==(i|0)){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break Ja}N[b>>2]=161;break Ja}g=g-8|0;N[f+12>>2]=g;Ka:{switch(N[g+4>>2]-1|0){case 1:p=N[g>>2]<<16;break Ja;case 0:b=N[g>>2];p=((b>>31)+b|0)- -8192>>14;break Ja;default:break Ka}}p=N[g>>2]}b=N[q+36>>2];N[b+4>>2]=0;N[b>>2]=p;La:{if((g|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break La}N[b>>2]=161;break La}b=g-8|0;N[f+12>>2]=b;Ma:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break La;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break La;default:break Ma}}g=N[b>>2]}b=N[q+32>>2];N[b>>2]=N[b>>2]+g;L[j+15775|0]=1;if(O[q+47|0]){break o}if(!(o&255)){i=0;break m}N[j+15964>>2]=N[j+15964>>2]+g;i=o;break m;case 14:if(!(!n|o&255)){Ce(j+3908|0,N[j+15964>>2],N[j+15960>>2]);N[j+15760>>2]=0;N[j+15732>>2]=0;N[B+16>>2]=0;N[B+20>>2]=0;N[B+8>>2]=0;N[B+12>>2]=0;N[B>>2]=0;N[B+4>>2]=0;N[j+15688>>2]=H;L[j+15693|0]=1;if((y|0)>0){g=y;Na:{if(!(g&1)){break Na}g=y-1|0;if(y>>>0<18){l=g;break Na}l=0;if(N[a+4>>2]){break Na}N[a+4>>2]=130}if((y|0)!=1){while(1){if(!(N[a+4>>2]|g>>>0<18)){N[a+4>>2]=130}b=g-1|0;g=g-2|0;l=g;Oa:{if(b>>>0<18){break Oa}l=0;if(N[a+4>>2]){break Oa}N[a+4>>2]=130}if(b>>>0>1){continue}break}}y=0;t=(l<<4)+A|0}N[t+12>>2]=N[t+4>>2];i=1;break m}b=N[f+12>>2]-N[f+8>>2]|0;Pa:{Qa:{if((b|0)!=8){if((b|0)!=40){break Pa}if(!O[j+15775|0]){break Qa}break Pa}if(O[j+15775|0]){break Pa}}aa=h,ba=md(f,0)+R|0,N[aa>>2]=ba}i=0;if(O[q+548|0]){l=0;break c}b=j+3908|0;if(O[b+11660|0]){L[b+11661|0]=1;Xd(b,N[b+11732>>2],N[b+11736>>2]);if(O[b+11740|0]){lf(b,b+8|0,b+11700|0,N[b+11708>>2],N[b+11712>>2],1)}L[b+11740|0]=0;M[b+11660>>1]=0;L[b+11663|0]=1}if(O[a+9|0]){l=0;break c}if(O[a+8|0]){l=0;break c}if(N[f+12>>2]-N[f+8>>2]>>>0<9){l=0;break c}l=18;Ra:{if(e){break Ra}b=nc(f);e=nc(f);g=qb(f);h=qb(f);l=Ro(q,b,j+36|0);if(l){break Ra}b=j+36|0;De(a,b,c,d,1,h,g,j+8|0);g=j+40|0;Qa[N[q+600>>2]](N[q+4>>2],g,N[j+44>>2]-N[j+40>>2]|0);l=Ro(q,e,b);if(l){break Ra}l=0;De(a,j+36|0,c,d,1,0,0,j+8|0);Qa[N[q+600>>2]](N[q+4>>2],g,N[j+44>>2]-N[j+40>>2]|0)}break c;case 19:case 20:if(O[j+15692|0]?N[f+12>>2]-N[f+8>>2]>>>0>=16:0){break p}i=0;wg(a,f,j+15716|0,h,j+15775|0,0);if(O[q+548|0]){l=0;break c}if((g|0)==19){b=N[j+15732>>2]+N[j+15760>>2]|0;if(b>>>0>=97){b=N[j+15688>>2];if(!b|N[b>>2]){break p}N[b>>2]=18;i=o;break m}N[j+15696>>2]=b;M[j+15692>>1]=257;N[j+15700>>2]=b+7>>>3;g=0;if(!b){break p}while(1){b=N[l>>2];Sa:{if(b>>>0>2]){N[l>>2]=b+1;i=O[b|0];break Sa}i=0;b=N[t>>2];if(!b|N[b>>2]){break Sa}N[b>>2]=85}L[(g+j|0)+15704|0]=i;g=g+1|0;if(g>>>0>2]){continue}break}break p}C(_,0,3856);b=O[a+184|0];N[j+52>>2]=J;L[j+49|0]=b;N[j+44>>2]=K;N[j+40>>2]=P;N[j+36>>2]=a;N[j+28>>2]=0;N[j+32>>2]=0;N[j+20>>2]=0;N[j+24>>2]=0;N[j+12>>2]=0;N[j+16>>2]=0;N[j+8>>2]=H;b=N[j+15732>>2]+N[j+15760>>2]|0;Ta:{if(b>>>0>=97){if(N[a+4>>2]){break Ta}N[a+4>>2]=18;break Ta}N[j+16>>2]=b;M[j+12>>1]=257;N[j+20>>2]=b+7>>>3;g=0;if(!b){break Ta}while(1){b=N[l>>2];Ua:{if(b>>>0>2]){N[l>>2]=b+1;i=O[b|0];break Ua}i=0;b=N[t>>2];if(!b|N[b>>2]){break Ua}N[b>>2]=85}L[(g+j|0)+24|0]=i;g=g+1|0;if(g>>>0>2]){continue}break}}kf(j+36|0,j+15744|0,j+15716|0,j+8|0,0,0);i=o;break m;case 21:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<24)){Va:{Wa:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break Va;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break Va;default:break Wa}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}l=N[j+15960>>2];Xa:{Ya:{Za:{if((b|0)==(i|0)){g=N[f+4>>2];if(!(!g|N[g>>2])){N[g>>2]=161}N[j+15960>>2]=l;n=N[j+15964>>2];break Za}g=i-8|0;N[f+12>>2]=g;_a:{$a:{switch(N[g+4>>2]-1|0){case 0:k=N[g>>2];n=((k>>31)+k|0)- -8192>>14;break _a;default:n=N[g>>2];break _a;case 1:break $a}}n=N[g>>2]<<16}l=n+l|0;N[j+15960>>2]=l;n=N[j+15964>>2];if((b|0)!=(g|0)){break Ya}g=N[f+4>>2]}i=0;if(N[g>>2]|!g){break Xa}N[g>>2]=161;break Xa}b=i-16|0;N[f+12>>2]=b;ab:{switch(N[b+4>>2]-1|0){case 1:i=N[b>>2]<<16;break Xa;case 0:b=N[b>>2];i=((b>>31)+b|0)- -8192>>14;break Xa;default:break ab}}i=N[b>>2]}b=i+n|0;N[j+15964>>2]=b;if(N[q+468>>2]){break p}Ce(j+3908|0,b,l);i=o;break m;case 22:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<16)){bb:{cb:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break bb;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break bb;default:break cb}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}db:{if((b|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break db}N[b>>2]=161;break db}b=i-8|0;N[f+12>>2]=b;eb:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break db;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break db;default:break eb}}g=N[b>>2]}b=N[j+15964>>2]+g|0;N[j+15964>>2]=b;if(N[q+468>>2]){break p}Ce(j+3908|0,b,N[j+15960>>2]);i=o;break m;case 25:l=N[f+12>>2]-N[f+8>>2]|0;p=l>>3;g=0;b=N[j+15960>>2];i=N[j+15964>>2];if(l>>>0<=48){break r}while(1){l=g;k=N[f+8>>2];m=N[f+12>>2]-k>>3;fb:{if(m>>>0<=g>>>0){g=0;n=N[f+4>>2];if(!n|N[n>>2]){break fb}N[n>>2]=130;break fb}gb:{hb:{ib:{g=k+(l<<3)|0;switch(N[g+4>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}g=N[g>>2]<<16;break fb}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break fb}g=N[g>>2]}i=g+i|0;g=l|1;jb:{if(g>>>0>=m>>>0){g=0;k=N[f+4>>2];if(!k|N[k>>2]){break jb}N[k>>2]=130;break jb}kb:{lb:{mb:{g=k+(g<<3)|0;switch(N[g+4>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}g=N[g>>2]<<16;break jb}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break jb}g=N[g>>2]}b=b+g|0;Xd(j+3908|0,i,b);g=l+2|0;if(p>>>0>l+8>>>0){continue}break};break r;case 26:m=N[j+15960>>2];l=N[j+15964>>2];i=N[f+8>>2];r=N[f+12>>2]-i>>3;s=r&-3;g=r&2;if(s>>>0>g>>>0){while(1){i=N[f+8>>2];n=N[f+12>>2]-i>>3;if(r-g&1){nb:{if(g>>>0>=n>>>0){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break nb}N[b>>2]=130;break nb}ob:{pb:{qb:{b=i+(g<<3)|0;switch(N[b+4>>2]-1|0){case 0:break pb;case 1:break qb;default:break ob}}p=N[b>>2]<<16;break nb}b=N[b>>2];p=((b>>31)+b|0)- -8192>>14;break nb}p=N[b>>2]}g=g+1|0;l=l+p|0}b=l;rb:{if(g>>>0>=n>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break rb}N[k>>2]=130;break rb}sb:{tb:{ub:{l=i+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break tb;case 1:break ub;default:break sb}}l=N[l>>2]<<16;break rb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break rb}l=N[l>>2]}k=g+1|0;vb:{if(k>>>0>=n>>>0){k=0;p=N[f+4>>2];if(!p|N[p>>2]){break vb}N[p>>2]=130;break vb}wb:{xb:{yb:{k=i+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break xb;case 1:break yb;default:break wb}}k=N[k>>2]<<16;break vb}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break vb}k=N[k>>2]}p=l+m|0;l=g+2|0;zb:{if(l>>>0>=n>>>0){m=0;l=N[f+4>>2];if(!l|N[l>>2]){break zb}N[l>>2]=130;break zb}Ab:{Bb:{Cb:{l=i+(l<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Bb;case 1:break Cb;default:break Ab}}m=N[l>>2]<<16;break zb}l=N[l>>2];m=((l>>31)+l|0)- -8192>>14;break zb}m=N[l>>2]}l=b+k|0;k=m+p|0;m=n;n=g+3|0;Db:{if(m>>>0<=n>>>0){i=0;n=N[f+4>>2];if(!n|N[n>>2]){break Db}N[n>>2]=130;break Db}Eb:{Fb:{Gb:{i=i+(n<<3)|0;switch(N[i+4>>2]-1|0){case 0:break Fb;case 1:break Gb;default:break Eb}}i=N[i>>2]<<16;break Db}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break Db}i=N[i>>2]}m=i+k|0;Cd(j+3908|0,b,p,l,k,l,m);g=g+4|0;if(s>>>0>g>>>0){continue}break}i=N[D>>2]}N[j+15960>>2]=m;N[j+15964>>2]=l;N[f+12>>2]=i;i=o;continue;case 27:m=N[j+15964>>2];l=N[j+15960>>2];i=N[f+8>>2];r=N[f+12>>2]-i>>3;s=r&-3;g=r&2;if(s>>>0>g>>>0){while(1){i=N[f+8>>2];n=N[f+12>>2]-i>>3;if(r-g&1){Hb:{if(g>>>0>=n>>>0){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break Hb}N[b>>2]=130;break Hb}Ib:{Jb:{Kb:{b=i+(g<<3)|0;switch(N[b+4>>2]-1|0){case 0:break Jb;case 1:break Kb;default:break Ib}}p=N[b>>2]<<16;break Hb}b=N[b>>2];p=((b>>31)+b|0)- -8192>>14;break Hb}p=N[b>>2]}g=g+1|0;l=l+p|0}b=l;Lb:{if(g>>>0>=n>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break Lb}N[k>>2]=130;break Lb}Mb:{Nb:{Ob:{l=i+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Nb;case 1:break Ob;default:break Mb}}l=N[l>>2]<<16;break Lb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break Lb}l=N[l>>2]}k=g+1|0;Pb:{if(k>>>0>=n>>>0){k=0;p=N[f+4>>2];if(!p|N[p>>2]){break Pb}N[p>>2]=130;break Pb}Qb:{Rb:{Sb:{k=i+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Rb;case 1:break Sb;default:break Qb}}k=N[k>>2]<<16;break Pb}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break Pb}k=N[k>>2]}m=l+m|0;l=g+2|0;Tb:{if(l>>>0>=n>>>0){l=0;p=N[f+4>>2];if(!p|N[p>>2]){break Tb}N[p>>2]=130;break Tb}Ub:{Vb:{Wb:{l=i+(l<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Vb;case 1:break Wb;default:break Ub}}l=N[l>>2]<<16;break Tb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break Tb}l=N[l>>2]}k=k+m|0;l=b+l|0;p=n;n=g+3|0;Xb:{if(p>>>0<=n>>>0){i=0;n=N[f+4>>2];if(!n|N[n>>2]){break Xb}N[n>>2]=130;break Xb}Yb:{Zb:{_b:{i=i+(n<<3)|0;switch(N[i+4>>2]-1|0){case 0:break Zb;case 1:break _b;default:break Yb}}i=N[i>>2]<<16;break Xb}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break Xb}i=N[i>>2]}n=m;m=i+k|0;Cd(j+3908|0,n,b,k,l,m,l);g=g+4|0;if(s>>>0>g>>>0){continue}break}i=N[D>>2]}N[j+15964>>2]=m;N[j+15960>>2]=l;N[f+12>>2]=i;i=o;continue;case 30:case 31:k=N[j+15960>>2];n=N[j+15964>>2];l=N[f+8>>2];b=N[f+12>>2]-l>>3;v=b&-3;i=b&2;if(v>>>0>i>>>0){z=(g|0)==31;while(1){b=k;l=n;g=N[f+8>>2];s=N[f+12>>2]-g>>3;$b:{if(z){ac:{if(i>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break ac}N[k>>2]=130;break ac}bc:{cc:{dc:{k=g+(i<<3)|0;switch(N[k+4>>2]-1|0){case 0:break cc;case 1:break dc;default:break bc}}n=N[k>>2]<<16;break ac}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break ac}n=N[k>>2]}r=i+1|0;ec:{if(s>>>0<=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break ec}N[m>>2]=130;break ec}fc:{gc:{hc:{k=g+(r<<3)|0;switch(N[k+4>>2]-1|0){case 0:break gc;case 1:break hc;default:break fc}}k=N[k>>2]<<16;break ec}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break ec}k=N[k>>2]}m=i+2|0;ic:{if(m>>>0>=s>>>0){m=0;p=N[f+4>>2];if(!p|N[p>>2]){break ic}N[p>>2]=130;break ic}jc:{kc:{lc:{m=g+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break kc;case 1:break lc;default:break jc}}m=N[m>>2]<<16;break ic}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break ic}m=N[m>>2]}l=l+n|0;p=b+m|0;n=i+3|0;mc:{if(n>>>0>=s>>>0){n=0;m=N[f+4>>2];if(!m|N[m>>2]){break mc}N[m>>2]=130;break mc}nc:{oc:{pc:{n=g+(n<<3)|0;switch(N[n+4>>2]-1|0){case 0:break oc;case 1:break pc;default:break nc}}n=N[n>>2]<<16;break mc}n=N[n>>2];n=((n>>31)+n|0)- -8192>>14;break mc}n=N[n>>2]}m=k+l|0;k=n+p|0;z=0;if((v-i|0)!=5){r=i;n=m;break $b}i=i+4|0;qc:{if(i>>>0>=s>>>0){i=N[f+4>>2];g=0;if(!i|N[i>>2]){break qc}N[i>>2]=130;n=m;break $b}rc:{sc:{tc:{g=g+(i<<3)|0;switch(N[g+4>>2]-1|0){case 0:break sc;case 1:break tc;default:break rc}}n=(N[g>>2]<<16)+m|0;break $b}g=N[g>>2];n=(((g>>31)+g|0)- -8192>>14)+m|0;break $b}g=N[g>>2]}n=g+m|0;break $b}uc:{if(i>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break uc}N[k>>2]=130;break uc}vc:{wc:{xc:{k=g+(i<<3)|0;switch(N[k+4>>2]-1|0){case 0:break wc;case 1:break xc;default:break vc}}n=N[k>>2]<<16;break uc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break uc}n=N[k>>2]}r=i+1|0;yc:{if(s>>>0<=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break yc}N[m>>2]=130;break yc}zc:{Ac:{Bc:{k=g+(r<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Ac;case 1:break Bc;default:break zc}}k=N[k>>2]<<16;break yc}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break yc}k=N[k>>2]}m=i+2|0;Cc:{if(m>>>0>=s>>>0){p=0;m=N[f+4>>2];if(!m|N[m>>2]){break Cc}N[m>>2]=130;break Cc}Dc:{Ec:{Fc:{m=g+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break Ec;case 1:break Fc;default:break Dc}}p=N[m>>2]<<16;break Cc}m=N[m>>2];p=((m>>31)+m|0)- -8192>>14;break Cc}p=N[m>>2]}b=b+n|0;m=k+l|0;k=i+3|0;Gc:{if(k>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break Gc}N[k>>2]=130;break Gc}Hc:{Ic:{Jc:{k=g+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Ic;case 1:break Jc;default:break Hc}}n=N[k>>2]<<16;break Gc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break Gc}n=N[k>>2]}p=b+p|0;n=m+n|0;z=1;if((v-i|0)!=5){r=i;k=p;break $b}i=i+4|0;Kc:{if(i>>>0>=s>>>0){g=0;i=N[f+4>>2];if(!i|N[i>>2]){break Kc}N[i>>2]=130;break Kc}Lc:{Mc:{Nc:{g=g+(i<<3)|0;switch(N[g+4>>2]-1|0){case 0:break Mc;case 1:break Nc;default:break Lc}}g=N[g>>2]<<16;break Kc}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break Kc}g=N[g>>2]}k=g+p|0}Cd(j+3908|0,l,b,m,p,n,k);i=r+4|0;if(v>>>0>i>>>0){continue}break}l=N[D>>2]}N[j+15960>>2]=k;N[j+15964>>2]=n;N[f+12>>2]=l;i=o;continue;case 28:Oc:{if(k>>>0>>0){g=k+1|0;N[l>>2]=g;i=O[k|0];break Oc}i=0;b=N[t>>2];if(!(!b|N[b>>2])){N[b>>2]=85}g=k}Pc:{if(g>>>0>>0){N[l>>2]=g+1;l=O[g|0];break Pc}l=0;b=N[t>>2];if(!b|N[b>>2]){break Pc}N[b>>2]=85}b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){i=o;b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=(l<<16|i<<24)>>16;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;i=o;continue;case 0:case 2:case 17:break m;default:break s}}if(g>>>0<=246){b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=g-139;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;continue}if(g>>>0<=250){Qc:{if(k>>>0>>0){N[l>>2]=k+1;l=O[k|0];break Qc}l=0;b=N[t>>2];if(!b|N[b>>2]){break Qc}N[b>>2]=85}b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=((g<<8)+l|0)-63124;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;continue}if((g|0)!=255){Rc:{if(k>>>0>>0){N[l>>2]=k+1;i=O[k|0];break Rc}i=0;b=N[t>>2];if(!b|N[b>>2]){break Rc}N[b>>2]=85}Be(f,64148-(g<<8|i)|0);i=o;continue}Sc:{if(k>>>0>>0){g=k+1|0;N[l>>2]=g;b=O[k|0];break Sc}b=0;g=N[t>>2];if(!(!g|N[g>>2])){N[g>>2]=85}g=k}Tc:{if(g>>>0>>0){i=g+1|0;N[l>>2]=i;p=O[g|0];break Tc}p=0;i=N[t>>2];if(!(!i|N[i>>2])){N[i>>2]=85}i=g}Uc:{if(i>>>0>>0){g=i+1|0;N[l>>2]=g;k=O[i|0];break Uc}k=0;g=N[t>>2];if(!(!g|N[g>>2])){N[g>>2]=85}g=i}Vc:{if(g>>>0>>0){N[l>>2]=g+1;g=O[g|0];break Vc}g=0;i=N[t>>2];if(!i|N[i>>2]){break Vc}N[i>>2]=85}b=p<<16|b<<24|k<<8|g;if(n){Be(f,b);E=b+32e3>>>0<64001?E:E&255?E:1;i=o;continue}Jb(f,b);i=o;continue}if(g>>>0

>>0){while(1){l=N[f+8>>2];r=N[f+12>>2]-l>>3;Wc:{if(r>>>0<=g>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break Wc}N[k>>2]=130;break Wc}Xc:{Yc:{Zc:{k=l+(g<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Yc;case 1:break Zc;default:break Xc}}n=N[k>>2]<<16;break Wc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break Wc}n=N[k>>2]}k=g|1;_c:{if(k>>>0>=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break _c}N[m>>2]=130;break _c}$c:{ad:{bd:{k=l+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break ad;case 1:break bd;default:break $c}}k=N[k>>2]<<16;break _c}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break _c}k=N[k>>2]}m=g+2|0;cd:{if(m>>>0>=r>>>0){m=0;s=N[f+4>>2];if(!s|N[s>>2]){break cd}N[s>>2]=130;break cd}dd:{ed:{fd:{m=l+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break ed;case 1:break fd;default:break dd}}m=N[m>>2]<<16;break cd}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break cd}m=N[m>>2]}n=i+n|0;i=g+3|0;gd:{if(i>>>0>=r>>>0){i=0;s=N[f+4>>2];if(!s|N[s>>2]){break gd}N[s>>2]=130;break gd}hd:{id:{jd:{i=l+(i<<3)|0;switch(N[i+4>>2]-1|0){case 0:break id;case 1:break jd;default:break hd}}i=N[i>>2]<<16;break gd}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break gd}i=N[i>>2]}k=b+k|0;m=m+n|0;b=g+4|0;kd:{if(b>>>0>=r>>>0){b=0;s=N[f+4>>2];if(!s|N[s>>2]){break kd}N[s>>2]=130;break kd}ld:{md:{nd:{b=l+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break md;case 1:break nd;default:break ld}}b=N[b>>2]<<16;break kd}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break kd}b=N[b>>2]}s=i+k|0;i=b+m|0;b=g+5|0;od:{if(b>>>0>=r>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break od}N[b>>2]=130;break od}pd:{qd:{rd:{b=l+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break qd;case 1:break rd;default:break pd}}l=N[b>>2]<<16;break od}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break od}l=N[b>>2]}b=l+s|0;Cd(j+3908|0,n,k,m,s,i,b);g=g+6|0;if(p>>>0>g>>>0){continue}break}}N[j+15960>>2]=b;N[j+15964>>2]=i;N[f+12>>2]=N[f+8>>2];i=o;continue}if(O[a+9|0]|g>>>0>37){break p}if(!(!n|(u|0)<=0|(g|0)==17)){u=0;i=o;break m}i=o;sd:{td:{ud:{vd:{switch(g-1|0){case 0:case 1:if(!n){break p}i=md(f,0);b=md(f,2);l=md(f,4);k=md(f,1);n=N[f+8>>2];wd:{if(N[f+12>>2]-n>>>0<=15){i=N[f+4>>2];if(!i|N[i>>2]){break wd}N[i>>2]=130;break wd}N[n+16>>2]=b-(i+k|0);N[N[D>>2]+20>>2]=0}i=md(f,3);k=N[f+8>>2];xd:{if(N[f+12>>2]-k>>>0<=31){b=N[f+4>>2];if(!b|N[b>>2]){break xd}N[b>>2]=130;break xd}N[k+32>>2]=l-(b+i|0);N[N[D>>2]+36>>2]=0}wg(a,f,(g|0)==1?j+15716|0:j+15744|0,h,j+15775|0,N[N[q+32>>2]+(((g|0)!=1)<<2)>>2]);i=o;if(O[q+548|0]){break o}break m;case 2:b=qb(f);Be(f,(qb(f)|0)!=0&(b|0)!=0);continue;case 3:Be(f,(qb(f)|qb(f))!=0);continue;case 4:Be(f,!qb(f));continue;case 5:if(!n){break m}b=N[q+4>>2];l=18;i=nc(f);g=nc(f);h=qb(f);o=qb(f);k=qb(f);yd:{if(O[q+47|0]|e){break yd}b=N[N[b+128>>2]+52>>2];zd:{if(!N[q+580>>2]){if(!b){break yd}e=N[N[q+32>>2]>>2];break zd}e=N[N[q+32>>2]>>2];if(b){break zd}g=Qo(q,g);i=Qo(q,i)}if((g|i)<0){break yd}e=e+o|0;Ad:{if(O[q+46|0]){c=N[q+8>>2];d=N[N[c+156>>2]>>2];l=Fn(d,2);if(l){break yd}b=N[d+88>>2];N[b+32>>2]=i;N[b+8>>2]=0;N[b+12>>2]=0;M[b+4>>1]=514;N[b>>2]=g;M[b+36>>1]=2;N[b+44>>2]=(h+(h>>31)|0)+32768>>16;g=b;b=e-k|0;N[g+40>>2]=((b>>31)+b|0)+32768>>16;N[c+128>>2]=2;b=N[d+52>>2];N[c+72>>2]=1668246896;N[c+132>>2]=b;N[d+84>>2]=2;break Ad}b=N[q+12>>2];N[b+56>>2]=0;N[b+84>>2]=0;o=N[b+24>>2];if(o){o=o+(M[b+22>>1]<<3)|0}else{o=0}N[b+60>>2]=o;l=b- -64|0;o=N[b+28>>2];if(o){o=o+M[b+22>>1]|0}else{o=0}N[l>>2]=o;o=N[b+32>>2];if(o){o=o+(M[b+20>>1]<<1)|0}else{o=0}N[b+68>>2]=o;if(O[b+16|0]){o=M[b+22>>1]<<3;N[b+76>>2]=o+N[b+40>>2];N[b+80>>2]=o+N[b+44>>2]}o=N[b+52>>2];if(o){o=o+(N[b+48>>2]<<5)|0}else{o=0}N[b+88>>2]=o;l=Po(N[q+4>>2],g,j+36|0);if(l){break yd}b=N[q+36>>2];o=N[b>>2];m=N[b+4>>2];b=N[q+32>>2];n=N[b>>2];r=N[b+4>>2];De(a,j+36|0,c,d,1,0,0,j+3904|0);b=N[N[N[q+4>>2]+128>>2]+52>>2];g=N[j+40>>2];N[j+12>>2]=N[j+44>>2]-g;N[j+8>>2]=g;if(b){Qa[N[N[b>>2]+4>>2]](N[b+4>>2],j+8|0)}b=N[q+32>>2];if(!O[j+15775|0]){r=N[b+4>>2];g=N[q+36>>2];o=N[g>>2];m=N[g+4>>2];n=N[b>>2]}N[b>>2]=0;N[b+4>>2]=0;l=Po(N[q+4>>2],i,j+36|0);if(l){break yd}De(a,j+36|0,c,d,1,e-k|0,h,j+3904|0);b=N[N[N[q+4>>2]+128>>2]+52>>2];c=N[j+40>>2];N[j+12>>2]=N[j+44>>2]-c;N[j+8>>2]=c;if(b){Qa[N[N[b>>2]+4>>2]](N[b+4>>2],j+8|0)}b=N[q+32>>2];N[b>>2]=n;N[b+4>>2]=r;b=N[q+36>>2];N[b>>2]=o;N[b+4>>2]=m}l=0}i=0;break c;case 6:if(!n){break p}b=qb(f);N[N[q+36>>2]+4>>2]=b;b=qb(f);N[N[q+36>>2]>>2]=b;g=qb(f);i=qb(f);b=N[q+32>>2];N[b>>2]=i+N[b>>2];N[b+4>>2]=g+N[b+4>>2];L[j+15775|0]=1;if(O[q+47|0]){break o}if(!(o&255)){i=0;break m}N[j+15964>>2]=i+N[j+15964>>2];N[j+15960>>2]=g+N[j+15960>>2];i=o;break m;case 8:b=qb(f);if((b|0)==-2147483648){Jb(f,2147483647);continue}g=b;b=b>>31;Jb(f,(g^b)-b|0);continue;case 9:Jb(f,qb(f)+qb(f)|0);continue;case 10:b=qb(f);Jb(f,qb(f)-b|0);continue;case 11:Bd:{if(!(!n|!(E&255))){E=0;g=nc(f);b=nc(f);break Bd}g=qb(f);b=qb(f)}Jb(f,fb(b,g));continue;case 13:b=qb(f);if((b|0)==-2147483648){Jb(f,2147483647);continue}Jb(f,0-b|0);continue;case 14:Be(f,(qb(f)|0)==(qb(f)|0));continue;case 15:if(!n){continue}g=nc(f);l=18;i=0;b=nc(f);k=N[f+8>>2];n=N[f+12>>2]-k>>3;if(b>>>0>n>>>0){break c}Cd:{switch(g|0){case 0:if((b|0)!=3|(!N[q+468>>2]|N[q+472>>2]!=7?o&255:0)){break c}Jb(f,N[j+15964>>2]);Jb(f,N[j+15960>>2]);w=2;break td;case 1:if(b){break c}u=0;w=0;if(!(o&255)){continue}Dd:{b=N[q+12>>2];if((M[b+22>>1]+M[b+58>>1]|0)+6>>>0<=Q[b+4>>2]){break Dd}if(!Sb(b,6,0)){break Dd}l=0;break c}N[q+468>>2]=1;N[q+472>>2]=0;break sd;case 2:if(b){break c}u=0;w=0;if(!(o&255)){continue}if(!N[q+468>>2]){break c}b=N[q+472>>2];N[q+472>>2]=b+1;i=o;if(b-1>>>0>5){continue}g=N[q+12>>2];if((M[g+22>>1]+M[g+58>>1]|0)+1>>>0>Q[g+4>>2]){i=0;if(Sb(g,1,0)){break c}}g=b<<1;g=(j+15776|0)+((b>>>0>3?g-6|0:g)<<2)|0;N[g-8>>2]=N[j+15964>>2];N[g-4>>2]=N[j+15960>>2];i=o;Ed:{switch(b-3|0){case 0:case 3:break Ed;default:continue}}Cd(j+3908|0,N[j+15776>>2],N[j+15780>>2],N[j+15784>>2],N[j+15788>>2],N[j+15792>>2],N[j+15796>>2]);continue h;case 3:w=1;if((b|0)!=1){break c}u=0;if(!(o&255)){continue}N[j+15760>>2]=0;N[j+15732>>2]=0;N[B+16>>2]=0;N[B+20>>2]=0;N[B+8>>2]=0;N[B+12>>2]=0;N[B>>2]=0;N[B+4>>2]=0;L[j+15693|0]=1;N[j+15688>>2]=H;i=o;continue;case 12:case 13:N[f+12>>2]=k;break sd;case 14:case 15:case 16:case 17:case 18:k=N[q+644>>2];if(!k){break c}w=(g+((g|0)==18)|0)-13|0;if((b|0)!=(T(w,N[k>>2])|0)){break c}p=n-b|0;i=w+p|0;n=0;while(1){l=md(f,p);g=1;if(Q[k>>2]>=2){while(1){l=ob(md(f,i),N[N[k+136>>2]+(g<<2)>>2])+l|0;i=i+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}g=N[f+8>>2];Fd:{if(N[f+12>>2]-g>>3>>>0

>>0){g=N[f+4>>2];if(!g|N[g>>2]){break Fd}N[g>>2]=130;break Fd}m=g;g=p<<3;N[m+g>>2]=l;N[(g+N[f+8>>2]|0)+4>>2]=0}p=p+1|0;n=n+1|0;if((w|0)!=(n|0)){continue}break};b=b-w|0;g=N[f+12>>2];if(b>>>0>g-N[f+8>>2]>>3>>>0){u=0;i=o;b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=161;continue}N[f+12>>2]=g-(b<<3);break td;case 19:if((b|0)!=1){break c}b=N[q+644>>2];if(!b){break c}g=nc(f);if((g|0)<0){break c}k=N[b>>2];if(Q[q+652>>2]>>0){break c}F(N[q+648>>2]+(g<<2)|0,N[b+136>>2],k<<2);break sd;case 20:if((b|0)!=2){break c}Jb(f,qb(f)+qb(f)|0);break ud;case 21:if((b|0)!=2){break c}b=qb(f);Jb(f,qb(f)-b|0);break ud;case 22:if((b|0)!=2){break c}b=qb(f);Jb(f,ob(qb(f),b));break ud;case 23:if((b|0)!=2){break c}b=qb(f);g=qb(f);if(!b){break c}Jb(f,fb(g,b));break ud;case 24:if(!N[q+644>>2]|(b|0)!=2){break c}b=nc(f);if((b|0)<0|b>>>0>=Q[q+652>>2]){break c}g=qb(f);N[N[q+648>>2]+(b<<2)>>2]=g;break sd;case 25:if(!N[q+644>>2]|(b|0)!=1){break c}b=nc(f);if((b|0)<0|b>>>0>=Q[q+652>>2]){break c}Jb(f,N[N[q+648>>2]+(b<<2)>>2]);break ud;case 27:if((b|0)!=4){break c}b=qb(f);g=qb(f);Jb(f,(aa=qb(f),ba=qb(f),ca=(b|0)<(g|0),ca?aa:ba));break ud;case 28:if(b){break c}i=N[q+536>>2];b=N[i+648>>2];g=b<<13^b;g=g>>>17^g;N[i+648>>2]=g^g<<5;w=1;Jb(f,(b&65535)+1|0);break td;default:break Cd}}if((b|0)<0){break c}w=0;if((g|0)<0){break c}u=0;i=o;g=1;b=(b|0)>=3?3:b;if(!b){continue}while(1){aa=(j+15944|0)+(b-g<<2)|0,ba=qb(f),N[aa>>2]=ba;o=(b|0)==(g|0);g=g+1|0;if(!o){continue}break};u=b;continue;case 16:if(!n){continue}if((w|0)>0){w=w-1|0;continue}if(!u){break l}u=u-1|0;Jb(f,N[(j+15944|0)+(u<<2)>>2]);continue;case 17:qb(f);continue;case 19:b=nc(f);g=qb(f);if(b>>>0>31){continue}N[(j+15808|0)+(b<<2)>>2]=g;continue;case 20:b=nc(f);if(b>>>0>31){continue}Jb(f,N[(j+15808|0)+(b<<2)>>2]);continue;case 21:b=qb(f);g=qb(f);Jb(f,(aa=qb(f),ba=qb(f),ca=(b|0)<(g|0),ca?aa:ba));continue;case 22:o=N[q+536>>2];b=N[o+648>>2];g=b<<13^b;g=g>>>17^g;N[o+648>>2]=g^g<<5;Jb(f,(b&65535)+1|0);continue;case 23:b=qb(f);Jb(f,ob(qb(f),b));continue;case 25:b=qb(f);Gd:{if((b|0)<=0){g=0;break Gd}i=b>>>(b>>>0>9)|0;while(1){g=i;i=(g+fb(b,g)|0)+1>>1;if((g|0)!=(i|0)){continue}break}}Jb(f,g);i=o;continue;case 26:b=qb(f);Jb(f,b);Jb(f,b);continue;case 27:b=qb(f);g=qb(f);Jb(f,b);Jb(f,g);continue;case 28:b=nc(f);g=N[f+12>>2];o=N[f+8>>2];if((g|0)==(o|0)){continue}o=g-o>>3;g=o-1|0;Hd:{if((b|0)<0){break Hd}g=0;if(b>>>0>=o>>>0){break Hd}g=o+(b^-1)|0}Jb(f,md(f,g));continue;case 29:b=nc(f);l=0;s=nc(f);Id:{if((s|0)<2){break Id}if(s>>>0>N[f+12>>2]-N[f+8>>2]>>3>>>0){b=N[f+4>>2];if(!b|N[b>>2]){break Id}N[b>>2]=130;break Id}if((b|0)<0){p=0-((0-b>>>0)%(s>>>0)|0)|0}else{p=(b>>>0)%(s>>>0)|0}if(!p){break Id}v=0-s|0;o=0;m=2;b=-1;g=-1;while(1){Jd:{if((b|0)!=(g|0)){k=N[f+8>>2];n=o;r=m;break Jd}k=N[f+8>>2];g=b+1|0;b=k+(g<<3)|0;n=N[b>>2];r=N[b+4>>2];b=g}b=b+p|0;b=((b|0)<(s|0)?s&b>>31:v)+b|0;k=(b<<3)+k|0;o=N[k>>2];m=N[k+4>>2];N[k>>2]=n;N[k+4>>2]=r;l=l+1|0;if((s|0)!=(l|0)){continue}break}}continue;case 32:break vd;default:break m}}if(!n|!(o&255)){break p}aa=j,ba=qb(f),N[aa+15960>>2]=ba;aa=j,ba=qb(f),N[aa+15964>>2]=ba;N[q+468>>2]=0;break m}w=1}u=0;i=o;continue}u=0;i=o;continue h}i=o;break m}i=0;l=0;break c}N[a+120>>2]=g}N[f+12>>2]=N[f+8>>2];continue}break}break}l=18;i=0}if(N[a+4>>2]){break a}}N[a+4>>2]=l}N[j+15540>>2]=0;N[j+15532>>2]=0;N[j+15536>>2]=0;a=N[j+15544>>2];if(a){b=N[j+15520>>2];Qa[N[b+8>>2]](b,a)}N[j+15544>>2]=0;N[j+15736>>2]=0;N[j+15728>>2]=0;N[j+15732>>2]=0;a=N[j+15740>>2];if(a){b=N[j+15716>>2];Qa[N[b+8>>2]](b,a)}N[j+15740>>2]=0;N[j+15764>>2]=0;N[j+15756>>2]=0;N[j+15760>>2]=0;a=N[j+15768>>2];if(a){b=N[j+15744>>2];Qa[N[b+8>>2]](b,a)}N[j+15768>>2]=0;if(A){Qa[N[x+8>>2]](x,A)}if(!i){a=N[f>>2];b=N[f+8>>2];if(b){Qa[N[a+8>>2]](a,b)}N[f+8>>2]=0;Qa[N[a+8>>2]](a,f)}La=j+15968|0}function Tj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,M=0,P=0,R=0,S=0,U=0,V=0,W=0,X=0;D=275552;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);d=O[a+4|0]|O[a+5|0]<<8;if(d){D=((d<<8|d>>>8)&65535)+a|0}E=275552;G=275552;d=O[a+6|0]|O[a+7|0]<<8;if(d){G=((d<<8|d>>>8)&65535)+a|0}d=O[a+8|0]|O[a+9|0]<<8;if(d){E=((d<<8|d>>>8)&65535)+a|0}d=O[a+10|0]|O[a+11|0]<<8;if(d){S=(d<<8|d>>>8)&65535;H=E+4|0;I=G+4|0;J=D+4|0;M=a+12|0;while(1){K=275552;d=O[M|0]|O[M+1|0]<<8;if(d){K=((d<<8|d>>>8)&65535)+a|0}d=O[K|0]|O[K+1|0]<<8;if(d){U=(d<<8|d>>>8)&65535;P=K+2|0;while(1){d=O[P|0]|O[P+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+K|0}else{d=275552}r=O[d|0]|O[d+1|0]<<8;g=(r<<8|r>>>8)&65535;v=(g<<1)+d|0;e=v;c=O[e+2|0]|O[e+3|0]<<8;t=(c<<8|c>>>8)&65535;z=(e+2|0)+(c?t<<1:2)|0;A=O[z|0]|O[z+1|0]<<8;R=(A<<8|A>>>8)&65535;x=(R<<1)+z|0;V=O[x+2|0]|O[x+3|0]<<8;if(r){y=d+2|0;i=N[b+8>>2];r=i+24|0;p=i+36|0;B=i+12|0;while(1){q=O[y|0]|O[y+1|0]<<8;a:{b:{c:{d=O[D|0]|O[D+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=O[J|0]|O[J+1|0]<<8;if(!d){break a}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[J|0]|O[J+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+D|0)+6|0;d:{if((q|0)!=(O[d|0]|O[d+1|0]<<8)){break d}d=O[D+2|0]|O[D+3|0]<<8;s=((d<<8|d>>>8)&65535)+n|0;d=O[i+12|0];if(O[i+48|0]){if(!d){break d}e=N[i+20>>2];d=N[i+28>>2];k=s>>>9|0;m=N[i+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break d}d=d-1|0;f=0;while(1){e:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];f:{if((c|0)>(k|0)){d=e-1|0;break f}if((c|0)==(k|0)){break e}f=e+1|0}if((d|0)>=(f|0)){continue}break d}break}N[i+20>>2]=e}c=N[i+44>>2];if(!c){break d}d=N[(m+(e<<3)|0)+4>>2];N[i+16>>2]=-1;e=(c+(d<<6)|0)+(s>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,s)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break d}if(!d){break d}N[i+16>>2]=-1;o=s>>>9|0;c=N[i+32>>2];g:{h:{d=N[i+20>>2];e=N[i+28>>2];if(d>>>0>=e>>>0){break h}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break h}c=d+4|0;break g}m=N[i+40>>2];i:{j:{if((e|0)<=0){d=0;break j}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];k:{if((k|0)>(o|0)){f=e-1|0;break k}if((k|0)==(o|0)){d=e;break i}d=e+1|0}if((d|0)<=(f|0)){continue}break}}l:{m:{l=N[p>>2];n:{if((l|0)<0){break n}o:{p:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break p}e=$a(N[i+44>>2],l<<6);if(!e){break p}N[i+36>>2]=l;N[i+44>>2]=e;e=N[i+40>>2]}if(e>>>0>>0){C(N[i+44>>2]+(e<<6)|0,0,k-e<<6)}N[i+40>>2]=k;e=N[i+24>>2];if((e|0)<0){break o}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break p}f=$a(N[i+32>>2],e<<3);if(!f){break p}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,k-c<<3)}N[i+28>>2]=k;c=N[i+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);if(Q[i+28>>2]>d>>>0){break m}N[147456]=0;N[147457]=0;c=589824;break l}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break n}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}q:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break q}}N[p>>2]=-1;L[B|0]=0;break d}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[B|0]=0;break d}c=e+N[i+32>>2]|0}N[c>>2]=o;N[c+4>>2]=m;c=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[i+44>>2];if(!d){break d}d=(d+(N[c>>2]<<6)|0)+(s>>>3&56)|0;c=N[d+4>>2];e=s&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break a}d=O[D+2|0]|O[D+3|0]<<8;if(!d){break a}o=T((d<<8|d>>>8)&65535,6)+J|0;m=J;r:{s:{t:{u:{v:{w:{while(1){x:{y:{if((q|0)!=(O[m+4|0]|O[m+5|0]<<8)){break y}d=O[m+2|0]|O[m+3|0]<<8;h=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;u=(d<<8|d>>>8)&65535;if(O[i+48|0]){rd(B,u,h);break y}if(!O[B|0]){break y}if(h>>>0>>0){break a}N[i+16>>2]=-1;w=h>>>9|0;s=u>>>9|0;c=N[i+32>>2];z:{A:{B:{d=N[i+20>>2];f=N[i+28>>2];if(d>>>0>=f>>>0){break B}d=(d<<3)+c|0;if((s|0)!=N[d>>2]){break B}d=d+4|0;break A}e=N[i+40>>2];C:{D:{if((f|0)<=0){d=0;break D}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];E:{if((j|0)>(s|0)){f=k-1|0;break E}if((j|0)==(s|0)){d=k;break C}d=k+1|0}if((d|0)<=(f|0)){continue}break}}F:{G:{l=N[p>>2];H:{if((l|0)<0){break H}I:{J:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break J}f=$a(N[i+44>>2],l<<6);if(!f){break J}N[i+36>>2]=l;N[i+44>>2]=f;f=N[i+40>>2]}if(f>>>0>>0){C(N[i+44>>2]+(f<<6)|0,0,j-f<<6)}N[i+40>>2]=j;f=N[i+24>>2];if((f|0)<0){break I}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=r;if(f>>>0>536870911){break J}k=$a(N[i+32>>2],f<<3);if(!k){break J}N[i+24>>2]=f;N[i+32>>2]=k}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);if(Q[i+28>>2]>d>>>0){break G}N[147456]=0;N[147457]=0;c=589824;break F}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break H}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}K:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break K}}N[p>>2]=-1;break H}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[B|0]=0;d=0;break z}c=f+N[i+32>>2]|0}N[c>>2]=s;N[c+4>>2]=e;c=N[i+32>>2]}N[i+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[i+44>>2]+(N[d>>2]<<6)|0}L:{if((s|0)==(w|0)){if(!d){break a}c=u&63;f=c&31;if((c&63)>>>0>=32){e=-1<>>32-f}n=c;c=e;f=u>>>6&7;e=d+(f<<3)|0;k=h>>>6&7;M:{if((k|0)==(f|0)){d=e;break M}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break M}C(e,255,d-e|0)}e=h&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){e=-1<>>32-f}n=c;c=e;f=u>>>6&7;e=d+(f<<3)|0;N:{if((f|0)==7){d=e;break N}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break N}C(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=s+1|0;if(w>>>0>n>>>0){while(1){s=n&8388607;c=N[i+32>>2];O:{P:{d=N[i+20>>2];e=N[i+28>>2];if(d>>>0>=e>>>0){break P}d=(d<<3)+c|0;if((s|0)!=N[d>>2]){break P}c=d+4|0;break O}k=N[i+40>>2];Q:{R:{if((e|0)<=0){d=0;break R}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];S:{if((j|0)>(s|0)){f=e-1|0;break S}if((j|0)==(s|0)){d=e;break Q}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[B|0]){break a}l=N[p>>2];if((l|0)<0){break r}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break u}c=$a(N[i+44>>2],l<<6);if(!c){break u}N[i+36>>2]=l;N[i+44>>2]=c;e=N[i+40>>2]}if(e>>>0>>0){C(N[i+44>>2]+(e<<6)|0,0,j-e<<6)}N[i+40>>2]=j;e=N[i+24>>2];if((e|0)<0){break s}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break t}f=$a(N[i+32>>2],e<<3);c=r;if(!f){break t}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);T:{if(Q[i+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break T}c=e+N[i+32>>2]|0}N[c>>2]=s;N[c+4>>2]=k;c=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[i+44>>2];if(!d){break a}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((w|0)!=(n|0)){continue}break}}l=N[i+32>>2];U:{V:{d=N[i+20>>2];c=N[i+28>>2];if(d>>>0>=c>>>0){break V}d=(d<<3)+l|0;if((w|0)!=N[d>>2]){break V}c=d+4|0;break U}k=N[i+40>>2];W:{X:{if((c|0)<=0){d=0;break X}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];Y:{if((e|0)>(w|0)){f=c-1|0;break Y}if((e|0)==(w|0)){d=c;break W}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[B|0]){break a}f=N[p>>2];if((f|0)<0){break r}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break x}c=$a(N[i+44>>2],f<<6);if(!c){break x}N[i+36>>2]=f;N[i+44>>2]=c;e=N[i+40>>2]}if(e>>>0>>0){C(N[i+44>>2]+(e<<6)|0,0,j-e<<6)}N[i+40>>2]=j;e=N[i+24>>2];if((e|0)<0){break v}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break w}f=$a(N[i+32>>2],e<<3);c=r;if(!f){break w}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);Z:{if(Q[i+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break Z}c=e+N[i+32>>2]|0}N[c>>2]=w;N[c+4>>2]=k;l=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[i+44>>2];if(!d){break a}c=d+(N[c>>2]<<6)|0;d=h>>>6&7;_:{if(!d){d=c;break _}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break _}C(c,255,e-8|0)}c=h&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];c=c+e|0;e=j+n|0;c=e>>>0>>0?c+1|0:c;N[d>>2]=e|k;N[d+4>>2]=c|f}m=m+6|0;if((o|0)!=(m|0)){continue}break a}break}c=p}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break r}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}$:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break $}}N[p>>2]=-1;L[B|0]=0;break a}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c;L[B|0]=0;break a}c=p}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break r}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}aa:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break aa}}N[p>>2]=-1;L[B|0]=0;break a}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[B|0]=0}y=y+2|0;g=g-1|0;if(g){continue}break}}if(t>>>0>=2){y=v+4|0;g=t-1|0;h=N[b+12>>2];r=h+24|0;p=h+36|0;u=h+12|0;while(1){v=O[y|0]|O[y+1|0]<<8;ba:{ca:{da:{d=O[G|0]|O[G+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break ca;case 0:break da;default:break ba}}d=O[I|0]|O[I+1|0]<<8;if(!d){break ba}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[I|0]|O[I+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+G|0)+6|0;ea:{if((v|0)!=(O[d|0]|O[d+1|0]<<8)){break ea}d=O[G+2|0]|O[G+3|0]<<8;q=((d<<8|d>>>8)&65535)+n|0;d=O[h+12|0];if(O[h+48|0]){if(!d){break ea}e=N[h+20>>2];d=N[h+28>>2];k=q>>>9|0;m=N[h+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break ea}d=d-1|0;f=0;while(1){fa:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];ga:{if((c|0)>(k|0)){d=e-1|0;break ga}if((c|0)==(k|0)){break fa}f=e+1|0}if((d|0)>=(f|0)){continue}break ea}break}N[h+20>>2]=e}c=N[h+44>>2];if(!c){break ea}d=N[(m+(e<<3)|0)+4>>2];N[h+16>>2]=-1;e=(c+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break ea}if(!d){break ea}N[h+16>>2]=-1;o=q>>>9|0;c=N[h+32>>2];ha:{ia:{d=N[h+20>>2];e=N[h+28>>2];if(d>>>0>=e>>>0){break ia}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break ia}c=d+4|0;break ha}m=N[h+40>>2];ja:{ka:{if((e|0)<=0){d=0;break ka}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];la:{if((k|0)>(o|0)){f=e-1|0;break la}if((k|0)==(o|0)){d=e;break ja}d=e+1|0}if((d|0)<=(f|0)){continue}break}}ma:{na:{l=N[p>>2];oa:{if((l|0)<0){break oa}pa:{qa:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break qa}e=$a(N[h+44>>2],l<<6);if(!e){break qa}N[h+36>>2]=l;N[h+44>>2]=e;e=N[h+40>>2]}if(e>>>0>>0){C(N[h+44>>2]+(e<<6)|0,0,k-e<<6)}N[h+40>>2]=k;e=N[h+24>>2];if((e|0)<0){break pa}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break qa}f=$a(N[h+32>>2],e<<3);if(!f){break qa}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,k-c<<3)}N[h+28>>2]=k;c=N[h+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);if(Q[h+28>>2]>d>>>0){break na}N[147456]=0;N[147457]=0;e=589824;break ma}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break oa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}ra:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break ra}}N[p>>2]=-1;L[u|0]=0;break ea}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[u|0]=0;break ea}e=e+N[h+32>>2]|0}N[e>>2]=o;N[e+4>>2]=m;c=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[h+44>>2];if(!d){break ea}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;c=N[d+4>>2];e=q&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break ba}d=O[G+2|0]|O[G+3|0]<<8;if(!d){break ba}o=T((d<<8|d>>>8)&65535,6)+I|0;m=I;sa:{ta:{ua:{va:{wa:{xa:{while(1){ya:{za:{if((v|0)!=(O[m+4|0]|O[m+5|0]<<8)){break za}d=O[m+2|0]|O[m+3|0]<<8;w=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;s=(d<<8|d>>>8)&65535;if(O[h+48|0]){rd(u,s,w);break za}if(!O[u|0]){break za}if(s>>>0>w>>>0){break ba}N[h+16>>2]=-1;t=w>>>9|0;q=s>>>9|0;c=N[h+32>>2];Aa:{Ba:{Ca:{d=N[h+20>>2];f=N[h+28>>2];if(d>>>0>=f>>>0){break Ca}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Ca}d=d+4|0;break Ba}e=N[h+40>>2];Da:{Ea:{if((f|0)<=0){d=0;break Ea}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];Fa:{if((j|0)>(q|0)){f=k-1|0;break Fa}if((j|0)==(q|0)){d=k;break Da}d=k+1|0}if((d|0)<=(f|0)){continue}break}}Ga:{Ha:{l=N[p>>2];Ia:{if((l|0)<0){break Ia}Ja:{Ka:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break Ka}f=$a(N[h+44>>2],l<<6);if(!f){break Ka}N[h+36>>2]=l;N[h+44>>2]=f;f=N[h+40>>2]}if(f>>>0>>0){C(N[h+44>>2]+(f<<6)|0,0,j-f<<6)}N[h+40>>2]=j;f=N[h+24>>2];if((f|0)<0){break Ja}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=r;if(f>>>0>536870911){break Ka}k=$a(N[h+32>>2],f<<3);if(!k){break Ka}N[h+24>>2]=f;N[h+32>>2]=k}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);if(Q[h+28>>2]>d>>>0){break Ha}N[147456]=0;N[147457]=0;c=589824;break Ga}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break Ia}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}La:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break La}}N[p>>2]=-1;break Ia}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[u|0]=0;d=0;break Aa}c=f+N[h+32>>2]|0}N[c>>2]=q;N[c+4>>2]=e;c=N[h+32>>2]}N[h+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[h+44>>2]+(N[d>>2]<<6)|0}Ma:{if((q|0)==(t|0)){if(!d){break ba}c=s&63;e=c&31;if((c&63)>>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;k=w>>>6&7;Na:{if((k|0)==(f|0)){d=e;break Na}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break Na}C(e,255,d-e|0)}e=w&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){e=-1<>>32-f}n=c;c=e;f=s>>>6&7;e=d+(f<<3)|0;Oa:{if((f|0)==7){d=e;break Oa}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break Oa}C(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=q+1|0;if(t>>>0>n>>>0){while(1){q=n&8388607;c=N[h+32>>2];Pa:{Qa:{d=N[h+20>>2];e=N[h+28>>2];if(d>>>0>=e>>>0){break Qa}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Qa}c=d+4|0;break Pa}k=N[h+40>>2];Ra:{Sa:{if((e|0)<=0){d=0;break Sa}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];Ta:{if((j|0)>(q|0)){f=e-1|0;break Ta}if((j|0)==(q|0)){d=e;break Ra}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[u|0]){break ba}l=N[p>>2];if((l|0)<0){break sa}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break va}c=$a(N[h+44>>2],l<<6);if(!c){break va}N[h+36>>2]=l;N[h+44>>2]=c;e=N[h+40>>2]}if(e>>>0>>0){C(N[h+44>>2]+(e<<6)|0,0,j-e<<6)}N[h+40>>2]=j;e=N[h+24>>2];if((e|0)<0){break ta}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break ua}f=$a(N[h+32>>2],e<<3);c=r;if(!f){break ua}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);Ua:{if(Q[h+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break Ua}e=e+N[h+32>>2]|0}N[e>>2]=q;N[e+4>>2]=k;c=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[h+44>>2];if(!d){break ba}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((t|0)!=(n|0)){continue}break}}l=N[h+32>>2];Va:{Wa:{d=N[h+20>>2];c=N[h+28>>2];if(d>>>0>=c>>>0){break Wa}d=(d<<3)+l|0;if((t|0)!=N[d>>2]){break Wa}c=d+4|0;break Va}k=N[h+40>>2];Xa:{Ya:{if((c|0)<=0){d=0;break Ya}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];Za:{if((e|0)>(t|0)){f=c-1|0;break Za}if((e|0)==(t|0)){d=c;break Xa}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[u|0]){break ba}f=N[p>>2];if((f|0)<0){break sa}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break ya}c=$a(N[h+44>>2],f<<6);if(!c){break ya}N[h+36>>2]=f;N[h+44>>2]=c;e=N[h+40>>2]}if(e>>>0>>0){C(N[h+44>>2]+(e<<6)|0,0,j-e<<6)}N[h+40>>2]=j;e=N[h+24>>2];if((e|0)<0){break wa}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break xa}f=$a(N[h+32>>2],e<<3);c=r;if(!f){break xa}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);_a:{if(Q[h+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break _a}c=e+N[h+32>>2]|0}N[c>>2]=t;N[c+4>>2]=k;l=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[h+44>>2];if(!d){break ba}c=d+(N[c>>2]<<6)|0;d=w>>>6&7;$a:{if(!d){d=c;break $a}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break $a}C(c,255,e-8|0)}c=w&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];c=c+e|0;e=j+n|0;c=e>>>0>>0?c+1|0:c;N[d>>2]=e|k;N[d+4>>2]=c|f}m=m+6|0;if((o|0)!=(m|0)){continue}break ba}break}c=p}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break sa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}ab:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break ab}}N[p>>2]=-1;L[u|0]=0;break ba}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c;L[u|0]=0;break ba}c=p}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break sa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}bb:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break bb}}N[p>>2]=-1;L[u|0]=0;break ba}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[u|0]=0}y=y+2|0;g=g-1|0;if(g){continue}break}}if(A){y=z+2|0;g=N[b+16>>2];r=g+24|0;p=g+36|0;s=g+12|0;while(1){v=O[y|0]|O[y+1|0]<<8;cb:{db:{eb:{d=O[E|0]|O[E+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break db;case 0:break eb;default:break cb}}d=O[H|0]|O[H+1|0]<<8;if(!d){break cb}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[H|0]|O[H+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+E|0)+6|0;fb:{if((v|0)!=(O[d|0]|O[d+1|0]<<8)){break fb}d=O[E+2|0]|O[E+3|0]<<8;q=((d<<8|d>>>8)&65535)+n|0;d=O[g+12|0];if(O[g+48|0]){if(!d){break fb}e=N[g+20>>2];d=N[g+28>>2];k=q>>>9|0;m=N[g+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break fb}d=d-1|0;f=0;while(1){gb:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];hb:{if((c|0)>(k|0)){d=e-1|0;break hb}if((c|0)==(k|0)){break gb}f=e+1|0}if((d|0)>=(f|0)){continue}break fb}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break fb}d=N[(m+(e<<3)|0)+4>>2];N[g+16>>2]=-1;e=(c+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break fb}if(!d){break fb}N[g+16>>2]=-1;o=q>>>9|0;c=N[g+32>>2];ib:{jb:{d=N[g+20>>2];e=N[g+28>>2];if(d>>>0>=e>>>0){break jb}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break jb}c=d+4|0;break ib}m=N[g+40>>2];kb:{lb:{if((e|0)<=0){d=0;break lb}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];mb:{if((k|0)>(o|0)){f=e-1|0;break mb}if((k|0)==(o|0)){d=e;break kb}d=e+1|0}if((d|0)<=(f|0)){continue}break}}nb:{ob:{l=N[p>>2];pb:{if((l|0)<0){break pb}qb:{rb:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break rb}e=$a(N[g+44>>2],l<<6);if(!e){break rb}N[g+36>>2]=l;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,k-e<<6)}N[g+40>>2]=k;e=N[g+24>>2];if((e|0)<0){break qb}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break rb}f=$a(N[g+32>>2],e<<3);if(!f){break rb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,k-c<<3)}N[g+28>>2]=k;c=N[g+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break ob}N[147456]=0;N[147457]=0;e=589824;break nb}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break pb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}sb:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break sb}}N[p>>2]=-1;L[s|0]=0;break fb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[s|0]=0;break fb}e=e+N[g+32>>2]|0}N[e>>2]=o;N[e+4>>2]=m;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break fb}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;c=N[d+4>>2];e=q&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break cb}d=O[E+2|0]|O[E+3|0]<<8;if(!d){break cb}o=T((d<<8|d>>>8)&65535,6)+H|0;m=H;tb:{ub:{vb:{wb:{xb:{yb:{while(1){zb:{Ab:{if((v|0)!=(O[m+4|0]|O[m+5|0]<<8)){break Ab}d=O[m+2|0]|O[m+3|0]<<8;t=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;z=(d<<8|d>>>8)&65535;if(O[g+48|0]){rd(s,z,t);break Ab}if(!O[s|0]){break Ab}if(t>>>0>>0){break cb}N[g+16>>2]=-1;A=t>>>9|0;q=z>>>9|0;c=N[g+32>>2];Bb:{Cb:{Db:{d=N[g+20>>2];f=N[g+28>>2];if(d>>>0>=f>>>0){break Db}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Db}d=d+4|0;break Cb}e=N[g+40>>2];Eb:{Fb:{if((f|0)<=0){d=0;break Fb}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];Gb:{if((j|0)>(q|0)){f=k-1|0;break Gb}if((j|0)==(q|0)){d=k;break Eb}d=k+1|0}if((d|0)<=(f|0)){continue}break}}Hb:{Ib:{l=N[p>>2];Jb:{if((l|0)<0){break Jb}Kb:{Lb:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break Lb}f=$a(N[g+44>>2],l<<6);if(!f){break Lb}N[g+36>>2]=l;N[g+44>>2]=f;f=N[g+40>>2]}if(f>>>0>>0){C(N[g+44>>2]+(f<<6)|0,0,j-f<<6)}N[g+40>>2]=j;f=N[g+24>>2];if((f|0)<0){break Kb}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=r;if(f>>>0>536870911){break Lb}k=$a(N[g+32>>2],f<<3);if(!k){break Lb}N[g+24>>2]=f;N[g+32>>2]=k}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break Ib}N[147456]=0;N[147457]=0;f=589824;break Hb}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break Jb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}Mb:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break Mb}}N[p>>2]=-1;break Jb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[s|0]=0;d=0;break Bb}f=f+N[g+32>>2]|0}N[f>>2]=q;N[f+4>>2]=e;c=N[g+32>>2]}N[g+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[g+44>>2]+(N[d>>2]<<6)|0}Nb:{if((q|0)==(A|0)){if(!d){break cb}c=z&63;e=c&31;if((c&63)>>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;k=t>>>6&7;Ob:{if((k|0)==(f|0)){d=e;break Ob}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break Ob}C(e,255,d-e|0)}e=t&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;Pb:{if((f|0)==7){d=e;break Pb}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break Pb}C(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=q+1|0;if(A>>>0>n>>>0){while(1){q=n&8388607;c=N[g+32>>2];Qb:{Rb:{d=N[g+20>>2];e=N[g+28>>2];if(d>>>0>=e>>>0){break Rb}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Rb}c=d+4|0;break Qb}k=N[g+40>>2];Sb:{Tb:{if((e|0)<=0){d=0;break Tb}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];Ub:{if((j|0)>(q|0)){f=e-1|0;break Ub}if((j|0)==(q|0)){d=e;break Sb}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[s|0]){break cb}l=N[p>>2];if((l|0)<0){break tb}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break wb}c=$a(N[g+44>>2],l<<6);if(!c){break wb}N[g+36>>2]=l;N[g+44>>2]=c;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,j-e<<6)}N[g+40>>2]=j;e=N[g+24>>2];if((e|0)<0){break ub}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break vb}f=$a(N[g+32>>2],e<<3);c=r;if(!f){break vb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);Vb:{if(Q[g+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break Vb}e=e+N[g+32>>2]|0}N[e>>2]=q;N[e+4>>2]=k;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break cb}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((A|0)!=(n|0)){continue}break}}l=N[g+32>>2];Wb:{Xb:{d=N[g+20>>2];c=N[g+28>>2];if(d>>>0>=c>>>0){break Xb}d=(d<<3)+l|0;if((A|0)!=N[d>>2]){break Xb}c=d+4|0;break Wb}k=N[g+40>>2];Yb:{Zb:{if((c|0)<=0){d=0;break Zb}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];_b:{if((e|0)>(A|0)){f=c-1|0;break _b}if((e|0)==(A|0)){d=c;break Yb}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[s|0]){break cb}f=N[p>>2];if((f|0)<0){break tb}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break zb}c=$a(N[g+44>>2],f<<6);if(!c){break zb}N[g+36>>2]=f;N[g+44>>2]=c;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,j-e<<6)}N[g+40>>2]=j;e=N[g+24>>2];if((e|0)<0){break xb}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break yb}f=$a(N[g+32>>2],e<<3);c=r;if(!f){break yb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);$b:{if(Q[g+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break $b}e=e+N[g+32>>2]|0}N[e>>2]=A;N[e+4>>2]=k;l=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[g+44>>2];if(!d){break cb}c=d+(N[c>>2]<<6)|0;d=t>>>6&7;ac:{if(!d){d=c;break ac}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break ac}C(c,255,e-8|0)}c=t&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];e=c+e|0;c=j+n|0;e=c>>>0>>0?e+1|0:e;N[d>>2]=c|k;N[d+4>>2]=e|f}m=m+6|0;if((o|0)!=(m|0)){continue}break cb}break}c=p}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break tb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}bc:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break bc}}N[p>>2]=-1;L[s|0]=0;break cb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c;L[s|0]=0;break cb}c=p}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break tb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}cc:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break cc}}N[p>>2]=-1;L[s|0]=0;break cb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[s|0]=0}y=y+2|0;R=R-1|0;if(R){continue}break}}if(V){j=(V<<8|V>>>8)&65535;k=x+4|0;n=0;while(1){r=N[b+32>>2];dc:{if(!r|!N[b+24>>2]|N[b+20>>2]==275552){break dc}d=k+(n<<2)|0;d=O[d+2|0]|O[d+3|0]<<8;q=(d<<8|d>>>8)&65535;x=q>>>9|0;v=N[b+28>>2];p=N[v+32>>2];ec:{fc:{gc:{d=N[v+20>>2];m=N[v+28>>2];if(d>>>0>=m>>>0){break gc}d=p+(d<<3)|0;if((x|0)!=N[d>>2]){break gc}c=d+4|0;break fc}e=0;if((m|0)<=0){break ec}f=m-1|0;e=0;hc:{while(1){o=e+f>>>1|0;c=p+(o<<3)|0;d=N[c>>2];ic:{if((d|0)>(x|0)){f=o-1|0;break ic}if((d|0)==(x|0)){break hc}e=o+1|0}if((e|0)<=(f|0)){continue}break}e=0;break ec}N[v+20>>2]=o;c=(o>>>0>=m>>>0?275552:c)+4|0}d=N[v+44>>2];e=0;if(!d){break ec}c=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;d=N[c>>2];c=N[c+4>>2];e=q&63;p=e&31;e=((e&63)>>>0>=32?c>>>p|0:((1<>>p)&1}if((e|0)!=O[v+48|0]){break dc}e=N[b+16>>2];N[b+16>>2]=275552;c=N[b+8>>2];d=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=r-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,q);N[b+16>>2]=e;N[b+8>>2]=c;N[b+12>>2]=d;N[b+32>>2]=N[b+32>>2]+1;o=N[b+28>>2];d=O[o+12|0];if(O[o+48|0]){if(!d){break dc}c=N[o+20>>2];d=N[o+28>>2];r=N[o+32>>2];if(!(c>>>0>>0&(x|0)==N[r+(c<<3)>>2])){if((d|0)<=0){break dc}f=d-1|0;e=0;while(1){jc:{c=e+f>>>1|0;d=N[r+(c<<3)>>2];kc:{if((d|0)>(x|0)){f=c-1|0;break kc}if((d|0)==(x|0)){break jc}e=c+1|0}if((e|0)<=(f|0)){continue}break dc}break}N[o+20>>2]=c}e=N[o+44>>2];if(!e){break dc}d=N[(r+(c<<3)|0)+4>>2];N[o+16>>2]=-1;e=(e+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break dc}if(!d){break dc}N[o+16>>2]=-1;c=N[o+32>>2];lc:{mc:{d=N[o+20>>2];e=N[o+28>>2];if(d>>>0>=e>>>0){break mc}d=(d<<3)+c|0;if((x|0)!=N[d>>2]){break mc}c=d+4|0;break lc}d=N[o+40>>2];nc:{oc:{if((e|0)<=0){f=0;break oc}e=e-1|0;f=0;while(1){r=e+f>>>1|0;p=N[(r<<3)+c>>2];pc:{if((p|0)>(x|0)){e=r-1|0;break pc}if((p|0)==(x|0)){f=r;break nc}f=r+1|0}if((e|0)>=(f|0)){continue}break}}qc:{rc:{e=o+36|0;l=N[e>>2];sc:{if((l|0)<0){break sc}tc:{uc:{c=d;r=c+1|0;p=(r|0)>0?r:0;if(p>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(p>>>0>=l>>>0){continue}break}m=e;if(l>>>0>67108863){break uc}c=$a(N[o+44>>2],l<<6);if(!c){break uc}N[o+36>>2]=l;N[o+44>>2]=c;c=N[o+40>>2]}if(c>>>0

>>0){C(N[o+44>>2]+(c<<6)|0,0,p-c<<6)}N[o+40>>2]=p;m=o+24|0;c=N[m>>2];if((c|0)<0){break tc}if(c>>>0

>>0){while(1){c=((c>>>1|0)+c|0)+8|0;if(p>>>0>=c>>>0){continue}break}if(c>>>0>536870911){break uc}r=$a(N[o+32>>2],c<<3);if(!r){break uc}N[o+24>>2]=c;N[o+32>>2]=r}c=N[o+28>>2];if(c>>>0

>>0){C(N[o+32>>2]+(c<<3)|0,0,p-c<<3)}N[o+28>>2]=p;c=N[o+44>>2]+(d<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=f<<3;c=e+N[o+32>>2]|0;F(c+8|0,c,N[o+28>>2]+(f^-1)<<3);if(Q[o+28>>2]>f>>>0){break rc}N[147456]=0;N[147457]=0;e=589824;break qc}N[m>>2]=-1}f=N[o+36>>2];if((f|0)<0){break sc}d=N[o+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}vc:{if(f>>>0<=67108863){d=$a(N[o+44>>2],f<<6);if(d){break vc}}N[e>>2]=-1;L[o+12|0]=0;break dc}N[o+36>>2]=f;N[o+44>>2]=d}d=N[o+40>>2];if(d>>>0>>0){C(N[o+44>>2]+(d<<6)|0,0,c-d<<6)}N[o+40>>2]=c}L[o+12|0]=0;break dc}e=e+N[o+32>>2]|0}N[e>>2]=x;N[e+4>>2]=d;c=N[o+32>>2]}N[o+20>>2]=f;c=((f<<3)+c|0)+4|0}d=N[o+44>>2];if(!d){break dc}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;e=N[d+4>>2];c=q&63;r=c&31;if((c&63)>>>0>=32){c=1<>>32-r}N[d>>2]=f|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}}P=P+2|0;U=U-1|0;if(U){continue}break}}M=M+2|0;S=S-1|0;if(S){continue}break}}}function kq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;d=La-96|0;La=d;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{switch(a-1|0){default:switch(a-255|0){case 37:break j;case 36:break k;case 35:break l;case 0:break E;case 38:break i;default:break h};case 10:a=N[b+4>>2];if(a>>>0>2]){N[b+8>>2]=a+1}c=b+4164|0;a=N[b+4168>>2];G:{if(a){a=a-1|0;N[b+4168>>2]=a;a=(c+T(a,20)|0)+8|0;break G}L[c|0]=1;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;a=589824}c=N[a+4>>2];N[b+4128>>2]=N[a>>2];N[b+4132>>2]=c;N[b+4144>>2]=N[a+16>>2];f=a+8|0;c=N[f+4>>2];g=b+4136|0;N[g>>2]=N[f>>2];N[g+4>>2]=c;f=N[a>>2];c=N[a+4>>2];N[b+8>>2]=N[a+8>>2];N[b>>2]=f;N[b+4>>2]=c;break a;case 30:break m;case 29:break n;case 26:break o;case 25:break p;case 24:break q;case 23:break r;case 7:break s;case 6:break t;case 5:break u;case 4:break v;case 3:break w;case 21:break x;case 20:break y;case 18:case 19:break z;case 2:case 22:break A;case 0:case 17:break B;case 28:break C;case 9:break D;case 13:break F;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break h}}L[b+4148|0]=1;N[b+20>>2]=0;break a}a=N[b+4>>2];c=N[b+8>>2];if(a>>>0>>0){break a}g=b+16|0;H:{if(a>>>0<=c>>>0){c=a+1|0;a=275552;break H}a=N[b>>2]+c|0}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);f=N[b+20>>2];I:{if(f>>>0<=512){N[b+20>>2]=f+1;f=(g+(f<<3)|0)+8|0;break I}L[g|0]=1;N[147456]=0;N[147457]=0;f=589824}S[f>>3]=+(a|0)*152587890625e-16;N[b+8>>2]=c+4;break a}c=b+16|0;J:{a=N[b+20>>2];K:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(c+(a<<3)|0)+8>>3];if(V(e)<2147483648){a=~~e;break K}a=-2147483648;break K}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}l=a+N[b+4380>>2]|0;L:{if((l|0)<0){break L}a=N[b+4384>>2];if(!a){break L}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(l>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break L}a=N[b+4168>>2];if(a>>>0<10){break J}}N[b+8>>2]=N[b+4>>2]+1;break a}g=N[b+4>>2];h=N[b>>2];N[b+4128>>2]=h;N[b+4132>>2]=g;N[b+4168>>2]=a+1;m=b+4136|0;N[m>>2]=N[b+8>>2];c=b+T(a,20)|0;f=b+4144|0;N[c+4188>>2]=N[f>>2];a=c+4172|0;N[a>>2]=h;N[a+4>>2]=g;a=N[m+4>>2];c=c+4180|0;N[c>>2]=N[m>>2];N[c+4>>2]=a;g=b+4128|0;a=0;h=N[b+4384>>2];M:{if(!h){break M}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if(l>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break M}be(d+80|0,h,l);a=N[d+80>>2];j=N[d+84>>2]}N[b+4128>>2]=a;N[b+4132>>2]=j;N[f>>2]=l;N[m>>2]=0;N[m+4>>2]=2;N[b+8>>2]=N[g+8>>2];a=N[g+4>>2];N[b>>2]=N[g>>2];N[b+4>>2]=a;break a}c=b+16|0;N:{a=N[b+20>>2];O:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(c+(a<<3)|0)+8>>3];if(V(e)<2147483648){a=~~e;break O}a=-2147483648;break O}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}l=a+N[b+4372>>2]|0;P:{if((l|0)<0){break P}a=N[b+4376>>2];if(!a){break P}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(l>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break P}a=N[b+4168>>2];if(a>>>0<10){break N}}N[b+8>>2]=N[b+4>>2]+1;break a}g=N[b+4>>2];h=N[b>>2];N[b+4128>>2]=h;N[b+4132>>2]=g;N[b+4168>>2]=a+1;m=b+4136|0;N[m>>2]=N[b+8>>2];c=b+T(a,20)|0;f=b+4144|0;N[c+4188>>2]=N[f>>2];a=c+4172|0;N[a>>2]=h;N[a+4>>2]=g;a=N[m+4>>2];c=c+4180|0;N[c>>2]=N[m>>2];N[c+4>>2]=a;g=b+4128|0;a=0;h=N[b+4376>>2];Q:{if(!h){break Q}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if(l>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break Q}be(d+80|0,h,l);a=N[d+80>>2];j=N[d+84>>2]}N[b+4128>>2]=a;N[b+4132>>2]=j;N[f>>2]=l;N[m>>2]=0;N[m+4>>2]=1;N[b+8>>2]=N[g+8>>2];a=N[g+4>>2];N[b>>2]=N[g>>2];N[b+4>>2]=a;break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4152>>2]=N[b+4152>>2]+(a>>>1|0);break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4156>>2]=N[b+4156>>2]+(a>>>1|0);break a}R:{if(O[b+4150|0]){c=N[b+4160>>2];break R}L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;c=(a+N[b+4152>>2]|0)+7>>>3|0;N[b+4160>>2]=c}a=N[b+8>>2]+c|0;if(a>>>0>Q[b+4>>2]){break a}N[b+8>>2]=a;N[b+20>>2]=0;break a}h=b+16|0;k=S[b+4400>>3];i=S[b+4392>>3];g=N[b+20>>2];if(!g){l=589824;break c}a=g-1|0;l=(h+(a<<3)|0)+8|0;if(!a){break c}a=g-2|0;f=a>>>1|0;o=S[(h+(a<<3)|0)+8>>3];break b}f=b+16|0;i=S[b+4400>>3];e=S[b+4392>>3];a=N[b+20>>2];S:{if(a){a=a-1|0;l=a>>>1|0;k=S[(f+(a<<3)|0)+8>>3];break S}L[f|0]=1;N[147456]=0;N[147457]=0;k=0}L[c|0]=0;S[b+4400>>3]=i;S[b+4392>>3]=e+k;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+l|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}f=b+16|0;i=S[b+4400>>3];e=S[b+4392>>3];a=N[b+20>>2];T:{if(a){a=a-1|0;l=a>>>1|0;k=S[(f+(a<<3)|0)+8>>3];break T}L[f|0]=1;N[147456]=0;N[147457]=0;k=0}L[c|0]=0;S[b+4400>>3]=i+k;S[b+4392>>3]=e;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+l|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}h=N[b+20>>2];if(h>>>0>=2){m=b+16|0;g=2;a=0;while(1){U:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;f=589824;break U}f=(m+(a<<3)|0)+8|0}k=S[b+4392>>3]+S[f>>3];e=S[b+4400>>3]+S[(m+(a<<3|8)|0)+8>>3];V:{if(O[c|0]){break V}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;g=a+2|0;if(h>>>0>=g>>>0){continue}break}}N[b+20>>2]=0;break a}m=b+16|0;h=N[b+20>>2];if(h>>>0>=2){f=2;a=0;while(1){g=f;W:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;e=0;break W}e=S[(m+(a<<3)|0)+8>>3]}p=S[b+4400>>3];k=S[b+4392>>3]+e;X:{if(O[c|0]){break X}L[c|0]=1;e=S[b+4392>>3];if(e>3]){S[c+8>>3]=e;e=S[b+4392>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=p;S[b+4392>>3]=k;e=k;i=S[c+8>>3];if(e>3]=k;i=k;e=S[b+4392>>3]}q=S[c+24>>3];if(q>3]=e;q=e}r=S[c+16>>3];e=S[b+4400>>3];if(r>e){S[c+16>>3]=e;r=e;e=S[b+4400>>3]}o=S[c+32>>3];if(e>o){S[c+32>>3]=e;o=e}p=p+S[(m+(a<<3|8)|0)+8>>3];Y:{if(O[c|0]){break Y}L[c|0]=1;e=i;i=S[b+4392>>3];if(e>i){S[c+8>>3]=i;i=S[b+4392>>3]}if(i>q){S[c+24>>3]=i}i=S[b+4400>>3];if(r>i){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(i>o)){break Y}S[c+32>>3]=i}S[b+4400>>3]=p;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}}Z:{if(g>>>0>=h>>>0){break Z}k=S[b+4392>>3]+S[(m+(g<<3)|0)+8>>3];e=S[b+4400>>3];_:{if(O[c|0]){break _}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(!(S[c+32>>3]>3]=k}N[b+20>>2]=0;break a}m=b+16|0;h=N[b+20>>2];if(h>>>0>=2){f=2;a=0;while(1){g=f;$:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;e=0;break $}e=S[(m+(a<<3)|0)+8>>3]}k=S[b+4392>>3];p=S[b+4400>>3]+e;aa:{if(O[c|0]){break aa}L[c|0]=1;e=S[b+4392>>3];if(e>3]){S[c+8>>3]=e;e=S[b+4392>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=p;S[b+4392>>3]=k;i=S[c+8>>3];e=k;if(i>e){S[c+8>>3]=k;i=k;e=S[b+4392>>3]}q=S[c+24>>3];if(q>3]=e;q=e}r=S[c+16>>3];e=S[b+4400>>3];if(r>e){S[c+16>>3]=e;r=e;e=S[b+4400>>3]}o=S[c+32>>3];if(e>o){S[c+32>>3]=e;o=e}k=k+S[(m+(a<<3|8)|0)+8>>3];ba:{if(O[c|0]){break ba}L[c|0]=1;e=S[b+4392>>3];if(i>e){S[c+8>>3]=e;e=S[b+4392>>3]}if(e>q){S[c+24>>3]=e}e=S[b+4400>>3];if(r>e){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(e>o)){break ba}S[c+32>>3]=e}S[b+4400>>3]=p;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}}ca:{if(g>>>0>=h>>>0){break ca}e=S[b+4400>>3]+S[(m+(g<<3)|0)+8>>3];k=S[b+4392>>3];da:{if(O[c|0]){break da}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(!(S[c+32>>3]>3]=k}N[b+20>>2]=0;break a}g=N[b+20>>2];if(g>>>0>=6){j=b+16|0;m=b+4392|0;f=6;a=0;while(1){h=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=h;h=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=h;ea:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ea}h=(j+(a<<3)|0)+8|0}l=a|1;fa:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break fa}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+2|0;ga:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ga}h=(j+(h<<3)|0)+8|0}l=a+3|0;ha:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ha}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;h=a+4|0;ia:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ia}h=(j+(h<<3)|0)+8|0}a=a+5|0;ja:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ja}i=S[(j+(a<<3)|0)+8>>3]}e=S[h>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);g=N[b+20>>2];a=f;f=a+6|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}a=N[b+20>>2];ka:{if(a>>>0<8){break ka}n=b+16|0;j=b+4392|0;m=a-2|0;l=6;a=0;while(1){f=l;g=N[j+12>>2];N[d+88>>2]=N[j+8>>2];N[d+92>>2]=g;g=N[j+4>>2];N[d+80>>2]=N[j>>2];N[d+84>>2]=g;l=N[b+20>>2];la:{if(l>>>0<=a>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;g=589824;break la}g=((a<<3)+n|0)+8|0}h=a|1;ma:{if(h>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;i=0;break ma}i=S[((h<<3)+n|0)+8>>3]}e=S[g>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];g=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=g;g=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=g;g=a+2|0;na:{if(g>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;g=589824;break na}g=((g<<3)+n|0)+8|0}h=a+3|0;oa:{if(h>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;i=0;break oa}i=S[((h<<3)+n|0)+8>>3]}e=S[g>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];g=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=g;g=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=g;g=a+4|0;pa:{if(g>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;g=589824;break pa}g=((g<<3)+n|0)+8|0}a=a+5|0;qa:{if(a>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;i=0;break qa}i=S[((a<<3)+n|0)+8>>3]}e=S[g>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);a=f;l=a+6|0;if(m>>>0>=l>>>0){continue}break}h=b+4400|0;g=N[b+20>>2];ra:{if(g>>>0<=a>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;f=589824;break ra}f=((a<<3)+n|0)+8|0}k=S[b+4392>>3];i=S[h>>3];a=a|1;sa:{if(a>>>0>=g>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;e=0;break sa}e=S[((a<<3)+n|0)+8>>3]}i=i+e;k=k+S[f>>3];ta:{if(O[c|0]){break ta}L[c|0]=1;e=S[j>>3];if(e>3]){S[c+8>>3]=e;e=S[j>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=i;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[j>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(!(S[c+32>>3]>3]=k}N[b+20>>2]=0;break a}l=N[b+20>>2];if(l>>>0>=8){j=b+16|0;m=b+4392|0;h=l-6|0;f=2;a=0;while(1){g=f;ua:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break ua}f=(j+(a<<3)|0)+8|0}a=a|1;va:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break va}e=S[(j+(a<<3)|0)+8>>3]}e=S[b+4400>>3]+e;k=S[b+4392>>3]+S[f>>3];wa:{if(O[c|0]){break wa}L[c|0]=1;i=S[m>>3];if(i>3]){S[c+8>>3]=i;i=S[m>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[m>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;xa:{if(g>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break xa}a=(j+(g<<3)|0)+8|0}h=g|1;ya:{if(h>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ya}i=S[(j+(h<<3)|0)+8>>3]}e=S[a>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;za:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break za}a=(j+(f<<3)|0)+8|0}f=g+3|0;Aa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Aa}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g+4|0;Ba:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ba}a=(j+(a<<3)|0)+8|0}f=g+5|0;Ca:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ca}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;a=0;g=N[b+20>>2];if(g&1){S[d+80>>3]=S[d+80>>3]+S[b+24>>3];a=1}f=a|4;if(f>>>0<=g>>>0){j=b+16|0;m=b+4392|0;while(1){Da:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Da}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+1|0;Ea:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break Ea}h=(j+(h<<3)|0)+8|0}l=a+2|0;Fa:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Fa}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;a=a+3|0;Ga:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ga}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;g=N[b+20>>2];a=f;f=a+4|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;a=0;g=N[b+20>>2];if(g&1){S[d+88>>3]=S[d+88>>3]+S[b+24>>3];a=1}f=a|4;if(f>>>0<=g>>>0){j=b+16|0;m=b+4392|0;while(1){Ha:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ha}e=S[(j+(a<<3)|0)+8>>3]}S[d+80>>3]=S[d+80>>3]+e;h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+1|0;Ia:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break Ia}h=(j+(h<<3)|0)+8|0}l=a+2|0;Ja:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ja}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;a=a+3|0;Ka:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ka}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;g=N[b+20>>2];a=f;f=a+4|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}j=b+16|0;h=4;l=N[b+20>>2];if(l&4){break e}if(l>>>0<8){break d}g=b+4392|0;f=8;a=0;while(1){h=a;a=f;f=N[g+12>>2];N[d+88>>2]=N[g+8>>2];N[d+92>>2]=f;f=N[g+4>>2];N[d+80>>2]=N[g>>2];N[d+84>>2]=f;La:{if(h>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break La}e=S[(j+(h<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=h|1;Ma:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break Ma}f=(j+(f<<3)|0)+8|0}m=h|2;Na:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Na}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=h|3;Oa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Oa}e=S[(j+(f<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=f;f=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=f;l=N[b+20>>2];f=h|4;Pa:{if(l>>>0<=f>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Pa}e=S[(j+(f<<3)|0)+8>>3]}f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;S[d+80>>3]=S[d+80>>3]+e;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=h|5;Qa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break Qa}f=(j+(f<<3)|0)+8|0}m=h|6;Ra:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ra}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=h|7;Sa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Sa}e=S[(j+(f<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;if(!(!(l&1)|l-h>>>0>15)){Ta:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ta}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e}Rb(b,c,d+80|0,d- -64|0,d+48|0);f=a+8|0;l=N[b+20>>2];if(f>>>0<=l>>>0){continue}break}break d}j=b+16|0;a=4;l=N[b+20>>2];if(l&4){break g}if(l>>>0<8){break f}g=b+4392|0;f=8;while(1){m=h;h=f;a=N[g+12>>2];N[d+88>>2]=N[g+8>>2];N[d+92>>2]=a;a=N[g+4>>2];N[d+80>>2]=N[g>>2];N[d+84>>2]=a;Ua:{if(l>>>0<=m>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ua}e=S[(j+(m<<3)|0)+8>>3]}a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+80>>3]=S[d+80>>3]+e;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=m|1;Va:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Va}a=(j+(a<<3)|0)+8|0}f=m|2;Wa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Wa}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=m|3;Xa:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Xa}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=a;a=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=a;l=N[b+20>>2];a=m|4;Ya:{if(l>>>0<=a>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ya}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=m|5;Za:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Za}a=(j+(a<<3)|0)+8|0}f=m|6;_a:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break _a}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=m|7;$a:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break $a}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;if(!(!(l&1)|l-m>>>0>15)){ab:{if(h>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break ab}e=S[(j+(h<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e}Rb(b,c,d+80|0,d- -64|0,d+48|0);f=h+8|0;l=N[b+20>>2];if(f>>>0<=l>>>0){continue}break}break f}bb:{if(N[b+20>>2]==7){a=b+4400|0;g=N[a>>2];f=N[a+4>>2];N[d+88>>2]=g;N[d+92>>2]=f;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;S[d+80>>3]=S[d+80>>3]+S[b+24>>3];N[d+72>>2]=g;N[d+76>>2]=f;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];g=f;a=N[d+72>>2];N[d+56>>2]=a;N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+48>>3]=S[d+48>>3]+S[b+48>>3];N[d+40>>2]=a;N[d+44>>2]=g;f=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=f;S[d+32>>3]=S[d+32>>3]+S[b+56>>3];N[d+24>>2]=a;N[d+28>>2]=g;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;S[d+16>>3]=S[d+16>>3]+S[b- -64>>3];a=N[d+92>>2];f=N[d+88>>2];N[d+24>>2]=f;N[d+28>>2]=a;N[d+8>>2]=f;N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;S[d>>3]=S[d>>3]+S[b+72>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break bb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}cb:{if(N[b+20>>2]==13){f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;e=S[b+24>>3];S[d+88>>3]=S[d+88>>3]+S[b+32>>3];S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+40>>3];S[d+72>>3]=S[d+72>>3]+S[b+48>>3];S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;e=S[b+56>>3];S[d+56>>3]=S[d+56>>3]+S[b- -64>>3];S[d+48>>3]=e+S[d+48>>3];a=N[d+60>>2];N[d+40>>2]=N[d+56>>2];N[d+44>>2]=a;a=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=a;e=S[b+72>>3];S[d+40>>3]=S[d+40>>3]+S[b+80>>3];S[d+32>>3]=e+S[d+32>>3];a=N[d+44>>2];N[d+24>>2]=N[d+40>>2];N[d+28>>2]=a;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;e=S[b+88>>3];S[d+24>>3]=S[d+24>>3]+S[b+96>>3];S[d+16>>3]=e+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;e=S[b+104>>3];S[d+8>>3]=S[d+8>>3]+S[b+112>>3];S[d>>3]=e+S[d>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break cb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}db:{if(N[b+20>>2]==9){h=b+4400|0;a=N[h+4>>2];N[d+88>>2]=N[h>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;e=S[b+24>>3];S[d+88>>3]=S[d+88>>3]+S[b+32>>3];S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+40>>3];S[d+72>>3]=S[d+72>>3]+S[b+48>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];g=f;a=N[d+72>>2];N[d+56>>2]=a;N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+48>>3]=S[d+48>>3]+S[b+56>>3];N[d+40>>2]=a;N[d+44>>2]=g;f=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=f;S[d+32>>3]=S[d+32>>3]+S[b- -64>>3];N[d+24>>2]=a;N[d+28>>2]=g;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;e=S[b+72>>3];S[d+24>>3]=S[d+24>>3]+S[b+80>>3];S[d+16>>3]=e+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;S[d>>3]=S[d>>3]+S[b+88>>3];a=N[h+4>>2];N[d+8>>2]=N[h>>2];N[d+12>>2]=a;Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break db}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}eb:{if(N[b+20>>2]==11){s=S[b+88>>3];t=S[b+96>>3];u=S[b+72>>3];p=S[b+80>>3];q=S[b+56>>3];r=S[b- -64>>3];o=S[b+40>>3];k=S[b+48>>3];i=S[b+24>>3];e=S[b+32>>3];g=b+4400|0;a=N[g+4>>2];N[d+88>>2]=N[g>>2];N[d+92>>2]=a;f=N[b+4392>>2];a=N[b+4396>>2];S[d+88>>3]=e+S[d+88>>3];N[d+80>>2]=f;N[d+84>>2]=a;S[d+80>>3]=i+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+72>>3]=k+S[d+72>>3];a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;S[d+64>>3]=o+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+56>>3]=r+S[d+56>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;S[d+48>>3]=q+S[d+48>>3];a=N[d+60>>2];N[d+40>>2]=N[d+56>>2];N[d+44>>2]=a;S[d+40>>3]=p+S[d+40>>3];a=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=a;S[d+32>>3]=u+S[d+32>>3];a=N[d+44>>2];N[d+24>>2]=N[d+40>>2];N[d+28>>2]=a;S[d+24>>3]=t+S[d+24>>3];a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;S[d+16>>3]=s+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;fb:{if(V(s+(u+(q+(o+(i+0)))))>V(t+(p+(r+(k+(e+0)))))){S[d>>3]=S[d>>3]+S[b+104>>3];a=N[g+4>>2];N[d+8>>2]=N[g>>2];N[d+12>>2]=a;break fb}a=N[b+4396>>2];N[d>>2]=N[b+4392>>2];N[d+4>>2]=a;S[d+8>>3]=S[d+8>>3]+S[b+104>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break eb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}uf(a,b);break a}f=b+4400|0;h=N[f>>2];g=N[f+4>>2];N[d+88>>2]=h;N[d+92>>2]=g;f=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=f;S[d+80>>3]=S[d+80>>3]+S[b+24>>3];N[d+72>>2]=h;N[d+76>>2]=g;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+56>>3]=S[d+56>>3]+S[b+48>>3];f=12;if(l>>>0>=12){h=b+4392|0;g=4;while(1){a=f;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[h+12>>2];N[d+88>>2]=N[h+8>>2];N[d+92>>2]=f;f=N[h+4>>2];N[d+80>>2]=N[h>>2];N[d+84>>2]=f;l=N[b+20>>2];gb:{if(l>>>0<=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break gb}e=S[(j+(g<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=g|1;hb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break hb}f=(j+(f<<3)|0)+8|0}m=g|2;ib:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ib}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=g|3;jb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break jb}e=S[(j+(f<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=f;f=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=f;l=N[b+20>>2];f=g+4|0;kb:{if(l>>>0<=f>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break kb}e=S[(j+(f<<3)|0)+8>>3]}f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;S[d+80>>3]=S[d+80>>3]+e;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=g+5|0;lb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break lb}f=(j+(f<<3)|0)+8|0}m=g+6|0;mb:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break mb}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=g+7|0;nb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break nb}e=S[(j+(f<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;g=a;f=a+8|0;if(f>>>0<=l>>>0){continue}break}}if(a>>>0>>0){S[d+48>>3]=S[d+48>>3]+S[(j+(a<<3)|0)+8>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;g=N[b+4396>>2];a=N[b+4392>>2];N[d+80>>2]=a;N[d+84>>2]=g;S[d+88>>3]=S[d+88>>3]+S[b+24>>3];f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;N[d+64>>2]=a;N[d+68>>2]=g;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;S[d+48>>3]=S[d+48>>3]+S[b+48>>3];f=12;if(l>>>0>=12){m=b+4392|0;g=4;while(1){h=f;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;l=N[b+20>>2];ob:{if(l>>>0<=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break ob}e=S[(j+(g<<3)|0)+8>>3]}a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+80>>3]=S[d+80>>3]+e;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=g|1;pb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break pb}a=(j+(a<<3)|0)+8|0}f=g|2;qb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break qb}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g|3;rb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break rb}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=a;a=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=a;l=N[b+20>>2];a=g+4|0;sb:{if(l>>>0<=a>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break sb}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=g+5|0;tb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break tb}a=(j+(a<<3)|0)+8|0}f=g+6|0;ub:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ub}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g+7|0;vb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break vb}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;g=h;f=g+8|0;if(f>>>0<=l>>>0){continue}break}}if(h>>>0>>0){S[d+56>>3]=S[d+56>>3]+S[(j+(h<<3)|0)+8>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}L[h|0]=1;N[147456]=0;N[147457]=0;o=0}e=S[l>>3];L[c|0]=0;S[b+4400>>3]=k+e;S[b+4392>>3]=i+o;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+f|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0}La=d+96|0}function vr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;d=N[a+660>>2];if(d){ug(d);N[a+660>>2]=0}v=N[a+380>>2];h=O[b+11|0];q=h<<24>>24<0;d=q?N[b>>2]:b;b=q?N[b+4>>2]:h;q=0;o=La-352|0;La=o;a:{if(!d){break a}u=kb(b+1|0);if(!u){break a}F(u,d,b);L[b+u|0]=0;b:{i=db(1,104);if(i){N[i+84>>2]=v;d=db(1,40);N[i+88>>2]=d;c:{d:{if(!d){break d}b=kb(2880);N[147316]=b?0:48;N[i+16>>2]=b;if(!b){break d}N[i>>2]=1;N[i+4>>2]=20;C(b,0,144);h=Hb(9439);N[b>>2]=h;e=Hb(13519);N[b+116>>2]=20;N[b+104>>2]=2;N[b+96>>2]=0;N[b+100>>2]=1074266112;N[b+88>>2]=0;N[b+92>>2]=1073741824;N[b+80>>2]=1;N[b+64>>2]=0;N[b+68>>2]=0;N[b+56>>2]=0;N[b+60>>2]=1072693248;N[b+48>>2]=0;N[b+52>>2]=1072693248;N[b+32>>2]=200;N[b+24>>2]=0;N[b+28>>2]=128;N[b+16>>2]=-256;N[b+20>>2]=16776960;N[b+8>>2]=0;N[b+12>>2]=1077018624;N[b+4>>2]=e;N[b+108>>2]=20;N[b+112>>2]=20;if(e?h:0){break c}_a(h);_a(N[b+4>>2])}_a(d);_a(i);_a(u);break a}N[d+28>>2]=1;r=u;e:while(1){b=O[r|0];while(1){c=r;f:{d=b&255;g:{if((d|0)!=239){e=1;switch(d-10|0){case 0:case 3:break g;default:break f}}if(O[c+1|0]!=187|O[c+2|0]!=191){break f}e=3}r=c+e|0;continue e}while(1){b=b&255;if(!(1<>>0<=13:0)){b=O[r+1|0];r=r+1|0;continue}break}if((c|0)!=(r|0)){if(b){L[r|0]=0;r=r+1|0}h:{i:{j:{while(1){b=O[c|0];if((b|0)==32|(b|0)==9){c=c+1|0;continue}else{k:{b=0;g=18558;while(1){l:{d=O[O[g|0]+25936|0];e=O[b+c|0];h=O[e+25936|0];if(!e|b>>>0>11){break l}g=g+1|0;b=b+1|0;if((d|0)==(h|0)){continue}}break}if((d|0)==(h|0)){break k}b=0;g=18533;while(1){m:{d=O[O[g|0]+25936|0];e=O[b+c|0];h=O[e+25936|0];if(!e|b>>>0>9){break m}g=g+1|0;b=b+1|0;if((d|0)==(h|0)){continue}}break}if((d|0)==(h|0)){break j}b=0;g=18545;while(1){n:{d=O[O[g|0]+25936|0];e=O[b+c|0];h=O[e+25936|0];if(!e|b>>>0>10){break n}g=g+1|0;b=b+1|0;if((d|0)==(h|0)){continue}}break}if((d|0)==(h|0)){N[N[i+88>>2]>>2]=2;N[i+32>>2]=1;break h}o:{p:{if(O[c|0]!=91){break p}q:{if((O[c+1|0]&223)!=69|(O[c+2|0]&223)!=86|((O[c+3|0]&223)!=69|(O[c+4|0]&223)!=78)){break q}if((O[c+5|0]&223)!=84|(O[c+6|0]&223)!=83|O[c+7|0]!=93){break q}N[N[i+88>>2]>>2]=3;break h}if(O[c|0]!=91|(O[c+1|0]&223)!=70|((O[c+2|0]&223)!=79|(O[c+3|0]&223)!=78)){break p}if((O[c+4|0]&223)!=84){break p}if((O[c+5|0]&223)==83){break o}}g=N[i+88>>2];break i}g=N[i+88>>2];if(O[c+6|0]!=93){break i}N[g>>2]=4;break h}}break}N[N[i+88>>2]>>2]=1;break h}N[N[i+88>>2]>>2]=2;N[i+32>>2]=2;break h}r:{s:{switch(N[g>>2]-1|0){case 0:if(!bb(c,21334,9)){b=N[g+32>>2];t:{if(b&2){b=N[i+84>>2];N[o+16>>2]=18704;mb(b,2,24874,o+16|0);break t}N[g+32>>2]=b|2}y=i,z=yb(c+9|0),N[y+36>>2]=z;break h}if(!bb(c,21312,9)){b=N[g+32>>2];u:{if(b&4){b=N[i+84>>2];N[o+32>>2]=18572;mb(b,2,24874,o+32|0);break u}N[g+32>>2]=b|4}y=i,z=yb(c+9|0),N[y+40>>2]=z;break h}if(!bb(c,21344,11)){b=N[g+32>>2];v:{if(b&512){b=N[i+84>>2];N[o+48>>2]=18713;mb(b,2,24874,o+48|0);break v}N[g+32>>2]=b|512}y=i,z=yb(c+11|0),N[y+92>>2]=z;break h}if(!bb(c,21322,11)){b=N[g+32>>2];w:{if(b&1024){b=N[i+84>>2];N[o+64>>2]=18581;mb(b,2,24874,o- -64|0);break w}N[g+32>>2]=b|1024}y=i,z=yb(c+11|0),N[y+96>>2]=z;break h}if(!bb(c,21243,6)){b=N[g+32>>2];x:{if(b&8){b=N[i+84>>2];N[o+80>>2]=11980;mb(b,2,24874,o+80|0);break x}N[g+32>>2]=b|8}y=i,A=pb(c+6|0,0),S[y+48>>3]=A;break h}if(!bb(c,21291,10)){b=N[g+32>>2];y:{if(b&16){b=N[i+84>>2];N[o+96>>2]=15956;mb(b,2,24874,o+96|0);break y}N[g+32>>2]=b|16}y=i,z=yb(c+10|0),N[y+56>>2]=z;break h}if(!bb(c,21212,22)){b=N[g+32>>2];z:{if(b&32){b=N[i+84>>2];N[o+112>>2]=8259;mb(b,2,24874,o+112|0);break z}N[g+32>>2]=b|32}c=c+22|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}A:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break A}}b=(Kb(c,0)|0)>0}N[i+60>>2]=b;break h}if(!bb(c,21250,8)){b=N[g+32>>2];B:{if(b&128){b=N[i+84>>2];N[o+128>>2]=14675;mb(b,2,24874,o+128|0);break B}N[g+32>>2]=b|128}c=c+8|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}C:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break C}}b=(Kb(c,0)|0)>0}N[i+64>>2]=b;break h}if(!bb(c,21198,13)){b=N[g+32>>2];D:{if(b&64){b=N[i+84>>2];N[o+144>>2]=8116;mb(b,2,24874,o+144|0);break D}N[g+32>>2]=b|64}y=i,z=ro(c+13|0),N[y+72>>2]=z;break h}if(!bb(c,21302,9)){b=N[g+32>>2];E:{if(b&1){b=N[i+84>>2];N[o+160>>2]=16110;mb(b,2,24874,o+160|0);break E}N[g+32>>2]=b|1}g=c+9|0;b=O[c+9|0];F:{if(!b){break F}while(1){d=g;h=b<<24>>24;if(!(h-9>>>0<4|(h|0)==32|(b&255)==13)){break F}g=d+1|0;b=O[d+1|0];if(b){continue}break}}_a(N[i+68>>2]);d=$n(g,2);b=kb(d+1|0);if(b){Pc(b,g,d);L[b+d|0]=0}N[i+68>>2]=b;break h}if(!bb(c,21269,11)){b=N[g+32>>2];G:{if(b&256){b=N[i+84>>2];N[o+176>>2]=15532;mb(b,2,24874,o+176|0);break G}N[g+32>>2]=b|256}d=c+11|0;h=nb(d);b=h+11|0;H:{I:{if((h|0)<=0){break I}while(1){h=b-1|0;e=O[h+c|0];if((e|0)!=32&(e|0)!=9){break I}e=b>>>0>12;b=h;if(e){continue}break}c=d;break H}c=b+c|0}d=c-d|0;if(d>>>0<4){break h}g=2;b=c-1|0;if(O[b|0]==43){g=1;c=b;if(d-5>>>0>4294967291){break h}}if(bb(c-4|0,21957,4)){break h}N[i+32>>2]=g;break h}if(bb(c,24973,22)){break h}if(bb(c+22|0,17644,11)){break h}N[g+32>>2]=N[g+32>>2]|16384;break h;case 1:if(!bb(c,21235,7)){c=c+7|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}_a(N[i+24>>2]);b=Hb(c);N[i+24>>2]=b;if(!b){break h}d=N[i+84>>2];N[o+192>>2]=b;mb(d,7,11521,o+192|0);if(N[i+32>>2]==1){qi(i,c,14940);break h}qi(i,c,14751);break h}if(bb(c,21295,6)){break h}c=c+6|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break};b=N[i+24>>2];if(!b){J:{if(N[i+32>>2]==2){b=Hb(14751);break J}b=Hb(14940)}N[i+24>>2]=b;if(!b){break h}}m=Hb(b);if(!m){break h}b=N[i+84>>2];N[o+212>>2]=c;N[o+208>>2]=i;mb(b,6,11551,o+208|0);s=N[i>>2];b=N[i+4>>2];if((s|0)<=(b|0)){K:{L:{M:{if((b|0)!=(s|0)){b=N[i+16>>2];break M}if(s>>>0>2147483626){break L}N[147316]=0;d=s+20|0;b=jd(N[i+16>>2],d,144);N[i+16>>2]=b;if(N[147316]){break L}N[i+4>>2]=d;s=N[i>>2]}N[i>>2]=s+1;w=T(s,144);f=w+b|0;C(f,0,144);if((s|0)>=0){break K}}_a(m);break h}N[f+56>>2]=0;N[f+60>>2]=1079574528;N[f+48>>2]=0;N[f+52>>2]=1079574528;l=f- -64|0;j=0;b=m;N:while(1){e=b;O:{P:{Q:{g=O[b|0];switch(g|0){case 9:break O;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break P;case 0:break r;default:break Q}}if((g|0)==32){break O}}while(1){g=g&255;if(!(!g|(g|0)==44)){g=O[e+1|0];e=e+1|0;continue}break}d=e;R:{if(d>>>0<=b>>>0){break R}while(1){h=d-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break R}d=h;if(d>>>0>b>>>0){continue}break}d=b}h=((g|0)==44)+e|0;L[d|0]=0;g=c;while(1){S:{T:{U:{e=g;c=O[e|0];switch(c|0){case 9:break S;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break T;case 0:break r;default:break U}}if((c|0)==32){break S}}while(1){d=c&255;if(!(!d|(d|0)==44)){c=O[e+1|0];e=e+1|0;continue}break}L[e|0]=0;p=(d|0)==44;c=15914;d=b;while(1){V:{k=O[O[c|0]+25936|0];x=O[d|0];n=O[x+25936|0];if(!x){break V}c=c+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}c=e+p|0;e=15901;d=b;if((k|0)==(n|0)){while(1){d=g;g=d+1|0;if(O[d|0]==42){continue}break}b=h;d=Hb(d);if(!d){continue N}_a(N[f>>2]);N[f>>2]=d;continue N}while(1){W:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break W}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11798;d=b;if((k|0)==(n|0)){b=h;d=Hb(g);if(!d){continue N}_a(N[f+4>>2]);N[f+4>>2]=d;continue N}while(1){X:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break X}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11812;d=b;if((k|0)==(n|0)){b=yb(g);N[f+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=h;continue N}while(1){Y:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break Y}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11839;d=b;if((k|0)==(n|0)){b=yb(g);N[f+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=h;continue N}while(1){Z:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break Z}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11828;d=b;if((k|0)==(n|0)){b=yb(g);N[f+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=h;continue N}while(1){_:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break _}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=13334;d=b;if((k|0)==(n|0)){b=yb(g);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[f+28>>2]=d;b=h;if(N[i+32>>2]!=2){continue N}N[f+24>>2]=d;continue N}while(1){$:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break $}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15426;d=b;if((k|0)==(n|0)){j=yb(g);b=h;continue N}while(1){aa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break aa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=16733;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+8>>3]=A;b=h;continue N}while(1){ba:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ba}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=17754;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+32>>2]=z;b=h;continue N}while(1){ca:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ca}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15749;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+36>>2]=z;b=h;continue N}while(1){da:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break da}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=8720;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+40>>2]=z;b=h;continue N}while(1){ea:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ea}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15170;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+44>>2]=z;b=h;continue N}while(1){fa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break fa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=16029;d=b;if((k|0)==(n|0)){y=l,A=pb(g,0),S[y>>3]=A;b=h;continue N}while(1){ga:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ga}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15944;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+72>>3]=A;b=h;continue N}while(1){ha:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ha}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=9279;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+80>>2]=z;b=h;continue N}while(1){ia:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ia}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=19806;d=b;if((k|0)==(n|0)){d=yb(g);N[f+104>>2]=d;if(N[i+32>>2]==1){b=d>>31;d=(d|0)==-2147483648?2:(b^d)-b|0;b=((d-1|0)%3|0)+1|0;ja:{if(d>>>0<4){break ja}if(d>>>0<=6){b=b|8;break ja}b=b|4}N[f+104>>2]=b;b=h;continue N}b=h;ka:{switch(d-4|0){case 4:N[f+104>>2]=3;continue N;case 0:break ka;default:continue N}}N[f+104>>2]=11;continue N}while(1){la:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break la}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=19589;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+108>>2]=z;b=h;continue N}while(1){ma:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ma}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=19116;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+112>>2]=z;b=h;continue N}while(1){na:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break na}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15161;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+116>>2]=z;b=h;continue N}while(1){oa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break oa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=18724;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+120>>2]=z;b=h;continue N}while(1){pa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break pa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=18592;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+48>>3]=A;b=h;continue N}while(1){qa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break qa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15741;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+56>>3]=A;b=h;continue N}while(1){ra:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ra}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=8274;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+88>>3]=A;b=h;continue N}while(1){sa:{d=O[O[e|0]+25936|0];n=O[b|0];k=O[n+25936|0];if(!n){break sa}e=e+1|0;b=b+1|0;if((d|0)==(k|0)){continue}}break}b=h;if((d|0)!=(k|0)){continue N}y=f,A=pb(g,0),S[y+96>>3]=A;continue N}g=g+1|0;continue}}b=b+1|0;continue}}ba(11239,18016,104,15919);B();case 3:if(!bb(c,21281,9)){c=c+9|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}if(N[g+4>>2]){io(i);g=N[i+88>>2]}b=Hb(c);N[g+4>>2]=b;if(!b){break h}d=N[i+84>>2];N[o+304>>2]=b;mb(d,6,11538,o+304|0);break h}b=N[g+4>>2];if(!b){b=N[i+84>>2];N[o+320>>2]=c;mb(b,6,24686,o+320|0);break h}h=N[g+16>>2];ta:{ua:{d=nb(c);e=d>>>0<=102400?102400:d;if(h>>>0<(e^-1)>>>0){b=N[g+12>>2];if(b>>>0>=d+h>>>0){e=N[g+8>>2];break ta}N[147316]=0;m=N[g+8>>2];h=b+e|0;b=$a(m,h>>>0<=1?1:h);N[147316]=b?0:48;g=N[i+88>>2];e=b?b:m;N[g+8>>2]=e;if(b){break ua}b=N[g+4>>2]}_a(b);_a(N[g+8>>2]);N[g+12>>2]=0;N[g+16>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;break h}N[g+12>>2]=h}if(!e){break h}F(N[g+16>>2]+e|0,c,d);b=N[i+88>>2];N[b+16>>2]=d+N[b+16>>2];break h;case 2:break s;default:break h}}if(!bb(c,21235,7)){c=c+7|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}_a(N[i+28>>2]);b=Hb(c);N[i+28>>2]=b;if(!b){break h}d=N[i+84>>2];N[o+224>>2]=b;mb(d,7,11504,o+224|0);qi(i,c,N[i+32>>2]==1?8495:8567);if(N[N[i+88>>2]+32>>2]!=16646|N[i>>2]!=2){break h}if(bb(N[N[i+16>>2]+144>>2],9439,7)){break h}N[i+60>>2]=1;mb(N[i+84>>2],4,22355,0);break h}va:{if(!bb(c,21259,9)){if(!N[i+28>>2]){N[g>>2]=3;wa:{if(N[i+32>>2]==2){b=Hb(8567);break wa}b=Hb(8495)}N[i+28>>2]=b;mb(N[i+84>>2],6,13787,0);if(!N[i+28>>2]){break h}}c=c+9|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}b=N[i+8>>2];d=N[i+12>>2];if((b|0)<=(d|0)){xa:{if((b|0)!=(d|0)){g=N[i+20>>2];break xa}if(b>>>0>1073741822){break h}N[147316]=0;b=b<<1|1;g=jd(N[i+20>>2],b,56);N[i+20>>2]=g;if(N[147316]){break h}N[i+12>>2]=b;b=N[i+8>>2]}N[i+8>>2]=b+1;l=T(b,56);d=l+g|0;N[d>>2]=0;N[d+4>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if((b|0)<0){break h}b=N[i+20>>2];s=Hb(N[i+28>>2]);if(!s){break va}m=b+l|0;b=s;while(1){e=b;ya:{za:{Aa:{Ba:{g=O[b|0];switch(g|0){case 9:break ya;case 0:break za;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break Aa;default:break Ba}}if((g|0)==32){break ya}}while(1){g=g&255;if(!(!g|(g|0)==44)){g=O[e+1|0];e=e+1|0;continue}break}d=e;Ca:{if(d>>>0<=b>>>0){break Ca}while(1){h=d-1|0;f=O[h|0];if((f|0)!=32&(f|0)!=9){break Ca}d=h;if(d>>>0>b>>>0){continue}break}d=b}h=((g|0)==44)+e|0;L[d|0]=0;g=8635;e=b;while(1){Da:{d=O[O[g|0]+25936|0];j=O[e|0];f=O[j+25936|0];if(!j){break Da}g=g+1|0;e=e+1|0;if((d|0)==(f|0)){continue}}break}Ea:{Fa:{if((d|0)!=(f|0)){g=c;break Fa}b=Hb(c);N[m+48>>2]=b;if(!b){break Ea}Ga:{if(!O[b|0]){break Ga}d=nb(b);if((d|0)<=0){break Ga}c=b+d|0;while(1){c=c-1|0;d=O[c|0]-9|0;if(d>>>0>23|!(1<>>0>>0){continue}break}}d=N[m+8>>2];h=N[m>>2];e=d-h|0;d=N[m+12>>2]-(N[m+4>>2]+(d>>>0>>0)|0)|0;N[m+8>>2]=e;N[m+12>>2]=d;_a(s);if(!b){break va}break h}while(1){Ha:{Ia:{Ja:{Ka:{e=g;c=O[e|0];switch(c|0){case 0:break za;case 9:break Ia;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break Ja;default:break Ka}}if((c|0)==32){break Ia}}while(1){d=c&255;if(!d|(d|0)==44){break Ha}c=O[e+1|0];e=e+1|0;continue}}g=g+1|0;continue}break}L[e|0]=0;k=(d|0)==44;c=16701;f=b;while(1){La:{d=O[O[c|0]+25936|0];n=O[f|0];j=O[n+25936|0];if(!n){break La}c=c+1|0;f=f+1|0;if((d|0)==(j|0)){continue}}break}c=11926;j=(d|0)==(j|0)?12789:b;b=j;while(1){Ma:{d=O[O[c|0]+25936|0];n=O[b|0];f=O[n+25936|0];if(!n){break Ma}c=c+1|0;b=b+1|0;if((d|0)==(f|0)){continue}}break}c=11954;d=(d|0)==(f|0)?15914:j;b=d;while(1){Na:{f=O[O[c|0]+25936|0];n=O[b|0];j=O[n+25936|0];if(!n){break Na}c=c+1|0;b=b+1|0;if((f|0)==(j|0)){continue}}break}c=e+k|0;b=16007;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+20>>2]=z;b=h;continue}while(1){Oa:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Oa}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=15914;e=d;if((f|0)==(j|0)){while(1){d=g;g=d+1|0;b=9439;if(O[d|0]==42){continue}break}g=d;while(1){Pa:{e=O[O[b|0]+25936|0];j=O[g|0];f=O[j+25936|0];if(!j){break Pa}b=b+1|0;g=g+1|0;if((e|0)==(f|0)){continue}}break}d=(e|0)==(f|0)?9439:d;b=N[i>>2];Qa:{while(1){if((b|0)>0){b=b-1|0;if(cb(N[N[i+16>>2]+T(b,144)>>2],d)){continue}break Qa}break}e=N[i+84>>2];b=N[i+76>>2];N[o+248>>2]=N[N[i+16>>2]+T(b,144)>>2];N[o+244>>2]=d;N[o+240>>2]=i;mb(e,2,24480,o+240|0)}N[m+24>>2]=b;b=h;continue}while(1){Ra:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Ra}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=9655;e=d;if((f|0)==(j|0)){b=h;d=Hb(g);if(!d){continue}_a(N[m+28>>2]);N[m+28>>2]=d;continue}while(1){Sa:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Sa}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=19806;e=d;if((f|0)==(j|0)){b=h;d=Hb(g);if(!d){continue}_a(N[m+44>>2]);N[m+44>>2]=d;continue}while(1){Ta:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Ta}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=19589;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+32>>2]=z;b=h;continue}while(1){Ua:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Ua}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=19116;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+36>>2]=z;b=h;continue}while(1){Va:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Va}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=8828;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+40>>2]=z;b=h;continue}while(1){Wa:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Wa}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=12789;if((f|0)==(j|0)){b=N[i+84>>2];N[o+256>>2]=o+348;N[o+260>>2]=o+344;N[o+264>>2]=o+340;N[o+268>>2]=o+336;if((co(g,o+256|0)|0)<=3){mb(b,2,12297,0);N[m>>2]=0;N[m+4>>2]=0;b=h;continue}b=N[o+340>>2];e=b;g=b>>31;f=N[o+344>>2];b=N[o+348>>2];j=UE(b,b>>31,60,0);d=f+j|0;b=Pa+(f>>31)|0;f=e;e=UE(d,d>>>0>>0?b+1|0:b,60,0);b=f+e|0;d=Pa+g|0;d=UE(b,b>>>0>>0?d+1|0:d,1e3,0);e=Pa;b=N[o+336>>2];g=UE(b,b>>31,10,0);b=g+d|0;d=Pa+e|0;N[m>>2]=b;N[m+4>>2]=b>>>0>>0?d+1|0:d;b=h;continue}while(1){Xa:{e=O[O[b|0]+25936|0];j=O[d|0];f=O[j+25936|0];if(!j){break Xa}b=b+1|0;d=d+1|0;if((e|0)==(f|0)){continue}}break}b=h;if((e|0)!=(f|0)){continue}d=N[i+84>>2];N[o+272>>2]=o+348;N[o+276>>2]=o+344;N[o+280>>2]=o+340;N[o+284>>2]=o+336;if((co(g,o+272|0)|0)<=3){mb(d,2,12297,0);N[m+8>>2]=0;N[m+12>>2]=0;continue}d=N[o+340>>2];e=d;g=d>>31;f=N[o+344>>2];d=N[o+348>>2];j=UE(d,d>>31,60,0);h=f+j|0;d=Pa+(f>>31)|0;f=e;e=UE(h,h>>>0>>0?d+1|0:d,60,0);h=f+e|0;d=Pa+g|0;h=UE(h,e>>>0>h>>>0?d+1|0:d,1e3,0);e=Pa;d=N[o+336>>2];g=UE(d,d>>31,10,0);h=g+h|0;d=Pa+e|0;N[m+8>>2]=h;N[m+12>>2]=g>>>0>h>>>0?d+1|0:d;continue}b=N[m+8>>2];d=N[m>>2];h=b-d|0;b=N[m+12>>2]-(N[m+4>>2]+(b>>>0>>0)|0)|0;N[m+8>>2]=h;N[m+12>>2]=b}_a(s);break va}b=b+1|0;continue}}ba(10030,18016,127,9200);B()}b=N[i+84>>2];N[o+288>>2]=c;mb(b,6,24346,o+288|0);break h}b=l+N[i+20>>2]|0;_a(N[b+28>>2]);_a(N[b+44>>2]);_a(N[b+48>>2]);_a(N[b+52>>2]);N[i+8>>2]=N[i+8>>2]-1;break h}_a(m);if(N[i+32>>2]==2){b=(j|0)>=255?255:j;b=(b|0)>0?b:0;L[f+16|0]=b;L[f+20|0]=b;L[f+24|0]=b;L[f+28|0]=128}t=S[f+48>>3];S[f+48>>3]=t>0?t/100:0;t=S[f+56>>3];S[f+56>>3]=t>0?t/100:0;t=S[l>>3];S[l>>3]=t>0?t:0;t=S[f+88>>3];S[f+88>>3]=t>0?t:0;t=S[f+96>>3];S[f+96>>3]=t>0?t:0;N[f+32>>2]=N[f+32>>2]!=0;N[f+36>>2]=N[f+36>>2]!=0;N[f+40>>2]=N[f+40>>2]!=0;N[f+44>>2]=N[f+44>>2]!=0;c=N[f>>2];if(!c){c=Hb(9439);N[f>>2]=c}b=N[f+4>>2];if(!b){b=Hb(13519);N[f+4>>2]=b}if(!(b?c:0)){b=N[i+16>>2]+w|0;_a(N[b>>2]);_a(N[b+4>>2]);N[i>>2]=N[i>>2]-1;break h}if(cb(c,9439)){break h}N[i+76>>2]=s}b=O[r|0];if(b){continue}}break}break}if(N[N[i+88>>2]+4>>2]){io(i)}r=N[i+8>>2];Ya:{if((r|0)<=0){break Ya}b=N[i+20>>2];g=0;c=0;if(r>>>0>=8){d=r&-8;while(1){N[(b+T(c,56)|0)+16>>2]=c;h=c|1;N[(b+T(h,56)|0)+16>>2]=h;h=c|2;N[(b+T(h,56)|0)+16>>2]=h;h=c|3;N[(b+T(h,56)|0)+16>>2]=h;h=c|4;N[(b+T(h,56)|0)+16>>2]=h;h=c|5;N[(b+T(h,56)|0)+16>>2]=h;h=c|6;N[(b+T(h,56)|0)+16>>2]=h;h=c|7;N[(b+T(h,56)|0)+16>>2]=h;c=c+8|0;if((d|0)!=(c|0)){continue}break}}d=r&7;if(!d){break Ya}while(1){N[(b+T(c,56)|0)+16>>2]=c;c=c+1|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}if(N[i+32>>2]){break b}ug(i)}_a(u);break a}c=N[N[i+84>>2]+8>>2];Za:{if(!c){break Za}b=N[c>>2];if(!b){break Za}while(1){g=c;s=gi(b,61);_a:{if(!s){break _a}L[s|0]=0;c=18704;d=N[g>>2];b=d;while(1){$a:{q=O[O[c|0]+25936|0];h=O[b|0];e=O[h+25936|0];if(!h){break $a}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}h=s+1|0;c=18572;b=d;ab:{if((e|0)==(q|0)){y=i,z=yb(h),N[y+36>>2]=z;break ab}while(1){bb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break bb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=18713;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+40>>2]=z;break ab}while(1){cb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break cb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=18581;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+92>>2]=z;break ab}while(1){db:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break db}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=11980;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+96>>2]=z;break ab}while(1){eb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break eb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=15956;b=d;if((e|0)==(q|0)){y=i,A=pb(h,0),S[y+48>>3]=A;break ab}while(1){fb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break fb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=8259;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+56>>2]=z;break ab}while(1){gb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break gb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}b=14675;c=h;f=d;if((e|0)==(q|0)){while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}hb:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break hb}}b=(Kb(c,0)|0)>0}N[i+60>>2]=b;break ab}while(1){ib:{q=O[O[b|0]+25936|0];c=O[f|0];e=O[c+25936|0];if(!c){break ib}b=b+1|0;f=f+1|0;if((e|0)==(q|0)){continue}}break}b=8116;c=h;if((e|0)==(q|0)){while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}jb:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break jb}}b=(Kb(c,0)|0)>0}N[i+64>>2]=b;break ab}while(1){kb:{q=O[O[b|0]+25936|0];c=O[d|0];e=O[c+25936|0];if(!c){break kb}b=b+1|0;d=d+1|0;if((e|0)==(q|0)){continue}}break}if((e|0)!=(q|0)){break ab}y=i,z=ro(h),N[y+72>>2]=z}q=N[g>>2];r=gi(q,46);if(r){L[r|0]=0;q=r+1|0;e=N[g>>2]}else{e=0}if(N[i>>2]>0){d=0;while(1){m=N[i+16>>2];lb:{if(e){c=N[m+T(d,144)>>2];b=e;while(1){mb:{f=O[O[b|0]+25936|0];j=O[c|0];l=O[j+25936|0];if(!j){break mb}b=b+1|0;c=c+1|0;if((f|0)==(l|0)){continue}}break}if((f|0)!=(l|0)){break lb}}c=15901;b=q;while(1){nb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break nb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11798;b=q;if((f|0)==(l|0)){b=Hb(h);if(!b){break lb}c=m+T(d,144)|0;_a(N[c+4>>2]);N[c+4>>2]=b;break lb}while(1){ob:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break ob}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11812;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){pb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break pb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11839;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){qb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break qb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11828;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){rb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break rb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=13334;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){sb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break sb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15426;b=q;if((f|0)==(l|0)){b=m+T(d,144)|0;c=yb(h);c=(c|0)>=255?255:c;c=(c|0)>0?c:0;L[b+20|0]=c;L[b+16|0]=c;L[b+24|0]=c;L[b+28|0]=c;break lb}while(1){tb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break tb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=16733;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+8>>3]=A;break lb}while(1){ub:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break ub}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=17754;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+32>>2]=z;break lb}while(1){vb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break vb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15749;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+36>>2]=z;break lb}while(1){wb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break wb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=8720;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+40>>2]=z;break lb}while(1){xb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break xb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15170;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+44>>2]=z;break lb}while(1){yb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break yb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=16029;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+64>>3]=A;break lb}while(1){zb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break zb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15944;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+72>>3]=A;break lb}while(1){Ab:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Ab}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=9279;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+80>>2]=z;break lb}while(1){Bb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Bb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=7942;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+104>>2]=z;break lb}while(1){Cb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Cb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=19806;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+136>>2]=z;break lb}while(1){Db:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Db}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=19589;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+108>>2]=z;break lb}while(1){Eb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Eb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=19116;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+112>>2]=z;break lb}while(1){Fb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Fb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15161;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+116>>2]=z;break lb}while(1){Gb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Gb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=18724;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+120>>2]=z;break lb}while(1){Hb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Hb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=18592;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+48>>3]=A;break lb}while(1){Ib:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Ib}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15741;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+56>>3]=A;break lb}while(1){Jb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Jb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=8274;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+88>>3]=A;break lb}while(1){Kb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Kb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11871;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+96>>3]=A;break lb}while(1){Lb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Lb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}if((f|0)!=(l|0)){break lb}y=m+T(d,144)|0,A=pb(h,0),S[y+128>>3]=A}d=d+1|0;if((d|0)>2]){continue}break}}L[s|0]=61;if(!r){break _a}L[r|0]=46}c=g+4|0;b=N[g+4>>2];if(b){continue}break}r=N[i+8>>2]}_a(u);b=N[i>>2];N[o+4>>2]=r;N[o>>2]=b;mb(v,4,22689,o);q=i}La=o+352|0;N[a+660>>2]=q;if(!q){vd(25005,32,1,588952);ha(4);B()}So(a,0);N[a+664>>2]=N[N[a+660>>2]+72>>2]}function zq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!(O[a+16|0]&16)){N[a+72>>2]=0;N[a+64>>2]=0;M[a+62>>1]=1;N[a+84>>2]=N[a+80>>2];f=a- -64|0;j=N[a+68>>2];b:{c:{d:{d=N[a+44>>2];if((d|0)<=1299145832){if((d|0)>1198879348){break d}if((d|0)>1147500128){break c}if((d|0)!=1113943655){if((d|0)!=1114792296|j>>>0<2){break b}e=1;e:{while(1){if(!O[a+60|0]){break b}c=69688;f:{g:{h:{i:{j:{k:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-69637|0){case 0:break i;case 10:break j;case 6:break k;default:break h}}c=69694;break i}c=69698}i=N[T(e,20)+d>>2];l:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];m:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break m}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break l}e=N[a+84>>2];d=N[a+80>>2]}n:{if((d|0)!=(e|0)){break n}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break n}if(!O[a+62|0]){break f}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break n}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break g}Xb(a);break g}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];o:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break o}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break g}c=N[a+84>>2];d=N[a+80>>2]}p:{if((d|0)!=(c|0)){break p}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break p}if(!O[a+62|0]){break e}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break p}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}e=1;q:{while(1){if(!O[a+60|0]){break b}c=2494;r:{s:{t:{u:{v:{w:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-2437|0){case 0:break u;case 7:break v;case 6:break w;default:break t}}c=2499;break u}c=2530}i=N[T(e,20)+d>>2];x:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];y:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break y}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break x}e=N[a+84>>2];d=N[a+80>>2]}z:{if((d|0)!=(e|0)){break z}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break z}if(!O[a+62|0]){break r}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break z}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break s}Xb(a);break s}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];A:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break A}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break s}c=N[a+84>>2];d=N[a+80>>2]}B:{if((d|0)!=(c|0)){break B}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break B}if(!O[a+62|0]){break q}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break B}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break b}break}break a}break a}if((d|0)<=1415670641){C:{D:{switch(d-1399418468|0){default:if((d|0)==1299145833){break C}if((d|0)!=1332902241|j>>>0<2){break b}e=1;while(1){if(!O[a+60|0]){break b}c=2878;E:{F:{G:{H:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-2821|0){case 0:break G;case 10:case 14:break H;default:break F}}c=2903}i=N[T(e,20)+d>>2];I:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];J:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break J}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break I}e=N[a+84>>2];d=N[a+80>>2]}K:{if((d|0)!=(e|0)){break K}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break K}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break K}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break E}Xb(a);break E}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];L:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break L}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break E}c=N[a+84>>2];d=N[a+80>>2]}M:{if((d|0)!=(c|0)){break M}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break M}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break M}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break};break b;case 4:if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}N:{O:{P:{Q:{R:{S:{T:{U:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-3461|0){case 0:break R;case 12:break S;case 8:break T;case 6:case 10:case 15:break U;default:break O}}c=N[T(c,20)+d>>2]==3551;break Q}c=N[T(c,20)+d>>2]==3544;break Q}c=N[T(c,20)+d>>2]-3530|0;if(c>>>0>20|!(1<>2]==(d|0)){d=b;if((b|0)==N[a+72>>2]){break V}}if(!xd(a)){break P}b=N[a+80>>2]+T(N[a+64>>2],20)|0;d=N[b+4>>2];c=N[a+84>>2]+T(N[a+72>>2],20)|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[a+64>>2];d=N[a+72>>2]}N[a+72>>2]=d+1}N[f>>2]=b+1;Xb(a);break N}c=N[T(c,20)+d>>2]-3535>>>0<3}W:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];X:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break X}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break W}e=N[a+84>>2];d=N[a+80>>2]}Y:{if((d|0)!=(e|0)){break Y}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Y}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Y}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break N}}Xb(a);break N}if(O[a+62|0]){Z:{if(N[a+84>>2]==(d|0)){d=b;if((b|0)==N[a+72>>2]){break Z}}if(!xd(a)){break N}b=N[a+80>>2]+T(N[a+64>>2],20)|0;d=N[b+4>>2];c=N[a+84>>2]+T(N[a+72>>2],20)|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[a+64>>2];d=N[a+72>>2]}N[a+72>>2]=d+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break};break b;case 1:case 2:case 3:break b;case 0:break D}}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}_:{$:{d=N[a+80>>2];if(N[d+T(b,20)>>2]!=70320){break $}c=N[T(c,20)+d>>2];if(c-70373>>>0>=4&(c|0)!=70368){break $}aa:{if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];ba:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break ba}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break aa}c=N[a+84>>2];d=N[a+80>>2]}ca:{if((d|0)!=(c|0)){break ca}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ca}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ca}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}Xb(a);break _}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];da:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break da}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break _}c=N[a+84>>2];d=N[a+80>>2]}ea:{if((d|0)!=(c|0)){break ea}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ea}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ea}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}d=N[a+80>>2];fa:{if((N[d+T(b,20)>>2]&-2)==71168){g=N[T(c,20)+d>>2];ga:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];ha:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break ha}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ga}e=N[a+84>>2];d=N[a+80>>2]}ia:{if((d|0)!=(e|0)){break ia}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break ia}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break ia}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if(g-71225>>>0>1){break fa}Xb(a);break fa}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];ja:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break ja}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break fa}c=N[a+84>>2];d=N[a+80>>2]}ka:{if((d|0)!=(c|0)){break ka}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ka}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ka}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if((d|0)<=1415933044){if((d|0)!=1415670642){if((d|0)!=1415671148|j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}d=N[a+80>>2];la:{if(N[d+T(b,20)>>2]==2949){g=N[T(c,20)+d>>2];ma:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];na:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break na}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ma}e=N[a+84>>2];d=N[a+80>>2]}oa:{if((d|0)!=(e|0)){break oa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break oa}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break oa}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if((g|0)!=3010){break la}Xb(a);break la}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];pa:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break pa}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break la}c=N[a+84>>2];d=N[a+80>>2]}qa:{if((d|0)!=(c|0)){break qa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break qa}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break qa}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}ra:{sa:{ta:{ua:{va:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-71296|0){case 6:break ua;case 0:break va;default:break sa}}c=N[T(c,20)+d>>2]-71341|0;if(c>>>0>8|!(1<>2];c=N[a+84>>2];wa:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break wa}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ta}c=N[a+84>>2];d=N[a+80>>2]}xa:{if((d|0)!=(c|0)){break xa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break xa}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break xa}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1;Xb(a);break ra}g=N[T(c,20)+d>>2];ya:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];za:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break za}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ya}e=N[a+84>>2];d=N[a+80>>2]}Aa:{if((d|0)!=(e|0)){break Aa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Aa}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Aa}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if((g|0)!=71346){break ra}}Xb(a);break ra}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Ba:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Ba}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ra}c=N[a+84>>2];d=N[a+80>>2]}Ca:{if((d|0)!=(c|0)){break Ca}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Ca}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Ca}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if((d|0)!=1415933045){if((d|0)!=1416196712|j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{d=N[a+80>>2];e=N[d+T(b,20)>>2];switch(e-70785|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break Ha;case 10:case 12:break Ja;case 0:break Ka;default:break Ia}}c=N[T(c,20)+d>>2]==70832;break Fa}c=N[T(c,20)+d>>2]==70842;break Fa}if((e|0)==70826){break Ga}}La:{if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Ma:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Ma}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Ea}c=N[a+84>>2];d=N[a+80>>2]}Na:{if((d|0)!=(c|0)){break Na}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Na}if(!O[a+62|0]){break La}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Na}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1;break Ea}break a}c=N[T(c,20)+d>>2]-70837>>>0<2}Oa:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];Pa:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break Pa}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Oa}e=N[a+84>>2];d=N[a+80>>2]}Qa:{if((d|0)!=(e|0)){break Qa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Qa}if(!O[a+62|0]){break Da}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Qa}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break Ea}Xb(a)}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}if(j>>>0<2){break b}c=1;Ra:{while(1){if(!O[a+60|0]){break b}Sa:{Ta:{Ua:{d=N[a+80>>2];g=N[d+T(b,20)>>2];e=g-3135|0;Va:{if(!(e>>>0>11|!(1<>2]==3157;break Va}if((g|0)!=3090){break Ua}c=N[T(c,20)+d>>2];c=(c|0)==3148|(c|0)==3157}Wa:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];Xa:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break Xa}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Wa}e=N[a+84>>2];d=N[a+80>>2]}Ya:{if((d|0)!=(e|0)){break Ya}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Ya}if(!O[a+62|0]){break Sa}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Ya}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break Ta}Xb(a);break Ta}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Za:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Za}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Ta}c=N[a+84>>2];d=N[a+80>>2]}_a:{if((d|0)!=(c|0)){break _a}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break _a}if(!O[a+62|0]){break Ra}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break _a}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if((d|0)<=1265525856){if((d|0)!=1198879349){if((d|0)!=1265135466|j>>>0<2){break b}c=1;$a:{while(1){if(!O[a+60|0]){break b}ab:{bb:{cb:{db:{eb:{fb:{gb:{hb:{ib:{d=N[a+80>>2];e=N[d+T(b,20)>>2];switch(e-70144|0){case 1:case 2:case 3:case 4:case 5:break cb;case 6:break gb;case 0:break hb;default:break ib}}if((e|0)==70188){break fb}if((e|0)!=70208){break cb}c=N[T(c,20)+d>>2]==70190;break eb}c=N[T(c,20)+d>>2]-70188|0;if(c>>>0>7|!(1<>2]==(d|0)){d=b;if((b|0)==N[a+72>>2]){break jb}}if(!xd(a)){break db}b=N[a+80>>2]+T(N[a+64>>2],20)|0;d=N[b+4>>2];c=N[a+84>>2]+T(N[a+72>>2],20)|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[a+64>>2];d=N[a+72>>2]}N[a+72>>2]=d+1}N[f>>2]=b+1;Xb(a);break bb}c=N[T(c,20)+d>>2]==70188;break eb}c=(N[T(c,20)+d>>2]&-2)==70192}kb:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];lb:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break lb}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break kb}e=N[a+84>>2];d=N[a+80>>2]}mb:{if((d|0)!=(e|0)){break mb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break mb}if(!O[a+62|0]){break ab}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break mb}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break bb}}Xb(a);break bb}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];nb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break nb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break bb}c=N[a+84>>2];d=N[a+80>>2]}ob:{if((d|0)!=(c|0)){break ob}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ob}if(!O[a+62|0]){break $a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ob}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}pb:{qb:{rb:{sb:{tb:{ub:{vb:{d=N[a+80>>2];e=N[d+T(b,20)>>2];switch(e-2674|0){case 1:break tb;case 0:break ub;default:break vb}}if((e|0)!=2565){break rb}c=N[T(c,20)+d>>2]-2622|0;if(c>>>0>14|!(1<>2]-2623|0;if(c>>>0>8){break rb}if(1<>2]-2625|0;if(c>>>0>10|!(1<>2];c=N[a+84>>2];yb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break yb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break xb}c=N[a+84>>2];d=N[a+80>>2]}zb:{if((d|0)!=(c|0)){break zb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break zb}if(!O[a+62|0]){break wb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break zb}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}Xb(a);break qb}break a}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Ab:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Ab}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break qb}c=N[a+84>>2];d=N[a+80>>2]}Bb:{if((d|0)!=(c|0)){break Bb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Bb}if(!O[a+62|0]){break pb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Bb}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}if((d|0)!=1265525857){if((d|0)!=1298954605|j>>>0<2){break b}c=1;Cb:{while(1){if(!O[a+60|0]){break b}Db:{Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-3335|0){case 11:break Hb;case 7:break Ib;case 0:case 2:break Jb;default:break Fb}}c=N[T(c,20)+d>>2]==3415;break Gb}c=N[T(c,20)+d>>2]==3398;break Gb}c=N[T(c,20)+d>>2];c=(c|0)==3390|(c|0)==3415}Kb:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];Lb:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break Lb}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Kb}e=N[a+84>>2];d=N[a+80>>2]}Mb:{if((d|0)!=(e|0)){break Mb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Mb}if(!O[a+62|0]){break Db}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Mb}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break Eb}Xb(a);break Eb}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Nb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Nb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Eb}c=N[a+84>>2];d=N[a+80>>2]}Ob:{if((d|0)!=(c|0)){break Ob}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Ob}if(!O[a+62|0]){break Cb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Ob}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}e=1;Pb:{while(1){if(!O[a+60|0]){break b}c=3262;Qb:{Rb:{Sb:{Tb:{Ub:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-3209|0){case 0:case 2:break Tb;case 9:break Ub;default:break Sb}}c=3276}i=N[T(e,20)+d>>2];Vb:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];Wb:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break Wb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Vb}e=N[a+84>>2];d=N[a+80>>2]}Xb:{if((d|0)!=(e|0)){break Xb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Xb}if(!O[a+62|0]){break Qb}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Xb}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break Rb}Xb(a);break Rb}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Yb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Yb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Rb}c=N[a+84>>2];d=N[a+80>>2]}Zb:{if((d|0)!=(c|0)){break Zb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Zb}if(!O[a+62|0]){break Pb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Zb}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break b}break}break a}break a}if((d|0)!=1147500129){if((d|0)!=1198877298|j>>>0<2){break b}c=1;_b:{while(1){if(!O[a+60|0]){break b}$b:{ac:{bc:{d=N[a+80>>2];e=N[d+T(b,20)>>2];cc:{if((e|0)!=2757){if((e|0)!=2693){break bc}c=N[T(c,20)+d>>2]-2750|0;if(c>>>0>14|!(1<>2];c=N[a+84>>2];dc:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break dc}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break cc}c=N[a+84>>2];d=N[a+80>>2]}ec:{if((d|0)!=(c|0)){break ec}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ec}if(!O[a+62|0]){break $b}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ec}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1;Xb(a);break ac}g=N[T(c,20)+d>>2];fc:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];gc:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break gc}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break fc}e=N[a+84>>2];d=N[a+80>>2]}hc:{if((d|0)!=(e|0)){break hc}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break hc}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break hc}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if((g|0)!=2750){break ac}}Xb(a);break ac}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];ic:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break ic}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ac}c=N[a+84>>2];d=N[a+80>>2]}jc:{if((d|0)!=(c|0)){break jc}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break jc}if(!O[a+62|0]){break _b}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break jc}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}kc:{lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{xc:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-2309|0){case 4:break sc;case 43:break uc;case 10:break vc;case 1:break wc;case 0:break xc;default:break lc}}c=N[T(c,20)+d>>2]-2362|0;if(c>>>0>29|!(1<>2];if(c-2373>>>0<4|(c|0)==2362){break tc}break lc}c=N[T(c,20)+d>>2]-2373>>>0<3;break rc}if(N[T(c,20)+d>>2]!=2381){break lc}c=b+2|0;if(c>>>0>=j>>>0|N[T(c,20)+d>>2]!=2311){break lc}Og(a)}if(!O[a+62|0]){break nc}d=N[a+84>>2];c=N[a+80>>2];b=N[a+72>>2];if((d|0)==(c|0)&(b|0)==N[f>>2]){break oc}b=b+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break mc}c=N[a+80>>2];d=N[a+84>>2]}if((d|0)!=(c|0)){break pc}b=N[a+72>>2];if(b+1>>>0>N[f>>2]+1>>>0){break qc}d=c;break pc}c=N[T(c,20)+d>>2]==2369}yc:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];zc:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break zc}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break yc}e=N[a+84>>2];d=N[a+80>>2]}Ac:{if((d|0)!=(e|0)){break Ac}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Ac}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Ac}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(c){break mc}break kc}if(!O[a+62|0]){break a}d=N[a+88>>2];N[a+84>>2]=d;b=T(b,20);if(!b){break pc}F(d,c,b);d=N[a+84>>2];c=N[a+80>>2]}e=T(N[a+72>>2],20)+d|0;b=T(N[f>>2],20)+c|0;d=N[b+4>>2];N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[a+72>>2]}N[a+72>>2]=b+1}N[f>>2]=N[f>>2]+1}Xb(a);break kc}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Bc:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Bc}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break kc}c=N[a+84>>2];d=N[a+80>>2]}Cc:{if((d|0)!=(c|0)){break Cc}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Cc}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Cc}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}}Ac(a)}return}ba(8694,17855,209,11932);B()}function ME(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;d=La-240|0;La=d;a:{b:{c:{b=O[c+140|0];if(!(b&8)){L[c+140|0]=b|8;N[d+236>>2]=c;e=N[c+80>>2];N[d+232>>2]=e;h=e;d:{e:{k=N[c+68>>2];if(k){h=e+T(k,20)|0;b=e;f=k;while(1){if(O[b+18|0]!=6){break e}b=b+20|0;n=n+1|0;f=f-1|0;if(f){continue}break}}j=d+236|0;p=d+232|0;f=0;n=k;i=k;break d}j=d+236|0;p=d+232|0;i=n;while(1){h=i;if(O[b+18|0]!=14){h=b;break d}while(1){h=h+1|0;if(k>>>0<=h>>>0){h=b;break d}o=e+T(h,20)|0;if(O[o+18|0]==6){continue}break}g=f;if(!(1<>1]&7168)){h=b;break d}while(1){i=i+1|0;h=(g|0)!=0;n=h+n|0;f=g-h|0;b=T(h,20)+b|0;if((g|0)!=(h|0)){g=f;if(O[b+18|0]==6){continue}}break}if(f){continue}break}h=b;f=0}L[d+224|0]=0;N[d+220>>2]=242957;N[d+212>>2]=j;N[d+216>>2]=p;N[d+208>>2]=242956;N[d+200>>2]=n;N[d+196>>2]=f;N[d+192>>2]=h;N[d+176>>2]=0;N[d+180>>2]=1;N[d+184>>2]=i;N[d+188>>2]=1;if(!f){break c}j=i;g=h;p=f;while(1){b=p;f:{while(1){j=j+1|0;n=(b|0)!=0;p=b-n|0;g=T(n,20)+g|0;if((b|0)!=(n|0)){b=p;if(O[g+18|0]==6){continue}}if(!p){break f}b=j;g:{if(O[g+18|0]!=14){break g}while(1){b=b+1|0;if(k>>>0<=b>>>0){break g}n=e+T(b,20)|0;if(O[n+18|0]==6){continue}break}b=p;if(1<>1]&7168){continue}}break}m=m+1|0;continue}break}j=-1;n=0;h:{i:{switch(m+2|0){default:j=m+1|0;case 0:g=f;p=j;while(1){p=p-1|0;b=g;while(1){i=i+1|0;n=(b|0)!=0;g=b-n|0;h=T(n,20)+h|0;if((b|0)!=(n|0)){b=g;if(O[h+18|0]==6){continue}}if(!g){break h}b=i;j:{if(O[h+18|0]!=14){break j}while(1){b=b+1|0;if(k>>>0<=b>>>0){break j}n=e+T(b,20)|0;if(O[n+18|0]==6){continue}break}b=g;if(1<>1]&7168){continue}}break}if(p){continue}break};n=j;break;case 1:break i}}j=N[d+220>>2];b=N[d+216>>2];N[d+160>>2]=b;N[d+164>>2]=j;k=N[d+212>>2];e=N[d+208>>2];N[d+152>>2]=e;N[d+156>>2]=k;m=N[d+204>>2];g=N[d+200>>2];N[d+144>>2]=g;N[d+148>>2]=m;o=N[d+196>>2];i=N[d+192>>2];N[d+136>>2]=i;N[d+140>>2]=o;l=N[d+188>>2];h=N[d+184>>2];N[d+128>>2]=h;N[d+132>>2]=l;q=N[d+180>>2];p=N[d+176>>2];N[d+120>>2]=p;N[d+124>>2]=q;N[d+104>>2]=b;N[d+108>>2]=j;N[d+96>>2]=e;N[d+100>>2]=k;N[d+88>>2]=g;N[d+92>>2]=m;N[d+80>>2]=i;N[d+84>>2]=o;N[d+72>>2]=h;N[d+76>>2]=l;N[d+64>>2]=p;N[d+68>>2]=q;L[d+112|0]=1;L[d+168|0]=1;break a}b=N[d+220>>2];N[d+160>>2]=N[d+216>>2];N[d+164>>2]=b;b=N[d+212>>2];N[d+152>>2]=N[d+208>>2];N[d+156>>2]=b;b=N[d+204>>2];N[d+144>>2]=N[d+200>>2];N[d+148>>2]=b;b=N[d+196>>2];N[d+136>>2]=N[d+192>>2];N[d+140>>2]=b;b=N[d+188>>2];N[d+128>>2]=N[d+184>>2];N[d+132>>2]=b;b=N[d+180>>2];N[d+120>>2]=N[d+176>>2];N[d+124>>2]=b;break b}ba(22778,14165,169,12138);B()}b=N[d+220>>2];N[d+160>>2]=N[d+216>>2];N[d+164>>2]=b;b=N[d+212>>2];N[d+152>>2]=N[d+208>>2];N[d+156>>2]=b;b=N[d+204>>2];N[d+144>>2]=N[d+200>>2];N[d+148>>2]=b;b=N[d+196>>2];N[d+136>>2]=N[d+192>>2];N[d+140>>2]=b;b=N[d+188>>2];N[d+128>>2]=N[d+184>>2];N[d+132>>2]=b;b=N[d+180>>2];N[d+120>>2]=N[d+176>>2];N[d+124>>2]=b;j=0}n=j;N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;b=N[d+220>>2];N[d+104>>2]=N[d+216>>2];N[d+108>>2]=b;b=N[d+212>>2];N[d+96>>2]=N[d+208>>2];N[d+100>>2]=b;b=N[d+204>>2];N[d+88>>2]=N[d+200>>2];N[d+92>>2]=b;b=N[d+196>>2];N[d+80>>2]=N[d+192>>2];N[d+84>>2]=b;b=N[d+188>>2];N[d+72>>2]=N[d+184>>2];N[d+76>>2]=b;b=N[d+180>>2];N[d+64>>2]=N[d+176>>2];N[d+68>>2]=b;s=1;L[d+168|0]=1;L[d+112|0]=1;N[147460]=0}p=0;j=1;b=!n;while(1){k:{l:{m:{if(!b){if(O[p+248640|0]==2){bc(d+120|0,d+176|0);f=N[d+196>>2]}g=p<<1;i=M[g+247712>>1]+243216|0;e=L[p+247968|0];b=O[g+242960|0];n:{o:{if(!f){h=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;if(!b){break o}break n}h=O[N[d+192>>2]+18|0];if(b>>>0>h>>>0|O[g+242961|0]>>0){break n}}e=h-b|0}b=O[e+i|0];break m}if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if(s){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if(!p){break l}b=M[(p<<1)+248384>>1]-1|0}p=L[b+248096|0];b=L[b+248240|0];if(!b){break k}p:{switch(b-3|0){case 9:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}q:{if(!g){g=0;break q}if(O[h+18|0]!=14){break q}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break q}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 7:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}r:{if(!g){g=0;break r}if(O[h+18|0]!=14){break r}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break r}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|1;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 5:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}s:{if(!g){g=0;break s}if(O[h+18|0]!=14){break s}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break s}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|2;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 13:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}t:{if(!g){g=0;break t}if(O[h+18|0]!=14){break t}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break t}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|3;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 11:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}u:{if(!g){g=0;break u}if(O[h+18|0]!=14){break u}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break u}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 3:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}v:{if(!g){g=0;break v}if(O[h+18|0]!=14){break v}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break v}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|5;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 17:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}w:{if(!g){g=0;break w}if(O[h+18|0]!=14){break w}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break w}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|6;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 1:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}x:{if(!g){g=0;break x}if(O[h+18|0]!=14){break x}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break x}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|7;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=N[d+236>>2];N[b+144>>2]=N[b+144>>2]|64;b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 0:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}y:{if(!g){g=0;break y}if(O[h+18|0]!=14){break y}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break y}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|8;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 8:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;z:{if(!h){break z}A:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break A;default:break z}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break z}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 6:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;B:{if(!h){break B}C:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break C;default:break B}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break B}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|1;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 4:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;D:{if(!h){break D}E:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break E;default:break D}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break D}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|2;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 12:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;F:{if(!h){break F}G:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break G;default:break F}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break F}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|3;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 10:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;H:{if(!h){break H}I:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break I;default:break H}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break H}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 2:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;J:{if(!h){break J}K:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break K;default:break J}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break J}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|5;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 16:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;L:{if(!h){break L}M:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break M;default:break L}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break L}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|6;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 14:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;N:{if(!h){break N}O:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break O;default:break N}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break N}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|7;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=N[d+236>>2];N[b+144>>2]=N[b+144>>2]|64;b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 15:break p;default:break k}}bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;P:{if(!h){break P}Q:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break Q;default:break P}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break P}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break}b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|8;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}}}R:{S:{p=N[c+68>>2];if(p){l=p-1|0;n=N[c+80>>2];k=n+3|0;b=0;e=O[n+15|0];while(1){T:{if((b|0)==(l|0)){b=p;break T}b=b+1|0;if((e|0)==O[(T(b,20)+k|0)+12|0]){continue}}break}h=0;while(1){j=b;e=N[c+68>>2];m=b>>>0>e>>>0?e:b;o=m-h|0;U:{if(o>>>0<2){break U}g=N[c+144>>2]|32;N[c+144>>2]=g;if(h>>>0>=m>>>0){break U}b=-1;e=h;q=m+(e^-1)|0;if(q>>>0>=3){s=o&-4;i=0;while(1){f=T(e,20)+n|0;r=N[f+8>>2];b=b>>>0>>0?b:r;r=N[f+28>>2];b=b>>>0>>0?b:r;r=N[f+48>>2];b=b>>>0>>0?b:r;f=N[f+68>>2];b=b>>>0>>0?b:f;e=e+4|0;i=i+4|0;if((s|0)!=(i|0)){continue}break}}f=0;i=o&3;if(i){while(1){s=N[(T(e,20)+n|0)+8>>2];b=b>>>0>>0?b:s;e=e+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(o&1){e=T(h,20)+n|0;if(N[e+8>>2]!=(b|0)){N[e+4>>2]=N[e+4>>2]|3}h=h+1|0}if(!q){break U}while(1){e=T(h,20)+n|0;if(N[e+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[e+4>>2]=N[e+4>>2]|3}e=T(h+1|0,20)+n|0;if(N[e+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[e+4>>2]=N[e+4>>2]|3}h=h+2|0;if((m|0)!=(h|0)){continue}break}}b=j+1|0;e=b>>>0

>>0?p:b;g=e-1|0;f=O[(T(j,20)+k|0)+12|0];b=j;while(1){V:{if((b|0)==(g|0)){b=e;break V}b=b+1|0;if((f|0)==O[(T(b,20)+k|0)+12|0]){continue}}break}h=j;if(p>>>0>h>>>0){continue}break}break S}j=N[a+112>>2];break R}j=N[a+112>>2];f=N[j>>2];if(!f){break R}e=0;b=O[n+15|0];while(1){W:{if((e|0)==(l|0)){e=p;break W}e=e+1|0;if((b|0)==O[(T(e,20)+k|0)+12|0]){continue}}break}h=n+2|0;b=0;while(1){g=e;e=e-b|0;i=O[(h+T(b,20)|0)+16|0]==18?1:e>>>0>=3?3:e;m=i+b|0;X:{if(m>>>0<=b>>>0){break X}e=0;if(i){while(1){o=T(b,20)+n|0;N[o+4>>2]=f|N[o+4>>2];b=b+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(i-1>>>0<=2){break X}while(1){e=T(b,20)+n|0;N[e+4>>2]=f|N[e+4>>2];N[e+24>>2]=f|N[e+24>>2];N[e+44>>2]=f|N[e+44>>2];e=e- -64|0;N[e>>2]=f|N[e>>2];b=b+4|0;if((m|0)!=(b|0)){continue}break}}b=g+1|0;b=b>>>0

>>0?p:b;i=b-1|0;m=O[(T(g,20)+k|0)+12|0];e=g;while(1){Y:{if((e|0)==(i|0)){e=b;break Y}e=e+1|0;if((m|0)==O[(T(e,20)+k|0)+12|0]){continue}}break}b=g;if(p>>>0>b>>>0){continue}break}}Z:{if(N[j+4>>2]){break Z}b=N[a+44>>2];if((b|0)<=0){break Z}g=N[a+36>>2];a=N[a+48>>2];n=0;e=b-1|0;b=e;_:{while(1){f=b+n>>>1|0;i=N[a+T(f,36)>>2];$:{if(i>>>0<=1769172844){j=N[(a+T(f,36)|0)+28>>2];if((i|0)==1769172844){break _}n=f+1|0;break $}b=f-1|0}if((b|0)>=(n|0)){continue}break}j=0}b=j;n=0;i=(b|0)!=(g|0)?b:0;N[d+176>>2]=i;b=e;aa:{while(1){f=b+n>>>1|0;h=N[a+T(f,36)>>2];ba:{if(h>>>0<=1768843636){j=N[(a+T(f,36)|0)+28>>2];if((h|0)==1768843636){break aa}n=f+1|0;break ba}b=f-1|0}if((b|0)>=(n|0)){continue}break}j=0}b=j;n=0;b=(b|0)!=(g|0)?b:0;N[d+180>>2]=b;i=b|i;b=e;ca:{while(1){f=b+n>>>1|0;h=N[a+T(f,36)>>2];da:{if(h>>>0<=1835361385){j=N[(a+T(f,36)|0)+28>>2];if((h|0)==1835361385){break ca}n=f+1|0;break da}b=f-1|0}if((b|0)>=(n|0)){continue}break}j=0}f=j;b=0;f=(f|0)!=(g|0)?f:0;N[d+184>>2]=f;i=f|i;j=d;ea:{while(1){f=b+e>>>1|0;h=N[a+T(f,36)>>2];fa:{if(h>>>0<=1718185569){b=N[(a+T(f,36)|0)+28>>2];if((h|0)==1718185569){break ea}b=f+1|0;break fa}e=f-1|0}if((b|0)<=(e|0)){continue}break}b=0}a=b;a=(a|0)!=(g|0)?a:0;N[j+188>>2]=a;a=a|i;if(!a|!p){break Z}f=a^-1;a=p-1|0;h=N[c+80>>2];k=h+3|0;i=0;j=O[h+15|0];b=j;e=0;while(1){ga:{g=4;if((a|0)==(e|0)){e=p;break ga}e=e+1|0;if((b|0)==O[(k+T(e,20)|0)+12|0]){continue}}break}b=0;while(1){a=i;i=e;c=j&15;ha:{if(c>>>0>8){break ha}if(!(1<>>0<=b>>>0){break ia}c=a+(b^-1)|0;e=N[(d+176|((g|0)==3?8:4))>>2];g=a-b&3;if(g){n=0;while(1){j=h+T(b,20)|0;N[j+4>>2]=e|f&N[j+4>>2];b=b+1|0;n=n+1|0;if((g|0)!=(n|0)){continue}break}}if(c>>>0<3){break ia}while(1){c=h+T(b,20)|0;N[c+4>>2]=e|f&N[c+4>>2];N[c+24>>2]=e|f&N[c+24>>2];N[c+44>>2]=e|f&N[c+44>>2];c=c- -64|0;N[c>>2]=e|f&N[c>>2];b=b+4|0;if((a|0)!=(b|0)){continue}break}}ka:{if(a>>>0>=i>>>0){break ka}c=N[(d+176|m<<2)>>2];e=a;b=i-e&3;if(b){n=0;while(1){g=h+T(e,20)|0;N[g+4>>2]=c|f&N[g+4>>2];e=e+1|0;n=n+1|0;if((b|0)!=(n|0)){continue}break}}if((a^-1)+i>>>0<3){break ka}while(1){b=h+T(e,20)|0;N[b+4>>2]=c|f&N[b+4>>2];N[b+24>>2]=c|f&N[b+24>>2];N[b+44>>2]=c|f&N[b+44>>2];b=b- -64|0;N[b>>2]=c|f&N[b>>2];e=e+4|0;if((i|0)!=(e|0)){continue}break}}g=m}b=i+1|0;b=b>>>0

>>0?p:b;c=b-1|0;j=O[(k+T(i,20)|0)+12|0];e=i;while(1){la:{if((c|0)==(e|0)){e=b;break la}e=e+1|0;if((j|0)==O[(k+T(e,20)|0)+12|0]){continue}}break}b=a;if(i>>>0

>>0){continue}break}}La=d+240|0;return 0}if(O[p+248768|0]==1){L[d+168|0]=1}k=N[d+176>>2]+N[d+180>>2]|0;N[d+176>>2]=k;h=N[d+192>>2];i=N[d+200>>2];e=N[d+196>>2];g=N[d+184>>2];m=N[d+188>>2];o=N[d+216>>2];l=N[d+212>>2];ma:{na:{oa:{pa:{while(1){g=g+m|0;N[d+184>>2]=g;b=(e|0)!=0;i=b+i|0;N[d+200>>2]=i;f=e-b|0;N[d+196>>2]=f;h=T(b,20)+h|0;N[d+192>>2]=h;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}if(!f){break pa}if(O[h+18|0]!=14){break oa}e=N[N[l>>2]+68>>2];b=g;qa:{while(1){b=b+1|0;if(e>>>0<=b>>>0){break qa}q=N[o>>2]+T(b,20)|0;if(O[q+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}if(O[d+224|0]){break ma}break na}f=0;if(O[d+224|0]){break ma}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;break na}if(O[d+224|0]){break ma}}if(s){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((k|0)!=(n|0)){break ma}b=1;continue}b=0;continue}}function jj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=U(0),r=0,s=0,t=0,u=U(0),v=0,w=0,x=U(0),y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;g=La-4528|0;La=g;a:{if(!N[a+44>>2]|Q[a+216>>2]<=c>>>0){break a}A=N[a+80>>2];b:{if((A|0)==275552){break b}c:{d:{switch(O[A|0]){case 0:l=(c+A|0)+1|0;break c;case 3:break d;default:break b}}e:{if(!(O[A+1|0]|O[A+2|0]<<8)){B=275552;v=0;break e}B=A+3|0;v=O[A+1|0]|O[A+2|0]<<8}D=(v<<8|(v&65280)>>>8)&65535;f:{if(D>>>0>=2){i=D-2|0;while(1){n=i+l>>>1|0;y=T(n,3)+B|0;z=O[y|0]|O[y+1|0]<<8;g:{if(((z<<8|z>>>8)&65535)>>>0<=c>>>0){l=O[y+3|0]|O[y+4|0]<<8;if(((l<<8|l>>>8)&65535)>>>0>c>>>0){break f}l=n+1|0;break g}i=n-1|0}if((i|0)>=(l|0)){continue}break}}if(!v){y=275552;break f}y=A+T(D,3)|0}l=y+2|0}i=O[l|0]}gd(g+4448|0,N[a+72>>2],c);z=N[(Q[a+208>>2]<=i>>>0?275552:N[a+212>>2]+T(i,24)|0)+20>>2];v=N[a+68>>2];L[g+32|0]=0;C(g+36|0,0,4108);c=g+4208|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4216>>2]=0;c=g+4228|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4236>>2]=0;c=g+4248|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4256>>2]=0;c=g+4268|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4276>>2]=0;c=g+4288|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4296>>2]=0;c=g+4308|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4316>>2]=0;N[g+4336>>2]=0;c=g+4328|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4356>>2]=0;c=g+4348|0;N[c>>2]=0;N[c+4>>2]=0;L[g+4180|0]=0;N[g+24>>2]=0;l=N[g+4452>>2];i=l;c=N[g+4448>>2];N[g+16>>2]=c;N[g+20>>2]=i;N[g+4376>>2]=0;l=g+4368|0;N[l>>2]=0;N[l+4>>2]=0;l=g+4192|0;N[l>>2]=0;N[l+4>>2]=0;l=g+4184|0;N[l>>2]=0;N[l+4>>2]=0;N[g+4160>>2]=0;l=g+4152|0;N[l>>2]=0;N[l+4>>2]=0;l=g+4416|0;N[l>>2]=0;N[l+4>>2]=0;N[g+4392>>2]=v;N[g+4144>>2]=c;N[g+4148>>2]=i;N[g+4176>>2]=0;N[g+4168>>2]=0;N[g+4172>>2]=0;L[g+4165|0]=1;L[g+4166|0]=0;N[g+4408>>2]=0;N[g+4412>>2]=0;B=107;l=107;h:{if(!v){break h}c=O[v|0]|O[v+1|0]<<8;c=(c<<8|c>>>8)&65535;l=107;if(c>>>0<1240){break h}l=c>>>0<33900?1131:32768}c=i;N[g+4400>>2]=z;N[g+4388>>2]=l;i:{if(!z){break i}l=O[z|0]|O[z+1|0]<<8;l=(l<<8|l>>>8)&65535;if(l>>>0<1240){break i}B=l>>>0<33900?1131:32768}z=g+4180|0;v=g+4144|0;n=g+32|0;N[g+4432>>2]=0;N[g+4436>>2]=0;N[g+4396>>2]=B;L[g+4440|0]=e;N[g+4428>>2]=0;M[g+4424>>1]=0;L[g+4164|0]=0;N[g+12>>2]=a;N[g+4>>2]=d;N[g+8>>2]=f;N[g>>2]=b;y=1e4;a=0;while(1){j:{y=y-1|0;if(!y){N[g+24>>2]=c+1;break j}i=65535;k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{d=a+1|0;if(d>>>0>c>>>0){break t}e=N[g+16>>2];b=O[e+a|0];N[g+24>>2]=d;u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{if((b|0)!=12){a=d;break U}a=a+2|0;if(c>>>0>>0){break t}b=O[d+e|0];N[g+24>>2]=a;b=b|256}i=b;switch(i-1|0){case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break t;case 30:break y;case 29:break z;case 26:break A;case 25:break B;case 24:break C;case 23:break D;case 7:break E;case 6:break F;case 5:break G;case 4:break H;case 3:break I;case 21:break J;case 20:break K;case 18:case 19:break L;case 2:case 22:break M;case 0:case 17:break N;case 28:break O;case 9:break P;case 10:break R;case 13:break S;default:break T}}switch(i-255|0){case 1:break n;case 38:break u;case 37:break v;case 36:break w;case 35:break x;case 0:break Q;default:break t}}b=N[g+36>>2];if(!O[g+4424|0]){if(b&1){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}V:{if(b>>>0<4){break V}f=N[g+4>>2];a=f+16|0;if(N[f+16>>2]){b=N[f+12>>2];c=N[f+8>>2];u=R[f+20>>2];q=R[f+24>>2];if(!(u==R[f+28>>2]&q==R[f+32>>2])){e=N[c+16>>2];d=N[c+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](c,b,a,u,q,d)}e=N[c+28>>2];d=N[c+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](c,b,a,d)}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;d=N[g+36>>2];a=g+4520|0;N[a>>2]=0;N[a+4>>2]=0;N[g+4512>>2]=0;N[g+4516>>2]=0;W:{X:{Y:{Z:{_:{$:{aa:{if(d>>>0>=4){b=(n+(d<<3)|0)-24|0;a=N[b+4>>2];N[g+4512>>2]=N[b>>2];N[g+4516>>2]=a;break aa}N[147456]=0;N[147457]=0;L[g+32|0]=1;if((d|0)!=3){break $}}b=(n+(d<<3)|0)-16|0;a=N[b+4>>2];N[g+4520>>2]=N[b>>2];N[g+4524>>2]=a;l=N[g+12>>2];break _}N[g+4520>>2]=0;N[g+4524>>2]=0;c=0;l=N[g+12>>2];if(d>>>0<2){break Z}}B=0;h=S[(n+(d<<3)|0)-8>>3];ba:{if(V(h)<2147483648){c=~~h;break ba}c=-2147483648}if(c>>>0>255){break Y}}b=O[c+267360|0];a=N[l+52>>2];ca:{if((a|0)!=275552){a=vf(a,b,N[l+216>>2]);break ca}a=c>>>0<229?N[l+172>>2]?0:b:0}B=a;if(d){break Y}i=0;N[147456]=0;N[147457]=0;L[g+32|0]=1;break X}h=S[n+(d<<3)>>3];da:{if(V(h)<2147483648){i=~~h;break da}i=-2147483648}if(i>>>0>255){break W}}b=O[i+267360|0];a=N[l+52>>2];ea:{if((a|0)!=275552){a=vf(a,b,N[l+216>>2]);break ea}a=i>>>0<229?N[l+172>>2]?0:b:0}if(!a|!B|O[g+4440|0]){break W}b=N[g>>2];if(!jj(l,b,B,f,1,0)){break W}if(jj(l,b,a,f,1,g+4512|0)){break V}}N[g+24>>2]=N[g+20>>2]+1}L[g+4164|0]=1;break n}a=N[g+4184>>2];fa:{if(a){a=a-1|0;N[g+4184>>2]=a;a=(z+T(a,20)|0)+8|0;break fa}N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;L[g+4180|0]=1;N[147460]=0;a=589824}c=N[a+4>>2];b=v;N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=a+8|0;b=N[c+4>>2];N[v+8>>2]=N[c>>2];N[v+12>>2]=b;c=N[a>>2];b=N[a+4>>2];N[g+24>>2]=N[a+8>>2];N[g+16>>2]=c;N[g+20>>2]=b;break k}if(a+4>>>0>c>>>0){break k}ga:{if(a>>>0>=c>>>0){a=c+1|0;b=275552;break ga}b=a+e|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);c=N[g+36>>2];ha:{if(c>>>0<=512){N[g+36>>2]=c+1;c=(n+(c<<3)|0)+8|0;break ha}N[147456]=0;N[147457]=0;L[g+32|0]=1;c=589824}S[c>>3]=+(b|0)*152587890625e-16;N[g+24>>2]=a+4;break k}ia:{a=N[g+36>>2];ja:{if(a){a=a-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];if(V(h)<2147483648){a=~~h;break ja}a=-2147483648;break ja}N[147456]=0;N[147457]=0;L[g+32|0]=1;a=0}d=a+N[g+4396>>2]|0;ka:{if((d|0)<0){break ka}a=N[g+4400>>2];if(!a){break ka}a=O[a|0]|O[a+1|0]<<8;if(d>>>0>=((a<<8|a>>>8)&65535)>>>0){break ka}b=N[g+4184>>2];if(b>>>0<10){break ia}}N[g+24>>2]=c+1;break k}a=N[g+20>>2];N[v>>2]=N[g+16>>2];N[v+4>>2]=a;N[v+8>>2]=N[g+24>>2];N[g+4184>>2]=b+1;b=z+T(b,20)|0;N[b+24>>2]=N[v+16>>2];a=N[v+12>>2];N[b+16>>2]=N[v+8>>2];N[b+20>>2]=a;a=N[v+4>>2];N[b+8>>2]=N[v>>2];N[b+12>>2]=a;a=0;e=0;c=N[g+4400>>2];la:{if(!c){break la}b=O[c|0]|O[c+1|0]<<8;if(d>>>0>=((b<<8|b>>>8)&65535)>>>0){break la}gd(g+4512|0,c,d);a=N[g+4512>>2];e=N[g+4516>>2]}N[g+4160>>2]=d;N[g+4152>>2]=0;N[g+4156>>2]=2;N[g+4144>>2]=a;N[g+4148>>2]=e;N[g+24>>2]=N[v+8>>2];a=N[v+4>>2];N[g+16>>2]=N[v>>2];N[g+20>>2]=a;break k}ma:{a=N[g+36>>2];na:{if(a){a=a-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];if(V(h)<2147483648){a=~~h;break na}a=-2147483648;break na}N[147456]=0;N[147457]=0;L[g+32|0]=1;a=0}d=a+N[g+4388>>2]|0;oa:{if((d|0)<0){break oa}a=N[g+4392>>2];if(!a){break oa}a=O[a|0]|O[a+1|0]<<8;if(d>>>0>=((a<<8|a>>>8)&65535)>>>0){break oa}b=N[g+4184>>2];if(b>>>0<10){break ma}}N[g+24>>2]=c+1;break k}a=N[g+20>>2];N[v>>2]=N[g+16>>2];N[v+4>>2]=a;N[v+8>>2]=N[g+24>>2];N[g+4184>>2]=b+1;b=z+T(b,20)|0;N[b+24>>2]=N[v+16>>2];a=N[v+12>>2];N[b+16>>2]=N[v+8>>2];N[b+20>>2]=a;a=N[v+4>>2];N[b+8>>2]=N[v>>2];N[b+12>>2]=a;a=0;e=0;c=N[g+4392>>2];pa:{if(!c){break pa}b=O[c|0]|O[c+1|0]<<8;if(d>>>0>=((b<<8|b>>>8)&65535)>>>0){break pa}gd(g+4512|0,c,d);a=N[g+4512>>2];e=N[g+4516>>2]}N[g+4160>>2]=d;N[g+4152>>2]=0;N[g+4156>>2]=1;N[g+4144>>2]=a;N[g+4148>>2]=e;N[g+24>>2]=N[v+8>>2];a=N[v+4>>2];N[g+16>>2]=N[v>>2];N[g+20>>2]=a;break k}if(O[g+4424|0]|i>>>0>18){break l}if(1<>2];a=i>>>0>1;break m}qa:{if(O[g+4424|0]|i>>>0>23){break qa}ra:{sa:{a=1<>2];a=i>>>0>2;break ra}i=N[g+36>>2];a=i&1;break ra}i=N[g+36>>2];a=i>>>0>1}if(!(!a|!i)){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;L[g+4425|0]=1}L[g+4424|0]=1}N[g+4428>>2]=0;a=N[g+36>>2];N[g+36>>2]=0;N[g+4172>>2]=N[g+4172>>2]+(a>>>1|0);break k}if(!O[g+4424|0]){if(L[g+36|0]&1){b=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=b;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}ta:{if(O[g+4166|0]){i=N[g+4176>>2];break ta}L[g+4166|0]=1;b=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=b;i=(b+N[g+4168>>2]|0)+7>>>3|0;N[g+4176>>2]=i}a=a+i|0;if(a>>>0>c>>>0){break k}N[g+36>>2]=0;N[g+4428>>2]=0;N[g+24>>2]=a;break k}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=3){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}if(!b){l=589824;break p}a=b-1|0;N[g+36>>2]=a;l=(n+(a<<3)|0)+8|0;if(!a){break p}a=b-2|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break o}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=2){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}ua:{if(b){a=b-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break ua}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=h+S[g+4408>>3];h=S[g+4416>>3];ij(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1;break n}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=2){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}va:{if(b){a=b-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break va}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=S[g+4408>>3];h=h+S[g+4416>>3];ij(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1;break n}i=N[g+36>>2];if(i>>>0<2){break n}a=0;l=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){wa:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break wa}b=(n+(a<<3)|0)+8|0}a=a|1;xa:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break xa}h=S[(n+(a<<3)|0)+8>>3]}m=m+S[b>>3];j=h+j;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;i=N[g+36>>2];a=l;l=a+2|0;if(i>>>0>=l>>>0){continue}break}break n}i=0;l=N[g+36>>2];if(l>>>0>=2){a=0;c=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){i=c;ya:{if(a>>>0>=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break ya}h=S[(n+(a<<3)|0)+8>>3]}m=m+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=a|1;za:{if(a>>>0>=Q[g+36>>2]){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break za}h=S[(n+(a<<3)|0)+8>>3]}j=j+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=i;c=a+2|0;l=N[g+36>>2];if(c>>>0<=l>>>0){continue}break}}if(i>>>0>=l>>>0){break n}k=S[g+4408>>3]+S[(n+(i<<3)|0)+8>>3];h=S[g+4416>>3];qd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}i=0;l=N[g+36>>2];if(l>>>0>=2){a=0;c=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){i=c;Aa:{if(a>>>0>=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Aa}h=S[(n+(a<<3)|0)+8>>3]}j=j+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=a|1;Ba:{if(a>>>0>=Q[g+36>>2]){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ba}h=S[(n+(a<<3)|0)+8>>3]}m=m+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=i;c=a+2|0;l=N[g+36>>2];if(c>>>0<=l>>>0){continue}break}}if(i>>>0>=l>>>0){break n}k=S[g+4408>>3];h=S[g+4416>>3]+S[(n+(i<<3)|0)+8>>3];qd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}i=N[g+36>>2];if(i>>>0<6){break n}a=0;l=6;s=S[g+4416>>3];h=S[g+4408>>3];while(1){Ca:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ca}b=(n+(a<<3)|0)+8|0}c=a|1;Da:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Da}j=S[(n+(c<<3)|0)+8>>3]}m=S[b>>3];b=a+2|0;Ea:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ea}b=(n+(b<<3)|0)+8|0}c=a+3|0;Fa:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Fa}k=S[(n+(c<<3)|0)+8>>3]}j=s+j;m=h+m;h=S[b>>3];b=a+4|0;Ga:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ga}b=(n+(b<<3)|0)+8|0}p=m+h;o=j+k;a=a+5|0;Ha:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ha}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;h=p+S[b>>3];a=N[g+8>>2];Ia:{if(!a){k=s;r=h;break Ia}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;p=p+t;j=j+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(j)),U(u*U(p)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;i=N[g+36>>2];a=l;l=a+6|0;if(i>>>0>=l>>>0){continue}break}break n}a=N[g+36>>2];if(a>>>0<8){break n}d=a-2|0;a=0;i=6;s=S[g+4416>>3];h=S[g+4408>>3];while(1){e=N[g+36>>2];Ja:{if(e>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ja}b=(n+(a<<3)|0)+8|0}c=a|1;Ka:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Ka}j=S[(n+(c<<3)|0)+8>>3]}m=S[b>>3];b=a+2|0;La:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break La}b=(n+(b<<3)|0)+8|0}c=a+3|0;Ma:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Ma}k=S[(n+(c<<3)|0)+8>>3]}j=s+j;m=h+m;h=S[b>>3];b=a+4|0;Na:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Na}b=(n+(b<<3)|0)+8|0}p=m+h;o=j+k;a=a+5|0;Oa:{if(a>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Oa}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;h=p+S[b>>3];a=N[g+8>>2];Pa:{if(!a){k=s;r=h;break Pa}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;p=p+t;j=j+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(j)),U(u*U(p)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;a=i;i=a+6|0;if(d>>>0>=i>>>0){continue}break}c=N[g+36>>2];Qa:{if(c>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Qa}b=(n+(a<<3)|0)+8|0}a=a|1;Ra:{if(a>>>0>=c>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Ra}j=S[(n+(a<<3)|0)+8>>3]}k=h+S[b>>3];h=s+j;qd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}a=N[g+36>>2];if(a>>>0<8){break n}d=a-6|0;a=0;l=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){c=N[g+36>>2];Sa:{if(c>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Sa}b=(n+(a<<3)|0)+8|0}a=a|1;Ta:{if(a>>>0>=c>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ta}h=S[(n+(a<<3)|0)+8>>3]}m=m+S[b>>3];j=j+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=l;l=a+2|0;if(d>>>0>=l>>>0){continue}break}d=N[g+36>>2];Ua:{if(d>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ua}b=(n+(a<<3)|0)+8|0}c=a|1;Va:{if(c>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Va}k=S[(n+(c<<3)|0)+8>>3]}r=S[b>>3];Wa:{if(d>>>0<=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Wa}b=(n+(l<<3)|0)+8|0}c=a+3|0;Xa:{if(c>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Xa}h=S[(n+(c<<3)|0)+8>>3]}j=j+k;m=m+r;k=S[b>>3];b=a+4|0;Ya:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ya}b=(n+(b<<3)|0)+8|0}p=m+k;o=j+h;a=a+5|0;Za:{if(a>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Za}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;h=p+S[b>>3];a=N[g+8>>2];_a:{if(!a){k=s;r=h;break _a}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;p=p+t;j=j+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(j)),U(u*U(p)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;break n}i=N[g+36>>2];a=i&1;l=a|4;if(i>>>0>>0){break n}j=S[g+4408>>3]+(a?S[g+40>>3]:-0);p=S[g+4416>>3];while(1){$a:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break $a}h=S[(n+(a<<3)|0)+8>>3]}b=a+1|0;ab:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break ab}b=(n+(b<<3)|0)+8|0}m=p+h;h=m;c=a+2|0;bb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break bb}k=S[(n+(c<<3)|0)+8>>3]}r=j+S[b>>3];o=h+k;a=a+3|0;cb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break cb}h=S[(n+(a<<3)|0)+8>>3]}p=o+h;a=N[g+8>>2];db:{if(!a){h=r;k=p;break db}t=S[a+8>>3];k=p+t;o=o+t;s=S[a>>3];h=r+s;m=m+t;j=j+s}a=N[g>>2];q=R[a+44>>2];x=U(q*U(j));u=R[a+48>>2];q=U(q*U(h));Cb(N[g+4>>2],x,U(u*U(m)),q,U(u*U(o)),q,U(u*U(k)));S[g+4416>>3]=p;S[g+4408>>3]=r;j=r;i=N[g+36>>2];a=l;l=a+4|0;if(i>>>0>=l>>>0){continue}break}break n}i=N[g+36>>2];a=i&1;l=a|4;if(i>>>0>>0){break n}j=S[g+4416>>3]+(a?S[g+40>>3]:-0);p=S[g+4408>>3];while(1){eb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break eb}h=S[(n+(a<<3)|0)+8>>3]}b=a+1|0;fb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break fb}b=(n+(b<<3)|0)+8|0}m=p+h;c=a+2|0;gb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break gb}h=S[(n+(c<<3)|0)+8>>3]}r=j+h;o=m+S[b>>3];a=a+3|0;hb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break hb}h=S[(n+(a<<3)|0)+8>>3]}p=o+h;a=N[g+8>>2];ib:{if(!a){h=r;k=p;break ib}t=S[a>>3];k=p+t;s=S[a+8>>3];h=r+s;o=o+t;j=j+s;m=m+t}a=N[g>>2];x=R[a+44>>2];q=R[a+48>>2];u=U(q*U(h));Cb(N[g+4>>2],U(x*U(m)),U(q*U(j)),U(x*U(o)),u,U(x*U(k)),u);S[g+4416>>3]=r;S[g+4408>>3]=p;j=r;i=N[g+36>>2];a=l;l=a+4|0;if(i>>>0>=l>>>0){continue}break}break n}i=N[g+36>>2];if(i&4){break q}if(i>>>0<8){break n}a=0;l=8;h=S[g+4416>>3];j=S[g+4408>>3];while(1){jb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break jb}k=S[(n+(a<<3)|0)+8>>3]}b=a|1;kb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break kb}b=(n+(b<<3)|0)+8|0}o=h+k;c=a|2;lb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break lb}h=S[(n+(c<<3)|0)+8>>3]}m=o+h;p=j+S[b>>3];b=a|3;mb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break mb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;f=N[g+8>>2];nb:{if(!f){h=m;k=r;break nb}t=S[f>>3];k=r+t;s=S[f+8>>3];h=m+s;p=p+t;o=o+s;j=j+t}e=N[g>>2];x=R[e+44>>2];q=R[e+48>>2];u=U(q*U(h));d=N[g+4>>2];Cb(d,U(x*U(j)),U(q*U(o)),U(x*U(p)),u,U(x*U(k)),u);S[g+4416>>3]=m;S[g+4408>>3]=r;i=N[g+36>>2];b=a|4;ob:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break ob}h=S[(n+(b<<3)|0)+8>>3]}b=a|5;pb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break pb}b=(n+(b<<3)|0)+8|0}c=a|6;qb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break qb}k=S[(n+(c<<3)|0)+8>>3]}p=r+h;j=S[b>>3];b=a|7;rb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break rb}h=S[(n+(b<<3)|0)+8>>3]}s=m+k;o=p+j;j=o;sb:{if(i-a>>>0>15){break sb}j=o;if(!(i&1)){break sb}tb:{if(i>>>0<=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break tb}k=S[(n+(l<<3)|0)+8>>3]}j=o+k}h=s+h;ub:{if(!f){k=h;r=j;break ub}w=S[f+8>>3];k=h+w;t=S[f>>3];r=j+t;s=s+w;o=o+t;m=m+w;p=p+t}u=R[e+44>>2];q=R[e+48>>2];Cb(d,U(u*U(p)),U(q*U(m)),U(u*U(o)),U(q*U(s)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=h;S[g+4408>>3]=j;i=N[g+36>>2];a=l;l=a+8|0;if(i>>>0>=l>>>0){continue}break}break n}i=N[g+36>>2];if(i&4){break r}if(i>>>0<8){break n}a=0;l=8;j=S[g+4416>>3];h=S[g+4408>>3];while(1){vb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break vb}k=S[(n+(a<<3)|0)+8>>3]}b=a|1;wb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break wb}b=(n+(b<<3)|0)+8|0}o=h+k;c=a|2;xb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break xb}h=S[(n+(c<<3)|0)+8>>3]}m=o+S[b>>3];p=j+h;b=a|3;yb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break yb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;f=N[g+8>>2];zb:{if(!f){h=m;k=r;break zb}t=S[f+8>>3];k=r+t;p=p+t;s=S[f>>3];h=m+s;j=j+t;o=o+s}d=N[g+4>>2];e=N[g>>2];q=R[e+44>>2];x=U(q*U(o));u=R[e+48>>2];q=U(q*U(h));Cb(d,x,U(u*U(j)),q,U(u*U(p)),q,U(u*U(k)));S[g+4416>>3]=r;S[g+4408>>3]=m;i=N[g+36>>2];b=a|4;Ab:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ab}h=S[(n+(b<<3)|0)+8>>3]}b=a|5;Bb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Bb}b=(n+(b<<3)|0)+8|0}c=a|6;Cb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Cb}k=S[(n+(c<<3)|0)+8>>3]}p=r+h;j=S[b>>3];b=a|7;Db:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Db}h=S[(n+(b<<3)|0)+8>>3]}s=m+j;o=p+k;j=o;Eb:{if(i-a>>>0>15){break Eb}j=o;if(!(i&1)){break Eb}Fb:{if(i>>>0<=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Fb}k=S[(n+(l<<3)|0)+8>>3]}j=o+k}h=s+h;Gb:{if(!f){k=j;r=h;break Gb}w=S[f+8>>3];k=j+w;t=S[f>>3];r=h+t;o=o+w;s=s+t;p=p+w;m=m+t}u=R[e+44>>2];q=R[e+48>>2];Cb(d,U(u*U(m)),U(q*U(p)),U(u*U(s)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=j;S[g+4408>>3]=h;i=N[g+36>>2];a=l;l=a+8|0;if(i>>>0>=l>>>0){continue}break}break n}if(N[g+36>>2]==7){m=S[g+48>>3];k=S[g+40>>3];h=S[g+4408>>3];a=g+4520|0;r=S[g+4416>>3];j=r+S[g+56>>3];S[a>>3]=j;k=h+k;h=m+k;S[g+4512>>3]=h+S[g+64>>3];d=N[a+4>>2];a=N[a>>2];b=g+4504|0;N[b>>2]=a;N[b+4>>2]=d;b=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=b;S[g+4496>>3]=S[g+4496>>3]+S[g+72>>3];c=g+4488|0;b=c;N[b>>2]=a;N[b+4>>2]=d;S[b>>3]=r;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[g+4480>>3]=S[g+4480>>3]+S[g+80>>3];a=N[b+4>>2];b=g+4472|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[g+4464>>3]=S[g+4464>>3]+S[g+88>>3];Ng(g+16|0,g,k,r,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}if(N[g+36>>2]==13){r=S[g+56>>3];k=S[g+40>>3];h=S[g+4408>>3];c=g+4520|0;m=S[g+4416>>3]+S[g+48>>3];j=m+S[g+64>>3];S[c>>3]=j+S[g+80>>3];k=h+k;h=r+k;S[g+4512>>3]=h+S[g+72>>3];a=N[c+4>>2];d=g+4504|0;b=d;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=a;S[b>>3]=S[b>>3]+S[g+96>>3];S[g+4496>>3]=S[g+4496>>3]+S[g+88>>3];a=N[b+4>>2];c=g+4488|0;b=c;N[b>>2]=N[d>>2];N[b+4>>2]=a;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[b>>3]=S[b>>3]+S[g+112>>3];S[g+4480>>3]=S[g+4480>>3]+S[g+104>>3];a=N[b+4>>2];b=g+4472|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[b>>3]=S[b>>3]+S[g+128>>3];S[g+4464>>3]=S[g+4464>>3]+S[g+120>>3];Ng(g+16|0,g,k,m,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}if(N[g+36>>2]==9){s=S[g+56>>3];k=S[g+40>>3];h=S[g+4408>>3];a=g+4520|0;r=S[g+4416>>3];m=r+S[g+48>>3];j=m+S[g+64>>3];S[a>>3]=j;k=h+k;h=s+k;S[g+4512>>3]=h+S[g+72>>3];c=N[a+4>>2];a=N[a>>2];b=g+4504|0;N[b>>2]=a;N[b+4>>2]=c;b=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=b;S[g+4496>>3]=S[g+4496>>3]+S[g+80>>3];d=g+4488|0;N[d>>2]=a;N[d+4>>2]=c;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[d>>3]=S[d>>3]+S[g+96>>3];S[g+4480>>3]=S[g+4480>>3]+S[g+88>>3];a=N[d+4>>2];b=g+4472|0;N[b>>2]=N[d>>2];N[b+4>>2]=a;S[b>>3]=r;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[g+4464>>3]=S[g+4464>>3]+S[g+104>>3];Ng(g+16|0,g,k,m,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}if(N[g+36>>2]==11){E=S[g+104>>3];F=S[g+112>>3];G=S[g+88>>3];H=S[g+96>>3];I=S[g+72>>3];J=S[g+56>>3];w=S[g+4408>>3];t=S[g+40>>3];b=g+4520|0;h=S[g+4416>>3];p=S[g+48>>3];o=h+p;s=S[g+64>>3];r=o+s;m=S[g+80>>3];S[b>>3]=r+m;j=w+t;k=J+j;S[g+4512>>3]=I+k;a=N[b+4>>2];c=g+4504|0;N[c>>2]=N[b>>2];N[c+4>>2]=a;S[c>>3]=H+S[c>>3];a=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=a;S[g+4496>>3]=G+S[g+4496>>3];a=N[c+4>>2];b=g+4488|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;S[b>>3]=F+S[b>>3];a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[g+4480>>3]=E+S[g+4480>>3];a=N[b+4>>2];c=g+4472|0;N[c>>2]=N[b>>2];N[c+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;K=h;h=S[g+120>>3];a=V(E+(G+(I+(J+(t+0)))))>V(F+(H+(m+(s+(p+0)))));S[c>>3]=a?K:S[c>>3]+h;S[g+4464>>3]=a?h+S[g+4464>>3]:w;Ng(g+16|0,g,j,o,k,r,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}uf(i,g+16|0);break k}i=N[g+36>>2];a=i&1;break m}m=S[g+4416>>3];o=m+S[g+56>>3];s=o+S[g+64>>3];p=S[g+4408>>3]+S[g+40>>3];j=p+S[g+48>>3];l=12;a=4;if(i>>>0>=12){while(1){i=N[g+8>>2];Hb:{if(!i){h=j;k=s;break Hb}t=S[i+8>>3];k=s+t;o=o+t;r=S[i>>3];h=j+r;m=m+t;p=p+r}d=N[g+4>>2];f=N[g>>2];q=R[f+44>>2];x=U(q*U(p));u=R[f+48>>2];q=U(q*U(h));Cb(d,x,U(u*U(m)),q,U(u*U(o)),q,U(u*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=j;e=N[g+36>>2];Ib:{if(e>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ib}h=S[(n+(a<<3)|0)+8>>3]}b=a|1;Jb:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Jb}b=(n+(b<<3)|0)+8|0}o=s+h;c=a|2;Kb:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Kb}h=S[(n+(c<<3)|0)+8>>3]}m=o+h;p=j+S[b>>3];b=a|3;Lb:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Lb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;Mb:{if(!i){h=m;k=r;break Mb}t=S[i>>3];k=r+t;s=S[i+8>>3];h=m+s;p=p+t;o=o+s;j=j+t}q=R[f+48>>2];x=U(q*U(h));u=R[f+44>>2];Cb(d,U(u*U(j)),U(q*U(o)),U(u*U(p)),x,U(u*U(k)),x);S[g+4416>>3]=m;S[g+4408>>3]=r;i=N[g+36>>2];b=a+4|0;Nb:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Nb}h=S[(n+(b<<3)|0)+8>>3]}b=a+5|0;Ob:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ob}b=(n+(b<<3)|0)+8|0}p=r+h;c=a+6|0;Pb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Pb}h=S[(n+(c<<3)|0)+8>>3]}j=p+S[b>>3];o=m+h;a=a+7|0;Qb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Qb}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;a=l;l=a+8|0;if(l>>>0<=i>>>0){continue}break}}h=j;h=a>>>0>>0?h+S[(n+(a<<3)|0)+8>>3]:h;a=N[g+8>>2];Rb:{if(!a){k=s;r=h;break Rb}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;j=j+t;m=m+w;p=p+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(p)),U(q*U(m)),U(u*U(j)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;break n}m=S[g+4408>>3];o=m+S[g+48>>3];s=o+S[g+64>>3];p=S[g+4416>>3]+S[g+40>>3];j=p+S[g+56>>3];l=12;a=4;if(i>>>0>=12){while(1){i=N[g+8>>2];Sb:{if(!i){h=j;k=s;break Sb}t=S[i>>3];k=s+t;r=S[i+8>>3];h=j+r;o=o+t;p=p+r;m=m+t}f=N[g>>2];x=R[f+44>>2];q=R[f+48>>2];u=U(q*U(h));d=N[g+4>>2];Cb(d,U(x*U(m)),U(q*U(p)),U(x*U(o)),u,U(x*U(k)),u);S[g+4416>>3]=j;S[g+4408>>3]=s;e=N[g+36>>2];Tb:{if(e>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Tb}h=S[(n+(a<<3)|0)+8>>3]}b=a|1;Ub:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ub}b=(n+(b<<3)|0)+8|0}o=s+h;c=a|2;Vb:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Vb}h=S[(n+(c<<3)|0)+8>>3]}m=o+S[b>>3];p=j+h;b=a|3;Wb:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Wb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;Xb:{if(!i){h=m;k=r;break Xb}t=S[i+8>>3];k=r+t;p=p+t;s=S[i>>3];h=m+s;j=j+t;o=o+s}q=R[f+44>>2];u=U(q*U(h));x=U(q*U(o));q=R[f+48>>2];Cb(d,x,U(q*U(j)),u,U(q*U(p)),u,U(q*U(k)));S[g+4416>>3]=r;S[g+4408>>3]=m;i=N[g+36>>2];b=a+4|0;Yb:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Yb}h=S[(n+(b<<3)|0)+8>>3]}b=a+5|0;Zb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Zb}b=(n+(b<<3)|0)+8|0}p=r+h;c=a+6|0;_b:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break _b}h=S[(n+(c<<3)|0)+8>>3]}j=p+h;o=m+S[b>>3];a=a+7|0;$b:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break $b}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;a=l;l=a+8|0;if(l>>>0<=i>>>0){continue}break}}h=j;h=a>>>0>>0?h+S[(n+(a<<3)|0)+8>>3]:h;a=N[g+8>>2];ac:{if(!a){k=h;r=s;break ac}w=S[a+8>>3];k=h+w;t=S[a>>3];r=s+t;j=j+w;o=o+t;p=p+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(p)),U(u*U(o)),U(q*U(j)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=h;S[g+4408>>3]=s;break n}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=h+S[g+4408>>3];h=S[g+4416>>3]+S[l>>3];ij(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1}N[g+36>>2]=0;N[g+4428>>2]=0;break k}if(!(!a|!i)){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;L[g+4425|0]=1}L[g+4424|0]=1}N[g+4428>>2]=0;a=N[g+36>>2];N[g+36>>2]=0;N[g+4168>>2]=N[g+4168>>2]+(a>>>1|0)}i=0;if(O[g+4180|0]){break a}a=N[g+24>>2];c=N[g+20>>2];if(O[g+32|0]|a>>>0>c>>>0){break a}if(!O[g+4164|0]){continue}}break}d=N[g+4>>2];a=d+16|0;if(N[d+16>>2]){b=N[d+12>>2];c=N[d+8>>2];u=R[d+20>>2];q=R[d+24>>2];if(!(u==R[d+28>>2]&q==R[d+32>>2])){e=N[c+16>>2];d=N[c+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](c,b,a,u,q,d)}e=N[c+28>>2];d=N[c+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](c,b,a,d)}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;i=1}La=g+4528|0;return i}function kj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,P=0;e=La-4512|0;La=e;N[c+16>>2]=0;N[c+20>>2]=-1042284544;N[c+8>>2]=-4194304;N[c+12>>2]=1105199103;N[c>>2]=-4194304;N[c+4>>2]=1105199103;N[c+24>>2]=0;N[c+28>>2]=-1042284544;a:{if(!N[a+44>>2]|Q[a+216>>2]<=b>>>0){break a}z=N[a+80>>2];b:{if((z|0)==275552){break b}c:{d:{switch(O[z|0]){case 0:j=(b+z|0)+1|0;break c;case 3:break d;default:break b}}if(O[z+1|0]|O[z+2|0]<<8){I=O[z+1|0]|O[z+2|0]<<8;j=z+3|0}else{j=275552}E=(I<<8|(I&65280)>>>8)&65535;e:{if(E>>>0>=2){v=E-2|0;while(1){u=s+v>>>1|0;l=j+T(u,3)|0;y=O[l|0]|O[l+1|0]<<8;f:{if(((y<<8|y>>>8)&65535)>>>0<=b>>>0){y=O[l+3|0]|O[l+4|0]<<8;if(((y<<8|y>>>8)&65535)>>>0>b>>>0){break e}s=u+1|0;break f}v=u-1|0}if((s|0)<=(v|0)){continue}break}}if(!I){l=275552;break e}l=z+T(E,3)|0}j=l+2|0}v=O[j|0]}gd(e+4432|0,N[a+72>>2],b);u=N[(Q[a+208>>2]<=v>>>0?275552:N[a+212>>2]+T(v,24)|0)+20>>2];s=N[a+68>>2];L[e+16|0]=0;C(e+20|0,0,4108);b=e+4192|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4200>>2]=0;b=e+4212|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4220>>2]=0;b=e+4232|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4240>>2]=0;b=e+4252|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4260>>2]=0;b=e+4272|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4280>>2]=0;b=e+4292|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4300>>2]=0;N[e+4320>>2]=0;b=e+4312|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4340>>2]=0;b=e+4332|0;N[b>>2]=0;N[b+4>>2]=0;L[e+4164|0]=0;N[e+8>>2]=0;l=N[e+4436>>2];b=N[e+4432>>2];N[e>>2]=b;N[e+4>>2]=l;N[e+4360>>2]=0;j=e+4352|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4176|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4168|0;N[j>>2]=0;N[j+4>>2]=0;N[e+4144>>2]=0;j=e+4136|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4400|0;N[j>>2]=0;N[j+4>>2]=0;N[e+4376>>2]=s;N[e+4128>>2]=b;N[e+4132>>2]=l;N[e+4160>>2]=0;N[e+4152>>2]=0;N[e+4156>>2]=0;L[e+4149|0]=1;L[e+4150|0]=0;N[e+4392>>2]=0;N[e+4396>>2]=0;j=107;y=107;g:{if(!s){break g}b=O[s|0]|O[s+1|0]<<8;b=(b<<8|b>>>8)&65535;y=107;if(b>>>0<1240){break g}y=b>>>0<33900?1131:32768}N[e+4384>>2]=u;N[e+4372>>2]=y;h:{if(!u){break h}b=O[u|0]|O[u+1|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0<1240){break h}j=b>>>0<33900?1131:32768}K=e+4164|0;y=e+4128|0;t=e+16|0;N[e+4416>>2]=0;N[e+4420>>2]=0;N[e+4380>>2]=j;L[e+4424|0]=d;N[e+4412>>2]=0;M[e+4408>>1]=0;L[e+4148|0]=0;P=1e4;m=2147483647;h=-2147483648;n=-2147483648;k=2147483647;v=0;s=0;while(1){P=P-1|0;if(P){j=65535;i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{d=s+1|0;if(d>>>0>l>>>0){break u}u=N[e>>2];b=O[u+s|0];N[e+8>>2]=d;v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{if((b|0)!=12){s=d;break V}s=s+2|0;if(s>>>0>l>>>0){break u}b=O[d+u|0];N[e+8>>2]=s;b=b|256}j=b;switch(j-1|0){case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break u;case 30:break z;case 29:break A;case 26:break B;case 25:break C;case 24:break D;case 23:break E;case 7:break F;case 6:break G;case 5:break H;case 4:break I;case 3:break J;case 21:break K;case 20:break L;case 18:case 19:break M;case 2:case 22:break N;case 0:case 17:break O;case 28:break P;case 9:break Q;case 10:break S;case 13:break T;default:break U}}switch(j-255|0){case 1:break j;case 38:break v;case 37:break w;case 36:break x;case 35:break y;case 0:break R;default:break u}}d=N[e+20>>2];if(!O[e+4408|0]){if(d&1){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}W:{if(d>>>0<4){break W}j=(d<<3)+t|0;f=S[j-8>>3];X:{if(V(f)<2147483648){b=~~f;break X}b=-2147483648}q=S[j-16>>3];o=S[j-24>>3];d=0;Y:{if(b>>>0>255){break Y}l=O[b+267360|0];d=N[a+52>>2];if((d|0)!=275552){d=vf(d,l,N[a+216>>2]);break Y}d=b>>>0<229?N[a+172>>2]?0:l:0}f=S[j>>3];Z:{if(V(f)<2147483648){b=~~f;break Z}b=-2147483648}l=0;_:{if(b>>>0>255){break _}j=O[b+267360|0];l=N[a+52>>2];if((l|0)!=275552){l=vf(l,j,N[a+216>>2]);break _}l=b>>>0<229?N[a+172>>2]?0:j:0}b=e+4504|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4496|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4488|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4480>>2]=0;N[e+4484>>2]=0;b=e+4472|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4464|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4456|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4448>>2]=0;N[e+4452>>2]=0;$:{b=l;if(O[e+4424|0]|(!b|!d)){break $}if(!kj(a,d,e+4480|0,1)){break $}if(!kj(a,b,e+4448|0,1)){break $}p=S[e+4504>>3];aa:{if(!(km)){n=S[e+4496>>3];m=S[e+4488>>3];k=S[e+4480>>3];break aa}i=S[e+4496>>3];g=S[e+4480>>3];ba:{if(!(i>g)){break ba}f=S[e+4488>>3];if(!(fn?i:n;k=g>3];i=S[e+4464>>3];g=S[e+4456>>3];h=S[e+4472>>3];if(!(!(fn?i:n;k=fp){break W}h=p;L[e+4148|0]=1;break j}N[e+8>>2]=N[e+4>>2]+1}L[e+4148|0]=1;break j}b=N[e+4168>>2];ca:{if(b){b=b-1|0;N[e+4168>>2]=b;b=(T(b,20)+K|0)+8|0;break ca}N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;L[e+4164|0]=1;N[147460]=0;b=589824}l=N[b+4>>2];d=y;N[d>>2]=N[b>>2];N[d+4>>2]=l;N[d+16>>2]=N[b+16>>2];l=b+8|0;d=N[l+4>>2];N[y+8>>2]=N[l>>2];N[y+12>>2]=d;l=N[b>>2];d=N[b+4>>2];N[e+8>>2]=N[b+8>>2];N[e>>2]=l;N[e+4>>2]=d;break i}if(s+4>>>0>l>>>0){break i}da:{if(l>>>0<=s>>>0){s=l+1|0;b=275552;break da}b=s+u|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);d=N[e+20>>2];ea:{if(d>>>0<=512){N[e+20>>2]=d+1;d=((d<<3)+t|0)+8|0;break ea}N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824}S[d>>3]=+(b|0)*152587890625e-16;N[e+8>>2]=s+4;break i}fa:{b=N[e+20>>2];ga:{if(b){b=b-1|0;N[e+20>>2]=b;f=S[((b<<3)+t|0)+8>>3];if(V(f)<2147483648){b=~~f;break ga}b=-2147483648;break ga}N[147456]=0;N[147457]=0;L[e+16|0]=1;b=0}j=b+N[e+4380>>2]|0;ha:{if((j|0)<0){break ha}b=N[e+4384>>2];if(!b){break ha}b=O[b|0]|O[b+1|0]<<8;if(j>>>0>=((b<<8|b>>>8)&65535)>>>0){break ha}d=N[e+4168>>2];if(d>>>0<10){break fa}}N[e+8>>2]=l+1;break i}b=N[e+4>>2];N[y>>2]=N[e>>2];N[y+4>>2]=b;N[y+8>>2]=N[e+8>>2];N[e+4168>>2]=d+1;d=T(d,20)+K|0;N[d+24>>2]=N[y+16>>2];b=N[y+12>>2];N[d+16>>2]=N[y+8>>2];N[d+20>>2]=b;b=N[y+4>>2];N[d+8>>2]=N[y>>2];N[d+12>>2]=b;b=0;s=0;l=N[e+4384>>2];ia:{if(!l){break ia}d=O[l|0]|O[l+1|0]<<8;if(j>>>0>=((d<<8|d>>>8)&65535)>>>0){break ia}gd(e+4480|0,l,j);b=N[e+4480>>2];s=N[e+4484>>2]}N[e+4144>>2]=j;N[e+4136>>2]=0;N[e+4140>>2]=2;N[e+4128>>2]=b;N[e+4132>>2]=s;N[e+8>>2]=N[y+8>>2];b=N[y+4>>2];N[e>>2]=N[y>>2];N[e+4>>2]=b;break i}ja:{b=N[e+20>>2];ka:{if(b){b=b-1|0;N[e+20>>2]=b;f=S[((b<<3)+t|0)+8>>3];if(V(f)<2147483648){b=~~f;break ka}b=-2147483648;break ka}N[147456]=0;N[147457]=0;L[e+16|0]=1;b=0}j=b+N[e+4372>>2]|0;la:{if((j|0)<0){break la}b=N[e+4376>>2];if(!b){break la}b=O[b|0]|O[b+1|0]<<8;if(j>>>0>=((b<<8|b>>>8)&65535)>>>0){break la}d=N[e+4168>>2];if(d>>>0<10){break ja}}N[e+8>>2]=l+1;break i}b=N[e+4>>2];N[y>>2]=N[e>>2];N[y+4>>2]=b;N[y+8>>2]=N[e+8>>2];N[e+4168>>2]=d+1;d=T(d,20)+K|0;N[d+24>>2]=N[y+16>>2];b=N[y+12>>2];N[d+16>>2]=N[y+8>>2];N[d+20>>2]=b;b=N[y+4>>2];N[d+8>>2]=N[y>>2];N[d+12>>2]=b;b=0;s=0;l=N[e+4376>>2];ma:{if(!l){break ma}d=O[l|0]|O[l+1|0]<<8;if(j>>>0>=((d<<8|d>>>8)&65535)>>>0){break ma}gd(e+4480|0,l,j);b=N[e+4480>>2];s=N[e+4484>>2]}N[e+4144>>2]=j;N[e+4136>>2]=0;N[e+4140>>2]=1;N[e+4128>>2]=b;N[e+4132>>2]=s;N[e+8>>2]=N[y+8>>2];b=N[y+4>>2];N[e>>2]=N[y>>2];N[e+4>>2]=b;break i}if(O[e+4408|0]|j>>>0>18){break l}if(1<>2];s=j>>>0>1;break m}na:{if(O[e+4408|0]|j>>>0>23){break na}oa:{pa:{b=1<>2];b=j>>>0>2;break oa}j=N[e+20>>2];b=j&1;break oa}j=N[e+20>>2];b=j>>>0>1}if(!(!b|!j)){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;L[e+4409|0]=1}L[e+4408|0]=1}N[e+4412>>2]=0;b=N[e+20>>2];N[e+20>>2]=0;N[e+4156>>2]=N[e+4156>>2]+(b>>>1|0);break i}if(!O[e+4408|0]){if(L[e+20|0]&1){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}qa:{if(O[e+4150|0]){j=N[e+4160>>2];break qa}L[e+4150|0]=1;b=N[e+4156>>2]+(N[e+20>>2]>>>1|0)|0;N[e+4156>>2]=b;j=(b+N[e+4152>>2]|0)+7>>>3|0;N[e+4160>>2]=j}b=j+s|0;if(b>>>0>l>>>0){break i}N[e+20>>2]=0;N[e+4412>>2]=0;N[e+8>>2]=b;break i}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=3){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}if(!d){s=589824;break q}b=d-1|0;s=((b<<3)+t|0)+8|0;if(!b){break q}b=d-2|0;j=b>>>1|0;i=S[((b<<3)+t|0)+8>>3];break p}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=2){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}ra:{if(d){b=d-1|0;s=b>>>1|0;g=S[((b<<3)+t|0)+8>>3];break ra}s=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0}f=S[e+4392>>3];S[e+4400>>3]=S[e+4400>>3];S[e+4392>>3]=f+g;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+s|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3;break o}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=2){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}sa:{if(d){b=d-1|0;s=b>>>1|0;g=S[((b<<3)+t|0)+8>>3];break sa}s=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0}f=S[e+4400>>3];S[e+4392>>3]=S[e+4392>>3];S[e+4400>>3]=f+g;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+s|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3;break o}s=N[e+20>>2];if(s>>>0<2){break j}j=0;l=2;g=S[e+4400>>3];i=S[e+4392>>3];while(1){b=j;j=l;f=g;o=i;ta:{if(b>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break ta}d=((b<<3)+t|0)+8|0}i=i+S[d>>3];g=f+S[((b<<3|8)+t|0)+8>>3];ua:{if(!(v&255)){m=fo?o:k;v=1;if(f>h){break ua}}f=h}S[e+4400>>3]=g;h=f>3]=i;n=i>n?i:n;k=i>>0>=l>>>0){continue}break}break j}j=0;d=N[e+20>>2];if(d>>>0>=2){l=2;f=S[e+4400>>3];i=S[e+4392>>3];while(1){b=j;j=l;g=f;f=i;va:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;i=0;break va}i=S[((b<<3)+t|0)+8>>3]}i=f+i;wa:{if(v&255){break wa}m=gn?f:n;k=fh)){break wa}h=g}S[e+4392>>3]=i;S[e+4400>>3]=g;f=S[((b<<3|8)+t|0)+8>>3];S[e+4392>>3]=i;f=g+f;S[e+4400>>3]=f;h=g>h?g:h;h=f>h?f:h;g=gn?i:n;k=i>>0>=l>>>0){continue}break}}if(d>>>0<=j>>>0){break j}g=S[e+4392>>3];i=g+S[((j<<3)+t|0)+8>>3];f=S[e+4400>>3];xa:{if(v&255){break xa}m=fn?g:n;k=gh)){break xa}h=f}S[e+4400>>3]=f;m=f>3]=i;n=i>n?i:n;k=ih)){break j}h=f;break j}j=0;d=N[e+20>>2];if(d>>>0>=2){l=2;i=S[e+4400>>3];f=S[e+4392>>3];while(1){b=j;j=l;g=f;p=i;ya:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break ya}f=S[((b<<3)+t|0)+8>>3]}i=i+f;za:{if(!(v&255)){m=m>p?p:m;n=g>n?g:n;k=g>3]=i;S[e+4392>>3]=g;h=S[((b<<3|8)+t|0)+8>>3];S[e+4400>>3]=i;f=g+h;S[e+4392>>3]=f;h=g>n?g:n;n=f>h?f:h;h=gp?i:p;m=i>>0>=l>>>0){continue}break}}if(d>>>0<=j>>>0){break j}f=S[e+4400>>3];g=f+S[((j<<3)+t|0)+8>>3];i=S[e+4392>>3];Aa:{if(!(v&255)){m=fn?i:n;k=ih){break Aa}}f=h}n=i>n?i:n;k=i>3]=g;m=g>2];if(s>>>0<6){break j}b=0;l=6;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;p=i;o=g;Ba:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ba}d=((j<<3)+t|0)+8|0}l=j|1;Ca:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Ca}g=S[((l<<3)+t|0)+8>>3]}i=S[d>>3];d=j+2|0;Da:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Da}d=((d<<3)+t|0)+8|0}l=j+3|0;Ea:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ea}f=S[((l<<3)+t|0)+8>>3]}x=o+g;w=p+i;g=S[d>>3];d=j+4|0;Fa:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Fa}d=((d<<3)+t|0)+8|0}r=w+g;q=x+f;l=j+5|0;Ga:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ga}f=S[((l<<3)+t|0)+8>>3]}g=q+f;i=r+S[d>>3];Ha:{if(!(v&255)){m=m>o?o:m;n=np?p:k;v=1;if(h>3]=g;h=oh?g:h;f=m>x?x:m;f=f>q?q:f;m=f>g?g:f;S[e+4392>>3]=i;f=nw?w:k;f=f>r?r:f;k=f>i?i:f;l=b+6|0;if(s>>>0>=l>>>0){continue}break}break j}u=N[e+20>>2];if(u>>>0<8){break j}s=u-2|0;b=0;l=6;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;p=i;o=g;Ia:{if(j>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ia}d=((j<<3)+t|0)+8|0}l=j|1;Ja:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Ja}g=S[((l<<3)+t|0)+8>>3]}i=S[d>>3];d=j+2|0;Ka:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ka}d=((d<<3)+t|0)+8|0}l=j+3|0;La:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break La}f=S[((l<<3)+t|0)+8>>3]}x=o+g;w=p+i;g=S[d>>3];d=j+4|0;Ma:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ma}d=((d<<3)+t|0)+8|0}r=w+g;q=x+f;l=j+5|0;Na:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Na}f=S[((l<<3)+t|0)+8>>3]}g=q+f;i=r+S[d>>3];Oa:{if(!(v&255)){m=m>o?o:m;n=np?p:k;v=1;if(h>3]=g;h=oh?g:h;f=m>x?x:m;f=f>q?q:f;m=f>g?g:f;S[e+4392>>3]=i;f=nw?w:k;f=f>r?r:f;k=f>i?i:f;l=b+6|0;if(s>>>0>=l>>>0){continue}break}Pa:{if(b>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Pa}d=((b<<3)+t|0)+8|0}b=b|1;Qa:{if(b>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Qa}f=S[((b<<3)+t|0)+8>>3]}o=S[d>>3];f=g+f;S[e+4400>>3]=f;m=f>3]=g;n=g>n?g:n;k=gh)){break j}h=f;break j}u=N[e+20>>2];if(u>>>0<8){break j}s=u-6|0;j=0;l=2;g=S[e+4400>>3];i=S[e+4392>>3];while(1){d=j;j=l;o=i;f=g;Ra:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ra}b=((d<<3)+t|0)+8|0}d=d|1;Sa:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Sa}g=S[((d<<3)+t|0)+8>>3]}g=f+g;i=o+S[b>>3];Ta:{if(!(v&255)){m=fo?o:k;v=1;if(f>h){break Ta}}f=h}S[e+4400>>3]=g;h=f>3]=i;n=i>n?i:n;k=i>>0>=l>>>0){continue}break}Ua:{if(j>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ua}b=((j<<3)+t|0)+8|0}d=j|1;Va:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;o=0;break Va}o=S[((d<<3)+t|0)+8>>3]}p=S[b>>3];Wa:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Wa}b=((l<<3)+t|0)+8|0}d=j+3|0;Xa:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Xa}f=S[((d<<3)+t|0)+8>>3]}r=g+o;q=i+p;g=S[b>>3];b=j+4|0;Ya:{if(b>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ya}b=((b<<3)+t|0)+8|0}p=r+f;o=q+g;d=j+5|0;Za:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Za}f=S[((d<<3)+t|0)+8>>3]}g=S[b>>3];i=p+f;S[e+4400>>3]=i;h=hh?i:h;f=m>r?r:m;f=f>p?p:f;m=f>i?i:f;g=o+g;S[e+4392>>3]=g;f=nq?q:k;f=f>o?o:f;k=f>g?g:f;break j}s=N[e+20>>2];b=s&1;l=b|4;if(l>>>0>s>>>0){break j}g=S[e+4392>>3];f=g+(b?S[e+24>>3]:-0);i=S[e+4400>>3];while(1){j=b;b=l;o=g;r=i;_a:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break _a}g=S[((j<<3)+t|0)+8>>3]}d=j+1|0;$a:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break $a}d=((d<<3)+t|0)+8|0}q=r+g;l=j+2|0;ab:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break ab}g=S[((l<<3)+t|0)+8>>3]}p=q+g;i=p+S[((j<<3)+t|0)+32>>3];g=f+S[d>>3];bb:{if(!(v&255)){m=m>r?r:m;n=no?o:k;v=1;if(h>3]=i;h=q>r?q:r;h=hh?i:h;o=m>q?q:m;o=o>p?p:o;m=i>3]=g;o=f>n?f:n;n=g>o?g:o;f=fg?g:f;f=g;l=b+4|0;if(s>>>0>=l>>>0){continue}break}break j}s=N[e+20>>2];b=s&1;l=b|4;if(l>>>0>s>>>0){break j}g=S[e+4400>>3];f=g+(b?S[e+24>>3]:-0);i=S[e+4392>>3];while(1){j=b;b=l;o=i;q=g;cb:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break cb}g=S[((j<<3)+t|0)+8>>3]}d=j+1|0;db:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break db}d=((d<<3)+t|0)+8|0}r=o+g;l=j+2|0;eb:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break eb}g=S[((l<<3)+t|0)+8>>3]}p=r+S[d>>3];i=p+S[((j<<3)+t|0)+32>>3];g=f+g;fb:{if(!(v&255)){m=m>q?q:m;n=no?o:k;v=1;if(h>3]=i;h=nh?i:h;h=k>r?r:k;h=h>p?p:h;k=i>3]=g;h=f>q?f:q;h=g>h?g:h;f=fg?g:f;f=g;l=b+4|0;if(s>>>0>=l>>>0){continue}break}break j}z=N[e+20>>2];if(z&4){break r}if(z>>>0<8){break j}I=z&1;b=0;l=8;i=S[e+4400>>3];g=S[e+4392>>3];while(1){j=b;b=l;gb:{if(j>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break gb}f=S[((j<<3)+t|0)+8>>3]}d=j|1;hb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break hb}d=((d<<3)+t|0)+8|0}r=i+f;l=j|2;ib:{if(l>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break ib}f=S[((l<<3)+t|0)+8>>3]}f=r+f;q=g+S[d>>3];d=j|3;jb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;o=0;break jb}o=S[((d<<3)+t|0)+8>>3]}w=q+o;kb:{if(!(v&255)){m=in?g:n;k=gh){break kb}}i=h}o=g>n?g:n;E=o>3]=w;g=gq;s=i>3]=f;l=m>r;d=j|4;lb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break lb}h=S[((d<<3)+t|0)+8>>3]}p=E?q:o;o=u?q:g;i=s?r:i;g=l?r:m;d=j|5;mb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break mb}d=((d<<3)+t|0)+8|0}k=w+h;r=pw?w:o;p=f>i?f:i;o=f>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break nb}h=S[((l<<3)+t|0)+8>>3]}m=f+h;i=m+S[((j<<3|56)+t|0)+8>>3];h=k+S[d>>3];g=h;ob:{if(z-j>>>0>15){break ob}g=h;if(!I){break ob}pb:{if(b>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break pb}f=S[((b<<3)+t|0)+8>>3]}g=h+f}S[e+4392>>3]=g;f=k>r?k:r;f=fh?h:f;k=g>3]=i;h=m>p?m:p;h=i>h?i:h;f=mi?i:f;l=b+8|0;if(z>>>0>=l>>>0){continue}break}break j}A=N[e+20>>2];if(A&4){break s}if(A>>>0<8){break j}z=A&1;b=0;l=8;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;qb:{if(j>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break qb}f=S[((j<<3)+t|0)+8>>3]}d=j|1;rb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break rb}d=((d<<3)+t|0)+8|0}q=i+f;l=j|2;sb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break sb}f=S[((l<<3)+t|0)+8>>3]}x=q+S[d>>3];p=g+f;d=j|3;tb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break tb}f=S[((d<<3)+t|0)+8>>3]}w=p+f;ub:{if(v&255){break ub}m=gn?i:n;k=ih)){break ub}h=g}i=g>h?g:h;E=i>3]=w;f=gp;s=n>3]=x;l=k>q;d=j|4;vb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break vb}h=S[((d<<3)+t|0)+8>>3]}o=E?p:i;i=u?p:f;g=s?q:n;f=l?q:k;d=j|5;wb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break wb}d=((d<<3)+t|0)+8|0}I=ow;u=gx;n=w+h;l=j|6;xb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break xb}h=S[((l<<3)+t|0)+8>>3]}r=I?w:o;o=E?w:i;q=u?x:g;p=s?x:f;k=x+S[d>>3];i=k+S[((j<<3|56)+t|0)+8>>3];f=n+h;g=f;yb:{if(A-j>>>0>15){break yb}g=f;if(!z){break yb}zb:{if(b>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break zb}h=S[((b<<3)+t|0)+8>>3]}g=f+h}S[e+4400>>3]=g;h=n>r?n:r;h=f>h?f:h;h=g>h?g:h;o=ng?g:f;S[e+4392>>3]=i;f=k>q?k:q;n=fi?i:f;l=b+8|0;if(A>>>0>=l>>>0){continue}break}break j}if(N[e+20>>2]==7){f=S[e+4400>>3];w=f+S[e+40>>3];g=S[e+4392>>3];r=g+S[e+24>>3];q=r+S[e+32>>3];p=q+S[e+48>>3];o=p+S[e+56>>3];i=o+S[e+64>>3];x=i+S[e+72>>3];Ab:{if(v&255){break Ab}m=fn?g:n;k=gh)){break Ab}h=f}S[e+4392>>3]=x;g=nr?r:k;g=g>q?q:g;g=g>p?p:g;g=g>o?o:g;g=g>i?i:g;k=g>x?x:g;S[e+4400>>3]=f;h=f>h?f:h;h=hh?f:h;g=fw?w:g;m=f>2]=l+1;break j}if(N[e+20>>2]==13){f=S[e+4400>>3];F=f+S[e+32>>3];B=F+S[e+48>>3];D=B+S[e+64>>3];x=D+S[e+80>>3];w=x+S[e+96>>3];G=w+S[e+112>>3];r=S[e+4392>>3];q=r+S[e+24>>3];p=q+S[e+40>>3];o=p+S[e+56>>3];i=o+S[e+72>>3];g=i+S[e+88>>3];H=g+S[e+104>>3];Bb:{if(!(v&255)){m=fr?r:k;v=1;if(f>h){break Bb}}f=h}S[e+4400>>3]=G;h=fF?F:m;f=f>B?B:f;f=f>D?D:f;f=f>x?x:f;f=f>w?w:f;m=f>G?G:f;S[e+4392>>3]=H;f=nq?q:k;f=f>p?p:f;f=f>o?o:f;f=f>i?i:f;f=f>g?g:f;k=f>H?H:f;break j}N[e+8>>2]=l+1;break j}if(N[e+20>>2]==9){f=S[e+4400>>3];D=f+S[e+32>>3];x=D+S[e+48>>3];w=x+S[e+80>>3];g=S[e+4392>>3];r=g+S[e+24>>3];q=r+S[e+40>>3];p=q+S[e+56>>3];o=p+S[e+64>>3];i=o+S[e+72>>3];B=i+S[e+88>>3];Cb:{if(v&255){break Cb}m=fn?g:n;k=gh)){break Cb}h=f}S[e+4392>>3]=B;g=nr?r:k;g=g>q?q:g;g=g>p?p:g;g=g>o?o:g;g=g>i?i:g;k=g>B?B:g;S[e+4400>>3]=f;h=hh?f:h;g=m>D?D:m;g=g>x?x:g;g=g>w?w:g;m=f>2]=l+1;break j}if(N[e+20>>2]==11){J=S[e+4392>>3];p=S[e+24>>3];F=J+p;o=S[e+40>>3];B=F+o;i=S[e+56>>3];D=B+i;g=S[e+72>>3];x=D+g;f=S[e+88>>3];w=x+f;r=S[e+104>>3];f=V(p+0+o+i+g+f);q=S[e+32>>3];p=S[e+48>>3];o=S[e+64>>3];i=S[e+80>>3];g=S[e+96>>3];b=f>V(q+0+p+o+i+g);G=b?w+r:J;f=S[e+4400>>3];q=f+q;p=q+p;o=p+o;i=o+i;H=i+g;g=b?f:H+r;Db:{if(!(v&255)){m=fJ?J:k;v=1;if(f>h){break Db}}f=h}S[e+4400>>3]=g;h=fh?i:h;h=hh?g:h;f=m>q?q:m;f=f>p?p:f;f=f>o?o:f;f=f>i?i:f;f=f>H?H:f;m=f>g?g:f;S[e+4392>>3]=G;f=nF?F:k;f=f>B?B:f;f=f>D?D:f;f=f>x?x:f;f=f>w?w:f;k=f>G?G:f;break j}N[e+8>>2]=l+1;break j}uf(j,e);break i}j=N[e+20>>2];s=j&1;break m}g=S[e+4400>>3];q=g+S[e+40>>3];p=q+S[e+48>>3];i=S[e+4392>>3];r=i+S[e+24>>3];f=r+S[e+32>>3];b=12;j=4;if(A>>>0>=12){while(1){Eb:{if(v&255){break Eb}m=gn?i:n;k=ih)){break Eb}h=g}i=g>h?g:h;u=i>3]=p;g=gq;l=n>3]=f;d=k>r;Fb:{if(j>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Fb}h=S[((j<<3)+t|0)+8>>3]}m=u?q:i;o=s?q:g;i=l?r:n;g=d?r:k;d=j|1;Gb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Gb}d=((d<<3)+t|0)+8|0}k=mp?p:o;q=f>i?f:i;o=f>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Hb}h=S[((l<<3)+t|0)+8>>3]}g=n+h;p=f+S[d>>3];d=j|3;Ib:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Ib}h=S[((d<<3)+t|0)+8>>3]}i=p+h;S[e+4392>>3]=i;E=p>q;u=o>p;s=k>3]=g;l=n>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Jb}h=S[((d<<3)+t|0)+8>>3]}q=E?p:q;p=u?p:o;o=s?n:k;f=l?n:r;d=j+5|0;Kb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Kb}d=((d<<3)+t|0)+8|0}r=i+h;n=i>q?i:q;k=io?g:o;m=f>g?g:f;l=j+6|0;Lb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Lb}f=S[((l<<3)+t|0)+8>>3]}q=g+f;p=q+S[((j<<3)+t|0)- -64>>3];f=r+S[d>>3];j=b;b=b+8|0;if(A>>>0>=b>>>0){continue}break}}o=j>>>0>>0?f+S[((j<<3)+t|0)+8>>3]:f;Mb:{if(v&255){break Mb}m=gn?i:n;k=ih)){break Mb}h=g}S[e+4400>>3]=p;h=g>h?g:h;h=hq?q:g;m=g>p?p:g;S[e+4392>>3]=o;g=ng?f:g;n=gr?r:k;f=fo?o:f;break j}g=S[e+4392>>3];q=g+S[e+32>>3];p=q+S[e+48>>3];i=S[e+4400>>3];r=i+S[e+24>>3];f=r+S[e+40>>3];b=12;j=4;if(z>>>0>=12){while(1){Nb:{if(!(v&255)){m=in?g:n;k=gh){break Nb}}i=h}o=g>n?g:n;u=o>3]=p;g=gq;l=i>3]=f;d=m>r;Ob:{if(j>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Ob}h=S[((j<<3)+t|0)+8>>3]}k=u?q:o;o=s?q:g;i=l?r:i;g=d?r:m;d=j|1;Pb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Pb}d=((d<<3)+t|0)+8|0}m=p+h;n=kp?p:o;p=f>i?f:i;o=f>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Qb}h=S[((l<<3)+t|0)+8>>3]}g=m+S[d>>3];q=f+h;d=j|3;Rb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Rb}h=S[((d<<3)+t|0)+8>>3]}i=q+h;S[e+4400>>3]=i;E=pq;s=m>n;S[e+4392>>3]=g;l=m>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Sb}h=S[((d<<3)+t|0)+8>>3]}k=E?q:p;q=u?q:o;p=s?m:n;o=l?m:r;d=j+5|0;Tb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Tb}d=((d<<3)+t|0)+8|0}I=i>k;E=ip;s=g>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ub}f=S[((l<<3)+t|0)+8>>3]}h=I?i:k;m=E?i:q;n=u?g:p;k=s?g:o;q=g+S[d>>3];p=q+S[((j<<3)+t|0)- -64>>3];f=r+f;j=b;b=b+8|0;if(z>>>0>=b>>>0){continue}break}}o=j>>>0>>0?f+S[((j<<3)+t|0)+8>>3]:f;Vb:{if(!(v&255)){m=in?g:n;k=gh){break Vb}}i=h}S[e+4400>>3]=o;h=ih?f:h;h=hr?r:m;f=fo?o:f;S[e+4392>>3]=p;f=g>n?g:n;f=fq?q:f;k=f>p?p:f;break j}j=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;i=0}g=S[e+4400>>3];f=S[s>>3];S[e+4392>>3]=S[e+4392>>3]+i;S[e+4400>>3]=g+f;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+j|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3}L[e+4149|0]=1}v=0;N[e+20>>2]=0;N[e+4412>>2]=0;break i}if(!(!s|!j)){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;L[e+4409|0]=1}L[e+4408|0]=1}N[e+4412>>2]=0;b=N[e+20>>2];N[e+20>>2]=0;N[e+4152>>2]=N[e+4152>>2]+(b>>>1|0);break i}n=i;m=g;k=f;L[e+4148|0]=1}N[e+20>>2]=0;N[e+4412>>2]=0}j=0;if(O[e+4164|0]){break a}l=N[e+4>>2];s=N[e+8>>2];if(O[e+16|0]|l>>>0>>0){break a}if(!O[e+4148|0]){continue}}break}S[c+24>>3]=h;S[c+16>>3]=n;S[c+8>>3]=m;S[c>>3]=k;j=1}La=e+4512|0;return j}function UD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=U(0),o=0,p=0,q=0,r=0,s=U(0),t=U(0),u=0,v=0,w=0,x=0,y=0;h=La-4512|0;La=h;a:{b:{o=N[b>>2];k=N[o+148>>2];c:{if(k){break c}l=h- -64|0;while(1){j=N[o>>2];if(!j){k=275552;break c}k=db(1,8);if(!k){k=275552;N[o+148>>2]=275552;break c}N[h+56>>2]=0;N[h+60>>2]=0;N[l>>2]=0;N[l+4>>2]=0;L[h+72|0]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[h+76>>2]=0;N[h+80>>2]=0;f=N[j+32>>2];if((f|0)==-1){b=sb(j+56|0);b=O[b+4|0]|O[b+5|0]<<8;f=(b<<8|b>>>8)&65535;N[j+32>>2]=f}L[h+88|0]=1;N[h+84>>2]=f;b=N[j+12>>2];d:{if(b){f=Qa[b|0](j,1935829368,N[j+16>>2])|0;if(f){break d}}f=275552}e=h+48|0;e:{if(!f){break e}b=N[f>>2];if(!b){break e}if((b|0)<=0){break b}N[f>>2]=b+1}L[e+24|0]=0;N[e+32>>2]=f;g=N[f+12>>2];N[e+4>>2]=g;b=N[f+16>>2];N[e+8>>2]=b+g;if((b|0)<0){break a}N[e+28>>2]=0;if(b>>>0>67108863){b=1073741823}else{b=b<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[e+12>>2]=b;N[e+20>>2]=0;N[e>>2]=0;b=f;f:{g:{if(!g){break g}h:{i:{j:{k:{if(Zi(g,e)){break k}l:{if(O[e+24|0]|!N[e+28>>2]){break l}b=zb(f);N[e+4>>2]=b;N[e+8>>2]=b+N[f+16>>2];if(!b){break l}while(1){L[e+24|0]=1;b=N[e+32>>2];g=N[b+12>>2];N[e+4>>2]=g;i=N[b+16>>2];N[e+8>>2]=i+g;if((i|0)<0){break a}N[e+28>>2]=0;if(i>>>0>67108863){i=1073741823}else{i=i<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}N[e+12>>2]=i;N[e+20>>2]=0;N[e>>2]=0;if(!g){break g}if(Zi(g,e)){break k}if(O[e+24|0]|!N[e+28>>2]){break l}b=zb(f);N[e+4>>2]=b;N[e+8>>2]=b+N[f+16>>2];if(b){continue}break}}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;break j}if(!N[e+28>>2]){break i}N[e+28>>2]=0;b=Zi(g,e);g=N[e+28>>2];ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;if(g){break j}if(b){break h}}ab(f);f=275552;break f}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}if(N[f+4>>2]){N[f+4>>2]=0}break f}ab(b);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}N[k>>2]=f;f=N[j+32>>2];if((f|0)==-1){b=sb(j+56|0);b=O[b+4|0]|O[b+5|0]<<8;f=(b<<8|b>>>8)&65535;N[j+32>>2]=f}N[k+4>>2]=f;if(!N[o+148>>2]){N[o+148>>2]=k;break c}ab(N[k>>2]);_a(k);k=N[o+148>>2];if(!k){continue}break}}f=275552;b=N[k>>2];b=b?b:275552;b=Q[b+16>>2]<8?275552:N[b+12>>2];m:{if(O[b|0]|O[b+1|0]<<8){e=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);n:{if(!e){break n}i=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(e){b=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{b=275552}j=0;if(i>>>0>=2){e=N[a+72>>2];f=N[a+76>>2];e=e>>>0>f>>>0?e:f;l=e?e:1073741824;b=O[b|0]|O[b+1|0]<<8;e=(b<<8|b>>>8)&65535;f=1;while(1){b=N[k>>2];b=b?b:275552;g=Q[b+16>>2]<8?275552:N[b+12>>2];b=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0>f>>>0){b=(g+(f<<2)|0)+8|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=g+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;if(!(!(b>>>0>=l>>>0&b>>>0>>0)&(b>>>0<=e>>>0|e>>>0>=l>>>0))){j=f;e=b}f=f+1|0;if((i|0)!=(f|0)){continue}break}}f=275552;b=N[k>>2];b=b?b:275552;e=Q[b+16>>2]<8?275552:N[b+12>>2];b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0>j>>>0){b=(e+(j<<2)|0)+8|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(!b){break n}f=e+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}j=0;o:{p:{if(!(O[f|0]|O[f+1|0]<<8)){break p}q:{p=N[k>>2];b=N[p+16>>2];m=f-N[p+12>>2]|0;if(b>>>0>m>>>0){r=N[k+4>>2];w=b-m|0;k=f+4|0;g=8;b=c;while(1){if(b>>>0>=r>>>0){break p}e=b+1|0;if((e|0)<0){break p}e=k+(e<<2)|0;i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);l=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);b=k+(b<<2)|0;i=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(l>>>0<=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))>>>0){break p}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);l=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);i=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(l-(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))>>>0<9){break p}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(w>>>0<(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))>>>0){break p}l=275552;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);i=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);i=(i-b|0)-8|0;b=e?b+f|0:275552;v=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if((v|0)!=1701868900){k=0;r=0;if((v|0)!=543649392){break o}f=O[f|0]|O[f+1|0]<<8;r=(f<<8|f>>>8)&65535;f=O[b+2|0]|O[b+3|0]<<8;k=(f<<8|f>>>8)<<16>>16;b=O[b|0]|O[b+1|0]<<8;j=(b<<8|b>>>8)<<16>>16;l=Cl(p,(m+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0)+8|0,i);break o}if(i>>>0<2){break q}b=O[b+8|0]|O[b+9|0]<<8;b=(b<<8|b>>>8)&65535;e=g;g=e-1|0;if(e){continue}break}break q}ba(12869,14314,106,18332);B()}k=0;r=0;break o}k=0;r=0;l=275552}b=Q[l+16>>2]<29?275552:N[l+12>>2];e=O[b+20|0]|O[b+21|0]<<8|(O[b+22|0]<<16|O[b+23|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);r:{if(e>>>0>65535){break r}b=O[b+16|0]|O[b+17|0]<<8|(O[b+18|0]<<16|O[b+19|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b>>>0>=65536){break r}N[d+8>>2]=b;N[d>>2]=j;g=0-e|0;N[d+12>>2]=g;f=e+k|0;N[d+4>>2]=f;if(r){c=N[a+24>>2];e=N[c+28>>2];if(!e){b=ae(c+52|0);b=O[b+18|0]|O[b+19|0]<<8;b=(b<<8|b>>>8)&65535;e=b-16>>>0>=16369?1e3:b;N[c+28>>2]=e;g=N[d+12>>2];f=N[d+4>>2];j=N[d>>2];b=N[d+8>>2]}t=R[a+44>>2];n=U(U(e>>>0)/U(r>>>0));s=U(Z(U(U(t*U(n*U(j|0)))+U(.5))));s:{if(U(V(s))>2]=c;s=R[a+48>>2];t=U(Z(U(U(t*U(n*U(b|0)))+U(.5))));t:{if(U(V(t))>2]=a;t=U(Z(U(U(s*U(n*U(g|0)))+U(.5))));u:{if(U(V(t))>2]=a;n=U(Z(U(U(s*U(n*U(f|0)))+U(.5))));v:{if(U(V(n))>2]=a;ab(l);b=1;break m}i=N[a+56>>2];p=N[a+60>>2];j=UE(i,p,j,j>>31);e=Pa;j=j+32768|0;N[d>>2]=((j>>>0<32768?e+1|0:e)&65535)<<16|j>>>16;e=N[a+64>>2];k=N[a+68>>2];b=b<<16>>16;b=UE(i,p,b,b>>31);j=Pa;b=b+32768|0;N[d+8>>2]=((b>>>0<32768?j+1|0:j)&65535)<<16|b>>>16;b=g<<16>>16;b=UE(e,k,b,b>>31);j=Pa;b=b+32768|0;N[d+12>>2]=((b>>>0<32768?j+1|0:j)&65535)<<16|b>>>16;b=f<<16>>16;b=UE(e,k,b,b>>31);e=Pa;b=b+32768|0;N[d+4>>2]=((b>>>0<32768?e+1|0:e)&65535)<<16|b>>>16}ab(l)}j=N[o+144>>2];w:{if(j){break w}while(1){i=N[o>>2];if(!i){j=275552;break w}e=La-48|0;La=e;x:{j=db(1,12);if(j){N[e+20>>2]=0;N[e+32>>2]=0;b=N[i+32>>2];if((b|0)==-1){b=sb(i+56|0);b=O[b+4|0]|O[b+5|0]<<8;b=(b<<8|b>>>8)&65535;N[i+32>>2]=b}L[e+44|0]=1;N[e+40>>2]=b;b=N[i+12>>2];y:{if(b){b=Qa[b|0](i,1128418371,N[i+16>>2])|0;if(b){break y}}b=275552}f=N[b>>2];if(f){if((f|0)<=0){break b}N[b>>2]=f+1}L[e+28|0]=0;N[e+36>>2]=b;g=N[b+12>>2];N[e+8>>2]=g;f=N[b+16>>2];N[e+12>>2]=f+g;if((f|0)<0){break a}N[e+32>>2]=0;if(f>>>0>67108863){f=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}N[e+16>>2]=f;N[e+24>>2]=0;N[e+4>>2]=0;f=b;z:{A:{if(!g){break A}B:{C:{D:{E:{if(aj(g,e+4|0)){break E}F:{if(O[e+28|0]|!N[e+32>>2]){break F}if(!zb(b)){break F}while(1){L[e+28|0]=1;f=N[e+36>>2];g=N[f+12>>2];N[e+8>>2]=g;k=N[f+16>>2];N[e+12>>2]=k+g;if((k|0)<0){break a}N[e+32>>2]=0;if(k>>>0>67108863){p=1073741823}else{k=k<<6;k=k>>>0<=16384?16384:k;p=k>>>0>=1073741823?1073741823:k}N[e+16>>2]=p;N[e+24>>2]=0;N[e+4>>2]=0;if(!g){break A}if(aj(g,e+4|0)){break E}if(O[e+28|0]|!N[e+32>>2]){break F}f=zb(b);N[e+8>>2]=f;N[e+12>>2]=f+N[b+16>>2];if(f){continue}break}}ab(N[e+36>>2]);break D}if(!N[e+32>>2]){break C}N[e+32>>2]=0;f=aj(g,e+4|0);g=N[e+32>>2];ab(N[e+36>>2]);if(g){break D}if(f){break B}}ab(b);b=275552;break z}ab(N[e+36>>2])}if(!N[b+4>>2]){break z}N[b+4>>2]=0;break z}ab(f)}N[j>>2]=b;if(N[i+32>>2]==-1){b=sb(i+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[i+32>>2]=(b<<8|b>>>8)&65535}b=N[i+12>>2];G:{if(b){b=Qa[b|0](i,1128416340,N[i+16>>2])|0;if(b){break G}}b=275552}f=N[b>>2];if(f){if((f|0)<=0){break b}N[b>>2]=f+1}g=N[b+16>>2];if((g|0)<0){break a}f=N[b+12>>2];H:{if(!f){ab(b);break H}I:{if(g>>>0>=4){f=O[f|0]|O[f+1|0]<<8;ab(b);if((f&65279)!=512){break I}if(!N[b+4>>2]){break H}N[b+4>>2]=0;break H}ab(b)}ab(b);b=275552}N[j+4>>2]=b;b=N[i+28>>2];if(!b){b=ae(i+52|0);b=O[b+18|0]|O[b+19|0]<<8;b=(b<<8|b>>>8)&65535;b=b-16>>>0>=16369?1e3:b;N[i+28>>2]=b}N[j+8>>2]=b}La=e+48|0;b=j;break x}b=b?b:275552;j=N[o+144>>2];if(!j){N[o+144>>2]=b;j=b;break w}if(!b|(b|0)==275552){break w}ab(N[b>>2]);N[b>>2]=0;ab(N[b+4>>2]);_a(b);j=N[o+144>>2];if(!j){continue}break}}b=N[j>>2];b=b?b:275552;g=Q[b+16>>2]<8?275552:N[b+12>>2];b=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);e=275552;J:{if(!b){break J}e=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24)?g+8|0:275552;p=0;k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(k>>>0>=2){b=N[a+72>>2];f=N[a+76>>2];b=b>>>0>f>>>0?b:f;i=b?b:1073741824;b=O[g+52|0];e=O[e+45|0];e=b>>>0>e>>>0?b:e;b=1;while(1){r=275552;l=(g+T(b,48)|0)+8|0;f=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>b>>>0){r=(g+T(b,48)|0)+8|0;f=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}m=O[r+44|0];f=O[(b>>>0>=f>>>0?275552:l)+45|0];f=f>>>0>>0?m:f;if(!(!(f>>>0>=i>>>0&e>>>0>f>>>0)&(e>>>0>=i>>>0|e>>>0>=f>>>0))){p=b;e=f}b=b+1|0;if((k|0)!=(b|0)){continue}break}}b=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);e=275552;if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<=p>>>0){break J}e=(g+T(p,48)|0)+8|0}b=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);K:{if(!b){break K}k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=N[j>>2];b=b?b:275552;l=Q[b+16>>2]<8?275552:N[b+12>>2];i=f+l|0;b=0;while(1){f=0;L:{if((b|0)<0){g=275552;break L}g=i+(b<<3)|0;f=O[g|0]|O[g+1|0]<<8;f=f<<8|f>>>8}M:{if((f&65535)>>>0>c>>>0){break M}f=O[g+2|0]|O[g+3|0]<<8;if(((f<<8|f>>>8)&65535)>>>0>>0){break M}if((b|0)<0){b=275552}else{if(!l){break K}b=i+(b<<3)|0}if(!O[e+44|0]|!O[e+45|0]){break K}N[h+48>>2]=0;N[h+8>>2]=0;N[h+4496>>2]=0;f=O[b|0]|O[b+1|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>c>>>0){break K}g=O[b+2|0]|O[b+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>>0){break K}f=c-f|0;p=h+4496|0;b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(b){b=i+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}g=O[b+2|0]|O[b+3|0]<<8;N[p>>2]=(g<<8|g>>>8)&65535;g=0;N:{O:{P:{Q:{i=O[b|0]|O[b+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 2:break P;case 0:break Q;default:break N}}if((f|0)<-1){break N}p=b+8|0;i=p+(f<<2)|0;k=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);l=(f|0)<0?275552:i;l=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);if((l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24))>>>0>=(k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24))>>>0){break N}b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);l=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=p+(f<<2)|0;f=(f|0)<0;b=f?275552:g;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);N[h+48>>2]=l+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24));b=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);i=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=f?275552:g;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=i-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;break O}if((f|0)<-1){break N}k=b+8|0;i=k+(f<<1)|0;l=O[i+2|0]|O[i+3|0]<<8;p=(l<<8|l>>>8)&65535;l=(f|0)<0?275552:i;l=O[l|0]|O[l+1|0]<<8;if(p>>>0<=((l<<8|l>>>8)&65535)>>>0){break N}g=k+(f<<1)|0;f=(f|0)<0;k=f?275552:g;k=O[k|0]|O[k+1|0]<<8;b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);N[h+48>>2]=((k<<8|k>>>8)&65535)+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24));b=O[i+2|0]|O[i+3|0]<<8;i=(b<<8|b>>>8)&65535;b=f?275552:g;b=O[b|0]|O[b+1|0]<<8;b=i-((b<<8|b>>>8)&65535)|0}N[h+8>>2]=b;g=1}if(!g){break K}b=N[j+4>>2];i=b?b:275552;f=N[i+16>>2];g=N[h+48>>2];if(f>>>0>>0){break K}b=N[h+8>>2];if(b>>>0>f-g>>>0){break K}R:{S:{switch(N[h+4496>>2]-17|0){case 1:if(b>>>0>11){break R}break K;case 0:break S;default:break K}}if(b>>>0<9){break K}}s=U(Q[j+8>>2]);n=U(s/U(O[e+45|0]));b=N[a+64>>2];k=N[a+68>>2];g=g+(f>>>0<4?275552:N[i+12>>2])|0;c=UE(b,k,O[g|0],0);f=32768-c|0;t=U(Z(U(U(n*U((0-(Pa+(c>>>0>32768)|0)&65535)<<16|f>>>16))+U(.5))));T:{if(U(V(t))>31;f=L[g+3|0];p=f>>31;m=O[g+1|0];g=N[a+56>>2];i=N[a+60>>2];a=O[e+44|0];N[d+12>>2]=j;s=U(s/U(a>>>0));a=UE(g,i,m,0);j=Pa;a=a+32768|0;t=U(Z(U(U(s*U(((a>>>0<32768?j+1|0:j)&65535)<<16|a>>>16))+U(.5))));U:{if(U(V(t))>2]=a;b=UE(b,k,f,p);a=Pa;b=b+32768|0;n=U(Z(U(U(n*U(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16))+U(.5))));V:{if(U(V(n))>2]=a;b=UE(g,i,c,l);a=Pa;b=b+32768|0;n=U(Z(U(U(s*U(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16))+U(.5))));W:{if(U(V(n))>2]=a;b=1;break m}b=b+1|0;if((k|0)!=(b|0)){continue}break}}b=N[o+136>>2];X:{if(b){break X}i=h- -64|0;while(1){b=N[o>>2];if(!b){b=275552;break X}N[h+56>>2]=0;N[h+60>>2]=0;N[i>>2]=0;N[i+4>>2]=0;L[h+72|0]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[h+76>>2]=0;N[h+80>>2]=0;L[h+88|0]=1;N[h+84>>2]=0;e=N[b+12>>2];Y:{if(e){b=Qa[e|0](b,1129270354,N[b+16>>2])|0;if(b){break Y}}b=275552}f=h+48|0;Z:{if(!b){break Z}e=N[b>>2];if(!e){break Z}if((e|0)<=0){break b}N[b>>2]=e+1}L[f+24|0]=0;N[f+32>>2]=b;j=N[b+12>>2];N[f+4>>2]=j;e=N[b+16>>2];N[f+8>>2]=e+j;if((e|0)<0){break a}N[f+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[f+12>>2]=e;N[f+20>>2]=0;N[f>>2]=0;e=b;_:{$:{if(!j){break $}aa:{ba:{ca:{da:{if(_i(j,f)){break da}ea:{if(O[f+24|0]|!N[f+28>>2]){break ea}e=zb(b);N[f+4>>2]=e;N[f+8>>2]=e+N[b+16>>2];if(!e){break ea}while(1){L[f+24|0]=1;e=N[f+32>>2];j=N[e+12>>2];N[f+4>>2]=j;g=N[e+16>>2];N[f+8>>2]=g+j;if((g|0)<0){break a}N[f+28>>2]=0;if(g>>>0>67108863){g=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}N[f+12>>2]=g;N[f+20>>2]=0;N[f>>2]=0;if(!j){break $}if(_i(j,f)){break da}if(O[f+24|0]|!N[f+28>>2]){break ea}e=zb(b);N[f+4>>2]=e;N[f+8>>2]=e+N[b+16>>2];if(e){continue}break}}ab(N[f+32>>2]);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;break ca}if(!N[f+28>>2]){break ba}N[f+28>>2]=0;e=_i(j,f);g=N[f+28>>2];ab(N[f+32>>2]);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;if(g){break ca}if(e){break aa}}ab(b);b=275552;break _}ab(N[f+32>>2]);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}break _}ab(e);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0}e=b;b=N[o+136>>2];fa:{if(e){if(b){break fa}b=e;N[o+136>>2]=b;break X}if(b){break X}b=275552;N[o+136>>2]=275552;break X}if((e|0)==275552){break X}ab(e);b=N[o+136>>2];if(!b){continue}break}}m=275552;b=Q[b+16>>2]<14?275552:N[b+12>>2];ga:{if((O[b|0]|O[b+1|0]<<8)!=256){break ga}e=O[b+30|0]|O[b+31|0]<<8|(O[b+32|0]<<16|O[b+33|0]<<24);if(e){m=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}k=275552;p=275552;e=O[b+26|0]|O[b+27|0]<<8|(O[b+28|0]<<16|O[b+29|0]<<24);if(e){p=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}e=O[b+22|0]|O[b+23|0]<<8|(O[b+24|0]<<16|O[b+25|0]<<24);if(e){k=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}b=O[k+1|0]|O[k+2|0]<<8|(O[k+3|0]<<16|O[k+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((b|0)<=0){break ga}j=N[a+84>>2];i=N[a+88>>2];l=k+5|0;b=b-1|0;f=0;while(1){e=b+f>>>1|0;g=l+T(e,7)|0;r=O[g|0]|O[g+1|0]<<8;ha:{if(((r<<8|r>>>8)&65535)>>>0<=c>>>0){f=O[g+2|0]|O[g+3|0]<<8;if(((f<<8|f>>>8)&65535)>>>0>>0){f=e+1|0;break ha}ia:{ja:{ka:{la:{ma:{b=l+T(e,7)|0;b=O[b+5|0]<<8|O[b+4|0]<<16|O[b+6|0];c=b?b+k|0:275552;switch(O[c|0]-1|0){case 1:break ka;case 0:break la;default:break ma}}l=N[d+8>>2];f=N[d+4>>2];g=N[d>>2];e=N[d+12>>2];break ia}b=O[c+7|0]|O[c+8|0]<<8;f=(b<<8|b>>>8)&65535;b=O[c+5|0]|O[c+6|0]<<8;l=(b<<8|b>>>8)&65535;b=O[c+3|0]|O[c+4|0]<<8;e=(b<<8|b>>>8)&65535;b=O[c+1|0]|O[c+2|0]<<8;g=(b<<8|b>>>8)&65535;break ja}b=O[c+7|0]|O[c+8|0]<<8;k=b<<8|b>>>8;b=O[c+5|0]|O[c+6|0]<<8;o=b<<8|b>>>8;b=O[c+3|0]|O[c+4|0]<<8;w=b<<8|b>>>8;b=O[c+1|0]|O[c+2|0]<<8;g=b<<8|b>>>8;if(!j){f=k&65535;l=o&65535;e=w&65535;g=g&65535;break ja}f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);l=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=nd(p,l);b=e>>>16|0;r=O[m+6|0]|O[m+7|0]<<8;r=(r<<8|r>>>8)&65535;na:{if(b>>>0>=r>>>0){n=U(.5);break na}b=(b<<2)+m|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+m|0}else{b=275552}f=e&65535;e=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(e){e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+m|0}else{e=275552}n=U(Fc(b,f,i,j,e,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);l=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[m+6|0]|O[m+7|0]<<8;r=(b<<8|b>>>8)&65535}e=nd(p,(f|0)==-1?-1:l+1|0);b=e>>>16|0;v=b>>>0>=r>>>0;n=U(U(Z(n))+U(g<<16>>16));oa:{if(U(V(n))>>8&65280|b>>>24))+m|0}else{b=275552}f=e&65535;e=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(e){e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+m|0}else{e=275552}n=U(Fc(b,f,i,j,e,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);l=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[m+6|0]|O[m+7|0]<<8;r=(b<<8|b>>>8)&65535}v=nd(p,(f|0)==-1?-1:l+2|0);b=v>>>16|0;x=b>>>0>=r>>>0;n=U(U(Z(n))+U(w<<16>>16));qa:{if(U(V(n))>>8&65280|b>>>24))+m|0}else{b=275552}l=v&65535;f=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(f){f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+m|0}else{f=275552}n=U(Fc(b,l,i,j,f,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);l=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[m+6|0]|O[m+7|0]<<8;r=(b<<8|b>>>8)&65535}c=nd(p,(f|0)==-1?-1:l+3|0);b=c>>>16|0;f=b>>>0>=r>>>0;n=U(U(Z(n))+U(o<<16>>16));sa:{if(U(V(n))>>8&65280|b>>>24))+m|0}else{b=275552}f=c&65535;c=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+m|0}else{c=275552}t=U(Fc(b,f,i,j,c,0)+U(.5))}n=U(U(Z(t))+U(k<<16>>16));if(U(V(n))>2];c=N[a+60>>2];a=e<<16>>16;a=UE(b,c,a,a>>31);e=Pa;a=a+32768|0;N[d+12>>2]=((a>>>0<32768?e+1|0:e)&65535)<<16|a>>>16;a=l<<16>>16;a=UE(b,c,a,a>>31);j=Pa;a=a+32768|0;N[d+8>>2]=((a>>>0<32768?j+1|0:j)&65535)<<16|a>>>16;a=f<<16>>16;e=UE(b,c,a,a>>31);a=Pa;e=e+32768|0;N[d+4>>2]=((e>>>0<32768?a+1|0:a)&65535)<<16|e>>>16;a=g<<16>>16;a=UE(b,c,a,a>>31);e=Pa;a=a+32768|0;N[d>>2]=((a>>>0<32768?e+1|0:e)&65535)<<16|a>>>16;b=1;break m}b=e-1|0}if((b|0)>=(f|0)){continue}break}}f=N[o+60>>2];ta:{if(f){break ta}while(1){b=N[o>>2];if(!b){f=275552;break ta}e=db(1,28);if(!e){f=275552;N[o+60>>2]=275552;break ta}f=Le(e,b);if(!N[o+60>>2]){N[o+60>>2]=f;break ta}ab(N[f+24>>2]);_a(f);f=N[o+60>>2];if(!f){continue}break}}b=1;if(eq(f,a,c,d)){break m}e=Kg(o- -64|0);N[h+72>>2]=0;N[h+76>>2]=0;f=h- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+48>>2]=0;N[h+52>>2]=0;g=0;if(kj(e,c,h+48|0,0)){f=0;q=S[h+64>>3];u=S[h+48>>3];if(q>u){n=R[a+44>>2];s=U(Z(U(U(n*U(u))+U(.5))));ua:{if(U(V(s))>2]=f;N[d+8>>2]=g;g=0;f=0;q=S[h+72>>3];u=S[h+56>>3];if(q>u){n=R[a+48>>2];s=U(Z(U(U(n*U(q))+U(.5))));wa:{if(U(V(s))>2]=f;N[d+12>>2]=g;break m}f=N[o+68>>2];ya:{if(f){break ya}while(1){b=N[o>>2];if(!b){f=275552;break ya}e=db(1,132);if(!e){f=275552;N[o+68>>2]=275552;break ya}f=bq(e,b);if(!N[o+68>>2]){N[o+68>>2]=f;break ya}_a(lj(f));f=N[o+68>>2];if(!f){continue}break}}b=0;if(!N[f+44>>2]|Q[f+128>>2]<=c>>>0){break m}b=lq(N[f+96>>2],c);be(h+4496|0,N[f+88>>2],c);p=b>>>0>=Q[f+120>>2]?275552:N[f+124>>2]+T(b,28)|0;e=N[p+20>>2];k=N[a+84>>2];l=N[a+88>>2];j=N[f+80>>2];L[h+64|0]=0;C(h+68|0,0,4108);b=h+4240|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4248>>2]=0;b=h+4260|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4268>>2]=0;b=h+4280|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4288>>2]=0;b=h+4300|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4308>>2]=0;b=h+4320|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4328>>2]=0;b=h+4340|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4348>>2]=0;N[h+4368>>2]=0;b=h+4360|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4388>>2]=0;b=h+4380|0;N[b>>2]=0;N[b+4>>2]=0;L[h+4212|0]=0;N[h+56>>2]=0;c=N[h+4500>>2];g=c;b=N[h+4496>>2];N[h+48>>2]=b;N[h+52>>2]=g;N[h+4408>>2]=0;c=h+4400|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4224|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4216|0;N[c>>2]=0;N[c+4>>2]=0;N[h+4192>>2]=0;c=h+4184|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4448|0;N[c>>2]=0;N[c+4>>2]=0;N[h+4424>>2]=j;N[h+4176>>2]=b;N[h+4180>>2]=g;N[h+4208>>2]=0;N[h+4200>>2]=0;N[h+4204>>2]=0;L[h+4197|0]=1;L[h+4198|0]=0;N[h+4440>>2]=0;N[h+4444>>2]=0;c=107;b=107;za:{if(!j){break za}j=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);j=j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24);b=107;if(j>>>0<1240){break za}b=j>>>0<33900?1131:32768}N[h+4432>>2]=e;N[h+4420>>2]=b;Aa:{if(!e){break Aa}b=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b>>>0<1240){break Aa}c=b>>>0<33900?1131:32768}N[h+4460>>2]=k;N[h+4456>>2]=l;N[h+4428>>2]=c;b=N[f+84>>2];N[h+4484>>2]=0;N[h+4464>>2]=b;L[h+4489|0]=0;L[h+4490|0]=0;N[h+4476>>2]=0;N[h+4480>>2]=0;i=h- -64|0;c=0;Ba:{if(!l){break Ba}c=0;if(!k){break Ba}c=(O[b|0]|O[b+1|0]<<8)!=0}L[h+4488|0]=c;N[h+4472>>2]=N[p+24>>2];L[h+4196|0]=0;N[h+40>>2]=0;N[h+44>>2]=-1042284544;N[h+32>>2]=0;N[h+36>>2]=-1042284544;N[h+24>>2]=-4194304;N[h+28>>2]=1105199103;N[h+16>>2]=-4194304;N[h+20>>2]=1105199103;L[h+8|0]=0;w=h+72|0;j=1e4;f=0;Ca:{while(1){Da:{j=j-1|0;if(!j){N[h+56>>2]=g+1;break Da}Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{c=f+1|0;Ka:{if(c>>>0<=g>>>0){e=N[h+48>>2];b=O[e+f|0];N[h+56>>2]=c;if((b|0)==12){b=f+2|0;if(b>>>0>g>>>0){b=65535;break Ka}c=O[c+e|0];N[h+56>>2]=b;b=c|256}La:{switch(b-10|0){case 0:case 19:kq(b,h+48|0,h+8|0);break Ea;case 6:jq(h+48|0);b=N[h+68>>2];Ma:{if(b){m=b-1|0;N[h+68>>2]=m;q=S[(i+(m<<3)|0)+8>>3];break Ma}m=0;N[147456]=0;N[147457]=0;L[h+64|0]=1;q=0}l=N[h+4468>>2];if(V(q)<2147483648){g=~~q}else{g=-2147483648}if((g|0)<0){break Ja}k=T(l^-1,g)+m|0;if(k>>>0>m>>>0){break Ha}if(!g){g=0;break Fa}if(!O[h+4488|0]){b=0;if((g|0)!=1){c=g&1;e=g&-2;while(1){f=b+k|0;Na:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Na}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;f=k+(b|1)|0;Oa:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Oa}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!c){break Fa}}b=b+k|0;if(b>>>0>>0){break Ia}N[147456]=0;N[147457]=0;L[h+64|0]=1;S[73728]=0;break Fa}f=N[h+4480>>2];if(!f){break Ga}v=g+k|0;p=N[h+4484>>2];c=f&-2;x=f&1;e=0;while(1){b=v+T(e,l)|0;o=513-b|0;o=o>>>0<=513?o:0;o=l>>>0>o>>>0?o:l;r=e+k|0;Pa:{if(r>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;r=589824;q=0;break Pa}r=(i+(r<<3)|0)+8|0;q=S[r>>3]}u=0;Qa:{if((f|0)!=(o|0)){break Qa}o=w+(b<<3)|0;b=0;if((f|0)!=1){while(1){y=b|1;u=+R[p+(y<<2)>>2]*S[o+(y<<3)>>3]+(+R[p+(b<<2)>>2]*S[o+(b<<3)>>3]+u);b=b+2|0;if((c|0)!=(b|0)){continue}break}b=c;if(!x){break Qa}}u=+R[p+(b<<2)>>2]*S[o+(b<<3)>>3]+u}S[r>>3]=q+u;e=e+1|0;if((g|0)!=(e|0)){continue}break};break Fa;case 5:break La;default:break Ka}}b=N[h+68>>2];Ra:{if(!b){b=0;N[147456]=0;N[147457]=0;L[h+64|0]=1;break Ra}q=S[i+(b<<3)>>3];Sa:{if(V(q)<2147483648){b=~~q;break Sa}b=-2147483648}if((b|0)>=0){break Ra}L[h+64|0]=1;b=0}Ta:{if(O[h+4489|0]|O[h+4490|0]){N[h+56>>2]=g+1;break Ta}N[h+4472>>2]=b}N[h+68>>2]=0;L[h+4489|0]=1;break Ea}b=N[h+4216>>2]?11:14}kq(b,h+48|0,h+8|0);break Ea}L[h+64|0]=1;g=0;break Fa}b=i+(b<<3)|0;S[b+8>>3]=S[b+8>>3]+0;break Fa}N[h+56>>2]=N[h+52>>2]+1;break Ea}b=0;if((g|0)!=1){c=g&1;e=g&-2;while(1){f=b+k|0;Ua:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Ua}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;f=k+(b|1)|0;Va:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Va}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!c){break Fa}}b=b+k|0;Wa:{if(b>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;b=589824;q=0;break Wa}b=(i+(b<<3)|0)+8|0;q=S[b>>3]+0}S[b>>3]=q}b=T(g,l);if(b>>>0<=m>>>0){N[h+68>>2]=m-b;break Ea}L[h+64|0]=1}b=0;if(O[h+4212|0]){break Ca}f=N[h+56>>2];g=N[h+52>>2];if(O[h+64|0]|f>>>0>g>>>0){break Ca}if(!O[h+4196|0]){continue}}break}f=0;b=0;q=S[h+32>>3];u=S[h+16>>3];if(q>u){n=R[a+44>>2];s=U(Z(U(U(n*U(u))+U(.5))));Xa:{if(U(V(s))>2]=b;N[d+8>>2]=f;q=S[h+40>>3];u=S[h+24>>3];Za:{if(!(q>u)){N[d+4>>2]=0;N[d+12>>2]=0;break Za}n=R[a+48>>2];s=U(Z(U(U(n*U(q))+U(.5))));_a:{if(U(V(s))>2]=a;n=U(Z(U(U(n*U(u))+U(.5))));$a:{if(U(V(n))>2]=b-a}b=1}if(N[h+4480>>2]){N[h+4480>>2]=0}_a(N[h+4484>>2])}La=h+4512|0;return b|0}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function ej(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=U(0),q=0,r=0,s=0,t=0,u=0,v=U(0),w=0,x=0,y=U(0),z=U(0),A=U(0),D=0,E=0,G=0,H=0,I=U(0),J=0,K=0,S=0,V=0,W=0,X=0,Y=0,Z=0,_=U(0),$=0,aa=0,ca=U(0),da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0;o=La+-64|0;La=o;if(g>>>0<=64){if(!N[f+4>>2]){h=N[b+88>>2];i=N[b+84>>2];N[f+8>>2]=0;Aa=f,Ba=_E(i,h,32),N[Aa>>2]=Ba;N[f+4>>2]=Pa}j=N[d+4>>2];h=N[a+20>>2];u=!j&(h|0)==1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(h-1|0){case 0:h=N[a+12>>2];i=O[h|0]|O[h+1|0]<<8;if(!i){break k}D=N[a>>2];s=h+10|0;m=(i<<8|i>>>8)<<16>>16;l=s+(m<<1)|0;if(D>>>0>l>>>0){break h}r=D+N[a+4>>2]|0;if(r>>>0>>0){break h}if(r-l>>>0<2){break a}h=u?N[d>>2]:0;if((h|0)<0){break h}m:{i=(s+(m<<1)|0)-2|0;i=O[i|0]|O[i+1|0]<<8;q=(i<<8|i>>>8)&65535;i=q+5|0;n:{if(i>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(i>>>0>=h>>>0){continue}break}if(h>>>0>357913941){break m}i=$a(u?N[d+8>>2]:0,T(h,12));if(!i){break m}if(!u){G=i;t=h;break n}N[d>>2]=h;N[d+8>>2]=i}t=0}i=q+1|0;o:{if(h>>>0>q>>>0){break o}while(1){h=((h>>>1|0)+h|0)+8|0;if(i>>>0>=h>>>0){continue}break}if(h>>>0>357913941){break m}k=$a(u?N[d+8>>2]:G,T(h,12));if(!k){break m}if(!u){G=k;t=h;break o}N[d>>2]=h;N[d+8>>2]=k}j=N[d+4>>2];h=u?j:0;if(q>>>0>=h>>>0){while(1){k=h+1|0;p:{if(!u){n=k;break p}N[d+4>>2]=k}h=T(h,12)+(u?N[d+8>>2]:G)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;j=N[d+4>>2];h=u?j:n;if(q>>>0>=h>>>0){continue}break}}q:{if(!u){n=i;break q}N[d+4>>2]=i;j=i}if(e){break i}if((m|0)<=0){break j}h=0;while(1){i=s+(h<<1)|0;i=O[i|0]|O[i+1|0]<<8;i=(i<<8|i>>>8)&65535;r:{if(i>>>0>=(u?N[d+4>>2]:n)>>>0){N[147456]=0;N[147457]=0;N[147458]=0;i=589824;break r}i=T(i,12)+(u?N[d+8>>2]:G)|0}L[i+9|0]=1;h=h+1|0;if((m|0)!=(h|0)){continue}break}break j}if(!u){break a}N[d>>2]=-1;break a;case 1:break l;default:break i}}h=N[a+12>>2]+10|0;n=N[a>>2];i=0;s:{if(h>>>0>>0){break s}k=n+N[a+4>>2]|0;i=0;if(k>>>0>>0){break s}r=k-h|0;i=0;if(r>>>0<4){break s}m=O[h|0]|O[h+1|0]<<8;q=m<<8|m>>>8;i=q&1?8:6;l=i+2|0;t:{if(q&8){break t}l=i+4|0;q=q&65535;if(q&64){break t}l=q&128?i+8|0:i}i=0;if(l>>>0>r>>>0){break s}u:{if(!(m&8192)){break u}while(1){h=h+l|0;if(n>>>0>h>>>0|h>>>0>k>>>0){break u}i=k-h|0;if(i>>>0<4){break u}q=O[h|0]|O[h+1|0]<<8;r=q<<8|q>>>8;m=r&1?8:6;l=m+2|0;v:{if(r&8){break v}l=m+4|0;r=r&65535;if(r&64){break v}l=r&128?m+8|0:m}if(i>>>0>>0){break u}w=w+1|0;if(q&8192){continue}break}}i=w+1|0}h=u?N[d>>2]:0;if((h|0)<0){break h}n=0;i=(i|0)>0?i:0;if(i>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(i>>>0>=h>>>0){continue}break}w:{if(h>>>0<=357913941){G=$a(u?N[d+8>>2]:0,T(h,12));if(G){break w}}G=0;if(!u){break a}N[d>>2]=-1;break h}if(u){N[d>>2]=h;N[d+8>>2]=G;G=0;h=0}t=h;j=N[d+4>>2]}h=u?j:0;if(i>>>0>h>>>0){while(1){k=h+1|0;x:{if(!u){n=k;break x}N[d+4>>2]=k}h=T(h,12)+(u?N[d+8>>2]:G)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;j=N[d+4>>2];h=u?j:n;if(i>>>0>h>>>0){continue}break}}if(!u){n=i;break i}N[d+4>>2]=i;j=i;break i}ba(10382,14236,182,9951);B()}h=O[l|0]|O[l+1|0]<<8;i=((s+(m<<1)|0)+((h<<8|h>>>8)&65535)|0)+2|0;if(D>>>0>i>>>0|i>>>0>=r>>>0){break a}j=N[d+4>>2];m=u?j:n;if(!m){break i}l=u?N[d+8>>2]:G;s=0;while(1){h=i+1|0;if(h>>>0>r>>>0){break a}q=O[i|0];L[(T(s,12)+l|0)+8|0]=q;k=s+1|0;y:{if(!(q&8)){i=h;break y}i=i+2|0;if(r>>>0>>0){break a}h=O[h|0]+k|0;h=h>>>0>>0?h:m;if(h>>>0<=k>>>0){break y}j=0;D=h+(s^-1)&7;if(D){while(1){L[(T(k,12)+l|0)+8|0]=q;k=k+1|0;j=j+1|0;if((D|0)!=(j|0)){continue}break}}if((h-s|0)-2>>>0>=7){while(1){j=T(k,12)+l|0;L[j+8|0]=q;L[j+20|0]=q;L[j+32|0]=q;L[j+44|0]=q;L[j+56|0]=q;L[j+68|0]=q;L[j+80|0]=q;L[j+92|0]=q;k=k+8|0;if((h|0)!=(k|0)){continue}break}}k=h}s=k;if(m>>>0>k>>>0){continue}break}h=0;j=0;while(1){z:{A:{B:{if((u?N[d+4>>2]:n)>>>0<=h>>>0){N[147456]=0;N[147457]=0;N[147458]=0;break B}l=O[(T(h,12)+l|0)+8|0];if(l&2){k=i+1|0;if(k>>>0>r>>>0){break z}i=O[i|0];if(l&16){j=i+j|0;i=k;break A}j=j-i|0;i=k;break A}if(l&16){break A}}k=i+2|0;if(k>>>0>r>>>0){break z}i=O[i|0]|O[i+1|0]<<8;j=((i<<8|i>>>8)<<16>>16)+j|0;i=k}l=u?N[d+8>>2]:G;R[l+T(h,12)>>2]=j|0;h=h+1|0;w=m>>>0<=h>>>0;if((h|0)!=(m|0)){continue}}break}if(!(w&1)){break h}j=N[d+4>>2];m=u?j:n;if(!m){break i}w=0;h=0;j=0;while(1){C:{D:{E:{if((u?N[d+4>>2]:n)>>>0<=h>>>0){N[147456]=0;N[147457]=0;N[147458]=0;break E}l=O[(T(h,12)+(u?N[d+8>>2]:G)|0)+8|0];if(l&4){k=i+1|0;if(k>>>0>r>>>0){break C}i=O[i|0];if(l&32){j=i+j|0;i=k;break D}j=j-i|0;i=k;break D}if(l&32){break D}}k=i+2|0;if(k>>>0>r>>>0){break C}i=O[i|0]|O[i+1|0]<<8;j=((i<<8|i>>>8)<<16>>16)+j|0;i=k}R[(T(h,12)+(u?N[d+8>>2]:G)|0)+4>>2]=j|0;h=h+1|0;w=m>>>0<=h>>>0;if((h|0)!=(m|0)){continue}}break}if(!(w&1)){break h}j=N[d+4>>2]}l=u?N[d>>2]:t;if((l|0)<0){break h}h=u?j:n;i=h+4|0;i=(i|0)>0?i:0;if(i>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(i>>>0>=l>>>0){continue}break}F:{if(l>>>0<=357913941){h=$a(u?N[d+8>>2]:G,T(l,12));if(h){break F}}if(!u){break h}N[d>>2]=-1;break h}G:{if(!u){G=h;break G}N[d>>2]=l;N[d+8>>2]=h}h=u?N[d+4>>2]:n}if(h>>>0>>0){while(1){k=h+1|0;H:{if(!u){n=k;break H}N[d+4>>2]=k}h=T(h,12)+(u?N[d+8>>2]:G)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;h=u?N[d+4>>2]:n;if(i>>>0>h>>>0){continue}break}}ha=i;if(u){N[d+4>>2]=i;ha=n}r=i-4|0;j=i-r|0;m=j>>>0>i>>>0;t=N[d+8>>2];h=N[a+16>>2];i=N[c+4>>2];k=N[i>>2];I:{J:{if(h>>>0>>0){if((h|0)<0){i=275552}else{i=N[i+20>>2];i=N[(i?i:275552)+12>>2]+(h<<2)|0}h=i+2|0;break J}if(Q[i+4>>2]<=h>>>0){s=N[a+12>>2];k=0;break I}K:{if((k|0)<0){s=275552;break K}n=N[i+20>>2];s=N[(n?n:275552)+12>>2]+(k<<2)|0;k=N[i>>2]}h=(h-k<<1)+s|0}s=N[a+12>>2];i=O[s+2|0]|O[s+3|0]<<8;h=O[h|0]|O[h+1|0]<<8;k=((i<<8|i>>>8)<<16>>16)-((h<<8|h>>>8)<<16>>16)|0;h=N[a+16>>2]}q=m?0:j;i=O[s+8|0]|O[s+9|0]<<8;m=i>>>8|0;n=i<<8;i=N[c+8>>2];l=N[i>>2];L:{M:{if(l>>>0>h>>>0){if((h|0)<0){i=275552}else{i=N[i+20>>2];i=N[(i?i:275552)+12>>2]+(h<<2)|0}h=i+2|0;break M}if(Q[i+4>>2]<=h>>>0){j=0;break L}N:{if((l|0)<0){j=275552;break N}j=N[i+20>>2];j=N[(j?j:275552)+12>>2]+(l<<2)|0;l=N[i>>2]}h=(h-l<<1)+j|0}h=O[h|0]|O[h+1|0]<<8;j=(h<<8|h>>>8)<<16>>16;h=N[a+16>>2]}l=m|n;s=q>>>0<4;m=N[c+4>>2];O:{if(Q[m+4>>2]>h>>>0){i=N[m>>2]-1|0;i=h>>>0>i>>>0?i:h;P:{if((i|0)<0){n=275552;break P}h=N[m+20>>2];n=N[(h?h:275552)+12>>2]+(i<<2)|0;h=N[a+16>>2]}i=O[n|0]|O[n+1|0]<<8;i=(i<<8|i>>>8)&65535;break O}i=0;if(N[m+8>>2]){break O}i=N[m+16>>2]}n=u?t:G;r=T(r,12);l=l<<16>>16;S=s?q:4;m=N[c+8>>2];Q:{if(Q[m+4>>2]>h>>>0){q=N[m>>2]-1|0;h=h>>>0>q>>>0?q:h;if((h|0)<0){h=275552}else{m=N[m+20>>2];h=N[(m?m:275552)+12>>2]+(h<<2)|0}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;break Q}h=0;if(N[m+8>>2]){break Q}h=N[m+16>>2]}Y=n+r|0;j=j+l|0;R:{S:{T:{U:{V:{if(!S){break V}R[Y>>2]=k|0;if((S|0)==1){break V}R[Y+12>>2]=i+k>>>0;if(S>>>0>2){break U}}p=U(j-h|0);break T}R[Y+28>>2]=j|0;p=U(j-h|0);if((S|0)!=3){break S}}N[147456]=0;N[147457]=0;N[147458]=0;i=589824;break R}i=Y+36|0}R[i+4>>2]=p;pa=N[f+4>>2];W:{if(!pa){break W}j=N[a+16>>2];q=N[c>>2];n=N[q>>2];h=n?n:275552;k=Q[h+16>>2]<20?275552:N[h+12>>2];h=O[k+12|0]|O[k+13|0]<<8;if(j>>>0>=((h<<8|h>>>8)&65535)>>>0){break W}m=k+20|0;H=275552;X:{if(L[k+15|0]&1){h=m+(j<<2)|0;h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);break X}h=m+(j<<1)|0;h=O[h|0]|O[h+1|0]<<8;i=((h<<8|h>>>8)&65535)<<1}l=O[k+12|0]|O[k+13|0]<<8;h=0;Y:{if(j>>>0>=((l<<8|l>>>8)&65535)>>>0){break Y}h=j+1|0;if(L[k+15|0]&1){h=m+(h<<2)|0;h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);break Y}h=m+(h<<1)|0;h=O[h|0]|O[h+1|0]<<8;h=((h<<8|h>>>8)&65535)<<1}Z:{if(i>>>0>h>>>0){j=0;break Z}j=N[n+16>>2];k=O[k+16|0]|O[k+17|0]<<8|(O[k+18|0]<<16|O[k+19|0]<<24);k=i+(k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24))|0;m=j-k|0;j=j>>>0>=m>>>0?m:0;h=h-i|0;j=h>>>0>j>>>0?j:h;if(j>>>0<4){j=0;break Z}fa=k+N[n+12>>2]|0;H=fa}h=O[H|0]|O[H+1|0]<<8;if(!h){break W}m=N[d+4>>2];n=N[d+8>>2];sa=N[f>>2];N[o+32>>2]=0;N[o+24>>2]=0;N[o+28>>2]=0;k=275552;i=N[q>>2];i=i?i:275552;i=Q[i+16>>2]<20?275552:N[i+12>>2];i=O[i+4|0]|O[i+5|0]<<8;_:{if(h&128){h=O[H+2|0]|O[H+3|0]<<8;if(h){k=((h<<8|h>>>8)&65535)+H|0}N[o+52>>2]=k;if(!Vp(o+52|0,o+24|0,j+fa|0)){break _}ka=N[o+52>>2]-k|0;h=O[H|0]|O[H+1|0]<<8}if(!(h&65295)){break _}V=H+4|0;if(fa>>>0>V>>>0){break _}ga=j+fa|0;if(ga>>>0>>0){break _}h=ga-V|0;if(h>>>0<4){break _}la=((i<<8|i>>>8)&65535)<<1;j=O[H+6|0]|O[H+7|0]<<8;i=T(la,j>>>5&2|j>>>7&1)+4|0;k=O[H+4|0]|O[H+5|0]<<8;k=(k<<8|k>>>8)&65535;if(h>>>0<(i>>>0>k>>>0?i:k)>>>0){break _}D=u?m:ha;h=(D|0)>0;$=h?D:0;$:{if(h){while(1){X=((X>>>1|0)+X|0)+8|0;if($>>>0>=X>>>0){continue}break}h=0;if(X>>>0>357913941){break $}X=kb(T(X,12));if(!X){break $}}ia=u?n:G;h=T(D,12);if(h){F(X,ia,h)}h=0;aa:{if((D|0)>0){while(1){h=((h>>>1|0)+h|0)+8|0;if($>>>0>=h>>>0){continue}break}n=0;if(h>>>0>357913941){break aa}h=kb(T(h,12));if(!h){break aa}}n=h;if(D){h=0;j=0;while(1){ba:{if(!O[(T(h,12)+ia|0)+9|0]){break ba}ca:{da:{if((j|0)<0){break da}k=j;i=ja+1|0;if(j>>>0>=i>>>0){l=Z;break ca}while(1){k=((k>>>1|0)+k|0)+8|0;if(i>>>0>=k>>>0){continue}break}j=-1;if(k>>>0>1073741823){break da}l=$a(Z,k<<2);if(l){break ca}}N[147456]=0;break ba}N[(ja<<2)+l>>2]=h;Z=l;ja=i;j=k}h=h+1|0;if((D|0)!=(h|0)){continue}break}j=O[H+6|0]|O[H+7|0]<<8;k=D}else{k=0}ta=o+60|0;ua=o+56|0;va=o+32|0;wa=o+28|0;h=N[q>>2];h=h?h:275552;h=Q[h+16>>2]<20?275552:N[h+12>>2];i=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);m=O[h+6|0]|O[h+7|0]<<8;ma=O[h+4|0]|O[h+5|0]<<8;N[o+60>>2]=0;N[o+52>>2]=0;N[o+56>>2]=0;W=(ma<<8|ma>>>8)&65535;na=T(W,(m<<8|m>>>8)&65535);xa=h+(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))|0;ya=D&-2;za=D&1;qa=T($,12);r=0;i=0;while(1){ea:{fa:{ga:{t=j&128;ha:{if(t){h=T(j>>>5&2|j>>>7&1,W);w=h>>>0>>0?h:W;s=V+4|0;break ha}h=T((j<<8|(j&65280)>>>8)&4095,W);if(h>>>0>=na>>>0){break ga}m=na-h|0;m=m>>>0<=na>>>0?m:0;w=m>>>0>>0?m:W;s=(h<<1)+xa|0}h=0;m=0;l=0;J=0;q=0;if(j&64){j=T(j>>>5&2|j>>>7&1,W);m=t?W:0;t=m+W|0;l=j-t|0;l=j>>>0>=l>>>0?l:0;l=l>>>0>>0?l:W;q=j-m|0;j=j>>>0>=q>>>0?q:0;q=j>>>0>>0?j:W;j=V+4|0;J=j+(m<<1)|0;m=j+(t<<1)|0}p=U(1);if(ma){while(1){ia:{if(h>>>0>=pa>>>0){N[147456]=0;j=0;break ia}j=N[(h<<2)+sa>>2]}x=h<<1;t=h>>>0>=w>>>0?275552:x+s|0;K=O[t|0]|O[t+1|0]<<8;ja:{if(!K){break ja}t=(K<<8|K>>>8)<<16>>16;if((t|0)==(j|0)){break ja}if(O[V+2|0]&64){E=h>>>0>=q>>>0?275552:x+J|0;aa=O[E|0]|O[E+1|0]<<8;E=(aa<<8|aa>>>8)<<16>>16;if((E|0)>(t|0)){break ja}x=h>>>0>=l>>>0?275552:m+x|0;oa=O[x|0]|O[x+1|0]<<8;x=(oa<<8|oa>>>8)<<16>>16;if((x|0)<(t|0)|(E|0)<0&(x|0)>0){break ja}if((j|0)<(E|0)|(j|0)>(x|0)){break ga}if((j|0)<(t|0)){if((K|0)==(aa|0)){break ja}p=U(p*U(U(j-E|0)/U(t-E|0)));break ja}if((K|0)==(oa|0)){break ja}p=U(p*U(U(x-j|0)/U(x-t|0)));break ja}if(!j|(j|0)>(((t|0)>0?t:0)|0)|(j|0)<(t&t>>31)){break ga}p=U(p*U(U(j|0)/U(t|0)))}h=h+1|0;if((W|0)!=(h|0)){continue}break}if(p==U(0)){break ga}}j=o;h=O[H+2|0]|O[H+3|0]<<8;if(h){h=((h<<8|h>>>8)&65535)+H|0}else{h=275552}h=h+ka|0;N[j+48>>2]=h;ka:{if(h>>>0>>0|h>>>0>ga>>>0){break ka}j=O[V|0]|O[V+1|0]<<8;j=(j<<8|j>>>8)&65535;if(j>>>0>ga-h>>>0){break ka}s=h+j|0;h=va;j=wa;if(O[V+2|0]&32){h=ta;j=ua;if(!Vp(o+48|0,o+52|0,s)){break ka}}if((da|0)<0){break ka}K=N[h>>2];J=N[j>>2];w=J?J:k;t=(w|0)>0?w:0;la:{if(t>>>0<=da>>>0){q=r;break la}while(1){da=((da>>>1|0)+da|0)+8|0;if(t>>>0>=da>>>0){continue}break}if(da>>>0>1073741823){break ka}q=$a(r,da<<2);if(!q){break ka}}E=(w|0)<=0;if(!E){j=0;h=N[o+48>>2];k=h+1|0;if(s>>>0>>0){m=i;break ea}ma:{while(1){r=O[h|0];l=r&63;h=l+1|0;m=h+j|0;if(m>>>0>t>>>0){m=i;break ea}na:{if(r<<24>>24<0){C((j<<2)+q|0,0,(l<<2)+4|0);h=k;j=m;break na}if(r&64){if(s>>>0<(h<<1)+k>>>0){m=i;break ea}m=h&3;oa:{if(l>>>0<3){h=k;break oa}r=h&124;l=0;h=k;while(1){k=(j<<2)+q|0;x=O[h|0]|O[h+1|0]<<8;N[k>>2]=(x<<8|x>>>8)<<16>>16;x=O[h+2|0]|O[h+3|0]<<8;N[k+4>>2]=(x<<8|x>>>8)<<16>>16;x=O[h+4|0]|O[h+5|0]<<8;N[k+8>>2]=(x<<8|x>>>8)<<16>>16;aa=k;k=O[h+6|0]|O[h+7|0]<<8;N[aa+12>>2]=(k<<8|k>>>8)<<16>>16;j=j+4|0;h=h+8|0;l=l+4|0;if((r|0)!=(l|0)){continue}break}}k=0;if(!m){break na}while(1){l=O[h|0]|O[h+1|0]<<8;N[(j<<2)+q>>2]=(l<<8|l>>>8)<<16>>16;j=j+1|0;h=h+2|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}break na}if(s>>>0>>0){m=i;break ea}m=h&3;pa:{if(l>>>0<3){h=k;break pa}r=h&124;l=0;h=k;while(1){k=(j<<2)+q|0;N[k>>2]=L[h|0];N[k+4>>2]=L[h+1|0];N[k+8>>2]=L[h+2|0];N[k+12>>2]=L[h+3|0];j=j+4|0;h=h+4|0;l=l+4|0;if((r|0)!=(l|0)){continue}break}}k=0;if(!m){break na}while(1){N[(j<<2)+q>>2]=L[h|0];j=j+1|0;h=h+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}if(j>>>0>=t>>>0){break ma}k=h+1|0;if(s>>>0>=k>>>0){continue}break}m=i;break ea}N[o+48>>2]=h}if((ea|0)<0){m=i;break ea}qa:{if(t>>>0<=ea>>>0){m=i;break qa}while(1){ea=((ea>>>1|0)+ea|0)+8|0;if(t>>>0>=ea>>>0){continue}break}if(ea>>>0>1073741823){m=i;break ea}m=$a(i,ea<<2);if(m){break qa}m=i;break ea}if(!E){j=0;h=N[o+48>>2];k=h+1|0;if(s>>>0>>0){break ea}while(1){r=O[h|0];l=r&63;h=l+1|0;i=h+j|0;if(i>>>0>t>>>0){break ea}ra:{if(r<<24>>24<0){C((j<<2)+m|0,0,(l<<2)+4|0);h=k;j=i;break ra}if(r&64){if(s>>>0<(h<<1)+k>>>0){break ea}r=h&3;sa:{if(l>>>0<3){h=k;break sa}E=h&124;l=0;h=k;while(1){i=(j<<2)+m|0;k=O[h|0]|O[h+1|0]<<8;N[i>>2]=(k<<8|k>>>8)<<16>>16;k=O[h+2|0]|O[h+3|0]<<8;N[i+4>>2]=(k<<8|k>>>8)<<16>>16;k=O[h+4|0]|O[h+5|0]<<8;N[i+8>>2]=(k<<8|k>>>8)<<16>>16;k=i;i=O[h+6|0]|O[h+7|0]<<8;N[k+12>>2]=(i<<8|i>>>8)<<16>>16;j=j+4|0;h=h+8|0;l=l+4|0;if((E|0)!=(l|0)){continue}break}}k=0;if(!r){break ra}while(1){i=O[h|0]|O[h+1|0]<<8;N[(j<<2)+m>>2]=(i<<8|i>>>8)<<16>>16;j=j+1|0;h=h+2|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}break ra}if(s>>>0>>0){break ea}r=h&3;ta:{if(l>>>0<3){h=k;break ta}E=h&124;l=0;h=k;while(1){i=(j<<2)+m|0;N[i>>2]=L[h|0];N[i+4>>2]=L[h+1|0];N[i+8>>2]=L[h+2|0];N[i+12>>2]=L[h+3|0];j=j+4|0;h=h+4|0;l=l+4|0;if((E|0)!=(l|0)){continue}break}}k=0;if(!r){break ra}while(1){N[(j<<2)+m>>2]=L[h|0];j=j+1|0;h=h+1|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if(j>>>0>>0){k=h+1|0;if(s>>>0>>0){break ea}continue}break}N[o+48>>2]=h}if(qa){C(n,0,qa)}ua:{va:{if(p==U(1)){k=0;j=0;if(!w){break ua}while(1){h=j;wa:{if(!J){break wa}if(j>>>0>=J>>>0){N[147456]=0;h=0;break wa}h=N[K+(j<<2)>>2]}if(h>>>0<$>>>0){h=T(h,12)+n|0;i=O[h+8|0];L[h+8|0]=1;l=j<<2;R[h>>2]=R[h>>2]+U(N[l+q>>2]);R[h+4>>2]=R[h+4>>2]+U(N[l+m>>2]);k=!i+k|0}j=j+1|0;if((w|0)!=(j|0)){continue}break}break va}k=0;j=0;if(!w){break ua}while(1){h=j;xa:{if(!J){break xa}if(j>>>0>=J>>>0){N[147456]=0;h=0;break xa}h=N[K+(j<<2)>>2]}if(h>>>0<$>>>0){h=T(h,12)+n|0;i=O[h+8|0];L[h+8|0]=1;l=j<<2;R[h>>2]=U(U(N[l+q>>2])*p)+R[h>>2];R[h+4>>2]=U(U(N[l+m>>2])*p)+R[h+4>>2];k=!i+k|0}j=j+1|0;if((w|0)!=(j|0)){continue}break}}if(!k|k>>>0>=$>>>0){break ua}r=0;i=0;if(!ja){break ua}while(1){J=N[(r<<2)+Z>>2];w=J+1|0;ya:{if(w>>>0<=i>>>0){t=J-i|0;j=0;break ya}k=w-i|0;K=k&3;l=0;j=0;h=i;t=J-h|0;if(t>>>0>=3){E=k&-4;s=0;while(1){k=T(h,12)+n|0;j=(((O[k+8|0]+j|0)+O[k+20|0]|0)+O[k+32|0]|0)+O[k+44|0]|0;h=h+4|0;s=s+4|0;if((E|0)!=(s|0)){continue}break}}if(!K){break ya}while(1){j=O[(T(h,12)+n|0)+8|0]+j|0;h=h+1|0;l=l+1|0;if((K|0)!=(l|0)){continue}break}}h=t-j|0;if(h>>>0>>0){l=h+1|0;h=i;za:while(1){k=h;h=h>>>0>>0?h+1|0:i;E=T(k,12);s=E+n|0;if(!O[s+8|0]){continue}j=1;if(O[(T(h,12)+n|0)+8|0]){continue}h=k;while(1){K=j&255;h=h>>>0>>0?h+1|0:i;x=T(h,12);t=x+n|0;aa=O[t+8|0];j=aa;if(K){continue}j=0;if(!aa){continue}break}K=x+X|0;E=E+X|0;while(1){k=k>>>0>>0?k+1|0:i;if((k|0)==(h|0)){continue za}j=T(k,12);x=j+X|0;j=j+n|0;y=R[s>>2];z=R[t>>2];p=R[E>>2];v=R[K>>2];A=y==z?y:U(0);Aa:{if(p==v){break Aa}I=R[x>>2];A=pv?y:z;if(I>=(p>=v?p:v)){break Aa}A=U(U(U(U(I-p)/U(v-p))*U(z-y))+y)}R[j>>2]=A;y=R[s+4>>2];z=R[t+4>>2];p=R[E+4>>2];v=R[K+4>>2];A=y==z?y:U(0);Ba:{if(p==v){break Ba}I=R[x+4>>2];A=pv?y:z;if(I>=(p>=v?p:v)){break Ba}A=U(U(U(U(I-p)/U(v-p))*U(z-y))+y)}R[j+4>>2]=A;l=l-1|0;if(l){continue}break}break}}i=w;r=r+1|0;if((ja|0)!=(r|0)){continue}break}}Ca:{if(!D){break Ca}h=0;if((D|0)!=1){while(1){k=T(h,12);i=k+ia|0;k=k+n|0;R[i>>2]=R[k>>2]+R[i>>2];R[i+4>>2]=R[k+4>>2]+R[i+4>>2];k=T(h|1,12);i=k+ia|0;k=k+n|0;R[i>>2]=R[k>>2]+R[i>>2];R[i+4>>2]=R[k+4>>2]+R[i+4>>2];h=h+2|0;if((ya|0)!=(h|0)){continue}break}if(!za){break Ca}}i=T(h,12);h=i+ia|0;i=i+n|0;R[h>>2]=R[i>>2]+R[h>>2];R[h+4>>2]=R[i+4>>2]+R[h+4>>2]}k=D;break fa}q=r;m=i;break ea}m=i;q=r}ra=ra+1|0;h=O[H|0]|O[H+1|0]<<8;if(ra>>>0>=((h<<8|h>>>8)&4095)>>>0){break ea}h=O[V+2|0]|O[V+3|0]<<8;h=(T(h>>>5&2|h>>>7&1,la)+V|0)+4|0;if(h>>>0>>0|h>>>0>ga>>>0){break ea}l=ga-h|0;if(l>>>0<4){break ea}i=O[V|0]|O[V+1|0]<<8;ka=((i<<8|i>>>8)&65535)+ka|0;r=q;i=m;j=O[h+2|0]|O[h+3|0]<<8;s=T(j>>>5&2|j>>>7&1,la)+4|0;V=h;h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;if(l>>>0>=(h>>>0>>0?s:h)>>>0){continue}}break}_a(m);_a(q);_a(N[o+60>>2]);_a(Z)}_a(n);h=X}_a(h)}_a(N[o+32>>2])}Da:{switch(N[a+20>>2]-1|0){case 0:if(u){break f}h=N[d>>2];if((h|0)<0){break f}b=N[d+4>>2];a=b+ha|0;a=(a|0)>0?a:0;if(a>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(a>>>0>=h>>>0){continue}break}Ea:{if(h>>>0<=357913941){c=$a(N[d+8>>2],T(h,12));if(c){break Ea}}N[d>>2]=-1;break f}N[d>>2]=h;N[d+8>>2]=c}N[d+4>>2]=a;a=T(ha,12);if(!a){break f}F(N[d+8>>2]+T(b,12)|0,G,a);break f;case 1:break Da;default:break g}}j=0;N[o+60>>2]=0;N[o+52>>2]=0;N[o+56>>2]=0;Fa:{Ga:{Ha:{n=N[a+12>>2]+10|0;D=N[a>>2];Ia:{if(n>>>0>>0){break Ia}t=D+N[a+4>>2]|0;if(t>>>0>>0){break Ia}a=t-n|0;if(a>>>0<4){break Ia}h=O[n|0]|O[n+1|0]<<8;i=h<<8|h>>>8;h=i&1?8:6;s=h+2|0;Ja:{if(i&8){break Ja}s=h+4|0;i=i&65535;if(i&64){break Ja}s=i&128?h+8|0:h}if(a>>>0>=s>>>0){break Ha}}h=N[d+4>>2];break Ga}m=Y+36|0;q=Y+24|0;r=Y+12|0;$=g+1|0;l=0;w=0;while(1){Ka:{if(N[o+52>>2]<0){N[o+52>>2]=l;if((l|0)<0){break Ka}}N[o+56>>2]=0}La:{Ma:{a=O[n+2|0]|O[n+3|0]<<8;k=(a<<8|a>>>8)&65535;if(k>>>0>=Q[c+16>>2]){break Ma}a=N[c+20>>2];a=N[(a?a:275552)+12>>2];Na:{if(O[c+12|0]){a=a+(k<<1)|0;h=O[a|0]|O[a+1|0]<<8;j=((h<<8|h>>>8)&65535)<<1;a=O[a+2|0]|O[a+3|0]<<8;a=((a<<8|a>>>8)&65535)<<1;break Na}a=a+(k<<2)|0;h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);j=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);a=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}Oa:{if(a>>>0>=j>>>0){h=N[c+24>>2];h=h?h:275552;if(a>>>0<=Q[h+16>>2]){break Oa}}break Ma}i=N[h+12>>2]+j|0;l=a-j|0;j=l>>>0<10?275552:i;a=O[j|0]|O[j+1|0]<<8;if(a){h=(a<<8|a>>>8)<<16>>16>0?1:(a|0)==65279?3:2}else{h=0}N[o+32>>2]=0;N[o+28>>2]=l;N[o+24>>2]=i;break La}h=0;N[o+32>>2]=0;N[o+24>>2]=0;N[o+28>>2]=0;k=-1;j=275552}N[o+44>>2]=h;N[o+40>>2]=k;N[o+36>>2]=j;N[o+16>>2]=N[f+8>>2];a=N[f+4>>2];N[o+8>>2]=N[f>>2];N[o+12>>2]=a;if(!ej(o+24|0,b,c,o+52|0,e,o+8|0,$)){break Fa}h=O[n|0]|O[n+1|0]<<8;if(h&2){h=N[o+56>>2];Pa:{if(h>>>0<=3){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Pa}a=(N[o+60>>2]+T(h,12)|0)-48|0}j=Y;if(!S){N[147456]=0;N[147457]=0;N[147458]=0;j=589824}i=N[a+4>>2];N[j>>2]=N[a>>2];N[j+4>>2]=i;M[j+8>>1]=P[a+8>>1];Qa:{if(h>>>0<=2){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Qa}a=(N[o+60>>2]+T(h,12)|0)-36|0}j=r;if(S>>>0<=1){N[147456]=0;N[147457]=0;N[147458]=0;j=589824}i=N[a+4>>2];N[j>>2]=N[a>>2];N[j+4>>2]=i;M[j+8>>1]=P[a+8>>1];Ra:{if(h>>>0<=1){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Ra}a=(N[o+60>>2]+T(h,12)|0)-24|0}j=q;if(S>>>0<=2){N[147456]=0;N[147457]=0;N[147458]=0;j=589824}i=N[a+4>>2];N[j>>2]=N[a>>2];N[j+4>>2]=i;M[j+8>>1]=P[a+8>>1];Sa:{if(!h){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Sa}a=(N[o+60>>2]+T(h,12)|0)-12|0}h=m;if(S>>>0<=3){N[147456]=0;N[147457]=0;N[147458]=0;h=589824}i=N[a+4>>2];N[h>>2]=N[a>>2];N[h+4>>2]=i;M[h+8>>1]=P[a+8>>1];h=O[n|0]|O[n+1|0]<<8}a=h<<8|(h&65280)>>>8;j=a&65535;Ta:{if(a&1){a=O[n+6|0]|O[n+7|0]<<8;l=(a<<8|a>>>8)<<16>>16;a=O[n+4|0]|O[n+5|0]<<8;i=(a<<8|a>>>8)<<16>>16;a=n+8|0;break Ta}l=L[n+5|0];i=L[n+4|0];a=n+6|0}k=l;l=h<<22>>31;k=k&l;i=i&l;Ua:{Va:{Wa:{if(j&8){v=U(0);a=O[a|0]|O[a+1|0]<<8;y=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));p=y;break Wa}if(j&64){j=O[a+2|0]|O[a+3|0]<<8;y=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));v=U(0);a=O[a|0]|O[a+1|0]<<8;p=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));break Wa}if(j&128){j=O[a+6|0]|O[a+7|0]<<8;y=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));j=O[a+4|0]|O[a+5|0]<<8;_=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));j=O[a+2|0]|O[a+3|0]<<8;v=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));a=O[a|0]|O[a+1|0]<<8;p=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));break Va}if(!(i|k)){break Ua}v=U(0);y=U(1);p=U(1)}_=U(0)}z=U(k|0);I=U(i|0);if((h&24)==8){Xa:{if(!(i|k)){break Xa}a=N[o+56>>2];if(!a){break Xa}i=N[o+60>>2];h=0;if((a|0)!=1){k=a&1;j=a&-2;while(1){a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;a=i+T(h|1,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break Xa}}a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z}if(!(p!=U(1)|v!=U(0)|_!=U(0))){if(y==U(1)){break Ua}}a=N[o+56>>2];if(!a){break Ua}i=N[o+60>>2];h=0;if((a|0)!=1){k=a&1;j=a&-2;while(1){a=i+T(h,12)|0;z=R[a>>2];I=R[a+4>>2];R[a+4>>2]=U(z*v)+U(y*I);R[a>>2]=U(z*p)+U(_*I);a=i+T(h|1,12)|0;z=R[a>>2];I=R[a+4>>2];R[a+4>>2]=U(z*v)+U(y*I);R[a>>2]=U(z*p)+U(_*I);h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break Ua}}a=i+T(h,12)|0;z=R[a>>2];A=U(z*v);v=R[a+4>>2];R[a+4>>2]=A+U(y*v);R[a>>2]=U(z*p)+U(_*v);break Ua}Ya:{if(!(p!=U(1)|v!=U(0)|_!=U(0))){if(y==U(1)){break Ya}}a=N[o+56>>2];if(!a){break Ya}j=N[o+60>>2];h=0;if((a|0)!=1){l=a&1;Z=a&-2;while(1){a=j+T(h,12)|0;ca=R[a>>2];A=R[a+4>>2];R[a+4>>2]=U(ca*v)+U(y*A);R[a>>2]=U(ca*p)+U(_*A);a=j+T(h|1,12)|0;ca=R[a>>2];A=R[a+4>>2];R[a+4>>2]=U(ca*v)+U(y*A);R[a>>2]=U(ca*p)+U(_*A);h=h+2|0;if((Z|0)!=(h|0)){continue}break}if(!l){break Ya}}a=j+T(h,12)|0;ca=R[a>>2];A=U(ca*v);v=R[a+4>>2];R[a+4>>2]=A+U(y*v);R[a>>2]=U(ca*p)+U(_*v)}if(!(i|k)){break Ua}a=N[o+56>>2];if(!a){break Ua}i=N[o+60>>2];h=0;if((a|0)!=1){k=a&1;j=a&-2;while(1){a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;a=i+T(h|1,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break Ua}}a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z}Za:{if((u?N[d+4>>2]:ha)>>>0<=w>>>0){N[147456]=0;N[147457]=0;N[147458]=0;h=589824;v=U(0);p=U(0);break Za}h=T(w,12)+(u?N[d+8>>2]:G)|0;v=R[h+4>>2];p=R[h>>2]}_a:{if(p==U(0)&v==U(0)){break _a}a=N[o+56>>2];if(!a){break _a}i=N[o+60>>2];j=0;if((a|0)!=1){k=a&1;l=a&-2;while(1){a=i+T(j,12)|0;R[a>>2]=R[h>>2]+R[a>>2];R[a+4>>2]=R[h+4>>2]+R[a+4>>2];a=i+T(j|1,12)|0;R[a>>2]=R[h>>2]+R[a>>2];R[a+4>>2]=R[h+4>>2]+R[a+4>>2];j=j+2|0;if((l|0)!=(j|0)){continue}break}if(!k){break _a}v=R[h+4>>2];p=R[h>>2]}a=i+T(j,12)|0;R[a>>2]=p+R[a>>2];R[a+4>>2]=v+R[a+4>>2]}a=O[n|0]|O[n+1|0]<<8;$a:{if(a&512){l=N[o+56>>2];break $a}l=N[o+56>>2];ab:{if(a&256){a=O[n+6|0]|O[n+7|0]<<8;j=(a<<8|a>>>8)&65535;a=O[n+4|0]|O[n+5|0]<<8;a=(a<<8|a>>>8)&65535;break ab}j=O[n+5|0];a=O[n+4|0]}if(a>>>0>=Q[d+4>>2]|j>>>0>=l>>>0){break $a}h=N[d+8>>2]+T(a,12)|0;a=N[o+60>>2];i=a+T(j,12)|0;p=U(R[h+4>>2]-R[i+4>>2]);v=U(R[h>>2]-R[i>>2]);if(v==U(0)&p==U(0)){break $a}h=0;if((l|0)!=1){k=l&1;j=l&-2;while(1){i=a+T(h,12)|0;R[i>>2]=v+R[i>>2];R[i+4>>2]=p+R[i+4>>2];i=a+T(h|1,12)|0;R[i>>2]=v+R[i>>2];R[i+4>>2]=p+R[i+4>>2];h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break $a}}a=a+T(h,12)|0;R[a>>2]=v+R[a>>2];R[a+4>>2]=p+R[a+4>>2]}a=N[d+4>>2];j=N[o+60>>2];i=N[d>>2];bb:{if((i|0)<0){h=a;break bb}h=l-4|0;k=h>>>0>l>>>0?l:h;h=k+a|0;h=(h|0)>0?h:0;cb:{if(i>>>0>>0){while(1){i=((i>>>1|0)+i|0)+8|0;if(i>>>0<=h>>>0){continue}break}db:{if(i>>>0<=357913941){Z=$a(N[d+8>>2],T(i,12));if(Z){break db}}N[d>>2]=-1;break cb}N[d>>2]=i;N[d+8>>2]=Z}N[d+4>>2]=h;i=T(k,12);if(!i){break bb}F(N[d+8>>2]+T(a,12)|0,j,i)}h=N[d+4>>2]}if(h>>>0>1e4){break Fa}if(!(O[n+1|0]&32)){break Ga}n=n+s|0;if(D>>>0>n>>>0|n>>>0>t>>>0){break Ga}a=t-n|0;if(a>>>0<4){break Ga}w=(h>>>0<10001)+w|0;i=O[n|0]|O[n+1|0]<<8;k=i<<8|i>>>8;i=k&1?8:6;s=i+2|0;eb:{if(k&8){break eb}s=i+4|0;k=k&65535;if(k&64){break eb}s=k&128?i+8|0:i}if(a>>>0>=s>>>0){continue}break}}k=N[d>>2];fb:{if((k|0)<0){break fb}a=h+S|0;a=(a|0)>0?a:0;if(a>>>0>k>>>0){while(1){k=((k>>>1|0)+k|0)+8|0;if(a>>>0>=k>>>0){continue}break}gb:{if(k>>>0<=357913941){b=$a(N[d+8>>2],T(k,12));if(b){break gb}}N[d>>2]=-1;break fb}N[d>>2]=k;N[d+8>>2]=b}N[d+4>>2]=a;if(!S){break fb}F(N[d+8>>2]+T(h,12)|0,Y,T(S,12))}_a(j);break f}_a(N[o+60>>2])}J=0;break a}h=N[d>>2];if((h|0)<0){break f}b=N[d+4>>2];a=b+S|0;a=(a|0)>0?a:0;if(a>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(a>>>0>=h>>>0){continue}break}hb:{if(h>>>0<=357913941){c=$a(N[d+8>>2],T(h,12));if(c){break hb}}N[d>>2]=-1;break f}N[d>>2]=h;N[d+8>>2]=c}N[d+4>>2]=a;if(!S){if(g){break b}break e}F(N[d+8>>2]+T(b,12)|0,Y,T(S,12));if(g){break b}break d}if(g){break b}if(S){break d}}N[147456]=0;N[147457]=0;N[147458]=0;p=U(0);break c}p=R[Y>>2]}if(p==U(0)){break b}a=N[d+4>>2];if(!a){break b}b=N[d+8>>2];h=0;if((a|0)!=1){c=a&1;e=a&-2;while(1){a=b+T(h,12)|0;R[a>>2]=R[a>>2]-p;R[a+4>>2]=R[a+4>>2]+U(0);a=b+T(h|1,12)|0;R[a>>2]=R[a>>2]-p;R[a+4>>2]=R[a+4>>2]+U(0);h=h+2|0;if((e|0)!=(h|0)){continue}break}if(!c){break b}}a=b+T(h,12)|0;R[a>>2]=R[a>>2]-p;R[a+4>>2]=R[a+4>>2]+U(0)}J=N[d>>2]>=0}_a(G)}La=o- -64|0;return J}function co(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,I=0,J=0,K=0,P=0,R=0,V=0,X=0,Y=0,Z=0,_=0,$=0;X=La-16|0;La=X;N[X+12>>2]=b;e=La-144|0;La=e;C(e,0,144);N[e+76>>2]=-1;N[e+44>>2]=a;N[e+32>>2]=381;N[e+84>>2]=a;P=b;a=0;q=La-304|0;La=q;a:{b:{c:{d:{if(N[e+4>>2]){break d}mi(e);if(N[e+4>>2]){break d}break c}b=17004;r=37;e:{f:{g:{h:{while(1){i:{d=r&255;j:{if((d|0)==32|d-9>>>0<5){while(1){r=b;b=b+1|0;d=O[r+1|0];if((d|0)==32|d-9>>>0<5){continue}break}cd(e,0,0);while(1){b=N[e+4>>2];k:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break k}b=Db(e)}if((b|0)==32|b-9>>>0<5){continue}break}b=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){b=b-1|0;N[e+4>>2]=b}b=b-N[e+44>>2]|0;d=b;g=G+N[e+124>>2]|0;f=b>>31;b=z+N[e+120>>2]|0;m=f+(b>>>0>>0?g+1|0:g)|0;z=b+d|0;G=z>>>0>>0?m+1|0:m;break j}l:{m:{n:{if(O[b|0]==37){d=O[b+1|0];if((d|0)==42){break n}if((d|0)!=37){break m}}cd(e,0,0);o:{if(O[b|0]==37){while(1){d=N[e+4>>2];p:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;r=O[d|0];break p}r=Db(e)}if((r|0)==32|r-9>>>0<5){continue}break}b=b+1|0;break o}d=N[e+4>>2];if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;r=O[d|0];break o}r=Db(e)}if(O[b|0]!=(r|0)){b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}if((r|0)>=0){break a}n=0;if(R){break a}break c}d=N[e+4>>2]-N[e+44>>2]|0;g=d;m=G+N[e+124>>2]|0;f=d>>31;d=z+N[e+120>>2]|0;o=f+(d>>>0>>0?m+1|0:m)|0;z=d+g|0;G=z>>>0>>0?o+1|0:o;r=b;break j}x=0;b=b+2|0;break l}if(!(O[b+2|0]!=36|d-48>>>0>=10)){g=La-16|0;N[g+12>>2]=P;d=d-48|0;d=(d>>>0>1?(d<<2)-4|0:0)+P|0;N[g+8>>2]=d+4;x=N[d>>2];b=b+3|0;break l}x=N[P>>2];P=P+4|0;b=b+1|0}f=0;while(1){j=O[b|0];if(j-48>>>0<10){b=b+1|0;f=(T(f,10)+j|0)-48|0;continue}break}I=0;if((j|0)==109){F=0;I=(x|0)!=0;j=O[b+1|0];b=b+1|0;a=0}r=b+1|0;c=3;n=I;q:{r:{switch((j&255)-65|0){case 39:d=b+2|0;b=O[b+1|0]==104;r=b?d:r;c=b?-2:-1;break q;case 43:d=b+2|0;b=O[b+1|0]==108;r=b?d:r;c=b?3:1;break q;case 51:case 57:c=1;break q;case 11:c=2;break q;case 41:break q;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break r;default:break e}}c=0;r=b}b=O[r|0];d=(b&47)==3;h=d?1:c;k=d?b|32:b;s:{if((k|0)==91){break s}t:{if((k|0)!=110){if((k|0)!=99){break t}f=(f|0)<=1?1:f;break s}Rn(x,h,z,G);break j}cd(e,0,0);while(1){b=N[e+4>>2];u:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break u}b=Db(e)}if((b|0)==32|b-9>>>0<5){continue}break}b=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){b=b-1|0;N[e+4>>2]=b}b=b-N[e+44>>2]|0;d=b;g=G+N[e+124>>2]|0;j=b>>31;b=z+N[e+120>>2]|0;i=j+(b>>>0>>0?g+1|0:g)|0;z=b+d|0;G=z>>>0>>0?i+1|0:i}o=f;i=f>>31;cd(e,f,i);b=N[e+4>>2];v:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;break v}if((Db(e)|0)<0){break f}}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}b=16;w:{x:{y:{z:{A:{switch(k-88|0){default:b=k-65|0;if(b>>>0>6|!(1<>>0<=2){b=Y<<2;J=N[b+583548>>2];K=N[b+583536>>2];while(1){b=N[e+4>>2];C:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break C}b=Db(e)}if((b|0)==32|b-9>>>0<5){continue}break}f=1;D:{E:{switch(b-43|0){case 0:case 2:break E;default:break D}}f=(b|0)==45?-1:1;b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break D}b=Db(e)}F:{G:{while(1){if(L[k+7858|0]==(b|32)){H:{if(k>>>0>6){break H}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break H}b=Db(e)}k=k+1|0;if((k|0)!=8){continue}break G}break}if((k|0)!=3){if((k|0)==8){break G}break F}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}}m=La-16|0;La=m;l=(H(U(U(f|0)*U(Infinity))),v(2));b=l&2147483647;I:{if(b-8388608>>>0<=2130706431){f=(b>>>7|0)+1065353216|0;g=b<<25;break I}f=l>>>7|2147418112;g=l<<25;if(b>>>0>=2139095040){break I}f=0;g=0;if(!b){break I}f=b;b=W(b);hc(m,f,0,0,0,b+81|0);d=N[m>>2];i=N[m+4>>2];f=N[m+12>>2]^65536|16265-b<<16;g=N[m+8>>2]}N[t>>2]=d;N[t+4>>2]=i;N[t+8>>2]=g;N[t+12>>2]=l&-2147483648|f;La=m+16|0;d=N[t+8>>2];i=N[t+12>>2];g=N[t>>2];m=N[t+4>>2];break B}J:{K:{L:{if(k){break L}k=0;while(1){if(L[k+13118|0]!=(b|32)){break L}M:{if(k>>>0>1){break M}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break M}b=Db(e)}k=k+1|0;if((k|0)!=3){continue}break}break K}N:{switch(k|0){case 0:O:{if((b|0)!=48){break O}k=N[e+4>>2];P:{if((k|0)!=N[e+104>>2]){N[e+4>>2]=k+1;k=O[k|0];break P}k=Db(e)}if((k&-33)==88){k=0;h=La-432|0;La=h;Q:{R:{b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0];break R}n=0;break Q}n=1}while(1){S:{T:{U:{V:{W:{X:{Y:{Z:{if(!n){k=Db(e);break Z}if((k|0)!=48){m=1073676288;n=0;if((k|0)==46){break X}break W}b=N[e+4>>2];if((b|0)==N[e+104>>2]){break Y}A=1;N[e+4>>2]=b+1;k=O[b|0]}n=1;continue}A=1;break T}b=N[e+4>>2];_:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0];break _}k=Db(e)}if((k|0)==48){break V}j=1}break U}while(1){b=o;o=b-1|0;u=u-!b|0;j=1;b=N[e+4>>2];$:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0];break $}k=Db(e)}if((k|0)==48){continue}break}A=1}aa:{while(1){ba:{b=k|32;ca:{da:{V=k-48|0;if(V>>>0<10){break da}if((k|0)!=46&b-97>>>0>5){break aa}if((k|0)!=46){break da}if(j){break ba}j=1;o=d;u=i;break ca}b=(k|0)>57?b-87|0:V;ea:{if((i|0)<=0&d>>>0<=7|(i|0)<0){n=b+(n<<4)|0;break ea}if(!i&d>>>0<=28){uc(h+48|0,b);Gb(h+32|0,D,E,g,m,0,0,0,1073414144);D=N[h+32>>2];E=N[h+36>>2];g=N[h+40>>2];m=N[h+44>>2];Gb(h+16|0,N[h+48>>2],N[h+52>>2],N[h+56>>2],N[h+60>>2],D,E,g,m);pc(h,N[h+16>>2],N[h+20>>2],N[h+24>>2],N[h+28>>2],l,s,y,B);y=N[h+8>>2];B=N[h+12>>2];l=N[h>>2];s=N[h+4>>2];break ea}if(c|!b){break ea}Gb(h+80|0,D,E,g,m,0,0,0,1073610752);pc(h- -64|0,N[h+80>>2],N[h+84>>2],N[h+88>>2],N[h+92>>2],l,s,y,B);y=N[h+72>>2];B=N[h+76>>2];c=1;l=N[h+64>>2];s=N[h+68>>2]}d=d+1|0;i=d?i:i+1|0;A=1}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0]}else{k=Db(e)}continue}break}k=46}if(!A){b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}cd(e,0,0);bd(h+96|0,+(f|0)*0);d=N[h+104>>2];i=N[h+108>>2];l=N[h+96>>2];s=N[h+100>>2];break S}if((i|0)<=0&d>>>0<=7|(i|0)<0){g=d;m=i;while(1){n=n<<4;g=g+1|0;m=g?m:m+1|0;if((g|0)!=8|m){continue}break}}fa:{if((k&-33)==80){g=Yn(e);b=Pa;m=b;if(g|(b|0)!=-2147483648){break fa}l=0;s=0;cd(e,0,0);d=0;i=0;break S}g=0;m=0;if(N[e+116>>2]<0){break fa}N[e+4>>2]=N[e+4>>2]-1}if(!n){bd(h+112|0,+(f|0)*0);d=N[h+120>>2];i=N[h+124>>2];l=N[h+112>>2];s=N[h+116>>2];break S}b=j?o:d;o=(j?u:i)<<2|b>>>30;b=g+(b<<2)|0;j=m+o|0;j=b>>>0>>0?j+1|0:j;d=b-32|0;i=j-(b>>>0<32)|0;b=i;if(d>>>0>0-J>>>0&(b|0)>=0|(b|0)>0){N[147316]=68;uc(h+160|0,f);Gb(h+144|0,N[h+160>>2],N[h+164>>2],N[h+168>>2],N[h+172>>2],-1,-1,-1,2147418111);Gb(h+128|0,N[h+144>>2],N[h+148>>2],N[h+152>>2],N[h+156>>2],-1,-1,-1,2147418111);d=N[h+136>>2];i=N[h+140>>2];l=N[h+128>>2];s=N[h+132>>2];break S}b=J-226|0;g=b>>31;if((i|0)>=(g|0)&b>>>0<=d>>>0|(g|0)<(i|0)){if((n|0)>=0){while(1){pc(h+416|0,l,s,y,B,0,0,0,-1073807360);b=yn(l,s,y,B,1073610752);g=(b|0)>=0;b=g;pc(h+400|0,l,s,y,B,b?N[h+416>>2]:l,b?N[h+420>>2]:s,b?N[h+424>>2]:y,b?N[h+428>>2]:B);b=d;d=b-1|0;i=i-!b|0;y=N[h+408>>2];B=N[h+412>>2];l=N[h+400>>2];s=N[h+404>>2];n=g|n<<1;if((n|0)>=0){continue}break}}j=i-((J>>31)+(d>>>0>>0)|0)|0;b=(d-J|0)+32|0;j=b>>>0<32?j+1|0:j;g=b>>>0>>0&(j|0)<=0|(j|0)<0?(b|0)>0?b:0:K;ga:{if((g|0)>=113){uc(h+384|0,f);o=N[h+392>>2];u=N[h+396>>2];D=N[h+384>>2];E=N[h+388>>2];i=0;b=0;break ga}bd(h+352|0,Gd(1,144-g|0));uc(h+336|0,f);D=N[h+336>>2];E=N[h+340>>2];o=N[h+344>>2];u=N[h+348>>2];_n(h+368|0,N[h+352>>2],N[h+356>>2],N[h+360>>2],N[h+364>>2],D,E,o,u);p=N[h+376>>2];w=N[h+380>>2];i=N[h+372>>2];b=N[h+368>>2]}f=!(n&1)&((Sd(l,s,y,B,0,0,0,0)|0)!=0&(g|0)<32);oe(h+320|0,f+n|0);Gb(h+304|0,D,E,o,u,N[h+320>>2],N[h+324>>2],N[h+328>>2],N[h+332>>2]);g=b;pc(h+272|0,N[h+304>>2],N[h+308>>2],N[h+312>>2],N[h+316>>2],b,i,p,w);b=f;Gb(h+288|0,D,E,o,u,b?0:l,b?0:s,b?0:y,b?0:B);pc(h+256|0,N[h+288>>2],N[h+292>>2],N[h+296>>2],N[h+300>>2],N[h+272>>2],N[h+276>>2],N[h+280>>2],N[h+284>>2]);Nh(h+240|0,N[h+256>>2],N[h+260>>2],N[h+264>>2],N[h+268>>2],g,i,p,w);b=N[h+240>>2];f=N[h+244>>2];g=N[h+248>>2];o=N[h+252>>2];if(!Sd(b,f,g,o,0,0,0,0)){N[147316]=68}Zn(h+224|0,b,f,g,o,d);d=N[h+232>>2];i=N[h+236>>2];l=N[h+224>>2];s=N[h+228>>2];break S}N[147316]=68;uc(h+208|0,f);Gb(h+192|0,N[h+208>>2],N[h+212>>2],N[h+216>>2],N[h+220>>2],0,0,0,65536);Gb(h+176|0,N[h+192>>2],N[h+196>>2],N[h+200>>2],N[h+204>>2],0,0,0,65536);d=N[h+184>>2];i=N[h+188>>2];l=N[h+176>>2];s=N[h+180>>2];break S}n=0;continue}break}N[t+16>>2]=l;N[t+20>>2]=s;N[t+24>>2]=d;N[t+28>>2]=i;La=h+432|0;d=N[t+24>>2];i=N[t+28>>2];g=N[t+16>>2];m=N[t+20>>2];break B}if(N[e+116>>2]<0){break O}N[e+4>>2]=N[e+4>>2]-1}h=f;c=La-8976|0;La=c;k=0-J|0;V=k-K|0;ha:{ia:{while(1){if((b|0)!=48){ja:{if((b|0)!=46){break ha}b=N[e+4>>2];if((b|0)==N[e+104>>2]){break ja}N[e+4>>2]=b+1;b=O[b|0];break ia}}else{b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0]}else{b=Db(e)}j=1;continue}break}b=Db(e)}p=1;if((b|0)!=48){break ha}while(1){b=d;d=b-1|0;i=i-!b|0;b=N[e+4>>2];ka:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break ka}b=Db(e)}if((b|0)==48){continue}break}j=1}N[c+784>>2]=0;la:{ma:{f=(b|0)==46;l=b-48|0;na:{oa:{pa:{if(f|l>>>0<=9){while(1){qa:{if(f&1){if(!p){d=g;i=m;p=1;break qa}f=!j;break pa}g=g+1|0;m=g?m:m+1|0;if((n|0)<=2044){A=(b|0)==48?A:g;f=(c+784|0)+(n<<2)|0;if(w){l=(T(N[f>>2],10)+b|0)-48|0}N[f>>2]=l;j=1;f=w+1|0;b=(f|0)==9;w=b?0:f;n=b+n|0;break qa}if((b|0)==48){break qa}N[c+8960>>2]=N[c+8960>>2]|1;A=18396}b=N[e+4>>2];ra:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break ra}b=Db(e)}f=(b|0)==46;l=b-48|0;if(f|l>>>0<10){continue}break}}d=p?d:g;i=p?i:m;if(!(!j|(b&-33)!=69)){b=Yn(e);f=Pa;if(!b&(f|0)==-2147483648){break na}i=f+i|0;d=b+d|0;i=d>>>0>>0?i+1|0:i;break ma}f=!j;if((b|0)<0){break oa}}if(N[e+116>>2]<0){break oa}N[e+4>>2]=N[e+4>>2]-1}if(!f){break ma}N[147316]=28}g=0;m=0;cd(e,0,0);d=0;b=0;break la}b=N[c+784>>2];if(!b){bd(c,+(h|0)*0);g=N[c>>2];m=N[c+4>>2];d=N[c+12>>2];b=N[c+8>>2];break la}if(!(g>>>0>9&(m|0)>=0|(m|0)>0|((d|0)!=(g|0)|(i|0)!=(m|0))|(b>>>K|0?(K|0)<=30:0))){uc(c+48|0,h);oe(c+32|0,b);Gb(c+16|0,N[c+48>>2],N[c+52>>2],N[c+56>>2],N[c+60>>2],N[c+32>>2],N[c+36>>2],N[c+40>>2],N[c+44>>2]);g=N[c+16>>2];m=N[c+20>>2];d=N[c+28>>2];b=N[c+24>>2];break la}if(d>>>0>k>>>1>>>0&(i|0)>=0|(i|0)>0){N[147316]=68;uc(c+96|0,h);Gb(c+80|0,N[c+96>>2],N[c+100>>2],N[c+104>>2],N[c+108>>2],-1,-1,-1,2147418111);Gb(c- -64|0,N[c+80>>2],N[c+84>>2],N[c+88>>2],N[c+92>>2],-1,-1,-1,2147418111);g=N[c+64>>2];m=N[c+68>>2];d=N[c+76>>2];b=N[c+72>>2];break la}b=J-226|0;f=d>>>0>>0;b=b>>31;if(f&(i|0)<=(b|0)|(b|0)>(i|0)){N[147316]=68;uc(c+144|0,h);Gb(c+128|0,N[c+144>>2],N[c+148>>2],N[c+152>>2],N[c+156>>2],0,0,0,65536);Gb(c+112|0,N[c+128>>2],N[c+132>>2],N[c+136>>2],N[c+140>>2],0,0,0,65536);g=N[c+112>>2];m=N[c+116>>2];d=N[c+124>>2];b=N[c+120>>2];break la}if(w){if((w|0)<=8){b=(c+784|0)+(n<<2)|0;k=N[b>>2];while(1){k=T(k,10);w=w+1|0;if((w|0)!=9){continue}break}N[b>>2]=k}n=n+1|0}sa:{p=d;if((A|0)>8|(A|0)>(d|0)|(d|0)>17){break sa}if((p|0)==9){uc(c+192|0,h);oe(c+176|0,N[c+784>>2]);Gb(c+160|0,N[c+192>>2],N[c+196>>2],N[c+200>>2],N[c+204>>2],N[c+176>>2],N[c+180>>2],N[c+184>>2],N[c+188>>2]);g=N[c+160>>2];m=N[c+164>>2];d=N[c+172>>2];b=N[c+168>>2];break la}if((p|0)<=8){uc(c+272|0,h);oe(c+256|0,N[c+784>>2]);Gb(c+240|0,N[c+272>>2],N[c+276>>2],N[c+280>>2],N[c+284>>2],N[c+256>>2],N[c+260>>2],N[c+264>>2],N[c+268>>2]);uc(c+224|0,N[(0-p<<2)+583536>>2]);rn(c+208|0,N[c+240>>2],N[c+244>>2],N[c+248>>2],N[c+252>>2],N[c+224>>2],N[c+228>>2],N[c+232>>2],N[c+236>>2]);g=N[c+208>>2];m=N[c+212>>2];d=N[c+220>>2];b=N[c+216>>2];break la}b=(T(p,-3)+K|0)+27|0;d=N[c+784>>2];if(d>>>b|0?(b|0)<=30:0){break sa}uc(c+352|0,h);oe(c+336|0,d);Gb(c+320|0,N[c+352>>2],N[c+356>>2],N[c+360>>2],N[c+364>>2],N[c+336>>2],N[c+340>>2],N[c+344>>2],N[c+348>>2]);uc(c+304|0,N[(p<<2)+583464>>2]);Gb(c+288|0,N[c+320>>2],N[c+324>>2],N[c+328>>2],N[c+332>>2],N[c+304>>2],N[c+308>>2],N[c+312>>2],N[c+316>>2]);g=N[c+288>>2];m=N[c+292>>2];d=N[c+300>>2];b=N[c+296>>2];break la}while(1){b=n;n=b-1|0;if(!N[(c+784|0)+(n<<2)>>2]){continue}break}d=(p|0)%9|0;ta:{if(!d){w=0;f=0;break ta}w=0;d=(p|0)<0?d+9|0:d;ua:{if(!b){f=0;b=0;break ua}g=N[(0-d<<2)+583536>>2];j=1e9/(g|0)|0;l=0;k=0;f=0;while(1){i=l;l=(c+784|0)+(k<<2)|0;m=N[l>>2];n=(m>>>0)/(g>>>0)|0;i=i+n|0;N[l>>2]=i;i=!i&(f|0)==(k|0);f=i?f+1&2047:f;p=i?p-9|0:p;l=T(j,m-T(g,n)|0);k=k+1|0;if((k|0)!=(b|0)){continue}break}if(!l){break ua}N[(c+784|0)+(b<<2)>>2]=l;b=b+1|0}p=(p-d|0)+9|0}while(1){s=(c+784|0)+(f<<2)|0;A=(p|0)<36;va:{while(1){wa:{if(A){break wa}if((p|0)!=36){break va}if(Q[s>>2]<=10384592){break wa}p=36;break va}n=b+2047|0;l=0;j=b;while(1){b=j;k=n&2047;n=(c+784|0)+(k<<2)|0;d=N[n>>2];g=d>>>3|0;i=d<<29;d=i+l|0;i=d>>>0>>0?g+1|0:g;if(!i&d>>>0<1000000001){l=0}else{l=WE(d,i,1e9,0);g=UE(l,Pa,-1e9,-1);d=d+g|0}N[n>>2]=d;j=(k|0)!=(b-1&2047)?b:(f|0)==(k|0)?b:d?b:k;n=k-1|0;if((f|0)!=(k|0)){continue}break}w=w-29|0;if(!l){continue}break}f=f-1&2047;if((j|0)==(f|0)){d=c+784|0;b=d+((j+2046&2047)<<2)|0;g=b;k=N[b>>2];b=j-1&2047;N[g>>2]=k|N[d+(b<<2)>>2]}p=p+9|0;N[(c+784|0)+(f<<2)>>2]=l;continue}break}xa:{ya:while(1){d=b+1&2047;i=(c+784|0)+((b-1&2047)<<2)|0;while(1){g=(p|0)>45?9:1;za:{while(1){j=f;k=0;Aa:{while(1){Ba:{f=j+k&2047;if((f|0)==(b|0)){break Ba}f=N[(c+784|0)+(f<<2)>>2];l=N[(k<<2)+583488>>2];if(f>>>0>>0){break Ba}if(f>>>0>l>>>0){break Aa}k=k+1|0;if((k|0)!=4){continue}}break}if((p|0)!=36){break Aa}d=0;i=0;k=0;g=0;m=0;while(1){f=j+k&2047;if((f|0)==(b|0)){b=b+1&2047;N[(c+(b<<2)|0)+780>>2]=0}oe(c+768|0,N[(c+784|0)+(f<<2)>>2]);Gb(c+752|0,d,i,g,m,0,0,1342177280,1075633366);pc(c+736|0,N[c+752>>2],N[c+756>>2],N[c+760>>2],N[c+764>>2],N[c+768>>2],N[c+772>>2],N[c+776>>2],N[c+780>>2]);g=N[c+744>>2];m=N[c+748>>2];d=N[c+736>>2];i=N[c+740>>2];k=k+1|0;if((k|0)!=4){continue}break}uc(c+720|0,h);Gb(c+704|0,d,i,g,m,N[c+720>>2],N[c+724>>2],N[c+728>>2],N[c+732>>2]);g=N[c+712>>2];m=N[c+716>>2];d=0;i=0;l=N[c+704>>2];s=N[c+708>>2];A=w+113|0;n=A-J|0;k=(n|0)<(K|0);f=k?(n|0)>0?n:0:K;if((f|0)<=112){break za}break xa}w=g+w|0;f=b;if((b|0)==(j|0)){continue}break}m=1e9>>>g|0;n=-1<>2];l=l+(s>>>g|0)|0;N[k>>2]=l;l=!l&(f|0)==(j|0);f=l?f+1&2047:f;p=l?p-9|0:p;k=T(m,n&s);j=j+1&2047;if((j|0)!=(b|0)){continue}break}if(!k){continue}if((d|0)!=(f|0)){N[(c+784|0)+(b<<2)>>2]=k;b=d;continue ya}N[i>>2]=N[i>>2]|1;continue}break}break}bd(c+656|0,Gd(1,225-f|0));_n(c+688|0,N[c+656>>2],N[c+660>>2],N[c+664>>2],N[c+668>>2],l,s,g,m);y=N[c+696>>2];B=N[c+700>>2];D=N[c+688>>2];E=N[c+692>>2];bd(c+640|0,Gd(1,113-f|0));hp(c+672|0,l,s,g,m,N[c+640>>2],N[c+644>>2],N[c+648>>2],N[c+652>>2]);d=N[c+672>>2];i=N[c+676>>2];o=N[c+680>>2];u=N[c+684>>2];Nh(c+624|0,l,s,g,m,d,i,o,u);pc(c+608|0,D,E,y,B,N[c+624>>2],N[c+628>>2],N[c+632>>2],N[c+636>>2]);g=N[c+616>>2];m=N[c+620>>2];l=N[c+608>>2];s=N[c+612>>2]}p=j+4&2047;Ca:{if((p|0)==(b|0)){break Ca}p=N[(c+784|0)+(p<<2)>>2];Da:{if(p>>>0<=499999999){if(!p&(j+5&2047)==(b|0)){break Da}bd(c+496|0,+(h|0)*.25);pc(c+480|0,d,i,o,u,N[c+496>>2],N[c+500>>2],N[c+504>>2],N[c+508>>2]);o=N[c+488>>2];u=N[c+492>>2];d=N[c+480>>2];i=N[c+484>>2];break Da}if((p|0)!=5e8){bd(c+592|0,+(h|0)*.75);pc(c+576|0,d,i,o,u,N[c+592>>2],N[c+596>>2],N[c+600>>2],N[c+604>>2]);o=N[c+584>>2];u=N[c+588>>2];d=N[c+576>>2];i=N[c+580>>2];break Da}Z=+(h|0);if((j+5&2047)==(b|0)){bd(c+528|0,Z*.5);pc(c+512|0,d,i,o,u,N[c+528>>2],N[c+532>>2],N[c+536>>2],N[c+540>>2]);o=N[c+520>>2];u=N[c+524>>2];d=N[c+512>>2];i=N[c+516>>2];break Da}bd(c+560|0,Z*.75);pc(c+544|0,d,i,o,u,N[c+560>>2],N[c+564>>2],N[c+568>>2],N[c+572>>2]);o=N[c+552>>2];u=N[c+556>>2];d=N[c+544>>2];i=N[c+548>>2]}if((f|0)>111){break Ca}hp(c+464|0,d,i,o,u,0,0,0,1073676288);if(Sd(N[c+464>>2],N[c+468>>2],N[c+472>>2],N[c+476>>2],0,0,0,0)){break Ca}pc(c+448|0,d,i,o,u,0,0,0,1073676288);o=N[c+456>>2];u=N[c+460>>2];d=N[c+448>>2];i=N[c+452>>2]}pc(c+432|0,l,s,g,m,d,i,o,u);Nh(c+416|0,N[c+432>>2],N[c+436>>2],N[c+440>>2],N[c+444>>2],D,E,y,B);g=N[c+424>>2];m=N[c+428>>2];l=N[c+416>>2];s=N[c+420>>2];Ea:{if((V-2|0)>=(A&2147483647)){break Ea}N[c+408>>2]=g;N[c+412>>2]=m&2147483647;N[c+400>>2]=l;N[c+404>>2]=s;Gb(c+384|0,l,s,g,m,0,0,0,1073610752);j=yn(N[c+400>>2],N[c+404>>2],N[c+408>>2],N[c+412>>2],1081081856);b=(j|0)>=0;g=b?N[c+392>>2]:g;m=b?N[c+396>>2]:m;l=b?N[c+384>>2]:l;s=b?N[c+388>>2]:s;w=b+w|0;if(!(k&((f|0)!=(n|0)|(j|0)<0)&(Sd(d,i,o,u,0,0,0,0)|0)!=0)&(w+110|0)<=(V|0)){break Ea}N[147316]=68}Zn(c+368|0,l,s,g,m,w);g=N[c+368>>2];m=N[c+372>>2];d=N[c+380>>2];b=N[c+376>>2]}N[t+40>>2]=b;N[t+44>>2]=d;N[t+32>>2]=g;N[t+36>>2]=m;La=c+8976|0;d=N[t+40>>2];i=N[t+44>>2];g=N[t+32>>2];m=N[t+36>>2];break B;case 3:break K;default:break N}}break J}Fa:{b=N[e+4>>2];Ga:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break Ga}b=Db(e)}if((b|0)==40){k=1;break Fa}i=2147450880;if(N[e+116>>2]<0){break B}N[e+4>>2]=N[e+4>>2]-1;break B}while(1){Ha:{b=N[e+4>>2];Ia:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break Ia}b=Db(e)}if(!(b-48>>>0<10|b-65>>>0<26|(b|0)==95)){if(b-97>>>0>=26){break Ha}}k=k+1|0;continue}break}i=2147450880;if((b|0)==41){break B}}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}N[147316]=28;cd(e,0,0)}i=0}N[q+8>>2]=g;N[q+12>>2]=m;N[q+16>>2]=d;N[q+20>>2]=i;La=t+48|0;b=N[e+4>>2]-N[e+44>>2]|0;if(N[e+120>>2]!=(0-b|0)|N[e+124>>2]!=(0-((b>>31)+((b|0)!=0)|0)|0)){break y}break g;case 3:case 11:case 27:if((k|16)==115){ve(q+32|0,-1,257);L[q+32|0]=0;if((k|0)!=115){break x}L[q+65|0]=0;L[q+46|0]=0;M[q+42>>1]=0;M[q+44>>1]=0;break x}d=O[r+1|0];g=(d|0)==94;ve(q+32|0,g,257);L[q+32|0]=0;b=g?r+2|0:r+1|0;Ja:{Ka:{La:{g=O[(g?2:1)+r|0];if((g|0)!=45){if((g|0)==93){break La}c=(d|0)!=94;break Ja}c=(d|0)!=94;L[q+78|0]=c;break Ka}c=(d|0)!=94;L[q+126|0]=c}b=b+1|0}r=b;while(1){j=O[r|0];Ma:{if((j|0)!=45){if(!j){break f}if((j|0)==93){break x}break Ma}j=45;d=O[r+1|0];if(!d|(d|0)==93){break Ma}g=r+1|0;b=O[r-1|0];Na:{if(d>>>0<=b>>>0){j=d;break Na}while(1){b=b+1|0;L[b+(q+32|0)|0]=c;j=O[g|0];if(j>>>0>b>>>0){continue}break}}r=g}L[(j+q|0)+33|0]=c;r=r+1|0;continue};case 23:b=8;break z;case 12:case 29:b=10;break z;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break w;case 0:case 24:case 32:break z;case 17:break A}}b=0}d=0;i=0;j=0;n=0;l=0;y=La-16|0;La=y;Oa:{if((b|0)==1){N[147316]=28;break Oa}while(1){g=N[e+4>>2];Pa:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Pa}f=Db(e)}if((f|0)==32|f-9>>>0<5){continue}break}Qa:{Ra:{switch(f-43|0){case 0:case 2:break Ra;default:break Qa}}l=(f|0)==45?-1:0;g=N[e+4>>2];if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Qa}f=Db(e)}Sa:{Ta:{Ua:{Va:{if(!((b|0)!=0&(b|0)!=16|(f|0)!=48)){g=N[e+4>>2];Wa:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Wa}f=Db(e)}if((f&-33)==88){b=16;g=N[e+4>>2];Xa:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Xa}f=Db(e)}if(O[f+584193|0]<16){break Ua}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}cd(e,0,0);break Oa}if(b){break Va}b=8;break Ua}b=b?b:10;if(b>>>0>O[f+584193|0]){break Va}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}cd(e,0,0);N[147316]=28;break Oa}if((b|0)!=10){break Ua}j=f-48|0;if(j>>>0<=9){b=0;while(1){b=T(b,10)+j|0;g=b>>>0<429496729;d=N[e+4>>2];Ya:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break Ya}f=Db(e)}j=f-48|0;if(g&j>>>0<=9){continue}break}d=b}Za:{if(j>>>0>9){break Za}g=UE(d,0,10,0);m=Pa;o=j;while(1){d=g+o|0;i=d>>>0>>0?m+1|0:m;g=(i|0)==429496729&d>>>0>=2576980378|i>>>0>429496729;b=N[e+4>>2];_a:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;f=O[b|0];break _a}f=Db(e)}j=f-48|0;if(g|j>>>0>9){break Za}g=UE(d,i,10,0);o=j;m=Pa;b=m;if((b|0)==-1&(j^-1)>>>0>=g>>>0|(b|0)!=-1){continue}break}b=10;break Ta}b=10;if(j>>>0<=9){break Ta}break Sa}if(b-1&b){n=O[f+584193|0];if(n>>>0>>0){while(1){j=T(b,j)+n|0;g=j>>>0<119304647;d=N[e+4>>2];$a:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break $a}f=Db(e)}n=O[f+584193|0];if(g&n>>>0>>0){continue}break}d=j}if(b>>>0<=n>>>0){break Ta}while(1){g=UE(d,i,b,0);j=Pa;o=n&255;if((j|0)==-1&(o^-1)>>>0>>0){break Ta}d=g+o|0;i=d>>>0>>0?j+1|0:j;f=N[e+4>>2];ab:{if((f|0)!=N[e+104>>2]){N[e+4>>2]=f+1;f=O[f|0];break ab}f=Db(e)}n=O[f+584193|0];if(b>>>0<=n>>>0){break Ta}hb(y,b,0,0,0,d,i,0,0);if(!(N[y+8>>2]|N[y+12>>2])){continue}break}break Ta}g=L[(T(b,23)>>>5&7)+584449|0];j=O[f+584193|0];if(j>>>0>>0){while(1){n=n<>>0<134217728;d=N[e+4>>2];bb:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break bb}f=Db(e)}j=O[f+584193|0];if(o&j>>>0>>0){continue}break}d=n}if(b>>>0<=j>>>0){break Ta}o=g;m=g&31;if((g&63)>>>0>=32){g=0;m=-1>>>m|0}else{g=-1>>>m|0;m=g|(1<>>0>m>>>0){break Ta}while(1){f=d;d=o&31;n=j&255;if((o&63)>>>0>=32){j=f<>>32-d|i<>2];cb:{if((f|0)!=N[e+104>>2]){N[e+4>>2]=f+1;f=O[f|0];break cb}f=Db(e)}j=O[f+584193|0];if(b>>>0<=j>>>0){break Ta}if((g|0)==(i|0)&d>>>0<=m>>>0|g>>>0>i>>>0){continue}break}}if(O[f+584193|0]>=b>>>0){break Sa}while(1){d=N[e+4>>2];db:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break db}f=Db(e)}if(O[f+584193|0]>>0){continue}break}N[147316]=68;d=-1;i=-1;l=0}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}b=d^l;d=b-l|0;g=l>>31;i=(g^i)-((b>>>0>>0)+g|0)|0}La=y+16|0;b=N[e+4>>2]-N[e+44>>2]|0;if(N[e+120>>2]==(0-b|0)&N[e+124>>2]==(0-((b>>31)+((b|0)!=0)|0)|0)){break g}if(!(!x|(k|0)!=112)){N[x>>2]=d;break w}Rn(x,h,d,i);break w}if(!x){break w}g=N[q+16>>2];d=N[q+20>>2];f=N[q+8>>2];l=N[q+12>>2];eb:{switch(Y|0){case 0:i=La-32|0;La=i;b=d&2147483647;o=b;j=b-1065418752|0;b=b-1082064896|0;fb:{if((j|0)==(b|0)&0|b>>>0>j>>>0){o=(d&33554431)<<7|g>>>25;b=0;j=b;g=g&33554431;if(!(!b&(g|0)==16777216?!(f|l):!b&g>>>0<16777216)){b=o+1073741825|0;break fb}b=o+1073741824|0;if(g^16777216|f|(j|l)){break fb}b=(o&1)+b|0;break fb}if(!(!g&(o|0)==2147418112?!(f|l):o>>>0<2147418112)){b=((d&33554431)<<7|g>>>25)&4194303|2143289344;break fb}b=2139095040;if(o>>>0>1082064895){break fb}b=0;o=o>>>16|0;if(o>>>0<16145){break fb}b=d&65535|65536;hc(i+16|0,f,l,g,b,o-16129|0);Qd(i,f,l,g,b,16257-o|0);b=N[i+8>>2];g=b;b=(N[i+12>>2]&33554431)<<7|b>>>25;o=N[i>>2]|(N[i+16>>2]|N[i+24>>2]|(N[i+20>>2]|N[i+28>>2]))!=0;l=N[i+4>>2];f=0;g=g&33554431;if(!(!f&(g|0)==16777216?!(o|l):!f&g>>>0<16777216)){b=b+1|0;break fb}if(g^16777216|o|(f|l)){break fb}b=(b&1)+b|0}La=i+32|0;N[x>>2]=d&-2147483648|b;break w;case 1:_=x,$=ym(f,l,g,d),S[_>>3]=$;break w;case 2:break eb;default:break w}}N[x>>2]=f;N[x+4>>2]=l;N[x+8>>2]=g;N[x+12>>2]=d;break w}g=(k|0)!=99;f=g?31:f+1|0;gb:{if((h|0)==1){j=x;if(I){j=kb(f<<2);if(!j){break h}}N[q+296>>2]=0;N[q+300>>2]=0;b=0;while(1){a=j;hb:{while(1){d=N[e+4>>2];ib:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;d=O[d|0];break ib}d=Db(e)}if(!O[(d+q|0)+33|0]){break hb}L[q+27|0]=d;d=fo(q+28|0,q+27|0,1,q+296|0);if((d|0)==-2){continue}F=0;if((d|0)==-1){break f}if(a){N[(b<<2)+a>>2]=N[q+28>>2];b=b+1|0}if(!I|(b|0)!=(f|0)){continue}break}n=1;b=f;f=b<<1|1;j=$a(a,f<<2);if(j){continue}break e}break}F=0;f=a;if(q+296|0?N[q+296>>2]:0){break f}break gb}if(I){b=0;j=kb(f);if(!j){break h}while(1){a=j;while(1){d=N[e+4>>2];jb:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;d=O[d|0];break jb}d=Db(e)}if(!O[(d+q|0)+33|0]){f=0;F=a;break gb}L[a+b|0]=d;b=b+1|0;if((f|0)!=(b|0)){continue}break}n=1;b=f;f=b<<1|1;j=$a(a,f);if(j){continue}break}F=a;a=0;break e}b=0;if(x){while(1){a=N[e+4>>2];kb:{if((a|0)!=N[e+104>>2]){N[e+4>>2]=a+1;a=O[a|0];break kb}a=Db(e)}if(O[(a+q|0)+33|0]){L[b+x|0]=a;b=b+1|0;continue}else{f=0;a=x;F=a;break gb}}}while(1){a=N[e+4>>2];lb:{if((a|0)!=N[e+104>>2]){N[e+4>>2]=a+1;a=O[a|0];break lb}a=Db(e)}if(O[(a+q|0)+33|0]){continue}break}a=0;F=0;f=0}j=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){j=j-1|0;N[e+4>>2]=j}l=j-N[e+44>>2]|0;d=l+N[e+120>>2]|0;j=N[e+124>>2]+(l>>31)|0;j=d>>>0>>0?j+1|0:j;if(!(j|d)|!(g|(d|0)==(o|0)&(i|0)==(j|0))){break i}if(I){N[x>>2]=a}mb:{if((k|0)==99){break mb}if(f){N[(b<<2)+f>>2]=0}if(!F){F=0;break mb}L[b+F|0]=0}a=f}b=N[e+4>>2]-N[e+44>>2]|0;d=b;m=G+N[e+124>>2]|0;f=b>>31;b=z+N[e+120>>2]|0;i=f+(b>>>0>>0?m+1|0:m)|0;z=b+d|0;G=z>>>0>>0?i+1|0:i;R=((x|0)!=0)+R|0}b=r+1|0;r=O[r+1|0];if(r){continue}break a}break}a=f;break g}n=1;F=0;a=0;break e}n=I;break b}n=I}if(R){break b}}R=-1}if(!n){break a}_a(F);_a(a)}La=q+304|0;La=e+144|0;La=X+16|0;return R}function cp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,P=0,Q=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0;i=La+-64|0;La=i;a:{if(!b){e=6;break a}h=N[b>>2];if(!h){e=6;break a}g=N[b+4>>2];if(g){while(1){f=N[g+8>>2];N[i+48>>2]=0;if(f){while(1){e=6;b:{c:{switch(N[f+32>>2]-1|0){case 0:e=Qa[N[h+4>>2]](h,40)|0;if(!e){e=64;break a}N[e>>2]=0;N[e+4>>2]=0;N[e+32>>2]=0;N[e+36>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;p=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=p;p=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=p;p=N[f+20>>2];N[e+16>>2]=N[f+16>>2];N[e+20>>2]=p;p=N[f+28>>2];N[e+24>>2]=N[f+24>>2];N[e+28>>2]=p;N[e+32>>2]=N[f+32>>2];N[e+36>>2]=N[i+48>>2];N[i+48>>2]=e;break b;case 1:e=N[f+4>>2];N[i>>2]=N[f>>2];N[i+4>>2]=e;e=N[f+20>>2];N[i+8>>2]=N[f+16>>2];N[i+12>>2]=e;e=N[f+12>>2];N[i+16>>2]=N[f+8>>2];N[i+20>>2]=e;Pi(h,i,32,i+48|0);break b;case 2:break c;default:break a}}e=N[f+4>>2];N[i>>2]=N[f>>2];N[i+4>>2]=e;e=N[f+20>>2];N[i+8>>2]=N[f+16>>2];N[i+12>>2]=e;e=N[f+28>>2];N[i+16>>2]=N[f+24>>2];N[i+20>>2]=e;e=N[f+12>>2];N[i+24>>2]=N[f+8>>2];N[i+28>>2]=e;Oi(h,i,32,i+48|0)}f=N[f+36>>2];if(f){continue}break}}p=Qa[N[h+4>>2]](h,16)|0;if(!p){e=64;break a}N[p+12>>2]=S;N[p>>2]=0;N[p+4>>2]=0;N[p+8>>2]=N[i+48>>2];N[i+48>>2]=0;e=N[g+12>>2];f=N[g+8>>2];d:{if(f){while(1){aa=N[f+36>>2];Qa[N[h+8>>2]](h,f);f=aa;if(f){continue}break}if(!g){break d}}Qa[N[h+8>>2]](h,g)}S=p;g=e;if(e){continue}break}}N[b+4>>2]=p;if(!d){e=6;break a}if(c-33>>>0<4294967265){e=6;break a}na=N[b>>2];if(!na){e=6;break a}Ca=N[a+8>>2];Fa=O[a+5|0];Ga=O[a+4|0];Da=N[a>>2];a=T(T(N[d+4>>2],N[d>>2]),12);e:{if((a|0)<=0){e=6;if(!a){break e}break a}ja=Qa[N[na+4>>2]](na,a)|0;if(!ja){e=64;break a}C(ja,0,a)}e=19;f:{g:{fa=N[d+4>>2];if(!fa){break g}ka=N[d>>2];if(!ka){break g}aa=c<<16;Ea=N[d+12>>2];oa=N[b+4>>2];if(oa){while(1){l=N[oa+8>>2];if(l){while(1){d=O[l+12|0]|O[l+13|0]<<8|(O[l+14|0]<<16|O[l+15|0]<<24);h=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);a=O[l+20|0]|O[l+21|0]<<8|(O[l+22|0]<<16|O[l+23|0]<<24);b=a;p=O[l+16|0]|O[l+17|0]<<8|(O[l+18|0]<<16|O[l+19|0]<<24);S=p;f=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);y=f;e=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);g=e;h:{switch((O[l+32|0]|O[l+33|0]<<8|(O[l+34|0]<<16|O[l+35|0]<<24))-1|0){case 2:g=O[l+28|0]|O[l+29|0]<<8|(O[l+30|0]<<16|O[l+31|0]<<24);b=(a|0)<(g|0)?a:g;y=O[l+24|0]|O[l+25|0]<<8|(O[l+26|0]<<16|O[l+27|0]<<24);S=(p|0)<(y|0)?p:y;a=(a|0)>(g|0)?a:g;p=(p|0)>(y|0)?p:y;case 1:y=(b|0)>(f|0)?f:b;g=(e|0)<(S|0)?e:S;f=(a|0)<(f|0)?f:a;e=(e|0)>(p|0)?e:p;case 0:Ha=(d|0)>(f|0)?d:f;Ia=(d|0)<(y|0)?d:y;Ja=(e|0)<(h|0)?h:e;Ka=(g|0)>(h|0)?h:g;break;default:break h}}a=(Ja+63|0)/64|0;b=(Ka-63|0)/64|0;y=((Ia-63|0)/64|0)-c|0;sa=((Ha+63|0)/64|0)+c|0;i:{if((y|0)>=(sa|0)){break i}ta=a+c|0;S=b-c|0;if((ta|0)<=(S|0)){break i}if(!Fa){while(1){if((y|0)<(ka|0)&(y|0)>=0){ba=y<<6|32;pa=ba<<10;ua=T((y^-1)+ka|0,fa);p=S;while(1){j:{if((p|0)<0|(p|0)>=(fa|0)){break j}e=6;Y=p<<6|32;k:{l:{switch(N[l+32>>2]-1|0){case 2:a=N[l+20>>2];U=N[l+4>>2];f=a-U|0;G=T(f,3);b=G>>31;V=(b^G)-b|0;la=V>>>16|0;ca=V&65535;b=N[l+16>>2];H=N[l>>2];g=b-H|0;W=T(g,3);d=W>>31;u=(d^W)-d|0;ma=u>>>16|0;ga=u&65535;e=N[l+28>>2];Z=e+(U-(a<<1)|0)|0;h=T(Z,3);d=h>>31;v=(d^h)-d|0;da=v>>>16|0;A=v&65535;d=N[l+12>>2]+(T(a-e|0,3)-U|0)|0;e=d>>31;a=e;m=(a^d)-a|0;I=m>>>16|0;q=m&65535;d=N[l+24>>2];_=d+(H-(b<<1)|0)|0;h=T(_,3);a=h>>31;w=(a^h)-a|0;ea=w>>>16|0;t=w&65535;b=N[l+8>>2]+(T(b-d|0,3)-H|0)|0;a=b>>31;o=(a^b)-a|0;J=o>>>16|0;s=o&65535;K=0;B=f>>31|1;ha=0-B|0;ia=g>>31|1;va=0-ia|0;wa=T(Z,6);z=T(_,6);qa=Z>>31|1;xa=0-qa|0;D=e|1;X=0-D|0;ra=_>>31|1;ya=0-ra|0;E=a|1;M=0-E|0;d=2147483647;g=0;a=0;while(1){f=K<<14;P=0;while(1){b=f>>31;h=(b^f)-b|0;x=h>>>8|0;if(h+x>>>0<=8190){k=T(f,f)+32768>>>16|0}else{b=h&65535;k=T(b+h|0,h>>>16|0)+(T(b,b)+32768>>>16|0)|0}e=k;b=f>>31|1;n=(f|0)<0;b=((n?0-b|0:b)|0)<0?0-e|0:e;e=e>>31;j=(k^e)-e|0;m:{if(j+x>>>0<=8190){F=T(h,j)+32768>>>16|0;break m}e=j&65535;F=T(e,h>>>16|0)+T(h,j>>>16|0)+(T(e,h&65535)+32768>>>16)|0}e=F;k=b>>31|1;r=((n?0-k|0:k)|0)<0?0-e|0:e;e=e>>31;e=(F^e)-e|0;Q=e>>>8|0;n:{if(Q+o>>>0<=8190){k=T(e,o)+32768>>>16|0;break n}k=T(s,e>>>16|0)+T(e,J)+(T(s,e&65535)+32768>>>16)|0}R=(r|0)<0;r=((R?M:E)|0)<0?0-k|0:k;$=j>>>8|0;k=$+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,j>>>16|0)+T(j,ea)+(T(t,j&65535)+32768>>>16)|0;za=0-k|0;F=k;k=(b|0)<0;F=(r+H|0)+(((k?ya:ra)|0)<0?za:F)|0;r=x+u>>>0<=8190?T(h,u)+32768>>>16|0:T(ga,h>>>16|0)+T(h,ma)+(T(ga,h&65535)+32768>>>16)|0;r=F+(((n?va:ia)|0)<0?0-r|0:r)|0;e=m+Q>>>0<=8190?T(e,m)+32768>>>16|0:T(q,e>>>16|0)+T(e,I)+(T(q,e&65535)+32768>>>16)|0;Q=((R?X:D)|0)<0?0-e|0:e;e=v+$>>>0<=8190?T(j,v)+32768>>>16|0:T(A,j>>>16|0)+T(j,da)+(T(A,j&65535)+32768>>>16)|0;j=((k?xa:qa)|0)<0?0-e|0:e;e=x+V>>>0<=8190?T(h,V)+32768>>>16|0:T(ca,h>>>16|0)+T(h,la)+(T(ca,h&65535)+32768>>>16)|0;x=r-Y|0;N[i+32>>2]=x<<10;j=(j+(Q+U|0)|0)+(((n?ha:B)|0)<0?0-e|0:e)|0;e=j-ba|0;N[i+36>>2]=e<<10;h=Wb(i+32|0);if((h|0)<(d|0)){Aa=r<<10;Ba=j<<10;g=f;d=h;a=b}j=f<<1;h=T(b,3);b=h>>31;h=(b^h)-b|0;r=h>>>8|0;o:{if(r+o>>>0<=8190){b=T(h,o)+32768>>>16|0;break o}b=T(s,h>>>16|0)+T(h,J)+(T(s,h&65535)+32768>>>16)|0}Q=((k?M:E)|0)<0?0-b|0:b;R=f>>>7|0;b=R+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,f>>>15|0)+T(j,ea)+(T(t,j&65534)+32768>>>16)|0;$=0-b|0;h=m+r>>>0<=8190?T(h,m)+32768>>>16|0:T(q,h>>>16|0)+T(h,I)+(T(q,h&65535)+32768>>>16)|0;r=(_|0)<0;$=r?$:b;Q=Q+W|0;N[i+32>>2]=x;N[i+36>>2]=e;b=v+R>>>0<=8190?T(j,v)+32768>>>16|0:T(A,f>>>15|0)+T(j,da)+(T(A,j&65534)+32768>>>16)|0;j=(Z|0)<0;b=((((k?X:D)|0)<0?0-h|0:h)+G|0)+(j?0-b|0:b)|0;h=Q+$|0;F=((T(b,e)|0)/64|0)+((T(h,x)|0)/64|0)|0;k=(T(b,b)>>>6)+(T(h,h)>>>6)|0;h=T(f,6);b=h>>31;b=(b^h)-b|0;R=b>>>8|0;p:{if(R+o>>>0<=8190){h=T(b,o)+32768>>>16|0;break p}h=T(s,b>>>16|0)+T(b,J)+(T(s,b&65534)+32768>>>16)|0}b=m+R>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65534)+32768>>>16)|0;f=f-fb(F,(k+((T(x,z+(((n?M:E)|0)<0?0-h|0:h)|0)|0)/64|0)|0)+((T(wa+(((n?X:D)|0)<0?0-b|0:b)|0,e)|0)/64|0)|0)|0;if(f>>>0<=65536){b=P&65535;P=P+1|0;if(b>>>0<3){continue}}break}K=K+1|0;if((K|0)!=5){continue}break};f=g<<1;e=T(a,3);b=e>>31;b=(b^e)-b|0;h=b>>>8|0;q:{if(h+o>>>0<=8190){e=T(b,o)+32768>>>16|0;break q}e=T(s,b>>>16|0)+T(b,J)+(T(s,b&65535)+32768>>>16)|0}o=(a|0)<0;s=g>>>7|0;a=s+w>>>0<=8190?T(f,w)+32768>>>16|0:T(t,g>>>15|0)+T(f,ea)+(T(t,f&65534)+32768>>>16)|0;e=(W+(((o?M:E)|0)<0?0-e|0:e)|0)+(r?0-a|0:a)|0;N[i+48>>2]=e;a=h+m>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65535)+32768>>>16)|0;b=G+(((o?X:D)|0)<0?0-a|0:a)|0;a=s+v>>>0<=8190?T(f,v)+32768>>>16|0:T(A,g>>>15|0)+T(f,da)+(T(A,f&65534)+32768>>>16)|0;b=b+(j?0-a|0:a)|0;N[i+52>>2]=b;f=Aa-(Y<<10)|0;h=f>>31;h=(f^h)-h|0;a=b>>31;a=(a^b)-a|0;r:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break r}j=h&65535;k=T(j,a>>>16|0)+T(a,h>>>16|0)+(T(j,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=f>>31|1;z=(((b|0)<0?0-a|0:a)|0)<0?h:k;b=Ba-pa|0;h=b>>31;h=(b^h)-h|0;a=e>>31;a=(a^e)-a|0;s:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break s}m=h&65535;k=T(m,a>>>16|0)+T(a,h>>>16|0)+(T(m,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=b>>31|1;a=(z|0)<(((((e|0)<0?0-a|0:a)|0)<0?h:k)|0);e=65536;if(!(g&-65537)){N[i+4>>2]=b;N[i>>2]=f;_b(i+48|0);_b(i);e=ob(N[i+48>>2],N[i+4>>2])-ob(N[i+52>>2],N[i>>2])|0}a=a?1:-1;break k;case 1:b=N[l+20>>2];I=N[l+4>>2];J=b-I|0;D=J<<1;a=D>>31;s=(a^D)-a|0;da=s>>>16|0;X=s&65534;d=N[l+16>>2];E=N[l>>2];M=d-E|0;x=M<<1;a=x>>31;v=(a^x)-a|0;ea=v>>>16|0;U=v&65534;w=N[l+12>>2]+(I-(b<<1)|0)|0;b=w>>31;h=(b^w)-b|0;K=h>>>16|0;o=h&65535;P=N[l+8>>2]+(E-(d<<1)|0)|0;a=P>>31;j=(a^P)-a|0;A=j>>>16|0;q=j&65535;m=0;k=J>>31|1;r=0-k|0;ca=M>>31|1;ga=0-ca|0;la=w<<1;ma=P<<1;G=b|1;V=0-G|0;H=a|1;W=0-H|0;d=2147483647;a=0;while(1){f=m<<14;b=0;while(1){g=f>>31;e=(g^f)-g|0;t=e>>>8|0;if(e+t>>>0<=8190){z=T(f,f)+32768>>>16|0}else{g=e&65535;z=T(g+e|0,e>>>16|0)+(T(g,g)+32768>>>16|0)|0}g=z;n=f>>31|1;u=(f|0)<0;B=((u?0-n|0:n)|0)<0?0-g|0:g;g=g>>31;g=(z^g)-g|0;ha=g>>>8|0;t:{if(ha+j>>>0<=8190){n=T(g,j)+32768>>>16|0;break t}n=T(q,g>>>16|0)+T(g,A)+(T(q,g&65535)+32768>>>16)|0}B=(B|0)<0;ia=((B?W:H)|0)<0?0-n|0:n;n=t+v>>>0<=8190?T(e,v)+32768>>>16|0:T(U,e>>>16|0)+T(e,ea)+(T(U,e&65535)+32768>>>16)|0;n=(E+ia|0)+(((u?ga:ca)|0)<0?0-n|0:n)|0;g=h+ha>>>0<=8190?T(g,h)+32768>>>16|0:T(o,g>>>16|0)+T(g,K)+(T(o,g&65535)+32768>>>16)|0;B=((B?V:G)|0)<0?0-g|0:g;g=t+s>>>0<=8190?T(e,s)+32768>>>16|0:T(X,e>>>16|0)+T(e,da)+(T(X,e&65535)+32768>>>16)|0;t=n-Y|0;N[i+32>>2]=t<<10;u=(I+B|0)+(((u?r:k)|0)<0?0-g|0:g)|0;g=u-ba|0;N[i+36>>2]=g<<10;e=Wb(i+32|0);if((e|0)<(d|0)){_=n<<10;Z=u<<10;d=e;a=f}e=f<<1;u=f>>>7|0;n=u+j>>>0<=8190?T(e,j)+32768>>>16|0:T(q,f>>>15|0)+T(e,A)+(T(q,e&65534)+32768>>>16)|0;n=x+((P|0)<0?0-n|0:n)|0;N[i+36>>2]=g;N[i+32>>2]=t;z=f;e=h+u>>>0<=8190?T(e,h)+32768>>>16|0:T(o,f>>>15|0)+T(e,K)+(T(o,e&65534)+32768>>>16)|0;f=D+((w|0)<0?0-e|0:e)|0;f=z-fb(((T(f,g)|0)/64|0)+((T(n,t)|0)/64|0)|0,(((T(f,f)>>>6)+(T(n,n)>>>6)|0)+((T(t,ma)|0)/64|0)|0)+((T(g,la)|0)/64|0)|0)|0;if(f>>>0<=65536){g=b&65535;b=b+1|0;if(g>>>0<3){continue}}break}m=m+1|0;if((m|0)!=5){continue}break};b=a>>31;b=(b^a)-b|0;g=b>>>8|0;u:{if(g+j>>>0<=8190){f=T(b,j)+32768>>>16|0;break u}f=T(q,b>>>16|0)+T(b,A)+(T(q,b&65535)+32768>>>16)|0}e=(a|0)<0;f=M+(((e?W:H)|0)<0?0-f|0:f)<<1;N[i+48>>2]=f;b=g+h>>>0<=8190?T(b,h)+32768>>>16|0:T(o,b>>>16|0)+T(b,K)+(T(o,b&65535)+32768>>>16)|0;g=J+(((e?V:G)|0)<0?0-b|0:b)<<1;N[i+52>>2]=g;h=_-(Y<<10)|0;e=h>>31;e=(e^h)-e|0;b=g>>31;b=(b^g)-b|0;v:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break v}j=e&65535;e=T(j,b>>>16|0)+T(b,e>>>16|0)+(T(j,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=h>>31|1;z=(((g|0)<0?0-b|0:b)|0)<0?k:e;g=Z-pa|0;e=g>>31;e=(e^g)-e|0;b=f>>31;b=(b^f)-b|0;w:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break w}m=e&65535;e=T(m,b>>>16|0)+T(b,e>>>16|0)+(T(m,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=g>>31|1;b=(z|0)<(((((f|0)<0?0-b|0:b)|0)<0?k:e)|0);e=65536;if(!(a&-65537)){N[i+4>>2]=g;N[i>>2]=h;_b(i+48|0);_b(i);e=ob(N[i+48>>2],N[i+4>>2])-ob(N[i+52>>2],N[i>>2])|0}a=b?1:-1;break k;case 0:break l;default:break g}}a=N[l+8>>2];f=N[l>>2];e=N[l+4>>2];b=N[l+12>>2]-e|0;N[i+4>>2]=b;d=a-f|0;N[i>>2]=d;j=d<<10;g=j>>31;h=fb(((T(b,ba-e|0)|0)/64|0)+((T(d,Y-f|0)|0)/64|0)|0,(T(b,b)>>>6)+(T(d,d)>>>6)|0);a=(h|0)>=65536?65536:h;a=(a|0)>0?a:0;m=a>>>8|0;g=(g^j)-g|0;x:{if((m|g)>>>0<=8190){g=T(a,g)+32768>>>16|0;break x}j=g&64512;g=T(j,a>>>16|0)+T(a,g>>>16|0)+(T(j,a&65535)+32768>>>16)|0}j=(d|0)<0;o=j?0-g|0:g;e=e-ba<<10;q=b<<10;g=q>>31;g=(g^q)-g|0;y:{if(g+m>>>0<=8190){g=T(a,g)+32768>>>16|0;break y}m=g&64512;g=T(m,a>>>16|0)+T(a,g>>>16|0)+(T(m,a&65535)+32768>>>16)|0}m=(b|0)<0;g=e+(m?0-g|0:g)|0;N[i+52>>2]=g;f=o+(f-Y<<10)|0;N[i+48>>2]=f;e=f>>31;e=(e^f)-e|0;k=b;b=b>>31;b=(k^b)-b|0;z:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break z}o=e&65535;e=T(o,b>>>16|0)+T(b,e>>>16|0)+(T(o,b&65535)+32768>>>16)|0}b=e;k=0-b|0;b=f>>31|1;k=((m?0-b|0:b)|0)<0?k:e;b=d>>31;b=(b^d)-b|0;d=g>>31;d=(d^g)-d|0;A:{if((b>>>8|0)+d>>>0<=8190){d=T(b,d)+32768>>>16|0;break A}e=d&65535;d=T(e,b>>>16|0)+T(b,d>>>16|0)+(T(e,b&65535)+32768>>>16)|0}b=d;f=0-b|0;b=g>>31|1;j=(k|0)<((((j?0-b|0:b)|0)<0?f:d)|0);d=Wb(i+48|0);B:{if((h|0)>0){e=65536;if((a|0)!=65536){break B}}_b(i);_b(i+48|0);f=N[i>>2];b=f>>31;g=N[i+52>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;C:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break C}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+4>>2];b=f>>31;g=N[i+48>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;D:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break D}h=b&65535;b=T(h,a>>>16|0)+T(a,b>>>16|0)+(T(h,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=j?1:-1}if((d|0)>(aa|0)){break j}b=(Da|0)==1?0-a|0:a;a=T(p+ua|0,12)+ja|0;if(O[a+8|0]){f=N[a>>2];if((f|0)<=(d|0)){g=f-d|0;f=g>>31;if((f^g)-f>>>0>31){break j}L[i+8|0]=b;N[i>>2]=d;N[i+4>>2]=e;L[i+11|0]=0;L[i+9|0]=0;L[i+10|0]=0;N[i+56>>2]=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[i+48>>2]=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);N[i+52>>2]=b;d=N[i+52>>2];b=d>>31;d=(b^d)-b|0;b=e>>31;b=d>>>0>(b^e)-b>>>0?i+48|0:i;f=N[b+8>>2];N[i+40>>2]=f;d=N[b+4>>2];b=N[b>>2];N[i+32>>2]=b;N[i+36>>2]=d;N[a+8>>2]=f;N[a>>2]=b;N[a+4>>2]=d;break j}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0;break j}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0}p=p+1|0;if((ta|0)>(p|0)){continue}break}}y=y+1|0;if((sa|0)>(y|0)){continue}break i}}while(1){if((y|0)<(ka|0)&(y|0)>=0){ba=y<<6|32;pa=ba<<10;ua=T(y,fa);p=S;while(1){E:{if((p|0)<0|(p|0)>=(fa|0)){break E}e=6;Y=p<<6|32;F:{G:{switch(N[l+32>>2]-1|0){case 2:a=N[l+20>>2];U=N[l+4>>2];f=a-U|0;G=T(f,3);b=G>>31;V=(b^G)-b|0;la=V>>>16|0;ca=V&65535;b=N[l+16>>2];H=N[l>>2];g=b-H|0;W=T(g,3);d=W>>31;u=(d^W)-d|0;ma=u>>>16|0;ga=u&65535;e=N[l+28>>2];Z=e+(U-(a<<1)|0)|0;h=T(Z,3);d=h>>31;v=(d^h)-d|0;da=v>>>16|0;A=v&65535;d=N[l+12>>2]+(T(a-e|0,3)-U|0)|0;e=d>>31;a=e;m=(a^d)-a|0;I=m>>>16|0;q=m&65535;d=N[l+24>>2];_=d+(H-(b<<1)|0)|0;h=T(_,3);a=h>>31;w=(a^h)-a|0;ea=w>>>16|0;t=w&65535;b=N[l+8>>2]+(T(b-d|0,3)-H|0)|0;a=b>>31;o=(a^b)-a|0;J=o>>>16|0;s=o&65535;K=0;B=f>>31|1;ha=0-B|0;ia=g>>31|1;va=0-ia|0;wa=T(Z,6);z=T(_,6);qa=Z>>31|1;xa=0-qa|0;D=e|1;X=0-D|0;ra=_>>31|1;ya=0-ra|0;E=a|1;M=0-E|0;d=2147483647;g=0;a=0;while(1){f=K<<14;P=0;while(1){b=f>>31;h=(b^f)-b|0;x=h>>>8|0;if(h+x>>>0<=8190){k=T(f,f)+32768>>>16|0}else{b=h&65535;k=T(b+h|0,h>>>16|0)+(T(b,b)+32768>>>16|0)|0}e=k;b=f>>31|1;n=(f|0)<0;b=((n?0-b|0:b)|0)<0?0-e|0:e;e=e>>31;j=(k^e)-e|0;H:{if(j+x>>>0<=8190){F=T(h,j)+32768>>>16|0;break H}e=j&65535;F=T(e,h>>>16|0)+T(h,j>>>16|0)+(T(e,h&65535)+32768>>>16)|0}e=F;k=b>>31|1;r=((n?0-k|0:k)|0)<0?0-e|0:e;e=e>>31;e=(F^e)-e|0;Q=e>>>8|0;I:{if(Q+o>>>0<=8190){k=T(e,o)+32768>>>16|0;break I}k=T(s,e>>>16|0)+T(e,J)+(T(s,e&65535)+32768>>>16)|0}R=(r|0)<0;r=((R?M:E)|0)<0?0-k|0:k;$=j>>>8|0;k=$+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,j>>>16|0)+T(j,ea)+(T(t,j&65535)+32768>>>16)|0;za=0-k|0;F=k;k=(b|0)<0;F=(r+H|0)+(((k?ya:ra)|0)<0?za:F)|0;r=x+u>>>0<=8190?T(h,u)+32768>>>16|0:T(ga,h>>>16|0)+T(h,ma)+(T(ga,h&65535)+32768>>>16)|0;r=F+(((n?va:ia)|0)<0?0-r|0:r)|0;e=m+Q>>>0<=8190?T(e,m)+32768>>>16|0:T(q,e>>>16|0)+T(e,I)+(T(q,e&65535)+32768>>>16)|0;Q=((R?X:D)|0)<0?0-e|0:e;e=v+$>>>0<=8190?T(j,v)+32768>>>16|0:T(A,j>>>16|0)+T(j,da)+(T(A,j&65535)+32768>>>16)|0;j=((k?xa:qa)|0)<0?0-e|0:e;e=x+V>>>0<=8190?T(h,V)+32768>>>16|0:T(ca,h>>>16|0)+T(h,la)+(T(ca,h&65535)+32768>>>16)|0;x=r-Y|0;N[i+32>>2]=x<<10;j=(j+(Q+U|0)|0)+(((n?ha:B)|0)<0?0-e|0:e)|0;e=j-ba|0;N[i+36>>2]=e<<10;h=Wb(i+32|0);if((h|0)<(d|0)){Aa=r<<10;Ba=j<<10;g=f;d=h;a=b}j=f<<1;h=T(b,3);b=h>>31;h=(b^h)-b|0;r=h>>>8|0;J:{if(r+o>>>0<=8190){b=T(h,o)+32768>>>16|0;break J}b=T(s,h>>>16|0)+T(h,J)+(T(s,h&65535)+32768>>>16)|0}Q=((k?M:E)|0)<0?0-b|0:b;R=f>>>7|0;b=R+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,f>>>15|0)+T(j,ea)+(T(t,j&65534)+32768>>>16)|0;$=0-b|0;h=m+r>>>0<=8190?T(h,m)+32768>>>16|0:T(q,h>>>16|0)+T(h,I)+(T(q,h&65535)+32768>>>16)|0;r=(_|0)<0;$=r?$:b;Q=Q+W|0;N[i+32>>2]=x;N[i+36>>2]=e;b=v+R>>>0<=8190?T(j,v)+32768>>>16|0:T(A,f>>>15|0)+T(j,da)+(T(A,j&65534)+32768>>>16)|0;j=(Z|0)<0;b=((((k?X:D)|0)<0?0-h|0:h)+G|0)+(j?0-b|0:b)|0;h=Q+$|0;F=((T(b,e)|0)/64|0)+((T(h,x)|0)/64|0)|0;k=(T(b,b)>>>6)+(T(h,h)>>>6)|0;h=T(f,6);b=h>>31;b=(b^h)-b|0;R=b>>>8|0;K:{if(R+o>>>0<=8190){h=T(b,o)+32768>>>16|0;break K}h=T(s,b>>>16|0)+T(b,J)+(T(s,b&65534)+32768>>>16)|0}b=m+R>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65534)+32768>>>16)|0;f=f-fb(F,(k+((T(x,z+(((n?M:E)|0)<0?0-h|0:h)|0)|0)/64|0)|0)+((T(wa+(((n?X:D)|0)<0?0-b|0:b)|0,e)|0)/64|0)|0)|0;if(f>>>0<=65536){b=P&65535;P=P+1|0;if(b>>>0<3){continue}}break}K=K+1|0;if((K|0)!=5){continue}break};f=g<<1;e=T(a,3);b=e>>31;b=(b^e)-b|0;h=b>>>8|0;L:{if(h+o>>>0<=8190){e=T(b,o)+32768>>>16|0;break L}e=T(s,b>>>16|0)+T(b,J)+(T(s,b&65535)+32768>>>16)|0}o=(a|0)<0;s=g>>>7|0;a=s+w>>>0<=8190?T(f,w)+32768>>>16|0:T(t,g>>>15|0)+T(f,ea)+(T(t,f&65534)+32768>>>16)|0;e=(W+(((o?M:E)|0)<0?0-e|0:e)|0)+(r?0-a|0:a)|0;N[i+48>>2]=e;a=h+m>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65535)+32768>>>16)|0;b=G+(((o?X:D)|0)<0?0-a|0:a)|0;a=s+v>>>0<=8190?T(f,v)+32768>>>16|0:T(A,g>>>15|0)+T(f,da)+(T(A,f&65534)+32768>>>16)|0;b=b+(j?0-a|0:a)|0;N[i+52>>2]=b;f=Aa-(Y<<10)|0;h=f>>31;h=(f^h)-h|0;a=b>>31;a=(a^b)-a|0;M:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break M}j=h&65535;k=T(j,a>>>16|0)+T(a,h>>>16|0)+(T(j,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=f>>31|1;z=(((b|0)<0?0-a|0:a)|0)<0?h:k;b=Ba-pa|0;h=b>>31;h=(b^h)-h|0;a=e>>31;a=(a^e)-a|0;N:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break N}m=h&65535;k=T(m,a>>>16|0)+T(a,h>>>16|0)+(T(m,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=b>>31|1;h=(z|0)<(((((e|0)<0?0-a|0:a)|0)<0?h:k)|0);e=65536;if(!(g&-65537)){N[i+4>>2]=b;N[i>>2]=f;_b(i+48|0);_b(i);f=N[i+48>>2];b=f>>31;g=N[i+4>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;O:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break O}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+52>>2];b=f>>31;g=N[i>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;P:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break P}j=b&65535;b=T(j,a>>>16|0)+T(a,b>>>16|0)+(T(j,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=h?1:-1;break F;case 1:b=N[l+20>>2];I=N[l+4>>2];J=b-I|0;D=J<<1;a=D>>31;s=(a^D)-a|0;da=s>>>16|0;X=s&65534;d=N[l+16>>2];E=N[l>>2];M=d-E|0;x=M<<1;a=x>>31;v=(a^x)-a|0;ea=v>>>16|0;U=v&65534;w=N[l+12>>2]+(I-(b<<1)|0)|0;b=w>>31;h=(b^w)-b|0;K=h>>>16|0;o=h&65535;P=N[l+8>>2]+(E-(d<<1)|0)|0;a=P>>31;j=(a^P)-a|0;A=j>>>16|0;q=j&65535;m=0;k=J>>31|1;r=0-k|0;ca=M>>31|1;ga=0-ca|0;la=w<<1;ma=P<<1;G=b|1;V=0-G|0;H=a|1;W=0-H|0;d=2147483647;a=0;while(1){f=m<<14;b=0;while(1){g=f>>31;e=(g^f)-g|0;t=e>>>8|0;if(e+t>>>0<=8190){z=T(f,f)+32768>>>16|0}else{g=e&65535;z=T(g+e|0,e>>>16|0)+(T(g,g)+32768>>>16|0)|0}g=z;n=f>>31|1;u=(f|0)<0;B=((u?0-n|0:n)|0)<0?0-g|0:g;g=g>>31;g=(z^g)-g|0;ha=g>>>8|0;Q:{if(ha+j>>>0<=8190){n=T(g,j)+32768>>>16|0;break Q}n=T(q,g>>>16|0)+T(g,A)+(T(q,g&65535)+32768>>>16)|0}B=(B|0)<0;ia=((B?W:H)|0)<0?0-n|0:n;n=t+v>>>0<=8190?T(e,v)+32768>>>16|0:T(U,e>>>16|0)+T(e,ea)+(T(U,e&65535)+32768>>>16)|0;n=(E+ia|0)+(((u?ga:ca)|0)<0?0-n|0:n)|0;g=h+ha>>>0<=8190?T(g,h)+32768>>>16|0:T(o,g>>>16|0)+T(g,K)+(T(o,g&65535)+32768>>>16)|0;B=((B?V:G)|0)<0?0-g|0:g;g=t+s>>>0<=8190?T(e,s)+32768>>>16|0:T(X,e>>>16|0)+T(e,da)+(T(X,e&65535)+32768>>>16)|0;t=n-Y|0;N[i+32>>2]=t<<10;u=(I+B|0)+(((u?r:k)|0)<0?0-g|0:g)|0;g=u-ba|0;N[i+36>>2]=g<<10;e=Wb(i+32|0);if((e|0)<(d|0)){_=n<<10;Z=u<<10;d=e;a=f}e=f<<1;u=f>>>7|0;n=u+j>>>0<=8190?T(e,j)+32768>>>16|0:T(q,f>>>15|0)+T(e,A)+(T(q,e&65534)+32768>>>16)|0;n=x+((P|0)<0?0-n|0:n)|0;N[i+36>>2]=g;N[i+32>>2]=t;z=f;e=h+u>>>0<=8190?T(e,h)+32768>>>16|0:T(o,f>>>15|0)+T(e,K)+(T(o,e&65534)+32768>>>16)|0;f=D+((w|0)<0?0-e|0:e)|0;f=z-fb(((T(f,g)|0)/64|0)+((T(n,t)|0)/64|0)|0,(((T(f,f)>>>6)+(T(n,n)>>>6)|0)+((T(t,ma)|0)/64|0)|0)+((T(g,la)|0)/64|0)|0)|0;if(f>>>0<=65536){g=b&65535;b=b+1|0;if(g>>>0<3){continue}}break}m=m+1|0;if((m|0)!=5){continue}break};b=a>>31;b=(b^a)-b|0;g=b>>>8|0;R:{if(g+j>>>0<=8190){f=T(b,j)+32768>>>16|0;break R}f=T(q,b>>>16|0)+T(b,A)+(T(q,b&65535)+32768>>>16)|0}e=(a|0)<0;f=M+(((e?W:H)|0)<0?0-f|0:f)<<1;N[i+48>>2]=f;b=g+h>>>0<=8190?T(b,h)+32768>>>16|0:T(o,b>>>16|0)+T(b,K)+(T(o,b&65535)+32768>>>16)|0;g=J+(((e?V:G)|0)<0?0-b|0:b)<<1;N[i+52>>2]=g;h=_-(Y<<10)|0;e=h>>31;e=(e^h)-e|0;b=g>>31;b=(b^g)-b|0;S:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break S}j=e&65535;e=T(j,b>>>16|0)+T(b,e>>>16|0)+(T(j,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=h>>31|1;z=(((g|0)<0?0-b|0:b)|0)<0?k:e;g=Z-pa|0;e=g>>31;e=(e^g)-e|0;b=f>>31;b=(b^f)-b|0;T:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break T}m=e&65535;e=T(m,b>>>16|0)+T(b,e>>>16|0)+(T(m,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=g>>31|1;j=(z|0)<(((((f|0)<0?0-b|0:b)|0)<0?k:e)|0);e=65536;if(!(a&-65537)){N[i+4>>2]=g;N[i>>2]=h;_b(i+48|0);_b(i);f=N[i+48>>2];b=f>>31;g=N[i+4>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;U:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break U}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+52>>2];b=f>>31;g=N[i>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;V:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break V}h=b&65535;b=T(h,a>>>16|0)+T(a,b>>>16|0)+(T(h,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=j?1:-1;break F;case 0:break G;default:break g}}a=N[l+8>>2];f=N[l>>2];e=N[l+4>>2];b=N[l+12>>2]-e|0;N[i+4>>2]=b;d=a-f|0;N[i>>2]=d;j=d<<10;g=j>>31;h=fb(((T(b,ba-e|0)|0)/64|0)+((T(d,Y-f|0)|0)/64|0)|0,(T(b,b)>>>6)+(T(d,d)>>>6)|0);a=(h|0)>=65536?65536:h;a=(a|0)>0?a:0;m=a>>>8|0;g=(g^j)-g|0;W:{if((m|g)>>>0<=8190){g=T(a,g)+32768>>>16|0;break W}j=g&64512;g=T(j,a>>>16|0)+T(a,g>>>16|0)+(T(j,a&65535)+32768>>>16)|0}j=(d|0)<0;o=j?0-g|0:g;e=e-ba<<10;q=b<<10;g=q>>31;g=(g^q)-g|0;X:{if(g+m>>>0<=8190){g=T(a,g)+32768>>>16|0;break X}m=g&64512;g=T(m,a>>>16|0)+T(a,g>>>16|0)+(T(m,a&65535)+32768>>>16)|0}m=(b|0)<0;g=e+(m?0-g|0:g)|0;N[i+52>>2]=g;f=o+(f-Y<<10)|0;N[i+48>>2]=f;e=f>>31;e=(e^f)-e|0;k=b;b=b>>31;b=(k^b)-b|0;Y:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break Y}o=e&65535;e=T(o,b>>>16|0)+T(b,e>>>16|0)+(T(o,b&65535)+32768>>>16)|0}b=e;k=0-b|0;b=f>>31|1;k=((m?0-b|0:b)|0)<0?k:e;b=d>>31;b=(b^d)-b|0;d=g>>31;d=(d^g)-d|0;Z:{if((b>>>8|0)+d>>>0<=8190){d=T(b,d)+32768>>>16|0;break Z}e=d&65535;d=T(e,b>>>16|0)+T(b,d>>>16|0)+(T(e,b&65535)+32768>>>16)|0}b=d;f=0-b|0;b=g>>31|1;j=(k|0)<((((j?0-b|0:b)|0)<0?f:d)|0);d=Wb(i+48|0);_:{if((h|0)>0){e=65536;if((a|0)!=65536){break _}}_b(i);_b(i+48|0);f=N[i>>2];b=f>>31;g=N[i+52>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;$:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break $}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+4>>2];b=f>>31;g=N[i+48>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;aa:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break aa}h=b&65535;b=T(h,a>>>16|0)+T(a,b>>>16|0)+(T(h,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=j?1:-1}if((d|0)>(aa|0)){break E}b=(Da|0)==1?0-a|0:a;a=T(p+ua|0,12)+ja|0;if(O[a+8|0]){f=N[a>>2];if((f|0)<=(d|0)){g=f-d|0;f=g>>31;if((f^g)-f>>>0>31){break E}L[i+8|0]=b;N[i>>2]=d;N[i+4>>2]=e;L[i+11|0]=0;L[i+9|0]=0;L[i+10|0]=0;N[i+56>>2]=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[i+48>>2]=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);N[i+52>>2]=b;d=N[i+52>>2];b=d>>31;d=(b^d)-b|0;b=e>>31;b=d>>>0>(b^e)-b>>>0?i+48|0:i;f=N[b+8>>2];N[i+40>>2]=f;d=N[b+4>>2];b=N[b>>2];N[i+32>>2]=b;N[i+36>>2]=d;N[a+8>>2]=f;N[a>>2]=b;N[a+4>>2]=d;break E}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0;break E}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0}p=p+1|0;if((ta|0)>(p|0)){continue}break}}y=y+1|0;if((sa|0)>(y|0)){continue}break}}l=N[l+36>>2];if(l){continue}break}}oa=N[oa+12>>2];if(oa){continue}break}}e=0;if((ka|0)<=0|(fa|0)<=0){break g}b=Ca?Ca>>31|1:-1;g=0;if(!Ga){while(1){p=T(g,fa);a=b;e=0;while(1){f=aa;S=e+p|0;d=T(S,12)+ja|0;c=O[d+8|0];if(c){a=N[d>>2];f=(a|0)<(aa|0)?a:aa;a=c}c=T(a<<24>>24,f);N[d>>2]=c;c=fb(c,aa);d=c>>31;d=(c^d)-d|0;f=d>>>9|0;d=(c|0)>0?d>>>0>65535?127:f:f;f=d&255;c=(c|0)<0;d=c?d>>>0>128?128:f:f;L[S+Ea|0]=(c?0-d|0:d)^128;e=e+1|0;if((fa|0)!=(e|0)){continue}break}g=g+1|0;if((ka|0)!=(g|0)){continue}break}e=0;break f}while(1){p=T(g,fa);a=b;e=0;while(1){f=aa;S=e+p|0;d=T(S,12)+ja|0;c=O[d+8|0];if(c){a=N[d>>2];f=(a|0)<(aa|0)?a:aa;a=c}c=0-T(a<<24>>24,f)|0;N[d>>2]=c;c=fb(c,aa);d=c>>31;d=(c^d)-d|0;f=d>>>9|0;d=(c|0)>0?d>>>0>65535?127:f:f;f=d&255;c=(c|0)<0;d=c?d>>>0>128?128:f:f;L[S+Ea|0]=(c?0-d|0:d)^128;e=e+1|0;if((fa|0)!=(e|0)){continue}break}g=g+1|0;if((ka|0)!=(g|0)){continue}break}e=0;break f}if(!ja){break a}}Qa[N[na+8>>2]](na,ja)}La=i- -64|0;return e}function oz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,G=0,H=0;d=La-752|0;La=d;C(b,0,80);a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(N[a>>2]){case 0:e=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];m=XE(S[a+16>>3]*64);j:{if(V(m)<2147483648){f=~~m;break j}f=-2147483648}N[d+360>>2]=f;N[d+352>>2]=1;N[d+356>>2]=0;N[d+364>>2]=0;N[d+368>>2]=0;eg(e,d+352|0);f=N[a+8>>2];h=N[(f+(N[a+24>>2]<<2)|0)+68>>2];e=N[a+28>>2];c=N[c+88>>2];if(c>>>0<=2){c=N[(c<<2)+440376>>2]}else{c=2568}if(vc(h,e,c)){a=N[f+20>>2];N[d>>2]=e;mb(a,2,17123,d);break d}k:{l:{if(L[h+12|0]&1|Q[f+12>>2]<56){break l}e=N[h+84>>2];c=N[110093];N[d+360>>2]=N[110092];N[d+364>>2]=c;c=N[110091];N[d+352>>2]=N[110090];N[d+356>>2]=c;c=N[e+112>>2];if(!c){break l}e=M[e+110>>1];if((e|0)<=0){break l}e=(e<<3)+c|0;while(1){id(c,d+352|0);c=c+8|0;if(e>>>0>c>>>0){continue}break}e=N[f+8>>2];if(h){break k}break g}e=N[f+8>>2]}if(!(O[h+8|0]&8)){break g}g=N[h+96>>2];c=N[N[g>>2]+32>>2];if(!c){break g}c=Qa[c|0](g,16067)|0;if(!c){break g}g=Qa[N[c+4>>2]](h,2)|0;if(!g){break g}c=100;m:{n:{o:{p:{q:{r:{s:{t:{u:{g=P[g+4>>1];switch(g|0){case 9:break n;case 8:break o;case 7:break p;case 6:break q;case 5:break r;case 4:break s;case 3:break t;case 2:break u;case 1:break f;case 0:break g;default:break m}}c=200;break f}c=300;break f}c=350;break f}c=400;break f}c=600;break f}c=700;break f}c=800;break f}c=900;break f}c=g;break f;case 1:p=N[c>>2];c=N[a+8>>2];e=kb(800);N[b+20>>2]=e;a=kb(100);N[b+24>>2]=a;j=b+4|0;if(!(a?e:0)){_a(e);_a(a);N[j+16>>2]=0;N[j+20>>2]=0;N[j+8>>2]=0;N[j+12>>2]=0;N[j>>2]=0;N[j+4>>2]=0;break d}N[b+4>>2]=0;N[b+8>>2]=100;N[b+12>>2]=0;N[b+16>>2]=100;N[d+364>>2]=-2147483648;N[d+352>>2]=2147483647;N[d+356>>2]=2147483647;N[d+360>>2]=-2147483648;N[d+624>>2]=c;v:{if(!c){break v}h=O[c|0];if(!h){break v}e=-1;while(1){f=e;a=c;w:{if(!(!n|(h&255)!=99)){u=0;c=N[n+12>>2];if(!c|N[c>>2]!=5){break w}c=N[c+12>>2];if(!c|N[c>>2]!=5){break w}e=db(1,20);N[k+12>>2]=e;N[e>>2]=5;N[e+16>>2]=k;c=N[n+8>>2];N[e+4>>2]=N[n+4>>2];N[e+8>>2]=c;c=N[n+12>>2];h=db(1,20);N[e+12>>2]=h;N[h>>2]=5;N[h+16>>2]=e;e=N[c+8>>2];N[h+4>>2]=N[c+4>>2];N[h+8>>2]=e;e=N[c+12>>2];k=db(1,20);N[h+12>>2]=k;N[k>>2]=5;N[k+16>>2]=h;c=N[e+8>>2];N[k+4>>2]=N[e+4>>2];N[k+8>>2]=c;e=f;n=0;break w}x:{y:{z:{switch(u|0){case 0:m=pb(a,d+624|0);c=N[d+624>>2];if((c|0)==(a|0)){break y}a=c-1|0;N[d+624>>2]=a;u=1;m=XE(m*64);A:{if(V(m)<2147483648){i=~~m;break A}i=-2147483648}break w;case 1:break z;default:break y}}m=pb(a,d+624|0);c=N[d+624>>2];if((c|0)!=(a|0)){break x}}u=0;e=0;B:{switch(O[a|0]-98|0){case 12:e=1;break w;case 10:e=2;break w;case 0:e=3;break w;case 15:e=4;break w;case 17:e=5;break w;case 11:break w;default:break B}}e=f;break w}e=-1;a=c-1|0;N[d+624>>2]=a;m=XE(m*64);C:{if(V(m)<2147483648){c=~~m;break C}c=-2147483648}if((f|0)==-1){u=2;break w}u=0;e=0;l=db(1,20);h=l;if(g){N[k+12>>2]=l;N[l+16>>2]=k;h=g;e=k}N[l+4>>2]=i;N[l>>2]=f;N[l+8>>2]=c;c=(f|0)!=5|(n|0)!=0;n=c?n:e;e=c?f:5;g=h;k=l}c=a+1|0;N[d+624>>2]=c;h=O[a+1|0];if(h){continue}break}N[d+624>>2]=0;N[d+628>>2]=0;a=0;if(!g){c=1;break h}c=g;D:{E:{F:{G:{H:{while(1){I:{J:{K:{L:{M:{N:{O:{P:{switch(N[c>>2]){case 0:e=N[c+8>>2];f=N[c+4>>2];N[d+624>>2]=f;N[d+628>>2]=e;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(e|0)>(f|0)?f:e;f=N[d+364>>2];N[d+364>>2]=(e|0)<(f|0)?f:e;if(a&1){if(!Ho(j)){break E}a=N[b+12>>2];if(!a){break c}e=(a+N[b+24>>2]|0)-1|0;a=O[e|0];if(a>>>0>=4){break b}L[e|0]=a|4}a=0;c=N[c+12>>2];if(c){continue}break G;case 2:e=N[c+8>>2];f=N[c+4>>2];N[d+560>>2]=f;N[d+564>>2]=e;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(e|0)>(f|0)?f:e;f=N[d+364>>2];N[d+364>>2]=(e|0)<(f|0)?f:e;if(!(a&1)){a=N[d+628>>2];N[d+40>>2]=N[d+624>>2];N[d+44>>2]=a;if(!Fb(j,d+40|0,0)){break E}}a=N[d+564>>2];N[d+32>>2]=N[d+560>>2];N[d+36>>2]=a;if(!Fb(j,d+32|0,1)){break E}break J;case 5:e=N[c+12>>2];if(!e){break O}if(N[e>>2]!=5){break I}f=N[e+12>>2];if(!f|N[f>>2]!=5){break I}f=N[c+16>>2];if(f){break L}break I;case 1:break N;case 3:break P;default:break M}}e=N[c+12>>2];if(e){break K}}c=0;if(a&1){break H}break F}e=N[c+8>>2];f=N[c+4>>2];N[d+624>>2]=f;N[d+628>>2]=e;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(e|0)>(f|0)?f:e;f=N[d+364>>2];N[d+364>>2]=(e|0)<(f|0)?f:e}e=N[c+12>>2];break I}if(oo(j,d+352|0,N[f+4>>2],N[f+8>>2],N[f+12>>2],1,a&1)){break J}break E}if(N[e>>2]!=3){break I}f=N[e+12>>2];if(!f|N[f>>2]!=3){break I}f=N[c+16>>2];if(!f){break I}if(!oo(j,d+352|0,N[f+4>>2],N[f+8>>2],N[f+12>>2],0,a&1)){break E}a=1;e=N[N[N[c+12>>2]+12>>2]+12>>2];break I}a=1;e=N[c+12>>2]}c=e;if(c){continue}break}c=0;if(!(a&1)){break F}}if(!Ho(j)){break E}a=N[b+12>>2];if(!a){break c}c=(a+N[b+24>>2]|0)-1|0;a=O[c|0];if(a>>>0>=4){break D}L[c|0]=a|4}c=0}a=g;break h}while(1){a=N[g+12>>2];_a(g);g=a;if(a){continue}break}_a(N[b+20>>2]);_a(N[b+24>>2]);N[j+16>>2]=0;N[j+20>>2]=0;N[j+8>>2]=0;N[j+12>>2]=0;N[j>>2]=0;N[j+4>>2]=0;break d}break b}N[d+624>>2]=0;N[d+628>>2]=0;a=0;c=1;break h;case 3:a=kb(32);N[b+20>>2]=a;c=kb(4);N[b+24>>2]=c;if(!(c?a:0)){_a(a);_a(c);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break d}N[b+16>>2]=4;N[b+8>>2]=4;N[a>>2]=0;N[a+20>>2]=64;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=64;N[a+28>>2]=64;N[a+4>>2]=0;N[a+8>>2]=64;L[c|0]=1;L[c+1|0]=1;L[c+2|0]=1;L[c+3|0]=5;N[b+4>>2]=4;N[b+12>>2]=4;break e;case 2:break i;default:break d}}n=N[a+20>>2];if(!(n|N[a+24>>2])){break e}x=N[a+8>>2];z=N[x+4>>2];if(!z){break e}e=N[a+16>>2];h=N[a+12>>2];Q:{if((h|0)>0){l=h>>>0<32?268435455>>>h|0:0;break Q}h=(h|0)<=-32?-32:h;l=268435455}if((e|0)>0){k=e>>>0<32?268435455>>>e|0:0}else{e=(e|0)<=-32?-32:e;k=268435455}if(!l|!k){break d}R:{S:{T:{s=N[x+12>>2];if(s){if(z>>>0>536870911){break d}p=kb(z<<3);v=kb(s);if(!p|!v){break R}i=e+32|0;h=h+32|0;o=N[x+20>>2];e=0;while(1){f=e<<3;g=f+o|0;y=N[g>>2];j=y>>31;if((l|0)<((j^y)-j|0)){break R}j=N[g+4>>2];g=j>>31;if((k|0)<((g^j)-g|0)){break R}g=f+p|0;f=j>>31;r=j;w=i&31;if((i&63)>>>0>=32){j=r<>>32-w|f<>2]=j;f=y>>31;j=y;r=h&31;if((h&63)>>>0>=32){f=j<>>32-r|f<>2]=f;e=e+1|0;if((z|0)!=(e|0)){continue}break}F(v,N[x+24>>2],s);U:{i=z<<1;if(!i){break U}l=s<<1;if(!l){break U}f=b+28|0;g=b+4|0;V:{W:{X:{Y:{if(i>>>0<=536870911){e=N[a+24>>2];h=kb(z<<4);N[b+20>>2]=h;a=kb(l);N[b+24>>2]=a;if(a?h:0){break Y}_a(h);_a(a);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;a=1;break X}N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break W}N[b+4>>2]=0;N[b+16>>2]=l;N[b+8>>2]=i;N[b+12>>2]=0;a=0}k=kb(z<<4);N[b+44>>2]=k;h=kb(l);N[b+48>>2]=h;if(h?k:0){break V}_a(k);_a(h)}N[b+28>>2]=0;N[b+32>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;break T}N[b+28>>2]=0;N[b+40>>2]=l;N[b+32>>2]=i;N[b+36>>2]=0;if(a){break T}h=n<<4;e=e<<4;a=(e|0)<(h|0)?h:e;if(a-16>>>0<268435440){L[d+404|0]=1;N[d+360>>2]=0;N[d+364>>2]=0;N[d+356>>2]=f;N[d+352>>2]=g;S[d+376>>3]=e|0;S[d+368>>3]=h|0;t=16/+(a|0);S[d+480>>3]=t*.25;S[d+464>>3]=1-t;S[d+496>>3]=t*(t*390);q=t+1;S[d+488>>3]=q*(q*8);N[d+400>>2]=16;S[d+392>>3]=1/+(((e|0)<=16?16:e)|0);S[d+384>>3]=1/+(((h|0)<=16?16:h)|0);m=aa(t+t);S[d+504>>3]=m;S[d+472>>3]=q*-4*m+(t*8+1);a=0;Z:{while(1){g=p+(a<<3)|0;e=N[g>>2];f=e>>31;if((e^f)-f>>>0>268435455){break Z}e=N[g+4>>2];g=e>>31;if((e^g)-g>>>0>=268435456){break Z}a=a+1|0;if((z|0)!=(a|0)){continue}break}g=0;e=p;h=e;while(1){if((e|0)==(h|0)){a=N[e+4>>2];N[d+456>>2]=N[e>>2];N[d+460>>2]=a}a=O[g+v|0];f=a&3;e=(f<<3)+e|0;y=a&4;a=y?h:e;_:{$:{switch(f-1|0){case 1:f=a;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);f=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);i=f;k=a;N[d+520>>2]=a;N[d+524>>2]=f;a=e-8|0;f=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);x=f-N[d+460>>2]|0;n=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);o=n-N[d+456>>2]|0;w=N[d+400>>2];l=0-w|0;if(!((o|0)<=(l|0)|(o|0)>=(w|0)|((w|0)<=(x|0)|(l|0)>=(x|0)))){a=N[d+524>>2];N[d+264>>2]=N[d+520>>2];N[d+268>>2]=a;if(Wd(d+352|0,d+264|0)){break _}break T}r=i-f|0;j=k-n|0;if(!((j|0)<=(l|0)|(j|0)>=(w|0)|((l|0)>=(r|0)|(r|0)>=(w|0)))){a=N[d+524>>2];N[d+272>>2]=N[d+520>>2];N[d+276>>2]=a;if(Wd(d+352|0,d+272|0)){break _}break T}a=N[d+456>>2];l=N[d+460>>2];N[d+456>>2]=k;N[d+460>>2]=i;N[d+544>>2]=k;N[d+548>>2]=i;N[d+528>>2]=a;N[d+532>>2]=l;N[d+536>>2]=n;N[d+540>>2]=f;q=S[d+384>>3];A=q*+(0-o|0);S[d+568>>3]=A;m=S[d+392>>3];D=m*+(x|0);S[d+560>>3]=D;t=m*+(r|0);S[d+576>>3]=t;q=q*+(0-j|0);S[d+584>>3]=q;m=aa(D*D+A*A);S[d+640>>3]=m;m=1/m;S[d+632>>3]=A*m;S[d+624>>3]=D*m;m=aa(t*t+q*q);S[d+664>>3]=m;m=1/m;S[d+656>>3]=q*m;S[d+648>>3]=t*m;f=O[d+404|0];N[d+296>>2]=a;N[d+300>>2]=l;a=N[d+636>>2];N[d+288>>2]=N[d+632>>2];N[d+292>>2]=a;a=N[d+628>>2];N[d+280>>2]=N[d+624>>2];N[d+284>>2]=a;if(!ye(d+352|0,d+296|0,d+280|0,3)){break T}if(yi(d+352|0,d+528|0,d+560|0,d+624|0,3,(f|0)!=0)){break _}break T;case 2:f=a;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);f=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);i=f;l=a;N[d+520>>2]=a;N[d+524>>2]=f;a=e-8|0;k=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);w=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);G=9;aa:{a=e-16|0;x=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);r=N[d+456>>2];n=x-r|0;E=N[d+400>>2];H=0-E|0;f=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);a=N[d+460>>2];o=f-a|0;j=(n|0)>(H|0)&(n|0)<(E|0)&(H|0)<(o|0)&(o|0)<(E|0);if(!j){break aa}o=k-a|0;G=8;n=w-r|0;if((H|0)>=(n|0)|(n|0)>=(E|0)|((o|0)<=(H|0)|(o|0)>=(E|0))){break aa}a=N[d+524>>2];N[d+304>>2]=N[d+520>>2];N[d+308>>2]=a;if(Wd(d+352|0,d+304|0)){break _}break T}a=i;u=a-k|0;ba:{r=l-w|0;if((H|0)>=(r|0)|(r|0)>=(E|0)|((u|0)<=(H|0)|(u|0)>=(E|0))){break ba}u=a-f|0;r=l-x|0;if(!((H|0)>=(r|0)|(r|0)>=(E|0)|((u|0)<=(H|0)|(u|0)>=(E|0)))){a=N[d+524>>2];N[d+312>>2]=N[d+520>>2];N[d+316>>2]=a;if(Wd(d+352|0,d+312|0)){break _}break T}G=13;if(!j){break ba}a=N[d+524>>2];N[d+320>>2]=N[d+520>>2];N[d+324>>2]=a;if(Wd(d+352|0,d+320|0)){break _}break T}N[d+552>>2]=l;N[d+556>>2]=i;a=N[d+460>>2];N[d+528>>2]=N[d+456>>2];N[d+532>>2]=a;N[d+544>>2]=w;N[d+548>>2]=k;N[d+536>>2]=x;N[d+540>>2]=f;N[d+456>>2]=l;N[d+460>>2]=i;a=d+528|0;i=a+((G&3)<<3)|0;k=N[i+4>>2];f=a+(G<<1&24)|0;a=N[f+4>>2];q=S[d+384>>3];S[d+648>>3]=q*+(N[i>>2]-N[f>>2]|0);m=S[d+392>>3];S[d+640>>3]=m*+(a-k|0);A=q*+(0-n|0);S[d+632>>3]=A;D=m*+(o|0);S[d+624>>3]=D;t=m*+(u|0);S[d+656>>3]=t;q=q*+(0-r|0);S[d+664>>3]=q;m=aa(D*D+A*A);S[d+576>>3]=m;m=1/m;S[d+568>>3]=A*m;S[d+560>>3]=D*m;m=aa(t*t+q*q);S[d+600>>3]=m;m=1/m;S[d+592>>3]=q*m;S[d+584>>3]=t*m;f=O[d+404|0];a=N[d+532>>2];N[d+344>>2]=N[d+528>>2];N[d+348>>2]=a;a=N[d+572>>2];N[d+336>>2]=N[d+568>>2];N[d+340>>2]=a;a=N[d+564>>2];N[d+328>>2]=N[d+560>>2];N[d+332>>2]=a;if(!ye(d+352|0,d+344|0,d+328|0,3)){break T}if(!gf(d+352|0,d+528|0,d+624|0,d+560|0,3,(f|0)!=0)){break T}break _;case 0:break $;default:break T}}f=N[a+4>>2];N[d+256>>2]=N[a>>2];N[d+260>>2]=f;if(!Wd(d+352|0,d+256|0)){break T}}h=y?e:h;o=(h|0)!=(e|0);if(!o){j=O[d+404|0];ca:{if(j){a=N[d+460>>2];N[d+528>>2]=N[d+456>>2];N[d+532>>2]=a;q=0;m=1;a=15;t=S[d+472>>3];if(t>0){while(1){da:{q=q+1;m=.7071067811865476/aa(q);S[(d+624|0)+(a<<3)>>3]=m;a=a-1|0;q=q*m;if(!(t>q)){break da}if(a){continue}}break}m=q+1}r=(d+624|0)+(a<<3)|0;S[r>>3]=1/m;N[d+240>>2]=0;N[d+244>>2]=0;N[d+608>>2]=0;N[d+612>>2]=0;N[d+600>>2]=0;N[d+604>>2]=0;N[d+576>>2]=0;N[d+580>>2]=0;N[d+616>>2]=0;N[d+620>>2]=-1074790400;N[d+592>>2]=0;N[d+596>>2]=-1074790400;N[d+584>>2]=0;N[d+588>>2]=1072693248;N[d+232>>2]=0;N[d+236>>2]=1072693248;f=N[d+532>>2];N[d+248>>2]=N[d+528>>2];N[d+252>>2]=f;N[d+568>>2]=0;N[d+572>>2]=0;N[d+560>>2]=0;N[d+564>>2]=1072693248;f=N[d+588>>2];N[d+224>>2]=N[d+584>>2];N[d+228>>2]=f;f=N[d+580>>2];N[d+216>>2]=N[d+576>>2];N[d+220>>2]=f;n=15-a|0;if(!Bd(d+352|0,d+248|0,d+232|0,d+216|0,r,n,1)){break T}a=N[d+532>>2];N[d+208>>2]=N[d+528>>2];N[d+212>>2]=a;a=N[d+588>>2];N[d+200>>2]=N[d+584>>2];N[d+204>>2]=a;a=N[d+580>>2];N[d+192>>2]=N[d+576>>2];N[d+196>>2]=a;a=N[d+604>>2];N[d+184>>2]=N[d+600>>2];N[d+188>>2]=a;a=N[d+596>>2];N[d+176>>2]=N[d+592>>2];N[d+180>>2]=a;if(!Bd(d+352|0,d+208|0,d+192|0,d+176|0,r,n,1)){break T}a=N[d+532>>2];N[d+168>>2]=N[d+528>>2];N[d+172>>2]=a;a=N[d+604>>2];N[d+160>>2]=N[d+600>>2];N[d+164>>2]=a;a=N[d+596>>2];N[d+152>>2]=N[d+592>>2];N[d+156>>2]=a;a=N[d+620>>2];N[d+144>>2]=N[d+616>>2];N[d+148>>2]=a;a=N[d+612>>2];N[d+136>>2]=N[d+608>>2];N[d+140>>2]=a;if(!Bd(d+352|0,d+168|0,d+152|0,d+136|0,r,n,1)){break T}a=N[d+532>>2];N[d+128>>2]=N[d+528>>2];N[d+132>>2]=a;l=N[d+616>>2];i=N[d+620>>2];k=N[d+608>>2];f=N[d+612>>2];a=N[d+572>>2];N[d+104>>2]=N[d+568>>2];N[d+108>>2]=a;N[d+120>>2]=l;N[d+124>>2]=i;a=N[d+564>>2];N[d+96>>2]=N[d+560>>2];N[d+100>>2]=a;N[d+112>>2]=k;N[d+116>>2]=f;if(Bd(d+352|0,d+128|0,d+112|0,d+96|0,r,n,1)){break ca}break T}a=N[d+452>>2];N[d+88>>2]=N[d+448>>2];N[d+92>>2]=a;if(!Wd(d+352|0,d+88|0)){break T}a=N[d+452>>2];N[d+80>>2]=N[d+448>>2];N[d+84>>2]=a;a=N[d+428>>2];N[d+72>>2]=N[d+424>>2];N[d+76>>2]=a;a=N[d+420>>2];N[d+64>>2]=N[d+416>>2];N[d+68>>2]=a;if(!ye(d+352|0,d+80|0,d- -64|0,3)){break T}n=N[d+408>>2]&(N[d+412>>2]^-1);m=S[d+424>>3]*S[d+376>>3];ea:{if(V(m)<2147483648){f=~~m;break ea}f=-2147483648}k=n&1;m=S[d+416>>3]*S[d+368>>3];fa:{if(V(m)<2147483648){a=~~m;break fa}a=-2147483648}l=N[d+452>>2];i=N[d+448>>2];if(k){N[d+628>>2]=f+l;N[d+624>>2]=a+i;k=N[d+628>>2];N[d+56>>2]=N[d+624>>2];N[d+60>>2]=k;if(!Fb(N[d+352>>2],d+56|0,1)){break T}}if((n&3)>>>0>=2){N[d+628>>2]=l-f;N[d+624>>2]=i-a;a=N[d+628>>2];N[d+48>>2]=N[d+624>>2];N[d+52>>2]=a;if(!Fb(N[d+356>>2],d+48|0,1)){break T}}q=S[d+432>>3];m=S[d+440>>3];ga:{if(q==S[d+416>>3]&m==S[d+424>>3]){break ga}n=(N[d+412>>2]^-1)&(N[d+408>>2]^-1);m=m*S[d+376>>3];ha:{if(V(m)<2147483648){f=~~m;break ha}f=-2147483648}k=n&1;m=q*S[d+368>>3];ia:{if(V(m)<2147483648){a=~~m;break ia}a=-2147483648}l=N[d+452>>2];i=N[d+448>>2];if(k){k=N[N[d+352>>2]+16>>2]+(N[d+360>>2]<<3)|0;N[k+4>>2]=f+l;N[k>>2]=a+i}if((n&3)>>>0<2){break ga}k=N[N[d+356>>2]+16>>2]+(N[d+364>>2]<<3)|0;N[k+4>>2]=l-f;N[k>>2]=i-a}L[d+404|0]=1}ja:{f=N[d+352>>2];a=N[f+8>>2];if(a){f=(a+N[f+20>>2]|0)-1|0;a=O[f|0];if(a>>>0>=4){break b}L[f|0]=a|4;if(!j){f=N[d+356>>2];a=N[f+8>>2];if(!a){break c}f=(a+N[f+20>>2]|0)-1|0;a=O[f|0];if(a>>>0>=4){break ja}L[f|0]=a|4}N[d+360>>2]=N[N[d+352>>2]>>2];N[d+364>>2]=N[N[d+356>>2]>>2];g=g+1|0;if((s|0)!=(g|0)){continue}if((p+(z<<3)|0)!=(e|0)|o){break S}_a(p);_a(v);break e}break c}break b}g=g+1|0;if((s|0)!=(g|0)){continue}break}break S}ba(18838,18249,1523,16088);B()}ba(18805,18249,1498,16088);B()}break a}break a}mb(N[c>>2],2,15719,0);_a(N[b+20>>2]);_a(N[b+24>>2]);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;_a(N[b+44>>2]);_a(N[b+48>>2]);N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;break R}ba(9970,18249,1563,16088);B()}_a(p);_a(v);break d}if(p){e=N[b+4>>2];N[d+20>>2]=N[b+12>>2];N[d+16>>2]=e;mb(p,6,10236,d+16|0)}if(!c){while(1){c=N[a+12>>2];_a(a);a=c;if(a){continue}break}}N[b+68>>2]=N[d+360>>2]-N[d+352>>2];c=N[d+356>>2];a=N[d+364>>2];N[b+76>>2]=0;N[b+72>>2]=a-c;break e}c=O[h+12|0]&2?700:400}ka:{if(c+150>>>0>=e>>>0){break ka}c=N[h+84>>2];if(N[c+72>>2]!=1869968492){break ka}e=c+108|0;c=N[c+4>>2];f=N[N[c+88>>2]+20>>2];g=f>>31;c=P[c+68>>1];g=(f^g)-g|0;la:{if(c+(g>>>8|0)>>>0<=8190){c=T(c,g)+32768>>>16|0;break la}c=T(c,g>>>16|0)+(T(c,g&65535)+32768>>>16|0)|0}c=(((f|0)<0?0-c|0:c)|0)/64|0;mn(e,c,c)}s=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];c=N[s+84>>2];h=N[N[s+88>>2]+20>>2];o=N[a+40>>2];r=o&4;if(r){p=N[c+60>>2]+512>>10}else{p=N[c+64>>2]}N[b+68>>2]=p;ma:{if(!(O[s+8|0]&8)|(!(o&1)|(p|0)<=0)){break ma}e=N[s+96>>2];c=N[N[e>>2]+32>>2];if(!c){break ma}c=Qa[c|0](e,16067)|0;if(!c){break ma}c=Qa[N[c+4>>2]](s,5)|0;if(!c){break ma}g=M[c+8>>1];e=g>>31;if(!!g&(e|0)>=0|(e|0)>0){break ma}c=M[c+10>>1];if((c|0)<=0){break ma}j=h>>31;c=UE(h,j,c&65535,0);l=Pa;k=c+32768|0;l=k>>>0<32768?l+1|0:l;c=l;e=UE(g,e,h,j);g=Pa;f=c>>17;e=e+32768|0;g=e>>>0<32768?g+1|0:g;l=g>>16;g=(g&65535)<<16|e>>>16;i=((c&131071)<<15|k>>>17)+g|0;e=f+l|0;e=g>>>0>i>>>0?e+1|0:e;g=e;if(i>>>0>268435455&(e|0)>=0|(e|0)>0){break ma}e=c>>16;f=(c&65535)<<16|k>>>16;c=f-i|0;e=e-((f>>>0>>0)+g|0)|0;if(c>>>0>268435455&(e|0)>=0|(e|0)>0){break ma}N[d+356>>2]=c;N[d+352>>2]=0-i;u=1}na:{if(!(O[s+8|0]&8)|(!(o&2)|(p|0)<=0)){break na}e=N[s+96>>2];c=N[N[e>>2]+32>>2];if(!c){break na}c=Qa[c|0](e,16067)|0;if(!c){break na}c=Qa[N[c+4>>2]](s,2)|0;if(!c){break na}j=M[c+28>>1];if((j|0)<0){break na}c=M[c+26>>1];if((c|0)<=0){break na}i=h>>31;c=UE(h,i,c&65535,0);f=Pa;k=c+32768|0;f=k>>>0<32768?f+1|0:f;l=(f&131071)<<15|k>>>17;g=f>>17;e=UE(j&65535,0,h,i);c=Pa;i=e+32768|0;c=i>>>0<32768?c+1|0:c;e=c>>16;i=(c&65535)<<16|i>>>16;c=i+l|0;g=e+g|0;g=c>>>0>>0?g+1|0:g;e=g;i=c;if(c>>>0>268435455&(e|0)>=0|(e|0)>0){break na}g=f>>16;f=(f&65535)<<16|k>>>16;c=f-i|0;e=g-((f>>>0>>0)+e|0)|0;if(c>>>0>268435455&(e|0)>=0|(e|0)>0){break na}e=d+352|u<<3;N[e+4>>2]=c;N[e>>2]=0-i;u=u+1|0}oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{v=N[s+84>>2];if(N[v+72>>2]==1869968492){e=M[v+110>>1];if(!(u|e)){N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break oa}c=u<<2;g=c+(e<<1)|0;if(!g){break a}e=c+e|0;if(!e){break a}if(g>>>0<=536870911){c=kb(g<<3);N[b+20>>2]=c;i=kb(e);N[b+24>>2]=i;Ca:{if(!(i?c:0)){_a(c);break Ca}N[b+4>>2]=0;N[b+16>>2]=e;N[b+8>>2]=g;N[b+12>>2]=0;Da:{w=v+108|0;n=M[w>>1];if((n|0)>0){i=0;while(1){g=M[N[v+120>>2]+(G<<1)>>1];if((i|0)>(g|0)|M[v+110>>1]<=(g|0)){break Da}Ea:{if((g-i|0)<=1){i=g+1|0;break Ea}e=N[v+112>>2];k=i<<3;c=e+k|0;j=N[c>>2];f=j>>31;if((f^j)-f>>>0>268435455){break Da}l=N[c+4>>2];c=l>>31;if((c^l)-c>>>0>268435455){break Da}x=0;o=0;Fa:{Ga:{f=N[v+116>>2];switch(O[f+i|0]&3){case 1:break Fa;case 0:break Ga;default:break Da}}c=e+(g<<3)|0;n=N[c>>2];e=n>>31;if((e^n)-e>>>0>268435455){break Da}e=N[c+4>>2];c=e>>31;if((c^e)-c>>>0>268435455){break Da}e=0-e|0;Ha:{Ia:{Ja:{x=O[f+g|0]&3;switch(x|0){case 0:break Ia;case 1:break Ja;default:break Da}}g=g-1|0;break Ha}e=e-l>>1;n=j+n>>1}c=N[b+4>>2];if(c>>>0>=Q[b+8>>2]){break Ba}o=1;N[b+4>>2]=c+1;c=N[b+20>>2]+(c<<3)|0;N[c+4>>2]=e;N[c>>2]=n}f=N[b+4>>2];if(f>>>0>=Q[b+8>>2]){break Aa}c=k+N[v+112>>2]|0;k=N[c>>2];e=N[c+4>>2];N[b+4>>2]=f+1;c=N[b+20>>2]+(f<<3)|0;e=0-e|0;N[c+4>>2]=e;N[c>>2]=k;n=i+1|0;if((g|0)>(i|0)){c=g+1|0;while(1){y=n<<3;i=y+N[v+112>>2]|0;f=N[i>>2];l=f>>31;if((f^l)-l>>>0>268435455){break Da}f=N[i+4>>2];i=f>>31;if((f^i)-i>>>0>268435455){break Da}Ka:{La:{switch(O[N[v+116>>2]+n|0]&3){case 1:k=1;Ma:{Na:{switch(o|0){case 1:k=2;break Ma;case 0:break Ma;case 3:break Na;default:break Da}}k=3}e=N[b+12>>2];if(e>>>0>=Q[b+16>>2]){break za}N[b+12>>2]=e+1;L[e+N[b+24>>2]|0]=k;i=0;break Ka;case 0:i=1;Oa:{switch(o|0){case 0:break Ka;case 1:break Oa;default:break Da}}f=N[b+12>>2];if(f>>>0>=Q[b+16>>2]){break ya}N[b+12>>2]=f+1;L[f+N[b+24>>2]|0]=2;o=N[b+4>>2];if(o>>>0>=Q[b+8>>2]){break xa}f=y+N[v+112>>2]|0;j=N[f>>2];l=N[f+4>>2];N[b+4>>2]=o+1;f=N[b+20>>2]+(o<<3)|0;N[f+4>>2]=e-l>>1;N[f>>2]=j+k>>1;break Ka;case 2:break La;default:break Da}}i=2;Pa:{switch(o|0){case 0:break Ka;case 2:break Pa;default:break Da}}i=3}f=N[b+4>>2];if(f>>>0>=Q[b+8>>2]){break wa}e=y+N[v+112>>2]|0;k=N[e>>2];e=N[e+4>>2];N[b+4>>2]=f+1;f=N[b+20>>2]+(f<<3)|0;e=0-e|0;N[f+4>>2]=e;N[f>>2]=k;f=(g|0)!=(n|0);n=n+1|0;o=i;if(f){continue}break}n=c}i=5;Qa:{Ra:{switch(o|0){case 1:i=6;break Qa;case 0:break Qa;case 3:break Ra;default:break Da}}i=7}c=N[b+12>>2];if(c>>>0>=Q[b+16>>2]){break va}N[b+12>>2]=c+1;L[c+N[b+24>>2]|0]=i;i=n+x|0;n=P[w>>1]}G=G+1|0;if((G|0)>16){continue}break}}Sa:{if(!r){break Sa}k=0;c=0;Ta:{if(!s|!(O[s+8|0]&8)){break Ta}g=N[s+96>>2];e=N[N[g>>2]+32>>2];if(!e){break Ta}e=Qa[e|0](g,16067)|0;if(!e){break Ta}e=Qa[N[e+4>>2]](s,2)|0;if(!e){break Ta}c=M[e+72>>1];c=UE(c,c>>31,h,h>>31);j=Pa;e=c+32768|0;j=e>>>0<32768?j+1|0:j;k=(j&65535)<<16|e>>>16;c=j>>16;g=c>>31;f=g;e=k^f;g=e-f|0;e=(c^f)-((e>>>0>>0)+f|0)|0;if(!e&g>>>0>536870910|e){break Da}}g=N[N[s+84>>2]+52>>2];f=g;e=f+k|0;g=(f>>31)+c|0;c=e;g=c>>>0>>0?g+1|0:g;e=g>>31;h=c^e;f=h-e|0;e=(e^g)-((h>>>0>>0)+e|0)|0;if(!e&f>>>0>536870910|e){break Da}g=c;c=c>>31;if((g^c)-c>>>0>=1879048193){break ua}if(!N[b+4>>2]){break Sa}c=k;e=0;while(1){i=N[b+20>>2]+(e<<3)|0;k=g+N[i+4>>2]|0;f=k>>31;if((f^k)-f>>>0>268435455){break Da}h=c+N[i>>2]|0;f=h>>31;if((f^h)-f>>>0>268435455){break Da}N[i>>2]=k;N[i+4>>2]=0-h;e=e+1|0;if(e>>>0>2]){continue}break}}if(!u){break oa}h=dg(w);f=N[b+4>>2];g=f+4|0;if(g>>>0>Q[b+8>>2]){break ta}o=N[b+12>>2];e=o+4|0;if(e>>>0>Q[b+16>>2]){break sa}i=(h|0)!=0;j=N[(d+352|i<<2)>>2];c=j>>31;if((c^j)-c>>>0>=268435456){break ra}c=p>>31;k=(c^p)-c|0;if(k>>>0>268435455){break qa}h=!h;l=N[(d+352|h<<2)>>2];c=l>>31;if((c^l)-c>>>0>=268435456){break qa}c=N[b+24>>2];if(O[(c+o|0)-1|0]&4?0:o){break pa}f=N[b+20>>2]+(f<<3)|0;N[f+4>>2]=j;N[f>>2]=0;N[f+16>>2]=p;N[f+8>>2]=p;N[f+12>>2]=j;N[f+24>>2]=0;N[f+28>>2]=l;N[f+20>>2]=l;N[b+4>>2]=g;L[c+o|0]=1;L[(o+N[b+24>>2]|0)+1|0]=1;L[(o+N[b+24>>2]|0)+2|0]=1;L[(o+N[b+24>>2]|0)+3|0]=5;N[b+12>>2]=e;if((u|0)==1){break oa}f=N[b+4>>2];g=f+4|0;if(g>>>0>Q[b+8>>2]){break ta}j=N[b+12>>2];e=j+4|0;if(e>>>0>Q[b+16>>2]){break sa}c=d+352|8;l=N[(c|i<<2)>>2];i=l>>31;if((i^l)-i>>>0>268435455){break ra}if(k>>>0>268435455){break qa}h=N[(c|h<<2)>>2];c=h>>31;if((c^h)-c>>>0>268435455){break qa}c=N[b+24>>2];if(O[(c+j|0)-1|0]&4?0:j){break pa}f=N[b+20>>2]+(f<<3)|0;N[f+4>>2]=l;N[f>>2]=0;N[f+16>>2]=p;N[f+8>>2]=p;N[f+12>>2]=l;N[f+24>>2]=0;N[f+28>>2]=h;N[f+20>>2]=h;N[b+4>>2]=g;L[c+j|0]=1;L[(j+N[b+24>>2]|0)+1|0]=1;L[(j+N[b+24>>2]|0)+2|0]=1;L[(j+N[b+24>>2]|0)+3|0]=5;N[b+12>>2]=e;break oa}_a(N[b+20>>2]);i=N[b+24>>2]}_a(i)}N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break d}ba(20184,17934,742,15697);B()}ba(9900,18249,137,8782);B()}ba(9900,18249,147,8782);B()}ba(10145,18249,171,8782);B()}ba(10145,18249,183,8782);B()}ba(9900,18249,187,8782);B()}ba(9900,18249,216,8782);B()}ba(10145,18249,236,8782);B()}ba(19015,18249,331,21921);B()}ba(9855,18249,251,9621);B()}ba(10096,18249,252,9621);B()}ba(18966,18249,253,9621);B()}ba(18917,18249,254,9621);B()}ba(23976,18249,256,9621);B()}g=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];f=N[N[g+88>>2]+20>>2];c=f>>31;e=M[g+70>>1];a=e>>31;h=(c^f)-c|0;c=h>>>8|0;a=(a^e)-a|0;Ua:{if(c+a>>>0<=8190){i=T(a,h)+32768>>>16|0;break Ua}i=T(a,h>>>16|0)+(T(a,h&65535)+32768>>>16|0)|0}a=i;k=0-a|0;a=e>>31|1;N[b+72>>2]=(((f|0)<0?0-a|0:a)|0)<0?k:i;e=M[g+72>>1];a=e>>31;a=(a^e)-a|0;Va:{if(a+c>>>0<=8190){c=T(a,h)+32768>>>16|0;break Va}c=T(a,h>>>16|0)+(T(a,h&65535)+32768>>>16|0)|0}a=c;g=0-a|0;a=(e|0)<=0?1:-1;N[b+76>>2]=(((f|0)<0?0-a|0:a)|0)<0?g:c}e=2147483647;N[b+52>>2]=2147483647;h=-2147483648;N[b- -64>>2]=-2147483648;N[b+56>>2]=2147483647;N[b+60>>2]=-2147483648;a=-2147483648;c=2147483647;g=N[b+4>>2];if(g){n=N[b+20>>2];Wa:{Xa:{if((g|0)==1){o=0;break Xa}l=g&1;o=g&-2;i=0;while(1){g=i<<3;k=g+n|0;j=N[k+4>>2];f=(h|0)>(j|0)?h:j;g=n+(g|8)|0;p=N[g+4>>2];h=(f|0)>(p|0)?f:p;f=N[k>>2];a=(a|0)>(f|0)?a:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(j|0)?e:j;e=(e|0)<(p|0)?e:p;c=(c|0)<(f|0)?c:f;c=(c|0)<(g|0)?c:g;i=i+2|0;if((i|0)!=(o|0)){continue}break}if(!l){break Wa}}g=n+(o<<3)|0;f=N[g+4>>2];h=(f|0)<(h|0)?h:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(f|0)?e:f;c=(c|0)<(g|0)?c:g}N[b+64>>2]=h;N[b+60>>2]=a;N[b+56>>2]=e;N[b+52>>2]=c}g=N[b+28>>2];if(g){n=N[b+44>>2];o=0;Ya:{if((g|0)!=1){l=g&1;o=g&-2;i=0;while(1){g=i<<3;k=g+n|0;j=N[k+4>>2];f=(h|0)>(j|0)?h:j;g=n+(g|8)|0;p=N[g+4>>2];h=(f|0)>(p|0)?f:p;f=N[k>>2];a=(a|0)>(f|0)?a:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(j|0)?e:j;e=(e|0)<(p|0)?e:p;c=(c|0)<(f|0)?c:f;c=(c|0)<(g|0)?c:g;i=i+2|0;if((i|0)!=(o|0)){continue}break}if(!l){break Ya}}g=n+(o<<3)|0;f=N[g+4>>2];h=(f|0)<(h|0)?h:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(f|0)?e:f;c=(c|0)<(g|0)?c:g}N[b+64>>2]=h;N[b+60>>2]=a;N[b+56>>2]=e;N[b+52>>2]=c}if(!((e|0)<=(h|0)&(a|0)>=(c|0))){N[b+52>>2]=0;N[b+56>>2]=0;N[b+60>>2]=0;N[b+64>>2]=0}L[b|0]=1}La=d+752|0;return 1}ba(10216,18249,320,11772);B()}ba(23825,18249,321,11772);B()}ba(10189,18249,45,17699);B()}function Gw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0;w=La-16|0;La=w;g=11;l=N[b+96>>2];k=N[l+4>>2];a:{if(!k){break a}j=N[k+16>>2];if((j|0)<=0){break a}h=k+20|0;o=h+(j<<2)|0;f=h;while(1){s=N[N[f>>2]>>2];if(cb(N[s+8>>2],9195)){f=f+4|0;if(o>>>0>f>>>0){continue}break a}break}s=N[s+20>>2];if(!s){break a}b:{if(!l){break b}o=k;f=N[N[l>>2]+32>>2];if(f){x=Qa[f|0](l,10566)|0;if(x){break b}o=N[l+4>>2];j=N[o+16>>2]}x=0;if((j|0)<=0){break b}f=o+20|0;j=f+(j<<2)|0;while(1){o=N[f>>2];c:{if((o|0)==(l|0)){break c}v=N[N[o>>2]+32>>2];if(!v){break c}x=Qa[v|0](o,10566)|0;if(x){break b}}f=f+4|0;if(j>>>0>f>>>0){continue}break}x=0}l=N[k+16>>2];if((l|0)<=0){break a}o=(l<<2)+h|0;f=h;d:{e:{while(1){j=N[N[f>>2]>>2];if(!cb(N[j+8>>2],11971)){break e}f=f+4|0;if(o>>>0>f>>>0){continue}break}f=0;break d}f=N[j+20>>2]}if((l|0)<=0){break a}B=f;while(1){f=N[N[h>>2]>>2];if(cb(N[f+8>>2],7988)){h=h+4|0;if(o>>>0>h>>>0){continue}break a}break}f=N[f+20>>2];if(!f){break a}N[b+556>>2]=f;h=N[b+96>>2];f:{g:{if(!h){break g}f=N[N[h>>2]+32>>2];if(f){o=Qa[f|0](h,16921)|0;if(o){break f}}f=N[h+4>>2];g=N[f+16>>2];if((g|0)<=0){break g}f=f+20|0;l=f+(g<<2)|0;while(1){g=N[f>>2];h:{if((g|0)==(h|0)){break h}o=N[N[g>>2]+32>>2];if(!o){break h}o=Qa[o|0](g,16921)|0;if(o){break f}}f=f+4|0;if(l>>>0>f>>>0){continue}break}}o=0}f=N[a+20>>2];if(f){g=85;if(Qa[f|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;E=Qa[N[s+4>>2]](a,b,c,d,e)|0;i:{if(!E){g=2;if(N[b+148>>2]!=1330926671){break a}g=0;if((c|0)<0){break a}f=0;j:{if(!(Qa[N[b+516>>2]](b,1751474532,a,0)|0)){g=Qa[N[s+8>>2]](a,b,c,d,e)|0;if(!g){break j}break a}g=Qa[N[s+32>>2]](b,a)|0;if(g){break a}f=1}g=Qa[N[b+516>>2]](b,1128678962,a,0)|0;if(!g){L[b+732|0]=1;s=1;break i}if((g&255)!=142){break a}g=Qa[N[b+516>>2]](b,1128678944,a,0)|0;s=0;if(!g){break i}break a}d=N[a+20>>2];if(d){g=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;f=1;s=0}y=N[b+100>>2];i=Qa[N[y+4>>2]](y,3136)|0;if(!i){g=64;break a}C(i,0,3136);N[b+712>>2]=i;v=c;l=b;b=f;q=La-80|0;La=q;p=N[a+28>>2];C(i,0,3136);N[q+72>>2]=0;c=q- -64|0;N[c>>2]=0;N[c+4>>2]=0;N[q+56>>2]=0;N[q+60>>2]=0;N[q+48>>2]=0;N[q+52>>2]=0;N[q+40>>2]=0;N[q+44>>2]=0;r=N[a+8>>2];L[i+32|0]=s;N[i+8>>2]=p;N[i+4>>2]=a;N[i>>2]=k;N[i+12>>2]=r;f=rb(a,33568,i);k:{if(f){break k}l:{m:{n:{if(s){f=2;if(O[i+24|0]!=2|O[i+26|0]<5){break k}o:{p:{q:{f=N[a+8>>2];if(Q[a+4>>2]<=f+1>>>0){break q}c=N[a+20>>2];r:{if(c){if((Qa[c|0](a,f,q+4|0,2)|0)!=2){break q}f=N[a+8>>2];c=q+4|0;break r}c=N[a>>2];if(!c){break p}c=c+f|0}c=O[c+1|0]|O[c|0]<<8;break o}N[i+28>>2]=0;f=85;break k}c=0}N[a+8>>2]=f+2;N[i+28>>2]=c;h=O[i+26|0];break n}L[q+4|0]=0;f=N[a+8>>2];c=N[a+20>>2];s:{if(c){if((Qa[c|0](a,f,q+4|0,1)|0)!=1){break m}f=N[a+8>>2];c=q+4|0;break s}if(Q[a+4>>2]<=f>>>0){break m}c=N[a>>2]+f|0}c=O[c|0];N[a+8>>2]=f+1;f=2;if(O[i+24|0]!=1){break k}h=O[i+26|0];if(h>>>0<4|c>>>0>4){break k}}c=r+(h&255)|0;d=N[a+20>>2];t:{if(d){if(Qa[d|0](a,c,0,0)|0){break t}break l}if(c>>>0<=Q[a+4>>2]){break l}}f=b?2:85;break k}f=85;break k}N[a+8>>2]=c;u:{if(s){N[i+1240>>2]=0;N[i+1244>>2]=0;h=0;N[i+1272>>2]=0;c=i+1264|0;N[c>>2]=0;N[c+4>>2]=0;d=i+1256|0;N[d>>2]=0;N[d+4>>2]=0;d=i+1248|0;N[d>>2]=0;N[d+4>>2]=0;N[i+1260>>2]=N[a+8>>2];d=c;c=N[i+28>>2];N[d>>2]=c;f=Xc(a,c);if(f){break k}f=zd(i+108|0,a,1,1);if(!f){break u}break k}c=zd(i+36|0,a,0,0);if(c){f=b?2:c;break k}c=N[i+48>>2];if(!(c>>>0<2|c>>>0<=Q[i+60>>2])){f=b?2:3;break k}f=zd(i+1240|0,a,0,0);if(f){break k}f=zd(q+40|0,a,1,0);if(f){break k}f=zd(i+108|0,a,1,0);if(f){break k}f=Gh(q+40|0,i+1360|0,i+1364|0,i+1368|0);if(f){break k}f=3;if(Q[i+48>>2]>Q[i+1252>>2]){break k}h=N[q+52>>2]}N[i+1356>>2]=h;v:{if(b){D=v&65535;c=N[i+48>>2];if((v|0)>0){f=6;if(c>>>0<=D>>>0){break k}}N[i+16>>2]=c;break v}f=3;if(Q[i+48>>2]>1){break k}}f=0;if((v|0)<0){break k}f=Am(i+1372|0,i+1240|0,D,a,r,s?12288:4096,i,l);if(f){break k}c=r+N[i+1484>>2]|0;d=N[a+20>>2];w:{if(d){f=85;if(!(Qa[d|0](a,c,0,0)|0)){break w}break k}f=85;if(c>>>0>Q[a+4>>2]){break k}}N[a+8>>2]=c;f=zd(i+1204|0,a,0,s);if(f){break k}x:{if(!(!s&N[i+1504>>2]==65535)){g=i+3112|0;f=La-16|0;La=f;c=N[i+1552>>2];y:{if(!c){e=0;break y}m=N[a+28>>2];c=c+r|0;d=N[a+20>>2];z:{A:{B:{if(d){e=85;if(Qa[d|0](a,c,0,0)|0){break z}N[a+8>>2]=c;j=a+8|0;d=c+2|0;h=N[a+20>>2];if(!h){break B}if(Qa[h|0](a,d,0,0)|0){break z}k=N[a+4>>2];break A}e=85;if(c>>>0>Q[a+4>>2]){break z}N[a+8>>2]=c;j=a+8|0;d=c+2|0}k=N[a+4>>2];if(d>>>0>k>>>0){break z}}N[a+8>>2]=d;N[f+8>>2]=0;C:{if(c+3>>>0>=k>>>0){break C}D:{e=N[a+20>>2];E:{if(e){if((Qa[e|0](a,d,f+14|0,2)|0)!=2){break C}h=f+14|0;c=N[j>>2];break E}e=N[a>>2];if(!e){break D}h=d+e|0;c=d}h=O[h|0]|O[h+1|0]<<8;N[j>>2]=c+2;e=3;if(((h<<8|h>>>8)&65535)!=1){break z}c=Nb(a,f+8|0);e=N[f+8>>2];if(e){break z}k=xb(a,f+8|0);N[g>>2]=k;e=N[f+8>>2];if(e){break z}h=0;n=lb(m,4,0,k,0,f+8|0);e=N[f+8>>2];F:{G:{H:{if(e){break H}if(N[g>>2]){while(1){G=n+(h<<2)|0,H=Nb(a,f+8|0),N[G>>2]=H;e=N[f+8>>2];if(e){break G}h=h+1|0;if(h>>>0>2]){continue}break}}c=c+d|0;h=N[a+20>>2];I:{if(h){e=85;if(!(Qa[h|0](a,c,0,0)|0)){break I}break H}e=85;if(c>>>0>Q[a+4>>2]){break H}}N[a+8>>2]=c;N[f+8>>2]=0;G=g,H=xb(a,f+8|0),M[G+8>>1]=H;e=N[f+8>>2];if(e){break H}c=xb(a,f+8|0);N[g+12>>2]=c;e=N[f+8>>2];if(e){break H}G=g,H=lb(m,4,0,c,0,f+8|0),N[G+16>>2]=H;e=N[f+8>>2];if(e){break H}if(N[g+12>>2]){e=P[g+8>>1];k=0;while(1){t=N[g+16>>2]+(k<<2)|0;G=t,H=lb(m,12,0,e&65535,0,f+8|0),N[G>>2]=H;e=N[f+8>>2];if(e){break H}e=0;if(P[g+8>>1]){h=0;while(1){c=N[t>>2];u=xb(a,f+8|0);e=N[f+8>>2];if(e){break H}z=xb(a,f+8|0);e=N[f+8>>2];if(e){break H}A=xb(a,f+8|0);e=N[f+8>>2];if(e){break H}c=c+T(h,12)|0;N[c>>2]=u<<16>>16<<2;N[c+8>>2]=A<<16>>16<<2;N[c+4>>2]=z<<16>>16<<2;e=P[g+8>>1];h=h+1|0;if(e>>>0>h>>>0){continue}break}}k=k+1|0;if(k>>>0>2]){continue}break}}k=0;G=g,H=lb(m,8,0,N[g>>2],0,f+8|0),N[G+4>>2]=H;e=N[f+8>>2];if(e){break H}if(!N[g>>2]){e=0;break H}while(1){t=N[g+4>>2];c=N[n+(k<<2)>>2]+d|0;J:{h=N[a+20>>2];K:{if(h){e=85;if(Qa[h|0](a,c,0,0)|0){break G}N[a+8>>2]=c;h=c+4|0;c=N[a+20>>2];if(!c){break K}if(Qa[c|0](a,h,0,0)|0){break G}break J}if(c>>>0>Q[a+4>>2]){e=85;break G}N[j>>2]=c;h=c+4|0}if(Q[a+4>>2]>=h>>>0){break J}e=85;break G}N[a+8>>2]=h;N[f+8>>2]=0;c=t+(k<<3)|0;h=xb(a,f+8|0);N[c>>2]=h;e=N[f+8>>2];if(e){break G}G=c,H=lb(m,4,0,h,0,f+8|0),N[G+4>>2]=H;e=N[f+8>>2];if(e){break G}if(N[c>>2]){h=0;while(1){e=xb(a,f+8|0);N[N[c+4>>2]+(h<<2)>>2]=e;e=N[f+8>>2];if(e){break H}h=h+1|0;if(h>>>0>2]){continue}break}}e=0;k=k+1|0;if(k>>>0>2]){continue}break}}if(!n){break F}}Qa[N[m+8>>2]](m,n)}if(e){break z}e=0;break y}N[j>>2]=c+4;e=3;break z}e=85}Em(g,m)}La=f+16|0;f=e;if(f){break k}c=r+N[i+1536>>2]|0;d=N[a+20>>2];L:{if(d){f=85;if(!(Qa[d|0](a,c,0,0)|0)){break L}break k}f=85;if(c>>>0>Q[a+4>>2]){break k}}N[a+8>>2]=c;f=zd(q+4|0,a,0,s);N[q+76>>2]=f;if(f){break k}M:{c=N[q+16>>2];if(c>>>0<=256){N[i+2024>>2]=c;h=0;d=lb(p,652,0,c,0,q+76|0);N:{O:{P:{f=N[q+76>>2];if(f){break P}if(!c){break N}f=0;if(c>>>0>=4){g=c&-4;e=i+2028|0;while(1){N[e+(f<<2)>>2]=d+T(f,652);j=f|1;N[e+(j<<2)>>2]=d+T(j,652);j=f|2;N[e+(j<<2)>>2]=d+T(j,652);j=f|3;N[e+(j<<2)>>2]=d+T(j,652);f=f+4|0;if((g|0)!=(f|0)){continue}break}}c=c&3;if(c){while(1){N[(i+(f<<2)|0)+2028>>2]=d+T(f,652);f=f+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}c=s?16384:4096;h=0;while(1){f=Am(N[(i+(h<<2)|0)+2028>>2],q+4|0,h,a,r,c,i,l);if(f){break P}h=h+1|0;d=N[q+16>>2];if(h>>>0>>0){continue}break}break O}Fh(q+4|0);break k}h=d>>>0>1}if(h|!s){break M}}Fh(q+4|0);break x}g=i+3052|0;k=N[i+1216>>2];c=r+N[i+1540>>2]|0;e=La-16|0;La=e;Q:{R:{S:{d=N[a+20>>2];T:{U:{if(d){f=85;if(Qa[d|0](a,c,0,0)|0){break Q}N[a+8>>2]=c;d=N[a+20>>2];L[e+13|0]=0;h=a+8|0;if(!d){break U}if((Qa[d|0](a,c,e+13|0,1)|0)!=1){break S}c=N[a+8>>2];d=e+13|0;break T}f=85;if(Q[a+4>>2]>>0){break Q}N[a+8>>2]=c;L[e+13|0]=0;h=a+8|0}if(Q[a+4>>2]<=c>>>0){break S}d=N[a>>2]+c|0}j=O[d|0];d=c+1|0;N[h>>2]=d;N[g+20>>2]=0;L[g|0]=j;f=3;V:{switch(j|0){case 3:if(Q[a+4>>2]<=c+2>>>0){break S}j=N[a+20>>2];W:{if(j){if((Qa[j|0](a,d,e+14|0,2)|0)!=2){break S}d=N[h>>2];c=e+14|0;break W}j=N[a>>2];if(!j){break R}c=d+j|0}c=O[c|0]|O[c+1|0]<<8;N[h>>2]=d+2;c=(c<<8|c>>>8)&65535;if(!c){break Q}k=T(c,3)+2|0;break;case 0:break V;default:break Q}}N[g+12>>2]=k;f=fc(a,k,g+8|0);break Q}f=85;break Q}N[h>>2]=c+3}La=e+16|0;Fh(q+4|0);if(!f){break x}break k}N[i+2024>>2]=0}if(!N[i+1484>>2]){f=3;break k}N[i+20>>2]=N[i+1216>>2];f=Gh(i+108|0,i+1352|0,0,0);if(f){break k}X:{if(s){break X}d=N[i+20>>2];if(!d){break X}h=i+1180|0;t=(b|0)!=0&N[i+1504>>2]!=65535;k=0;n=La-16|0;La=n;e=3;p=N[a+28>>2];Y:{Z:{_:{c=N[i+1476>>2];$:{if(c>>>0>=3){g=c+r|0;N[h+4>>2]=g;aa:{c=N[a+20>>2];ba:{ca:{if(c){e=85;if(Qa[c|0](a,g,0,0)|0){break Z}N[a+8>>2]=g;f=N[a+20>>2];L[n+10|0]=0;c=a+8|0;if(!f){break ca}if((Qa[f|0](a,g,n+10|0,1)|0)!=1){break aa}g=N[a+8>>2];e=n+10|0;break ba}e=85;if(Q[a+4>>2]>>0){break Z}N[a+8>>2]=g;L[n+10|0]=0;c=a+8|0}if(Q[a+4>>2]<=g>>>0){break aa}e=N[a>>2]+g|0}e=O[e|0];N[c>>2]=g+1;N[h>>2]=e;g=0;if((d|0)<0){e=6;break _}da:{ea:{fa:{if(d){e=10;if((d|0)>1073741823){break _}e=d<<1;g=Qa[N[p+4>>2]](p,e)|0;if(!g|(d|0)<=0){break fa}C(g,0,e)}N[h+8>>2]=g;m=h+8|0;break ea}N[h+8>>2]=g;if(!g){break da}m=h+8|0}M[g>>1]=0;e=3;ga:{switch(N[h>>2]){case 0:e=Bb(a,(d<<1)-2|0);if(e){break Z}ha:{if(d>>>0<2){break ha}g=N[a+32>>2];c=N[m>>2];j=N[a+36>>2];ia:{if((d|0)==2){f=1;break ia}e=d-1|0;m=e&1;u=e&-2;f=1;while(1){ja:{if(j>>>0<=g+1>>>0){e=0;break ja}e=O[g|0]|O[g+1|0]<<8;e=e<<8|e>>>8;g=g+2|0}N[a+32>>2]=g;M[c+(f<<1)>>1]=e;e=0;if(j>>>0>g+1>>>0){e=O[g|0]|O[g+1|0]<<8;e=e<<8|e>>>8;g=g+2|0}N[a+32>>2]=g;M[c+(f+1<<1)>>1]=e;f=f+2|0;k=k+2|0;if((u|0)!=(k|0)){continue}break}if(!m){break ha}}e=0;if(j>>>0>g+1>>>0){e=O[g|0]|O[g+1|0]<<8;e=e<<8|e>>>8;g=g+2|0}N[a+32>>2]=g;M[c+(f<<1)>>1]=e}if(N[a+20>>2]){c=N[a>>2];if(c){e=N[a+28>>2];Qa[N[e+8>>2]](e,c)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break $;case 1:case 2:break ga;default:break Z}}if(d>>>0<2){break $}j=N[a+8>>2];g=1;while(1){ka:{la:{ma:{if(Q[a+4>>2]<=j+1>>>0){break ma}e=N[a+20>>2];na:{if(e){if((Qa[e|0](a,j,n+11|0,2)|0)!=2){break ma}j=N[c>>2];e=n+11|0;break na}e=N[a>>2];if(!e){break la}e=e+j|0}e=O[e|0]|O[e+1|0]<<8;f=e<<8|e>>>8;break ka}e=85;break Z}f=0}e=j+2|0;N[c>>2]=e;oa:{pa:{qa:{if(N[h>>2]==2){ra:{sa:{if(Q[a+4>>2]<=j+3>>>0){break sa}j=N[a+20>>2];ta:{if(j){if((Qa[j|0](a,e,n+13|0,2)|0)!=2){break sa}e=N[c>>2];j=n+13|0;break ta}j=N[a>>2];if(!j){break ra}j=e+j|0}k=O[j+1|0]|O[j|0]<<8;j=e+2|0;break qa}e=85;break Z}k=0;j=e+2|0;break qa}L[n+15|0]=0;j=N[a+20>>2];ua:{if(j){if((Qa[j|0](a,e,n+15|0,1)|0)!=1){break pa}e=N[c>>2];j=n+15|0;break ua}if(Q[a+4>>2]<=e>>>0){break pa}j=N[a>>2]+e|0}k=O[j|0];j=e+1|0}N[c>>2]=j;if(d>>>0<=g>>>0){break oa}e=f&65535;k=e>>>0>(k^65535)>>>0?e^65535:k;u=N[m>>2];e=0;while(1){M[u+(g<<1)>>1]=f;g=g+1|0;if(d>>>0<=g>>>0){break oa}f=f+1|0;z=e>>>0>>0;e=e+1|0;if(z){continue}break}break oa}e=85;break Z}if(d>>>0>g>>>0){continue}break}break $}e=!g<<6;break Z}N[h>>2]=0;break Z}N[h+4>>2]=c;va:{wa:{xa:{ya:{za:{switch(c|0){case 0:if(d>>>0>229){break Z}if(!d){g=d<<1;f=0;break wa}g=d<<1;f=Qa[N[p+4>>2]](p,g)|0;if(!(!f|(d|0)<=0)){C(f,0,g);break wa}N[h+8>>2]=f;if(f){break va}e=!f<<6;break Z;case 1:if(d>>>0>166){break Z}if(!d){g=d<<1;f=0;break ya}g=d<<1;f=Qa[N[p+4>>2]](p,g)|0;if(!(!f|(d|0)<=0)){C(f,0,g);break ya}N[h+8>>2]=f;if(f){break xa}e=!f<<6;break Z;case 2:break za;default:break Z}}if(d>>>0>87){break Z}Aa:{Ba:{if(!d){g=d<<1;f=0;break Ba}g=d<<1;f=Qa[N[p+4>>2]](p,g)|0;if(!(!f|(d|0)<=0)){C(f,0,g);break Ba}N[h+8>>2]=f;if(f){break Aa}e=!f<<6;break Z}N[h+8>>2]=f}F(f,266160,g);break $}N[h+8>>2]=f}F(f,265824,g);break $}N[h+8>>2]=f}F(f,33600,g)}if(!t){e=0;break Y}e=0;N[n+4>>2]=0;if(N[h+16>>2]){break Y}m=d&3;c=N[h+8>>2];k=0;Ca:{if(d>>>0<4){f=0;g=0;break Ca}g=d&-4;f=0;j=0;while(1){t=j<<1;u=P[c+(t|6)>>1];z=P[c+(t|4)>>1];A=P[c+(t|2)>>1];t=P[c+t>>1];f=f&65535;f=f>>>0>>0?t:f;f=f>>>0>>0?A:f;f=f>>>0>>0?z:f;f=f>>>0>>0?u:f;j=j+4|0;if((j|0)!=(g|0)){continue}break}}if(m){while(1){j=P[c+(g<<1)>>1];f=f&65535;f=f>>>0>>0?j:f;g=g+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}k=f&65535;g=lb(p,2,0,k+1|0,0,n+4|0);N[h+12>>2]=g;c=N[n+4>>2];if(!c){Da:{if((d|0)<=0){break Da}c=N[h+8>>2];f=d;if(m){j=0;while(1){f=f-1|0;M[g+(P[c+(f<<1)>>1]<<1)>>1]=f;j=j+1|0;if((m|0)!=(j|0)){continue}break}}if(d>>>0<4){break Da}while(1){j=f-1|0;M[g+(P[c+(j<<1)>>1]<<1)>>1]=j;j=f-2|0;M[g+(P[c+(j<<1)>>1]<<1)>>1]=j;j=f-3|0;M[g+(P[c+(j<<1)>>1]<<1)>>1]=j;f=f-4|0;M[g+(P[c+(f<<1)>>1]<<1)>>1]=f;if(j>>>0>1){continue}break}}N[h+20>>2]=d;N[h+16>>2]=k;break Y}e=c;break Z}N[h+8>>2]=0}c=N[h+8>>2];if(c){Qa[N[p+8>>2]](p,c)}N[h+8>>2]=0;c=N[h+12>>2];if(c){Qa[N[p+8>>2]](p,c)}N[h>>2]=0;N[h+4>>2]=0;N[h+12>>2]=0}La=n+16|0;f=e;if(f){break k}if(N[i+1504>>2]!=65535){break X}n=i+144|0;f=N[i+20>>2];e=a;c=N[i+1480>>2];t=0;m=La-16|0;La=m;a=3;j=h;Ea:{if(!N[h+8>>2]){break Ea}d=n+12|0;C(d,0,1024);Fa:{Ga:{Ha:{if(c>>>0>=2){g=c+r|0;N[n+4>>2]=g;c=N[e+20>>2];Ia:{Ja:{if(c){a=85;if(Qa[c|0](e,g,0,0)|0){break Ea}N[e+8>>2]=g;a=N[e+20>>2];L[m+12|0]=0;k=e+8|0;if(!a){break Ja}if((Qa[a|0](e,g,m+12|0,1)|0)!=1){break Ha}g=N[e+8>>2];a=m+12|0;break Ia}a=85;if(Q[e+4>>2]>>0){break Ea}N[e+8>>2]=g;L[m+12|0]=0;k=e+8|0}if(Q[e+4>>2]<=g>>>0){break Ha}a=N[e>>2]+g|0}c=O[a|0];a=g+1|0;N[e+8>>2]=a;N[n>>2]=c;N[m+8>>2]=0;L[m+13|0]=0;c=N[e+20>>2];Ka:{if(c){if((Qa[c|0](e,a,m+13|0,1)|0)!=1){break Ga}a=N[k>>2];c=m+13|0;break Ka}if(Q[e+4>>2]<=a>>>0){break Ga}c=N[e>>2]+a|0}p=O[c|0];c=a+1|0;N[k>>2]=c;a=3;La:{Ma:{switch(N[n>>2]&127){case 0:N[n+8>>2]=p+1;a=Bb(e,p);N[m+8>>2]=a;if(a){break Ea}Na:{if(!p){break Na}a=1;g=N[e+32>>2];if((p|0)!=1){h=p&254;d=0;while(1){if(a>>>0>>0){c=n+(O[g|0]<<1)|0;M[c+524>>1]=a;M[c+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}c=a+1|0;if(c>>>0>>0){k=n+(O[g+1|0]<<1)|0;M[k+524>>1]=c;M[k+12>>1]=P[N[j+8>>2]+(c<<1)>>1]}g=g+2|0;a=a+2|0;d=d+2|0;if((h|0)!=(d|0)){continue}break}}if(!(p&1)|a>>>0>=f>>>0){break Na}c=n+(O[g|0]<<1)|0;M[c+524>>1]=a;M[c+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}if(N[e+20>>2]){a=N[e>>2];if(a){c=N[e+28>>2];Qa[N[c+8>>2]](c,a)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;break La;case 1:break Ma;default:break Ea}}N[n+8>>2]=0;if(!p){break La}d=1;while(1){a=d;L[m+14|0]=0;d=N[e+20>>2];Oa:{if(d){if((Qa[d|0](e,c,m+14|0,1)|0)!=1){break Ga}c=N[k>>2];d=m+14|0;break Oa}if(Q[e+4>>2]<=c>>>0){break Ga}d=N[e>>2]+c|0}g=O[d|0];d=c+1|0;N[e+8>>2]=d;L[m+15|0]=0;c=N[e+20>>2];Pa:{if(c){if((Qa[c|0](e,d,m+15|0,1)|0)!=1){break Ga}d=N[k>>2];c=m+15|0;break Pa}if(Q[e+4>>2]<=d>>>0){break Ga}c=N[e>>2]+d|0}r=O[c|0];c=d+1|0;N[k>>2]=c;d=r+1|0;h=N[n+8>>2];if(r>>>0>=h>>>0){N[n+8>>2]=d;h=d}d=a+d|0;Qa:{if(d>>>0<=a>>>0){break Qa}if(!(r&1)){if(a>>>0>>0){u=n+(g<<1)|0;M[u+524>>1]=a;M[u+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}g=g+1|0;a=a+1|0}if(!r){break Qa}while(1){if(!(g>>>0>255|a>>>0>=f>>>0)){r=n+(g<<1)|0;M[r+524>>1]=a;M[r+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}r=a+1|0;Ra:{if(r>>>0>=f>>>0){break Ra}u=g+1|0;if(u>>>0>255){break Ra}u=n+(u<<1)|0;M[u+524>>1]=r;M[u+12>>1]=P[N[j+8>>2]+(r<<1)>>1]}g=g+2|0;a=a+2|0;if((d|0)!=(a|0)){continue}break}}t=t+1|0;if((p|0)!=(t|0)){continue}break}N[m+8>>2]=0;if(h>>>0<257){break La}N[n+8>>2]=256}a=0;if(!(O[n|0]&128)){break Ea}c=Pd(e,m+8|0);a=N[m+8>>2];if(a|!c){break Ea}d=c&255;h=0;while(1){g=Pd(e,m+8|0);a=N[m+8>>2];if(a){break Ea}c=xb(e,m+8|0);a=N[m+8>>2];if(a){break Ea}g=n+((g&255)<<1)|0;M[g+12>>1]=c;Sa:{if(!f){break Sa}k=N[j+8>>2];a=0;while(1){if((c|0)==P[k+(a<<1)>>1]){M[g+524>>1]=a;break Sa}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=0;h=h+1|0;if((d|0)!=(h|0)){continue}break}break Ea}Ta:{Ua:{switch(c|0){case 0:F(d,30800,512);break Ta;case 1:break Ua;default:break Ea}}F(d,34064,512)}N[n+8>>2]=0;h=N[j+16>>2];if(!h){p=N[e+28>>2];if(f){k=f&3;c=N[j+8>>2];d=0;Va:{if(f>>>0<4){a=0;g=0;break Va}g=f&-4;a=0;h=0;while(1){e=h<<1;r=P[c+(e|6)>>1];t=P[c+(e|4)>>1];u=P[c+(e|2)>>1];e=P[c+e>>1];a=a&65535;a=a>>>0>>0?e:a;a=a>>>0>>0?u:a;a=a>>>0>>0?t:a;a=a>>>0>>0?r:a;h=h+4|0;if((h|0)!=(g|0)){continue}break}}if(k){while(1){e=P[c+(g<<1)>>1];a=a&65535;a=a>>>0>>0?e:a;g=g+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}h=a&65535}else{h=0}a=(h<<1)+2|0;c=Qa[N[p+4>>2]](p,a)|0;if(!c){break Fa}d=0;C(c,0,a);N[j+12>>2]=c;Wa:{if((f|0)<=0){break Wa}e=N[j+8>>2];a=f;g=a&3;if(g){while(1){a=a-1|0;M[c+(P[e+(a<<1)>>1]<<1)>>1]=a;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(f>>>0<4){break Wa}while(1){d=a-1|0;M[c+(P[e+(d<<1)>>1]<<1)>>1]=d;d=a-2|0;M[c+(P[e+(d<<1)>>1]<<1)>>1]=d;d=a-3|0;M[c+(P[e+(d<<1)>>1]<<1)>>1]=d;a=a-4|0;M[c+(P[e+(a<<1)>>1]<<1)>>1]=a;if(d>>>0>1){continue}break}}N[j+20>>2]=f;N[j+16>>2]=h}a=0;while(1){Xa:{Ya:{c=n+(a<<1)|0;d=P[c+12>>1];if(!d|d>>>0>h>>>0){break Ya}d=P[N[j+12>>2]+(d<<1)>>1];if(!d){break Ya}M[c+524>>1]=d;a=a+1|0;N[n+8>>2]=a;break Xa}M[c+524>>1]=0;M[c+12>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}a=0;break Ea}N[n>>2]=0}a=85;break Ea}N[j+12>>2]=0;a=64}La=m+16|0;f=a;if(a){break k}}G=i,H=Gm(i,D),N[G+1348>>2]=H;f=0}c=N[q+40>>2];Za:{if(!c){break Za}a=N[c+28>>2];d=N[q+72>>2];if(!(!d|!N[c+20>>2])){Qa[N[a+8>>2]](a,d)}c=N[q+68>>2];if(!c){break Za}Qa[N[a+8>>2]](a,c)}La=q+80|0;g=f;if(f){break a}if((v|0)<0){N[l>>2]=N[i+16>>2];g=0;break a}N[i+3088>>2]=o;N[i+3084>>2]=x;N[i+3080>>2]=B;k=v&65535;N[l+4>>2]=k;N[l+16>>2]=N[i+20>>2];if(N[i+1504>>2]==65535){g=11;if(!x){break a}}_a:{if(!(N[l+8>>2]&256)|v>>>0<65536){break _a}c=N[l+548>>2];if(!c){break _a}a=N[l+552>>2];g=Qa[N[c+28>>2]](l,v>>>16|0)|0;if(g){break a}if(!a){break _a}Qa[N[a+28>>2]](l)}if(!O[i+1436|0]){N[i+1440>>2]=b?1e3:P[l+68>>1]}c=N[i+1432>>2];d=i+1448|0;f=c?c:N[i+1428>>2];a=f>>31;a=(f^a)-a|0;$a:{if((a|0)==65536){o=N[i+1444>>2];a=N[i+1448>>2];break $a}G=i,H=fb(N[i+1440>>2],a),N[G+1440>>2]=H;G=i,H=fb(N[i+1420>>2],a),N[G+1420>>2]=H;e=i+1428|0;G=e,H=fb(N[e>>2],a),N[G>>2]=H;e=i+1424|0;G=e,H=fb(N[e>>2],a),N[G>>2]=H;G=i,H=fb(c,a),N[G+1432>>2]=H;o=fb(N[i+1444>>2],a);a=fb(N[i+1448>>2],a)}N[d>>2]=a>>16;N[i+1444>>2]=o>>16;h=N[i+2024>>2];if(h){c=i+1420|0;while(1){h=h-1|0;a=N[(i+(h<<2)|0)+2028>>2];ab:{if(O[a+64|0]){if(!O[i+1436|0]){break ab}o=1;d=N[i+1440>>2];if(d>>>0>=2){e=N[a+68>>2];o=e>>>0<=1?1:d>>>0>>0?d:e}d=a+48|0;if(!(!c|!d)){f=N[c>>2];g=N[d>>2];e=o<<16;j=jb(f,g,e);v=N[c+4>>2];m=N[d+8>>2];B=jb(v,m,e);p=f;f=N[d+4>>2];q=jb(p,f,e);p=v;v=N[d+12>>2];n=jb(p,v,e);p=N[c+8>>2];r=jb(p,g,e);g=N[c+12>>2];G=d,H=r+jb(g,m,e)|0,N[G+8>>2]=H;N[d+4>>2]=n+q;N[d>>2]=j+B;G=d,H=jb(p,f,e)+jb(g,v,e)|0,N[G+12>>2]=H}if(!(!c|(a|0)==-72)){e=N[c+8>>2];f=N[c+12>>2];g=N[a+72>>2];d=o<<16;v=jb(g,N[c>>2],d);j=N[a+76>>2];G=a,H=v+jb(j,N[c+4>>2],d)|0,N[G+72>>2]=H;G=a,H=jb(g,e,d)+jb(j,f,d)|0,N[G+76>>2]=H}G=a,H=jb(N[a+68>>2],N[i+1440>>2],o),N[G+68>>2]=H;break ab}d=N[c+4>>2];N[a+48>>2]=N[c>>2];N[a+52>>2]=d;d=N[c+12>>2];N[a+56>>2]=N[c+8>>2];N[a+60>>2]=d;d=N[i+1448>>2];N[a+72>>2]=N[i+1444>>2];N[a+76>>2]=d;N[a+68>>2]=N[i+1440>>2]}e=N[a+60>>2];o=e?e:N[a+56>>2];d=o>>31;d=(o^d)-d|0;bb:{if((d|0)==65536){j=N[a+72>>2];d=N[a+76>>2];break bb}G=a,H=fb(N[a+68>>2],d),N[G+68>>2]=H;G=a,H=fb(N[a+48>>2],d),N[G+48>>2]=H;G=a,H=fb(N[a+56>>2],d),N[G+56>>2]=H;G=a,H=fb(N[a+52>>2],d),N[G+52>>2]=H;G=a,H=fb(e,d),N[G+60>>2]=H;j=fb(N[a+72>>2],d);d=fb(N[a+76>>2],d)}N[a+76>>2]=d>>16;N[a+72>>2]=j>>16;if(h){continue}break}}if(b){N[l>>2]=N[i+16>>2];if(N[i+1504>>2]!=65535){a=N[i+1196>>2]+1|0}else{a=N[i+1216>>2]}N[l+16>>2]=a;N[l+52>>2]=M[i+1458>>1];a=M[i+1462>>1];N[l+56>>2]=a;N[l+60>>2]=N[i+1464>>2]+65535>>16;c=N[i+1468>>2]+65535>>16;N[l- -64>>2]=c;d=N[i+1440>>2];M[l+72>>1]=a;M[l+70>>1]=c;M[l+68>>1]=d;a=c-a|0;c=(T(d&65535,12)>>>0)/10|0;M[l+74>>1]=(a|0)>c<<16>>16?a:c;M[l+80>>1]=P[i+1406>>1];M[l+82>>1]=P[i+1410>>1];a=N[i+1388>>2];cb:{if(!a){break cb}a=Zf(i,a);if(!a){break cb}G=l,H=Nc(y,a,w+4|0),N[G+20>>2]=H}db:{eb:{fb:{if(!N[l+20>>2]){c=Gm(i,k);N[l+20>>2]=c;if(!c){break fb}a=nb(c);gb:{if((a|0)<6){break gb}d=c+7|0;e=a+1|0;while(1){if(O[c+6|0]!=43|(O[c+5|0]-65&255)>>>0>25|((O[c+4|0]-65&255)>>>0>25|(O[c+3|0]-65&255)>>>0>25)){break gb}if((O[c+2|0]-65&255)>>>0>25|(O[c+1|0]-65&255)>>>0>25|((e|0)<8|(O[c|0]-65&255)>>>0>25)){break gb}a=e-7|0;F(c,d,a);f=(e|0)>13;e=a;if(f){continue}break}}if(!N[l+20>>2]){break fb}}g=Zf(i,N[i+1384>>2]);if(!g){break eb}h=N[l+20>>2];if(!h){break eb}f=O[g|0];if(!f){break eb}while(1){hb:{ib:{a=f&255;c=a-32|0;if(!((c|0)!=13?c:0)){if((a|0)==O[h|0]){break ib}break hb}o=h;f=O[h|0];if((a|0)==(f|0)){break ib}while(1){jb:{kb:{c=f&255;switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break eb;case 0:case 13:break kb;default:break jb}}f=O[o+1|0];h=o+1|0;o=h;if((a|0)!=(f|0)){continue}break ib}break}if(c){break eb}f=Nc(y,g,w+4|0);if(!f){break eb}d=N[l+20>>2];e=nb(d);c=nb(f);lb:{if((e|0)<=(c|0)){break lb}a=1;if((c|0)>0){while(1){if(O[d+(e-a|0)|0]!=O[(c-a|0)+f|0]){break lb}h=(a|0)==(c|0);a=a+1|0;if(!h){continue}break}}a=e+(c^-1)|0;if((a|0)<=0){break lb}while(1){c=a+d|0;e=O[c|0];h=e-32|0;if(!((1<>>0<=13:0)|(e|0)==95)){L[c+1|0]=0;break lb}c=(a|0)>1;a=a-1|0;if(c){continue}break}}break db}h=h+1|0}f=O[g+1|0];g=g+1|0;if(f){continue}break}break eb}a=Zf(i,N[i+1544>>2]);if(!a){break eb}G=l,H=Nc(y,a,w+4|0),N[G+20>>2]=H}f=Nc(y,12199,w+4|0)}N[l+24>>2]=f;a=E?2065:2073;N[l+8>>2]=N[l+8>>2]|(O[i+1396|0]?a|4:a);f=N[i+1400>>2]!=0;a=Zf(i,N[i+1392>>2]);mb:{if(!a){break mb}if(cb(a,16733)){if(cb(a,13781)){break mb}}f=f|2}nb:{if(f&2){break nb}a=N[l+24>>2];if(!a){break nb}if(bb(a,16733,4)){if(bb(a,13781,5)){break nb}}f=f|2}N[l+12>>2]=f}c=N[i+1504>>2];ob:{if(!(s|(c|0)!=65535)){N[l+8>>2]=N[l+8>>2]|512;j=b;break ob}j=b;if(!j|(c|0)==65535){break ob}N[l+8>>2]=N[l+8>>2]|4096;j=1}a=N[l+36>>2];pb:{if(a){b=N[l+40>>2];f=0;while(1){qb:{rb:{d=N[b+(f<<2)>>2];switch(P[d+8>>1]){case 0:break pb;case 3:break rb;default:break qb}}if(P[d+10>>1]==1){break pb}}f=f+1|0;if((a|0)!=(f|0)){continue}break}}g=0;if((c|0)!=65535&j){break a}N[w+4>>2]=l;N[w+8>>2]=1970170211;N[w+12>>2]=65539;g=Bc(30492,0,w+4|0,0);sb:{if(!g){break sb}b=g&255;if((b|0)==163){break sb}if((b|0)!=7){break a}}if(N[l+92>>2]|(a|0)==N[l+36>>2]){break pb}N[l+92>>2]=N[N[l+40>>2]+(a<<2)>>2]}if(!N[i+152>>2]){g=0;break a}M[w+12>>1]=7;N[w+4>>2]=l;f=1094995778;o=0;tb:{ub:{switch(N[i+148>>2]){case 1:f=1094992453;o=1;break tb;case 0:break tb;default:break ub}}f=1094992451;o=2}N[w+8>>2]=f;M[w+14>>1]=o;g=Bc(30452,0,w+4|0,0)}La=w+16|0;return g|0}function Bl(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;p=La-16|0;La=p;a:{b:{if(!b){m=1;if(!N[e>>2]|(!e|!f)){break a}break b}h=b+1|0;m=O[b+1|0];c:{if(O[b|0]==120){o=b;l=0;if((m&255)==45){break c}}o=0;d:{if(!(m&255)){i=h;break d}g=h;i=b;while(1){j=i;i=g;e:{if(O[j|0]!=45|O[j+2|0]!=45){break e}k=k?k:j;if((m&255)!=120){break e}o=i;break d}g=i+1|0;m=O[i+1|0];if(m){continue}break}i=g}l=k?k:i}g=0;i=0;f:{if(!c|!d|(!o|!N[c>>2])){break f}n=ub(o,17675);if(!n){break f}g:{h:{j=O[n+5|0];if((j|0)!=45){if(((j&223)-91&255)>>>0<230&(j-58&255)>>>0<=245){break f}i=(j-65&255)>>>0<26?j+32|0:j;L[p+4|0]=i;m=O[n+6|0];if((m-48&255)>>>0>=10){j=1;if(((m&-33)-65&255)>>>0>25){break h}}k=(m-65&255)>>>0<26?m+32|0:m;L[p+5|0]=k;m=O[n+7|0];if((m-48&255)>>>0>=10){j=2;if(((m&-33)-65&255)>>>0>25){break h}}m=(m-65&255)>>>0<26?m+32|0:m;L[p+6|0]=m;n=O[n+8|0];if((n-48&255)>>>0>=10){j=3;if(((n&-33)-65&255)>>>0>25){break h}}j=(n-65&255)>>>0<26?n+32|0:n;break g}m=O[n+6|0];j=m-48|0;i=(j&255)>>>0<10;i:{j:{if(!(i|(m-97&255)>>>0<6)){i=0;j=m-65|0;if((j&255)>>>0<6){break j}break f}if(i){break i}j=m-65|0}j=((j&255)>>>0<26?m+32|0:m)-87|0}k=O[n+7|0];m=k-48|0;i=(m&255)>>>0<10;k:{l:{if(!(i|(k-97&255)>>>0<6)){i=0;m=k-65|0;if((m&255)>>>0<6){break l}break f}if(i){break k}m=k-65|0}m=((m&255)>>>0<26?k+32|0:k)-87|0}k=O[n+8|0];q=k-48|0;i=(q&255)>>>0<10;m:{n:{if(!(i|(k-97&255)>>>0<6)){i=0;q=k-65|0;if((q&255)>>>0<6){break n}break f}if(i){break m}q=k-65|0}q=((q&255)>>>0<26?k+32|0:k)-87|0}k=O[n+9|0];r=k-48|0;i=(r&255)>>>0<10;o:{p:{if(!(i|(k-97&255)>>>0<6)){i=0;r=k-65|0;if((r&255)>>>0<6){break p}break f}if(i){break o}r=k-65|0}r=((r&255)>>>0<26?k+32|0:k)-87|0}k=O[n+10|0];s=k-48|0;i=(s&255)>>>0<10;q:{r:{if(!(i|(k-97&255)>>>0<6)){i=0;s=k-65|0;if((s&255)>>>0<6){break r}break f}if(i){break q}s=k-65|0}s=((s&255)>>>0<26?k+32|0:k)-87|0}k=O[n+11|0];t=k-48|0;i=(t&255)>>>0<10;s:{t:{if(!(i|(k-97&255)>>>0<6)){i=0;t=k-65|0;if((t&255)>>>0<6){break t}break f}if(i){break s}t=k-65|0}t=((t&255)>>>0<26?k+32|0:k)-87|0}k=O[n+12|0];u=k-48|0;i=(u&255)>>>0<10;u:{v:{if(!(i|(k-97&255)>>>0<6)){i=0;u=k-65|0;if((u&255)>>>0<6){break v}break f}if(i){break u}u=k-65|0}u=((u&255)>>>0<26?k+32|0:k)-87|0}n=O[n+13|0];v=n-48|0;i=(v&255)>>>0<10;w:{x:{if(!(i|(n-97&255)>>>0<6)){i=0;k=n-65|0;if((k&255)>>>0<6){break x}break f}if(i){break w}k=n-65|0}v=((k&255)>>>0<26?n+32|0:n)-87|0}i=(j<<4)+m|0;k=(q<<4)+r|0;m=(s<<4)+t|0;j=(u<<4)+v|0;break g}C((p+4|0)+j|0,32,4-j|0);m=O[p+6|0];k=O[p+5|0];i=O[p+4|0];j=O[p+7|0]}i=j&255|(i<<24|(k&255)<<16|(m&255)<<8);N[d>>2]=(i&-538976289)==1145457748?i^538976288:i;i=1;N[c>>2]=1}y:{if(!f|!e|(!o|!N[e>>2])){break y}n=ub(o,8910);if(!n){break y}z:{A:{j=O[n+5|0];if((j|0)!=45){if(((j&223)-91&255)>>>0<230&(j-58&255)>>>0<=245){break y}g=(j-97&255)>>>0<26?j-32|0:j;L[p+8|0]=g;j=O[n+6|0];if((j-48&255)>>>0>=10){o=1;if(((j&-33)-65&255)>>>0>25){break A}}k=(j-97&255)>>>0<26?j-32|0:j;L[p+9|0]=k;j=O[n+7|0];if((j-48&255)>>>0>=10){o=2;if(((j&-33)-65&255)>>>0>25){break A}}j=(j-97&255)>>>0<26?j-32|0:j;L[p+10|0]=j;m=O[n+8|0];if((m-48&255)>>>0>=10){o=3;if(((m&-33)-65&255)>>>0>25){break A}}o=(m-97&255)>>>0<26?m-32|0:m;break z}j=O[n+6|0];o=j-48|0;g=(o&255)>>>0<10;B:{C:{if(!(g|(j-97&255)>>>0<6)){g=0;o=j-65|0;if((o&255)>>>0<6){break C}break y}if(g){break B}o=j-65|0}o=((o&255)>>>0<26?j+32|0:j)-87|0}m=O[n+7|0];j=m-48|0;g=(j&255)>>>0<10;D:{E:{if(!(g|(m-97&255)>>>0<6)){g=0;j=m-65|0;if((j&255)>>>0<6){break E}break y}if(g){break D}j=m-65|0}j=((j&255)>>>0<26?m+32|0:m)-87|0}k=O[n+8|0];m=k-48|0;g=(m&255)>>>0<10;F:{G:{if(!(g|(k-97&255)>>>0<6)){g=0;m=k-65|0;if((m&255)>>>0<6){break G}break y}if(g){break F}m=k-65|0}m=((m&255)>>>0<26?k+32|0:k)-87|0}k=O[n+9|0];q=k-48|0;g=(q&255)>>>0<10;H:{I:{if(!(g|(k-97&255)>>>0<6)){g=0;q=k-65|0;if((q&255)>>>0<6){break I}break y}if(g){break H}q=k-65|0}q=((q&255)>>>0<26?k+32|0:k)-87|0}k=O[n+10|0];r=k-48|0;g=(r&255)>>>0<10;J:{K:{if(!(g|(k-97&255)>>>0<6)){g=0;r=k-65|0;if((r&255)>>>0<6){break K}break y}if(g){break J}r=k-65|0}r=((r&255)>>>0<26?k+32|0:k)-87|0}k=O[n+11|0];s=k-48|0;g=(s&255)>>>0<10;L:{M:{if(!(g|(k-97&255)>>>0<6)){g=0;s=k-65|0;if((s&255)>>>0<6){break M}break y}if(g){break L}s=k-65|0}s=((s&255)>>>0<26?k+32|0:k)-87|0}k=O[n+12|0];t=k-48|0;g=(t&255)>>>0<10;N:{O:{if(!(g|(k-97&255)>>>0<6)){g=0;t=k-65|0;if((t&255)>>>0<6){break O}break y}if(g){break N}t=k-65|0}t=((t&255)>>>0<26?k+32|0:k)-87|0}n=O[n+13|0];u=n-48|0;g=(u&255)>>>0<10;P:{Q:{if(!(g|(n-97&255)>>>0<6)){g=0;k=n-65|0;if((k&255)>>>0<6){break Q}break y}if(g){break P}k=n-65|0}u=((k&255)>>>0<26?n+32|0:n)-87|0}g=(o<<4)+j|0;k=(m<<4)+q|0;j=(r<<4)+s|0;o=(t<<4)+u|0;break z}C((p+8|0)+o|0,32,4-o|0);j=O[p+10|0];k=O[p+9|0];g=O[p+8|0];o=O[p+11|0]}g=o&255|(g<<24|(k&255)<<16|(j&255)<<8);N[f>>2]=(g&-538976289)==1145457748?g^538976288:g;g=1;N[e>>2]=1}m=i^1;if(!f|!e|(!N[e>>2]|g)){break a}R:{o=l-b|0;if((o|0)<7){break R}i=lc(b,45);if(!i|i>>>0>=l>>>0){break R}k=l-i|0;if((k|0)<5){break R}S:{if(k>>>0<8){break S}j=i;T:{while(1){g=ub(j,18424);if(!g|g>>>0>=l>>>0){break T}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1095782472;h=1;break b}j=i;U:{while(1){g=ub(j,12699);if(!g|g>>>0>=l>>>0){break U}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1346851360;h=1;break b}j=i;V:{while(1){g=ub(j,18443);if(!g|g>>>0>=l>>>0){break V}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1213809952;h=1;break b}j=i;while(1){g=ub(j,17740);if(!g|g>>>0>=l>>>0){break S}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1347571488;h=1;break b}g=i;if(k>>>0>=7){W:{while(1){j=ub(g,18416);if(!j|j>>>0>=l>>>0){break W}g=j+7|0;j=O[j+7|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1230000200;h=1;break b}g=i}X:{while(1){j=ub(g,13563);if(!j|j>>>0>=l>>>0){break X}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1262961952;h=1;break b}g=i;Y:{while(1){j=ub(g,15487);if(!j|j>>>0>=l>>>0){break Y}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1398362693;h=1;break b}g=i;Z:{while(1){j=ub(g,13860);if(!j|j>>>0>=l>>>0){break Z}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1398362698;h=1;break b}if(!Ab(i,l,12549,5)){break R}N[f>>2]=1398362702;h=1;break b}_:{$:{aa:{ba:{switch(L[b|0]-97|0){case 0:if(cb(h,13122)){break aa}N[f>>2]=1245859616;h=1;break b;case 2:ca:{g=l-h|0;da:{if(g>>>0>=10){ea:{if(bb(h,13650,10)){break ea}g=O[b+11|0];if(g?(g|0)!=45:0){break ea}N[f>>2]=1514686496;h=1;break b}fa:{if(bb(h,12420,10)){break fa}g=O[b+11|0];if(g?(g|0)!=45:0){break fa}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}ga:{if(bb(h,13584,10)){break ga}g=O[b+11|0];if(g?(g|0)!=45:0){break ga}N[f>>2]=1514686496;h=1;break b}ha:{if(bb(h,12354,10)){break ha}g=O[b+11|0];if(g?(g|0)!=45:0){break ha}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}ia:{if(bb(h,13672,10)){break ia}g=O[b+11|0];if(g?(g|0)!=45:0){break ia}N[f>>2]=1514686496;h=1;break b}ja:{if(bb(h,12442,10)){break ja}g=O[b+11|0];if(g?(g|0)!=45:0){break ja}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}ka:{if(bb(h,13628,10)){break ka}g=O[b+11|0];if(g?(g|0)!=45:0){break ka}N[f>>2]=1514686496;h=1;break b}la:{if(bb(h,12398,10)){break la}g=O[b+11|0];if(g?(g|0)!=45:0){break la}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}ma:{if(bb(h,13595,10)){break ma}g=O[b+11|0];if(g?(g|0)!=45:0){break ma}N[f>>2]=1514686496;h=1;break b}na:{if(bb(h,12365,10)){break na}g=O[b+11|0];if(g?(g|0)!=45:0){break na}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}oa:{if(bb(h,13617,10)){break oa}g=O[b+11|0];if(g?(g|0)!=45:0){break oa}N[f>>2]=1514686496;h=1;break b}pa:{if(bb(h,12387,10)){break pa}g=O[b+11|0];if(g?(g|0)!=45:0){break pa}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}qa:{if(bb(h,13705,10)){break qa}g=O[b+11|0];if(g?(g|0)!=45:0){break qa}N[f>>2]=1514686496;h=1;break b}ra:{if(bb(h,12475,10)){break ra}g=O[b+11|0];if(g?(g|0)!=45:0){break ra}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}sa:{if(bb(h,13639,10)){break sa}g=O[b+11|0];if(g?(g|0)!=45:0){break sa}N[f>>2]=1514686496;h=1;break b}if(bb(h,12409,10)){break da}g=O[b+11|0];if(g?(g|0)!=45:0){break da}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break ca}}ta:{if(bb(h,10737,7)){break ta}g=O[b+8|0];if(g?(g|0)!=45:0){break ta}N[f>>2]=1514689312;h=1;break b}ua:{if(bb(h,9378,7)){break ua}g=O[b+8|0];if(g?(g|0)!=45:0){break ua}N[f>>2]=1514689568;h=1;break b}va:{if(bb(h,10689,7)){break va}g=O[b+8|0];if(g?(g|0)!=45:0){break va}N[f>>2]=1514689312;h=1;break b}wa:{if(bb(h,9330,7)){break wa}g=O[b+8|0];if(g?(g|0)!=45:0){break wa}N[f>>2]=1514689568;h=1;break b}xa:{if(bb(h,10753,7)){break xa}g=O[b+8|0];if(g?(g|0)!=45:0){break xa}N[f>>2]=1514689312;h=1;break b}ya:{if(bb(h,9394,7)){break ya}g=O[b+8|0];if(g?(g|0)!=45:0){break ya}N[f>>2]=1514689568;h=1;break b}za:{if(bb(h,10721,7)){break za}g=O[b+8|0];if(g?(g|0)!=45:0){break za}N[f>>2]=1514689312;h=1;break b}Aa:{if(bb(h,9362,7)){break Aa}g=O[b+8|0];if(g?(g|0)!=45:0){break Aa}N[f>>2]=1514689568;h=1;break b}Ba:{if(bb(h,10697,7)){break Ba}g=O[b+8|0];if(g?(g|0)!=45:0){break Ba}N[f>>2]=1514689312;h=1;break b}Ca:{if(bb(h,9338,7)){break Ca}g=O[b+8|0];if(g?(g|0)!=45:0){break Ca}N[f>>2]=1514689568;h=1;break b}Da:{if(bb(h,10713,7)){break Da}g=O[b+8|0];if(g?(g|0)!=45:0){break Da}N[f>>2]=1514689312;h=1;break b}Ea:{if(bb(h,9354,7)){break Ea}g=O[b+8|0];if(g?(g|0)!=45:0){break Ea}N[f>>2]=1514689568;h=1;break b}Fa:{if(bb(h,10777,7)){break Fa}g=O[b+8|0];if(g?(g|0)!=45:0){break Fa}N[f>>2]=1514689312;h=1;break b}Ga:{if(bb(h,9418,7)){break Ga}g=O[b+8|0];if(g?(g|0)!=45:0){break Ga}N[f>>2]=1514689568;h=1;break b}Ha:{if(bb(h,10729,7)){break Ha}g=O[b+8|0];if(g?(g|0)!=45:0){break Ha}N[f>>2]=1514689312;h=1;break b}if(bb(h,9370,7)){break ca}g=O[b+8|0];if(g?(g|0)!=45:0){break ca}N[f>>2]=1514689568;h=1;break b}Ia:{if(bb(h,22513,3)){break Ia}Ja:{if(o>>>0<3){break Ja}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break Ja}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Ia}N[f>>2]=1514689568;h=1;break b}Ka:{if(bb(h,22485,3)){break Ka}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Ka}N[f>>2]=1514689568;h=1;break b}La:{if(bb(h,22521,3)){break La}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break La}N[f>>2]=1514689568;h=1;break b}Ma:{if(bb(h,22505,3)){break Ma}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Ma}N[f>>2]=1514689568;h=1;break b}Na:{if(bb(h,22489,3)){break Na}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Na}N[f>>2]=1514689568;h=1;break b}Oa:{if(bb(h,22501,3)){break Oa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Oa}N[f>>2]=1514689568;h=1;break b}Pa:{if(bb(h,22533,3)){break Pa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Pa}N[f>>2]=1514689568;h=1;break b}if(bb(h,22509,3)){break aa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 6:Qa:{Ra:{Sa:{g=l-h|0;Ta:{if(g>>>0>=10){Ua:{if(bb(h,13683,10)){break Ua}g=O[b+11|0];if(g?(g|0)!=45:0){break Ua}N[f>>2]=1514686496;h=1;break b}if(bb(h,12453,10)){break Ta}g=O[b+11|0];if(g?(g|0)!=45:0){break Ta}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break Sa}}Va:{if(bb(h,10761,7)){break Va}g=O[b+8|0];if(g?(g|0)!=45:0){break Va}N[f>>2]=1514689312;h=1;break b}if(bb(h,9402,7)){break Ra}g=O[b+8|0];if(g?(g|0)!=45:0){break Ra}N[f>>2]=1514689568;h=1;break b}if((g|0)!=6){break Qa}}if(bb(h,14515,6)){break Qa}g=O[b+7|0];if(g?(g|0)!=45:0){break Qa}N[f>>2]=1230132256;h=1;break b}if(bb(h,22525,3)){break aa}Wa:{if(o>>>0<3){break Wa}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break Wa}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 7:Xa:{g=l-h|0;Ya:{if(g>>>0>=10){Za:{if(bb(h,13694,10)){break Za}g=O[b+11|0];if(g?(g|0)!=45:0){break Za}N[f>>2]=1514686496;h=1;break b}_a:{if(bb(h,12464,10)){break _a}g=O[b+11|0];if(g?(g|0)!=45:0){break _a}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}$a:{if(bb(h,13661,10)){break $a}g=O[b+11|0];if(g?(g|0)!=45:0){break $a}N[f>>2]=1514686496;h=1;break b}if(bb(h,12431,10)){break Ya}g=O[b+11|0];if(g?(g|0)!=45:0){break Ya}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break Xa}}ab:{if(bb(h,10769,7)){break ab}g=O[b+8|0];if(g?(g|0)!=45:0){break ab}N[f>>2]=1514689312;h=1;break b}bb:{if(bb(h,9410,7)){break bb}g=O[b+8|0];if(g?(g|0)!=45:0){break bb}N[f>>2]=1514689568;h=1;break b}cb:{if(bb(h,10745,7)){break cb}g=O[b+8|0];if(g?(g|0)!=45:0){break cb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9386,7)){break Xa}g=O[b+8|0];if(g?(g|0)!=45:0){break Xa}N[f>>2]=1514689568;h=1;break b}db:{if(bb(h,22529,3)){break db}eb:{if(o>>>0<3){break eb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break eb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break db}N[f>>2]=1514689568;h=1;break b}if(bb(h,22517,3)){break aa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 8:if(!cb(h,12493)){N[f>>2]=1312904736;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1096042528;break b}if(!cb(h,13825)){N[f>>2]=1514689312;h=1;break b}if(cb(h,7983)){break aa}N[f>>2]=1280596512;h=1;break b;case 11:if(l-h>>>0<7){break aa}if(bb(h,10777,7)){break aa}g=O[b+8|0];if(g?(g|0)!=45:0){break aa}N[f>>2]=1514689312;h=1;break b;case 12:fb:{g=l-h|0;gb:{if(g>>>0>=10){hb:{if(bb(h,13628,10)){break hb}g=O[b+11|0];if(g?(g|0)!=45:0){break hb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12398,10)){break gb}g=O[b+11|0];if(g?(g|0)!=45:0){break gb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break fb}}ib:{if(bb(h,10721,7)){break ib}g=O[b+8|0];if(g?(g|0)!=45:0){break ib}N[f>>2]=1514689312;h=1;break b}if(bb(h,9362,7)){break fb}g=O[b+8|0];if(g?(g|0)!=45:0){break fb}N[f>>2]=1514689568;h=1;break b}jb:{if(bb(h,22505,3)){break jb}kb:{if(o>>>0<3){break kb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break kb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break jb}N[f>>2]=1514689568;h=1;break b}if(bb(h,22493,3)){break aa}if(!Ab(b,l,14039,3)){break aa}N[f>>2]=1297043028;h=1;break b;case 13:lb:{g=l-h|0;mb:{if(g>>>0>=10){nb:{if(bb(h,13683,10)){break nb}g=O[b+11|0];if(g?(g|0)!=45:0){break nb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12453,10)){break mb}g=O[b+11|0];if(g?(g|0)!=45:0){break mb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break lb}}ob:{if(bb(h,10761,7)){break ob}g=O[b+8|0];if(g?(g|0)!=45:0){break ob}N[f>>2]=1514689312;h=1;break b}if(bb(h,9402,7)){break lb}g=O[b+8|0];if(g?(g|0)!=45:0){break lb}N[f>>2]=1514689568;h=1;break b}pb:{if(bb(h,22525,3)){break pb}qb:{if(o>>>0<3){break qb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break qb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break pb}N[f>>2]=1514689568;h=1;break b}if(!cb(h,13569)){N[f>>2]=1313821216;h=1;break b}if(cb(h,12537)){break aa}N[f>>2]=1314475552;h=1;break b;case 17:if(bb(h,22514,2)|o>>>0<3){break aa}g=b;while(1){i=ub(g,16705);if(!i|i>>>0>=l>>>0){break aa}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break};N[f>>2]=1297042464;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1380928800;break b;case 22:rb:{g=l-h|0;sb:{if(g>>>0>=10){tb:{if(bb(h,13606,10)){break tb}g=O[b+11|0];if(g?(g|0)!=45:0){break tb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12376,10)){break sb}g=O[b+11|0];if(g?(g|0)!=45:0){break sb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break rb}}ub:{if(bb(h,10705,7)){break ub}g=O[b+8|0];if(g?(g|0)!=45:0){break ub}N[f>>2]=1514689312;h=1;break b}if(bb(h,9346,7)){break rb}g=O[b+8|0];if(g?(g|0)!=45:0){break rb}N[f>>2]=1514689568;h=1;break b}if(bb(h,22497,3)){break aa}vb:{if(o>>>0<3){break vb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break vb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 24:if(l-h>>>0<7){break aa}if(bb(h,10785,7)){break aa}g=O[b+8|0];if(g?(g|0)!=45:0){break aa}N[f>>2]=1514689312;h=1;break b;case 25:break ba;default:break aa}}wb:{g=l-h|0;if(g>>>0<9){break wb}xb:{if(bb(h,13706,9)){break xb}i=O[b+10|0];if(i?(i|0)!=45:0){break xb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12476,9)){break wb}i=O[b+10|0];if(i?(i|0)!=45:0){break wb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!cb(h,13112)){N[f>>2]=1514689312;h=1;break b}yb:{if(g>>>0<6){break yb}zb:{if(bb(h,10778,6)){break zb}g=O[b+7|0];if(g?(g|0)!=45:0){break zb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9419,6)){break yb}g=O[b+7|0];if(g?(g|0)!=45:0){break yb}N[f>>2]=1514689568;h=1;break b}if(!cb(h,12843)){N[f>>2]=1514689312;h=1;break b}if(bb(h,22534,2)){break aa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b}i=lc(b,45);Ab:{if(!i|(o|0)<6){break Ab}g=i+1|0;j=lc(g,45);Bb:{if(j){j=j+(i^-1)|0;break Bb}j=nb(g)}if((j|0)!=3){break Ab}b=((O[g|0]&223)-65&255)>>>0<26?g:b}o=203;g=179952;Cb:{Db:{Eb:{j=lc(b,45);h=j?j:l;l=h-b|0;switch(l-2|0){case 0:break Db;case 1:break Eb;default:break Cb}}o=1209;g=181584}j=0;Fb:{if((b|0)==(h|0)){break Fb}h=O[b|0];j=0;if(!h){break Fb}L[p+12|0]=h;j=O[b+1|0];Gb:{if(!j){h=1;break Gb}L[p+13|0]=j;h=2;if(((l>>>0>=4?4:l)|0)==2){break Gb}j=O[b+2|0];if(!j){break Gb}L[p+14|0]=j;h=3}C((p+12|0)+h|0,32,4-h|0);j=O[p+12|0]|O[p+13|0]<<8|(O[p+14|0]<<16|O[p+15|0]<<24);j=j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24)}h=N[147448];l=j;if(o>>>0>h>>>0&(j|0)==N[(h<<3)+g>>2]){break _}k=o-1|0;j=0;while(1){h=j+k>>>1|0;n=N[(h<<3)+g>>2];Hb:{if(n>>>0>l>>>0){k=h-1|0;break Hb}if(l>>>0<=n>>>0){break _}j=h+1|0}if((j|0)<=(k|0)){continue}break}}h=0;if(!i){i=nb(b)+b|0}if((i-b|0)!=3){break b}g=0;i=La-16|0;Ib:{if(!b){break Ib}j=O[b|0];if(!j){break Ib}L[i+12|0]=j;j=O[b+1|0];g=1;Jb:{if(!j){break Jb}L[i+13|0]=j;b=O[b+2|0];g=2;if(!b){break Jb}L[i+14|0]=b;g=3}C(g+(i+12|0)|0,32,4-g|0);g=O[i+15|0]|(O[i+13|0]<<16|O[i+12|0]<<24|O[i+14|0]<<8)}N[f>>2]=g&-538976257}h=1;break b}N[147448]=h;while(1){Kb:{i=h;if(!h){i=0;break Kb}h=i-1|0;if(N[(i<<3)+g>>2]==N[(h<<3)+g>>2]){continue}}break}if(!N[e>>2]){h=0;break b}b=(i<<3)+g|0;h=0;while(1){j=h+i|0;if(j>>>0>=o>>>0){break b}j=(j<<3)+g|0;l=N[j+4>>2];if(!l|N[j>>2]!=N[b>>2]){break b}N[(h<<2)+f>>2]=l;h=h+1|0;if(h>>>0>2]){continue}break}}N[e>>2]=h}if(!(!d|!c|(!m|!N[c>>2]))){i=0;Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{Rb:{Sb:{Tb:{if((a|0)<=1298954604){if((a|0)<=1198877297){h=1651402546;if((a|0)==1113943655){break Ob}if((a|0)!=1147500129){break Mb}h=1684370994;break Ob}if((a|0)==1198877298){break Tb}if((a|0)==1198879349){break Sb}if((a|0)!=1265525857){break Mb}h=1802396722;break Ob}if((a|0)<=1332902240){if((a|0)==1298954605){break Rb}h=1836674354;if((a|0)==1299803506){break Nb}break Mb}if((a|0)==1332902241){break Qb}if((a|0)==1415671148){break Pb}if((a|0)!=1415933045){break Mb}h=1952803890;break Ob}h=1735029298;break Ob}h=1735750194;break Ob}h=1835822386;break Ob}h=1869773106;break Ob}h=1953328178}N[d>>2]=h|51;i=1;if(Q[c>>2]<2){break Lb}}N[(i<<2)+d>>2]=h;i=i+1|0;if(i>>>0>=Q[c>>2]){break Lb}}b=(i<<2)+d|0;Ub:{Vb:{Wb:{Xb:{Yb:{if((a|0)<=1315663726){if(!a){break Lb}if((a|0)==1214870113){break Xb}if((a|0)!=1281453935){break Yb}d=1818324768;break Ub}if((a|0)<=1500080488){if((a|0)==1315663727){break Vb}if((a|0)!=1449224553){break Yb}d=1986095392;break Ub}if((a|0)==1500080489){break Wb}d=1835103336;if((a|0)==1517122664){break Ub}}d=a|536870912;break Ub}d=1801547361;break Ub}d=2036932640;break Ub}d=1852534560}N[b>>2]=d;i=i+1|0}N[c>>2]=i}La=p+16|0}function nl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;i=La-288|0;La=i;a:{b:{c:{d:{switch((O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))>>>24|0){case 0:g=N[b+16>>2];b=N[b+12>>2];n=N[b+32>>2];if((n|0)==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;n=(b<<8|b>>>8)&65535;N[c+32>>2]=n}N[g+64>>2]=0;if(!O[g+60|0]){break c}l=a+12|0;w=i+40|0;while(1){c=N[g+64>>2];b=0;e:{if(c>>>0>=Q[g+68>>2]){break e}d=N[N[g+80>>2]+T(c,20)>>2];b=2;if((d|0)==65535){break e}c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);c=cc(l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,d,n);b=1;if(!c){break e}b=O[c|0]|O[c+1|0]<<8;b=(b<<8|b>>>8)&65535}d=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);m=c>>>0>b>>>0;p=T(c,j);c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);o=l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=((m?b:1)+p<<1)+o|0;c=O[c|0]|O[c+1|0]<<8;h=((c<<8|c>>>8)&65535)<<2;c=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);t=l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;h=h+t|0;k=O[h|0]|O[h+1|0]<<8;c=O[h+2|0]|O[h+3|0]<<8;f:{g:{if(e>>>0>>0?c&3840:0){break g}if(!(!j|!(c&64?k:1))){b=o+((m?b:1)<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=t+(((b<<8|b>>>8)&65535)<<2)|0;j=O[b+2|0]|O[b+3|0]<<8;if((e>>>0>>0?j&3840:0)|(k|0)!=(O[b|0]|O[b+1|0]<<8)|(c^j)&64){break g}}b=o+(p+!d<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!(O[(t+(((b<<8|b>>>8)&65535)<<2)|0)+3|0]&15)|e>>>0>=f>>>0){break f}}b=N[g+64>>2];d=O[g+62|0]?N[g+72>>2]:b;if(!d|b>>>0>=Q[g+68>>2]){break f}wb(g,3,d-1|0,b+1|0,1,1);c=O[h+2|0]|O[h+3|0]<<8}c=c<<8|(c&65280)>>>8;b=c&65535;e=c<<16>>16<0?N[g+64>>2]:e;if(b&8192){c=N[g+64>>2]+1|0;f=N[g+68>>2];f=c>>>0>>0?c:f}c=b&15;h:{if(!c|e>>>0>=f>>>0){break h}b=f-e|0;if(b>>>0>64){break h}d=O[c+238112|0];t=d>>>4|0;c=t>>>0>=2?2:t;p=d&15;d=p>>>0>=2?2:p;q=c+d|0;if(q>>>0>b>>>0){break h}j=N[g+64>>2]+1|0;m=N[g+68>>2];j=j>>>0>>0?j:m;if(j-e>>>0>=2){Ib(g,e,j)}if(b>>>0>=2){Ib(g,e,f)}j=T(c,20);m=N[g+80>>2];b=m+T(e,20)|0;if(c){F(i,b,j)}o=T(d,20);if(d){F(w,(m+T(f,20)|0)+T(d,-20)|0,o)}if((c|0)!=(d|0)){F(b+o|0,b+j|0,T(f-(e+q|0)|0,20))}if(d){F(b,w,o)}if(c){F((m+T(f,20)|0)+T(c,-20)|0,i,j)}if((t|0)==3){d=m+T(f,20)|0;c=d-20|0;N[i+16>>2]=N[c+16>>2];j=N[c+4>>2];N[i>>2]=N[c>>2];N[i+4>>2]=j;j=N[c+12>>2];N[i+8>>2]=N[c+8>>2];N[i+12>>2]=j;d=d-40|0;N[c+16>>2]=N[d+16>>2];j=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=j;j=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=j;N[d+16>>2]=N[i+16>>2];c=N[i+12>>2];N[d+8>>2]=N[i+8>>2];N[d+12>>2]=c;c=N[i+4>>2];N[d>>2]=N[i>>2];N[d+4>>2]=c}if((p|0)!=3){break h}N[i+16>>2]=N[b+16>>2];c=N[b+4>>2];N[i>>2]=N[b>>2];N[i+4>>2]=c;c=N[b+12>>2];N[i+8>>2]=N[b+8>>2];N[i+12>>2]=c;N[b+16>>2]=N[b+36>>2];c=N[b+32>>2];N[b+8>>2]=N[b+28>>2];N[b+12>>2]=c;c=N[b+24>>2];N[b>>2]=N[b+20>>2];N[b+4>>2]=c;N[b+36>>2]=N[i+16>>2];c=N[i+12>>2];N[b+28>>2]=N[i+8>>2];N[b+32>>2]=c;c=N[i+4>>2];N[b+20>>2]=N[i>>2];N[b+24>>2]=c}b=N[g+64>>2];if(!O[g+60|0]|(b|0)==N[g+68>>2]){break c}i:{if(O[h+2|0]&64){c=N[g+152>>2];N[g+152>>2]=c-1;if((c|0)>0){break i}}if(O[g+62|0]){j=N[g+72>>2];c=N[g+84>>2];h=N[g+80>>2];j:{if((c|0)==(h|0)){d=b;if((d|0)==(j|0)){break j}}b=j+1|0;if(!(!b|b>>>0>2])){if(!gb(g,b)){break i}h=N[g+80>>2];c=N[g+84>>2]}k:{if((c|0)!=(h|0)){break k}b=N[g+72>>2];if(b+1>>>0<=N[g+64>>2]+1>>>0){c=h;break k}if(!O[g+62|0]){break b}c=N[g+88>>2];N[g+84>>2]=c;b=T(b,20);if(!b){break k}F(c,h,b);c=N[g+84>>2];h=N[g+80>>2]}b=T(N[g+72>>2],20)+c|0;c=T(N[g+64>>2],20)+h|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;b=N[g+64>>2];d=N[g+72>>2]}N[g+72>>2]=d+1}N[g+64>>2]=b+1}j=(k<<8|k>>>8)&65535;if(O[g+60|0]){continue}break};break c;case 1:c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);o=N[b+68>>2];e=O[o|0]|O[o+1|0]<<8;f=O[o+4|0]|O[o+5|0]<<8;d=N[b+16>>2];b=N[b+12>>2];n=N[b+32>>2];if((n|0)==-1){h=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;n=(b<<8|b>>>8)&65535;N[h+32>>2]=n}N[d+64>>2]=0;if(!O[d+60|0]){break c}m=a+12|0;w=m+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;y=!f|(e|0)!=256;while(1){c=N[d+64>>2];b=0;l:{if(c>>>0>=Q[d+68>>2]){break l}e=N[N[d+80>>2]+T(c,20)>>2];b=2;if((e|0)==65535){break l}c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);c=cc(m+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,e,n);b=1;if(!c){break l}b=O[c|0]|O[c+1|0]<<8;b=(b<<8|b>>>8)&65535}c=b;f=c;h=O[m|0]|O[m+1|0]<<8|(O[m+2|0]<<16|O[m+3|0]<<24);b=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);r=c>>>0>>0;if(!r){f=1}s=T(b,j);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);k=m+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;b=(f+s<<1)+k|0;b=O[b|0]|O[b+1|0]<<8;f=((b<<8|b>>>8)&65535)<<3;b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);p=m+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;f=f+p|0;t=O[f|0]|O[f+1|0]<<8;u=l&255;b=N[d+68>>2];e=N[d+64>>2];q=!u&(b|0)==(e|0);m:{n:{if(!q&((O[f+4|0]|O[f+5|0]<<8)!=65535|(O[f+6|0]|O[f+7|0]<<8)!=65535)){break n}o:{if(!j){break o}j=O[f+2|0]|O[f+3|0]<<8;if(!(j&64?t:1)){break o}c=k+((r?c:1)<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=p+(((c<<8|c>>>8)&65535)<<3)|0;if(!q&((O[c+4|0]|O[c+5|0]<<8)!=65535|(O[c+6|0]|O[c+7|0]<<8)!=65535)|((j^(O[c+2|0]|O[c+3|0]<<8))&64|(t|0)!=(O[c|0]|O[c+1|0]<<8))){break n}}c=!h;if(q){b=e;break m}c=k+(c+s<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=p+(((c<<8|c>>>8)&65535)<<3)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535){break n}if((O[c+6|0]|O[c+7|0]<<8)==65535){break m}}if(b>>>0<=e>>>0){break m}c=O[d+62|0]?N[d+72>>2]:e;if(!c){break m}wb(d,3,c-1|0,e+1|0,1,1);b=N[d+68>>2];e=N[d+64>>2]}if(u|(b|0)!=(e|0)){b=O[f+4|0]|O[f+5|0]<<8;p:{if((b|0)==65535){break p}b=w+(((b<<8|b>>>8)&65535)<<2)|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);r=T(g,20);s=cc(w+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0,N[r+N[d+80>>2]>>2],n);if(!s){break p}b=N[d+64>>2]+1|0;c=N[d+68>>2];p=b>>>0>>0?b:c;q=p-g|0;q:{if(q>>>0<=1){e=N[d+80>>2];break q}j=N[d+144>>2]|32;N[d+144>>2]=j;e=N[d+80>>2];if(g>>>0>=p>>>0){break q}b=-1;c=g;u=p+(c^-1)|0;if(u>>>0>=3){v=q&-4;k=0;while(1){h=T(c,20)+e|0;x=N[h+8>>2];b=b>>>0>>0?b:x;x=N[h+28>>2];b=b>>>0>>0?b:x;x=N[h+48>>2];b=b>>>0>>0?b:x;h=N[h+68>>2];b=b>>>0>>0?b:h;c=c+4|0;k=k+4|0;if((v|0)!=(k|0)){continue}break}}h=0;k=q&3;if(k){while(1){v=N[(T(c,20)+e|0)+8>>2];b=b>>>0>>0?b:v;c=c+1|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}c=g;if(q&1){c=e+r|0;if(N[c+8>>2]!=(b|0)){N[c+4>>2]=N[c+4>>2]|3}c=g+1|0}if(!u){break q}while(1){h=T(c,20)+e|0;if(N[h+8>>2]!=(b|0)){j=j|32;N[d+144>>2]=j;N[h+4>>2]=N[h+4>>2]|3}h=T(c+1|0,20)+e|0;if(N[h+8>>2]!=(b|0)){j=j|32;N[d+144>>2]=j;N[h+4>>2]=N[h+4>>2]|3}c=c+2|0;if((p|0)!=(c|0)){continue}break}}b=e+r|0;c=O[s|0]|O[s+1|0]<<8;c=(c<<8|c>>>8)&65535;N[b>>2]=c;if(y){break p}z=b,A=Uc(o,c),M[z+12>>1]=A}b=O[f+6|0]|O[f+7|0]<<8;r:{if((b|0)==65535){break r}b=w+(((b<<8|b>>>8)&65535)<<2)|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);e=w+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;b=N[d+64>>2];c=N[d+68>>2]-1|0;c=T(b>>>0>>0?b:c,20);b=cc(e,N[c+N[d+80>>2]>>2],n);if(!b){break r}c=c+N[d+80>>2]|0;b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;N[c>>2]=b;if(y){break r}z=c,A=Uc(o,b),M[z+12>>1]=A}b=N[d+64>>2];c=O[f+2|0]&128;g=c?b:g;l=c?1:l}else{l=0}if(!O[d+60|0]|N[d+68>>2]==(b|0)){break c}s:{if(O[f+2|0]&64){c=N[d+152>>2];N[d+152>>2]=c-1;if((c|0)>0){break s}}if(O[d+62|0]){h=N[d+72>>2];c=N[d+84>>2];f=N[d+80>>2];t:{if((c|0)==(f|0)){e=b;if((b|0)==(h|0)){break t}}b=h+1|0;if(!(!b|b>>>0>2])){if(!gb(d,b)){break s}f=N[d+80>>2];c=N[d+84>>2]}u:{if((c|0)!=(f|0)){break u}b=N[d+72>>2];if(b+1>>>0<=N[d+64>>2]+1>>>0){c=f;break u}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break u}F(c,f,b);c=N[d+84>>2];f=N[d+80>>2]}b=T(N[d+72>>2],20)+c|0;c=T(N[d+64>>2],20)+f|0;e=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=e;N[b+16>>2]=N[c+16>>2];e=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=e;b=N[d+64>>2];e=N[d+72>>2]}N[d+72>>2]=e+1}N[d+64>>2]=b+1}j=(t<<8|t>>>8)&65535;if(O[d+60|0]){continue}break};break c;case 2:L[i|0]=0;k=a+12|0;N[i+8>>2]=k;N[i+4>>2]=b;c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);N[i+12>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);N[i+16>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24);N[i+24>>2]=0;N[i+20>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));d=N[b+16>>2];b=N[b+12>>2];n=N[b+32>>2];if((n|0)==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;n=(b<<8|b>>>8)&65535;N[c+32>>2]=n}N[d+72>>2]=0;M[d+62>>1]=1;N[d+64>>2]=0;N[d+84>>2]=N[d+80>>2];v:{if(!O[d+60|0]){break v}while(1){c=N[d+64>>2];b=0;w:{if(c>>>0>=Q[d+68>>2]){break w}e=N[N[d+80>>2]+T(c,20)>>2];b=2;if((e|0)==65535){break w}c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);c=cc(k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,e,n);b=1;if(!c){break w}b=O[c|0]|O[c+1|0]<<8;b=(b<<8|b>>>8)&65535}e=O[k|0]|O[k+1|0]<<8|(O[k+2|0]<<16|O[k+3|0]<<24);c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);l=c>>>0>b>>>0;o=T(c,h);c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);f=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=((l?b:1)+o<<1)+f|0;c=O[c|0]|O[c+1|0]<<8;q=T((c<<8|c>>>8)&65535,6);c=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);g=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;j=q+g|0;m=O[j|0]|O[j+1|0]<<8;c=O[j+2|0]|O[j+3|0]<<8;x:{y:{if(c&32){break y}if(!(!h|!(c&64?m:1))){b=f+((l?b:1)<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=g+T((b<<8|b>>>8)&65535,6)|0;h=O[b+2|0]|O[b+3|0]<<8;if(h&32|(m|0)!=(O[b|0]|O[b+1|0]<<8)|(c^h)&64){break y}}b=f+(o+!e<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!(O[(g+T((b<<8|b>>>8)&65535,6)|0)+2|0]&32)){break x}}b=N[d+64>>2];e=O[d+62|0]?N[d+72>>2]:b;if(!e|b>>>0>=Q[d+68>>2]){break x}wb(d,3,e-1|0,b+1|0,1,1);c=O[j+2|0]|O[j+3|0]<<8}if(c&128){b=N[i+24>>2];z:{if(!b){f=N[d+72>>2];b=0;break z}f=N[d+72>>2];b=b-((f|0)==N[(((b-1&63)<<2)+i|0)+28>>2])|0}N[i+24>>2]=b+1;N[(((b&63)<<2)+i|0)+28>>2]=f}A:{if(!(c&32)){break A}h=N[i+24>>2];if(!h|Q[d+64>>2]>=Q[d+68>>2]){break A}w=N[d+72>>2];b=O[j+4|0]|O[j+5|0]<<8;l=N[i+12>>2]+(((b<<8|b>>>8)&65535)<<2)|0;g=0;B:{while(1){if(!h){N[i+24>>2]=0;ec(d,w);break A}h=h-1|0;t=((h&63)<<2)+i|0;if(!ec(d,N[t+28>>2])){break A}b=N[i+4>>2];f=N[b+24>>2];C:{if(l>>>0>>0){break C}c=N[b+28>>2];if(c>>>0>>0|c-l>>>0<4){break C}c=N[b+32>>2]-4|0;N[b+32>>2]=c;if((c|0)<=0){break C}c=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);o=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=N[N[d+80>>2]+T(N[d+64>>2],20)>>2]+(c<<26>>31&-1073741824|o&1073741823)|0;if((c|0)<0){c=275552}else{b=N[i+4>>2];f=N[b+24>>2];c=N[i+16>>2]+(c<<1)|0}if(c>>>0>>0){break C}e=N[b+28>>2];if(e>>>0>>0|e-c>>>0<2){break C}e=N[b+32>>2]-2|0;N[b+32>>2]=e;if((e|0)<=0){break C}c=O[c|0]|O[c+1|0]<<8;g=((c<<8|c>>>8)&65535)+g|0;if(o>>>0>=1073741824){if((g|0)<0){c=275552}else{b=N[i+4>>2];f=N[b+24>>2];c=N[i+20>>2]+(g<<1)|0}if(c>>>0>>0){break C}e=N[b+28>>2];if(e>>>0>>0|e-c>>>0<2){break C}f=b+32|0;b=N[b+32>>2]-2|0;N[f>>2]=b;if((b|0)<=0){break C}b=O[c|0]|O[c+1|0]<<8;c=N[d+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break A}}c=N[d+84>>2];D:{if((c|0)!=N[d+80>>2]){break D}e=N[d+72>>2];if(e+1>>>0<=N[d+64>>2]+1>>>0){break D}if(!O[d+62|0]){break b}f=N[d+88>>2];N[d+84>>2]=f;e=T(e,20);if(!e){break D}F(f,c,e)}e=N[d+68>>2];c=N[d+64>>2];if(e>>>0>>0){break a}p=(b<<8|b>>>8)&65535;E:{if(c>>>0>>0){b=N[d+80>>2]+T(c,20)|0;c=N[d+72>>2];f=N[d+84>>2];break E}f=N[d+84>>2];c=N[d+72>>2];b=c-1|0;b=f+T(b>>>0<=c>>>0?b:0,20)|0}e=N[b+4>>2];c=T(c,20)+f|0;N[c>>2]=N[b>>2];N[c+4>>2]=e;N[c+16>>2]=N[b+16>>2];e=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=e;N[c>>2]=p;N[d+64>>2]=N[d+64>>2]+1;N[d+72>>2]=N[d+72>>2]+1;b=N[i+24>>2]-1|0;p=N[(((b&63)<<2)+i|0)+28>>2];if(b>>>0>h>>>0){while(1){f=b;if(!ec(d,N[(((b&63)<<2)+i|0)+28>>2])){break B}b=N[d+72>>2]+1|0;if(!(!b|b>>>0>2])){if(!gb(d,b)){break B}}b=N[d+84>>2];F:{if((b|0)!=N[d+80>>2]){break F}c=N[d+72>>2];if(c+1>>>0<=N[d+64>>2]+1>>>0){break F}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break F}F(e,b,c)}c=N[d+68>>2];b=N[d+64>>2];if(c>>>0>>0){break a}G:{if(b>>>0>>0){c=N[d+72>>2];e=N[d+84>>2];b=N[d+80>>2]+T(b,20)|0;break G}e=N[d+84>>2];c=N[d+72>>2];b=c-1|0;b=e+T(b>>>0<=c>>>0?b:0,20)|0}c=T(c,20)+e|0;e=N[b+4>>2];N[c>>2]=N[b>>2];N[c+4>>2]=e;N[c+16>>2]=N[b+16>>2];e=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=e;N[c>>2]=65535;N[d+64>>2]=N[d+64>>2]+1;N[d+72>>2]=N[d+72>>2]+1;b=f-1|0;if(h>>>0>>0){continue}break}N[i+24>>2]=f}if(!ec(d,p+1|0)){break A}wd(d,N[t+28>>2],N[d+72>>2])}l=l+4|0;if((o|0)>=0){continue}}break}ec(d,w);break A}N[i+24>>2]=f}b=N[d+64>>2];if(!O[d+60|0]|(b|0)==N[d+68>>2]){break v}H:{if(O[j+2|0]&64){c=N[d+152>>2];N[d+152>>2]=c-1;if((c|0)>0){break H}}if(O[d+62|0]){g=N[d+72>>2];c=N[d+84>>2];f=N[d+80>>2];I:{if((c|0)==(f|0)){e=b;if((b|0)==(g|0)){break I}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(d,b)){break H}f=N[d+80>>2];c=N[d+84>>2]}J:{if((c|0)!=(f|0)){break J}b=N[d+72>>2];if(b+1>>>0<=N[d+64>>2]+1>>>0){c=f;break J}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break J}F(c,f,b);c=N[d+84>>2];f=N[d+80>>2]}b=T(N[d+72>>2],20)+c|0;c=T(N[d+64>>2],20)+f|0;e=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=e;N[b+16>>2]=N[c+16>>2];e=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=e;b=N[d+64>>2];e=N[d+72>>2]}N[d+72>>2]=e+1}N[d+64>>2]=b+1}h=(m<<8|m>>>8)&65535;if(O[d+60|0]){continue}break}}Ac(d);break c;case 4:f=N[b+68>>2];d=O[f+4|0]|O[f+5|0]<<8;h=O[f|0]|O[f+1|0]<<8;g=N[b+12>>2];c=N[g+32>>2];if((c|0)==-1){c=sb(g+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[g+32>>2]=c}g=N[b+16>>2];b=N[g+68>>2];if(!b){break c}a=a+12|0;g=N[g+80>>2];if((h|0)==256&(d|0)!=0){while(1){d=g+T(e,20)|0;h=cc(a,N[d>>2],c);if(h){h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;N[d>>2]=h;z=d,A=Uc(f,h),M[z+12>>1]=A}e=e+1|0;if((b|0)!=(e|0)){continue}break c}}while(1){d=g+T(e,20)|0;f=cc(a,N[d>>2],c);if(f){f=O[f|0]|O[f+1|0]<<8;N[d>>2]=(f<<8|f>>>8)&65535}e=e+1|0;if((b|0)!=(e|0)){continue}break};break c;case 5:break d;default:break c}}c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);d=N[b+16>>2];f=N[b+12>>2];t=N[f+32>>2];if((t|0)==-1){g=f;f=sb(f+56|0);f=O[f+4|0]|O[f+5|0]<<8;t=(f<<8|f>>>8)&65535;N[g+32>>2]=t}N[d+72>>2]=0;M[d+62>>1]=1;N[d+64>>2]=0;N[d+84>>2]=N[d+80>>2];K:{if(!O[d+60|0]){break K}j=a+12|0;p=j+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;while(1){f=N[d+64>>2];c=0;L:{if(f>>>0>=Q[d+68>>2]){break L}g=N[N[d+80>>2]+T(f,20)>>2];c=2;if((g|0)==65535){break L}f=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);f=cc(j+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0,g,t);c=1;if(!f){break L}c=O[f|0]|O[f+1|0]<<8;c=(c<<8|c>>>8)&65535}f=c;g=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);c=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);k=c>>>0>f>>>0;m=T(c,e);c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);h=j+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=((k?f:1)+m<<1)+h|0;c=O[c|0]|O[c+1|0]<<8;q=((c<<8|c>>>8)&65535)<<3;c=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);l=j+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;n=q+l|0;o=O[n|0]|O[n+1|0]<<8;c=O[n+2|0]|O[n+3|0]<<8;M:{N:{if((O[n+4|0]|O[n+5|0]<<8)!=65535|(O[n+6|0]|O[n+7|0]<<8)!=65535?c&65283:0){break N}if(!(!e|!(c&64?o:1))){e=h+((k?f:1)<<1)|0;e=O[e|0]|O[e+1|0]<<8;e=l+(((e<<8|e>>>8)&65535)<<3)|0;f=O[e+2|0]|O[e+3|0]<<8;if(((O[e+4|0]|O[e+5|0]<<8)!=65535|(O[e+6|0]|O[e+7|0]<<8)!=65535?f&65283:0)|((c^f)&64|(o|0)!=(O[e|0]|O[e+1|0]<<8))){break N}}e=h+(m+!g<<1)|0;e=O[e|0]|O[e+1|0]<<8;e=l+(((e<<8|e>>>8)&65535)<<3)|0;if(!((O[e+2|0]|O[e+3|0]<<8)&65283)){break M}if((O[e+4|0]|O[e+5|0]<<8)!=65535){break N}if((O[e+6|0]|O[e+7|0]<<8)==65535){break M}}e=N[d+64>>2];f=O[d+62|0]?N[d+72>>2]:e;if(!f|e>>>0>=Q[d+68>>2]){break M}wb(d,3,f-1|0,e+1|0,1,1);c=O[n+2|0]|O[n+3|0]<<8}q=c<<8|(c&65280)>>>8;m=q&65535;y=N[d+72>>2];c=O[n+6|0]|O[n+7|0]<<8;O:{if((c|0)!=65535){g=m&31;e=N[d+152>>2]-g|0;N[d+152>>2]=e;if((e|0)<=0){break O}k=p+(((c<<8|c>>>8)&65535)<<1)|0;P:{Q:{if(!g|k>>>0>2]){break Q}c=N[b+28>>2];if(c>>>0>>0){break Q}f=c-k|0;c=g<<1;if(f>>>0>>0){break Q}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break P}}g=0}r=N[d+72>>2];if(!ec(d,w)){break O}R:{S:{s=m&1024;if(!s){e=N[d+64>>2];if(e>>>0>2]){break S}}e=N[d+72>>2];break R}c=N[d+80>>2];e=c+T(e,20)|0;N[i+16>>2]=N[e+16>>2];f=N[e+12>>2];N[i+8>>2]=N[e+8>>2];N[i+12>>2]=f;f=N[e+4>>2];N[i>>2]=N[e>>2];N[i+4>>2]=f;e=N[d+72>>2]+1|0;if(!(!e|e>>>0>2])){if(!gb(d,e)){break O}c=N[d+80>>2]}e=N[d+84>>2];T:{if((e|0)!=(c|0)){break T}f=N[d+72>>2];if(Q[d+64>>2]>=f+1>>>0){e=c;break T}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;f=T(f,20);if(!f){break T}F(e,c,f);e=N[d+84>>2]}c=T(N[d+72>>2],20)+e|0;e=N[i+4>>2];N[c>>2]=N[i>>2];N[c+4>>2]=e;N[c+16>>2]=N[i+16>>2];e=N[i+12>>2];N[c+8>>2]=N[i+8>>2];N[c+12>>2]=e;e=N[d+72>>2]+1|0;N[d+72>>2]=e}c=e+g|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break O}}c=N[d+84>>2];U:{if((c|0)!=N[d+80>>2]){break U}e=N[d+72>>2];if(Q[d+64>>2]>=e+g>>>0){break U}if(!O[d+62|0]){break b}f=N[d+88>>2];N[d+84>>2]=f;e=T(e,20);if(!e){break U}F(f,c,e)}f=N[d+68>>2];e=N[d+64>>2];if(f>>>0>>0){break a}V:{if(e>>>0>>0){h=N[d+72>>2];l=N[d+84>>2];c=N[d+80>>2]+T(e,20)|0;break V}l=N[d+84>>2];h=N[d+72>>2];c=h-1|0;c=l+T(c>>>0<=h>>>0?c:0,20)|0}W:{if(!g){N[d+72>>2]=h;break W}e=T(h,20)+l|0;f=0;X:{if((g|0)!=1){h=g&1;l=g&30;while(1){u=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=u;N[e+16>>2]=N[c+16>>2];u=c+8|0;v=N[u+4>>2];N[e+8>>2]=N[u>>2];N[e+12>>2]=v;u=f<<1;v=u+k|0;v=O[v|0]|O[v+1|0]<<8;N[e>>2]=(v<<8|v>>>8)&65535;N[e+36>>2]=N[c+16>>2];v=N[c+12>>2];N[e+28>>2]=N[c+8>>2];N[e+32>>2]=v;v=N[c+4>>2];N[e+20>>2]=N[c>>2];N[e+24>>2]=v;u=k+(u|2)|0;u=O[u|0]|O[u+1|0]<<8;N[e+20>>2]=(u<<8|u>>>8)&65535;e=e+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break X}}h=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=h;N[e+16>>2]=N[c+16>>2];h=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=h;c=k+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[e>>2]=(c<<8|c>>>8)&65535}N[d+72>>2]=N[d+72>>2]+g;f=N[d+68>>2];e=N[d+64>>2]}if(!(e>>>0>=f>>>0|s)){N[d+64>>2]=e+1}if(!ec(d,g+r|0)){break O}c=N[d+64>>2]+1|0;e=N[d+68>>2];wb(d,3,w,c>>>0>>0?c:e,1,1)}w=q<<16>>16<0?y:w;c=O[n+4|0]|O[n+5|0]<<8;if((c|0)==65535){break O}k=m>>>5&31;e=N[d+152>>2]-k|0;N[d+152>>2]=e;if((e|0)<=0){break O}g=p+(((c<<8|c>>>8)&65535)<<1)|0;Y:{Z:{if(!k|g>>>0>2]){break Z}c=N[b+28>>2];if(c>>>0>>0){break Z}f=c-g|0;c=k<<1;if(f>>>0>>0){break Z}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break Y}}k=0}q=N[d+72>>2];e=q;y=m&2048;_:{if(y){break _}c=N[d+64>>2];if(c>>>0>=Q[d+68>>2]){break _}f=N[d+80>>2];c=f+T(c,20)|0;N[i+16>>2]=N[c+16>>2];e=N[c+12>>2];N[i+8>>2]=N[c+8>>2];N[i+12>>2]=e;e=N[c+4>>2];N[i>>2]=N[c>>2];N[i+4>>2]=e;c=q+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break O}f=N[d+80>>2]}e=N[d+84>>2];$:{if((e|0)!=(f|0)){break $}c=N[d+72>>2];if(Q[d+64>>2]>=c+1>>>0){e=f;break $}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break $}F(e,f,c);e=N[d+84>>2]}c=T(N[d+72>>2],20)+e|0;e=N[i+4>>2];N[c>>2]=N[i>>2];N[c+4>>2]=e;N[c+16>>2]=N[i+16>>2];e=N[i+12>>2];N[c+8>>2]=N[i+8>>2];N[c+12>>2]=e;e=N[d+72>>2]+1|0;N[d+72>>2]=e}c=e+k|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break O}}c=N[d+84>>2];aa:{if((c|0)!=N[d+80>>2]){break aa}e=N[d+72>>2];if(Q[d+64>>2]>=e+k>>>0){break aa}if(!O[d+62|0]){break b}f=N[d+88>>2];N[d+84>>2]=f;e=T(e,20);if(!e){break aa}F(f,c,e)}f=N[d+68>>2];e=N[d+64>>2];if(f>>>0>>0){break a}ba:{if(e>>>0>>0){h=N[d+72>>2];l=N[d+84>>2];c=N[d+80>>2]+T(e,20)|0;break ba}l=N[d+84>>2];h=N[d+72>>2];c=h-1|0;c=l+T(c>>>0<=h>>>0?c:0,20)|0}ca:{if(!k){N[d+72>>2]=h;break ca}e=T(h,20)+l|0;f=0;da:{if((k|0)!=1){h=k&1;l=k&30;while(1){r=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=r;N[e+16>>2]=N[c+16>>2];r=c+8|0;s=N[r+4>>2];N[e+8>>2]=N[r>>2];N[e+12>>2]=s;r=f<<1;s=r+g|0;s=O[s|0]|O[s+1|0]<<8;N[e>>2]=(s<<8|s>>>8)&65535;N[e+36>>2]=N[c+16>>2];s=N[c+12>>2];N[e+28>>2]=N[c+8>>2];N[e+32>>2]=s;s=N[c+4>>2];N[e+20>>2]=N[c>>2];N[e+24>>2]=s;r=g+(r|2)|0;r=O[r|0]|O[r+1|0]<<8;N[e+20>>2]=(r<<8|r>>>8)&65535;e=e+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break da}}h=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=h;N[e+16>>2]=N[c+16>>2];h=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=h;c=g+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[e>>2]=(c<<8|c>>>8)&65535}N[d+72>>2]=N[d+72>>2]+k;f=N[d+68>>2];e=N[d+64>>2]}if(!(e>>>0>=f>>>0|y)){N[d+64>>2]=e+1}ec(d,q+(m&16384?0:k)|0)}e=N[d+64>>2];if(!O[d+60|0]|(e|0)==N[d+68>>2]){break K}ea:{if(O[n+2|0]&64){c=N[d+152>>2];N[d+152>>2]=c-1;if((c|0)>0){break ea}}if(O[d+62|0]){h=N[d+72>>2];c=N[d+84>>2];f=N[d+80>>2];fa:{if((c|0)==(f|0)){g=e;if((e|0)==(h|0)){break fa}}e=h+1|0;if(!(!e|e>>>0>2])){if(!gb(d,e)){break ea}f=N[d+80>>2];c=N[d+84>>2]}ga:{if((c|0)!=(f|0)){break ga}e=N[d+72>>2];if(e+1>>>0<=N[d+64>>2]+1>>>0){c=f;break ga}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;e=T(e,20);if(!e){break ga}F(c,f,e);c=N[d+84>>2];f=N[d+80>>2]}e=T(N[d+64>>2],20)+f|0;f=N[e+4>>2];c=T(N[d+72>>2],20)+c|0;N[c>>2]=N[e>>2];N[c+4>>2]=f;N[c+16>>2]=N[e+16>>2];f=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=f;e=N[d+64>>2];g=N[d+72>>2]}N[d+72>>2]=g+1}N[d+64>>2]=e+1}e=(o<<8|o>>>8)&65535;if(O[d+60|0]){continue}break}}Ac(d)}La=i+288|0;return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function iq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=U(0),l=0,m=0,n=U(0),o=U(0),p=0,q=0,r=U(0),s=0,t=0,u=U(0),v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;w=La-16|0;La=w;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{switch(a-1|0){default:switch(a-255|0){case 37:break j;case 36:break k;case 35:break l;case 0:break E;case 38:break i;default:break h};case 10:a=N[b+4>>2];if(a>>>0>2]){N[b+8>>2]=a+1}c=b+4164|0;a=N[b+4168>>2];G:{if(a){a=a-1|0;N[b+4168>>2]=a;a=(c+T(a,20)|0)+8|0;break G}L[c|0]=1;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;a=589824}c=N[a+4>>2];N[b+4128>>2]=N[a>>2];N[b+4132>>2]=c;N[b+4144>>2]=N[a+16>>2];i=a+8|0;c=N[i+4>>2];h=b+4136|0;N[h>>2]=N[i>>2];N[h+4>>2]=c;i=N[a>>2];c=N[a+4>>2];N[b+8>>2]=N[a+8>>2];N[b>>2]=i;N[b+4>>2]=c;break a;case 30:break m;case 29:break n;case 26:break o;case 25:break p;case 24:break q;case 23:break r;case 7:break s;case 6:break t;case 5:break u;case 4:break v;case 3:break w;case 21:break x;case 20:break y;case 18:case 19:break z;case 2:case 22:break A;case 0:case 17:break B;case 28:break C;case 9:break D;case 13:break F;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break h}}L[b+4148|0]=1;N[b+20>>2]=0;break a}a=N[b+4>>2];c=N[b+8>>2];if(a>>>0>>0){break a}h=b+16|0;H:{if(a>>>0<=c>>>0){c=a+1|0;a=275552;break H}a=N[b>>2]+c|0}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);i=N[b+20>>2];I:{if(i>>>0<=512){N[b+20>>2]=i+1;i=(h+(i<<3)|0)+8|0;break I}L[h|0]=1;N[147456]=0;N[147457]=0;i=589824}S[i>>3]=+(a|0)*152587890625e-16;N[b+8>>2]=c+4;break a}c=b+16|0;J:{a=N[b+20>>2];K:{if(a){a=a-1|0;N[b+20>>2]=a;d=S[(c+(a<<3)|0)+8>>3];if(V(d)<2147483648){a=~~d;break K}a=-2147483648;break K}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}g=a+N[b+4380>>2]|0;L:{if((g|0)<0){break L}a=N[b+4384>>2];if(!a){break L}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(g>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break L}a=N[b+4168>>2];if(a>>>0<10){break J}}N[b+8>>2]=N[b+4>>2]+1;break a}h=N[b+4>>2];j=N[b>>2];N[b+4128>>2]=j;N[b+4132>>2]=h;N[b+4168>>2]=a+1;l=b+4136|0;N[l>>2]=N[b+8>>2];c=T(a,20)+b|0;i=b+4144|0;N[c+4188>>2]=N[i>>2];a=c+4172|0;N[a>>2]=j;N[a+4>>2]=h;a=N[l+4>>2];c=c+4180|0;N[c>>2]=N[l>>2];N[c+4>>2]=a;h=b+4128|0;a=0;j=N[b+4384>>2];M:{if(!j){break M}c=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if(g>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break M}be(w,j,g);a=N[w>>2];s=N[w+4>>2]}N[b+4128>>2]=a;N[b+4132>>2]=s;N[i>>2]=g;N[l>>2]=0;N[l+4>>2]=2;N[b+8>>2]=N[h+8>>2];a=N[h+4>>2];N[b>>2]=N[h>>2];N[b+4>>2]=a;break a}c=b+16|0;N:{a=N[b+20>>2];O:{if(a){a=a-1|0;N[b+20>>2]=a;d=S[(c+(a<<3)|0)+8>>3];if(V(d)<2147483648){a=~~d;break O}a=-2147483648;break O}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}g=a+N[b+4372>>2]|0;P:{if((g|0)<0){break P}a=N[b+4376>>2];if(!a){break P}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(g>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break P}a=N[b+4168>>2];if(a>>>0<10){break N}}N[b+8>>2]=N[b+4>>2]+1;break a}h=N[b+4>>2];j=N[b>>2];N[b+4128>>2]=j;N[b+4132>>2]=h;N[b+4168>>2]=a+1;l=b+4136|0;N[l>>2]=N[b+8>>2];c=T(a,20)+b|0;i=b+4144|0;N[c+4188>>2]=N[i>>2];a=c+4172|0;N[a>>2]=j;N[a+4>>2]=h;a=N[l+4>>2];c=c+4180|0;N[c>>2]=N[l>>2];N[c+4>>2]=a;h=b+4128|0;a=0;j=N[b+4376>>2];Q:{if(!j){break Q}c=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if(g>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break Q}be(w,j,g);a=N[w>>2];s=N[w+4>>2]}N[b+4128>>2]=a;N[b+4132>>2]=s;N[i>>2]=g;N[l>>2]=0;N[l+4>>2]=1;N[b+8>>2]=N[h+8>>2];a=N[h+4>>2];N[b>>2]=N[h>>2];N[b+4>>2]=a;break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4152>>2]=N[b+4152>>2]+(a>>>1|0);break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4156>>2]=N[b+4156>>2]+(a>>>1|0);break a}R:{if(O[b+4150|0]){c=N[b+4160>>2];break R}L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;c=(a+N[b+4152>>2]|0)+7>>>3|0;N[b+4160>>2]=c}a=N[b+8>>2]+c|0;if(a>>>0>Q[b+4>>2]){break a}N[b+8>>2]=a;N[b+20>>2]=0;break a}j=b+16|0;f=S[b+4400>>3];d=S[b+4392>>3];h=N[b+20>>2];if(!h){i=589824;break c}a=h-1|0;N[b+20>>2]=a;i=(j+(a<<3)|0)+8|0;if(!a){break c}a=h-2|0;N[b+20>>2]=a;e=S[(j+(a<<3)|0)+8>>3];break b}i=b+16|0;f=S[b+4400>>3];d=S[b+4392>>3];a=N[b+20>>2];S:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(i+(a<<3)|0)+8>>3];break S}L[i|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];d=e+d;hj(N[c>>2],R[a+44>>2],R[a+48>>2],d,f);S[b+4400>>3]=f;S[b+4392>>3]=d;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}i=b+16|0;d=S[b+4400>>3];f=S[b+4392>>3];a=N[b+20>>2];T:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(i+(a<<3)|0)+8>>3];break T}L[i|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];d=e+d;hj(N[c>>2],R[a+44>>2],R[a+48>>2],f,d);S[b+4400>>3]=d;S[b+4392>>3]=f;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}h=N[b+20>>2];if(h>>>0>=2){l=b+16|0;e=S[b+4400>>3];d=S[b+4392>>3];j=2;a=0;while(1){U:{if(a>>>0>=h>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;i=589824;break U}i=(l+(a<<3)|0)+8|0}a=a|1;V:{if(a>>>0>=h>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break V}f=S[(l+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+S[i>>3];e=f+e;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;h=N[b+20>>2];a=j;j=a+2|0;if(h>>>0>=j>>>0){continue}break}}N[b+20>>2]=0;break a}l=b+16|0;j=N[b+20>>2];if(j>>>0>=2){e=S[b+4400>>3];d=S[b+4392>>3];i=2;a=0;while(1){h=i;W:{if(a>>>0>=j>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break W}f=S[(l+(a<<3)|0)+8>>3]}i=N[c+4>>2];d=d+f;od(N[c>>2],R[i+44>>2],R[i+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=a|1;X:{if(a>>>0>=Q[b+20>>2]){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break X}f=S[(l+(a<<3)|0)+8>>3]}a=N[c+4>>2];e=e+f;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;j=N[b+20>>2];a=h;i=a+2|0;if(j>>>0>=i>>>0){continue}break}}if(h>>>0>>0){a=N[c+4>>2];k=R[a+44>>2];n=R[a+48>>2];e=S[b+4392>>3]+S[(l+(h<<3)|0)+8>>3];a=b+4400|0;d=S[a>>3];od(N[c>>2],k,n,e,d);S[a>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}l=b+16|0;j=N[b+20>>2];if(j>>>0>=2){e=S[b+4400>>3];d=S[b+4392>>3];i=2;a=0;while(1){h=i;Y:{if(a>>>0>=j>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break Y}f=S[(l+(a<<3)|0)+8>>3]}i=N[c+4>>2];e=e+f;od(N[c>>2],R[i+44>>2],R[i+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=a|1;Z:{if(a>>>0>=Q[b+20>>2]){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break Z}f=S[(l+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+f;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;j=N[b+20>>2];a=h;i=a+2|0;if(j>>>0>=i>>>0){continue}break}}if(h>>>0>>0){a=N[c+4>>2];k=R[a+44>>2];n=R[a+48>>2];e=S[b+4392>>3];a=b+4400|0;d=S[a>>3]+S[(l+(h<<3)|0)+8>>3];od(N[c>>2],k,n,e,d);S[a>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}h=N[b+20>>2];if(h>>>0>=6){g=b+16|0;e=S[b+4400>>3];d=S[b+4392>>3];i=6;a=0;while(1){_:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break _}j=(g+(a<<3)|0)+8|0}l=a|1;$:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break $}m=S[(g+(l<<3)|0)+8>>3]}p=S[j>>3];j=a+2|0;aa:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break aa}j=(g+(j<<3)|0)+8|0}l=a+3|0;ba:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ba}f=S[(g+(l<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[j>>3];j=a+4|0;ca:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break ca}j=(g+(j<<3)|0)+8|0}f=q+f;d=m+d;a=a+5|0;da:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break da}e=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];o=U(n*U(d));d=d+S[j>>3];e=f+e;Cb(N[c>>2],U(n*U(m)),U(k*U(q)),o,U(k*U(f)),U(n*U(d)),U(k*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;h=N[b+20>>2];a=i;i=a+6|0;if(h>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}a=N[b+20>>2];if(a>>>0>=8){s=b+16|0;l=a-2|0;e=S[b+4400>>3];d=S[b+4392>>3];j=6;a=0;while(1){g=N[b+20>>2];ea:{if(g>>>0<=a>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ea}i=(s+(a<<3)|0)+8|0}h=a|1;fa:{if(h>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;m=0;break fa}m=S[(s+(h<<3)|0)+8>>3]}p=S[i>>3];i=a+2|0;ga:{if(i>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ga}i=(s+(i<<3)|0)+8|0}h=a+3|0;ha:{if(h>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;f=0;break ha}f=S[(s+(h<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[i>>3];i=a+4|0;ia:{if(i>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ia}i=(s+(i<<3)|0)+8|0}f=q+f;d=m+d;a=a+5|0;ja:{if(a>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;e=0;break ja}e=S[(s+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];o=U(n*U(d));d=d+S[i>>3];e=f+e;Cb(N[c>>2],U(n*U(m)),U(k*U(q)),o,U(k*U(f)),U(n*U(d)),U(k*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;a=j;j=a+6|0;if(l>>>0>=j>>>0){continue}break}h=N[b+20>>2];ka:{if(h>>>0<=a>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ka}i=(s+(a<<3)|0)+8|0}a=a|1;la:{if(a>>>0>=h>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;m=0;break la}m=S[(s+(a<<3)|0)+8>>3]}a=N[c+4>>2];f=d+S[i>>3];d=e+m;od(N[c>>2],R[a+44>>2],R[a+48>>2],f,d);S[b+4400>>3]=d;S[b+4392>>3]=f}N[b+20>>2]=0;break a}a=N[b+20>>2];if(a>>>0>=8){g=b+16|0;l=a-6|0;e=S[b+4400>>3];d=S[b+4392>>3];i=2;a=0;while(1){j=N[b+20>>2];ma:{if(j>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break ma}h=(g+(a<<3)|0)+8|0}a=a|1;na:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break na}f=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+S[h>>3];e=e+f;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=i;i=a+2|0;if(l>>>0>=i>>>0){continue}break}l=N[b+20>>2];oa:{if(l>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break oa}h=(g+(a<<3)|0)+8|0}j=a|1;pa:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break pa}m=S[(g+(j<<3)|0)+8>>3]}p=S[h>>3];qa:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;i=589824;break qa}i=(g+(i<<3)|0)+8|0}h=a+3|0;ra:{if(h>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ra}f=S[(g+(h<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[i>>3];i=a+4|0;sa:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;i=589824;break sa}i=(g+(i<<3)|0)+8|0}f=q+f;e=m+d;a=a+5|0;ta:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break ta}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];o=U(n*U(e));e=e+S[i>>3];d=f+d;Cb(N[c>>2],U(n*U(m)),U(k*U(q)),o,U(k*U(f)),U(n*U(e)),U(k*U(d)));S[b+4400>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}h=N[b+20>>2];a=h&1;i=a|4;if(h>>>0>=i>>>0){g=b+16|0;d=S[b+4392>>3]+(a?S[b+24>>3]:-0);m=S[b+4400>>3];while(1){ua:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ua}e=S[(g+(a<<3)|0)+8>>3]}j=a+1|0;va:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break va}j=(g+(j<<3)|0)+8|0}f=m+e;l=a+2|0;wa:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break wa}e=S[(g+(l<<3)|0)+8>>3]}p=f+e;e=d+S[j>>3];a=a+3|0;xa:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break xa}m=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];k=R[a+44>>2];o=U(k*U(d));n=R[a+48>>2];k=U(k*U(e));m=p+m;Cb(N[c>>2],o,U(n*U(f)),k,U(n*U(p)),k,U(n*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=e;d=e;h=N[b+20>>2];a=i;i=a+4|0;if(h>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}h=N[b+20>>2];a=h&1;i=a|4;if(h>>>0>=i>>>0){g=b+16|0;d=S[b+4400>>3]+(a?S[b+24>>3]:-0);m=S[b+4392>>3];while(1){ya:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ya}e=S[(g+(a<<3)|0)+8>>3]}j=a+1|0;za:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break za}j=(g+(j<<3)|0)+8|0}p=m+e;l=a+2|0;Aa:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Aa}f=S[(g+(l<<3)|0)+8>>3]}e=d+f;m=p+S[j>>3];a=a+3|0;Ba:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ba}f=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];o=R[a+44>>2];k=R[a+48>>2];n=U(k*U(e));r=U(o*U(m));m=m+f;Cb(N[c>>2],U(o*U(p)),U(k*U(d)),r,n,U(o*U(m)),n);S[b+4400>>3]=e;S[b+4392>>3]=m;d=e;h=N[b+20>>2];a=i;i=a+4|0;if(h>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}g=b+16|0;i=4;j=N[b+20>>2];if(j&4){break e}if(j>>>0<8){break d}d=S[b+4400>>3];e=S[b+4392>>3];a=8;i=0;while(1){h=i;i=a;Ca:{if(h>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ca}f=S[(g+(h<<3)|0)+8>>3]}a=h|1;Da:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Da}a=(g+(a<<3)|0)+8|0}d=d+f;l=h|2;Ea:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ea}f=S[(g+(l<<3)|0)+8>>3]}f=d+f;p=e+S[a>>3];a=h|3;Fa:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break Fa}m=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];r=R[a+44>>2];n=R[a+48>>2];k=U(f);o=U(n*k);u=U(r*U(e));e=p+m;Cb(N[c>>2],u,U(n*U(d)),U(r*U(p)),o,U(r*U(e)),o);S[b+4400>>3]=f;S[b+4392>>3]=e;l=N[b+20>>2];a=h|4;Ga:{if(l>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Ga}d=S[(g+(a<<3)|0)+8>>3]}a=h|5;Ha:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ha}a=(g+(a<<3)|0)+8|0}p=e+d;d=f;j=h|6;Ia:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ia}f=S[(g+(j<<3)|0)+8>>3]}e=S[a>>3];m=d+f;a=h|7;Ja:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ja}f=S[(g+(a<<3)|0)+8>>3]}d=m+f;f=p+e;e=f;Ka:{if(l-h>>>0>15){break Ka}e=f;if(!(l&1)){break Ka}La:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break La}e=S[(g+(i<<3)|0)+8>>3]}e=f+e}a=N[c+4>>2];o=R[a+44>>2];n=R[a+48>>2];Cb(N[c>>2],U(o*U(p)),U(n*k),U(o*U(f)),U(n*U(m)),U(o*U(e)),U(n*U(d)));S[b+4400>>3]=d;S[b+4392>>3]=e;a=i+8|0;j=N[b+20>>2];if(a>>>0<=j>>>0){continue}break}break d}g=b+16|0;i=4;j=N[b+20>>2];if(j&4){break g}if(j>>>0<8){break f}e=S[b+4400>>3];d=S[b+4392>>3];a=8;i=0;while(1){h=i;i=a;Ma:{if(h>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ma}f=S[(g+(h<<3)|0)+8>>3]}a=h|1;Na:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Na}a=(g+(a<<3)|0)+8|0}m=d+f;l=h|2;Oa:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Oa}f=S[(g+(l<<3)|0)+8>>3]}f=e+f;q=m+S[a>>3];a=h|3;Pa:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Pa}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];k=R[a+44>>2];r=U(k*U(m));o=R[a+48>>2];n=U(q);k=U(k*n);u=U(o*U(f));f=f+d;Cb(N[c>>2],r,U(o*U(e)),k,u,k,U(o*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=q;l=N[b+20>>2];a=h|4;Qa:{if(l>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Qa}d=S[(g+(a<<3)|0)+8>>3]}a=h|5;Ra:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ra}a=(g+(a<<3)|0)+8|0}j=h|6;Sa:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break Sa}e=S[(g+(j<<3)|0)+8>>3]}p=f+d;m=q+S[a>>3];a=h|7;Ta:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ta}f=S[(g+(a<<3)|0)+8>>3]}d=m+f;f=p+e;e=f;Ua:{if(l-h>>>0>15){break Ua}e=f;if(!(l&1)){break Ua}Va:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break Va}e=S[(g+(i<<3)|0)+8>>3]}e=f+e}a=N[c+4>>2];o=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(o*n),U(k*U(p)),U(o*U(m)),U(k*U(f)),U(o*U(d)),U(k*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;a=i+8|0;j=N[b+20>>2];if(a>>>0<=j>>>0){continue}break}break f}Wa:{if(N[b+20>>2]==7){q=S[b+72>>3];p=S[b- -64>>3];m=S[b+56>>3];a=N[c+4>>2];u=R[a+44>>2];i=b+4400|0;v=S[i>>3];r=U(v);k=R[a+48>>2];f=v+S[b+40>>3];n=U(f);o=U(k*n);e=S[b+4392>>3]+S[b+24>>3];d=e+S[b+32>>3];t=d+S[b+48>>3];Cb(N[c>>2],U(u*U(e)),U(k*r),U(u*U(d)),o,U(u*U(t)),o);S[i>>3]=f;S[b+4392>>3]=t;a=N[c+4>>2];u=R[a+44>>2];k=R[a+48>>2];o=U(k*r);e=t+m;d=e+p;f=d+q;Cb(N[c>>2],U(u*U(e)),U(k*n),U(u*U(d)),o,U(u*U(f)),o);S[i>>3]=v;S[b+4392>>3]=f;break Wa}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Xa:{if(N[b+20>>2]==13){x=S[b+104>>3];y=S[b+88>>3];t=S[b+72>>3];v=S[b+112>>3];q=S[b+96>>3];p=S[b+80>>3];m=S[b+4392>>3]+S[b+24>>3];f=m+S[b+40>>3];z=f+S[b+56>>3];i=b+4400|0;e=S[i>>3]+S[b+32>>3];d=e+S[b+48>>3];A=d+S[b- -64>>3];a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(m)),U(k*U(e)),U(n*U(f)),U(k*U(d)),U(n*U(z)),U(k*U(A)));S[i>>3]=A;S[b+4392>>3]=z;m=z+t;f=m+y;t=f+x;e=A+p;d=e+q;p=d+v;a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(m)),U(k*U(e)),U(n*U(f)),U(k*U(d)),U(n*U(t)),U(k*U(p)));S[i>>3]=p;S[b+4392>>3]=t;break Xa}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Ya:{if(N[b+20>>2]==9){v=S[b+80>>3];q=S[b+88>>3];p=S[b+72>>3];m=S[b- -64>>3];a=N[c+4>>2];r=R[a+44>>2];n=R[a+48>>2];i=b+4400|0;y=S[i>>3];f=y+S[b+32>>3];t=f+S[b+48>>3];k=U(t);o=U(n*k);e=S[b+4392>>3]+S[b+24>>3];d=e+S[b+40>>3];x=d+S[b+56>>3];Cb(N[c>>2],U(r*U(e)),U(n*U(f)),U(r*U(d)),o,U(r*U(x)),o);S[i>>3]=t;S[b+4392>>3]=x;e=x+m;d=e+p;f=d+q;a=N[c+4>>2];o=R[a+44>>2];n=R[a+48>>2];Cb(N[c>>2],U(o*U(e)),U(n*k),U(o*U(d)),U(n*U(t+v)),U(o*U(f)),U(n*U(y)));S[i>>3]=y;S[b+4392>>3]=f;break Ya}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Za:{if(N[b+20>>2]==11){D=S[b+104>>3];E=S[b+88>>3];F=S[b+72>>3];G=S[b+96>>3];H=S[b+80>>3];z=S[b+4392>>3];A=S[b+24>>3];x=z+A;y=S[b+40>>3];m=x+y;t=S[b+56>>3];B=m+t;i=b+4400|0;v=S[i>>3];q=S[b+32>>3];f=v+q;p=S[b+48>>3];e=f+p;d=S[b- -64>>3];C=e+d;a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(x)),U(k*U(f)),U(n*U(m)),U(k*U(e)),U(n*U(B)),U(k*U(C)));S[i>>3]=C;S[b+4392>>3]=B;m=B+F;f=m+E;a=V(E+(F+(t+(y+(A+0)))))>V(G+(H+(d+(p+(q+0)))));q=a?f+D:z;e=C+H;d=e+G;p=a?v:d+D;a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(m)),U(k*U(e)),U(n*U(f)),U(k*U(d)),U(n*U(q)),U(k*U(p)));S[i>>3]=p;S[b+4392>>3]=q;break Za}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}uf(a,b);break a}e=S[b+4400>>3];p=e+S[b+40>>3];m=p+S[b+48>>3];q=S[b+4392>>3]+S[b+24>>3];d=q+S[b+32>>3];a=12;if(j>>>0>=12){h=4;while(1){i=a;a=N[c+4>>2];k=R[a+44>>2];r=U(k*U(q));o=R[a+48>>2];n=U(d);k=U(k*n);Cb(N[c>>2],r,U(o*U(e)),k,U(o*U(p)),k,U(o*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=d;l=N[b+20>>2];_a:{if(l>>>0<=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break _a}e=S[(g+(h<<3)|0)+8>>3]}a=h|1;$a:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break $a}a=(g+(a<<3)|0)+8|0}f=m+e;j=h|2;ab:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ab}e=S[(g+(j<<3)|0)+8>>3]}e=f+e;m=d+S[a>>3];a=h|3;bb:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break bb}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];r=R[a+44>>2];k=R[a+48>>2];o=U(k*U(e));k=U(k*U(f));f=m+d;Cb(N[c>>2],U(r*n),k,U(r*U(m)),o,U(r*U(f)),o);S[b+4400>>3]=e;S[b+4392>>3]=f;j=N[b+20>>2];a=h+4|0;cb:{if(j>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break cb}d=S[(g+(a<<3)|0)+8>>3]}a=h+5|0;db:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break db}a=(g+(a<<3)|0)+8|0}q=f+d;l=h+6|0;eb:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break eb}f=S[(g+(l<<3)|0)+8>>3]}d=q+S[a>>3];p=e+f;a=h+7|0;fb:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break fb}f=S[(g+(a<<3)|0)+8>>3]}m=p+f;h=i;a=h+8|0;if(j>>>0>=a>>>0){continue}break}}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];f=i>>>0>>0?d+S[(g+(i<<3)|0)+8>>3]:d;Cb(N[c>>2],U(n*U(q)),U(k*U(e)),U(n*U(d)),U(k*U(p)),U(n*U(f)),U(k*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=f}N[b+20>>2]=0;break a}e=S[b+4392>>3];p=e+S[b+32>>3];m=p+S[b+48>>3];q=S[b+4400>>3]+S[b+24>>3];d=q+S[b+40>>3];a=12;if(j>>>0>=12){h=4;while(1){i=a;a=N[c+4>>2];r=R[a+44>>2];k=R[a+48>>2];n=U(d);o=U(k*n);Cb(N[c>>2],U(r*U(e)),U(k*U(q)),U(r*U(p)),o,U(r*U(m)),o);S[b+4400>>3]=d;S[b+4392>>3]=m;l=N[b+20>>2];gb:{if(l>>>0<=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break gb}e=S[(g+(h<<3)|0)+8>>3]}a=h|1;hb:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break hb}a=(g+(a<<3)|0)+8|0}m=m+e;j=h|2;ib:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ib}f=S[(g+(j<<3)|0)+8>>3]}f=d+f;e=m+S[a>>3];a=h|3;jb:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break jb}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];k=R[a+44>>2];r=U(k*U(m));o=R[a+48>>2];k=U(k*U(e));u=U(o*U(f));f=f+d;Cb(N[c>>2],r,U(o*n),k,u,k,U(o*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=e;j=N[b+20>>2];a=h+4|0;kb:{if(j>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break kb}d=S[(g+(a<<3)|0)+8>>3]}a=h+5|0;lb:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break lb}a=(g+(a<<3)|0)+8|0}q=f+d;l=h+6|0;mb:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break mb}f=S[(g+(l<<3)|0)+8>>3]}d=q+f;p=e+S[a>>3];a=h+7|0;nb:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break nb}f=S[(g+(a<<3)|0)+8>>3]}m=p+f;h=i;a=h+8|0;if(j>>>0>=a>>>0){continue}break}}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];f=i>>>0>>0?d+S[(g+(i<<3)|0)+8>>3]:d;Cb(N[c>>2],U(n*U(e)),U(k*U(q)),U(n*U(p)),U(k*U(d)),U(n*U(m)),U(k*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=m}N[b+20>>2]=0;break a}L[j|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];e=e+d;d=f+S[i>>3];hj(N[c>>2],R[a+44>>2],R[a+48>>2],e,d);S[b+4400>>3]=d;S[b+4392>>3]=e;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0}La=w+16|0}function ml(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;j=La-288|0;La=j;a:{b:{c:{d:{switch(O[a+3|0]){case 0:g=N[b+16>>2];b=N[b+12>>2];if(N[b+32>>2]==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}N[g+64>>2]=0;if(!O[g+60|0]){break c}n=a+8|0;r=j+40|0;b=0;while(1){h=N[g+64>>2];p=h>>>0>=Q[g+68>>2];c=0;e:{if(p){break e}e=N[N[g+80>>2]+T(h,20)>>2];c=2;if((e|0)==65535){break e}i=e;c=O[a+10|0]|O[a+11|0]<<8;e=n+((c<<8|c>>>8)&65535)|0;c=O[e|0]|O[e+1|0]<<8;i=i-((c<<8|c>>>8)&65535)|0;l=O[e+2|0]|O[e+3|0]<<8;c=1;if(i>>>0>=((l<<8|l>>>8)&65535)>>>0){break e}c=O[(e+i|0)+4|0]}m=O[n|0]|O[n+1|0]<<8;k=(m<<8|m>>>8)&65535;o=k>>>0>c>>>0;e=b;s=T(e,k);b=O[a+12|0]|O[a+13|0]<<8;q=(b<<8|b>>>8)&65535;u=q+n|0;b=O[a+14|0]|O[a+15|0]<<8;w=n+((b<<8|b>>>8)&65535)|0;l=(O[((o?c:1)+s|0)+u|0]<<2)+w|0;b=O[l|0]|O[l+1|0]<<8;b=(((b<<8|b>>>8)&65535)-q|0)/(k|0)|0;i=O[l+2|0]|O[l+3|0]<<8;f:{g:{if(d>>>0>f>>>0?i&3840:0){break g}if(!(!e|!(i&64?b:1))){c=w+(O[u+(o?c:1)|0]<<2)|0;e=O[c+2|0]|O[c+3|0]<<8;if(d>>>0>f>>>0?e&3840:0){break g}c=O[c|0]|O[c+1|0]<<8;if((e^i)&64|((((c<<8|c>>>8)&65535)-q|0)/(k|0)|0)!=(b|0)){break g}}if(!(O[(w+(O[u+(s+!m|0)|0]<<2)|0)+3|0]&15)|d>>>0<=f>>>0){break f}}if(p){break f}c=O[g+62|0]?N[g+72>>2]:h;if(!c){break f}wb(g,3,c-1|0,h+1|0,1,1);i=O[l+2|0]|O[l+3|0]<<8}e=i<<8|(i&65280)>>>8;c=e&65535;f=e<<16>>16<0?N[g+64>>2]:f;if(c&8192){d=N[g+64>>2]+1|0;e=N[g+68>>2];d=d>>>0>>0?d:e}e=c&15;h:{if(!e|d>>>0<=f>>>0){break h}c=d-f|0;if(c>>>0>64){break h}h=O[e+238112|0];o=h>>>4|0;e=o>>>0>=2?2:o;q=h&15;h=q>>>0>=2?2:q;u=e+h|0;if(u>>>0>c>>>0){break h}i=N[g+64>>2]+1|0;k=N[g+68>>2];i=i>>>0>>0?i:k;if(i-f>>>0>=2){Ib(g,f,i)}if(c>>>0>=2){Ib(g,f,d)}i=T(e,20);k=N[g+80>>2];c=k+T(f,20)|0;if(e){F(j,c,i)}m=T(h,20);if(h){F(r,(k+T(d,20)|0)+T(h,-20)|0,m)}if((e|0)!=(h|0)){F(c+m|0,c+i|0,T(d-(f+u|0)|0,20))}if(h){F(c,r,m)}if(e){F((k+T(d,20)|0)+T(e,-20)|0,j,i)}if((o|0)==3){h=k+T(d,20)|0;e=h-20|0;N[j+16>>2]=N[e+16>>2];i=N[e+4>>2];N[j>>2]=N[e>>2];N[j+4>>2]=i;i=N[e+12>>2];N[j+8>>2]=N[e+8>>2];N[j+12>>2]=i;h=h-40|0;N[e+16>>2]=N[h+16>>2];i=N[h+12>>2];N[e+8>>2]=N[h+8>>2];N[e+12>>2]=i;i=N[h+4>>2];N[e>>2]=N[h>>2];N[e+4>>2]=i;N[h+16>>2]=N[j+16>>2];e=N[j+12>>2];N[h+8>>2]=N[j+8>>2];N[h+12>>2]=e;e=N[j+4>>2];N[h>>2]=N[j>>2];N[h+4>>2]=e}if((q|0)!=3){break h}N[j+16>>2]=N[c+16>>2];e=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=e;e=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=e;N[c+16>>2]=N[c+36>>2];e=N[c+32>>2];N[c+8>>2]=N[c+28>>2];N[c+12>>2]=e;e=N[c+24>>2];N[c>>2]=N[c+20>>2];N[c+4>>2]=e;N[c+36>>2]=N[j+16>>2];e=N[j+12>>2];N[c+28>>2]=N[j+8>>2];N[c+32>>2]=e;e=N[j+4>>2];N[c+20>>2]=N[j>>2];N[c+24>>2]=e}c=N[g+64>>2];if(!O[g+60|0]|(c|0)==N[g+68>>2]){break c}i:{if(O[l+2|0]&64){e=N[g+152>>2];N[g+152>>2]=e-1;if((e|0)>0){break i}}if(O[g+62|0]){l=N[g+72>>2];i=N[g+84>>2];h=N[g+80>>2];j:{if((i|0)==(h|0)){e=c;if((c|0)==(l|0)){break j}}c=l+1|0;if(!(!c|c>>>0>2])){if(!gb(g,c)){break i}i=N[g+84>>2];h=N[g+80>>2]}k:{if((h|0)!=(i|0)){break k}c=N[g+72>>2];if(c+1>>>0<=N[g+64>>2]+1>>>0){i=h;break k}if(!O[g+62|0]){break b}i=N[g+88>>2];N[g+84>>2]=i;c=T(c,20);if(!c){break k}F(i,h,c);i=N[g+84>>2];h=N[g+80>>2]}e=T(N[g+64>>2],20)+h|0;h=N[e+4>>2];c=T(N[g+72>>2],20)+i|0;N[c>>2]=N[e>>2];N[c+4>>2]=h;N[c+16>>2]=N[e+16>>2];h=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=h;c=N[g+64>>2];e=N[g+72>>2]}N[g+72>>2]=e+1}N[g+64>>2]=c+1}if(O[g+60|0]){continue}break};break c;case 1:c=O[a+16|0]|O[a+17|0]<<8;r=N[b+68>>2];f=O[r|0]|O[r+1|0]<<8;g=O[r+4|0]|O[r+5|0]<<8;e=N[b+16>>2];d=N[b+12>>2];if(N[d+32>>2]==-1){h=d;d=sb(d+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[h+32>>2]=(d<<8|d>>>8)&65535}N[e+64>>2]=0;if(!O[e+60|0]){break c}o=a+8|0;q=(c<<8|c>>>8)&65535;p=o+q|0;s=!g|(f|0)!=256;g=0;while(1){c=N[e+68>>2];d=N[e+64>>2];z=c>>>0<=d>>>0;f=0;l:{if(z){break l}h=N[N[e+80>>2]+T(d,20)>>2];f=2;if((h|0)==65535){break l}i=h;f=O[a+10|0]|O[a+11|0]<<8;h=o+((f<<8|f>>>8)&65535)|0;f=O[h|0]|O[h+1|0]<<8;i=i-((f<<8|f>>>8)&65535)|0;k=O[h+2|0]|O[h+3|0]<<8;f=1;if(i>>>0>=((k<<8|k>>>8)&65535)>>>0){break l}f=O[(h+i|0)+4|0]}h=f;m=O[o|0]|O[o+1|0]<<8;k=(m<<8|m>>>8)&65535;y=f>>>0>>0;if(y){t=f}else{t=1}i=n;x=T(k,i);f=O[a+12|0]|O[a+13|0]<<8;u=(f<<8|f>>>8)&65535;w=u+o|0;f=O[a+14|0]|O[a+15|0]<<8;v=o+((f<<8|f>>>8)&65535)|0;f=(O[(t+x|0)+w|0]<<3)+v|0;n=O[f|0]|O[f+1|0]<<8;n=(((n<<8|n>>>8)&65535)-u|0)/(k|0)|0;A=l&255;t=!A&(c|0)==(d|0);m:{n:{if(!t&((O[f+4|0]|O[f+5|0]<<8)!=65535|(O[f+6|0]|O[f+7|0]<<8)!=65535)){break n}o:{if(!i){break o}i=O[f+2|0]|O[f+3|0]<<8;if(!(i&64?n:1)){break o}h=v+(O[w+(y?h:1)|0]<<3)|0;if(!t&((O[h+4|0]|O[h+5|0]<<8)!=65535|(O[h+6|0]|O[h+7|0]<<8)!=65535)){break n}y=O[h|0]|O[h+1|0]<<8;if((i^(O[h+2|0]|O[h+3|0]<<8))&64|((((y<<8|y>>>8)&65535)-u|0)/(k|0)|0)!=(n|0)){break n}}h=!m;if(t){c=d;break m}h=v+(O[w+(h+x|0)|0]<<3)|0;if((O[h+4|0]|O[h+5|0]<<8)!=65535){break n}if((O[h+6|0]|O[h+7|0]<<8)==65535){break m}}if(z){break m}h=O[e+62|0]?N[e+72>>2]:d;if(!h){break m}wb(e,3,h-1|0,d+1|0,1,1);c=N[e+68>>2];d=N[e+64>>2]}if(A|(c|0)!=(d|0)){v=T(g,20);c=O[f+4|0]|O[f+5|0]<<8;c=N[v+N[e+80>>2]>>2]+((c<<8|c>>>8)&65535)<<1;c=p+((c>>>0>>0?1073741823:c-q>>>1|0)<<1)|0;p:{if(c>>>0>2]){break p}d=N[b+28>>2];if(d>>>0>>0|d-c>>>0<2){break p}d=N[b+32>>2]-2|0;N[b+32>>2]=d;if((d|0)<=0){break p}t=O[c|0]|O[c+1|0]<<8;if(!t){break p}c=N[e+64>>2]+1|0;d=N[e+68>>2];u=c>>>0>>0?c:d;w=u-g|0;q:{if(w>>>0<=1){i=N[e+80>>2];break q}k=N[e+144>>2]|32;N[e+144>>2]=k;i=N[e+80>>2];if(g>>>0>=u>>>0){break q}c=-1;d=g;z=u+(d^-1)|0;if(z>>>0>=3){y=w&-4;m=0;while(1){h=T(d,20)+i|0;x=N[h+8>>2];c=c>>>0>>0?c:x;x=N[h+28>>2];c=c>>>0>>0?c:x;x=N[h+48>>2];c=c>>>0>>0?c:x;h=N[h+68>>2];c=c>>>0>>0?c:h;d=d+4|0;m=m+4|0;if((y|0)!=(m|0)){continue}break}}h=0;m=w&3;if(m){while(1){y=N[(T(d,20)+i|0)+8>>2];c=c>>>0>>0?c:y;d=d+1|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}d=g;if(w&1){d=i+v|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}d=g+1|0}if(!z){break q}while(1){h=T(d,20)+i|0;if(N[h+8>>2]!=(c|0)){k=k|32;N[e+144>>2]=k;N[h+4>>2]=N[h+4>>2]|3}h=T(d+1|0,20)+i|0;if(N[h+8>>2]!=(c|0)){k=k|32;N[e+144>>2]=k;N[h+4>>2]=N[h+4>>2]|3}d=d+2|0;if((u|0)!=(d|0)){continue}break}}c=i+v|0;d=(t<<8|t>>>8)&65535;N[c>>2]=d;if(s){break p}C=c,D=Uc(r,d),M[C+12>>1]=D}c=N[e+64>>2];d=N[e+68>>2]-1|0;d=T(c>>>0>>0?c:d,20);c=O[f+6|0]|O[f+7|0]<<8;c=N[d+N[e+80>>2]>>2]+((c<<8|c>>>8)&65535)<<1;c=p+((c>>>0>>0?1073741823:c-q>>>1|0)<<1)|0;r:{if(c>>>0>2]){break r}h=N[b+28>>2];if(h>>>0>>0|h-c>>>0<2){break r}h=N[b+32>>2]-2|0;N[b+32>>2]=h;if((h|0)<=0){break r}c=O[c|0]|O[c+1|0]<<8;if(!c){break r}d=d+N[e+80>>2]|0;c=(c<<8|c>>>8)&65535;N[d>>2]=c;if(s){break r}C=d,D=Uc(r,c),M[C+12>>1]=D}c=N[e+64>>2];d=O[f+2|0]&128;g=d?c:g;l=d?1:l}else{l=0}if(!O[e+60|0]|N[e+68>>2]==(c|0)){break c}s:{if(O[f+2|0]&64){d=N[e+152>>2];N[e+152>>2]=d-1;if((d|0)>0){break s}}if(O[e+62|0]){i=N[e+72>>2];d=N[e+84>>2];f=N[e+80>>2];t:{if((d|0)==(f|0)){h=c;if((c|0)==(i|0)){break t}}c=i+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break s}f=N[e+80>>2];d=N[e+84>>2]}u:{if((d|0)!=(f|0)){break u}c=N[e+72>>2];if(c+1>>>0<=N[e+64>>2]+1>>>0){d=f;break u}if(!O[e+62|0]){break b}d=N[e+88>>2];N[e+84>>2]=d;c=T(c,20);if(!c){break u}F(d,f,c);d=N[e+84>>2];f=N[e+80>>2]}c=T(N[e+72>>2],20)+d|0;d=T(N[e+64>>2],20)+f|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;c=N[e+64>>2];h=N[e+72>>2]}N[e+72>>2]=h+1}N[e+64>>2]=c+1}if(O[e+60|0]){continue}break};break c;case 2:L[j|0]=0;n=a+8|0;N[j+8>>2]=n;N[j+4>>2]=b;c=O[a+16|0]|O[a+17|0]<<8;N[j+12>>2]=n+((c<<8|c>>>8)&65535);c=O[a+18|0]|O[a+19|0]<<8;N[j+16>>2]=n+((c<<8|c>>>8)&65535);c=O[a+20|0]|O[a+21|0]<<8;N[j+24>>2]=0;N[j+20>>2]=n+((c<<8|c>>>8)&65535);g=N[b+16>>2];b=N[b+12>>2];if(N[b+32>>2]==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}N[g+72>>2]=0;M[g+62>>1]=1;N[g+64>>2]=0;N[g+84>>2]=N[g+80>>2];v:{if(!O[g+60|0]){break v}b=0;while(1){h=N[g+64>>2];o=h>>>0>=Q[g+68>>2];c=0;w:{if(o){break w}d=N[N[g+80>>2]+T(h,20)>>2];c=2;if((d|0)==65535){break w}f=d;c=O[a+10|0]|O[a+11|0]<<8;d=n+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;f=f-((c<<8|c>>>8)&65535)|0;e=O[d+2|0]|O[d+3|0]<<8;c=1;if(f>>>0>=((e<<8|e>>>8)&65535)>>>0){break w}c=O[(d+f|0)+4|0]}d=c;l=O[n|0]|O[n+1|0]<<8;i=(l<<8|l>>>8)&65535;q=c>>>0>>0;if(!q){d=1}f=b;u=T(f,i);b=O[a+12|0]|O[a+13|0]<<8;k=(b<<8|b>>>8)&65535;m=k+n|0;b=O[a+14|0]|O[a+15|0]<<8;r=n+((b<<8|b>>>8)&65535)|0;e=(O[(d+u|0)+m|0]<<2)+r|0;b=O[e|0]|O[e+1|0]<<8;b=(((b<<8|b>>>8)&65535)-k|0)/(i|0)|0;d=O[e+2|0]|O[e+3|0]<<8;x:{y:{if(d&65343){break y}if(!(!f|!(d&64?b:1))){c=r+(O[m+(q?c:1)|0]<<2)|0;f=O[c+2|0]|O[c+3|0]<<8;if(f&65343){break y}c=O[c|0]|O[c+1|0]<<8;if((d^f)&64|((((c<<8|c>>>8)&65535)-k|0)/(i|0)|0)!=(b|0)){break y}}c=r+(O[m+(u+!l|0)|0]<<2)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65343)){break x}}if(o){break x}c=O[g+62|0]?N[g+72>>2]:h;if(!c){break x}wb(g,3,c-1|0,h+1|0,1,1);d=O[e+2|0]|O[e+3|0]<<8}if(d&128){c=N[j+24>>2];z:{if(!c){f=N[g+72>>2];c=0;break z}f=N[g+72>>2];c=c-((f|0)==N[(((c-1&63)<<2)+j|0)+28>>2])|0}N[j+24>>2]=c+1;N[(((c&63)<<2)+j|0)+28>>2]=f}c=d&65343;A:{if(!c){break A}l=N[j+24>>2];if(!l|Q[g+64>>2]>=Q[g+68>>2]){break A}r=N[g+72>>2];f=N[j+12>>2];d=f-N[j+8>>2]|0;c=(c<<8|c>>>8)&65535;h=((c>>>0>>0?536870911:c-d>>>2|0)<<2)+f|0;k=0;B:{while(1){if(!l){N[j+24>>2]=0;ec(g,r);break A}l=l-1|0;o=((l&63)<<2)+j|0;if(!ec(g,N[o+28>>2])){break A}c=N[j+4>>2];C:{if(Q[c+24>>2]>h>>>0){break C}d=N[c+28>>2];if(d>>>0>>0|d-h>>>0<4){break C}d=c;c=N[c+32>>2]-4|0;N[d+32>>2]=c;if((c|0)<=0){break C}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);m=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);i=N[j+16>>2];f=i-N[j+8>>2]|0;c=N[N[g+80>>2]+T(N[g+64>>2],20)>>2]+(c<<25&1073741824|m&1073741823)<<1;c=((c>>>0>>0?1073741823:c-f>>>1|0)<<1)+i|0;d=N[j+4>>2];if(c>>>0>2]){break C}f=N[d+28>>2];if(f>>>0>>0|f-c>>>0<2){break C}f=d;d=N[d+32>>2]-2|0;N[f+32>>2]=d;if((d|0)<=0){break C}c=O[c|0]|O[c+1|0]<<8;k=((c<<8|c>>>8)&65535)+k|0;if(m>>>0>=1073741824){c=N[j+20>>2];d=c-N[j+8>>2]|0;k=d>>>0>k>>>0?1073741823:k-d>>>1|0;c=(k<<1)+c|0;d=N[j+4>>2];if(c>>>0>2]){break C}f=N[d+28>>2];if(f>>>0>>0|f-c>>>0<2){break C}f=d;d=N[d+32>>2]-2|0;N[f+32>>2]=d;if((d|0)<=0){break C}c=O[c|0]|O[c+1|0]<<8;d=N[g+72>>2]+1|0;if(!(!d|d>>>0>2])){if(!gb(g,d)){break A}}d=N[g+84>>2];D:{if((d|0)!=N[g+80>>2]){break D}f=N[g+72>>2];if(f+1>>>0<=N[g+64>>2]+1>>>0){break D}if(!O[g+62|0]){break b}i=N[g+88>>2];N[g+84>>2]=i;f=T(f,20);if(!f){break D}F(i,d,f)}d=N[g+68>>2];i=N[g+64>>2];if(d>>>0>>0){break a}q=(c<<8|c>>>8)&65535;E:{if(d>>>0>i>>>0){d=N[g+72>>2];f=N[g+84>>2];c=N[g+80>>2]+T(i,20)|0;break E}f=N[g+84>>2];d=N[g+72>>2];c=d-1|0;c=f+T(c>>>0<=d>>>0?c:0,20)|0}d=T(d,20)+f|0;f=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=f;N[d+16>>2]=N[c+16>>2];f=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=f;N[d>>2]=q;N[g+64>>2]=N[g+64>>2]+1;N[g+72>>2]=N[g+72>>2]+1;c=N[j+24>>2]-1|0;q=N[(((c&63)<<2)+j|0)+28>>2];if(c>>>0>l>>>0){while(1){f=c;if(!ec(g,N[(((c&63)<<2)+j|0)+28>>2])){break B}c=N[g+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(g,c)){break B}}c=N[g+84>>2];F:{if((c|0)!=N[g+80>>2]){break F}d=N[g+72>>2];if(d+1>>>0<=N[g+64>>2]+1>>>0){break F}if(!O[g+62|0]){break b}i=N[g+88>>2];N[g+84>>2]=i;d=T(d,20);if(!d){break F}F(i,c,d)}d=N[g+68>>2];c=N[g+64>>2];if(d>>>0>>0){break a}G:{if(c>>>0>>0){d=N[g+72>>2];i=N[g+84>>2];c=N[g+80>>2]+T(c,20)|0;break G}i=N[g+84>>2];d=N[g+72>>2];c=d-1|0;c=i+T(c>>>0<=d>>>0?c:0,20)|0}d=T(d,20)+i|0;i=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=i;N[d+16>>2]=N[c+16>>2];i=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=i;N[d>>2]=65535;N[g+64>>2]=N[g+64>>2]+1;N[g+72>>2]=N[g+72>>2]+1;c=f-1|0;if(l>>>0>>0){continue}break}N[j+24>>2]=f}if(!ec(g,q+1|0)){break A}wd(g,N[o+28>>2],N[g+72>>2])}h=h+4|0;if((m|0)>=0){continue}}break}ec(g,r);break A}N[j+24>>2]=f}c=N[g+64>>2];if(!O[g+60|0]|(c|0)==N[g+68>>2]){break v}H:{if(O[e+2|0]&64){d=N[g+152>>2];N[g+152>>2]=d-1;if((d|0)>0){break H}}if(O[g+62|0]){h=N[g+72>>2];d=N[g+84>>2];f=N[g+80>>2];I:{if((d|0)==(f|0)){e=c;if((c|0)==(h|0)){break I}}c=h+1|0;if(!(!c|c>>>0>2])){if(!gb(g,c)){break H}f=N[g+80>>2];d=N[g+84>>2]}J:{if((d|0)!=(f|0)){break J}c=N[g+72>>2];if(c+1>>>0<=N[g+64>>2]+1>>>0){d=f;break J}if(!O[g+62|0]){break b}d=N[g+88>>2];N[g+84>>2]=d;c=T(c,20);if(!c){break J}F(d,f,c);d=N[g+84>>2];f=N[g+80>>2]}c=T(N[g+72>>2],20)+d|0;d=T(N[g+64>>2],20)+f|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;c=N[g+64>>2];e=N[g+72>>2]}N[g+72>>2]=e+1}N[g+64>>2]=c+1}if(O[g+60|0]){continue}break}}Ac(g);break c;case 4:f=N[b+68>>2];e=O[f+4|0]|O[f+5|0]<<8;h=O[f|0]|O[f+1|0]<<8;c=N[b+12>>2];d=N[c+32>>2];if((d|0)==-1){g=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;d=(c<<8|c>>>8)&65535;N[g+32>>2]=d}c=N[b+16>>2];b=N[c+68>>2];if(!b){break c}a=a+8|0;g=N[c+80>>2];c=0;if((h|0)==256&(e|0)!=0){while(1){e=g+T(c,20)|0;h=cc(a,N[e>>2],d);if(h){h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;N[e>>2]=h;C=e,D=Uc(f,h),M[C+12>>1]=D}c=c+1|0;if((b|0)!=(c|0)){continue}break c}}while(1){e=g+T(c,20)|0;f=cc(a,N[e>>2],d);if(f){f=O[f|0]|O[f+1|0]<<8;N[e>>2]=(f<<8|f>>>8)&65535}c=c+1|0;if((b|0)!=(c|0)){continue}break};break c;case 5:break d;default:break c}}c=O[a+16|0]|O[a+17|0]<<8;e=N[b+16>>2];d=N[b+12>>2];if(N[d+32>>2]==-1){f=d;d=sb(d+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[f+32>>2]=(d<<8|d>>>8)&65535}N[e+72>>2]=0;M[e+62>>1]=1;N[e+64>>2]=0;N[e+84>>2]=N[e+80>>2];K:{if(!O[e+60|0]){break K}r=a+8|0;u=r+((c<<8|c>>>8)&65535)|0;while(1){h=N[e+64>>2];w=h>>>0>=Q[e+68>>2];c=0;L:{if(w){break L}d=N[N[e+80>>2]+T(h,20)>>2];c=2;if((d|0)==65535){break L}f=d;c=O[a+10|0]|O[a+11|0]<<8;d=r+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;f=f-((c<<8|c>>>8)&65535)|0;i=O[d+2|0]|O[d+3|0]<<8;c=1;if(f>>>0>=((i<<8|i>>>8)&65535)>>>0){break L}c=O[(d+f|0)+4|0]}d=c;n=O[r|0]|O[r+1|0]<<8;l=(n<<8|n>>>8)&65535;p=c>>>0>>0;if(!p){d=1}f=g;s=T(g,l);g=s+d|0;d=O[a+12|0]|O[a+13|0]<<8;k=(d<<8|d>>>8)&65535;m=k+r|0;d=O[a+14|0]|O[a+15|0]<<8;o=r+((d<<8|d>>>8)&65535)|0;i=(O[g+m|0]<<3)+o|0;d=O[i|0]|O[i+1|0]<<8;g=(((d<<8|d>>>8)&65535)-k|0)/(l|0)|0;d=O[i+2|0]|O[i+3|0]<<8;M:{N:{if((O[i+4|0]|O[i+5|0]<<8)!=65535|(O[i+6|0]|O[i+7|0]<<8)!=65535?d&65283:0){break N}if(!(!f|!(d&64?g:1))){c=o+(O[m+(p?c:1)|0]<<3)|0;f=O[c+2|0]|O[c+3|0]<<8;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(O[c+6|0]|O[c+7|0]<<8)!=65535?f&65283:0){break N}c=O[c|0]|O[c+1|0]<<8;if((d^f)&64|((((c<<8|c>>>8)&65535)-k|0)/(l|0)|0)!=(g|0)){break N}}c=o+(O[m+(s+!n|0)|0]<<3)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65283)){break M}if((O[c+4|0]|O[c+5|0]<<8)!=65535){break N}if((O[c+6|0]|O[c+7|0]<<8)==65535){break M}}if(w){break M}c=O[e+62|0]?N[e+72>>2]:h;if(!c){break M}wb(e,3,c-1|0,h+1|0,1,1);d=O[i+2|0]|O[i+3|0]<<8}k=d<<8|(d&65280)>>>8;o=k&65535;w=N[e+72>>2];c=O[i+6|0]|O[i+7|0]<<8;O:{if((c|0)!=65535){m=o&31;d=N[e+152>>2]-m|0;N[e+152>>2]=d;if((d|0)<=0){break O}n=u+(((c<<8|c>>>8)&65535)<<1)|0;P:{Q:{if(!m|n>>>0>2]){break Q}c=N[b+28>>2];if(c>>>0>>0){break Q}d=c-n|0;c=m<<1;if(d>>>0>>0){break Q}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break P}}m=0}p=N[e+72>>2];if(!ec(e,q)){break O}R:{S:{s=o&1024;if(!s){c=N[e+64>>2];if(c>>>0>2]){break S}}c=N[e+72>>2];break R}d=N[e+80>>2];c=d+T(c,20)|0;N[j+16>>2]=N[c+16>>2];f=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=f;f=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=f;c=N[e+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}d=N[e+80>>2]}c=N[e+84>>2];T:{if((d|0)!=(c|0)){break T}f=N[e+72>>2];if(Q[e+64>>2]>=f+1>>>0){c=d;break T}if(!O[e+62|0]){break b}c=N[e+88>>2];N[e+84>>2]=c;f=T(f,20);if(!f){break T}F(c,d,f);c=N[e+84>>2]}d=N[j+4>>2];c=T(N[e+72>>2],20)+c|0;N[c>>2]=N[j>>2];N[c+4>>2]=d;N[c+16>>2]=N[j+16>>2];d=N[j+12>>2];N[c+8>>2]=N[j+8>>2];N[c+12>>2]=d;c=N[e+72>>2]+1|0;N[e+72>>2]=c}c=c+m|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}}c=N[e+84>>2];U:{if((c|0)!=N[e+80>>2]){break U}d=N[e+72>>2];if(Q[e+64>>2]>=d+m>>>0){break U}if(!O[e+62|0]){break b}f=N[e+88>>2];N[e+84>>2]=f;d=T(d,20);if(!d){break U}F(f,c,d)}c=N[e+64>>2];f=N[e+68>>2];if(c>>>0>f>>>0){break a}V:{if(c>>>0>>0){l=N[e+72>>2];h=N[e+84>>2];d=N[e+80>>2]+T(c,20)|0;break V}h=N[e+84>>2];l=N[e+72>>2];d=l-1|0;d=h+T(d>>>0<=l>>>0?d:0,20)|0}W:{if(!m){N[e+72>>2]=l;break W}c=T(l,20)+h|0;f=0;X:{if((m|0)!=1){h=m&1;l=m&30;while(1){v=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=v;N[c+16>>2]=N[d+16>>2];v=d+8|0;t=N[v+4>>2];N[c+8>>2]=N[v>>2];N[c+12>>2]=t;v=f<<1;t=v+n|0;t=O[t|0]|O[t+1|0]<<8;N[c>>2]=(t<<8|t>>>8)&65535;N[c+36>>2]=N[d+16>>2];t=N[d+12>>2];N[c+28>>2]=N[d+8>>2];N[c+32>>2]=t;t=N[d+4>>2];N[c+20>>2]=N[d>>2];N[c+24>>2]=t;v=n+(v|2)|0;v=O[v|0]|O[v+1|0]<<8;N[c+20>>2]=(v<<8|v>>>8)&65535;c=c+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break X}}h=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=h;N[c+16>>2]=N[d+16>>2];h=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=h;d=c;c=n+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[d>>2]=(c<<8|c>>>8)&65535}N[e+72>>2]=N[e+72>>2]+m;f=N[e+68>>2];c=N[e+64>>2]}if(!(c>>>0>=f>>>0|s)){N[e+64>>2]=c+1}if(!ec(e,m+p|0)){break O}c=N[e+64>>2]+1|0;d=N[e+68>>2];wb(e,3,q,c>>>0>>0?c:d,1,1)}q=k<<16>>16<0?w:q;c=O[i+4|0]|O[i+5|0]<<8;if((c|0)==65535){break O}k=o>>>5&31;d=N[e+152>>2]-k|0;N[e+152>>2]=d;if((d|0)<=0){break O}n=u+(((c<<8|c>>>8)&65535)<<1)|0;Y:{Z:{if(!k|n>>>0>2]){break Z}c=N[b+28>>2];if(c>>>0>>0){break Z}d=c-n|0;c=k<<1;if(d>>>0>>0){break Z}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break Y}}k=0}m=N[e+72>>2];c=m;w=o&2048;_:{if(w){break _}d=N[e+64>>2];if(d>>>0>=Q[e+68>>2]){break _}f=N[e+80>>2];c=f+T(d,20)|0;N[j+16>>2]=N[c+16>>2];d=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=d;d=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=d;c=m+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}f=N[e+80>>2]}c=N[e+84>>2];$:{if((f|0)!=(c|0)){break $}d=N[e+72>>2];if(Q[e+64>>2]>=d+1>>>0){c=f;break $}if(!O[e+62|0]){break b}c=N[e+88>>2];N[e+84>>2]=c;d=T(d,20);if(!d){break $}F(c,f,d);c=N[e+84>>2]}d=N[j+4>>2];c=T(N[e+72>>2],20)+c|0;N[c>>2]=N[j>>2];N[c+4>>2]=d;N[c+16>>2]=N[j+16>>2];d=N[j+12>>2];N[c+8>>2]=N[j+8>>2];N[c+12>>2]=d;c=N[e+72>>2]+1|0;N[e+72>>2]=c}c=c+k|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}}c=N[e+84>>2];aa:{if((c|0)!=N[e+80>>2]){break aa}d=N[e+72>>2];if(Q[e+64>>2]>=d+k>>>0){break aa}if(!O[e+62|0]){break b}f=N[e+88>>2];N[e+84>>2]=f;d=T(d,20);if(!d){break aa}F(f,c,d)}c=N[e+64>>2];f=N[e+68>>2];if(c>>>0>f>>>0){break a}ba:{if(c>>>0>>0){l=N[e+72>>2];h=N[e+84>>2];d=N[e+80>>2]+T(c,20)|0;break ba}h=N[e+84>>2];l=N[e+72>>2];d=l-1|0;d=h+T(d>>>0<=l>>>0?d:0,20)|0}ca:{if(!k){N[e+72>>2]=l;break ca}c=T(l,20)+h|0;f=0;da:{if((k|0)!=1){h=k&1;l=k&30;while(1){p=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=p;N[c+16>>2]=N[d+16>>2];p=d+8|0;s=N[p+4>>2];N[c+8>>2]=N[p>>2];N[c+12>>2]=s;p=f<<1;s=p+n|0;s=O[s|0]|O[s+1|0]<<8;N[c>>2]=(s<<8|s>>>8)&65535;N[c+36>>2]=N[d+16>>2];s=N[d+12>>2];N[c+28>>2]=N[d+8>>2];N[c+32>>2]=s;s=N[d+4>>2];N[c+20>>2]=N[d>>2];N[c+24>>2]=s;p=n+(p|2)|0;p=O[p|0]|O[p+1|0]<<8;N[c+20>>2]=(p<<8|p>>>8)&65535;c=c+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break da}}h=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=h;N[c+16>>2]=N[d+16>>2];h=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=h;d=c;c=n+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[d>>2]=(c<<8|c>>>8)&65535}N[e+72>>2]=N[e+72>>2]+k;f=N[e+68>>2];c=N[e+64>>2]}if(!(c>>>0>=f>>>0|w)){N[e+64>>2]=c+1}ec(e,m+(o&16384?0:k)|0)}c=N[e+64>>2];if(!O[e+60|0]|(c|0)==N[e+68>>2]){break K}ea:{if(O[i+2|0]&64){d=N[e+152>>2];N[e+152>>2]=d-1;if((d|0)>0){break ea}}if(O[e+62|0]){i=N[e+72>>2];d=N[e+84>>2];f=N[e+80>>2];fa:{if((d|0)==(f|0)){h=c;if((c|0)==(i|0)){break fa}}c=i+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break ea}f=N[e+80>>2];d=N[e+84>>2]}ga:{if((d|0)!=(f|0)){break ga}c=N[e+72>>2];if(c+1>>>0<=N[e+64>>2]+1>>>0){d=f;break ga}if(!O[e+62|0]){break b}d=N[e+88>>2];N[e+84>>2]=d;c=T(c,20);if(!c){break ga}F(d,f,c);d=N[e+84>>2];f=N[e+80>>2]}c=T(N[e+72>>2],20)+d|0;d=T(N[e+64>>2],20)+f|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;c=N[e+64>>2];h=N[e+72>>2]}N[e+72>>2]=h+1}N[e+64>>2]=c+1}if(O[e+60|0]){continue}break}}Ac(e)}La=j+288|0;return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function mc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;b=N[a>>2];if(!b){u=a-100|0;while(1){b=N[u>>2];if(!b){return 275552}o=db(1,12);if(!o){N[a>>2]=275552;return 275552}r=0;j=La-48|0;La=j;N[o>>2]=0;N[j+16>>2]=0;N[j+20>>2]=0;N[j+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[j+44|0]=1;N[j+40>>2]=c;c=N[b+12>>2];a:{if(c){i=Qa[c|0](b,1196445523,N[b+16>>2])|0;if(i){break a}}i=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{c=N[i>>2];if(c){if((c|0)<=0){break j}N[i>>2]=c+1}L[j+28|0]=0;N[j+36>>2]=i;c=N[i+12>>2];N[j+8>>2]=c;d=N[i+16>>2];N[j+12>>2]=d+c;if((d|0)<0){break i}if(d>>>0>67108863){e=1073741819}else{b=d<<6;b=b>>>0<=16384?16384:b;e=(b>>>0>=1073741823?1073741823:b)-4|0}N[j+24>>2]=0;N[j+4>>2]=0;N[j+32>>2]=0;b=i;if(!c){break c}if(d>>>0<4){break g}N[j+16>>2]=e;if((O[c|0]|O[c+1|0]<<8)!=256){break h}if(bh(c,j+4|0)){break h}if(O[j+28|0]|!N[j+32>>2]){break g}if(!zb(i)){break g}while(1){L[j+28|0]=1;b=N[j+36>>2];c=N[b+12>>2];N[j+8>>2]=c;d=N[b+16>>2];N[j+12>>2]=d+c;if((d|0)<0){break i}if(d>>>0>67108863){e=1073741823}else{e=d<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[j+24>>2]=0;N[j+4>>2]=0;N[j+32>>2]=0;if(!c){break c}if(d>>>0<4){break g}N[j+16>>2]=e-4;if((O[c|0]|O[c+1|0]<<8)!=256){break h}if(bh(c,j+4|0)){break h}if(O[j+28|0]|!N[j+32>>2]){break g}c=zb(i);N[j+8>>2]=c;N[j+12>>2]=c+N[i+16>>2];if(c){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[j+32>>2]){break f}N[j+32>>2]=0;if(Q[j+8>>2]>c>>>0){break g}b=N[j+12>>2];if(b>>>0>>0|b-c>>>0<4){break g}b=N[j+16>>2]-4|0;N[j+16>>2]=b;if((b|0)<=0){break g}if((O[c|0]|O[c+1|0]<<8)!=256){break f}c=bh(c,j+4|0);if(N[j+32>>2]){break g}ab(N[j+36>>2]);N[j+36>>2]=0;if(c){break e}break d}ab(N[j+36>>2]);break d}ab(N[j+36>>2]);N[j+36>>2]=0}if(!N[i+4>>2]){break b}N[i+4>>2]=0;break b}ab(i);i=275552;break b}ab(b)}N[o>>2]=i;c=0;b=Q[i+16>>2]<4?275552:N[i+12>>2];if((O[b|0]|O[b+1|0]<<8)==256){c=O[b+8|0]|O[b+9|0]<<8;if(c){c=b+((c<<8|c>>>8)&65535)|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;c=(c<<8|c>>>8)&65535}N[o+4>>2]=c;b=db(c,28);N[o+8>>2]=b;if(!b){N[o+4>>2]=0;ab(i);N[o>>2]=275552;c=N[o+4>>2]}if(c){while(1){p=275552;n=N[o+8>>2]+T(r,28)|0;c=N[o>>2];c=c?c:275552;c=Q[c+16>>2]<4?275552:N[c+12>>2];k:{if((O[c|0]|O[c+1|0]<<8)!=256){break k}i=275552;b=O[c+8|0]|O[c+9|0]<<8;if(b){i=c+((b<<8|b>>>8)&65535)|0}c=O[i|0]|O[i+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break k}c=(r<<1)+i|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break k}p=((c<<8|c>>>8)&65535)+i|0}N[n+20>>2]=0;c=n+12|0;N[c>>2]=0;N[c+4>>2]=0;N[j+12>>2]=-1;N[j+16>>2]=0;N[j+8>>2]=c;N[j+4>>2]=0;c=O[p+4|0]|O[p+5|0]<<8;l:{if(!c){N[n>>2]=0;N[n+4>>2]=0;N[n+8>>2]=0;N[n+24>>2]=-1;break l}b=O[p|0]|O[p+1|0]<<8;s=(b<<8|b>>>8)&65535;t=p+4|0;c=(c<<8|c>>>8)&65535;v=c>>>0<=1?1:c;i=0;while(1){c=O[t|0]|O[t+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=i>>>0?275552:((i<<1)+t|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+p|0}else{c=275552}q=j+4|0;b=s;g=0;e=La-32|0;La=e;m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{while(1){D:{if((b|0)!=9){E:{switch(b-1|0){case 0:F:{G:{b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break F;case 0:break G;default:break m}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=204;N[e+12>>2]=205;N[e+8>>2]=206;N[e+4>>2]=c;H:{I:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break H;case 0:break I;default:break n}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break n}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;J:{if((b|0)==256){d=0;b=c;break J}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break o}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break o}Ub(c,e+20|0);break n}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=207;N[e+12>>2]=208;N[e+8>>2]=209;N[e+4>>2]=c;K:{L:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break K;case 0:break L;default:break p}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break p}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;M:{if((b|0)==256){d=0;b=c;break M}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break q}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break q}Ub(c,e+20|0);break p;case 1:N:{O:{b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break N;case 0:break O;default:break m}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=210;N[e+12>>2]=211;N[e+8>>2]=212;N[e+4>>2]=c;P:{Q:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break P;case 0:break Q;default:break r}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break r}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;R:{if((b|0)==256){d=0;b=c;break R}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break s}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break s}Ub(c,e+20|0);break r}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=213;N[e+12>>2]=214;N[e+8>>2]=215;N[e+4>>2]=c;S:{T:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break S;case 0:break T;default:break t}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break t}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;U:{if((b|0)==256){d=0;b=c;break U}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break u}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break u}Ub(c,e+20|0);break t;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=216;N[e+12>>2]=217;N[e+8>>2]=218;N[e+4>>2]=c;V:{W:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break V;case 0:break W;default:break v}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break v}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;X:{if((b|0)==256){d=0;b=c;break X}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break w}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break w}Ub(c,e+20|0);break v;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=219;N[e+12>>2]=220;N[e+8>>2]=221;N[e+4>>2]=c;Y:{Z:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break Y;case 0:break Z;default:break x}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break x}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;_:{if((b|0)==256){d=0;b=c;break _}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break y}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break y}Ub(c,e+20|0);break x;case 4:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=222;N[e+12>>2]=223;N[e+8>>2]=224;N[e+4>>2]=c;$:{aa:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break $;case 0:break aa;default:break z}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break z}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;ba:{if((b|0)==256){d=0;b=c;break ba}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break A}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break A}Ub(c,e+20|0);break z;case 5:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=225;N[e+12>>2]=226;N[e+8>>2]=227;N[e+4>>2]=c;ca:{da:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break ca;case 0:break da;default:break B}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break B}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;ea:{if((b|0)==256){d=0;b=c;break ea}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break C}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break C}Ub(c,e+20|0);break B;case 6:break D;case 7:break E;default:break m}}Wk(c,q);break m}if((O[c|0]|O[c+1|0]<<8)!=256){break m}b=O[c+2|0]|O[c+3|0]<<8;b=(b<<8|b>>>8)&65535;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(d){c=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0}else{c=275552}continue}break}Vk(c,q);break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}fa:{ga:{ha:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ga}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break fa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ia:{ja:{ka:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ja}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ia}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}la:{ma:{na:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ma}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break la}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}oa:{pa:{qa:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break pa}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break oa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ra:{sa:{ta:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break sa}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ra}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ua:{va:{wa:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break va}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ua}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}xa:{ya:{za:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break za}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ya}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break xa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}Aa:{Ba:{Ca:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break Ba}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break Aa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b}La=e+32|0;i=i+1|0;if((v|0)!=(i|0)){continue}break}i=N[n+20>>2];c=N[n+16>>2];N[n+8>>2]=0;N[n>>2]=0;N[n+4>>2]=0;if(!c){N[n+24>>2]=N[j+12>>2];break l}d=T(c,28)-28|0;e=((d>>>0)/28|0)+1|0;s=e&1;b=0;Da:{if(d>>>0<28){e=0;d=0;break Da}g=e&536870910;e=0;d=0;p=0;while(1){b=N[i+16>>2]|b;N[n>>2]=b;e=N[i+20>>2]|e;N[n+4>>2]=e;d=N[i+24>>2]|d;N[n+8>>2]=d;b=b|N[i+44>>2];N[n>>2]=b;e=e|N[i+48>>2];N[n+4>>2]=e;d=d|N[i+52>>2];N[n+8>>2]=d;i=i+56|0;p=p+2|0;if((g|0)!=(p|0)){continue}break}}if(s){N[n>>2]=N[i+16>>2]|b;N[n+4>>2]=N[i+20>>2]|e;N[n+8>>2]=N[i+24>>2]|d}N[n+24>>2]=N[j+12>>2];i=0;while(1){if(N[n+24>>2]!=(i|0)){Ea:{if(c>>>0<=i>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=N[n+16>>2];b=0;break Ea}b=N[(N[n+20>>2]+T(i,28)|0)+4>>2]}Fa:{if(c>>>0<=i>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=N[n+16>>2];d=589824;break Fa}d=N[n+20>>2]+T(i,28)|0}N[d+8>>2]=b}i=i+1|0;if(i>>>0>>0){continue}break}}r=r+1|0;if(r>>>0>2]){continue}break}}La=j+48|0;if(!N[a>>2]){N[a>>2]=o;return o}if(N[o+4>>2]){b=0;while(1){c=N[o+8>>2]+T(b,28)|0;if(N[c+16>>2]){N[c+16>>2]=0}_a(N[c+20>>2]);N[c+16>>2]=0;N[c+20>>2]=0;N[c+12>>2]=0;b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[o+8>>2]);ab(N[o>>2]);_a(o);b=N[a>>2];if(!b){continue}break}}return b}function Kg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;b=N[a>>2];if(!b){t=a+-64|0;while(1){f=N[t>>2];if(!f){return 275552}c=db(1,224);if(!c){N[a>>2]=275552;return 275552}N[c+36>>2]=65536;g=La-8304|0;La=g;N[c+88>>2]=0;N[c+92>>2]=0;N[c+104>>2]=0;N[c+108>>2]=0;N[c+96>>2]=0;N[c+100>>2]=0;h=c+112|0;b=h;N[b>>2]=-1;N[b+4>>2]=-1;N[c+120>>2]=-1;N[c+124>>2]=-1;N[c+128>>2]=-1;N[c+132>>2]=-1;N[c+136>>2]=-1;N[c+140>>2]=-1;N[c+144>>2]=-1;N[c+148>>2]=-1;N[c+152>>2]=-1;N[c+168>>2]=0;N[c+172>>2]=0;N[c+160>>2]=0;N[c+164>>2]=8720;N[c+176>>2]=0;N[c+180>>2]=0;N[c+184>>2]=0;N[c+188>>2]=0;n=c+192|0;b=n;N[b>>2]=0;N[b+4>>2]=0;N[c+200>>2]=0;N[c+204>>2]=0;N[c+208>>2]=0;N[c+212>>2]=0;if(!O[c+40|0]){i=N[f+32>>2];if((i|0)==-1){b=sb(f+56|0);b=O[b+4|0]|O[b+5|0]<<8;i=(b<<8|b>>>8)&65535;N[f+32>>2]=i}L[c+40|0]=1;N[c+36>>2]=i}b=N[f+12>>2];a:{if(b){e=Qa[b|0](f,1128678944,N[f+16>>2])|0;if(e){break a}}e=275552}b:{c:{b=N[e>>2];if(b){if((b|0)<=0){break c}N[e>>2]=b+1}L[c+24|0]=0;N[c+32>>2]=e;f=N[e+12>>2];N[c+4>>2]=f;d=N[e+16>>2];N[c+8>>2]=d+f;if((d|0)>=0){d:{N[c+28>>2]=0;if(d>>>0>67108863){b=1073741823}else{b=d<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[c+12>>2]=b;N[c+20>>2]=0;N[c>>2]=0;e:{if(!f){ab(e);N[c+32>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;break e}f:{if(d>>>0>=4){N[c+12>>2]=b-4;b=O[f|0];ab(e);N[c+32>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;if((b|0)!=1){break f}if(!N[e+4>>2]){break e}N[e+4>>2]=0;break e}ab(e);N[c+32>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0}ab(e);e=275552}N[c+44>>2]=e;g:{b=N[e>>2];if(b){if((b|0)<=0){break g}N[e>>2]=b+1}L[c+24|0]=0;N[c+32>>2]=e;b=N[e+12>>2];N[c+4>>2]=b;f=b;b=N[e+16>>2];N[c+8>>2]=f+b;if((b|0)>=0){N[c+28>>2]=0;if(b>>>0>67108863){b=1073741823}else{b=b<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[c+12>>2]=b;N[c+20>>2]=0;N[c>>2]=0;h:{i:{if(Q[e+16>>2]<4){break i}q=N[e+12>>2];if((q|0)==275552){break i}b=O[q+2|0]+q|0;N[c+56>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}j=N[c+56>>2];b=O[j|0]|O[j+1|0]<<8;if(b){d=O[j+2|0];b=(b<<8|b>>>8)&65535;e=T(d,b+1|0);b=j+T(b,d)|0;f=0;j:{k:{switch(d-1|0){case 0:f=O[b+3|0];break j;case 1:b=O[b+3|0]|O[b+4|0]<<8;f=(b<<8|b>>>8)&65535;break j;case 2:f=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break j;case 3:break k;default:break j}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(e+f|0)+2|0}else{b=2}b=b+j|0;N[c+60>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}b=N[c+60>>2];if(!(O[b|0]|O[b+1|0]<<8)){break i}gd(g+16|0,b,0);e=N[g+20>>2];if(e){f=N[g+16>>2];if(f>>>0>2]){break i}b=N[c+8>>2];if(b>>>0>>0|e>>>0>b-f>>>0){break i}b=N[c+12>>2]-e|0;N[c+12>>2]=b;if((b|0)<=0){break i}}j=c+204|0;L[g+4184|0]=0;C(g+4188|0,0,4108);N[g+8296>>2]=0;N[g+8300>>2]=0;N[g+4176>>2]=0;f=N[g+20>>2];b=N[g+16>>2];N[g+4168>>2]=b;N[g+4172>>2]=f;N[c+104>>2]=0;N[c+108>>2]=0;N[c+96>>2]=0;N[c+100>>2]=0;N[c+88>>2]=0;N[c+92>>2]=0;N[h+40>>2]=-1;N[h+32>>2]=-1;N[h+36>>2]=-1;N[h+24>>2]=-1;N[h+28>>2]=-1;N[h+16>>2]=-1;N[h+20>>2]=-1;N[h+8>>2]=-1;N[h+12>>2]=-1;N[h>>2]=-1;N[h+4>>2]=-1;N[c+160>>2]=0;N[c+164>>2]=8720;N[c+184>>2]=0;N[c+188>>2]=0;N[c+176>>2]=0;N[c+180>>2]=0;N[c+168>>2]=0;N[c+172>>2]=0;i=f;p=g+4184|0;e=0;while(1){l:{m:{n:{f=e+1|0;if(f>>>0<=i>>>0){d=N[g+4168>>2];b=O[d+e|0];N[g+4176>>2]=f;o:{if((b|0)!=12){e=f;break o}e=e+2|0;if(i>>>0>>0){e=N[c+88>>2];b=N[g+8300>>2];N[g+8300>>2]=f;m=b+(e^-1)|0;b=65535;break n}b=O[d+f|0];N[g+4176>>2]=e;b=b|256}m=N[g+8300>>2]+(N[c+88>>2]^-1)|0;f=0;p:{q:{switch(b|0){case 0:case 1:case 2:case 3:case 4:case 256:case 277:case 278:case 294:f=N[g+4188>>2];r:{if(!f){d=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break r}l=S[p+(f<<3)>>3];s:{if(V(l)<2147483648){d=~~l;break s}d=-2147483648}f=0;if((d|0)>=0){break r}L[g+4184|0]=1;d=0;f=1}t:{u:{v:{w:{x:{y:{z:{A:{B:{switch(b-1|0){default:k=0;switch(b-256|0){case 22:break u;case 38:break v;case 21:break w;case 0:break A;default:break t};case 3:break x;case 2:break y;case 1:break z;case 0:break B}}k=1;break t}k=2;break t}k=3;break t}k=4;break t}k=5;break t}k=6;break t}k=7;break t}k=8}N[h+(k<<2)>>2]=d;break p;case 290:b=N[g+4188>>2];C:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break C}l=S[p+(b<<3)>>3];D:{if(V(l)<2147483648){b=~~l;break D}b=-2147483648}f=0;if((b|0)>=0){break C}L[g+4184|0]=1;b=0;f=1}N[c+164>>2]=b;b=290;break p;case 286:E:{F:{G:{H:{k=N[g+4188>>2];I:{if(!k){N[c+160>>2]=0;break I}d=k-1|0;l=S[(p+(d<<3)|0)+8>>3];J:{if(V(l)<2147483648){b=~~l;break J}b=-2147483648}if((b|0)<0){L[g+4184|0]=1;f=1;b=0}N[c+160>>2]=b;if(d){break H}}N[147456]=0;N[147457]=0;L[g+4184|0]=1;N[c+152>>2]=0;break G}k=k-2|0;N[g+4188>>2]=k;d=p+(k<<3)|0;l=S[d+8>>3];K:{if(V(l)<2147483648){b=~~l;break K}b=-2147483648}if((b|0)<0){L[g+4184|0]=1;f=1;b=0}N[c+152>>2]=b;if(k){break F}}b=0;N[147456]=0;N[147457]=0;f=1;L[g+4184|0]=1;break E}l=S[d>>3];L:{if(V(l)<2147483648){b=~~l;break L}b=-2147483648}if((b|0)>=0){break E}f=1;L[g+4184|0]=1;b=0}N[c+148>>2]=b;b=286;break p;case 16:M:{b=N[g+4188>>2];N:{if(!b){N[147456]=0;N[147457]=0;break N}l=S[p+(b<<3)>>3];O:{if(V(l)<2147483648){d=~~l;break O}d=-2147483648}if((d|0)>=0){break M}}L[g+4184|0]=1;N[c+168>>2]=0;N[g+4188>>2]=0;break l}N[c+168>>2]=d;N[g+4188>>2]=0;b=16;if(d){break m}break l;case 15:P:{b=N[g+4188>>2];Q:{if(!b){N[147456]=0;N[147457]=0;break Q}l=S[p+(b<<3)>>3];R:{if(V(l)<2147483648){d=~~l;break R}d=-2147483648}if((d|0)>=0){break P}}L[g+4184|0]=1;N[c+172>>2]=0;N[g+4188>>2]=0;break l}N[c+172>>2]=d;N[g+4188>>2]=0;b=15;if(d){break m}break l;case 293:b=N[g+4188>>2];S:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break S}l=S[p+(b<<3)>>3];T:{if(V(l)<2147483648){b=~~l;break T}b=-2147483648}f=0;if((b|0)>=0){break S}L[g+4184|0]=1;b=0;f=1}N[c+176>>2]=b;b=293;break p;case 18:U:{V:{k=N[g+4188>>2];W:{if(!k){N[c+180>>2]=0;break W}d=k-1|0;l=S[(p+(d<<3)|0)+8>>3];X:{if(V(l)<2147483648){b=~~l;break X}b=-2147483648}if((b|0)<0){L[g+4184|0]=1;f=1;b=0}N[c+180>>2]=b;if(d){break V}}b=0;N[147456]=0;N[147457]=0;f=1;L[g+4184|0]=1;break U}l=S[(p+(k<<3)|0)-8>>3];Y:{if(V(l)<2147483648){b=~~l;break Y}b=-2147483648}if((b|0)>=0){break U}f=1;L[g+4184|0]=1;b=0}N[c+184>>2]=b;b=18;break p;case 5:case 13:case 14:case 257:case 258:case 259:case 260:case 261:case 262:case 264:case 276:case 279:case 287:case 288:case 289:case 291:break p;default:break q}}N[g+8300>>2]=e;if((b|0)!=292){if((b|0)==263){break p}if((b|0)!=17){break n}b=N[g+4188>>2];Z:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break Z}l=S[p+(b<<3)>>3];_:{if(V(l)<2147483648){b=~~l;break _}b=-2147483648}f=0;if((b|0)>=0){break Z}L[g+4184|0]=1;b=0;f=1}N[c+104>>2]=b;b=17;break p}b=N[g+4188>>2];$:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break $}l=S[p+(b<<3)>>3];aa:{if(V(l)<2147483648){b=~~l;break aa}b=-2147483648}f=0;if((b|0)>=0){break $}L[g+4184|0]=1;b=0;f=1}N[c+108>>2]=b;b=292}N[g+4188>>2]=0;break m}b=N[c+172>>2];ba:{if(b>>>0<=2){N[c+52>>2]=275552;break ba}d=b+q|0;N[c+52>>2]=d;if((d|0)==275552){break i}k=0;ca:{da:{m=N[c+4>>2];ea:{if(m>>>0>d>>>0){break ea}o=N[c+8>>2];if(o>>>0<=d>>>0){break ea}b=N[c+12>>2];e=b-1|0;N[c+12>>2]=e;if((e|0)<=0){break ea}fa:{switch(O[d|0]){case 0:f=(d+(N[c+36>>2]<<1)|0)-1|0;if(f>>>0>>0|f>>>0>o>>>0|o-f>>>0<2){break ea}b=b-3|0;N[c+12>>2]=b;k=(b|0)>0;break ca;case 1:k=1;f=N[c+36>>2]-1|0;if(!f){break ea}i=d+1|0;b=0;while(1){h=i+T(b,3)|0;if(h>>>0>>0|h>>>0>o>>>0|o-h>>>0<3){break da}d=e-3|0;N[c+12>>2]=d;if((e|0)<4){break da}h=O[h+2|0];if(h>>>0>=f>>>0){break da}b=b+1|0;e=d;f=(h^-1)+f|0;if(f){continue}break};break ea;case 2:break fa;default:break ea}}k=1;f=N[c+36>>2]-1|0;if(!f){break ea}i=d+1|0;b=0;while(1){h=i+(b<<2)|0;if(h>>>0>>0|h>>>0>o>>>0|o-h>>>0<4){break da}d=e-4|0;N[c+12>>2]=d;if((e|0)<5){break da}e=O[h+2|0]|O[h+3|0]<<8;h=(e<<8|e>>>8)&65535;if(h>>>0>=f>>>0){break da}b=b+1|0;e=d;f=(h^-1)+f|0;if(f){continue}break}}break ca}k=0}if(!k){break i}}N[c+84>>2]=1;ga:{ha:{if(N[c+148>>2]!=-1){b=N[c+108>>2];f=b?b+q|0:275552;N[c+76>>2]=f;b=N[c+176>>2];N[c+80>>2]=b?b+q|0:275552;if((f|0)==275552){break i}if(!Fd(f,c)){break i}h=N[c+80>>2];if((h|0)==275552){break i}b=N[c+76>>2];b=O[b|0]|O[b+1|0]<<8;f=(b<<8|b>>>8)&65535;d=0;ia:{if(h>>>0>2]){break ia}b=N[c+8>>2];if(b>>>0<=h>>>0){break ia}e=N[c+12>>2]-1|0;N[c+12>>2]=e;if((e|0)<=0){break ia}ja:{switch(O[h|0]){case 0:f=N[c+36>>2];if(f){if(f>>>0>b+(h^-1)>>>0){break ia}b=e-f|0;N[c+12>>2]=b;if((b|0)<=0){break ia}}d=1;break ia;case 3:break ja;default:break ia}}d=Yp(h+1|0,c,f)}if(!d){break i}b=N[c+76>>2];b=O[b|0]|O[b+1|0]<<8;N[c+48>>2]=275552;N[c+84>>2]=(b<<8|b>>>8)&65535;f=c+48|0;if(N[c+148>>2]==-1){break ha}if(N[c+52>>2]!=275552){break ga}break i}N[c+80>>2]=275552;N[c+76>>2]=275552;N[c+48>>2]=275552;f=c+48|0}b=N[c+168>>2];if(b>>>0<2){break ga}k=b+q|0;N[f>>2]=k;if((k|0)==275552){break i}ka:{la:{if(k>>>0>2]){break la}i=N[c+8>>2];if(i>>>0<=k>>>0){break la}h=N[c+12>>2];b=h-1|0;N[c+12>>2]=b;if((b|0)<=0){break la}d=0;ma:{na:{oa:{pa:{qa:{e=O[k|0];f=e&127;switch(f|0){case 1:break pa;case 0:break qa;default:break ma}}if(i>>>0<=k+1>>>0){break la}d=h-2|0;N[c+12>>2]=d;if(!d){break la}b=O[k+1|0];if(!b){break na}if(b>>>0<=i+(k+1^-1)>>>0){break oa}break la}if(i>>>0<=k+1>>>0){break la}d=h-2|0;N[c+12>>2]=d;if(!d){break la}b=O[k+1|0];if(!b){break na}b=b<<1;if(b>>>0>i+(k+1^-1)>>>0){break la}b=d-b|0;N[c+12>>2]=b;if((b|0)>0){break na}break la}b=d-b|0;N[c+12>>2]=b;d=0;if((b|0)<=0){break ma}}d=1;if(e<<24>>24>=0){break ma}d=275552;ra:{sa:{switch(f|0){case 0:b=O[k+1|0];if(!b){d=275553;break ra}d=(b+k|0)+2|0;break ra;case 1:break sa;default:break ra}}b=O[k+1|0];if(b){b=k+(b<<1)|0}else{b=275552}d=b+2|0}if(Q[c+4>>2]>d>>>0){break la}f=N[c+8>>2];if(f>>>0<=d>>>0){break la}e=N[c+12>>2]-1|0;N[c+12>>2]=e;if((e|0)<=0){break la}b=O[d|0];if(b){b=T(b,3);if(b>>>0>f+(d^-1)>>>0){break la}b=e-b|0;N[c+12>>2]=b;d=0;if((b|0)<=0){break ma}}d=1}break ka}d=0}if(!d){break i}}h=N[c+60>>2];b=O[h|0]|O[h+1|0]<<8;if(b){d=O[h+2|0];b=(b<<8|b>>>8)&65535;e=T(d,b+1|0);b=h+T(b,d)|0;f=0;ta:{ua:{switch(d-1|0){case 0:f=O[b+3|0];break ta;case 1:b=O[b+3|0]|O[b+4|0]<<8;f=(b<<8|b>>>8)&65535;break ta;case 2:f=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break ta;case 3:break ua;default:break ta}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(e+f|0)+2|0}else{b=2}b=b+h|0;N[c+64>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}e=N[c+64>>2];b=O[e|0]|O[e+1|0]<<8;if(b){h=O[e+2|0];b=(b<<8|b>>>8)&65535;f=T(h,b+1|0);b=e+T(b,h)|0;d=0;va:{wa:{switch(h-1|0){case 0:d=O[b+3|0];break va;case 1:b=O[b+3|0]|O[b+4|0]<<8;d=(b<<8|b>>>8)&65535;break va;case 2:d=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break va;case 3:break wa;default:break va}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(d+f|0)+2|0}else{b=2}b=b+e|0;N[c+68>>2]=b;if((b|0)!=275552){if(!Fd(b,c)){break i}}b=N[c+104>>2];b=b?b+q|0:275552;N[c+72>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}b=N[c+72>>2];b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;N[c+216>>2]=b;if((b|0)!=N[c+36>>2]){break i}b=N[c+84>>2];k=0;m=N[j>>2];xa:{if((m|0)>=0){h=(b|0)>0?b:0;if(h>>>0>m>>>0){while(1){m=((m>>>1|0)+m|0)+8|0;if(h>>>0>=m>>>0){continue}break}ya:{if(m>>>0<=178956970){e=kb(T(m,24));if(e){if(N[j+4>>2]){while(1){f=T(k,24);d=f+e|0;i=f+N[j+8>>2]|0;N[d>>2]=N[i>>2];N[d+4>>2]=N[i+4>>2];N[i+4>>2]=0;N[d+8>>2]=N[i+8>>2];N[i+8>>2]=0;N[d+12>>2]=N[i+12>>2];N[i+12>>2]=0;b=N[i+20>>2];N[d+16>>2]=N[i+16>>2];N[d+20>>2]=b;b=f+N[j+8>>2]|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;k=k+1|0;if(k>>>0>2]){continue}break}}_a(N[j+8>>2])}if(e){break ya}}N[j>>2]=-1;b=0;break xa}N[j>>2]=m;N[j+8>>2]=e}d=N[j+4>>2];za:{if(h>>>0>d>>>0){while(1){N[j+4>>2]=d+1;b=N[j+8>>2]+T(d,24)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;d=N[j+4>>2];if(h>>>0>d>>>0){continue}break za}}if(d>>>0<=h>>>0){break za}while(1){b=(N[j+8>>2]+T(d,24)|0)-24|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;d=N[j+4>>2]-1|0;N[j+4>>2]=d;if(d>>>0>h>>>0){continue}break}}N[j+4>>2]=h;b=1}else{b=0}}if(!b){break i}Aa:{if(N[c+84>>2]){i=0;while(1){Ba:{if(Q[c+208>>2]<=i>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break Ba}b=N[c+212>>2]+T(i,24)|0}N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;i=i+1|0;b=N[c+84>>2];if(i>>>0>>0){continue}break}if(N[c+148>>2]==-1){break Aa}if(!b){break h}u=g+36|0;p=g+4188|0;f=0;while(1){gd(g+4152|0,N[c+76>>2],f);d=N[g+4156>>2];if(d){e=N[g+4152>>2];if(e>>>0>2]){break i}b=N[c+8>>2];if(b>>>0>>0|d>>>0>b-e>>>0){break i}b=N[c+12>>2]-d|0;N[c+12>>2]=b;if((b|0)<=0){break i}}L[g+4184|0]=0;C(p,0,4108);N[g+8296>>2]=0;N[g+8300>>2]=0;N[g+4176>>2]=0;b=N[g+4156>>2];N[g+4168>>2]=N[g+4152>>2];N[g+4172>>2]=b;N[g+4148>>2]=g+4168;k=0;Ca:{Da:{Ea:{m=N[n>>2];if((m|0)>=0){e=N[n+4>>2];b=e+1|0;h=(b|0)>0?b:0;if(h>>>0<=m>>>0){break Da}while(1){m=((m>>>1|0)+m|0)+8|0;if(h>>>0>=m>>>0){continue}break}if(m>>>0<=134217727){d=kb(m<<5);if(d){if(N[n+4>>2]){while(1){e=k<<5;j=e+d|0;i=e+N[n+8>>2]|0;N[j>>2]=N[i>>2];N[j+4>>2]=N[i+4>>2];N[i+4>>2]=0;N[j+8>>2]=N[i+8>>2];N[i+8>>2]=0;N[j+12>>2]=N[i+12>>2];N[i+12>>2]=0;b=N[i+28>>2];N[j+24>>2]=N[i+24>>2];N[j+28>>2]=b;b=N[i+20>>2];N[j+16>>2]=N[i+16>>2];N[j+20>>2]=b;b=e+N[n+8>>2]|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;k=k+1|0;if(k>>>0>2]){continue}break}}_a(N[n+8>>2])}if(d){break Ea}}N[n>>2]=-1}N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;e=589824;break Ca}N[n>>2]=m;N[n+8>>2]=d;e=N[n+4>>2]}Fa:{if(e>>>0>>0){while(1){N[n+4>>2]=e+1;b=N[n+8>>2]+(e<<5)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;e=N[n+4>>2];if(h>>>0>e>>>0){continue}break Fa}}if(e>>>0<=h>>>0){break Fa}while(1){b=(N[n+8>>2]+(e<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;e=N[n+4>>2]-1|0;N[n+4>>2]=e;if(e>>>0>h>>>0){continue}break}}N[n+4>>2]=h;e=(N[n+8>>2]+(h<<5)|0)-32|0}if(N[n>>2]<0){break i}N[e>>2]=0;N[e+4>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;N[e+24>>2]=0;N[e+28>>2]=-1;N[e>>2]=0;N[e+4>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;N[e+24>>2]=0;N[e+28>>2]=-1;o=g+4148|0;b=N[o>>2];i=N[b+4>>2];d=N[b+8>>2];while(1){Ga:{j=d+1|0;m=j>>>0>i>>>0;if(m){break Ga}h=N[b>>2];k=O[h+d|0];N[b+8>>2]=j;Ha:{Ia:{Ja:{Ka:{if((k|0)!=12){d=j;break Ka}d=d+2|0;if(i>>>0>>0){k=65535;break Ja}j=O[h+j|0];N[b+8>>2]=d;k=j|256}La:{Ma:{switch(k-261|0){default:if((k|0)!=18){if((k|0)!=294){break Ja}h=b+16|0;i=b+20|0;j=N[i>>2];if(!j){L[h|0]=1;N[147456]=0;N[147457]=0;N[e+28>>2]=0;break La}l=S[h+(j<<3)>>3];Na:{if(V(l)<2147483648){j=~~l;break Na}j=-2147483648}if((j|0)<0){L[h|0]=1;j=0}N[e+28>>2]=j;break La}r=b+16|0;Oa:{i=b+20|0;s=N[i>>2];Pa:{if(!s){N[e+16>>2]=0;break Pa}h=s-1|0;l=S[(r+(h<<3)|0)+8>>3];Qa:{if(V(l)<2147483648){j=~~l;break Qa}j=-2147483648}if((j|0)<0){L[r|0]=1;j=0}N[e+16>>2]=j;if(h){break Oa}}L[r|0]=1;N[147456]=0;N[147457]=0;N[e+20>>2]=0;break La}l=S[(r+(s<<3)|0)-8>>3];Ra:{if(V(l)<2147483648){j=~~l;break Ra}j=-2147483648}if((j|0)<0){L[r|0]=1;j=0}N[e+20>>2]=j;break La;case 1:break Ja;case 0:case 2:break Ma}}i=b+20|0}N[i>>2]=0;break Ia}Je(k,b);if(N[b+20>>2]){break Ha}d=N[b+8>>2]}if(O[b+16|0]|Q[b+4>>2]>>0){break Ha}Sa:{Ta:{Ua:{i=N[e+4>>2];if((i|0)>=0){d=N[e+8>>2];j=d+1|0;j=(j|0)>0?j:0;if(j>>>0<=i>>>0){break Ta}while(1){i=((i>>>1|0)+i|0)+8|0;if(j>>>0>=i>>>0){continue}break}if(i>>>0<=357913941){d=$a(N[e+12>>2],T(i,12));if(d){break Ua}}N[e+4>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;i=589824;break Sa}N[e+4>>2]=i;N[e+12>>2]=d;d=N[e+8>>2]}if(d>>>0>>0){while(1){N[e+8>>2]=d+1;d=N[e+12>>2]+T(d,12)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;d=N[e+8>>2];if(j>>>0>d>>>0){continue}break}}N[e+8>>2]=j;i=(N[e+12>>2]+T(j,12)|0)-12|0}N[i+4>>2]=k;h=N[b+8>>2];d=N[b+4>>2];j=N[e>>2];N[i>>2]=j+N[b>>2];b=d-j|0;d=b>>>0<=d>>>0?b:0;b=h-j|0;L[i+8|0]=b>>>0>d>>>0?d:b;N[e>>2]=h}b=N[o>>2];d=N[b+8>>2];i=N[b+4>>2];if(d>>>0>i>>>0){break Ga}if(!O[b+16|0]){continue}}break}if(!m){break i}Va:{if(Q[c+208>>2]<=f>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break Va}b=N[c+212>>2]+T(f,24)|0}j=N[e+16>>2]+q|0;d=N[e+20>>2];if(d){if(j>>>0>2]){break i}e=N[c+8>>2];if(e>>>0>>0|d>>>0>e-j>>>0){break i}e=N[c+12>>2]-d|0;N[c+12>>2]=e;if((e|0)<=0){break i}}L[g+32|0]=0;C(u,0,4108);N[g+24>>2]=0;N[g+20>>2]=d;N[g+16>>2]=j;N[g+12>>2]=g+16;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;if(!Zp(g+12|0,b)){break i}d=b;b=N[b+16>>2];b=b?b+j|0:275552;N[d+20>>2]=b;if((b|0)!=275552){if(!Fd(b,c)){break i}}f=f+1|0;if(f>>>0>2]){continue}break}break h}if(N[c+148>>2]!=-1){break h}}Wa:{if(!N[c+208>>2]){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break Wa}b=N[c+212>>2]}d=N[c+180>>2]+q|0;e=N[c+184>>2];if(e){if(d>>>0>2]){break i}f=N[c+8>>2];if(f>>>0>>0|e>>>0>f-d>>>0){break i}f=N[c+12>>2]-e|0;N[c+12>>2]=f;if((f|0)<=0){break i}}L[g+4184|0]=0;C(g+4188|0,0,4108);N[g+4176>>2]=0;N[g+4172>>2]=e;N[g+4168>>2]=d;N[g+16>>2]=g+4168;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;if(!Zp(g+16|0,b)){break i}f=b;b=N[b+16>>2];b=b?b+d|0:275552;N[f+20>>2]=b;if((b|0)==275552){break h}if(Fd(b,c)){break h}break i}Je(b,g+4168|0);i=N[g+4172>>2];e=N[g+4176>>2];if(N[g+4188>>2]){break l}f=O[g+4184|0]}if(f&255|e>>>0>i>>>0){break l}Xa:{Ya:{Za:{f=N[c+92>>2];if((f|0)>=0){k=N[c+96>>2];d=k+1|0;if(f>>>0>=d>>>0){o=N[c+100>>2];break Ya}while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=d>>>0){continue}break}if(f>>>0<=268435455){o=$a(N[c+100>>2],f<<4);if(o){break Za}}N[c+92>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;f=589824;break Xa}N[c+92>>2]=f;N[c+100>>2]=o;k=N[c+96>>2];d=k+1|0}N[c+96>>2]=d;f=(k<<4)+o|0;N[f+12>>2]=m;L[f+8|0]=0;N[f>>2]=0;i=N[g+4172>>2];e=N[g+4176>>2]}N[f+4>>2]=b;d=N[c+88>>2];N[f>>2]=d+N[g+4168>>2];k=f;b=i-d|0;f=b>>>0<=i>>>0?b:0;b=e-d|0;L[k+8|0]=b>>>0>f>>>0?f:b;N[c+88>>2]=e}if(e>>>0>i>>>0){break i}if(!O[g+4184|0]){continue}break}}mj(c)}La=g+8304|0;break b}break d}break c}}ba(16656,14279,195,9642);B()}ba(23506,14099,260,16403);B()}N[c+220>>2]=0;if(!N[a>>2]){N[a>>2]=c;return c}mj(c);_a(nq(c));b=N[a>>2];if(!b){continue}break}}return b}function CE(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=279;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];j:{k:{l:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break k}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break l}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break j}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=280;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1853188980;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1634429038;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];v:{w:{x:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break w}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break x}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break v}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break A}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break C}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break B}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break G}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1919644262;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];H:{I:{J:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break I}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break J}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break H}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];N:{O:{P:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break O}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break P}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break N}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break S}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];T:{U:{V:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break U}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break V}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break T}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];Z:{_:{$:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break _}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break $}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break Z}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];aa:{ba:{ca:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ba}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ca}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break aa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1751215206;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];da:{ea:{fa:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break ea}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break fa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break da}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ga:{ha:{ia:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ia}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ga}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];ja:{ka:{la:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break ka}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break la}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break ja}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ma:{na:{oa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break oa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ma}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1986098293;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];pa:{qa:{ra:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break qa}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break ra}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break pa}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];sa:{ta:{ua:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ua}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break sa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1667916660;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];va:{wa:{xa:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break wa}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break xa}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break va}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;ya:{za:{Aa:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break za}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break Aa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break ya}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=281;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];Ba:{Ca:{Da:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Da}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ba}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1768843636;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ea:{Fa:{Ga:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ga}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ea}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ha:{Ia:{Ja:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ja}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ha}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ka:{La:{Ma:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break La}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ma}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ka}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Na:{Oa:{Pa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Pa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Na}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Qa:{Ra:{Sa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Sa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Qa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1751215214;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Oq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,G=0,H=0;w=La-176|0;La=w;a:{v=N[a+112>>2];x=L[v+36|0]&1;if(!x){break a}while(1){b:{e=N[v+32>>2];if(!e){s=0;t=0;d=La-6752|0;La=d;u=275552;c:{d:{e:{f:{g:{h:{q=db(1,260);i:{if(!q){break i}j:{f=N[a+44>>2];if((f|0)<=0){break j}z=d+1132|0;n=d+4988|0;A=d+464|0;D=d+4448|0;E=d+496|0;r=d+4476|0;while(1){k:{l:{if((f|0)>0){k=N[(t<<2)+239840>>2];j=N[a+48>>2];f=f-1|0;g=0;while(1){i=f+g>>>1|0;h=j+T(i,36)|0;e=N[h>>2];m:{if(e>>>0>k>>>0){f=i-1|0;break m}if(e>>>0>=k>>>0){break l}g=i+1|0}if((f|0)>=(g|0)){continue}break}}N[((s<<2)+q|0)+8>>2]=0;break k}y=(s<<2)+q|0;e=N[h+28>>2];N[y+8>>2]=e;if(!e){break k}n:{o:{p:{q:{r:{if(t>>>0<=3){f=1569;j=0;while(1){e=P[((f<<3)+(t<<1)|0)+227320>>1];s:{if(!e){break s}N[d+288>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];l=d+288|0;h=N[h+12>>2];if(h){g=N[h+8>>2]}else{g=0}if(!(Qa[k|0](b,i,f,l,g)|0)){break s}N[d+4448>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];l=d+4448|0;h=N[h+12>>2];if(h){g=N[h+8>>2]}else{g=0}if(!(Qa[k|0](b,i,e,l,g)|0)){break s}g=N[d+288>>2];h=N[d+4448>>2];if((g|0)==(h|0)|(g|h)>>>0>65535){break s}e=j<<1;M[e+(d+5968|0)>>1]=h<<8|(h&65280)>>>8;M[e+(d+4960|0)>>1]=g<<8|(g&65280)>>>8;j=j+1|0}f=f+1|0;if((f|0)!=1748){continue}break}h=1;e=0;t:{switch(j|0){default:while(1){k=h<<1;l=k+(d+4960|0)|0;f=h;while(1){u:{e=f;if(!e){e=0;break u}f=e-1|0;i=P[(d+4960|0)+(f<<1)>>1];g=P[l>>1];if(((i<<8|i>>>8)&65535)>>>0<((g<<8|g>>>8)&65535)>>>0){break u}if((g|0)!=(i|0)){continue}}break}if((e|0)!=(h|0)){i=P[l>>1];m=e<<1;p=m+2|0;f=d+4960|0;l=f+m|0;g=h-e<<1;F(f+p|0,l,g);M[l>>1]=i;e=d+5968|0;f=P[e+k>>1];i=e+p|0;e=e+m|0;F(i,e,g);M[e>>1]=f}h=h+1|0;if((j|0)!=(h|0)){continue}break};break;case 0:break n;case 1:break t}}N[d+4460>>2]=z;N[d+4448>>2]=d+288;N[r+24>>2]=0;N[r+28>>2]=0;N[r+16>>2]=0;N[r+20>>2]=0;N[r+8>>2]=0;N[r+12>>2]=0;N[r>>2]=0;N[r+4>>2]=0;N[d+4524>>2]=0;N[d+4508>>2]=1;N[d+4512>>2]=1;N[d+4536>>2]=0;N[d+4528>>2]=0;N[d+4532>>2]=0;N[d+4516>>2]=0;N[d+4520>>2]=1;zf(d+4448|0);if(N[d+4492>>2]){break h}o=1;e=d+4448|0;p=ad(e);if(!Bf(p,e,1,8)){break o}m=ad(d+4448|0);if(N[d+4472>>2]){break p}if(m>>>0>2]){break g}g=N[d+4452>>2];if(m>>>0>g>>>0){break f}if(g-m>>>0>=3){break e}l=m+2|0;e=l-g|0;if((e|0)<0|(e|0)>(N[d+4456>>2]-g|0)){break q}if((g|0)!=(l|0)){C(g,0,e);g=N[d+4452>>2]}N[d+4452>>2]=e+g;if(!g|!m){break p}v:{w:{if(!j){break w}e=P[d+5968>>1];f=e<<8|e>>>8;e=P[d+4960>>1];i=f-(e<<8|e>>>8)|0;f=j-1|0;if(f){g=d+4960|0;e=d+5968|0;while(1){h=O[e+2|0]|O[e+3|0]<<8;k=h<<8|h>>>8;h=O[g+2|0]|O[g+3|0]<<8;if((i&65535)!=(k-(h<<8|h>>>8)&65535)){break w}e=e+2|0;g=g+2|0;f=f-1|0;if(f){continue}break}}L[m|0]=0;L[m+1|0]=1;N[d+216>>2]=241304;N[d+212>>2]=0;N[d+208>>2]=j;N[d+200>>2]=0;N[d+196>>2]=j;N[d+204>>2]=d+5968;N[d+192>>2]=d+4960;if(N[d+4472>>2]){break p}if(m>>>0>2]){break g}h=N[d+4452>>2];if(h>>>0>>0){break f}if(h-m>>>0>=7){break e}e=m+6|0;f=e-h|0;if((f|0)<0|(f|0)>(N[d+4456>>2]-h|0)){break q}if((e|0)!=(h|0)){C(h,0,f);e=N[d+4452>>2]}N[d+4452>>2]=e+f;if(!e){break p}if(!uj(l,d+4448|0,d+192|0)){break p}e=i<<8|(i&65280)>>>8;L[m+4|0]=e;L[m+5|0]=e>>>8;break v}L[m|0]=0;L[m+1|0]=2;N[d+216>>2]=241304;N[d+212>>2]=0;N[d+208>>2]=j;N[d+200>>2]=0;N[d+196>>2]=j;N[d+204>>2]=d+5968;N[d+192>>2]=d+4960;if(N[d+4472>>2]){break p}if(m>>>0>2]){break g}g=N[d+4452>>2];if(m>>>0>g>>>0){break f}if(g-m>>>0>=7){break e}h=4;e=m+6|0;f=e-g|0;if((f|0)<0|(f|0)>(N[d+4456>>2]-g|0)){break r}if((e|0)!=(g|0)){C(g,0,f);g=N[d+4452>>2]}i=f+g|0;N[d+4452>>2]=i;if(N[d+4472>>2]|!g){break p}g=m+4|0;if(g>>>0>2]){break g}if(g>>>0>i>>>0){break f}if(i-g>>>0>=3){break e}f=e-i|0;if((f|0)<0|(f|0)>(N[d+4456>>2]-i|0)){break r}if((e|0)!=(i|0)){C(i,0,f);e=N[d+4452>>2]}N[d+4452>>2]=e+f;if(!e){break p}e=j<<8|(j&65280)>>>8;L[g|0]=e;L[g+1|0]=e>>>8;e=N[d+4472>>2];if(j>>>0>=65536){h=e|16;break r}if(e){break p}if(g>>>0>2]){break g}f=N[d+4452>>2];if(f>>>0>>0){break f}e=(j<<1&131070)+2|0;if(e>>>0>>0){break e}e=(e+g|0)-f|0;if((e|0)<0|(e|0)>(N[d+4456>>2]-f|0)){break r}N[d+4452>>2]=e+f;if(!f){break p}if(j){f=0;h=d+5968|0;g=j;e=g;while(1){i=g?h:589824;x:{if(!(!g|!e)){k=m+(f<<1)|0;i=O[i|0]|O[i+1|0]<<8;L[k+6|0]=i;L[k+7|0]=i>>>8;e=e-1|0;i=1;break x}M[294912]=0;k=m+(f<<1)|0;i=O[i|0]|O[i+1|0]<<8;L[k+6|0]=i;L[k+7|0]=i>>>8;e=(e?-1:0)+e|0;i=1;if(g){break x}i=0}g=g-i|0;h=(i<<1)+h|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(!uj(l,d+4448|0,d+192|0)){break p}}e=d+4448|0;y:{if(!(O[p+4|0]|O[p+5|0]<<8)){M[294912]=0;f=589824;break y}f=p+6|0}de(e,f,Cc(e,1));o=0;break o}z:{A:{B:{C:{D:{E:{switch(t-4|0){case 0:f=0;N[d+288>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[j|0](b,g,65247,h,e)|0)){e=0;break n}N[d+6720>>2]=0;e=P[d+288>>1];M[d+6704>>1]=e<<8|e>>>8;N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];g=0;h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64904,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[j|0](b,g,65252,h,e)|0){e=P[d+4960>>1];M[d+6640>>1]=e<<8|e>>>8;f=1}N[d+4960>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[j|0](b,g,65188,h,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[d+6480>>2]=3;N[d+6720>>2]=1;e=P[d+288>>1];M[d+6736>>1]=e<<8|e>>>8;g=1}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,61953,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65248,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65258,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[(d+6480|0)+(g<<2)>>2]=3;e=P[d+288>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0;N[d+6720>>2]=g}e=0;N[d+288>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];j=d+288|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}F:{if(!(Qa[k|0](b,i,61969,j,h)|0)){if(g){break F}break n}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65252,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65184,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[(d+6480|0)+(g<<2)>>2]=3;e=P[d+288>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0;N[d+6720>>2]=g}N[d+4972>>2]=A;N[d+4960>>2]=d+288;N[n+24>>2]=0;N[n+28>>2]=0;N[n+16>>2]=0;N[n+20>>2]=0;N[n+8>>2]=0;N[n+12>>2]=0;N[n>>2]=0;N[n+4>>2]=0;N[d+5036>>2]=0;N[d+5020>>2]=1;N[d+5024>>2]=1;N[d+5048>>2]=0;N[d+5040>>2]=0;N[d+5044>>2]=0;N[d+5028>>2]=0;N[d+5032>>2]=1;zf(d+4960|0);if(N[d+5004>>2]){break h}h=1;e=d+4960|0;j=ad(e);if(!Bf(j,e,4,8)){break z}i=ad(d+4960|0);N[d+6564>>2]=1;N[d+6568>>2]=0;N[d+6560>>2]=d+6704;N[d+200>>2]=0;N[d+196>>2]=g;N[d+192>>2]=d+6736;N[d+4456>>2]=0;N[d+4452>>2]=g;N[d+4448>>2]=d+6480;N[d+5976>>2]=0;N[d+5972>>2]=f;N[d+5968>>2]=d+6640;if(N[d+4984>>2]){break A}if(i>>>0>2]){break g}f=N[d+4964>>2];if(i>>>0>f>>>0){break f}if(f-i>>>0>=3){break e}e=i+2|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[d+4968>>2]-f|0))){N[d+4984>>2]=4;break A}if((e|0)!=(f|0)){C(f,0,g);f=N[d+4964>>2]}N[d+4964>>2]=f+g;if(!i|!f){break A}L[i|0]=0;L[i+1|0]=1;N[d+56>>2]=N[d+6568>>2];N[d+40>>2]=N[d+200>>2];N[d+24>>2]=N[d+4456>>2];N[d+8>>2]=N[d+5976>>2];e=N[d+6564>>2];N[d+48>>2]=N[d+6560>>2];N[d+52>>2]=e;e=N[d+196>>2];N[d+32>>2]=N[d+192>>2];N[d+36>>2]=e;e=N[d+4452>>2];N[d+16>>2]=N[d+4448>>2];N[d+20>>2]=e;e=N[d+5972>>2];N[d>>2]=N[d+5968>>2];N[d+4>>2]=e;if(!Pg(i,d+4960|0,d+48|0,d+6720|0,1,d+32|0,d+16|0,d)){break A}e=d+4960|0;G:{if(!(O[j+4|0]|O[j+5|0]<<8)){M[294912]=0;f=589824;break G}f=j+6|0}de(e,f,Cc(e,1));h=0;break z;case 1:o=0;f=0;while(1){N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];g=N[b+100>>2];h=P[T(f,58)+241328>>1];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,g,h,j,e)|0){e=P[d+288>>1];M[(d+6640|0)+(o<<1)>>1]=e<<8|e>>>8;e=o<<2;N[e+(d+6480|0)>>2]=0;N[e+(d+6560|0)>>2]=f;o=o+1|0}f=f+1|0;if((f|0)!=18){continue}break};break B;case 2:f=0;N[d+288>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[j|0](b,g,1617,h,e)|0)){e=0;break n}g=0;N[d+6720>>2]=0;e=P[d+288>>1];M[d+6704>>1]=e<<8|e>>>8;N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64606,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];j=N[e+28>>2];f=N[b+100>>2];h=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[j|0](b,f,1612,h,e)|0){e=P[d+4960>>1];M[d+6736>>1]=e<<8|e>>>8;g=1}N[d+5968>>2]=2;N[d+6720>>2]=1;e=P[d+288>>1];M[d+6640>>1]=e<<8|e>>>8;f=1}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64608,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1614,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64609,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1615,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64610,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1616,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|0)+(f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}e=0;N[d+288>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];j=d+288|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}H:{if(!(Qa[k|0](b,i,62190,j,h)|0)){if(f){break H}break n}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1611,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|0)+(f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}N[d+4972>>2]=E;N[d+4960>>2]=d+288;N[n+24>>2]=0;N[n+28>>2]=0;N[n+16>>2]=0;N[n+20>>2]=0;N[n+8>>2]=0;N[n+12>>2]=0;N[n>>2]=0;N[n+4>>2]=0;N[d+5036>>2]=0;N[d+5020>>2]=1;N[d+5024>>2]=1;N[d+5048>>2]=0;N[d+5040>>2]=0;N[d+5044>>2]=0;N[d+5028>>2]=0;N[d+5032>>2]=1;zf(d+4960|0);if(N[d+5004>>2]){break h}h=1;e=d+4960|0;j=ad(e);if(!Bf(j,e,4,0)){break C}i=ad(d+4960|0);N[d+6484>>2]=1;N[d+6488>>2]=0;N[d+6480>>2]=d+6704;N[d+6568>>2]=0;N[d+6564>>2]=f;N[d+6560>>2]=d+6640;N[d+200>>2]=0;N[d+196>>2]=f;N[d+192>>2]=d+5968;N[d+4456>>2]=0;N[d+4452>>2]=g;N[d+4448>>2]=d+6736;if(N[d+4984>>2]){break D}if(i>>>0>2]){break g}f=N[d+4964>>2];if(i>>>0>f>>>0){break f}if(f-i>>>0>=3){break e}e=i+2|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[d+4968>>2]-f|0))){N[d+4984>>2]=4;break D}if((e|0)!=(f|0)){C(f,0,g);f=N[d+4964>>2]}N[d+4964>>2]=f+g;if(!i|!f){break D}L[i|0]=0;L[i+1|0]=1;N[d+184>>2]=N[d+6488>>2];N[d+168>>2]=N[d+6568>>2];N[d+152>>2]=N[d+200>>2];N[d+136>>2]=N[d+4456>>2];e=N[d+6484>>2];N[d+176>>2]=N[d+6480>>2];N[d+180>>2]=e;e=N[d+6564>>2];N[d+160>>2]=N[d+6560>>2];N[d+164>>2]=e;e=N[d+196>>2];N[d+144>>2]=N[d+192>>2];N[d+148>>2]=e;e=N[d+4452>>2];N[d+128>>2]=N[d+4448>>2];N[d+132>>2]=e;if(!Pg(i,d+4960|0,d+176|0,d+6720|0,1,d+160|0,d+144|0,d+128|0)){break D}e=d+4960|0;I:{if(!(O[j+4|0]|O[j+5|0]<<8)){M[294912]=0;f=589824;break I}f=j+6|0}de(e,f,Cc(e,1));h=0;break C;default:break E}}ba(15473,14202,212,12255);B()}$c(d+4960|0)}J:{K:{f=N[d+4984>>2];if(!f&N[d+5008>>2]<0){break K}if(!f){if(!(L[d+5032|0]&1)){break K}e=0;f=N[d+5004>>2];g=0;L:{if(!f){break L}if(N[f+32>>2]){break d}g=0;if(Q[d+5012>>2]<2){break L}f=d+4960|0;Cc(f,0);yf(f);g=N[d+4984>>2]}if(g|h){break J}j=N[d+4972>>2];l=N[d+4968>>2];g=j-l|0;h=N[d+4964>>2];k=N[d+4960>>2];i=h-k|0;f=g+i|0;if(!f){break J}f=kb(f);if(!f){break J}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break J}e=0;if(!(f&2)|!N[d+5004>>2]){break J}N[d+4984>>2]=f|1;break J}N[d+4984>>2]=1;e=0}xf(d+4960|0);break n}h=1;if(o>>>0>=2){while(1){i=(d+6640|0)+(h<<1)|0;f=h;while(1){M:{e=f;if(!e){e=0;break M}f=e-1|0;j=P[(d+6640|0)+(f<<1)>>1];g=P[i>>1];if(((j<<8|j>>>8)&65535)>>>0<((g<<8|g>>>8)&65535)>>>0){break M}if((g|0)!=(j|0)){continue}}break}if((e|0)!=(h|0)){i=P[i>>1];f=d+6640|0;k=f+(e<<1)|0;j=e+1|0;g=h-e|0;F(f+(j<<1)|0,k,g<<1);M[k>>1]=i;i=d+6560|0;f=N[i+(h<<2)>>2];e=i+(e<<2)|0;F(i+(j<<2)|0,e,g<<2);N[e>>2]=f}h=h+1|0;if((o|0)!=(h|0)){continue}break}}e=0;j=0;h=0;if(!o){break n}while(1){f=h<<2;k=f+(d+6480|0)|0;G=N[f+(d+6560|0)>>2];f=0;while(1){N[d+288>>2]=0;g=N[b+96>>2];m=N[g+28>>2];i=N[b+100>>2];l=T(G,58)+(f<<2)|0;p=P[l+241332>>1];H=d+288|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}if(Qa[m|0](b,i,p,H,g)|0){g=P[l+241330>>1];N:{if(!g){break N}N[d+192>>2]=0;i=N[b+96>>2];p=N[i+28>>2];l=N[b+100>>2];m=d+192|0;i=N[i+12>>2];if(i){i=N[i+8>>2]}else{i=0}if(!(Qa[p|0](b,l,g,m,i)|0)){break N}g=P[d+192>>1];M[(d+4448|0)+(j<<1)>>1]=g<<8|g>>>8;j=j+1|0}N[(d+4960|0)+(e<<2)>>2]=2;g=P[d+288>>1];M[(d+5968|0)+(e<<1)>>1]=g<<8|g>>>8;N[k>>2]=N[k>>2]+1;e=e+1|0}f=f+1|0;if((f|0)!=14){continue}break}h=h+1|0;if((o|0)!=(h|0)){continue}break}if(!e){e=0;break n}N[d+204>>2]=D;N[d+192>>2]=d+288;N[d+244>>2]=0;N[d+248>>2]=0;N[d+236>>2]=0;N[d+240>>2]=0;N[d+228>>2]=0;N[d+232>>2]=0;N[d+220>>2]=0;N[d+224>>2]=0;N[d+268>>2]=0;N[d+252>>2]=1;N[d+256>>2]=1;N[d+280>>2]=0;N[d+272>>2]=0;N[d+276>>2]=0;N[d+260>>2]=0;N[d+264>>2]=1;zf(d+192|0);O:{P:{if(!N[d+236>>2]){h=1;f=d+192|0;i=ad(f);if(!Bf(i,f,4,8)){break O}k=ad(d+192|0);N[d+6696>>2]=0;N[d+6692>>2]=o;N[d+6688>>2]=d+6640;N[d+6712>>2]=0;N[d+6708>>2]=e;N[d+6704>>2]=d+5968;N[d+6728>>2]=0;N[d+6724>>2]=e;N[d+6720>>2]=d+4960;N[d+6744>>2]=0;N[d+6740>>2]=j;N[d+6736>>2]=d+4448;if(N[d+216>>2]){break P}if(k>>>0>2]){break g}f=N[d+196>>2];if(k>>>0>f>>>0){break f}if(f-k>>>0>=3){break e}e=k+2|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[d+200>>2]-f|0))){N[d+216>>2]=4;break P}if((e|0)!=(f|0)){C(f,0,g);f=N[d+196>>2]}N[d+196>>2]=f+g;if(!k|!f){break P}L[k|0]=0;L[k+1|0]=1;N[d+120>>2]=N[d+6696>>2];N[d+104>>2]=N[d+6712>>2];N[d+88>>2]=N[d+6728>>2];N[d+72>>2]=N[d+6744>>2];e=N[d+6692>>2];N[d+112>>2]=N[d+6688>>2];N[d+116>>2]=e;e=N[d+6708>>2];N[d+96>>2]=N[d+6704>>2];N[d+100>>2]=e;e=N[d+6724>>2];N[d+80>>2]=N[d+6720>>2];N[d+84>>2]=e;e=N[d+6740>>2];N[d+64>>2]=N[d+6736>>2];N[d+68>>2]=e;if(!Pg(k,d+192|0,d+112|0,d+6480|0,o,d+96|0,d+80|0,d- -64|0)){break P}e=d+192|0;Q:{if(!(O[i+4|0]|O[i+5|0]<<8)){M[294912]=0;f=589824;break Q}f=i+6|0}de(e,f,Cc(e,1));h=0;break O}break h}$c(d+192|0)}R:{S:{f=N[d+216>>2];if(!f&N[d+240>>2]<0){break S}if(!f){if(!(L[d+264|0]&1)){break S}e=0;f=N[d+236>>2];g=0;T:{if(!f){break T}if(N[f+32>>2]){break d}g=0;if(Q[d+244>>2]<2){break T}f=d+192|0;Cc(f,0);yf(f);g=N[d+216>>2]}if(g|h){break R}j=N[d+204>>2];l=N[d+200>>2];g=j-l|0;h=N[d+196>>2];k=N[d+192>>2];i=h-k|0;f=g+i|0;if(!f){break R}f=kb(f);if(!f){break R}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break R}e=0;if(!(f&2)|!N[d+236>>2]){break R}N[d+216>>2]=f|1;break R}N[d+216>>2]=1;e=0}xf(d+192|0);break n}$c(d+4960|0)}U:{V:{f=N[d+4984>>2];if(!f&N[d+5008>>2]<0){break V}if(!f){if(!(L[d+5032|0]&1)){break V}e=0;f=N[d+5004>>2];g=0;W:{if(!f){break W}if(N[f+32>>2]){break d}g=0;if(Q[d+5012>>2]<2){break W}f=d+4960|0;Cc(f,0);yf(f);g=N[d+4984>>2]}if(g|h){break U}j=N[d+4972>>2];l=N[d+4968>>2];g=j-l|0;h=N[d+4964>>2];k=N[d+4960>>2];i=h-k|0;f=g+i|0;if(!f){break U}f=kb(f);if(!f){break U}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break U}e=0;if(!(f&2)|!N[d+5004>>2]){break U}N[d+4984>>2]=f|1;break U}N[d+4984>>2]=1;e=0}xf(d+4960|0);break n}N[d+4472>>2]=h;break p}N[d+4472>>2]=4}$c(d+4448|0)}X:{Y:{f=N[d+4472>>2];if(!f&N[d+4496>>2]<0){break Y}if(!f){if(!(L[d+4520|0]&1)){break Y}e=0;f=N[d+4492>>2];g=0;Z:{if(!f){break Z}if(N[f+32>>2]){break d}g=0;if(Q[d+4500>>2]<2){break Z}f=d+4448|0;Cc(f,0);yf(f);g=N[d+4472>>2]}if(g|o){break X}j=N[d+4460>>2];l=N[d+4456>>2];g=j-l|0;h=N[d+4452>>2];k=N[d+4448>>2];i=h-k|0;f=g+i|0;if(!f){break X}f=kb(f);if(!f){break X}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break X}e=0;if(!(f&2)|!N[d+4492>>2]){break X}N[d+4472>>2]=f|1;break X}N[d+4472>>2]=1;e=0}xf(d+4448|0)}N[y+36>>2]=e;if(!e){break k}sk((T(s,28)+q|0)- -64|0,e);s=s+1|0}t=t+1|0;if((t|0)!=7){f=N[a+44>>2];continue}break}L[q+4|0]=1;N[q>>2]=s;if(!s){break j}u=q;break i}_a(q)}La=d+6752|0;e=u;break c}ba(9270,14296,271,15396);B()}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}ba(8458,14296,293,15412);B()}if(N[v+32>>2]){break b}N[v+32>>2]=e}a=Ec(w+12|0,0,b,c);b=N[e>>2];if(b){c=0;while(1){f=(c<<2)+e|0;u=N[f+36>>2];if(u){b=N[f+8>>2];N[a+32>>2]=0;N[a+132>>2]=b;N[a+24>>2]=0;N[a+28>>2]=0;n=N[a+140>>2];N[a+12>>2]=n;f=N[a+84>>2]==1;L[a+20|0]=f;L[a+21|0]=O[a+150|0];N[a+16>>2]=b;N[a+72>>2]=0;b=O[a+151|0];L[a+22|0]=b;N[a+64>>2]=0;N[a+68>>2]=0;N[a+52>>2]=n;N[a+8>>2]=a;N[a+48>>2]=a;L[a+61|0]=1;N[a+56>>2]=-1;L[a+62|0]=b;L[a+60|0]=f|O[a+149|0]!=0;Mj(a,u,(T(c,28)+e|0)- -64|0);b=N[e>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}_a(N[a+112>>2]);break a}h=0;if(!(!e|!N[e>>2])){while(1){f=(h<<2)+e|0;_:{if(!N[f+36>>2]){break _}n=T(h,28)+e|0;if(N[n+80>>2]){N[n+80>>2]=0}_a(N[n+84>>2]);N[n+80>>2]=0;N[n+84>>2]=0;N[n+76>>2]=0;if(!O[e+4|0]){break _}_a(N[f+36>>2])}h=h+1|0;if(h>>>0>2]){continue}break}_a(e)}continue}}La=w+176|0;return x|0}function Xj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0;a:{b:{c:{d:{e:{while(1){f:{if((c|0)!=7){g:{switch(c-1|0){case 0:h:{i:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break h;case 0:break i;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}f=O[a+4|0]|O[a+5|0]<<8;c=0;j:{k:{l:{m:{a=d;d=O[d|0]|O[d+1|0]<<8;k=d<<8|d>>>8;d=(k&65535)-1|0;switch(d|0){case 0:break l;case 1:break m;default:break k}}e=241305;h=256;n:{if(!(O[a+2|0]|O[a+3|0]<<8)){d=0;break n}e=a+4|0;d=O[e|0]|O[e+1|0]<<8;d=d<<8|d>>>8;if(O[a+2|0]|O[a+3|0]<<8){j=O[a+4|0]|O[a+5|0]<<8;h=j<<8|j>>>8;if(O[a+2|0]|O[a+3|0]<<8){break n}}e=241305}j=O[e+2|0]|O[e+3|0]<<8;if((h&65535)>>>0<=((j<<8|j>>>8)&65535)>>>0){e=d&65535;break l}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;e=0}a=a+2|0;break j}if(d>>>0>1){break a}a=2}d=f<<8|f>>>8;h=d&65535;j=N[b+20>>2];o:{switch((k&65535)-1|0){case 1:b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}d=0;while(1){tc(j,e+h&65535);b=O[a|0]|O[a+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=c>>>0?241305:(a+T(c,6)|0)+2|0;b=O[b+2|0]|O[b+3|0]<<8;p:{if(((b<<8|b>>>8)&65535)>>>0<=e>>>0){e=0;c=c+1|0;b=O[a|0]|O[a+1|0]<<8;if(c>>>0>=((b<<8|b>>>8)&65535)>>>0){break p}b=(a+T(c,6)|0)+2|0;k=d+1|0;f=O[a|0]|O[a+1|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=c>>>0?241305:b;d=O[f+4|0]|O[f+5|0]<<8;d=(d<<8|d>>>8)&65535;if((k|0)==(d|0)){b=O[b|0]|O[b+1|0]<<8;e=(b<<8|b>>>8)&65535;break p}b=O[a|0]|O[a+1|0]<<8;c=(b<<8|b>>>8)&65535;break p}e=e+1|0;d=d+1|0}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>c>>>0){continue}break};break a;case 0:break b;default:break o}}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}while(1){tc(j,h);b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>c>>>0){continue}break}break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}else{f=275552}c=0;q:{r:{s:{t:{k=O[f|0]|O[f+1|0]<<8;j=((k<<8|(k&65280)>>>8)&65535)-1|0;switch(j|0){case 1:break s;case 0:break t;default:break q}}d=0;break r}e=241305;h=256;u:{if(!(O[f+2|0]|O[f+3|0]<<8)){break u}e=f+4|0;d=O[e|0]|O[e+1|0]<<8;d=d<<8|d>>>8;if(O[f+2|0]|O[f+3|0]<<8){h=O[f+4|0]|O[f+5|0]<<8;h=h<<8|h>>>8;if(O[f+2|0]|O[f+3|0]<<8){break u}}e=241305}e=O[e+2|0]|O[e+3|0]<<8;d=d&65535;if((h&65535)>>>0<=((e<<8|e>>>8)&65535)>>>0){break r}c=O[f+2|0]|O[f+3|0]<<8;c=(c<<8|c>>>8)&65535;d=0}h=d;e=f}if(j>>>0>1){break a}d=O[a+4|0]|O[a+5|0]<<8;g=(d<<8|(d&65280)>>>8)&65535;i=a+6|0;f=N[b+20>>2];j=0;b=(d|0)!=0;d=e+2|0;a=O[d|0]|O[d+1|0]<<8;a=b&((a<<8|a>>>8)&65535)>>>0>c>>>0;if((k|0)==256){break c}if(!a){break a}while(1){a=O[i|0]|O[i+1|0]<<8;tc(f,(a<<8|a>>>8)&65535);a=O[d|0]|O[d+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=c>>>0?241305:(d+T(c,6)|0)+2|0;a=O[a+2|0]|O[a+3|0]<<8;v:{if(((a<<8|a>>>8)&65535)>>>0<=h>>>0){h=0;c=c+1|0;a=O[d|0]|O[d+1|0]<<8;if(c>>>0>=((a<<8|a>>>8)&65535)>>>0){break v}a=(d+T(c,6)|0)+2|0;k=j+1|0;b=O[d|0]|O[d+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=c>>>0?241305:a;b=O[b+4|0]|O[b+5|0]<<8;j=(b<<8|b>>>8)&65535;if((k|0)==(j|0)){a=O[a|0]|O[a+1|0]<<8;h=(a<<8|a>>>8)&65535;break v}a=O[d|0]|O[d+1|0]<<8;c=(a<<8|a>>>8)&65535;break v}h=h+1|0;j=j+1|0}a=O[d|0]|O[d+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=c>>>0){break a}i=i+2|0;g=g-1|0;if(g){continue}break};break a;case 1:if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}w:{x:{y:{z:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;t=d<<8|d>>>8;d=(t&65535)-1|0;switch(d|0){case 0:break y;case 1:break z;default:break x}}e=241305;g=256;A:{if(!(O[c+2|0]|O[c+3|0]<<8)){break A}e=c+4|0;d=O[e|0]|O[e+1|0]<<8;h=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){d=O[c+4|0]|O[c+5|0]<<8;g=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){break A}}e=241305}d=O[e+2|0]|O[e+3|0]<<8;if((g&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){f=h&65535;break y}d=O[c+2|0]|O[c+3|0]<<8;j=(d<<8|d>>>8)&65535}h=c+2|0;break w}if(d>>>0>1){break a}h=2}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}s=(c<<8|(c&65280)>>>8)&65535;g=a+6|0;d=0;while(1){c=O[g|0]|O[g+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}k=O[c|0]|O[c+1|0]<<8;e=(k<<8|k>>>8)&65535;i=c+2|0;c=N[b+20>>2];n=c+12|0;B:{if(O[c+48|0]){Ef(n,i,e,2);break B}if(!k|!O[n|0]){break B}N[c+16>>2]=-1;c=O[i|0]|O[i+1|0]<<8;c=(c<<8|c>>>8)&65535;C:while(1){o=wc(n,c);if(!o){break B}p=c&65024;l=p+512|0;while(1){k=o+(c>>>3&56)|0;r=N[k+4>>2];m=c&63;c=m&31;if((m&63)>>>0>=32){m=1<>>32-c}N[k>>2]=q|N[k>>2];N[k+4>>2]=m|r;e=e-1|0;if(!e){break B}c=O[i+2|0]|O[i+3|0]<<8;i=i+2|0;c=(c<<8|c>>>8)&65535;if(p>>>0>c>>>0){continue C}if(c>>>0>>0){continue}break}continue}}D:{E:{switch((t&65535)-1|0){case 0:j=j+1|0;break D;case 1:break E;default:break D}}c=O[h|0]|O[h+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=j>>>0?241305:(h+T(j,6)|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=f>>>0){f=0;j=j+1|0;c=O[h|0]|O[h+1|0]<<8;if(j>>>0>=((c<<8|c>>>8)&65535)>>>0){break D}c=(h+T(j,6)|0)+2|0;k=d+1|0;e=O[h|0]|O[h+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=j>>>0?241305:c;d=O[e+4|0]|O[e+5|0]<<8;d=(d<<8|d>>>8)&65535;if((k|0)==(d|0)){c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)&65535;break D}c=O[h|0]|O[h+1|0]<<8;j=(c<<8|c>>>8)&65535;break D}f=f+1|0;d=d+1|0}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}g=g+2|0;s=s-1|0;if(s){continue}break};break a;case 4:Wj(a,b);break a;case 2:break d;case 3:break e;case 5:break f;case 7:break g;default:break a}}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=0;f=a+4|0;j=O[a+4|0]|O[a+5|0]<<8;if(j){c=(j<<8|j>>>8)&65535;e=c>>>0<=1?1:c;c=0;while(1){j=O[f|0]|O[f+1|0]<<8;j=((j<<8|j>>>8)&65535)>>>0<=c>>>0?275552:((c<<1)+a|0)+6|0;j=O[j|0]|O[j+1|0]<<8;if(j){k=((j<<8|j>>>8)&65535)+a|0}else{k=275552}if(!Ob(k,N[b+8>>2])){break a}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=O[f|0]|O[f+1|0]<<8}f=(f+(((c<<8|(c&65280)>>>8)&65535)<<1)|0)+2|0;c=O[f|0]|O[f+1|0]<<8;if(c){c=(c<<8|c>>>8)&65535;j=c>>>0<=1?1:c;c=0;while(1){d=O[f|0]|O[f+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=c>>>0?275552:(f+(c<<1)|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}if(!Ob(d,N[b+16>>2])){break a}c=c+1|0;if((j|0)!=(c|0)){continue}break}d=O[f|0]|O[f+1|0]<<8}a=f+(((d<<8|(d&65280)>>>8)&65535)<<1)|0;c=O[a+2|0]|O[a+3|0]<<8;e=(c<<8|c>>>8)&65535;i=a+4|0;a=N[b+20>>2];d=a+12|0;if(O[a+48|0]){Ef(d,i,e,2);return}if(!c|!O[d|0]){break a}N[a+16>>2]=-1;a=O[i|0]|O[i+1|0]<<8;c=(a<<8|a>>>8)&65535;F:while(1){f=wc(d,c);if(!f){break a}j=c&65024;h=j+512|0;while(1){a=f+(c>>>3&56)|0;g=N[a+4>>2];c=c&63;b=c&31;if((c&63)>>>0>=32){k=1<>>32-b}N[a>>2]=c|N[a>>2];N[a+4>>2]=g|k;e=e-1|0;if(!e){break a}a=O[i+2|0]|O[i+3|0]<<8;i=i+2|0;c=(a<<8|a>>>8)&65535;if(j>>>0>c>>>0){continue F}if(c>>>0>>0){continue}break}continue}}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if(c){k=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0}else{k=275552}a=O[a+2|0]|O[a+3|0]<<8;c=(a<<8|a>>>8)&65535;a=k;continue}break}G:{H:{I:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break G;case 1:break H;case 0:break I;default:break a}}Vj(a,b);return}Tj(a,b);return}Sj(a,b);return}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}J:{K:{L:{M:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;B=d<<8|d>>>8;d=(B&65535)-1|0;switch(d|0){case 0:break L;case 1:break M;default:break K}}e=241305;g=256;N:{if(!(O[c+2|0]|O[c+3|0]<<8)){break N}e=c+4|0;d=O[e|0]|O[e+1|0]<<8;h=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){d=O[c+4|0]|O[c+5|0]<<8;g=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){break N}}e=241305}d=O[e+2|0]|O[e+3|0]<<8;if((g&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){u=h&65535;break L}d=O[c+2|0]|O[c+3|0]<<8;r=(d<<8|d>>>8)&65535}n=c+2|0;break J}if(d>>>0>1){break a}n=2}c=O[n|0]|O[n+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}z=(c<<8|(c&65280)>>>8)&65535;y=a+6|0;while(1){c=O[y|0]|O[y+1|0]<<8;if(c){t=((c<<8|c>>>8)&65535)+a|0}else{t=275552}c=O[t|0]|O[t+1|0]<<8;if(c){A=(c<<8|c>>>8)&65535;s=t+2|0;while(1){l=N[b+12>>2];d=O[l+12|0]!=0;c=O[s|0]|O[s+1|0]<<8;if(c){m=((c<<8|c>>>8)&65535)+t|0}else{m=275552}c=O[m+2|0]|O[m+3|0]<<8;i=c?((c<<8|c>>>8)&65535)-1|0:0;d=d&(i|0)!=0;c=m+4|0;O:{if(O[l+48|0]){if(!d){break O}N[l+16>>2]=-1;d=O[c|0]|O[c+1|0]<<8;e=(d<<8|d>>>8)&65535;q=N[l+28>>2];k=q-1|0;v=N[l+44>>2];f=N[l+20>>2];o=N[l+32>>2];P:while(1){Q:{p=e>>>9|0;R:{S:{if(!((p|0)!=N[o+(f<<3)>>2]|f>>>0>=q>>>0)){d=f;break S}h=0;g=k;T:{if((q|0)>0){while(1){d=g+h>>>1|0;w=N[o+(d<<3)>>2];U:{if((p|0)<(w|0)){g=d-1|0;break U}if((p|0)==(w|0)){break T}h=d+1|0}if((g|0)>=(h|0)){continue}break}}g=e&65024;h=g+512|0;break R}N[l+20>>2]=d}g=e&65024;h=g+512|0;if(v){break Q}f=d}while(1){i=i-1|0;if(!i){break O}d=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(d<<8|d>>>8)&65535;if(g>>>0>e>>>0){continue P}if(e>>>0>>0){continue}break}continue}p=v+(N[(o+(d<<3)|0)+4>>2]<<6)|0;while(1){f=p+(e>>>3&56)|0;w=N[f>>2];x=N[f+4>>2];D=f,E=_E(-2,-1,e)&w,N[D>>2]=E;N[f+4>>2]=Pa&x;i=i-1|0;if(!i){break O}f=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(f<<8|f>>>8)&65535;if(g>>>0>e>>>0){f=d;continue P}if(e>>>0>>0){continue}break}f=d;continue}}if(!d){break O}N[l+16>>2]=-1;d=O[c|0]|O[c+1|0]<<8;e=(d<<8|d>>>8)&65535;p=l+24|0;o=l+36|0;f=N[l+32>>2];h=N[l+20>>2];V:{W:{X:{Y:while(1){Z:{q=e>>>9|0;_:{$:{d=N[l+28>>2];if(d>>>0<=h>>>0){break $}k=(h<<3)+f|0;if((q|0)!=N[k>>2]){break $}d=k+4|0;break _}k=N[l+40>>2];aa:{ba:{if((d|0)<=0){h=0;break ba}g=d-1|0;h=0;while(1){d=g+h>>>1|0;v=N[(d<<3)+f>>2];ca:{if((v|0)>(q|0)){g=d-1|0;break ca}if((q|0)==(v|0)){h=d;break aa}h=d+1|0}if((g|0)>=(h|0)){continue}break}}if(!O[l+12|0]){break O}g=N[o>>2];if((g|0)<0){break V}d=k;f=d+1|0;f=(f|0)>0?f:0;if(f>>>0>g>>>0){while(1){g=((g>>>1|0)+g|0)+8|0;if(f>>>0>=g>>>0){continue}break}if(g>>>0>67108863){break Z}d=$a(N[l+44>>2],g<<6);if(!d){break Z}N[l+36>>2]=g;N[l+44>>2]=d;d=N[l+40>>2]}if(d>>>0>>0){C(N[l+44>>2]+(d<<6)|0,0,f-d<<6)}N[l+40>>2]=f;d=N[l+24>>2];if((d|0)<0){break W}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(f>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break X}g=$a(N[l+32>>2],d<<3);if(!g){break X}N[l+24>>2]=d;N[l+32>>2]=g}d=N[l+28>>2];if(d>>>0>>0){C(N[l+32>>2]+(d<<3)|0,0,f-d<<3)}N[l+28>>2]=f;d=N[l+44>>2]+(k<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=h<<3;f=d+N[l+32>>2]|0;F(f+8|0,f,N[l+28>>2]+(h^-1)<<3);da:{if(Q[l+28>>2]<=h>>>0){N[147456]=0;N[147457]=0;d=589824;break da}d=d+N[l+32>>2]|0}N[d>>2]=q;N[d+4>>2]=k;f=N[l+32>>2]}N[l+20>>2]=h;d=((h<<3)+f|0)+4|0}k=N[l+44>>2];if(!k){break O}g=k+(N[d>>2]<<6)|0;q=e&65024;v=q+512|0;while(1){d=g+(e>>>3&56)|0;w=N[d+4>>2];k=e&63;e=k&31;if((k&63)>>>0>=32){k=1<>>32-e}N[d>>2]=x|N[d>>2];N[d+4>>2]=k|w;i=i-1|0;if(!i){break O}d=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(d<<8|d>>>8)&65535;if(q>>>0>e>>>0){continue Y}if(e>>>0>>0){continue}break}continue}break}p=o}N[p>>2]=-1}i=N[l+36>>2];if((i|0)<0){break V}c=N[l+28>>2];c=(c|0)>0?c:0;if(c>>>0>i>>>0){while(1){i=((i>>>1|0)+i|0)+8|0;if(c>>>0>=i>>>0){continue}break}ea:{if(i>>>0<=67108863){d=$a(N[l+44>>2],i<<6);if(d){break ea}}N[o>>2]=-1;break V}N[l+36>>2]=i;N[l+44>>2]=d}d=N[l+40>>2];if(d>>>0>>0){C(N[l+44>>2]+(d<<6)|0,0,c-d<<6)}N[l+40>>2]=c}L[l+12|0]=0}c=O[m|0]|O[m+1|0]<<8;o=(c<<8|c>>>8)&65535;g=N[b+20>>2];c=O[g+12|0];fa:{if(O[g+48|0]){if(!c){break fa}e=N[g+20>>2];c=N[g+28>>2];d=o>>>9|0;f=N[g+32>>2];if(!(e>>>0>>0&(d|0)==N[f+(e<<3)>>2])){if((c|0)<=0){break fa}c=c-1|0;i=0;while(1){ga:{e=c+i>>>1|0;h=N[f+(e<<3)>>2];ha:{if((h|0)>(d|0)){c=e-1|0;break ha}if((d|0)==(h|0)){break ga}i=e+1|0}if((c|0)>=(i|0)){continue}break fa}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break fa}d=N[(f+(e<<3)|0)+4>>2];N[g+16>>2]=-1;c=(c+(d<<6)|0)+(o>>>3&56)|0;d=N[c>>2];f=N[c+4>>2];D=c,E=_E(-2,-1,o)&d,N[D>>2]=E;N[c+4>>2]=Pa&f;break fa}if(!c){break fa}N[g+16>>2]=-1;p=o>>>9|0;d=N[g+32>>2];ia:{ja:{f=N[g+20>>2];c=N[g+28>>2];if(f>>>0>=c>>>0){break ja}f=(f<<3)+d|0;if((p|0)!=N[f>>2]){break ja}c=f+4|0;break ia}h=N[g+40>>2];ka:{la:{if((c|0)<=0){c=0;break la}i=c-1|0;c=0;while(1){f=c+i>>>1|0;e=N[(f<<3)+d>>2];ma:{if((e|0)>(p|0)){i=f-1|0;break ma}if((e|0)==(p|0)){c=f;break ka}c=f+1|0}if((c|0)<=(i|0)){continue}break}}na:{oa:{k=g+36|0;d=N[k>>2];pa:{if((d|0)<0){break pa}qa:{ra:{e=h;f=e+1|0;m=(f|0)>0?f:0;if(m>>>0>d>>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(m>>>0>=d>>>0){continue}break}f=k;if(d>>>0>67108863){break ra}e=$a(N[g+44>>2],d<<6);if(!e){break ra}N[g+36>>2]=d;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,m-e<<6)}N[g+40>>2]=m;f=g+24|0;e=N[f>>2];if((e|0)<0){break qa}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(m>>>0>=e>>>0){continue}break}if(e>>>0>536870911){break ra}d=$a(N[g+32>>2],e<<3);if(!d){break ra}N[g+24>>2]=e;N[g+32>>2]=d}d=N[g+28>>2];if(d>>>0>>0){C(N[g+32>>2]+(d<<3)|0,0,m-d<<3)}N[g+28>>2]=m;d=N[g+44>>2]+(h<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=c<<3;f=d+N[g+32>>2]|0;F(f+8|0,f,N[g+28>>2]+(c^-1)<<3);if(Q[g+28>>2]>c>>>0){break oa}N[147456]=0;N[147457]=0;d=589824;break na}N[f>>2]=-1}i=N[g+36>>2];if((i|0)<0){break pa}c=N[g+28>>2];c=(c|0)>0?c:0;if(c>>>0>i>>>0){while(1){i=((i>>>1|0)+i|0)+8|0;if(c>>>0>=i>>>0){continue}break}sa:{if(i>>>0<=67108863){d=$a(N[g+44>>2],i<<6);if(d){break sa}}N[k>>2]=-1;L[g+12|0]=0;break fa}N[g+36>>2]=i;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[g+12|0]=0;break fa}d=d+N[g+32>>2]|0}N[d>>2]=p;N[d+4>>2]=h;d=N[g+32>>2]}N[g+20>>2]=c;c=((c<<3)+d|0)+4|0}d=N[g+44>>2];if(!d){break fa}c=(d+(N[c>>2]<<6)|0)+(o>>>3&56)|0;e=N[c+4>>2];f=o&63;d=f&31;if((f&63)>>>0>=32){m=1<>>32-d}N[c>>2]=f|N[c>>2];N[c+4>>2]=e|m}s=s+2|0;A=A-1|0;if(A){continue}break}}ta:{ua:{switch((B&65535)-1|0){case 0:r=r+1|0;break ta;case 1:break ua;default:break ta}}c=O[n|0]|O[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=r>>>0?241305:(T(r,6)+n|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=u>>>0){u=0;r=r+1|0;c=O[n|0]|O[n+1|0]<<8;if(r>>>0>=((c<<8|c>>>8)&65535)>>>0){break ta}c=(T(r,6)+n|0)+2|0;f=j+1|0;d=O[n|0]|O[n+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=r>>>0?241305:c;d=O[d+4|0]|O[d+5|0]<<8;j=(d<<8|d>>>8)&65535;if((f|0)==(j|0)){c=O[c|0]|O[c+1|0]<<8;u=(c<<8|c>>>8)&65535;break ta}c=O[n|0]|O[n+1|0]<<8;r=(c<<8|c>>>8)&65535;break ta}u=u+1|0;j=j+1|0}c=O[n|0]|O[n+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break a}y=y+2|0;z=z-1|0;if(z){continue}break}break a}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}va:{wa:{xa:{ya:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;o=d<<8|d>>>8;d=(o&65535)-1|0;switch(d|0){case 0:break xa;case 1:break ya;default:break wa}}e=241305;g=256;za:{if(!(O[c+2|0]|O[c+3|0]<<8)){break za}e=c+4|0;d=O[e|0]|O[e+1|0]<<8;h=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){d=O[c+4|0]|O[c+5|0]<<8;g=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){break za}}e=241305}d=O[e+2|0]|O[e+3|0]<<8;if((g&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){f=h&65535;break xa}d=O[c+2|0]|O[c+3|0]<<8;j=(d<<8|d>>>8)&65535}h=c+2|0;break va}if(d>>>0>1){break a}h=2}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}s=(c<<8|(c&65280)>>>8)&65535;g=a+6|0;d=0;while(1){c=O[g|0]|O[g+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}k=O[c|0]|O[c+1|0]<<8;e=(k<<8|k>>>8)&65535;i=c+2|0;c=N[b+20>>2];m=c+12|0;Aa:{if(O[c+48|0]){Ef(m,i,e,2);break Aa}if(!k|!O[m|0]){break Aa}N[c+16>>2]=-1;c=O[i|0]|O[i+1|0]<<8;c=(c<<8|c>>>8)&65535;Ba:while(1){p=wc(m,c);if(!p){break Aa}l=c&65024;r=l+512|0;while(1){k=p+(c>>>3&56)|0;u=N[k+4>>2];t=c&63;n=t&31;c=k;if((t&63)>>>0>=32){k=1<>>32-n}N[c>>2]=q|N[c>>2];N[c+4>>2]=k|u;e=e-1|0;if(!e){break Aa}c=O[i+2|0]|O[i+3|0]<<8;i=i+2|0;c=(c<<8|c>>>8)&65535;if(l>>>0>c>>>0){continue Ba}if(c>>>0>>0){continue}break}continue}}Ca:{Da:{switch((o&65535)-1|0){case 0:j=j+1|0;break Ca;case 1:break Da;default:break Ca}}c=O[h|0]|O[h+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=j>>>0?241305:(h+T(j,6)|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=f>>>0){f=0;j=j+1|0;c=O[h|0]|O[h+1|0]<<8;if(j>>>0>=((c<<8|c>>>8)&65535)>>>0){break Ca}c=(h+T(j,6)|0)+2|0;k=d+1|0;e=O[h|0]|O[h+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=j>>>0?241305:c;d=O[e+4|0]|O[e+5|0]<<8;d=(d<<8|d>>>8)&65535;if((k|0)==(d|0)){c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)&65535;break Ca}c=O[h|0]|O[h+1|0]<<8;j=(c<<8|c>>>8)&65535;break Ca}f=f+1|0;d=d+1|0}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}g=g+2|0;s=s-1|0;if(s){continue}break}break a}if(!a){break a}while(1){a=O[i|0]|O[i+1|0]<<8;tc(f,(a<<8|a>>>8)&65535);c=c+1|0;a=O[d|0]|O[d+1|0]<<8;if(c>>>0>=((a<<8|a>>>8)&65535)>>>0){break a}i=i+2|0;g=g-1|0;if(g){continue}break}break a}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}while(1){b=a+(c<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;tc(j,d+(b<<8|b>>>8)&65535);c=c+1|0;b=O[a|0]|O[a+1|0]<<8;if(c>>>0<((b<<8|b>>>8)&65535)>>>0){continue}break}}}function km(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;p=La-32|0;La=p;f=-2;a:{if(!a){break a}e=N[a+28>>2];if(!e|!N[a>>2]){break a}i=-5;q=(b|0)==4?-5:0;while(1){b=-3;f=1;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{switch(N[e>>2]){case 0:f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;b=O[b|0];N[e+4>>2]=b;e=N[a+28>>2];if((b&15)!=8){N[e>>2]=13;N[a+24>>2]=16520;break c}if(Q[e+16>>2]<(N[e+4>>2]>>>4|0)+8>>>0){N[e>>2]=13;N[a+24>>2]=15309;break c}N[e>>2]=1;i=q;case 1:f=i;b=N[a+4>>2];if(!b){break a}b=b-1|0;N[a+4>>2]=b;N[a+8>>2]=N[a+8>>2]+1;d=N[a>>2];N[a>>2]=d+1;d=O[d|0];if(((d|N[e+4>>2]<<8)>>>0)%31|0){N[e>>2]=13;N[a+24>>2]=13716;break c}if(!(d&32)){N[e>>2]=7;break b}N[e>>2]=2;i=q;break s;case 12:break a;case 6:break n;case 7:break o;case 5:break p;case 4:break q;case 3:break r;case 2:break t;case 13:break d;case 11:break e;case 10:break f;case 9:break g;case 8:break h;default:break m}}b=N[a+4>>2]}f=i;if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=O[b|0]<<24;e=N[a+28>>2];N[e>>2]=3;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<16);e=N[a+28>>2];N[e>>2]=4;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<8);e=N[a+28>>2];N[e>>2]=5;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+O[b|0];b=a;a=N[a+28>>2];N[b+48>>2]=N[a+8>>2];N[a>>2]=6;f=2;break a}c=N[e+20>>2];l=N[c+52>>2];b=N[c+48>>2];u:{if(l>>>0>>0){b=b+(l^-1)|0;break u}b=N[c+44>>2]-l|0}g=N[a+4>>2];e=N[a>>2];j=N[c+28>>2];f=N[c+32>>2];u=c+20|0;s=c+16|0;d=N[c>>2];v:{w:{while(1){h=i;x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{switch(d|0){case 2:if(!g){break O}U:{if(b){d=l;break U}V:{if(N[c+44>>2]!=(l|0)){d=l;break V}d=N[c+40>>2];b=N[c+48>>2];if((d|0)==(b|0)){d=l;break V}b=b>>>0>d>>>0?b+(d^-1)|0:l-d|0;if(b){break U}}N[c+52>>2]=d;k=Yb(c,a,i);i=N[c+52>>2];h=N[c+48>>2];W:{if(i>>>0>=h>>>0){d=N[c+44>>2];b=d-i|0;break W}d=N[c+44>>2];b=h+(i^-1)|0}X:{if((d|0)!=(i|0)){d=i;break X}d=N[c+40>>2];if((h|0)==(d|0)){d=i;break X}b=d>>>0>>0?h+(d^-1)|0:i-d|0}if(!b){break P}}i=N[c+4>>2];i=g>>>0>i>>>0?i:g;i=b>>>0>i>>>0?i:b;F(d,e,i);h=N[c+4>>2];k=h-i|0;N[c+4>>2]=k;b=b-i|0;l=d+i|0;g=g-i|0;e=e+i|0;if((h|0)!=(i|0)){while(1){h=N[c>>2];if((h|0)!=2){i=0;switch(h|0){case 8:break v;case 7:break w;case 6:break E;case 5:break G;case 3:break L;case 1:break M;case 0:break N;case 9:break R;case 4:break S;default:break Q}}if(!g){i=0;break O}Y:{if(b){d=l;break Y}Z:{if(N[c+44>>2]!=(l|0)){d=l;break Z}d=N[c+40>>2];b=N[c+48>>2];if((d|0)==(b|0)){d=l;break Z}b=b>>>0>d>>>0?b+(d^-1)|0:l-d|0;if(b){break Y}}N[c+52>>2]=d;k=Yb(c,a,0);i=N[c+52>>2];h=N[c+48>>2];_:{if(i>>>0>>0){d=N[c+44>>2];b=h+(i^-1)|0;break _}d=N[c+44>>2];b=d-i|0}$:{if((d|0)!=(i|0)){d=i;break $}d=N[c+40>>2];if((h|0)==(d|0)){d=i;break $}b=d>>>0>>0?h+(d^-1)|0:i-d|0}if(!b){break P}k=N[c+4>>2]}i=g>>>0>k>>>0?k:g;i=b>>>0>i>>>0?i:b;F(d,e,i);h=N[c+4>>2];k=h-i|0;N[c+4>>2]=k;b=b-i|0;l=d+i|0;g=g-i|0;e=e+i|0;if((h|0)!=(i|0)){continue}break}}i=0;d=N[c+24>>2]?7:0;N[c>>2]=d;continue;case 8:break v;case 7:break w;case 6:break E;case 5:break G;case 3:break L;case 1:break M;case 0:break N;case 9:break R;case 4:break T;default:break Q}}k=N[c+4>>2]}b=N[c+8>>2];if(b>>>0<(k>>>10|0)+4>>>0){break I}break H}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break D}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,-2);break i}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=d;b=Yb(c,a,k);break i}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break j}aa:{ba:{if(j>>>0>2){k=e;i=h;d=j;break ba}if(!g){break aa}k=e+1|0;g=g-1|0;f=O[e|0]<>2]=f&1;ca:{da:{switch((f>>>1&3)-1|0){case 0:e=Qa[N[a+32>>2]](N[a+40>>2],1,28)|0;if(!e){N[c+32>>2]=f;N[c+4>>2]=0;N[c+28>>2]=d;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=k;N[a+8>>2]=N[a+8>>2]+(k-b|0);break K}N[e+24>>2]=42352;N[e+20>>2]=38256;M[e+16>>1]=1289;N[e>>2]=0;N[c+4>>2]=e;j=d-3|0;f=f>>>3|0;d=6;break ca;case 1:j=d-3|0;f=f>>>3|0;d=3;break ca;case 2:N[c>>2]=9;N[a+24>>2]=15513;N[c+28>>2]=d-3;N[c+32>>2]=f>>>3;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=k;N[a+8>>2]=N[a+8>>2]+(k-b|0);break D;default:break da}}d=d-3|0;f=f>>>3>>>(d&7)|0;j=d&-8;d=1}e=k;N[c>>2]=d;continue}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,h);break i}ea:{if(j>>>0>31){h=e;break ea}fa:{ga:{if(!g){h=e;d=j;break ga}d=j+8|0;h=e+1|0;k=g-1|0;f=O[e|0]<>>0>=24){j=d;g=k;break ea}if(k){k=j+16|0;h=e+2|0;n=g-2|0;f=O[e+1|0]<>>0>15){j=k;g=n;break ea}if(!n){d=k;break ga}d=j+24|0;h=e+3|0;n=g-3|0;f=O[e+2|0]<>>0>7){j=d;g=n;break ea}if(n){break fa}}}N[c+28>>2]=d;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-b|0);break j}j=j+32|0;h=e+4|0;g=g-4|0;f=O[e+3|0]<>>16|0;if((d|0)!=(f&65535)){N[c>>2]=9;N[a+24>>2]=10861;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-b|0);break D}N[c+4>>2]=d;j=0;e=h;ha:{if(f>>>0<4294901760){f=0;d=2;break ha}f=0;d=N[c+24>>2]?7:0}N[c>>2]=d;continue}ia:{if(j>>>0>13){d=e;break ia}ja:{ka:{if(!g){d=e;b=j;break ka}b=j+8|0;d=e+1|0;h=g-1|0;f=O[e|0]<>>0>=6){j=b;g=h;break ia}if(h){break ja}}N[c+28>>2]=b;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);break j}g=g-2|0;d=e+2|0;j=j+16|0;f=O[e+1|0]<>2]=f&16383;la:{b=f&31;if(b>>>0<=29){e=f>>>5&31;if(e>>>0<30){break la}}N[c>>2]=9;N[a+24>>2]=10793;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);break D}b=Qa[N[a+32>>2]](N[a+40>>2],(b+e|0)+258|0,4)|0;N[c+12>>2]=b;if(b){break J}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0)}N[c+52>>2]=l;b=Yb(c,a,-4);break i}N[c>>2]=4;b=0;N[c+8>>2]=0;j=j-14|0;f=f>>>14|0;e=d}while(1){ma:{if(j>>>0<=2){if(!g){break ma}g=g-1|0;f=O[e|0]<>2]=b+1;N[N[c+12>>2]+(N[(b<<2)+38096>>2]<<2)>>2]=f&7;j=j-3|0;f=f>>>3|0;b=N[c+8>>2];if(b>>>0<(N[c+4>>2]>>>10|0)+4>>>0){continue}break H}break}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break j}if(b>>>0<19){while(1){N[c+8>>2]=b+1;N[N[c+12>>2]+(N[(b<<2)+38096>>2]<<2)>>2]=0;b=N[c+8>>2];if(b>>>0<19){continue}break}}N[c+16>>2]=7;d=N[c+12>>2];h=N[c+36>>2];N[p+28>>2]=0;na:{b=Qa[N[a+32>>2]](N[a+40>>2],19,4)|0;oa:{if(!b){d=-4;break oa}k=16173;pa:{qa:{ra:{sa:{ta:{d=Ah(d,19,19,0,0,u,s,h,p+28|0,b);switch(d+5|0){case 2:break ra;case 0:break sa;default:break ta}}if(N[s>>2]){break qa}}k=16137}N[a+24>>2]=k;Qa[N[a+36>>2]](N[a+40>>2],b);break pa}Qa[N[a+36>>2]](N[a+40>>2],b);if(!d){break na}if((d|0)!=-3){break oa}}Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=9;d=-3}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,d);break i}N[c>>2]=5;N[c+8>>2]=0;b=0;break F}b=N[c+8>>2]}h=N[c+4>>2];d=h&31;h=h>>>5&31;n=(d+h|0)+258|0;if(b>>>0>>0){while(1){o=N[s>>2];ua:{if(o>>>0<=j>>>0){d=j;k=e;h=g;break ua}if(!g){g=0;break k}k=e+1|0;h=g-1|0;f=O[e|0]<>>0<=d>>>0){break ua}while(1){if(!h){break k}h=h-1|0;f=O[k|0]<>>0>d>>>0){continue}break}}e=N[u>>2]+((N[(o<<2)+38176>>2]&f)<<3)|0;m=O[e+1|0];o=N[e+4>>2];va:{if(o>>>0<=15){N[c+8>>2]=b+1;N[N[c+12>>2]+(b<<2)>>2]=o;j=d-m|0;f=f>>>m|0;b=N[c+8>>2];e=k;g=h;break va}v=(o|0)==18;t=v?7:o-14|0;r=m+t|0;wa:{if(r>>>0<=d>>>0){j=d;e=k;g=h;break wa}if(!h){h=0;break l}e=k+1|0;g=h-1|0;f=O[k|0]<>>0<=j>>>0){break wa}while(1){if(!g){break l}g=g-1|0;f=O[e|0]<>>0>j>>>0){continue}break}}j=j-r|0;d=f>>>m|0;f=d>>>t|0;h=d&N[(t<<2)+38176>>2];m=v?11:3;k=h+m|0;if(!((o|0)!=16|b?k+b>>>0<=n>>>0:0)){Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=9;N[a+24>>2]=9688;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break D}d=0;d=(o|0)==16?N[(N[c+12>>2]+(b<<2)|0)-4>>2]:d;o=k-1|0;n=k&3;if(n){k=h+m|0;h=0;while(1){N[N[c+12>>2]+(b<<2)>>2]=d;b=b+1|0;h=h+1|0;if((n|0)!=(h|0)){continue}break}k=k-n|0}if(o>>>0>=3){while(1){h=b<<2;N[h+N[c+12>>2]>>2]=d;N[(h+N[c+12>>2]|0)+4>>2]=d;N[(h+N[c+12>>2]|0)+8>>2]=d;N[(h+N[c+12>>2]|0)+12>>2]=d;b=b+4|0;k=k-4|0;if(k){continue}break}}N[c+8>>2]=b}h=N[c+4>>2];d=h&31;h=h>>>5&31;n=(d+h|0)+258|0;if(n>>>0>b>>>0){continue}break}}N[c+20>>2]=0;N[p+24>>2]=9;N[p+20>>2]=6;k=N[c+36>>2];o=N[c+12>>2];N[p+28>>2]=0;xa:{b=Qa[N[a+32>>2]](N[a+40>>2],288,4)|0;ya:{za:{if(!b){break za}n=16213;Aa:{Ba:{Ca:{Da:{m=d+257|0;r=Ah(o,m,257,42608,42736,p+16|0,p+24|0,k,p+28|0,b);if(r){d=16244;switch(r+4|0){case 1:break Ba;case 0:break Da;default:break Ca}}r=N[p+24>>2];if(!r){break Ca}h=Ah(o+(m<<2)|0,h+1|0,0,42864,42992,p+12|0,p+20|0,k,p+28|0,b);Ea:{if(h){n=16279;d=16304;switch(h+5|0){case 2:break Ba;case 0:break Ca;case 1:break Da;default:break Ea}}h=N[p+20>>2];if(h|!d){break Aa}}d=10890;break Ba}Qa[N[a+36>>2]](N[a+40>>2],b);break za}d=n}N[a+24>>2]=d;Qa[N[a+36>>2]](N[a+40>>2],b);Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=9;b=-3;break ya}Qa[N[a+36>>2]](N[a+40>>2],b);d=N[p+12>>2];k=N[p+16>>2];b=Qa[N[a+32>>2]](N[a+40>>2],1,28)|0;if(b){break xa}}b=-4}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;d=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-d|0);N[c+52>>2]=l;b=Yb(c,a,b);break i}N[b+24>>2]=d;N[b+20>>2]=k;L[b+17|0]=h;L[b+16|0]=r;N[b>>2]=0;N[c+4>>2]=b;Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=6}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;m=N[c+4>>2];b=N[c+48>>2];Fa:{if(b>>>0>l>>>0){d=b+(l^-1)|0;break Fa}d=N[c+44>>2]-l|0}n=N[m>>2];while(1){Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{switch(n|0){case 1:o=N[m+12>>2];break Ra;case 3:o=N[m+12>>2];h=e;k=g;break Pa;case 5:n=N[m+12>>2];h=e;o=g;break Na;case 9:break Ja;case 8:break Ka;case 7:break La;case 6:break Ma;case 4:break Oa;case 2:break Qa;case 0:break Sa;default:break Ha}}N[m>>2]=1;o=O[m+16|0];N[m+12>>2]=o;N[m+8>>2]=N[m+20>>2]}Ta:{if(j>>>0>=o>>>0){h=j;b=e;k=g;break Ta}if(!g){g=0;n=i;break y}b=e+1|0;k=g-1|0;f=O[e|0]<>>0<=h>>>0){break Ta}while(1){if(!k){n=0;break y}k=k-1|0;f=O[b|0]<>>0>h>>>0){continue}break}}e=N[m+8>>2]+((N[(o<<2)+38176>>2]&f)<<3)|0;g=O[e+1|0];j=h-g|0;f=f>>>g|0;Ua:{g=O[e|0];Va:{if(!g){e=N[e+4>>2];N[m>>2]=6;N[m+8>>2]=e;n=6;break Va}if(g&16){N[m+8>>2]=g&15;e=N[e+4>>2];N[m>>2]=2;N[m+4>>2]=e;n=2;break Va}if(!(g&64)){N[m+12>>2]=g;N[m+8>>2]=e+(N[e+4>>2]<<3);n=1;break Va}if(!(g&32)){break Ua}N[m>>2]=7;n=7}e=b;g=k;continue}N[m>>2]=9;N[a+24>>2]=16348;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=k;d=N[a>>2];N[a>>2]=b;N[a+8>>2]=N[a+8>>2]+(b-d|0);break Ia}n=N[m+8>>2];Wa:{if(n>>>0<=j>>>0){b=j;h=e;k=g;break Wa}if(!g){g=0;n=i;break z}h=e+1|0;k=g-1|0;f=O[e|0]<>>0<=b>>>0){break Wa}while(1){if(!k){n=0;break z}k=k-1|0;f=O[h|0]<>>0>b>>>0){continue}break}}N[m>>2]=3;o=O[m+17|0];N[m+12>>2]=o;N[m+8>>2]=N[m+24>>2];N[m+4>>2]=N[m+4>>2]+(N[(n<<2)+38176>>2]&f);j=b-n|0;f=f>>>n|0}Xa:{if(j>>>0>=o>>>0){b=j;e=h;g=k;break Xa}if(!k){k=0;n=i;break A}e=h+1|0;g=k-1|0;f=O[h|0]<>>0<=b>>>0){break Xa}while(1){if(!g){n=0;break A}g=g-1|0;f=O[e|0]<>>0>b>>>0){continue}break}}j=b;k=N[(o<<2)+38176>>2]&f;o=N[m+8>>2];b=(k<<3)+o|0;h=O[b+1|0];j=j-h|0;f=f>>>h|0;h=O[b|0];if(h&16){N[m+8>>2]=h&15;b=N[b+4>>2];n=4;N[m>>2]=4;N[m+12>>2]=b;continue}if(!(h&64)){N[m+12>>2]=h;n=3;N[m+8>>2]=b+(N[(o+(k<<3)|0)+4>>2]<<3);continue}N[m>>2]=9;N[a+24>>2]=16376;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break Ia}k=N[m+8>>2];Ya:{if(k>>>0<=j>>>0){b=j;h=e;o=g;break Ya}if(!g){g=0;n=i;break B}h=e+1|0;o=g-1|0;f=O[e|0]<>>0<=b>>>0){break Ya}while(1){if(!o){n=0;break B}o=o-1|0;f=O[h|0]<>>0>b>>>0){continue}break}}N[m>>2]=5;n=N[m+12>>2]+(N[(k<<2)+38176>>2]&f)|0;N[m+12>>2]=n;j=b-k|0;f=f>>>k|0}b=N[c+40>>2];e=l-n|0;if(b>>>0>e>>>0){g=N[c+44>>2]-b|0;while(1){e=e+g|0;if(e>>>0>>0){continue}break}}if(N[m+4>>2]){Za:{if(d){b=l;break Za}_a:{if(N[c+44>>2]!=(l|0)){b=l;break _a}d=N[c+48>>2];if((d|0)==(b|0)){b=l;break _a}d=b>>>0>>0?d+(b^-1)|0:l-b|0;if(d){break Za}}N[c+52>>2]=b;n=Yb(c,a,i);i=N[c+52>>2];g=N[c+48>>2];$a:{if(i>>>0>=g>>>0){b=N[c+44>>2];d=b-i|0;break $a}b=N[c+44>>2];d=g+(i^-1)|0}ab:{if((b|0)!=(i|0)){b=i;break ab}b=N[c+40>>2];if((g|0)==(b|0)){b=i;break ab}d=b>>>0>>0?g+(b^-1)|0:i-b|0}if(!d){break C}}L[b|0]=O[e|0];e=e+1|0;k=N[c+44>>2];if((e|0)==(k|0)){e=N[c+40>>2]}d=d-1|0;b=b+1|0;g=N[m+4>>2]-1|0;N[m+4>>2]=g;i=0;if(g){while(1){bb:{if(d){break bb}cb:{if((b|0)!=(k|0)){break cb}b=N[c+40>>2];d=N[c+48>>2];if((b|0)==(d|0)){b=k;break cb}d=b>>>0>>0?d+(b^-1)|0:k-b|0;if(d){break bb}}N[c+52>>2]=b;n=Yb(c,a,0);g=N[c+52>>2];l=N[c+48>>2];db:{if(g>>>0>>0){b=N[c+44>>2];d=l+(g^-1)|0;break db}b=N[c+44>>2];d=b-g|0}eb:{if((b|0)!=(g|0)){b=g;break eb}b=N[c+40>>2];if((l|0)==(b|0)){b=g;break eb}d=b>>>0>>0?l+(b^-1)|0:g-b|0}if(!d){break C}}L[b|0]=O[e|0];e=e+1|0;k=N[c+44>>2];if((e|0)==(k|0)){e=N[c+40>>2]}d=d-1|0;b=b+1|0;g=N[m+4>>2]-1|0;N[m+4>>2]=g;if(g){continue}break}}l=b}n=0;N[m>>2]=0;e=h;g=o;continue}if(d){b=l;break Ga}fb:{if(N[c+44>>2]!=(l|0)){b=l;break fb}b=N[c+40>>2];d=N[c+48>>2];if((b|0)==(d|0)){b=l;break fb}d=b>>>0>>0?d+(b^-1)|0:l-b|0;if(d){break Ga}}N[c+52>>2]=b;n=Yb(c,a,i);i=N[c+52>>2];h=N[c+48>>2];gb:{if(i>>>0>>0){b=N[c+44>>2];d=h+(i^-1)|0;break gb}b=N[c+44>>2];d=b-i|0}hb:{if((b|0)!=(i|0)){b=i;break hb}b=N[c+40>>2];if((h|0)==(b|0)){b=i;break hb}d=b>>>0>>0?h+(b^-1)|0:i-b|0}if(d){break Ga}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;d=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-d|0);N[c+52>>2]=b;break x}N[c+52>>2]=l;b=j>>>0>7;j=b?j-8|0:j;g=b+g|0;e=e-b|0;n=Yb(c,a,i);l=N[c+52>>2];if((l|0)!=N[c+48>>2]){N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break x}N[m>>2]=8}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;n=1;break x}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0)}N[c+52>>2]=l;n=-3;break x}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;n=-2;break x}L[b|0]=N[m+8>>2];n=0;N[m>>2]=0;d=d-1|0;l=b+1|0;i=0;continue}}N[c+52>>2]=l;b=Yb(c,a,-3);break i}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=o;d=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-d|0);N[c+52>>2]=b;break x}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l;break x}N[c+32>>2]=f;N[c+28>>2]=(k<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=h+k|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l;break x}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l;break x}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l}b=Yb(c,a,n);if((b|0)!=1){b=Yb(c,a,b);break i}Qa[N[a+36>>2]](N[a+40>>2],N[c+4>>2]);l=N[c+52>>2];b=N[c+48>>2];ib:{if(l>>>0>>0){b=b+(l^-1)|0;break ib}b=N[c+44>>2]-l|0}j=N[c+28>>2];f=N[c+32>>2];g=N[a+4>>2];e=N[a>>2];d=0;if(!N[c+24>>2]){i=0;N[c>>2]=0;continue}break}N[c>>2]=7;i=0}N[c+52>>2]=l;b=Yb(c,a,i);l=N[c+52>>2];if((l|0)!=N[c+48>>2]){N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;d=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-d|0);b=Yb(c,a,b);break i}N[c>>2]=8}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,1);break i}N[e>>2]=13;N[a+24>>2]=7902;N[e+4>>2]=0}f=-2;break a}N[c+32>>2]=f;N[c+28>>2]=(h<<3)+d;N[a+4>>2]=0;b=N[a>>2];d=h+k|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);break j}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0)}N[c+52>>2]=l;b=Yb(c,a,i)}f=q;jb:{switch(b+3|0){case 0:b=N[a+28>>2];N[b>>2]=13;N[b+4>>2]=0;i=-3;e=N[a+28>>2];continue;case 3:break a;case 4:break jb;default:break d}}b=N[a+28>>2];d=N[b+20>>2];N[b+4>>2]=N[d+60>>2];b=N[d>>2];if((b&-2)==4){Qa[N[a+36>>2]](N[a+40>>2],N[d+12>>2]);b=N[d>>2]}if((b|0)==6){Qa[N[a+36>>2]](N[a+40>>2],N[d+4>>2])}N[d+28>>2]=0;N[d+32>>2]=0;N[d>>2]=0;b=N[d+40>>2];N[d+52>>2]=b;N[d+48>>2]=b;b=N[d+56>>2];if(b){b=Qa[b|0](0,0,0)|0;N[d+60>>2]=b;N[a+48>>2]=b}e=N[a+28>>2];if(N[e+12>>2]){N[e>>2]=12;break b}N[e>>2]=8;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=O[b|0]<<24;e=N[a+28>>2];N[e>>2]=9;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<16);e=N[a+28>>2];N[e>>2]=10;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<8);e=N[a+28>>2];N[e>>2]=11;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+O[b|0];b=N[a+28>>2];if(N[b+4>>2]!=N[b+8>>2]){N[b>>2]=13;N[a+24>>2]=13739;N[b+4>>2]=5;break b}N[b>>2]=12;f=1;break a}f=b;break a}N[e+4>>2]=5}e=N[a+28>>2];i=q;continue}}La=p+32|0;return f}function NE(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=273;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break l}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1853188980;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1634429038;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=274;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=72;N[b+4>>2]=c;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];v:{w:{x:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break w}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break x}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break v}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=275;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;y:{z:{A:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break z}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break A}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break y}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=274;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];B:{C:{D:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break C}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break D}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break B}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];E:{F:{G:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break F}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break G}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break E}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=276;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];H:{I:{J:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break I}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break J}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break H}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1919644262;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break P}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break S}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1751215206;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];T:{U:{V:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break U}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break V}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break T}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1986098293;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Z:{_:{$:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break _}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break $}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Z}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1667916660;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];aa:{ba:{ca:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break ba}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break ca}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break aa}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=277;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;da:{ea:{fa:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break ea}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break fa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break da}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ga:{ha:{ia:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ia}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ga}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1769172844;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];ja:{ka:{la:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break la}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ja}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1768843636;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];ma:{na:{oa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break oa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ma}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1835361385;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];pa:{qa:{ra:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ra}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break pa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1718185569;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];sa:{ta:{ua:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break ta}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break ua}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break sa}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];va:{wa:{xa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break xa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break va}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];ya:{za:{Aa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break za}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Aa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ya}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ba:{Ca:{Da:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Da}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ba}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1751215214;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ea:{Fa:{Ga:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ga}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ea}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ha:{Ia:{Ja:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ja}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ha}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Vh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0;g=La-176|0;La=g;N[g+172>>2]=0;x=N[a+12>>2];t=N[a>>2];if(P[t+290>>1]>>0){M[t+290>>1]=c}N[a+20>>2]=b;o=65536;v=65536;if(!(L[a+16|0]&1)){e=N[N[a+4>>2]+44>>2];o=N[e+8>>2];v=N[e+4>>2]}H=N[N[t+128>>2]+52>>2];a:{b:{if(H){e=Qa[N[N[H>>2]>>2]](N[H+4>>2],b,g+124|0)|0;if(e){break a}e=N[g+128>>2];N[a+28>>2]=e;N[g+152>>2]=0;N[g+156>>2]=0;N[g+168>>2]=0;N[g+160>>2]=0;N[g+164>>2]=0;N[g+152>>2]=0;N[g+144>>2]=0;N[g+148>>2]=0;N[g+140>>2]=0;N[g+136>>2]=e;N[g+132>>2]=N[g+124>>2];N[a+24>>2]=g+132;break b}n=bg(t,b,a+28|0);e=N[a+28>>2]}c:{if((e|0)>0){f=N[t+728>>2];if(!(f|N[N[t+128>>2]+52>>2])){e=8;break c}e=Qa[N[t+520>>2]](a,b,f+n|0,e)|0;if(e){break c}e=Qa[N[t+528>>2]](a)|0;N[g+172>>2]=e;Qa[N[t+524>>2]](a);if(e){break c}e=N[a+28>>2]}if(!(P[a+32>>1]?e:0)){N[a+36>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+48>>2]=0}k=N[a>>2];r=N[a+24>>2];M[g+80>>1]=0;M[g>>1]=0;M[g+44>>1]=0;M[g+64>>1]=0;i=N[r+8>>2];Qa[N[N[k+540>>2]+156>>2]](k,0,b,g+80|0,g+44|0);d:{if(O[k+292|0]){Qa[N[N[k+540>>2]+156>>2]](k,1,b,g,g- -64|0);break d}f=N[a+48>>2];if(P[k+372>>1]!=65535){e=M[k+442>>1];M[g>>1]=e-f;e=e-M[k+444>>1]|0;f=e>>31;M[g+64>>1]=(e^f)-f;break d}e=M[k+220>>1];M[g>>1]=e-f;e=e-M[k+222>>1]|0;f=e>>31;M[g+64>>1]=(e^f)-f}e:{e=N[r+20>>2];f:{if(e){if(Qa[e|0](r,i,0,0)|0){break f}break e}if(i>>>0<=Q[r+4>>2]){break e}}e=85;break c}N[r+8>>2]=i;i=M[g+80>>1];N[a+52>>2]=i;r=P[g+44>>1];N[a+56>>2]=r;N[a+172>>2]=M[g>>1];N[a+176>>2]=P[g+64>>1];if(!(N[N[k+128>>2]+52>>2]|O[a+64|0])){N[a+60>>2]=r;L[a+64|0]=1}e=0;N[g+172>>2]=0;if(d){break c}if(!(P[a+32>>1]?N[a+28>>2]:0)){e=N[a>>2];d=N[N[e+128>>2]+52>>2];g:{if(!d){break g}c=N[N[d>>2]+8>>2];if(!c){break g}N[g+92>>2]=0;N[g+88>>2]=r;N[g+84>>2]=0;N[g+80>>2]=i;h:{if(Qa[c|0](N[d+4>>2],b,0,g+80|0)|0){break h}c=M[g+80>>1];d=P[g+88>>1];N[a+172>>2]=0;N[a+176>>2]=0;N[a+56>>2]=d;N[a+52>>2]=c;if(O[a+64|0]){break h}N[a+60>>2]=d;L[a+64|0]=1}e=N[a>>2]}d=0;i:{if(N[N[e+96>>2]+64>>2]!=40){break i}c=N[a+156>>2];d=0;if(!c){break i}d=O[c+641|0]!=0&O[c+646|0]!=0}N[a+72>>2]=0;N[a+80>>2]=0;f=N[a+36>>2]-N[a+52>>2]|0;N[a+68>>2]=f;c=N[a+56>>2];j=c+f|0;N[a+76>>2]=j;c=d&1?(c|0)/2|0:0;N[a+188>>2]=c;d=N[a+172>>2]+N[a+48>>2]|0;N[a+184>>2]=d;N[a+180>>2]=c;n=d-N[a+176>>2]|0;N[a+192>>2]=n;j:{if(!(P[t+6>>1]&32767|O[t+9|0]&128)){b=c;break j}N[g+108>>2]=n;N[g+100>>2]=d;N[g+76>>2]=16843009;N[g+64>>2]=65536;N[g+68>>2]=196610;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+104>>2]=c;N[g+96>>2]=c;N[g+92>>2]=0;N[g+88>>2]=j;N[g+84>>2]=0;N[g+80>>2]=f;N[g+44>>2]=262148;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;N[g+56>>2]=g- -64;N[g+52>>2]=g+76;N[g+48>>2]=g+80;e=Sh(e,b,g+44|0,g,4);if(e){break c}f=N[g+80>>2];N[a+68>>2]=f;N[a+72>>2]=N[g+84>>2];j=N[g+88>>2];N[a+76>>2]=j;N[a+80>>2]=N[g+92>>2];b=N[g+96>>2];N[a+180>>2]=b;d=N[g+100>>2];N[a+184>>2]=d;c=N[g+104>>2];N[a+188>>2]=c;n=N[g+108>>2];N[a+192>>2]=n;e=N[N[a>>2]+740>>2];if(!(e&2)){N[a+60>>2]=(N[g+8>>2]-N[g>>2]|0)+32>>6}if(e&16){break j}N[a+176>>2]=(N[g+24>>2]-N[g+16>>2]|0)+32>>6}e=0;if(L[a+16|0]&1){break c}I=a,J=ob(f,v),N[I+68>>2]=J;I=a,J=ob(j,v),N[I+76>>2]=J;I=a,J=ob(b,v),N[I+180>>2]=J;I=a,J=ob(d,o),N[I+184>>2]=J;I=a,J=ob(c,v),N[I+188>>2]=J;I=a,J=ob(n,o),N[I+192>>2]=J;break c}d=N[a>>2];f=N[N[d+128>>2]+52>>2];k:{if(!f){break k}e=N[N[f>>2]+8>>2];if(!e){break k}N[g+92>>2]=0;N[g+88>>2]=r;N[g+84>>2]=0;N[g+80>>2]=i;l:{if(Qa[e|0](N[f+4>>2],b,0,g+80|0)|0){break l}d=M[g+80>>1];e=P[g+88>>1];N[a+172>>2]=0;N[a+176>>2]=0;N[a+56>>2]=e;N[a+52>>2]=d;if(O[a+64|0]){break l}N[a+60>>2]=e;L[a+64|0]=1}d=N[a>>2]}e=0;m:{if(N[N[d+96>>2]+64>>2]!=40){break m}d=N[a+156>>2];e=0;if(!d){break m}e=O[d+641|0]!=0&O[d+646|0]!=0}N[a+72>>2]=0;N[a+80>>2]=0;d=N[a+36>>2]-N[a+52>>2]|0;N[a+68>>2]=d;f=d;d=N[a+56>>2];N[a+76>>2]=f+d;e=e?(d|0)/2|0:0;N[a+188>>2]=e;d=N[a+172>>2]+N[a+48>>2]|0;N[a+184>>2]=d;N[a+180>>2]=e;N[a+192>>2]=d-N[a+176>>2];e=Qa[N[t+520>>2]](a,b,(N[t+728>>2]+n|0)+10|0,N[a+28>>2]-10|0)|0;if(e){break c}d=M[a+32>>1];n:{if((d|0)>0){e=Qa[N[t+532>>2]](a)|0;if(e){break n}Qa[N[t+524>>2]](a);E=N[N[a>>2]+100>>2];b=N[a+72>>2];s=N[a+12>>2];y=M[s+58>>1];c=N[s+60>>2]+(y<<3)|0;N[c>>2]=N[a+68>>2];N[c+4>>2]=b;b=N[a+80>>2];G=y+1|0;c=N[s+60>>2]+(G<<3)|0;N[c>>2]=N[a+76>>2];N[c+4>>2]=b;b=N[a+184>>2];u=y+2|0;c=N[s+60>>2]+(u<<3)|0;N[c>>2]=N[a+180>>2];N[c+4>>2]=b;b=N[a+192>>2];j=y+3|0;c=N[s+60>>2]+(j<<3)|0;N[c>>2]=N[a+188>>2];N[c+4>>2]=b;b=0;c=s- -64|0;L[y+N[c>>2]|0]=0;L[G+N[c>>2]|0]=0;L[u+N[c>>2]|0]=0;L[j+N[c>>2]|0]=0;i=y+4|0;d=6;c=N[a>>2];o:{p:{if(P[c+6>>1]&32767|O[c+9|0]&128){if((y|0)<-4){break o}q:{if(!i){break q}c=i<<3;b=Qa[N[E+4>>2]](E,c)|0;if(!(!b|(y|0)<-3)){C(b,0,c);break q}if(b){break q}d=!b<<6;break o}d=Sh(N[a>>2],N[a+20>>2],s+56|0,b,i);c=N[N[a>>2]+740>>2];if(!(c&2)){N[a+60>>2]=(N[(G<<3)+b>>2]-N[(y<<3)+b>>2]|0)+32>>6}if(!(c&16)){N[a+176>>2]=(N[(j<<3)+b>>2]-N[(u<<3)+b>>2]|0)+32>>6}if(d){break p}}p=N[a+16>>2];if(!(p&2)){f=P[s+58>>1];M[a+128>>1]=f;M[a+130>>1]=P[s+56>>1];N[a+132>>2]=N[s+76>>2];e=N[s+60>>2];N[a+136>>2]=e;d=N[s+80>>2];N[a+140>>2]=d;N[a+144>>2]=N[s+64>>2];c=N[s+68>>2];M[a+152>>1]=0;N[a+148>>2]=c;F(d,e,(f<<3)+32|0);p=N[a+16>>2]}r:{if(p&1){B=N[a>>2];n=0;f=0;break r}d=N[s+60>>2];w=d+(i<<3)|0;c=N[N[a+4>>2]+44>>2];n=N[c+8>>2];f=N[c+4>>2];B=N[a>>2];if(!(P[B+6>>1]&32767|O[B+9|0]&128)){if((y|0)<-3){break r}c=n>>31;z=(c^n)-c|0;A=z&65535;h=z>>>16|0;k=z>>>8|0;c=f>>31;l=(c^f)-c|0;r=l&65535;i=l>>>16|0;e=l>>>8|0;while(1){q=N[d>>2];c=q>>31;o=(c^q)-c|0;s:{if(o+e>>>0<=8190){m=T(l,o)+32768>>>16|0;break s}c=o&65535;m=T(c,i)+T(l,o>>>16|0)+(T(c,r)+32768>>>16)|0}c=m;o=0-c|0;c=q>>31|1;N[d>>2]=(((f|0)<0?0-c|0:c)|0)<0?o:m;q=N[d+4>>2];c=q>>31;o=(c^q)-c|0;t:{if(o+k>>>0<=8190){m=T(o,z)+32768>>>16|0;break t}c=o&65535;m=T(c,h)+T(z,o>>>16|0)+(T(c,A)+32768>>>16)|0}c=m;o=0-c|0;c=q>>31|1;N[d+4>>2]=(((n|0)<0?0-c|0:c)|0)<0?o:m;d=d+8|0;if(w>>>0>d>>>0){continue}break}break r}if((y|0)<-3){break r}c=n>>31;D=(c^n)-c|0;q=D&65535;A=D>>>16|0;h=D>>>8|0;c=f>>31;z=(c^f)-c|0;k=z&65535;r=z>>>16|0;i=z>>>8|0;c=b;while(1){o=N[c>>2];e=o>>31;l=(e^o)-e|0;u:{if(l+i>>>0<=8190){m=T(l,z)+32768>>>16|0;break u}e=l&65535;m=T(e,r)+T(z,l>>>16|0)+(T(e,k)+32768>>>16)|0}e=m;l=0-e|0;e=o>>31|1;N[d>>2]=((((f|0)<0?0-e|0:e)|0)<0?l:m)+32>>6;o=N[c+4>>2];e=o>>31;l=(e^o)-e|0;v:{if(l+h>>>0<=8190){m=T(l,D)+32768>>>16|0;break v}e=l&65535;m=T(e,A)+T(D,l>>>16|0)+(T(e,q)+32768>>>16)|0}e=m;l=0-e|0;e=o>>31|1;N[d+4>>2]=((((n|0)<0?0-e|0:e)|0)<0?l:m)+32>>6;c=c+8|0;d=d+8|0;if(w>>>0>d>>>0){continue}break}}d=N[B+740>>2];w:{if(!(!(d&2)|p&2)){r=N[a+68>>2];i=r>>31;c=f>>31;k=(c^f)-c|0;e=k>>>8|0;i=(i^r)-i|0;x:{if(e+i>>>0<=8190){m=T(i,k)+32768>>>16|0;break x}c=i&65535;m=T(c,k>>>16|0)+T(k,i>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=m;h=0-c|0;c=r>>31|1;N[a+68>>2]=(((f|0)<0?0-c|0:c)|0)<0?h:m;i=N[a+76>>2];c=i>>31;m=e;e=(c^i)-c|0;y:{if(m+e>>>0<=8190){e=T(e,k)+32768>>>16|0;break y}c=e&65535;e=T(c,k>>>16|0)+T(k,e>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=e;k=0-c|0;c=i>>31|1;N[a+76>>2]=(((f|0)<0?0-c|0:c)|0)<0?k:e;break w}d=N[s+60>>2]+(y<<3)|0;c=N[d+4>>2];N[a+68>>2]=N[d>>2];N[a+72>>2]=c;d=N[s+60>>2]+(G<<3)|0;c=N[d+4>>2];N[a+76>>2]=N[d>>2];N[a+80>>2]=c;d=N[B+740>>2]}e=p&2;z:{if(!(e|!(d&16))){i=N[a+180>>2];d=i>>31;c=f>>31;h=(c^f)-c|0;e=h>>>8|0;d=(d^i)-d|0;A:{if(e+d>>>0<=8190){d=T(d,h)+32768>>>16|0;break A}c=d&65535;d=T(c,h>>>16|0)+T(h,d>>>16|0)+(T(c,h&65535)+32768>>>16)|0}c=d;k=0-c|0;c=i>>31|1;N[a+180>>2]=(((f|0)<0?0-c|0:c)|0)<0?k:d;r=N[a+184>>2];i=r>>31;c=n>>31;k=(c^n)-c|0;d=k>>>8|0;i=(i^r)-i|0;B:{if(d+i>>>0<=8190){m=T(i,k)+32768>>>16|0;break B}c=i&65535;m=T(c,k>>>16|0)+T(k,i>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=m;i=0-c|0;c=r>>31|1;N[a+184>>2]=(((n|0)<0?0-c|0:c)|0)<0?i:m;i=N[a+188>>2];c=i>>31;m=e;e=(c^i)-c|0;C:{if(m+e>>>0<=8190){e=T(e,h)+32768>>>16|0;break C}c=e&65535;e=T(c,h>>>16|0)+T(h,e>>>16|0)+(T(c,h&65535)+32768>>>16)|0}c=e;m=0-c|0;c=i>>31|1;N[a+188>>2]=(((f|0)<0?0-c|0:c)|0)<0?m:e;e=N[a+192>>2];c=e>>31;f=d;d=(c^e)-c|0;D:{if(f+d>>>0<=8190){d=T(d,k)+32768>>>16|0;break D}c=d&65535;d=T(c,k>>>16|0)+T(k,d>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=d;f=0-c|0;c=e>>31|1;N[a+192>>2]=(((n|0)<0?0-c|0:c)|0)<0?f:d;break z}d=N[s+60>>2]+(u<<3)|0;c=N[d+4>>2];N[a+180>>2]=N[d>>2];N[a+184>>2]=c;d=N[s+60>>2]+(j<<3)|0;c=N[d+4>>2];N[a+188>>2]=N[d>>2];N[a+192>>2]=c;d=0;if(e){break p}}M[a+128>>1]=P[a+128>>1]+4;d=_m(a,0)}if(!b){break o}Qa[N[E+8>>2]](E,b)}e=d;if(d){break c}af(x);e=0;break c}e=0;if((d|0)>=0){break n}u=N[t+100>>2];M[a+32>>1]=65535;i=a+204|0;E:{d=N[a+204>>2];F:{if(d){f=d;e=c;while(1){if(!e){e=f;while(1){N[e+8>>2]=-1;e=N[e+4>>2];if(e){continue}break}e=N[i>>2];if(e){while(1){if(N[e+8>>2]==(b|0)){break E}e=N[e+4>>2];if(e){continue}break}}N[f+8>>2]=b;break F}e=e-1|0;f=N[f+4>>2];if(f){continue}break}while(1){if(N[d+8>>2]==(b|0)){break E}d=N[d+4>>2];if(d){continue}break}}e=Qa[N[u+4>>2]](u,12)|0;if(!e){e=64;break n}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;N[e+8>>2]=b;d=N[a+208>>2];N[e>>2]=d;N[e+4>>2]=0;N[(d?d+4|0:i)>>2]=e;N[a+208>>2]=e}k=M[x+22>>1];r=M[x+20>>1];e=Qa[N[t+536>>2]](a)|0;N[g+172>>2]=e;if(e){break n}E=N[a+164>>2];Qa[N[t+524>>2]](a);if(P[t+6>>1]&32767|O[t+9|0]&128){i=N[x+84>>2];d=i+4|0;M[g+80>>1]=d;M[g+82>>1]=d;j=d<<16>>16;l=lb(u,8,0,j,0,g+172|0);e=N[g+172>>2];if(e){break c}if((j|0)<0){e=6;break c}f=0;G:{H:{if(j){f=Qa[N[u+4>>2]](u,j)|0;if(!f|(j|0)<=0){break H}C(f,0,j)}N[g+172>>2]=0;break G}d=!f;e=d<<6;N[g+172>>2]=e;if(d){break c}}w=lb(u,2,0,j,0,g+172|0);e=N[g+172>>2];if(e){break c}q=lb(u,8,0,j,0,g+172|0);e=N[g+172>>2];I:{if(e){break I}A=i<<16>>16;i=i<<16;J:{if((i|0)<=0){e=0;break J}h=N[x+88>>2];e=0;while(1){d=l+(e<<3)|0;N[d>>2]=N[h+8>>2];N[d+4>>2]=N[h+12>>2];L[e+f|0]=1;M[w+(e<<1)>>1]=p;h=h+32|0;p=p+1|0;e=p<<16>>16;if((A|0)>(e|0)){continue}break}}d=l+(e<<3)|0;N[d>>2]=N[a+68>>2];N[d+4>>2]=N[a+72>>2];L[e+f|0]=1;M[w+(e<<1)>>1]=p;e=p+1|0;h=e<<16>>16;d=l+(h<<3)|0;N[d>>2]=N[a+76>>2];N[d+4>>2]=N[a+80>>2];L[f+h|0]=1;M[w+(h<<1)>>1]=e;e=p+2|0;h=e<<16>>16;d=l+(h<<3)|0;N[d>>2]=N[a+180>>2];N[d+4>>2]=N[a+184>>2];L[f+h|0]=1;M[w+(h<<1)>>1]=e;e=p+3|0;h=e<<16>>16;d=l+(h<<3)|0;N[d>>2]=N[a+188>>2];N[d+4>>2]=N[a+192>>2];L[f+h|0]=1;M[w+(h<<1)>>1]=e;N[g+92>>2]=w;N[g+88>>2]=f;N[g+84>>2]=l;e=Sh(t,b,g+80|0,q,j);K:{L:{if(e){Qa[N[u+8>>2]](u,l);break L}M:{if((i|0)<=0){p=0;break M}b=N[x+88>>2];p=0;h=0;while(1){if(O[b+4|0]&2){d=l+(p<<3)|0;N[b+8>>2]=M[d>>1];N[b+12>>2]=M[d+4>>1]}b=b+32|0;h=h+1|0;p=h<<16>>16;if((A|0)>(p|0)){continue}break}}b=l+(p<<3)|0;N[a+68>>2]=N[b>>2];N[a+72>>2]=N[b+4>>2];N[a+76>>2]=N[b+8>>2];N[a+80>>2]=N[b+12>>2];N[a+180>>2]=N[b+16>>2];N[a+184>>2]=N[b+20>>2];N[a+188>>2]=N[b+24>>2];N[a+192>>2]=N[b+28>>2];d=N[t+740>>2];if(!(d&2)){b=q+(j<<3)|0;N[a+60>>2]=(N[b-24>>2]-N[b-32>>2]|0)+32>>6}if(!(d&16)){b=q+(j<<3)|0;N[a+176>>2]=(N[b-8>>2]-N[b-16>>2]|0)+32>>6}Qa[N[u+8>>2]](u,l);if(!f){break K}}Qa[N[u+8>>2]](u,f)}if(!w){break I}Qa[N[u+8>>2]](u,w)}if(q){Qa[N[u+8>>2]](u,q)}if(e){break c}}b=N[a+16>>2];if(!(b&1)){I=a,J=ob(N[a+68>>2],v),N[I+68>>2]=J;I=a,J=ob(N[a+76>>2],v),N[I+76>>2]=J;I=a,J=ob(N[a+180>>2],v),N[I+180>>2]=J;I=a,J=ob(N[a+184>>2],o),N[I+184>>2]=J;I=a,J=ob(N[a+188>>2],v),N[I+188>>2]=J;I=a,J=ob(N[a+192>>2],o),N[I+192>>2]=J}if(b&1024){af(x);N[N[a+8>>2]+72>>2]=1668246896;e=0;break c}B=N[x+48>>2];y=N[x+84>>2];D=N[a+28>>2];z=N[a+24>>2];af(x);N:{if(!y){v=0;b=k;break N}G=c+1|0;b=0;while(1){s=M[x+22>>1];u=N[a+176>>2];j=N[a+60>>2];i=N[a+188>>2];l=N[a+192>>2];f=N[a+180>>2];w=N[a+184>>2];d=N[a+76>>2];o=N[a+80>>2];c=N[a+68>>2];q=N[a+72>>2];h=b<<5;A=B<<5;e=Vh(a,N[h+(A+N[x+52>>2]|0)>>2],G,0);if(e){break c}v=h+(A+N[x+52>>2]|0)|0;if(!(O[v+5|0]&2)){N[a+188>>2]=i;N[a+192>>2]=l;N[a+180>>2]=f;N[a+184>>2]=w;N[a+76>>2]=d;N[a+80>>2]=o;N[a+68>>2]=c;N[a+72>>2]=q;N[a+176>>2]=u;N[a+60>>2]=j}A=P[x+22>>1];if((A|0)!=(s&65535)){d=0;l=La-16|0;La=l;q=N[a+12>>2];e=N[q+24>>2];c=e+(s<<3)|0;w=P[q+22>>1]-s<<16>>16;p=P[v+4>>1];h=p&200;if(!(!h|!e|(w|0)<=0)){i=v+16|0;f=(w<<3)+c|0;e=c;while(1){id(e,i);e=e+8|0;if(f>>>0>e>>>0){continue}break}p=P[v+4>>1]}j=N[v+12>>2];e=N[v+8>>2];O:{P:{if(!(p&2)){d=21;e=e+k|0;if(e>>>0>=s>>>0){break O}f=j+s|0;if(f>>>0>=M[q+22>>1]>>>0){break O}d=N[q+24>>2];e=d+(e<<3)|0;d=d+(f<<3)|0;j=N[e+4>>2]-N[d+4>>2]|0;e=N[e>>2]-N[d>>2]|0;break P}if(!(e|j)){break O}if(!(!h|!(p&2048))){d=N[v+20>>2];N[l+8>>2]=N[v+16>>2];N[l+12>>2]=d;h=Wb(l+8|0);I=l,J=_E(N[v+24>>2],N[v+28>>2],32),N[I+8>>2]=J;N[l+12>>2]=Pa;i=Wb(l+8|0);d=h>>31;q=(d^h)-d|0;d=e>>31;f=(d^e)-d|0;Q:{if((q>>>8|0)+f>>>0<=8190){f=T(f,q)+32768>>>16|0;break Q}d=f&65535;f=T(d,q>>>16|0)+T(q,f>>>16|0)+(T(d,q&65535)+32768>>>16)|0}d=f;m=0-d|0;d=e>>31|1;e=(((h|0)<0?0-d|0:d)|0)<0?m:f;d=i>>31;h=(d^i)-d|0;d=j>>31;f=(d^j)-d|0;R:{if((h>>>8|0)+f>>>0<=8190){f=T(f,h)+32768>>>16|0;break R}d=f&65535;f=T(d,h>>>16|0)+T(h,f>>>16|0)+(T(d,h&65535)+32768>>>16)|0}d=f;m=0-d|0;d=j>>31|1;j=(((i|0)<0?0-d|0:d)|0)<0?m:f}f=N[a+16>>2];if(f&1){break P}d=N[N[a+4>>2]+44>>2];q=N[d+8>>2];i=N[d+4>>2];d=i>>31;o=(d^i)-d|0;d=e>>31;h=(d^e)-d|0;S:{if((o>>>8|0)+h>>>0<=8190){m=T(h,o)+32768>>>16|0;break S}d=h&65535;m=T(d,o>>>16|0)+T(o,h>>>16|0)+(T(d,o&65535)+32768>>>16)|0}d=m;h=0-d|0;d=e>>31|1;e=(((i|0)<0?0-d|0:d)|0)<0?h:m;d=q>>31;h=(d^q)-d|0;d=j>>31;i=(d^j)-d|0;T:{if((h>>>8|0)+i>>>0<=8190){m=T(h,i)+32768>>>16|0;break T}d=i&65535;m=T(d,h>>>16|0)+T(h,i>>>16|0)+(T(d,h&65535)+32768>>>16)|0}d=m;h=0-d|0;d=j>>31|1;j=(((q|0)<0?0-d|0:d)|0)<0?h:m;if(!(p&4)|f&2){break P}e=N[N[N[a>>2]+96>>2]+64>>2]==35?e+32&-64:e;j=j+32&-64}d=0;if(!(e|j)|(w|0)<=0){break O}if(w>>>0>=4){f=w&-4;p=0;while(1){N[c>>2]=N[c>>2]+e;N[c+4>>2]=N[c+4>>2]+j;N[c+8>>2]=N[c+8>>2]+e;N[c+16>>2]=N[c+16>>2]+e;N[c+24>>2]=N[c+24>>2]+e;N[c+12>>2]=N[c+12>>2]+j;N[c+20>>2]=N[c+20>>2]+j;N[c+28>>2]=N[c+28>>2]+j;c=c+32|0;p=p+4|0;if((f|0)!=(p|0)){continue}break}}f=w&3;if(!f){break O}p=0;while(1){N[c>>2]=N[c>>2]+e;N[c+4>>2]=N[c+4>>2]+j;c=c+8|0;p=p+1|0;if((f|0)!=(p|0)){continue}break}}La=l+16|0;e=d;if(d){break c}}b=b+1|0;if((y|0)!=(b|0)){continue}break}b=A<<16>>16}N[a+164>>2]=E;N[a+28>>2]=D;N[a+24>>2]=z;if(!(!v|N[a+16>>2]&2|(!(L[v+5|0]&1)|b>>>0<=k>>>0))){i=La-16|0;La=i;d=N[a+12>>2];f=M[d+22>>1];b=f+4|0;U:{if(!(!b|Q[d+4>>2]>=M[d+58>>1]+(b+f|0)>>>0)){f=Sb(d,b,0);if(f){break U}f=M[d+22>>1]}b=N[a+72>>2];c=N[d+24>>2]+(f<<3)|0;N[c>>2]=N[a+68>>2];N[c+4>>2]=b;b=N[a+80>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+8>>2]=N[a+76>>2];N[c+12>>2]=b;b=N[a+184>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+16>>2]=N[a+180>>2];N[c+20>>2]=b;b=N[a+192>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+24>>2]=N[a+188>>2];N[c+28>>2]=b;L[N[d+28>>2]+M[d+22>>1]|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+1|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+2|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+3|0]=0;b=N[a+164>>2];h=N[a+24>>2];c=N[h+20>>2];V:{if(c){f=85;if(Qa[c|0](h,b,0,0)|0){break U}n=N[h+4>>2];break V}f=85;n=N[h+4>>2];if(n>>>0>>0){break U}}N[h+8>>2]=b;if(b+1>>>0>=n>>>0){break U}W:{c=N[h+20>>2];if(c){if((Qa[c|0](h,b,i+14|0,2)|0)!=2){break U}b=N[h+8>>2];f=i+14|0;break W}c=N[h>>2];if(c){f=b+c|0;break W}N[h+8>>2]=b+2;f=0;break U}c=O[f|0]|O[f+1|0]<<8;n=b+2|0;N[h+8>>2]=n;X:{c=c<<8|c>>>8;b=c&65535;Y:{if(b>>>0>P[N[a>>2]+286>>1]){f=22;if((b|0)>N[a+28>>2]){break U}j=N[a+156>>2];c=N[j+408>>2];if(b>>>0>c>>>0){e=N[j+412>>2];if((c|0)<0){N[j+412>>2]=e;f=6;break X}d=N[j+8>>2];Z:{if(!c){n=Qa[N[d+4>>2]](d,b)|0;f=!n<<6;break Z}d=Qa[N[d+12>>2]](d,c,b,e)|0;n=d?d:e;f=!d<<6}_:{if(!(f|(b|0)<=(c|0)|!n)){C(c+n|0,0,b-c|0);N[j+412>>2]=n;break _}N[j+412>>2]=n;if(f){break X}}n=N[h+8>>2];j=N[a+156>>2];c=b}N[j+408>>2]=c&65535;break Y}if(!(c&65535)){f=0;break U}j=N[a+156>>2]}f=85;d=N[h+4>>2];if(d>>>0<=n>>>0){break U}e=N[j+412>>2];c=N[h+20>>2];$:{if(c){j=Qa[c|0](h,n,e,b)|0;break $}c=d-n|0;j=b>>>0>c>>>0?c:b;F(e,N[h>>2]+n|0,j)}N[h+8>>2]=j+n;if(b>>>0>j>>>0){break U}d=N[N[a+156>>2]+412>>2];c=N[a+8>>2];N[c+140>>2]=b;N[c+136>>2]=d;d=N[a+12>>2];c=P[d+22>>1];M[a+128>>1]=c-k;M[a+130>>1]=P[d+20>>1]-r;b=k<<3;N[a+132>>2]=b+N[d+40>>2];N[a+136>>2]=b+N[d+24>>2];N[a+140>>2]=b+N[d+44>>2];N[a+144>>2]=k+N[d+28>>2];b=N[d+32>>2];M[a+152>>1]=k;N[a+148>>2]=b+(r<<1);if((c|0)!=(k&65535)){b=0;while(1){c=N[a+144>>2]+b|0;L[c|0]=O[c|0]&231;b=b+1|0;c=P[a+128>>1];if(b>>>0>>0){continue}break}b=c+4|0}else{b=4}M[a+128>>1]=b;f=_m(a,1);break U}N[N[a+156>>2]+408>>2]=c&65535}La=i+16|0;e=f;if(e){break c}}e=0;if(!N[x+48>>2]|!(O[N[x+52>>2]+5|0]&4)){break c}N[x+36>>2]=N[x+36>>2]|64;break c}e=21}Qa[N[t+524>>2]](a)}if(!H){break a}a=N[N[t+128>>2]+52>>2];Qa[N[N[a>>2]+4>>2]](N[a+4>>2],g+124|0)}La=g+176|0;return e}function Qf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;j=La-112|0;s=e+2378|0;f=-31;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{switch(N[e+632>>2]){case 1:f=N[e+12>>2];break s;case 5:break j;case 4:break o;case 3:break q;case 2:break r;case 0:break t;default:break a}}f=2;g=N[e+12>>2];u:{if(g-31>>>0>=2){h=N[e+8>>2];break u}h=N[e+20>>2];if(!h){break a}f=N[e+8>>2]>>>8|0;N[e+8>>2]=f;i=N[e+16>>2];l=O[i|0];N[e+20>>2]=h-1;N[e+16>>2]=i+1;h=f|l<<24;N[e+8>>2]=h;g=g-8|0}f=g+2|0;N[e+12>>2]=f;h=h>>>g&3;N[e+636>>2]=h;if((h|0)!=1){break p}}v:{if(f-31>>>0>=2){g=N[e+8>>2];break v}h=N[e+20>>2];if(!h){break k}g=N[e+8>>2]>>>8|0;N[e+8>>2]=g;i=N[e+16>>2];j=O[i|0];N[e+20>>2]=h-1;N[e+16>>2]=i+1;g=g|j<<24;N[e+8>>2]=g;f=f-8|0}N[e+636>>2]=0;N[e+12>>2]=f+2;N[e+648>>2]=g>>>f&3}g=0;f=a-1|0;if(f){while(1){g=g+1|0;a=f>>>0>1;f=f>>>1|0;if(a){continue}break}}h=N[e+648>>2];l=N[e+636>>2];if(h>>>0>>0){break g}k=(g<<2)+169392|0;f=N[e+12>>2];while(1){w:{if(32-f>>>0>=g>>>0){m=N[e+8>>2];a=f;break w}j=N[e+20>>2];if(!j){break l}o=N[e+8>>2]>>>8|0;N[e+8>>2]=o;i=N[e+16>>2];n=O[i|0];p=j-1|0;N[e+20>>2]=p;a=f-8|0;N[e+12>>2]=a;N[e+16>>2]=i+1;m=o|n<<24;N[e+8>>2]=m;if(40-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+1|0];p=j-2|0;N[e+20>>2]=p;a=f-16|0;N[e+12>>2]=a;N[e+16>>2]=i+2;m=o|n<<24;N[e+8>>2]=m;if(48-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+2|0];p=j-3|0;N[e+20>>2]=p;a=f-24|0;N[e+12>>2]=a;N[e+16>>2]=i+3;m=o|n<<24;N[e+8>>2]=m;if(56-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+3|0];p=j-4|0;N[e+20>>2]=p;a=f-32|0;N[e+12>>2]=a;N[e+16>>2]=i+4;m=o|n<<24;N[e+8>>2]=m;if(64-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+4|0];p=j-5|0;N[e+20>>2]=p;a=f-40|0;N[e+12>>2]=a;N[e+16>>2]=i+5;m=o|n<<24;N[e+8>>2]=m;if(72-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+5|0];N[e+20>>2]=j-6;a=f-48|0;N[e+12>>2]=a;N[e+16>>2]=i+6;m=o|n<<24;N[e+8>>2]=m}f=a+g|0;N[e+12>>2]=f;a=N[k>>2]&m>>>a;if(a>>>0>>0){M[((l<<1)+e|0)+792>>1]=a;l=l+1|0;if(l>>>0>h>>>0){break g}continue}break}return-4}h=N[e+648>>2];break f}N[e+652>>2]=0;N[e+656>>2]=32;a=e+2360|0;M[a+22>>1]=0;M[a+24>>1]=0;M[a+26>>1]=0;M[a+28>>1]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[e+632>>2]=4;n=32;i=0;break n}n=N[e+656>>2];i=N[e+652>>2];h=N[e+636>>2];if(h>>>0>17){break m}f=N[e+12>>2]}while(1){a=O[h+169216|0];x:{y:{z:{if(f-29>>>0>=4){g=N[e+8>>2];break z}g=N[e+20>>2];if(!g){break y}l=N[e+8>>2]>>>8|0;N[e+8>>2]=l;k=N[e+16>>2];o=O[k|0];N[e+20>>2]=g-1;N[e+16>>2]=k+1;g=l|o<<24;N[e+8>>2]=g;f=f-8|0}g=g>>>f&15;m=O[g+169248|0];break x}g=0;g=(f|0)!=32?N[e+8>>2]>>>f|0:g;m=O[g+169248|0];if(m>>>0<=32-f>>>0){break x}N[e+656>>2]=n;N[e+652>>2]=i;N[e+636>>2]=h;N[e+632>>2]=4;return 2}f=f+m|0;N[e+12>>2]=f;l=(a+e|0)+2360|0;a=O[g+169264|0];L[l|0]=a;if(!(4369>>>g&1)){g=((a<<1)+e|0)+2378|0;M[g>>1]=P[g>>1]+1;i=i+1|0;n=n-(32>>>a|0)|0;if(n-33>>>0<4294967264){break m}}h=h+1|0;if((h|0)!=18){continue}break}}if((i|0)!=1){f=-6;if(n){break a}}a=P[e+2380>>1]-1|0;N[j+4>>2]=a;a=a+P[e+2382>>1]|0;N[j+8>>2]=a;a=a+P[e+2384>>1]|0;N[j+12>>2]=a;a=a+P[e+2386>>1]|0;N[j+16>>2]=a;f=P[e+2388>>1];N[j>>2]=17;N[j+20>>2]=a+f;f=j+(O[e+2377|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=17;f=j+(O[e+2376|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=16;f=j+(O[e+2375|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=15;f=j+(O[e+2374|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=14;f=j+(O[e+2373|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=13;f=j+(O[e+2372|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=12;f=j+(O[e+2371|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=11;f=j+(O[e+2370|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=10;f=j+(O[e+2369|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=9;f=j+(O[e+2368|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=8;f=j+(O[e+2367|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=7;f=j+(O[e+2366|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=6;f=j+(O[e+2365|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=5;f=j+(O[e+2364|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=4;f=j+(O[e+2363|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=3;f=j+(O[e+2362|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=2;f=j+(O[e+2361|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=1;f=j+(O[e+2360|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;h=0;N[(j+32|0)+(a<<2)>>2]=0;if(N[j>>2]){l=e+660|0;a=0;i=P[e+2380>>1];if(i){while(1){f=l+(O[h+168960|0]<<2)|0;g=N[(j+32|0)+(a<<2)>>2]<<16|1;M[f+112>>1]=g;k=g>>>16|0;M[f+114>>1]=k;M[f+120>>1]=g;M[f+122>>1]=k;M[f+104>>1]=g;M[f+106>>1]=k;M[f+96>>1]=g;M[f+98>>1]=k;M[f+88>>1]=g;M[f+90>>1]=k;M[f+80>>1]=g;M[f+82>>1]=k;M[f+72>>1]=g;M[f+74>>1]=k;M[f+64>>1]=g;M[f+66>>1]=k;M[f+56>>1]=g;M[f+58>>1]=k;M[f+48>>1]=g;M[f+50>>1]=k;M[f+40>>1]=g;M[f+42>>1]=k;M[f+32>>1]=g;M[f+34>>1]=k;M[f+24>>1]=g;M[f+26>>1]=k;M[f+16>>1]=g;M[f+18>>1]=k;M[f+8>>1]=g;M[f+10>>1]=k;M[f>>1]=g;M[f+2>>1]=k;h=h+128|0;a=a+1|0;i=i-1|0;if(i){continue}break}}i=P[e+2382>>1];if(i){while(1){f=l+(O[h+168960|0]<<2)|0;g=N[(j+32|0)+(a<<2)>>2]<<16|2;M[f+96>>1]=g;k=g>>>16|0;M[f+98>>1]=k;M[f+112>>1]=g;M[f+114>>1]=k;M[f+80>>1]=g;M[f+82>>1]=k;M[f+64>>1]=g;M[f+66>>1]=k;M[f+48>>1]=g;M[f+50>>1]=k;M[f+32>>1]=g;M[f+34>>1]=k;M[f+16>>1]=g;M[f+18>>1]=k;M[f>>1]=g;M[f+2>>1]=k;h=h- -64|0;a=a+1|0;i=i-1|0;if(i){continue}break}}f=P[e+2384>>1];A:{if(!f){break A}if(f&1){g=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|3;M[g+64>>1]=i;k=i>>>16|0;M[g+66>>1]=k;M[g+96>>1]=i;M[g+98>>1]=k;M[g+32>>1]=i;M[g+34>>1]=k;M[g>>1]=i;M[g+2>>1]=k;h=h+32|0;a=a+1|0;i=f-1|0}else{i=f}if((f|0)==1){break A}while(1){f=l+(O[h+168960|0]<<2)|0;k=(j+32|0)+(a<<2)|0;g=N[k>>2]<<16|3;M[f+64>>1]=g;o=g>>>16|0;M[f+66>>1]=o;M[f+96>>1]=g;M[f+98>>1]=o;M[f+32>>1]=g;M[f+34>>1]=o;M[f>>1]=g;M[f+2>>1]=o;f=l+(O[h+168992|0]<<2)|0;g=N[k+4>>2]<<16|3;M[f+64>>1]=g;M[f+66>>1]=g>>>16;M[f+96>>1]=g;M[f+98>>1]=g>>>16;M[f+32>>1]=g;M[f+34>>1]=g>>>16;M[f>>1]=g;M[f+2>>1]=g>>>16;h=h- -64|0;a=a+2|0;i=i-2|0;if(i){continue}break}}g=P[e+2386>>1];B:{if(!g){break B}if(g&1){f=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|4;M[f>>1]=i;k=i>>>16|0;M[f+2>>1]=k;M[f+64>>1]=i;M[f+66>>1]=k;h=h+16|0;a=a+1|0;f=g-1|0}else{f=g}if((g|0)==1){break B}while(1){g=l+(O[h+168960|0]<<2)|0;k=(j+32|0)+(a<<2)|0;i=N[k>>2]<<16|4;M[g>>1]=i;o=i>>>16|0;M[g+2>>1]=o;M[g+64>>1]=i;M[g+66>>1]=o;g=l+(O[h+168976|0]<<2)|0;i=N[k+4>>2]<<16|4;M[g>>1]=i;M[g+2>>1]=i>>>16;M[g+64>>1]=i;M[g+66>>1]=i>>>16;h=h+32|0;a=a+2|0;f=f-2|0;if(f){continue}break}}g=P[e+2388>>1];if(!g){break i}if(g&1){f=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|5;M[f>>1]=i;M[f+2>>1]=i>>>16;h=h+8|0;a=a+1|0;f=g-1|0}else{f=g}if((g|0)==1){break i}while(1){g=l+(O[h+168960|0]<<2)|0;i=(j+32|0)+(a<<2)|0;k=N[i>>2]<<16|5;M[g>>1]=k;M[g+2>>1]=k>>>16;g=l+(O[h+168968|0]<<2)|0;i=N[i+4>>2]<<16|5;M[g>>1]=i;M[g+2>>1]=i>>>16;h=h+16|0;a=a+2|0;f=f-2|0;if(f){continue}break}break i}a=N[j+32>>2]<<16;M[e+784>>1]=a;f=a>>>16|0;M[e+786>>1]=f;M[e+780>>1]=a;M[e+782>>1]=f;M[e+776>>1]=a;M[e+778>>1]=f;M[e+772>>1]=a;M[e+774>>1]=f;M[e+768>>1]=a;M[e+770>>1]=f;M[e+764>>1]=a;M[e+766>>1]=f;M[e+760>>1]=a;M[e+762>>1]=f;M[e+756>>1]=a;M[e+758>>1]=f;M[e+752>>1]=a;M[e+754>>1]=f;M[e+748>>1]=a;M[e+750>>1]=f;M[e+744>>1]=a;M[e+746>>1]=f;M[e+740>>1]=a;M[e+742>>1]=f;M[e+736>>1]=a;M[e+738>>1]=f;M[e+732>>1]=a;M[e+734>>1]=f;M[e+728>>1]=a;M[e+730>>1]=f;M[e+724>>1]=a;M[e+726>>1]=f;M[e+720>>1]=a;M[e+722>>1]=f;M[e+716>>1]=a;M[e+718>>1]=f;M[e+712>>1]=a;M[e+714>>1]=f;M[e+708>>1]=a;M[e+710>>1]=f;M[e+704>>1]=a;M[e+706>>1]=f;M[e+700>>1]=a;M[e+702>>1]=f;M[e+696>>1]=a;M[e+698>>1]=f;M[e+692>>1]=a;M[e+694>>1]=f;M[e+688>>1]=a;M[e+690>>1]=f;M[e+684>>1]=a;M[e+686>>1]=f;M[e+680>>1]=a;M[e+682>>1]=f;M[e+676>>1]=a;M[e+678>>1]=f;M[e+672>>1]=a;M[e+674>>1]=f;M[e+668>>1]=a;M[e+670>>1]=f;M[e+664>>1]=a;M[e+666>>1]=f;M[e+660>>1]=a;M[e+662>>1]=f;break i}N[e+632>>2]=2;N[e+636>>2]=l;return 2}N[e+632>>2]=1;return 2}m=N[e+788>>2];i=N[e+640>>2];o=N[e+644>>2];n=N[e+656>>2];p=N[e+652>>2];f=N[e+648>>2];break h}a=s;M[a+24>>1]=0;M[a+26>>1]=0;M[a+28>>1]=0;M[a+30>>1]=0;M[a+16>>1]=0;M[a+18>>1]=0;M[a+20>>1]=0;M[a+22>>1]=0;o=8;M[a+8>>1]=0;M[a+10>>1]=0;M[a+12>>1]=0;M[a+14>>1]=0;M[a>>1]=0;M[a+2>>1]=0;M[a+4>>1]=0;M[a+6>>1]=0;N[e+2232>>2]=-16;m=N[e+788>>2];M[m-32>>1]=65535;N[e+2236>>2]=-15;M[m-30>>1]=65535;N[e+2240>>2]=-14;M[m-28>>1]=65535;N[e+2244>>2]=-13;M[m-26>>1]=65535;N[e+2248>>2]=-12;M[m-24>>1]=65535;N[e+2252>>2]=-11;M[m-22>>1]=65535;N[e+2256>>2]=-10;M[m-20>>1]=65535;N[e+2260>>2]=-9;M[m-18>>1]=65535;N[e+2264>>2]=-8;M[m-16>>1]=65535;N[e+2268>>2]=-7;M[m-14>>1]=65535;N[e+2272>>2]=-6;M[m-12>>1]=65535;N[e+2276>>2]=-5;M[m-10>>1]=65535;N[e+2280>>2]=-4;M[m-8>>1]=65535;N[e+2284>>2]=-3;M[m-6>>1]=65535;N[e+2288>>2]=-2;M[m-4>>1]=65535;N[e+2292>>2]=-1;M[m-2>>1]=65535;N[e+648>>2]=0;N[e+652>>2]=0;n=32768;N[e+656>>2]=32768;N[e+640>>2]=0;N[e+644>>2]=8;N[e+632>>2]=5;i=0;f=0}r=e+2232|0;C:{D:{a=N[e+12>>2];E:{if((a|0)!=32){q=N[e+16>>2];a=a-8|0;break E}a=N[e+20>>2];if(!a){j=0;break D}h=N[e+8>>2]>>>8|0;N[e+8>>2]=h;g=N[e+16>>2];j=O[g|0];N[e+20>>2]=a-1;N[e+12>>2]=24;q=g+1|0;N[e+16>>2]=q;N[e+8>>2]=h|j<<24;a=16}F:{if(!(q&1)){break F}h=N[e+20>>2];if(!h){break F}g=N[e+8>>2]>>>8|0;N[e+8>>2]=g;j=O[q|0];N[e+20>>2]=h-1;N[e+12>>2]=a;q=q+1|0;N[e+16>>2]=q;N[e+8>>2]=g|j<<24}G:{if(!n|b>>>0<=f>>>0){break G}v=e+660|0;j=N[e+20>>2];while(1){if(j>>>0<=1){N[e+652>>2]=p;N[e+648>>2]=f;N[e+644>>2]=o;N[e+656>>2]=n;N[e+640>>2]=i;break D}h=N[e+8>>2];g=N[e+12>>2];if(g>>>0>=16){g=g^16;N[e+12>>2]=g;a=h>>>16|0;N[e+8>>2]=a;h=O[q|0]|O[q+1|0]<<8;j=j-2|0;N[e+20>>2]=j;q=q+2|0;N[e+16>>2]=q;h=a|h<<16;N[e+8>>2]=h}a=v+((h>>>g&31)<<2)|0;g=O[a|0]+g|0;N[e+12>>2]=g;a=P[a+2>>1];H:{if(a>>>0<=15){if(a){h=r+(a<<2)|0;M[(N[h>>2]<<1)+m>>1]=f;N[h>>2]=f;h=(a<<1)+s|0;M[h>>1]=P[h>>1]+1;n=n-(32768>>>a|0)|0;o=a}l=f+1|0;p=0;break H}l=(a|0)==16;a=l?2:3;N[e+12>>2]=a+g;h=N[(a<<2)+169392>>2]&h>>>g;I:{J:{k=l?o:0;if((k|0)==(i|0)){if(p){break J}k=i}g=0;a=0;break I}k=i;g=p;a=g-2<>>0>b>>>0){n=1048575;N[e+656>>2]=1048575;break C}if(!k){i=0;break H}t=h-g|0;u=t+2|0;w=r+(k<<2)|0;g=N[w>>2];a=0;t=t+3&7;if(t){while(1){h=f;M[(g<<1)+m>>1]=f;f=f+1|0;g=h;a=a+1|0;if((t|0)!=(a|0)){continue}break}}if(u>>>0>=7){while(1){M[(g<<1)+m>>1]=f;a=f+1|0;M[(f<<1)+m>>1]=a;h=(a<<1)+m|0;a=f+2|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+3|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+4|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+5|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+6|0;M[h>>1]=a;g=f+7|0;M[(a<<1)+m>>1]=g;h=g;f=f+8|0;if((l|0)!=(f|0)){continue}break}}N[w>>2]=h;a=(k<<1)+s|0;M[a>>1]=i+P[a>>1];n=n-(i<<15-k)|0;i=k}if(b>>>0<=l>>>0){break G}f=l;if(n){continue}break}}N[e+656>>2]=n;break C}if(b>>>0<=f>>>0){break C}o=e+660|0;a=0;while(1){if(n){K:{if(!a){g=N[e+12>>2];break K}if(!j){return 2}a=N[e+8>>2]>>>8|0;N[e+8>>2]=a;h=N[e+16>>2];l=O[h|0];g=N[e+12>>2]-8|0;N[e+12>>2]=g;j=j-1|0;N[e+20>>2]=j;N[e+16>>2]=h+1;N[e+8>>2]=a|l<<24}h=0;a=1;h=(g|0)!=32?N[e+8>>2]>>>g|0:h;l=o+((h&31)<<2)|0;k=O[l|0];p=32-g|0;L:{if(k>>>0>p>>>0){break L}l=P[l+2>>1];M:{if(l>>>0<=15){N[e+652>>2]=0;N[e+12>>2]=g+k;if(l){a=r+(l<<2)|0;M[(N[a>>2]<<1)+m>>1]=f;N[a>>2]=f;n=n-(32768>>>l|0)|0;N[e+656>>2]=n;N[e+644>>2]=l;a=(l<<1)+s|0;M[a>>1]=P[a>>1]+1}f=f+1|0;N[e+648>>2]=f;break M}w=p;p=l-14|0;q=p+k|0;if(w>>>0>>0){break L}N[e+12>>2]=g+q;k=N[(p<<2)+169392>>2]&h>>>k;N:{O:{P:{if((l|0)!=16){l=3;a=0;break P}l=2;a=N[e+644>>2]}if((a|0)!=(i|0)){N[e+640>>2]=a;break O}h=N[e+652>>2];if(!h){break O}g=h-2<>2]=i;k=i-h|0;l=k+f|0;if(l>>>0>b>>>0){N[e+656>>2]=1048575;N[e+648>>2]=b;return-7}if(a){i=g-h|0;n=i+2|0;p=r+(a<<2)|0;g=N[p>>2];a=0;i=i+3&7;if(i){while(1){h=f;M[(g<<1)+m>>1]=f;f=f+1|0;g=h;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(n>>>0>=7){while(1){M[(g<<1)+m>>1]=f;a=f+1|0;M[(f<<1)+m>>1]=a;h=(a<<1)+m|0;a=f+2|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+3|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+4|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+5|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+6|0;M[h>>1]=a;g=f+7|0;M[(a<<1)+m>>1]=g;h=g;f=f+8|0;if((l|0)!=(f|0)){continue}break}}N[e+648>>2]=l;N[p>>2]=h;i=N[e+640>>2];n=N[e+656>>2]-(k<<15-i)|0;N[e+656>>2]=n;a=(i<<1)+s|0;M[a>>1]=k+P[a>>1];f=N[e+648>>2];break M}N[e+648>>2]=l;i=0;f=l}a=0}if(b>>>0>f>>>0){continue}}break}n=N[e+656>>2]}f=-7;if(n){break a}f=-1;g=15;while(1){h=g;g=g-1|0;k=f;f=f-1|0;if(P[(k<<1)+m>>1]==65535){continue}break}j=k>>>0>=4294967288?256:1<=8?8:h;o=(a|0)<=1?1:a;q=128;l=0;a=2;n=1;while(1){i=P[(n<<1)+s>>1];if(i){b=n-16|0;while(1){p=(O[l+168960|0]<<2)+c|0;b=P[(b<<1)+m>>1];g=b<<16|n;f=j;while(1){f=f-a|0;r=p+(f<<2)|0;M[r>>1]=g;M[r+2>>1]=g>>>16;if((f|0)>0){continue}break}l=l+q|0;i=i-1|0;if(i){continue}break}}q=q>>>1|0;a=a<<1;b=(n|0)!=(o|0);n=n+1|0;if(b){continue}break}p=256;if((j|0)!=256){while(1){a=j<<2;F(a+c|0,c,a);j=j<<1;if((j|0)!=256){continue}break}}if(k>>>0>=4294967289){t=(h|0)<=9?9:h;o=8;k=128;j=256;g=2;i=256;b=c;while(1){a=o;o=a+1|0;r=(o<<1)+s|0;Q:{if(!P[r>>1]){break Q}q=a-15|0;v=a-7|0;n=1<>>0<=13){while(1){if((i|0)==256){b=(j<<2)+b|0;h=n;f=o;while(1){R:{a=h-P[(f<<1)+s>>1]|0;if((a|0)<=0){a=f;break R}h=a<<1;a=15;f=f+1|0;if((f|0)!=15){continue}}break}f=O[l+168960|0];h=(f<<2)+c|0;f=a&255|(b-c>>>2|0)-f<<16;M[h>>1]=f;M[h+2>>1]=f>>>16;l=l+1|0;j=1<>1];a=v|q<<16;f=j;while(1){f=f-g|0;u=h+(f<<2)|0;M[u>>1]=a;M[u+2>>1]=a>>>16;if((f|0)>0){continue}break}a=P[r>>1]-1|0;M[r>>1]=a;i=i+k|0;if(a&65535){continue}break Q}}while(1){if((i|0)==256){a=O[l+168960|0];f=(a<<2)+c|0;b=(j<<2)+b|0;a=(b-c>>>2|0)-a<<16|o;M[f>>1]=a;M[f+2>>1]=a>>>16;l=l+1|0;p=n+p|0;j=n;i=0}h=(O[i+168960|0]<<2)+b|0;q=P[(q<<1)+m>>1];a=v|q<<16;f=j;while(1){f=f-g|0;u=h+(f<<2)|0;M[u>>1]=a;M[u+2>>1]=a>>>16;if((f|0)>0){continue}break}a=P[r>>1]-1|0;M[r>>1]=a;i=i+k|0;if(a&65535){continue}break}}k=k>>>1|0;g=g<<1;if((o|0)!=(t|0)){continue}break}}if(d){N[d>>2]=p}break b}if(!h){break e}a=0;while(1){b=P[((a<<1)+e|0)+792>>1];a=a+1|0;f=a;S:{while(1){if((b|0)!=P[((f<<1)+e|0)+792>>1]){f=f+1|0;if(h>>>0>=f>>>0){continue}break S}break}return-5}if((a|0)!=(h|0)){continue}break}}if((h|0)==3){f=N[e+12>>2];T:{if((f|0)!=32){g=N[e+8>>2];break T}a=N[e+20>>2];if(!a){N[e+632>>2]=3;return 2}b=N[e+8>>2]>>>8|0;N[e+8>>2]=b;f=N[e+16>>2];h=O[f|0];N[e+20>>2]=a-1;N[e+16>>2]=f+1;f=24;g=b|h<<24;N[e+8>>2]=g}N[e+12>>2]=f+1;h=(g>>>f&1)+3|0;N[e+648>>2]=h}g=e+792|0;f=1;U:{V:{W:{switch(h|0){case 1:a=P[e+794>>1];b=P[e+792>>1];if(a>>>0>b>>>0){a=b<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|1;M[c+4>>1]=a;M[c+6>>1]=a>>>16;f=2;break c}a=a<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+4>>1]=a;M[c+6>>1]=a>>>16;f=2;break c;case 2:a=P[e+792>>1]<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1];b=P[e+794>>1];if(a>>>0>b>>>0){a=b<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+796>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c}a=a<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c;case 3:h=P[e+794>>1];b=P[e+792>>1];X:{if(h>>>0>=b>>>0){a=h;h=b;break X}M[e+792>>1]=h;M[e+794>>1]=b;a=b}g=P[e+796>>1];Y:{if(h>>>0<=g>>>0){f=g;g=h;break Y}M[e+792>>1]=g;M[e+796>>1]=h;f=h}b=P[e+798>>1];if(b>>>0>>0){break V}l=g;g=b;break U;case 4:break W;case 0:break d;default:break c}}a=P[e+798>>1];b=P[e+796>>1];if(a>>>0>>0){M[e+796>>1]=a;M[e+798>>1]=b}a=P[e+792>>1]<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1]<<16|3;M[c+12>>1]=a;M[c+14>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+16>>1]=a;M[c+18>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+20>>1]=a;M[c+22>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+24>>1]=a;M[c+26>>1]=a>>>16;a=P[e+798>>1]<<16|3;M[c+28>>1]=a;M[c+30>>1]=a>>>16;f=8;break c}M[e+792>>1]=b;M[e+798>>1]=g;l=b}Z:{if(a>>>0<=f>>>0){h=f;f=a;break Z}M[e+794>>1]=f;M[e+796>>1]=a;h=a}_:{if(f>>>0<=g>>>0){f=g;break _}M[e+794>>1]=g;M[e+798>>1]=f}if(f>>>0>>0){M[e+796>>1]=f;M[e+798>>1]=h}a=l<<16|2;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1]<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+798>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c}g=e+792|0}a=P[g>>1]<<16;M[c>>1]=a;M[c+2>>1]=a>>>16;f=1}while(1){a=f<<2;F(a+c|0,c,a);f=f<<1;if((f|0)!=256){continue}break}if(d){N[d>>2]=256}}N[e+632>>2]=0;f=1}return f}function bh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;u=La-16|0;La=u;a:{if(!Dk(a+4|0,b,a)){break a}c=a+6|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}d=((d<<8|d>>>8)&65535)+a|0;N[u+12>>2]=d;if(Ck(d,b,u+12|0)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}p=a+8|0;f=N[b+4>>2];if(p>>>0>>0){break a}c=N[b+8>>2];if(c>>>0

>>0|c-p>>>0<2){break a}h=N[b+12>>2];d=h-2|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}d=O[p|0]|O[p+1|0]<<8;c:{if(!d){break c}d:{o=((d<<8|d>>>8)&65535)+a|0;if(f>>>0>o>>>0|c>>>0>>0|c-o>>>0<2){break d}d=h-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}f=O[o|0]|O[o+1|0]<<8;if(!f){break c}h=o+2|0;if(h>>>0>c>>>0){break d}e=c-h|0;c=(f<<8|f>>>8)&65535;f=c<<1;if(e>>>0>>0){break d}d=d-f|0;N[b+12>>2]=d;if((d|0)<=0){break d}A=c>>>0<=1?1:c;while(1){q=((v<<1)+o|0)+2|0;d=N[b+4>>2];if(q>>>0>>0){break d}f=N[b+8>>2];if(f>>>0>>0|f-q>>>0<2){break d}c=N[b+12>>2];h=c-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[q|0]|O[q+1|0]<<8;e:{if(!h){break e}l=((h<<8|h>>>8)&65535)+o|0;f:{g:{if(d>>>0>l>>>0|f>>>0>>0|f-l>>>0<6){break g}h=c-8|0;N[b+12>>2]=h;if((h|0)<=0){break g}n=l+4|0;if(f>>>0>>0|f-n>>>0<2){break g}h=c-10|0;N[b+12>>2]=h;if((h|0)<=0){break g}s=O[n|0]|O[n+1|0]<<8;t=(s<<8|s>>>8)&65535;e=t<<1;if(s){c=l+6|0;if(c>>>0>f>>>0|e>>>0>f-c>>>0){break g}h=h-e|0;N[b+12>>2]=h;if((h|0)<=0){break g}}c=N[b+16>>2]+t|0;N[b+16>>2]=c;if((c|0)>16383){break g}h:{if(!(O[l+3|0]&16)){c=h;break h}c=(e+n|0)+2|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break g}c=h-2|0;N[b+12>>2]=c;if((h|0)<3){break g}}if(d>>>0>n>>>0){break g}d=O[l|0]|O[l+1|0]<<8;c=c-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}if(s){h=l+6|0;if(h>>>0>f>>>0|e>>>0>f-h>>>0){break g}c=c-e|0;N[b+12>>2]=c;if((c|0)<=0){break g}s=(d<<8|d>>>8)&65535;B=t>>>0<=1?1:t;h=0;while(1){r=((h<<1)+n|0)+2|0;if(r>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-r>>>0<2){break g}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=O[r|0]|O[r+1|0]<<8;i:{if(!c){break i}f=((c<<8|c>>>8)&65535)+l|0;c=s;d=0;m=La-16|0;La=m;j:{while(1){k:{if((c|0)!=9){d=1;l:{switch(c-1|0){case 0:if(Q[b+4>>2]>f>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}g=c-f|0;if(g>>>0<2){d=0;break j}e=N[b+12>>2];i=e-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}m:{n:{i=O[f|0]|O[f+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break m;case 0:break n;default:break j}}if(g>>>0<6){d=0;break j}d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-10|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;o:{if(!c){break o}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break o}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=O[f+4|0]|O[f+5|0]<<8;if(!c){break j}e=f+6|0;if(e>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}g=d-e|0;d=YE(c)<<1;if(g>>>0>>0){d=0;break j}g=N[b+12>>2]-d|0;N[b+12>>2]=g;d=0;if((g|0)<=0){break j}d=1;if(c>>>0<4096){break j}d=fe(c,b,f,e);break j}if(g>>>0<8){d=0;break j}d=e-10|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-12|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;p:{if(!c){break p}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break p}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;g=O[f+4|0]|O[f+5|0]<<8;j=YE(g);e=O[f+6|0]|O[f+7|0]<<8;k=(e<<8|e>>>8)&65535;d=T(j,k)<<1;if(d){if(Q[b+4>>2]>c>>>0){d=0;break j}i=N[b+8>>2];if(i>>>0>>0){d=0;break j}if(d>>>0>i-c>>>0){d=0;break j}i=N[b+12>>2]-d|0;N[b+12>>2]=i;d=0;if((i|0)<=0){break j}}if(!e){d=1;break j}d=1;if(g>>>0<4096){break j}i=0;while(1){d=fe(O[f+4|0]|O[f+5|0]<<8,b,f,c);if(!d){break j}c=(j<<1)+c|0;i=i+1|0;if((k|0)!=(i|0)){continue}break};break j;case 1:if(Q[b+4>>2]>f>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}g=c-f|0;if(g>>>0<2){d=0;break j}e=N[b+12>>2];i=e-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}q:{r:{i=O[f|0]|O[f+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break q;case 0:break r;default:break j}}if(g>>>0<10){d=0;break j}d=e-12|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}i=O[f+6|0]|O[f+7|0]<<8;j=O[f+4|0]|O[f+5|0]<<8;c=e-14|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;s:{if(!c){break s}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break s}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=f+10|0;if(d>>>0>e>>>0){d=0;break j}e=e-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(e>>>0>>0){d=0;break j}e=g-d|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break j}y=YE(j);w=(y+YE(i)|0)+1|0;C=c>>>0<=1?1:c;i=0;while(1){e=N[b+4>>2];j=((i<<1)+f|0)+10|0;if(e>>>0>j>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}if(c-j>>>0<2){d=0;break j}k=N[b+12>>2];d=k-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[j|0]|O[j+1|0]<<8;t:{if(!d){break t}u:{g=((d<<8|d>>>8)&65535)+f|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<2){break u}d=k-4|0;N[b+12>>2]=d;if((d|0)<=0){break u}k=O[g|0]|O[g+1|0]<<8;if(!k){break t}e=g+2|0;if(e>>>0>c>>>0){break u}x=(k<<8|k>>>8)&65535;z=T(x,w)<<1;if(z>>>0>c-e>>>0){break u}c=d-z|0;N[b+12>>2]=c;if((c|0)<=0){break u}c=g+4|0;v:{if(!k){break v}e=0;d=c;if((O[f+4|0]|O[f+5|0]<<8)>>>0<4096){break v}while(1){if(!fe(O[f+4|0]|O[f+5|0]<<8,b,g,d)){break u}d=(w<<1)+d|0;e=e+1|0;if((x|0)!=(e|0)){continue}break}}if(!k|(O[f+6|0]|O[f+7|0]<<8)>>>0<4096){break t}d=c+(y<<1)|0;e=0;while(1){if(!fe(O[f+6|0]|O[f+7|0]<<8,b,g,d)){break u}d=(w<<1)+d|0;e=e+1|0;if((x|0)!=(e|0)){continue}break}break t}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[j|0]=0;L[j+1|0]=0}d=1;i=i+1|0;if((C|0)!=(i|0)){continue}break}break j}if(g>>>0<16){d=0;break j}d=e-18|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-20|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;w:{if(!c){break w}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break w}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;x:{if(!d){break x}if(td(((d<<8|d>>>8)&65535)+f|0,b)){break x}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=f+10|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;y:{if(!d){break y}if(td(((d<<8|d>>>8)&65535)+f|0,b)){break y}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=O[f+14|0]|O[f+15|0]<<8;d=(c<<8|c>>>8)&65535;c=O[f+12|0]|O[f+13|0]<<8;g=T(d,(c<<8|c>>>8)&65535);i=YE(O[f+4|0]|O[f+5|0]<<8);j=YE(O[f+6|0]|O[f+7|0]<<8)+i|0;c=UE(g,0,j<<1,0);if(Pa){d=0;break j}e=f+16|0;if(c){if(e>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(c>>>0>d-e>>>0){d=0;break j}c=N[b+12>>2]-c|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}}if(!(!g|(O[f+4|0]|O[f+5|0]<<8)>>>0<4096)){d=0;c=e;while(1){if(!fe(O[f+4|0]|O[f+5|0]<<8,b,f,c)){d=0;break j}c=(j<<1)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=1;if(!g|(O[f+6|0]|O[f+7|0]<<8)>>>0<4096){break j}c=e+(i<<1)|0;e=0;while(1){d=fe(O[f+6|0]|O[f+7|0]<<8,b,f,c);if(!d){break j}c=(j<<1)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break};break j;case 2:c=N[b+4>>2];if(c>>>0>f>>>0){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-f>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[f|0]|O[f+1|0]<<8)!=256){break j}d=c;c=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>e>>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;z:{if(!d){break z}if(Lb(((d<<8|d>>>8)&65535)+f|0,b)){break z}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=f+6|0;if(d>>>0>e>>>0){d=0;break j}e=e-d|0;c=(c<<8|c>>>8)&65535;d=c<<2;if(e>>>0>>0){d=0;break j}e=g-d|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break j}e=c>>>0<=1?1:c;c=0;while(1){d=(c<<2)+f|0;if(!Hf(d+6|0,b,f)){d=0;break j}if(Hf(d+8|0,b,f)){d=1;c=c+1|0;if((e|0)==(c|0)){break j}continue}break};d=0;break j;case 3:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;A:{if(!e){break A}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break A}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;B:{if(!e){break B}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break B}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;C:{if(!e){break C}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Xg(e,b,m+12|0)){break C}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;d=Wg(f+10|0,b,f,m+8|0);break j;case 4:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;D:{if(!e){break D}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break D}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;E:{if(!e){break E}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break E}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;F:{if(!e){break F}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Xg(e,b,m+12|0)){break F}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;i=N[b+4>>2];e=f+10|0;d=0;G:{if(i>>>0>e>>>0){break G}g=N[b+8>>2];d=0;if(g>>>0>>0){break G}d=0;if(g-e>>>0<2){break G}j=N[b+12>>2];k=j-2|0;N[b+12>>2]=k;c=1;d=0;if((k|0)<=0){break G}k=m+8|0;d=O[e|0]|O[e+1|0]<<8;H:{if(!d){break H}I:{f=((d<<8|d>>>8)&65535)+f|0;if(f>>>0>>0|f>>>0>g>>>0|g-f>>>0<2){break I}d=j-4|0;N[b+12>>2]=d;if((d|0)<=0){break I}i=O[f|0]|O[f+1|0]<<8;if(!i){break H}c=f+2|0;if(c>>>0>g>>>0){break I}j=g-c|0;c=(i<<8|i>>>8)&65535;g=c<<1;if(j>>>0>>0){break I}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break I}g=c>>>0<=1?1:c;d=0;while(1){if(!Wg((f+(d<<1)|0)+2|0,b,f,k)){break I}c=1;d=d+1|0;if((g|0)!=(d|0)){continue}break}break H}c=N[b+28>>2];d=0;if(c>>>0>31){break G}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break H}L[e|0]=0;L[e+1|0]=0;c=1}d=c}break j;case 5:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;J:{if(!e){break J}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break J}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;K:{if(!e){break K}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break K}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;L:{if(!e){break L}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Xg(e,b,m+12|0)){break L}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;d=Wg(f+10|0,b,f,m+8|0);break j;case 6:d=0;if(Q[b+4>>2]>f>>>0){break j}c=N[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break j}d=1;M:{N:{c=O[f|0]|O[f+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break M;case 1:break N;case 0:break k;default:break j}}d=yk(f,b);break j}d=xk(f,b);break j;case 7:break l;default:break j}}d=wk(f,b);break j}if(Q[b+4>>2]>f>>>0){break j}c=N[b+8>>2];if(c>>>0>>0){break j}c=c-f|0;if(c>>>0<2){break j}e=N[b+12>>2];g=e-2|0;N[b+12>>2]=g;if((g|0)<=0){break j}if((O[f|0]|O[f+1|0]<<8)!=256){d=1;break j}if(c>>>0<8){break j}c=e-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}e=O[f+2|0]|O[f+3|0]<<8;if((e|0)==2304){break j}c=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if(c){f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+f|0}else{f=275552}c=(e<<8|(e&65280)>>>8)&65535;continue}break}d=vk(f,b)}La=m+16|0;if(d){break i}c=N[b+28>>2];if(c>>>0>31){break d}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break f}L[r|0]=0;L[r+1|0]=0}h=h+1|0;if((B|0)!=(h|0)){continue}break}d=O[l|0]|O[l+1|0]<<8}if(N[b+28>>2]|(d&65535)!=2304){break e}d=275552;e=0;c=O[n|0]|O[n+1|0]<<8?l+6|0:275552;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+l|0}if((O[d|0]|O[d+1|0]<<8)==256){c=O[d+2|0]|O[d+3|0]<<8;e=(c<<8|c>>>8)&65535}d=1;if(t>>>0<2){break e}while(1){h=275552;c=O[n|0]|O[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=d>>>0?275552:((d<<1)+n|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){h=((c<<8|c>>>8)&65535)+l|0}c=0;if((O[h|0]|O[h+1|0]<<8)==256){c=O[h+2|0]|O[h+3|0]<<8;c=(c<<8|c>>>8)&65535}if((c|0)==(e|0)){d=d+1|0;if((t|0)!=(d|0)){continue}}break}if((c|0)==(e|0)){break e}}c=N[b+28>>2]}if(c>>>0>31){break d}N[b+28>>2]=c+1;if(!O[b+24|0]){break d}L[q|0]=0;L[q+1|0]=0}v=v+1|0;if((A|0)!=(v|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){h=0;break a}N[b+28>>2]=c+1;if(!O[b+24|0]){h=0;break a}L[p|0]=0;L[p+1|0]=0}h=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65537){break a}c=a+10|0;if(c>>>0>2]){h=0;break a}d=N[b+8>>2];if(d>>>0>>0){h=0;break a}if(d-c>>>0<4){h=0;break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!d){break a}if(d&128){h=0;break a}if(Bk((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+a|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){h=0;break a}N[b+28>>2]=a+1;h=0;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;h=1}La=u+16|0;return h}function bq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=La-8288|0;La=f;N[a>>2]=0;N[a+4>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;L[a+40|0]=0;N[a+36>>2]=65536;N[a+8>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;L[a+24|0]=0;C(a+44|0,0,88);c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[a+40|0]=1;N[a+36>>2]=c;c=N[b+12>>2];a:{if(c){b=Qa[c|0](b,1128678962,N[b+16>>2])|0;if(b){break a}}b=275552}b:{c=N[b>>2];if(c){if((c|0)<=0){break b}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;e=N[b+12>>2];N[a+4>>2]=e;d=N[b+16>>2];N[a+8>>2]=d+e;if((d|0)>=0){c:{N[a+28>>2]=0;if(d>>>0>67108863){c=1073741823}else{c=d<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;d:{if(!e){ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break d}e:{if(d>>>0>=5){N[a+12>>2]=c-5;c=O[e|0];ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if((c|0)!=2){break e}if(!N[b+4>>2]){break d}N[b+4>>2]=0;break d}ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}ab(b);b=275552}N[a+44>>2]=b;f:{c=N[b>>2];if(c){if((c|0)<=0){break f}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;c=N[b+16>>2];h=c+d|0;N[a+8>>2]=h;if((c|0)>=0){N[a+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;g:{h:{if(Q[b+16>>2]<5){break h}n=N[b+12>>2];if((n|0)==275552){break h}g=O[n+3|0]|O[n+4|0]<<8;e=(g<<8|g>>>8)&65535;b=O[n+2|0]+n|0;if(g){if(b>>>0>>0|b>>>0>h>>>0|h-b>>>0>>0){break h}c=c-e|0;N[a+12>>2]=c;if((c|0)<=0){break h}}i=a+116|0;s=a+104|0;L[f+24|0]=0;C(f+28|0,0,4108);N[f+12>>2]=e;N[f+8>>2]=b;N[a+72>>2]=0;N[a+76>>2]=0;N[a+64>>2]=0;N[a+68>>2]=0;N[a+56>>2]=0;N[a+60>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;h=f+24|0;c=0;d=0;while(1){i:{j:{k:{b=d+1|0;if(b>>>0<=e>>>0){g=N[f+8>>2];j=O[g+d|0];N[f+16>>2]=b;l:{if((j|0)!=12){d=b;break l}d=d+2|0;if(e>>>0>>0){j=65535;break k}b=O[b+g|0];N[f+16>>2]=d;j=b|256}m:{n:{o:{p:{q:{switch(j-17|0){default:r:{switch(j-292|0){case 0:break n;case 1:break p;default:break r}}if((j|0)!=263){break k}s:{t:{u:{l=N[a+52>>2];if((l|0)>=0){b=N[a+56>>2];c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=l>>>0){break t}while(1){l=((l>>>1|0)+l|0)+8|0;if(c>>>0>=l>>>0){continue}break}if(l>>>0<=357913941){b=$a(N[a+60>>2],T(l,12));if(b){break u}}N[a+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;m=589824;break s}N[a+52>>2]=l;N[a+60>>2]=b;b=N[a+56>>2]}if(b>>>0>>0){while(1){N[a+56>>2]=b+1;b=N[a+60>>2]+T(b,12)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+56>>2];if(c>>>0>b>>>0){continue}break}}N[a+56>>2]=c;m=(N[a+60>>2]+T(c,12)|0)-12|0}c=m;N[c+4>>2]=263;b=g;g=N[a+48>>2];N[c>>2]=b+g;b=0;c=e-g|0;c=c>>>0<=e>>>0?c:0;g=d-g|0;L[m+8|0]=c>>>0>>0?c:g;N[a+48>>2]=d;break m;case 1:case 2:case 3:case 4:case 5:case 6:break k;case 0:break o;case 7:break q}}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+72>>2]=0;break m}b=0;k=S[h+(c<<3)>>3];v:{if(V(k)<2147483648){c=~~k;break v}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+72>>2]=c;break m}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+76>>2]=0;break m}b=0;k=S[h+(c<<3)>>3];w:{if(V(k)<2147483648){c=~~k;break w}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+76>>2]=c;break m}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+64>>2]=0;break m}b=0;k=S[h+(c<<3)>>3];x:{if(V(k)<2147483648){c=~~k;break x}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+64>>2]=c;break m}y:{if(!c){c=0;N[147456]=0;N[147457]=0;L[f+24|0]=1;b=1;break y}k=S[h+(c<<3)>>3];z:{if(V(k)<2147483648){c=~~k;break z}c=-2147483648}b=0;if((c|0)>=0){break y}L[f+24|0]=1;c=0;b=1}N[a+68>>2]=c}N[f+28>>2]=0;break j}e=O[n+2|0];d=O[n+3|0]|O[n+4|0]<<8;b=N[a+72>>2];b=b?b+n|0:275552;N[a+84>>2]=b;c=N[a+64>>2];c=c?c+n|0:275552;N[a+88>>2]=c;h=N[a+68>>2];N[a+92>>2]=h?h+n|0:275552;h=N[a+76>>2];N[a+96>>2]=h?h+n|0:275552;N[a+80>>2]=(e+((d<<8|d>>>8)&65535)|0)+n;if((b|0)!=275552){if(b>>>0>2]){break h}e=N[a+8>>2];if(e>>>0>>0|e-b>>>0<10){break h}d=N[a+12>>2]-10|0;N[a+12>>2]=d;if((d|0)<=0){break h}c=b+2|0;g=O[b|0]|O[b+1|0]<<8;A:{if(!g){h=e-c|0;break A}if(c>>>0>e>>>0){break h}h=e-c|0;g=(g<<8|g>>>8)&65535;if(h>>>0>>0){break h}d=d-g|0;N[a+12>>2]=d;if((d|0)<=0){break h}}if(h>>>0<=7|c>>>0>e>>>0){break h}N[a+12>>2]=d-8;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<9){break h}if(!hh(b+4|0,a,c)){break h}N[f+8>>2]=c;if(!gh(b+8|0,a,f+8|0)){break h}c=N[a+88>>2]}if((c|0)==275552){break h}if(!Jg(c,a)){break h}b=N[a+80>>2];if((b|0)==275552){break h}if(!Jg(b,a)){break h}b=N[a+92>>2];if((b|0)==275552){break h}if(!Jg(b,a)){break h}b=N[a+96>>2];B:{if((b|0)==275552){break B}if(b>>>0>2]){break h}d=N[a+8>>2];if(d>>>0>>0|d-b>>>0<2){break h}c=N[a+92>>2];c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=N[a+12>>2]-2|0;N[a+12>>2]=e;if((e|0)<=0){break h}l=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);C:{switch(O[b|0]){case 0:c=N[a+36>>2];if(!c){break B}b=b+1|0;if(b>>>0>d>>>0|c>>>0>d-b>>>0){break h}b=e-c|0;N[a+12>>2]=b;if((b|0)>0){break B}break h;case 3:if(!Yp(b+1|0,a,l)){break h}break B;case 4:break C;default:break h}}g=0;d=b+1|0;D:{E:{if(d>>>0>2]){break E}h=N[a+8>>2];if(h>>>0>>0|h-d>>>0<4){break E}b=N[a+12>>2];c=b-4|0;N[a+12>>2]=c;if((c|0)<=0){break E}o=b-8|0;N[a+12>>2]=o;if((o|0)<=0){break E}e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);b=UE(j,0,6,0);if(Pa){break E}c=d+4|0;if(b){if(c>>>0>h>>>0|b>>>0>h-c>>>0){break E}b=o-b|0;N[a+12>>2]=b;if((b|0)<=0){break E}}F:{if(!e){break F}o=j>>>0<=1?1:j;q=N[a+36>>2];e=0;while(1){h=d+T(e,6)|0;j=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);b=0;if(q>>>0<=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))>>>0){break D}b=O[h+8|0]|O[h+9|0]<<8;if(l>>>0>((b<<8|b>>>8)&65535)>>>0){e=e+1|0;if((o|0)==(e|0)){break F}continue}break}b=0;break D}if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))|(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))){break E}e=1;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(c>>>0>1){while(1){h=275552;m=c;c=e-1|0;if(m>>>0>c>>>0){h=(d+T(c,6)|0)+4|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24)}b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<=e>>>0?275552:(d+T(e,6)|0)+4|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if(c>>>0<=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0){break E}b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);e=e+1|0;if(c>>>0>e>>>0){continue}break}}b=(b?(d+T(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),6)|0)-2|0:275552)+6|0;if(b>>>0>2]){break E}c=N[a+8>>2];if(c>>>0>>0|c-b>>>0<4){break E}b=N[a+12>>2]-4|0;N[a+12>>2]=b;if((b|0)<=0){break E}c=N[a+36>>2];b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(b){b=(d+T(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),6)|0)-2|0}else{b=275552}b=O[b+6|0]|O[b+7|0]<<8|(O[b+8|0]<<16|O[b+9|0]<<24);g=(c|0)==(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))}b=g}if(!b){break h}}b=N[a+88>>2];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[a+128>>2]=b;if((b|0)!=N[a+36>>2]){break h}b=N[a+92>>2];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[a+100>>2]=b;d=N[a+116>>2];if((d|0)<0){break h}c=(b|0)>0?b:0;if(c>>>0>d>>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}G:{if(d>>>0<=153391689){b=Xp(i,d);if(b){break G}}N[i>>2]=-1;break h}N[a+116>>2]=d;N[a+124>>2]=b}b=N[a+120>>2];H:{if(c>>>0>b>>>0){while(1){N[a+120>>2]=b+1;b=N[a+124>>2]+T(b,28)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+120>>2];if(c>>>0>b>>>0){continue}break H}}if(b>>>0<=c>>>0){break H}while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b>>>0>c>>>0){continue}break}}N[a+120>>2]=c;if(!N[a+100>>2]){break g}u=f+28|0;q=f+24|0;v=f+4164|0;t=f+4160|0;I:while(1){be(f+8272|0,N[a+92>>2],p);b=N[f+8276>>2];if(b){c=N[f+8272>>2];if(c>>>0>2]){break h}d=N[a+8>>2];if(d>>>0>>0|b>>>0>d-c>>>0){break h}b=N[a+12>>2]-b|0;N[a+12>>2]=b;if((b|0)<=0){break h}}L[f+4160|0]=0;C(v,0,4108);c=N[f+8276>>2];N[f+4144>>2]=N[f+8272>>2];N[f+4148>>2]=c;J:{K:{d=N[a+104>>2];if((d|0)>=0){b=N[a+108>>2];e=b+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break J}while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){b=Xp(s,d);if(b){break K}}N[s>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break h}N[a+104>>2]=d;N[a+112>>2]=b;b=N[a+108>>2]}L:{if(b>>>0>>0){while(1){N[a+108>>2]=b+1;b=N[a+112>>2]+T(b,28)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+108>>2];if(e>>>0>b>>>0){continue}break L}}if(b>>>0<=e>>>0){break L}while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b>>>0>e>>>0){continue}break}}N[a+108>>2]=e;b=N[a+112>>2];N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;i=b+T(e-1|0,28)|0;if((i|0)==589824){break h}j=c;N[i>>2]=0;N[i+4>>2]=0;g=0;N[i+24>>2]=0;N[i+16>>2]=0;N[i+20>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;c=0;while(1){e=c+1|0;if(j>>>0>=e>>>0){b=N[f+4144>>2];h=O[b+c|0];N[f+4152>>2]=e;M:{N:{O:{P:{if((h|0)==12){c=c+2|0;if(c>>>0<=j>>>0){break P}h=65535;break O}if((h|0)!=18){break O}Q:{R:{S:{if(!g){N[i+16>>2]=0;break S}d=0;b=g-1|0;k=S[((b<<3)+t|0)+8>>3];T:{if(V(k)<2147483648){c=~~k;break T}c=-2147483648}if((c|0)<0){L[f+4160|0]=1;d=1;c=0}N[i+16>>2]=c;if(b){break R}}c=0;N[147456]=0;N[147457]=0;d=1;L[f+4160|0]=1;break Q}k=S[((g<<3)+t|0)-8>>3];U:{if(V(k)<2147483648){c=~~k;break U}c=-2147483648}if((c|0)>=0){break Q}d=1;L[f+4160|0]=1;c=0}N[i+20>>2]=c;N[f+4164>>2]=0;h=18;break N}b=O[b+e|0];N[f+4152>>2]=c;h=b|256}Je(h,f+4144|0);d=O[f+4160|0];j=N[f+4148>>2];e=N[f+4152>>2];g=N[f+4164>>2];if(g){break M}}g=0;if(d&255|e>>>0>j>>>0){break M}V:{W:{X:{g=N[i+4>>2];if((g|0)>=0){c=N[i+8>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=g>>>0){break W}while(1){g=((g>>>1|0)+g|0)+8|0;if(b>>>0>=g>>>0){continue}break}if(g>>>0<=357913941){c=$a(N[i+12>>2],T(g,12));if(c){break X}}N[i+4>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;g=589824;break V}N[i+4>>2]=g;N[i+12>>2]=c;c=N[i+8>>2]}if(b>>>0>c>>>0){while(1){N[i+8>>2]=c+1;c=N[i+12>>2]+T(c,12)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;c=N[i+8>>2];if(b>>>0>c>>>0){continue}break}}N[i+8>>2]=b;g=(N[i+12>>2]+T(b,12)|0)-12|0}b=g;N[b+4>>2]=h;c=N[i>>2];N[b>>2]=c+N[f+4144>>2];d=0;b=j-c|0;b=b>>>0<=j>>>0?b:0;c=e-c|0;L[g+8|0]=b>>>0>>0?b:c;N[i>>2]=e;g=0}if(e>>>0>j>>>0){break h}c=e;if(!(d&255)){continue}break h}break}b=N[i+16>>2];o=b?b+n|0:275552;i=N[i+20>>2];if(i){if(o>>>0>2]){break h}b=N[a+8>>2];if(b>>>0>>0|i>>>0>b-o>>>0){break h}b=N[a+12>>2]-i|0;N[a+12>>2]=b;if((b|0)<=0){break h}}L[f+24|0]=0;C(u,0,4108);L[f+4140|0]=0;N[f+4136>>2]=0;N[f+12>>2]=i;N[f+8>>2]=o;Y:{if(Q[a+120>>2]<=p>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Y}b=N[a+124>>2]+T(p,28)|0}N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;Z:{if(Q[a+120>>2]<=p>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=589824;break Z}c=N[a+124>>2]+T(p,28)|0}N[c>>2]=0;N[c+4>>2]=0;g=0;N[c+24>>2]=0;N[c+20>>2]=275552;N[c+16>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=i;b=0;while(1){_:{$:{aa:{d=b+1|0;if(d>>>0<=e>>>0){h=N[f+8>>2];j=O[h+b|0];N[f+16>>2]=d;ba:{if((j|0)!=12){b=d;break ba}b=b+2|0;if(e>>>0>>0){j=65535;break aa}d=O[d+h|0];N[f+16>>2]=b;j=d|256}k=0;h=0;d=0;ca:{da:{ea:{fa:{ga:{ha:{switch(j-6|0){case 17:break $;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 15:break aa;case 0:case 1:case 2:case 3:break ca;case 16:break ea;case 13:break fa;case 4:case 5:break ga;default:break ha}}d=j-265|0;if(d>>>0>9){break aa}d=1<>3];break ca}if(!g){N[147456]=0;N[147457]=0;h=1;L[f+24|0]=1;N[c+16>>2]=0;break ca}r=S[(g<<3)+q>>3];ia:{if(V(r)<2147483648){d=~~r;break ia}d=-2147483648}if((d|0)<0){h=1;L[f+24|0]=1;d=0}N[c+16>>2]=d;break ca}ja:{if(O[f+4140|0]){d=N[f+4136>>2];break ja}ka:{if(!g){N[147456]=0;N[147457]=0;L[f+24|0]=1;h=1;break ka}r=S[(g<<3)+q>>3];la:{if(V(r)<2147483648){d=~~r;break la}d=-2147483648}h=0;if((d|0)>=0){break ka}L[f+24|0]=1;d=0;h=1}N[f+4136>>2]=d}L[f+4140|0]=1;N[c+24>>2]=d;break ca}N[147456]=0;N[147457]=0;h=1;L[f+24|0]=1}N[f+28>>2]=0;d=h;g=0;break $}c=N[a+124>>2]+T(p,28)|0;b=N[c+16>>2];b=b?b+(i?o:275552)|0:275552;N[c+20>>2]=b;if((b|0)!=275552){if(!Jg(b,a)){break h}}p=p+1|0;if(p>>>0>2]){continue I}break g}Je(j,f+8|0);e=N[f+12>>2];b=N[f+16>>2];g=N[f+28>>2];if(g){break _}k=0;g=0;d=O[f+24|0]}if(d&255|b>>>0>e>>>0){break _}ma:{na:{oa:{d=N[c+4>>2];if((d|0)>=0){m=N[c+8>>2];h=m+1|0;if(h>>>0<=d>>>0){l=N[c+12>>2];break na}while(1){d=((d>>>1|0)+d|0)+8|0;if(h>>>0>=d>>>0){continue}break}if(d>>>0<=178956970){l=$a(N[c+12>>2],T(d,24));if(l){break oa}}N[c+4>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=589824;break ma}N[c+4>>2]=d;N[c+12>>2]=l;m=N[c+8>>2];h=m+1|0}N[c+8>>2]=h;d=T(m,24)+l|0;S[d+16>>3]=k;L[d+8|0]=0;N[d>>2]=0}N[d+4>>2]=j;h=N[c>>2];N[d>>2]=h+N[f+8>>2];m=d;d=e-h|0;d=d>>>0<=e>>>0?d:0;h=b-h|0;L[m+8|0]=d>>>0>>0?d:h;N[c>>2]=b}if(b>>>0>e>>>0){break h}if(!O[f+24|0]){continue}break}break}break h}Je(j,f+8|0);b=O[f+24|0];e=N[f+12>>2];d=N[f+16>>2];c=N[f+28>>2];if(c){break i}}c=0;if(b&255|d>>>0>e>>>0){break i}pa:{qa:{ra:{g=N[a+52>>2];if((g|0)>=0){b=N[a+56>>2];c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=g>>>0){break qa}while(1){g=((g>>>1|0)+g|0)+8|0;if(c>>>0>=g>>>0){continue}break}if(g>>>0<=357913941){b=$a(N[a+60>>2],T(g,12));if(b){break ra}}N[a+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;m=589824;break pa}N[a+52>>2]=g;N[a+60>>2]=b;b=N[a+56>>2]}if(b>>>0>>0){while(1){N[a+56>>2]=b+1;b=N[a+60>>2]+T(b,12)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+56>>2];if(c>>>0>b>>>0){continue}break}}N[a+56>>2]=c;m=(N[a+60>>2]+T(c,12)|0)-12|0}c=m;N[c+4>>2]=j;g=N[a+48>>2];N[c>>2]=g+N[f+8>>2];b=0;c=e-g|0;c=c>>>0<=e>>>0?c:0;g=d-g|0;L[m+8|0]=c>>>0>>0?c:g;N[a+48>>2]=d;c=0}if(d>>>0>e>>>0){break h}if(!(b&255)){continue}break}}Wp(a)}La=f+8288|0;return a}break c}break b}}ba(16656,14279,195,9642);B()}ba(23506,14099,260,16403);B()}function Dg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=U(0),p=0,q=0,r=0,s=0,t=U(0),u=0,v=U(0),w=0,x=0;h=La-48|0;La=h;a:{e=(N[a+16>>2]<<1)+400|0;b:{c:{if((e|0)<=0){d=6;if(!e){break c}break b}d=N[a+100>>2];d=Qa[N[d+4>>2]](d,e)|0;if(!d){d=64;break b}C(d,0,e);i=d}N[i>>2]=a;d=N[a+16>>2];N[i+396>>2]=c;N[i+8>>2]=i+400;N[i+4>>2]=d;N[i+376>>2]=0;N[i+380>>2]=0;M[i+372>>1]=0;N[i+384>>2]=0;N[i+388>>2]=0;N[i+392>>2]=0;d:{e:{f:{g:{h:{i:{j:{k:{l:{c=N[a+104>>2];if(!N[c+20>>2]){d=275552;e=N[c+4>>2];m:{if((e|0)<=0){break m}f=N[c>>2];c=db(1,32);if(!c){break m}N[c+28>>2]=0;N[c+24>>2]=a;N[c+20>>2]=1;N[c+16>>2]=e;N[c+12>>2]=f;N[c>>2]=1;N[c+4>>2]=1;d=c}g=N[a+4>>2];L[h+44|0]=0;N[h+40>>2]=65536;N[h+20>>2]=0;c=N[d>>2];if(c){if((c|0)<=0){break a}N[d>>2]=c+2}L[h+28|0]=0;N[h+36>>2]=d;c=N[d+12>>2];N[h+8>>2]=c;e=N[d+16>>2];N[h+12>>2]=e+c;if((e|0)<0){break l}N[h+32>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[h+16>>2]=e;N[h+24>>2]=0;N[h+4>>2]=0;e=d;if(!c){break g}if(oj(c,h+4|0)){break k}n:{if(O[h+28|0]|!N[h+32>>2]){break n}if(!zb(d)){break n}while(1){L[h+28|0]=1;e=N[h+36>>2];c=N[e+12>>2];N[h+8>>2]=c;f=N[e+16>>2];N[h+12>>2]=f+c;if((f|0)<0){break l}N[h+32>>2]=0;if(f>>>0>67108863){p=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;p=f>>>0>=1073741823?1073741823:f}N[h+16>>2]=p;N[h+24>>2]=0;N[h+4>>2]=0;if(!c){break g}if(oj(c,h+4|0)){break k}if(O[h+28|0]|!N[h+32>>2]){break n}c=zb(d);N[h+8>>2]=c;N[h+12>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[h+36>>2]);N[h+36>>2]=0;break j}c=db(1,212);if(!c){c=588540;break d}N[c+32>>2]=-1;N[c+20>>2]=0;N[c+16>>2]=a;N[c+12>>2]=312;N[c>>2]=1;N[c+4>>2]=1;N[c+48>>2]=c;N[c+36>>2]=c;break d}ba(16656,14279,195,9642);B()}if(!N[h+32>>2]){break i}N[h+32>>2]=0;c=oj(c,h+4|0);e=N[h+32>>2];ab(N[h+36>>2]);N[h+36>>2]=0;if(e){break j}if(c){break h}}ab(d);c=275552;break e}ab(N[h+36>>2])}c=d;if(!N[d+4>>2]){break e}N[d+4>>2]=0;break f}ab(e)}c=d}e=c;f=db(1,8);if(!f){ab(e);c=588540;ab(d);break d}M[f+4>>1]=g;N[f>>2]=e;c=db(1,212);o:{if(!c){ab(e);_a(f);c=588540;break o}N[c+32>>2]=-1;N[c+20>>2]=313;N[c+16>>2]=f;N[c+12>>2]=314;N[c>>2]=1;N[c+4>>2]=1;N[c+48>>2]=c;N[c+36>>2]=c}N[c+24>>2]=g;ab(d)}if(N[c+4>>2]){N[c+24>>2]=N[a+4>>2];N[c+28>>2]=P[a+68>>1]}d=Lp(c);nj(c);c=N[a+92>>2];if(c){c=N[c+4>>2]==1937337698}else{c=0}e=db(1,1044);p:{if(!e){break p}L[e+5|0]=0;L[e+4|0]=c;N[e+12>>2]=a;N[e>>2]=2;C(e+16|0,255,1028);a=N[147568];q:{if(a){break q}while(1){c=588448;a=db(1,92);if(a){N[a>>2]=1;N[a+4>>2]=1;F(a+20|0,588468,72);c=a}r:{if(!N[c+4>>2]){break r}a=N[c+16>>2];s:{if(!a){break s}f=N[a+8>>2];if(!f){break s}a=N[c+12>>2];if(a){a=N[a+8>>2]}else{a=0}Qa[f|0](a)}N[c+28>>2]=315;a=N[c+12>>2];if(a){N[a+8>>2]=0}a=N[c+16>>2];if(a){N[a+8>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];t:{if(!a){break t}f=N[a+12>>2];if(!f){break t}a=N[c+12>>2];if(a){a=N[a+12>>2]}else{a=0}Qa[f|0](a)}N[c+32>>2]=316;a=N[c+12>>2];if(a){N[a+12>>2]=0}a=N[c+16>>2];if(a){N[a+12>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];u:{if(!a){break u}f=N[a+16>>2];if(!f){break u}a=N[c+12>>2];if(a){a=N[a+16>>2]}else{a=0}Qa[f|0](a)}N[c+36>>2]=317;a=N[c+12>>2];if(a){N[a+16>>2]=0}a=N[c+16>>2];if(a){N[a+16>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];v:{if(!a){break v}f=N[a>>2];if(!f){break v}a=N[c+12>>2];if(a){a=N[a>>2]}else{a=0}Qa[f|0](a)}N[c+20>>2]=318;a=N[c+12>>2];if(a){N[a>>2]=0}a=N[c+16>>2];if(a){N[a>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];w:{if(!a){break w}f=N[a+28>>2];if(!f){break w}a=N[c+12>>2];if(a){a=N[a+28>>2]}else{a=0}Qa[f|0](a)}N[c+48>>2]=319;a=N[c+12>>2];if(a){N[a+28>>2]=0}a=N[c+16>>2];if(a){N[a+28>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];x:{if(!a){break x}f=N[a+24>>2];if(!f){break x}a=N[c+12>>2];if(a){a=N[a+24>>2]}else{a=0}Qa[f|0](a)}N[c+44>>2]=320;a=N[c+12>>2];if(a){N[a+24>>2]=0}a=N[c+16>>2];if(a){N[a+24>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];y:{if(!a){break y}f=N[a+40>>2];if(!f){break y}a=N[c+12>>2];if(a){a=N[a+40>>2]}else{a=0}Qa[f|0](a)}N[c+60>>2]=321;a=N[c+12>>2];if(a){N[a+40>>2]=0}a=N[c+16>>2];if(a){N[a+40>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];z:{if(!a){break z}f=N[a+44>>2];if(!f){break z}a=N[c+12>>2];if(a){a=N[a+44>>2]}else{a=0}Qa[f|0](a)}N[c- -64>>2]=322;a=N[c+12>>2];if(a){N[a+44>>2]=0}a=N[c+16>>2];if(a){N[a+44>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];A:{if(!a){break A}f=N[a+52>>2];if(!f){break A}a=N[c+12>>2];if(a){a=N[a+52>>2]}else{a=0}Qa[f|0](a)}N[c+72>>2]=323;a=N[c+12>>2];if(a){N[a+52>>2]=0}a=N[c+16>>2];if(a){N[a+52>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];B:{if(!a){break B}f=N[a+56>>2];if(!f){break B}a=N[c+12>>2];if(a){a=N[a+56>>2]}else{a=0}Qa[f|0](a)}N[c+76>>2]=324;a=N[c+12>>2];if(a){N[a+56>>2]=0}a=N[c+16>>2];if(a){N[a+56>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];C:{if(!a){break C}f=N[a+60>>2];if(!f){break C}a=N[c+12>>2];if(a){a=N[a+60>>2]}else{a=0}Qa[f|0](a)}N[c+80>>2]=325;a=N[c+12>>2];if(a){N[a+60>>2]=0}a=N[c+16>>2];if(a){N[a+60>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];D:{if(!a){break D}f=N[a+64>>2];if(!f){break D}a=N[c+12>>2];if(a){a=N[a+64>>2]}else{a=0}Qa[f|0](a)}N[c+84>>2]=326;a=N[c+12>>2];if(a){N[a+64>>2]=0}a=N[c+16>>2];if(a){N[a+64>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];E:{if(!a){break E}f=N[a+68>>2];if(!f){break E}a=N[c+12>>2];if(a){a=N[a+68>>2]}else{a=0}Qa[f|0](a)}N[c+88>>2]=327;a=N[c+12>>2];if(a){N[a+68>>2]=0}a=N[c+16>>2];if(a){N[a+68>>2]=0}if(!N[c+4>>2]){break r}N[c+4>>2]=0}a=N[147568];if(!a){N[147568]=c;a=c;break q}if((c|0)==588448){break q}oc(c);a=N[147568];if(!a){continue}break}}if(!N[d+4>>2]){Ip(e);break p}N[d+12>>2]=N[d+12>>2]+1;c=N[d+104>>2];if(c){Qa[c|0](N[d+100>>2])}a=a?a:588448;c=N[a>>2];if(c){if((c|0)<=0){break a}N[a>>2]=c+1}oc(N[d+96>>2]);N[d+104>>2]=328;N[d+100>>2]=e;N[d+96>>2]=a}if(N[d+104>>2]==328){u=N[d+100>>2];f=N[u+12>>2];F:{if(!N[d+4>>2]){break F}a=P[f+68>>1];e=N[f+88>>2];c=N[e+20>>2];g=UE(a,0,c,c>>31);c=Pa;g=g+32768|0;c=((g>>>0<32768?c+1|0:c)&65535)<<16|g>>>16;p=a;a=N[e+16>>2];e=UE(p,0,a,a>>31);a=Pa;e=e+32768|0;a=((e>>>0<32768?a+1|0:a)&65535)<<16|e>>>16;if((a|0)==N[d+28>>2]&(c|0)==N[d+32>>2]){break F}N[d+32>>2]=c;N[d+28>>2]=a;N[d+12>>2]=N[d+12>>2]+1;He(d)}N[h+4>>2]=0;G:{if(!(L[f+9|0]&1)){break G}H:{I:{e=N[f+128>>2];c=N[e+32>>2];switch(c+2|0){case 2:break I;case 0:break G;default:break H}}a=N[f+96>>2];c=N[N[a>>2]+32>>2];J:{if(!c){c=0;break J}c=Qa[c|0](a,10423)|0;e=N[f+128>>2]}N[e+32>>2]=c?c:-2}if(!c){break G}a=N[c+16>>2];if(!a){break G}if(Qa[a|0](f,h+4|0)|0){break G}a=N[N[h+4>>2]>>2];j=db(a,4);n=db(a,4);K:{if(!j|!n|!(L[f+9|0]&1)){break K}L:{M:{c=N[f+128>>2];g=N[c+32>>2];switch(g+2|0){case 2:break M;case 0:break K;default:break L}}e=N[f+96>>2];g=N[N[e>>2]+32>>2];N:{if(!g){g=0;break N}g=Qa[g|0](e,10423)|0;c=N[f+128>>2]}N[c+32>>2]=g?g:-2}if(!g){break K}c=N[g+12>>2];if(!c){break K}if(Qa[c|0](f,a,j)|0){break K}O:{P:{e=N[N[h+4>>2]>>2];Q:{if(!e){break Q}c=0;a=0;R:{if((e|0)!=1){q=e&1;m=e&-2;while(1){g=a<<2;r=g+j|0;s=N[r>>2];l=s>>2;N[r>>2]=l;N[g+n>>2]=l;l=g|4;r=l+j|0;p=N[r>>2];g=p>>2;N[r>>2]=g;N[l+n>>2]=g;c=s>>>0>3|c|p>>>0>3;a=a+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}if(!q){break R}}g=a<<2;k=g+j|0;l=N[k>>2];a=l>>2;N[k>>2]=a;N[g+n>>2]=a;if(c&1){break P}if(l>>>0<=3){break Q}break P}if(c&1){break P}}if(!N[d+4>>2]){break K}a=N[d+12>>2]+1|0;N[d+16>>2]=a;N[d+12>>2]=a;Ig(N[d+24>>2]+124|0);_a(N[d+88>>2]);_a(N[d+92>>2]);N[d+92>>2]=0;N[d+84>>2]=0;N[d+88>>2]=0;break O}if(!N[d+4>>2]){break K}a=N[d+12>>2]+1|0;N[d+16>>2]=a;N[d+12>>2]=a;l=db(e,4);k=db(e,4);q=db(e,4);if(q?!l|!k:1){_a(l);_a(k);_a(q);break K}a=e<<2;if(a){F(l,n,a);F(k,n,a)}a=Ig(N[d+24>>2]+124|0);c=O[a+6|0]|O[a+7|0]<<8;c=(c<<8|c>>>8)&65535;m=c>>>0>>0?c:e;S:{if(!m){a=0;break S}g=a+8|0;a=0;c=0;while(1){r=k+(c<<2)|0;w=r,x=Jp(g,N[r>>2],1,0),N[w>>2]=x;p=g;g=O[g|0]|O[g+1|0]<<8;g=(p+(((g<<8|g>>>8)&65535)<<2)|0)+2|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}}while(1){c=sf(N[d+24>>2]+120|0);m=a<<2;g=N[k+m>>2];p=m+q|0;m=O[c+4|0]|O[c+5|0]<<8;if(m){s=c+((m<<8|m>>>8)&65535)|0}else{s=275552}c=O[c+8|0]|O[c+9|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=a>>>0?275552:s+T(a,20)|0;m=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);o=U(U(m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))*U(152587890625e-16));T:{if(!g){break T}v=U(g|0);if((g|0)<0){c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);t=U(U(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))*U(152587890625e-16));o=U(o+U(U(U(o-(o<=t?o:t))*v)*U(6103515625e-14)));break T}c=O[c+12|0]|O[c+13|0]<<8|(O[c+14|0]<<16|O[c+15|0]<<24);t=U(U(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))*U(152587890625e-16));o=U(o+U(U(U((o>=t?o:t)-o)*v)*U(6103515625e-14)))}R[p>>2]=o;a=a+1|0;if((e|0)!=(a|0)){continue}break}a=N[d+88>>2];_a(k);_a(a);_a(N[d+92>>2]);N[d+92>>2]=q;N[d+88>>2]=l;N[d+84>>2]=e}He(d)}_a(n);_a(j);a=N[N[f+84>>2]>>2];if(!a){break G}c=N[h+4>>2];if(!c){break G}a=N[a>>2];Qa[N[a+8>>2]](a,c)}C(u+20|0,255,1024);N[u+16>>2]=N[d+12>>2]}N[i+12>>2]=d;c=db(1,172);U:{if(!c){c=588184;break U}N[c+148>>2]=1073741823;N[c+152>>2]=536870911;N[c>>2]=1;N[c+4>>2]=1;a=Ic();V:{if(!a){break V}d=N[a>>2];if(!d){break V}if((d|0)<=0){break a}N[a>>2]=d+1}L[c+60|0]=1;N[c+24>>2]=65533;N[c+12>>2]=a}N[i+16>>2]=c;f=N[i+8>>2];e=N[i>>2];n=N[e+92>>2];g=N[i+4>>2];W:{if(g){c=0;d=0;if(g>>>0>=8){j=g&-8;while(1){a=d<<1;M[a+f>>1]=16383;M[f+(a|2)>>1]=16383;M[f+(a|4)>>1]=16383;M[f+(a|6)>>1]=16383;M[f+(a|8)>>1]=16383;M[f+(a|10)>>1]=16383;M[f+(a|12)>>1]=16383;M[f+(a|14)>>1]=16383;d=d+8|0;if((j|0)!=(d|0)){continue}break}}a=g&7;if(a){while(1){M[f+(d<<1)>>1]=16383;d=d+1|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}}if(!e){break W}}g=N[e+40>>2];if(!g){break W}a=g+(N[e+36>>2]<<2)|0;c=a-4|0;X:{if(g>>>0<=c>>>0){while(1){d=N[c>>2];Y:{if(N[d+4>>2]!=1970170211){break Y}Z:{switch(P[d+8>>1]){case 3:if(P[d+10>>1]!=10){break Y}break X;case 0:break Z;default:break Y}}if(P[d+10>>1]==4){break X}}c=c-4|0;if(g>>>0<=c>>>0){continue}break}}while(1){a=a-4|0;if(g>>>0>a>>>0){break W}d=N[a>>2];if(N[d+4>>2]!=1970170211){continue}break}}N[e+92>>2]=d;k=-1;d=286856;g=0;while(1){c=N[d+8>>2];l=N[(c<<2)+288704>>2];a=N[l+4>>2];_:{if(!a){break _}if(N[d+16>>2]==10){q=(c|0)==N[N[i+396>>2]+16>>2];c=N[a>>2];if(c){while(1){d=a;$:{if(!e){break $}a=N[e+92>>2];if(!a){break $}a=Qa[N[N[a+12>>2]+12>>2]](a,c)|0;if(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2]){break $}a=f+(a<<1)|0;if((P[a>>1]&16383)!=16383){break $}M[a>>1]=g}while(1){aa:{if(!e){break aa}j=N[e+92>>2];if(!j|!N[e+16>>2]){break aa}N[h+4>>2]=c;while(1){a=Qa[N[N[j+12>>2]+16>>2]](j,h+4|0)|0;if(a>>>0>=Q[e+16>>2]){continue}break}if(!a){break aa}c=a?N[h+4>>2]:0;if(c>>>0>Q[d+4>>2]){break aa}if(a>>>0>=Q[i+4>>2]){continue}a=f+(a<<1)|0;if((P[a>>1]&16383)!=16383){continue}M[a>>1]=g;continue}break}a=d+8|0;c=N[d+8>>2];if(c){continue}break}}k=q?g:k;a=N[l+8>>2];c=N[a>>2];if(!c){break _}while(1){d=a;ba:{if(!e){break ba}a=N[e+92>>2];if(!a){break ba}a=Qa[N[N[a+12>>2]+12>>2]](a,c)|0;if(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2]){break ba}a=f+(a<<1)|0;j=P[a>>1];if((j&16383)!=(g&65535)){break ba}M[a>>1]=j|16384}while(1){ca:{if(!e){break ca}j=N[e+92>>2];if(!j|!N[e+16>>2]){break ca}N[h+4>>2]=c;while(1){a=Qa[N[N[j+12>>2]+16>>2]](j,h+4|0)|0;if(a>>>0>=Q[e+16>>2]){continue}break}if(!a){break ca}c=a?N[h+4>>2]:0;if(c>>>0>Q[d+4>>2]){break ca}if(a>>>0>=Q[i+4>>2]){continue}a=f+(a<<1)|0;j=P[a>>1];if((j&16383)!=(g&65535)){continue}M[a>>1]=j|16384;continue}break}a=d+8|0;c=N[d+8>>2];if(c){continue}break}break _}Vi(i,d,f,0)}g=g+1|0;d=N[(g<<2)+288960>>2];if((g|0)!=87){continue}break}a=0;d=286856;while(1){if(N[d+16>>2]==10){Vi(i,d,f,0)}a=a+1|0;d=N[(a<<2)+288960>>2];if((a|0)!=87){continue}break}Vi(i,N[(k<<2)+288960>>2],f,1);if(!e){break W}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,48)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,49)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,50)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,51)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,52)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,53)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,54)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,55)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,56)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,57)|0;if(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2]){break W}a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}c=N[N[i+396>>2]+12>>2];da:{if((c|0)==16383){break da}d=N[i+4>>2];if((d|0)<=0){break da}a=0;if((d|0)!=1){g=d&1;d=d&-2;while(1){j=a<<1;k=j+f|0;l=P[k>>1];if((l&16383)==16383){M[k>>1]=c|l&49152}j=f+(j|2)|0;k=P[j>>1];if((k&16383)==16383){M[j>>1]=c|k&49152}a=a+2|0;if((d|0)!=(a|0)){continue}break}if(!g){break da}}a=f+(a<<1)|0;d=P[a>>1];if((d&16383)!=16383){break da}M[a>>1]=c|d&49152}ea:{if(!e|!n){break ea}a=N[e+40>>2];if(!a){break ea}c=N[e+36>>2];if((c|0)<=0){break ea}c=(c<<2)+a|0;while(1){fa:{if((n|0)!=N[a>>2]){break fa}d=N[n>>2];ga:{if(!d){break ga}d=N[d+96>>2];f=N[N[d>>2]+32>>2];if(!f){break ga}d=Qa[f|0](d,10557)|0;if(!d){break ga}if(Qa[N[d>>2]](n,h+4|0)|0){break ga}if(N[h+8>>2]==14){break fa}}N[e+92>>2]=N[a>>2];break ea}a=a+4|0;if(c>>>0>a>>>0){continue}break}}d=0;N[i+20>>2]=0}N[b>>2]=i;La=h+48|0;return d}ba(23506,14099,260,16403);B()}function gm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=La-32|0;La=h;o=N[b+100>>2];e=N[a+20>>2];a:{b:{if(e){if(Qa[e|0](a,0,0,0)|0){break b}}N[a+8>>2]=0;if(rb(a,43232,b+184|0)|N[b+184>>2]!=1885562369){break b}d=N[b+188>>2];if(!d){break b}e=N[a+4>>2];if(e>>>0<16){break b}c:{g=e>>>4|0;if(d>>>0<=9&g>>>0>=d>>>0){break c}d=e>>>0>=144?9:g;N[b+188>>2]=d;if(d>>>0<134217728){break c}N[b+192>>2]=0;break b}g=d<<4;e=Qa[N[o+4>>2]](o,g)|0;d:{if(!(!e|(d|0)<=0)){C(e,0,g);N[b+192>>2]=e;break d}N[b+192>>2]=e;if(!e){break b}}e:{f:{g:{h:{if(!N[b+188>>2]){break h}d=0;while(1){i=rb(a,43248,e);if(i){break e}e=e+16|0;d=d+1|0;i=N[b+188>>2];if(d>>>0>>0){continue}break}e=N[b+192>>2];if((i|0)!=1){break h}f=N[a+4>>2];k=e;break g}i:{while(1){d=f+1|0;if((d|0)==(i|0)){g=i-1|0;f=N[a+4>>2];e=N[b+192>>2];break i}p=f^-1;j=N[e+12>>2];k=0;f=0;while(1){g=(f<<4)+e|0;f=f+1|0;m=(f<<4)+e|0;i=N[m+12>>2];if(j>>>0>i>>>0){i=N[g+12>>2];N[h+16>>2]=N[g+8>>2];N[h+20>>2]=i;i=N[g+4>>2];N[h+8>>2]=N[g>>2];N[h+12>>2]=i;i=N[m+12>>2];N[g+8>>2]=N[m+8>>2];N[g+12>>2]=i;i=N[m+4>>2];N[g>>2]=N[m>>2];N[g+4>>2]=i;i=N[h+20>>2];N[m+8>>2]=N[h+16>>2];N[m+12>>2]=i;i=N[h+12>>2];N[m>>2]=N[h+8>>2];N[m+4>>2]=i;k=1;i=N[m+12>>2]}j=N[g+8>>2];if(j>>>0>i>>>0|Q[g+12>>2]>i-j>>>0){break f}j=i;i=N[b+188>>2];if(p+i>>>0>f>>>0){continue}break}g=i-1|0;if(k){f=d;if(d>>>0>>0){continue}}break}f=N[a+4>>2];e=N[b+192>>2];k=e;if(!g){break g}}k=((i<<4)+e|0)-16|0;d=e;while(1){i=8;j=N[d+8>>2];if(j>>>0>f>>>0|Q[d+12>>2]>f-j>>>0){break e}d=d+16|0;l=l+1|0;if((l|0)!=(g|0)){continue}break}}i=8;d=N[k+12>>2];if(d>>>0>f>>>0){break e}d=f-d|0;if(d>>>0>2]){N[k+8>>2]=d}N[b>>2]=1;N[b+4>>2]=0;d=0;if((c|0)<0){break a}c=N[b+188>>2];if(!c){break b}f=N[b+100>>2];j:{k:{l:{m:{n:{o:{while(1){p:{if(N[(d<<4)+e>>2]==1){c=N[((d<<4)+e|0)+12>>2];g=N[a+8>>2];if(c>>>0>>0){break b}if(Xc(a,c-g|0)){break b}g=N[((d<<4)+e|0)+8>>2];N[h+8>>2]=0;c=Wc(a,h+8|0);d=N[h+8>>2];if(d|c>>>0>255){break j}k=c&4;q:{if(k){c=Nb(a,h+8|0);break q}c=Wc(a,h+8|0)}if(N[h+8>>2]|c>>>0>(g>>>0)/9>>>0){break b}i=c>>>0>=256?256:c;N[b+280>>2]=i;l=0;j=lb(f,12,0,i,0,h+8|0);d=N[h+8>>2];if(d){break m}r:{if(!i){break r}e=0;if(!k){while(1){d=rb(a,43312,j+T(e,12)|0);if(d){break n}e=e+1|0;if((i|0)!=(e|0)){continue}break r}}while(1){d=rb(a,43280,j+T(e,12)|0);if(d){break n}e=e+1|0;if((i|0)!=(e|0)){continue}break}}e=Xc(a,T(c-i|0,9));N[h+8>>2]=e;if(e){break o}e=c&3;if(e){e=Xc(a,4-e|0);N[h+8>>2]=e;if(e){break o}}s:{if(k){e=Nb(a,h+8|0);break s}e=Wc(a,h+8|0)}d=N[h+8>>2];if(d){break m}d=8;if(e>>>0>g+T(c,-9)>>>0){break m}c=e>>>0>=16777472?16777472:e;l=Qa[N[f+4>>2]](f,c+1|0)|0;if(!l){d=!l<<6;l=0;break m}d=Zb(a,l,c);N[h+8>>2]=d;if(d){break m}g=0;L[c+l|0]=0;m=lb(f,12,0,i,0,h+8|0);d=N[h+8>>2];if(d){break m}N[b+284>>2]=m;if(i){while(1){k=T(g,12);e=k+j|0;d=N[e>>2];if((d|0)<0|c>>>0>>0){break p}k=k+m|0;s=k,t=Nc(f,d+l|0,h+8|0),N[s>>2]=t;d=N[h+8>>2];if(d){break l}d=O[e+4|0];L[k+4|0]=d;e=N[e+8>>2];t:{if(d){if((e|0)<0|c>>>0>>0){break p}s=k,t=Nc(f,e+l|0,h+8|0),N[s+8>>2]=t;d=N[h+8>>2];if(!d){break t}break l}N[k+8>>2]=e}g=g+1|0;if((i|0)!=(g|0)){continue}break}}d=0;N[h+8>>2]=0;break m}d=d+1|0;if((c|0)!=(d|0)){continue}break b}break}d=9;N[h+8>>2]=9;break l}d=83}N[h+8>>2]=d}if(!j){break k}}Qa[N[f+8>>2]](f,j)}if(!l){break j}Qa[N[f+8>>2]](f,l)}if(d){break b}u:{v:{e=N[b+188>>2];if(!e){break v}c=N[b+192>>2];d=0;while(1){if(N[(d<<4)+c>>2]!=256){d=d+1|0;if((e|0)!=(d|0)){continue}break v}break}d=0;break u}c=fm(a,b,2);N[h+4>>2]=c;if(c){break b}e=N[b+188>>2];c=N[b+192>>2];d=1}if(!e){break b}k=d;f=N[b+100>>2];d=0;w:{x:{while(1){y:{if(N[(d<<4)+c>>2]==4){e=N[((d<<4)+c|0)+12>>2];g=N[a+8>>2];if(e>>>0>>0){break b}if(Xc(a,e-g|0)){break b}e=N[((d<<4)+c|0)+8>>2];N[h+28>>2]=0;d=Wc(a,h+28|0);if(N[h+28>>2]|((d|256)&-256)!=256){break b}i=d&4;z:{if(d>>>0<=255){if(i){c=Nb(a,h+28|0);break z}c=Wc(a,h+28|0);break z}if(i){c=xb(a,h+28|0);break z}c=ln(a,h+28|0)}if(N[h+28>>2]){break b}g=c-1|0;A:{if(d>>>0<=255){if(g>>>0<(e>>>0)/12>>>0){break A}break b}if(g>>>0>=(e>>>0)/5>>>0){break b}}c=(c>>>0>=65534?65534:c)+1|0;N[b+288>>2]=c;e=lb(f,16,0,c,0,h+28|0);N[b+292>>2]=e;if(N[h+28>>2]){break b}B:{if(Q[b+288>>2]<2){break B}g=e+16|0;j=1;if(d>>>0<=255){i=i?43472:43504;while(1){d=g;c=rb(a,i,d);N[e+28>>2]=0;if(c){break x}if(!(M[e+18>>1]>=M[d>>1]&M[e+22>>1]>=(0-M[e+24>>1]|0))){M[e+20>>1]=0;M[d>>1]=0;M[e+22>>1]=0;M[e+24>>1]=0;M[e+18>>1]=0}g=d+16|0;e=d;j=j+1|0;if(j>>>0>2]){continue}break}break B}while(1){c=rb(a,43536,h+8|0);if(c){break y}c=g;g=O[h+8|0];M[c>>1]=g-128;i=O[h+9|0];M[e+18>>1]=i-128;M[e+20>>1]=O[h+10|0]-128;l=O[h+11|0]-128|0;M[e+22>>1]=l;d=O[h+12|0];M[e+26>>1]=0;M[e+24>>1]=d-128;N[e+28>>2]=0;if(!(g>>>0<=i>>>0&(l|0)>=(128-d|0))){M[e+20>>1]=0;M[c>>1]=0;M[e+22>>1]=0;M[e+24>>1]=0;M[e+18>>1]=0}g=c+16|0;e=c;j=j+1|0;if(j>>>0>2]){continue}break}}d=0;N[h+4>>2]=0;e=N[b+188>>2];if(!e){break b}c=N[b+192>>2];break w}d=d+1|0;if((e|0)!=(d|0)){continue}break b}break}N[e+28>>2]=0}a=N[b+292>>2];if(a){Qa[N[f+8>>2]](f,a)}N[b+292>>2]=0;N[h+4>>2]=c;break b}while(1){if(N[c+(d<<4)>>2]!=8){d=d+1|0;if((e|0)!=(d|0)){continue}break b}break}e=N[(c+(d<<4)|0)+12>>2];g=N[a+8>>2];if(e>>>0>>0){break b}if(Xc(a,e-g|0)){break b}e=N[(c+(d<<4)|0)+8>>2];c=Bb(a,8);N[h+8>>2]=c;if(c){break b}f=0;C:{D:{g=N[a+36>>2];d=N[a+32>>2];if(g>>>0<=d+3>>>0){j=0;break D}j=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=d+4|0;N[a+32>>2]=c;if(!(j&4)){d=c;break D}l=0;if(g>>>0<=d+7>>>0){break C}c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=d+8|0;break C}l=1;if(g>>>0<=d+3>>>0){c=d;break C}c=d+4|0;f=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24)}N[a+32>>2]=c;if(N[a+20>>2]){c=N[a>>2];if(c){d=N[a+28>>2];Qa[N[d+8>>2]](d,c)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;if(j>>>0>255){break b}c=f>>>0>=65534?65534:f;if((c|0)!=(N[b+288>>2]-1|0)){break b}E:{if(!c){break E}g=(N[a+8>>2]+(c<<2)|0)+16|0;d=1;if(l){while(1){f=Wc(a,h+8|0);N[(N[b+292>>2]+(d<<4)|0)+12>>2]=g+(e>>>0>=f>>>0?f:0);f=(c|0)==(d|0);d=d+1|0;if(!f){continue}break E}}while(1){f=Nb(a,h+8|0);N[(N[b+292>>2]+(d<<4)|0)+12>>2]=g+(e>>>0>=f>>>0?f:0);f=(c|0)!=(d|0);d=d+1|0;if(f){continue}break}}if(N[h+8>>2]){break b}F:{if(!l){Nb(a,h+8|0);if(N[h+8>>2]){break b}Nb(a,h+8|0);if(N[h+8>>2]){break b}Nb(a,h+8|0);if(N[h+8>>2]){break b}Nb(a,h+8|0);if(!N[h+8>>2]){break F}break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}}N[b+312>>2]=j;g=0;j=La-16|0;La=j;f=3;d=N[b+188>>2];G:{if(!d){break G}m=b+296|0;c=N[b+192>>2];e=N[b+100>>2];H:{while(1){I:{if(N[c+(g<<4)>>2]==32){f=83;g=N[(c+(g<<4)|0)+12>>2];c=N[a+8>>2];if(g>>>0>>0|(g-c|0)<0){break G}c=N[a+20>>2];if(!c){break I}if(Qa[c|0](a,g,0,0)|0){break G}c=N[a+4>>2];break H}g=g+1|0;if((d|0)!=(g|0)){continue}break G}break}c=N[a+4>>2];if(g>>>0>c>>>0){break G}}N[a+8>>2]=g;J:{if(g+3>>>0>=c>>>0){break J}K:{L:{M:{c=N[a+20>>2];N:{if(c){if((Qa[c|0](a,g,j+12|0,4)|0)!=4){break J}g=N[a+8>>2];c=j+12|0;break N}c=N[a>>2];if(!c){break M}c=c+g|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[a+8>>2]=g+4;f=3;if(c>>>0>=256){break G}if(!(c&4)){break L}f=rb(a,43568,m);N[j+8>>2]=f;if(f){break G}i=0;break K}N[a+8>>2]=g+4}f=rb(a,43600,m);N[j+8>>2]=f;if(f){break G}i=1}f=8;c=P[b+298>>1];g=P[b+296>>1];if(c>>>0>>0|c>>>0>255){break G}d=P[b+302>>1];l=P[b+300>>1];if(d>>>0>>0|d>>>0>255){break G}c=T((d-l|0)+1|0,(c-g|0)+1|0);s=b,t=lb(e,2,0,c,0,j+8|0),N[s+308>>2]=t;f=N[j+8>>2];if(f){break G}f=Bb(a,c<<1);N[j+8>>2]=f;if(!f){e=P[b+304>>1];c=e>>>8|0;g=P[b+300>>1];O:{P:{if(c>>>0>>0|P[b+302>>1]>>0){break P}d=P[m>>1];e=e&255;if(d>>>0>e>>>0){break P}l=P[b+298>>1];if(l>>>0>=e>>>0){break O}}d=P[b+296>>1];M[b+304>>1]=d+(g<<8);l=P[b+298>>1];c=g;e=d}f=1;n=e&65535;e=d&65535;c=N[a+32>>2]+((n-e|0)+T((l-e|0)+1|0,c-g|0)<<1)|0;c=O[c+i|0]<<8|O[c+!i|0];if((c|0)!=65535){c=c+1&65535;f=c>>>0>=Q[b+288>>2]?1:c}c=N[b+292>>2];e=(f<<4)+c|0;d=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=d;d=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=d;e=P[b+300>>1];c=P[b+302>>1];Q:{if(e>>>0>c>>>0){break Q}f=P[b+298>>1];if(f>>>0>1]){while(1){e=e+1|0;if(c>>>0>=(e&65535)>>>0){continue}break Q}}c=N[b+308>>2];while(1){d=P[m>>1];R:{if(d>>>0>(f&65535)>>>0){break R}g=N[a+32>>2];l=N[a+36>>2];if(i){while(1){S:{if(l>>>0<=g+1>>>0){N[a+32>>2]=g;f=1;break S}f=O[g|0]|O[g+1|0]<<8;g=g+2|0;N[a+32>>2]=g;f=f+1|0;f=(f|0)!=(f&65535)?-1:f}M[c>>1]=f;c=c+2|0;f=P[b+298>>1];d=d+1|0;if(f>>>0>=(d&65535)>>>0){continue}break R}}while(1){T:{if(l>>>0<=g+1>>>0){N[a+32>>2]=g;f=1;break T}f=O[g|0]|O[g+1|0]<<8;g=g+2|0;N[a+32>>2]=g;f=((f<<8|(f&65280)>>>8)&65535)+1|0;f=(f|0)!=(f&65535)?-1:f}M[c>>1]=f;c=c+2|0;f=P[b+298>>1];d=d+1|0;if(f>>>0>=(d&65535)>>>0){continue}break}}e=e+1|0;if(P[b+302>>1]>=(e&65535)>>>0){continue}break}}if(N[a+20>>2]){c=N[a>>2];if(c){e=N[a+28>>2];Qa[N[e+8>>2]](e,c)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;f=0;break G}c=N[b+308>>2];if(c){Qa[N[e+8>>2]](e,c)}N[b+308>>2]=0;break G}f=85}La=j+16|0;if(f){break b}if(!k){if(fm(a,b,256)){break b}}a=N[b+8>>2];N[b+8>>2]=a|18;if(O[b+199|0]){N[b+8>>2]=a|22}a=0;c=0;j=0;k=0;l=0;p=0;N[b+12>>2]=0;i=1;n=N[b+100>>2];U:{V:{W:{X:{f=N[b+280>>2];if((f|0)<=0){f=8;j=7;e=12199;m=1;g=0;q=1;break X}g=N[b+284>>2];while(1){Y:{e=a;i=cb(N[g+T(a,12)>>2],19332);a=a+1|0;if((f|0)<=(a|0)){break Y}if(i){continue}}break}d=2;Z:{if(i){i=0;break Z}if(!O[(g+T(e,12)|0)+4|0]){i=0;break Z}i=0;_:{a=(g+T(a,12)|0)-4|0;switch(O[N[a>>2]]-73|0){case 0:case 6:case 32:case 38:break _;default:break Z}}N[b+12>>2]=1;i=(O[N[a>>2]]&223)==79?15457:17754;d=3}while(1){$:{e=c;k=cb(N[g+T(c,12)>>2],20260);c=c+1|0;if((f|0)<=(c|0)){break $}if(k){continue}}break}a=0;m=1;l=0;aa:{if(k){break aa}l=0;if(!O[(g+T(e,12)|0)+4|0]){break aa}l=0;if((O[N[(g+T(c,12)|0)-4>>2]]|32)!=98){break aa}N[b+12>>2]=d;m=0;l=16733}while(1){ba:{d=a;k=cb(N[g+T(d,12)>>2],20282);a=d+1|0;if((f|0)<=(a|0)){break ba}if(k){continue}}break}c=0;e=0;ca:{if(k){break ca}e=0;if(!O[(g+T(d,12)|0)+4|0]){break ca}a=N[(g+T(a,12)|0)-4>>2];d=O[a|0];e=0;if(!d){break ca}e=0;if((d|0)==78){break ca}e=0;if((d|0)==110){break ca}e=a}d=e;while(1){da:{a=c;k=cb(N[g+T(a,12)>>2],20296);c=a+1|0;if((f|0)<=(c|0)){break da}if(k){continue}}break}e=0;f=0;ea:{if(k){break ea}fa:{if(!O[(g+T(a,12)|0)+4|0]){break fa}a=N[(g+T(c,12)|0)-4>>2];c=O[a|0];if(!c|(c|0)==78){break fa}f=0;if((c|0)==110){break ea}e=a;j=nb(a);f=j+1|0;break ea}f=0}ga:{if(m){l=0;break ga}p=nb(l);f=(p+f|0)+1|0}g=0;ha:{if(!i){a=0;c=0;break ha}a=nb(i);f=(f+a|0)+1|0;c=i}r=c;ia:{if(!d){k=0;break ia}k=nb(d);f=(k+f|0)+1|0;g=d}q=!i;i=!d;if(!f){f=8;j=7;e=12199;break X}if((f|0)>0){break X}a=6;break W}d=Qa[N[n+4>>2]](n,f)|0;if(d){break V}a=64}N[b+24>>2]=0;break U}N[b+24>>2]=d;if(e){F(d,e,j);ja:{if(!j){break ja}c=0;f=0;if(j>>>0>=4){e=j&-4;while(1){n=d+f|0;if(O[n|0]==32){L[n|0]=45}n=(f|1)+d|0;if(O[n|0]==32){L[n|0]=45}n=(f|2)+d|0;if(O[n|0]==32){L[n|0]=45}n=(f|3)+d|0;if(O[n|0]==32){L[n|0]=45}f=f+4|0;if((e|0)!=(f|0)){continue}break}}e=j&3;if(!e){break ja}while(1){n=d+f|0;if(O[n|0]==32){L[n|0]=45}f=f+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}d=d+j|0}if(!m){if(N[b+24>>2]!=(d|0)){L[d|0]=32;d=d+1|0}F(d,l,p);d=d+p|0}if(!q){if(N[b+24>>2]!=(d|0)){L[d|0]=32;d=d+1|0}F(d,r,a);d=a+d|0}if(!i){if(N[b+24>>2]!=(d|0)){L[d|0]=32;d=d+1|0}F(d,g,k);ka:{if(!k){break ka}a=0;f=0;if(k>>>0>=4){c=k&-4;while(1){e=d+f|0;if(O[e|0]==32){L[e|0]=45}e=(f|1)+d|0;if(O[e|0]==32){L[e|0]=45}e=(f|2)+d|0;if(O[e|0]==32){L[e|0]=45}e=(f|3)+d|0;if(O[e|0]==32){L[e|0]=45}f=f+4|0;if((c|0)!=(f|0)){continue}break}}c=k&3;if(!c){break ka}while(1){e=d+f|0;if(O[e|0]==32){L[e|0]=45}f=f+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=d+k|0}L[d|0]=0;a=0}N[h+4>>2]=a;if(a){break b}a=yd(N[b+280>>2],N[b+284>>2],20231);la:{if(!(!a|!O[a+4|0])){s=b,t=Nc(o,N[a+8>>2],h+4|0),N[s+20>>2]=t;if(!N[h+4>>2]){break la}break b}N[b+20>>2]=0}N[b+28>>2]=1;N[b+16>>2]=N[b+288>>2];a=Qa[N[o+4>>2]](o,16)|0;if(a){L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;N[h+4>>2]=0;N[b+32>>2]=a;i=32767;c=N[b+208>>2]+N[b+204>>2]|0;e=c>>31;c=(c^e)-e>>>0>32767?32767:c&32768?0-c|0:c;M[a>>1]=c;e=N[b+280>>2];g=N[b+284>>2];d=yd(e,g,19895);ma:{if(d){c=N[d+8>>2];d=c>>31;if((c^d)-d>>>0>327665){break ma}c=(c+5|0)/10|0;i=c&32768?0-c|0:c;break ma}i=jb(c<<16>>16,2,3)}M[a+2>>1]=i;c=yd(e,g,20048);if(c){d=N[c+8>>2];c=d>>31;c=(c^d)-c|0;if(c>>>0<=328898){c=jb(c,460800,72270)}else{c=32767}N[a+4>>2]=c}c=yd(e,g,20082);if(c){c=N[c+8>>2];d=c>>31;if((c^d)-d>>>0<=32767){d=c<<16>>16;c=(c<<16<0?0-d|0:d)<<6}else{c=2097088}N[a+12>>2]=c}d=yd(e,g,18765);c=0;na:{if(!d){break na}d=N[d+8>>2];f=d>>31;c=32767;if((d^f)-f>>>0>32767){break na}c=d<<16;c=((c|0)<0?0-c|0:c)>>16}oa:{pa:{qa:{ra:{d=yd(e,g,18633);if(d){f=32767;d=N[d+8>>2];i=d>>31;if((d^i)-i>>>0>32767){break ra}f=d&32768?0-d|0:d;d=N[a+12>>2];if(d){break pa}d=N[a+4>>2];N[a+12>>2]=d;if(!(f&65535)){break oa}i=a+12|0;break qa}d=N[a+12>>2];if(d){break oa}d=N[a+4>>2];N[a+12>>2]=d;break oa}d=N[a+12>>2];if(d){break pa}d=N[a+4>>2];N[a+12>>2]=d;i=a+12|0}d=jb(d,f<<16>>16,72);N[i>>2]=d}if(!c|!(f&65535)){break oa}d=jb(d,c,f<<16>>16)}N[a+8>>2]=d;d=0;a=yd(e,g,18649);c=yd(e,g,19963);if(!a|!O[a+4|0]|(!c|!O[c+4|0])){break a}s=b,t=Nc(o,N[c+8>>2],h+4|0),N[s+176>>2]=t;if(N[h+4>>2]){break b}s=b,t=Nc(o,N[a+8>>2],h+4|0),N[s+180>>2]=t;if(!N[h+4>>2]){break a}break b}N[h+4>>2]=64;N[b+32>>2]=0;break b}i=9}a=N[b+192>>2];if(a){Qa[N[o+8>>2]](o,a)}N[b+192>>2]=0;N[h+4>>2]=i}d=3}La=h+32|0;return d}function Rq(a){a=a|0;var b=0,c=0,d=0,e=0;c=N[a+88>>2];a:{b:{c:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break b}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1937007464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d:{e:{f:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break d}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=270;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];e=a+24|0;j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break l}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];m:{n:{o:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break n}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break o}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break m}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1769172844,N[a+8>>2]==1098015074?10:8);p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1718185569,N[a+8>>2]==1098015074?10:8);s:{t:{u:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break t}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break u}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break s}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];v:{w:{x:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break w}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break x}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break v}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1718185522;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];y:{z:{A:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break z}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break A}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break y}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];B:{C:{D:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break C}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break D}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break B}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1718185523;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];E:{F:{G:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break F}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break G}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break E}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1835361385,N[a+8>>2]==1098015074?10:8);H:{I:{J:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break I}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break J}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break H}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1835361330;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];N:{O:{P:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break O}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break P}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break N}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1768843636,N[a+8>>2]==1098015074?10:8);b=N[a+100>>2];Q:{R:{S:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break R}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break S}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break Q}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;T:{U:{V:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break U}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break V}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break T}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=271;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=11;N[b+4>>2]=c;N[b>>2]=1919707495;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];if(N[a+8>>2]==1098015074){Z:{_:{$:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break _}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break $}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break Z}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=272;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1}c=N[a+88>>2];aa:{ba:{ca:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ba}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ca}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break aa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1667329140;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];da:{if(Ff(N[a+24>>2],1196643650,N[a+60>>2],N[a+68>>2],1919118452,0)){break da}if(Ff(N[a+24>>2],1196445523,N[a- -64>>2],N[a+72>>2],1919118452,0)){break da}ea:{fa:{ga:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break fa}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break ga}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break ea}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ha:{ia:{ja:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ja}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ha}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1919118452;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}c=N[a+88>>2];ka:{la:{ma:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break la}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ma}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ka}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];na:{oa:{pa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break pa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break na}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1668049255;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];qa:{ra:{sa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break sa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break qa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1836279156;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function sk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=La-16|0;La=n;N[a+20>>2]=0;d=a+12|0;N[d>>2]=0;N[d+4>>2]=0;N[n+8>>2]=-1;N[n+12>>2]=0;N[n+4>>2]=d;N[n>>2]=0;d=O[b+4|0]|O[b+5|0]<<8;a:{if(!d){N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+24>>2]=-1;break a}c=O[b|0]|O[b+1|0]<<8;o=(c<<8|c>>>8)&65535;p=b+4|0;d=(d<<8|d>>>8)&65535;q=d>>>0<=1?1:d;while(1){d=O[p|0]|O[p+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=l>>>0?275552:((l<<1)+p|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+b|0}else{d=275552}c=o;h=0;g=La-32|0;La=g;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{while(1){m:{if((c|0)!=7){n:{switch(c-1|0){case 0:o:{p:{c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break o;case 0:break p;default:break b}}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=250;N[g+12>>2]=251;N[g+8>>2]=252;N[g+4>>2]=d;q:{r:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break q;case 0:break r;default:break c}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break c}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;s:{if((c|0)==256){e=0;c=d;break s}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break d}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break d}Ub(d,g+20|0);break c}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=253;N[g+12>>2]=254;N[g+8>>2]=255;N[g+4>>2]=d;t:{u:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break t;case 0:break u;default:break e}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break e}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;v:{if((c|0)==256){e=0;c=d;break v}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break f}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break f}Ub(d,g+20|0);break e;case 1:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=256;N[g+12>>2]=257;N[g+8>>2]=258;N[g+4>>2]=d;w:{x:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break w;case 0:break x;default:break g}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break g}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;y:{if((c|0)==256){e=0;c=d;break y}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break h}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break h}Ub(d,g+20|0);break g;case 2:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=259;N[g+12>>2]=260;N[g+8>>2]=261;N[g+4>>2]=d;z:{A:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break z;case 0:break A;default:break i}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break i}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;B:{if((c|0)==256){e=0;c=d;break B}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break j}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break j}Ub(d,g+20|0);break i;case 3:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=262;N[g+12>>2]=263;N[g+8>>2]=264;N[g+4>>2]=d;C:{D:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break C;case 0:break D;default:break k}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break k}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;E:{if((c|0)==256){e=0;c=d;break E}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break l}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break l}Ub(d,g+20|0);break k;case 4:Vk(d,n);break b;case 7:break m;case 5:break n;default:break b}}Wk(d,n);break b}if((O[d|0]|O[d+1|0]<<8)!=256){break b}c=O[d+2|0]|O[d+3|0]<<8;c=(c<<8|c>>>8)&65535;e=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(e){d=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0}else{d=275552}continue}break}if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=265;N[g+12>>2]=266;N[g+8>>2]=267;N[g+4>>2]=d;F:{G:{H:{I:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break H;case 0:break I;default:break F}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break F}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;J:{if((c|0)==256){e=0;c=d;break J}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break G}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break G}Ub(d,g+20|0);break F}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}K:{L:{M:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break M}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break L}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break K}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}N:{O:{P:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break P}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break O}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break N}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}Q:{R:{S:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break S}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break R}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break Q}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}T:{U:{V:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break V}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break U}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break T}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}W:{X:{Y:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break Y}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break X}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break W}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}Z:{_:{$:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break $}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break _}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break Z}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c}La=g+32|0;l=l+1|0;if((q|0)!=(l|0)){continue}break}N[a>>2]=0;N[a+4>>2]=0;e=0;N[a+8>>2]=0;f=N[a+16>>2];if(!f){N[a+24>>2]=N[n+8>>2];break a}l=N[a+20>>2];b=T(f,28)-28|0;d=((b>>>0)/28|0)+1|0;g=d&1;aa:{if(b>>>0<28){d=0;c=0;break aa}o=d&536870910;d=0;c=0;b=0;while(1){e=N[l+16>>2]|e;N[a>>2]=e;d=N[l+20>>2]|d;N[a+4>>2]=d;c=N[l+24>>2]|c;N[a+8>>2]=c;e=e|N[l+44>>2];N[a>>2]=e;d=d|N[l+48>>2];N[a+4>>2]=d;c=c|N[l+52>>2];N[a+8>>2]=c;l=l+56|0;b=b+2|0;if((o|0)!=(b|0)){continue}break}}if(g){N[a>>2]=N[l+16>>2]|e;N[a+4>>2]=N[l+20>>2]|d;N[a+8>>2]=N[l+24>>2]|c}N[a+24>>2]=N[n+8>>2];l=0;while(1){if(N[a+24>>2]!=(l|0)){ba:{if(f>>>0<=l>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;f=N[a+16>>2];b=0;break ba}b=N[(N[a+20>>2]+T(l,28)|0)+4>>2]}ca:{if(f>>>0<=l>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;f=N[a+16>>2];d=589824;break ca}d=N[a+20>>2]+T(l,28)|0}N[d+8>>2]=b}l=l+1|0;if(l>>>0>>0){continue}break}}La=n+16|0}function Vg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;w=La-16|0;La=w;a:{if(!Dk(a+4|0,b,a)){break a}c=a+6|0;if(c>>>0>2]){break a}e=N[b+8>>2];if(e>>>0>>0){break a}if(e-c>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=O[c|0]|O[c+1|0]<<8;b:{if(!e){break b}e=((e<<8|e>>>8)&65535)+a|0;N[w+12>>2]=e;if(Ck(e,b,w+12|0)){break b}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}r=a+8|0;h=N[b+4>>2];if(r>>>0>>0){h=0;break a}c=N[b+8>>2];if(c>>>0>>0){h=0;break a}if(c-r>>>0<2){h=0;break a}j=N[b+12>>2];e=j-2|0;N[b+12>>2]=e;if((e|0)<=0){h=0;break a}e=O[r|0]|O[r+1|0]<<8;c:{if(!e){break c}d:{q=((e<<8|e>>>8)&65535)+a|0;if(h>>>0>q>>>0|c>>>0>>0|c-q>>>0<2){break d}e=j-4|0;N[b+12>>2]=e;if((e|0)<=0){break d}h=O[q|0]|O[q+1|0]<<8;if(!h){break c}j=q+2|0;if(j>>>0>c>>>0){break d}j=c-j|0;c=(h<<8|h>>>8)&65535;h=c<<1;if(j>>>0>>0){break d}e=e-h|0;N[b+12>>2]=e;if((e|0)<=0){break d}y=c>>>0<=1?1:c;while(1){s=((x<<1)+q|0)+2|0;e=N[b+4>>2];if(s>>>0>>0){break d}j=N[b+8>>2];if(j>>>0>>0|j-s>>>0<2){break d}c=N[b+12>>2];h=c-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[s|0]|O[s+1|0]<<8;e:{if(!h){break e}m=((h<<8|h>>>8)&65535)+q|0;f:{g:{if(e>>>0>m>>>0|j>>>0>>0|j-m>>>0<6){break g}h=c-8|0;N[b+12>>2]=h;if((h|0)<=0){break g}n=m+4|0;if(j>>>0>>0|j-n>>>0<2){break g}h=c-10|0;N[b+12>>2]=h;if((h|0)<=0){break g}o=O[n|0]|O[n+1|0]<<8;u=(o<<8|o>>>8)&65535;d=u<<1;if(o){c=m+6|0;if(c>>>0>j>>>0|d>>>0>j-c>>>0){break g}h=h-d|0;N[b+12>>2]=h;if((h|0)<=0){break g}}c=N[b+16>>2]+u|0;N[b+16>>2]=c;if((c|0)>16383){break g}h:{if(!(O[m+3|0]&16)){c=h;break h}c=(d+n|0)+2|0;if(c>>>0>>0|c>>>0>j>>>0|j-c>>>0<2){break g}c=h-2|0;N[b+12>>2]=c;if((h|0)<3){break g}}if(e>>>0>n>>>0){break g}e=O[m|0]|O[m+1|0]<<8;c=c-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}if(o){h=m+6|0;if(h>>>0>j>>>0|d>>>0>j-h>>>0){break g}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break g}j=(e<<8|e>>>8)&65535;z=u>>>0<=1?1:u;h=0;while(1){o=((h<<1)+n|0)+2|0;if(o>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-o>>>0<2){break g}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=O[o|0]|O[o+1|0]<<8;i:{if(!c){break i}e=((c<<8|c>>>8)&65535)+m|0;c=j;d=0;l=0;v=La-16|0;La=v;j:{k:{while(1){l:{if((c|0)!=7){d=1;m:{switch(c-1|0){case 0:c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}n:{o:{i=O[e|0]|O[e+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break n;case 0:break o;default:break j}}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;p:{if(!d){break p}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break p}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}d=0;if(e-c>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;d=(c|0)>0;break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;q:{if(!d){break q}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break q}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}f=N[b+12>>2]-2|0;N[b+12>>2]=f;if((f|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break k}e=e+6|0;if(e>>>0>d>>>0){d=0;break j}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>d-e>>>0){d=0;break j}c=f-c|0;N[b+12>>2]=c;d=0;if((c|0)>0){break k}break j;case 1:if(Q[b+4>>2]>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;r:{if(!d){break r}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break r}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}p=c>>>0<=1?1:c;c=0;while(1){i=N[b+4>>2];d=((c<<1)+e|0)+6|0;if(i>>>0>d>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-d>>>0<2){d=0;break j}l=N[b+12>>2];g=l-2|0;N[b+12>>2]=g;if((g|0)<=0){d=0;break j}g=O[d|0]|O[d+1|0]<<8;s:{if(!g){break s}g=((g<<8|g>>>8)&65535)+e|0;t:{if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break t}i=l-4|0;N[b+12>>2]=i;if((i|0)<=0){break t}l=O[g|0]|O[g+1|0]<<8;if(!l){break s}g=g+2|0;if(g>>>0>f>>>0){break t}g=f-g|0;f=((l<<8|l>>>8)&65535)<<1;if(g>>>0>>0){break t}f=i-f|0;N[b+12>>2]=f;if((f|0)>0){break s}}f=N[b+28>>2];if(f>>>0>31){d=0;break j}N[b+28>>2]=f+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=c+1|0;if((p|0)!=(c|0)){continue}break};break j;case 2:if(Q[b+4>>2]>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;u:{if(!d){break u}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break u}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}p=c>>>0<=1?1:c;c=0;while(1){i=N[b+4>>2];d=((c<<1)+e|0)+6|0;if(i>>>0>d>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-d>>>0<2){d=0;break j}l=N[b+12>>2];g=l-2|0;N[b+12>>2]=g;if((g|0)<=0){d=0;break j}g=O[d|0]|O[d+1|0]<<8;v:{if(!g){break v}g=((g<<8|g>>>8)&65535)+e|0;w:{if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break w}i=l-4|0;N[b+12>>2]=i;if((i|0)<=0){break w}l=O[g|0]|O[g+1|0]<<8;if(!l){break v}g=g+2|0;if(g>>>0>f>>>0){break w}g=f-g|0;f=((l<<8|l>>>8)&65535)<<1;if(g>>>0>>0){break w}f=i-f|0;N[b+12>>2]=f;if((f|0)>0){break v}}f=N[b+28>>2];if(f>>>0>31){d=0;break j}N[b+28>>2]=f+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=c+1|0;if((p|0)!=(c|0)){continue}break};break j;case 3:c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;x:{if(!d){break x}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break x}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}A=c>>>0<=1?1:c;while(1){g=N[b+4>>2];f=((l<<1)+e|0)+6|0;if(g>>>0>f>>>0){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-f>>>0<2){d=0;break j}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[f|0]|O[f+1|0]<<8;y:{if(!c){break y}z:{A:{c=((c<<8|c>>>8)&65535)+e|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break A}g=i-4|0;N[b+12>>2]=g;if((g|0)<=0){break A}i=O[c|0]|O[c+1|0]<<8;if(!i){break y}p=c+2|0;if(p>>>0>d>>>0){break A}k=d-p|0;d=(i<<8|i>>>8)&65535;i=d<<1;if(k>>>0>>0){break A}g=g-i|0;N[b+12>>2]=g;if((g|0)<=0){break A}B=d>>>0<=1?1:d;p=0;while(1){k=N[b+4>>2];g=(c+(p<<1)|0)+2|0;if(k>>>0>g>>>0){break A}d=N[b+8>>2];if(d>>>0>>0|d-g>>>0<2){break A}t=N[b+12>>2];i=t-2|0;N[b+12>>2]=i;if((i|0)<=0){break A}i=O[g|0]|O[g+1|0]<<8;B:{if(!i){break B}i=c+((i<<8|i>>>8)&65535)|0;C:{if(i>>>0>>0|d>>>0>>0|d-i>>>0<2){break C}k=t-4|0;N[b+12>>2]=k;if((k|0)<=0){break C}k=i+2|0;if(k>>>0>d>>>0|d-k>>>0<2){break C}t=t-6|0;N[b+12>>2]=t;if((t|0)<=0){break C}k=O[k|0]|O[k+1|0]<<8;if(!k){break B}k=(((k<<8|k>>>8)&65535)<<1)-2|0;if(!k){break B}i=i+4|0;if(i>>>0>d>>>0|k>>>0>d-i>>>0){break C}d=t-k|0;N[b+12>>2]=d;if((d|0)>0){break B}}d=N[b+28>>2];if(d>>>0>31){d=0;break j}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break z}L[g|0]=0;L[g+1|0]=0}p=p+1|0;if((B|0)!=(p|0)){continue}break}break y}d=N[b+28>>2]}if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[f|0]=0;L[f+1|0]=0}d=1;l=l+1|0;if((A|0)!=(l|0)){continue}break};break j;case 4:d=0;if(Q[b+4>>2]>e>>>0){break j}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break j}d=1;D:{E:{F:{c=O[e|0]|O[e+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break D;case 1:break E;case 0:break F;default:break j}}d=vk(e,b);break j}d=yk(e,b);break j}d=xk(e,b);break j;case 7:break l;case 5:break m;default:break j}}d=wk(e,b);break j}if(Q[b+4>>2]>e>>>0){break j}c=N[b+8>>2];if(c>>>0>>0){break j}c=c-e|0;if(c>>>0<2){break j}f=N[b+12>>2];g=f-2|0;N[b+12>>2]=g;if((g|0)<=0){break j}if((O[e|0]|O[e+1|0]<<8)!=256){break k}if(c>>>0<8){break j}c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}f=O[e+2|0]|O[e+3|0]<<8;if((f|0)==1792){break j}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0}else{e=275552}c=(f<<8|(f&65280)>>>8)&65535;continue}break}c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;G:{if(!d){break G}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break G}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}N[v+12>>2]=e;d=e+4|0;if(!Pe(d,b,v+12|0)){d=0;break j}c=O[e+4|0]|O[e+5|0]<<8;N[v+8>>2]=e;c=(d+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!Pe(c,b,v+8|0)){d=0;break j}e=O[c|0]|O[c+1|0]<<8;c=(c+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}f=O[c|0]|O[c+1|0]<<8;if(!f){break k}c=c+2|0;if(c>>>0>e>>>0){d=0;break j}e=e-c|0;c=((f<<8|f>>>8)&65535)<<1;if(e>>>0>>0){d=0;break j}c=d-c|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}}d=1}La=v+16|0;if(d){break i}c=N[b+28>>2];if(c>>>0>31){break d}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break f}L[o|0]=0;L[o+1|0]=0}h=h+1|0;if((z|0)!=(h|0)){continue}break}e=O[m|0]|O[m+1|0]<<8}if(N[b+28>>2]|(e&65535)!=1792){break e}e=275552;d=0;c=O[n|0]|O[n+1|0]<<8?m+6|0:275552;c=O[c|0]|O[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+m|0}if((O[e|0]|O[e+1|0]<<8)==256){c=O[e+2|0]|O[e+3|0]<<8;d=(c<<8|c>>>8)&65535}e=1;if(u>>>0<2){break e}while(1){h=275552;c=O[n|0]|O[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+n|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){h=((c<<8|c>>>8)&65535)+m|0}c=0;if((O[h|0]|O[h+1|0]<<8)==256){c=O[h+2|0]|O[h+3|0]<<8;c=(c<<8|c>>>8)&65535}if((c|0)==(d|0)){e=e+1|0;if((u|0)!=(e|0)){continue}}break}if((c|0)==(d|0)){break e}}c=N[b+28>>2]}if(c>>>0>31){break d}N[b+28>>2]=c+1;if(!O[b+24|0]){break d}L[s|0]=0;L[s+1|0]=0}x=x+1|0;if((y|0)!=(x|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){h=0;break a}N[b+28>>2]=c+1;if(!O[b+24|0]){h=0;break a}L[r|0]=0;L[r+1|0]=0}h=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65537){break a}c=a+10|0;if(c>>>0>2]){h=0;break a}e=N[b+8>>2];if(e>>>0>>0){h=0;break a}if(e-c>>>0<4){h=0;break a}e=N[b+12>>2]-4|0;N[b+12>>2]=e;if((e|0)<=0){h=0;break a}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!e){break a}if(e&128){h=0;break a}if(Bk((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){h=0;break a}N[b+28>>2]=a+1;h=0;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;h=1}La=w+16|0;return h}function $A(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;c=c?-1:0;L[a+24|0]=c;d=c>>>8|0;L[a+25|0]=d;e=c>>>16|0;L[a+26|0]=e;f=c>>>24|0;L[a+27|0]=f;L[a+28|0]=c;g=c>>>8|0;L[a+29|0]=g;h=c>>>16|0;L[a+30|0]=h;i=c>>>24|0;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i}function Fq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=La-32|0;La=j;a:{b:{a=L[b+140|0];if((a|0)>=0){N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;L[b+140|0]=a|128;N[b+84>>2]=N[b+80>>2];w=N[b+68>>2];c:{while(1){d:{if(!O[b+60|0]|f>>>0>=w>>>0){break d}d=N[b+80>>2];y=d+T(f,20)|0;a=N[y>>2];if((a&-2)==12334){e:{if(!(N[b+72>>2]!=(i|0)|i>>>0<=n>>>0)){wb(b,3,n,f,1,1);if(O[b+62|0]){d=N[b+84>>2];e=N[b+80>>2];f=N[b+72>>2];if(!((d|0)==(e|0)&(f|0)==N[b+64>>2])){g=f+1|0;if(!(!g|g>>>0>2])){if(!gb(b,g)){break d}e=N[b+80>>2];d=N[b+84>>2]}f:{if((d|0)!=(e|0)){break f}g=N[b+72>>2];if(g+1>>>0<=N[b+64>>2]+1>>>0){d=e;break f}if(!O[b+62|0]){break b}d=N[b+88>>2];N[b+84>>2]=d;g=T(g,20);if(!g){break f}F(d,e,g);d=N[b+84>>2];e=N[b+80>>2]}g=T(N[b+72>>2],20)+d|0;e=T(N[b+64>>2],20)+e|0;d=N[e+4>>2];N[g>>2]=N[e>>2];N[g+4>>2]=d;N[g+16>>2]=N[e+16>>2];d=N[e+12>>2];N[g+8>>2]=N[e+8>>2];N[g+12>>2]=d;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1;N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[h|0](c,f,a,e,d)|0){a=N[c+96>>2];g=N[a+40>>2];d=N[c+100>>2];f=N[j+8>>2];a=N[a+12>>2];if(a){a=N[a+20>>2]}else{a=0}if(!(Qa[g|0](c,d,f,a)|0)){break e}}wd(b,n,i+1|0);d=N[b+84>>2];e=d+T(i,20)|0;N[j+24>>2]=N[e+16>>2];a=N[e+12>>2];N[j+16>>2]=N[e+8>>2];N[j+20>>2]=a;a=N[e+4>>2];N[j+8>>2]=N[e>>2];N[j+12>>2]=a;d=d+T(n,20)|0;F(d+20|0,d,T(i-n|0,20));N[d+16>>2]=N[j+24>>2];a=N[j+20>>2];N[d+8>>2]=N[j+16>>2];N[d+12>>2]=a;a=N[j+12>>2];N[d>>2]=N[j+8>>2];N[d+4>>2]=a;break e}g:{if(O[b+16|0]&16){break g}N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[h|0](c,f,9676,e,d)|0)){break g}N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}h:{if(!(Qa[h|0](c,f,a,e,d)|0)){i=a;a=9676;break h}d=N[c+96>>2];h=N[d+40>>2];f=N[c+100>>2];e=N[j+8>>2];d=N[d+12>>2];if(d){d=N[d+20>>2]}else{d=0}d=Qa[h|0](c,f,e,d)|0;i=d?a:9676;a=d?9676:a}d=N[b+72>>2]+2|0;if(!(!d|d>>>0>2])){if(!gb(b,d)){break e}}g=N[b+84>>2];i:{if((g|0)!=N[b+80>>2]){break i}d=N[b+72>>2];if(d+2>>>0<=N[b+64>>2]+1>>>0){break i}if(!O[b+62|0]){break b}e=N[b+88>>2];N[b+84>>2]=e;d=T(d,20);if(!d){break i}F(e,g,d)}d=N[b+68>>2];e=N[b+64>>2];if(d>>>0>>0){break a}j:{if(d>>>0>e>>>0){f=N[b+72>>2];n=N[b+84>>2];d=N[b+80>>2]+T(e,20)|0;break j}n=N[b+84>>2];f=N[b+72>>2];d=f-1|0;d=n+T(d>>>0<=f>>>0?d:0,20)|0}e=N[d+4>>2];h=T(f,20)+n|0;N[h>>2]=N[d>>2];N[h+4>>2]=e;N[h+16>>2]=N[d+16>>2];g=d+8|0;e=N[g+4>>2];N[h+8>>2]=N[g>>2];N[h+12>>2]=e;N[h>>2]=i;e=N[d+4>>2];N[h+20>>2]=N[d>>2];N[h+24>>2]=e;e=N[d+12>>2];N[h+28>>2]=N[d+8>>2];N[h+32>>2]=e;N[h+36>>2]=N[d+16>>2];N[h+20>>2]=a;N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+2;break e}if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break e}d=N[b+80>>2];a=N[b+84>>2]}k:{if((a|0)!=(d|0)){break k}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break k}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break k}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1}i=N[b+72>>2];n=i;f=N[b+64>>2];continue}n=N[b+72>>2];l:{m:{n:{o:{p:{q:{r:{q=a-4352|0;if(!(a-43360>>>0>28&q>>>0>=96)){l=f+1|0;if(l>>>0>=w>>>0){break n}r=N[T(l,20)+d>>2];if(r-4448>>>0>=72&r-55216>>>0>22){break n}p=0;x=0;e=f+2|0;if(e>>>0>>0){g=N[T(e,20)+d>>2];e=g-4520>>>0<88|g-55243>>>0<49;x=e?g:0;p=e?g-4519|0:0}g=N[b+68>>2];o=x?3:2;e=o+f|0;u=e>>>0>g>>>0?g:e;s=u-f|0;s:{if(s>>>0<2){break s}h=N[b+144>>2]|32;N[b+144>>2]=h;if(f>>>0>=u>>>0){break s}i=-1;e=f;t=u+(e^-1)|0;if(t>>>0>=3){v=s&-4;g=0;while(1){k=T(e,20)+d|0;m=N[k+8>>2];m=i>>>0>>0?i:m;i=N[k+28>>2];m=i>>>0>m>>>0?m:i;i=N[k+48>>2];m=i>>>0>m>>>0?m:i;i=N[k+68>>2];i=i>>>0>m>>>0?m:i;e=e+4|0;g=g+4|0;if((v|0)!=(g|0)){continue}break}}k=0;m=s&3;if(m){while(1){g=N[(T(e,20)+d|0)+8>>2];i=g>>>0>i>>>0?i:g;e=e+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}e=f;if(s&1){if(N[y+8>>2]!=(i|0)){N[y+4>>2]=N[y+4>>2]|3}e=l}if(!t){break s}while(1){g=T(e,20)+d|0;if(N[g+8>>2]!=(i|0)){h=h|32;N[b+144>>2]=h;N[g+4>>2]=N[g+4>>2]|3}g=T(e+1|0,20)+d|0;if(N[g+8>>2]!=(i|0)){h=h|32;N[b+144>>2]=h;N[g+4>>2]=N[g+4>>2]|3}e=e+2|0;if((u|0)!=(e|0)){continue}break}}if(!(q>>>0>18|r-4449>>>0>20|(x-4520>>>0>26?x:0))){a=((T(a,588)+T(r,28)|0)+p|0)-2639516|0;N[j+4>>2]=a;N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[h|0](c,f,a,e,d)|0){Sg(b,o,j+4|0);i=n+1|0;f=N[b+64>>2];continue}f=N[b+64>>2];d=N[b+80>>2]}L[(T(f,20)+d|0)+19|0]=1;if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break r}d=N[b+80>>2];a=N[b+84>>2]}t:{if((a|0)!=(d|0)){break t}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break t}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break t}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}f=N[b+64>>2]+1|0;N[b+64>>2]=f;break m}f=a-44032|0;if(f>>>0>11171){break n}N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];e=N[c+100>>2];g=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}u=Qa[h|0](c,e,a,g,d)|0;m=((f&65535)>>>0)/588|0;d=f-T(m,588)|0;t=((d&65535)>>>0)/28|0;v=T(t,-28)+d|0;s=v&65535;if(s){break q}g=N[b+64>>2];d=g+1|0;u:{if(d>>>0>=w>>>0){break u}d=N[N[b+80>>2]+T(d,20)>>2];if(d-4520>>>0>26){break u}a=(a+d|0)-4519|0;N[j+4>>2]=a;N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[h|0](c,f,a,e,d)|0){Sg(b,2,j+4|0);i=n+1|0;f=N[b+64>>2];continue}d=N[b+68>>2];g=N[b+64>>2];a=g+2|0;k=a>>>0>d>>>0?d:a;p=k-g|0;if(p>>>0<2){break u}f=N[b+144>>2]|32;N[b+144>>2]=f;if(g>>>0>=k>>>0){break u}r=N[b+80>>2];a=-1;h=g;l=k+(g^-1)|0;if(l>>>0>=3){e=p&-4;o=0;while(1){q=r+T(h,20)|0;d=N[q+8>>2];d=a>>>0>>0?a:d;a=N[q+28>>2];d=a>>>0>d>>>0?d:a;a=N[q+48>>2];d=a>>>0>d>>>0?d:a;a=N[q+68>>2];a=a>>>0>d>>>0?d:a;h=h+4|0;o=o+4|0;if((e|0)!=(o|0)){continue}break}}o=0;e=p&3;if(e){while(1){d=N[(r+T(h,20)|0)+8>>2];a=a>>>0>>0?a:d;h=h+1|0;o=o+1|0;if((e|0)!=(o|0)){continue}break}}h=g;if(p&1){d=r+T(g,20)|0;if(N[d+8>>2]!=(a|0)){N[d+4>>2]=N[d+4>>2]|3}h=g+1|0}if(!l){break u}while(1){d=r+T(h,20)|0;if(N[d+8>>2]!=(a|0)){f=f|32;N[b+144>>2]=f;N[d+4>>2]=N[d+4>>2]|3}d=r+T(h+1|0,20)|0;if(N[d+8>>2]!=(a|0)){f=f|32;N[b+144>>2]=f;N[d+4>>2]=N[d+4>>2]|3}h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!u){break p}a=g+1|0;if(a>>>0>=w>>>0){break o}a=N[N[b+80>>2]+T(a,20)>>2];if(a-4520>>>0<88){break p}if(a-55243>>>0>48){break o}break p}f=N[b+64>>2];break m}if(u){break o}}N[j+8>>2]=0;a=N[c+96>>2];h=N[a+28>>2];v:{d=N[c+100>>2];m=m|4352;f=j+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[h|0](c,d,m,f,a)|0)){break v}N[j+8>>2]=0;a=N[c+96>>2];h=N[a+28>>2];d=N[c+100>>2];l=t+4449|0;f=j+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[h|0](c,d,l,f,a)|0)){break v}d=v+4519&65535;w:{x:{y:{if(!s){a=N[b+72>>2]+2|0;if(!(!a|a>>>0>2])){k=2;if(!gb(b,a)){break x}}k=2;g=N[b+84>>2];if((g|0)!=N[b+80>>2]){break y}a=N[b+72>>2];if(a+2>>>0<=N[b+64>>2]+1>>>0){break y}if(!O[b+62|0]){break b}e=N[b+88>>2];N[b+84>>2]=e;a=T(a,20);if(!a){break y}F(e,g,a);break y}N[j+8>>2]=0;e=N[c+96>>2];f=N[e+28>>2];g=N[c+100>>2];h=j+8|0;e=N[e+12>>2];if(e){a=N[e+8>>2]}else{a=0}if(!(Qa[f|0](c,g,d,h,a)|0)){break o}a=N[b+72>>2]+3|0;if(!(!a|a>>>0>2])){k=3;if(!gb(b,a)){break w}}k=3;g=N[b+84>>2];if((g|0)!=N[b+80>>2]){break y}a=N[b+72>>2];if(a+3>>>0<=N[b+64>>2]+1>>>0){break y}if(!O[b+62|0]){break b}e=N[b+88>>2];N[b+84>>2]=e;a=T(a,20);if(!a){break y}F(e,g,a)}a=N[b+68>>2];e=N[b+64>>2];if(a>>>0>>0){break a}z:{if(a>>>0>e>>>0){a=N[b+72>>2];g=N[b+84>>2];i=N[b+80>>2]+T(e,20)|0;break z}g=N[b+84>>2];a=N[b+72>>2];e=a-1|0;i=g+T(a>>>0>=e>>>0?e:0,20)|0}g=T(a,20)+g|0;a=N[i+4>>2];N[g>>2]=N[i>>2];N[g+4>>2]=a;N[g+16>>2]=N[i+16>>2];e=i+8|0;a=N[e+4>>2];N[g+8>>2]=N[e>>2];N[g+12>>2]=a;N[g>>2]=m;a=N[i+4>>2];N[g+20>>2]=N[i>>2];N[g+24>>2]=a;a=N[i+12>>2];N[g+28>>2]=N[i+8>>2];N[g+32>>2]=a;N[g+36>>2]=N[i+16>>2];N[g+20>>2]=l;if(s){a=N[i+4>>2];N[g+40>>2]=N[i>>2];N[g+44>>2]=a;N[g+56>>2]=N[i+16>>2];a=N[i+12>>2];N[g+48>>2]=N[i+8>>2];N[g+52>>2]=a;N[g+40>>2]=d}N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+k}if(!u|s){break w}A:{if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break A}d=N[b+80>>2];a=N[b+84>>2]}B:{if((a|0)!=(d|0)){break B}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break B}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break B}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1}k=k+1|0}if(!O[b+60|0]){break d}d=N[b+84>>2];a=d+T(n,20)|0;L[a+39|0]=2;L[a+19|0]=1;i=k+n|0;a=n+2|0;if(i>>>0>a>>>0){L[(d+T(a,20)|0)+19|0]=3}if(N[b+20>>2]){break l}wd(b,n,i);f=N[b+64>>2];continue}if(s){break o}d=N[b+64>>2];e=d+1|0;if(w>>>0<=e>>>0){break o}p=N[b+80>>2];a=N[p+T(e,20)>>2];if(a-4520>>>0>=88&a-55243>>>0>48){break o}g=N[b+68>>2];a=d+2|0;q=a>>>0>g>>>0?g:a;o=q-d|0;if(o>>>0<2){break o}h=N[b+144>>2]|32;N[b+144>>2]=h;if(d>>>0>=q>>>0){break o}f=-1;a=d;v=q+(d^-1)|0;if(v>>>0>=3){m=o&-4;g=0;while(1){t=p+T(a,20)|0;l=N[t+8>>2];l=f>>>0>>0?f:l;f=N[t+28>>2];l=f>>>0>l>>>0?l:f;f=N[t+48>>2];l=f>>>0>l>>>0?l:f;f=N[t+68>>2];f=f>>>0>l>>>0?l:f;a=a+4|0;g=g+4|0;if((m|0)!=(g|0)){continue}break}}k=0;l=o&3;if(l){while(1){g=N[(p+T(a,20)|0)+8>>2];f=g>>>0>f>>>0?f:g;a=a+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}C:{if(!(o&1)){e=d;break C}a=p+T(d,20)|0;if(N[a+8>>2]==(f|0)){break C}N[a+4>>2]=N[a+4>>2]|3}if(!v){break o}while(1){a=p+T(e,20)|0;if(N[a+8>>2]!=(f|0)){h=h|32;N[b+144>>2]=h;N[a+4>>2]=N[a+4>>2]|3}a=p+T(e+1|0,20)|0;if(N[a+8>>2]!=(f|0)){h=h|32;N[b+144>>2]=h;N[a+4>>2]=N[a+4>>2]|3}e=e+2|0;if((q|0)!=(e|0)){continue}break}}i=u?n+1|0:i}if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break l}d=N[b+80>>2];a=N[b+84>>2]}D:{if((a|0)!=(d|0)){break D}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break D}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break D}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1;break l}L[(N[b+80>>2]+T(f,20)|0)+19|0]=2;E:{if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break E}d=N[b+80>>2];a=N[b+84>>2]}F:{if((a|0)!=(d|0)){break F}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break F}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break F}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1}a=2;G:{if(!x){break G}L[(N[b+80>>2]+T(N[b+64>>2],20)|0)+19|0]=3;if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){a=3;if(!gb(b,e)){break G}d=N[b+80>>2];a=N[b+84>>2]}H:{if((a|0)!=(d|0)){break H}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break H}if(!O[b+62|0]){break c}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break H}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1;a=3}if(!O[b+60|0]){break d}i=a+n|0;if(N[b+20>>2]){break l}wd(b,n,i);f=N[b+64>>2];continue}f=N[b+64>>2];continue}break}Ac(b);La=j+32|0;return}break b}ba(22778,14165,169,12138);B()}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function VD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=U(0),k=U(0),l=0,m=U(0),n=0,o=U(0),p=0,q=U(0),r=0,s=U(0),t=U(0),u=U(0),v=0,w=0,x=U(0),y=U(0),z=0,A=0,D=0,E=0,F=U(0),G=0,H=U(0),I=0;g=La-4560|0;La=g;j=R[a+40>>2];N[g+40>>2]=0;N[g+44>>2]=0;N[g+48>>2]=0;N[g+52>>2]=0;N[g+56>>2]=0;N[g+60>>2]=0;b=g- -64|0;N[b>>2]=0;N[b+4>>2]=0;N[g+72>>2]=0;N[g+76>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+28>>2]=e;N[g+24>>2]=d;R[g+16>>2]=j;L[g+20|0]=j==U(0);b=N[a+24>>2];d=N[b+108>>2];a:{if(d){break a}while(1){d=N[b+48>>2];if(!d){d=275552;break a}e=db(1,28);if(!e){d=275552;N[b+108>>2]=275552;break a}d=Le(e,d);if(!N[b+108>>2]){N[b+108>>2]=d;break a}ab(N[d+24>>2]);_a(d);d=N[b+108>>2];if(!d){continue}break}}b=g+32|0;b:{c:{if(Q[d+16>>2]<=c>>>0){break c}N[g+4552>>2]=0;N[g+4544>>2]=0;N[g+4548>>2]=0;e=N[d+20>>2];e=N[(e?e:275552)+12>>2];d:{if(O[d+12|0]){f=e+(c<<1)|0;e=O[f|0]|O[f+1|0]<<8;e=((e<<8|e>>>8)&65535)<<1;f=O[f+2|0]|O[f+3|0]<<8;f=((f<<8|f>>>8)&65535)<<1;break d}f=e+(c<<2)|0;e=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);f=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}e:{f:{if(e>>>0<=f>>>0){h=N[d+24>>2];h=h?h:275552;if(f>>>0<=Q[h+16>>2]){break f}}N[g+104>>2]=0;N[g+96>>2]=0;N[g+100>>2]=0;N[g+112>>2]=-1;N[g+116>>2]=0;N[g+108>>2]=275552;break e}h=N[h+12>>2]+e|0;i=f-e|0;f=i>>>0<10?275552:h;e=O[f|0]|O[f+1|0]<<8;if(e){e=(e<<8|e>>>8)<<16>>16>0?1:(e|0)==65279?3:2}else{e=0}N[g+116>>2]=e;N[g+112>>2]=c;N[g+108>>2]=f;N[g+104>>2]=0;N[g+100>>2]=i;N[g+96>>2]=h}N[g+88>>2]=0;N[g+8>>2]=0;N[g+80>>2]=0;N[g+84>>2]=0;N[g>>2]=0;N[g+4>>2]=0;w=ej(g+96|0,a,d,g+4544|0,0,g,0);if(w){r=N[g+4548>>2];if(r>>>0>3){z=N[g+4552>>2];E=r-4|0;if(!E){_a(z);break b}e=0;d=0;while(1){g:{if(d>>>0>=r>>>0){l=0;N[147456]=0;N[147457]=0;N[147458]=0;f=589824;j=U(0);k=U(0);break g}f=z+T(d,12)|0;j=R[f+4>>2];l=O[f+8|0];k=R[f>>2]}h=l&1;j=U(j*R[a+48>>2]);k=U(k*R[a+44>>2]);h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if(!n){if(h){i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(N[g+32>>2]){t=R[g+36>>2];s=R[g+40>>2];if(!(t==R[g+44>>2]&s==R[g+48>>2])){l=N[h+16>>2];n=N[h+32>>2];if(n){n=N[n+4>>2]}else{n=0}Qa[l|0](h,i,b,t,s,n)}l=N[h+28>>2];n=N[h+32>>2];if(n){n=N[n+16>>2]}else{n=0}Qa[l|0](h,i,b,n);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=j;R[g+44>>2]=k;n=1;break r}dj(h,i,b,U(U(j*R[g+16>>2])+k),j);n=1;break r}if(!v){break t}s=U(U(U(j-u)*U(.5))+u);t=U(U(U(k-y)*U(.5))+y);h=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(N[g+32>>2]){o=R[g+36>>2];m=R[g+40>>2];if(!(o==R[g+44>>2]&m==R[g+48>>2])){n=N[e+16>>2];i=N[e+32>>2];if(i){i=N[i+4>>2]}else{i=0}Qa[n|0](e,h,b,o,m,i)}n=N[e+28>>2];i=N[e+32>>2];if(i){i=N[i+16>>2]}else{i=0}Qa[n|0](e,h,b,i);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=s;R[g+44>>2]=t;break s}dj(e,h,b,U(U(s*R[g+16>>2])+t),s);break s}u:{v:{w:{if(e&255){if(h){i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[h+12>>2];q=R[g+44>>2];x=R[g+48>>2];e=N[h+32>>2];if(e){e=N[e>>2]}else{e=0}Qa[l|0](h,i,b,q,x,e);N[g+32>>2]=1;e=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=e}A=N[h+20>>2];e=0;l=N[h+32>>2];if(l){l=N[l+8>>2]}else{l=0}Qa[A|0](h,i,b,o,m,k,j,l);R[g+48>>2]=j;R[g+44>>2]=k;o=U(0);m=U(0);break u}q=R[g+16>>2];Ke(h,i,b,U(U(m*q)+o),m,U(U(j*q)+k),j);o=U(0);e=0;m=U(0);break u}q=U(U(U(j-m)*U(.5))+m);x=U(U(U(k-o)*U(.5))+o);h=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[e+12>>2];F=R[g+44>>2];H=R[g+48>>2];i=N[e+32>>2];if(i){i=N[i>>2]}else{i=0}Qa[l|0](e,h,b,F,H,i);N[g+32>>2]=1;i=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=i}l=N[e+20>>2];i=N[e+32>>2];if(i){i=N[i+8>>2]}else{i=0}Qa[l|0](e,h,b,o,m,x,q,i);R[g+48>>2]=q;R[g+44>>2]=x;e=1;break w}F=R[g+16>>2];Ke(e,h,b,U(U(m*F)+o),m,U(U(q*F)+x),q);e=1;break w}e=1;if(h){break v}}o=k;m=j;break u}i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[h+12>>2];q=R[g+44>>2];x=R[g+48>>2];e=N[h+32>>2];if(e){e=N[e>>2]}else{e=0}Qa[l|0](h,i,b,q,x,e);N[g+32>>2]=1;e=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=e}A=N[h+16>>2];e=0;l=N[h+32>>2];if(l){l=N[l+4>>2]}else{l=0}Qa[A|0](h,i,b,k,j,l);R[g+48>>2]=j;R[g+44>>2]=k;break u}cq(h,i,b,U(U(j*R[g+16>>2])+k),j);e=0}k=s;j=t;break r}if(!O[f+9|0]){n=0;v=1;y=k;u=j;break h}n=0;if(e&255){u=j;y=k;break q}e=N[g+28>>2];f=N[g+24>>2];if(O[g+20|0]){break m}break l}e=1;o=k;m=j;n=1;k=t;j=s}if(!O[f+9|0]){s=k;t=j;break h}if(!v){break o}t=j;s=k;if(!(e&255)){break p}}j=U(U(U(u-m)*U(.5))+m);k=U(U(U(y-o)*U(.5))+o);f=N[g+28>>2];e=N[g+24>>2];x:{if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];q=R[g+44>>2];x=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,q,x,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}i=N[e+20>>2];h=N[e+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](e,f,b,o,m,k,j,h);R[g+48>>2]=j;R[g+44>>2]=k;break x}q=R[g+16>>2];Ke(e,f,b,U(U(m*q)+o),m,U(U(j*q)+k),j)}j=t;k=s}e=N[g+28>>2];f=N[g+24>>2];h=O[g+20|0];if(!n){break n}if(h){if(!N[g+32>>2]){i=N[f+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[f+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](f,e,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}i=N[f+20>>2];h=N[f+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](f,e,b,y,u,k,j,h);break j}m=R[g+16>>2];Ke(f,e,b,U(U(u*m)+y),u,U(U(j*m)+k),j);break i}if(e&255){if(!n){break i}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];s=R[g+44>>2];t=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,s,t,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+20>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,o,m,k,j,0);break j}Qa[h|0](e,f,b,o,m,k,j,N[i+8>>2]);break j}u=R[g+16>>2];Ke(e,f,b,U(U(m*u)+o),m,U(U(j*u)+k),j);break i}if(!n){break i}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+16>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,k,j,0);break j}Qa[h|0](e,f,b,k,j,N[i+4>>2]);break j}cq(e,f,b,U(U(j*R[g+16>>2])+k),j);break i}j=u;k=y;if(!h){break l}}if(N[g+32>>2]){o=R[g+36>>2];m=R[g+40>>2];if(!(o==R[g+44>>2]&m==R[g+48>>2])){i=N[f+16>>2];h=N[f+32>>2];if(h){h=N[h+4>>2]}else{h=0}Qa[i|0](f,e,b,o,m,h)}i=N[f+28>>2];h=N[f+32>>2];if(h){h=N[h+16>>2]}else{h=0}Qa[i|0](f,e,b,h);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=j;R[g+44>>2]=k;break k}dj(f,e,b,U(U(j*R[g+16>>2])+k),j)}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+20>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,k,j,k,j,0);break j}Qa[h|0](e,f,b,k,j,k,j,N[i+8>>2]);break j}k=U(U(j*R[g+16>>2])+k);Ke(e,f,b,k,j,k,j);break i}R[g+48>>2]=j;R[g+44>>2]=k}if(N[g+32>>2]){f=N[g+28>>2];e=N[g+24>>2];k=R[g+36>>2];j=R[g+40>>2];if(!(k==R[g+44>>2]&j==R[g+48>>2])){i=N[e+16>>2];h=N[e+32>>2];if(h){h=N[h+4>>2]}else{h=0}Qa[i|0](e,f,b,k,j,h)}i=N[e+28>>2];h=N[e+32>>2];if(h){h=N[h+16>>2]}else{h=0}Qa[i|0](e,f,b,h)}N[b>>2]=0;N[b+4>>2]=0;e=0;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;o=U(0);m=U(0);v=0;y=U(0);u=U(0);n=0;s=U(0);t=U(0)}d=d+1|0;if((E|0)!=(d|0)){continue}break}_a(N[g+4552>>2]);if(!w){break c}break b}ba(19169,14261,202,9940);B()}_a(N[g+4552>>2])}if(jj(Kg(N[a+24>>2]+112|0),a,c,g+16|0,0,0)){break b}e=N[a+24>>2];d=N[e+116>>2];y:{if(d){break y}while(1){d=N[e+48>>2];if(!d){d=275552;break y}f=db(1,132);if(!f){d=275552;N[e+116>>2]=275552;break y}d=bq(f,d);if(!N[e+116>>2]){N[e+116>>2]=d;break y}_a(lj(d));d=N[e+116>>2];if(!d){continue}break}}if(!N[d+44>>2]|Q[d+128>>2]<=c>>>0){break b}e=lq(N[d+96>>2],c);be(g+4544|0,N[d+88>>2],c);v=e>>>0>=Q[d+120>>2]?275552:N[d+124>>2]+T(e,28)|0;f=N[v+20>>2];n=N[a+84>>2];l=N[a+88>>2];h=N[d+80>>2];L[g+112|0]=0;C(g+116|0,0,4108);c=g+4288|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4296>>2]=0;c=g+4308|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4316>>2]=0;c=g+4328|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4336>>2]=0;c=g+4348|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4356>>2]=0;c=g+4368|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4376>>2]=0;c=g+4388|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4396>>2]=0;N[g+4416>>2]=0;c=g+4408|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4436>>2]=0;c=g+4428|0;N[c>>2]=0;N[c+4>>2]=0;L[g+4260|0]=0;N[g+104>>2]=0;c=N[g+4548>>2];e=N[g+4544>>2];N[g+96>>2]=e;N[g+100>>2]=c;N[g+4456>>2]=0;i=g+4448|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4272|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4264|0;N[i>>2]=0;N[i+4>>2]=0;N[g+4240>>2]=0;i=g+4232|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4496|0;N[i>>2]=0;N[i+4>>2]=0;N[g+4472>>2]=h;N[g+4224>>2]=e;N[g+4228>>2]=c;N[g+4256>>2]=0;N[g+4248>>2]=0;N[g+4252>>2]=0;L[g+4245|0]=1;L[g+4246|0]=0;N[g+4488>>2]=0;N[g+4492>>2]=0;e=107;i=107;z:{if(!h){break z}h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);i=107;if(h>>>0<1240){break z}i=h>>>0<33900?1131:32768}N[g+4480>>2]=f;N[g+4468>>2]=i;A:{if(!f){break A}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0<1240){break A}e=f>>>0<33900?1131:32768}N[g+4508>>2]=n;N[g+4504>>2]=l;N[g+4476>>2]=e;d=N[d+84>>2];N[g+4532>>2]=0;N[g+4512>>2]=d;L[g+4537|0]=0;L[g+4538|0]=0;N[g+4524>>2]=0;N[g+4528>>2]=0;e=c;h=g+112|0;c=0;B:{if(!l){break B}c=0;if(!n){break B}c=(O[d|0]|O[d+1|0]<<8)!=0}L[g+4536|0]=c;N[g+4520>>2]=N[v+24>>2];L[g+4244|0]=0;N[g+84>>2]=a;N[g+80>>2]=g+16;E=g+120|0;z=1e4;d=0;while(1){C:{z=z-1|0;if(!z){N[g+104>>2]=e+1;break C}D:{E:{F:{G:{H:{I:{a=d+1|0;J:{if(a>>>0<=e>>>0){c=N[g+96>>2];f=O[c+d|0];N[g+104>>2]=a;if((f|0)==12){d=d+2|0;if(d>>>0>e>>>0){f=65535;break J}a=O[a+c|0];N[g+104>>2]=d;f=a|256}K:{switch(f-10|0){case 0:case 19:iq(f,g+96|0,g+80|0);break D;case 6:jq(g+96|0);a=N[g+116>>2];L:{if(a){e=a-1|0;N[g+116>>2]=e;p=S[(h+(e<<3)|0)+8>>3];break L}e=0;N[147456]=0;N[147457]=0;L[g+112|0]=1;p=0}n=N[g+4516>>2];if(V(p)<2147483648){a=~~p}else{a=-2147483648}if((a|0)<0){break I}i=T(n^-1,a)+e|0;if(i>>>0>e>>>0){break G}if(!a){a=0;break E}if(!O[g+4536|0]){d=0;if((a|0)!=1){c=a&1;l=a&-2;while(1){f=d+i|0;M:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break M}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;f=i+(d|1)|0;N:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break N}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;d=d+2|0;if((l|0)!=(d|0)){continue}break}if(!c){break E}}c=d+i|0;if(c>>>0>>0){break H}N[147456]=0;N[147457]=0;L[g+112|0]=1;S[73728]=0;break E}f=N[g+4528>>2];if(!f){break F}A=a+i|0;v=N[g+4532>>2];c=f&-2;I=f&1;l=0;while(1){d=A+T(l,n)|0;r=513-d|0;r=r>>>0<=513?r:0;r=n>>>0>r>>>0?r:n;w=i+l|0;O:{if(w>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;w=589824;p=0;break O}w=(h+(w<<3)|0)+8|0;p=S[w>>3]}D=0;P:{if((f|0)!=(r|0)){break P}r=E+(d<<3)|0;d=0;if((f|0)!=1){while(1){G=d|1;D=+R[v+(G<<2)>>2]*S[r+(G<<3)>>3]+(+R[v+(d<<2)>>2]*S[r+(d<<3)>>3]+D);d=d+2|0;if((c|0)!=(d|0)){continue}break}d=c;if(!I){break P}}D=+R[v+(d<<2)>>2]*S[r+(d<<3)>>3]+D}S[w>>3]=p+D;l=l+1|0;if((l|0)!=(a|0)){continue}break};break E;case 5:break K;default:break J}}a=N[g+116>>2];Q:{if(!a){d=0;N[147456]=0;N[147457]=0;L[g+112|0]=1;break Q}p=S[h+(a<<3)>>3];R:{if(V(p)<2147483648){d=~~p;break R}d=-2147483648}if((d|0)>=0){break Q}L[g+112|0]=1;d=0}S:{if(O[g+4537|0]|O[g+4538|0]){N[g+104>>2]=e+1;break S}N[g+4520>>2]=d}N[g+116>>2]=0;L[g+4537|0]=1;break D}f=N[g+4264>>2]?11:14}iq(f,g+96|0,g+80|0);break D}L[g+112|0]=1;a=0;break E}c=h+(c<<3)|0;S[c+8>>3]=S[c+8>>3]+0;break E}N[g+104>>2]=N[g+100>>2]+1;break D}d=0;if((a|0)!=1){c=a&1;l=a&-2;while(1){f=d+i|0;T:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break T}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;f=i+(d|1)|0;U:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break U}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;d=d+2|0;if((l|0)!=(d|0)){continue}break}if(!c){break E}}c=d+i|0;V:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;d=589824;p=0;break V}d=(h+(c<<3)|0)+8|0;p=S[d>>3]+0}S[d>>3]=p}a=T(a,n);if(a>>>0<=e>>>0){N[g+116>>2]=e-a;break D}L[g+112|0]=1}if(O[g+4260|0]){break C}d=N[g+104>>2];e=N[g+100>>2];if(O[g+112|0]|d>>>0>e>>>0){break C}if(!O[g+4244|0]){continue}}break}if(N[g+4528>>2]){N[g+4528>>2]=0}_a(N[g+4532>>2])}if(N[g+32>>2]){c=N[g+28>>2];a=N[g+24>>2];k=R[g+36>>2];j=R[g+40>>2];if(!(k==R[g+44>>2]&j==R[g+48>>2])){e=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](a,c,b,k,j,d)}e=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](a,c,b,d)}La=g+4560|0}function Pv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;g=La-384|0;La=g;N[b>>2]=1;f=N[b+136>>2];a:{if(!f){d=11;e=N[N[b+96>>2]+4>>2];if(!e){break a}f=N[e+16>>2];if((f|0)<=0){break a}e=e+20|0;f=e+(f<<2)|0;while(1){i=N[N[e>>2]>>2];if(cb(N[i+8>>2],7988)){e=e+4|0;if(f>>>0>e>>>0){continue}break a}break}f=N[i+20>>2];if(!f){break a}N[b+136>>2]=f}if(!N[b+320>>2]){e=N[N[b+96>>2]+4>>2];b:{if(!e){d=0;break b}d=0;i=N[e+16>>2];if((i|0)<=0){break b}e=e+20|0;i=e+(i<<2)|0;while(1){l=N[N[e>>2]>>2];if(cb(N[l+8>>2],11971)){e=e+4|0;if(i>>>0>e>>>0){continue}break b}break}d=N[l+20>>2]}N[b+320>>2]=d}e=N[a+20>>2];if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}f=N[b+136>>2]}N[a+8>>2]=0;n=N[b+100>>2];N[g+108>>2]=0;h=N[b+104>>2];a=g+8|0;C(a,0,100);Qa[N[N[f+4>>2]>>2]](a,0,0,n);N[g+80>>2]=h;a=N[h+4>>2];k=N[h+8>>2];c:{d:{if(N[h+20>>2]){d=85;if(a>>>0<31){break c}e:{f:{a=N[h+28>>2];d=Qa[N[a+4>>2]](a,31)|0;if(d){N[h>>2]=d;i=Qa[N[h+20>>2]](h,N[h+8>>2],d,31)|0;e=N[h>>2];if(i>>>0<=30){break f}d=0;break e}N[h>>2]=0;d=64;break c}if(e){Qa[N[a+8>>2]](a,e)}e=0;N[h>>2]=0;d=85}N[h+32>>2]=e;N[h+36>>2]=e?e+31|0:0;N[h+8>>2]=i+N[h+8>>2];f=e;if(i>>>0>=31){break d}break c}d=85;if(a-k>>>0<31|a>>>0<=k>>>0){break c}N[h+8>>2]=k+31;e=N[h>>2];f=k+e|0;N[h+32>>2]=f;N[h+36>>2]=f+31}a=bb(f,9128,31);if(N[h+20>>2]){if(e){d=N[h+28>>2];Qa[N[d+8>>2]](d,e)}N[h>>2]=0}N[h+32>>2]=0;N[h+36>>2]=0;if(a){d=2;break c}f=N[h+8>>2];o=g+84|0;l=g+112|9;g:{while(1){a=g+112|0;e=265;i=f;m=0;while(1){d=85;j=N[h+4>>2];if(j>>>0<=f>>>0){break c}j=j-f|0;j=e>>>0>>0?e:j;e=N[h+20>>2];h:{if(!e){F(a,N[h>>2]+f|0,j);N[h+8>>2]=f+j;break h}e=Qa[e|0](h,f,a,j)|0;N[h+8>>2]=e+f;if(e>>>0>>0){break c}}a=a+j|0;L[a|0]=0;i:{a=a-6|0;if(a>>>0>g+112>>>0){e=g+112|0;d=O[g+112|0];while(1){j:{if((d&255)!=83){break j}if(bb(e,18380,9)){break j}d=10;break i}k:{d=O[e+1|0];if((d|0)!=115){break k}if(bb(e,10023,6)){break k}d=7;break i}e=e+1|0;if((a|0)!=(e|0)){continue}break}}if(j+m>>>0<9){d=3;break c}a=j+(g+m|0)|0;d=O[a+103|0]|O[a+104|0]<<8|(O[a+105|0]<<16|O[a+106|0]<<24);e=O[a+107|0]|O[a+108|0]<<8|(O[a+109|0]<<16|O[a+110|0]<<24);L[g+120|0]=O[a+111|0];N[g+112>>2]=d;N[g+116>>2]=e;e=256;i=i+256|0;f=N[h+8>>2];m=9;a=l;continue}break}l:{a=N[h+20>>2];if(a){if(!(Qa[a|0](h,k,0,0)|0)){break l}d=85;break c}if(k>>>0<=Q[h+4>>2]){break l}d=85;break c}N[h+8>>2]=k;f=((i-(g+112|0)|0)+e|0)+d|0;e=f-k|0;d=fc(h,e,o);if(d){break c}N[g+92>>2]=f;a=N[g+84>>2];N[g+12>>2]=a;N[g+104>>2]=-1;N[g+8>>2]=a;N[g+88>>2]=e;N[g+16>>2]=a+e;d=g+8|0;Qa[N[g+40>>2]](d);Qa[N[g+36>>2]](d);e=N[g+8>>2];Qa[N[g+40>>2]](d);Qa[N[g+36>>2]](d);m:{d=N[g+8>>2];i=N[g+16>>2];j=i-6|0;n:{if(d>>>0<=j>>>0){m=i-9|0;while(1){i=e;e=d;d=N[g+20>>2];if(d){break c}o:{if(O[e|0]!=83|e>>>0>m>>>0){break o}if(bb(e,18380,9)){break o}if(bb(a,22540,5)){break g}a=Kb(i,0);if((a|0)>=0){break m}d=3;break c}p:{if(O[e+1|0]!=115){break p}if(bb(e,10023,6)){break p}d=2;break c}a=g+8|0;Qa[N[g+40>>2]](a);Qa[N[g+36>>2]](a);a=i;d=N[g+8>>2];if(j>>>0>=d>>>0){continue}break}if(!h){break n}}if(!N[h+20>>2]){break n}a=N[g+84>>2];if(!a){break n}d=N[h+28>>2];Qa[N[d+8>>2]](d,a)}N[g+84>>2]=0;q:{a=N[h+20>>2];if(a){if(!(Qa[a|0](h,f,0,0)|0)){break q}d=85;break c}if(Q[h+4>>2]>=f>>>0){break q}d=85;break c}N[h+8>>2]=f;continue}break}N[g+96>>2]=a}N[g+20>>2]=0;e=N[g+84>>2];j=e+N[g+88>>2]|0;N[g+16>>2]=j;i=b+164|0;l=b+312|0;h=b+196|0;k=b+140|0;q=j-1|0;r:while(1){N[g+8>>2]=e;Qa[N[g+36>>2]](g+8|0);a=N[g+8>>2];d=(a>>>0>>0?a:q)-17|0;if(d>>>0>e>>>0){f=N[g+104>>2];while(1){s:{if(O[e|0]!=37){break s}if(bb(e,9603,17)|N[b+300>>2]<=0){break s}f=f+1|0;N[g+104>>2]=f}e=e+1|0;if((d|0)!=(e|0)){continue}break}}t:{if(a>>>0>=j>>>0){break t}Qa[N[g+40>>2]](g+8|0);e=N[g+8>>2];if(N[g+20>>2]|j>>>0<=e>>>0){break t}if(O[a|0]!=47|j>>>0<=a+2>>>0){continue}o=a+1|0;if((o|0)==(e|0)){continue}m=e-o|0;if(m>>>0>21){continue}p=O[o|0];d=34672;a=15898;u:{if(m>>>0>=2){while(1){f=d;v:{if((p|0)!=O[a|0]){break v}d=1;if((nb(a)|0)!=(m|0)){break v}while(1){if(O[d+o|0]!=O[a+d|0]){break v}d=d+1|0;if((m|0)!=(d|0)){continue}break}d=f;break u}d=f+36|0;a=N[f+36>>2];if(a){continue}continue r}}while(1){if((p|0)==O[a|0]){if((nb(a)|0)==(m|0)){break u}}a=N[d+36>>2];d=d+36|0;if(a){continue}break}continue}e=N[d+8>>2];w:{if((e|0)==11){Qa[N[d+12>>2]](b,g+8|0);d=N[g+20>>2];break w}a=k;x:{y:{z:{A:{switch(N[d+4>>2]){case 3:a=i;break z;case 2:a=l;break z;case 5:a=h;break z;case 0:break z;default:break A}}a=N[g+104>>2];if((a|0)<0|(a|0)>=N[b+300>>2]){break y}a=N[b+304>>2]+T(a,252)|0}N[g+112>>2]=a;if(e-9>>>0>1){break x}d=Qa[N[g+76>>2]](g+8|0,d,g+112|0,0,0)|0;break w}d=160;N[g+20>>2]=160;break c}d=Qa[N[g+72>>2]](g+8|0,d,g+112|0,0,0)|0}N[g+20>>2]=d;if(d){break c}e=N[g+8>>2];continue}break}if(!N[b+300>>2]){d=3;break c}d=N[g+20>>2];if(d|(c|0)<0){break c}B:{d=Qa[N[n+4>>2]](n,40)|0;if(d){L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+32|0]=0;L[d+33|0]=0;L[d+34|0]=0;L[d+35|0]=0;L[d+36|0]=0;L[d+37|0]=0;L[d+38|0]=0;L[d+39|0]=0;L[d+24|0]=0;L[d+25|0]=0;L[d+26|0]=0;L[d+27|0]=0;L[d+28|0]=0;L[d+29|0]=0;L[d+30|0]=0;L[d+31|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;N[b+328>>2]=d;a=N[b+104>>2];f=N[g+96>>2];C:{if(f){i=N[g+92>>2];d=N[a+4>>2]-i|0;if(d>>>0>>0){N[g+96>>2]=d;f=d}D:{E:{if((f|0)>0){e=Qa[N[n+4>>2]](n,f)|0;if(e){break E}d=64;break B}d=6;if(f){break B}e=0;d=0;break D}a=N[b+104>>2];i=N[g+92>>2];d=N[g+96>>2]}N[b+324>>2]=e;f=La-256|0;La=f;k=a;h=N[a+20>>2];F:{G:{if(h){l=85;a=e;if(!(Qa[h|0](k,i,0,0)|0)){break G}break F}l=85;a=e;if(Q[k+4>>2]>>0){break F}}N[k+8>>2]=i;if((d|0)<=0){a=e}else{o=d+e|0;j=1;i=e;d=f;n=d;while(1){a=i;H:{I:{J:{while(1){if(d>>>0>=n>>>0){d=N[k+4>>2];i=N[k+8>>2];if((d|0)==(i|0)){l=160;break F}l=85;if(d>>>0<=i>>>0){break F}d=d-i|0;d=d>>>0>=256?256:d;h=N[k+20>>2];K:{if(!h){F(f,i+N[k>>2]|0,d);N[k+8>>2]=d+i;h=d;break K}h=Qa[h|0](k,i,f,d)|0;N[k+8>>2]=i+h;if(d>>>0>h>>>0){break F}}n=f+h|0;d=f}i=O[d|0];h=i-48|0;if(h>>>0<10){break I}if((i-97&255)>>>0>=6){if((i-65&255)>>>0<6){break J}h=0;l=160;m=0;L:{switch(i|0){case 62:break H;case 0:case 9:case 10:case 12:case 13:case 32:break L;default:break F}}d=d+1|0;continue}break}h=i-87|0;break I}h=i-55|0}m=1}M:{if(j&255){h=h<<4;i=a;break M}h=O[a|0]+h|0;i=a+1|0}L[a|0]=h;d=d+1|0;j=1-j|0;if(i>>>0>>0&m){continue}break}a=i}l=0}N[g+112>>2]=a-e;La=f+256|0;d=l;if(d){break c}d=N[b+324>>2];e=N[g+112>>2];a=N[b+328>>2];N[a+32>>2]=0;N[a+8>>2]=0;N[a+4>>2]=e;N[a>>2]=d;N[a+20>>2]=0;N[a+24>>2]=0;a=0;break C}e=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=e;e=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=e;e=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=e;e=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=e;e=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=e;a=N[g+92>>2]}N[b+308>>2]=a;i=N[b+288>>2];if((i|0)<0){d=3;break c}l=N[b+292>>2];if((l|0)<=0){d=3;break c}if(i>>>0>4){d=3;break c}if(l>>>0>4){d=3;break c}e=N[N[b+328>>2]+4>>2]-a|0;k=N[b+300>>2];if((k|0)>0){j=N[b+304>>2];d=0;while(1){a=j+T(d,252)|0;if(Q[a+112>>2]>=1001){N[a+112>>2]=7}if(Q[a+116>>2]>=1001){N[a+116>>2]=1}f=N[a+248>>2];if((f|0)<0){d=3;break c}h=N[a+240>>2];if(!f&(h|0)!=0){d=3;break c}if(f>>>0>4){d=3;break c}a=N[a+244>>2];if(a>>>0>e>>>0){d=3;break c}if((h|0)<0){d=3;break c}if(!(!f|h>>>0<=(e-a>>>0)/(f>>>0)>>>0)){d=3;break c}d=d+1|0;if((k|0)!=(d|0)){continue}break}}a=N[b+284>>2];if(a>>>0>e>>>0){d=3;break c}d=3;if(Q[b+296>>2]>(e-a>>>0)/(i+l>>>0)>>>0){break c}l=0;m=0;N:{O:{d=N[b+300>>2];if((d|0)<0){a=6;break O}t=N[b+136>>2];j=N[b+328>>2];o=N[b+100>>2];P:{Q:{R:{S:{T:{U:{V:{W:{if(d){a=10;if((d|0)>268435455){break O}a=d<<3;l=Qa[N[o+4>>2]](o,a)|0;if(!l|(d|0)<=0){break W}C(l,0,a)}N[b+316>>2]=l;h=b+316|0;break V}N[b+316>>2]=l;if(!l){break U}h=b+316|0}a=0;n=N[b+300>>2];if((n|0)<=0){break N}while(1){d=N[b+304>>2]+T(u,252)|0;p=N[d+240>>2];if(p){w=N[d+4>>2];q=p+1|0;X:{if(q>>>0<=a>>>0){e=a;break X}e=(p&-4)+4|0;if(e>>>0<=a>>>0){f=160;break Q}if((a|e)<0){f=6;break Q}if((e|0)>536870911){f=10;break Q}f=e<<2;Y:{if(!a){m=Qa[N[o+4>>2]](o,f)|0;f=!m<<6;break Y}f=Qa[N[o+12>>2]](o,a<<2,f,m)|0;m=f?f:m;f=!f<<6}if(!(f|(a|0)>=(e|0)|!m)){C((a<<2)+m|0,0,e-a<<2);break X}if(f){break Q}}a=N[d+244>>2]+N[b+308>>2]|0;Z:{f=N[j+20>>2];if(f){if(!(Qa[f|0](j,a,0,0)|0)){break Z}f=85;break Q}if(a>>>0<=Q[j+4>>2]){break Z}f=85;break Q}N[j+8>>2]=a;f=Bb(j,T(q,N[d+248>>2]));if(f){break Q}a=N[d+248>>2];r=a&255;_:{if(!r){d=0;while(1){N[(d<<2)+m>>2]=0;d=d+1|0;if(p>>>0>=d>>>0){continue}break}break _}v=a&3;f=N[j+32>>2];k=f+(a+252&252)|0;i=k+4|0;s=0;while(1){d=f;a=0;if(r>>>0>=4){d=i;a=O[k|0]|O[k+1|0]<<8|(O[k+2|0]<<16|O[k+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}n=0;if(v){while(1){a=O[d|0]|a<<8;d=d+1|0;n=n+1|0;if((n&255)!=(v|0)){continue}break}}N[(s<<2)+m>>2]=a;i=i+r|0;k=k+r|0;f=f+r|0;s=s+1|0;if(p>>>0>=s>>>0){continue}break}}if(N[j+20>>2]){a=N[j>>2];if(a){d=N[j+28>>2];Qa[N[d+8>>2]](d,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;d=1;k=N[m>>2];a=k;while(1){f=3;i=a;a=N[(d<<2)+m>>2];if(i>>>0>a>>>0){break Q}d=d+1|0;if(p>>>0>=d>>>0){continue}break}a=N[(p<<2)+m>>2];if(a>>>0>N[j+4>>2]-N[b+308>>2]>>>0){break Q}if((q|0)<0){f=6;break S}if((q|0)>536870911){f=10;break S}f=q<<2;d=Qa[N[o+4>>2]](o,f)|0;$:{if(!(!d|p>>>0>2147483646)){C(d,0,f);N[l+4>>2]=d;break $}N[l+4>>2]=d;if(!d){break T}}aa:{i=a-k|0;if((i|0)>0){n=Qa[N[o+4>>2]](o,i)|0;d=N[l+4>>2];if(n){break aa}f=64;break R}n=0;if((a|0)==(k|0)){break aa}f=6;break R}N[d>>2]=n;a=N[m>>2]+N[b+308>>2]|0;ba:{ca:{d=N[j+20>>2];if(d){if(!(Qa[d|0](j,a,0,0)|0)){break ca}f=85;break Q}n=N[j+4>>2];if(a>>>0<=n>>>0){break ba}f=85;break Q}n=N[j+4>>2]}N[j+8>>2]=a;f=85;if(a>>>0>=n>>>0){break Q}d=N[N[l+4>>2]>>2];k=N[j+20>>2];da:{if(k){n=Qa[k|0](j,a,d,i)|0;break da}k=d;d=n-a|0;n=d>>>0>>0?d:i;F(k,a+N[j>>2]|0,n)}N[j+8>>2]=a+n;if(i>>>0>n>>>0){break Q}a=N[m>>2];d=1;while(1){f=d<<2;i=f+N[l+4>>2]|0;f=N[f+m>>2];N[i>>2]=N[i-4>>2]+(f-a|0);a=f;d=d+1|0;if(p>>>0>=d>>>0){continue}break}ea:{if((w|0)<0){break ea}a=p>>>0<=1?1:p;i=a&1;d=0;if(p>>>0>=2){k=a&-2;while(1){a=d<<2;n=a|4;f=n+m|0;Qa[N[t+16>>2]](N[a+N[l+4>>2]>>2],N[f>>2]-N[a+m>>2]|0,4330);d=d+2|0;Qa[N[t+16>>2]](N[n+N[l+4>>2]>>2],N[(d<<2)+m>>2]-N[f>>2]|0,4330);if((d|0)!=(k|0)){continue}break}}if(!i){break ea}d=d<<2;a=d+m|0;Qa[N[t+16>>2]](N[d+N[l+4>>2]>>2],N[a+4>>2]-N[a>>2]|0,4330)}N[l>>2]=p;n=N[b+300>>2];a=e}l=l+8|0;u=u+1|0;if((u|0)<(n|0)){continue}break}f=0;break P}a=!l<<6;break N}f=!d<<6;break Q}d=l+4|0}N[d>>2]=0}d=N[h>>2];if(!d){break P}if(N[b+300>>2]>0){a=0;while(1){i=a<<3;e=N[(i+d|0)+4>>2];fa:{if(!e){break fa}d=N[e>>2];if(d){Qa[N[o+8>>2]](o,d);e=N[(i+N[h>>2]|0)+4>>2]}N[e>>2]=0;d=N[h>>2];e=N[(i+d|0)+4>>2];if(!e){break fa}Qa[N[o+8>>2]](o,e);d=N[h>>2]}N[(d+i|0)+4>>2]=0;a=a+1|0;if((a|0)>2]){continue}break}}Qa[N[o+8>>2]](o,d);N[h>>2]=0}if(m){Qa[N[o+8>>2]](o,m)}a=f;break N}N[b+316>>2]=0}d=a;break c}N[b+328>>2]=0;d=64;break c}N[b+324>>2]=0}e=N[g+84>>2];if(e){a=N[g+80>>2];if(!(!a|!N[a+20>>2])){a=N[a+28>>2];Qa[N[a+8>>2]](a,e)}N[g+84>>2]=0}Qa[N[g+32>>2]](g+8|0);if(d|(c|0)<0){break a}d=6;if(c&65535){break a}N[b+36>>2]=0;N[b+4>>2]=0;N[b+16>>2]=N[b+296>>2];a=N[b+8>>2];N[b+8>>2]=a|2065;if(O[b+188|0]){N[b+8>>2]=a|2069}N[b+24>>2]=12199;a=N[b+176>>2];N[b+20>>2]=a;ga:{if(a){e=N[b+172>>2];if(!e){break ga}d=O[e|0];if(!d){break ga}while(1){d=d&255;c=O[a|0];ha:{if((d|0)==(c|0)){e=e+1|0;a=a+1|0;break ha}d=d-32|0;if(!(!d|(d|0)==13)){ia:{switch(c-32|0){case 0:case 13:a=a+1|0;break ha;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break ga;default:break ia}}if(c){break ga}N[b+24>>2]=e;break ga}e=e+1|0}d=O[e|0];if(d){continue}break}break ga}a=N[b+140>>2];if(!a){break ga}N[b+20>>2]=a}c=N[b+184>>2]!=0;N[b+12>>2]=c;a=N[b+180>>2];ja:{if(!a){break ja}if(cb(a,16733)){if(cb(a,13781)){break ja}}N[b+12>>2]=c|2}N[b+28>>2]=0;N[b+32>>2]=0;N[b+52>>2]=M[b+198>>1];a=M[b+202>>1];N[b+56>>2]=a;N[b+60>>2]=N[b+204>>2]+65535>>16;c=N[b+208>>2]+65535>>16;N[b- -64>>2]=c;d=P[b+68>>1];if(!d){M[b+68>>1]=1e3;d=1e3}M[b+72>>1]=a;M[b+70>>1]=c;N[b+80>>2]=P[b+190>>1]|P[b+192>>1]<<16;e=b;a=c-a|0;b=(T(d,12)>>>0)/10|0;M[e+74>>1]=(a|0)>b<<16>>16?a:b;d=0}La=g+384|0;return d|0}function Vj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[a+4|0]|O[a+5|0]<<8;if(c){v=(c<<8|c>>>8)&65535;r=a+6|0;while(1){q=275552;c=O[r|0]|O[r+1|0]<<8;if(c){q=((c<<8|c>>>8)&65535)+a|0}c=O[q|0]|O[q+1|0]<<8;if(c){w=(c<<8|c>>>8)&65535;s=q+2|0;while(1){c=O[s|0]|O[s+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+q|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;l=(d<<8|d>>>8)&65535;A=(l<<1)+c|0;e=A;i=O[e+2|0]|O[e+3|0]<<8;p=(i<<8|i>>>8)&65535;t=(e+2|0)+(i?p<<1:2)|0;x=O[t|0]|O[t+1|0]<<8;u=(x<<8|x>>>8)&65535;y=(u<<1)+t|0;z=O[y+2|0]|O[y+3|0]<<8;if(d){n=c+2|0;g=N[b+8>>2];j=g+24|0;k=g+36|0;while(1){c=O[n|0]|O[n+1|0]<<8;m=(c<<8|c>>>8)&65535;c=O[g+12|0];a:{if(O[g+48|0]){if(!c){break a}e=N[g+20>>2];d=N[g+28>>2];c=m>>>9|0;i=N[g+32>>2];if(!(e>>>0>>0&(c|0)==N[i+(e<<3)>>2])){if((d|0)<=0){break a}d=d-1|0;f=0;while(1){b:{e=d+f>>>1|0;h=N[i+(e<<3)>>2];c:{if((h|0)>(c|0)){d=e-1|0;break c}if((c|0)==(h|0)){break b}f=e+1|0}if((d|0)>=(f|0)){continue}break a}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break a}d=N[(i+(e<<3)|0)+4>>2];N[g+16>>2]=-1;c=(c+(d<<6)|0)+(m>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,m)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break a}if(!c){break a}N[g+16>>2]=-1;o=m>>>9|0;c=N[g+32>>2];d:{e:{e=N[g+20>>2];d=N[g+28>>2];if(e>>>0>=d>>>0){break e}e=(e<<3)+c|0;if((o|0)!=N[e>>2]){break e}c=e+4|0;break d}i=N[g+40>>2];f:{g:{if((d|0)<=0){d=0;break g}f=d-1|0;d=0;while(1){e=d+f>>>1|0;h=N[(e<<3)+c>>2];h:{if((h|0)>(o|0)){f=e-1|0;break h}if((h|0)==(o|0)){d=e;break f}d=e+1|0}if((d|0)<=(f|0)){continue}break}}i:{j:{h=N[k>>2];k:{if((h|0)<0){break k}l:{m:{e=i;c=e+1|0;f=(c|0)>0?c:0;if(f>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(f>>>0>=h>>>0){continue}break}c=k;if(h>>>0>67108863){break m}e=$a(N[g+44>>2],h<<6);if(!e){break m}N[g+36>>2]=h;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,f-e<<6)}N[g+40>>2]=f;e=N[g+24>>2];if((e|0)<0){break l}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}c=j;if(e>>>0>536870911){break m}h=$a(N[g+32>>2],e<<3);if(!h){break m}N[g+24>>2]=e;N[g+32>>2]=h}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,f-c<<3)}N[g+28>>2]=f;c=N[g+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=d<<3;e=c+N[g+32>>2]|0;F(e+8|0,e,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break j}N[147456]=0;N[147457]=0;c=589824;break i}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break k}c=N[g+28>>2];c=(c|0)>0?c:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}n:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break n}}N[k>>2]=-1;L[g+12|0]=0;break a}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[g+12|0]=0;break a}c=c+N[g+32>>2]|0}N[c>>2]=o;N[c+4>>2]=i;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break a}c=(d+(N[c>>2]<<6)|0)+(m>>>3&56)|0;f=N[c+4>>2];i=m&63;e=i&31;d=c;d=c;h=N[c>>2];if((i&63)>>>0>=32){c=1<>>32-e}N[d>>2]=h|i;N[d+4>>2]=c|f}n=n+2|0;l=l-1|0;if(l){continue}break}}if(p>>>0>=2){n=A+4|0;l=p-1|0;g=N[b+12>>2];j=g+24|0;k=g+36|0;while(1){c=O[n|0]|O[n+1|0]<<8;m=(c<<8|c>>>8)&65535;c=O[g+12|0];o:{if(O[g+48|0]){if(!c){break o}e=N[g+20>>2];d=N[g+28>>2];c=m>>>9|0;i=N[g+32>>2];if(!(e>>>0>>0&(c|0)==N[i+(e<<3)>>2])){if((d|0)<=0){break o}d=d-1|0;f=0;while(1){p:{e=d+f>>>1|0;h=N[i+(e<<3)>>2];q:{if((h|0)>(c|0)){d=e-1|0;break q}if((c|0)==(h|0)){break p}f=e+1|0}if((d|0)>=(f|0)){continue}break o}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break o}d=N[(i+(e<<3)|0)+4>>2];N[g+16>>2]=-1;c=(c+(d<<6)|0)+(m>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,m)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break o}if(!c){break o}N[g+16>>2]=-1;o=m>>>9|0;c=N[g+32>>2];r:{s:{e=N[g+20>>2];d=N[g+28>>2];if(e>>>0>=d>>>0){break s}e=(e<<3)+c|0;if((o|0)!=N[e>>2]){break s}c=e+4|0;break r}i=N[g+40>>2];t:{u:{if((d|0)<=0){d=0;break u}f=d-1|0;d=0;while(1){e=d+f>>>1|0;h=N[(e<<3)+c>>2];v:{if((h|0)>(o|0)){f=e-1|0;break v}if((h|0)==(o|0)){d=e;break t}d=e+1|0}if((d|0)<=(f|0)){continue}break}}w:{x:{h=N[k>>2];y:{if((h|0)<0){break y}z:{A:{e=i;c=e+1|0;f=(c|0)>0?c:0;if(f>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(f>>>0>=h>>>0){continue}break}c=k;if(h>>>0>67108863){break A}e=$a(N[g+44>>2],h<<6);if(!e){break A}N[g+36>>2]=h;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,f-e<<6)}N[g+40>>2]=f;e=N[g+24>>2];if((e|0)<0){break z}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}c=j;if(e>>>0>536870911){break A}h=$a(N[g+32>>2],e<<3);if(!h){break A}N[g+24>>2]=e;N[g+32>>2]=h}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,f-c<<3)}N[g+28>>2]=f;c=N[g+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=d<<3;e=c+N[g+32>>2]|0;F(e+8|0,e,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break x}N[147456]=0;N[147457]=0;e=589824;break w}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break y}c=N[g+28>>2];c=(c|0)>0?c:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}B:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break B}}N[k>>2]=-1;L[g+12|0]=0;break o}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[g+12|0]=0;break o}e=c+N[g+32>>2]|0}N[e>>2]=o;N[e+4>>2]=i;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break o}c=(d+(N[c>>2]<<6)|0)+(m>>>3&56)|0;f=N[c+4>>2];e=m&63;d=e&31;if((e&63)>>>0>=32){i=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=f|i}n=n+2|0;l=l-1|0;if(l){continue}break}}if(x){n=t+2|0;j=N[b+16>>2];k=j+24|0;l=j+36|0;while(1){c=O[n|0]|O[n+1|0]<<8;g=(c<<8|c>>>8)&65535;c=O[j+12|0];C:{if(O[j+48|0]){if(!c){break C}e=N[j+20>>2];d=N[j+28>>2];c=g>>>9|0;i=N[j+32>>2];if(!(e>>>0>>0&(c|0)==N[i+(e<<3)>>2])){if((d|0)<=0){break C}d=d-1|0;f=0;while(1){D:{e=d+f>>>1|0;h=N[i+(e<<3)>>2];E:{if((h|0)>(c|0)){d=e-1|0;break E}if((c|0)==(h|0)){break D}f=e+1|0}if((d|0)>=(f|0)){continue}break C}break}N[j+20>>2]=e}c=N[j+44>>2];if(!c){break C}d=N[(i+(e<<3)|0)+4>>2];N[j+16>>2]=-1;c=(c+(d<<6)|0)+(g>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,g)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break C}if(!c){break C}N[j+16>>2]=-1;m=g>>>9|0;c=N[j+32>>2];F:{G:{e=N[j+20>>2];d=N[j+28>>2];if(e>>>0>=d>>>0){break G}e=(e<<3)+c|0;if((m|0)!=N[e>>2]){break G}c=e+4|0;break F}i=N[j+40>>2];H:{I:{if((d|0)<=0){d=0;break I}f=d-1|0;d=0;while(1){e=d+f>>>1|0;h=N[(e<<3)+c>>2];J:{if((h|0)>(m|0)){f=e-1|0;break J}if((h|0)==(m|0)){d=e;break H}d=e+1|0}if((d|0)<=(f|0)){continue}break}}K:{L:{h=N[l>>2];M:{if((h|0)<0){break M}N:{O:{e=i;c=e+1|0;f=(c|0)>0?c:0;if(f>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(f>>>0>=h>>>0){continue}break}c=l;if(h>>>0>67108863){break O}e=$a(N[j+44>>2],h<<6);if(!e){break O}N[j+36>>2]=h;N[j+44>>2]=e;e=N[j+40>>2]}if(e>>>0>>0){C(N[j+44>>2]+(e<<6)|0,0,f-e<<6)}N[j+40>>2]=f;e=N[j+24>>2];if((e|0)<0){break N}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}c=k;if(e>>>0>536870911){break O}h=$a(N[j+32>>2],e<<3);if(!h){break O}N[j+24>>2]=e;N[j+32>>2]=h}c=N[j+28>>2];if(c>>>0>>0){C(N[j+32>>2]+(c<<3)|0,0,f-c<<3)}N[j+28>>2]=f;c=N[j+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=d<<3;e=c+N[j+32>>2]|0;F(e+8|0,e,N[j+28>>2]+(d^-1)<<3);if(Q[j+28>>2]>d>>>0){break L}N[147456]=0;N[147457]=0;c=589824;break K}N[c>>2]=-1}f=N[j+36>>2];if((f|0)<0){break M}c=N[j+28>>2];c=(c|0)>0?c:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}P:{if(f>>>0<=67108863){d=$a(N[j+44>>2],f<<6);if(d){break P}}N[l>>2]=-1;L[j+12|0]=0;break C}N[j+36>>2]=f;N[j+44>>2]=d}d=N[j+40>>2];if(d>>>0>>0){C(N[j+44>>2]+(d<<6)|0,0,c-d<<6)}N[j+40>>2]=c}L[j+12|0]=0;break C}c=c+N[j+32>>2]|0}N[c>>2]=m;N[c+4>>2]=i;c=N[j+32>>2]}N[j+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[j+44>>2];if(!d){break C}c=(d+(N[c>>2]<<6)|0)+(g>>>3&56)|0;f=N[c+4>>2];e=g&63;d=e&31;if((e&63)>>>0>=32){i=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=f|i}n=n+2|0;u=u-1|0;if(u){continue}break}}if(z){m=(z<<8|z>>>8)&65535;o=y+4|0;n=0;while(1){k=N[b+32>>2];Q:{if(!k|!N[b+24>>2]|N[b+20>>2]==275552){break Q}c=o+(n<<2)|0;c=O[c+2|0]|O[c+3|0]<<8;g=(c<<8|c>>>8)&65535;j=g>>>9|0;c=N[b+28>>2];l=N[c+32>>2];R:{S:{T:{d=N[c+20>>2];i=N[c+28>>2];if(d>>>0>=i>>>0){break T}d=l+(d<<3)|0;if((j|0)!=N[d>>2]){break T}e=d+4|0;break S}d=0;if((i|0)<=0){break R}f=i-1|0;e=0;U:{while(1){d=e+f>>>1|0;h=l+(d<<3)|0;p=N[h>>2];V:{if((p|0)>(j|0)){f=d-1|0;break V}if((j|0)==(p|0)){break U}e=d+1|0}if((e|0)<=(f|0)){continue}break}d=0;break R}N[c+20>>2]=d;e=(d>>>0>=i>>>0?275552:h)+4|0}i=N[c+44>>2];d=0;if(!i){break R}d=(i+(N[e>>2]<<6)|0)+(g>>>3&56)|0;f=N[d>>2];i=N[d+4>>2];e=g&63;d=e&31;d=((e&63)>>>0>=32?i>>>d|0:((1<>>d)&1}if((d|0)!=O[c+48|0]){break Q}c=N[b+16>>2];N[b+16>>2]=275552;d=N[b+8>>2];e=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=k-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,g);N[b+16>>2]=c;N[b+8>>2]=d;N[b+12>>2]=e;N[b+32>>2]=N[b+32>>2]+1;k=N[b+28>>2];c=O[k+12|0];if(O[k+48|0]){if(!c){break Q}d=N[k+20>>2];e=N[k+28>>2];c=N[k+32>>2];if(!(d>>>0>>0&(j|0)==N[c+(d<<3)>>2])){if((e|0)<=0){break Q}f=e-1|0;e=0;while(1){W:{d=e+f>>>1|0;i=N[c+(d<<3)>>2];X:{if((i|0)>(j|0)){f=d-1|0;break X}if((j|0)==(i|0)){break W}e=d+1|0}if((e|0)<=(f|0)){continue}break Q}break}N[k+20>>2]=d}e=N[k+44>>2];if(!e){break Q}c=N[(c+(d<<3)|0)+4>>2];N[k+16>>2]=-1;c=(e+(c<<6)|0)+(g>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,g)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break Q}if(!c){break Q}N[k+16>>2]=-1;c=N[k+32>>2];Y:{Z:{e=N[k+20>>2];d=N[k+28>>2];if(e>>>0>=d>>>0){break Z}e=(e<<3)+c|0;if((j|0)!=N[e>>2]){break Z}c=e+4|0;break Y}i=N[k+40>>2];_:{$:{if((d|0)<=0){f=0;break $}e=d-1|0;f=0;while(1){d=e+f>>>1|0;l=N[(d<<3)+c>>2];aa:{if((l|0)>(j|0)){e=d-1|0;break aa}if((j|0)==(l|0)){f=d;break _}f=d+1|0}if((e|0)>=(f|0)){continue}break}}ba:{ca:{c=k+36|0;h=N[c>>2];da:{if((h|0)<0){break da}ea:{fa:{d=i;e=d+1|0;e=(e|0)>0?e:0;if(e>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(e>>>0>=h>>>0){continue}break}l=c;if(h>>>0>67108863){break fa}d=$a(N[k+44>>2],h<<6);if(!d){break fa}N[k+36>>2]=h;N[k+44>>2]=d;d=N[k+40>>2]}if(d>>>0>>0){C(N[k+44>>2]+(d<<6)|0,0,e-d<<6)}N[k+40>>2]=e;l=k+24|0;d=N[l>>2];if((d|0)<0){break ea}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break fa}h=$a(N[k+32>>2],d<<3);if(!h){break fa}N[k+24>>2]=d;N[k+32>>2]=h}c=N[k+28>>2];if(c>>>0>>0){C(N[k+32>>2]+(c<<3)|0,0,e-c<<3)}N[k+28>>2]=e;c=N[k+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=f<<3;d=c+N[k+32>>2]|0;F(d+8|0,d,N[k+28>>2]+(f^-1)<<3);if(Q[k+28>>2]>f>>>0){break ca}N[147456]=0;N[147457]=0;d=589824;break ba}N[l>>2]=-1}f=N[k+36>>2];if((f|0)<0){break da}d=N[k+28>>2];d=(d|0)>0?d:0;if(d>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(d>>>0>=f>>>0){continue}break}ga:{if(f>>>0<=67108863){e=$a(N[k+44>>2],f<<6);if(e){break ga}}N[c>>2]=-1;L[k+12|0]=0;break Q}N[k+36>>2]=f;N[k+44>>2]=e}c=N[k+40>>2];if(c>>>0>>0){C(N[k+44>>2]+(c<<6)|0,0,d-c<<6)}N[k+40>>2]=d}L[k+12|0]=0;break Q}d=c+N[k+32>>2]|0}N[d>>2]=j;N[d+4>>2]=i;c=N[k+32>>2]}N[k+20>>2]=f;c=((f<<3)+c|0)+4|0}d=N[k+44>>2];if(!d){break Q}c=(d+(N[c>>2]<<6)|0)+(g>>>3&56)|0;f=N[c+4>>2];e=g&63;d=e&31;if((e&63)>>>0>=32){i=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=f|i}n=n+1|0;if((m|0)!=(n|0)){continue}break}}s=s+2|0;w=w-1|0;if(w){continue}break}}r=r+2|0;v=v-1|0;if(v){continue}break}}}function zC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0;f=La-26336|0;La=f;S=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{d=N[b+40>>2];b:{if(!d){break b}c=d+(N[b+36>>2]<<2)|0;i=c-4|0;c:{d:{e:{if(d>>>0<=i>>>0){while(1){m=N[i>>2];f:{if(N[m+4>>2]!=1970170211){break f}g:{switch(P[m+8>>1]){case 3:if(P[m+10>>1]!=10){break f}break e;case 0:break g;default:break f}}if(P[m+10>>1]==4){break e}}i=i-4|0;if(d>>>0<=i>>>0){continue}break}}while(1){c=c-4|0;if(d>>>0>c>>>0){break d}m=N[c>>2];if(N[m+4>>2]!=1970170211){continue}break}}N[b+92>>2]=m;c=N[b+100>>2];C(f+19664|4,0,2748);N[f+19664>>2]=c;N[a+9856>>2]=0;N[a+52>>2]=0;c=N[N[(N[N[a>>2]+8>>2]<<2)+288704>>2]+16>>2];i=db(1,172);h:{if(!i){i=588184;break h}N[i+148>>2]=1073741823;N[i+152>>2]=536870911;N[i>>2]=1;N[i+4>>2]=1;d=Ic();i:{if(!d){break i}e=N[d>>2];if(!e){break i}if((e|0)<=0){break a}N[d>>2]=e+1}L[i+60|0]=1;N[i+24>>2]=65533;N[i+12>>2]=d}j:{k:{m=O[c|0];if(m){while(1){if((m&255)==32){while(1){d=O[c+1|0];c=c+1|0;if((d|0)==32){continue}break}}c=Fe(c,a,i,f);l:{if(Q[f>>2]>1){break l}d=N[i+80>>2];e=N[i+68>>2];m:{if(O[i+63|0]|N[i+168>>2]){break m}N[i+84>>2]=d;N[i+72>>2]=0;M[i+62>>1]=256;g=T(e,20);if(!g){break m}C(N[i+88>>2],0,g)}if(!e){break l}d=N[d>>2];if(d){break k}}m=O[c|0];if(m){continue}break}}dc(i);break j}dc(i);if(vc(b,d,1)){break j}c=N[b+84>>2];if(M[c+110>>1]<=0){break j}C(f,0,19652);d=N[a+40>>2];N[f+8>>2]=65536;N[f+12>>2]=65536;N[f+40>>2]=d;N[f+4>>2]=b;N[f+22404>>2]=0;N[f+22412>>2]=f;if(rf(f+19664|0,c+108|0)){break j}if(Yd(f+19664|0,0)){break j}i=0;qf(f+19664|0,0,0,0);d=N[f+19708>>2];if((d|0)>0){c=N[f+19716>>2];e=c+T(d,44)|0;while(1){d=N[c+20>>2];if(!(!d|c>>>0>=d>>>0|(N[d+20>>2]!=(c|0)|i>>>0>15))){g=M[c+2>>1]-M[d+2>>1]|0;d=g>>31;N[(T(i,12)+a|0)+56>>2]=(d^g)-d;i=i+1|0}c=c+44|0;if(e>>>0>c>>>0){continue}break}}N[f+26288>>2]=i;Eg(f+26288|0,a+56|0,Q[f+40>>2]/100|0);N[a+52>>2]=N[f+26288>>2];if(Yd(f+19664|0,1)){break j}i=0;qf(f+19664|0,0,0,1);d=N[f+21056>>2];if((d|0)>0){c=N[f+21064>>2];e=c+T(d,44)|0;while(1){d=N[c+20>>2];if(!(!d|c>>>0>=d>>>0|(N[d+20>>2]!=(c|0)|i>>>0>15))){g=M[c+2>>1]-M[d+2>>1]|0;d=g>>31;N[(T(i,12)+a|0)+9860>>2]=(d^g)-d;i=i+1|0}c=c+44|0;if(e>>>0>c>>>0){continue}break}}N[f+26288>>2]=i;Eg(f+26288|0,a+9860|0,Q[f+40>>2]/100|0);N[a+9856>>2]=N[f+26288>>2]}if(N[a+52>>2]){c=N[a+56>>2]}else{c=(T(N[a+40>>2],50)|0)/2048|0}L[a+256|0]=0;N[a+252>>2]=c;N[a+248>>2]=(c|0)/5;if(N[a+9856>>2]){c=N[a+9860>>2]}else{c=(T(N[a+40>>2],50)|0)/2048|0}L[a+10060|0]=0;N[a+10056>>2]=c;N[a+10052>>2]=(c|0)/5;c=N[f+19664>>2];if(c){N[f+19708>>2]=0;N[f+19712>>2]=0;d=N[f+19716>>2];if((d|0)!=(f+19736|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19716>>2]=0}d=f+19720|0;N[d>>2]=0;N[d+4>>2]=0;d=N[f+19728>>2];if((d|0)!=(f+20528|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19728>>2]=0}d=f+21056|0;N[d>>2]=0;N[d+4>>2]=0;d=N[f+21064>>2];if((d|0)!=(f+21084|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+21064>>2]=0}d=f+21068|0;N[d>>2]=0;N[d+4>>2]=0;d=N[f+21076>>2];if((d|0)!=(f+21876|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+21076>>2]=0}d=N[f+19704>>2];if((d|0)!=(f+22416|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19704>>2]=0}N[f+19696>>2]=0;N[f+19700>>2]=0;d=N[f+19692>>2];if((d|0)!=(f+22448|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19692>>2]=0}N[f+19684>>2]=0;N[f+19688>>2]=0}$=Q[a+40>>2]/14|0;V=N[a>>2];e=N[V+12>>2];o=db(1,172);n:{if(!o){o=588184;break n}N[o+148>>2]=1073741823;N[o+152>>2]=536870911;N[o>>2]=1;N[o+4>>2]=1;c=Ic();o:{if(!c){break o}d=N[c>>2];if(!d){break o}if((d|0)<=0){break a}N[c>>2]=d+1}L[o+60|0]=1;N[o+24>>2]=65533;N[o+12>>2]=c}c=(e<<3)+283472|0;m=N[c>>2];if((m|0)!=5531){while(1){G=c;E=m+277936|0;c=O[E|0];p:{if(!c){break p}v=0;u=0;m=0;i=0;while(1){if((c&255)==32){while(1){c=O[E+1|0];E=E+1|0;if((c|0)==32){continue}break}}E=Fe(E,a,o,f+26288|0);W=N[f+26288>>2];q:{if(!W){break q}c=P[G+4>>1];X=c&1;z=X?-2147483648:2147483647;Y=c&4;aa=c&16;ca=c&3;J=0;K=0;while(1){d=N[o+80>>2];e=N[o+68>>2];r:{s:{if(O[o+63|0]){break s}c=0;if(N[o+168>>2]){break r}N[o+84>>2]=d;N[o+72>>2]=0;M[o+62>>1]=256;c=T(e,20);if(!c){break s}C(N[o+88>>2],0,c)}c=N[o+88>>2]}t:{if(e>>>0<=J>>>0){break t}e=d;d=T(J,20);e=N[e+d>>2];if(!e){break t}F=N[(c+d|0)+12>>2];if(vc(b,e,1)){break t}c=N[b+84>>2];if(M[c+110>>1]<3){break t}r=0;A=M[c+108>>1];u:{if((A|0)<=0){A=0;break u}H=N[c+120>>2];D=N[c+116>>2];p=N[c+112>>2];g=-1;w=0;h=0;q=0;d=0;while(1){n=M[H+(q<<1)>>1];v:{if((n|0)<=(h|0)){c=g;break v}c=(n-h|0)+1&1;w:{if(ca){x:{if(!c){j=h;e=d;c=g;break x}e=N[((h<<3)+p|0)+4>>2];c=F+e|0;j=h+1|0;y:{if(!((g|0)<0|(d|0)<(e|0))){i=(c|0)>(i|0)?i:c;e=d;c=g;break y}m=(c|0)<(m|0)?m:c;d=e;c=h}}if((h|0)==(n|0)){break w}while(1){d=N[((j<<3)+p|0)+4>>2];k=F+d|0;z:{if(!((d|0)<=(e|0)&(c|0)>=0)){m=(m|0)>(k|0)?m:k;c=j;break z}i=(i|0)<(k|0)?i:k;d=e}k=j+1|0;e=N[((k<<3)+p|0)+4>>2];l=F+e|0;A:{if(!((c|0)<0|(d|0)<(e|0))){i=(i|0)<(l|0)?i:l;e=d;break A}m=(l|0)<(m|0)?m:l;c=k}j=j+2|0;d=e;if((k|0)!=(n|0)){continue}break}break w}B:{if(!c){j=h;e=d;c=g;break B}e=N[((h<<3)+p|0)+4>>2];c=F+e|0;j=h+1|0;C:{if(!((g|0)<0|(d|0)>(e|0))){m=(c|0)<(m|0)?m:c;e=d;c=g;break C}i=(c|0)>(i|0)?i:c;d=e;c=h}}if((h|0)==(n|0)){break w}while(1){d=N[((j<<3)+p|0)+4>>2];k=F+d|0;D:{if(!((c|0)>=0&(d|0)>=(e|0))){i=(i|0)<(k|0)?i:k;c=j;break D}m=(m|0)>(k|0)?m:k;d=e}k=j+1|0;e=N[((k<<3)+p|0)+4>>2];l=F+e|0;E:{if(!((c|0)<0|(d|0)>(e|0))){m=(l|0)<(m|0)?m:l;e=d;break E}i=(i|0)<(l|0)?i:l;c=k}j=j+2|0;d=e;if((k|0)!=(n|0)){continue}break}}e=(c|0)==(g|0);r=e?r:h;w=e?w:n;g=c}h=n+1|0;q=q+1|0;if((A|0)!=(q|0)){continue}break}A=0;if((c|0)<0){r=d;break u}H=N[(c<<3)+p>>2];k=c;e=(O[c+D|0]&3)!=1?-1:c;j=e;F:{while(1){g=(k|0)>(r|0)?k-1|0:w;n=(g<<3)+p|0;l=N[n+4>>2]-d|0;h=l>>31;l=(h^l)-h|0;if(l>>>0>=6){n=N[n>>2]-H|0;h=n>>31;if((h^n)-h>>>0<=T(l,20)>>>0){break F}}h=(O[g+D|0]&3)==1;j=h?(j|0)<0?g:j:j;e=h?g:e;k=g;if((g|0)!=(c|0)){continue}break}k=c}g=c;G:{while(1){h=(g|0)<(w|0)?g+1|0:r;U=(h<<3)+p|0;l=N[U+4>>2]-d|0;n=l>>31;l=(l^n)-n|0;if(l>>>0>=6){q=N[U>>2]-H|0;n=q>>31;if((n^q)-n>>>0<=T(l,20)>>>0){break G}}g=(O[h+D|0]&3)==1;e=g?(e|0)<0?h:e:e;j=g?h:j;g=h;if((g|0)!=(c|0)){continue}break}g=c}H:{I:{if(!aa){break I}n=N[(g<<3)+p>>2]-N[(k<<3)+p>>2]|0;h=n>>31;q=N[a+40>>2];Z=(q>>>0)/25|0;if(Z>>>0<=(h^n)-h>>>0){break I}l=c;if(((g-k|0)+2|0)>(w-r|0)){break I}while(1){l=(l|0)>(r|0)?l-1|0:w;_=N[(l<<3)+p>>2];if((H|0)==(_|0)&(c|0)!=(l|0)){continue}break}if((c|0)==(l|0)){break t}da=q>>>2|0;I=0;n=g;c=g;l=0;h=0;while(1){if(!I){n=c;l=(O[c+D|0]&3)!=1?-1:c;h=l}c=(c|0)<(w|0)?c+1|0:r;I=0;x=(n<<3)+p|0;q=N[x+4>>2];y=d-q|0;t=y>>31;J:{if((t^y)-t>>>0>da>>>0){break J}t=(c<<3)+p|0;s=N[t+4>>2]-q|0;y=s>>31;y=(s^y)-y|0;K:{if(y>>>0<=5){t=N[t>>2];x=N[x>>2];s=t-x|0;I=s>>31;s=(s^I)-I|0;break K}t=N[t>>2];x=N[x>>2];R=t-x|0;s=R>>31;s=(s^R)-s|0;if(s>>>0<=T(y,20)>>>0){break J}}I=1;R=(O[c+D|0]&3)==1;l=R?(l|0)<0?c:l:l;h=R?c:h;if((t|0)>(x|0)^(H|0)>(_|0)|s>>>0>>0){break J}e=T(y,20);while(1){c=(c|0)<(w|0)?c+1|0:r;g=N[((c<<3)+p|0)+4>>2]-q|0;d=g>>31;L:{if((d^g)-d>>>0<6){break L}g=N[U>>2]-x|0;d=g>>31;if(e>>>0<(d^g)-d>>>0){break L}g=(c|0)>(r|0)?c-1|0:w;break H}l=(O[c+D|0]&3)==1?(l|0)<0?c:l:l;h=c;if((c|0)!=(k|0)){continue}break}g=k;h=g;break H}if((c|0)!=(k|0)){continue}break}}q=d;n=k;l=e;h=j}r=q+F|0;if((l|h)>=0){d=N[(h<<3)+p>>2]-N[(l<<3)+p>>2]|0;c=d>>31;if((c^d)-c>>>0>$>>>0){break u}}if((O[n+D|0]&3)==1){c=O[g+D|0]&3;A=(c|0)!=1;if(!Y|(c|0)==1){break u}break t}A=1;if(Y){break t}}if(X){c=(r|0)>(z|0);z=c?r:z;K=c?A:K;break t}c=(r|0)<(z|0);z=c?r:z;K=c?A:K}J=J+1|0;if((W|0)!=(J|0)){continue}break}if(z-2147483647>>>0<2){break q}c=K&255;N[(c?(f+19664|0)+(u<<2)|0:(v<<2)+f|0)>>2]=z;v=!c+v|0;u=((c|0)!=0)+u|0}c=O[E|0];if(c){continue}break}if(!(u|v)){break p}M:{if(u>>>0<2){break M}d=1;if((u|0)!=2){c=u-1|0;h=c&1;j=c&-2;l=0;while(1){g=N[(f+19664|0)+(d<<2)>>2];c=d;while(1){e=c-1|0;k=(f+19664|0)+(e<<2)|0;n=N[k>>2];if((n|0)>(g|0)){N[(f+19664|0)+(c<<2)>>2]=n;N[k>>2]=g;c=e;if(c){continue}}break}c=d+1|0;e=N[(f+19664|0)+(c<<2)>>2];while(1){N:{g=((c<<2)+f|0)+19660|0;k=N[g>>2];if((k|0)<=(e|0)){break N}n=f+19664|0;N[n+(c<<2)>>2]=k;N[g>>2]=e;c=c-2|0;k=n+(c<<2)|0;n=N[k>>2];if((n|0)<=(e|0)){break N}N[g>>2]=n;N[k>>2]=e;if(c){continue}}break}d=d+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}if(!h){break M}}e=N[(f+19664|0)+(d<<2)>>2];while(1){c=d-1|0;g=(f+19664|0)+(c<<2)|0;h=N[g>>2];if((h|0)<=(e|0)){break M}N[(f+19664|0)+(d<<2)>>2]=h;N[g>>2]=e;d=c;if(c){continue}break}}O:{if(v>>>0<2){break O}d=1;if((v|0)!=2){c=v-1|0;h=c&1;j=c&-2;l=0;while(1){g=N[(d<<2)+f>>2];c=d;while(1){e=c-1|0;k=(e<<2)+f|0;n=N[k>>2];if((n|0)>(g|0)){N[(c<<2)+f>>2]=n;N[k>>2]=g;c=e;if(c){continue}}break}c=d+1|0;e=N[(c<<2)+f>>2];while(1){P:{g=(c-1<<2)+f|0;k=N[g>>2];if((k|0)<=(e|0)){break P}N[(c<<2)+f>>2]=k;N[g>>2]=e;c=c-2|0;k=(c<<2)+f|0;n=N[k>>2];if((n|0)<=(e|0)){break P}N[g>>2]=n;N[k>>2]=e;if(c){continue}}break}d=d+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}if(!h){break O}}e=N[(d<<2)+f>>2];while(1){c=d-1|0;g=(c<<2)+f|0;h=N[g>>2];if((h|0)<=(e|0)){break O}N[(d<<2)+f>>2]=h;N[g>>2]=e;d=c;if(c){continue}break}}c=N[a+10064>>2];N[a+10064>>2]=c+1;c=T(c,36)+a|0;d=c+10080|0;g=c+10068|0;Q:{R:{if(!v){e=N[(f+19664|0)+(u<<1&-4)>>2];break R}e=N[(v<<1&-4)+f>>2];if(!u){break R}N[g>>2]=e;h=N[(f+19664|0)+(u<<1&-4)>>2];N[d>>2]=h;if((e|0)==(h|0)){j=P[G+4>>1];break Q}j=P[G+4>>1];if(((j&3)!=0|0)==((e|0)<(h|0)|0)){break Q}k=d;d=(e+h|0)/2|0;N[k>>2]=d;N[g>>2]=d;break Q}N[d>>2]=e;N[g>>2]=e;j=P[G+4>>1]}d=c+10100|0;e=j<<1&14;N[d>>2]=e;N[c+10096>>2]=i;N[c+10092>>2]=m;if(!(j&8)){break p}N[d>>2]=e|16}c=G+8|0;m=N[G+8>>2];if((m|0)!=5531){continue}break}}dc(o);S:{T:{g=N[a+10064>>2];if(g){i=0;c=0;if(g>>>0>=4){h=g&-4;d=a+10068|0;while(1){e=f+26288|0;N[e+(c<<2)>>2]=d+T(c,36);j=c|1;N[e+(j<<2)>>2]=d+T(j,36);j=c|2;N[e+(j<<2)>>2]=d+T(j,36);j=c|3;N[e+(j<<2)>>2]=d+T(j,36);c=c+4|0;if((h|0)!=(c|0)){continue}break}}d=g&3;if(d){while(1){N[(f+26288|0)+(c<<2)>>2]=(T(c,36)+a|0)+10068;c=c+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(g>>>0>=2){e=1;while(1){h=N[(f+26288|0)+(e<<2)>>2];k=N[(O[h+32|0]&6?0:12)+h>>2];c=e;while(1){d=c-1|0;n=(f+26288|0)+(d<<2)|0;j=N[n>>2];if((k|0)>2]){N[(f+26288|0)+(c<<2)>>2]=j;N[n>>2]=h;c=d;if(c){continue}}break}e=e+1|0;if((g|0)!=(e|0)){continue}break}}e=g-1|0;if(e){c=N[f+26288>>2];i=N[c+32>>2];m=0;while(1){d=i&6?c+12|0:c;m=m+1|0;c=N[(f+26288|0)+(m<<2)>>2];i=N[c+32>>2];g=N[(i&6?12:0)+c>>2];if((g|0)>2]){N[d>>2]=g}if((e|0)!=(m|0)){continue}break}}N[f+16>>2]=N[73412];c=N[73411];N[f+8>>2]=N[73410];N[f+12>>2]=c;c=N[73409];N[f>>2]=N[73408];N[f+4>>2]=c;c=db(1,172);if(c){break T}c=588184;break S}c=N[a+36>>2];a=N[c+4>>2];U:{if((a|0)<=0){break U}d=N[c+8>>2];e=N[V>>2];c=0;if((a|0)!=1){g=a&1;a=a&-2;while(1){h=c<<1;j=h+d|0;if((e|0)==(P[j>>1]&16383)){M[j>>1]=66}h=d+(h|2)|0;if((e|0)==(P[h>>1]&16383)){M[h>>1]=66}c=c+2|0;if((a|0)!=(c|0)){continue}break}if(!g){break U}}a=d+(c<<1)|0;if((e|0)!=(P[a>>1]&16383)){break U}M[a>>1]=66}m=-1;break c}N[c+148>>2]=1073741823;N[c+152>>2]=536870911;N[c>>2]=1;N[c+4>>2]=1;d=Ic();V:{if(!d){break V}e=N[d>>2];if(!e){break V}if((e|0)<=0){break a}N[d>>2]=e+1}L[c+60|0]=1;N[c+24>>2]=65533;N[c+12>>2]=d}m=f;d=0;e=0;W:{while(1){m=Fe(m,a,c,f+19664|0);X:{if(Q[f+19664>>2]>1){break X}g=N[c+80>>2];h=N[c+68>>2];Y:{Z:{if(O[c+63|0]){break Z}j=0;if(N[c+168>>2]){break Y}N[c+84>>2]=g;N[c+72>>2]=0;M[c+62>>1]=256;j=T(h,20);if(!j){break Z}C(N[c+88>>2],0,j)}j=N[c+88>>2]}if(!h|!N[g>>2]){break X}g=N[j>>2];h=d&255;d=1;if(!h){e=g;break X}if((e|0)==(g|0)){break X}d=0;break W}if(O[m|0]){continue}break}d=1}dc(c);L[a+32|0]=d}m=0}if(!b|!S){break b}c=N[b+40>>2];if(!c){break b}a=N[b+36>>2];if((a|0)<=0){break b}a=(a<<2)+c|0;while(1){_:{if(N[c>>2]!=(S|0)){break _}d=N[S>>2];$:{if(!d){break $}d=N[d+96>>2];e=N[N[d>>2]+32>>2];if(!e){break $}d=Qa[e|0](d,10557)|0;if(!d){break $}if(Qa[N[d>>2]](S,f)|0){break $}if(N[f+4>>2]==14){break _}}N[b+92>>2]=N[c>>2];break b}c=c+4|0;if(a>>>0>c>>>0){continue}break}}La=f+26336|0;return m|0}ba(23506,14099,260,16403);B()}function vx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=La-1536|0;La=f;N[b>>2]=1;d=N[b+96>>2];a:{b:{if(!d){break b}a=N[N[d>>2]+32>>2];if(a){l=Qa[a|0](d,10566)|0;if(l){break a}}a=N[d+4>>2];e=N[a+16>>2];if((e|0)<=0){break b}a=a+20|0;g=a+(e<<2)|0;while(1){e=N[a>>2];c:{if((e|0)==(d|0)){break c}h=N[N[e>>2]+32>>2];if(!h){break c}l=Qa[h|0](e,10566)|0;if(l){break a}}a=a+4|0;if(g>>>0>a>>>0){continue}break}}l=0}N[b+488>>2]=l;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{a=N[N[b+96>>2]+4>>2];if(!a){break m}e=N[a+16>>2];if((e|0)<=0){break m}d=a+20|0;e=d+(e<<2)|0;a=d;while(1){g=N[N[a>>2]>>2];if(cb(N[g+8>>2],7988)){a=a+4|0;if(e>>>0>a>>>0){continue}break m}break}m=N[g+20>>2];N[b+492>>2]=m;if(!m){g=11;break d}n:{o:{while(1){a=N[N[d>>2]>>2];if(!cb(N[a+8>>2],11971)){break o}d=d+4|0;if(e>>>0>d>>>0){continue}break}a=0;break n}a=N[a+20>>2]}N[b+552>>2]=a;d=f+12|0;C(d,0,380);N[b+544>>2]=0;N[b+536>>2]=-1;N[b+540>>2]=-1;N[b+284>>2]=1;N[b+348>>2]=3932;N[b+172>>2]=4;N[b+276>>2]=2596864;N[b+280>>2]=7;a=N[b+104>>2];e=d;d=N[b+100>>2];Qa[N[N[m+4>>2]>>2]](e,0,0,d);N[f+96>>2]=0;N[f+100>>2]=0;L[f+103|0]=0;L[f+104|0]=0;L[f+105|0]=0;L[f+106|0]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+84>>2]=a;g=Sm(a,9095,14);if(g){if((g&255)!=2){break f}g=Sm(a,15555,10);if(g){break f}}e=N[a+20>>2];if(e){g=85;if(Qa[e|0](a,0,0,0)|0){break f}}N[a+8>>2]=0;if(Q[a+4>>2]<2){break h}e=N[a+20>>2];if(e){if((Qa[e|0](a,0,f+1528|0,2)|0)!=2){break h}e=N[a+8>>2];g=f+1528|0;break l}e=0;g=N[a>>2];if(g){break l}N[a+8>>2]=2;break k}N[b+492>>2]=0;g=11;break d}g=O[g|0]|O[g+1|0]<<8;h=e+2|0;N[a+8>>2]=h;g=g<<8|g>>>8;if((g+32767&65535)>>>0>1){break k}if(Q[a+4>>2]<=e+5>>>0){break h}e=N[a+20>>2];p:{if(e){if((Qa[e|0](a,h,f+1528|0,4)|0)!=4){break h}h=N[a+8>>2];e=f+1528|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);break p}e=N[a>>2];if(e){e=e+h|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);break p}e=0}h=h+4|0;N[a+8>>2]=h;if((g&65535)==32769){break j}}e=N[a+20>>2];if(e){g=85;if(Qa[e|0](a,0,0,0)|0){break f}}h=0;N[a+8>>2]=0;e=N[a+4>>2];break i}L[f+104|0]=1}q:{if(!N[a+20>>2]){g=N[a>>2];L[f+105|0]=1;N[f+92>>2]=e;N[f+88>>2]=g+h;g=Xc(a,e);if(g){break f}e=N[f+92>>2];break q}r:{if((e|0)>0){g=Qa[N[d+4>>2]](d,e)|0;if(g){break r}g=64;break g}g=6;if(e){break g}g=0}N[f+88>>2]=g;g=Zb(a,g,e);if(g){break f}N[f+92>>2]=e}a=N[f+88>>2];N[f+16>>2]=a;N[f+12>>2]=a;N[f+20>>2]=a+e;g=Rm(b,f+12|0,a,e);N[f+8>>2]=g;if(g){break e}i=N[f+28>>2];s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if(O[f+104|0]){e=N[f+84>>2];a=N[e+8>>2];N[f+100>>2]=0;d=a;C:{while(1){if(Q[e+4>>2]<=d+1>>>0){break y}D:{g=N[e+20>>2];E:{if(g){if((Qa[g|0](e,d,f+1528|0,2)|0)!=2){break y}d=N[e+8>>2];g=f+1528|0;break E}g=N[e>>2];if(!g){break D}g=d+g|0}h=O[g|0]|O[g+1|0]<<8;g=d+2|0;N[e+8>>2]=g;h=h<<8|h>>>8;if((h+32767&65535)>>>0>1){break C}F:{G:{H:{if(Q[e+4>>2]<=d+5>>>0){break H}d=N[e+20>>2];if(d){if((Qa[d|0](e,g,f+1528|0,4)|0)!=4){break H}g=N[e+8>>2];d=f+1528|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break F}d=N[e>>2];if(!d){break G}d=d+g|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break F}g=85;N[f+8>>2]=85;break e}d=0}j=g+4|0;N[e+8>>2]=j;if((h&65535)!=32770){break C}N[f+100>>2]=d+N[f+100>>2];g=85;if((d|0)<0){break A}d=d+j|0;h=N[e+20>>2];I:{if(h){if(!(Qa[h|0](e,d,0,0)|0)){break I}break A}if(Q[e+4>>2]>>0){break A}}N[e+8>>2]=d;continue}break}N[e+8>>2]=d+2}d=N[f+100>>2];if(!d){g=3;N[f+8>>2]=3;break e}h=N[e+20>>2];J:{if(h){g=85;if(Qa[h|0](e,a,0,0)|0){break A}d=N[f+100>>2];break J}g=85;if(a>>>0>Q[e+4>>2]){break A}}N[e+8>>2]=a;K:{if((d|0)>0){g=Qa[N[i+4>>2]](i,d)|0;if(g){break K}g=64;break s}g=6;if(d){break s}g=0}N[f+96>>2]=g;g=0;while(1){N[f+100>>2]=g;a=xb(e,f+1528|0);if(N[f+1528>>2]|(a+32767&65535)>>>0>1){break B}d=Wc(e,f+1528|0);if(N[f+1528>>2]|(a|0)!=32770){break B}g=Zb(e,N[f+96>>2]+N[f+100>>2]|0,d);if(g){break A}g=d+N[f+100>>2]|0;continue}}e=N[f+88>>2];h=N[f+92>>2];d=e+h|0;a=e;while(1){L:{M:{if(O[a|0]!=101|a+9>>>0>=d>>>0|(O[a+1|0]!=101|O[a+2|0]!=120)){break M}if(O[a+3|0]!=101){break M}if(O[a+4|0]==99){break L}}a=a+1|0;if(d>>>0>a>>>0){continue}g=3;N[f+8>>2]=3;break e}a=a+10|0;N[f+20>>2]=a;N[f+12>>2]=e;N:{if(a>>>0>e>>>0){while(1){O:{if(O[e|0]!=101|e+5>>>0>=a>>>0|(O[e+1|0]!=101|O[e+2|0]!=120)){break O}if(O[e+3|0]!=101){break O}if(O[e+4|0]==99){break N}}Qa[N[f+44>>2]](f+12|0);if(!N[f+24>>2]){Qa[N[f+40>>2]](f+12|0);e=N[f+12>>2];if(e>>>0>>0){continue}}break}h=N[f+92>>2];e=N[f+88>>2]}g=3;d=e+h|0;if(d>>>0>a>>>0){continue}break A}break}N[f+20>>2]=N[f+88>>2]+N[f+92>>2];Qa[N[f+44>>2]](f+12|0);h=N[f+20>>2];a=N[f+12>>2];e=h-a|0;d=qe(a,10,e);if(d){d=qe(a,13,e)>>>0>>0}else{d=1}g=3;if(a>>>0>=h>>>0){break A}j=a+e|0;while(1){P:{e=O[a|0];if(!((e|0)==9|(e|0)==32|(e|0)==10)){if(!(d&(e|0)==13)){break P}}a=a+1|0;if((j|0)!=(a|0)){continue}break A}break}g=N[f+88>>2];d=N[f+92>>2]+(g-a|0)|0;Q:{if(O[f+105|0]){e=d+1|0;R:{if(d>>>0<=2147483646){g=Qa[N[i+4>>2]](i,e)|0;if(g){break R}g=64;break t}g=6;if(e){break t}g=0}N[f+100>>2]=d;N[f+96>>2]=g;break Q}N[f+100>>2]=d;N[f+96>>2]=g;L[f+106|0]=1;N[f+88>>2]=0;N[f+92>>2]=0}S:{if(h>>>0<=a+3>>>0){break S}T:{e=O[a|0];if(e-48>>>0<10){break T}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break T;default:break S}}U:{e=O[a+1|0];if(e-48>>>0<10){break U}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break U;default:break S}}V:{e=O[a+2|0];if(e-48>>>0<10){break V}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break V;default:break S}}W:{e=O[a+3|0];if(e-48>>>0<10){break W}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break W;default:break S}}N[f+12>>2]=a;Qa[N[N[m+4>>2]+24>>2]](f+12|0,g,d,f+1528|0,0)|0;a=N[f+1528>>2];N[f+100>>2]=a;L[a+N[f+96>>2]|0]=0;break B}F(g,a,d)}Qa[N[m+16>>2]](N[f+96>>2],N[f+100>>2],55665);g=3;if(Q[f+100>>2]>3){break z}}N[f+8>>2]=g;break e}L[N[f+96>>2]]=32;L[N[f+96>>2]+1|0]=32;L[N[f+96>>2]+2|0]=32;L[N[f+96>>2]+3|0]=32;a=N[f+96>>2];N[f+16>>2]=a;N[f+12>>2]=a;d=N[f+100>>2];N[f+20>>2]=d+a;g=Rm(b,f+12|0,a,d);N[f+8>>2]=g;if(g){break e}L[b+176|0]=O[b+176|0]&254;X:{Y:{g=N[b+532>>2];if(!g){break Y}if(N[g>>2]!=1<>2]){$e(b);g=N[b+532>>2];if(!g){break Y}}a=N[g+416>>2];if(!(!a|(a|0)==N[g+4>>2])){N[g+416>>2]=0}Z:{_:{if(N[g>>2]){d=N[g+4>>2];if(d){break _}}$e(b);g=N[b+532>>2];if(!g){break Y}d=N[g+4>>2];if(!d){break Z}}a=0;while(1){if(O[(T(a,12)+g|0)+88|0]){a=a+1|0;if((d|0)!=(a|0)){continue}break Z}break}$e(b);if(!N[b+532>>2]){break Y}}a=N[b+544>>2];if(!a){break X}r=b,s=lb(N[b+100>>2],4,0,a,0,f+8|0),N[r+548>>2]=s;g=N[f+8>>2];if(!g){break X}N[b+544>>2]=0;break e}N[b+544>>2]=0}j=N[f+164>>2];N[b+420>>2]=j;if(N[f+340>>2]){N[b+404>>2]=N[f+324>>2];N[b+392>>2]=N[f+328>>2];N[b+408>>2]=N[f+352>>2];N[b+412>>2]=N[f+356>>2];N[b+416>>2]=N[f+380>>2];N[f+380>>2]=0;N[f+340>>2]=0}g=0;$:{if(N[N[b+128>>2]+52>>2]){break $}g=0;if(N[f+232>>2]){break $}N[f+8>>2]=3;g=3}N[f+232>>2]=0;N[b+396>>2]=N[f+220>>2];N[b+428>>2]=N[f+244>>2];N[b+432>>2]=N[f+248>>2];N[b+400>>2]=N[f+168>>2];N[b+424>>2]=N[f+192>>2];N[f+192>>2]=0;N[f+168>>2]=0;if(N[b+368>>2]!=1){break u}i=N[f+128>>2];if((i|0)<=0){break w}e=0;if((j|0)<=0){break x}h=0;d=0;while(1){k=d<<2;o=N[k+N[f+136>>2]>>2];p=d<<1;M[p+N[b+384>>2]>>1]=0;N[k+N[b+388>>2]>>2]=15265;aa:{if(!o){break aa}q=N[b+424>>2];a=0;while(1){n=N[(a<<2)+q>>2];if(cb(o,n)){a=a+1|0;if((j|0)!=(a|0)){continue}break aa}break}M[N[b+384>>2]+p>>1]=a;N[k+N[b+388>>2]>>2]=n;if(!cb(15265,n)){break aa}e=(d|0)<(e|0)?e:d+1|0;h=(d|0)<(h|0)?d:h}d=d+1|0;if((i|0)!=(d|0)){continue}break}break v}g=85;N[f+8>>2]=85;break e}d=0;a=0;if(i>>>0>=4){e=i&-4;while(1){M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;h=a|1;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|2;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|3;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;a=a+4|0;if((e|0)!=(a|0)){continue}break}}i=i&3;if(!i){break w}while(1){h=0;M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;a=a+1|0;e=0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break v}h=0;e=0}N[b+380>>2]=e;N[b+376>>2]=h;N[b+372>>2]=N[f+108>>2]}if(Q[b+280>>2]>=1001){N[b+280>>2]=7}if(Q[b+284>>2]<1001){break e}N[b+284>>2]=1;break e}N[f+96>>2]=0;N[f+8>>2]=g;break e}N[f+96>>2]=0;N[f+8>>2]=g;break e}g=85;break f}N[f+88>>2]=0}if(O[f+105|0]){N[f+8>>2]=g;break e}a=N[f+88>>2];if(a){Qa[N[d+8>>2]](d,a)}N[f+88>>2]=0}d=N[f+28>>2];a=N[f+160>>2];if(a){Qa[a|0](f+112|0)}a=N[f+268>>2];if(a){Qa[a|0](f+220|0)}a=N[f+216>>2];if(a){Qa[a|0](f+168|0)}a=N[f+320>>2];if(a){Qa[a|0](f+272|0)}a=N[f+376>>2];if(a){Qa[a|0](f+328|0)}h=N[f+380>>2];ba:{if(!h){break ba}e=N[h+4>>2];ca:{if(!e){break ca}a=N[h+20>>2];if((e|0)!=1){i=e&1;j=e&-2;e=0;while(1){k=N[a>>2];if(k){Qa[N[d+8>>2]](d,k)}N[a>>2]=0;k=N[a+4>>2];if(k){Qa[N[d+8>>2]](d,k)}N[a+4>>2]=0;a=a+8|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}if(!i){break ca}}e=N[a>>2];if(e){Qa[N[d+8>>2]](d,e)}N[a>>2]=0}a=N[h+20>>2];if(a){Qa[N[d+8>>2]](d,a)}N[h+20>>2]=0;a=N[f+380>>2];if(!a){break ba}Qa[N[d+8>>2]](d,a)}N[f+380>>2]=0;a=N[f+28>>2];d=N[f+96>>2];if(d){Qa[N[a+8>>2]](a,d)}N[f+96>>2]=0;if(!O[f+105|0]){d=N[f+88>>2];if(d){Qa[N[a+8>>2]](a,d)}N[f+88>>2]=0}Qa[N[f+36>>2]](f+12|0);if(g|(c|0)<0){break d}g=6;if(c&65535){break d}N[b+4>>2]=0;N[b+16>>2]=N[b+420>>2];c=N[b+8>>2];a=c|2577;N[b+8>>2]=a;if(O[b+156|0]){a=c|2581;N[b+8>>2]=a}e=N[b+532>>2];if(e){N[b+8>>2]=a|256}N[b+24>>2]=0;g=N[b+144>>2];N[b+20>>2]=g;da:{ea:{if(g){a=N[b+140>>2];if(!a){break ea}d=O[a|0];if(!d){a=12199;break da}while(1){fa:{ga:{d=d&255;c=O[g|0];if((d|0)==(c|0)){a=a+1|0;break ga}d=d-32|0;if(!((d|0)!=13?d:0)){a=a+1|0;break fa}ha:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break ea;case 0:case 13:break ga;default:break ha}}if(c){break ea}break da}g=g+1|0}d=O[a|0];if(d){continue}break}a=12199;break da}a=N[b+364>>2];if(!a){break ea}N[b+20>>2]=a}a=N[b+148>>2];a=a?a:12199}N[b+24>>2]=a;c=N[b+152>>2]!=0;N[b+12>>2]=c;a=N[b+148>>2];ia:{if(!a){break ia}if(cb(a,16733)){if(cb(a,13781)){break ia}}N[b+12>>2]=c|2}N[b+28>>2]=0;N[b+32>>2]=0;N[b+52>>2]=M[b+466>>1];a=M[b+470>>1];N[b+56>>2]=a;g=N[b+472>>2]+65535>>16;N[b+60>>2]=g;c=N[b+476>>2]+65535>>16;N[b- -64>>2]=c;d=P[b+68>>1];if(!d){M[b+68>>1]=1e3;d=1e3}M[b+76>>1]=g;M[b+72>>1]=a;M[b+70>>1]=c;a=c-a|0;c=(T(d,12)>>>0)/10|0;M[b+74>>1]=(a|0)>c<<16>>16?a:c;a=0;d=N[b+492>>2];if(!(Qa[N[N[d+12>>2]>>2]](f+12|0,b,0,0,N[b+424>>2],e,0,0,147)|0)){L[f+80|0]=0;L[f+82|0]=1;N[f+1376>>2]=N[b+404>>2];N[f+1380>>2]=N[b+408>>2];N[f+1384>>2]=N[b+412>>2];N[f+1388>>2]=N[b+416>>2];N[f+1508>>2]=N[b+548>>2];N[f+1512>>2]=N[b+544>>2];ja:{if(N[b+420>>2]<=0){break ja}ka:{if(_e(f+12|0,0,f+1528|0,f+8|0)){break ka}a=N[N[N[f+16>>2]+128>>2]+52>>2];if(!a){break ka}Qa[N[N[a>>2]+4>>2]](N[a+4>>2],f+1528|0)}a=N[f+52>>2];if(N[b+420>>2]<2){break ja}g=1;while(1){la:{if(_e(f+12|0,g,f+1528|0,f+8|0)){break la}c=N[N[N[f+16>>2]+128>>2]+52>>2];if(!c){break la}Qa[N[N[c>>2]+4>>2]](N[c+4>>2],f+1528|0)}c=N[f+52>>2];a=(a|0)<(c|0)?c:a;g=g+1|0;if((g|0)>2]){continue}break}}Qa[N[N[d+12>>2]+4>>2]](f+12|0);M[b+76>>1]=((a>>31)+a|0)+32768>>>16}M[b+78>>1]=P[b+74>>1];N[b+80>>2]=P[b+158>>1]|P[b+160>>1]<<16;if(!l){g=0;break d}a=N[m+32>>2];N[f+12>>2]=b;N[f+16>>2]=1970170211;N[f+20>>2]=65539;g=Bc(N[a+12>>2],0,f+12|0,0);ma:{if(!g){break ma}c=g&255;if((c|0)==163){break ma}if((c|0)!=7){break d}}M[f+20>>1]=7;g=0;na:{oa:{switch(N[b+368>>2]-1|0){case 1:M[f+22>>1]=0;N[f+16>>2]=1094995778;break na;case 3:M[f+22>>1]=1;N[f+16>>2]=1094992453;a=a+4|0;break na;case 0:M[f+22>>1]=2;N[f+16>>2]=1094992451;a=a+8|0;break na;case 2:break oa;default:break d}}a=a+12|0;M[f+22>>1]=3;N[f+16>>2]=1818326065}a=N[a>>2];if(!a){break d}g=Bc(a,0,f+12|0,0)}La=f+1536|0;return g|0}function lf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;r=La-48|0;La=r;C=N[a+11744>>2];g=(C|0)==2;h=N[(g?a+11756|0:a+11772|0)+4>>2];j=(g?11756:11772)+a|0;k=N[j>>2];p=N[c>>2];m=N[c+4>>2];a:{if(!((k|0)!=(p|0)|(m|0)!=(h|0))){u=1;break a}v=N[(g?a+11748|0:a+11764|0)+4>>2];t=h-v|0;x=t+16|0;o=x>>5;A=(d-p|0)+16|0;i=A>>5;B=(e-m|0)+16|0;n=B>>5;l=n>>31;s=N[(g?11748:11764)+a>>2];w=k-s|0;y=w+16|0;z=y>>5;u=z>>31;g=(l^n)-l|0;D=g>>>8|0;l=(u^z)-u|0;b:{if(D+l>>>0<=8190){n=T(g,l)+32768>>>16|0;break b}u=l&65535;n=T(u,g>>>16|0)+T(g,l>>>16|0)+(T(u,g&65535)+32768>>>16)|0}l=n;q=0-l|0;l=y>>31|1;y=(((B|0)<0?0-l|0:l)|0)<0?q:n;l=i>>31;i=(l^i)-l|0;z=i>>>8|0;l=o>>31;l=(l^o)-l|0;c:{if(z+l>>>0<=8190){q=T(i,l)+32768>>>16|0;break c}o=l&65535;q=T(o,i>>>16|0)+T(i,l>>>16|0)+(T(o,i&65535)+32768>>>16)|0}n=q;l=0;u=1;o=0;E=0-n|0;n=x>>31|1;n=(((A|0)<0?0-n|0:n)|0)<0?E:q;if((n|0)==(y|0)){break a}u=(m-v|0)+16|0;o=u>>5;n=y-n|0;y=(p-s|0)+16|0;x=y>>5;l=x>>31;l=(l^x)-l|0;d:{if(l+D>>>0<=8190){g=T(g,l)+32768>>>16|0;break d}x=l&65535;g=T(x,g>>>16|0)+T(g,l>>>16|0)+(T(x,g&65535)+32768>>>16)|0}l=g;q=0-l|0;l=y>>31|1;q=(((B|0)<0?0-l|0:l)|0)<0?q:g;l=o>>31;l=(l^o)-l|0;e:{if(l+z>>>0<=8190){g=T(i,l)+32768>>>16|0;break e}o=l&65535;g=T(o,i>>>16|0)+T(i,l>>>16|0)+(T(o,i&65535)+32768>>>16)|0}l=g;i=0-l|0;l=u>>31|1;g=fb(q+((((A|0)<0?0-l|0:l)|0)<0?g:i)|0,n);l=g>>31;l=(g^l)-l|0;o=w>>31;o=(o^w)-o|0;f:{if(l+(o>>>8|0)>>>0<=8190){o=T(l,o)+32768>>>16|0;break f}i=l&65535;o=T(i,o>>>16|0)+T(o,l>>>16|0)+(T(i,o&65535)+32768>>>16)|0}g=g>>31|1;u=0-g|0;i=(((w|0)<0?u:g)|0)<0?0-o|0:o;o=t>>31;o=(o^t)-o|0;g:{if(l+(o>>>8|0)>>>0<=8190){l=T(l,o)+32768>>>16|0;break g}w=l&65535;l=T(w,o>>>16|0)+T(o,l>>>16|0)+(T(w,o&65535)+32768>>>16)|0}o=i+s|0;if((k|0)==(s|0)){s=o-k|0;i=s>>31;o=N[a+11696>>2]>((i^s)-i|0)?k:o}l=v+((((t|0)<0?u:g)|0)<0?0-l|0:l)|0;if((h|0)==(v|0)){i=l-h|0;g=i>>31;l=N[a+11696>>2]>((g^i)-g|0)?h:l}if((d|0)==(p|0)){i=o-d|0;g=i>>31;o=N[a+11696>>2]>((g^i)-g|0)?d:o}if((e|0)==(m|0)){g=l-e|0;d=g>>31;l=N[a+11696>>2]>((d^g)-d|0)?e:l}u=1;e=((k+p|0)/-2|0)+o|0;d=e>>31;d=(d^e)-d|0;e=N[a+11692>>2];if((d|0)>(e|0)){break a}g=((h+m|0)/-2|0)+l|0;d=g>>31;if(((d^g)-d|0)>(e|0)){break a}N[j>>2]=o;N[j+4>>2]=l;u=0}e=N[a+11728>>2];j=e;d=N[a+11724>>2];N[r+8>>2]=d;N[r+12>>2]=e;h:{i:{j:{switch(C-2|0){case 0:N[r+40>>2]=2;k:{if(f){e=N[a+11760>>2];h=N[a+11640>>2];i=h>>31;m=N[a+11756>>2];g=m>>31;i=(i^h)-i|0;g=(g^m)-g|0;l:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break l}k=i&65535;i=T(k,g>>>16|0)+T(g,i>>>16|0)+(T(k,g&65535)+32768>>>16)|0}g=i;k=a+3876|0;n=0-g|0;g=h>>31|1;n=(((m|0)<0?0-g|0:g)|0)<0?n:i;h=N[a+11644>>2];i=h>>31;i=(i^h)-i|0;g=e>>31;g=(g^e)-g|0;m:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break m}p=i&65535;i=T(p,g>>>16|0)+T(g,i>>>16|0)+(T(p,g&65535)+32768>>>16)|0}g=i;q=0-g|0;g=h>>31|1;g=n+((((e|0)<0?0-g|0:g)|0)<0?q:i)|0;e=_c(k,e);break k}e=N[a+11760>>2];h=N[a+11640>>2];i=h>>31;m=N[a+11756>>2];g=m>>31;i=(i^h)-i|0;g=(g^m)-g|0;n:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break n}k=i&65535;i=T(k,g>>>16|0)+T(g,i>>>16|0)+(T(k,g&65535)+32768>>>16)|0}g=i;k=0-g|0;g=h>>31|1;n=(((m|0)<0?0-g|0:g)|0)<0?k:i;h=N[a+11644>>2];i=h>>31;i=(i^h)-i|0;g=e>>31;g=(g^e)-g|0;o:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break o}k=i&65535;i=T(k,g>>>16|0)+T(g,i>>>16|0)+(T(k,g&65535)+32768>>>16)|0}g=i;k=0-g|0;g=h>>31|1;g=n+((((e|0)<0?0-g|0:g)|0)<0?k:i)|0;e=_c(b,e)}m=N[a>>2];k=N[m+64>>2];h=k>>31;i=g>>31;i=(i^g)-i|0;v=i>>>8|0;h=(h^k)-h|0;p:{if(v+h>>>0<=8190){n=T(i,h)+32768>>>16|0;break p}p=h&65535;n=T(p,i>>>16|0)+T(i,h>>>16|0)+(T(p,i&65535)+32768>>>16)|0}h=n;q=0-h|0;h=k>>31|1;q=(((g|0)<0?0-h|0:h)|0)<0?q:n;p=N[m+72>>2];k=p>>31;h=e>>31;h=(h^e)-h|0;s=h>>>8|0;k=(k^p)-k|0;q:{if(s+k>>>0<=8190){n=T(h,k)+32768>>>16|0;break q}w=k&65535;n=T(w,h>>>16|0)+T(h,k>>>16|0)+(T(w,h&65535)+32768>>>16)|0}k=n;t=0-k|0;k=p>>31|1;t=q+((((e|0)<0?0-k|0:k)|0)<0?t:n)|0;w=N[a+11652>>2];p=N[m+68>>2];k=p>>31;k=(k^p)-k|0;r:{if(k+v>>>0<=8190){n=T(i,k)+32768>>>16|0;break r}v=k&65535;n=T(v,i>>>16|0)+T(i,k>>>16|0)+(T(v,i&65535)+32768>>>16)|0}i=n;k=t+w|0;q=N[a+11656>>2];t=0-i|0;i=p>>31|1;n=(((g|0)<0?0-i|0:i)|0)<0?t:n;i=N[m+76>>2];g=i>>31;g=(g^i)-g|0;s:{if(g+s>>>0<=8190){h=T(g,h)+32768>>>16|0;break s}m=g&65535;h=T(m,h>>>16|0)+T(h,g>>>16|0)+(T(m,h&65535)+32768>>>16)|0}g=h;m=0-g|0;g=i>>31|1;e=q+(n+((((e|0)<0?0-g|0:g)|0)<0?m:h)|0)|0;N[r+20>>2]=e;N[r+16>>2]=k;if((d|0)==(k|0)&(e|0)==(j|0)){break h}g=N[a+4>>2];e=g+4|0;d=r+16|0;break i;case 2:break j;default:break h}}N[r+40>>2]=4;d=N[a+11760>>2];g=N[a+11640>>2];j=g>>31;i=N[a+11756>>2];e=i>>31;j=(g^j)-j|0;e=(e^i)-e|0;t:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break t}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=0-e|0;e=g>>31|1;i=(((i|0)<0?0-e|0:e)|0)<0?j:h;g=N[a+11644>>2];j=g>>31;j=(g^j)-j|0;e=d>>31;e=(e^d)-e|0;u:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break u}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=_c(b,d);n=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=i+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;i=N[a>>2];h=N[i+64>>2];e=h>>31;d=(d^g)-d|0;p=d>>>8|0;e=(e^h)-e|0;v:{if(p+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break v}m=e&65535;k=T(m,d>>>16|0)+T(d,e>>>16|0)+(T(m,d&65535)+32768>>>16)|0}e=k;q=0-e|0;e=h>>31|1;q=(((g|0)<0?0-e|0:e)|0)<0?q:k;m=N[i+72>>2];h=m>>31;e=j>>31;e=(e^j)-e|0;t=e>>>8|0;h=(h^m)-h|0;w:{if(t+h>>>0<=8190){k=T(e,h)+32768>>>16|0;break w}s=h&65535;k=T(s,e>>>16|0)+T(e,h>>>16|0)+(T(s,e&65535)+32768>>>16)|0}h=k;s=0-h|0;h=m>>31|1;N[r+16>>2]=n+(q+((((j|0)<0?0-h|0:h)|0)<0?s:k)|0);k=N[a+11656>>2];m=N[i+68>>2];h=m>>31;h=(h^m)-h|0;x:{if(h+p>>>0<=8190){h=T(d,h)+32768>>>16|0;break x}p=h&65535;h=T(p,d>>>16|0)+T(d,h>>>16|0)+(T(p,d&65535)+32768>>>16)|0}d=h;n=0-d|0;d=m>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?n:h;g=N[i+76>>2];d=g>>31;d=(d^g)-d|0;y:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break y}i=d&65535;e=T(i,e>>>16|0)+T(e,d>>>16|0)+(T(i,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=g>>31|1;N[r+20>>2]=k+(h+((((j|0)<0?0-d|0:d)|0)<0?i:e)|0);d=N[a+11768>>2];g=N[a+11640>>2];j=g>>31;i=N[a+11764>>2];e=i>>31;j=(g^j)-j|0;e=(e^i)-e|0;z:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break z}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=0-e|0;e=g>>31|1;i=(((i|0)<0?0-e|0:e)|0)<0?j:h;g=N[a+11644>>2];j=g>>31;j=(g^j)-j|0;e=d>>31;e=(e^d)-e|0;A:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break A}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=_c(b,d);n=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=i+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;i=N[a>>2];h=N[i+64>>2];e=h>>31;d=(d^g)-d|0;p=d>>>8|0;e=(e^h)-e|0;B:{if(p+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break B}m=e&65535;k=T(m,d>>>16|0)+T(d,e>>>16|0)+(T(m,d&65535)+32768>>>16)|0}e=k;q=0-e|0;e=h>>31|1;q=(((g|0)<0?0-e|0:e)|0)<0?q:k;m=N[i+72>>2];h=m>>31;e=j>>31;e=(e^j)-e|0;t=e>>>8|0;h=(h^m)-h|0;C:{if(t+h>>>0<=8190){k=T(e,h)+32768>>>16|0;break C}s=h&65535;k=T(s,e>>>16|0)+T(e,h>>>16|0)+(T(s,e&65535)+32768>>>16)|0}h=k;s=0-h|0;h=m>>31|1;N[r+24>>2]=n+(q+((((j|0)<0?0-h|0:h)|0)<0?s:k)|0);k=N[a+11656>>2];m=N[i+68>>2];h=m>>31;h=(h^m)-h|0;D:{if(h+p>>>0<=8190){h=T(d,h)+32768>>>16|0;break D}p=h&65535;h=T(p,d>>>16|0)+T(d,h>>>16|0)+(T(p,d&65535)+32768>>>16)|0}d=h;n=0-d|0;d=m>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?n:h;g=N[i+76>>2];d=g>>31;d=(d^g)-d|0;E:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break E}i=d&65535;e=T(i,e>>>16|0)+T(e,d>>>16|0)+(T(i,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=g>>31|1;N[r+28>>2]=k+(h+((((j|0)<0?0-d|0:d)|0)<0?i:e)|0);d=N[a+11776>>2];g=N[a+11640>>2];j=g>>31;i=N[a+11772>>2];e=i>>31;j=(g^j)-j|0;e=(e^i)-e|0;F:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break F}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=0-e|0;e=g>>31|1;i=(((i|0)<0?0-e|0:e)|0)<0?j:h;g=N[a+11644>>2];j=g>>31;j=(g^j)-j|0;e=d>>31;e=(e^d)-e|0;G:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break G}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=_c(b,d);n=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=i+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;i=N[a>>2];h=N[i+64>>2];e=h>>31;d=(d^g)-d|0;p=d>>>8|0;e=(e^h)-e|0;H:{if(p+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break H}m=e&65535;k=T(m,d>>>16|0)+T(d,e>>>16|0)+(T(m,d&65535)+32768>>>16)|0}e=k;q=0-e|0;e=h>>31|1;q=(((g|0)<0?0-e|0:e)|0)<0?q:k;m=N[i+72>>2];h=m>>31;e=j>>31;e=(e^j)-e|0;t=e>>>8|0;h=(h^m)-h|0;I:{if(t+h>>>0<=8190){k=T(e,h)+32768>>>16|0;break I}s=h&65535;k=T(s,e>>>16|0)+T(e,h>>>16|0)+(T(s,e&65535)+32768>>>16)|0}h=k;s=0-h|0;h=m>>31|1;N[r+32>>2]=n+(q+((((j|0)<0?0-h|0:h)|0)<0?s:k)|0);k=N[a+11656>>2];m=N[i+68>>2];h=m>>31;h=(h^m)-h|0;J:{if(h+p>>>0<=8190){h=T(d,h)+32768>>>16|0;break J}p=h&65535;h=T(p,d>>>16|0)+T(d,h>>>16|0)+(T(p,d&65535)+32768>>>16)|0}d=h;n=0-d|0;d=m>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?n:h;g=N[i+76>>2];d=g>>31;d=(d^g)-d|0;K:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break K}i=d&65535;e=T(i,e>>>16|0)+T(e,d>>>16|0)+(T(i,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=g>>31|1;N[r+36>>2]=k+(h+((((j|0)<0?0-d|0:d)|0)<0?i:e)|0);g=N[a+4>>2];e=g+12|0;d=r+32|0}Qa[N[e>>2]](g,r+8|0);e=N[d+4>>2];N[a+11724>>2]=N[d>>2];N[a+11728>>2]=e}L:{if(f|u){M:{if(f){b=N[c+4>>2];g=a+3876|0;f=N[a+11640>>2];e=f>>31;j=N[c>>2];d=j>>31;e=(e^f)-e|0;d=(d^j)-d|0;N:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break N}i=e&65535;e=T(i,d>>>16|0)+T(d,e>>>16|0)+(T(i,d&65535)+32768>>>16)|0}d=e;h=0-d|0;d=f>>31|1;h=(((j|0)<0?0-d|0:d)|0)<0?h:e;f=N[a+11644>>2];e=f>>31;e=(e^f)-e|0;d=b>>31;d=(d^b)-d|0;O:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break O}i=e&65535;e=T(i,d>>>16|0)+T(d,e>>>16|0)+(T(i,d&65535)+32768>>>16)|0}d=e;i=0-d|0;d=f>>31|1;f=h+((((b|0)<0?0-d|0:d)|0)<0?i:e)|0;b=_c(g,b);break M}d=N[c+4>>2];j=N[a+11640>>2];f=j>>31;g=N[c>>2];e=g>>31;f=(f^j)-f|0;e=(e^g)-e|0;P:{if(f+(e>>>8|0)>>>0<=8190){f=T(e,f)+32768>>>16|0;break P}i=f&65535;f=T(i,e>>>16|0)+T(e,f>>>16|0)+(T(i,e&65535)+32768>>>16)|0}e=f;h=0-e|0;e=j>>31|1;g=(((g|0)<0?0-e|0:e)|0)<0?h:f;j=N[a+11644>>2];f=j>>31;f=(f^j)-f|0;e=d>>31;e=(e^d)-e|0;Q:{if(f+(e>>>8|0)>>>0<=8190){f=T(e,f)+32768>>>16|0;break Q}i=f&65535;f=T(i,e>>>16|0)+T(e,f>>>16|0)+(T(i,e&65535)+32768>>>16)|0}e=f;h=0-e|0;e=j>>31|1;f=g+((((d|0)<0?0-e|0:e)|0)<0?h:f)|0;b=_c(b,d)}k=N[a+11652>>2];j=N[a>>2];g=N[j+64>>2];e=g>>31;d=f>>31;d=(d^f)-d|0;m=d>>>8|0;e=(e^g)-e|0;R:{if(m+e>>>0<=8190){h=T(d,e)+32768>>>16|0;break R}i=e&65535;h=T(i,d>>>16|0)+T(d,e>>>16|0)+(T(i,d&65535)+32768>>>16)|0}e=h;i=0-e|0;e=g>>31|1;n=(((f|0)<0?0-e|0:e)|0)<0?i:h;i=N[j+72>>2];g=i>>31;e=b>>31;e=(e^b)-e|0;p=e>>>8|0;g=(g^i)-g|0;S:{if(p+g>>>0<=8190){h=T(e,g)+32768>>>16|0;break S}v=g&65535;h=T(v,e>>>16|0)+T(e,g>>>16|0)+(T(v,e&65535)+32768>>>16)|0}g=h;q=0-g|0;g=i>>31|1;h=k+(n+((((b|0)<0?0-g|0:g)|0)<0?q:h)|0)|0;N[r+16>>2]=h;k=N[a+11656>>2];i=N[j+68>>2];g=i>>31;g=(g^i)-g|0;T:{if(g+m>>>0<=8190){g=T(d,g)+32768>>>16|0;break T}m=g&65535;g=T(m,d>>>16|0)+T(d,g>>>16|0)+(T(m,d&65535)+32768>>>16)|0}d=g;n=0-d|0;d=i>>31|1;g=(((f|0)<0?0-d|0:d)|0)<0?n:g;f=N[j+76>>2];d=f>>31;d=(d^f)-d|0;U:{if(d+p>>>0<=8190){e=T(d,e)+32768>>>16|0;break U}j=d&65535;e=T(j,e>>>16|0)+T(e,d>>>16|0)+(T(j,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=f>>31|1;b=k+(g+((((b|0)<0?0-d|0:d)|0)<0?i:e)|0)|0;N[r+20>>2]=b;if(!((h|0)==N[a+11724>>2]&(b|0)==N[a+11728>>2])){N[r+40>>2]=2;b=N[a+11728>>2];N[r+8>>2]=N[a+11724>>2];N[r+12>>2]=b;b=N[a+4>>2];Qa[N[b+4>>2]](b,r+8|0);b=N[r+20>>2];N[a+11724>>2]=N[r+16>>2];N[a+11728>>2]=b}if(u){break L}}N[c>>2]=o;N[c+4>>2]=l}La=r+48|0}function Pg(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,P=0;F=La-16|0;La=F;a:{b:{c:{d:{e:{f:{if(N[b+24>>2]){break f}g:{h:{i:{j:{k:{l:{m:{n:{o:{if(Q[b>>2]<=a>>>0){k=N[b+4>>2];if(k>>>0>=a>>>0){if(k-a>>>0<7){i=a+6|0;j=i-k|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-k|0))){N[b+24>>2]=4;break f}if((i|0)!=(k|0)){C(k,0,j);k=N[b+4>>2]}j=j+k|0;N[b+4>>2]=j;if(N[b+24>>2]|!k){break f}s=a+4|0;if(s>>>0>=Q[b>>2]){if(j>>>0>=s>>>0){if(j-s>>>0<3){m=i-j|0;if(!((m|0)>=0&(m|0)<=(N[b+8>>2]-j|0))){N[b+24>>2]=4;break f}k=N[c+4>>2];if((i|0)!=(j|0)){C(j,0,m);i=N[b+4>>2]}N[b+4>>2]=i+m;if(!i){break f}j=k<<8|(k&65280)>>>8;L[s|0]=j;L[s+1|0]=j>>>8;j=N[b+24>>2];if(k>>>0>=65536){N[b+24>>2]=j|16;break f}if(j){break f}if(Q[b>>2]<=s>>>0){i=N[b+4>>2];if(s>>>0<=i>>>0){j=(k<<1&131070)+2|0;if(j>>>0>=i-s>>>0){m=j+s|0;j=m-i|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-i|0))){N[b+24>>2]=4;break f}if((i|0)!=(m|0)){C(i,0,j);i=N[b+4>>2]}N[b+4>>2]=i+j;if(!i){break f}p:{q:{if(!k){n=N[c+4>>2];break q}G=b+32|0;while(1){q=N[(e>>>0<=z>>>0?275552:(z<<2)+d|0)>>2];j=O[s|0]|O[s+1|0]<<8;r:{if(((j<<8|j>>>8)&65535)>>>0<=z>>>0){M[294912]=0;u=589824;break r}u=((z<<1)+a|0)+6|0}H=N[g>>2];I=N[f>>2];r=N[f+4>>2];A=N[g+4>>2];L[u|0]=0;L[u+1|0]=0;if(N[b+24>>2]){break g}s:{t:{i=N[b+28>>2];if(!i){if(!xj(G,N[b+36>>2]+1|0)){break t}j=db(1,576);N[F+12>>2]=j;if(!j){break t}wj(G,F+12|0);i=vj(j)}N[b+28>>2]=N[i>>2];j=i+32|0;L[j|0]=0;L[j+1|0]=0;L[j+2|0]=0;L[j+3|0]=0;L[i+24|0]=0;L[i+25|0]=0;L[i+26|0]=0;L[i+27|0]=0;L[i+28|0]=0;L[i+29|0]=0;L[i+30|0]=0;L[i+31|0]=0;L[i+16|0]=0;L[i+17|0]=0;L[i+18|0]=0;L[i+19|0]=0;L[i+20|0]=0;L[i+21|0]=0;L[i+22|0]=0;L[i+23|0]=0;L[i+8|0]=0;L[i+9|0]=0;L[i+10|0]=0;L[i+11|0]=0;L[i+12|0]=0;L[i+13|0]=0;L[i+14|0]=0;L[i+15|0]=0;L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0;L[i+4|0]=0;L[i+5|0]=0;L[i+6|0]=0;L[i+7|0]=0;N[i>>2]=N[b+4>>2];N[i+4>>2]=N[b+8>>2];N[i+32>>2]=N[b+44>>2];N[b+44>>2]=i;if(!N[b+24>>2]){break s}break g}if(N[b+24>>2]){break g}N[b+24>>2]=1;break g}p=N[b+4>>2];if(p>>>0>2]){break p}if((N[b+8>>2]-p|0)<=1){N[b+24>>2]=4;break g}L[p|0]=0;L[p+1|0]=0;l=N[b+4>>2];k=l+2|0;N[b+4>>2]=k;if(N[b+24>>2]|!l){break g}if(Q[b>>2]>p>>>0){break e}if(k>>>0

>>0){break d}if(k-p>>>0>=3){break c}j=p+2|0;i=j-k|0;if(!((i|0)>=0&(i|0)<=(N[b+8>>2]-k|0))){N[b+24>>2]=4;break g}if((l|0)!=(p|0)){C(k,0,i);j=N[b+4>>2]}N[b+4>>2]=i+j;if(!j){break g}x=q>>>0>r>>>0?r:q;j=x<<8|(x&65280)>>>8;L[p|0]=j;L[p+1|0]=j>>>8;j=N[b+24>>2];if(x>>>0>=65536){N[b+24>>2]=j|16;break g}if(j){break g}if(Q[b>>2]>p>>>0){break e}i=N[b+4>>2];if(p>>>0>i>>>0){break d}j=(x<<1&131070)+2|0;if(j>>>0>>0){break c}k=j+p|0;j=k-i|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-i|0))){N[b+24>>2]=4;break g}if((i|0)!=(k|0)){C(i,0,j);i=N[b+4>>2]}N[b+4>>2]=i+j;if(!i){break g}if(x){K=q>>>0>A>>>0?A:q;v=0;while(1){y=N[(v>>>0>=K>>>0?275552:(v<<2)+H|0)>>2];j=O[p|0]|O[p+1|0]<<8;u:{if(((j<<8|j>>>8)&65535)>>>0<=v>>>0){M[294912]=0;n=589824;break u}n=((v<<1)+p|0)+2|0}k=N[h>>2];D=N[h+4>>2];L[n|0]=0;L[n+1|0]=0;if(N[b+24>>2]){break h}i=N[b+28>>2];v:{if(i){j=N[i>>2];break v}l=N[b+32>>2];if((l|0)<0){break i}j=N[b+36>>2]+1|0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}w:{if(l>>>0<=1073741823){j=$a(N[b+40>>2],l<<2);if(j){break w}}N[G>>2]=-1;break i}N[b+32>>2]=l;N[b+40>>2]=j}i=db(1,576);if(!i){break i}x:{y:{o=N[b+36>>2];m=o+1|0;z:{if(m>>>0<=l>>>0){w=N[b+40>>2];break z}while(1){l=((l>>>1|0)+l|0)+8|0;if(m>>>0>=l>>>0){continue}break}if(l>>>0>1073741823){break y}w=$a(N[b+40>>2],l<<2);if(!w){break y}N[b+32>>2]=l;N[b+40>>2]=w;o=N[b+36>>2];m=o+1|0}N[b+36>>2]=m;N[(o<<2)+w>>2]=i;break x}N[G>>2]=-1;N[147456]=0}N[i+540>>2]=0;N[i+504>>2]=i+540;N[i+468>>2]=i+504;N[i+432>>2]=i+468;N[i+396>>2]=i+432;N[i+360>>2]=i+396;N[i+324>>2]=i+360;N[i+288>>2]=i+324;N[i+252>>2]=i+288;N[i+216>>2]=i+252;N[i+180>>2]=i+216;N[i+144>>2]=i+180;N[i+108>>2]=i+144;N[i+72>>2]=i+108;N[i+36>>2]=i+72;j=i+36|0}N[b+28>>2]=j;j=i+32|0;L[j|0]=0;L[j+1|0]=0;L[j+2|0]=0;L[j+3|0]=0;L[i+24|0]=0;L[i+25|0]=0;L[i+26|0]=0;L[i+27|0]=0;L[i+28|0]=0;L[i+29|0]=0;L[i+30|0]=0;L[i+31|0]=0;L[i+16|0]=0;L[i+17|0]=0;L[i+18|0]=0;L[i+19|0]=0;L[i+20|0]=0;L[i+21|0]=0;L[i+22|0]=0;L[i+23|0]=0;L[i+8|0]=0;L[i+9|0]=0;L[i+10|0]=0;L[i+11|0]=0;L[i+12|0]=0;L[i+13|0]=0;L[i+14|0]=0;L[i+15|0]=0;L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0;L[i+4|0]=0;L[i+5|0]=0;L[i+6|0]=0;L[i+7|0]=0;N[i>>2]=N[b+4>>2];N[i+4>>2]=N[b+8>>2];N[i+32>>2]=N[b+44>>2];N[b+44>>2]=i;if(N[b+24>>2]){break h}o=N[b+4>>2];if(o>>>0>2]){break e}w=4;if((N[b+8>>2]-o|0)<4){break j}j=v>>>0>=x>>>0?275552:(v<<1)+I|0;j=O[j|0]|O[j+1|0]<<8;L[o|0]=0;L[o+1|0]=0;L[o+2|0]=0;L[o+3|0]=0;i=N[b+4>>2];N[b+4>>2]=i+4;if(!i){break h}L[o|0]=j;L[o+1|0]=j>>>8;if(N[b+24>>2]){break h}j=o+2|0;if(j>>>0>2]){break e}i=N[b+4>>2];if(i>>>0>>0){break d}if(i-j>>>0>=3){break c}m=o+4|0;l=m-i|0;if((l|0)<0|(l|0)>(N[b+8>>2]-i|0)){break j}if((i|0)!=(m|0)){C(i,0,l);m=N[b+4>>2]}N[b+4>>2]=l+m;if(!m){break h}y=((y|0)<=1?1:y)-1|0;i=y>>>0>D>>>0?D:y;m=i+1|0;l=m<<8|(m&65280)>>>8;L[j|0]=l;L[j+1|0]=l>>>8;l=N[b+24>>2];if(i>>>0>=65535){w=l|16;break j}if(l){break h}if(j>>>0>2]){break e}l=N[b+4>>2];if(l>>>0>>0){break d}m=m&65535?m<<1&131070:2;if(m>>>0>>0){break c}j=(j+m|0)-l|0;if((j|0)<0|(j|0)>(N[b+8>>2]-l|0)){break j}N[b+4>>2]=j+l;if(!l){break h}A:{if(!i){break A}m=0;l=k;if((i|0)!=1){w=i&1;P=i&-2;j=k;while(1){l=o+(m<<1)|0;t=i?j:275552;t=O[t|0]|O[t+1|0]<<8;L[l+4|0]=t;L[l+5|0]=t>>>8;t=o+((m|1)<<1)|0;l=(i|0)!=0;j=(l<<1)+j|0;J=(i|0)==(l|0);E=J?275552:j;E=O[E|0]|O[E+1|0]<<8;L[t+4|0]=E;L[t+5|0]=E>>>8;t=!J;j=j+(t<<1)|0;i=i-(l+t|0)|0;m=m+2|0;if((P|0)!=(m|0)){continue}break}if(!w){break A}l=i?j:275552}j=o+(m<<1)|0;i=O[l|0]|O[l+1|0]<<8;L[j+4|0]=i;L[j+5|0]=i>>>8}m=Cc(b,1);if(!(!m|N[b+24>>2])){i=N[b+44>>2];if(!i){break b}if(Q[i>>2]>n>>>0){break a}B:{C:{D:{o=N[i+8>>2];if((o|0)>=0){j=N[i+12>>2];l=j+1|0;l=(l|0)>0?l:0;if(l>>>0<=o>>>0){break C}while(1){o=((o>>>1|0)+o|0)+8|0;if(l>>>0>=o>>>0){continue}break}if(o>>>0<=357913941){j=$a(N[i+16>>2],T(o,12));if(j){break D}}N[i+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;j=589824;break B}N[i+8>>2]=o;N[i+16>>2]=j;j=N[i+12>>2]}if(j>>>0>>0){C(N[i+16>>2]+T(j,12)|0,0,T(l-j|0,12))}N[i+12>>2]=l;j=(N[i+16>>2]+T(l,12)|0)-12|0}if(N[N[b+44>>2]+8>>2]<0){N[b+24>>2]=N[b+24>>2]|1}N[j+8>>2]=m;N[j>>2]=N[j>>2]&-64|2;i=N[N[b+44>>2]>>2];N[j>>2]=2;N[j+4>>2]=n-i}j=y>>>0>D>>>0?D:y;N[h+4>>2]=D-j;N[h+8>>2]=j+N[h+8>>2];N[h>>2]=k+(j<<1);v=v+1|0;if(x>>>0>v>>>0){continue}break}}l=Cc(b,1);if(!(!l|N[b+24>>2])){k=N[b+44>>2];if(!k){break b}if(Q[k>>2]>u>>>0){break a}E:{F:{G:{j=N[k+8>>2];if((j|0)>=0){n=N[k+12>>2];i=n+1|0;i=(i|0)>0?i:0;if(i>>>0<=j>>>0){break F}while(1){j=((j>>>1|0)+j|0)+8|0;if(i>>>0>=j>>>0){continue}break}if(j>>>0<=357913941){m=$a(N[k+16>>2],T(j,12));if(m){break G}}N[k+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;j=589824;break E}N[k+8>>2]=j;N[k+16>>2]=m;n=N[k+12>>2]}if(i>>>0>n>>>0){C(N[k+16>>2]+T(n,12)|0,0,T(i-n|0,12))}N[k+12>>2]=i;j=(N[k+16>>2]+T(i,12)|0)-12|0}if(N[N[b+44>>2]+8>>2]<0){N[b+24>>2]=N[b+24>>2]|1}N[j+8>>2]=l;N[j>>2]=N[j>>2]&-64|2;k=N[N[b+44>>2]>>2];N[j>>2]=2;N[j+4>>2]=u-k}i=q;if(r>>>0>>0){i=r}N[f+4>>2]=r-i;N[f+8>>2]=N[f+8>>2]+i;N[f>>2]=(i<<1)+I;j=q>>>0>A>>>0?A:q;N[g+4>>2]=A-j;N[g+8>>2]=j+N[g+8>>2];N[g>>2]=(j<<2)+H;n=N[c+4>>2];z=z+1|0;if(n>>>0>z>>>0){continue}break}}l=0;L[a+2|0]=0;L[a+3|0]=0;d=ad(b);j=N[c>>2];if(!ee(b,d)){break k}if(!n){L[d|0]=0;L[d+1|0]=1;break n}e=n-1&2147483647;h=e+1|0;f=h&3;c=0;if(e>>>0<3){m=-2;k=j;i=0;break o}q=h&-4;i=0;m=-2;k=j;g=0;while(1){r=i;i=O[k|0]|O[k+1|0]<<8;i=(i<<8|i>>>8)&65535;r=r+((i|0)!=(m+1|0))|0;u=i+1|0;i=O[k+2|0]|O[k+3|0]<<8;i=(i<<8|i>>>8)&65535;r=r+((u|0)!=(i|0))|0;u=i+1|0;i=O[k+4|0]|O[k+5|0]<<8;i=(i<<8|i>>>8)&65535;m=O[k+6|0]|O[k+7|0]<<8;m=(m<<8|m>>>8)&65535;i=(r+((u|0)!=(i|0))|0)+((m|0)!=(i+1|0))|0;k=k+8|0;g=g+4|0;if((q|0)!=(g|0)){continue}break}break o}break e}break c}break d}break e}break c}break d}break e}break c}break d}break e}if(f){while(1){q=m+1|0;g=O[k|0]|O[k+1|0]<<8;m=(g<<8|g>>>8)&65535;i=((q|0)!=(m|0))+i|0;k=k+2|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=T(i,3);g=c>>>0>e>>>0?256:512;L[d|0]=g;L[d+1|0]=g>>>8;if((c>>>0<=e>>>0)-1|0){break n}if(!tj(b,d)){break k}c=0;H:{if(e>>>0<3){i=-2;m=0;k=j;break H}e=h&-4;i=-2;m=0;k=j;g=0;while(1){h=O[k|0]|O[k+1|0]<<8;h=(h<<8|h>>>8)&65535;i=((h|0)!=(i+1|0))+m|0;q=h+1|0;h=O[k+2|0]|O[k+3|0]<<8;h=(h<<8|h>>>8)&65535;q=i+((q|0)!=(h|0))|0;r=h+1|0;h=O[k+4|0]|O[k+5|0]<<8;h=(h<<8|h>>>8)&65535;i=O[k+6|0]|O[k+7|0]<<8;i=(i<<8|i>>>8)&65535;m=(q+((r|0)!=(h|0))|0)+((i|0)!=(h+1|0))|0;k=k+8|0;g=g+4|0;if((e|0)!=(g|0)){continue}break}}if(f){while(1){g=i+1|0;e=O[k|0]|O[k+1|0]<<8;i=(e<<8|e>>>8)&65535;m=((g|0)!=(i|0))+m|0;k=k+2|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=d+2|0;if(!ee(b,c)){break k}d=m<<8|(m&65280)>>>8;L[c|0]=d;L[c+1|0]=d>>>8;if(m>>>0>=65536){N[b+24>>2]=N[b+24>>2]|16}if(!sj(b,c,T(m&65535,6)+2|0)){break k}if(!m){break m}f=(n<<1)+j|0;l=-2;m=0;k=-1;while(1){e=l+1|0;d=O[j|0]|O[j+1|0]<<8;l=(d<<8|d>>>8)&65535;if((e|0)!=(l|0)){k=k+1|0;e=O[c|0]|O[c+1|0]<<8;I:{if(k>>>0>=((e<<8|e>>>8)&65535)>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break I}e=(c+T(k,6)|0)+2|0}L[e|0]=d;L[e+1|0]=d>>>8;e=O[c|0]|O[c+1|0]<<8;J:{if(((e<<8|e>>>8)&65535)>>>0<=k>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break J}e=(c+T(k,6)|0)+2|0}g=m<<8|(m&65280)>>>8;L[e+4|0]=g;L[e+5|0]=g>>>8}e=O[c|0]|O[c+1|0]<<8;K:{if(((e<<8|e>>>8)&65535)>>>0<=k>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break K}e=(c+T(k,6)|0)+2|0}L[e+2|0]=d;L[e+3|0]=d>>>8;m=m+1|0;j=j+2|0;if((f|0)!=(j|0)){continue}break}break m}d=d+2|0;if(!ee(b,d)){break k}c=n<<8|(n&65280)>>>8;L[d|0]=c;L[d+1|0]=c>>>8;c=N[b+24>>2];if(n>>>0>=65536){c=c|16;break l}if(c){break k}if(d>>>0>2]){break e}e=N[b+4>>2];if(e>>>0>>0){break d}f=(n<<1&131070)+2|0;if(f>>>0>>0){break c}c=4;f=(d+f|0)-e|0;if((f|0)<0|(f|0)>(N[b+8>>2]-e|0)){break l}N[b+4>>2]=e+f;if(!e){break k}if(!n){break m}i=0;if((n|0)!=1){e=n&1;f=n&-2;while(1){c=d+(i<<1)|0;g=n?j:275552;g=O[g|0]|O[g+1|0]<<8;L[c+2|0]=g;L[c+3|0]=g>>>8;g=d+((i|1)<<1)|0;c=(n|0)!=0;h=(c<<1)+j|0;j=(c|0)==(n|0);k=j?275552:h;k=O[k|0]|O[k+1|0]<<8;L[g+2|0]=k;L[g+3|0]=k>>>8;g=!j;j=h+(g<<1)|0;n=n-(c+g|0)|0;i=i+2|0;if((f|0)!=(i|0)){continue}break}if(!e){break m}j=n?j:275552}c=d+(i<<1)|0;d=O[j|0]|O[j+1|0]<<8;L[c+2|0]=d;L[c+3|0]=d>>>8}l=1;de(b,a+2|0,Cc(b,1));break f}N[b+24>>2]=c;$c(b);break f}$c(b);break f}N[b+24>>2]=w;break h}if(N[b+24>>2]){break h}N[b+24>>2]=1;$c(b);break g}$c(b)}$c(b);l=0}La=F+16|0;return l}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}ba(9271,14296,479,13575);B()}ba(11056,14296,480,13575);B()}function xq(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;k=La-32|0;La=k;n=N[c+80>>2];j=d+3|0;a:{if(N[c+44>>2]!=1265525857|j>>>0>e>>>0){break a}f=T(d,20)+n|0;if(O[f+12|0]&32|O[f+18|0]!=15){break a}g=d+1|0;f=T(g,20)+n|0;if(O[f+12|0]&32|O[f+18|0]!=4){break a}h=T(d,20)+n|0;if(O[h+52|0]&32){break a}h=h+40|0;if(O[h+18|0]!=6){break a}Ib(c,g,j);N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;N[f+16>>2]=N[h+16>>2];g=N[h+12>>2];N[f+8>>2]=N[h+8>>2];N[f+12>>2]=g;g=N[h+4>>2];N[f>>2]=N[h>>2];N[f+4>>2]=g;N[h+16>>2]=N[k+24>>2];f=N[k+20>>2];N[h+8>>2]=N[k+16>>2];N[h+12>>2]=f;f=N[k+12>>2];N[h>>2]=N[k+8>>2];N[h+4>>2]=f}g=N[N[a>>2]+16>>2];b:{c:{d:{e:{if(!(!N[a+100>>2]|e>>>0>>0)){h=e;j=d;f:{g:{switch(g|0){case 0:f=T(d,20)+n|0;if(O[f+52|0]&32){break f}f=O[f+58|0];if(f>>>0>31|!(1<>2]=N[f>>2];N[k+12>>2]=N[f+20>>2];N[k+16>>2]=(g|0)==1?N[f+40>>2]:0;h=N[a+16>>2];if(h){f=N[a+12>>2];h=f+T(h,12)|0;while(1){if(Dc(b,P[f>>1],k+8|0,2,O[a+24|0])){break d}f=f+12|0;if((h|0)!=(f|0)){continue}break}g=N[N[a>>2]+16>>2]}h:{if((g|0)!=1){break h}h=N[a+16>>2];if(!h){break h}f=N[a+12>>2];h=f+T(h,12)|0;while(1){if(Dc(b,P[f>>1],k+8|0,3,O[a+24|0])){break d}f=f+12|0;if((h|0)!=(f|0)){continue}break}}h=e;break b}h=e;j=d;if((g|0)!=2){break b}}if(O[(T(d,20)+n|0)+18|0]!=14){break b}i=1;f=d+1|0;j=e>>>0>f>>>0?e:f;f=d;while(1){f=f+1|0;if(f>>>0>=e>>>0){h=d;break b}h=T(f,20)+n|0;if(O[h+12|0]&32){h=d;j=f;break b}h=O[h+18|0];if(1<>>0<=31:0){continue}break}j=f;break c}i=1;j=d+2|0;if(j>>>0>=e>>>0){h=d;break b}i:{while(1){f=T(j,20)+n|0;if(O[f+12|0]&32){h=d;break b}f=O[f+18|0];if(f>>>0>31|!(1<>>0>31|!(1<>>0>=f>>>0){break k}if(O[(T(g,20)+s|0)-24|0]==4){break j}}if(f>>>0>j>>>0){continue}}break}i=i?(d|0)!=(h|0)|j-h>>>0>2:0;o:{if(d>>>0>=h>>>0){break o}f=d;l=h-f&3;if(l){g=0;while(1){m=T(f,20)+q|0;j=O[m+16|0];L[m+16|0]=j>>>0>=3?3:j;f=f+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if((d^-1)+h>>>0<=2){break o}while(1){j=T(f,20)+q|0;g=O[j+16|0];L[j+16|0]=g>>>0>=3?3:g;g=O[j+36|0];L[j+36|0]=g>>>0>=3?3:g;g=O[j+56|0];L[j+56|0]=g>>>0>=3?3:g;g=j;j=O[j+76|0];L[g+76|0]=j>>>0>=3?3:j;f=f+4|0;if((h|0)!=(f|0)){continue}break}}if(e>>>0>h>>>0){L[(T(h,20)+n|0)+19|0]=4}if(i){L[(T(d,20)+n|0)+19|0]=1}p:{if(!O[a+4|0]){break p}l=N[c+44>>2];f=h;while(1){j=f;f=f+1|0;if(f>>>0>=e>>>0){break p}if(O[(T(f,20)+s|0)+16|0]!=4){continue}break}i=e-1|0;if(i>>>0<=f>>>0){break p}g=T(f,20)+n|0;p=(l|0)!=1265525857;while(1){q:{o=T(i,20);l=o+n|0;r:{if(O[l+12|0]&32){break r}m=O[l+18|0];if(m>>>0>31){break r}if(1<>>0>f>>>0){continue}break p}i=i-1|0;if(i>>>0>f>>>0){continue}break p}break}if((m|0)==4){break p}N[k+24>>2]=N[g+16>>2];m=N[g+12>>2];N[k+16>>2]=N[g+8>>2];N[k+20>>2]=m;m=N[g+4>>2];N[k+8>>2]=N[g>>2];N[k+12>>2]=m;F(g,(T(j,20)+n|0)+40|0,T(i-f|0,20));N[l+16>>2]=N[k+24>>2];f=N[k+20>>2];N[l+8>>2]=N[k+16>>2];N[l+12>>2]=f;f=N[k+12>>2];N[l>>2]=N[k+8>>2];N[l+4>>2]=f}o=d>>>0>>0;if(o){j=0;f=d;while(1){i=T(f,20)+n|0;l=O[i+18|0];s:{if(!(l>>>0>31|!(1<>>0>=g>>>0){break s}g=g-1|0;l=O[(T(g,20)+q|0)+16|0];if((l|0)==2){continue}break}L[i+19|0]=l;break s}g=O[i+19|0];if((g|0)==13){break s}if(!((l|0)!=13|d>>>0>=f>>>0|O[i-2|0]!=8)){L[(i-4|0)+3|0]=g}j=g}f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=h+1|0;if(f>>>0>>0){p=h-1|0;j=0;l=h;while(1){i=l;t:{u:{m=T(f,20);g=m+n|0;if(O[g+12|0]&32){g=O[(m+s|0)+16|0];l=1<>>0>31){break u}g=i+1|0;l=f;if(g>>>0>=f>>>0){break t}m=m+q|0;if((h+j|0)-i&1){g=T(g,20)+q|0;if(O[g+16|0]<=12){L[g+16|0]=O[m+16|0]}g=i+2|0}l=f;if((i|0)==(j+p|0)){break t}while(1){i=T(g,20)+q|0;if(O[i+16|0]<=12){L[i+16|0]=O[m+16|0]}if(O[i+36|0]<=12){L[i+36|0]=O[m+16|0]}g=g+2|0;if(g>>>0>>0){continue}break}l=f;break t}l=g>>>0>31?i:l&8320?f:i}j=j+1|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}}u=e-d|0;i=T(d,20)+n|0;p=O[i+15|0];v=d>>>0>=e>>>0;v:{if(v){break v}f=d;h=u&3;if(h){g=0;while(1){L[(T(f,20)+q|0)+12|0]=f-d;f=f+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}if((d^-1)+e>>>0<3){break v}while(1){h=T(f,20)+q|0;j=f-d|0;L[h+32|0]=j+1;L[h+12|0]=j;L[h+52|0]=j+2;L[h+72|0]=j+3;f=f+4|0;if((f|0)!=(e|0)){continue}break}}if(u>>>0>=2){l=i+19|0;j=1;while(1){h=T(j,20);m=h+l|0;g=j;while(1){w:{f=g;if(!f){f=0;break w}g=f-1|0;if(O[l+T(g,20)|0]>O[m|0]){continue}}break}if((f|0)!=(j|0)){h=h+i|0;N[k+24>>2]=N[h+16>>2];g=N[h+12>>2];N[k+16>>2]=N[h+8>>2];N[k+20>>2]=g;g=N[h+4>>2];N[k+8>>2]=N[h>>2];N[k+12>>2]=g;h=i+T(f,20)|0;F(h+20|0,h,T(j-f|0,20));N[h+16>>2]=N[k+24>>2];f=N[k+20>>2];N[h+8>>2]=N[k+16>>2];N[h+12>>2]=f;f=N[k+12>>2];N[h>>2]=N[k+8>>2];N[h+4>>2]=f}j=j+1|0;if((u|0)!=(j|0)){continue}break}}j=e;x:{if(!o){break x}j=d;m=e;h=e;y:{while(1){z:{switch(O[(T(j,20)+q|0)+16|0]-2|0){case 0:h=(e|0)==(h|0)?j:h;m=j;break;case 2:break y;default:break z}}j=j+1|0;if((j|0)!=(e|0)){continue}break}j=e}if(h>>>0>=m>>>0){break x}f=N[c+68>>2];o=m+1|0;g=f>>>0>>0?f:o;i=f>>>0>>0?f:h;A:{if(g>>>0>>0){break A}l=g-1|0;if(l>>>0<=i>>>0){break A}r=N[c+80>>2];while(1){f=r+T(l,20)|0;N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;g=r+T(i,20)|0;N[f+16>>2]=N[g+16>>2];t=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=t;t=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=t;N[g+16>>2]=N[k+24>>2];f=N[k+20>>2];N[g+8>>2]=N[k+16>>2];N[g+12>>2]=f;f=N[k+12>>2];N[g>>2]=N[k+8>>2];N[g+4>>2]=f;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}}B:{if(!O[c+63|0]){break B}f=N[c+68>>2];g=f>>>0>>0?f:o;i=f>>>0>>0?f:h;if(g>>>0>>0){break B}l=g-1|0;if(l>>>0<=i>>>0){break B}o=N[c+88>>2];while(1){f=o+T(l,20)|0;N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;g=o+T(i,20)|0;N[f+16>>2]=N[g+16>>2];r=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=r;r=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=r;N[g+16>>2]=N[k+24>>2];f=N[k+20>>2];N[g+8>>2]=N[k+16>>2];N[g+12>>2]=f;f=N[k+12>>2];N[g>>2]=N[k+8>>2];N[g+4>>2]=f;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}}f=h;while(1){g=f;f=h;h=f+1|0;f=O[(T(f,20)+s|0)+16|0];C:{if(f>>>0>31){f=g;break C}if(!(1<>2];l=f>>>0>>0?f:h;i=f>>>0>>0?f:g;D:{if(l>>>0>>0){break D}l=l-1|0;if(l>>>0<=i>>>0){break D}r=N[c+80>>2];while(1){o=r+T(l,20)|0;N[k+24>>2]=N[o+16>>2];f=N[o+12>>2];N[k+16>>2]=N[o+8>>2];N[k+20>>2]=f;f=N[o+4>>2];N[k+8>>2]=N[o>>2];N[k+12>>2]=f;f=r+T(i,20)|0;N[o+16>>2]=N[f+16>>2];t=N[f+12>>2];N[o+8>>2]=N[f+8>>2];N[o+12>>2]=t;t=N[f+4>>2];N[o>>2]=N[f>>2];N[o+4>>2]=t;N[f+16>>2]=N[k+24>>2];o=N[k+20>>2];N[f+8>>2]=N[k+16>>2];N[f+12>>2]=o;o=N[k+12>>2];N[f>>2]=N[k+8>>2];N[f+4>>2]=o;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}}f=h;if(!O[c+63|0]){break C}i=N[c+68>>2];l=f>>>0>i>>>0?i:h;i=g>>>0>i>>>0?i:g;if(l>>>0>>0){break C}l=l-1|0;if(l>>>0<=i>>>0){break C}o=N[c+88>>2];while(1){f=o+T(l,20)|0;N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;g=o+T(i,20)|0;N[f+16>>2]=N[g+16>>2];r=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=r;r=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=r;N[g+16>>2]=N[k+24>>2];f=N[k+20>>2];N[g+8>>2]=N[k+16>>2];N[g+12>>2]=f;f=N[k+12>>2];N[g>>2]=N[k+8>>2];N[g+4>>2]=f;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}f=h}if(h>>>0<=m>>>0){continue}break}}E:{if(!(O[a+4|0]|u>>>0>127)){if(e>>>0<=j>>>0){break E}l=j;while(1){f=O[(T(l,20)+q|0)+12|0];F:{if((f|0)==255){break F}f=d+f|0;i=l;g=i;if((f|0)!=(g|0)){while(1){h=T(f,20)+q|0;m=O[h+12|0];L[h+12|0]=255;i=f>>>0>>0?i:f;g=f>>>0>g>>>0?g:f;f=d+m|0;if((l|0)!=(f|0)){continue}break}}f=i+1|0;h=g>>>0>>0?j:g;if(f-h>>>0<2){break F}Ib(c,h,f)}l=l+1|0;if((l|0)!=(e|0)){continue}break}break E}if(e-j>>>0<2){break E}Ib(c,j,e)}G:{if(v){break G}g=d;h=u&7;if(h){f=0;while(1){L[(T(g,20)+q|0)+12|0]=p;g=g+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}f=d;if((f^-1)+e>>>0>=7){while(1){f=T(g,20)+q|0;L[f+32|0]=p;L[f+12|0]=p;L[f+52|0]=p;L[f+72|0]=p;L[f+92|0]=p;L[f+112|0]=p;L[f+132|0]=p;L[f+152|0]=p;g=g+8|0;if((g|0)!=(e|0)){continue}break}f=d}while(1){h=T(f,20);if(O[(h+q|0)+16|0]!=1){break G}h=h+n|0;N[h+4>>2]=N[h+4>>2]|N[a+100>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}g=N[a+120>>2];l=O[a+4|0];g=l|N[N[a>>2]+20>>2]?g:N[a+112>>2]|g;H:{if(d>>>0>=j>>>0){break H}f=d;h=j-f&3;if(h){i=0;while(1){m=T(f,20)+n|0;N[m+4>>2]=N[m+4>>2]|g;f=f+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if((d^-1)+j>>>0<=2){break H}while(1){h=T(f,20)+n|0;N[h+4>>2]=N[h+4>>2]|g;N[h+24>>2]=N[h+24>>2]|g;N[h+44>>2]=N[h+44>>2]|g;h=h- -64|0;N[h>>2]=N[h>>2]|g;f=f+4|0;if((j|0)!=(f|0)){continue}break}}f=j+1|0;I:{if(f>>>0>=e>>>0){break I}g=N[a+124>>2]|(N[a+116>>2]|N[a+112>>2]);h=(j^-1)+e&3;if(h){i=0;while(1){m=T(f,20)+n|0;N[m+4>>2]=g|N[m+4>>2];f=f+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if((e-j|0)-2>>>0<3){break I}while(1){h=T(f,20)+n|0;N[h+4>>2]=g|N[h+4>>2];N[h+24>>2]=g|N[h+24>>2];N[h+44>>2]=g|N[h+44>>2];h=h- -64|0;N[h>>2]=g|N[h>>2];f=f+4|0;if((f|0)!=(e|0)){continue}break}}J:{if(!l|N[c+44>>2]!=1147500129){break J}i=d+1|0;if(i>>>0>=j>>>0){break J}f=d;while(1){c=f;f=i;h=T(c,20);K:{if(O[(h+s|0)+16|0]!=15){break K}g=T(f,20);if(O[(g+s|0)+16|0]!=4){break K}c=c+2|0;if((c|0)!=(j|0)&O[(T(c,20)+s|0)+16|0]==6){break K}c=h+n|0;N[c+4>>2]=N[c+4>>2]|N[a+112>>2];c=g+n|0;N[c+4>>2]=N[c+4>>2]|N[a+112>>2]}i=f+1|0;if((i|0)!=(j|0)){continue}break}}L:{if(!N[a+108>>2]|j+2>>>0>=e>>>0){break L}while(1){c=T(j,20)+n|0;N[k+8>>2]=N[c+20>>2];N[k+12>>2]=N[c+40>>2];c=j+1|0;M:{h=N[a+32>>2];if(!h){break M}g=j+2|0;f=N[a+28>>2];h=f+T(h,12)|0;while(1){if(!Dc(b,P[f>>1],k+8|0,2,O[a+40|0])){f=f+12|0;if((h|0)!=(f|0)){continue}break M}break}b=T(c,20)+n|0;N[b+4>>2]=N[b+4>>2]|N[a+108>>2];b=T(g,20)+n|0;N[b+4>>2]=N[b+4>>2]|N[a+108>>2];break L}f=j+3|0;j=c;if(e>>>0>f>>>0){continue}break}}g=d+1|0;if(g>>>0>>0){i=d;while(1){f=i;i=g;b=T(g,20)+n|0;N:{if(O[b+12|0]&32){break N}b=O[b+18|0];if((b|0)!=5|!(1<>2]=N[b+4>>2]&(N[a+120>>2]^-1);if(d>>>0>=f>>>0){break N}while(1){b=T(f,20)+n|0;O:{if(O[b+12|0]&32){break O}b=O[b+18|0];if(b>>>0>31){break O}if(1<>2]=N[b+4>>2]&(N[a+120>>2]^-1);if(d>>>0>>0){continue}break}}g=i+1|0;if((g|0)!=(e|0)){continue}break}}La=k+32|0}function qC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;f=La-6752|0;La=f;h=N[N[a+4>>2]>>2];c=f- -64|0;C(c|4,0,2748);N[f+16>>2]=0;N[f+20>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+64>>2]=h;N[f+8>>2]=c;o=N[b+4>>2];n=N[o+84>>2];q=N[n+156>>2];w=N[q>>2];i=N[o+88>>2];j=N[i+40>>2];h=N[j+12>>2];a:{b:{if(!h){g=e>>>16&15;break b}c=N[j+4>>2];g=e>>>16&15;if((c|0)==(g|0)){break a}}N[j+4>>2]=g;N[j+32>>2]=N[i+36>>2];b=N[i+32>>2];N[j+24>>2]=N[i+28>>2];N[j+28>>2]=b;b=N[i+24>>2];N[j+16>>2]=N[i+20>>2];N[j+20>>2]=b;b=N[i+16>>2];N[j+8>>2]=N[i+12>>2];N[j+12>>2]=b;h=N[j+12>>2];c=g}N[f+6712>>2]=0;N[f+6704>>2]=h;N[f+6700>>2]=o;b=N[j+16>>2];N[f+6724>>2]=0;N[f+6720>>2]=c;N[f+6716>>2]=0;N[f+6708>>2]=b;N[f>>2]=o;g=N[o+116>>2];N[f+4>>2]=g;c:{if(!g){h=Dg(o,f|4,a);if(h){break c}g=N[f+4>>2];N[o+116>>2]=g;N[o+120>>2]=311}if(Q[g+4>>2]<=d>>>0){h=6;break c}i=d<<1;h=P[i+N[g+8>>2]>>1]&16383;j=((h<<2)+g|0)+24|0;b=N[j>>2];d:{if(b){break d}while(1){m=N[N[g>>2]+100>>2];c=N[(h<<2)+288960>>2];l=N[(N[c+4>>2]<<2)+288672>>2];h=N[l+4>>2];e:{if((h|0)<=0){b=0;if(!h){break e}h=6;break c}b=Qa[N[m+4>>2]](m,h)|0;if(!b){h=64;break c}C(b,0,h)}N[b+36>>2]=g;N[b>>2]=c;f:{c=N[l+8>>2];if(!c){break f}h=Qa[c|0](b,N[g>>2])|0;if(!h){break f}c=N[l+16>>2];if(c){Qa[c|0](b)}Qa[N[m+8>>2]](m,b);if((h|0)!=-1){break c}h=P[i+N[g+8>>2]>>1]&16383;j=((h<<2)+g|0)+24|0;b=N[j>>2];if(!b){continue}break d}break}N[j>>2]=b}c=N[N[b>>2]+4>>2];N[f+12>>2]=b;y=N[(c<<2)+288672>>2];c=N[y+12>>2];g:{if(c){Qa[c|0](b,f+6700|0);break g}c=N[f+6704>>2];N[b+4>>2]=N[f+6700>>2];N[b+8>>2]=c;N[b+28>>2]=N[f+6724>>2];h=f+6716|0;c=N[h+4>>2];N[b+20>>2]=N[h>>2];N[b+24>>2]=c;h=f+6708|0;c=N[h+4>>2];N[b+12>>2]=N[h>>2];N[b+16>>2]=c}c=N[y+24>>2];if(c){h=Qa[c|0](f- -64|0,b)|0;if(h){break c}}h=vc(o,d,e&-10246|10241);if(h){break c}h:{if(N[f+6720>>2]!=1){break h}c=L[N[o+128>>2]+56|0];if(O[a+20|0]|(c|0)>=0?c:0){break h}h=N[o+84>>2];r=N[N[o+88>>2]+40>>2];p=N[f+4>>2];N[f+6748>>2]=0;N[f+6744>>2]=0;s=P[o+68>>1];m=P[p+372>>1];l=P[r+8>>1];N[f+6736>>2]=N[73415];a=N[73414];N[f+6728>>2]=N[73413];N[f+6732>>2]=a;if(!s){break h}a=N[N[(N[N[b>>2]+4>>2]<<2)+288672>>2]+20>>2];if(!a){break h}Qa[a|0](b,f+6744|0,f+6748|0);a=N[f+6748>>2];i:{j:{k:{if(((a|0)==N[p+376>>2]|(a|0)<=0)&(l|0)==(m|0)){break k}j=N[N[f+4>>2]+396>>2];i=P[o+68>>1];g=P[N[o+88>>2]+12>>1];e=sp(j,i,g,a);c=N[r+12>>2];N[p+376>>2]=a;a=P[r+8>>1];z=p,A=ob(e,c)+32768>>16,N[z+384>>2]=A;M[p+372>>1]=a;if((l|0)==(m|0)){break k}e=N[f+6744>>2];break j}e=N[f+6744>>2];if((e|0)<=0|N[p+380>>2]==(e|0)){break i}j=N[N[f+4>>2]+396>>2];i=P[o+68>>1];g=P[N[o+88>>2]+12>>1]}g=sp(j,i,g,e);c=N[r+16>>2];N[p+380>>2]=e;a=P[r+8>>1];z=p,A=ob(g,c)+32768>>16,N[z+388>>2]=A;M[p+372>>1]=a;a=s<<16;z=p,A=fb((a-g|0)-524288|0,a),N[z+392>>2]=A}a=h+108|0;mn(a,N[p+384>>2],N[p+388>>2]);N[f+6740>>2]=N[p+392>>2];kg(a,f+6728|0)}a=O[q+8|0];L[f+16|0]=a;l:{if(!a){break l}j=N[q+24>>2];c=N[q+20>>2];N[f+28>>2]=c;N[f+32>>2]=j;i=N[q+16>>2];a=N[q+12>>2];N[f+20>>2]=a;N[f+24>>2]=i;g=N[q+28>>2];h=N[q+32>>2];e=f+6736|0;N[e>>2]=c;N[e+4>>2]=j;N[f+36>>2]=g;N[f+40>>2]=h;N[f+6728>>2]=a;N[f+6732>>2]=i;o=N[f+6740>>2];c=o>>31;t=(c^o)-c|0;c=a>>31;v=(c^a)-c|0;m:{if((t>>>8|0)+v>>>0<=8190){c=T(t,v)+32768>>>16|0;break m}c=v&65535;c=T(c,t>>>16|0)+T(t,v>>>16|0)+(T(c,t&65535)+32768>>>16)|0}r=a>>31|1;g=0-r|0;c=(((o|0)<0?g:r)|0)<0?0-c|0:c;h=N[f+6732>>2];e=h>>31;p=N[f+6736>>2];a=p>>31;e=(e^h)-e|0;u=(a^p)-a|0;n:{if(e+(u>>>8|0)>>>0<=8190){a=T(e,u)+32768>>>16|0;break n}a=e&65535;a=T(a,u>>>16|0)+T(u,e>>>16|0)+(T(a,u&65535)+32768>>>16)|0}s=h>>31|1;h=0-s|0;a=(((p|0)<0?h:s)|0)<0?0-a|0:a;if((c|0)==(a|0)){break l}x=c-a|0;a=x>>31;k=(a^x)-a|0;q=k>>>17^65535;o:{if(q>>>0>=e>>>0){c=((e<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break o}c=2147483647;a=k>>>1|0;i=a+(e<<16)|0;e=(e>>>16|0)+(a>>>0>i>>>0)|0;if(e>>>0>=k>>>0){break o}l=W(e);a=32-l|0;e=i>>>a|e<>>0)/(k>>>0)|0;j=e-T(c,k)|0;i=i<>>31;e=a>>>0>=k>>>0;j=a-(e?k:0)|0;c=e|c<<1;i=i<<1;a=31-l|0}if((l|0)==31){break o}while(1){e=j<<1|i>>>31;m=e>>>0>=k>>>0;e=i>>>30&1|e-(m?k:0)<<1;l=e>>>0>=k>>>0;j=e-(l?k:0)|0;c=c<<2|m<<1|l;i=i<<2;a=a-2|0;if(a){continue}break}}N[f+6732>>2]=(((x|0)<0?h:s)|0)<0?c:0-c|0;p:{if(q>>>0>=u>>>0){c=((u<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break p}c=2147483647;a=k>>>1|0;h=a+(u<<16)|0;e=(u>>>16|0)+(a>>>0>h>>>0)|0;if(e>>>0>=k>>>0){break p}l=W(e);a=32-l|0;e=h>>>a|e<>>0)/(k>>>0)|0;j=e-T(c,k)|0;i=h<>>31;e=a>>>0>=k>>>0;j=a-(e?k:0)|0;c=e|c<<1;i=i<<1;a=31-l|0}if((l|0)==31){break p}while(1){e=j<<1|i>>>31;l=e>>>0>=k>>>0;e=i>>>30&1|e-(l?k:0)<<1;h=e>>>0>=k>>>0;j=e-(h?k:0)|0;c=h|(c<<2|l<<1);i=i<<2;a=a-2|0;if(a){continue}break}}a=p>>31|1;N[f+6736>>2]=(((x|0)<0?0-a|0:a)|0)<0?c:0-c|0;q:{if(q>>>0>=t>>>0){c=((t<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break q}c=2147483647;a=k>>>1|0;h=a+(t<<16)|0;e=(t>>>16|0)+(a>>>0>h>>>0)|0;if(e>>>0>=k>>>0){break q}j=W(e);a=32-j|0;e=h>>>a|e<>>0)/(k>>>0)|0;e=e-T(c,k)|0;i=h<>>31;h=a>>>0>=k>>>0;e=a-(h?k:0)|0;c=h|c<<1;i=i<<1;a=31-j|0}if((j|0)==31){break q}while(1){e=e<<1|i>>>31;j=e>>>0>=k>>>0;e=i>>>30&1|e-(j?k:0)<<1;h=e>>>0>=k>>>0;e=e-(h?k:0)|0;c=h|(c<<2|j<<1);i=i<<2;a=a-2|0;if(a){continue}break}}h=f+36|0;a=o>>31|1;N[f+6728>>2]=(((x|0)<0?0-a|0:a)|0)<0?0-c|0:c;r:{if(q>>>0>=v>>>0){c=((v<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break r}c=2147483647;a=k>>>1|0;i=a+(v<<16)|0;e=(v>>>16|0)+(a>>>0>i>>>0)|0;if(e>>>0>=k>>>0){break r}l=W(e);a=32-l|0;e=i>>>a|e<>>0)/(k>>>0)|0;e=e-T(c,k)|0;i=i<>>31;j=a>>>0>=k>>>0;e=a-(j?k:0)|0;c=j|c<<1;i=i<<1;a=31-l|0}if((l|0)==31){break r}while(1){e=e<<1|i>>>31;l=e>>>0>=k>>>0;e=i>>>30&1|e-(l?k:0)<<1;j=e>>>0>=k>>>0;e=e-(j?k:0)|0;c=j|(c<<2|l<<1);i=i<<2;a=a-2|0;if(a){continue}break}}N[f+6740>>2]=(((x|0)<0?g:r)|0)<0?0-c|0:c;id(h,f+6728|0)}j=7;s:{if(N[n+72>>2]!=1869968492){break s}t:{if(!O[f+16|0]){break t}e=M[n+110>>1];if((e|0)<=0){break t}i=N[f+40>>2];h=N[f+36>>2];g=N[n+112>>2];if(e>>>0>=4){a=e&-4;c=0;while(1){N[g>>2]=h+N[g>>2];N[g+4>>2]=i+N[g+4>>2];N[g+8>>2]=h+N[g+8>>2];N[g+16>>2]=h+N[g+16>>2];N[g+24>>2]=h+N[g+24>>2];N[g+12>>2]=i+N[g+12>>2];N[g+20>>2]=i+N[g+20>>2];N[g+28>>2]=i+N[g+28>>2];g=g+32|0;c=c+4|0;if((a|0)!=(c|0)){continue}break}}a=e&3;if(!a){break t}c=0;while(1){N[g>>2]=h+N[g>>2];N[g+4>>2]=i+N[g+4>>2];g=g+8|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}}e=N[f+80>>2];N[f+48>>2]=e;c=N[f+72>>2];N[f+44>>2]=c;i=N[n+40>>2];g=i>>31;h=N[f+68>>2];a=h>>31;g=(g^i)-g|0;j=(a^h)-a|0;u:{if(g+(j>>>8|0)>>>0<=8190){g=T(g,j)+32768>>>16|0;break u}a=g&65535;g=T(a,j>>>16|0)+T(j,g>>>16|0)+(T(a,j&65535)+32768>>>16)|0}a=g;N[f+56>>2]=e;j=0;e=0-a|0;a=i>>31|1;N[f+52>>2]=c+((((h|0)<0?0-a|0:a)|0)<0?e:g);if(!P[n+110>>1]){break s}a=N[y+28>>2];if(a){h=Qa[a|0](d,f- -64|0,w+20|0,b)|0;if(h){break c}}v:{if(N[f+6720>>2]!=1){c=N[f+120>>2];if(!(O[f+2804|0]&4|(c|0)<2)){e=N[f+128>>2];c=(e+T(c,44)|0)-44|0;s=N[c+8>>2];g=N[c+4>>2];h=N[e+8>>2];m=N[e+4>>2];c=h-m|0;e=(m|0)<24?c-8|0:c;i=e+32&-64;N[f+44>>2]=i;l=N[f+52>>2]-g|0;c=l+s|0;c=(l|0)<24?c+8|0:c;g=c+32&-64;N[f+52>>2]=g;if(!((m|0)<=0|(h|0)>(i|0))){i=i+-64|0;N[f+44>>2]=i}if(!((l|0)<=0|(g|0)>(s|0))){g=g- -64|0;N[f+52>>2]=g}N[n+144>>2]=i-e;a=g-c|0;break v}g=N[f+52>>2];h=g+32&-64;N[f+52>>2]=h;e=N[f+44>>2];c=e+32&-64;N[f+44>>2]=c;N[n+144>>2]=c-e;a=h-g|0;break v}g=N[f+52>>2];h=g+32&-64;N[f+52>>2]=h;e=N[f+44>>2];c=e+32&-64;N[f+44>>2]=c;N[n+144>>2]=c-e;a=h-g|0}N[n+148>>2]=a}g=N[n+48>>2]-N[n+36>>2]|0;h=N[n+44>>2]-N[n+32>>2]|0;e=h>>31;c=N[b+8>>2];a=c>>31;e=(e^h)-e|0;i=(a^c)-a|0;w:{if(e+(i>>>8|0)>>>0<=8190){e=T(e,i)+32768>>>16|0;break w}a=e&65535;e=T(a,i>>>16|0)+T(i,e>>>16|0)+(T(a,i&65535)+32768>>>16)|0}a=e;i=0-a|0;a=h>>31|1;N[f+6728>>2]=(((c|0)<0?0-a|0:a)|0)<0?i:e;c=N[b+12>>2];a=c>>31;h=(a^c)-a|0;a=g>>31;e=(a^g)-a|0;x:{if((h>>>8|0)+e>>>0<=8190){e=T(e,h)+32768>>>16|0;break x}a=e&65535;e=T(a,h>>>16|0)+T(h,e>>>16|0)+(T(a,h&65535)+32768>>>16)|0}a=e;h=0-a|0;a=g>>31|1;N[f+6732>>2]=(((c|0)<0?0-a|0:a)|0)<0?h:e;if(O[f+16|0]){c=f+20|0;g=N[w+24>>2];y:{if(!g){break y}a=M[w+22>>1];if((a|0)<=0){break y}a=(a<<3)+g|0;while(1){id(g,c);g=g+8|0;if(a>>>0>g>>>0){continue}break}}id(f+6728|0,c)}m=N[f+44>>2];l=M[w+22>>1];z:{if(!m|(l|0)<=0){break z}i=l&3;g=N[w+24>>2];A:{if(l>>>0<4){break A}e=l-4|0;a=(e>>>2|0)+1|0;c=a&1;if(e>>>0>=4){a=a&2147483646;h=0;while(1){N[g>>2]=N[g>>2]-m;N[g+8>>2]=N[g+8>>2]-m;N[g+16>>2]=N[g+16>>2]-m;N[g+24>>2]=N[g+24>>2]-m;N[g+32>>2]=N[g+32>>2]-m;N[g+40>>2]=N[g+40>>2]-m;N[g+48>>2]=N[g+48>>2]-m;N[g+56>>2]=N[g+56>>2]-m;g=g- -64|0;h=h+2|0;if((a|0)!=(h|0)){continue}break}}if(!c){break A}N[g>>2]=N[g>>2]-m;N[g+8>>2]=N[g+8>>2]-m;N[g+16>>2]=N[g+16>>2]-m;N[g+24>>2]=N[g+24>>2]-m;g=g+32|0}if(!i){break z}h=0;while(1){N[g>>2]=N[g>>2]-m;g=g+8|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}B:{if(!l){g=0;c=0;i=0;h=0;break B}a=N[w+24>>2];i=N[a+4>>2];h=N[a>>2];if((l|0)<2){g=i;c=h;break B}l=(l<<3)+a|0;e=a+8|0;c=h;g=i;while(1){m=N[a+12>>2];g=(g|0)<(m|0)?m:g;i=(i|0)>(m|0)?m:i;a=N[a+8>>2];c=(a|0)>(c|0)?a:c;h=(a|0)<(h|0)?a:h;a=e;e=a+8|0;if(l>>>0>e>>>0){continue}break}}e=h&-64;N[n+32>>2]=e;a=g+63&-64;N[n+36>>2]=a;N[n+28>>2]=a-(i&-64);N[n+24>>2]=(c+63&-64)-e;N[n+44>>2]=e+N[f+6728>>2]&-64;N[n+48>>2]=a+N[f+6732>>2]&-64;C:{D:{if(N[f+6720>>2]==1){break D}if(!(O[N[n+4>>2]+8|0]&4)){a=N[f+4>>2];if(!O[b+32|0]|(Q[a+4>>2]<=d>>>0|M[N[a+8>>2]+(d<<1)>>1]>=0)){break D}}g=ob(N[n+40>>2],N[b+8>>2]);N[n+144>>2]=0;N[n+148>>2]=0;break C}if(!N[n+40>>2]){g=0;break C}g=N[f+52>>2]-N[f+44>>2]|0}d=N[n+52>>2];c=d>>31;b=N[b+12>>2];a=b>>31;c=(c^d)-c|0;e=(a^b)-a|0;E:{if(c+(e>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break E}a=c&65535;c=T(a,e>>>16|0)+T(e,c>>>16|0)+(T(a,e&65535)+32768>>>16)|0}a=c;N[n+72>>2]=1869968492;N[n+40>>2]=g+32&-64;e=0-a|0;a=d>>31|1;N[n+52>>2]=((((b|0)<0?0-a|0:a)|0)<0?e:c)+32&-64;h=j}N[f+8>>2]=0;N[f>>2]=0;N[f+4>>2]=0;b=N[f+64>>2];F:{if(!b){break F}N[f+108>>2]=0;N[f+112>>2]=0;a=N[f+116>>2];if((a|0)!=(f+136|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+116>>2]=0}N[f+120>>2]=0;N[f+124>>2]=0;a=N[f+128>>2];if((a|0)!=(f+928|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+128>>2]=0}a=f+1456|0;N[a>>2]=0;N[a+4>>2]=0;a=N[f+1464>>2];if((a|0)!=(f+1484|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+1464>>2]=0}a=f+1468|0;N[a>>2]=0;N[a+4>>2]=0;a=N[f+1476>>2];if((a|0)!=(f+2276|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+1476>>2]=0}a=N[f+104>>2];if((a|0)!=(f+2816|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+104>>2]=0}N[f+96>>2]=0;N[f+100>>2]=0;a=N[f+92>>2];if((a|0)==(f+2848|0)|!a){break F}Qa[N[b+8>>2]](b,a)}La=f+6752|0;return h|0}function ol(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{e=N[b+4>>2];c=a+4|0;c:{if(e>>>0>c>>>0){break c}d=N[b+8>>2];if(c>>>0>d>>>0|d-c>>>0<4){break c}h=N[b+12>>2]-4|0;N[b+12>>2]=h;if(a>>>0>>0|(h|0)<=0){break c}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<16|c>>>0>d-a>>>0){break c}f=h-c|0;N[b+12>>2]=f;if((f|0)<=0){break c}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=UE(j,0,12,0);if(Pa){break c}h=a+16|0;if(c){if(d>>>0>>0|c>>>0>d-h>>>0){break c}c=f-c|0;N[b+12>>2]=c;if((c|0)<=0){break c}}a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);if(!a){return 1}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);o=a>>>0<=1?1:a;f=h+T(j,12)|0;while(1){if(d>>>0>>0|e>>>0>f>>>0){break a}e=d-f|0;if(e>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}a=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0<13|a>>>0>e>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=N[b+32>>2];e=N[c+12>>2];N[b+4>>2]=e;h=N[c+16>>2];c=h+e|0;N[b+8>>2]=c;d:{e:{f:{g:{h:{if((h|0)>=0){e=c>>>0<=f>>>0|e>>>0>f>>>0;N[b+4>>2]=e?0:f;c=c-f|0;a=e?0:(a>>>0>c>>>0?c:a)+f|0;N[b+8>>2]=a;g=1;i:{switch((O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24))>>>24|0){case 4:break g;case 5:break h;case 0:break i;case 1:break e;case 2:break f;default:break d}}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<16){break d}c=d-16|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-20|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!yc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){j:{k:{l:{m:{n:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,m,0);if(Pa){break d}o:{if(!d){d=N[b+12>>2];break o}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break n}c=h}if(!e){break l}d=e;break m}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=d<<2;if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break k}break j}d=0;if(N[b+12>>2]>0){break j}g=0;break d}h=h+j|0;g=j+(e<<2)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+4|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=1;break d}break b}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<20){break d}c=d-20|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=d-36|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-40|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!yc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){p:{q:{r:{s:{t:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,m,0);if(Pa){break d}u:{if(!d){d=N[b+12>>2];break u}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break t}c=h}if(!e){break r}d=e;break s}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=d<<3;if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break q}break p}d=0;if(N[b+12>>2]>0){break p}g=0;break d}h=h+j|0;g=j+(e<<3)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+8|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=(O[f+28|0]|O[f+29|0]<<8|(O[f+30|0]<<16|O[f+31|0]<<24))!=0;break d}g=yc(f+12|0,b);break d}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<28){break d}c=d-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=d-44|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-48|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!yc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){v:{w:{x:{y:{z:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,m,0);if(Pa){break d}A:{if(!d){d=N[b+12>>2];break A}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break z}c=h}if(!e){break x}d=e;break y}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=T(d,6);if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break w}break v}e=N[b+12>>2]+e|0;N[b+12>>2]=e;d=0;if((e|0)>0){break v}g=0;break d}h=h+j|0;g=j+T(e,6)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+6|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=0;if(!(O[f+28|0]|O[f+29|0]<<8|(O[f+30|0]<<16|O[f+31|0]<<24))|!(O[f+32|0]|O[f+33|0]<<8|(O[f+34|0]<<16|O[f+35|0]<<24))){break d}g=(O[f+36|0]|O[f+37|0]<<8|(O[f+38|0]<<16|O[f+39|0]<<24))!=0;break d}g=0;j=f+12|0;if(j>>>0>a>>>0|a-j>>>0<16){break d}e=d-16|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<4){break d}e=f+16|0;if(e>>>0>a>>>0|a-e>>>0<4){break d}a=d-20|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(a&128){break d}if(!yc(j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);i=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((i|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);k=j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);l=j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;p=i<<1;c=0;a=0;e=0;B:{C:{while(1){D:{E:{F:{G:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,p,0);if(Pa){break d}H:{if(!d){d=N[b+12>>2];break H}if(l>>>0>2]){break d}m=N[b+8>>2];if(m>>>0>>0|d>>>0>m-l>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,i,0);if(Pa){break d}d=T(h,i);if((d|0)<0){break d}c=T(c,i);if((c|0)<(d|0)){break G}c=h}if(!e){break E}d=e;break F}m=l+(d<<1)|0;g=l+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(m>>>0>g>>>0){continue}break}c=h}g=0;if(k>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}m=d<<3;if(m>>>0>h-k>>>0){break d}h=N[b+12>>2]-m|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=h+(e-d|0)|0;N[b+12>>2]=h;if((h|0)<=0){break d}if((d|0)>(e|0)){m=k+m|0;g=k+(e<<3)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+8|0;if(m>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}e=0;if(!d){break D}a=0;while(1){c=k+(a<<3)|0;g=O[c+4|0]|O[c+5|0]<<8;if((g|0)!=65535){g=((g<<8|g>>>8)&65535)+1|0;e=e>>>0>g>>>0?e:g}c=O[c+6|0]|O[c+7|0]<<8;if((c|0)!=65535){c=((c<<8|c>>>8)&65535)+1|0;e=c>>>0>>0?e:c}a=a+1|0;if((d|0)!=(a|0)){continue}break}break D}h=N[b+12>>2];if((h|0)<=0){break C}e=0;if((a|0)>=(c|0)){continue}}break}c=N[b+4>>2];a=f+28|0;if(c>>>0<=a>>>0){break B}g=0;break d}g=0;break d}d=N[b+8>>2];if(d>>>0>>0){g=0;break d}if(d-a>>>0<4){g=0;break d}h=h-4|0;N[b+12>>2]=h;if((h|0)<=0){g=0;break d}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(a&128){g=0;break d}g=1;if(!e){break d}g=c;c=j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;if(g>>>0>c>>>0){g=0;break d}if(c>>>0>d>>>0){g=0;break d}g=0;a=e<<2;if(a>>>0>d-c>>>0){break d}a=h-a|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break d}while(1){a=c+(d<<2)|0;if(a>>>0>2]){g=0;break d}h=N[b+8>>2];if(h>>>0>>0){g=0;break d}if(h-a>>>0<4){g=0;break d}h=N[b+12>>2]-4|0;N[b+12>>2]=h;if((h|0)<=0){g=0;break d}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(a&128){g=0;break d}if(yc(c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){g=1;d=d+1|0;if((e|0)==(d|0)){break d}continue}break}g=0}a=N[b+32>>2];e=N[a+12>>2];N[b+4>>2]=e;a=N[a+16>>2];d=a+e|0;N[b+8>>2]=d;if((a|0)<0){break b}if(!g){break a}a=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+f|0;g=1;n=n+1|0;if((o|0)!=(n|0)){continue}break}}return g}ba(16656,14279,195,9642);B()}return 0}function Td(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=La-240|0;La=g;N[g+8>>2]=0;i=6;a:{if(!b|!((d|0)!=0|(c|0)<0)){break a}l=N[b>>2];m=l&2;n=m?N[b+16>>2]!=0:n;N[g+12>>2]=0;b:{if(!a){i=33;l=0;break b}h=N[a>>2];c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch((l&7)-1|0){case 0:f=Qa[N[h+4>>2]](h,40)|0;if(f){break o}break d;case 3:f=Qa[N[h+4>>2]](h,40)|0;if(!f){break d}L[f|0]=0;L[f+1|0]=0;L[f+2|0]=0;L[f+3|0]=0;L[f+4|0]=0;L[f+5|0]=0;L[f+6|0]=0;L[f+7|0]=0;L[f+32|0]=0;L[f+33|0]=0;L[f+34|0]=0;L[f+35|0]=0;L[f+36|0]=0;L[f+37|0]=0;L[f+38|0]=0;L[f+39|0]=0;L[f+24|0]=0;L[f+25|0]=0;L[f+26|0]=0;L[f+27|0]=0;L[f+28|0]=0;L[f+29|0]=0;L[f+30|0]=0;L[f+31|0]=0;L[f+16|0]=0;L[f+17|0]=0;L[f+18|0]=0;L[f+19|0]=0;L[f+20|0]=0;L[f+21|0]=0;L[f+22|0]=0;L[f+23|0]=0;L[f+8|0]=0;L[f+9|0]=0;L[f+10|0]=0;L[f+11|0]=0;L[f+12|0]=0;L[f+13|0]=0;L[f+14|0]=0;L[f+15|0]=0;i=df(f,N[b+12>>2]);if(!i){break n}Qa[N[h+8>>2]](h,f);l=0;break m;case 1:f=N[b+16>>2];if(f){break n}break;default:break p}}l=0;if(!m){break c}a=N[b+16>>2];if(!a){break c}b=N[a+24>>2];if(!b){break c}Qa[b|0](a);break c}L[f|0]=0;L[f+1|0]=0;L[f+2|0]=0;L[f+3|0]=0;L[f+4|0]=0;L[f+5|0]=0;L[f+6|0]=0;L[f+7|0]=0;L[f+32|0]=0;L[f+33|0]=0;L[f+34|0]=0;L[f+35|0]=0;L[f+36|0]=0;L[f+37|0]=0;L[f+38|0]=0;L[f+39|0]=0;l=f+24|0;L[l|0]=0;L[l+1|0]=0;L[l+2|0]=0;L[l+3|0]=0;L[l+4|0]=0;L[l+5|0]=0;L[l+6|0]=0;L[l+7|0]=0;L[f+16|0]=0;L[f+17|0]=0;L[f+18|0]=0;L[f+19|0]=0;L[f+20|0]=0;L[f+21|0]=0;L[f+22|0]=0;L[f+23|0]=0;L[f+8|0]=0;L[f+9|0]=0;L[f+10|0]=0;L[f+11|0]=0;L[f+12|0]=0;L[f+13|0]=0;L[f+14|0]=0;L[f+15|0]=0;l=N[b+8>>2];i=N[b+4>>2];N[f+24>>2]=0;N[f>>2]=i;N[f+4>>2]=l}N[f+28>>2]=h;N[g+12>>2]=f;o=N[a>>2];q:{h=N[b>>2];if(!(h&8)){break q}l=N[b+20>>2];if(!l){break q}i=32;if(L[N[l>>2]]&1){i=0;f=0;if(h&16){i=N[b+24>>2];f=N[b+28>>2]}i=Dn(l,g+12|0,n,c,i,f,g+8|0);if(!i){break k}f=N[g+12>>2];if(!f){break b}}a=N[f+28>>2];b=N[f+24>>2];if(b){Qa[b|0](f)}if(n){break b}Qa[N[a+8>>2]](a,f);break b}h=N[a+16>>2];if((h|0)<=0){i=11;l=0;break c}f=a+20|0;m=f+(h<<2)|0;i=11;h=0;while(1){l=N[f>>2];if(L[N[l>>2]]&1){i=0;h=0;if(O[b|0]&16){i=N[b+24>>2];h=N[b+28>>2]}i=Dn(l,g+12|0,n,c,i,h,g+8|0);if(!i){break k}r:{if(!e){break r}if(cb(N[N[N[f>>2]>>2]+8>>2],15504)|(i&255)!=142){break r}h=N[g+12>>2];i=N[h+20>>2];if(i){if(Qa[i|0](h,0,0,0)|0){break l}}N[h+8>>2]=0;i=Cn(a,h,c,d);if(i){break r}a=N[h+28>>2];b=N[h+24>>2];if(b){Qa[b|0](h)}i=0;if(n){break a}Qa[N[a+8>>2]](a,h);break a}h=l;if((i&255)!=2){break m}}f=f+4|0;if(m>>>0>f>>>0){continue}break}l=h}s:{t:{h=i&255;switch(h-81|0){case 0:case 4:break s;case 1:case 2:case 3:break c;default:break t}}if((h|0)!=2){break c}}if(!e){break f}h=N[g+12>>2];if(h){break l}h=0;r=1;break j}e=N[h+20>>2];if(e){if(Qa[e|0](h,0,0,0)|0){break j}}N[h+8>>2]=0;e=N[h+4>>2];if(!e){break j}f=N[h+20>>2];u:{if(f){i=Qa[f|0](h,0,g+112|0,128)|0;break u}i=e>>>0>=128?128:e;F(g+112|0,N[h>>2],i)}N[h+8>>2]=i;if(i>>>0<128){break j}v:{w:{if(O[g+194|0]|(O[g+112|0]|O[g+186|0])){break w}e=O[g+113|0];if(!e|e>>>0>33|(O[g+175|0]|O[(e+g|0)+114|0])){break w}e=L[g+195|0];if((e|0)<0){break w}i=ci(a,h,((O[g+198|0]|(O[g+196|0]<<16|(e&255)<<24|O[g+197|0]<<8))+127&2147483520)+128|0,c,d);if((i&255)!=2){break v}}i=ci(a,h,0,c,d)}e=i&255;if((e|0)==85){break i}if((e|0)!=2){break h}break i}a=Qa[N[o+4>>2]](o,12)|0;if(!a){i=64;break b}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;e=N[g+8>>2];N[a+8>>2]=e;b=N[e+96>>2];h=N[b+20>>2];N[a>>2]=h;N[(h?h+4|0:b+16|0)>>2]=a;N[b+20>>2]=a;x:{if((c|0)>=0){i=ei(e,0);if(i){break x}i=Bn(e,g+112|0);if(i){break x}N[e+88>>2]=N[g+112>>2]}a=N[e+8>>2];y:{if(!(a&1)){break y}i=M[e+74>>1];if((i|0)<0){i=0-i|0;M[e+74>>1]=i}if(a&32){break y}M[e+78>>1]=i}z:{if(!(a&2)){break z}b=N[e+28>>2];if((b|0)<=0){break z}c=N[e+32>>2];i=0;while(1){a=c+(i<<4)|0;f=M[a>>1];if((f|0)<0){f=0-f|0;M[a>>1]=f}h=N[a+8>>2];if((h|0)<0){N[a+8>>2]=0-h}h=N[a+12>>2];if((h|0)<0){N[a+12>>2]=0-h}if(f<<16>>16<0){N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0}i=i+1|0;if((b|0)!=(i|0)){continue}break}}a=N[e+128>>2];N[a+64>>2]=1;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=65536;N[a>>2]=65536;N[a+4>>2]=0;L[a+56|0]=255;if(d){N[d>>2]=e;i=0;break a}zn(e);i=0;break a}a=N[e+96>>2];if(!a){break a}c=N[e+128>>2];b=N[c+64>>2];N[c+64>>2]=b-1;if((b|0)>1){break a}b=N[a+16>>2];if(!b){break a}h=a+16|0;c=N[a+8>>2];while(1){if((e|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break a}break}d=N[b>>2];l=d?d+4|0:h;h=N[b+4>>2];N[l>>2]=h;N[(h?h:a+20|0)>>2]=d;Qa[N[c+8>>2]](c,b);ic(c,e,a);break a}i=85}if(!(O[b|0]&4)){break h}m=N[a>>2];i=N[b+12>>2];N[g+112>>2]=0;A:{B:{C:{if(h){f=N[h+20>>2];D:{if(f){e=85;if(Qa[f|0](h,0,0,0)|0){break D}}N[h+8>>2]=0;N[g+112>>2]=0;e=Rd(h,333319,g- -64|0)}N[g+116>>2]=0;N[g+16>>2]=e;e=N[h+20>>2];if(!e){break C}if(!(Qa[e|0](h,0,0,0)|0)){break C}N[g+20>>2]=85;break B}N[g+16>>2]=81;N[g+20>>2]=81;N[g+116>>2]=0;N[g+120>>2]=0;e=bi(a,g,i,g+112|8,g- -64|8);N[g+124>>2]=0;N[g+24>>2]=e;f=nb(i);e=f+18|0;E:{F:{if((f|0)>=-17){j=N[a>>2];e=Qa[N[j+4>>2]](j,e)|0;if(e){break F}j=64;break E}j=6;if(e){break E}e=0}F(e,i,f);f=e+f|0;j=O[17697]|O[17698]<<8;L[f+16|0]=j;L[f+17|0]=j>>>8;j=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);k=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[f+8|0]=k;L[f+9|0]=k>>>8;L[f+10|0]=k>>>16;L[f+11|0]=k>>>24;L[f+12|0]=j;L[f+13|0]=j>>>8;L[f+14|0]=j>>>16;L[f+15|0]=j>>>24;j=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);k=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[f|0]=k;L[f+1|0]=k>>>8;L[f+2|0]=k>>>16;L[f+3|0]=k>>>24;L[f+4|0]=j;L[f+5|0]=j>>>8;L[f+6|0]=j>>>16;L[f+7|0]=j>>>24;N[g+124>>2]=e;N[g+76>>2]=0;j=0}e=0;N[g+128>>2]=0;N[g+28>>2]=j;f=6;j=nb(i);k=j+6|0;G:{H:{if((j|0)>=-5){e=N[a>>2];e=Qa[N[e+4>>2]](e,k)|0;if(e){break H}f=64;break G}if(k){break G}}F(e,i,j);f=0;j=e+j|0;k=O[17697]|O[17698]<<8;L[j+4|0]=k;L[j+5|0]=k>>>8;k=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[j|0]=k;L[j+1|0]=k>>>8;L[j+2|0]=k>>>16;L[j+3|0]=k>>>24;N[g+128>>2]=e;N[g+80>>2]=0}N[g+132>>2]=0;N[g+32>>2]=f;e=64;f=64;j=hd(N[a>>2],i,22019);if(j){N[g+84>>2]=0;N[g+132>>2]=j;f=0}N[g+136>>2]=0;N[g+36>>2]=f;f=hd(N[a>>2],i,22047);if(f){N[g+88>>2]=0;N[g+136>>2]=f;e=0}f=0;N[g+140>>2]=0;N[g+40>>2]=e;e=ai(a,g,i,g+140|0,g+92|0);N[g+144>>2]=0;N[g+44>>2]=e;s=g,t=$h(a,g,i,g+144|0,g+96|0),N[s+48>>2]=t;break A}N[h+8>>2]=0;N[g+116>>2]=0;s=g,t=Rd(h,333312,g- -64|4),N[s+20>>2]=t}N[g+120>>2]=0;I:{J:{e=N[h+20>>2];if(!e){break J}if(!(Qa[e|0](h,0,0,0)|0)){break J}N[g+24>>2]=85;break I}N[h+8>>2]=0;s=g,t=bi(a,g,i,g+112|8,g- -64|8),N[s+24>>2]=t}N[g+124>>2]=0;K:{L:{e=N[h+20>>2];if(!e){break L}if(!(Qa[e|0](h,0,0,0)|0)){break L}N[g+28>>2]=85;break K}N[h+8>>2]=0;f=nb(i);j=f+18|0;M:{N:{if((f|0)>=-17){e=N[a>>2];e=Qa[N[e+4>>2]](e,j)|0;if(e){break N}e=64;break M}e=6;if(j){break M}e=0}F(e,i,f);f=e+f|0;j=O[17697]|O[17698]<<8;L[f+16|0]=j;L[f+17|0]=j>>>8;j=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);k=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[f+8|0]=k;L[f+9|0]=k>>>8;L[f+10|0]=k>>>16;L[f+11|0]=k>>>24;L[f+12|0]=j;L[f+13|0]=j>>>8;L[f+14|0]=j>>>16;L[f+15|0]=j>>>24;j=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);k=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[f|0]=k;L[f+1|0]=k>>>8;L[f+2|0]=k>>>16;L[f+3|0]=k>>>24;L[f+4|0]=j;L[f+5|0]=j>>>8;L[f+6|0]=j>>>16;L[f+7|0]=j>>>24;N[g+124>>2]=e;N[g+76>>2]=0;e=0}N[g+28>>2]=e}N[g+128>>2]=0;O:{P:{e=N[h+20>>2];if(!e){break P}if(!(Qa[e|0](h,0,0,0)|0)){break P}N[g+32>>2]=85;break O}N[h+8>>2]=0;e=6;j=nb(i);f=j+6|0;Q:{R:{if((j|0)>=-5){e=N[a>>2];f=Qa[N[e+4>>2]](e,f)|0;if(f){break R}e=64;break Q}if(f){break Q}f=0}F(f,i,j);e=0;j=f+j|0;k=O[17697]|O[17698]<<8;L[j+4|0]=k;L[j+5|0]=k>>>8;k=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[j|0]=k;L[j+1|0]=k>>>8;L[j+2|0]=k>>>16;L[j+3|0]=k>>>24;N[g+128>>2]=f;N[g+80>>2]=0}N[g+32>>2]=e}N[g+132>>2]=0;S:{T:{e=N[h+20>>2];if(!e){break T}if(!(Qa[e|0](h,0,0,0)|0)){break T}N[g+36>>2]=85;break S}N[h+8>>2]=0;e=hd(N[a>>2],i,22019);if(e){N[g+84>>2]=0;N[g+132>>2]=e;e=0}else{e=64}N[g+36>>2]=e}N[g+136>>2]=0;U:{V:{e=N[h+20>>2];if(!e){break V}if(!(Qa[e|0](h,0,0,0)|0)){break V}N[g+40>>2]=85;break U}N[h+8>>2]=0;e=hd(N[a>>2],i,22047);if(e){N[g+88>>2]=0;N[g+136>>2]=e;e=0}else{e=64}N[g+40>>2]=e}N[g+140>>2]=0;W:{X:{e=N[h+20>>2];if(!e){break X}if(!(Qa[e|0](h,0,0,0)|0)){break X}N[g+44>>2]=85;break W}N[h+8>>2]=0;s=g,t=ai(a,g,i,g+140|0,g+92|0),N[s+44>>2]=t}f=0;N[g+144>>2]=0;Y:{e=N[h+20>>2];if(!e){break Y}if(!(Qa[e|0](h,0,0,0)|0)){break Y}N[g+48>>2]=85;break A}N[h+8>>2]=0;s=g,t=$h(a,g,i,g+144|0,g+96|0),N[s+48>>2]=t}j=2;i=0;while(1){Z:{p=N[(i<<3)+26356>>2]-3|0;_:{if(!(!(f&255)|p>>>0>1)){f=1;break _}e=i<<2;if(N[e+(g+16|0)>>2]){break _}j=N[e+(g+112|0)>>2];if(!j){j=N[b+12>>2]}$:{k=N[a>>2];e=Qa[N[k+4>>2]](k,40)|0;aa:{if(!e){j=64;break aa}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+32|0]=0;L[e+33|0]=0;L[e+34|0]=0;L[e+35|0]=0;L[e+36|0]=0;L[e+37|0]=0;L[e+38|0]=0;L[e+39|0]=0;L[e+24|0]=0;L[e+25|0]=0;L[e+26|0]=0;L[e+27|0]=0;L[e+28|0]=0;L[e+29|0]=0;L[e+30|0]=0;L[e+31|0]=0;L[e+16|0]=0;L[e+17|0]=0;L[e+18|0]=0;L[e+19|0]=0;L[e+20|0]=0;L[e+21|0]=0;L[e+22|0]=0;L[e+23|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;j=df(e,j);if(!j){break $}Qa[N[k+8>>2]](k,e)}f=p>>>0<2?(j|0)==81?1:f:f;break _}N[e+28>>2]=k;j=ci(a,e,N[(g- -64|0)+(i<<2)>>2],c,d);k=N[e+28>>2];q=N[e+24>>2];if(q){Qa[q|0](e)}Qa[N[k+8>>2]](k,e);if(!j){j=0;break Z}f=p>>>0<2?1:f}i=i+1|0;if((i|0)!=9){continue}}break}a=N[g+112>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+112>>2]=0}a=N[g+116>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+116>>2]=0}a=N[g+120>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+120>>2]=0}a=N[g+124>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+128>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+132>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+136>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+140>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+144>>2];if(a){Qa[N[m+8>>2]](m,a)}if(!j){break g}break e}if(i){break f}}i=0;if(r){break a}a=N[h+28>>2];b=N[h+24>>2];if(b){Qa[b|0](h)}if(n){break a}Qa[N[a+8>>2]](a,h);break a}if((i&255)!=2){break c}}i=2;break c}i=64;l=0}a=N[g+12>>2];if(!a){break b}b=N[a+28>>2];c=N[a+24>>2];if(c){Qa[c|0](a)}if(n){break b}Qa[N[b+8>>2]](b,a)}a=N[g+8>>2];if(!a){break a}ic(o,a,l)}La=g+240|0;return i}function Jx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=La-256|0;La=g;a:{if(!b){e=36;break a}j=N[a+4>>2];if(!j){e=35;break a}if(!(N[N[j+128>>2]+52>>2]|Q[j+16>>2]>c>>>0)){e=6;break a}if(d&2){d=O[j+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(O[j+9|0]&32?9:11)|d}o=d&2;N[b+44>>2]=(o?12:48)+b;b:{if(d&8){break b}e=N[b+116>>2];if(O[j+9|0]&128|(P[j+6>>1]&32767|(e|0)==-1)){break b}f=N[b+20>>2];h=N[b+16>>2];c:{e=Qa[N[N[j+540>>2]+72>>2]](j,e,c,d,N[j+104>>2],a+76|0,g+12|0)|0;if(e){j=N[a+4>>2];k=N[j+8>>2]&1;if((e&255)!=157){break c}if(k){break b}M[g+12>>1]=0;M[g+240>>1]=0;M[g+224>>1]=0;M[g+10>>1]=0;if(!N[j+752>>2]){break a}Qa[N[N[j+540>>2]+156>>2]](j,0,c,g+12|0,g+224|0);b=g+240|0;d=g+10|0;d:{if(O[j+292|0]){Qa[N[N[j+540>>2]+156>>2]](j,1,c,b,d);break d}if(P[j+372>>1]!=65535){M[b>>1]=P[j+442>>1];c=M[j+442>>1]-M[j+444>>1]|0;b=c>>31;M[d>>1]=(b^c)-b;break d}M[b>>1]=P[j+220>>1];c=M[j+220>>1]-M[j+222>>1]|0;b=c>>31;M[d>>1]=(b^c)-b}N[a+108>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;b=M[g+12>>1];N[a+36>>2]=0;s=a,t=ob(b,h),N[s+32>>2]=t;b=P[g+224>>1];N[a+44>>2]=0;s=a,t=ob(b,h),N[s+40>>2]=t;s=a,t=ob(M[g+240>>1],f),N[s+48>>2]=t;b=P[g+10>>1];N[a+100>>2]=0;N[a+104>>2]=0;L[a+94|0]=1;N[a+72>>2]=1651078259;s=a,t=ob(b,f),N[s+52>>2]=t;e=0;break a}e=0;N[a+108>>2]=0;N[a+24>>2]=P[g+14>>1]<<6;N[a+28>>2]=P[g+12>>1]<<6;j=M[g+16>>1];N[a+32>>2]=j<<6;k=M[g+18>>1];N[a+36>>2]=k<<6;N[a+40>>2]=P[g+20>>1]<<6;i=M[g+22>>1];N[a+44>>2]=i<<6;m=M[g+24>>1];N[a+48>>2]=m<<6;l=P[g+26>>1];q=k;k=d&16;N[a+104>>2]=k?m:q;N[a+100>>2]=k?i:j;N[a+72>>2]=1651078259;N[a+52>>2]=l<<6;j=N[a+4>>2];if(!(L[j+8|0]&1)){break a}e=N[j+104>>2];C(g+24|0,0,192);N[g+216>>2]=0;N[g+220>>2]=0;N[g+36>>2]=e;N[g+20>>2]=a;N[g+16>>2]=b;N[g+12>>2]=j;N[g+28>>2]=d;Vh(g+12|0,c,0,1);d=N[N[g+12>>2]+100>>2];e:{if(!d){break e}b=N[g+216>>2];if(!b){break e}while(1){c=N[b+4>>2];Qa[N[d+8>>2]](d,b);b=c;if(b){continue}break}}b=N[g+72>>2];N[a+56>>2]=b;c=N[g+188>>2];N[a+60>>2]=c;if(!(N[a+40>>2]|!b)){s=a,t=ob(b,h),N[s+40>>2]=t}e=0;if(N[a+52>>2]|!c){break a}s=a,t=ob(c,f),N[s+52>>2]=t;break a}if(!k){break a}}q=d&1;if(!(q|O[b+112|0])){e=36;break a}e=6;if(d&16384){break a}r=N[j+104>>2];p=N[j+96>>2];C(g+12|0,0,212);if(!o){m=(d&128)>>>7|0;e=N[b+304>>2];f:{g:{if((e|0)>=0){f=N[b+308>>2];if((f|0)<0){break g}if(e){break a}e=f;if(!e){break f}break a}k=N[b>>2];h=N[k+100>>2];e=N[b+132>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+132>>2]=0;e=N[b+144>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+144>>2]=0;e=N[b+252>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+252>>2]=0;e=N[b+260>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+260>>2]=0;e=N[b+300>>2];if(e){N[e+460>>2]=0;f=N[e+8>>2];i=N[e+24>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+20>>2]=0;N[e+24>>2]=0;i=N[e+400>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+396>>2]=0;N[e+400>>2]=0;i=N[e+500>>2];if(i){Qa[N[f+8>>2]](f,i)}M[e+496>>1]=0;N[e+500>>2]=0;i=N[e+456>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+456>>2]=0;N[e+448>>2]=0;N[e+452>>2]=0;i=N[e+412>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+408>>2]=0;N[e+412>>2]=0;N[e>>2]=0;N[e+4>>2]=0;Qa[N[f+8>>2]](f,e)}e=N[b+264>>2];if(e){f=N[b+292>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+292>>2]=0;f=N[b+288>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+288>>2]=0;f=N[b+280>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+280>>2]=0;f=N[b+276>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+276>>2]=0;f=N[b+284>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+284>>2]=0;N[b+272>>2]=0;N[b+264>>2]=0;N[b+268>>2]=0}N[b+304>>2]=-1;N[b+308>>2]=-1;i=0;e=N[k+96>>2];f=0;h:{if(!e){break h}l=N[e+8>>2];e=Qa[N[l+4>>2]](l,664)|0;f=0;if(!e){break h}C(e,0,664);N[e+452>>2]=32;N[e+8>>2]=l;f=Qa[N[l+4>>2]](l,512)|0;if(f){C(f,0,512);N[e+460>>2]=0;N[e+456>>2]=f;N[e+408>>2]=0;N[e+412>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e>>2]=0;N[e+4>>2]=0;f=e;break h}N[e+456>>2]=0;N[e+460>>2]=0;f=N[e+8>>2];l=N[e+24>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+20>>2]=0;N[e+24>>2]=0;l=N[e+400>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+396>>2]=0;N[e+400>>2]=0;l=N[e+500>>2];if(l){Qa[N[f+8>>2]](f,l)}M[e+496>>1]=0;N[e+500>>2]=0;l=N[e+456>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+456>>2]=0;N[e+448>>2]=0;N[e+452>>2]=0;l=N[e+412>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+408>>2]=0;N[e+412>>2]=0;N[e>>2]=0;N[e+4>>2]=0;Qa[N[f+8>>2]](f,e);f=0}N[b+300>>2]=f;e=P[k+280>>1];N[b+128>>2]=e;f=P[k+282>>1];N[b+148>>2]=0;N[b+152>>2]=0;N[b+136>>2]=0;N[b+124>>2]=0;N[b+140>>2]=f;N[b+248>>2]=N[k+700>>2];f=P[k+278>>1];L[b+113|0]=0;L[b+114|0]=0;M[b+256>>1]=f;N[b+96>>2]=0;N[b+100>>2]=0;N[b+104>>2]=0;N[b+108>>2]=0;i:{j:{if(e){e=T(e,24);i=Qa[N[h+4>>2]](h,e)|0;if(!i){break j}C(i,0,e)}N[g+224>>2]=0;N[b+132>>2]=i;s=b,t=lb(h,24,0,N[b+140>>2],0,g+224|0),N[s+144>>2]=t;e=N[g+224>>2];if(e){break i}s=b,t=lb(h,4,0,N[b+248>>2],0,g+224|0),N[s+252>>2]=t;e=N[g+224>>2];if(e){break i}s=b,t=lb(h,4,0,P[b+256>>1],0,g+224|0),N[s+260>>2]=t;e=N[g+224>>2];if(e){break i}e=P[k+276>>1];N[b+292>>2]=0;N[b+296>>2]=0;N[b+284>>2]=0;N[b+288>>2]=0;N[b+276>>2]=0;N[b+280>>2]=0;N[b+268>>2]=0;N[b+272>>2]=0;N[b+264>>2]=h;i=e+4|0;f=i&65535;s=b,t=lb(h,8,0,f,0,g+240|0),N[s+276>>2]=t;e=N[g+240>>2];k:{if(e){break k}s=b,t=lb(h,8,0,f,0,g+240|0),N[s+280>>2]=t;e=N[g+240>>2];if(e){break k}s=b,t=lb(h,8,0,f,0,g+240|0),N[s+284>>2]=t;e=N[g+240>>2];if(e){break k}e=0;l:{if(i&65535){e=Qa[N[h+4>>2]](h,f)|0;if(!e){break l}C(e,0,f)}M[b+268>>1]=i;N[b+292>>2]=0;N[b+288>>2]=e;M[b+270>>1]=0;M[b+272>>1]=i;F(b+180|0,26424,68);e=N[N[N[k+96>>2]+4>>2]+164>>2];N[k+708>>2]=e?e:146;f=N[b+300>>2];h=N[b>>2];e=Uh(f,h,b);m:{if(e){break m}N[f+512>>2]=0;N[f+516>>2]=0;N[f+508>>2]=64;N[f+16>>2]=0;N[f+448>>2]=0;N[f+596>>2]=16384;L[f+593|0]=m;N[f+220>>2]=0;N[f+224>>2]=0;L[f+520|0]=0;M[f+256>>1]=0;N[f+228>>2]=0;N[f+260>>2]=65536;N[f+264>>2]=0;k=N[h+688>>2];e=N[h+684>>2];N[f+472>>2]=0;N[f+476>>2]=0;N[f+468>>2]=e;N[f+464>>2]=k;N[f+480>>2]=0;N[f+484>>2]=0;n:{if(!e){N[b+304>>2]=0;break n}N[f+372>>2]=e;N[f+364>>2]=k;N[f+368>>2]=0;N[f+360>>2]=1;e=Qa[N[h+708>>2]](f)|0;N[b+304>>2]=e;if(e){break m}}N[b+124>>2]=N[f+416>>2];N[b+136>>2]=N[f+428>>2];N[b+148>>2]=N[f+440>>2];N[b+152>>2]=N[f+444>>2];e=N[f+468>>2];N[b+156>>2]=N[f+464>>2];N[b+160>>2]=e;e=N[f+476>>2];N[b+164>>2]=N[f+472>>2];N[b+168>>2]=e;e=N[f+484>>2];N[b+172>>2]=N[f+480>>2];N[b+176>>2]=e;e=0}break g}N[b+288>>2]=0;e=64}f=N[b+264>>2];if(!f){N[g+224>>2]=e;break i}h=N[b+292>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+292>>2]=0;h=N[b+288>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+288>>2]=0;h=N[b+280>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+280>>2]=0;h=N[b+276>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+276>>2]=0;h=N[b+284>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+284>>2]=0;N[b+272>>2]=0;N[b+264>>2]=0;N[b+268>>2]=0;break i}e=64;N[g+224>>2]=64;N[b+132>>2]=0}cn(b)}if(e){break a}e=N[b+308>>2];if((e|0)<0){f=P[b+272>>1];o:{if(!f){break o}h=N[b+280>>2];k=N[b+276>>2];e=0;if((f|0)!=1){l=f&65534;while(1){i=e<<3;n=i+k|0;N[n>>2]=0;N[n+4>>2]=0;n=h+i|0;N[n>>2]=0;N[n+4>>2]=0;i=i|8;n=i+k|0;N[n>>2]=0;N[n+4>>2]=0;i=h+i|0;N[i>>2]=0;N[i+4>>2]=0;e=e+2|0;if((l|0)!=(e|0)){continue}break}}if(!(f&1)){break o}e=e<<3;f=e+k|0;N[f>>2]=0;N[f+4>>2]=0;e=e+h|0;N[e>>2]=0;N[e+4>>2]=0}e=P[b+256>>1];if(e){C(N[b+260>>2],0,e<<2)}F(b+180|0,26424,68);e=bn(b,m)}if(e){break a}}f=N[b+300>>2];if(!f){e=153;break a}e=d&983040;p:{if(N[p+64>>2]!=40){h=(e|0)!=131072;k=0;i=0;e=0;break p}i=(e|0)!=131072;k=i&!(d&458752);h=0;e=d>>>18&1}L[f+642|0]=e;e=Uh(f,j,b);if(e){break a}q:{r:{s:{t:{if(N[p+64>>2]==40){e=O[f+641|0]==(i|0);if(!e){L[f+641|0]=i}if(O[f+646|0]!=(k|0)){break t}if(O[f+640|0]==(h|0)){break s}L[f+640|0]=h;break r}if(O[f+640|0]==(h|0)){break q}L[f+640|0]=h;break r}L[f+646|0]=k;if(O[f+640|0]==(h|0)){break r}L[f+640|0]=h;break r}if(e){break q}}e=bn(b,m);if(e){break a}}e=O[f+340|0];h=e<<1&2;if(e&2){F(f+288|0,26424,68)}L[f+593|0]=m;N[g+168>>2]=f;N[g+172>>2]=N[f+412>>2];d=d|h}e=N[N[a+156>>2]>>2];N[e+20>>2]=0;N[e+36>>2]=0;N[e+48>>2]=0;f=N[e+24>>2];N[e+56>>2]=N[e+20>>2];N[e+60>>2]=f;h=N[e+32>>2];f=e- -64|0;N[f>>2]=N[e+28>>2];N[f+4>>2]=h;N[e+88>>2]=N[e+52>>2];f=N[e+40>>2];N[e+72>>2]=N[e+36>>2];N[e+76>>2]=f;f=N[e+48>>2];N[e+80>>2]=N[e+44>>2];N[e+84>>2]=f;N[g+216>>2]=0;N[g+220>>2]=0;N[g+36>>2]=r;N[g+20>>2]=a;N[g+16>>2]=b;N[g+12>>2]=j;N[g+24>>2]=e;N[g+28>>2]=d;N[a+72>>2]=1869968492;N[a+124>>2]=0;N[a+128>>2]=0;e=Vh(g+12|0,c,0,0);u:{if(e){break u}d=N[g+24>>2];v:{if(N[a+72>>2]==1668246896){N[a+128>>2]=N[d+48>>2];N[a+132>>2]=N[d+52>>2];break v}f=N[d+24>>2];e=a+108|0;N[e>>2]=N[d+20>>2];N[e+4>>2]=f;N[e+16>>2]=N[d+36>>2];f=N[d+32>>2];N[e+8>>2]=N[d+28>>2];N[e+12>>2]=f;N[a+124>>2]=N[a+124>>2]&-513;d=N[g+80>>2];if(!d){break v}te(e,0-d|0,0)}w:{if(o){break w}d=8;e=N[g+168>>2];x:{if(!O[e+341|0]){break x}d=32;y:{switch(N[e+344>>2]){case 4:d=48;break x;case 5:d=16;break x;case 1:break w;case 0:break x;default:break y}}d=8}N[a+124>>2]=N[a+124>>2]|d}f=N[g+12>>2];j=65536;h=N[g+16>>2];d=N[g+20>>2];k=N[g+28>>2];j=k&1?j:N[N[h+44>>2]+8>>2];e=N[f+96>>2];z:{if(N[d+72>>2]!=1668246896){En(d+108|0,g+240|0);break z}i=N[g+60>>2];N[g+248>>2]=N[g+56>>2];N[g+252>>2]=i;i=N[g+52>>2];N[g+240>>2]=N[g+48>>2];N[g+244>>2]=i}N[d+56>>2]=N[g+72>>2];o=N[g+240>>2];N[d+32>>2]=o;i=N[g+252>>2];N[d+36>>2]=i;N[d+40>>2]=N[g+88>>2]-N[g+80>>2];A:{B:{if(N[e+64>>2]!=40){break B}e=N[g+168>>2];if(!e){break B}if(O[e+643|0]){break A}}if(N[f+488>>2]|k&2097154){break A}p=N[f+776>>2];if(!p){break A}e=0;m=N[f+768>>2];r=m?m+8|0:0;l=N[f+780>>2];n=N[f+784>>2];h=P[N[h+44>>2]>>1];while(1){if((h|0)==O[e+n|0]){h=c+2|0;if(!m|h>>>0>=l>>>0){break A}N[d+40>>2]=O[h+(r+T(e,l)|0)|0]<<6;break A}e=e+1|0;if((p|0)!=(e|0)){continue}break}}N[d+24>>2]=N[g+248>>2]-o;h=i-N[g+244>>2]|0;N[d+28>>2]=h;C:{if(!(!O[f+292|0]|!P[f+330>>1])){m=N[g+196>>2];h=fb(m-i|0,j)<<16>>16;e=0;i=N[g+204>>2];if((i|0)>=(m|0)){break C}e=fb(m-i|0,j)&65535;break C}e=P[f+372>>1]==65535;e=M[f+(e?220:442)>>1]-M[f+(e?222:444)>>1]|0;h=(e-(fb(h,j)<<16>>16)|0)/2|0}f=N[N[f+128>>2]+52>>2];D:{if(!f){break D}i=N[N[f>>2]+8>>2];if(!i){break D}N[g+232>>2]=e;N[g+228>>2]=h;N[g+224>>2]=0;e=Qa[i|0](N[f+4>>2],c,1,g+224|0)|0;if(e){break u}k=N[g+28>>2];e=N[g+232>>2];h=N[g+228>>2]}N[d+60>>2]=e;if(!(k&1)){h=ob(h,j);e=ob(e,j)}N[d+52>>2]=e;N[d+48>>2]=h;N[d+44>>2]=N[d+32>>2]+(N[d+40>>2]/-2|0);e=0}if(!(P[N[b+44>>2]+2>>1]>23|q)){N[a+124>>2]=N[a+124>>2]|256}c=N[N[g+12>>2]+100>>2];if(!c){break a}b=N[g+216>>2];if(!b){break a}while(1){a=N[b+4>>2];Qa[N[c+8>>2]](c,b);b=a;if(b){continue}break}}La=g+256|0;return e|0}function jm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=La-16|0;La=n;e=N[a+72>>2];m=N[a+64>>2];j=N[a+68>>2];a:{b:{c:{d:{e:{f:{g:{switch(N[a>>2]){case 0:l=N[a+164>>2];k=N[l+20>>2];h:{if(k){if(Qa[k|0](l,2,0,0)|0){break f}g=N[a+164>>2];k=N[g+4>>2];break h}g=l;k=N[g+4>>2];if(k>>>0<2){break f}}N[l+8>>2]=2;d=N[g+8>>2];if(k>>>0<=d>>>0){break f}l=N[g+20>>2];i:{if(l){k=Qa[l|0](g,d,n+15|0,1)|0;d=N[g+8>>2];break i}k=(d|0)!=(k|0);F(n+15|0,N[g>>2]+d|0,k)}N[g+8>>2]=d+k;if((k|0)!=1){break f}d=O[n+15|0];N[a+44>>2]=d&128;k=d&31;N[a+40>>2]=k;l=1<>2]=l-256;if(k>>>0>16){break f}N[a+52>>2]=9;N[a+56>>2]=d>>>7;N[a+60>>2]=k>>>0>9?256:l-255|0;e=0;k=zh(a);if(k>>>0>255){break f}if(b){L[b|0]=k}if(c>>>0<2){break e}l=1;N[a>>2]=1;j=k;m=j;break;case 2:break d;case 1:break g;default:break a}}d=0;break c}l=0;break b}d=1;j=k;m=j;break a}d=1}j:{while(1){k:{l:{m:{n:{if(!d){k=zh(a);if((k|0)<0){break b}if((k|0)!=256){i=j;break n}if(!N[a+44>>2]){i=j;k=256;break m}while(1){L[a+32|0]=1;j=0;N[a+56>>2]=0;k=zh(a);if((k|0)<0){m=0;break b}if((k|0)!=256){i=0;m=0;break n}k=256;i=0;m=0;if(N[a+44>>2]){continue}break}break m}o:{if(b){while(1){l=N[a+92>>2];if(!l){break o}l=l-1|0;N[a+92>>2]=l;L[b+f|0]=O[l+N[a+88>>2]|0];f=f+1|0;if((f|0)!=(c|0)){continue}break}d=c;break a}d=N[a+92>>2];while(1){if(!d){break o}d=d-1|0;N[a+92>>2]=d;f=f+1|0;if((f|0)!=(c|0)){continue}break}d=c;break a}l=f;p:{d=N[a+56>>2];if(d>>>0>2]){h=N[a+84>>2];if(h>>>0<=d>>>0){g=h?h+(h>>>2|0)|0:512;if((g|h)<0){break b}i=N[a+76>>2];d=N[a+168>>2];q:{r:{s:{if(!g){k=0;if(!i){break s}Qa[N[d+8>>2]](d,i);break s}if((g|0)>715827882){break b}t:{if(!h){k=Qa[N[d+4>>2]](d,T(g,3))|0;d=!k<<6;break t}d=Qa[N[d+12>>2]](d,T(h,3),T(g,3),i)|0;k=d?d:i;d=!d<<6}if(d|(h|0)>=(g|0)|!k){break r}C(T(h,3)+k|0,0,T(g-h|0,3))}N[a+76>>2]=k;break q}N[a+76>>2]=k;if(d){break b}}d=(g<<1)+k|0;N[a+80>>2]=d;F(d,(h<<1)+k|0,h);N[a+84>>2]=g;d=N[a+56>>2]}M[N[a+76>>2]+(d<<1)>>1]=m;L[N[a+80>>2]+d|0]=j;N[a+56>>2]=N[a+56>>2]+1}N[a>>2]=1;m=e;break p}d=0;continue}j=k;if(j>>>0<256){break l}}u:{j=k;d=j-256|0;e=N[a+56>>2];if(d>>>0>>0){break u}if(d>>>0>e>>>0){break k}d=N[a+96>>2];f=N[a+92>>2];if(d>>>0<=f>>>0){j=((d>>>1|0)+d|0)+4|0;h=N[a+168>>2];v:{w:{x:{f=N[a+88>>2];e=a+100|0;y:{if((f|0)!=(e|0)){z:{A:{if(j>>>0>=65537){j=65536;if((d|0)==65536|(d|0)<0){break k}break A}if((d|0)<0){break k}if(!j){break z}}if(!d){break x}g=Qa[N[h+12>>2]](h,d,j,f)|0;f=g?g:f;h=!g<<6;break w}g=0;if(f){Qa[N[h+8>>2]](h,f)}f=0;break y}g=0;N[a+88>>2]=0;d=0;f=0;j=j>>>0>=65536?65536:j;if(j){break x}}N[a+88>>2]=0;break v}d=0;f=Qa[N[h+4>>2]](h,j)|0;h=!f<<6}g=j;if(!(!f|(h|(g|0)<=(d|0)))){C(d+f|0,0,g-d|0);N[a+88>>2]=f;break v}N[a+88>>2]=f;if(h){break k}}if(!d){d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);j=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);L[f|0]=j;L[f+1|0]=j>>>8;L[f+2|0]=j>>>16;L[f+3|0]=j>>>24;L[f+4|0]=d;L[f+5|0]=d>>>8;L[f+6|0]=d>>>16;L[f+7|0]=d>>>24;d=O[e+60|0]|O[e+61|0]<<8|(O[e+62|0]<<16|O[e+63|0]<<24);j=O[e+56|0]|O[e+57|0]<<8|(O[e+58|0]<<16|O[e+59|0]<<24);L[f+56|0]=j;L[f+57|0]=j>>>8;L[f+58|0]=j>>>16;L[f+59|0]=j>>>24;L[f+60|0]=d;L[f+61|0]=d>>>8;L[f+62|0]=d>>>16;L[f+63|0]=d>>>24;d=O[e+52|0]|O[e+53|0]<<8|(O[e+54|0]<<16|O[e+55|0]<<24);j=O[e+48|0]|O[e+49|0]<<8|(O[e+50|0]<<16|O[e+51|0]<<24);L[f+48|0]=j;L[f+49|0]=j>>>8;L[f+50|0]=j>>>16;L[f+51|0]=j>>>24;L[f+52|0]=d;L[f+53|0]=d>>>8;L[f+54|0]=d>>>16;L[f+55|0]=d>>>24;d=O[e+44|0]|O[e+45|0]<<8|(O[e+46|0]<<16|O[e+47|0]<<24);j=O[e+40|0]|O[e+41|0]<<8|(O[e+42|0]<<16|O[e+43|0]<<24);L[f+40|0]=j;L[f+41|0]=j>>>8;L[f+42|0]=j>>>16;L[f+43|0]=j>>>24;L[f+44|0]=d;L[f+45|0]=d>>>8;L[f+46|0]=d>>>16;L[f+47|0]=d>>>24;d=O[e+36|0]|O[e+37|0]<<8|(O[e+38|0]<<16|O[e+39|0]<<24);j=O[e+32|0]|O[e+33|0]<<8|(O[e+34|0]<<16|O[e+35|0]<<24);L[f+32|0]=j;L[f+33|0]=j>>>8;L[f+34|0]=j>>>16;L[f+35|0]=j>>>24;L[f+36|0]=d;L[f+37|0]=d>>>8;L[f+38|0]=d>>>16;L[f+39|0]=d>>>24;d=O[e+28|0]|O[e+29|0]<<8|(O[e+30|0]<<16|O[e+31|0]<<24);j=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);L[f+24|0]=j;L[f+25|0]=j>>>8;L[f+26|0]=j>>>16;L[f+27|0]=j>>>24;L[f+28|0]=d;L[f+29|0]=d>>>8;L[f+30|0]=d>>>16;L[f+31|0]=d>>>24;d=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);j=O[e+16|0]|O[e+17|0]<<8|(O[e+18|0]<<16|O[e+19|0]<<24);L[f+16|0]=j;L[f+17|0]=j>>>8;L[f+18|0]=j>>>16;L[f+19|0]=j>>>24;L[f+20|0]=d;L[f+21|0]=d>>>8;L[f+22|0]=d>>>16;L[f+23|0]=d>>>24;d=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);j=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);L[f+8|0]=j;L[f+9|0]=j>>>8;L[f+10|0]=j>>>16;L[f+11|0]=j>>>24;L[f+12|0]=d;L[f+13|0]=d>>>8;L[f+14|0]=d>>>16;L[f+15|0]=d>>>24}N[a+96>>2]=g;f=N[a+92>>2]}N[a+92>>2]=f+1;L[N[a+88>>2]+f|0]=i;j=m;if(j>>>0>=256){break u}break l}h=a+100|0;d=N[a+76>>2];while(1){if(!d){break k}d=N[a+96>>2];f=N[a+92>>2];if(d>>>0<=f>>>0){f=((d>>>1|0)+d|0)+4|0;g=N[a+168>>2];B:{C:{D:{E:{F:{e=N[a+88>>2];G:{if((e|0)!=(h|0)){if(f>>>0>=65537){f=65536;if((d|0)==65536|(d|0)<0){break k}break F}if((d|0)<0){break k}if(f){break F}if(!e){break G}Qa[N[g+8>>2]](g,e);break G}d=0;N[a+88>>2]=0;f=f>>>0>=65536?65536:f;if(f){break E}}f=0;e=0;N[a+88>>2]=0;break B}if(d){break D}}d=0;e=Qa[N[g+4>>2]](g,f)|0;g=!e<<6;break C}g=Qa[N[g+12>>2]](g,d,f,e)|0;e=g?g:e;g=!g<<6}if(!(!e|(g|(d|0)>=(f|0)))){C(d+e|0,0,f-d|0);N[a+88>>2]=e;break B}N[a+88>>2]=e;if(g){break k}}if(!d){g=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);d=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);L[e|0]=d;L[e+1|0]=d>>>8;L[e+2|0]=d>>>16;L[e+3|0]=d>>>24;L[e+4|0]=g;L[e+5|0]=g>>>8;L[e+6|0]=g>>>16;L[e+7|0]=g>>>24;g=O[h+60|0]|O[h+61|0]<<8|(O[h+62|0]<<16|O[h+63|0]<<24);d=O[h+56|0]|O[h+57|0]<<8|(O[h+58|0]<<16|O[h+59|0]<<24);L[e+56|0]=d;L[e+57|0]=d>>>8;L[e+58|0]=d>>>16;L[e+59|0]=d>>>24;L[e+60|0]=g;L[e+61|0]=g>>>8;L[e+62|0]=g>>>16;L[e+63|0]=g>>>24;g=O[h+52|0]|O[h+53|0]<<8|(O[h+54|0]<<16|O[h+55|0]<<24);d=O[h+48|0]|O[h+49|0]<<8|(O[h+50|0]<<16|O[h+51|0]<<24);L[e+48|0]=d;L[e+49|0]=d>>>8;L[e+50|0]=d>>>16;L[e+51|0]=d>>>24;L[e+52|0]=g;L[e+53|0]=g>>>8;L[e+54|0]=g>>>16;L[e+55|0]=g>>>24;g=O[h+44|0]|O[h+45|0]<<8|(O[h+46|0]<<16|O[h+47|0]<<24);d=O[h+40|0]|O[h+41|0]<<8|(O[h+42|0]<<16|O[h+43|0]<<24);L[e+40|0]=d;L[e+41|0]=d>>>8;L[e+42|0]=d>>>16;L[e+43|0]=d>>>24;L[e+44|0]=g;L[e+45|0]=g>>>8;L[e+46|0]=g>>>16;L[e+47|0]=g>>>24;g=O[h+36|0]|O[h+37|0]<<8|(O[h+38|0]<<16|O[h+39|0]<<24);d=O[h+32|0]|O[h+33|0]<<8|(O[h+34|0]<<16|O[h+35|0]<<24);L[e+32|0]=d;L[e+33|0]=d>>>8;L[e+34|0]=d>>>16;L[e+35|0]=d>>>24;L[e+36|0]=g;L[e+37|0]=g>>>8;L[e+38|0]=g>>>16;L[e+39|0]=g>>>24;g=O[h+28|0]|O[h+29|0]<<8|(O[h+30|0]<<16|O[h+31|0]<<24);d=O[h+24|0]|O[h+25|0]<<8|(O[h+26|0]<<16|O[h+27|0]<<24);L[e+24|0]=d;L[e+25|0]=d>>>8;L[e+26|0]=d>>>16;L[e+27|0]=d>>>24;L[e+28|0]=g;L[e+29|0]=g>>>8;L[e+30|0]=g>>>16;L[e+31|0]=g>>>24;g=O[h+20|0]|O[h+21|0]<<8|(O[h+22|0]<<16|O[h+23|0]<<24);d=O[h+16|0]|O[h+17|0]<<8|(O[h+18|0]<<16|O[h+19|0]<<24);L[e+16|0]=d;L[e+17|0]=d>>>8;L[e+18|0]=d>>>16;L[e+19|0]=d>>>24;L[e+20|0]=g;L[e+21|0]=g>>>8;L[e+22|0]=g>>>16;L[e+23|0]=g>>>24;g=O[h+12|0]|O[h+13|0]<<8|(O[h+14|0]<<16|O[h+15|0]<<24);d=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);L[e+8|0]=d;L[e+9|0]=d>>>8;L[e+10|0]=d>>>16;L[e+11|0]=d>>>24;L[e+12|0]=g;L[e+13|0]=g>>>8;L[e+14|0]=g>>>16;L[e+15|0]=g>>>24}N[a+96>>2]=f;f=N[a+92>>2]}e=j-256|0;j=O[e+N[a+80>>2]|0];N[a+92>>2]=f+1;L[N[a+88>>2]+f|0]=j;d=N[a+76>>2];j=P[d+(e<<1)>>1];if(j>>>0>255){continue}break}}d=N[a+96>>2];f=N[a+92>>2];if(d>>>0<=f>>>0){e=((d>>>1|0)+d|0)+4|0;g=N[a+168>>2];H:{I:{J:{K:{L:{M:{N:{O:{f=N[a+88>>2];i=a+100|0;if((f|0)!=(i|0)){if(e>>>0>=65537){e=65536;if((d|0)==65536|(d|0)<0){break j}break N}if((d|0)>=0){break O}break j}h=0;N[a+88>>2]=0;d=0;f=0;e=e>>>0>=65536?65536:e;if(e){break M}break J}if(e){break N}h=0;if(!f){f=0;N[a+88>>2]=0;break H}Qa[N[g+8>>2]](g,f);f=0;N[a+88>>2]=0;break H}if(d){break L}}d=0;f=Qa[N[g+4>>2]](g,e)|0;g=!f<<6;break K}g=Qa[N[g+12>>2]](g,d,e,f)|0;f=g?g:f;g=!g<<6}h=e;if(!f|(g|(d|0)>=(e|0))){break I}C(d+f|0,0,h-d|0)}N[a+88>>2]=f;break H}N[a+88>>2]=f;if(g){break j}}if(!d){d=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);e=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);L[f|0]=e;L[f+1|0]=e>>>8;L[f+2|0]=e>>>16;L[f+3|0]=e>>>24;L[f+4|0]=d;L[f+5|0]=d>>>8;L[f+6|0]=d>>>16;L[f+7|0]=d>>>24;d=O[i+60|0]|O[i+61|0]<<8|(O[i+62|0]<<16|O[i+63|0]<<24);e=O[i+56|0]|O[i+57|0]<<8|(O[i+58|0]<<16|O[i+59|0]<<24);L[f+56|0]=e;L[f+57|0]=e>>>8;L[f+58|0]=e>>>16;L[f+59|0]=e>>>24;L[f+60|0]=d;L[f+61|0]=d>>>8;L[f+62|0]=d>>>16;L[f+63|0]=d>>>24;d=O[i+52|0]|O[i+53|0]<<8|(O[i+54|0]<<16|O[i+55|0]<<24);e=O[i+48|0]|O[i+49|0]<<8|(O[i+50|0]<<16|O[i+51|0]<<24);L[f+48|0]=e;L[f+49|0]=e>>>8;L[f+50|0]=e>>>16;L[f+51|0]=e>>>24;L[f+52|0]=d;L[f+53|0]=d>>>8;L[f+54|0]=d>>>16;L[f+55|0]=d>>>24;d=O[i+44|0]|O[i+45|0]<<8|(O[i+46|0]<<16|O[i+47|0]<<24);e=O[i+40|0]|O[i+41|0]<<8|(O[i+42|0]<<16|O[i+43|0]<<24);L[f+40|0]=e;L[f+41|0]=e>>>8;L[f+42|0]=e>>>16;L[f+43|0]=e>>>24;L[f+44|0]=d;L[f+45|0]=d>>>8;L[f+46|0]=d>>>16;L[f+47|0]=d>>>24;d=O[i+36|0]|O[i+37|0]<<8|(O[i+38|0]<<16|O[i+39|0]<<24);e=O[i+32|0]|O[i+33|0]<<8|(O[i+34|0]<<16|O[i+35|0]<<24);L[f+32|0]=e;L[f+33|0]=e>>>8;L[f+34|0]=e>>>16;L[f+35|0]=e>>>24;L[f+36|0]=d;L[f+37|0]=d>>>8;L[f+38|0]=d>>>16;L[f+39|0]=d>>>24;d=O[i+28|0]|O[i+29|0]<<8|(O[i+30|0]<<16|O[i+31|0]<<24);e=O[i+24|0]|O[i+25|0]<<8|(O[i+26|0]<<16|O[i+27|0]<<24);L[f+24|0]=e;L[f+25|0]=e>>>8;L[f+26|0]=e>>>16;L[f+27|0]=e>>>24;L[f+28|0]=d;L[f+29|0]=d>>>8;L[f+30|0]=d>>>16;L[f+31|0]=d>>>24;d=O[i+20|0]|O[i+21|0]<<8|(O[i+22|0]<<16|O[i+23|0]<<24);e=O[i+16|0]|O[i+17|0]<<8|(O[i+18|0]<<16|O[i+19|0]<<24);L[f+16|0]=e;L[f+17|0]=e>>>8;L[f+18|0]=e>>>16;L[f+19|0]=e>>>24;L[f+20|0]=d;L[f+21|0]=d>>>8;L[f+22|0]=d>>>16;L[f+23|0]=d>>>24;d=O[i+12|0]|O[i+13|0]<<8|(O[i+14|0]<<16|O[i+15|0]<<24);e=O[i+8|0]|O[i+9|0]<<8|(O[i+10|0]<<16|O[i+11|0]<<24);L[f+8|0]=e;L[f+9|0]=e>>>8;L[f+10|0]=e>>>16;L[f+11|0]=e>>>24;L[f+12|0]=d;L[f+13|0]=d>>>8;L[f+14|0]=d>>>16;L[f+15|0]=d>>>24}N[a+96>>2]=h;f=N[a+92>>2]}N[a+92>>2]=f+1;L[N[a+88>>2]+f|0]=j;N[a>>2]=2;e=k;f=l;d=1;continue}break}j=i}e=k}d=l;N[a>>2]=3}N[a+72>>2]=e;N[a+68>>2]=j;N[a+64>>2]=m;La=n+16|0;return d}function St(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=La-32|0;La=g;f=N[a+720>>2];a:{if(f){break a}b:{c:{d:{if(!(!N[a+736>>2]|!(P[a+6>>1]&32767|O[a+9|0]&128))){m=N[a+548>>2];d=N[a+100>>2];if(!N[a+744>>2]){N[g+4>>2]=-1;N[g+8>>2]=-1;h=P[a+340>>1];if(!h){f=0;break b}i=N[a+356>>2];while(1){f=i+T(c,20)|0;e:{if(P[f+6>>1]!=25|!P[f+8>>1]){break e}f:{g:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break e}b=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break f}break e;case 0:break g;default:break e}}if(P[f+2>>1]){break e}b=g+4|0;if(!P[f+4>>1]){break f}if(N[g+4>>2]!=-1){break e}}N[b>>2]=c}c=c+1|0;if((h|0)!=(c|0)){continue}break}h:{i:{c=N[g+8>>2];if((c|0)>=0){break i}e=N[g+4>>2];j:{if((e|0)>=0){break j}N[g+4>>2]=-1;N[g+8>>2]=-1;c=0;while(1){f=i+T(c,20)|0;k:{if(P[f+6>>1]!=16|!P[f+8>>1]){break k}l:{m:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break k}b=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break l}break k;case 0:break m;default:break k}}if(P[f+2>>1]){break k}b=g+4|0;if(!P[f+4>>1]){break l}if(N[g+4>>2]!=-1){break k}}N[b>>2]=c}c=c+1|0;if((h|0)!=(c|0)){continue}break}c=N[g+8>>2];if((c|0)>=0){break i}e=N[g+4>>2];if((e|0)>=0){break j}N[g+4>>2]=-1;N[g+8>>2]=-1;c=0;while(1){f=i+T(c,20)|0;n:{if(P[f+6>>1]!=1|!P[f+8>>1]){break n}o:{p:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break n}b=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break o}break n;case 0:break p;default:break n}}if(P[f+2>>1]){break n}b=g+4|0;if(!P[f+4>>1]){break o}if(N[g+4>>2]!=-1){break n}}N[b>>2]=c}c=c+1|0;if((h|0)!=(c|0)){continue}break}c=N[g+8>>2];if((c|0)>=0){break i}f=0;e=N[g+4>>2];if((e|0)<0){break b}}if((c|0)!=-1){break i}c=0;break h}c=Sl(d,N[a+368>>2],i+T(c,20)|0,178);e=N[g+4>>2]}q:{r:{s:{if(!((e|0)==-1|c)){f=N[a+368>>2];i=N[a+100>>2];n=N[a+356>>2];h=n+T(e,20)|0;c=Qa[N[i+4>>2]](i,P[h+8>>1]+1|0)|0;if(!c){f=0;break b}b=N[h+12>>2];j=N[f+20>>2];t:{if(j){if(!(Qa[j|0](f,b,0,0)|0)){break t}break r}if(b>>>0>Q[f+4>>2]){break r}}N[f+8>>2]=b;if(Bb(f,P[h+8>>1])){break r}b=c;k=P[h+8>>1];if(k){j=N[f+32>>2];while(1){l=L[j|0];if(l-58>>>0<=4294967285&(l&-33)-91>>>0<4294967270){break s}L[b|0]=l;j=j+1|0;b=b+1|0;k=k-1|0;if(k){continue}break}}L[b|0]=0;if(N[f+20>>2]){b=N[f>>2];if(b){e=N[f+28>>2];Qa[N[e+8>>2]](e,b)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}if(c){break q}f=0;break b}if(N[f+20>>2]){b=N[f>>2];if(b){d=N[f+28>>2];Qa[N[d+8>>2]](d,b)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}Qa[N[i+8>>2]](i,c);f=0;N[h+12>>2]=0;M[h+8>>1]=0;b=T(e,20)+n|0;d=N[b+16>>2];if(d){Qa[N[i+8>>2]](i,d)}N[b+16>>2]=0;break b}b=nb(c);if(b>>>0>=92){L[c+91|0]=0;b=91}N[a+748>>2]=b;N[a+744>>2]=c}Qa[N[m+40>>2]](a,g+20|0,g+16|0,0,g+12|0)|0;u:{v:{b=N[a+4>>2]&2147418112;if(!b|O[a+9|0]&128){break v}e=(b>>>16|0)-1|0;b=N[N[g+12>>2]+16>>2];f=N[(T(e,12)+b|0)+8>>2];c=N[a+540>>2];N[g+24>>2]=0;if(!((f|0)!=6&f-256>>>0>32511)){Qa[N[c+160>>2]](a,f&65535,g+24|0)|0;f=N[g+24>>2];if(f){break u}b=N[N[g+12>>2]+16>>2]}Qa[N[c+160>>2]](a,P[(T(e,12)+b|0)+4>>1],g)|0;b=N[g>>2];if(!b){break v}b=(N[a+748>>2]+nb(b)|0)+2|0;w:{if((b|0)>0){c=Qa[N[d+4>>2]](d,b)|0;if(c){break w}break c}if(b){break c}c=0}f=pd(c,N[a+744>>2]);b=f+N[a+748>>2]|0;L[b|0]=45;b=b+1|0;e=N[g>>2];c=O[e|0];if(c){while(1){i=c<<24>>24;if(!(!(i-48>>>0<10|i-65>>>0<26)&i-97>>>0>25)){L[b|0]=c;b=b+1|0}c=O[e+1|0];e=e+1|0;if(c){continue}break}}L[b|0]=0;c=N[g>>2];if(c){Qa[N[d+8>>2]](d,c)}c=b+1|0;break d}j=N[N[g+12>>2]+12>>2];b=(N[a+748>>2]+T(N[g+20>>2],17)|0)+1|0;x:{if((b|0)>0){f=Qa[N[d+4>>2]](d,b)|0;if(f){break x}f=0;break b}f=0;if(b){break b}}f=pd(f,N[a+744>>2]);e=f+N[a+748>>2]|0;if(N[g+20>>2]){c=N[g+16>>2];l=0;while(1){y:{if(N[c>>2]==N[j+8>>2]){break y}L[e|0]=95;c=N[N[g+16>>2]>>2];z:{if(!c){L[e+1|0]=48;e=e+2|0;break z}if((c|0)>=0){e=e+1|0}else{L[e+1|0]=45;c=0-c|0;e=e+2|0}k=c&65535;A:{if(c>>>0<65536){break A}d=c>>>16|0;c=g+24|0;b=0;while(1){i=(d>>>0)/10|0;L[c|0]=T(i,246)+d|48;h=b;b=b+1|0;c=c+1|0;m=d>>>0<10;d=i;if(!m){continue}break}if(g+24>>>0>=c>>>0){break A}d=0;b=b&7;if(b){while(1){c=c-1|0;L[e|0]=O[c|0];e=e+1|0;d=d+1|0;if((b|0)!=(d|0)){continue}break}}if(h>>>0<7){break A}while(1){L[e|0]=O[c-1|0];L[e+1|0]=O[c-2|0];L[e+2|0]=O[c-3|0];L[e+3|0]=O[c-4|0];L[e+4|0]=O[c-5|0];L[e+5|0]=O[c-6|0];L[e+6|0]=O[c-7|0];c=c-8|0;L[e+7|0]=O[c|0];e=e+8|0;if(g+24>>>0>>0){continue}break}}if(!k){break z}L[e|0]=46;b=T(k,10)+5|0;L[e+1|0]=(b>>>16|0)+48;b=T(b&65535,10);L[e+2|0]=b>>>16|48;b=T(b&65534,10);d=b>>>16|48;L[e+3|0]=d;B:{C:{D:{E:{F:{G:{H:{b=b&65532;if(!b){c=e+3|0;break H}b=T(b,10);d=b>>>16|48;L[e+4|0]=d;b=b&65528;if(!b){c=e+4|0;break H}b=T(b,10);i=b>>>16|0;d=i|48;L[e+5|0]=d;c=e+5|0;b=b&65520;if(!b){break H}if(b>>>0>=34480){break D}if((d|0)==49){break G}if((b|0)==17232){if(!(i&1)){break D}d=i+47|0;break E}if(b>>>0>17231){break D}break F}if((c-e|0)!=5){break D}if((d|0)!=49){break F}}L[c|0]=48;break C}if((d|0)==48){break C}d=d-1|0}L[c|0]=d}if((d|0)!=48){break B}}while(1){L[c|0]=0;c=c-1|0;if(O[c|0]==48){continue}break}}e=c+1|0}c=N[j+16>>2];b=c>>24;if(!((b|0)==32|!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25)){L[e|0]=c>>>24;e=e+1|0;c=N[j+16>>2]}d=c>>>16|0;b=d<<24;I:{if((b|0)==536870912){break I}b=b>>24;if(!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25){break I}L[e|0]=d;e=e+1|0;c=N[j+16>>2]}d=c>>>8|0;b=d<<24;J:{if((b|0)==536870912){break J}b=b>>24;if(!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25){break J}L[e|0]=d;e=e+1|0;c=N[j+16>>2]}b=c<<24;if((b|0)==536870912){break y}b=b>>24;if(!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25){break y}L[e|0]=c;e=e+1|0}c=N[g+16>>2]+4|0;N[g+16>>2]=c;j=j+24|0;l=l+1|0;if(l>>>0>2]){continue}break}}L[e|0]=0;c=e+1|0;break d}c=(nb(f)+f|0)+1|0;break d}N[g+20>>2]=-1;N[g+24>>2]=-1;f=P[a+340>>1];if(!f){f=0;break a}d=N[a+356>>2];while(1){b=d+T(c,20)|0;K:{if(P[b+6>>1]!=6|!P[b+8>>1]){break K}L:{M:{switch(P[b>>1]-1|0){case 2:if(P[b+2>>1]>1){break K}i=g+24|0;if(P[b+4>>1]==1033|N[g+24>>2]==-1){break L}break K;case 0:break M;default:break K}}if(P[b+2>>1]){break K}i=g+20|0;if(!P[b+4>>1]){break L}if(N[g+20>>2]!=-1){break K}}N[i>>2]=c}c=c+1|0;if((f|0)!=(c|0)){continue}break}e=N[g+20>>2];N:{O:{b=N[g+24>>2];if((b|0)>=0){break O}f=0;if((e|0)<0){break a}if((b|0)!=-1){break O}f=0;break N}f=Sl(N[a+100>>2],N[a+368>>2],d+T(b,20)|0,179)}if(f|(e|0)==-1){break b}b=N[a+368>>2];d=N[a+100>>2];l=N[a+356>>2];c=l+T(e,20)|0;f=Qa[N[d+4>>2]](d,P[c+8>>1]+1|0)|0;if(!f){f=0;break b}i=N[c+12>>2];h=N[b+20>>2];P:{Q:{if(h){if(!(Qa[h|0](b,i,0,0)|0)){break Q}break P}if(i>>>0>Q[b+4>>2]){break P}}N[b+8>>2]=i;if(Bb(b,P[c+8>>1])){break P}i=f;R:{k=P[c+8>>1];if(k){j=N[b+32>>2];while(1){h=O[j|0];m=h<<24>>24;if((m|0)<0|!(O[(h>>>3|0)+179360|0]>>>(h&7)&1)){break R}L[i|0]=m;j=j+1|0;i=i+1|0;k=k-1|0;if(k){continue}break}}L[i|0]=0;if(N[b+20>>2]){d=N[b>>2];if(d){c=N[b+28>>2];Qa[N[c+8>>2]](c,d)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;break b}if(N[b+20>>2]){i=N[b>>2];if(i){h=N[b+28>>2];Qa[N[h+8>>2]](h,i)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}Qa[N[d+8>>2]](d,f);f=0;N[c+12>>2]=0;M[c+8>>1]=0;b=l+T(e,20)|0;c=N[b+16>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+16>>2]=0;break b}k=c-f|0;if((k|0)<128){break b}d=0-(k>>>4|0)|0;h=(k&-16)+f|0;j=123456789;e=123456789;b=123456789;i=123456789;while(1){l=j;c=h+(d<<4)|0;j=N[c>>2];j=ZE(l^T(T(j,597399067)>>>17|T(j,-888307712),-1425107063),19)+e|0;l=e;e=N[c+4>>2];e=T(ZE(l^T(T(e,-1425107063)>>>16|T(e,-1752629248),951274213),17)+b|0,5)+197830471|0;l=b;b=N[c+8>>2];b=T(ZE(l^T(T(b,951274213)>>>15|T(b,-1781923840),-1578923117),15)+i|0,5)-1764942795|0;c=N[c+12>>2];j=T(j,5)+1444728091|0;l=T(ZE(T(T(c,-1578923117)>>>14|T(c,776732672),597399067)^i,13)+j|0,5)+850148119|0;i=l;d=d+1|0;if(d){continue}break}c=0;S:{switch((k&15)-1|0){case 14:c=O[h+14|0]<<16;case 13:c=O[h+13|0]<<8|c;case 12:d=O[h+12|0]^c;l=T(T(d,-1578923117)>>>14|T(d,776732672),597399067)^l;case 11:c=O[h+11|0]<<24;case 10:c=O[h+10|0]<<16|c;case 9:c=O[h+9|0]<<8^c;case 8:i=b;b=O[h+8|0]^c;b=i^T(T(b,951274213)>>>15|T(b,-1781923840),-1578923117);case 7:c=O[h+7|0]<<24;case 6:c=O[h+6|0]<<16|c;case 5:c=O[h+5|0]<<8^c;case 4:d=O[h+4|0]^c;e=T(T(d,-1425107063)>>>16|T(d,-1752629248),951274213)^e;case 3:c=O[h+3|0]<<24;case 2:c=O[h+2|0]<<16|c;case 1:c=O[h+1|0]<<8^c;case 0:d=O[h|0]^c;j=T(T(d,597399067)>>>17|T(d,-888307712),-1425107063)^j;break;default:break S}}d=N[a+748>>2]+f|0;L[d|0]=45;L[d+33|0]=46;L[d+34|0]=46;L[d+35|0]=46;L[d+36|0]=0;e=e^k;c=b^k;i=k^l;b=(e+(c+i|0)|0)+(j^k)|0;h=T(b>>>16^b,-2048144789);h=T(h>>>13^h,-1028477387);j=h>>>16^h;e=b+e|0;e=T(e>>>16^e,-2048144789);e=T(e>>>13^e,-1028477387);h=e>>>16^e;c=c+b|0;c=T(c>>>16^c,-2048144789);c=T(c>>>13^c,-1028477387);e=c>>>16^c;b=b+i|0;b=T(b>>>16^b,-2048144789);b=T(b>>>13^b,-1028477387);c=b>>>16^b;b=((j+h|0)+e|0)+c|0;c=c+b|0;L[d+32|0]=O[(c&15)+584032|0];L[d+25|0]=O[(c>>>28|0)+584032|0];e=b+e|0;L[d+24|0]=O[(e&15)+584032|0];L[d+31|0]=O[(c>>>4&15)+584032|0];L[d+30|0]=O[(c>>>8&15)+584032|0];L[d+29|0]=O[(c>>>12&15)+584032|0];L[d+28|0]=O[(c>>>16&15)+584032|0];L[d+27|0]=O[(c>>>20&15)+584032|0];L[d+26|0]=O[(c>>>24&15)+584032|0];L[d+23|0]=O[(e>>>4&15)+584032|0];L[d+22|0]=O[(e>>>8&15)+584032|0];L[d+21|0]=O[(e>>>12&15)+584032|0];L[d+20|0]=O[(e>>>16&15)+584032|0];L[d+19|0]=O[(e>>>20&15)+584032|0];L[d+18|0]=O[(e>>>24&15)+584032|0];c=b+h|0;L[d+16|0]=O[(c&15)+584032|0];L[d+17|0]=O[(e>>>28|0)+584032|0];L[d+15|0]=O[(c>>>4&15)+584032|0];L[d+14|0]=O[(c>>>8&15)+584032|0];L[d+13|0]=O[(c>>>12&15)+584032|0];L[d+12|0]=O[(c>>>16&15)+584032|0];L[d+11|0]=O[(c>>>20&15)+584032|0];L[d+10|0]=O[(c>>>24&15)+584032|0];L[d+9|0]=O[(c>>>28|0)+584032|0];L[d+8|0]=O[(b&15)+584032|0];L[d+7|0]=O[(b>>>4&15)+584032|0];L[d+6|0]=O[(b>>>8&15)+584032|0];L[d+5|0]=O[(b>>>12&15)+584032|0];L[d+4|0]=O[(b>>>16&15)+584032|0];L[d+3|0]=O[(b>>>20&15)+584032|0];L[d+2|0]=O[(b>>>24&15)+584032|0];L[d+1|0]=O[(b>>>28|0)+584032|0];break b}f=0}N[a+720>>2]=f}La=g+32|0;return f|0}function Sh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0;o=La-16|0;La=o;t=N[a+736>>2];j=N[a+104>>2];n=N[j+28>>2];N[o+4>>2]=0;p=6;a:{if(!O[a+733|0]|!t){break a}b:{if(!e){break b}f=N[c+4>>2];p=0;if((e|0)!=1){k=e&1;i=e&-2;while(1){g=p<<3;q=g+d|0;G=f+g|0;N[q>>2]=N[G>>2]<<6;N[q+4>>2]=N[G+4>>2]<<6;g=g|8;q=g+d|0;g=f+g|0;N[q>>2]=N[g>>2]<<6;N[q+4>>2]=N[g+4>>2]<<6;p=p+2|0;if((i|0)!=(p|0)){continue}break}if(!k){break b}}g=p<<3;k=g+d|0;f=f+g|0;N[k>>2]=N[f>>2]<<6;N[k+4>>2]=N[f+4>>2]<<6}p=0;if(Q[t+68>>2]<=b>>>0){break a}f=N[t+72>>2];g=b+1|0;if(N[f+(b<<2)>>2]==N[f+(g<<2)>>2]){break a}c:{d:{if((e|0)<0){p=6;break d}e:{f:{g:{if(!e){break g}p=10;if((e|0)>268435455){break d}f=e<<3;r=Qa[N[n+4>>2]](n,f)|0;h:{if(!(r?(e|0)>0:0)){N[o+12>>2]=!r<<6;if(r){break h}break c}C(r,0,f)}s=Qa[N[n+4>>2]](n,f)|0;i:{if(!(s?(e|0)>0:0)){N[o+12>>2]=!s<<6;if(s){break i}p=0;break f}C(s,0,f)}p=Qa[N[n+4>>2]](n,e)|0;if(!(!p|(e|0)<=0)){C(p,0,e);break g}f=!p;N[o+12>>2]=f<<6;if(f){break f}}f=N[t+72>>2];b=N[f+(b<<2)>>2];f=N[f+(g<<2)>>2];j:{k:{g=N[j+20>>2];l:{if(g){if(Qa[g|0](j,b,0,0)|0){break l}break k}if(b>>>0<=Q[j+4>>2]){break k}}N[o+12>>2]=85;break j}N[j+8>>2]=b;g=f-b|0;b=Bb(j,g);N[o+12>>2]=b;if(b){break j}k=N[j>>2];i=N[j+32>>2];H=lb(n,4,0,N[t>>2],0,o+12|0);m:{if(N[o+12>>2]){break m}K=lb(n,4,0,N[t>>2],0,o+12|0);if(N[o+12>>2]){break m}R=lb(n,4,0,N[t>>2],0,o+12|0);if(N[o+12>>2]){break m}f=N[j+36>>2];b=N[j+32>>2];if(f>>>0>b+1>>>0){h=O[b|0]|O[b+1|0]<<8;h=h<<8|h>>>8;b=b+2|0}N[j+32>>2]=b;if(f>>>0>b+1>>>0){D=O[b+1|0]|O[b|0]<<8;b=b+2|0}N[j+32>>2]=b;n:{if(g>>>0>=D>>>0){ba=h&4095;if(g>>>0>=ba<<2>>>0){break n}}N[o+12>>2]=8;break m}I=(i-k|0)+D|0;D=0;o:{if(h<<16>>16>=0){G=0;break o}h=N[j>>2];N[j+32>>2]=f-h>>>0>I>>>0?h+I|0:f;G=ag(j,N[t+76>>2],o+4|0);g=N[j+32>>2];f=N[j>>2];b=b-h|0;h=N[j+36>>2];N[j+32>>2]=b>>>0>>0?f+b|0:h;I=g-f|0}U=lb(n,4,0,e,0,o+12|0);p:{q:{r:{if(N[o+12>>2]){break r}D=lb(n,4,0,e,0,o+12|0);if(N[o+12>>2]){break r}s:{if(!e){break s}b=N[c+4>>2];f=0;if((e|0)!=1){g=e&1;k=e&-2;while(1){h=f<<3;i=h+r|0;q=b+h|0;N[i>>2]=N[q>>2]<<16;N[i+4>>2]=N[q+4>>2]<<16;h=h|8;i=h+r|0;h=b+h|0;N[i>>2]=N[h>>2]<<16;N[i+4>>2]=N[h+4>>2]<<16;f=f+2|0;if((k|0)!=(f|0)){continue}break}if(!g){break s}}f=f<<3;h=f+r|0;b=b+f|0;N[h>>2]=N[b>>2]<<16;N[h+4>>2]=N[b+4>>2]<<16}if(ba){na=e&-4;ea=e&3;fa=e-1|0;ga=e-2|0;ha=e-3|0;Z=e-4|0;ia=N[o+4>>2];i=0;while(1){g=N[j+36>>2];b=N[j+32>>2];t:{if(g>>>0<=b+1>>>0){ja=0;break t}ja=O[b+1|0]|O[b|0]<<8;b=b+2|0}N[j+32>>2]=b;k=0;w=0;u:{v:{w:{x:{y:{z:{A:{if(g>>>0<=b+1>>>0){break A}h=O[b|0]|O[b+1|0]<<8;f=b+2|0;N[j+32>>2]=f;b=h<<8|h>>>8;k=b&65535;w=b<<16>>16;if((w|0)>=0){break A}b=N[t>>2];if(!b){break z}l=0;B:{if((b|0)==1){q=0;break B}m=b&1;y=b&-2;q=0;h=0;while(1){C:{if(g>>>0<=f+1>>>0){b=0;break C}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(q<<2)+H>>2]=b<<16>>16<<2;b=0;if(g>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[((q|1)<<2)+H>>2]=b<<16>>16<<2;q=q+2|0;h=h+2|0;if((y|0)!=(h|0)){continue}break}if(!m){break z}}if(g>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;l=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(q<<2)+H>>2]=l<<16>>16<<2;break z}b=k&4095;if(b>>>0>=Q[t+60>>2]){break y}f=b;b=N[t>>2];F(H,N[t+64>>2]+(T(f,b)<<2)|0,b<<2)}if(!(k&16384)){break u}m=N[t>>2];if(!m){break u}y=m&1;f=N[j+32>>2];l=N[j+36>>2];q=0;E=m-1|0;if(!E){g=0;break w}J=m&-2;g=0;h=0;while(1){D:{if(l>>>0<=f+1>>>0){b=0;break D}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+K>>2]=b<<16>>16<<2;b=0;if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[((g|1)<<2)+K>>2]=b<<16>>16<<2;g=g+2|0;h=h+2|0;if((J|0)!=(h|0)){continue}break}break x}N[o+12>>2]=8;break r}if(!y){break v}}if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;q=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+K>>2]=q<<16>>16<<2}q=0;E:{if(!E){g=0;break E}m=m&-2;g=0;h=0;while(1){F:{if(l>>>0<=f+1>>>0){b=0;break F}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+R>>2]=b<<16>>16<<2;b=0;if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[((g|1)<<2)+R>>2]=b<<16>>16<<2;g=g+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}if(!y){break u}}if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;q=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+R>>2]=q<<16>>16<<2}h=$m(t,w&65535,H,K,R);if(h){oa=N[j+32>>2];ca=N[j>>2];b=N[j+36>>2];N[j+32>>2]=b-ca>>>0>I>>>0?ca+I|0:b;G:{if(k&8192){q=ag(j,N[t+76>>2],o+8|0);k=q;b=N[o+8>>2];break G}N[o+8>>2]=ia;q=i;k=G;b=ia}f=b?b:e;y=Rh(j,N[t+76>>2],f);E=Rh(j,N[t+76>>2],f);H:{if(!y|(!k|!E)){break H}I:{J:{K:{if((k|0)!=-1){if(!e){break I}g=0;f=0;if(e>>>0>=4){break K}break J}f=0;if(!e){break H}while(1){b=f<<2;g=b+D|0;k=N[g>>2];i=b+U|0;l=N[i>>2];m=ob(N[b+y>>2],h);b=ob(N[b+E>>2],h);L:{if(f>>>0>>0){N[i>>2]=l+m;N[g>>2]=b+k;break L}if(!(O[a+740|0]&4|(f|0)!=(Z|0))){N[i>>2]=l+m;break L}if(!(O[a+740|0]&2|(f|0)!=(ha|0))){N[i>>2]=l+m;break L}if(!(O[a+740|0]&32|(f|0)!=(ga|0))){N[g>>2]=b+k;break L}if(O[a+740|0]&16|(f|0)!=(fa|0)){break L}N[g>>2]=b+k}f=f+1|0;if((f|0)!=(e|0)){continue}break}break H}while(1){L[f+p|0]=0;i=f<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;i=f|1;L[i+p|0]=0;i=i<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;i=f|2;L[i+p|0]=0;i=i<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;i=f|3;L[i+p|0]=0;i=i<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;f=f+4|0;if((na|0)!=(f|0)){continue}break}}if(!ea){break I}while(1){L[f+p|0]=0;i=f<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;f=f+1|0;g=g+1|0;if((ea|0)!=(g|0)){continue}break}}f=0;if(b){while(1){g=P[(f<<1)+k>>1];if(g>>>0>>0){L[g+p|0]=1;g=(g<<3)+s|0;i=N[g>>2];l=i;i=f<<2;ta=g,ua=l+ob(N[i+y>>2],h)|0,N[ta>>2]=ua;ta=g,ua=N[g+4>>2]+ob(N[i+E>>2],h)|0,N[ta+4>>2]=ua}f=f+1|0;if((b|0)!=(f|0)){continue}break}}i=0;_=0;if(P[c>>1]){da=s+4|0;J=r+4|0;while(1){w=M[N[c+12>>2]+(_<<1)>>1];M:{if((w|0)<(i|0)){break M}f=w+1|0;$=0;k=i;while(1){b=k+1|0;if(O[k+p|0]){f=k;g=f;N:{O:{P:{Q:{ka=(f|0)<(w|0);if(ka){while(1){l=f;f=b;h=g;R:{if(!O[p+f|0]){break R}h=f;if((g|0)>=(l|0)){break R}b=g+1|0;m=N[(g<<3)+r>>2]>N[(f<<3)+r>>2];V=m?g:f;W=V<<3;h=N[W+s>>2];X=m?f:g;Y=X<<3;z=N[Y+s>>2];u=N[r+W>>2];x=N[r+Y>>2];if(!((u|0)==(x|0)&(h|0)!=(z|0))){m=0;aa=h-u|0;S=z-x|0;if((u|0)!=(x|0)){m=fb(h-z|0,u-x|0)}h=m>>31;v=(h^m)-h|0;pa=v&65535;qa=v>>>16|0;ra=v>>>8|0;g=b;while(1){h=g;la=g<<3;g=N[la+r>>2];S:{if((g|0)<=(x|0)){A=g+S|0;break S}A=g+aa|0;if((g|0)>=(u|0)){break S}A=g-x|0;g=A>>31;g=(g^A)-g|0;T:{if(g+ra>>>0<=8190){B=T(g,v)+32768>>>16|0;break T}B=g&65535;B=T(B,qa)+T(v,g>>>16|0)+(T(pa,B)+32768>>>16)|0}g=B;sa=0-g|0;g=A>>31|1;A=z+((((m|0)<0?0-g|0:g)|0)<0?sa:B)|0}N[s+la>>2]=A;g=h+1|0;if((h|0)!=(l|0)){continue}break}}h=N[J+Y>>2]>N[J+W>>2];g=(h?X:V)<<3;u=N[g+da>>2];h=(h?V:X)<<3;x=N[h+da>>2];z=N[g+J>>2];g=N[h+J>>2];if((z|0)==(g|0)){h=f;if((u|0)!=(x|0)){break R}}m=0;A=u-z|0;V=x-g|0;if((g|0)!=(z|0)){m=fb(u-x|0,z-g|0)}h=m>>31;u=(h^m)-h|0;W=u&65535;X=u>>>16|0;Y=u>>>8|0;while(1){h=b;aa=b<<3;b=N[aa+J>>2];U:{if((b|0)<=(g|0)){v=b+V|0;break U}v=b+A|0;if((b|0)>=(z|0)){break U}v=b-g|0;b=v>>31;b=(b^v)-b|0;V:{if(b+Y>>>0<=8190){B=T(b,u)+32768>>>16|0;break V}S=b&65535;B=T(S,X)+T(u,b>>>16|0)+(T(W,S)+32768>>>16)|0}b=B;S=0-b|0;b=v>>31|1;v=x+((((m|0)<0?0-b|0:b)|0)<0?S:B)|0}N[da+aa>>2]=v;b=h+1|0;if((h|0)!=(l|0)){continue}break}h=f}g=h;b=f+1|0;if((f|0)<(w|0)){continue}break}if((g|0)!=(k|0)){break Q}}h=k<<3;g=h+r|0;f=N[g+4>>2];l=h+s|0;h=N[l+4>>2];l=N[l>>2];g=N[g>>2];if((l|0)==(g|0)&(f|0)==(h|0)){break N}h=h-f|0;g=l-g|0;if((i|0)>=(k|0)){break O}if($&1){f=(i<<3)+s|0;N[f>>2]=g+N[f>>2];N[f+4>>2]=h+N[f+4>>2];i=i+1|0}if(($|0)!=1){break P}break O}Zm(g+1|0,w,g,k,r,s);if((k|0)<=0){break N}Zm(i,k-1|0,g,k,r,s);break N}while(1){f=(i<<3)+s|0;N[f>>2]=g+N[f>>2];N[f+4>>2]=h+N[f+4>>2];N[f+12>>2]=h+N[f+12>>2];N[f+8>>2]=g+N[f+8>>2];i=i+2|0;if((i|0)!=(k|0)){continue}break}}if(!ka){break N}while(1){k=k+1|0;f=(k<<3)+s|0;N[f>>2]=g+N[f>>2];N[f+4>>2]=h+N[f+4>>2];if((k|0)!=(w|0)){continue}break}}i=b;break M}$=$+1|0;h=(k|0)==(w|0);k=b;if(!h){continue}break}i=f}_=_+1|0;if((_|0)>1]){continue}break}}f=0;if(!e){break H}while(1){b=f<<3;h=b+s|0;g=b+r|0;b=N[h+4>>2]-N[g+4>>2]|0;h=N[h>>2]-N[g>>2]|0;i=f<<2;g=i+D|0;k=N[g>>2];i=i+U|0;l=N[i>>2];W:{if(f>>>0>>0){N[i>>2]=h+l;N[g>>2]=b+k;break W}if(!(O[a+740|0]&4|(f|0)!=(Z|0))){N[i>>2]=h+l;break W}if(!(O[a+740|0]&2|(f|0)!=(ha|0))){N[i>>2]=h+l;break W}if(!(O[a+740|0]&32|(f|0)!=(ga|0))){N[g>>2]=b+k;break W}if(O[a+740|0]&16|(f|0)!=(fa|0)){break W}N[g>>2]=b+k}f=f+1|0;if((f|0)!=(e|0)){continue}break}}i=-1;X:{switch(q+1|0){default:Qa[N[n+8>>2]](n,q);case 1:i=0;break;case 0:break X}}if(y){Qa[N[n+8>>2]](n,y)}if(E){Qa[N[n+8>>2]](n,E)}b=oa-ca|0;f=N[j>>2];h=N[j+36>>2];N[j+32>>2]=b>>>0>>0?b+f|0:h}I=I+ja|0;ma=ma+1|0;if((ma|0)!=(ba|0)){continue}break}}if(!e){break r}b=N[c+4>>2];f=0;while(1){c=f<<3;a=c+d|0;h=f<<2;g=h+U|0;N[a>>2]=N[a>>2]+(N[g>>2]+512>>10);h=h+D|0;N[a+4>>2]=N[a+4>>2]+(N[h>>2]+512>>10);a=b+c|0;N[a>>2]=N[a>>2]+(N[g>>2]+32768>>16);N[a+4>>2]=N[a+4>>2]+(N[h>>2]+32768>>16);f=f+1|0;if((f|0)!=(e|0)){continue}break}break q}if(!U){break p}}Qa[N[n+8>>2]](n,U)}if(D){Qa[N[n+8>>2]](n,D)}if(G+1>>>0<2){break m}Qa[N[n+8>>2]](n,G)}if(H){Qa[N[n+8>>2]](n,H)}if(K){Qa[N[n+8>>2]](n,K)}if(R){Qa[N[n+8>>2]](n,R)}if(N[j+20>>2]){a=N[j>>2];if(a){b=N[j+28>>2];Qa[N[b+8>>2]](b,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0}if(!r){break e}}Qa[N[n+8>>2]](n,r)}if(s){Qa[N[n+8>>2]](n,s)}if(!p){break c}Qa[N[n+8>>2]](n,p);break c}N[o+12>>2]=p}p=N[o+12>>2]}La=o+16|0;return p}function kb(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=La-16|0;La=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if(a>>>0<=244){j=N[147317];g=a>>>0<11?16:a+11&-8;c=g>>>3|0;b=j>>>c|0;if(b&3){c=c+((b^-1)&1)|0;a=c<<3;b=a+589308|0;d=N[a+589316>>2];a=N[d+8>>2];n:{if((b|0)==(a|0)){m=589268,n=ZE(-2,c)&j,N[m>>2]=n;break n}N[a+12>>2]=b;N[b+8>>2]=a}a=d+8|0;b=c<<3;N[d+4>>2]=b|3;b=b+d|0;N[b+4>>2]=N[b+4>>2]|1;break a}i=N[147319];if(i>>>0>=g>>>0){break m}if(b){a=2<>2];a=N[f+8>>2];o:{if((b|0)==(a|0)){j=ZE(-2,d)&j;N[147317]=j;break o}N[a+12>>2]=b;N[b+8>>2]=a}N[f+4>>2]=g|3;c=f+g|0;a=d<<3;d=a-g|0;N[c+4>>2]=d|1;N[a+f>>2]=d;if(i){b=(i&-8)+589308|0;e=N[147322];a=1<<(i>>>3);p:{if(!(a&j)){N[147317]=a|j;a=b;break p}a=N[b+8>>2]}N[b+8>>2]=e;N[a+12>>2]=e;N[e+12>>2]=b;N[e+8>>2]=a}a=f+8|0;N[147322]=c;N[147319]=d;break a}k=N[147318];if(!k){break m}c=N[(SE(k&0-k)<<2)+589572>>2];d=(N[c+4>>2]&-8)-g|0;b=c;while(1){q:{a=N[b+16>>2];if(!a){a=N[b+20>>2];if(!a){break q}}b=(N[a+4>>2]&-8)-g|0;e=b>>>0>>0;d=e?b:d;c=e?a:c;b=a;continue}break}h=N[c+24>>2];e=N[c+12>>2];if((e|0)!=(c|0)){a=N[c+8>>2];N[a+12>>2]=e;N[e+8>>2]=a;break b}b=c+20|0;a=N[b>>2];if(!a){a=N[c+16>>2];if(!a){break l}b=c+16|0}while(1){f=b;e=a;b=a+20|0;a=N[b>>2];if(a){continue}b=e+16|0;a=N[e+16>>2];if(a){continue}break}N[f>>2]=0;break b}g=-1;if(a>>>0>4294967231){break m}a=a+11|0;g=a&-8;h=N[147318];if(!h){break m}d=0-g|0;k=0;r:{if(g>>>0<256){break r}k=31;if(g>>>0>16777215){break r}a=W(a>>>8|0);k=((g>>>38-a&1)-(a<<1)|0)+62|0}b=N[(k<<2)+589572>>2];s:{t:{u:{if(!b){a=0;break u}a=0;c=g<<((k|0)!=31?25-(k>>>1|0)|0:0);while(1){v:{f=(N[b+4>>2]&-8)-g|0;if(f>>>0>=d>>>0){break v}e=b;d=f;if(d){break v}d=0;a=b;break t}f=N[b+20>>2];b=N[((c>>>29&4)+b|0)+16>>2];a=f?(f|0)==(b|0)?a:f:a;c=c<<1;if(b){continue}break}}if(!(a|e)){e=0;a=2<>2]}if(!a){break s}}while(1){b=(N[a+4>>2]&-8)-g|0;c=b>>>0>>0;d=c?b:d;e=c?a:e;b=N[a+16>>2];if(b){a=b}else{a=N[a+20>>2]}if(a){continue}break}}if(!e|N[147319]-g>>>0<=d>>>0){break m}k=N[e+24>>2];c=N[e+12>>2];if((e|0)!=(c|0)){a=N[e+8>>2];N[a+12>>2]=c;N[c+8>>2]=a;break c}b=e+20|0;a=N[b>>2];if(!a){a=N[e+16>>2];if(!a){break k}b=e+16|0}while(1){f=b;c=a;b=a+20|0;a=N[b>>2];if(a){continue}b=c+16|0;a=N[c+16>>2];if(a){continue}break}N[f>>2]=0;break c}a=N[147319];if(a>>>0>=g>>>0){d=N[147322];b=a-g|0;w:{if(b>>>0>=16){c=d+g|0;N[c+4>>2]=b|1;N[a+d>>2]=b;N[d+4>>2]=g|3;break w}N[d+4>>2]=a|3;a=a+d|0;N[a+4>>2]=N[a+4>>2]|1;c=0;b=0}N[147319]=b;N[147322]=c;a=d+8|0;break a}i=N[147320];if(i>>>0>g>>>0){b=i-g|0;N[147320]=b;c=N[147323];a=c+g|0;N[147323]=a;N[a+4>>2]=b|1;N[c+4>>2]=g|3;a=c+8|0;break a}a=0;k=g+47|0;if(N[147435]){c=N[147437]}else{N[147438]=-1;N[147439]=-1;N[147436]=4096;N[147437]=4096;N[147435]=l+12&-16^1431655768;N[147440]=0;N[147428]=0;c=4096}f=k+c|0;e=0-c|0;b=f&e;if(b>>>0<=g>>>0){break a}d=N[147427];if(d){c=N[147425];h=c+b|0;if(d>>>0>>0|c>>>0>=h>>>0){break a}}x:{if(!(O[589712]&4)){y:{z:{A:{B:{h=N[147323];if(h){d=589716;while(1){c=N[d>>2];if(c>>>0<=h>>>0&h>>>0>2]>>>0){break B}d=N[d+8>>2];if(d){continue}break}}c=Ae(0);if((c|0)==-1){break y}e=b;f=N[147436];d=f-1|0;if(d&c){e=(b-c|0)+(c+d&0-f)|0}if(e>>>0<=g>>>0){break y}f=N[147427];if(f){d=N[147425];h=d+e|0;if(f>>>0>>0|d>>>0>=h>>>0){break y}}d=Ae(e);if((d|0)!=(c|0)){break A}break x}e=e&f-i;c=Ae(e);if((c|0)==(N[d>>2]+N[d+4>>2]|0)){break z}d=c}if((d|0)==-1){break y}if(g+48>>>0<=e>>>0){c=d;break x}c=N[147437];c=c+(k-e|0)&0-c;if((Ae(c)|0)==-1){break y}e=c+e|0;c=d;break x}if((c|0)!=-1){break x}}N[147428]=N[147428]|4}c=Ae(b);b=Ae(0);if((c|0)==-1|(b|0)==-1|b>>>0<=c>>>0){break a}e=b-c|0;if(e>>>0<=g+40>>>0){break a}}a=N[147425]+e|0;N[147425]=a;if(a>>>0>Q[147426]){N[147426]=a}C:{i=N[147323];if(i){a=589716;while(1){d=N[a>>2];b=N[a+4>>2];if((d+b|0)==(c|0)){break C}a=N[a+8>>2];if(a){continue}break}break j}a=N[147321];if(!(a>>>0<=c>>>0?a:0)){N[147321]=c}a=0;N[147430]=e;N[147429]=c;N[147325]=-1;N[147326]=N[147435];N[147432]=0;while(1){d=a<<3;b=d+589308|0;N[d+589316>>2]=b;N[d+589320>>2]=b;a=a+1|0;if((a|0)!=32){continue}break}d=e-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;N[147320]=b;a=a+c|0;N[147323]=a;N[a+4>>2]=b|1;N[(c+d|0)+4>>2]=40;N[147324]=N[147439];break i}if(N[a+12>>2]&8|(c>>>0<=i>>>0|d>>>0>i>>>0)){break j}N[a+4>>2]=b+e;a=i+8&7?-8-i&7:0;c=a+i|0;N[147323]=c;b=N[147320]+e|0;a=b-a|0;N[147320]=a;N[c+4>>2]=a|1;N[(b+i|0)+4>>2]=40;N[147324]=N[147439];break i}e=0;break b}c=0;break c}if(Q[147321]>c>>>0){N[147321]=c}b=c+e|0;a=589716;D:{E:{F:{while(1){if((b|0)!=N[a>>2]){a=N[a+8>>2];if(a){continue}break F}break}if(!(O[a+12|0]&8)){break E}}a=589716;while(1){b=N[a>>2];if(b>>>0<=i>>>0){f=b+N[a+4>>2]|0;if(f>>>0>i>>>0){break D}}a=N[a+8>>2];continue}}N[a>>2]=c;N[a+4>>2]=N[a+4>>2]+e;k=(c+8&7?-8-c&7:0)+c|0;N[k+4>>2]=g|3;j=b+(b+8&7?-8-b&7:0)|0;h=g+k|0;a=j-h|0;if((i|0)==(j|0)){N[147323]=h;a=N[147320]+a|0;N[147320]=a;N[h+4>>2]=a|1;break d}if(N[147322]==(j|0)){N[147322]=h;a=N[147319]+a|0;N[147319]=a;N[h+4>>2]=a|1;N[a+h>>2]=a;break d}d=N[j+4>>2];if((d&3)!=1){break e}f=d&-8;if(d>>>0<=255){b=d>>>3|0;d=N[j+12>>2];c=N[j+8>>2];if((d|0)==(c|0)){m=589268,n=N[147317]&ZE(-2,b),N[m>>2]=n;break f}N[c+12>>2]=d;N[d+8>>2]=c;break f}g=N[j+24>>2];c=N[j+12>>2];if((j|0)!=(c|0)){b=N[j+8>>2];N[b+12>>2]=c;N[c+8>>2]=b;break g}b=j+20|0;d=N[b>>2];if(!d){d=N[j+16>>2];if(!d){break h}b=j+16|0}while(1){e=b;c=d;b=c+20|0;d=N[b>>2];if(d){continue}b=c+16|0;d=N[c+16>>2];if(d){continue}break}N[e>>2]=0;break g}d=e-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;N[147320]=b;a=a+c|0;N[147323]=a;N[a+4>>2]=b|1;N[(c+d|0)+4>>2]=40;N[147324]=N[147439];a=(f+(f-39&7?39-f&7:0)|0)-47|0;d=a>>>0>>0?i:a;N[d+4>>2]=27;a=N[147432];N[d+16>>2]=N[147431];N[d+20>>2]=a;a=N[147430];N[d+8>>2]=N[147429];N[d+12>>2]=a;N[147431]=d+8;N[147430]=e;N[147429]=c;N[147432]=0;a=d+24|0;while(1){N[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((d|0)==(i|0)){break i}N[d+4>>2]=N[d+4>>2]&-2;f=d-i|0;N[i+4>>2]=f|1;N[d>>2]=f;if(f>>>0<=255){b=(f&-8)+589308|0;c=N[147317];a=1<<(f>>>3);G:{if(!(c&a)){N[147317]=a|c;a=b;break G}a=N[b+8>>2]}N[b+8>>2]=i;N[a+12>>2]=i;N[i+12>>2]=b;N[i+8>>2]=a;break i}a=31;if(f>>>0<=16777215){a=W(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}N[i+28>>2]=a;N[i+16>>2]=0;N[i+20>>2]=0;d=(a<<2)+589572|0;H:{c=N[147318];b=1<>2]=i;N[i+24>>2]=d;break I}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);e=N[d>>2];while(1){b=e;if((f|0)==(N[b+4>>2]&-8)){break H}c=a>>>29|0;a=a<<1;c=b+(c&4)|0;e=N[c+16>>2];if(e){continue}break}N[c+16>>2]=i;N[i+24>>2]=b}N[i+12>>2]=i;N[i+8>>2]=i;break i}a=N[b+8>>2];N[a+12>>2]=i;N[b+8>>2]=i;N[i+24>>2]=0;N[i+12>>2]=b;N[i+8>>2]=a}a=0;b=N[147320];if(b>>>0<=g>>>0){break a}b=b-g|0;N[147320]=b;c=N[147323];a=c+g|0;N[147323]=a;N[a+4>>2]=b|1;N[c+4>>2]=g|3;a=c+8|0;break a}c=0}if(!g){break f}d=N[j+28>>2];b=(d<<2)+589572|0;J:{if(N[b>>2]==(j|0)){N[b>>2]=c;if(c){break J}m=589272,n=N[147318]&ZE(-2,d),N[m>>2]=n;break f}N[g+(N[g+16>>2]==(j|0)?16:20)>>2]=c;if(!c){break f}}N[c+24>>2]=g;b=N[j+16>>2];if(b){N[c+16>>2]=b;N[b+24>>2]=c}b=N[j+20>>2];if(!b){break f}N[c+20>>2]=b;N[b+24>>2]=c}a=a+f|0;j=f+j|0;d=N[j+4>>2]}N[j+4>>2]=d&-2;N[h+4>>2]=a|1;N[a+h>>2]=a;if(a>>>0<=255){b=(a&-8)+589308|0;c=N[147317];a=1<<(a>>>3);K:{if(!(c&a)){N[147317]=a|c;a=b;break K}a=N[b+8>>2]}N[b+8>>2]=h;N[a+12>>2]=h;N[h+12>>2]=b;N[h+8>>2]=a;break d}d=31;if(a>>>0<=16777215){b=W(a>>>8|0);d=((a>>>38-b&1)-(b<<1)|0)+62|0}N[h+28>>2]=d;N[h+16>>2]=0;N[h+20>>2]=0;e=(d<<2)+589572|0;L:{c=N[147318];b=1<>2]=h;N[h+24>>2]=e;break M}d=a<<((d|0)!=31?25-(d>>>1|0)|0:0);c=N[e>>2];while(1){b=c;if((N[c+4>>2]&-8)==(a|0)){break L}c=d>>>29|0;d=d<<1;e=b+(c&4)|0;c=N[e+16>>2];if(c){continue}break}N[e+16>>2]=h;N[h+24>>2]=b}N[h+12>>2]=h;N[h+8>>2]=h;break d}a=N[b+8>>2];N[a+12>>2]=h;N[b+8>>2]=h;N[h+24>>2]=0;N[h+12>>2]=b;N[h+8>>2]=a}a=k+8|0;break a}N:{if(!k){break N}b=N[e+28>>2];a=(b<<2)+589572|0;O:{if(N[a>>2]==(e|0)){N[a>>2]=c;if(c){break O}h=ZE(-2,b)&h;N[147318]=h;break N}N[k+(N[k+16>>2]==(e|0)?16:20)>>2]=c;if(!c){break N}}N[c+24>>2]=k;a=N[e+16>>2];if(a){N[c+16>>2]=a;N[a+24>>2]=c}a=N[e+20>>2];if(!a){break N}N[c+20>>2]=a;N[a+24>>2]=c}P:{if(d>>>0<=15){a=d+g|0;N[e+4>>2]=a|3;a=a+e|0;N[a+4>>2]=N[a+4>>2]|1;break P}N[e+4>>2]=g|3;f=e+g|0;N[f+4>>2]=d|1;N[d+f>>2]=d;if(d>>>0<=255){b=(d&-8)+589308|0;c=N[147317];a=1<<(d>>>3);Q:{if(!(c&a)){N[147317]=a|c;a=b;break Q}a=N[b+8>>2]}N[b+8>>2]=f;N[a+12>>2]=f;N[f+12>>2]=b;N[f+8>>2]=a;break P}a=31;if(d>>>0<=16777215){a=W(d>>>8|0);a=((d>>>38-a&1)-(a<<1)|0)+62|0}N[f+28>>2]=a;N[f+16>>2]=0;N[f+20>>2]=0;c=(a<<2)+589572|0;R:{b=1<>2]=f;N[f+24>>2]=c;break S}a=d<<((a|0)!=31?25-(a>>>1|0)|0:0);g=N[c>>2];while(1){b=g;if((N[b+4>>2]&-8)==(d|0)){break R}c=a>>>29|0;a=a<<1;c=b+(c&4)|0;g=N[c+16>>2];if(g){continue}break}N[c+16>>2]=f;N[f+24>>2]=b}N[f+12>>2]=f;N[f+8>>2]=f;break P}a=N[b+8>>2];N[a+12>>2]=f;N[b+8>>2]=f;N[f+24>>2]=0;N[f+12>>2]=b;N[f+8>>2]=a}a=e+8|0;break a}T:{if(!h){break T}b=N[c+28>>2];a=(b<<2)+589572|0;U:{if(N[a>>2]==(c|0)){N[a>>2]=e;if(e){break U}m=589272,n=ZE(-2,b)&k,N[m>>2]=n;break T}N[h+(N[h+16>>2]==(c|0)?16:20)>>2]=e;if(!e){break T}}N[e+24>>2]=h;a=N[c+16>>2];if(a){N[e+16>>2]=a;N[a+24>>2]=e}a=N[c+20>>2];if(!a){break T}N[e+20>>2]=a;N[a+24>>2]=e}V:{if(d>>>0<=15){a=d+g|0;N[c+4>>2]=a|3;a=a+c|0;N[a+4>>2]=N[a+4>>2]|1;break V}N[c+4>>2]=g|3;e=c+g|0;N[e+4>>2]=d|1;N[d+e>>2]=d;if(i){b=(i&-8)+589308|0;f=N[147322];a=1<<(i>>>3);W:{if(!(a&j)){N[147317]=a|j;a=b;break W}a=N[b+8>>2]}N[b+8>>2]=f;N[a+12>>2]=f;N[f+12>>2]=b;N[f+8>>2]=a}N[147322]=e;N[147319]=d}a=c+8|0}La=l+16|0;return a|0}function jB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;p=La-80|0;La=p;N[p+12>>2]=0;c=6;a:{if(!a|!b){break a}c=97;b:{if(N[b+8>>2]!=8){break b}c=6;f=N[b+4>>2];if(!f){break b}q=N[b>>2];if(!q){break b}u=N[a>>2];if(!u){c=32;break b}c:{if(N[b+48>>2]-33>>>0<4294967265){break c}c=0;d=N[q>>2];j=N[q+4>>2];a=j<<4;if((d|a)<0){c=6;break a}if(!(!a|!d)){c=10;if((2147483647/(a>>>0)|0)<(d|0)){break a}c=Qa[N[u+4>>2]](u,T(a,d))|0;if(!c){c=64;break a}j=N[q+4>>2];d=N[q>>2]}N[p+20>>2]=d;N[p+16>>2]=j;N[p+12>>2]=c;a=N[b+12>>2];N[p+32>>2]=N[b+8>>2];N[p+36>>2]=a;a=N[b+20>>2];N[p+40>>2]=N[b+16>>2];N[p+44>>2]=a;a=N[b+28>>2];N[p+48>>2]=N[b+24>>2];N[p+52>>2]=a;a=N[b+36>>2];N[p+56>>2]=N[b+32>>2];N[p+60>>2]=a;c=N[b+44>>2];a=p- -64|0;N[a>>2]=N[b+40>>2];N[a+4>>2]=c;a=N[b+52>>2];N[p+72>>2]=N[b+48>>2];N[p+76>>2]=a;a=N[b+4>>2];N[p+24>>2]=N[b>>2];N[p+28>>2]=a;a=f;b=6;k=p+12|0;d:{if(!k){break d}f=N[k+4>>2];e=N[a+4>>2];if((f|0)<(e|0)){break d}h=N[k+8>>2];n=N[a>>2];if((h|0)<(n|0)){break d}c=O[a+18|0];if(!c){break d}o=(h-n|0)/2|0;m=(f-e|0)/2|0;l=N[a+12>>2];d=N[k>>2];b=7;e:{switch(c-1|0){case 1:b=0;if((h|0)<=0|(f|0)<=0){break d}r=f&-4;i=f&3;c=0;while(1){a=T(c,f);j=c-o|0;f:{if(!((j|0)>=(n|0)|(j|0)<0)){s=n+(j^-1)|0;while(1){t=d+(a+b<<4)|0;g=t;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;g=b-m|0;if(!((g|0)<0|(e|0)<=(g|0))){L[t+12|0]=O[l+(g+T(e,O[k+65|0]?s:j)|0)|0]}b=b+1|0;if((f|0)!=(b|0)){continue}break}break f}j=0;if(f>>>0>=4){while(1){g=d+(a+b<<4)|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;g=d+(a+(b|1)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;g=d+(a+(b|2)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;g=d+(a+(b|3)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;b=b+4|0;if((r|0)!=(b|0)){continue}break}}if(!i){break f}while(1){g=d+(a+b<<4)|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;b=b+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}b=0;c=c+1|0;if((h|0)!=(c|0)){continue}break};break d;case 0:break e;default:break d}}b=0;if((h|0)<=0|(f|0)<=0){break d}s=f&-4;r=f&3;while(1){c=T(f,g);j=g-o|0;g:{if(!((j|0)>=(n|0)|(j|0)<0)){t=n+(j^-1)|0;while(1){v=d+(b+c<<4)|0;i=v;N[i>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;i=b-m|0;if(!((i|0)<0|(e|0)<=(i|0))){L[v+12|0]=O[l+(T(N[a+8>>2],O[k+65|0]?t:j)+(i>>>3|0)|0)|0]>>>((i^-1)&7)&1?-1:0}b=b+1|0;if((f|0)!=(b|0)){continue}break}break g}j=0;if(f>>>0>=4){while(1){i=d+(b+c<<4)|0;N[i>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;i=d+(c+(b|1)<<4)|0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;i=d+(c+(b|2)<<4)|0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;i=d+(c+(b|3)<<4)|0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;b=b+4|0;if((s|0)!=(b|0)){continue}break}}if(!r){break g}while(1){i=d+(b+c<<4)|0;N[i>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;b=b+1|0;j=j+1|0;if((r|0)!=(j|0)){continue}break}}b=0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}c=b;if(c){break c}a=La-16|0;La=a;f=6;g=p+12|0;h:{if(!g){break h}k=N[g>>2];if(!k){break h}j=N[g+8>>2];if((j|0)>0){f=0;c=N[g+4>>2];if((c|0)<=0){break h}t=k+28|0;v=k-4|0;b=k;while(1){if((c|0)<=0){f=f+1|0}else{n=f+1|0;x=!f;j=0;while(1){i:{j:{e=T(c,f)+j<<4;h=e+b|0;d=O[h+12|0];if(!d){break j}i=N[g+8>>2];k:{l:{m:{n:{if((d|0)!=255){break n}d=0;o=(f|0)>(i|0);if(!(o|x)){d=1;if(!O[(h-(c<<4)|0)+12|0]){break n}}m=(i|0)<=(n|0);if(!m){if(!O[(h+(c<<4)|0)+12|0]){break n}d=d+1|0}if(!(!j|(f|0)>=(i|0))){if(!O[h-4|0]){break m}d=d+1|0}l=(j+1|0)>=(c|0);if(!(l|(f|0)>=(i|0))){if(!O[h+28|0]){break n}d=d+1|0}if(!(!j|(!f|o))){if(!O[(h-(c<<4)|0)-4|0]){break m}d=d+1|0}if(!(l|(!f|o))){if(!O[(h-(c<<4)|0)+28|0]){break n}d=d+1|0}if(!(m|!j)){if(!O[(h+(c<<4)|0)-4|0]){break m}d=d+1|0}if(!O[(h+(c<<4)|0)+28|0]|(m|l)){break n}if((d|0)==7){break j}}d=e+k|0;b=d+4|0;if(j){break l}h=0;o=0;break k}d=e+k|0;b=d+4|0}h=0;o=0;if(!f){break k}m=c-1|0;if((m|0)<=(j|0)|(i-1|0)<=(f|0)){break k}h=e+k|0;o=O[(h+(m<<4)|0)+12|0];l=O[(h+(1-c<<4)|0)+12|0];i=c<<4;m=h-i|0;r=h+i|0;w=O[r+28|0];s=O[(h+((c^-1)<<4)|0)+12|0]<<8;i=O[e+t|0];c=O[e+v|0];o:{if(c>>>0<=30){c=T(c,23726336)+32768>>>16|0;break o}c=(c<<8)+(T(c,6949120)+32768>>>16|0)|0}e=O[m+12|0];m=o<<8;l=l<<8;s=0-s|0;o=O[r+12|0];r=O[h+12|0];w=w<<8;N[a+8>>2]=w+((l+s-(c+m)|0)+(i>>>0<=30?T(i,23726336)+32768>>>16|0:(i<<8)+(T(i,6949120)+32768>>>16|0)|0)|0);c=e>>>0<=30?T(e,23726336)+32768>>>16|0:(e<<8)+(T(e,6949120)+32768>>>16|0)|0;e=r<<8;N[a+12>>2]=((w+(m+(s-l|0)|0)|0)-c|0)+(o>>>0<=30?T(o,23726336)+32768>>>16|0:(o<<8)+(T(o,6949120)+32768>>>16|0)|0);_b(a+8|0);i=N[a+8>>2];o=N[a+12>>2];c=32768-e|0;p:{if(!(o?i:0)){break p}c=i>>31;m=(c^i)-c|0;c=o>>31;l=(c^o)-c|0;c=m>>>0>>0?m:l;h=m>>>0>l>>>0?m:l;s=(fb(c,h)|0)/2|0;if((s|0)>(e|0)){l=m+l>>>1|0;c=c+r>>>0<=8190?T(c,e)+32768>>>16|0:T(e,c>>>16|0)+(T(e,c&65535)+32768>>>16|0)|0;e=c;c=c>>31;c=(e^c)-c|0;q:{if(h+(c>>>8|0)>>>0<=8190){c=T(c,h)+32768>>>16|0;break q}e=h&65535;c=T(e,c>>>16|0)+T(c,h>>>16|0)+(T(e,c&65535)+32768>>>16)|0}c=l-bp(c<<1)|0;break p}if((e|0)<(65536-s|0)){e=32768-e|0;c=e>>31;c=(c^e)-c|0;r:{if(c+(h>>>8|0)>>>0<=8190){c=T(c,h)+32768>>>16|0;break r}c=c&65280;c=T(c,h>>>16|0)+(T(c,h&65535)+32768>>>16|0)|0}c=r>>>0>128?0-c|0:c;break p}m=m+l>>>1|0;e=65536-e|0;s:{if(c+(e>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break s}l=c&65535;c=T(l,e>>>16|0)+T(e,c>>>16|0)+(T(l,e&65280)+32768>>>16)|0}e=c>>31;e=(c^e)-e|0;t:{if(h+(e>>>8|0)>>>0<=8190){h=T(e,h)+32768>>>16|0;break t}l=h&65535;h=T(l,e>>>16|0)+T(e,h>>>16|0)+(T(l,e&65535)+32768>>>16)|0}c=bp(((c|0)<0?0-h|0:h)<<1)-m|0}h=c>>31;h=(c^h)-h|0;m=h>>>8|0;e=i>>31;e=(e^i)-e|0;u:{if(m+e>>>0<=8190){l=T(e,h)+32768>>>16|0;break u}l=e&65535;l=T(l,h>>>16|0)+T(h,e>>>16|0)+(T(l,h&65535)+32768>>>16)|0}e=l;r=0-e|0;e=i>>31|1;s=0-e|0;i=e;e=(c|0)<0;N[a+8>>2]=((e?s:i)|0)<0?r:l;c=o>>31;c=(c^o)-c|0;v:{if(c+m>>>0<=8190){h=T(c,h)+32768>>>16|0;break v}i=c&65535;h=T(i,h>>>16|0)+T(h,c>>>16|0)+(T(i,h&65535)+32768>>>16)|0}c=h;i=0-c|0;c=o>>31|1;N[a+12>>2]=((e?0-c|0:c)|0)<0?i:h;h=N[a+8>>2];o=N[a+12>>2]}N[b>>2]=h;N[b+4>>2]=o;y=d,z=Wb(b),N[y>>2]=z;b=N[g>>2];c=N[g+4>>2];break i}d=e+k|0;N[d>>2]=26214400;N[d+4>>2]=13107200;N[d+8>>2]=13107200}j=j+1|0;if((j|0)<(c|0)){continue}break}j=N[g+8>>2];f=n}if((f|0)<(j|0)){continue}break}}f=0}La=a+16|0;c=f;if(c){break c}f=La-16|0;La=f;a=6;k=p+12|0;w:{if(!k){break w}j=N[k>>2];if(!j){break w}a=0;i=N[k+8>>2];if((i|0)<2){break w}h=N[k+4>>2];if((h|0)<2){break w}c=h-2|0;o=0-h|0;n=1;while(1){e=T(h,n);b=1;while(1){d=j+(b+e<<4)|0;a=d+(o<<4)|0;g=N[d>>2];x:{if((N[a-16>>2]-65536|0)>=(g|0)){break x}m=a-12|0;l=N[m>>2];m=N[m+4>>2];N[f+8>>2]=l-65536;N[f+12>>2]=m-65536;t=g;g=Wb(f+8|0);if((t|0)<=(g|0)){break x}N[d>>2]=g;g=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=g}g=N[d>>2];y:{if((g|0)<=(N[a>>2]-65536|0)){break y}l=N[a+8>>2];N[f+8>>2]=N[a+4>>2];N[f+12>>2]=l-65536;t=g;g=Wb(f+8|0);if((t|0)<=(g|0)){break y}N[d>>2]=g;g=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=g}g=N[d>>2];z:{if((g|0)<=(N[a+16>>2]-65536|0)){break z}m=N[a+20>>2];a=N[a+24>>2];N[f+8>>2]=m+65536;N[f+12>>2]=a-65536;a=Wb(f+8|0);if((a|0)>=(g|0)){break z}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}g=N[d>>2];A:{if((g|0)<=(N[d-16>>2]-65536|0)){break A}m=d-12|0;a=N[m>>2];N[f+12>>2]=N[m+4>>2];N[f+8>>2]=a-65536;a=Wb(f+8|0);if((a|0)>=(g|0)){break A}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}b=b+1|0;if((h|0)!=(b|0)){continue}break}a=c;while(1){b=a;d=j+(a+e<<4)|0;g=N[d>>2];B:{if((g|0)<=(N[d+16>>2]-65536|0)){break B}a=N[d+20>>2];N[f+12>>2]=N[d+24>>2];N[f+8>>2]=a+65536;a=Wb(f+8|0);if((a|0)>=(g|0)){break B}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}a=b-1|0;if((b|0)>0){continue}break}n=n+1|0;if((i|0)!=(n|0)){continue}break}a=0;b=N[k+8>>2];if((b|0)<2){break w}h=N[k+4>>2];if((h|0)<2){break w}n=N[k>>2];c=h-2|0;k=b-2|0;while(1){j=T(h,k);b=1;while(1){d=n+(b+j<<4)|0;a=d+(h<<4)|0;e=N[d>>2];C:{if((N[a-16>>2]-65536|0)>=(e|0)){break C}g=a-12|0;i=N[g>>2];g=N[g+4>>2];N[f+8>>2]=i-65536;N[f+12>>2]=g+65536;g=e;e=Wb(f+8|0);if((g|0)<=(e|0)){break C}N[d>>2]=e;e=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=e}e=N[d>>2];D:{if((e|0)<=(N[a>>2]-65536|0)){break D}i=N[a+8>>2];N[f+8>>2]=N[a+4>>2];N[f+12>>2]=i+65536;g=e;e=Wb(f+8|0);if((g|0)<=(e|0)){break D}N[d>>2]=e;e=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=e}e=N[d>>2];E:{if((e|0)<=(N[a+16>>2]-65536|0)){break E}g=N[a+20>>2];a=N[a+24>>2];N[f+8>>2]=g+65536;N[f+12>>2]=a+65536;a=Wb(f+8|0);if((a|0)>=(e|0)){break E}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}e=N[d>>2];F:{if((e|0)<=(N[d-16>>2]-65536|0)){break F}g=d-12|0;a=N[g>>2];N[f+12>>2]=N[g+4>>2];N[f+8>>2]=a-65536;a=Wb(f+8|0);if((a|0)>=(e|0)){break F}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}b=b+1|0;if((h|0)!=(b|0)){continue}break}a=c;while(1){b=a;d=n+(a+j<<4)|0;e=N[d>>2];G:{if((e|0)<=(N[d+16>>2]-65536|0)){break G}a=N[d+20>>2];N[f+12>>2]=N[d+24>>2];N[f+8>>2]=a+65536;a=Wb(f+8|0);if((a|0)>=(e|0)){break G}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}a=b-1|0;if((b|0)>0){continue}break}a=0;b=(k|0)>0;k=k-1|0;if(b){continue}break}}La=f+16|0;c=a;if(c){break c}a=6;b=p+12|0;H:{if(!b){break H}f=N[q+4>>2];if((f|0)!=N[b+4>>2]){break H}h=N[q>>2];if((h|0)!=N[b+8>>2]){break H}if((h|0)>0){a=0;if((f|0)<=0){break H}j=N[q+12>>2];c=N[b+60>>2]<<16;while(1){e=T(a,f);d=0;while(1){q=d+e|0;k=N[b>>2]+(q<<4)|0;n=O[k+12|0]<127;k=N[k>>2];k=fb(T(O[b+64|0]?n?1:-1:n?-1:1,(k|0)<0?c:(c|0)<(k|0)?c:k),c);n=k>>31;g=j+q|0;n=(k^n)-n|0;q=n>>>9|0;n=(k|0)>0?n>>>0>65535?127:q:q;q=n&255;k=(k|0)<0;n=k?n>>>0>128?128:q:q;L[g|0]=(k?0-n|0:n)^128;d=d+1|0;if((f|0)!=(d|0)){continue}break}a=a+1|0;if((h|0)!=(a|0)){continue}break}}a=0}c=a}d=u}a=N[p+12>>2];if(!a){break a}Qa[N[d+8>>2]](d,a)}La=p+80|0;return c|0}function Zj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;f=La-288|0;La=f;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}h=Vb(a+144|0);break b}h=mc(a+148|0)}g=N[h>>2];g=g?g:275552;g=Q[g+16>>2]<4?275552:N[g+12>>2]}N[f+20>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;L[f+52|0]=0;L[f+16|0]=1;N[f+12>>2]=0;N[f+4>>2]=1;N[f+8>>2]=1;c:{d:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break c}a=Vb(a+144|0);break d}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}N[f+80>>2]=0;N[f+84>>2]=0;L[f+76|0]=1;N[f+72>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;L[f+112|0]=0;N[f+136>>2]=0;N[f+140>>2]=0;L[f+132|0]=1;N[f+128>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;N[f+152>>2]=0;N[f+156>>2]=0;N[f+160>>2]=0;N[f+164>>2]=0;L[f+168|0]=0;N[f+64>>2]=1;N[f+68>>2]=1;N[f+56>>2]=h;N[f+120>>2]=1;N[f+124>>2]=1;N[f+60>>2]=f+4;L[f+184|0]=1;N[f+180>>2]=0;N[f+188>>2]=0;N[f+192>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;N[f+204>>2]=0;N[f+208>>2]=0;N[f+212>>2]=0;N[f+216>>2]=0;L[f+220|0]=0;N[f+172>>2]=1;N[f+176>>2]=1;N[f+232>>2]=0;N[f+224>>2]=0;N[f+228>>2]=0;e:{if(!d){L[f+116|0]=0;break e}L[f+116|0]=1;N[f+252>>2]=0;N[f+256>>2]=0;N[f+260>>2]=0;N[f+264>>2]=0;N[f+268>>2]=0;N[f+272>>2]=0;N[f+276>>2]=0;N[f+280>>2]=0;L[f+284|0]=0;L[f+248|0]=1;N[f+244>>2]=0;N[f+236>>2]=1;N[f+240>>2]=1;b=N[d>>2];if(b){while(1){tc(f+236|0,b);b=N[d+4>>2];d=d+4|0;if(b){continue}break}}m=f- -64|0;a=0;while(1){f:{b=N[f+56>>2];g:{if((O[b|0]|O[b+1|0]<<8)!=256){break g}d=O[b+6|0]|O[b+7|0]<<8;if(!d){break g}b=b+((d<<8|d>>>8)&65535)|0;d=O[b|0]|O[b+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>a>>>0){break f}}a=N[f+244>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;h=N[a+12>>2]+T(d,12)|0;b=N[h+8>>2];h=N[h+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](h);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a)}_a(N[f+268>>2]);_a(N[f+280>>2]);break e}d=O[b|0]|O[b+1|0]<<8;b=((d<<8|d>>>8)&65535)>>>0<=a>>>0?275552:(b+T(a,6)|0)+2|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);i=k>>>9|0;o=N[f+268>>2];h:{i:{j:{b=N[f+256>>2];j=N[f+264>>2];if(b>>>0>=j>>>0){break j}b=o+(b<<3)|0;if((i|0)!=N[b>>2]){break j}d=b+4|0;break i}b=0;if((j|0)<=0){break h}d=j-1|0;b=0;k:{while(1){h=b+d>>>1|0;l=o+(h<<3)|0;n=N[l>>2];l:{if((n|0)>(i|0)){d=h-1|0;break l}if((i|0)==(n|0)){break k}b=h+1|0}if((b|0)<=(d|0)){continue}break}b=0;break h}N[f+256>>2]=h;d=(h>>>0>=j>>>0?275552:l)+4|0}h=N[f+280>>2];b=0;if(!h){break h}b=(h+(N[d>>2]<<6)|0)+(k>>>3&56)|0;i=N[b>>2];h=N[b+4>>2];d=k&63;b=d&31;b=((d&63)>>>0>=32?h>>>b|0:((1<>>b)&1}if((b|0)!=O[f+284|0]){tc(m,a)}a=a+1|0;continue}}m:{if(c){a=N[c>>2];if(!a){break m}while(1){h=c;d=275552;c=N[f+56>>2];k=(O[c|0]|O[c+1|0]<<8)!=256;n:{if(k){break n}b=O[c+4|0]|O[c+5|0]<<8;if(!b){break n}d=c+((b<<8|b>>>8)&65535)|0}b=O[d|0]|O[d+1|0]<<8;o:{if(!b){break o}o=d+2|0;b=((b<<8|b>>>8)&65535)-1|0;j=0;while(1){p:{d=b+j>>>1|0;m=T(d,6);i=m+o|0;i=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);i=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);q:{if(i>>>0>a>>>0){b=d-1|0;break q}if((a|0)==(i|0)){break p}j=d+1|0}if((b|0)>=(j|0)){continue}break o}break}l=f+56|0;a=275552;r:{if(k){break r}b=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!b){break r}a=c+((b<<8|b>>>8)&65535)|0}b=O[a|0]|O[a+1|0]<<8;if(d>>>0<((b<<8|b>>>8)&65535)>>>0){b=(a+m|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}ak(l,a)}c=h+4|0;a=N[h+4>>2];if(a){continue}break}break m}d=275552;a=N[f+56>>2];s:{if((O[a|0]|O[a+1|0]<<8)!=256){break s}b=O[a+4|0]|O[a+5|0]<<8;if(!b){break s}d=a+((b<<8|b>>>8)&65535)|0}a=O[d|0]|O[d+1|0]<<8;if(!a){break m}a=(a<<8|a>>>8)&65535;h=a>>>0<=1?1:a;b=0;while(1){l=f+56|0;c=N[f+56>>2];a=275552;t:{if((O[c|0]|O[c+1|0]<<8)!=256){break t}d=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!d){break t}a=c+((d<<8|d>>>8)&65535)|0}c=O[a|0]|O[a+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>b>>>0){c=(a+T(b,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(c){a=a+((c<<8|c>>>8)&65535)|0}else{a=275552}ak(l,a);b=b+1|0;if((h|0)!=(b|0)){continue}break}}N[f+172>>2]=-57005;a=N[f+180>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+180>>2]=0}if(N[f+200>>2]){N[f+200>>2]=0}_a(N[f+204>>2]);N[f+204>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;if(N[f+212>>2]){N[f+212>>2]=0}_a(N[f+216>>2]);N[f+216>>2]=0;N[f+208>>2]=0;N[f+212>>2]=0;if(N[f+200>>2]){N[f+200>>2]=0}_a(N[f+204>>2]);N[f+204>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;N[f+120>>2]=-57005;a=N[f+128>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+128>>2]=0}if(N[f+148>>2]){N[f+148>>2]=0}_a(N[f+152>>2]);N[f+152>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;if(N[f+160>>2]){N[f+160>>2]=0}_a(N[f+164>>2]);N[f+164>>2]=0;N[f+156>>2]=0;N[f+160>>2]=0;if(N[f+148>>2]){N[f+148>>2]=0}_a(N[f+152>>2]);N[f+152>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;N[f+64>>2]=-57005;a=N[f+72>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+72>>2]=0}if(N[f+92>>2]){N[f+92>>2]=0}_a(N[f+96>>2]);N[f+96>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;if(N[f+104>>2]){N[f+104>>2]=0}_a(N[f+108>>2]);N[f+108>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;if(N[f+92>>2]){N[f+92>>2]=0}_a(N[f+96>>2]);N[f+56>>2]=-1;o=e+12|0;u:while(1){if(!Se(f+4|0,f+56|0)){k=275552;v:{if((O[g|0]|O[g+1|0]<<8)!=256){break v}a=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0<65537){break v}a=O[g+10|0]|O[g+11|0]<<8|(O[g+12|0]<<16|O[g+13|0]<<24);if(!a){break v}k=g+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0}a=O[k+4|0]|O[k+5|0]<<8|(O[k+6|0]<<16|O[k+7|0]<<24);if(a){m=k+8|0;w=m+((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))<<3)|0;while(1){l=275552;a=O[m+4|0]|O[m+5|0]<<8|(O[m+6|0]<<16|O[m+7|0]<<24);if(a){l=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+k|0}a=O[l+4|0]|O[l+5|0]<<8;w:{if(!a){break w}i=l+6|0;a=(a<<8|a>>>8)&65535;n=N[f+32>>2];h=n-1|0;c=N[f+24>>2];v=O[f+52|0];r=N[f+48>>2];p=N[f+36>>2];while(1){b=O[i|0]|O[i+1|0]<<8;s=(b<<8|b>>>8)&65535;q=s>>>9|0;x:{y:{z:{if(c>>>0>=n>>>0){break z}b=p+(c<<3)|0;if((q|0)!=N[b>>2]){break z}b=b+4|0;break y}j=0;b=0;d=h;if((n|0)<=0){break x}while(1){A:{g=b+d>>>1|0;t=p+(g<<3)|0;u=N[t>>2];B:{if((u|0)>(q|0)){d=g-1|0;break B}if((q|0)==(u|0)){break A}b=g+1|0}if((b|0)<=(d|0)){continue}break x}break}N[f+24>>2]=g;c=g;b=(n>>>0<=c>>>0?275552:t)+4|0}if(!r){j=0;break x}b=(r+(N[b>>2]<<6)|0)+(s>>>3&56)|0;j=N[b>>2];g=N[b+4>>2];d=s&63;b=d&31;j=((d&63)>>>0>=32?g>>>b|0:((1<>>b)&1}if((j|0)==(v|0)){i=i+6|0;a=a-1|0;if(a){continue}break w}break}if(!a){break w}while(1){b=O[i+2|0]|O[i+3|0]<<8|(O[i+4|0]<<16|O[i+5|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+l|0}else{b=275552}c=O[b+2|0]|O[b+3|0]<<8;j=(c<<8|c>>>8)&65535;b=b+4|0;C:{if(O[e+48|0]){Ug(o,b,j);break C}if(!c|!O[o|0]){break C}N[e+16>>2]=-1;c=O[b|0]|O[b+1|0]<<8;d=(c<<8|c>>>8)&65535;D:while(1){h=wc(o,d);if(!h){break C}n=d&65024;q=n+512|0;while(1){c=h+(d>>>3&56)|0;r=N[c+4>>2];g=d&63;d=g&31;if((g&63)>>>0>=32){g=1<>>32-d}N[c>>2]=p|N[c>>2];N[c+4>>2]=g|r;j=j-1|0;if(!j){break C}c=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;d=(c<<8|c>>>8)&65535;if(n>>>0>d>>>0){continue D}if(d>>>0>>0){continue}break}continue}}n=N[f+32>>2];h=n-1|0;c=N[f+24>>2];v=O[f+52|0];r=N[f+48>>2];p=N[f+36>>2];while(1){b=a;d=(b|0)!=0;a=b-d|0;i=T(d,6)+i|0;if((b|0)!=(d|0)){b=O[i|0]|O[i+1|0]<<8;s=(b<<8|b>>>8)&65535;q=s>>>9|0;E:{F:{G:{if(c>>>0>=n>>>0){break G}b=p+(c<<3)|0;if((q|0)!=N[b>>2]){break G}b=b+4|0;break F}j=0;b=0;d=h;if((n|0)<=0){break E}while(1){H:{g=b+d>>>1|0;t=p+(g<<3)|0;u=N[t>>2];I:{if((u|0)>(q|0)){d=g-1|0;break I}if((q|0)==(u|0)){break H}b=g+1|0}if((b|0)<=(d|0)){continue}break E}break}N[f+24>>2]=g;c=g;b=(n>>>0<=c>>>0?275552:t)+4|0}if(!r){j=0;break E}b=(r+(N[b>>2]<<6)|0)+(s>>>3&56)|0;j=N[b>>2];g=N[b+4>>2];d=s&63;b=d&31;j=((d&63)>>>0>=32?g>>>b|0:((1<>>b)&1}if((j|0)==(v|0)){continue}}break}if(a){continue}break}}m=m+8|0;if((w|0)!=(m|0)){continue}break}}N[f+4>>2]=-57005;a=N[f+12>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+12>>2]=0}if(N[f+32>>2]){N[f+32>>2]=0}_a(N[f+36>>2]);N[f+36>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;if(N[f+44>>2]){N[f+44>>2]=0}_a(N[f+48>>2]);N[f+48>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;if(N[f+32>>2]){N[f+32>>2]=0}_a(N[f+36>>2]);La=f+288|0;return}a=275552;J:{if((O[g|0]|O[g+1|0]<<8)!=256){break J}b=O[g+6|0]|O[g+7|0]<<8;a=275552;if(!b){break J}a=g+((b<<8|b>>>8)&65535)|0}b=O[a|0]|O[a+1|0]<<8;c=(b<<8|b>>>8)&65535;b=N[f+56>>2];if(c>>>0>b>>>0){b=(a+T(b,6)|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}c=O[a+2|0]|O[a+3|0]<<8;j=(c<<8|c>>>8)&65535;b=a+4|0;if(O[e+48|0]){Ug(o,b,j);continue}if(!c|!O[o|0]){continue}N[e+16>>2]=-1;a=O[b|0]|O[b+1|0]<<8;d=(a<<8|a>>>8)&65535;K:while(1){h=wc(o,d);if(!h){continue u}i=d&65024;k=i+512|0;while(1){a=h+(d>>>3&56)|0;m=N[a+4>>2];d=d&63;c=d&31;if((d&63)>>>0>=32){d=1<>>32-c}N[a>>2]=l|N[a>>2];N[a+4>>2]=d|m;j=j-1|0;if(!j){continue u}a=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;d=(a<<8|a>>>8)&65535;if(i>>>0>d>>>0){continue K}if(d>>>0>>0){continue}break}continue}}}function nu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;i=La-48|0;La=i;p=N[b+100>>2];d=N[a+20>>2];a:{if(d){h=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;N[i+32>>2]=0;N[i+36>>2]=8;N[i+24>>2]=1;N[i+28>>2]=1;h=64;j=Qa[N[p+4>>2]](p,64)|0;if(!j){N[i+40>>2]=64;break a}d=j;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;L[d+32|0]=0;L[d+33|0]=0;L[d+34|0]=0;L[d+35|0]=0;L[d+36|0]=0;L[d+37|0]=0;L[d+38|0]=0;L[d+39|0]=0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+56|0]=0;L[d+57|0]=0;L[d+58|0]=0;L[d+59|0]=0;L[d+60|0]=0;L[d+61|0]=0;L[d+62|0]=0;L[d+63|0]=0;L[d+48|0]=0;L[d+49|0]=0;L[d+50|0]=0;L[d+51|0]=0;L[d+52|0]=0;L[d+53|0]=0;L[d+54|0]=0;L[d+55|0]=0;L[d+40|0]=0;L[d+41|0]=0;L[d+42|0]=0;L[d+43|0]=0;L[d+44|0]=0;L[d+45|0]=0;L[d+46|0]=0;L[d+47|0]=0;L[d+24|0]=0;L[d+25|0]=0;L[d+26|0]=0;L[d+27|0]=0;L[d+28|0]=0;L[d+29|0]=0;L[d+30|0]=0;L[d+31|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;M[d+12>>1]=32767;N[d+36>>2]=i+24;e=N[a+4>>2];N[d+56>>2]=p;N[d+60>>2]=e;N[d+40>>2]=0;N[d+44>>2]=0;N[d+48>>2]=0;N[d+52>>2]=p;e=1024;s=N[a+28>>2];g=Qa[N[s+4>>2]](s,1024)|0;h=!g<<6;b:{if(!g){break b}N[i+12>>2]=169;L[g|0]=0;q=256;r=1;c:{d:while(1){l=e;k=0;e=0;while(1){if(!(k&1)){n=0;k=N[a+4>>2];d=N[a+8>>2];if(k>>>0>d>>>0){f=l-o|0;n=g+o|0;m=N[a+20>>2];e:{if(m){n=Qa[m|0](a,d,n,f)|0;break e}m=n;t=d+N[a>>2]|0;d=k-d|0;n=d>>>0>>0?d:f;F(m,t,n)}N[a+8>>2]=N[a+8>>2]+n}f=n+o|0;o=0}f:{g:{if((e|0)>=(f|0)){d=e}else{d=L[e+g|0]==(q|0);q=d?256:q;d=d+e|0}e=d;if((f|0)>(d|0)){while(1){h:{m=e+g|0;k=O[m|0];switch(k-10|0){case 0:case 3:break g;default:break h}}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(!n){break f}if(!d){if(l>>>0>65535){h=6;break f}e=l<<1;d=Qa[N[s+12>>2]](s,l,e,g)|0;g=d?d:g;h=0;o=l;if(d){continue d}h=64;break f}n=f-d|0;F(g,d+g|0,n);k=0;e=0;o=n;f=d;continue}L[m|0]=0;i:{j:{q=d+g|0;switch(O[q|0]-26|0){case 0:case 9:break i;default:break j}}if((d|0)>=(e|0)){break i}h=0;t=e-d|0;d=Qa[N[i+12>>2]](q,t,r,i+12|0,j)|0;if((d|0)==-1){d=Qa[N[i+12>>2]](q,t,r,i+12|0,j)|0}if(!d){break i}h=d;break c}L[m|0]=k;q=(k|0)==10?13:(k|0)==13?10:256;k=1;e=e+1|0;r=r+1|0;continue}break}break}if(!g){break b}}Qa[N[s+8>>2]](s,g)}N[i+44>>2]=h;e=N[j+32>>2];k:{l:{if(h){break l}m:{n:{o:{p:{q:{if(e){if(N[e+28>>2]!=8){M[e+32>>1]=P[e+4>>1]}r:{if(!N[N[j+36>>2]>>2]|!(N[e+52>>2]|N[e+64>>2])){break r}a=M[j+12>>1];d=M[j+16>>1]-a|0;if((d|0)!=P[e+4>>1]){M[e+4>>1]=d}if(P[e+8>>1]!=(a&65535)){M[e+8>>1]=a}d=P[j+18>>1];if((d|0)!=P[e+12>>1]){M[e+12>>1]=d}a=P[j+20>>1];f=a<<16>>16;if((a|0)!=P[e+14>>1]){M[e+14>>1]=a;M[e+10>>1]=0-a}a=f+(d<<16>>16)|0;if((a|0)==P[e+6>>1]){break r}M[e+6>>1]=a}f=N[j>>2];if(f&1){break q}a=N[e+88>>2];if(a){break p}h=0;break k}f=N[j>>2];if(!(f&1)){break o}}if(f&32){break n}h=185;break m}a=lb(N[e+100>>2],1,a,a+1|0,N[e+84>>2],i+44|0);e=N[j+32>>2];N[e+84>>2]=a;h=N[i+44>>2];if(h){break l}h=0;L[a+N[e+88>>2]|0]=0;e=N[j+32>>2];break k}h=3;N[i+44>>2]=3;e=0;break k}h=186}N[i+44>>2]=h}dm(e);a=N[j+32>>2];if(a){Qa[N[p+8>>2]](p,a)}e=0;N[j+32>>2]=0}a=N[j+52>>2];if(a){d=N[j+40>>2];if(d){Qa[N[a+8>>2]](a,d)}N[j+40>>2]=0;N[j+44>>2]=0;N[j+48>>2]=0;N[j+52>>2]=0}a=N[j+24>>2];if(a){Qa[N[p+8>>2]](p,a)}N[j+24>>2]=0;Qa[N[p+8>>2]](p,j);N[i+40>>2]=h;s:{t:{u:{v:{w:{x:{y:{z:{A:{if((h&255)!=176){if(h){break a}N[b+140>>2]=e;if(!(!(c&65535)|(c|0)<=0)){yh(b);h=6;break a}N[b>>2]=1;N[b+4>>2]=0;N[b+8>>2]=N[b+8>>2]|18;B:{C:{if(!e|!N[e+72>>2]){break C}a=Ad(19980,N[e+92>>2]);D:{if(!a){break D}c=N[e+80>>2];if(!c){break D}a=c+(N[a>>2]<<4)|0;if(N[a+4>>2]!=1){break D}a=N[a+12>>2];if(!a){break D}E:{F:{a=O[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break D;case 0:case 10:break E;default:break F}}switch(a-99|0){case 0:case 10:break E;default:break D}}N[b+8>>2]=N[b+8>>2]|4}if(!N[e+72>>2]){break C}a=Ad(20231,N[e+92>>2]);if(!a){break C}c=N[e+80>>2];if(!c){break C}a=N[(c+(N[a>>2]<<4)|0)+12>>2];if(!a){break C}u=b,v=Nc(p,a,i+40|0),N[u+20>>2]=v;h=N[i+40>>2];if(!h){break B}break a}N[b+20>>2]=0}j=0;N[b+12>>2]=0;g=N[b+100>>2];h=1;f=N[b+140>>2];if(!f|!N[f+72>>2]){break v}a=0;o=0;c=Ad(19332,N[f+92>>2]);G:{if(!c){break G}d=N[f+80>>2];if(!d){break G}c=d+(N[c>>2]<<4)|0;if(N[c+4>>2]!=1){break G}d=N[c+12>>2];if(!d){break G}H:{switch(O[d|0]-73|0){case 0:case 6:case 32:case 38:break H;default:break G}}N[b+12>>2]=N[b+12>>2]|1;o=(O[N[c+12>>2]]&223)==79?15457:17754}if(!N[f+72>>2]){d=0;l=0;q=0;n=0;f=0;k=1;break w}q=0;k=1;c=Ad(20260,N[f+92>>2]);l=0;I:{if(!c){break I}d=N[f+80>>2];l=0;if(!d){break I}c=d+(N[c>>2]<<4)|0;l=0;if(N[c+4>>2]!=1){break I}c=N[c+12>>2];l=0;if(!c){break I}l=0;if((O[c|0]|32)!=98){break I}N[b+12>>2]=N[b+12>>2]|2;k=0;l=16733}if(!N[f+72>>2]){break z}d=0;c=Ad(20282,N[f+92>>2]);a=0;J:{if(!c){break J}h=N[f+80>>2];a=0;if(!h){break J}c=h+(N[c>>2]<<4)|0;a=0;if(N[c+4>>2]!=1){break J}c=N[c+12>>2];a=0;if(!c){break J}h=O[c|0];a=0;if(!h){break J}a=0;if((h|0)==78){break J}a=0;if((h|0)==110){break J}a=c}q=a;if(!N[f+72>>2]){break y}a=Ad(20296,N[f+92>>2]);if(!a){break z}c=N[f+80>>2];if(!c){break z}a=c+(N[a>>2]<<4)|0;if(N[a+4>>2]!=1){break y}d=N[a+12>>2];if(!d){break z}a=0;c=O[d|0];if(!c|(c|0)==78|(c|0)==110){break A}a=nb(d);f=a+1|0;break x}yh(b);h=2;break a}d=0;f=0;break x}d=0}a=0;f=0}if(k){l=0;n=0;k=1;break w}n=nb(l);f=(n+f|0)+1|0;k=0}r=0;if(o){j=nb(o);f=(j+f|0)+1|0}c=!o;h=!q;if(q){r=nb(q);f=(r+f|0)+1|0}if(!f){f=8;a=7;d=12199;break u}if((f|0)>0){break u}h=6;break t}f=8;a=7;d=12199;k=1;l=0;o=0;q=0;n=0;c=1;r=0}f=Qa[N[g+4>>2]](g,f)|0;if(f){break s}h=64}N[b+24>>2]=0;break a}N[b+24>>2]=f;if(d){F(f,d,a);K:{if(!a){break K}d=0;g=0;if(a>>>0>=4){s=a&-4;while(1){m=f+g|0;if(O[m|0]==32){L[m|0]=45}m=(g|1)+f|0;if(O[m|0]==32){L[m|0]=45}m=(g|2)+f|0;if(O[m|0]==32){L[m|0]=45}m=(g|3)+f|0;if(O[m|0]==32){L[m|0]=45}g=g+4|0;if((s|0)!=(g|0)){continue}break}}s=a&3;if(!s){break K}while(1){m=f+g|0;if(O[m|0]==32){L[m|0]=45}g=g+1|0;d=d+1|0;if((s|0)!=(d|0)){continue}break}}f=a+f|0}if(!k){if(N[b+24>>2]!=(f|0)){L[f|0]=32;f=f+1|0}F(f,l,n);f=f+n|0}if(!c){if(N[b+24>>2]!=(f|0)){L[f|0]=32;f=f+1|0}F(f,o,j);f=f+j|0}if(!h){if(N[b+24>>2]!=(f|0)){L[f|0]=32;f=f+1|0}F(f,q,r);L:{if(!r){break L}d=0;g=0;if(r>>>0>=4){a=r&-4;while(1){c=f+g|0;if(O[c|0]==32){L[c|0]=45}c=(g|1)+f|0;if(O[c|0]==32){L[c|0]=45}c=(g|2)+f|0;if(O[c|0]==32){L[c|0]=45}c=(g|3)+f|0;if(O[c|0]==32){L[c|0]=45}g=g+4|0;if((a|0)!=(g|0)){continue}break}}a=r&3;if(!a){break L}while(1){c=f+g|0;if(O[c|0]==32){L[c|0]=45}g=g+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}f=f+r|0}L[f|0]=0;a=N[e+48>>2];N[b+28>>2]=1;N[b+16>>2]=a+1;a=Qa[N[p+4>>2]](p,16)|0;if(a){L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;N[i+40>>2]=0;N[b+32>>2]=a;g=N[e+40>>2];if(g-32768>>>0<4294901761){g=(g|0)<0?-32767:32767;N[e+40>>2]=g}d=N[e+44>>2];if(d-32768>>>0<=4294901760){d=(d|0)<0?-32767:32767;N[e+44>>2]=d}M[a>>1]=d+g;d=Nd(e,19895);M:{if(d){d=N[d+12>>2];c=32767;if(d-327666>>>0<4294311965){break M}d=(d+5|0)/10|0;c=d>>31;c=(c^d)-c|0;break M}c=jb(M[a>>1],2,3)}M[a+2>>1]=c;d=Nd(e,20048);N:{if(d){d=N[d+12>>2];c=32767;if(d-328899>>>0<4294309499){break N}c=d>>31;c=jb((c^d)-c|0,460800,72270);break N}c=N[e+16>>2];if(c){c=c>>>0>32767?32767:c<<6;break N}c=M[a+2>>1]<<6}N[a+4>>2]=c;c=Nd(e,20082);if(c){c=N[c+12>>2];d=c>>31;N[a+12>>2]=c-32768>>>0<4294901761?2097088:(c^d)-d<<6}d=Nd(e,18765);d=N[(d?d+12|0:e+20|0)>>2];c=0;O:{if(!d){break O}c=32767;if(d-32768>>>0<4294901761){break O}c=d>>31;c=(c^d)-c|0}P:{Q:{R:{S:{d=Nd(e,18633);d=N[(d?d+12|0:e+24|0)>>2];if(d){if(d-32768>>>0<4294901761){break S}f=d;d=d>>31;k=(f^d)-d|0;g=N[a+12>>2];if(g){break Q}g=N[a+4>>2];N[a+12>>2]=g;if(!(k&65535)){break P}d=a+12|0;break R}g=N[a+12>>2];if(g){break P}g=N[a+4>>2];N[a+12>>2]=g;break P}k=32767;g=N[a+12>>2];if(g){break Q}g=N[a+4>>2];N[a+12>>2]=g;d=a+12|0}g=jb(g,k&65535,72);N[d>>2]=g}if(!c){break P}d=k&65535;if(!d){break P}g=jb(g,c,d)}N[a+8>>2]=g;a=N[e+56>>2];c=lb(p,8,0,N[e+48>>2],0,i+40|0);N[b+144>>2]=c;h=N[i+40>>2];if(h){break a}N[b+148>>2]=0;d=N[e+48>>2];T:{if(!d){break T}h=N[e+36>>2];f=0;if((d|0)!=1){l=d&1;n=d&-2;while(1){d=N[(a+T(f,36)|0)+4>>2];o=c+(f<<3)|0;M[o+4>>1]=f;N[o>>2]=d;if((d|0)==(h|0)){N[b+148>>2]=f}d=f|1;o=N[(a+T(d,36)|0)+4>>2];j=c+(d<<3)|0;M[j+4>>1]=d;N[j>>2]=o;if((h|0)==(o|0)){N[b+148>>2]=d}f=f+2|0;if((n|0)!=(f|0)){continue}break}if(!l){break T}}a=N[(a+T(f,36)|0)+4>>2];c=c+(f<<3)|0;M[c+4>>1]=f;N[c>>2]=a;if((a|0)!=(h|0)){break T}N[b+148>>2]=f}U:{a=Nd(e,18649);c=Nd(e,19963);if(!a|!c|(N[a+4>>2]!=1|N[c+4>>2]!=1)){break U}if(!N[a+12>>2]){break U}c=N[c+12>>2];if(!c){break U}u=b,v=Nc(p,c,i+40|0),N[u+132>>2]=v;h=N[i+40>>2];if(h){break a}a=Nc(p,N[a+12>>2],i+40|0);N[b+136>>2]=a;h=N[i+40>>2];if(h){break a}V:{W:{X:{Y:{if(!((O[a|0]|32)!=105|(O[a+1|0]|32)!=115|(O[a+2|0]|32)!=111)){a=a+3|0;if(!cb(a,21540)){break Y}if(!cb(a,21356)){if(!cb(N[b+132>>2],21900)){break Y}}if(!cb(a,21737)){break X}}N[i+16>>2]=0;N[i+20>>2]=0;N[i+12>>2]=b;break V}N[i+16>>2]=0;N[i+20>>2]=0;N[i+12>>2]=b;break W}a=cb(N[b+132>>2],19136);N[i+16>>2]=0;N[i+20>>2]=0;N[i+12>>2]=b;if(a){break V}}N[i+16>>2]=1970170211;N[i+20>>2]=65539}h=Bc(43664,0,i+12|0,0);break a}N[i+16>>2]=1094995778;N[i+20>>2]=7;N[i+12>>2]=b;h=Bc(43664,0,i+12|0,0);if(!N[b+36>>2]){break a}N[b+92>>2]=N[N[b+40>>2]>>2];break a}h=64;N[i+40>>2]=64;N[b+32>>2]=0}La=i+48|0;return h|0}function jE(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=284;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];j:{k:{l:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break k}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break l}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break j}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=285;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];v:{w:{x:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break w}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break x}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break v}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break A}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break C}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break B}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break G}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];H:{I:{J:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break I}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break J}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break H}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;K:{L:{M:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break L}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break M}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break K}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break P}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break S}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];T:{U:{V:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break U}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break V}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break T}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Dc(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;o=La-32|0;La=o;f=a+144|0;if(Q[Vb(f)+4>>2]<=b>>>0){c=0}else{N[o+24>>2]=d;N[o+20>>2]=c;N[o+16>>2]=a;c=0;N[o+12>>2]=0;L[o+28|0]=(e|0)!=0;d=275552;a=N[Vb(f)>>2];a=a?a:275552;e=Q[a+16>>2]<4?275552:N[a+12>>2];a:{if((O[e|0]|O[e+1|0]<<8)!=256){break a}a=275552;h=O[e+8|0]|O[e+9|0]<<8;if(h){a=e+((h<<8|h>>>8)&65535)|0}e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<=b>>>0){break a}e=(b<<1)+a|0;e=O[e+2|0]|O[e+3|0]<<8;if(!e){break a}d=((e<<8|e>>>8)&65535)+a|0}a=Vb(f);b:{if(!N[o+24>>2]){break b}a=N[a+8>>2]+T(b,28)|0;b=N[N[o+20>>2]>>2];if(!(N[a>>2]>>>(b>>>4)&1)|!(N[a+4>>2]>>>b&1)|!(N[a+8>>2]>>>(b>>>9)&1)){break b}a=O[d+4|0]|O[d+5|0]<<8;if(!a){break b}b=O[d|0]|O[d+1|0]<<8;x=(b<<8|b>>>8)&65535;t=d+4|0;u=(a<<8|a>>>8)&65535;y=u>>>0<=1?1:u;b=0;c=1;while(1){a=O[t|0]|O[t+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+t|0)+2|0;a=O[a|0]|O[a+1|0]<<8;if(a){e=((a<<8|a>>>8)&65535)+d|0}else{e=275552}j=o+12|0;a=x;p=La-32|0;La=p;c:{d:{while(1){e:{if((a|0)!=7){g=0;f:{switch(a-1|0){case 0:g:{h:{i:{a=O[e|0]|O[e+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break h;case 0:break i;default:break c}}if(N[j+12>>2]!=1){break c}f=O[e+2|0]|O[e+3|0]<<8;a=275552;if(!f){break g}a=((f<<8|f>>>8)&65535)+e|0;break g}if(N[j+12>>2]!=1){break c}f=O[e+2|0]|O[e+3|0]<<8;a=275552;if(!f){break g}a=((f<<8|f>>>8)&65535)+e|0}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 1:if((O[e|0]|O[e+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 2:if((O[e|0]|O[e+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 3:if((O[e|0]|O[e+1|0]<<8)!=256){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);if((a|0)==-1){break c}k=275552;h=((a<<1)+e|0)+6|0;f=a;a=O[e+4|0]|O[e+5|0]<<8;a=f>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:h;a=O[a|0]|O[a+1|0]<<8;if(a){k=((a<<8|a>>>8)&65535)+e|0}a=O[k|0]|O[k+1|0]<<8;if(!a){break c}l=(a<<8|a>>>8)&65535;e=k+2|0;while(1){j:{f=N[j+12>>2];a=O[e|0]|O[e+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+k|0}else{a=275552}h=O[a+2|0]|O[a+3|0]<<8;if((f|0)!=((h<<8|h>>>8)&65535)){break j}i=1;if(f>>>0<2){g=1;break c}while(1){f=O[a+2|0]|O[a+3|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=i>>>0?275552:(a+(i<<1)|0)+2|0;f=O[f|0]|O[f+1|0]<<8;if(N[N[j+8>>2]+(i<<2)>>2]!=((f<<8|f>>>8)&65535)){break j}g=1;i=i+1|0;if(i>>>0>2]){continue}break}break c}e=e+2|0;l=l-1|0;if(l){continue}break};g=0;break c;case 4:k:{l:{a=O[e|0]|O[e+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break d;case 1:break k;case 0:break l;default:break c}}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);f=O[e+4|0]|O[e+5|0]<<8;a=a>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((a<<1)+e|0)+6|0;a=O[a|0]|O[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}e=O[a|0]|O[a+1|0]<<8;if(!e){break c}l=(e<<8|e>>>8)&65535;i=a+2|0;f=N[j+12>>2];while(1){e=O[i|0]|O[i+1|0]<<8;if(e){h=a+((e<<8|e>>>8)&65535)|0}else{h=275552}e=O[h|0]|O[h+1|0]<<8;e=(e<<8|e>>>8)&65535;m:{if((e|0)!=(f|0)){break m}if(e>>>0<2){g=1;break c}g=1;e=1;m=N[j+8>>2];k=h+4|0;h=O[k|0]|O[k+1|0]<<8;if(N[m+4>>2]!=((h<<8|h>>>8)&65535)){break m}while(1){h=e+1|0;if((h|0)==(f|0)){break c}n=e<<1;e=h;h=k+n|0;h=O[h|0]|O[h+1|0]<<8;if(N[m+(e<<2)>>2]==((h<<8|h>>>8)&65535)){continue}break}if(e>>>0>=f>>>0){break c}}i=i+2|0;l=l-1|0;if(l){continue}break}g=0;break c}h=N[N[j+8>>2]>>2];a=0;n:{o:{p:{q:{f=O[e+4|0]|O[e+5|0]<<8;if(f){f=((f<<8|f>>>8)&65535)+e|0}else{f=275552}g=O[f|0]|O[f+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break n}}a=h;h=O[f+2|0]|O[f+3|0]<<8;h=a-((h<<8|h>>>8)&65535)|0;g=O[f+4|0]|O[f+5|0]<<8;a=275552;if(h>>>0>=((g<<8|g>>>8)&65535)>>>0){break o}a=(f+(h<<1)|0)+6|0;break o}k=241305;a=O[f+2|0]|O[f+3|0]<<8;r:{if(!a){break r}m=f+4|0;a=((a<<8|a>>>8)&65535)-1|0;g=0;while(1){i=a+g>>>1|0;l=m+T(i,6)|0;n=O[l|0]|O[l+1|0]<<8;s:{if(h>>>0>=((n<<8|n>>>8)&65535)>>>0){g=O[l+2|0]|O[l+3|0]<<8;if(h>>>0>((g<<8|g>>>8)&65535)>>>0){g=i+1|0;break s}k=m+T(i,6)|0;break r}a=i-1|0}if((a|0)>=(g|0)){continue}break}}a=k+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}i=275552;g=((a<<1)+e|0)+8|0;h=a;a=O[e+6|0]|O[e+7|0]<<8;a=h>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:g;a=O[a|0]|O[a+1|0]<<8;if(a){i=((a<<8|a>>>8)&65535)+e|0}a=O[i|0]|O[i+1|0]<<8;if(!a){g=0;break c}q=(a<<8|a>>>8)&65535;s=f+4|0;l=i+2|0;while(1){a=O[l|0]|O[l+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+i|0}else{a=275552}e=O[a|0]|O[a+1|0]<<8;m=(e<<8|e>>>8)&65535;t:{if((m|0)!=N[j+12>>2]){break t}if(m>>>0<2){g=1;break c}v=a+4|0;a=O[v|0]|O[v+1|0]<<8;n=(a<<8|a>>>8)&65535;h=N[N[j+8>>2]+4>>2];a=0;u:{v:{w:{x:{e=O[f|0]|O[f+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break w;case 0:break x;default:break u}}e=O[f+4|0]|O[f+5|0]<<8;g=(e<<8|e>>>8)&65535;e=O[f+2|0]|O[f+3|0]<<8;e=h-((e<<8|e>>>8)&65535)|0;a=275552;if(g>>>0<=e>>>0){break v}a=(f+(e<<1)|0)+6|0;break v}e=O[f+2|0]|O[f+3|0]<<8;y:{if(e){e=((e<<8|e>>>8)&65535)-1|0;while(1){k=a+e>>>1|0;g=s+T(k,6)|0;r=O[g|0]|O[g+1|0]<<8;z:{if(h>>>0>=((r<<8|r>>>8)&65535)>>>0){a=O[g+2|0]|O[g+3|0]<<8;if(h>>>0<=((a<<8|a>>>8)&65535)>>>0){break y}a=k+1|0;break z}e=k-1|0}if((a|0)<=(e|0)){continue}break}}g=241305}a=g+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}g=1;e=1;if((a|0)!=(n|0)){break t}while(1){h=e+1|0;if((h|0)==(m|0)){break c}a=(e<<1)+v|0;a=O[a|0]|O[a+1|0]<<8;z=(a<<8|a>>>8)&65535;n=N[N[j+8>>2]+(h<<2)>>2];a=0;A:{B:{C:{D:{e=O[f|0]|O[f+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break C;case 0:break D;default:break A}}e=O[f+4|0]|O[f+5|0]<<8;k=(e<<8|e>>>8)&65535;e=O[f+2|0]|O[f+3|0]<<8;e=n-((e<<8|e>>>8)&65535)|0;a=275552;if(k>>>0<=e>>>0){break B}a=(f+(e<<1)|0)+6|0;break B}e=O[f+2|0]|O[f+3|0]<<8;E:{if(e){e=((e<<8|e>>>8)&65535)-1|0;while(1){r=a+e>>>1|0;k=s+T(r,6)|0;w=O[k|0]|O[k+1|0]<<8;F:{if(n>>>0>=((w<<8|w>>>8)&65535)>>>0){a=O[k+2|0]|O[k+3|0]<<8;if(n>>>0<=((a<<8|a>>>8)&65535)>>>0){break E}a=r+1|0;break F}e=r-1|0}if((a|0)<=(e|0)){continue}break}}k=241305}a=k+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}e=h;if((a|0)==(z|0)){continue}break}if(e>>>0>=m>>>0){break c}}l=l+2|0;q=q-1|0;if(q){continue}break};g=0;break c;case 5:break e;case 7:break f;default:break c}}if((O[e|0]|O[e+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c}g=0;if((O[e|0]|O[e+1|0]<<8)!=256){break c}a=O[e+2|0]|O[e+3|0]<<8;a=(a<<8|a>>>8)&65535;f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(f){e=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+e|0}else{e=275552}continue}break}G:{H:{I:{a=O[e|0]|O[e+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break G;case 1:break H;case 0:break I;default:break c}}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);f=O[e+4|0]|O[e+5|0]<<8;a=a>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((a<<1)+e|0)+6|0;a=O[a|0]|O[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=Oj(a,j,238152);break c}i=275552;k=275552;a=O[e+4|0]|O[e+5|0]<<8;if(a){k=((a<<8|a>>>8)&65535)+e|0}a=O[e+6|0]|O[e+7|0]<<8;if(a){i=((a<<8|a>>>8)&65535)+e|0}a=O[e+8|0]|O[e+9|0]<<8;if(a){f=((a<<8|a>>>8)&65535)+e|0}else{f=275552}h=N[N[j+8>>2]>>2];a=0;J:{K:{L:{M:{g=O[i|0]|O[i+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break L;case 0:break M;default:break J}}a=h;h=O[i+2|0]|O[i+3|0]<<8;h=a-((h<<8|h>>>8)&65535)|0;g=O[i+4|0]|O[i+5|0]<<8;a=275552;if(h>>>0>=((g<<8|g>>>8)&65535)>>>0){break K}a=((h<<1)+i|0)+6|0;break K}l=241305;a=O[i+2|0]|O[i+3|0]<<8;N:{if(!a){break N}q=i+4|0;a=((a<<8|a>>>8)&65535)-1|0;g=0;while(1){m=a+g>>>1|0;n=q+T(m,6)|0;s=O[n|0]|O[n+1|0]<<8;O:{if(h>>>0>=((s<<8|s>>>8)&65535)>>>0){g=O[n+2|0]|O[n+3|0]<<8;if(h>>>0>((g<<8|g>>>8)&65535)>>>0){g=m+1|0;break O}l=q+T(m,6)|0;break N}a=m-1|0}if((a|0)>=(g|0)){continue}break}}a=l+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}g=275552;l=((a<<1)+e|0)+12|0;h=a;a=O[e+10|0]|O[e+11|0]<<8;a=h>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:l;a=O[a|0]|O[a+1|0]<<8;if(a){g=((a<<8|a>>>8)&65535)+e|0}N[p+28>>2]=f;N[p+24>>2]=i;N[p+20>>2]=k;N[p+16>>2]=249;N[p+12>>2]=249;N[p+8>>2]=249;g=Oj(g,j,p+8|0);break c}a=O[e+2|0]|O[e+3|0]<<8;i=(e+2|0)+(((a<<8|a>>>8)&65535)<<1)|0;f=i+2|0;h=O[f|0]|O[f+1|0]<<8;k=h<<8|h>>>8;h=k&65535;f=(h<<1)+f|0;if(!(!(O[f+2|0]|O[f+3|0]<<8|a)|!O[j+16|0])){break c}if((h|0)!=N[j+12>>2]){break c}g=1;if((k&65535)>>>0<2){break c}g=0;i=i+6|0;a=O[i|0]|O[i+1|0]<<8;j=N[j+8>>2];if((vb(a?((a<<8|a>>>8)&65535)+e|0:275552,N[j+4>>2])|0)==-1){break c}a=1;while(1){f=a+1|0;if((f|0)==(h|0)){g=1;break c}a=i+(a<<1)|0;a=O[a|0]|O[a+1|0]<<8;g=a?((a<<8|a>>>8)&65535)+e|0:275552;a=f;if((vb(g,N[j+(a<<2)>>2])|0)!=-1){continue}break}g=a>>>0>=h>>>0;break c}a=O[e+2|0]|O[e+3|0]<<8;a=a<<8|a>>>8;h=a&65535;if((h|0)!=N[j+12>>2]){break c}g=1;if((a&65535)>>>0<2){break c}g=0;a=O[e+8|0]|O[e+9|0]<<8;j=N[j+8>>2];if((vb(a?((a<<8|a>>>8)&65535)+e|0:275552,N[j+4>>2])|0)==-1){break c}g=e+8|0;a=1;while(1){f=a+1|0;if((f|0)==(h|0)){g=1;break c}a=g+(a<<1)|0;a=O[a|0]|O[a+1|0]<<8;i=a?((a<<8|a>>>8)&65535)+e|0:275552;a=f;if((vb(i,N[j+(a<<2)>>2])|0)!=-1){continue}break}g=a>>>0>=h>>>0}La=p+32|0;if(g){break b}b=b+1|0;c=u>>>0>b>>>0;if((b|0)!=(y|0)){continue}break}}}La=o+32|0;return c}function gp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;n=La-144|0;La=n;a:{b:{c:{while(1){d:{N[a+84>>2]=0;M[a+78>>1]=0;N[a+40>>2]=0;N[a+44>>2]=0;e=N[a+24>>2];N[a+36>>2]=e;N[a+80>>2]=e;d=N[a+4>>2];N[a+72>>2]=T(d,c);N[a+68>>2]=T(d,s);j=N[a+28>>2]-32|0;N[a+32>>2]=j;N[e+8>>2]=e;M[a+76>>1]=0;e:{f:{g:{h:{i:{if(M[a+120>>1]<=0){break i}d=N[a+8>>2];h=N[a+132>>2];g=0;q=0;j:{while(1){N[a+88>>2]=0;N[a+92>>2]=0;f=N[a+12>>2];j=N[a+124>>2];i=g&65535;e=j+(i<<3)|0;g=T(f,N[e+4>>2])-d|0;k=T(f,N[e>>2])-d|0;u=q<<1;m=P[u+h>>1];l=j+(m<<3)|0;j=T(f,N[l+4>>2])-d|0;f=T(f,N[l>>2])-d|0;k:{if(!b){p=k;k=g;h=f;f=j;break k}p=g;h=j}j=N[a+128>>2];g=j+i|0;d=O[g|0];if(d&4){L[a+48|0]=d>>>5;d=O[g|0]}l:{switch(d&3){case 0:m:{if((O[j+m|0]&3)==1){l=l-8|0;break m}f=(f+k|0)/2|0;h=(h+p|0)/2|0}p=h;k=f;g=g-1|0;e=e-8|0;break;case 2:break d;default:break l}}N[a+64>>2]=k;N[a+60>>2]=p;n:{if(e>>>0>>0){while(1){f=g+1|0;d=e+8|0;o:{p:{q:{r:{switch(O[g+1|0]&3){case 1:j=N[e+8>>2];h=e;g=f;e=d;d=N[a+12>>2];f=T(d,N[h+12>>2]);h=N[a+8>>2];f=f-h|0;d=T(d,j)-h|0;if(fp(a,b?f:d,b?d:f)){break g}break o;case 0:g=N[a+12>>2];j=N[a+8>>2];h=T(g,N[e+8>>2])-j|0;j=T(g,N[e+12>>2])-j|0;if(b){break q}while(1){if(d>>>0>=l>>>0){d=h;h=j;break p}g=f+1|0;e=d+8|0;m=N[a+12>>2];o=N[a+8>>2];i=T(m,N[d+8>>2])-o|0;m=T(m,N[d+12>>2])-o|0;d=O[f+1|0]&3;if(d){if((d|0)!=1){break d}if(!mf(a,h,j,i,m)){break o}break g}o=mf(a,h,j,(h+i|0)/2|0,(j+m|0)/2|0);f=g;d=e;h=i;j=m;if(!o){continue}break};break g;default:break r}}if((O[g+2|0]&3)!=2|e+16>>>0>l>>>0){break d}o=N[a+12>>2];r=N[a+8>>2];h=T(o,N[e+16>>2])-r|0;j=T(o,N[e+8>>2])-r|0;d=T(o,N[e+20>>2])-r|0;f=T(o,N[e+12>>2])-r|0;s:{if(!b){i=j;j=f;m=h;h=d;break s}i=f;m=d}d=e+24|0;if(d>>>0<=l>>>0){f=h;h=T(o,N[e+28>>2])-r|0;e=T(o,N[e+24>>2])-r|0;if(ep(a,i,j,m,f,b?h:e,b?e:h)){break g}g=g+3|0;e=d;break o}if(ep(a,i,j,m,h,p,k)){break g}break n}while(1){if(d>>>0>=l>>>0){d=j;break p}g=f+1|0;e=d+8|0;m=N[a+12>>2];o=N[a+8>>2];i=T(m,N[d+8>>2])-o|0;m=T(m,N[d+12>>2])-o|0;d=O[f+1|0]&3;if(!d){o=mf(a,j,h,(j+m|0)/2|0,(h+i|0)/2|0);f=g;d=e;j=m;h=i;if(o){break g}continue}break}if((d|0)!=1){break d}if(!mf(a,j,h,m,i)){break o}break g}if(!mf(a,d,h,p,k)){break n}break g}if(e>>>0>>0){continue}break}}if(fp(a,p,k)){break g}}h=N[a+132>>2];i=P[u+h>>1];k=N[a+4>>2];m=k-1|0;e=N[a+64>>2];l=m&e;t:{if(l|(e|0)>2]|(e|0)>N[a+72>>2]){break t}d=N[a+88>>2];if(!d|(P[N[a+80>>2]+12>>1]^P[d+12>>1])&8){break t}N[a+36>>2]=N[a+36>>2]-4}u:{v:{w:{g=N[a+36>>2];f=N[a+80>>2];d=N[f+8>>2];p=(g|0)==(d|0);if(O[f+12|0]&8?p:1){j=g-d|0;if((j|0)>=0){break w}break c}j=g-d|0;if((j|0)<0){break c}d=N[a+8>>2];e=(l|0)>=(d|0);break v}d=N[a+8>>2];if(p){e=g;break u}e=((e+m&0-k)-e|0)>=(d|0)}N[f+16>>2]=j>>>2;if(e){e=P[f+12>>1];M[f+12>>1]=(e&8?16:32)|e}N[a+80>>2]=g;e=g+32|0;N[a+36>>2]=e;N[g+8>>2]=e;N[g+16>>2]=0;N[f+28>>2]=g;M[a+76>>1]=P[a+76>>1]+1}j=N[a+32>>2];if(j>>>0<=e>>>0){break j}L[a+79|0]=0;g=N[a+88>>2];if(g){N[f+28>>2]=g}g=i+1|0;q=q+1|0;if((q|0)>1]){continue}break}p=P[a+76>>1];if(p>>>0<2){break i}d=N[a+84>>2];if(!d){break i}m=N[a+44>>2];q=N[a+28>>2];while(1){x:{if((p&65535)>>>0<=1){f=N[d+16>>2];j=0;break x}f=N[d+16>>2];j=N[d+8>>2]+(f<<2)|0}N[d+4>>2]=j;h=N[d+20>>2];y:{if(O[d+12|0]&8){e=h;h=(f+e|0)-1|0;break y}e=(h-f|0)+1|0;N[d+20>>2]=e;N[d+8>>2]=(N[d+8>>2]+(f<<2)|0)-4}g=0;o=0-m|0;k=q-(m<<2)|0;l=(m>>31^-1)&m;d=m;z:{A:{while(1){f=d;i=g;if((g|0)==(l|0)){g=e;break A}g=i+1|0;d=f-1|0;r=N[k+(d<<2)>>2];if((r|0)>(e|0)){continue}break}if((e|0)<=(r|0)){i=m;break z}l=0;i=m-i&3;if(i){while(1){o=k+(d<<2)|0;g=N[o>>2];N[o>>2]=e;d=d-1|0;e=g;l=l+1|0;if((i|0)!=(l|0)){continue}break}}if(f>>>0<4){break A}while(1){g=k+(d<<2)|0;f=g-4|0;i=N[f>>2];f=N[f+4>>2];N[g>>2]=e;e=g-8|0;g=N[e>>2];N[e>>2]=i;N[e+4>>2]=f;f=d-3|0;i=k+(f<<2)|0;e=N[i>>2];N[i>>2]=g;d=d-4|0;g=e;if(f){continue}break}}d=N[a+32>>2]-4|0;N[a+32>>2]=d;if(d>>>0<=Q[a+36>>2]){break j}i=m+1|0;N[a+44>>2]=i;o=m^-1;N[q+(o<<2)>>2]=g}e=h+1|0;m=q+(o<<2)|0;l=(i>>31^-1)&i;g=0;d=i;B:{C:{while(1){f=d;k=g;if((g|0)==(l|0)){g=e;break C}g=k+1|0;d=f-1|0;o=N[m+(d<<2)>>2];if((o|0)>(e|0)){continue}break}if((h|0)<(o|0)){m=i;break B}l=0;h=i-k&3;if(h){while(1){k=m+(d<<2)|0;g=N[k>>2];N[k>>2]=e;d=d-1|0;e=g;l=l+1|0;if((h|0)!=(l|0)){continue}break}}if(f>>>0<4){break C}while(1){h=m+(d<<2)|0;g=h-4|0;f=N[g>>2];g=N[g+4>>2];N[h>>2]=e;e=h-8|0;h=N[e>>2];N[e>>2]=f;N[e+4>>2]=g;f=d-3|0;g=m+(f<<2)|0;e=N[g>>2];N[g>>2]=h;d=d-4|0;g=e;if(f){continue}break}}d=N[a+32>>2]-4|0;N[a+32>>2]=d;if(d>>>0<=Q[a+36>>2]){break j}m=i+1|0;N[a+44>>2]=m;N[q+((i^-1)<<2)>>2]=g}d=j;p=p-1|0;if(p&65535){continue}break}j=N[a+32>>2];e=N[a+36>>2];break h}N[a+40>>2]=98;break f}N[a+84>>2]=0}if(e>>>0>>0){break e}}d=N[a+40>>2];if((d|0)!=98){break a}}if((c|0)==(s|0)){d=98;break a}N[(t<<2)+n>>2]=s;t=t+1|0;s=(c+s>>1)+1|0;continue}f=N[a+84>>2];D:{if(!f){break D}N[n+140>>2]=0;N[n+136>>2]=0;N[n+132>>2]=0;c=N[a>>2];i=N[a+72>>2]>>c;o=N[a+68>>2]>>c;while(1){c=f;N[f>>2]=0;h=o<<16>>16;e=N[f+20>>2];f=(e+N[f+16>>2]|0)-1<<16>>16;j=(h|0)>(f|0);k=e<<16>>16>16;g=n+140|0;E:{F:{d=N[n+140>>2];if(!d){break F}if(N[d>>2]>0){break E}while(1){g=d+4|0;d=N[d+4>>2];if(!d){break F}if(N[d>>2]<=0){continue}break}break E}d=0}o=j?h:f;i=k?e:i;f=N[c+4>>2];N[c+4>>2]=d;N[g>>2]=c;if(f){continue}break}if(!N[a+44>>2]){break d}c=i<<16>>16;Qa[N[a+140>>2]](a,c,o);d=N[n+140>>2];if(d){while(1){N[d+24>>2]=N[d+20>>2]-c;d=N[d+4>>2];if(d){continue}break}}l=N[a+44>>2];G:{if((l|0)<=0){break G}d=0;H:{if((c|0)!=N[N[a+28>>2]-(l<<2)>>2]){j=i;break H}l=l-1|0;N[a+44>>2]=l;j=i;if(!l){break G}}while(1){e=N[n+140>>2];if(e){f=d<<16>>16;while(1){d=N[e+24>>2];N[e+24>>2]=d-f;c=N[e+4>>2];if((d|0)==(f|0)){d=N[n+140>>2];I:{if(!d){break I}if((d|0)==(e|0)){N[n+140>>2]=c;break I}while(1){h=d;d=N[d+4>>2];if(!d){break I}if((d|0)!=(e|0)){continue}break}N[h+4>>2]=c}h=N[e>>2];J:{K:{if(O[e+12|0]&8){g=n+136|0;d=N[n+136>>2];if(!d){break K}if((h|0)>2]){break J}while(1){g=d+4|0;d=N[d+4>>2];if(!d){break K}if((h|0)>=N[d>>2]){continue}break}break J}g=n+132|0;d=N[n+132>>2];if(!d){break K}if((h|0)>2]){break J}while(1){g=d+4|0;d=N[d+4>>2];if(!d){break K}if((h|0)>=N[d>>2]){continue}break}break J}d=0}N[e+4>>2]=d;N[g>>2]=e}e=c;if(e){continue}break}}e=N[n+136>>2];d=e;L:{if(!d){break L}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}d=N[e+4>>2];if(!d){break L}g=e+4|0;f=n+136|0;while(1){if(N[e>>2]<=N[d>>2]){f=g}else{N[f>>2]=d;N[g>>2]=N[d+4>>2];N[d+4>>2]=e;d=N[n+136>>2];f=n+136|0}e=d;g=d+4|0;d=N[d+4>>2];if(d){continue}break}}k=N[n+132>>2];d=k;M:{if(!d){k=0;break M}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}e=N[k+4>>2];if(!e){break M}g=k+4|0;f=n+132|0;d=k;while(1){N:{if(N[d>>2]<=N[e>>2]){f=g;d=e;break N}N[f>>2]=e;N[g>>2]=N[e+4>>2];N[e+4>>2]=d;f=n+132|0;k=N[n+132>>2];d=k}g=d+4|0;e=N[d+4>>2];if(e){continue}break}}N[a+44>>2]=l-1;u=N[N[a+28>>2]-(l<<2)>>2];v=u<<16>>16;O:{if((v|0)>j<<16>>16){q=k;l=k;i=j;while(1){f=N[n+136>>2];P:{if(!f){break P}p=0;d=f;h=l;if(!h){break P}while(1){Q:{R:{e=N[d>>2];g=N[h>>2];c=(e|0)>(g|0)?e:g;e=(e|0)<(g|0)?e:g;g=N[a+4>>2];if((c-e|0)>(g|0)){break R}r=0-g|0;m=r&e;if((m|0)==(e|0)){break R}r=r&(c+g|0)-1;if((r|0)==(c|0)|(r|0)!=(g+m|0)&(m|0)<=(r|0)){break R}if((P[d+12>>1]&7)==2){break Q}N[d>>2]=e;N[h>>2]=c;N[d+24>>2]=1;p=p+1|0;break Q}Qa[N[a+144>>2]](a,i<<16>>16,e,c,d,h)}d=N[d+4>>2];if(d){h=N[h+4>>2];if(h){continue}}break}d=f;if(p<<16>>16<=0){break P}while(1){if(N[d+24>>2]){N[d+24>>2]=0;Qa[N[a+148>>2]](a,i<<16>>16,N[d>>2],N[l>>2],d,l)}d=N[d+4>>2];if(!d){break P}l=N[l+4>>2];if(l){continue}break}}Qa[N[a+152>>2]](a);i=i+1|0;if((v|0)<=i<<16>>16){break O}d=f;S:{if(!d){break S}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}d=N[f+4>>2];if(!d){break S}e=f+4|0;g=n+136|0;while(1){if(!(N[f>>2]<=N[d>>2])){N[g>>2]=d;N[e>>2]=N[d+4>>2];N[d+4>>2]=f;d=N[n+136>>2];e=n+136|0}g=e;f=d;e=d+4|0;d=N[d+4>>2];if(d){continue}break}k=N[n+132>>2];q=k}h=q;q=0;l=0;d=h;if(!d){continue}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}g=h+4|0;f=n+132|0;q=h;l=h;d=h;e=N[d+4>>2];if(!e){continue}while(1){T:{if(N[d>>2]<=N[e>>2]){f=g;d=e;break T}N[f>>2]=e;N[g>>2]=N[e+4>>2];N[e+4>>2]=d;f=n+132|0;k=N[n+132>>2];h=k;d=h}g=d+4|0;e=N[d+4>>2];if(e){continue}break}q=h;l=h;continue}}f=N[n+136>>2];i=j}if(f){while(1){c=f;f=N[f+4>>2];U:{if(N[c+16>>2]){break U}d=N[n+136>>2];if(!d){break U}if((c|0)==(d|0)){N[n+136>>2]=f;break U}while(1){e=d;d=N[d+4>>2];if(!d){break U}if((c|0)!=(d|0)){continue}break}N[e+4>>2]=f}if(f){continue}break}}V:{if(!k){break V}while(1){c=k;k=N[c+4>>2];W:{if(N[c+16>>2]){break W}d=N[n+132>>2];if(!d){break W}if((c|0)==(d|0)){N[n+132>>2]=k;if(!k){break V}continue}while(1){e=d;d=N[d+4>>2];if(!d){break W}if((c|0)!=(d|0)){continue}break}N[e+4>>2]=k;if(!k){break V}continue}if(k){continue}break}}d=u-j|0;j=i;l=N[a+44>>2];if((l|0)>0){continue}break}}if(i<<16>>16>(o|0)){break D}while(1){Qa[N[a+152>>2]](a);i=i+1<<16>>16;if((o|0)>=(i|0)){continue}break}}if((t|0)<=0){d=0;break a}else{c=s-1|0;t=t-1|0;s=N[(t<<2)+n>>2];continue}}break}d=20;break b}d=99}N[a+40>>2]=d}La=n+144|0;return d}function uv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=La-32|0;La=i;d=N[a+20>>2];a:{if(d){f=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;f=rb(a,36672,b+132|0);if(f){break a}N[b+168>>2]=N[b+168>>2]+(N[b+204>>2]<<16);f=2;if(N[b+132>>2]!=1346785840|Q[b+136>>2]>4|(N[b+140>>2]!=3338|Q[b+144>>2]<58)){break a}e=N[b+152>>2];d=N[a+20>>2];b:{if(d){f=85;if(!(Qa[d|0](a,e,0,0)|0)){break b}break a}f=85;if(e>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=e;N[i+12>>2]=0;d=xb(a,i+12|0);f=N[i+12>>2];if(f){break a}f=8;if(d>>>0>13106){break a}j=N[a+4>>2];if(T(d,5)+2>>>0>=j-e>>>0|j>>>0<=T(d,23)+95>>>0){break a}f=0;N[i+24>>2]=0;N[b>>2]=d;if((c|0)<0){break a}f=6;o=c&65535;if(d>>>0<=o>>>0){break a}n=N[b+204>>2];c=N[b+152>>2];d=N[a+20>>2];c:{if(d){f=85;if(!(Qa[d|0](a,c,0,0)|0)){break c}break a}f=85;if(c>>>0>j>>>0){break a}}N[a+8>>2]=c;N[i+12>>2]=0;c=xb(a,i+12|0);f=N[i+12>>2];if(f){break a}f=6;if(c>>>0<=o>>>0){break a}f=Xc(a,T(o,5));N[i+12>>2]=f;if(f){break a}d=xb(a,i+12|0);f=N[i+12>>2];if(f){break a}e=0;f=La-16|0;La=f;N[i+12>>2]=0;j=a;d:{e:{f:{g:{c=N[a+4>>2];a=N[a+8>>2];if(c>>>0<=a+2>>>0){break g}c=N[j+20>>2];h:{if(c){if((Qa[c|0](j,a,f+13|0,3)|0)!=3){break g}a=N[j+8>>2];c=f+13|0;break h}c=N[j>>2];if(!c){break f}c=a+c|0}e=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);break e}N[i+12>>2]=85;break d}e=0}N[j+8>>2]=a+3}La=f+16|0;f=N[i+12>>2];if(f){break a}N[b+240>>2]=d;N[b+244>>2]=e;a=N[j+20>>2];i:{if(a){f=85;if(!(Qa[a|0](j,e,0,0)|0)){break i}break a}f=85;if(e>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=e;f=Bb(j,d);N[i+12>>2]=f;if(f){break a}j:{if(d>>>0<13){f=8;break j}a=N[j+32>>2];k=a+d|0;f=8;N[b+248>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);N[b+252>>2]=O[a+5|0]|(O[a+4|0]<<8|O[a+3|0]<<16);N[b+256>>2]=O[a+8|0]|(O[a+7|0]<<8|O[a+6|0]<<16);N[b+260>>2]=O[a+11|0]|(O[a+10|0]<<8|O[a+9|0]<<16);d=a+13|0;e=O[a+12|0];c=e&4;if(c){g=e&8?2:1;g=e&3?g:g+3|0}m=e&32;if(k>>>0>31&(m?2:1))|0)>>>0){break j}l=e&16;k:{if(!c){break k}g=O[d|0];l:{if(e&8){g=(O[a+14|0]|g<<8)<<16>>16;d=a+15|0;break l}d=a+14|0}N[b+268>>2]=g;if(e&3){break k}N[b+276>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);d=d+3|0}m:{if(!l){c=d;break m}g=O[d|0];n:{if(m){g=(O[d+1|0]|g<<8)<<16>>16;c=d+2|0;break n}c=d+1|0}N[b+272>>2]=g}o:{if(!(e&64)){d=c;break o}d=c+1|0;if(k>>>0>>0){break j}c=O[c|0];if(c){while(1){a=d+2|0;if(a>>>0>k>>>0){break j}d=a+O[d|0]|0;if(k>>>0>>0){break j}c=c-1|0;if(c){continue}break}}N[i+12>>2]=0}if(k>>>0>>0){break j}a=O[d+1|0]|O[d|0]<<8;N[b+280>>2]=a;N[b+284>>2]=O[d+4|0]|(O[d+3|0]<<8|O[d+2|0]<<16);if(n){if(k>>>0>>0){break j}N[b+280>>2]=a|O[d+5|0]<<16}f=0;h=1}if(N[j+20>>2]){a=N[j>>2];if(a){c=N[j+28>>2];Qa[N[c+8>>2]](c,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;N[i+24>>2]=f;if(!h){break a}c=N[b+280>>2];n=N[b+284>>2];m=N[j+28>>2];N[b+428>>2]=b+424;N[b+424>>2]=0;N[b+292>>2]=n;N[b+288>>2]=m;a=N[j+20>>2];p:{if(a){f=85;if(!(Qa[a|0](j,n,0,0)|0)){break p}break a}f=85;if(n>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=n;f=Bb(j,c);N[i+12>>2]=f;if(f){break a}a=N[j+32>>2];N[b+436>>2]=a;f=8;q:{if((c|0)<15){break q}N[b+296>>2]=O[a+1|0]|O[a|0]<<8;N[b+300>>2]=O[a+3|0]|O[a+2|0]<<8;N[b+304>>2]=O[a+5|0]|O[a+4|0]<<8;d=O[a+6|0]|O[a+7|0]<<8;N[b+308>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+8|0]|O[a+9|0]<<8;N[b+312>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+10|0]|O[a+11|0]<<8;N[b+316>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+12|0]|O[a+13|0]<<8;N[b+320>>2]=(d<<8|d>>>8)<<16>>16;h=a+15|0;N[i+28>>2]=h;k=O[a+14|0];N[b+324>>2]=k;p=k&4;if(!p){if(c>>>0<17){break q}h=a+17|0;N[i+28>>2]=h;d=O[a+15|0]|O[a+16|0]<<8;N[b+328>>2]=(d<<8|d>>>8)<<16>>16}g=a+c|0;if(k<<24>>24<0){l=b+288|0;c=N[i+28>>2];a=c+1|0;r:{if(g>>>0>>0){N[i+28>>2]=c;a=8;break r}f=O[c|0];s:{if(f){while(1){d=a+2|0;if(g>>>0>>0){N[i+28>>2]=a;a=8;break r}c=O[a|0]+d|0;if(c>>>0>g>>>0){N[i+28>>2]=d;a=8;break r}e=156;h=157;t:{u:{v:{w:{switch(O[a+1|0]-1|0){case 2:e=158;break v;case 0:break u;case 1:break v;case 3:break w;default:break t}}e=159}h=e}a=Qa[h|0](d,c,l)|0;if(a){break s}}a=c;f=f-1|0;if(f){continue}break}}d=a;a=0}N[i+28>>2]=d}f=a;N[i+12>>2]=a;if(a){break q}h=N[i+28>>2]}f=8;e=h+3|0;if(g>>>0>>0){break q}N[i+28>>2]=e;h=O[h+2|0]|(O[h+1|0]<<8|O[h|0]<<16);if(h){a=e+h|0;if(a>>>0>g>>>0){break q}N[i+28>>2]=a;l=b+372|0;q=b+376|0;while(1){x:{d=e+4|0;if(d>>>0>a>>>0){break x}c=O[e+1|0]|O[e|0]<<8;if(c>>>0<4|c>>>0>h>>>0){break x}y:{z:{A:{B:{C:{f=O[e+2|0]|O[e+3|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 2:break A;case 1:break B;case 0:break C;default:break y}}f=sm(d,c-4|0,m,l);break z}if(c>>>0<36){break y}d=O[e+14|0]|O[e+15|0]<<8;N[b+332>>2]=(d<<8|d>>>8)<<16>>16;d=O[e+16|0]|O[e+17|0]<<8;N[b+336>>2]=(d<<8|d>>>8)<<16>>16;d=O[e+18|0]|O[e+19|0]<<8;N[b+340>>2]=(d<<8|d>>>8)<<16>>16;break y}f=sm(d,c-4|0,m,q)}N[i+12>>2]=f;if(f){break a}}e=c+e|0;h=h-c|0;if(h){continue}}break}e=a}h=e+1|0;if(g>>>0>>0){f=8;break q}N[i+28>>2]=h;a=O[e|0];N[b+392>>2]=a;f=8;if(g>>>0<(a<<1)+h>>>0){break q}c=lb(m,4,0,a,0,i+12|0);N[b+396>>2]=c;f=N[i+12>>2];if(f){break q}D:{if(!a){break D}d=a&1;E:{if((a|0)==1){f=0;break E}a=a&254;f=0;while(1){e=f<<2;l=O[h|0]|O[h+1|0]<<8;N[e+c>>2]=(l<<8|l>>>8)<<16>>16;l=c+(e|4)|0;e=O[h+2|0]|O[h+3|0]<<8;N[l>>2]=(e<<8|e>>>8)<<16>>16;h=h+4|0;f=f+2|0;if((a|0)!=(f|0)){continue}break}}if(!d){break D}a=O[h|0]|O[h+1|0]<<8;N[c+(f<<2)>>2]=(a<<8|a>>>8)<<16>>16;h=h+2|0}f=8;e=h+8|0;if(g>>>0>>0){break q}N[i+28>>2]=h+1;N[b+400>>2]=O[h|0];N[i+28>>2]=h+2;N[b+404>>2]=O[h+1|0];N[i+28>>2]=h+4;N[b+356>>2]=O[h+3|0]|O[h+2|0]<<8;N[b+344>>2]=O[h+5|0]|O[h+4|0]<<8;N[i+28>>2]=e;l=O[h+7|0]|O[h+6|0]<<8;N[b+408>>2]=l;N[b+412>>2]=(e+n|0)-N[j+32>>2];c=g;g=k>>>3&1;n=k&16;a=k&32;k=k&2;if(c>>>0>>1)+(n>>>4|0)+(a>>>5)|0)+(k?5:4)|0)+e>>>0){break q}m=lb(m,16,0,l,0,i+12|0);N[b+416>>2]=m;f=N[i+12>>2];if(f|!l){break q}d=0;if(!a){while(1){f=m+(d<<4)|0;h=O[e|0];F:{if(k){h=O[e+1|0]|h<<8;c=e+2|0;break F}c=e+1|0}N[f>>2]=h;G:{if(p){a=O[c|0]|O[c+1|0]<<8;e=(a<<8|a>>>8)<<16>>16;c=c+2|0;break G}e=N[b+328>>2]}N[f+4>>2]=e;a=c+g|0;e=O[a|0];H:{if(n){e=O[a+1|0]|e<<8;a=a+2|0;break H}a=a+1|0}N[f+8>>2]=e;N[f+12>>2]=O[a+1|0]|O[a|0]<<8;e=a+2|0;f=0;d=d+1|0;if((l|0)!=(d|0)){continue}break q}}while(1){f=m+(d<<4)|0;h=O[e|0];I:{if(k){h=O[e+1|0]|h<<8;c=e+2|0;break I}c=e+1|0}N[f>>2]=h;J:{if(p){a=O[c|0]|O[c+1|0]<<8;e=(a<<8|a>>>8)<<16>>16;c=c+2|0;break J}e=N[b+328>>2]}N[f+4>>2]=e;a=c+g|0;e=O[a|0];K:{if(n){e=O[a+1|0]|e<<8;a=a+2|0;break K}a=a+1|0}N[f+8>>2]=e;N[f+12>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);e=a+3|0;f=0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if(N[j+20>>2]){a=N[j>>2];if(a){c=N[j+28>>2];Qa[N[c+8>>2]](c,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;c=N[j+8>>2];a=0;N[b+436>>2]=0;N[b+432>>2]=c;N[i+24>>2]=f;if(f){break a}N[b+4>>2]=o;c=N[b+8>>2]|1;N[b+8>>2]=c;d=N[b+408>>2];N[b+16>>2]=d+1;L:{M:{N:{if(!d){break N}e=N[b+416>>2];while(1){if(N[(e+(a<<4)|0)+12>>2]){break N}a=a+1|0;if((d|0)!=(a|0)){continue}break}break M}if((a|0)==(d|0)){break M}e=N[b+380>>2];break L}c=0;e=N[b+380>>2];if(e){break L}f=3;break a}a=N[b+324>>2];c=(a^-1)&4|c|(a&1?32:16);c=e?c|2:c;N[b+8>>2]=c;if(N[b+420>>2]){N[b+8>>2]=c|64}c=N[b+372>>2];N[b+20>>2]=c;if(!c){N[b+20>>2]=N[b+368>>2]}N[b+28>>2]=0;N[b+32>>2]=0;N[b+24>>2]=N[b+376>>2];c=N[b+312>>2];N[b+52>>2]=N[b+308>>2];N[b+56>>2]=c;c=N[b+320>>2];N[b+60>>2]=N[b+316>>2];N[b+64>>2]=c;c=N[b+300>>2];M[b+68>>1]=c;d=N[b+320>>2];M[b+70>>1]=d;f=N[b+312>>2];M[b+72>>1]=f;d=(d<<16>>16)-(f<<16>>16)|0;c=(T(c&65535,12)>>>0)/10|0;M[b+74>>1]=(d|0)>c<<16>>16?d:c;if(e){a=lb(N[N[b+104>>2]+28>>2],16,0,e,0,i+24|0);N[b+32>>2]=a;f=N[i+24>>2];if(f){break a}f=N[b+388>>2];O:{if((e|0)!=1){h=e&1;j=e&-2;c=0;while(1){g=N[f+4>>2];M[a>>1]=g;d=N[f>>2];g=g<<6;N[a+12>>2]=g;N[a+4>>2]=g;M[a+2>>1]=d;N[a+8>>2]=d<<6;g=N[f+40>>2];M[a+16>>1]=g;d=N[f+36>>2];g=g<<6;N[a+28>>2]=g;N[a+20>>2]=g;M[a+18>>1]=d;N[a+24>>2]=d<<6;f=f+72|0;a=a+32|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}if(!h){break O}}d=N[f+4>>2];M[a>>1]=d;c=N[f>>2];d=d<<6;N[a+12>>2]=d;N[a+4>>2]=d;M[a+2>>1]=c;N[a+8>>2]=c<<6}N[b+28>>2]=e;a=N[b+324>>2]}P:{if(!(a&4)){f=N[b+328>>2];break P}c=N[b+408>>2];if(!c){f=0;break P}e=c&3;a=N[b+416>>2];d=0;Q:{if(c>>>0<4){f=0;break Q}c=c-4|0;f=(c>>>2|0)+1|0;h=f&1;R:{if(c>>>0<4){f=0;break R}j=f&2147483646;f=0;c=0;while(1){g=N[a+4>>2];f=(f|0)>(g|0)?f:g;g=N[a+20>>2];f=(f|0)>(g|0)?f:g;g=N[a+36>>2];f=(f|0)>(g|0)?f:g;g=N[a+52>>2];f=(f|0)>(g|0)?f:g;g=N[a+68>>2];f=(f|0)>(g|0)?f:g;g=N[a+84>>2];f=(f|0)>(g|0)?f:g;g=N[a+100>>2];f=(f|0)>(g|0)?f:g;g=N[a+116>>2];f=(f|0)>(g|0)?f:g;a=a+128|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}if(!h){break Q}c=N[a+4>>2];c=(c|0)<(f|0)?f:c;f=N[a+20>>2];c=(c|0)>(f|0)?c:f;f=N[a+36>>2];c=(c|0)>(f|0)?c:f;f=N[a+52>>2];f=(c|0)>(f|0)?c:f;a=a- -64|0}if(!e){break P}while(1){c=N[a+4>>2];f=(c|0)<(f|0)?f:c;a=a+16|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}M[b+76>>1]=f;M[b+78>>1]=P[b+74>>1];a=P[b+68>>1];M[b+82>>1]=(a>>>0)/30;M[b+80>>1]=0-((a>>>0)/10|0);N[i+12>>2]=b;N[i+16>>2]=1970170211;N[i+20>>2]=65539;f=Bc(36580,0,i+12|0,0);if(!N[b+420>>2]){break a}N[b+8>>2]=N[b+8>>2]|64}La=i+32|0;return f|0}function kC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;h=La-128|0;La=h;f=M[b+2>>1];a:{if(!f|!P[b>>1]){break a}C(h,0,128);v=N[c>>2];N[h+16>>2]=v;b:{if((f|0)<0){n=6;break b}c:{f=T(f,40);e=Qa[N[v+4>>2]](v,f)|0;if(e){C(e,0,f);N[h+8>>2]=e;e=M[b>>1];if((e|0)<0){N[h+12>>2]=0;n=6;break b}d:{if(e){f=e<<3;t=Qa[N[v+4>>2]](v,f)|0;if(!t|(e|0)<=0){break d}C(t,0,f)}N[h+12>>2]=t;break c}N[h+12>>2]=t;if(t){break c}n=!t<<6;break b}N[h+8>>2]=e;n=64;break b}u=M[b+2>>1];N[h>>2]=u;n=P[b>>1];A=n<<16>>16;N[h+4>>2]=A;l=N[h+8>>2];if(n){q=N[b+12>>2];f=t;while(1){s=M[q+(o<<1)>>1];p=T(i,40)+l|0;N[f>>2]=p;m=s+1|0;k=m-i|0;N[f+4>>2]=k;if(k){N[p>>2]=T(s,40)+l;N[p+8>>2]=f;g=p;e:{if((k|0)==1){break e}j=0;e=p;r=s-i&3;if(r){while(1){N[e+48>>2]=f;g=e+40|0;N[e+4>>2]=g;N[e+40>>2]=e;k=k-1|0;e=g;j=j+1|0;if((r|0)!=(j|0)){continue}break}}if(s+(i^-1)>>>0<3){break e}while(1){N[e+48>>2]=f;g=e+40|0;N[e+4>>2]=g;N[e+88>>2]=f;N[e+80>>2]=g;g=e+80|0;N[e+44>>2]=g;N[e+128>>2]=f;N[e+120>>2]=g;g=e+120|0;N[e+84>>2]=g;N[e+168>>2]=f;N[e+160>>2]=g;g=e+160|0;N[e+124>>2]=g;N[e+40>>2]=e;e=g;k=k-4|0;if(k>>>0>1){continue}break}}N[g+4>>2]=p}f=f+8|0;i=m;o=o+1|0;if((A|0)!=(o|0)){continue}break}}f:{if(!u){N[h+24>>2]=c;N[h+20>>2]=b;break f}e=N[b+4>>2];o=N[b+8>>2];k=0;f=l;while(1){j=(N[f+4>>2]-l|0)/40|0;g=(N[f>>2]-l|0)/40|0;if(!(L[k+o|0]&1)){N[f+12>>2]=1}i=(k<<3)+e|0;m=N[i+4>>2];g=(g<<3)+e|0;s=m-N[g+4>>2]|0;r=s>>31;p=N[i>>2];q=p-N[g>>2]|0;g=q>>31;w=(g^q)-g|0;x=(s^r)-r|0;g=(q|0)>=0?2:-2;g:{if(w>>>0>T(x,12)>>>0){break g}g=4;if(x>>>0<=T(w,12)>>>0){break g}g=(s|0)>=0?-1:1}L[f+20|0]=g;i=(j<<3)+e|0;r=N[i+4>>2]-m|0;m=r>>31;j=N[i>>2]-p|0;i=j>>31;y=(i^j)-i|0;z=(m^r)-m|0;i=(j|0)>=0?2:-2;h:{if(y>>>0>T(z,12)>>>0){break h}i=4;if(z>>>0<=T(y,12)>>>0){break h}i=(r|0)>=0?-1:1}L[f+21|0]=i;p=N[f+12>>2];i:{j:{if(p&1){break j}if((g|0)!=(i|0)){break i}if((i|0)!=4){break j}i=j+q|0;j=i>>31;g=s+r|0;m=g>>31;i=(i^j)-j|0;g=(g^m)-m|0;g=(T(g>>>0>i>>>0?i:g,3)>>>3|0)+(g>>>0>>0?i:g)|0;if((((T(z>>>0>y>>>0?y:z,3)>>>3|0)+(z>>>0>>0?y:z)+((T(x>>>0>w>>>0?w:x,3)>>>3|0)+(x>>>0>>0?w:x))|0)-g|0)>=(g>>>4|0)){break i}}N[f+12>>2]=p|2}f=f+40|0;k=k+1|0;if((u|0)!=(k|0)){continue}break}N[h+24>>2]=c;N[h+20>>2]=b;b=u&3;if(b){f=0;while(1){N[l+24>>2]=0;N[l+16>>2]=0;N[l+28>>2]=N[e>>2];N[l+32>>2]=N[e+4>>2];e=e+8|0;l=l+40|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=u&-4}else{f=u}if(u>>>0<4){break f}while(1){N[l+24>>2]=0;N[l+16>>2]=0;N[l+28>>2]=N[e>>2];b=N[e+4>>2];N[l- -64>>2]=0;N[l+56>>2]=0;N[l+32>>2]=b;N[l+68>>2]=N[e+8>>2];b=N[e+12>>2];N[l+104>>2]=0;N[l+96>>2]=0;N[l+72>>2]=b;N[l+108>>2]=N[e+16>>2];b=N[e+20>>2];N[l+144>>2]=0;N[l+136>>2]=0;N[l+112>>2]=b;N[l+148>>2]=N[e+24>>2];N[l+152>>2]=N[e+28>>2];e=e+32|0;l=l+160|0;f=f-4|0;if(f){continue}break}}if(n){s=0;while(1){b=(s<<3)+t|0;k:{if(Q[b+4>>2]<4){break k}j=N[b>>2];e=j;while(1){e=N[e+4>>2];if((j|0)==(e|0)){break k}b=N[j+28>>2];l=N[e+28>>2];f=N[e+32>>2];i=N[j+32>>2];if((b|0)==(l|0)&(f|0)==(i|0)){continue}break}o=f-i|0;u=l-b|0;m=j;while(1){p=m;m=N[m>>2];if((j|0)==(m|0)){break k}g=b;b=N[m+28>>2];g=g-b|0;k=i;i=N[m+32>>2];k=k-i|0;if(!(g|k)){continue}q=Gn(u,o,g,k);if(!q){continue}break}b=p;while(1){r=q;o=k;u=g;n=b;m=0;j=f;i=l;while(1){b=e;e=N[e+4>>2];f=N[e+32>>2];k=f-j|0;l=N[e+28>>2];g=l-i|0;m=(e|0)==(p|0)?1:m;j=f;i=l;if(!(g|k)){continue}q=Gn(u,o,g,k);if(!q){continue}break}if((q^r)<0){while(1){N[n+12>>2]=N[n+12>>2]|4;n=N[n+4>>2];if((n|0)!=(b|0)){continue}break}N[b+12>>2]=N[b+12>>2]|4}if(!m){continue}break}}s=s+1|0;if((A|0)!=(s|0)){continue}break}}n=rp(h+28|0,a+16|0,a+28|0,v);if(n){break b}n=rp(h+68|0,a+52|0,a- -64|0,v);if(n){break b}a=N[h+24>>2];t=N[a+200>>2];p=c+416|0;q=N[a+404>>2];f=ob(N[p>>2],q);b=f+32&-64;r=!b|(b|0)==(f|0);if(!r){Ui(a,(b|0)<(f|0)?t+((t|0)/-50|0)|0:t,jb(q,b,f),0,0)}M[h+120>>1]=257;L[h+124|0]=(d|0)!=1;L[h+123|0]=(d|0)==2|(d|0)==4;L[h+122|0]=(d&-2)==2;u=c+932|0;g=N[h>>2];n=1;l=0;while(1){l:{if(!g){break l}a=g&3;f=N[N[h+20>>2]+4>>2];e=N[h+8>>2];if(!(n&1)){m:{if(!a){i=g;break m}i=g&-4;j=0;while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f+4>>2];N[e+32>>2]=N[f>>2];f=f+8|0;e=e+40|0;j=j+1|0;if((a|0)!=(j|0)){continue}break}}if(g>>>0<4){break l}while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f+4>>2];a=N[f>>2];N[e- -64>>2]=0;N[e+56>>2]=0;N[e+32>>2]=a;N[e+68>>2]=N[f+12>>2];a=N[f+8>>2];N[e+104>>2]=0;N[e+96>>2]=0;N[e+72>>2]=a;N[e+108>>2]=N[f+20>>2];a=N[f+16>>2];N[e+144>>2]=0;N[e+136>>2]=0;N[e+112>>2]=a;N[e+148>>2]=N[f+28>>2];N[e+152>>2]=N[f+24>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}break l}n:{if(!a){i=g;break n}i=g&-4;j=0;while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f>>2];N[e+32>>2]=N[f+4>>2];f=f+8|0;e=e+40|0;j=j+1|0;if((a|0)!=(j|0)){continue}break}}if(g>>>0<4){break l}while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f>>2];a=N[f+4>>2];N[e- -64>>2]=0;N[e+56>>2]=0;N[e+32>>2]=a;N[e+68>>2]=N[f+8>>2];a=N[f+12>>2];N[e+104>>2]=0;N[e+96>>2]=0;N[e+72>>2]=a;N[e+108>>2]=N[f+16>>2];a=N[f+20>>2];N[e+144>>2]=0;N[e+136>>2]=0;N[e+112>>2]=a;N[e+148>>2]=N[f+24>>2];N[e+152>>2]=N[f+28>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}}i=N[h+4>>2];o:{if(!i){m=0;break o}b=0;d=N[h+12>>2];while(1){p:{a=d+(b<<3)|0;if(!N[a+4>>2]){break p}a=N[a>>2];f=a;while(1){f=N[f>>2];if((a|0)==(f|0)){m=b+1|0;break o}if(N[f+28>>2]==N[a+28>>2]){continue}break}a=N[f+4>>2];e=a;while(1){k=e;while(1){e=N[e+4>>2];if((a|0)==(e|0)){break p}m=N[e+28>>2];j=N[k+28>>2];if((m|0)==(j|0)){continue}break}q:{r:{if((j|0)>N[f+28>>2]){if((j|0)>(m|0)){break r}break q}if((j|0)>=(m|0)){break q}}while(1){N[k+16>>2]=N[k+16>>2]|64;k=N[k+4>>2];if((k|0)!=(e|0)){continue}break}}f=N[e>>2];continue}}m=0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}while(1){if(g>>>0>m>>>0){f=N[h+8>>2];b=T(m,40);a=f+b|0;d=N[a+16>>2];s:{if(!(d&64)){break s}b=b+f|0;e=a;while(1){e=N[e>>2];if((a|0)==(e|0)){break s}f=N[e+32>>2];i=N[b+32>>2];if((f|0)==(i|0)){continue}break}e=a;while(1){e=N[e+4>>2];if((a|0)==(e|0)){break s}b=N[e+32>>2];if((b|0)==(i|0)){continue}break}t:{if((f|0)<(i|0)){e=128;if((b|0)>(i|0)){break t}}if((f|0)<=(i|0)){break s}e=256;if((b|0)>=(i|0)){break s}}N[a+16>>2]=d|e}m=m+1|0;continue}break}k=N[h+24>>2];m=T(l,40)+h|0;j=m+28|0;f=N[j>>2];if(f){e=N[j+8>>2];while(1){qp(e,k,l,h);e=e+28|0;f=f-1|0;if(f){continue}break}k=N[h+24>>2]}b=N[m+60>>2];e=N[b+8>>2];a=fb(32,N[(T(l,204)+k|0)+200>>2]);i=(a|0)>=30?30:a;d=n&1?1:2;u:{v:{w:{x:{y:{g=N[b>>2];z:{A:{B:{if(g>>>0>=2){b=N[h>>2];if(!b){o=0;break z}a=N[e+12>>2];f=a>>>0>>0?a:b;while(1){b=N[e+28>>2];a=N[h>>2];a=a>>>0>b>>>0?b:a;if(a>>>0>f>>>0){b=N[h+8>>2];pp(j,N[e+16>>2],N[e+24>>2]);op(N[j+4>>2],N[j+12>>2],b+T(f,40)|0,a-f|0,i,d)}e=e+16|0;f=a;g=g-1|0;if(g>>>0>1){continue}break}e=N[N[m+60>>2]+8>>2];break B}if((g|0)!=1){break A}}b=N[h+8>>2];a=N[h>>2];pp(j,N[e>>2],N[e+8>>2]);op(N[j+4>>2],N[j+12>>2],b,a,i,d)}o=N[h>>2];if(!o){o=0;break z}k=N[h+8>>2];e=k;f=o;if(f&1){C:{if(!N[k+24>>2]){break C}a=N[k+16>>2];if(a&16){break C}N[k+16>>2]=a|16}e=k+40|0;f=o-1|0}if((o|0)==1){break y}while(1){D:{if(!N[e+24>>2]){break D}a=N[e+16>>2];if(a&16){break D}N[e+16>>2]=a|16}E:{if(!N[e- -64>>2]){break E}a=N[e+56>>2];if(a&16){break E}N[e+56>>2]=a|16}e=e+80|0;f=f-2|0;if(f){continue}break}}if(!(l&1)){break x}if(!o){break v}k=N[h+8>>2];break w}o=1;if(l&1){break w}}g=0;np(h,0);mp(h,0);lp(h,0);a=N[h>>2];if(!a){break u}b=N[h+20>>2];d=N[b+8>>2];b=N[b+4>>2];f=0;e=N[h+8>>2];g=a;while(1){N[b+(f<<3)>>2]=N[e+36>>2];if(O[e+16|0]&16){a=d+f|0;L[a|0]=O[a|0]|32;g=N[h>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break u}while(1){a=O[k+20|0];F:{G:{if((a|0)==2|(a|0)==254){break G}a=O[k+21|0];if((a|0)==254){break G}if((a|0)!=2){break F}}j=N[k+16>>2];if(j&16){break F}i=N[k+28>>2];g=N[c+412>>2];H:{if(!g){break H}d=N[c+2488>>2];b=0-d|0;e=p;while(1){a=i-N[e+12>>2]|0;if((a|0)<(b|0)){break H}if(!(!O[c+2492|0]&(a|0)>N[c+2484>>2]|(i|0)>(d+N[e+8>>2]|0))){a=N[e+24>>2];j=j|48;N[k+16>>2]=j;N[k+36>>2]=a}e=e+32|0;g=g-1|0;if(g){continue}break}}g=N[c+928>>2];if(!g){break F}f=N[c+2488>>2];d=0-f|0;l=u+(g<<5)|0;while(1){a=l;l=a-32|0;b=N[l+8>>2]-i|0;if((b|0)<(d|0)){break F}if(!(!O[c+2492|0]&(b|0)>=N[c+2484>>2]|(i|0)<(N[a-20>>2]-f|0))){a=N[a-4>>2];j=j|48;N[k+16>>2]=j;N[k+36>>2]=a}g=g-1|0;if(g){continue}break}}k=k+40|0;o=o-1|0;if(o){continue}break}}np(h,1);mp(h,1);lp(h,1);g=N[h>>2];if(!g){g=0;break u}a=N[h+20>>2];d=N[a+8>>2];b=N[a+4>>2];f=0;e=N[h+8>>2];while(1){N[(b+(f<<3)|0)+4>>2]=N[e+36>>2];if(O[e+16|0]&16){a=d+f|0;L[a|0]=O[a|0]|64;g=N[h>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}if(!r){Ui(N[h+24>>2],t,q,0,0)}l=1;a=n&1;n=0;if(a){continue}break}}b=N[h+16>>2];a=N[h+92>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+80>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+76>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+52>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+40>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+36>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+8>>2];if(a){Qa[N[b+8>>2]](b,a)}N[h+8>>2]=0;a=N[h+12>>2];if(!a){break a}Qa[N[b+8>>2]](b,a)}La=h+128|0;return n|0}function gf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,T=0,U=0,W=0,X=0,Y=0;g=La-320|0;La=g;v=S[d+40>>3];r=S[d>>3];u=S[d+32>>3];n=S[d+24>>3];j=S[d+8>>3];s=r*u-n*j;A=S[c+24>>3];C=S[c+16>>3];L=r*A-C*j;y=v*s+L;D=S[d+16>>3];M=n*A-C*u;w=D*s-M;J=r*C+j*A;K=n*C+u*A;a:{if(!(s<0)){m=33;h=s;k=2;break a}y=-y;w=-w;h=-s;k=1}b:{X=J+K;c:{d:{if(!(X>0)){break d}z=r*n+j*u;e:{if(e&k){u=K+(D*z+v);r=J+(v*z+D);if(!(!(u>2];o=N[b+4>>2];x=La-32|0;La=x;g:{h:{if(f){N[a+56>>2]=k|N[a+56>>2];break h}I=k&(N[a+60>>2]^-1);j=S[a+88>>3]*S[a+24>>3];i:{if(V(j)<2147483648){i=~~j;break i}i=-2147483648}l=I&1;j=S[a+80>>3]*S[a+16>>3];j:{if(V(j)<2147483648){q=~~j;break j}q=-2147483648}if(l){N[x+28>>2]=i+o;N[x+24>>2]=q+E;t=N[a>>2];l=N[x+28>>2];N[x+16>>2]=N[x+24>>2];N[x+20>>2]=l;l=0;if(!Fb(t,x+16|0,1)){break g}}if(!(I&2)){break h}N[x+28>>2]=o-i;N[x+24>>2]=E-q;i=N[a+4>>2];q=N[x+28>>2];N[x+8>>2]=N[x+24>>2];N[x+12>>2]=q;l=0;if(!Fb(i,x+8|0,1)){break g}}N[a+60>>2]=k|N[a+60>>2];l=1}La=x+32|0;if(!l){break c}k:{if(u<0|r<0){if(!xi(a,N[b>>2],N[b+4>>2],0,0,k)){break c}if(xi(a,N[b+24>>2],N[b+28>>2],0,0,k)){break k}break c}h=u/h;if(!xi(a,N[b>>2],N[b+4>>2],h*S[d>>3],h*S[d+8>>3],k)){break c}}q=(k^-1)&e;if(q){break f}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;p=1;break c}k=e^k;break e}q=L<0?m|64:m;m=M<0?q^65:q;i=m&64;q=i>>>6|0;l:{m:{n:{o:{p:{q:{if(z+w<1){r:{if(!i){break r}m=(z<0?642:130)^m;if(!(h0)){m=m^193;break q}m=m^705}if(!(z+y<1)){break o}if(!i){break m}break n}if(z+y<1){m=m^65;break n}m=m^1;break l}if(i){m=m^64;break l}if(!(z>0)){m=m^320;break l}m=m^1344;break l}m=(z<0?1284:260)^m;if(!(h>>0>2?k:0)^e}else{k=e}q=e}s:{if(!k){break s}O=z+1;T=(L+M)/X;P=T*T;Q=O*P;R=s*s;w=O*Q;v=R*3+w*3;j=s*T;r=j*6*O;U=v-r;h=aa(O*.5);H=h*1.5*(h+1);F=j+j;u=F*(z+4);n=R+R+Q*-6;D=u+n;y=U+U+H*D;A=z+-1;j=A+A+P*3;h=j-F;W=r+v;r=n-u;C=W+W+H*r;u=F+j;w=z*((w-R)*3.6);n=(R-Q*z)*7.2;v=w+w+H*n;j=A*4+z*(P*3.6);v=(y*(U-H*h*H)+(C*(W-H*u*H)+(v*(w-H*j*H)+0)))/((y*y+(C*C+(v*v+0)))*H+1e-9);h=v*(v*U+D)+h;P=h*h;h=v*(v*W+r)+u;Q=h*h;h=v*(v*w+n)+j;if(!(S[a+144>>3]>P+(Q+(h*h+0)))){break s}n=v*O+-1;j=T*n;h=s*v;F=j+h;y=j-h;l=m&32;i=l?2:1;t:{if(!(i&k)){A=S[d+40>>3];C=S[d+16>>3];break t}h=n;n=l?-s:s;e=h*(n+n)>3];j=l?-y:y;e=C-j<0?e|2:e;h=l?-F:F;A=S[d+40>>3];e=h+A<0?e|4:e;e=n+(J+C)-h*z<0?e|8:e;if(!(((j*z+(n+(K+A))<0?e|16:e)^m)&m>>>6)){break t}k=(i^-1)&k;if(!k){break s}}v=L+L;D=J+J;w=S[a+152>>3];if(!(V(y*3*C+v)<(C*3+D)*w)){break s}r=M+M;u=K+K;if(!(V(F*3*A+r)<(A*3+u)*w)){break s}n=z*C;j=s*C;s=A*-s;h=z*A;if(!(V(F*n+(y*D+v-j)-s/3)>2];r=S[d+8>>3];u=S[d+32>>3];o=N[b>>2];n=S[d>>3];j=S[d+24>>3];I=k^-1;N[a+60>>2]=I&N[a+60>>2];h=S[a+88>>3]*S[a+24>>3];u:{if(V(h)<2147483648){i=~~h;break u}i=-2147483648}G=k&1;h=S[a+80>>3]*S[a+16>>3];v:{if(V(h)<2147483648){e=~~h;break v}e=-2147483648}if(G){N[g+84>>2]=i+E;N[g+80>>2]=e+o;t=N[a>>2];l=N[g+84>>2];N[g+72>>2]=N[g+80>>2];N[g+76>>2]=l;p=0;if(!Fb(t,g+72|0,3)){break c}}Y=k&2;if(Y){N[g+84>>2]=E-i;N[g+80>>2]=o-e;i=N[a+4>>2];e=N[g+84>>2];N[g+64>>2]=N[g+80>>2];N[g+68>>2]=e;p=0;if(!Fb(i,g- -64|0,3)){break c}}s=r*y+n;x=N[b+12>>2];E=N[b+8>>2];h=(r-n*y)*S[a+24>>3];w:{if(V(h)<2147483648){k=~~h;break w}k=-2147483648}h=s*S[a+16>>3];x:{if(V(h)<2147483648){i=~~h;break x}i=-2147483648}if(G){m=N[a>>2];t=N[m+4>>2];if(!t){break b}p=0;o=i+E|0;e=o>>31;if((e^o)-e>>>0>268435455){break c}e=k+x|0;l=e>>31;if((e^l)-l>>>0>268435455){break c}p=N[m>>2];y:{if(t>>>0>p>>>0){t=N[m+16>>2];break y}p=0;N[147316]=0;l=t<<1;t=jd(N[m+16>>2],l,8);N[m+16>>2]=t;if(N[147316]){break c}N[m+4>>2]=l;p=N[m>>2]}l=(p<<3)+t|0;N[l>>2]=o;N[l+4>>2]=e;N[m>>2]=N[m>>2]+1}if(Y){o=N[a+4>>2];t=N[o+4>>2];if(!t){break b}p=0;l=E-i|0;e=l>>31;if((e^l)-e>>>0>268435455){break c}e=x-k|0;i=e>>31;if((e^i)-i>>>0>268435455){break c}p=N[o>>2];z:{if(t>>>0>p>>>0){k=N[o+16>>2];break z}p=0;N[147316]=0;i=t<<1;k=jd(N[o+16>>2],i,8);N[o+16>>2]=k;if(N[147316]){break c}N[o+4>>2]=i;p=N[o>>2]}i=(p<<3)+k|0;N[i>>2]=l;N[i+4>>2]=e;N[o>>2]=N[o>>2]+1}s=u*F+j;x=N[b+20>>2];E=N[b+16>>2];h=(u-j*F)*S[a+24>>3];A:{if(V(h)<2147483648){k=~~h;break A}k=-2147483648}h=s*S[a+16>>3];B:{if(V(h)<2147483648){i=~~h;break B}i=-2147483648}if(G){G=N[a>>2];o=N[G+4>>2];if(!o){break b}p=0;t=i+E|0;e=t>>31;if((e^t)-e>>>0>268435455){break c}e=k+x|0;l=e>>31;if((e^l)-l>>>0>268435455){break c}p=N[G>>2];C:{if(o>>>0>p>>>0){m=N[G+16>>2];break C}p=0;N[147316]=0;l=o<<1;m=jd(N[G+16>>2],l,8);N[G+16>>2]=m;if(N[147316]){break c}N[G+4>>2]=l;p=N[G>>2]}l=(p<<3)+m|0;N[l>>2]=t;N[l+4>>2]=e;N[G>>2]=N[G>>2]+1}D:{if(Y){o=N[a+4>>2];t=N[o+4>>2];if(!t){break D}p=0;l=E-i|0;e=l>>31;if((e^l)-e>>>0>268435455){break c}e=x-k|0;i=e>>31;if((e^i)-i>>>0>268435455){break c}p=N[o>>2];E:{if(t>>>0>p>>>0){k=N[o+16>>2];break E}p=0;N[147316]=0;i=t<<1;k=jd(N[o+16>>2],i,8);N[o+16>>2]=k;if(N[147316]){break c}N[o+4>>2]=i;p=N[o>>2]}i=(p<<3)+k|0;N[i>>2]=l;N[i+4>>2]=e;N[o>>2]=N[o>>2]+1}e=q&I;if(e){break d}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;p=1;break c}break b}e=q}o=N[b+12>>2];x=N[b+8>>2];I=N[b>>2];t=N[b+24>>2];E=N[b+16>>2];l=N[b+4>>2];i=N[b+20>>2];q=i+N[b+28>>2]|0;N[g+300>>2]=q>>1;k=q;q=(i+o|0)+2|0;k=k+q|0;N[g+292>>2]=k>>2;i=l+o|0;q=i+q|0;N[g+276>>2]=q>>2;o=(k+q|0)-1>>3;N[g+284>>2]=o;q=t+E|0;N[g+296>>2]=q>>1;k=x+I|0;N[g+264>>2]=k>>1;N[g+268>>2]=i>>1;i=q;q=(x+E|0)+2|0;i=i+q|0;N[g+288>>2]=i>>2;q=k+q|0;N[g+272>>2]=q>>2;l=(i+q|0)-1>>3;N[g+280>>2]=l;i=N[b+4>>2];q=N[b>>2];N[g+256>>2]=q;N[g+260>>2]=i;k=N[b+28>>2];N[g+304>>2]=N[b+24>>2];N[g+308>>2]=k;r=S[c>>3]*.5;S[g+176>>3]=r;u=S[c+8>>3]*.5;S[g+184>>3]=u;s=S[c+24>>3];n=S[c+16>>3];j=S[c+32>>3]*.5;S[g+240>>3]=j;h=S[c+40>>3];s=s*.5;D=(u+s)*.5;S[g+200>>3]=D;h=h*.5;S[g+248>>3]=h;u=(s+h)*.5;S[g+232>>3]=u;w=(D+u)*.5;S[g+216>>3]=w;h=n*.5;n=(r+h)*.5;S[g+192>>3]=n;h=(h+j)*.5;S[g+224>>3]=h;r=(n+h)*.5;S[g+208>>3]=r;t=g+208|0;k=g+280|0;j=aa(r*r+w*w);s=S[a+128>>3];if(j>2];N[g+80>>2]=N[d>>2];N[g+84>>2]=b;b=N[d+12>>2];N[g+88>>2]=N[d+8>>2];N[g+92>>2]=b;S[g+96>>3]=S[d+16>>3]*.5;b=N[d+36>>2];N[g+160>>2]=N[d+32>>2];N[g+164>>2]=b;b=N[d+28>>2];N[g+152>>2]=N[d+24>>2];N[g+156>>2]=b;S[g+168>>3]=S[d+40>>3]*.5;v=n+r;S[g+192>>3]=v;r=h+r;S[g+224>>3]=r;n=u+w;S[g+232>>3]=n;j=D+w;S[g+200>>3]=j;N[t>>2]=0;N[t+4>>2]=0;N[t+8>>2]=0;N[t+12>>2]=0;h=aa(v*v+j*j);c=h>2];N[g+120>>2]=N[d+16>>2];N[g+124>>2]=b;b=N[d+12>>2];N[g+112>>2]=N[d+8>>2];N[g+116>>2]=b;b=N[d+4>>2];N[g+104>>2]=N[d>>2];N[g+108>>2]=b;break F}S[g+120>>3]=h;h=1/h;S[g+112>>3]=j*h;S[g+104>>3]=v*h}h=s;s=aa(r*r+n*n);G:{if(h>s){b=N[d+44>>2];N[g+144>>2]=N[d+40>>2];N[g+148>>2]=b;b=N[d+36>>2];N[g+136>>2]=N[d+32>>2];N[g+140>>2]=b;b=N[d+28>>2];N[g+128>>2]=N[d+24>>2];N[g+132>>2]=b;break G}S[g+144>>3]=s;h=1/s;S[g+136>>3]=n*h;S[g+128>>3]=r*h}H:{if(c){N[a+60>>2]=N[a+60>>2]&(e^-1);h=S[a+88>>3]*S[a+24>>3];I:{if(V(h)<2147483648){d=~~h;break I}d=-2147483648}b=i;f=e&1;h=S[a+80>>3]*S[a+16>>3];J:{if(V(h)<2147483648){c=~~h;break J}c=-2147483648}if(f){N[g+316>>2]=b+d;N[g+312>>2]=c+q;i=N[a>>2];f=N[g+316>>2];N[g+56>>2]=N[g+312>>2];N[g+60>>2]=f;p=0;if(!Fb(i,g+56|0,1)){break c}}if(!(e&2)){break H}N[g+316>>2]=b-d;N[g+312>>2]=q-c;c=N[a+4>>2];b=N[g+316>>2];N[g+48>>2]=N[g+312>>2];N[g+52>>2]=b;p=0;if(Fb(c,g+48|0,1)){break H}break c}p=0;if(!gf(a,g+256|0,g+176|0,g+80|0,e,f)){break c}}d=N[g+272>>2];c=N[g+276>>2];b=N[g+140>>2];N[g+32>>2]=N[g+136>>2];N[g+36>>2]=b;N[g+40>>2]=d;N[g+44>>2]=c;b=N[g+132>>2];N[g+24>>2]=N[g+128>>2];N[g+28>>2]=b;p=0;if(!ye(a,g+40|0,g+24|0,e)){break c}K:{if(s>3]){N[a+60>>2]=N[a+60>>2]&(e^-1);h=S[a+88>>3]*S[a+24>>3];L:{if(V(h)<2147483648){c=~~h;break L}c=-2147483648}d=e&1;h=S[a+80>>3]*S[a+16>>3];M:{if(V(h)<2147483648){b=~~h;break M}b=-2147483648}if(d){N[g+316>>2]=c+o;N[g+312>>2]=b+l;f=N[a>>2];d=N[g+316>>2];N[g+16>>2]=N[g+312>>2];N[g+20>>2]=d;if(!Fb(f,g+16|0,1)){break c}}if(!(e&2)){break K}N[g+316>>2]=o-c;N[g+312>>2]=l-b;b=N[a+4>>2];a=N[g+316>>2];N[g+8>>2]=N[g+312>>2];N[g+12>>2]=a;if(Fb(b,g+8|0,1)){break K}break c}if(!gf(a,k,t,g+128|0,e,0)){break c}}p=1;break c}b=N[d+4>>2];N[g+80>>2]=N[d>>2];N[g+84>>2]=b;b=N[d+12>>2];N[g+88>>2]=N[d+8>>2];N[g+92>>2]=b;s=S[d+16>>3];h=1/j;S[g+112>>3]=w*h;S[g+120>>3]=j;S[g+104>>3]=r*h;S[g+96>>3]=s*.5;b=N[d+36>>2];N[g+136>>2]=N[d+32>>2];N[g+140>>2]=b;b=N[d+28>>2];N[g+128>>2]=N[d+24>>2];N[g+132>>2]=b;S[g+144>>3]=S[d+40>>3]*.5;p=0;if(!gf(a,g+256|0,g+176|0,g+80|0,e,f)){break c}p=gf(a,k,t,g+104|0,e,0)}La=g+320|0;return p}ba(9920,18249,281,9160);B()}function EA(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=La-80|0;La=f;j=N[a+8>>2];a:{if(!j){b=6;break a}m=N[a>>2];c=N[a+4>>2];b:{if(N[c+12>>2]>1){break b}ld(c);if(N[c+12>>2]>1){break b}h=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=h>>>0){break b}d=b+1|0;N[c>>2]=d;e=O[b|0];b=d;if(!(1<>>0>26){continue}break}}while(1){c:{N[c+12>>2]=0;d=hf(c);if(d){break c}b=2;if(N[c+12>>2]==2){continue}break a}break}b=2;if((N[c>>2]+(d^-1)|0)!=16){break a}if(bb(d,11361,16)){break a}e=160;d:{e:{f:{g:while(1){c=N[a+4>>2];h:{if(N[c+12>>2]>1){break h}ld(c);if(N[c+12>>2]>1){break h}g=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=g>>>0){break h}d=b+1|0;N[c>>2]=d;h=O[b|0];b=d;if(!(1<>>0>26){continue}break}}while(1){i:{N[c+12>>2]=0;h=hf(c);if(h){break i}if(N[c+12>>2]==2){continue}break d}break}g=N[c>>2]+(h^-1)|0;b=O[h|0];c=0;while(1){j:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break j}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break j}d=c|2;if((d|0)==74){continue g}if((b|0)==O[N[(d<<2)+294496>>2]]){break j}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break j}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){i=N[(d<<2)+294496>>2];if((b|0)!=O[i|0]){continue g}if(bb(i,h,g)){i=(c|0)==(d|0);d=d+1|0;if(i){continue g}continue}break}b=0;k:{l:{switch(d|0){case 40:N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}if(!(N[f+36>>2]&-3)){continue}e=7;break d;case 30:N[f>>2]=4;if((ed(a,f,1)|0)!=1){break d}L[j|0]=O[f+4|0];continue;case 26:N[f+24>>2]=2;N[f+16>>2]=2;N[f+8>>2]=2;N[f>>2]=2;if((ed(a,f,4)|0)!=4){break d}N[j+4>>2]=N[f+4>>2];N[j+8>>2]=N[f+12>>2];N[j+12>>2]=N[f+20>>2];N[j+16>>2]=N[f+28>>2];continue;case 0:N[f>>2]=2;if((ed(a,f,1)|0)!=1){break d}N[j+20>>2]=N[f+4>>2];continue;case 14:N[f>>2]=2;if((ed(a,f,1)|0)!=1){break d}N[j+24>>2]=N[f+4>>2];continue;case 45:N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}c=N[f+36>>2];if((c|0)<=0){break k}m:while(1){g=N[a+4>>2];n:{if(N[g+12>>2]>1){break n}ld(g);if(N[g+12>>2]>1){break n}h=N[g+8>>2];d=N[g>>2];while(1){if(d>>>0>=h>>>0){break n}b=d+1|0;N[g>>2]=b;e=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[g+12>>2]=0;d=N[g>>2];i=N[g+8>>2];if(d>>>0>=i>>>0){break f}h=c-1|0;while(1){b=d+1|0;N[g>>2]=b;o:{switch(O[d|0]-9|0){case 0:case 23:d=b;if((i|0)!=(b|0)){continue}break f;default:p:{q:{r:{while(1){if(b>>>0>=i>>>0){break r}d=b;b=b+1|0;N[g>>2]=b;e=2;s:{switch(O[d|0]-9|0){case 0:case 23:break p;case 1:case 4:break q;case 17:break r;case 50:break s;default:continue}}break}e=1;break q}e=3}N[g+12>>2]=e}b=(c|0)>1;c=h;if(b){continue m}break k;case 50:N[g+12>>2]=1;break e;case 1:case 4:break o;case 17:break f}}N[g+12>>2]=0;d=b;if(i>>>0>b>>>0){continue}break}break};break f;case 20:break a;case 49:break l;default:continue}}i=1;t:while(1){e=N[a+4>>2];u:{if(N[e+12>>2]>1){break u}ld(e);if(N[e+12>>2]>1){break u}h=N[e+8>>2];d=N[e>>2];while(1){if(d>>>0>=h>>>0){break u}b=d+1|0;N[e>>2]=b;c=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[e+12>>2]=0;v:{d=N[e>>2];g=N[e+8>>2];if(d>>>0>=g>>>0){break v}w:{x:{while(1){y:{b=d+1|0;N[e>>2]=b;z:{switch(O[d|0]-9|0){case 0:case 23:d=b;if((g|0)!=(b|0)){continue}break v;default:while(1){c=b;if(g>>>0<=b>>>0){break y}b=c+1|0;N[e>>2]=b;h=2;A:{switch(O[c|0]-9|0){case 0:case 23:break w;case 1:case 4:break x;case 17:break y;case 50:break A;default:continue}}break};h=1;break x;case 50:N[e+12>>2]=1;e=160;break d;case 17:break v;case 1:case 4:break z}}N[e+12>>2]=0;d=b;if(g>>>0>b>>>0){continue}break v}break}h=3}N[e+12>>2]=h}h=(d^-1)+b|0;e=O[d|0];b=0;while(1){B:{if((e|0)==O[N[(b<<2)+294496>>2]]){c=b;break B}c=b|1;if((e|0)==O[N[(c<<2)+294496>>2]]){break B}c=b|2;if((c|0)==74){continue t}if((e|0)==O[N[(c<<2)+294496>>2]]){break B}c=b|3;if((e|0)==O[N[(c<<2)+294496>>2]]){break B}b=b+4|0;continue}break}b=(c|0)<=73?73:c;while(1){g=N[(c<<2)+294496>>2];if((e|0)!=O[g|0]){continue t}if(bb(g,d,h)){g=(b|0)==(c|0);c=c+1|0;if(g){continue t}continue}break}if((c|0)==75){continue}b=0;e=160;C:{switch(c-20|0){case 33:if(!i){break d}d=N[a+4>>2];h=N[a+8>>2];N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}b=N[f+36>>2];if((b|0)<0){break d}N[h+32>>2]=b;if(b>>>0>(N[d+8>>2]-N[d>>2]>>>0)/20>>>0){break d}if(b){n=h,o=lb(N[a>>2],20,0,b,0,f+32|0),N[n+28>>2]=o;e=N[f+32>>2];if(e){break d}}e=-1;D:while(1){c=N[a+4>>2];E:{if(N[c+12>>2]>1){break E}ld(c);if(N[c+12>>2]>1){break E}i=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=i>>>0){break E}d=b+1|0;N[c>>2]=d;g=O[b|0];b=d;if(!(1<>>0>26){continue}break}}F:{while(1){N[c+12>>2]=0;g=hf(c);if(g){break F}if(N[c+12>>2]==2){continue}break}e=160;break d}i=N[c>>2]+(g^-1)|0;b=O[g|0];c=0;while(1){G:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break G}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break G}d=c|2;if((d|0)==74){continue D}if((b|0)==O[N[(d<<2)+294496>>2]]){break G}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break G}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){k=N[(d<<2)+294496>>2];if((b|0)!=O[k|0]){continue D}if(bb(k,g,i)){k=(c|0)==(d|0);d=d+1|0;if(k){continue D}continue}break}H:{I:{switch(d-20|0){case 36:e=e+1|0;if((e|0)>=N[h+32>>2]){break H}b=N[h+28>>2];N[f+64>>2]=2;N[f+56>>2]=2;N[f+48>>2]=2;N[f+40>>2]=2;N[f+32>>2]=3;if((ed(a,f+32|0,5)|0)!=5){break H}b=b+T(e,20)|0;N[b>>2]=N[f+36>>2];N[b+4>>2]=N[f+44>>2];N[b+8>>2]=N[f+52>>2];N[b+12>>2]=N[f+60>>2];N[b+16>>2]=N[f+68>>2];continue;case 0:case 1:case 3:b=e+1|0;if((b|0)!=N[h+32>>2]){N[h+32>>2]=b}i=0;continue t;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break H;default:break I}}if((d|0)==75){continue}}break};e=160;break d;case 0:case 1:break a;case 30:case 31:break C;default:break d}}if(l){break d}d=N[a+4>>2];g=N[a+8>>2];N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}b=N[f+36>>2];if((b|0)<0){break d}N[g+40>>2]=b;if(b>>>0>(N[d+8>>2]-N[d>>2]>>>0)/10>>>0){break d}if(b){n=g,o=lb(N[a>>2],16,0,b,0,f+32|0),N[n+36>>2]=o;e=N[f+32>>2];if(e){break d}}e=-1;J:{K:while(1){c=N[a+4>>2];L:{if(N[c+12>>2]>1){break L}ld(c);if(N[c+12>>2]>1){break L}l=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=l>>>0){break L}d=b+1|0;N[c>>2]=d;h=O[b|0];b=d;if(!(1<>>0>26){continue}break}}M:{while(1){N[c+12>>2]=0;h=hf(c);if(h){break M}if(N[c+12>>2]==2){continue}break}e=160;break d}l=N[c>>2]+(h^-1)|0;b=O[h|0];c=0;while(1){N:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break N}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break N}d=c|2;if((d|0)==74){continue K}if((b|0)==O[N[(d<<2)+294496>>2]]){break N}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break N}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){k=N[(d<<2)+294496>>2];if((b|0)!=O[k|0]){continue K}if(bb(k,h,l)){k=(c|0)==(d|0);d=d+1|0;if(k){continue K}continue}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){e=160;break d}b=1<=N[g+40>>2]){break O}b=N[g+36>>2];N[f+56>>2]=3;N[f+48>>2]=3;N[f+40>>2]=5;N[f+32>>2]=5;l=ed(a,f+32|0,4);if((l|0)<3){break O}h=b+(e<<4)|0;N[h>>2]=N[f+36>>2];N[h+4>>2]=N[f+44>>2];c=0;b=N[f+52>>2];if((d|0)!=37){c=b;b=(d|0)==34?(l|0)==4?N[f+60>>2]:0:0}N[h+12>>2]=b;N[h+8>>2]=c;continue}break}e=160;break d}b=e+1|0;if((b|0)!=N[g+40>>2]){N[g+40>>2]=b}Zc(N[g+36>>2],b,16,359);l=1;continue}break}N[e+12>>2]=3;e=160;break d}while(1){e=N[a+4>>2];P:{if(N[e+12>>2]>1){break P}ld(e);if(N[e+12>>2]>1){break P}h=N[e+8>>2];d=N[e>>2];while(1){if(d>>>0>=h>>>0){break P}b=d+1|0;N[e>>2]=b;c=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[e+12>>2]=0;Q:{d=N[e>>2];g=N[e+8>>2];if(d>>>0>=g>>>0){break Q}R:{S:{while(1){T:{b=d+1|0;N[e>>2]=b;U:{switch(O[d|0]-9|0){case 50:N[e+12>>2]=1;break e;case 0:case 23:d=b;if((g|0)!=(b|0)){continue}break Q;default:while(1){c=b;if(g>>>0<=b>>>0){break T}b=c+1|0;N[e>>2]=b;h=2;V:{switch(O[c|0]-9|0){case 0:case 23:break R;case 1:case 4:break S;case 17:break T;case 50:break V;default:continue}}break};h=1;break S;case 17:break Q;case 1:case 4:break U}}N[e+12>>2]=0;d=b;if(g>>>0>b>>>0){continue}break Q}break}h=3}N[e+12>>2]=h}h=(d^-1)+b|0;e=O[d|0];c=0;W:{while(1){X:{if((e|0)==O[N[(c<<2)+294496>>2]]){b=c;break X}b=c|1;if((e|0)==O[N[(b<<2)+294496>>2]]){break X}b=c|2;if((b|0)==74){c=75;break W}if((e|0)==O[N[(b<<2)+294496>>2]]){break X}b=c|3;if((e|0)==O[N[(b<<2)+294496>>2]]){break X}c=c+4|0;continue}break}g=(b|0)<=73?73:b;while(1){c=75;i=N[(b<<2)+294496>>2];if((e|0)!=O[i|0]){break W}if(!bb(i,d,h)){c=b;break W}i=(b|0)==(g|0);b=b+1|0;if(!i){continue}break}}e=0;switch(c-17|0){case 0:case 3:continue g;default:continue}}break}break}N[e+12>>2]=3;break e}N[g+12>>2]=3}b=160;break a}a=N[j+28>>2];if(a){Qa[N[m+8>>2]](m,a)}N[j+28>>2]=0;N[j+32>>2]=0;a=N[j+36>>2];if(a){Qa[N[m+8>>2]](m,a)}L[j|0]=0;N[j+36>>2]=0;N[j+40>>2]=0;b=e}La=f+80|0;return b|0}function oh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{g=N[b+4>>2];b:{if(g>>>0>a>>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break b}f=N[b+12>>2];d=f-2|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=O[a|0]|O[a+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<2){break b}d=a+4|0;if(d>>>0>h>>>0|h-d>>>0<4){break b}f=f-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}c=1;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break b}c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);o=c>>>0<=1?1:c;p=c-1|0;e=a+8|0;while(1){c:{if(e>>>0>>0|e>>>0>h>>>0|h-e>>>0<12){break c}d=N[b+12>>2];a=d-12|0;N[b+12>>2]=a;if((a|0)<=0){break c}a=N[b+32>>2];c=N[a+12>>2];N[b+4>>2]=c;a=N[a+16>>2];h=a+c|0;N[b+8>>2]=h;d:{e:{f:{g:{h:{if((a|0)>=0){i:{j:{a=m>>>0

>>0?e:0;if(a){if(a>>>0>>0&a>>>0>=c>>>0){break j}N[b+4>>2]=0;N[b+8>>2]=0;c=0;h=0;break i}if(c>>>0<=e>>>0){break i}a=0;break d}N[b+4>>2]=a;f=h-a|0;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=a+(c>>>0>f>>>0?f:c)|0;N[b+8>>2]=h;c=a}a=0;if(e>>>0>h>>>0){break d}f=h-e|0;if(f>>>0<12){break d}g=d-24|0;N[b+12>>2]=g;if((g|0)<=0){break d}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0<13|d>>>0>f>>>0){break d}d=g-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}k:{switch((O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24))>>>24|0){case 0:f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<8){break d}d=d-8|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);c=UE(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24),0,6,0);if(Pa){break d}if(!c){break e}f=e+28|0;if(f>>>0>h>>>0|c>>>0>h-f>>>0){break d}c=d-c|0;N[b+12>>2]=c;if((c|0)>0){break e}break d;case 1:break k;case 2:break f;case 4:break g;case 6:break h;default:break e}}if(f>>>0<32|c>>>0>e>>>0){break d}f=d-32|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<16){break d}f=d-48|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<4){break d}f=e+16|0;if(f>>>0>h>>>0|h-f>>>0<4){break d}d=d-52|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(d&128){break d}if(!yc(c+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break d}d=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((i|0)<0){break d}a=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);j=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);k=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;n=i<<1;d=0;h=0;a=0;while(1){l:{m:{n:{if((d|0)<=(h|0)){f=h+1|0;c=UE(f,0,n,0);if(Pa){a=0;break d}o:{if(!c){g=N[b+12>>2];break o}if(k>>>0>2]){a=0;break d}g=N[b+8>>2];if(g>>>0>>0){a=0;break d}if(c>>>0>g-k>>>0){a=0;break d}g=N[b+12>>2]-c|0;N[b+12>>2]=g;if((g|0)>0){break o}a=0;break d}c=((h^-1)+d|0)+g|0;N[b+12>>2]=c;if((c|0)<=0){a=0;break d}UE(f,0,i,0);if(Pa){a=0;break d}c=T(f,i);if((c|0)<0){a=0;break d}d=T(d,i);if((d|0)<(c|0)){break n}d=f}if(!a){c=N[b+12>>2]+a|0;N[b+12>>2]=c;a=0;if((c|0)<=0){break d}break l}c=a;break m}l=k+(c<<1)|0;g=k+(d<<1)|0;c=a;while(1){d=O[g|0]|O[g+1|0]<<8;d=((d<<8|d>>>8)&65535)+1|0;c=c>>>0>d>>>0?c:d;g=g+2|0;if(l>>>0>g>>>0){continue}break}d=f}if(j>>>0>2]){a=0;break d}f=N[b+8>>2];if(f>>>0>>0){a=0;break d}l=f-j|0;f=T(c,6);if(l>>>0>>0){a=0;break d}g=N[b+12>>2]-f|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}g=g+(a-c|0)|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}if((a|0)>=(c|0)){a=c;break l}f=f+j|0;g=j+T(a,6)|0;while(1){a=O[g|0]|O[g+1|0]<<8;a=(a<<8|a>>>8)&65535;h=(a|0)<(h|0)?h:a;g=g+6|0;if(f>>>0>g>>>0){continue}break}a=c}if((d|0)<=(h|0)){continue}break}break e}break a}if(f>>>0<36|c>>>0>e>>>0){break d}c=d-36|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=e+20|0;f=c>>>0>h>>>0|h-c>>>0<4;p:{if(L[e+15|0]&1){if(f){break d}d=d-40|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!jl((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+24|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!jl((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+28|0]|O[e+29|0]<<8|(O[e+30|0]<<16|O[e+31|0]<<24);if(!c){break p}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)>0){break p}break d}if(f){break d}d=d-40|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+24|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+28|0]|O[e+29|0]<<8|(O[e+30|0]<<16|O[e+31|0]<<24);if(!c){break p}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}}if(!(O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24))){break e}c=O[e+32|0]|O[e+33|0]<<8|(O[e+34|0]<<16|O[e+35|0]<<24);if(!c){break e}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}break e}if(f>>>0<32|c>>>0>e>>>0){break d}f=d-32|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<16){break d}f=d-48|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<4){break d}f=e+16|0;if(f>>>0>h>>>0|h-f>>>0<4){break d}d=d-52|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(d&128){break d}if(!yc(c+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break d}d=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((i|0)<0){break d}a=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);j=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);k=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;n=i<<1;d=0;h=0;a=0;while(1){q:{r:{s:{if((d|0)<=(h|0)){f=h+1|0;c=UE(f,0,n,0);if(Pa){a=0;break d}t:{if(!c){g=N[b+12>>2];break t}if(k>>>0>2]){a=0;break d}g=N[b+8>>2];if(g>>>0>>0){a=0;break d}if(c>>>0>g-k>>>0){a=0;break d}g=N[b+12>>2]-c|0;N[b+12>>2]=g;if((g|0)>0){break t}a=0;break d}c=((h^-1)+d|0)+g|0;N[b+12>>2]=c;if((c|0)<=0){a=0;break d}UE(f,0,i,0);if(Pa){a=0;break d}c=T(f,i);if((c|0)<0){a=0;break d}d=T(d,i);if((d|0)<(c|0)){break s}d=f}if(!a){c=N[b+12>>2]+a|0;N[b+12>>2]=c;a=0;if((c|0)<=0){break d}break q}c=a;break r}l=k+(c<<1)|0;g=k+(d<<1)|0;c=a;while(1){d=O[g|0]|O[g+1|0]<<8;d=((d<<8|d>>>8)&65535)+1|0;c=c>>>0>d>>>0?c:d;g=g+2|0;if(l>>>0>g>>>0){continue}break}d=f}if(j>>>0>2]){a=0;break d}f=N[b+8>>2];if(f>>>0>>0){a=0;break d}l=f-j|0;f=T(c,6);if(l>>>0>>0){a=0;break d}g=N[b+12>>2]-f|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}g=g+(a-c|0)|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}if((a|0)>=(c|0)){a=c;break q}f=f+j|0;g=j+T(a,6)|0;while(1){a=O[g|0]|O[g+1|0]<<8;a=(a<<8|a>>>8)&65535;h=(a|0)<(h|0)?h:a;g=g+6|0;if(f>>>0>g>>>0){continue}break}a=c}if((d|0)<=(h|0)){continue}break}break e}if(f>>>0<28|c>>>0>e>>>0){break d}c=d-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=e+16|0;if(c>>>0>h>>>0|h-c>>>0<4){break d}d=d-32|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+20|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);if(!c){break e}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}}a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+e|0;a=1}c=N[b+32>>2];g=N[c+12>>2];N[b+4>>2]=g;c=N[c+16>>2];h=c+g|0;N[b+8>>2]=h;if((c|0)<0){break a}if(!a){break c}c=1;m=m+1|0;if((o|0)!=(m|0)){continue}break b}break}c=0}return c}ba(16656,14279,195,9642);B()}function qv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=La-32|0;La=o;q=6;p=N[a+4>>2];a:{if(!p){break a}f=c-1|0;u=c>>>0>=f>>>0?f:0;if(u>>>0>=Q[p+408>>2]){break a}b:{if(d&9){break b}g=N[p+380>>2];if(!g){break b}k=N[p+416>>2];e=k+(u<<4)|0;j=N[p+104>>2];c=N[p+388>>2];f=P[b+12>>1];while(1){if(!((f|0)==N[c>>2]&N[c+4>>2]==P[b+14>>1])){c=c+36|0;h=h+1|0;if((g|0)!=(h|0)){continue}break b}break}g=N[c+24>>2]+N[p+432>>2]|0;h=N[c+8>>2];f=N[j+20>>2];c:{if(f){if(!(Qa[f|0](j,g,0,0)|0)){break c}break b}if(g>>>0>Q[j+4>>2]){break b}}N[j+8>>2]=g;f=h&1;if(Bb(j,T(N[c+28>>2],(h>>>2&1)+(h&2?f+5|0:f|4)|0))){break b}g=N[c+8>>2];n=g&1;t=(g&2?n+5|0:n|4)+(g>>>2&1)|0;s=N[e>>2];h=N[c+28>>2];i=N[j+32>>2];if(!(g&64)){f=N[j+36>>2];r=g|128;N[c+8>>2]=r;d:{e:{f:{e=f;f=T(h,t);l=f+i|0;if(e>>>0>=l>>>0){if((f|0)<=0){break d}e=-1;if(n){break f}f=i;while(1){m=e;e=O[f|0];if((m|0)>=(e|0)){break e}f=f+t|0;if(l>>>0>f>>>0){continue}break}break d}r=g&-129;break d}f=i;while(1){m=e;e=O[f+1|0]|O[f|0]<<8;if((m|0)>=(e|0)){break e}f=f+t|0;if(l>>>0>f>>>0){continue}break}break d}r=g&-129}g=r|64;N[c+8>>2]=g}g:{h:{i:{if(!(g&128)){break i}c=0;j:{if(!n){while(1){if(c>>>0>=h>>>0){break i}l=c+h>>>1|0;f=i+T(l,t)|0;m=O[f|0];e=m>>>0>s>>>0;h=e?l:h;c=e?c:m>>>0>>0?l+1|0:c;if((m|0)!=(s|0)){continue}break}c=f+1|0;break j}while(1){if(c>>>0>=h>>>0){break i}l=c+h>>>1|0;m=i+T(l,t)|0;e=O[m|0]<<8|O[m+1|0];f=e>>>0>s>>>0;c=f?c:e>>>0>>0?l+1|0:c;h=f?l:h;if((e|0)!=(s|0)){continue}break}c=m+2|0}i=O[c|0];k:{if(g&2){i=O[c+1|0]|i<<8;c=c+2|0;break k}c=c+1|0}e=O[c+1|0];f=O[c|0];if(!(g&4)){break h}c=O[c+2|0]|(e<<8|f<<16);break g}if(N[j+20>>2]){f=N[j>>2];if(f){c=N[j+28>>2];Qa[N[c+8>>2]](c,f)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;break b}c=e|f<<8}if(N[j+20>>2]){e=N[j>>2];if(e){f=N[j+28>>2];Qa[N[f+8>>2]](f,e)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;if(!i){break b}N[o+28>>2]=0;N[o+24>>2]=0;N[o+16>>2]=0;N[o+12>>2]=0;N[o+8>>2]=0;e=N[((u<<4)+k|0)+4>>2];h=N[p+304>>2];f=N[p+300>>2];if((h|0)!=(f|0)){f=jb(e,f,h)}else{f=e}N[a+56>>2]=f;f=jb(P[b+12>>1]<<8,e,h);N[o+20>>2]=f;e=c+N[p+188>>2]|0;c=N[j+20>>2];l:{if(c){if(!(Qa[c|0](j,e,0,0)|0)){break l}break b}if(e>>>0>Q[j+4>>2]){break b}}N[j+8>>2]=e;if(Bb(j,i)){break b}N[o+4>>2]=N[j+32>>2];m=8;l=N[j+36>>2];g=N[o+4>>2];m:{if(l>>>0>>0){break m}n:{o:{p:{q:{r:{h=O[g|0];switch((h&3)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}c=g+2|0;if(l>>>0>>0){break m}e=L[g+1|0];g=e>>4;k=e<<28>>28;break n}c=g+3|0;if(l>>>0>>0){break m}k=L[g+2|0];g=L[g+1|0];break n}c=g+5|0;if(l>>>0>>0){break m}e=O[g+3|0]|O[g+4|0]<<8;k=(e<<8|e>>>8)<<16>>16;e=O[g+1|0]|O[g+2|0]<<8;g=(e<<8|e>>>8)<<16>>16;break n}c=g+7|0;if(l>>>0>>0){break m}k=O[g+6|0]|(O[g+5|0]<<8|O[g+4|0]<<16);g=O[g+3|0]|(O[g+2|0]<<8|O[g+1|0]<<16)}n=h>>>2&3;r=n;s:{t:{switch(n-1|0){case 0:e=c+1|0;if(e>>>0>l>>>0){break m}c=O[c|0];r=c&15;n=c>>>4|0;c=e;break s;case 1:e=c+2|0;if(e>>>0>l>>>0){break m}r=O[c+1|0];n=O[c|0];c=e;break s;case 2:break t;default:break s}}e=c+4|0;if(e>>>0>l>>>0){break m}r=O[c+3|0]|O[c+2|0]<<8;n=O[c+1|0]|O[c|0]<<8;c=e}u:{v:{w:{x:{h=h>>>4|0;switch((h&3)-1|0){case 2:break v;case 1:break w;case 0:break x;default:break u}}e=c+1|0;if(e>>>0>l>>>0){break m}f=L[c|0]<<8;c=e;break u}e=c+2|0;if(e>>>0>l>>>0){break m}c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=e;break u}e=c+3|0;if(e>>>0>l>>>0){break m}f=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);c=e}N[o+28>>2]=g;N[o+24>>2]=k;N[o+16>>2]=n;N[o+12>>2]=r;N[o+20>>2]=f;N[o+8>>2]=h>>>2;N[o+4>>2]=c;m=0}y:{if(m){break y}z:{A:{B:{C:{m=N[o+8>>2];switch(m|0){case 0:break A;case 2:break B;case 1:break C;default:break y}}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)>>>0<=T(i,15)>>>0){break z}break y}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)>>>0>T(i+1>>>1|0,255)>>>0){break y}break z}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)+7>>>3>>>0>i>>>0){break y}}if((c|0)<0){break y}i=N[o+24>>2];if((i|0)>(c^2147483647)){break y}N[a+72>>2]=1651078259;N[a+76>>2]=c;N[a+80>>2]=h;L[a+94|0]=1;N[a+28>>2]=c<<6;g=h<<6;N[a+24>>2]=g;e=h+7>>3;N[a+84>>2]=e;h=N[o+28>>2];N[a+36>>2]=i<<6;N[a+32>>2]=h<<6;f=N[o+20>>2];N[a+48>>2]=0;N[a+44>>2]=0-g>>1;N[a+40>>2]=(f>>2)+32&-64;f=N[b+32>>2];N[a+104>>2]=c+i;N[a+100>>2]=h;N[a+52>>2]=f;if(!(d&4194304)){g=T(c,e);h=N[N[a+4>>2]+100>>2];f=N[a+156>>2];c=N[f+4>>2];D:{if(c&1){c=N[a+88>>2];if(c){Qa[N[h+8>>2]](h,c)}N[a+88>>2]=0;break D}N[f+4>>2]=c|1}c=0;e=g?6:0;E:{if((g|0)<=0){break E}f=Qa[N[h+4>>2]](h,g)|0;e=64;if(!f){break E}C(f,0,g);c=f;e=0}N[a+88>>2]=c;if(e){break y}d=N[o+4>>2];k=N[j+36>>2];e=O[p+208|0]>>>1&1;n=0;f=N[a+76>>2];F:{if(!f){break F}b=N[a+80>>2];if(!b){break F}c=N[a+84>>2];l=e?c:0-c|0;q=T(b,f);h=N[a+88>>2]+(e?0:T(c,f-1|0))|0;G:{H:{switch(m|0){case 0:a=k-d<<3;g=a>>>0>>0?a:q;if(!g){break F}i=128;e=0;f=h;a=b;c=g;while(1){if(!((c^g)&7)){e=O[d|0];d=d+1|0}n=e<<24>>31&i|n;a=a-1|0;I:{if(!a){L[f|0]=n;n=0;a=b;h=h+l|0;f=h;m=128;break I}m=i>>>1|0;if(i>>>0>1){break I}L[f|0]=n;f=f+1|0;n=0;m=128}i=m;e=e<<1;c=c-1|0;if(c){continue}break};if((i|0)!=128){break G}break F;case 1:if(!q){break F}r=1;g=128;f=h;c=b;a=0;e=0;i=1;while(1){J:{K:{if(!r){break K}L:{if(!i){i=1;e=a;break L}i=1;m=g;if(d>>>0>=k>>>0){break J}e=O[d|0];a=e&15;d=d+1|0;i=0;e=e>>>4|0}if(e){break K}while(1){M:{if(!i){i=1;e=a;break M}if(d>>>0>=k>>>0){i=1;e=0;m=g;break J}e=O[d|0];a=e&15;d=d+1|0;i=0;e=e>>>4|0}if(!e){continue}break}}m=i?g:0}n=m|n;c=c-1|0;N:{if(!c){L[f|0]=n;n=0;c=b;h=h+l|0;f=h;m=128;break N}m=g>>>1|0;if(g>>>0>1){break N}L[f|0]=n;f=f+1|0;n=0;m=128}g=m;r=(e|0)<2;e=e-1|0;q=q-1|0;if(q){continue}break};if((g|0)!=128){break G}break F;case 2:break H;default:break F}}if(!q){break F}e=1;g=128;f=h;c=b;a=0;i=1;while(1){O:{if(!(e&1)|d>>>0>=k>>>0){break O}P:{while(1){i=i^1;e=d+1|0;a=O[d|0];if(a){break P}d=e;if((e|0)!=(k|0)){continue}break}a=0;d=k;break O}d=e}n=(i?g:0)|n;c=c-1|0;Q:{if(!c){L[f|0]=n;n=0;c=b;h=h+l|0;f=h;e=128;break Q}e=g>>>1|0;if(g>>>0>1){break Q}L[f|0]=n;f=f+1|0;n=0;e=128}g=e;e=(a|0)<2;a=a-1|0;q=q-1|0;if(q){continue}break}if((g|0)==128){break F}}L[f|0]=n}}if(N[j+20>>2]){b=N[j>>2];if(b){a=N[j+28>>2];Qa[N[a+8>>2]](a,b)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;q=0;break a}if(N[j+20>>2]){f=N[j>>2];if(f){c=N[j+28>>2];Qa[N[c+8>>2]](c,f)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0}if(d&16384){break a}m=N[p+416>>2];N[a+72>>2]=1869968492;N[a+108>>2]=0;c=m+(u<<4)|0;i=N[c+8>>2];g=N[c+12>>2];h=N[p+188>>2];e=N[p+104>>2];k=N[a+188>>2];N[k+20>>2]=0;N[k+36>>2]=0;N[k+48>>2]=0;c=N[k+32>>2];f=k- -64|0;N[f>>2]=N[k+28>>2];N[f+4>>2]=c;N[k+88>>2]=N[k+52>>2];c=N[k+24>>2];N[k+56>>2]=N[k+20>>2];N[k+60>>2]=c;c=N[k+40>>2];N[k+72>>2]=N[k+36>>2];N[k+76>>2]=c;c=N[k+48>>2];N[k+80>>2]=N[k+44>>2];N[k+84>>2]=c;N[a+176>>2]=0;q=rm(a+160|0,e,h,g,i);if(q){break a}f=N[a+188>>2];c=N[f+24>>2];N[a+108>>2]=N[f+20>>2];N[a+112>>2]=c;N[a+124>>2]=N[f+36>>2];c=N[f+32>>2];N[a+116>>2]=N[f+28>>2];N[a+120>>2]=c;c=N[a+124>>2]&-6;N[a+124>>2]=c|4;if(P[b+14>>1]<=23){N[a+124>>2]=c|260}N[a+52>>2]=0;N[a+40>>2]=0;c=N[(m+(u<<4)|0)+4>>2];e=N[p+304>>2];f=N[p+300>>2];if((e|0)!=(f|0)){c=jb(c,f,e)}f=N[p+324>>2]&1;N[(f?52:40)+a>>2]=c;u=0-f&c;N[a+60>>2]=u;n=f?0:c;N[a+56>>2]=n;N[a+44>>2]=0;N[a+48>>2]=0;R:{if(d&1){e=P[a+110>>1];break R}p=N[b+20>>2];s=N[b+16>>2];e=M[a+110>>1];S:{if((e|0)<=0){b=s>>31;b=(b^s)-b|0;r=b>>>8|0;break S}b=p>>31;t=(b^p)-b|0;m=t&65535;i=t>>>16|0;g=t>>>8|0;b=s>>31;b=(b^s)-b|0;h=b&65535;f=b>>>16|0;r=b>>>8|0;c=N[a+112>>2];q=0;while(1){k=N[c>>2];d=k>>31;l=(d^k)-d|0;T:{if(l+r>>>0<=8190){j=T(b,l)+32768>>>16|0;break T}d=l&65535;j=T(d,f)+T(l>>>16|0,b)+(T(d,h)+32768>>>16)|0}d=j;l=0-d|0;d=k>>31|1;N[c>>2]=(((s|0)<0?0-d|0:d)|0)<0?l:j;k=N[c+4>>2];d=k>>31;l=(d^k)-d|0;U:{if(l+g>>>0<=8190){j=T(l,t)+32768>>>16|0;break U}d=l&65535;j=T(d,i)+T(t,l>>>16|0)+(T(d,m)+32768>>>16)|0}d=j;l=0-d|0;d=k>>31|1;N[c+4>>2]=(((p|0)<0?0-d|0:d)|0)<0?l:j;c=c+8|0;q=q+1|0;if((q|0)!=(e|0)){continue}break}}c=n>>31;d=(c^n)-c|0;V:{if(d+r>>>0<=8190){c=T(b,d)+32768>>>16|0;break V}c=d&65535;c=T(c,b>>>16|0)+T(d>>>16|0,b)+(T(c,b&65535)+32768>>>16)|0}b=c;d=0-b|0;b=n>>31|1;N[a+40>>2]=(((s|0)<0?0-b|0:b)|0)<0?d:c;b=p>>31;d=(b^p)-b|0;b=u>>31;c=(b^u)-b|0;W:{if((d>>>8|0)+c>>>0<=8190){c=T(c,d)+32768>>>16|0;break W}b=c&65535;c=T(b,d>>>16|0)+T(d,c>>>16|0)+(T(b,d&65535)+32768>>>16)|0}b=c;d=0-b|0;b=u>>31|1;N[a+52>>2]=(((p|0)<0?0-b|0:b)|0)<0?d:c}q=0;b=0;d=0;h=0;f=0;X:{if(!(e&65535)){break X}i=N[a+112>>2];h=N[i+4>>2];f=N[i>>2];b=e<<16>>16;if((b|0)<2){b=h;d=f;break X}c=(b<<3)+i|0;e=i+8|0;d=f;b=h;while(1){g=N[i+12>>2];b=(b|0)<(g|0)?g:b;h=(g|0)<(h|0)?g:h;g=N[i+8>>2];d=(d|0)<(g|0)?g:d;f=(f|0)>(g|0)?g:f;i=e;e=e+8|0;if(c>>>0>e>>>0){continue}break}}N[a+36>>2]=h;N[a+32>>2]=f;N[a+28>>2]=b-h;N[a+24>>2]=d-f}La=o+32|0;return q|0}function rE(a){a=a|0;var b=0,c=0,d=0;b=N[a+100>>2];a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break c}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=282;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;d:{e:{f:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break d}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=283;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break l}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];p:{q:{r:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break q}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break r}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break p}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];v:{w:{x:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break w}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break x}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break v}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break A}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1667654002;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break C}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break B}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break G}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];H:{I:{J:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break I}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break J}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break H}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break P}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function re(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;j=La-48|0;La=j;r=N[a+100>>2];f=N[a+104>>2];N[j+32>>2]=0;N[j+36>>2]=0;N[j+24>>2]=0;N[j+28>>2]=0;e=N[a+736>>2];a:{b:{if(!e){if(Qa[N[a+516>>2]](a,1735811442,f,j+44|0)|0){c=Qa[N[a+516>>2]](a,1128678962,f,j+44|0)|0;if(c){break a}}c=Qa[N[a+516>>2]](a,1719034226,f,j+44|0)|0;if(c){break a}w=N[f+8>>2];c=rb(f,27216,j+24|0);if(c){break a}i=P[j+30>>1];g=P[j+36>>1];c=Qa[N[r+4>>2]](r,80)|0;if(c){C(c,0,80);N[a+736>>2]=c;N[c>>2]=i;m=(g|0)==((i<<2)+6|0);break b}N[a+736>>2]=0;c=64;break a}i=N[e>>2];c=e;m=0}x=T(i,24);o=N[a+12>>2];s=o>>>16|0;y=T(s,12);z=(i<<1)+3&-4;q=T(i,s);t=q<<2;c:{if(!e){e=((((T(i,5)+x|0)+z|0)+y|0)+t|0)+20|0;N[c+16>>2]=e;d:{if((e|0)<=0){c=6;if(!e){break d}break a}h=Qa[N[r+4>>2]](r,e)|0;if(!h){c=64;break a}C(h,0,e)}N[N[a+736>>2]+12>>2]=h;k=h+20|0;g=z+k|0;n=g+x|0;N[h+16>>2]=n;N[h+12>>2]=g;N[h+8>>2]=s;N[h+4>>2]=-1;N[h>>2]=i;e=n+y|0;e:{if(o>>>0<65536){break e}o=s>>>0<=1?1:s;u=o&3;c=e;if(o>>>0>=4){o=o&65532;while(1){N[n+T(d,12)>>2]=c;p=c;c=i<<2;p=p+c|0;N[n+T(d|1,12)>>2]=p;p=c+p|0;N[n+T(d|2,12)>>2]=p;p=c+p|0;N[n+T(d|3,12)>>2]=p;c=c+p|0;d=d+4|0;if((o|0)!=(d|0)){continue}break}}if(!u){break e}o=i<<2;while(1){N[n+T(d,12)>>2]=c;d=d+1|0;c=c+o|0;l=l+1|0;if((u|0)!=(l|0)){continue}break}}f:{if(!i){break f}l=i&7;d=e+t|0;g:{if(i-1>>>0<7){c=0;break g}e=i&-8;c=0;while(1){N[g+T(c,24)>>2]=d;N[g+T(c|1,24)>>2]=d+5;N[g+T(c|2,24)>>2]=d+10;N[g+T(c|3,24)>>2]=d+15;N[g+T(c|4,24)>>2]=d+20;N[g+T(c|5,24)>>2]=d+25;N[g+T(c|6,24)>>2]=d+30;N[g+T(c|7,24)>>2]=d+35;d=d+40|0;c=c+8|0;if((e|0)!=(c|0)){continue}break}}if(!l){break f}while(1){N[g+T(c,24)>>2]=d;c=c+1|0;d=d+5|0;v=v+1|0;if((l|0)!=(v|0)){continue}break}}d=P[j+28>>1]+w|0;e=N[f+20>>2];h:{if(e){c=85;if(!(Qa[e|0](f,d,0,0)|0)){break h}break a}c=85;if(d>>>0>Q[f+4>>2]){break a}}N[f+8>>2]=d;i:{j:{k:{if(!i){d=0;break k}d=N[h+12>>2];e=0;while(1){c=rb(f,27264,j+4|0);if(c){break a}c=N[j+4>>2];N[d+16>>2]=c;N[d+4>>2]=N[j+8>>2];N[d+8>>2]=N[j+12>>2];N[d+12>>2]=N[j+16>>2];N[d+20>>2]=P[j+22>>1];L[N[d>>2]]=c>>>24;L[N[d>>2]+1|0]=P[d+18>>1];L[N[d>>2]+2|0]=N[d+16>>2]>>>8;L[N[d>>2]+3|0]=N[d+16>>2];L[N[d>>2]+4|0]=0;M[k>>1]=P[j+20>>1];c=N[d+8>>2];if(!((c|0)>=N[d+4>>2]&(c|0)<=N[d+12>>2])){N[d+12>>2]=c;N[d+4>>2]=c}k=k+2|0;d=d+24|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}d=0;if((q|0)<0){c=6;break c}if(!q){break k}c=10;if((q|0)>536870911){break c}d=Qa[N[r+4>>2]](r,t)|0;if(!d|(q|0)<=0){break j}C(d,0,t)}c=N[a+736>>2];N[c+20>>2]=d;break i}c=N[a+736>>2];N[c+20>>2]=d;if(d){break i}c=!d<<6;break a}g=P[j+34>>1];if(g){if(!O[c+24|0]){d=N[f+8>>2];Wm(a);e=N[f+20>>2];l:{if(e){c=85;if(!(Qa[e|0](f,d,0,0)|0)){break l}break a}c=85;if(d>>>0>Q[f+4>>2]){break a}}N[f+8>>2]=d;c=N[a+736>>2]}u=i<<2;w=u+(m?6:4)|0;p=g>>>0<=1?1:g;l=N[h+16>>2];k=N[c+20>>2];o=0;while(1){c=Bb(f,w);if(c){break a}e=0;n=N[f+36>>2];c=N[f+32>>2];if(n>>>0>c+1>>>0){e=O[c+1|0]|O[c|0]<<8;c=c+2|0}N[l+4>>2]=e;d=c+((n>>>0>c+1>>>0)<<1)|0;N[f+32>>2]=d;if(i){c=N[l>>2];e=0;while(1){m:{if(n>>>0<=d+3>>>0){v=0;break m}q=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);v=q<<24|(q&65280)<<8|(q>>>8&65280|q>>>24);d=d+4|0}N[f+32>>2]=d;N[c>>2]=v;c=c+4|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}n:{if(!m){c=65535;break n}c=0;if(d+1>>>0>>0){c=O[d+1|0]|O[d|0]<<8;d=d+2|0}N[f+32>>2]=d}N[l+8>>2]=c;Vm(N[a+736>>2],i,N[l>>2],k);if(N[f+20>>2]){c=N[f>>2];if(c){d=N[f+28>>2];Qa[N[d+8>>2]](d,c)}N[f>>2]=0}k=k+u|0;N[f+32>>2]=0;N[f+36>>2]=0;l=l+12|0;o=o+1|0;if((p|0)!=(o|0)){continue}break}c=g}else{c=0}o:{if((c|0)==(s|0)){break o}c=17;d=N[a+540>>2];if(!(Qa[N[d+164>>2]](a,17,j+4|0,j)|0)){c=2;if(!(Qa[N[d+164>>2]](a,2,j+4|0,j)|0)){break o}}if(!(Qa[N[d+164>>2]](a,6,j+4|0,j)|0)){break o}d=N[h+16>>2]+T(g,12)|0;N[d+8>>2]=6;N[d+4>>2]=c;if(!i){break o}d=N[d>>2];c=N[h+12>>2];if(i-1>>>0>=7){f=i&-8;e=0;while(1){N[d>>2]=N[c+8>>2];N[d+4>>2]=N[c+32>>2];N[d+8>>2]=N[c+56>>2];N[d+12>>2]=N[c+80>>2];N[d+16>>2]=N[c+104>>2];N[d+20>>2]=N[c+128>>2];N[d+24>>2]=N[c+152>>2];N[d+28>>2]=N[c+176>>2];d=d+32|0;c=c+192|0;e=e+8|0;if((f|0)!=(e|0)){continue}break}}f=i&7;if(!f){break o}e=0;while(1){N[d>>2]=N[c+8>>2];d=d+4|0;c=c+24|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}l=0;g=La-16|0;La=g;m=N[a+736>>2];f=N[a+104>>2];k=N[f+28>>2];p:{if(Qa[N[a+516>>2]](a,1297498450,f,g+4|0)|0){break p}d=N[f+8>>2];N[g+8>>2]=0;if(Q[f+4>>2]<=d+1>>>0){break p}q:{r:{c=N[f+20>>2];s:{if(c){if((Qa[c|0](f,d,g+14|0,2)|0)!=2){break p}h=g+14|0;c=N[f+8>>2];break s}c=N[f>>2];if(!c){break r}h=c+d|0;c=d}e=O[h|0]|O[h+1|0]<<8;e=e<<8|e>>>8;break q}c=d;e=0}N[f+8>>2]=c+2;c=c+4|0;h=N[f+20>>2];t:{if(h){if(!(Qa[h|0](f,c,0,0)|0)){break t}break p}if(c>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=c;if((e&65535)!=1){break p}c=Qa[N[k+4>>2]](k,28)|0;if(c){L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[m+56>>2]=c;c=N[f+8>>2]+4|0;e=N[f+20>>2];u:{if(e){if(!(Qa[e|0](f,c,0,0)|0)){break u}break p}if(c>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=c;N[g+8>>2]=0;c=xb(f,g+8|0);M[N[m+56>>2]>>1]=c;if(N[g+8>>2]){break p}e=xb(f,g+8|0);if(N[g+8>>2]){break p}c=N[f+8>>2];d=Um(N[a+104>>2],N[a+736>>2],d+e|0,N[m+56>>2]+4|0);N[g+8>>2]=d;if(d){break p}e=lb(k,12,0,P[N[m+56>>2]>>1],0,g+8|0);d=N[m+56>>2];N[d+24>>2]=e;if(N[g+8>>2]){break p}e=N[f+20>>2];v:{if(e){if(Qa[e|0](f,c,0,0)|0){break p}d=N[m+56>>2];break v}if(c>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=c;c=Bb(f,P[d>>1]<<3);N[g+8>>2]=c;if(c){break p}k=N[m+56>>2];c=P[k>>1];w:{if(!c){l=1;break w}d=N[k+24>>2];s=d+T(c,12)|0;e=N[f+32>>2];q=N[k+4>>2];n=N[f+36>>2];while(1){c=0;x:{if(n>>>0<=e+3>>>0){h=0;break x}h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);e=e+4|0}N[f+32>>2]=e;N[d>>2]=h;if(n>>>0>e+1>>>0){c=O[e|0]|O[e+1|0]<<8;c=c<<8|c>>>8;e=e+2|0}N[f+32>>2]=e;M[d+4>>1]=c;y:{if(n>>>0<=e+1>>>0){h=0;break y}h=O[e|0]|O[e+1|0]<<8;h=h<<8|h>>>8;e=e+2|0}N[f+32>>2]=e;M[d+6>>1]=h;c=c&65535;if(c>>>0>=q>>>0|Q[N[k+8>>2]+(c<<4)>>2]<=(h&65535)>>>0){break w}d=d+12|0;if(s>>>0>d>>>0){continue}break}l=1}if(N[f+20>>2]){c=N[f>>2];if(c){d=N[f+28>>2];Qa[N[d+8>>2]](d,c)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;if(!l){break p}c=N[m+56>>2];d=P[c>>1];if(d){c=N[c+24>>2];d=c+T(d,12)|0;while(1){e=Xm(a,N[c>>2]);if(e){M[c+8>>1]=P[e>>1]}c=c+12|0;if(d>>>0>c>>>0){continue}break}}N[a+740>>2]=N[a+740>>2]|256;break p}N[m+56>>2]=0}La=g+16|0}if(b){k=0;d=N[N[a+736>>2]+16>>2];z:{if((d|0)<=0){c=6;if(!d){break z}break a}k=Qa[N[r+4>>2]](r,d)|0;if(!k){c=64;break a}C(k,0,d)}a=N[a+736>>2];F(k,N[a+12>>2],N[a+16>>2]);c=(k+z|0)+20|0;g=x+c|0;N[k+16>>2]=g;N[k+12>>2]=c;f=g+y|0;m=N[k+8>>2];A:{if(!m){break A}a=0;d=0;e=f;if(m>>>0>=4){h=m&-4;while(1){N[g+T(d,12)>>2]=e;p=e;e=i<<2;l=p+e|0;N[g+T(d|1,12)>>2]=l;l=e+l|0;N[g+T(d|2,12)>>2]=l;l=e+l|0;N[g+T(d|3,12)>>2]=l;e=e+l|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}m=m&3;if(!m){break A}h=i<<2;while(1){N[g+T(d,12)>>2]=e;d=d+1|0;e=e+h|0;a=a+1|0;if((m|0)!=(a|0)){continue}break}}B:{if(!i){break B}d=f+t|0;if((i|0)!=1){f=i&1;g=i&-2;i=0;while(1){N[c>>2]=d;C:{D:{E:{a=N[c+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break E}if((a|0)!=1936486004){break C}e=9324;break D}e=9465;if((a|0)==2003265652){break D}if((a|0)!=2003072104){break C}e=14033;break D}e=15435}N[c>>2]=e}N[c+24>>2]=d+5;F:{G:{H:{I:{a=N[c+40>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break I}if((a|0)!=1936486004){break F}e=9324;break G}if((a|0)==2003072104){break H}e=9465;if((a|0)==2003265652){break G}break F}e=15435;break G}e=14033}N[c+24>>2]=e}c=c+48|0;d=d+10|0;i=i+2|0;if((g|0)!=(i|0)){continue}break}if(!f){break B}}N[c>>2]=d;J:{K:{L:{a=N[c+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break L}if((a|0)!=1936486004){break B}e=9324;break J}if((a|0)==2003072104){break K}e=9465;if((a|0)==2003265652){break J}break B}e=15435;break J}e=14033}N[c>>2]=e}N[b>>2]=k}c=0;break a}N[N[a+736>>2]+20>>2]=0}La=j+48|0;return c|0}function BE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;k=N[c+80>>2];m=31;h=1;a=0;b=0;n=N[c+68>>2];if(!n){break b}f=0;break a}ba(22778,14165,169,12138);B()}f=1}while(1){c:{d:{e:{if(!f){a=O[m+259984|0]==10?b:a;d=m<<1;e=M[d+258944>>1]+257504|0;f=L[m+259232|0];m=O[(k+T(b,20)|0)+18|0];i=O[d+257216|0];if(m>>>0>=i>>>0){f=m>>>0>O[d+257217|0]?f:m-i|0}f=O[e+f|0];break e}if((m|0)==31){break d}b=n;f=M[(m<<1)+259696>>1]-1|0}m=O[f+259376|0];f=L[f+259536|0];f:{if(!f){break f}g:{h:{switch(f-1|0){case 1:g=b+1|0;break f;case 10:g=b+1|0;i:{if(g>>>0<=a>>>0){break i}i=k+3|0;e=h<<4|5;d=a;j=g-d&7;if(j){f=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(b-a>>>0<=6){break i}while(1){f=i+T(d,20)|0;L[f+32|0]=e;L[f+12|0]=e;L[f+52|0]=e;L[f+72|0]=e;L[f+92|0]=e;L[f+112|0]=e;L[f+132|0]=e;L[f+152|0]=e;f=d+7|0;d=d+8|0;if((b|0)!=(f|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 12:f=b-1|0;j:{if(a>>>0>=b>>>0){break j}i=k+3|0;e=h<<4;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break j}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 13:f=b-1|0;k:{if(a>>>0>=b>>>0){break k}i=k+3|0;e=h<<4|1;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break k}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 16:f=b-1|0;l:{if(a>>>0>=b>>>0){break l}i=k+3|0;e=h<<4|2;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break l}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 18:f=b-1|0;m:{if(a>>>0>=b>>>0){break m}i=k+3|0;e=h<<4|3;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break m}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 14:f=b-1|0;n:{if(a>>>0>=b>>>0){break n}i=k+3|0;e=h<<4|4;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break n}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 15:f=b-1|0;o:{if(a>>>0>=b>>>0){break o}i=k+3|0;e=h<<4|5;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break o}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 0:b=g-1|0;p:{if(a>>>0>=g>>>0){break p}i=k+3|0;e=h<<4;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break p}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 2:b=g-1|0;q:{if(a>>>0>=g>>>0){break q}i=k+3|0;e=h<<4|1;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break q}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 6:b=g-1|0;r:{if(a>>>0>=g>>>0){break r}i=k+3|0;e=h<<4|2;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break r}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 7:b=g-1|0;s:{if(a>>>0>=g>>>0){break s}i=k+3|0;e=h<<4|3;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break s}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 3:b=g-1|0;t:{if(a>>>0>=g>>>0){break t}i=k+3|0;e=h<<4|4;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break t}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;f=h+1|0;h=(f|0)==16?1:f;break f;case 5:u:{switch(l-1|0){case 0:b=g-1|0;v:{if(a>>>0>=g>>>0){break v}l=k+3|0;e=h<<4;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break v}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}l=1;f=h+1|0;h=(f|0)==16?1:f;break f;case 4:b=g-1|0;w:{if(a>>>0>=g>>>0){break w}l=k+3|0;e=h<<4|4;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break w}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;f=h+1|0;h=(f|0)==16?1:f;l=5;break f;case 5:break u;default:break f}}b=g-1|0;x:{if(a>>>0>=g>>>0){break x}l=k+3|0;e=h<<4|5;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break x}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break g;case 17:l=1;g=b+1|0;break f;case 4:g=b+1|0;l=5;break f;case 11:break h;default:break f}}g=b+1|0}l=6}a=O[m+260128|0]!=9?a:0;b=b+1|0;if((n|0)!=(b|0)){break c}f=1;continue}n=N[c+68>>2];if(n){a=n-1|0;k=N[c+80>>2];e=k+3|0;b=0;f=O[k+15|0];while(1){y:{if((a|0)==(b|0)){b=n;break y}b=b+1|0;if((f|0)==O[(e+T(b,20)|0)+12|0]){continue}}break}a=0;while(1){d=N[c+68>>2];f=b;l=d>>>0>>0?d:f;i=l-a|0;z:{if(i>>>0<2){break z}g=N[c+144>>2]|32;N[c+144>>2]=g;if(a>>>0>=l>>>0){break z}b=-1;m=a;j=l+(a^-1)|0;if(j>>>0>=3){p=i&-4;d=0;while(1){h=k+T(m,20)|0;o=N[h+8>>2];b=b>>>0>>0?b:o;o=N[h+28>>2];b=b>>>0>>0?b:o;o=N[h+48>>2];b=b>>>0>>0?b:o;h=N[h+68>>2];b=b>>>0>>0?b:h;m=m+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}h=0;d=i&3;if(d){while(1){p=N[(k+T(m,20)|0)+8>>2];b=b>>>0

>>0?b:p;m=m+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(i&1){d=k+T(a,20)|0;if(N[d+8>>2]!=(b|0)){N[d+4>>2]=N[d+4>>2]|3}a=a+1|0}if(!j){break z}while(1){d=k+T(a,20)|0;if(N[d+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=k+T(a+1|0,20)|0;if(N[d+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}a=f+1|0;a=a>>>0>>0?n:a;d=a-1|0;g=O[(e+T(f,20)|0)+12|0];b=f;while(1){A:{if((b|0)==(d|0)){b=a;break A}b=b+1|0;if((g|0)==O[(e+T(b,20)|0)+12|0]){continue}}break}a=f;if(f>>>0>>0){continue}break}}return 0}f=0;continue}}function rm(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;l=La-48|0;La=l;f=c+d|0;g=N[b+20>>2];a:{b:{if(g){d=85;if(!(Qa[g|0](b,f,0,0)|0)){break b}break a}d=85;if(f>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=f;d=Bb(b,e);if(d){break a}c:{d:{if(!e){break d}g=N[b+32>>2];h=g+e|0;d=L[g|0];j=d&255;if((d|0)<0){p=N[a+16>>2];r=N[a+28>>2];N[l>>2]=0;d=8;if((e|0)<=0){break c}f=g+1|0;k=N[r>>2];e:{if(!(j&64)){e=f;break e}if(e>>>0<2){break c}e=g+2|0;f=O[f|0];if(!f){break e}while(1){i=e+2|0;if(i>>>0>h>>>0){break c}e=i+O[e|0]|0;if(h>>>0>>0){break c}f=f-1|0;if(f){continue}break}}q=j&63;f=q+p|0;g=N[a+20>>2];f:{if(f>>>0<=g>>>0){f=N[a+24>>2];break f}i=f+3&-4;if(i>>>0>64){break c}f=lb(k,24,g,i,N[a+24>>2],l);N[a+24>>2]=f;d=N[l>>2];if(d){break c}N[a+20>>2]=i}if(q){f=T(p,24)+f|0;d=8;while(1){g=e+1|0;if(h>>>0>>0){break c}j=O[e|0];N[f>>2]=65536;if(j&16){g=e+3|0;if(h>>>0>>0){break c}e=O[e+1|0]|O[e+2|0]<<8;N[f>>2]=(e<<8|e>>>8)<<16>>16<<4}N[f+4>>2]=65536;g:{if(!(j&32)){e=g;break g}e=g+2|0;if(h>>>0>>0){break c}i=O[g|0]|O[g+1|0]<<8;N[f+4>>2]=(i<<8|i>>>8)<<16>>16<<4}k=0;g=0;h:{i:{switch((j&3)-1|0){case 0:i=e+2|0;if(i>>>0>h>>>0){break c}e=O[e|0]|O[e+1|0]<<8;g=(e<<8|e>>>8)<<16>>16;e=i;break h;case 1:break i;default:break h}}i=e+1|0;if(i>>>0>h>>>0){break c}g=L[e|0];e=i}j:{k:{switch((j>>>2&3)-1|0){case 0:i=e+2|0;if(i>>>0>h>>>0){break c}e=O[e|0]|O[e+1|0]<<8;k=(e<<8|e>>>8)<<16>>16;e=i;break j;case 1:break k;default:break j}}i=e+1|0;if(i>>>0>h>>>0){break c}k=L[e|0];e=i}N[f+12>>2]=k;N[f+8>>2]=g;l:{if(j&64){g=e+2|0;if(h>>>0>>0){break c}e=O[e+1|0]|O[e|0]<<8;break l}g=e+1|0;if(h>>>0>>0){break c}e=O[e|0]}N[f+20>>2]=e;m:{if(j<<24>>24<0){e=g+3|0;if(h>>>0>>0){break c}k=2;i=O[g+1|0]<<8|O[g|0]<<16;break m}e=g+2|0;if(h>>>0>>0){break c}k=1;i=O[g|0]<<8}N[f+16>>2]=i|O[g+k|0];N[a+16>>2]=N[a+16>>2]+1;f=f+24|0;m=m+1|0;if((q|0)!=(m|0)){continue}break}}if(N[b+20>>2]){d=N[b>>2];if(d){e=N[b+28>>2];Qa[N[e+8>>2]](e,d)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;d=0;e=N[a+16>>2];if((e|0)==(p|0)){break a}w=e-p|0;i=P[r+22>>1];q=N[a+24>>2];k=0;while(1){f=T(k,24);e=T(p,24);d=f+(e+q|0)|0;d=rm(a,b,c,N[d+16>>2],N[d+20>>2]);if(d){break a}h=i<<16>>16;i=M[r+22>>1];j=i-h|0;q=N[a+24>>2];f=f+(e+q|0)|0;o=N[f>>2];n:{if(!((o|0)==65536&N[f+4>>2]==65536)){if((j|0)<=0){break n}d=o>>31;m=(d^o)-d|0;x=m&65535;y=m>>>16|0;z=m>>>8|0;u=N[f+4>>2];d=u>>31;s=(d^u)-d|0;A=s&65535;B=s>>>16|0;C=s>>>8|0;d=N[r+24>>2]+(h<<3)|0;e=N[f+12>>2];g=N[f+8>>2];f=0;while(1){t=N[d>>2];h=t>>31;h=(h^t)-h|0;o:{if(h+z>>>0<=8190){n=T(h,m)+32768>>>16|0;break o}n=h&65535;n=T(n,y)+T(m,h>>>16|0)+(T(n,x)+32768>>>16)|0}h=n;v=0-h|0;h=t>>31|1;N[d>>2]=((((o|0)<0?0-h|0:h)|0)<0?v:n)+g;t=N[d+4>>2];h=t>>31;h=(h^t)-h|0;p:{if(h+C>>>0<=8190){n=T(h,s)+32768>>>16|0;break p}n=h&65535;n=T(n,B)+T(s,h>>>16|0)+(T(n,A)+32768>>>16)|0}h=n;v=0-h|0;h=t>>31|1;N[d+4>>2]=((((u|0)<0?0-h|0:h)|0)<0?v:n)+e;d=d+8|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}break n}if((j|0)<=0){break n}d=N[r+24>>2]+(h<<3)|0;e=N[f+12>>2];g=N[f+8>>2];if((h^-1)+i>>>0>=3){h=j&-4;f=0;while(1){N[d>>2]=g+N[d>>2];N[d+4>>2]=e+N[d+4>>2];N[d+8>>2]=g+N[d+8>>2];N[d+16>>2]=g+N[d+16>>2];N[d+24>>2]=g+N[d+24>>2];N[d+12>>2]=e+N[d+12>>2];N[d+20>>2]=e+N[d+20>>2];N[d+28>>2]=e+N[d+28>>2];d=d+32|0;f=f+4|0;if((h|0)!=(f|0)){continue}break}}f=0;j=j&3;if(!j){break n}while(1){N[d>>2]=g+N[d>>2];N[d+4>>2]=e+N[d+4>>2];d=d+8|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}d=0;k=k+1|0;if((w|0)!=(k|0)){continue}break}break a}N[l+44>>2]=0;d=8;if((e|0)<=0){break c}k=N[N[a+28>>2]>>2];q:{if(j&4){if(e>>>0<2){break c}f=g+2|0;c=O[g+1|0];r=c>>>4|0;p=c&15;break q}if(j&2){if(e>>>0<2){break c}p=O[g+1|0];c=g+2|0}else{c=g+1|0}if(!(j&1)){f=c;break q}f=c+1|0;if(h>>>0>>0){break c}r=O[c|0]}g=p+r|0;c=N[a+4>>2];r:{s:{if(g>>>0>c>>>0){d=c;c=g+7&1016;m=lb(k,4,d,c,N[a+8>>2],l+44|0);N[a+8>>2]=m;d=N[l+44>>2];if(d){break c}N[a+4>>2]=c;N[a+12>>2]=(p<<2)+m;q=a+12|0;break s}m=N[a+8>>2];N[a+12>>2]=m+(p<<2);q=a+12|0;if(!g){break r}}c=0;d=0;while(1){t:{if(d&7){e=f;break t}e=f+1|0;if(h>>>0>>0){break d}c=O[f|0]}n=(d<<2)+m|0;u:{if(c&1){f=e+2|0;if(h>>>0>>0){break d}e=O[e|0]|O[e+1|0]<<8;i=(e<<8|e>>>8)<<16>>16;break u}f=e+1|0;if(h>>>0>>0){break d}i=O[e|0]+i|0}N[n>>2]=i;c=c>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;v:{if(!(j&8)){e=f;break v}e=f+1|0;if(h>>>0>>0){break c}c=O[f|0];if(c){while(1){f=e+2|0;if(f>>>0>h>>>0){break c}e=f+O[e|0]|0;if(h>>>0>>0){break c}c=c-1|0;if(c){continue}break}}N[l+44>>2]=0}L[a+32|0]=0;N[l+24>>2]=0;N[l+28>>2]=0;N[l>>2]=0;N[l+4>>2]=0;m=l+16|0;s=l|8;i=0;f=0;while(1){c=e+1|0;if(h>>>0>>0){break d}j=O[e|0];e=j&15;d=l;k=1;g=0;w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{o=j>>>4|0;switch(o|0){case 0:break y;case 1:case 4:case 5:break z;case 7:break B;case 6:break C;case 3:break E;case 2:break F;default:break A}}if(e>>>0>=p>>>0){break d}N[l>>2]=N[N[a+8>>2]+(e<<2)>>2];break D}if(e>>>0>=r>>>0){break d}N[l>>2]=f;i=N[N[q>>2]+(e<<2)>>2]}N[l+4>>2]=i;i=N[l+4>>2];f=N[l>>2];N[l+24>>2]=f;N[l+28>>2]=i;break w}e=2958;k=3;break z}e=3627;k=3;break z}k=4}while(1){G:{H:{switch(e&3){case 0:j=c+1|0;if(j>>>0>h>>>0){break d}c=O[c|0];if(c>>>0>=p>>>0){break d}f=N[N[a+8>>2]+(c<<2)>>2];c=j;break G;case 1:j=c+2|0;if(j>>>0>h>>>0){break d}c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=j;break G;case 2:break H;default:break G}}j=c+1|0;if(j>>>0>h>>>0){break d}f=L[c|0]+f|0;c=j}N[d>>2]=f;I:{J:{switch(e>>>2&3){case 0:f=c+1|0;if(f>>>0>h>>>0){break d}c=O[c|0];if(c>>>0>=r>>>0){break d}i=N[N[q>>2]+(c<<2)>>2];c=f;break I;case 1:f=c+2|0;if(f>>>0>h>>>0){break d}c=O[c|0]|O[c+1|0]<<8;i=(c<<8|c>>>8)<<16>>16;c=f;break I;case 2:break J;default:break I}}f=c+1|0;if(f>>>0>h>>>0){break d}i=L[c|0]+i|0;c=f}N[d+4>>2]=i;K:{if(!((k|0)!=4|g)){f=c+1|0;if(f>>>0>h>>>0){break d}e=O[c|0];k=3;c=f;break K}e=e>>>4|0}i=N[d+4>>2];f=N[d>>2];N[l+24>>2]=f;N[l+28>>2]=i;d=d+8|0;g=g+1|0;if(k>>>0>g>>>0){continue}break}L:{switch(o|0){case 4:case 5:e=N[a+28>>2];M:{if(!O[a+32|0]){break M}j=M[e+58>>1];d=j-1|0;g=P[e+56>>1];k=g<<16>>16;if((k|0)<=0){g=0}else{g=M[(N[e+68>>2]+(g<<1)|0)-2>>1]}N:{if((d|0)<=(g|0)){break N}o=N[e+60>>2];u=o+(g<<3)|0;o=o+(d<<3)|0;if(N[u>>2]!=N[o>>2]|N[u+4>>2]!=N[o+4>>2]){break N}M[e+58>>1]=j-1;d=j-2|0}if((d|0)<(g|0)){break M}M[e+56>>1]=k+1;M[N[e+68>>2]+(k<<1)>>1]=d}L[a+32|0]=1;d=M[e+58>>1];g=(d+M[e+22>>1]|0)+1|0;k=N[e+4>>2];if(!(g>>>0<=k>>>0&Q[e+8>>2]>=(M[e+20>>1]+M[e+56>>1]|0)+1>>>0)){d=Sb(e,1,1);if(d){break x}if(!O[a+32|0]){d=8;break x}e=N[a+28>>2];d=M[e+58>>1];g=(d+M[e+22>>1]|0)+1|0;k=N[e+4>>2]}if(g>>>0>k>>>0){d=Sb(e,1,0);if(d){break x}d=M[e+58>>1]}j=N[l+4>>2];g=N[e+60>>2]+(d<<3)|0;N[g>>2]=N[l>>2];N[g+4>>2]=j;L[N[e- -64>>2]+d|0]=1;M[e+58>>1]=P[e+58>>1]+1;d=0;break x;case 1:case 2:case 3:break w;case 0:break y;default:break L}}if(O[a+32|0]){d=N[a+28>>2];e=M[d+58>>1];O:{if(Q[d+4>>2]<(M[d+22>>1]+e|0)+3>>>0){e=Sb(d,3,0);if(e){break O}e=M[d+58>>1]}j=N[d- -64>>2];k=N[l+4>>2];g=N[d+60>>2]+(e<<3)|0;N[g>>2]=N[l>>2];N[g+4>>2]=k;k=N[s+4>>2];N[g+8>>2]=N[s>>2];N[g+12>>2]=k;k=N[m+4>>2];N[g+16>>2]=N[m>>2];N[g+20>>2]=k;e=e+j|0;L[e+2|0]=1;L[e|0]=2;L[e+1|0]=2;M[d+58>>1]=P[d+58>>1]+3;e=0}d=e}else{d=8}break x}e=N[a+28>>2];if(O[a+32|0]){f=M[e+58>>1];d=f-1|0;c=P[e+56>>1];i=c<<16>>16;if((i|0)<=0){c=0}else{c=M[(N[e+68>>2]+(c<<1)|0)-2>>1]}P:{if((d|0)<=(c|0)){break P}g=N[e+60>>2];j=g+(c<<3)|0;g=g+(d<<3)|0;if(N[j>>2]!=N[g>>2]|N[j+4>>2]!=N[g+4>>2]){break P}M[e+58>>1]=f-1;d=f-2|0}if((c|0)<=(d|0)){M[e+56>>1]=i+1;M[N[e+68>>2]+(i<<1)>>1]=d}L[a+32|0]=0}af(e);d=0;break c}N[l+44>>2]=d;e=c;if(!d){continue}break c}e=c;Q:{if(!O[a+32|0]){d=8;break Q}c=N[a+28>>2];d=M[c+58>>1];if((d+M[c+22>>1]|0)+1>>>0>Q[c+4>>2]){d=Sb(c,1,0);if(d){break Q}d=M[c+58>>1]}j=N[l+4>>2];g=N[c+60>>2]+(d<<3)|0;N[g>>2]=N[l>>2];N[g+4>>2]=j;L[N[c- -64>>2]+d|0]=1;M[c+58>>1]=P[c+58>>1]+1;d=0}N[l+44>>2]=d;if(!d){continue}break}break c}d=8}if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}La=l+48|0;return d}function xo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;k=La-48|0;La=k;if(!(a&1)){o=a;a=N[a>>2]}q=a>>>1&32767;f=a>>>16|0;N[k+40>>2]=0;N[k+44>>2]=0;a:{if(!b){break a}a=N[b>>2];if(!a){break a}l=N[c>>2];if(!l){break a}r=q+441617|0;s=f+441617|0;m=O[q+441616|0];n=O[f+441616|0];t=N[147600];N[147600]=581216;b:{c:{while(1){d:{f=O[a|0];i=f<<24>>24;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{j=n&255;switch(j-192|0){case 40:break m;case 32:break o;case 24:case 25:break q;case 26:break r;case 18:break s;case 16:break t;case 17:break u;case 11:break v;case 10:case 12:break w;case 1:case 2:case 4:case 5:break x;case 0:case 3:break z;case 6:break A;case 7:break B;case 8:break C;default:break l}}g=1;if((i|0)>=0){break g}h=25;g=fo(k+36|0,a,l,k+40|0);switch(g+2|0){case 0:break j;case 1:break c;default:break k}}g=1;if((i|0)>=0){break g}break d}if(l>>>0<4){break j}f=N[a>>2];break y}if(l>>>0<4){break j}f=eo(a,j)}h=25;if(f>>>0>1114111){break c}g=4;if((f&-2048)!=55296){break g}break c}if(l>>>0<2){break j}h=25;f=j&1;f=O[f+a|0]<<8|O[!f+a|0];i=f&64512;if((i|0)!=55296){g=2;if((i|0)!=56320){break g}break c}if((j&254)==196){break c}if(l>>>0<4){break j}g=j&1;a=a+2|0;a=(O[g+a|0]<<8|O[a+!g|0])-56320|0;if(a>>>0>1023){break c}f=(a+(f<<10)|0)-56557568|0;g=4;break g}g=0;n=N[o+4>>2];if(n){break e}if(l>>>0<2){break j}f=O[a+1|0]|O[a|0]<<8;a=(f|0)==65534;n=(j|0)==204?a?197:196:a?193:194;N[o+4>>2]=n;g=a?2:((f|0)==65279)<<1;break e}g=0;n=N[o+4>>2];if(n){break e}if(l>>>0<4){break j}a=eo(a,0);f=(a|0)==-131072;n=f?195:192;N[o+4>>2]=n;g=f?4:((a|0)==65279)<<2;break e}g=1;if((i|0)>=0){break g}if(f-161>>>0<=62){f=f+65216|0;break g}if(l>>>0<2){break j}g=O[a+1|0];a=f-129|0;if(a>>>0>=31){if((f&240)!=224){break d}a=f-193|0}i=a<<1;a=g+-64|0;D:{if(a>>>0<=94){if((g|0)==127){break d}a=a+(g<<24>>24>>7)|0;break D}a=g-159|0;f=a>>>0<94;i=f|i;a=f?a:g}f=P[(T(i,188)+(a<<1)|0)+504752>>1];break h}g=1;if((i|0)>=0){break g}if(l>>>0<2){break j}a=O[a+1|0];if((i|0)==-114){if(a-224>>>0<4294967233){break d}f=a+65216|0;g=2;break g}h=25;f=f-161|0;if(f>>>0>83){break c}a=a-161|0;if(a>>>0>93){break c}f=P[(T(f,188)+(a<<1)|0)+504752>>1];break n}h=25;if((i|0)<0){break c}if((i|0)==27){if(l>>>0<3){break j}E:{f=O[a+1|0];switch(f-36|0){case 0:case 4:break E;default:break c}}F:{G:{H:{I:{J:{a=O[a+2|0]+(((f|0)==36)<<7)|0;switch(a-73|0){case 0:break H;case 1:break I;default:break J}}K:{switch(a-192|0){case 1:break c;case 2:break F;case 0:break G;default:break K}}if((a|0)!=66){break c}N[o+4>>2]=0;break i}N[o+4>>2]=1;break i}N[o+4>>2]=4;break i}N[o+4>>2]=2;break i}g=3;N[o+4>>2]=3;n=210;break e}g=1;L:{switch(N[o+4>>2]-1|0){case 0:a=(i|0)==92?165:f;f=(a|0)==126?8254:a;break g;case 1:case 2:if(l>>>0<2){break j}f=f-33|0;if(f>>>0>83){break c}a=O[a+1|0]-33|0;if(a>>>0>93){break c}f=P[(T(f,188)+(a<<1)|0)+504752>>1];break n;case 3:break L;default:break g}}if(f-96>>>0<31){break c}f=f-33>>>0<94?f+65344|0:f;break g}g=1;if((i|0)>=0){break g}if(i>>>0<4294967201){break d}break p}g=1;if((i|0)>=0){break g}}h=25;g=f-129|0;if(g>>>0>125){break c}if(l>>>0<2){break j}f=O[a+1|0];if((j|0)==218&f>>>0<=160){break c}M:{if((f|0)!=127){i=f+-64|0;if(i>>>0<191){break M}}if((j|0)!=216|f-58>>>0<4294967286){break c}if(l>>>0<4){break j}i=O[a+2|0]-129|0;if(i>>>0>126){break c}a=O[a+3|0]-48|0;if(a>>>0>9){break c}f=(a+(T(f+T(g,10)|0,1260)+T(i,10)|0)|0)-60352|0;h=0;while(1){g=f-h|0;j=0;i=0;while(1){a=0;while(1){i=(g>>>0>=P[(T(j,380)+(a<<1)|0)+446512>>1]-h>>>0)+i|0;a=a+1|0;if((a|0)!=190){continue}break}j=j+1|0;if((j|0)!=126){continue}break}g=4;h=f+1|0;f=f+i|0;if(h>>>0<=f>>>0){continue}break}break g}f=P[(T(g,380)+((i>>>0>63?f-65|0:i)<<1)|0)+446512>>1];g=2;break g}g=1;if((i|0)>=0){break g}if(l>>>0<2){break j}h=25;a=O[a+1|0];g=a+-64|0;if(g>>>0>190|a-127>>>0<34){break c}a=g>>>0>62?a-98|0:g;g=f-161|0;if(g>>>0>=89){g=f-135|0;if(g>>>0>119){break c}a=a+T(i>>>0<4294967201?g:f-224|0,157)|0;g=P[(a<<1)+494400>>1];f=g|P[(a>>>3&536870910)+504134>>1]>>>(a&15)<<17&131072;if((f&196352)!=56320){break n}a=k+28|0;N[k+24>>2]=a;f=ki(21381);N[k+16>>2]=4;N[k+20>>2]=(g&255)+7721;N[k+12>>2]=8;f=xo(q<<1|f<<16|1,k+20|0,k+16|0,k+24|0,k+12|0);g=N[e>>2];a=N[k+24>>2]-a|0;if(g>>>0>>0){break f}h=N[d>>2];Pc(h,k+28|0,a);N[d>>2]=a+h;N[e>>2]=g-a;p=((f|0)!=0)+p|0;n=224;g=2;break e}f=P[(T(g,314)+(a<<1)|0)+520544>>1];N:{O:{if((g|0)!=39){break O}i=131072;P:{switch(a-58|0){case 0:case 2:break N;case 1:break O;default:break P}}if((a|0)==66){break N}}i=0}f=f|i}g=2;if(f){break g}break c}g=1;if((i|0)>=0){break g}if(l>>>0<2){break j}a=O[a+1|0];Q:{j=f-161|0;if(j>>>0<=92){g=a-161|0;if(g>>>0<94){break Q}}h=25;f=f-129|0;if(f>>>0>92|a>>>0>82&f>>>0>=69){break c}i=a-65|0;R:{if(i>>>0<26){break R}if(a-97>>>0<=25){i=a-71|0;break R}if(a-129>>>0>125){break c}i=a-77|0}h=44032;g=2;f=((f>>>0<32?T(f,178):T(j,84)+5696|0)+i|0)+44032|0;if(f>>>0<44032){break g}while(1){u=f-h|0;j=0;i=0;while(1){a=0;while(1){i=(P[(T(j,188)+(a<<1)|0)+548496>>1]-h>>>0<=u>>>0)+i|0;a=a+1|0;if((a|0)!=94){continue}break}j=j+1|0;if((j|0)!=93){continue}break}h=f+1|0;f=f+i|0;if(h>>>0<=f>>>0){continue}break}break g}f=P[(T(j,188)+(g<<1)|0)+548496>>1];break h}g=1;if(!i){f=0;break g}f=ji(s,f);if(!f){break d}break g}f=N[k+36>>2];break g}h=28;break c}n=210;g=3;break e}g=2;if(!f){break d}}S:{T:{U:{V:{W:{switch(m-192|0){case 6:a=N[e>>2];if(a>>>0<4){break f}h=N[d>>2];N[h>>2]=f;N[d>>2]=h+4;N[e>>2]=a-4;m=198;break e;case 8:h=N[e>>2];X:{if(h>>>0<=3){a=og(k+28|0,f);if(h>>>0>>0){break f}j=N[d>>2];Pc(j,k+28|0,a);break X}j=N[d>>2];a=og(j,f)}N[d>>2]=a+j;N[e>>2]=h-a;m=200;break e;case 7:if(f>>>0<128){break V}break U;case 17:if(f>>>0<128){break S}Y:{if((f|0)!=8254){if((f|0)!=165){break Y}p=p+1|0;f=92;break S}p=p+1|0;f=126;break S}if(f-65377>>>0<=62){f=f-65216|0;break S}a=ii(f);if(!a){break U}h=N[e>>2];if(h>>>0<2){break f}f=N[d>>2];L[f|0]=((a>>>8|0)+1>>>1|0)+(a>>>0<24320?112:176);N[d>>2]=f+2;i=f;f=a&255;L[i+1|0]=a&256?(((f>>>0)/96|0)+f|0)+31|0:f+126|0;N[e>>2]=h-2;m=209;break e;case 16:if(f>>>0<128){break S}Z:{if(f-65377>>>0<=62){a=f-61760|0;break Z}a=ii(f);if(!a){break U}}h=N[e>>2];if(h>>>0<2){break f}f=N[d>>2];L[f|0]=a>>>8^128;N[d>>2]=f+2;L[f+1|0]=a^128;N[e>>2]=h-2;m=208;break e;case 18:if(f>>>0<128){break S}if(!(!((f|0)==8254|f-65377>>>0<63)&(f|0)!=165)){h=N[e>>2];if(h>>>0<7){break f}a=N[d>>2];L[a|0]=27;L[a+1|0]=40;_:{$:{if((f|0)!=8254){if((f|0)!=165){break $}L[a+2|0]=74;L[a+3|0]=92;break _}L[a+2|0]=74;L[a+3|0]=126;break _}L[a+2|0]=73;L[a+3|0]=f+-64}L[a+4|0]=27;L[a+5|0]=40;N[d>>2]=a+7;L[a+6|0]=66;N[e>>2]=h-7;m=210;break e}h=ii(f);if(!h){break U}f=N[e>>2];if(f>>>0<8){break f}a=N[d>>2];L[a+5|0]=27;L[a+6|0]=40;L[a+4|0]=h;L[a+3|0]=h>>>8;L[a+2|0]=66;L[a|0]=27;L[a+1|0]=36;N[d>>2]=a+8;L[a+7|0]=66;N[e>>2]=f-8;m=210;break e;case 12:m=196;case 1:case 2:case 4:case 5:case 10:if(!((m&254)!=196&f>>>0>=65536)){h=N[e>>2];if(h>>>0<2){break f}i=m&1;a=N[d>>2];f=f>>>0>65535?65533:f;L[i+a|0]=f>>>8;L[a+!i|0]=f;N[d>>2]=a+2;N[e>>2]=h-2;break e}i=N[e>>2];if(i>>>0<4){break f}a=m&1;h=N[d>>2];j=f-65536>>>10|55296;L[a+h|0]=j>>>8;L[h+!a|0]=j;j=h+2|0;f=f&1023|56320;L[j+a|0]=f>>>8;L[j+!a|0]=f;N[d>>2]=h+4;N[e>>2]=i-4;break e;case 11:m=192;break;case 0:case 3:break W;default:break V}}i=N[e>>2];if(i>>>0<4){break f}h=m&3;a=N[d>>2];L[h+a|0]=f>>>24;L[a+(h^1)|0]=f>>>16;L[a+(h^2)|0]=f>>>8;L[a+(h^3)|0]=f;N[d>>2]=a+4;N[e>>2]=i-4;break e}a=1;break T}a=0}while(1){if(!a){p=p+1|0;f=42;a=1;continue}if(!N[e>>2]){break f}if(f>>>0<=255){if((ji(r,f)|0)==(f|0)){break S}}if(m>>>0<=63){a=m<<2;h=a>>>0<=255?255:a;while(1){if((ji(r,a)|0)==(f|0)){f=a;break S}i=(a|0)==(h|0);a=a+1|0;if(!i){continue}break}}a=0;continue}}a=N[e>>2];if(!a){break f}h=N[d>>2];N[d>>2]=h+1;L[h|0]=f;N[e>>2]=a-1;break e}h=1;break c}a=N[b>>2]+g|0;N[b>>2]=a;l=l-g|0;N[c>>2]=l;if(l){continue}break b}break}h=25}N[147316]=h;p=-1}N[147600]=t}La=k+48|0;return p}function Ge(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0;g=La-1104|0;La=g;a:{b:{c:{d:{e:{f:{g:{k=N[b+68>>2];h:{if(!k){e=1;break h}N[b+144>>2]=0;L[b+61|0]=0;M[b+140>>1]=0;i:{if(k>>>0>67108863){break i}e=k<<6;N[b+148>>2]=e>>>0<=16384?16384:e;if(k>>>0>4194303){break i}e=k<<10;N[b+152>>2]=e>>>0<=16384?16384:e}if(O[b+16|0]&32){m=db(1,172);j:{if(!m){m=588184;break j}N[m+148>>2]=1073741823;N[m+152>>2]=536870911;N[m>>2]=1;N[m+4>>2]=1;k=Ic();k:{if(!k){break k}e=N[k>>2];if(!e){break k}if((e|0)<=0){break b}N[k>>2]=e+1}L[m+60|0]=1;N[m+24>>2]=65533;N[m+12>>2]=k}Ld(m,b,0,-1)}s=b+40|0;D=N[a+84>>2];o=N[a+88>>2];x=N[a+24>>2];l:{if(N[x>>2]>0){u=g+108|0;while(1){k=N[x+208>>2];if(!pq(g+80|0,0,x,s,c,d,o,D)){f=275552;break l}if(k){t=N[g+116>>2];z=N[g+100>>2];A=N[g+104>>2];w=N[g+96>>2];y=N[g+92>>2];v=N[g+88>>2];q=N[g+84>>2];p=N[g+80>>2];e=k;while(1){m:{f=N[e>>2];if(N[f+16>>2]!=(p|0)|N[f+20>>2]!=(q|0)|(N[f+24>>2]!=(v|0)|N[f+28>>2]!=(y|0))){break m}if((w|0)!=N[f+32>>2]|(A|0)!=N[f+40>>2]){break m}if(A){n=N[f+36>>2];if(N[n>>2]!=N[z>>2]){break m}r=0;i=0;if(N[n+4>>2]!=N[z+4>>2]){break m}while(1){n:{o:{p:{l=i<<4;h=l+n|0;if(!N[h+8>>2]){j=N[h+12>>2];h=l+z|0;if(!N[h+8>>2]){break p}if((j|0)!=-1){break o}break n}h=l+z|0;if(N[h+8>>2]|N[h+12>>2]!=-1){break o}break n}if((j|0)==-1^N[h+12>>2]==-1){break n}}i=i+1|0;r=A>>>0<=i>>>0;if((i|0)==(A|0)){break n}h=i<<4;j=h+n|0;h=h+z|0;if(N[j>>2]!=N[h>>2]){break n}if(N[j+4>>2]==N[h+4>>2]){continue}}break}if(!r){break m}}if(Mb(f+44|0,u,8)|(t|0)!=N[f+52>>2]){break m}e=N[f>>2];if(!e){break l}if((e|0)>0){N[f>>2]=e+1;break l}break b}e=N[e+4>>2];if(e){continue}break}}f=oq(x,s,c,d,o,D);e=db(1,8);if(!e){break l}N[e+4>>2]=k;N[e>>2]=f;if((k|0)==N[x+208>>2]){N[x+208>>2]=e;if(!f){f=0;break l}e=N[f>>2];if(!e){break l}if((e|0)<=0){break b}N[f>>2]=e+1;break l}pj(f);_a(e);if(N[x>>2]>0){continue}break}}f=oq(x,s,c,d,o,D)}q:{r:{if(!N[b+68>>2]){break r}if(!N[b+4>>2]){break g}i=1;if(N[b+36>>2]!=1){break a}k=0;if(N[f>>2]<=0){break q}if(N[f+12>>2]!=N[a+24>>2]){break f}if(N[f+16>>2]!=N[s>>2]|N[f+20>>2]!=N[b+44>>2]|(N[f+24>>2]!=N[b+48>>2]|N[f+28>>2]!=N[b+52>>2])){break e}if(N[f+32>>2]!=N[b+56>>2]){break e}e=N[f+52>>2];if((e|0)==290){if(!N[a+112>>2]){if(!N[a+108>>2]){break q}N[a+112>>2]=1}sq(f,a,b,c,d);break r}if((e|0)!=291){break q}if(!N[a+116>>2]){if(!N[a+108>>2]){break q}N[a+116>>2]=1}qq(e,a,b,e,e)}k=1;i=0;if(N[b+36>>2]!=1){break q}N[b+36>>2]=2}if(N[b+152>>2]<=0){L[b+61|0]=1}pj(f);s:{if(!m){e=k;break s}e=0;t:{if(i){break t}if(!O[b+60|0]){e=k;break t}if(O[b+61|0]){e=k;break t}if(!O[m+60|0]){e=k;break t}p=1;e=1;i=N[b+20>>2];u:{if(i>>>0>1){break u}v=N[b+68>>2];if(v>>>0>=2){q=N[b+80>>2];f=N[q+8>>2];j=(N[b+40>>2]&-3)==4;v:{while(1){h=f;f=N[(q+T(e,20)|0)+8>>2];if(!((h|0)!=(f|0)&!(j^f>>>0<=h>>>0))){e=e+1|0;if((v|0)!=(e|0)){continue}break v}break}p=0;Zd(b,a,22206,0);i=N[b+20>>2]}e=1;if(i>>>0>1){break u}}f=We(b);if(N[f+4>>2]){N[f+16>>2]=N[f+16>>2]&-33}l=We(b);if(N[l+4>>2]){N[l+16>>2]=N[l+16>>2]&-33}w=N[b+68>>2];w:{if(w-1>>>0<=4294967293){y=N[m+80>>2];t=N[b+80>>2];u=(N[b+40>>2]&-3)!=4;v=u?-1:0;r=1;j=N[m+68>>2];e=u?j:0;i=e;while(1){x:{if(r>>>0>>0){h=t+T(r,20)|0;if(L[(t+T(r+v|0,20)|0)+4|0]&1|N[h+8>>2]==N[h-12>>2]){break x}}y:{if((r|0)==(w|0)){e=u?0:e;i=u?i:j;break y}if(!u){if(i>>>0>=j>>>0){break y}h=N[(t+T(r,20)|0)+8>>2];while(1){if(h>>>0<=Q[(y+T(i,20)|0)+8>>2]){break y}i=i+1|0;if((j|0)!=(i|0)){continue}break}i=j;break y}q=N[(t+T(r,20)|0)-12>>2];while(1){h=e;if(!e){e=0;break y}e=h-1|0;if(q>>>0<=Q[(y+T(e,20)|0)+8>>2]){continue}break}e=h}if(e>>>0>=i>>>0){break d}if(N[f+4>>2]){N[f+36>>2]=0;N[f+40>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;L[f+60|0]=1;L[f+68|0]=0;L[f+69|0]=0;L[f+70|0]=0;L[f+71|0]=0;L[f+72|0]=0;L[f+73|0]=0;L[f+74|0]=0;L[f+75|0]=0;L[f+61|0]=0;L[f+62|0]=0;L[f+63|0]=0;L[f+64|0]=0;L[f+65|0]=0;L[f+66|0]=0;L[f+67|0]=0;L[f+68|0]=0;N[f+144>>2]=0;N[f+84>>2]=N[f+80>>2];M[f+140>>1]=0;N[f+132>>2]=0;N[f+136>>2]=0;N[f+124>>2]=0;N[f+128>>2]=0;N[f+116>>2]=0;N[f+120>>2]=0;N[f+108>>2]=0;N[f+112>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;h=N[f+16>>2];h=e?h&-2:h;N[f+16>>2]=i>>>0>>0?h&-3:h}Ld(f,m,e,i);if(!Ge(a,f,c,d)){Zd(b,a,22058,0);e=0;break w}if(!(O[f+61|0]?0:O[f+60|0])){dc(l);dc(f);e=1;break u}Ld(l,f,0,-1);i=u?e:i;e=i}r=r+1|0;if(r>>>0>>0){continue}break}}e=vl(l,b)&-65;if(e){Zd(b,a,22305,0);if(N[b+4>>2]){N[b+132>>2]=0;N[b+136>>2]=0;N[b+36>>2]=0;N[b+68>>2]=0}Ld(b,l,0,-1)}e=!e}dc(l);dc(f)}w=e&p;z:{if(O[b+16|0]&64){r=1;if(Q[b+20>>2]<=1){o=We(b);N[g+72>>2]=o;n=We(b);N[g+76>>2]=n;if(N[o+4>>2]){N[o+16>>2]=N[o+16>>2]&-33}if(N[n+4>>2]){N[n+16>>2]=N[n+16>>2]&-33}l=We(b);if(N[l+4>>2]){N[l+16>>2]=N[l+16>>2]&-33}N[g+96>>2]=N[s+16>>2];e=N[s+12>>2];N[g+88>>2]=N[s+8>>2];N[g+92>>2]=e;e=N[s+4>>2];N[g+80>>2]=N[s>>2];N[g+84>>2]=e;if(N[o+4>>2]){f=N[s+8>>2];j=N[s+12>>2];h=N[s>>2];e=N[s+4>>2];N[o+56>>2]=N[s+16>>2];N[o+48>>2]=f;N[o+52>>2]=j;N[o+40>>2]=h;N[o+44>>2]=e}if(N[n+4>>2]){e=N[g+84>>2];N[n+40>>2]=N[g+80>>2];N[n+44>>2]=e;N[n+56>>2]=N[g+96>>2];e=N[g+92>>2];N[n+48>>2]=N[g+88>>2];N[n+52>>2]=e}if(N[l+4>>2]){e=N[g+84>>2];N[l+40>>2]=N[g+80>>2];N[l+44>>2]=e;N[l+56>>2]=N[g+96>>2];e=N[g+92>>2];N[l+48>>2]=N[g+88>>2];N[l+52>>2]=e}q=N[m+80>>2];j=N[m+68>>2];v=N[b+80>>2];u=N[b+68>>2];y=N[b+40>>2]&-3;if((y|0)!=4){Ve(b)}if(u-1>>>0<4294967294){f=1;t=0;e=0;p=0;while(1){A:{if(f>>>0>>0){h=v+T(f,20)|0;if(N[h+8>>2]==N[h-12>>2]|O[h+4|0]&2){break A}}h=j;B:{if((f|0)==(u|0)){break B}h=e;if(e>>>0>=j>>>0){break B}i=N[(v+T(f,20)|0)+8>>2];while(1){h=e;if(i>>>0<=Q[(q+T(e,20)|0)+8>>2]){break B}e=e+1|0;if((j|0)!=(e|0)){continue}break}h=j}if(h>>>0<=p>>>0){break c}Ld(N[(g+72|0)+(t<<2)>>2],m,p,h);t=1-t|0;p=h;e=h}f=f+1|0;if(f>>>0>>0){continue}break}}C:{if(!Ge(a,o,c,d)){r=0;Zd(b,a,22058,0);break C}if(O[o+61|0]|!O[o+60|0]){break C}if(!Ge(a,n,c,d)){r=0;Zd(b,a,22058,0);break C}if(O[n+61|0]|!O[n+60|0]){break C}if((y|0)!=4){Ve(o);Ve(n)}N[g+64>>2]=0;N[g+68>>2]=0;v=N[o+68>>2];N[g+56>>2]=v;N[g+48>>2]=N[o+80>>2];q=N[n+68>>2];N[g+60>>2]=q;N[g+52>>2]=N[n+80>>2];if(q|v){d=0;while(1){t=d<<2;p=t+(g- -64|0)|0;i=N[p>>2];e=i+1|0;c=N[t+(g+56|0)>>2];D:{if(e>>>0>=c>>>0){break D}j=N[t+(g+48|0)>>2];f=N[(j+T(i,20)|0)+8>>2];while(1){s=f;h=j+T(e,20)|0;f=N[h+8>>2];if((s|0)!=(f|0)&!(O[h+4|0]&2)){break D}e=e+1|0;if((c|0)!=(e|0)){continue}break}e=c}Ld(l,N[t+(g+72|0)>>2],i,e);N[p>>2]=e;d=1-d|0;if(v>>>0>Q[g+64>>2]|q>>>0>Q[g+68>>2]){continue}break}}if((y|0)!=4){Ve(b);Ve(l)}if(!(vl(l,b)&-65)){break C}r=0;Zd(b,a,22254,0);if(N[b+4>>2]){N[b+132>>2]=0;N[b+136>>2]=0;N[b+36>>2]=0;N[b+68>>2]=0}Ld(b,l,0,-1)}dc(l);dc(o);dc(n)}e=k;if(!(r&w)){break z}break t}e=k;if(w){break t}}d=0;c=N[m+68>>2];e=T(c,10)+16|0;k=(e|0)>0;p=k?e:0;E:{if(k){while(1){d=((d>>>1|0)+d|0)+8|0;if(p>>>0>=d>>>0){continue}break}d=kb(d);if(!d){d=0;break E}C(d,0,p);e=N[m+68>>2];L[d|0]=0;c=c>>>0>e>>>0?e:c}e=N[m+36>>2];if(e|N[m+68>>2]?(e|0)!=1:0){break a}F:{if(!c){break F}h=N[m+80>>2];L[g+80|0]=60;N[g+32>>2]=N[h>>2];q=g+80|1;e=Ne(q,1023,19054,g+32|0);e=((e|0)>0?e:0)+q|0;k=c-1|0;if(!k){L[e|0]=62;e=e+1|0}j=e-(g+80|0)|0;if(j>>>0>=p>>>0){break F}if((g+80|0)!=(e|0)){F(d,g+80|0,j)}i=d+j|0;L[i|0]=0;f=1;if((c|0)==1){break F}p=p-j|0;while(1){L[g+80|0]=124;N[g+16>>2]=N[h+T(f,20)>>2];e=Ne(q,1023,19054,g+16|0);e=q+((e|0)>0?e:0)|0;if((f|0)==(k|0)){L[e|0]=62;e=e+1|0}j=e-(g+80|0)|0;if(j>>>0>=p>>>0){break F}if((g+80|0)!=(e|0)){F(i,g+80|0,j)}i=i+j|0;L[i|0]=0;p=p-j|0;f=f+1|0;if((f|0)!=(c|0)){continue}break}}N[g>>2]=d;Zd(b,a,22118,g)}_a(d);e=0}dc(m)}M[b+140>>1]=0;N[b+148>>2]=1073741823;N[b+152>>2]=536870911}La=g+1104|0;return e}ba(22880,17868,402,13371);B()}ba(16467,17868,409,13371);B()}ba(22811,17868,410,13371);B()}ba(16634,17802,150,13830);B()}ba(16634,17802,292,9714);B()}ba(23506,14099,260,16403);B()}ba(24107,14165,530,16333);B()}function LA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;h=La+-64|0;La=h;i=O[a+48|0];a:{if(!(N[a+536>>2]|!i)){e=8;break a}b:{c:{d:{e:{f:{g:{e=N[a+540>>2];d=N[e>>2];if(!d){g=N[a>>2];N[e+4>>2]=355;d=Qa[N[g+4>>2]](g,552)|0;if(!d){break g}C(d,0,552);N[N[a+540>>2]>>2]=d;N[d>>2]=g;if(!i){N[d+548>>2]=N[N[a+532>>2]+3088>>2]}e=d+168|0;N[e>>2]=0;N[e+4>>2]=0;N[d+160>>2]=0;N[d+164>>2]=0;N[d+152>>2]=0;N[d+156>>2]=0;N[d+144>>2]=356;N[d+148>>2]=357;N[d+168>>2]=d+4;N[d+164>>2]=g;N[d+156>>2]=358}N[d+176>>2]=a;N[d+172>>2]=a;e=N[a+4>>2];k=L[N[e+128>>2]+56|0];g=N[e+96>>2];p=O[g+32|0];N[h+16>>2]=0;N[h+20>>2]=0;N[h+24>>2]=0;N[h+40>>2]=b;N[h+28>>2]=0;N[h+36>>2]=b?b+c|0:0;N[h+32>>2]=b;N[h+8>>2]=0;N[h+12>>2]=0;b=N[a+8>>2];j=O[b+161|0];o=O[b+160|0];h:{if(!o){c=1024;b=1024;break h}c=(N[b+168>>2]+32|0)/64|0;b=(N[b+164>>2]+32|0)/64|0}N[h+16>>2]=c;N[h+4>>2]=b;f=i?f:O[e+732|0];L[d+8|0]=i;L[d+9|0]=f;e=(o|0)!=0;N[d+12>>2]=e;if(!(!j|(p|(k|0)>=0?k:0))){N[d+12>>2]=e|2}N[d+188>>2]=N[g+36>>2];N[d+192>>2]=N[g+40>>2];N[d+196>>2]=N[g+44>>2];N[d+200>>2]=N[g+48>>2];N[d+204>>2]=N[g+52>>2];N[d+208>>2]=N[g+56>>2];N[d+212>>2]=N[g+60>>2];N[d+216>>2]=N[g- -64>>2];f=N[a+4>>2];g=P[f+68>>1];N[d+132>>2]=g;if(j){e=36;if((b|0)<=0|(c|0)<=0){break a}e=164;if(g<<16>>16<0){break a}l=b;b=fb(131072e3,g<<16);if((l|0)>(b|0)|(b|0)<(c|0)){break a}}N[h+48>>2]=0;N[h+52>>2]=0;e=0;N[h+44>>2]=0;j=N[d+140>>2];g=N[d+136>>2];N[h+60>>2]=0;N[h+56>>2]=0;N[d+4>>2]=0;b=N[a+536>>2];if((b|0)!=N[d+180>>2]){N[d+180>>2]=b;e=1}if(!(!N[N[a+532>>2]+3112>>2]|i)){c=N[d+548>>2];f=Qa[N[N[f+548>>2]+40>>2]](f,h+60|0,0,h+56|0,0)|0;N[d+4>>2]=f;if(f){break c}if(Qa[N[c+12>>2]](b+556|0,N[b+548>>2],N[h+60>>2],N[h+56>>2])|0){Qa[N[c+4>>2]](N[a+532>>2],b,N[h+60>>2],N[h+56>>2])|0;e=1}c=N[b+560>>2];L[d+93|0]=0;N[d+96>>2]=c;N[d+120>>2]=N[b+548>>2];N[d+124>>2]=N[h+60>>2];N[d+128>>2]=N[h+56>>2];f=N[a+4>>2]}f=P[N[f+88>>2]+14>>1]<<16;if((f|0)!=N[d+88>>2]){N[d+88>>2]=f;e=1}b=N[d+12>>2];L[d+184|0]=b&1;i:{j:{k:{if(!Mb(h+4|0,d+16|0,16)){p=d+186|0;b=b&2;i=O[d+186|0];if((b|0)!=(i|0)){break k}if(e){break j}break i}c=N[h+8>>2];N[d+16>>2]=N[h+4>>2];N[d+20>>2]=c;c=N[h+16>>2];N[d+24>>2]=N[h+12>>2];N[d+28>>2]=c;N[d+32>>2]=0;N[d+36>>2]=0;c=N[h+8>>2];N[d+40>>2]=N[h+4>>2];N[d+44>>2]=c;c=N[h+16>>2];N[d+48>>2]=N[h+12>>2];N[d+52>>2]=c;c=N[h+24>>2];N[d+56>>2]=N[h+20>>2];N[d+60>>2]=c;N[d+72>>2]=0;N[d+76>>2]=65536;N[d+64>>2]=65536;N[d+68>>2]=0;p=d+186|0;b=b&2;i=O[d+186|0];if((b|0)==(i|0)){break j}}i=b>>>1|0;L[p|0]=i}b=N[d+132>>2];o=b?b:1e3;c=65536e3/(o|0)|0;k=d+188|0;e=(f|0)<=262144?262144:f;f=N[a+536>>2];b=N[f+400>>2]<<16;if((b|0)<=0){b=fb(4915200,c)}N[d+220>>2]=b;l:{if((g|0)>0){a=fb(o<<16,e);N[d+228>>2]=0;if((c|0)<655){break l}a=(a|0)<(g|0)?g:a;if(!a){break l}N[d+228>>2]=(a|0)/2;break l}Vo(c,e,b,d+228|0,0,i,k);f=N[a+536>>2]}b=N[f+396>>2];m:{if(b<<16>0){a=4915200;if(N[d+220>>2]>b<<17){break m}}a=7208960}a=fb(a,c);N[d+224>>2]=a;Vo(c,e,a,d+232|0,j,O[d+186|0],k);a=1;a=N[d+228>>2]?a:N[d+232>>2]!=0;i=0;L[d+236|0]=0;L[d+185|0]=a;a=N[d+176>>2];C(d+244|0,0,304);k=N[d+52>>2];N[d+240>>2]=k;f=N[a+536>>2];g=fb(N[f+384>>2],65536e3);N[d+252>>2]=g;N[d+256>>2]=N[f+388>>2]<<16;N[d+260>>2]=N[f+392>>2]<<16;j=f+192|0;s=O[f+191|0];o=O[f+190|0];r=O[f+189|0];c=O[f+188|0];n:{o:{if(N[f+524>>2]==1){p:{switch(c|0){case 4:if(N[j>>2]<<16>-7864321|N[f+196>>2]<<16>-7864321|(N[f+200>>2]<<16<57671681|N[f+204>>2]<<16<57671681)){break o}break;case 0:break p;default:break o}}N[d+304>>2]=k;N[d+296>>2]=-7864321;N[d+288>>2]=49;g=N[d+232>>2];b=(g<<1)+57671681|0;N[d+276>>2]=b;a=k>>31;a=(a^k)-a|0;c=a>>>16|0;e=c+T(a,120)+((a&32768)+32768>>>16)|0;N[d+300>>2]=(((k|0)<0?e:0-e|0)+32768&-65536)-32768;N[d+268>>2]=50;N[d+284>>2]=k;L[d+249|0]=1;e=b;b=b>>31;b=(e^b)-b|0;q:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break q}e=c;c=b&65535;b=T(e,c)+T(a,b>>>16|0)+(T(c,a&65535)+32768>>>16)|0}a=b;c=0-a|0;a=(g|0)>-28835841?1:-1;N[d+280>>2]=((((k|0)<0?0-a|0:a)|0)<0?c:b)+32768&-65536|32768;break i}b=0;if(!c){break n}}a=N[f+192>>2]<<16;N[d+308>>2]=a;e=N[f+196>>2]<<16;N[d+312>>2]=e;b=0;a=e-a|0;if((a|0)>=0){i=1;N[d+244>>2]=1;N[d+316>>2]=e;L[d+324|0]=1;b=a}e=2;if(c>>>0<=2){break n}while(1){a=T(i,20)+d|0;l=e<<2;m=N[l+j>>2]<<16;N[a+308>>2]=m;l=N[j+(l|4)>>2]<<16;N[a+312>>2]=l;n=l-m|0;if((n|0)>=0){q=l;l=N[d+232>>2]<<1;N[a+312>>2]=q+l;m=m+l|0;N[a+308>>2]=m;N[a+316>>2]=m;L[a+324|0]=0;i=i+1|0;N[d+244>>2]=i;b=(b|0)<(n|0)?n:b}e=e+2|0;if(c>>>0>e>>>0){continue}break}}if(r){c=f+248|0;e=0;while(1){a=T(i,20)+d|0;j=e<<2;m=N[j+c>>2]<<16;N[a+308>>2]=m;j=N[c+(j|4)>>2]<<16;N[a+312>>2]=j;m=j-m|0;if((m|0)>=0){N[a+316>>2]=j;L[a+324|0]=1;i=i+1|0;N[d+244>>2]=i;b=(b|0)<(m|0)?m:b}e=e+2|0;if(r>>>0>e>>>0){continue}break}}r=fb(65536,k);if(i){u=f+344|0;v=f+288|0;m=0;w=o>>>0<3;while(1){a=T(m,20)+d|0;l=a;j=N[a+316>>2];r:{if(O[a+324|0]){a=0;c=2147483647;s:{if(!s){break s}while(1){n=N[(a<<2|4)+u>>2]<<16;q=j-n|0;e=q>>31;t:{e=(e^q)-e|0;if((e|0)>=(c|0)|(e|0)>=(r|0)){break t}N[l+316>>2]=n;c=e;if((j|0)!=(n|0)){break t}c=0;break s}a=a+2|0;if(s>>>0>a>>>0){continue}break}}if(o>>>0<2){break r}e=N[f+292>>2]<<16;j=j-e|0;a=j>>31;a=(a^j)-a|0;if((a|0)>=(c|0)|(a|0)>=(r|0)){break r}N[l+316>>2]=e;break r}if(w){break r}q=N[d+232>>2]<<1;a=2;c=2147483647;while(1){n=(N[(a<<2)+v>>2]<<16)+q|0;t=j-n|0;e=t>>31;e=(e^t)-e|0;if(!((e|0)>=(c|0)|(e|0)>=(r|0))){N[l+316>>2]=n;c=e;if((j|0)==(n|0)){break r}}a=a+2|0;if(o>>>0>a>>>0){continue}break}}m=m+1|0;if((m|0)!=(i|0)){continue}break}}u:{if((b|0)<=0){break u}a=fb(65536,b);if((a|0)>=(g|0)){break u}N[d+252>>2]=a;g=a}if((g|0)>(k|0)){L[d+248|0]=1;a=jb(39322,k,g);N[d+264>>2]=(a|0)<6555?32767:39322-a|0}if(O[p|0]){N[d+264>>2]=0}if(!i){break i}f=d+240|0;a=0;while(1){b=T(a,20);c=b+f|0;k=O[c+84|0];l=b+d|0;g=N[c+76>>2];c=g>>31;e=N[d+240>>2];b=e>>31;c=(c^g)-c|0;b=(b^e)-b|0;v:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break v}p=c&65535;c=T(p,b>>>16|0)+T(b,c>>>16|0)+(T(p,b&65535)+32768>>>16)|0}b=c;q=0-b|0;b=g>>31|1;c=(((e|0)<0?0-b|0:b)|0)<0?q:c;b=N[d+264>>2];N[l+320>>2]=(c+(k?0-b|0:b)|0)+32768&-65536;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(N[d+4>>2]){break c}L[d+236|0]=0;N[d+160>>2]=0;b=O[d+185|0];a=N[N[d+172>>2]+12>>2];N[a+20>>2]=0;N[a+48>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];g=N[a+32>>2];c=a- -64|0;N[c>>2]=N[a+28>>2];N[c+4>>2]=g;c=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=c;c=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=c;c=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=c;c=d+144|0;De(d,h+28|0,c,h+48|0,0,0,0,h+44|0);if(N[d+4>>2]){break c}if(!(!b|N[d+160>>2]>=0)){L[d+236|0]=1;N[d+160>>2]=0;a=N[N[d+172>>2]+12>>2];N[a+20>>2]=0;N[a+48>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];g=N[a+32>>2];b=a- -64|0;N[b>>2]=N[a+28>>2];N[b+4>>2]=g;b=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=b;b=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=b;b=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=b;De(d,h+28|0,c,h+48|0,0,0,0,h+44|0);if(N[d+4>>2]){break c}}e=N[d+172>>2];a=N[e+20>>2];if(!a){break d}b=P[a>>1];g=b<<16>>16;if((g|0)>=2){b=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break f}b=0;if(g){break f}c=P[a+2>>1];break e}N[N[a+540>>2]>>2]=0;e=64;break a}c=M[a+2>>1];if((c|0)!=(b|0)){break e}M[a>>1]=g-1;break d}w:{if(c<<16>>16<2){break w}f=N[a+4>>2];i=f+(b<<3)|0;k=c&65535;f=f+(k<<3)|0;if(N[i>>2]!=N[f-8>>2]|N[i+4>>2]!=N[f-4>>2]|O[(k+N[a+8>>2]|0)-1|0]!=1){break w}c=c-1|0;M[a+2>>1]=c}if((g|0)<=0){break d}l=b;b=(c<<16>>16)-1|0;if((l|0)==(b|0)){M[a+2>>1]=c-1;M[a>>1]=g-1;break d}M[(N[a+12>>2]+(g<<1)|0)-2>>1]=b}af(N[e+12>>2]);if(!N[d+4>>2]){break b}}e=3;break a}a=N[h+44>>2];e=0;N[d+4>>2]=0;b=N[d+172>>2];if(O[b+48|0]){break a}N[N[b+544>>2]>>2]=a+32768>>16}La=h- -64|0;return e|0}function Jt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;f=La-32|0;La=f;o=1;j=N[b+540>>2];a:{if((d|0)<=0){d=0;break a}p=d&3;if(d>>>0<4){c=0}else{g=d&-4;d=0;while(1){i=1;n=h<<3;m=N[n+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}c=d}else{c=1}d=N[(n|8)+e>>2]-1768386662|0;if(d){if((d|0)==13){k=1}i=c}d=1;m=N[(n|16)+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}c=i}else{c=1}i=N[(n|24)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}d=c}h=h+4|0;if((h|0)!=(g|0)){continue}break}c=d}if(!p){break a}while(1){i=N[(g<<3)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}}else{c=1}d=c;g=g+1|0;c=d;l=l+1|0;if((p|0)!=(l|0)){continue}break}}b:{if(N[N[b+128>>2]+52>>2]){break b}e=P[b+152>>1];if(e){c=N[b+156>>2];g=c+(e<<4)|0;e=c;while(1){if(N[e+12>>2]?N[e>>2]==1735162214:0){break b}e=e+16|0;if(g>>>0>e>>>0){continue}break}e=c;while(1){if(N[e+12>>2]?N[e>>2]==1128678944:0){break b}e=e+16|0;if(g>>>0>e>>>0){continue}break}while(1){if(N[c+12>>2]?N[c>>2]==1128678962:0){break b}c=c+16|0;if(g>>>0>c>>>0){continue}break}}o=0}e=1;g=Qa[N[b+516>>2]](b,1935829368,a,0)|0;i=(g|0)!=0&o;c:{d:{e:{if(i){break e}h=N[j+68>>2];if(!h){break e}c=0;h=Qa[h|0](b,a)|0;e=(h|0)!=0;if(!g){break e}if(!h){break d}}g=Qa[N[j+24>>2]](b,a)|0;N[f+28>>2]=g;c=e;if(g){break c}}e=Qa[N[b+516>>2]](b,1128418371,a,0)|0;g=Qa[N[b+516>>2]](b,1128416340,a,0)|0;if((P[b+178>>1]-16385&65535)>>>0<=49166){N[f+28>>2]=8;break c}e=i&((e|0)!=0&(g|0)!=0);Qa[N[j+36>>2]](b,a)|0;Qa[N[j+32>>2]](b,a)|0;Qa[N[j+48>>2]](b,a)|0;i=Qa[N[j+44>>2]](b,a)|0;f:{if(!c){g=e;break f}c=Qa[N[j+28>>2]](b,a,0)|0;N[f+28>>2]=c;g:{h:{i:{if(!c){c=Qa[N[j+92>>2]](b,a,0)|0;N[f+28>>2]=c;if((c&255)!=142){break h}N[f+28>>2]=147;c=N[N[b+128>>2]+52>>2];if(!c){break c}if(N[N[c>>2]+8>>2]){break i}break c}if((c&255)!=142){break c}g=0;if(N[b+148>>2]==1953658213){break g}N[f+28>>2]=143;c=N[N[b+128>>2]+52>>2];if(!c|!N[N[c>>2]+8>>2]){break c}}M[b+250>>1]=0;g=e;break g}g=e;if(c){break c}}e=Qa[N[j+28>>2]](b,a,1)|0;N[f+28>>2]=e;j:{k:{if(e){break k}e=Qa[N[j+92>>2]](b,a,1)|0;N[f+28>>2]=e;if(e){break k}L[b+292|0]=1;break j}if((e&255)!=142){break c}}if(!(Qa[N[j+40>>2]](b,a)|0)){break f}M[b+372>>1]=65535}c=N[j+96>>2];if(c){Qa[c|0](b,a)|0}c=N[j+112>>2];if(c){Qa[c|0](b,a)|0;Qa[N[j+116>>2]](b,a)|0}Qa[N[j+64>>2]](b,a)|0;Qa[N[j+60>>2]](b,a)|0;Qa[N[j+56>>2]](b,a)|0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+16>>2]=P[b+264>>1];a=b+24|0;c=b+20|0;l:{if(!(!(L[b+437|0]&1)|P[b+372>>1]==65535)){m:{if(!(d&255)){d=Vc(b,16,c);N[f+28>>2]=d;if(d){break c}if(N[c>>2]){break m}}c=Vc(b,1,c);N[f+28>>2]=c;if(c){break c}}if(!(k&255)){c=Vc(b,17,a);N[f+28>>2]=c;if(c){break c}}if(N[a>>2]){break l}a=Vc(b,2,a);N[f+28>>2]=a;if(!a){break l}break c}e=Vc(b,21,c);N[f+28>>2]=e;if(e){break c}l=N[c>>2];if(!(l|d&255)){d=Vc(b,16,c);N[f+28>>2]=d;if(d){break c}l=N[c>>2]}if(!l){c=Vc(b,1,c);N[f+28>>2]=c;if(c){break c}}c=Vc(b,22,a);N[f+28>>2]=c;if(c){break c}d=N[a>>2];if(!(d|k&255)){c=Vc(b,17,a);N[f+28>>2]=c;if(c){break c}d=N[a>>2]}if(d){break l}a=Vc(b,2,a);N[f+28>>2]=a;if(a){break c}}d=N[b+8>>2];a=g|(!N[b+872>>2]&(N[b+796>>2]&-2)!=2?d:d|16384);d=a|24;d=i?d:N[b+476>>2]==196608?d:a|536;a=N[b+488>>2]?d|4:d;a=O[b+292|0]?a|32:a;h=N[b+820>>2]?a|64:a;n:{if(!(L[b+740|0]&1)){break n}a=P[b+152>>1];if(!a){break n}d=N[b+156>>2];a=d+(a<<4)|0;e=d;o:{while(1){p:{if(!(!N[e+12>>2]|N[e>>2]!=1735162214)){e=d;while(1){if(N[e+12>>2]?N[e>>2]==1735811442:0){break p}e=e+16|0;if(a>>>0>e>>>0){continue}break}break o}e=e+16|0;if(a>>>0>e>>>0){continue}break o}break}h=h|256}while(1){if(!(N[d+12>>2]?N[d>>2]==1128678962:0)){d=d+16|0;if(a>>>0>d>>>0){continue}break n}break}h=h|256}N[b+8>>2]=h;q:{if(!(!g|P[b+372>>1]==65535)){a=P[b+436>>1];a=a>>>4&2|(a&513)!=0;break q}a=P[b+204>>1];a=(a<<1|(a&2)>>>1)&3}N[b+12>>2]=a|N[b+12>>2];a=La-224|0;La=a;d=kb(40);N[d>>2]=0;h=N[b+508>>2];N[a+216>>2]=h;r:{if(!N[a+216>>2]){break r}c=N[b+512>>2];if(c>>>0<4){break r}N[a+216>>2]=N[a+216>>2]+2;N[a+216>>2]=N[a+216>>2]+2;N[a+220>>2]=O[N[a+216>>2]-1|0]|O[N[a+216>>2]-2|0]<<8;if(!N[a+220>>2]){break r}g=4;k=c+h|0;while(1){if(k>>>0>2]+8>>>0){break r}N[a+216>>2]=N[a+216>>2]+2;c=O[N[a+216>>2]-2|0];e=O[N[a+216>>2]-1|0];N[a+216>>2]=N[a+216>>2]+2;M[a+212>>1]=e|c<<8;c=O[N[a+216>>2]-2|0];e=O[N[a+216>>2]-1|0];N[a+216>>2]=N[a+216>>2]+4;N[a+204>>2]=b;N[a+208>>2]=0;M[a+214>>1]=e|c<<8;c=O[N[a+216>>2]-1|0]|(O[N[a+216>>2]-3|0]<<16|O[N[a+216>>2]-4|0]<<24|O[N[a+216>>2]-2|0]<<8);if(!(!c|c>>>0>N[b+512>>2]-2>>>0)){N[a+200>>2]=c+h;c=N[a+200>>2];N[a+196>>2]=O[c+1|0]|O[c|0]<<8;N[a+192>>2]=178304;s:{if(!N[N[a+192>>2]>>2]){break s}while(1){t:{N[a+188>>2]=N[N[a+192>>2]>>2];if(N[N[a+188>>2]+40>>2]==N[a+196>>2]){c=0;N[a+8>>2]=0;N[a+168>>2]=N[a+200>>2];N[a+172>>2]=k;N[a+176>>2]=0;N[a+180>>2]=0;N[a+184>>2]=P[b+264>>1];d=Lh(a+12|0,1,d,g);g=Ma;while(1){u:{v:{w:{if(!c){c=N[N[a+188>>2]+44>>2];N[147441]=0;l=xa(c|0,N[a+200>>2],a+12|0)|0;c=N[147441];N[147441]=0;e=-1;x:{if(!c){break x}i=N[147442];if(!i){break x}e=Kh(N[c>>2],d,g);if(!e){break w}Ma=i}c=Ma;if((e|0)==1){continue}N[a+8>>2]=l}if(N[a+180>>2]){break s}N[147441]=0;l=wa(186,N[a+188>>2],N[a+200>>2],a+204|0,a+4|0)|0;c=N[147441];N[147441]=0;e=-1;if(!c){break u}i=N[147442];if(!i){break u}e=Kh(N[c>>2],d,g);if(e){break v}}_a(d);pe(c,i);B()}Ma=i}c=Ma;if((e|0)==1){continue}break}break t}N[a+192>>2]=N[a+192>>2]+4;if(N[N[a+192>>2]>>2]){continue}break s}break}if(l){break s}N[N[a+4>>2]+20>>2]=N[a+8>>2]}}N[a+220>>2]=N[a+220>>2]-1;if(N[a+220>>2]){continue}break}}_a(d);La=a+224|0;e=N[b+36>>2];y:{if((e|0)>0){i=N[b+40>>2];k=1;d=0;while(1){c=N[i+(d<<2)>>2];a=P[c+10>>1];g=178352;z:{A:{B:{C:{switch(P[c+8>>1]){case 0:g=178364;break B;case 1:if(a){break A}g=178376;break B;case 2:break B;case 3:break C;default:break A}}if(!(1151>>>a&1)|a>>>0>=11){break A}g=N[(a<<2)+179376>>2]}a=N[g+8>>2];N[c+4>>2]=a;if((a|0)!=1937337698&(a|0)!=1970170211){break z}k=0;d=d+1|0;if((e|0)!=(d|0)){continue}break y}N[c+4>>2]=0}d=d+1|0;if((e|0)!=(d|0)){continue}break}if(!(k&1)){break y}}if(!(O[b+9|0]&2)){break y}N[f>>2]=b;N[f+4>>2]=1970170211;N[f+8>>2]=65539;a=Bc(177852,0,f,0);N[f+28>>2]=a;D:{if(!a){break D}a=a&255;if((a|0)==163){break D}if((a|0)!=7){break c}}N[f+28>>2]=0}a=N[b+800>>2];E:{if(!a){break E}e=N[N[b+104>>2]+28>>2];k=P[b+178>>1];if(!k|P[b+372>>1]==65535){k=1;c=1}else{c=P[b+374>>1]}q=b,r=lb(e,16,0,a,0,f+28|0),N[q+32>>2]=r;if(N[f+28>>2]){break c}g=lb(e,4,0,a,0,f+28|0);if(N[f+28>>2]){break c}l=k>>>1|0;n=c<<16>>16;h=0;d=0;while(1){c=N[b+32>>2];o=Qa[N[j+108>>2]](b,d,f)|0;F:{if(o){break F}c=c+(h<<4)|0;M[c>>1]=N[f+20>>2]>>>6;i=P[f>>1];N[c+8>>2]=i<<6;M[c+2>>1]=(l+T(i,n)|0)/(k|0);p=P[f+2>>1];m=p<<6;N[c+4>>2]=m;N[c+12>>2]=m;if(!i|!p){break F}N[g+(h<<2)>>2]=d;h=h+1|0}d=d+1|0;if((a|0)!=(d|0)){continue}break}N[f+28>>2]=o;a=lb(e,4,a,h,g,f+28|0);if(!h){break E}N[b+804>>2]=a;N[b+28>>2]=h;N[b+8>>2]=N[b+8>>2]|2}d=N[b+8>>2];if(!(d&3)){d=d|1;N[b+8>>2]=d}if(!(d&1)){break c}M[b+68>>1]=P[b+178>>1];N[b+52>>2]=M[b+196>>1];N[b+56>>2]=M[b+198>>1];N[b+60>>2]=M[b+200>>1];N[b- -64>>2]=M[b+202>>1];d=P[b+372>>1]==65535;G:{if(!(d|!(O[b+436|0]&128))){a=P[b+442>>1];M[b+70>>1]=a;c=P[b+444>>1];M[b+72>>1]=c;M[b+74>>1]=P[b+446>>1]+(a-c|0);break G}a=P[b+220>>1];M[b+70>>1]=a;c=P[b+222>>1];M[b+72>>1]=c;M[b+74>>1]=P[b+224>>1]+(a-c|0);if(c|(a|d)){break G}a=P[b+442>>1];c=P[b+444>>1];if(a|c){M[b+72>>1]=c;M[b+70>>1]=a;M[b+74>>1]=P[b+446>>1]+(a-c|0);break G}a=P[b+448>>1];M[b+70>>1]=a;c=a;a=P[b+450>>1];M[b+74>>1]=c+a;M[b+72>>1]=0-a}M[b+76>>1]=P[b+226>>1];M[b+78>>1]=P[(O[b+292|0]?306:74)+b>>1];a=M[b+486>>1];M[b+82>>1]=a;M[b+80>>1]=P[b+484>>1]+((a|0)/-2|0)}La=f+32|0;return N[f+28>>2]}function kf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=La-80|0;La=h;p=N[a>>2];a:{if(f){break a}j=N[a+4>>2];if(O[j+12|0]){break a}g=N[d>>2];N[h+68>>2]=0;N[h+72>>2]=0;N[h+60>>2]=0;N[h+64>>2]=0;N[h+52>>2]=0;N[h+56>>2]=0;N[h+48>>2]=g;kf(j,b,c,h+48|0,e,1)}b:{c:{d:{if(O[d+4|0]){break d}j=N[c+16>>2]+N[b+16>>2]|0;e:{if(j>>>0>=97){b=N[d>>2];if(!b|N[b>>2]){break e}N[b>>2]=18;break e}N[d+8>>2]=j;M[d+4>>1]=257;N[d+12>>2]=j+7>>>3;if(!j){break d}c=0;j=-1<<(0-j&7);while(1){L[(c+d|0)+16|0]=255;c=c+1|0;g=N[d+12>>2];if(c>>>0>>0){continue}break}c=d+g|0;L[c+15|0]=j&O[c+15|0];if(O[d+4|0]){break d}}if(!O[p+8|0]){break b}N[N[d>>2]>>2]=0;a=a+13|0;break c}N[a+20>>2]=0;N[a+24>>2]=0;N[h+72>>2]=N[d+24>>2];j=N[d+20>>2];u=h- -64|0;c=u;N[c>>2]=N[d+16>>2];N[c+4>>2]=j;c=N[d+12>>2];N[h+56>>2]=N[d+8>>2];N[h+60>>2]=c;c=N[d+4>>2];N[h+48>>2]=N[d>>2];N[h+52>>2]=c;v=N[b+16>>2];if(v>>>0>Q[d+8>>2]){break b}if(O[p+249|0]){N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;c=h+24|0;jf(a,p+288|0,c);jf(a,c,p+268|0)}f:{g:{if(v){o=u;r=128;j=0;while(1){h:{if(!(O[o|0]&r)){break h}c=N[a+16>>2];N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;g=j;m=g>>>0>2];i:{if(m){break i}g=0;i=N[b+4>>2];if(!i|N[i>>2]){break i}N[i>>2]=130}j:{k:{s=N[b+24>>2];n=N[b+8>>2];g=s+T(n,g)|0;i=N[g+8>>2];l=N[g+4>>2];k=i-l|0;if((k|0)==-1376256){l=1}else{if((k|0)==-1310720){N[h+40>>2]=c;N[h+32>>2]=e;N[h+28>>2]=j;l=0;i=e;break k}i=(k|0)<0?i:l;l=4}N[h+40>>2]=c;N[h+24>>2]=l;N[h+28>>2]=j;i=e+i|0;N[h+32>>2]=i;if(!O[g|0]){break k}q=N[g+12>>2];l=l|16;N[h+24>>2]=l;break j}k=i>>31;k=(k^i)-k|0;g=c>>31;g=(g^c)-g|0;l:{if(k+(g>>>8|0)>>>0<=8190){k=T(g,k)+32768>>>16|0;break l}q=k&65535;k=T(q,g>>>16|0)+T(g,k>>>16|0)+(T(q,g&65535)+32768>>>16)|0}g=k;q=0-g|0;g=i>>31|1;q=(((c|0)<0?0-g|0:g)|0)<0?q:k}N[h+36>>2]=q;c=N[a+16>>2];N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h>>2]=0;N[h+4>>2]=0;g=j;m:{if(m){break m}g=0;k=N[b+4>>2];if(!k|N[k>>2]){break m}N[k>>2]=130}n:{o:{m=s+T(g,n)|0;n=N[m+8>>2];g=N[m+4>>2];k=n-g|0;if((k|0)==-1310720){k=2}else{if((k|0)==-1376256){N[h+16>>2]=c;N[h+8>>2]=e;N[h+4>>2]=j;k=0;g=e;break o}g=(k|0)<0?g:n;k=8}N[h>>2]=k;n=N[p+232>>2];N[h+16>>2]=c;N[h+4>>2]=j;g=(e+g|0)+(n<<1)|0;N[h+8>>2]=g;if(!O[m|0]){break o}n=N[m+16>>2];k=k|16;N[h>>2]=k;break n}n=g>>31;n=(n^g)-n|0;m=c>>31;m=(m^c)-m|0;p:{if(n+(m>>>8|0)>>>0<=8190){n=T(m,n)+32768>>>16|0;break p}s=n&65535;n=T(s,m>>>16|0)+T(m,n>>>16|0)+(T(s,m&65535)+32768>>>16)|0}m=n;s=0-m|0;m=g>>31|1;n=(((c|0)<0?0-m|0:m)|0)<0?s:n}N[h+12>>2]=n;q:{if((k|l)&16){break q}s=N[p+244>>2];if(!s){break h}m=N[p+260>>2];t=k&10;r:{s:{t:{if(!(l&5)){c=0;if(!t){break h}while(1){i=p+T(c,20)|0;u:{if(O[i+324|0]){break u}w=N[i+308>>2];if((w-m|0)>(g|0)){break u}if((m+N[i+312>>2]|0)>=(g|0)){break t}}c=c+1|0;if((s|0)!=(c|0)){continue}break}break h}c=0;if(!t){while(1){g=p+T(c,20)|0;if(!(!O[g+324|0]|(N[g+308>>2]-m|0)>(i|0))){t=N[g+312>>2];if((m+t|0)>=(i|0)){break s}}c=c+1|0;if((s|0)!=(c|0)){continue}break h}}while(1){t=p+T(c,20)|0;w=N[t+308>>2];x=w-m|0;v:{if(O[t+324|0]){if((i|0)<(x|0)){break v}t=N[t+312>>2];if((m+t|0)<(i|0)){break v}break s}if((g|0)<(x|0)){break v}if((m+N[t+312>>2]|0)>=(g|0)){break t}}c=c+1|0;if((s|0)!=(c|0)){continue}break}break h}i=N[(p+T(c,20)|0)+320>>2];w:{if(O[p+248|0]){break w}i=n+32768&-65536;if(N[p+256>>2]>(g-w|0)){break w}c=N[(p+T(c,20)|0)+320>>2]+65536|0;i=(c|0)<(i|0)?i:c}c=i-n|0;if(!l){break r}N[h+24>>2]=l|16;N[h+36>>2]=c+q;break r}g=N[(p+T(c,20)|0)+320>>2];x:{if(O[p+248|0]){break x}g=q+32768&-65536;if(N[p+256>>2]>(t-i|0)){break x}c=N[(p+T(c,20)|0)+320>>2]-65536|0;g=(c|0)>(g|0)?g:c}N[h+24>>2]=l|16;N[h+36>>2]=g;if(!k){break q}c=g-q|0}N[h>>2]=k|16;N[h+12>>2]=c+n}jf(a,h+24|0,h);L[o|0]=O[o|0]&(r^-1)}c=(j&7)==7;r=c?128:r>>>1&127;o=c+o|0;j=j+1|0;if((v|0)!=(j|0)){continue}break}if(f){break g}j=128;c=0;while(1){if(O[u|0]&j){k=N[a+16>>2];N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;i=c;o=c>>>0>2];y:{if(o){break y}i=0;g=N[b+4>>2];if(!g|N[g>>2]){break y}N[g>>2]=130}z:{A:{m=N[b+24>>2];r=N[b+8>>2];l=m+T(r,i)|0;g=N[l+8>>2];q=N[l+4>>2];i=g-q|0;if((i|0)==-1376256){i=1}else{if((i|0)==-1310720){N[h+40>>2]=k;N[h+32>>2]=e;N[h+28>>2]=c;g=e;break A}g=(i|0)<0?g:q;i=4}N[h+40>>2]=k;N[h+24>>2]=i;N[h+28>>2]=c;g=e+g|0;N[h+32>>2]=g;if(!O[l|0]){break A}g=N[l+12>>2];N[h+24>>2]=i|16;N[h+36>>2]=g;break z}l=g>>31;l=(l^g)-l|0;i=k>>31;i=(i^k)-i|0;B:{if(l+(i>>>8|0)>>>0<=8190){i=T(i,l)+32768>>>16|0;break B}q=l&65535;i=T(q,i>>>16|0)+T(i,l>>>16|0)+(T(q,i&65535)+32768>>>16)|0}g=g>>31|1;N[h+36>>2]=(((k|0)<0?0-g|0:g)|0)<0?0-i|0:i}k=N[a+16>>2];N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h>>2]=0;N[h+4>>2]=0;i=c;C:{if(o){break C}i=0;g=N[b+4>>2];if(!g|N[g>>2]){break C}N[g>>2]=130}D:{E:{l=m+T(i,r)|0;o=N[l+8>>2];g=N[l+4>>2];i=o-g|0;if((i|0)==-1310720){i=2}else{if((i|0)==-1376256){N[h+16>>2]=k;N[h+8>>2]=e;N[h+4>>2]=c;g=e;break E}g=(i|0)<0?g:o;i=8}N[h>>2]=i;o=N[p+232>>2];N[h+16>>2]=k;N[h+4>>2]=c;g=(e+g|0)+(o<<1)|0;N[h+8>>2]=g;if(!O[l|0]){break E}g=N[l+16>>2];N[h>>2]=i|16;N[h+12>>2]=g;break D}l=g>>31;l=(l^g)-l|0;i=k>>31;i=(i^k)-i|0;F:{if(l+(i>>>8|0)>>>0<=8190){i=T(i,l)+32768>>>16|0;break F}o=l&65535;i=T(o,i>>>16|0)+T(i,l>>>16|0)+(T(o,i&65535)+32768>>>16)|0}g=g>>31|1;N[h+12>>2]=(((k|0)<0?0-g|0:g)|0)<0?0-i|0:i}jf(a,h+24|0,h)}g=(c&7)==7;j=g?128:j>>>1&127;u=g+u|0;c=c+1|0;if((v|0)!=(c|0)){continue}break}break f}if(!f){break f}}c=N[a+20>>2];if(!(!c|N[a+36>>2]>0)&N[(T(c,20)+a|0)+16>>2]>=0){break f}N[h+36>>2]=0;N[h+28>>2]=0;N[h+32>>2]=0;N[h+24>>2]=49;c=N[a+16>>2];N[h+8>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h>>2]=0;N[h+4>>2]=0;N[h+40>>2]=c;jf(a,h+24|0,h)}r=N[a+8>>2];N[r+16>>2]=0;k=N[a+20>>2];if(k){r=a+28|0;c=0;while(1){u=T(c,20);e=u+r|0;m=e;i=c+1|0;j=N[e>>2];q=j&12;l=q?i:c;s=T(l,20);g=s+r|0;n=g;G:{if(j&16){break G}p=N[e+12>>2];e=p&65535;o=e?65536-e|0:0;v=N[g+12>>2];j=v&65535;g=j?65536-j|0:0;g=g>>>0>o>>>0?o:g;o=(e|0)<(j|0)?e:j;j=0-o|0;H:{I:{if(l>>>0>>0){k=T(l+1|0,20)+a|0;if(N[k+40>>2]<((g+v|0)+32768|0)){break I}}if(!(!c|N[(a+u|0)+20>>2]<=((p-o|0)-32768|0))){j=g;break H}j=g>>>0>o>>>0?j:g;break H}J:{if(c){e=0;if(N[(a+u|0)+20>>2]>((p-o|0)-32768|0)){break J}}e=j;if(g>>>0>=o>>>0){break H}}if(!(O[k+28|0]&16)){N[h+24>>2]=l;N[h+28>>2]=g-e;Oo(N[a+8>>2],h+24|0)}j=e}N[m+12>>2]=j+p;if(!q){break G}N[n+12>>2]=j+v}K:{if(!c){break K}e=a+u|0;j=N[e+36>>2];e=N[e+16>>2];if((j|0)==(e|0)){break K}g=T(c-1|0,20)+a|0;y=g,z=fb(N[m+12>>2]-N[g+40>>2]|0,j-e|0),N[y+44>>2]=z}if(q){c=a+s|0;e=N[c+36>>2];c=N[c+16>>2];if((e|0)!=(c|0)){j=T(l-1|0,20)+a|0;y=j,z=fb(N[n+12>>2]-N[j+40>>2]|0,e-c|0),N[y+44>>2]=z}c=i}c=c+1|0;k=N[a+20>>2];if(c>>>0>>0){continue}break}r=N[a+8>>2]}e=N[r+16>>2];if(e){i=N[r+8>>2];k=N[r+24>>2];c=e;while(1){c=c-1|0;j=c;L:{if(c>>>0>>0){break L}j=0;g=N[r+4>>2];if(!g|N[g>>2]){break L}N[g>>2]=130}g=k+T(i,j)|0;j=T(N[g>>2],20)+a|0;g=N[g+4>>2];l=g+N[j+40>>2]|0;M:{if(N[j+60>>2]<(l+32768|0)){break M}N[j+40>>2]=l;if(!(O[j+28|0]&12)){break M}N[j+20>>2]=g+N[j+20>>2]}if(c){continue}break}}N:{if(f){break N}g=N[a+20>>2];if(!g){break N}c=0;while(1){e=T(c,20)+a|0;f=N[e+28>>2];if(!(f&32)){g=N[e+32>>2];O:{if(g>>>0>2]){break O}g=0;j=N[b+4>>2];if(!j|N[j>>2]){break O}N[j>>2]=130;f=N[e+28>>2]}i=f&10?16:12;f=N[b+24>>2]+T(N[b+8>>2],g)|0;N[i+f>>2]=N[e+40>>2];L[f|0]=1;g=N[a+20>>2]}c=c+1|0;if(g>>>0>c>>>0){continue}break}}L[a+12|0]=1;a=d+5|0}L[a|0]=0}La=h+80|0}function yE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;m=La-32|0;La=m;a:{if(N[c+68>>2]){if(ib(c,b,13403,0)){t=N[c+68>>2];if(t){j=t-1|0;i=N[c+80>>2];f=i+3|0;e=O[i+15|0];while(1){b:{if((d|0)==(j|0)){d=t;break b}d=d+1|0;if((e|0)==O[(f+T(d,20)|0)+12|0]){continue}}break}j=0;while(1){q=N[a+112>>2];g=N[q+8>>2];h=d;if(!(!g|j>>>0>=d>>>0)){l=i+2|0;d=j;while(1){f=T(d,20);k=f+i|0;c:{if((g|0)!=N[k>>2]){break c}e=P[k+12>>1];if((e&96)!=96){break c}L[(f+l|0)+16|0]=4;M[k+12>>1]=e&65439}d=d+1|0;if((h|0)!=(d|0)){continue}break}}g=N[q+108>>2];p=(g|0)!=0;d:{e:{f:{g:{if(h>>>0>j>>>0){o=i+3|0;f=j;h:{while(1){d=f+1|0;if(O[(o+T(f,20)|0)+16|0]>=4){i:{if(!g){break i}e=d;if(d>>>0>=h>>>0){break i}while(1){l=T(e,20)+i|0;if(g&N[l+4>>2]){p=1;if((P[l+12>>1]&112)==48){break i}j:{while(1){d=T(e,20)+i|0;if(O[d+12|0]&32|O[d+18|0]!=4){break j}e=e+1|0;if(h>>>0>e>>>0){continue}break}e=h}f=e;L[(T(e,20)+i|0)+19|0]=4;d=e+1|0;p=0;break i}p=1;e=e+1|0;if(h>>>0>e>>>0){continue}break}}k:{if(N[c+44>>2]!=1298954605|d>>>0>=h>>>0){break k}while(1){e=d+1|0;e=e>>>0>>0?h:e;l:{while(1){l=T(d,20)+i|0;if(O[l+12|0]&32){break l}l=O[l+18|0];if(l>>>0>31|!(1<>>0>d>>>0){continue}break}d=e}if((d|0)==(h|0)){break k}e=T(d,20)+i|0;if(O[e+12|0]&32|O[e+18|0]!=4){break k}e=d+1|0;l=(e>>>0>>0?h:e)-1|0;m:{while(1){e=d;d=d+1|0;if(h>>>0<=d>>>0){e=l;break m}k=T(d,20);g=k+i|0;if(O[g+12|0]&32){break m}g=O[g+18|0];n=1<>>0>31;if(!(n&96?g:1)){continue}break}if(!(n&363526)|g){break m}l=k+o|0;if(O[l+16|0]!=8){break m}L[l+16|0]=4;f=d}d=e+2|0;if(h>>>0>d>>>0){continue}break}}if(f>>>0<=j>>>0){break h}f=f-(O[(T(f,20)+i|0)+19|0]>4)|0;break h}f=d;if((d|0)!=(h|0)){continue}break}f=h}n:{if(!((f|0)!=(h|0)|f>>>0<=j>>>0)){f=h;e=f-1|0;d=T(e,20)+i|0;if(O[d+12|0]&32){break n}f=O[d+18|0]==6?e:h}if(f>>>0<=j>>>0|f>>>0>=h>>>0){break n}while(1){d=T(f,20)+i|0;if(O[d+12|0]&32){break n}d=O[d+18|0];if(d>>>0>31|!(1<>>0>>0){continue}break}l=j+1|0;f=j;break e}l=j+1|0;r=l>>>0>=h>>>0;if(r|f>>>0<=j>>>0){break f}d=((f|0)==(h|0)?-2:-1)+f|0;o:{e=N[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break o}n=i+2|0;while(1){e=1;p:{if(d>>>0<=j>>>0){break p}while(1){q:{g=T(d,20)+i|0;if(O[g+12|0]&32){break q}g=O[g+18|0];if(g>>>0>31|!(1<>>0>>0){continue}break}d=j}k=T(d,20);g=k+i|0;if(O[g+12|0]&32|O[g+18|0]!=4|O[(k+o|0)+16|0]==2){break g}g=d+1|0;if(g>>>0>=h>>>0|(O[(n+T(g,20)|0)+16|0]!=6|e)){break o}d=d-1|0;continue}}if(O[(T(d,20)+i|0)+19|0]==2|d>>>0<=j>>>0){break g}e=d;while(1){g=d-1|0;k=T(g,20);if(O[(k+o|0)+16|0]==2){n=i+k|0;N[m+24>>2]=N[n+16>>2];k=N[n+12>>2];N[m+16>>2]=N[n+8>>2];N[m+20>>2]=k;k=N[n+4>>2];N[m+8>>2]=N[n>>2];N[m+12>>2]=k;F(n,T(d,20)+i|0,T(e-g|0,20));k=T(e,20)+i|0;N[k+16>>2]=N[m+24>>2];d=N[m+20>>2];N[k+8>>2]=N[m+16>>2];N[k+12>>2]=d;d=N[m+12>>2];N[k>>2]=N[m+8>>2];N[k+4>>2]=d;f=f-(f>>>0>g>>>0&e>>>0>=f>>>0)|0;d=f+1|0;d=d>>>0>>0?d:h;if(d-e>>>0>=2){Ib(c,e,d)}e=e-1|0}d=g;if(j>>>0>>0){continue}break}break f}l=j+1|0;f=j;break d}e=j;while(1){if(O[(o+T(e,20)|0)+16|0]==2){d=f+1|0;d=d>>>0>>0?d:h;if(d-e>>>0<2){break f}Ib(c,e,d);break e}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(r){break d}}n=T(j,20)+i|0;if(O[n+19|0]!=1|(O[n+18|0]==14|0)==((P[n+12>>1]&96)==32|0)){break d}k=N[N[q>>2]+12>>2];r:{s:{if((k|0)==12){break s}t:{u:{v:{d=l;if(f>>>0>d>>>0){while(1){e=d+1|0;g=T(d,20)+i|0;if(!(O[g+12|0]&32)&O[g+18|0]==4){break v}d=e;if((f|0)!=(d|0)){continue}break}}switch(k-5|0){case 4:break t;case 0:break u;default:break s}}if(e>>>0>=f>>>0){break r}g=T(e,20)+i|0;if(O[g+12|0]&32){break r}k=d;d=O[g+18|0];d=d>>>0<32&(1<>>0>>0?h:d)-1|0;e=f;while(1){w:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break w}if(O[(o+T(e,20)|0)+16|0]<6){continue}}break}if(d>>>0>=h>>>0){break s}break r}d=f+1|0;g=(d>>>0>>0?h:d)-1|0;e=f;while(1){x:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break x}k=O[(o+T(e,20)|0)+16|0];if(k>>>0>31|!(1<>>0>>0){break r}}y:{d=l;if(f>>>0<=d>>>0){break y}while(1){z:{e=d+1|0;g=T(d,20)+i|0;if(!(O[g+12|0]&32)&O[g+18|0]==4){break z}d=e;if((f|0)!=(d|0)){continue}break y}break}if(e>>>0>=f>>>0){break r}g=T(e,20)+i|0;if(O[g+12|0]&32){break r}k=d;d=O[g+18|0];d=d>>>0<32&(1<>>0>j>>>0?j:d;d=h;while(1){A:{d=d-1|0;if(j>>>0>=d>>>0){d=e;break A}if(O[(o+T(d,20)|0)+16|0]==13){continue}}break}if(O[q+5|0]){break r}e=T(d,20)+i|0;if(O[e+12|0]&32|O[e+18|0]!=4){break r}e=f+1|0;if(e>>>0>=d>>>0){break r}g=i+2|0;while(1){k=d;d=O[(T(e,20)+g|0)+16|0];d=k-(d>>>0<32&(1<>>0>e>>>0){continue}break}}e=d+1|0;if(e-j>>>0>=2){Ib(c,j,e)}N[m+24>>2]=N[n+16>>2];e=N[n+12>>2];N[m+16>>2]=N[n+8>>2];N[m+20>>2]=e;e=N[n+4>>2];N[m+8>>2]=N[n>>2];N[m+12>>2]=e;F(n,T(l,20)+i|0,T(d-j|0,20));g=T(d,20)+i|0;N[g+16>>2]=N[m+24>>2];e=N[m+20>>2];N[g+8>>2]=N[m+16>>2];N[g+12>>2]=e;e=N[m+12>>2];N[g>>2]=N[m+8>>2];N[g+4>>2]=e;f=f-(f>>>0>j>>>0&d>>>0>=f>>>0)|0}B:{if(!p){break B}d=f+1|0;if(h>>>0<=d>>>0){break B}e=N[q+108>>2];C:{D:{while(1){E:{k=T(d,20)+i|0;if(e&N[k+4>>2]){if((P[k+12>>1]&96)!=32){break B}e=N[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break E}e=f;if(j>>>0>=e>>>0){break D}while(1){e=f;f=e-1|0;g=T(f,20)+i|0;F:{if(O[g+12|0]&32){break F}g=O[g+18|0];if(g>>>0>31){break F}if(1<>>0>j>>>0){continue}break}e=j;break C}d=d+1|0;if((h|0)!=(d|0)){continue}break B}break}e=f}if(e>>>0<=j>>>0|e>>>0>=h>>>0){break C}g=T(e,20)+i|0;f=g-20|0;if(P[f+12>>1]&32|O[f+18|0]!=4|O[g+12|0]&32){break C}f=e;e=O[g+18|0];e=f+(e>>>0<32&(1<>>0>=2){Ib(c,e,f)}N[m+24>>2]=N[k+16>>2];f=N[k+12>>2];N[m+16>>2]=N[k+8>>2];N[m+20>>2]=f;f=N[k+4>>2];N[m+8>>2]=N[k>>2];N[m+12>>2]=f;f=T(e,20)+i|0;F(f+20|0,f,T(d-e|0,20));N[f+16>>2]=N[m+24>>2];d=N[m+20>>2];N[f+8>>2]=N[m+16>>2];N[f+12>>2]=d;d=N[m+12>>2];N[f>>2]=N[m+8>>2];N[f+4>>2]=d}d=T(j,20)+i|0;G:{if(O[d+19|0]!=2){break G}H:{if(j){f=j-1|0;k=T(f,20);if(1<>1]&8190){break H}}N[d+4>>2]=N[d+4>>2]|N[q+136>>2];break G}d=N[c+68>>2];o=d>>>0>>0?d:l;r=o-f|0;if(r>>>0<2){break G}p=N[c+144>>2]|32;N[c+144>>2]=p;if(f>>>0>=o>>>0){break G}s=N[c+80>>2];d=-1;i=f;if(o-j>>>0>=3){g=r&-4;e=0;while(1){n=s+T(i,20)|0;l=N[n+8>>2];l=d>>>0>>0?d:l;d=N[n+28>>2];l=d>>>0>l>>>0?l:d;d=N[n+48>>2];l=d>>>0>l>>>0?l:d;d=N[n+68>>2];d=d>>>0>l>>>0?l:d;i=i+4|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}e=0;g=r&3;if(g){while(1){l=N[(s+T(i,20)|0)+8>>2];d=d>>>0>>0?d:l;i=i+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}I:{if(!(r&1)){break I}f=j;e=k+s|0;if(N[e+8>>2]==(d|0)){break I}N[e+4>>2]=N[e+4>>2]|3}if((j|0)==(o|0)){break G}while(1){e=s+T(f,20)|0;if(N[e+8>>2]!=(d|0)){p=p|32;N[c+144>>2]=p;N[e+4>>2]=N[e+4>>2]|3}e=s+T(f+1|0,20)|0;if(N[e+8>>2]!=(d|0)){p=p|32;N[c+144>>2]=p;N[e+4>>2]=N[e+4>>2]|3}f=f+2|0;if((o|0)!=(f|0)){continue}break}}if(!(!O[q+5|0]|h-j>>>0<2|N[a+4>>2]==1415671148)){Ib(c,j,h)}e=N[c+68>>2];d=h+1|0;e=d>>>0>>0?e:d;l=e-1|0;i=N[c+80>>2];j=O[(i+T(h,20)|0)+15|0];f=i+3|0;d=h;while(1){J:{if((d|0)==(l|0)){d=e;break J}d=d+1|0;if((j|0)==O[(f+T(d,20)|0)+12|0]){continue}}break}j=h;if(h>>>0>>0){continue}break}}ib(c,b,13432,0)}a=O[c+140|0];if(!(a&64)){break a}a=a<<24>>24;L[c+140|0]=a&191;if((a|0)>=0){break a}L[c+140|0]=a&63}La=m+32|0;return 0}ba(22742,14165,187,12136);B()}function fv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=La-320|0;La=g;N[b>>2]=1;N[b+504>>2]=0;a=N[b+96>>2];a:{b:{if(!a){break b}f=N[N[a>>2]+32>>2];if(f){m=Qa[f|0](a,10566)|0;if(m){break a}}f=N[a+4>>2];i=N[f+16>>2];if((i|0)<=0){break b}f=f+20|0;h=f+(i<<2)|0;while(1){i=N[f>>2];c:{if((i|0)==(a|0)){break c}j=N[N[i>>2]+32>>2];if(!j){break c}m=Qa[j|0](i,10566)|0;if(m){break a}}f=f+4|0;if(h>>>0>f>>>0){continue}break}}m=0}N[b+488>>2]=m;d:{e:{f:{g:{h:{i:{j:{k:{a=N[N[b+96>>2]+4>>2];if(!a){break k}i=N[a+16>>2];if((i|0)<=0){break k}s=b+504|0;f=a+20|0;a=f+(i<<2)|0;while(1){i=N[N[f>>2]>>2];if(cb(N[i+8>>2],7988)){f=f+4|0;if(a>>>0>f>>>0){continue}break k}break}p=N[i+20>>2];N[b+492>>2]=p;if(!p){f=11;break d}k=N[b+100>>2];C(g+4|0,0,304);a=Qa[N[k+4>>2]](k,12)|0;N[b+496>>2]=a;if(!a){f=!a<<6;break e}N[b+500>>2]=12;a=N[b+104>>2];Qa[N[N[p+4>>2]>>2]](g+4|0,0,0,k);L[g+88|0]=0;N[g+80>>2]=0;N[g+84>>2]=0;N[g+76>>2]=a;i=N[a+20>>2];if(!i){N[a+8>>2]=0;i=a+4|0;l=a+8|0;h=N[a+4>>2];break j}f=85;if(Qa[i|0](a,0,0,0)|0){break g}N[a+8>>2]=0;i=a+4|0;l=a+8|0;h=N[a+4>>2];if(!N[a+20>>2]){break j}if(h>>>0<17){break g}f=N[a+28>>2];h=Qa[N[f+4>>2]](f,17)|0;if(!h){f=64;i=a;break h}N[a>>2]=h;j=Qa[N[a+20>>2]](a,N[a+8>>2],h,17)|0;h=N[a>>2];if(j>>>0>16){f=0}else{if(h){Qa[N[f+8>>2]](f,h)}h=0;N[a>>2]=0;f=85}N[a+32>>2]=h;N[a+36>>2]=h?h+17|0:0;N[a+8>>2]=j+N[a+8>>2];if(j>>>0<17){break g}break i}N[b+492>>2]=0;f=11;break d}f=85;if(h>>>0<17){break g}N[a+8>>2]=17;h=N[a>>2];N[a+32>>2]=h;N[a+36>>2]=h+17}j=N[a+20>>2];if(Mb(h,9077,17)){if(j){if(h){f=N[a+28>>2];Qa[N[f+8>>2]](f,h)}N[a>>2]=0}N[a+32>>2]=0;i=a+36|0;f=2;break h}l:{m:{n:{if(!j){N[a+32>>2]=0;N[a+36>>2]=0;break n}o:{if(!h){N[a+32>>2]=0;N[a+36>>2]=0;N[a>>2]=0;break o}f=N[a+28>>2];Qa[N[f+8>>2]](f,h);N[a+32>>2]=0;N[a+36>>2]=0;N[a>>2]=0;j=N[a+20>>2];if(!j){break n}}f=85;if(Qa[j|0](a,0,0,0)|0){break g}N[a+8>>2]=0;h=N[a+4>>2];f=h;if(!N[a+20>>2]){break m}i=g+80|0;p:{if((h|0)>0){f=Qa[N[k+4>>2]](k,h)|0;if(f){break p}f=64;break h}f=6;if(h){break h}f=0}N[g+80>>2]=f;f=Zb(a,f,h);if(f){break g}N[g+84>>2]=h;break l}N[l>>2]=0;f=N[i>>2]}i=N[a>>2];L[g+88|0]=1;N[g+84>>2]=f;N[g+80>>2]=i;f=Xc(a,f);if(f){break g}h=N[g+84>>2]}a=N[g+80>>2];N[g+8>>2]=a;break f}N[i>>2]=0}if(O[g+88|0]){break e}a=N[g+80>>2];if(a){Qa[N[k+8>>2]](k,a)}a=0;N[g+80>>2]=0;if(f){break e}h=N[g+84>>2]}N[g+16>>2]=0;N[g+4>>2]=a;i=a+h|0;N[g+12>>2]=i;Qa[N[g+32>>2]](g+4|0);f=N[g+4>>2];if(i>>>0>f>>>0){n=b+132|0;q=b+164|0;o=b+464|0;while(1){q:{r:{a=O[f|0];if(!((a|0)!=70|i>>>0<=f+25>>>0)){if(bb(f,7876,13)){break r}a=g+4|0;Qa[N[g+36>>2]](a);Qa[N[g+32>>2]](a);a=N[g+4>>2];f=a;s:{if(a>>>0>=i>>>0){break s}while(1){t:{if(!(O[f|0]!=107|i>>>0<=f+5>>>0)){if(!bb(f,12543,5)){break t}}Qa[N[g+36>>2]](g+4|0);f=N[g+16>>2];if(f){break e}Qa[N[g+32>>2]](g+4|0);f=N[g+4>>2];if(i>>>0>f>>>0){continue}break s}break}f=g+4|0;Qa[N[g+36>>2]](f);Qa[N[g+60>>2]](f,g+308|0);a=N[g+316>>2]==3?N[g+4>>2]:a}N[g+4>>2]=a;break q}if((a|0)!=47|i>>>0<=f+2>>>0){break r}a=f+1|0;N[g+4>>2]=a;Qa[N[g+36>>2]](g+4|0);f=N[g+16>>2];if(f){break e}h=N[g+4>>2];if((h|0)==(a|0)){break q}k=h-a|0;if(k>>>0>21){break q}f=0;if(h>>>0>=i>>>0){break q}while(1){u:{h=T(f,36);l=h+36880|0;j=N[l>>2];if(!j|O[a|0]!=O[j|0]){break u}if((nb(j)|0)!=(k|0)){break u}if(Mb(a,j,k)){break u}v:{if(f-15>>>0<=3){Qa[N[h+36892>>2]](b,g+4|0);f=N[g+16>>2];break v}a=N[h+36888>>2];w:{x:{switch(N[h+36884>>2]-2|0){case 0:N[g+308>>2]=q;break w;case 3:N[g+308>>2]=o;break w;default:break x}}N[g+308>>2]=n}if(a-9>>>0<=1){f=Qa[N[g+72>>2]](g+4|0,l,g+308|0,0,0)|0;break v}f=Qa[N[g+68>>2]](g+4|0,l,g+308|0,0,0)|0}N[g+16>>2]=f;if(!f){break q}break e}f=f+1|0;if((f|0)!=20){continue}break}break q}Qa[N[g+36>>2]](g+4|0);f=N[g+16>>2];if(f){break e}}Qa[N[g+32>>2]](g+4|0);f=N[g+4>>2];if(i>>>0>f>>>0){continue}break}}f=N[g+16>>2];if(f){break e}f=2;if(O[b+437|0]!=42){break e}l=N[g+148>>2];N[b+420>>2]=l;a=N[g+216>>2];i=0;N[g+216>>2]=0;N[b+396>>2]=N[g+204>>2];N[b+428>>2]=N[g+228>>2];N[b+432>>2]=N[g+232>>2];N[b+400>>2]=N[g+152>>2];N[b+424>>2]=N[g+176>>2];N[g+176>>2]=0;N[g+152>>2]=0;f=a?0:3;if(N[b+368>>2]!=1){break e}h=0;k=N[g+112>>2];y:{if((k|0)<=0){break y}j=0;if((l|0)>0){while(1){n=j<<2;q=N[n+N[g+120>>2]>>2];r=j<<1;M[r+N[b+384>>2]>>1]=0;N[n+N[b+388>>2]>>2]=15265;z:{if(!q){break z}t=N[b+424>>2];a=0;while(1){o=N[(a<<2)+t>>2];if(cb(q,o)){a=a+1|0;if((l|0)!=(a|0)){continue}break z}break}M[N[b+384>>2]+r>>1]=a;N[n+N[b+388>>2]>>2]=o;if(!cb(15265,o)){break z}h=(h|0)>(j|0)?h:j+1|0;i=(i|0)>(j|0)?j:i}j=j+1|0;if((k|0)!=(j|0)){continue}break}break y}a=0;if(k>>>0>=4){i=k&-4;while(1){M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;h=a|1;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|2;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|3;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;a=a+4|0;if((i|0)!=(a|0)){continue}break}}k=k&3;if(!k){i=0;h=0;break y}while(1){i=0;M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;a=a+1|0;h=0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}N[b+380>>2]=h;N[b+376>>2]=i;N[b+372>>2]=N[g+92>>2]}a=N[g+144>>2];if(a){Qa[a|0](g+96|0)}a=N[g+252>>2];if(a){Qa[a|0](g+204|0)}a=N[g+200>>2];if(a){Qa[a|0](g+152|0)}a=N[g+304>>2];if(a){Qa[a|0](g+256|0)}if(!O[g+88|0]){a=N[g+80>>2];if(a){i=N[g+20>>2];Qa[N[i+8>>2]](i,a)}N[g+80>>2]=0}a=N[g+28>>2];if(a){Qa[a|0](g+4|0)}if(f|(c|0)<0){break d}f=6;if(c&65535){break d}N[b+36>>2]=0;N[b+4>>2]=0;N[b+24>>2]=12199;N[b+16>>2]=N[b+420>>2];a=N[b+144>>2];N[b+20>>2]=a;N[b+8>>2]=N[b+8>>2]|(O[b+156|0]?533:529)|2048;A:{if(a){f=N[b+140>>2];if(!f){break A}j=O[f|0];if(!j){break A}while(1){i=j&255;c=O[a|0];B:{if((i|0)==(c|0)){f=f+1|0;a=a+1|0;break B}i=i-32|0;if(!(!i|(i|0)==13)){C:{switch(c-32|0){case 0:case 13:a=a+1|0;break B;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break A;default:break C}}if(c){break A}N[b+24>>2]=f;break A}f=f+1|0}j=O[f|0];if(j){continue}break}break A}a=N[b+364>>2];if(!a){break A}N[b+20>>2]=a}N[b+28>>2]=0;N[b+32>>2]=0;N[g+4>>2]=9;c=N[N[b+96>>2]+4>>2];D:{if(!c){a=0;break D}a=N[c+16>>2];if((a|0)<=0){a=0;break D}f=c+20|0;i=f+(a<<2)|0;while(1){a=N[f>>2];if(!cb(N[N[a>>2]+8>>2],15504)){break D}f=f+4|0;if(i>>>0>f>>>0){continue}break}a=0}N[g+24>>2]=a;N[g+8>>2]=N[b+496>>2];N[g+12>>2]=N[b+500>>2];if(d){N[g+32>>2]=e;N[g+28>>2]=d;N[g+4>>2]=25}f=Td(c,g+4|0,0,s,1);if(f){break d}vn(N[N[b+504>>2]+88>>2]);a=N[b+504>>2];c=N[a+56>>2];N[b+52>>2]=N[a+52>>2];N[b+56>>2]=c;c=N[a+64>>2];N[b+60>>2]=N[a+60>>2];N[b+64>>2]=c;M[b+68>>1]=P[a+68>>1];M[b+70>>1]=P[a+70>>1];M[b+72>>1]=P[a+72>>1];M[b+74>>1]=P[a+74>>1];M[b+76>>1]=P[a+76>>1];M[b+78>>1]=P[a+78>>1];M[b+80>>1]=P[b+158>>1];M[b+82>>1]=P[b+160>>1];c=N[b+152>>2]!=0;N[b+12>>2]=c;if(O[a+12|0]&2){N[b+12>>2]=c|2}if(O[a+8|0]&32){N[b+8>>2]=N[b+8>>2]|32}if(!m){f=0;break d}a=N[p+32>>2];N[g+4>>2]=b;N[g+8>>2]=1970170211;N[g+12>>2]=65539;f=Bc(N[a+12>>2],0,g+4|0,0);E:{if(!f){break E}c=f&255;if((c|0)==163){break E}if((c|0)!=7){break d}}M[g+12>>1]=7;f=0;F:{G:{switch(N[b+368>>2]-1|0){case 1:M[g+14>>1]=0;N[g+8>>2]=1094995778;break F;case 3:M[g+14>>1]=1;N[g+8>>2]=1094992453;a=a+4|0;break F;case 0:M[g+14>>1]=2;N[g+8>>2]=1094992451;a=a+8|0;break F;case 2:break G;default:break d}}a=a+12|0;M[g+14>>1]=3;N[g+8>>2]=1818326065}a=N[a>>2];if(!a){break d}f=Bc(a,0,g+4|0,0)}La=g+320|0;return f|0}function tt(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=La-48|0;La=i;h=2;a:{b:{c:{d:{e:{f:{switch(N[a+796>>2]-1|0){case 0:case 1:l=N[a+864>>2];if(!l){h=142;break a}k=N[N[a+804>>2]+(b<<2)>>2];b=N[a+860>>2];j=N[a+104>>2];e=N[j+20>>2];g:{if(e){h=85;if(Qa[e|0](j,b,0,0)|0){break a}l=N[a+864>>2];e=N[a+860>>2];break g}h=85;e=b;if(b>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=b;N[i+4>>2]=j;N[i>>2]=a;b=N[a+84>>2];N[i+24>>2]=l;N[i+20>>2]=e;M[i+16>>1]=0;N[i+12>>2]=g;N[i+8>>2]=b+76;b=N[a+788>>2];N[i+36>>2]=b;e=N[a+792>>2];N[i+40>>2]=e+b;h=3;g=T(k,48);if(e>>>0>>0){break a}b=b+g|0;g=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);l=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);N[i+28>>2]=l;g=O[b+16|0]|O[b+17|0]<<8|(O[b+18|0]<<16|O[b+19|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);N[i+32>>2]=g;L[i+18|0]=O[b+54|0];if(e>>>0>>0|g>>>0>e-l>>>3>>>0){break a}h=Pl(i,c,0,0,0,d>>>22&1);if(h){break a}if(!(d&5242880)){break e}h=0;break a;case 2:break f;default:break a}}b=N[N[a+804>>2]+(b<<2)>>2];M[g>>1]=0;M[g+2>>1]=0;h=6;if(Q[a+16>>2]>>0){break a}b=N[a+788>>2]+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);g=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);k=g+4|0;while(1){b=N[a+864>>2];if(b>>>0<=g>>>0){h=3;break a}c=c<<2;if(c+12>>>0>b-g>>>0){h=3;break a}c=N[a+860>>2]+(c+k|0)|0;b=N[e+20>>2];h:{i:{if(b){h=85;if(Qa[b|0](e,c,0,0)|0){break a}N[e+8>>2]=c;b=N[e+4>>2];if(!N[e+20>>2]){break i}if(b>>>0<8){break a}b=N[e+28>>2];c=Qa[N[b+4>>2]](b,8)|0;if(!c){break d}N[e>>2]=c;j=Qa[N[e+20>>2]](e,N[e+8>>2],c,8)|0;d=N[e>>2];h=0;if(j>>>0<=7){if(d){Qa[N[b+8>>2]](b,d)}N[e>>2]=0;h=85;d=0}N[e+32>>2]=d;f=d?d+8|0:0;N[e+36>>2]=f;N[e+8>>2]=j+N[e+8>>2];c=d;if(j>>>0>=8){break h}break a}b=N[e+4>>2];if(c>>>0>b>>>0){h=85;break a}N[e+8>>2]=c}h=85;if(b-c>>>0<8|b>>>0<=c>>>0){break a}N[e+8>>2]=c+8;d=N[e>>2];c=c+d|0;N[e+32>>2]=c;f=c+8|0;N[e+36>>2]=f}h=0;j:{if(c+3>>>0>=f>>>0){b=0;break j}b=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);c=c+4|0}N[e+32>>2]=c;if(c+3>>>0>>0){f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=c+4|0}N[e+32>>2]=c;if(N[e+20>>2]){if(d){c=N[e+28>>2];Qa[N[c+8>>2]](c,d)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;if((b|0)==(h|0)){h=157;break a}if(b>>>0>h>>>0){h=3;break a}c=h-b|0;if(c>>>0<8){h=3;break a}if(N[a+864>>2]-g>>>0>>0){h=3;break a}b=N[a+860>>2]+(b+g|0)|0;k:{d=N[e+20>>2];if(d){if(!(Qa[d|0](e,b,0,0)|0)){break k}h=85;break a}if(b>>>0<=Q[e+4>>2]){break k}h=85;break a}N[e+8>>2]=b;h=Bb(e,c);if(h){break a}f=N[e+36>>2];b=N[e+32>>2];b=((f>>>0>b+1>>>0)<<1)+b|0;b=((b+1>>>0>>0)<<1)+b|0;N[e+32>>2]=b;if(f>>>0<=b+3>>>0){h=7;break b}c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);d=b+4|0;N[e+32>>2]=d;c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((c|0)!=1685418085){h=2;if((c|0)==1785751328|(c|0)==1919378028){break b}a=7;if((c|0)==1953064550){break b}break c}if((l|0)==4){a=3;break c}c=0;if(f>>>0>b+5>>>0){d=b+6|0;c=O[b+5|0]|O[b+4|0]<<8}N[e+32>>2]=d;if(N[e+20>>2]){b=N[e>>2];if(b){d=N[e+28>>2];Qa[N[d+8>>2]](d,b)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;l=l+1|0;h=6;if(Q[a+16>>2]>=c>>>0){continue}break}break a}h=0;if(O[f+18|0]!=7){break a}n=N[N[a+84>>2]>>2];N[i+16>>2]=0;N[i+20>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;g=f;h=33;l:{if(!n){break l}l=6;m:{n:{if(!g|!i){break n}o:{if((O[g+18|0]-1&255)>>>0<=6){c=N[n>>2];L[i+18|0]=2;h=N[i>>2];b=N[g>>2];N[i>>2]=b;N[i+4>>2]=N[g+4>>2];f=N[i+8>>2];e=N[g+4>>2];d=(e|0)>0;UE(e,0,b,0);if(Pa?d:0){break n}d=N[i+12>>2];k=f;f=f>>31;f=T(h,(k^f)-f|0);b=T(b,e);if((f|b)<0){N[i+12>>2]=d;h=6;break l}p:{if(!b){b=0;if(!d){break p}Qa[N[c+8>>2]](c,d);break p}if(!f){b=Qa[N[c+4>>2]](c,b)|0;if(b){break p}h=0;break m}b=Qa[N[c+12>>2]](c,f,b,d)|0;h=b?b:d;if(!b){break m}b=h}N[i+12>>2]=b;l=0;N[i+8>>2]=N[i+8>>2]<0?0-e|0:e;break o}b=N[i+12>>2]}c=N[g+12>>2];f=N[g+8>>2];if((f|0)<0){c=T(1-N[g>>2]|0,f)+c|0}j=N[i+8>>2];if((j|0)<0){b=T(1-N[i>>2]|0,j)+b|0}q:{switch(O[g+18|0]-1|0){case 0:M[i+16>>1]=2;j=N[g>>2];if(!j){break n}while(1){e=N[g+4>>2];r:{if(e>>>0<8){f=c;d=b;break r}h=e>>>3|0;d=b;f=c;while(1){e=O[f|0];L[d+7|0]=e&1;L[d|0]=e>>>7;L[d+6|0]=e>>>1&1;L[d+5|0]=e>>>2&1;L[d+4|0]=e>>>3&1;L[d+3|0]=e>>>4&1;L[d+2|0]=e>>>5&1;L[d+1|0]=e>>>6&1;f=f+1|0;d=d+8|0;h=h-1|0;if(h){continue}break}e=N[g+4>>2]}e=e&7;s:{if(!e){break s}f=O[f|0];L[d|0]=f>>>7;if((e|0)==1){break s}L[d+1|0]=f>>>6&1;if((e|0)==2){break s}L[d+2|0]=f>>>5&1;if((e|0)==3){break s}L[d+3|0]=f>>>4&1;if((e|0)==4){break s}L[d+4|0]=f>>>3&1;if((e|0)==5){break s}L[d+5|0]=f>>>2&1;if((e|0)==6){break s}L[d+6|0]=f>>>1&1}b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;j=j-1|0;if(j){continue}break};break n;case 1:case 4:case 5:f=N[g+4>>2];M[i+16>>1]=256;d=N[g>>2];if(!d){break n}if(d&1){F(b,c,f);b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;e=d-1|0}else{e=d}if((d|0)==1){break n}while(1){F(b,c,f);b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;F(b,c,f);b=b+N[i+8>>2]|0;c=c+N[g+8>>2]|0;e=e-2|0;if(e){continue}break};break n;case 2:M[i+16>>1]=4;j=N[g>>2];if(!j){break n}while(1){f=N[g+4>>2];t:{if(f>>>0<4){e=c;d=b;break t}k=f>>>2|0;h=k;d=b;e=c;if(f&4){d=O[c|0];L[b+3|0]=d&3;L[b|0]=d>>>6;L[b+2|0]=d>>>2&3;L[b+1|0]=d>>>4&3;h=k-1|0;e=c+1|0;d=b+4|0}if((k|0)!=1){while(1){f=O[e|0];L[d+3|0]=f&3;L[d|0]=f>>>6;L[d+2|0]=f>>>2&3;L[d+1|0]=f>>>4&3;f=O[e+1|0];L[d+7|0]=f&3;L[d+4|0]=f>>>6;L[d+6|0]=f>>>2&3;L[d+5|0]=f>>>4&3;d=d+8|0;e=e+2|0;h=h-2|0;if(h){continue}break}}f=N[g+4>>2]}f=f&3;u:{if(!f){break u}e=O[e|0];L[d|0]=e>>>6;if((f|0)==1){break u}L[d+1|0]=e>>>4&3;if((f|0)==2){break u}L[d+2|0]=e>>>2&3}b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;j=j-1|0;if(j){continue}break};break n;case 3:M[i+16>>1]=16;j=N[g>>2];if(!j){break n}while(1){k=N[g+4>>2];v:{if(k>>>0<2){e=c;d=b;break v}h=k>>>1|0;o=h-1|0;f=0;d=b;e=c;m=h&3;if(m){while(1){h=O[e|0];L[d+1|0]=h&15;L[d|0]=h>>>4;d=d+2|0;e=e+1|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}h=k>>>1&2147483644}if(o>>>0>=3){while(1){f=O[e|0];L[d+1|0]=f&15;L[d|0]=f>>>4;f=O[e+1|0];L[d+3|0]=f&15;L[d+2|0]=f>>>4;f=O[e+2|0];L[d+5|0]=f&15;L[d+4|0]=f>>>4;f=O[e+3|0];L[d+7|0]=f&15;L[d+6|0]=f>>>4;d=d+8|0;e=e+4|0;h=h-4|0;if(h){continue}break}}k=N[g+4>>2]}if(k&1){L[d|0]=O[e|0]>>>4}b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;j=j-1|0;if(j){continue}break};break n;case 6:break q;default:break n}}M[i+16>>1]=256;k=N[g>>2];if(!k){break n}h=N[g+4>>2];if(!h){break n}while(1){e=b;d=c;if(h){while(1){f=O[d+3|0];if(f){j=O[d+1|0];m=T(T(j,j),46871);j=O[d|0];m=m+T(T(j,j),4732)|0;j=O[d+2|0];f=f-((m+T(T(j,j),13933)>>>16>>>0)/(f>>>0)|0)|0}else{f=0}L[e|0]=f;e=e+1|0;d=d+4|0;h=h-1|0;if(h){continue}break}j=N[i+8>>2];f=N[g+8>>2]}k=k-1|0;if(!k){break n}c=c+f|0;b=b+j|0;h=N[g+4>>2];continue}}h=l;break l}N[i+12>>2]=h;h=64}if(h){if(!n){break a}a=N[i+12>>2];if(!a){break a}b=N[n>>2];Qa[N[b+8>>2]](b,a);break a}L[g+18|0]=O[i+18|0];N[g+8>>2]=N[i+8>>2];M[g+16>>1]=P[i+16>>1];d=N[i+12>>2];c=N[a+84>>2];e=N[c+156>>2];w:{if(!e){break w}b=N[e+4>>2];if(!(b&1)){break w}f=N[c+88>>2];if(f){b=N[N[c+4>>2]+100>>2];Qa[N[b+8>>2]](b,f);e=N[c+156>>2];b=N[e+4>>2]}N[e+4>>2]=b&-2}N[c+88>>2]=d;a=N[N[a+84>>2]+156>>2];N[a+4>>2]=N[a+4>>2]|1;break a}N[e>>2]=0;h=64;break a}h=a}if(N[e+20>>2]){a=N[e>>2];if(a){b=N[e+28>>2];Qa[N[b+8>>2]](b,a)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0}La=i+48|0;return h|0}function LB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=La-48|0;La=p;q=N[a+8>>2];f=6;a:{b:{if(N[b+72>>2]!=N[a+16>>2]){break b}f=19;if((c|0)==2|c>>>0>4){break b}m=N[b+156>>2];f=N[m+4>>2];if(f&1){j=N[b+88>>2];if(j){Qa[N[q+8>>2]](q,j);m=N[b+156>>2];f=N[m+4>>2]}N[b+88>>2]=0;N[m+4>>2]=f&-2}f=98;m=0;if(jg(b,c,d)){break b}f=0;c:{i=b+76|0;j=N[i>>2];d:{if(!j){break d}h=N[b+84>>2];if(!h){break d}if((h|j)<0){f=6;break c}f=10;if((j|0)>(2147483647/(h>>>0)|0)){break c}e:{h=T(h,j);f=Qa[N[q+4>>2]](q,h)|0;if(!(!f|(j|0)<=0)){C(f,0,h);N[b+88>>2]=f;break e}N[b+88>>2]=f;if(f){break e}f=!f<<6;break b}f=N[b+156>>2];N[f+4>>2]=N[f+4>>2]|1;f=N[b+76>>2]<<6;o=(O[b+94|0]==6?(f|0)/3|0:f)-(N[b+104>>2]<<6)|0;m=0-(N[b+100>>2]<<6)|0;j=b+108|0;if(d){o=N[d+4>>2]+o|0;m=N[d>>2]+m|0}if(m|o){te(j,m,o)}f:{if(c>>>0<=1){if(O[b+124|0]&64){e=La+-64|0;La=e;d=N[j+4>>2];if(d){f=(M[j+2>>1]<<3)+d|0}else{f=0}c=98;g=N[i+4>>2];g:{if(g&1073733632){break g}N[e+56>>2]=g<<2;N[e+48>>2]=0;N[e+52>>2]=0;N[e+28>>2]=343;N[e+24>>2]=3;N[e+20>>2]=j;N[e+44>>2]=e+8;j=N[i>>2];N[e+60>>2]=j<<2;g=N[i+12>>2];c=N[i+8>>2];N[e+12>>2]=c;N[e+8>>2]=g+((c|0)>=0?T(c,j-1|0):0);if(d>>>0>>0){c=d;while(1){N[c>>2]=N[c>>2]<<2;N[c+4>>2]=N[c+4>>2]<<2;c=c+8|0;if(f>>>0>c>>>0){continue}break}c=Qa[N[a+56>>2]](N[a+52>>2],e+16|0)|0;while(1){N[d>>2]=N[d>>2]/4;N[d+4>>2]=N[d+4>>2]/4;d=d+8|0;if(f>>>0>d>>>0){continue}break}break g}c=Qa[N[a+56>>2]](N[a+52>>2],e+16|0)|0}La=e- -64|0;f=c;break f}N[p+8>>2]=1;N[p+4>>2]=j;N[p>>2]=i;f=Qa[N[a+56>>2]](N[a+52>>2],p)|0;break f}f=0;h:{switch(c-3|0){case 0:h=La+-64|0;La=h;k=N[a+4>>2];N[h+48>>2]=0;N[h+52>>2]=0;N[h+28>>2]=344;N[h+24>>2]=3;N[h+20>>2]=j;N[h+44>>2]=h+8;N[h+56>>2]=N[i+4>>2];d=N[i>>2];N[h+60>>2]=d;f=N[i+12>>2];c=N[i+8>>2];N[h+12>>2]=c;N[h+8>>2]=f+((c|0)>=0?T(c,d-1|0):0);c=k+184|0;i:{if(!j){break i}i=M[j+2>>1];if((i|0)<=0){break i}d=N[k+184>>2];f=N[k+180>>2];e=N[j+4>>2];if(i>>>0>=4){l=i&-4;while(1){N[e>>2]=N[e>>2]-f;N[e+4>>2]=N[e+4>>2]-d;N[e+8>>2]=N[e+8>>2]-f;N[e+16>>2]=N[e+16>>2]-f;N[e+24>>2]=N[e+24>>2]-f;N[e+12>>2]=N[e+12>>2]-d;N[e+20>>2]=N[e+20>>2]-d;N[e+28>>2]=N[e+28>>2]-d;e=e+32|0;g=g+4|0;if((l|0)!=(g|0)){continue}break}}i=i&3;if(!i){break i}g=0;while(1){N[e>>2]=N[e>>2]-f;N[e+4>>2]=N[e+4>>2]-d;e=e+8|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0;j:{if(f){d=k+180|0;break j}N[h+8>>2]=N[h+8>>2]+1;c=k+192|0;d=k+188|0;k:{if(!j){break k}l=M[j+2>>1];if((l|0)<=0){break k}f=N[k+184>>2]-N[k+192>>2]|0;i=N[k+180>>2]-N[k+188>>2]|0;e=N[j+4>>2];if(l>>>0>=4){n=l&-4;g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];N[e+8>>2]=i+N[e+8>>2];N[e+16>>2]=i+N[e+16>>2];N[e+24>>2]=i+N[e+24>>2];N[e+12>>2]=f+N[e+12>>2];N[e+20>>2]=f+N[e+20>>2];N[e+28>>2]=f+N[e+28>>2];e=e+32|0;g=g+4|0;if((n|0)!=(g|0)){continue}break}}l=l&3;if(!l){break k}g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];e=e+8|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0;if(f){break j}N[h+8>>2]=N[h+8>>2]+1;c=k+200|0;d=k+196|0;l:{if(!j){break l}l=M[j+2>>1];if((l|0)<=0){break l}f=N[k+192>>2]-N[k+200>>2]|0;i=N[k+188>>2]-N[k+196>>2]|0;e=N[j+4>>2];if(l>>>0>=4){k=l&-4;g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];N[e+8>>2]=i+N[e+8>>2];N[e+16>>2]=i+N[e+16>>2];N[e+24>>2]=i+N[e+24>>2];N[e+12>>2]=f+N[e+12>>2];N[e+20>>2]=f+N[e+20>>2];N[e+28>>2]=f+N[e+28>>2];e=e+32|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}}k=l&3;if(!k){break l}g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];e=e+8|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0}m:{if(!j){break m}i=M[j+2>>1];if((i|0)<=0){break m}a=N[d>>2];c=N[c>>2];e=N[j+4>>2];if(i>>>0>=4){d=i&-4;g=0;while(1){N[e>>2]=a+N[e>>2];N[e+4>>2]=c+N[e+4>>2];N[e+8>>2]=a+N[e+8>>2];N[e+16>>2]=a+N[e+16>>2];N[e+24>>2]=a+N[e+24>>2];N[e+12>>2]=c+N[e+12>>2];N[e+20>>2]=c+N[e+20>>2];N[e+28>>2]=c+N[e+28>>2];e=e+32|0;g=g+4|0;if((d|0)!=(g|0)){continue}break}}d=i&3;if(!d){break m}g=0;while(1){N[e>>2]=a+N[e>>2];N[e+4>>2]=c+N[e+4>>2];e=e+8|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}La=h- -64|0;break f;case 1:break h;default:break d}}k=La-48|0;La=k;d=N[a+4>>2];l=N[i+8>>2];N[k+8>>2]=1;N[k+4>>2]=j;N[k>>2]=i;N[i+8>>2]=T(l,3);N[i>>2]=Q[i>>2]/3;n:{if(!j){break n}h=M[j+2>>1];if((h|0)<=0){break n}f=N[d+184>>2];g=N[d+180>>2];c=N[j+4>>2];if(h>>>0>=4){n=h&-4;while(1){N[c>>2]=N[c>>2]-f;N[c+4>>2]=g+N[c+4>>2];N[c+8>>2]=N[c+8>>2]-f;N[c+16>>2]=N[c+16>>2]-f;N[c+24>>2]=N[c+24>>2]-f;N[c+12>>2]=g+N[c+12>>2];N[c+20>>2]=g+N[c+20>>2];N[c+28>>2]=g+N[c+28>>2];c=c+32|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}}h=h&3;if(!h){break n}e=0;while(1){N[c>>2]=N[c>>2]-f;N[c+4>>2]=g+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+180>>2];h=N[d+184>>2];o:{if(f){break o}N[i+12>>2]=l+N[i+12>>2];p:{if(!j){break p}n=M[j+2>>1];if((n|0)<=0){break p}f=N[d+188>>2]-g|0;g=h-N[d+192>>2]|0;c=N[j+4>>2];if(n>>>0>=4){h=n&-4;e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];N[c+8>>2]=g+N[c+8>>2];N[c+16>>2]=g+N[c+16>>2];N[c+24>>2]=g+N[c+24>>2];N[c+12>>2]=f+N[c+12>>2];N[c+20>>2]=f+N[c+20>>2];N[c+28>>2]=f+N[c+28>>2];c=c+32|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}h=n&3;if(!h){break p}e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+188>>2];h=N[d+192>>2];c=N[i+12>>2]-l|0;N[i+12>>2]=c;if(f){break o}n=l<<1;N[i+12>>2]=n+c;q:{if(!j){break q}l=M[j+2>>1];if((l|0)<=0){break q}f=N[d+196>>2]-g|0;g=h-N[d+200>>2]|0;c=N[j+4>>2];if(l>>>0>=4){h=l&-4;e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];N[c+8>>2]=g+N[c+8>>2];N[c+16>>2]=g+N[c+16>>2];N[c+24>>2]=g+N[c+24>>2];N[c+12>>2]=f+N[c+12>>2];N[c+20>>2]=f+N[c+20>>2];N[c+28>>2]=f+N[c+28>>2];c=c+32|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}h=l&3;if(!h){break q}e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+196>>2];h=N[d+200>>2];N[i+12>>2]=N[i+12>>2]-n}r:{if(!j){break r}a=M[j+2>>1];if((a|0)<=0){break r}c=N[j+4>>2];if(a>>>0>=4){d=a&-4;e=0;while(1){N[c>>2]=N[c>>2]+h;N[c+4>>2]=N[c+4>>2]-g;N[c+8>>2]=N[c+8>>2]+h;N[c+16>>2]=N[c+16>>2]+h;N[c+24>>2]=N[c+24>>2]+h;N[c+12>>2]=N[c+12>>2]-g;N[c+20>>2]=N[c+20>>2]-g;N[c+28>>2]=N[c+28>>2]-g;c=c+32|0;e=e+4|0;if((d|0)!=(e|0)){continue}break}}a=a&3;if(!a){break r}e=0;while(1){N[c>>2]=N[c>>2]+h;N[c+4>>2]=N[c+4>>2]-g;c=c+8|0;e=e+1|0;if((a|0)!=(e|0)){continue}break}}N[i+8>>2]=N[i+8>>2]/3;N[i>>2]=T(N[i>>2],3);La=k+48|0}if(f){break b}}N[b+72>>2]=1651078259;break a}N[b+88>>2]=0}a=N[b+156>>2];c=N[a+4>>2];if(!(c&1)){break a}d=N[b+88>>2];if(d){Qa[N[q+8>>2]](q,d);a=N[b+156>>2];c=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=c&-2}s:{if(!(m|o)){break s}c=M[b+110>>1];if((c|0)<=0){break s}b=N[b+112>>2];if(c>>>0>=4){d=c&-4;a=0;while(1){N[b>>2]=N[b>>2]-m;N[b+4>>2]=N[b+4>>2]-o;N[b+8>>2]=N[b+8>>2]-m;N[b+16>>2]=N[b+16>>2]-m;N[b+24>>2]=N[b+24>>2]-m;N[b+12>>2]=N[b+12>>2]-o;N[b+20>>2]=N[b+20>>2]-o;N[b+28>>2]=N[b+28>>2]-o;b=b+32|0;a=a+4|0;if((d|0)!=(a|0)){continue}break}}c=c&3;if(!c){break s}a=0;while(1){N[b>>2]=N[b>>2]-m;N[b+4>>2]=N[b+4>>2]-o;b=b+8|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}La=p+48|0;return f|0}function rn(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0;k=La-336|0;La=k;n=h;p=i&65535;o=d;m=e&65535;u=(e^i)&-2147483648;s=i>>>16&32767;q=e>>>16&32767;a:{b:{if(s-32767>>>0>4294934529&q-32767>>>0>=4294934530){break b}j=e&2147483647;if(!(!d&(j|0)==2147418112?!(b|c):j>>>0<2147418112)){r=d;u=e|32768;break a}e=i&2147483647;if(!(!h&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){r=h;u=i|32768;b=f;c=g;break a}if(!(b|d|(j^2147418112|c))){if(!(f|h|(e^2147418112|g))){b=0;c=0;u=2147450880;break a}u=u|2147418112;b=0;c=0;break a}if(!(f|h|(e^2147418112|g))){b=0;c=0;break a}if(!(b|d|(c|j))){b=!(f|h|(e|g));r=b?0:r;u=b?2147450880:u;b=0;c=0;break a}if(!(f|h|(e|g))){u=u|2147418112;b=0;c=0;break a}if((j|0)==65535|j>>>0<65535){d=!(m|o);i=d;j=d?b:o;d=d<<6;i=W(i?c:m);d=d+((i|0)==32?W(j)+32|0:i)|0;hc(k+320|0,b,c,o,m,d-15|0);v=16-d|0;o=N[k+328>>2];m=N[k+332>>2];c=N[k+324>>2];b=N[k+320>>2]}if(e>>>0>65535){break b}d=!(n|p);h=d;i=d?f:n;d=d<<6;h=W(h?g:p);d=d+((h|0)==32?W(i)+32|0:h)|0;hc(k+304|0,f,g,n,p,d-15|0);v=(d+v|0)-16|0;n=N[k+312>>2];p=N[k+316>>2];f=N[k+304>>2];g=N[k+308>>2]}e=p|65536;A=e;B=n;d=n;j=e<<15|d>>>17;e=d<<15|g>>>17;d=e;i=0-d|0;h=j;j=1963258675-(j+((d|0)!=0)|0)|0;hb(k+288|0,d,h,0,0,i,j,0,0);d=N[k+296>>2];hb(k+272|0,0-d|0,0-(N[k+300>>2]+((d|0)!=0)|0)|0,0,0,i,j,0,0);d=N[k+280>>2];i=d<<1|N[k+276>>2]>>>31;d=N[k+284>>2]<<1|d>>>31;hb(k+256|0,i,d,0,0,e,h,0,0);j=N[k+264>>2];hb(k+240|0,i,d,0,0,0-j|0,0-(N[k+268>>2]+((j|0)!=0)|0)|0,0,0);i=N[k+248>>2];j=i<<1|N[k+244>>2]>>>31;d=N[k+252>>2]<<1|i>>>31;hb(k+224|0,j,d,0,0,e,h,0,0);i=N[k+232>>2];hb(k+208|0,j,d,0,0,0-i|0,0-(N[k+236>>2]+((i|0)!=0)|0)|0,0,0);d=N[k+216>>2];i=d<<1|N[k+212>>2]>>>31;d=N[k+220>>2]<<1|d>>>31;hb(k+192|0,i,d,0,0,e,h,0,0);j=N[k+200>>2];hb(k+176|0,i,d,0,0,0-j|0,0-(N[k+204>>2]+((j|0)!=0)|0)|0,0,0);i=e;e=N[k+184>>2];d=h;n=e<<1|N[k+180>>2]>>>31;h=n-1|0;e=(N[k+188>>2]<<1|e>>>31)-!n|0;hb(k+160|0,i,d,0,0,h,e,0,0);d=h;hb(k+144|0,f<<15,g<<15|f>>>17,0,0,d,e,0,0);t=k+112|0;y=N[k+168>>2];h=N[k+172>>2];n=N[k+160>>2];i=N[k+152>>2];l=n+i|0;p=N[k+164>>2];j=p+N[k+156>>2]|0;j=i>>>0>l>>>0?j+1|0:j;i=j;j=(p|0)==(j|0)&l>>>0>>0|j>>>0

>>0;p=j+y|0;j=j>>>0>p>>>0?h+1|0:h;n=!i&l>>>0>1|(i|0)!=0;h=n+p|0;j=n>>>0>h>>>0?j+1|0:j;hb(t,d,e,0,0,0-h|0,0-(((h|0)!=0)+j|0)|0,0,0);hb(k+128|0,1-l|0,0-((l>>>0>1)+i|0)|0,0,0,d,e,0,0);H=(q-s|0)+v|0;e=N[k+116>>2];t=e;d=N[k+112>>2];j=e<<1|d>>>31;n=d<<1;q=j;d=j;h=N[k+140>>2];z=h;e=N[k+136>>2];j=h<<1|e>>>31;i=e<<1|N[k+132>>2]>>>31;h=i+n|0;d=d+j|0;d=h>>>0>>0?d+1|0:d;e=d;d=d-(h>>>0<13927)|0;x=d;y=d;l=0;j=m|65536;I=j;J=o;d=o;j=j<<1|d>>>31;L=d<<1;M=j;D=j;d=UE(x,l,j,0);j=Pa;E=d;w=j;v=b<<1;d=c<<1|b>>>31;s=d;j=0;p=j;i=h-13927|0;x=(e|0)==(x|0)&i>>>0>>0|e>>>0>x>>>0;e=(e|0)==(q|0)&h>>>0>>0|e>>>0>>0;d=N[k+120>>2];h=N[k+124>>2]<<1|d>>>31;d=d<<1|t>>>31;j=h;l=z>>>31|0;d=l+d|0;j=d>>>0>>0?j+1|0:j;h=d;d=d+e|0;l=h>>>0>d>>>0?j+1|0:j;e=d;d=d+x|0;l=e>>>0>d>>>0?l+1|0:l;e=d-1|0;x=l-!d|0;q=0;j=UE(s,p,x,q);d=j+E|0;h=Pa+w|0;h=d>>>0>>0?h+1|0:h;t=(w|0)==(h|0)&d>>>0>>0|h>>>0>>0;j=0;z=e;K=c>>>31|0;C=K|o<<1;w=0;e=UE(e,j,C,w);o=e+d|0;j=Pa+h|0;l=0;j=e>>>0>o>>>0?j+1|0:j;n=j;d=(j|0)==(h|0)&d>>>0>o>>>0|h>>>0>j>>>0;e=d;d=d+t|0;l=e>>>0>d>>>0?1:l;e=UE(D,p,x,q);d=e+d|0;j=Pa+l|0;t=d;d=d>>>0>>0?j+1|0:j;e=UE(D,p,z,w);m=Pa;h=e;e=UE(C,w,x,q);l=h+e|0;j=Pa+m|0;j=e>>>0>l>>>0?j+1|0:j;e=j;j=(m|0)==(j|0)&h>>>0>l>>>0|j>>>0>>0;m=t+e|0;d=d+j|0;d=m>>>0>>0?d+1|0:d;t=m;m=d;e=0;d=e+o|0;j=l+n|0;j=d>>>0>>0?j+1|0:j;e=j;h=(j|0)==(n|0)&d>>>0>>0|j>>>0>>0;j=m;l=h;h=h+t|0;j=l>>>0>h>>>0?j+1|0:j;F=h;l=j;t=d;m=d;o=e;E=i;d=UE(i,0,C,w);h=Pa;e=d;i=UE(y,r,s,r);d=d+i|0;j=Pa+h|0;j=d>>>0>>0?j+1|0:j;i=(h|0)==(j|0)&d>>>0>>0|h>>>0>j>>>0;h=j;G=v&-2;e=UE(z,w,G,0);n=e+d|0;j=Pa+j|0;j=e>>>0>n>>>0?j+1|0:j;e=j;d=(j|0)==(h|0)&d>>>0>n>>>0|h>>>0>j>>>0;h=0;i=d+i|0;d=(i>>>0>>0?1:h)+o|0;j=l;m=i+m|0;d=m>>>0>>0?d+1|0:d;i=d;d=(d|0)==(o|0)&m>>>0>>0|d>>>0>>0;h=d;d=d+F|0;j=h>>>0>d>>>0?j+1|0:j;O=d;t=j;d=UE(D,p,E,r);F=Pa;D=d;h=UE(x,q,G,r);d=d+h|0;j=Pa+F|0;o=d;p=UE(y,r,C,w);l=d+p|0;h=d>>>0>>0?j+1|0:j;d=h+Pa|0;d=l>>>0

>>0?d+1|0:d;q=l;j=UE(s,r,z,w);p=l+j|0;l=Pa+d|0;l=j>>>0>p>>>0?l+1|0:l;z=0;C=(d|0)==(l|0)&p>>>0>>0|d>>>0>l>>>0;j=(h|0)==(F|0)&o>>>0>>0|h>>>0>>0;d=(d|0)==(h|0)&o>>>0>q>>>0|d>>>0>>0;d=d+j|0;d=d+C|0;h=l;q=h+m|0;j=(d|z)+i|0;j=h>>>0>q>>>0?j+1|0:j;o=j;d=(i|0)==(j|0)&m>>>0>q>>>0|i>>>0>j>>>0;j=t;h=d;d=d+O|0;j=h>>>0>d>>>0?j+1|0:j;z=d;i=j;d=UE(y,r,G,r);y=Pa;m=d;h=UE(s,r,E,r);d=d+h|0;j=Pa+y|0;j=d>>>0>>0?j+1|0:j;t=0;h=(j|0)==(y|0)&d>>>0>>0|j>>>0>>0;m=j;d=j+n|0;j=(h|t)+e|0;j=d>>>0>>0?j+1|0:j;h=j;m=(e|0)==(j|0)&d>>>0>>0|e>>>0>j>>>0;j=p;p=0;n=p+d|0;l=h+j|0;j=0;l=n>>>0

>>0?l+1|0:l;d=(h|0)==(l|0)&d>>>0>n>>>0|h>>>0>l>>>0;e=d;d=d+m|0;j=(e>>>0>d>>>0?1:j)+o|0;l=i;e=d;d=d+q|0;j=e>>>0>d>>>0?j+1|0:j;e=j;h=(o|0)==(j|0)&d>>>0>>0|j>>>0>>0;i=h;h=h+z|0;l=i>>>0>h>>>0?l+1|0:l;i=l;c:{if((l|0)==131071|l>>>0<131071){J=L|K;I=w|M;hb(k+80|0,d,e,h,i,f,g,B,A);l=N[k+84>>2];p=l;j=b<<17;n=0;m=N[k+88>>2];c=n-m|0;b=N[k+80>>2];l=(l|b)!=0;o=c-l|0;m=(j-(N[k+92>>2]+(m>>>0>n>>>0)|0)|0)-(c>>>0>>0)|0;n=0-b|0;p=0-(((b|0)!=0)+p|0)|0;b=H+16382|0;break c}d=(e&1)<<31|d>>>1;e=h<<31|e>>>1;h=(i&1)<<31|h>>>1;i=i>>>1|0;hb(k+96|0,d,e,h,i,f,g,B,A);o=N[k+100>>2];s=o;v=N[k+104>>2];n=0-v|0;l=N[k+96>>2];m=(o|l)!=0;o=n-m|0;m=((b<<16)-(N[k+108>>2]+(p>>>0>>0)|0)|0)-(m>>>0>n>>>0)|0;n=0-l|0;p=0-(((l|0)!=0)+s|0)|0;v=b;s=c;b=H+16383|0}if((b|0)>=32767){u=u|2147418112;b=0;c=0;break a}d:{if((b|0)>0){l=m<<1|o>>>31;o=o<<1|p>>>31;m=l;v=h;s=i&65535|b<<16;l=p<<1|n>>>31;i=n<<1;break d}if((b|0)<=-113){b=0;c=0;break a}Qd(k- -64|0,d,e,h,i,1-b|0);hc(k+48|0,v,s,J,I,b+112|0);d=N[k+64>>2];e=N[k+68>>2];v=N[k+72>>2];s=N[k+76>>2];hb(k+32|0,f,g,B,A,d,e,v,s);b=N[k+40>>2];c=N[k+56>>2];l=N[k+36>>2];o=b<<1|l>>>31;n=c-o|0;m=N[k+60>>2]-((N[k+44>>2]<<1|b>>>31)+(c>>>0>>0)|0)|0;b=N[k+32>>2];h=l<<1|b>>>31;j=b<<1;i=N[k+52>>2];c=N[k+48>>2];b=(h|0)==(i|0)&j>>>0>c>>>0|h>>>0>i>>>0;o=n-b|0;m=m-(b>>>0>n>>>0)|0;l=i-((c>>>0>>0)+h|0)|0;i=c-j|0}b=i;hb(k+16|0,f,g,B,A,3,0,0,0);hb(k,f,g,B,A,5,0,0,0);c=0;h=l+c|0;j=d&1;b=b+j|0;h=i>>>0>b>>>0?h+1|0:h;i=b;g=(g|0)==(h|0)&b>>>0>f>>>0|g>>>0>>0;l=m;b=(c|0)==(h|0)&b>>>0>>0|c>>>0>h>>>0;f=b+o|0;l=b>>>0>f>>>0?l+1|0:l;j=e;b=(l|0)==(A|0);b=b&(f|0)==(B|0)?g:b&f>>>0>B>>>0|l>>>0>A>>>0;c=b;b=b+d|0;j=c>>>0>b>>>0?j+1|0:j;c=j;d=(e|0)==(j|0)&b>>>0>>0|e>>>0>j>>>0;j=s;e=d;d=d+v|0;j=e>>>0>d>>>0?j+1|0:j;g=d;e=N[k+20>>2];m=(e|0)==(h|0)&Q[k+16>>2]>>0|e>>>0>>0;e=N[k+28>>2];d=N[k+24>>2];e=j>>>0<2147418112&((d|0)==(f|0)&(e|0)==(l|0)?m:(e|0)==(l|0)&d>>>0>>0|e>>>0>>0);d=c;m=e;e=b+e|0;d=m>>>0>e>>>0?d+1|0:d;b=(c|0)==(d|0)&b>>>0>e>>>0|c>>>0>d>>>0;c=b;b=b+g|0;j=c>>>0>b>>>0?j+1|0:j;g=b;c=N[k+4>>2];h=(c|0)==(h|0)&Q[k>>2]>>0|c>>>0>>0;c=N[k+12>>2];b=N[k+8>>2];b=j>>>0<2147418112&((b|0)==(f|0)&(c|0)==(l|0)?h:(c|0)==(l|0)&b>>>0>>0|c>>>0>>0);c=b;b=b+e|0;l=c>>>0>b>>>0?d+1|0:d;c=l;e=(d|0)==(l|0)&b>>>0>>0|d>>>0>l>>>0;d=j;f=e;e=e+g|0;d=f>>>0>e>>>0?d+1|0:d;r=e|r;u=d|u}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=r;N[a+12>>2]=u;La=k+336|0}function Qu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;h=La-144|0;La=h;j=N[b+100>>2];f=N[b+104>>2];N[b+132>>2]=0;d=c>>31;l=(d^c)-d&65535;e=N[f+20>>2];a:{b:{if(e){d=85;if(Qa[e|0](f,0,0,0)|0){break b}}N[f+8>>2]=0;d=rb(f,37696,h+140|0);if(d){break b}e=2;c:{d:{e:{f:{if(P[h+140>>1]!=23117){break f}g=P[h+142>>1];e=N[f+20>>2];g:{if(e){d=85;if(!(Qa[e|0](f,g,0,0)|0)){break g}break b}d=85;if(g>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=g;d=rb(f,37728,h+134|0);if(d){break b}e=2;h:{i:{switch(P[h+134>>1]-17742|0){case 0:d=g;g=P[h+136>>1];d=d+g|0;i=N[f+20>>2];j:{if(i){e=85;if(!(Qa[i|0](f,d,0,0)|0)){break j}break c}e=85;if(d>>>0>Q[f+4>>2]){break c}}N[f+8>>2]=d;e=Bb(f,P[h+138>>1]-g|0);if(e){break c}k:{e=N[f+36>>2];d=N[f+32>>2];if(e>>>0>d+1>>>0){m=O[d|0]|O[d+1|0]<<8;d=d+2|0;N[f+32>>2]=d;if(m>>>0>16){break k}}while(1){l:{m:{n:{o:{if(e>>>0<=d+1>>>0){N[f+32>>2]=d;break o}k=O[d|0]|O[d+1|0]<<8;g=d+2|0;N[f+32>>2]=g;if(k){break n}}i=0;d=0;break m}i=0;if(e>>>0>d+3>>>0){i=O[d+2|0]|O[d+3|0]<<8;g=d+4|0}N[f+32>>2]=g;if((k|0)!=32776){break l}d=((N[f+8>>2]+g|0)-e|0)+4|0}if(N[f+20>>2]){e=N[f>>2];if(e){g=N[f+28>>2];Qa[N[g+8>>2]](g,e)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;e=3;if(!(i&65535)|!d){break c}g=i&65535;if(Q[f+4>>2]>>0){break c}N[b>>2]=g;e=0;if((c|0)<0){break c}e=6;if(g>>>0<=l>>>0){break c}e=Qa[N[j+4>>2]](j,172)|0;if(e){C(e,0,172);N[b+132>>2]=e;d=d+T(l,12)|0;g=N[f+20>>2];p:{if(g){e=85;if(!(Qa[g|0](f,d,0,0)|0)){break p}break f}e=85;if(d>>>0>Q[f+4>>2]){break f}}N[f+8>>2]=d;e=Bb(f,12);if(e){break f}e=0;k=N[f+36>>2];d=N[f+32>>2];q:{if(k>>>0<=d+1>>>0){i=0;break q}i=O[d|0]|O[d+1|0]<<8;d=d+2|0}N[f+32>>2]=d;g=N[b+132>>2];N[g>>2]=i<>>0>>0){e=O[d|0]|O[d+1|0]<<8;d=d+2|0}N[g+164>>2]=e<>2]=d+8;if(N[f+20>>2]){d=N[f>>2];if(d){e=N[f+28>>2];Qa[N[e+8>>2]](e,d);g=N[b+132>>2]}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;e=Ch(g,f);break h}N[b+132>>2]=0;e=64;break c}d=(T(i&65535,12)+g|0)+4|0;N[f+32>>2]=d;continue}}if(N[f+20>>2]){d=N[f>>2];if(d){e=N[f+28>>2];Qa[N[e+8>>2]](e,d)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;d=3;break b;case 2:break i;default:break h}}e=N[f+20>>2];r:{if(e){d=85;if(!(Qa[e|0](f,g,0,0)|0)){break r}break b}d=85;if(g>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=g;d=rb(f,37760,h+112|0);if(d){break b}if(N[h+112>>2]!=17744){d=3;break b}if(P[h+116>>1]!=332){d=3;break b}if(P[h+120>>1]!=224){d=3;break b}if(P[h+122>>1]!=267){d=3;break b}g=0;N[b>>2]=0;e=P[h+118>>1];if(!e){d=3;break b}i=N[h+124>>2];s:{while(1){d=rb(f,37824,h+92|0);if(d){break b}if((i|0)==N[h+100>>2]){break s}g=g+1|0;if(e>>>0>(g&65535)>>>0){continue}break}d=3;break b}g=N[h+108>>2];e=N[f+20>>2];t:{if(e){d=85;if(!(Qa[e|0](f,g,0,0)|0)){break t}break b}d=85;if(g>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=g;d=rb(f,37856,h+76|0);if(d){break b}e=P[h+90>>1];d=P[h+88>>1];if((e|0)!=(0-d|0)){n=d+e|0;o=g+16|0;d=0;while(1){d=(d<<3)+o|0;u:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break u}d=85;break b}if(d>>>0<=Q[f+4>>2]){break u}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+36|0);if(d){break b}d=N[h+40>>2];if((d|0)>=0){d=3;break b}d=d&2147483647;N[h+40>>2]=d;e=d+g|0;v:{d=N[f+20>>2];if(d){if(!(Qa[d|0](f,e,0,0)|0)){break v}d=85;break b}if(e>>>0<=Q[f+4>>2]){break v}d=85;break b}N[f+8>>2]=e;d=rb(f,37856,h+60|0);if(d){break b}i=P[h+74>>1];d=P[h+72>>1];if((i|0)!=(0-d|0)){p=d+i|0;q=e+16|0;d=0;r=N[h+108>>2];k=0;while(1){d=(d<<3)+q|0;w:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break w}d=85;break b}if(d>>>0<=Q[f+4>>2]){break w}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+28|0);if(d){break b}d=N[h+32>>2];if((d|0)>=0){d=3;break b}d=d&2147483647;N[h+32>>2]=d;e=d+r|0;x:{d=N[f+20>>2];if(d){if(!(Qa[d|0](f,e,0,0)|0)){break x}d=85;break b}if(e>>>0<=Q[f+4>>2]){break x}d=85;break b}N[f+8>>2]=e;d=rb(f,37856,h+44|0);if(d){break b}i=P[h+58>>1];d=P[h+56>>1];if((i|0)!=(0-d|0)){s=d+i|0;t=e+16|0;d=0;u=N[h+100>>2];v=N[h+108>>2];w=N[h+36>>2];i=0;while(1){d=(d<<3)+t|0;y:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break y}d=85;break b}if(d>>>0<=Q[f+4>>2]){break y}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+20|0);if(d){break b}if((w|0)==8){d=g+N[h+24>>2]|0;z:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break z}d=85;break b}if(d>>>0<=Q[f+4>>2]){break z}d=85;break b}N[f+8>>2]=d;d=rb(f,37904,h+4|0);if(d){break b}d=N[b>>2];if((d|0)==(l|0)){d=Qa[N[j+4>>2]](j,172)|0;if(!d){break e}C(d,0,172);N[b+132>>2]=d;N[d>>2]=(N[h+4>>2]+v|0)-u;N[d+164>>2]=N[h+8>>2];e=Ch(d,f);if(e){break f}d=N[b>>2]}N[b>>2]=d+1}i=i+1|0;d=i&65535;if(s>>>0>d>>>0){continue}break}}k=k+1|0;d=k&65535;if(p>>>0>d>>>0){continue}break}}m=m+1|0;d=m&65535;if(n>>>0>d>>>0){continue}break}}e=0}g=N[b>>2];if(!g){d=3;break b}d=6;if((g|0)<=(l|0)){break b}if(!e){break c}}d=N[b+132>>2];if(d){break d}d=e;break b}N[b+132>>2]=0;d=64;break b}g=N[b+100>>2];i=N[d+160>>2];if(i){f=N[b+104>>2];if(!(!f|!N[f+20>>2])){f=N[f+28>>2];Qa[N[f+8>>2]](f,i)}N[d+160>>2]=0}f=N[d+168>>2];if(f){Qa[N[g+8>>2]](g,f)}N[d+168>>2]=0;Qa[N[g+8>>2]](g,d);N[b+132>>2]=0;d=e;break b}if((c|0)>=0){d=e;break b}g=0;d=e;if(!d){break a}}A:{B:{C:{D:{E:{F:{G:{if((d|0)==2){d=Qa[N[j+4>>2]](j,172)|0;if(!d){break E}g=0;C(d,0,172);N[b>>2]=1;N[b+132>>2]=d;N[d>>2]=0;N[d+164>>2]=N[a+4>>2];d=Ch(d,a);if(!(d|(c|0)<0)){d=6;if(!l){break G}break C}if(d){break C}break a}if(d){break F}}a=N[b+132>>2];if(!P[a+96>>1]){c=N[b+100>>2];g=3;d=N[b+104>>2];break B}N[b+4>>2]=l;c=N[b+8>>2];N[b+8>>2]=c|18;if(P[a+100>>1]==P[a+102>>1]){N[b+8>>2]=c|22}if(O[a+86|0]){N[b+12>>2]=N[b+12>>2]|1}if(P[a+90>>1]>=800){N[b+12>>2]=N[b+12>>2]|2}c=Qa[N[j+4>>2]](j,16)|0;d=!c<<6;N[h+92>>2]=d;N[b+32>>2]=c;if(!c){break C}N[b+28>>2]=1;M[c+2>>1]=P[a+100>>1];g=P[a+96>>1];M[c>>1]=g+P[a+84>>1];d=P[a+74>>1]<<6;N[c+4>>2]=d;e=P[a+78>>1];f=P[a+76>>1];f=f?f:72;i=jb(d,f,72)+32&-64;N[c+12>>2]=i;g=g<<6;if((g|0)<(i|0)){N[c+12>>2]=g;d=jb(g,72,f);N[c+4>>2]=d}x=c,y=jb(d,e?e:72,72)+32&-64,N[x+8>>2]=y;N[h+112>>2]=b;N[h+116>>2]=0;N[h+120>>2]=0;if(O[a+92|0]==77){M[h+120>>1]=1;N[h+116>>2]=1634889070}d=Bc(37644,0,h+112|0,0);if(d){break C}d=3;c=O[a+105|0];e=O[a+104|0];if(c>>>0>>0){break C}N[b+16>>2]=(c-e|0)+2;c=N[a+116>>2];e=N[a+8>>2];if(c>>>0>=e>>>0){break C}e=e-c|0;g=e+1|0;H:{I:{if(e>>>0<=2147483646){d=Qa[N[j+4>>2]](j,g)|0;if(d){break I}d=64;break D}d=6;if(g){break D}d=0;break H}c=N[a+116>>2]}N[h+92>>2]=0;N[a+168>>2]=d;F(d,N[a+160>>2]+c|0,e);L[e+N[a+168>>2]|0]=0;c=a;a=N[a+168>>2];a=lb(j,1,e,nb(a)+1|0,a,h+92|0);N[c+168>>2]=a;d=N[h+92>>2];if(d){break C}N[b+24>>2]=12199;N[b+20>>2]=a;c=N[b+12>>2];a=c&1;if(c&2){if(a){N[b+24>>2]=17749;g=0;break a}N[b+24>>2]=16733;g=0;break a}g=0;if(!a){break a}N[b+24>>2]=17754;break a}g=d;if(!b){break a}break C}N[b+132>>2]=0;g=64;break a}N[a+168>>2]=0}c=N[b+100>>2];a=N[b+132>>2];if(!a){g=d;break A}g=d;d=N[b+104>>2]}e=N[a+160>>2];if(e){if(!(!d|!N[d+20>>2])){d=N[d+28>>2];Qa[N[d+8>>2]](d,e)}N[a+160>>2]=0}d=N[a+168>>2];if(d){Qa[N[c+8>>2]](c,d)}N[a+168>>2]=0;Qa[N[c+8>>2]](c,a);N[b+132>>2]=0}a=N[b+32>>2];if(a){Qa[N[c+8>>2]](c,a)}N[b+28>>2]=0;N[b+32>>2]=0}La=h+144|0;return g|0}function Dr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;k=La-80|0;La=k;e=eb(680);n=N[b>>2];o=N[a>>2];a=O[d|0];N[e+676>>2]=0;N[e+668>>2]=0;N[e+672>>2]=0;N[e+364>>2]=0;N[e+356>>2]=0;N[e+360>>2]=0;N[e+324>>2]=0;N[e+316>>2]=0;N[e+320>>2]=0;N[e+284>>2]=0;N[e+276>>2]=0;N[e+280>>2]=0;N[e+244>>2]=0;N[e+236>>2]=0;N[e+240>>2]=0;N[e+204>>2]=0;N[e+196>>2]=0;N[e+200>>2]=0;N[e+164>>2]=0;N[e+156>>2]=0;N[e+160>>2]=0;N[e+124>>2]=0;N[e+116>>2]=0;N[e+120>>2]=0;N[e+84>>2]=0;N[e+76>>2]=0;N[e+80>>2]=0;N[e+44>>2]=0;N[e+36>>2]=0;N[e+40>>2]=0;N[e+8>>2]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+660>>2]=0;N[e+400>>2]=0;N[e+380>>2]=0;N[e+384>>2]=0;N[e+392>>2]=0;N[e+396>>2]=0;N[e+376>>2]=0;L[e+388|0]=a;L[e+372|0]=0;a:{a=L[c+11|0]<0?N[c>>2]:c;if(nb(a)>>>0<256){t=pd(e+404|0,a);l=db(1,28);if(!l){break a}N[e+380>>2]=l;c=0;N[l+24>>2]=0;N[l+20>>2]=80;N[k+64>>2]=24121344;mb(l,4,19069,k- -64|0);N[k+48>>2]=24067;mb(l,4,11566,k+48|0);a=k+76|0;j=La-432|0;La=j;b:{b=kb(16);if(!b){m=7;break b}N[b+12>>2]=105;N[b+4>>2]=106;N[b>>2]=0;N[b+8>>2]=107;c:{if(!a){_a(b);m=6;break c}d=kb(208);if(!d){_a(b);m=64;break c}C(d+16|0,0,188);N[d+204>>2]=1;N[d+12>>2]=0;N[d+4>>2]=2;N[d+8>>2]=11;N[d>>2]=b;N[a>>2]=d;gc(d,356728);gc(d,356824);gc(d,356920);gc(d,357016);gc(d,357112);gc(d,357208);gc(d,357304);gc(d,357400);gc(d,357496);gc(d,357592);gc(d,357628);gc(d,357664);gc(d,357700);gc(d,357760);gc(d,357820);gc(d,357880);gc(d,357940);gc(d,357976);m=0}p=N[a>>2];g=th(19517);if(!g){break b}q=p+20|0;while(1){d=0;d:{e:{f:{b=g;f=O[b|0];switch(f|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break e;case 0:break b;case 9:break d;default:break f}}if((f|0)==32){break d}}g:{h:{i:{while(1){a=f&255;if(!a|(a|0)==58){break g}L[(j+288|0)+d|0]=f;a=b+1|0;f=d|1;h=O[b+1|0];if(!((h|0)==58|!h)){L[f+(j+288|0)|0]=h;a=b+2|0;f=d|2;h=O[b+2|0];if(!h|(h|0)==58){break h}L[f+(j+288|0)|0]=h;a=b+3|0;f=d|3;h=O[b+3|0];if(!h|(h|0)==58){break i}L[f+(j+288|0)|0]=h;b=b+4|0;d=d+4|0;if((d|0)==128){d=128;break g}f=O[b|0];continue}break}b=a;d=f;break g}b=a;d=f;break g}b=a;d=f}L[(j+288|0)+d|0]=0;if((b|0)==(g|0)|O[b|0]!=58){break b}a=1;d=b+1|0;f=0;j:{while(1){g=O[d|0];if(!g){g=f;break j}if((g|0)==61){g=f;break j}L[(j+144|0)+f|0]=g;g=f|1;h=a+1|0;d=h+b|0;i=O[d|0];if(!i){a=h;break j}if((i|0)==61){a=h;break j}L[(j+144|0)+g|0]=i;g=f|2;h=a+2|0;d=h+b|0;i=O[d|0];if(!i){a=h;break j}if((i|0)==61){a=h;break j}L[(j+144|0)+g|0]=i;g=f|3;h=a+3|0;d=h+b|0;i=O[d|0];if(!i){a=h;break j}if((i|0)==61){a=h;break j}L[(j+144|0)+g|0]=i;a=a+4|0;d=b+a|0;g=128;f=f+4|0;if((f|0)!=128){continue}break}a=129}L[(j+144|0)+g|0]=0;if((a|0)==1|O[d|0]!=61){break b}a=1;g=d+1|0;f=0;k:{while(1){h=a;b=f;l:{m:{i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break l;default:break m}}if((i|0)!=32){break l}break k}L[f+j|0]=i;b=f|1;n:{o:{h=a+1|0;g=h+d|0;i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break n;default:break o}}if((i|0)==32){break k}}L[b+j|0]=i;b=f|2;p:{q:{h=a+2|0;g=h+d|0;i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break p;default:break q}}if((i|0)==32){break k}}L[b+j|0]=i;b=f|3;r:{s:{h=a+3|0;g=h+d|0;i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break r;default:break s}}if((i|0)==32){break k}}L[b+j|0]=i;a=a+4|0;g=d+a|0;b=128;f=f+4|0;if((f|0)!=128){continue}break}h=129}L[b+j|0]=0;t:{u:{a=O[g|0];switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 0:case 9:break t;default:break u}}if((a|0)!=32){break b}}if((h|0)==1){break b}v:{if(!p){break v}a=N[p+16>>2];d=(a<<2)+q|0;b=q;w:{if((a|0)<=0){break w}while(1){if(!cb(N[N[N[b>>2]>>2]+8>>2],j+288|0)){break w}b=b+4|0;if(d>>>0>b>>>0){continue}break}}if((b|0)==(d|0)){break v}d=N[b>>2];a=N[N[d>>2]+32>>2];if(!a){break v}a=Qa[a|0](d,11276)|0;if(!a){break v}a=N[a>>2];if(!a){break v}Qa[a|0](N[b>>2],j+144|0,j,1)|0}if(!O[g|0]){break b}}g=g+1|0;continue}}La=j+432|0;x:{y:{if(m){N[k+32>>2]=15594;mb(l,0,16788,k+32|0);break y}a=N[k+76>>2];z:{if(!a){d=0;a=0;break z}d=N[a+12>>2];c=N[a+4>>2];a=N[a+8>>2]}N[k+24>>2]=d;N[k+20>>2]=a;N[k+16>>2]=c;mb(l,6,17016,k+16|0);c=db(1,1120);if(!c){dq(N[k+76>>2]);c=0;break y}N[c>>2]=l;a=N[k+76>>2];N[c+972>>2]=81;N[c+968>>2]=82;N[c+964>>2]=83;N[c+960>>2]=84;N[c+956>>2]=85;N[c+952>>2]=86;N[c+948>>2]=87;N[c+944>>2]=88;N[c+940>>2]=89;N[c+936>>2]=90;N[c+932>>2]=91;N[c+928>>2]=92;N[c+924>>2]=93;N[c+920>>2]=94;N[c+916>>2]=95;N[c+912>>2]=96;N[c+908>>2]=97;N[c+904>>2]=98;N[c+900>>2]=99;N[c+896>>2]=100;N[c+892>>2]=101;N[c+888>>2]=102;N[c+884>>2]=103;N[c+880>>2]=104;N[c+876>>2]=5;N[c+4>>2]=a;N[c+224>>2]=0;N[c+228>>2]=0;N[c+204>>2]=16;N[c+872>>2]=4;N[c+232>>2]=0;N[c+236>>2]=0;N[c+240>>2]=0;N[c+244>>2]=0;N[c+248>>2]=0;d=kb(1043);if(!d){N[c+252>>2]=0;break y}a=d+4|0;b=a&15;a=(b?16-b|0:0)+a|0;N[a-4>>2]=d;N[c+252>>2]=a;if(!a){break y}b=db(1,36);a=0;A:{if(!b){break A}N[b+16>>2]=440388;N[b>>2]=65535;N[b+12>>2]=b+8;d=db(65535,4);N[b+4>>2]=d;a=b;if(d){break A}_a(b);a=0}d=a;N[c+840>>2]=d;a=db(1,36);B:{if(!a){break B}N[a+16>>2]=440416;N[a>>2]=65535;N[a+12>>2]=a+8;b=db(65535,4);N[a+4>>2]=b;if(b){r=a;break B}_a(a)}N[c+848>>2]=r;b=db(1,36);a=0;C:{if(!b){break C}N[b+16>>2]=440444;N[b>>2]=65535;N[b+12>>2]=b+8;f=db(65535,4);N[b+4>>2]=f;a=b;if(f){break C}_a(b);a=0}N[c+852>>2]=a;b=db(1,36);D:{if(!b){break D}N[b+16>>2]=440472;N[b>>2]=65535;N[b+12>>2]=b+8;f=db(65535,4);N[b+4>>2]=f;if(f){s=b;break D}_a(b)}N[c+844>>2]=s;b=0;f=db(1,36);E:{if(!f){break E}N[f+16>>2]=440500;N[f>>2]=65535;N[f+12>>2]=f+8;g=db(65535,4);N[f+4>>2]=g;if(g){b=f;break E}_a(f)}N[c+856>>2]=b;if(!d|!r|(!a|!s)){break y}if(!b){break y}N[c+868>>2]=67108864;N[c+860>>2]=1e4;N[c+864>>2]=134217728;N[c+836>>2]=16;N[c+828>>2]=1024;N[c+832>>2]=64;N[c+804>>2]=0;h=db(16,88);N[c+800>>2]=h;g=db(1024,360);N[c+776>>2]=g;f=db(1024,4);N[c+780>>2]=f;d=kb(1024);N[c+784>>2]=d;a=db(64,24);N[c+792>>2]=a;if(!h|!f|(!d|!g)){break y}if(!a){break y}N[c+976>>2]=15978;N[c+196>>2]=c+776;N[c+96>>2]=2;N[c+32>>2]=0;N[c+36>>2]=1072693248;N[c+192>>2]=c;a=db(60,1);if(a){N[a+32>>2]=64;d=db(16,5);N[a+40>>2]=d;if(d){break x}_a(a)}N[c+200>>2]=0}mb(l,1,16798,0);Zo(c);N[e+384>>2]=0;vd(25307,34,1,588952);ha(3);B()}N[a+36>>2]=5;N[d+76>>2]=-1;N[d+60>>2]=-1;N[d+64>>2]=1668049255;N[d+44>>2]=-1;N[d+48>>2]=1818847073;N[d+28>>2]=-1;N[d+32>>2]=1801810542;N[d+12>>2]=-1;N[d+16>>2]=1986752097;N[d>>2]=1986359924;N[a+48>>2]=b;N[c+200>>2]=a;N[k>>2]=21962;mb(l,4,23768,k);N[c+92>>2]=1;mb(l,6,16768,0);N[e+384>>2]=c;N[N[e+380>>2]+4>>2]=1;a=(n|o)>=0;b=a?n:0;a=a?o:0;c=N[e+384>>2];if(!((a|0)==N[c+16>>2]&(b|0)==N[c+20>>2])){N[c+16>>2]=a;N[c+20>>2]=b;xg(c);c=N[e+384>>2]}N[e+392>>2]=o;N[e+396>>2]=n;Uo(c,t);_a(N[e>>2]);N[e+8>>2]=0;N[e>>2]=0;N[e+4>>2]=0;La=k+80|0;return e|0}rj(24937);ha(4);B()}N[e+380>>2]=0;vd(25273,33,1,588952);ha(2);B()}function WD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=U(0),o=0,p=0;f=La-144|0;La=f;i=N[a+96>>2];j=N[i+40>>2];g=N[b>>2];k=N[a+100>>2];b=N[i+12>>2];if(b){b=N[b+20>>2]}else{b=0}o=d,p=(Qa[j|0](a,k,c,b)|0)/2|0,N[o>>2]=p;d=N[g+52>>2];a:{if(d){break a}while(1){b=N[g>>2];if(!b){d=275552;break a}d=N[b+12>>2];b:{if(d){d=Qa[d|0](b,1448038983,N[b+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{if(!d){break f}b=N[d>>2];if(!b){break f}if((b|0)<=0){break e}N[d>>2]=b+1}L[f+104|0]=0;N[f+112>>2]=d;i=N[d+12>>2];N[f+84>>2]=i;j=N[d+16>>2];N[f+88>>2]=j+i;if((j|0)<0){break d}N[f+108>>2]=0;if(j>>>0>67108863){b=1073741823}else{b=j<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[f+92>>2]=b;N[f+100>>2]=0;N[f+80>>2]=0;if(!i){ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;b=d;break c}g:{h:{if(j>>>0<8){break h}N[f+92>>2]=b-8;if((j&-2)==6|(O[i|0]|O[i+1|0]<<8)!=256){break h}h=b-10|0;N[f+92>>2]=h;b=O[i+6|0]|O[i+7|0]<<8;if(!b){break g}b=((b<<8|b>>>8)&65535)<<2;if(b>>>0>j-8>>>0){break h}b=h-b|0;N[f+92>>2]=b;if((b|0)>0){break g}}ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;ab(d);b=275552;break c}ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;if(N[d+4>>2]){N[d+4>>2]=0}b=d;break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}d=N[g+52>>2];i:{if(b){if(d){break i}d=b;N[g+52>>2]=b;break a}if(d){break a}d=275552;N[g+52>>2]=275552;break a}if((b|0)==275552){break a}ab(b);d=N[g+52>>2];if(!d){continue}break}}j=Q[d+16>>2]<8?275552:N[d+12>>2];j:{if(O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24)){d=N[g+48>>2];k:{if(d){break k}while(1){b=N[g>>2];if(!b){d=275552;break k}d=db(1,28);if(!d){d=275552;N[g+48>>2]=275552;break k}d=Lg(d,b);if(!N[g+48>>2]){N[g+48>>2]=d;break k}ab(N[d+20>>2]);N[d+20>>2]=0;ab(N[d+24>>2]);_a(d);d=N[g+48>>2];if(!d){continue}break}}g=N[a+84>>2];l:{if(!g){break l}b=N[d+24>>2];b=b?b:275552;b=Q[b+16>>2]<24?275552:N[b+12>>2];d=O[b+20|0]|O[b+21|0]<<8|(O[b+22|0]<<16|O[b+23|0]<<24);if(!d){break l}i=N[a+88>>2];h=nd(b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,c);k=h>>>16|0;d=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(d){b=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{b=275552}d=O[b+6|0]|O[b+7|0]<<8;if(k>>>0>=((d<<8|d>>>8)&65535)>>>0){break l}d=b+(k<<2)|0;d=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(d){d=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{d=275552}k=h&65535;h=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(h){b=b+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0}else{b=275552}l=Fc(d,k,i,g,b,0)}n=R[a+48>>2];m:{n:{a=O[j+6|0]|O[j+7|0]<<8;if(a){g=j+8|0;i=j+6|0;h=(a<<8|a>>>8)&65535;b=h-1|0;d=0;while(1){a=b+d>>>1|0;k=g+(a<<2)|0;k=O[k|0]|O[k+1|0]<<8;k=(k<<8|k>>>8)&65535;o:{if(k>>>0>c>>>0){b=a-1|0;break o}if((c|0)==(k|0)){break n}d=a+1|0}if((b|0)>=(d|0)){continue}break}}a=j+4|0;break m}a=(a>>>0>=h>>>0?275552:(i+(a<<2)|0)+2|0)+2|0}a=O[a|0]|O[a+1|0]<<8;l=U(Z(U(U(n*U(l+U((a<<8|a>>>8)<<16>>16)))+U(.5))));if(U(V(l))>2]=~~l;break j}N[e>>2]=-2147483648;break j}N[f+40>>2]=0;N[f+44>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;d=N[g+60>>2];p:{if(d){break p}while(1){b=N[g>>2];if(!b){d=275552;break p}d=db(1,28);if(!d){d=275552;N[g+60>>2]=275552;break p}d=Le(d,b);if(!N[g+60>>2]){N[g+60>>2]=d;break p}ab(N[d+24>>2]);_a(d);d=N[g+60>>2];if(!d){continue}break}}if(eq(d,a,c,f+32|0)){d=N[g+48>>2];q:{if(d){break q}while(1){b=N[g>>2];if(!b){d=275552;break q}d=db(1,28);if(!d){d=275552;N[g+48>>2]=275552;break q}d=Lg(d,b);if(!N[g+48>>2]){N[g+48>>2]=d;break q}ab(N[d+20>>2]);N[d+20>>2]=0;ab(N[d+24>>2]);_a(d);d=N[g+48>>2];if(!d){continue}break}}r:{i=N[a+84>>2];s:{if(!i){b=N[d>>2];t:{if(c>>>0>>0){if((c|0)<0){b=275552}else{b=N[d+20>>2];b=N[(b?b:275552)+12>>2]+(c<<2)|0}b=b+2|0;break t}if(Q[d+4>>2]<=c>>>0){break r}u:{if((b|0)<0){g=275552;break u}g=N[d+20>>2];g=N[(g?g:275552)+12>>2]+(b<<2)|0;b=N[d>>2]}b=(c-b<<1)+g|0}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;break s}b=275552;v:{w:{g=N[d+24>>2];g=g?g:275552;g=Q[g+16>>2]<24?275552:N[g+12>>2];h=O[g+12|0]|O[g+13|0]<<8|(O[g+14|0]<<16|O[g+15|0]<<24);if(!h){break w}j=N[a+88>>2];k=nd(g+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0,c);h=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);if(h){b=g+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0}g=O[b+6|0]|O[b+7|0]<<8;h=(g<<8|g>>>8)&65535;g=k>>>16|0;if(h>>>0<=g>>>0){l=U(.5)}else{g=(g<<2)+b|0;g=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);if(g){g=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+b|0}else{g=275552}k=k&65535;h=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(h){b=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+b|0}else{b=275552}l=U(Fc(g,k,j,i,b,0)+U(.5))}l=U(Z(l));b=N[d>>2];x:{if(c>>>0>>0){if((c|0)<0){b=275552}else{b=N[d+20>>2];b=N[(b?b:275552)+12>>2]+(c<<2)|0}b=b+2|0;break x}if(Q[d+4>>2]<=c>>>0){break w}y:{if((b|0)<0){g=275552;break y}g=N[d+20>>2];g=N[(g?g:275552)+12>>2]+(b<<2)|0;b=N[d>>2]}b=(c-b<<1)+g|0}b=O[b|0]|O[b+1|0]<<8;l=U(l+U((b<<8|b>>>8)<<16>>16));if(!(U(V(l))>2];b=N[d+108>>2];z:{if(b){break z}while(1){b=N[d+48>>2];if(!b){b=275552;break z}g=db(1,28);if(!g){b=275552;N[d+108>>2]=275552;break z}b=Le(g,b);if(!N[d+108>>2]){N[d+108>>2]=b;break z}ab(N[b+24>>2]);_a(b);b=N[d+108>>2];if(!b){continue}break}}if(Q[b+16>>2]<=c>>>0){break r}M[f+100>>1]=0;M[f+112>>1]=0;M[f+124>>1]=0;N[f+72>>2]=-8388609;N[f+76>>2]=-8388609;d=f- -64|0;N[d>>2]=2139095039;N[d+4>>2]=2139095039;N[f+16>>2]=2139095039;N[f+20>>2]=2139095039;N[f+24>>2]=-8388609;N[f+28>>2]=-8388609;L[f+60|0]=0;N[f+56>>2]=f+80;d=N[f+60>>2];N[f+8>>2]=N[f+56>>2];N[f+12>>2]=d;N[f+48>>2]=a;M[f+88>>1]=0;N[f+80>>2]=0;N[f+84>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+116>>2]=0;N[f+120>>2]=0;N[f+52>>2]=f+128;d=N[f+52>>2];N[f>>2]=N[f+48>>2];N[f+4>>2]=d;if(!fj(b,a,c,f)){break r}l=U(U(Z(U(R[f+108>>2]+U(.5))))-U(N[f+132>>2]));if(!(U(V(l))>2];d=N[a+64>>2];i=N[a+68>>2];a=b<<16>>16;b=UE(d,i,a,a>>31);a=Pa;b=b+32768|0;N[e>>2]=(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16)+c;break j}N[f+120>>2]=0;N[f+124>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+80>>2]=0;N[f+84>>2]=0;b=N[a+96>>2];c=N[b+20>>2];d=N[a+100>>2];i=f+80|0;b=N[b+12>>2];if(b){b=N[b>>2]}else{b=0}A:{if(Qa[c|0](a,d,i,b)|0){b=N[f+80>>2];a=N[f+84>>2];break A}a=N[a+32>>2];m=+(a|0)*.8;B:{if(V(m)<2147483648){b=~~m;break B}b=-2147483648}a=b-a|0}N[e>>2]=N[f+36>>2]+(N[f+44>>2]+(b-a|0)>>1);break j}N[f+120>>2]=0;N[f+124>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+80>>2]=0;N[f+84>>2]=0;b=N[a+96>>2];c=N[b+20>>2];d=N[a+100>>2];i=f+80|0;b=N[b+12>>2];if(b){b=N[b>>2]}else{b=0}C:{if(Qa[c|0](a,d,i,b)|0){a=N[f+80>>2];break C}m=+N[a+32>>2]*.8;if(V(m)<2147483648){a=~~m;break C}a=-2147483648}N[e>>2]=a}La=f+144|0;return 1}function Ui(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if(N[a+200>>2]==(b|0)&N[a+204>>2]==(d|0)){break a}N[a+200>>2]=b;N[a+204>>2]=d;p=N[a+4>>2];if(!p){break a}k=N[a+8>>2];j=k>>31;d=b>>31;d=(d^b)-d|0;r=d>>>8|0;j=(k^j)-j|0;b:{if(r+j>>>0<=8190){h=T(d,j)+32768>>>16|0;break b}l=j&65535;h=T(l,d>>>16|0)+T(d,j>>>16|0)+(T(l,d&65535)+32768>>>16)|0}j=h;f=0-j|0;j=k>>31|1;l=(b|0)<0;b=((l?0-j|0:j)|0)<0?f:h;N[a+12>>2]=b;N[a+16>>2]=b+32&-64;j=p-1|0;if(!j){break a}m=d&65535;h=d>>>16|0;b=a+20|0;while(1){p=N[b>>2];k=p>>31;k=(k^p)-k|0;c:{if(k+r>>>0<=8190){f=T(d,k)+32768>>>16|0;break c}g=k&65535;f=T(g,h)+T(d,k>>>16|0)+(T(g,m)+32768>>>16)|0}k=f;g=0-k|0;k=p>>31|1;p=((l?0-k|0:k)|0)<0?g:f;g=N[a+12>>2];f=p-g|0;k=f>>31;k=(f^k)-k>>>0<128?g:p;N[b+4>>2]=k;N[b+8>>2]=k+32&-64;b=b+12|0;j=j-1|0;if(j){continue}break}}d:{if(N[a+404>>2]==(c|0)&N[a+408>>2]==(e|0)){break d}N[a+404>>2]=c;N[a+408>>2]=e;k=N[a+208>>2];e:{if(!k){break e}j=N[a+212>>2];b=j>>31;d=c>>31;d=(d^c)-d|0;r=d>>>8|0;b=(b^j)-b|0;f:{if(r+b>>>0<=8190){h=T(b,d)+32768>>>16|0;break f}p=b&65535;h=T(p,d>>>16|0)+T(d,b>>>16|0)+(T(p,d&65535)+32768>>>16)|0}b=h;f=0-b|0;b=j>>31|1;l=(c|0)<0;b=((l?0-b|0:b)|0)<0?f:h;N[a+216>>2]=b;N[a+220>>2]=b+32&-64;j=k-1|0;if(!j){break e}m=d&65535;h=d>>>16|0;b=a+224|0;while(1){p=N[b>>2];k=p>>31;k=(k^p)-k|0;g:{if(k+r>>>0<=8190){f=T(d,k)+32768>>>16|0;break g}g=k&65535;f=T(g,h)+T(d,k>>>16|0)+(T(g,m)+32768>>>16)|0}k=f;g=0-k|0;k=p>>31|1;p=((l?0-k|0:k)|0)<0?g:f;g=N[a+216>>2];f=p-g|0;k=f>>31;k=(f^k)-k>>>0<128?g:p;N[b+4>>2]=k;N[b+8>>2]=k+32&-64;b=b+12|0;j=j-1|0;if(j){continue}break}}L[a+2492|0]=(T(c,125)|0)>2]<<3&(c|0)<=34359737;b=N[a+2480>>2];h:{if((b|0)<=0){break h}d=c>>31;d=(d^c)-d|0;k=d&65535;p=d>>>16|0;r=d>>>8|0;while(1){j=b>>31;j=(j^b)-j|0;i:{if(j+r>>>0<=8190){j=T(d,j)+32768>>>16|0;break i}l=j&65535;j=T(l,p)+T(d,j>>>16|0)+(T(k,l)+32768>>>16)|0}if((((c|0)<0?0-j|0:j)|0)<33){break h}j=(b|0)>1;b=b-1|0;if(j){continue}break}b=0}N[a+2484>>2]=b;p=N[a+412>>2];if(p){b=c>>31;j=(b^c)-b|0;k=j&65535;r=j>>>16|0;l=j>>>8|0;b=a+416|0;d=p;while(1){h=N[b+8>>2];m=h>>31;m=(h^m)-m|0;j:{if(m+l>>>0<=8190){f=T(j,m)+32768>>>16|0;break j}g=m&65535;f=T(g,r)+T(j,m>>>16|0)+(T(g,k)+32768>>>16)|0}m=f;g=0-m|0;m=h>>31|1;i=0-m|0;h=m;m=(c|0)<0;N[b+28>>2]=(((m?i:h)|0)<0?g:f)+e;g=N[b+12>>2];h=g>>31;h=(g^h)-h|0;k:{if(h+l>>>0<=8190){f=T(h,j)+32768>>>16|0;break k}f=h&65535;f=T(f,r)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;N[b+24>>2]=(((m?0-h|0:h)|0)<0?i:f)+e;g=N[b>>2];h=g>>31;h=(g^h)-h|0;l:{if(h+l>>>0<=8190){f=T(h,j)+32768>>>16|0;break l}f=h&65535;f=T(f,r)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;f=(((m?0-h|0:h)|0)<0?i:f)+e|0;g=N[b+4>>2];h=g>>31;h=(g^h)-h|0;m:{if(h+l>>>0<=8190){i=T(h,j)+32768>>>16|0;break m}i=h&65535;i=T(i,r)+T(j,h>>>16|0)+(T(k,i)+32768>>>16)|0}h=i;N[b+16>>2]=f+32&-64;f=0-h|0;h=g>>31|1;N[b+20>>2]=((m?0-h|0:h)|0)<0?f:i;b=b+32|0;d=d-1|0;if(d){continue}break}}r=N[a+928>>2];if(r){b=c>>31;j=(b^c)-b|0;k=j&65535;l=j>>>16|0;m=j>>>8|0;b=a+932|0;d=r;while(1){g=N[b+8>>2];h=g>>31;h=(g^h)-h|0;n:{if(h+m>>>0<=8190){f=T(h,j)+32768>>>16|0;break n}f=h&65535;f=T(f,l)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;n=0-h|0;g=h;h=(c|0)<0;N[b+28>>2]=(((h?n:g)|0)<0?i:f)+e;f=N[b+12>>2];g=f>>31;g=(g^f)-g|0;o:{if(g+m>>>0<=8190){i=T(g,j)+32768>>>16|0;break o}i=g&65535;i=T(i,l)+T(j,g>>>16|0)+(T(k,i)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;N[b+24>>2]=(((h?0-g|0:g)|0)<0?n:i)+e;f=N[b>>2];g=f>>31;g=(g^f)-g|0;p:{if(g+m>>>0<=8190){i=T(g,j)+32768>>>16|0;break p}i=g&65535;i=T(i,l)+T(j,g>>>16|0)+(T(k,i)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;i=(((h?0-g|0:g)|0)<0?n:i)+e|0;f=N[b+4>>2];g=f>>31;g=(g^f)-g|0;q:{if(g+m>>>0<=8190){n=T(g,j)+32768>>>16|0;break q}o=g&65535;n=T(o,l)+T(j,g>>>16|0)+(T(k,o)+32768>>>16)|0}g=n;N[b+16>>2]=i+32&-64;i=0-g|0;g=f>>31|1;N[b+20>>2]=((h?0-g|0:g)|0)<0?i:n;b=b+32|0;d=d-1|0;if(d){continue}break}}j=N[a+1444>>2];if(j){b=c>>31;k=(b^c)-b|0;l=k&65535;m=k>>>16|0;h=k>>>8|0;b=a+1448|0;d=j;while(1){f=N[b+8>>2];g=f>>31;g=(g^f)-g|0;r:{if(g+h>>>0<=8190){i=T(g,k)+32768>>>16|0;break r}i=g&65535;i=T(i,m)+T(k,g>>>16|0)+(T(i,l)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;o=0-g|0;f=g;g=(c|0)<0;N[b+28>>2]=(((g?o:f)|0)<0?n:i)+e;i=N[b+12>>2];f=i>>31;f=(f^i)-f|0;s:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break s}o=f&65535;n=T(o,m)+T(k,f>>>16|0)+(T(l,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;N[b+24>>2]=(((g?0-f|0:f)|0)<0?o:n)+e;i=N[b>>2];f=i>>31;f=(f^i)-f|0;t:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break t}o=f&65535;n=T(o,m)+T(k,f>>>16|0)+(T(l,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;o=(((g?0-f|0:f)|0)<0?o:n)+e|0;i=N[b+4>>2];f=i>>31;f=(f^i)-f|0;u:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break u}q=f&65535;n=T(q,m)+T(k,f>>>16|0)+(T(l,q)+32768>>>16)|0}f=n;N[b+16>>2]=o+32&-64;o=0-f|0;f=i>>31|1;N[b+20>>2]=((g?0-f|0:f)|0)<0?o:n;b=b+32|0;d=d-1|0;if(d){continue}break}}k=N[a+1960>>2];if(k){b=c>>31;l=(b^c)-b|0;m=l&65535;h=l>>>16|0;g=l>>>8|0;b=a+1964|0;d=k;while(1){i=N[b+8>>2];f=i>>31;f=(f^i)-f|0;v:{if(f+g>>>0<=8190){n=T(f,l)+32768>>>16|0;break v}o=f&65535;n=T(o,h)+T(f>>>16|0,l)+(T(m,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;q=0-f|0;i=f;f=(c|0)<0;N[b+28>>2]=(((f?q:i)|0)<0?o:n)+e;o=N[b+12>>2];i=o>>31;i=(i^o)-i|0;w:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break w}q=i&65535;n=T(q,h)+T(i>>>16|0,l)+(T(m,q)+32768>>>16)|0}i=n;q=0-i|0;i=o>>31|1;N[b+24>>2]=(((f?0-i|0:i)|0)<0?q:n)+e;o=N[b>>2];i=o>>31;i=(i^o)-i|0;x:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break x}q=i&65535;n=T(q,h)+T(i>>>16|0,l)+(T(m,q)+32768>>>16)|0}i=n;q=0-i|0;i=o>>31|1;q=(((f?0-i|0:i)|0)<0?q:n)+e|0;o=N[b+4>>2];i=o>>31;i=(i^o)-i|0;y:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break y}n=i&65535;n=T(n,h)+T(i>>>16|0,l)+(T(m,n)+32768>>>16)|0}i=n;N[b+16>>2]=q+32&-64;q=0-i|0;i=o>>31|1;N[b+20>>2]=((f?0-i|0:i)|0)<0?q:n;b=b+32|0;d=d-1|0;if(d){continue}break}}z:{if(!p|!j){break z}b=a+1448|0;d=c>>31;m=(d^c)-d|0;g=m&65535;f=m>>>16|0;i=m>>>8|0;l=a+416|0;while(1){o=N[l>>2];d=j;e=b;while(1){A:{q=o-N[e>>2]|0;h=q>>31;h=(h^q)-h|0;B:{if(h+i>>>0<=8190){h=T(h,m)+32768>>>16|0;break B}q=h&65535;h=T(q,f)+T(m,h>>>16|0)+(T(g,q)+32768>>>16)|0}if((((c|0)<0?0-h|0:h)|0)<=63){N[l+28>>2]=N[e+28>>2];N[l+24>>2]=N[e+24>>2];N[l+16>>2]=N[e+16>>2];N[l+20>>2]=N[e+20>>2];break A}e=e+32|0;d=d-1|0;if(d){continue}}break}p=p-1|0;if(!p){break z}l=l+32|0;continue}}if(!r|!k){break d}b=a+1964|0;d=c>>31;j=(d^c)-d|0;p=j&65535;m=j>>>16|0;h=j>>>8|0;l=a+932|0;while(1){g=N[l>>2];d=k;e=b;C:{while(1){f=g-N[e>>2]|0;a=f>>31;a=(a^f)-a|0;D:{if(a+h>>>0<=8190){a=T(a,j)+32768>>>16|0;break D}f=a&65535;a=T(f,m)+T(j,a>>>16|0)+(T(f,p)+32768>>>16)|0}if((((c|0)<0?0-a|0:a)|0)>=64){e=e+32|0;d=d-1|0;if(d){continue}break C}break}N[l+28>>2]=N[e+28>>2];N[l+24>>2]=N[e+24>>2];N[l+16>>2]=N[e+16>>2];N[l+20>>2]=N[e+20>>2]}r=r-1|0;if(!r){break d}l=l+32|0;continue}}}function Vx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=11;f=N[N[b+96>>2]+4>>2];a:{if(!f){break a}h=N[f+16>>2];if((h|0)<=0){break a}f=f+20|0;h=f+(h<<2)|0;while(1){i=N[N[f>>2]>>2];if(cb(N[i+8>>2],9195)){f=f+4|0;if(h>>>0>f>>>0){continue}break a}break}f=N[i+20>>2];if(!f){break a}h=N[a+20>>2];if(h){g=85;if(Qa[h|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;g=Qa[N[f+4>>2]](a,b,c,d,e)|0;if(g){break a}k=N[b+104>>2];g=2;a=N[b+148>>2];b:{if((a|0)<=65535){if((a|0)==-1519689116|(a|0)==-1519619212){break b}break a}if((a|0)==65536|(a|0)==1953658213){break b}if((a|0)!=131072){break a}}N[b+8>>2]=N[b+8>>2]|2048;g=0;if((c|0)<0){break a}g=Qa[N[f+8>>2]](k,b,c,d,e)|0;if(g){break a}f=La-128|0;La=f;c:{d:{if(!b){break d}a=N[b+20>>2];if(a){i=1;if(ub(a,27296)){break c}if(ub(a,27316)){break c}if(ub(a,27336)){break c}if(ub(a,27356)){break c}if(ub(a,27376)){break c}if(ub(a,27396)){break c}if(ub(a,27416)){break c}if(ub(a,27436)){break c}if(ub(a,27456)){break c}if(ub(a,27476)){break c}if(ub(a,27496)){break c}if(ub(a,27516)){break c}if(ub(a,27536)){break c}if(ub(a,27556)){break c}if(ub(a,27576)){break c}if(ub(a,27596)){break c}if(ub(a,27616)){break c}if(ub(a,27636)){break c}if(ub(a,27656)){break c}if(ub(a,27676)){break c}if(ub(a,27696)){break c}if(ub(a,27716)){break c}if(ub(a,27736)){break c}if(ub(a,27756)){break c}if(ub(a,27776)){break c}if(ub(a,27796)){break c}}i=0;C(f,0,116);e:{f:{h=P[b+152>>1];if(h){a=0;while(1){e=1;g=0;n=o<<4;d=N[n+N[b+156>>2]>>2];g:{if((d|0)!=1668707360){h:{if((d|0)!=1886545264){if((d|0)!=1718642541){break g}g=1;break h}g=2}e=a}i=0;h=0;while(1){a=n+N[b+156>>2]|0;d=T(i,24)+(g<<3)|0;if(N[a+12>>2]==N[d+27828>>2]){r=d+27824|0;i:{if(h){break i}d=N[b+516>>2];if(!d){h=0;break i}h=0;if(Qa[d|0](b,N[a>>2],N[b+104>>2],0)|0){break i}j=N[b+104>>2];d=N[(n+N[b+156>>2]|0)+12>>2];if(Bb(j,d)){break i}if(d>>>0>=4){a=N[j+32>>2];m=N[j+36>>2];while(1){j:{if(m>>>0<=a+3>>>0){l=0;break j}l=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);l=l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24);a=a+4|0}N[j+32>>2]=a;h=h+l|0;d=d-4|0;if(d>>>0>3){continue}break}}k:{if(!d){break k}a=N[j+32>>2];m=N[j+36>>2];l=3;if((d|0)!=1){s=d&1;t=d&2;p=0;while(1){l:{if(a>>>0>=m>>>0){d=a;a=0;break l}d=a+1|0;N[j+32>>2]=d;a=O[a|0]}q=l<<3;u=(a<>>0>=m>>>0){a=d;break m}a=d+1|0;N[j+32>>2]=a;h=O[d|0]}h=((h&255)<>>0>>0){N[j+32>>2]=a+1;a=O[a|0]}else{a=0}h=(a<<(l<<3))+h|0}if(N[j+20>>2]){a=N[j>>2];if(a){d=N[j+28>>2];Qa[N[d+8>>2]](d,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0}d=f+(i<<2)|0;a=N[d>>2];if(N[r>>2]==(h|0)){a=a+1|0;N[d>>2]=a}if((a|0)==3){break f}}i=i+1|0;if((i|0)!=29){continue}break}h=P[b+152>>1];a=e}o=o+1|0;if(o>>>0<(h&65535)>>>0){continue}break}if(a&255){break e}i=0}while(1){a=f+(i<<2)|0;h=N[a>>2];if(i-16>>>0<12){h=h+1|0;N[a>>2]=h}if((h|0)==3){break f}a=i|1;if((a|0)==29){break d}a=f+(a<<2)|0;h=N[a>>2];if(i-15>>>0<=11){h=h+1|0;N[a>>2]=h}if((h|0)==3){break f}i=i+2|0;continue}}i=1;break c}i=1;if(!(N[f>>2]!=3&N[f+4>>2]!=3&N[f+8>>2]!=3&N[f+12>>2]!=3&N[f+16>>2]!=3&N[f+20>>2]!=3&N[f+24>>2]!=3&N[f+28>>2]!=3&N[f+32>>2]!=3&N[f+36>>2]!=3&N[f+40>>2]!=3&N[f+44>>2]!=3&N[f+48>>2]!=3&N[f+52>>2]!=3&N[f+56>>2]!=3&N[f+60>>2]!=3&N[f+64>>2]!=3&N[f+68>>2]!=3&N[f+72>>2]!=3&N[f+76>>2]!=3&N[f+80>>2]!=3&N[f+84>>2]!=3&N[f+88>>2]!=3&N[f+92>>2]!=3&N[f+96>>2]!=3&N[f+100>>2]!=3&N[f+104>>2]!=3&N[f+108>>2]!=3&N[f+112>>2]!=3)){break c}}i=0}La=f+128|0;if(i){N[b+8>>2]=N[b+8>>2]|8192}a=0;f=La-16|0;La=f;h=N[k+28>>2];n:{if(Qa[N[b+516>>2]](b,1751412088,k,f+12|0)|0){break n}d=N[f+12>>2];if(d>>>0<8){break n}a=fc(k,d,b+768|0);if(a){break n}a=3;e=N[b+768>>2];d=O[e+2|0]<<8|O[e+3|0];o:{if(d>>>0>255){break o}g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i=g>>>0>4294901759?g&65535:g;if(i-65538>>>0<4294901762?d:0){break o}j=N[f+12>>2];p:{q:{if(!d){e=0;N[b+784>>2]=0;break q}g=Qa[N[h+4>>2]](h,d)|0;if(!g){break p}a=e+8|0;h=e+j|0;e=0;C(g,0,d);N[b+784>>2]=g;while(1){g=a+i|0;if(g>>>0>h>>>0){break q}L[N[b+784>>2]+e|0]=O[a|0];a=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}e=d}N[b+776>>2]=e;a=N[f+12>>2];N[b+780>>2]=i;N[b+772>>2]=a;a=0;break n}N[b+784>>2]=0;a=64}r:{if(!N[k+20>>2]){break r}d=N[b+768>>2];if(!d){break r}e=N[k+28>>2];Qa[N[e+8>>2]](e,d)}N[b+768>>2]=0;N[b+772>>2]=0}La=f+16|0;g=a;if(a){break a}s:{if(!(L[b+8|0]&1)){break s}t:{if(N[N[b+128>>2]+52>>2]){break t}i=0;g=La-16|0;La=g;e=Qa[N[b+516>>2]](b,1735162214,k,b+724|0)|0;u:{v:{if((e&255)==142){N[b+724>>2]=0;a=0;break v}if(e){break u}a=0;if(N[N[b+128>>2]+52>>2]){break v}a=N[k+8>>2]}N[b+728>>2]=a;e=144;if(Qa[N[b+516>>2]](b,1819239265,k,g+12|0)|0){break u}a=N[g+12>>2];w:{if(P[b+210>>1]){e=2;if(a>>>0>=262144){N[g+12>>2]=262143;a=262143}break w}e=1;if(a>>>0>=131072){N[g+12>>2]=131071;a=131071}}d=a;f=a>>>e|0;N[b+760>>2]=f;a=N[b+16>>2];x:{y:{if(a>>>0>>0){break y}j=a+1|0;if((j|0)==(f|0)){break y}a=j<>2];e=P[b+152>>1];z:{if(e){h=N[b+156>>2];o=h+(e<<4)|0;e=2147483647;while(1){m=N[h+8>>2]-l|0;n=(m|0)>0&(e|0)>(m|0);i=n?1:i;e=n?m:e;h=h+16|0;if(o>>>0>h>>>0){continue}break}if(i&255){break z}}e=N[k+4>>2]-l|0}if(a>>>0<=e>>>0){N[b+760>>2]=j;N[g+12>>2]=a;break x}a=f-1|0;N[b+16>>2]=a>>>0<=f>>>0?a:0}a=d}e=fc(k,a,b+764|0)}La=g+16|0;g=e;if(N[b+724>>2]){if(g){break a}if((g&255)!=142){break t}break a}if(g){break a}}g=gn(b,k);if((g&255)!=142?g:0){break a}a=La-16|0;La=a;A:{if(Qa[N[b+516>>2]](b,1718642541,k,a+12|0)|0){N[b+684>>2]=0;N[b+688>>2]=0;g=0;break A}d=N[a+12>>2];N[b+684>>2]=d;g=fc(k,d,b+688|0)}La=a+16|0;if(g){break a}a=La-16|0;La=a;B:{if(Qa[N[b+516>>2]](b,1886545264,k,a+12|0)|0){N[b+692>>2]=0;N[b+696>>2]=0;g=0;break B}d=N[a+12>>2];N[b+692>>2]=d;g=fc(k,d,b+696|0)}La=a+16|0;if(g){break a}if(!N[b+764>>2]|(N[N[b+128>>2]+52>>2]|!N[b+28>>2])){break s}f=0;d=0;e=La-16|0;La=e;g=N[b+760>>2];C:{if(!g){break C}D:{while(1){bg(b,d,e+12|0);a=d+1|0;h=N[e+12>>2];if(h){break D}d=a;if((a|0)!=(g|0)){continue}break}break C}if((a|0)!=(g|0)){while(1){bg(b,a,e+12|0);if(N[e+12>>2]){break C}a=a+1|0;if((g|0)!=(a|0)){continue}break}if(!h){break C}}if(!d){f=1;break C}if(!b){break C}L[e+4|0]=0;if(!(O[b+9|0]&2)|N[b+16>>2]<=(d|0)){break C}E:{F:{g=N[b+128>>2];a=N[g+40>>2];switch(a+2|0){case 0:break C;case 2:break F;default:break E}}a=N[b+96>>2];h=N[N[a>>2]+32>>2];G:{if(!h){a=0;break G}a=Qa[h|0](a,9592)|0;g=N[b+128>>2]}N[g+40>>2]=a?a:-2}if(!a){break C}a=N[a>>2];if(!a){break C}if(Qa[a|0](b,d,e+4|0,8)|O[e+4|0]!=46){break C}f=!Mb(e+4|0,15265,8)}La=e+16|0;if(!f){break s}N[b+8>>2]=N[b+8>>2]&-2}if(!(!(N[b+8>>2]&256)|c>>>0<65536)){g=fn(b,c>>>16|0);if(g){break a}en(b)}N[b+536>>2]=141;N[b+532>>2]=142;N[b+528>>2]=143;N[b+520>>2]=144;N[b+524>>2]=145;g=0}return g|0}function ch(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}e=N[b+12>>2];c=e-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}d=e-6|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}f=N[b+4>>2];d=a+6|0;if(f>>>0>d>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;c:{if(!c){break c}d:{c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break d}e=g-4|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[c|0]|O[c+1|0]<<8;e:{if(!e){break e}if(Lb(c+((e<<8|e>>>8)&65535)|0,b)){break e}e=N[b+28>>2];if(e>>>0>31){break d}N[b+28>>2]=e+1;if(!O[b+24|0]){break d}L[c|0]=0;L[c+1|0]=0}e=c+2|0;if(e>>>0>2]){break d}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<2){break d}g=N[b+12>>2]-2|0;N[b+12>>2]=g;if((g|0)<=0){break d}e=O[e|0]|O[e+1|0]<<8;if(!e){break c}h=c+4|0;if(h>>>0>f>>>0){break d}k=f-h|0;e=(e<<8|e>>>8)&65535;f=e<<1;if(k>>>0>>0){break d}f=g-f|0;N[b+12>>2]=f;if((f|0)<=0){break d}l=e>>>0<=1?1:e;e=0;while(1){j=N[b+4>>2];f=(c+(e<<1)|0)+4|0;if(j>>>0>f>>>0){break d}g=N[b+8>>2];if(g>>>0>>0|g-f>>>0<2){break d}i=N[b+12>>2];h=i-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[f|0]|O[f+1|0]<<8;f:{if(!h){break f}h=c+((h<<8|h>>>8)&65535)|0;g:{if(h>>>0>>0|g>>>0>>0|g-h>>>0<2){break g}j=i-4|0;N[b+12>>2]=j;if((j|0)<=0){break g}i=O[h|0]|O[h+1|0]<<8;if(!i){break f}h=h+2|0;if(h>>>0>g>>>0){break g}k=g-h|0;g=((i<<8|i>>>8)&65535)<<1;if(k>>>0>>0){break g}g=j-g|0;N[b+12>>2]=g;if((g|0)>0){break f}}g=N[b+28>>2];if(g>>>0>31){break d}N[b+28>>2]=g+1;if(!O[b+24|0]){break d}L[f|0]=0;L[f+1|0]=0}e=e+1|0;if((l|0)!=(e|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}e=N[b+4>>2];h=a+8|0;if(e>>>0>h>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-h>>>0<2){break a}g=N[b+12>>2];d=g-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[h|0]|O[h+1|0]<<8;h:{if(!d){break h}i:{f=((d<<8|d>>>8)&65535)+a|0;if(f>>>0>>0|c>>>0>>0|c-f>>>0<2){break i}c=g-4|0;N[b+12>>2]=c;if((c|0)<=0){break i}c=O[f|0]|O[f+1|0]<<8;j:{if(!c){break j}if(Lb(f+((c<<8|c>>>8)&65535)|0,b)){break j}c=N[b+28>>2];if(c>>>0>31){break i}N[b+28>>2]=c+1;if(!O[b+24|0]){break i}L[f|0]=0;L[f+1|0]=0}c=f+2|0;if(c>>>0>2]){break i}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break i}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break i}c=O[c|0]|O[c+1|0]<<8;if(!c){break h}g=f+4|0;if(g>>>0>d>>>0){break i}k=d-g|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(k>>>0>>0){break i}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break i}p=c>>>0<=1?1:c;while(1){e=N[b+4>>2];j=(f+(n<<1)|0)+4|0;if(e>>>0>j>>>0){break i}c=N[b+8>>2];if(c>>>0>>0|c-j>>>0<2){break i}i=N[b+12>>2];d=i-2|0;N[b+12>>2]=d;if((d|0)<=0){break i}d=O[j|0]|O[j+1|0]<<8;k:{if(!d){break k}l:{m:{g=f+((d<<8|d>>>8)&65535)|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<2){break m}d=i-4|0;N[b+12>>2]=d;if((d|0)<=0){break m}e=O[g|0]|O[g+1|0]<<8;if(!e){break k}i=g+2|0;if(i>>>0>c>>>0){break m}k=c-i|0;c=(e<<8|e>>>8)&65535;e=c<<1;if(k>>>0>>0){break m}d=d-e|0;N[b+12>>2]=d;if((d|0)<=0){break m}q=c>>>0<=1?1:c;m=0;while(1){e=N[b+4>>2];d=(g+(m<<1)|0)+2|0;if(e>>>0>d>>>0){break m}i=N[b+8>>2];if(i>>>0>>0|i-d>>>0<2){break m}l=N[b+12>>2];c=l-2|0;N[b+12>>2]=c;if((c|0)<=0){break m}c=O[d|0]|O[d+1|0]<<8;n:{if(!c){break n}k=e;e=g+((c<<8|c>>>8)&65535)|0;o:{p:{q:{if(k>>>0>e>>>0|e>>>0>i>>>0){break q}c=i-e|0;if(c>>>0<2){break q}k=l-4|0;N[b+12>>2]=k;if((k|0)<=0){break q}r:{s:{t:{k=O[e|0]|O[e+1|0]<<8;switch(((k<<8|k>>>8)&65535)-1|0){case 1:break r;case 2:break s;case 0:break t;default:break n}}if(c>>>0<4){break q}c=l-8|0;N[b+12>>2]=c;if((c|0)<=0){break q}break n}if(c>>>0<6){break q}c=l-10|0;N[b+12>>2]=c;if((c|0)<=0){break q}c=e+4|0;if(i>>>0>>0|i-c>>>0<2){break q}i=l-12|0;N[b+12>>2]=i;if((i|0)<=0){break q}i=O[c|0]|O[c+1|0]<<8;if(!i){break n}if(Id(e+((i<<8|i>>>8)&65535)|0,b)){break n}e=N[b+28>>2];if(e>>>0>31){break i}e=e+1|0;N[b+28>>2]=e;if(!O[b+24|0]){break p}break o}if(c>>>0<4){break q}c=l-8|0;N[b+12>>2]=c;if((c|0)>0){break n}}e=N[b+28>>2]}if(e>>>0>31){break i}e=e+1|0;N[b+28>>2]=e;c=d;if(!O[b+24|0]){break l}}L[c|0]=0;L[c+1|0]=0}m=m+1|0;if((q|0)!=(m|0)){continue}break}break k}e=N[b+28>>2]}if(e>>>0>31){break i}N[b+28>>2]=e+1;if(!O[b+24|0]){break i}L[j|0]=0;L[j+1|0]=0}n=n+1|0;if((p|0)!=(n|0)){continue}break}break h}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[h|0]=0;L[h+1|0]=0}c=a+10|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;u:{if(!d){break u}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break u}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){return 1}h=N[b+4>>2];g=a+12|0;c=0;v:{if(h>>>0>g>>>0){break v}f=N[b+8>>2];c=0;if(f>>>0>>0){break v}c=0;if(f-g>>>0<2){break v}j=N[b+12>>2];e=j-2|0;N[b+12>>2]=e;d=1;c=0;if((e|0)<=0){break v}c=O[g|0]|O[g+1|0]<<8;w:{if(!c){break w}x:{e=((c<<8|c>>>8)&65535)+a|0;if(e>>>0>>0|e>>>0>f>>>0|f-e>>>0<2){break x}c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break x}if((O[e|0]|O[e+1|0]<<8)!=256){break w}c=e+2|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break x}h=j-6|0;N[b+12>>2]=h;if((h|0)<=0){break x}c=O[c|0]|O[c+1|0]<<8;if(!c){break w}d=e+4|0;if(d>>>0>f>>>0){break x}k=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<2;if(k>>>0>>0){break x}d=h-d|0;N[b+12>>2]=d;if((d|0)<=0){break x}h=c>>>0<=1?1:c;f=0;while(1){c=(e+(f<<2)|0)+4|0;if(c>>>0>2]){break x}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break x}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break x}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);y:{if(!d){break y}if(d&128){break x}if(Lb(e+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break y}d=N[b+28>>2];if(d>>>0>31){break x}N[b+28>>2]=d+1;if(!O[b+24|0]){break x}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}d=1;f=f+1|0;if((h|0)!=(f|0)){continue}break}break w}d=N[b+28>>2];c=0;if(d>>>0>31){break v}N[b+28>>2]=d+1;d=0;if(!O[b+24|0]){break w}L[g|0]=0;L[g+1|0]=0;d=1}c=d}if(!c){break a}o=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65539){break a}o=Gf(a+14|0,b,a)}return o}function jk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;i=La-1376|0;La=i;a:{b:{c:{d:{q=O[a+2|0]|O[a+3|0]<<8;p=q<<8|q>>>8;n=p&65535;switch(n|0){case 0:break b;case 1:break d;default:break c}}e=N[b+96>>2];if(N[e+156>>2]){zc(e);e=N[b+88>>2];c=N[b+96>>2];N[i+80>>2]=N[c+64>>2];ib(c,e,23142,i+80|0)}a=O[a|0]|O[a+1|0]<<8;Oe(b,(a<<8|a>>>8)&65535);r=1;a=N[b+96>>2];if(!N[a+156>>2]){break b}b=N[b+88>>2];N[i+64>>2]=N[a+64>>2]-1;ib(a,b,23188,i- -64|0);break b}e:{if(n>>>0>64){break e}o=N[b+96>>2];h=N[o+64>>2];N[b+36>>2]=n-1;N[b+4>>2]=h;e=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[e+68>>2];d=N[e+64>>2]==(h|0)?O[(N[e+80>>2]+T(h,20)|0)+15|0]:d;e=b+4|0;N[b+32>>2]=a+4;N[b+28>>2]=0;N[b+24>>2]=246;L[b+23|0]=O[b+22|0]?d:0;f=N[o+80>>2]+T(h,20)|0;c=O[f+14|0];d=c&16;f:{g:{h:{i:{j:{k:{if(O[f+12|0]&4){if(!d){k=(c&224)>>>5|0;break j}f=c&15;k=(c&224)>>>5|0;break k}k=(c&224)>>>5|0;f=1;if(!d){break j}}N[i+1120>>2]=h;break i}N[i+1120>>2]=h;l=1;if(c>>>0>=32){s=c&15;if(s){break h}}f=1}c=1;while(1){if(!kc(e,i+96|0)){break f}g=N[e>>2];N[(i+1120|0)+(c<<2)>>2]=g;m=N[o+80>>2]+T(g,20)|0;d=O[m+14|0];j=d&15;l=d&16;if(!((d>>>5|0)==(k|0)|d>>>0<32|(!j|l))){d=0;break e}f=(l?P[m+12>>1]&4?j:1:1)+f|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}break g}f=1;j=1;while(1){if(!kc(e,i+96|0)){break f}g=N[e>>2];N[(i+1120|0)+(j<<2)>>2]=g;l:{c=N[o+80>>2];d=O[(c+T(g,20)|0)+14|0];if((d>>>5|0)==(k|0)){d=((d&16?0:d&15)|0)==(s|0)}else{d=0}m:{if(d){break m}d=0;n:{switch(m|0){case 0:break n;case 1:break e;default:break m}}g=N[o+84>>2];m=g+14|0;d=N[o+72>>2];while(1){if(!d){break l}d=d-1|0;t=T(d,20);c=O[m+t|0];if((c>>>5|0)!=(k|0)){break l}if(!(c&15?c&16:1)){continue}break}if((Jk(e,g+t|0)|0)!=1){break l}g=N[e>>2];c=N[o+80>>2];m=2}d=1;c=T(g,20)+c|0;o:{if(!(O[c+12|0]&4)){break o}c=O[c+14|0];if(!(c&16)){break o}d=c&15}f=d+f|0;j=j+1|0;l=n>>>0>j>>>0;if((j|0)!=(n|0)){continue}break g}break}d=0;if(l&1){break e}g=N[e>>2]}l=g+1|0;d=N[b+96>>2];p:{if(!N[d+156>>2]){o=0;break p}e=zc(d);d=N[b+96>>2];o=N[d+64>>2];C(i+96|0,0,1024);if(q){h=e+h|0;N[i+48>>2]=h;N[i+1120>>2]=h;Ne(i+96|0,1024,8356,i+48|0);if((p&65535)>>>0>=2){j=n>>>0<=1?1:n;k=i+1120|0;c=i+96|0;d=nb(c)+c|0;c=1;while(1){m=(i+1120|0)+(c<<2)|0;g=e+N[m>>2]|0;N[m>>2]=g;L[d|0]=44;N[i+32>>2]=g;d=d+1|0;Ne(d,k-d|0,8356,i+32|0);d=nb(d)+d|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}}d=N[b+96>>2]}l=e+l|0;e=N[b+88>>2];N[i+16>>2]=i+96;ib(d,e,11458,i+16|0);d=N[b+96>>2]}e=O[a|0]|O[a+1|0]<<8;a=N[d+64>>2];if(l-a>>>0>=2){Ib(d,a,l)}c=1;j=N[d+80>>2];h=P[(j+T(h,20)|0)+12>>1];a=!(h&8);g=!(h&2);q:{if((p&65535)>>>0<=1){break q}while(1){if(O[(j+T(N[(i+1120|0)+(c<<2)>>2],20)|0)+12|0]&8){c=c+1|0;if((n|0)!=(c|0)){continue}break q}break}a=1;g=1}m=0;l=a&g;if((l|0)==1){c=O[d+141|0];while(1){c=c+1&255;c=c>>>0<=1?1:c;if(!(c&7)){continue}break}L[d+141|0]=c;m=c<<5&224}h=(e<<8|e>>>8)&65535;e=j+T(N[d+64>>2],20)|0;g=O[e+14|0];j=O[e+12|0];r:{if(!l){break r}L[e+14|0]=f&15|m|16;e=N[d+80>>2]+T(N[d+64>>2],20)|0;c=P[e+16>>1];if((c&31)!=12){break r}M[e+16>>1]=c&224|7}N[b+116>>2]=N[b+116>>2]|1<<(h>>>4);N[b+120>>2]=N[b+120>>2]|1<>2]=N[b+124>>2]|1<<(h>>>9);e=N[b+160>>2];if((e|0)!=-1){c=N[b+96>>2];L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=e}e=N[b+96>>2];e=N[e+80>>2]+T(N[e+64>>2],20)|0;s:{if(O[b+148|0]){c=Uc(N[b+104>>2],h)|48;break s}c=l?52:P[e+12>>1]&65423|48}M[e+12>>1]=c;t:{u:{c=N[b+96>>2];e=N[c+72>>2]+1|0;v:{if(!(!e|e>>>0>2])){if(!gb(c,e)){break v}}e=N[c+84>>2];w:{if((e|0)!=N[c+80>>2]){break w}f=N[c+72>>2];if(f+1>>>0<=N[c+64>>2]+1>>>0){break w}if(!O[c+62|0]){break t}k=N[c+88>>2];N[c+84>>2]=k;f=T(f,20);if(!f){break w}F(k,e,f)}f=N[c+68>>2];e=N[c+64>>2];if(f>>>0>>0){break u}x:{if(e>>>0>>0){f=N[c+72>>2];k=N[c+84>>2];e=N[c+80>>2]+T(e,20)|0;break x}k=N[c+84>>2];f=N[c+72>>2];e=f-1|0;e=k+T(e>>>0<=f>>>0?e:0,20)|0}f=T(f,20)+k|0;k=N[e+4>>2];N[f>>2]=N[e>>2];N[f+4>>2]=k;N[f+16>>2]=N[e+16>>2];k=N[e+12>>2];N[f+8>>2]=N[e+8>>2];N[f+12>>2]=k;N[f>>2]=h;N[c+64>>2]=N[c+64>>2]+1;N[c+72>>2]=N[c+72>>2]+1}h=j&4?g&16?g&15:1:1;f=0-h|0;y:{if((p&65535)>>>0<2){e=h;break y}c=N[d+64>>2];k=1;e=h;while(1){z:{p=(i+1120|0)+(k<<2)|0;g=N[p>>2];if(g>>>0<=c>>>0){break z}if(l){q=f+h|0;while(1){if(!O[d+60|0]){break z}f=N[d+80>>2]+T(c,20)|0;c=O[f+14|0];c=c&16?0:c&15;c=c?c:e;L[f+14|0]=q+(c>>>0>>0?c:e)&15|m;A:{B:{if(O[d+62|0]){f=N[d+84>>2];j=N[d+80>>2];c=N[d+72>>2];if(!((f|0)==(j|0)&(c|0)==N[d+64>>2])){c=c+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break B}j=N[d+80>>2];f=N[d+84>>2]}C:{if((f|0)!=(j|0)){break C}c=N[d+72>>2];if(c+1>>>0<=N[d+64>>2]+1>>>0){f=j;break C}if(!O[d+62|0]){break a}f=N[d+88>>2];N[d+84>>2]=f;c=T(c,20);if(!c){break C}F(f,j,c);f=N[d+84>>2];j=N[d+80>>2]}c=T(N[d+72>>2],20)+f|0;f=T(N[d+64>>2],20)+j|0;g=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=g;N[c+16>>2]=N[f+16>>2];g=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=g;g=N[p>>2];c=N[d+72>>2]}N[d+72>>2]=c+1}c=N[d+64>>2]+1|0;N[d+64>>2]=c;break A}c=N[d+64>>2]}if(c>>>0>>0){continue}break}break z}if(!O[d+60|0]){break z}e=1;if(!O[d+62|0]){N[d+64>>2]=g;c=g;break z}while(1){D:{E:{if(e&255){e=N[d+84>>2];f=N[d+80>>2];j=N[d+72>>2];if((e|0)!=(f|0)|(j|0)!=(c|0)){c=j+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break E}f=N[d+80>>2];e=N[d+84>>2]}F:{if((e|0)!=(f|0)){break F}c=N[d+72>>2];if(c+1>>>0<=N[d+64>>2]+1>>>0){e=f;break F}if(!O[d+62|0]){break a}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break F}F(e,f,c);e=N[d+84>>2];f=N[d+80>>2]}c=T(N[d+64>>2],20)+f|0;f=N[c+4>>2];e=T(N[d+72>>2],20)+e|0;N[e>>2]=N[c>>2];N[e+4>>2]=f;N[e+16>>2]=N[c+16>>2];f=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=f;g=N[p>>2];c=N[d+64>>2];e=N[d+72>>2]}else{e=c}N[d+72>>2]=e+1}c=c+1|0;N[d+64>>2]=c;break D}c=N[d+64>>2]}if(!O[d+60|0]|c>>>0>=g>>>0){break z}e=O[d+62|0];continue}}e=N[d+80>>2]+T(c,20)|0;f=P[e+12>>1];g=O[e+14|0];c=c+1|0;N[d+64>>2]=c;e=f&4?g&16?g&15:1:1;f=0-e|0;h=e+h|0;k=k+1|0;if((n|0)!=(k|0)){continue}break}}G:{if(!(g>>>0>31&a)){break G}c=N[d+64>>2];if(c>>>0>=Q[d+68>>2]){break G}f=f+h|0;while(1){h=N[d+80>>2]+T(c,20)|0;a=O[h+14|0];if(((a^g)&255)>>>0>31|a&16){break G}a=a&15;if(!a){break G}L[h+14|0]=f+(a>>>0>e>>>0?e:a)&15|m;c=c+1|0;if(c>>>0>2]){continue}break}}r=1;a=N[b+96>>2];if(!N[a+156>>2]){break b}zc(a);a=N[b+88>>2];b=N[b+96>>2];N[i>>2]=o;ib(b,a,17426,i);break b}ba(13080,14165,312,10949);B()}break a}d=N[i+96>>2]}a=N[b+96>>2];if(!(O[a+16|0]&64)){break b}wb(a,2,N[a+64>>2],d,1,0)}La=i+1376|0;return r}ba(8694,17855,209,11932);B()}function yi(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0;g=La-320|0;La=g;r=S[d>>3];j=S[d+24>>3];n=S[d+8>>3];t=S[d+32>>3];l=r*j+n*t;a:{r=r*t-j*n;o=r<0?1:2;b:{c:{if(o&e){j=V(r);n=S[d+16>>3];v=j*n;t=S[d+40>>3];z=j*t;d:{s=n*l+t;if(!(sx)){break d}m=e;e:{n=(s*t+n*x)*.5;if(!(n>2]=o|N[a+56>>2];break f}k=N[b+4>>2];q=N[b>>2];p=o&(N[a+60>>2]^-1);n=S[a+88>>3]*S[a+24>>3];g:{if(V(n)<2147483648){m=~~n;break g}m=-2147483648}h=p&1;n=S[a+80>>3]*S[a+16>>3];h:{if(V(n)<2147483648){i=~~n;break h}i=-2147483648}if(h){N[g+148>>2]=k+m;N[g+144>>2]=i+q;u=N[a>>2];h=N[g+148>>2];N[g+136>>2]=N[g+144>>2];N[g+140>>2]=h;h=0;if(!Fb(u,g+136|0,1)){break b}}if(p>>>0<2){break f}N[g+148>>2]=k-m;N[g+144>>2]=q-i;m=N[a+4>>2];i=N[g+148>>2];N[g+128>>2]=N[g+144>>2];N[g+132>>2]=i;h=0;if(!Fb(m,g+128|0,1)){break b}}N[a+60>>2]=o|N[a+60>>2];i:{if(s<0|x<0){k=N[b+4>>2];j=S[a+24>>3]*0;j:{if(V(j)<2147483648){m=~~j;break j}m=-2147483648}q=o&1;j=S[a+16>>3]*0;k:{if(V(j)<2147483648){i=~~j;break k}i=-2147483648}p=N[b>>2];if(q){N[g+148>>2]=k+m;N[g+144>>2]=i+p;u=N[a>>2];h=N[g+148>>2];N[g+104>>2]=N[g+144>>2];N[g+108>>2]=h;h=0;if(!Fb(u,g+104|0,1)){break b}}if(!(r<0)){N[g+148>>2]=k-m;N[g+144>>2]=p-i;m=N[a+4>>2];i=N[g+148>>2];N[g+96>>2]=N[g+144>>2];N[g+100>>2]=i;h=0;if(!Fb(m,g+96|0,1)){break b}}k=N[b+20>>2];p=N[b+16>>2];j=S[a+24>>3]*0;l:{if(V(j)<2147483648){m=~~j;break l}m=-2147483648}j=S[a+16>>3]*0;m:{if(V(j)<2147483648){i=~~j;break m}i=-2147483648}if(q){N[g+148>>2]=k+m;N[g+144>>2]=i+p;q=N[a>>2];h=N[g+148>>2];N[g+88>>2]=N[g+144>>2];N[g+92>>2]=h;h=0;if(!Fb(q,g+88|0,1)){break b}}if(r<0){break i}N[g+148>>2]=k-m;N[g+144>>2]=p-i;m=N[a+4>>2];i=N[g+148>>2];N[g+80>>2]=N[g+144>>2];N[g+84>>2]=i;h=0;if(Fb(m,g+80|0,1)){break i}break b}j=s/j;n=j*S[d+8>>3]*S[a+24>>3];n:{if(V(n)<2147483648){m=~~n;break n}m=-2147483648}h=o&1;k=N[b+4>>2];j=j*S[d>>3]*S[a+16>>3];o:{if(V(j)<2147483648){i=~~j;break o}i=-2147483648}q=N[b>>2];if(h){N[g+148>>2]=k+m;N[g+144>>2]=i+q;p=N[a>>2];h=N[g+148>>2];N[g+120>>2]=N[g+144>>2];N[g+124>>2]=h;h=0;if(!Fb(p,g+120|0,1)){break b}}if(r<0){break i}N[g+148>>2]=k-m;N[g+144>>2]=q-i;m=N[a+4>>2];i=N[g+148>>2];N[g+112>>2]=N[g+144>>2];N[g+116>>2]=i;h=0;if(!Fb(m,g+112|0,1)){break b}}m=(o^-1)&e;if(m){break e}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;h=1;break b}i=e^o;break c}i=(l+v<1?l+z<1?o:0:0)^e}else{i=e}m=e}p:{if(!i){break p}j=l+3;n=l+1;if(!(j*j>3])){break p}j=S[d+16>>3];s=j+j;n=1/n;t=S[d+40>>3];v=S[a+152>>3];if(!(V(r*(s*n-t))>2];l=S[d+32>>3];r=S[d+8>>3];q=N[b>>2];j=S[d+24>>3];t=S[d>>3];A=i^-1;N[a+60>>2]=A&N[a+60>>2];s=S[a+88>>3]*S[a+24>>3];q:{if(V(s)<2147483648){e=~~s;break q}e=-2147483648}p=i&1;s=S[a+80>>3]*S[a+16>>3];r:{if(V(s)<2147483648){o=~~s;break r}o=-2147483648}if(p){N[g+148>>2]=e+k;N[g+144>>2]=o+q;u=N[a>>2];h=N[g+148>>2];N[g+72>>2]=N[g+144>>2];N[g+76>>2]=h;h=0;if(!Fb(u,g+72|0,2)){break b}}C=i&2;if(C){N[g+148>>2]=k-e;N[g+144>>2]=q-o;e=N[a+4>>2];i=N[g+148>>2];N[g+64>>2]=N[g+144>>2];N[g+68>>2]=i;h=0;if(!Fb(e,g- -64|0,2)){break b}}j=n*(t+j);q=N[b+12>>2];u=N[b+8>>2];l=n*(r+l)*S[a+24>>3];s:{if(V(l)<2147483648){i=~~l;break s}i=-2147483648}l=j*S[a+16>>3];t:{if(V(l)<2147483648){o=~~l;break t}o=-2147483648}if(p){k=N[a>>2];p=N[k+4>>2];if(!p){break a}h=0;y=o+u|0;e=y>>31;if((e^y)-e>>>0>268435455){break b}e=i+q|0;w=e>>31;if((e^w)-w>>>0>268435455){break b}h=N[k>>2];u:{if(p>>>0>h>>>0){p=N[k+16>>2];break u}h=0;N[147316]=0;w=p<<1;p=jd(N[k+16>>2],w,8);N[k+16>>2]=p;if(N[147316]){break b}N[k+4>>2]=w;h=N[k>>2]}h=(h<<3)+p|0;N[h>>2]=y;N[h+4>>2]=e;N[k>>2]=N[k>>2]+1}if(C){k=N[a+4>>2];p=N[k+4>>2];if(!p){break a}h=0;o=u-o|0;e=o>>31;if((e^o)-e>>>0>268435455){break b}e=q-i|0;i=e>>31;if((e^i)-i>>>0>268435455){break b}h=N[k>>2];v:{if(p>>>0>h>>>0){i=N[k+16>>2];break v}h=0;N[147316]=0;q=p<<1;i=jd(N[k+16>>2],q,8);N[k+16>>2]=i;if(N[147316]){break b}N[k+4>>2]=q;h=N[k>>2]}i=(h<<3)+i|0;N[i>>2]=o;N[i+4>>2]=e;N[k>>2]=N[k>>2]+1}m=m&A;if(m){break p}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;h=1;break b}i=N[b>>2];o=N[b+16>>2];e=N[b+8>>2];h=N[b+4>>2];k=N[b+12>>2];q=k+N[b+20>>2]|0;N[g+300>>2]=q>>1;h=h+k|0;k=(h+q|0)+2>>2;N[g+292>>2]=k;o=e+o|0;N[g+296>>2]=o>>1;e=e+i|0;N[g+280>>2]=e>>1;N[g+284>>2]=h>>1;q=(e+o|0)+2>>2;N[g+288>>2]=q;i=N[b+4>>2];e=N[b>>2];N[g+272>>2]=e;N[g+276>>2]=i;o=N[b+20>>2];N[g+304>>2]=N[b+16>>2];N[g+308>>2]=o;r=S[c>>3]*.5;S[g+224>>3]=r;l=S[c+8>>3]*.5;S[g+232>>3]=l;j=S[c+16>>3]*.5;S[g+256>>3]=j;n=S[c+24>>3]*.5;S[g+264>>3]=n;l=(l+n)*.5;S[g+248>>3]=l;r=(r+j)*.5;S[g+240>>3]=r;o=g+288|0;j=aa(r*r+l*l);if(j>3]){p=m^-1;N[a+60>>2]=p&N[a+60>>2];l=S[a+88>>3]*S[a+24>>3];w:{if(V(l)<2147483648){b=~~l;break w}b=-2147483648}f=i;i=m&1;l=S[a+80>>3]*S[a+16>>3];x:{if(V(l)<2147483648){c=~~l;break x}c=-2147483648}if(i){N[g+148>>2]=b+f;N[g+144>>2]=c+e;u=N[a>>2];h=N[g+148>>2];N[g+56>>2]=N[g+144>>2];N[g+60>>2]=h;h=0;if(!Fb(u,g+56|0,1)){break b}}u=m&2;if(u){N[g+148>>2]=f-b;N[g+144>>2]=e-c;b=N[a+4>>2];c=N[g+148>>2];N[g+48>>2]=N[g+144>>2];N[g+52>>2]=c;h=0;if(!Fb(b,g+48|0,1)){break b}}b=N[o+4>>2];N[g+40>>2]=N[o>>2];N[g+44>>2]=b;b=N[d+36>>2];N[g+32>>2]=N[d+32>>2];N[g+36>>2]=b;b=N[d+28>>2];N[g+24>>2]=N[d+24>>2];N[g+28>>2]=b;h=0;if(!ye(a,g+40|0,g+24|0,m)){break b}N[a+60>>2]=p&N[a+60>>2];l=S[d+32>>3]*S[a+24>>3];y:{if(V(l)<2147483648){b=~~l;break y}b=-2147483648}l=S[d+24>>3]*S[a+16>>3];z:{if(V(l)<2147483648){c=~~l;break z}c=-2147483648}if(i){N[g+148>>2]=b+k;N[g+144>>2]=c+q;d=N[a>>2];e=N[g+148>>2];N[g+16>>2]=N[g+144>>2];N[g+20>>2]=e;if(!Fb(d,g+16|0,1)){break b}}if(u){N[g+148>>2]=k-b;N[g+144>>2]=q-c;a=N[a+4>>2];b=N[g+148>>2];N[g+8>>2]=N[g+144>>2];N[g+12>>2]=b;if(!Fb(a,g+8|0,1)){break b}}h=1;break b}b=N[d+4>>2];N[g+144>>2]=N[d>>2];N[g+148>>2]=b;b=N[d+12>>2];N[g+152>>2]=N[d+8>>2];N[g+156>>2]=b;n=S[d+16>>3];s=l;l=1/j;S[g+176>>3]=s*l;S[g+184>>3]=j;S[g+168>>3]=r*l;S[g+160>>3]=n*.5;b=N[d+36>>2];N[g+200>>2]=N[d+32>>2];N[g+204>>2]=b;b=N[d+28>>2];N[g+192>>2]=N[d+24>>2];N[g+196>>2]=b;S[g+208>>3]=S[d+40>>3]*.5;h=0;if(!yi(a,g+272|0,g+224|0,g+144|0,m,f)){break b}h=yi(a,o,g+240|0,g+168|0,m,0)}La=g+320|0;return h}ba(9920,18249,281,9160);B()}function wm(){var a=0,b=0;ja(25360,25384,25420,0,25436,2,440648,0,440648,0,9426,25439,3);a=eb(4);N[a>>2]=0;b=eb(4);N[b>>2]=0;ca(25360,440650,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=4;b=eb(4);N[b>>2]=4;ca(25360,440652,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=8;b=eb(4);N[b>>2]=8;ca(25360,8314,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=12;b=eb(4);N[b>>2]=12;ca(25360,440634,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=6;ca(25360,8490,25360,25442,7,a|0,0,0,0,0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25360,16119,584936,25442,8,a|0,584936,25446,9,b|0);ja(25464,25484,25516,0,25436,10,440648,0,440648,0,16003,25439,11);a=eb(4);N[a>>2]=12;b=eb(4);N[b>>2]=13;ca(25464,15914,440720,25442,14,a|0,440720,25446,15,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=17;ca(25464,15901,440720,25442,14,a|0,440720,25446,15,b|0);a=eb(4);N[a>>2]=8;b=eb(4);N[b>>2]=8;ca(25464,15426,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25464,11798,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=20;b=eb(4);N[b>>2]=20;ca(25464,11812,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=24;b=eb(4);N[b>>2]=24;ca(25464,11839,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=28;b=eb(4);N[b>>2]=28;ca(25464,11828,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=32;ca(25464,16733,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=36;ca(25464,17754,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=40;b=eb(4);N[b>>2]=40;ca(25464,15749,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=44;b=eb(4);N[b>>2]=44;ca(25464,8720,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=48;b=eb(4);N[b>>2]=48;ca(25464,18724,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=56;b=eb(4);N[b>>2]=56;ca(25464,18592,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=64;b=eb(4);N[b>>2]=64;ca(25464,15170,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=72;b=eb(4);N[b>>2]=72;ca(25464,16029,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=80;b=eb(4);N[b>>2]=80;ca(25464,15944,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=88;b=eb(4);N[b>>2]=88;ca(25464,15741,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=96;b=eb(4);N[b>>2]=96;ca(25464,8274,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=104;b=eb(4);N[b>>2]=104;ca(25464,9279,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=108;b=eb(4);N[b>>2]=108;ca(25464,19806,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=112;b=eb(4);N[b>>2]=112;ca(25464,19589,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=116;b=eb(4);N[b>>2]=116;ca(25464,19116,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=120;b=eb(4);N[b>>2]=120;ca(25464,15161,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=124;b=eb(4);N[b>>2]=124;ca(25464,12555,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=128;b=eb(4);N[b>>2]=128;ca(25464,11871,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=136;b=eb(4);N[b>>2]=136;ca(25464,7942,584912,25442,22,a|0,584912,25446,23,b|0);ja(25552,25572,25604,0,25436,24,440648,0,440648,0,9260,25439,25);a=eb(4);N[a>>2]=26;b=eb(4);N[b>>2]=27;ca(25552,8828,584920,25442,28,a|0,584928,25446,29,b|0);a=eb(4);N[a>>2]=30;b=eb(4);N[b>>2]=31;ca(25552,12789,584920,25442,28,a|0,584928,25446,29,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=33;ca(25552,15914,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=37;ca(25552,9655,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=38;b=eb(4);N[b>>2]=39;ca(25552,8635,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25552,12056,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=20;b=eb(4);N[b>>2]=20;ca(25552,11954,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=24;b=eb(4);N[b>>2]=24;ca(25552,16007,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=32;ca(25552,19806,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=36;ca(25552,19589,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=40;b=eb(4);N[b>>2]=40;ca(25552,19116,584912,25442,40,a|0,584912,25446,41,b|0);ja(25628,25648,25676,0,25436,42,440648,0,440648,0,20429,25439,43);Aa(25628,5,25696,25716,44,45);a=eb(8);N[a+4>>2]=0;N[a>>2]=46;da(25628,13322,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=48;da(25628,10652,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=49;da(25628,13148,3,25736,25446,50,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=51;da(25628,13760,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=53;da(25628,11425,4,25760,25776,54,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=55;da(25628,7890,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=56;da(25628,9110,5,25792,25812,57,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=58;da(25628,9843,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=59;da(25628,12849,6,25824,25848,60,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=61;da(25628,8981,2,25856,25442,62,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=63;da(25628,9249,2,25864,25442,64,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=65;da(25628,15992,2,25864,25442,64,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=66;da(25628,9237,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=67;da(25628,9005,2,25856,25442,62,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=68;da(25628,15966,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=69;da(25628,10080,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=70;da(25628,10284,4,25760,25776,54,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=71;da(25628,16622,4,25872,25888,72,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=73;da(25628,16125,4,25872,25888,72,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=74;da(25628,9228,3,25896,25908,75,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=76;da(25628,15935,3,25916,25908,77,a|0,0,0);a=eb(4);N[a>>2]=664;b=eb(4);N[b>>2]=664;ca(25628,16451,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=668;b=eb(4);N[b>>2]=668;ca(25628,16901,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=672;b=eb(4);N[b>>2]=672;ca(25628,8975,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=676;b=eb(4);N[b>>2]=676;ca(25628,15816,584912,25442,78,a|0,584912,25446,79,b|0)}function $d(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{if(Q[b+4>>2]>a>>>0){break f}e=N[b+8>>2];if(e>>>0<=a>>>0){break f}c=N[b+12>>2];g=c-1|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break f}g:{h:{switch(O[a|0]-1|0){case 0:d=0;if(e-a>>>0<6){break g}a=c-7|0;N[b+12>>2]=a;break e;case 1:d=0;if(e-a>>>0<5){break g}a=c-6|0;N[b+12>>2]=a;break e;case 2:if(e-a>>>0<9){break f}a=c-10|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break g}a=c-15|0;N[b+12>>2]=a;break e;case 3:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 4:if(e-a>>>0<20){break f}d=c-21|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-37|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 5:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 6:if(e-a>>>0<20){break f}d=c-21|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-37|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 7:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 8:if(e-a>>>0<16){break f}d=c-17|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-29|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 9:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 10:d=0;if(e-a>>>0<3){break g}a=c-4|0;N[b+12>>2]=a;break e;case 11:if(e-a>>>0<7){break f}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!tf(a+1|0,b,a)){break g}i=N[b+4>>2];e=a+4|0;f=0;i:{if(i>>>0>e>>>0){break i}g=N[b+8>>2];f=0;if(g>>>0>>0){break i}f=0;if(g-e>>>0<3){break i}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break i}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);j:{if(!d){break j}a=a+d|0;k:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<24){break k}a=h-27|0;N[b+12>>2]=a;if((a|0)<=0){break k}a=h-51|0;N[b+12>>2]=a;if((a|0)>0){break j}}a=N[b+28>>2];f=0;if(a>>>0>31){break i}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break j}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f;case 12:if(e-a>>>0<7){break f}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!tf(a+1|0,b,a)){break g}i=N[b+4>>2];e=a+4|0;f=0;l:{if(i>>>0>e>>>0){break l}g=N[b+8>>2];f=0;if(g>>>0>>0){break l}f=0;if(g-e>>>0<3){break l}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break l}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);m:{if(!d){break m}a=a+d|0;n:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<28){break n}a=h-31|0;N[b+12>>2]=a;if((a|0)<=0){break n}a=h-55|0;N[b+12>>2]=a;if((a|0)>0){break m}}a=N[b+28>>2];f=0;if(a>>>0>31){break l}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break m}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f;case 13:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 14:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 15:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 16:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 17:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 18:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Tp(a,b);case 19:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 20:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Sp(a,b);case 21:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 22:if(e-a>>>0<14){break f}c=c-15|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Rp(a,b);case 23:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 24:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Sp(a,b);case 25:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 26:if(e-a>>>0<14){break f}c=c-15|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Rp(a,b);case 27:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 28:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 29:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 30:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Tp(a,b);case 31:break h;default:break g}}if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!tf(a+1|0,b,a)){break g}d=tf(a+5|0,b,a)}return d}return 0}return(a|0)>0}i=N[b+4>>2];e=a+1|0;f=0;o:{if(i>>>0>e>>>0){break o}g=N[b+8>>2];f=0;if(g>>>0>>0){break o}f=0;if(g-e>>>0<3){break o}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break o}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);p:{if(!d){break p}a=a+d|0;q:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<3){break q}c=h-6|0;N[b+12>>2]=c;if((c|0)<=0){break q}d=a+1|0;if(d>>>0>g>>>0|g-d>>>0<2){break q}h=h-8|0;N[b+12>>2]=h;c=1;if((h|0)<=0){break q}d=O[d|0]|O[d+1|0]<<8;if(!d){break p}a=a+3|0;if(a>>>0>g>>>0){break q}f=g-a|0;a=T((d<<8|d>>>8)&65535,6);if(f>>>0>>0){break q}a=h-a|0;N[b+12>>2]=a;if((a|0)>0){break p}}a=N[b+28>>2];f=0;if(a>>>0>31){break o}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break p}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f}i=N[b+4>>2];e=a+1|0;f=0;r:{if(i>>>0>e>>>0){break r}g=N[b+8>>2];f=0;if(g>>>0>>0){break r}f=0;if(g-e>>>0<3){break r}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break r}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);s:{if(!d){break s}a=a+d|0;t:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<3){break t}c=h-6|0;N[b+12>>2]=c;if((c|0)<=0){break t}d=a+1|0;if(d>>>0>g>>>0|g-d>>>0<2){break t}h=h-8|0;N[b+12>>2]=h;c=1;if((h|0)<=0){break t}d=O[d|0]|O[d+1|0]<<8;if(!d){break s}a=a+3|0;if(a>>>0>g>>>0){break t}f=g-a|0;a=T((d<<8|d>>>8)&65535,10);if(f>>>0>>0){break t}a=h-a|0;N[b+12>>2]=a;if((a|0)>0){break s}}a=N[b+28>>2];f=0;if(a>>>0>31){break r}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break s}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f}return tf(a+1|0,b,a)}u:{v:{if(Q[b+4>>2]>a>>>0){break v}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break v}d=N[b+12>>2];e=d-8|0;N[b+12>>2]=e;if((e|0)<=0){break v}e=a+1|0;if(e>>>0>c>>>0|c-e>>>0<3){break v}d=d-11|0;N[b+12>>2]=d;c=1;if((d|0)<=0){break v}d=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);w:{if(!d){break w}e=N[b+20>>2];x:{if((e|0)>15){break x}e=e+1|0;N[b+20>>2]=e;if(!e){break x}d=$d(a+d|0,b);N[b+20>>2]=N[b+20>>2]-1;if(d){break w}}c=N[b+28>>2];if(c>>>0>31){break v}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break w}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}break u}c=0}return c}function Wk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{b:{c:{d:{e:{f:{g:{h:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break a}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=228;N[e+12>>2]=229;N[e+8>>2]=230;N[e+4>>2]=a;i:{j:{d=O[a+2|0]|O[a+3|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break j;case 1:break i;default:break b}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}d=a+4|0;k=c<<8|c>>>8;i=k&65535;m=i&1;k:{if((c|0)==256){a=0;c=d;break k}h=i&65534;a=0;c=d;while(1){l=a;a=O[c|0]|O[c+1|0]<<8;l=l|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=l|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;c=d;a=0;if((k&65535)>>>0>=4){f=i&65532;while(1){a=1<>2]=a;a=0;if((k&65535)>>>0<4){c=0;break c}f=i&65532;c=0;g=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break c}Ub(a,e+20|0);break b}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=231;N[e+12>>2]=232;N[e+8>>2]=233;N[e+4>>2]=a;l:{m:{d=O[a+2|0]|O[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break d}d=d+4|0;k=c<<8|c>>>8;n=k&65535;m=n&1;n:{if((c|0)==256){c=d;break n}h=n&65534;c=d;while(1){l=f;f=O[c|0]|O[c+1|0]<<8;l=l|1<<(f>>>12|f<<4);f=O[c+2|0]|O[c+3|0]<<8;f=l|1<<(f>>>12|f<<4);c=c+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(m){c=O[c|0]|O[c+1|0]<<8;f=1<<(c>>>12|c<<4)|f}N[e+20>>2]=f;i=n&3;c=d;f=0;if((k&65535)>>>0>=4){h=n&65532;m=0;while(1){f=1<>2]=f;f=0;if((k&65535)>>>0<4){c=0;break e}h=n&65532;c=0;j=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;j=j+4|0;if((h|0)!=(j|0)){continue}break}break e}Ub(d,e+20|0);break d}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=234;N[e+12>>2]=235;N[e+8>>2]=236;N[e+4>>2]=a;d=275552;c=O[a+2|0]|O[a+3|0]<<8;c=((((c<<8|c>>>8)&65535)<<1)+a|0)+4|0;if(O[c|0]|O[c+1|0]<<8){c=c+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}o:{p:{q:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break o}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break o}d=d+4|0;k=c<<8|c>>>8;i=k&65535;m=i&1;a=N[e+20>>2];r:{if((c|0)==256){c=d;break r}h=i&65534;c=d;while(1){l=a;a=O[c|0]|O[c+1|0]<<8;l=l|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=l|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;a=N[e+24>>2];s:{if((k&65535)>>>0<4){c=d;break s}f=i&65532;c=d;while(1){a=1<>2]=a;c=N[e+28>>2];if((k&65535)>>>0>=4){f=i&65532;a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;a=a+4|0;if((f|0)!=(a|0)){continue}break}}if(h){a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c;break o}Ub(d,e+20|0)}t:{u:{v:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break v}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break u}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break t}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a;break a}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}N[e+28>>2]=c}w:{x:{y:{z:{d=N[b+4>>2];c=N[d>>2];if((c|0)>=0){g=N[d+4>>2];f=g+1|0;if(f>>>0<=c>>>0){break z}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){j=$a(N[d+8>>2],T(c,28));if(j){break y}}N[d>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break w}j=N[d+8>>2];break x}N[d>>2]=c;N[d+8>>2]=j;g=N[d+4>>2];f=g+1|0}N[d+4>>2]=f;d=N[e+8>>2];c=T(g,28)+j|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=d;N[c+24>>2]=N[e+28>>2];d=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=d;d=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=d}d=O[a+8|0]|O[a+9|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=0;A:{B:{C:{f=O[c|0]|O[c+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break B;case 0:break C;default:break A}}d=1;break A}d=O[c+2|0]|O[c+3|0]<<8;d=d?32-W((d<<8|d>>>8)&65535)|0:0}a=O[a+10|0]|O[a+11|0]<<8;a=T((a<<8|a>>>8)&65535,d);d=a>>>0>3?a:0;if(d>>>0<=Q[b+12>>2]){break a}a=N[b+4>>2];if(N[a>>2]<0){break a}a=N[a+4>>2];N[b+12>>2]=d;N[b+8>>2]=a-1;break a}if(h){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c}D:{E:{F:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break F}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break E}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break D}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a}La=e+32|0}function at(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=N[a+872>>2];a:{if(!d|!N[d+20>>2]){break a}f=N[d+36>>2];if(!f){break a}b:{if(O[b+4|0]){N[c>>2]=12;b=N[b>>2];L[c+8|0]=0;N[c+4>>2]=b;b=N[a+88>>2];q=N[b+20>>2];e=q+32>>6;l=N[b+16>>2];f=l+32>>6;g=N[a+128>>2];c:{if(!(L[g+24|0]&1)){b=0;break c}h=N[g>>2];b=h>>31;d=f>>31;d=(d^f)-d|0;j=d>>>8|0;b=(b^h)-b|0;d:{if(j+b>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}f=b&65535;b=T(f,d>>>16|0)+T(d,b>>>16|0)+(T(f,d&65535)+32768>>>16)|0}i=(l|0)<-32;k=h>>31|1;m=0-k|0;h=N[g+4>>2];n=h>>31|1;r=0-n|0;o=e;e=e>>31;f=(o^e)-e|0;p=f>>>8|0;e=h>>31;e=(e^h)-e|0;e:{if(p+e>>>0<=8190){e=T(e,f)+32768>>>16|0;break e}h=e&65535;e=T(h,f>>>16|0)+T(f,e>>>16|0)+(T(h,f&65535)+32768>>>16)|0}k=i?m:k;m=(q|0)<-32?r:n;i=N[g+8>>2];h=i>>31;h=(h^i)-h|0;f:{if(h+j>>>0<=8190){d=T(d,h)+32768>>>16|0;break f}j=h&65535;d=T(j,d>>>16|0)+T(d,h>>>16|0)+(T(j,d&65535)+32768>>>16)|0}h=(k|0)<0;j=0-b|0;k=0-e|0;m=(m|0)<0;i=i>>31|1;l=(((l|0)<-32?0-i|0:i)|0)<0;i=0-d|0;g=N[g+12>>2];n=g>>31|1;r=0-n|0;o=g;g=g>>31;g=(o^g)-g|0;g:{if(g+p>>>0<=8190){g=T(f,g)+32768>>>16|0;break g}p=g&65535;g=T(p,f>>>16|0)+T(f,g>>>16|0)+(T(p,f&65535)+32768>>>16)|0}f=h?j:b;b=m?k:e;h=l?i:d;e=(((q|0)<-32?r:n)|0)<0?0-g|0:g}N[c+28>>2]=e;N[c+24>>2]=h;N[c+16>>2]=b;N[c+12>>2]=f;b=N[a+128>>2];if(O[b+24|0]&2){N[c+20>>2]=N[b+16>>2]<<10;N[c+32>>2]=N[N[a+128>>2]+20>>2]<<10;break b}N[c+32>>2]=0;N[c+20>>2]=0;break b}a=N[b>>2];if(!a){break a}b=N[d+32>>2];if(b>>>0>a>>>0){break a}f=f+N[d+40>>2]|0;if(f>>>0<=a>>>0){break a}g=O[a|0];N[c>>2]=g;if(g>>>0>32){break a}h:{switch(g-1|0){case 0:f=N[d+24>>2];b=O[a+1|0];if(f>>>0>>0){break a}a=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(f>>>0>>0){break a}N[c+4>>2]=b;N[c+8>>2]=0;N[c+12>>2]=(N[d+28>>2]+(a<<2)|0)+4;break b;case 1:b=O[a+1|0]|O[a+2|0]<<8;M[c+4>>1]=b<<8|b>>>8;a=O[a+3|0]|O[a+4|0]<<8;M[c+6>>1]=a<<8|a>>>8;break b;case 10:N[c+4>>2]=O[a+2|0]|O[a+1|0]<<8;break b;default:break h}}h=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);if(!h){break a}o=b;b=a+h|0;if(o>>>0>b>>>0|b>>>0>=f>>>0){break a}i:{switch(g-4|0){case 0:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8;N[c+28>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+10|0]|O[a+11|0]<<8;N[c+32>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+12|0]|O[a+13|0]<<8;N[c+36>>2]=(b<<8|b>>>8)<<16>>16;a=O[a+14|0]|O[a+15|0]<<8;N[c+40>>2]=(a<<8|a>>>8)<<16>>16;break b;case 2:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8;M[c+28>>1]=b<<8|b>>>8;b=O[a+10|0]|O[a+11|0]<<8;N[c+32>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+12|0]|O[a+13|0]<<8;N[c+36>>2]=(b<<8|b>>>8)<<16>>16;a=O[a+14|0]|O[a+15|0]<<8;M[c+40>>1]=a<<8|a>>>8;break b;case 4:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+32>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 6:N[c+4>>2]=b;L[c+8|0]=0;N[c+12>>2]=O[a+5|0]|O[a+4|0]<<8;break b;case 8:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);N[c+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);N[c+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);N[c+32>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 10:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 12:case 14:case 16:case 18:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[c+12>>2]=f;e=a+8|0;j:{switch(g-16|0){case 0:case 2:b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);e=a+12|0;break;default:break j}}N[c+16>>2]=f;k:{l:{switch(g-18|0){case 0:case 4:a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[c+20>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break k;default:break l}}N[c+20>>2]=0;a=0}N[c>>2]=16;N[c+24>>2]=a;break b;case 20:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+20>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 24:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);N[c+24>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 28:break i;default:break a}}N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0];if(b>>>0>26){break a}N[c+12>>2]=b;b=O[a+7|0]|(O[a+6|0]<<8|O[a+5|0]<<16);if(!b){break a}a=a+b|0;if(a>>>0>2]|a>>>0>=N[d+36>>2]+N[d+40>>2]>>>0){break a}L[c+20|0]=0;N[c+16>>2]=a}e=1}return e|0}function fu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=La-16|0;La=j;N[j+8>>2]=0;f=N[e+32>>2];h=N[f+100>>2];a:{b:{c:{if(bb(a,19233,7)){break c}d:{i=O[a+7|0];switch(i|0){case 0:case 9:case 10:case 13:case 32:break d;default:break c}}g=N[f+88>>2];k=(i?-8:-7)+b|0;l=k+1|0;b=g+l|0;if((b|g)<0){c=6;break b}c=N[f+84>>2];e:{f:{g:{if(!b){d=0;if(!c){break g}Qa[N[h+8>>2]](h,c);N[f+84>>2]=0;break e}m=(b|0)<=(g|0);h:{if(!g){d=Qa[N[h+4>>2]](h,b)|0;c=!d<<6;break h}b=Qa[N[h+12>>2]](h,g,b,c)|0;d=b?b:c;c=!b<<6}if(m|c|!d){break f}C(d+g|0,0,l)}N[f+84>>2]=d;break e}N[f+84>>2]=d;if(c){break b}}b=N[f+88>>2]+d|0;F(b,i?a+8|0:a+7|0,k);L[b+k|0]=10;N[f+88>>2]=l+N[f+88>>2];c=0;break a}i:{j:{k:{l:{m:{g=N[e>>2];if(!(g&32)){c=180;if(bb(a,19438,5)){break b}n:{switch(O[a+5|0]){case 0:case 9:case 10:case 13:case 32:break n;default:break b}}c=Kc(e+40|0,22537,a,b);if(c){break b}c=N[N[e+40>>2]+4>>2];if(!c){break m}a=L[c|0];b=a&255;if(!b|!(O[(b>>>3|0)+45040|0]>>>(a&7)&1)){break m}b=0;o:{p:{while(1){if(b>>>0>=429496728){c=f+48|0;a=Q[e+60>>2]/20|0;b=e+4|0;break p}b=O[a+45072|0]+T(b,10)|0;a=L[c+1|0];c=c+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}N[f+48>>2]=b;N[e+4>>2]=b;c=f+48|0;a=Q[e+60>>2]/20|0;if(b>>>0<=a>>>0){a=b;break o}b=e+4|0}N[c>>2]=a;N[b>>2]=a}if(!a){break l}c=6;if(a>>>0>1114111){break b}break k}q:{if(bb(a,19213,7)){break q}r:{switch(O[a+7|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}c=186;if(g&4032){break b}Zc(N[f+56>>2],N[f+52>>2],36,174);N[e>>2]=N[e>>2]&-2;N[d>>2]=175;c=0;break a}s:{if(bb(a,19733,7)){break s}t:{switch(O[a+7|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break s}}c=0;N[e+28>>2]=0;N[e>>2]=g&-4033;break a}d=g&64;if(!(N[N[e+36>>2]+4>>2]|(!d|N[e+28>>2]!=-1))){c=0;break a}u:{if(bb(a,19723,9)){break u}v:{switch(O[a+9|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break u}}c=181;if(g&4032){break b}c=N[e+24>>2];if(c){Qa[N[h+8>>2]](h,c)}N[e+24>>2]=0;d=e+40|0;c=Kc(d,22537,a,b);if(c){break b}cm(d);d=bm(d,j+12|0);if(!d){c=3;break b}a=e+24|0;c=N[j+12>>2];b=c+1|0;w:{if(c>>>0<=2147483646){c=Qa[N[h+4>>2]](h,b)|0;if(c){break w}break j}c=6;if(b){break i}c=0}N[e+24>>2]=c;F(c,d,b);N[e>>2]=N[e>>2]|64;c=0;break a}x:{y:{z:{if(bb(a,19971,8)){break z}A:{switch(O[a+8|0]){case 0:case 9:case 10:case 13:case 32:break A;default:break z}}c=181;if(!d){break b}c=Kc(e+40|0,22537,a,b);N[j+8>>2]=c;if(c){break b}c=N[e+40>>2];a=am(N[c+4>>2]);b=(a|0)>=0;a=b?a:-1;N[e+28>>2]=a;if(!(Q[e+48>>2]<3|b)){a=am(N[c+8>>2]);N[e+28>>2]=a}if(a-1114112>>>0<=4293853182){N[e+28>>2]=-1;break y}if((a|0)<0){break y}c=N[f+52>>2];B:{if((c|0)!=N[f+48>>2]){b=N[f+56>>2];break B}b=lb(h,36,c,c- -64|0,N[f+56>>2],j+8|0);N[f+56>>2]=b;c=N[j+8>>2];if(c){break b}N[f+48>>2]=N[f+48>>2]- -64;c=N[f+52>>2];a=N[e+28>>2]}N[f+52>>2]=c+1;d=N[e+24>>2];b=T(c,36)+b|0;N[b+4>>2]=a;N[b>>2]=d;break x}c=182;if(!(g&128)){break b}c=N[e+28>>2]==-1;d=N[f+(c?64:52)>>2]-1|0;i=N[f+(c?68:56)>>2];if(g&2048){b=N[e+8>>2];i=i+T(d,36)|0;if(b>>>0>=P[i+14>>1]){c=0;if((g|0)<0){break a}N[e>>2]=g|-2147483648;break a}c=b;b=N[i+28>>2];f=N[i+24>>2]+T(c,b)|0;c=0;d=b<<1;C:{if(!d){b=0;break C}D:{while(1){b=c;g=O[c+a|0];c=g<<24>>24;if(!(O[(g>>>3|0)+45216|0]>>>(c&7)&1)){break D}L[f|0]=O[c+45072|0]+(O[f|0]<<4);c=b+1|0;if(!(!(b&1)|d>>>0<=c>>>0)){L[f+1|0]=0;f=f+1|0}if((c|0)!=(d|0)){continue}break}b=d;break C}c=N[e>>2];if(c&1073741824){break C}N[e>>2]=c|1073741824}c=P[i+12>>1];if(c){L[f|0]=O[f|0]&O[(T(c,P[N[e+32>>2]+96>>1])&7)+45200|0]}E:{if((b|0)!=(d|0)){break E}a=O[a+d|0];if(!(O[(a>>>3|0)+45216|0]>>>(a&7)&1)){break E}a=N[e>>2];if(a&1073741824){break E}N[e>>2]=a|1073741824}N[e+8>>2]=N[e+8>>2]+1;c=N[j+8>>2];if(c){break b}c=0;break a}F:{if(bb(a,19942,6)){break F}G:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break G;default:break F}}c=Kc(e+40|0,22537,a,b);if(c){break b}n=i+T(d,36)|0,o=Ye(N[N[e+40>>2]+4>>2]),M[n+8>>1]=o;N[e>>2]=N[e>>2]|256;c=0;break a}H:{if(bb(a,19949,6)){break H}I:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break I;default:break H}}c=Kc(e+40|0,22537,a,b);if(c){break b}a=i+T(d,36)|0;b=Ye(N[N[e+40>>2]+4>>2]);M[a+10>>1]=b;c=N[e>>2];if(!(c&256)){n=a,o=jb(b&65535,72e3,T(N[f+20>>2],N[f+16>>2])),M[n+8>>1]=o}N[e>>2]=c|512;c=0;break a}c=3;J:{if(bb(a,18801,3)){break J}K:{switch(O[a+3|0]){case 0:case 9:case 10:case 13:case 32:break K;default:break J}}c=Kc(e+40|0,22537,a,b);if(c){break b}a=i+T(d,36)|0;c=N[e+40>>2];h=Tf(N[c+4>>2]);M[a+12>>1]=h;g=Tf(N[c+8>>2]);M[a+14>>1]=g;b=Ze(N[c+12>>2]);M[a+16>>1]=b;c=Ze(N[c+16>>2]);M[a+18>>1]=c;k=0-c|0;M[a+22>>1]=k;c=c+g|0;M[a+20>>1]=c;g=b+h|0;M[e+22>>1]=g;c=c<<16>>16;l=M[e+18>>1];M[e+18>>1]=(c|0)>(l|0)?c:l;c=M[e+20>>1];k=k<<16>>16;M[e+20>>1]=(c|0)>(k|0)?c:k;c=g<<16>>16;g=M[e+16>>1];M[e+16>>1]=(c|0)>(g|0)?c:g;c=M[e+12>>1];M[e+12>>1]=(b|0)<(c|0)?b:c;c=M[e+14>>1];M[e+14>>1]=(b|0)>(c|0)?b:c;c=N[e>>2];if(!(c&512)){M[a+10>>1]=h}L:{if(!N[N[e+36>>2]>>2]){break L}a=i+T(d,36)|0;d=P[a+8>>1];b=jb(P[a+10>>1],72e3,T(N[f+20>>2],N[f+16>>2]));if((d|0)==(b&65535)){break L}M[a+8>>1]=b;c=c|4096}N[e>>2]=c|1024;c=0;break a}if(bb(a,19744,6)){break b}M:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break b}}c=183;if(!(g&1024)){break b}a=i+T(d,36)|0;f=T(P[f+96>>1],P[a+12>>1]);b=f+7>>>3|0;N[a+28>>2]=b;c=184;if(f>>>0>524280){break b}a=T(b,P[a+14>>1]);if(a>>>0>65535){break b}b=i+T(d,36)|0;M[b+32>>1]=a;c=0;f=0;N:{if((a|0)>0){f=Qa[N[h+4>>2]](h,a)|0;if(!f){break N}C(f,0,a)}N[b+24>>2]=f;N[e+8>>2]=0;N[e>>2]=N[e>>2]|2048;break a}a=(i+T(d,36)|0)+24|0;break j}if(N[N[e+36>>2]+4>>2]){a=N[f+64>>2];O:{if((a|0)!=N[f+60>>2]){b=N[f+68>>2];break O}b=lb(h,36,a,a+4|0,N[f+68>>2],j+8|0);N[f+68>>2]=b;c=N[j+8>>2];if(c){break b}N[f+60>>2]=N[f+60>>2]+4;a=N[f+64>>2]}b=T(a,36)+b|0;N[b>>2]=N[e+24>>2];N[f+64>>2]=a+1;N[b+4>>2]=a;break x}a=N[e+24>>2];if(!a){break x}Qa[N[h+8>>2]](h,a)}c=0;N[e+24>>2]=0;N[e>>2]=N[e>>2]&1073741695|128;break a}N[f+48>>2]=0;N[e+4>>2]=0;c=f+48|0}a=64;N[c>>2]=64}b=T(a,36);a=Qa[N[h+4>>2]](h,b)|0;if(a){c=0;C(a,0,b);N[f+56>>2]=a;N[e>>2]=N[e>>2]|32;break a}a=f+56|0}c=64}N[a>>2]=0}if(!(O[e|0]&64)){break a}a=N[e+24>>2];if(a){Qa[N[h+8>>2]](h,a)}N[e+24>>2]=0}La=j+16|0;return c|0}function Vk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{b:{c:{d:{e:{f:{g:{h:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break a}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=237;N[e+12>>2]=238;N[e+8>>2]=239;N[e+4>>2]=a;i:{j:{d=O[a+2|0]|O[a+3|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break j;case 1:break i;default:break b}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}d=a+4|0;l=c<<8|c>>>8;i=l&65535;m=i&1;k:{if((c|0)==256){a=0;c=d;break k}h=i&65534;a=0;c=d;while(1){k=a;a=O[c|0]|O[c+1|0]<<8;k=k|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=k|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;c=d;a=0;if((l&65535)>>>0>=4){f=i&65532;while(1){a=1<>2]=a;a=0;if((l&65535)>>>0<4){c=0;break c}f=i&65532;c=0;g=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break c}Ub(a,e+20|0);break b}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=240;N[e+12>>2]=241;N[e+8>>2]=242;N[e+4>>2]=a;l:{m:{d=O[a+2|0]|O[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break d}d=d+4|0;l=c<<8|c>>>8;n=l&65535;m=n&1;n:{if((c|0)==256){c=d;break n}h=n&65534;c=d;while(1){k=f;f=O[c|0]|O[c+1|0]<<8;k=k|1<<(f>>>12|f<<4);f=O[c+2|0]|O[c+3|0]<<8;f=k|1<<(f>>>12|f<<4);c=c+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}k=e;if(m){c=O[c|0]|O[c+1|0]<<8;f=1<<(c>>>12|c<<4)|f}N[k+20>>2]=f;i=n&3;c=d;f=0;if((l&65535)>>>0>=4){h=n&65532;m=0;while(1){f=1<>2]=f;f=0;if((l&65535)>>>0<4){c=0;break e}h=n&65532;c=0;j=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;j=j+4|0;if((h|0)!=(j|0)){continue}break}break e}Ub(d,e+20|0);break d}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=243;N[e+12>>2]=244;N[e+8>>2]=245;N[e+4>>2]=a;o:{p:{q:{d=O[a+6|0]|O[a+7|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break o}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break o}d=a+4|0;l=c<<8|c>>>8;i=l&65535;m=i&1;a=N[e+20>>2];r:{if((c|0)==256){c=d;break r}h=i&65534;c=d;while(1){k=a;a=O[c|0]|O[c+1|0]<<8;k=k|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=k|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;a=N[e+24>>2];s:{if((l&65535)>>>0<4){c=d;break s}f=i&65532;c=d;while(1){a=1<>2]=a;c=N[e+28>>2];if((l&65535)>>>0>=4){f=i&65532;a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;a=a+4|0;if((f|0)!=(a|0)){continue}break}}if(h){a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c;break o}Ub(a,e+20|0)}t:{u:{v:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break v}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break u}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break t}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a;break a}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}N[e+28>>2]=c}w:{x:{y:{z:{d=N[b+4>>2];c=N[d>>2];if((c|0)>=0){g=N[d+4>>2];f=g+1|0;if(f>>>0<=c>>>0){break z}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){j=$a(N[d+8>>2],T(c,28));if(j){break y}}N[d>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break w}j=N[d+8>>2];break x}N[d>>2]=c;N[d+8>>2]=j;g=N[d+4>>2];f=g+1|0}N[d+4>>2]=f;d=N[e+8>>2];c=T(g,28)+j|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=d;N[c+24>>2]=N[e+28>>2];d=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=d;d=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=d}d=O[a+4|0]|O[a+5|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=0;A:{B:{C:{f=O[c|0]|O[c+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break B;case 0:break C;default:break A}}d=1;break A}d=O[c+2|0]|O[c+3|0]<<8;d=d?32-W((d<<8|d>>>8)&65535)|0:0}a=O[a+6|0]|O[a+7|0]<<8;a=T((a<<8|a>>>8)&65535,d);d=a>>>0>3?a:0;if(d>>>0<=Q[b+12>>2]){break a}a=N[b+4>>2];if(N[a>>2]<0){break a}a=N[a+4>>2];N[b+12>>2]=d;N[b+8>>2]=a-1;break a}if(h){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c}D:{E:{F:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break F}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break E}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break D}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a}La=e+32|0}function uo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;h=La-880|0;La=h;a:{b:{c:{d:{e:{if(b<.5){N[a>>2]=0;N[a+4>>2]=4;N[h+24>>2]=0;N[h+28>>2]=0;N[h+16>>2]=0;N[h+20>>2]=0;d=b*.085*b*b;S[h+8>>3]=d;S[h>>3]=b*.5+d*-4;l=4;break e}m=1-Vd(aa(b*.11569+.20591047),a);f=+N[a>>2]*-2;A(+f);c=v(1)|0;v(0)|0;c=c>>>20&2047;f:{if(c-969>>>0>=63){d=f+1;if(c>>>0<969){break f}A(+f);e=v(1)|0;g=v(0)|0;g:{if(c>>>0<1033){break g}d=0;if(!g&(e|0)==-1048576){break f}d=f+1;if(c>>>0>=2047){break f}if((e|0)>0|(e|0)>=0){c=La-16|0;S[c+8>>3]=3105036184601418e216;d=S[c+8>>3]*3105036184601418e216;break f}if(e>>>0<3230714880){break g}c=La-16|0;S[c+8>>3]=12882297539194267e-247;d=S[c+8>>3]*12882297539194267e-247;break f}i=c;c=e<<1|g>>>31;c=!(g<<1)&(c|0)==-2129002496|c>>>0<2165964800?i:0}d=S[136];o=d+f;d=f-(o-d);f=d*d;p=f*f*(d*S[141]+S[140]);f=f*(d*S[139]+S[138]);d=d*S[137];A(+o);v(1)|0;j=v(0)|0;g=j<<4&2032;d=p+(f+(d+S[g+1136>>3]));g=g+1144|0;i=N[g>>2];l=N[g+4>>2];g=0+i|0;e=(j<<13)+l|0;e=g>>>0>>0?e+1|0:e;if(!c){h:{if(!(j&-2147483648)){x(0,g|0);x(1,e+-1048576|0);f=+z();d=f*d+f;d=d+d;break h}x(0,g|0);x(1,e+1071644672|0);f=+z();o=f*d;d=o+f;if(d<1){c=La-16|0;N[c+8>>2]=0;N[c+12>>2]=1048576;S[c+8>>3]=S[c+8>>3]*22250738585072014e-324;p=d+1;d=p+(o+(f-d)+(d+(1-p)))+-1;d=d==0?0:d}d=d*22250738585072014e-324}break f}x(0,g|0);x(1,e|0);f=+z();d=f*d+f}f=m*(d*.8335+10.1525);i:{if(V(f)<2147483648){g=~~f;break i}g=-2147483648}l=(g|0)>=4?4:8-g|0;N[a+4>>2]=l;if((l|0)>=9){break d}C(h+784|0,0,88);s=((d*-.013558201058201057+.022569444444444444)*d+-.010416666666666666)*d+.0014054232804232803;f=s+0;q=((d*.08134920634920635+-.04513888888888889)*d+-.0763888888888889)*d+.04017857142857143;t=((d*.27116402116402116+.09027777777777778)*d+.20833333333333334)*d+.43022486772486773;o=t*0;r=((d*-.20337301587301587+-.022569444444444444)*d+-.017361111111111112)*d+.24330357142857142;p=o+r*0;S[h+784>>3]=f*s+(q*0+p);m=q+0;E=m*s;S[h+776>>3]=E+(f*q+p);p=r+0;u=p*s;S[h+768>>3]=u+(m*q+(o+r*f));f=t+0;S[h+760>>3]=f*s+(p*q+(s*t+r*m));m=f*q;f=s+r;S[h+752>>3]=u+(m+(q*t+r*f));S[h+744>>3]=E+(f*q+(r*t+r*(q+t)));u=(s+s)*s+((q+q)*q+(t*t+r*(r+r)));S[h+736>>3]=u;e=0;f=.5/(d*b);b=-f;A(+b);c=v(1)|0;v(0)|0;j:{k:{l:{c=c>>>20&2047;if(c-969>>>0<63){e=c;break l}d=b+1;if(c>>>0<969){break j}if(c>>>0<1033){break l}A(+b);e=v(1)|0;d=0;if(!(v(0)|0)&(e|0)==-1048576){break k}d=b+1;if(c>>>0>=2047){break j}if((e|0)<0){c=La-16|0;S[c+8>>3]=12882297539194267e-247;d=S[c+8>>3]*12882297539194267e-247;break j}c=La-16|0;S[c+8>>3]=3105036184601418e216;d=S[c+8>>3]*3105036184601418e216;break j}d=S[129];m=S[128]*b+d;d=m-d;b=d*S[131]+(d*S[130]+b);d=b*b;o=d*d*(b*S[135]+S[134]);d=d*(b*S[133]+S[132]);A(+m);v(1)|0;j=v(0)|0;i=j<<4&2032;b=o+(d+(S[i+1136>>3]+b));i=i+1144|0;c=0+N[i>>2]|0;i=N[i+4>>2]+(j<<13)|0;i=c>>>0>>0?i+1|0:i;if(!e){m:{if(!(j&-2147483648)){x(0,c|0);x(1,i-1058013184|0);d=+z();d=(d*b+d)*5486124068793689e288;break m}x(0,c|0);x(1,i+1071644672|0);d=+z();m=d*b;b=m+d;if(b<1){c=La-16|0;N[c+8>>2]=0;N[c+12>>2]=1048576;S[c+8>>3]=S[c+8>>3]*22250738585072014e-324;o=b+1;b=o+(m+(d-b)+(b+(1-o)))+-1;b=b==0?0:b}d=b*22250738585072014e-324}break j}x(0,c|0);x(1,i|0);d=+z();d=d*b+d}}f=aa(f/3.141592653589793);b=d*f;S[h+648>>3]=b;S[h+640>>3]=f;if((l|0)<-1){break a}m=d*d;e=l+3|0;c=2;while(1){d=m*d;b=b*d;S[(h+640|0)+(c<<3)>>3]=b;i=(c|0)!=(e|0);c=c+1|0;if(i){continue}break}c=0;if((l|0)<0){break a}E=S[h+664>>3];d=S[h+648>>3];b=d;p=S[h+656>>3];m=p;while(1){o=b;b=f;f=d;d=p;e=(h+640|0)+(c<<3)|0;p=S[e+24>>3];S[e>>3]=(E+p)*s+((d+m)*q+(b*t+r*(f+o)));e=(c|0)==(l|0);c=c+1|0;E=m;m=o;if(!e){continue}break}e=0;if((l|0)<=0){break a}b=u*3;while(1){i=e;y=(h+128|0)+(e<<6)|0;D=e<<3;e=e+1|0;d=S[(h+736|0)+(e<<3)>>3];S[y+D>>3]=d*-4+(b+S[((i<<4)+h|0)+752>>3]);if((e|0)<(l|0)){d=u-d;G=i+2|0;c=e;while(1){k=h+736|0;j=c+1|0;f=d-S[k+(j<<3)>>3];f=f+f+(S[k+(c+G<<3)>>3]+S[k+(c-i<<3)>>3]);S[D+((h+128|0)+(c<<6)|0)>>3]=f;S[y+(c<<3)>>3]=f;c=j;if((l|0)!=(c|0)){continue}break}}if((e|0)!=(l|0)){continue}break}G=l&-4;y=l&3;H=l&-2;D=l&1;w=((g|0)<=4?4:g)+3|0;J=w-g|0;k=0;while(1){I=k<<3;i=(h+128|0)+(k<<6)|0;c=I+i|0;b=S[c>>3];N[c>>2]=0;N[c+4>>2]=1072693248;b=1/b;e=0;while(1){n:{if((e|0)==(k|0)){break n}j=(h+128|0)+(e<<6)|0;c=j+I|0;d=S[c>>3];N[c>>2]=0;N[c+4>>2]=0;d=b*d;c=0;if((g|0)!=(w|0)){while(1){n=c<<3;F=n+j|0;S[F>>3]=S[F>>3]-S[i+n>>3]*d;n=n|8;F=n+j|0;S[F>>3]=S[F>>3]-S[i+n>>3]*d;c=c+2|0;if((H|0)!=(c|0)){continue}break}}if(!D){break n}c=c<<3;j=c+j|0;S[j>>3]=S[j>>3]-S[c+i>>3]*d}e=e+1|0;if((l|0)!=(e|0)){continue}break}j=0;c=0;if(J>>>0>=3){while(1){e=c<<3;n=e+i|0;S[n>>3]=b*S[n>>3];n=i+(e|8)|0;S[n>>3]=b*S[n>>3];n=i+(e|16)|0;S[n>>3]=b*S[n>>3];e=i+(e|24)|0;S[e>>3]=b*S[e>>3];c=c+4|0;if((G|0)!=(c|0)){continue}break}}if(y){while(1){e=i+(c<<3)|0;S[e>>3]=b*S[e>>3];c=c+1|0;j=j+1|0;if((y|0)!=(j|0)){continue}break}}k=k+1|0;if((k|0)!=(l|0)){continue}break}c=0;b=S[h+640>>3];if((g|0)!=(w|0)){while(1){g=c<<3;e=g|8;k=g;g=h- -64|0;i=h+640|0;S[k+g>>3]=S[i+e>>3]+(u-S[e+(h+736|0)>>3]-b);g=e+g|0;c=c+2|0;e=c<<3;S[g>>3]=S[e+i>>3]+(u-S[e+(h+736|0)>>3]-b);if((c|0)!=(H|0)){continue}break}}if(D){e=c<<3;c=e+8|0;S[e+(h- -64|0)>>3]=S[c+(h+640|0)>>3]+(u-S[c+(h+736|0)>>3]-b)}e=l&-4;j=0;H=J>>>0<3;while(1){g=0;d=0;c=0;b=0;if(!H){while(1){i=(h+128|0)+(j<<6)|0;c=g<<3;k=c|24;b=S[i+k>>3];n=k;I=h- -64|0;k=I;w=c|16;m=S[w+i>>3]*S[k+w>>3];w=c|8;d=b*S[n+k>>3]+(m+(S[w+i>>3]*S[w+k>>3]+(S[c+i>>3]*S[c+k>>3]+d)));g=g+4|0;if((G|0)!=(g|0)){continue}break}c=e;b=d}g=0;if(y){while(1){i=c<<3;c=c+1|0;b=S[i+((h+128|0)+(j<<6)|0)>>3]*S[i+(h- -64|0)>>3]+b;d=b;g=g+1|0;if((y|0)!=(g|0)){continue}break}}S[(j<<3)+h>>3]=d<0?0:d;j=j+1|0;if((j|0)!=(l|0)){continue}break}c=0;if((l|0)==1){break b}}i=l&-2;e=a+8|0;while(1){k=e+(c<<1)|0;b=S[(c<<3)+h>>3]*65536+.5;o:{if(V(b)<2147483648){g=~~b;break o}g=-2147483648}M[k>>1]=g;g=c|1;k=e+(g<<1)|0;b=S[(g<<3)+h>>3]*65536+.5;p:{if(V(b)<2147483648){g=~~b;break p}g=-2147483648}M[k>>1]=g;c=c+2|0;if((i|0)!=(c|0)){continue}break}break c}ba(21524,18088,111,15214);B()}if(!D){break a}}e=(c<<1)+a|0;b=S[(c<<3)+h>>3]*65536+.5;q:{if(V(b)<2147483648){a=~~b;break q}a=-2147483648}M[e+8>>1]=a}La=h+880|0}function Lp(a){var b=0,c=0,d=0,e=0,f=0,g=U(0),h=U(0),i=0,j=0,k=0,l=U(0),m=U(0),n=0,o=0,p=0,q=0;c=a;if(!c){c=588540}a:{e=db(1,120);b:{if(!e){e=588752;break b}N[e>>2]=1;N[e+4>>2]=1;if(N[c+4>>2]){N[c+4>>2]=0}N[e+20>>2]=588752;b=N[c>>2];if(b){if((b|0)<=0){break a}N[c>>2]=b+1}N[e+96>>2]=588448;N[e+24>>2]=c;N[e+108>>2]=e;b=N[c+28>>2];if(!b){f=c;c=ae(c+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;b=c-16>>>0>=16369?1e3:c;N[f+28>>2]=b}N[e+28>>2]=b;N[e+32>>2]=b;N[e+64>>2]=65536;N[e+68>>2]=0;N[e+44>>2]=1065353216;N[e+48>>2]=1065353216;N[e+56>>2]=65536;N[e+60>>2]=0}f=db(1,12);c:{if(!f){break c}N[f>>2]=N[e+24>>2]+48;b=N[147452];d:{if(b){break d}while(1){c=db(1,92);e:{if(!c){c=588448;break e}N[c>>2]=1;N[c+4>>2]=1;F(c+20|0,588468,72)}f:{if(!N[c+4>>2]){break f}b=N[c+16>>2];g:{if(!b){break g}d=N[b+8>>2];if(!d){break g}b=N[c+12>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[d|0](b)}N[c+28>>2]=292;b=N[c+12>>2];if(b){N[b+8>>2]=0}b=N[c+16>>2];if(b){N[b+8>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];h:{if(!b){break h}d=N[b+12>>2];if(!d){break h}b=N[c+12>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[d|0](b)}N[c+32>>2]=293;b=N[c+12>>2];if(b){N[b+12>>2]=0}b=N[c+16>>2];if(b){N[b+12>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];i:{if(!b){break i}d=N[b+16>>2];if(!d){break i}b=N[c+12>>2];if(b){b=N[b+16>>2]}else{b=0}Qa[d|0](b)}N[c+36>>2]=294;b=N[c+12>>2];if(b){N[b+16>>2]=0}b=N[c+16>>2];if(b){N[b+16>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];j:{if(!b){break j}d=N[b>>2];if(!d){break j}b=N[c+12>>2];if(b){b=N[b>>2]}else{b=0}Qa[d|0](b)}N[c+20>>2]=295;b=N[c+12>>2];if(b){N[b>>2]=0}b=N[c+16>>2];if(b){N[b>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];k:{if(!b){break k}d=N[b+28>>2];if(!d){break k}b=N[c+12>>2];if(b){b=N[b+28>>2]}else{b=0}Qa[d|0](b)}N[c+48>>2]=296;b=N[c+12>>2];if(b){N[b+28>>2]=0}b=N[c+16>>2];if(b){N[b+28>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];l:{if(!b){break l}d=N[b+4>>2];if(!d){break l}b=N[c+12>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[d|0](b)}N[c+24>>2]=297;b=N[c+12>>2];if(b){N[b+4>>2]=0}b=N[c+16>>2];if(b){N[b+4>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];m:{if(!b){break m}d=N[b+32>>2];if(!d){break m}b=N[c+12>>2];if(b){b=N[b+32>>2]}else{b=0}Qa[d|0](b)}N[c+52>>2]=298;b=N[c+12>>2];if(b){N[b+32>>2]=0}b=N[c+16>>2];if(b){N[b+32>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];n:{if(!b){break n}d=N[b+40>>2];if(!d){break n}b=N[c+12>>2];if(b){b=N[b+40>>2]}else{b=0}Qa[d|0](b)}N[c+60>>2]=299;b=N[c+12>>2];if(b){N[b+40>>2]=0}b=N[c+16>>2];if(b){N[b+40>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];o:{if(!b){break o}d=N[b+68>>2];if(!d){break o}b=N[c+12>>2];if(b){b=N[b+68>>2]}else{b=0}Qa[d|0](b)}N[c+88>>2]=300;b=N[c+12>>2];if(b){N[b+68>>2]=0}b=N[c+16>>2];if(b){N[b+68>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];p:{if(!b){break p}d=N[b+52>>2];if(!d){break p}b=N[c+12>>2];if(b){b=N[b+52>>2]}else{b=0}Qa[d|0](b)}N[c+72>>2]=301;b=N[c+12>>2];if(b){N[b+52>>2]=0}b=N[c+16>>2];if(b){N[b+52>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];q:{if(!b){break q}d=N[b+60>>2];if(!d){break q}b=N[c+12>>2];if(b){b=N[b+60>>2]}else{b=0}Qa[d|0](b)}N[c+80>>2]=302;b=N[c+12>>2];if(b){N[b+60>>2]=0}b=N[c+16>>2];if(b){N[b+60>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];r:{if(!b){break r}d=N[b+64>>2];if(!d){break r}b=N[c+12>>2];if(b){b=N[b+64>>2]}else{b=0}Qa[d|0](b)}N[c+84>>2]=303;b=N[c+12>>2];if(b){N[b+64>>2]=0}b=N[c+16>>2];if(b){N[b+64>>2]=0}if(!N[c+4>>2]){break f}N[c+4>>2]=0}b=N[147452];s:{t:{if(c){if(b){break s}break t}if(b){break d}c=588448}b=c;N[147452]=b;break d}if((c|0)==588448){break d}oc(c);b=N[147452];if(!b){continue}break}}if(!N[e+4>>2]){c=N[f+8>>2];if(c){_a(c)}_a(f);break c}N[e+12>>2]=N[e+12>>2]+1;c=N[e+104>>2];if(c){Qa[c|0](N[e+100>>2])}c=b?b:588448;b=N[c>>2];if(b){if((b|0)<=0){break a}N[c>>2]=b+1}oc(N[e+96>>2]);N[e+104>>2]=310;N[e+100>>2]=f;N[e+96>>2]=c}u:{if(!a){break u}c=N[a+24>>2];if(!N[e+4>>2]|c>>>0<65536){break u}a=N[e+12>>2]+1|0;N[e+16>>2]=a;N[e+12>>2]=a;b=0;v:{w:{d=(c>>>16|0)-1|0;a=sf(N[e+24>>2]+120|0);f=O[a+12|0]|O[a+13|0]<<8;if(d>>>0>=((f<<8|f>>>8)&65535)>>>0){break w}a=O[a+8|0]|O[a+9|0]<<8;if(!a){break w}a=(a<<8|a>>>8)&65535;i=db(a,4);if(!i){break u}break v}a=0}f=sf(N[e+24>>2]+120|0);c=O[f+12|0]|O[f+13|0]<<8;x:{if(d>>>0>=((c<<8|c>>>8)&65535)>>>0){break x}c=O[f+4|0]|O[f+5|0]<<8;if(c){j=f+((c<<8|c>>>8)&65535)|0}else{j=275552}if(!a){break x}c=O[f+8|0]|O[f+9|0]<<8;k=(c<<8|c>>>8)&65535;c=a>>>0>k>>>0?k:a;if(!c){break x}a=O[f+14|0]|O[f+15|0]<<8;f=((j+T(k,20)|0)+T(d,(a<<8|a>>>8)&65535)|0)+4|0;a=0;y:{if((c|0)!=1){j=c&1;k=c&65534;while(1){d=a<<2;b=d+f|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);R[d+i>>2]=U(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))*U(152587890625e-16);d=d|4;b=d+f|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);R[d+i>>2]=U(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))*U(152587890625e-16);a=a+2|0;if((k|0)!=(a|0)){continue}break}if(!j){break y}}b=a<<2;a=b+f|0;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);R[b+i>>2]=U(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))*U(152587890625e-16)}b=c}z:{if(!N[e+4>>2]){break z}a=N[e+12>>2]+1|0;N[e+16>>2]=a;N[e+12>>2]=a;A:{B:{if(b){n=db(b,4);o=db(b,4);if(o?n:0){break B}_a(n);_a(o);break z}a=N[e+24>>2];sf(a+120|0);Kp(Ig(a+124|0),0,0);break A}F(o,i,b<<2);j=N[e+24>>2];a=sf(j+120|0);c=O[a+4|0]|O[a+5|0]<<8;k=c?((c<<8|c>>>8)&65535)+a|0:275552;a=O[a+8|0]|O[a+9|0]<<8;q=(a<<8|a>>>8)&65535;c=0;while(1){a=c>>>0>=q>>>0?275552:k+T(c,20)|0;d=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);g=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));p=c<<2;h=R[p+i>>2];d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);l=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));l=g<=l?g:l;m=h>=l?h:l;a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);h=U(U(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))*U(152587890625e-16));h=g>=h?g:h;m=h>=m?m:h;f=0;C:{if(g==m){break C}g=U(Z(U(U(U(U(m-g)/(g>m?U(g-l):U(h-g)))*U(16384))+U(.5))));if(U(V(g))>2]=f;c=c+1|0;if((c|0)!=(b|0)){continue}break}Kp(Ig(j+124|0),n,b)}_a(N[e+88>>2]);_a(N[e+92>>2]);N[e+92>>2]=o;N[e+88>>2]=n;N[e+84>>2]=b;He(e)}_a(i)}return e}ba(23506,14099,260,16403);B()}function $f(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;o=La-32|0;La=o;L[a+733|0]=0;s=N[a+100>>2];k=N[a+736>>2];a:{if(!k){e=re(a,0);if(e){break a}k=N[a+736>>2]}b:{q=N[k+12>>2];h=N[q>>2];b=b>>>0>h>>>0?h:b;if(!b){break b}while(1){if(N[(f<<2)+c>>2]-65537>>>0>=4294836223){f=f+1|0;if((f|0)!=(b|0)){continue}break b}break}e=6;break a}c:{d:{e:{f:{g:{h:{if(O[a+732|0]|N[k+72>>2]){break h}f=N[a+104>>2];i=N[f+28>>2];e=Qa[N[a+516>>2]](a,1735811442,f,o+24|0)|0;if(e){break a}m=N[f+8>>2];e=rb(f,27168,o+4|0);if(e){break a}e=8;if(N[o+4>>2]!=65536){break a}h=P[o+8>>1];if((h|0)!=P[N[k+12>>2]>>1]){break a}t=P[o+10>>1];u=T(t,h);g=N[o+24>>2];if(u>>>0>g>>>1>>>0){break a}p=P[o+16>>1];l=p+1|0;n=M[o+18>>1]&1;j=l<<(n?2:1);if(j>>>0>g>>>0){break a}N[k+76>>2]=g;g=N[o+20>>2];e=Bb(f,j);N[o+28>>2]=e;if(e){break a}j=0;x=k,y=lb(i,4,0,l,0,o+28|0),N[x+72>>2]=y;e=N[o+28>>2];if(e){break g}v=g+m|0;l=m+N[o+24>>2]|0;i:{if(!n){n=0;while(1){e=0;g=N[f+32>>2];if(Q[f+36>>2]>g+1>>>0){e=O[g+1|0]|O[g|0]<<8;g=g+2|0}N[f+32>>2]=g;g=v+(e<<1)|0;j=g>>>0>>0?j:g;N[N[k+72>>2]+(n<<2)>>2]=j>>>0>l>>>0?l:j;g=(n|0)!=(p|0);n=n+1|0;if(g){continue}break}break i}n=0;while(1){e=0;g=N[f+32>>2];if(Q[f+36>>2]>g+3>>>0){e=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);g=g+4|0}N[f+32>>2]=g;g=e+v|0;n=g>>>0>>0?n:g;N[N[k+72>>2]+(j<<2)>>2]=l>>>0>>0?l:n;g=(j|0)==(p|0);j=j+1|0;if(!g){continue}break}}N[k+68>>2]=p;if(N[f+20>>2]){g=N[f>>2];if(g){e=N[f+28>>2];Qa[N[e+8>>2]](e,g)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;if(!t){break h}g=m+N[o+12>>2]|0;j:{e=N[f+20>>2];k:{if(e){if(Qa[e|0](f,g,0,0)|0){break k}break j}if(g>>>0<=Q[f+4>>2]){break j}}e=85;N[o+28>>2]=85;break f}N[f+8>>2]=g;e=Bb(f,u<<1);N[o+28>>2]=e;if(e){break f}l=0;j=lb(i,4,0,u,0,o+28|0);N[k+64>>2]=j;e=N[o+28>>2];if(e){break g}u=h>>>0<2;v=h>>>0<=1?1:h;w=v&65534;i=h;while(1){r=0;l:{if(!(i&65535)){break l}n=T(h,l);e=N[f+32>>2];p=N[f+36>>2];m=0;if(!u){g=0;while(1){m:{if(p>>>0<=e+1>>>0){i=0;break m}i=O[e|0]|O[e+1|0]<<8;i=i<<8|i>>>8;e=e+2|0}N[f+32>>2]=e;N[j+(m+n<<2)>>2]=i<<16>>16<<2;i=0;if(p>>>0>e+1>>>0){i=O[e|0]|O[e+1|0]<<8;i=i<<8|i>>>8;e=e+2|0}N[f+32>>2]=e;N[j+(n+(m|1)<<2)>>2]=i<<16>>16<<2;m=m+2|0;g=g+2|0;if((w|0)!=(g|0)){continue}break}}r=h;if(!(v&1)){break l}i=0;if(p>>>0>e+1>>>0){g=O[e|0]|O[e+1|0]<<8;i=g<<8|g>>>8;e=e+2|0}N[f+32>>2]=e;N[j+(m+n<<2)>>2]=i<<16>>16<<2;r=h}i=r;l=l+1|0;if(t>>>0>l>>>0){continue}break}N[k+60>>2]=t;if(N[f+20>>2]){h=N[f>>2];if(h){g=N[f+28>>2];Qa[N[g+8>>2]](g,h)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}t=N[k+4>>2];if(t){break d}e=0;f=N[q>>2];if((f|0)>=0){break e}e=6;break c}if(N[f+20>>2]){a=N[f>>2];if(a){b=N[f+28>>2];Qa[N[b+8>>2]](b,a)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}a=N[k+72>>2];if(a){Qa[N[i+8>>2]](i,a)}N[k+68>>2]=0;N[k+72>>2]=0;break a}n:{if(f){e=10;if((f|0)>536870911){break c}h=f<<2;e=Qa[N[s+4>>2]](s,h)|0;if(!e|(f|0)<=0){break n}C(e,0,h)}N[k+4>>2]=e;break d}N[k+4>>2]=e;if(e){break d}e=!e<<6;break a}o:{p:{q:{r:{s:{t:{i=N[k+8>>2];if(i){f=0;if(b){break t}break s}i=0;f=N[q>>2];if((f|0)<0){e=6;break o}u:{if(f){e=10;if((f|0)>536870911){break o}h=f<<2;i=Qa[N[s+4>>2]](s,h)|0;if(!i|(f|0)<=0){break u}C(i,0,h)}N[k+8>>2]=i;break q}N[k+8>>2]=i;if(i){break q}e=!i<<6;break a}m=1;while(1){h=f<<2;n=2;if(N[h+i>>2]!=N[c+h>>2]){break r}f=f+1|0;if((f|0)!=(b|0)){continue}break}f=b}m=0;n=0}j=N[q>>2];h=N[a+4>>2];v:{if(h&2147418112){if(f>>>0>=j>>>0){break v}r=N[k+20>>2]+(T((h>>>16|0)-1|0,j)<<2)|0;h=f<<2;g=r+h|0;p=(f^-1)+j|0;e=h+i|0;q=j-f&3;w:{if(!q){l=f;break w}l=f+q|0;u=l<<2;h=0;while(1){m=N[e>>2]!=N[g>>2]?1:m;e=e+4|0;g=g+4|0;h=h+1|0;if((q|0)!=(h|0)){continue}break}e=i+u|0}if(p>>>0<3){break v}while(1){m=N[e+12>>2]!=N[g+12>>2]?1:N[e+8>>2]!=N[g+8>>2]?1:N[e+4>>2]!=N[g+4>>2]?1:N[e>>2]!=N[g>>2]?1:m;e=e+16|0;g=g+16|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}break v}if(f>>>0>=j>>>0){break v}q=(f^-1)+j|0;e=(f<<2)+i|0;l=j-f&3;x:{if(!l){h=f;break x}h=f+l|0;p=h<<2;g=0;while(1){m=N[e>>2]?1:m;e=e+4|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}e=i+p|0}if(q>>>0<3){break v}while(1){m=N[e+12>>2]|N[e+8>>2]|(N[e+4>>2]|N[e>>2])?1:m;e=e+16|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}y:{if(m&255){if(f>>>0>=j>>>0){break p}break y}L[a+733|0]=1;e=-1;break a}while(1){if(!N[(f<<2)+i>>2]){f=f+1|0;if((j|0)!=(f|0)){continue}break p}break}n=2;break p}j=N[q>>2];n=1}N[k>>2]=j;if(c){F(i,c,b<<2)}z:{if(!d){break z}d=N[k+4>>2];e=N[a+736>>2];l=N[e>>2];b=t?b:N[k>>2];c=b>>>0>l>>>0?l:b;A:{if(!c){break A}h=N[k+8>>2];g=0;f=0;if(c>>>0>=4){k=c&-4;while(1){i=f<<2;N[i+d>>2]=N[h+i>>2];j=i|4;N[j+d>>2]=N[h+j>>2];j=i|8;N[j+d>>2]=N[h+j>>2];i=i|12;N[i+d>>2]=N[h+i>>2];f=f+4|0;if((k|0)!=(f|0)){continue}break}}i=c&3;if(!i){break A}while(1){k=f<<2;N[k+d>>2]=N[h+k>>2];f=f+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(b>>>0>l>>>0){C(d+(c<<2)|0,0,b-c<<2)}B:{if(!c){break B}j=N[e+28>>2];if(!j){break B}k=0;while(1){g=P[j>>1];C:{if(g>>>0<2){break C}i=d+(k<<2)|0;b=N[i>>2];l=N[j+4>>2];f=1;while(1){h=l+(f<<3)|0;m=N[h+4>>2];if((m|0)>(b|0)){g=h-8|0;f=N[g>>2];r=b;b=N[g+4>>2];x=i,y=jb(r-b|0,N[h>>2]-f|0,m-b|0)+f|0,N[x>>2]=y;break C}f=f+1|0;if((g|0)!=(f|0)){continue}break}}j=j+8|0;k=k+1|0;if((c|0)!=(k|0)){continue}break}}if(!c){break z}b=N[N[e+12>>2]+12>>2];e=0;while(1){k=d+(e<<2)|0;h=N[k>>2];D:{E:{if((h|0)<0){i=0-h|0;f=N[b+8>>2];l=f-N[b+4>>2]|0;g=l>>31;g=(g^l)-g|0;F:{if((g>>>8|0)-h>>>0<=8190){h=T(g,i)+32768>>>16|0;break F}h=i&65535;h=T(h,g>>>16|0)+T(g,i>>>16|0)+(T(h,g&65535)+32768>>>16)|0}h=(l|0)<0?h:0-h|0;break E}f=N[b+8>>2];if(!h){break D}i=N[b+12>>2]-f|0;g=i>>31;r=h;h=h>>31;h=(r^h)-h|0;g=(g^i)-g|0;G:{if(h+(g>>>8|0)>>>0<=8190){h=T(g,h)+32768>>>16|0;break G}l=h&65535;h=T(l,g>>>16|0)+T(g,h>>>16|0)+(T(l,g&65535)+32768>>>16)|0}h=(i|0)<0?0-h|0:h}f=f+h|0}N[k>>2]=f;b=b+24|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}L[a+733|0]=1;e=0;b=N[a+704>>2];H:{if(!b){break H}I:{switch(n-1|0){case 1:Qa[N[s+8>>2]](s,b);N[a+704>>2]=0;e=gn(a,N[a+104>>2]);break H;case 0:break I;default:break H}}e=Ym(a,N[a+104>>2])}b=N[a+720>>2];if(b){Qa[N[s+8>>2]](s,b)}N[a+720>>2]=0;break a}N[k+8>>2]=0;break a}N[k+4>>2]=0}La=o+32|0;return e}function gj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=La-48|0;La=h;N[a+44>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h+28>>2]=0;c=N[b+32>>2];if((c|0)==-1){d=sb(b+56|0);d=O[d+4|0]|O[d+5|0]<<8;c=(d<<8|d>>>8)&65535;N[b+32>>2]=c}L[h+40|0]=1;N[h+36>>2]=c;d=N[b+12>>2];a:{if(d){c=Qa[d|0](b,1668112752,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{d=N[c>>2];if(d){if((d|0)<=0){break j}N[c>>2]=d+1}L[h+24|0]=0;N[h+32>>2]=c;f=N[c+12>>2];N[h+4>>2]=f;e=N[c+16>>2];N[h+8>>2]=e+f;if((e|0)<0){break i}if(e>>>0>67108863){i=1073741823}else{d=e<<6;d=d>>>0<=16384?16384:d;i=d>>>0>=1073741823?1073741823:d}N[h+20>>2]=0;N[h>>2]=0;N[h+28>>2]=0;d=c;if(!f){break c}if(e>>>0<4){break g}N[h+12>>2]=i-4;if(O[f|0]|O[f+1|0]<<8){break g}N[h+44>>2]=f;if(Yi(f+2|0,h,h+44|0)){break h}if(O[h+24|0]|!N[h+28>>2]){break g}if(!zb(c)){break g}while(1){L[h+24|0]=1;d=N[h+32>>2];f=N[d+12>>2];N[h+4>>2]=f;e=N[d+16>>2];N[h+8>>2]=e+f;if((e|0)<0){break i}if(e>>>0>67108863){i=1073741823}else{i=e<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}N[h+20>>2]=0;N[h>>2]=0;N[h+28>>2]=0;if(!f){break c}if(e>>>0<=3){break g}N[h+12>>2]=i-4;if(O[f|0]|O[f+1|0]<<8){break g}N[h+44>>2]=f;if(Yi(f+2|0,h,h+44|0)){break h}if(O[h+24|0]|!N[h+28>>2]){break g}d=zb(c);N[h+4>>2]=d;N[h+8>>2]=d+N[c+16>>2];if(d){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[h+28>>2]){break f}N[h+28>>2]=0;if(Q[h+4>>2]>f>>>0){break g}d=N[h+8>>2];if(d>>>0>>0|d-f>>>0<=3){break g}d=N[h+12>>2]-4|0;N[h+12>>2]=d;if(O[f|0]|O[f+1|0]<<8|(d|0)<=0){break g}N[h+44>>2]=f;d=Yi(f+2|0,h,h+44|0);if(N[h+28>>2]){break g}ab(N[h+32>>2]);if(d){break e}break d}ab(N[h+32>>2]);break d}ab(N[h+32>>2])}if(!N[c+4>>2]){break b}N[c+4>>2]=0;break b}ab(c);c=275552;break b}ab(d)}N[a+44>>2]=c;j=275552;l=Q[c+16>>2]<4?275552:N[c+12>>2];i=l+4|0;k:{l:{k=O[l+2|0]|O[l+3|0]<<8;m:{if(!k){break m}e=0;d=((k<<8|k>>>8)&65535)-1|0;c=d;n:{while(1){o:{p:{f=c+e>>>1|0;g=i+(f<<3)|0;m=O[g|0]|O[g+1|0]<<8;n=(m<<8|m>>>8)&65535;q:{if(!(n>>>0>3|(m|0)!=768)){if(O[g+2|0]|O[g+3|0]<<8){break q}c=i+(f<<3)|0;break n}if(n>>>0<4){break p}}c=f-1|0;break o}e=f+1|0}if((c|0)>=(e|0)){continue}break}c=275552}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){break l}e=0;f=d;r:{while(1){s:{t:{u:{c=e+f>>>1|0;g=i+(c<<3)|0;m=O[g|0]|O[g+1|0]<<8;n=(m<<8|m>>>8)&65535;v:{if(!(n>>>0>3|(m|0)!=768)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>10){break v}if((g|0)==2560){break u}break t}if(n>>>0<4){break t}}f=c-1|0;break s}c=i+(c<<3)|0;break r}e=c+1|0}if((e|0)<=(f|0)){continue}break}c=275552}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=1;break k}f=0;c=d;w:{x:{while(1){y:{z:{e=c+f>>>1|0;g=i+(e<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<7){break z}}c=e-1|0;break y}if((g|0)==1536){break x}f=e+1|0}if((c|0)>=(f|0)){continue}break}c=275552;break w}c=i+(e<<3)|0}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=1;break k}c=0;A:{B:{while(1){C:{D:{f=c+d>>>1|0;e=i+(f<<3)|0;if(!(O[e|0]|O[e+1|0]<<8)){e=O[e+2|0]|O[e+3|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<5){break D}}d=f-1|0;break C}if((e|0)==1024){break B}c=f+1|0}if((c|0)<=(d|0)){continue}break}d=275552;break A}d=i+(f<<3)|0}d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(d){e=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+l|0;d=1;break k}if(!k){break m}f=((k<<8|k>>>8)&65535)-1|0;e=0;while(1){E:{F:{G:{d=e+f>>>1|0;c=i+(d<<3)|0;g=O[c|0]|O[c+1|0]<<8;m=(g<<8|g>>>8)&65535;H:{if(!(m>>>0>3|(g|0)!=768)){c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>1){break H}if((c|0)==256){break G}break F}if(m>>>0<4){break F}}f=d-1|0;break E}j=i+(d<<3)|0;break m}e=d+1|0}if((e|0)<=(f|0)){continue}break}}d=1;c=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=275552;I:{if(!k){break I}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){J:{K:{L:{j=c+f>>>1|0;g=i+(j<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<4){break L}}c=j-1|0;break K}if((g|0)==768){break J}f=j+1|0}if((c|0)>=(f|0)){continue}break I}break}e=i+(j<<3)|0}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=275552;M:{if(!k){break M}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){N:{O:{P:{j=c+f>>>1|0;g=i+(j<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<3){break P}}c=j-1|0;break O}if((g|0)==512){break N}f=j+1|0}if((c|0)>=(f|0)){continue}break M}break}e=i+(j<<3)|0}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=Qp(l,1);if(e){break k}c=Qp(l,0);e=c?c:275552;break k}e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=0}j=275552;N[a+4>>2]=275552;N[a>>2]=e;Q:{if(!k){break Q}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){R:{S:{T:{k=c+f>>>1|0;g=i+(k<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<6){break T}}c=k-1|0;break S}if((g|0)==1280){break R}f=k+1|0}if((c|0)>=(f|0)){continue}break Q}break}j=i+(k<<3)|0}c=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);U:{if(!c){break U}c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;if((O[c|0]|O[c+1|0]<<8)!=3584){break U}N[a+4>>2]=c}c=e?e:275552;N[a+12>>2]=c;V:{if(!d){b=Tc(b+72|0);b=(O[b|0]|O[b+1|0]<<8?0:(O[b+62|0]|O[b+63|0]<<8)<<8)&65280;if(!b){b=304;break V}W:{if((b|0)!=45824){if((b|0)!=45568){break W}b=305;break V}b=306;break V}b=307;break V}b=307;X:{Y:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-4|0){case 0:break X;case 8:break Y;default:break V}}b=308;break V}b=O[c+6|0]|O[c+7|0]<<8;d=c+14|0;N[a+16>>2]=d;b=(b<<8|b>>>8)&65534;f=b>>>1|0;N[a+36>>2]=f;d=(b+d|0)+2|0;N[a+20>>2]=d;d=b+d|0;N[a+24>>2]=d;d=b+d|0;N[a+28>>2]=d;N[a+32>>2]=b+d;b=O[c+2|0]|O[c+3|0]<<8;N[a+12>>2]=a+16;N[a+40>>2]=(((b<<8|b>>>8)&65535)-(f<<3)|0)-16>>>1;b=309}N[a+8>>2]=b;La=h+48|0;return a}function _i(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{g=N[b+4>>2];if(g>>>0>a>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<14){break b}f=N[b+12>>2]-14|0;N[b+12>>2]=f;if((f|0)<=0){break b}e=O[a+2|0]|O[a+3|0]<<8;if(e){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>d>>>0){break b}l=d-c|0;c=T((e<<8|e>>>8)&65535,6);if(l>>>0>>0){break b}f=f-c|0;N[b+12>>2]=f;if((f|0)<=0){break b}}e=O[a+12|0]|O[a+13|0]<<8;if(e){c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>d>>>0){break b}l=d-c|0;c=((e<<8|e>>>8)&65535)<<2;if(l>>>0>>0){break b}f=f-c|0;N[b+12>>2]=f;if((f|0)<=0){break b}}c=1;c:{e=O[a|0]|O[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 0:break a;case 1:break c;default:break b}}e=a+14|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break b}c=f-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d:{if(!c){break d}if(c&128){break b}e:{l=g;g=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(l>>>0>g>>>0|d>>>0>>0|d-g>>>0<4){break e}h=f-8|0;N[b+12>>2]=h;if((h|0)<=0){break e}f=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);j=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=UE(j,0,6,0);if(Pa){break e}if(c){i=g+4|0;if(i>>>0>d>>>0|c>>>0>d-i>>>0){break e}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break e}}if(!f){break d}j=j>>>0<=1?1:j;f=0;while(1){h=g+T(f,6)|0;c=h+4|0;if(c>>>0>2]){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<6){break e}i=N[b+12>>2];c=i-6|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=h+6|0;if(c>>>0>d>>>0|d-c>>>0<4){break e}d=i-10|0;N[b+12>>2]=d;if((d|0)<=0){break e}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);f:{if(!d){break f}if(d&128){break e}h=N[b+20>>2];g:{if((h|0)>15){break g}h=h+1|0;N[b+20>>2]=h;if(!h){break g}d=$d(g+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b);N[b+20>>2]=N[b+20>>2]-1;if(d){break f}}d=N[b+28>>2];if(d>>>0>31){break e}N[b+28>>2]=d+1;if(!O[b+24|0]){break e}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}f=f+1|0;if((j|0)!=(f|0)){continue}break}break d}c=N[b+28>>2];if(c>>>0>31){break b}N[b+28>>2]=c+1;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}f=N[b+4>>2];c=a+18|0;if(f>>>0>c>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break b}g=N[b+12>>2];e=g-4|0;N[b+12>>2]=e;if((e|0)<=0){break b}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h:{if(!e){break h}if(e&128){break b}i:{e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break i}j=g-8|0;N[b+12>>2]=j;if((j|0)<=0){break i}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(g>>>0>1073741823){break i}h=g<<2;if(h){i=e+4|0;if(i>>>0>d>>>0|h>>>0>d-i>>>0){break i}d=j-h|0;N[b+12>>2]=d;if((d|0)<=0){break i}}if(!f){break h}j=g>>>0<=1?1:g;f=0;while(1){d=(e+(f<<2)|0)+4|0;if(d>>>0>2]){break i}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break i}g=N[b+12>>2]-4|0;N[b+12>>2]=g;if((g|0)<=0){break i}g=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j:{if(!g){break j}if(g&128){break i}h=N[b+20>>2];k:{if((h|0)>15){break k}h=h+1|0;N[b+20>>2]=h;if(!h){break k}g=$d(e+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0,b);N[b+20>>2]=N[b+20>>2]-1;if(g){break j}}g=N[b+28>>2];if(g>>>0>31){break i}N[b+28>>2]=g+1;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}f=f+1|0;if((j|0)!=(f|0)){continue}break}break h}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}l:{m:{g=N[b+4>>2];d=a+22|0;if(g>>>0>d>>>0){break m}f=N[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break m}h=N[b+12>>2];e=h-4|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break m}e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);n:{if(!e){break n}if(e&128){break m}o:{p:{e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0;if(e>>>0>>0|e>>>0>f>>>0|f-e>>>0<5){break p}c=h-9|0;N[b+12>>2]=c;if((c|0)<=0){break p}j=e+1|0;if(j>>>0>>0|f>>>0>>0|f-j>>>0<4){break p}i=h-13|0;N[b+12>>2]=i;if((i|0)<=0){break p}g=O[e+1|0]|O[e+2|0]<<8|(O[e+3|0]<<16|O[e+4|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);c=UE(h,0,7,0);if(Pa){break p}if(c){k=e+5|0;if(k>>>0>f>>>0|c>>>0>f-k>>>0){break p}c=i-c|0;N[b+12>>2]=c;if((c|0)<=0){break p}}if(!g){break o}n=h>>>0<=1?1:h;h=0;while(1){g=N[b+4>>2];k=j+T(h,7)|0;c=k+4|0;if(g>>>0>c>>>0){break p}f=N[b+8>>2];if(f>>>0>>0|f-c>>>0<7){break p}i=N[b+12>>2];c=i-7|0;N[b+12>>2]=c;if((c|0)<=0){break p}c=k+8|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<3){break p}k=i-10|0;N[b+12>>2]=k;if((k|0)<=0){break p}m=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);q:{if(!m){break q}l=g;g=e+m|0;r:{if(l>>>0>g>>>0|f>>>0<=g>>>0){break r}m=i-11|0;N[b+12>>2]=m;if(!m){break r}s:{t:{switch(O[g|0]-1|0){case 0:i=-10;if(f-g>>>0>=9){break s}break r;case 1:break t;default:break q}}if(f-g>>>0<13){break r}f=i-24|0;N[b+12>>2]=f;i=-23;if((f|0)<=0){break r}}f=i+k|0;N[b+12>>2]=f;if((f|0)>0){break q}}f=N[b+28>>2];if(f>>>0>31){break p}N[b+28>>2]=f+1;if(!O[b+24|0]){break p}L[c+2|0]=0;L[c|0]=0;L[c+1|0]=0}c=1;h=h+1|0;if((n|0)!=(h|0)){continue}break}break n}c=N[b+28>>2];if(c>>>0>31){break m}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break n}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}c=1}break l}c=0}if(!c){break b}c=0;u:{v:{e=a+26|0;if(e>>>0>2]){break v}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break v}f=N[b+12>>2]-4|0;N[b+12>>2]=f;d=1;if((f|0)<=0){break v}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);w:{if(!f){break w}if(f&128){break v}if(Ed((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0,b)){break w}d=N[b+28>>2];if(d>>>0>31){break v}N[b+28>>2]=d+1;d=0;if(!O[b+24|0]){break w}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;d=1}break u}d=0}if(!d){break a}return Gf(a+30|0,b,a)}c=0}return c}function Jq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;i=La-32|0;La=i;N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;N[b+84>>2]=N[b+80>>2];a:{b:{l=N[b+68>>2];c:{if(!l){break c}while(1){d=N[b+80>>2];h=N[d+T(e,20)>>2];d:{if((h&-129)!=3635){if(O[b+62|0]){h=N[b+72>>2];g=N[b+84>>2];e:{if((g|0)==(d|0)){f=e;if((e|0)==(h|0)){break e}}f=h+1|0;if(!(!f|f>>>0>2])){if(!gb(b,f)){break c}g=N[b+84>>2];d=N[b+80>>2]}f:{if((d|0)!=(g|0)){break f}f=N[b+72>>2];if(f+1>>>0<=N[b+64>>2]+1>>>0){g=d;break f}if(!O[b+62|0]){break b}g=N[b+88>>2];N[b+84>>2]=g;f=T(f,20);if(!f){break f}F(g,d,f);g=N[b+84>>2];d=N[b+80>>2]}f=T(N[b+64>>2],20)+d|0;d=N[f+4>>2];e=T(N[b+72>>2],20)+g|0;N[e>>2]=N[f>>2];N[e+4>>2]=d;N[e+16>>2]=N[f+16>>2];d=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=d;e=N[b+64>>2];f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=e+1;break d}g=h+26|0;g:{d=N[b+72>>2]+1|0;if(!(!d|d>>>0>2])){if(!gb(b,d)){break g}}e=N[b+84>>2];h:{if((e|0)!=N[b+80>>2]){break h}d=N[b+72>>2];if(Q[b+64>>2]>=d+1>>>0){break h}if(!O[b+62|0]){break b}f=N[b+88>>2];N[b+84>>2]=f;d=T(d,20);if(!d){break h}F(f,e,d)}f=N[b+64>>2];d=N[b+68>>2];if(f>>>0<=d>>>0){i:{if(d>>>0>f>>>0){d=N[b+72>>2];e=N[b+84>>2];f=N[b+80>>2]+T(f,20)|0;break i}e=N[b+84>>2];d=N[b+72>>2];f=d-1|0;f=e+T(d>>>0>=f>>>0?f:0,20)|0}e=T(d,20)+e|0;d=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=d;N[e+16>>2]=N[f+16>>2];d=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=d;N[e>>2]=g;N[b+72>>2]=N[b+72>>2]+1;break g}break a}f=N[b+72>>2];d=f-1|0;d=N[b+84>>2]+T(d>>>0<=f>>>0?d:0,20)|0;M[d+16>>1]=P[d+16>>1]|128;g=h-1|0;j:{f=N[b+72>>2]+1|0;k:{if(!(!f|f>>>0>2])){d=0;if(!gb(b,f)){break k}}e=N[b+84>>2];l:{if((e|0)!=N[b+80>>2]){break l}d=N[b+72>>2];if(d+1>>>0<=N[b+64>>2]+1>>>0){break l}if(!O[b+62|0]){break b}f=N[b+88>>2];N[b+84>>2]=f;d=T(d,20);if(!d){break l}F(f,e,d)}d=N[b+68>>2];f=N[b+64>>2];if(d>>>0>>0){break a}m:{if(d>>>0>f>>>0){d=N[b+72>>2];e=N[b+84>>2];f=N[b+80>>2]+T(f,20)|0;break m}e=N[b+84>>2];d=N[b+72>>2];f=d-1|0;f=e+T(d>>>0>=f>>>0?f:0,20)|0}e=T(d,20)+e|0;d=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=d;N[e+16>>2]=N[f+16>>2];d=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=d;N[e>>2]=g;N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+1;d=1}break j}if(!d){break c}j=N[b+72>>2];e=j-2|0;f=T(e,20);d=f+N[b+84>>2]|0;M[d+16>>1]=P[d+16>>1]&224|12;if(!e){break d}d=N[b+84>>2];n:{o:{p:{while(1){g=e;q:{e=e-1|0;h=N[d+T(e,20)>>2];if((h&-132)==3636|(h&-129)-3655>>>0<8){break q}r:{switch(h-3633|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break p;case 0:case 10:break q;default:break r}}switch(h-3761|0){case 0:case 10:break q;default:break p}}if(e){continue}break}g=0;if(j>>>0>2){break o}break d}if(j>>>0<=g+2>>>0){break n}}wd(b,g,j);e=f;f=N[b+84>>2];e=e+f|0;N[i+24>>2]=N[e+16>>2];d=N[e+12>>2];N[i+16>>2]=N[e+8>>2];N[i+20>>2]=d;d=N[e+4>>2];N[i+8>>2]=N[e>>2];N[i+12>>2]=d;e=f;f=T(g,20);d=e+f|0;F(d+20|0,d,T(j-g|0,20)-40|0);d=N[i+12>>2];f=f+N[b+84>>2]|0;N[f>>2]=N[i+8>>2];N[f+4>>2]=d;N[f+16>>2]=N[i+24>>2];d=N[i+20>>2];N[f+8>>2]=N[i+16>>2];N[f+12>>2]=d;break d}if(N[b+20>>2]){break d}wd(b,e,j)}e=N[b+64>>2];if(l>>>0>e>>>0){continue}break}}Ac(b);s:{if(O[a+32|0]|N[a+4>>2]!=1416126825){break s}v=N[b+68>>2];if(!v){break s}w=N[b+80>>2];f=0;t=3;u=2;l=0;while(1){e=0;t:{u:{p=T(l,20)+w|0;g=N[p>>2];if((g|0)==3633|(g&-4)==3636){break u}a=g-3655|0;if(1<>>0<=7:0){break u}e=1;if(g-3640>>>0<3){break u}e=2;if(g-3656>>>0<5){break u}v:{w:{a=g-3597|0;if(a>>>0<=18){a=1<>>0>45)<<2;break v}f=2}a=f<<2;u=N[a+242416>>2];t=N[a+242384>>2];f=l;break t}a=e<<3;h=a+T(u,24)|0;e=h+242548|0;d=a+T(t,24)|0;a=d+242452|0;k=N[d+242448>>2];if(!k){k=N[h+242544>>2]}u=N[e>>2];t=N[a>>2];a=N[b+68>>2];r=a>>>0>>0?a:l;s=r-f|0;x:{if(s>>>0<2){break x}o=N[b+144>>2]|32;N[b+144>>2]=o;if(f>>>0>=r>>>0){break x}q=N[b+80>>2];e=-1;d=f;n=(d^-1)+r|0;if(n>>>0>=3){j=s&-4;a=0;while(1){m=q+T(d,20)|0;h=N[m+8>>2];h=e>>>0>>0?e:h;e=N[m+28>>2];h=e>>>0>h>>>0?h:e;e=N[m+48>>2];h=e>>>0>h>>>0?h:e;e=N[m+68>>2];e=e>>>0>h>>>0?h:e;d=d+4|0;a=a+4|0;if((j|0)!=(a|0)){continue}break}}a=0;j=s&3;if(j){while(1){h=N[(q+T(d,20)|0)+8>>2];e=e>>>0>>0?e:h;d=d+1|0;a=a+1|0;if((j|0)!=(a|0)){continue}break}}d=f;if(s&1){a=q+T(f,20)|0;if(N[a+8>>2]!=(e|0)){N[a+4>>2]=N[a+4>>2]|3}d=f+1|0}if(!n){break x}while(1){a=q+T(d,20)|0;if(N[a+8>>2]!=(e|0)){o=o|32;N[b+144>>2]=o;N[a+4>>2]=N[a+4>>2]|3}a=q+T(d+1|0,20)|0;if(N[a+8>>2]!=(e|0)){o=o|32;N[b+144>>2]=o;N[a+4>>2]=N[a+4>>2]|3}d=d+2|0;if((r|0)!=(d|0)){continue}break}}e=0;y:{z:{A:{switch(k|0){case 4:g=242816;B:{C:{D:{p=T(f,20)+w|0;d=N[p>>2];switch(d-3597|0){case 0:break C;case 3:break D;default:break B}}g=242822}N[i+8>>2]=0;a=N[c+96>>2];n=N[a+28>>2];m=N[c+100>>2];e=P[g+2>>1];k=i+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[n|0](c,m,e,k,a)|0)){N[i+8>>2]=0;a=N[c+96>>2];j=N[a+28>>2];k=N[c+100>>2];e=P[g+4>>1];g=i+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[j|0](c,k,e,g,a)|0)){break B}}d=e}N[p>>2]=d;break t;case 1:e=242624;break z;case 3:e=242688;break z;case 0:break y;case 2:break A;default:break z}}e=242736}d=P[e>>1];if(!d){break y}while(1){if((d&65535)==(g|0)){a=P[e+2>>1];N[i+8>>2]=0;d=N[c+96>>2];n=N[d+28>>2];m=N[c+100>>2];k=i+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[n|0](c,m,a,k,d)|0){g=P[e+2>>1];break y}a=P[e+4>>1];N[i+8>>2]=0;d=N[c+96>>2];n=N[d+28>>2];m=N[c+100>>2];k=i+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[n|0](c,m,a,k,d)|0)){break y}g=P[e+4>>1];break y}d=P[e+6>>1];e=e+6|0;if(d){continue}break}}N[p>>2]=g}l=l+1|0;if((v|0)!=(l|0)){continue}break}}La=i+32|0;return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function pl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;a:{b:{c=N[b+4>>2];d=a+4|0;c:{if(c>>>0>d>>>0){break c}e=N[b+8>>2];if(d>>>0>e>>>0|e-d>>>0<4){break c}k=N[b+12>>2]-4|0;N[b+12>>2]=k;if(a>>>0>>0|(k|0)<=0){break c}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0<12|d>>>0>e-a>>>0){break c}i=k-d|0;N[b+12>>2]=i;if((i|0)<=0){break c}l=O[a+8|0]|O[a+9|0]<<8;d=T((l<<8|l>>>8)&65535,12);k=a+12|0;if(l){if(e>>>0>>0|d>>>0>e-k>>>0){break c}i=i-d|0;N[b+12>>2]=i;if((i|0)<=0){break c}}a=O[a+10|0]|O[a+11|0]<<8;if(!a){return 1}a=(a<<8|a>>>8)&65535;w=a>>>0<=1?1:a;g=d+k|0;while(1){if(e>>>0>>0|c>>>0>g>>>0){break a}c=e-g|0;if(c>>>0<2){break a}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){break a}e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<9|c>>>0>>0){break a}a=a-e|0;N[b+12>>2]=a;if((a|0)<=0){break a}d=N[b+32>>2];c=N[d+12>>2];N[b+4>>2]=c;j=N[d+16>>2];d=j+c|0;N[b+8>>2]=d;d:{e:{f:{g:{if((j|0)>=0){c=d>>>0<=g>>>0|c>>>0>g>>>0;q=c?0:g;N[b+4>>2]=q;d=d-g|0;h=c?0:(e>>>0>d>>>0?d:e)+g|0;N[b+8>>2]=h;m=1;h:{switch(O[g+3|0]){case 0:m=ph(g+8|0,b);break d;case 5:break g;case 1:break h;case 2:break e;case 4:break f;default:break d}}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<8){break d}c=a-8|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8;o=(c<<8|c>>>8)&65535;if(o>>>0<4){break d}c=g+10|0;if(c>>>0>h>>>0|h-c>>>0<2){break d}d=a-10|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8;c=e+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<4){break d}d=a-14|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>h>>>0|h-d>>>0<2){break d}f=a-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}a=O[d|0]|O[d+1|0]<<8;if(a){c=c+4|0;if(c>>>0>h>>>0){break d}a=(a<<8|a>>>8)&65535;if(a>>>0>h-c>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}a=O[g+14|0]|O[g+15|0]<<8;p=e+((a<<8|a>>>8)&65535)|0;t=h-p|0;a=O[g+12|0]|O[g+13|0]<<8;s=(a<<8|a>>>8)&65535;l=s+e|0;u=h-l|0;a=0;d=0;k=0;j=0;n=0;c=0;while(1){i:{if(!(a&1)){e=c;break i}UE(j,0,o,0);if(Pa){break d}i=T(j,o);r=i+l|0;if(i){if(r>>>0>>0|h>>>0>>0|h-r>>>0<0-i>>>0){break d}f=f+i|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(j-k|0)+f|0;N[b+12>>2]=f;if((f|0)<=0|(i|0)>0){break d}a=l;e=c;if((i|0)<0){while(1){a=a-1|0;k=O[a|0]+1|0;e=e>>>0>k>>>0?e:k;if(a>>>0>r>>>0){continue}break}}k=j}j:{k:{l:{if((d|0)<=(n|0)){if(l>>>0>>0|h>>>0>>0){break d}i=n+1|0;a=T(i,o);if(a>>>0>u>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=f+((n^-1)+d|0)|0;N[b+12>>2]=f;if((a|0)<0|(f|0)<=0){break d}d=T(d,o);if((d|0)<(a|0)){break l}d=i}if(e){break k}e=0;break j}m=a+l|0;a=d+l|0;while(1){d=O[a|0]+1|0;e=e>>>0>d>>>0?e:d;a=a+1|0;if(m>>>0>a>>>0){continue}break}d=i}m=0;if(p>>>0>>0|h>>>0

>>0){break d}a=e<<3;if(a>>>0>t>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(c-e|0)+f|0;N[b+12>>2]=f;if((f|0)<=0){break d}if((c|0)<(e|0)){i=p+(e<<3)|0;c=p+(c<<3)|0;while(1){a=O[c|0]|O[c+1|0]<<8;a=(((a<<8|a>>>8)&65535)-s|0)/(o|0)|0;n=(a|0)<(n|0)?n:a;j=(a|0)>(j|0)?j:a;c=c+8|0;if(i>>>0>c>>>0){continue}break}}c=e;a=(j|0)<(k|0);if(a|(d|0)<=(n|0)){continue}break}a=g+16|0;if(a>>>0>h>>>0|h-a>>>0<2){break d}a=f-2|0;N[b+12>>2]=a;m=(a|0)>0;break d}break b}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<20){break d}c=a-20|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=a-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8;o=(c<<8|c>>>8)&65535;if(o>>>0<4){break d}c=g+10|0;if(c>>>0>h>>>0|h-c>>>0<2){break d}d=a-30|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8;c=e+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<4){break d}d=a-34|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>h>>>0|h-d>>>0<2){break d}f=a-36|0;N[b+12>>2]=f;if((f|0)<=0){break d}a=O[d|0]|O[d+1|0]<<8;if(a){c=c+4|0;if(c>>>0>h>>>0){break d}a=(a<<8|a>>>8)&65535;if(a>>>0>h-c>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}a=O[g+14|0]|O[g+15|0]<<8;p=e+((a<<8|a>>>8)&65535)|0;t=h-p|0;a=O[g+12|0]|O[g+13|0]<<8;s=(a<<8|a>>>8)&65535;l=s+e|0;u=h-l|0;a=0;d=0;k=0;j=0;n=0;c=0;while(1){m:{if(!(a&1)){e=c;break m}UE(j,0,o,0);if(Pa){break d}i=T(j,o);r=i+l|0;if(i){if(r>>>0>>0|h>>>0>>0|h-r>>>0<0-i>>>0){break d}f=f+i|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(j-k|0)+f|0;N[b+12>>2]=f;if((f|0)<=0|(i|0)>0){break d}a=l;e=c;if((i|0)<0){while(1){a=a-1|0;k=O[a|0]+1|0;e=e>>>0>k>>>0?e:k;if(a>>>0>r>>>0){continue}break}}k=j}n:{o:{p:{if((d|0)<=(n|0)){if(l>>>0>>0|h>>>0>>0){break d}i=n+1|0;a=T(i,o);if(a>>>0>u>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=f+((n^-1)+d|0)|0;N[b+12>>2]=f;if((a|0)<0|(f|0)<=0){break d}d=T(d,o);if((d|0)<(a|0)){break p}d=i}if(e){break o}e=0;break n}m=a+l|0;a=d+l|0;while(1){d=O[a|0]+1|0;e=e>>>0>d>>>0?e:d;a=a+1|0;if(m>>>0>a>>>0){continue}break}d=i}m=0;if(p>>>0>>0|h>>>0

>>0){break d}a=e<<3;if(a>>>0>t>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(c-e|0)+f|0;N[b+12>>2]=f;if((f|0)<=0){break d}if((c|0)<(e|0)){i=p+(e<<3)|0;c=p+(c<<3)|0;while(1){a=O[c|0]|O[c+1|0]<<8;a=(((a<<8|a>>>8)&65535)-s|0)/(o|0)|0;n=(a|0)<(n|0)?n:a;j=(a|0)>(j|0)?j:a;c=c+8|0;if(i>>>0>c>>>0){continue}break}}c=e;a=(j|0)<(k|0);if(a|(d|0)<=(n|0)){continue}break}m=(O[g+16|0]|O[g+17|0]<<8)!=0;break d}m=yc(g+8|0,b);break d}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<28){break d}a=a-28|0;N[b+12>>2]=a;if((a|0)<=0){break d}if(!ph(e,b)|!(O[g+16|0]|O[g+17|0]<<8)|!(O[g+18|0]|O[g+19|0]<<8)){break d}m=(O[g+20|0]|O[g+21|0]<<8)!=0}a=N[b+32>>2];c=N[a+12>>2];N[b+4>>2]=c;a=N[a+16>>2];e=a+c|0;N[b+8>>2]=e;if((a|0)<0){break b}if(!m){break a}a=O[g|0]|O[g+1|0]<<8;g=((a<<8|a>>>8)&65535)+g|0;j=1;v=v+1|0;if((w|0)!=(v|0)){continue}break}}return j}ba(16656,14279,195,9642);B()}return 0}function Md(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=La-16|0;La=k;l=N[a+100>>2];h=N[a+92>>2];N[k+8>>2]=b;e=N[h+20>>2];d=e+((Qa[N[h+12>>2]](k+8|0)>>>0)%Q[h+4>>2]<<2)|0;f=N[d>>2];a:{if(!f){break a}while(1){if(Qa[N[h+16>>2]](f,k+8|0)|0){break a}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[h+4>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}e=N[d>>2];b:{if(e){d=0;c:{d:{e:{b=N[a+80>>2];e=N[e+4>>2];h=b+(e<<4)|0;switch(N[h+4>>2]-1|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}a=N[h+12>>2];if(a){Qa[N[l+8>>2]](l,a)}N[h+12>>2]=0;if(!c|!O[c|0]){break b}a=nb(c);b=a+1|0;e=!b;f:{if(a>>>0<=2147483646){a=Qa[N[l+4>>2]](l,b)|0;d=!a<<6;break f}a=0;d=b?6:0}if(!(e|d)){F(a,c,b);d=0}N[h+12>>2]=a;break b}e=b+(e<<4)|0;b=0;g:{if(!c){break g}a=O[c|0];b=0;if(!a){break g}b=(a|0)==45;a=b+c|0;f=L[a|0];h:{if(!(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1)){break h}while(1){if((g|0)>214748362){g=2147483647;break h}g=O[f+45072|0]+T(g,10)|0;f=L[a+1|0];a=a+1|0;if(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1){continue}break}}b=b?0-g|0:g}N[e+12>>2]=b;break b}i:{if(!c){break i}f=L[c|0];a=f&255;if(!a|!(O[(a>>>3|0)+45040|0]>>>(f&7)&1)){break i}while(1){if(g>>>0>429496727){g=-1;break i}g=O[f+45072|0]+T(g,10)|0;f=L[c+1|0];c=c+1|0;if(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1){continue}break}}N[(b+(e<<4)|0)+12>>2]=g;break b}N[k+8>>2]=b;e=N[a+132>>2];d=e+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;f=N[d>>2];j:{if(!f){break j}while(1){if(Qa[N[a+128>>2]](f,k+8|0)|0){break j}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[a+116>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}k:{l:{d=N[d>>2];m:{if(d){e=d?d+4|0:0;break m}i=N[a+100>>2];N[k+8>>2]=b;e=N[a+132>>2];d=e+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;f=N[d>>2];n:{if(!f){break n}while(1){if(Qa[N[a+128>>2]](f,k+8|0)|0){break n}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[a+116>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}if(!N[d>>2]){j=N[a+104>>2];h=N[a+108>>2];e=h+1|0;if((e|h)<0){d=6;break k}o:{p:{q:{if(!e){if(!j){break q}Qa[N[i+8>>2]](i,j);N[a+104>>2]=0;break o}d=10;if((e|0)>134217727){break k}r:{if(!h){g=Qa[N[i+4>>2]](i,e<<4)|0;d=!g<<6;break r}d=Qa[N[i+12>>2]](i,h<<4,e<<4,j)|0;g=d?d:j;d=!d<<6}if(d|(h|0)==2147483647|!g){break p}d=(h<<4)+g|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0}N[a+104>>2]=g;break o}N[a+104>>2]=g;if(d){break b}}d=nb(b);j=d+1|0;e=N[a+108>>2];h=(e<<4)+g|0;s:{if(d>>>0<=2147483646){d=Qa[N[i+4>>2]](i,j)|0;if(d){break s}d=64;break l}d=6;if(j){break l}d=0}N[h>>2]=d;F(d,b,j);d=(e<<4)+g|0;N[d+4>>2]=1;N[d+8>>2]=0;d=gg(N[h>>2],N[a+108>>2]+83|0,a+112|0,i);if(d){break b}N[a+108>>2]=N[a+108>>2]+1}N[k+8>>2]=b;e=N[a+132>>2];d=e+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;f=N[d>>2];t:{if(!f){break t}while(1){if(Qa[N[a+128>>2]](f,k+8|0)|0){break t}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[a+116>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}d=N[d>>2];e=d?d+4|0:0}i=N[a+76>>2];if((i|0)==N[a+72>>2]){j=i+1|0;if((j|i)<0){d=6;break b}h=N[a+80>>2];u:{v:{w:{if(!j){g=0;if(!h){break w}Qa[N[l+8>>2]](l,h);N[a+80>>2]=0;break u}d=10;if((j|0)>134217727){break b}x:{if(!i){g=Qa[N[l+4>>2]](l,j<<4)|0;d=!g<<6;break x}d=Qa[N[l+12>>2]](l,i<<4,j<<4,h)|0;g=d?d:h;d=!d<<6}if(d|(i|0)==2147483647|!g){break v}d=(i<<4)+g|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0}N[a+80>>2]=g;break u}N[a+80>>2]=g;if(d){break b}}N[a+72>>2]=N[a+72>>2]+1}h=N[a+80>>2];j=N[a+76>>2];i=h+(j<<4)|0;d=N[e>>2];y:{if(d>>>0>=83){d=(N[a+104>>2]+(d<<4)|0)-1328|0;break y}d=(d<<4)+43712|0}N[i>>2]=N[d>>2];N[i+4>>2]=N[d+4>>2];N[i+8>>2]=N[d+8>>2];z:{A:{B:{switch(N[d+4>>2]-1|0){case 0:N[i+12>>2]=0;if(!c|!O[c|0]){break z}d=nb(c);e=d+1|0;f=!e;C:{if(d>>>0<=2147483646){g=Qa[N[l+4>>2]](l,e)|0;d=!g<<6;break C}g=0;d=e?6:0}if(!(f|d)){F(g,c,e);N[i+12>>2]=g;break z}N[i+12>>2]=g;if(!d){break z}break b;case 1:d=0;if(!c){break A}e=O[c|0];if(!e){break A}f=0;d=c;c=(e|0)==45;g=d+c|0;d=L[g|0];D:{if(!(O[((d&248)>>>3|0)+45040|0]>>>(d&7)&1)){break D}while(1){if((f|0)>214748362){f=2147483647;break D}f=O[d+45072|0]+T(f,10)|0;d=L[g+1|0];g=g+1|0;if(O[((d&248)>>>3|0)+45040|0]>>>(d&7)&1){continue}break}}d=c?0-f|0:f;break A;case 2:break B;default:break z}}d=0;if(!c){break A}f=L[c|0];e=f&255;if(!e|!(O[(e>>>3|0)+45040|0]>>>(f&7)&1)){break A}while(1){if(d>>>0>429496727){d=-1;break A}d=O[f+45072|0]+T(d,10)|0;f=L[c+1|0];c=c+1|0;if(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1){continue}break}}N[(h+(j<<4)|0)+12>>2]=d}E:{F:{if(bb(b,19233,7)){break F}switch(O[b+7|0]){case 0:case 9:case 10:case 13:case 32:break E;default:break F}}d=gg(N[i>>2],N[a+76>>2],N[a+92>>2],l);if(d){break b}}N[a+76>>2]=N[a+76>>2]+1;G:{if(bb(b,19710,12)){break G}H:{switch(O[b+12|0]){case 0:case 9:case 10:case 13:case 32:break H;default:break G}}N[a+36>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}I:{if(bb(b,19320,11)){break I}J:{switch(O[b+11|0]){case 0:case 9:case 10:case 13:case 32:break J;default:break I}}N[a+40>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}K:{if(bb(b,19275,12)){break K}L:{switch(O[b+12|0]){case 0:case 9:case 10:case 13:case 32:break L;default:break K}}N[a+44>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}d=0;if(bb(b,19980,7)){break b}M:{switch(O[b+7|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break b}}b=N[(h+(j<<4)|0)+12>>2];if(!b){d=3;break b}N:{switch(O[b|0]-67|0){case 13:case 45:N[a+28>>2]=8;break b;case 10:case 42:N[a+28>>2]=16;break b;case 0:case 32:break N;default:break b}}N[a+28>>2]=32;break b}N[h>>2]=0;break b}N[a+104>>2]=j}La=k+16|0;return d}function Mn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,y=0,B=0,C=0,D=0,E=0;m=La-48|0;La=m;A(+a);d=v(1)|0;e=v(0)|0;o=d;a:{b:{g=d&2147483647;c:{if(g>>>0<=1074752122){if((d&1048575)==598523){break c}if(g>>>0<=1073928572){if((o|0)>0|(o|0)>=0){a=a+-1.5707963267341256;f=a+-6077100506506192e-26;S[b>>3]=f;S[b+8>>3]=a-f+-6077100506506192e-26;d=1;break a}a=a+1.5707963267341256;f=a+6077100506506192e-26;S[b>>3]=f;S[b+8>>3]=a-f+6077100506506192e-26;d=-1;break a}if((o|0)>0|(o|0)>=0){a=a+-3.1415926534682512;f=a+-1.2154201013012384e-10;S[b>>3]=f;S[b+8>>3]=a-f+-1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;f=a+1.2154201013012384e-10;S[b>>3]=f;S[b+8>>3]=a-f+1.2154201013012384e-10;d=-2;break a}if(g>>>0<=1075594811){if(g>>>0<=1075183036){if((g|0)==1074977148){break c}if((o|0)>0|(o|0)>=0){a=a+-4.712388980202377;f=a+-1.8231301519518578e-10;S[b>>3]=f;S[b+8>>3]=a-f+-1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;f=a+1.8231301519518578e-10;S[b>>3]=f;S[b+8>>3]=a-f+1.8231301519518578e-10;d=-3;break a}if((g|0)==1075388923){break c}if((o|0)>0|(o|0)>=0){a=a+-6.2831853069365025;f=a+-2.430840202602477e-10;S[b>>3]=f;S[b+8>>3]=a-f+-2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;f=a+2.430840202602477e-10;S[b>>3]=f;S[b+8>>3]=a-f+2.430840202602477e-10;d=-4;break a}if(g>>>0>1094263290){break b}}j=a*.6366197723675814+6755399441055744+-6755399441055744;f=a+j*-1.5707963267341256;l=j*6077100506506192e-26;u=f-l;e=u<-.7853981633974483;if(V(j)<2147483648){d=~~j}else{d=-2147483648}d:{if(e){d=d-1|0;j=j+-1;l=j*6077100506506192e-26;f=a+j*-1.5707963267341256;break d}if(!(u>.7853981633974483)){break d}d=d+1|0;j=j+1;l=j*6077100506506192e-26;f=a+j*-1.5707963267341256}a=f-l;S[b>>3]=a;A(+a);e=v(1)|0;v(0)|0;c=g>>>20|0;e:{if((c-(e>>>20&2047)|0)<17){break e}l=f;a=j*6077100506303966e-26;f=f-a;l=j*20222662487959506e-37-(l-f-a);a=f-l;S[b>>3]=a;A(+a);e=v(1)|0;v(0)|0;if((c-(e>>>20&2047)|0)<50){break e}l=f;a=j*20222662487111665e-37;f=f-a;l=j*84784276603689e-45-(l-f-a);a=f-l;S[b>>3]=a}S[b+8>>3]=f-a-l;break a}if(g>>>0>=2146435072){a=a-a;S[b>>3]=a;S[b+8>>3]=a;d=0;break a}x(0,e|0);x(1,o&1048575|1096810496);a=+z();d=0;e=1;while(1){c=(m+16|0)+(d<<3)|0;if(V(a)<2147483648){d=~~a}else{d=-2147483648}f=+(d|0);S[c>>3]=f;a=(a-f)*16777216;d=1;c=e;e=0;if(c){continue}break}S[m+32>>3]=a;d=2;while(1){c=d;d=c-1|0;if(S[(m+16|0)+(c<<3)>>3]==0){continue}break}w=m+16|0;h=La-560|0;La=h;d=(g>>>20|0)-1046|0;g=(d-3|0)/24|0;t=(g|0)>0?g:0;g=T(t,-24)+d|0;p=N[146293];r=c+1|0;i=r-1|0;if((p+i|0)>=0){d=p+r|0;c=t-i|0;while(1){S[(h+320|0)+(e<<3)>>3]=(c|0)<0?0:+N[(c<<2)+585184>>2];c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}q=g-24|0;d=0;e=(p|0)>0?p:0;n=(r|0)<=0;while(1){f:{if(n){a=0;break f}k=d+i|0;c=0;a=0;while(1){a=S[(c<<3)+w>>3]*S[(h+320|0)+(k-c<<3)>>3]+a;c=c+1|0;if((r|0)!=(c|0)){continue}break}}S[(d<<3)+h>>3]=a;c=(d|0)==(e|0);d=d+1|0;if(!c){continue}break}D=47-g|0;y=48-g|0;B=(g|0)<25;E=g-25|0;d=p;g:{while(1){a=S[(d<<3)+h>>3];c=0;e=d;k=(d|0)<=0;if(!k){while(1){n=(h+480|0)+(c<<2)|0;f=a*5.960464477539063e-8;h:{if(V(f)<2147483648){i=~~f;break h}i=-2147483648}f=+(i|0);a=f*-16777216+a;i:{if(V(a)<2147483648){i=~~a;break i}i=-2147483648}N[n>>2]=i;e=e-1|0;a=S[(e<<3)+h>>3]+f;c=c+1|0;if((c|0)!=(d|0)){continue}break}}a=Gd(a,q);a=a+Z(a*.125)*-8;j:{if(V(a)<2147483648){n=~~a;break j}n=-2147483648}a=a-+(n|0);k:{l:{m:{n:{if(!B){c=(d<<2)+h|0;i=N[c+476>>2];e=i>>y;s=c;c=i-(e<>2]=c;n=e+n|0;i=c>>D;break n}if(q){break m}i=N[((d<<2)+h|0)+476>>2]>>23}if((i|0)<=0){break k}break l}i=2;if(a>=.5){break l}i=0;break k}c=0;e=0;if(!k){while(1){s=(h+480|0)+(c<<2)|0;C=N[s>>2];k=16777215;o:{p:{if(e){break p}k=16777216;if(C){break p}e=0;break o}N[s>>2]=k-C;e=1}c=c+1|0;if((c|0)!=(d|0)){continue}break}}q:{if(B){break q}c=8388607;r:{switch(E|0){case 1:c=4194303;break;case 0:break r;default:break q}}k=(d<<2)+h|0;N[k+476>>2]=N[k+476>>2]&c}n=n+1|0;if((i|0)!=2){break k}a=1-a;i=2;if(!e){break k}a=a-Gd(1,q)}if(a==0){c=1;k=0;e=d;s:{if((d|0)<=(p|0)){break s}while(1){e=e-1|0;k=N[(h+480|0)+(e<<2)>>2]|k;if((e|0)>(p|0)){continue}break}if(!k){break s}g=q;while(1){g=g-24|0;d=d-1|0;if(!N[(h+480|0)+(d<<2)>>2]){continue}break}break g}while(1){e=c;c=c+1|0;if(!N[(h+480|0)+(p-e<<2)>>2]){continue}break}e=d+e|0;while(1){i=d+r|0;d=d+1|0;S[(h+320|0)+(i<<3)>>3]=N[(t+d<<2)+585184>>2];c=0;a=0;if((r|0)>0){while(1){a=S[(c<<3)+w>>3]*S[(h+320|0)+(i-c<<3)>>3]+a;c=c+1|0;if((r|0)!=(c|0)){continue}break}}S[(d<<3)+h>>3]=a;if((d|0)<(e|0)){continue}break}d=e;continue}break}a=Gd(a,24-g|0);t:{if(a>=16777216){q=(h+480|0)+(d<<2)|0;f=a*5.960464477539063e-8;u:{if(V(f)<2147483648){c=~~f;break u}c=-2147483648}a=+(c|0)*-16777216+a;v:{if(V(a)<2147483648){e=~~a;break v}e=-2147483648}N[q>>2]=e;d=d+1|0;break t}if(V(a)<2147483648){c=~~a}else{c=-2147483648}g=q}N[(h+480|0)+(d<<2)>>2]=c}a=Gd(1,g);if((d|0)>=0){e=d;while(1){c=e;S[(c<<3)+h>>3]=a*+N[(h+480|0)+(c<<2)>>2];e=c-1|0;a=a*5.960464477539063e-8;if(c){continue}break}e=d;while(1){a=0;c=0;g=d-e|0;q=(g|0)>(p|0)?p:g;if((q|0)>=0){while(1){a=S[(c<<3)+587952>>3]*S[(c+e<<3)+h>>3]+a;r=(c|0)!=(q|0);c=c+1|0;if(r){continue}break}}S[(h+160|0)+(g<<3)>>3]=a;c=(e|0)>0;e=e-1|0;if(c){continue}break}}a=0;if((d|0)>=0){e=d;while(1){c=e;e=c-1|0;a=a+S[(h+160|0)+(c<<3)>>3];if(c){continue}break}}S[m>>3]=i?-a:a;a=S[h+160>>3]-a;c=1;if((d|0)>0){while(1){a=a+S[(h+160|0)+(c<<3)>>3];e=(d|0)!=(c|0);c=c+1|0;if(e){continue}break}}S[m+8>>3]=i?-a:a;La=h+560|0;d=n&7;a=S[m>>3];if((o|0)<0){S[b>>3]=-a;S[b+8>>3]=-S[m+8>>3];d=0-d|0;break a}S[b>>3]=a;S[b+8>>3]=S[m+8>>3]}La=m+48|0;return d}function cz(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,w=0,x=0,y=0,z=0;m=La-560|0;La=m;N[m+44>>2]=0;A(+b);g=v(1)|0;v(0)|0;a:{if((g|0)<0){s=1;y=8236;b=-b;A(+b);g=v(1)|0;v(0)|0;break a}if(e&2048){s=1;y=8239;break a}s=e&1;y=s?8242:8237;z=!s}b:{if((g&2146435072)==2146435072){g=s+3|0;jc(a,32,c,g,e&-65537);ac(a,y,s);d=f&32;ac(a,b!=b?d?13118:19802:d?15186:19988,3);jc(a,32,c,g,e^8192);n=(c|0)<(g|0)?g:c;break b}u=m+16|0;c:{d:{e:{b=Vd(b,m+44|0);b=b+b;if(b!=0){g=N[m+44>>2];N[m+44>>2]=g-1;w=f|32;if((w|0)!=97){break e}break c}w=f|32;if((w|0)==97){break c}k=N[m+44>>2];l=(d|0)<0?6:d;break d}k=g-29|0;N[m+44>>2]=k;b=b*268435456;l=(d|0)<0?6:d}q=(m+48|0)+((k|0)>=0?288:0)|0;h=q;while(1){if(b<4294967296&b>=0){d=~~b>>>0}else{d=0}N[h>>2]=d;h=h+4|0;b=(b-+(d>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<=0){d=k;g=h;i=q;break f}i=q;d=k;while(1){o=(d|0)>=29?29:d;g=h-4|0;g:{if(i>>>0>g>>>0){break g}d=0;while(1){j=N[g>>2];x=d;d=o&31;if((o&63)>>>0>=32){n=j<>>32-d;d=j<>>0>x>>>0?j+1|0:j,1e9,0);j=UE(d,Pa,-1e9,0)+x|0;N[g>>2]=j;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!d){break g}i=i-4|0;N[i>>2]=d}while(1){g=h;if(i>>>0>>0){h=g-4|0;if(!N[h>>2]){continue}}break}d=N[m+44>>2]-o|0;N[m+44>>2]=d;h=g;if((d|0)>0){continue}break}}if((d|0)<0){t=((l+25>>>0)/9|0)+1|0;p=(w|0)==102;while(1){d=0-d|0;n=(d|0)>=9?9:d;h:{if(g>>>0<=i>>>0){h=N[i>>2];break h}o=1e9>>>n|0;j=-1<>2];N[h>>2]=x+(d>>>n|0);d=T(o,d&j);h=h+4|0;if(h>>>0>>0){continue}break}h=N[i>>2];if(!d){break h}N[g>>2]=d;g=g+4|0}d=n+N[m+44>>2]|0;N[m+44>>2]=d;i=(!h<<2)+i|0;h=p?q:i;g=g-h>>2>(t|0)?h+(t<<2)|0:g;if((d|0)<0){continue}break}}d=0;i:{if(g>>>0<=i>>>0){break i}d=T(q-i>>2,9);h=10;j=N[i>>2];if(j>>>0<10){break i}while(1){d=d+1|0;h=T(h,10);if(j>>>0>=h>>>0){continue}break}}h=(l-((w|0)!=102?d:0)|0)-((w|0)==103&(l|0)!=0)|0;if((h|0)<(T(g-q>>2,9)-9|0)){o=h+9216|0;j=(o|0)/9|0;k=((((k|0)<0?4:292)+m|0)+(j<<2)|0)-4048|0;h=10;n=o+T(j,-9)|0;if((n|0)<=7){while(1){h=T(h,10);n=n+1|0;if((n|0)!=8){continue}break}}o=N[k>>2];t=(o>>>0)/(h>>>0)|0;p=T(t,h);j=k+4|0;j:{if((o|0)==(p|0)&(j|0)==(g|0)){break j}o=o-p|0;k:{if(!(t&1)){b=9007199254740992;if(!(L[k-4|0]&1)|((h|0)!=1e9|i>>>0>=k>>>0)){break k}}b=9007199254740994}r=(g|0)==(j|0)?1:1.5;j=h>>>1|0;r=j>>>0>o>>>0?.5:(j|0)==(o|0)?r:1.5;if(!(O[y|0]!=45|z)){r=-r;b=-b}N[k>>2]=p;if(b+r==b){break j}d=h+p|0;N[k>>2]=d;if(d>>>0>=1e9){while(1){N[k>>2]=0;k=k-4|0;if(k>>>0>>0){i=i-4|0;N[i>>2]=0}d=N[k>>2]+1|0;N[k>>2]=d;if(d>>>0>999999999){continue}break}}d=T(q-i>>2,9);h=10;j=N[i>>2];if(j>>>0<10){break j}while(1){d=d+1|0;h=T(h,10);if(j>>>0>=h>>>0){continue}break}}h=k+4|0;g=g>>>0>h>>>0?h:g}while(1){j=g;o=g>>>0<=i>>>0;if(!o){g=j-4|0;if(!N[g>>2]){continue}}break}l:{if((w|0)!=103){k=e&8;break l}h=l?l:1;g=(h|0)>(d|0)&(d|0)>-5;l=(g?d^-1:-1)+h|0;f=(g?-1:-2)+f|0;k=e&8;if(k){break l}g=-9;m:{if(o){break m}k=N[j-4>>2];if(!k){break m}n=10;g=0;if((k>>>0)%10|0){break m}while(1){h=g;g=g+1|0;n=T(n,10);if(!((k>>>0)%(n>>>0)|0)){continue}break}g=h^-1}h=T(j-q>>2,9);if((f&-33)==70){k=0;g=(g+h|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g;break l}k=0;g=((d+h|0)+g|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g}n=-1;o=k|l;if(((o?2147483645:2147483646)|0)<(l|0)){break b}p=(((o|0)!=0)+l|0)+1|0;h=f&-33;n:{if((h|0)==70){if((p^2147483647)<(d|0)){break b}g=(d|0)>0?d:0;break n}g=d>>31;g=ue((g^d)-g|0,0,u);if((u-g|0)<=1){while(1){g=g-1|0;L[g|0]=48;if((u-g|0)<2){continue}break}}t=g-2|0;L[t|0]=f;L[g-1|0]=(d|0)<0?45:43;g=u-t|0;if((g|0)>(p^2147483647)){break b}}d=g+p|0;if((d|0)>(s^2147483647)){break b}p=d+s|0;jc(a,32,c,p,e);ac(a,y,s);jc(a,48,c,p,e^65536);o:{p:{q:{if((h|0)==70){f=m+16|0;d=f|8;k=f|9;h=i>>>0>q>>>0?q:i;i=h;while(1){g=ue(N[i>>2],0,k);r:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break r}while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}break r}if((g|0)!=(k|0)){break r}L[m+24|0]=48;g=d}ac(a,g,k-g|0);i=i+4|0;if(q>>>0>=i>>>0){continue}break}if(o){ac(a,22483,1)}if((l|0)<=0|i>>>0>=j>>>0){break q}while(1){g=ue(N[i>>2],0,k);if(g>>>0>m+16>>>0){while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}}ac(a,g,(l|0)>=9?9:l);g=l-9|0;i=i+4|0;if(j>>>0<=i>>>0){break p}d=(l|0)>9;l=g;if(d){continue}break}break p}s:{if((l|0)<0){break s}q=i>>>0>>0?j:i+4|0;f=m+16|0;d=f|8;j=f|9;h=i;while(1){g=ue(N[h>>2],0,j);if((j|0)==(g|0)){L[m+24|0]=48;g=d}t:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break t}while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}break t}ac(a,g,1);g=g+1|0;if(!(k|l)){break t}ac(a,22483,1)}f=j-g|0;ac(a,g,(f|0)>(l|0)?l:f);l=l-f|0;h=h+4|0;if(q>>>0<=h>>>0){break s}if((l|0)>=0){continue}break}}jc(a,48,l+18|0,18,0);ac(a,t,u-t|0);break o}g=l}jc(a,48,g+9|0,9,0)}jc(a,32,c,p,e^8192);n=(c|0)<(p|0)?p:c;break b}k=(f<<26>>31&9)+y|0;u:{if(d>>>0>11){break u}g=12-d|0;r=16;while(1){r=r*16;g=g-1|0;if(g){continue}break}if(O[k|0]==45){b=-(r+(-b-r));break u}b=b+r-r}q=s|2;i=f&32;h=N[m+44>>2];g=h>>31;g=ue((g^h)-g|0,0,u);if((u|0)==(g|0)){L[m+15|0]=48;g=m+15|0}l=g-2|0;L[l|0]=f+15;L[g-1|0]=(h|0)<0?45:43;g=e&8;h=m+16|0;while(1){f=h;if(V(b)<2147483648){j=~~b}else{j=-2147483648}L[h|0]=i|O[j+584032|0];b=(b-+(j|0))*16;h=f+1|0;if(!(!((d|0)>0|g)&b==0|(h-(m+16|0)|0)!=1)){L[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}n=-1;g=u-l|0;f=g+q|0;if((2147483645-f|0)<(d|0)){break b}j=f;f=m+16|0;i=h-f|0;d=d?(i-2|0)<(d|0)?d+2|0:i:i;h=j+d|0;jc(a,32,c,h,e);ac(a,k,q);jc(a,48,c,h,e^65536);ac(a,f,i);jc(a,48,d-i|0,0,0);ac(a,l,g);jc(a,32,c,h,e^8192);n=(c|0)<(h|0)?h:c}La=m+560|0;return n|0}function EC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0;j=La-432|0;La=j;t=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{c=N[b+40>>2];b:{if(!c){break b}d=c+(N[b+36>>2]<<2)|0;g=d-4|0;c:{d:{if(c>>>0<=g>>>0){while(1){e=N[g>>2];e:{if(N[e+4>>2]!=1970170211){break e}f:{switch(P[e+8>>1]){case 3:if(P[e+10>>1]!=10){break e}break d;case 0:break f;default:break e}}if(P[e+10>>1]==4){break d}}g=g-4|0;if(c>>>0<=g>>>0){continue}break}}while(1){d=d-4|0;if(c>>>0>d>>>0){break c}e=N[d>>2];if(N[e+4>>2]!=1970170211){continue}break}}N[b+92>>2]=e;Hp(a,b);g=N[N[a>>2]+12>>2];n=db(1,172);g:{if(!n){n=588184;break g}N[n+148>>2]=1073741823;N[n+152>>2]=536870911;N[n>>2]=1;N[n+4>>2]=1;c=Ic();h:{if(!c){break h}d=N[c>>2];if(!d){break h}if((d|0)<=0){break a}N[c>>2]=d+1}L[n+60|0]=1;N[n+24>>2]=65533;N[n+12>>2]=c}d=(g<<3)+283472|0;e=N[d>>2];if((e|0)!=5531){D=a+7720|0;E=a+44|0;while(1){w=d;d=e+277936|0;e=O[d|0];i:{if(!e){break i}u=P[w+4>>1];z=u&2;x=z?E:D;y=1;A=u&1;r=0;s=0;while(1){c=e&255;if((c|0)!=32){j:{k:{if((c|0)==124){d=d+1|0;break k}d=Fe(d,a,n,j+12|0);if(Q[j+12>>2]>1){break j}c=N[n+80>>2];g=N[n+68>>2];l:{if(O[n+63|0]|N[n+168>>2]){break l}N[n+84>>2]=c;N[n+72>>2]=0;M[n+62>>1]=256;f=T(g,20);if(!f){break l}C(N[n+88>>2],0,f)}if(!g){break j}c=N[c>>2];if(!c){break j}if(vc(b,c,1)){break j}c=N[b+84>>2];if(M[c+110>>1]<3){break j}l=M[c+108>>1];m:{if((l|0)<=0){e=0;break m}v=N[c+120>>2];k=N[c+112>>2];if(!z){i=-1;g=0;e=0;m=0;if(!A){while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;n:{if((f|0)>=(o|0)){break n}if(g-f&1){c=N[(k+(f<<3)|0)+4>>2];h=(i|0)<0|(c|0)<(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break n}while(1){f=i;h=(i|0)<0;i=N[(k+(c<<3)|0)+4>>2];h=h|(i|0)<(e|0);p=h?c:f;f=c+1|0;q=N[(k+(f<<3)|0)+4>>2];h=h?i:e;e=(p|0)<0|(q|0)<(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break m}}while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;o:{if((f|0)>=(o|0)){break o}if(g-f&1){c=N[(k+(f<<3)|0)+4>>2];h=(i|0)<0|(c|0)>(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break o}while(1){f=i;h=(i|0)<0;i=N[(k+(c<<3)|0)+4>>2];h=h|(i|0)>(e|0);p=h?c:f;f=c+1|0;q=N[(k+(f<<3)|0)+4>>2];h=h?i:e;e=(p|0)<0|(q|0)>(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break}break m}i=-1;g=0;e=0;m=0;if(!A){while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;p:{if((f|0)>=(o|0)){break p}if(g-f&1){c=N[k+(f<<3)>>2];h=(i|0)<0|(c|0)<(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break p}while(1){f=i;h=(i|0)<0;i=N[k+(c<<3)>>2];h=h|(i|0)<(e|0);p=h?c:f;f=c+1|0;q=N[k+(f<<3)>>2];h=h?i:e;e=(p|0)<0|(q|0)<(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break m}}while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;q:{if((f|0)>=(o|0)){break q}if(g-f&1){c=N[k+(f<<3)>>2];h=(i|0)<0|(c|0)>(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break q}while(1){f=i;h=(i|0)<0;i=N[k+(c<<3)>>2];h=h|(i|0)>(e|0);p=h?c:f;f=c+1|0;q=N[k+(f<<3)>>2];h=h?i:e;e=(p|0)<0|(q|0)>(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break}}if(y){N[(j+224|0)+(r<<2)>>2]=e;y=1;r=r+1|0;break j}N[(j+16|0)+(s<<2)>>2]=e;s=s+1|0}y=0}e=O[d|0];if(e){continue}if(!(r|s)){break i}r:{if(r>>>0<2){break r}c=1;if((r|0)!=2){d=r-1|0;i=d&1;m=d&-2;f=0;while(1){e=N[(j+224|0)+(c<<2)>>2];d=c;while(1){g=d-1|0;k=(j+224|0)+(g<<2)|0;l=N[k>>2];if((l|0)>(e|0)){N[(j+224|0)+(d<<2)>>2]=l;N[k>>2]=e;d=g;if(d){continue}}break}d=c+1|0;g=N[(j+224|0)+(d<<2)>>2];while(1){s:{e=(d<<2)+j|0;k=N[e+220>>2];if((k|0)<=(g|0)){break s}l=j+224|0;N[l+(d<<2)>>2]=k;N[e+220>>2]=g;d=d-2|0;k=l+(d<<2)|0;l=N[k>>2];if((l|0)<=(g|0)){break s}N[e+220>>2]=l;N[k>>2]=g;if(d){continue}}break}c=c+2|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}if(!i){break r}}g=N[(j+224|0)+(c<<2)>>2];while(1){d=c-1|0;f=(j+224|0)+(d<<2)|0;e=N[f>>2];if((e|0)<=(g|0)){break r}N[(j+224|0)+(c<<2)>>2]=e;N[f>>2]=g;c=d;if(c){continue}break}}t:{if(s>>>0<2){break t}c=1;if((s|0)!=2){d=s-1|0;i=d&1;m=d&-2;f=0;while(1){e=N[(j+16|0)+(c<<2)>>2];d=c;while(1){g=d-1|0;k=(j+16|0)+(g<<2)|0;l=N[k>>2];if((l|0)>(e|0)){N[(j+16|0)+(d<<2)>>2]=l;N[k>>2]=e;d=g;if(d){continue}}break}d=c+1|0;g=N[(j+16|0)+(d<<2)>>2];while(1){u:{e=(d<<2)+j|0;k=N[e+12>>2];if((k|0)<=(g|0)){break u}l=j+16|0;N[l+(d<<2)>>2]=k;N[e+12>>2]=g;d=d-2|0;k=l+(d<<2)|0;l=N[k>>2];if((l|0)<=(g|0)){break u}N[e+12>>2]=l;N[k>>2]=g;if(d){continue}}break}c=c+2|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}if(!i){break t}}g=N[(j+16|0)+(c<<2)>>2];while(1){d=c-1|0;f=(j+16|0)+(d<<2)|0;e=N[f>>2];if((e|0)<=(g|0)){break t}N[(j+16|0)+(c<<2)>>2]=e;N[f>>2]=g;c=d;if(c){continue}break}}c=N[x+216>>2];N[x+216>>2]=c+1;c=T(c,28)+x|0;d=N[(j+224|0)+(r<<1&-4)>>2];v:{w:{if(!s){break w}d=N[(j+16|0)+(s<<1&-4)>>2];if(!r){break w}d=N[(j+224|0)+(r<<1&-4)>>2];N[c+220>>2]=d;g=N[(j+16|0)+(s<<1&-4)>>2];N[c+232>>2]=g;if(((d|0)<=(g|0)^u)&1|(d|0)==(g|0)){break v}d=(d+g|0)/2|0}N[c+232>>2]=d;N[c+220>>2]=d}N[c+244>>2]=u<<1&2}else{e=O[d+1|0];d=d+1|0;continue}break}}d=w+8|0;e=N[w+8>>2];if((e|0)!=5531){continue}break}}dc(n);Gp(a)}if(!b|!t){break b}d=N[b+40>>2];if(!d){break b}a=N[b+36>>2];if((a|0)<=0){break b}a=(a<<2)+d|0;while(1){x:{if(N[d>>2]!=(t|0)){break x}c=N[t>>2];y:{if(!c){break y}c=N[c+96>>2];g=N[N[c>>2]+32>>2];if(!g){break y}c=Qa[g|0](c,10557)|0;if(!c){break y}if(Qa[N[c>>2]](t,j+224|0)|0){break y}if(N[j+228>>2]==14){break x}}N[b+92>>2]=N[d>>2];break b}d=d+4|0;if(a>>>0>d>>>0){continue}break}}La=j+432|0;return 0}ba(23506,14099,260,16403);B()}function hE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-32|0;La=g;a:{b:{if(ib(c,b,12151,0)){p=wf(b,c,1,11,-1,-1);o=N[c+68>>2];if(o){d=o-1|0;l=N[c+80>>2];k=l+3|0;a=0;e=O[l+15|0];while(1){c:{if((a|0)==(d|0)){a=o;break c}a=a+1|0;if(O[(k+T(a,20)|0)+12|0]==(e|0)){continue}}break}d=0;while(1){k=a;d:{if(e&14){break d}e:{f:{a=d+3|0;if(k>>>0>>0){break f}e=T(d,20)+l|0;if(O[e+18|0]!=15|O[e+38|0]!=32|O[e+58|0]!=4){break f}i=0;j=3;break e}i=1;a=d;j=0}m=l+3|0;f=d;g:{if(a>>>0>=k>>>0){break g}while(1){h:{e=T(a,20)+l|0;if(O[e+12|0]&32){break h}e=O[e+18|0];if(e>>>0>31|!(1<>>0>>0){a=0;e=d;if(!i){while(1){L[(m+T(e,20)|0)+16|0]=5;e=e+1|0;a=a+1|0;if((j|0)!=(a|0)){continue}break}}if(j-1>>>0>6){while(1){a=m+T(e,20)|0;L[a+36|0]=5;L[a+16|0]=5;L[a+56|0]=5;L[a+76|0]=5;L[a+96|0]=5;L[a+116|0]=5;L[a+136|0]=5;L[a+156|0]=5;e=e+8|0;if((h|0)!=(e|0)){continue}break}}a=h}if(a>>>0>>0){j=f+(a^-1)|0;e=0;h=f-a&7;if(h){while(1){L[(m+T(a,20)|0)+16|0]=3;a=a+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(j>>>0>=7){while(1){e=m+T(a,20)|0;L[e+36|0]=3;L[e+16|0]=3;L[e+56|0]=3;L[e+76|0]=3;L[e+96|0]=3;L[e+116|0]=3;L[e+136|0]=3;L[e+156|0]=3;a=a+8|0;if((f|0)!=(a|0)){continue}break}}a=f}if(a>>>0>>0){L[(T(a,20)+l|0)+19|0]=4;a=a+1|0}e=5;if(a>>>0>>0){while(1){i:{j:{k:{l:{m:{h=T(a,20);f=h+l|0;j=O[f+18|0];switch(j-22|0){case 18:break k;case 0:break l;case 14:break m;default:break j}}L[f+19|0]=3;break i}L[f+19|0]=2;break i}L[f+19|0]=O[(h+m|0)-4|0];break i}n:{o:{if((e|0)==5&(j|0)==21){break o}if((e|0)!=8){break n}if((j|0)==9){L[f+19|0]=7;e=8;break i}if((j|0)==21){break o}e=9;break n}e=8}L[f+19|0]=e}a=a+1|0;if((k|0)!=(a|0)){continue}break}}if(O[c+63|0]){break b}f=d;h=d+1|0;a=h;if(k>>>0>a>>>0){while(1){j=f;f=a;i=a>>>0>d>>>0?d:a;e=a;while(1){p:{a=e;if(d>>>0>=a>>>0){a=i;break p}n=N[c+80>>2];e=a-1|0;if(O[(n+T(e,20)|0)+19|0]>O[(T(f,20)+n|0)+19|0]){continue}}break}if((a|0)!=(f|0)){e=j+2|0;if(e-a>>>0>=2){Ib(c,a,e)}j=N[c+80>>2];e=j+T(f,20)|0;N[g+24>>2]=N[e+16>>2];i=N[e+12>>2];N[g+16>>2]=N[e+8>>2];N[g+20>>2]=i;i=N[e+4>>2];N[g+8>>2]=N[e>>2];N[g+12>>2]=i;e=T(a,20);j=e+j|0;F(j+20|0,j,T(f-a|0,20));a=e+N[c+80>>2]|0;e=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=e;N[a+16>>2]=N[g+24>>2];e=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=e}a=f+1|0;if((k|0)!=(a|0)){continue}break}}if(d>>>0>=k>>>0){break d}q:{if(!(k-d&1)){j=k;break q}j=O[(m+T(d,20)|0)+16|0]==2?d:k;d=h}e=j;if((h|0)==(k|0)){break d}while(1){a=d+1|0;f=m+T(d,20)|0;h=O[f+16|0]==2;f=O[f+36|0]==2;j=f?a:h?d:j;i=a;a=h?(e|0)==(k|0)?d:e:e;e=f?(a|0)==(k|0)?i:a:a;d=d+2|0;if((k|0)!=(d|0)){continue}break}if(e>>>0>=j>>>0){break d}a=N[c+68>>2];i=j+1|0;d=a>>>0>>0?a:i;h=a>>>0>>0?a:e;r:{if(d>>>0>>0){break r}f=d-1|0;if(h>>>0>=f>>>0){break r}m=N[c+80>>2];while(1){a=m+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=m+T(h,20)|0;N[a+16>>2]=N[d+16>>2];n=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=n;n=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=n;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}s:{if(!O[c+63|0]){break s}a=N[c+68>>2];d=a>>>0>>0?a:i;h=a>>>0>>0?a:e;if(d>>>0>>0){break s}f=d-1|0;if(h>>>0>=f>>>0){break s}i=N[c+88>>2];while(1){a=i+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=i+T(h,20)|0;N[a+16>>2]=N[d+16>>2];m=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=m;m=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=m;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}m=l+2|0;a=e;while(1){d=a;a=e;e=a+1|0;t:{if(O[(m+T(a,20)|0)+16|0]!=22){a=d;break t}a=N[c+68>>2];f=a>>>0>>0?a:e;h=a>>>0>>0?a:d;u:{if(f>>>0>>0){break u}f=f-1|0;if(h>>>0>=f>>>0){break u}l=N[c+80>>2];while(1){i=l+T(f,20)|0;N[g+24>>2]=N[i+16>>2];a=N[i+12>>2];N[g+16>>2]=N[i+8>>2];N[g+20>>2]=a;a=N[i+4>>2];N[g+8>>2]=N[i>>2];N[g+12>>2]=a;a=l+T(h,20)|0;N[i+16>>2]=N[a+16>>2];n=N[a+12>>2];N[i+8>>2]=N[a+8>>2];N[i+12>>2]=n;n=N[a+4>>2];N[i>>2]=N[a>>2];N[i+4>>2]=n;N[a+16>>2]=N[g+24>>2];i=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=i;i=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=i;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}a=e;if(!O[c+63|0]){break t}f=N[c+68>>2];i=a>>>0>f>>>0?f:e;h=d>>>0>f>>>0?f:d;if(i>>>0>>0){break t}f=i-1|0;if(h>>>0>=f>>>0){break t}i=N[c+88>>2];while(1){a=i+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=i+T(h,20)|0;N[a+16>>2]=N[d+16>>2];l=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=l;l=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=l;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}a=e}if(e>>>0<=j>>>0){continue}break}}a=N[c+68>>2];e=k+1|0;d=a>>>0>e>>>0?a:e;f=d-1|0;l=N[c+80>>2];e=O[(l+T(k,20)|0)+15|0];j=l+3|0;a=k;while(1){v:{if((a|0)==(f|0)){a=d;break v}a=a+1|0;if(O[(j+T(a,20)|0)+12|0]==(e&255)){continue}}break}d=k;if(o>>>0>d>>>0){continue}break}}ib(c,b,12176,0)}a=O[c+140|0];if(!(a&64)){break a}a=a<<24>>24;L[c+140|0]=a&191;if((a|0)>=0){break a}L[c+140|0]=a&63;La=g+32|0;return p|0}ba(10615,17855,2019,8730);B()}ba(22742,14165,187,12136);B()}function Yf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;e=La-1488|0;La=e;i=N[a+4>>2];p=N[i+556>>2];k=N[p+40>>2];a:{b:{c:{j=N[i+712>>2];if(N[j+1504>>2]==65535){break c}f=N[j+1192>>2];if(!f){break c}if(!c){c=0;break b}g=6;if(Q[j+1196>>2]>>0){break a}c=P[f+(c<<1)>>1];if(c){break b}break a}g=6;if(Q[j+20>>2]<=c>>>0){break a}}N[a+164>>2]=65536;N[a+168>>2]=65536;o=d&1024?d|3:d;d:{e:{if(!b){break e}N[a+164>>2]=N[b+16>>2];N[a+168>>2]=N[b+20>>2];d=N[b+44>>2];if(o&8|(d|0)==-1){break e}f=N[b>>2];g=N[f+540>>2];if(!N[g+96>>2]){break e}if(Qa[N[g+72>>2]](i,d,c,o,N[f+104>>2],a+76|0,e+708|0)|0){break e}N[a+108>>2]=0;N[a+24>>2]=P[e+710>>1]<<6;N[a+28>>2]=P[e+708>>1]<<6;b=M[e+712>>1];N[a+32>>2]=b<<6;d=M[e+714>>1];N[a+36>>2]=d<<6;N[a+40>>2]=P[e+716>>1]<<6;f=M[e+718>>1];N[a+44>>2]=f<<6;g=M[e+720>>1];N[a+48>>2]=g<<6;j=P[e+722>>1];h=d;d=o&16;N[a+104>>2]=d?g:h;N[a+100>>2]=d?f:b;N[a+72>>2]=1651078259;N[a+52>>2]=j<<6;Qa[N[N[i+540>>2]+156>>2]](i,0,c,e+32|0,e+52|0);N[a+56>>2]=P[e+52>>1];if(!(!O[i+292|0]|!P[i+330>>1])){Qa[N[N[i+540>>2]+156>>2]](i,1,c,e+32|0,e+52|0);N[a+60>>2]=P[e+52>>1];break d}if(P[i+372>>1]!=65535){N[a+60>>2]=M[i+442>>1]-M[i+444>>1];break d}N[a+60>>2]=M[i+220>>1]-M[i+222>>1];break d}g=6;if(o&16384){break a}l=N[j+2024>>2];f:{if(l){g=0;f=N[j+3060>>2];g:{if(!f){break g}h:{switch(O[j+3052|0]){case 0:g=O[c+f|0];break g;case 3:break h;default:break g}}if(Q[j+3072>>2]>c-N[j+3068>>2]>>>0){g=O[j+3076|0];break g}g=f+2|0;d=O[f+1|0]|O[f|0]<<8;h=f+N[j+3064>>2]|0;while(1){if(c>>>0>=d>>>0){f=O[g+2|0]|O[g+1|0]<<8;if(f>>>0>c>>>0){g=O[g|0];L[j+3076|0]=g;N[j+3072>>2]=f-d;N[j+3068>>2]=d;break g}d=f;g=g+3|0;if(h>>>0>g>>>0){continue}}break}g=0}l=(j+(((l>>>0>(g&255)>>>0?g:l-1|0)&255)<<2)|0)+2028|0;d=N[l>>2];f=N[d+68>>2];g=N[j+1440>>2];h=N[d+60>>2];N[e+40>>2]=N[d+56>>2];N[e+44>>2]=h;h=N[d+52>>2];N[e+32>>2]=N[d+48>>2];N[e+36>>2]=h;d=N[l>>2];l=N[d+72>>2];h=N[d+76>>2];if((g|0)==(f|0)){break f}w=a,x=jb(N[a+164>>2],g,f),N[w+164>>2]=x;w=a,x=jb(N[a+168>>2],g,f),N[w+168>>2]=x;q=1;break f}d=j+1428|0;f=N[d+4>>2];N[e+40>>2]=N[d>>2];N[e+44>>2]=f;d=j+1420|0;f=N[d+4>>2];N[e+32>>2]=N[d>>2];N[e+36>>2]=f;h=N[j+1448>>2];l=N[j+1444>>2]}N[a+108>>2]=0;N[a+72>>2]=1869968492;r=o&1;L[a+161|0]=!r;n=!(o&2);L[a+160|0]=n;Qa[N[k>>2]](e+708|0,i,b,a,n,o>>>16&15,153,154);if(o&256){L[e+1301|0]=1}s=o&1024;L[e+774|0]=s>>>10;d=N[N[i+128>>2]+52>>2];i:{if(d){g=Qa[N[N[d>>2]>>2]](N[d+4>>2],c,e+52|0)|0;N[e+28>>2]=N[e+52>>2];N[e+24>>2]=N[e+56>>2];break i}g=Xf(N[i+712>>2]+1204|0,c,e+28|0,e+24|0)}if(g){break a}g=Qa[N[k+4>>2]](e+708|0,b,c)|0;if(g){break a}d=e+52|0;Qa[N[p+24>>2]](d,e+708|0,0);m=d;f=N[e+28>>2];d=N[e+24>>2];g=Qa[N[k+8>>2]](m,f,d)|0;if((g&255)==164){L[a+160|0]=0;q=1;n=0;g=Qa[N[k+8>>2]](e+52|0,f,d)|0}k=N[N[i+128>>2]+52>>2];j:{if(k){N[e+12>>2]=d;N[e+8>>2]=f;Qa[N[N[k>>2]+4>>2]](N[k+4>>2],e+8|0);break j}k=N[i+712>>2];if(N[k+1236>>2]){break j}k=N[k+1204>>2];if(!f|(!k|!N[k+20>>2])){break j}k=N[k+28>>2];Qa[N[k+8>>2]](k,f)}if(g){break a}g=0;k:{if(N[N[i+128>>2]+52>>2]){d=0}else{f=N[j+1232>>2];if(!f){break k}g=(N[j+1236>>2]+N[f+(c<<2)>>2]|0)-1|0}N[a+140>>2]=d;N[a+136>>2]=g}Qa[N[e+788>>2]](e+708|0);d=N[N[i+128>>2]+52>>2];l:{if(!d){break l}f=N[N[d>>2]+8>>2];if(!f){break l}N[e+12>>2]=0;N[e+8>>2]=N[e+740>>2];g=N[e+752>>2];N[e+16>>2]=N[e+748>>2];N[e+20>>2]=g;g=Qa[f|0](N[d+4>>2],c,0,e+8|0)|0;N[e+740>>2]=N[e+8>>2];d=N[e+20>>2];N[e+748>>2]=N[e+16>>2];N[e+752>>2]=d;if(g){break a}}if(s){N[a+32>>2]=N[e+740>>2];N[a+40>>2]=N[e+1292>>2];b=N[e+40>>2];c=N[e+44>>2];d=N[e+32>>2];f=N[e+36>>2];a=N[a+156>>2];N[a+28>>2]=l;N[a+32>>2]=h;L[a+8|0]=1;N[a+20>>2]=b;N[a+24>>2]=c;N[a+12>>2]=d;N[a+16>>2]=f;break d}m:{if(P[i+250>>1]){M[e+8>>1]=0;M[e+28>>1]=0;Qa[N[N[i+540>>2]+156>>2]](i,0,c,e+8|0,e+28|0);d=P[e+28>>1];N[a+32>>2]=M[e+8>>1];break m}d=N[e+1292>>2]}N[a+56>>2]=d;N[a+40>>2]=d;L[N[a+156>>2]+8|0]=0;n:{if(!(!O[i+292|0]|!P[i+330>>1])){M[e+8>>1]=0;M[e+28>>1]=0;Qa[N[N[i+540>>2]+156>>2]](i,1,c,e+8|0,e+28|0);N[a+48>>2]=M[e+8>>1];f=P[e+28>>1];N[a+52>>2]=f;i=1;break n}if(P[i+372>>1]!=65535){f=M[i+442>>1]-M[i+444>>1]|0}else{f=M[i+220>>1]-M[i+222>>1]|0}N[a+52>>2]=f;i=0}N[a+72>>2]=1869968492;N[a+60>>2]=f;k=a+108|0;N[a+124>>2]=b?P[b+14>>1]<24?260:4:4;o:{if(!(N[e+36>>2]|(N[e+32>>2]!=65536|N[e+44>>2]!=65536))){if(!N[e+40>>2]){break o}}kg(k,e+32|0);w=a,x=ob(N[a+40>>2],N[e+32>>2]),N[w+40>>2]=x;f=ob(N[a+52>>2],N[e+44>>2]);N[a+52>>2]=f}if(h|l){te(k,l,h);N[a+40>>2]=N[a+40>>2]+l;f=N[a+52>>2]+h|0;N[a+52>>2]=f}if(!(q?0:r)){b=N[a+168>>2];g=N[a+164>>2];p:{if(N[e+776>>2]?n:0){break p}c=M[a+110>>1];if((c|0)<=0){break p}c=c&65535;d=b>>31;j=(d^b)-d|0;q=j&65535;p=j>>>16|0;r=j>>>8|0;d=g>>31;l=(d^g)-d|0;s=l&65535;u=l>>>16|0;v=l>>>8|0;d=N[a+112>>2];while(1){n=N[d>>2];h=n>>31;h=(h^n)-h|0;q:{if(h+v>>>0<=8190){m=T(h,l)+32768>>>16|0;break q}m=h&65535;m=T(m,u)+T(l,h>>>16|0)+(T(s,m)+32768>>>16)|0}h=m;t=0-h|0;h=n>>31|1;N[d>>2]=(((g|0)<0?0-h|0:h)|0)<0?t:m;n=N[d+4>>2];h=n>>31;h=(h^n)-h|0;r:{if(h+r>>>0<=8190){m=T(h,j)+32768>>>16|0;break r}m=h&65535;m=T(m,p)+T(j,h>>>16|0)+(T(q,m)+32768>>>16)|0}h=m;t=0-h|0;h=n>>31|1;N[d+4>>2]=(((b|0)<0?0-h|0:h)|0)<0?t:m;d=d+8|0;h=c>>>0>1;c=c-1|0;if(h){continue}break}}w=a,x=ob(N[a+40>>2],g),N[w+40>>2]=x;f=ob(f,b);N[a+52>>2]=f}En(k,e+8|0);b=N[e+8>>2];N[a+24>>2]=N[e+16>>2]-b;c=N[e+12>>2];d=N[e+20>>2];N[a+36>>2]=d;N[a+32>>2]=b;N[a+28>>2]=d-c;if(i){N[a+44>>2]=b+(N[a+40>>2]/-2|0);w=a,x=ob(N[a+48>>2],N[a+168>>2]),N[w+48>>2]=x;break d}if(!(o&16)){break d}tn(a+24|0,f)}g=0}La=e+1488|0;return g}function ci(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=La-48|0;La=g;o=N[a>>2];h=N[b+20>>2];a:{b:{if(h){f=85;if(Qa[h|0](b,c,0,0)|0){break a}k=N[b+4>>2];break b}f=85;k=N[b+4>>2];if(k>>>0>>0){break a}}N[b+8>>2]=c;if(c>>>0>=k>>>0){break a}h=N[b+20>>2];c:{if(h){k=Qa[h|0](b,c,g+16|0,16)|0;break c}h=k-c|0;k=h>>>0>=16?16:h;F(g+16|0,N[b>>2]+c|0,k)}N[b+8>>2]=c+k;if(k>>>0<16){break a}j=L[g+16|0];if((j|0)<0){f=2;break a}h=L[g+20|0];if((h|0)<0){f=2;break a}n=L[g+24|0];if((n|0)<0){f=2;break a}l=L[g+28|0];if((l|0)<0){f=2;break a}h=O[g+23|0]|(O[g+21|0]<<16|(h&255)<<24|O[g+22|0]<<8);if(!h){f=2;break a}i=O[g+31|0];l=i|(O[g+29|0]<<16|(l&255)<<24|O[g+30|0]<<8);n=O[g+27|0]|(O[g+25|0]<<16|(n&255)<<24|O[g+26|0]<<8);d:{j=O[g+19|0]|(O[g+17|0]<<16|(j&255)<<24|O[g+18|0]<<8);if(j>>>0>>0){if((j|0)<=(h-n|0)){break d}f=2;break a}if((h|0)<=(j-l|0)){break d}f=2;break a}if(j>>>0>(n^2147483647)>>>0){f=2;break a}if(h>>>0>(l^2147483647)>>>0){f=2;break a}if((j+n^2147483647)<(c|0)){f=2;break a}if((h+l^2147483647)<(c|0)){f=2;break a}j=c+j|0;k=j+n|0;n=N[b+4>>2];if(k>>>0>n>>>0){f=2;break a}c=c+h|0;if(n>>>0>>0){f=2;break a}h=N[b+20>>2];e:{if(h){if(Qa[h|0](b,c,0,0)|0){break a}i=O[g+31|0];break e}if(c>>>0>n>>>0){break a}}N[b+8>>2]=c;L[g+15|0]=i+1;f=Zb(b,g,16);if(f){break a}u=O[g|0];v=O[g+1|0];w=O[g+2|0];x=O[g+3|0];t=O[g+4|0];q=O[g+5|0];r=O[g+6|0];s=O[g+7|0];p=O[g+8|0];k=O[g+9|0];m=O[g+10|0];n=O[g+11|0];f=O[g+12|0];h=O[g+13|0];i=O[g+15|0];l=O[g+14|0];if(!(!(u|(v|(w|(x|(t|(q|(r|(s|(p|(k|(m|(n|(f|(h|(i|l)))))))))))))))|O[g+31|0]==(i|0)&O[g+30|0]==(l|0)&O[g+29|0]==(h|0)&O[g+28|0]==(f|0)&(n|0)==O[g+27|0]&(m|0)==O[g+26|0]&(k|0)==O[g+25|0]&(p|0)==O[g+24|0]&(s|0)==O[g+23|0]&(r|0)==O[g+22|0]&(q|0)==O[g+21|0]&(t|0)==O[g+20|0]&(x|0)==O[g+19|0]&(w|0)==O[g+18|0]&(v|0)==O[g+17|0]&(u|0)==O[g+16|0])){f=2;break a}h=N[b+8>>2]+8|0;i=N[b+20>>2];f:{g:{if(i){f=85;if(!(Qa[i|0](b,h,0,0)|0)){break g}break f}f=85;if(h>>>0>Q[b+4>>2]){break f}}N[b+8>>2]=h;f=0}N[g+44>>2]=f;h=xb(b,g+44|0);f=N[g+44>>2];if(f){break a}f=2;h=h<<16>>16;if((h|0)<0){break a}c=c+h|0;h=N[b+20>>2];h:{if(h){f=85;if(!(Qa[h|0](b,c,0,0)|0)){break h}break a}f=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;f=1;i:{j:{k:{if(!xn(N[a>>2],b,c,j,1347375956,1,g,g+44|0)){s=N[g>>2];l:{m:{n:{if(d+1>>>0>1){break n}t=N[g+44>>2];if((t|0)<=0){f=10;break n}r=N[a>>2];d=0;k=0;while(1){c=N[s+(k<<2)>>2];o:{p:{f=N[b+20>>2];if(f){if(!(Qa[f|0](b,c,0,0)|0)){break p}f=85;break m}f=N[b+4>>2];if(f>>>0>=c>>>0){break o}f=85;break m}f=N[b+4>>2]}N[b+8>>2]=c;q:{r:{s:{t:{if(c+3>>>0>=f>>>0){break t}f=N[b+20>>2];if(f){if((Qa[f|0](b,c,g+16|0,4)|0)!=4){break t}c=N[b+8>>2];f=g+16|0;break r}f=N[b>>2];if(!f){break s}f=c+f|0;break r}f=85;break m}N[b+8>>2]=c+4;c=0;break q}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);N[b+8>>2]=c+4;c=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(c>>>0<=16777215){break q}f=9;break m}d=d+6|0;if(d>>>0>(c^16777215)>>>0){f=9;break m}d=c+d|0;k=k+1|0;if((t|0)!=(k|0)){continue}break}q=d+2|0;m=Qa[N[r+4>>2]](r,q)|0;if(!m){f=64;break m}L[m+2|0]=0;L[m+3|0]=0;L[m+4|0]=0;L[m+5|0]=0;L[m|0]=128;L[m+1|0]=1;p=2;j=6;h=0;n=1;k=0;u:{while(1){c=N[s+(k<<2)>>2];f=N[b+20>>2];v:{if(f){if(Qa[f|0](b,c,0,0)|0){break u}f=N[b+4>>2];break v}f=N[b+4>>2];if(f>>>0>>0){break u}}N[b+8>>2]=c;if(c+3>>>0>=f>>>0){break u}w:{x:{f=N[b+20>>2];y:{if(f){if((Qa[f|0](b,c,g+16|0,4)|0)!=4){break u}c=N[b+8>>2];f=g+16|0;break y}f=N[b>>2];if(!f){break x}f=c+f|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break w}f=0}N[b+8>>2]=c+4;if((f|0)<0){break u}c=N[b+8>>2];if(Q[b+4>>2]<=c+1>>>0){break u}z:{A:{B:{i=N[b+20>>2];if(i){if((Qa[i|0](b,c,g+16|0,2)|0)!=2){break u}c=N[b+8>>2];i=g+16|0;break B}i=N[b>>2];if(i){i=c+i|0;break B}N[b+8>>2]=c+2;break A}l=O[i+1|0];i=O[i|0];N[b+8>>2]=c+2;if((l|i<<8)>>>0<256){break A}c=f-2|0;l=c>>>0<=f>>>0?c:0;C:{if((i|0)==(n|0)){f=j;h=h+l|0;break C}f=p+3|0;if(f>>>0>q>>>0){break u}c=m+p|0;L[c|0]=h;L[c+2|0]=h>>>16;L[c+1|0]=h>>>8;L[f+m|0]=h>>>24;if((i|0)==5){break z}f=j+6|0;if(q>>>0>>0){break u}h=j+m|0;L[h|0]=128;p=j+2|0;c=m+p|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[h+1|0]=i;n=i;h=l}if(d>>>0>>0){break u}j=f+l|0;if(j>>>0>d>>>0){break u}if(Zb(b,f+m|0,l)){break u}}k=k+1|0;if((t|0)!=(k|0)){continue}}break}c=j+2|0;if(c>>>0>q>>>0){break u}b=j+m|0;L[b|0]=128;L[b+1|0]=3;d=p+3|0;if(d>>>0>q>>>0){break u}b=m+p|0;L[b|0]=h;L[b+2|0]=h>>>16;L[b+1|0]=h>>>8;L[d+m|0]=h>>>24;f=_h(a,m,c,0,21728,e);break n}Qa[N[r+8>>2]](r,m);f=1}if(!s){break l}}Qa[N[o+8>>2]](o,s)}if(f){break a}c=1;break k}f=xn(N[a>>2],b,c,j,1936092788,0,g,g+44|0);if(f){break a}j=N[g>>2];c=N[g+44>>2];d=(d|0)%(c|0)|0;l=d>>31^d;if((c|0)<=(l|0)){break j}i=N[a>>2];h=N[j+(l<<2)>>2];d=N[b+20>>2];D:{if(d){f=85;if(!(Qa[d|0](b,h,0,0)|0)){break D}break i}f=85;if(h>>>0>Q[b+4>>2]){break i}}N[b+8>>2]=h;N[g+16>>2]=0;d=Nb(b,g+16|0);f=N[g+16>>2];if(f){break i}f=1;if((d|0)<=0){break i}f=9;if(d>>>0>16777215){break i}if(!Cn(a,b,l,e)){Qa[N[o+8>>2]](o,j);break k}h=h+4|0;l=N[b+20>>2];E:{if(l){f=85;if(Qa[l|0](b,h,0,0)|0){break i}break E}f=85;if(h>>>0>Q[b+4>>2]){break i}}N[b+8>>2]=h;h=Qa[N[i+4>>2]](i,d)|0;if(!h){f=64;break i}f=Zb(b,h,d);if(f){Qa[N[i+8>>2]](i,h);break i}if(d>>>0>=5){b=Mb(h,19751,4)?15504:15225}else{b=15504}f=_h(a,h,d,0,b,e);Qa[N[o+8>>2]](o,j);if(f){break a}}N[N[e>>2]>>2]=c;f=0;break a}f=1;if(!j){break a}Qa[N[o+8>>2]](o,j);break a}Qa[N[o+8>>2]](o,j)}La=g+48|0;return f}function Yd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,Q=0,R=0,S=0;i=La-48|0;La=i;v=N[a>>2];y=N[a+40>>2];k=N[a+36>>2];c=N[N[a+2748>>2]+40>>2];L[i+39|0]=0;L[i+40|0]=0;L[i+41|0]=0;L[i+42|0]=0;N[i+32>>2]=0;N[i+36>>2]=0;N[i+24>>2]=0;N[i+28>>2]=0;N[i+8>>2]=0;N[i+16>>2]=0;N[i+20>>2]=0;N[i>>2]=0;N[i+4>>2]=0;d=T(b,1348)+a|0;w=d;N[d+44>>2]=0;f=N[d+68>>2];H=(c>>>0)/14|0;e=N[a+28>>2];d=N[a+24>>2];c=e+T(d,40)|0;a:{if(!b){if((d|0)<=0){break a}while(1){N[e+24>>2]=M[e+12>>1];N[e+28>>2]=M[e+14>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}break a}if((d|0)<=0){break a}while(1){N[e+24>>2]=M[e+14>>1];N[e+28>>2]=M[e+12>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}}b:{c:{d:{e:{if((k|0)<=0){break e}S=(k<<2)+y|0;p=T(b,1348)+a|0;D=p+72|0;c=f>>31;z=(c^f)-c|0;J=z;c=0;f:while(1){x=N[y>>2];d=L[N[x+36>>2]+3|0];f=d>>31;g:{if(((d^f)-f|0)!=(z|0)){break g}e=x;d=L[e+3|0];f=d>>31;if(((d^f)-f|0)!=(z|0)){break g}while(1){e=N[e+36>>2];d=L[e+3|0];f=d>>31;if(((d^f)-f|0)!=(z|0)){x=N[e+32>>2];break g}if((e|0)!=(x|0)){continue}break}}m=0;n=-32e3;o=32e3;e=x;g=32e3;k=-32e3;f=0;d=0;q=32e3;l=-32e3;K=0;j=0;t=32e3;u=-32e3;A=32e3;B=-32e3;I=0;r=0;E=32e3;G=-32e3;while(1){Q=1;h:{if(!m){break h}s=N[e+28>>2];m=P[e>>1];h=m&3;l=h?l:(l|0)<(s|0)?s:l;q=h?q:(q|0)>(s|0)?s:q;h=(k|0)<(s|0);d=h?m:d;k=h?s:k;h=(g|0)>(s|0);f=h?m:f;g=h?s:g;h=N[e+24>>2];n=(n|0)<(h|0)?h:n;o=(h|0)<(o|0)?h:o;if(!((e|0)==(x|0)|L[e+3|0]!=(J|0))){Q=0;break h}i:{if(j){h=N[c+36>>2];if((h|0)==N[j+40>>2]){break i}}N[c+40>>2]=e;M[c+4>>1]=n-o>>>1;M[c+2>>1]=n+o>>>1;if(!(!((d|f)&3)|(l-q|0)>=(H|0))){L[c|0]=O[c|0]|1}M[c+8>>1]=k;M[c+6>>1]=g;M[c+10>>1]=k-g;j=c;t=o;u=n;A=g;B=k;I=f;r=d;E=q;G=l;c=0;break h}j:{if(O[h+2|0]==O[e+2|0]){N[j+40>>2]=e;h=(k|0)<(B|0);k=h?B:k;M[j+8>>1]=k;c=(g|0)>(A|0);g=c?A:g;M[j+6>>1]=g;M[j+10>>1]=k-g;n=(n|0)<(u|0)?u:n;o=(o|0)>(t|0)?t:o;M[j+4>>1]=n-o>>>1;M[j+2>>1]=n+o>>>1;d=h?r:d;f=c?I:f;l=(l|0)<(G|0)?G:l;q=(q|0)>(E|0)?E:q;L[j|0]=O[j|0]&254|((d|f)&3)!=0&(l-q|0)<(H|0);break j}h=B-A|0;R=h>>31;s=k-g|0;m=s>>31;if((h^R)-R>>>0>(m^s)-m>>>0){N[j+40>>2]=e;u=(n|0)>(u|0)?n:u;t=(o|0)<(t|0)?o:t;M[j+4>>1]=u-t>>>1;M[j+2>>1]=t+u>>>1;break j}N[c+40>>2]=e;n=(n|0)<(u|0)?u:n;o=(o|0)>(t|0)?t:o;M[c+4>>1]=n-o>>>1;M[c+2>>1]=n+o>>>1;if(!(!((d|f)&3)|(l-q|0)>=(H|0))){L[c|0]=O[c|0]|1}M[c+6>>1]=g;M[c+10>>1]=s;M[c+8>>1]=k;N[j+40>>2]=N[c+40>>2];r=N[c+36>>2];N[j+32>>2]=N[c+32>>2];N[j+36>>2]=r;r=N[c+28>>2];N[j+24>>2]=N[c+24>>2];N[j+28>>2]=r;r=N[c+20>>2];N[j+16>>2]=N[c+16>>2];N[j+20>>2]=r;r=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=r;r=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=r;t=o;u=n;A=g;B=k;I=f;r=d;E=q;G=l}N[w+44>>2]=N[w+44>>2]-1;c=0}k:{l:{m:{n:{o:{if((e|0)==(x|0)){h=K;K=1;if(h){break o}}m=1;if(!Q){e=N[e+32>>2];continue}h=L[e+3|0];m=h>>31;p:{if(((m^h)-m|0)==(z|0)){break p}m=0;if(N[e+36>>2]==(e|0)){break p}e=N[e+32>>2];continue}c=N[w+44>>2];if((c|0)>=1001){l=0;N[w+44>>2]=0;break b}if((c|0)<=17){if(N[p+52>>2]){break k}N[p+52>>2]=D;N[p+48>>2]=18;break k}f=N[p+48>>2];if((f|0)>(c|0)){break k}q:{r:{s:{t:{u:{if((f|0)>=-16){c=(f+(f>>2)|0)+4|0;g=N[p+52>>2];if((D|0)!=(g|0)){break q}if((c|0)>=0){break u}l=6;break c}c=48806446;g=N[p+52>>2];if((D|0)==(g|0)){break t}break d}if(!c){c=0;m=0;break s}if((c|0)<=48806446){break t}l=10;break c}d=T(c,44);m=Qa[N[v+4>>2]](v,d)|0;if(!m|(c|0)<=0){break r}C(m,0,d)}N[p+52>>2]=m;break m}N[p+52>>2]=m;if(m){break m}l=!m<<6;break b}if((c|f)<0){break d}if(!c){if(!g){break n}Qa[N[v+8>>2]](v,g);break n}if((c|0)>48806446){l=10;N[p+52>>2]=g;break b}d=T(c,44);v:{if(!f){g=Qa[N[v+4>>2]](v,d)|0;l=!g<<6;break v}d=Qa[N[v+12>>2]](v,T(f,44),d,g)|0;g=d?d:g;l=!d<<6}if(!(l|(c|0)<=(f|0)|!g)){C(T(f,44)+g|0,0,T(c-f|0,44));N[p+52>>2]=g;break l}N[p+52>>2]=g;if(l){break b}break l}y=y+4|0;if(S>>>0>y>>>0){continue f}break e}c=0;N[p+52>>2]=0;break l}F(m,D,792)}N[p+48>>2]=c;c=N[w+44>>2]}m=1;n=N[p+52>>2];N[w+44>>2]=c+1;k=T(c,44);c=k+n|0;L[c|0]=0;f=N[i+20>>2];d=N[i+16>>2];L[c+1|0]=d;L[c+2|0]=d>>>8;L[c+3|0]=d>>>16;L[c+4|0]=d>>>24;L[c+5|0]=f;L[c+6|0]=f>>>8;L[c+7|0]=f>>>16;L[c+8|0]=f>>>24;f=N[i+28>>2];d=N[i+24>>2];L[c+9|0]=d;L[c+10|0]=d>>>8;L[c+11|0]=d>>>16;L[c+12|0]=d>>>24;L[c+13|0]=f;L[c+14|0]=f>>>8;L[c+15|0]=f>>>16;L[c+16|0]=f>>>24;f=N[i+36>>2];d=N[i+32>>2];L[c+17|0]=d;L[c+18|0]=d>>>8;L[c+19|0]=d>>>16;L[c+20|0]=d>>>24;L[c+21|0]=f;L[c+22|0]=f>>>8;L[c+23|0]=f>>>16;L[c+24|0]=f>>>24;d=O[i+39|0]|O[i+40|0]<<8|(O[i+41|0]<<16|O[i+42|0]<<24);L[c+24|0]=d;L[c+25|0]=d>>>8;L[c+26|0]=d>>>16;L[c+27|0]=d>>>24;N[c+28>>2]=32e3;N[c+40>>2]=N[i+8>>2];d=N[i+4>>2];N[c+32>>2]=N[i>>2];N[c+36>>2]=d;L[c+1|0]=h;N[c+40>>2]=e;N[c+36>>2]=e;j=j?c-44|0:0;g=N[e+28>>2];f=P[e>>1];d=f&3;l=d?-32e3:g;q=d?32e3:g;o=N[e+24>>2];if(N[e+36>>2]==(e|0)){k=k+n|0;M[k+2>>1]=o;if(d){L[c|0]=1}M[k+10>>1]=0;M[k+8>>1]=g;M[k+6>>1]=g;m=0;c=0}n=o;k=g;d=f;J=h;e=N[e+32>>2];continue}}}l=0;e=N[(T(b,1348)+a|0)+52>>2];if(!e){break b}a=N[w+44>>2];if((a|0)<=0){break b}b=T(a,44)+e|0;while(1){a=N[e+36>>2];f=N[N[a+36>>2]+28>>2];d=N[a+28>>2];a=N[e+40>>2];c=N[a+28>>2];w:{x:{if((d|0)<(c|0)){if((d|0)>(f|0)){M[e+10>>1]=P[e+10>>1]+(d-f>>>1|0)}a=N[N[a+32>>2]+28>>2];if((a|0)<=(c|0)){break w}a=a-c|0;break x}if((d|0)<(f|0)){M[e+10>>1]=P[e+10>>1]+(f-d>>>1|0)}a=N[N[a+32>>2]+28>>2];if((a|0)>=(c|0)){break w}a=c-a|0}M[e+10>>1]=P[e+10>>1]+(a>>>1|0)}e=e+44|0;if(b>>>0>e>>>0){continue}break}break b}l=6;N[p+52>>2]=g;break b}N[p+52>>2]=0}La=i+48|0;return l}function Yi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(Q[b+4>>2]>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break a}e=O[a|0]|O[a+1|0]<<8;b:{if(!e){break b}d=a+2|0;if(d>>>0>f>>>0){break a}h=f-d|0;f=(e<<8|e>>>8)&65535;d=f<<3;if(h>>>0>>0){break a}g=g-d|0;N[b+12>>2]=g;d=0;if((g|0)<=0){break b}p=f>>>0<=1?1:f;while(1){e=N[b+4>>2];f=(m<<3)+a|0;d=f+2|0;if(e>>>0>d>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<8){break a}h=N[c>>2];d=N[b+12>>2];i=d-8|0;N[b+12>>2]=i;if((i|0)<=0){break a}i=f+6|0;if(g>>>0>>0|g-i>>>0<4){break a}f=d-12|0;N[b+12>>2]=f;if((f|0)<=0){break a}f=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);c:{if(!f){break c}if(f&128){break a}d:{e:{f=h+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;if(f>>>0>>0|f>>>0>g>>>0){break e}e=g-f|0;if(e>>>0<2){break e}h=d-14|0;N[b+12>>2]=h;if((h|0)<=0){break e}f:{g:{h:{i:{j:{k:{l:{h=O[f|0]|O[f+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break i;case 6:break j;case 4:break k;case 0:break l;case 14:break f;case 13:break g;case 12:break h;default:break c}}if(e>>>0<262){break e}d=d-276|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<14){break e}g=d-28|0;N[b+12>>2]=g;if((g|0)<=0){break e}d=O[f+2|0]|O[f+3|0]<<8;m:{if(!d){d=0;break m}h=(d<<8|d>>>8)&65535;if(h>>>0<=e>>>0){g=g-h|0;N[b+12>>2]=g;if((g|0)>0){break m}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}d=e>>>0>=65535?65535:e;d=d<<8|(d&65280)>>>8;L[f+2|0]=d;L[f+3|0]=d>>>8}f=O[f+6|0]|O[f+7|0]<<8;if((((f<<8|f>>>8)&65535)<<2)+16>>>0>((d<<8|(d&65280)>>>8)&65535)>>>0){break e}break c}if(e>>>0<10){break e}e=d-24|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+8|0;if(e>>>0>g>>>0|g-e>>>0<2){break e}d=d-26|0;N[b+12>>2]=d;if((d|0)<=0){break e}e=O[e|0]|O[e+1|0]<<8;if(!e){break c}f=f+10|0;if(f>>>0>g>>>0){break e}g=g-f|0;f=((e<<8|e>>>8)&65535)<<1;if(g>>>0>>0){break e}d=d-f|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<20){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+16|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-38|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+16|0]|O[f+17|0]<<8|(O[f+18|0]<<16|O[f+19|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((d|0)<0){break e}d=d<<1;if(!d){break c}f=f+20|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<16){break e}e=d-30|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+12|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);d=UE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,12,0);if(Pa){break e}if(!d){break c}f=f+16|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<16){break e}e=d-30|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+12|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);d=UE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,12,0);if(Pa){break e}if(!d){break c}f=f+16|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)>0){break c}break e}if(e>>>0<10){break e}e=d-24|0;N[b+12>>2]=e;if((e|0)<=0){break e}n=f+6|0;if(g>>>0>>0|g-n>>>0<4){break e}j=d-28|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[f+6|0]|O[f+7|0]<<8|(O[f+8|0]<<16|O[f+9|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);d=UE(h,0,11,0);if(Pa){break e}if(d){k=f+10|0;if(k>>>0>g>>>0|d>>>0>g-k>>>0){break e}d=j-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}}if(!e){break c}q=h>>>0<=1?1:h;k=0;while(1){j=N[b+4>>2];l=T(k,11)+n|0;g=l+4|0;if(j>>>0>g>>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-g>>>0<11){break e}h=N[b+12>>2];g=h-11|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=l+7|0;if(g>>>0>d>>>0|d-g>>>0<4){break e}e=h-15|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);n:{if(!e){break n}if(e&128){break e}e=f+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;o:{if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break o}o=h-19|0;N[b+12>>2]=o;if((o|0)<=0){break o}h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(h>>>0>1073741823){break o}h=h<<2;if(!h){break n}e=e+4|0;if(e>>>0>d>>>0|h>>>0>d-e>>>0){break o}d=o-h|0;N[b+12>>2]=d;if((d|0)>0){break n}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[g|0]=0;L[g+1|0]=0;L[g+2|0]=0;L[g+3|0]=0;j=N[b+4>>2]}g=l+11|0;if(g>>>0>>0){break e}h=N[b+8>>2];if(h>>>0>>0|h-g>>>0<4){break e}l=N[b+12>>2];d=l-4|0;N[b+12>>2]=d;if((d|0)<=0){break e}d=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);p:{if(!d){break p}if(d&128){break e}e=f+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;q:{if(e>>>0>>0|e>>>0>h>>>0|h-e>>>0<4){break q}j=l-8|0;N[b+12>>2]=j;if((j|0)<=0){break q}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=UE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,5,0);if(Pa){break q}if(!d){break p}e=e+4|0;if(e>>>0>h>>>0|d>>>0>h-e>>>0){break q}d=j-d|0;N[b+12>>2]=d;if((d|0)>0){break p}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[g|0]=0;L[g+1|0]=0;L[g+2|0]=0;L[g+3|0]=0}k=k+1|0;if((q|0)!=(k|0)){continue}break}break c}d=N[b+28>>2]}if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0}d=1;m=m+1|0;if((p|0)!=(m|0)){continue}break}}return d}return 0}function Yj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;j=La-48|0;La=j;N[j+36>>2]=0;f=275552;N[j+28>>2]=275552;N[j+20>>2]=275552;N[j+16>>2]=a;N[j+12>>2]=0;N[j+32>>2]=e?e:275552;N[j+24>>2]=d?d:275552;d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;f=d}N[j+44>>2]=64;N[j+40>>2]=f;a:{if((b|0)!=1196445523){if((b|0)!=1196643650){break a}b=275552;a=N[Vb(a+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];b:{if((O[a|0]|O[a+1|0]<<8)!=256){break b}e=275552;d=O[a+8|0]|O[a+9|0]<<8;if(d){e=a+((d<<8|d>>>8)&65535)|0}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=c>>>0){break b}a=(c<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;if(!a){break b}b=((a<<8|a>>>8)&65535)+e|0}N[j+36>>2]=268;c=O[b+4|0]|O[b+5|0]<<8;if(!c){break a}a=O[b|0]|O[b+1|0]<<8;d=(a<<8|a>>>8)&65535;a=b+4|0;c=(c<<8|c>>>8)&65535;f=c>>>0<=1?1:c;e=0;while(1){c=O[a|0]|O[a+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:(a+(e<<1)|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+b|0}else{c=275552}Xj(c,j+12|0,d);e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}b=275552;a=N[mc(a+148|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}e=275552;d=O[a+8|0]|O[a+9|0]<<8;if(d){e=a+((d<<8|d>>>8)&65535)|0}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=c>>>0){break c}a=(c<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;if(!a){break c}b=((a<<8|a>>>8)&65535)+e|0}a=O[b+4|0]|O[b+5|0]<<8;if(!a){break a}c=O[b|0]|O[b+1|0]<<8;c=(c<<8|c>>>8)&65535;o=b+4|0;a=(a<<8|a>>>8)&65535;s=a>>>0<=1?1:a;e=0;while(1){a=O[o|0]|O[o+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+o|0)+2|0;a=O[a|0]|O[a+1|0]<<8;if(a){d=((a<<8|a>>>8)&65535)+b|0}else{d=275552}g=j+12|0;a=c;h=0;k=0;d:{e:{f:{g:{h:{while(1){i:{if((a|0)!=9){j:{switch(a-1|0){case 0:k:{l:{m:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}f=O[d+2|0]|O[d+3|0]<<8;a=275552;if(!f){break k}a=((f<<8|f>>>8)&65535)+d|0;break k}f=O[d+2|0]|O[d+3|0]<<8;a=275552;if(!f){break k}a=((f<<8|f>>>8)&65535)+d|0}Ob(a,N[g+12>>2]);break d;case 3:case 4:case 5:break e;case 2:break g;case 6:break h;case 7:break i;case 1:break j;default:break d}}n:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break f;case 0:break n;default:break d}}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}a=O[d+8|0]|O[d+9|0]<<8;if(!a){break d}a=(a<<8|a>>>8)&65535;t=a>>>0<=1?1:a;while(1){a=275552;f=O[d+8|0]|O[d+9|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=k>>>0?275552:((k<<1)+d|0)+10|0;f=O[f|0]|O[f+1|0]<<8;if(f){a=((f<<8|f>>>8)&65535)+d|0}f=O[a|0]|O[a+1|0]<<8;i=(f<<8|f>>>8)&65535;h=a+2|0;a=N[g+12>>2];l=a+12|0;m=(YE(O[d+4|0]|O[d+5|0]<<8)+YE(O[d+6|0]|O[d+7|0]<<8)<<1)+2|0;o:{if(O[a+48|0]){Ef(l,h,i,m);break o}if(!f|!O[l|0]){break o}N[a+16>>2]=-1;a=O[h|0]|O[h+1|0]<<8;a=(a<<8|a>>>8)&65535;p:while(1){q=wc(l,a);if(!q){break o}r=a&65024;u=r+512|0;while(1){f=q+(a>>>3&56)|0;v=N[f+4>>2];n=a&63;a=n&31;if((n&63)>>>0>=32){n=1<>>32-a}N[f>>2]=p|N[f>>2];N[f+4>>2]=n|v;i=i-1|0;if(!i){break o}h=h+m|0;a=O[h|0]|O[h+1|0]<<8;a=(a<<8|a>>>8)&65535;if(r>>>0>a>>>0){continue p}if(a>>>0>>0){continue}break}continue}}k=k+1|0;if((t|0)!=(k|0)){continue}break}break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;a=(a<<8|a>>>8)&65535;f=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(f){d=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+d|0}else{d=275552}continue}break}q:{r:{s:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break q;case 1:break r;case 0:break s;default:break d}}Vj(d,g);break d}Tj(d,g);break d}Sj(d,g);break d}Wj(d,g);break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}Ob(a,N[g+12>>2]);break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}f=N[g+12>>2];t:{u:{v:{a=O[d+10|0]|O[d+11|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break u;case 0:break v;default:break d}}d=O[a+4|0]|O[a+5|0]<<8;g=(d<<8|d>>>8)&65535;if(d){l=g>>>0<=1?1:g;k=f+12|0;d=0;while(1){i=O[a+4|0]|O[a+5|0]<<8;i=((i<<8|i>>>8)&65535)>>>0<=d>>>0?275552:(a+(d<<1)|0)+6|0;w:{if(O[i|0]|O[i+1|0]<<8){d=d+1|0;break w}x:{if((d|0)==(h|0)){break x}i=O[a+2|0]|O[a+3|0]<<8;m=(i<<8|i>>>8)&65535;i=m+d|0;h=h+m|0;if(O[f+48|0]){rd(k,h,i);break x}if(!Me(k,h,i)){break d}}d=d+1|0;h=d}if((d|0)!=(l|0)){continue}break}}if((g|0)==(h|0)){break d}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=d+g|0;d=d+h|0;g=f+12|0;if(!O[f+48|0]){break t}rd(g,d,a);break d}g=O[a+2|0]|O[a+3|0]<<8;if(!g){break d}d=a+4|0;a=d+T((g<<8|g>>>8)&65535,6)|0;g=f+12|0;while(1){y:{if(O[d+4|0]|O[d+5|0]<<8){h=O[d+2|0]|O[d+3|0]<<8;h=(h<<8|h>>>8)&65535;k=O[d|0]|O[d+1|0]<<8;k=(k<<8|k>>>8)&65535;if(!O[f+48|0]){break y}rd(g,k,h)}d=d+6|0;if((a|0)!=(d|0)){continue}break d}if(!Me(g,k,h)){break d}d=d+6|0;if((a|0)!=(d|0)){continue}break}break d}Me(g,d,a);break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}a=O[d+4|0]|O[d+5|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}Ob(a,N[g+12>>2])}e=e+1|0;if((s|0)!=(e|0)){continue}break}}Te(N[j+40>>2]);La=j+48|0}function pE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;l=N[c+80>>2];k=21;h=1;a=0;n=N[c+68>>2];if(!n){break b}b=0;break a}ba(22778,14165,169,12138);B()}b=1}while(1){c:{d:{e:{if(!b){a=O[k+261936|0]==7?f:a;d=k<<1;g=M[d+261568>>1]+260608|0;b=L[k+261664|0];k=O[(l+T(f,20)|0)+18|0];i=O[d+260512|0];if(k>>>0>=i>>>0){b=k>>>0>O[d+260513|0]?b:k-i|0}b=L[b+g|0];break e}if((k|0)==21){break d}f=n;b=M[(k<<1)+261840>>1]-1|0}k=L[b+261712|0];d=b&31;f:{if(((b&63)>>>0>=32?63990>>>d|0:((1<>>d)&1){break f}g:{switch(L[b+261776|0]-1|0){case 1:e=f+1|0;break f;case 7:e=f+1|0;h:{if(e>>>0<=a>>>0){break h}i=l+3|0;g=h<<4|2;d=a;j=e-d&7;if(j){b=0;while(1){L[(i+T(d,20)|0)+12|0]=g;d=d+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if(f-a>>>0<=6){break h}while(1){b=i+T(d,20)|0;L[b+32|0]=g;L[b+12|0]=g;L[b+52|0]=g;L[b+72|0]=g;L[b+92|0]=g;L[b+112|0]=g;L[b+132|0]=g;L[b+152|0]=g;b=d+7|0;d=d+8|0;if((b|0)!=(f|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 9:g=f-1|0;i:{if(a>>>0>=f>>>0){break i}i=l+3|0;e=h<<4;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break i}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 10:g=f-1|0;j:{if(a>>>0>=f>>>0){break j}i=l+3|0;e=h<<4|1;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break j}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 11:g=f-1|0;k:{if(a>>>0>=f>>>0){break k}i=l+3|0;e=h<<4|2;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break k}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 0:f=e-1|0;l:{if(a>>>0>=e>>>0){break l}i=l+3|0;g=h<<4;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break l}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 2:f=e-1|0;m:{if(a>>>0>=e>>>0){break m}i=l+3|0;g=h<<4|1;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break m}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;break f;case 4:n:{switch(m-2|0){case 0:f=e-1|0;o:{if(a>>>0>=e>>>0){break o}m=l+3|0;g=h<<4|1;b=a;i=e-b&7;if(i){d=0;while(1){L[(m+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break o}while(1){d=m+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;m=2;break f;case 1:break n;default:break f}}m=3;f=e-1|0;p:{if(a>>>0>=e>>>0){break p}i=l+3|0;g=h<<4|2;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break p}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 3:e=f+1|0;m=2;break f;case 8:break g;default:break f}}e=f+1|0;m=3}a=O[k+261984|0]!=6?a:0;f=f+1|0;if((n|0)!=(f|0)){break c}b=1;continue}g=N[c+68>>2];if(g){a=g-1|0;h=N[c+80>>2];l=h+3|0;f=0;b=O[h+15|0];while(1){q:{if((a|0)==(f|0)){f=g;break q}f=f+1|0;if((b|0)==O[(l+T(f,20)|0)+12|0]){continue}}break}a=0;while(1){n=f;b=N[c+68>>2];m=b>>>0>>0?b:f;i=m-a|0;r:{if(i>>>0<2){break r}b=N[c+144>>2]|32;N[c+144>>2]=b;if(a>>>0>=m>>>0){break r}f=-1;k=a;j=m+(a^-1)|0;if(j>>>0>=3){p=i&-4;e=0;while(1){d=h+T(k,20)|0;o=N[d+8>>2];f=f>>>0>>0?f:o;o=N[d+28>>2];f=f>>>0>>0?f:o;o=N[d+48>>2];f=f>>>0>>0?f:o;d=N[d+68>>2];f=d>>>0>f>>>0?f:d;k=k+4|0;e=e+4|0;if((p|0)!=(e|0)){continue}break}}d=0;e=i&3;if(e){while(1){p=N[(h+T(k,20)|0)+8>>2];f=f>>>0

>>0?f:p;k=k+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(i&1){e=h+T(a,20)|0;if(N[e+8>>2]!=(f|0)){N[e+4>>2]=N[e+4>>2]|3}a=a+1|0}if(!j){break r}while(1){e=h+T(a,20)|0;if(N[e+8>>2]!=(f|0)){b=b|32;N[c+144>>2]=b;N[e+4>>2]=N[e+4>>2]|3}e=h+T(a+1|0,20)|0;if(N[e+8>>2]!=(f|0)){b=b|32;N[c+144>>2]=b;N[e+4>>2]=N[e+4>>2]|3}a=a+2|0;if((m|0)!=(a|0)){continue}break}}a=n+1|0;a=a>>>0>>0?g:a;b=a-1|0;e=O[(l+T(n,20)|0)+12|0];f=n;while(1){s:{if((b|0)==(f|0)){f=a;break s}f=f+1|0;if((e|0)==O[(l+T(f,20)|0)+12|0]){continue}}break}a=n;if(g>>>0>a>>>0){continue}break}}return 0}b=0;continue}}function vc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=35;a:{if(!a|!N[a+88>>2]){break a}d=N[a+84>>2];if(!d){break a}b:{c:{e=N[d+156>>2];if(!e){break c}f=N[e+4>>2];if(!(f&1)){break c}g=N[d+88>>2];if(g){e=N[N[d+4>>2]+100>>2];Qa[N[e+8>>2]](e,g);e=N[d+156>>2];f=N[e+4>>2]}N[d+88>>2]=0;N[e+4>>2]=f&-2;break b}N[d+88>>2]=0}N[d+12>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+100>>2]=0;N[d+104>>2]=0;L[d+94|0]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;e=d- -64|0;N[e>>2]=0;N[e+4>>2]=0;N[d+72>>2]=0;N[d+76>>2]=0;N[d+80>>2]=0;N[d+84>>2]=0;N[d+108>>2]=0;N[d+112>>2]=0;N[d+116>>2]=0;N[d+120>>2]=0;N[d+124>>2]=0;N[d+128>>2]=0;N[d+132>>2]=0;N[d+136>>2]=0;N[d+140>>2]=0;N[d+144>>2]=0;N[d+148>>2]=0;N[d+152>>2]=0;d:{e:{c=c&1024?c|2049:c;c=c&1?c&-15|10:c;i=c&4194304?c&-5:c;j=i&2;f=N[a+96>>2];g=N[N[f+4>>2]+160>>2];if(j|!g|i&32768){break e}e=N[a+8>>2];if((e&8193)!=1){break e}f:{if(i&2048){break f}h=N[a+128>>2];c=N[h>>2];if(!N[h+8>>2]){if(c){break f}break e}if(c){break e}}g:{if(i&32){break g}c=N[f>>2];if(!(O[c+1|0]&4)){break g}if(ub(Qa[N[c+32>>2]](f,9676)|0,21771)){c=N[f+28>>2]==1}else{c=0}if(!(c|(O[N[f>>2]+1|0]&8)>>>3|(i&983040)!=65536)){e=N[a+8>>2];break g}e=N[a+8>>2];if(!(e&8)|!N[a+760>>2]|(P[a+286>>1]|N[a+684>>2])){break e}if(N[a+692>>2]){break e}}h:{if(!(e&2)|i&8){break h}if(Qa[N[N[f+12>>2]+72>>2]](d,N[a+88>>2],b,i|16384)|0){break h}c=0;if(N[d+72>>2]==1651078259){break d}}e=N[a+128>>2];f=N[e+24>>2];N[e+24>>2]=0;c=Qa[N[N[N[g>>2]+20>>2]+12>>2]](g,d,N[a+88>>2],b,i)|0;N[e+24>>2]=f;break d}e=Qa[N[N[f+12>>2]+72>>2]](d,N[a+88>>2],b,i)|0;if(e){break a}c=0;if(N[d+72>>2]!=1869968492){break d}h=M[d+110>>1];k=M[d+108>>1];if((h|k)&65535){e=6;if((h|0)<=0|(k|0)<=0){break a}m=N[d+120>>2];f=-1;while(1){g=M[(l<<1)+m>>1];if((g|0)>=(h|0)|(f|0)>=(g|0)){break a}f=g;l=l+1|0;if((k|0)!=(l|0)){continue}break}if((h-1|0)!=(f|0)){break a}}if(j){break d}i:{if(i>>>4&1){N[d+32>>2]=N[d+32>>2]&-64;e=N[d+44>>2];f=e&-64;N[d+44>>2]=f;g=N[d+48>>2];h=g&-64;N[d+48>>2]=h;N[d+36>>2]=N[d+36>>2]+63&-64;N[d+24>>2]=((e+N[d+24>>2]|0)+63&-64)-f;N[d+28>>2]=((g+N[d+28>>2]|0)+63&-64)-h;break i}N[d+44>>2]=N[d+44>>2]&-64;N[d+48>>2]=N[d+48>>2]&-64;e=N[d+32>>2];f=e&-64;N[d+32>>2]=f;g=N[d+36>>2];h=g+63&-64;N[d+36>>2]=h;N[d+28>>2]=h-(g-N[d+28>>2]&-64);N[d+24>>2]=((e+N[d+24>>2]|0)+63&-64)-f}N[d+40>>2]=N[d+40>>2]+32&-64;N[d+52>>2]=N[d+52>>2]+32&-64}j:{if(i&16){f=0;e=N[d+52>>2];break j}f=N[d+40>>2];e=0}N[d+64>>2]=f;N[d+68>>2]=e;if(!(!(L[a+8|0]&1)|i&8192)){e=N[a+88>>2];n=d,o=jb(N[d+56>>2],N[e+16>>2],64),N[n+56>>2]=o;n=d,o=jb(N[d+60>>2],N[e+20>>2],64),N[n+60>>2]=o}k:{if(i&2048){break k}h=N[a+128>>2];g=N[h+24>>2];if(!g){break k}k=d- -64|0;l:{m:{a=N[N[N[d+4>>2]+96>>2]+4>>2];e=N[a+156>>2];n:{if(!e){f=N[d+72>>2];break n}f=N[d+72>>2];if((f|0)==N[e+16>>2]){break m}}a=N[a+148>>2];if(a){while(1){e=N[a+8>>2];if(N[e+16>>2]==(f|0)){break m}a=N[a+4>>2];if(a){continue}break}}o:{if((f|0)!=1869968492){break o}if(g&1){kg(d+108|0,h);g=N[h+24>>2]}if(!(g&2)){break o}j=M[d+110>>1];if((j|0)<=0){break o}f=N[h+20>>2];g=N[h+16>>2];a=N[d+112>>2];if(j>>>0>=4){l=j&-4;e=0;while(1){N[a>>2]=g+N[a>>2];N[a+4>>2]=f+N[a+4>>2];N[a+8>>2]=g+N[a+8>>2];N[a+16>>2]=g+N[a+16>>2];N[a+24>>2]=g+N[a+24>>2];N[a+12>>2]=f+N[a+12>>2];N[a+20>>2]=f+N[a+20>>2];N[a+28>>2]=f+N[a+28>>2];a=a+32|0;e=e+4|0;if((l|0)!=(e|0)){continue}break}}j=j&3;if(!j){break o}e=0;while(1){N[a>>2]=g+N[a>>2];N[a+4>>2]=f+N[a+4>>2];a=a+8|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}break l}c=Qa[N[N[e+12>>2]+44>>2]](e,d,h,h+16|0)|0}id(k,h)}e=c;N[d+12>>2]=b;N[N[d+156>>2]+40>>2]=i;if(e){break a}e=0;if(i&1){break a}a=N[d+72>>2];if((a|0)==1651078259|(a|0)==1668246896){break a}a=i>>>16&15;a=a?a:i>>>11&2;if(i&4){b=N[d+4>>2];if(!b){return 6}i=N[N[b+96>>2]+4>>2];f=a;g=La-32|0;La=g;p:{q:{r:{if(!(O[N[d+156>>2]+42|0]&16)){break r}a=N[d+4>>2];b=N[d+12>>2];N[g+28>>2]=0;if(!(O[a+8|0]&8)|(!a|b>>>0>=Q[a+16>>2])){break r}c=N[N[a+540>>2]+132>>2];if(!c){break r}if(!(Qa[c|0](a,b,g+16|0,g+12|0,g+20|0)|0)){break r}if(!ei(a,0)){c=N[a+540>>2];s:{while(1){h=vc(a,N[g+16>>2],N[N[d+156>>2]+40>>2]&-1048581|4);if(h){break s}h=Qa[N[c+152>>2]](a,N[g+12>>2],d,N[a+84>>2])|0;if(h){break s}t:{if(!(O[a+8|0]&8)|b>>>0>=Q[a+16>>2]){break t}e=N[N[a+540>>2]+132>>2];if(!e){break t}if(Qa[e|0](a,b,g+16|0,g+12|0,g+20|0)|0){continue}}break}N[d+72>>2]=1651078259;h=0}b=N[a+84>>2];u:{if(!b){break u}j=N[b+4>>2];c=N[j+84>>2];if(!c){break u}k=N[N[j+96>>2]+8>>2];v:{if((b|0)==(c|0)){e=0;break v}while(1){a=N[c+8>>2];if(!a){break u}e=c;c=a;if((a|0)!=(b|0)){continue}break}}N[(e?e+8|0:j+84|0)>>2]=N[b+8>>2];a=N[b+20>>2];if(a){Qa[a|0](b)}ig(b);Qa[N[k+8>>2]](k,b)}if(!h){break q}}N[d+72>>2]=1869968492}h=N[d+72>>2];w:{if((h|0)!=1869968492){a=7;if(!i){break p}c=N[i+148>>2];if(!c){break p}e=i+148|0;while(1){b=N[c+8>>2];if((h|0)==N[b+16>>2]){break w}c=N[c+4>>2];if(c){continue}break}break p}b=N[i+156>>2];if(!b){a=7;break p}e=i+148|0;c=N[i+148>>2]}a=0;b=Qa[N[b+60>>2]](b,d,f,0)|0;if(!b){break p}while(1){if((b&255)!=19){a=b;break p}c=N[(c?c+4|0:e)>>2];if(!c){a=b;break p}a=N[d+72>>2];x:{while(1){i=N[c+8>>2];if((a|0)==N[i+16>>2]){break x}c=N[c+4>>2];if(c){continue}break}a=b;break p}a=0;b=Qa[N[i+60>>2]](i,d,f,0)|0;if(b){continue}break}break p}a=0}La=g+32|0;return a}jg(d,a,0)}return e}function nh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{k=N[b+4>>2];if(k>>>0>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0){break a}l=d-a|0;if(l>>>0<12){break a}c=N[b+12>>2]-12|0;N[b+12>>2]=c;if(O[a|0]|O[a+1|0]<<8|(c|0)<=0){break a}f=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b:{if(!f){break b}if(h>>>0>l>>>0){break a}c=c-h|0;N[b+12>>2]=c;if((c|0)>0){break b}break a}l=a+4|0;if(d>>>0>>0|d-l>>>0<4){break a}N[b+12>>2]=c-4;if((c|0)<5){break a}f=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);c:{d:{if(!f){break d}if(f&128){break a}f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0;e:{if(f>>>0>>0|d>>>0>>0){break e}i=d-f|0;if(i>>>0<2){break e}m=c-6|0;N[b+12>>2]=m;e=1;if((m|0)<=0){break e}m=a+h|0;f:{g:{h:{i:{j:{a=O[f|0]|O[f+1|0]<<8;switch((a<<8|a>>>8)&65535){case 2:break j;case 10:break e;case 0:break f;case 8:break g;case 6:break h;case 4:break i;default:break c}}i=f+2|0;if(i>>>0>>0|d>>>0>>0|d-i>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}h=O[i|0]|O[i+1|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<6){break e}g=O[f+4|0]|O[f+5|0]<<8;a=(g<<8|g>>>8)&65535;k:{if(!g){break k}g=f+12|0;if(g>>>0>d>>>0){break e}n=d-g|0;d=T(a,e);if(n>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=g+T(e,a-1|0)|0;if((O[c|0]|O[c+1|0]<<8)!=65535){break k}j=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=a+j|0;if(!n){break d}g=f+12|0;a=0;while(1){d=O[f+4|0]|O[f+5|0]<<8;e=(d<<8|d>>>8)&65535;c=0;l:{if(!d){break l}d=g+T(e-1|0,(h<<8|(h&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break l}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+e>>>0<=a>>>0){c=275552}else{k=N[b+4>>2];h=O[i|0]|O[i+1|0]<<8;c=g+T((h<<8|h>>>8)&65535,a)|0}if(c>>>0>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<6){break e}e=N[b+12>>2];j=e-6|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=c+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break e}j=e-8|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=O[c|0]|O[c+1|0]<<8;c=m+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}j=e-12|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>1073741823){break e}e=e<<2;if(e){c=c+4|0;if(c>>>0>d>>>0|e>>>0>d-c>>>0){break e}c=j-e|0;N[b+12>>2]=c;if((c|0)<=0){break e}}e=1;a=a+1|0;if((n|0)!=(a|0)){continue}break}break c}h=f+2|0;if(h>>>0>>0|d>>>0>>0|d-h>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}a=O[h|0]|O[h+1|0]<<8;k=(a<<8|a>>>8)&65535;if(k>>>0<6){break e}i=O[f+4|0]|O[f+5|0]<<8;a=(i<<8|i>>>8)&65535;e=0;m:{if(!i){break m}i=f+12|0;if(i>>>0>d>>>0){break e}g=d-i|0;d=T(a,k);if(g>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=i+T(k,a-1|0)|0;if((O[c|0]|O[c+1|0]<<8)!=65535){break m}e=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}i=a+e|0;if(!i){break d}k=f+12|0;c=0;while(1){d=O[f+4|0]|O[f+5|0]<<8;e=(d<<8|d>>>8)&65535;a=0;n:{if(!d){break n}d=O[h|0]|O[h+1|0]<<8;d=k+T(e-1|0,(d<<8|d>>>8)&65535)|0;a=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break n}a=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(a+e>>>0<=c>>>0){a=275552}else{a=O[h|0]|O[h+1|0]<<8;a=k+T((a<<8|a>>>8)&65535,c)|0}if(a>>>0>2]){break e}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break e}e=N[b+12>>2];g=e-6|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;j=O[a+2|0]|O[a+3|0]<<8;j=(j<<8|j>>>8)&65535;if(g>>>0>>0){break e}a=a+4|0;if(a>>>0>d>>>0|d-a>>>0<2){break e}d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){break e}a=O[a|0]|O[a+1|0]<<8;if(!mh(f+((a<<8|a>>>8)&65535)|0,b,(g-j|0)+1|0,m)){break e}e=1;c=c+1|0;if((i|0)!=(c|0)){continue}break}break c}i=f+2|0;if(i>>>0>>0|d>>>0>>0|d-i>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}h=O[i|0]|O[i+1|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<4){break e}g=O[f+4|0]|O[f+5|0]<<8;a=(g<<8|g>>>8)&65535;if(g){g=f+12|0;if(g>>>0>d>>>0){break e}j=d-g|0;d=T(a,e);if(j>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=g+T(e,a-1|0)|0;c=(O[c|0]|O[c+1|0]<<8)==65535?-1:0}else{c=0}n=c+a|0;if(!n){break d}g=f+12|0;a=0;while(1){c=O[f+4|0]|O[f+5|0]<<8;d=(c<<8|c>>>8)&65535;if(c){c=g+T(d-1|0,(h<<8|(h&65280)>>>8)&65535)|0;c=(O[c|0]|O[c+1|0]<<8)==65535?-1:0}else{c=0}if(c+d>>>0<=a>>>0){c=275552}else{k=N[b+4>>2];h=O[i|0]|O[i+1|0]<<8;c=g+T((h<<8|h>>>8)&65535,a)|0}if(c>>>0>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break e}e=N[b+12>>2];j=e-4|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=c+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break e}j=e-6|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=O[c|0]|O[c+1|0]<<8;c=m+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}j=e-10|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>1073741823){break e}e=e<<2;if(e){c=c+4|0;if(c>>>0>d>>>0|e>>>0>d-c>>>0){break e}c=j-e|0;N[b+12>>2]=c;if((c|0)<=0){break e}}e=1;a=a+1|0;if((n|0)!=(a|0)){continue}break}break c}if(i>>>0<6){break e}a=c-12|0;N[b+12>>2]=a;if((a|0)<=0){break e}a=O[f+4|0]|O[f+5|0]<<8;if(!mh(f+6|0,b,(a<<8|a>>>8)&65535,m)){break e}break c}if(mh(f+2|0,b,N[b+36>>2],m)){break c}}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;e=0;if(!O[b+24|0]){break c}L[l|0]=0;L[l+1|0]=0;L[l+2|0]=0;L[l+3|0]=0}e=1}return e}return 0}function Ej(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-16|0;La=f;c=N[a+4>>2];d=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];a:{b:{c:{d:{e:{f:{if(b){b=N[a+8>>2];N[f+12>>2]=N[a+16>>2];e=N[b+96>>2];g=N[e+28>>2];i=N[b+100>>2];h=f+12|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[g|0](b,i,d,h,e)|0)){break f}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break b}d=N[c+84>>2];b=N[c+80>>2]}g:{if((b|0)!=(d|0)){break g}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break g}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break g}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}if(Tg(a,0,d)){break c}b=N[a+8>>2];N[f+12>>2]=N[a+16>>2];e=N[b+96>>2];g=N[e+28>>2];i=N[b+100>>2];h=f+12|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[g|0](b,i,d,h,e)|0)){break e}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break b}d=N[c+84>>2];b=N[c+80>>2]}h:{if((b|0)!=(d|0)){break h}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break h}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break h}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}if(Tg(a,1,d)){break c}}if((P[(N[c+80>>2]+T(N[c+64>>2],20)|0)+16>>1]&31)!=29){break d}i:{if((d|0)<=8191){b=4608;if((d|0)==32|(d|0)==160){break i}break d}j:{k:{switch(d+-8192|0){case 0:case 2:b=512;break i;case 4:b=768;break i;case 5:b=1024;break i;case 6:b=1536;break i;case 7:b=4864;break i;case 8:b=5120;break i;case 9:b=1280;break i;case 10:b=4096;break i;case 47:b=5376;break i;case 95:b=4352;break i;case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:break d;case 1:case 3:break j;default:break k}}if((d|0)==12288){break j}break d}b=256}e=N[a+8>>2];N[f+8>>2]=0;g=N[e+96>>2];j=N[g+28>>2];i=N[e+100>>2];h=f+8|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}if(!(Qa[j|0](e,i,32,h,g)|0)){e=N[c+28>>2];N[f+8>>2]=e;if(!e){break d}}a=N[c+80>>2];d=N[c+64>>2];e=a+T(d,20)|0;g=P[e+16>>1];if((g&31)==29){M[e+16>>1]=g&255|b;d=N[c+64>>2];a=N[c+80>>2]}N[(a+T(d,20)|0)+12>>2]=N[f+8>>2];l:{if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break l}d=N[c+84>>2];b=N[c+80>>2]}m:{if((b|0)!=(d|0)){break m}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break m}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break m}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1}N[c+144>>2]=N[c+144>>2]|4;break b}n:{if((d|0)!=8209){break n}a=N[a+8>>2];N[f+4>>2]=0;b=N[a+96>>2];d=N[b+28>>2];h=N[a+100>>2];e=f+4|0;b=N[b+12>>2];if(b){b=N[b+8>>2]}else{b=0}if(!(Qa[d|0](a,h,8208,e,b)|0)){break n}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+4>>2];if(O[c+62|0]){o:{if(N[c+84>>2]==N[c+80>>2]){a=N[c+72>>2];if((a|0)==N[c+64>>2]){break o}}if(!xd(c)){break b}b=N[c+80>>2]+T(N[c+64>>2],20)|0;d=N[b+4>>2];a=N[c+84>>2]+T(N[c+72>>2],20)|0;N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break b}d=N[c+84>>2];b=N[c+80>>2]}p:{if((b|0)!=(d|0)){break p}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break p}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break p}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}N[c+64>>2]=N[c+64>>2]+1}La=f+16|0;return}ba(8694,17855,209,11932);B()}function Vn(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;j=La-80|0;La=j;N[j+76>>2]=b;y=j+55|0;s=j+56|0;a:{b:{c:{d:{e:while(1){k=b;if((p^2147483647)<(h|0)){break d}p=h+p|0;f:{g:{h:{h=k;i=O[h|0];if(i){while(1){i:{b=i&255;j:{if(!b){b=h;break j}if((b|0)!=37){break i}i=h;while(1){if(O[i+1|0]!=37){b=i;break j}h=h+1|0;m=O[i+2|0];b=i+2|0;i=b;if((m|0)==37){continue}break}}h=h-k|0;x=p^2147483647;if((h|0)>(x|0)){break d}if(a){ac(a,k,h)}if(h){continue e}N[j+76>>2]=b;h=b+1|0;q=-1;i=L[b+1|0];if(!(O[b+2|0]!=36|i-48>>>0>=10)){q=i-48|0;u=1;h=b+3|0}N[j+76>>2]=h;n=0;i=L[h|0];b=i-32|0;k:{if(b>>>0>31){o=h;break k}o=h;b=1<>2]=o;n=b|n;i=L[h+1|0];b=i-32|0;if(b>>>0>=32){break k}h=o;b=1<>>0>=10)){N[((b<<2)+e|0)-192>>2]=10;i=o+3|0;u=1;b=N[((L[o+1|0]<<3)+d|0)-384>>2];break m}if(u){break h}i=o+1|0;if(!a){N[j+76>>2]=i;u=0;r=0;break l}b=N[c>>2];N[c>>2]=b+4;u=0;b=N[b>>2]}N[j+76>>2]=i;r=b;if((b|0)>=0){break l}r=0-r|0;n=n|8192;break l}r=Un(j+76|0);if((r|0)<0){break d}i=N[j+76>>2]}h=0;l=-1;n:{if(O[i|0]!=46){b=i;w=0;break n}if(O[i+1|0]==42){b=L[i+2|0];o:{if(!(O[i+3|0]!=36|b-48>>>0>=10)){N[((b<<2)+e|0)-192>>2]=10;b=i+4|0;l=N[((L[i+2|0]<<3)+d|0)-384>>2];break o}if(u){break h}b=i+2|0;l=0;if(!a){break o}i=N[c>>2];N[c>>2]=i+4;l=N[i>>2]}N[j+76>>2]=b;w=(l^-1)>>>31|0;break n}N[j+76>>2]=i+1;l=Un(j+76|0);b=N[j+76>>2];w=1}while(1){t=h;o=28;m=b;h=L[b|0];if(h-123>>>0<4294967238){break c}b=m+1|0;h=O[(h+T(t,58)|0)+583503|0];if(h-1>>>0<8){continue}break}N[j+76>>2]=b;p:{q:{if((h|0)!=27){if(!h){break c}if((q|0)>=0){N[(q<<2)+e>>2]=h;i=(q<<3)+d|0;h=N[i+4>>2];N[j+64>>2]=N[i>>2];N[j+68>>2]=h;break q}if(!a){break f}Tn(j- -64|0,h,c,g);break p}if((q|0)>=0){break c}}h=0;if(!a){continue e}}i=n&-65537;n=n&8192?i:n;q=0;v=8226;o=s;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{h=L[m|0];h=t?(h&15)==3?h&-33:h:h;switch(h-88|0){case 11:break r;case 9:case 13:case 14:case 15:break s;case 27:break x;case 12:case 17:break A;case 23:break B;case 0:case 32:break C;case 24:break D;case 22:break E;case 29:break F;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break g;default:break G}}H:{switch(h-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break g;default:break H}}if((h|0)==83){break w}break g}i=N[j+64>>2];m=N[j+68>>2];v=8226;break z}h=0;I:{switch(t&255){case 0:N[N[j+64>>2]>>2]=p;continue e;case 1:N[N[j+64>>2]>>2]=p;continue e;case 2:k=N[j+64>>2];N[k>>2]=p;N[k+4>>2]=p>>31;continue e;case 3:M[N[j+64>>2]>>1]=p;continue e;case 4:L[N[j+64>>2]]=p;continue e;case 6:N[N[j+64>>2]>>2]=p;continue e;case 7:break I;default:continue e}}k=N[j+64>>2];N[k>>2]=p;N[k+4>>2]=p>>31;continue e}l=l>>>0<=8?8:l;n=n|8;h=120}k=s;z=h&32;i=N[j+64>>2];m=N[j+68>>2];if(i|m){while(1){k=k-1|0;L[k|0]=z|O[(i&15)+584032|0];A=!m&i>>>0>15|(m|0)!=0;t=m;m=m>>>4|0;i=(t&15)<<28|i>>>4;if(A){continue}break}}if(!(N[j+64>>2]|N[j+68>>2])|!(n&8)){break y}v=(h>>>4|0)+8226|0;q=2;break y}h=s;k=N[j+68>>2];m=k;i=N[j+64>>2];if(k|i){while(1){h=h-1|0;L[h|0]=i&7|48;t=!m&i>>>0>7|(m|0)!=0;k=m;m=k>>>3|0;i=(k&7)<<29|i>>>3;if(t){continue}break}}k=h;if(!(n&8)){break y}h=s-k|0;l=(h|0)<(l|0)?l:h+1|0;break y}i=N[j+64>>2];h=N[j+68>>2];m=h;if((h|0)<0){k=0-(m+((i|0)!=0)|0)|0;m=k;i=0-i|0;N[j+64>>2]=i;N[j+68>>2]=k;q=1;v=8226;break z}if(n&2048){q=1;v=8227;break z}q=n&1;v=q?8228:8226}k=ue(i,m,s)}if((l|0)<0?w:0){break d}n=w?n&-65537:n;h=N[j+64>>2];i=N[j+68>>2];if(!(l|(h|i)!=0)){k=s;l=0;break g}h=!(h|i)+(s-k|0)|0;l=(h|0)<(l|0)?l:h;break g}h=N[j+64>>2];k=h?h:23499;h=$n(k,l>>>0>=2147483647?2147483647:l);o=h+k|0;if((l|0)>=0){n=i;l=h;break g}n=i;l=h;if(O[o|0]){break d}break g}if(l){i=N[j+64>>2];break u}h=0;jc(a,32,r,0,n);break t}N[j+12>>2]=0;N[j+8>>2]=N[j+64>>2];i=j+8|0;N[j+64>>2]=i;l=-1}h=0;J:{while(1){k=N[i>>2];if(!k){break J}m=og(j+4|0,k);k=(m|0)<0;if(!(k|m>>>0>l-h>>>0)){i=i+4|0;h=h+m|0;if(l>>>0>h>>>0){continue}break J}break}if(k){break b}}o=61;if((h|0)<0){break c}jc(a,32,r,h,n);if(!h){h=0;break t}o=0;i=N[j+64>>2];while(1){k=N[i>>2];if(!k){break t}k=og(j+4|0,k);o=k+o|0;if(o>>>0>h>>>0){break t}ac(a,j+4|0,k);i=i+4|0;if(h>>>0>o>>>0){continue}break}}jc(a,32,r,h,n^8192);h=(h|0)<(r|0)?r:h;continue e}if((l|0)<0?w:0){break d}o=61;h=Qa[f|0](a,S[j+64>>3],r,l,n,h)|0;if((h|0)>=0){continue e}break c}L[j+55|0]=N[j+64>>2];l=1;k=y;n=i;break g}i=O[h+1|0];h=h+1|0;continue}}if(a){break a}if(!u){break f}h=1;while(1){a=N[(h<<2)+e>>2];if(a){Tn((h<<3)+d|0,a,c,g);p=1;h=h+1|0;if((h|0)!=10){continue}break a}break}p=1;if(h>>>0>=10){break a}while(1){if(N[(h<<2)+e>>2]){break h}h=h+1|0;if((h|0)!=10){continue}break}break a}o=28;break c}m=o-k|0;i=(l|0)>(m|0)?l:m;if((i|0)>(q^2147483647)){break d}o=61;l=i+q|0;h=(l|0)<(r|0)?r:l;if((x|0)<(h|0)){break c}jc(a,32,h,l,n);ac(a,v,q);jc(a,48,h,l,n^65536);jc(a,48,i,m,0);ac(a,k,m);jc(a,32,h,l,n^8192);continue}break}p=0;break a}o=61}N[147316]=o}p=-1}La=j+80|0;return p}function rf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;N[a+44>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+1404>>2]=0;N[a+1392>>2]=0;N[a+56>>2]=0;d=N[a>>2];x=N[a+16>>2];y=N[a+8>>2];j=N[a+12>>2];k=N[a+4>>2];a:{b:{c=M[b>>1];c:{d:{e:{if(c>>>0<=8){if(N[a+40>>2]){break d}N[a+40>>2]=a+2752;g=8;break e}h=N[a+32>>2];if(h>>>0>=c>>>0){break d}e=N[a+40>>2];if((e|0)==(a+2752|0)){N[a+40>>2]=0;e=0}c=c+3|0;if((c|h)<0){c=6;break a}f:{g=c&-4;g:{if(!g){if(!e){break g}Qa[N[d+8>>2]](d,e);N[a+40>>2]=0;break e}c=10;if((g|0)>536870911){break a}h:{if(!h){l=Qa[N[d+4>>2]](d,g<<2)|0;c=!l<<6;break h}c=Qa[N[d+12>>2]](d,h<<2,g<<2,e)|0;l=c?c:e;c=!c<<6}if(c|(g|0)<=(h|0)|!l){break f}C((h<<2)+l|0,0,g-h<<2)}N[a+40>>2]=l;break e}N[a+40>>2]=l;if(c){break c}}N[a+32>>2]=g}p=M[b+2>>1];c=p+2|0;i:{if(c>>>0<=96){if(N[a+28>>2]){break i}N[a+20>>2]=96;N[a+28>>2]=a+2784;break i}h=N[a+20>>2];if(h>>>0>=c>>>0){break i}c=N[a+28>>2];if((c|0)==(a+2784|0)){N[a+28>>2]=0;c=0}e=p+11|0;if((e|h)<0){e=6;break b}j:{k:{g=e&-8;l:{if(!g){e=0;if(!c){break l}Qa[N[d+8>>2]](d,c);N[a+28>>2]=0;break j}e=10;if((g|0)>53687091){break b}m:{if(!h){e=Qa[N[d+4>>2]](d,T(g,40))|0;c=!e<<6;break m}d=Qa[N[d+12>>2]](d,T(h,40),T(g,40),c)|0;e=d?d:c;c=!d<<6}if(c|(g|0)<=(h|0)|!e){break k}C(T(h,40)+e|0,0,T(g-h|0,40))}N[a+28>>2]=e;break j}N[a+28>>2]=e;if(c){break c}}N[a+20>>2]=g;p=M[b+2>>1]}N[a+24>>2]=p;g=M[b>>1];N[a+1416>>2]=-1;N[a+68>>2]=2;N[a+36>>2]=g;if((dg(b)|0)==1){N[a+1416>>2]=1;N[a+68>>2]=-2}N[a+12>>2]=j;N[a+4>>2]=k;N[a+16>>2]=x;N[a+8>>2]=y;if(p){h=N[a+28>>2];v=h+T(p,40)|0;r=T(P[N[N[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;l=N[b+12>>2];if((p|0)>0){c=j>>31;m=(c^j)-c|0;z=m&65535;A=m>>>16|0;B=m>>>8|0;c=k>>31;o=(c^k)-c|0;D=o&65535;E=o>>>16|0;F=o>>>8|0;s=N[b+8>>2];u=N[b+4>>2];d=u;c=h;n=M[l>>1];e=c+T(n,40)|0;b=e;while(1){M[c+2>>1]=1028;f=N[d>>2];M[c+12>>1]=f;q=N[d+4>>2];M[c+14>>1]=q;i=f>>31;i=(i^f)-i|0;n:{if(i+F>>>0<=8190){i=T(i,o)+32768>>>16|0;break n}t=i&65535;i=T(t,E)+T(o,i>>>16|0)+(T(t,D)+32768>>>16)|0}f=f>>31|1;f=((((k|0)<0?0-f|0:f)|0)<0?0-i|0:i)+y|0;N[c+4>>2]=f;N[c+16>>2]=f;f=q>>31;f=(f^q)-f|0;o:{if(f+B>>>0<=8190){i=T(f,m)+32768>>>16|0;break o}i=f&65535;i=T(i,A)+T(m,f>>>16|0)+(T(i,z)+32768>>>16)|0}f=i;t=0-f|0;f=q>>31|1;f=((((j|0)<0?0-f|0:f)|0)<0?t:i)+x|0;N[c+8>>2]=f;N[c+20>>2]=f;f=(n<<16>>16<<3)+u|0;M[e+12>>1]=N[f>>2];M[e+14>>1]=N[f+4>>2];f=O[s|0]&3;M[c>>1]=f?((f|0)==2)<<1:1;i=M[c+14>>1]-M[b+14>>1]|0;f=i>>31;t=M[c+12>>1]-M[b+12>>1]|0;q=t>>31;if((f^i)-f+((q^t)-q)>>>0>>0){M[b>>1]=P[b>>1]|32}N[c+36>>2]=b;N[b+32>>2]=c;p:{if((c|0)!=(e|0)){b=c;break p}w=w+1|0;if((g|0)<=(w|0)){b=c;e=c;break p}n=M[(w<<1)+l>>1];b=T(n,40)+h|0;e=b}s=s+1|0;d=d+8|0;c=c+40|0;if(v>>>0>c>>>0){continue}break}}if((g|0)>0){c=N[a+40>>2];e=c+(g<<2)|0;b=0;while(1){N[c>>2]=T(b<<16>>16,40)+h;b=P[l>>1]+1|0;l=l+2|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}n=N[a+40>>2];s=n+(g<<2)|0;f=(r<<1)-1|0;while(1){e=N[n>>2];b=P[e+12>>1];c=e;while(1){q:{g=b;a=c;c=N[c+36>>2];if((e|0)==(c|0)){l=P[a+14>>1];break q}l=M[a+14>>1];k=l-M[c+14>>1]|0;d=k>>31;b=M[c+12>>1];m=(g<<16>>16)-b|0;j=m>>31;if((f|0)>((d^k)-d+((j^m)-j)|0)){continue}}break}N[a+24>>2]=0;N[a+28>>2]=0;c=0;d=a;e=a;b=0;while(1){k=g<<16>>16;g=l<<16>>16;d=N[d+32>>2];l=M[d+14>>1];b=(l-g|0)+b|0;j=b>>31;g=M[d+12>>1];c=(g-k|0)+c|0;k=c>>31;j=(b^j)-j|0;k=(c^k)-k|0;r:{if(j+k>>>0>>0){M[d>>1]=P[d>>1]|16;break r}m=(d-e|0)/40|0;N[e+24>>2]=m;N[d+28>>2]=0-m;m=0-c|0;s:{if((b|0)>=(c|0)){i=c;c=(b|0)<(m|0);k=c?b:i;j=k>>31;j=(j^k)-j|0;o=c?-1:2;c=c?m:b;break s}o=1;if((b|0)>=(m|0)){break s}c=0-b|0;o=254;j=k}b=(T(j,14)|0)>=(c|0)?4:o;L[e+3|0]=b;c=N[e+32>>2];if((d|0)!=(c|0)){while(1){L[c+3|0]=b;L[c+2|0]=b;c=N[c+32>>2];if((d|0)!=(c|0)){continue}break}}L[d+2|0]=b;b=(a-d|0)/40|0;N[d+24>>2]=b;c=0;N[a+28>>2]=0-b;e=d;b=0}if((a|0)!=(d|0)){continue}break}n=n+4|0;if(s>>>0>n>>>0){continue}break}}c=0;if((p|0)<=0){break c}c=h;while(1){e=P[c>>1];t:{if(e&16|O[c+2|0]!=4|O[c+3|0]!=4){break t}d=N[c+24>>2];a=T(d,40)+c|0;b=M[c+12>>1];u=M[a+12>>1]-b|0;i=b;g=N[c+28>>2];b=T(g,40)+c|0;if((u^i-M[b+12>>1])<0){break t}j=M[c+14>>1];if((j-M[b+14>>1]^M[a+14>>1]-j)<0){break t}M[c>>1]=e|16;e=b;b=(T(d-g|0,40)|0)/40|0;N[e+24>>2]=b;N[a+28>>2]=0-b}c=c+40|0;if(v>>>0>c>>>0){continue}break}while(1){c=P[h>>1];u:{if(c&16){break u}v:{if(c&3){break v}a=O[h+3|0];b=O[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break v}p=N[h+24>>2];e=T(p,40)+h|0;k=M[e+12>>1];d=M[h+12>>1];n=k-d|0;a=n>>31;l=M[e+14>>1];j=M[h+14>>1];m=l-j|0;b=m>>31;i=d;o=N[h+28>>2];d=T(o,40)+h|0;r=M[d+12>>1];s=i-r|0;g=s>>31;f=M[d+14>>1];q=j-f|0;j=q>>31;r=k-r|0;k=r>>31;f=l-f|0;l=f>>31;a=(a^n)-a|0;b=(b^m)-b|0;i=(T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;a=(g^s)-g|0;b=(j^q)-j|0;i=i+((T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0)|0;a=(k^r)-k|0;b=(f^l)-l|0;a=(T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;if((i-a|0)>=(a>>>4|0)){break u}a=(T(p-o|0,40)|0)/40|0;N[d+24>>2]=a;N[e+28>>2]=0-a;break v}if(b<<24>>24!=(0-(a<<24>>24)|0)){break u}}M[h>>1]=c|16}h=h+40|0;if(v>>>0>h>>>0){continue}break}}c=0}return c}N[a+28>>2]=c;return e}N[a+40>>2]=e;return c}function Hj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=(b<<4)+a|0;if(b>>>0>9){while(1){f=(b<<4)-16|0;g=f+a|0;i=g-16|0;d=N[a+16>>2];c=(b<<3&-16)+a|0;b=N[c>>2];a:{if((d|0)!=(b|0)){b=(b|0)>(d|0)?-1:1;break a}b:{if(O[a+24|0]){break b}b=N[c+4>>2];d=N[a+20>>2];if((b^d)>>>0<2){break b}b=(b|0)>(d|0)?-1:1;break a}b=N[a+28>>2];d=N[c+12>>2];b=b>>>0>>0?-1:b>>>0>d>>>0}e=a+16|0;h=(b|0)>0;b=h?e:c;j=N[b>>2];d=N[i>>2];c:{d:{if((j|0)!=(d|0)){if((d|0)<=(j|0)){break d}break c}e:{if(O[b+8|0]){break e}j=N[g-12>>2];l=N[b+4>>2];if((j^l)>>>0<2){break e}if((j|0)<=(l|0)){break d}break c}if(Q[b+12>>2]<=Q[g-4>>2]){break c}}b=h?c:e;c=N[b>>2];f:{if((c|0)!=(d|0)){c=(c|0)<(d|0)?-1:1;break f}g:{if(O[b+8|0]){break g}c=N[g-12>>2];d=N[b+4>>2];if((c^d)>>>0<2){break g}c=(c|0)>(d|0)?-1:1;break f}c=N[b+12>>2];d=N[g-4>>2];c=c>>>0>>0?-1:c>>>0>d>>>0}b=(c|0)>0?b:i}if((b|0)!=(g|0)){c=O[b|0];L[b|0]=O[g|0];L[g|0]=c;c=O[b+1|0];L[b+1|0]=O[g+1|0];L[g+1|0]=c;c=O[b+2|0];L[b+2|0]=O[g+2|0];L[g+2|0]=c;c=O[b+3|0];L[b+3|0]=O[g+3|0];L[g+3|0]=c;c=O[b+4|0];L[b+4|0]=O[g+4|0];L[g+4|0]=c;c=O[b+5|0];L[b+5|0]=O[g+5|0];L[g+5|0]=c;c=O[b+6|0];L[b+6|0]=O[g+6|0];L[g+6|0]=c;c=O[b+7|0];L[b+7|0]=O[g+7|0];L[g+7|0]=c;c=O[b+8|0];L[b+8|0]=O[g+8|0];L[g+8|0]=c;c=O[b+9|0];L[b+9|0]=O[g+9|0];L[g+9|0]=c;c=O[b+10|0];L[b+10|0]=O[g+10|0];L[g+10|0]=c;c=O[b+11|0];L[b+11|0]=O[g+11|0];L[g+11|0]=c;c=O[b+12|0];L[b+12|0]=O[g+12|0];L[g+12|0]=c;c=O[b+13|0];L[b+13|0]=O[g+13|0];L[g+13|0]=c;c=O[b+14|0];L[b+14|0]=O[g+14|0];L[g+14|0]=c;c=O[b+15|0];L[b+15|0]=O[g+15|0];L[g+15|0]=c}h:{if((f|0)<=0){d=0;break h}i=g;c=g;d=a;b=d;while(1){i:{j:{e=N[b>>2];h=N[g>>2];k:{if((e|0)!=(h|0)){if((e|0)<(h|0)){break k}break j}l:{if(O[b+8|0]){break l}e=N[g+4>>2];h=N[b+4>>2];if((e^h)>>>0<2){break l}if((e|0)<=(h|0)){break j}break k}e=N[b+12>>2];h=N[g+12>>2];if(e>>>0>>0){break k}if(e>>>0>h>>>0){break j}if(b>>>0>d>>>0){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;e=O[d+1|0];L[d+1|0]=O[b+1|0];L[b+1|0]=e;e=O[d+2|0];L[d+2|0]=O[b+2|0];L[b+2|0]=e;e=O[d+3|0];L[d+3|0]=O[b+3|0];L[b+3|0]=e;e=O[d+4|0];L[d+4|0]=O[b+4|0];L[b+4|0]=e;e=O[d+5|0];L[d+5|0]=O[b+5|0];L[b+5|0]=e;e=O[d+6|0];L[d+6|0]=O[b+6|0];L[b+6|0]=e;e=O[d+7|0];L[d+7|0]=O[b+7|0];L[b+7|0]=e;e=O[d+8|0];L[d+8|0]=O[b+8|0];L[b+8|0]=e;e=O[d+9|0];L[d+9|0]=O[b+9|0];L[b+9|0]=e;e=O[d+10|0];L[d+10|0]=O[b+10|0];L[b+10|0]=e;e=O[d+11|0];L[d+11|0]=O[b+11|0];L[b+11|0]=e;e=O[d+12|0];L[d+12|0]=O[b+12|0];L[b+12|0]=e;e=O[d+13|0];L[d+13|0]=O[b+13|0];L[b+13|0]=e;e=O[d+14|0];L[d+14|0]=O[b+14|0];L[b+14|0]=e;e=O[d+15|0];L[d+15|0]=O[b+15|0];L[b+15|0]=e}d=d+16|0}b=b+16|0;if(c>>>0>b>>>0){continue}break i}m:{if(b>>>0>=c>>>0){break m}while(1){n:{h=c;c=c-16|0;e=N[c>>2];f=N[g>>2];o:{if((e|0)!=(f|0)){if((e|0)>=(f|0)){break o}break n}p:{if(O[h-8|0]){break p}e=N[g+4>>2];f=N[h-12>>2];if((e^f)>>>0<2){break p}if((e|0)>(f|0)){break n}break o}e=N[h-4>>2];f=N[g+12>>2];if(e>>>0>>0){break n}if(e>>>0>f>>>0){break o}e=i-16|0;if(h>>>0>>0){f=c;i=e;while(1){j=O[f|0];L[f|0]=O[i|0];L[i|0]=j;i=i+1|0;f=f+1|0;if(h>>>0>f>>>0){continue}break}}i=e}if(b>>>0>>0){continue}break m}break}if(b>>>0>>0){e=O[b|0];L[b|0]=O[c|0];L[c|0]=e;e=O[b+1|0];f=h-15|0;L[b+1|0]=O[f|0];L[f|0]=e;e=O[b+2|0];f=h-14|0;L[b+2|0]=O[f|0];L[f|0]=e;e=O[b+3|0];f=h-13|0;L[b+3|0]=O[f|0];L[f|0]=e;e=O[b+4|0];f=h-12|0;L[b+4|0]=O[f|0];L[f|0]=e;e=O[b+5|0];f=h-11|0;L[b+5|0]=O[f|0];L[f|0]=e;e=O[b+6|0];f=h-10|0;L[b+6|0]=O[f|0];L[f|0]=e;e=O[b+7|0];f=h-9|0;L[b+7|0]=O[f|0];L[f|0]=e;e=O[b+8|0];f=h-8|0;L[b+8|0]=O[f|0];L[f|0]=e;e=O[b+9|0];f=h-7|0;L[b+9|0]=O[f|0];L[f|0]=e;e=O[b+10|0];f=h-6|0;L[b+10|0]=O[f|0];L[f|0]=e;e=O[b+11|0];f=h-5|0;L[b+11|0]=O[f|0];L[f|0]=e;e=O[b+12|0];f=h-4|0;L[b+12|0]=O[f|0];L[f|0]=e;e=O[b+13|0];f=h-3|0;L[b+13|0]=O[f|0];L[f|0]=e;e=O[b+14|0];f=h-2|0;L[b+14|0]=O[f|0];L[f|0]=e;e=O[b+15|0];h=h-1|0;L[b+15|0]=O[h|0];L[h|0]=e}b=b+16|0}if(b>>>0>>0){continue}}break}f=c-d|0;q:{if((a|0)==(d|0)|(c|0)==(d|0)){break q}b=d-a|0;if(b>>>0>f>>>0){if((f|0)<=0){break q}g=a+f|0;b=a+b|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}break q}if((b|0)<=0){break q}g=a+b|0;b=a+f|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}}d=i-c|0;if((c|0)==(i|0)|(i|0)==(k|0)){break h}b=k-i|0;if(b>>>0>>0){if((b|0)<=0){break h}g=b+c|0;b=c+d|0;while(1){i=O[c|0];L[c|0]=O[b|0];L[b|0]=i;b=b+1|0;c=c+1|0;if(g>>>0>c>>>0){continue}break}break h}if((d|0)<=0){break h}g=c+d|0;b=b+c|0;while(1){i=O[c|0];L[c|0]=O[b|0];L[b|0]=i;b=b+1|0;c=c+1|0;if(g>>>0>c>>>0){continue}break}}Hj(a,f>>>4|0);a=k-d|0;k=a+(d&-16)|0;b=d>>>4|0;if(d>>>0>=160){continue}break}}i=a+16|0;if(k>>>0>i>>>0){while(1){c=i;r:{if(c>>>0<=a>>>0){break r}while(1){g=c-16|0;b=N[g>>2];d=N[c>>2];s:{if((b|0)!=(d|0)){if((b|0)<(d|0)){break r}break s}t:{if(O[c-8|0]){break t}b=N[c+4>>2];d=N[c-12>>2];if((b^d)>>>0<2){break t}if((b|0)>(d|0)){break r}break s}if(Q[c-4>>2]<=Q[c+12>>2]){break r}}b=g;d=c;while(1){e=O[b|0];L[b|0]=O[d|0];L[d|0]=e;d=d+1|0;b=b+1|0;if(c>>>0>b>>>0){continue}break}c=g;if(c>>>0>a>>>0){continue}break}}i=i+16|0;if(k>>>0>i>>>0){continue}break}}}function lu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-160|0;La=h;f=N[e+32>>2];if(f){g=N[f+100>>2]}else{g=0}a:{b:{if(bb(a,19233,7)){break b}c:{i=O[a+7|0];switch(i|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!f|!N[N[e+36>>2]+8>>2]){break a}j=(i?-8:-7)+b|0;k=j+1|0;d=N[f+88>>2];e=k+d|0;if((d|e)<0){c=6;break a}g=N[f+84>>2];c=N[f+100>>2];d:{e:{f:{if(!e){b=0;if(!g){break f}Qa[N[c+8>>2]](c,g);N[f+84>>2]=0;break d}g:{if(!d){b=Qa[N[c+4>>2]](c,e)|0;c=!b<<6;break g}c=Qa[N[c+12>>2]](c,d,e,g)|0;b=c?c:g;c=!c<<6}if(c|(d|0)>=(e|0)|!b){break e}C(b+d|0,0,k)}N[f+84>>2]=b;break d}N[f+84>>2]=b;if(c){break a}}b=N[f+88>>2]+b|0;F(b,i?a+8|0:a+7|0,j);L[b+j|0]=10;N[f+88>>2]=N[f+88>>2]+k;c=0;break a}h:{i=N[e>>2];if(!(i&1)){d=N[e+56>>2];c=176;if(bb(a,19203,9)){break a}i:{switch(O[a+9|0]){case 0:case 9:case 10:case 13:case 32:break i;default:break a}}N[e+32>>2]=0;N[e>>2]=1;c=64;b=Qa[N[d+4>>2]](d,136)|0;if(!b){break a}C(b,0,136);N[e+32>>2]=b;N[b+100>>2]=N[e+56>>2];N[e+56>>2]=0;N[b+128>>2]=170;N[b+124>>2]=171;N[b+120>>2]=0;N[b+112>>2]=80;N[b+116>>2]=241;c=Qa[N[d+4>>2]](d,964)|0;if(!c){N[b+132>>2]=0;c=64;break a}g=b+112|0;a=0;C(c,0,964);N[b+132>>2]=c;b=43712;while(1){c=gg(N[b>>2],a,g,d);if(c){break a}b=b+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=Qa[N[d+4>>2]](d,24)|0;if(!a){break h}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;N[N[e+32>>2]+92>>2]=a;N[a+16>>2]=170;N[a+12>>2]=171;c=0;N[a+8>>2]=0;N[a>>2]=80;N[a+4>>2]=241;b=Qa[N[d+4>>2]](d,964)|0;if(!b){N[a+20>>2]=0;c=64;break a}C(b,0,964);N[a+20>>2]=b;a=N[N[e+36>>2]+12>>2];b=N[e+32>>2];N[b+36>>2]=-1;N[b+28>>2]=a;break a}j:{if(bb(a,19537,15)){break j}k:{switch(O[a+15|0]){case 0:case 9:case 10:case 13:case 32:break k;default:break j}}c=179;if(!(i&8)){break a}c=Kc(e+40|0,22537,a,b);N[h+32>>2]=c;if(c){break a}l:{m:{b=N[N[e+40>>2]+4>>2];if(!b){break m}a=L[b|0];c=a&255;if(!c|!(O[(c>>>3|0)+45040|0]>>>(a&7)&1)){break m}c=0;n:{while(1){if(c>>>0>=429496728){a=N[e+32>>2];N[a+72>>2]=-1;N[e+4>>2]=-1;a=a+72|0;break n}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}a=N[e+32>>2];N[a+72>>2]=c;N[e+4>>2]=c;if(N[e+60>>2]>>>2>>>0>=c>>>0){break l}a=a+72|0}N[a>>2]=0;c=6;break a}c=0;N[N[e+32>>2]+72>>2]=0;N[e+4>>2]=0}a=lb(g,16,0,c,0,h+32|0);b=N[e+32>>2];N[b+80>>2]=a;c=N[h+32>>2];if(c){N[b+72>>2]=0;break a}N[e>>2]=N[e>>2]|16;N[d>>2]=172;c=0;break a}o:{if(bb(a,18785,15)){break o}p:{switch(O[a+15|0]){case 0:case 9:case 10:case 13:case 32:break p;default:break o}}c=178;if(!(i&4)){break a}c=Kc(e+40|0,22537,a,b);if(c){break a}a=N[e+32>>2];b=N[e+40>>2];l=a,m=Tf(N[b+4>>2]),M[l+4>>1]=m;d=Tf(N[b+8>>2]);M[a+6>>1]=d;l=a,m=Ze(N[b+12>>2]),M[l+8>>1]=m;b=Ze(N[b+16>>2]);M[a+10>>1]=b;c=0;M[a+14>>1]=0-b;M[a+12>>1]=b+d;N[e>>2]=N[e>>2]|8;break a}q:{if(bb(a,19216,4)){break q}r:{switch(O[a+4|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}d=e+40|0;c=Kc(d,22537,a,b);if(c){break a}cm(d);f=bm(d,h+32|0);if(!f){c=3;break a}a=N[e+32>>2];b=N[a>>2];if(b){Qa[N[g+8>>2]](g,b);a=N[e+32>>2]}b=0;N[a>>2]=0;c=N[h+32>>2];d=c+1|0;s:{t:{if(c>>>0<=2147483646){b=Qa[N[g+4>>2]](g,d)|0;a=N[e+32>>2];if(b){break s}c=64;break t}c=6;if(!d){break s}}N[a>>2]=0;break a}N[a>>2]=b;F(b,f,d);g=N[e+36>>2];a=La-272|0;La=a;d=6;b=N[e+32>>2];u:{if(!b){break u}c=N[b>>2];if(!c|!O[c|0]){break u}f=N[b+100>>2];N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[a+12>>2]=f;N[b+28>>2]=N[g+12>>2];g=nb(c)+1|0;if(g>>>0>255){break u}d=a+16|0;F(d,c,g);d=Kc(a,22535,d,g);v:{if(d|N[a+8>>2]!=15){break v}c=32;w:{x:{switch(L[N[N[a>>2]+44>>2]]-67|0){case 10:case 42:c=16;break w;case 0:case 32:break w;case 13:case 45:break x;default:break v}}c=8}N[b+28>>2]=c}b=N[a+12>>2];if(!b){break u}c=N[a>>2];if(!c){break u}Qa[N[b+8>>2]](b,c)}La=a+272|0;c=d;if(c){break a}N[e>>2]=N[e>>2]|2;c=0;break a}y:{if(bb(a,20116,4)){break y}z:{switch(O[a+4|0]){case 0:case 9:case 10:case 13:case 32:break z;default:break y}}c=177;if(!(i&2)){break a}c=Kc(e+40|0,22537,a,b);if(c){break a}a=N[e+32>>2];b=N[e+40>>2];l=a,m=Ye(N[b+4>>2]),N[l+16>>2]=m;l=a,m=Ye(N[b+8>>2]),N[l+20>>2]=m;l=a,m=Ye(N[b+12>>2]),N[l+24>>2]=m;A:{if(N[e+48>>2]==5){b=Ze(N[b+16>>2]);if(b>>>0>=5){M[a+96>>1]=8;break A}if(b>>>0>=3){M[a+96>>1]=4;break A}if((b|0)==2){M[a+96>>1]=2;break A}M[a+96>>1]=1;break A}M[a+96>>1]=1}N[e>>2]=N[e>>2]|4;c=0;break a}c=3;if(bb(a,19438,5)){break a}B:{switch(O[a+5|0]){case 0:case 9:case 10:case 13:case 32:break B;default:break a}}c=179;if(!(i&8)){break a}a=M[f+12>>1];N[f+40>>2]=a;N[h+16>>2]=a;a=h+32|0;Sf(a,h+16|0);c=Md(N[e+32>>2],19320,a);if(c){break a}b=N[e+32>>2];a=M[b+14>>1];N[b+44>>2]=a;N[h>>2]=a;a=h+32|0;Sf(a,h);c=Md(N[e+32>>2],19275,a);if(c){break a}N[d>>2]=173;c=-1;break a}N[N[e+32>>2]+92>>2]=0;c=64}La=h+160|0;return c|0}function uB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;g=La-48|0;La=g;e=6;a:{if(!a|!b){break a}d=N[b+4>>2];if(!d){e=20;break a}e=0;if(M[d+2>>1]<=0|M[d>>1]<=0){break a}if(!N[d+12>>2]){e=20;break a}e=20;if(!N[d+4>>2]){break a}e=6;if(N[b+48>>2]-33>>>0<4294967265){break a}e=N[a>>2];if(!e){e=32;break a}z=g,A=dg(d),N[z+32>>2]=A;L[g+36|0]=O[b+52|0];a=O[b+53|0];N[g+40>>2]=0;L[g+37|0]=a;f=Qa[N[e+4>>2]](e,8)|0;if(!f){e=64;break a}N[f>>2]=0;N[f+4>>2]=0;N[f>>2]=e;N[g+44>>2]=f;e=Yh(d,294060,f);if(e){break a}j=N[b>>2];d=N[b+48>>2];b:{if(O[b+54|0]){N[g+24>>2]=N[g+40>>2];a=N[g+36>>2];N[g+16>>2]=N[g+32>>2];N[g+20>>2]=a;t=La-32|0;La=t;b=6;c:{if(!f|!j){break c}l=N[f>>2];if(!l){break c}p=O[g+20|0];L[g+20|0]=0;c=N[f+4>>2];N[t+24>>2]=l;f=f+4|0;x=N[j>>2];v=N[j+4>>2];d:{e:{f:{g:{if(!c){w=1;c=0;break g}while(1){o=o+1|0;c=N[c+12>>2];if(c){continue}break}a=T(o,24);h:{if((a|0)<=0){if(!a){break h}break c}m=Qa[N[l+4>>2]](l,a)|0;if(!m){b=64;break c}C(m,0,a)}a=o<<2;i:{if((a|0)<=0){if(!a){break i}break d}q=Qa[N[l+4>>2]](l,a)|0;if(!q){b=64;break d}C(q,0,a)}a=!o;w=a;if(a){c=0;break g}a=f;c=0;while(1){k=T(r,24)+m|0;n=N[a>>2];if(m){N[k>>2]=0;N[k+4>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+8>>2]=0;N[k+12>>2]=0}e=c;N[k+4>>2]=N[j+4>>2];N[k>>2]=N[j>>2];N[k+8>>2]=N[j+8>>2];M[k+16>>1]=P[j+16>>1];L[k+18|0]=O[j+18|0];j:{k:{l:{m:{b=T(N[j+8>>2],N[j>>2]);n:{if((b|0)<=0){a=0;if(!b){break n}N[(T(r,24)+m|0)+12>>2]=0;b=6;break f}a=Qa[N[l+4>>2]](l,b)|0;if(!a){break m}C(a,0,b)}N[k+12>>2]=a;if(!n){break l}a=0;c=N[n+8>>2];if(!c){break l}while(1){o:{p:{switch(N[c+32>>2]-1|0){case 0:b=(T(N[c+4>>2]+N[c+12>>2]|0,N[c+8>>2]-N[c>>2]|0)|0)/64|0;break o;case 1:b=a;h=N[c+20>>2];a=N[c+16>>2];b=b+((T(h+N[c+4>>2]|0,a-N[c>>2]|0)|0)/64|0)|0;a=(T(h+N[c+12>>2]|0,N[c+8>>2]-a|0)|0)/64|0;break o;case 2:break p;default:break l}}h=a;a=N[c+20>>2];b=N[c+16>>2];i=h+((T(a+N[c+4>>2]|0,b-N[c>>2]|0)|0)/64|0)|0;h=N[c+28>>2];s=h+a|0;a=N[c+24>>2];b=i+((T(s,a-b|0)|0)/64|0)|0;a=(T(h+N[c+12>>2]|0,N[c+8>>2]-a|0)|0)/64|0}a=a+b|0;c=N[c+36>>2];if(c){continue}break}c=1;u=(r<<2)+q|0;b=(a|0)<=0;N[u>>2]=b?2:1;i=b;b=N[g+16>>2];h=0;if(b?0:i){break j}if((a|0)<=0){break k}h=1;if((b|0)==1){break j}break k}N[(T(r,24)+m|0)+12>>2]=0;b=64;break f}u=(r<<2)+q|0;N[u>>2]=0;b=N[g+16>>2]}c=0;h=b}N[g+24>>2]=c;c=N[n+12>>2];N[n+12>>2]=0;N[t+28>>2]=n;N[t+16>>2]=N[g+24>>2];a=N[g+20>>2];N[t+8>>2]=N[g+16>>2];N[t+12>>2]=a;b=cp(t+8|0,t+24|0,d,k);if(b){break e}a=n+12|0;N[a>>2]=c;c=N[t+28>>2];N[c+12>>2]=e;q:{if((h|0)!=1){break q}b=2;r:{switch(N[u>>2]-1|0){case 1:b=1;break;case 0:break r;default:break q}}N[u>>2]=b}r=r+1|0;if((r|0)!=(o|0)){continue}break}}N[f>>2]=c;if((x|0)<=0){b=0;break f}b=0;if((v|0)<=0){break f}r=N[j+12>>2];if(w){C(r,p?-1:0,T(v,x));break f}e=o&-2;u=o&1;k=0;if(p){w=(o|0)==1;while(1){h=T(k,v);s=0;while(1){j=h+s|0;i=255;c=0;a=0;b=0;s:{if(!w){while(1){a=i&255;n=O[j+N[(T(c,24)+m|0)+12>>2]|0];f=N[(c<<2)+q>>2]==1;a=f?i:a>>>0>>0?a:n;d=a&255;i=a;a=c|1;p=O[j+N[(T(a,24)+m|0)+12>>2]|0];y=d>>>0

>>0?d:p;d=N[(a<<2)+q>>2]==1;i=d?i:y;a=b&255;b=f?a>>>0>n>>>0?a:n:b;a=b&255;b=d?a>>>0>p>>>0?a:p:b;c=c+2|0;if((e|0)!=(c|0)){continue}break}a=e;if(!u){break s}}d=i&255;f=O[j+N[(T(a,24)+m|0)+12>>2]|0];c=d>>>0>>0?d:f;d=N[(a<<2)+q>>2]==1;i=d?i:c;a=b&255;b=d?a>>>0>f>>>0?a:f:b}b=b&255;a=i&255;L[j+r|0]=(a>>>0>b>>>0?b:a)^-1;s=s+1|0;if((v|0)!=(s|0)){continue}break}k=k+1|0;if((x|0)!=(k|0)){continue}break}b=0;break e}w=(o|0)==1;while(1){h=T(k,v);s=0;while(1){j=h+s|0;i=255;c=0;a=0;b=0;t:{if(!w){while(1){a=i&255;n=O[j+N[(T(c,24)+m|0)+12>>2]|0];f=N[(c<<2)+q>>2]==1;a=f?i:a>>>0>>0?a:n;d=a&255;i=a;a=c|1;p=O[j+N[(T(a,24)+m|0)+12>>2]|0];y=d>>>0

>>0?d:p;d=N[(a<<2)+q>>2]==1;i=d?i:y;a=b&255;b=f?a>>>0>n>>>0?a:n:b;a=b&255;b=d?a>>>0>p>>>0?a:p:b;c=c+2|0;if((e|0)!=(c|0)){continue}break}a=e;if(!u){break t}}d=i&255;f=O[j+N[(T(a,24)+m|0)+12>>2]|0];c=d>>>0>>0?d:f;d=N[(a<<2)+q>>2]==1;i=d?i:c;a=b&255;b=d?a>>>0>f>>>0?a:f:b}b=b&255;a=i&255;L[j+r|0]=a>>>0>b>>>0?b:a;s=s+1|0;if((v|0)!=(s|0)){continue}break}k=k+1|0;if((x|0)!=(k|0)){continue}break}b=0;break e}if(!q){break d}}Qa[N[l+8>>2]](l,q)}if(!m){break c}if(!o){b=97;break c}c=0;u:{if((o|0)!=1){h=o&1;f=o&-2;a=0;while(1){d=T(c,24)+m|0;e=N[d+12>>2];if(e){Qa[N[l+8>>2]](l,e)}N[d+12>>2]=0;d=T(c|1,24)+m|0;e=N[d+12>>2];if(e){Qa[N[l+8>>2]](l,e)}N[d+12>>2]=0;c=c+2|0;a=a+2|0;if((f|0)!=(a|0)){continue}break}if(!h){break u}}e=T(c,24)+m|0;a=N[e+12>>2];if(a){Qa[N[l+8>>2]](l,a)}N[e+12>>2]=0}Qa[N[l+8>>2]](l,m)}La=t+32|0;e=b;if(!b){break b}break a}N[g+8>>2]=N[g+40>>2];a=N[g+36>>2];N[g>>2]=N[g+32>>2];N[g+4>>2]=a;e=cp(g,f,d,j);if(e){break a}}f=g+44|0;v:{if(!f){break v}a=N[f>>2];if(!a){break v}h=N[a>>2];if(!h){break v}b=N[a+4>>2];w:{if(b){while(1){d=N[b+12>>2];a=N[b+8>>2];x:{if(a){while(1){e=N[a+36>>2];Qa[N[h+8>>2]](h,a);a=e;if(a){continue}break}if(!b){break x}}Qa[N[h+8>>2]](h,b)}b=d;if(b){continue}break}a=N[f>>2];if(!a){break w}}Qa[N[h+8>>2]](h,a)}N[f>>2]=0}e=0}La=g+48|0;return e|0}function Ym(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0;g=La-16|0;La=g;i=N[b+28>>2];n=N[a+736>>2];N[g>>2]=0;a:{if(!n){N[g+12>>2]=0;break a}if(!N[a+704>>2]){N[g+12>>2]=0;break a}if(Qa[N[a+516>>2]](a,1668702578,b,g+8|0)|0){N[g+12>>2]=0;break a}if(Bb(b,N[g+8>>2])){N[g+12>>2]=0;break a}b:{c:{d:{e:{f=N[b+32>>2];if(Q[b+36>>2]>f+3>>>0){k=N[b>>2];c=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);N[b+32>>2]=f+4;if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))==65536){break e}}N[g+12>>2]=0;break d}f:{c=N[n>>2];if((c|0)<0){l=6;break f}g:{h:{if(c){l=10;if((c|0)>536870911){break f}d=c<<2;l=Qa[N[i+4>>2]](i,d)|0;if(!l|(c|0)<=0){break h}C(l,0,d)}N[g+12>>2]=0;break g}N[g+12>>2]=!l<<6;if(l){break g}break c}t=lb(i,4,0,N[n>>2],0,g+12|0);if(N[g+12>>2]){break c}u=lb(i,4,0,N[n>>2],0,g+12|0);if(N[g+12>>2]){break c}j=N[b+36>>2];d=N[b+32>>2];if(j>>>0>d+1>>>0){c=O[d|0]|O[d+1|0]<<8;h=c<<8|c>>>8;d=d+2|0}N[b+32>>2]=d;if(j>>>0<=d+1>>>0){c=d}else{e=O[d+1|0]|O[d|0]<<8;c=d+2|0}N[b+32>>2]=c;q=N[g+8>>2];w=h&4095;if(q>>>0<(w<<2)+e>>>0){N[g+12>>2]=8;break c}r=(f-k|0)+e|0;i:{if(h<<16>>16>=0){q=0;break i}d=N[b>>2];N[b+32>>2]=j-d>>>0>r>>>0?d+r|0:j;q=ag(b,q,g);j=N[b+32>>2];f=N[b>>2];c=c-d|0;d=N[b+36>>2];N[b+32>>2]=c>>>0>>0?f+c|0:d;r=j-f|0}s=lb(i,4,0,N[a+700>>2],0,g+12|0);j:{if(N[g+12>>2]){break j}if(w){p=N[g>>2];k=0;while(1){h=N[b+36>>2];c=N[b+32>>2];k:{if(h>>>0<=c+1>>>0){y=0;break k}y=O[c+1|0]|O[c|0]<<8;c=c+2|0}N[b+32>>2]=c;j=0;x=0;l:{m:{if(h>>>0<=c+1>>>0){break m}d=O[c|0]|O[c+1|0]<<8;c=c+2|0;N[b+32>>2]=c;d=d<<8|d>>>8;j=d&65535;x=d<<16>>16;if((x|0)>=0){break m}d=N[n>>2];if(!d){break l}m=0;n:{if((d|0)==1){d=0;break n}o=d&1;v=d&-2;d=0;f=0;while(1){o:{if(h>>>0<=c+1>>>0){e=0;break o}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(d<<2)+l>>2]=e<<16>>16<<2;e=0;if(h>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((d|1)<<2)+l>>2]=e<<16>>16<<2;d=d+2|0;f=f+2|0;if((v|0)!=(f|0)){continue}break}if(!o){break l}}if(h>>>0>c+1>>>0){f=O[c|0]|O[c+1|0]<<8;m=f<<8|f>>>8;c=c+2|0}N[b+32>>2]=c;N[(d<<2)+l>>2]=m<<16>>16<<2;break l}c=j&4095;if(c>>>0>=Q[n+60>>2]){N[g+12>>2]=8;break j}d=N[n+64>>2];if(!d){N[g+12>>2]=8;break j}f=c;c=N[n>>2];F(l,d+(T(f,c)<<2)|0,c<<2)}p:{if(!(j&16384)){break p}o=N[n>>2];if(!o){break p}v=o&1;c=N[b+32>>2];d=N[b+36>>2];m=0;z=o-1|0;q:{r:{if(!z){h=0;break r}B=o&-2;h=0;f=0;while(1){s:{if(d>>>0<=c+1>>>0){e=0;break s}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+t>>2]=e<<16>>16<<2;e=0;if(d>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((h|1)<<2)+t>>2]=e<<16>>16<<2;h=h+2|0;f=f+2|0;if((B|0)!=(f|0)){continue}break}if(!v){break q}}if(d>>>0>c+1>>>0){f=O[c|0]|O[c+1|0]<<8;m=f<<8|f>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+t>>2]=m<<16>>16<<2}m=0;t:{if(!z){h=0;break t}o=o&-2;h=0;f=0;while(1){u:{if(d>>>0<=c+1>>>0){e=0;break u}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+u>>2]=e<<16>>16<<2;e=0;if(d>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((h|1)<<2)+u>>2]=e<<16>>16<<2;h=h+2|0;f=f+2|0;if((o|0)!=(f|0)){continue}break}if(!v){break p}}if(d>>>0>c+1>>>0){d=O[c|0]|O[c+1|0]<<8;m=d<<8|d>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+u>>2]=m<<16>>16<<2}h=$m(n,x&65535,l,t,u);if(h){m=N[b+32>>2];e=N[b>>2];c=N[b+36>>2];N[b+32>>2]=c-e>>>0>r>>>0?e+r|0:c;v:{if(j&8192){j=ag(b,N[g+8>>2],g+4|0);f=j;c=N[g+4>>2];break v}N[g+4>>2]=p;j=k;f=q;c=p}d=c;m=m-e|0;k=N[g+8>>2];if(!c){c=N[a+700>>2]}e=Rh(b,k,c);w:{x:{y:{if(!f|!e){break y}z:{if((j|0)!=-1){c=0;if(d){break z}k=0;if(!j){break x}Qa[N[i+8>>2]](i,j);break x}k=-1;if((d|0)!=N[a+700>>2]){break x}c=0;if(!d){break x}while(1){d=c<<2;f=d+s|0;D=f,E=ob(N[d+e>>2],h)+N[f>>2]|0,N[D>>2]=E;c=c+1|0;if(c>>>0>2]){continue}break}break y}while(1){k=P[(c<<1)+f>>1];if(k>>>0>2]){k=(k<<2)+s|0;D=k,E=ob(N[e+(c<<2)>>2],h)+N[k>>2]|0,N[D>>2]=E}c=c+1|0;if((d|0)!=(c|0)){continue}break}}k=-1;A:{switch(j+1|0){default:Qa[N[i+8>>2]](i,j);case 1:k=0;break;case 0:break A}}if(!e){break w}}Qa[N[i+8>>2]](i,e)}c=N[b>>2];d=N[b+36>>2];N[b+32>>2]=m>>>0>>0?c+m|0:d}r=r+y|0;A=A+1|0;if((A|0)!=(w|0)){continue}break}}c=N[a+700>>2];if(!c){break j}f=N[a+704>>2];d=0;if((c|0)!=1){j=c&1;k=c&-2;while(1){c=d<<2;p=c+f|0;N[p>>2]=N[p>>2]+(N[c+s>>2]+512>>10);c=c|4;p=c+f|0;N[p>>2]=N[p>>2]+(N[c+s>>2]+512>>10);d=d+2|0;if((k|0)!=(d|0)){continue}break}if(!j){break j}}c=d<<2;d=c+f|0;N[d>>2]=N[d>>2]+(N[c+s>>2]+512>>10)}if(N[b+20>>2]){c=N[b>>2];if(c){d=N[b+28>>2];Qa[N[d+8>>2]](d,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(q+1>>>0<2){break b}Qa[N[i+8>>2]](i,q);break b}N[g+12>>2]=l}l=0}if(N[b+20>>2]){c=N[b>>2];if(c){d=N[b+28>>2];Qa[N[d+8>>2]](d,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}if(l){Qa[N[i+8>>2]](i,l)}if(t){Qa[N[i+8>>2]](i,t)}if(u){Qa[N[i+8>>2]](i,u)}if(!s){break a}Qa[N[i+8>>2]](i,s)}a=N[a+108>>2];while(1){if(a){b=N[a+4>>2];N[N[a+8>>2]+308>>2]=-1;a=b;continue}break}La=g+16|0;return N[g+12>>2]}function Ao(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=La-128|0;La=f;r=N[a>>2];m=N[r>>2];h=N[m+12>>2]+T(b,12)|0;v=N[h+8>>2];s=N[h+4>>2];p=N[h>>2];t=f- -64|0;u=1;while(1){a:{b:{if(s){h=N[r+4>>2];N[f+104>>2]=0;N[f+96>>2]=v;N[f+92>>2]=s;N[f+88>>2]=1;if(!Td(h,f+88|0,o,f+84|0,1)){break b}}N[f>>2]=p;mb(m,2,24370,f);break a}h=N[f+84>>2];u=N[h>>2];zo(m,h);N[f+80>>2]=0;N[f+72>>2]=0;N[f+76>>2]=0;N[t>>2]=0;N[t+4>>2]=0;N[f+56>>2]=0;N[f+60>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!Do(N[f+84>>2],0,f+48|0)){N[f+32>>2]=p;mb(m,2,24401,f+32|0);g=N[f+84>>2];if(!g){break a}h=N[g+96>>2];if(!h){break a}c=N[g+128>>2];d=N[c+64>>2];N[c+64>>2]=d-1;if((d|0)>1){break a}d=N[h+16>>2];if(!d){break a}j=h+16|0;c=N[h+8>>2];while(1){if((g|0)==N[d+8>>2]){break k}d=N[d+4>>2];if(d){continue}break}break a}h=db(1,12);if(!h){h=N[f+48>>2];if(!h){break c}d=0;g=N[f+64>>2];if((g|0)>0){break j}break d}N[h>>2]=m;g=N[f+84>>2];N[h+8>>2]=b;N[h+4>>2]=g;j=N[a>>2];N[f+120>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;d=f+48|0;g=o;q=N[f+64>>2];l:{if(!q){d=N[a+36>>2];if(d){g=Qa[d|0](h)|0}d=N[f+56>>2];d=yo(N[j>>2],N[j+4>>2],d?d:N[f+60>>2],N[a+4>>2],h,g);if(!d){break l}n=N[f+60>>2];if(!Do(d,n,f+88|0)){g=N[d+96>>2];if(!g){break l}e=N[d+128>>2];c=N[e+64>>2];N[e+64>>2]=c-1;if((c|0)>1){break l}c=N[g+16>>2];if(!c){break l}i=g+16|0;e=N[g+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break l}break}j=N[c>>2];k=j?j+4|0:i;i=N[c+4>>2];N[k>>2]=i;N[(i?i:g+20|0)>>2]=j;Qa[N[e+8>>2]](e,c);ic(e,d,g);break l}m:{c=N[f+96>>2];if(!c){break m}c=Hb(c);N[f+96>>2]=c;if(c){break m}g=N[d+96>>2];if(!g){break l}e=N[d+128>>2];c=N[e+64>>2];N[e+64>>2]=c-1;if((c|0)>1){break l}c=N[g+16>>2];if(!c){break l}i=g+16|0;e=N[g+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break l}break}j=N[c>>2];k=j?j+4|0:i;i=N[c+4>>2];N[k>>2]=i;N[(i?i:g+20|0)>>2]=j;Qa[N[e+8>>2]](e,c);ic(e,d,g);break l}e=N[d+96>>2];n:{if(!e){break n}i=N[d+128>>2];c=N[i+64>>2];N[i+64>>2]=c-1;if((c|0)>1){break n}c=N[e+16>>2];if(!c){break n}k=e+16|0;i=N[e+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break n}break}l=N[c>>2];w=l?l+4|0:k;k=N[c+4>>2];N[w>>2]=k;N[(k?k:e+20|0)>>2]=l;Qa[N[i+8>>2]](i,c);ic(i,d,e)}N[f+100>>2]=n;d=f+88|0}c=N[d+24>>2];i=c>>>0<=110?c:0;c=N[d+32>>2];l=c-201>>>0<4294967145?100:c;c=N[d+28>>2];k=c-901>>>0<4294966495?400:c;c=N[j+24>>2];e=N[j+28>>2];o:{if((c|0)<(e|0)){e=N[j+32>>2];break o}c=(e|0)<=0?1:e<<1;N[j+28>>2]=c;e=$a(N[j+32>>2],T(c,56));N[j+32>>2]=e;c=N[j+24>>2]}e=T(c,56)+e|0;N[e>>2]=0;N[e+4>>2]=0;N[e+48>>2]=0;N[e+52>>2]=0;N[e+40>>2]=0;N[e+44>>2]=0;N[e+32>>2]=0;N[e+36>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;c=N[j+8>>2];N[j+8>>2]=c+1;N[e+28>>2]=l;N[e+24>>2]=k;N[e+20>>2]=i;N[e>>2]=c;l=N[d+20>>2];N[e+16>>2]=l;k=N[d+16>>2];N[e+12>>2]=k;i=db(k,4);N[e+4>>2]=i;p:{if(!i){break p}if(l){c=db(l,4);N[e+8>>2]=c;if(!c){break p}}c=0;if((k|0)>0){while(1){n=c<<2;x=n+i|0,y=Hb(N[n+N[d>>2]>>2]),N[x>>2]=y;i=N[e+4>>2];if(!N[n+i>>2]){break p}c=c+1|0;if((k|0)!=(c|0)){continue}break}}if((l|0)>0){i=N[e+8>>2];c=0;while(1){k=c<<2;x=k+i|0,y=Hb(N[k+N[d+4>>2]>>2]),N[x>>2]=y;i=N[e+8>>2];if(!N[k+i>>2]){break p}c=c+1|0;if((l|0)!=(c|0)){continue}break}}c=N[d+8>>2];if(c){c=Hb(c);N[e+40>>2]=c;if(!c){break p}}d=N[d+12>>2];if(!d){break h}d=Hb(d);N[e+44>>2]=d;if(d){break h}}Co(e)}g=N[f+88>>2];if(!g){break f}d=0;c=N[f+104>>2];if((c|0)>0){break i}break g}e=N[d>>2];i=e?e+4|0:j;j=N[d+4>>2];N[i>>2]=j;N[(j?j:h+20|0)>>2]=e;Qa[N[c+8>>2]](c,d);ic(c,g,h);break a}while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}break d}while(1){_a(N[g+(d<<2)>>2]);d=d+1|0;if((c|0)!=(d|0)){continue}break}break g}N[e+52>>2]=h;N[e+36>>2]=g;N[e+48>>2]=a;N[j+24>>2]=N[j+24>>2]+1;break e}_a(g)}g=N[f+92>>2];if(g){d=0;c=N[f+108>>2];if((c|0)>0){while(1){_a(N[g+(d<<2)>>2]);d=d+1|0;if((c|0)!=(d|0)){continue}break}}_a(g)}_a(N[f+96>>2]);g=N[a+16>>2];if(g){Qa[g|0](h)}N[f+16>>2]=p;mb(m,2,24447,f+16|0);_a(h)}h=N[f+48>>2];if(h){d=0;if((q|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((q|0)!=(d|0)){continue}break}}_a(h)}h=N[f+52>>2];if(!h){break a}d=0;g=N[f+68>>2];if((g|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}}_a(h);break a}_a(h)}h=N[f+52>>2];if(h){d=0;g=N[f+68>>2];if((g|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}}_a(h)}g=N[f+84>>2];if(!g){break a}h=N[g+96>>2];if(!h){break a}c=N[g+128>>2];d=N[c+64>>2];N[c+64>>2]=d-1;if((d|0)>1){break a}d=N[h+16>>2];if(!d){break a}j=h+16|0;c=N[h+8>>2];while(1){if((g|0)!=N[d+8>>2]){d=N[d+4>>2];if(d){continue}break a}break}e=N[d>>2];i=e?e+4|0:j;j=N[d+4>>2];N[i>>2]=j;N[(j?j:h+20|0)>>2]=e;Qa[N[c+8>>2]](c,d);ic(c,g,h)}o=o+1|0;if((u|0)>(o|0)){continue}break}La=f+128|0}function cj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=b<<1;o=d+a|0;if(b>>>0>=10){while(1){j=a+2|0;i=P[a+2>>1];h=(b&-2)+a|0;g=P[h>>1];b=(bj(i,g,c)|0)>0;d=d-2|0;l=d+a|0;f=l-2|0;e=P[f>>1];k=b?j:h;a:{if((bj(b?i:g,e,c)|0)<=0){break a}k=(bj(b?g:i,e,c)|0)>0?b?h:j:f}b=k;if((b|0)!=(l|0)){j=O[b|0];L[b|0]=O[l|0];L[l|0]=j;j=O[b+1|0];L[b+1|0]=O[l+1|0];L[l+1|0]=j}h=l;i=h;j=a;b=j;b:{if((d|0)<=0){f=0;break b}while(1){c:{m=P[b>>1];d=P[l>>1];d:{e:{f:{g:{h:{g=N[c+4>>2];if((g|0)!=131072){if((g|0)!=65536){break e}g=0;k=0;f=0;if(d>>>0<=257){f=d<<2;d=N[f+267632>>2];k=d+268668|0;f=N[f+267636>>2]+(d^-1)|0}if(m>>>0<=257){break h}e=0;break f}g=0;k=0;e=N[c+8>>2];n=O[e|0]|O[e+1|0]<<8;n=(n<<8|n>>>8)&65535;f=0;i:{if(n>>>0<=d>>>0){break i}d=e+(d<<1)|0;d=O[d+2|0]|O[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){f=d<<2;d=N[f+267632>>2];k=d+268668|0;f=N[f+267636>>2]+(d^-1)|0;break i}d=d-258|0;f=0;if(d>>>0>=Q[c+16>>2]){break i}d=N[c+24>>2]+N[N[c+20>>2]+(d<<2)>>2]|0;k=d+1|0;f=O[d|0]}if(m>>>0>>0){break g}e=0;break f}g=m<<2;d=N[g+267632>>2];e=N[g+267636>>2]+(d^-1)|0;g=d+268668|0;break f}d=e+(m<<1)|0;d=O[d+2|0]|O[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){g=d<<2;d=N[g+267632>>2];e=N[g+267636>>2]+(d^-1)|0;g=d+268668|0;break f}d=d-258|0;if(d>>>0>=Q[c+16>>2]){e=0;break f}d=N[c+24>>2]+N[N[c+20>>2]+(d<<2)>>2]|0;g=d+1|0;e=O[d|0]}if((e|0)!=(f|0)){d=e-f|0}else{if(!f){break e}d=Mb(g,k,f)}if((d|0)>0){j:{if(b>>>0>=i>>>0){break j}while(1){g=i;i=i-2|0;m=P[i>>1];q=m>>>8|0;e=P[l>>1];k:{l:{m:{n:{o:{p:{d=N[c+4>>2];if((d|0)!=131072){if((d|0)!=65536){break m}k=0;d=0;f=0;if(e>>>0<=257){f=e<<2;d=N[f+267632>>2];f=N[f+267636>>2]+(d^-1)|0;d=d+268668|0}if(m>>>0<=257){break p}e=0;break n}k=0;d=0;f=0;n=N[c+8>>2];p=O[n|0]|O[n+1|0]<<8;p=(p<<8|p>>>8)&65535;q:{if(p>>>0<=e>>>0){break q}d=(e<<1)+n|0;d=O[d+2|0]|O[d+3|0]<<8;e=(d<<8|d>>>8)&65535;if(e>>>0<=257){f=e<<2;d=N[f+267632>>2];f=N[f+267636>>2]+(d^-1)|0;d=d+268668|0;break q}d=0;e=e-258|0;if(e>>>0>=Q[c+16>>2]){break q}f=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;d=f+1|0;f=O[f|0]}if(m>>>0

>>0){break o}e=0;break n}e=m<<2;k=N[e+267632>>2];e=N[e+267636>>2]+(k^-1)|0;k=k+268668|0;break n}e=(m<<1)+n|0;e=O[e+2|0]|O[e+3|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<=257){e=e<<2;k=N[e+267632>>2];e=N[e+267636>>2]+(k^-1)|0;k=k+268668|0;break n}e=e-258|0;if(e>>>0>=Q[c+16>>2]){e=0;break n}e=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;k=e+1|0;e=O[e|0]}if((e|0)!=(f|0)){d=e-f|0}else{if(!f){break m}d=Mb(k,d,f)}if(d){break l}}d=h-2|0;if(g>>>0>>0){L[i|0]=O[d|0];L[d|0]=m;h=h-1|0;L[g-1|0]=O[h|0];L[h|0]=q}h=d;break k}if((d|0)>=0){break k}if(b>>>0>>0){d=O[b|0];L[b|0]=m;L[i|0]=d;d=O[b+1|0];L[b+1|0]=q;L[g-1|0]=d}b=b+2|0;break j}if(b>>>0>>0){continue}break}}if(b>>>0>>0){continue}break c}if(d){break d}}if(b>>>0>j>>>0){d=O[j|0];L[j|0]=m;L[b|0]=d;d=O[j+1|0];L[j+1|0]=m>>>8;L[b+1|0]=d}j=j+2|0}b=b+2|0;if(i>>>0>b>>>0){continue}}break}d=i-j|0;r:{if((a|0)==(j|0)|(j|0)==(i|0)){break r}b=j-a|0;if(b>>>0>d>>>0){if((d|0)<=0){break r}l=a+d|0;b=a+b|0;j=a;while(1){g=O[j|0];L[j|0]=O[b|0];L[b|0]=g;b=b+1|0;j=j+1|0;if(l>>>0>j>>>0){continue}break}break r}if((b|0)<=0){break r}l=a+b|0;b=a+d|0;j=a;while(1){g=O[j|0];L[j|0]=O[b|0];L[b|0]=g;b=b+1|0;j=j+1|0;if(l>>>0>j>>>0){continue}break}}f=h-i|0;if((i|0)==(h|0)|(h|0)==(o|0)){break b}b=o-h|0;if(b>>>0>>0){if((b|0)<=0){break b}j=b+i|0;b=f+i|0;while(1){l=O[i|0];L[i|0]=O[b|0];L[b|0]=l;b=b+1|0;i=i+1|0;if(j>>>0>i>>>0){continue}break}break b}if((f|0)<=0){break b}j=f+i|0;b=b+i|0;while(1){l=O[i|0];L[i|0]=O[b|0];L[b|0]=l;b=b+1|0;i=i+1|0;if(j>>>0>i>>>0){continue}break}}cj(a,d>>>1|0,c);a=o-f|0;d=f&-2;o=a+d|0;b=f>>>1|0;if(f>>>0>=20){continue}break}}d=a+2|0;if(o>>>0>d>>>0){while(1){b=d;s:{if(d>>>0<=a>>>0){break s}while(1){i=P[b>>1];j=b-2|0;l=P[j>>1];t:{u:{v:{h=N[c+4>>2];if((h|0)!=131072){if((h|0)!=65536){break s}h=0;g=0;f=0;if(i>>>0<=257){f=i<<2;g=N[f+267632>>2];f=N[f+267636>>2]+(g^-1)|0;g=g+268668|0}if(l>>>0<=257){break v}e=0;break t}h=0;g=0;f=0;e=N[c+8>>2];k=O[e|0]|O[e+1|0]<<8;m=(k<<8|k>>>8)&65535;w:{if(m>>>0<=i>>>0){break w}g=e+(i<<1)|0;g=O[g+2|0]|O[g+3|0]<<8;k=(g<<8|g>>>8)&65535;if(k>>>0<=257){f=k<<2;g=N[f+267632>>2];f=N[f+267636>>2]+(g^-1)|0;g=g+268668|0;break w}g=0;k=k-258|0;if(k>>>0>=Q[c+16>>2]){break w}f=N[c+24>>2]+N[N[c+20>>2]+(k<<2)>>2]|0;g=f+1|0;f=O[f|0]}if(l>>>0>>0){break u}e=0;break t}e=l<<2;h=N[e+267632>>2];e=N[e+267636>>2]+(h^-1)|0;h=h+268668|0;break t}h=e+(l<<1)|0;h=O[h+2|0]|O[h+3|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<=257){e=e<<2;h=N[e+267632>>2];e=N[e+267636>>2]+(h^-1)|0;h=h+268668|0;break t}h=0;e=e-258|0;if(e>>>0>=Q[c+16>>2]){e=0;break t}e=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;h=e+1|0;e=O[e|0]}if((e|0)!=(f|0)){h=e-f|0}else{if(!f){break s}h=Mb(h,g,f)}if((h|0)<=0){break s}L[j|0]=i;L[b+1|0]=l>>>8;L[b-1|0]=i>>>8;L[b|0]=l;b=j;if(b>>>0>a>>>0){continue}break}}d=d+2|0;if(o>>>0>d>>>0){continue}break}}}function oj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{f=N[b+4>>2];if(f>>>0>a>>>0){break a}e=N[b+8>>2];if(e>>>0>>0){break a}i=e-a|0;if(i>>>0<4){break a}c=N[b+12>>2];g=c-4|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break a}b:{c:{d:{h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);e:{if((g|0)<=1953658212){if((g|0)==256){break c}if((g|0)==65536|(g|0)==1330926671){break e}break b}if((g|0)==1954115633){break e}if((g|0)==1953784678){break d}if((g|0)!=1953658213){break b}}if(i>>>0<12){break a}d=c-16|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+4|0;if(d>>>0>e>>>0|e-d>>>0<8){break a}c=c-24|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;if(d){a=a+12|0;if(a>>>0>e>>>0){break a}f=e-a|0;a=((d<<8|d>>>8)&65535)<<4;if(f>>>0>>0){break a}a=c-a|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}return 1}g=f;f=a+4|0;if(g>>>0>f>>>0|e>>>0>>0|e-f>>>0<4){break a}g=c-8|0;N[b+12>>2]=g;if((g|0)<=0){break a}f=O[f|0]|O[f+1|0]<<8;if(((f<<8|f>>>8)&65535)-1>>>0>1){break b}d=a+8|0;if(d>>>0>e>>>0|e-d>>>0<4){break a}d=c-12|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(f>>>0>1073741823){break a}g=f<<2;if(g){h=a+12|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break a}e=d-g|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break b}}if(!c){return 1}i=f>>>0<=1?1:f;c=0;while(1){g=N[b+4>>2];e=((c<<2)+a|0)+12|0;if(g>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}h=N[b+12>>2];f=h-4|0;N[b+12>>2]=f;if((f|0)<=0){break a}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f:{if(!f){break f}if(f&128){break a}f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0;g:{if(f>>>0>>0|d>>>0>>0|d-f>>>0<12){break g}g=h-16|0;N[b+12>>2]=g;if((g|0)<=0){break g}g=f+4|0;if(g>>>0>d>>>0|d-g>>>0<8){break g}h=h-24|0;N[b+12>>2]=h;if((h|0)<=0){break g}g=O[g|0]|O[g+1|0]<<8;if(!g){break f}f=f+12|0;if(f>>>0>d>>>0){break g}f=d-f|0;d=((g<<8|g>>>8)&65535)<<4;if(f>>>0>>0){break g}d=h-d|0;N[b+12>>2]=d;if((d|0)>0){break f}}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}d=1;c=c+1|0;if((i|0)!=(c|0)){continue}break}break b}if(i>>>0<16){break a}d=c-20|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=c-24|0;N[b+12>>2]=d;if(h&128|(d|0)<=0){break a}j=a+256|0;h:{c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(!c){break h}if(e>>>0>>0|f>>>0>j>>>0){break a}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>e-j>>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break h}break a}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break a}N[b+12>>2]=d-4;if((d|0)<5){break a}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break a}a=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<28){break a}c=d-32|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+24|0;if(c>>>0>e>>>0|e-c>>>0<2){break a}c=O[a+24|0]|O[a+25|0]<<8;g=d-34|0;N[b+12>>2]=g;if((g|0)<=0){break a}g=a+((c<<8|c>>>8)&65535)|0;if(g>>>0>>0|e>>>0>>0|e-g>>>0<2){break a}a=d-36|0;N[b+12>>2]=a;if((a|0)<=0){break a}c=g+2|0;if(c>>>0>e>>>0){break a}d=0;h=e-c|0;c=O[g|0]|O[g+1|0]<<8;p=(c<<8|c>>>8)&65535;c=(p<<3)+8|0;if(h>>>0>>0){break b}a=a-c|0;N[b+12>>2]=a;if((a|0)<=0){break a}while(1){h=g+(o<<3)|0;c=h+2|0;if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<8){break a}d=a-8|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=0;k=0;if((O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))==1953392243){c=O[h+6|0]|O[h+7|0]<<8;k=((c<<8|c>>>8)&65535)+1|0}c=h+8|0;if(c>>>0>e>>>0|e-c>>>0<2){break b}a=a-10|0;N[b+12>>2]=a;if((a|0)<=0){break b}if(k){c=O[c|0]|O[c+1|0]<<8;l=g+((c<<8|c>>>8)&65535)|0;if(f>>>0>l>>>0|e>>>0>>0){break b}c=T(k,12);if(c>>>0>e-l>>>0){break b}a=a-c|0;N[b+12>>2]=a;m=0;if((a|0)<=0){break b}while(1){h=T(m,12)+l|0;if(h>>>0>>0|e>>>0>>0|e-h>>>0<12){break b}c=a-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}n=h+5|0;if(e>>>0>>0|e-n>>>0<3){break b}c=a-15|0;N[b+12>>2]=c;if((c|0)<=0){break b}i=j+(O[h+7|0]|(O[h+6|0]<<8|O[n|0]<<16))|0;if(i>>>0>>0|e>>>0>>0|e-i>>>0<4){break b}c=a-19|0;N[b+12>>2]=c;if((c|0)<=0){break b}a=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);if(a){i=i+4|0;if(i>>>0>e>>>0){break b}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0>e-i>>>0){break b}c=c-a|0;N[b+12>>2]=c;if((c|0)<=0){break b}}i=j+(O[h+7|0]|(O[h+6|0]<<8|O[n|0]<<16))|0;a=i+4|0;if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<12){break b}N[b+12>>2]=c-12;if((c|0)<13){break b}h=i+8|0;if(h>>>0>e>>>0|e-h>>>0<8){break b}a=c-20|0;N[b+12>>2]=a;if((c|0)<21){break b}c=O[h|0]|O[h+1|0]<<8;if(c){h=i+16|0;if(h>>>0>e>>>0){break b}c=((c<<8|c>>>8)&65535)<<4;if(c>>>0>e-h>>>0){break b}a=a-c|0;N[b+12>>2]=a;if((a|0)<=0){break b}}m=m+1|0;if((m|0)!=(k|0)){continue}break}}d=1;c=(o|0)!=(p|0);o=o+1|0;if(c){continue}break}}return d}return 0}function iE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;l=N[c+80>>2];h=1;a=0;b=0;m=N[c+68>>2];if(!m){break b}d=0;break a}ba(22778,14165,169,12138);B()}d=1}while(1){c:{d:{e:{if(!d){a=O[j+264560|0]==2?b:a;e=j<<1;f=M[e+264144>>1]+262144|0;d=L[j+264256|0];j=O[(l+T(b,20)|0)+18|0];g=O[e+262032|0];if(j>>>0>=g>>>0){d=j>>>0>O[e+262033|0]?d:j-g|0}d=L[d+f|0];break e}if(!j){break d}b=m;d=M[(j<<1)+264448>>1]-1|0}j=L[d+264320|0];e=d&31;f:{if(((d&63)>>>0>=32?268337151>>>e|0:((1<>>e)&1){break f}g:{switch(L[d+264384|0]-3|0){case 3:d=b+1|0;h:{if(d>>>0<=a>>>0){break h}g=l+3|0;f=h<<4;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break h}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 1:d=b+1|0;i:{if(d>>>0<=a>>>0){break i}g=l+3|0;f=h<<4|2;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break i}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 5:d=b+1|0;j:{if(d>>>0<=a>>>0){break j}g=l+3|0;f=h<<4|1;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break j}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;d=h+1|0;h=(d|0)==16?1:d;break f;case 0:d=b+1|0;k:{if(d>>>0<=a>>>0){break k}g=l+3|0;f=h<<4|2;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break k}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 2:f=b-1|0;l:{if(a>>>0>=b>>>0){break l}i=l+3|0;g=h<<4;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break l}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;b=f;break f;case 4:f=b-1|0;m:{if(a>>>0>=b>>>0){break m}i=l+3|0;g=h<<4|1;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break m}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;b=f;break f;case 6:break g;default:break f}}f=b-1|0;n:{if(a>>>0>=b>>>0){break n}i=l+3|0;g=h<<4|2;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break n}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;b=f}a=O[j+264624|0]!=1?a:0;b=b+1|0;if((m|0)!=(b|0)){break c}d=1;continue}f=N[c+68>>2];if(f){a=f-1|0;g=N[c+80>>2];l=g+3|0;b=0;d=O[g+15|0];while(1){o:{if((a|0)==(b|0)){b=f;break o}b=b+1|0;if((d|0)==O[(l+T(b,20)|0)+12|0]){continue}}break}a=0;while(1){m=b;d=N[c+68>>2];i=b>>>0>d>>>0?d:b;k=i-a|0;p:{if(k>>>0<2){break p}d=N[c+144>>2]|32;N[c+144>>2]=d;if(a>>>0>=i>>>0){break p}b=-1;j=a;p=i+(a^-1)|0;if(p>>>0>=3){o=k&-4;e=0;while(1){h=g+T(j,20)|0;n=N[h+8>>2];b=b>>>0>>0?b:n;n=N[h+28>>2];b=b>>>0>>0?b:n;n=N[h+48>>2];b=b>>>0>>0?b:n;h=N[h+68>>2];b=b>>>0>>0?b:h;j=j+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}h=0;e=k&3;if(e){while(1){o=N[(g+T(j,20)|0)+8>>2];b=b>>>0>>0?b:o;j=j+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){e=g+T(a,20)|0;if(N[e+8>>2]!=(b|0)){N[e+4>>2]=N[e+4>>2]|3}a=a+1|0}if(!p){break p}while(1){e=g+T(a,20)|0;if(N[e+8>>2]!=(b|0)){d=d|32;N[c+144>>2]=d;N[e+4>>2]=N[e+4>>2]|3}e=g+T(a+1|0,20)|0;if(N[e+8>>2]!=(b|0)){d=d|32;N[c+144>>2]=d;N[e+4>>2]=N[e+4>>2]|3}a=a+2|0;if((i|0)!=(a|0)){continue}break}}a=m+1|0;a=a>>>0>>0?f:a;d=a-1|0;e=O[(l+T(m,20)|0)+12|0];b=m;while(1){q:{if((b|0)==(d|0)){b=a;break q}b=b+1|0;if((e|0)==O[(l+T(b,20)|0)+12|0]){continue}}break}a=m;if(f>>>0>a>>>0){continue}break}}return 0}d=0;continue}}function Uk(a,b){var c=0,d=0,e=0,f=0,g=0,h=U(0),i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=La-48|0;La=d;j=N[b+96>>2];g=275552;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[N[j+80>>2]+T(N[j+64>>2],20)>>2]);i=O[a+4|0]|O[a+5|0]<<8;g=c>>>0<((i<<8|i>>>8)&65535)>>>0?((c<<2)+a|0)+6|0:g;c=0;a:{if(!(O[g|0]|O[g+1|0]<<8)){break a}c=N[j+64>>2];N[b+36>>2]=1;N[b+4>>2]=c;i=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[i+68>>2];L[b+23|0]=O[b+22|0]?(c|0)==N[i+64>>2]?O[(N[i+80>>2]+T(c,20)|0)+15|0]:0:0;i=b+4|0;if(!he(i,d+44|0)){c=0;if(!(O[j+16|0]&64)){break a}wb(j,2,N[d+44>>2],N[j+64>>2]+1|0,0,1);c=0;break a}k=275552;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[N[j+80>>2]+T(N[i>>2],20)>>2]);l=O[a+4|0]|O[a+5|0]<<8;k=c>>>0<((l<<8|l>>>8)&65535)>>>0?((c<<2)+a|0)+6|0:k;if(!(O[k+2|0]|O[k+3|0]<<8)){c=0;if(!(O[j+16|0]&64)){break a}wb(j,2,N[i>>2],N[j+64>>2]+1|0,0,1);c=0;break a}l=N[j+64>>2];i=N[b+4>>2];c=N[b+96>>2];if(N[c+156>>2]){f=N[b+88>>2];N[d+20>>2]=l;N[d+16>>2]=i;ib(c,f,17289,d+16|0)}c=N[j+68>>2];f=l+1|0;p=c>>>0>>0?c:f;q=p-i|0;b:{if(q>>>0<2){break b}n=N[j+144>>2]|32;N[j+144>>2]=n;if(i>>>0>=p>>>0){break b}o=N[j+80>>2];e=-1;c=i;s=(c^-1)+p|0;if(s>>>0>=3){r=q&-4;while(1){f=T(c,20)+o|0;m=N[f+8>>2];e=e>>>0>>0?e:m;m=N[f+28>>2];e=e>>>0>>0?e:m;m=N[f+48>>2];e=e>>>0>>0?e:m;f=N[f+68>>2];e=e>>>0>>0?e:f;c=c+4|0;t=t+4|0;if((r|0)!=(t|0)){continue}break}}r=q&3;if(r){f=0;while(1){m=N[(T(c,20)+o|0)+8>>2];e=e>>>0>>0?e:m;c=c+1|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}c=i;if(q&1){c=T(i,20)+o|0;if(N[c+8>>2]!=(e|0)){N[c+4>>2]=N[c+4>>2]|3}c=i+1|0}if(!s){break b}while(1){f=T(c,20)+o|0;if(N[f+8>>2]!=(e|0)){n=n|32;N[j+144>>2]=n;N[f+4>>2]=N[f+4>>2]|3}f=T(c+1|0,20)+o|0;if(N[f+8>>2]!=(e|0)){n=n|32;N[j+144>>2]=n;N[f+4>>2]=N[f+4>>2]|3}c=c+2|0;if((p|0)!=(c|0)){continue}break}}c=O[k+2|0]|O[k+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}f=N[N[j+80>>2]+T(i,20)>>2];N[d+32>>2]=0;N[d+28>>2]=0;c:{d:{e:{f:{e=O[c|0]|O[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 2:break d;case 1:break e;case 0:break f;default:break c}}f=N[b+88>>2];e=O[c+2|0]|O[c+3|0]<<8;R[d+32>>2]=R[f+44>>2]*U((e<<8|e>>>8)<<16>>16);c=O[c+4|0]|O[c+5|0]<<8;R[d+28>>2]=R[f+48>>2]*U((c<<8|c>>>8)<<16>>16);break c}Jf(c,N[b+88>>2],f,d+32|0,d+28|0);break c}If(c,b,d+32|0,d+28|0)}c=O[g|0]|O[g+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}c=N[N[j+80>>2]+T(l,20)>>2];N[d+40>>2]=0;N[d+36>>2]=0;g:{h:{i:{j:{g=O[a|0]|O[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break g}}c=N[b+88>>2];g=O[a+2|0]|O[a+3|0]<<8;R[d+40>>2]=R[c+44>>2]*U((g<<8|g>>>8)<<16>>16);a=O[a+4|0]|O[a+5|0]<<8;R[d+36>>2]=R[c+48>>2]*U((a<<8|a>>>8)<<16>>16);break g}Jf(a,N[b+88>>2],c,d+40|0,d+36|0);break g}If(a,b,d+40|0,d+36|0)}e=N[j+88>>2];k:{l:{m:{n:{o:{k=N[b+128>>2];switch(k-4|0){case 3:break l;case 2:break m;case 1:break n;case 0:break o;default:break k}}c=e+T(i,20)|0;h=U(U(Z(U(R[d+32>>2]+U(.5))))+U(N[c+8>>2]));p:{if(U(V(h))>2]=a;a=e+T(l,20)|0;g=N[a+8>>2];h=U(U(Z(U(R[d+40>>2]+U(.5))))+U(g|0));q:{if(U(V(h))>2]=g-c;N[a>>2]=N[a>>2]-c;break k}a=e+T(i,20)|0;g=N[a+8>>2];h=U(U(Z(U(R[d+32>>2]+U(.5))))+U(g|0));r:{if(U(V(h))>2]=g-c;N[a>>2]=N[a>>2]-c;a=e+T(l,20)|0;h=U(U(Z(U(R[d+40>>2]+U(.5))))+U(N[a+8>>2]));if(U(V(h))>2]=~~h;break k}N[a>>2]=-2147483648;break k}c=e+T(i,20)|0;h=U(U(Z(U(R[d+28>>2]+U(.5))))+U(N[c+12>>2]));s:{if(U(V(h))>2]=a;a=e+T(l,20)|0;g=N[a+12>>2];h=U(U(Z(U(R[d+36>>2]+U(.5))))+U(g|0));t:{if(U(V(h))>2]=g-c;N[a+4>>2]=N[a+4>>2]-c;break k}a=e+T(i,20)|0;g=N[a+12>>2];h=U(U(Z(U(R[d+28>>2]+U(.5))))+U(g|0));u:{if(U(V(h))>2]=g-c;N[a+4>>2]=N[a+4>>2]-c;c=e+T(l,20)|0;h=U(Z(U(R[d+36>>2]+U(.5))));v:{if(U(V(h))>2]=a}a=O[b+140|0];h=U(R[d+36>>2]-R[d+28>>2]);w:{if(U(V(h))>2]-R[d+32>>2]);x:{if(U(V(h))>1]=a-c;L[k+18|0]=2;N[j+144>>2]=N[j+144>>2]|8;z:{if((N[b+128>>2]&-2)==4){N[k+12>>2]=g;break z}N[k+8>>2]=f}c=e+T(a,20)|0;if(M[c+16>>1]==(0-M[k+16>>1]|0)){M[c+16>>1]=0;N[((N[b+128>>2]&-2)==4?(e+T(a,20)|0)+12|0:(e+T(a,20)|0)+8|0)>>2]=0}a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[d+4>>2]=l;N[d>>2]=i;ib(a,b,17334,d)}N[j+64>>2]=N[j+64>>2]+1;c=1}La=d+48|0;return c}function RB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=La-256|0;La=e;a:{if(!a){a=6;break a}a=19;c=N[b+8>>2];if(!(c&1)){break a}a=20;i=N[b+4>>2];if(!i){break a}f=M[i+2>>1];if(!f){a=0;break a}g=M[i>>1];if((g|0)<=0){a=0;break a}h=N[i+12>>2];if(!h|!N[i+4>>2]|(f|0)!=(M[(h+(g<<1)|0)-2>>1]+1|0)){break a}f=N[b>>2];N[e+224>>2]=N[i+16>>2];a=N[i+12>>2];N[e+216>>2]=N[i+8>>2];N[e+220>>2]=a;a=N[i+4>>2];N[e+208>>2]=N[i>>2];N[e+212>>2]=a;b:{if(c&2){a=N[b+12>>2];if(!a){a=0;break a}N[e+236>>2]=a;N[e+240>>2]=N[b+28>>2];a=N[b+32>>2];N[e+156>>2]=a;i=N[b+36>>2];N[e+164>>2]=i;h=N[b+40>>2];N[e+160>>2]=h;b=N[b+44>>2];break b}if(!f){a=6;break a}h=N[f+4>>2];if(!h){a=0;break a}b=N[f>>2];if(!b){a=0;break a}a=6;c=N[f+12>>2];if(!c){break a}a=N[f+8>>2];N[e+232>>2]=a;N[e+236>>2]=0;N[e+240>>2]=0;i=0;N[e+164>>2]=0;N[e+156>>2]=0;N[e+160>>2]=h;N[e+228>>2]=c+((a|0)>=0?T(a,b-1|0):0);a=0}N[e+168>>2]=b;if((a|0)>=(h|0)){a=0;break a}a=0;if((b|0)<=(i|0)){break a}i=La-16608|0;La=i;p=N[e+168>>2];b=N[e+164>>2];n=p-b|0;if(n>>>0>=129){a=n+127>>>7|0;n=((a+n|0)-1>>>0)/(a>>>0)|0}N[e+184>>2]=i+16512;a=(n<<2)+15|0;N[e+196>>2]=1024-(a>>>4|0);c=a&-16;a=i+128|0;l=c+a|0;N[e+192>>2]=l;N[e+188>>2]=a;N[l>>2]=2147483647;N[l+4>>2]=0;N[l+8>>2]=0;N[l+12>>2]=0;c:{if((b|0)>=(p|0)){break c}while(1){a=b;N[e+164>>2]=a;b=a+n|0;d=(b|0)<(p|0)?b:p;N[e+168>>2]=d;N[i>>2]=d;N[i+4>>2]=a;a=i;while(1){f=N[a>>2];h=N[a+4>>2];g=f-h|0;d:{if((g|0)<=0){break d}c=0;d=0;if(f+(h^-1)>>>0>=3){j=g&-4;while(1){f=d<<2;N[f+N[e+188>>2]>>2]=l;N[N[e+188>>2]+(f|4)>>2]=l;N[N[e+188>>2]+(f|8)>>2]=l;N[N[e+188>>2]+(f|12)>>2]=l;d=d+4|0;if((j|0)!=(d|0)){continue}break}}f=g&3;if(!f){break d}while(1){N[N[e+188>>2]+(d<<2)>>2]=l;d=d+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}N[e+176>>2]=l;N[e+164>>2]=h;N[e+180>>2]=N[e+192>>2]+16;N[e+168>>2]=N[a>>2];N[e+172>>2]=g;c=0;d=kb(40);N[d>>2]=0;d=Lh(e,1,d,4);k=Ma;m=e+208|0;e:{while(1){if(c){f=98;break e}N[147441]=0;f=va(342,m|0,293956,e|0)|0;c=N[147441];N[147441]=0;h=-1;f:{g:{if(!c){break g}j=N[147442];if(!j){break g}h=Kh(N[c>>2],d,k);if(!h){break f}Ma=j}c=Ma;if((h|0)==1){continue}break e}break}_a(d);pe(c,j);B()}_a(d);d=f;h:{if((d|0)!=98){if(d){break c}m=N[e+224>>2]&2;o=m?256:-2147483648;i:{if(N[e+236>>2]){j=N[e+164>>2];if((j|0)>=N[e+168>>2]){break i}while(1){d=N[N[e+188>>2]+(j-N[e+164>>2]<<2)>>2];h=N[d>>2];j:{if((h|0)==2147483647){break j}c=N[e+156>>2];f=0;g=0;while(1){k:{if(!f|(c|0)>=(h|0)){break k}k=(i+16512|0)+T(g,6)|0;M[k+2>>1]=h-c;M[k>>1]=c;c=f>>9;c=(c&o?-1:0)^c;L[k+4|0]=(c|0)>255?m?c:-1:c;g=g+1|0;if((g|0)!=16){break k}Qa[N[e+236>>2]](j,16,i+16512|0,N[e+240>>2]);g=0}f=(N[d+4>>2]<<9)+f|0;h=N[d+8>>2];l:{if((f|0)==(h|0)){break l}k=N[d>>2];if((k|0)>2]){break l}c=(i+16512|0)+T(g,6)|0;M[c+2>>1]=1;M[c>>1]=k;k=c;c=f-h>>9;c=(c&o?-1:0)^c;L[k+4|0]=(c|0)>255?m?c:-1:c;g=g+1|0;if((g|0)!=16){break l}Qa[N[e+236>>2]](j,16,i+16512|0,N[e+240>>2]);g=0}c=N[d>>2]+1|0;d=N[d+12>>2];h=N[d>>2];if((h|0)!=2147483647){continue}break}if(f){d=(i+16512|0)+T(g,6)|0;M[d>>1]=c;f=f>>9;f=(f&o?-1:0)^f;L[d+4|0]=(f|0)>255?m?f:-1:f;M[d+2>>1]=N[e+160>>2]-c;g=g+1|0}if(!g){break j}Qa[N[e+236>>2]](j,g,i+16512|0,N[e+240>>2])}j=j+1|0;if((j|0)>2]){continue}break}break i}j=N[e+164>>2];if((j|0)>=N[e+168>>2]){break i}while(1){d=N[N[e+188>>2]+(j-N[e+164>>2]<<2)>>2];h=N[d>>2];m:{if((h|0)==2147483647){break m}q=N[e+228>>2]-T(N[e+232>>2],j)|0;g=N[e+156>>2];f=0;while(1){n:{if(!f|(g|0)>=(h|0)){break n}c=f>>9;c=(c&o?-1:0)^c;k=(c|0)>255?m?c:255:c;c=g+q|0;o:{p:{q:{r:{s:{t:{u:{v:{g=h-g|0;switch(g|0){case 0:break n;case 2:break p;case 3:break q;case 4:break r;case 5:break s;case 6:break t;case 7:break u;case 1:break v;default:break o}}L[c|0]=k;break n}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;L[c+1|0]=k;break n}C(c,k,g)}f=(N[d+4>>2]<<9)+f|0;c=N[d+8>>2];w:{if((f|0)==(c|0)){break w}g=N[d>>2];if((g|0)>2]){break w}c=f-c>>9;c=(c&o?-1:0)^c;L[g+q|0]=(c|0)>255?m?c:-1:c}g=N[d>>2]+1|0;d=N[d+12>>2];h=N[d>>2];if((h|0)!=2147483647){continue}break}if(!f){break m}d=f>>9;d=(d&o?-1:0)^d;f=(d|0)>255?m?d:255:d;d=g+q|0;x:{y:{z:{A:{B:{C:{D:{E:{c=N[e+160>>2]-g|0;switch(c|0){case 0:break m;case 2:break y;case 3:break z;case 4:break A;case 5:break B;case 6:break C;case 7:break D;case 1:break E;default:break x}}L[d|0]=f;break m}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;L[d+1|0]=f;break m}C(d,f,c)}j=j+1|0;if((j|0)>2]){continue}break}}a=a-4|0;break h}if(g>>>0<2){d=98;break c}d=N[a+4>>2];N[a+8>>2]=d;N[a+4>>2]=d+(g>>1);a=a+4|0}if(i>>>0<=a>>>0){continue}break}d=0;if((b|0)<(p|0)){continue}break}}La=i+16608|0;a=d}La=e+256|0;return a|0}function wo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=La-144|0;La=e;N[e+120>>2]=0;N[e+104>>2]=0;N[e+108>>2]=0;l=-1;a:{if(N[b+112>>2]==10){break a}f=N[a+36>>2];g=N[b+12>>2];j=N[b+8>>2];b:{d=N[b>>2];c:{if(!(!d|!O[d|0])){h=wi(a,d,0,j,g,e+116|0,e+120|0,e+112|0,e+104|0,c);if(h){break c}}d:{h=N[a+12>>2];if(!h){break d}h=wi(a,h,0,j,g,e+116|0,e+120|0,e+112|0,e+104|0,c);if(!h){break d}c=N[a>>2];N[e+96>>2]=N[e+116>>2];f=N[e+120>>2];N[e+100>>2]=f?f:23531;N[e+80>>2]=d;N[e+84>>2]=j;N[e+88>>2]=g;N[e+92>>2]=h;mb(c,2,11604,e+80|0);break c}e:{if(!f){break e}h=N[f+32>>2];if(!h){break e}i=N[f+40>>2];k=N[a>>2];f:{if(d){f=d;if(O[d|0]){break f}}f=13519}f=Qa[h|0](i,k,f,c)|0;if(!f){break e}h=wi(a,f,1,j,g,e+116|0,e+120|0,e+112|0,e+104|0,c);_a(f);if(h){break c}}h=N[a+16>>2];if(!h){break b}c=N[a+20>>2];N[e+116>>2]=c;f=N[a>>2];N[e- -64>>2]=c;c=N[e+120>>2];N[e+68>>2]=c?c:23531;N[e+48>>2]=d;N[e+52>>2]=j;N[e+56>>2]=g;N[e+60>>2]=h;mb(f,2,11670,e+48|0)}a=N[a>>2];c=N[e+116>>2];N[e+32>>2]=c;n=N[e+120>>2];N[e+36>>2]=n?n:23531;N[e+16>>2]=d;N[e+20>>2]=j;N[e+24>>2]=g;N[e+28>>2]=h;mb(a,4,11729,e+16|0);d=N[b+112>>2];if((d|0)>0){a=0;f=N[e+112>>2];while(1){if((f|0)==N[((a<<2)+b|0)+28>>2]){mb(N[b+20>>2],4,22153,0);l=a;break a}a=a+1|0;if((d|0)!=(a|0)){continue}break}}j=N[b+24>>2];o=N[b+20>>2];g:{if(N[e+104>>2]){a=yo(o,j,h,N[e+104>>2],N[e+108>>2],c);break g}a=c;f=La-80|0;La=f;h:{i:{j:{if(h){N[f+64>>2]=0;N[f+60>>2]=h;N[f+48>>2]=4;if(!Td(j,f+48|0,a,f+44|0,1)){break j}}N[f+4>>2]=a;N[f>>2]=h;mb(o,2,17615,f);break i}c=N[f+44>>2];if((a|0)>=0){break h}k:{l:{m:{if(N[c>>2]<=0){break m}a=N[c+96>>2];n:{if(!a){break n}g=N[c+128>>2];d=N[g+64>>2];N[g+64>>2]=d-1;if((d|0)>1){break n}d=N[a+16>>2];if(!d){break n}k=a+16|0;g=N[a+8>>2];while(1){if(N[d+8>>2]!=(c|0)){d=N[d+4>>2];if(d){continue}break n}break}i=N[d>>2];m=i?i+4|0:k;k=N[d+4>>2];N[m>>2]=k;N[(k?k:a+20|0)>>2]=i;Qa[N[g+8>>2]](g,d);ic(g,c,a)}a=0;N[f+64>>2]=0;N[f+60>>2]=h;N[f+48>>2]=4;c=Td(j,f+48|0,0,f+44|0,1);if(!n){break l}if(c){break k}c=N[f+44>>2];if(N[c>>2]==1){break h}o:{if(!c){break o}p:{q:{g=N[c+128>>2];d=N[g+28>>2];switch(d+2|0){case 0:break o;case 2:break q;default:break p}}d=N[c+96>>2];i=N[N[d>>2]+32>>2];r:{if(!i){d=0;break r}d=Qa[i|0](d,15866)|0;g=N[c+128>>2]}N[g+28>>2]=d?d:-2}if(!d){break o}d=N[d>>2];if(!d){break o}a=Qa[d|0](c)|0}s:{if(!a){c=N[f+44>>2];break s}c=N[f+44>>2];if(!cb(a,n)){break h}}if(N[c>>2]<2){break m}a=1;while(1){g=N[c+96>>2];t:{if(!g){break t}i=N[c+128>>2];d=N[i+64>>2];N[i+64>>2]=d-1;if((d|0)>1){break t}d=N[g+16>>2];if(!d){break t}m=g+16|0;i=N[g+8>>2];while(1){if(N[d+8>>2]!=(c|0)){d=N[d+4>>2];if(d){continue}break t}break}k=N[d>>2];q=k?k+4|0:m;m=N[d+4>>2];N[q>>2]=m;N[(m?m:g+20|0)>>2]=k;Qa[N[i+8>>2]](i,d);ic(i,c,g)}N[f+64>>2]=0;N[f+60>>2]=h;N[f+48>>2]=4;if(Td(j,f+48|0,a,f+44|0,1)){break k}u:{v:{c=N[f+44>>2];w:{if(!c){break w}x:{y:{g=N[c+128>>2];d=N[g+28>>2];switch(d+2|0){case 0:break w;case 2:break y;default:break x}}d=N[c+96>>2];i=N[N[d>>2]+32>>2];z:{if(!i){d=0;break z}d=Qa[i|0](d,15866)|0;g=N[c+128>>2]}N[g+28>>2]=d?d:-2}if(!d){break w}d=N[d>>2];if(!d){break w}d=Qa[d|0](c)|0;if(d){break v}}c=N[f+44>>2];break u}c=N[f+44>>2];if(!cb(d,n)){break h}}a=a+1|0;if((a|0)>2]){continue}break}}a=N[c+96>>2];A:{if(!a){break A}g=N[c+128>>2];d=N[g+64>>2];N[g+64>>2]=d-1;if((d|0)>1){break A}d=N[a+16>>2];if(!d){break A}i=a+16|0;g=N[a+8>>2];while(1){if(N[d+8>>2]!=(c|0)){d=N[d+4>>2];if(d){continue}break A}break}j=N[d>>2];k=j?j+4|0:i;i=N[d+4>>2];N[k>>2]=i;N[(i?i:a+20|0)>>2]=j;Qa[N[g+8>>2]](g,d);ic(g,c,a)}N[f+36>>2]=h;N[f+32>>2]=n;mb(o,2,24647,f+32|0);break i}if(c){break k}c=N[f+44>>2];if(N[c>>2]==1){break h}zn(c);break i}N[f+20>>2]=a;N[f+16>>2]=h;mb(o,2,17615,f+16|0)}c=0}La=f+80|0;a=c}if(!a){break a}zo(N[b+20>>2],a);c=0;l=1;B:{if(!(O[a+8|0]&8)){break B}d=N[a+96>>2];f=N[N[d>>2]+32>>2];if(!f){break B}d=Qa[f|0](d,16067)|0;if(!d){break B}d=Qa[N[d+4>>2]](a,2)|0;if(!d){break B}l=0;f=M[d+76>>1];c=M[d+78>>1];if((f|0)!=(0-c|0)){M[a+70>>1]=f;M[a+74>>1]=c+f;M[a+72>>1]=0-c}c=d}if(!(P[a+74>>1]?P[a+70>>1]!=P[a+72>>1]:0)){C:{D:{if(l){break D}d=P[c+70>>1];c=P[c+72>>1];if((d|0)==(c|0)){break D}M[a+72>>1]=c;M[a+70>>1]=d;c=d-c|0;break C}c=N[a- -64>>2];M[a+70>>1]=c;d=N[a+56>>2];M[a+72>>1]=d;c=c-d|0}M[a+74>>1]=c}c=N[b+112>>2];d=(c<<2)+b|0;N[d+68>>2]=a;l=N[e+112>>2];N[b+112>>2]=c+1;N[d+28>>2]=l;p=S[b+120>>3];N[e+124>>2]=1;N[e+128>>2]=0;N[e+136>>2]=0;N[e+140>>2]=0;p=XE(p*64);E:{if(V(p)<2147483648){c=~~p;break E}c=-2147483648}N[e+132>>2]=c;eg(a,e+124|0);l=N[b+112>>2]-1|0;break a}a=N[a>>2];N[e+12>>2]=g;N[e+8>>2]=j;N[e+4>>2]=d;N[e>>2]=c;mb(a,2,23689,e)}La=e+144|0;return l}function ox(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;f=La-1552|0;La=f;m=N[a+4>>2];L[f+35|0]=0;i=N[N[m+492>>2]+12>>2];a:{if(!(N[N[m+128>>2]+52>>2]|Q[m+16>>2]>c>>>0)){g=6;break a}d=d&1024?d|3:d;b:{if(!b){e=65536;g=65536;break b}e=N[b+20>>2];g=N[b+16>>2]}N[a+168>>2]=e;N[a+164>>2]=g;N[a+108>>2]=0;N[a+72>>2]=1869968492;h=d&1;L[a+161|0]=!h;g=!(d&3);L[a+160|0]=g;g=Qa[N[i>>2]](f+36|0,m,b,a,N[m+424>>2],N[m+532>>2],g,d>>>16&15,147)|0;if(g){break a}e=d&1024;L[f+105|0]=e>>>10;N[f+1400>>2]=N[m+404>>2];N[f+1404>>2]=N[m+408>>2];N[f+1408>>2]=N[m+412>>2];N[f+1412>>2]=N[m+416>>2];N[f+1532>>2]=N[m+548>>2];N[f+1536>>2]=N[m+544>>2];g=_e(f+36|0,c,f+8|0,f+35|0);if(!g){n=O[a+160|0];c=f+1424|0;g=N[c+4>>2];N[f+24>>2]=N[c>>2];N[f+28>>2]=g;c=N[f+1420>>2];N[f+16>>2]=N[f+1416>>2];N[f+20>>2]=c;c=N[f+1436>>2];g=N[f+1432>>2];Qa[N[i+4>>2]](f+36|0);i=N[a+124>>2]&1;N[a+124>>2]=i|4;c:{if(e){b=N[f+68>>2];N[a+32>>2]=((b>>31)+b|0)+32768>>16;b=N[f+76>>2];N[a+40>>2]=((b>>31)+b|0)+32768>>16;d=N[f+24>>2];e=N[f+28>>2];i=N[f+16>>2];j=N[f+20>>2];b=N[a+156>>2];N[b+28>>2]=g;N[b+32>>2]=c;L[b+8|0]=1;N[b+20>>2]=d;N[b+24>>2]=e;N[b+12>>2]=i;N[b+16>>2]=j;break c}e=N[f+76>>2];j=((e>>31)+e|0)+32768>>16;N[a+56>>2]=j;N[a+40>>2]=j;L[N[a+156>>2]+8|0]=0;p=d&16;if(p){d=N[m+476>>2]-N[m+468>>2]|0}else{d=N[f+80>>2];d=((d>>31)+d|0)+32768|0}N[a+72>>2]=1869968492;l=d>>16;N[a+60>>2]=l;N[a+52>>2]=l;if(!(!b|P[b+14>>1]>23)){N[a+124>>2]=i|260}d=N[f+16>>2];d:{if(!(N[f+20>>2]|((d|0)!=65536|N[f+28>>2]!=65536))){if(!N[f+24>>2]){break d}}b=N[a+112>>2];e:{if(!b){break e}e=M[a+110>>1];if((e|0)<=0){break e}d=(e<<3)+b|0;while(1){id(b,f+16|0);b=b+8|0;if(d>>>0>b>>>0){continue}break}j=N[a+40>>2];d=N[f+16>>2]}e=j>>31;e=(e^j)-e|0;b=d>>31;b=(b^d)-b|0;f:{if(e+(b>>>8|0)>>>0<=8190){k=T(b,e)+32768>>>16|0;break f}i=e&65535;k=T(i,b>>>16|0)+T(b,e>>>16|0)+(T(i,b&65535)+32768>>>16)|0}b=k;i=0-b|0;b=j>>31|1;j=(((d|0)<0?0-b|0:b)|0)<0?i:k;N[a+40>>2]=j;e=N[a+52>>2];d=e>>31;i=N[f+28>>2];b=i>>31;d=(d^e)-d|0;b=(b^i)-b|0;g:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break g}l=d&65535;d=T(l,b>>>16|0)+T(b,d>>>16|0)+(T(l,b&65535)+32768>>>16)|0}b=d;k=0-b|0;b=e>>31|1;l=(((i|0)<0?0-b|0:b)|0)<0?k:d;N[a+52>>2]=l}if(c|g){e=M[a+110>>1];h:{if((e|0)<=0){break h}b=N[a+112>>2];if(e>>>0>=4){i=e&-4;d=0;while(1){N[b>>2]=g+N[b>>2];N[b+4>>2]=c+N[b+4>>2];N[b+8>>2]=g+N[b+8>>2];N[b+16>>2]=g+N[b+16>>2];N[b+24>>2]=g+N[b+24>>2];N[b+12>>2]=c+N[b+12>>2];N[b+20>>2]=c+N[b+20>>2];N[b+28>>2]=c+N[b+28>>2];b=b+32|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}e=e&3;if(!e){break h}d=0;while(1){N[b>>2]=g+N[b>>2];N[b+4>>2]=c+N[b+4>>2];b=b+8|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}l=c+l|0;N[a+52>>2]=l;j=g+j|0;N[a+40>>2]=j}if(!(O[f+35|0]?0:h)){c=N[a+168>>2];g=N[a+164>>2];i:{if(N[f+108>>2]?n:0){break i}b=N[f+52>>2];d=M[b+2>>1];if((d|0)<=0){break i}d=d&65535;e=c>>31;e=(e^c)-e|0;q=e&65535;r=e>>>16|0;s=e>>>8|0;i=g>>31;i=(i^g)-i|0;t=i&65535;u=i>>>16|0;v=i>>>8|0;b=N[b+4>>2];while(1){n=N[b>>2];h=n>>31;h=(h^n)-h|0;j:{if(h+v>>>0<=8190){k=T(h,i)+32768>>>16|0;break j}k=h&65535;k=T(k,u)+T(i,h>>>16|0)+(T(k,t)+32768>>>16)|0}h=k;o=0-h|0;h=n>>31|1;N[b>>2]=(((g|0)<0?0-h|0:h)|0)<0?o:k;n=N[b+4>>2];h=n>>31;h=(h^n)-h|0;k:{if(h+s>>>0<=8190){k=T(e,h)+32768>>>16|0;break k}k=h&65535;k=T(k,r)+T(e,h>>>16|0)+(T(k,q)+32768>>>16)|0}h=k;o=0-h|0;h=n>>31|1;N[b+4>>2]=(((c|0)<0?0-h|0:h)|0)<0?o:k;b=b+8|0;h=d>>>0>1;d=d-1|0;if(h){continue}break}}d=j>>31;d=(d^j)-d|0;b=g>>31;b=(b^g)-b|0;l:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break l}e=d&65535;d=T(e,b>>>16|0)+T(b,d>>>16|0)+(T(e,b&65535)+32768>>>16)|0}b=d;h=0-b|0;b=j>>31|1;j=(((g|0)<0?0-b|0:b)|0)<0?h:d;N[a+40>>2]=j;d=l>>31;d=(d^l)-d|0;b=c>>31;b=(b^c)-b|0;m:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break m}g=d&65535;d=T(g,b>>>16|0)+T(b,d>>>16|0)+(T(g,b&65535)+32768>>>16)|0}b=d;g=0-b|0;b=l>>31|1;l=(((c|0)<0?0-b|0:b)|0)<0?g:d;N[a+52>>2]=l}b=M[a+110>>1];n:{if(!b){d=0;b=0;c=0;g=0;break n}e=N[a+112>>2];c=N[e+4>>2];g=N[e>>2];if((b|0)<2){d=c;b=g;break n}n=(b<<3)+e|0;i=e+8|0;b=g;d=c;while(1){h=N[e+12>>2];d=(d|0)<(h|0)?h:d;c=(c|0)>(h|0)?h:c;e=N[e+8>>2];b=(b|0)<(e|0)?e:b;g=(e|0)<(g|0)?e:g;e=i;i=e+8|0;if(n>>>0>i>>>0){continue}break}}N[a+36>>2]=d;N[a+32>>2]=g;e=d-c|0;N[a+28>>2]=e;N[a+24>>2]=b-g;if(!p){break c}b=(d|0)<0?(d|0)<(e|0)?e:d:0-c|0;c=l?l:(T(b,12)|0)/10|0;N[a+52>>2]=c;N[a+48>>2]=(c-b|0)/2;N[a+44>>2]=((j|0)/-2|0)+g}N[a+136>>2]=N[f+8>>2];N[a+140>>2]=N[f+12>>2];g=0;b=N[N[m+128>>2]+52>>2];if(!b){break a}Qa[N[N[b>>2]+4>>2]](N[b+4>>2],f+8|0);N[a+136>>2]=0;N[a+140>>2]=0;break a}Qa[N[i+4>>2]](f+36|0)}La=f+1552|0;return g|0}function mz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;C(b,0,72);n=N[a+24>>2];a:{if(!n){h=2147483647;g=-2147483648;j=-2147483648;l=2147483647;r=-2147483648;v=-2147483648;o=2147483647;s=2147483647;break a}m=N[a+28>>2];v=-2147483648;s=2147483647;o=2147483647;r=-2147483648;l=2147483647;h=2147483647;j=-2147483648;g=-2147483648;while(1){p=T(d,24);k=p+m|0;i=N[k>>2];if(i){u=m+p|0;e=N[i>>2]+N[u+8>>2]|0;l=(e|0)>(l|0)?l:e;e=e+N[i+8>>2]|0;j=(e|0)<(j|0)?j:e;e=N[i+4>>2]+N[u+12>>2]|0;h=(e|0)>(h|0)?h:e;e=e+N[i+12>>2]|0;g=(e|0)<(g|0)?g:e;t=t+1|0;e=k}i=N[k+4>>2];if(i){p=m+p|0;f=N[i>>2]+N[p+16>>2]|0;s=(f|0)>(s|0)?s:f;f=f+N[i+8>>2]|0;v=(f|0)<(v|0)?v:f;f=N[i+4>>2]+N[p+20>>2]|0;o=(f|0)>(o|0)?o:f;f=f+N[i+12>>2]|0;r=(f|0)<(r|0)?r:f;q=q+1|0;f=k}d=d+1|0;if((n|0)!=(d|0)){continue}break}}b:{c:{d:{e:{d=N[a+4>>2];k=(d|0)<4?d:(d|0)<8?4:5;f:{if(!(k|(t|0)!=1)){tg(c+872|0,b,N[e>>2]);N[b>>2]=N[b>>2]+N[e+8>>2];N[b+4>>2]=N[b+4>>2]+N[e+12>>2];break f}if(!t){break f}d=1<>2];i=0-d|0;m=k<<1;e=m+(j-l|0)|0;j=e>>>0>i>>>0?e:i&(d+e|0)-1;g=m+(g-h|0)|0;if(j>>>0>((d^2147483647)>>>0)/(((g|0)<=1?1:g)>>>0)>>>0){break f}i=d+T(g,j)|0;if(i>>>0>=-5-d>>>0){break f}i=db((d+i|0)+3|0,1);if(!i){break f}u=d;p=d-1|0;d=i+4|0;m=p&d;d=(m?u-m|0:0)+d|0;N[d-4>>2]=i;if(!d){break f}N[b+20>>2]=d;N[b+16>>2]=j;N[b+12>>2]=g;N[b+8>>2]=e;N[b+4>>2]=h-k;N[b>>2]=l-k;if(!n){break f}d=0;while(1){g=N[a+28>>2]+T(d,24)|0;e=N[g>>2];if(e){h=(N[e>>2]+N[g+8>>2]|0)-N[b>>2]|0;if((h|0)<0){break e}l=N[e+8>>2];if(N[b+8>>2]<(l+h|0)){break e}g=(N[e+4>>2]+N[g+12>>2]|0)-N[b+4>>2]|0;if((g|0)<0){break d}j=N[e+12>>2];if(N[b+12>>2]<(j+g|0)){break d}u=g;g=N[b+16>>2];Qa[N[c+896>>2]](h+(N[b+20>>2]+T(u,g)|0)|0,g,N[e+20>>2],N[e+16>>2],l,j);n=N[a+24>>2]}d=d+1|0;if(n>>>0>d>>>0){continue}break}}g:{if(!((q|0)!=1|k)){tg(c+872|0,b+24|0,N[f+4>>2]);N[b+24>>2]=N[b+24>>2]+N[f+16>>2];N[b+28>>2]=N[b+28>>2]+N[f+20>>2];break g}if(!q){break g}d=1<>2];f=0-d|0;g=k<<1;e=g+(v-s|0)|0;f=e>>>0>f>>>0?e:f&(d+e|0)-1;g=g+(r-o|0)|0;if(f>>>0>((d^2147483647)>>>0)/(((g|0)<=1?1:g)>>>0)>>>0){break g}h=d+T(f,g)|0;if(h>>>0>=-5-d>>>0){break g}h=db((d+h|0)+3|0,1);if(!h){break g}u=d;p=d-1|0;d=h+4|0;l=p&d;d=(l?u-l|0:0)+d|0;N[d-4>>2]=h;if(!d){break g}N[b+44>>2]=d;N[b+40>>2]=f;N[b+36>>2]=g;N[b+32>>2]=e;N[b+28>>2]=o-k;N[b+24>>2]=s-k;g=N[a+24>>2];if(!g){break g}k=0;while(1){e=N[a+28>>2]+T(k,24)|0;d=N[e+4>>2];if(d){f=(N[d>>2]+N[e+16>>2]|0)-N[b+24>>2]|0;if((f|0)<0){break c}g=N[d+8>>2];if(N[b+32>>2]<(g+f|0)){break c}e=(N[d+4>>2]+N[e+20>>2]|0)-N[b+28>>2]|0;if((e|0)<0){break b}h=N[d+12>>2];if(N[b+36>>2]<(h+e|0)){break b}u=e;e=N[b+40>>2];Qa[N[c+896>>2]](f+(N[b+44>>2]+T(u,e)|0)|0,e,N[d+20>>2],N[d+16>>2],g,h);g=N[a+24>>2]}k=k+1|0;if(k>>>0>>0){continue}break}}w=no(+N[a+8>>2]*.00390625)*32;w=w*w;x=no(+N[a+12>>2]*.00390625)*32;x=x*x;d=N[a>>2];if((d&3)!=2){to(c+872|0,b,N[a+4>>2],w,x)}k=c+872|0;h=b+24|0;to(k,h,N[a+4>>2],w,x);v=d&24;if(!v){vi(b,h)}h:{if(!(d&4)){break h}c=b+48|0;i:{if(d&2){tg(k,c,h);if((v|0)!=16){break i}vi(b,c);break i}if(d&1){d=N[h+4>>2];N[c>>2]=N[h>>2];N[c+4>>2]=d;d=N[h+20>>2];N[c+16>>2]=N[h+16>>2];N[c+20>>2]=d;d=N[h+12>>2];N[c+8>>2]=N[h+8>>2];N[c+12>>2]=d;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h+20>>2]=0;break i}tg(k,c,b)}d=N[a+16>>2];N[b+48>>2]=N[b+48>>2]+(d>>6);c=N[a+20>>2];N[b+52>>2]=N[b+52>>2]+(c>>6);l=N[b+68>>2];if(!l){break h}s=c&63;o=N[b- -64>>2];k=N[b+56>>2];j=d&63;c=N[b+60>>2];if(!(!j|(c|0)<=0|(k|0)<2)){e=k-1|0;m=k&1;g=0;t=(k|0)==2;while(1){r=T(g,o);d=k;if(!m){d=l+(e+r|0)|0;n=d-1|0;i=O[n|0];f=T(i,j)>>>6|0;L[n|0]=i-f;L[d|0]=f+O[d|0];d=e}if(!t){while(1){n=l+(d+r|0)|0;i=n-2|0;q=O[i|0];f=T(q,j)>>>6|0;L[i|0]=q-f;n=n-1|0;L[n|0]=f+O[n|0];f=d-2|0;n=l+(f+r|0)|0;q=n-1|0;p=O[q|0];i=T(p,j)>>>6|0;L[q|0]=p-i;L[n|0]=i+O[n|0];n=(d|0)>3;d=f;if(n){continue}break}}g=g+1|0;if((c|0)!=(g|0)){continue}break}}if(!s|(k|0)<=0|(c|0)<2){break h}r=c&1;e=c-1|0;n=T(e,o);g=0;i=(c|0)==2;while(1){d=c;if(!r){f=g+n|0;j=l+(f-o|0)|0;m=O[j|0];d=T(m,s)>>>6|0;L[j|0]=m-d;f=f+l|0;L[f|0]=d+O[f|0];d=e}if(!i){while(1){j=T(o,d-1|0)+g|0;m=l+(j-o|0)|0;t=O[m|0];f=T(t,s)>>>6|0;L[m|0]=t-f;j=j+l|0;L[j|0]=f+O[j|0];f=d-2|0;m=T(f,o)+g|0;t=l+(m-o|0)|0;q=O[t|0];j=T(q,s)>>>6|0;L[t|0]=q-j;m=l+m|0;L[m|0]=j+O[m|0];j=(d|0)>3;d=f;if(j){continue}break}}g=g+1|0;if((k|0)!=(g|0)){continue}break}}if((v|0)==8){vi(b,h)}return(((T(N[a+24>>2],24)+T(N[b+16>>2],N[b+12>>2])|0)+T(N[b+40>>2],N[b+36>>2])|0)+T(N[b- -64>>2],N[b+60>>2])|0)+104|0}ba(8285,18170,2727,9568);B()}ba(14429,18170,2728,9568);B()}ba(8285,18170,2752,9568);B()}ba(14429,18170,2753,9568);B()}function Ap(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;u=La-16|0;La=u;e=T(b,1348)+a|0;g=e;i=N[e+52>>2];a:{b:{if(i){e=N[e+44>>2];d=Yd(a,b);if(d){break a}if((e|0)<=0){break b}e=T(e,44)+i|0;while(1){d=N[i+36>>2];c=P[d>>1];f=O[i|0];L[i|0]=f&254;h=N[i+40>>2];c:{if((h|0)==(d|0)){break c}c=c&3;while(1){l=c;d=N[d+32>>2];c=P[d>>1]&3;if(!((l|c)&65535)){break c}if((d|0)!=(h|0)){continue}break}L[i|0]=f|1}i=i+44|0;if(e>>>0>i>>>0){continue}break}break b}d=Yd(a,b);if(d){break a}}s=N[a+2748>>2];j=N[s+40>>2]/256|0;e=N[g+52>>2];p=T(b,1348)+a|0;w=p+44|0;m=N[w>>2];n=e+T(m,44)|0;l=N[p+68>>2];o=(b?12:4)+a|0;k=N[o>>2];i=fb(192,k);if((m|0)>0){c=e;while(1){d=e;if((l|0)==L[c+1|0]){while(1){d:{if((c|0)==(d|0)|(l|0)!=(0-L[d+1|0]|0)){break d}f=M[d+2>>1]-M[c+2>>1]|0;if((f|0)<0){break d}g=M[c+8>>1];h=M[d+8>>1];r=(g|0)<(h|0)?g:h;g=M[c+6>>1];h=M[d+6>>1];g=r-((g|0)>(h|0)?g:h)|0;if((g|0)<(j|0)){break d}h=f<<3;k=N[c+28>>2];if(!((h|0)>=(T(k,9)|0)|(g|0)<=N[c+32>>2]&(h|0)>=(T(k,7)|0))){N[c+32>>2]=g;N[c+28>>2]=f;N[c+20>>2]=d}k=N[d+28>>2];if((h|0)>=(T(k,9)|0)|(g|0)<=N[d+32>>2]&(h|0)>=(T(k,7)|0)){break d}N[d+32>>2]=g;N[d+28>>2]=f;N[d+20>>2]=c}d=d+44|0;if(n>>>0>d>>>0){continue}break}}c=c+44|0;if(n>>>0>c>>>0){continue}break}c=e;while(1){h=N[c+20>>2];e:{if(!h|N[h+20>>2]!=(c|0)){break e}j=M[h+2>>1];k=M[c+2>>1];if((j|0)<=(k|0)){break e}q=N[c+28>>2];if((q|0)>=(i|0)){break e}v=q<<2;d=e;while(1){f:{g:{if((c|0)==(d|0)){break g}g=M[d+2>>1];if((g|0)>(k|0)){break g}l=N[d+20>>2];if(!l|N[l+20>>2]!=(d|0)){break g}f=M[l+2>>1];if((f|0)<(j|0)|(g|0)==(k|0)&(f|0)==(j|0)){break g}g=N[d+28>>2];if((g|0)<=(q|0)|(g|0)>=(v|0)){break g}f=e;if(N[c+32>>2]<(T(N[d+32>>2],3)|0)){break f}while(1){g=h;t=N[f+20>>2];h:{if((t|0)!=(d|0)){g=c;if((l|0)!=(t|0)){break h}}N[f+24>>2]=g;N[f+20>>2]=0}f=f+44|0;if(n>>>0>f>>>0){continue}break}}d=d+44|0;if(n>>>0>d>>>0){continue}break e}break}N[h+20>>2]=0;N[c+20>>2]=0}c=c+44|0;if(n>>>0>c>>>0){continue}break}d=e;while(1){c=N[d+20>>2];i:{if(!c|N[c+20>>2]==(d|0)){break i}N[d+20>>2]=0;g=N[c+28>>2];if((g|0)>=(i|0)&N[d+28>>2]>=g<<2){break i}N[d+24>>2]=N[c+20>>2]}d=d+44|0;if(n>>>0>d>>>0){continue}break}k=N[o>>2]}v=N[a>>2];N[p+56>>2]=0;g=N[(s+T(b,7676)|0)+248>>2];c=g>>31;d=k>>31;j=(d^k)-d|0;t=j>>>8|0;c=(c^g)-c|0;j:{if(t+c>>>0<=8190){f=T(c,j)+32768>>>16|0;break j}d=c&65535;f=T(d,j>>>16|0)+T(j,c>>>16|0)+(T(d,j&65535)+32768>>>16)|0}c=f;d=0;h=0-c|0;c=g>>31|1;if((((((k|0)<0?0-c|0:c)|0)<0?h:f)|0)>=17){g=fb(16,k)}if((m|0)<=0){break a}z=j&65535;A=j>>>16|0;B=(T(b,1348)+a|0)- -64|0;while(1){k:{l:{x=N[p+56>>2];m:{if((x|0)<=0){q=O[e+1|0];break m}q=O[e+1|0];s=N[B>>2];f=0;h=65535;i=0;while(1){d=T(i,44);l=d+s|0;n:{if(O[l+13|0]!=(q|0)){break n}m=M[e+2>>1]-M[l>>1]|0;c=m>>31;m=(c^m)-c|0;if((m|0)>=(g|0)|(h|0)<=(m|0)){break n}y=N[e+20>>2];if(y){c=0;r=N[(d+s|0)+36>>2];d=r;while(1){o:{o=N[d+20>>2];if(o){c=M[y+2>>1];o=M[o+2>>1];c=(c|0)>(o|0)?c-o|0:o-c|0;if((g|0)<=(c|0)){break o}}d=N[d+16>>2];if((r|0)!=(d|0)){continue}}break}if((c|0)>=(g|0)){break n}}h=m;f=l}i=i+1|0;if((x|0)!=(i|0)){continue}break}if(f){break l}}d=xp(w,M[e+2>>1],q<<24>>24,0,v,u+12|0);if(d){break a}c=N[u+12>>2];N[c>>2]=0;N[c+4>>2]=0;N[c+40>>2]=e;N[c+36>>2]=e;N[c+32>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;L[c+13|0]=O[e+1|0];d=M[e+2>>1];M[c>>1]=d;f=d>>31;f=(f^d)-f|0;p:{if(f+t>>>0<=8190){f=T(f,j)+32768>>>16|0;break p}f=T(f,A)+(T(f,z)+32768>>>16|0)|0}d=d>>31|1;d=(((k|0)<0?0-d|0:d)|0)<0?0-f|0:f;N[c+8>>2]=d;N[c+4>>2]=d;N[e+16>>2]=e;break k}N[e+16>>2]=N[f+36>>2];N[N[f+40>>2]+16>>2]=e;N[f+40>>2]=e}e=e+44|0;if(n>>>0>e>>>0){continue}break}e=N[p+56>>2];if((e|0)>0){b=N[(T(b,1348)+a|0)- -64>>2];n=b+T(e,44)|0;c=b;while(1){a=N[c+36>>2];d=a;if(d){while(1){N[d+12>>2]=c;d=N[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+44|0;if(n>>>0>c>>>0){continue}break}while(1){f=0;m=0;h=N[b+36>>2];if(h){l=b+28|0;a=b+24|0;d=h;while(1){k=L[d|0]&1;p=!k;c=N[d+24>>2];q:{r:{if(c){g=N[d+20>>2];e=N[c+12>>2];if(!g&(e|0)==(b|0)){break q}if((b|0)==(e|0)){i=0;e=a;break r}i=1;e=l;g=c;break r}i=0;e=a;g=N[d+20>>2];if(!g){break q}}c=N[e>>2];s:{if(c){j=M[b>>1]-M[c>>1]|0;e=j>>31;r=(e^j)-e|0;e=M[d+2>>1];j=M[g+2>>1];if((r|0)<=(((e|0)>(j|0)?e-j|0:j-e|0)|0)){break s}}c=N[g+12>>2]}if(i){N[l>>2]=c;L[c+12|0]=O[c+12|0]|2;break q}N[a>>2]=c}f=f+k|0;m=m+p|0;d=N[d+16>>2];if((h|0)!=(d|0)){continue}break}}L[b+12|0]=(f|0)>0&(f|0)>=(m|0);if(!(!N[b+28>>2]|!N[b+24>>2])){N[b+28>>2]=0}b=b+44|0;if(n>>>0>b>>>0){continue}break}}d=0}La=u+16|0;return d}function Ah(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;m=La-192|0;La=m;N[m+144>>2]=0;N[m+148>>2]=0;N[m+152>>2]=0;N[m+156>>2]=0;N[m+160>>2]=0;N[m+164>>2]=0;N[m+168>>2]=0;N[m+172>>2]=0;N[m+176>>2]=0;N[m+180>>2]=0;N[m+184>>2]=0;N[m+188>>2]=0;N[m+128>>2]=0;N[m+132>>2]=0;N[m+136>>2]=0;N[m+140>>2]=0;s=b;k=a;n=b&3;if(n){s=b&-4;while(1){t=(m+128|0)+(N[k>>2]<<2)|0;N[t>>2]=N[t>>2]+1;k=k+4|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}if(b-1>>>0>=3){while(1){l=m+128|0;n=l+(N[k>>2]<<2)|0;N[n>>2]=N[n>>2]+1;n=l+(N[k+4>>2]<<2)|0;N[n>>2]=N[n>>2]+1;n=l+(N[k+8>>2]<<2)|0;N[n>>2]=N[n>>2]+1;l=l+(N[k+12>>2]<<2)|0;N[l>>2]=N[l>>2]+1;k=k+16|0;s=s-4|0;if(s){continue}break}}a:{if(N[m+128>>2]==(b|0)){N[f>>2]=0;N[g>>2]=0;break a}k=N[g>>2];o=1;b:{c:{d:{e:{f:{g:{l=N[m+132>>2];if(l){break g}o=2;if(N[m+136>>2]){break g}o=3;if(N[m+140>>2]){break g}o=4;if(N[m+144>>2]){break g}o=5;if(N[m+148>>2]){break g}o=6;if(N[m+152>>2]){break g}o=7;if(N[m+156>>2]){break g}o=8;if(N[m+160>>2]){break g}o=9;if(N[m+164>>2]){break g}o=10;if(N[m+168>>2]){break g}o=11;if(N[m+172>>2]){break g}o=12;if(N[m+176>>2]){break g}o=13;if(N[m+180>>2]){break g}o=14;if(N[m+184>>2]){break g}if(N[m+188>>2]){o=15;k=k>>>0<=15?15:k;A=1;l=15;break e}o=16;k=k>>>0<=16?16:k;break f}k=k>>>0>o>>>0?k:o;if(N[m+188>>2]){p=15;u=k>>>0>=15?15:k;N[g>>2]=u;w=1<>2]){break d}}p=13;if(N[m+180>>2]){break d}p=12;if(N[m+176>>2]){break d}p=11;if(N[m+172>>2]){break d}p=10;if(N[m+168>>2]){break d}p=9;if(N[m+164>>2]){break d}p=8;if(N[m+160>>2]){break d}p=7;if(N[m+156>>2]){break d}p=6;if(N[m+152>>2]){break d}p=5;if(N[m+148>>2]){break d}p=4;if(N[m+144>>2]){break d}p=3;if(N[m+140>>2]){break d}p=2;if(N[m+136>>2]){break d}A=!l;l=(l|0)!=0}p=l;u=k>>>0

>>0?k:p;N[g>>2]=u;w=1<>>0

>>0?k:p;N[g>>2]=u;A=1;w=1<>>0>=p>>>0){break b}}k=o;while(1){g=w-N[(m+128|0)+(k<<2)>>2]|0;if((g|0)<0){C=-3;break a}A=1;w=g<<1;k=k+1|0;if((p|0)!=(k|0)){continue}break}}C=-3;g=(m+128|0)+(p<<2)|0;D=N[g>>2];if((w-D|0)<0){break a}N[g>>2]=w;N[m+4>>2]=0;g=p-1|0;h:{if(!g){break h}k=m+128|4;n=g&3;l=m|8;s=0;i:{if(p-2>>>0<3){break i}g=p-5|0;t=(g>>>2|0)+1|0;v=t&1;if(g>>>0>=4){t=t&2147483646;g=0;while(1){q=N[k>>2]+r|0;N[l>>2]=q;q=q+N[k+4>>2]|0;N[l+4>>2]=q;q=q+N[k+8>>2]|0;N[l+8>>2]=q;q=q+N[k+12>>2]|0;N[l+12>>2]=q;q=q+N[k+16>>2]|0;N[l+16>>2]=q;q=q+N[k+20>>2]|0;N[l+20>>2]=q;q=q+N[k+24>>2]|0;N[l+24>>2]=q;r=q+N[k+28>>2]|0;N[l+28>>2]=r;l=l+32|0;k=k+32|0;g=g+2|0;if((t|0)!=(g|0)){continue}break}}if(!v){break i}g=N[k>>2]+r|0;N[l>>2]=g;g=g+N[k+4>>2]|0;N[l+4>>2]=g;g=g+N[k+8>>2]|0;N[l+8>>2]=g;r=g+N[k+12>>2]|0;N[l+12>>2]=r;l=l+16|0;k=k+16|0}if(!n){break h}while(1){r=N[k>>2]+r|0;N[l>>2]=r;l=l+4|0;k=k+4|0;s=s+1|0;if((n|0)!=(s|0)){continue}break}}g=b>>>0<=1?1:b;l=g&1;k=0;if(b>>>0>=2){g=g&-2;while(1){b=N[a>>2];if(b){n=(b<<2)+m|0;b=N[n>>2];N[n>>2]=b+1;N[(b<<2)+j>>2]=k}b=N[a+4>>2];if(b){n=(b<<2)+m|0;b=N[n>>2];N[n>>2]=b+1;N[(b<<2)+j>>2]=k|1}a=a+8|0;k=k+2|0;if((g|0)!=(k|0)){continue}break}}j:{if(!l){break j}a=N[a>>2];if(!a){break j}b=(a<<2)+m|0;a=N[b>>2];N[b>>2]=a+1;N[(a<<2)+j>>2]=k}N[m+64>>2]=0;a=N[(p<<2)+m>>2];N[m>>2]=0;if(o>>>0<=p>>>0){n=0-u|0;E=(a<<2)+j|0;g=0;s=0;a=0;k=-1;while(1){q=(m+128|0)+(o<<2)|0;y=N[q>>2];if(y){F=1<>>0<=y>>>0){break l}g=p-n|0;s=g>>>0>>0?g:u;if(s>>>0<=b>>>0){break l}l=b+1|0;if(s>>>0<=l>>>0){break l}g=u>>>0>>0?u:B;r=k-y|0;k=q;while(1){r=r<<1;z=N[k+4>>2];if(r>>>0<=z>>>0){break l}k=k+4|0;r=r-z|0;l=l+1|0;if(s>>>0>l>>>0){continue}break}l=g}g=1<>2];r=g+s|0;if(r>>>0>1440){break a}k=t+1|0;z=k<<2;s=(s<<3)+h|0;N[z+(m- -64|0)>>2]=s;N[i>>2]=r;m:{if(k){N[m+z>>2]=a;r=N[(m- -64|0)+(t<<2)>>2];v=a>>>v|0;t=r+(v<<3)|0;L[t+1|0]=u;L[t|0]=l;x=(s-r>>3)-v|0;N[t+4>>2]=x;break m}N[f>>2]=s}B=B-u|0;v=n;t=k;l=n+u|0;if((o|0)>(l|0)){continue}break}}t=192;n:{if(j>>>0>=E>>>0){break n}x=N[j>>2];if(x>>>0>>0){t=x>>>0>=256?96:0;j=j+4|0;break n}j=j+4|0;l=x-c<<2;t=O[l+e|0]+80|0;x=N[d+l>>2]}l=a>>>n|0;if(l>>>0>>0){r=1<>2]=x;L[v+1|0]=b;L[v|0]=t;l=l+r|0;if(l>>>0>>0){continue}break}}l=F;if(l&a){while(1){a=a^l;l=l>>>1|0;if(a&l){continue}break}}a=a^l;if(N[(k<<2)+m>>2]!=(a&(-1<>2]!=((-1<>2]);_a(N[a+104>>2]);N[a+100>>2]=0;if(b){e=Hb(b)}else{e=0}N[a+104>>2]=e;xg(a);dd(N[a+840>>2]);dd(N[a+856>>2]);e=N[a+8>>2];if(e){d=N[e+36>>2];if(d){xe(d)}d=N[e+40>>2];if(d){xe(d)}_a(N[e+32>>2]);_a(N[e+16>>2]);_a(N[e+12>>2]);_a(e)}e=N[a+4>>2];n=N[a>>2];j=db(1,44);a:{if(j){N[j+8>>2]=1;N[j+4>>2]=e;N[j>>2]=n;b:{if(b){b=Hb(b);N[j+16>>2]=0;N[j+12>>2]=b;if(!b){break b}}l=db(1,44);if(l){N[l>>2]=j;N[l+36>>2]=N[110084];b=N[110083];N[l+28>>2]=N[110082];N[l+32>>2]=b;b=N[110081];N[l+20>>2]=N[110080];N[l+24>>2]=b;b=N[110079];N[l+12>>2]=N[110078];N[l+16>>2]=b;b=N[110077];N[l+4>>2]=N[110076];N[l+8>>2]=b;d=N[n>>2];c:{if(!d|!O[d|0]){break c}b=nb(d);if(b){e=b-1|0;c=O[d+e|0]==47?e:b;if(c>>>0>4294967037){break c}r=c+258|0}else{r=258}b=kb(r);if(!b){break c}F(b,d,c);L[b+c|0]=47;e=0;d=Qn(d,589824);if((d|0)>=0){d:{e=db(1,2072);if(!e){ia(d|0)|0;e=0;break d}N[e+8>>2]=d}}o=e;e:{if(!e){e=b;break e}s=c+1|0;while(1){f:{e=b;c=N[o+12>>2];g:{if((c|0)>=N[o+16>>2]){c=0;d=Ba(N[o+8>>2],o+24|0,2048)|0;if((d|0)<=0){if(!d|(d|0)==-44){break g}N[147316]=0-d;break g}N[o+16>>2]=d}d=c;c=c+o|0;N[o+12>>2]=d+P[c+40>>1];d=N[c+36>>2];N[o>>2]=N[c+32>>2];N[o+4>>2]=d;c=c+24|0}if(!c){break f}m=c?c+19|0:0;if(O[m|0]==46){continue}f=nb(m);d=f+1|0;c=d+s|0;if(c>>>0>>0){continue}h:{if(c>>>0>r>>>0){if(c>>>0>4294967039){continue}c=c+256|0;e=$a(b,c);if(!e){continue}F(e+s|0,m,d);r=c;break h}F(e+s|0,m,d);b=0;if(!e){continue}}N[k+64>>2]=e;mb(n,4,24533,k- -64|0);c=0;h=La-16|0;La=h;i:{j:{if(!lc(18347,114)){N[147316]=28;break j}b=((lc(18329,43)|0)!=0)<<1;b=lc(18329,120)?b|128:b;b=lc(18329,101)?b|524288:b;N[h>>2]=438;N[h+4>>2]=0;b=na(-100,e|0,b|32768,h|0)|0;if(b>>>0>=4294963201){N[147316]=0-b;b=-1}if((b|0)<0){break i}f=La-32|0;La=f;k:{l:{m:{if(!lc(18347,L[18329])){N[147316]=28;break m}c=kb(1176);if(c){break l}}c=0;break k}ve(c,0,144);d=O[18329];if(!lc(18329,43)){N[c>>2]=(d|0)==114?8:4}n:{if((d|0)!=97){d=N[c>>2];break n}d=ka(b|0,3,0)|0;if(!(d&1024)){d=d|1024;N[f+16>>2]=d;N[f+20>>2]=d>>31;ka(b|0,4,f+16|0)|0}d=N[c>>2]|128;N[c>>2]=d}N[c+80>>2]=-1;N[c+48>>2]=1024;N[c+60>>2]=b;N[c+44>>2]=c+152;o:{if(d&8){break o}N[f>>2]=f+24;N[f+4>>2]=0;if(Ja(b|0,21523,f|0)|0){break o}N[c+80>>2]=10}N[c+40>>2]=377;N[c+36>>2]=378;N[c+32>>2]=379;N[c+12>>2]=380;if(!O[591481]){N[c+76>>2]=-1}d=N[147575];N[c+56>>2]=d;if(d){N[d+52>>2]=c}N[147575]=c}La=f+32|0;if(c){break i}ia(b|0)|0}c=0}La=h+16|0;if(!c){N[k>>2]=e;mb(n,2,16820,k);b=e;continue}p:{if(N[c+76>>2]<0){b=li(c,2);break p}b=li(c,2)}if((b|0)==-1){N[k+16>>2]=e;mb(n,2,16852,k+16|0);qg(c);b=e;continue}f=c;q:{if(N[c+76>>2]<0){b=ho(f);c=Pa;break q}b=ho(f);c=Pa}if((c|0)>=0&b>>>0>=2147483648|(c|0)>0){N[147316]=61;b=-1}li(f,0);N[f>>2]=N[f>>2]&-33;h=b;N[k+48>>2]=b;mb(n,6,16738,k+48|0);r:{if((b|0)!=-1){b=0;q=kb(h+1|0);if(q){break r}}qg(f);b=e;continue}s:{while(1){i=b+q|0;d=h-b|0;c=N[f+72>>2];N[f+72>>2]=c-1|c;c=N[f+4>>2];g=N[f+8>>2];if((c|0)==(g|0)){c=d}else{p=c;c=g-c|0;c=c>>>0>>0?c:d;Pc(i,p,c);N[f+4>>2]=c+N[f+4>>2];i=c+i|0;c=d-c|0}if(c){while(1){t:{u:{if(!mi(f)){g=Qa[N[f+32>>2]](f,i,c)|0;if(g){break u}}d=d-c|0;break t}i=g+i|0;c=c-g|0;if(c){continue}}break}}if((d|0)<=0){t=N[147316];v=P[((t>>>0<=153?t:0)<<1)+583168>>1]+581240|0;b=0;c=N[N[147600]+20>>2];if(c){m=N[c+4>>2];c=N[c>>2];h=N[c>>2]+1794895138|0;d=Ud(N[c+8>>2],h);i=Ud(N[c+12>>2],h);g=Ud(N[c+16>>2],h);v:{if(m>>>2>>>0<=d>>>0){break v}p=m-(d<<2)|0;if((g|i)&3|(p>>>0<=i>>>0|g>>>0>=p>>>0)){break v}z=g>>>2|0;A=i>>>2|0;i=0;while(1){p=d>>>1|0;w=p+i|0;x=w<<1;g=c+(x+A<<2)|0;y=Ud(N[g>>2],h);g=Ud(N[g+4>>2],h);if(g>>>0>=m>>>0|m-g>>>0<=y>>>0|O[c+(g+y|0)|0]){break v}g=cb(v,c+g|0);if(!g){d=c+(z+x<<2)|0;i=Ud(N[d>>2],h);d=Ud(N[d+4>>2],h);if(d>>>0>=m>>>0|i>>>0>=m-d>>>0){break v}b=O[c+(d+i|0)|0]?0:c+d|0;break v}if((d|0)==1){break v}g=(g|0)<0;d=g?p:d-p|0;i=g?i:w;continue}}}N[k+36>>2]=b?b:v;N[k+32>>2]=t;mb(n,4,11584,k+32|0);qg(f);break s}b=b+d|0;if((h|0)>(b|0)){continue}break}L[h+q|0]=0;qg(f);Ji(n,m,q,h)}_a(q);b=e;continue}break}fi(N[o+8>>2]);_a(o)}_a(e)}w:{if(!N[n+16>>2]){e=0;break w}while(1){Ao(l,u);e=N[n+16>>2];u=u+1|0;if(e>>>0>u>>>0){continue}break}}N[a+12>>2]=e;N[j+40>>2]=l;break a}mb(n,2,12085,0);b=N[j+36>>2];if(!b){break b}xe(b)}b=N[j+40>>2];if(b){xe(b)}_a(N[j+12>>2]);_a(N[j+16>>2]);_a(j)}j=0}N[a+8>>2]=j;La=k+80|0}function wk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=La-16|0;La=g;f=N[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=N[b+12>>2];h=e-2|0;N[b+12>>2]=h;c=1;if((h|0)<=0){c=0;break a}b:{c:{d:{h=O[a|0]|O[a+1|0]<<8;switch(((h<<8|h>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=a+2|0;if(c>>>0>d>>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;e:{if(!d){break e}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break e}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}d=a+4|0;if(d>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-d>>>0<2){c=0;break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){c=0;break a}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=a+6|0;if(c>>>0>e>>>0){c=0;break a}e=e-c|0;d=(d<<8|d>>>8)&65535;c=d<<1;if(e>>>0>>0){c=0;break a}e=f-c|0;N[b+12>>2]=e;c=0;if((e|0)<=0){break a}f=d>>>0<=1?1:d;d=0;while(1){c=((d<<1)+a|0)+6|0;if(c>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-c>>>0<2){c=0;break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){c=0;break a}e=O[c|0]|O[c+1|0]<<8;f:{if(!e){break f}e=((e<<8|e>>>8)&65535)+a|0;N[g+12>>2]=e;if(tk(e,b,g+12|0)){break f}e=N[b+28>>2];if(e>>>0>31){c=0;break a}N[b+28>>2]=e+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=1;d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>d>>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;g:{if(!d){break g}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break g}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+4|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;h:{if(!d){break h}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break h}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+6|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;i:{if(!d){break i}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break i}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+8|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;j:{if(!d){break j}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break j}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}d=a+10|0;if(d>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-d>>>0<2){c=0;break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){c=0;break a}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=a+12|0;if(c>>>0>e>>>0){c=0;break a}e=e-c|0;d=(d<<8|d>>>8)&65535;c=d<<1;if(e>>>0>>0){c=0;break a}e=f-c|0;N[b+12>>2]=e;c=0;if((e|0)<=0){break a}f=d>>>0<=1?1:d;d=0;while(1){c=((d<<1)+a|0)+12|0;if(c>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-c>>>0<2){c=0;break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){c=0;break a}e=O[c|0]|O[c+1|0]<<8;k:{if(!e){break k}e=((e<<8|e>>>8)&65535)+a|0;N[g+12>>2]=e;if(tk(e,b,g+12|0)){break k}e=N[b+28>>2];if(e>>>0>31){c=0;break a}N[b+28>>2]=e+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=1;d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}N[g+12>>2]=a;d=a+2|0;if(!Pe(d,b,g+12|0)){c=0;break a}c=O[a+2|0]|O[a+3|0]<<8;N[g+12>>2]=a;c=(d+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!Pe(c,b,g+12|0)){c=0;break a}d=O[c|0]|O[c+1|0]<<8;if(!d){c=0;break a}N[g+12>>2]=a;a=(c+(((d<<8|d>>>8)&65535)<<1)|0)+2|0;if(!Pe(a,b,g+12|0)){c=0;break a}c=a;a=O[a|0]|O[a+1|0]<<8;a=(c+(((a<<8|a>>>8)&65535)<<1)|0)+2|0;if(a>>>0>2]){c=0;break a}c=N[b+8>>2];if(c>>>0>>0){c=0;break a}if(c-a>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}e=O[a|0]|O[a+1|0]<<8;if(e){a=a+2|0;if(a>>>0>c>>>0){c=0;break a}c=c-a|0;a=((e<<8|e>>>8)&65535)<<2;if(c>>>0>>0){c=0;break a}a=d-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}La=g+16|0;return c}function Le(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;N[a+24>>2]=0;a:{b:{d=ae(b+52|0);c=O[d+50|0]|O[d+51|0]<<8;if(!(((c<<8|c>>>8)&65535)>>>0>1|(O[d+52|0]|O[d+53|0]<<8))){L[a+12|0]=!c;c=N[b+104>>2];c:{if(c){break c}while(1){d=N[b+48>>2];if(!d){c=275552;break c}N[e+8>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;L[e+24|0]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;L[e+40|0]=1;N[e+36>>2]=0;if(!O[e+40|0]){c=N[d+32>>2];if((c|0)==-1){c=sb(d+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[d+32>>2]=c}L[e+40|0]=1;N[e+36>>2]=c}c=N[d+12>>2];d:{if(c){d=Qa[c|0](d,1819239265,N[d+16>>2])|0;if(d){break d}}d=275552}c=N[d>>2];if(c){if((c|0)<=0){break b}N[d>>2]=c+1}L[e+24|0]=0;N[e+32>>2]=d;f=N[d+12>>2];N[e+4>>2]=f;c=N[d+16>>2];N[e+8>>2]=c+f;e:{if((c|0)<0){break a}N[e+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[e+12>>2]=c;N[e+20>>2]=0;N[e>>2]=0;ab(d);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;if(!(!f|!N[d+4>>2])){N[d+4>>2]=0}break e}c=N[b+104>>2];f:{if(d){if(c){break f}c=d;N[b+104>>2]=d;break c}if(c){break c}c=275552;N[b+104>>2]=275552;break c}if((d|0)==275552){break c}ab(d);c=N[b+104>>2];if(!c){continue}break}}N[a+20>>2]=c;if(N[b+32>>2]==-1){d=sb(b+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[b+32>>2]=(d<<8|d>>>8)&65535}d=N[b+12>>2];g:{if(d){c=Qa[d|0](b,1735162214,N[b+16>>2])|0;if(c){break g}}c=275552}d=N[c>>2];if(d){if((d|0)<=0){break b}N[c>>2]=d+1}if(N[c+16>>2]<0){break a}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+24>>2]=c;c=N[b+128>>2];h:{if(c){break h}while(1){d=N[b+48>>2];if(!d){c=275552;break h}c=db(1,4);if(!c){c=275552;N[b+128>>2]=275552;break h}N[e+8>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;L[e+24|0]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;f=N[d+32>>2];if((f|0)==-1){f=sb(d+56|0);f=O[f+4|0]|O[f+5|0]<<8;f=(f<<8|f>>>8)&65535;N[d+32>>2]=f}L[e+40|0]=1;N[e+36>>2]=f;f=N[d+12>>2];i:{if(f){d=Qa[f|0](d,1735811442,N[d+16>>2])|0;if(d){break i}}d=275552}j:{if(!d){break j}f=N[d>>2];if(!f){break j}if((f|0)<=0){break b}N[d>>2]=f+1}L[e+24|0]=0;N[e+32>>2]=d;h=N[d+12>>2];N[e+4>>2]=h;f=N[d+16>>2];N[e+8>>2]=f+h;if((f|0)<0){break a}N[e+28>>2]=0;if(f>>>0>67108863){f=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}N[e+12>>2]=f;N[e+20>>2]=0;N[e>>2]=0;f=d;k:{l:{if(!h){break l}m:{n:{o:{p:{if($i(h,e)){break p}q:{if(O[e+24|0]|!N[e+28>>2]){break q}f=zb(d);N[e+4>>2]=f;N[e+8>>2]=f+N[d+16>>2];if(!f){break q}while(1){L[e+24|0]=1;f=N[e+32>>2];h=N[f+12>>2];N[e+4>>2]=h;g=N[f+16>>2];N[e+8>>2]=g+h;if((g|0)<0){break a}N[e+28>>2]=0;if(g>>>0>67108863){g=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}N[e+12>>2]=g;N[e+20>>2]=0;N[e>>2]=0;if(!h){break l}if($i(h,e)){break p}if(O[e+24|0]|!N[e+28>>2]){break q}f=zb(d);N[e+4>>2]=f;N[e+8>>2]=f+N[d+16>>2];if(f){continue}break}}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;break o}if(!N[e+28>>2]){break n}N[e+28>>2]=0;f=$i(h,e);h=N[e+28>>2];ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;if(h){break o}if(f){break m}}ab(d);d=275552;break k}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break k}ab(f);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}N[c>>2]=d;if(!N[b+128>>2]){N[b+128>>2]=c;break h}ab(d);_a(c);c=N[b+128>>2];if(!c){continue}break}}N[a>>2]=c;c=N[b+68>>2];r:{if(c){break r}while(1){d=N[b+48>>2];if(!d){c=275552;break r}c=db(1,28);if(!c){c=275552;N[b+68>>2]=275552;break r}c=hq(c,d);if(!N[b+68>>2]){N[b+68>>2]=c;break r}ab(N[c+20>>2]);N[c+20>>2]=0;ab(N[c+24>>2]);_a(c);c=N[b+68>>2];if(!c){continue}break}}N[a+4>>2]=c;c=N[b+96>>2];s:{if(c){break s}while(1){d=N[b+48>>2];if(!d){c=275552;break s}c=db(1,28);if(!c){c=275552;N[b+96>>2]=275552;break s}c=Lg(c,d);if(!N[b+96>>2]){N[b+96>>2]=c;break s}ab(N[c+20>>2]);N[c+20>>2]=0;ab(N[c+24>>2]);_a(c);c=N[b+96>>2];if(!c){continue}break}}N[a+8>>2]=c;d=N[a+20>>2];d=N[(d?d:275552)+16>>2]>>>(O[a+12|0]?1:2)|0;c=(d>>>0<=1?1:d)-1|0;N[a+16>>2]=c;d=N[b+32>>2];if((d|0)==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;d=(b<<8|b>>>8)&65535;N[c+32>>2]=d;c=N[a+16>>2]}N[a+16>>2]=c>>>0>>0?c:d}La=e+48|0;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function Qw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+437|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+440|0;break i;case 1:a=a+444|0;break i;case 2:a=a+448|0;break i;case 3:break j;default:break h}}a=a+452|0}e=N[a>>2]}N[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+464|0;break l;case 1:a=a+468|0;break l;case 2:a=a+472|0;break l;case 3:break m;default:break k}}a=a+476|0}e=N[a>>2]}N[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+436|0];break b;case 4:a=N[a+364>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+420>>2];break c;case 7:if(Q[a+420>>2]<=c>>>0){break e}a=N[N[a+424>>2]+(c<<2)>>2];c=nb(a);b=c+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);L[c+d|0]=0;break f;case 8:if(Q[a+420>>2]<=c>>>0){break e}e=N[N[a+432>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}F(d,N[N[a+428>>2]+(c<<2)>>2],e);L[d+e|0]=0;break f;case 9:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+368>>2];break c;case 10:if(N[a+368>>2]!=1|Q[a+372>>2]<=c>>>0){break e}c=N[N[a+388>>2]+(c<<2)>>2];a=nb(c);b=a+1|0;if(!d|f>>>0>>0){break f}F(d,c,a);L[a+d|0]=0;break f;case 11:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+404>>2];break c;case 12:b=N[a+416>>2];n:{if(b){b=Ad(c,b);if(!b){break e}c=N[b>>2];break n}if(Q[a+404>>2]<=c>>>0){break e}}e=N[a+408>>2];if(!e){break e}a=N[N[a+412>>2]+(c<<2)>>2];b=a+1|0;if(!d|f>>>0>>0){break f}F(d,N[e+(c<<2)>>2],a);L[a+d|0]=0;break f;case 13:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+176|0];break b;case 16:if(O[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+177|0];break b;case 19:if(O[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+178|0];break b;case 21:if(O[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+179|0];break b;case 23:if(O[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+292|0];break b;case 27:if(O[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+293|0];break b;case 29:if(O[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+295|0];break b;case 30:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+164>>1];break a;case 36:a=N[a+132>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 37:a=N[a+136>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 38:a=N[a+140>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 39:a=N[a+144>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=N[a+148>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+152>>2]}return b|0}return 1}return 2}function Gb(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0;k=La-96|0;La=k;u=i&65535;o=(e^i)&-2147483648;r=e&65535;z=r;Q=i>>>16&32767;R=e>>>16&32767;a:{b:{if(Q-32767>>>0>4294934529&R-32767>>>0>=4294934530){break b}s=e&2147483647;q=s;j=d;if(!(!d&(q|0)==2147418112?!(b|c):q>>>0<2147418112)){m=d;o=e|32768;break a}s=i&2147483647;p=s;e=h;if(!(!e&(p|0)==2147418112?!(f|g):p>>>0<2147418112)){m=h;o=i|32768;b=f;c=g;break a}if(!(b|j|(q^2147418112|c))){if(!(e|f|(g|p))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(e|f|(p^2147418112|g))){e=b|j;d=c|q;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|j|(c|q))){b=0;c=0;break a}if(!(e|f|(g|p))){b=0;c=0;break a}if((q|0)==65535|q>>>0<65535){j=!(d|r);i=j?b:d;s=j<<6;e=W(i)+32|0;i=W(j?c:r);i=s+((i|0)==32?e:i)|0;hc(k+80|0,b,c,d,r,i-15|0);t=16-i|0;d=N[k+88>>2];z=N[k+92>>2];c=N[k+84>>2];b=N[k+80>>2]}if(p>>>0>65535){break b}i=!(h|u);e=i?f:h;r=i<<6;j=W(e)+32|0;e=W(i?g:u);e=r+((e|0)==32?j:e)|0;hc(k- -64|0,f,g,h,u,e-15|0);t=(t-e|0)+16|0;h=N[k+72>>2];u=N[k+76>>2];f=N[k+64>>2];g=N[k+68>>2]}e=f;f=g<<15|f>>>17;i=e<<15;e=0;v=i&-32768;J=c;s=UE(v,e,c,0);e=Pa;y=e;K=f;q=b;b=UE(f,0,b,0);i=b+s|0;f=Pa+e|0;c=b>>>0>i>>>0?f+1|0:f;j=0;b=UE(q,l,v,l);p=j+b|0;f=i;e=f+Pa|0;e=b>>>0>p>>>0?e+1|0:e;r=e;L=(f|0)==(e|0)&j>>>0>p>>>0|e>>>0>>0;M=d;w=UE(v,l,d,0);O=Pa;b=UE(J,l,K,l);x=b+w|0;j=Pa+O|0;j=b>>>0>x>>>0?j+1|0:j;b=u<<15|h>>>17;A=h<<15|g>>>17;d=UE(A,0,q,l);B=d+x|0;f=Pa+j|0;f=d>>>0>B>>>0?f+1|0:f;C=f;d=(c|0)==(y|0)&i>>>0>>0|c>>>0>>0;D=c+B|0;f=d+f|0;f=c>>>0>D>>>0?f+1|0:f;u=f;g=D;c=f;E=z|65536;z=UE(v,l,E,n);P=Pa;d=UE(M,m,K,l);F=d+z|0;e=Pa+P|0;e=d>>>0>F>>>0?e+1|0:e;i=e;G=b|-2147483648;b=UE(G,0,q,l);H=b+F|0;f=Pa+e|0;f=b>>>0>H>>>0?f+1|0:f;b=UE(A,m,J,l);y=b+H|0;I=f;f=f+Pa|0;s=b>>>0>y>>>0?f+1|0:f;b=0;q=b+g|0;e=c+y|0;v=b>>>0>q>>>0?e+1|0:e;f=v;b=q+L|0;c=b>>>0>>0?f+1|0:f;t=((R+Q|0)+t|0)-16383|0;d=UE(G,m,J,l);h=Pa;e=UE(E,m,K,l);g=e+d|0;f=Pa+h|0;f=e>>>0>g>>>0?f+1|0:f;n=(h|0)==(f|0)&d>>>0>g>>>0|f>>>0>>0;h=f;e=UE(A,m,M,m);d=e+g|0;f=Pa+f|0;f=d>>>0>>0?f+1|0:f;e=f;g=(f|0)==(h|0)&d>>>0>>0|f>>>0>>0;f=0;h=g;g=g+n|0;f=h>>>0>g>>>0?1:f;h=g;g=UE(G,m,E,m);h=h+g|0;f=Pa+f|0;L=h;g=g>>>0>h>>>0?f+1|0:f;h=d;l=e;e=(j|0)==(O|0)&w>>>0>x>>>0|j>>>0>>0;f=0;j=(j|0)==(C|0)&x>>>0>B>>>0|j>>>0>C>>>0;n=j;j=e+j|0;e=(n>>>0>j>>>0?1:f)+l|0;f=g;d=d+j|0;e=d>>>0>>0?e+1|0:e;n=e;w=d;d=(e|0)==(l|0)&d>>>0>>0|e>>>0>>0;e=d;d=d+L|0;f=e>>>0>d>>>0?f+1|0:f;j=d;g=f;e=UE(A,m,E,m);l=Pa;d=UE(G,m,M,m);h=d+e|0;f=Pa+l|0;f=d>>>0>h>>>0?f+1|0:f;d=f;f=(l|0)==(f|0)&e>>>0>h>>>0|f>>>0>>0;x=d+j|0;e=f+g|0;e=d>>>0>x>>>0?e+1|0:e;l=x;g=e;e=0;d=e+w|0;f=h+n|0;f=d>>>0>>0?f+1|0:f;e=f;h=(n|0)==(f|0)&d>>>0>>0|f>>>0>>0;f=g;g=h+l|0;f=g>>>0>>0?f+1|0:f;w=g;g=f;h=d;j=e;e=(s|0)==(I|0)&y>>>0>>0|s>>>0>>0;d=(i|0)==(P|0)&z>>>0>F>>>0|i>>>0

>>0;i=(i|0)==(I|0)&F>>>0>H>>>0|i>>>0>I>>>0;d=d+i|0;d=d+e|0;n=s;i=n+h|0;e=d+j|0;f=g;d=i;e=d>>>0>>0?e+1|0:e;h=(e|0)==(j|0)&h>>>0>d>>>0|e>>>0>>0;g=h+w|0;f=h>>>0>g>>>0?f+1|0:f;j=g;g=f;h=d;f=0;i=e;n=(u|0)==(v|0)&q>>>0>>0|u>>>0>v>>>0;l=n;n=n+((u|0)==(C|0)&B>>>0>D>>>0|u>>>0>>0)|0;e=e+(l>>>0>n>>>0?1:f)|0;f=g;d=d+n|0;e=d>>>0>>0?e+1|0:e;h=(e|0)==(i|0)&d>>>0>>0|e>>>0>>0;g=h;h=h+j|0;f=g>>>0>h>>>0?f+1|0:f;i=f;c:{if(f&65536){t=t+1|0;break c}j=r>>>31|0;g=0;f=i<<1|h>>>31;h=h<<1|e>>>31;i=f;f=e<<1|d>>>31;d=d<<1|c>>>31;e=f;f=r<<1|p>>>31;p=p<<1;r=f;f=c<<1|b>>>31;b=b<<1|j;c=f|g}if((t|0)>=32767){o=o|2147418112;b=0;c=0;break a}d:{if((t|0)<=0){g=1-t|0;if(g>>>0<=127){f=t+127|0;hc(k+48|0,p,r,b,c,f);hc(k+32|0,d,e,h,i,f);Qd(k+16|0,p,r,b,c,g);Qd(k,d,e,h,i,g);p=N[k+32>>2]|N[k+16>>2]|(N[k+48>>2]|N[k+56>>2]|(N[k+52>>2]|N[k+60>>2]))!=0;r=N[k+36>>2]|N[k+20>>2];b=N[k+40>>2]|N[k+24>>2];c=N[k+44>>2]|N[k+28>>2];d=N[k>>2];e=N[k+4>>2];g=N[k+8>>2];f=N[k+12>>2];break d}b=0;c=0;break a}g=h;f=i&65535|t<<16}m=g|m;o=f|o;if(!(!b&(c|0)==-2147483648?!(p|r):(c|0)>0|(c|0)>=0)){b=d+1|0;j=b?e:e+1|0;e=o;c=j;d=!(j|b);m=d+m|0;o=d>>>0>m>>>0?e+1|0:e;break a}if(b|p|(c^-2147483648|r)){b=d;c=e;break a}f=e;b=d&1;c=b;b=b+d|0;c=c>>>0>b>>>0?f+1|0:f;d=(f|0)==(c|0)&b>>>0>>0|c>>>0>>0;f=o;m=d+m|0;o=m>>>0>>0?f+1|0:f}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=m;N[a+12>>2]=o;La=k+96|0}function Gj(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;i=La-32|0;La=i;if(!(e-d>>>0<2|d>>>0>=e>>>0)){E=N[c+80>>2];while(1){q=T(d,20);a:{if(1<>1]&7168){v=d;break a}g=d+1|0;h=e>>>0>g>>>0?e:g;j=h-1|0;m=d;while(1){b:{v=m;if((j|0)==(m|0)){v=j;m=h;break b}m=v+1|0;if(1<>1]&7168){continue}}break}j=N[c+68>>2];n=j>>>0>>0?j:m;x=n-d|0;c:{if(x>>>0<=1){o=N[c+80>>2];break c}l=N[c+144>>2]|32;N[c+144>>2]=l;o=N[c+80>>2];if(d>>>0>=n>>>0){break c}h=-1;j=d;z=n+(d^-1)|0;if(z>>>0>=3){A=x&-4;k=0;while(1){p=T(j,20)+o|0;s=N[p+8>>2];h=h>>>0>>0?h:s;s=N[p+28>>2];h=h>>>0>>0?h:s;s=N[p+48>>2];h=h>>>0>>0?h:s;p=N[p+68>>2];h=h>>>0

>>0?h:p;j=j+4|0;k=k+4|0;if((A|0)!=(k|0)){continue}break}}u=0;k=x&3;if(k){while(1){p=N[(T(j,20)+o|0)+8>>2];h=h>>>0

>>0?h:p;j=j+1|0;u=u+1|0;if((k|0)!=(u|0)){continue}break}}j=d;d:{if(!(x&1)){break d}k=o+q|0;j=g;if(N[k+8>>2]==(h|0)){break d}N[k+4>>2]=N[k+4>>2]|3;j=g}if(!z){break c}while(1){k=T(j,20)+o|0;if(N[k+8>>2]!=(h|0)){l=l|32;N[c+144>>2]=l;N[k+4>>2]=N[k+4>>2]|3}k=T(j+1|0,20)+o|0;if(N[k+8>>2]!=(h|0)){l=l|32;N[c+144>>2]=l;N[k+4>>2]=N[k+4>>2]|3}j=j+2|0;if((n|0)!=(j|0)){continue}break}}j=N[o+q>>2];N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;h=N[b+96>>2];k=N[h+72>>2];n=N[b+100>>2];h=N[h+12>>2];if(h){h=N[h+52>>2]}else{h=0}if(!(Qa[k|0](b,n,j,i,h)|0)){if(g>>>0>=m>>>0){break a}j=N[c+80>>2];if(!f){h=g;if(v-d&1){m=T(g,20);if((P[(m+j|0)+16>>1]&31)==12){m=m+N[c+88>>2]|0;N[m>>2]=0;N[m+4>>2]=0}h=d+2|0}if((g|0)==(v|0)){break a}while(1){d=T(h,20);if((P[(d+j|0)+16>>1]&31)==12){d=d+N[c+88>>2]|0;N[d>>2]=0;N[d+4>>2]=0}d=h+1|0;g=T(d,20);if((P[(g+j|0)+16>>1]&31)==12){g=g+N[c+88>>2]|0;N[g>>2]=0;N[g+4>>2]=0}h=h+2|0;if((d|0)!=(v|0)){continue}break}break a}while(1){d=T(g,20);if((P[(d+j|0)+16>>1]&31)==12){d=d+N[c+88>>2]|0;m=N[d+4>>2];N[d+4>>2]=0;h=N[d>>2];N[d>>2]=0;N[d+8>>2]=N[d+8>>2]-h;N[d+12>>2]=N[d+12>>2]-m}d=(g|0)==(v|0);g=g+1|0;if(!d){continue}break}break a}d=N[(q+N[c+88>>2]|0)+12>>2];o=0;N[i>>2]=0;N[i+4>>2]=d+N[i+4>>2];d=N[b+96>>2];j=N[d+40>>2];h=N[b+100>>2];k=N[q+N[c+80>>2]>>2];d=N[d+12>>2];if(d){d=N[d+20>>2]}else{d=0}h=Qa[j|0](b,h,k,d)|0;N[i+8>>2]=h;u=0;if((N[c+40>>2]&-3)==4){d=q+N[c+88>>2]|0;o=0-N[d+4>>2]|0;u=0-N[d>>2]|0}if(g>>>0>=m>>>0){break a}F=N[c+80>>2];d=q+F|0;D=O[d+14|0];w=O[d+12|0]&4?D&16?D&15:1:1;x=-1;q=255;B=0;p=N[i>>2];m=p;z=N[i+4>>2];k=z;j=h;A=N[i+12>>2];d=A;while(1){s=g;C=T(g,20);g=F+C|0;n=P[g+16>>1];e:{if(!(n>>>0<256|!(1<>>0<2){break f}g=O[g+14|0];l=g&16?0:g&15;l=D>>>0<32?w:(g^D)>>>0>31?w:l>>>0>w>>>0?w:l;g=l-1|0;if((g|0)==(x|0)){break f}A=N[i+12>>2];h=N[i+8>>2];z=N[i+4>>2];q=N[i>>2];g:{if(B){break g}B=N[a>>2];if((B&-2)==4){break g}B=sh(N[a+4>>2])}p=q+((T(h,(B|0)==4?g:w-l|0)|0)/(w|0)|0)|0;h=(h|0)/(w|0)|0;q=255;x=g}g=n>>>8|0;if((g|0)!=(q|0)){j=h;k=z;m=p;q=g;d=A}n=N[N[c+80>>2]+C>>2];N[i+24>>2]=0;N[i+28>>2]=0;N[i+16>>2]=0;N[i+20>>2]=0;l=N[b+96>>2];r=N[l+72>>2];t=N[b+100>>2];y=i+16|0;l=N[l+12>>2];if(l){l=N[l+52>>2]}else{l=0}h:{if(!(Qa[r|0](b,t,n,y,l)|0)){l=N[c+88>>2];break h}r=N[b+32>>2];l=N[c+88>>2];n=C+l|0;N[n+12>>2]=0;t=(r|0)/16|0;i:{j:{k:{l:{m:{g=g-200|0;switch(g|0){case 16:case 22:case 32:break j;case 0:case 18:case 28:break k;case 33:case 34:break m;default:break l}}n:{switch(N[c+40>>2]-4|0){case 0:y=((j+m|0)+(N[i+24>>2]/-2|0)|0)-N[i+16>>2]|0;break i;case 1:break n;default:break l}}y=((N[i+24>>2]/-2|0)+m|0)-N[i+16>>2]|0;break i}y=(m-N[i+16>>2]|0)+((j-N[i+24>>2]|0)/2|0)|0;break i}y=m-N[i+16>>2]|0;break i}y=j+m-(N[i+24>>2]+N[i+16>>2])|0}N[n+8>>2]=y;o:{switch(g|0){case 18:case 20:case 22:case 33:d=d-t|0;case 0:case 2:g=(d+k|0)-N[i+20>>2]|0;r=(r|0)<16^(g|0)>0;N[n+12>>2]=r?0:g;d=(N[i+28>>2]+d|0)-(r?g:0)|0;break h;case 28:case 30:case 32:case 34:d=d-t|0;k=k+t|0;break;case 14:case 16:break o;default:break h}}t=(r|0)<16;r=N[i+28>>2];g=k-(r+N[i+20>>2]|0)|0;if(!(t^(g|0)>0)){t=(g|0)/-2|0;g=t+g|0;k=k+t|0;d=d-t|0}N[n+12>>2]=g;d=d+r|0;k=k-r|0}g=l+C|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=N[g+8>>2]+u;N[g+12>>2]=N[g+12>>2]+o;break e}n=N[c+88>>2]+C|0;g=N[n+4>>2];n=N[n>>2];if((N[c+40>>2]&-3)==4){o=o-g|0;u=u-n|0;break e}o=g+o|0;u=n+u|0}g=s+1|0;if((v|0)!=(s|0)){continue}break}}d=v+1|0;if(e>>>0>d>>>0){continue}break}}La=i+32|0}function Mf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;k=La-80|0;La=k;a:{b:{c:{if(O[a|0]){N[a+4>>2]=-1;h=N[a+28>>2];g=N[e+28>>2];N[k+76>>2]=0;N[k+68>>2]=0;N[k+72>>2]=0;d:{e:{f:{g:{h:{if(!c){f=(h|0)>0;t=f?h:0;if(f){while(1){p=((p>>>1|0)+p|0)+8|0;if(t>>>0>=p>>>0){continue}break}if(p>>>0>1073741823){break h}f=kb(p<<2);if(!f){break h}N[k+68>>2]=p;N[k+76>>2]=f;C(f,0,t<<2);p=f}N[k+72>>2]=t}i:{if(!h|!g){break i}while(1){o=N[a+16>>2];r=o>>>0>i>>>0;j:{if(!r){N[147456]=0;N[147457]=0;f=0;break j}f=N[N[a+20>>2]+(i<<3)>>2]}q=f;f=Q[e+16>>2]<=m>>>0?275552:N[e+20>>2]+(m<<3)|0;j=N[f>>2];k:{if((q|0)==(j|0)){if(!c){if(i>>>0>l>>>0){l:{if(!r){N[147456]=0;N[147457]=0;f=589824;break l}f=N[a+20>>2]+(i<<3)|0}m:{if(l>>>0>=o>>>0){N[147456]=0;N[147457]=0;o=589824;break m}o=N[a+20>>2]+(l<<3)|0}j=o;o=N[f+4>>2];N[j>>2]=N[f>>2];N[j+4>>2]=o}l=l+1|0}m=m+1|0;i=i+1|0;n=n+1|0;break k}n:{if(!r){N[147456]=0;N[147457]=0;j=N[f>>2];f=0;break n}f=N[N[a+20>>2]+(i<<3)>>2]}if(f>>>0>>0){i=i+1|0;n=c+n|0;break k}m=m+1|0;n=d+n|0}if(h>>>0<=i>>>0){break i}if(g>>>0>m>>>0){continue}break}}o=((c?h-i|0:0)+n|0)+(d?g-m|0:0)|0;if(!c){Ij(a,k+68|0,l);h=l}if(!Df(a,o)){break e}q=(g|0)!=0;m=(h|0)!=0;if(!h|!g){break g}i=o;n=h;while(1){l=g-1|0;m=l<<3;r=m+N[e+20>>2]|0;v=N[r>>2];u=N[a+20>>2];f=h-1|0;q=f<<3;s=u+q|0;j=N[s>>2];o:{p:{if((v|0)==(j|0)){h=N[s+4>>2];i=i-1|0;j=i<<3;g=j+u|0;N[g>>2]=N[s>>2];N[g+4>>2]=h;if(f>>>0>=Q[a+16>>2]){break b}if(l>>>0>=Q[e+16>>2]){break a}Qa[b|0](k,N[a+32>>2]+(N[(q+N[a+20>>2]|0)+4>>2]<<6)|0,N[e+32>>2]+(N[(m+N[e+20>>2]|0)+4>>2]<<6)|0);if(Q[a+16>>2]<=i>>>0){break b}h=N[k+4>>2];g=N[a+32>>2]+(N[(j+N[a+20>>2]|0)+4>>2]<<6)|0;N[g>>2]=N[k>>2];N[g+4>>2]=h;h=N[k+60>>2];N[g+56>>2]=N[k+56>>2];N[g+60>>2]=h;h=N[k+52>>2];N[g+48>>2]=N[k+48>>2];N[g+52>>2]=h;h=N[k+44>>2];N[g+40>>2]=N[k+40>>2];N[g+44>>2]=h;h=N[k+36>>2];N[g+32>>2]=N[k+32>>2];N[g+36>>2]=h;h=N[k+28>>2];N[g+24>>2]=N[k+24>>2];N[g+28>>2]=h;h=N[k+20>>2];N[g+16>>2]=N[k+16>>2];N[g+20>>2]=h;h=N[k+12>>2];N[g+8>>2]=N[k+8>>2];N[g+12>>2]=h;h=f;break p}if(j>>>0>v>>>0){if(!c){h=f;break o}h=N[s+4>>2];i=i-1|0;l=(i<<3)+u|0;N[l>>2]=N[s>>2];N[l+4>>2]=h;h=f;break o}if(!d){break p}i=i-1|0;f=(i<<3)+u|0;N[f+4>>2]=n;N[f>>2]=v;if(l>>>0>=Q[e+16>>2]){break a}if(Q[a+16>>2]<=i>>>0){break b}j=N[e+32>>2]+(N[r+4>>2]<<6)|0;f=N[j+4>>2];g=N[a+32>>2]+(n<<6)|0;N[g>>2]=N[j>>2];N[g+4>>2]=f;f=N[j+60>>2];N[g+56>>2]=N[j+56>>2];N[g+60>>2]=f;f=N[j+52>>2];N[g+48>>2]=N[j+48>>2];N[g+52>>2]=f;f=N[j+44>>2];N[g+40>>2]=N[j+40>>2];N[g+44>>2]=f;f=N[j+36>>2];N[g+32>>2]=N[j+32>>2];N[g+36>>2]=f;f=N[j+28>>2];N[g+24>>2]=N[j+24>>2];N[g+28>>2]=f;f=N[j+20>>2];N[g+16>>2]=N[j+16>>2];N[g+20>>2]=f;f=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=f;n=n+1|0}g=l}q=(g|0)!=0;m=(h|0)!=0;if(!h){break f}if(g){continue}break}break f}N[k+68>>2]=-1;p=0;L[a|0]=0;break d}n=h;i=o}q:{if(!m|!c){break q}j=h-1|0;l=h&3;if(l){m=0;while(1){b=N[a+20>>2];i=i-1|0;f=b+(i<<3)|0;h=h-1|0;c=b+(h<<3)|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;m=m+1|0;if((l|0)!=(m|0)){continue}break}}if(j>>>0<3){break q}while(1){j=i<<3;b=N[a+20>>2];f=(j+b|0)-8|0;l=h<<3;c=(l+b|0)-8|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];f=(b+j|0)-16|0;c=(b+l|0)-16|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];f=(b+j|0)-24|0;c=(b+l|0)-24|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];i=i-4|0;f=b+(i<<3)|0;h=h-4|0;c=b+(h<<3)|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;if(h){continue}break}}if((d&q)==1){while(1){g=g-1|0;d=N[e+20>>2]+(g<<3)|0;c=N[d>>2];i=i-1|0;b=N[a+20>>2]+(i<<3)|0;N[b+4>>2]=n;N[b>>2]=c;if(Q[e+16>>2]<=g>>>0){break a}if(Q[a+16>>2]<=i>>>0){break b}d=N[e+32>>2]+(N[d+4>>2]<<6)|0;b=N[d+4>>2];c=N[a+32>>2]+(n<<6)|0;N[c>>2]=N[d>>2];N[c+4>>2]=b;b=N[d+60>>2];N[c+56>>2]=N[d+56>>2];N[c+60>>2]=b;b=N[d+52>>2];N[c+48>>2]=N[d+48>>2];N[c+52>>2]=b;b=N[d+44>>2];N[c+40>>2]=N[d+40>>2];N[c+44>>2]=b;b=N[d+36>>2];N[c+32>>2]=N[d+32>>2];N[c+36>>2]=b;b=N[d+28>>2];N[c+24>>2]=N[d+24>>2];N[c+28>>2]=b;b=N[d+20>>2];N[c+16>>2]=N[d+16>>2];N[c+20>>2]=b;b=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=b;n=n+1|0;if(g){continue}break}}if(i){break c}Df(a,o)}if(!t){break d}N[k+72>>2]=0}_a(p)}La=k+80|0;return}ba(8946,14083,586,18452);B()}ba(13997,14083,950,9755);B()}ba(13997,14083,955,9755);B()}function _p(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=(b<<4)+a|0;if(b>>>0>9){while(1){j=N[a+16>>2];g=(b<<3&-16)+a|0;i=N[g>>2];d=N[a+20>>2];c=N[g+4>>2];f=bb(j,i,c>>>0>d>>>0?d:c);c=((f?f:d-c|0)|0)>0;e=(b<<4)-16|0;f=e+a|0;l=f-16|0;m=N[l>>2];n=a+16|0;b=c?n:g;h=N[b+4>>2];d=N[f-12>>2];o=bb(c?j:i,m,d>>>0>h>>>0?h:d);if(((o?o:h-d|0)|0)>0){g=c?g:n;b=N[g+4>>2];c=bb(c?i:j,m,b>>>0>>0?b:d);b=((c?c:b-d|0)|0)>0?g:l}if((b|0)!=(f|0)){d=O[b|0];L[b|0]=O[f|0];L[f|0]=d;d=O[b+1|0];L[b+1|0]=O[f+1|0];L[f+1|0]=d;d=O[b+2|0];L[b+2|0]=O[f+2|0];L[f+2|0]=d;d=O[b+3|0];L[b+3|0]=O[f+3|0];L[f+3|0]=d;d=O[b+4|0];L[b+4|0]=O[f+4|0];L[f+4|0]=d;d=O[b+5|0];L[b+5|0]=O[f+5|0];L[f+5|0]=d;d=O[b+6|0];L[b+6|0]=O[f+6|0];L[f+6|0]=d;d=O[b+7|0];L[b+7|0]=O[f+7|0];L[f+7|0]=d;d=O[b+8|0];L[b+8|0]=O[f+8|0];L[f+8|0]=d;d=O[b+9|0];L[b+9|0]=O[f+9|0];L[f+9|0]=d;d=O[b+10|0];L[b+10|0]=O[f+10|0];L[f+10|0]=d;d=O[b+11|0];L[b+11|0]=O[f+11|0];L[f+11|0]=d;d=O[b+12|0];L[b+12|0]=O[f+12|0];L[f+12|0]=d;d=O[b+13|0];L[b+13|0]=O[f+13|0];L[f+13|0]=d;d=O[b+14|0];L[b+14|0]=O[f+14|0];L[f+14|0]=d;d=O[b+15|0];L[b+15|0]=O[f+15|0];L[f+15|0]=d}a:{if((e|0)<=0){h=0;break a}j=f;g=f;d=a;b=d;while(1){b:{c=N[b+4>>2];e=N[f+4>>2];i=bb(N[b>>2],N[f>>2],c>>>0>>0?c:e);c=i?i:c-e|0;if((c|0)<=0){if(!c){if(b>>>0>d>>>0){c=O[d|0];L[d|0]=O[b|0];L[b|0]=c;c=O[d+1|0];L[d+1|0]=O[b+1|0];L[b+1|0]=c;c=O[d+2|0];L[d+2|0]=O[b+2|0];L[b+2|0]=c;c=O[d+3|0];L[d+3|0]=O[b+3|0];L[b+3|0]=c;c=O[d+4|0];L[d+4|0]=O[b+4|0];L[b+4|0]=c;c=O[d+5|0];L[d+5|0]=O[b+5|0];L[b+5|0]=c;c=O[d+6|0];L[d+6|0]=O[b+6|0];L[b+6|0]=c;c=O[d+7|0];L[d+7|0]=O[b+7|0];L[b+7|0]=c;c=O[d+8|0];L[d+8|0]=O[b+8|0];L[b+8|0]=c;c=O[d+9|0];L[d+9|0]=O[b+9|0];L[b+9|0]=c;c=O[d+10|0];L[d+10|0]=O[b+10|0];L[b+10|0]=c;c=O[d+11|0];L[d+11|0]=O[b+11|0];L[b+11|0]=c;c=O[d+12|0];L[d+12|0]=O[b+12|0];L[b+12|0]=c;c=O[d+13|0];L[d+13|0]=O[b+13|0];L[b+13|0]=c;c=O[d+14|0];L[d+14|0]=O[b+14|0];L[b+14|0]=c;c=O[d+15|0];L[d+15|0]=O[b+15|0];L[b+15|0]=c}d=d+16|0}b=b+16|0;if(g>>>0>b>>>0){continue}break b}c:{if(b>>>0>=g>>>0){break c}while(1){i=g;d:{e:{g=g-16|0;c=i-12|0;e=N[c>>2];h=N[f+4>>2];l=bb(N[g>>2],N[f>>2],e>>>0>>0?e:h);e=l?l:e-h|0;if(!e){e=j-16|0;if(i>>>0>=j>>>0){break e}c=g;h=e;while(1){j=O[c|0];L[c|0]=O[h|0];L[h|0]=j;h=h+1|0;c=c+1|0;if(i>>>0>c>>>0){continue}break}break e}if((e|0)>=0){break d}if(b>>>0>>0){e=O[b|0];L[b|0]=O[g|0];L[g|0]=e;e=O[b+1|0];h=i-15|0;L[b+1|0]=O[h|0];L[h|0]=e;e=O[b+2|0];h=i-14|0;L[b+2|0]=O[h|0];L[h|0]=e;e=O[b+3|0];h=i-13|0;L[b+3|0]=O[h|0];L[h|0]=e;e=O[b+4|0];L[b+4|0]=O[c|0];L[c|0]=e;c=O[b+5|0];e=i-11|0;L[b+5|0]=O[e|0];L[e|0]=c;c=O[b+6|0];e=i-10|0;L[b+6|0]=O[e|0];L[e|0]=c;c=O[b+7|0];e=i-9|0;L[b+7|0]=O[e|0];L[e|0]=c;c=O[b+8|0];e=i-8|0;L[b+8|0]=O[e|0];L[e|0]=c;c=O[b+9|0];e=i-7|0;L[b+9|0]=O[e|0];L[e|0]=c;c=O[b+10|0];e=i-6|0;L[b+10|0]=O[e|0];L[e|0]=c;c=O[b+11|0];e=i-5|0;L[b+11|0]=O[e|0];L[e|0]=c;c=O[b+12|0];e=i-4|0;L[b+12|0]=O[e|0];L[e|0]=c;c=O[b+13|0];e=i-3|0;L[b+13|0]=O[e|0];L[e|0]=c;c=O[b+14|0];e=i-2|0;L[b+14|0]=O[e|0];L[e|0]=c;c=O[b+15|0];e=i-1|0;L[b+15|0]=O[e|0];L[e|0]=c}b=b+16|0;break c}j=e}if(b>>>0>>0){continue}break}}if(b>>>0>>0){continue}}break}e=g-d|0;f:{if((a|0)==(d|0)|(d|0)==(g|0)){break f}b=d-a|0;if(b>>>0>e>>>0){if((e|0)<=0){break f}d=a+e|0;b=a+b|0;c=a;while(1){f=O[c|0];L[c|0]=O[b|0];L[b|0]=f;b=b+1|0;c=c+1|0;if(d>>>0>c>>>0){continue}break}break f}if((b|0)<=0){break f}d=a+b|0;b=a+e|0;c=a;while(1){f=O[c|0];L[c|0]=O[b|0];L[b|0]=f;b=b+1|0;c=c+1|0;if(d>>>0>c>>>0){continue}break}}h=j-g|0;if((g|0)==(j|0)|(j|0)==(k|0)){break a}b=k-j|0;if(b>>>0>>0){if((b|0)<=0){break a}d=b+g|0;b=g+h|0;while(1){c=O[g|0];L[g|0]=O[b|0];L[b|0]=c;b=b+1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}break a}if((h|0)<=0){break a}d=g+h|0;b=b+g|0;while(1){c=O[g|0];L[g|0]=O[b|0];L[b|0]=c;b=b+1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}_p(a,e>>>4|0);a=k-h|0;k=a+(h&-16)|0;b=h>>>4|0;if(h>>>0>=160){continue}break}}e=a+16|0;if(k>>>0>e>>>0){while(1){d=e;g:{if(d>>>0<=a>>>0){break g}while(1){g=d-16|0;b=N[d-12>>2];c=N[d+4>>2];f=bb(N[g>>2],N[d>>2],b>>>0>>0?b:c);if(((f?f:b-c|0)|0)<=0){break g}b=g;c=d;while(1){f=O[b|0];L[b|0]=O[c|0];L[c|0]=f;c=c+1|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}d=g;if(d>>>0>a>>>0){continue}break}}e=e+16|0;if(k>>>0>e>>>0){continue}break}}}function hg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=0;a:{if(!a){break a}n=N[a+12>>2];d=n>>31;l=N[a+8>>2];c=l>>31;m=N[a+4>>2];b=m>>31;g=N[a>>2];a=g>>31;j=(d^n)-d|0;p=(c^l)-c|0;o=(b^m)-b|0;h=(a^g)-a|0;a=(h|0)<(o|0)?o:h;a=(a|0)<(p|0)?p:a;c=(a|0)<(j|0)?j:a;if(c>>>0>=23171){b:{c:{d:{if(c>>>0<=65535){a=((c<<16|11584)>>>0)/23170|0;k=a;break d}a=2147483647;k=2147483647;if(c>>>0>1518469119){break d}b=c<<16|11585;a=c>>>16|0;d=W(a);e=32-d|0;a=b>>>e|a<>>0)/23170|0;f=T(k,-23170)+a|0;a=b<>>31;b=c>>>0>23169;f=(b?-23170:0)+c|0;k=b|k<<1;e=31-d|0;a=a<<1}if((d|0)!=31){while(1){b=f<<1|a>>>31;d=b>>>0>23169;c=a>>>30&1|(d?2147460478:0)+b<<1;b=c>>>0>23169;f=(b?-23170:0)+c|0;k=b|(k<<2|d<<1);a=a<<2;e=e-2|0;if(e){continue}break}}if(!k){break c}a=k>>31;a=(a^k)-a|0}b=g?(h|0)==2147483647?2147483647:h:2147483647;b=m?b>>>0>o>>>0?o:b:b;b=l?b>>>0>p>>>0?p:b:b;d=n?b>>>0>j>>>0?j:b:b;p=a>>>17^65535;e:{if(d>>>0<=p>>>0){i=((d<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break e}i=2147483647;b=a>>>1|0;c=b+(d<<16)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;if(b>>>0>=a>>>0){break e}d=W(b);f=32-d|0;b=c>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,i)|0;e=c<>>31;c=b>>>0>=a>>>0;i=c|i<<1;f=31-d|0;e=e<<1;j=b-(c?a:0)|0}if((d|0)==31){break e}while(1){b=j<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;j=b-(c?a:0)|0;i=c|(i<<2|d<<1);e=e<<2;f=f-2|0;if(f){continue}break}}c=0;if(!((k|0)<0?0-i|0:i)){break a}b=g>>31;d=(b^g)-b|0;f:{if(d>>>0<=p>>>0){i=((d<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;c=(g|0)>=0;b=c?1:-1;if((k|0)>=0){break f}b=c?-1:1;break f}i=2147483647;b=a>>>1|0;c=b+(d<<16)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;g:{if(b>>>0>=a>>>0){break g}d=W(b);f=32-d|0;b=c>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,i)|0;e=c<>>31;c=b>>>0>=a>>>0;i=c|i<<1;f=31-d|0;e=e<<1;j=b-(c?a:0)|0}if((d|0)==31){break g}while(1){b=j<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;j=b-(c?a:0)|0;i=c|(i<<2|d<<1);e=e<<2;f=f-2|0;if(f){continue}break}}c=(g|0)>=0;b=c?1:-1;if((k|0)>=0){break f}b=c?-1:1}c=m>>31;h=(c^m)-c|0;h:{if(h>>>0<=p>>>0){c=l>>31;e=(c^l)-c|0;d=((h<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;c=(m|0)<0?d:0-d|0;if((k|0)<0){break h}c=(m|0)<0?0-d|0:d;break h}g=2147483647;c=a>>>1|0;d=c+(h<<16)|0;c=(h>>>16|0)+(c>>>0>d>>>0)|0;i:{if(c>>>0>=a>>>0){break i}h=W(c);f=32-h|0;c=d>>>f|c<>>0)/(a>>>0)|0;j=c-T(a,g)|0;e=d<>>31;d=c>>>0>=a>>>0;g=d|g<<1;f=31-h|0;e=e<<1;j=c-(d?a:0)|0}if((h|0)==31){break i}while(1){c=j<<1|e>>>31;h=c>>>0>=a>>>0;c=e>>>30&1|c-(h?a:0)<<1;d=c>>>0>=a>>>0;j=c-(d?a:0)|0;g=d|(g<<2|h<<1);e=e<<2;f=f-2|0;if(f){continue}break}}c=l>>31;e=(c^l)-c|0;c=(m|0)<0?g:0-g|0;if((k|0)<0){break h}c=(m|0)<0?0-g|0:g}m=c;d=(b|0)<0;c=0-i|0;j:{if(e>>>0<=p>>>0){h=((e<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;b=n>>31;e=(b^n)-b|0;b=(l|0)<0?h:0-h|0;if((k|0)<0){break j}b=(l|0)<0?0-h|0:h;break j}g=2147483647;b=a>>>1|0;h=b+(e<<16)|0;b=(e>>>16|0)+(b>>>0>h>>>0)|0;k:{if(b>>>0>=a>>>0){break k}o=W(b);f=32-o|0;b=h>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,g)|0;e=h<>>31;h=b>>>0>=a>>>0;g=h|g<<1;f=31-o|0;e=e<<1;j=b-(h?a:0)|0}if((o|0)==31){break k}while(1){b=j<<1|e>>>31;o=b>>>0>=a>>>0;b=e>>>30&1|b-(o?a:0)<<1;h=b>>>0>=a>>>0;j=b-(h?a:0)|0;g=h|(g<<2|o<<1);e=e<<2;f=f-2|0;if(f){continue}break}}b=n>>31;e=(b^n)-b|0;b=(l|0)<0?g:0-g|0;if((k|0)<0){break j}b=(l|0)<0?0-g|0:g}l=b;g=d?c:i;if(e>>>0<=p>>>0){i=((e<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;a=(n|0)>=0;b=a?1:-1;if((k|0)>=0){break b}b=a?-1:1;break b}i=2147483647;b=a>>>1|0;c=b+(e<<16)|0;b=(e>>>16|0)+(b>>>0>c>>>0)|0;l:{if(b>>>0>=a>>>0){break l}d=W(b);f=32-d|0;b=c>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,i)|0;e=c<>>31;c=b>>>0>=a>>>0;i=c|i<<1;f=31-d|0;e=e<<1;j=b-(c?a:0)|0}if((d|0)==31){break l}while(1){b=j<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;j=b-(c?a:0)|0;i=c|(i<<2|d<<1);e=e<<2;f=f-2|0;if(f){continue}break}}a=(n|0)>=0;b=a?1:-1;if((k|0)>=0){break b}b=a?-1:1;break b}i=2147483647;l=(l|0)<0?-2147483647:2147483647;m=(m|0)<0?-2147483647:2147483647;g=(g|0)<0?-2147483647:2147483647;b=n>>31|1}n=(b|0)<0?0-i|0:i}b=T(g,n);a=T(l,m);c=0;if((b|0)==(a|0)){break a}a=b-a|0;b=a>>31;c=(((T(g,g)+T(m,m)|0)+T(l,l)|0)+T(n,n)>>>0)/((a^b)-b>>>0)>>>0<51}return c}function we(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;k=La+-64|0;La=k;l=N[a>>2];a:{b:{c:{if(O[a+257|0]){s=N[l- -64>>2];t=N[l+56>>2];m=N[l+168>>2];o=N[m+36>>2];y=N[l+144>>2];z=N[m+40>>2];H=N[l+140>>2];I=N[a+252>>2];r=N[a+248>>2];l=N[b+8>>2];m=N[a+240>>2];p=N[b>>2];v=N[a+244>>2];w=N[b+4>>2];a=N[b+12>>2];N[k+12>>2]=a;N[k>>2]=0;N[k+4>>2]=0;n=m;m=c+p|0;c=n-m|0;p=(c|0)<(l|0)?c:l;N[k+8>>2]=p;A=(a|0)>0;q=A&(p|0)>0;n=(q<<4)+k|0;p=d+w|0;d=v-p|0;v=(a|0)>(d|0)?d:a;N[n+12>>2]=v;d=r-m|0;r=(d|0)<(l|0)?d:l;N[n+8>>2]=r;N[n+4>>2]=0;w=n;n=(c|0)>0?c:0;N[w>>2]=n;w=(v|0)>0?q?2:1:q;c=q;q=(n|0)<(r|0);v=q?w:c;c=(v<<4)+k|0;N[c+12>>2]=a;N[c+8>>2]=r;r=I-p|0;r=(r|0)>0?r:0;N[c+4>>2]=r;N[c>>2]=n;q=v+(q&(a|0)>(r|0))|0;c=(q<<4)+k|0;N[c+12>>2]=a;N[c+8>>2]=l;N[c+4>>2]=0;a=(d|0)>0?d:0;N[c>>2]=a;C=+(H|0);u=+(z|0);D=+(t|0);x=C*0/u+D;d:{if(V(x)<2147483648){c=~~x;break d}c=-2147483648}d=(a|0)<(l|0);E=+(y|0);x=+(o|0);F=+(s|0);G=E*0/x+F;e:{if(V(G)<2147483648){a=~~G;break e}a=-2147483648}d=d&A;u=C*u/u+D;f:{if(V(u)<2147483648){l=~~u;break f}l=-2147483648}r=d+q|0;u=E*x/x+F;g:{if(V(u)<2147483648){d=~~u;break g}d=-2147483648}if(!r){break b}q=a-m|0;n=N[k>>2];N[k>>2]=(a|0)>(m+n|0)?q:n;n=c-p|0;s=N[k+4>>2];N[k+4>>2]=(c|0)>(p+s|0)?n:s;s=d-m|0;t=N[k+8>>2];N[k+8>>2]=(d|0)<(m+t|0)?s:t;t=l-p|0;o=N[k+12>>2];N[k+12>>2]=(l|0)<(p+o|0)?t:o;if((r|0)==1){break c}o=N[k+20>>2];N[k+20>>2]=(c|0)>(p+o|0)?n:o;o=N[k+24>>2];N[k+24>>2]=(d|0)<(m+o|0)?s:o;o=N[k+28>>2];N[k+28>>2]=(l|0)<(p+o|0)?t:o;o=N[k+16>>2];N[k+16>>2]=(a|0)>(m+o|0)?q:o;if((r|0)==2){break c}o=N[k+36>>2];N[k+36>>2]=(c|0)>(p+o|0)?n:o;o=N[k+40>>2];N[k+40>>2]=(d|0)<(m+o|0)?s:o;o=N[k+44>>2];N[k+44>>2]=(l|0)<(p+o|0)?t:o;o=N[k+32>>2];N[k+32>>2]=(a|0)>(m+o|0)?q:o;if((r|0)==3){break c}w=n;n=N[k+52>>2];N[k+52>>2]=(c|0)>(p+n|0)?w:n;c=N[k+56>>2];N[k+56>>2]=(d|0)<(c+m|0)?s:c;c=N[k+60>>2];N[k+60>>2]=(l|0)<(c+p|0)?t:c;c=N[k+48>>2];N[k+48>>2]=(a|0)>(c+m|0)?q:c;break c}m=N[a+252>>2];p=(m|0)>0?m:0;m=N[l+136>>2];q=N[b+4>>2]+d|0;d=((m|0)>(p|0)?p:m)-q|0;p=N[b+12>>2];n=(d|0)<(p|0)?d:p;d=N[a+244>>2];d=(d|0)>0?d:0;d=q-((d|0)<(m|0)?d:m)|0;m=d>>31&0-d;if((n|0)<=(m|0)){break b}p=N[b>>2]+c|0;c=N[a+240>>2];c=(c|0)>0?c:0;d=N[l+132>>2];c=p-((c|0)<(d|0)?c:d)|0;c=c>>31&0-c;a=N[a+248>>2];a=(a|0)>0?a:0;a=((a|0)<(d|0)?a:d)-p|0;d=N[b+8>>2];l=(a|0)<(d|0)?a:d;if((c|0)>=(l|0)){break b}d=g-p|0;if((c|0)<(d|0)){s=N[b+20>>2];r=N[b+16>>2];g=c+(s+T(r,m)|0)|0;a=kb(48);if(!a){if(!s|j){break b}_a(N[g-4>>2]);break b}N[a+36>>2]=j;N[a+16>>2]=e;N[a+12>>2]=g;N[a+8>>2]=r;N[a+24>>2]=m+q;N[a+20>>2]=c+p;N[a+4>>2]=n-m;d=(d|0)<(l|0)?d:l;N[a>>2]=d-c;if(j){if(!N[j-8>>2]){break a}e=j-4|0;g=N[e>>2];if(!g){break a}N[e>>2]=g+1;g=0}N[a+44>>2]=0;N[a+40>>2]=g;N[a+32>>2]=i;N[h>>2]=a;h=a+28|0}if((d|0)>=(l|0)){break b}g=N[b+20>>2];e=N[b+16>>2];b=(c|0)<(d|0)?d:c;d=(g+T(e,m)|0)+b|0;a=kb(48);if(!a){if(!g|j){break b}_a(N[d-4>>2]);break b}N[a+36>>2]=j;N[a+16>>2]=f;N[a+12>>2]=d;N[a+8>>2]=e;N[a+24>>2]=m+q;N[a+20>>2]=b+p;N[a+4>>2]=n-m;N[a>>2]=l-b;h:{if(j){if(!N[j-8>>2]){break h}b=j-4|0;c=N[b>>2];if(!c){break h}N[b>>2]=c+1;d=0}N[a+44>>2]=0;N[a+40>>2]=d;N[a+32>>2]=i;N[h>>2]=a;h=a+28|0;break b}break a}c=g-m|0;s=j-4|0;o=j-8|0;a=0;while(1){d=(a<<4)+k|0;t=N[d+8>>2];q=N[d>>2];i:{if((t|0)<=(q|0)){break i}y=N[d+12>>2];n=N[d+4>>2];if((y|0)<=(n|0)){break i}j:{k:{l:{if((c|0)<=(q|0)){g=c;break l}g=N[b+16>>2];l=q+(N[b+20>>2]+T(g,n)|0)|0;d=kb(48);if(!d){if(!j){break k}break b}N[d+36>>2]=j;N[d+16>>2]=e;N[d+12>>2]=l;N[d+8>>2]=g;N[d+24>>2]=p+n;N[d+20>>2]=m+q;N[d+4>>2]=y-n;g=(c|0)<(t|0)?c:t;N[d>>2]=g-q;if(j){if(!N[o>>2]){break a}l=N[s>>2];if(!l){break a}N[s>>2]=l+1;l=0}N[d+44>>2]=0;N[d+40>>2]=l;N[d+32>>2]=i;N[h>>2]=d;h=d+28|0}if((g|0)>=(t|0)){break i}g=(g|0)>(q|0)?g:q;z=N[b+16>>2];l=g+(N[b+20>>2]+T(z,n)|0)|0;d=kb(48);if(d){break j}if(j){break b}}if(!l){break b}_a(N[l-4>>2]);break b}N[d+36>>2]=j;N[d+16>>2]=f;N[d+12>>2]=l;N[d+8>>2]=z;N[d+24>>2]=p+n;N[d+20>>2]=g+m;N[d+4>>2]=y-n;N[d>>2]=t-g;if(j){if(!N[o>>2]){break a}g=N[s>>2];if(!g){break a}N[s>>2]=g+1;l=0}N[d+44>>2]=0;N[d+40>>2]=l;N[d+32>>2]=i;N[h>>2]=d;h=d+28|0}a=a+1|0;if((r|0)!=(a|0)){continue}break}}La=k- -64|0;return h}ba(8916,18290,435,15229);B()}function Of(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1195656518,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{d=N[c>>2];if(d){if((d|0)<=0){break j}N[c>>2]=d+1}L[e+28|0]=0;N[e+36>>2]=c;f=N[c+12>>2];N[e+8>>2]=f;g=N[c+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break i}if(g>>>0>67108863){h=1073741819}else{d=g<<6;d=d>>>0<=16384?16384:d;h=(d>>>0>=1073741823?1073741823:d)-4|0}N[e+24>>2]=0;N[e+4>>2]=0;N[e+32>>2]=0;d=c;if(!f){break c}if(g>>>0<4){break g}N[e+16>>2]=h;if((O[f|0]|O[f+1|0]<<8)!=256){break h}if(ch(f,e+4|0)){break h}if(O[e+28|0]|!N[e+32>>2]){break g}if(!zb(c)){break g}while(1){L[e+28|0]=1;d=N[e+36>>2];f=N[d+12>>2];N[e+8>>2]=f;g=N[d+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break i}if(g>>>0>67108863){h=1073741823}else{h=g<<6;h=h>>>0<=16384?16384:h;h=h>>>0>=1073741823?1073741823:h}N[e+24>>2]=0;N[e+4>>2]=0;N[e+32>>2]=0;if(!f){break c}if(g>>>0<4){break g}N[e+16>>2]=h-4;if((O[f|0]|O[f+1|0]<<8)!=256){break h}if(ch(f,e+4|0)){break h}if(O[e+28|0]|!N[e+32>>2]){break g}d=zb(c);N[e+8>>2]=d;N[e+12>>2]=d+N[c+16>>2];if(d){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[e+32>>2]){break f}N[e+32>>2]=0;if(Q[e+8>>2]>f>>>0){break g}d=N[e+12>>2];if(d>>>0>>0|d-f>>>0<4){break g}d=N[e+16>>2]-4|0;N[e+16>>2]=d;if((d|0)<=0){break g}if((O[f|0]|O[f+1|0]<<8)!=256){break f}d=ch(f,e+4|0);if(N[e+32>>2]){break g}ab(N[e+36>>2]);if(d){break e}break d}ab(N[e+36>>2]);break d}ab(N[e+36>>2])}if(!N[c+4>>2]){break b}N[c+4>>2]=0;break b}ab(c);c=275552;break b}ab(d)}N[a>>2]=c;c=N[c+16>>2];d=N[Vb(b+144|0)>>2];d=N[(d?d:275552)+16>>2];f=d>>>11|0;b=N[mc(b+148|0)>>2];d=N[(b?b:275552)+16>>2]|d<<21;b=c<<10|f;c=b;k:{l:{if((c|0)<=987147&d>>>0<=2743134887|(c|0)<987147){if((c|0)<=452609&d>>>0<=1732289589|(c|0)<452609){if((c|0)<=196614&d>>>0<=843062357|(c|0)<196614){if((c|0)<=192512&d>>>0<=553651553|(c|0)<192512){if((d|0)==1606425686&(c|0)==184326|(d|0)==520097548&(c|0)==192512){break l}break k}if((d|0)==553651554&(c|0)==192512|(d|0)==734010454&(c|0)==196614){break l}break k}if((c|0)<=440321&d>>>0<=1732288213|(c|0)<440321){if((d|0)==843062358&(c|0)==196614|(d|0)==1732286926&(c|0)==440321){break l}break k}if((d|0)==1732288214&(c|0)==440321|(d|0)==1732286668&(c|0)==452609){break l}break k}if((c|0)<=864259&d>>>0<=2428547489|(c|0)<864259){if((c|0)<=501761&d>>>0<=2092999333|(c|0)<501761){if((d|0)==1732289590&(c|0)==452609|(d|0)==2092999598&(c|0)==489473){break l}break k}if((d|0)==2092999334&(c|0)==501761|(d|0)==-1820280774&(c|0)==851971){break l}break k}if((c|0)<=931846&d>>>0<=583055987|(c|0)<931846){if((d|0)==-1866419806&(c|0)==864259|(d|0)==557888902&(c|0)==919558){break l}break k}if((d|0)==1640033596&(c|0)==962571|((d|0)==583055988&(c|0)==931846|(d|0)==1614866372&(c|0)==950283)){break l}break k}m:{if((c|0)<=1071126&d>>>0<=4139790647|(c|0)<1071126){if((c|0)<=1030155&d>>>0<=4072730923|(c|0)<1030155){if((c|0)<=1017867&d>>>0<=4081118127|(c|0)<1017867){if((d|0)==-1551832408&(c|0)==987147|(d|0)==-1560219632&(c|0)==999435){break l}break k}if((d|0)==-213849168&(c|0)==1017867|(d|0)==-629130764&(c|0)==1028124){break l}break k}b=d-61346|0;if(((d>>>0<61346)+1030156|0)==(c|0)&b>>>0<=6){break m}f=c-((d>>>0<4286641516)+1042443|0)|0;b=d+8325780|0;if(!f&b>>>0>6|f){if((d|0)==-222236372&(c|0)==1030155){break l}break k}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break k;default:break l}}if((c|0)<=1083427&d>>>0<=239092841|(c|0)<1083427){if((c|0)<=1071139&d>>>0<=230704581|(c|0)<1071139){if((d|0)==-155176648&(c|0)==1071126|(d|0)==226509528&(c|0)==1071139){break l}break k}if((d|0)==230704582&(c|0)==1071139|(d|0)==-150983126&(c|0)==1083414){break l}break k}if((c|0)<=1361973&d>>>0<=2852184657|(c|0)<1361973){b=(c|0)==1083427;if(b&(d|0)==239092842|b&(d|0)==243286402){break l}break k}if((d|0)==-1442781604&(c|0)==1361973){break l}if((d|0)!=-1442782638|(c|0)!=1361973){break k}break l}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break k;default:break l}}ab(N[a>>2]);N[a>>2]=275552}La=e+48|0;return a}function Rj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=O[a|0]|O[a+1|0]<<8;if(e){p=(e<<8|e>>>8)&65535;n=a+2|0;while(1){h=275552;e=O[n|0]|O[n+1|0]<<8;if(e){h=((e<<8|e>>>8)&65535)+a|0}j=O[h+2|0]|O[h+3|0]<<8;d=h+4|0;i=O[h|0]|O[h+1|0]<<8;g=(i<<8|i>>>8)&65535;a:{if(g>>>0<2){break a}l=N[c+4>>2];k=N[b+12>>2];m=N[c>>2];e=d;f=g-1|0;if(f&1){e=O[h+4|0]|O[h+5|0]<<8;Qa[m|0](k,(e<<8|e>>>8)&65535,l);f=g-2|0;e=h+6|0}if((i|0)==512){break a}while(1){h=O[e|0]|O[e+1|0]<<8;Qa[m|0](k,(h<<8|h>>>8)&65535,l);h=O[e+2|0]|O[e+3|0]<<8;Qa[m|0](k,(h<<8|h>>>8)&65535,l);e=e+4|0;f=f-2|0;if(f){continue}break}}if(j){r=(j<<8|j>>>8)&65535;s=d+(i?(g<<1)-2|0:0)|0;o=0;while(1){h=N[b+32>>2];b:{if(!h|!N[b+24>>2]|N[b+20>>2]==275552){break b}e=s+(o<<2)|0;e=O[e+2|0]|O[e+3|0]<<8;m=(e<<8|e>>>8)&65535;l=m>>>9|0;e=N[b+28>>2];g=N[e+32>>2];c:{d:{e:{f=N[e+20>>2];j=N[e+28>>2];if(f>>>0>=j>>>0){break e}f=g+(f<<3)|0;if(N[f>>2]!=(l|0)){break e}d=f+4|0;break d}i=0;if((j|0)<=0){break c}f=j-1|0;i=0;f:{while(1){d=f+i>>>1|0;k=g+(d<<3)|0;q=N[k>>2];g:{if((q|0)>(l|0)){f=d-1|0;break g}if((l|0)==(q|0)){break f}i=d+1|0}if((f|0)>=(i|0)){continue}break}i=0;break c}N[e+20>>2]=d;d=(d>>>0>=j>>>0?275552:k)+4|0}j=N[e+44>>2];i=0;if(!j){break c}f=(j+(N[d>>2]<<6)|0)+(m>>>3&56)|0;i=N[f>>2];j=N[f+4>>2];d=m&63;f=d&31;i=((d&63)>>>0>=32?j>>>f|0:((1<>>f)&1}if((i|0)!=O[e+48|0]){break b}e=N[b+16>>2];N[b+16>>2]=275552;f=N[b+8>>2];d=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=h-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,m);N[b+16>>2]=e;N[b+8>>2]=f;N[b+12>>2]=d;N[b+32>>2]=N[b+32>>2]+1;g=N[b+28>>2];e=O[g+12|0];if(O[g+48|0]){if(!e){break b}d=N[g+20>>2];f=N[g+28>>2];e=N[g+32>>2];if(!(d>>>0>>0&N[e+(d<<3)>>2]==(l|0))){if((f|0)<=0){break b}f=f-1|0;i=0;while(1){h:{d=f+i>>>1|0;j=N[e+(d<<3)>>2];i:{if((j|0)>(l|0)){f=d-1|0;break i}if((j|0)==(l|0)){break h}i=d+1|0}if((f|0)>=(i|0)){continue}break b}break}N[g+20>>2]=d}f=N[g+44>>2];if(!f){break b}e=N[(e+(d<<3)|0)+4>>2];N[g+16>>2]=-1;e=(f+(e<<6)|0)+(m>>>3&56)|0;f=N[e>>2];d=N[e+4>>2];t=e,u=_E(-2,-1,m)&f,N[t>>2]=u;N[e+4>>2]=Pa&d;break b}if(!e){break b}N[g+16>>2]=-1;d=N[g+32>>2];j:{k:{e=N[g+20>>2];f=N[g+28>>2];if(e>>>0>=f>>>0){break k}e=(e<<3)+d|0;if(N[e>>2]!=(l|0)){break k}e=e+4|0;break j}e=N[g+40>>2];l:{m:{if((f|0)<=0){f=0;break m}i=f-1|0;f=0;while(1){j=f+i>>>1|0;h=N[(j<<3)+d>>2];n:{if((h|0)>(l|0)){i=j-1|0;break n}if((h|0)==(l|0)){f=j;break l}f=j+1|0}if((f|0)<=(i|0)){continue}break}}o:{p:{j=g+36|0;h=N[j>>2];q:{if((h|0)<0){break q}r:{s:{d=e;i=d+1|0;k=(i|0)>0?i:0;if(k>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(k>>>0>=h>>>0){continue}break}i=j;if(h>>>0>67108863){break s}d=$a(N[g+44>>2],h<<6);if(!d){break s}N[g+36>>2]=h;N[g+44>>2]=d;d=N[g+40>>2]}if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,k-d<<6)}N[g+40>>2]=k;i=g+24|0;d=N[i>>2];if((d|0)<0){break r}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(k>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break s}h=$a(N[g+32>>2],d<<3);if(!h){break s}N[g+24>>2]=d;N[g+32>>2]=h}d=N[g+28>>2];if(d>>>0>>0){C(N[g+32>>2]+(d<<3)|0,0,k-d<<3)}N[g+28>>2]=k;d=N[g+44>>2]+(e<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=f<<3;j=d+N[g+32>>2]|0;F(j+8|0,j,N[g+28>>2]+(f^-1)<<3);if(Q[g+28>>2]>f>>>0){break p}N[147456]=0;N[147457]=0;d=589824;break o}N[i>>2]=-1}f=N[g+36>>2];if((f|0)<0){break q}e=N[g+28>>2];e=(e|0)>0?e:0;if(e>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(e>>>0>=f>>>0){continue}break}t:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break t}}N[j>>2]=-1;L[g+12|0]=0;break b}N[g+36>>2]=f;N[g+44>>2]=d}f=N[g+40>>2];if(f>>>0>>0){C(N[g+44>>2]+(f<<6)|0,0,e-f<<6)}N[g+40>>2]=e}L[g+12|0]=0;break b}d=d+N[g+32>>2]|0}N[d>>2]=l;N[d+4>>2]=e;d=N[g+32>>2]}N[g+20>>2]=f;e=((f<<3)+d|0)+4|0}f=N[g+44>>2];if(!f){break b}e=(f+(N[e>>2]<<6)|0)+(m>>>3&56)|0;j=N[e+4>>2];d=m&63;f=d&31;if((d&63)>>>0>=32){d=1<>>32-f;i=h}N[e>>2]=i|N[e>>2];N[e+4>>2]=d|j}o=o+1|0;if((r|0)!=(o|0)){continue}break}}n=n+2|0;p=p-1|0;if(p){continue}break}}}function Pl(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=La-16|0;La=m;h=8;a:{if(e>>>0>100){break a}b:{h=N[a+32>>2];if(!h){break b}i=N[a+40>>2];j=N[a+36>>2]+N[a+28>>2]|0;g=j;while(1){k=O[g+1|0]|O[g|0]<<8;if(!(k>>>0<=b>>>0&(O[g+3|0]|O[g+2|0]<<8)>>>0>=b>>>0)){g=g+8|0;h=h-1|0;if(h){continue}break b}break}h=8;g=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(g>>>0>i-j>>>0){break a}g=g+j|0;h=g+8|0;if(h>>>0>i>>>0){break b}j=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);n=O[g+2|0];o=O[g+3|0];c:{d:{e:{f:{g:{h:{l=O[g|0]|O[g+1|0]<<8;switch(((l<<8|l>>>8)&65535)-1|0){case 1:break g;case 0:break h;case 4:case 18:break d;case 3:break e;case 2:break f;default:break b}}h=h+(b-k<<2)|0;if(i>>>0>>0){break b}b=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);g=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if((b|0)!=(g|0)){break c}break b}if(i>>>0>>0){break b}N[m+12>>2]=g+12;h=O[g+11|0];l=O[g+10|0];p=O[g+9|0];g=O[g+8|0];if(vh(a,m+12|0,i)){break b}i=b-k|0;b=h|(p<<16|g<<24|l<<8);g=T(i,b);b=g+b|0;break c}h=h+(b-k<<1)|0;if(i>>>0>>0){break b}b=O[h+3|0]|O[h+2|0]<<8;g=O[h+1|0]|O[h|0]<<8;if((b|0)!=(g|0)){break c}break b}h=g+12|0;if(i>>>0>>0|i>>>0>>0){break b}g=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(k-1>>>0>=(i-h>>2)-1>>>0){break b}g=0;while(1){if((O[h+1|0]|O[h|0]<<8)==(b|0)){b=O[h+7|0]|O[h+6|0]<<8;g=O[h+3|0]|O[h+2|0]<<8;break c}h=h+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}break b}if(i>>>0>>0){break b}N[m+12>>2]=g+12;h=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);if(vh(a,m+12|0,i)){break b}g=N[m+12>>2];k=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);k=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);g=g+4|0;if(k-1>>>0>=i-g>>1>>>0){break b}i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);h=0;while(1){if((O[g+1|0]|O[g|0]<<8)!=(b|0)){g=g+2|0;h=h+1|0;if((k|0)!=(h|0)){continue}break b}break}g=T(h,i);b=i+g|0}if(b>>>0>>0){break b}l=o|n<<8;i=La-16|0;La=i;h=6;b=b-g|0;j=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))+g|0;i:{if(!b|Q[a+24>>2]>>0){break i}g=j+N[a+20>>2]|0;k=N[a+4>>2];j=N[k+20>>2];j:{if(j){h=85;if(!(Qa[j|0](k,g,0,0)|0)){break j}break i}h=85;if(g>>>0>Q[k+4>>2]){break i}}N[k+8>>2]=g;h=fc(k,b,i+8|0);if(h){break i}j=N[i+8>>2];N[i+12>>2]=j;n=b+j|0;h=7;k:{l:{m:{n:{o:{p:{q:{r:{switch(l-1|0){case 0:case 1:case 7:case 16:h=6;if((b|0)<5){break k}b=N[a+12>>2];M[b>>1]=O[j|0];M[b+2>>1]=O[j+1|0];M[b+4>>1]=L[j+2|0];M[b+6>>1]=L[j+3|0];h=O[j+4|0];M[b+14>>1]=0;M[b+10>>1]=0;M[b+12>>1]=0;M[b+8>>1]=h;L[a+16|0]=1;N[i+12>>2]=j+5;break q;case 18:break k;case 4:break p;case 5:case 6:case 8:case 17:break r;default:break l}}h=vh(a,i+12|0,n);if(h){break k}}o=187;h=7;s:{switch(l-1|0){case 16:case 17:break k;case 0:case 5:break m;case 8:break n;case 7:break o;case 4:break p;case 1:case 6:break s;default:break l}}h=N[a+12>>2];b=P[h>>1];g=P[h+2>>1];h=T(b,g+7>>>3|0);if(h>>>0<=T(b,g)+7>>>3>>>0){break p}if((h|0)==(n-N[i+12>>2]|0)){break m}}o=188;break m}h=0;b=N[i+12>>2]+1|0;if(b>>>0>n>>>0){break k}N[i+12>>2]=b}o=189}if(!O[a+17|0]){b=6;t:{if(!O[a+16|0]){break t}g=N[a+12>>2];b=P[g+2>>1];h=N[a+8>>2];l=P[g>>1];N[h>>2]=l;N[h+4>>2]=b;g=3;u:{v:{w:{x:{switch(O[a+18|0]-1|0){case 0:L[h+18|0]=1;b=b+7>>>3|0;g=2;break v;case 1:L[h+18|0]=3;b=b+3>>>2|0;g=4;break v;case 3:L[h+18|0]=4;b=b+1>>>1|0;g=16;break v;case 7:L[h+18|0]=2;break w;case 31:break x;default:break u}}L[h+18|0]=7;b=b<<2}g=256}M[h+16>>1]=g;N[h+8>>2]=b;g=0;if(f){break u}l=T(b,l);if(!l){break u}h=N[N[a>>2]+84>>2];b=N[N[h+4>>2]+100>>2];g=N[h+156>>2];p=N[g+4>>2];y:{if(p&1){g=N[h+88>>2];if(g){Qa[N[b+8>>2]](b,g)}N[h+88>>2]=0;break y}N[g+4>>2]=p|1}z:{if((l|0)<=0){b=6}else{b=Qa[N[b+4>>2]](b,l)|0;if(b){break z}b=64}N[h+88>>2]=0;break t}g=0;C(b,0,l);N[h+88>>2]=b;L[a+17|0]=1}b=g}h=b;if(h){break k}}h=0;if(f){break k}h=Qa[o|0](a,N[i+12>>2],n,c,d,e)|0;break k}h=8}if(!N[k+20>>2]|!j){break i}a=N[k+28>>2];Qa[N[a+8>>2]](a,j)}La=i+16|0;break a}h=e?21:157}La=m+16|0;return h}function Fs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=La-16|0;La=l;h=N[a+16>>2];d=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if(!e){break a}i=h+10|0;b:{while(1){d=e+f>>>1|0;g=i+T(d,11)|0;j=O[g+1|0]<<8|O[g|0]<<16|O[g+2|0];c:{if(j>>>0>c>>>0){e=d;break c}if(c>>>0<=j>>>0){break b}f=d+1|0}if(e>>>0>f>>>0){continue}break}f=0;break a}f=0;c=O[g+3|0]|O[g+4|0]<<8|(O[g+5|0]<<16|O[g+6|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=O[g+7|0]|O[g+8|0]<<8|(O[g+9|0]<<16|O[g+10|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!(c|d)){break a}d:{if(!c){c=d+h|0;d=O[c+3|0];f=O[c+2|0];g=O[c+1|0];i=O[c|0];e=N[a+28>>2];N[l+4>>2]=0;g=d|(g<<16|i<<24|f<<8);i=g+1|0;e:{if(i>>>0<=e>>>0){f=N[a+32>>2];break e}N[a+36>>2]=b;f=lb(b,4,e,i,N[a+32>>2],l+4|0);N[a+32>>2]=f;if(N[l+4>>2]){break d}N[a+28>>2]=i}f:{if(!g){break f}a=d&1;d=c+4|0;e=0;if((g|0)!=1){b=g-a|0;while(1){c=e<<2;N[c+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);N[(c|4)+f>>2]=O[d+7|0]|(O[d+6|0]<<8|O[d+5|0]<<16);d=d+10|0;e=e+2|0;if((b|0)!=(e|0)){continue}break}}if(!a){break f}N[(e<<2)+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16)}N[(g<<2)+f>>2]=0;break a}if(!d){f=Nl(a,c+h|0,b);break a}j=d+h|0;m=O[j+3|0];i=m|(O[j+1|0]<<16|O[j|0]<<24|O[j+2|0]<<8);h=c+h|0;c=O[h+3|0];g:{h:{n=c|(O[h+1|0]<<16|O[h|0]<<24|O[h+2|0]<<8);i:{if(n){k=c&3;f=h+7|0;g=0;j:{if(n>>>0<4){e=0;d=f;break j}o=n-k|0;e=0;c=0;while(1){e=(O[f+12|0]+(O[f+8|0]+(O[f+4|0]+(O[f|0]+e|0)|0)|0)|0)+4|0;d=f+16|0;f=d;c=c+4|0;if((o|0)!=(c|0)){continue}break}}if(k){while(1){e=(O[d|0]+e|0)+1|0;d=d+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if(!i){break i}if(e){break h}break g}if(i){break g}}f=Nl(a,h,b);break a}c=N[a+28>>2];N[l+12>>2]=0;d=(e+i|0)+1|0;k:{if(d>>>0<=c>>>0){f=N[a+32>>2];break k}N[a+36>>2]=b;f=lb(b,4,c,d,N[a+32>>2],l+12|0);N[a+32>>2]=f;if(N[l+12>>2]){break d}N[a+28>>2]=d}m=O[j+6|0]|(O[j+5|0]<<8|O[j+4|0]<<16);g=O[h+6|0]|(O[h+5|0]<<8|O[h+4|0]<<16);c=j+9|0;a=h+8|0;b=O[h+7|0];e=0;j=1;k=1;while(1){l:{if(b+g>>>0>>0){d=b+1|0;p=d&3;h=0;m:{if(b>>>0<3){d=0;break m}q=d&-4;d=0;while(1){o=(e<<2)+f|0;N[o>>2]=d+g;N[o+12>>2]=(d|3)+g;N[o+8>>2]=(d|2)+g;N[o+4>>2]=(d|1)+g;e=e+4|0;d=d+4|0;if((q|0)!=(d|0)){continue}break}}if(p){while(1){N[(e<<2)+f>>2]=d+g;d=d+1|0;e=e+1|0;h=h+1|0;if((p|0)!=(h|0)){continue}break}}j=j+1|0;if(n>>>0>>0){break l}g=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);b=O[a+3|0];a=a+4|0;continue}if(g>>>0>m>>>0){N[(e<<2)+f>>2]=m;e=e+1|0}k=k+1|0;if(i>>>0>>0){break l}m=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);c=c+5|0;continue}break}n:{if(i>>>0>=k>>>0){N[(e<<2)+f>>2]=m;e=e+1|0;if(i>>>0<=k>>>0){break n}while(1){N[(e<<2)+f>>2]=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);e=e+1|0;c=c+5|0;k=k+1|0;if(i>>>0>k>>>0){continue}break}break n}if(j>>>0>n>>>0){break n}d=b+1|0;c=d&3;h=0;o:{if(b>>>0<3){d=0;break o}i=d&-4;d=0;while(1){b=(e<<2)+f|0;N[b>>2]=d+g;N[b+12>>2]=(d|3)+g;N[b+8>>2]=(d|2)+g;N[b+4>>2]=(d|1)+g;e=e+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}if(c){while(1){N[(e<<2)+f>>2]=d+g;d=d+1|0;e=e+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}if(j>>>0>=n>>>0){break n}while(1){b=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);c=O[a+3|0];d=c+1|0;g=d&3;h=0;p:{if(c>>>0<3){d=0;break p}i=d&508;d=0;while(1){c=(e<<2)+f|0;N[c>>2]=b+d;N[c+12>>2]=b+(d|3);N[c+8>>2]=b+(d|2);N[c+4>>2]=b+(d|1);e=e+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}if(g){while(1){N[(e<<2)+f>>2]=b+d;d=d+1|0;e=e+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}a=a+4|0;j=j+1|0;if(n>>>0>j>>>0){continue}break}}N[(e<<2)+f>>2]=0;break a}c=N[a+28>>2];N[l+8>>2]=0;d=i+1|0;q:{if(d>>>0<=c>>>0){f=N[a+32>>2];break q}N[a+36>>2]=b;f=lb(b,4,c,d,N[a+32>>2],l+8|0);N[a+32>>2]=f;if(N[l+8>>2]){break d}N[a+28>>2]=d}a=m&1;d=j+4|0;e=0;if((i|0)!=1){b=i-a|0;while(1){c=e<<2;N[c+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);N[(c|4)+f>>2]=O[d+7|0]|(O[d+6|0]<<8|O[d+5|0]<<16);d=d+10|0;e=e+2|0;if((b|0)!=(e|0)){continue}break}}if(a){N[(e<<2)+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16)}N[(i<<2)+f>>2]=0;break a}f=0}La=l+16|0;return f|0}function tp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;c=T(b,1348)+a|0;k=N[c- -64>>2];p=N[c+56>>2];r=k+T(p,44)|0;a:{if((b|0)==1){if((p|0)<=0){break a}q=N[a+2748>>2];t=O[N[(N[N[q>>2]+8>>2]<<2)+288704>>2]+12|0];i=a+2744|0;c=k;while(1){f=O[c+12|0];b:{if(f&4){break b}c:{d:{e:{f:{g:{e=N[c+20>>2];d=N[c+24>>2];h:{if(!e|!d){break h}o=N[d+20>>2];if(!o){break g}g=O[d+12|0];if(g&8){N[d+20>>2]=0;L[d+12|0]=g&247;e=N[c+20>>2];break h}if(!(f&8)){break g}e=0;N[c+20>>2]=0;L[c+12|0]=f&247}if(!d|e){break f}e=N[d+20>>2];if(!e){break b}e=N[e+8>>2];N[d+8>>2]=e;g=O[d+12|0]|4;L[d+12|0]=g;f=d;d=c;break d}e=N[e+8>>2];g=f|4;L[c+12|0]=g;N[c+8>>2]=e;break e}if(!e){break b}e=N[e+8>>2];N[c+8>>2]=e;g=O[c+12|0]|4;L[c+12|0]=g;if(!d){break c}o=N[d+20>>2]}f=c;if(o){break c}}f=N[f+4>>2];j=N[d+4>>2]-f|0;l=e-f|0;f=O[d+12|0];g=pf(N[i>>2],q,1,j,l,g&255,f);L[d+12|0]=f|4;N[d+8>>2]=e+g}h=h?h:c}c=c+44|0;if(r>>>0>c>>>0){continue}break}}if((p|0)>0){o=a+2748|0;q=a+2744|0;c=k;while(1){e=O[c+12|0];i:{if(e&4){break i}d=N[c+24>>2];if(!d){u=u+1|0;break i}if(N[d+20>>2]){a=N[d+4>>2];f=N[d+8>>2];a=pf(N[q>>2],N[o>>2],b,N[c+4>>2]-a|0,f-a|0,O[d+12|0],e);L[c+12|0]=e|4;N[c+8>>2]=a+f;break i}f=N[c+4>>2];if(!h){l=N[q>>2];m=N[o>>2];g=N[d+4>>2]-f|0;a=pf(l,m,b,g,0,e,O[d+12|0]);j:{if((a|0)<=95){h=f+(g>>1)|0;s=h+32&-64;n=(a|0)<65;i=s+(n?-32:-38)|0;v=h-i|0;j=v>>31;n=s|(n?32:26);s=h-n|0;h=s>>31;h=((a|0)/-2|0)+((j^v)-j>>>0<(h^s)-h>>>0?i:n)|0;N[c+8>>2]=h;N[d+8>>2]=a+h;h=N[c+8>>2];break j}h=f+32&-64;N[c+8>>2]=h}a=e|4;L[c+12|0]=a;w=d,x=pf(l,m,b,g,h-f|0,a,O[d+12|0])+h|0,N[w+8>>2]=x;h=c;break i}i=N[h+4>>2];j=N[h+8>>2];g=N[d+4>>2]-f|0;l=O[d+12|0];a=pf(N[q>>2],N[o>>2],b,g,0,e,l);k:{if(l&4){g=N[d+8>>2]-a|0;a=c;break k}i=j+(f-i|0)|0;f=i+(g>>1)|0;l:{if((a|0)<=95){j=f+32&-64;i=(a|0)<65;l=j+(i?-32:-38)|0;m=f-l|0;g=m>>31;i=j|(i?32:26);j=f-i|0;f=j>>31;f=(g^m)-g>>>0<(f^j)-f>>>0?l:i;a=(a|0)/2|0;N[c+8>>2]=f-a;g=a+f|0;break l}m=a>>>1|0;j=i+32|0;l=j&-64;n=m+(l-f|0)|0;i=n>>31;g=(g+j&-64)-a|0;j=g+(m-f|0)|0;f=j>>31;f=(i^n)-i>>>0<(f^j)-f>>>0?l:g;N[c+8>>2]=f;g=a+f|0}a=d}N[a+8>>2]=g;L[c+12|0]=e|4;L[d+12|0]=O[d+12|0]|4;if(c>>>0<=k>>>0){break i}a=N[c-36>>2];e=N[c+8>>2];m:{if(t){if((a|0)<(e|0)){break m}break i}if((a|0)<=(e|0)){break i}}e=N[d+8>>2]-a|0;d=e>>31;if((d^e)-d>>>0<17){break i}N[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}}n:{if(b){break n}c=4;e=2;d=k;o:{switch(p-6|0){case 6:d=k+44|0;c=9;e=5;break;case 0:break o;default:break n}}e=T(e,44)+k|0;a=T(c,44)+k|0;f=(N[e+4>>2]<<1)-(N[d+4>>2]+N[a+4>>2]|0)|0;b=f>>31;if((b^f)-b>>>0>7){break n}b=N[a+8>>2];d=(N[e+8>>2]<<1)-N[d+8>>2]|0;N[a+8>>2]=d;b=b-d|0;a=N[a+24>>2];if(a){N[a+8>>2]=N[a+8>>2]-b}if((p|0)==12){N[k+360>>2]=N[k+360>>2]-b;N[k+492>>2]=N[k+492>>2]-b}b=T(c,44)+k|0;L[b+12|0]=O[b+12|0]|4;if(!a){break n}L[a+12|0]=O[a+12|0]|4}if(!(!h|(u|0)!=0)|(p|0)<=0){break a}c=k;while(1){f=O[c+12|0];p:{if(f&4){break p}q:{r:{a=N[c+28>>2];if(!a){break r}d=N[a+4>>2];e=N[c+4>>2];g=d-e|0;b=g>>31;if((b^g)-b>>>0>79){break r}d=e+(N[a+8>>2]-d|0)|0;break q}d=c;if(!h){d=N[c+4>>2]+32&-64;h=c;break q}while(1){b=d;d=d-44|0;g=k>>>0>d>>>0;if(!(g|O[b-32|0]&4)){continue}break}e=c;s:{while(1){a=e;e=a+44|0;if(r>>>0<=e>>>0){break s}if(!(O[a+56|0]&4)){continue}break}if(c>>>0<=d>>>0|g|c>>>0>=e>>>0){break s}b=b-44|0;d=N[b+8>>2];e=N[a+48>>2];b=N[b+4>>2];if((e|0)==(b|0)){break q}d=jb(N[c+4>>2]-b|0,N[a+52>>2]-d|0,e-b|0)+d|0;break q}d=N[h+8>>2]+((N[c+4>>2]-N[h+4>>2]|0)+16&-32)|0}N[c+8>>2]=d;L[c+12|0]=f|4;t:{if(c>>>0<=k>>>0){break t}a=N[c-36>>2];u:{if(t){if((a|0)<(d|0)){break u}break t}if((a|0)<=(d|0)){break t}}b=N[c+24>>2];if(!b){break t}e=N[b+8>>2]-a|0;b=e>>31;if((b^e)-b>>>0<17){break t}N[c+8>>2]=a;d=a}if(!(O[c+56|0]&4)|c+44>>>0>=r>>>0){break p}a=N[c+52>>2];v:{if(t){if((a|0)>(d|0)){break v}break p}if((a|0)>=(d|0)){break p}}b=N[c+24>>2];if(!b){break p}d=N[b+8>>2]-N[c-36>>2]|0;b=d>>31;if((b^d)-b>>>0<17){break p}N[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}}}function kd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=U(0),j=0,k=0,l=0,m=U(0),n=0,o=U(0),p=0,q=0,r=0,s=0,t=0,u=U(0),v=U(0),w=0,x=U(0),y=0,z=0,A=0,B=0,D=0,E=0;a:{b:{e=N[a+8>>2];y=N[b+4>>2]-N[b>>2]|0;t=y+1|0;z=N[b+12>>2]-N[b+8>>2]|0;A=z+1|0;B=T(t,A);f=B<<4;if(e>>>0>>0){break b}c:{if(!(+(e>>>0)>=+(f>>>0)*1.3)){N[a+4>>2]=0;break c}e=N[a+4>>2]+1|0;N[a+4>>2]=e;if(e>>>0>9){break b}}C(N[a>>2],0,f);j=N[a>>2];break a}_a(N[a>>2]);j=db(1,f);N[a>>2]=j;N[a+4>>2]=0;N[a+8>>2]=j?f:0}d:{if(j){q=N[b+12>>2];n=N[b+4>>2];D=N[b+8>>2];E=N[b>>2];while(1){k=N[c+20>>2];e:{if((k|0)<(E|0)){break e}d=N[c+24>>2];if((d|0)<(D|0)){break e}s=N[c>>2];if(!s){break e}w=N[c+4>>2];if(!w|(n|0)<((k+s|0)-1|0)|((d+w|0)-1|0)>(q|0)){break e}h=N[c+16>>2];f=(h^-1)&255;if(!f|(w|0)<=0|(s|0)<=0){break e}e=N[c+8>>2];g=(e|0)>(s|0)?e:s;l=k-E|0;o=U(+(f|0)/255);u=U(+(h>>>24>>>0)/255);m=U(+((h>>>8&255)>>>0)/255);i=U(+((h>>>16&255)>>>0)/255);h=N[c+12>>2];r=T(d-D|0,t);d=0;f=0;while(1){k=l+r|0;e=0;while(1){p=(e+k<<4)+j|0;v=U(U(o*U(O[h+(e+f|0)|0]))/U(255));x=U(U(1)-v);R[p+12>>2]=U(R[p+12>>2]*x)+v;R[p>>2]=U(u*v)+U(R[p>>2]*x);R[p+4>>2]=U(i*v)+U(x*R[p+4>>2]);R[p+8>>2]=U(m*v)+U(x*R[p+8>>2]);e=e+1|0;if((s|0)!=(e|0)){continue}break}r=r+t|0;f=f+g|0;d=d+1|0;if((w|0)!=(d|0)){continue}break}}c=N[c+28>>2];if(c){continue}break}e=a+12|0;g=B<<2;h=g>>>0>Q[a+44>>2];l=O[a+48|0];f=h&!l;c=f?e:0;d=l?0:h?0:e;f:{g:{if(O[a+88|0]){break g}e=a+52|0;k=N[a+84>>2];if(k>>>0>=g>>>0){if(!(h|l)&k>>>0>=Q[d+32>>2]){break g}d=e;break g}if(!f|k>>>0>2]){break f}}e=c}h:{i:{if(O[a+128|0]){break i}f=a+92|0;c=N[a+124>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break i}d=f;break i}if(!e|c>>>0>2]){break h}}f=e}j:{k:{if(O[a+168|0]){break k}e=a+132|0;c=N[a+164>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break k}d=e;break k}if(!f|c>>>0>2]){break j}}e=f}l:{m:{if(O[a+208|0]){break m}f=a+172|0;c=N[a+204>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break m}d=f;break m}if(!e|c>>>0>2]){break l}}f=e}n:{o:{if(O[a+248|0]){break o}e=a+212|0;c=N[a+244>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break o}d=e;break o}if(!f|c>>>0>2]){break n}}e=f}p:{q:{if(O[a+288|0]){break q}f=a+252|0;c=N[a+284>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break q}d=f;break q}if(!e|c>>>0>2]){break p}}f=e}r:{s:{if(O[a+328|0]){break s}e=a+292|0;c=N[a+324>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break s}d=e;break s}if(!f|c>>>0>2]){break r}}e=f}t:{if(O[a+368|0]){break t}c=a+332|0;a=N[a+364>>2];if(a>>>0>=g>>>0){if(a>>>0>=Q[d+32>>2]?d:0){break d}d=c;break d}if(a>>>0>=Q[e+32>>2]?e:0){break t}e=c}if(d){break d}d=e;if(d){break d}rj(24777);return 0}vd(25084,44,1,588952);return 0}u:{v:{a=N[d+32>>2];if(a>>>0>>0){break v}w:{if(!(+(a>>>0)>=+(g>>>0)*1.3)){N[d+28>>2]=0;break w}a=N[d+28>>2]+1|0;N[d+28>>2]=a;if(a>>>0>9){break v}}C(N[d+24>>2],0,g);n=N[d+24>>2];break u}_a(N[d+24>>2]);n=db(1,g);N[d+24>>2]=n;N[d+28>>2]=0;N[d+32>>2]=n?g:0}if(!n){rj(24825);return 0}L[d+36|0]=1;l=0;if((y|z)>=0){r=0;while(1){g=0;while(1){a=g+l|0;e=a<<2;f=e+n|0;o=R[((a<<4)+j|0)+12>>2];if(o>U(.0035294117406010628)){a=o>2]/o);a=m>2]/o);e=uU(.0035294117406010628)?a?q:255:0);m=U(R[(h|8)+j>>2]/o);c=mU(.0035294117406010628)?e?q<<8:65280:0)|a;i=U(m*U(255));A:{if(U(V(i))U(.0035294117406010628)?c?e<<16:16711680:0)}else{a=0}N[f>>2]=a;a=(g|0)==(y|0);g=g+1|0;if(!a){continue}break}l=l+t|0;a=(r|0)==(z|0);r=r+1|0;if(!a){continue}break}}N[d>>2]=N[b>>2];a=N[b+8>>2];N[d+16>>2]=n;N[d+12>>2]=A;N[d+8>>2]=t;N[d+4>>2]=a;return d}function SD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;o=La-16|0;La=o;a:{b:{c:{d:{m=N[b>>2];i=aq(m+28|0);a=N[i+4>>2];e:{if((a|0)==65536){b=258}else{if((a|0)!=131072){break e}a=N[i+8>>2];a=O[a|0]|O[a+1|0]<<8;if(!a){break e}b=(a<<8|a>>>8)&65535}k=d;if((k|0)<0){k=nb(c)}if(!k){break e}a=N[i+28>>2];f:{if(a){break f}a=kb(b<<1);g:{h:{if(b){if(!a){break e}f=0;if(b>>>0>=8){h=b&65528;while(1){M[(f<<1)+a>>1]=f;j=f|1;M[(j<<1)+a>>1]=j;j=f|2;M[(j<<1)+a>>1]=j;j=f|3;M[(j<<1)+a>>1]=j;j=f|4;M[(j<<1)+a>>1]=j;j=f|5;M[(j<<1)+a>>1]=j;j=f|6;M[(j<<1)+a>>1]=j;j=f|7;M[(j<<1)+a>>1]=j;f=f+8|0;if((h|0)!=(f|0)){continue}break}}h=b&7;if(h){while(1){M[(f<<1)+a>>1]=f;f=f+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}cj(a,b,i);f=N[i+28>>2];if(!f){break h}_a(a);a=f;break f}if(!a){break e}cj(a,0,i);f=N[i+28>>2];if(f){break g}}N[i+28>>2]=a;break f}_a(a);a=f}f=b-1|0;n=N[i+20>>2];q=N[i+16>>2];r=N[i+24>>2];j=N[i+8>>2];h=0;b=N[i+4>>2];s=(b|0)==131072;t=(b|0)!=65536;while(1){p=f+h|0;i=P[(p&-2)+a>>1];i:{if(!s){g=0;b=0;if(i>>>0>257|t){break i}b=i<<2;g=N[b+267632>>2];b=N[b+267636>>2]+(g^-1)|0;g=g+268668|0;break i}g=0;b=0;l=O[j|0]|O[j+1|0]<<8;if(i>>>0>=((l<<8|l>>>8)&65535)>>>0){break i}b=j+(i<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;l=(b<<8|b>>>8)&65535;if(l>>>0<=257){b=l<<2;g=N[b+267632>>2];b=N[b+267636>>2]+(g^-1)|0;g=g+268668|0;break i}b=0;l=l-258|0;if(l>>>0>=q>>>0){break i}b=N[n+(l<<2)>>2]+r|0;g=b+1|0;b=O[b|0]}if((b|0)!=(k|0)){b=k-b|0}else{b=Mb(c,g,k)}g=p>>>1|0;j:{if((b|0)<0){f=g-1|0;break j}if(!b){break d}h=g+1|0}if((f|0)>=(h|0)){continue}break}}b=0;i=Kg(m- -64|0);if(!N[i+44>>2]|N[i+148>>2]!=-1){break a}if((d|0)<0){d=nb(c)}if(!d){break a}h=N[i+220>>2];if(h){break c}while(1){h=db(12,1);if(!h){N[i+220>>2]=0;break a}k=0;N[h+8>>2]=0;N[h>>2]=0;N[h+4>>2]=0;k:{l:{m:{f=N[i+216>>2];if(f){while(1){n:{o:{p:{q:{a=N[i+52>>2];if((a|0)!=275552){f=$p(a,k,f);break q}f=0;r:{switch(N[i+172>>2]){case 1:if(k>>>0>165){break p}f=P[(k<<1)+265824>>1];break q;case 2:if(k>>>0>86){break p}f=P[(k<<1)+266160>>1];break q;case 0:break r;default:break p}}f=k>>>0<229?k:0;break p}if(f>>>0<=390){break p}gd(o+4|0,N[i+64>>2],f-391|0);a=N[o+4>>2];if(!a){break o}j=N[o+8>>2];break n}g=f<<2;a=N[g+270528>>2];j=N[g+270532>>2]+(a^-1)|0;a=a+272096|0;break n}j=0;a=441572}s:{t:{u:{g=N[h>>2];if((g|0)>=0){n=N[h+4>>2];l=n+1|0;if(l>>>0<=g>>>0){m=N[h+8>>2];break t}while(1){g=((g>>>1|0)+g|0)+8|0;if(l>>>0>=g>>>0){continue}break}if(g>>>0<=268435455){m=$a(N[h+8>>2],g<<4);if(m){break u}}N[h>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;break s}N[h>>2]=g;N[h+8>>2]=m;n=N[h+4>>2];l=n+1|0}N[h+4>>2]=l;g=(n<<4)+m|0;M[g+12>>1]=f;N[g+8>>2]=0;N[g+4>>2]=j;N[g>>2]=a}f=N[i+216>>2];k=k+1|0;if(f>>>0>k>>>0){continue}break m}}f=0;if(!N[i+220>>2]){break l}break k}a=N[h+4>>2];if(a){_p(N[h+8>>2],a)}if(!N[i+220>>2]){break l}f=N[h+8>>2];break k}N[i+220>>2]=h;break c}_a(f);_a(h);h=N[i+220>>2];if(!h){continue}break}break c}N[e>>2]=i;break b}a=N[h+4>>2];if((a|0)<=0){break a}k=N[h+8>>2];f=a-1|0;h=0;v:{while(1){a=f+h>>>1|0;g=k+(a<<4)|0;b=N[g+4>>2];g=bb(c,N[g>>2],b>>>0>d>>>0?d:b);b=g?g:d-b|0;w:{if((b|0)<0){f=a-1|0;break w}if(!b){break v}h=a+1|0}if((f|0)>=(h|0)){continue}break}b=0;break a}a=P[(k+(a<<4)|0)+12>>1];b=N[i+52>>2];x:{y:{z:{if((b|0)!=275552){f=vf(b,a,N[i+216>>2]);break z}f=85;g=164;b=0;A:{switch(N[i+172>>2]){case 0:f=a;if(a>>>0<229){break z}break a;case 1:while(1){B:{c=b+g>>>1|0;d=P[(c<<2)+266336>>1];C:{if(d>>>0>a>>>0){g=c-1|0;break C}if((a|0)==(d|0)){break B}b=c+1|0}if((b|0)<=(g|0)){continue}break y}break};f=O[(c<<2)+266338|0];break z;case 2:break A;default:break y}}while(1){D:{c=b+f>>>1|0;d=P[(c<<2)+267008>>1];E:{if(d>>>0>a>>>0){f=c-1|0;break E}if((a|0)==(d|0)){break D}b=c+1|0}if((b|0)<=(f|0)){continue}break y}break}f=O[(c<<2)+267010|0]}if(f){break x}}f=0;b=0;if(a){break a}}N[e>>2]=f}b=1}La=o+16|0;return b|0}function Yq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=275552;c=N[N[N[a+92>>2]+144>>2]>>2];c=c?c:275552;h=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[h|0]|O[h+1|0]<<8)!=256){break a}d=275552;c=O[h+8|0]|O[h+9|0]<<8;if(c){d=h+((c<<8|c>>>8)&65535)|0}c=O[d|0]|O[d+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break a}i=((c<<8|c>>>8)&65535)+d|0}p=N[a+136>>2];N[a+136>>2]=b;b=O[i+2|0]|O[i+3|0]<<8;b=b<<8|b>>>8;d=b&65535;l=N[a+140>>2];if(b&16){b=O[i+4|0]|O[i+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+i|0;b=O[b+6|0]|O[b+7|0]<<8;d=b<<24|b<<8&16711680|d}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;j=O[a+150|0];L[a+21|0]=j;c=N[a+132>>2];N[a+16>>2]=c;N[a+72>>2]=0;N[a+48>>2]=a;b=O[a+151|0];L[a+22|0]=b;h=a- -64|0;N[h>>2]=0;N[h+4>>2]=0;N[a+52>>2]=d;g=N[a+84>>2];h=(g|0)==1;L[a+20|0]=h;d=O[a+149|0];L[a+61|0]=1;L[a+60|0]=h|(d|0)!=0;N[a+56>>2]=-1;L[a+62|0]=b;e=O[i+4|0]|O[i+5|0]<<8;if(e){b=O[i|0]|O[i+1|0]<<8;h=(b<<8|b>>>8)&65535;m=i+4|0;n=(e<<8|e>>>8)&65535;q=n>>>0<=1?1:n;b=0;o=1;while(1){c=O[m|0]|O[m+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+m|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+i|0}else{c=275552}d=h;b:{while(1){c:{g=0;if((d|0)!=7){d:{switch(d-1|0){case 0:e:{f:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break b}}g=gk(c,a);break b}g=fk(c,a);break b;case 1:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];d=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)==-1){break b}e=((d<<1)+c|0)+6|0;f=d;d=O[c+4|0]|O[c+5|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:e;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+c|0}else{d=275552}lk(d,a);g=1;break b;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];d=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)==-1){break b}e=((d<<1)+c|0)+6|0;f=d;d=O[c+4|0]|O[c+5|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:e;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+c|0}else{d=275552}g=kk(d,a);break b;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];e=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((e|0)==-1){break b}d=275552;k=((e<<1)+c|0)+6|0;f=e;e=O[c+4|0]|O[c+5|0]<<8;e=f>>>0>=((e<<8|e>>>8)&65535)>>>0?275552:k;e=O[e|0]|O[e+1|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+c|0}c=O[d|0]|O[d+1|0]<<8;if(!c){break b}k=(c<<8|c>>>8)&65535;j=k>>>0<=1?1:k;c=0;g=1;while(1){e=O[d|0]|O[d+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=c>>>0?275552:((c<<1)+d|0)+2|0;e=O[e|0]|O[e+1|0]<<8;if(e){f=((e<<8|e>>>8)&65535)+d|0}else{f=275552}if(jk(f,a)){break b}c=c+1|0;g=k>>>0>c>>>0;if((c|0)!=(j|0)){continue}break};break b;case 4:g=Kj(c,a);break b;case 7:break c;case 5:break d;default:break b}}g:{h:{i:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break g;case 1:break h;case 0:break i;default:break b}}g=Jj(a,c);break b}g=Kf(c,a,0);break b}g=ah(c,a);break b}if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;d=(d<<8|d>>>8)&65535;e=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}continue}break}if((O[c|0]|O[c+1|0]<<8)!=256){break b}g=ik(c,a)}if(!(g&1)){b=b+1|0;o=n>>>0>b>>>0;if((b|0)!=(q|0)){continue}}break}d=O[a+149|0];c=N[a+132>>2];j=O[a+150|0];g=N[a+84>>2];b=O[a+151|0]}N[a+140>>2]=l;N[a+136>>2]=p;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;L[a+21|0]=j;N[a+12>>2]=l;N[a+72>>2]=0;L[a+22|0]=b;N[a+16>>2]=c;N[a+64>>2]=0;N[a+68>>2]=0;L[a+61|0]=1;N[a+52>>2]=l;L[a+62|0]=b;N[a+56>>2]=-1;b=(g|0)==1;L[a+20|0]=b;L[a+60|0]=b|(d&255)!=0;N[a+8>>2]=a;N[a+48>>2]=a;return o|0}function to(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;j=La+-64|0;La=j;a:{b:{if(!N[b+20>>2]){break b}c:{if(!(d>.001|e>.001)){break c}uo(j+40|0,d);d:{if(d==e){f=N[j+60>>2];N[j+32>>2]=N[j+56>>2];N[j+36>>2]=f;f=N[j+52>>2];N[j+24>>2]=N[j+48>>2];N[j+28>>2]=f;f=N[j+44>>2];N[j+16>>2]=N[j+40>>2];N[j+20>>2]=f;break d}uo(j+16|0,e)}h=N[b+12>>2];q=N[j+20>>2];k=N[j+16>>2];p=((h+((q<<1)+9<>2]-1|0;f=1<>31;i=N[b+8>>2];s=N[j+44>>2];n=N[j+40>>2];v=(i+((s<<1)+9<>>0>m>>>0?g+1|0:g;f=0-f|0;f=UE(p,0,f&m-1,g-!m&f>>31);g=Pa;if(!g&f>>>0>536870911|g){break c}m=f<<2;g=2<>>0>=-5-g>>>0){break c}m=kb((g+m|0)+3|0);if(!m){break c}t=g;u=g-1|0;g=m+4|0;r=u&g;g=(r?t-r|0:0)+g|0;r=g-4|0;N[r>>2]=m;if(!g){break c}Qa[N[a+40>>2]](g,N[b+20>>2],N[b+16>>2],i,h);f=g+(f<<1)|0;N[j+12>>2]=f;N[j+8>>2]=g;e:{if((k|0)<=0){f=g;break e}f:{if((k|0)==1){break f}m=k&1;k=k&-2;while(1){Qa[N[a+52>>2]](f,g,i,h);h=h+5>>>1|0;Qa[N[a+52>>2]](g,f,i,h);h=h+5>>>1|0;l=l+2|0;if((k|0)!=(l|0)){continue}break}l=0;if(m){break f}f=g;break e}Qa[N[a+52>>2]](f,g,i,h);l=1;h=h+5>>>1|0}g:{if((n|0)<=0){break g}h:{if((n|0)==1){g=l^1;break h}m=n&1;w=n&-2;g=j+8|0;u=g+(l<<2)|0;t=g;g=l^1;n=N[t+(g<<2)>>2];k=0;while(1){Qa[N[a+48>>2]](n,f,i,h);f=N[u>>2];i=i+5>>>1|0;Qa[N[a+48>>2]](f,n,i,h);i=i+5>>>1|0;k=k+2|0;if((w|0)!=(k|0)){continue}break}if(!m){break g}}Qa[N[a+48>>2]](N[(j+8|0)+(g<<2)>>2],f,i,h);i=i+5>>>1|0;l=g}f=s-4|0;if(f>>>0>=5){ba(21483,18088,210,11853);B()}g=j+8|0;k=N[g+((l^1)<<2)>>2];g=N[g+(l<<2)>>2];Qa[N[((f<<2)+a|0)- -64>>2]](k,g,i,h,j+48|0);i:{f=q-4|0;if(f>>>0<5){i=(N[j+44>>2]<<1)+i|0;Qa[N[((f<<2)+a|0)+84>>2]](g,k,i,h,j+24|0);h=(N[j+20>>2]<<1)+h|0;if(N[j+40>>2]<=0){f=g;break i}k=0;while(1){l=l^1;f=N[(j+8|0)+(l<<2)>>2];Qa[N[a+56>>2]](f,g,i,h);i=(i<<1)+4|0;g=f;k=k+1|0;if((k|0)>2]){continue}break}break i}ba(21442,18088,214,11853);B()}k=N[j+16>>2];if((k|0)>0){g=0;while(1){l=l^1;k=N[(j+8|0)+(l<<2)>>2];Qa[N[a+60>>2]](k,f,i,h);h=(h<<1)+4|0;f=k;g=g+1|0;k=N[j+16>>2];if((g|0)<(k|0)){continue}break}}if((i|0)!=(o|0)|(h|0)!=(p|0)){break a}f=1<>2];g=0-f|0;h=g>>>0>>0?o:g&(f+v|0)-5;j:{if(h>>>0>((f^2147483647)>>>0)/(((p|0)<=1?1:p)>>>0)>>>0){break j}i=f+T(h,p)|0;if(i>>>0>=-5-f>>>0){break j}g=N[b+20>>2];n=kb((f+i|0)+3|0);if(!n){break j}t=f;u=f-1|0;f=n+4|0;i=u&f;i=(i?t-i|0:0)+f|0;N[i-4>>2]=n;if(!i){break j}N[b+20>>2]=i;N[b+16>>2]=h;N[b+12>>2]=p;N[b+8>>2]=o;if(g){_a(N[g-4>>2]);i=N[b+20>>2];k=N[j+16>>2];h=N[b+16>>2]}N[b>>2]=(N[b>>2]+(-4-N[j+44>>2]<>2])|0)+4;N[b+4>>2]=(N[b+4>>2]+(-4-N[j+20>>2]<>2]](i,h,N[(j+8|0)+(l<<2)>>2],o,p)}_a(N[r>>2])}if(!c){break b}i=N[b+16>>2];g=i<<2;f=1<>2];if(g>>>0>=-5-f>>>0){break b}g=kb((f+g|0)+3|0);if(!g){break b}t=f;l=f-1|0;f=g+4|0;h=l&f;o=(h?t-h|0:0)+f|0;n=o-4|0;N[n>>2]=g;if(!o){break b}g=N[b+20>>2];l=N[b+12>>2];f=N[b+8>>2];h=c-1|0;k:{if(!h){break k}k=0;m=(f|0)>0&(l|0)>0;if(m){q=f&-2;r=f&1;while(1){p=T(i,k);b=0;l:{if((f|0)!=1){while(1){s=g+(b+p|0)|0;L[s|0]=(O[s|0]>>>1|0)+1>>>1;s=g+(p+(b|1)|0)|0;L[s|0]=(O[s|0]>>>1|0)+1>>>1;b=b+2|0;if((q|0)!=(b|0)){continue}break}if(!r){break l}}b=g+(b+p|0)|0;L[b|0]=(O[b|0]>>>1|0)+1>>>1}k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(h&1){Qa[N[a+36>>2]](g,i,f,l,o);h=c-2|0}if((c|0)!=2){while(1){Qa[N[a+36>>2]](g,i,f,l,o);Qa[N[a+36>>2]](g,i,f,l,o);h=h-2|0;if(h){continue}break}}if(!m){break k}p=f&-2;m=f&1;k=0;while(1){c=T(i,k);b=0;h=0;m:{if((f|0)!=1){while(1){q=g+(b+c|0)|0;h=O[q|0];L[q|0]=(h<<2)-(h>>>0>32);q=g+(c+(b|1)|0)|0;h=O[q|0];L[q|0]=(h<<2)-(h>>>0>32);b=b+2|0;if((p|0)!=(b|0)){continue}break}h=b;if(!m){break m}}c=g+(c+h|0)|0;b=O[c|0];L[c|0]=(b<<2)-(b>>>0>32)}k=k+1|0;if((l|0)!=(k|0)){continue}break}}Qa[N[a+36>>2]](g,i,f,l,o);_a(N[n>>2])}La=j- -64|0;return}ba(14404,18088,228,11853);B()}function Lg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a+20>>2]=0;N[a+24>>2]=0;if(N[b+32>>2]==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[b+32>>2]=(c<<8|c>>>8)&65535}c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1986884728,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}if(N[c+16>>2]<0){break b}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+20>>2]=c;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];d:{if(c){g=Qa[c|0](b,1448493394,N[b+16>>2])|0;if(g){break d}}g=275552}c=N[g>>2];if(c){if((c|0)<=0){break c}N[g>>2]=c+1}L[e+28|0]=0;N[e+36>>2]=g;c=N[g+12>>2];N[e+8>>2]=c;d=N[g+16>>2];N[e+12>>2]=d+c;if((d|0)<0){break b}N[e+32>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[e+16>>2]=d;N[e+24>>2]=0;N[e+4>>2]=0;d=g;e:{f:{if(!c){break f}g:{h:{i:{j:{k:{l:{m:{if(!Ie(c,e+4|0)){break m}d=c+20|0;if(d>>>0>2]){break m}f=N[e+12>>2];if(f>>>0>>0|f-d>>>0<4){break m}f=N[e+16>>2]-4|0;N[e+16>>2]=f;if((f|0)<=0){break m}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break i}if(d&128){break m}if(Ed((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0,e+4|0)){break i}d=N[e+32>>2];if(d>>>0>31){break l}N[e+32>>2]=d+1;if(!O[e+28|0]){break k}break j}if(O[e+28|0]|!N[e+32>>2]){break h}break k}if(!O[e+28|0]){break k}break h}if(!zb(g)){break h}while(1){L[e+28|0]=1;d=N[e+36>>2];c=N[d+12>>2];N[e+8>>2]=c;f=N[d+16>>2];N[e+12>>2]=f+c;if((f|0)<0){break b}N[e+32>>2]=0;if(f>>>0>67108863){h=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;h=f>>>0>=1073741823?1073741823:f}N[e+16>>2]=h;N[e+24>>2]=0;N[e+4>>2]=0;if(!c){break f}n:{o:{p:{if(!Ie(c,e+4|0)){break p}d=c+20|0;if(d>>>0>2]){break p}f=N[e+12>>2];if(f>>>0>>0|f-d>>>0<4){break p}f=N[e+16>>2]-4|0;N[e+16>>2]=f;if((f|0)<=0){break p}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break i}if(d&128){break p}if(Ed((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0,e+4|0)){break i}d=N[e+32>>2];if(d>>>0>31){break o}N[e+32>>2]=d+1;if(!O[e+28|0]){break n}break j}if(!N[e+32>>2]){break h}if(!O[e+28|0]){break n}break h}if(O[e+28|0]){break h}}c=zb(g);N[e+8>>2]=c;N[e+12>>2]=c+N[g+16>>2];if(c){continue}break}break h}L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0}q:{if(N[e+32>>2]){f=0;N[e+32>>2]=0;r:{if(!Ie(c,e+4|0)){break r}d=c+20|0;if(d>>>0>2]){break r}h=N[e+12>>2];if(h>>>0>>0|h-d>>>0<4){break r}h=N[e+16>>2]-4|0;N[e+16>>2]=h;if((h|0)<=0){break r}h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!h){f=1;break r}if(h&128){break r}f=1;if(Ed((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+c|0,e+4|0)){break r}c=N[e+32>>2];if(c>>>0>31){break h}N[e+32>>2]=c+1;if(!O[e+28|0]){break h}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}if(N[e+32>>2]){break h}ab(N[e+36>>2]);if(f){break q}break g}ab(N[e+36>>2])}if(!N[g+4>>2]){break e}N[g+4>>2]=0;break e}ab(N[e+36>>2])}ab(g);g=275552;break e}ab(d)}N[a+24>>2]=g;c=N[b+28>>2];if(!c){c=ae(b+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;c=c-16>>>0>=16369?1e3:c;N[b+28>>2]=c}N[a+16>>2]=c;c=N[a+20>>2];d=N[(c?c:275552)+16>>2];c=xc(b+92|0);c=O[c+34|0]|O[c+35|0]<<8;c=(c<<8|c>>>8)&65535;f=c<<2;g=d&-2;if(f>>>0>g>>>0){f=d&-4;c=d>>>2|0}N[a>>2]=c;h=b+56|0;c=sb(h);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[a+4>>2]=c;f=g-f|0;g=N[a>>2];d=g;s:{if(d>>>0<=c>>>0){if(f>>>0>=c-g<<1>>>0){break s}d=g+(f>>>1|0)|0}N[a+4>>2]=d;c=d}if(g){d=c}else{N[a>>2]=0;N[a+4>>2]=0;d=0}c=d+((g+(f>>>1|0)|0)-c&2147483647)|0;N[a+8>>2]=c;g=N[b+32>>2];if((g|0)==-1){d=b;b=sb(h);b=O[b+4|0]|O[b+5|0]<<8;g=(b<<8|b>>>8)&65535;N[d+32>>2]=g;c=N[a+8>>2]}N[a+12>>2]=c>>>0>>0?g:c;La=e+48|0;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function Cc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=N[a+44>>2];a:{if(N[a+24>>2]|!e){break a}N[a+44>>2]=N[e+32>>2];h=N[a+4>>2];N[e+32>>2]=0;N[e+4>>2]=h;b:{c:{d:{g=N[e>>2];if(h>>>0>=g>>>0){m=N[a+16>>2];N[a+16>>2]=0;N[a+4>>2]=m?m:g;if((g|0)==(h|0)){if(N[e+12>>2]){break d}if(!N[e+24>>2]){break a}ba(13913,14296,357,13772);B()}j=h-g|0;if(!b){break b}if(j>>>0<=3){break c}d=4;while(1){c=f+g|0;i=T(i,31)+(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))|0;c=d;f=c;d=c+4|0;if(j>>>0>=d>>>0){continue}break}break c}ba(13248,14296,348,13772);B()}ba(13940,14296,356,13772);B()}e:{if(c>>>0>=j>>>0){break e}k=(h+(c^-1)|0)-g|0;h=j&3;if(h){d=0;f=c;while(1){i=L[f+g|0]+T(i,31)|0;f=f+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}c=c|h}if(k>>>0<3){break e}while(1){d=c+g|0;i=T(T(T(L[d|0]+T(i,31)|0,31)+L[d+1|0]|0,31)+L[d+2|0]|0,31)+L[d+3|0]|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}}h=N[e+16>>2];c=0;l=N[e+12>>2];k=T(l,12);f:{if(!k){f=0;break f}d=4;f=0;while(1){c=c+h|0;f=T(f,31)+(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))|0;c=d;d=c+4|0;if(k>>>0>=d>>>0){continue}break}if(c>>>0>=k>>>0){break f}while(1){f=L[h+(c|3)|0]+T(L[h+(c|2)|0]+T(L[h+(c|1)|0]+T(L[c+h|0]+T(f,31)|0,31)|0,31)|0,31)|0;c=c+4|0;if((k|0)!=(c|0)){continue}break}}i=f^i;c=275552;g:{if(!N[a+88>>2]){break g}f=Af(a+60|0,e,i);if((N[f+4>>2]&-1073741824)!=1073741824){break g}d=N[f>>2];o=N[d+4>>2];n=N[d>>2];if((j|0)!=(o-n|0)|N[d+12>>2]!=(l|0)){break g}if((n|0)!=(o|0)){if(Mb(n,g,j)){break g}}if(k){if(Mb(N[d+16>>2],h,k)){break g}}c=f+8|0}h=N[c>>2];if(!h){break b}h:{if(h>>>0>=Q[a+52>>2]){N[147456]=0;a=589824;break h}a=N[a+56>>2]+(h<<2)|0}d=N[e+24>>2];i:{if(!d){break i}c=N[e+28>>2];j=c+T(d,12)|0;b=N[a>>2];f=N[b+20>>2];if((f|0)<0){b=T(d,12)-12|0;a=((b>>>0)/12|0)+1&3;if(a){d=T(a,12);i=0;while(1){N[147456]=0;N[147457]=0;N[147458]=0;i=i+1|0;if((a|0)!=(i|0)){continue}break}c=c+d|0}if(b>>>0<36){break i}while(1){N[147456]=0;N[147457]=0;N[147458]=0;c=c+48|0;if((j|0)!=(c|0)){continue}break}break i}while(1){j:{k:{l:{if((f|0)>=0){g=N[b+24>>2];d=g+1|0;if(d>>>0<=f>>>0){a=N[b+28>>2];break k}while(1){f=((f>>>1|0)+f|0)+8|0;if(d>>>0>=f>>>0){continue}break}if(f>>>0<=357913941){a=$a(N[b+28>>2],T(f,12));if(a){break l}}N[b+20>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;break j}N[b+20>>2]=f;N[b+28>>2]=a;g=N[b+24>>2];d=g+1|0}N[b+24>>2]=d;d=N[c+4>>2];a=T(g,12)+a|0;N[a>>2]=N[c>>2];N[a+4>>2]=d;N[a+8>>2]=N[c+8>>2]}c=c+12|0;if((j|0)!=(c|0)){f=N[b+20>>2];continue}break}l=N[e+12>>2]}if(l){N[e+12>>2]=0}_a(N[e+16>>2]);N[e+16>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;if(N[e+24>>2]){N[e+24>>2]=0}_a(N[e+28>>2]);N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;return h}c=N[a+8>>2]-j|0;N[a+8>>2]=c;m:{if(m){if((c|0)==(g|0)){break m}ba(16968,14296,377,13772);B()}F(c,g,j);g=N[a+8>>2]}N[e>>2]=g;N[e+4>>2]=g+j;n:{o:{p:{q:{r:{c=N[a+48>>2];if((c|0)>=0){d=N[a+52>>2];f=d+1|0;if(f>>>0<=c>>>0){break q}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){g=$a(N[a+56>>2],c<<2);if(g){break r}}N[a+48>>2]=-1}N[147456]=0;if(N[a+24>>2]){break o}N[a+24>>2]=1;break o}N[a+48>>2]=c;N[a+56>>2]=g;d=N[a+52>>2];f=d+1|0;break p}g=N[a+56>>2]}N[a+52>>2]=f;N[(d<<2)+g>>2]=e;if(!N[a+24>>2]){break n}}if(N[e+12>>2]){N[e+12>>2]=0}_a(N[e+16>>2]);N[e+16>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;if(N[e+24>>2]){N[e+24>>2]=0}_a(N[e+28>>2]);N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;return 0}c=N[a+52>>2]-1|0;s:{if(!b|!(L[a+72|0]&1)){break s}b=a+60|0;d=N[a+76>>2];if(Q[a+80>>2]<=(d>>>1|0)+d>>>0){if(!Qg(b)){break s}}b=Af(b,e,i);t:{if(!(O[b+7|0]&64)){break t}N[a+76>>2]=N[a+76>>2]-1;if(N[b+4>>2]<0){break t}N[a+72>>2]=N[a+72>>2]-2}N[b+8>>2]=c;N[b>>2]=e;N[b+4>>2]=i&1073741823|1073741824;N[a+76>>2]=N[a+76>>2]+1;N[a+72>>2]=N[a+72>>2]+2}if(N[a+24>>2]|N[a+72>>2]&1){break a}N[a+24>>2]=1}return c}function pB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;i=La-2192|0;La=i;C(i+144|0,0,2048);C(i- -64|0,0,68);a:{b:{c:{if(d){y=T(d,40)+c|0;while(1){d=N[c+32>>2];if(d>>>0>=2048){break c}j=N[c+36>>2];if(j-1>>>0>=2048){break b}if(d>>>0>j>>>0){break a}l=i- -64|0;k=d>>>6|0;p=k+1|0;f=l+(p<<1)|0;s=f;x=P[f>>1];h=N[c+20>>2];f=h<<2&4;g=N[c+24>>2]?f:h&4?f^4:f;h=h&2;m=h?g:f;n=d&63;M[s>>1]=x-T(m,n);o=l+(k<<1)|0;M[o>>1]=P[o>>1]+T(m,n|65472);u=j>>>6|0;l=l+(u<<1)|0;f=h?f:g;q=j&63;M[l+2>>1]=P[l+2>>1]+T(f,q);M[l>>1]=P[l>>1]+T(f,64-q|0);d:{if((d|0)==(j|0)){break d}f=N[c>>2];o=N[c+4>>2];g=N[c+12>>2];s=g>>31;j=N[c+16>>2];d=N[c+8>>2];M[i>>1]=0;m=j>>31;UE(j,m,d,d>>31);l=Pa+262144|0;d=l>>31;h=l>>19;l=d;M[i+2>>1]=h;M[i+62>>1]=T(h,31);M[i+60>>1]=T(h,30);M[i+58>>1]=T(h,29);M[i+56>>1]=T(h,28);M[i+54>>1]=T(h,27);M[i+52>>1]=T(h,26);M[i+50>>1]=T(h,25);M[i+48>>1]=T(h,24);M[i+46>>1]=T(h,23);M[i+44>>1]=T(h,22);M[i+42>>1]=T(h,21);M[i+40>>1]=T(h,20);M[i+38>>1]=T(h,19);M[i+36>>1]=T(h,18);M[i+34>>1]=T(h,17);M[i+32>>1]=h<<4;M[i+30>>1]=T(h,15);M[i+28>>1]=T(h,14);M[i+26>>1]=T(h,13);M[i+24>>1]=T(h,12);M[i+22>>1]=T(h,11);M[i+20>>1]=T(h,10);M[i+18>>1]=T(h,9);M[i+16>>1]=h<<3;M[i+14>>1]=T(h,7);M[i+12>>1]=T(h,6);M[i+10>>1]=T(h,5);M[i+8>>1]=h<<2;M[i+6>>1]=T(h,3);M[i+4>>1]=h<<1;UE(j,m,g,s);g=Pa+262144|0;s=g;t=g>>19;d=t>>31;v=(d^t)-d|0;d=h>>31;r=(d^h)-d|0;d=o<<20|f>>>12;g=d>>31;UE(j,m,d,g);j=Pa+4096>>>13|0;f=(l&1)<<31|h>>>1;d=f+T(k,t)|0;d=j-d|0;j=d;e:{if(!n){p=k;break e}h=(i+144|0)+(k<<6)|0;if((k|0)==(u|0)){d=q-n|0;f=(d<<3)-r|0;f=((f<<16>>31&f)<<5)+16384<<16>>16;l=T(t,n+q|0)<<9>>16;k=T(d,v)<<10>>16;k=(((k|0)<(r|0)?k:r)<<14)+32768>>16;p=d-(T(f,l-k|0)>>>16|0)|0;l=d-(T(f,l+k|0)>>>16|0)|0;d=d<<1;k=j<<16>>16;j=0;while(1){g=j<<1;m=g+h|0;n=m;s=P[m>>1];g=T(f,k-M[i+g>>1]|0)>>16;m=g+l<<16>>16;m=(m|0)>0?m:0;g=g+p<<16>>16;g=(g|0)>0?g:0;M[n>>1]=s+(((d|0)>(m|0)?m:d)+((d|0)>(g|0)?g:d)|0);j=j+1|0;if((j|0)!=32){continue}break}break d}f=64-n|0;l=(f<<3)-r|0;l=((l<<16>>31&l)<<5)+16384<<16>>16;k=T(t,n<<9|32768)>>16;g=T(f,v)>>>6&65535;g=(((g|0)<(r|0)?g:r)<<14)+32768>>>16|0;m=f-(T(l,k-g|0)>>>16|0)|0;k=f-(T(l,g+k|0)>>>16|0)|0;f=f<<1;g=j<<16>>16;j=0;while(1){o=j<<1;n=o+h|0;x=n;z=P[n>>1];o=T(l,g-M[i+o>>1]|0)>>16;n=o+k<<16>>16;n=(n|0)>0?n:0;o=m+o<<16>>16;o=(o|0)>0?o:0;M[x>>1]=z+(((f|0)>(n|0)?n:f)+((f|0)>(o|0)?o:f)|0);j=j+1|0;if((j|0)!=32){continue}break}j=d-t|0}if((p|0)<(u|0)){d=256-(s>>20)|0;f=((r>>>0>>0?r:v)<<14)+32768>>>16|0;l=d-f|0;f=d+f|0;while(1){h=j&65535;d=0;while(1){k=d<<1;g=k+((i+144|0)+(p<<6)|0)|0;m=g;n=P[g>>1];k=h-P[i+k>>1]|0;g=k+f<<16>>16;g=(g|0)>0?g:0;k=l+k<<16>>16;k=(k|0)>0?k:0;M[m>>1]=n+((g>>>0>=512?512:g)+(k>>>0>=512?512:k)>>>2|0);d=d+1|0;if((d|0)!=32){continue}break}j=j-t|0;p=p+1|0;if((u|0)!=(p|0)){continue}break}}if(!q){break d}d=T(q,t)<<9>>16;f=T(q,v)>>>6&65535;l=(((f|0)<(r|0)?f:r)<<14)+32768>>>16|0;f=(q<<3)-r|0;f=((f<<16>>31&f)<<5)+16384<<16>>16;h=q-(T(d-l|0,f)>>>16|0)|0;l=q-(T(f,d+l|0)>>>16|0)|0;d=q<<1;k=(i+144|0)+(u<<6)|0;p=j<<16>>16;j=0;while(1){g=j<<1;m=g+k|0;n=m;s=P[m>>1];g=T(f,p-M[i+g>>1]|0)>>16;m=g+l<<16>>16;m=(m|0)>0?m:0;g=h+g<<16>>16;g=(g|0)>0?g:0;M[n>>1]=s+(((d|0)>(m|0)?m:d)+((d|0)>(g|0)?g:d)|0);j=j+1|0;if((j|0)!=32){continue}break}}c=c+40|0;if((y|0)!=(c|0)){continue}break}}j=e<<8;while(1){j=P[(i- -64|0)+(w<<1)>>1]+j|0;d=0;while(1){e=(i+144|0)+(w<<6)|0;f=P[e+(d<<1)>>1]+j|0;c=f<<16>>16>>15;c=(c^f)-c<<16>>16;L[a+d|0]=(c|0)>=255?255:c;f=d|1;e=P[e+(f<<1)>>1]+j|0;c=e<<16>>16>>15;c=(c^e)-c<<16>>16;L[a+f|0]=(c|0)>=255?255:c;d=d+2|0;if((d|0)!=32){continue}break}a=a+b|0;w=w+1|0;if((w|0)!=32){continue}break}La=i+2192|0;return}ba(19659,14460,146,17908);B()}ba(19608,14460,147,17908);B()}ba(8129,14460,148,17908);B()}function Um(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=La-16|0;La=h;k=N[a+28>>2];g=N[a+20>>2];a:{b:{if(g){e=85;if(Qa[g|0](a,c,0,0)|0){break a}f=N[a+4>>2];break b}e=85;f=N[a+4>>2];if(f>>>0>>0){break a}}N[a+8>>2]=c;if(c+1>>>0>=f>>>0){break a}c:{d:{g=N[a+20>>2];e:{if(g){if((Qa[g|0](a,c,h+12|0,2)|0)!=2){break a}e=h+12|0;g=N[a+8>>2];break e}g=N[a>>2];if(!g){break d}e=c+g|0;g=c}f=O[e|0]|O[e+1|0]<<8;i=g+2|0;N[a+8>>2]=i;e=8;if(((f<<8|f>>>8)&65535)!=1){break a}f:{g:{h:{if(Q[a+4>>2]<=g+5>>>0){break h}g=N[a+20>>2];i:{if(g){if((Qa[g|0](a,i,h+12|0,4)|0)!=4){break h}i=N[a+8>>2];g=h+12|0;break i}g=N[a>>2];if(!g){break g}g=g+i|0}g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);break f}e=85;break a}g=0}f=i+4|0;N[a+8>>2]=f;N[h+8>>2]=0;j:{if(Q[a+4>>2]<=i+5>>>0){break j}i=N[a+20>>2];if(i){if((Qa[i|0](a,f,h+12|0,2)|0)!=2){break j}f=N[a+8>>2];e=h+12|0;break c}i=N[a>>2];if(i){e=f+i|0;break c}N[a+8>>2]=f+2;N[d>>2]=0;break a}N[d>>2]=0;e=85;break a}N[a+8>>2]=c+2;e=8;break a}i=O[e|0]|O[e+1|0]<<8;N[a+8>>2]=f+2;e=8;f=(i<<8|i>>>8)&65535;N[d>>2]=f;if(!f){break a}i=0;m=lb(k,4,0,f,0,h+8|0);k:{l:{e=N[h+8>>2];m:{if(e){break m}if(N[d>>2]){while(1){e=N[a+8>>2];if(Q[a+4>>2]<=e+3>>>0){break l}n:{o:{f=N[a+20>>2];p:{if(f){if((Qa[f|0](a,e,h+12|0,4)|0)!=4){break l}e=N[a+8>>2];f=h+12|0;break p}f=N[a>>2];if(!f){break o}f=e+f|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break n}f=0}N[a+8>>2]=e+4;N[(i<<2)+m>>2]=f;i=i+1|0;if(i>>>0>2]){continue}break}}f=c+g|0;g=N[a+20>>2];q:{if(g){e=85;if(!(Qa[g|0](a,f,0,0)|0)){break q}break m}e=85;if(f>>>0>Q[a+4>>2]){break m}}N[a+8>>2]=f;N[h+8>>2]=0;o=d,p=xb(a,h+8|0),M[o+8>>1]=p;e=N[h+8>>2];if(e){break m}g=xb(a,h+8|0);N[d+12>>2]=g;e=N[h+8>>2];if(e){break m}e=8;if(N[N[b+12>>2]>>2]!=P[d+8>>1]|g<<16>>16<0){break m}o=d,p=lb(k,4,0,g,0,h+8|0),N[o+16>>2]=p;e=N[h+8>>2];if(e){break m}if(N[d+12>>2]){e=P[d+8>>1];b=0;while(1){n=lb(k,12,0,e&65535,0,h+8|0);N[N[d+16>>2]+(b<<2)>>2]=n;e=N[h+8>>2];if(e){break m}e=0;if(P[d+8>>1]){f=0;while(1){l=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}i=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}g=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}j=n+T(f,12)|0;N[j+8>>2]=g<<16>>16<<2;N[j+4>>2]=i<<16>>16<<2;N[j>>2]=l<<16>>16<<2;f=f+1|0;e=P[d+8>>1];if(f>>>0>>0){continue}break}}b=b+1|0;if(b>>>0>2]){continue}break}}l=0;o=d,p=lb(k,16,0,N[d>>2],0,h+8|0),N[o+4>>2]=p;e=N[h+8>>2];if(e){break m}if(!N[d>>2]){e=0;break m}while(1){g=N[d+4>>2];f=N[(l<<2)+m>>2]+c|0;r:{b=N[a+20>>2];if(b){if(!(Qa[b|0](a,f,0,0)|0)){break r}e=85;break k}if(f>>>0<=Q[a+4>>2]){break r}e=85;break k}N[a+8>>2]=f;N[h+8>>2]=0;j=g+(l<<4)|0;o=j,p=xb(a,h+8|0),N[o>>2]=p;e=N[h+8>>2];if(e){break k}g=xb(a,h+8|0);e=N[h+8>>2];if(e){break k}b=xb(a,h+8|0);N[j+4>>2]=b;e=N[h+8>>2];if(e){break k}e=8;if(b>>>0>>0|b>>>0>Q[d+12>>2]){break k}o=j,p=lb(k,4,0,b,0,h+8|0),N[o+8>>2]=p;e=N[h+8>>2];if(e){break k}f=0;s:{if(!N[j+4>>2]){e=0;break s}while(1){b=xb(a,h+8|0);N[N[j+8>>2]+(f<<2)>>2]=b;e=N[h+8>>2];if(e){break m}if(b>>>0>2]){f=f+1|0;e=N[j+4>>2];if(f>>>0>=e>>>0){break s}continue}break}e=8;break m}o=j,p=lb(k,2,0,T(N[j>>2],e),0,h+8|0),N[o+12>>2]=p;e=N[h+8>>2];if(e){break m}e=N[j+4>>2];if(T(e,N[j>>2])){f=0;while(1){if(g){b=f+g|0;while(1){i=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}M[N[j+12>>2]+(f<<1)>>1]=i;f=f+1|0;if((b|0)!=(f|0)){continue}break}e=N[j+4>>2];f=b}b=g;if(e>>>0>g>>>0){while(1){i=Pd(a,h+8|0);e=N[h+8>>2];if(e){break m}M[N[j+12>>2]+(f<<1)>>1]=i;f=f+1|0;b=b+1|0;e=N[j+4>>2];if(b>>>0>>0){continue}break}}if(T(N[j>>2],e)>>>0>f>>>0){continue}break}}e=0;l=l+1|0;if(l>>>0>2]){continue}break}}if(!m){break a}break k}N[(i<<2)+m>>2]=0;e=85}Qa[N[k+8>>2]](k,m)}La=h+16|0;return e}function Di(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;p=La-32|0;La=p;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!((d|0)<=0|(e|0)<=0)){n=N[h+4>>2];u=N[h>>2];t=n+u|0;z=(g<<2)+b|0;l=N[z+28>>2];if(t>>>0>l>>>0){break i}q=N[a+4>>2];j=-1<>2];y=l-t|0;m=w+T(y,40)|0;x=N[i>>2];j=10;r=10;j:{k:{switch(u|0){case 0:r=(x|0)!=0;break j;case 1:break k;default:break j}}l=N[m+20>>2];l=(((l^-1)&1)==((l&6)!=6|0))+x|0;r=l?(l|0)==1?2:1:6}o=N[i+4>>2];l:{m:{switch(n|0){case 0:j=(o|0)!=0;break l;case 1:break m;default:break l}}j=N[(m+T(u,40)|0)+20>>2];j=(((j^-1)&1)==((j&6)!=6|0))+o|0;j=j?(j|0)==1?2:1:6}s=j|r;if((s&3)!=2){o=1;i=e>>>q|0;n:{if(!i){break n}l=d>>>q|0;if(!l){break n}g=f<>2]]((j<>2]](((j|1)<>2]]((h<>2]=y;break a}l=m+T(u,40)|0;if(!(!((j^r)&2)|s>>>0>7)){h=1<>2];A=s&4?0-g|0:g;g=N[b>>2];u=N[b+4>>2];s=N[b+12>>2];n=N[b+8>>2];if(!((d|0)!=(h|0)|(e|0)!=(h|0))){Qa[N[a+12>>2]](c,f,n,s,g,u,A);break b}w=e>>>q|0;if(!w){break b}t=d>>>q|0;if(!t){break b}b=s>>31;d=(b^s)-b|0;b=n>>31;b=d+((b^n)-b|0)|0;e=q+5|0;h=e&31;if((e&63)>>>0>=32){d=b<>>32-h;l=b<>31;C=s>>31;D=n>>31;e=C+D|0;b=n+s|0;e=b>>>0>>0?e+1|0:e;b=UE(i,h,b,e);j=Pa;H=f<>2]+6;m=i;o=m>>31;i=UE(r,e,n,D);v=I+Pa|0;i=i+x|0;v=i>>>0>>0?v+1|0:v;m=UE(m,o,i,v);i=g-m|0;G=h-(Pa+(g>>>0>>0)|0)|0;h=j-(G+(b>>>0>>0)|0)|0;v=h>>31;o=b-i^v;m=o-v|0;o=(h^v)-((o>>>0>>0)+v|0)|0;p:{if(l>>>0<=m>>>0&(o|0)>=(d|0)|(d|0)<(o|0)){Qa[N[a+8>>2]](F,f,(h^A)&-2147483648);break p}Qa[N[a+12>>2]](F,f,n,s,i,G,A)}h=r+1|0;e=h?e:e+1|0;r=h;if((t|0)!=(h|0)|e){continue}break}c=c+H|0;e=E+1|0;k=e?k:k+1|0;E=e;if((w|0)!=(e|0)|k){continue}break}break b}k=1<>2]](c,f,m,u,x);break b}if(!(r&2)){Qa[N[a+16>>2]](c,f,l,n,o);break b}q:{if(r>>>0>=8){Qa[N[a+16>>2]](c,f,m,u,x);break q}k=T(y,40)+w|0;g=N[k+16>>2];Qa[N[a+12>>2]](c,f,N[k+8>>2],N[k+12>>2],N[m>>2],N[m+4>>2],r&4?0-g|0:g)}k=N[b+48>>2];r:{if(j>>>0>=8){Qa[N[a+16>>2]](k,d,l,N[h+4>>2],N[i+4>>2]);break r}h=m+T(u,40)|0;g=N[h+16>>2];Qa[N[a+12>>2]](k,d,N[h+8>>2],N[h+12>>2],N[l>>2],N[l+4>>2],j&4?0-g|0:g)}Qa[N[a+20>>2]](c,f,N[b+48>>2]);break b}w=g^1;n=(w<<2)+b|0;j=N[n+36>>2];k=t;t=N[n+28>>2];l=k+t|0;s:{if(j>>>0>=l>>>0){k=N[n+20>>2];break s}j=j<<1;k=j>>>0<=64?64:j;while(1){j=k;k=j<<1;if(j>>>0>>0){continue}break}l=(w<<2)+b|0;k=$a(N[l+20>>2],T(j,40));if(!k){o=0;break a}N[l+20>>2]=k;N[n+36>>2]=j;o=N[i+4>>2];x=N[i>>2]}N[p+12>>2]=o;N[p+8>>2]=x;j=T(t,40)+k|0;t:{if((d|0)>(e|0)){k=N[h>>2];l=N[h+4>>2];h=W(d-1|0)^31;Fi(m,k,l,m,p+24|0,j,p+16|0,p+8|0,64<>2],N[h+4>>2],m,p+24|0,k,p+16|0,p+8|0,64<>2]=N[p+28>>2]+(N[p+24>>2]+y|0);N[n+28>>2]=N[p+20>>2]+(t+N[p+16>>2]|0);o=0;if(!Di(a,b,c,j,e,f,g,p+24|0,i)){break a}if(N[z+28>>2]!=(y|0)){break d}if(!Di(a,b,c+h|0,d,k,f,w,p+16|0,p+8|0)){break a}o=1;if((t|0)!=N[n+28>>2]){break c}break a}ba(21974,18126,634,13300);B()}ba(18464,18126,635,13300);B()}ba(24293,18126,636,13300);B()}ba(24249,18126,637,13300);B()}ba(24293,18126,562,15790);B()}ba(24249,18126,563,15790);B()}ba(11093,18126,715,13300);B()}ba(21690,18126,718,13300);B()}N[z+28>>2]=y;o=1}La=p+32|0;return o}function wE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=db(1,160);a:{if(!f){break a}c=260272;N[f>>2]=260272;b:{c:{d:{e:{f:{g:{h:{b=N[a+4>>2];if((b|0)<=1265525856){if((b|0)<=1198877297){if((b|0)==1113943655){break h}e=260296;if((b|0)==1147500129){break c}break b}if((b|0)==1198877298){break g}if((b|0)!=1198879349){break b}e=260344;break c}if((b|0)<=1332902240){if((b|0)==1265525857){break d}if((b|0)!=1298954605){break b}e=260488;break c}if((b|0)==1332902241){break f}if((b|0)==1415671148){break e}if((b|0)!=1415933045){break b}e=260440;break c}e=260320;break c}e=260368;break c}e=260392;break c}e=260416;break c}e=260464}N[f>>2]=e;c=e}d=O[c+4|0]?O[a+24|0]!=50:d;L[f+4|0]=d;c=N[147450];if(!c){Dl();c=N[147450]}b=-1;N[f+8>>2]=-1;L[f+5|0]=c>>>2&1;h=d?h:N[a+4>>2]!=1298954605;L[f+24|0]=h;j=N[a+48>>2];i=N[a+44>>2];i:{if((i|0)<=0){break i}b=i-1|0;d=0;j:{while(1){e=b+d>>>1|0;c=N[T(e,36)+j>>2];k:{if(c>>>0>=1919969383){b=e-1|0;break k}if((c|0)==1919969382){break j}d=e+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break i}b=N[(T(e,36)+j|0)+12>>2]}e=N[a+80>>2];l:{if(e>>>0>>0){c=0;b=0;break l}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+12>>2]=b;L[f+40|0]=h;N[f+20>>2]=0;N[f+16>>2]=c;b=-1;m:{if((i|0)<=0){break m}b=i-1|0;d=0;n:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];o:{if(g>>>0>=1886545255){b=c-1|0;break o}if((g|0)==1886545254){break n}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break m}b=N[(T(c,36)+j|0)+12>>2]}p:{if(b>>>0>e>>>0){c=0;b=0;break p}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+28>>2]=b;L[f+56|0]=h;N[f+36>>2]=0;N[f+32>>2]=c;b=-1;q:{if((i|0)<=0){break q}b=i-1|0;d=0;r:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];s:{if(g>>>0>=1651275623){b=c-1|0;break s}if((g|0)==1651275622){break r}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break q}b=N[(T(c,36)+j|0)+12>>2]}t:{if(b>>>0>e>>>0){c=0;b=0;break t}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+44>>2]=b;L[f+72|0]=h;N[f+52>>2]=0;N[f+48>>2]=c;b=-1;u:{if((i|0)<=0){break u}b=i-1|0;d=0;v:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];w:{if(g>>>0>=1886614631){b=c-1|0;break w}if((g|0)==1886614630){break v}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break u}b=N[(T(c,36)+j|0)+12>>2]}x:{if(b>>>0>e>>>0){c=0;b=0;break x}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+60>>2]=b;L[f+88|0]=h;N[f+68>>2]=0;N[f- -64>>2]=c;b=-1;y:{if((i|0)<=0){break y}b=i-1|0;d=0;z:{while(1){c=b+d>>>1|0;h=N[T(c,36)+j>>2];A:{if(h>>>0>=1986098294){b=c-1|0;break A}if((h|0)==1986098293){break z}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break y}b=N[(T(c,36)+j|0)+12>>2]}h=0;B:{if(b>>>0>e>>>0){c=0;a=0;break B}d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){e=N[a+84>>2]+(b<<3)|0}else{e=a+56|0}b=N[a+56>>2];c=b-d|0;b=b>>>0>=c>>>0?c:0;e=N[e>>2]-d|0;c=b>>>0>>0?b:e;a=N[a+60>>2]+T(d,12)|0}N[f+76>>2]=a;N[f+84>>2]=0;N[f+80>>2]=c;if((i|0)<=0){break a}a=i-1|0;while(1){k=(h<<2)+f|0;d=0;C:{if(!(2548>>>h&1)){break C}e=N[(h<<3)+257072>>2];d=0;b=a;while(1){c=b+d>>>1|0;g=T(c,36)+j|0;i=N[g>>2];D:{if(i>>>0<=e>>>0){d=N[g+28>>2];if(e>>>0<=i>>>0){break C}d=c+1|0;break D}b=c-1|0}if((b|0)>=(d|0)){continue}break}d=0}N[k+92>>2]=d;h=h+1|0;if((h|0)!=17){continue}break}}return f|0}function nj(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=N[a>>2];if(!b){break a}b:{c:{if((b|0)>0){N[a>>2]=b-1;if((b|0)!=1){break a}N[a>>2]=-57005;e=N[a+8>>2];if(e){c=N[e+8>>2];if(c){while(1){c=c-1|0;b=N[e+12>>2]+T(c,12)|0;d=N[b+8>>2];b=N[b+4>>2];N[e+8>>2]=c;if(d){Qa[d|0](b);c=N[e+8>>2]}if(c){continue}break}}_a(N[e+12>>2]);_a(e);N[a+8>>2]=0}c=N[a+208>>2];if(c){break c}break b}ba(23506,14099,270,7918);B()}while(1){b=N[c+4>>2];pj(N[c>>2]);_a(c);c=b;if(b){continue}break}}N[a+40>>2]=0;N[a+44>>2]=0;b=N[a+52>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+52>>2]=0;b=N[a+56>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+56>>2]=0;b=N[a+60>>2];if(!(!b|(b|0)==275552)){ab(N[b+44>>2]);_a(b)}N[a+60>>2]=0;b=N[a- -64>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+64>>2]=0;b=N[a+68>>2];if(!(!b|(b|0)==275552)){ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b)}N[a+68>>2]=0;b=N[a+72>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+72>>2]=0;b=N[a+76>>2];if(!(!b|(b|0)==275552)){_a(N[b+28>>2]);ab(N[b>>2]);N[b>>2]=0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);_a(b)}N[a+76>>2]=0;b=N[a+80>>2];if(!(!b|(b|0)==275552)){ab(N[b+8>>2]);N[b+8>>2]=0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);_a(b)}N[a+80>>2]=0;b=N[a+84>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+84>>2]=0;b=N[a+88>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+88>>2]=0;b=N[a+92>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+92>>2]=0;b=N[a+96>>2];if(!(!b|(b|0)==275552)){ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b)}N[a+96>>2]=0;b=N[a+100>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+100>>2]=0;b=N[a+104>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+104>>2]=0;b=N[a+108>>2];if(!(!b|(b|0)==275552)){ab(N[b+24>>2]);_a(b)}N[a+108>>2]=0;c=N[a+112>>2];if(!(!c|(c|0)==275552)){b=N[c+220>>2];if(b){if(N[b+4>>2]){N[b+4>>2]=0}_a(N[b+8>>2]);_a(b)}mj(c);_a(nq(c))}N[a+112>>2]=0;b=N[a+116>>2];if(!(!b|(b|0)==275552)){_a(lj(b))}N[a+116>>2]=0;b=N[a+120>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+120>>2]=0;b=N[a+124>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+124>>2]=0;b=N[a+128>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+128>>2]=0;b=N[a+132>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+132>>2]=0;b=N[a+136>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+136>>2]=0;b=N[a+140>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+140>>2]=0;d=N[a+144>>2];if(!(!d|(d|0)==275552)){if(N[d+4>>2]){c=0;while(1){b=N[d+8>>2]+T(c,28)|0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);N[b+16>>2]=0;N[b+20>>2]=0;N[b+12>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}_a(N[d+8>>2]);ab(N[d>>2]);_a(d)}N[a+144>>2]=0;d=N[a+148>>2];if(!(!d|(d|0)==275552)){if(N[d+4>>2]){c=0;while(1){b=N[d+8>>2]+T(c,28)|0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);N[b+16>>2]=0;N[b+20>>2]=0;N[b+12>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}_a(N[d+8>>2]);ab(N[d>>2]);_a(d)}N[a+148>>2]=0;b=N[a+152>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+152>>2]=0;b=N[a+156>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+156>>2]=0;b=N[a+160>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+160>>2]=0;b=N[a+164>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+164>>2]=0;b=N[a+168>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+168>>2]=0;b=N[a+172>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+172>>2]=0;b=N[a+176>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+176>>2]=0;b=N[a+180>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+180>>2]=0;b=N[a+184>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+184>>2]=0;b=N[a+188>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+188>>2]=0;b=N[a+192>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);N[b>>2]=0;ab(N[b+4>>2]);_a(b)}N[a+192>>2]=0;b=N[a+196>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+196>>2]=0;b=N[a+200>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+200>>2]=0;b=N[a+204>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+204>>2]=0;b=N[a+20>>2];if(b){Qa[b|0](N[a+16>>2])}_a(a)}}function zj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{f=L[b+140|0];if((f|0)>=0){L[b+140|0]=f|128;t=N[b+80>>2];m=N[b+68>>2];b:{if(!N[b+132>>2]){break b}g=b+92|0;while(1){f=N[g+(d<<2)>>2];e=N[b+12>>2];f=Rg(f,Qa[N[e+24>>2]](e,f,N[e+56>>2])|0);if((f|0)==7){e=0;d=d+1|0;if(d>>>0>2]){continue}break b}break}e=P[(f<<2)+238226>>1]}if(!m){f=-1;break a}u=t+3|0;f=-1;g=0;while(1){n=T(g,20);d=t+n|0;h=Rg(N[d>>2],P[d+16>>1]&31);c:{if((h|0)==7){L[(n+u|0)+16|0]=7;break c}o=T(e,24)+(h<<2)|0;d=O[o+238224|0];d:{if(!((d|0)==7|(f|0)==-1)){L[(u+T(f,20)|0)+16|0]=d;yj(b,f,g+1|0);break d}if((f|0)==-1){if(!(O[b+16|0]&64)|h>>>0<2){break d}wb(b,2,0,g+1|0,0,1);break d}if(!(O[b+16|0]&64)|h>>>0<=1&e-2>>>0>3){break d}e=N[b+68>>2];d=g+1|0;q=d>>>0>e>>>0?e:d;r=q-f|0;if(r>>>0<2){break d}k=N[b+144>>2]|32;N[b+144>>2]=k;if(f>>>0>=q>>>0){break d}p=N[b+80>>2];d=-1;e=f;l=q+(e^-1)|0;if(l>>>0>=3){i=r&-4;j=0;while(1){s=p+T(e,20)|0;h=N[s+8>>2];h=d>>>0>>0?d:h;d=N[s+28>>2];h=d>>>0>h>>>0?h:d;d=N[s+48>>2];h=d>>>0>h>>>0?h:d;d=N[s+68>>2];d=d>>>0>h>>>0?h:d;e=e+4|0;j=j+4|0;if((i|0)!=(j|0)){continue}break}}j=0;i=r&3;if(i){while(1){h=N[(p+T(e,20)|0)+8>>2];d=d>>>0>>0?d:h;e=e+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}if(r&1){e=p+T(f,20)|0;if(N[e+8>>2]!=(d|0)){N[e+4>>2]=N[e+4>>2]|2}f=f+1|0}if(!l){break d}while(1){e=p+T(f,20)|0;if(N[e+8>>2]!=(d|0)){k=k|32;N[b+144>>2]=k;N[e+4>>2]=N[e+4>>2]|2}e=p+T(f+1|0,20)|0;if(N[e+8>>2]!=(d|0)){k=k|32;N[b+144>>2]=k;N[e+4>>2]=N[e+4>>2]|2}f=f+2|0;if((q|0)!=(f|0)){continue}break}}L[(n+u|0)+16|0]=O[o+238225|0];e=P[o+238226>>1];f=g}g=g+1|0;if((m|0)!=(g|0)){continue}break}break a}ba(22778,14165,169,12138);B()}e:{if(!N[b+136>>2]){break e}d=0;while(1){g=N[((d<<2)+b|0)+112>>2];h=N[b+12>>2];g=Rg(g,Qa[N[h+24>>2]](h,g,N[h+56>>2])|0);if((g|0)==7){d=d+1|0;if(d>>>0>2]){continue}break e}break}d=O[(T(e,24)+(g<<2)|0)+238224|0];if(!((d|0)==7|(f|0)==-1)){L[(t+T(f,20)|0)+19|0]=d;yj(b,f,N[b+68>>2]);break e}if(!(O[b+16|0]&64)|e-2>>>0>3){break e}n=N[b+68>>2];o=n-f|0;if(o>>>0<2){break e}k=N[b+144>>2]|32;N[b+144>>2]=k;if(f>>>0>=n>>>0){break e}m=N[b+80>>2];g=-1;d=f;l=n+(d^-1)|0;if(l>>>0>=3){h=o&-4;i=0;while(1){j=m+T(d,20)|0;e=N[j+8>>2];g=e>>>0>g>>>0?g:e;e=N[j+28>>2];g=e>>>0>g>>>0?g:e;e=N[j+48>>2];g=e>>>0>g>>>0?g:e;e=N[j+68>>2];g=e>>>0>g>>>0?g:e;d=d+4|0;i=i+4|0;if((h|0)!=(i|0)){continue}break}}i=o&3;if(i){e=0;while(1){h=N[(m+T(d,20)|0)+8>>2];g=g>>>0>>0?g:h;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(o&1){d=m+T(f,20)|0;if(N[d+8>>2]!=(g|0)){N[d+4>>2]=N[d+4>>2]|2}f=f+1|0}if(!l){break e}while(1){d=m+T(f,20)|0;if(N[d+8>>2]!=(g|0)){k=k|32;N[b+144>>2]=k;N[d+4>>2]=N[d+4>>2]|2}d=m+T(f+1|0,20)|0;if(N[d+8>>2]!=(g|0)){k=k|32;N[b+144>>2]=k;N[d+4>>2]=N[d+4>>2]|2}f=f+2|0;if((n|0)!=(f|0)){continue}break}}f:{g:{if((c|0)!=1299148391){break g}j=N[b+80>>2];e=N[b+68>>2];c=j;if(e>>>0<2){break f}l=j+3|0;g=1;if((e|0)!=2){c=e-1|0;h=c&1;d=c&-2;e=0;while(1){i=T(g,20);c=N[i+j>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){c=i+l|0;L[c+16|0]=O[c-4|0]}f=T(g+1|0,20);c=N[f+j>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){L[(f+l|0)+16|0]=O[(i+l|0)+16|0]}g=g+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}if(!h){break g}}c=N[j+T(g,20)>>2]-6155|0;if(c>>>0>4|(c|0)==3){break g}c=l+T(g,20)|0;L[c+16|0]=O[c-4|0]}e=N[b+68>>2];c=N[b+80>>2]}h:{if(!e){break h}i=c+3|0;g=0;if((e|0)!=1){h=e&1;d=e&-2;while(1){f=T(g,20);b=f+c|0;N[b+4>>2]=N[b+4>>2]|N[(O[(f+i|0)+16|0]<<2)+a>>2];f=T(g|1,20);b=f+c|0;N[b+4>>2]=N[b+4>>2]|N[(O[(f+i|0)+16|0]<<2)+a>>2];g=g+2|0;if((d|0)!=(g|0)){continue}break}if(!h){break h}}b=c;c=T(g,20);b=b+c|0;N[b+4>>2]=N[b+4>>2]|N[(O[(c+i|0)+16|0]<<2)+a>>2]}}function wb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=N[a+68>>2];k=d>>>0>g>>>0?g:d;i=k-c|0;a:{b:{c:{if(!(!e|f)&i>>>0<2){break c}h=N[a+144>>2]|32;N[a+144>>2]=h;if(!(O[a+62|0]?f:0)){if(!e){if(c>>>0>=k>>>0){break c}f=(c^-1)+k|0;e=N[a+80>>2];a=i&3;if(a){d=0;while(1){g=e+T(c,20)|0;N[g+4>>2]=N[g+4>>2]|b;c=c+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(f>>>0<3){break c}while(1){a=e+T(c,20)|0;N[a+4>>2]=N[a+4>>2]|b;N[a+24>>2]=N[a+24>>2]|b;N[a+44>>2]=N[a+44>>2]|b;a=a- -64|0;N[a>>2]=N[a>>2]|b;c=c+4|0;if((k|0)!=(c|0)){continue}break}break c}if(c>>>0>=k>>>0){break c}e=N[a+80>>2];d=-1;f=c;l=(c^-1)+k|0;if(l>>>0>=3){n=i&-4;while(1){g=e+T(f,20)|0;j=N[g+8>>2];d=d>>>0>>0?d:j;j=N[g+28>>2];d=d>>>0>>0?d:j;j=N[g+48>>2];d=d>>>0>>0?d:j;g=N[g+68>>2];d=d>>>0>>0?d:g;f=f+4|0;o=o+4|0;if((n|0)!=(o|0)){continue}break}}n=i&3;if(n){g=0;while(1){j=N[(e+T(f,20)|0)+8>>2];d=d>>>0>>0?d:j;f=f+1|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}if(i&1){f=e+T(c,20)|0;if(N[f+8>>2]!=(d|0)){N[f+4>>2]=N[f+4>>2]|b}c=c+1|0}if(!l){break c}while(1){f=e+T(c,20)|0;if(N[f+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[f+4>>2]=N[f+4>>2]|b}f=e+T(c+1|0,20)|0;if(N[f+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[f+4>>2]=N[f+4>>2]|b}c=c+2|0;if((k|0)!=(c|0)){continue}break}break c}l=N[a+72>>2];if(l>>>0>>0){break b}f=N[a+64>>2];if(k>>>0>>0){break a}if(!e){d:{if(c>>>0>=l>>>0){break d}g=l+(c^-1)|0;e=N[a+84>>2];i=l-c&3;if(i){d=0;while(1){h=e+T(c,20)|0;N[h+4>>2]=N[h+4>>2]|b;c=c+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(g>>>0<=2){break d}while(1){d=e+T(c,20)|0;N[d+4>>2]=N[d+4>>2]|b;N[d+24>>2]=N[d+24>>2]|b;N[d+44>>2]=N[d+44>>2]|b;d=d- -64|0;N[d>>2]=N[d>>2]|b;c=c+4|0;if((l|0)!=(c|0)){continue}break}}if(f>>>0>=k>>>0){break c}e=(f^-1)+k|0;d=N[a+80>>2];a=k-f&3;if(a){c=0;while(1){g=d+T(f,20)|0;N[g+4>>2]=N[g+4>>2]|b;f=f+1|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}}if(e>>>0<3){break c}while(1){a=d+T(f,20)|0;N[a+4>>2]=N[a+4>>2]|b;N[a+24>>2]=N[a+24>>2]|b;N[a+44>>2]=N[a+44>>2]|b;a=a- -64|0;N[a>>2]=N[a>>2]|b;f=f+4|0;if((k|0)!=(f|0)){continue}break}break c}n=N[a+80>>2];d=-1;p=f>>>0>=k>>>0;e:{if(p){break e}g=k-f|0;j=g&3;e=f;if((e^-1)+k>>>0>=3){o=g&-4;i=0;while(1){g=n+T(e,20)|0;m=N[g+8>>2];d=d>>>0>>0?d:m;m=N[g+28>>2];d=d>>>0>>0?d:m;m=N[g+48>>2];d=d>>>0>>0?d:m;g=N[g+68>>2];d=d>>>0>>0?d:g;e=e+4|0;i=i+4|0;if((o|0)!=(i|0)){continue}break}}if(!j){break e}g=0;while(1){i=N[(n+T(e,20)|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}f:{if(c>>>0>=l>>>0){break f}j=N[a+84>>2];o=l+(c^-1)|0;m=l-c|0;e=m&3;if(e){i=0;g=c;while(1){q=N[(j+T(g,20)|0)+8>>2];d=d>>>0>>0?d:q;g=g+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}e=c+e|0}else{e=c}i=e;if(o>>>0>=3){while(1){e=j+T(i,20)|0;g=N[e+8>>2];d=d>>>0>>0?d:g;g=N[e+28>>2];d=d>>>0>>0?d:g;g=N[e+48>>2];d=d>>>0>>0?d:g;e=N[e+68>>2];d=d>>>0>>0?d:e;i=i+4|0;if((l|0)!=(i|0)){continue}break}}if(m&1){e=j+T(c,20)|0;if(N[e+8>>2]!=(d|0)){N[e+4>>2]=N[e+4>>2]|b}c=c+1|0}if(!o){break f}while(1){e=j+T(c,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}e=j+T(c+1|0,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}c=c+2|0;if((l|0)!=(c|0)){continue}break}}if(p){break c}c=f+1|0;if(k-f&1){e=n+T(f,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}f=c}if((c|0)==(k|0)){break c}while(1){c=n+T(f,20)|0;if(N[c+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[c+4>>2]=N[c+4>>2]|b}c=n+T(f+1|0,20)|0;if(N[c+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[c+4>>2]=N[c+4>>2]|b}f=f+2|0;if((k|0)!=(f|0)){continue}break}}return}ba(12894,14165,449,11039);B()}ba(16690,14165,450,11039);B()}function Tg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-16|0;La=f;N[f+12>>2]=0;N[f+8>>2]=0;N[f+4>>2]=0;N[f>>2]=0;e=N[a+8>>2];d=N[a+4>>2];a:{b:{c:{if(!(Qa[N[a+20>>2]](a,c,f+12|0,f+8|0)|0)){break c}c=N[f+8>>2];if(c){N[f>>2]=0;h=N[e+96>>2];i=N[h+28>>2];j=N[e+100>>2];h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}if(!(Qa[i|0](e,j,c,f,h)|0)){break c}}N[f+4>>2]=0;c=N[e+96>>2];g=N[c+28>>2];h=N[e+100>>2];i=N[f+12>>2];j=f+4|0;c=N[c+12>>2];if(c){c=N[c+8>>2]}else{c=0}c=Qa[g|0](e,h,i,j,c)|0;g=N[f+12>>2];d:{e:{f:{g:{h:{if(!(!c|!b)){N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f+4>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break h}}a=N[d+84>>2];i:{if((a|0)!=N[d+80>>2]){break i}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break i}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break i}F(c,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}j:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break j}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break d}g=Tg(a,b,g);if(g){c=N[f+8>>2];if(!c){break c}N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break g}}a=N[d+84>>2];k:{if((a|0)!=N[d+80>>2]){break k}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break k}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;b=T(b,20);if(!b){break k}F(e,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}l:{if(a>>>0>>0){e=N[d+72>>2];b=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break l}b=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=b+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+b|0;e=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=e;N[b+16>>2]=N[a+16>>2];e=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=e;N[b>>2]=c;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break e}if(!c){g=0;break c}g=N[f+12>>2];N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f+4>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break f}}a=N[d+84>>2];m:{if((a|0)!=N[d+80>>2]){break m}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break m}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break m}F(c,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}n:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break n}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break d}a=N[d+72>>2];break d}a=N[d+72>>2];break e}a=N[d+72>>2];break d}b=a-1|0;Hd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=g+1|0;break c}b=a-1|0;Hd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=N[f+8>>2];if(!g){g=1;break c}N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f>>2];o:{p:{a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break p}}q:{a=N[d+84>>2];r:{if((a|0)!=N[d+80>>2]){break r}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break r}if(!O[d+62|0]){break q}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break r}F(c,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}s:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break s}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break o}break b}a=N[d+72>>2]}b=a-1|0;Hd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=2}La=f+16|0;return g}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function Sb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=N[a>>2];a:{e=N[a+4>>2];b:{if(!e){e=0;break b}if(N[a+40>>2]){break b}d=e<<1;if((d|0)<0){h=6;break a}c:{if(!d){d=0;break c}h=10;if(d>>>0>268435455){break a}e=e<<4;d=Qa[N[g+4>>2]](g,e)|0;if(!d){N[a+40>>2]=0;return 64}C(d,0,e);e=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=d;i=(e<<3)+d|0;N[a+44>>2]=i;h=0;f=N[a+24>>2];if(f){f=f+(M[a+22>>1]<<3)|0}else{f=0}N[a+60>>2]=f;j=a- -64|0;f=N[a+28>>2];if(f){f=f+M[a+22>>1]|0}else{f=0}N[j>>2]=f;f=N[a+32>>2];if(f){f=f+(M[a+20>>1]<<1)|0}else{f=0}N[a+68>>2]=f;f=M[a+22>>1]<<3;N[a+80>>2]=f+i;N[a+76>>2]=d+f}d:{e:{b=M[a+58>>1]+(M[a+22>>1]+b|0)|0;j=b>>>0<=e>>>0;f:{g:{if(j){b=e;break g}d=10;f=b+7|0;b=f&-8;if(b>>>0>32767){break f}d=6;if((e|f)<0){break d}d=N[a+24>>2];h:{i:{j:{if(!b){if(d){Qa[N[g+8>>2]](g,d)}N[a+24>>2]=0;f=a+28|0;d=N[f>>2];if(!d){break j}Qa[N[g+8>>2]](g,d);N[a+28>>2]=0;break h}i=(b|0)<=(e|0);k:{if(!e){f=Qa[N[g+4>>2]](g,b<<3)|0;d=!f<<6;break k}h=Qa[N[g+12>>2]](g,e<<3,b<<3,d)|0;f=h?h:d;d=!h<<6}l:{if(f?i|d:1){N[a+24>>2]=f;if(!d){break l}break d}C((e<<3)+f|0,0,b-e<<3);N[a+24>>2]=f}f=a+28|0;m:{if(!e){h=Qa[N[g+4>>2]](g,b)|0;d=!h<<6;break m}h=N[a+28>>2];d=Qa[N[g+12>>2]](g,e,b,h)|0;h=d?d:h;d=!d<<6}if(d|i|!h){break i}C(e+h|0,0,b-e|0)}N[f>>2]=h;break h}N[a+28>>2]=h;if(d){break d}}if(O[a+16|0]){d=6;h=e<<1;if((h|0)<0){break d}d=N[a+40>>2];n:{o:{p:{if(!b){f=0;if(!d){break p}Qa[N[g+8>>2]](g,d);N[a+40>>2]=0;break n}q:{if(!h){f=Qa[N[g+4>>2]](g,b<<4)|0;d=!f<<6;break q}i=Qa[N[g+12>>2]](g,e<<4,b<<4,d)|0;f=i?i:d;d=!i<<6}i=b<<1;if(d|(i|0)<=(h|0)|!f){break o}C((e<<4)+f|0,0,i-h<<3)}N[a+40>>2]=f;break n}N[a+40>>2]=f;if(d){break d}}d=b<<3;e=e<<3;F(d+f|0,e+f|0,e);N[a+44>>2]=d+N[a+40>>2]}N[a+4>>2]=b}if(!(N[a+40>>2]|!b)){e=b<<1;if((e|0)<0){d=6;break e}r:{if(!e){e=0;break r}d=10;if(e>>>0>268435455){break e}d=N[a>>2];b=b<<4;e=Qa[N[d+4>>2]](d,b)|0;if(!e){N[a+40>>2]=0;return 64}C(e,0,b);b=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=e;d=(b<<3)+e|0;N[a+44>>2]=d;b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;i=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[i>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;b=M[a+22>>1]<<3;N[a+80>>2]=b+d;N[a+76>>2]=b+e}b=M[a+56>>1]+(M[a+20>>1]+c|0)|0;e=N[a+8>>2];s:{if(b>>>0>e>>>0){d=10;c=b+3|0;b=c&-4;if(b>>>0>32767){break f}if((c|e)<0){d=6;break d}d=N[a+32>>2];t:{u:{if(!b){c=0;if(!d){break u}Qa[N[g+8>>2]](g,d);N[a+32>>2]=0;N[a+8>>2]=b;break s}v:{if(!e){c=Qa[N[g+4>>2]](g,b<<1)|0;d=!c<<6;break v}g=Qa[N[g+12>>2]](g,e<<1,b<<1,d)|0;c=g?g:d;d=!g<<6}if(d|(b|0)<=(e|0)|!c){break t}C((e<<1)+c|0,0,b-e<<1)}N[a+32>>2]=c;N[a+8>>2]=b;break s}N[a+32>>2]=c;if(d){break d}N[a+8>>2]=b;break s}d=0;if(j){break f}}b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;c=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[c>>2]=b;d=0;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;if(!O[a+16|0]){break f}b=M[a+22>>1]<<3;N[a+76>>2]=b+N[a+40>>2];N[a+80>>2]=b+N[a+44>>2]}return d}N[a+40>>2]=0;return d}b=N[a>>2];c=N[a+24>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+24>>2]=0;c=N[a+28>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+28>>2]=0;c=N[a+32>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+32>>2]=0;c=N[a+40>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+40>>2]=0;c=N[a+52>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+12>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+20>>2]=0;N[a+44>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];b=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=b;b=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=b;b=N[a+32>>2];N[a+64>>2]=N[a+28>>2];N[a+68>>2]=b;b=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=b;return d}N[a+40>>2]=0;return h}function vp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=N[(c?16:12)+b>>2];k=N[(c?8:4)+b>>2];l=T(c,9804)+a|0;b=l+9840|0;a:{if((k|0)==N[b>>2]&(o|0)==N[l+9844>>2]){break a}N[b>>2]=k;N[l+9844>>2]=o;m=N[a+10064>>2];b:{if(!m){break b}b=0;while(1){if(!(O[(T(b,36)+a|0)+10100|0]&16)){b=b+1|0;if((m|0)!=(b|0)){continue}break b}break}d=N[(T(b,36)+a|0)+10080>>2];g=d>>31;g=(d^g)-g|0;b=k>>31;b=(b^k)-b|0;c:{if(g+(b>>>8|0)>>>0<=8190){b=T(b,g)+32768>>>16|0;break c}e=g&65535;b=T(e,b>>>16|0)+T(b,g>>>16|0)+(T(e,b&65535)+32768>>>16)|0}g=N[N[a+36>>2]+20>>2];if(g){h=g;g=P[N[N[a+4>>2]+88>>2]+12>>1];g=g>>>0<=5?40:h>>>0>=g>>>0?52:40}else{g=40}if((c|0)!=1){break b}e=0-b|0;h=b;b=d>>31|1;b=(((k|0)<0?0-b|0:b)|0)<0?e:h;g=b+g&-64;if((b|0)==(g|0)){break b}g=jb(k,g,b);d=N[a+40>>2];d:{e:{if((m|0)==1){e=0;break e}j=m&1;e=m&-2;h=a+10068|0;b=0;while(1){f=h+T(b,36)|0;i=N[f+24>>2];d=(d|0)>(i|0)?d:i;f=0-N[f+28>>2]|0;d=(d|0)>(f|0)?d:f;f=h+T(b|1,36)|0;i=N[f+24>>2];d=(d|0)>(i|0)?d:i;f=0-N[f+28>>2]|0;d=(d|0)>(f|0)?d:f;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!j){break d}}b=T(e,36)+a|0;e=N[b+10092>>2];d=(d|0)>(e|0)?d:e;b=0-N[b+10096>>2]|0;d=(b|0)<(d|0)?d:b}j=g-k|0;b=j>>31;e=d>>31;e=(e^d)-e|0;b=(b^j)-b|0;f=e+(b>>>8|0)|0;f:{if(f>>>0<=8190){h=T(b,e)+32768>>>16|0;break f}h=e&65535;h=T(h,b>>>16|0)+T(b,e>>>16|0)+(T(h,b&65535)+32768>>>16)|0}d=d>>31|1;d=(j|0)<0?0-d|0:d;h=(d|0)<0?0-h|0:h;if(f>>>0<=8190){b=T(b,e)+32768>>>16|0}else{j=e&65535;b=T(j,b>>>16|0)+T(b,e>>>16|0)+(T(j,b&65535)+32768>>>16)|0}b=(d|0)<0?0-b|0:b;k=((h|0)<0?0-b|0:b)>>>0<128?g:k}N[l+44>>2]=k;N[(T(c,9804)+a|0)+48>>2]=o;g:{if(!c){N[a+8>>2]=k;b=a+16|0;break g}N[a+12>>2]=k;b=a+20|0}N[b>>2]=o;b=T(c,9804)+a|0;j=N[b+52>>2];h:{if(!j){b=k>>31;d=(b^k)-b|0;g=d>>>8|0;break h}g=k>>31;d=(g^k)-g|0;f=d&65535;i=d>>>16|0;g=d>>>8|0;r=b+56|0;b=0;while(1){l=r+T(b,12)|0;h=N[l>>2];e=h>>31;e=(e^h)-e|0;i:{if(e+g>>>0<=8190){n=T(d,e)+32768>>>16|0;break i}p=e&65535;n=T(p,i)+T(e>>>16|0,d)+(T(f,p)+32768>>>16)|0}e=n;p=0-e|0;e=h>>31|1;e=(((k|0)<0?0-e|0:e)|0)<0?p:n;N[l+8>>2]=e;N[l+4>>2]=e;b=b+1|0;if((j|0)!=(b|0)){continue}break}}b=T(c,9804)+a|0;f=b;e=N[b+252>>2];b=e>>31;b=(b^e)-b|0;j:{if(b+g>>>0<=8190){h=T(b,d)+32768>>>16|0;break j}h=b&65535;h=T(h,d>>>16|0)+T(b>>>16|0,d)+(T(h,d&65535)+32768>>>16)|0}b=h;i=0-b|0;b=e>>31|1;L[f+256|0]=(((((k|0)<0?0-b|0:b)|0)<0?i:h)|0)<40;if(!m|(c|0)!=1){break a}c=d&65535;e=d>>>16|0;l=0;while(1){b=T(l,36)+a|0;h=b+10068|0;j=N[h>>2];f=j>>31;f=(f^j)-f|0;k:{if(f+g>>>0<=8190){i=T(d,f)+32768>>>16|0;break k}i=f&65535;i=T(i,e)+T(f>>>16|0,d)+(T(c,i)+32768>>>16)|0}f=i;n=0-f|0;f=j>>31|1;r=(k|0)<0;p=o+(((r?0-f|0:f)|0)<0?n:i)|0;N[h+8>>2]=p;N[h+4>>2]=p;f=N[b+10080>>2];i=f>>31;i=(f^i)-i|0;l:{if(i+g>>>0<=8190){n=T(d,i)+32768>>>16|0;break l}q=i&65535;n=T(q,e)+T(i>>>16|0,d)+(T(c,q)+32768>>>16)|0}i=n;q=b+10100|0;s=N[q>>2];N[q>>2]=s&-2;t=b+10088|0;u=0-i|0;i=f>>31|1;i=o+(((r?0-i|0:i)|0)<0?u:n)|0;N[t>>2]=i;N[b+10084>>2]=i;j=j-f|0;b=j>>31;b=(b^j)-b|0;m:{if(b+g>>>0<=8190){b=T(b,d)+32768>>>16|0;break m}f=b&65535;b=T(f,e)+T(b>>>16|0,d)+(T(c,f)+32768>>>16)|0}j=j>>31|1;j=((r?0-j|0:j)|0)<0?0-b|0:b;if(j+48>>>0<=96){f=h;h=p+32&-64;N[f+8>>2]=h;f=b;b=b>>31;b=(f^b)-b|0;b=b>>>0>=32?b>>>0<48?32:64:0;N[t>>2]=h+((j|0)<0?b:0-b|0);N[q>>2]=s|1}l=l+1|0;if((m|0)!=(l|0)){continue}break}c=0;while(1){b=T(c,36)+a|0;g=b+10100|0;d=N[g>>2];n:{if((d&5)!=5){break n}o=b+10076|0;e=b+10088|0;b=0;while(1){k=T(b,36)+a|0;if(!((N[k+10100>>2]&5)!=1|N[k+10076>>2]>N[e>>2]|N[k+10088>>2]>2])){N[g>>2]=d&-2;break n}b=b+1|0;if((m|0)!=(b|0)){continue}break}}c=c+1|0;if((m|0)!=(c|0)){continue}break}}}function nz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;e=La-160|0;La=e;d=N[a>>2];f=N[d- -64>>2];g=N[d+56>>2];j=N[a+16>>2];k=j>>31;i=N[a+12>>2];h=i>>31;n=N[a+24>>2];l=n>>31;o=N[a+20>>2];s=o>>31;t=N[d+60>>2];u=N[d+52>>2];p=+(t-u|0)*.5+64;C=8/p;v=N[a+28>>2];k=(j^k)-k+((h^i)-h)|0;h=(l^n)-l+((o^s)-s)|0;m=.125/+((h>>>0>>0?k:h)|0);r=C*+(v|0)*m;S[e+112>>3]=r;w=+(f-g|0)*.5+64;x=8/w;k=N[a+32>>2];m=m*(x*+(k|0));S[e+120>>3]=m;h=N[a+4>>2];D=+(N[a+8>>2]<<3);H=m*D+x*+(n|0);S[e+96>>3]=H;p=V(m)*w+(V(r)*p+1);p=p>16?16:p;w=+(t+u|0)*.5;E=+(f+g|0)*.5;S[e+128>>3]=p-(r*w+E*m);z=r*D+C*+(o|0);S[e+88>>3]=z;S[e+104>>3]=p*D+0-(z*w+E*H);z=m;m=+(h<<3);x=z*m+x*+(j|0);S[e+72>>3]=x;r=r*m+C*+(i|0);S[e+64>>3]=r;S[e+80>>3]=p*m+0-(r*w+E*x);f=d+4|0;d=e+40|0;a:{if(k|v){q=f;f=e- -64|0;Fo(e+16|0,q,f);Fo(d,N[a>>2]+28|0,f);break a}q=f;f=e- -64|0;Go(e+16|0,q,f);Go(d,N[a>>2]+28|0,f)}k=N[c>>2];b:{c:{s=c+12|0;d:{e:{if(!Lo(s,e+16|0,0)){mb(N[k>>2],2,25239,0);break e}if(!Lo(s,d,1)){mb(N[k>>2],2,25239,0);break e}t=N[c+16>>2];u=N[c+24>>2];if((t|0)>(u|0)){break e}v=N[c+28>>2];F=N[c+20>>2];if((v|0)<(F|0)){break e}f:{y=t-1|0;A=y>>6;g=(u+127>>6)-A|0;l=F-1|0;o=l>>6;f=(v+127>>6)-o|0;g:{if((g|f)<0){break g}i=-1<>2];d=i^-2147483648;if((d|0)<(g|0)){break g}if((d|0)>=(f|0)){break f}}c=N[k>>2];N[e+4>>2]=f;N[e>>2]=g;mb(c,2,8058,e);break e}I=k+872|0;d=1<>2];j=0-d|0;h=i^-1;g=i&h+g;j=g>>>0>j>>>0?g:j&(d+g|0)-1;i=i&f+h;if(j>>>0>((d^2147483647)>>>0)/(((i|0)<=1?1:i)>>>0)>>>0){break e}f=d+T(j,i)|0;if(f>>>0>=-5-d>>>0){break e}f=kb((d+f|0)+3|0);if(!f){break e}q=d;G=d-1|0;d=f+4|0;n=G&d;n=(n?q-n|0:0)+d|0;N[n-4>>2]=f;if(!n){break e}N[b+20>>2]=n;N[b+16>>2]=j;N[b+12>>2]=i;N[b+8>>2]=g;N[b+4>>2]=o;N[b>>2]=A;if((j|0)<=0|(i|0)<=0){break c}if(h&j){break b}f=l&-64;g=y&-64;h=N[c+40>>2];if(h){d=N[c+32>>2];A=d+T(h,40)|0;K=f>>31;L=g>>31;while(1){N[d+24>>2]=N[d+24>>2]-g;N[d+28>>2]=N[d+28>>2]-g;N[d+32>>2]=N[d+32>>2]-f;N[d+36>>2]=N[d+36>>2]-f;y=N[d>>2];G=N[d+4>>2];l=N[d+12>>2];o=UE(l,l>>31,f,K);q=Pa;l=N[d+8>>2];J=UE(l,l>>31,g,L);l=J+o|0;o=Pa+q|0;N[d>>2]=y-l;N[d+4>>2]=G-((l>>>0>y>>>0)+(l>>>0>>0?o+1|0:o)|0);d=d+40|0;if((A|0)!=(d|0)){continue}break}}d=u-g|0;N[c+24>>2]=d;N[c+16>>2]=t-g;N[c+28>>2]=v-f;N[c+20>>2]=F-f;f=N[c+52>>2];g=N[c+44>>2]+h|0;h:{if(f>>>0>>0){d=f<<1;f=d>>>0<=64?64:d;while(1){d=f;f=d<<1;if(d>>>0>>0){continue}break}f=$a(N[c+36>>2],T(d,40));if(!f){break h}N[c+52>>2]=d;N[c+36>>2]=f;h=N[c+40>>2];d=N[c+24>>2]}f=N[c+56>>2];N[e+144>>2]=f;g=h-f|0;N[e+148>>2]=g;N[e+136>>2]=0;N[e+140>>2]=0;q=d;d=j<<6;if((q|0)>=(d|0)){h=N[c+32>>2];Fi(h,f,g,h,e+144|0,N[c+36>>2],e+152|0,e+136|0,d);N[e+136>>2]=0;N[e+140>>2]=0}d=i<<6;if((d|0)<=N[c+28>>2]){f=N[c+32>>2];Ei(f,N[e+144>>2],N[e+148>>2],f,e+144|0,N[c+36>>2],e+152|0,e+136|0,d);N[e+136>>2]=0;N[e+140>>2]=0}if(N[c+16>>2]<=0){d=N[c+32>>2];Fi(d,N[e+144>>2],N[e+148>>2],N[c+36>>2],e+152|0,d,e+144|0,e+136|0,0)}if(N[c+20>>2]<=0){d=N[c+32>>2];Ei(d,N[e+144>>2],N[e+148>>2],N[c+36>>2],e+152|0,d,e+144|0,e+136|0,0)}d=N[e+148>>2];f=N[e+144>>2];N[c+44>>2]=0;N[c+40>>2]=d+f;if(Di(I,s,n,j,i,j,0,e+144|0,e+136|0)){break d}}mb(N[k>>2],2,25211,0);c=N[b+20>>2];if(!c){break e}_a(N[c-4>>2])}N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}_a(N[e+32>>2]);_a(N[e+36>>2]);_a(N[e+56>>2]);_a(N[e+60>>2]);La=e+160|0;a=N[a>>2];return(((N[a+12>>2]+T(N[b+12>>2],N[b+16>>2])|0)+N[a+36>>2]|0)+(N[a+4>>2]+N[a+28>>2]<<3)|0)+140|0}ba(21974,18126,726,13210);B()}ba(24293,18126,727,13210);B()}function Ez(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-384|0;La=d;a:{b:{switch(N[a>>2]){case 0:f=b;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);e=0|b;hb(d+208|0,f^e^2025677871,b^c^-1602871964,0,0,e^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+176|0,(g|c)^(N[d+200>>2]^N[d+192>>2])^2025677871,N[d+204>>2]^N[d+196>>2]^b^-1602871964,0,0,(b|g)^-1598805797,c^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805805,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);b=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);b=O[a+40|0]|O[a+41|0]<<8|(O[a+42|0]<<16|O[a+43|0]<<24);a=b;hb(d+16|0,a^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);b=N[d+8>>2]^N[d>>2];c=N[d+12>>2]^N[d+4>>2];break a;case 1:b=so(N[a+8>>2],N[a+12>>2],b,c);c=Pa;break a;case 2:break b;default:break a}}e=b;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+368|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+352|0,N[d+376>>2]^N[d+368>>2],N[d+380>>2]^N[d+372>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+336|0,b^(N[d+360>>2]^N[d+352>>2])^2025677871,N[d+364>>2]^N[d+356>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+320|0,N[d+344>>2]^N[d+336>>2],N[d+348>>2]^N[d+340>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+304|0,b^(N[d+328>>2]^N[d+320>>2])^2025677871,N[d+332>>2]^N[d+324>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+288|0,N[d+312>>2]^N[d+304>>2],N[d+316>>2]^N[d+308>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+272|0,b^(N[d+296>>2]^N[d+288>>2])^2025677871,N[d+300>>2]^N[d+292>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);a=b;hb(d+240|0,a^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=N[d+232>>2]^N[d+224>>2];c=N[d+236>>2]^N[d+228>>2]}La=d+384|0;Pa=c;return b|0}function XD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=U(0),r=U(0),s=0,t=0;p=La-48|0;La=p;h=N[b>>2];b=N[h+48>>2];a:{if(b){break a}while(1){b=N[h>>2];if(!b){b=275552;break a}i=db(1,28);if(!i){b=275552;N[h+48>>2]=275552;break a}b=Lg(i,b);if(!N[h+48>>2]){N[h+48>>2]=b;break a}ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b);b=N[h+48>>2];if(!b){continue}break}}b:{if(N[b+4>>2]){h=275552;i=N[b+24>>2];i=i?i:275552;i=Q[i+16>>2]<24?275552:N[i+12>>2];l=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);if(l){h=i+(l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24))|0}c:{if(!N[a+84>>2]){break c}i=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(i){h=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))+h|0}else{h=275552}h=O[h+2|0]|O[h+3|0]<<8;i=(h<<8|h>>>8)&65535;o=kb(i<<2);if(!h|!o){break c}i=i>>>0<=1?1:i;l=i&7;h=0;if(i>>>0>=8){j=i&65528;while(1){i=h<<2;N[i+o>>2]=1073741824;N[(i|4)+o>>2]=1073741824;N[(i|8)+o>>2]=1073741824;N[(i|12)+o>>2]=1073741824;N[(i|16)+o>>2]=1073741824;N[(i|20)+o>>2]=1073741824;N[(i|24)+o>>2]=1073741824;N[(i|28)+o>>2]=1073741824;h=h+8|0;if((j|0)!=(h|0)){continue}break}}if(!l){break c}while(1){N[(h<<2)+o>>2]=1073741824;h=h+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(c){while(1){k=N[b+4>>2];m=N[d>>2];d:{if(k>>>0>m>>>0){h=N[b>>2]-1|0;h=h>>>0>>0?h:m;if((h|0)<0){h=275552}else{k=N[b+4>>2];i=N[b+20>>2];h=N[(i?i:275552)+12>>2]+(h<<2)|0}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;break d}h=0;if(N[b+8>>2]){break d}h=N[b+16>>2]}e:{if(k>>>0<=m>>>0){break e}i=N[a+84>>2];if(!i){break e}l=N[b+24>>2];j=l?l:275552;n=N[j+16>>2];if(n){k=275552;l=N[a+88>>2];j=n>>>0<24?275552:N[j+12>>2];n=O[j+8|0]|O[j+9|0]<<8|(O[j+10|0]<<16|O[j+11|0]<<24);if(n){n=j+(n<<24|(n&65280)<<8|(n>>>8&65280|n>>>24))|0}else{n=275552}n=nd(n,m);q=U(h>>>0);m=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);if(m){k=j+(m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))|0}h=O[k+6|0]|O[k+7|0]<<8;j=(h<<8|h>>>8)&65535;h=n>>>16|0;if(j>>>0<=h>>>0){r=U(.5)}else{h=(h<<2)+k|0;h=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);if(h){h=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+k|0}else{h=275552}m=n&65535;j=O[k+2|0]|O[k+3|0]<<8|(O[k+4|0]<<16|O[k+5|0]<<24);if(j){j=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))+k|0}else{j=275552}r=U(Fc(h,m,l,i,j,o)+U(.5))}q=U(U(Z(r))+q);if(q=U(0)){h=~~q>>>0;break e}h=0;break e}i=N[a+24>>2];h=N[i+108>>2];f:{if(h){break f}while(1){h=N[i+48>>2];if(!h){h=275552;break f}l=db(1,28);if(!l){h=275552;N[i+108>>2]=275552;break f}h=Le(l,h);if(!N[i+108>>2]){N[i+108>>2]=h;break f}ab(N[h+24>>2]);_a(h);h=N[i+108>>2];if(!h){continue}break}}h=fq(h,a,m,1)}h=0-h<<16>>16;i=UE(N[a+64>>2],N[a+68>>2],h,h>>31);h=Pa;i=i+32768|0;N[f>>2]=((i>>>0<32768?h+1|0:h)&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;s=s+1|0;if((s|0)!=(c|0)){continue}break}}_a(o);break b}b=p;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;d=N[a+96>>2];e=N[d+20>>2];h=N[a+100>>2];d=N[d+12>>2];if(d){d=N[d>>2]}else{d=0}g:{if(Qa[e|0](a,h,b,d)|0){b=N[p>>2];a=N[p+4>>2];break g}a=N[a+32>>2];t=+(a|0)*.8;h:{if(V(t)<2147483648){b=~~t;break h}b=-2147483648}a=b-a|0}if(!c){break b}a=a-b|0;if(c>>>0>=8){b=c&-8;h=0;while(1){N[f>>2]=a;d=f+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;f=d+g|0;h=h+8|0;if((b|0)!=(h|0)){continue}break}}b=c&7;if(!b){break b}h=0;while(1){N[f>>2]=a;f=f+g|0;h=h+1|0;if((b|0)!=(h|0)){continue}break}}La=p+48|0}function Gg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;c=N[a+36>>2];s=N[a+40>>2];m=N[a+28>>2];t=N[a+24>>2];v=m+T(t,40)|0;a:{if(b){w=8;if((t|0)<=0){break a}a=m;while(1){N[a+24>>2]=N[a+20>>2];N[a+28>>2]=N[a+8>>2];a=a+40|0;if(v>>>0>a>>>0){continue}break}break a}w=4;if((t|0)<=0){break a}a=m;while(1){N[a+24>>2]=N[a+16>>2];N[a+28>>2]=N[a+4>>2];a=a+40|0;if(v>>>0>a>>>0){continue}break}}if((c|0)>0){A=(c<<2)+s|0;while(1){l=N[s>>2];a=l;h=N[a+36>>2];b:{if(a>>>0>h>>>0){break b}c:{while(1){d:{if(P[a>>1]&w){c=a;e:while(1){e=c;k=h>>>0<=e>>>0;if(!k){c=e+40|0;if(P[e+40>>1]&w){continue}}i=1;f:{g:{g=e+40|0;c=g;d=h>>>0>>0;if(!d){while(1){if(P[c>>1]&w){break g}i=i+1|0;c=e+T(i,40)|0;if(h>>>0>=c>>>0){continue}break}}if((a|0)!=(e|0)){break f}c=N[a+24>>2];g=N[a+28>>2];if((c|0)==(g|0)){break b}g=c-g|0;if(a>>>0>l>>>0){break d}break c}if(i>>>0<2){continue}i=e+T(i,40)|0;q=i-40|0;k=N[e+28>>2]>N[i+28>>2];i=k?e:c;d=N[i+24>>2];i=N[i+28>>2];r=d-i|0;e=k?c:e;k=N[e+24>>2];e=N[e+28>>2];o=k-e|0;if(!((d|0)!=(k|0)&(e|0)!=(i|0))){while(1){d=N[g+28>>2];N[g+24>>2]=(e|0)<(d|0)?(d|0)<(i|0)?k:d+r|0:d+o|0;g=g+40|0;if(q>>>0>=g>>>0){continue}continue e}}p=fb(d-k|0,i-e|0);d=p>>31;d=(d^p)-d|0;y=d&65535;z=d>>>16|0;x=d>>>8|0;while(1){f=N[g+28>>2];h:{if((f|0)<=(e|0)){j=f+o|0;break h}j=f+r|0;if((f|0)>=(i|0)){break h}n=f-e|0;f=n>>31;f=(f^n)-f|0;i:{if(f+x>>>0<=8190){j=T(d,f)+32768>>>16|0;break i}j=f&65535;j=T(z,j)+T(d,f>>>16|0)+(T(y,j)+32768>>>16)|0}f=j;u=0-f|0;f=n>>31|1;j=k+((((p|0)<0?0-f|0:f)|0)<0?u:j)|0}N[g+24>>2]=j;g=g+40|0;if(q>>>0>=g>>>0){continue}break}continue}break}j:{if(d|k){break j}c=N[e+28>>2]>N[a+28>>2];i=c?e:a;d=N[i+24>>2];i=N[i+28>>2];q=d-i|0;c=c?a:e;k=N[c+24>>2];c=N[c+28>>2];r=k-c|0;if(!((d|0)!=(k|0)&(c|0)!=(i|0))){while(1){d=N[g+28>>2];N[g+24>>2]=(d|0)>(c|0)?(d|0)<(i|0)?k:d+q|0:d+r|0;g=g+40|0;if(h>>>0>=g>>>0){continue}break j}}o=fb(d-k|0,i-c|0);d=o>>31;d=(d^o)-d|0;p=d&65535;y=d>>>16|0;z=d>>>8|0;while(1){f=N[g+28>>2];k:{if((f|0)<=(c|0)){j=f+r|0;break k}j=f+q|0;if((f|0)>=(i|0)){break k}n=f-c|0;f=n>>31;f=(f^n)-f|0;l:{if(f+z>>>0<=8190){j=T(d,f)+32768>>>16|0;break l}x=f&65535;j=T(x,y)+T(d,f>>>16|0)+(T(p,x)+32768>>>16)|0}f=j;u=0-f|0;f=n>>31|1;j=k+((((o|0)<0?0-f|0:f)|0)<0?u:j)|0}N[g+24>>2]=j;g=g+40|0;if(h>>>0>=g>>>0){continue}break}}if(a>>>0<=m>>>0){break b}k=a-40|0;if(k>>>0>>0){break b}g=N[e+28>>2]>N[a+28>>2];c=g?e:a;h=N[c+24>>2];c=N[c+28>>2];d=h-c|0;a=g?a:e;g=N[a+24>>2];a=N[a+28>>2];f=g-a|0;if(!((h|0)!=(g|0)&(a|0)!=(c|0))){while(1){e=N[l+28>>2];N[l+24>>2]=(a|0)<(e|0)?(e|0)<(c|0)?g:e+d|0:e+f|0;l=l+40|0;if(k>>>0>=l>>>0){continue}break b}}n=fb(h-g|0,c-a|0);e=n>>31;e=(e^n)-e|0;q=e&65535;r=e>>>16|0;o=e>>>8|0;while(1){h=N[l+28>>2];m:{if((h|0)<=(a|0)){j=f+h|0;break m}j=d+h|0;if((c|0)<=(h|0)){break m}i=h-a|0;h=i>>31;h=(h^i)-h|0;n:{if(h+o>>>0<=8190){j=T(e,h)+32768>>>16|0;break n}p=h&65535;j=T(p,r)+T(e,h>>>16|0)+(T(q,p)+32768>>>16)|0}h=j;u=0-h|0;h=i>>31|1;j=g+((((n|0)<0?0-h|0:h)|0)<0?u:j)|0}N[l+24>>2]=j;l=l+40|0;if(k>>>0>=l>>>0){continue}break}break b}a=a+40|0;if(h>>>0>=a>>>0){continue}break b}break}while(1){N[l+24>>2]=g+N[l+28>>2];l=l+40|0;if(l>>>0>>0){continue}break}}c=a+40|0;if(h>>>0>>0){break b}while(1){N[a- -64>>2]=g+N[a+68>>2];a=c;c=a+40|0;if(h>>>0>=c>>>0){continue}break}}s=s+4|0;if(A>>>0>s>>>0){continue}break}}o:{if(b){if((t|0)<=0){break o}while(1){N[m+20>>2]=N[m+24>>2];m=m+40|0;if(v>>>0>m>>>0){continue}break}break o}if((t|0)<=0){break o}while(1){N[m+16>>2]=N[m+24>>2];m=m+40|0;if(v>>>0>m>>>0){continue}break}}}function eh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break b}h=N[b+12>>2];c=h-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65536){break b}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break b}h=h-8|0;N[b+12>>2]=h;if((h|0)<=0){break b}d=1;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!c){break b}d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);l=d>>>0<=1?1:d;m=d-1|0;a=a+8|0;while(1){c:{if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<8){break c}i=N[b+12>>2];d=i-8|0;N[b+12>>2]=d;if((d|0)<=0){break c}c=N[b+32>>2];d=N[c+12>>2];N[b+4>>2]=d;c=N[c+16>>2];e=c+d|0;N[b+8>>2]=e;if((c|0)<0){break a}d:{e:{f:{c=j>>>0>>0?a:0;if(c){if(c>>>0>>0&c>>>0>=d>>>0){break f}N[b+4>>2]=0;N[b+8>>2]=0;d=0;e=0;break e}if(a>>>0>=d>>>0){break e}k=0;break d}N[b+4>>2]=c;e=e-c|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=c+(d>>>0>e>>>0?e:d)|0;N[b+8>>2]=e;d=c}k=0;if(a>>>0>e>>>0){break d}h=e-a|0;if(h>>>0<8){break d}f=i-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(i>>>0<8|h>>>0>>0){break d}c=f-i|0;N[b+12>>2]=c;if((c|0)<=0){break d}g:{h:{switch(O[a+5|0]){case 0:g=d;d=a+8|0;if(g>>>0>d>>>0|d>>>0>e>>>0|e-d>>>0<8){break d}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break d}d=O[d|0]|O[d+1|0]<<8;if(!d){break g}h=a+16|0;if(h>>>0>e>>>0){break d}d=T((d<<8|d>>>8)&65535,6);if(d>>>0>e-h>>>0){break d}d=c-d|0;N[b+12>>2]=d;if((d|0)>0){break g}break d;case 1:if(a>>>0>>0|h>>>0<18){break d}d=c-18|0;N[b+12>>2]=d;if((d|0)<=0){break d}if(!ph(a+8|0,b)){break d}d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break g;case 2:if(a>>>0>>0|h>>>0<16){break d}f=c-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=a+10|0;if(f>>>0>e>>>0|e-f>>>0<2){break d}f=c-18|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[a+10|0]|O[a+11|0]<<8;f=((f<<8|f>>>8)&65535)+a|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<4){break d}g=c-22|0;N[b+12>>2]=g;if((g|0)<=0){break d}g=f+2|0;if(g>>>0>e>>>0|e-g>>>0<2){break d}c=c-24|0;N[b+12>>2]=c;if((c|0)<=0){break d}g=O[g|0]|O[g+1|0]<<8;if(g){f=f+4|0;if(f>>>0>e>>>0){break d}n=e-f|0;f=((g<<8|g>>>8)&65535)<<1;if(n>>>0>>0){break d}c=c-f|0;N[b+12>>2]=c;if((c|0)<=0){break d}}f=a+12|0;if(f>>>0>e>>>0|e-f>>>0<2){break d}N[b+12>>2]=c-2;if((c|0)<3){break d}g=d;d=O[a+12|0]|O[a+13|0]<<8;f=((d<<8|d>>>8)&65535)+a|0;if(g>>>0>f>>>0|e>>>0>>0|e-f>>>0<4){break d}N[b+12>>2]=c-6;if((c|0)<7){break d}g=f+2|0;if(g>>>0>e>>>0|e-g>>>0<2){break d}d=c-8|0;N[b+12>>2]=d;if((c|0)<9){break d}c=O[g|0]|O[g+1|0]<<8;if(c){f=f+4|0;if(f>>>0>e>>>0){break d}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>e-f>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}c=O[a+14|0]|O[a+15|0]<<8;if(!c){break g}c=(c<<8|c>>>8)&65535;if(c>>>0>h>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break g}break d;case 3:break h;default:break g}}if(a>>>0>>0|h>>>0<14){break d}d=c-14|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[a+8|0]|O[a+9|0]<<8;c=T(O[a+12|0],O[a+11|0])+(O[a+10|0]+((c<<8|c>>>8)&65535)<<1)|0;if(!c){break g}h=a+14|0;if(h>>>0>e>>>0|c>>>0>e-h>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}a=a+i|0;k=1}d=N[b+32>>2];i=N[d+12>>2];N[b+4>>2]=i;d=N[d+16>>2];e=d+i|0;N[b+8>>2]=e;if((d|0)<0){break a}if(!k){break c}d=1;j=j+1|0;if((l|0)!=(j|0)){continue}break b}break}d=0}return d}ba(16656,14279,195,9642);B()}function hu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-176|0;La=h;a:{b:{if(bb(a,19553,13)){break b}c:{switch(O[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}b=N[e+32>>2];d:{e:{if(!b|!N[b+72>>2]){break e}a=N[b+92>>2];N[h+32>>2]=19320;g=N[a+20>>2];f=g+((Qa[N[a+12>>2]](h+32|0)>>>0)%Q[a+4>>2]<<2)|0;c=N[f>>2];f:{if(!c){break f}while(1){if(Qa[N[a+16>>2]](c,h+32|0)|0){break f}f=f-4|0;if(g>>>0>f>>>0){f=(g+(N[a+4>>2]<<2)|0)-4|0}c=N[f>>2];if(c){continue}break}}if(!N[f>>2]){break e}if(N[b+80>>2]){break d}}b=N[e+32>>2];a=M[b+12>>1];N[b+40>>2]=a;N[h+16>>2]=a;a=h+32|0;Sf(a,h+16|0);f=Md(N[e+32>>2],19320,a);if(f){break a}}b=N[e+32>>2];g:{h:{if(!b|!N[b+72>>2]){break h}a=N[b+92>>2];N[h+168>>2]=19275;g=N[a+20>>2];f=g+((Qa[N[a+12>>2]](h+168|0)>>>0)%Q[a+4>>2]<<2)|0;c=N[f>>2];i:{if(!c){break i}while(1){if(Qa[N[a+16>>2]](c,h+168|0)|0){break i}f=f-4|0;if(g>>>0>f>>>0){f=(g+(N[a+4>>2]<<2)|0)-4|0}c=N[f>>2];if(c){continue}break}}if(!N[f>>2]){break h}if(N[b+80>>2]){break g}}b=N[e+32>>2];a=M[b+14>>1];N[b+44>>2]=a;N[h>>2]=a;a=h+32|0;Sf(a,h);f=Md(N[e+32>>2],19275,a);if(f){break a}}N[e>>2]=N[e>>2]&-17;N[d>>2]=173;f=0;break a}j:{if(bb(a,19567,21)){break j}switch(O[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break j}}k:{if(bb(a,19233,7)){break k}f=a+7|0;l:{switch(O[a+7|0]){case 9:case 10:case 13:case 32:L[a+7|0]=0;f=a+8|0;break;case 0:break l;default:break k}}f=Md(N[e+32>>2],a,f);break a}i=N[e+32>>2];c=a;m:{while(1){n:{d=-1;o:{p:{f=O[c|0];switch(f|0){case 0:break m;case 9:break n;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break o;default:break p}}if((f|0)==32){break n}}c=c+1|0;continue}break}L[c|0]=0;d=f}q:{if(!a|!O[a|0]){break q}N[h+32>>2]=a;k=N[i+132>>2];f=k+((Qa[N[i+124>>2]](h+32|0)>>>0)%Q[i+116>>2]<<2)|0;g=N[f>>2];r:{if(!g){break r}while(1){if(Qa[N[i+128>>2]](g,h+32|0)|0){break r}f=f-4|0;if(k>>>0>f>>>0){f=(k+(N[i+116>>2]<<2)|0)-4|0}g=N[f>>2];if(g){continue}break}}f=N[f>>2];if(!f){break q}f=N[f+4>>2];if(f>>>0>=83){l=(N[i+104>>2]+(f<<4)|0)-1328|0;break q}l=(f<<4)+43712|0}if((d|0)!=-1){L[c|0]=d}s:{t:{if(!(N[l+4>>2]!=1?l:0)){g=a+b|0;d=O[c|0];if(!d){break t}L[c|0]=0;c=c+1|0;f=0;break s}f=Kc(e+40|0,22537,a,b);if(f){break a}k=N[N[e+40>>2]>>2];c=0;u:{v:{w:{b=N[e+48>>2];switch(b|0){case 0:break u;case 1:break w;default:break v}}N[e+48>>2]=0;break u}g=b-1|0;i=g&3;a=0;f=1;if(b-2>>>0>=3){l=g&-4;while(1){d=N[e+40>>2];b=c<<2;m=d+b|0;j=d;d=f<<2;N[m>>2]=N[j+d>>2];j=N[e+40>>2];N[j+(b|4)>>2]=N[(d+j|0)+4>>2];j=N[e+40>>2];N[j+(b|8)>>2]=N[(d+j|0)+8>>2];j=b|12;b=N[e+40>>2];N[j+b>>2]=N[(b+d|0)+12>>2];f=f+4|0;c=c+4|0;if((l|0)!=(c|0)){continue}break}}if(i){while(1){b=N[e+40>>2];N[b+(c<<2)>>2]=N[b+(f<<2)>>2];f=f+1|0;c=c+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}N[e+48>>2]=g;if(!g){c=0;break u}b=N[N[e+40>>2]>>2];f=0;a=0;while(1){c=N[N[e+40>>2]+(a<<2)>>2];d=O[c|0];if(d){while(1){L[b+f|0]=d;f=f+1|0;d=O[c+1|0];c=c+1|0;if(d){continue}break}g=N[e+48>>2]}a=a+1|0;if(g>>>0>a>>>0){L[b+f|0]=32;g=N[e+48>>2];f=f+1|0}if(a>>>0>>0){continue}break}c=441572;if((b|0)==441572){break u}L[b+f|0]=0;c=b}f=Md(N[e+32>>2],k,c);break a}f=1}while(1){if(!f){d=O[c|0];f=1;continue}x:{b=d&255;if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;break x}b=((d&255)==34)+c|0;y:{if(b>>>0>=g>>>0){break y}while(1){z:{A:{g=g-1|0;switch(O[g|0]-9|0){case 25:break z;case 0:case 23:break A;default:break y}}L[g|0]=0;if(b>>>0>>0){continue}break y}break}L[g|0]=0}f=Md(N[e+32>>2],a,b);break a}f=0;continue}}La=h+176|0;return f|0}function Tl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-16|0;La=j;d=N[a+104>>2];b=Qa[N[a+516>>2]](a,1886352244,d,j+4|0)|0;a:{if(b){break a}f=N[d+8>>2];e=f+32|0;g=N[a+476>>2];c=N[d+20>>2];b:{if(c){b=85;if(!(Qa[c|0](d,e,0,0)|0)){break b}break a}b=85;if(Q[d+4>>2]>>0){break a}}N[d+8>>2]=e;c:{d:{e:{c=N[j+4>>2];if(!((g|0)!=131072|c>>>0<34)){g=N[d+28>>2];N[j+8>>2]=0;f:{if(Q[d+4>>2]<=f+33>>>0){break f}b=N[d+20>>2];if(b){if((Qa[b|0](d,e,j+12|0,2)|0)!=2){break f}e=N[d+8>>2];b=j+12|0;break e}b=N[d>>2];if(b){b=b+e|0;break e}N[d+8>>2]=e+2;f=0;break d}b=85;break c}b=3;if((g|0)!=151552|c>>>0<34){break c}g:{h:{i:{if(Q[d+4>>2]<=f+33>>>0){break i}h=N[d+28>>2];c=N[d+20>>2];j:{if(c){if((Qa[c|0](d,e,j+14|0,2)|0)!=2){break i}e=N[d+8>>2];c=j+14|0;break j}c=N[d>>2];if(!c){break h}c=c+e|0}c=O[c|0]|O[c+1|0]<<8;c=c<<8|c>>>8;break g}b=85;break c}c=0}N[d+8>>2]=e+2;f=c&65535;if(P[a+264>>1]<=(c-1&65535)>>>0|f>>>0>258){break c}g=Qa[N[h+4>>2]](h,f)|0;if(!g){b=64;break c}e=0;C(g,0,f);k:{b=Zb(d,g,f);if(!b){while(1){if(f>>>0>=L[e+g|0]+e>>>0){e=e+1|0;if((f|0)!=(e|0)){continue}break k}break}b=3}Qa[N[h+8>>2]](h,g);break c}N[a+640>>2]=g;M[a+636>>1]=c;b=0;break c}f=O[b|0]|O[b+1|0]<<8;N[d+8>>2]=e+2;b=3;n=f<<8|f>>>8;f=n&65535;if(f>>>0>P[a+264>>1]){break c}}b=3;m=c-34|0;k=f<<1;if(m>>>0>>0){break c}l=lb(g,2,0,f,0,j+8|0);l:{m:{b=N[j+8>>2];if(b){break m}b=Bb(d,k);N[j+8>>2]=b;if(b){break m}c=n&65535;n:{o:{if(c){b=N[d+32>>2];h=N[d+36>>2];e=0;if((c|0)!=1){o=f&65534;while(1){p:{if(h>>>0<=b+1>>>0){c=0;break p}c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[(e<<1)+l>>1]=c;c=0;if(h>>>0>b+1>>>0){c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[((e|1)<<1)+l>>1]=c;e=e+2|0;i=i+2|0;if((o|0)!=(i|0)){continue}break}}if(f&1){c=0;if(h>>>0>b+1>>>0){c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[(e<<1)+l>>1]=c}if(N[d+20>>2]){b=N[d>>2];if(b){c=N[d+28>>2];Qa[N[c+8>>2]](c,b)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0;h=f&1;q:{if((n&65535)==1){c=0;e=0;break q}c=f&65534;b=0;e=0;while(1){f=b<<1;i=P[(f|2)+l>>1];o=i-257|0;f=P[f+l>>1];p=f-257|0;e=f>>>0>257?(e&65535)<(p|0)?p:e:e;e=i>>>0>257?(o|0)>(e&65535)?o:e:e;b=b+2|0;if((c|0)!=(b|0)){continue}break}}if(h){b=P[(c<<1)+l>>1];c=b-257|0;e=b>>>0>257?(c|0)>(e&65535)?c:e:e}if(!(e&65535)){break o}f=m-k|0;c=f+1|0;r:{if(f>>>0<=2147483646){h=Qa[N[g+4>>2]](g,c)|0;if(h){break r}b=64;break l}b=6;if(c){break l}h=0}b=Zb(d,h,f);N[j+8>>2]=b;s:{if(b){break s}c=0;k=e&65535;d=lb(g,4,0,k,0,j+8|0);t:{b=N[j+8>>2];if(b){break t}u:{if(f){b=0;while(1){i=b+h|0;m=O[i|0];if(m>>>0>63){b=3;break t}L[i|0]=0;N[(c<<2)+d>>2]=i+1;b=(b+m|0)+1|0;c=c+1|0;if(f>>>0>b>>>0&k>>>0>c>>>0){continue}break}L[f+h|0]=0;if(c>>>0>>0){break u}break n}L[h|0]=0;f=1;b=Qa[N[g+12>>2]](g,1,2,h)|0;h=b?b:h;if(!b){b=!b<<6;break t}L[h+1|0]=0}i=c&65535;if(i>>>0>=(e&65535)>>>0){break n}b=f+h|0;f=k+(i^-1)|0;g=k-c&7;if(g){c=0;while(1){N[(i<<2)+d>>2]=b;i=i+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break n}while(1){c=(i<<2)+d|0;N[c>>2]=b;N[c+28>>2]=b;N[c+24>>2]=b;N[c+20>>2]=b;N[c+16>>2]=b;N[c+12>>2]=b;N[c+8>>2]=b;N[c+4>>2]=b;i=i+8|0;if((k|0)!=(i|0)){continue}break}break n}if(!d){break s}Qa[N[g+8>>2]](g,d)}if(!h){break m}Qa[N[g+8>>2]](g,h);break m}if(N[d+20>>2]){b=N[d>>2];if(b){c=N[d+28>>2];Qa[N[c+8>>2]](c,b)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0}e=0;d=0}N[a+644>>2]=d;N[a+640>>2]=l;M[a+638>>1]=e;M[a+636>>1]=n;b=0;break c}if(!l){break c}}Qa[N[g+8>>2]](g,l)}L[a+632|0]=1}La=j+16|0;return b}function sz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=La-384|0;La=d;e=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);hb(d+368|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+352|0,N[d+376>>2]^N[d+368>>2],N[d+380>>2]^N[d+372>>2],0,0,-1598805793,-419201327,0,0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);hb(d+336|0,b^(N[d+360>>2]^N[d+352>>2])^2025677871,N[d+364>>2]^N[d+356>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+320|0,N[d+344>>2]^N[d+336>>2],N[d+348>>2]^N[d+340>>2],0,0,-1598805793,-419201327,0,0);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+304|0,b^(N[d+328>>2]^N[d+320>>2])^2025677871,N[d+332>>2]^N[d+324>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+288|0,N[d+312>>2]^N[d+304>>2],N[d+316>>2]^N[d+308>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+272|0,b^(N[d+296>>2]^N[d+288>>2])^2025677871,N[d+300>>2]^N[d+292>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+240|0,b^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+208|0,b^(N[d+232>>2]^N[d+224>>2])^2025677871,N[d+236>>2]^N[d+228>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=N[d+200>>2]^N[d+192>>2];c=N[d+204>>2]^N[d+196>>2];g=N[a+24>>2];if(g){h=N[a+28>>2];while(1){a=b;e=T(f,24)+h|0;b=e;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);hb(d+176|0,a^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805793,-419201327,0,0);b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=a;hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[e+16|0]|O[e+17|0]<<8|(O[e+18|0]<<16|O[e+19|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);b=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);b=N[d+8>>2]^N[d>>2];c=N[d+12>>2]^N[d+4>>2];f=f+1|0;if((g|0)!=(f|0)){continue}break}}La=d+384|0;Pa=c;return b|0}function Rm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-16|0;La=g;N[b+12>>2]=0;N[b>>2]=c;h=c+d|0;N[b+8>>2]=h;Qa[N[b+28>>2]](b);c=N[b>>2];a:{b:{if(h>>>0<=c>>>0){break b}k=a+132|0;m=a+164|0;n=a+168|0;o=a+464|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=O[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(h|0)){break h}if(d>>>0>=h>>>0){break d}switch(O[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(h|0)){break m}if(d>>>0>=h>>>0){break d}switch(O[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(bb(c,16013,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){Qa[N[b+32>>2]](b);e=1;l=c;if(!N[b+12>>2]){break c}break b}f=c+6|0;if(!((d|0)!=82|f>>>0>=h>>>0)){if(!e|O[c+1|0]!=68){break d}N[b>>2]=l;e=N[N[a+128>>2]+52>>2];d=N[b+8>>2];Qa[N[b+28>>2]](b);n:{c=N[b>>2];o:{if(c>>>0>=d>>>0|O[c|0]-48>>>0>9){break o}c=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((c|0)<0){break o}f=d;d=N[b>>2];if((c|0)<(f+(d^-1)|0)){break n}}c=3;if(e){break a}break f}N[b>>2]=(c+d|0)+1;e=0;if(!N[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|f>>>0>=h>>>0)){if(!e|O[c+1|0]!=124){break d}N[b>>2]=l;e=N[N[a+128>>2]+52>>2];d=N[b+8>>2];Qa[N[b+28>>2]](b);p:{c=N[b>>2];q:{if(c>>>0>=d>>>0|O[c|0]-48>>>0>9){break q}c=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((c|0)<0){break q}f=d;d=N[b>>2];if((c|0)<(f+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}N[b>>2]=(c+d|0)+1;e=0;if(!N[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=h>>>0){break d}i=c+1|0;N[b>>2]=i;Qa[N[b+32>>2]](b);if(N[b+12>>2]){break b}e=0;c=N[b>>2];if((c|0)==(i|0)){break c}j=c-i|0;if(j>>>0>21|c>>>0>=h>>>0){break c}p=O[i|0];c=28752;f=37600;while(1){d=c;r:{if(O[f|0]!=(p|0)){break r}if((nb(f)|0)!=(j|0)){break r}if(Mb(i,f,j)){break r}c=N[b+376>>2];if(!(N[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(cb(f,11012)){break c}}f=N[a+532>>2];if(f){c=N[f>>2]?f:0}else{c=0}i=N[d+8>>2];s:{if((i|0)==11){Qa[N[d+12>>2]](a,b);c=N[b+12>>2];break s}t:{u:{v:{w:{x:{y:{z:{switch(N[d+4>>2]-2|0){case 1:N[g+12>>2]=k;if(c){break y}e=g+12|0;break u;case 2:N[g+12>>2]=n;e=g+12|0;if(!c){break u}e=c+212|0;break x;case 3:N[g+12>>2]=o;e=g+12|0;if(!c){break u}e=c+284|0;break x;case 4:N[g+12>>2]=b;e=g+12|0;break u;case 5:N[g+12>>2]=a;e=g+12|0;break u;case 6:N[g+12>>2]=f;e=g+12|0;c=0;break w;case 0:break v;default:break z}}N[g+12>>2]=k;e=g+12|0;break u}e=c+144|0}f=N[e>>2];c=N[c>>2]}if(f){break t}break g}N[g+12>>2]=m;e=g+12|0}c=0}if(i-9>>>0<=1){c=Qa[N[b+68>>2]](b,d,e,c,0)|0;break s}c=Qa[N[b+64>>2]](b,d,e,c,0)|0}N[b+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;f=N[d+36>>2];if(f){continue}break}break c}if(!bb(c,17782,5)){break b}break d}e=0;N[b+12>>2]=0;break c}N[b+12>>2]=3;break a}A:{d=c+14|0;if((d|0)==(h|0)){break A}if(d>>>0>=h>>>0){break d}switch(O[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break A;default:break d}}if(bb(c,7876,13)){break d}d=N[b+376>>2];if(d&1){N[b+376>>2]=d|2}N[b>>2]=c+13;break c}Qa[N[b+32>>2]](b);e=0;if(N[b+12>>2]){break b}}Qa[N[b+28>>2]](b);c=N[b>>2];if(h>>>0>c>>>0){continue}break}}c=N[b+12>>2]}La=g+16|0;return c}function Bk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break b}d=N[b+12>>2];f=d-4|0;N[b+12>>2]=f;if((O[a|0]|O[a+1|0]<<8)!=256|(f|0)<=0){break b}f=a+4|0;if(f>>>0>e>>>0|e-f>>>0<4){break b}g=d-8|0;N[b+12>>2]=g;if((g|0)<=0){break b}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>536870911){break b}i=f<<3;if(i){h=a+8|0;if(h>>>0>e>>>0|i>>>0>e-h>>>0){break b}e=g-i|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!d){return 1}m=f>>>0<=1?1:f;i=0;while(1){f=N[b+4>>2];k=(i<<3)+a|0;e=k+8|0;if(f>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}g=N[b+12>>2];c=g-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);c:{if(!c){break c}if(c&128){break a}d:{e:{h=f;f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(h>>>0>f>>>0|d>>>0>>0|d-f>>>0<2){break e}c=g-6|0;N[b+12>>2]=c;if((c|0)<=0){break e}g=O[f|0]|O[f+1|0]<<8;if(!g){break c}h=f+2|0;if(h>>>0>d>>>0){break e}h=d-h|0;d=(g<<8|g>>>8)&65535;g=d<<2;if(h>>>0>>0){break e}c=c-g|0;N[b+12>>2]=c;if((c|0)<=0){break e}n=d>>>0<=1?1:d;g=0;while(1){l=N[b+4>>2];d=(f+(g<<2)|0)+2|0;if(l>>>0>d>>>0){break e}h=N[b+8>>2];if(h>>>0>>0|h-d>>>0<4){break e}j=N[b+12>>2];c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f:{if(!c){break f}if(c&128){break e}c=f+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g:{if(c>>>0>>0|c>>>0>h>>>0){break g}h=h-c|0;if(h>>>0<2){break g}l=j-6|0;N[b+12>>2]=l;if((l|0)<=0){break g}if((O[c|0]|O[c+1|0]<<8)!=256){break f}if(h>>>0<8){break g}c=j-14|0;N[b+12>>2]=c;if((c|0)>0){break f}}c=N[b+28>>2];if(c>>>0>31){break a}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break d}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}g=g+1|0;if((n|0)!=(g|0)){continue}break}break c}c=N[b+28>>2]}if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}g=N[b+4>>2];e=k+12|0;if(g>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}h=N[b+12>>2];c=h-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h:{if(!c){break h}if(c&128){break a}i:{j:{f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<4){break j}c=h-8|0;N[b+12>>2]=c;if((O[f|0]|O[f+1|0]<<8)!=256|(c|0)<=0){break j}c=f+4|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break j}g=h-10|0;N[b+12>>2]=g;if((g|0)<=0){break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break h}h=f+6|0;if(h>>>0>d>>>0){break j}h=d-h|0;d=(c<<8|c>>>8)&65535;c=T(d,6);if(h>>>0>>0){break j}c=g-c|0;N[b+12>>2]=c;if((c|0)<=0){break j}h=d>>>0<=1?1:d;g=0;while(1){j=f+T(g,6)|0;d=j+6|0;if(d>>>0>2]){break j}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<6){break j}k=N[b+12>>2];d=k-6|0;N[b+12>>2]=d;if((d|0)<=0){break j}d=j+8|0;if(d>>>0>c>>>0|c-d>>>0<4){break j}c=k-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);k:{if(!c){break k}if(c&128){break j}if(Ak(f+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,b,0)){break k}c=N[b+28>>2];if(c>>>0>31){break a}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}g=g+1|0;if((h|0)!=(g|0)){continue}break}break h}c=N[b+28>>2]}if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}c=1;i=i+1|0;if((m|0)!=(i|0)){continue}break}}return c}return 0}function Do(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=La-1840|0;La=h;a:{if(!a){j=N[2];p=0;break a}j=N[a+8>>2];p=0;if(!(j&8)){break a}p=P[a+340>>1]}b:{if(!(j&1)){break b}c:{d:{e:{if(p){while(1){f=6;k=h+1024|0;if(!(!a|!k|(!(O[a+8|0]&8)|P[a+340>>1]<=q>>>0))){f=0;g=N[a+356>>2];i=g+T(q,20)|0;e=P[i+8>>1];d=0;f:{if(!e){break f}d=e;if(N[i+16>>2]){break f}n=N[a+104>>2];o=N[a+100>>2];j=Qa[N[o+4>>2]](o,e)|0;g:{if(!j){break g}C(j,0,e);N[i+16>>2]=j;d=N[(g+T(q,20)|0)+12>>2];h:{e=N[n+20>>2];i:{if(e){if(Qa[e|0](n,d,0,0)|0){break h}j=N[i+16>>2];break i}if(d>>>0>Q[n+4>>2]){break h}}N[n+8>>2]=d;if(Zb(n,j,P[i+8>>1])){break h}d=P[i+8>>1];break f}e=N[i+16>>2];if(!e){break g}Qa[N[o+8>>2]](o,e)}N[i+16>>2]=0;M[i+8>>1]=0;d=0}M[k>>1]=P[i>>1];M[k+2>>1]=P[i+2>>1];M[k+4>>1]=P[i+4>>1];M[k+6>>1]=P[i+6>>1];e=N[i+16>>2];N[k+12>>2]=d&65535;N[k+8>>2]=e}j:{if(P[h+1024>>1]!=3|f){break j}k:{switch(P[h+1030>>1]-1|0){case 0:case 3:break k;default:break j}}e=N[h+1036>>2];l:{if((e|0)<=0){e=h;break l}d=N[h+1032>>2];n=e+d|0;k=1024;e=h;while(1){g=e;m:{n:{o:{e=d;j=n-e|0;if(j>>>0>=2){f=O[e|0];i=O[e+1|0]|f<<8;d=e+2|0;if((f&252)!=216){break n}j=j-2|0;if(j>>>0>=2){break o}}d=d+j|0;f=65533;break m}o=O[d|0]<<8;f=65533;if(o-57344>>>0<4294966272){break m}i=((o|O[e+3|0])+(i<<10)|0)-56613888|0;d=e+4|0}f=(i&-1024)==56320?65533:i}if(k>>>0<5){e=g;break l}p:{if(f>>>0<=127){L[g|0]=f;e=g+1|0;break p}if(f>>>0<=2047){L[g+1|0]=f&63|128;L[g|0]=f>>>6|192;e=g+2|0;break p}if(f>>>0<=65535){L[g+2|0]=f&63|128;L[g|0]=f>>>12|224;L[g+1|0]=f>>>6&63|128;e=g+3|0;break p}e=g;if(f>>>0>1114111){break p}L[g+3|0]=f&63|128;L[g|0]=f>>>18|240;L[g+2|0]=f>>>6&63|128;L[g+1|0]=f>>>12&63|128;e=g+4|0}L[e|0]=0;k=(g-e|0)+k|0;if(d>>>0>>0){continue}break}}L[e|0]=0;e=P[h+1030>>1];if(!((e|0)!=4|(m|0)>99)){e=Hb(h);N[(h+1440|0)+(m<<2)>>2]=e;if(!e){break d}m=m+1|0;break j}if((e|0)!=1|(l|0)>99){break j}e=Hb(h);N[(h+1040|0)+(l<<2)>>2]=e;if(!e){break d}l=l+1|0}q=q+1|0;if((p|0)!=(q|0)){continue}break}if(l){break e}}if(!b){b=N[a+20>>2];if(!b){break c}}b=Hb(b);N[h+1040>>2]=b;l=1;if(!b){break c}}g=0-(N[a+12>>2]&1)&110;q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if(!(O[a+8|0]&8)){break A}e=N[a+96>>2];b=N[N[e>>2]+32>>2];if(!b){break A}b=Qa[b|0](e,16067)|0;if(!b){break A}b=Qa[N[b+4>>2]](a,2)|0;if(!b){break A}d=100;b=P[b+4>>1];switch(b|0){case 1:break q;case 9:break s;case 8:break t;case 7:break u;case 6:break v;case 5:break w;case 4:break x;case 3:break y;case 2:break z;case 0:break A;default:break r}}d=O[a+12|0]&2?700:400;break q}d=200;break q}d=300;break q}d=350;break q}d=400;break q}d=600;break q}d=700;break q}d=800;break q}d=900;break q}d=b}N[c+32>>2]=100;N[c+28>>2]=d;N[c+24>>2]=g;j=0;B:{C:{D:{e=N[a+128>>2];d=N[e+28>>2];switch(d+2|0){case 0:break B;case 2:break D;default:break C}}d=N[a+96>>2];b=N[N[d>>2]+32>>2];E:{if(!b){d=0;break E}d=Qa[b|0](d,15866)|0;e=N[a+128>>2]}N[e+28>>2]=d?d:-2}if(!d){break B}b=N[d>>2];if(!b){break B}j=Qa[b|0](a)|0}N[c+8>>2]=j;a=db(4,l);N[c>>2]=a;if(!a){break d}F(a,h+1040|0,l<<2);N[c+16>>2]=l;d=1;if(!m){break b}a=db(4,m);N[c+4>>2]=a;if(!a){break d}F(a,h+1440|0,m<<2);N[c+20>>2]=m;break b}d=0;if((l|0)<=0){break c}while(1){_a(N[(h+1040|0)+(d<<2)>>2]);d=d+1|0;if((l|0)!=(d|0)){continue}break}}d=0;if((m|0)>0){while(1){_a(N[(h+1440|0)+(d<<2)>>2]);d=d+1|0;if((m|0)!=(d|0)){continue}break}}_a(N[c>>2]);_a(N[c+4>>2]);N[c>>2]=0;N[c+4>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;d=0}La=h+1840|0;return d}function fj(a,b,c,d){var e=U(0),f=0,g=0,h=0,i=U(0),j=0,k=0,l=U(0),m=U(0),n=U(0),o=U(0),p=0,q=0,r=U(0),s=U(0),t=U(0);g=La-80|0;La=g;a:{if(Q[a+16>>2]>c>>>0){N[g+76>>2]=0;N[g+68>>2]=0;N[g+72>>2]=0;f=N[a+20>>2];f=N[(f?f:275552)+12>>2];b:{if(O[a+12|0]){h=f+(c<<1)|0;f=O[h|0]|O[h+1|0]<<8;j=((f<<8|f>>>8)&65535)<<1;f=O[h+2|0]|O[h+3|0]<<8;h=((f<<8|f>>>8)&65535)<<1;break b}h=f+(c<<2)|0;f=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);j=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}f=N[d+4>>2];c:{d:{if(h>>>0>=j>>>0){p=N[a+24>>2];p=p?p:275552;if(h>>>0<=Q[p+16>>2]){break d}}N[g+48>>2]=0;N[g+40>>2]=0;N[g+44>>2]=0;N[g+56>>2]=-1;N[g+60>>2]=0;N[g+52>>2]=275552;break c}p=N[p+12>>2]+j|0;h=h-j|0;j=h>>>0<10?275552:p;k=O[j|0]|O[j+1|0]<<8;if(k){k=(k<<8|k>>>8)<<16>>16>0?1:(k|0)==65279?3:2}else{k=0}N[g+60>>2]=k;N[g+56>>2]=c;N[g+52>>2]=j;N[g+48>>2]=0;N[g+44>>2]=h;N[g+40>>2]=p}N[g+32>>2]=0;N[g+16>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;j=ej(g+40|0,b,a,g+68|0,!f,g+8|0,0);e:{if(!j){break e}f:{if(!f){break f}c=N[g+72>>2];if(c>>>0<=3){break a}b=c-4|0;g:{if(!b){l=R[d+28>>2];m=R[d+20>>2];n=R[d+24>>2];o=R[d+16>>2];break g}l=R[d+28>>2];n=R[d+24>>2];m=R[d+20>>2];o=R[d+16>>2];a=0;k=N[g+76>>2];h:{if((c|0)!=5){p=c&1;h=b&-2;while(1){c=k+T(a,12)|0;r=R[c+4>>2];e=l>=r?l:r;b=k+T(a|1,12)|0;s=R[b+4>>2];l=e>=s?e:s;t=R[c>>2];e=n>=t?n:t;i=R[b>>2];n=e>=i?e:i;e=m<=r?m:r;m=e<=s?e:s;e=o<=t?o:t;o=e<=i?e:i;a=a+2|0;q=q+2|0;if((h|0)!=(q|0)){continue}break}if(!p){break h}}a=k+T(a,12)|0;i=R[a+4>>2];l=l>=i?l:i;e=R[a>>2];n=e<=n?n:e;m=m<=i?m:i;o=e>=o?o:e}R[d+28>>2]=l;R[d+24>>2]=n;R[d+20>>2]=m;R[d+16>>2]=o}if(n<=o|l<=m){N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;break f}if(O[d+12|0]){b=N[d>>2];i=R[b+44>>2];e=U(Z(U(U(o*i)+U(.5))));i:{if(U(V(e))>2]=a;e=U(Z(U(U(n*i)+U(.5))));j:{if(U(V(e))>2]=c-a;i=R[b+48>>2];e=U(Z(U(U(l*i)+U(.5))));k:{if(U(V(e))>2]=a;e=U(Z(U(U(m*i)+U(.5))));l:{if(U(V(e))>2]=b-a;break f}e=U(Z(U(o+U(.5))));m:{if(U(V(e))>2]=b;e=U(Z(U(l+U(.5))));n:{if(U(V(e))>2]=a;e=U(Z(U(U(n-U(b|0))+U(.5))));o:{if(U(V(e))>2]=b;e=U(Z(U(U(m-U(a|0))+U(.5))));if(U(V(e))>2]=~~e;break f}N[f+12>>2]=-2147483648}b=N[d+8>>2];if(!b){break e}p:{q:{r:{s:{t:{d=N[g+72>>2];u:{if(d>>>0>=4){c=(N[g+76>>2]+T(d,12)|0)-48|0;a=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=a;M[b+8>>1]=P[c+8>>1];break u}N[147456]=0;N[147457]=0;N[147458]=0;M[b+8>>1]=0;N[b>>2]=0;N[b+4>>2]=0;if(d>>>0<3){break t}}q=N[g+76>>2];c=(q+T(d,12)|0)-36|0;a=N[c+4>>2];N[b+12>>2]=N[c>>2];N[b+16>>2]=a;M[b+20>>1]=P[c+8>>1];break s}N[147456]=0;N[147457]=0;N[147458]=0;M[b+20>>1]=0;N[b+12>>2]=0;N[b+16>>2]=0;if((d|0)!=2){break r}q=N[g+76>>2]}c=(T(d,12)+q|0)-24|0;a=N[c+4>>2];N[b+24>>2]=N[c>>2];N[b+28>>2]=a;M[b+32>>1]=P[c+8>>1];break q}N[b+24>>2]=0;N[b+28>>2]=0;M[b+32>>1]=0;a=589824;if(!d){break p}q=N[g+76>>2]}a=(T(d,12)+q|0)-12|0}c=N[a+4>>2];N[b+36>>2]=N[a>>2];N[b+40>>2]=c;M[b+44>>1]=P[a+8>>1]}_a(N[g+76>>2])}La=g+80|0;return j}ba(19169,14261,202,9940);B()}function um(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;h=La-1312|0;La=h;j=N[a+4>>2];n=N[j+136>>2];o=N[j+100>>2];m=N[N[j+128>>2]+52>>2];a:{b:{c:{d:{if(m){e=Qa[N[N[m>>2]>>2]](N[m+4>>2],b,h+656|0)|0;if(e){break c}e=0;d=N[j+288>>2];g=d&255;e:{if(!g){break e}l=d&3;c=N[h+656>>2];if(g>>>0>=4){c=(d+252&252)+c|0;g=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);c=c+4|0}if(!l){break e}while(1){k=O[c|0]|k<<8;c=c+1|0;f=f+1|0;if((l|0)!=(f&255)){continue}break}}c=N[h+660>>2];f:{if(!c){f=0;c=0;d=1;break f}g:{h:{f=c-d|0;if((f|0)>0){c=Qa[N[o+4>>2]](o,f)|0;if(c){break h}e=64;c=0;d=0;break f}e=6;c=0;if(!f){break g}d=0;break f}d=N[j+288>>2]}F(c,N[h+656>>2]+d|0,f);e=0;d=1}Qa[N[N[m>>2]+4>>2]](N[m+4>>2],h+656|0);if(d){break d}break c}d=N[j+292>>2]+N[j+288>>2]|0;c=(N[j+284>>2]+N[j+308>>2]|0)+T(d,b)|0;i:{g=N[j+328>>2];f=N[g+20>>2];if(f){e=85;if(Qa[f|0](g,c,0,0)|0){break a}break i}if(c>>>0<=Q[g+4>>2]){break i}e=85;break a}N[g+8>>2]=c;e=Bb(g,d<<1);if(e){break a}e=N[g+32>>2];d=e;l=N[j+288>>2];i=l&255;if(i){f=0;c=e;if(i>>>0>=4){c=e+(l+252&252)|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);k=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}d=l&3;if(d){while(1){k=O[c|0]|k<<8;c=c+1|0;f=f+1|0;if((d|0)!=(f&255)){continue}break}}d=e+(l&255)|0}f=0;p=N[j+292>>2];j:{if(!(p&255)){break j}c=d;if((p&255)>>>0>=4){c=e+((p+252&252)+(l&255)|0)|0;i=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);q=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);c=c+4|0}r=p&3;if(r){while(1){q=O[c|0]|q<<8;c=c+1|0;f=f+1|0;if((f&255)!=(r|0)){continue}break}}i=0;c=p&255;k:{if(c>>>0<4){f=0;c=(c+d|0)+l|0;break k}c=e+((c+((p+252&252)+l|0)|0)+(l&255)|0)|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}if(!r){break j}while(1){f=O[c|0]|f<<8;c=c+1|0;i=i+1|0;if((i&255)!=(r|0)){continue}break}}if(N[g+20>>2]){c=N[g>>2];if(c){d=N[g+28>>2];Qa[N[d+8>>2]](d,c)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;i=0;e=9;if(Q[g+4>>2]>>0|Q[j+300>>2]<=k>>>0|f>>>0>>0){break a}f=f-q|0;if(!f){e=0;break a}if((f|0)<=0){e=6;break a}c=Qa[N[o+4>>2]](o,f)|0;if(!c){e=64;break a}e=Xh(g,N[j+308>>2]+q|0,c,f);if(e){break b}}d=N[j+316>>2]+(k<<3)|0;N[a+1364>>2]=N[d>>2];d=N[d+4>>2];N[a+1372>>2]=0;N[a+1376>>2]=0;N[a+1368>>2]=d;d=N[j+304>>2]+T(k,252)|0;e=N[d+220>>2];N[a+1380>>2]=N[d+216>>2];N[a+1384>>2]=e;g=N[d+228>>2];e=a+1388|0;N[e>>2]=N[d+224>>2];N[e+4>>2]=g;e=N[d+236>>2];N[a+1396>>2]=N[d+232>>2];N[a+1400>>2]=e;k=N[d+4>>2];N[a+1360>>2]=k;e=9;g=(k|0)>=0?k:0;if(g>>>0>f>>>0){break c}if((k|0)>=0){Qa[N[n+16>>2]](c,f,4330)}l:{if(O[a+70|0]){e=Qa[N[N[n+12>>2]+8>>2]](a,c+g|0,f-g|0)|0;i=0;break l}e=h+656|0;Qa[N[n+24>>2]](e,a,1);i=d;d=h+4|0;Qa[N[n+28>>2]](j,i,d);N[h+1192>>2]=d;d=c+g|0;f=f-g|0;e=Qa[N[N[n+12>>2]+12>>2]](e,d,f)|0;i=0;if((e&255)!=164){break l}L[N[a+8>>2]+160|0]=0;e=Qa[N[N[n+12>>2]+12>>2]](h+656|0,d,f)|0;i=1}if(e|!m){break c}e=N[N[m>>2]+8>>2];if(!e){e=0;break c}d=N[a+32>>2];N[h+660>>2]=0;N[h+656>>2]=(d+(d>>31)|0)+32768>>16;d=N[a+40>>2];N[h+664>>2]=((d>>31)+d|0)+32768>>16;d=N[a+44>>2];N[h+668>>2]=((d>>31)+d|0)+32768>>16;e=Qa[e|0](N[m+4>>2],b,0,h+656|0)|0;N[a+32>>2]=N[h+656>>2]<<16;N[a+40>>2]=N[h+664>>2]<<16;N[a+44>>2]=N[h+668>>2]<<16}if(!c){break a}}Qa[N[o+8>>2]](o,c)}L[N[a+8>>2]+161|0]=i;La=h+1312|0;return e|0}function Nq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;a:{b:{if(!(L[b+147|0]&1)){break b}z=N[c+28>>2]>>31|1;w=1;while(1){t=N[b+68>>2];y=t+x|0;c:{if(!t){m=y;break c}o=N[b+80>>2];u=o+3|0;s=N[b+88>>2];m=y;a=t;while(1){j=0;f=0;g=0;d=a;i=T(d-1|0,20);d:{if((O[(i+u|0)+16|0]&254)!=8){if(!D){break d}e=i+o|0;f=N[e+4>>2];m=m-1|0;h=T(m,20);d=h+o|0;N[d>>2]=N[e>>2];N[d+4>>2]=f;N[d+16>>2]=N[e+16>>2];f=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=f;d=h+s|0;e=i+s|0;N[d+16>>2]=N[e+16>>2];i=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=i;i=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=i;break d}while(1){e:{i=d-1|0;e=T(i,20);h=e+u|0;if((O[h+16|0]&254)!=8){e=d;k=0;f:{while(1){i=e-1|0;h=T(i,20);if((O[(h+u|0)+16|0]&254)==8){break f}r=h+o|0;n=P[r+16>>1];if(!((O[r+12|0]&16?0:n&32)|1<>2]+k|0;e=i;if(e){continue}break}e=0}r=d;break e}d=N[c+96>>2];k=N[d+40>>2];r=0;l=N[c+100>>2];e=N[e+o>>2];d=N[d+12>>2];if(d){d=N[d+20>>2]}else{d=0}e=Qa[k|0](c,l,e,d)|0;d=O[h+16|0]!=8;j=(d?0:e)+j|0;g=(d?e:0)+g|0;f=d+f|0;k=0;e=0;d=i;if(d){continue}}break}i=T(k-j|0,z);A=0;g=T(g,z);d=0;g:{if((g|0)<=0){break g}d=0;if((g|0)>=(i|0)){break g}d=((i|0)/(g|0)|0)-1|0}h=d+1|0;h:{if((i|0)<=(T(h,g)|0)){h=d;break h}if((f|0)<=0){h=d;break h}d=T(g,d+2|0)-i|0;if((d|0)<=0){break h}A=(d|0)/(T(f,h)|0)|0}i=r+1|0;if(w){x=T(f,h)+x|0;a=i;break d}d=N[b+68>>2];l=a>>>0>d>>>0?d:a;p=l-e|0;i:{if(p>>>0<2){break i}g=N[b+144>>2]|32;N[b+144>>2]=g;if(e>>>0>=l>>>0){break i}n=N[b+80>>2];d=-1;f=e;C=l+(f^-1)|0;if(C>>>0>=3){v=p&-4;k=0;while(1){j=n+T(f,20)|0;q=N[j+8>>2];d=d>>>0>>0?d:q;q=N[j+28>>2];d=d>>>0>>0?d:q;q=N[j+48>>2];d=d>>>0>>0?d:q;j=N[j+68>>2];d=d>>>0>>0?d:j;f=f+4|0;k=k+4|0;if((v|0)!=(k|0)){continue}break}}j=0;k=p&3;if(k){while(1){v=N[(n+T(f,20)|0)+8>>2];d=d>>>0>>0?d:v;f=f+1|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}if(p&1){f=n+T(e,20)|0;if(N[f+8>>2]!=(d|0)){N[f+4>>2]=N[f+4>>2]|3}e=e+1|0}if(!C){break i}while(1){f=n+T(e,20)|0;if(N[f+8>>2]!=(d|0)){g=g|32;N[b+144>>2]=g;N[f+4>>2]=N[f+4>>2]|3}f=n+T(e+1|0,20)|0;if(N[f+8>>2]!=(d|0)){g=g|32;N[b+144>>2]=g;N[f+4>>2]=N[f+4>>2]|3}e=e+2|0;if((l|0)!=(e|0)){continue}break}}if(a>>>0<=r>>>0){a=i;break d}n=h+1|0;e=0;while(1){h=N[c+96>>2];g=N[h+40>>2];j=N[c+100>>2];a=a-1|0;d=T(a,20);f=d+o|0;k=N[f>>2];h=N[h+12>>2];if(h){h=N[h+20>>2]}else{h=0}k=Qa[g|0](c,j,k,h)|0;j=O[(d+u|0)+16|0]!=9?1:n;j:{if(!j){break j}h=d+s|0;e=e-k|0;N[h+8>>2]=e;m=m-1|0;g=T(m,20);d=g+o|0;N[d+16>>2]=N[f+16>>2];l=N[f+12>>2];N[d+8>>2]=N[f+8>>2];N[d+12>>2]=l;l=N[f+4>>2];N[d>>2]=N[f>>2];N[d+4>>2]=l;d=g+s|0;N[d+16>>2]=N[h+16>>2];g=N[h+12>>2];N[d+8>>2]=N[h+8>>2];N[d+12>>2]=g;g=N[h+4>>2];N[d>>2]=N[h>>2];N[d+4>>2]=g;d=1;if((j|0)==1){break j}while(1){e=(e-k|0)+A|0;N[h+8>>2]=e;m=m-1|0;l=T(m,20);g=l+o|0;N[g+16>>2]=N[f+16>>2];p=N[f+12>>2];N[g+8>>2]=N[f+8>>2];N[g+12>>2]=p;p=N[f+4>>2];N[g>>2]=N[f>>2];N[g+4>>2]=p;g=l+s|0;N[g+16>>2]=N[h+16>>2];l=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=l;l=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=l;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(a>>>0>r>>>0){continue}break}a=i}a=a-1|0;if(a){continue}break}}if(w){w=0;D=1;a=x+t|0;if(!a|a>>>0>2]){continue}if(gb(b,a)){continue}break b}break}if(m){break a}N[b+68>>2]=y}return}ba(22012,17885,624,14367);B()}function mn(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0,P=0,Q=0,R=0;a:{if(!a|c+1>>>0<3&b+1>>>0<=2){break a}y=dg(a);if((y|0)==2){break a}H=M[a>>1];if((H|0)<=0){break a}F=N[a+4>>2];z=(c|0)/2|0;i=z>>31;A=(i^z)-i|0;P=A>>>16|0;I=A&65535;B=(b|0)/2|0;i=B>>31;C=(i^B)-i|0;Q=C>>>16|0;J=C&65535;R=N[a+12>>2];while(1){w=M[(G<<1)+R>>1];b:{if((w|0)==(D|0)){break b}E=-1;s=D;K=0;e=0;L=0;O=0;q=0;j=0;a=w;if((a|0)==-1){break b}while(1){k=O;g=L;i=K;c:{if((s|0)!=(E|0)){k=(s<<3)+F|0;l=N[k+4>>2];g=(a<<3)+F|0;d=N[g+4>>2];o=l-d|0;i=o>>31;i=(i^o)-i|0;k=N[k>>2];g=N[g>>2];d:{if((k|0)==(g|0)){if((d|0)==(l|0)){break c}g=0;k=(o|0)<0?-65536:65536;break d}h=k-g|0;g=h>>31;f=(g^h)-g|0;if((d|0)==(l|0)){k=0;g=(h|0)<0?-65536:65536;i=f;break d}k=i>>>0>>0?f+(i>>>1|0)|0:(f>>>1|0)+i|0;g=W(k);r=(-1431655766>>>g>>>0>k>>>0?-15:-16)+g|0;d=(r|0)<=0;e:{if(!d){m=f<>>0>n>>>0?m+(n>>>1|0)|0:(m>>>1|0)+n|0;break e}g=0-r|0;k=k>>>g|0;n=i>>>g|0;m=f>>>g|0}g=65536-k|0;while(1){l=(T(g,m)>>16)+m|0;f=(T(g,n)>>16)+n|0;i=T((T(l,l)+T(f,f)|0)/-512|0,g+65536>>8);g=(i>>>16|0)+g|0;if((i|0)>65535){continue}break}k=(o|0)<0?0-f|0:f;g=(h|0)<0?0-l|0:l;i=((T(m,l)+T(f,n)|0)/65536|0)+65536|0;if(!d){i=i+(1<>>r|0;break d}i=i<<0-r}if(!i){break c}}f:{if(!e){break f}if((E|0)<0){L=q;K=e;E=a;O=j}f=0;d=g>>31;p=(d^g)-d|0;d=q>>31;m=(d^q)-d|0;g:{if((p>>>8|0)+m>>>0<=8190){h=T(m,p)+32768>>>16|0;break g}d=m&65535;h=T(d,p>>>16|0)+T(p,m>>>16|0)+(T(d,p&65535)+32768>>>16)|0}d=h;l=0-d|0;d=q>>31|1;l=(((g|0)<0?0-d|0:d)|0)<0?l:h;d=k>>31;n=(d^k)-d|0;d=j>>31;o=(d^j)-d|0;h:{if((n>>>8|0)+o>>>0<=8190){h=T(n,o)+32768>>>16|0;break h}d=o&65535;h=T(d,n>>>16|0)+T(n,o>>>16|0)+(T(d,n&65535)+32768>>>16)|0}d=h;x=0-d|0;d=j>>31|1;r=l+((((k|0)<0?0-d|0:d)|0)<0?x:h)|0;h=0;i:{if((r|0)<-61439){break i}d=j+k|0;t=r+65536|0;if(p+(o>>>8|0)>>>0<=8190){h=T(o,p)+32768>>>16|0}else{f=p&65535;h=T(f,o>>>16|0)+T(o,p>>>16|0)+(T(f,o&65535)+32768>>>16)|0}f=h;l=0-f|0;f=g>>31|1;h=(((j|0)<0?0-f|0:f)|0)<0?l:h;if(n+(m>>>8|0)>>>0<=8190){f=T(m,n)+32768>>>16|0}else{j=n&65535;f=T(j,m>>>16|0)+T(m,n>>>16|0)+(T(j,m&65535)+32768>>>16)|0}j=f;l=0-j|0;j=k>>31|1;j=h+((((q|0)<0?0-j|0:j)|0)<0?f:l)|0;m=y?j:0-j|0;p=(i|0)>(e|0)?e:i;f=0-d|0;e=j>>31;u=(e^j)-e|0;n=u>>>8|0;j:{if(n+C>>>0<=8190){e=T(u,C)+32768>>>16|0;break j}e=T(u>>>16|0,J)+T(u,Q)+(T(u&65535,J)+32768>>>16)|0}o=(m|0)<0;j=o^(b|0)<-1?0-e|0:e;e=p>>31;v=(e^p)-e|0;h=v+(t>>>8|0)>>>0>8190;k:{if(!h){x=T(t,v)+32768>>>16|0;break k}e=v&65535;x=T(e,t>>>16|0)+T(v>>>16|0,t)+(T(e,r&65535)+32768>>>16)|0}l=x;e=y?d:f;f=0-l|0;l=(p|0)<0;l:{if(((l?f:x)|0)>=(j|0)){f=jb(e,B,t);break l}f=jb(e,p,m)}d=g+q|0;q=0-d|0;e=n+A>>>0<=8190?T(u,A)+32768>>>16|0:T(u>>>16|0,I)+T(u,P)+(T(u&65535,I)+32768>>>16)|0;j=o^(c|0)<-1?0-e|0:e;if(h){e=v&65535;h=T(e,t>>>16|0)+T(v>>>16|0,t)+(T(e,r&65535)+32768>>>16)|0}else{h=T(t,v)+32768>>>16|0}e=y?q:d;if((j|0)<=((l?0-h|0:h)|0)){h=jb(e,z,t);break i}h=jb(e,p,m)}if((a|0)==(s|0)){break f}j=h+z|0;e=f+B|0;while(1){q=(a<<3)+F|0;N[q>>2]=e+N[q>>2];N[q+4>>2]=j+N[q+4>>2];a=(a|0)<(w|0)?a+1|0:D;if((s|0)!=(a|0)){continue}break}}j=k;q=g;e=i;a=s}s=(s|0)<(w|0)?s+1|0:D;if((s|0)==(a|0)){break b}if((a|0)!=(E|0)){continue}break}}D=w+1|0;G=G+1|0;if((H|0)!=(G|0)){continue}break}}}function Hk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=La-16|0;La=q;e=N[b+96>>2];d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=0;f=N[e+64>>2];c=vb(c,N[N[e+80>>2]+T(f,20)>>2]);a:{if((c|0)==-1){break a}N[b+4>>2]=f;N[b+36>>2]=1;d=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[d+68>>2];L[b+23|0]=O[b+22|0]?(f|0)==N[d+64>>2]?O[(N[d+80>>2]+T(f,20)|0)+15|0]:0:0;if(!kc(b+4|0,q+12|0)){d=0;if(!(O[e+16|0]&64)){break a}wb(e,2,N[e+64>>2],N[q+12>>2],1,0);break a}d=O[a+8|0]|O[a+9|0]<<8;d=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+10|0;d=O[d|0]|O[d+1|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=275552}m=N[b+4>>2];n=La-48|0;La=n;d=b;f=N[b+96>>2];b:{c:{b=O[e|0]|O[e+1|0]<<8;if(b){o=e+2|0;i=YE(O[a+4|0]|O[a+5|0]<<8);p=O[a+6|0]|O[a+7|0]<<8;h=(YE(p)+i<<1)+2|0;l=N[N[f+80>>2]+T(m,20)>>2];c=((b<<8|b>>>8)&65535)-1|0;b=0;while(1){k=b+c>>>1|0;g=o+T(k,h)|0;j=O[g|0]|O[g+1|0]<<8;j=(j<<8|j>>>8)&65535;d:{if(j>>>0>l>>>0){c=k-1|0;break d}if((l|0)==(j|0)){break c}b=k+1|0}if((b|0)<=(c|0)){continue}break}}d=0;if(!(O[f+16|0]&64)){break b}wb(f,2,N[f+64>>2],m+1|0,1,0);d=0;break b}if(N[f+156>>2]){b=N[d+88>>2];c=N[f+64>>2];N[n+36>>2]=m;N[n+32>>2]=c;ib(f,b,17042,n+32|0)}b=g+2|0;b=ge(O[a+4|0]|O[a+5|0]<<8,d,e,b,N[f+88>>2]+T(N[f+64>>2],20)|0)|ge(O[a+6|0]|O[a+7|0]<<8,d,e,b+(i<<1)|0,N[f+88>>2]+T(m,20)|0);e:{if((b|0)!=1){break e}a=N[d+96>>2];if(!N[a+156>>2]){break e}e=N[d+88>>2];c=N[a+64>>2];N[n+20>>2]=m;N[n+16>>2]=c;ib(a,e,17100,n+16|0)}a=N[d+96>>2];if(N[a+156>>2]){d=N[d+88>>2];e=N[a+64>>2];N[n+4>>2]=m;N[n>>2]=e;ib(a,d,17070,n)}f:{if(!b){break f}a=N[f+68>>2];b=m+1|0;l=a>>>0>>0?a:b;a=N[f+64>>2];k=l-a|0;if(k>>>0<2){break f}e=N[f+144>>2]|32;N[f+144>>2]=e;if(a>>>0>=l>>>0){break f}i=N[f+80>>2];c=-1;b=a;o=l+(b^-1)|0;if(o>>>0>=3){h=k&-4;d=0;while(1){g=i+T(b,20)|0;j=N[g+8>>2];c=c>>>0>>0?c:j;j=N[g+28>>2];c=c>>>0>>0?c:j;j=N[g+48>>2];c=c>>>0>>0?c:j;g=N[g+68>>2];c=c>>>0>>0?c:g;b=b+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}g=k&3;if(g){d=0;while(1){h=N[(i+T(b,20)|0)+8>>2];c=c>>>0>>0?c:h;b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(k&1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){N[b+4>>2]=N[b+4>>2]|3}a=a+1|0}if(!o){break f}while(1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}b=i+T(a+1|0,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}g:{if(!p){break g}a=m+2|0;m=m+1|0;b=N[f+68>>2];l=a>>>0>b>>>0?b:a;a=N[f+64>>2];k=l-a|0;if(k>>>0<2){break g}e=N[f+144>>2]|32;N[f+144>>2]=e;if(a>>>0>=l>>>0){break g}i=N[f+80>>2];c=-1;b=a;o=l+(b^-1)|0;if(o>>>0>=3){p=k&-4;d=0;while(1){g=i+T(b,20)|0;h=N[g+8>>2];c=c>>>0>>0?c:h;h=N[g+28>>2];c=c>>>0>>0?c:h;h=N[g+48>>2];c=c>>>0>>0?c:h;g=N[g+68>>2];c=c>>>0>>0?c:g;b=b+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}g=k&3;if(g){d=0;while(1){p=N[(i+T(b,20)|0)+8>>2];c=c>>>0

>>0?c:p;b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(k&1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){N[b+4>>2]=N[b+4>>2]|3}a=a+1|0}if(!o){break g}while(1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}b=i+T(a+1|0,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}N[f+64>>2]=m;d=1}La=n+48|0}La=q+16|0;return d}function zu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-16|0;La=h;a:{b:{c:{if(gm(a,b,c)){Uf(b);if(!a){break b}g=b+132|0;k=N[a+28>>2];j=pm(a);d:{if(j){break d}N[g>>2]=0;N[g+4>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;N[b+160>>2]=k;f=Qa[N[k+4>>2]](k,8276)|0;e:{if(!f){j=!f<<6;break e}N[f>>2]=a;N[f+4>>2]=g;d=N[b+160>>2];e=f+8264|0;N[f+8272>>2]=e;N[f+8>>2]=d;N[f+8268>>2]=e;N[f+8264>>2]=0;f:{j=pm(a);g:{if(j){break g}d=N[a+8>>2];N[f+48>>2]=163;N[f+44>>2]=164;N[f+68>>2]=d;d=N[a+28>>2];N[f+16>>2]=0;N[f+52>>2]=d;N[f+12>>2]=f+4168;j=3;if(mm(f+12|0,-15)){break g}if(N[f+12>>2]){break f}}Qa[N[k+8>>2]](k,f);break d}N[b+144>>2]=f;j=0}d=N[a+4>>2];l=d-4|0;m=N[a+8>>2];h:{i:{j:{k:{e=N[a+20>>2];l:{if(e){if(Qa[e|0](a,l,0,0)|0){break k}e=N[a+4>>2];break l}e=d;if(d>>>0<4){break k}}N[a+8>>2]=l;m:{if(d-1>>>0>=e>>>0){break m}n:{o:{d=N[a+20>>2];p:{if(d){if((Qa[d|0](a,l,h+4|0,4)|0)!=4){break m}l=N[a+8>>2];d=h+4|0;break p}d=N[a>>2];if(!d){break o}d=d+l|0}i=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break n}i=0}N[a+8>>2]=l+4}d=N[a+20>>2];q:{r:{if(d){if(!(Qa[d|0](a,m,0,0)|0)){break r}break q}if(Q[a+4>>2]>>0){break q}}N[a+8>>2]=m}if(i-1>>>0<=40958){l=165;e=Qa[N[k+4>>2]](k,i)|0;if(!e){d=0;break i}d=0;if((Bh(f,0,e,i)|0)==(i|0)){break j}Bh(f,0,0,0);Qa[N[k+8>>2]](k,e);break i}if(!i){break k}l=165;d=0;break h}l=165;d=0;i=2147483647;break h}Vf(f+12|0);l=0;N[f+52>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;N[f+16>>2]=0;Qa[N[k+8>>2]](k,f);N[b+144>>2]=0;d=e}j=0}N[b+132>>2]=d;N[b+140>>2]=0;N[b+136>>2]=i;N[b+156>>2]=166;N[b+152>>2]=l}if((j&255)==7){break b}if(j){e=N[a+28>>2];d=N[a+20>>2];if(d){if(Qa[d|0](a,0,0,0)|0){break b}}N[a+8>>2]=0;d=N[a+4>>2];if(!d){break b}i=N[a+20>>2];s:{if(i){d=Qa[i|0](a,0,h+4|0,2)|0;break s}d=d>>>0>=2?2:d;F(h+4|0,N[a>>2],d)}N[a+8>>2]=d;if(O[h+4|0]!=31|d>>>0<2|O[h+5|0]!=157){break b}N[g>>2]=0;N[g+4>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;N[b+160>>2]=e;d=Qa[N[e+4>>2]](e,4292)|0;if(!d){break c}C(d,0,4292);N[d>>2]=a;N[d+4>>2]=g;i=N[b+160>>2];j=d+4280|0;N[d+4288>>2]=j;N[d+8>>2]=i;N[d+4284>>2]=j;N[d+4280>>2]=0;t:{i=N[a+20>>2];u:{if(i){if(Qa[i|0](a,0,0,0)|0){break u}}N[a+8>>2]=0;if(Zb(a,h+4|0,2)|O[h+4|0]!=31){break u}if(O[h+5|0]==157){break t}}Qa[N[e+8>>2]](e,d);break b}C(d+12|0,0,172);N[d+176>>2]=a;e=N[a+28>>2];N[d+108>>2]=64;N[d+100>>2]=d+112;N[d+180>>2]=e;N[d+36>>2]=0;N[d+40>>2]=0;L[d+44|0]=0;N[d- -64>>2]=9;N[b+140>>2]=0;N[b+144>>2]=d;N[b+156>>2]=167;N[b+152>>2]=168;N[b+132>>2]=0;N[b+136>>2]=2147483647}N[b+104>>2]=g;N[b+172>>2]=a;if(gm(g,b,c)){break b}}a=0;if((c|0)<0){break a}if(c&65535){Uf(b);a=6;break a}v:{w:{a=N[b+180>>2];x:{if(!a){break x}c=N[b+176>>2];if(!c|(O[a|0]|32)!=105|((O[a+1|0]|32)!=115|(O[a+2|0]|32)!=111)){break x}a=a+3|0;if(!cb(a,21540)){break w}if(!cb(a,21356)){if(!cb(c,21900)){break w}}if(cb(a,21737)){break x}if(!cb(c,19136)){break w}}N[h+8>>2]=0;N[h+12>>2]=0;break v}N[h+8>>2]=1970170211;N[h+12>>2]=65539}N[h+4>>2]=b;a=Bc(43184,0,h+4|0,0);break a}N[b+132>>2]=0;N[b+136>>2]=2147483647;N[b+140>>2]=0;N[b+156>>2]=167;N[b+152>>2]=168}Uf(b);a=2}La=h+16|0;return a|0}function lx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=La-32|0;La=i;h=N[b+28>>2];e=N[a+496>>2];if(e){d=N[e+36>>2];if(d){Qa[N[h+8>>2]](h,d)}N[e+36>>2]=0;N[e+40>>2]=0;d=N[e+28>>2];if(d){Qa[N[h+8>>2]](h,d)}N[e+28>>2]=0;N[e+32>>2]=0;Qa[N[h+8>>2]](h,e);N[a+496>>2]=0}c=Qa[N[h+4>>2]](h,44)|0;a:{if(!c){e=64;break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;e=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;d=Bb(b,N[b+4>>2]);b:{if(d){e=d;break b}d=N[a+476>>2];N[c+12>>2]=N[a+472>>2];N[c+16>>2]=d;d=N[a+468>>2];N[c+4>>2]=N[a+464>>2];N[c+8>>2]=d;N[c+20>>2]=N[a+476>>2];N[c+24>>2]=N[a+468>>2];d=N[a+492>>2];f=N[d+36>>2];c:{if(f){e=Qa[N[f>>2]](i+12|0,N[b+28>>2],N[b+32>>2],N[b+36>>2])|0;if(!e){N[i+28>>2]=a+132;N[i+24>>2]=148;N[i+20>>2]=c;f=i+12|0;e=Qa[N[N[d+36>>2]+8>>2]](f)|0;Qa[N[N[d+36>>2]+4>>2]](f)}if((e&255)==2){f=N[b+4>>2];if(f>>>0<7){break c}d=N[b+32>>2];if(O[d+1|0]>3|(f|0)!=(O[d+2|0]|O[d+3|0]<<8|(O[d+4|0]<<16|O[d+5|0]<<24))){break c}e=0;l=La-16|0;La=l;N[l+12>>2]=0;m=N[b+28>>2];f=2;d:{e:{j=N[b+36>>2];g=N[b+32>>2];if(j>>>0>>0){break e}d=(g+99|0)+(O[g+99|0]|O[g+100|0]<<8)|0;if(j>>>0>>0|(O[d+18|0]|O[d+19|0]<<8)>>>0<18){break d}d=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);if(!d){break d}k=d+g|0;g=k+2|0;if(j>>>0>>0){break e}d=O[k|0]|O[k+1|0]<<8;N[c+40>>2]=d;if(j>>>0<(d<<2)+g>>>0){break e}if(!d){break d}d=lb(m,16,0,d,0,l+12|0);N[c+36>>2]=d;f=N[l+12>>2];if(f){break e}o=N[c+40>>2];j=N[a+92>>2];f=N[a+36>>2];f:{if((f|0)<=0){break f}p=N[a+40>>2];while(1){n=N[(e<<2)+p>>2];if(P[n+8>>1]!=7){e=e+1|0;if((f|0)!=(e|0)){continue}break f}break}f=pn(a,n);if(f){break e}}e=o<<2;if((e|0)>0){k=(e+k|0)+2|0;while(1){g:{h:{if(a){e=N[a+92>>2];if(e){break h}}N[d>>2]=0;e=0;break g}e=Qa[N[N[e+12>>2]+12>>2]](e,O[g|0])|0;f=N[a+92>>2];N[d>>2]=e>>>0>2]?e:0;e=0;if(!f){break g}e=Qa[N[N[f+12>>2]+12>>2]](f,O[g+1|0])|0;e=e>>>0>2]?e:0}N[d+4>>2]=e;e=(O[g+2|0]|O[g+3|0]<<8)<<16>>16;N[d+12>>2]=0;N[d+8>>2]=e;d=d+16|0;g=g+4|0;if(k>>>0>g>>>0){continue}break}}if(j){f=pn(a,j);if(f){break e}}Zc(N[c+36>>2],N[c+40>>2],16,149);e=0;break d}e=N[c+36>>2];if(e){Qa[N[m+8>>2]](m,e)}N[c+36>>2]=0;N[c+40>>2]=0;e=f}La=l+16|0}if(e){break c}}d=N[c+8>>2];N[a+464>>2]=N[c+4>>2];N[a+468>>2]=d;d=N[c+16>>2];N[a+472>>2]=N[c+12>>2];N[a+476>>2]=d;N[a+52>>2]=M[c+6>>1];N[a+56>>2]=M[c+10>>1];N[a+60>>2]=N[c+12>>2]+65535>>16;N[a- -64>>2]=N[c+16>>2]+65535>>16;M[a+70>>1]=N[c+20>>2]+32768>>>16;M[a+72>>1]=N[c+24>>2]+32768>>>16;if(!N[c+40>>2]){break c}N[a+496>>2]=c;N[a+8>>2]=N[a+8>>2]|64;c=0}if(N[b+20>>2]){a=N[b>>2];if(a){d=N[b+28>>2];Qa[N[d+8>>2]](d,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!c){break a}}a=N[c+36>>2];if(a){Qa[N[h+8>>2]](h,a)}N[c+36>>2]=0;N[c+40>>2]=0;a=N[c+28>>2];if(a){Qa[N[h+8>>2]](h,a)}N[c+28>>2]=0;N[c+32>>2]=0;Qa[N[h+8>>2]](h,c)}La=i+32|0;return e|0}function So(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=N[a+660>>2];if(N[e+8>>2]>(b|0)){while(1){h=O[a+372|0];a:{b:{k=N[e+20>>2]+T(b,56)|0;d=N[k+44>>2];c:{if(!(!d|!O[d|0])){if(!h){break a}L[d|0]=0;f=N[k+48>>2];d=O[f|0];if(d){break c}break a}f=N[k+48>>2];d=O[f|0];if(!d){break a}if(!h){break b}}h=0;while(1){e=h;g=f;d:{e:{switch((d<<24>>24)-123|0){case 2:h=0;if(!e|(g-e|0)<3){break d}d=0;e=e+1|0;i=g-1|0;if(e>>>0>i>>>0){break d}while(1){f=d;f:{if(O[e|0]!=92){break f}d=e;if(!f){break f}l=e-1|0;c=f+1|0;if(l>>>0<=c>>>0){break f}j=(l-c|0)+1|0;g:{h:{i:{j:{m=L[c|0];switch(m-75|0){case 0:case 32:break g;case 27:break h;case 34:break i;case 41:break j;default:break f}}if((m|0)!=116|j>>>0<2){break f}k:{c=O[f+2|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break k}}if((c|0)==9){break g}break f}if(j>>>0<5){break f}if(bb(c,15447,4)){break f}l:{c=O[f+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break l}}if((c|0)==9){break g}break f}if(j>>>0<4){break f}m:{if(bb(c,16930,3)){break m}n:{d=O[f+4|0];switch(d-32|0){case 0:case 8:break g;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break m;default:break n}}if((d|0)==9){break g}}d=e;if(j>>>0<5){break f}if(bb(c,16398,4)){break f}o:{c=O[f+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break o}}if((c|0)!=9){break f}}C(f,32,(l-f|0)+1|0);d=e}e=e+1|0;if(i>>>0>=e>>>0){continue}break};if(!d){break d}if(!Io(d+1|0,i)|d>>>0>i>>>0){break d}C(d,32,(i-d|0)+1|0);break d;case 0:break e;default:break d}}if(e){break d}if((g|0)!=N[k+48>>2]){h=0;if(O[g-1|0]==92){break d}}h=g}f=g+1|0;d=O[g+1|0];if(d){continue}break}break a}h=0;e=f;while(1){c=h;g=e;p:{q:{switch((d<<24>>24)-123|0){case 0:if(c){break p}h=g;if((g|0)==(f|0)){break p}h=0;if(O[g-1|0]==92){break p}h=g;break p;case 2:break q;default:break p}}h=0;if(!c|(g-c|0)<3){break p}d=0;e=c+1|0;k=g-1|0;if(e>>>0>k>>>0){break p}while(1){c=d;r:{if(O[e|0]!=92){break r}d=e;if(!c){break r}j=e-1|0;i=c+1|0;if(j>>>0<=i>>>0){break r}j=(j-i|0)+1|0;s:{t:{u:{l=L[i|0];switch(l-75|0){case 0:case 32:break a;case 27:break s;case 34:break t;case 41:break u;default:break r}}if((l|0)!=116|j>>>0<2){break r}v:{c=O[c+2|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break v}}if((c|0)!=9){break r}break a}if(j>>>0<5){break r}if(bb(i,15447,4)){break r}w:{c=O[c+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break w}}if((c|0)!=9){break r}break a}if(j>>>0<4){break r}x:{if(bb(i,16930,3)){break x}y:{d=O[c+4|0];switch(d-32|0){case 0:case 8:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break x;default:break y}}if((d|0)==9){break a}}d=e;if(j>>>0<5){break r}if(bb(i,16398,4)){break r}z:{c=O[c+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break z}}if((c|0)==9){break a}}e=e+1|0;if(k>>>0>=e>>>0){continue}break}if(!d){break p}if(Io(d+1|0,k)){break a}}e=g+1|0;d=O[g+1|0];if(d){continue}break}}b=b+1|0;e=N[a+660>>2];if((b|0)>2]){continue}break}}N[a+376>>2]=b}function qt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=La-48|0;La=f;i=N[b+28>>2];c=N[b+8>>2];N[f+24>>2]=c;a:{b:{c:{d:{if(Q[b+4>>2]<=c+3>>>0){break d}d=N[b+20>>2];e:{if(d){if((Qa[d|0](b,c,f+28|0,4)|0)!=4){break d}c=N[b+8>>2];d=f+28|0;break e}d=N[b>>2];if(!d){break c}d=c+d|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}c=85;break a}d=0}N[b+8>>2]=c+4;N[f+12>>2]=d;c=rb(b,179200,f+12|0);if(c){break a}f:{l=N[f+12>>2];if((l|0)!=1330926671){g=N[f+24>>2];d=g+12|0;h=N[b+20>>2];g:{if(h){c=85;if(!(Qa[h|0](b,d,0,0)|0)){break g}break a}c=85;if(d>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=d;c=2;k=P[f+16>>1];if(!k){break a}m=g+28|0;g=0;h=0;while(1){h:{if(rb(b,179232,f+28|0)){k=g-1|0;M[f+16>>1]=k;break h}d=N[b+4>>2];j=N[f+36>>2];i:{if(d>>>0>>0){break i}e=N[f+28>>2];n=N[f+40>>2];if(!((e|0)==1986884728|n>>>0<=d-j>>>0)&(e|0)!=1752003704){break i}h=h+1|0;j:{k:{l:{m:{if((e|0)<=1651008867){if((e|0)==1296389185){break m}if((e|0)!=1397313095){break i}o=1;break i}if((e|0)!=1751474532&(e|0)!=1651008868){break i}if(n>>>0<54){c=142;break a}e=j+12|0;n:{o:{n=N[b+20>>2];if(n){if(!(Qa[n|0](b,e,0,0)|0)){break o}c=85;break a}if(d>>>0>=e>>>0){break n}c=85;break a}d=N[b+4>>2]}N[b+8>>2]=e;p:{if(j+15>>>0>>0){d=N[b+20>>2];if(!d){N[b+8>>2]=e+4;d=m+(g<<4)|0;break l}if((Qa[d|0](b,e,f+44|0,4)|0)==4){break p}}c=85;break a}N[b+8>>2]=N[b+8>>2]+4;d=m+(g<<4)|0;e=N[b+20>>2];if(!e){break l}if(Qa[e|0](b,d,0,0)|0){break k}break j}p=1;break i}if(Q[b+4>>2]>=d>>>0){break j}}c=85;break a}N[b+8>>2]=d;q=1}g=g+1|0;if((k|0)!=(g|0)){continue}}break}if(!(h&65535)){break a}if(q){break f}c=142;if(!o|!p){break a}break f}l=1330926671;k=P[f+16>>1];h=k;if(h){break f}c=2;break a}N[a+148>>2]=l;M[a+152>>1]=h;d=h<<4&1048560;c=Qa[N[i+4>>2]](i,d)|0;if(c){C(c,0,d);N[a+156>>2]=c;d=N[f+24>>2]+12|0;g=N[b+20>>2];q:{if(g){c=85;if(!(Qa[g|0](b,d,0,0)|0)){break q}break a}c=85;if(d>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=d;d=k&65535;c=Bb(b,d<<4);if(c){break a}r:{if(!d){e=0;break r}h=0;e=0;while(1){i=N[b+36>>2];c=N[b+32>>2];s:{if(i>>>0<=c+3>>>0){g=0;break s}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;j=0;t:{if(i>>>0<=c+3>>>0){l=0;break t}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);l=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;if(i>>>0>c+3>>>0){d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);j=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;d=0;if(i>>>0>c+3>>>0){d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;c=N[b+4>>2];u:{if(c>>>0>>0){break u}c=c-j|0;if(c>>>0>>0){if((g|0)!=1986884728&(g|0)!=1752003704){break u}d=c&-4}m=N[a+156>>2];i=e&65535;v:{if(!i){i=0;break v}c=0;while(1){if(N[m+(c<<4)>>2]==(g|0)){break u}c=c+1|0;if((i|0)!=(c|0)){continue}break}}c=m+(i<<4)|0;N[c+12>>2]=d;N[c+8>>2]=j;N[c+4>>2]=l;N[c>>2]=g;e=e+1|0}h=h+1|0;if((h&65535)>>>0<(k&65535)>>>0){continue}break}}M[a+152>>1]=e;if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;c=0;break a}N[a+156>>2]=0;c=64}La=f+48|0;return c|0}function jl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{l=N[b+4>>2];if(l>>>0>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}g=c-a|0;if(g>>>0<2){break a}e=N[b+12>>2];j=e-2|0;N[b+12>>2]=j;if((j|0)<=0){break a}d=1;b:{c:{d:{e:{f:{g:{h:{i:{h=O[a|0]|O[a+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break d;case 8:break e;case 6:break f;case 4:break g;case 2:break h;case 0:break i;default:break b}}e=N[b+36>>2];if(e>>>0>1073741823){break a}e=e<<2;if(!e){break c}a=a+2|0;if(a>>>0>c>>>0|e>>>0>c-a>>>0){break a}a=j-e|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<8){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}g=a+2|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<10){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}d=0;j=O[g|0]|O[g+1|0]<<8;k=(j<<8|j>>>8)&65535;if(k>>>0<6){break b}i=O[a+4|0]|O[a+5|0]<<8;e=(i<<8|i>>>8)&65535;f=0;j:{if(!i){break j}i=a+12|0;if(i>>>0>c>>>0){break b}f=c-i|0;c=T(e,k);if(f>>>0>>0){break b}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=i+T(k,e-1|0)|0;f=0;if((O[c|0]|O[c+1|0]<<8)!=65535){break j}f=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=f+e|0;if(!n){break c}k=a+12|0;e=0;while(1){d=O[a+4|0]|O[a+5|0]<<8;h=(d<<8|d>>>8)&65535;c=0;k:{if(!d){break k}d=k+T(h-1|0,(j<<8|(j&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break k}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+h>>>0<=e>>>0){c=275552}else{l=N[b+4>>2];j=O[g|0]|O[g+1|0]<<8;c=k+T((j<<8|j>>>8)&65535,e)|0}d=0;if(c>>>0>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-c>>>0<6){break b}i=N[b+12>>2];f=i-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[c|0]|O[c+1|0]<<8;f=(f<<8|f>>>8)&65535;m=O[c+2|0]|O[c+3|0]<<8;m=(m<<8|m>>>8)&65535;if(f>>>0>>0){break b}c=c+4|0;if(c>>>0>h>>>0|h-c>>>0<2){break b}i=i-8|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=(f-m|0)+1|0;if(f>>>0>1073741823){break b}if(f){c=O[c|0]|O[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>h>>>0){break b}h=h-c|0;c=f<<2;if(h>>>0>>0){break b}c=i-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=1;e=e+1|0;if((n|0)!=(e|0)){continue}break}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<6){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<6){break a}e=e-8|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+6|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=((d<<8|d>>>8)&65535)<<2;if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<8){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+2|0]|O[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){break a}g=d;d=O[a+6|0]|O[a+7|0]<<8;d=T(g,(d<<8|d>>>8)&65535);if(!d){break c}a=a+8|0;if(a>>>0>c>>>0|d>>>0>c-a>>>0){break a}a=e-d|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}d=1}return d}return 0}function yc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{l=N[b+4>>2];if(l>>>0>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}g=c-a|0;if(g>>>0<2){break a}e=N[b+12>>2];j=e-2|0;N[b+12>>2]=j;d=1;if((j|0)<=0){break a}b:{c:{d:{e:{f:{g:{h:{i:{h=O[a|0]|O[a+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break d;case 8:break e;case 6:break f;case 4:break g;case 2:break h;case 0:break i;default:break b}}d=0;e=N[b+36>>2];if((e|0)<0){break b}e=e<<1;if(!e){break c}a=a+2|0;if(a>>>0>c>>>0|e>>>0>c-a>>>0){break b}a=j-e|0;N[b+12>>2]=a;if((a|0)>0){break c}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<6){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}g=a+2|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<10){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}d=0;j=O[g|0]|O[g+1|0]<<8;k=(j<<8|j>>>8)&65535;if(k>>>0<6){break b}i=O[a+4|0]|O[a+5|0]<<8;e=(i<<8|i>>>8)&65535;f=0;j:{if(!i){break j}i=a+12|0;if(i>>>0>c>>>0){break b}f=c-i|0;c=T(e,k);if(f>>>0>>0){break b}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=i+T(k,e-1|0)|0;f=0;if((O[c|0]|O[c+1|0]<<8)!=65535){break j}f=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=f+e|0;if(!n){break c}k=a+12|0;e=0;while(1){d=O[a+4|0]|O[a+5|0]<<8;h=(d<<8|d>>>8)&65535;c=0;k:{if(!d){break k}d=k+T(h-1|0,(j<<8|(j&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break k}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+h>>>0<=e>>>0){c=275552}else{l=N[b+4>>2];j=O[g|0]|O[g+1|0]<<8;c=k+T((j<<8|j>>>8)&65535,e)|0}d=0;if(c>>>0>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-c>>>0<6){break b}i=N[b+12>>2];f=i-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[c|0]|O[c+1|0]<<8;f=(f<<8|f>>>8)&65535;m=O[c+2|0]|O[c+3|0]<<8;m=(m<<8|m>>>8)&65535;if(f>>>0>>0){break b}c=c+4|0;if(c>>>0>h>>>0|h-c>>>0<2){break b}i=i-8|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=f-m|0;if((f|0)<-1){break b}f=f+1|0;if(f){c=O[c|0]|O[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>h>>>0){break b}h=h-c|0;c=f<<1;if(h>>>0>>0){break b}c=i-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=1;e=e+1|0;if((n|0)!=(e|0)){continue}break}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<4){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<6){break a}e=e-8|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+6|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=((d<<8|d>>>8)&65535)<<1;if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<8){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+2|0]|O[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){break a}g=d;d=O[a+6|0]|O[a+7|0]<<8;d=T(g,(d<<8|d>>>8)&65535);if(!d){break c}a=a+8|0;if(a>>>0>c>>>0|d>>>0>c-a>>>0){break a}a=e-d|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}d=1}return d}return 0}function Tm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=La-16|0;La=k;h=N[a+104>>2];m=N[h+28>>2];o=N[a+736>>2];L[o+(b?44:32)|0]=1;e=Qa[N[a+516>>2]](a,b?1448493394:1213612370,h,k)|0;a:{if(e){break a}b:{c:{d:{d=N[h+8>>2];if(Q[h+4>>2]<=d+1>>>0){break d}c=N[h+20>>2];e:{if(c){if((Qa[c|0](h,d,k+10|0,2)|0)!=2){break d}e=k+10|0;c=N[h+8>>2];break e}c=N[h>>2];if(!c){break c}e=c+d|0;c=d}i=O[e|0]|O[e+1|0]<<8;i=i<<8|i>>>8;break b}e=85;break a}c=d;i=0}N[h+8>>2]=c+2;l=c+4|0;f=N[h+20>>2];f:{if(f){e=85;if(!(Qa[f|0](h,l,0,0)|0)){break f}break a}e=85;if(Q[h+4>>2]>>0){break a}}N[h+8>>2]=l;e=8;if((i&65535)!=1){break a}N[k+4>>2]=0;g:{h:{i:{if(Q[h+4>>2]<=c+7>>>0){break i}c=N[h+20>>2];j:{if(c){if((Qa[c|0](h,l,k+12|0,4)|0)!=4){break i}l=N[h+8>>2];c=k+12|0;break j}c=N[h>>2];if(!c){break h}c=c+l|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break g}e=85;break a}i=0}N[h+8>>2]=l+4;f=Nb(h,k+4|0);e=N[k+4>>2];if(e){break a}c=Qa[N[m+4>>2]](m,32)|0;k:{if(!c){e=!c<<6;c=0;break k}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;e=0}l:{if(b){N[o+52>>2]=c;if(!e){break l}break a}N[o+40>>2]=c;if(e){break a}}e=Um(N[a+104>>2],N[a+736>>2],d+i|0,c);N[k+4>>2]=e;if(e){break a}if(f){e=d+f|0;j=La-16|0;La=j;g=N[a+104>>2];m=N[g+28>>2];d=N[g+20>>2];m:{n:{if(d){f=85;if(Qa[d|0](g,e,0,0)|0){break m}n=N[g+4>>2];break n}f=85;n=N[g+4>>2];if(n>>>0>>0){break m}}N[g+8>>2]=e;o:{p:{q:{if(e+1>>>0>=n>>>0){break q}d=N[g+20>>2];r:{if(d){if((Qa[d|0](g,e,j+11|0,2)|0)!=2){break q}e=N[g+8>>2];d=j+11|0;break r}d=N[g>>2];if(!d){break p}d=d+e|0}d=O[d|0]|O[d+1|0]<<8;i=d<<8|d>>>8;break o}break m}i=0}f=e+2|0;N[g+8>>2]=f;s:{t:{u:{if(Q[g+4>>2]<=e+3>>>0){break u}d=N[g+20>>2];v:{if(d){if((Qa[d|0](g,f,j+13|0,2)|0)!=2){break u}f=N[g+8>>2];d=j+13|0;break v}d=N[g>>2];if(!d){break t}d=d+f|0}d=O[d+1|0]|O[d|0]<<8;break s}N[c+20>>2]=0;f=85;break m}d=0}N[g+8>>2]=f+2;N[c+20>>2]=d;f=8;if((i&65535)>>>0>63){break m}f=0;w:{x:{if(d){d=d<<2;f=Qa[N[m+4>>2]](m,d)|0;if(!f){break x}C(f,0,d)}N[j+4>>2]=0;N[c+28>>2]=f;r=c,s=lb(m,4,0,N[c+20>>2],0,j+4|0),N[r+24>>2]=s;f=N[j+4>>2];if(f){break m}if(!N[c+20>>2]){f=0;break m}d=i&15;h=d+1|0;l=(i&65520)>>>4|0;m=(2<>2];while(1){f=0;n=0;while(1){L[j+15|0]=0;d=N[g+20>>2];y:{if(d){if((Qa[d|0](g,e,j+15|0,1)|0)!=1){break w}e=N[g+8>>2];d=j+15|0;break y}if(Q[g+4>>2]<=e>>>0){break w}d=N[g>>2]+e|0}d=O[d|0];e=e+1|0;N[g+8>>2]=e;n=d|n<<8;d=(f|0)!=(l|0);f=f+1|0;if(d){continue}break}f=8;d=n>>>h|0;if(d>>>0>=Q[c>>2]){break m}i=p<<2;N[i+N[c+24>>2]>>2]=d;q=N[N[c+4>>2]+(d<<4)>>2];d=m&n;if(q>>>0<=d>>>0){break m}N[N[c+28>>2]+i>>2]=d;f=0;p=p+1|0;if(p>>>0>2]){continue}break}break m}f=64;N[j+4>>2]=64;N[c+28>>2]=0;break m}f=85}La=j+16|0;e=f;if(e){break a}}L[(b?45:33)+o|0]=1;N[a+740>>2]=N[a+740>>2]|(b?16:2);e=0}La=k+16|0;return e}function ex(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;l=La-16|0;La=l;j=N[b+8>>2];e=N[b>>2];n=N[a+492>>2];g=N[b+16>>2];a:{b:{c:{c=Qa[N[b+36>>2]](b)|0;if((c|0)>=0){e=j-e>>3;e=(c|0)<(e|0)?c:e;if(N[b+12>>2]|!e){break a}h=b+260|0;k=b+156|0;i=b+208|0;if(!N[b+152>>2]){d=e+6|0;c=Qa[N[N[n>>2]>>2]](i,d,g)|0;if(c){break b}c=Qa[N[N[n>>2]>>2]](k,d,g)|0;if(c){break b}c=Qa[N[N[n>>2]>>2]](h,4,g)|0;if(c){break b}}Qa[N[b+28>>2]](b);c=3;d=N[b>>2];if(j>>>0<=d>>>0){break b}r=e+5|0;e=0;while(1){d:{e:{if(d+3>>>0>=j>>>0){break e}f:{switch(O[d+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break f;default:break e}}g:{switch(O[d|0]-100|0){case 0:if(!e|(O[d+1|0]!=101|O[d+2|0]!=102)){break e}break c;case 1:break g;default:break e}}if(O[d+1|0]!=110){break e}if(O[d+2|0]==100){break d}}Qa[N[b+32>>2]](b);c=3;m=N[b>>2];if(m>>>0>=j>>>0){break b}if(N[b+12>>2]){break a}h:{if(O[d|0]!=47){break h}if(d+2>>>0>=j>>>0){break b}s=N[N[a+128>>2]+52>>2];c=N[b+8>>2];Qa[N[b+28>>2]](b);i:{f=N[b>>2];j:{if(f>>>0>=c>>>0|O[f|0]-48>>>0>9){break j}f=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((f|0)<0){break j}t=c;c=N[b>>2];p=c+1|0;if((f|0)<(t-p|0)){break i}}if(s){break a}N[b+12>>2]=3;break a}N[b>>2]=(c+f|0)+1;if(N[b+12>>2]){break a}if(N[b+152>>2]){break h}d=d+1|0;m=m-d|0;c=Qa[N[b+200>>2]](k,e,d,m+1|0)|0;if(c){break b}c=e<<2;L[m+N[c+N[b+180>>2]>>2]|0]=0;if(O[d|0]==46){c=cb(15265,N[c+N[b+180>>2]>>2]);q=c?q:1;o=c?o:e}d=N[a+172>>2];k:{if(!((d|0)<0|(e|0)>=(r|0))){c=3;if(d>>>0>=f>>>0){break b}d=Qa[N[g+4>>2]](g,f)|0;if(!d){N[b+12>>2]=!d<<6;break a}F(d,p,f);Qa[N[n+16>>2]](d,f,4330);c=N[a+172>>2];c=Qa[N[b+252>>2]](i,e,c+d|0,f-c|0)|0;Qa[N[g+8>>2]](g,d);break k}c=Qa[N[b+252>>2]](i,e,p,f)|0}if(c){break b}e=e+1|0}Qa[N[b+28>>2]](b);d=N[b>>2];if(j>>>0>d>>>0){continue}}break}if(e){break c}}c=3;break b}N[b+152>>2]=e;if(q&255){a=N[N[b+180>>2]>>2];if(!cb(15265,a)){break a}c=Qa[N[b+304>>2]](h,0,a,N[N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,1,N[N[b+232>>2]>>2],N[N[b+236>>2]>>2])|0;if(c){break b}a=o<<2;c=Qa[N[b+304>>2]](h,2,N[a+N[b+180>>2]>>2],N[a+N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,3,N[a+N[b+232>>2]>>2],N[a+N[b+236>>2]>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,o,N[N[b+284>>2]>>2],N[N[b+288>>2]>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,o,N[N[b+284>>2]+4>>2],N[N[b+288>>2]+4>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,0,N[N[b+284>>2]+8>>2],N[N[b+288>>2]+8>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,0,N[N[b+284>>2]+12>>2],N[N[b+288>>2]+12>>2])|0;if(c){break b}break a}L[l+12|0]=O[30448];N[l+8>>2]=O[30444]|O[30445]<<8|(O[30446]<<16|O[30447]<<24);c=Qa[N[b+304>>2]](h,0,N[N[b+180>>2]>>2],N[N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,1,N[N[b+232>>2]>>2],N[N[b+236>>2]>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,0,15265,8)|0;if(c){break b}c=Qa[N[b+252>>2]](i,0,l+8|0,5)|0;if(c){break b}c=Qa[N[b+200>>2]](k,e,N[N[b+284>>2]>>2],N[N[b+288>>2]>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,e,N[N[b+284>>2]+4>>2],N[N[b+288>>2]+4>>2])|0;if(c){break b}N[b+152>>2]=N[b+152>>2]+1;break a}N[b+12>>2]=c}La=l+16|0}function _d(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{b:{c:{d:{e:{f:{g:{h:{e=O[a|0]|O[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 13:break c;case 12:break d;case 10:break e;case 6:break f;case 4:break g;case 0:break h;default:break a}}if(b>>>0>255){break a}b=O[(a+b|0)+6|0];if(b){break b}break a}e=O[a+6|0]|O[a+7|0]<<8;d=e<<8|e>>>8;e=d&65535;if(e>>>0<2){break a}f=O[a+2|0]|O[a+3|0]<<8;e=e>>>1|0;i=(((f<<8|f>>>8)&65535)-(e<<3)|0)-16>>>1|0;k=a+14|0;a=d&65534;f=(k+a|0)+2|0;l=a+f|0;m=a+l|0;o=a+m|0;d=e-1|0;a=0;p=e+1<<1;i:{while(1){g=a+d|0;h=g>>>1|0;g=g&-2;j=g+k|0;n=O[j|0]|O[j+1|0]<<8;j:{if(((n<<8|n>>>8)&65535)>>>0>=b>>>0){d=j+p|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break i}d=h-1|0;break j}a=h+1|0}if((a|0)<=(d|0)){continue}break}return 0}a=g>>1;d=g+m|0;d=O[d|0]|O[d+1|0]<<8;if(d){j=0;d=a+(b-e|0)+(((d<<8|d>>>8)&65534)>>>1)|0;b=f+(a<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=d-((b<<8|b>>>8)&65535)|0;if(b>>>0>=i>>>0){break a}b=(b<<1)+o|0;b=O[b|0]|O[b+1|0]<<8;if(!b){break a}b=(b<<8|b>>>8)&65535}a=(a<<1)+l|0;a=O[a|0]|O[a+1|0]<<8;b=(a<<8|a>>>8)+b&65535;if(b){break b}return 0}d=b;b=O[a+6|0]|O[a+7|0]<<8;b=d-((b<<8|b>>>8)&65535)|0;e=O[a+8|0]|O[a+9|0]<<8;if(b>>>0>=((e<<8|e>>>8)&65535)>>>0){a=275552}else{a=((b<<1)+a|0)+10|0}a=O[a|0]|O[a+1|0]<<8;if(!a){break a}b=(a<<8|a>>>8)&65535;break b}d=b;b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);b=d-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;e=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(b>>>0>=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0){a=275552}else{a=((b<<1)+a|0)+20|0}a=O[a|0]|O[a+1|0]<<8;if(!a){break a}b=(a<<8|a>>>8)&65535;break b}e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);k:{if((d|0)<=0){break k}i=a+16|0;d=d-1|0;a=0;while(1){h=a+d>>>1|0;f=i+T(h,12)|0;g=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);l:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){a=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0>>0){a=h+1|0;break l}e=i+T(h,12)|0;break k}d=h-1|0}if((a|0)<=(d|0)){continue}break}}a=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(d>>>0>>0){break a}b=b-a|0;a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=b+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;if(b){break b}break a}e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);m:{if((d|0)<=0){break m}i=a+16|0;d=d-1|0;a=0;while(1){h=a+d>>>1|0;f=i+T(h,12)|0;g=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);n:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){a=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0>>0){a=h+1|0;break n}e=i+T(h,12)|0;break m}d=h-1|0}if((a|0)<=(d|0)){continue}break}}a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);if(!a){break a}b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}N[c>>2]=b;j=1}return j}function $j(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!(O[b+4|0]|O[b+5|0]<<8)&(O[b+2|0]|O[b+3|0]<<8)==65535){break a}d=N[a+172>>2];N[a+172>>2]=d+1;if(d>>>0>2e3){break a}f=b-N[a>>2]|0;g=f>>>9|0;i=N[a+148>>2];b:{c:{d:{d=N[a+136>>2];j=N[a+144>>2];if(d>>>0>=j>>>0){break d}d=i+(d<<3)|0;if((g|0)!=N[d>>2]){break d}c=d+4|0;break c}d=0;if((j|0)<=0){break b}e=j-1|0;e:{while(1){d=c+e>>>1|0;h=N[i+(d<<3)>>2];f:{if((h|0)>(g|0)){e=d-1|0;break f}if((g|0)==(h|0)){break e}c=d+1|0}if((c|0)<=(e|0)){continue}break}d=0;break b}N[a+136>>2]=d;c=(d>>>0>=j>>>0?275552:i+(d<<3)|0)+4|0}e=N[a+160>>2];d=0;if(!e){break b}c=(e+(N[c>>2]<<6)|0)+(f>>>3&56)|0;g=N[c>>2];e=N[c+4>>2];d=f&63;c=d&31;d=((d&63)>>>0>=32?e>>>c|0:((1<>>c)&1}if((d|0)!=O[a+164|0]){break a}g=b+4|0;tc(a+116|0,f);if(!O[a+60|0]){c=O[b+2|0]|O[b+3|0]<<8;g:{if((c|0)==65535){break g}d=N[a+176>>2]+1|0;N[a+176>>2]=d;if(d>>>0>1500){break g}tc(N[a+4>>2],(c<<8|c>>>8)&65535)}e=O[g|0]|O[g+1|0]<<8;d=(e<<8|e>>>8)&65535;c=d+N[a+176>>2]|0;N[a+176>>2]=c;if(c>>>0>1500){break a}c=b+6|0;a=N[a+4>>2];g=a+12|0;if(O[a+48|0]){Ug(g,c,d);return}if(!e|!O[g|0]){break a}N[a+16>>2]=-1;a=O[c|0]|O[c+1|0]<<8;e=(a<<8|a>>>8)&65535;h:while(1){f=wc(g,e);if(!f){break a}i=e&65024;j=i+512|0;while(1){a=f+(e>>>3&56)|0;h=N[a+4>>2];e=e&63;b=e&31;if((e&63)>>>0>=32){e=1<>>32-b}N[a>>2]=k|N[a>>2];N[a+4>>2]=e|h;d=d-1|0;if(!d){break a}a=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(a<<8|a>>>8)&65535;if(i>>>0>e>>>0){continue h}if(e>>>0>>0){continue}break}continue}}i=a+20|0;if(_j(i)){break a}b=O[g|0]|O[g+1|0]<<8;if(!b){break a}b=(b<<8|b>>>8)&65535;n=b>>>0<=1?1:b;j=0;while(1){b=O[g|0]|O[g+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=j>>>0?238136:(g+(j<<1)|0)+2|0;b=O[b|0]|O[b+1|0]<<8;e=(b<<8|b>>>8)&65535;b=e>>>9|0;k=N[a+40>>2];i:{j:{k:{c=N[a+28>>2];h=N[a+36>>2];if(c>>>0>=h>>>0){break k}c=k+(c<<3)|0;if((b|0)!=N[c>>2]){break k}d=c+4|0;break j}c=0;if((h|0)<=0){break i}c=h-1|0;d=0;l:{while(1){f=c+d>>>1|0;l=k+(f<<3)|0;m=N[l>>2];m:{if((b|0)<(m|0)){c=f-1|0;break m}if((b|0)==(m|0)){break l}d=f+1|0}if((c|0)>=(d|0)){continue}break}c=0;break i}N[a+28>>2]=f;d=(f>>>0>=h>>>0?275552:l)+4|0}f=N[a+52>>2];c=0;if(!f){break i}c=(f+(N[d>>2]<<6)|0)+(e>>>3&56)|0;h=N[c>>2];f=N[c+4>>2];d=e&63;c=d&31;c=((d&63)>>>0>=32?f>>>c|0:((1<>>c)&1}n:{if((c|0)==O[a+56|0]){break n}tc(N[a+4>>2],e);if(O[a+56|0]){if(!O[i|0]){break n}N[i+4>>2]=-1;b=wc(i,e);if(!b){break n}b=b+(e>>>3&56)|0;f=N[b+4>>2];d=e&63;c=d&31;if((d&63)>>>0>=32){d=1<>>32-c}N[b>>2]=e|N[b>>2];N[b+4>>2]=d|f;break n}if(!O[i|0]){break n}f=N[a+28>>2];c=N[a+36>>2];h=N[a+40>>2];if(!(f>>>0>>0&(b|0)==N[h+(f<<3)>>2])){if((c|0)<=0){break n}c=c-1|0;d=0;while(1){o:{f=c+d>>>1|0;k=N[h+(f<<3)>>2];p:{if((k|0)>(b|0)){c=f-1|0;break p}if((b|0)==(k|0)){break o}d=f+1|0}if((c|0)>=(d|0)){continue}break n}break}N[a+28>>2]=f}b=N[a+52>>2];if(!b){break n}c=N[(h+(f<<3)|0)+4>>2];N[a+24>>2]=-1;b=(b+(c<<6)|0)+(e>>>3&56)|0;c=N[b>>2];d=N[b+4>>2];o=b,p=_E(-2,-1,e)&c,N[o>>2]=p;N[b+4>>2]=Pa&d}j=j+1|0;if((n|0)!=(j|0)){continue}break}}}function Zl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=La-16|0;La=o;i=d+8|0;f=-31;a:{b:{c:{d:{e:{f:{switch(N[d+628>>2]){case 3:e=N[d+2428>>2];break d;case 2:f=N[d+2424>>2];break e;case 0:f=Xl(d,i,b);if((f|0)!=1){break a}N[b>>2]=N[b>>2]+1;N[d+2420>>2]=0;g=Qa[N[d+24>>2]](N[d+32>>2],a)|0;N[c>>2]=g;if(!g){f=-25;break a}f=1;if(Q[b>>2]<=1){C(g,0,a);break a}N[d+628>>2]=1;break;case 4:break c;case 1:break f;default:break a}}f=N[d+12>>2];g:{if(f-28>>>0>=5){g=N[i>>2];break g}g=N[d+20>>2];if(!g){f=2;break a}e=N[d+8>>2]>>>8|0;N[d+8>>2]=e;h=N[d+16>>2];l=O[h|0];N[d+20>>2]=g-1;N[d+16>>2]=h+1;g=e|l<<24;N[d+8>>2]=g;f=f-8|0}N[d+628>>2]=2;g=g>>>f|0;e=g&1;N[d+12>>2]=(e?5:1)+f;f=(g>>>1&15)+1&0-e;N[d+2424>>2]=f}b=N[b>>2]+f|0;f=Qf(b,b,d+2432|0,0,d);if((f|0)!=1){break a}N[d+628>>2]=3;N[d+2428>>2]=65535;e=65535}j=N[d+2424>>2];h=N[d+2420>>2];l=N[c>>2];N[o+12>>2]=e;if((e|0)==65535&a>>>0<=h>>>0){break c}f=(e|0)!=65535;n=d+2432|0;while(1){h:{i:{j:{if(f&1){break j}k:{l:{g=N[d+12>>2];m:{if(g-18>>>0>=15){e=N[i>>2];break m}f=N[d+20>>2];b=g;while(1){if(!f){break l}e=N[d+8>>2]>>>8|0;N[d+8>>2]=e;k=N[d+16>>2];m=O[k|0];f=f-1|0;N[d+20>>2]=f;g=b-8|0;N[d+12>>2]=g;N[d+16>>2]=k+1;e=e|m<<24;N[d+8>>2]=e;k=b-26|0;b=g;if(k>>>0<15){continue}break}}e=e>>>g|0;f=n+((e&255)<<2)|0;b=O[f|0];if(b>>>0>=9){g=g+8|0;f=(P[f+2>>1]+(N[(b<<2)+169360>>2]&e>>>8&127)<<2)+f|0;b=O[f|0]}N[d+12>>2]=(b&255)+g;e=P[f+2>>1];N[o+12>>2]=e;break k}if(!Jc(n,i,o+12|0)){e=65535;break b}e=N[o+12>>2]}if(!e){e=0;L[h+l|0]=0;break i}if(e>>>0<=j>>>0){break j}L[h+l|0]=e-j;break i}g=N[d+12>>2];n:{if(32-g>>>0>=e>>>0){k=N[i>>2];break n}f=N[d+20>>2];b=g;while(1){if(!f){break b}k=N[d+8>>2]>>>8|0;N[d+8>>2]=k;m=N[d+16>>2];p=O[m|0];f=f-1|0;N[d+20>>2]=f;g=b-8|0;N[d+12>>2]=g;N[d+16>>2]=m+1;k=k|p<<24;N[d+8>>2]=k;m=40-b|0;b=g;if(e>>>0>m>>>0){continue}break}}N[d+12>>2]=e+g;g=(N[(e<<2)+169392>>2]&k>>>g)+(1<>>0>a>>>0){f=-8;break a}C(h+l|0,0,g);break h}b=h+1|0}f=0;h=b;if(b>>>0>>0){continue}break}}b=N[d+12>>2];o:{p:{if((b|0)!=32){h=N[i>>2];break p}b=N[d+20>>2];if(!b){f=2;g=4;break o}g=N[d+8>>2]>>>8|0;N[d+8>>2]=g;e=N[d+16>>2];h=O[e|0];N[d+20>>2]=b-1;N[d+16>>2]=e+1;b=24;h=g|h<<24;N[d+8>>2]=h}f=1;N[d+12>>2]=b+1;g=0;if(!(h>>>b&1)){break o}l=N[c>>2];b=a;e=0;c=50462976;h=d+288|0;N[h>>2]=50462976;i=1;a=N[d+280>>2]+1|0;a=a>>>0<=2?2:a;j=a-1|0;n=j&3;if(a-2>>>0>=3){k=j&-4;a=50462976;while(1){j=h+(i<<2)|0;N[j>>2]=a+67372036;c=a+269488144|0;N[j+12>>2]=c;N[j+8>>2]=a+202116108;N[j+4>>2]=a+134744072;i=i+4|0;a=c;e=e+4|0;if((k|0)!=(e|0)){continue}break}}if(n){a=0;while(1){c=c+67372036|0;N[h+(i<<2)>>2]=c;i=i+1|0;a=a+1|0;if((n|0)!=(a|0)){continue}break}}q:{if(!b){N[d+280>>2]=0;break q}c=d+287|0;e=0;a=0;r:{if((b|0)!=1){n=b&1;k=b&-2;while(1){j=a+l|0;b=O[j|0];i=O[b+h|0];L[j|0]=i;L[c|0]=i;F(h,c,b+1|0);m=l+(a|1)|0;i=O[m|0];j=O[i+h|0];L[m|0]=j;L[c|0]=j;F(h,c,i+1|0);e=i|(b|e);a=a+2|0;if((k|0)!=(a|0)){continue}break}if(!n){break r}}i=a+l|0;a=O[i|0];b=O[a+h|0];L[i|0]=b;L[c|0]=b;F(h,c,a+1|0);e=a|e}N[d+280>>2]=e>>>2}}N[d+628>>2]=g;break a}N[d+2420>>2]=h;N[d+2428>>2]=e;f=2}La=o+16|0;return f}function ud(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=N[b>>2];if((c|0)==-1){g=b;d=-1;f=N[a+28>>2];a:{if(!f){break a}i=N[a+32>>2];k=N[a+20>>2];j=N[a+16>>2];b=0;b:{c:{d:{while(1){c=b>>>0>=j>>>0?275552:k+(b<<3)|0;a=N[c+4>>2];a=a>>>0>=f>>>0?275552:i+(a<<6)|0;e=N[a>>2];h=N[a+4>>2];if(e|h){b=N[c>>2]<<9;f=0;break c}e=N[a+8>>2];h=N[a+12>>2];if(e|h){break d}e:{if(N[a+16>>2]|N[a+20>>2]|(N[a+24>>2]|N[a+28>>2])){break e}if(N[a+32>>2]|N[a+36>>2]|(N[a+40>>2]|N[a+44>>2])){break e}if(N[a+48>>2]|N[a+52>>2]|(N[a+56>>2]|N[a+60>>2])){break e}b=b+1|0;if((f|0)==(b|0)){break a}continue}break}b=N[c>>2]<<9;c=N[a+20>>2];h=c;e=N[a+16>>2];f=128;if(c|e){break c}c=N[a+28>>2];h=c;e=N[a+24>>2];f=192;if(c|e){break c}c=N[a+36>>2];h=c;e=N[a+32>>2];f=256;if(c|e){break c}c=N[a+44>>2];h=c;e=N[a+40>>2];f=320;if(c|e){break c}c=N[a+52>>2];h=c;e=N[a+48>>2];f=384;if(c|e){break c}e=N[a+56>>2];a=N[a+60>>2];h=a;f=448;if(a|e){break c}a=-1;break b}b=N[c>>2]<<9;f=64}a=f|TE(e,h)}d=a+b|0}N[g>>2]=d;return(d|0)!=-1}f:{g:{h:{g=N[a+16>>2];i=N[a+8>>2];d=c>>>9|0;m=N[a+20>>2];i:{j:{if(!(g>>>0<=i>>>0|(d|0)!=N[m+(i<<3)>>2])){k=N[a+32>>2];break j}k:{if((g|0)<=0){i=0;break k}k=g-1|0;i=0;while(1){e=i+k>>>1|0;f=N[(e<<3)+m>>2];l:{if((f|0)>(d|0)){k=e-1|0;break l}if((d|0)==(f|0)){i=e;break k}i=e+1|0}if((i|0)<=(k|0)){continue}break}}if(g>>>0<=i>>>0){N[b>>2]=-1;return 0}k=N[a+32>>2];if((d|0)!=N[(i<<3)+m>>2]){break i}}m:{n:{d=c+1|0;e=d&511;if(!e){break n}n=(i<<3)+m|0;l=(N[n+4>>2]<<6)+k|0;j=e>>>6|0;e=l+(j<<3)|0;c=N[e>>2];f=N[e+4>>2];g=d&63;e=g&31;h=c;if((g&63)>>>0>=32){g=-1<>>32-e}e=h&c;g=g&f;h=g;if(e|g){d=d&448;break h}g=j+1|0;if((g|0)==8){break n}d=l+(g<<3)|0;e=N[d>>2];d=N[d+4>>2];h=d;if(d|e){d=g<<6;break h}d=j+2|0;if((d|0)==8){break n}c=l+(d<<3)|0;e=N[c>>2];c=N[c+4>>2];h=c;o:{if(e|c){break o}c=j+3|0;if((c|0)==8){break n}g=l+(c<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=d;d=c;break o}d=j+4|0;if((d|0)==8){break n}g=l+(d<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=c;break o}c=j+5|0;if((c|0)==8){break n}g=l+(c<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=d;d=c;break o}f=j+6|0;if((f|0)==8){break n}d=l+(f<<3)|0;e=N[d>>2];d=N[d+4>>2];h=d;if(d|e){g=c;d=f;break o}d=j+7|0;if((d|0)==8){break n}g=f;c=l+(d<<3)|0;e=N[c>>2];c=N[c+4>>2];h=c;if(!(e|c)){break n}}d=TE(e,h)|d<<6;N[b>>2]=d;if(g>>>0>=7){break m}break g}N[b>>2]=-1}i=i+1|0;g=N[a+16>>2]}if(g>>>0>i>>>0){while(1){p:{d=(N[((i<<3)+m|0)+4>>2]<<6)+k|0;e=N[d>>2];f=N[d+4>>2];h=f;c=0;q:{if(e|f){break q}f=N[d+12>>2];h=f;e=N[d+8>>2];c=64;if(f|e){break q}f=N[d+20>>2];h=f;e=N[d+16>>2];c=128;if(f|e){break q}f=N[d+28>>2];h=f;e=N[d+24>>2];c=192;if(f|e){break q}f=N[d+36>>2];h=f;e=N[d+32>>2];c=256;if(f|e){break q}f=N[d+44>>2];h=f;e=N[d+40>>2];c=320;if(f|e){break q}f=N[d+52>>2];h=f;e=N[d+48>>2];c=384;if(f|e){break q}e=N[d+56>>2];d=N[d+60>>2];h=d;if(!(d|e)){break p}c=448}o=b,p=c|TE(e,h)|N[(i<<3)+m>>2]<<9,N[o>>2]=p;break f}i=i+1|0;if((i|0)!=(g|0)){continue}break}}N[a+8>>2]=0;N[b>>2]=-1;return 0}d=TE(e,h)|d;N[b>>2]=d}N[b>>2]=(N[n>>2]<<9)+d}N[a+8>>2]=i;return 1}function Kp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=0,o=0,p=0,q=0;d=a+8|0;f=O[a+6|0]|O[a+7|0]<<8;j=(f<<8|f>>>8)&65535;f=c>>>0>j>>>0?j:c;if(f){while(1){g=(e<<2)+b|0;p=g,q=Jp(d,N[g>>2],0,1),N[p>>2]=q;g=d;d=O[d|0]|O[d+1|0]<<8;d=(g+(((d<<8|d>>>8)&65535)<<2)|0)+2|0;e=e+1|0;if((e|0)!=(f|0)){continue}break}}e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=2){a:{if(c>>>0>=j>>>0){break a}g=j+(f^-1)|0;i=j-f&3;if(i){e=0;while(1){h=d;d=O[d|0]|O[d+1|0]<<8;d=(h+(((d<<8|d>>>8)&65535)<<2)|0)+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}f=f+i|0}if(g>>>0<3){break a}while(1){e=O[d|0]|O[d+1|0]<<8;d=(((e<<8|e>>>8)&65535)<<2)+d|0;e=O[d+2|0]|O[d+3|0]<<8;d=(d+2|0)+(((e<<8|e>>>8)&65535)<<2)|0;e=O[d+2|0]|O[d+3|0]<<8;d=(d+2|0)+(((e<<8|e>>>8)&65535)<<2)|0;e=O[d+2|0]|O[d+3|0]<<8;d=((((e<<8|e>>>8)&65535)<<2)+d|0)+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}h=275552;n=275552;e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(e){n=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0}e=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(e){h=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0}a=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{a=275552}e=O[a+2|0]|O[a+3|0]<<8;a=(e<<8|e>>>8)&65535;k=kb(a<<2);b:{if(!e|!k){break b}a=a>>>0<=1?1:a;e=a&7;f=0;d=0;if(a>>>0>=8){a=a&65528;while(1){g=d<<2;N[g+k>>2]=1073741824;N[k+(g|4)>>2]=1073741824;N[k+(g|8)>>2]=1073741824;N[k+(g|12)>>2]=1073741824;N[k+(g|16)>>2]=1073741824;N[k+(g|20)>>2]=1073741824;N[k+(g|24)>>2]=1073741824;N[k+(g|28)>>2]=1073741824;d=d+8|0;if((a|0)!=(d|0)){continue}break}}if(!e){break b}while(1){N[k+(d<<2)>>2]=1073741824;d=d+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}e=0;c:{if(!c){break c}f=0;while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=c>>>0){continue}break}d=-1;if(f>>>0<=1073741823){e=kb(f<<2);d=e?f:-1}j=0;while(1){g=N[(m<<2)+b>>2];f=nd(n,m);i=f>>>16|0;a=O[h+6|0]|O[h+7|0]<<8;if(i>>>0>=((a<<8|a>>>8)&65535)>>>0){l=U(0)}else{a=(i<<2)+h|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{a=275552}o=f&65535;i=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(i){f=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))+h|0}else{f=275552}l=Fc(a,o,b,c,f,k)}l=U(U(Z(U(l+U(.5))))+U(g|0));d:{if(U(V(l))>>0<=d>>>0){a=e;break f}while(1){f=((f>>>1|0)+f|0)+8|0;if(g>>>0>=f>>>0){continue}break}d=-1;if(f>>>0>1073741823){break g}a=$a(e,f<<2);if(a){break f}}N[147456]=0;break e}e=(i|0)<=-16384?-16384:i;N[(j<<2)+a>>2]=(e|0)>=16384?16384:e;d=f;j=g;e=a}m=m+1|0;if((m|0)!=(c|0)){continue}break}d=0;if((c|0)!=1){f=c&1;c=c&-2;while(1){g=(d<<2)+b|0;h:{if(d>>>0>=j>>>0){N[147456]=0;a=0;break h}a=N[(d<<2)+e>>2]}N[g>>2]=a;g=d|1;i:{if(g>>>0>=j>>>0){N[147456]=0;a=0;break i}a=N[(g<<2)+e>>2]}N[(g<<2)+b>>2]=a;d=d+2|0;if((c|0)!=(d|0)){continue}break}if(!f){break c}}b=(d<<2)+b|0;j:{if(d>>>0>=j>>>0){N[147456]=0;a=0;break j}a=N[(d<<2)+e>>2]}N[b>>2]=a}_a(k);_a(e)}}function uj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;L[a|0]=0;L[a+1|0]=0;n=ad(b);l=N[c+16>>2];m=N[c+12>>2];i=N[c+4>>2];k=N[c>>2];a:{if(!ee(b,n)){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{if(i){q=(l<<1)+m|0;r=(i<<1)+k|0;h=-2;g=l;f=m;c=i;d=k;while(1){if(!g&(f|0)==(q|0)){break j}s=h+1|0;k:{if(c){e=0;h=d;if(g){break k}}M[294912]=0;e=!g|(c|0)!=0;h=c?d:589824}j=h;j=O[j|0]|O[j+1|0]<<8;h=(j<<8|j>>>8)&65535;o=((s|0)!=(h|0))+o|0;p=p+1|0;j=!e;g=g-j|0;f=(j<<1)+f|0;j=(c|0)!=0;d=(j<<1)+d|0;c=c-j|0;if((r|0)!=(d|0)|c){continue}break}break j}L[n|0]=0;L[n+1|0]=1;break i}c=T(o,3)>>>0

>>0;d=c?512:256;L[n|0]=d;L[n+1|0]=d>>>8;if(c-1|0){break i}break h}g=n+2|0;if(!ee(b,g)){break a}m=i>>>0>>0?i:l;c=m<<8|(m&65280)>>>8;L[g|0]=c;L[g+1|0]=c>>>8;c=N[b+24>>2];if(m>>>0>=65536){f=c|16;break b}if(c){break a}if(g>>>0>2]){break g}c=N[b+4>>2];if(c>>>0>>0){break f}d=(m<<1&131070)+2|0;if(d>>>0>>0){break e}f=4;d=(d+g|0)-c|0;if((d|0)<0|(d|0)>(N[b+8>>2]-c|0)){break b}N[b+4>>2]=c+d;if(!c){break a}if(!m){break c}c=0;while(1){l:{m:{n:{if(i){if(!l){break n}d=g+(c<<1)|0;f=O[k|0]|O[k+1|0]<<8;L[d+2|0]=f;L[d+3|0]=f>>>8;k=k+2|0;d=-1;i=i-1|0;break l}M[294912]=0;d=g+(c<<1)|0;L[d+2|0]=0;L[d+3|0]=0;d=-1;i=0;if(!l){break m}break l}M[294912]=0;d=g+(c<<1)|0;f=O[k|0]|O[k+1|0]<<8;L[d+2|0]=f;L[d+3|0]=f>>>8;k=k+2|0;i=i-1|0}d=0}l=d+l|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}break c}if(!tj(b,n)){break a}e=0;j=-2;g=l;f=m;c=i;d=k;while(1){if(!g&(f|0)==(q|0)){break d}o:{if(c){o=0;h=d;if(g){break o}}M[294912]=0;o=!g|(c|0)!=0;h=c?d:589824}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;e=((h|0)!=(j+1|0))+e|0;j=!o;g=g-j|0;f=(j<<1)+f|0;j=h;p=(c|0)!=0;d=(p<<1)+d|0;c=c-p|0;if((r|0)!=(d|0)|c){continue}break}break d}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}f=n+2|0;if(!ee(b,f)){break a}c=e<<8|(e&65280)>>>8;L[f|0]=c;L[f+1|0]=c>>>8;if(e>>>0>=65536){N[b+24>>2]=N[b+24>>2]|16}if(!sj(b,f,T(e&65535,6)+2|0)){break a}if(!e){break c}g=-2;h=0;c=-1;while(1){if(!l&(m|0)==(q|0)){break c}e=g+1|0;p:{if(i){j=0;d=k;if(l){break p}}M[294912]=0;j=!l|(i|0)!=0;d=i?k:589824}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if((e|0)!=(g|0)){c=c+1|0;e=O[f|0]|O[f+1|0]<<8;q:{if(c>>>0>=((e<<8|e>>>8)&65535)>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break q}e=(f+T(c,6)|0)+2|0}L[e|0]=d;L[e+1|0]=d>>>8;e=O[f|0]|O[f+1|0]<<8;r:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break r}e=(f+T(c,6)|0)+2|0}n=h<<8|(h&65280)>>>8;L[e+4|0]=n;L[e+5|0]=n>>>8}e=O[f|0]|O[f+1|0]<<8;s:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break s}e=(f+T(c,6)|0)+2|0}L[e+2|0]=d;L[e+3|0]=d>>>8;d=(i|0)!=0;k=(d<<1)+k|0;h=h+1|0;i=i-d|0;d=!j;l=l-d|0;m=(d<<1)+m|0;if(i|(k|0)!=(r|0)){continue}break}}de(b,a,Cc(b,1));return 1}N[b+24>>2]=f}$c(b);return 0}function se(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=N[a+88>>2];n=l+12|0;a:{b:{c:{d:{if(L[a+8|0]&1){e:{f:{g:{h:{i:{j:{k:{o=N[b>>2];switch(o|0){case 3:break i;case 2:break j;case 0:break k;case 1:break g;case 4:break h;default:break e}}f=P[a+68>>1];g=f;break e}f=N[a+60>>2]-N[a+52>>2]|0;d=N[a- -64>>2]-N[a+56>>2]|0;break f}f=M[a+76>>1];d=M[a+70>>1]-M[a+72>>1]|0;break f}c=N[b+4>>2];N[l+16>>2]=c;b=N[b+8>>2];N[l+20>>2]=b;if(!c){break c}if(b){break b}break d}f=M[a+70>>1]-M[a+72>>1]|0;d=f}c=d;c=c>>31;g=(d^c)-c|0;c=f>>31;f=(c^f)-c|0}d=N[b+4>>2];i=d;c=N[b+12>>2];if(c){i=(T(c,d)+36|0)/72|0}p=N[b+8>>2];m=p;b=N[b+16>>2];if(b){m=(T(b,p)+36|0)/72|0}l:{if(d){c=2147483647;m:{if(!f){break m}b=i>>31;e=(b^i)-b|0;if(e>>>0<=(f>>>17^65535)>>>0){c=((e<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break m}b=e<<16;d=b+(f>>>1|0)|0;b=(e>>>16|0)+(b>>>0>d>>>0)|0;if(b>>>0>=f>>>0){break m}h=W(b);j=32-h|0;b=d>>>j|b<>>0)/(f>>>0)|0;k=b-T(c,f)|0;b=d<>>31;e=d>>>0>=f>>>0;k=d-(e?f:0)|0;c=e|c<<1;j=31-h|0;b=b<<1}if((h|0)==31){break m}while(1){d=k<<1|b>>>31;h=d>>>0>=f>>>0;d=b>>>30&1|d-(h?f:0)<<1;e=d>>>0>=f>>>0;k=d-(e?f:0)|0;c=c<<2|h<<1|e;b=b<<2;j=j-2|0;if(j){continue}break}}c=(i|0)<0?0-c|0:c;N[l+16>>2]=c;if(p){b=2147483647;n:{if(!g){break n}d=m>>31;h=(d^m)-d|0;if(h>>>0<=(g>>>17^65535)>>>0){b=((h<<16)+(g>>>1|0)>>>0)/(g>>>0)|0;break n}d=h<<16;e=d+(g>>>1|0)|0;d=(h>>>16|0)+(d>>>0>e>>>0)|0;if(d>>>0>=g>>>0){break n}h=W(d);j=32-h|0;d=e>>>j|d<>>0)/(g>>>0)|0;k=d-T(b,g)|0;f=e<>>31;e=d>>>0>=g>>>0;k=d-(e?g:0)|0;j=31-h|0;f=f<<1;b=e|b<<1}if((h|0)==31){break n}while(1){d=k<<1|f>>>31;h=d>>>0>=g>>>0;d=f>>>30&1|d-(h?g:0)<<1;e=d>>>0>=g>>>0;k=d-(e?g:0)|0;b=e|(b<<2|h<<1);f=f<<2;j=j-2|0;if(j){continue}break}}b=(m|0)<0?0-b|0:b;N[l+20>>2]=b;if((o|0)!=3){break l}if((b|0)<=(c|0)){break c}break d}N[l+20>>2]=c;m=jb(i,g,f);b=c;break l}i=2147483647;o:{if(!g){break o}b=m>>31;d=(b^m)-b|0;if(d>>>0<=(g>>>17^65535)>>>0){i=((d<<16)+(g>>>1|0)>>>0)/(g>>>0)|0;break o}b=d<<16;c=b+(g>>>1|0)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;if(b>>>0>=g>>>0){break o}e=W(b);k=32-e|0;b=c>>>k|b<>>0)/(g>>>0)|0;j=b-T(g,i)|0;b=c<>>31;d=c>>>0>=g>>>0;j=c-(d?g:0)|0;i=d|i<<1;k=31-e|0;b=b<<1}if((e|0)==31){break o}while(1){c=j<<1|b>>>31;e=c>>>0>=g>>>0;c=b>>>30&1|c-(e?g:0)<<1;d=c>>>0>=g>>>0;j=c-(d?g:0)|0;i=d|(i<<2|e<<1);b=b<<2;k=k-2|0;if(k){continue}break}}b=(m|0)<0?0-i|0:i;N[l+16>>2]=b;N[l+20>>2]=b;i=jb(m,f,g);c=b}if(!o){break a}break b}N[n>>2]=0;N[n+4>>2]=0;N[n+24>>2]=0;N[n+16>>2]=0;N[n+20>>2]=0;N[n+8>>2]=0;N[n+12>>2]=0;N[l+16>>2]=65536;N[l+20>>2]=65536;return}N[l+20>>2]=c;b=c;break b}N[l+16>>2]=b;c=b}d=(c|0)<0;e=P[a+68>>1];f=c;c=c>>31;c=(f^c)-c|0;p:{if(e+(c>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break p}c=T(e,c>>>16|0)+(T(e,c&65535)+32768>>>16|0)|0}i=d?0-c|0:c;c=b>>31;c=(c^b)-c|0;q:{if(e+(c>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break q}c=T(e,c>>>16|0)+(T(e,c&65535)+32768>>>16|0)|0}m=(b|0)<0?0-c|0:c}M[l+14>>1]=m+32>>>6;M[l+12>>1]=i+32>>>6;sn(a,n)}function gA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=La-16|0;C(c,0,652);g=O[b+8|0];L[c+188|0]=g;a:{if(!g){break a}if(g>>>0>=4){i=g&252;e=c+192|0;h=b+12|0;while(1){N[e+(d<<2)>>2]=M[h+(d<<1)>>1];j=d|1;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];j=d|2;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];j=d|3;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];d=d+4|0;if((i|0)!=(d|0)){continue}break}}e=g&3;if(!e){break a}g=0;while(1){N[((d<<2)+c|0)+192>>2]=M[((d<<1)+b|0)+12>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+9|0];L[c+189|0]=e;b:{if(!e){break b}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+248|0;i=b+40|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break b}while(1){N[((d<<2)+c|0)+248>>2]=M[((d<<1)+b|0)+40>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+10|0];L[c+190|0]=e;c:{if(!e){break c}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+288|0;i=b+60|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break c}while(1){N[((d<<2)+c|0)+288>>2]=M[((d<<1)+b|0)+60>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+11|0];L[c+191|0]=e;d:{if(!e){break d}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+344|0;i=b+88|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break d}while(1){N[((d<<2)+c|0)+344>>2]=M[((d<<1)+b|0)+88>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}N[c+384>>2]=N[b+108>>2];N[c+388>>2]=N[b+112>>2];N[c+392>>2]=N[b+116>>2];N[c+396>>2]=P[b+120>>1];N[c+400>>2]=P[b+122>>1];e=O[b+124|0];L[c+404|0]=e;e:{if(!e){break e}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+408|0;i=b+128|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break e}while(1){N[((d<<2)+c|0)+408>>2]=M[((d<<1)+b|0)+128>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+125|0];L[c+405|0]=e;f:{if(!e){break f}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+460|0;i=b+154|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break f}while(1){N[((d<<2)+c|0)+460>>2]=M[((d<<1)+b|0)+154>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}L[c+512|0]=O[b+126|0];N[c+520>>2]=N[b+4>>2];N[c+524>>2]=N[b+184>>2];b=N[b+180>>2];N[c+552>>2]=c;N[c+528>>2]=b;g:{a=N[a+128>>2];d=N[a+60>>2];if((d|0)==-1){break g}N[c+648>>2]=d;if(!d){break g}while(1){b=d<<13^d;b=b>>>17^b;d=b<<5^b;if((d|0)<0){continue}break}N[a+60>>2]=d;return}a=k+4^(k+8^k+12);a=a>>>20^a>>>10^a;N[c+648>>2]=a?a:29572}function Yo(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=La-32|0;La=g;Dd(a,g+20|0);f=N[g+28>>2];a:{if(!f){l=3;break a}j=N[g+20>>2];N[g+16>>2]=j;e=7;k=N[g+24>>2];i=N[b+8>>2];b:{if((i|0)==7){l=N[a+8>>2];i=k-1|0;N[a+8>>2]=i;o=1;m=N[a>>2];j=j+1|0;N[a>>2]=j;Dd(a,g);N[a+8>>2]=l;N[a>>2]=m;l=3;m=0;if(N[g+8>>2]!=3){break b}if(!d){break a}N[g+16>>2]=j;e=8;k=i;m=1;break b}l=3;if((f|0)!=3){e=1}else{if(!d){break a}m=1;N[g+16>>2]=j+1;k=k-1|0;e=d}o=e;e=i}p=d<<4;q=T(d,3);r=d<<1;s=e-1|0;t=f-2|0;n=d<<2;u=(n|0)>536870911;c:{while(1){e=N[(m<<2)+c>>2];i=N[b+16>>2];Tb(g+16|0,k);j=e+i|0;d:{e:{f:{g:{h:{i:{switch(s|0){case 0:f=N[g+16>>2];i=f;j:{if(O[f|0]!=116|f+3>>>0>=k>>>0|(O[f+1|0]!=114|O[f+2|0]!=117)){break j}if(O[i+3|0]!=101){break j}e=1;N[g+16>>2]=f+5;break h}e=0;k:{if(O[f|0]!=102|f+4>>>0>=k>>>0|(O[f+1|0]!=97|O[f+2|0]!=108)){break k}if(O[i+3|0]!=115){break k}f=(O[f+4|0]==101?6:0)+f|0}N[g+16>>2]=f;break h;case 2:e=Qc(g+16|0,k,0);break h;case 3:e=Qc(g+16|0,k,3);break h;case 7:break e;case 6:break f;case 4:case 5:break g;case 1:break i;default:break a}}h=N[g+16>>2];N[g>>2]=h;i=fd(g,k,10);e=0;f=N[g>>2];if((h|0)==(f|0)){break h}if(!(O[f|0]!=35|f>>>0>=k>>>0)){h=f+1|0;N[g>>2]=h;i=fd(g,k,i);f=N[g>>2];if((h|0)==(f|0)){break h}}N[g+16>>2]=f;e=i}l:{switch(O[b+20|0]-1|0){case 0:L[j|0]=e;break d;case 1:M[j>>1]=e;break d;default:break l}}N[j>>2]=e;break d}e=N[g+16>>2];if(e>>>0>=k>>>0){break d}h=k-e|0;f=N[a+16>>2];m:{n:{switch(t|0){case 2:i=e+1|0;N[g+16>>2]=i;e=h-1|0;break m;case 0:break n;default:break a}}i=e+1|0;N[g+16>>2]=i;e=h-2|0}h=N[j>>2];if(h){Qa[N[f+8>>2]](f,h);N[j>>2]=0}h=e+1|0;o:{if(e>>>0<=2147483646){f=Qa[N[f+4>>2]](f,h)|0;if(f){break o}l=64;break a}f=0;if(!h){break o}l=6;break a}F(f,i,e);L[e+f|0]=0;N[j>>2]=f;break d}if((Ee(g+16|0,k,4,g,0)|0)<4){break a}e=N[g>>2];N[j>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+4>>2];N[j+4>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+8>>2];N[j+8>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+12>>2];N[j+12>>2]=((e>>31)+e|0)+32768&-65536;break d}if((n|0)<0){l=6;break a}i=N[a+16>>2];p:{if(!n){e=0;break p}if(u){l=10;break a}e=Qa[N[i+4>>2]](i,p)|0;if(!(!e|(n|0)<=0)){C(e,0,p);break p}if(e){break p}l=!e<<6;break a}f=Ee(g+16|0,k,d,e,0);if((f|0)<0|d>>>0>f>>>0){break c}f=g+16|0;Tb(f,k);f=Ee(f,k,d,e+n|0,0);if((f|0)<0|d>>>0>f>>>0){break c}f=g+16|0;Tb(f,k);f=Ee(f,k,d,(r<<2)+e|0,0);if((f|0)<0|d>>>0>f>>>0){break c}f=g+16|0;Tb(f,k);f=Ee(f,k,d,(q<<2)+e|0,0);if((f|0)<0|d>>>0>f>>>0){break c}Tb(g+16|0,k);f=0;q:{if(d){while(1){h=f<<2;j=N[h+c>>2];h=N[e+h>>2];N[j>>2]=((h>>31)+h|0)+32768&-65536;h=N[(d+f<<2)+e>>2];N[j+4>>2]=((h>>31)+h|0)+32768&-65536;h=N[(f+r<<2)+e>>2];N[j+8>>2]=((h>>31)+h|0)+32768&-65536;h=j;j=N[(f+q<<2)+e>>2];N[h+12>>2]=((j>>31)+j|0)+32768&-65536;f=f+1|0;if((f|0)!=(d|0)){continue}break q}}if(!e){break d}}Qa[N[i+8>>2]](i,e)}m=m+1|0;o=o-1|0;if(o){continue}break}l=0;break a}if(!e){break a}Qa[N[i+8>>2]](i,e)}La=g+32|0;return l|0}function pc(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=La-112|0;La=j;k=i&2147483647;a:{b:{l=e&2147483647;m=!(b|c);if(!(d|l?l-2147418112>>>0<2147549184:m)){o=k-2147418112|0;if(!h&(o|0)==-2147418112?f|g:(o|0)==-2147418112&(h|0)!=0|o>>>0>2147549184){break b}}if(!(!d&(l|0)==2147418112?m:l>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!h&(k|0)==2147418112?!(f|g):k>>>0<2147418112)){i=i|32768;break a}if(!(b|d|(l^2147418112|c))){n=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:n;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|h|(k^2147418112|g))){break a}if(!(b|d|(c|l))){if(f|h|(g|k)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|h|(g|k)){break b}f=b;g=c;h=d;i=e;break a}n=(k|0)==(l|0);r=n&(d|0)==(h|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:n&d>>>0>>0|k>>>0>l>>>0;m=r;l=m?f:b;o=m?g:c;n=m?i:e;s=n;m=m?h:d;q=n&65535;d=r?d:h;e=r?e:i;t=e;n=e>>>16&32767;p=s>>>16&32767;if(!p){e=!(m|q);i=e;k=e?l:m;e=e<<6;i=W(i?o:q);e=e+((i|0)==32?W(k)+32|0:i)|0;hc(j+96|0,l,o,m,q,e-15|0);m=N[j+104>>2];q=N[j+108>>2];o=N[j+100>>2];p=16-e|0;l=N[j+96>>2]}f=r?b:f;g=r?c:g;h=d;i=t&65535;if(!n){b=!(h|i);e=b;k=b?f:h;b=b<<6;e=W(e?g:i);b=b+((e|0)==32?W(k)+32|0:e)|0;hc(j+80|0,f,g,h,i,b-15|0);n=16-b|0;h=N[j+88>>2];i=N[j+92>>2];g=N[j+84>>2];f=N[j+80>>2]}c=i<<3|h>>>29;b=h<<3|g>>>29;c=c|524288;h=m<<3|o>>>29;i=q<<3|m>>>29;r=s^t;e=g<<3|f>>>29;d=f<<3;c:{if((n|0)==(p|0)){break c}f=p-n|0;if(f>>>0>127){b=0;c=0;e=0;d=1;break c}hc(j- -64|0,d,e,b,c,128-f|0);Qd(j+48|0,d,e,b,c,f);b=N[j+56>>2];c=N[j+60>>2];e=N[j+52>>2];d=N[j+48>>2]|(N[j+64>>2]|N[j+72>>2]|(N[j+68>>2]|N[j+76>>2]))!=0}m=d;k=e;n=h;q=i|524288;e=o<<3|l>>>29;o=l<<3;l=e;d:{if((r|0)<0){f=0;g=0;h=0;i=0;if(!(m^o|b^n|(k^l|c^q))){break a}d=o-m|0;e=l-((m>>>0>o>>>0)+k|0)|0;f=n-b|0;g=(k|0)==(l|0)&m>>>0>o>>>0|k>>>0>l>>>0;h=f-g|0;b=(q-((b>>>0>n>>>0)+c|0)|0)-(f>>>0>>0)|0;i=b;if(b>>>0>524287){break d}b=!(h|i);f=b;g=b?d:h;b=b<<6;f=W(f?e:i);b=b+((f|0)==32?W(g)+32|0:f)|0;b=b-12|0;hc(j+32|0,d,e,h,i,b);p=p-b|0;h=N[j+40>>2];i=N[j+44>>2];d=N[j+32>>2];e=N[j+36>>2];break d}e=k+l|0;d=m+o|0;e=d>>>0>>0?e+1|0:e;f=(k|0)==(e|0)&d>>>0>>0|e>>>0>>0;k=c+q|0;b=b+n|0;k=b>>>0>>0?k+1|0:k;h=b+f|0;i=h>>>0>>0?k+1|0:k;if(!(i&1048576)){break d}d=m&1|((e&1)<<31|d>>>1);e=h<<31|e>>>1;p=p+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}c=0;l=s&-2147483648;if((p|0)>=32767){h=c;i=l|2147418112;f=0;g=0;break a}n=0;e:{if((p|0)>0){n=p;break e}hc(j+16|0,d,e,h,i,p+127|0);Qd(j,d,e,h,i,1-p|0);d=N[j>>2]|(N[j+16>>2]|N[j+24>>2]|(N[j+20>>2]|N[j+28>>2]))!=0;e=N[j+4>>2];h=N[j+8>>2];i=N[j+12>>2]}o=d&7;d=(e&7)<<29|d>>>3;f=(o>>>0>4)+d|0;b=h<<29|e>>>3;g=d>>>0>f>>>0?b+1|0:b;d=(b|0)==(g|0)&d>>>0>f>>>0|b>>>0>g>>>0;b=c|((i&7)<<29|h>>>3);h=d+b|0;i=l|(i>>>3&65535|n<<16);i=b>>>0>h>>>0?i+1|0:i;f:{if((o|0)==4){b=0;k=g+b|0;d=f;c=f&1;f=f+c|0;g=d>>>0>f>>>0?k+1|0:k;b=(b|0)==(g|0)&c>>>0>f>>>0|b>>>0>g>>>0;h=b+h|0;i=b>>>0>h>>>0?i+1|0:i;break f}if(!o){break a}}}N[a>>2]=f;N[a+4>>2]=g;N[a+8>>2]=h;N[a+12>>2]=i;La=j+112|0}function Ec(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;N[a>>2]=0;N[a+88>>2]=c;N[a+84>>2]=b;N[a+20>>2]=0;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=-1;N[a+28>>2]=0;N[a+60>>2]=0;N[a+64>>2]=0;N[a+52>>2]=0;N[a+56>>2]=-1;N[a+68>>2]=0;b=N[c+24>>2];N[a+100>>2]=0;N[a+96>>2]=d;N[a+92>>2]=b;e=N[b+140>>2];a:{if(e){break a}while(1){c=N[b+48>>2];if(!c){e=275552;break a}e=db(1,4);if(!e){e=275552;N[b+140>>2]=275552;break a}e=Of(e,c);if(!N[b+140>>2]){N[b+140>>2]=e;break a}ab(N[e>>2]);_a(e);e=N[b+140>>2];if(!e){continue}break}}b=275552;c=N[e>>2];c=c?c:275552;f=Q[c+16>>2]<4?275552:N[c+12>>2];N[a+104>>2]=f;k=O[f|0]|O[f+1|0]<<8;b:{if((k|0)!=256){break b}c=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65539){break b}c=O[f+14|0]|O[f+15|0]<<8|(O[f+16|0]<<16|O[f+17|0]<<24);if(!c){break b}b=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+f|0}N[a+108>>2]=b;c=0;l=N[a+84>>2];c:{if(!N[N[a+88>>2]+84>>2]|(l|0)!=1){break c}c=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(c){b=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+b|0}else{b=275552}b=O[b+2|0]|O[b+3|0]<<8;e=(b<<8|b>>>8)&65535;c=kb(e<<2);if(!b|!c){break c}b=e>>>0<=1?1:e;g=b&7;e=0;if(b>>>0>=8){h=b&65528;while(1){b=e<<2;N[b+c>>2]=1073741824;N[(b|4)+c>>2]=1073741824;N[(b|8)+c>>2]=1073741824;N[(b|12)+c>>2]=1073741824;N[(b|16)+c>>2]=1073741824;N[(b|20)+c>>2]=1073741824;N[(b|24)+c>>2]=1073741824;N[(b|28)+c>>2]=1073741824;e=e+8|0;if((h|0)!=(e|0)){continue}break}}if(!g){break c}while(1){N[(e<<2)+c>>2]=1073741824;e=e+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}N[a+116>>2]=0;N[a+120>>2]=0;N[a+112>>2]=c;N[a+124>>2]=0;h=N[d+68>>2];if(h){g=0;c=N[d+80>>2];b=c;e=0;if(h>>>0>=4){j=h&-4;i=0;while(1){e=1<<(N[b>>2]>>>4)|e|1<<(N[b+20>>2]>>>4)|1<<(N[b+40>>2]>>>4)|1<<(N[b+60>>2]>>>4);b=b+80|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}j=h&3;if(j){while(1){e=1<<(N[b>>2]>>>4)|e;b=b+20|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[a+116>>2]=e;g=0;b=c;e=0;if(h>>>0>=4){m=h&-4;i=0;while(1){e=1<>2]|e|1<>2]|1<>2]|1<>2];b=b+80|0;i=i+4|0;if((m|0)!=(i|0)){continue}break}}if(j){while(1){e=1<>2]|e;b=b+20|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[a+120>>2]=e;e=0;d:{if(h>>>0<4){b=0;break d}h=h&-4;b=0;g=0;while(1){b=1<<(N[c>>2]>>>9)|b|1<<(N[c+20>>2]>>>9)|1<<(N[c+40>>2]>>>9)|1<<(N[c+60>>2]>>>9);c=c+80|0;g=g+4|0;if((h|0)!=(g|0)){continue}break}}if(j){while(1){b=1<<(N[c>>2]>>>9)|b;c=c+20|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}N[a+124>>2]=b}b=N[d+40>>2];N[a+140>>2]=0;N[a+144>>2]=64;N[a+132>>2]=1;N[a+136>>2]=-1;N[a+128>>2]=b;b=O[f+4|0]|O[f+5|0]<<8;N[a+156>>2]=1;N[a+160>>2]=-1;L[a+149|0]=1;L[a+150|0]=1;L[a+151|0]=0;L[a+152|0]=0;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;L[a+20|0]=(l|0)==1;N[a+72>>2]=0;N[a+48>>2]=a;L[a+21|0]=1;L[a+22|0]=0;N[a+12>>2]=0;N[a+16>>2]=1;c=a- -64|0;N[c>>2]=0;N[c+4>>2]=0;M[a+60>>1]=257;N[a+52>>2]=0;N[a+56>>2]=-1;L[a+62|0]=0;L[a+148|0]=(k|0)==256&(b|0)!=0;return a}function Dk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=N[b+4>>2];if(e>>>0>a>>>0){return 0}f=N[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}j=N[b+12>>2];g=j-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){return 0}g=O[a|0]|O[a+1|0]<<8;a:{if(!g){break a}b:{l=((g<<8|g>>>8)&65535)+c|0;if(e>>>0>l>>>0|f>>>0>>0|f-l>>>0<2){break b}c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}g=O[l|0]|O[l+1|0]<<8;if(!g){break a}d=l+2|0;if(d>>>0>f>>>0){break b}k=f-d|0;f=(g<<8|g>>>8)&65535;d=T(f,6);if(k>>>0>>0){break b}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break b}o=f>>>0<=1?1:f;while(1){g=N[b+4>>2];e=T(n,6)+l|0;f=e+2|0;if(g>>>0>f>>>0){break b}c=N[b+8>>2];if(c>>>0>>0|c-f>>>0<6){break b}d=N[b+12>>2];f=d-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}j=e+6|0;if(c>>>0>>0|c-j>>>0<2){break b}f=d-8|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[j|0]|O[j+1|0]<<8;c:{if(!f){break c}d:{e:{f=((f<<8|f>>>8)&65535)+l|0;if(f>>>0>>0|c>>>0>>0|c-f>>>0<2){break e}e=d-10|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=O[f|0]|O[f+1|0]<<8;f:{if(!e){break f}e=f+((e<<8|e>>>8)&65535)|0;g:{if(e>>>0>>0|c>>>0>>0|c-e>>>0<6){break g}i=d-16|0;N[b+12>>2]=i;if((i|0)<=0){break g}i=e+4|0;if(i>>>0>c>>>0|c-i>>>0<2){break g}d=d-18|0;N[b+12>>2]=d;if((d|0)<=0){break g}i=O[i|0]|O[i+1|0]<<8;if(!i){break f}e=e+6|0;if(e>>>0>c>>>0){break g}k=c-e|0;c=((i<<8|i>>>8)&65535)<<1;if(k>>>0>>0){break g}c=d-c|0;N[b+12>>2]=c;if((c|0)>0){break f}}c=N[b+28>>2];if(c>>>0>31){break b}d=c+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[f|0]=0;L[f+1|0]=0;g=N[b+4>>2]}i=f+2|0;if(i>>>0>>0){break e}c=N[b+8>>2];if(c>>>0>>0|c-i>>>0<2){break e}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break e}g=O[i|0]|O[i+1|0]<<8;if(!g){break c}e=f+4|0;if(e>>>0>c>>>0){break e}k=c-e|0;c=(g<<8|g>>>8)&65535;g=T(c,6);if(k>>>0>>0){break e}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break e}p=c>>>0<=1?1:c;g=0;while(1){d=N[b+4>>2];h=i+T(g,6)|0;e=h+2|0;if(d>>>0>e>>>0){break e}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<6){break e}m=N[b+12>>2];e=m-6|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=h+6|0;if(e>>>0>>0|c>>>0>>0|c-e>>>0<2){break e}h=m-8|0;N[b+12>>2]=h;if((h|0)<=0){break e}h=O[e|0]|O[e+1|0]<<8;h:{if(!h){break h}k=d;d=f+((h<<8|h>>>8)&65535)|0;i:{if(k>>>0>d>>>0|c>>>0>>0|c-d>>>0<6){break i}h=m-14|0;N[b+12>>2]=h;if((h|0)<=0){break i}h=d+4|0;if(h>>>0>c>>>0|c-h>>>0<2){break i}m=m-16|0;N[b+12>>2]=m;if((m|0)<=0){break i}h=O[h|0]|O[h+1|0]<<8;if(!h){break h}d=d+6|0;if(d>>>0>c>>>0){break i}k=c-d|0;c=((h<<8|h>>>8)&65535)<<1;if(k>>>0>>0){break i}c=m-c|0;N[b+12>>2]=c;if((c|0)>0){break h}}c=N[b+28>>2];if(c>>>0>31){break b}d=c+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[e|0]=0;L[e+1|0]=0}g=g+1|0;if((p|0)!=(g|0)){continue}break}break c}d=N[b+28>>2]}if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[j|0]=0;L[j+1|0]=0}d=1;n=n+1|0;if((o|0)!=(n|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;d=1}return d}function _a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=N[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=N[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=b>>>3|0;b=N[d+12>>2];c=N[d+8>>2];if((b|0)==(c|0)){i=589268,j=N[147317]&ZE(-2,e),N[i>>2]=j;break b}N[c+12>>2]=b;N[b+8>>2]=c;break b}g=N[d+24>>2];b=N[d+12>>2];if((d|0)!=(b|0)){c=N[d+8>>2];N[c+12>>2]=b;N[b+8>>2]=c;break c}e=d+20|0;c=N[e>>2];if(!c){c=N[d+16>>2];if(!c){break d}e=d+16|0}while(1){h=e;b=c;e=b+20|0;c=N[e>>2];if(c){continue}e=b+16|0;c=N[b+16>>2];if(c){continue}break}N[h>>2]=0;break c}b=N[f+4>>2];if((b&3)!=3){break b}N[147319]=a;N[f+4>>2]=b&-2;N[d+4>>2]=a|1;N[f>>2]=a;return}b=0}if(!g){break b}c=N[d+28>>2];e=(c<<2)+589572|0;e:{if(N[e>>2]==(d|0)){N[e>>2]=b;if(b){break e}i=589272,j=N[147318]&ZE(-2,c),N[i>>2]=j;break b}N[g+(N[g+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}N[b+24>>2]=g;c=N[d+16>>2];if(c){N[b+16>>2]=c;N[c+24>>2]=b}c=N[d+20>>2];if(!c){break b}N[b+20>>2]=c;N[c+24>>2]=b}if(d>>>0>=f>>>0){break a}b=N[f+4>>2];if(!(b&1)){break a}f:{g:{h:{i:{if(!(b&2)){if(N[147323]==(f|0)){N[147323]=d;a=N[147320]+a|0;N[147320]=a;N[d+4>>2]=a|1;if(N[147322]!=(d|0)){break a}N[147319]=0;N[147322]=0;return}if(N[147322]==(f|0)){N[147322]=d;a=N[147319]+a|0;N[147319]=a;N[d+4>>2]=a|1;N[a+d>>2]=a;return}a=(b&-8)+a|0;if(b>>>0<=255){e=b>>>3|0;b=N[f+12>>2];c=N[f+8>>2];if((b|0)==(c|0)){i=589268,j=N[147317]&ZE(-2,e),N[i>>2]=j;break g}N[c+12>>2]=b;N[b+8>>2]=c;break g}g=N[f+24>>2];b=N[f+12>>2];if((f|0)!=(b|0)){c=N[f+8>>2];N[c+12>>2]=b;N[b+8>>2]=c;break h}e=f+20|0;c=N[e>>2];if(!c){c=N[f+16>>2];if(!c){break i}e=f+16|0}while(1){h=e;b=c;e=b+20|0;c=N[e>>2];if(c){continue}e=b+16|0;c=N[b+16>>2];if(c){continue}break}N[h>>2]=0;break h}N[f+4>>2]=b&-2;N[d+4>>2]=a|1;N[a+d>>2]=a;break f}b=0}if(!g){break g}c=N[f+28>>2];e=(c<<2)+589572|0;j:{if(N[e>>2]==(f|0)){N[e>>2]=b;if(b){break j}i=589272,j=N[147318]&ZE(-2,c),N[i>>2]=j;break g}N[g+(N[g+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}N[b+24>>2]=g;c=N[f+16>>2];if(c){N[b+16>>2]=c;N[c+24>>2]=b}c=N[f+20>>2];if(!c){break g}N[b+20>>2]=c;N[c+24>>2]=b}N[d+4>>2]=a|1;N[a+d>>2]=a;if(N[147322]!=(d|0)){break f}N[147319]=a;return}if(a>>>0<=255){b=(a&-8)+589308|0;c=N[147317];a=1<<(a>>>3);k:{if(!(c&a)){N[147317]=a|c;a=b;break k}a=N[b+8>>2]}N[b+8>>2]=d;N[a+12>>2]=d;N[d+12>>2]=b;N[d+8>>2]=a;return}c=31;if(a>>>0<=16777215){b=W(a>>>8|0);c=((a>>>38-b&1)-(b<<1)|0)+62|0}N[d+28>>2]=c;N[d+16>>2]=0;N[d+20>>2]=0;b=(c<<2)+589572|0;l:{m:{e=N[147318];h=1<>2]=d;N[d+24>>2]=b;break n}c=a<<((c|0)!=31?25-(c>>>1|0)|0:0);b=N[b>>2];while(1){e=b;if((N[b+4>>2]&-8)==(a|0)){break m}b=c>>>29|0;c=c<<1;h=e+(b&4)|0;b=N[h+16>>2];if(b){continue}break}N[h+16>>2]=d;N[d+24>>2]=e}N[d+12>>2]=d;N[d+8>>2]=d;break l}a=N[e+8>>2];N[a+12>>2]=d;N[e+8>>2]=d;N[d+24>>2]=0;N[d+12>>2]=e;N[d+8>>2]=a}a=N[147325]-1|0;N[147325]=a?a:-1}}function aC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Qa[N[a+4>>2]](a,2496)|0;if(!h){N[c>>2]=0;return 64}C(h,0,2496);N[h>>2]=a;N[h+212>>2]=P[b+120>>1];g=O[b+124|0];a:{if(!g){break a}a=h+224|0;d=b+128|0;e=g&7;if(e){while(1){N[a>>2]=M[d>>1];d=d+2|0;a=a+12|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}e=g&248}else{e=g}f=e;if(g>>>0<8){break a}while(1){N[a>>2]=M[d>>1];N[a+12>>2]=M[d+2>>1];N[a+24>>2]=M[d+4>>1];N[a+36>>2]=M[d+6>>1];N[a+48>>2]=M[d+8>>1];N[a+60>>2]=M[d+10>>1];N[a+72>>2]=M[d+12>>1];N[a+84>>2]=M[d+14>>1];d=d+16|0;a=a+96|0;f=f-8|0;if(f){continue}break}}f=1;N[h+208>>2]=g+1;N[h+8>>2]=P[b+122>>1];g=O[b+125|0];b:{if(!g){break b}a=h+20|0;d=b+154|0;i=g&7;if(i){e=0;while(1){N[a>>2]=M[d>>1];d=d+2|0;a=a+12|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}e=g&248}else{e=g}if(g>>>0<8){break b}while(1){N[a>>2]=M[d>>1];N[a+12>>2]=M[d+2>>1];N[a+24>>2]=M[d+4>>1];N[a+36>>2]=M[d+6>>1];N[a+48>>2]=M[d+8>>1];N[a+60>>2]=M[d+10>>1];N[a+72>>2]=M[d+12>>1];N[a+84>>2]=M[d+14>>1];d=d+16|0;a=a+96|0;e=e-8|0;if(e){continue}break}}N[h+4>>2]=g+1;a=0;d=h+412|0;e=b+12|0;g=b+40|0;jp(d,O[b+8|0],e,O[b+9|0],g,N[b+116>>2],0);i=b+60|0;l=b+88|0;jp(d,O[b+10|0],i,O[b+11|0],l,N[b+116>>2],1);d=O[b+8|0];c:{if(!d){break c}j=(d-1>>>1|0)+1|0;k=j&1;if(d>>>0>=3){m=j&2147483646;n=d-3&-4;j=0;while(1){d=a<<1;o=P[e+(d|6)>>1]-P[e+(d|4)>>1]<<16>>16;d=P[e+(d|2)>>1]-P[d+e>>1]<<16>>16;f=f<<16>>16;f=(d|0)>(f|0)?d:f;f=(f|0)<(o|0)?o:f;a=a+4|0;j=j+2|0;if((m|0)!=(j|0)){continue}break}a=n+4|0}if(!k){break c}a=a<<1;a=P[e+(a|2)>>1]-P[a+e>>1]<<16>>16;f=(a|0)>(f|0)?a:f}a=O[b+9|0];d:{if(!a){break d}e=(a-1>>>1|0)+1|0;j=e&1;if(a>>>0<3){a=0}else{k=e&2147483646;m=a-3&-4;e=0;a=0;while(1){d=e<<1;n=P[g+(d|6)>>1]-P[g+(d|4)>>1]<<16>>16;d=P[g+(d|2)>>1]-P[d+g>>1]<<16>>16;f=f<<16>>16;f=(d|0)>(f|0)?d:f;f=(f|0)<(n|0)?n:f;e=e+4|0;a=a+2|0;if((k|0)!=(a|0)){continue}break}a=m+4|0}if(!j){break d}a=a<<1;a=P[g+(a|2)>>1]-P[a+g>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=O[b+10|0];e:{if(!a){break e}e=(a-1>>>1|0)+1|0;g=e&1;if(a>>>0<3){a=0}else{j=e&2147483646;k=a-3&-4;d=0;e=0;while(1){a=d<<1;m=P[i+(a|6)>>1]-P[i+(a|4)>>1]<<16>>16;a=P[i+(a|2)>>1]-P[a+i>>1]<<16>>16;f=f<<16>>16;a=(a|0)>(f|0)?a:f;f=(a|0)<(m|0)?m:a;d=d+4|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}a=k+4|0}if(!g){break e}a=a<<1;a=P[i+(a|2)>>1]-P[a+i>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=O[b+11|0];f:{if(!a){break f}e=(a-1>>>1|0)+1|0;g=e&1;if(a>>>0<3){a=0}else{i=e&2147483646;j=a-3&-4;d=0;e=0;while(1){a=d<<1;k=P[(a|6)+l>>1]-P[(a|4)+l>>1]<<16>>16;a=P[(a|2)+l>>1]-P[a+l>>1]<<16>>16;f=f<<16>>16;a=(a|0)>(f|0)?a:f;f=(a|0)<(k|0)?k:a;d=d+4|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}a=j+4|0}if(!g){break f}a=a<<1;a=P[(a|2)+l>>1]-P[a+l>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=N[b+108>>2];e=fb(1e3,f&65535);N[h+2476>>2]=(a|0)<(e|0)?a:e;N[h+2480>>2]=N[b+112>>2];a=N[b+116>>2];N[h+404>>2]=0;N[h+408>>2]=0;N[h+200>>2]=0;N[h+204>>2]=0;N[h+2488>>2]=a;N[c>>2]=h;return 0}function Ti(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{g=N[a+204>>2];f=g>>8;e=N[a+168>>2];n=c>>8;b:{if((f|0)>=(e|0)&(e|0)<=(n|0)){break b}k=N[a+164>>2];if((k|0)>(f|0)&(k|0)>(n|0)){break b}r=c&255;e=g&255;d=N[a+200>>2];if((f|0)==(n|0)){zg(a,f,d,e,b,r);break b}l=c-g|0;if((b|0)==(d|0)){g=N[a+176>>2];d=(l|0)>0;i=d<<8;e=i-e|0;N[g+4>>2]=e+N[g+4>>2];o=b<<1&510;N[g+8>>2]=N[g+8>>2]+T(o,e);m=b>>8;s=d?1:-1;j=s+f|0;e=j-k|0;c:{if(!(!((e|0)<0|(e|0)>=N[a+172>>2])&(m|0)>2])){d=N[a+192>>2];break c}g=N[a+188>>2]+(e<<2)|0;e=N[g>>2];h=N[e>>2];d=N[a+156>>2];f=(d|0)>(m|0)?d-1|0:m;if((h|0)<=(f|0)){while(1){d=e;if((f|0)==(h|0)){break c}e=N[d+12>>2];h=N[e>>2];if((f|0)>=(h|0)){continue}break}g=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=f;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[g>>2];N[g>>2]=d}N[a+176>>2]=d;if((j|0)!=(n|0)){g=(i<<1)-256|0;f=T(g,o);while(1){N[d+4>>2]=g+N[d+4>>2];N[d+8>>2]=f+N[d+8>>2];j=j+s|0;e=j-k|0;d:{if(!(!((e|0)<0|(e|0)>=N[a+172>>2])&(m|0)>2])){d=N[a+192>>2];break d}p=N[a+188>>2]+(e<<2)|0;e=N[p>>2];h=N[e>>2];d=N[a+156>>2];r=(d|0)>(m|0)?d-1|0:m;if((h|0)<=(r|0)){while(1){d=e;if((h|0)==(r|0)){break d}e=N[d+12>>2];h=N[e>>2];if((r|0)>=(h|0)){continue}break}p=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=r;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[p>>2];N[p>>2]=d}N[a+176>>2]=d;if((j|0)!=(n|0)){continue}break}}e=i+(c|-256)|0;N[d+4>>2]=e+N[d+4>>2];N[d+8>>2]=N[d+8>>2]+T(e,o);break b}o=b-d|0;p=1;k=d;m=e;k=d;e:{if((l|0)>0){t=256;e=256-e|0;break e}l=0-l|0;p=-1}d=T(e,o);e=(d|0)/(l|0)|0;s=d-T(e,l)|0;g=s>>31;q=(k+e|0)+g|0;zg(a,f,k,m,q,t);f:{g:{j=f+p|0;e=j-N[a+164>>2]|0;if(!((e|0)<0|(e|0)>=N[a+172>>2])){f=q>>8;if((f|0)>2]){break g}}d=N[a+192>>2];break f}i=N[a+188>>2]+(e<<2)|0;e=N[i>>2];h=N[e>>2];d=N[a+156>>2];f=(d|0)>(f|0)?d-1|0:f;if((h|0)<=(f|0)){while(1){d=e;if((f|0)==(h|0)){break f}e=N[d+12>>2];h=N[e>>2];if((f|0)>=(h|0)){continue}break}i=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=f;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[i>>2];N[i>>2]=d}N[a+176>>2]=d;h:{if((j|0)==(n|0)){m=256-t|0;break h}e=s+(g&l)|0;d=o<<8;g=(d|0)/(l|0)|0;f=d-T(g,l)|0;d=f>>31;o=(d&l)+f|0;s=d+g|0;m=256-t|0;while(1){d=q;g=e+o|0;f=(g|0)>=(l|0);q=f+(q+s|0)|0;zg(a,j,d,m,q,t);i:{j:{j=j+p|0;e=j-N[a+164>>2]|0;if(!((e|0)<0|(e|0)>=N[a+172>>2])){i=q>>8;if((i|0)>2]){break j}}d=N[a+192>>2];break i}k=N[a+188>>2]+(e<<2)|0;e=N[k>>2];h=N[e>>2];d=N[a+156>>2];i=(d|0)>(i|0)?d-1|0:i;if((h|0)<=(i|0)){while(1){d=e;if((i|0)==(h|0)){break i}e=N[d+12>>2];h=N[e>>2];if((i|0)>=(h|0)){continue}break}k=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=i;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[k>>2];N[k>>2]=d}e=g-(f?l:0)|0;N[a+176>>2]=d;if((j|0)!=(n|0)){continue}break}}zg(a,n,q,m,b,r)}N[a+204>>2]=c;N[a+200>>2]=b;return}pe(a,1);B()}function up(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;q=La-16|0;La=q;i=Yd(a,d);a:{if(i){break a}qf(a,b,c,d);w=N[a>>2];c=N[a+2748>>2];i=N[N[c>>2]+8>>2];b=T(d,1348)+a|0;n=b;N[b+56>>2]=0;s=b+44|0;f=N[s>>2];j=N[b+52>>2];g=N[(d?12:4)+a>>2];b=O[N[(i<<2)+288704>>2]+12|0];b:{if((d|0)==1){break b}b=0;if(d){break b}k=fb(64,N[a+12>>2]);b=0}x=fb(32,g);e=N[(c+T(d,9804)|0)+248>>2];c=e>>31;i=g>>31;h=(i^g)-i|0;t=h>>>8|0;c=(c^e)-c|0;c:{if(t+c>>>0<=8190){l=T(c,h)+32768>>>16|0;break c}i=c&65535;l=T(i,h>>>16|0)+T(h,c>>>16|0)+(T(i,h&65535)+32768>>>16)|0}c=l;i=0;m=0-c|0;c=e>>31|1;c=(((g|0)<0?0-c|0:c)|0)<0?m:l;l=fb((c|0)>=16?16:c,g);if((f|0)>0){o=T(f,44)+j|0;y=h&65535;z=h>>>16|0;A=T(k,3);r=(T(d,1348)+a|0)- -64|0;B=b&255;c=j;while(1){b=M[c+10>>1];d:{if((b|0)<(k|0)|M[c+4>>1]>(x|0)){break d}m=O[c+1|0];if((m|0)==4|(b<<1<(A|0)?N[c+24>>2]:0)){break d}e:{u=N[n+56>>2];f:{if((u|0)<=0){f=M[c+2>>1];break f}f=M[c+2>>1];C=N[r>>2];b=0;while(1){e=T(b,44)+C|0;v=f-M[e>>1]|0;p=v>>31;if(O[e+13|0]==(m|0)&(l|0)>((p^v)-p|0)){break e}b=b+1|0;if((u|0)!=(b|0)){continue}break}}b=xp(s,f,m<<24>>24,B,w,q+12|0);if(!b){b=N[q+12>>2];N[b>>2]=0;N[b+4>>2]=0;N[b+40>>2]=c;N[b+36>>2]=c;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;L[b+13|0]=O[c+1|0];f=M[c+2>>1];M[b>>1]=f;e=f>>31;e=(e^f)-e|0;g:{if(e+t>>>0<=8190){e=T(e,h)+32768>>>16|0;break g}e=T(e,z)+(T(e,y)+32768>>>16|0)|0}f=f>>31|1;f=(((g|0)<0?0-f|0:f)|0)<0?0-e|0:e;N[b+8>>2]=f;N[b+4>>2]=f;N[c+16>>2]=c;break d}i=b;break a}N[c+16>>2]=N[e+36>>2];N[N[e+40>>2]+16>>2]=c;N[e+40>>2]=c}c=c+44|0;if(o>>>0>c>>>0){continue}break}while(1){h:{if(O[j+1|0]!=4){break h}g=N[n+56>>2];if((g|0)<=0){break h}k=M[j+2>>1];f=N[r>>2];c=0;while(1){b=f+T(c,44)|0;e=k-M[b>>1]|0;h=e>>31;if((l|0)<=((e^h)-h|0)){c=c+1|0;if((g|0)!=(c|0)){continue}break h}break}N[j+16>>2]=N[b+36>>2];N[N[b+40>>2]+16>>2]=j;N[b+40>>2]=j}j=j+44|0;if(o>>>0>j>>>0){continue}break}}d=N[(T(d,1348)+a|0)- -64>>2];if(!d){break a}a=N[n+56>>2];if((a|0)<=0){break a}n=T(a,44)+d|0;b=d;while(1){a=N[b+36>>2];c=a;if(c){while(1){N[c+12>>2]=b;c=N[c+16>>2];if((a|0)!=(c|0)){continue}break}}b=b+44|0;if(n>>>0>b>>>0){continue}break}while(1){j=d+28|0;i=d+24|0;l=N[d+36>>2];c=l;k=0;e=0;while(1){o=L[c|0]&1;r=!o;h=N[c+24>>2];i:{j:{k:{l:{if(h){a=N[h+12>>2];g=(a|0)!=0&(a|0)!=(d|0);b=N[c+20>>2];if(b){break l}if(g){break k}break i}g=0;b=N[c+20>>2];if(!b){break i}}if(!(g|N[b+12>>2])){break i}f=0;a=i;if(!g){break j}}f=1;b=h;a=j}g=N[a>>2];m:{if(g){m=M[c+2>>1]-M[b+2>>1]|0;a=m>>31;p=M[d>>1]-M[g>>1]|0;h=p>>31;if((a^m)-a>>>0>=(h^p)-h>>>0){break m}}g=N[b+12>>2]}if(f){N[j>>2]=g;L[g+12|0]=O[g+12|0]|2;break i}N[i>>2]=g}k=k+o|0;e=e+r|0;c=N[c+16>>2];if((l|0)!=(c|0)){continue}break}L[d+12|0]=(k|0)!=0&e>>>0<=k>>>0;if(!(!N[d+28>>2]|!N[i>>2])){N[j>>2]=0}d=d+44|0;if(n>>>0>d>>>0){continue}break}i=0}La=q+16|0;return i}function Hg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;a:{c=T(b,1348)+a|0;f=N[c+56>>2];if((f|0)<=0){break a}g=N[a+24>>2];if((g|0)<=0){break a}a=N[a+28>>2];v=a+T(g,40)|0;k=b?8:4;w=k|16;h=N[c- -64>>2];c=h+T(f,44)|0;x=c-40|0;y=c-36|0;z=c-44|0;if((b|0)==1){l=f>>>0<9;m=(f|0)==2;n=(f|0)==3;o=(f|0)==4;p=(f|0)==5;q=(f|0)==6;r=(f|0)==7;s=b?20:16;while(1){j=P[a>>1];if(!(j&w)){b=N[a+8>>2];t=a+s|0;e=M[a+14>>1];d=(b+N[h+8>>2]|0)-N[h+4>>2]|0;b:{if((e|0)<=M[h>>1]){break b}d=(b+N[y>>2]|0)-N[x>>2]|0;if((e|0)>=M[z>>1]){break b}b=0;c=f;c:{d:{if(!l){while(1){g=b+c>>1;d=T(g,44)+h|0;i=M[d>>1];e:{if((i|0)>(e|0)){c=g;break e}d=N[d+8>>2];if((e|0)<=(i|0)){break b}b=g+1|0}if((b|0)<(c|0)){continue}break d}}b=1;f:{if((f|0)==1){break f}c=(e|0)<=M[h+44>>1];b=c?1:f;if(c|m){break f}c=(e|0)<=M[h+88>>1];b=c?2:f;if(c|n){break f}c=(e|0)<=M[h+132>>1];b=c?3:f;if(c|o){break f}c=(e|0)<=M[h+176>>1];b=c?4:f;if(c|p){break f}c=(e|0)<=M[h+220>>1];b=c?5:f;if(c|q){break f}c=(e|0)<=M[h+264>>1];b=c?6:f;if(c|r){break f}b=(e|0)<=M[h+308>>1]?7:f}c=T(b,44)+h|0;if(P[c>>1]==(e&65535)){break c}}c=T(b,44)+h|0;d=c-44|0;g=d;b=N[d+16>>2];g:{if(b){g=N[c-36>>2];c=M[d>>1];break g}i=g;g=N[c-36>>2];u=N[c+8>>2]-g|0;b=M[c>>1];c=M[d>>1];b=fb(u,b-c|0);N[i+16>>2]=b}e=e-c|0;d=e>>31;d=(e^d)-d|0;c=b>>31;c=(c^b)-c|0;h:{if(d+(c>>>8|0)>>>0<=8190){d=T(c,d)+32768>>>16|0;break h}d=d&65535;d=T(d,c>>>16|0)+(T(d,c&65535)+32768>>>16|0)|0}c=d;i=0-c|0;c=e>>31|1;d=((((b|0)<0?0-c|0:c)|0)<0?i:d)+g|0;break b}d=N[c+8>>2]}N[t>>2]=d;M[a>>1]=j|k}a=a+40|0;if(v>>>0>a>>>0){continue}break}break a}l=f>>>0>8;m=(f|0)==2;n=(f|0)==3;o=(f|0)==4;p=(f|0)==5;q=(f|0)==6;r=(f|0)==7;s=b?20:16;while(1){j=P[a>>1];if(!(j&w)){b=N[a+4>>2];t=a+s|0;e=M[a+12>>1];g=(b+N[h+8>>2]|0)-N[h+4>>2]|0;i:{if((e|0)<=M[h>>1]){break i}g=(b+N[y>>2]|0)-N[x>>2]|0;if((e|0)>=M[z>>1]){break i}b=0;c=f;j:{k:{if(!l){b=1;l:{if((f|0)==1){break l}c=(e|0)<=M[h+44>>1];b=c?1:f;if(c|m){break l}c=(e|0)<=M[h+88>>1];b=c?2:f;if(c|n){break l}c=(e|0)<=M[h+132>>1];b=c?3:f;if(c|o){break l}c=(e|0)<=M[h+176>>1];b=c?4:f;if(c|p){break l}c=(e|0)<=M[h+220>>1];b=c?5:f;if(c|q){break l}c=(e|0)<=M[h+264>>1];b=c?6:f;if(c|r){break l}b=(e|0)<=M[h+308>>1]?7:f}c=T(b,44)+h|0;if(P[c>>1]!=(e&65535)){break k}g=N[c+8>>2];break i}while(1){g=b+c>>1;d=T(g,44)+h|0;i=M[d>>1];m:{if((i|0)>(e|0)){c=g;break m}if((e|0)<=(i|0)){break j}b=g+1|0}if((b|0)<(c|0)){continue}break}}c=T(b,44)+h|0;d=c-44|0;g=d;b=N[d+16>>2];n:{if(b){g=N[c-36>>2];c=M[d>>1];break n}i=g;g=N[c-36>>2];u=N[c+8>>2]-g|0;b=M[c>>1];c=M[d>>1];b=fb(u,b-c|0);N[i+16>>2]=b}e=e-c|0;d=e>>31;d=(e^d)-d|0;c=b>>31;c=(c^b)-c|0;o:{if(d+(c>>>8|0)>>>0<=8190){d=T(c,d)+32768>>>16|0;break o}d=d&65535;d=T(d,c>>>16|0)+(T(d,c&65535)+32768>>>16|0)|0}c=d;i=0-c|0;c=e>>31|1;g=((((b|0)<0?0-c|0:c)|0)<0?i:d)+g|0;break i}g=N[d+8>>2]}N[t>>2]=g;M[a>>1]=j|k}a=a+40|0;if(v>>>0>a>>>0){continue}break}}}function pq(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{if(!(!f|!b)){j=db(f,16);if(j){break g}j=0;break e}i=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=i;N[a+16>>2]=N[d+16>>2];i=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=i;N[a+24>>2]=f;N[a+20>>2]=b?0:e;break f}b=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=b;N[a+16>>2]=N[d+16>>2];b=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=b;N[a+24>>2]=f;N[a+20>>2]=j;b=f<<4;h:{if(!b){d=0;b=0;break h}F(j,e,b);d=N[j+12>>2];b=N[j+8>>2]}e=f&3;i:{if(f>>>0<4){break i}f=f-4|0;k=(f>>>2|0)+1|0;i=k&3;if(f>>>0>=12){k=k&2147483644;f=0;while(1){d=(d|0)==-1?-1:2;b=(b|0)!=0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}if(!i){break i}f=0;while(1){d=(d|0)==-1?-1:2;b=(b|0)!=0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(e){f=0;while(1){d=(d|0)==-1?-1:2;b=(b|0)!=0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}N[j+12>>2]=d;N[j+8>>2]=b}N[a+36>>2]=0;N[a+40>>2]=0;Pj(c,1196643650,g,h,a+28|0);Pj(c,1196445523,g,h,a+32|0);d=N[147451];j:{if(d){break j}d=0;e=0;h=La-32|0;La=h;g=th(19154);k:{if(!g|!O[g|0]){break k}f=db(1,40);if(!f){break k}b=N[66421];e=N[66420];L[f+32|0]=e;L[f+33|0]=e>>>8;L[f+34|0]=e>>>16;L[f+35|0]=e>>>24;L[f+36|0]=b;L[f+37|0]=b>>>8;L[f+38|0]=b>>>16;L[f+39|0]=b>>>24;b=N[66419];e=N[66418];L[f+24|0]=e;L[f+25|0]=e>>>8;L[f+26|0]=e>>>16;L[f+27|0]=e>>>24;L[f+28|0]=b;L[f+29|0]=b>>>8;L[f+30|0]=b>>>16;L[f+31|0]=b>>>24;b=N[66417];e=N[66416];L[f+16|0]=e;L[f+17|0]=e>>>8;L[f+18|0]=e>>>16;L[f+19|0]=e>>>24;L[f+20|0]=b;L[f+21|0]=b>>>8;L[f+22|0]=b>>>16;L[f+23|0]=b>>>24;b=N[66415];e=N[66414];L[f+8|0]=e;L[f+9|0]=e>>>8;L[f+10|0]=e>>>16;L[f+11|0]=e>>>24;L[f+12|0]=b;L[f+13|0]=b>>>8;L[f+14|0]=b>>>16;L[f+15|0]=b>>>24;b=N[66413];e=N[66412];L[f|0]=e;L[f+1|0]=e>>>8;L[f+2|0]=e>>>16;L[f+3|0]=e>>>24;L[f+4|0]=b;L[f+5|0]=b>>>8;L[f+6|0]=b>>>16;L[f+7|0]=b>>>24;i=f+20|0;while(1){e=lc(g,44);if(!e){e=nb(g)+g|0}l:{if(d>>>0>1){break l}b=d;b=f+T(b,20)|0;k=e-g|0;l=d;m:{if((nb(b)|0)!=(k|0)){break m}l=d;if(bb(b,g,k)){break m}l=d+1|0}b=l;n:{if(d){break n}if((nb(i)|0)!=(k|0)){break n}if(bb(i,g,k)){break n}N[h+24>>2]=N[i+16>>2];d=N[i+12>>2];N[h+16>>2]=N[i+8>>2];N[h+20>>2]=d;d=N[i+4>>2];N[h+8>>2]=N[i>>2];N[h+12>>2]=d;d=f+T(b,20)|0;F(d+20|0,d,T(1-b|0,20));N[d+16>>2]=N[h+24>>2];g=N[h+20>>2];N[d+8>>2]=N[h+16>>2];N[d+12>>2]=g;g=N[h+12>>2];N[d>>2]=N[h+8>>2];N[d+4>>2]=g;d=b+1|0;break l}d=b}g=e+1|0;if(O[e|0]){continue}break}e=f}La=h+32|0;d=e;if(!d){d=265648}b=N[147451];if(!b){N[147451]=d;break j}if(!(!d|(d|0)==265648)){_a(d)}d=b}b=N[d+16>>2];o:{if((b|0)==290){if(N[c+40>>2]){break a}if(!N[c+36>>2]){break o}break b}if((b|0)!=291){break o}if(N[c+44>>2]){break c}if(N[c+36>>2]){break d}}b=N[d+36>>2];if((b|0)!=290){if((b|0)!=291){break e}if(N[c+44>>2]){break c}if(N[c+36>>2]){break d}break e}if(N[c+40>>2]){break a}if(N[c+36>>2]){break b}}_a(j);return 0}N[c+44>>2]=1}N[a+40>>2]=13816;N[a+36>>2]=291;return 1}N[c+40>>2]=1}N[a+40>>2]=8913;N[a+36>>2]=290;return 1}function Vb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=N[a>>2];if(!b){i=a-96|0;while(1){d=N[i>>2];if(!d){return 275552}g=db(1,12);if(!g){N[a>>2]=275552;return 275552}c=La-48|0;La=c;N[g>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+32>>2]=0;b=N[d+32>>2];if((b|0)==-1){b=sb(d+56|0);b=O[b+4|0]|O[b+5|0]<<8;b=(b<<8|b>>>8)&65535;N[d+32>>2]=b}L[c+44|0]=1;N[c+40>>2]=b;b=N[d+12>>2];a:{if(b){d=Qa[b|0](d,1196643650,N[d+16>>2])|0;if(d){break a}}d=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{b=N[d>>2];if(b){if((b|0)<=0){break j}N[d>>2]=b+1}L[c+28|0]=0;N[c+36>>2]=d;b=N[d+12>>2];N[c+8>>2]=b;f=N[d+16>>2];N[c+12>>2]=f+b;if((f|0)<0){break i}if(f>>>0>67108863){h=1073741819}else{e=f<<6;e=e>>>0<=16384?16384:e;h=(e>>>0>=1073741823?1073741823:e)-4|0}N[c+24>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;e=d;if(!b){break c}if(f>>>0<4){break g}N[c+16>>2]=h;if((O[b|0]|O[b+1|0]<<8)!=256){break h}if(Vg(b,c+4|0)){break h}if(O[c+28|0]|!N[c+32>>2]){break g}if(!zb(d)){break g}while(1){L[c+28|0]=1;e=N[c+36>>2];b=N[e+12>>2];N[c+8>>2]=b;f=N[e+16>>2];N[c+12>>2]=f+b;if((f|0)<0){break i}if(f>>>0>67108863){h=1073741823}else{h=f<<6;h=h>>>0<=16384?16384:h;h=h>>>0>=1073741823?1073741823:h}N[c+24>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;if(!b){break c}if(f>>>0<4){break g}N[c+16>>2]=h-4;if((O[b|0]|O[b+1|0]<<8)!=256){break h}if(Vg(b,c+4|0)){break h}if(O[c+28|0]|!N[c+32>>2]){break g}b=zb(d);N[c+8>>2]=b;N[c+12>>2]=b+N[d+16>>2];if(b){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[c+32>>2]){break f}N[c+32>>2]=0;if(Q[c+8>>2]>b>>>0){break g}e=N[c+12>>2];if(e>>>0>>0|e-b>>>0<4){break g}e=N[c+16>>2]-4|0;N[c+16>>2]=e;if((e|0)<=0){break g}if((O[b|0]|O[b+1|0]<<8)!=256){break f}b=Vg(b,c+4|0);if(N[c+32>>2]){break g}ab(N[c+36>>2]);N[c+36>>2]=0;if(b){break e}break d}ab(N[c+36>>2]);break d}ab(N[c+36>>2]);N[c+36>>2]=0}if(!N[d+4>>2]){break b}N[d+4>>2]=0;break b}ab(d);d=275552;break b}ab(e)}N[g>>2]=d;b=0;e=Q[d+16>>2]<4?275552:N[d+12>>2];if((O[e|0]|O[e+1|0]<<8)==256){b=O[e+8|0]|O[e+9|0]<<8;if(b){b=e+((b<<8|b>>>8)&65535)|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535}N[g+4>>2]=b;e=db(b,28);N[g+8>>2]=e;if(!e){N[g+4>>2]=0;ab(d);N[g>>2]=275552;b=N[g+4>>2]}if(b){d=0;while(1){b=275552;j=N[g+8>>2]+T(d,28)|0;e=N[g>>2];e=e?e:275552;f=Q[e+16>>2]<4?275552:N[e+12>>2];k:{if((O[f|0]|O[f+1|0]<<8)!=256){break k}e=275552;h=O[f+8|0]|O[f+9|0]<<8;if(h){e=f+((h<<8|h>>>8)&65535)|0}f=O[e|0]|O[e+1|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=d>>>0){break k}f=(d<<1)+e|0;f=O[f+2|0]|O[f+3|0]<<8;if(!f){break k}b=((f<<8|f>>>8)&65535)+e|0}sk(j,b);d=d+1|0;if(d>>>0>2]){continue}break}}La=c+48|0;if(!N[a>>2]){N[a>>2]=g;return g}if(N[g+4>>2]){b=0;while(1){d=N[g+8>>2]+T(b,28)|0;if(N[d+16>>2]){N[d+16>>2]=0}_a(N[d+20>>2]);N[d+16>>2]=0;N[d+20>>2]=0;N[d+12>>2]=0;b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[g+8>>2]);ab(N[g>>2]);_a(g);b=N[a>>2];if(!b){continue}break}}return b}function Lq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=La-640|0;La=j;h=N[b+80>>2];a:{b:{c:{a=c;if(d>>>0<=a>>>0){break c}while(1){e=P[(T(a,20)+h|0)+16>>1];if(1<>>0>=56320:0){break c}a=a+1|0;if((d|0)!=(a|0)){continue}break}break b}if((a|0)==(d|0)){break b}i=T(a,20)+h|0;e=P[i+16>>1];d:{if(e>>>0>56575&(1<>>0>=d>>>0){e=a;break d}e=a;e:{while(1){f=T(e,20)+h|0;g=P[f+16>>1];if((g&65280)!=56320|!(1<>2];switch(f-2250|0){case 0:case 1:case 3:case 4:case 5:case 9:case 41:break f;case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break e;default:break g}}g=f-1756|0;if(1<>>0<=12:0){break f}f=f-1620|0;if(f>>>0>4|!(1<>>0>=33){break a}if(e-c>>>0>=2){Ib(b,c,e)}f=i;i=T(g,20);F(j,f,i);f=(c-a|0)+e|0;k=T(c,20)+h|0;F(T(f,20)+h|0,k,T(a-c|0,20));F(k,j,i);if(c>>>0>=f>>>0){break d}if(g&1){g=T(c,20)+h|0;i=P[g+16>>1];if(1<>1]=i&255|6400}c=c+1|0}if((a+1|0)!=(e|0)){while(1){a=T(c,20)+h|0;g=P[a+16>>1];if(1<>1]=g&255|6400}g=P[a+36>>1];if(1<>1]=g&255|6400}c=c+2|0;if((f|0)!=(c|0)){continue}break}}c=f}h:{if(d>>>0<=e>>>0){break h}while(1){a=P[(T(e,20)+h|0)+16>>1];if(1<>>0>=58880:0){break h}e=e+1|0;if((e|0)!=(d|0)){continue}break}break b}if((d|0)==(e|0)){break b}g=T(e,20)+h|0;a=P[g+16>>1];if(a>>>0>59135&(1<>>0<=e>>>0){break b}a=e;i:{while(1){f=T(a,20)+h|0;i=P[f+16>>1];if((i&65280)!=58880|!(1<>2];switch(f-2250|0){case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break i;case 0:case 1:case 3:case 4:case 5:case 9:case 41:break j;default:break k}}i=f-1756|0;if(1<>>0<=12:0){break j}f=f-1620|0;if(f>>>0>4|!(1<>>0>32){break a}if(a-c>>>0>=2){Ib(b,c,a)}f=T(d,20);F(j,g,f);b=(c-e|0)+a|0;g=T(c,20)+h|0;F(T(b,20)+h|0,g,T(e-c|0,20));F(g,j,f);if(b>>>0<=c>>>0){break b}if(d&1){d=T(c,20)+h|0;f=P[d+16>>1];if(1<>1]=f&255|6656}c=c+1|0}if((e+1|0)==(a|0)){break b}while(1){a=T(c,20)+h|0;d=P[a+16>>1];if(1<>1]=d&255|6656}d=P[a+36>>1];if(1<>1]=d&255|6656}c=c+2|0;if((b|0)!=(c|0)){continue}break}}La=j+640|0;return}ba(22913,17885,706,17761);B()}function yu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=N[b>>2];if(!g){return 35}f=6;a:{if(Q[g+16>>2]<=c>>>0){break a}h=N[g+104>>2];k=N[g+292>>2];b=k+(c<<4)|0;n=M[b+8>>1];i=M[b+6>>1];l=n+i|0;N[a+76>>2]=l;j=M[b>>1];b=M[b+2>>1];L[a+94|0]=1;M[a+92>>1]=1;e=b-j|0;N[a+80>>2]=e;f=3;b:{c:{switch((1<<(N[g+312>>2]&3))-1|0){case 0:b=e+7>>>3|0;break b;case 1:b=e+15>>>3&536870910;break b;case 3:b=e+31>>>3&536870908;break b;case 7:break c;default:break a}}b=e+63>>>3&536870904}N[a+104>>2]=i;N[a+100>>2]=j;N[a+72>>2]=1651078259;N[a+84>>2]=b;o=M[((c<<4)+k|0)+4>>1];m=i<<6;N[a+36>>2]=m;p=j<<6;N[a+32>>2]=p;j=l<<6;N[a+28>>2]=j;N[a+24>>2]=e<<6;N[a+40>>2]=o<<6;f=0;i=(i|0)<0?(j|0)>(m|0)?j:m:n<<6;e=N[g+208>>2]+N[g+204>>2]|0;d:{if(e){e=e<<6;break d}e=(T(i,12)|0)/10|0}N[a+52>>2]=e;N[a+48>>2]=(e-i|0)/2;N[a+44>>2]=p-(o<<5);if(d&4194304){break a}d=T(b,l);f=N[N[a+4>>2]+100>>2];b=N[a+156>>2];e=N[b+4>>2];e:{if(e&1){b=N[a+88>>2];if(b){Qa[N[f+8>>2]](f,b)}N[a+88>>2]=0;break e}N[b+4>>2]=e|1}b=0;f:{g:{h:{if((d|0)<=0){f=6;if(d){break h}break f}b=Qa[N[f+4>>2]](f,d)|0;if(b){break g}f=64}N[a+88>>2]=0;return f|0}C(b,0,d)}N[a+88>>2]=b;c=N[((c<<4)+k|0)+12>>2];e=N[h+20>>2];i:{if(e){f=85;if(Qa[e|0](h,c,0,0)|0){break a}b=N[a+88>>2];break i}f=85;if(c>>>0>Q[h+4>>2]){break a}}N[h+8>>2]=c;f=Zb(h,b,d);if(f){break a}c=N[g+312>>2];if(!(!d|c&8)){h=d-1|0;c=N[a+88>>2];b=d&3;if(b){f=0;while(1){e=O[c|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;L[c|0]=e>>>1&85|(e&85)<<1;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=d&-4}else{f=d}if(h>>>0>=3){while(1){b=O[c|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c|0]=b>>>1&85|(b&85)<<1;b=O[c+1|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+1|0]=b>>>1&85|(b&85)<<1;b=O[c+2|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+2|0]=b>>>1&85|(b&85)<<1;b=O[c+3|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+3|0]=b>>>1&85|(b&85)<<1;c=c+4|0;f=f-4|0;if(f){continue}break}}c=N[g+312>>2]}f=0;if(!((c>>>2^c>>>3)&1)){break a}j:{switch((1<<(c>>>4&3))-2|0){case 0:if(d>>>0<2){break a}a=N[a+88>>2];g=d-2|0;c=(g>>>1|0)+1&3;if(c){h=c<<1;b=0;while(1){e=O[a+1|0];L[a+1|0]=O[a|0];L[a|0]=e;a=a+2|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}d=d-h|0}if(g>>>0<6){break a}while(1){b=O[a+1|0];L[a+1|0]=O[a|0];L[a|0]=b;b=O[a+2|0];L[a+2|0]=O[a+3|0];L[a+3|0]=b;b=O[a+4|0];L[a+4|0]=O[a+5|0];L[a+5|0]=b;b=O[a+6|0];L[a+6|0]=O[a+7|0];L[a+7|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>1){continue}break};break a;case 2:break j;default:break a}}if(d>>>0<4){break a}a=N[a+88>>2];b=d-4|0;if(!(b&4)){c=O[a+3|0];L[a+3|0]=O[a|0];L[a|0]=c;c=O[a+1|0];L[a+1|0]=O[a+2|0];L[a+2|0]=c;d=b;a=a+4|0}if(b>>>0<4){break a}while(1){b=O[a+3|0];L[a+3|0]=O[a|0];L[a|0]=b;b=O[a+1|0];L[a+1|0]=O[a+2|0];L[a+2|0]=b;b=O[a+4|0];L[a+4|0]=O[a+7|0];L[a+7|0]=b;b=O[a+5|0];L[a+5|0]=O[a+6|0];L[a+6|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>3){continue}break}}return f|0}function PE(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=La-144|0;La=f;N[a+672>>2]=0;N[a+676>>2]=0;g=a+668|0;j=N[a+384>>2];i=N[a+660>>2];b=b*1e3;a:{if(V(b)<2147483648){e=~~b;break a}e=-2147483648}j=No(j,i,e,e>>31,g);b:{if(!j|!(N[g>>2]|c)){break b}if(O[a+388|0]){b=+ma();c:{if(V(b)<2147483648){c=~~b;break c}c=-2147483648}N[a+676>>2]=c}L[a+368|0]=0;L[a+328|0]=0;L[a+288|0]=0;L[a+248|0]=0;L[a+208|0]=0;L[a+168|0]=0;L[a+128|0]=0;L[a+88|0]=0;L[a+48|0]=0;c=N[a+392>>2];d=N[a+396>>2];C(f,255,144);n=(d|0)/3|0;o=(c|0)/3|0;l=(d<<1)/3|0;m=(c<<1)/3|0;d=j;while(1){i=N[d>>2];d:{if(!i){break d}k=N[d+4>>2];if(!k){break d}e=N[d+24>>2];c=e+(k>>1)|0;g=N[d+20>>2];c=(((c|0)>(l|0)?6:(c|0)>(n|0)?3:0)+((m|0)<(g+(i>>1)|0)?2:(c|0)>(o|0))<<4)+f|0;h=N[c>>2];N[c>>2]=(h|0)<0?g:(g|0)>(h|0)?h:g;h=N[c+8>>2];N[c+8>>2]=(h|0)<0?e:(e|0)>(h|0)?h:e;h=g+i|0;g=h-1|0;i=g;g=N[c+4>>2];N[c+4>>2]=(g|0)<0?i:(g|0)<(h|0)?i:g;i=c;e=e+k|0;g=e-1|0;c=N[c+12>>2];N[i+12>>2]=(c|0)<0?g:(c|0)<(e|0)?g:c}d=N[d+28>>2];if(d){continue}break}g=0;e=0;while(1){h=(g<<4)+f|0;e:{if(N[h>>2]==-1){c=e;break e}k=h|8;n=h|12;o=h|4;d=g;c=e;while(1){d=d+1|0;e=(d<<4)+f|0;i=N[e>>2];f:{if((i|0)==-1){break f}l=N[o>>2];if((l|0)<(i|0)){break f}m=N[h>>2];p=N[e+4>>2];if((m|0)>(p|0)){break f}q=N[e+8>>2];r=N[n>>2];if((q|0)>(r|0)){break f}s=N[e+12>>2];t=N[k>>2];if((s|0)<(t|0)){break f}N[h>>2]=(i|0)>(m|0)?m:i;N[k>>2]=(q|0)>(t|0)?t:q;N[o>>2]=(l|0)>(p|0)?l:p;N[n>>2]=(r|0)>(s|0)?r:s;N[e+8>>2]=-1;N[e+12>>2]=-1;N[e>>2]=-1;N[e+4>>2]=-1;c=1}if((d|0)!=8){continue}break}}e=g+1|0;d=(e|0)!=8;g=d?e:0;e=c&d;if(c&1|d){continue}break}g:{if(N[f>>2]==-1){d=0;break g}d=kd(a,f,j);if(!d){d=0;break b}N[a+672>>2]=N[a+672>>2]+1}if(N[f+16>>2]!=-1){c=kd(a,f+16|0,j);if(!c){break b}h:{if(!d){d=c;break h}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+32>>2]!=-1){c=kd(a,f+32|0,j);if(!c){break b}i:{if(!d){d=c;break i}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+48>>2]!=-1){c=kd(a,f+48|0,j);if(!c){break b}j:{if(!d){d=c;break j}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+64>>2]!=-1){c=kd(a,f- -64|0,j);if(!c){break b}k:{if(!d){d=c;break k}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+80>>2]!=-1){c=kd(a,f+80|0,j);if(!c){break b}l:{if(!d){d=c;break l}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+96>>2]!=-1){c=kd(a,f+96|0,j);if(!c){break b}m:{if(!d){d=c;break m}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+112>>2]!=-1){c=kd(a,f+112|0,j);if(!c){break b}n:{if(!d){d=c;break n}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+128>>2]==-1){break b}c=kd(a,f+128|0,j);if(!c){break b}o:{if(!d){d=c;break o}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}La=f+144|0;return d|0}function Ei(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;N[e>>2]=0;N[e+4>>2]=0;N[g>>2]=0;N[g+4>>2]=0;s=T(b,40)+a|0;t=s+T(c,40)|0;if((t|0)!=(a|0)){q=i>>31;while(1){c=N[a+20>>2];j=0;a:{if(N[a+24>>2]){break a}j=0;if(!(c&4)){break a}j=N[a+12>>2]>=0?-1:1}r=a>>>0>=s>>>0;b:{c:{d:{e:{if(c&32){if(N[a+36>>2]<=(i|0)){break e}break d}o=N[a>>2];p=N[a+4>>2];b=N[(c&2?28:24)+a>>2];k=b;l=b>>31;b=N[a+8>>2];k=UE(k,l,b,b>>31);l=Pa;b=N[a+12>>2];n=b>>31;m=UE(b,n,i,q);k=m+k|0;l=Pa+l|0;l=k>>>0>>0?l+1|0:l;m=o-k|0;k=p-((k>>>0>o>>>0)+l|0)|0;if(((!!b&(n|0)>=0|(n|0)>0?0-(k+((m|0)!=0)|0)|0:k)|0)<0){break d}}b=r<<2;c=b+h|0;N[c>>2]=j+N[c>>2];if(N[a+32>>2]>=(i|0)){break b}c=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=c;c=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=c;c=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=c;c=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=c;c=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=c;c=N[d+36>>2];N[d+36>>2]=(c|0)<(i|0)?c:i;b=b+e|0;N[b>>2]=N[b>>2]+1;break c}f:{g:{if(c&16){if(N[a+32>>2]>=(i|0)){break g}c=c&2;break f}l=N[a>>2];o=N[a+4>>2];c=c&2;b=N[a+(c?24:28)>>2];k=b;m=b>>31;b=N[a+8>>2];k=UE(k,m,b,b>>31);n=Pa;b=N[a+12>>2];p=b>>31;m=UE(b,p,i,q);b=m+k|0;k=Pa+n|0;n=l-b|0;b=o-((b>>>0>l>>>0)+(b>>>0>>0?k+1|0:k)|0)|0;if((((p|0)<0?0-(b+((n|0)!=0)|0)|0:b)|0)<0){break f}}b=N[a+36>>2];c=N[a+32>>2];j=f+32|0;N[j>>2]=c;N[j+4>>2]=b;b=N[a+12>>2];N[f+8>>2]=N[a+8>>2];N[f+12>>2]=b;j=N[a+4>>2];k=j;b=N[a>>2];N[f>>2]=b;N[f+4>>2]=j;j=N[a+28>>2];N[f+24>>2]=N[a+24>>2];N[f+28>>2]=j;j=N[a+20>>2];N[f+16>>2]=N[a+16>>2];N[f+20>>2]=j;N[f+36>>2]=N[f+36>>2]-i;j=c-i|0;c=(j|0)>0;N[f+32>>2]=c?j:0;j=N[f+12>>2];j=UE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=k-(Pa+(b>>>0>>0)|0);h:{if(c){break h}b=N[f+20>>2];if((b&18)!=18){break h}N[f+20>>2]=b&-5}b=(r<<2)+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0;break b}if(c){b=(r<<2)+h|0;N[b>>2]=j+N[b>>2]}b=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=b;c=a+32|0;b=N[c>>2];c=N[c+4>>2];N[d+32>>2]=b;N[d+36>>2]=c;c=a+24|0;j=N[c+4>>2];N[d+24>>2]=N[c>>2];N[d+28>>2]=j;c=a+16|0;j=N[c+4>>2];N[d+16>>2]=N[c>>2];N[d+20>>2]=j;c=a+8|0;j=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=j;if(!((b|0)<(i|0)&N[d+36>>2]>(i|0))){ba(8156,18126,378,8809);B()}j=N[a+8>>2];k=N[a+12>>2];l=N[a+16>>2];o=N[a+20>>2];n=N[a+24>>2];p=N[a+28>>2];b=N[a>>2];c=N[a+4>>2];u=N[a+36>>2];m=f+32|0;N[m>>2]=N[a+32>>2];N[m+4>>2]=u;N[f+24>>2]=n;N[f+28>>2]=p;N[f+16>>2]=l;N[f+20>>2]=o;N[f+8>>2]=j;N[f+12>>2]=k;N[f>>2]=b;N[f+4>>2]=c;j=N[d+12>>2];N[f+32>>2]=0;N[f+36>>2]=N[f+36>>2]-i;j=UE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=c-(Pa+(b>>>0>>0)|0);N[d+36>>2]=i;N[d+20>>2]=N[d+20>>2]&-5;c=N[f+20>>2]&-9;N[f+20>>2]=c;b=N[d+20>>2];if(b&2){N[d+20>>2]=c;N[f+20>>2]=b;b=N[d+20>>2]}N[d+20>>2]=b|32;N[f+20>>2]=N[f+20>>2]|16;b=r<<2;c=b+e|0;N[c>>2]=N[c>>2]+1;b=b+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((t|0)!=(a|0)){continue}break}}}function Cn(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=La-16|0;La=i;a:{b:{c:{d:{e:{k=N[b+8>>2];if(Q[b+4>>2]<=k+3>>>0){break e}n=N[a>>2];e=N[b+20>>2];if(e){if((Qa[e|0](b,k,i+12|0,4)|0)!=4){break e}g=N[b+8>>2];e=i+12|0;break d}e=N[b>>2];if(e){e=e+k|0;g=k;break d}N[b+8>>2]=k+4;e=2;break c}e=85;break a}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);j=g+4|0;N[b+8>>2]=j;e=2;if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))!=1954115633){break c}f=N[b+4>>2];if(f>>>0<=g+5>>>0){break b}f:{g:{h:{e=N[b+20>>2];i:{if(e){if((Qa[e|0](b,j,i+12|0,2)|0)!=2){break b}g=N[b+20>>2];j=N[b+8>>2];e=i+12|0;break i}e=N[b>>2];if(!e){break h}g=0;e=e+j|0}f=O[e+1|0];e=O[e|0];N[b+8>>2]=j+2;h=j+8|0;o=f|e<<8;if(!g){f=N[b+4>>2];break g}e=85;if(!(Qa[g|0](b,h,0,0)|0)){break f}break a}N[b+8>>2]=g+6;h=g+12|0}e=85;if(f>>>0>>0){break a}}N[b+8>>2]=h;e=142;if(!o){break a}l=(c|0)>0?c&65535:c;m=-1;j:{k:{l:{while(1){g=N[b+4>>2];if(g>>>0<=h+3>>>0){break l}m:{n:{o:{p:{c=N[b+20>>2];q:{if(c){if((Qa[c|0](b,h,i+12|0,4)|0)!=4){break l}g=N[b+20>>2];h=N[b+8>>2];c=i+12|0;break q}c=N[b>>2];if(!c){break p}g=0;c=c+h|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[b+8>>2]=h+4;j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=h+8|0;if(!g){g=N[b+4>>2];break o}if(!(Qa[g|0](b,c,0,0)|0)){break n}e=85;break a}N[b+8>>2]=h+4;c=h+8|0;j=0}if(c>>>0<=g>>>0){break m}e=85;break a}g=N[b+4>>2]}N[b+8>>2]=c;r:{s:{t:{if(h+11>>>0>=g>>>0){break t}f=N[b+20>>2];u:{if(f){if((Qa[f|0](b,c,i+12|0,4)|0)!=4){break t}g=N[b+4>>2];c=N[b+8>>2];f=i+12|0;break u}f=N[b>>2];if(!f){break s}f=c+f|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break r}e=85;break a}f=0}h=c+4|0;N[b+8>>2]=h;v:{w:{x:{if(c+7>>>0>=g>>>0){break x}c=N[b+20>>2];y:{if(c){if((Qa[c|0](b,h,i+12|0,4)|0)!=4){break x}h=N[b+8>>2];c=i+12|0;break y}c=N[b>>2];if(!c){break w}c=c+h|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break v}e=85;break a}c=0}h=h+4|0;N[b+8>>2]=h;z:{A:{if((j|0)!=1415139377){if((j|0)!=1128875040){break A}c=c-22|0;f=f+22|0;p=1;if((l|0)<0){break z}m=m+1|0;break A}c=c-24|0;f=f+24|0;p=0;if((l|0)<0){break z}m=m+1|0}if((l|0)==(m|0)&(l|0)>=0){break z}q=q+1|0;if((q|0)==(o|0)){break a}continue}break}e=8;h=N[b+4>>2];if(h>>>0>>0|h-f>>>0>>0){break a}g=f+k|0;f=N[b+20>>2];B:{if(f){e=85;if(!(Qa[f|0](b,g,0,0)|0)){break B}break a}e=85;if(g>>>0>h>>>0){break a}}N[b+8>>2]=g;if((c|0)>0){g=Qa[N[n+4>>2]](n,c)|0;if(!g){e=64;break a}e=Zb(b,g,c);if(e){break k}e=_h(a,g,c,l>>31&l,p?16760:21728,d);break j}e=6;if(c){break a}e=Zb(b,0,0);if(e){break j}e=6;break j}e=85;break a}Qa[N[n+8>>2]](n,g)}if((e&255)!=2){break a}}a=e;c=N[b+20>>2];C:{if(c){e=85;if(!(Qa[c|0](b,k,0,0)|0)){break C}break a}e=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=k;e=a;break a}e=85}La=i+16|0;return e}function Fi(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;N[e>>2]=0;N[e+4>>2]=0;N[g>>2]=0;N[g+4>>2]=0;s=T(b,40)+a|0;t=s+T(c,40)|0;if((t|0)!=(a|0)){q=i>>31;while(1){c=N[a+20>>2];j=0;a:{if(N[a+32>>2]){break a}j=0;if(!(c&16)){break a}j=N[a+8>>2]>=0?-1:1}r=a>>>0>=s>>>0;b:{c:{d:{e:{if(c&8){if(N[a+28>>2]<=(i|0)){break e}break d}o=N[a>>2];p=N[a+4>>2];b=N[(c&2?36:32)+a>>2];k=b;l=b>>31;b=N[a+12>>2];k=UE(k,l,b,b>>31);l=Pa;b=N[a+8>>2];n=b>>31;m=UE(b,n,i,q);k=m+k|0;l=Pa+l|0;l=k>>>0>>0?l+1|0:l;m=o-k|0;k=p-((k>>>0>o>>>0)+l|0)|0;if(((!!b&(n|0)>=0|(n|0)>0?0-(k+((m|0)!=0)|0)|0:k)|0)<0){break d}}b=r<<2;c=b+h|0;N[c>>2]=j+N[c>>2];if(N[a+24>>2]>=(i|0)){break b}c=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=c;c=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=c;c=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=c;c=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=c;c=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=c;c=N[d+28>>2];N[d+28>>2]=(c|0)<(i|0)?c:i;b=b+e|0;N[b>>2]=N[b>>2]+1;break c}f:{g:{if(c&4){if(N[a+24>>2]>=(i|0)){break g}c=c&2;break f}l=N[a>>2];o=N[a+4>>2];c=c&2;b=N[a+(c?32:36)>>2];k=b;m=b>>31;b=N[a+12>>2];k=UE(k,m,b,b>>31);n=Pa;b=N[a+8>>2];p=b>>31;m=UE(b,p,i,q);b=m+k|0;k=Pa+n|0;n=l-b|0;b=o-((b>>>0>l>>>0)+(b>>>0>>0?k+1|0:k)|0)|0;if((((p|0)<0?0-(b+((n|0)!=0)|0)|0:b)|0)<0){break f}}b=N[a+28>>2];j=N[a+24>>2];c=f+24|0;N[c>>2]=j;N[c+4>>2]=b;c=N[a+4>>2];k=c;b=N[a>>2];N[f>>2]=b;N[f+4>>2]=c;c=N[a+36>>2];N[f+32>>2]=N[a+32>>2];N[f+36>>2]=c;c=N[a+20>>2];N[f+16>>2]=N[a+16>>2];N[f+20>>2]=c;l=N[a+12>>2];c=N[a+8>>2];N[f+8>>2]=c;N[f+12>>2]=l;N[f+28>>2]=N[f+28>>2]-i;c=UE(c,c>>31,i,q);N[f>>2]=b-c;N[f+4>>2]=k-(Pa+(b>>>0>>0)|0);c=j-i|0;b=(c|0)>0;N[f+24>>2]=b?c:0;h:{if(b){break h}b=N[f+20>>2];if((b&6)!=6){break h}N[f+20>>2]=b&-17}b=(r<<2)+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0;break b}if(c){b=(r<<2)+h|0;N[b>>2]=j+N[b>>2]}b=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=b;b=a+32|0;c=N[b+4>>2];N[d+32>>2]=N[b>>2];N[d+36>>2]=c;c=a+24|0;b=N[c>>2];c=N[c+4>>2];N[d+24>>2]=b;N[d+28>>2]=c;c=a+16|0;j=N[c+4>>2];N[d+16>>2]=N[c>>2];N[d+20>>2]=j;c=a+8|0;j=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=j;if(!((b|0)<(i|0)&N[d+28>>2]>(i|0))){ba(8191,18126,357,7823);B()}j=N[a+8>>2];k=N[a+12>>2];l=N[a+16>>2];o=N[a+20>>2];n=N[a+24>>2];p=N[a+28>>2];b=N[a>>2];c=N[a+4>>2];m=N[a+36>>2];N[f+32>>2]=N[a+32>>2];N[f+36>>2]=m;m=f+24|0;N[m>>2]=n;N[m+4>>2]=p;N[f+16>>2]=l;N[f+20>>2]=o;N[f+8>>2]=j;N[f+12>>2]=k;N[f>>2]=b;N[f+4>>2]=c;j=N[d+8>>2];N[f+24>>2]=0;N[f+28>>2]=N[f+28>>2]-i;j=UE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=c-(Pa+(b>>>0>>0)|0);N[d+28>>2]=i;N[d+20>>2]=N[d+20>>2]&-17;c=N[f+20>>2]&-33;N[f+20>>2]=c;b=N[d+20>>2];if(b&2){N[d+20>>2]=c;N[f+20>>2]=b;b=N[d+20>>2]}N[d+20>>2]=b|8;N[f+20>>2]=N[f+20>>2]|4;b=r<<2;c=b+e|0;N[c>>2]=N[c>>2]+1;b=b+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((t|0)!=(a|0)){continue}break}}}function Hn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+b|0;c=N[a+4>>2];a:{b:{if(c&1){break b}if(!(c&3)){break a}c=N[a>>2];b=c+b|0;c:{d:{e:{a=a-c|0;if((a|0)!=N[147322]){if(c>>>0<=255){d=N[a+8>>2];e=N[a+12>>2];if((d|0)!=(e|0)){break e}i=589268,j=N[147317]&ZE(-2,c>>>3|0),N[i>>2]=j;break b}g=N[a+24>>2];c=N[a+12>>2];if((c|0)!=(a|0)){d=N[a+8>>2];N[d+12>>2]=c;N[c+8>>2]=d;break c}e=a+20|0;d=N[e>>2];if(!d){d=N[a+16>>2];if(!d){break d}e=a+16|0}while(1){h=e;c=d;e=c+20|0;d=N[e>>2];if(d){continue}e=c+16|0;d=N[c+16>>2];if(d){continue}break}N[h>>2]=0;break c}c=N[f+4>>2];if((c&3)!=3){break b}N[147319]=b;N[f+4>>2]=c&-2;N[a+4>>2]=b|1;N[f>>2]=b;return}N[d+12>>2]=e;N[e+8>>2]=d;break b}c=0}if(!g){break b}d=N[a+28>>2];e=(d<<2)+589572|0;f:{if(N[e>>2]==(a|0)){N[e>>2]=c;if(c){break f}i=589272,j=N[147318]&ZE(-2,d),N[i>>2]=j;break b}N[g+(N[g+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}N[c+24>>2]=g;d=N[a+16>>2];if(d){N[c+16>>2]=d;N[d+24>>2]=c}d=N[a+20>>2];if(!d){break b}N[c+20>>2]=d;N[d+24>>2]=c}g:{h:{i:{j:{c=N[f+4>>2];if(!(c&2)){if(N[147323]==(f|0)){N[147323]=a;b=N[147320]+b|0;N[147320]=b;N[a+4>>2]=b|1;if(N[147322]!=(a|0)){break a}N[147319]=0;N[147322]=0;return}if(N[147322]==(f|0)){N[147322]=a;b=N[147319]+b|0;N[147319]=b;N[a+4>>2]=b|1;N[a+b>>2]=b;return}b=(c&-8)+b|0;if(c>>>0<=255){e=c>>>3|0;c=N[f+12>>2];d=N[f+8>>2];if((c|0)==(d|0)){i=589268,j=N[147317]&ZE(-2,e),N[i>>2]=j;break h}N[d+12>>2]=c;N[c+8>>2]=d;break h}g=N[f+24>>2];c=N[f+12>>2];if((f|0)!=(c|0)){d=N[f+8>>2];N[d+12>>2]=c;N[c+8>>2]=d;break i}e=f+20|0;d=N[e>>2];if(!d){d=N[f+16>>2];if(!d){break j}e=f+16|0}while(1){h=e;c=d;e=c+20|0;d=N[e>>2];if(d){continue}e=c+16|0;d=N[c+16>>2];if(d){continue}break}N[h>>2]=0;break i}N[f+4>>2]=c&-2;N[a+4>>2]=b|1;N[a+b>>2]=b;break g}c=0}if(!g){break h}d=N[f+28>>2];e=(d<<2)+589572|0;k:{if(N[e>>2]==(f|0)){N[e>>2]=c;if(c){break k}i=589272,j=N[147318]&ZE(-2,d),N[i>>2]=j;break h}N[g+(N[g+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}N[c+24>>2]=g;d=N[f+16>>2];if(d){N[c+16>>2]=d;N[d+24>>2]=c}d=N[f+20>>2];if(!d){break h}N[c+20>>2]=d;N[d+24>>2]=c}N[a+4>>2]=b|1;N[a+b>>2]=b;if(N[147322]!=(a|0)){break g}N[147319]=b;return}if(b>>>0<=255){c=(b&-8)+589308|0;d=N[147317];b=1<<(b>>>3);l:{if(!(d&b)){N[147317]=b|d;b=c;break l}b=N[c+8>>2]}N[c+8>>2]=a;N[b+12>>2]=a;N[a+12>>2]=c;N[a+8>>2]=b;return}d=31;if(b>>>0<=16777215){c=W(b>>>8|0);d=((b>>>38-c&1)-(c<<1)|0)+62|0}N[a+28>>2]=d;N[a+16>>2]=0;N[a+20>>2]=0;c=(d<<2)+589572|0;m:{e=N[147318];h=1<>2]=a;N[a+24>>2]=c;break n}d=b<<((d|0)!=31?25-(d>>>1|0)|0:0);c=N[c>>2];while(1){e=c;if((N[c+4>>2]&-8)==(b|0)){break m}c=d>>>29|0;d=d<<1;h=e+(c&4)|0;c=N[h+16>>2];if(c){continue}break}N[h+16>>2]=a;N[a+24>>2]=e}N[a+12>>2]=a;N[a+8>>2]=a;return}b=N[e+8>>2];N[b+12>>2]=a;N[e+8>>2]=a;N[a+24>>2]=0;N[a+12>>2]=e;N[a+8>>2]=b}}function rd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=La-16|0;La=i;a:{if(!O[a|0]|(b|0)==-1|b>>>0>c>>>0){break a}N[a+4>>2]=-1;g=b>>>9|0;d=(b&-512)!=(b|0);l=g+d|0;k=c>>>9|0;o=c|511;m=k-((o|0)!=(c|0))|0;b:{if(!d&(m|0)>=(l|0)){break b}f=N[a+8>>2];d=N[a+16>>2];h=N[a+20>>2];if(!(f>>>0>>0&(g|0)==N[h+(f<<3)>>2])){if((d|0)<=0){break b}d=d-1|0;while(1){c:{f=d+e>>>1|0;j=N[(f<<3)+h>>2];d:{if((g|0)<(j|0)){d=f-1|0;break d}if((g|0)==(j|0)){break c}e=f+1|0}if((d|0)>=(e|0)){continue}break b}break}N[a+8>>2]=f}e=N[a+32>>2];if(!e){break b}h=e+(N[((f<<3)+h|0)+4>>2]<<6)|0;j=b>>>6&7;e=h+(j<<3)|0;e:{if((g|0)==(k|0)){f=c>>>6&7;if((f|0)==(j|0)){f=c&63;d=f&31;if((f&63)>>>0>=32){f=2<>>32-d;d=2<>>0>=32){b=1<>>32-d;d=f}f=n+d|0;b=b+h|0;b=d>>>0>f>>>0?b+1|0:b;d=e;break e}j=N[e+4>>2];b=b&63;d=b&31;n=N[e>>2];if((b&63)>>>0>=32){b=-1<>>32-d;d=-1<>2]=n&(d^-1);N[e+4>>2]=(b^-1)&j;d=h+(f<<3)|0;b=e+8|0;if((d|0)!=(b|0)){C(b,0,d-b|0)}b=c&63;e=b&31;if((b&63)>>>0>=32){b=-2<>>32-e|-1<>>0>=32){b=-1<>>32-d;d=-1<>2];N[e>>2]=f&N[e>>2];N[e+4>>2]=b;f=0;b=0;d=h+56|0;e=e+8|0;if((d|0)==(e|0)){break e}C(e,0,d-e|0)}b=b&N[d+4>>2];N[d>>2]=f&N[d>>2];N[d+4>>2]=b}f:{if((g|0)==(k|0)|(c|0)==(o|0)){break f}f=N[a+8>>2];e=N[a+16>>2];b=N[a+20>>2];if(!(f>>>0>>0&(k|0)==N[b+(f<<3)>>2])){if((e|0)<=0){break f}d=e-1|0;e=0;while(1){g:{f=d+e>>>1|0;g=N[b+(f<<3)>>2];h:{if((g|0)>(k|0)){d=f-1|0;break h}if((g|0)==(k|0)){break g}e=f+1|0}if((d|0)>=(e|0)){continue}break f}break}N[a+8>>2]=f}e=N[a+32>>2];if(!e){break f}e=e+(N[(b+(f<<3)|0)+4>>2]<<6)|0;d=c>>>6&7;i:{if(!d){break i}b=e;N[b>>2]=0;N[b+4>>2]=0;e=b+(d<<3)|0;b=b+8|0;if((e|0)==(b|0)){break i}C(b,0,(d<<3)-8|0)}d=N[e+4>>2];c=c&63;b=c&31;if((c&63)>>>0>=32){c=-2<>>32-b|-1<>2]=b&N[e>>2];N[e+4>>2]=c&d}if((l|0)>(m|0)){break a}b=0;N[i+12>>2]=0;N[i+4>>2]=0;e=N[a+28>>2];c=(e|0)>0;e=c?e:0;j:{k:{if(c){while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0>1073741823){break k}c=kb(b<<2);if(!c){break k}N[i+4>>2]=b;N[i+12>>2]=c;C(c,0,e<<2);b=c}N[i+8>>2]=e;e=N[a+16>>2];l:{if(!e){f=0;break l}d=0;f=0;while(1){m:{n:{if(d>>>0>>0){c=N[a+20>>2]+(d<<3)|0;g=N[c>>2];if((g|0)<(l|0)|(g|0)>(m|0)){break n}break m}N[147456]=0;N[147457]=0;c=589824;if(!l){break m}}o:{if(e>>>0<=f>>>0){N[147456]=0;N[147457]=0;e=589824;break o}e=N[a+20>>2]+(f<<3)|0}f=f+1|0;g=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=g;e=N[a+16>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}}Ij(a,i+4|0,f);Df(a,f);break j}b=0;L[a|0]=0}_a(b)}La=i+16|0}function jh(a,b,c){var d=U(0),e=0,f=0,g=0;f=N[a+24>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{if((b|0)<=1986098018){if((b|0)==1751216995){break i}if((b|0)==1751413603){break h}if((b|0)!=1751934832){break a}e=f+72|0;b=Tc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break g}b=Tc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break g}}if(!c){break c}b=Tc(e);b=O[b+72|0]|O[b+73|0]<<8;d=Gc(Hc(f+132|0),1751934832,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}if((b|0)==1986098019){break f}if((b|0)==1986294627){break e}if((b|0)!=1986815856){break a}e=f+92|0;b=xc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=xc(e);b=O[b+8|0]|O[b+9|0]<<8;d=Gc(Hc(f+132|0),1986815856,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+44>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}j:{e=f+72|0;b=Tc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break j}b=Tc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break j}}if(!c){break c}b=Tc(e);b=O[b+68|0]|O[b+69|0]<<8;d=Gc(Hc(f+132|0),1751216995,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}b=f- -64|0;e=Kd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Kd(b);b=O[b+4|0]|O[b+5|0]<<8;d=Gc(Hc(f+132|0),1751216995,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}k:{e=f+72|0;b=Tc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break k}b=Tc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break k}}if(!c){break c}b=Tc(e);b=O[b+70|0]|O[b+71|0]<<8;d=Gc(Hc(f+132|0),1751413603,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))));break d}b=f- -64|0;e=Kd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Kd(b);b=O[b+6|0]|O[b+7|0]<<8;d=Gc(Hc(f+132|0),1751413603,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))));break d}b=f- -64|0;e=Kd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Kd(b);b=O[b+8|0]|O[b+9|0]<<8;d=Gc(Hc(f+132|0),1751934832,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}e=f+92|0;b=xc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=xc(e);b=O[b+4|0]|O[b+5|0]<<8;d=Gc(Hc(f+132|0),1986098019,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+44>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}e=f+92|0;b=xc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=xc(e);b=O[b+6|0]|O[b+7|0]<<8;d=Gc(Hc(f+132|0),1986294627,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+44>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))))}d=U(Z(d));l:{if(U(V(d))>2]=a}b=1}return b}ba(22017,17838,100,12708);B()}function _g(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=U(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=U(0);h=La-48|0;La=h;m=275552;j=((c<<2)+a|0)+2|0;i=c;c=O[a|0]|O[a+1|0]<<8;c=i>>>0>=((c<<8|c>>>8)&65535)>>>0?275552:j;i=O[c|0]|O[c+1|0]<<8;j=(i<<8|i>>>8)&65535;c=O[c+2|0]|O[c+3|0]<<8;if(c){m=((c<<8|c>>>8)&65535)+a|0}i=0;a:{if(f>>>0<=j>>>0){break a}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=d>>>0){break a}a=j+T(d,f)|0;if((a|0)<0){break a}c=N[b+96>>2];a=(a<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;b:{if(a){if(!a){break a}j=((a<<8|a>>>8)&65535)+e|0;break b}j=275552;if(!a){break a}}a=N[c+68>>2];q=N[c+64>>2];d=q+1|0;n=a>>>0>>0?a:d;o=n-g|0;c:{if(o>>>0<=1){e=N[c+80>>2];break c}d=N[c+144>>2]|32;N[c+144>>2]=d;e=N[c+80>>2];if(g>>>0>=n>>>0){break c}i=-1;a=g;r=(a^-1)+n|0;if(r>>>0>=3){p=o&-4;while(1){f=T(a,20)+e|0;k=N[f+8>>2];i=i>>>0>>0?i:k;k=N[f+28>>2];i=i>>>0>>0?i:k;k=N[f+48>>2];i=i>>>0>>0?i:k;f=N[f+68>>2];i=f>>>0>i>>>0?i:f;a=a+4|0;s=s+4|0;if((p|0)!=(s|0)){continue}break}}p=o&3;if(p){f=0;while(1){k=N[(T(a,20)+e|0)+8>>2];i=i>>>0>>0?i:k;a=a+1|0;f=f+1|0;if((p|0)!=(f|0)){continue}break}}a=g;if(o&1){a=T(g,20)+e|0;if(N[a+8>>2]!=(i|0)){N[a+4>>2]=N[a+4>>2]|3}a=g+1|0}if(!r){break c}while(1){f=T(a,20)+e|0;if(N[f+8>>2]!=(i|0)){d=d|32;N[c+144>>2]=d;N[f+4>>2]=N[f+4>>2]|3}f=T(a+1|0,20)+e|0;if(N[f+8>>2]!=(i|0)){d=d|32;N[c+144>>2]=d;N[f+4>>2]=N[f+4>>2]|3}a=a+2|0;if((n|0)!=(a|0)){continue}break}}a=N[T(q,20)+e>>2];N[h+44>>2]=0;N[h+40>>2]=0;d:{e:{f:{g:{d=O[m|0]|O[m+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break e;case 1:break f;case 0:break g;default:break d}}a=N[b+88>>2];d=O[m+2|0]|O[m+3|0]<<8;R[h+44>>2]=R[a+44>>2]*U((d<<8|d>>>8)<<16>>16);l=R[a+48>>2];a=O[m+4|0]|O[m+5|0]<<8;R[h+40>>2]=l*U((a<<8|a>>>8)<<16>>16);break d}Jf(m,N[b+88>>2],a,h+44|0,h+40|0);break d}If(m,b,h+44|0,h+40|0)}a=N[N[c+80>>2]+T(g,20)>>2];N[h+36>>2]=0;N[h+32>>2]=0;h:{i:{j:{k:{d=O[j|0]|O[j+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break h}}a=N[b+88>>2];d=O[j+2|0]|O[j+3|0]<<8;R[h+36>>2]=R[a+44>>2]*U((d<<8|d>>>8)<<16>>16);l=R[a+48>>2];a=O[j+4|0]|O[j+5|0]<<8;R[h+32>>2]=l*U((a<<8|a>>>8)<<16>>16);break h}Jf(j,N[b+88>>2],a,h+36|0,h+32|0);break h}If(j,b,h+36|0,h+32|0)}a=N[b+96>>2];if(N[a+156>>2]){d=N[b+88>>2];e=N[a+64>>2];N[h+20>>2]=g;N[h+16>>2]=e;ib(a,d,17206,h+16|0)}a=N[c+88>>2]+T(N[c+64>>2],20)|0;l=U(Z(U(U(R[h+36>>2]-R[h+44>>2])+U(.5))));l:{if(U(V(l))>2]=d;l=R[h+40>>2];t=R[h+32>>2];L[a+18|0]=1;l=U(Z(U(U(t-l)+U(.5))));m:{if(U(V(l))>2]=d;M[a+16>>1]=g-N[c+64>>2];N[c+144>>2]=N[c+144>>2]|8;a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];d=N[a+64>>2];N[h+4>>2]=g;N[h>>2]=d;ib(a,b,17248,h)}i=1;N[c+64>>2]=N[c+64>>2]+1}La=h+48|0;return i}function eA(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=La-96|0;La=h;N[h+80>>2]=0;N[h+84>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;j=h- -64|0;N[j>>2]=0;N[j+4>>2]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;m=c+10|0;a:{if((m|0)<0){j=6;break a}b:{c:{if(m){j=10;if((m|0)>268435455){break a}j=m<<3;g=Qa[N[a+4>>2]](a,j)|0;if(!g|(m|0)<=0){break c}C(g,0,j)}N[b+20>>2]=g;break b}N[b+20>>2]=g;if(g){break b}j=!g<<6;break a}d:{if(!c){break d}j=0;while(1){k=Qa[d|0](f,j)|0;e:{if(!k|!O[k|0]){break e}i=0;f:{g:{if(!cb(356640,k)){break g}i=1;if(!cb(356646,k)){break g}i=2;if(!cb(356652,k)){break g}i=3;if(!cb(356661,k)){break g}i=4;if(!cb(356668,k)){break g}i=5;if(!cb(356675,k)){break g}i=6;if(!cb(356678,k)){break g}i=7;if(!cb(356693,k)){break g}i=8;if(!cb(356699,k)){break g}if(cb(356712,k)){break f}i=9}l=i<<2;i=l+(h+48|0)|0;if(N[i>>2]){break f}N[i>>2]=1;N[h+l>>2]=j}i=Mo(k);if(i&2147483647){n=h+48|0;h:{i:{j:{k:{l:{m:{n:{o:{p:{if((i|0)<=915){q:{switch(i-160|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break h;case 0:break l;case 13:break p;default:break q}}switch(i-538|0){case 1:break j;case 0:break k;default:break o}}r:{s:{switch(i-937|0){default:t:{switch(i-8725|0){case 1:case 2:case 3:break h;case 4:break m;case 0:break r;default:break t}}l=0;if((i|0)==916){break i}break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break h;case 19:break n;case 0:break s}}l=1;break i}l=2;break i}l=3;break i}if((i|0)!=713){break h}l=4;break i}l=5;break i}l=6;break i}l=7;break i}l=8;break i}l=9}N[n+(l<<2)>>2]=2}N[g+4>>2]=j;N[g>>2]=i;g=g+8|0}if(!e){break e}Qa[e|0](f,k)}j=j+1|0;if((j|0)!=(c|0)){continue}break}if(N[h+48>>2]!=1){break d}N[g>>2]=916;N[g+4>>2]=N[h>>2];g=g+8|0}if(N[h+52>>2]==1){N[g>>2]=937;N[g+4>>2]=N[h+4>>2];g=g+8|0}if(N[h+56>>2]==1){N[g>>2]=8725;N[g+4>>2]=N[h+8>>2];g=g+8|0}if(N[h+60>>2]==1){N[g>>2]=173;N[g+4>>2]=N[h+12>>2];g=g+8|0}if(N[h+64>>2]==1){N[g>>2]=713;N[g+4>>2]=N[h+16>>2];g=g+8|0}if(N[h+68>>2]==1){N[g>>2]=956;N[g+4>>2]=N[h+20>>2];g=g+8|0}if(N[h+72>>2]==1){N[g>>2]=8729;N[g+4>>2]=N[h+24>>2];g=g+8|0}if(N[h+76>>2]==1){N[g>>2]=160;N[g+4>>2]=N[h+28>>2];g=g+8|0}if(N[h+80>>2]==1){N[g>>2]=538;N[g+4>>2]=N[h+32>>2];g=g+8|0}if(N[h+84>>2]==1){N[g>>2]=539;N[g+4>>2]=N[h+36>>2];g=g+8|0}j=N[b+20>>2];e=g-j|0;d=e>>3;u:{if((g|0)==(j|0)){if(g){Qa[N[a+8>>2]](a,g)}N[b+20>>2]=0;j=163;break u}if(d>>>0>>1>>>0){v:{if((d|m)<0){break v}w:{if(!m){j=Qa[N[a+4>>2]](a,e)|0;a=!j<<6;break w}a=Qa[N[a+12>>2]](a,m<<3,e,j)|0;j=a?a:j;a=!a<<6}if(a|(d|0)<=(m|0)|!j){break v}C((m<<3)+j|0,0,d-m<<3)}N[b+20>>2]=j}Zc(j,d,8,361);j=0}N[b+16>>2]=d}La=h+96|0;return j|0}function vq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=T(b,c)+a|0;if(b>>>0>=10){m=0-c|0;while(1){i=T(b-1|0,c);k=i+a|0;d=k+m|0;h=a+c|0;e=N[h>>2];j=T(b>>>1|0,c)+a|0;b=N[j>>2];a:{if((e|0)!=(b|0)){g=b>>>0>e>>>0?-1:1;break a}e=N[h+4>>2];b=N[j+4>>2];g=-1;if(e>>>0>>0){break a}g=b>>>0>>0}g=(g|0)>0;b=g?h:j;e=N[b>>2];f=N[d>>2];b:{c:{if((e|0)!=(f|0)){if(e>>>0>=f>>>0){break c}break b}if(Q[b+4>>2]<=Q[d+4>>2]){break b}}e=g?j:h;g=N[e>>2];d:{if((g|0)!=(f|0)){b=d;if(f>>>0<=g>>>0){break d}break b}f=N[e+4>>2];g=N[d+4>>2];if(f>>>0>>0){b=d;break b}b=d;if(f>>>0<=g>>>0){break b}}b=e}if((b|0)!=(k|0)){g=b+c|0;d=k;while(1){e=O[b|0];L[b|0]=O[d|0];L[d|0]=e;d=d+1|0;b=b+1|0;if(g>>>0>b>>>0){continue}break}}e:{if((i|0)<=0){d=0;break e}h=k;f=h;g=a;e=g;while(1){f:{g:{d=N[e>>2];b=N[k>>2];h:{if((d|0)!=(b|0)){if(b>>>0>d>>>0){break h}break g}d=N[e+4>>2];b=N[k+4>>2];if(d>>>0>>0){break h}if(b>>>0>>0){break g}if(e>>>0>g>>>0){i=c+g|0;b=g;d=e;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}g=c+g|0}e=c+e|0;if(e>>>0>>0){continue}break f}i:{if(e>>>0>=f>>>0){break i}while(1){j:{i=f;f=f+m|0;d=N[f>>2];b=N[k>>2];k:{if((d|0)!=(b|0)){if(b>>>0<=d>>>0){break k}break j}d=N[f+4>>2];b=N[k+4>>2];if(d>>>0>>0){break j}if(b>>>0>>0){break k}j=h+m|0;if(h>>>0>i>>>0){b=f;d=j;while(1){h=O[b|0];L[b|0]=O[d|0];L[d|0]=h;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}h=j}if(e>>>0>>0){continue}break i}break}if(e>>>0>>0){i=c+e|0;b=e;d=f;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}e=c+e|0}if(e>>>0>>0){continue}}break}i=f-g|0;l:{if((a|0)==(g|0)|(f|0)==(g|0)){break l}b=g-a|0;if(b>>>0>i>>>0){if((i|0)<=0){break l}g=a+i|0;b=a+b|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}break l}if((b|0)<=0){break l}g=a+b|0;b=a+i|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}}d=h-f|0;if((f|0)==(h|0)|(h|0)==(l|0)){break e}b=l-h|0;if(b>>>0>>0){if((b|0)<=0){break e}g=b+f|0;b=d+f|0;while(1){e=O[f|0];L[f|0]=O[b|0];L[b|0]=e;b=b+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break e}if((d|0)<=0){break e}g=d+f|0;b=b+f|0;while(1){e=O[f|0];L[f|0]=O[b|0];L[b|0]=e;b=b+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}vq(a,(i>>>0)/(c>>>0)|0,c);a=l-d|0;b=(d>>>0)/(c>>>0)|0;l=a+T(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(l>>>0>g>>>0){h=0-c|0;while(1){e=g;m:{if(e>>>0<=a>>>0){break m}while(1){f=e+h|0;d=N[f>>2];b=N[e>>2];n:{if((d|0)!=(b|0)){if(b>>>0>d>>>0){break m}break n}if(Q[f+4>>2]<=Q[e+4>>2]){break m}}b=f;d=e;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}e=f;if(f>>>0>a>>>0){continue}break}}g=c+g|0;if(l>>>0>g>>>0){continue}break}}}function zg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;n=e>>8;a:{if((d|0)==(f|0)){b=b-N[a+164>>2]|0;if(!(!((b|0)<0|(b|0)>=N[a+172>>2])&N[a+160>>2]>(n|0))){N[a+176>>2]=N[a+192>>2];return}d=N[a+188>>2]+(b<<2)|0;g=N[d>>2];b=N[g>>2];c=N[a+156>>2];e=(c|0)>(n|0)?c-1|0:n;b:{if((b|0)<=(e|0)){while(1){c=g;if((b|0)==(e|0)){break b}g=N[c+12>>2];b=N[g>>2];if((e|0)>=(b|0)){continue}break}d=c+12|0}c=N[a+180>>2];N[a+180>>2]=c+16;if(Q[a+184>>2]<=c>>>0){break a}N[c>>2]=e;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=N[d>>2];N[d>>2]=c}N[a+176>>2]=c;return}g=c&255;h=c>>8;c:{if((h|0)==(n|0)){c=N[a+176>>2];break c}p=1;j=N[a+176>>2];k=e-c|0;d:{if((k|0)>0){s=256;c=256-g|0;break d}k=0-k|0;p=-1;c=g}m=f-d|0;c=T(c,m);l=(c|0)/(k|0)|0;q=c-T(k,l)|0;r=q>>31;i=l+r|0;N[j+4>>2]=i+N[j+4>>2];N[j+8>>2]=N[j+8>>2]+T(i,g|s);j=h+p|0;c=b-N[a+164>>2]|0;e:{if(!(!((c|0)<0|(c|0)>=N[a+172>>2])&N[a+160>>2]>(j|0))){g=N[a+192>>2];break e}h=N[a+188>>2]+(c<<2)|0;b=N[h>>2];o=N[b>>2];g=N[a+156>>2];l=(g|0)>(j|0)?g-1|0:j;if((o|0)<=(l|0)){while(1){g=b;if((l|0)==(o|0)){break e}b=N[g+12>>2];o=N[b>>2];if((l|0)>=(o|0)){continue}break}h=g+12|0}g=N[a+180>>2];N[a+180>>2]=g+16;if(Q[a+184>>2]<=g>>>0){break a}N[g>>2]=l;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=N[h>>2];N[h>>2]=g}d=d+i|0;N[a+176>>2]=g;f:{if((j|0)==(n|0)){c=g;break f}b=q+(k&r)|0;l=m<<8;h=(l|0)/(k|0)|0;l=l-T(h,k)|0;m=l>>31;l=(m&k)+l|0;m=h+m|0;g:{if((c|0)<0){c=N[a+192>>2];h=b+l|0;i=(h|0)>=(k|0);b=i+m|0;N[g+4>>2]=b+N[g+4>>2];N[g+8>>2]=N[g+8>>2]+(b<<8);d=b+d|0;g=j+p|0;if((n|0)==(g|0)){break g}h=h-(i?k:0)|0;b=N[c+8>>2];j=N[c+4>>2];while(1){h=h+l|0;i=(h|0)>=(k|0);h=h-(i?k:0)|0;i=i+m|0;d=i+d|0;j=j+i|0;b=(i<<8)+b|0;g=g+p|0;if((n|0)!=(g|0)){continue}break}N[c+8>>2]=b;N[c+4>>2]=j;break g}if((c|0)>2]){q=N[a+160>>2];r=c<<2;c=g;while(1){t=b+l|0;u=(t|0)>=(k|0);o=m+u|0;N[c+4>>2]=o+N[c+4>>2];N[c+8>>2]=N[c+8>>2]+(o<<8);j=j+p|0;h:{if((q|0)>(j|0)){h=r+N[a+188>>2]|0;g=N[h>>2];b=N[g>>2];c=N[a+156>>2];i=(c|0)>(j|0)?c-1|0:j;if((b|0)<=(i|0)){while(1){c=g;if((b|0)==(i|0)){break h}g=N[c+12>>2];b=N[g>>2];if((i|0)>=(b|0)){continue}break}h=c+12|0}c=N[a+180>>2];N[a+180>>2]=c+16;if(Q[a+184>>2]<=c>>>0){break a}N[c>>2]=i;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=N[h>>2];N[h>>2]=c;break h}c=N[a+192>>2]}b=t-(u?k:0)|0;d=d+o|0;N[a+176>>2]=c;if((j|0)!=(n|0)){continue}break}break f}c=N[a+192>>2];h=b+l|0;i=(h|0)>=(k|0);b=i+m|0;N[g+4>>2]=b+N[g+4>>2];N[g+8>>2]=N[g+8>>2]+(b<<8);d=b+d|0;g=j+p|0;if((n|0)==(g|0)){break g}h=h-(i?k:0)|0;b=N[c+8>>2];j=N[c+4>>2];while(1){h=h+l|0;i=(h|0)>=(k|0);h=h-(i?k:0)|0;i=i+m|0;d=i+d|0;j=j+i|0;b=(i<<8)+b|0;g=g+p|0;if((n|0)!=(g|0)){continue}break}N[c+8>>2]=b;N[c+4>>2]=j}N[a+176>>2]=c}g=256-s|0}a=f-d|0;N[c+4>>2]=a+N[c+4>>2];N[c+8>>2]=N[c+8>>2]+T(a,(e&255)+g|0);return}pe(a,1);B()}function Hp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=La-22048|0;La=c;d=N[b+100>>2];C(c+15424|4,0,2748);N[c+15424>>2]=d;N[a+7728>>2]=0;N[a+52>>2]=0;e=N[N[(N[N[a>>2]+8>>2]<<2)+288704>>2]+16>>2];a:{d=db(1,172);b:{if(!d){d=588184;break b}N[d+148>>2]=1073741823;N[d+152>>2]=536870911;N[d>>2]=1;N[d+4>>2]=1;f=Ic();c:{if(!f){break c}g=N[f>>2];if(!g){break c}if((g|0)<=0){break a}N[f>>2]=g+1}L[d+60|0]=1;N[d+24>>2]=65533;N[d+12>>2]=f}d:{e:{f=O[e|0];if(f){while(1){if((f|0)==32){while(1){f=O[e+1|0];e=e+1|0;if((f|0)==32){continue}break}}e=Fe(e,a,d,c+16|0);f:{if(Q[c+16>>2]>1){break f}f=N[d+80>>2];g=N[d+68>>2];g:{if(O[d+63|0]|N[d+168>>2]){break g}N[d+84>>2]=f;N[d+72>>2]=0;M[d+62>>1]=256;h=T(g,20);if(!h){break g}C(N[d+88>>2],0,h)}if(!g){break f}f=N[f>>2];if(f){break e}}f=O[e|0];if(f){continue}break}}dc(d);break d}dc(d);if(vc(b,f,1)){break d}d=N[b+84>>2];if(M[d+110>>1]<=0){break d}e=c+16|0;C(e,0,15396);f=N[a+40>>2];N[c+24>>2]=65536;N[c+28>>2]=65536;N[c+56>>2]=f;N[c+20>>2]=b;N[c+18164>>2]=0;N[c+18172>>2]=e;if(rf(c+15424|0,d+108|0)){break d}if(Yd(c+15424|0,0)){break d}d=0;qf(c+15424|0,0,0,0);b=N[c+15468>>2];if((b|0)>0){e=N[c+15476>>2];f=e+T(b,44)|0;while(1){b=N[e+20>>2];if(!(!b|b>>>0<=e>>>0|(N[b+20>>2]!=(e|0)|d>>>0>15))){g=M[e+2>>1]-M[b+2>>1]|0;b=g>>31;N[(T(d,12)+a|0)+56>>2]=(b^g)-b;d=d+1|0}e=e+44|0;if(f>>>0>e>>>0){continue}break}}N[c+12>>2]=d;Eg(c+12|0,a+56|0,Q[c+56>>2]/100|0);N[a+52>>2]=N[c+12>>2];if(Yd(c+15424|0,1)){break d}d=0;qf(c+15424|0,0,0,1);b=N[c+16816>>2];if((b|0)>0){e=N[c+16824>>2];f=e+T(b,44)|0;while(1){b=N[e+20>>2];if(!(!b|b>>>0<=e>>>0|(N[b+20>>2]!=(e|0)|d>>>0>15))){g=M[e+2>>1]-M[b+2>>1]|0;b=g>>31;N[(T(d,12)+a|0)+7732>>2]=(b^g)-b;d=d+1|0}e=e+44|0;if(f>>>0>e>>>0){continue}break}}N[c+12>>2]=d;Eg(c+12|0,a+7732|0,Q[c+56>>2]/100|0);N[a+7728>>2]=N[c+12>>2]}if(N[a+52>>2]){b=N[a+56>>2]}else{b=(T(N[a+40>>2],50)|0)/2048|0}L[a+256|0]=0;N[a+252>>2]=b;N[a+248>>2]=(b|0)/5;if(N[a+7728>>2]){b=N[a+7732>>2]}else{b=(T(N[a+40>>2],50)|0)/2048|0}L[a+7932|0]=0;N[a+7928>>2]=b;N[a+7924>>2]=(b|0)/5;a=N[c+15424>>2];h:{if(!a){break h}N[c+15468>>2]=0;N[c+15472>>2]=0;b=N[c+15476>>2];if((b|0)!=(c+15496|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15476>>2]=0}b=c+15480|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+15488>>2];if((b|0)!=(c+16288|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15488>>2]=0}b=c+16816|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+16824>>2];if((b|0)!=(c+16844|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+16824>>2]=0}b=c+16828|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+16836>>2];if((b|0)!=(c+17636|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+16836>>2]=0}b=N[c+15464>>2];if((b|0)!=(c+18176|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15464>>2]=0}N[c+15456>>2]=0;N[c+15460>>2]=0;b=N[c+15452>>2];if((b|0)==(c+18208|0)|!b){break h}Qa[N[a+8>>2]](a,b)}La=c+22048|0;return}ba(23506,14099,260,16403);B()}function aj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{f=N[b+4>>2];b:{if(f>>>0>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break b}d=N[b+12>>2];c=d-8|0;N[b+12>>2]=c;if(((O[a|0]|O[a+1|0]<<8)&65279)!=512|(c|0)<=0){break b}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break b}c=d-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}h=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);d=UE(i,0,48,0);if(Pa){break b}if(d){k=a+8|0;if(k>>>0>e>>>0|d>>>0>e-k>>>0){break b}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break b}}if(!h){return 1}p=i>>>0<=1?1:i;k=0;while(1){h=T(k,48)+a|0;d=h+8|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<48){break a}i=c-48|0;N[b+12>>2]=i;if((i|0)<=0){break a}j=c-52|0;N[b+12>>2]=j;if((j|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(d&128){break a}c=O[h+16|0]|O[h+17|0]<<8|(O[h+18|0]<<16|O[h+19|0]<<24);m=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(m>>>0>536870911){break a}i=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+a|0;c:{d=m<<3;if(!d){break c}if(e>>>0>>0|f>>>0>i>>>0|d>>>0>e-i>>>0){break a}d=j-d|0;N[b+12>>2]=d;if((d|0)>0){break c}break a}n=0;j=0;if(c){while(1){g=N[b+4>>2];e=i+(j<<3)|0;if(g>>>0>e>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<8){break b}f=N[b+12>>2];c=f-8|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e|0]|O[e+1|0]<<8;l=(c<<8|c>>>8)&65535;c=O[e+2|0]|O[e+3|0]<<8;o=(c<<8|c>>>8)&65535;if(l>>>0>o>>>0){break b}e=e+4|0;if(e>>>0>d>>>0|d-e>>>0<4){break b}c=f-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d:{if(!c){break d}if(c&128){break b}c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;e:{if(c>>>0>>0|d>>>0>>0|d-c>>>0<8){break e}g=f-20|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=o-l|0;f:{g:{l=O[c|0]|O[c+1|0]<<8;switch(((l<<8|l>>>8)&65535)-1|0){case 2:break f;case 0:break g;default:break d}}f=f-28|0;N[b+12>>2]=f;if((f|0)<=0){break e}g=g+2|0;if(g>>>0>1073741823){break e}if(!g){break d}c=c+8|0;if(c>>>0>d>>>0){break e}c=d-c|0;d=g<<2;if(c>>>0>>0){break e}d=f-d|0;N[b+12>>2]=d;if((d|0)>0){break d}break e}f=f-28|0;N[b+12>>2]=f;if((g|0)<-2|(f|0)<=0){break e}g=g+2|0;if(!g){break d}c=c+8|0;if(c>>>0>d>>>0){break e}c=d-c|0;d=g<<1;if(c>>>0>>0){break e}d=f-d|0;N[b+12>>2]=d;if((d|0)>0){break d}}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}j=j+1|0;if((m|0)!=(j|0)){continue}break}f=N[b+4>>2]}d=h+24|0;if(d>>>0>>0){break b}e=N[b+8>>2];if(d>>>0>e>>>0|e-d>>>0<12){break b}d=N[b+12>>2];c=d-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=h+36|0;if(c>>>0>e>>>0|e-c>>>0<12){break b}c=d-24|0;N[b+12>>2]=c;n=(c|0)>0;if((c|0)<=0){break b}k=k+1|0;if((p|0)!=(k|0)){continue}break}}return n}return 0}function Xq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=275552;c=N[N[N[a+92>>2]+148>>2]>>2];c=c?c:275552;f=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[f|0]|O[f+1|0]<<8)!=256){break a}d=275552;c=O[f+8|0]|O[f+9|0]<<8;if(c){d=f+((c<<8|c>>>8)&65535)|0}c=O[d|0]|O[d+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break a}g=((c<<8|c>>>8)&65535)+d|0}m=N[a+136>>2];N[a+136>>2]=b;b=O[g+2|0]|O[g+3|0]<<8;b=b<<8|b>>>8;d=b&65535;j=N[a+140>>2];if(b&16){b=O[g+4|0]|O[g+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+g|0;b=O[b+6|0]|O[b+7|0]<<8;d=b<<24|b<<8&16711680|d}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;h=O[a+150|0];L[a+21|0]=h;c=N[a+132>>2];N[a+16>>2]=c;N[a+72>>2]=0;N[a+48>>2]=a;b=O[a+151|0];L[a+22|0]=b;f=a- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[a+52>>2]=d;e=N[a+84>>2];f=(e|0)==1;L[a+20|0]=f;d=O[a+149|0];L[a+61|0]=1;L[a+60|0]=f|(d|0)!=0;N[a+56>>2]=-1;L[a+62|0]=b;i=O[g+4|0]|O[g+5|0]<<8;if(i){b=O[g|0]|O[g+1|0]<<8;f=(b<<8|b>>>8)&65535;k=g+4|0;h=(i<<8|i>>>8)&65535;i=h>>>0<=1?1:h;b=0;l=1;while(1){c=O[k|0]|O[k+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+k|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+g|0}else{c=275552}d=f;b:{while(1){c:{e=0;if((d|0)!=9){d:{switch(d-1|0){case 0:e:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break c;case 1:break e;default:break b}}e=Ek(c,a);break b;case 1:f:{g:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break b}}e=Hk(c,a);break b}e=Gk(c,a);break b;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Uk(c,a);break b;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Tk(c,a);break b;case 4:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Sk(c,a);break b;case 5:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Rk(c,a);break b;case 6:e=Kj(c,a);break b;case 7:break d;default:break b}}h:{i:{j:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}e=Jj(a,c);break b}e=Kf(c,a,0);break b}e=ah(c,a);break b}if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=O[c+2|0]|O[c+3|0]<<8;d=(e<<8|e>>>8)&65535;e=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}continue}break}e=Fk(c,a)}if(!e){b=b+1|0;l=h>>>0>b>>>0;if((b|0)!=(i|0)){continue}}break}d=O[a+149|0];c=N[a+132>>2];h=O[a+150|0];e=N[a+84>>2];b=O[a+151|0]}N[a+140>>2]=j;N[a+136>>2]=m;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;L[a+21|0]=h;N[a+12>>2]=j;N[a+72>>2]=0;L[a+22|0]=b;N[a+16>>2]=c;N[a+64>>2]=0;N[a+68>>2]=0;L[a+61|0]=1;N[a+52>>2]=j;L[a+62|0]=b;N[a+56>>2]=-1;b=(e|0)==1;L[a+20|0]=b;L[a+60|0]=b|(d&255)!=0;N[a+8>>2]=a;N[a+48>>2]=a;return l|0}function mo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if(c>>>0>268435455){break a}d=c<<4;m=kb(d>>>0<=1?1:d);if(!m){break a}b:{if((c|0)<=0){Zc(m,0,16,375);break b}while(1){j=(n<<5)+b|0;c:{if(!N[j+20>>2]|!N[j+8>>2]|!N[j+16>>2]){break c}d=N[j+28>>2];f=N[d+52>>2];if(!f){f=db(1,20);N[d+52>>2]=f;if(!f){break c}}if(N[a+112>>2]!=N[f+16>>2]){N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;f=N[d+52>>2];N[f+16>>2]=N[a+112>>2]}g=N[f+4>>2];if((g|0)<=0){break c}e=N[f+12>>2];o=e;p=N[f+8>>2];h=p;l=N[f>>2];i=l;d=g;if((d|0)!=N[j+8>>2]){o=0;mb(N[a>>2],2,16884,0);N[f+8>>2]=0;N[f+12>>2]=0;N[f>>2]=0;N[f+4>>2]=0;h=0;i=0;d=0}if((k|0)>0){q=e+p|0;r=g+l|0;e=0;while(1){g=(e<<4)+m|0;if(!((l|0)>=N[g+12>>2]|(r|0)<=N[g+4>>2]|((q|0)<=N[g>>2]|(p|0)>=N[g+8>>2]))){N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;o=0;h=0;i=0;d=0}e=e+1|0;if((k|0)!=(e|0)){continue}break}}if((d|0)<=0){break c}g=(k<<4)+m|0;N[g+12>>2]=d+i;N[g+4>>2]=i;N[g+8>>2]=h+o;N[g>>2]=h;e=N[j>>2];if(e){h=i-N[j+4>>2]|0;f=N[a+136>>2];while(1){g=h+N[e+24>>2]|0;N[e+24>>2]=g;d=N[e+4>>2];if((g|0)<0){N[e+24>>2]=0;d=d+g|0;N[e+4>>2]=d;N[e+12>>2]=N[e+12>>2]-T(g,N[e+8>>2]);g=0}g=d+g|0;if((g|0)>=(f|0)){d=(f-g|0)+d|0;N[e+4>>2]=d}if((d|0)<=0){N[e+24>>2]=0;N[e+4>>2]=0}e=N[e+28>>2];if(e){continue}break}}k=k+1|0;N[j+4>>2]=i}n=n+1|0;if((n|0)!=(c|0)){continue}break}Zc(m,k,16,375);n=0;while(1){f=(n<<5)+b|0;d:{if(!N[f+20>>2]|!N[f+8>>2]|!N[f+16>>2]){break d}d=N[f+28>>2];h=N[d+52>>2];if(!h){h=db(1,20);N[d+52>>2]=h;if(!h){break d}}if(N[a+112>>2]!=N[h+16>>2]){N[h>>2]=0;N[h+4>>2]=0;N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;h=N[d+52>>2];N[h+16>>2]=N[a+112>>2]}if(N[h+4>>2]){break d}o=N[f+12>>2];p=o+N[f+16>>2]|0;e=N[f+4>>2];j=e+N[f+8>>2]|0;e:{if(N[f+24>>2]==1){i=0;d=0;if((k|0)<=0){break e}while(1){g=(d<<4)+m|0;f:{if(N[g+4>>2]>=(i+j|0)){break f}l=N[g+12>>2];if((l|0)<=(e+i|0)|(p|0)<=N[g>>2]){break f}i=(o|0)>2]?l-e|0:i}d=d+1|0;if((k|0)!=(d|0)){continue}break}break e}i=0;d=k;if((d|0)<=0){break e}while(1){g=d;d=d-1|0;l=(d<<4)+m|0;q=N[l+4>>2];if(!((q|0)>=(i+j|0)|N[l+12>>2]<=(e+i|0)|(p|0)<=N[l>>2])){i=(o|0)>2]?q-j|0:i}if(g>>>0>1){continue}break}}d=(k<<4)+m|0;N[d+12>>2]=i+j;N[d+4>>2]=e+i;N[d+8>>2]=p;N[d>>2]=o;k=k+1|0;Zc(m,k,16,375);g:{if(!i){e=N[f+4>>2];break g}e=N[f>>2];if(e){j=N[a+136>>2];while(1){g=N[e+24>>2]+i|0;N[e+24>>2]=g;d=N[e+4>>2];if((g|0)<0){N[e+24>>2]=0;d=d+g|0;N[e+4>>2]=d;N[e+12>>2]=N[e+12>>2]-T(g,N[e+8>>2]);g=0}g=d+g|0;if((g|0)>=(j|0)){d=(j-g|0)+d|0;N[e+4>>2]=d}if((d|0)<=0){N[e+24>>2]=0;N[e+4>>2]=0}e=N[e+28>>2];if(e){continue}break}}e=N[f+4>>2]+i|0;N[f+4>>2]=e}N[h>>2]=e;N[h+4>>2]=N[f+8>>2];N[h+8>>2]=N[f+12>>2];N[h+12>>2]=N[f+16>>2]}n=n+1|0;if((n|0)!=(c|0)){continue}break}}_a(m)}}function eE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[c>>2];a:{b:{c:{d:{if(!b){if(!d){return 0}a=N[d>>2];if(!a){break a}if((a|0)<=0){break d}N[d>>2]=a+1;return d|0}f=P[c+4>>1];e:{f:{g:{a=Q[d+16>>2]<4?275552:N[d+12>>2];d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((d|0)<=1953658212){if((d|0)==256){break g}if((d|0)==65536){d=a;break e}if((d|0)!=1330926671){break f}d=a;break e}if((d|0)==1953658213){d=a;break e}if((d|0)==1954115633){d=a;break e}if((d|0)!=1953784678){break f}d=275552;e=O[a+4|0]|O[a+5|0]<<8;if(((e<<8|e>>>8)&65535)-1>>>0>1){break e}e=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);e=f>>>0>=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0?275552:(a+(f<<2)|0)+12|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!e){break e}d=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;break e}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);g=a+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;d=O[g+24|0]|O[g+25|0]<<8;d=((d<<8|d>>>8)&65535)+g|0;d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;j=a+256|0;d=0;while(1){h:{e=O[g+24|0]|O[g+25|0]<<8;e=g+((e<<8|e>>>8)&65535)|0;h=O[e|0]|O[e+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0>>0){e=275552}else{e=(e+(d<<3)|0)+2|0}if((O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24))!=1953392243){break h}h=O[e+4|0]|O[e+5|0]<<8;if(f>>>0>((h<<8|h>>>8)&65535)>>>0){break h}d=O[g+24|0]|O[g+25|0]<<8;k=g+((d<<8|d>>>8)&65535)|0;d=O[e+6|0]|O[e+7|0]<<8;d=(k+((d<<8|d>>>8)&65535)|0)+T(f,12)|0;d=(j+(O[d+6|0]<<8|O[d+5|0]<<16|O[d+7|0])|0)+4|0;l=d-a|0;break e}e=(d|0)!=(i|0);d=d+1|0;if(e){continue}break}d=275552;l=275552-a|0;break e}d=275552}i=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=d+12|0;e=O[d+4|0]|O[d+5|0]<<8;j=(e<<8|e>>>8)&65535;if(j>>>0<=15){a=275552;if(!e){break b}e=0;f=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>=b>>>0&(f|0)==(i|0)){break c}while(1){e=e+1|0;if((j|0)==(e|0)){break b}f=g+(e<<4)|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>>0|(f|0)!=(i|0)){continue}break}break c}a=275552;if(!e){break b}h=j-1|0;while(1){e=h+m>>>1|0;f=g+(e<<4)|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);k=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>>0;i:{if(!(k|(f|0)==(i|0))){h=e-1|0;break i}if(!k&(f|0)==(i|0)){break c}m=e+1|0}if((h|0)>=(m|0)){continue}break}break b}ba(23506,14099,260,16403);B()}if(e>>>0>=j>>>0){break b}a=((e<<4)+d|0)+12|0}b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=Cl(N[c>>2],(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+l|0,a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}return d|0}function Dm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;C(b,0,196);f=O[a+188|0];L[b+8|0]=f;a:{if(!f){break a}if(f>>>0>=4){h=f&252;d=b+12|0;g=a+192|0;while(1){M[d+(c<<1)>>1]=N[g+(c<<2)>>2];i=c|1;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];i=c|2;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];i=c|3;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];c=c+4|0;if((h|0)!=(c|0)){continue}break}}d=f&3;if(!d){break a}f=0;while(1){M[((c<<1)+b|0)+12>>1]=N[((c<<2)+a|0)+192>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+189|0];L[b+9|0]=d;b:{if(!d){break b}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+40|0;h=a+248|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break b}while(1){M[((c<<1)+b|0)+40>>1]=N[((c<<2)+a|0)+248>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+190|0];L[b+10|0]=d;c:{if(!d){break c}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+60|0;h=a+288|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break c}while(1){M[((c<<1)+b|0)+60>>1]=N[((c<<2)+a|0)+288>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+191|0];L[b+11|0]=d;d:{if(!d){break d}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+88|0;h=a+344|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break d}while(1){M[((c<<1)+b|0)+88>>1]=N[((c<<2)+a|0)+344>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}N[b+108>>2]=N[a+384>>2];N[b+112>>2]=N[a+388>>2];N[b+116>>2]=N[a+392>>2];M[b+120>>1]=N[a+396>>2];M[b+122>>1]=N[a+400>>2];d=O[a+404|0];L[b+124|0]=d;e:{if(!d){break e}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+128|0;h=a+408|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break e}while(1){M[((c<<1)+b|0)+128>>1]=N[((c<<2)+a|0)+408>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+405|0];L[b+125|0]=d;f:{if(!d){break f}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+154|0;h=a+460|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break f}while(1){M[((c<<1)+b|0)+154>>1]=N[((c<<2)+a|0)+460>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}L[b+126|0]=O[a+512|0];N[b+184>>2]=N[a+524>>2];N[b+4>>2]=N[a+520>>2]}function Je(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;l=La-32|0;La=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{switch(a-29|0){case 0:a=N[b+8>>2];f=N[b+4>>2];l:{if(a>>>0>=f>>>0){a=f+1|0;N[b+8>>2]=a;d=275552;break l}d=N[b>>2]+a|0}j=O[d|0];d=a+1|0;m:{if(d>>>0>=f>>>0){a=f+1|0;N[b+8>>2]=a;d=275552;break m}d=d+N[b>>2]|0}g=O[d|0];d=a+2|0;n:{if(d>>>0>=f>>>0){a=f+1|0;N[b+8>>2]=a;d=275552;break n}d=d+N[b>>2]|0}e=a+3|0;o:{if(e>>>0>=f>>>0){a=f+1|0;f=275552;break o}f=e+N[b>>2]|0}m=b+16|0;e=O[d|0];d=O[f|0];f=N[b+20>>2];p:{if(f>>>0<=512){N[b+20>>2]=f+1;f=(m+(f<<3)|0)+8|0;break p}L[m|0]=1;N[147456]=0;N[147457]=0;f=589824}S[f>>3]=d|(g<<16|j<<24|e<<8);N[b+8>>2]=a+4;break a;case 1:a=N[b+8>>2];n=N[b+4>>2];if(a>>>0>n>>>0){break c}j=n+2|0;e=N[b>>2];while(1){q:{r:{s:{if(!(k&1)){d=a+1|0;if(d>>>0>n>>>0){break d}f=a+e|0;a=a>>>0>>0;f=O[(a?f:275552)|0];a=a?d:j;N[b+8>>2]=a;d=f>>>4|0;break s}d=f&15}switch(d-13|0){case 2:break r;case 0:break d;default:break q}}d=g+l|0;a=l;t:{if((g|0)<=0){break t}while(1){e=O[a|0];if(e-9>>>0>=5&(e|0)!=32){break t}a=a+1|0;if((d|0)!=(a|0)){continue}break}break f}if((a|0)==(d|0)){break f}g=1;u:{while(1){f=O[g+179647|0]+179456|0;e=L[g+179656|0];k=L[a|0];j=g<<1;g=O[j+179424|0];if((k|0)>=(g|0)){e=(k|0)>O[j+179425|0]?e:k-g|0}j=L[e+f|0];v:{if(587>>>j&1){break v}w:{switch(L[j+179675|0]-1|0){case 0:p=1;break v;case 3:m=1;break v;case 1:h=h*10+ +(k-48|0);break v;case 2:if(!(c<=450359962737049)){break v}c=c*10+ +(k-48|0);o=o+1;break v;case 4:break w;default:break v}}e=(k+T(i,10)|0)-48|0;g=e>>>0>2047;i=g?i:e;q=g|q}if((j|0)==1){break u}g=L[j+179665|0];a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}x:{if(o!=0){r=c;if(o<4294967296&o>=0){e=~~o>>>0}else{e=0}c=e&256?1e256:1;c=e&128?c*1e128:c;c=e&64?c*1e64:c;c=e&32?c*1e32:c;c=e&16?c*1e16:c;c=e&8?c*1e8:c;c=e&4?c*1e4:c;c=e&2?c*100:c;h=h+r/(e&1?c*10:c);if(p){break x}break j}if(!p){break j}}h=-h;if(!(q&1)){break i}break h}L[g+l|0]=O[d+20474|0];y:{if((d|0)!=12){d=g;break y}d=g+1|0;if((d|0)==32){break d}L[d+l|0]=45}g=d+1|0;k=k+1|0;if(d>>>0<31){continue}break};break d;default:break k}}uf(a,b);break a}if(q&1){break h}}if(!i){break e}c=i&256?1e256:1;c=i&128?c*1e128:c;c=i&64?c*1e64:c;c=i&32?c*1e32:c;c=i&16?c*1e16:c;c=i&8?c*1e8:c;c=i&4?c*1e4:c;c=i&2?c*100:c;c=i&1?c*10:c;if(!m){break g}h=h/c;break e}if(h==0){break e}if(m){h=p?-22250738585072014e-324:22250738585072014e-324;break e}h=p?-17976931348623157e292:17976931348623157e292;break e}h=c*h;break e}a=d}if((a|0)==(l|0)){break d}if((a|0)==(d|0)){break b}}N[b+8>>2]=n+1}h=0}d=b+16|0;a=N[b+20>>2];if(a>>>0<=512){N[b+20>>2]=a+1;S[(d+(a<<3)|0)+8>>3]=h;break a}L[d|0]=1;N[147456]=0;N[147457]=0;S[73728]=h}La=l+32|0}function dh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break b}d=N[b+12>>2];f=d-2|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=a+2|0;if(f>>>0>h>>>0|h-f>>>0<2){break b}d=d-4|0;N[b+12>>2]=d;if((d|0)<=0){break b}c=1;f=O[f|0]|O[f+1|0]<<8;if(!f){break b}c=(f<<8|f>>>8)&65535;o=c>>>0<=1?1:c;n=c-1|0;a=a+4|0;c:{while(1){if(a>>>0>>0|a>>>0>h>>>0|h-a>>>0<6){break c}c=d-6|0;N[b+12>>2]=c;if((c|0)<=0){break c}c=N[b+32>>2];i=N[c+12>>2];N[b+4>>2]=i;c=N[c+16>>2];h=c+i|0;N[b+8>>2]=h;if((c|0)<0){break a}d:{e:{if(j>>>0>>0){f=j>>>0>>0?a:0;if(!(i>>>0<=f>>>0&f>>>0>>0)){N[b+4>>2]=0;N[b+8>>2]=0;f=0;c=0;break e}N[b+4>>2]=f;c=h-f|0;e=O[f+2|0]|O[f+3|0]<<8;e=(e<<8|e>>>8)&65535;c=(c>>>0>>0?c:e)+f|0;N[b+8>>2]=c;break e}c=h;f=i;if(f>>>0>a>>>0){break d}}if(a>>>0>c>>>0){break d}k=c-a|0;if(k>>>0<6){break d}d=d-12|0;N[b+12>>2]=d;if((d|0)<=0){break d}e=O[a+2|0]|O[a+3|0]<<8;l=(e<<8|e>>>8)&65535;if(l>>>0<6|k>>>0>>0){break d}d=d-l|0;N[b+12>>2]=d;if((d|0)<=0){break d}f:{g:{switch(O[a+4|0]){case 0:e=a+6|0;if(e>>>0>c>>>0|c-e>>>0<8){break d}f=d-8|0;N[b+12>>2]=f;if((d|0)<9){break d}d=O[e|0]|O[e+1|0]<<8;if(!d){d=f;break f}e=a+14|0;if(e>>>0>c>>>0){break d}g=c-e|0;c=T((d<<8|d>>>8)&65535,6);if(g>>>0>>0){break d}d=f-c|0;N[b+12>>2]=d;if((d|0)>0){break f}break d;case 2:break g;default:break f}}if(k>>>0<14){break d}e=d-14|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=a+8|0;if(e>>>0>c>>>0|c-e>>>0<2){break d}e=d-16|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[a+8|0]|O[a+9|0]<<8;g=((e<<8|e>>>8)&65535)+a|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<4){break d}e=d-20|0;N[b+12>>2]=e;if((e|0)<=0){break d}m=g+2|0;if(m>>>0>c>>>0|c-m>>>0<2){break d}e=d-22|0;N[b+12>>2]=e;if((e|0)<=0){break d}d=O[m|0]|O[m+1|0]<<8;if(d){g=g+4|0;if(g>>>0>c>>>0){break d}d=((d<<8|d>>>8)&65535)<<1;if(d>>>0>c-g>>>0){break d}e=e-d|0;N[b+12>>2]=e;if((e|0)<=0){break d}}d=a+10|0;if(d>>>0>c>>>0|c-d>>>0<2){break d}N[b+12>>2]=e-2;if((e|0)<3){break d}g=f;d=O[a+10|0]|O[a+11|0]<<8;f=((d<<8|d>>>8)&65535)+a|0;if(g>>>0>f>>>0|c>>>0>>0|c-f>>>0<4){break d}N[b+12>>2]=e-6;if((e|0)<7){break d}g=f+2|0;if(g>>>0>c>>>0|c-g>>>0<2){break d}d=e-8|0;N[b+12>>2]=d;if((e|0)<9){break d}e=O[g|0]|O[g+1|0]<<8;if(e){f=f+4|0;if(f>>>0>c>>>0){break d}f=c-f|0;c=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}c=O[a+12|0]|O[a+13|0]<<8;if(!c){break f}c=(c<<8|c>>>8)&65535;if(c>>>0>k>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}N[b+8>>2]=h;N[b+4>>2]=i;a=a+l|0;c=1;j=j+1|0;if((o|0)==(j|0)){break b}continue}break}N[b+8>>2]=h;N[b+4>>2]=i}c=0}return c}ba(16656,14279,195,9642);B()}function Uh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;N[a+4>>2]=c;N[a>>2]=b;N[a+416>>2]=N[c+124>>2];N[a+420>>2]=N[c+128>>2];N[a+428>>2]=N[c+136>>2];N[a+432>>2]=N[c+140>>2];N[a+424>>2]=N[c+132>>2];N[a+436>>2]=N[c+144>>2];N[a+216>>2]=N[c+120>>2];d=N[c+80>>2];N[a+248>>2]=N[c+76>>2];N[a+252>>2]=d;d=N[c+88>>2];N[a+256>>2]=N[c+84>>2];N[a+260>>2]=d;d=N[c+96>>2];N[a+264>>2]=N[c+92>>2];N[a+268>>2]=d;d=N[c+104>>2];N[a+272>>2]=N[c+100>>2];N[a+276>>2]=d;d=N[c+112>>2];N[a+280>>2]=N[c+108>>2];N[a+284>>2]=d;d=N[c+44>>2];f=N[d+4>>2];N[a+220>>2]=N[d>>2];N[a+224>>2]=f;f=N[d+12>>2];N[a+228>>2]=N[d+8>>2];N[a+232>>2]=f;f=N[d+20>>2];N[a+236>>2]=N[d+16>>2];N[a+240>>2]=f;N[a+244>>2]=N[d+24>>2];N[a+440>>2]=N[c+148>>2];N[a+444>>2]=N[c+152>>2];d=N[c+160>>2];N[a+464>>2]=N[c+156>>2];N[a+468>>2]=d;d=N[c+168>>2];N[a+472>>2]=N[c+164>>2];N[a+476>>2]=d;d=N[c+176>>2];N[a+480>>2]=N[c+172>>2];N[a+484>>2]=d;F(a+288|0,c+180|0,68);N[a+388>>2]=N[c+248>>2];N[a+392>>2]=N[c+252>>2];M[a+488>>1]=P[c+256>>1];N[a+492>>2]=N[c+260>>2];d=N[c+268>>2];N[a+180>>2]=N[c+264>>2];N[a+184>>2]=d;d=N[c+276>>2];N[a+188>>2]=N[c+272>>2];N[a+192>>2]=d;d=N[c+284>>2];N[a+196>>2]=N[c+280>>2];N[a+200>>2]=d;d=N[c+292>>2];N[a+204>>2]=N[c+288>>2];N[a+208>>2]=d;N[a+212>>2]=N[c+296>>2];C(a+36|0,0,108);e=N[a+8>>2];a:{b:{d=P[b+284>>1]+32|0;c=N[a+20>>2];c:{if(d>>>0<=c>>>0){d=c;break c}g=d<<2;h=c<<2;d:{if(!c){e=Qa[N[e+4>>2]](e,g)|0;f=!e<<6;break d}i=N[a+24>>2];f=Qa[N[e+12>>2]](e,h,g,i)|0;e=f?f:i;f=!f<<6}e:{if(!(f|!e)){C(e+h|0,0,g-h|0);N[a+24>>2]=e;break e}N[a+24>>2]=e;if(f){break b}}e=N[a+8>>2]}N[a+20>>2]=d;b=P[b+286>>1];c=N[a+408>>2];if(b>>>0<=c>>>0){b=c;break a}d=N[a+412>>2];if((c|0)<0){N[a+412>>2]=d;N[a+408>>2]=c;return 6}f:{if(!c){e=Qa[N[e+4>>2]](e,b)|0;d=!e<<6;break f}f=Qa[N[e+12>>2]](e,c,b,d)|0;e=f?f:d;d=!f<<6}if(!(d|(b|0)<=(c|0)|!e)){C(c+e|0,0,b-c|0);N[a+412>>2]=e;break a}N[a+412>>2]=e;if(!d){break a}N[a+408>>2]=c;return d}N[a+20>>2]=c;return f}N[a+408>>2]=b;N[a+152>>2]=0;N[a+104>>2]=N[a+176>>2];b=N[a+172>>2];N[a+96>>2]=N[a+168>>2];N[a+100>>2]=b;b=N[a+164>>2];N[a+88>>2]=N[a+160>>2];N[a+92>>2]=b;b=N[a+148>>2];N[a+72>>2]=N[a+144>>2];N[a+76>>2]=b;b=N[a+156>>2];N[a+80>>2]=N[a+152>>2];N[a+84>>2]=b;N[a+140>>2]=N[a+176>>2];b=N[a+172>>2];N[a+132>>2]=N[a+168>>2];N[a+136>>2]=b;b=N[a+164>>2];N[a+124>>2]=N[a+160>>2];N[a+128>>2]=b;b=N[a+156>>2];N[a+116>>2]=N[a+152>>2];N[a+120>>2]=b;b=N[a+148>>2];N[a+108>>2]=N[a+144>>2];N[a+112>>2]=b;N[a+68>>2]=N[a+176>>2];b=N[a+172>>2];N[a+60>>2]=N[a+168>>2];N[a+64>>2]=b;b=N[a+164>>2];N[a+52>>2]=N[a+160>>2];N[a+56>>2]=b;b=N[a+156>>2];N[a+44>>2]=N[a+152>>2];N[a+48>>2]=b;b=N[a+148>>2];N[a+36>>2]=N[a+144>>2];N[a+40>>2]=b;L[a+520|0]=0;return 0}function qp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(!(O[a+16|0]&8)){e=T(c,204)+b|0;i=N[e+204>>2];o=N[e+200>>2];e=o>>31;m=N[a>>2];g=m>>31;j=(e^o)-e|0;r=j>>>8|0;e=(g^m)-g|0;a:{if(r+e>>>0<=8190){g=T(e,j)+32768>>>16|0;break a}g=e&65535;g=T(g,j>>>16|0)+T(e>>>16|0,j)+(T(g,j&65535)+32768>>>16)|0}e=g;f=0-e|0;e=m>>31|1;g=i+((((o|0)<0?0-e|0:e)|0)<0?f:g)|0;n=N[a+4>>2];e=n>>31;e=(e^n)-e|0;b:{if(e+r>>>0<=8190){i=T(e,j)+32768>>>16|0;break b}f=e&65535;i=T(f,j>>>16|0)+T(e>>>16|0,j)+(T(f,j&65535)+32768>>>16)|0}e=i;f=0-e|0;e=n>>31|1;f=(((o|0)<0?0-e|0:e)|0)<0?f:i;c:{d:{e:{f:{g:{switch(c|0){case 1:if(O[d+121|0]){break f}break d;case 0:if(!O[d+120|0]){break d}k=O[d+122|0]!=0;break;default:break g}}N[a+12>>2]=f;break e}s=O[d+123|0];N[a+12>>2]=f;u=O[b+2492|0];i=2;e=N[b+412>>2];h:{i:{if(!e){break i}k=m+n|0;h=b+416|0;l=N[b+2488>>2];p=0-l|0;while(1){q=k-N[h+12>>2]|0;if((q|0)<(p|0)){break i}if((k|0)<=(l+N[h+8>>2]|0)){if(!u){e=0;if((q|0)>N[b+2484>>2]){break h}}t=N[h+16>>2];i=3;e=1;break h}h=h+32|0;e=e-1|0;if(e){continue}break}}e=0}k=N[b+928>>2];j:{if(!k){l=0;break j}l=0;p=N[b+2488>>2];q=0-p|0;h=((k<<5)+b|0)+932|0;while(1){v=N[h-24>>2]-m|0;if((q|0)>(v|0)){break j}if((N[h-20>>2]-p|0)>(m|0)){h=h-32|0;k=k-1|0;if(k){continue}break j}break}if(!u&N[b+2484>>2]<=(v|0)){break j}l=N[h-16>>2];e=i}k=(s|0)!=0;k:{switch(e-1|0){case 1:N[a+8>>2]=l;if(!s){break c}N[a+12>>2]=(f|0)<64?64:f+32&-64;break c;case 2:N[a+8>>2]=l;N[a+12>>2]=t-l;break c;case 0:break k;default:break e}}N[a+8>>2]=t-f;if(!s){break c}b=(f|0)<64?64:f+32&-64;N[a+12>>2]=b;N[a+8>>2]=t-b;break c}e=N[a+20>>2];if(e){if(!(O[e+16|0]&8)){qp(e,b,c,d);n=N[a+4>>2];m=N[a>>2]}l=(N[e+8>>2]-(f>>1)|0)+(N[e+12>>2]>>1)|0;g=(m-(N[e>>2]+(N[e+4>>2]>>1)|0)|0)+(n>>1)|0;e=g>>31;e=(e^g)-e|0;l:{if(e+r>>>0<=8190){i=T(e,j)+32768>>>16|0;break l}h=e&65535;i=T(h,j>>>16|0)+T(e>>>16|0,j)+(T(h,j&65535)+32768>>>16)|0}e=i;h=0-e|0;e=g>>31|1;g=l+((((o|0)<0?0-e|0:e)|0)<0?h:i)|0}m:{if(!O[d+124|0]){break m}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;f=64;break m}b=g+32&-64;if((f|0)<=0){g=b;break m}e=b-g|0;c=e>>31;d=f+g|0;g=d+32&-64;i=g-d|0;d=i>>31;g=(c^e)-c>>>0>(d^i)-d>>>0?g:b;break m}b=N[(T(c,204)+b|0)+12>>2];d=f-b|0;c=d>>31;f=(c^d)-c>>>0<40?(b|0)<=48?48:b:f;if(f>>>0<=191){b=f&63;if(b>>>0<10){break m}c=f&-64;if(b>>>0<=31){f=c|10;break m}f=b>>>0<54?c|54:f;break m}f=f+32&-64}N[a+12>>2]=f;b=(g+32&-64)-g|0;c=b>>31;d=f+g|0;d=(d+32&-64)-d|0;e=d>>31;c=((b^c)-c>>>0>(d^e)-e>>>0?d:b)+g|0;N[a+8>>2]=c;if(!k){break c}d=(f|0)<64?64:f+32&-64;b=d>>1;N[a+12>>2]=d;N[a+8>>2]=(d&64?b+c&-64|32:(b+c|0)+32&-64)-b;break c}N[a+12>>2]=f;N[a+8>>2]=g}N[a+16>>2]=N[a+16>>2]|8}}function ye(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=La-288|0;La=e;a:{if(O[a+52|0]){L[a+52|0]=0;N[a+56>>2]=0;N[a+60>>2]=0;d=N[c+12>>2];N[a+88>>2]=N[c+8>>2];N[a+92>>2]=d;d=N[c+4>>2];N[a+80>>2]=N[c>>2];N[a+84>>2]=d;d=N[c+4>>2];N[a+64>>2]=N[c>>2];N[a+68>>2]=d;d=N[c+12>>2];N[a+72>>2]=N[c+8>>2];N[a+76>>2]=d;c=N[b+4>>2];N[a+96>>2]=N[b>>2];N[a+100>>2]=c;f=1;break a}k=S[a+80>>3];o=S[c>>3];l=S[a+88>>3];p=S[c+8>>3];m=k*o+l*p;if(m>S[a+112>>3]){m=1/(m+1);S[a+88>>3]=m*(l+p);S[a+80>>3]=(k+o)*m;f=1;break a}g=N[c+4>>2];N[a+80>>2]=N[c>>2];N[a+84>>2]=g;g=N[c+12>>2];N[a+88>>2]=N[c+8>>2];N[a+92>>2]=g;h=k*p-o*l;n=h<0?1:2;b:{if(!(n&d)){break b}q=n&(N[a+60>>2]^-1);r=N[b+4>>2];j=l*S[a+24>>3];c:{if(V(j)<2147483648){g=~~j;break c}g=-2147483648}f=q&1;j=k*S[a+16>>3];d:{if(V(j)<2147483648){i=~~j;break d}i=-2147483648}s=N[b>>2];if(f){N[e+164>>2]=g+r;N[e+160>>2]=i+s;t=N[a>>2];f=N[e+164>>2];N[e+112>>2]=N[e+160>>2];N[e+116>>2]=f;f=0;if(!Fb(t,e+112|0,1)){break a}}if(q>>>0>=2){N[e+164>>2]=r-g;N[e+160>>2]=s-i;g=N[a+4>>2];i=N[e+164>>2];N[e+104>>2]=N[e+160>>2];N[e+108>>2]=i;f=0;if(!Fb(g,e+104|0,1)){break a}}j=S[a+24>>3]*0;e:{if(V(j)<2147483648){g=~~j;break e}g=-2147483648}f=n&1;j=S[a+16>>3]*0;f:{if(V(j)<2147483648){i=~~j;break f}i=-2147483648}if(f){N[e+164>>2]=g+r;N[e+160>>2]=i+s;q=N[a>>2];f=N[e+164>>2];N[e+96>>2]=N[e+160>>2];N[e+100>>2]=f;f=0;if(!Fb(q,e+96|0,1)){break a}}if(h<0){break b}N[e+164>>2]=r-g;N[e+160>>2]=s-i;g=N[a+4>>2];i=N[e+164>>2];N[e+88>>2]=N[e+160>>2];N[e+92>>2]=i;f=0;if(!Fb(g,e+88|0,1)){break a}}N[a+60>>2]=n;d=(n^-1)&d;f=1;if(!d){break a}S[e+136>>3]=l;S[e+128>>3]=k;g=N[b+4>>2];N[e+120>>2]=N[b>>2];N[e+124>>2]=g;h=m;if(h<0){h=(d&2?-.7071067811865476:.7071067811865476)/aa(1-m);S[e+152>>3]=h*(k-o);S[e+144>>3]=h*(p-l);h=m*.5+.5;h=aa(h<0?0:h)}k=S[a+120>>3];g:{if(!(k>h)){b=15;break g}b=15;while(1){h=h+1;l=.7071067811865476/aa(h);S[(e+160|0)+(b<<3)>>3]=l;b=b-1|0;h=h*l;if(!(k>h)){break g}if(b){continue}break}}g=(e+160|0)+(b<<3)|0;S[g>>3]=1/(h+1);i=15-b|0;b=e+128|0;if(m<0){b=N[e+140>>2];N[e+72>>2]=N[e+136>>2];N[e+76>>2]=b;b=N[e+156>>2];N[e+56>>2]=N[e+152>>2];N[e+60>>2]=b;b=N[e+124>>2];N[e+80>>2]=N[e+120>>2];N[e+84>>2]=b;b=N[e+132>>2];N[e+64>>2]=N[e+128>>2];N[e+68>>2]=b;b=N[e+148>>2];N[e+48>>2]=N[e+144>>2];N[e+52>>2]=b;b=e+144|0;f=0;if(!Bd(a,e+80|0,e- -64|0,e+48|0,g,i,d)){break a}}f=N[e+124>>2];N[e+40>>2]=N[e+120>>2];N[e+44>>2]=f;f=N[b+12>>2];N[e+32>>2]=N[b+8>>2];N[e+36>>2]=f;f=N[b+4>>2];N[e+24>>2]=N[b>>2];N[e+28>>2]=f;b=N[c+12>>2];N[e+16>>2]=N[c+8>>2];N[e+20>>2]=b;b=N[c+4>>2];N[e+8>>2]=N[c>>2];N[e+12>>2]=b;f=Bd(a,e+40|0,e+24|0,e+8|0,g,i,d)}La=e+288|0;return f}function ub(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;c=O[b|0];if(!c){return a}a=lc(a,c<<24>>24);a:{if(!a){break a}f=O[b+1|0];if(!f){return a}if(!O[a+1|0]){break a}if(!O[b+2|0]){b=O[a+1|0];e=(b|0)!=0;b:{if(!b){break b}d=b|O[a|0]<<8;f=c<<8|f;if((d|0)==(f|0)){break b}b=a+1|0;while(1){a=b;c=O[b+1|0];e=(c|0)!=0;if(!c){break b}b=a+1|0;d=c|d<<8&65280;if((f|0)!=(d|0)){continue}break}}return e?a:0}if(!O[a+2|0]){break a}if(!O[b+3|0]){c=a;a=a+2|0;d=O[c+2|0];e=(d|0)!=0;c:{d:{if(!d){break d}c=O[c+1|0]<<16|O[c|0]<<24|d<<8;f=O[b+1|0]<<16|O[b|0]<<24|O[b+2|0]<<8;if((c|0)==(f|0)){break d}while(1){b=a+1|0;d=O[a+1|0];e=(d|0)!=0;if(!d){break c}a=b;c=(c|d)<<8;if((f|0)!=(c|0)){continue}break}break c}b=a}return e?b-2|0:0}if(!O[a+3|0]){break a}if(!O[b+4|0]){c=a;a=a+3|0;d=O[c+3|0];e=(d|0)!=0;e:{f:{if(!d){break f}d=d|(O[c+1|0]<<16|O[c|0]<<24|O[c+2|0]<<8);b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((d|0)==(f|0)){break f}while(1){b=a+1|0;c=O[a+1|0];e=(c|0)!=0;if(!c){break e}a=b;d=c|d<<8;if((f|0)!=(d|0)){continue}break}break e}b=a}return e?b-3|0:0}d=a;c=0;i=La-1056|0;La=i;a=i+1048|0;N[a>>2]=0;N[a+4>>2]=0;a=i+1040|0;N[a>>2]=0;N[a+4>>2]=0;N[i+1032>>2]=0;N[i+1036>>2]=0;N[i+1024>>2]=0;N[i+1028>>2]=0;k=b;g:{h:{i:{j:{b=O[b|0];k:{if(!b){j=-1;a=1;break k}while(1){if(!O[d+g|0]){break h}g=g+1|0;N[((b&255)<<2)+i>>2]=g;a=(i+1024|0)+(b>>>3&28)|0;N[a>>2]=N[a>>2]|1<>>0>1){break j}}e=-1;h=1;break i}f=1;b=1;while(1){e=O[k+(b+j|0)|0];h=O[a+k|0];l:{if((e|0)==(h|0)){if((b|0)==(f|0)){c=c+f|0;b=1;break l}b=b+1|0;break l}if(e>>>0>h>>>0){f=a-j|0;c=a;b=1;break l}j=c;c=c+1|0;f=1;b=1}a=b+c|0;if(g>>>0>a>>>0){continue}break}e=-1;c=0;a=1;h=1;b=1;while(1){m=O[k+(b+e|0)|0];l=O[a+k|0];m:{if((m|0)==(l|0)){if((b|0)==(h|0)){c=c+h|0;b=1;break m}b=b+1|0;break m}if(l>>>0>m>>>0){h=a-e|0;c=a;b=1;break m}e=c;c=c+1|0;h=1;b=1}a=b+c|0;if(g>>>0>a>>>0){continue}break}a=f}b=a;a=e+1>>>0>j+1>>>0;h=a?h:b;l=a?e:j;m=l+1|0;n:{if(Mb(k,k+h|0,m)){a=(l^-1)+g|0;h=(a>>>0>>0?l:a)+1|0;f=0;break n}f=g-h|0}o=g-1|0;n=g|63;e=0;a=d;while(1){o:{if(d-a>>>0>=g>>>0){break o}b=qe(d,0,n);if(b){d=b;if(b-a>>>0>>0){break h}break o}d=d+n|0}c=O[a+o|0];b=g;p:{q:{if(!(N[(i+1024|0)+(c>>>3&28)>>2]>>>c&1)){break q}b=N[(c<<2)+i>>2];if((b|0)!=(g|0)){b=g-b|0;b=b>>>0>e>>>0?b:e;break q}r:{b=m;c=b>>>0>e>>>0?b:e;j=O[k+c|0];if(j){while(1){if(O[a+c|0]!=(j&255)){break r}c=c+1|0;j=O[k+c|0];if(j){continue}break}}while(1){if(b>>>0<=e>>>0){break g}b=b-1|0;if(O[k+b|0]==O[a+b|0]){continue}break}b=h;e=f;break p}b=c-l|0}e=0}a=a+b|0;continue}}a=0}La=i+1056|0;e=a}return e}function oE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;e=La-48|0;La=e;if(ib(c,b,11986,0)){r=wf(b,c,1,11,-1,-1);p=N[c+68>>2];if(p){j=p-1|0;l=N[c+80>>2];g=l+3|0;h=O[l+15|0];k=h;while(1){a:{if((d|0)==(j|0)){d=p;break a}d=d+1|0;if((k|0)==O[(g+T(d,20)|0)+12|0]){continue}}break}k=0;s=a;a=p;while(1){j=d;b:{if(h&14){break b}g=k+1|0;if(j>>>0<=g>>>0){break b}m=N[s+112>>2];h=N[m+8>>2]|N[m+4>>2]|N[m+12>>2];a=0;d=g;i=j+(k^-1)&3;if(i){while(1){n=T(d,20)+l|0;N[n+4>>2]=h|N[n+4>>2];d=d+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if((j-k|0)-2>>>0>2){while(1){a=T(d,20)+l|0;N[a+4>>2]=h|N[a+4>>2];N[a+24>>2]=h|N[a+24>>2];N[a+44>>2]=h|N[a+44>>2];a=a- -64|0;N[a>>2]=h|N[a>>2];d=d+4|0;if((j|0)!=(d|0)){continue}break}}t=j-3|0;u=j+2|0;q=l+2|0;n=T(g,20)+l|0;i=T(k,20)+l|0;v=i+40|0;d=0;while(1){h=g;g=T(h,20);a=g+l|0;f=O[(g+q|0)+16|0];c:{if(!((f|0)!=4|d>>>0>2)){g=h+1|0;if(j>>>0<=g>>>0){break c}f=T(g,20);if(O[(f+q|0)+16|0]!=15){d=d+1|0;break c}N[a+4>>2]=N[a+4>>2]|N[m>>2];f=f+l|0;N[f+4>>2]=N[f+4>>2]|N[m>>2];d=h+2|0;if(d-k>>>0>=2){Ib(c,k,d)}N[e+40>>2]=N[a+16>>2];o=N[a+12>>2];N[e+32>>2]=N[a+8>>2];N[e+36>>2]=o;o=N[a+4>>2];N[e+24>>2]=N[a>>2];N[e+28>>2]=o;N[e+16>>2]=N[f+16>>2];a=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=a;a=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=a;F(v,i,T(h-k|0,20));N[i+16>>2]=N[e+40>>2];a=N[e+36>>2];N[i+8>>2]=N[e+32>>2];N[i+12>>2]=a;a=N[e+28>>2];N[i>>2]=N[e+24>>2];N[i+4>>2]=a;N[n+16>>2]=N[e+16>>2];a=N[e+12>>2];N[n+8>>2]=N[e+8>>2];N[n+12>>2]=a;a=N[e+4>>2];N[n>>2]=N[e>>2];N[n+4>>2]=a;d:{if(!N[m+16>>2]|d>>>0>=j>>>0){break d}a=0;f=u-h&3;if(f){while(1){o=T(d,20)+l|0;N[o+4>>2]=N[o+4>>2]|N[m+16>>2];d=d+1|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}}if(t-h>>>0<3){break d}while(1){a=T(d,20)+l|0;N[a+4>>2]=N[a+4>>2]|N[m+16>>2];N[a+24>>2]=N[a+24>>2]|N[m+16>>2];N[a+44>>2]=N[a+44>>2]|N[m+16>>2];a=a- -64|0;N[a>>2]=N[a>>2]|N[m+16>>2];d=d+4|0;if((j|0)!=(d|0)){continue}break}}d=2;break c}g=h+1|0;if((f|0)!=22){break c}if(g-k>>>0>=2){Ib(c,k,g)}N[e+40>>2]=N[a+16>>2];f=N[a+12>>2];N[e+32>>2]=N[a+8>>2];N[e+36>>2]=f;f=N[a+4>>2];N[e+24>>2]=N[a>>2];N[e+28>>2]=f;F(n,i,T(h-k|0,20));N[i+16>>2]=N[e+40>>2];a=N[e+36>>2];N[i+8>>2]=N[e+32>>2];N[i+12>>2]=a;a=N[e+28>>2];N[i>>2]=N[e+24>>2];N[i+4>>2]=a}if((j|0)!=(g|0)){continue}break}l=N[c+80>>2];a=N[c+68>>2]}d=j+1|0;g=a>>>0>d>>>0?a:d;k=g-1|0;i=l+3|0;h=O[(T(j,20)+l|0)+15|0];d=j;while(1){e:{if((d|0)==(k|0)){d=g;break e}d=d+1|0;if(O[(i+T(d,20)|0)+12|0]==(h|0)){continue}}break}k=j;if(j>>>0

>>0){continue}break}}ib(c,b,12009,0)}a=O[c+140|0];if(a&64){L[c+140|0]=a&191;La=e+48|0;return r|0}ba(22742,14165,187,12136);B()}function ff(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,N=0,O=0,Q=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;h=La-48|0;l=f<<1;o=l+c|0;a:{if(!o){break a}if(!d){while(1){g=g+8|0;if(o>>>0>g>>>0){continue}break a}}p=T(c+7&-8,d);g=l+7|0;c=g>>>3|0;Z=1-c|0;q=d<<3;r=0-c|0;_=T(q,r);$=g&8;aa=0-f|0;i=h+32|0;l=i+(r<<4)|0;I=i-(f<<1)|0;s=7-f|0;J=(s<<1)+i|0;t=6-f|0;K=(t<<1)+i|0;u=5-f|0;L=(u<<1)+i|0;v=4-f|0;N=(v<<1)+i|0;w=3-f|0;O=(w<<1)+i|0;x=2-f|0;Q=(x<<1)+i|0;y=1-f|0;R=(y<<1)+i|0;while(1){z=0;while(1){g=r;if(!$){c=n+_|0;h=c>>>0>=p>>>0?440592:(c<<1)+b|0;g=P[h+4>>1]|P[h+6>>1]<<16;c=P[h>>1]|P[h+2>>1]<<16;M[l>>1]=c;M[l+2>>1]=c>>>16;M[l+4>>1]=g;M[l+6>>1]=g>>>16;g=P[h+12>>1]|P[h+14>>1]<<16;c=P[h+8>>1]|P[h+10>>1]<<16;M[l+8>>1]=c;M[l+10>>1]=c>>>16;M[l+12>>1]=g;M[l+14>>1]=g>>>16;g=Z}while(1){h=T(g,q)+n|0;j=h>>>0>=p>>>0?440592:(h<<1)+b|0;k=P[j+4>>1]|P[j+6>>1]<<16;c=(g<<4)+i|0;h=P[j>>1]|P[j+2>>1]<<16;M[c>>1]=h;M[c+2>>1]=h>>>16;M[c+4>>1]=k;M[c+6>>1]=k>>>16;k=P[j+12>>1]|P[j+14>>1]<<16;h=P[j+8>>1]|P[j+10>>1]<<16;M[c+8>>1]=h;M[c+10>>1]=h>>>16;M[c+12>>1]=k;M[c+14>>1]=k>>>16;k=g+1|0;m=(k<<4)+i|0;c=T(k,q)+n|0;j=c>>>0>=p>>>0?440592:(c<<1)+b|0;h=P[j+12>>1]|P[j+14>>1]<<16;c=P[j+8>>1]|P[j+10>>1]<<16;M[m+8>>1]=c;M[m+10>>1]=c>>>16;M[m+12>>1]=h;M[m+14>>1]=h>>>16;h=P[j+4>>1]|P[j+6>>1]<<16;c=P[j>>1]|P[j+2>>1]<<16;M[m>>1]=c;M[m+2>>1]=c>>>16;M[m+4>>1]=h;M[m+6>>1]=h>>>16;g=g+2|0;if(k){continue}break}S=M[J>>1];U=M[K>>1];V=M[L>>1];W=M[N>>1];X=M[O>>1];m=M[Q>>1];j=M[R>>1];k=M[I>>1];A=32768;B=32768;C=32768;D=32768;E=32768;F=32768;G=32768;H=32768;g=f;while(1){c=g-1|0;h=M[(c<<1)+e>>1];A=T(h,(P[(g+s<<1)+i>>1]-S<<16>>16)+(P[(s-g<<1)+i>>1]-S<<16>>16)|0)+A|0;B=T(h,(P[(g+t<<1)+i>>1]-U<<16>>16)+(P[(t-g<<1)+i>>1]-U<<16>>16)|0)+B|0;C=T(h,(P[(g+u<<1)+i>>1]-V<<16>>16)+(P[(u-g<<1)+i>>1]-V<<16>>16)|0)+C|0;D=T(h,(P[(g+v<<1)+i>>1]-W<<16>>16)+(P[(v-g<<1)+i>>1]-W<<16>>16)|0)+D|0;E=T(h,(P[(g+w<<1)+i>>1]-X<<16>>16)+(P[(w-g<<1)+i>>1]-X<<16>>16)|0)+E|0;F=T(h,(P[(g+x<<1)+i>>1]-m<<16>>16)+(P[(x-g<<1)+i>>1]-m<<16>>16)|0)+F|0;G=T(h,(P[(g+y<<1)+i>>1]-j<<16>>16)+(P[(y-g<<1)+i>>1]-j<<16>>16)|0)+G|0;H=T(h,(P[(g-f<<1)+i>>1]-k<<16>>16)+(P[(aa-g<<1)+i>>1]-k<<16>>16)|0)+H|0;h=(g|0)>1;g=c;if(h){continue}break}M[a>>1]=P[I>>1]+(H>>>16|0);M[a+2>>1]=P[R>>1]+(G>>>16|0);M[a+4>>1]=P[Q>>1]+(F>>>16|0);M[a+6>>1]=P[O>>1]+(E>>>16|0);M[a+8>>1]=P[N>>1]+(D>>>16|0);M[a+10>>1]=P[L>>1]+(C>>>16|0);M[a+12>>1]=P[K>>1]+(B>>>16|0);M[a+14>>1]=P[J>>1]+(A>>>16|0);n=n+8|0;a=a+16|0;z=z+1|0;if((z|0)!=(d|0)){continue}break}Y=Y+8|0;if(Y>>>0>>0){continue}break}}}function Kv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;e=La-1536|0;La=e;g=6;j=N[a+4>>2];a:{if(Q[j+16>>2]<=c>>>0){break a}h=N[j+136>>2];N[a+164>>2]=N[b+16>>2];N[a+168>>2]=N[b+20>>2];p=d&1024?d|3:d;n=p&1;L[a+161|0]=!n;d=!(p&3);L[a+160|0]=d;N[a+108>>2]=0;N[a+72>>2]=1869968492;g=Qa[N[N[h+12>>2]>>2]](e+20|0,j,b,a,0,0,d,p>>>16&15,155)|0;if(g){break a}f=p&1024;L[e+89|0]=f>>>10;g=um(e+20|0,c);if(!g){k=O[a+161|0];g=O[a+160|0];d=e+1408|0;c=N[d+4>>2];N[e+8>>2]=N[d>>2];N[e+12>>2]=c;c=N[e+1404>>2];N[e>>2]=N[e+1400>>2];N[e+4>>2]=c;o=N[e+1420>>2];l=N[e+1416>>2];Qa[N[N[h+12>>2]+4>>2]](e+20|0);h=N[a+124>>2]&1;N[a+124>>2]=h|4;if(f){b=N[e+52>>2];N[a+32>>2]=((b>>31)+b|0)+32768>>16;b=N[e+60>>2];N[a+40>>2]=((b>>31)+b|0)+32768>>16;h=N[e+8>>2];d=N[e+12>>2];c=N[e>>2];b=N[e+4>>2];a=N[a+156>>2];N[a+28>>2]=l;N[a+32>>2]=o;L[a+8|0]=1;N[a+20>>2]=h;N[a+24>>2]=d;N[a+12>>2]=c;N[a+16>>2]=b;g=0;break a}c=N[e+60>>2];f=((c>>31)+c|0)+32768>>16;N[a+56>>2]=f;N[a+40>>2]=f;L[N[a+156>>2]+8|0]=0;d=N[j+200>>2];c=N[j+208>>2];N[a+72>>2]=1869968492;m=c-d>>16;N[a+60>>2]=m;N[a+52>>2]=m;if(P[b+14>>1]<=23){N[a+124>>2]=h|260}b=a+108|0;b:{if(!(N[e+4>>2]|(N[e>>2]!=65536|N[e+12>>2]!=65536))){if(!N[e+8>>2]){break b}}kg(b,e);f=ob(N[a+40>>2],N[e>>2]);N[a+40>>2]=f;m=ob(N[a+52>>2],N[e+12>>2]);N[a+52>>2]=m}if(l|o){te(b,l,o);f=l+N[a+40>>2]|0;N[a+40>>2]=f;m=o+N[a+52>>2]|0;N[a+52>>2]=m}if(!(k?0:n)){s=N[a+168>>2];t=N[a+164>>2];c:{if(N[e+92>>2]?g:0){break c}g=N[e+36>>2];b=M[g+2>>1];if((b|0)<=0){break c}b=b&65535;c=s>>31;q=(c^s)-c|0;o=q&65535;l=q>>>16|0;n=q>>>8|0;c=t>>31;r=(c^t)-c|0;k=r&65535;h=r>>>16|0;d=r>>>8|0;g=N[g+4>>2];while(1){j=N[g>>2];c=j>>31;i=(c^j)-c|0;d:{if(i+d>>>0<=8190){i=T(i,r)+32768>>>16|0;break d}c=i&65535;i=T(c,h)+T(r,i>>>16|0)+(T(c,k)+32768>>>16)|0}c=i;u=0-c|0;c=j>>31|1;N[g>>2]=(((t|0)<0?0-c|0:c)|0)<0?u:i;j=N[g+4>>2];c=j>>31;i=(c^j)-c|0;e:{if(i+n>>>0<=8190){i=T(i,q)+32768>>>16|0;break e}c=i&65535;i=T(c,l)+T(q,i>>>16|0)+(T(c,o)+32768>>>16)|0}c=i;u=0-c|0;c=j>>31|1;N[g+4>>2]=(((s|0)<0?0-c|0:c)|0)<0?u:i;g=g+8|0;c=b>>>0>1;b=b-1|0;if(c){continue}break}}v=a,w=ob(f,t),N[v+40>>2]=w;m=ob(m,s);N[a+52>>2]=m}g=0;d=0;h=0;b=0;c=0;k=M[a+110>>1];f:{if(!k){break f}f=N[a+112>>2];b=N[f+4>>2];c=N[f>>2];if((k|0)<2){d=b;h=c;break f}n=(k<<3)+f|0;k=f+8|0;h=c;d=b;while(1){l=N[f+12>>2];d=(d|0)<(l|0)?l:d;b=(b|0)>(l|0)?l:b;f=N[f+8>>2];h=(f|0)>(h|0)?f:h;c=(c|0)>(f|0)?f:c;f=k;k=f+8|0;if(n>>>0>k>>>0){continue}break}}N[a+36>>2]=d;N[a+32>>2]=c;N[a+28>>2]=d-b;N[a+24>>2]=h-c;if(!(p&16)){break a}tn(a+24|0,m);break a}Qa[N[N[h+12>>2]+4>>2]](e+20|0)}La=e+1536|0;return g|0}function Wu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[a+492>>2];h=N[b+8>>2];Qa[N[b+28>>2]](b);d=N[b>>2];if(h>>>0<=d>>>0){N[b+12>>2]=3;return}a:{b:{c:{j=O[d|0];if(!((j|0)!=91&j-48>>>0>9)){e=N[b+16>>2];if((j|0)==91){N[b>>2]=d+1;f=256;break c}f=Qa[N[b+36>>2]](b)|0;if((f|0)<257){break c}N[b+12>>2]=3;return}d:{if(d+17>>>0>=h>>>0){break d}if(bb(d,14716,16)){break d}N[a+368>>2]=2;return}e:{if(d+15>>>0>=h>>>0){break e}if(bb(d,14701,14)){break e}N[a+368>>2]=4;return}f:{if(d+18>>>0>=h>>>0){break f}if(bb(d,14733,17)){break f}N[a+368>>2]=3;return}N[b+12>>2]=162;break b}Qa[N[b+28>>2]](b);if(Q[b>>2]>=h>>>0){break b}i=b+92|0;g=a;a=a+384|0;c=N[a>>2];g:{if(!c){break g}Qa[N[e+8>>2]](e,c);N[g+384>>2]=0;c=N[g+388>>2];if(c){Qa[N[e+8>>2]](e,c)}N[g+388>>2]=0;c=N[b+140>>2];if(!c){break g}Qa[c|0](i)}N[g+372>>2]=f;N[b+88>>2]=f;if((f|0)<0){N[g+384>>2]=0;N[b+12>>2]=6;return}h:{i:{j:{k:{l:{m:{n:{if(f){if((f|0)>1073741823){break l}c=f<<1;a=Qa[N[e+4>>2]](e,c)|0;if(a?(f|0)>0:0){break n}N[g+384>>2]=a;if(a){break m}N[b+12>>2]=!a<<6;return}c=0;N[g+384>>2]=0;break j}C(a,0,c);N[g+384>>2]=a}if((f|0)<536870912){break k}a=g+388|0}N[a>>2]=0;N[b+12>>2]=10;return}a=f<<2;c=Qa[N[e+4>>2]](e,a)|0;if(!c|(f|0)<=0){break i}C(c,0,a)}N[g+388>>2]=c;break h}N[g+388>>2]=c;if(c){break h}a=!c<<6;break a}a=Qa[N[N[k>>2]>>2]](i,f,e)|0;if(a){break a}o:{if((f|0)<=0){break o}e=0;a=0;if(f>>>0>=4){c=f&-4;while(1){Qa[N[b+136>>2]](i,a,15265,8)|0;Qa[N[b+136>>2]](i,a|1,15265,8)|0;Qa[N[b+136>>2]](i,a|2,15265,8)|0;Qa[N[b+136>>2]](i,a|3,15265,8)|0;a=a+4|0;if((c|0)!=(a|0)){continue}break}}c=f&3;if(!c){break o}while(1){Qa[N[b+136>>2]](i,a,15265,8)|0;a=a+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}Qa[N[b+28>>2]](b);a=N[b>>2];p:{if(h>>>0<=a>>>0){break p}k=(j|0)==91;c=0;while(1){q:{r:{s:{e=O[a|0];switch(e-93|0){case 0:break r;case 7:break s;default:break q}}d=a+3|0;if(O[a+1|0]!=101|h>>>0<=d>>>0|O[a+2|0]!=102){break q}switch(O[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break p;default:break q}}d=a+1|0;break p}t:{u:{if(!(!k&e-48>>>0>9)){if(k){d=a;e=c;break u}e=Qa[N[b+36>>2]](b)|0;Qa[N[b+28>>2]](b);d=N[b>>2];if((d|0)!=(a|0)){break u}N[b+12>>2]=2;return}Qa[N[b+32>>2]](b);d=a;if(N[b+12>>2]){break b}break t}if(!(O[d|0]!=47|d+2>>>0>=h>>>0|(c|0)>=(f|0))){d=d+1|0;N[b>>2]=d;Qa[N[b+32>>2]](b);a=N[b>>2];if(N[b+12>>2]|a>>>0>=h>>>0){break b}a=a-d|0;l=Qa[N[b+136>>2]](i,e,d,a+1|0)|0;N[b+12>>2]=l;if(l){break b}L[a+N[N[b+116>>2]+(e<<2)>>2]|0]=0;c=c+1|0;break t}if((j|0)!=91){break t}N[b+12>>2]=2;return}Qa[N[b+28>>2]](b);a=N[b>>2];if(h>>>0>a>>>0){continue}break}}N[g+368>>2]=1;N[b>>2]=d;return}return}N[b+12>>2]=a}function ot(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-16|0;La=g;N[a+788>>2]=0;N[a+792>>2]=0;j=a+796|0;c=j;N[c>>2]=0;N[c+4>>2]=0;k=a+788|0;a:{b:{c:{d:{if(!(Qa[N[a+516>>2]](a,1128418371,b,g+12|0)|0)){d=2;break d}d=1;if(!(Qa[N[a+516>>2]](a,1161972803,b,g+12|0)|0)){break d}if(!(Qa[N[a+516>>2]](a,1651273571,b,g+12|0)|0)){break d}d=Qa[N[a+516>>2]](a,1935829368,b,g+12|0)|0;if(d){break c}d=3}N[j>>2]=d;c=N[g+12>>2];if(c>>>0<8){d=3;break c}l=a+800|0;i=N[b+8>>2];e:{f:{g:{h:{switch(d-1|0){case 0:case 1:d=fc(b,c,k);if(d){break c}f=N[g+12>>2];N[a+792>>2]=f;c=N[a+788>>2];e=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);i:{if((O[c+1|0]<<16|O[c|0]<<24|65536)==196608){break i}c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8|256)&65535)==768){break i}d=2;break c}d=3;c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(c>>>0>65535){break c}if(f>>>0>=(T(c,48)|8)>>>0){break g}c=(f-8>>>0)/48|0;break g;case 2:break h;default:break f}}c=N[b+4>>2];j:{if(N[b+20>>2]){d=85;if(c>>>0<8){break c}c=N[b+28>>2];d=Qa[N[c+4>>2]](c,8)|0;if(!d){break e}N[b>>2]=d;h=Qa[N[b+20>>2]](b,N[b+8>>2],d,8)|0;e=N[b>>2];if(h>>>0>7){d=0}else{if(e){Qa[N[c+8>>2]](c,e)}e=0;N[b>>2]=0;d=85}N[b+32>>2]=e;f=e?e+8|0:0;N[b+36>>2]=f;N[b+8>>2]=h+N[b+8>>2];c=e;if(h>>>0>=8){break j}break c}d=85;if(c-i>>>0<8|c>>>0<=i>>>0){break c}N[b+8>>2]=i+8;e=N[b>>2];c=i+e|0;N[b+32>>2]=c;f=c+8|0;N[b+36>>2]=f}k:{if(c+1>>>0>=f>>>0){d=0;break k}d=O[c|0]|O[c+1|0]<<8;d=d<<8|d>>>8;c=c+2|0}N[b+32>>2]=c;if(c+1>>>0>>0){m=O[c+1|0]&253|O[c|0]<<8;c=c+2|0}N[b+32>>2]=c;h=0;if(c+3>>>0>>0){f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=c+4|0}N[b+32>>2]=c;if(N[b+20>>2]){if(e){c=N[b+28>>2];Qa[N[c+8>>2]](c,e)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!(d&65535)){d=2;break c}d=3;if((m|0)!=1|h>>>0>65535){break c}c=N[b+8>>2]-8|0;e=N[g+12>>2];f=N[b+20>>2];l:{if(f){d=85;if(!(Qa[f|0](b,c,0,0)|0)){break l}break c}d=85;if(c>>>0>Q[b+4>>2]){break c}}N[b+8>>2]=c;c=e>>>0<(h<<2)+8>>>0?e-8>>>2|0:h;d=(c<<2)+8|0;N[a+792>>2]=d;d=fc(b,d,k);if(d){break c}}N[a+800>>2]=c;d=N[j>>2]}N[a+860>>2]=0;N[a+864>>2]=0;m:{n:{o:{switch(d|0){case 3:N[a+860>>2]=i;b=N[g+12>>2];break n;case 0:break b;default:break o}}p:{if(!(Qa[N[a+516>>2]](a,1128416340,b,g+8|0)|0)){break p}if(!(Qa[N[a+516>>2]](a,1161970772,b,g+8|0)|0)){break p}if(!(Qa[N[a+516>>2]](a,1650745716,b,g+8|0)|0)){break p}b=N[a+864>>2];break m}N[a+860>>2]=N[b+8>>2];b=N[g+8>>2]}N[a+864>>2]=b}d=0;if(!b){break b}break a}N[b>>2]=0;d=64}c=N[k>>2];if(c){if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,c)}N[k>>2]=0}N[a+792>>2]=0;l=j}N[l>>2]=0}La=g+16|0;return d|0}function gx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+492>>2];h=N[b+8>>2];Qa[N[b+28>>2]](b);d=N[b>>2];if(h>>>0<=d>>>0){N[b+12>>2]=3;return}a:{b:{c:{l=O[d|0];if(!((l|0)!=91&l-48>>>0>9)){f=N[b+16>>2];d:{if((l|0)==91){N[b>>2]=d+1;c=256;break d}c=Qa[N[b+36>>2]](b)|0}k=c;Qa[N[b+28>>2]](b);if(Q[b>>2]>=h>>>0){break b}j=b+100|0;i=(k|0)>=256?256:k;c=N[a+384>>2];e:{if(!c){break e}Qa[N[f+8>>2]](f,c);N[a+384>>2]=0;c=N[a+388>>2];if(c){Qa[N[f+8>>2]](f,c)}N[a+388>>2]=0;c=N[b+148>>2];if(!c){break e}Qa[c|0](j)}N[a+372>>2]=i;N[b+96>>2]=i;if((i|0)<0){N[a+384>>2]=0;N[b+12>>2]=6;return}f:{g:{h:{i:{if(i){c=i<<1;e=Qa[N[f+4>>2]](f,c)|0;if(e?(k|0)>0:0){break i}N[a+384>>2]=e;if(e){break h}N[b+12>>2]=!e<<6;return}N[a+384>>2]=0;break g}C(e,0,c);N[a+384>>2]=e}c=i<<2;e=Qa[N[f+4>>2]](f,c)|0;if(!e|(k|0)<=0){break f}C(e,0,c)}N[a+388>>2]=e;break c}N[a+388>>2]=e;if(e){break c}c=!e<<6;break a}j:{if(d+17>>>0>=h>>>0){break j}if(bb(d,14716,16)){break j}N[a+368>>2]=2;return}k:{if(d+15>>>0>=h>>>0){break k}if(bb(d,14701,14)){break k}N[a+368>>2]=4;return}l:{if(d+18>>>0>=h>>>0){break l}if(bb(d,14733,17)){break l}N[a+368>>2]=3;return}N[b+12>>2]=162;break b}c=Qa[N[N[g>>2]>>2]](j,i,f)|0;if(c){break a}m:{if((k|0)<=0){break m}g=(i|0)<=1?1:i;f=g&3;e=0;c=0;if(g>>>0>=4){g=g&2147483644;while(1){Qa[N[b+144>>2]](j,c,15265,8)|0;Qa[N[b+144>>2]](j,c|1,15265,8)|0;Qa[N[b+144>>2]](j,c|2,15265,8)|0;Qa[N[b+144>>2]](j,c|3,15265,8)|0;c=c+4|0;if((g|0)!=(c|0)){continue}break}}if(!f){break m}while(1){Qa[N[b+144>>2]](j,c,15265,8)|0;c=c+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}Qa[N[b+28>>2]](b);c=N[b>>2];n:{if(h>>>0<=c>>>0){break n}m=(l|0)==91;g=0;while(1){o:{p:{q:{e=O[c|0];switch(e-93|0){case 0:break p;case 7:break q;default:break o}}d=c+3|0;if(O[c+1|0]!=101|h>>>0<=d>>>0|O[c+2|0]!=102){break o}switch(O[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break n;default:break o}}d=c+1|0;break n}r:{s:{if(!(!m&e-48>>>0>9)){if(m){d=c;e=g;break s}e=Qa[N[b+36>>2]](b)|0;Qa[N[b+28>>2]](b);d=N[b>>2];if((d|0)!=(c|0)){break s}N[b+12>>2]=2;return}Qa[N[b+32>>2]](b);d=c;if(N[b+12>>2]){break b}break r}if(!(O[d|0]!=47|d+2>>>0>=h>>>0|(g|0)>=(k|0))){d=d+1|0;N[b>>2]=d;Qa[N[b+32>>2]](b);c=N[b>>2];if(N[b+12>>2]|c>>>0>=h>>>0){break b}if((g|0)<(i|0)){f=c-d|0;c=Qa[N[b+144>>2]](j,e,d,f+1|0)|0;N[b+12>>2]=c;if(c){break b}L[f+N[N[b+124>>2]+(e<<2)>>2]|0]=0}g=g+1|0;break r}if((l|0)!=91){break r}N[b+12>>2]=2;return}Qa[N[b+28>>2]](b);c=N[b>>2];if(h>>>0>c>>>0){continue}break}}N[a+368>>2]=1;N[b>>2]=d;return}return}N[b+12>>2]=c}function jt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-16|0;La=g;m=N[a+100>>2];N[g+8>>2]=0;k=Qa[N[a+516>>2]](a,1129333068,b,g+4|0)|0;a:{b:{if(k){break b}k=8;c=N[g+4>>2];if(c>>>0<12){break b}k=fc(b,c,g+8|0);if(k){break b}h=N[g+8>>2];d=Qa[N[m+4>>2]](m,20)|0;if(d){L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;k=8;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;N[g+12>>2]=0;c=O[h|0]|O[h+1|0]<<8;l=c<<8|c>>>8;M[d>>1]=l;if((l&65535)>>>0>1){break b}c=O[h+2|0]|O[h+3|0]<<8;j=c<<8|c>>>8;M[a+660>>1]=j;c=O[h+4|0]|O[h+5|0]<<8;c=c<<8|c>>>8;M[a+648>>1]=c;f=O[h+6|0]|O[h+7|0]<<8;i=f<<8|f>>>8;M[d+2>>1]=i;f=N[g+4>>2];n=c&65535;e=n<<1;if(f>>>0>>0){break b}c=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>=f>>>0){break b}i=i&65535;if(f-c>>>0>>0|i>>>0<(j&65535)>>>0){break b}j=h+12|0;N[d+8>>2]=j;N[d+4>>2]=c+h;c:{if((l&65535)!=1){break c}if(f>>>0>>0){break b}c=e+j|0;l=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);j=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(i){if(f>>>0<=i>>>0|e>>>0>f-i>>>0){break b}f=lb(m,2,0,n,0,g+12|0);c=N[g+12>>2];if(c){k=c;break b}c=P[a+648>>1];if(c){n=f+(c<<1)|0;e=h+i|0;c=f;while(1){i=O[e|0]|O[e+1|0]<<8;M[c>>1]=i<<8|i>>>8;e=e+2|0;c=c+2|0;if(n>>>0>c>>>0){continue}break}}N[a+656>>2]=f}e=j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24);if(e){c=N[g+4>>2];if(c>>>0<=e>>>0){break b}f=c-e|0;c=P[a+648>>1];if(f>>>0>>0){break b}f=lb(m,2,0,c,0,g+12|0);c=N[g+12>>2];if(c){k=c;break b}c=P[a+648>>1];if(c){j=f+(c<<1)|0;e=e+h|0;c=f;while(1){i=O[e|0]|O[e+1|0]<<8;M[c>>1]=i<<8|i>>>8;e=e+2|0;c=c+2|0;if(j>>>0>c>>>0){continue}break}}N[a+652>>2]=f}e=l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24);if(!e){break c}c=N[g+4>>2];if(c>>>0<=e>>>0){break b}f=c-e|0;c=P[a+660>>1];if(f>>>0>>0){break b}f=lb(m,2,0,c,0,g+12|0);c=N[g+12>>2];if(c){k=c;break b}c=P[a+660>>1];if(c){l=f+(c<<1)|0;e=e+h|0;c=f;while(1){j=O[e|0]|O[e+1|0]<<8;M[c>>1]=j<<8|j>>>8;e=e+2|0;c=c+2|0;if(l>>>0>c>>>0){continue}break}}N[a+664>>2]=f}N[d+12>>2]=h;N[d+16>>2]=N[g+4>>2];N[a+868>>2]=d;c=0;o=a,p=lb(m,4,0,P[a+660>>1],0,g+12|0),N[o+672>>2]=p;f=N[g+12>>2];if(f){k=f;break b}if(!Ol(a,0)){break a}break b}k=64;N[g+12>>2]=64;d=0}d:{if(!b|!N[b+20>>2]){break d}c=N[g+8>>2];if(!c){break d}b=N[b+28>>2];Qa[N[b+8>>2]](b,c)}if(d){Qa[N[m+8>>2]](m,d)}N[a+868>>2]=0;c=k}La=g+16|0;return c|0}function Uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+492>>2];i=N[b+16>>2];e=N[b+8>>2];Qa[N[b+28>>2]](b);c=3;a=N[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=O[a|0];c:{if(a-48>>>0<=9){a=Qa[N[b+36>>2]](b)|0;N[b+144>>2]=a;if(N[b+12>>2]){break a}if((a|0)<0){break b}f=a;a=N[b>>2];d=e-a>>2;if((f|0)<=(d|0)){break c}N[b+144>>2]=d;break c}if((a|0)!=60){break b}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}Qa[N[b+28>>2]](b);d=N[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=O[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}N[b>>2]=d;N[b+144>>2]=h;a=d;break c}h=h+1|0}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0>a>>>0){continue}break}}if(N[b+264>>2]|a>>>0>=e>>>0){break b}k=b+200|0;c=Qa[N[N[g>>2]>>2]](k,N[b+144>>2],i)|0;if(c){break b}l=b+148|0;c=Qa[N[N[g>>2]>>2]](l,N[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=Qa[N[N[g>>2]>>2]](h,4,i)|0;if(c){break b}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0<=a>>>0){N[b+144>>2]=0;c=3;break b}i=0;g=0;d=0;while(1){e:{f:{c=O[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(O[a+1|0]!=110|a+3>>>0>=e>>>0|O[a+2|0]!=100){break f}switch(O[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}Qa[N[b+32>>2]](b);f=N[b>>2];if(f>>>0>=e>>>0){c=3;break b}if(N[b+12>>2]){break a}g:{h:{j=O[a|0];switch(j-40|0){case 0:case 7:break h;default:break g}}c=3;m=(j|0)==40;if((m?3:2)+a>>>0>=e>>>0){break b}a=a+1|0;f=(f-a|0)-m|0;c=Qa[N[b+192>>2]](l,d,a,f+1|0)|0;if(c){break b}c=f;f=d<<2;L[c+N[f+N[b+172>>2]>>2]|0]=0;if(O[a|0]==46){a=cb(15265,N[f+N[b+172>>2]>>2]);i=a?i:1;g=a?g:d}Qa[N[b+28>>2]](b);if((j|0)==40){Qa[N[b+32>>2]](b)}a=N[b>>2];Qa[N[b+36>>2]](b)|0;c=3;j=N[b>>2];if(j>>>0>=e>>>0){break b}c=a;a=j-a|0;c=Qa[N[b+244>>2]](k,d,c,a+1|0)|0;if(c){break b}L[a+N[f+N[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=N[b+144>>2]){break e}}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0>a>>>0){continue}}break}N[b+144>>2]=d;if(!(i&255)){c=3;break b}a=N[N[b+172>>2]>>2];if(!cb(15265,a)){break a}c=Qa[N[b+296>>2]](h,0,a,N[N[b+176>>2]>>2])|0;if(c){break b}c=Qa[N[b+296>>2]](h,1,N[N[b+224>>2]>>2],N[N[b+228>>2]>>2])|0;if(c){break b}a=g<<2;c=Qa[N[b+296>>2]](h,2,N[a+N[b+172>>2]>>2],N[a+N[b+176>>2]>>2])|0;if(c){break b}c=Qa[N[b+296>>2]](h,3,N[a+N[b+224>>2]>>2],N[a+N[b+228>>2]>>2])|0;if(c){break b}c=Qa[N[b+192>>2]](l,g,N[N[b+276>>2]>>2],N[N[b+280>>2]>>2])|0;if(c){break b}c=Qa[N[b+244>>2]](k,g,N[N[b+276>>2]+4>>2],N[N[b+280>>2]+4>>2])|0;if(c){break b}c=Qa[N[b+192>>2]](l,0,N[N[b+276>>2]+8>>2],N[N[b+280>>2]+8>>2])|0;if(c){break b}c=Qa[N[b+244>>2]](k,0,N[N[b+276>>2]+12>>2],N[N[b+280>>2]+12>>2])|0;if(!c){break a}}N[b+12>>2]=c}}function fp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{switch(N[a+92>>2]){case 0:i=N[a+64>>2];if((i|0)<(c|0)){g=N[a+36>>2];if(!N[a+84>>2]){N[a+84>>2]=g;N[a+80>>2]=g;g=g+32|0;N[a+36>>2]=g}if(Q[a+32>>2]>g>>>0){f=N[a+4>>2];d=N[a+8>>2];e=N[a+80>>2];N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=g;N[e+28>>2]=0;N[e+4>>2]=0;M[e+12>>1]=O[a+48|0]|((d|0)>(((f+i|0)-1&0-f)-i|0)?8:40);if(!N[a+88>>2]){N[a+88>>2]=e}L[a+78|0]=1;N[a+92>>2]=1;d=a+79|0;break f}break a}if((c|0)>=(i|0)){break d}g=N[a+36>>2];if(!N[a+84>>2]){N[a+84>>2]=g;N[a+80>>2]=g;g=g+32|0;N[a+36>>2]=g}if(Q[a+32>>2]>g>>>0){e=N[a+4>>2];f=N[a+8>>2];h=N[a+80>>2];N[h+16>>2]=0;N[h+20>>2]=0;N[h+8>>2]=g;N[h+28>>2]=0;N[h+4>>2]=0;d=O[a+48|0];M[h+12>>1]=(f|0)>(e-1&i)?d:d|16;if(!N[a+88>>2]){N[a+88>>2]=h}L[a+78|0]=1;N[a+92>>2]=2;d=a+79|0;break j}break a;case 1:break k;case 2:break i;default:break d}}i=N[a+64>>2];if((i|0)<=(c|0)){break e}e=N[a+36>>2];f=N[a+80>>2];h=N[f+8>>2];d=e-h|0;if((d|0)<0){N[a+40>>2]=99;return 1}j=N[a+4>>2]-1&i;g=N[a+8>>2];l:{if((e|0)==(h|0)){d=e;break l}N[f+16>>2]=d>>2;if((g|0)<=(j|0)){d=P[f+12>>1];M[f+12>>1]=(d&8?16:32)|d}N[a+80>>2]=e;d=e+32|0;N[a+36>>2]=d;N[e+8>>2]=d;N[e+16>>2]=0;N[f+28>>2]=e;M[a+76>>1]=P[a+76>>1]+1;f=e}h=N[a+32>>2];if(h>>>0<=d>>>0){break a}L[a+79|0]=0;m:{if(N[a+84>>2]){e=d;break m}N[a+84>>2]=d;N[a+80>>2]=d;e=d+32|0;N[a+36>>2]=e;f=d}if(e>>>0>=h>>>0){break a}N[f+16>>2]=0;N[f+20>>2]=0;N[f+8>>2]=e;N[f+28>>2]=0;N[f+4>>2]=0;d=O[a+48|0];M[f+12>>1]=(g|0)>(j|0)?d:d|16;if(!N[a+88>>2]){N[a+88>>2]=f}L[a+78|0]=1;N[a+92>>2]=2;d=a+79|0}L[d|0]=0;d=0;break h}i=N[a+64>>2];if((i|0)<(c|0)){break g}d=!O[a+78|0]}f=dp(a,N[a+60>>2],0-i|0,b,0-c|0,0-N[a+72>>2]|0,0-N[a+68>>2]|0);if(!(O[a+78|0]|d)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}g=1;if(!f){break d}break c}e=N[a+36>>2];f=N[a+80>>2];g=N[f+8>>2];h=e-g|0;if((h|0)<0){N[a+40>>2]=99;return 1}d=N[a+4>>2];k=((d+i|0)-1&0-d)-i|0;j=N[a+8>>2];n:{if((e|0)==(g|0)){d=e;break n}N[f+16>>2]=h>>2;if((j|0)<=(k|0)){d=P[f+12>>1];M[f+12>>1]=(d&8?16:32)|d}N[a+80>>2]=e;d=e+32|0;N[a+36>>2]=d;N[e+8>>2]=d;N[e+16>>2]=0;N[f+28>>2]=e;M[a+76>>1]=P[a+76>>1]+1;f=e}h=N[a+32>>2];if(h>>>0<=d>>>0){break a}L[a+79|0]=0;o:{if(N[a+84>>2]){e=d;break o}N[a+84>>2]=d;N[a+80>>2]=d;e=d+32|0;N[a+36>>2]=e;f=d}if(e>>>0>=h>>>0){break b}N[f+16>>2]=0;N[f+20>>2]=0;N[f+8>>2]=e;N[f+28>>2]=0;N[f+4>>2]=0;M[f+12>>1]=O[a+48|0]|((j|0)>(k|0)?8:40);if(!N[a+88>>2]){N[a+88>>2]=f}L[a+78|0]=1;N[a+92>>2]=1;d=a+79|0}L[d|0]=0}g=1;if(dp(a,N[a+60>>2],i,b,c,N[a+68>>2],N[a+72>>2])){break c}}N[a+64>>2]=c;N[a+60>>2]=b;g=0}return g}N[a+40>>2]=98;return 1}N[a+40>>2]=98;return 1}function $c(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{d=N[a+44>>2];d:{if(!d){break d}c=N[a+24>>2];b=ZE(c,31);if(b>>>0>8|!(1<>2]=N[d+32>>2];b=N[a+16>>2];if(!b){b=N[d>>2]}e:{if(c){break e}if(Q[a+4>>2]>>0){break b}c=N[d+4>>2];if(c>>>0>2]){break c}N[a+8>>2]=c;N[a+4>>2]=b;b=N[a+52>>2];if(b>>>0<2){break e}m=a+60|0;while(1){f:{g:{h:{l=(N[a+56>>2]+(b<<2)|0)-4|0;g=N[l>>2];e=N[g>>2];b=N[a+8>>2];if(e>>>0>>0){c=4;i=0;b=0;h=N[g+4>>2];f=h-e|0;if(f>>>0>3){break h}break f}if((b|0)!=(e|0)){break g}break e}while(1){b=b+e|0;i=T(i,31)+(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24))|0;b=c;c=b+4|0;if(f>>>0>=c>>>0){continue}break}break f}ba(13271,14296,437,10341);B()}i:{if(b>>>0>=f>>>0){break i}k=(h+(b^-1)|0)-e|0;h=0;c=b;j=f&3;if(j){while(1){i=L[c+e|0]+T(i,31)|0;c=c+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}b=b|j}if(k>>>0<3){break i}while(1){c=b+e|0;i=T(T(T(L[c|0]+T(i,31)|0,31)+L[c+1|0]|0,31)+L[c+2|0]|0,31)+L[c+3|0]|0;b=b+4|0;if((f|0)!=(b|0)){continue}break}}h=0;j=T(N[g+12>>2],12);j:{if(!j){c=0;break j}f=N[g+16>>2];e=4;c=0;while(1){b=f+h|0;c=T(c,31)+(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24))|0;b=e;h=b;e=b+4|0;if(j>>>0>=e>>>0){continue}break}if(b>>>0>=j>>>0){break j}while(1){c=L[f+(b|3)|0]+T(L[f+(b|2)|0]+T(L[f+(b|1)|0]+T(L[b+f|0]+T(c,31)|0,31)|0,31)|0,31)|0;b=b+4|0;if((j|0)!=(b|0)){continue}break}}k:{if(!(L[a+72|0]&1)){break k}b=N[a+76>>2];if(Q[a+80>>2]<=(b>>>1|0)+b>>>0){if(!Qg(m)){break k}g=N[l>>2]}h=c^i;b=Af(m,g,h);c=N[b>>2];e=N[c+4>>2];i=N[c>>2];j=e-i|0;f=N[g>>2];if((j|0)!=(N[g+4>>2]-f|0)){break k}k=N[c+12>>2];if((k|0)!=N[g+12>>2]){break k}if((e|0)!=(i|0)){if(Mb(i,f,j)){break k}}e=T(k,12);if(e){if(Mb(N[c+16>>2],N[g+16>>2],e)){break k}}l:{if(!(O[b+7|0]&64)){break l}N[a+76>>2]=N[a+76>>2]-1;if(N[b+4>>2]<0){break l}N[a+72>>2]=N[a+72>>2]-2;g=N[l>>2]}N[b+8>>2]=0;N[b>>2]=g;N[b+4>>2]=h|-1073741824;N[a+76>>2]=N[a+76>>2]+1}b=N[a+52>>2];m:{if(!b){b=0;N[147456]=0;if(!N[8]){break m}break a}b=N[(N[a+56>>2]+(b<<2)|0)-4>>2];if(N[b+32>>2]){break a}}if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;b=N[a+52>>2];if(!b){break e}b=b-1|0;N[a+52>>2]=b;if(b>>>0>1){continue}break}}N[a+16>>2]=0;if(N[d+12>>2]){N[d+12>>2]=0}_a(N[d+16>>2]);N[d+16>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if(N[d+24>>2]){N[d+24>>2]=0}_a(N[d+28>>2]);N[d+28>>2]=0;N[d+20>>2]=0;N[d+24>>2]=0;N[d>>2]=N[a+28>>2];N[a+28>>2]=d}return}ba(13230,14296,419,8802);B()}ba(16986,14296,418,8802);B()}ba(8473,14296,432,10341);B()}function Xm(a,b){var c=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{if((b|0)<=1935833198){if((b|0)<=1751346272){J:{switch(b-1735618608|0){case 9:break z;case 8:break A;case 7:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break J}}if((b|0)==1668311156){break y}if((b|0)!=1751216995){break a}return a+442|0}if((b|0)<=1751347821){switch(b-1751346273|0){case 1:case 2:break a;case 3:break w;case 0:break x;default:break v}}K:{switch(b-1751347822|0){case 1:case 2:case 3:case 4:break a;case 5:break t;case 0:break u;default:break K}}if((b|0)==1751413603){break s}if((b|0)!=1751934832){break a}return a+446|0}if((b|0)<=1970168942){if((b|0)<=1936750702){L:{switch(b-1935833199|0){case 1:case 2:case 3:break a;case 4:break q;case 0:break r;default:break L}}switch(b-1935833455|0){case 4:break o;case 0:break p;default:break a}}M:{switch(b-1936750703|0){case 1:case 2:case 3:break a;case 4:break m;case 0:break n;default:break M}}N:{switch(b-1936750959|0){case 1:case 2:case 3:break a;case 4:break k;case 0:break l;default:break N}}switch(b-1937011311|0){case 0:break j;case 4:break i;default:break a}}if((b|0)<=1986228845){O:{switch(b-1970168943|0){case 1:case 2:case 3:break a;case 4:break g;case 0:break h;default:break O}}if((b|0)==1986098019){break f}if((b|0)!=1986228070){break a}return a+318|0}if((b|0)<=1986815855){switch(b-1986228846|0){case 1:case 2:case 3:case 4:break a;case 5:break d;case 0:break e;default:break c}}if((b|0)==1986815856){break b}if((b|0)!=2020108148){break a}return a+460|0}if(P[a+562>>1]<2){break a}return N[a+564>>2]}if(P[a+562>>1]<3){break a}return N[a+564>>2]+4|0}if(P[a+562>>1]<4){break a}return N[a+564>>2]+8|0}if(P[a+562>>1]<5){break a}return N[a+564>>2]+12|0}if(P[a+562>>1]<6){break a}return N[a+564>>2]+16|0}if(P[a+562>>1]<7){break a}return N[a+564>>2]+20|0}if(P[a+562>>1]<8){break a}return N[a+564>>2]+24|0}if(P[a+562>>1]<9){break a}return N[a+564>>2]+28|0}if(P[a+562>>1]<10){break a}return N[a+564>>2]+32|0}if(P[a+562>>1]<11){break a}return N[a+564>>2]+36|0}return a+462|0}return a+448|0}return a+450|0}if((b|0)!=1751347046){break a}return a+238|0}return a+236|0}return a+234|0}return a+444|0}return a+386|0}return a+382|0}return a+388|0}return a+384|0}return a+394|0}return a+390|0}return a+396|0}return a+392|0}return a+400|0}return a+398|0}return a+484|0}return a+486|0}return a+300|0}return a+316|0}return a+314|0}if((b|0)!=1986294627){break a}return a+302|0}c=a+304|0}return c}function Cd(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=La+-64|0;La=j;o=a+11720|0;Ki(a,N[a+11716>>2],N[o>>2],b,c,j+20|0,j+16|0);Ki(a,d,e,f,g,j+12|0,j+8|0);h=N[a+4>>2];N[h+16>>2]=N[h+16>>2]+(T(e-c>>16,b>>16)-T(d-b>>16,c>>16)|0);h=N[j+20>>2];r=h+N[a+11716>>2]|0;N[j>>2]=r;k=N[j+16>>2];o=k+N[o>>2]|0;N[j+4>>2]=o;t=N[j+8>>2];u=N[j+12>>2];c=c+k|0;s=b+h|0;if(O[a+11663|0]){N[j+56>>2]=1;b=N[a+11728>>2];N[j+24>>2]=N[a+11724>>2];N[j+28>>2]=b;if(!O[a+20|0]){Ce(a,N[a+11732>>2],N[a+11736>>2])}p=a+8|0;k=N[a+11640>>2];h=k>>31;h=(h^k)-h|0;b=r>>31;b=(b^r)-b|0;a:{if(h+(b>>>8|0)>>>0<=8190){h=T(b,h)+32768>>>16|0;break a}l=h&65535;h=T(l,b>>>16|0)+T(b,h>>>16|0)+(T(l,b&65535)+32768>>>16)|0}b=h;i=0-b|0;b=k>>31|1;i=(((r|0)<0?0-b|0:b)|0)<0?i:h;l=N[a+11644>>2];h=l>>31;h=(h^l)-h|0;b=o>>31;b=(b^o)-b|0;b:{if(h+(b>>>8|0)>>>0<=8190){h=T(b,h)+32768>>>16|0;break b}k=h&65535;h=T(k,b>>>16|0)+T(b,h>>>16|0)+(T(k,b&65535)+32768>>>16)|0}b=h;k=_c(p,o);w=N[a+11652>>2];m=0-b|0;b=l>>31|1;l=i+((((o|0)<0?0-b|0:b)|0)<0?m:h)|0;b=l>>31;p=N[a>>2];i=N[p+64>>2];h=i>>31;b=(b^l)-b|0;q=b>>>8|0;h=(h^i)-h|0;c:{if(q+h>>>0<=8190){m=T(b,h)+32768>>>16|0;break c}n=h&65535;m=T(n,b>>>16|0)+T(b,h>>>16|0)+(T(n,b&65535)+32768>>>16)|0}h=m;n=0-h|0;h=i>>31|1;x=(((l|0)<0?0-h|0:h)|0)<0?n:m;n=N[p+72>>2];i=n>>31;h=k>>31;h=(h^k)-h|0;v=h>>>8|0;i=(i^n)-i|0;d:{if(v+i>>>0<=8190){m=T(h,i)+32768>>>16|0;break d}m=i&65535;m=T(m,h>>>16|0)+T(h,i>>>16|0)+(T(h&65535,m)+32768>>>16)|0}i=m;y=0-i|0;i=n>>31|1;N[j+32>>2]=w+(x+((((k|0)<0?0-i|0:i)|0)<0?y:m)|0);m=N[a+11656>>2];n=N[p+68>>2];i=n>>31;i=(i^n)-i|0;e:{if(i+q>>>0<=8190){i=T(b,i)+32768>>>16|0;break e}q=i&65535;i=T(q,b>>>16|0)+T(b,i>>>16|0)+(T(q,b&65535)+32768>>>16)|0}b=i;q=0-b|0;b=n>>31|1;i=(((l|0)<0?0-b|0:b)|0)<0?q:i;l=N[p+76>>2];b=l>>31;b=(b^l)-b|0;f:{if(b+v>>>0<=8190){h=T(b,h)+32768>>>16|0;break f}p=b&65535;h=T(p,h>>>16|0)+T(h,b>>>16|0)+(T(p,h&65535)+32768>>>16)|0}b=h;n=0-b|0;b=l>>31|1;N[j+36>>2]=m+(i+((((k|0)<0?0-b|0:b)|0)<0?n:h)|0);b=N[a+4>>2];Qa[N[b>>2]](b,j+24|0);h=N[j+32>>2];k=N[j+36>>2];b=0;N[a+11700>>2]=b|r;N[a+11704>>2]=o;N[a+11724>>2]=h;N[a+11728>>2]=k;N[a+11708>>2]=b|s;N[a+11712>>2]=c;L[a+11660|0]=1;L[a+11663|0]=0}if(O[a+11740|0]){lf(a,a+8|0,j,s,c,0)}N[a+11744>>2]=4;L[a+11740|0]=1;b=N[j>>2];o=N[j+4>>2];N[a+11776>>2]=g+t;N[a+11772>>2]=f+u;N[a+11768>>2]=e+t;N[a+11764>>2]=d+u;N[a+11748>>2]=b;N[a+11752>>2]=o;N[a+11756>>2]=s;N[a+11760>>2]=c;b=N[a+11672>>2];if(O[b+5|0]){kf(a+8|0,N[a+11664>>2],N[a+11668>>2],b,N[a+11676>>2],0)}N[a+11720>>2]=g;N[a+11716>>2]=f;La=j- -64|0}function yp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;c=T(b,1348)+a|0;g=N[c- -64>>2];k=N[c+56>>2];l=g+T(k,44)|0;if((k|0)>0){j=a+2748|0;m=a+2744|0;c=g;while(1){d=O[c+12|0];a:{if(d&4){break a}f=N[c+24>>2];e=N[c+20>>2];b:{c:{if(!e){if(!f){break a}d=N[f+20>>2];if(!d){break a}e=N[d+8>>2];N[f+8>>2]=e;L[f+12|0]=O[f+12|0]|4;d=f;f=c;break c}e=N[e+8>>2];L[c+12|0]=d|4;N[c+8>>2]=e;if(!f){break b}d=c;if(N[f+20>>2]){break b}}d=Fg(N[m>>2],N[j>>2],b,N[f+4>>2]-N[d+4>>2]|0);L[f+12|0]=O[f+12|0]|4;N[f+8>>2]=d+e}h=h?h:c}c=c+44|0;if(l>>>0>c>>>0){continue}break}m=a+2748|0;p=a+2744|0;c=g;j=0;d=0;f=0;while(1){o=O[c+12|0];d:{if(o&4){break d}e=N[c+24>>2];if(!e){f=f+1|0;break d}e:{if(!(d&255)){break e}n=j- -64|0;if((n|0)<=N[c+8>>2]&(n|0)<=N[e+8>>2]){break e}d=1;f=f+1|0;break d}if(N[e+20>>2]){n=Fg(N[p>>2],N[m>>2],b,N[c+4>>2]-N[e+4>>2]|0);e=N[e+8>>2];L[c+12|0]=o|4;N[c+8>>2]=e+n;break d}if(c>>>0>e>>>0){d=Fg(N[p>>2],N[m>>2],b,N[c+4>>2]-N[e+4>>2]|0);e=N[e+8>>2];L[c+12|0]=o|4;j=d+e|0;N[c+8>>2]=j;d=1;break d}f:{if(!(h|(b|0)==1)){i=wp(a,c,e,0,0);break f}wp(a,c,e,i,b)}L[c+12|0]=O[c+12|0]|4;L[e+12|0]=O[e+12|0]|4;j=N[e+8>>2];d=1;h=c}c=c+44|0;if(l>>>0>c>>>0){continue}break}}g:{if(b){break g}h=4;d=2;c=g;h:{switch(k-6|0){case 6:c=g+44|0;h=9;d=5;break;case 0:break h;default:break g}}if(N[c+24>>2]!=(c+44|0)){break g}b=T(d,44)+g|0;if(N[b+24>>2]!=(b+44|0)){break g}e=T(h,44)+g|0;a=N[e+24>>2];if((a|0)!=(e+44|0)){break g}e=(N[b+4>>2]<<1)-(N[c+4>>2]+N[e+4>>2]|0)|0;b=e>>31;if((b^e)-b>>>0>7){break g}b=T(h,44)+g|0;e=N[b+8>>2];i=b;b=(N[(T(d,44)+g|0)+8>>2]<<1)-N[c+8>>2]|0;N[i+8>>2]=b;b=e-b|0;if(a){N[a+8>>2]=N[a+8>>2]-b}if((k|0)==12){N[g+360>>2]=N[g+360>>2]-b;N[g+492>>2]=N[g+492>>2]-b}b=T(h,44)+g|0;L[b+12|0]=O[b+12|0]|4;if(!a){break g}L[a+12|0]=O[a+12|0]|4}i:{if(!f|(k|0)<=0){break i}c=g;while(1){b=O[c+12|0];j:{if(b&4){break j}a=N[c+28>>2];if(!a){break j}d=N[a+8>>2];a=N[a+4>>2];L[c+12|0]=b|4;N[c+8>>2]=N[c+4>>2]+(d-a|0);f=f-1|0}c=c+44|0;if(l>>>0>c>>>0){continue}break}if(!f){break i}d=g;while(1){c=d;k:{if(O[c+12|0]&4){break k}while(1){a=c;c=c-44|0;h=g>>>0>c>>>0;if(!(h|O[a-32|0]&4)){continue}break}f=d;d=f;l:{m:{n:{while(1){b=f;f=b+44|0;if(l>>>0<=f>>>0){break n}if(!(O[b+56|0]&4)){continue}break}if(c>>>0>=g>>>0){break m}i=N[d+4>>2]+(N[b+52>>2]-N[b+48>>2]|0)|0;break l}if(h){break k}a=a-44|0;i=N[d+4>>2]+(N[a+8>>2]-N[a+4>>2]|0)|0;break l}f=P[f>>1];c=P[c>>1];i=N[a-36>>2];if((f|0)==(c|0)){break l}c=c<<16>>16;a=N[a-36>>2];i=jb(M[d>>1]-c|0,N[b+52>>2]-a|0,(f<<16>>16)-c|0)+a|0}N[d+8>>2]=i}d=d+44|0;if(l>>>0>d>>>0){continue}break}}}function qq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a=La-32|0;La=a;N[a>>2]=0;d=N[b+96>>2];e=N[d+28>>2];f=N[b+100>>2];d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}o=Qa[e|0](b,f,32,a,d)|0;N[c+72>>2]=0;M[c+62>>1]=256;l=N[c+80>>2];N[c+84>>2]=l;k=N[c+68>>2];d=T(k,20);if(d){C(N[c+88>>2],0,d);l=N[c+80>>2];k=N[c+68>>2]}m=N[c+40>>2];if(k){n=N[c+88>>2];d=0;p=(m&-2)!=4;while(1){i=T(d,20);g=i+l|0;e=N[g>>2];a:{b:{if(!o){break b}if(!Cj(e)){break b}N[g>>2]=N[a>>2];e=i+n|0;N[e>>2]=0;N[e+4>>2]=0;break a}N[g>>2]=0;f=N[b+96>>2];h=N[f+28>>2];j=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}Qa[h|0](b,j,e,g,f)|0;f=N[g>>2];e=i+n|0;N[e>>2]=0;N[e+4>>2]=0;j=N[b+96>>2];h=N[j+12>>2];i=N[b+100>>2];c:{d:{e:{f:{g:{if(!p){j=N[j+40>>2];if(h){break g}h=0;break f}j=N[j+44>>2];if(h){break e}h=0;break d}h=N[h+20>>2]}q=e,r=Qa[j|0](b,i,f,h)|0,N[q>>2]=r;Jd(b,N[g>>2],a+8|0,a+4|0);break c}h=N[h+24>>2]}q=e,r=Qa[j|0](b,i,f,h)|0,N[q+4>>2]=r;rq(b,N[g>>2],a+8|0,a+4|0)}N[e+8>>2]=N[e+8>>2]-N[a+8>>2];N[e+12>>2]=N[e+12>>2]-N[a+4>>2]}d=d+1|0;if((k|0)!=(d|0)){continue}break}}h:{i:{if((m&-3)!=5){break i}g=N[c+68>>2];if(g>>>0>=2){i=N[c+80>>2];e=g-1|0;d=0;while(1){b=i+T(e,20)|0;N[a+24>>2]=N[b+16>>2];f=N[b+12>>2];N[a+16>>2]=N[b+8>>2];N[a+20>>2]=f;f=N[b+4>>2];N[a+8>>2]=N[b>>2];N[a+12>>2]=f;f=i+T(d,20)|0;N[b+16>>2]=N[f+16>>2];h=N[f+12>>2];N[b+8>>2]=N[f+8>>2];N[b+12>>2]=h;h=N[f+4>>2];N[b>>2]=N[f>>2];N[b+4>>2]=h;N[f+16>>2]=N[a+24>>2];b=N[a+20>>2];N[f+8>>2]=N[a+16>>2];N[f+12>>2]=b;b=N[a+12>>2];N[f>>2]=N[a+8>>2];N[f+4>>2]=b;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}if(!O[c+63|0]){break i}d=N[c+68>>2];b=d>>>0>>0?d:g;if(b>>>0<2){break h}g=N[c+88>>2];e=b-1|0;d=0;while(1){b=g+T(e,20)|0;N[a+24>>2]=N[b+16>>2];f=N[b+12>>2];N[a+16>>2]=N[b+8>>2];N[a+20>>2]=f;f=N[b+4>>2];N[a+8>>2]=N[b>>2];N[a+12>>2]=f;f=g+T(d,20)|0;N[b+16>>2]=N[f+16>>2];i=N[f+12>>2];N[b+8>>2]=N[f+8>>2];N[b+12>>2]=i;i=N[f+4>>2];N[b>>2]=N[f>>2];N[b+4>>2]=i;N[f+16>>2]=N[a+24>>2];b=N[a+20>>2];N[f+8>>2]=N[a+16>>2];N[f+12>>2]=b;b=N[a+12>>2];N[f>>2]=N[a+8>>2];N[f+4>>2]=b;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}d=N[c+68>>2]}j:{if(!d){break j}c=N[c+80>>2];e=0;b=0;if(d>>>0>=4){f=d&-4;while(1){g=c+T(b,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|1,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|2,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|3,20)|0;N[g+4>>2]=N[g+4>>2]&-8;b=b+4|0;if((f|0)!=(b|0)){continue}break}}d=d&3;if(!d){break j}while(1){f=c+T(b,20)|0;N[f+4>>2]=N[f+4>>2]&-8;b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}La=a+32|0;return 1}function Gh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=N[N[a>>2]+28>>2];N[b>>2]=0;a:{b:{c:{d:{if(N[a+28>>2]){break d}h=N[a+12>>2];if(!h){break d}e=h+1|0;if((e|0)<0){f=6;break a}g=N[a>>2];i=N[g+28>>2];l=O[a+16|0];e:{f:{g:{if(e){f=10;if((e|0)>536870911){break a}k=e<<2;f=Qa[N[i+4>>2]](i,k)|0;if(!f|h>>>0>2147483646){break g}C(f,0,k)}N[a+28>>2]=f;break f}N[a+28>>2]=f;if(!f){break e}}h=N[a+8>>2]+N[a+4>>2]|0;k=N[g+20>>2];h:{if(k){f=85;if(!(Qa[k|0](g,h,0,0)|0)){break h}break b}f=85;if(h>>>0>Q[g+4>>2]){break b}}N[g+8>>2]=h;h=T(e,l);f=Bb(g,h);if(f){break b}e=N[g+32>>2];f=h+e|0;i=N[a+28>>2];i:{j:{switch(l-1|0){case 2:if((h|0)<=0){break i}while(1){N[i>>2]=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);i=i+4|0;e=e+3|0;if(f>>>0>e>>>0){continue}break};break i;case 1:if((h|0)<=0){break i}while(1){N[i>>2]=O[e+1|0]|O[e|0]<<8;i=i+4|0;e=e+2|0;if(f>>>0>e>>>0){continue}break};break i;case 0:if((h|0)<=0){break i}while(1){N[i>>2]=O[e|0];i=i+4|0;e=e+1|0;if(f>>>0>e>>>0){continue}break};break i;default:break j}}if((h|0)<=0){break i}while(1){h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[i>>2]=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);i=i+4|0;e=e+4|0;if(f>>>0>e>>>0){continue}break}}if(N[g+20>>2]){f=N[g>>2];if(f){e=N[g+28>>2];Qa[N[e+8>>2]](e,f)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;break d}N[a+28>>2]=0;e=!f<<6;if(e){break c}}e=0;f=N[a+12>>2];if(!f){break c}i=0;g=f+1|0;if((g|0)<0){return 6}h=N[a+24>>2];k:{if(!g){break k}e=10;if((g|0)>536870911){break c}g=g<<2;i=Qa[N[j+4>>2]](j,g)|0;if(!(!i|f>>>0>2147483646)){C(i,0,g);break k}if(i){break k}return!i<<6}l=f+h|0;l:{m:{n:{o:{p:{q:{r:{if(c){h=0;if((l|0)<=0){e=6;if(!l){break q}break l}h=Qa[N[j+4>>2]](j,l)|0;if(h){break r}e=64;break l}h=N[a+32>>2];N[i>>2]=h;j=N[a+12>>2];if(j){e=1;f=0;while(1){k=e<<2;g=N[k+N[a+28>>2]>>2]-1|0;if(g>>>0>=f>>>0){f=N[a+24>>2];f=f>>>0>g>>>0?g:f}N[i+k>>2]=f+h;e=e+1|0;if(j>>>0>=e>>>0){continue}break}h=0;break p}N[b>>2]=i;break m}C(h,0,l)}o=N[a+32>>2];N[i>>2]=h;m=N[a+12>>2];if(!m){break o}e=1;j=0;f=0;while(1){g=e<<2;n=N[g+N[a+28>>2]>>2]-1|0;s:{if(n>>>0>>0){N[i+g>>2]=(f+h|0)+j;break s}k=i+g|0;g=N[a+24>>2];g=g>>>0>n>>>0?n:g;n=(g+h|0)+j|0;N[k>>2]=n;if((f|0)==(g|0)){break s}m=N[k-4>>2];F(m,f+o|0,n-m|0);L[N[k>>2]]=0;N[k>>2]=N[k>>2]+1;j=j+1|0;m=N[a+12>>2];f=g}e=e+1|0;if(m>>>0>=e>>>0){continue}break}}N[b>>2]=i;if(!c){break m}break n}N[b>>2]=i}N[c>>2]=h}e=0;if(!d){break c}N[d>>2]=l;break c}if(!e|!i){break c}Qa[N[j+8>>2]](j,i);return e}return e}b=N[a+28>>2];if(b){Qa[N[i+8>>2]](i,b)}N[a+28>>2]=0;return f}N[a+28>>2]=0;return f}function ww(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=La+-64|0;La=d;l=N[a+16>>2];b=161;a:{if(Q[a+20>>2]>>0){break a}e=N[a+32>>2];m=e+48|0;L[e+64|0]=1;i=-2147483648;g=2147483647;while(1){b=k<<2;j=b+d|0;n=b+(d+32|0)|0;c=N[l>>2];h=O[c|0];b:{if((h|0)==30){b=Wf(a,c,0,j);break b}f=c+1|0;c:{d:{e:{switch(h-28|0){case 0:b=0;if(Q[a+8>>2]<=c+2>>>0){break c}b=O[c+2|0]|O[f|0]<<8;break c;case 1:b=0;if(Q[a+8>>2]<=c+4>>>0){break c}b=O[c+1|0]|O[c+2|0]<<8|(O[c+3|0]<<16|O[c+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break d;default:break e}}if(h>>>0<=246){b=h-139|0;break c}c=N[a+8>>2];if(h>>>0<=250){b=0;if(c>>>0<=f>>>0){break c}b=(O[f|0]|h<<8)-63124|0;break c}b=0;if(c>>>0<=f>>>0){break c}b=64148-(O[f|0]|h<<8)|0}if((b|0)<32768){break c}c=5;f:{if(b>>>0<1e5){break f}c=6;if(b>>>0<1e6){break f}c=7;if(b>>>0<1e7){break f}c=8;if(b>>>0<1e8){break f}c=b>>>0<1e9?9:10}h=c-5|0;f=N[(h<<2)+33472>>2];if(((b|0)/(f|0)|0)>=32768){c=c-4|0;N[j>>2]=c;b=fb(b,N[(c<<2)+33472>>2]);break b}N[j>>2]=h;b=fb(b,f);break b}N[j>>2]=0;b=b<<16}N[n>>2]=b;if(b){b=N[j>>2];g=(b|0)<(g|0)?b:g;i=(b|0)>(i|0)?b:i}l=l+4|0;k=k+1|0;if((k|0)!=6){continue}break}if(!(i-1>>>0<4294967286|i-g>>>0>9)){k=0;h=0;a=N[d+32>>2];if(a){c=N[(i-N[d>>2]<<2)+33472>>2];b=c>>1;h=(((a|0)<0?a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0:a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0)|0)/(c|0)|0}a=N[d+36>>2];if(a){c=N[(i-N[d+4>>2]<<2)+33472>>2];b=c>>1;k=(((a|0)>=0?a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0:a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0)|0)/(c|0)|0}b=0;j=0;a=N[d+40>>2];if(a){g=N[(i-N[d+8>>2]<<2)+33472>>2];c=g>>1;j=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(g|0)|0}a=N[d+44>>2];if(a){c=N[(i-N[d+12>>2]<<2)+33472>>2];b=c>>1;b=(((a|0)>=0?a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0:a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0)|0)/(c|0)|0}g=0;f=0;a=N[d+48>>2];if(a){f=N[(i-N[d+16>>2]<<2)+33472>>2];c=f>>1;f=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(f|0)|0}a=N[d+52>>2];if(a){g=N[(i-N[d+20>>2]<<2)+33472>>2];c=g>>1;g=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(g|0)|0}N[e+48>>2]=h;N[e+72>>2]=f;N[e+56>>2]=k;N[e+76>>2]=g;N[e+60>>2]=b;N[e+52>>2]=j;N[e+68>>2]=N[33472-(i<<2)>>2];b=0;if(hg(m)){break a}}N[e+48>>2]=65536;N[e+52>>2]=0;N[e+68>>2]=1;N[e+72>>2]=0;N[e+76>>2]=0;N[e+56>>2]=0;N[e+60>>2]=65536;b=0}La=d- -64|0;return b|0}function CC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;p=d<<3;q=T(c+7&-8,d);a:{b:{t=c<<1;r=t+4|0;if(r>>>0>=9){o=8;if(d){break b}c=p<<1;while(1){a=a+c|0;o=o+16|0;if(r>>>0>o>>>0){continue}break}}c=0;break a}c=0;while(1){s=0;while(1){e=c>>>0>=q>>>0?440592:(c<<1)+b|0;h=P[e+8>>1];i=P[e+12>>1];u=P[e+14>>1];j=P[e+10>>1];f=c-p|0;f=f>>>0>=q>>>0?440592:(f<<1)+b|0;v=P[f+12>>1];l=P[f+14>>1];f=P[e>>1];k=P[e+4>>1];m=P[e+6>>1];g=P[e+2>>1];e=(k+((m+g&65534)>>>1|0)&65534)>>>1|0;n=k+1|0;M[a+14>>1]=(n+((e+m&65534)>>>1|0)&65534)>>>1;M[a+12>>1]=(n+((e+g&65534)>>>1|0)&65534)>>>1;n=g+1|0;e=(g+((f+k&65534)>>>1|0)&65534)>>>1|0;M[a+10>>1]=(n+((e+k&65534)>>>1|0)&65534)>>>1;M[a+8>>1]=(n+((e+f&65534)>>>1|0)&65534)>>>1;e=(f+((g+l&65534)>>>1|0)&65534)>>>1|0;n=(e+g&65534)>>>1|0;g=f+1|0;M[a+6>>1]=(n+g&65534)>>>1;M[a+4>>1]=(g+((e+l&65534)>>>1|0)&65534)>>>1;e=(l+((f+v&65534)>>>1|0)&65534)>>>1|0;g=(e+f&65534)>>>1|0;f=l+1|0;M[a+2>>1]=(g+f&65534)>>>1;M[a>>1]=(f+((e+v&65534)>>>1|0)&65534)>>>1;f=p<<1;e=f+a|0;l=i+1|0;g=(i+((j+u&65534)>>>1|0)&65534)>>>1|0;M[e+14>>1]=(l+((g+u&65534)>>>1|0)&65534)>>>1;M[e+12>>1]=(l+((g+j&65534)>>>1|0)&65534)>>>1;g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;l=(g+i&65534)>>>1|0;i=j+1|0;M[e+10>>1]=(l+i&65534)>>>1;M[e+8>>1]=(i+((h+g&65534)>>>1|0)&65534)>>>1;g=h+1|0;i=j;j=(h+((j+m&65534)>>>1|0)&65534)>>>1|0;M[e+6>>1]=(g+((i+j&65534)>>>1|0)&65534)>>>1;M[e+4>>1]=(g+((j+m&65534)>>>1|0)&65534)>>>1;j=m+1|0;i=h;h=(m+((h+k&65534)>>>1|0)&65534)>>>1|0;M[e+2>>1]=(j+((i+h&65534)>>>1|0)&65534)>>>1;M[e>>1]=(j+((h+k&65534)>>>1|0)&65534)>>>1;c=c+8|0;a=a+16|0;s=s+1|0;if((s|0)!=(d|0)){continue}break}a=a+f|0;o=o+16|0;if(r>>>0>o>>>0){continue}break}}if(!(!d|t+3&8)){while(1){e=c-p|0;e=e>>>0>=q>>>0?440592:(e<<1)+b|0;m=P[e+12>>1];j=P[e+14>>1];f=c>>>0>=q>>>0?440592:(c<<1)+b|0;e=P[f>>1];k=P[f+6>>1];h=P[f+2>>1];f=P[f+4>>1];g=(((k+h&65534)>>>1|0)+f&65534)>>>1|0;i=(g+k&65534)>>>1|0;k=f+1|0;M[a+14>>1]=(i+k&65534)>>>1;M[a+12>>1]=(k+((h+g&65534)>>>1|0)&65534)>>>1;g=h+1|0;i=f;f=(h+((e+f&65534)>>>1|0)&65534)>>>1|0;M[a+10>>1]=(g+((i+f&65534)>>>1|0)&65534)>>>1;M[a+8>>1]=(g+((e+f&65534)>>>1|0)&65534)>>>1;f=e+1|0;i=h;h=(e+((h+j&65534)>>>1|0)&65534)>>>1|0;M[a+6>>1]=(f+((i+h&65534)>>>1|0)&65534)>>>1;M[a+4>>1]=(f+((h+j&65534)>>>1|0)&65534)>>>1;h=j+1|0;f=e;e=(j+((e+m&65534)>>>1|0)&65534)>>>1|0;M[a+2>>1]=(h+((f+e&65534)>>>1|0)&65534)>>>1;M[a>>1]=(h+((e+m&65534)>>>1|0)&65534)>>>1;c=c+8|0;a=a+16|0;w=w+1|0;if((w|0)!=(d|0)){continue}break}}}function wz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-288|0;La=d;e=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);hb(d+272|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);hb(d+240|0,b^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+208|0,b^(N[d+232>>2]^N[d+224>>2])^2025677871,N[d+236>>2]^N[d+228>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+176|0,b^(N[d+200>>2]^N[d+192>>2])^2025677871,N[d+204>>2]^N[d+196>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);b=a;hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+288|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function zE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-16|0;La=j;if(ib(c,b,13459,0)){e=N[a+112>>2];g=N[e+8>>2];if((g|0)==-1){i=N[N[e>>2]+8>>2];if(i){N[j+4>>2]=0;g=N[b+96>>2];h=N[g+28>>2];d=N[b+100>>2];f=j+4|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}i=Qa[h|0](b,d,i,f,g)|0;g=i?N[j+4>>2]:0}else{g=0}N[e+8>>2]=g}a:{if(!g){break a}m=N[c+68>>2];if(!m){break a}n=N[c+80>>2];p=n+3|0;i=N[b+24>>2];k=j+8|0;while(1){h=T(l,20);o=h+p|0;if(O[o+16|0]==4){h=N[h+n>>2];N[j+12>>2]=g;N[j+8>>2]=h;N[j+4>>2]=g;h=N[e+48>>2];b:{c:{if(!h){break c}d=N[e+44>>2];f=d+T(h,12)|0;while(1){h=8;if(Dc(i,P[d>>1],j+4|0,2,O[e+56|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+48>>2];if(!f){break c}d=N[e+44>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+56|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=N[e+80>>2];d:{if(!h){break d}d=N[e+76>>2];f=d+T(h,12)|0;while(1){h=8;if(Dc(i,P[d>>1],j+4|0,2,O[e+88|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+80>>2];if(!f){break d}d=N[e+76>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+88|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=N[e+64>>2];e:{if(!h){break e}d=N[e+60>>2];f=d+T(h,12)|0;while(1){h=11;if(Dc(i,P[d>>1],j+4|0,2,O[e+72|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+64>>2];if(!f){break e}d=N[e+60>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+72|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=4;f=N[e+32>>2];if(!f){break b}d=N[e+28>>2];f=d+T(f,12)|0;f:{while(1){if(Dc(i,P[d>>1],j+4|0,2,O[e+40|0])){break f}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+32>>2];if(!f){break b}d=N[e+28>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+40|0])){break f}d=d+12|0;if((f|0)!=(d|0)){continue}break}break b}h=11}L[o+16|0]=h}l=l+1|0;if((m|0)!=(l|0)){continue}break}}l=wf(b,c,4,11,14,14);h=N[c+68>>2];if(h){i=h-1|0;k=N[c+80>>2];g=k+3|0;e=0;d=O[k+15|0];while(1){g:{if((e|0)==(i|0)){e=h;break g}e=e+1|0;if(O[(g+T(e,20)|0)+12|0]==(d|0)){continue}}break}g=0;while(1){i=e;e=N[b+24>>2];h:{i:{switch(d&15){case 0:case 1:xq(N[a+112>>2],e,c,g,i);break h;case 2:case 4:break i;default:break h}}d=N[a+112>>2];if(O[(T(i,20)+k|0)-2|0]==11?O[d+5|0]:0){break h}xq(d,e,c,g,i)}e=N[c+68>>2];g=i+1|0;g=e>>>0>g>>>0?e:g;m=g-1|0;k=N[c+80>>2];d=O[(k+T(i,20)|0)+15|0];n=k+3|0;e=i;while(1){j:{if((e|0)==(m|0)){e=g;break j}e=e+1|0;if(O[(n+T(e,20)|0)+12|0]==(d&255)){continue}}break}g=i;if(i>>>0>>0){continue}break}}ib(c,b,13490,0)}La=j+16|0;return l|0}function Sx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=La-16|0;La=o;h=N[a+12>>2];k=N[a+200>>2];e=N[a+196>>2];m=M[a+32>>1];a:{if(m){if(Q[h+8>>2]>1]+(M[h+20>>1]+m|0)>>>0){c=Sb(h,0,m);if(c){break a}}c=20;if((m|0)>4094){break a}}c=20;f=m<<1;if((f+e|0)+2>>>0>k>>>0){break a}d=N[h+68>>2];b=O[e|0]<<8;g=b|O[e+1|0];if((m|0)>0){M[d>>1]=g}if(b<<16>>16<0){break a}i=d+f|0;while(1){b=d+2|0;if(b>>>0>>0){d=O[e+2|0]|O[e+3|0]<<8;j=d<<8|d>>>8;M[b>>1]=j;f=g<<16>>16;d=b;b=j<<16>>16;g=b;e=e+2|0;if((b|0)>(f|0)){continue}break a}break}f=N[h+4>>2];g=M[h+58>>1];if((m|0)<=0){j=0}else{b=M[d>>1];if((b|0)<-1){break a}j=b+1|0}b=j+4|0;if(f>>>0>1]|0)>>>0){c=Sb(h,b,0);if(c){break a}}b=N[a+8>>2];N[b+136>>2]=0;N[b+140>>2]=0;g=e+4|0;if(g>>>0>k>>>0){c=20;break a}b=O[e+2|0]|O[e+3|0]<<8;f=b<<8|b>>>8;b:{c:{if(O[a+16|0]&2){d=f&65535;break c}d=f&65535;if((d|0)>(k-g|0)){break b}i=N[a+156>>2];N[o+12>>2]=N[i+408>>2];e=N[i+8>>2];c=0;l=N[o+12>>2];d:{if(l>>>0>=d>>>0){break d}c=6;if((d|l)<0){break d}e:{if(!l){b=Qa[N[e+4>>2]](e,d)|0;c=!b<<6;break e}b=N[i+412>>2];c=Qa[N[e+12>>2]](e,l,d,b)|0;b=c?c:b;c=!c<<6}f:{if(!(c|(d|0)<=(l|0)|!b)){C(b+l|0,0,d-l|0);N[i+412>>2]=b;break f}N[i+412>>2]=b;if(c){break d}}N[o+12>>2]=d;c=0}e=N[a+156>>2];N[e+408>>2]=N[o+12>>2];if(c){break a}b=N[a+8>>2];N[b+140>>2]=d;c=b;b=N[e+412>>2];N[c+136>>2]=b;if(!(f&65535)){break c}F(b,g,d)}b=d+g|0;e=N[h- -64>>2];if((j|0)>0){g=e+j|0;while(1){d=b+1|0;if(d>>>0>k>>>0){c=20;break a}f=O[b|0];L[e|0]=f;c=e+1|0;g:{if(!(f&8)){b=d;break g}b=b+2|0;if(k>>>0>>0){c=20;break a}d=O[d|0];if(g>>>0>>0){c=20;break a}if(!d){break g}C(c,f,d);c=((d-1&255)+e|0)+2|0}e=c;if(g>>>0>e>>>0){continue}break}e=N[h+64>>2]}if(!(!j|!(O[e|0]&64))){N[h+36>>2]=N[h+36>>2]|64}if(b>>>0>k>>>0){c=20;break a}if((j|0)>0){c=N[h+60>>2];l=c+(j<<3)|0;g=c;d=e;while(1){i=O[d|0];h:{if(i&2){f=b+1|0;if(f>>>0>k>>>0){c=20;break a}b=O[b|0];n=i&16?b:0-b|0;b=f;break h}n=0;if(i&16){break h}f=b+2|0;if(f>>>0>k>>>0){c=20;break a}b=O[b|0]|O[b+1|0]<<8;n=(b<<8|b>>>8)<<16>>16;b=f}p=n+p|0;N[g>>2]=p;d=d+1|0;g=g+8|0;if(l>>>0>g>>>0){continue}break}n=0;while(1){f=O[e|0];i:{if(f&4){d=b+1|0;if(d>>>0>k>>>0){c=20;break a}b=O[b|0];g=f&32?b:0-b|0;b=d;break i}g=0;if(f&32){break i}d=b+2|0;if(d>>>0>k>>>0){c=20;break a}b=O[b|0]|O[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16;b=d}n=g+n|0;N[c+4>>2]=n;L[e|0]=f&1;e=e+1|0;c=c+8|0;if(l>>>0>c>>>0){continue}break}}M[h+56>>1]=m;M[h+58>>1]=j;N[a+196>>2]=b;c=0;break a}c=22}La=o+16|0;return c|0}function hq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a+20>>2]=0;N[a+24>>2]=0;if(N[b+32>>2]==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[b+32>>2]=(c<<8|c>>>8)&65535}c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1752003704,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}if(N[c+16>>2]<0){break b}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+20>>2]=c;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];d:{if(c){c=Qa[c|0](b,1213612370,N[b+16>>2])|0;if(c){break d}}c=275552}d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}L[e+28|0]=0;N[e+36>>2]=c;f=N[c+12>>2];N[e+8>>2]=f;d=N[c+16>>2];N[e+12>>2]=d+f;if((d|0)<0){break b}N[e+32>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[e+16>>2]=d;N[e+24>>2]=0;N[e+4>>2]=0;d=c;e:{f:{if(!f){break f}g:{h:{i:{j:{if(Ie(f,e+4|0)){break j}k:{if(O[e+28|0]|!N[e+32>>2]){break k}if(!zb(c)){break k}while(1){L[e+28|0]=1;d=N[e+36>>2];f=N[d+12>>2];N[e+8>>2]=f;g=N[d+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break b}N[e+32>>2]=0;if(g>>>0>67108863){h=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;h=g>>>0>=1073741823?1073741823:g}N[e+16>>2]=h;N[e+24>>2]=0;N[e+4>>2]=0;if(!f){break f}if(Ie(f,e+4|0)){break j}if(O[e+28|0]|!N[e+32>>2]){break k}d=zb(c);N[e+8>>2]=d;N[e+12>>2]=d+N[c+16>>2];if(d){continue}break}}ab(N[e+36>>2]);break i}if(!N[e+32>>2]){break h}N[e+32>>2]=0;d=Ie(f,e+4|0);f=N[e+32>>2];ab(N[e+36>>2]);if(f){break i}if(d){break g}}ab(c);c=275552;break e}ab(N[e+36>>2])}if(!N[c+4>>2]){break e}N[c+4>>2]=0;break e}ab(d)}N[a+24>>2]=c;c=N[b+28>>2];if(!c){c=ae(b+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;c=c-16>>>0>=16369?1e3:c;N[b+28>>2]=c}N[a+16>>2]=c>>>1;c=N[a+20>>2];d=N[(c?c:275552)+16>>2];c=Kd(b- -64|0);c=O[c+34|0]|O[c+35|0]<<8;c=(c<<8|c>>>8)&65535;f=c<<2;g=d&-2;if(f>>>0>g>>>0){f=d&-4;c=d>>>2|0}N[a>>2]=c;h=b+56|0;c=sb(h);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[a+4>>2]=c;g=g-f|0;f=N[a>>2];d=f;l:{if(d>>>0<=c>>>0){if(g>>>0>=c-f<<1>>>0){break l}d=f+(g>>>1|0)|0}N[a+4>>2]=d;c=d}if(f){d=c}else{N[a>>2]=0;N[a+4>>2]=0;d=0}c=d+((f+(g>>>1|0)|0)-c&2147483647)|0;N[a+8>>2]=c;f=N[b+32>>2];if((f|0)==-1){d=b;b=sb(h);b=O[b+4|0]|O[b+5|0]<<8;f=(b<<8|b>>>8)&65535;N[d+32>>2]=f;c=N[a+8>>2]}N[a+12>>2]=c>>>0>>0?f:c;La=e+48|0;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function xn(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=La-16|0;La=l;i=N[b+20>>2];a:{b:{if(i){j=85;if(Qa[i|0](b,c,0,0)|0){break a}k=N[b+4>>2];break b}j=85;k=N[b+4>>2];if(k>>>0>>0){break a}}N[b+8>>2]=c;c:{if(c+1>>>0>=k>>>0){break c}d:{e:{i=N[b+20>>2];f:{if(i){if((Qa[i|0](b,c,l+6|0,2)|0)!=2){break c}k=l+6|0;i=N[b+8>>2];break f}i=N[b>>2];if(!i){break e}k=c+i|0;i=c}m=O[k|0]|O[k+1|0]<<8;k=i+2|0;N[b+8>>2]=k;j=8;q=(m<<8|m>>>8)<<16>>16;if((q|0)>4078){break a}if((q|0)>=0){break d}j=1;break a}k=c+2|0;N[b+8>>2]=k}while(1){g:{h:{i:{p=N[b+4>>2];if(p>>>0<=k+3>>>0){break i}j:{k:{i=N[b+20>>2];l:{if(i){if((Qa[i|0](b,k,l+8|0,4)|0)!=4){break i}p=N[b+4>>2];k=N[b+8>>2];i=l+8|0;break l}i=N[b>>2];if(!i){break k}i=i+k|0}i=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);m=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);break j}m=0}j=k+4|0;N[b+8>>2]=j;if(k+5>>>0>=p>>>0){break i}m:{n:{i=N[b+20>>2];o:{if(i){if((Qa[i|0](b,j,l+12|0,2)|0)!=2){break i}p=N[b+4>>2];j=N[b+8>>2];i=l+12|0;break o}i=N[b>>2];if(!i){break n}i=i+j|0}i=O[i|0]|O[i+1|0]<<8;o=i<<8|i>>>8;break m}o=0}k=j+2|0;N[b+8>>2]=k;if(j+3>>>0>=p>>>0){break i}i=N[b+20>>2];p:{if(i){if((Qa[i|0](b,k,l+14|0,2)|0)!=2){break i}k=N[b+8>>2];i=l+14|0;break p}i=N[b>>2];if(!i){break h}i=i+k|0}i=O[i|0]|O[i+1|0]<<8;i=i<<8|i>>>8;break g}j=85;break a}i=0}k=k+2|0;N[b+8>>2]=k;if((e|0)!=(m|0)){j=1;i=(n|0)==(q|0);n=n+1|0;if(!i){continue}break a}break}N[h>>2]=(o<<16>>16)+1;j=8;if((o&65535)>>>0>2726){break a}e=(i<<16>>16)+c|0;c=N[b+20>>2];q:{if(c){j=85;if(!(Qa[c|0](b,e,0,0)|0)){break q}break a}j=85;if(e>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=e;c=0;N[l>>2]=0;n=lb(a,8,0,N[h>>2],0,l);j=N[l>>2];if(j){break a}j=N[h>>2];r:{if((j|0)>0){while(1){i=n+(c<<3)|0;r=i,s=xb(b,l),M[r>>1]=s;j=N[l>>2];if(j){break r}m=N[b+8>>2]+2|0;s:{e=N[b+20>>2];if(e){if(!(Qa[e|0](b,m,0,0)|0)){break s}j=85;break r}if(m>>>0<=Q[b+4>>2]){break s}j=85;break r}N[b+8>>2]=m;N[l>>2]=0;m=Nb(b,l);j=N[l>>2];if(j){break r}o=N[b+8>>2]+4|0;t:{e=N[b+20>>2];if(e){if(!(Qa[e|0](b,o,0,0)|0)){break t}j=85;break r}if(o>>>0<=Q[b+4>>2]){break t}j=85;break r}N[b+8>>2]=o;N[l>>2]=0;if((m|0)<0){j=8;break r}N[i+4>>2]=m&16777215;c=c+1|0;j=N[h>>2];if((c|0)<(j|0)){continue}break}}b=0;if(f){Zc(n,j,8,114);j=N[h>>2]}c=lb(a,4,0,j,0,l);j=N[l>>2];if(!j){if(N[h>>2]>0){while(1){N[c+(b<<2)>>2]=N[(n+(b<<3)|0)+4>>2]+d;b=b+1|0;if((b|0)>2]){continue}break}}N[g>>2]=c;j=0}if(!n){break a}}Qa[N[a+8>>2]](a,n);break a}}La=l+16|0;return j}function Nf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}h=a-132|0;while(1){c=N[h>>2];if(!c){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;d=N[c+32>>2];if((d|0)==-1){d=sb(c+56|0);d=O[d+4|0]|O[d+5|0]<<8;d=(d<<8|d>>>8)&65535;N[c+32>>2]=d}L[b+40|0]=1;N[b+36>>2]=d;d=N[c+12>>2];b:{if(d){d=Qa[d|0](c,1717920116,N[c+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!d){break l}c=N[d>>2];if(!c){break l}if((c|0)<=0){break k}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;e=N[d+12>>2];N[b+4>>2]=e;f=N[d+16>>2];N[b+8>>2]=f+e;if((f|0)<0){break j}N[b+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;g=d;if(!e){break d}if(f>>>0<12){break h}N[b+12>>2]=c-12;if((O[e|0]|O[e+1|0]<<8)!=256){break h}c=O[e+4|0]|O[e+5|0]<<8;if(kh(e+12|0,b,(c<<8|c>>>8)&65535,e)){break i}if(O[b+24|0]|!N[b+28>>2]){break h}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break h}while(1){L[b+24|0]=1;g=N[b+32>>2];e=N[g+12>>2];N[b+4>>2]=e;f=N[g+16>>2];N[b+8>>2]=f+e;if((f|0)<0){break j}N[b+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;if(!e){break d}if(f>>>0<12){break h}N[b+12>>2]=c-12;if((O[e|0]|O[e+1|0]<<8)!=256){break h}c=O[e+4|0]|O[e+5|0]<<8;if(kh(e+12|0,b,(c<<8|c>>>8)&65535,e)){break i}if(O[b+24|0]|!N[b+28>>2]){break h}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}break h}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break g}N[b+28>>2]=0;if(Q[b+4>>2]>e>>>0){break h}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<12){break h}c=N[b+12>>2]-12|0;N[b+12>>2]=c;if((O[e|0]|O[e+1|0]<<8)!=256|(c|0)<=0){break h}c=O[e+4|0]|O[e+5|0]<<8;c=kh(e+12|0,b,(c<<8|c>>>8)&65535,e);if(N[b+28>>2]){break h}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(c){break f}break e}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break e}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(d);d=275552;break c}ab(g);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=c;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<12?275552:N[d+12>>2]}function Xd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=La+-64|0;La=g;r=!(O[N[a+11672>>2]+5|0]?O[a+11661|0]:1);k=N[a+11716>>2];m=N[a+11720>>2];if((k|0)!=(b|0)|(m|0)!=(c|0)|r){Ki(a,k,m,b,c,g+20|0,g+16|0);d=N[g+20>>2];p=d+N[a+11716>>2]|0;N[g+8>>2]=p;m=N[g+16>>2];k=m+N[a+11720>>2]|0;N[g+12>>2]=k;m=c+m|0;q=b+d|0;if(O[a+11663|0]){N[g+56>>2]=1;d=N[a+11728>>2];N[g+24>>2]=N[a+11724>>2];N[g+28>>2]=d;if(!O[a+20|0]){Ce(a,N[a+11732>>2],N[a+11736>>2])}n=a+8|0;l=N[a+11640>>2];e=l>>31;e=(e^l)-e|0;d=p>>31;d=(d^p)-d|0;a:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break a}h=e&65535;e=T(h,d>>>16|0)+T(d,e>>>16|0)+(T(h,d&65535)+32768>>>16)|0}d=e;f=0-d|0;d=l>>31|1;f=(((p|0)<0?0-d|0:d)|0)<0?f:e;h=N[a+11644>>2];e=h>>31;e=(e^h)-e|0;d=k>>31;d=(d^k)-d|0;b:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break b}l=e&65535;e=T(l,d>>>16|0)+T(d,e>>>16|0)+(T(l,d&65535)+32768>>>16)|0}d=e;l=_c(n,k);t=N[a+11652>>2];i=0-d|0;d=h>>31|1;h=f+((((k|0)<0?0-d|0:d)|0)<0?i:e)|0;d=h>>31;n=N[a>>2];f=N[n+64>>2];e=f>>31;d=(d^h)-d|0;o=d>>>8|0;e=(e^f)-e|0;c:{if(o+e>>>0<=8190){i=T(d,e)+32768>>>16|0;break c}j=e&65535;i=T(j,d>>>16|0)+T(d,e>>>16|0)+(T(j,d&65535)+32768>>>16)|0}e=i;j=0-e|0;e=f>>31|1;u=(((h|0)<0?0-e|0:e)|0)<0?j:i;j=N[n+72>>2];f=j>>31;e=l>>31;e=(e^l)-e|0;s=e>>>8|0;f=(f^j)-f|0;d:{if(s+f>>>0<=8190){i=T(e,f)+32768>>>16|0;break d}i=f&65535;i=T(i,e>>>16|0)+T(e,f>>>16|0)+(T(e&65535,i)+32768>>>16)|0}f=i;v=0-f|0;f=j>>31|1;N[g+32>>2]=t+(u+((((l|0)<0?0-f|0:f)|0)<0?v:i)|0);i=N[a+11656>>2];j=N[n+68>>2];f=j>>31;f=(f^j)-f|0;e:{if(f+o>>>0<=8190){f=T(d,f)+32768>>>16|0;break e}o=f&65535;f=T(o,d>>>16|0)+T(d,f>>>16|0)+(T(o,d&65535)+32768>>>16)|0}d=f;o=0-d|0;d=j>>31|1;f=(((h|0)<0?0-d|0:d)|0)<0?o:f;h=N[n+76>>2];d=h>>31;d=(d^h)-d|0;f:{if(d+s>>>0<=8190){e=T(d,e)+32768>>>16|0;break f}n=d&65535;e=T(n,e>>>16|0)+T(e,d>>>16|0)+(T(n,e&65535)+32768>>>16)|0}d=e;j=0-d|0;d=h>>31|1;N[g+36>>2]=i+(f+((((l|0)<0?0-d|0:d)|0)<0?j:e)|0);d=N[a+4>>2];Qa[N[d>>2]](d,g+24|0);d=N[g+32>>2];e=N[g+36>>2];f=0;N[a+11700>>2]=f|p;N[a+11704>>2]=k;N[a+11724>>2]=d;N[a+11728>>2]=e;N[a+11708>>2]=f|q;N[a+11712>>2]=m;L[a+11660|0]=1;L[a+11663|0]=0}if(O[a+11740|0]){lf(a,a+8|0,g+8|0,q,m,0)}N[a+11744>>2]=2;L[a+11740|0]=1;k=N[g+12>>2];N[a+11748>>2]=N[g+8>>2];N[a+11752>>2]=k;N[a+11756>>2]=q;N[a+11760>>2]=m;if(r){kf(a+8|0,N[a+11664>>2],N[a+11668>>2],N[a+11672>>2],N[a+11676>>2],0)}N[a+11720>>2]=c;N[a+11716>>2]=b}La=g- -64|0}function MA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-16|0;La=j;N[a+64>>2]=0;N[a+1140>>2]=b;k=a+1140|0;N[a+1344>>2]=k;l=a+112|0;N[a+1136>>2]=l;d=b+c|0;N[a+1148>>2]=d;N[a+1144>>2]=b;m=160;a:{if((c|0)<=0){break a}c=l;f=k;while(1){g=b+1|0;e=22;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{h=O[b|0];switch(h-1|0){case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 13:case 14:case 20:case 21:case 29:case 30:break a;case 11:break j;case 12:break k;case 9:break f;case 10:break g;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break h;default:break i}}e=2;break f}if(d>>>0<=g>>>0){break a}g=b+2|0;h=20;e=4;switch(O[b+1|0]-7|0){case 5:break e;case 0:break f;default:break a}}if((h|0)==255){break d}}if(h>>>0<32){break a}if(h>>>0<=246){b=h-139|0}else{b=b+2|0;if(b>>>0>d>>>0){break a}e=h<<8;n=O[g|0];g=b;b=h>>>0<=250?(e+n|0)-63124|0:64148-(e|n)|0}b=i?b:b<<16;e=(i|0)!=0;break c}e=24}h=e;if(i){break a}}b=N[(h<<2)+294928>>2];if((b|0)>c-l>>2){m=161;break a}c=c-(b<<2)|0;l:{m:{n:{o:{switch(h-2>>>1|0){case 1:N[a+64>>2]=1;N[a+32>>2]=N[c>>2]+N[a+32>>2];N[a+36>>2]=N[c+4>>2]+N[a+36>>2];N[a+40>>2]=N[c+8>>2];b=N[c+12>>2];break l;case 9:o=c,p=fb(N[c>>2],N[c+4>>2]),N[o>>2]=p;c=c+4|0;i=0;b=g;break b;case 10:b=M[c+2>>1];d=N[a+1376>>2];if(d){N[j+8>>2]=b;e=N[d+20>>2];b=e+((Qa[N[d+12>>2]](j+8|0)>>>0)%Q[d+4>>2]<<2)|0;while(1){p:{h=N[b>>2];if(!h){break p}if(Qa[N[d+16>>2]](h,j+8|0)|0){break p}b=b-4|0;if(e>>>0<=b>>>0){continue}b=(e+(N[d+4>>2]<<2)|0)-4|0;continue}break}b=N[b>>2];if(!b){break a}b=N[b+4>>2]}if((b|0)<0|N[a+1364>>2]<=(b|0)|(f-k|0)>180){break a}N[f>>2]=g;g=b<<2;d=g+N[a+1368>>2]|0;b=N[d>>2];N[f+16>>2]=b;e=N[a+1372>>2];q:{if(e){d=N[e+g>>2]+b|0;break q}g=b;b=N[a+1360>>2];b=g+((b|0)>0?b:0)|0;N[f+16>>2]=b;d=N[d+4>>2]}N[f+12>>2]=b;N[f+20>>2]=d;if(!b){break a}f=f+12|0;break n;case 0:break m;case 11:break o;default:break a}}if(f>>>0<=k>>>0){break a}f=f-12|0;b=N[f>>2];d=N[f+8>>2]}N[a+1344>>2]=f;break b}N[a+64>>2]=1;N[a+32>>2]=N[c>>2]+N[a+32>>2];N[a+40>>2]=N[c+4>>2];b=0}N[a+44>>2]=b;m=0;break a}g=b+5|0;if(d>>>0>>0){break a}b=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b-32001>>>0<=4294903294){e=1;if(!i){break c}break a}b=i?b:b<<16;e=(i|0)!=0}i=e;if((c-l|0)>1020){break a}N[c>>2]=b;c=c+4|0;b=g}N[a+1136>>2]=c;if(b>>>0>>0){continue}break}}La=j+16|0;return m|0}function so(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=La-96|0;La=e;c=c^2025677871;d=d^-1602871964;a:{if(b>>>0<=16){if(b>>>0>=4){g=(a+b|0)-4|0;f=g;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);h=b>>>1&2147483644;g=g-h|0;g=0|(O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24));i=f;f=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a+h|0;h=j|(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24));break a}f=0;if(!b){break a}h=O[(b>>>1|0)+a|0];f=h>>>24|0;h=h<<8;j=f;k=O[(a+b|0)-1|0];a=O[a|0];f=a>>>16|0;h=k|(a<<16|h);f=f|j;break a}b:{c:{if(b>>>0<49){f=b;break c}f=b;i=d;g=c;h=g;j=d;while(1){hb(e+80|0,c^(O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24)),d^(O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24)),0,0,(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))^-1598805797,(O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))^-419201327,0,0);hb(e- -64|0,g^(O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24)),i^(O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24)),0,0,(O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24))^-1668757789,(O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24))^-1900254480,0,0);hb(e+48|0,h^(O[a+40|0]|O[a+41|0]<<8|(O[a+42|0]<<16|O[a+43|0]<<24)),j^(O[a+44|0]|O[a+45|0]<<8|(O[a+46|0]<<16|O[a+47|0]<<24)),0,0,(O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24))^1966558403,(O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24))^1486448076,0,0);a=a+48|0;h=N[e+56>>2]^N[e+48>>2];j=N[e+60>>2]^N[e+52>>2];g=N[e+72>>2]^N[e+64>>2];i=N[e+76>>2]^N[e+68>>2];c=N[e+88>>2]^N[e+80>>2];d=N[e+92>>2]^N[e+84>>2];f=f-48|0;if(f>>>0>48){continue}break}c=h^(c^g);d=j^(d^i);if(f>>>0<17){break b}}while(1){hb(e+32|0,c^(O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24)),d^(O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24)),0,0,(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))^-1598805797,(O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))^-419201327,0,0);a=a+16|0;c=N[e+40>>2]^N[e+32>>2];d=N[e+44>>2]^N[e+36>>2];f=f-16|0;if(f>>>0>16){continue}break}}f=a+f|0;a=f-8|0;g=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);a=f-16|0;h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);f=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24)}hb(e+16|0,c^g,d^i,0,0,h^-1598805797,f^-419201327,0,0);hb(e,N[e+24>>2]^N[e+16>>2],N[e+28>>2]^N[e+20>>2],0,0,b^-1598805797,-419201327,0,0);La=e+96|0;Pa=N[e+4>>2]^N[e+12>>2];return N[e>>2]^N[e+8>>2]}function rp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{b:{c:{h=N[b>>2];g=h<<1;if((g|0)<0){e=6;break c}d:{e:{if(g){e=10;if((g|0)>536870911){break c}f=h<<3;e=Qa[N[d+4>>2]](d,f)|0;if(!e|(g|0)<=0){break e}C(e,0,f)}N[a+12>>2]=e;break d}N[a+12>>2]=e;if(e){break d}return!e<<6}e=0;f:{if((h|0)<0){e=6;break f}g:{h:{i:{if(h){e=10;if((h|0)>76695844){break f}f=T(h,28);e=Qa[N[d+4>>2]](d,f)|0;if(!e|(h|0)<=0){break i}C(e,0,f)}N[a+8>>2]=e;m=a+8|0;break h}N[a+8>>2]=e;if(!e){break g}m=a+8|0}g=g|1;if((g|0)>=134217728){e=10;a=a+24|0;break b}e=g<<4;d=Qa[N[d+4>>2]](d,e)|0;if(d){g=0;C(d,0,e);N[a>>2]=h;N[a+24>>2]=d;N[a+28>>2]=0;N[a+20>>2]=0;N[a+4>>2]=0;N[a+16>>2]=N[a+12>>2]+(h<<2);j:{if(!h){break j}e=N[m>>2];f=N[b+8>>2];i=h&3;k:{if(!i){d=h;break k}d=h&-4;b=0;while(1){N[e>>2]=N[f>>2];N[e+4>>2]=N[f+4>>2];N[e+16>>2]=N[f+8>>2];f=f+12|0;e=e+28|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(h>>>0<4){break j}while(1){N[e>>2]=N[f>>2];N[e+4>>2]=N[f+4>>2];N[e+16>>2]=N[f+8>>2];N[e+28>>2]=N[f+12>>2];N[e+32>>2]=N[f+16>>2];N[e+44>>2]=N[f+20>>2];N[e+56>>2]=N[f+24>>2];N[e+60>>2]=N[f+28>>2];N[e+72>>2]=N[f+32>>2];N[e+84>>2]=N[f+36>>2];N[e+88>>2]=N[f+40>>2];N[e+100>>2]=N[f+44>>2];f=f+48|0;e=e+112|0;d=d-4|0;if(d){continue}break}}l:{if(!c){break l}j=N[c>>2];k=N[c+8>>2];N[a+32>>2]=c;if(!j){break l}while(1){p=N[k>>2];if(p){n=N[k+8>>2];f=0;l=0;d=0;while(1){if(!f){d=O[n|0];n=n+1|0;f=128}m:{if(!(d&f)|h>>>0<=l>>>0){break m}i=N[m>>2]+T(l,28)|0;b=N[i+16>>2];if(b&4){break m}N[i+16>>2]=b|4;c=N[a+16>>2];N[i+20>>2]=0;n:{if(!g){break n}q=N[i>>2];s=q+N[i+4>>2]|0;b=g;e=c;while(1){o=N[e>>2];r=N[o>>2];if(!((r|0)>(s|0)|(q|0)>(r+N[o+4>>2]|0))){N[i+20>>2]=o;break n}e=e+4|0;b=b-1|0;if(b){continue}break}}if(g>>>0>=h>>>0){break m}b=g+1|0;N[a+4>>2]=b;N[c+(g<<2)>>2]=i;g=b}f=f>>>1|0;l=l+1|0;if((p|0)!=(l|0)){continue}break}}k=k+16|0;j=j-1|0;if(j){continue}break}}d=0;if((g|0)==(h|0)){return 0}if(!h){return 0}while(1){i=N[m>>2]+T(d,28)|0;b=N[i+16>>2];o:{if(b&4){break o}N[i+16>>2]=b|4;b=N[a+16>>2];N[i+20>>2]=0;p:{if(!g){break p}k=N[i>>2];l=k+N[i+4>>2]|0;f=g;e=b;while(1){c=N[e>>2];j=N[c>>2];if(!((j|0)>(l|0)|(k|0)>(j+N[c+4>>2]|0))){N[i+20>>2]=c;break p}e=e+4|0;f=f-1|0;if(f){continue}break}}if(g>>>0>=h>>>0){break o}c=g+1|0;N[a+4>>2]=c;N[b+(g<<2)>>2]=i;g=c}e=0;d=d+1|0;if((d|0)!=(h|0)){continue}break}break a}e=64;a=a+24|0;break b}return!e<<6}a=a+8|0;break b}a=a+12|0}N[a>>2]=0}return e}function Hl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;w=N[a+16>>2];m=O[w+6|0]<<8|O[w+7|0]&254;if(!m){return 0}x=N[a>>2];z=N[x+508>>2]+N[x+512>>2]|0;d=N[b>>2];r=d+1|0;n=c?r:d;u=m+2|0;t=w+14|0;v=m>>>1|0;d=v;a:{b:{c:{while(1){d:{i=d+f|0;g=(i&-2)+t|0;j=O[g|0]<<8|O[g+1|0];e=i>>>1|0;h=e;g=g+u|0;o=O[g|0]<<8|O[g+1|0];if(o>>>0<=n>>>0){if(j>>>0>=n>>>0){break d}h=d;f=e+1|0}d=h;if(f>>>0>>0){continue}break c}break}f=0;A=v-1|0;d=g+m|0;h=d+m|0;g=O[h|0]<<8|O[h+1|0];k=(o|0)==65535&A>>>0<=e>>>0&(j|0)==65535&(g|0)!=0&(g+h|0)+2>>>0>z>>>0;p=k?0:g;d=O[d|0]|O[d+1|0]<<8;l=k?1:(d<<8|d>>>8)<<16>>16;e:{f:{g:{h:{i:{if(O[a+20|0]&2){s=e+1|0;d=(p|0)==65535?s:e;if(i>>>0<2){break i}f=e-1|0;q=f<<1;i=q+t|0;k=O[i|0]<<8|O[i+1|0];if(k>>>0>>0){break i}l=t+u|0;j:{while(1){k:{g=k;i=f;o=l+q|0;y=o+m|0;h=y+m|0;p=O[h|0]<<8|O[h+1|0];d=(p|0)==65535?d:f;if(!f){break k}f=i-1|0;q=f<<1;k=q+t|0;k=O[k|0]<<8|O[k+1|0];if(k>>>0>=n>>>0){continue}break j}break}i=0;o=l}f=O[y|0]|O[y+1|0]<<8;l=(f<<8|f>>>8)<<16>>16;o=O[o+1|0]|O[o|0]<<8;break h}if((p|0)==65535){break f}break g}i=e;g=j}if((d|0)==(s|0)){j=(e|0)==(i|0)?g:j;f=0;if(s>>>0>=v>>>0){break f}q=(s<<1)+t|0;d=q+u|0;k=O[d|0]<<8|O[d+1|0];if(k>>>0>n>>>0){break f}g=(m+w|0)+12|0;d=e;l:{while(1){m:{o=k;i=s;j=q;l=(u+j|0)+m|0;h=l+m|0;p=O[h|0]<<8|O[h+1|0];d=(p|0)==65535?d:i;s=i+1|0;if((v|0)==(s|0)){break m}q=(s<<1)+t|0;h=q+u|0;k=O[h|0]<<8|O[h+1|0];if(k>>>0<=n>>>0){continue}break l}break}j=g;i=A}g=O[j+1|0]|O[j|0]<<8;if((d|0)==(e|0)){e=i;j=g;if(c){break b}break a}e=O[l|0]|O[l+1|0]<<8;l=(e<<8|e>>>8)<<16>>16}if((d|0)==(i|0)){e=d;j=g;break g}e=(d<<1)+t|0;j=O[e|0]<<8|O[e+1|0];e=e+u|0;o=O[e|0]<<8|O[e+1|0];e=e+m|0;h=e+m|0;p=O[h|0]<<8|O[h+1|0];e=O[e|0]|O[e+1|0]<<8;l=(e<<8|e>>>8)<<16>>16;e=d}if(!p){break e}d=((n-o<<1)+p|0)+h|0;n:{if(!c){break n}f=0;if(d>>>0<=z>>>0){break n}r=n;break b}d=O[d+1|0]|O[d|0]<<8;if(!d){break c}d=d+l&65535;f=d>>>0>2]?d:0}if(c){break b}break a}d=l+n|0;f=d&65535;if(!c){break a}if(Q[x+16>>2]>f>>>0){break b}c=l+j|0;o:{if((d|0)>=0){break o}f=0;if((c|0)<0){break o}r=0-l|0;break b}r=(d|0)<65536?(c|0)>65535?65536-l|0:n:n;f=0;break b}f=0;if(!c){break a}}c=f;if(j>>>0>>0){f=0;e=e+1|0;if((v|0)==(e|0)){break a}}p:{if(Fl(a,e)){f=c;if(f){break p}return 0}N[a+24>>2]=r;if(c){N[a+28>>2]=c;f=c;break p}Gl(a);f=N[a+28>>2];if(!f){return 0}r=N[a+24>>2]}N[b>>2]=r}return f}function ti(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;c=N[a>>2];f=N[c+96>>2];h=N[a+532>>2];g=a+304|0;b=b?b:N[N[c+168>>2]+16>>2]+T(N[N[a+64>>2]+24>>2],144)|0;F(g,b,144);p=!h|!(f&2);N[a+528>>2]=p;f=h?0:f;e=f&1?f|124:f;if(e&512){F(g,c+976|0,144)}l=N[c+168>>2];f=N[l+40>>2];j=+(f|0);d=j/288;if(e&4){S[a+312>>3]=d*S[c+984>>3];S[a+368>>3]=d*S[c+1040>>3];S[a+352>>3]=S[c+1024>>3];S[a+360>>3]=S[c+1032>>3]}if(e&8){N[a+308>>2]=N[c+980>>2];N[a+428>>2]=N[c+1100>>2]}if(e&16){N[a+320>>2]=N[c+992>>2];N[a+324>>2]=N[c+996>>2];N[a+328>>2]=N[c+1e3>>2];N[a+332>>2]=N[c+1004>>2]}if(e&32){N[a+336>>2]=N[c+1008>>2];N[a+340>>2]=N[c+1012>>2];N[a+344>>2]=N[c+1016>>2];N[a+348>>2]=N[c+1020>>2]}if(e&64){N[a+384>>2]=N[c+1056>>2];S[a+392>>3]=d*S[c+1064>>3];S[a+400>>3]=d*S[c+1072>>3]}if(e&128){N[a+408>>2]=N[c+1080>>2]}if(e&1024){N[a+440>>2]=N[c+1112>>2]}if(e&256){N[a+412>>2]=N[c+1084>>2];N[a+416>>2]=N[c+1088>>2];N[a+420>>2]=N[c+1092>>2]}m=N[a+308>>2];if(!m){m=N[b+4>>2];N[a+308>>2]=m}N[a+524>>2]=e;N[a+68>>2]=g;g=N[c+140>>2];i=+(g|0);n=N[c+144>>2];k=+(n|0);if(!(!N[c+72>>2]|h)){k=S[c+160>>3];i=S[c+152>>3]}h=N[l+36>>2];j=i/j;S[a+544>>3]=j;o=k/+(h|0);S[a+536>>3]=o;e=N[l+92>>2];a:{if((e|0)>0){b=N[l+96>>2];if((b|0)>0){break a}}e=N[c+24>>2];if((e|0)>0){b=N[c+28>>2];if((b|0)>0){break a}}d=S[c+80>>3];b:{if(!(d<=0|d==1|(!n|!g))){if(d>1){b=qc(+((T(f,n)|0)/(g|0)|0)/d);e=(b|0)<=1?1:b;b=f;break a}b=qc(d*+((T(h,g)|0)/(n|0)|0));b=(b|0)<=1?1:b;break b}b=f}e=h}d=i/+(b|0);S[a+576>>3]=d;i=k/+(e|0);S[a+568>>3]=i;b=N[l+60>>2];k=b?j:d;S[a+560>>3]=k;q=b?o:i;S[a+552>>3]=q;if(p){r=d;d=S[c+32>>3];S[a+576>>3]=r*d;S[a+568>>3]=i*d;S[a+560>>3]=k*d;S[a+552>>3]=q*d;S[a+544>>3]=j*d;S[a+536>>3]=o*d}N[a+496>>2]=m;b=N[a+324>>2];N[a+224>>2]=N[a+320>>2];N[a+228>>2]=b;b=N[a+332>>2];N[a+232>>2]=N[a+328>>2];N[a+236>>2]=b;S[a+80>>3]=S[a+312>>3];N[a+92>>2]=(N[a+348>>2]!=0)<<1|N[a+344>>2]!=0;s=a,t=nb(m),N[s+500>>2]=t;N[a+512>>2]=N[a+428>>2];b=N[a+340>>2];N[a+504>>2]=N[a+336>>2];N[a+508>>2]=b;sg(a);L[a+259|0]=0;N[a+104>>2]=0;N[a+108>>2]=0;N[a+112>>2]=0;N[a+116>>2]=0;N[a+220>>2]=N[a+384>>2];d=S[a+392>>3];S[a+208>>3]=d;S[a+200>>3]=d;S[a+176>>3]=S[a+352>>3];S[a+184>>3]=S[a+360>>3];S[a+192>>3]=S[a+368>>3];S[a+264>>3]=S[a+432>>3];d=S[a+400>>3];S[a+280>>3]=d;S[a+272>>3]=d;N[a+128>>2]=0;N[a+132>>2]=0;N[a+136>>2]=0;N[a+140>>2]=0;S[a+120>>3]=S[a+376>>3];N[a+520>>2]=N[a+424>>2]}function Ld(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{if(!(O[a+62|0]|O[b+62|0])){if(!(N[b+68>>2]?!N[a+68>>2]|O[a+63|0]==O[b+63|0]:1)){break b}if(!(N[b+68>>2]?!N[a+68>>2]|N[a+36>>2]==N[b+36>>2]:1)){break a}e=N[b+68>>2];d=d>>>0>e>>>0?e:d;c:{if(d>>>0<=c>>>0){break c}e=N[a+68>>2];g=c>>>0>d>>>0?d:c;i=d-g|0;f=e+i|0;if(e>>>0>f>>>0){L[a+60|0]=0;return}d:{if(!N[a+4>>2]){break d}c=e;e:{if(!f){break e}c=e;if(f>>>0>2]){break e}if(!gb(a,f)){break d}c=N[a+68>>2]}f:{if(c>>>0>>0){h=T(f-c|0,20);if(h){C(N[a+80>>2]+T(c,20)|0,0,h)}g:{if(!O[a+63|0]){break g}c=N[a+68>>2];h=T(f-c|0,20);if(!h){break g}C(N[a+88>>2]+T(c,20)|0,0,h)}N[a+68>>2]=f;break f}N[a+68>>2]=f;if(f){break f}N[a+132>>2]=0;N[a+36>>2]=0}N[a+136>>2]=0}if(!O[a+60|0]){break c}if(!e){N[a+36>>2]=N[b+36>>2]}h:{if(O[a+63|0]|!O[b+63|0]){break h}N[a+72>>2]=0;M[a+62>>1]=256;N[a+84>>2]=N[a+80>>2];c=T(N[a+68>>2],20);if(!c){break h}C(N[a+88>>2],0,c)}c=N[a+40>>2];if(!c){c=N[b+40>>2];N[a+40>>2]=c}i:{if(N[b+40>>2]!=(c|0)){break i}c=N[a+44>>2];if(!c){c=N[b+44>>2];N[a+44>>2]=c}if(N[a+48>>2]|N[b+44>>2]!=(c|0)){break i}N[a+48>>2]=N[b+48>>2]}c=T(i,20);j:{if(!c){break j}F(N[a+80>>2]+T(e,20)|0,N[b+80>>2]+T(g,20)|0,c);if(!O[a+63|0]){break j}F(N[a+88>>2]+T(e,20)|0,N[b+88>>2]+T(g,20)|0,c)}if(N[b+36>>2]!=1){break c}k:{if((g|0)==(0-N[b+132>>2]|0)|e){break k}N[a+132>>2]=0;l:{if(!g){break l}c=N[b+80>>2];e=g-1|0;N[a+92>>2]=N[c+T(e,20)>>2];N[a+132>>2]=1;e=e>>>0>=4?4:e;if(!e){break l}N[a+96>>2]=N[(c+T(g,20)|0)-40>>2];N[a+132>>2]=2;e=e+1|0;if((e|0)==2){break l}f=c+T(g,20)|0;N[a+100>>2]=N[f-60>>2];N[a+132>>2]=3;if((e|0)==3){break l}N[a+104>>2]=N[f-80>>2];N[a+132>>2]=4;if((e|0)==4){break l}N[a+108>>2]=N[(c+T(g,20)|0)-100>>2];N[a+132>>2]=5}if(!N[b+132>>2]){break k}f=a+92|0;g=b+92|0;c=0;while(1){e=N[a+132>>2];if(e>>>0>4){break k}i=N[g+(c<<2)>>2];N[a+132>>2]=e+1;N[f+(e<<2)>>2]=i;c=c+1|0;if(c>>>0>2]){continue}break}}c=0;N[a+136>>2]=0;m:{if(Q[b+68>>2]<=d>>>0){break m}f=N[b+80>>2];e=0;while(1){g=N[f+T(d,20)>>2];N[a+136>>2]=e+1;N[((e<<2)+a|0)+112>>2]=g;d=d+1|0;if(d>>>0>=Q[b+68>>2]){break m}e=N[a+136>>2];if(e>>>0<=4){continue}break}}if(!N[b+136>>2]){break c}while(1){d=N[a+136>>2];if(d>>>0>4){break c}e=N[((c<<2)+b|0)+112>>2];N[a+136>>2]=d+1;N[((d<<2)+a|0)+112>>2]=e;c=c+1|0;if(c>>>0>2]){continue}break}}return}ba(8661,17855,1878,16605);B()}ba(12911,17855,1880,16605);B()}ba(12992,17855,1882,16605);B()}function Ph(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=N[a+100>>2];a:{b:{j=N[a+736>>2];if(!j){d=re(a,0);if(d){break b}j=N[a+736>>2]}m=N[j+12>>2];f=N[m>>2];c:{d=N[j+4>>2];if(d){break c}d=0;if((f|0)<0){d=6;break a}d:{if(f){d=10;if((f|0)>536870911){break a}g=f<<2;d=Qa[N[l+4>>2]](l,g)|0;if(!d|(f|0)<=0){break d}C(d,0,g)}N[j+4>>2]=d;break c}N[j+4>>2]=d;if(d){break c}return!d<<6}f=b>>>0>f>>>0?f:b;e:{if(!f){g=0;break e}h=f&3;b=0;f:{if(f>>>0<4){g=0;break f}e=f&-4;g=0;while(1){i=N[c>>2];if((i|0)!=N[d>>2]){N[d>>2]=i;g=1}i=N[c+4>>2];if((i|0)!=N[d+4>>2]){N[d+4>>2]=i;g=1}i=N[c+8>>2];if((i|0)!=N[d+8>>2]){N[d+8>>2]=i;g=1}i=N[c+12>>2];if((i|0)!=N[d+12>>2]){N[d+12>>2]=i;g=1}d=d+16|0;c=c+16|0;k=k+4|0;if((e|0)!=(k|0)){continue}break}}if(!h){break e}while(1){e=N[c>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}d=d+4|0;c=c+4|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}h=N[m>>2];b=N[a+4>>2];g:{if(b&2147418112){if(f>>>0>=h>>>0){break g}c=N[(N[m+16>>2]+T(b>>>16|0,12)|0)-12>>2]+(f<<2)|0;i=h+(f^-1)|0;e=h-f&3;if(e){b=0;while(1){k=N[c>>2];if((k|0)!=N[d>>2]){N[d>>2]=k;g=1}d=d+4|0;c=c+4|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}b=f+e|0}else{b=f}if(i>>>0<3){break g}while(1){e=N[c>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}e=N[c+4>>2];if((e|0)!=N[d+4>>2]){N[d+4>>2]=e;g=1}e=N[c+8>>2];if((e|0)!=N[d+8>>2]){N[d+8>>2]=e;g=1}e=N[c+12>>2];if((e|0)!=N[d+12>>2]){N[d+12>>2]=e;g=1}d=d+16|0;c=c+16|0;b=b+4|0;if((h|0)!=(b|0)){continue}break}break g}if(f>>>0>=h>>>0){break g}i=h+(f^-1)|0;c=N[m+12>>2]+T(f,24)|0;e=h-f&3;if(e){b=0;while(1){k=N[c+8>>2];if((k|0)!=N[d>>2]){N[d>>2]=k;g=1}d=d+4|0;c=c+24|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}b=f+e|0}else{b=f}if(i>>>0<3){break g}while(1){e=N[c+8>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}e=N[c+32>>2];if((e|0)!=N[d+4>>2]){N[d+4>>2]=e;g=1}e=N[c+56>>2];if((e|0)!=N[d+8>>2]){N[d+8>>2]=e;g=1}e=N[c+80>>2];if((e|0)!=N[d+12>>2]){N[d+12>>2]=e;g=1}d=d+16|0;c=c+96|0;b=b+4|0;if((h|0)!=(b|0)){continue}break}}if(N[j+8>>2]){d=-1;if(!g){break b}}c=0;if((h|0)<0){return 6}h:{if(!h){break h}d=10;if((h|0)>536870911){break b}b=h<<2;c=Qa[N[l+4>>2]](l,b)|0;if(!(!c|(h|0)<=0)){C(c,0,b);break h}if(c){break h}d=!c<<6;break b}b=N[a+736>>2];if(!O[b+24|0]){Wm(a);b=N[a+736>>2]}Vm(b,f,N[j+4>>2],c);d=$f(a,N[m>>2],c,0);if(!d){N[a+8>>2]=N[a+8>>2]&-32769|((f|0)!=0)<<15;d=0}if(!c){break b}Qa[N[l+8>>2]](l,c);return d|0}return d|0}N[j+4>>2]=0;return d|0}function Lj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=N[b+24>>2];if((c|0)==-1){c=0}else{c=c>>>0>=Q[b+16>>2]?275552:N[b+20>>2]+T(c,28)|0;c=Qa[N[c+12>>2]](N[c>>2],a,1)|0}i=c;a:{f=N[a+96>>2];d=N[f+64>>2];b:{if(d>>>0>=Q[f+68>>2]){break b}while(1){if(!O[f+60|0]){break b}c=N[f+80>>2]+T(d,20)|0;h=N[c>>2];c:{d:{if(!(N[b>>2]>>>(h>>>4)&1)|!(N[b+4>>2]>>>h&1)|(!(N[b+8>>2]>>>(h>>>9)&1)|!(N[a+132>>2]&N[c+4>>2]))){break d}d=N[a+140>>2];e=P[c+12>>1];if(d&e&14){break d}e:{if(!(e&8)){break e}if(d&16){e=275552;g=N[a+104>>2];f:{if((O[g|0]|O[g+1|0]<<8)!=256){break f}c=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){break f}c=O[g+12|0]|O[g+13|0]<<8;if(!c){break f}e=g+((c<<8|c>>>8)&65535)|0}if((O[e|0]|O[e+1|0]<<8)!=256){break d}c=O[e+2|0]|O[e+3|0]<<8;g=(c<<8|c>>>8)&65535;c=d>>>16|0;if(g>>>0>c>>>0){c=((c<<2)+e|0)+4|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0}else{c=275552}if((vb(c,h)|0)!=-1){break e}break d}c=d&65280;if(!c){break e}if((c|0)!=(e&65280)){break d}}e=N[b+16>>2];if(i){if(!e){break d}d=N[b+20>>2];while(1){c=N[a+96>>2];c=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];if(!(!(N[d+16>>2]>>>(c>>>4)&1)|!(N[d+20>>2]>>>c&1)|!(N[d+24>>2]>>>(c>>>9)&1))){if(Qa[N[d+8>>2]](N[d>>2],a)|0){break c}}d=d+28|0;e=e-1|0;if(e){continue}break}break d}if(!e){break d}d=N[b+20>>2];while(1){c=N[a+96>>2];c=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];if(!(!(N[d+16>>2]>>>(c>>>4)&1)|!(N[d+20>>2]>>>c&1)|!(N[d+24>>2]>>>(c>>>9)&1))){if(Qa[N[d+4>>2]](N[d>>2],a)|0){break c}}d=d+28|0;e=e-1|0;if(e){continue}break}}if(O[f+62|0]){e=N[f+84>>2];c=N[f+80>>2];d=N[f+72>>2];if(!((e|0)==(c|0)&(d|0)==N[f+64>>2])){d=d+1|0;if(!(!d|d>>>0>2])){if(!gb(f,d)){break c}e=N[f+84>>2];c=N[f+80>>2]}g:{if((c|0)!=(e|0)){break g}d=N[f+72>>2];if(d+1>>>0<=N[f+64>>2]+1>>>0){e=c;break g}if(!O[f+62|0]){break a}e=N[f+88>>2];N[f+84>>2]=e;d=T(d,20);if(!d){break g}F(e,c,d);e=N[f+84>>2];c=N[f+80>>2]}d=T(N[f+72>>2],20)+e|0;e=T(N[f+64>>2],20)+c|0;c=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=c;N[d+16>>2]=N[e+16>>2];c=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=c;d=N[f+72>>2]}N[f+72>>2]=d+1}N[f+64>>2]=N[f+64>>2]+1}d=N[f+64>>2];if(d>>>0>2]){continue}break}}if(i){c=N[b+24>>2];b=c>>>0>=Q[b+16>>2]?275552:N[b+20>>2]+T(c,28)|0;Qa[N[b+12>>2]](N[b>>2],a,0)|0}return}ba(8694,17855,209,11932);B()}function Fe(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=N[N[b>>2]+16>>2];i=N[(h<<2)+293584>>2];e=N[b+36>>2];g=N[e+12>>2];a:{if(!N[g+4>>2]){break a}e=P[N[e>>2]+68>>1];if((e|0)==N[g+28>>2]&(e|0)==N[g+32>>2]){break a}N[g+32>>2]=e;N[g+28>>2]=e;N[g+12>>2]=N[g+12>>2]+1;He(g)}while(1){e=a;a=e+1|0;f=O[e|0];if((f|0)==32){continue}break}a=e;while(1){if((f|32)!=32){a=a+1|0;a=f<<24>>24<0?(f>>>0<224?1:f>>>0<240?2:3)+a|0:a;f=O[a|0];continue}break}if(N[c+4>>2]){N[c+36>>2]=0;N[c+40>>2]=0;L[c+61|0]=0;L[c+62|0]=0;L[c+63|0]=0;L[c+64|0]=0;L[c+65|0]=0;L[c+66|0]=0;L[c+67|0]=0;L[c+68|0]=0;L[c+60|0]=1;N[c+144>>2]=0;N[c+92>>2]=0;N[c+96>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;L[c+68|0]=0;L[c+69|0]=0;L[c+70|0]=0;L[c+71|0]=0;L[c+72|0]=0;L[c+73|0]=0;L[c+74|0]=0;L[c+75|0]=0;N[c+84>>2]=N[c+80>>2];N[c+100>>2]=0;N[c+104>>2]=0;N[c+108>>2]=0;N[c+112>>2]=0;N[c+116>>2]=0;N[c+120>>2]=0;N[c+124>>2]=0;N[c+128>>2]=0;N[c+132>>2]=0;N[c+136>>2]=0;M[c+140>>1]=0}f=a-e|0;yl(c,e,f,f);zl(c);h=(h|0)!=10;Ge(g,c,i,h);if(!h){N[d>>2]=N[c+68>>2];return a}b=N[N[b+36>>2]+16>>2];if(N[b+4>>2]){N[b+36>>2]=0;N[b+40>>2]=0;L[b+61|0]=0;L[b+62|0]=0;L[b+63|0]=0;L[b+64|0]=0;L[b+65|0]=0;L[b+66|0]=0;L[b+67|0]=0;L[b+68|0]=0;L[b+60|0]=1;N[b+144>>2]=0;N[b+92>>2]=0;N[b+96>>2]=0;N[b+52>>2]=0;N[b+56>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;L[b+68|0]=0;L[b+69|0]=0;L[b+70|0]=0;L[b+71|0]=0;L[b+72|0]=0;L[b+73|0]=0;L[b+74|0]=0;L[b+75|0]=0;N[b+84>>2]=N[b+80>>2];N[b+100>>2]=0;N[b+104>>2]=0;N[b+108>>2]=0;N[b+112>>2]=0;N[b+116>>2]=0;N[b+120>>2]=0;N[b+124>>2]=0;N[b+128>>2]=0;N[b+132>>2]=0;N[b+136>>2]=0;M[b+140>>1]=0}yl(b,e,f,f);zl(b);f=0;Ge(g,b,0,0);e=N[c+68>>2];b:{if((e|0)!=N[b+68>>2]){break b}g=N[c+80>>2];c:{d:{if(!e){break d}b=N[b+80>>2];while(1){h=T(f,20);if(N[h+g>>2]!=N[b+h>>2]){break d}f=f+1|0;if((f|0)!=(e|0)){continue}break}break c}if((e|0)!=(f|0)){break b}}if(!N[c+4>>2]){break b}N[c+36>>2]=0;N[c+40>>2]=0;L[c+61|0]=0;L[c+62|0]=0;L[c+63|0]=0;L[c+64|0]=0;L[c+65|0]=0;L[c+66|0]=0;L[c+67|0]=0;L[c+68|0]=0;L[c+60|0]=1;e=0;N[c+144>>2]=0;N[c+84>>2]=g;N[c+92>>2]=0;N[c+96>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;L[c+68|0]=0;L[c+69|0]=0;L[c+70|0]=0;L[c+71|0]=0;L[c+72|0]=0;L[c+73|0]=0;L[c+74|0]=0;L[c+75|0]=0;N[c+100>>2]=0;N[c+104>>2]=0;N[c+108>>2]=0;N[c+112>>2]=0;N[c+116>>2]=0;N[c+120>>2]=0;N[c+124>>2]=0;N[c+128>>2]=0;N[c+132>>2]=0;N[c+136>>2]=0;M[c+140>>1]=0}N[d>>2]=e;return a}function Kk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=La-32|0;La=p;k=N[a+96>>2];g=N[k+64>>2];i=O[k+62|0]?N[k+72>>2]:g;m=f-g|0;a:{if(!b){break a}f=i-g|0;if(b>>>0>=4){o=b&-4;while(1){g=h<<2;n=g+c|0;N[n>>2]=f+N[n>>2];n=(g|4)+c|0;N[n>>2]=f+N[n>>2];n=(g|8)+c|0;N[n>>2]=f+N[n>>2];g=(g|12)+c|0;N[g>>2]=f+N[g>>2];h=h+4|0;if((o|0)!=(h|0)){continue}break}}g=b&3;if(!g){break a}while(1){o=(h<<2)+c|0;N[o>>2]=f+N[o>>2];h=h+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}o=i+m|0;b:{if(!d){break b}n=0;while(1){if(!O[k+60|0]){break b}f=(n<<2)+e|0;g=O[f|0]|O[f+1|0]<<8;l=(g<<8|g>>>8)&65535;c:{if(l>>>0>=b>>>0){break c}r=(l<<2)+c|0;i=N[r>>2];g=N[k+64>>2];g=(N[k+68>>2]-g|0)+(O[k+62|0]?N[k+72>>2]:g)|0;if(i>>>0>=g>>>0){break c}if(!ec(k,i)|N[k+152>>2]<=0){break b}h=N[a+96>>2];if(N[h+156>>2]){if(O[k+62|0]){zc(h);h=N[a+96>>2]}i=O[f+2|0]|O[f+3|0]<<8;m=N[a+88>>2];N[p+20>>2]=N[k+64>>2];N[p+16>>2]=(i<<8|i>>>8)&65535;ib(h,m,17153,p+16|0);h=N[a+96>>2]}d:{m=N[a+144>>2];e:{if(!m){break e}j=N[a+100>>2];if(!j){break e}i=O[f+2|0]|O[f+3|0]<<8;q=N[h+152>>2];N[h+152>>2]=q-1;if((q|0)>0){break d}}L[h+61|0]=1;break c}N[a+144>>2]=m-1;i=Qa[j|0](a,(i<<8|i>>>8)&65535)|0;N[a+144>>2]=N[a+144>>2]+1;if(!i){break c}h=N[a+96>>2];if(N[h+156>>2]){if(O[k+62|0]){zc(h);h=N[a+96>>2]}i=N[a+88>>2];f=O[f+2|0]|O[f+3|0]<<8;N[p>>2]=(f<<8|f>>>8)&65535;ib(h,i,8337,p)}f=N[k+64>>2];i=(N[k+68>>2]-f|0)+(O[k+62|0]?N[k+72>>2]:f)|0;if((i|0)==(g|0)){break c}f=N[r>>2];h=i-g|0;i=h+o|0;m=(f|0)>(i|0);o=m?f:i;g=l+1|0;j=h+(m?f-i|0:0)|0;f:{if((j|0)>0){i=b+j|0;f=g;if(i>>>0<=64){break f}break b}f=g-b|0;j=(f|0)<(j|0)?j:f;i=j+b|0;f=g-j|0}m=f;f=(f<<2)+c|0;F(f+(j<<2)|0,f,b-m<<2);h=j+m|0;g:{if(g>>>0>=h>>>0){break g}l=(j+m|0)-l|0;q=l-2|0;f=N[r>>2];b=0;l=l-1&3;if(l){while(1){f=f+1|0;N[(g<<2)+c>>2]=f;g=g+1|0;b=b+1|0;if((l|0)!=(b|0)){continue}break}}if(q>>>0<=2){break g}while(1){l=(g<<2)+c|0;N[l>>2]=f+1;b=f+4|0;N[l+12>>2]=b;N[l+8>>2]=f+3;N[l+4>>2]=f+2;f=b;g=g+4|0;if((g|0)!=(h|0)){continue}break}}h:{if(h>>>0>=i>>>0){break h}f=0;b=i-h&3;if(b){while(1){g=(h<<2)+c|0;N[g>>2]=N[g>>2]+j;h=h+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}if(((j^-1)+i|0)-m>>>0<3){break h}while(1){b=(h<<2)+c|0;N[b>>2]=N[b>>2]+j;N[b+4>>2]=N[b+4>>2]+j;N[b+8>>2]=N[b+8>>2]+j;N[b+12>>2]=N[b+12>>2]+j;h=h+4|0;if((i|0)!=(h|0)){continue}break}}b=i}n=n+1|0;if((n|0)!=(d|0)){continue}break}}ec(k,o);La=p+32|0}function $s(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{if(!N[c+88>>2]){N[c+100>>2]=N[d+100>>2];N[c+104>>2]=N[d+104>>2];f=N[d+80>>2];N[c+80>>2]=f;e=N[d+76>>2];L[c+94|0]=7;N[c+76>>2]=e;M[c+92>>1]=256;f=f<<2;N[c+84>>2]=f;h=T(e,f);g=N[N[c+4>>2]+100>>2];e=N[c+156>>2];f=N[e+4>>2];c:{if(f&1){N[c+88>>2]=0;break c}N[e+4>>2]=f|1}e=0;d:{e:{f:{if((h|0)<=0){f=6;if(h){break f}break d}e=Qa[N[g+4>>2]](g,h)|0;if(e){break e}f=64}N[c+88>>2]=0;return f|0}C(e,0,h)}N[c+88>>2]=e;C(e,0,h);break b}k=N[d+104>>2];l=k-N[d+76>>2]|0;m=N[c+104>>2];n=m-N[c+76>>2]|0;h=N[d+100>>2];g=h+N[d+80>>2]|0;e=N[c+100>>2];f=e+N[c+80>>2]|0;if(!((f|0)<(g|0)|(e|0)>(h|0)|(k|0)>(m|0))){if((l|0)>=(n|0)){break b}}k=(k|0)<(m|0)?m:k;n=k-((l|0)>(n|0)?n:l)|0;m=(e|0)<(h|0)?e:h;h=((f|0)>(g|0)?f:g)-m|0;l=h<<2;e=T(n,l);g:{if((e|0)<=0){f=6;if(!e){break g}break a}f=N[a+100>>2];i=Qa[N[f+4>>2]](f,e)|0;if(!i){return 64}C(i,0,e)}if(N[c+76>>2]){f=(T(l,k-N[c+104>>2]|0)+i|0)+(N[c+100>>2]-m<<2)|0;e=N[c+88>>2];while(1){F(f,e,N[c+80>>2]<<2);f=f+l|0;e=N[c+84>>2]+e|0;j=j+1|0;if(j>>>0>2]){continue}break}}e=N[c+156>>2];f=N[e+4>>2];if(f&1){g=N[c+88>>2];if(g){f=N[N[c+4>>2]+100>>2];Qa[N[f+8>>2]](f,g);e=N[c+156>>2];f=N[e+4>>2]}f=f&-2;N[e+4>>2]=f}N[c+104>>2]=k;N[c+88>>2]=i;N[c+100>>2]=m;N[c+80>>2]=h;N[c+76>>2]=n;N[c+84>>2]=l;N[e+4>>2]=f|1;N[c+72>>2]=1651078259}h:{if((b|0)==65535){if(O[a+676|0]){e=O[a+680|0];j=O[a+679|0];i=O[a+677|0];g=O[a+678|0];break h}b=N[a+656>>2];if(b){e=255;j=255;i=255;g=255;if(O[b+(P[a+668>>1]<<1)|0]&2){break h}}j=0;e=255;i=0;g=0;break h}a=N[a+672>>2]+(b<<2)|0;e=O[a+3|0];j=O[a+2|0];i=O[a|0];g=O[a+1|0]}f=0;l=N[d+76>>2];if(!l|!N[d+80>>2]){break a}m=j&255;n=g&255;h=i&255;g=e&255;a=N[c+84>>2];b=(N[c+88>>2]+T(a,N[c+104>>2]-N[d+104>>2]|0)|0)+(N[d+100>>2]-N[c+100>>2]<<2)|0;i=N[d+88>>2];k=0;e=1;while(1){j=0;f=0;if(e){while(1){e=(j<<2)+b|0;f=(T(g,O[i+j|0])>>>0)/255|0;a=255-f|0;L[e+1|0]=(((T(a,O[e+1|0])&65535)>>>0)/255|0)+(((T(f,n)&65535)>>>0)/255|0);L[e|0]=(((T(a,O[e|0])&65535)>>>0)/255|0)+(((T(f,h)&65535)>>>0)/255|0);L[e+2|0]=(((T(a,O[e+2|0])&65535)>>>0)/255|0)+(((T(f,m)&65535)>>>0)/255|0);L[e+3|0]=f+(((T(a,O[e+3|0])&65535)>>>0)/255|0);f=N[d+80>>2];j=j+1|0;if(f>>>0>j>>>0){continue}break}l=N[d+76>>2];a=N[c+84>>2]}b=a+b|0;i=N[d+84>>2]+i|0;e=f;k=k+1|0;if(k>>>0>>0){continue}break}f=0}return f|0}function it(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-16|0;La=j;k=N[a+100>>2];N[j+12>>2]=0;a:{if(!N[a+868>>2]){i=3;break a}b:{i=Qa[N[a+516>>2]](a,1129270354,b,j+8|0)|0;if(i){break b}i=8;c=N[j+8>>2];if(c>>>0<14){break b}i=fc(b,c,j+12|0);if(i){break b}e=N[j+12>>2];c=Qa[N[k+4>>2]](k,44)|0;if(!c){i=64;break b}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;i=8;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;f=O[e|0]|O[e+1|0]<<8;d=f<<8|f>>>8;M[c>>1]=d;if((d&65535)>>>0>1){f=c;break b}f=O[e+2|0]|O[e+3|0]<<8;h=f<<8|f>>>8;M[c+2>>1]=h;f=N[j+8>>2];g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);l=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(f>>>0<=l>>>0){f=c;break b}if(f-l>>>0>>0){f=c;break b}g=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);h=O[e+12|0]|O[e+13|0]<<8;h=h<<8|h>>>8;M[c+4>>1]=h;m=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(m>>>0>=f>>>0){f=c;break b}if(f-m>>>0<(h&65535)<<2>>>0){f=c;break b}if((d&65535)==1){g=O[e+14|0]|O[e+15|0]<<8|(O[e+16|0]<<16|O[e+17|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(h>>>0>=f>>>0){f=c;break b}g=e+h|0;d=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);n=T(d,6);if(n>>>0>f-h>>>0){f=c;break b}N[c+20>>2]=g;N[c+16>>2]=d;d=O[e+18|0]|O[e+19|0]<<8|(O[e+20|0]<<16|O[e+21|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>=f>>>0){f=c;break b}c:{if(d){p=f-d|0;d=e+d|0;h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);o=h<<2;if(p>>>0>>0){f=c;break b}N[c+28>>2]=d;N[c+24>>2]=h;b=g+n|0;i=d+o|0;b=b>>>0>>0?b:i;break c}N[c+24>>2]=0;N[c+28>>2]=0;b=g+n|0}N[c+32>>2]=b}N[c+40>>2]=f;N[c+36>>2]=e;N[c+12>>2]=e+m;N[c+8>>2]=e+l;N[a+872>>2]=c;i=0;break a}d:{if(!b|!N[b+20>>2]){break d}a=N[j+12>>2];if(!a){break d}b=N[b+28>>2];Qa[N[b+8>>2]](b,a)}if(!f){break a}Qa[N[k+8>>2]](k,f)}La=j+16|0;return i|0}function xh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=N[a+88>>2];N[c>>2]=0;g=a+828|0;a:{if(!O[a+848|0]){j=N[a+104>>2];N[g+16>>2]=0;N[g+20>>2]=0;i=8;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;f=P[a+152>>1];if(!f){break a}d=N[a+156>>2];e=d+(f<<4)|0;while(1){b:{if(N[d>>2]==1111770656){f=N[d+12>>2];if(f){break b}}d=d+16|0;if(e>>>0>d>>>0){continue}break a}break}e=N[d+8>>2];d=N[j+20>>2];c:{if(d){if(!(Qa[d|0](j,e,0,0)|0)){break c}break a}if(e>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=e;if(f>>>0<8){break a}if(fc(j,f,g)){break a}i=N[a+828>>2];N[a+832>>2]=i+f;d:{e:{f:{if((O[i+1|0]|O[i|0]<<8)!=1){break f}e=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);d=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0<8){break f}n=O[i+2|0]<<8;k=O[i+3|0];e=n|k;if(f>>>0>>0|e>>>0>d-8>>>2>>>0){break f}N[a+840>>2]=f-d;o=d+i|0;N[a+836>>2]=o;N[a+844>>2]=e;d=i+8|0;h=d+(e<<2)|0;g:{if(!e){break g}l=k&3;if(l){k=k|n;n=(l<<2)+8|0;f=0;while(1){h=T(O[d+3|0]|O[d+2|0]<<8,10)+h|0;d=d+4|0;f=f+1|0;if((l|0)!=(f|0)){continue}break}d=i+n|0;f=k-l|0}else{f=e}if(e>>>0<4){break g}while(1){h=(((T(O[d+3|0]|O[d+2|0]<<8,10)+h|0)+T(O[d+7|0]|O[d+6|0]<<8,10)|0)+T(O[d+11|0]|O[d+10|0]<<8,10)|0)+T(O[d+15|0]|O[d+14|0]<<8,10)|0;d=d+16|0;f=f-4|0;if(f){continue}break}}if(h>>>0<=o>>>0){break d}if(!j){break e}}if(!N[j+20>>2]){break e}a=N[j+28>>2];Qa[N[a+8>>2]](a,i)}N[g>>2]=0;N[g+4>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;return 8}L[a+848|0]=1}i=6;if(!b|!m){break a}e=N[a+844>>2];j=nb(b);if(!j|!e){break a}d=N[g>>2]+8|0;h=d+(e<<2)|0;g=P[m+14>>1];while(1){f=O[d+3|0]|O[d+2|0]<<8;if((g|0)==(O[d+1|0]|O[d|0]<<8)){if(!f){break a}while(1){h:{l=O[h+5|0];if(!(l&16)){break h}d=N[a+840>>2];e=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);g=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0<=g>>>0){break h}m=d-g|0;if(m>>>0<=j>>>0){break h}e=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);k=g;g=N[a+836>>2];if(bb(b,k+g|0,m)){break h}e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);i:{switch(l&15){case 0:case 1:if(d>>>0<=e>>>0){break h}e=e+g|0;if(!qe(e,0,d)){break h}N[c+4>>2]=e;N[c>>2]=1;return 0;case 2:N[c+4>>2]=e;N[c>>2]=2;return 0;case 3:break i;default:break h}}N[c+4>>2]=e;N[c>>2]=3;return 0}h=h+10|0;f=f-1|0;if(f){continue}break}break a}d=d+4|0;h=T(f,10)+h|0;e=e-1|0;if(e){continue}break}}return i|0}function uC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=rf(b,c);a:{if(f){break a}e=N[b+2740>>2];if(!(e&1)){f=up(b,N[d+52>>2],d+56|0,0);if(f){break a}e=N[b+2740>>2]}b:{if(e&2){break b}f=up(b,N[d+9856>>2],d+9860|0,1);if(f){break a}if(O[(N[N[d+36>>2]+8>>2]+(a<<1)|0)+1|0]&64){break b}a=N[b+1404>>2];if((a|0)<=0){break b}i=N[b+1412>>2];w=i+T(a,44)|0;o=N[d+10064>>2];x=o>>>0<=1?1:o;m=N[d+9848>>2];a=m>>31;j=(a^m)-a|0;p=j&65535;q=j>>>16|0;r=j>>>8|0;y=d+10068|0;while(1){c:{if(!o){break c}e=Q[d+40>>2]/40|0;d:{if(e+r>>>0<=8190){e=T(e,j)+32768>>>16|0;break d}a=e&65535;e=T(a,q)+T(j,e>>>16|0)+(T(a,p)+32768>>>16)|0}a=0;e=(m|0)<0?0-e|0:e;f=(e|0)>=32?32:e;k=0;n=0;while(1){l=T(a,36)+y|0;e=N[l+32>>2];e:{if(!(e&1)){break e}s=e>>>3&1;v=(e&6)!=0;if(!(s|v^N[b+1416>>2]==L[i+13|0])){break e}t=M[i>>1];h=N[l>>2];e=t-h|0;g=e>>31;g=(e^g)-g|0;f:{if(g+r>>>0<=8190){e=T(g,j)+32768>>>16|0;break f}e=g&65535;e=T(e,q)+T(j,g>>>16|0)+(T(e,p)+32768>>>16)|0}g=(m|0)<0;e=g?0-e|0:e;u=(e|0)<(f|0);f=u?e:f;k=u?l:k;n=u?s:n;if(!e|s|(!(L[i+12|0]&1)|!(v^(h|0)>(t|0)))){break e}e=t-N[l+12>>2]|0;h=e>>31;h=(e^h)-h|0;g:{if(h+r>>>0<=8190){e=T(h,j)+32768>>>16|0;break g}e=h&65535;e=T(e,q)+T(j,h>>>16|0)+(T(e,p)+32768>>>16)|0}e=g?0-e|0:e;if((e|0)>=(f|0)){break e}k=l+12|0;n=0;f=e}a=a+1|0;if((x|0)!=(a|0)){continue}break}if(!k){break c}N[i+20>>2]=k;if(!(n&255)){break c}L[i+12|0]=O[i+12|0]|8}i=i+44|0;if(w>>>0>i>>>0){continue}break}}a=N[b+2740>>2];if(!(a&1)){tp(b,0);a=N[b+44>>2];if((a|0)>0){f=N[b+52>>2];e=f+T(a,44)|0;while(1){a=N[f+12>>2];if(a){h=f+36|0;d=N[a+8>>2];a=N[f+40>>2];while(1){g=N[h>>2];N[g+16>>2]=d;M[g>>1]=P[g>>1]|4;h=g+32|0;if((a|0)!=(g|0)){continue}break}}f=f+44|0;if(e>>>0>f>>>0){continue}break}}Hg(b,0);Gg(b,0);a=N[b+2740>>2]}if(!(a&2)){tp(b,1);a=N[b+1392>>2];if((a|0)>0){f=N[b+1400>>2];e=f+T(a,44)|0;while(1){a=N[f+12>>2];if(a){h=f+36|0;d=N[a+8>>2];a=N[f+40>>2];while(1){g=N[h>>2];N[g+20>>2]=d;M[g>>1]=P[g>>1]|8;h=g+32|0;if((a|0)!=(g|0)){continue}break}}f=f+44|0;if(e>>>0>f>>>0){continue}break}}Hg(b,1);Gg(b,1)}d=N[b+24>>2];if((d|0)<=0){return 0}a=N[b+28>>2];d=a+T(d,40)|0;h=N[c+4>>2];b=N[c+8>>2];while(1){N[h>>2]=N[a+16>>2];N[h+4>>2]=N[a+20>>2];f=0;c=P[a>>1];L[b|0]=c&1?0:c&2?2:1;b=b+1|0;h=h+8|0;a=a+40|0;if(d>>>0>a>>>0){continue}break}}return f|0}function pw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;c=3;f=N[a+32>>2];a:{if(!f){break a}d=N[f+364>>2];if(!d){break a}b=N[d+588>>2];c=N[d+584>>2];f=N[f+360>>2];b:{if(!(!O[d+556|0]|(f|0)!=N[d+564>>2]|(c|0)!=N[d+568>>2])){if(!c){break b}if(!Mb(b,N[d+572>>2],c<<2)){break b}}c=vm(d+556|0,f,c,b);if(c){break a}}c=3;k=Lc(a,N[N[a+20>>2]-4>>2]);if(k>>>0>Q[a+24>>2]){break a}i=(N[a+20>>2]-N[a+16>>2]|0)-4>>2;j=T(N[d+576>>2],k);c=161;c:{if(i>>>0>>0){break c}b=N[d+604>>2];h=N[d+600>>2];e=T(k,5);d:{if(b>>>0>=h+e>>>0){break d}f=N[d+592>>2];g=b+e|0;if((g|b)<0){N[d+592>>2]=f;c=6;break c}c=N[N[d+560>>2]+8>>2];l=N[d+596>>2];e:{if(!g){b=0;if(!f){break e}Qa[N[c+8>>2]](c,f);break e}if(!b){b=Qa[N[c+4>>2]](c,g)|0;if(b){break e}N[d+592>>2]=0;c=64;break c}c=Qa[N[c+12>>2]](c,b,g,f)|0;b=c?c:f;if(c){break e}N[d+592>>2]=b;c=64;break c}N[d+592>>2]=b;h=N[d+600>>2];N[d+596>>2]=h+b;N[d+604>>2]=e+N[d+604>>2];if(!f|(b|0)==(f|0)){break d}c=N[a+16>>2];g=N[a+20>>2];if(c>>>0>=g>>>0){break d}m=b-f|0;while(1){b=N[c>>2];if(!(b>>>0>>0|b>>>0>=l>>>0)){N[c>>2]=b+m;g=N[a+20>>2]}c=c+4|0;if(g>>>0>c>>>0){continue}break}}N[d+600>>2]=h+e;o=i-j|0;f=o+k|0;if(k){c=f;j=0;while(1){l=N[d+580>>2];p=j+o<<2;g=Lc(a,N[p+N[a+16>>2]>>2])<<16;m=N[a+16>>2];n=1;q=N[d+576>>2];if(q>>>0>=2){while(1){f:{g:{b=N[m+(c<<2)>>2];h=O[b|0];if((h|0)!=255){if((h|0)!=30){break g}e=Wf(a,b,0,0)>>16;break f}e=((O[b+3|0]|(O[b+2|0]<<8|O[b+1|0]<<16))<<8)+32768>>16;break f}i=b+1|0;h:{switch(h-28|0){case 0:e=0;if(Q[a+8>>2]<=b+2>>>0){break f}e=(O[b+2|0]|O[i|0]<<8)<<16>>16;break f;case 1:e=0;if(Q[a+8>>2]<=b+4>>>0){break f}b=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);e=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break f;default:break h}}e=h-139|0;if(h>>>0<=246){break f}b=N[a+8>>2];if(h>>>0<=250){e=0;if(b>>>0<=i>>>0){break f}e=(O[i|0]|h<<8)-63124|0;break f}e=0;if(b>>>0<=i>>>0){break f}e=64148-(O[i|0]|h<<8)|0}c=c+1|0;l=l+4|0;g=T(e,N[l>>2])+g|0;n=n+1|0;if(q>>>0>n>>>0){continue}break}}N[m+p>>2]=N[d+596>>2];b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=255;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>24;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>16;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>8;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g;j=j+1|0;if((j|0)!=(k|0)){continue}break}}N[a+20>>2]=N[a+16>>2]+(f<<2);c=0}L[d+557|0]=1}return c|0}function mv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=8;d=a+5|0;a:{if(d>>>0>b>>>0){break a}i=O[a+3|0];j=O[a+4|0];a=N[c+92>>2];f=j+a|0;if(f>>>0>Q[c+96>>2]){f=f+3|0;if((f|a)<0){return 6}e=N[c>>2];k=N[c+100>>2];b:{c:{g=f&-4;d:{if(!g){if(!k){break d}Qa[N[e+8>>2]](e,k);N[c+100>>2]=0;break b}f=10;if((g|0)>59652323){break a}e:{if(!a){h=Qa[N[e+4>>2]](e,T(g,36))|0;f=!h<<6;break e}f=Qa[N[e+12>>2]](e,T(a,36),T(g,36),k)|0;h=f?f:k;f=!f<<6}if(f|(a|0)>=(g|0)|!h){break c}C(T(a,36)+h|0,0,T(g-a|0,36))}N[c+100>>2]=h;break b}N[c+100>>2]=h;if(f){break a}}N[c+96>>2]=g}f=8;a=b;k=i&8;b=i&4;g=i&16;h=i&1;i=i&2;if(a>>>0>>3)+(b>>>2)+(g>>>4)|0)+(i?h+9|0:h|8)|0,j)+d>>>0){break a}l=N[c+92>>2];f:{if(!j){break f}a=N[c+100>>2]+T(l,36)|0;if(!b){e=0;while(1){b=O[d|0];g:{if(h){b=O[d+1|0]|b<<8;d=d+2|0;break g}d=d+1|0}N[a>>2]=b;b=O[d|0];h:{if(i){b=O[d+1|0]|b<<8;d=d+2|0;break h}d=d+1|0}N[a+4>>2]=b;b=d;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+2|0]|O[d+1|0]<<8;d=O[d+4|0];m=O[b+3|0];i:{if(k){f=b+6|0;b=O[b+5|0]|(d<<8|m<<16);break i}f=b+5|0;b=d|m<<8}N[a+24>>2]=b;b=O[f|0];j:{if(g){b=O[f+1|0]|b<<8;d=f+2|0;break j}d=f+1|0}N[a+28>>2]=b;a=a+36|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break f}if(!k){e=0;while(1){f=O[d|0];k:{if(h){f=O[d+1|0]|f<<8;b=d+2|0;break k}b=d+1|0}N[a>>2]=f;d=O[b|0];l:{if(i){d=O[b+1|0]|d<<8;b=b+2|0;break l}b=b+1|0}N[a+4>>2]=d;d=b;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+5|0]|O[d+4|0]<<8;b=O[d+6|0];m:{if(g){b=O[d+7|0]|b<<8;d=d+8|0;break m}d=d+7|0}N[a+28>>2]=b;a=a+36|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break f}b=0;if(!h){while(1){N[a>>2]=O[d|0];e=O[d+1|0];n:{if(i){e=O[d+2|0]|e<<8;d=d+3|0;break n}d=d+2|0}N[a+4>>2]=e;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+6|0]|(O[d+5|0]<<8|O[d+4|0]<<16);e=O[d+7|0];o:{if(g){e=O[d+8|0]|e<<8;d=d+9|0;break o}d=d+8|0}N[a+28>>2]=e;a=a+36|0;b=b+1|0;if((j|0)!=(b|0)){continue}break f}}while(1){N[a>>2]=O[d+1|0]|O[d|0]<<8;e=O[d+2|0];p:{if(i){e=O[d+3|0]|e<<8;d=d+4|0;break p}d=d+3|0}N[a+4>>2]=e;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+6|0]|(O[d+5|0]<<8|O[d+4|0]<<16);e=O[d+7|0];q:{if(g){e=O[d+8|0]|e<<8;d=d+9|0;break q}d=d+8|0}N[a+28>>2]=e;a=a+36|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}N[c+92>>2]=j+l;f=0}return f|0}function Fw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){g=N[a+100>>2];c=N[a+540>>2];if(c){Qa[N[c+12>>2]](a)}c=N[a+712>>2];if(c){e=N[c+8>>2];d=N[c+108>>2];if(d){b=N[d+28>>2];f=N[c+140>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+140>>2]=0}d=N[c+136>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+108|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+1240>>2];if(d){b=N[d+28>>2];f=N[c+1272>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+1272>>2]=0}d=N[c+1268>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+1240|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+36>>2];if(d){b=N[d+28>>2];f=N[c+68>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+68>>2]=0}d=N[c- -64>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+36|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+1204>>2];if(d){b=N[d+28>>2];f=N[c+1236>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+1236>>2]=0}d=N[c+1232>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+1204|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}if(N[c+2024>>2]){b=0;while(1){Fm(e,N[(c+(b<<2)|0)+2028>>2]);b=b+1|0;if(b>>>0>2]){continue}break}b=N[c+2028>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+2028>>2]=0}N[c+144>>2]=0;N[c+148>>2]=0;N[c+152>>2]=0;b=N[N[c+4>>2]+28>>2];d=N[c+1192>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c+1192>>2]=0;N[c+1196>>2]=0;d=N[c+1188>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c+1180>>2]=0;N[c+1184>>2]=0;N[c+1188>>2]=0;Em(c+3112|0,e);Fm(e,c+1372|0);d=N[c+3060>>2];if(d){b=N[c+4>>2];if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,d)}N[c+3060>>2]=0}L[c+3052|0]=0;N[c+3056>>2]=0;N[c+3064>>2]=0;b=N[c+3092>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3092>>2]=0;b=N[c+1348>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1348>>2]=0;b=N[c+1352>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1352>>2]=0;b=N[c+1360>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1360>>2]=0;b=N[c+1364>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1364>>2]=0;b=N[c+3108>>2];if(b){Qa[b|0](N[c+3104>>2]);b=N[c+3104>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3104>>2]=0}b=N[c+3132>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3132>>2]=0;c=N[a+712>>2];if(c){Qa[N[g+8>>2]](g,c)}N[a+712>>2]=0}c=N[a+548>>2];if(c){Qa[N[c+44>>2]](a)}N[a+736>>2]=0}}function Ws(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=3;a:{if((d|e)<0){break a}i=N[a+8>>2];f=N[a+12>>2];j=P[f+2>>1];if(Q[i+4>>2]>>0){break a}f=P[f>>1];if(Q[i>>2]>>0){break a}j=T(j,O[a+18|0]);if(T(j+7>>>3|0,f)+b>>>0>c>>>0){break a}a=d>>>3|0;h=N[i+8>>2];i=N[i+12>>2];c=(a+T(h,e)|0)+i|0;g=d&7;if(g){k=0;if(!f){break a}l=8-g|0;if(j>>>0>=8){while(1){d=0;e=j;a=c;while(1){i=a;k=b;d=O[b|0]|d;L[a|0]=O[a|0]|d>>>g;m=e;e=e-8|0;a=a+1|0;b=b+1|0;d=d<<8;if((m|0)>15){continue}break}if((m|0)>8){d=O[k+1|0]&65280>>>e|d;b=k+2|0}L[a|0]=O[a|0]|d>>>g;if((e|0)>(l|0)){L[i+2|0]=O[i+2|0]|d<<8>>>g}c=c+h|0;a=f;f=f-1|0;k=0;if((a|0)>1){continue}break a}}d=65280>>>j|0;if(j>>>0>l>>>0){if((h|0)!=1){if(f&1){a=d&O[b|0];L[c|0]=O[c|0]|a>>>g;L[c+1|0]=O[c+1|0]|a<<8>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){e=d&O[b|0];L[c|0]=O[c|0]|e>>>g;L[c+1|0]=O[c+1|0]|e<<8>>>g;c=c+h|0;e=d&O[b+1|0];L[c|0]=O[c|0]|e>>>g;L[c+1|0]=O[c+1|0]|e<<8>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}e=O[i+(a+e|0)|0];if(f&1){a=d&O[b|0];L[c|0]=a>>>g|e;e=O[c+1|0]|a<<8>>>g;L[c+1|0]=e;c=c+1|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){f=e;e=d&O[b|0];L[c|0]=f|e>>>g;e=O[c+1|0]|e<<8>>>g;L[c+1|0]=e;f=d&O[b+1|0];L[c+1|0]=e|f>>>g;e=O[c+2|0]|f<<8>>>g;L[c+2|0]=e;c=c+2|0;b=b+2|0;f=a-3|0;a=a-2|0;if(f>>>0<4294967294){continue}break}break a}if(!j){break a}if(f&1){L[c|0]=O[c|0]|(d&O[b|0])>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){L[c|0]=O[c|0]|(d&O[b|0])>>>g;c=c+h|0;L[c|0]=O[c|0]|(d&O[b+1|0])>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}k=0;if(!f){break a}if(j>>>0>=8){while(1){a=f;d=j;f=c;while(1){e=b;L[f|0]=O[b|0]|O[f|0];i=d;d=d-8|0;f=f+1|0;b=b+1|0;if((i|0)>15){continue}break}if((i|0)>8){L[f|0]=O[f|0]|O[e+1|0]&65280>>>d;b=e+2|0}c=c+h|0;f=a-1|0;if((a|0)>1){continue}break a}}if(!j){break a}d=65280>>>j|0;e=f&3;if(e){a=0;while(1){L[c|0]=O[c|0]|d&O[b|0];c=c+h|0;b=b+1|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}a=f&65532}else{a=f}if(f>>>0<4){break a}while(1){L[c|0]=O[c|0]|d&O[b|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+1|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+2|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+3|0];b=b+4|0;c=c+h|0;e=a-5|0;a=a-4|0;if(e>>>0<4294967294){continue}break}}return k|0}function HE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=La-32|0;La=g;if(ib(c,b,20121,0)){o=wf(b,c,7,1,18,-1);l=N[c+68>>2];if(l){i=l-1|0;h=N[c+80>>2];e=h+3|0;d=O[h+15|0];a=0;while(1){a:{if((a|0)==(i|0)){a=l;break a}a=a+1|0;if(O[(e+T(a,20)|0)+12|0]==(d|0)){continue}}break}while(1){i=a;b:{if(!(1<<(d&15)&167)){break b}c:{if(i-f>>>0<2){break c}e=T(f,20)+h|0;if(O[e+18|0]!=18){break c}j=f+1|0;if(j>>>0>=i>>>0){break c}p=h+2|0;q=i-1|0;a=j;while(1){d:{n=T(a,20);k=O[(n+p|0)+16|0];if(k>>>0<=63){d=k&31;if((k&63)>>>0>=32){d=1<>>32-d}d=(m&2143289344|d&238)!=0}else{d=0}e:{if(!d){d=0;f:{g:{switch(k-44|0){default:if((k|0)!=12){break f}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break f;case 0:case 9:break g}}d=!(O[(h+n|0)+12|0]&32)}if(!d&(a|0)!=(q|0)){break d}if(!d){break e}}a=a-1|0}d=a+1|0;if(d-f>>>0>=2){Ib(c,f,d)}N[g+24>>2]=N[e+16>>2];d=e;e=N[d+12>>2];N[g+16>>2]=N[d+8>>2];N[g+20>>2]=e;e=N[d+4>>2];N[g+8>>2]=N[d>>2];N[g+12>>2]=e;F(d,T(j,20)+h|0,T(a-f|0,20));a=T(a,20)+h|0;N[a+16>>2]=N[g+24>>2];d=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=d;d=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=d;break c}a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(f>>>0>=i>>>0){break b}j=h+2|0;d=f;while(1){e=T(f,20);a=e+h|0;h:{i:{j:{k:{e=O[(e+j|0)+16|0];switch(e-44|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break i;case 0:case 9:break j;default:break k}}if((e|0)!=12){break i}}if(O[a+12|0]&32){break i}d=f+1|0;break h}if(!(1<>>0>31){break h}e=O[a+14|0];if(!(e&16)&(e&15)!=0|d>>>0>=f>>>0){break h}e=f+1|0;if(e-d>>>0>=2){Ib(c,d,e)}N[g+24>>2]=N[a+16>>2];e=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=e;e=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=e;a=T(d,20)+h|0;F(a+20|0,a,T(f-d|0,20));N[a+16>>2]=N[g+24>>2];e=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=e;e=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=e}f=f+1|0;if((i|0)!=(f|0)){continue}break}}a=N[c+68>>2];f=i+1|0;f=a>>>0>f>>>0?a:f;e=f-1|0;h=N[c+80>>2];j=h+3|0;d=O[(T(i,20)+h|0)+15|0];a=i;while(1){l:{if((a|0)==(e|0)){a=f;break l}a=a+1|0;if(O[(j+T(a,20)|0)+12|0]==(d|0)){continue}}break}f=i;if(l>>>0>f>>>0){continue}break}}ib(c,b,20142,0)}a=O[c+140|0];if(!(a&64)){ba(22742,14165,187,12136);B()}L[c+140|0]=a&191;La=g+32|0;return o|0}function Bo(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;a:{m=N[a+24>>2];if(!m|(c|0)<=0|(m|0)<=0){break a}A=-1;while(1){b:{if(N[a+24>>2]<=0){break b}x=N[(t<<2)+b>>2];s=0;y=0;c:{d:{while(1){e:{f:{g:{h:{u=T(y,56);w=N[a+32>>2];C=u+w|0;r=N[C+12>>2];i:{if((r|0)>0){v=N[(u+w|0)+4>>2];o=0;while(1){n=N[v+(o<<2)>>2];m=x;while(1){j:{q=O[O[m|0]+25936|0];z=O[n|0];p=O[z+25936|0];if(!z){break j}m=m+1|0;n=n+1|0;if((p|0)==(q|0)){continue}}break}if((p|0)==(q|0)){break i}o=o+1|0;if((r|0)!=(o|0)){continue}break}}if(!d){break h}n=x;m=N[(u+w|0)+44>>2];if(!m){break h}while(1){k:{o=O[O[n|0]+25936|0];p=O[m|0];q=O[p+25936|0];if(!p){break k}n=n+1|0;m=m+1|0;if((o|0)==(q|0)){continue}}break}if((o|0)!=(q|0)){break h}}m=u+w|0;q=N[m+20>>2]-f|0;n=q>>31;p=N[m+24>>2]-e|0;o=p>>31;r=N[m+28>>2]-100|0;m=r>>31;n=(n^q)-n+((o^p)-o)+((m^r)-m)|0;break g}l:{m:{n:{q=u+w|0;v=N[q+16>>2];if((v|0)<=0){break n}z=N[q+8>>2];o=0;while(1){n=N[z+(o<<2)>>2];m=x;while(1){o:{p=O[O[m|0]+25936|0];D=O[n|0];r=O[D+25936|0];if(!D){break o}m=m+1|0;n=n+1|0;if((p|0)==(r|0)){continue}}break}if((p|0)!=(r|0)){o=o+1|0;if((v|0)==(o|0)){break n}continue}break}o=1;n=x;m=N[q+40>>2];if(m){break m}n=0;break l}n=x;m=N[q+40>>2];if(!m){break f}while(1){p:{o=O[O[n|0]+25936|0];r=O[m|0];p=O[r+25936|0];if(!r){break p}n=n+1|0;m=m+1|0;if((o|0)==(p|0)){continue}}break}if((o|0)!=(p|0)){break f}n=1;o=0;break l}while(1){q:{p=O[O[n|0]+25936|0];v=O[m|0];r=O[v+25936|0];if(!v){break q}n=n+1|0;m=m+1|0;if((p|0)==(r|0)){continue}}break}n=0;if((p|0)==(r|0)){break g}}m=N[q+48>>2];if(!m){break d}m=N[m+8>>2];if(!m){break d}m=Qa[m|0](N[q+52>>2])|0?n:o;n=0;if((m|0)!=1){break f}}L[l|0]=1;r:{if(n>>>0>=A>>>0){m=A;C=s;break r}o=u+w|0;m=N[o+48>>2];if(!m){break c}u=N[m+12>>2];if(!u){break c}m=n;if(!(Qa[u|0](N[o+52>>2],k)|0)){break f}}A=m;s=C;if(!n){break e}}y=y+1|0;if((y|0)>2]){continue}}break}if(!s){break b}a=N[s+48>>2];N[h>>2]=N[s+40>>2];N[i>>2]=N[s>>2];b=N[a+36>>2];s:{if(b){b=Qa[b|0](N[s+52>>2])|0;break s}b=N[s+36>>2]}N[g>>2]=b;t=N[s+32>>2];if(t){break a}N[j>>2]=N[a+4>>2];N[j+4>>2]=N[s+52>>2];t=N[s+40>>2];if(t){break a}t=N[N[s+4>>2]>>2];break a}ba(8834,17972,611,8862);B()}ba(14043,17972,711,14071);B()}t=t+1|0;if((t|0)!=(c|0)){continue}break}return 0}return t}function ek(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}i=O[h|0]|O[h+1|0]<<8;c:{d:{e:{if(c){n=(i|0)!=256;while(1){b=275552;f:{if(n){break f}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break f}b=h+((a<<8|a>>>8)&65535)|0}a=O[b|0]|O[b+1|0]<<8;if(a){l=(k<<2)+d|0;m=N[l>>2];o=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){j=a+b>>>1|0;g=T(j,6)+o|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g:{if(g>>>0>m>>>0){a=j-1|0;break g}if((g|0)==(m|0)){break e}b=j+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}k=k+1|0;if((k|0)!=(c|0)){continue}break}}b=275552;h:{if((i|0)!=256){break h}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break h}b=h+((a<<8|a>>>8)&65535)|0}i:{j:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){g=a+b>>>1|0;d=c+T(g,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);k:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1145457749){a=g-1|0;break k}if((d|0)==1414284868){break j}b=g+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}b=275552;l:{if((i|0)!=256){break l}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break l}b=h+((a<<8|a>>>8)&65535)|0}m:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){g=a+b>>>1|0;d=c+T(g,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);n:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1684434037){a=g-1|0;break n}if((d|0)==1953261156){break m}b=g+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}b=275552;o:{if((i|0)!=256){break o}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break o}b=h+((a<<8|a>>>8)&65535)|0}p:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){h=a+b>>>1|0;d=c+T(h,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);q:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1818326127){a=h-1|0;break q}if((d|0)==1853120876){break p}b=h+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}a=65535;break i}if(e){N[e>>2]=h}a=1818326126;break i}if(e){N[e>>2]=g}a=1684434036;break i}if(e){N[e>>2]=g}a=1145457748}b=0;if(!f){break c}break d}if(e){N[e>>2]=j}if(!f){return 1}a=N[l>>2];b=1}N[f>>2]=a}return b}function Bd(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=La-128|0;La=h;q=S[c>>3];j=S[(f<<3)+e>>3];r=(q+S[d>>3])*j;S[h+104>>3]=r;o=j;j=S[c+8>>3];o=o*(j+S[d+8>>3]);S[h+112>>3]=o;a:{b:{if(f){i=N[b+4>>2];N[h+96>>2]=N[b>>2];N[h+100>>2]=i;i=N[c+12>>2];N[h+88>>2]=N[c+8>>2];N[h+92>>2]=i;l=N[c>>2];i=N[c+4>>2];c=N[h+116>>2];N[h+72>>2]=N[h+112>>2];N[h+76>>2]=c;N[h+80>>2]=l;N[h+84>>2]=i;c=N[h+108>>2];N[h+64>>2]=N[h+104>>2];N[h+68>>2]=c;c=0;i=f-1|0;if(!Bd(a,h+96|0,h+80|0,h- -64|0,e,i,g)){break b}f=N[b>>2];c=N[b+4>>2];b=N[h+116>>2];N[h+48>>2]=N[h+112>>2];N[h+52>>2]=b;b=N[h+108>>2];N[h+40>>2]=N[h+104>>2];N[h+44>>2]=b;N[h+56>>2]=f;N[h+60>>2]=c;b=N[d+12>>2];N[h+32>>2]=N[d+8>>2];N[h+36>>2]=b;b=N[d+4>>2];N[h+24>>2]=N[d>>2];N[h+28>>2]=b;c=Bd(a,h+56|0,h+40|0,h+24|0,e,i,g);break b}n=N[b+4>>2];j=j*S[a+24>>3];c:{if(V(j)<2147483648){e=~~j;break c}e=-2147483648}m=g&1;j=q*S[a+16>>3];d:{if(V(j)<2147483648){d=~~j;break d}d=-2147483648}l=N[b>>2];if(m){N[h+124>>2]=e+n;N[h+120>>2]=d+l;f=N[a>>2];c=N[h+124>>2];N[h+16>>2]=N[h+120>>2];N[h+20>>2]=c;c=0;if(!Fb(f,h+16|0,2)){break b}}i=g&2;if(i){N[h+124>>2]=n-e;N[h+120>>2]=l-d;d=N[a+4>>2];c=N[h+124>>2];N[h+8>>2]=N[h+120>>2];N[h+12>>2]=c;c=0;if(!Fb(d,h+8|0,2)){break b}}s=N[b+4>>2];j=o*S[a+24>>3];e:{if(V(j)<2147483648){f=~~j;break e}f=-2147483648}j=r*S[a+16>>3];f:{if(V(j)<2147483648){d=~~j;break f}d=-2147483648}n=N[b>>2];if(m){k=N[a>>2];p=N[k+4>>2];if(!p){break a}c=0;m=d+n|0;b=m>>31;if((b^m)-b>>>0>268435455){break b}b=f+s|0;e=b>>31;if((b^e)-e>>>0>268435455){break b}c=N[k>>2];g:{if(p>>>0>c>>>0){e=N[k+16>>2];break g}c=0;N[147316]=0;l=N[k+16>>2];h:{g=p<<1;if(g>>>0<=536870911){e=p<<4;e=$a(l,e>>>0<=1?1:e);if(e){break h}}N[147316]=48;N[k+16>>2]=l;break b}N[147316]=0;N[k+4>>2]=g;N[k+16>>2]=e;c=N[k>>2]}c=(c<<3)+e|0;N[c>>2]=m;N[c+4>>2]=b;N[k>>2]=N[k>>2]+1}c=1;if(!i){break b}i=N[a+4>>2];g=N[i+4>>2];if(!g){break a}c=0;e=n-d|0;a=e>>31;if((a^e)-a>>>0>268435455){break b}a=s-f|0;b=a>>31;if((a^b)-b>>>0>268435455){break b}c=N[i>>2];i:{if(g>>>0>c>>>0){b=N[i+16>>2];break i}c=0;N[147316]=0;d=g<<1;b=jd(N[i+16>>2],d,8);N[i+16>>2]=b;if(N[147316]){break b}N[i+4>>2]=d;c=N[i>>2]}b=(c<<3)+b|0;N[b>>2]=e;N[b+4>>2]=a;c=1;N[i>>2]=N[i>>2]+1}La=h+128|0;return c}ba(9920,18249,281,9160);B()}function _m(a,b){var c=0,d=0,e=0,f=0;f=N[N[a>>2]+96>>2];e=N[N[a+8>>2]+140>>2];if((e|0)>0){F(N[a+132>>2],N[a+136>>2],P[a+128>>1]<<3)}F(N[a+156>>2]+288|0,N[a+4>>2]+180|0,68);a:{if(b){c=N[a+156>>2];N[c+224>>2]=65536;N[c+228>>2]=65536;F(N[a+140>>2],N[a+136>>2],P[a+128>>1]<<3);break a}c=N[a+156>>2];d=N[N[a+4>>2]+44>>2];N[c+224>>2]=N[d+4>>2];N[c+228>>2]=N[d+8>>2]}c=N[a+136>>2]+(P[a+128>>1]<<3)|0;d=c-32|0;N[d>>2]=N[d>>2]+32&-64;d=c-24|0;N[d>>2]=N[d>>2]+32&-64;d=c-12|0;N[d>>2]=N[d>>2]+32&-64;c=c-4|0;N[c>>2]=N[c>>2]+32&-64;b:{if((e|0)>0){d=N[N[a+12>>2]- -64>>2];c=N[a+156>>2];L[c+592|0]=b;N[c+484>>2]=e;N[c+480>>2]=N[c+412>>2];b=N[a+124>>2];N[c+144>>2]=N[a+120>>2];N[c+148>>2]=b;b=N[a+132>>2];N[c+152>>2]=N[a+128>>2];N[c+156>>2]=b;b=N[a+140>>2];N[c+160>>2]=N[a+136>>2];N[c+164>>2]=b;b=N[a+148>>2];N[c+168>>2]=N[a+144>>2];N[c+172>>2]=b;N[c+176>>2]=N[a+152>>2];b=N[a+156>>2];N[b+368>>2]=0;N[b+360>>2]=3;c=N[b+148>>2];N[b+36>>2]=N[b+144>>2];N[b+40>>2]=c;N[b+372>>2]=N[b+484>>2];c=N[b+156>>2];N[b+44>>2]=N[b+152>>2];N[b+48>>2]=c;c=N[b+164>>2];N[b+52>>2]=N[b+160>>2];N[b+56>>2]=c;c=N[b+172>>2];N[b+60>>2]=N[b+168>>2];N[b+64>>2]=c;N[b+68>>2]=N[b+176>>2];N[b+364>>2]=N[b+480>>2];c=N[b+148>>2];N[b+72>>2]=N[b+144>>2];N[b+76>>2]=c;c=N[b+156>>2];N[b+80>>2]=N[b+152>>2];N[b+84>>2]=c;c=N[b+164>>2];N[b+88>>2]=N[b+160>>2];N[b+92>>2]=c;c=N[b+172>>2];N[b+96>>2]=N[b+168>>2];N[b+100>>2]=c;N[b+104>>2]=N[b+176>>2];N[b+140>>2]=N[b+176>>2];c=N[b+172>>2];N[b+132>>2]=N[b+168>>2];N[b+136>>2]=c;c=N[b+164>>2];N[b+124>>2]=N[b+160>>2];N[b+128>>2]=c;c=N[b+156>>2];N[b+116>>2]=N[b+152>>2];N[b+120>>2]=c;c=N[b+148>>2];N[b+108>>2]=N[b+144>>2];N[b+112>>2]=c;M[b+352>>1]=1;N[b+348>>2]=65537;M[b+298>>1]=16384;M[b+300>>1]=0;M[b+302>>1]=16384;M[b+304>>1]=0;N[b+316>>2]=1;M[b+294>>1]=16384;M[b+296>>1]=0;N[b+308>>2]=1;N[b+448>>2]=0;N[b+16>>2]=0;b=Qa[N[N[b>>2]+708>>2]](b)|0;c=N[a+156>>2];if(O[c+593|0]?b:0){break b}L[d|0]=O[d|0]|O[c+344|0]<<5|4}if(N[f+64>>2]==40){b=0;if(O[N[a+156>>2]+643|0]){break b}}b=N[a+136>>2]+(P[a+128>>1]<<3)|0;c=b-32|0;e=N[c+4>>2];N[a+68>>2]=N[c>>2];N[a+72>>2]=e;c=b-24|0;e=N[c+4>>2];N[a+76>>2]=N[c>>2];N[a+80>>2]=e;c=b-16|0;e=N[c+4>>2];N[a+180>>2]=N[c>>2];N[a+184>>2]=e;b=b-8|0;c=N[b+4>>2];N[a+188>>2]=N[b>>2];N[a+192>>2]=c;b=0}return b}function eq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=La+-64|0;La=f;a:{if(Q[a+16>>2]<=c>>>0){break a}if(N[b+84>>2]){N[f+40>>2]=0;N[f+48>>2]=2139095039;N[f+52>>2]=2139095039;N[f+56>>2]=-8388609;N[f+60>>2]=-8388609;L[f+44|0]=1;e=N[f+44>>2];N[f+8>>2]=N[f+40>>2];N[f+12>>2]=e;e=N[f+52>>2];N[f+16>>2]=N[f+48>>2];N[f+20>>2]=e;e=N[f+60>>2];N[f+24>>2]=N[f+56>>2];N[f+28>>2]=e;N[f+36>>2]=d;N[f+32>>2]=b;d=N[f+36>>2];N[f>>2]=N[f+32>>2];N[f+4>>2]=d;k=fj(a,b,c,f);break a}e=N[a+20>>2];e=N[(e?e:275552)+12>>2];k=1;b:{if(O[a+12|0]){e=e+(c<<1)|0;g=O[e|0]|O[e+1|0]<<8;h=((g<<8|g>>>8)&65535)<<1;e=O[e+2|0]|O[e+3|0]<<8;e=((e<<8|e>>>8)&65535)<<1;break b}e=e+(c<<2)|0;g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);e=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}if(e>>>0>>0){break a}g=N[a+24>>2];g=g?g:275552;if(e>>>0>Q[g+16>>2]){break a}i=e-h>>>0<10?275552:N[g+12>>2]+h|0;if(!(O[i|0]|O[i+1|0]<<8)){break a}g=N[b+60>>2];o=g;e=N[b+56>>2];a=N[a+4>>2];h=N[a>>2];c:{d:{if(h>>>0>c>>>0){if((c|0)<0){a=275552}else{a=N[a+20>>2];a=N[(a?a:275552)+12>>2]+(c<<2)|0}a=a+2|0;break d}if(Q[a+4>>2]<=c>>>0){a=O[i+6|0]|O[i+7|0]<<8;c=O[i+2|0]|O[i+3|0]<<8;a=(c<<8|c>>>8)<<16>>16>(a<<8|a>>>8)<<16>>16?a:c;a=a<<8|a>>>8;break c}e:{if((h|0)<0){j=275552;break e}j=N[a+20>>2];j=N[(j?j:275552)+12>>2]+(h<<2)|0;h=N[a>>2]}a=(c-h<<1)+j|0}a=O[a|0]|O[a+1|0]<<8;a=a<<8|a>>>8}a=a<<16>>16;c=UE(e,g,a,a>>31);a=Pa;c=c+32768|0;N[d>>2]=((c>>>0<32768?a+1|0:a)&65535)<<16|c>>>16;c=O[i+4|0]|O[i+5|0]<<8;g=(c<<8|c>>>8)<<16>>16;h=O[i+8|0]|O[i+9|0]<<8;j=(h<<8|h>>>8)<<16>>16;a=N[b+64>>2];l=N[b+68>>2];c=(g|0)<(j|0)?h:c;h=c<<8|c>>>8;b=h<<16>>16;c=UE(a,l,b,b>>31);b=Pa;c=c+32768|0;N[d+4>>2]=((c>>>0<32768?b+1|0:b)&65535)<<16|c>>>16;b=O[i+2|0]|O[i+3|0]<<8;m=(b<<8|b>>>8)<<16>>16;c=O[i+6|0]|O[i+7|0]<<8;n=(c<<8|c>>>8)<<16>>16;p=e;e=(m|0)<(n|0)?c:b;b=(m|0)>(n|0)?c:b;b=(e<<8|e>>>8)-(b<<8|b>>>8)<<16>>16;c=UE(p,o,b,b>>31);b=Pa;c=c+32768|0;N[d+8>>2]=((c>>>0<32768?b+1|0:b)&65535)<<16|c>>>16;c=a;b=(g|0)>(j|0)?i+8|0:i+4|0;b=O[b|0]|O[b+1|0]<<8;a=(b<<8|b>>>8)-h<<16>>16;b=UE(c,l,a,a>>31);a=Pa;b=b+32768|0;N[d+12>>2]=((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16}La=f- -64|0;return k}function ik(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{if(N[b+144>>2]!=64){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];l=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((l|0)==-1){break a}c=O[a+4|0]|O[a+5|0]<<8;g=(c<<8|c>>>8)&65535;d=((g<<1)+a|0)+6|0;c=O[d|0]|O[d+1|0]<<8;j=((((c<<8|c>>>8)&65535)<<1)+d|0)+2|0;c=O[j|0]|O[j+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=l>>>0){break a}N[e+28>>2]=0;N[e+24>>2]=0;k=a+6|0;h=La-16|0;La=h;c=N[b+96>>2];c=N[(O[c+62|0]?72:64)+c>>2];N[b+76>>2]=g;N[b+44>>2]=c;f=N[N[b+48>>2]+96>>2];N[b+80>>2]=N[f+68>>2];m=N[f+64>>2]==(c|0)?O[(N[f+80>>2]+T(c,20)|0)+15|0]:m;N[b+72>>2]=k;N[b+68>>2]=a;N[b- -64>>2]=247;L[b+63|0]=O[b+62|0]?m:0;b:{c:{if(!g){i=1;break c}f=b+44|0;c=0;while(1){if(!he(f,h+12|0)){N[e+28>>2]=N[h+12>>2];break b}c=c+1|0;i=g>>>0<=c>>>0;if((c|0)!=(g|0)){continue}break}c=N[f>>2]}N[e+28>>2]=c}La=h+16|0;d:{if(!i){break d}m=d+2|0;c=N[N[b+96>>2]+64>>2]+1|0;g=0;f=0;h=La-16|0;La=h;d=O[d|0]|O[d+1|0]<<8;d=(d<<8|d>>>8)&65535;N[b+76>>2]=d;i=c-1|0;N[b+44>>2]=i;k=N[N[b+48>>2]+96>>2];N[b+80>>2]=N[k+68>>2];f=(i|0)==N[k+64>>2]?O[(N[k+80>>2]+T(i,20)|0)+15|0]:f;N[b+72>>2]=m;N[b+68>>2]=a;N[b- -64>>2]=247;L[b+63|0]=O[b+62|0]?f:0;e:{f:{if(!d){g=1;break f}c=b+44|0;a=0;while(1){if(!kc(c,h+12|0)){N[e+24>>2]=N[h+12>>2];break e}a=a+1|0;g=d>>>0<=a>>>0;if((a|0)!=(d|0)){continue}break}c=N[c>>2]+1|0}N[e+24>>2]=c}La=h+16|0;if(!g){break d}wb(N[b+96>>2],3,N[e+28>>2],N[e+24>>2],1,1);a=N[b+96>>2];if(N[a+156>>2]){c=N[b+88>>2];N[e+16>>2]=N[a+64>>2];ib(a,c,22942,e+16|0)}a=O[j|0]|O[j+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=l>>>0?275552:((l<<1)+j|0)+2|0;a=O[a|0]|O[a+1|0]<<8;d=(a<<8|a>>>8)&65535;N[b+116>>2]=N[b+116>>2]|1<<(d>>>4);N[b+120>>2]=N[b+120>>2]|1<>2]=N[b+124>>2]|1<<(d>>>9);a=N[b+160>>2];if((a|0)!=-1){c=N[b+96>>2];L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=a}a=N[b+96>>2];c=N[a+80>>2]+T(N[a+64>>2],20)|0;a=P[c+12>>1]|16;if(O[b+148|0]){a=Uc(N[b+104>>2],d)|a&112}M[c+12>>1]=a;a=N[b+96>>2];N[N[a+80>>2]+T(N[a+64>>2],20)>>2]=d;n=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[e>>2]=N[a+64>>2];ib(a,b,22996,e);break a}a=N[b+96>>2];if(!(O[a+16|0]&64)){break a}wb(a,2,N[e+28>>2],N[e+24>>2],0,1)}La=e+32|0;return n}function uq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=T(b,c)+a|0;if(b>>>0>=10){m=0-c|0;while(1){g=a+c|0;d=P[g>>1];h=T(b>>>1|0,c)+a|0;e=P[h>>1];f=d>>>0>e>>>0;i=T(b-1|0,c);k=i+a|0;b=k+m|0;j=P[b>>1];n=f?g:h;a:{if(j>>>0>=(f?d:e)>>>0){break a}n=j>>>0<(d>>>0>>0?d:e)>>>0?f?h:g:b}b=n;if((b|0)!=(k|0)){e=b+c|0;d=k;while(1){f=O[b|0];L[b|0]=O[d|0];L[d|0]=f;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}h=k;f=h;g=a;e=g;b:{if((i|0)<=0){e=0;break b}while(1){c:{b=P[e>>1];d=P[k>>1];if(b>>>0<=d>>>0){if((b|0)==(d|0)){if(e>>>0>g>>>0){i=c+g|0;b=g;d=e;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}g=c+g|0}e=c+e|0;if(f>>>0>e>>>0){continue}break c}d:{if(e>>>0>=f>>>0){break d}while(1){j=f;e:{f:{f=f+m|0;b=P[f>>1];d=P[k>>1];if((b|0)==(d|0)){i=h+m|0;if(h>>>0<=j>>>0){break f}b=f;d=i;while(1){h=O[b|0];L[b|0]=O[d|0];L[d|0]=h;d=d+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}break f}if(b>>>0>=d>>>0){break e}if(e>>>0>>0){i=c+e|0;b=e;d=f;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}e=c+e|0;break d}h=i}if(e>>>0>>0){continue}break}}if(e>>>0>>0){continue}}break}i=f-g|0;g:{if((a|0)==(g|0)|(f|0)==(g|0)){break g}b=g-a|0;if(b>>>0>i>>>0){if((i|0)<=0){break g}e=a+i|0;b=a+b|0;d=a;while(1){g=O[d|0];L[d|0]=O[b|0];L[b|0]=g;b=b+1|0;d=d+1|0;if(e>>>0>d>>>0){continue}break}break g}if((b|0)<=0){break g}e=a+b|0;b=a+i|0;d=a;while(1){g=O[d|0];L[d|0]=O[b|0];L[b|0]=g;b=b+1|0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}e=h-f|0;if((f|0)==(h|0)|(h|0)==(l|0)){break b}b=l-h|0;if(b>>>0>>0){if((b|0)<=0){break b}d=b+f|0;b=e+f|0;while(1){g=O[f|0];L[f|0]=O[b|0];L[b|0]=g;b=b+1|0;f=f+1|0;if(d>>>0>f>>>0){continue}break}break b}if((e|0)<=0){break b}d=e+f|0;b=b+f|0;while(1){g=O[f|0];L[f|0]=O[b|0];L[b|0]=g;b=b+1|0;f=f+1|0;if(d>>>0>f>>>0){continue}break}}uq(a,(i>>>0)/(c>>>0)|0,c);a=l-e|0;b=(e>>>0)/(c>>>0)|0;l=a+T(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(l>>>0>g>>>0){h=0-c|0;while(1){e=g;h:{if(e>>>0<=a>>>0){break h}while(1){f=e+h|0;if(P[f>>1]<=P[e>>1]){break h}b=f;d=e;while(1){k=O[b|0];L[b|0]=O[d|0];L[d|0]=k;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}e=f;if(f>>>0>a>>>0){continue}break}}g=c+g|0;if(l>>>0>g>>>0){continue}break}}}function ip(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=La-16|0;La=m;k=N[a+12>>2];if(k){N[(N[a+20>>2]+(k<<4)|0)-4>>2]=b}b=0;i=N[a+24>>2];a:{if((i|0)<2){break a}k=i;while(1){q=k;l=N[a+32>>2];k=k-1|0;b=l+(k<<4)|0;n=N[b>>2];d=N[b+8>>2];f=q-2|0;while(1){b:{e=l+(f<<4)|0;b=N[e+8>>2];c:{e=N[e>>2];g=e>>>0>n>>>0?n:e;d:{e:{if(g>>>0<8){h=d;break e}e=(g-8>>>3|0)+1|0;j=e+b|0;h=d+e|0;e=d;while(1){if(O[b|0]&O[e|0]){break d}b=b+1|0;e=e+1|0;g=g-8|0;if(g>>>0>7){continue}break}b=j}if(!g|!(O[b|0]&O[h|0]&-256>>g)){break c}}o=f>>>0>k>>>0?f:k;b=f>>>0>>0?f:k;if(o>>>0<=b>>>0|i>>>0<=o>>>0){break b}j=l+(o<<4)|0;g=N[j>>2];f:{if(!g){break f}h=l+(b<<4)|0;e=N[h>>2];g:{if(e>>>0>=g>>>0){i=g+7|0;f=i>>>3|0;break g}i=g+7|0;f=i>>>3|0;d=N[h+4>>2]+7|0;n=d>>>3|0;if(f>>>0>n>>>0){b=N[h+8>>2];h:{i:{l=f+7&1073741816;j:{if(!l){d=0;if(!b){break j}Qa[N[c+8>>2]](c,b);N[h+8>>2]=0;break h}k:{if(d>>>0<=7){d=Qa[N[c+4>>2]](c,l)|0;b=!d<<6;break k}p=Qa[N[c+12>>2]](c,n,l,b)|0;d=p?p:b;b=!p<<6}if(b|l>>>0<=n>>>0|!d){break i}C(d+n|0,0,l-n|0)}N[h+8>>2]=d;break h}N[h+8>>2]=d;if(b){break a}}N[h+4>>2]=l<<3}d=e+1|0;b=e;l:{if(!(g-b&1)){break l}b=d;if(e>>>0>=Q[h>>2]){break l}b=N[h+8>>2]+(e>>>3|0)|0;L[b|0]=O[b|0]&-129>>(e&7);b=d}if((d|0)==(g|0)){break g}while(1){d=N[h>>2];if(d>>>0>b>>>0){d=N[h+8>>2]+(b>>>3|0)|0;L[d|0]=O[d|0]&-129>>(b&7);d=N[h>>2]}e=d;d=b+1|0;if(e>>>0>d>>>0){e=N[h+8>>2]+(d>>>3|0)|0;L[e|0]=O[e|0]&-129>>(d&7)}b=b+2|0;if((g|0)!=(b|0)){continue}break}}if(i>>>0<8){break f}d=f-1|0;e=N[j+8>>2];b=N[h+8>>2];i=f&3;if(i){f=f&536870908;g=0;while(1){L[b|0]=O[e|0]|O[b|0];e=e+1|0;b=b+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(d>>>0<3){break f}while(1){L[b|0]=O[e|0]|O[b|0];L[b+1|0]=O[e+1|0]|O[b+1|0];L[b+2|0]=O[e+2|0]|O[b+2|0];L[b+3|0]=O[e+3|0]|O[b+3|0];e=e+4|0;b=b+4|0;f=f-4|0;if(f){continue}break}}N[j>>2]=0;N[j+12>>2]=0;b=N[a+24>>2];d=b+(o^-1)|0;if((d|0)>0){b=N[j+12>>2];N[m+8>>2]=N[j+8>>2];N[m+12>>2]=b;b=N[j+4>>2];N[m>>2]=N[j>>2];N[m+4>>2]=b;b=d<<4;F(j,j+16|0,b);d=N[m+12>>2];b=b+j|0;N[b+8>>2]=N[m+8>>2];N[b+12>>2]=d;d=N[m+4>>2];N[b>>2]=N[m>>2];N[b+4>>2]=d;b=N[a+24>>2]}i=b-1|0;N[a+24>>2]=i;break b}b=(f|0)>0;f=f-1|0;if(b){continue}}break}if((q|0)>2){continue}break}b=0}La=m+16|0;return b}function Wb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}b=N[a>>2];a=N[a+4>>2];if(!b){b=a;a=a>>31;return(b^a)-a|0}c=b>>31;c=(c^b)-c|0;if(a){d=c;c=a>>31;h=d|(c^a)-c;f=W(h);i=f-2|0;a:{if(h>>>0<=1073741823){a=a<>c;b=b>>c}e=0-a|0;c=0-b|0;b:{if((a|0)>(b|0)){b=(a|0)>(c|0);d=b?c:e;a=b?a:c;break b}d=a;a=(a|0)<(c|0);d=a?b:d;a=a?e:b}b=d+1>>1;c=(d|0)>0;b=a+(c?b:0-b|0)|0;a=a+1>>1;a=(c?0-a|0:a)+d|0;c=a+2>>2;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+2>>2;a=a+(d?0-b|0:b)|0;b=a+4>>3;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+4>>3;a=a+(d?0-c|0:c)|0;c=a+8>>4;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+8>>4;a=a+(d?0-b|0:b)|0;b=a+16>>5;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+16>>5;a=a+(d?0-c|0:c)|0;c=a+32>>6;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+32>>6;a=a+(d?0-b|0:b)|0;b=a- -64>>7;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c- -64>>7;a=a+(d?0-c|0:c)|0;c=a+128>>8;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+128>>8;a=a+(d?0-b|0:b)|0;b=a+256>>9;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+256>>9;a=a+(d?0-c|0:c)|0;c=a+512>>10;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+512>>10;a=a+(d?0-b|0:b)|0;b=a+1024>>11;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+1024>>11;a=a+(d?0-c|0:c)|0;c=a+2048>>12;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+2048>>12;a=a+(d?0-b|0:b)|0;b=a+4096>>13;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+4096>>13;a=a+(d?0-c|0:c)|0;c=a- -8192>>14;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b- -8192>>14;a=a+(d?0-b|0:b)|0;b=a+16384>>15;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+16384>>15;a=a+(d?0-c|0:c)|0;c=a+32768>>16;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+32768>>16;a=a+(d?0-b|0:b)|0;b=a+65536>>17;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+65536>>17;a=a+(d?0-c|0:c)|0;c=a+131072>>18;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+131072>>18;a=a+(d?0-b|0:b)|0;b=a+262144>>19;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+262144>>19;a=a+(d?0-c|0:c)|0;c=a+524288>>20;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+524288>>20;a=a+(d?0-b|0:b)|0;b=a- -1048576>>21;d=c- -1048576>>21;g=0-d|0;e=d;d=(a|0)>0;e=a+(d?g:e)|0;a=e+2097152>>22;a=(c+(d?b:0-b|0)|0)+((e|0)>0?a:0-a|0)|0;b=a>>31;c=(a^b)-b|0;d=c&65535;b=T(d,56281);e=c>>>16|0;c=b+T(e,23318)|0;g=c<<16;d=g+T(d,23318)|0;b=(((T(e,56281)+(c>>>16|0)|0)+((b>>>0>c>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;a=(a|0)<0?0-b|0:b;if(h>>>0<=536870911){return a+(1<>i}c=a<<2-f}return c}function At(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=La-16|0;La=f;i=N[b+28>>2];N[a+368>>2]=b;c=Qa[N[a+516>>2]](a,1851878757,b,f+8|0)|0;a:{if(c){break a}k=N[b+8>>2];c=rb(b,179040,a+344|0);if(c){break a}c=145;l=k+6|0;e=N[a+348>>2];g=l+T(e,12)|0;j=N[f+8>>2]+k|0;if(g>>>0>j>>>0){break a}if(P[a+344>>1]==1){d=N[b+20>>2];b:{if(d){c=85;if(!(Qa[d|0](b,g,0,0)|0)){break b}break a}c=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=g;N[f+12>>2]=0;d=xb(b,f+12|0);N[a+360>>2]=d;c=N[f+12>>2];if(c){break a}m=a,n=lb(i,12,0,d,0,f+12|0),N[m+364>>2]=n;c=N[f+12>>2];if(c){break a}c=Bb(b,N[a+360>>2]<<2);if(c){break a}g=((d<<2)+g|0)+2|0;c=N[a+364>>2];c:{if(!c){break c}d=N[a+360>>2];if((d|0)<=0){break c}h=T(d,12)+c|0;while(1){d=rb(b,179100,c);e=N[c+4>>2]+(N[a+352>>2]+k|0)|0;N[c+4>>2]=e;if(!(e+P[c>>1]>>>0<=j>>>0&e>>>0>=g>>>0)){M[c>>1]=0}c=c+12|0;if(h>>>0>c>>>0){continue}break}N[f+12>>2]=d}d:{e:{f:{c=N[b+20>>2];if(!c){N[b+32>>2]=0;N[b+36>>2]=0;break f}h=N[b>>2];g:{if(!h){N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;break g}d=N[b+28>>2];Qa[N[d+8>>2]](d,h);N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;c=N[b+20>>2];if(!c){break f}}if(Qa[c|0](b,l,0,0)|0){break d}break e}if(Q[b+4>>2]>>0){break d}}N[b+8>>2]=l}e=N[a+348>>2]}c=0;h:{if((e|0)<0){c=6;break h}i:{j:{if(e){c=10;if((e|0)>107374182){break h}d=T(e,20);c=Qa[N[i+4>>2]](i,d)|0;if(!c|(e|0)<=0){break j}C(c,0,d)}N[a+356>>2]=c;break i}N[a+356>>2]=c;if(c){break i}c=!c<<6;break a}c=Bb(b,T(N[a+348>>2],12));N[f+12>>2]=c;if(c){break a}d=N[a+356>>2];e=N[a+348>>2];k:{if(!e){c=d;j=0;break k}c=d;while(1){d=rb(b,179072,c);N[f+12>>2]=d;l:{if(d){break l}d=P[c+8>>1];if(!d){break l}h=N[c+12>>2]+(N[a+352>>2]+k|0)|0;N[c+12>>2]=h;if(g>>>0>h>>>0|d+h>>>0>j>>>0){break l}m:{if(P[a+344>>1]!=1){break m}d=M[c+4>>1];if((d|0)>=0){break m}d=(d&65535)-32768|0;if(d>>>0>=Q[a+360>>2]|!P[N[a+364>>2]+T(d,12)>>1]){break l}}c=c+20|0}e=e-1|0;if(e){continue}break}d=N[a+356>>2];j=N[a+348>>2]}c=(c-d|0)/20|0;d=lb(i,20,j,c,d,f+12|0);N[a+348>>2]=c;N[a+356>>2]=d;if(N[b+20>>2]){i=N[b>>2];if(i){d=N[b+28>>2];Qa[N[d+8>>2]](d,i);c=N[a+348>>2]}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;M[a+340>>1]=c;c=N[f+12>>2];break a}N[a+356>>2]=0}La=f+16|0;return c|0}function pb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;c=a;while(1){n=L[c|0];if(!(!(n-9>>>0<4|(n|0)==32)&(n|0)!=13)){c=c+1|0;continue}break}g=((n|0)==45|(n|0)==43)+c|0;c=0;d=-1;f=-1;while(1){a:{i=L[g|0];b:{if(i-58>>>0<=4294967285){if((i|0)!=46|(d|0)!=-1){break a}d=c;break b}f=(i|0)!=48?(f|0)==-1?c:f:f}c=c+1|0;g=g+1|0;continue}break}j=(f|0)==-1?c:f;l=j-(d>>>0>>0)|0;m=(d|0)!=-1;e=c-m|0;e=e-l>>>0>18?l+18|0:e;p=0;c:{if(!e){break c}o=i&255;a=m?d:c;m=a>>>0>>0;f=m?e-a|0:a-e|0;c=(j-c|0)+g|0;i=e-l|0;d:{e:{if((i|0)>=10){if((i|0)!=10){a=i-9|0;j=a&1;e=a&-2;a=0;while(1){d=O[c|0];if((d|0)!=46){c=c+1|0}else{d=O[c+1|0];c=c+2|0}l=((d<<24>>24)+T(k,10)|0)-48|0;d=O[c|0];if((d|0)!=46){c=c+1|0}else{d=O[c+1|0];c=c+2|0}k=((d<<24>>24)+T(l,10)|0)-48|0;a=a+2|0;if((e|0)!=(a|0)){continue}break}e=9;if(!j){break e}}e=O[c|0];if((e|0)!=46){c=c+1|0}else{e=O[c+1|0];c=c+2|0}k=((e<<24>>24)+T(k,10)|0)-48|0;e=9;break e}a=0;e=i;if((e|0)<=0){break d}}a=0;while(1){d=O[c|0];if((d|0)!=46){c=c+1|0}else{d=O[c+1|0];c=c+2|0}a=((d<<24>>24)+T(a,10)|0)-48|0;d=(e|0)>1;e=e-1|0;if(d){continue}break}}q=+(k|0)*1e9+ +(a|0);f:{g:{h:{if((o|32)!=101){e=m;a=g;break h}c=g+1|0;e=0;i:{j:{switch(O[g+1|0]-43|0){case 2:c=g+2|0;e=1;break i;case 0:break j;default:break i}}c=g+2|0}r=(e|0)!=(m|0);k:{if(!r){a=0;if(f>>>0>511){break k}a=((511-f&65535)>>>0)/10|0;break k}a=(f>>>0)/10|0;a=((((T(a,65526)+f|0)+511&65535)>>>0)/10|0)+a|0}l=a;k=0;g=L[c|0];o=g-48|0;l:{if(o>>>0>9){a=c;d=0;break l}d=0;while(1){j=d;if(!(!(k&1)&d>>>0<=l>>>0)){while(1){d=L[c+1|0];a=c+1|0;c=a;if(d-58>>>0>=4294967286){continue}break g}}d=T(j,10)+o|0;s=(47-g>>>0)/10|0;k=j>>>0>s>>>0;g=L[c+1|0];a=c+1|0;c=a;o=g-48|0;if(o>>>0<10){continue}break}k=j>>>0>s>>>0}if(r){if(!(!k&d>>>0>>0)){f=d-f|0;break h}c=f-d|0}else{c=d+f|0}f=c;e=m}if(f>>>0<512){break f}}f=511;if(q==0){break f}N[147316]=68}c=26192;if(!(!e|f>>>0<309)){h=1;if(i){g=26192;c=i;while(1){h=c&1?h*S[g>>3]:h;g=g+8|0;e=c>>>0>1;c=c>>>1|0;if(e){continue}break}}f=f-i|0;q=q/h;e=0;c=26272}h=1;if(f){while(1){h=f&1?h*S[c>>3]:h;c=c+8|0;d=f>>>0>1;f=f>>>1|0;if(d){continue}break}}p=q/h;if(e){break c}p=q*h}h=p;if(b){N[b>>2]=a}return(n|0)==45?-h:h}function Mj(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{f=N[a+96>>2];b:{if(!N[f+68>>2]){break b}e=N[a+132>>2];if(!e){break b}d=O[b+2|0]|O[b+3|0]<<8;h=d<<8|d>>>8;d=h&65535;if(h&16){g=d;d=O[b+4|0]|O[b+5|0]<<8;d=(((d<<8|d>>>8)&65535)<<1)+b|0;d=O[d+6|0]|O[d+7|0]<<8;d=g|(d<<24|d<<8&16711680)}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;L[a+21|0]=O[a+150|0];N[a+16>>2]=e;N[a+72>>2]=0;N[a+48>>2]=a;e=O[a+151|0];L[a+22|0]=e;h=a- -64|0;N[h>>2]=0;N[h+4>>2]=0;N[a+52>>2]=d;L[a+61|0]=1;d=N[a+84>>2]==1;L[a+20|0]=d;L[a+60|0]=d|O[a+149|0]!=0;L[a+62|0]=e;N[a+56>>2]=-1;d=O[b|0]|O[b+1|0]<<8;c:{if((d|0)!=1792){if((d|0)!=2048){break c}break a}d=275552;e=O[b+4|0]|O[b+5|0]<<8?b+6|0:275552;e=O[e|0]|O[e+1|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+b|0}if((O[d|0]|O[d+1|0]<<8)!=256){break c}if((O[d+2|0]|O[d+3|0]<<8)==2048){break a}}N[f+72>>2]=0;M[f+62>>1]=1;N[f+64>>2]=0;N[f+84>>2]=N[f+80>>2];Lj(a,c);Ac(f)}return}if(!O[f+62|0]){N[f+64>>2]=N[f+68>>2]-1;f=N[a+96>>2];b=N[f+64>>2];while(1){b=N[f+80>>2]+T(b,20)|0;e=N[b>>2];d:{if(!(N[c>>2]>>>(e>>>4)&1)|!(N[c+4>>2]>>>e&1)|(!(N[c+8>>2]>>>(e>>>9)&1)|!(N[a+132>>2]&N[b+4>>2]))){break d}h=N[a+140>>2];b=P[b+12>>1];if(h&b&14){break d}e:{if(!(b&8)){break e}if(h&16){d=275552;b=N[a+104>>2];f:{if((O[b|0]|O[b+1|0]<<8)!=256){break f}g=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<65538){break f}g=O[b+12|0]|O[b+13|0]<<8;if(!g){break f}d=b+((g<<8|g>>>8)&65535)|0}if((O[d|0]|O[d+1|0]<<8)!=256){break d}b=O[d+2|0]|O[d+3|0]<<8;g=(b<<8|b>>>8)&65535;b=h>>>16|0;if(g>>>0>b>>>0){b=((b<<2)+d|0)+4|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+d|0}else{b=275552}if((vb(b,e)|0)!=-1){break e}break d}d=h&65280;if(!d){break e}if((d|0)!=(b&65280)){break d}}d=N[c+16>>2];if(!d){break d}b=N[c+20>>2];while(1){e=N[a+96>>2];e=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];if(!(!(N[b+16>>2]>>>(e>>>4)&1)|!(N[b+20>>2]>>>e&1)|!(N[b+24>>2]>>>(e>>>9)&1))){if(Qa[N[b+4>>2]](N[b>>2],a)|0){break d}}b=b+28|0;d=d-1|0;if(d){continue}break}}b=N[f+64>>2]-1|0;N[f+64>>2]=b;if((b|0)>=0){continue}break}return}ba(8640,17822,1889,14549);B()}function Ib(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(N[a+20>>2]==2){e=N[a+68>>2];f=c>>>0>e>>>0?e:c;j=f-b|0;if(j>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=f>>>0){break a}h=N[a+80>>2];d=-1;e=b;l=(b^-1)+f|0;if(l>>>0>=3){k=j&-4;while(1){c=T(e,20)+h|0;i=N[c+8>>2];d=d>>>0>>0?d:i;i=N[c+28>>2];d=d>>>0>>0?d:i;i=N[c+48>>2];d=d>>>0>>0?d:i;c=N[c+68>>2];d=c>>>0>d>>>0?d:c;e=e+4|0;m=m+4|0;if((k|0)!=(m|0)){continue}break}}k=j&3;if(k){c=0;while(1){i=N[(T(e,20)+h|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(j&1){c=T(b,20)+h|0;if(N[c+8>>2]!=(d|0)){N[c+4>>2]=N[c+4>>2]|3}b=b+1|0}if(!l){break a}while(1){c=T(b,20)+h|0;if(N[c+8>>2]!=(d|0)){g=g|32;N[a+144>>2]=g;N[c+4>>2]=N[c+4>>2]|3}c=T(b+1|0,20)+h|0;if(N[c+8>>2]!=(d|0)){g=g|32;N[a+144>>2]=g;N[c+4>>2]=N[c+4>>2]|3}b=b+2|0;if((f|0)!=(b|0)){continue}break}break a}h=N[a+80>>2];j=N[(h+T(b,20)|0)+8>>2];d=j;e=b+1|0;b:{if(e>>>0>=c>>>0){break b}l=(c-b|0)-2|0;f=(b^-1)+c&3;if(f){k=b+f|0;while(1){i=N[(h+T(e,20)|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}e=k+1|0}if(l>>>0<=2){break b}while(1){g=h+T(e,20)|0;f=N[g+8>>2];d=d>>>0>>0?d:f;f=N[g+28>>2];d=d>>>0>>0?d:f;f=N[g+48>>2];d=d>>>0>>0?d:f;g=N[g+68>>2];d=d>>>0>>0?d:g;e=e+4|0;if((e|0)!=(c|0)){continue}break}}e=N[a+68>>2];c:{if(e>>>0<=c>>>0){break c}while(1){g=h+T(c,20)|0;if(N[g-12>>2]!=N[g+8>>2]){break c}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e}f=N[a+64>>2];g=b>>>0>f>>>0?f:b;while(1){d:{e=b;if(b>>>0<=f>>>0){e=g;break d}b=e-1|0;if((j|0)==N[(h+T(b,20)|0)+8>>2]){continue}}break}e:{if((e|0)!=(f|0)){break e}b=N[a+72>>2];if(!b){break e}g=h+T(f,20)|0;f=N[a+84>>2];while(1){b=b-1|0;a=f+T(b,20)|0;j=N[a+8>>2];if((j|0)!=N[g+8>>2]){break e}if((d|0)!=(j|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;if(b){continue}break}}if(c>>>0<=e>>>0){break a}a=e+1|0;if(c-e&1){b=h+T(e,20)|0;if(N[b+8>>2]!=(d|0)){N[b+4>>2]=N[b+4>>2]&-8}N[b+8>>2]=d;e=a}if((a|0)==(c|0)){break a}while(1){a=h+T(e,20)|0;if(N[a+8>>2]!=(d|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;a=h+T(e+1|0,20)|0;if(N[a+8>>2]!=(d|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;e=e+2|0;if((e|0)!=(c|0)){continue}break}}}function Vi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=La-32|0;La=e;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;if(!(!c|(!a|!b))){n=N[N[a+12>>2]+24>>2];g=N[b+16>>2];f=N[b+8>>2];N[e+12>>2]=3;Bl(N[(f<<2)+293344>>2],0,e+12|0,e,0,0);f=N[e+12>>2];h=f?N[e>>2]:0;N[e+16>>2]=h;i=f>>>0>1?N[e+4>>2]:0;N[e+20>>2]=i;N[e+24>>2]=f>>>0>2?N[e+8>>2]:0;f=N[(g<<2)+293296>>2];a:{b:{if(d){if(!h){N[e+16>>2]=1145457748;break b}if((i|0)==1145457748){break b}if(!i){N[e+20>>2]=1145457748;break b}N[e+24>>2]=1145457748;break b}i=0;g=0;if((h|0)==1145457748){break a}}j=db(1,52);c:{if(!j){j=275552;break c}N[j>>2]=1;N[j+4>>2]=1;L[j+12|0]=1}Zj(n,1196643650,e+16|0,f,j);if(_j(j+12|0)){i=0;g=0;break a}g=db(1,52);d:{if(!g){g=275552;break d}N[g>>2]=1;N[g+4>>2]=1;L[g+12|0]=1}N[e>>2]=-1;while(1){if(Se(j,e)){Yj(n,1196643650,N[e>>2],0,g);continue}break}i=275552;o=275552;d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;o=d}Zj(n,1196445523,e+16|0,f,o);d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;i=d}N[e>>2]=-1;while(1){if(Se(o,e)){Yj(n,1196445523,N[e>>2],i,0);continue}break}e:{if(N[b+16>>2]==10){break e}p=(N[b+12>>2]<<3)+283472|0;d=N[p>>2];if((d|0)==5531){break a}f=0;while(1){h=d+277936|0;d=O[h|0];if(d){while(1){l=d&255;h=h+1|0;if(d<<24>>24<0){d=l>>>0<240;k=l>>>0<224;m=k?1:d?2:3;l=(k?31:d?15:7)&l;k=0;d=h;while(1){l=O[d|0]&63|l<<6;d=d+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}h=h+m|0}N[e>>2]=-1;while(1){f:{if(!Se(j,e)){d=f;break f}d=0;m=N[a>>2];g:{if(!m){break g}k=N[m+92>>2];if(!k){break g}d=Qa[N[N[k+12>>2]+12>>2]](k,l)|0;d=d>>>0>2]?d:0}N[e+12>>2]=d;d=1;if(!Dc(n,N[e>>2],e+12|0,1,1)){continue}}break}f=d;d=O[h|0];if(d){continue}break}}d=N[p+8>>2];p=p+8|0;if((d|0)!=5531){continue}break}if(!(f&255)){break a}if(N[b+16>>2]==10){break e}f=i+12|0;d=g+12|0;h=O[g+48|0];h:{if((h|0)==O[i+48|0]){if(h){Mf(d,200,0,1,f);break h}Mf(d,201,1,0,f);break h}if(h){Mf(d,202,1,1,f);break h}Mf(d,203,0,0,f)}if(O[d|0]){L[g+48|0]=!O[i+48|0]&O[g+48|0]!=0}}N[e>>2]=-1;while(1){if(!Se(g,e)){break a}d=N[e>>2];if(d>>>0>=Q[a+4>>2]){continue}d=(d<<1)+c|0;if(P[d>>1]!=16383){continue}M[d>>1]=N[b>>2];continue}}Te(j);Te(g);Te(o);Te(i)}La=e+32|0}function Kc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=La-48|0;La=j;N[a+8>>2]=0;g=N[a+4>>2];if(g){N[N[a>>2]>>2]=441572;N[N[a>>2]+4>>2]=441572;N[N[a>>2]+8>>2]=441572;N[N[a>>2]+12>>2]=441572;N[N[a>>2]+16>>2]=441572}a:{if(!d){break a}e=O[c|0];if(!e){break a}h=6;if(!b){break a}f=O[b|0];if(!f){break a}N[j+24>>2]=0;N[j+28>>2]=0;N[j+16>>2]=0;N[j+20>>2]=0;N[j+8>>2]=0;N[j+12>>2]=0;N[j>>2]=0;N[j+4>>2]=0;while(1){b:{c:{d:{i=f&255;if((i|0)!=43){if(!i){break d}i=O[b+1|0];break c}i=O[b+1|0];if(i){break c}k=1;i=0;break b}e:{if((d|0)<=0){h=0;f=0;break e}l=c+d|0;while(1){f=c;while(1){f:{if(O[((e&248)>>>3|0)+j|0]>>>(e&7)&1){i=f;break f}e=O[f+1|0];i=f+1|0;f=i;if(e){continue}}break}e=N[a+8>>2];g=N[a+4>>2];g:{if((e|0)!=(g|0)){break g}if((e|0)==-1){g=e;break g}if((e|0)==536870911){h=64;break a}b=((e>>>1|0)+e|0)+5|0;g=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;if((g|e)<0){h=6;break a}f=N[a>>2];d=N[a+12>>2];h:{i:{j:{if(!g){b=0;if(!f){break j}Qa[N[d+8>>2]](d,f);N[a>>2]=0;break h}if((g|0)>536870911){h=10;break a}k:{if(!e){b=Qa[N[d+4>>2]](d,g<<2)|0;h=!b<<6;break k}d=Qa[N[d+12>>2]](d,e<<2,g<<2,f)|0;b=d?d:f;h=!d<<6}if(h|(e|0)>=(g|0)|!b){break i}C((e<<2)+b|0,0,g-e<<2)}N[a>>2]=b;break h}N[a>>2]=b;if(h){break a}}N[a+4>>2]=g;e=N[a+8>>2]}h=e+1|0;N[a+8>>2]=h;N[N[a>>2]+(e<<2)>>2]=c>>>0>=i>>>0?441572:c;f=O[i|0];l:{m:{if(k){b=i;if(!(f&255)){f=0;break e}while(1){n:{if(!(O[((f&248)>>>3|0)+j|0]>>>(f&7)&1)){e=f;c=b;break n}e=0;L[b|0]=0;f=O[b+1|0];c=b+1|0;b=c;if(f){continue}}break}f=0;if(c>>>0<=i>>>0){break l}break m}if(!(f&255)){f=0;break e}L[i|0]=0;c=i+1|0;e=O[i+1|0]}f=!(e&255)}if(e&255?c>>>0>>0:0){continue}break}g=N[a+4>>2];h=N[a+8>>2]}b=f+h|0;o:{if(b>>>0>>0){break o}N[j+44>>2]=0;if(b+1>>>0<=g>>>0){break o}h=64;if((g|0)==536870911){break a}b=((g>>>1|0)+g|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;m=a,n=lb(N[a+12>>2],4,g,b,N[a>>2],j+44|0),N[m>>2]=n;h=N[j+44>>2];if(h){break a}N[a+4>>2]=b}p:{if(!f){e=N[a+8>>2];break p}b=N[a+8>>2];e=b+1|0;N[a+8>>2]=e;N[N[a>>2]+(b<<2)>>2]=441572}h=0;N[N[a>>2]+(e<<2)>>2]=0;break a}h=((f&248)>>>3|0)+j|0;L[h|0]=O[h|0]|1<<(f&7)}b=b+1|0;f=i;continue}}La=j+48|0;return h}function Qc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-16|0;La=h;e=N[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{d=O[e|0];switch(d-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){break a}m=(d|0)==45;d=O[e|0];switch(d-43|0){case 0:case 2:break a;default:break b}}d:{if((d|0)==46){d=e;break d}N[h+8>>2]=e;f=fd(h+8|0,b,10);e:{d=N[h+8>>2];if((e|0)!=(d|0)){if(O[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;N[h+8>>2]=i;f=fd(h+8|0,b,f);d=N[h+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((d|0)==(e|0)){f=0;break a}l=(f|0)>32767;i=l?f:f<<16}f:{if(!(O[d|0]!=46|b>>>0<=d>>>0)){g=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;g:{if(!i){while(1){h:{f=O[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break h}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}i:{if((g|0)>214748363|(e|0)>214748363){break i}e=L[f+294800|0]+T(e,10)|0;if((c|0)<=0){g=T(g,10);break i}c=c-1|0}d=d+1|0;if((d|0)!=(b|0)){continue}break g}}while(1){j:{f=O[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break j}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}k=L[f+294800|0]+T(e,10)|0;f=(g|0)<214748364&(e|0)<214748364;e=f?k:e;g=f?T(g,10):g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=b;break f}e=0;g=1}k:{l:{m:{n:{k=d+1|0;if(!((O[d|0]|32)!=101|k>>>0>=b>>>0)){N[h+12>>2]=k;j=fd(h+12|0,b,10);o:{d=N[h+12>>2];if((k|0)!=(d|0)){if(O[d|0]!=35|b>>>0<=d>>>0){break o}f=d+1|0;N[h+12>>2]=f;j=fd(h+12|0,b,j);d=N[h+12>>2];if((f|0)!=(d|0)){break o}}f=0;break a}f=0;if((d|0)==(k|0)){break a}if((j|0)>1e3){break n}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}N[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(l){break k}if(j){break a}if((c|0)<=0){break m}while(1){if((i|0)>214748363){break k}p:{if((e|0)>=214748364){if((g|0)==1){break k}g=(g|0)/10|0;break p}e=T(e,10)}i=T(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break l}N[a>>2]=d;b=2147483647;if(e|i){break k}break a}if((c|0)>=0){break l}while(1){a=i;i=(i|0)/10|0;q:{if((g|0)<=214748363){g=T(g,10);break q}e=(e|0)/10|0}if(!(!e&a-10>>>0>=4294967277)){c=c+1|0;if(!c){break l}continue}break}break a}if(!e){b=i;break k}b=fb(e,g)+i|0}f=m?0-b|0:b}La=h+16|0;return f}function jp(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=(g?1032:0)+a|0;N[p>>2]=0;q=(g?1548:516)+a|0;N[q>>2]=0;m=g?a+1548|0:a+516|0;n=g?a+1032|0:a;if(b>>>0>=2){while(1){a=c+2|0;k=h&1;o=M[(k?c:a)>>1];j=M[(k?a:c)>>1]-o|0;h=(k?n:m)+4|0;g=k?l:i;a:{b:{if(!g){break b}a=(g<<5)+h|0;c:{while(1){r=N[h>>2];if((r|0)>(o|0)){break c}if((o|0)==(r|0)){a=N[h+4>>2];if((j|0)<0){if((a|0)<=(j|0)){break a}N[h+4>>2]=j;break a}if((a|0)>=(j|0)){break a}N[h+4>>2]=j;break a}h=h+32|0;g=g-1|0;if(g){continue}break}h=a;break b}F(h+32|0,h,g<<5)}N[h+4>>2]=j;N[h>>2]=o;if(k){l=l+1|0;break a}i=i+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}N[p>>2]=l;N[q>>2]=i;if(d>>>0>=2){a=m+4|0;while(1){j=M[e+2>>1];c=M[e>>1]-j|0;h=a;d:{e:{if(!i){break e}b=a+(i<<5)|0;g=i;f:{while(1){k=N[h>>2];if((k|0)>(j|0)){break f}if((j|0)==(k|0)){b=N[h+4>>2];if((c|0)<0){if((b|0)<=(c|0)){break d}N[h+4>>2]=c;break d}if((b|0)>=(c|0)){break d}N[h+4>>2]=c;break d}h=h+32|0;g=g-1|0;if(g){continue}break}h=b;break e}F(h+32|0,h,g<<5)}N[h+4>>2]=c;N[h>>2]=j;i=i+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}N[p>>2]=l;N[q>>2]=i;g:{if(!l){break g}h=n+4|0;a=l;while(1){h:{i:{switch(a|0){case 1:b=N[h+4>>2];g=N[h>>2];break h;case 0:break g;default:break i}}g=N[h>>2];b=N[h+32>>2]-g|0;c=N[h+4>>2];if((b|0)>=(c|0)){b=c;break h}N[h+4>>2]=b}N[h+12>>2]=g;N[h+8>>2]=b+g;h=h+32|0;a=a-1|0;continue}}j:{if(!i){break j}h=m+4|0;a=i;while(1){k:{l:{switch(a|0){case 1:b=N[h+4>>2];g=N[h>>2];break k;case 0:break j;default:break l}}g=N[h>>2];b=g-N[h+32>>2]|0;c=N[h+4>>2];if((b|0)<=(c|0)){b=c;break k}N[h+4>>2]=b}N[h+8>>2]=g;N[h+12>>2]=b+g;h=h+32|0;a=a-1|0;continue}}if(l){N[n+16>>2]=N[n+16>>2]-f;h=n+4|0;a=N[n+12>>2];g=l-1|0;m:{if(!g){b=h;break m}while(1){b=N[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);N[h+8>>2]=a?d:e;N[h+44>>2]=a?d:b-f|0;a=N[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}N[b+8>>2]=a+f}if(i){N[m+16>>2]=N[m+16>>2]-f;h=m+4|0;a=N[m+12>>2];g=i-1|0;n:{if(!g){b=h;break n}while(1){b=N[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);N[h+8>>2]=a?d:e;N[h+44>>2]=a?d:b-f|0;a=N[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}N[b+8>>2]=a+f}}function fx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=N[a+492>>2];g=N[b+16>>2];Qa[N[b+28>>2]](b);a:{b:{c:{f=N[b>>2];d:{if(!(f>>>0>=Q[b+8>>2]|O[f|0]!=91)){Qa[N[b+32>>2]](b);Qa[N[b+28>>2]](b);a=N[b>>2];if(a>>>0>2]&O[a|0]==93){break d}break a}c=Qa[N[b+36>>2]](b)|0;if((c|0)<0){break a}d=N[b+8>>2];f=N[b>>2];e:{if(d>>>0>>0){break e}d=d-f>>3;if((d|0)>=(c|0)){break e}if(!N[b+368>>2]){f=b+368|0;f:{c=Qa[N[g+4>>2]](g,24)|0;if(c){L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[b+368>>2]=c;N[c+16>>2]=150;N[c+12>>2]=151;N[c+8>>2]=0;N[c>>2]=80;N[c+4>>2]=241;f=Qa[N[g+4>>2]](g,964)|0;if(f){break f}f=c+20|0}N[f>>2]=0;break b}C(f,0,964);N[c+20>>2]=f}c=d}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break d}j=b+316|0;Qa[N[b+28>>2]](b);if(!N[b+312>>2]){d=Qa[N[N[k>>2]>>2]](j,c,g)|0;if(d){break c}}d=N[b>>2];g:{if(Q[b+8>>2]<=d+4>>>0){break g}f=0;while(1){if(bb(d,12289,3)){break g}Qa[N[b+32>>2]](b);d=Qa[N[b+36>>2]](b)|0;l=N[N[a+128>>2]+52>>2];i=N[b+8>>2];Qa[N[b+28>>2]](b);h:{e=N[b>>2];i:{if(e>>>0>=i>>>0|O[e|0]-48>>>0>9){break i}h=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((h|0)<0){break i}m=i;e=N[b>>2];i=e+1|0;if((h|0)<(m-i|0)){break h}}if(l){break d}break a}N[b>>2]=(e+h|0)+1;if(N[b+12>>2]){break d}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break d}Qa[N[b+28>>2]](b);e=N[b>>2];j:{if(Q[b+8>>2]<=e+4>>>0){break j}if(bb(e,8702,3)){break j}Qa[N[b+32>>2]](b);Qa[N[b+28>>2]](b)}e=N[b+368>>2];if(e){gg(d,f,e,g);d=f}if(!N[b+312>>2]){e=N[a+172>>2];k:{if((e|0)>=0){if(e>>>0>h>>>0){d=3;break c}l:{if((h|0)<=0){e=0;break l}e=Qa[N[g+4>>2]](g,h)|0;if(!e){break b}}F(e,i,h);Qa[N[k+16>>2]](e,h,4330);i=d;d=N[a+172>>2];d=Qa[N[b+360>>2]](j,i,d+e|0,h-d|0)|0;if(!e){break k}Qa[N[g+8>>2]](g,e);break k}d=Qa[N[b+360>>2]](j,d,i,h)|0}if(d){break c}}f=f+1|0;d=N[b>>2];if(Q[b+8>>2]>d+4>>>0){continue}break}}if(N[b+312>>2]){break d}N[b+312>>2]=c}return}N[b+12>>2]=d;return}N[b+12>>2]=64;return}N[b+12>>2]=3}function aq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=N[a>>2];if(!d){i=a-28|0;while(1){c=N[i>>2];if(!c){return 275552}d=db(1,32);if(!d){N[a>>2]=275552;return 275552}N[d+8>>2]=0;N[d+12>>2]=0;N[d>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;if(N[c+32>>2]==-1){b=sb(c+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}b=N[c+12>>2];a:{if(b){b=Qa[b|0](c,1886352244,N[c+16>>2])|0;if(b){break a}}b=275552}b:{c:{d:{c=N[b>>2];if(c){if((c|0)<=0){break d}N[b>>2]=c+1}f=N[b+16>>2];if((f|0)<0){break c}e=N[b+12>>2];if(f>>>0>67108863){c=1073741789}else{c=f<<6;c=c>>>0<=16384?16384:c;c=(c>>>0>=1073741823?1073741823:c)-34|0}e:{if(!e){ab(b);break e}f:{if(f>>>0>=32){g:{h:{g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if((h|0)==65536){break h}i:{if((f&-2)==32|(h|0)!=131072){break i}e=O[e+32|0]|O[e+33|0]<<8;if(!e){break h}if((f|0)<34){break i}e=((e<<8|e>>>8)&65535)<<1;if(e>>>0>f-34>>>0){break i}if((c|0)>(e|0)){break h}}ab(b);if((g|0)==768){break g}break f}ab(b)}if(!N[b+4>>2]){break e}N[b+4>>2]=0;break e}ab(b)}ab(b);b=275552}N[d>>2]=b;f=N[b+16>>2];c=f>>>0<32?275552:N[b+12>>2];b=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[d+4>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);j:{if((b|0)!=512){break j}b=c+32|0;N[d+8>>2]=b;e=O[c+32|0]|O[c+33|0]<<8;b=(b+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;N[d+24>>2]=b;e=N[d+16>>2];if(e>>>0>65534){break j}h=c+f|0;if(h>>>0<=b>>>0){break j}while(1){if(h>>>0<=O[b|0]+b>>>0){break j}k:{l:{m:{c=N[d+12>>2];if((c|0)>=0){f=e+1|0;j=N[d+24>>2];if(c>>>0>e>>>0){g=N[d+20>>2];break l}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){g=$a(N[d+20>>2],c<<2);if(g){break m}}N[d+12>>2]=-1}N[147456]=0;break k}N[d+12>>2]=c;N[d+20>>2]=g;e=N[d+16>>2];f=e+1|0}N[d+16>>2]=f;N[(e<<2)+g>>2]=b-j}e=N[d+16>>2];if(e>>>0>65534){break j}b=(O[b|0]+b|0)+1|0;if(h>>>0>b>>>0){continue}break}}break b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a>>2]){N[a>>2]=d;return d}_a(N[d+28>>2]);ab(N[d>>2]);N[d>>2]=0;if(N[d+16>>2]){N[d+16>>2]=0}_a(N[d+20>>2]);_a(d);d=N[a>>2];if(!d){continue}break}}return d}function il(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=O[a|0]|O[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}if(b>>>0>=c>>>0){break a}if((b|0)<0){return 275552}return((b<<2)+a|0)+2|0}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;g:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break g}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=0;if((O[a|0]|O[a+1|0]<<8)!=65535){break g}c=(O[a+2|0]|O[a+3|0]<<8)==65535?-1:0}a=0;c=c+e|0;h:{if((c|0)<=0){break h}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a+2|0]|O[a+3|0]<<8;i:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=b>>>0){break h}e=h+1|0;break i}c=h-1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+4|0:0}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;d=O[a+4|0]|O[a+5|0]<<8;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=((b<<2)+a|0)+6|0;break a}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;j:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break j}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=(O[a|0]|O[a+1|0]<<8)==65535?-1:0}a=0;c=c+e|0;k:{if((c|0)<=0){break k}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;l:{if(g>>>0>b>>>0){c=h-1|0;break l}if((b|0)==(g|0)){break k}e=h+1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+2|0:0}c=O[a+4|0]|O[a+5|0]<<8;f=(c<<8|c>>>8)&65535;h=a+12|0;m:{if(!c){c=O[a+2|0]|O[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break m}d=O[a+2|0]|O[a+3|0]<<8;g=(d<<8|d>>>8)&65535;d=h+T(g,f-1|0)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break m}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}c=c+f|0;if((c|0)<=0){break a}c=c-1|0;while(1){f=c+e>>>1|0;d=h+T(f,g)|0;i=O[d+2|0]|O[d+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){e=O[d|0]|O[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break n}b=b-i|0;if((b|0)<0){return 275552}c=a;a=O[d+4|0]|O[d+5|0]<<8;return(c+((a<<8|a>>>8)&65535)|0)+(b<<2)|0}c=f-1|0}if((c|0)>=(e|0)){continue}break}return 0}return e}function cc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=O[a|0]|O[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}if(b>>>0>=c>>>0){break a}if((b|0)<0){return 275552}return((b<<1)+a|0)+2|0}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;g:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break g}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=0;if((O[a|0]|O[a+1|0]<<8)!=65535){break g}c=(O[a+2|0]|O[a+3|0]<<8)==65535?-1:0}a=0;c=c+e|0;h:{if((c|0)<=0){break h}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a+2|0]|O[a+3|0]<<8;i:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=b>>>0){break h}e=h+1|0;break i}c=h-1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+4|0:0}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;d=O[a+4|0]|O[a+5|0]<<8;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=((b<<1)+a|0)+6|0;break a}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;j:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break j}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=(O[a|0]|O[a+1|0]<<8)==65535?-1:0}a=0;c=c+e|0;k:{if((c|0)<=0){break k}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;l:{if(g>>>0>b>>>0){c=h-1|0;break l}if((b|0)==(g|0)){break k}e=h+1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+2|0:0}c=O[a+4|0]|O[a+5|0]<<8;f=(c<<8|c>>>8)&65535;h=a+12|0;m:{if(!c){c=O[a+2|0]|O[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break m}d=O[a+2|0]|O[a+3|0]<<8;g=(d<<8|d>>>8)&65535;d=h+T(g,f-1|0)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break m}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}c=c+f|0;if((c|0)<=0){break a}c=c-1|0;while(1){f=c+e>>>1|0;d=h+T(f,g)|0;i=O[d+2|0]|O[d+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){e=O[d|0]|O[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break n}b=b-i|0;if((b|0)<0){return 275552}c=a;a=O[d+4|0]|O[d+5|0]<<8;return(c+((a<<8|a>>>8)&65535)|0)+(b<<1)|0}c=f-1|0}if((c|0)>=(e|0)){continue}break}return 0}return e}function mC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=La-48|0;La=e;a:{b:{c:{if(!cb(b,8894)){f=6;if(d){break a}d=N[c>>2];b=0;c=286856;while(1){if(!((d|0)!=N[c+8>>2]|N[c+16>>2]!=10)){c=b;break c}c=b+1|0;g=N[(c<<2)+288960>>2];if((d|0)==N[g+8>>2]&N[g+16>>2]==10){break c}c=b+2|0;g=N[(c<<2)+288960>>2];if((d|0)==N[g+8>>2]&N[g+16>>2]==10){break c}b=b+3|0;c=N[(b<<2)+288960>>2];if((b|0)!=87){continue}break}break a}if(!cb(b,8879)){f=6;if(d){break a}N[a+16>>2]=N[c>>2];break b}if(!cb(b,9447)){f=6;if(d){break a}b=N[c>>2];if(!b){f=35;break a}d=N[b+116>>2];N[e+16>>2]=d;if(!d){f=Dg(b,e+16|0,a);if(f){break a}d=N[e+16>>2];N[b+116>>2]=d;N[b+120>>2]=311}N[d+20>>2]=N[c+4>>2];break b}d:{if(!cb(b,10437)){e:{if(!d){b=N[c>>2];break e}b=Kb(c,e+12|0);d=N[e+12>>2];if(O[d|0]!=44|(c|0)==(d|0)){break d}d=d+1|0;l=e,m=Kb(d,e+12|0),N[l+20>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+24>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+28>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+32>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+36>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+40>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}c=c+1|0;l=e,m=Kb(c,e+12|0),N[l+44>>2]=m;d=N[e+12>>2];if((O[d|0]|32)!=32|(c|0)==(d|0)){break d}c=e+16|0}f=6;if((b|0)<0){break a}d=N[c+8>>2];if((d|0)<0){break a}g=N[c+16>>2];if((g|0)<0){break a}h=N[c+24>>2];if((h|0)<0){break a}i=N[c+4>>2];if((i|0)<0){break a}j=N[c+12>>2];if((j|0)<0){break a}k=N[c+20>>2];if((k|0)<0){break a}c=N[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}N[a+24>>2]=b;N[a+52>>2]=c;N[a+48>>2]=h;N[a+44>>2]=k;N[a+40>>2]=g;N[a+36>>2]=j;N[a+32>>2]=d;N[a+28>>2]=i;break b}f=12;if(cb(b,14683)){break a}if(d){f=0;if(!Kb(c,0)){L[a+20|0]=0;break a}L[a+20|0]=1;break a}L[a+20|0]=O[c|0];break b}f=6;break a}N[a+12>>2]=c}f=0}La=e+48|0;return f|0}function Tu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=La-16|0;La=n;h=N[b+16>>2];l=N[b+8>>2];Qa[N[b+28>>2]](b);i=3;c=N[b>>2];a:{b:{c:{if(c>>>0>=l>>>0){break c}N[b>>2]=c+1;if(O[c|0]!=91){break c}Qa[N[b+28>>2]](b);c=N[b>>2];if(l>>>0<=c>>>0){break c}while(1){d:{e:{f:{g:{h:{d=O[c|0];if((d|0)!=60){if((d|0)!=93){break h}N[b>>2]=c+1;break b}if(!(j|!g)){j=0;break c}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break b}f=N[b>>2];d=(f+(c^-1)|0)/2|0;if(f-c>>>0<3){break c}if((d|o)<0){i=6;break c}if(!o){g=Qa[N[h+4>>2]](h,d)|0;if(g){break g}g=0;i=64;break c}f=Qa[N[h+12>>2]](h,o,d,g)|0;g=f?f:g;if(f){break g}i=64;break c}if(d-48>>>0>9){d=o;break f}if(j){j=1;break c}j=0;f=Qa[N[b+36>>2]](b)|0;if((f|0)<0){break c}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}c=N[b>>2];g=c+1|0;if(l-c>>>0<=f>>>0){break c}N[b>>2]=(c+f|0)+1;break e}N[b>>2]=c;j=1;Qa[N[b+44>>2]](b,g,d,n+12|0,1)|0;f=N[n+12>>2]}if(!g){break d}o=d}i:{j:{if(!(f&1)){c=f;break j}c=f-1|0;if(O[g+c|0]){break i}}f=c;if(c){break i}break c}r=l-N[b>>2]|0;p=0;while(1){k:{l:{m:{n:{o:{switch(e|0){case 2:break m;case 1:break n;case 0:break o;default:break k}}e=0;if((m|0)<12){break l}c=N[a+496>>2];q=(O[c+4|0]<<4)+O[c+5|0]|0;d=q<<4|12;N[a+500>>2]=d;if((d|0)>(r|0)){break c}d=Qa[N[h+12>>2]](h,12,d,c)|0;N[a+496>>2]=d?d:c;if(d){break n}i=!d<<6;break c}e=1;c=N[a+500>>2];if((m|0)<(c|0)){break l}k=N[a+496>>2];if(q){s=k+12|0;d=0;while(1){e=(d<<4)+s|0;e=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>r>>>0|(r-e|0)<(c|0)){break c}c=(e+3&-4)+c|0;N[a+500>>2]=c;d=d+1|0;if((q|0)!=(d|0)){continue}break}}if((c|0)<-1){i=6;N[a+496>>2]=k;break c}p:{c=c+1|0;if(!c){e=0;if(!k){break p}Qa[N[h+8>>2]](h,k);break p}c=Qa[N[h+12>>2]](h,q<<4|12,c,k)|0;e=c?c:k;if(c){break p}i=64;N[a+496>>2]=e;break c}N[a+496>>2]=e}e=2;if(N[a+500>>2]>(m|0)){break l}break c}L[N[a+496>>2]+m|0]=O[g+p|0];m=m+1|0}p=p+1|0;if((p|0)!=(f|0)){continue}break}Qa[N[b+28>>2]](b);c=N[b>>2];if(l>>>0>c>>>0){continue}break c}break}g=0}N[b+12>>2]=i}if(!j|!g){break a}Qa[N[h+8>>2]](h,g)}La=n+16|0}function _D(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=N[b>>2];k=N[h+20>>2];a:{if(k){break a}while(1){i=N[h>>2];if(!i){k=275552;break a}k=db(1,28);if(!k){k=275552;N[h+20>>2]=275552;break a}k=hq(k,i);if(!N[h+20>>2]){N[h+20>>2]=k;break a}ab(N[k+20>>2]);N[k+20>>2]=0;ab(N[k+24>>2]);_a(k);k=N[h+20>>2];if(!k){continue}break}}i=275552;h=N[k+24>>2];h=h?h:275552;h=Q[h+16>>2]<20?275552:N[h+12>>2];j=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);if(j){i=h+(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))|0}h=0;n=N[a+84>>2];b:{if(T(n,c)>>>0<128){break b}h=O[i+2|0]|O[i+3|0]<<8|(O[i+4|0]<<16|O[i+5|0]<<24);if(h){h=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+i|0}else{h=275552}i=O[h+2|0]|O[h+3|0]<<8;j=(i<<8|i>>>8)&65535;h=kb(j<<2);if(!i|!h){break b}i=j>>>0<=1?1:j;o=i&7;j=0;if(i>>>0>=8){m=i&65528;while(1){i=j<<2;N[i+h>>2]=1073741824;N[(i|4)+h>>2]=1073741824;N[(i|8)+h>>2]=1073741824;N[(i|12)+h>>2]=1073741824;N[(i|16)+h>>2]=1073741824;N[(i|20)+h>>2]=1073741824;N[(i|24)+h>>2]=1073741824;N[(i|28)+h>>2]=1073741824;j=j+8|0;if((m|0)!=(j|0)){continue}break}}if(!o){break b}while(1){N[(j<<2)+h>>2]=1073741824;j=j+1|0;l=l+1|0;if((o|0)!=(l|0)){continue}break}}c:{d:{e:{if(!n){break e}j=N[b+8>>2];if(j){i=N[b+4>>2];break d}j=kb(1024);if(!j){break e}C(j,255,1024);N[b+8>>2]=j;i=N[a+16>>2];N[b+4>>2]=i;break d}if(!c){break c}i=0;while(1){b=gq(k,N[d>>2],a,h)<<16>>16;j=UE(b,b>>31,N[a+56>>2],N[a+60>>2]);b=Pa;j=j+32768|0;N[f>>2]=((j>>>0<32768?b+1|0:b)&65535)<<16|j>>>16;f=f+g|0;d=d+e|0;i=i+1|0;if((i|0)!=(c|0)){continue}break}break c}m=i;i=N[a+16>>2];if((m|0)!=(i|0)){C(j,255,1024);N[b+4>>2]=i}if(!c){break c}l=0;while(1){i=N[d>>2];j=N[N[b+8>>2]+((i&255)<<2)>>2];f:{if(!((j|0)==-1|(j>>>16|0)!=(i>>>8|0))){i=j&65535;break f}i=gq(k,i,a,h);if(i>>>0>65535){break f}j=N[d>>2];if(j>>>0>16777215){break f}N[N[b+8>>2]+((j&255)<<2)>>2]=j<<8&-65536|i}i=i<<16>>16;j=UE(N[a+56>>2],N[a+60>>2],i,i>>31);i=Pa;j=j+32768|0;N[f>>2]=((j>>>0<32768?i+1|0:i)&65535)<<16|j>>>16;f=f+g|0;d=d+e|0;l=l+1|0;if((l|0)!=(c|0)){continue}break}}_a(h)}function hp(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=La-128|0;La=j;a:{b:{c:{if(!Sd(f,g,h,i,0,0,0,0)){break c}l=i&65535;n=i>>>16&32767;d:{e:{if((n|0)!=32767){k=4;if(n){break e}k=f|h|(g|l)?3:2;break d}k=!(f|h|(g|l))}}s=e>>>16|0;o=s&32767;if((o|0)==32767){break c}if(k){break b}}Gb(j+16|0,b,c,d,e,f,g,h,i);b=N[j+16>>2];d=N[j+20>>2];e=N[j+24>>2];c=N[j+28>>2];rn(j,b,d,e,c,b,d,e,c);d=N[j+8>>2];e=N[j+12>>2];h=N[j>>2];i=N[j+4>>2];break a}k=d;p=e&2147483647;n=h;m=i&2147483647;if((Sd(b,c,k,p,f,g,h,m)|0)<=0){if(Sd(b,c,k,p,f,g,n,m)){h=b;i=c;break a}Gb(j+112|0,b,c,d,e,0,0,0,0);d=N[j+120>>2];e=N[j+124>>2];h=N[j+112>>2];i=N[j+116>>2];break a}q=i>>>16&32767;if(o){i=c;h=b}else{Gb(j+96|0,b,c,k,p,0,0,0,1081540608);k=N[j+104>>2];h=N[j+108>>2];p=h;o=(h>>>16|0)-120|0;i=N[j+100>>2];h=N[j+96>>2]}if(!q){Gb(j+80|0,f,g,n,m,0,0,0,1081540608);n=N[j+88>>2];f=N[j+92>>2];m=f;q=(f>>>16|0)-120|0;g=N[j+84>>2];f=N[j+80>>2]}r=n;t=m&65535|65536;p=p&65535|65536;if((o|0)>(q|0)){while(1){m=k-r|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-l|0;l=(p-((k>>>0>>0)+t|0)|0)-(l>>>0>m>>>0)|0;f:{if((l|0)>0|(l|0)>=0){k=h;h=h-f|0;i=i-((f>>>0>k>>>0)+g|0)|0;if(!(h|n|(i|l))){Gb(j+32|0,b,c,d,e,0,0,0,0);d=N[j+40>>2];e=N[j+44>>2];h=N[j+32>>2];i=N[j+36>>2];break a}l=l<<1|n>>>31;k=n<<1|i>>>31;break f}l=p<<1|k>>>31;k=k<<1|i>>>31}p=l;l=i<<1|h>>>31;h=h<<1;i=l;o=o-1|0;if((o|0)>(q|0)){continue}break}o=q}m=k-r|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-l|0;l=(p-((k>>>0>>0)+t|0)|0)-(l>>>0>m>>>0)|0;m=l;g:{if((l|0)<0){n=k;m=p;break g}k=h;h=h-f|0;i=i-((f>>>0>k>>>0)+g|0)|0;if(h|n|(i|m)){break g}Gb(j+48|0,b,c,d,e,0,0,0,0);d=N[j+56>>2];e=N[j+60>>2];h=N[j+48>>2];i=N[j+52>>2];break a}if((m|0)==65535|m>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;p=i<<1|h>>>31;h=h<<1;i=p;c=b;b=m<<1|n>>>31;n=c|n<<1;m=b;if(b>>>0<65536){continue}break}}b=s&32768;if((o|0)<=0){Gb(j- -64|0,h,i,n,m&65535|(b|o+120)<<16,0,0,0,1065811968);d=N[j+72>>2];e=N[j+76>>2];h=N[j+64>>2];i=N[j+68>>2];break a}d=n;e=m&65535|(b|o)<<16}N[a>>2]=h;N[a+4>>2]=i;N[a+8>>2]=d;N[a+12>>2]=e;La=j+128|0}function Vl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=La-16|0;La=h;a:{b:{m=N[a+204>>2];c:{if(m>>>0<2){break c}k=N[a+172>>2];i=N[a+168>>2];o=N[a+20>>2];p=N[a+16>>2];j=a+8|0;q=N[j>>2];e=q;d:{e:{n=N[a+12>>2];f=n;if(f-18>>>0<=14){c=p;b=n;d=o;while(1){if(!d){break e}e=e>>>8|0;N[a+8>>2]=e;g=O[c|0];d=d-1|0;N[a+20>>2]=d;f=b-8|0;N[a+12>>2]=f;c=c+1|0;N[a+16>>2]=c;e=e|g<<24;N[a+8>>2]=e;g=b-26|0;b=f;if(g>>>0<15){continue}break}}c=e>>>f|0;d=i+((c&255)<<2)|0;b=O[d|0];if(b>>>0>=9){f=f+8|0;d=(P[d+2>>1]+(N[(b<<2)+169360>>2]&c>>>8&127)<<2)+d|0;b=O[d|0]}N[a+12>>2]=(b&255)+f;N[h+8>>2]=P[d+2>>1];break d}if(!Jc(i,j,h+8|0)){break c}}f:{g:{if(!N[a+556>>2]){h:{b=N[a+12>>2];i:{if(b-18>>>0>=15){e=N[j>>2];break i}d=N[a+20>>2];c=b;while(1){if(!d){break h}e=N[a+8>>2]>>>8|0;N[a+8>>2]=e;g=N[a+16>>2];f=O[g|0];d=d-1|0;N[a+20>>2]=d;b=c-8|0;N[a+12>>2]=b;N[a+16>>2]=g+1;e=e|f<<24;N[a+8>>2]=e;f=c-26|0;c=b;if(f>>>0<15){continue}break}}f=e>>>b|0;d=k+((f&255)<<2)|0;c=O[d|0];if(c>>>0>=9){d=(P[d+2>>1]+(N[(c<<2)+169360>>2]&f>>>8&127)<<2)+d|0;c=O[d|0];b=b+8|0}N[a+12>>2]=b+(c&255);f=P[d+2>>1];break g}if(!Jc(k,j,h+12|0)){break f}f=N[h+12>>2];break g}f=N[a+188>>2]}c=f<<2;k=P[c+169280>>1];l=O[c+169282|0];b=N[a+12>>2];if(l>>>0<=32-b>>>0){e=N[j>>2];break b}d=N[a+20>>2];c=b;while(1){if(d){i=N[a+8>>2]>>>8|0;N[a+8>>2]=i;e=N[a+16>>2];g=O[e|0];d=d-1|0;N[a+20>>2]=d;b=c-8|0;N[a+12>>2]=b;N[a+16>>2]=e+1;e=i|g<<24;N[a+8>>2]=e;g=40-c|0;c=b;if(g>>>0>>0){continue}break b}break}N[a+188>>2]=f}N[a+20>>2]=o;N[a+16>>2]=p;N[a+8>>2]=q;N[a+556>>2]=0;N[a+12>>2]=n}a=0;break a}N[a+556>>2]=0;N[a+12>>2]=b+l;N[a+192>>2]=k+(N[(l<<2)+169392>>2]&e>>>b);j:{k:{l:{m:{b=N[h+8>>2];switch(b|0){case 1:break k;case 0:break m;default:break l}}b=N[a+216>>2];break j}b=b-2|0;break j}b=N[a+220>>2]+1|0}N[a+216>>2]=N[a+220>>2];c=b-(b>>>0>=m>>>0?m:0)|0;N[a+220>>2]=c;b=N[a+576>>2]+(c<<6)|0;N[a+112>>2]=b;N[a+176>>2]=N[((c>>>3&536870908)+a|0)+592>>2]>>>c&1;N[a+256>>2]=N[N[a+120>>2]+(O[b|0]<<2)>>2];N[a+108>>2]=((O[c+N[a+580>>2]|0]&3)<<9)+169536;a=1}La=h+16|0;return a}function ph(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=N[b+4>>2];a:{if(n>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break a}g=N[b+12>>2];c=g-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8;l=(c<<8|c>>>8)&65535;if(l>>>0<4){break a}c=a+2|0;if(c>>>0>f>>>0|f-c>>>0<2){break a}c=g-10|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break a}e=g-14|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=c+2|0;if(e>>>0>f>>>0|f-e>>>0<2){break a}d=g-16|0;N[b+12>>2]=d;if((d|0)<=0){break a}g=O[e|0]|O[e+1|0]<<8;if(g){c=c+4|0;if(c>>>0>f>>>0){break a}e=f-c|0;c=(g<<8|g>>>8)&65535;if(e>>>0>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break a}}c=O[a+6|0]|O[a+7|0]<<8;o=((c<<8|c>>>8)&65535)+a|0;s=f-o|0;c=a;a=O[a+4|0]|O[a+5|0]<<8;q=(a<<8|a>>>8)&65535;j=c+q|0;t=f-j|0;a=0;g=0;while(1){b:{if(!(a&1)){c=g;break b}h=0;UE(k,0,l,0);if(Pa){break a}e=T(k,l);p=e+j|0;if(e){if(f>>>0

>>0|n>>>0>p>>>0|f-p>>>0<0-e>>>0){break a}d=d+e|0;N[b+12>>2]=d;if((d|0)<=0){break a}}d=(k-r|0)+d|0;N[b+12>>2]=d;if((d|0)<=0|(e|0)>0){break a}a=j;c=g;if((e|0)<0){while(1){a=a-1|0;e=O[a|0]+1|0;c=c>>>0>e>>>0?c:e;if(a>>>0>p>>>0){continue}break}}r=k}c:{d:{e:{if((i|0)<=(m|0)){h=0;if(j>>>0>>0|f>>>0>>0){break a}e=m+1|0;a=T(e,l);if(a>>>0>t>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=d+((m^-1)+i|0)|0;N[b+12>>2]=d;if((a|0)<0|(d|0)<=0){break a}i=T(i,l);if((i|0)<(a|0)){break e}i=e}if(c){break d}c=0;break c}h=a+j|0;a=i+j|0;while(1){i=O[a|0]+1|0;c=c>>>0>i>>>0?c:i;a=a+1|0;if(h>>>0>a>>>0){continue}break}i=e}h=0;if(f>>>0>>0|n>>>0>o>>>0){break a}a=c<<2;if(a>>>0>s>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}}d=(g-c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}if((c|0)>(g|0)){e=(c<<2)+o|0;h=(g<<2)+o|0;while(1){a=O[h|0]|O[h+1|0]<<8;a=(((a<<8|a>>>8)&65535)-q|0)/(l|0)|0;m=(a|0)<(m|0)?m:a;k=(a|0)>(k|0)?k:a;h=h+4|0;if(e>>>0>h>>>0){continue}break}}g=c;a=(k|0)<(r|0);if(a){continue}h=1;if((i|0)<=(m|0)){continue}break}}return h}function xp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=N[a+12>>2];a:{b:{c:{d:{if((g|0)<=11){e=N[a+20>>2];if(e){break d}N[a+16>>2]=12;e=a+820|0;N[a+20>>2]=e;break d}j=N[a+16>>2];if((j|0)>(g|0)){e=N[a+20>>2];h=e+T(g,44)|0;break c}g=64;if((j|0)>48806445){break a}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if((j|0)<-16){break p}i=((j>>2)+j|0)+4|0;if((i|0)>48806446){break p}l=a+20|0;k=N[a+20>>2];if((k|0)==(a+820|0)){break o}if((i|j)>=0){break n}g=k;break l}l=a+20|0;g=N[a+20>>2];k=a+820|0;if((g|0)!=(k|0)){break m}i=48806446;break i}if((i|0)<0){N[a+20>>2]=0;N[f>>2]=0;return 6}if(i){break i}i=0;break h}if(i){g=k;break j}if(!k){break k}Qa[N[e+8>>2]](e,k);break k}i=48806446;if((j|0)>=0){break j}}N[l>>2]=g;N[f>>2]=0;return 6}i=0;N[a+20>>2]=0;break e}q:{if(!j){e=Qa[N[e+4>>2]](e,T(i,44))|0;g=!e<<6;break q}k=Qa[N[e+12>>2]](e,T(j,44),T(i,44),g)|0;e=k?k:g;g=!k<<6}if(!(g|(i|0)<=(j|0)|!e)){C(T(j,44)+e|0,0,T(i-j|0,44));N[l>>2]=e;break e}N[l>>2]=e;if(g){break a}break e}g=T(i,44);h=Qa[N[e+4>>2]](e,g)|0;if(!h|(i|0)<=0){break g}C(h,0,g)}N[l>>2]=h;break f}N[l>>2]=h;if(h){break f}N[f>>2]=0;return!h<<6}F(h,k,528)}N[a+16>>2]=i;e=N[a+20>>2];g=N[a+12>>2]}h=T(g,44)+e|0;if((g|0)<=0){break b}}if(!d){g=h;while(1){h=g-44|0;d=M[h>>1];if((d|0)<(b|0)){h=g;break b}if(!((b|0)!=(d|0)|N[a+24>>2]!=(c|0))){h=g;break b}d=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=d;N[g+40>>2]=N[h+40>>2];d=N[h+36>>2];N[g+32>>2]=N[h+32>>2];N[g+36>>2]=d;d=N[h+28>>2];N[g+24>>2]=N[h+24>>2];N[g+28>>2]=d;d=N[h+20>>2];N[g+16>>2]=N[h+16>>2];N[g+20>>2]=d;d=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}break b}g=h;while(1){h=g-44|0;d=M[h>>1];if((d|0)>(b|0)){h=g;break b}if(!((b|0)!=(d|0)|N[a+24>>2]!=(c|0))){h=g;break b}d=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=d;N[g+40>>2]=N[h+40>>2];d=N[h+36>>2];N[g+32>>2]=N[h+32>>2];N[g+36>>2]=d;d=N[h+28>>2];N[g+24>>2]=N[h+24>>2];N[g+28>>2]=d;d=N[h+20>>2];N[g+16>>2]=N[h+16>>2];N[g+20>>2]=d;d=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}}N[a+12>>2]=N[a+12>>2]+1;g=0}N[f>>2]=h;return g}function Yh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;d=La-48|0;La=d;a:{b:{if(!a){break b}if(!b){e=6;break a}if(M[a>>1]<=0){break a}i=N[b+20>>2];j=N[b+16>>2];while(1){n=M[N[a+12>>2]+(q<<1)>>1];if((n|0)<0){break b}h=N[a+4>>2];f=h+(g<<3)|0;k=N[f>>2];e=N[f+4>>2];N[d+32>>2]=(k<>2]=m;l=h+(n<<3)|0;k=N[l>>2];o=N[l+4>>2];p=N[d+36>>2];e=N[d+32>>2];N[d+40>>2]=e;N[d+44>>2]=p;c:{d:{p=N[a+8>>2];h=p+g|0;switch(O[h|0]&3){case 2:break b;case 0:break d;default:break c}}g=(o<>2]=g;N[d+32>>2]=k;h=h-1|0;f=f-8|0}e=Qa[N[b>>2]](d+32|0,c)|0;if(e){break a}f:{if(f>>>0>>0){while(1){k=h+1|0;g=f+8|0;g:{h:{i:{switch(O[h+1|0]&3){case 1:N[d+24>>2]=(N[f+8>>2]<>2]=(N[f+12>>2]<>2]](d+24|0,c)|0;if(e){break a}break g;case 0:h=(N[f+8>>2]<>2]=h;f=(N[f+12>>2]<>2]=f;if(g>>>0>>0){while(1){e=O[k+1|0];m=(N[g+8>>2]<>2]=m;o=(N[g+12>>2]<>2]=o;k=k+1|0;g=g+8|0;j:{e=e&3;k:{if(e){if((e|0)!=1){g=7;e=0;break h}e=Qa[N[b+8>>2]](d+40|0,d+24|0,c)|0;if(e){break k}f=g;h=k;break g}N[d+20>>2]=(f+o|0)/2;N[d+16>>2]=(h+m|0)/2;e=Qa[N[b+8>>2]](d+40|0,d+16|0,c)|0;if(!e){break j}}g=10;break h}f=N[d+28>>2];h=N[d+24>>2];N[d+40>>2]=h;N[d+44>>2]=f;if(g>>>0>>0){continue}break}}e=Qa[N[b+8>>2]](d+40|0,d+32|0,c)|0;break f;default:break i}}g=7;e=0;if((O[h+2|0]&3)!=2|f+16>>>0>l>>>0){break h}N[d+24>>2]=(N[f+8>>2]<>2]=(N[f+12>>2]<>2]=(N[f+16>>2]<>2]=(N[f+20>>2]<>>0<=l>>>0){N[d+8>>2]=(N[f+24>>2]<>2]=(N[f+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(e){g=10;break h}h=h+3|0;f=g;break g}e=Qa[N[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break f}if((g|0)!=7){break a}break b}if(f>>>0>>0){continue}break}}e=Qa[N[b+4>>2]](d+32|0,c)|0}if(e){break a}g=n+1|0;e=0;q=q+1|0;if((q|0)>1]){continue}break}break a}e=20}La=d+48|0;return e|0}function gC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;f=La-16|0;La=f;a:{if(N[a+4>>2]){break a}d=6;b:{if(N[a+12>>2]!=1){break b}m=(b|0)!=0;b=(T(m,36)+a|0)+16|0;e=N[c>>2];d=((e>>31)+e|0)+32768>>16;e=N[c+4>>2];j=N[a>>2];d=of(b,d,((e>>31)+e|0)+32768>>16,j,f);if(d){break b}e=N[c+8>>2];d=((e>>31)+e|0)+32768>>16;e=N[c+12>>2];d=of(b,d,((e>>31)+e|0)+32768>>16,j,f+4|0);if(d){break b}e=b;b=N[c+16>>2];d=((b>>31)+b|0)+32768>>16;b=N[c+20>>2];d=of(e,d,((b>>31)+b|0)+32768>>16,j,f+8|0);if(d){break b}g=N[f+8>>2];h=N[f+4>>2];i=N[f>>2];k=T(m,36)+a|0;e=N[k+40>>2];c:{if(e){l=g>>3;n=h>>3;o=i>>3;p=128>>>(g&7)|0;q=128>>>(h&7)|0;r=128>>>(i&7)|0;c=N[k+48>>2];b=e;while(1){d=N[c>>2];if((O[N[c+8>>2]+o|0]&r?i>>>0>>0:0)|(O[N[c+8>>2]+n|0]&q?d>>>0>h>>>0:0)|(O[l+N[c+8>>2]|0]&p?d>>>0>g>>>0:0)){break c}c=c+16|0;b=b-1|0;if(b){continue}break}}l=e+1|0;b=N[k+44>>2];d:{if(l>>>0<=b>>>0){b=N[(T(m,36)+a|0)+48>>2];break d}N[f+12>>2]=0;c=(e&-8)+8|0;d=T(m,36)+a|0;b=lb(j,16,b,c,N[d+48>>2],f+12|0);N[d+48>>2]=b;d=N[f+12>>2];if(d){break b}N[k+44>>2]=c}d=0;c=((l<<4)+b|0)-16|0;N[c>>2]=0;N[((e<<4)+b|0)+12>>2]=0;N[k+40>>2]=l}if((i|0)>=0){if(d>>>0<=i>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=i+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=i+1}b=N[c+8>>2]+(i>>>3|0)|0;L[b|0]=O[b|0]|128>>>(i&7)}e:{if((h|0)>=0){if(Q[c>>2]<=h>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=h+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=h+1}b=N[c+8>>2]+(h>>>3|0)|0;L[b|0]=O[b|0]|128>>>(h&7);if((g|0)>=0){break e}break a}if((g|0)<0){break a}}if(Q[c>>2]<=g>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=g+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=g+1}a=N[c+8>>2]+(g>>>3|0)|0;L[a|0]=O[a|0]|128>>>(g&7);break a}N[a+4>>2]=d}La=f+16|0}function _f(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=La-16|0;La=h;f=N[a+100>>2];N[h+12>>2]=0;a:{b:{c:{d:{e=N[a+532>>2];if(!e){e=Qa[N[f+4>>2]](f,420)|0;if(!e){break d}C(e,0,420);N[h+12>>2]=0;N[e+416>>2]=0;N[a+532>>2]=e}e:{f:{if(!b){break f}d=N[e>>2];if(!d){if((b|0)<0){d=6;break b}d=10;if((b|0)>67108863){break b}i=b<<5;d=Qa[N[f+4>>2]](f,i)|0;g:{if(!(!d|(b|0)<=0)){C(d,0,i);i=e+148|0;N[i>>2]=d;break g}j=!d;N[h+12>>2]=j<<6;i=e+148|0;N[i>>2]=d;if(j){break a}}if((b|0)>=10956550){N[h+12>>2]=10;N[e+216>>2]=0;break a}j=T(b,196);d=Qa[N[f+4>>2]](f,j)|0;h:{if(!(!d|(b|0)<=0)){C(d,0,j);j=e+216|0;N[j>>2]=d;break h}g=!d;N[h+12>>2]=g<<6;j=e+216|0;N[j>>2]=d;if(g){break a}}g=b<<4;d=Qa[N[f+4>>2]](f,g)|0;i:{if(!(!d|(b|0)<=0)){C(d,0,g);N[h+12>>2]=0;g=e+288|0;N[g>>2]=d;break i}k=!d;N[h+12>>2]=k<<6;g=e+288|0;N[g>>2]=d;if(k){break a}}d=lb(f,4,0,b<<1,0,h+12|0);N[e+136>>2]=d;if(N[h+12>>2]){break a}N[e+284>>2]=a+464;N[e+212>>2]=a+168;N[e+144>>2]=a+132;N[e+140>>2]=d+(b<<2);if(b>>>0>=2){g=N[g>>2];j=N[j>>2];i=N[i>>2];a=2;while(1){d=(a<<2)+e|0;g=g+16|0;N[d+284>>2]=g;j=j+196|0;N[d+212>>2]=j;i=i+32|0;N[d+144>>2]=i;a=a+1|0;if(b>>>0>=a>>>0){continue}break}}N[e>>2]=b;break f}if((b|0)!=(d|0)){break e}}a=N[e+4>>2];j:{if(!c){c=a;break j}if((a|0)!=(c|0)?a:0){break e}N[e+4>>2]=c}d=N[e>>2];if(N[e+24>>2]|(!d|!c)){break a}b=0;a=T(c,d);if((a|0)<0){b=6;break c}k:{if(!a){f=0;break k}b=10;if((a|0)>536870911){break c}i=a<<2;b=Qa[N[f+4>>2]](f,i)|0;f=!b<<6;if(!b|(a|0)<=0){break k}f=0;C(b,0,i)}N[h+12>>2]=f;N[e+24>>2]=b;if(d>>>0<2|f){break a}f=d-1|0;i=f&3;a=1;if(d-2>>>0>=3){j=f&-4;d=0;f=e+24|0;while(1){N[f+(a<<2)>>2]=(T(a,c)<<2)+b;g=a+1|0;N[f+(g<<2)>>2]=(T(c,g)<<2)+b;g=a+2|0;N[f+(g<<2)>>2]=(T(c,g)<<2)+b;g=a+3|0;N[f+(g<<2)>>2]=(T(c,g)<<2)+b;a=a+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}}if(!i){break a}f=0;while(1){N[((a<<2)+e|0)+24>>2]=(T(a,c)<<2)+b;a=a+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}break a}N[h+12>>2]=3;break a}N[h+12>>2]=64;break a}N[h+12>>2]=b;N[e+24>>2]=0;break a}N[h+12>>2]=d;N[e+148>>2]=0}La=h+16|0;return N[h+12>>2]}function vm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;m=N[a+4>>2];j=N[m+8>>2];e=3;a:{b:{if(d?0:c){break b}L[a|0]=0;if(Q[m+3112>>2]<=b>>>0|(P[m+3120>>1]!=(c|0)?c:0)){break b}i=N[a+20>>2];g=N[m+3116>>2];o=N[g+(b<<3)>>2];f=o+1|0;if((i|f)<0){return 6}h=N[a+24>>2];c:{d:{if(!f){if(h){Qa[N[j+8>>2]](j,h)}N[a+20>>2]=f;N[a+24>>2]=0;break d}e=10;if((f|0)>536870911){break b}e:{if(!i){h=Qa[N[j+4>>2]](j,f<<2)|0;e=!h<<6;break e}e=Qa[N[j+12>>2]](j,i<<2,f<<2,h)|0;h=e?e:h;e=!e<<6}f:{if(h?e|(f|0)<=(i|0):1){N[a+24>>2]=h;if(e){break b}N[a+20>>2]=f;break f}C((i<<2)+h|0,0,f-i<<2);N[a+20>>2]=f;N[a+24>>2]=h}r=g+(b<<3)|0;if(c){i=0;while(1){g:{if(!i){N[h>>2]=65536;break g}q=i<<2;e=N[(q+N[r+4>>2]|0)-4>>2];if(e>>>0>=Q[m+3124>>2]){return 3}f=N[m+3128>>2];N[h+q>>2]=65536;s=N[f+(e<<2)>>2];n=0;while(1){e=65536;g=T(n,12)+s|0;f=N[g+4>>2];k=N[g>>2];h:{if((f|0)<(k|0)){break h}l=N[g+8>>2];if(!f|(l|0)<(f|0)|(k|0)<0&(l|0)>0){break h}e=0;g=N[(n<<2)+d>>2];if((g|0)<(k|0)|(g|0)>(l|0)){break h}e=65536;if((f|0)==(g|0)){break h}if((f|0)>(g|0)){e=fb(g-k|0,f-k|0);break h}e=fb(l-g|0,l-f|0)}l=h+q|0;k=N[l>>2];g=k>>31;g=(g^k)-g|0;f=e>>31;f=(f^e)-f|0;i:{if(g+(f>>>8|0)>>>0<=8190){g=T(f,g)+32768>>>16|0;break i}p=g&65535;g=T(p,f>>>16|0)+T(f,g>>>16|0)+(T(f&65535,p)+32768>>>16)|0}f=g;p=0-f|0;f=k>>31|1;N[l>>2]=(((e|0)<0?0-f|0:f)|0)<0?p:g;n=n+1|0;if((n|0)!=(c|0)){continue}break}}e=(i|0)!=(o|0);i=i+1|0;if(e){continue}break}break d}N[h>>2]=65536;if(!o){N[a+8>>2]=b;break c}f=N[r+4>>2];e=1;while(1){i=e<<2;if(Q[(i+f|0)-4>>2]>=Q[m+3124>>2]){return 3}N[h+i>>2]=0;i=(e|0)==(o|0);e=e+1|0;if(!i){continue}break}}N[a+8>>2]=b;if(!c){break c}e=N[a+16>>2];h=N[a+12>>2];if((h|c)<0){b=6;break a}b=10;if((c|0)>536870911){break a}j:{if(!h){b=Qa[N[j+4>>2]](j,c<<2)|0;e=!b<<6;break j}j=Qa[N[j+12>>2]](j,h<<2,c<<2,e)|0;b=j?j:e;e=!j<<6}k:{if(!(e|(c|0)<=(h|0)|!b)){C((h<<2)+b|0,0,c-h<<2);N[a+16>>2]=b;break k}N[a+16>>2]=b;if(e){break b}}F(b,d,c<<2)}L[a|0]=1;N[a+12>>2]=c;e=0}return e|0}N[a+16>>2]=e;return b|0}function Ob(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{b:{c:{d:{e:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;h=(c<<8|c>>>8)&65535;a=a+4|0;c=!c|!O[b+12|0];if(!O[b+48|0]){break c}if(c){return 1}N[b+16>>2]=-1;o=N[b+28>>2];m=o-1|0;p=N[b+44>>2];f=N[b+20>>2];l=N[b+32>>2];q=(o|0)<=0;c=O[a|0]|O[a+1|0]<<8;c=(c<<8|c>>>8)&65535;d=c;while(1){f:{i=d>>>9|0;g:{if(!((i|0)!=N[(f<<3)+l>>2]|f>>>0>=o>>>0)){e=f;break g}j=0;g=m;h:{if(!q){while(1){e=g+j>>>1|0;n=N[(e<<3)+l>>2];i:{if((n|0)>(i|0)){g=e-1|0;break i}if((i|0)==(n|0)){break h}j=e+1|0}if((g|0)>=(j|0)){continue}break}}j=(d&-512)+512|0;break f}N[b+20>>2]=e}j=(d&-512)+512|0;if(!p){f=e;break f}n=(N[((e<<3)+l|0)+4>>2]<<6)+p|0;while(1){f=d;d=c>>>0<=d>>>0;if(c>>>0>f>>>0){break a}c=n+(f>>>3&56)|0;r=N[c+4>>2];i=f&63;g=i&31;if((i&63)>>>0>=32){i=1<>>32-g}N[c>>2]=k|N[c>>2];N[c+4>>2]=i|r;h=h-1|0;if(!h){break a}d=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;c=f;d=(d<<8|d>>>8)&65535;if(j>>>0>d>>>0){continue}break}f=e;continue}while(1){e=d;d=e>>>0>=c>>>0;if(c>>>0>e>>>0){break a}h=h-1|0;if(!h){break a}d=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;c=e;d=(d<<8|d>>>8)&65535;if(j>>>0>d>>>0){continue}break}continue}}d=1;c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}a=a+4|0;g=a+T((c<<8|c>>>8)&65535,6)|0;c=b+12|0;while(1){e=O[a+2|0]|O[a+3|0]<<8;e=(e<<8|e>>>8)&65535;f=O[a|0]|O[a+1|0]<<8;f=(f<<8|f>>>8)&65535;j:{if(O[b+48|0]){rd(c,f,e);break j}if(!Me(c,f,e)){break b}}a=a+6|0;if((g|0)!=(a|0)){continue}break}break a}if(c){return 1}g=b+12|0;N[b+16>>2]=-1;b=O[a|0]|O[a+1|0]<<8;c=(b<<8|b>>>8)&65535;d=c;while(1){m=wc(g,d);if(!m){break b}j=(d&65024)+512|0;b=c;while(1){c=d;d=c>>>0>=b>>>0;if(b>>>0>c>>>0){break a}b=m+(c>>>3&56)|0;l=N[b+4>>2];f=c&63;e=f&31;if((f&63)>>>0>=32){f=1<>>32-e}N[b>>2]=k|N[b>>2];N[b+4>>2]=f|l;h=h-1|0;if(!h){break a}e=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;b=c;d=(e<<8|e>>>8)&65535;if(j>>>0>d>>>0){continue}break}continue}}d=0}return d}function lk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=La-1136|0;La=e;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;h=(c<<8|c>>>8)&65535;switch(h|0){case 0:break c;case 1:break d;default:break b}}c=N[b+96>>2];if(N[c+156>>2]){zc(c);c=N[b+88>>2];d=N[b+96>>2];N[e+64>>2]=N[d+64>>2];ib(d,c,23278,e- -64|0)}a=O[a+2|0]|O[a+3|0]<<8;Oe(b,(a<<8|a>>>8)&65535);a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[e+48>>2]=N[a+64>>2]-1;ib(a,b,23455,e+48|0);break a}a=N[b+96>>2];if(N[a+156>>2]){zc(a);a=N[b+88>>2];c=N[b+96>>2];N[e+96>>2]=N[c+64>>2];ib(c,a,23233,e+96|0);a=N[b+96>>2]}g=N[a+80>>2];d=N[a+64>>2];h=N[(g+T(d,20)|0)+8>>2];f=d+1|0;e:{f:{g:{if(f>>>0>2]){if((h|0)==N[(g+T(f,20)|0)+8>>2]){break f}c=N[a+72>>2];if(c){break g}Ib(a,d,d+2|0);N[a+64>>2]=N[a+64>>2]+1;break e}c=N[a+72>>2];if(!c){break f}}i=N[a+84>>2];j=N[(i+T(c,20)|0)-12>>2];if(h>>>0>=j>>>0){break f}g=N[(g+T(d,20)|0)+4>>2]&7;while(1){c=c-1|0;d=T(c,20)+i|0;if(N[d+8>>2]!=(j|0)){break f}N[d+4>>2]=g|N[d+4>>2]&-8;N[d+8>>2]=h;if(c){continue}break}}N[a+64>>2]=f}a=N[b+96>>2];if(!N[a+156>>2]){break a}zc(a);a=N[b+88>>2];b=N[b+96>>2];N[e+80>>2]=N[b+64>>2];ib(b,a,23324,e+80|0);break a}d=N[b+96>>2];if(N[d+156>>2]){zc(d);d=N[b+88>>2];g=N[b+96>>2];N[e+32>>2]=N[g+64>>2];ib(g,d,17378,e+32|0);d=N[b+96>>2]}h:{if(!c){break h}f=N[d+80>>2]+T(N[d+64>>2],20)|0;d=P[f+12>>1]>>>1&2;g=h>>>0<=1?1:h;c=0;if(O[f+14|0]<=31){while(1){f=N[b+96>>2];L[(N[f+80>>2]+T(N[f+64>>2],20)|0)+14|0]=c&15;f=(c<<1)+a|0;f=O[f+2|0]|O[f+3|0]<<8;hk(b,(f<<8|f>>>8)&65535,d);c=c+1|0;if((g|0)!=(c|0)){continue}break h}}while(1){f=(c<<1)+a|0;f=O[f+2|0]|O[f+3|0]<<8;hk(b,(f<<8|f>>>8)&65535,d);c=c+1|0;if((g|0)!=(c|0)){continue}break}}a=N[b+96>>2];N[a+64>>2]=N[a+64>>2]+1;if(!N[a+156>>2]){break a}zc(a);C(e+112|0,0,1024);d=N[b+96>>2];c=N[d+64>>2];a=c-h|0;if(a>>>0>>0){h=e+1136|0;c=e+112|0;while(1){if(e+112>>>0>>0){L[c|0]=44;c=c+1|0}N[e+16>>2]=a;Ne(c,h-c|0,8356,e+16|0);c=nb(c)+c|0;a=a+1|0;d=N[b+96>>2];if(a>>>0>2]){continue}break}}a=N[b+88>>2];N[e>>2]=e+112;ib(d,a,11480,e)}La=e+1136|0}function kt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=N[a+804>>2];a:{b:{if(e){f=6;if(Q[a+28>>2]<=b>>>0){break a}b=N[e+(b<<2)>>2];break b}f=6;if(Q[a+800>>2]<=b>>>0){break a}}f=2;c:{d:{switch(N[a+796>>2]-1|0){case 0:case 1:g=N[a+788>>2]+T(b,48)|0;d=O[g+52|0];M[c>>1]=d;e=O[g+53|0];M[c+2>>1]=e;j=L[g+24|0];b=j<<6;N[c+12>>2]=b;i=L[g+25|0];f=i<<6;N[c+16>>2]=f;h=L[g+33|0];e:{f:{if((i|0)>0){if((h|0)>=0){break e}f=0-f|0;break f}if(i|j){break e}b=L[g+32|0];if(b|h){b=b<<6;N[c+12>>2]=b;f=h<<6;break f}b=e<<6;N[c+12>>2]=b;f=0}N[c+16>>2]=f}N[c+20>>2]=b-f;if((b|0)==(f|0)){b=e<<6;N[c+20>>2]=b;N[c+16>>2]=f-b}N[c+24>>2]=L[g+31|0]+(O[g+26|0]+L[g+30|0]|0)<<6;b=P[a+178>>1];break c;case 2:break d;default:break a}}f=3;b=N[a+788>>2]+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(Q[a+864>>2]>>0){break a}b=b+N[a+860>>2]|0;g:{h:{i:{j:{d=N[a+104>>2];e=N[d+20>>2];k:{if(e){f=85;if(Qa[e|0](d,b,0,0)|0){break a}N[d+8>>2]=b;e=N[d+4>>2];if(!N[d+20>>2]){break k}if(e>>>0<4){break a}b=N[d+28>>2];e=Qa[N[b+4>>2]](b,4)|0;if(!e){break j}N[d>>2]=e;g=Qa[N[d+20>>2]](d,N[d+8>>2],e,4)|0;e=N[d>>2];if(g>>>0<=3){break i}f=0;break h}f=85;e=N[d+4>>2];if(b>>>0>e>>>0){break a}N[d+8>>2]=b}if(e-b>>>0<4|b>>>0>=e>>>0){break a}N[d+8>>2]=b+4;e=N[d>>2];b=b+e|0;N[d+32>>2]=b;h=b+4|0;N[d+36>>2]=h;break g}N[d>>2]=0;return 64}if(e){Qa[N[b+8>>2]](b,e)}e=0;N[d>>2]=0;f=85}N[d+32>>2]=e;h=e?e+4|0:0;N[d+36>>2]=h;N[d+8>>2]=g+N[d+8>>2];b=e;if(g>>>0<4){break a}}f=0;if(b+1>>>0>>0){f=O[b|0]|O[b+1|0]<<8;f=f<<8|f>>>8;b=b+2|0}N[d+32>>2]=((b+1>>>0>>0)<<1)+b;if(N[d+20>>2]){if(e){b=N[d+28>>2];Qa[N[b+8>>2]](b,e)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0;b=P[a+178>>1];M[c+2>>1]=f;M[c>>1]=f;d=M[a+220>>1];e=f&65535;f=e<<6;k=c,l=jb(d,f,b),N[k+12>>2]=l;g=M[a+222>>1];k=c,l=jb(g,f,b),N[k+16>>2]=l;k=c,l=jb(M[a+224>>1]+(d-g|0)|0,f,b),N[k+20>>2]=l;k=c,l=jb(P[a+226>>1],f,b),N[k+24>>2]=l;d=e}k=c,l=jb(d,4194304,b),N[k+4>>2]=l;k=c,l=jb(e,4194304,b),N[k+8>>2]=l;f=0}return f|0}function Mo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{h=L[a|0];if((h|0)!=117){break b}c:{d=O[a+1|0];if((d|0)!=110|O[a+2|0]!=105){break c}b=O[a+3|0];c=b-48|0;e=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(e>>>0>15){break c}b=O[a+4|0];c=b-48|0;g=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(g>>>0>15){break c}b=O[a+5|0];c=b-48|0;i=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(i>>>0>15){break c}b=O[a+6|0];c=b-48|0;b=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(b>>>0>15){break c}b=b+(i+((e<<8)+(g<<4)|0)<<4)|0;c=O[a+7|0];if(!c){break a}if((c|0)!=46){break c}return b|-2147483648}b=d-71>>>0<4294967290?16:d-55|0;d=d-48|0;c=d>>>0>9?b:d;if(c>>>0>15){break b}d=O[a+2|0];b=d-48|0;e=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(e>>>0>15){break b}d=O[a+3|0];b=d-48|0;g=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(g>>>0>15){break b}d=O[a+4|0];b=d-48|0;d=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(d>>>0>15){break b}b=d+(g+((c<<8)+(e<<4)|0)<<4)|0;d=O[a+5|0];c=d-48|0;c=c>>>0>9?d-71>>>0<4294967290?16:d-55|0:c;d:{if(c>>>0>15){break d}b=c+(b<<4)|0;d=O[a+6|0];c=d-48|0;c=c>>>0>9?d-71>>>0<4294967290?16:d-55|0:c;if(c>>>0>15){break d}b=c+(b<<4)|0;d=O[a+7|0]}d=d&255;if(!d){break a}if((d|0)!=46){break b}return b|-2147483648}d=h;while(1){b=d&255;if(!(!b|(b|0)==46)){f=f+1|0;d=O[f+a|0];continue}break}if(!f){return 0}i=a+f|0;g=a+1|0;b=0;a=52;e:{f:{while(1){j=a+b|0;c=j&-2;c=(O[c+300610|0]<<8|O[c+300611|0])+300608|0;e=O[c|0];k=e&127;if((h|0)==(k|0)){break f}c=j>>1;e=(h|0)>(k|0);b=e?c+1|0:b;a=e?a:c;if((b|0)<(a|0)){continue}break}a=0;break e}if(f>>>0>1){while(1){a=O[c+1|0];b=a&127;f=e<<24>>24;h=O[g|0];e=a<<24>>24;g:{h:{if((f|0)<0){if((b|0)!=(h|0)){break h}c=c+1|0;break g}a=0;if(!b){break e}f=(((e|0)>=0?1:3)+c|0)+1|0;while(1){c=(O[f+1|0]|O[f|0]<<8)+300608|0;e=O[c|0];if((h|0)==(e&127)){break g}f=f+2|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}break e}a=0;break e}g=g+1|0;if((i|0)!=(g|0)){continue}break}}a=0;if(e<<24>>24<0|L[c+1|0]>=0){break e}a=O[c+3|0]|O[c+2|0]<<8}b=(d&255)==46?a|-2147483648:a}return b|0}function zm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;N[a+12>>2]=b;N[a+8>>2]=c;N[a+4>>2]=b;N[a+20>>2]=N[a+16>>2];a:{while(1){if(b>>>0>=c>>>0){break a}k=N[a+20>>2];i=N[a+16>>2];l=k-i>>2;e=N[a+24>>2];g=O[b|0];b:{c:{if(!((g|0)==31|(g-27&255)>>>0>227)){d=4;if(e>>>0<=l>>>0){break b}N[a+20>>2]=k+4;N[k>>2]=b;d:{switch(g-28|0){case 2:while(1){b=b+1|0;if(c>>>0<=b>>>0){b=c;d=7;break b}e=O[b|0];if((e&240)==240){break c}if((e&15)!=15){continue}break};break c;case 0:b=b+2|0;break c;case 1:b=b+4|0;break c;default:break d}}b=(g>>>0>246)+b|0;break c}d=4;if(e>>>0<=l>>>0){break b}N[k>>2]=b;if((g|0)==12){b=b+1|0;d=8;if(c>>>0<=b>>>0){break b}g=O[b|0]|256}e=31312;h=4;f=N[a+28>>2]|g;e:{f:{if((f|0)==4096){break f}g:{while(1){h:{i:{j:{d=e;if((f|0)!=N[d+32>>2]){if((f|0)==N[d+60>>2]){break i}if((f|0)==N[d+88>>2]){break g}h=N[d+112>>2];if(!h){break e}e=d+112|0;if((f|0)==N[d+116>>2]){break f}if((f|0)!=N[d+144>>2]){break j}}e=e+28|0;h=N[e>>2];break f}if((f|0)!=N[d+172>>2]){break h}d=e}e=d+56|0;h=N[e>>2];break f}if((f|0)==N[d+200>>2]){break g}e=d+224|0;if((f|0)!=N[d+228>>2]){continue}break}h=N[d+224>>2];break f}e=e+84|0;h=N[e>>2]}f=N[e+8>>2];j=N[a+32>>2];if((i|0)==(k|0)){d=12;if((h|0)!=6){break b}}d=f+j|0;k:{l:{m:{n:{o:{p:{switch(h-1|0){case 0:case 3:case 4:f=Lc(a,N[N[a+16>>2]>>2]);break o;case 1:f=ne(a,N[N[a+16>>2]>>2],0);break o;case 5:break n;case 2:break p;default:break m}}f=ne(a,N[N[a+16>>2]>>2],3)}q:{switch(O[e+12|0]-1|0){case 1:M[d>>1]=f;break e;case 0:break k;default:break q}}N[d>>2]=f;break e}g=N[a+16>>2];f=N[e+20>>2];i=f>>>0>l>>>0?l:f;L[j+N[e+24>>2]|0]=i;if(!i){break e}j=0;while(1){j=Lc(a,N[g>>2])+j|0;r:{s:{t:{u:{f=O[e+12|0];switch(f-1|0){case 1:break t;case 0:break u;default:break s}}L[d|0]=j;break r}M[d>>1]=j;break r}N[d>>2]=j}g=g+4|0;d=d+f|0;i=i-1|0;if(i){continue}break}break l}m=Qa[N[e+16>>2]](a)|0;d=7;if(m){break b}m=0}if((h|0)!=8){break e}break c}L[d|0]=f}N[a+20>>2]=N[a+16>>2]}b=b+1|0;d=0}e=d;if(!e){continue}break}if(ZE(e,30)-1>>>0>2){break a}m=6}return m}function lp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;m=N[a+4>>2];if(m){e=N[a+24>>2]+T(b,204)|0;j=N[e+200>>2];b=j>>31;g=(b^j)-b|0;n=g&65535;o=g>>>16|0;p=g>>>8|0;s=N[e+204>>2];q=N[a+12>>2];while(1){a=N[q+4>>2];a:{if((a|0)<=0){break a}b=N[q>>2];i=b+T(a,40)|0;e=0;a=b;h=0;while(1){f=N[a+16>>2]&32;h=f?h?h:a:h;e=(f>>>5|0)+e|0;a=a+40|0;if(i>>>0>a>>>0){continue}break}a=h;if(e>>>0<=1){if((e|0)==1){d=N[h+36>>2];e=N[h+28>>2];a=e>>31;a=(a^e)-a|0;b:{if(a+p>>>0<=8190){c=T(a,g)+32768>>>16|0;break b}c=a&65535;c=T(c,o)+T(a>>>16|0,g)+(T(c,n)+32768>>>16)|0}a=c;f=0-a|0;a=e>>31|1;s=d+((((j|0)<0?0-a|0:a)|0)<0?c:f)|0}while(1){if((b|0)!=(h|0)){e=N[b+28>>2];a=e>>31;a=(a^e)-a|0;c:{if(a+p>>>0<=8190){c=T(a,g)+32768>>>16|0;break c}f=a&65535;c=T(f,o)+T(a>>>16|0,g)+(T(f,n)+32768>>>16)|0}a=c;d=0-a|0;a=e>>31|1;N[b+36>>2]=((((j|0)<0?0-a|0:a)|0)<0?d:c)+s}b=b+40|0;if(i>>>0>b>>>0){continue}break}break a}while(1){b=a;a=N[a+4>>2];if((h|0)==(a|0)){break a}e=a;if(O[a+16|0]&32){continue}while(1){e=N[e+4>>2];if(!(O[e+16|0]&32)){continue}break}f=N[b+28>>2];c=N[e+28>>2];d:{if((f|0)<=(c|0)){k=c-f|0;i=e;break d}k=f-c|0;i=b;b=e;f=c}i=N[i+36>>2];r=N[b+36>>2];if((k|0)<=0){b=65536}else{b=fb(i-r|0,k)}c=b>>31;l=(b^c)-c|0;u=l&65535;v=l>>>16|0;w=l>>>8|0;while(1){c=N[a+28>>2]-f|0;e:{if((c|0)<=0){d=c>>31;d=(d^c)-d|0;f:{if(d+p>>>0<=8190){d=T(d,g)+32768>>>16|0;break f}t=d&65535;d=T(t,o)+T(d>>>16|0,g)+(T(n,t)+32768>>>16)|0}c=c>>31|1;c=((((j|0)<0?0-c|0:c)|0)<0?0-d|0:d)+r|0;break e}if((c|0)>=(k|0)){c=c-k|0;g:{if(c+p>>>0<=8190){d=T(c,g)+32768>>>16|0;break g}d=c&65535;d=T(d,o)+T(c>>>16|0,g)+(T(d,n)+32768>>>16)|0}c=c>>31|1;c=((((j|0)<0?0-c|0:c)|0)<0?0-d|0:d)+i|0;break e}d=c;c=c>>31;c=(d^c)-c|0;h:{if(c+w>>>0<=8190){c=T(c,l)+32768>>>16|0;break h}d=c&65535;c=T(d,v)+T(c>>>16|0,l)+(T(d,u)+32768>>>16)|0}c=((b|0)<0?0-c|0:c)+r|0}N[a+36>>2]=c;a=N[a+4>>2];if((e|0)!=(a|0)){continue}break}a=e;if((h|0)!=(a|0)){continue}break}}q=q+8|0;m=m-1|0;if(m){continue}break}}}function ep(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=La-784|0;La=i;N[i+24>>2]=N[a+60>>2];j=N[a+64>>2];N[i+20>>2]=c;N[i+28>>2]=j;N[i+16>>2]=b;N[i+12>>2]=e;N[i+8>>2]=d;N[i+4>>2]=g;N[i>>2]=f;c=i;a:{while(1){n=N[c>>2];b:{c:{j=N[c+20>>2];l=N[c+12>>2];f=N[c+28>>2];g=N[c+4>>2];if((((j|0)<(l|0)?j:l)|0)>=(((f|0)<(g|0)?f:g)|0)){k=(f|0)>(g|0);if((((j|0)>(l|0)?j:l)|0)<=((k?f:g)|0)){break c}}b=N[c+24>>2];N[c+48>>2]=b;N[c+52>>2]=f;d=f+j|0;N[c+44>>2]=d>>1;e=g+l|0;N[c+12>>2]=e>>1;f=N[c+8>>2];k=f+n|0;N[c+8>>2]=k>>1;m=b;b=N[c+16>>2];h=m+b|0;N[c+40>>2]=h>>1;m=d;d=j+l|0;j=m+d|0;N[c+36>>2]=j>>2;d=d+e|0;N[c+20>>2]=d>>2;b=b+f|0;e=b+k|0;N[c+16>>2]=e>>2;b=b+h|0;N[c+32>>2]=b>>2;N[c+28>>2]=d+j>>3;N[c+24>>2]=b+e>>3;c=c+24|0;break b}d:{if((f|0)==(g|0)){break d}o=k?2:1;h=N[a+92>>2];if((o|0)!=(h|0)){b=N[a+4>>2];e=k?f&b-1:((b+f|0)-1&0-b)-f|0;d=N[a+36>>2];m=N[a+8>>2];e:{if(!h){b=d;break e}h=N[a+80>>2];b=N[h+8>>2];p=d-b|0;if((p|0)<0){N[a+40>>2]=99;a=1;break a}f:{if((b|0)==(d|0)){b=d;break f}N[h+16>>2]=p>>2;if((e|0)>=(m|0)){b=P[h+12>>1];M[h+12>>1]=(b&8?16:32)|b}N[a+80>>2]=d;b=d+32|0;N[a+36>>2]=b;N[d+8>>2]=b;N[d+16>>2]=0;N[h+28>>2]=d;M[a+76>>1]=P[a+76>>1]+1}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}L[a+79|0]=0}if(!N[a+84>>2]){N[a+84>>2]=b;N[a+80>>2]=b;b=b+32|0;N[a+36>>2]=b}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}d=N[a+80>>2];N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=b;N[d+28>>2]=0;N[d+4>>2]=0;b=O[a+48|0];M[d+12>>1]=b;g:{h:{if(!k){M[d+12>>1]=b|8;h=40;if((e|0)>=(m|0)){break h}break g}h=16;if((e|0)<(m|0)){break g}}M[d+12>>1]=b|h}if(!N[a+88>>2]){N[a+88>>2]=d}M[a+78>>1]=1;N[a+92>>2]=o}b=N[a+72>>2];d=N[a+68>>2];if(!k){if(!yg(a,3,c,354,d,b)){break d}a=1;break a}N[c+28>>2]=0-f;N[c+20>>2]=0-j;N[c+12>>2]=0-l;N[c+4>>2]=0-g;e=O[a+78|0];b=yg(a,3,c,354,0-b|0,0-d|0);if(!(O[a+78|0]|!e)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}N[c+4>>2]=0-N[c+4>>2];if(!b){break d}a=1;break a}c=c-24|0}if(i>>>0<=c>>>0){continue}break}N[a+64>>2]=g;N[a+60>>2]=n;a=0}La=i+784|0;return a}function fB(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-128|0;l=g;k=g>>31;UE(g,k,c,c>>31);g=Pa+262144|0;c=g>>31;m=g>>19;p=c;c=m;g=c>>31;h=(c^g)-g|0;UE(l,k,d,d>>31);i=Pa+262144|0;g=i>>31;d=i>>19;n=d;i=d>>31;i=(i^d)-i|0;i=((i>>>0>h>>>0?h:i)<<14)+32768>>>16|0;M[j>>1]=i;M[j+64>>1]=0-i;M[j+66>>1]=c-i;M[j+2>>1]=c+i;h=c<<1;M[j+68>>1]=h-i;M[j+4>>1]=i+h;h=T(c,3);M[j+70>>1]=h-i;M[j+6>>1]=i+h;h=c<<2;M[j+72>>1]=h-i;M[j+8>>1]=i+h;h=T(c,5);M[j+74>>1]=h-i;M[j+10>>1]=i+h;h=T(c,6);M[j+76>>1]=h-i;M[j+12>>1]=i+h;h=T(c,7);M[j+78>>1]=h-i;M[j+14>>1]=i+h;h=c<<3;M[j+80>>1]=h-i;M[j+16>>1]=i+h;h=T(c,9);M[j+18>>1]=h+i;M[j+82>>1]=h-i;h=T(c,10);M[j+84>>1]=h-i;M[j+20>>1]=i+h;h=T(c,11);M[j+86>>1]=h-i;M[j+22>>1]=i+h;h=T(c,12);M[j+88>>1]=h-i;M[j+24>>1]=i+h;h=T(c,13);M[j+90>>1]=h-i;M[j+26>>1]=i+h;h=T(c,14);M[j+92>>1]=h-i;M[j+28>>1]=i+h;h=T(c,15);M[j+94>>1]=h-i;M[j+30>>1]=i+h;h=c<<4;M[j+96>>1]=h-i;M[j+32>>1]=i+h;h=T(c,17);M[j+98>>1]=h-i;o=T(c,18);M[j+100>>1]=o-i;M[j+34>>1]=i+h;M[j+36>>1]=i+o;h=T(c,19);M[j+102>>1]=h-i;M[j+38>>1]=i+h;h=T(c,20);M[j+104>>1]=h-i;M[j+40>>1]=i+h;h=T(c,21);M[j+106>>1]=h-i;M[j+42>>1]=i+h;h=T(c,22);M[j+108>>1]=h-i;M[j+44>>1]=i+h;h=T(c,23);M[j+110>>1]=h-i;M[j+46>>1]=i+h;h=T(c,24);M[j+112>>1]=h-i;M[j+48>>1]=i+h;h=T(c,25);M[j+114>>1]=h-i;M[j+50>>1]=i+h;h=T(c,26);M[j+52>>1]=h+i;M[j+116>>1]=h-i;h=T(c,27);M[j+118>>1]=h-i;M[j+54>>1]=i+h;h=T(c,28);M[j+120>>1]=h-i;M[j+56>>1]=i+h;h=T(c,29);M[j+122>>1]=h-i;M[j+58>>1]=i+h;h=T(c,30);M[j+124>>1]=h-i;M[j+60>>1]=i+h;c=T(c,31);M[j+126>>1]=c-i;M[j+62>>1]=c+i;c=f<<20|e>>>12;i=c>>31;UE(c,i,l,k);c=g+p|0;d=d+m|0;c=n>>>0>d>>>0?c+1|0:c;g=((Pa+4096>>>13|0)-((c&1)<<31|d>>>1)|0)+256|0;c=0;while(1){d=0;while(1){e=d<<1;f=g-P[e+j>>1]<<16>>16;f=(f|0)>0?f:0;e=g-P[e+(j- -64|0)>>1]<<16>>16;e=(e|0)>0?e:0;e=(f>>>0>=512?512:f)+(e>>>0>=512?512:e)>>>2|0;L[a+d|0]=e>>>0>=255?255:e;d=d+1|0;if((d|0)!=32){continue}break}g=g-n|0;a=a+b|0;c=c+1|0;if((c|0)!=32){continue}break}}function oc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;c=N[a+8>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;d=N[c+12>>2]+T(b,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[c+8>>2]=b;if(e){Qa[e|0](d);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+8>>2]=0}b=N[a+16>>2];c:{if(!b){b=0;break c}c=N[b>>2];if(c){b=N[a+12>>2];if(b){b=N[b>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+4>>2];if(c){b=N[a+12>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+8>>2];if(c){b=N[a+12>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+12>>2];if(c){b=N[a+12>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+16>>2];if(c){b=N[a+12>>2];if(b){b=N[b+16>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+20>>2];if(c){b=N[a+12>>2];if(b){b=N[b+20>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+24>>2];if(c){b=N[a+12>>2];if(b){b=N[b+24>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+28>>2];if(c){b=N[a+12>>2];if(b){b=N[b+28>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+32>>2];if(c){b=N[a+12>>2];if(b){b=N[b+32>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+36>>2];if(c){b=N[a+12>>2];if(b){b=N[b+36>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+40>>2];if(c){b=N[a+12>>2];if(b){b=N[b+40>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+44>>2];if(c){b=N[a+12>>2];if(b){b=N[b+44>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+48>>2];if(c){b=N[a+12>>2];if(b){b=N[b+48>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+52>>2];if(c){b=N[a+12>>2];if(b){b=N[b+52>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+56>>2];if(c){b=N[a+12>>2];if(b){b=N[b+56>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+60>>2];if(c){b=N[a+12>>2];if(b){b=N[b+60>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+64>>2];if(c){b=N[a+12>>2];if(b){b=N[b+64>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+68>>2];if(!c){break c}b=N[a+12>>2];if(b){b=N[b+68>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}_a(b);_a(N[a+12>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function hl(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;c=N[a>>2];a:{if(c){break a}g=a-124|0;while(1){d=N[g>>2];if(!d){c=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;c=N[d+32>>2];if((c|0)==-1){c=sb(d+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[d+32>>2]=c}L[b+40|0]=1;N[b+36>>2]=c;c=N[d+12>>2];b:{if(c){c=Qa[c|0](d,1953653099,N[d+16>>2])|0;if(c){break b}}c=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!c){break k}d=N[c>>2];if(!d){break k}if((d|0)<=0){break j}N[c>>2]=d+1}L[b+24|0]=0;N[b+32>>2]=c;f=N[c+12>>2];N[b+4>>2]=f;d=N[c+16>>2];N[b+8>>2]=d+f;if((d|0)<0){break i}N[b+28>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[b+12>>2]=d;N[b+20>>2]=0;N[b>>2]=0;d=c;if(!f){break d}if(lh(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}d=zb(c);N[b+4>>2]=d;N[b+8>>2]=d+N[c+16>>2];if(!d){break l}while(1){L[b+24|0]=1;d=N[b+32>>2];f=N[d+12>>2];N[b+4>>2]=f;e=N[d+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(lh(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}d=zb(c);N[b+4>>2]=d;N[b+8>>2]=d+N[c+16>>2];if(d){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;d=lh(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(d){break e}}ab(c);c=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[c+4>>2]){N[c+4>>2]=0}break c}ab(d);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}d=c;c=N[a>>2];m:{if(d){if(c){break m}c=d;N[a>>2]=c;break a}if(c){break a}c=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);c=N[a>>2];if(!c){continue}break}}La=b+48|0;return Q[c+16>>2]<12?275552:N[c+12>>2]}function yf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f:{if(!N[a+24>>2]){if(N[a+44>>2]){break f}c=N[a+52>>2];if(c>>>0<=1){break e}b=c<<2;c=N[a+56>>2];i=b+c|0;g=c+4|0;while(1){f=N[g>>2];c=N[f+12>>2];if(c){e=N[f+16>>2];j=e+T(c,12)|0;while(1){c=N[e+8>>2];if(c>>>0>=Q[a+52>>2]){N[147456]=0;break b}b=N[N[a+56>>2]+(c<<2)>>2];if(!b){break b}c=0;g:{h:{i:{j:{d=N[e>>2];switch(d>>>4&3){case 2:break h;case 1:break i;case 0:break j;default:break g}}c=N[b>>2]-N[f>>2]|0;break g}c=N[b>>2]-N[f+4>>2]|0;break g}c=N[a+4>>2]+N[b>>2]-(N[a>>2]+N[a+8>>2])|0}h=d>>>6|0;if(h>>>0>c>>>0){break d}b=d&7;c=c-h|0;k:{if(d&8){l:{switch(b-2|0){default:ba(21611,14296,537,10829);B();case 2:b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)){break a}d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);L[b|0]=d;L[b+1|0]=d>>>8;L[b+2|0]=d>>>16;L[b+3|0]=d>>>24;if(!(c>>31)){break k}N[a+24>>2]=N[a+24>>2]|2;break k;case 0:break l}}b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8){break a}d=c<<8|(c&65280)>>>8;L[b|0]=d;L[b+1|0]=d>>>8;b=c<<16>>16;if(!(b>>31)&(b|0)==(c|0)){break k}N[a+24>>2]=N[a+24>>2]|2;break k}if(b-2>>>0>=3){break c}m:{switch(b-3|0){case 1:b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)){break a}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);L[b|0]=c;L[b+1|0]=c>>>8;L[b+2|0]=c>>>16;L[b+3|0]=c>>>24;break k;case 0:b=N[f>>2]+N[e+4>>2]|0;if(O[b+1|0]<<8|O[b|0]<<16|O[b+2|0]){break a}L[b+2|0]=c;L[b+1|0]=c>>>8;L[b|0]=c>>>16;if(c>>>0<16777216){break k}N[a+24>>2]=N[a+24>>2]|2;break k;default:break m}}b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8){break a}d=c<<8|(c&65280)>>>8;L[b|0]=d;L[b+1|0]=d>>>8;if(c>>>0<65536){break k}N[a+24>>2]=N[a+24>>2]|2}e=e+12|0;if((j|0)!=(e|0)){continue}break}}g=g+4|0;if((i|0)!=(g|0)){continue}break}}return}ba(9270,14296,518,10829);B()}ba(21778,14296,519,10829);B()}ba(11438,14296,533,10829);B()}ba(21557,14296,545,10829);B()}N[a+24>>2]=N[a+24>>2]|1;return}ba(15190,14296,730,9500);B()}function mp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;j=La+-64|0;La=j;f=N[a>>2];a:{if((f|0)<=0){break a}d=N[a+24>>2];c=T(b,204);k=N[a+16>>2];e=N[a+8>>2];m=e+T(f,40)|0;b=0;a=e;while(1){b=(N[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(m>>>0>a>>>0){continue}break}if(!b){break a}l=N[(c+d|0)+200>>2];d=j;if(b>>>0>=17){if(b>>>0>536870911){break a}a=b<<2;d=Qa[N[k+4>>2]](k,a)|0;if(!d){break a}C(d,0,a)}f=0;c=e;while(1){if(O[c+16|0]&16){a=(f<<2)+d|0;b:{if((f|0)<=0){b=a;break b}i=N[c+28>>2];while(1){b=a-4|0;h=N[b>>2];if((i|0)>=N[h+28>>2]){b=a;break b}N[a>>2]=h;a=b;if(d>>>0>>0){continue}break}}N[b>>2]=c;f=f+1|0}c=c+40|0;if(m>>>0>c>>>0){continue}break}a=l>>31;i=(a^l)-a|0;o=i&65535;p=i>>>16|0;q=i>>>8|0;r=((f<<2)+d|0)-4|0;while(1){n=N[e+16>>2];c:{if(n&16){break c}a=N[e+12>>2];if(a&2){b=O[e+20|0];if(!(a&4|n&64)|((b|0)==4|(b|0)!=O[e+21|0])){break c}N[e+12>>2]=a&-3}c=N[e+28>>2];a=0;d:{e:{if(f){f:{while(1){if((c|0)>2]+28>>2]){break f}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break e}}a=N[d>>2];h=N[a+36>>2];b=c-N[a+28>>2]|0;a=b>>31;a=(a^b)-a|0;g:{if(a+q>>>0<=8190){c=T(a,i)+32768>>>16|0;break g}c=a&65535;c=T(c,p)+T(i,a>>>16|0)+(T(c,o)+32768>>>16)|0}a=c;g=0-a|0;a=b>>31|1;g=h+((((l|0)<0?0-a|0:a)|0)<0?g:c)|0;break d}h=N[((a<<2)+d|0)-4>>2];b=f;while(1){h:{a=b;if(!a){a=0;break h}b=a-1|0;if((c|0)<=N[N[(b<<2)+d>>2]+28>>2]){continue}}break}if((a|0)==(f|0)){a=N[r>>2];h=N[a+36>>2];b=c-N[a+28>>2]|0;a=b>>31;a=(a^b)-a|0;i:{if(a+q>>>0<=8190){c=T(a,i)+32768>>>16|0;break i}c=a&65535;c=T(c,p)+T(i,a>>>16|0)+(T(c,o)+32768>>>16)|0}a=c;g=0-a|0;a=b>>31|1;g=h+((((l|0)<0?0-a|0:a)|0)<0?g:c)|0;break d}b=N[h+28>>2];g=N[h+36>>2];if((b|0)==(c|0)){break d}a=N[(a<<2)+d>>2];g=N[a+28>>2];if((c|0)==(g|0)){g=N[a+36>>2];break d}s=N[a+36>>2];a=N[h+36>>2];g=jb(c-b|0,s-a|0,g-b|0)+a|0}N[e+36>>2]=g;N[e+16>>2]=n|32}e=e+40|0;if(m>>>0>e>>>0){continue}break}if(!d|(d|0)==(j|0)){break a}Qa[N[k+8>>2]](k,d)}La=j- -64|0}function zd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-16|0;La=h;l=N[b+28>>2];N[a+28>>2]=0;N[a+32>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a>>2]=b;e=N[b+8>>2];N[a+4>>2]=e;a:{b:{c:{d:{if(d){if(Q[b+4>>2]<=e+3>>>0){break c}e:{f:{d=N[b+20>>2];g:{if(d){if((Qa[d|0](b,e,h+9|0,4)|0)!=4){break c}e=N[b+8>>2];d=h+9|0;break g}d=N[b>>2];if(!d){break f}d=d+e|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break e}d=0}e=e+4|0;N[b+8>>2]=e;f=5;break d}if(Q[b+4>>2]<=e+1>>>0){break c}h:{i:{d=N[b+20>>2];j:{if(d){if((Qa[d|0](b,e,h+13|0,2)|0)!=2){break c}e=N[b+8>>2];d=h+13|0;break j}d=N[b>>2];if(!d){break i}d=d+e|0}d=O[d+1|0]|O[d|0]<<8;break h}d=0}e=e+2|0;N[b+8>>2]=e;f=3}N[a+8>>2]=f;if(!d){e=0;break a}L[h+15|0]=0;f=N[b+20>>2];k:{if(f){if((Qa[f|0](b,e,h+15|0,1)|0)!=1){break c}e=N[b+8>>2];f=h+15|0;break k}if(Q[b+4>>2]<=e>>>0){break c}f=N[b>>2]+e|0}f=O[f|0];g=e+1|0;N[b+8>>2]=g;e=8;if((f-5&255)>>>0<252){break b}L[a+16|0]=f;N[a+12>>2]=d;N[a+20>>2]=N[a+8>>2]+(N[a+4>>2]+T(f,d+1|0)|0);e=85;d=T(d,f);if((d|0)<0){break b}d=d+g|0;f=N[b+20>>2];l:{if(f){if(!(Qa[f|0](b,d,0,0)|0)){break l}break b}if(d>>>0>Q[b+4>>2]){break b}}N[b+8>>2]=d;N[h+4>>2]=0;d=0;f=La-16|0;La=f;k=85;e=N[a>>2];i=N[e+4>>2];g=N[e+8>>2];m:{if(i>>>0<=g>>>0){break m}j=O[a+16|0];m=N[e+20>>2];n:{if(m){i=Qa[m|0](e,g,f+12|0,j)|0;break n}i=i-g|0;i=i>>>0>>0?i:j;F(f+12|0,g+N[e>>2]|0,i)}N[e+8>>2]=g+i;if(i>>>0>>0){break m}g=O[a+16|0];if(!g){k=0;break m}k=0;e=0;if(g>>>0>=4){e=g&252;d=f+e|0;d=(O[d+8|0]<<16|O[d+9|0]<<8|O[d+10|0])<<8|O[d+11|0]}j=g&3;if(!j){break m}g=0;while(1){d=O[(f+12|0)+e|0]|d<<8;e=e+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[h+4>>2]=k;La=f+16|0;e=N[h+4>>2];if(e){break b}e=8;if(!d){break b}d=d-1|0;N[a+24>>2]=d;o:{if(c){e=fc(b,d,a+32|0);break o}e=Xc(b,d)}if(e){break b}e=0;break a}e=85}b=N[a+28>>2];if(b){Qa[N[l+8>>2]](l,b)}N[a+28>>2]=0}La=h+16|0;return e}function el(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!b){break i}c=N[b>>2];if(!c){break i}if((c|0)<=0){break h}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;e=N[b+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;f=b;if(!d){break a}j:{if(e>>>0<4){break j}N[a+12>>2]=c-4;k:{l:{c=O[d|0]|O[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 0:break k;case 1:break l;default:break f}}if(!eh(d,a)){break j}break f}if(dh(d,a)){break f}}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break e}while(1){L[a+24|0]=1;f=N[a+32>>2];d=N[f+12>>2];N[a+4>>2]=d;e=N[f+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){break a}m:{if(e>>>0<4){break m}N[a+12>>2]=c-4;n:{o:{c=O[d|0]|O[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break n;case 0:break o;default:break f}}if(!dh(d,a)){break m}break f}if(eh(d,a)){break f}}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}break e}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a+28>>2]){break d}f=0;N[a+28>>2]=0;if(Q[a+4>>2]>d>>>0){break e}c=N[a+8>>2];p:{if(c>>>0>>0|c-d>>>0<4){break p}c=N[a+12>>2]-4|0;N[a+12>>2]=c;if((c|0)<=0){break p}f=1;q:{r:{c=O[d|0]|O[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break q;case 0:break r;default:break p}}f=dh(d,a);break p}f=eh(d,a)}c=N[a+28>>2];ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(c){break b}if(f){break c}break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(b);return 275552}ab(f);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function Rd(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=La-16|0;La=g;a:{b:{c:{d:{f=N[a+8>>2];if(Q[a+4>>2]<=f+3>>>0){break d}d=N[a+20>>2];e:{if(d){if((Qa[d|0](a,f,g+12|0,4)|0)!=4){break d}f=N[a+8>>2];d=g+12|0;break e}d=N[a>>2];if(!d){break c}d=d+f|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}e=85;break a}h=0}d=f+4|0;N[a+8>>2]=d;e=2;if((b|0)!=(h|0)){break a}f:{g:{h:{i:{b=N[a+4>>2];if(b>>>0>f+7>>>0){e=N[a+20>>2];if(!e){N[a+8>>2]=f+8;f=f+24|0;break h}if((Qa[e|0](a,d,g+12|0,4)|0)==4){break i}}e=85;break a}d=N[a+8>>2];N[a+8>>2]=d+4;f=d+20|0;b=N[a+20>>2];if(b){break g}b=N[a+4>>2]}e=85;if(b>>>0>=f>>>0){break f}break a}e=85;if(Qa[b|0](a,f,0,0)|0){break a}b=N[a+4>>2]}N[a+8>>2]=f;if(d+21>>>0>=b>>>0){break a}j:{b=N[a+20>>2];if(b){if((Qa[b|0](a,f,g+12|0,2)|0)!=2){break a}f=N[a+8>>2];b=g+12|0;break j}b=N[a>>2];if(b){b=b+f|0;break j}N[a+8>>2]=d+22;e=2;break a}e=2;b=O[b|0]|O[b+1|0]<<8;N[a+8>>2]=f+2;h=(b<<8|b>>>8)&65535;if(!h){break a}b=0;while(1){k:{f=N[a+4>>2];e=N[a+8>>2];if(f>>>0<=e+3>>>0){break k}l:{m:{n:{o:{d=N[a+20>>2];p:{if(d){if((Qa[d|0](a,e,g+12|0,4)|0)!=4){break k}e=N[a+8>>2];d=g+12|0;break p}d=N[a>>2];if(!d){break o}d=d+e|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f=e+4|0;N[a+8>>2]=f;if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==2){N[g+8>>2]=0;q:{r:{s:{if(Q[a+4>>2]<=e+7>>>0){break s}d=N[a+20>>2];t:{if(d){if((Qa[d|0](a,f,g+12|0,4)|0)!=4){break s}f=N[a+8>>2];d=g+12|0;break t}d=N[a>>2];if(!d){break r}d=d+f|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break q}N[g+8>>2]=85;break l}d=0}N[a+8>>2]=f+4;Nb(a,g+8|0);if(N[g+8>>2]){break l}N[c>>2]=d;e=0;break a}e=e+12|0;d=N[a+20>>2];if(!d){f=N[a+4>>2];break n}if(!(Qa[d|0](a,e,0,0)|0)){break m}e=85;break a}N[a+8>>2]=e+4;e=e+12|0}if(e>>>0<=f>>>0){break m}e=85;break a}N[a+8>>2]=e;N[g+8>>2]=0}e=2;b=b+1|0;if((h|0)!=(b|0)){continue}break a}break}e=85}La=g+16|0;return e}function Wm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=La-16|0;La=j;d=N[a+104>>2];f=N[d+28>>2];i=N[a+736>>2];L[i+24|0]=1;a:{if(Qa[N[a+516>>2]](a,1635148146,d,j+12|0)|0){break a}if(Bb(d,N[j+12>>2])){break a}c=N[d+36>>2];a=N[d+32>>2];if(c>>>0>a+3>>>0){b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=a+4|0}N[d+32>>2]=a;if(c>>>0>a+3>>>0){b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=a+4|0}N[d+32>>2]=a;b:{if((e|0)!=65536|N[N[i+12>>2]>>2]!=(g|0)){break b}c:{d:{e:{if(g-268435456>>>0>=4026531841){b=g<<3;c=Qa[N[f+4>>2]](f,b)|0;a=!c<<6;if(!(!c|(g|0)<=0)){C(c,0,b);a=0}N[i+28>>2]=c;if((g|0)<=0|a){break b}l=i+28|0;e=0;while(1){a=N[d+32>>2];f:{if(Q[d+36>>2]<=a+1>>>0){b=0;break f}b=O[a|0]|O[a+1|0]<<8;b=b<<8|b>>>8;a=a+2|0}N[d+32>>2]=a;M[c>>1]=b;a=b&65535;if(Q[j+12>>2]>>0){break d}g:{if(!a){k=0;break g}a=a<<3;k=Qa[N[f+4>>2]](f,a)|0;if(!k){break e}C(k,0,a)}N[c+4>>2]=k;m=P[c>>1];if(m){a=N[d+32>>2];n=N[d+36>>2];b=0;while(1){h:{if(a+1>>>0>=n>>>0){h=0;break h}h=O[a|0]|O[a+1|0]<<8;h=h<<8|h>>>8;a=a+2|0}N[d+32>>2]=a;o=(b<<3)+k|0;N[o>>2]=h<<16>>16<<2;h=0;if(a+1>>>0>>0){h=O[a|0]|O[a+1|0]<<8;h=h<<8|h>>>8;a=a+2|0}N[d+32>>2]=a;N[o+4>>2]=h<<16>>16<<2;b=b+1|0;if((m|0)!=(b|0)){continue}break}}c=c+8|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break b}l=i+28|0;break c}N[c+4>>2]=0}a=N[i+28>>2];i:{if(e){j:{if(!(e&1)){b=e;break j}b=e-1|0;c=b<<3;g=N[(c+a|0)+4>>2];if(g){Qa[N[f+8>>2]](f,g);a=N[i+28>>2]}N[(a+c|0)+4>>2]=0}if((e|0)==1){break i}while(1){e=b-1<<3;c=N[(e+a|0)+4>>2];if(c){Qa[N[f+8>>2]](f,c);a=N[i+28>>2]}N[(a+e|0)+4>>2]=0;e=b-2|0;c=e<<3;g=N[(c+a|0)+4>>2];if(g){Qa[N[f+8>>2]](f,g);a=N[i+28>>2]}N[(a+c|0)+4>>2]=0;c=(b|0)>2;b=e;if(c){continue}break}break i}if(!a){break c}}Qa[N[f+8>>2]](f,a)}N[l>>2]=0}if(N[d+20>>2]){a=N[d>>2];if(a){b=N[d+28>>2];Qa[N[b+8>>2]](b,a)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0}La=j+16|0}function Am(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=La-48|0;La=j;N[j+4>>2]=0;m=N[h+556>>2];k=N[g>>2];i=N[k>>2];N[j+28>>2]=0;N[j+32>>2]=0;N[j+20>>2]=0;N[j+24>>2]=0;N[j+12>>2]=0;N[j+16>>2]=0;N[j+40>>2]=a;N[j+36>>2]=f;N[j+44>>2]=0;N[j+8>>2]=k;k=(f|0)==12288|(f|0)==16384;l=k?513:96;n=l<<2;i=Qa[N[i+4>>2]](i,n)|0;a:{if(i){C(i,0,n);N[j+32>>2]=l;N[j+24>>2]=i;N[j+28>>2]=i;C(a+24|0,0,160);N[a+156>>2]=8720;N[a+60>>2]=65536;N[a+44>>2]=2;N[a+48>>2]=65536;N[a+32>>2]=-6553600;N[a+36>>2]=3276800;N[a+184>>2]=k?513:48;N[a+172>>2]=65535;N[a+136>>2]=65535;N[a+128>>2]=65535;N[a+132>>2]=65535;N[a+16>>2]=65535;N[a+20>>2]=65535;N[a+8>>2]=65535;N[a+12>>2]=65535;N[a>>2]=65535;N[a+4>>2]=65535;b:{c:{d:{if(!N[b+12>>2]){c=N[b+20>>2];l=N[d+20>>2];e:{if(l){i=85;if(!(Qa[l|0](d,c,0,0)|0)){break e}break b}i=85;if(c>>>0>Q[d+4>>2]){break b}}N[d+8>>2]=c;i=fc(d,N[b+24>>2],j+4|0);if(i){break b}c=b+24|0;break d}i=Xf(b,c,j+4|0,j);if(i){break c}c=j}i=N[j+4>>2];i=zm(j+8|0,i,i?i+N[c>>2]|0:0)}c=d;f:{if(N[b+12>>2]){if(N[b+32>>2]){break f}c=N[b>>2]}g:{if(!c|!N[c+20>>2]){break g}b=N[j+4>>2];if(!b){break g}c=N[c+28>>2];Qa[N[c+8>>2]](c,b)}N[j+4>>2]=0}if(i){break b}i=0;if(N[a+132>>2]!=65535){break b}i=xm(g,a,0,0);if(i){break b}h:{if((f|0)==12288|(f|0)==16384){break h}f=N[N[h+128>>2]+60>>2];i:{if((f|0)==-1){b=N[h+96>>2];f=N[b+68>>2];N[a+648>>2]=f;if(!f){break i}while(1){f=Qa[N[m+20>>2]](f)|0;N[b+68>>2]=f;if((f|0)<0){continue}break}break i}N[a+648>>2]=f;if(!f){break i}while(1){f=Qa[N[m+20>>2]](f)|0;N[N[h+128>>2]+60>>2]=f;if((f|0)<0){continue}break}}if(N[a+648>>2]){break h}N[a+648>>2]=N[a+532>>2]}b=N[a+536>>2];if(!b){i=0;break b}b=N[a+116>>2]+(b+e|0)|0;c=N[d+20>>2];j:{if(c){i=85;if(!(Qa[c|0](d,b,0,0)|0)){break j}break b}i=85;if(b>>>0>Q[d+4>>2]){break b}}N[d+8>>2]=b;b=a+608|0;i=zd(b,d,1,k);if(i){break b}i=Gh(b,a+644|0,0,0)}a=N[j+24>>2];if(!a){break a}b=N[N[j+8>>2]>>2];Qa[N[b+8>>2]](b,a);break a}N[j+24>>2]=0;i=64}La=j+48|0;return i}function bk(a,b,c,d,e,f,g){var h=0,i=0;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}a=h;c:{d:{if((d|0)==-1){break d}h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0<65537){break d}b=275552;e:{if((h&65535)!=256){break e}h=O[a+10|0]|O[a+11|0]<<8|(O[a+12|0]<<16|O[a+13|0]<<24);b=275552;if(!h){break e}b=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+a|0}h=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0>d>>>0){d=(b+(d<<3)|0)+8|0}else{d=275552}d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(d){d=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{d=275552}b=O[d+4|0]|O[d+5|0]<<8;if(!b){break d}b=(b<<8|b>>>8)&65535;h=b>>>0<=1?1:b;b=0;while(1){i=d+T(b,6)|0;i=O[i+6|0]|O[i+7|0]<<8;if(((i<<8|i>>>8)&65535)==(c|0)){b=d+T(b,6)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);a=275552;if(!b){break c}a=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;break c}b=b+1|0;if((h|0)!=(b|0)){continue}break}}b=275552;f:{if((O[a|0]|O[a+1|0]<<8)!=256){break f}d=O[a+6|0]|O[a+7|0]<<8;b=275552;if(!d){break f}b=((d<<8|d>>>8)&65535)+a|0}a=O[b|0]|O[b+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0>c>>>0){c=(b+T(c,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!c){break c}a=b+((c<<8|c>>>8)&65535)|0}b=a;g:{if(!f){break g}a=O[b+2|0]|O[b+3|0]<<8;a=(a<<8|a>>>8)&65535;c=a-e|0;a=a>>>0>=c>>>0?c:0;c=N[f>>2];a=a>>>0>>0?a:c;N[f>>2]=a;if(!a){break g}d=(b+(e<<1)|0)+4|0;if(a&1){b=O[d|0]|O[d+1|0]<<8;N[g>>2]=(b<<8|b>>>8)&65535;d=d+2|0;g=g+4|0;b=a-1|0}else{b=a}if((a|0)==1){break g}a=b;while(1){c=O[d|0]|O[d+1|0]<<8;N[(b?g:589824)>>2]=(c<<8|c>>>8)&65535;c=(b|0)!=0;f=(c<<2)+g|0;e=(b|0)!=(c|0);g=O[d+2|0]|O[d+3|0]<<8;N[(e?f:589824)>>2]=(g<<8|g>>>8)&65535;g=f+(e<<2)|0;b=b-(c+e|0)|0;d=d+4|0;a=a-2|0;if(a){continue}break}}}function dm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){d=N[a+100>>2];b=N[a>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a>>2]=0;e=N[a+92>>2];if(e){b=N[e+4>>2];a:{if(!b){break a}c=N[e+20>>2];if((b|0)!=1){g=b&1;f=b&-2;b=0;while(1){h=N[c>>2];if(h){Qa[N[d+8>>2]](d,h)}N[c>>2]=0;h=N[c+4>>2];if(h){Qa[N[d+8>>2]](d,h)}N[c+4>>2]=0;c=c+8|0;b=b+2|0;if((f|0)!=(b|0)){continue}break}if(!g){break a}}b=N[c>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c>>2]=0}b=N[e+20>>2];if(b){Qa[N[d+8>>2]](d,b)}N[e+20>>2]=0;b=N[a+92>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+92>>2]=0}b=N[a+84>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+84>>2]=0;e=N[a+72>>2];if(e){c=0;while(1){b=N[a+80>>2];g=c<<4;f=b+g|0;if(N[f+4>>2]==1){e=N[f+12>>2];if(e){Qa[N[d+8>>2]](d,e);b=N[a+80>>2]}N[(b+g|0)+12>>2]=0;e=N[a+72>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}b=N[a+80>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+80>>2]=0;if(N[a+52>>2]){c=N[a+56>>2];b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;e=N[c+24>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+24>>2]=0;c=c+36|0;b=b+1|0;if(b>>>0>2]){continue}break}}if(N[a+64>>2]){c=N[a+68>>2];b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;e=N[c+24>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+24>>2]=0;c=c+36|0;b=b+1|0;if(b>>>0>2]){continue}break}}b=N[a+56>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+56>>2]=0;b=N[a+68>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+68>>2]=0;b=N[a+116>>2];b:{if(!b){break b}c=N[a+132>>2];if((b|0)!=1){e=b&1;g=b&-2;b=0;while(1){f=N[c>>2];if(f){Qa[N[d+8>>2]](d,f)}N[c>>2]=0;f=N[c+4>>2];if(f){Qa[N[d+8>>2]](d,f)}N[c+4>>2]=0;c=c+8|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}if(!e){break b}}b=N[c>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c>>2]=0}b=N[a+132>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+132>>2]=0;c=N[a+104>>2];if(N[a+108>>2]){b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;if(N[c+4>>2]==1){e=N[c+12>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+12>>2]=0}c=c+16|0;b=b+1|0;if(b>>>0>2]){continue}break}c=N[a+104>>2]}if(c){Qa[N[d+8>>2]](d,c)}N[a+104>>2]=0}}function $l(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=N[d+8>>2];h=N[d+16>>2]+T(e,3)|0;m=P[f+(O[h+2|0]<<1)>>1];i=O[h+1|0];l=N[d+4>>2];f=l+P[f+(O[h|0]<<1)>>1]|0;g=O[f|0];a:{if(!g){g=0;break a}j=g&3;h=0;b:{if(g>>>0<4){g=0;break b}k=g&252;g=0;while(1){L[a+g|0]=O[f+1|0];L[(g|1)+a|0]=O[f+2|0];L[(g|2)+a|0]=O[f+3|0];L[(g|3)+a|0]=O[f+4|0];f=f+4|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}}if(!j){break a}while(1){L[a+g|0]=O[f+1|0];g=g+1|0;f=f+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}c:{if(i>>>0<=9){c=c-i|0;break c}if((i-12&255)>>>0>8){break c}h=i-11|0;c=c-h|0;b=b+h|0}d:{if((c|0)<=0){break d}j=c&3;k=0;e:{if(c>>>0<4){f=0;break e}n=c&-4;f=0;while(1){h=a+g|0;L[h|0]=O[b+f|0];L[h+1|0]=O[(f|1)+b|0];L[h+2|0]=O[(f|2)+b|0];L[h+3|0]=O[(f|3)+b|0];g=g+4|0;f=f+4|0;if((n|0)!=(f|0)){continue}break}}if(!j){break d}while(1){L[a+g|0]=O[b+f|0];g=g+1|0;f=f+1|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}}f=m+l|0;f:{g:{switch(i-10|0){case 0:b=(g-c|0)+a|0;c=O[b|0];if(c>>>0<=191){if((c-97&255)>>>0>25){break f}L[b|0]=c^32;break f}if(c>>>0<=223){L[b+1|0]=O[b+1|0]^32;break f}L[b+2|0]=O[b+2|0]^5;break f;case 1:if((c|0)<=0){break f}b=(g-c|0)+a|0;while(1){d=O[b|0];h:{if(d>>>0<=191){h=1;if((d-97&255)>>>0>25){break h}L[b|0]=d^32;break h}if(d>>>0<=223){L[b+1|0]=O[b+1|0]^32;h=2;break h}L[b+2|0]=O[b+2|0]^5;h=3}b=b+h|0;c=c-h|0;if((c|0)>0){continue}break};break f;case 11:b=N[d+20>>2]+(e<<1)|0;_l((g-c|0)+a|0,c,O[b|0]|O[b+1|0]<<8);break f;case 12:break g;default:break f}}if((c|0)<=0){break f}b=(g-c|0)+a|0;d=N[d+20>>2]+(e<<1)|0;d=O[d|0]|O[d+1|0]<<8;while(1){e=_l(b,c,d);b=e+b|0;c=c-e|0;if((c|0)>0){continue}break}}c=O[f|0];i:{if(!c){break i}d=c&3;if(d){b=0;while(1){L[a+g|0]=O[f+1|0];g=g+1|0;f=f+1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}b=c&252}else{b=c}h=b;if(c>>>0<4){break i}while(1){b=a+g|0;L[b|0]=O[f+1|0];L[b+1|0]=O[f+2|0];L[b+2|0]=O[f+3|0];L[b+3|0]=O[f+4|0];g=g+4|0;f=f+4|0;h=h-4|0;if(h){continue}break}}return g}function jf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=1;a:{b:{if(!N[b>>2]){b=c;break b}if(!N[c>>2]){break b}m=0;if(N[c+8>>2]>2]){break a}}d=N[a+20>>2];c:{if(!d){break c}f=N[b+8>>2];d:{while(1){h=N[(T(g,20)+a|0)+36>>2];if((h|0)>=(f|0)){break d}g=g+1|0;if((d|0)!=(g|0)){continue}break}g=d;break c}if(O[(T(g,20)+a|0)+28|0]&8|(!m&(h|0)<=N[c+8>>2]|(f|0)==(h|0))){break a}}d=N[a+4>>2];if(!(!O[d+12|0]|O[b|0]&16)){e:{if(!m){j=_c(d,(N[b+8>>2]+N[c+8>>2]|0)/2|0);e=N[c+8>>2]-N[b+8>>2]|0;i=(e|0)/2|0;f=i>>31;h=N[a+16>>2];d=h>>31;f=(f^i)-f|0;d=(d^h)-d|0;f:{if(f+(d>>>8|0)>>>0<=8190){d=T(d,f)+32768>>>16|0;break f}i=f&65535;d=T(i,d>>>16|0)+T(d,f>>>16|0)+(T(i,d&65535)+32768>>>16)|0}d=(e|0)<-1^(h|0)<0?0-d|0:d;N[b+12>>2]=j-d;f=d+j|0;d=c;break e}f=_c(d,N[b+8>>2]);d=b}N[d+12>>2]=f}if(N[b+12>>2]>2]?g:0){break a}d=N[a+20>>2];g:{if(d>>>0<=g>>>0){break g}f=N[(T(g,20)+a|0)+40>>2];if(!m){if((f|0)>=N[c+12>>2]){break g}break a}if((f|0)>2]){break a}}h=d+!m|0;if(h>>>0>191){break a}j=d-g|0;h:{if(!j){break h}k=g+1|0;i:{if(!(j&1)){f=d;break i}e=a+28|0;i=e+T(h,20)|0;f=d-1|0;e=e+T(f,20)|0;l=N[e+4>>2];N[i>>2]=N[e>>2];N[i+4>>2]=l;N[i+16>>2]=N[e+16>>2];l=N[e+12>>2];N[i+8>>2]=N[e+8>>2];N[i+12>>2]=l;h=h-1|0;j=j-1|0}if((d|0)==(k|0)){break h}i=a+28|0;while(1){k=i+T(f,20)|0;e=k-20|0;l=N[e+4>>2];d=i+T(h,20)|0;N[d>>2]=N[e>>2];N[d+4>>2]=l;N[d+16>>2]=N[e+16>>2];l=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=l;e=k-40|0;k=N[e+4>>2];d=d-20|0;N[d>>2]=N[e>>2];N[d+4>>2]=k;k=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=k;N[d+16>>2]=N[e+16>>2];h=h-2|0;f=f-2|0;j=j-2|0;if(j){continue}break}}d=T(g,20)+a|0;N[d+44>>2]=N[b+16>>2];g=N[b+12>>2];N[d+36>>2]=N[b+8>>2];N[d+40>>2]=g;g=N[b+4>>2];N[d+28>>2]=N[b>>2];N[d+32>>2]=g;N[a+20>>2]=N[a+20>>2]+1;if(m){break a}N[d- -64>>2]=N[c+16>>2];b=N[c+12>>2];N[d+56>>2]=N[c+8>>2];N[d+60>>2]=b;b=N[c+4>>2];N[d+48>>2]=N[c>>2];N[d+52>>2]=b;N[a+20>>2]=N[a+20>>2]+1}}function ro(a){var b=0,c=0,d=0,e=0,f=0;f=La-16|0;La=f;a:{while(1){b:{c:{d:{b=O[a|0];switch(b|0){case 0:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 9:break c;default:break d}}if((b|0)!=32){break b}}a=a+1|0;continue}break}c=nb(a);b=c+a|0;e:{if((c|0)<=0){break e}while(1){c=b-1|0;d=O[c|0];if((d|0)!=32&(d|0)!=9){break e}b=c;if(b>>>0>a>>>0){continue}break}b=a}c=a;a=b-a|0;a=a>>>0>=15?15:a;F(f,c,a);L[a|f]=0;a=f;b=15619;while(1){f:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break f}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=2;if((c|0)==(d|0)){break a}a=f;b=21753;while(1){g:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break g}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=3;if((c|0)==(d|0)){break a}a=f;b=21760;while(1){h:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break h}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=4;if((c|0)==(d|0)){break a}a=f;b=21367;while(1){i:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break i}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=5;if((c|0)==(d|0)){break a}a=f;b=21374;while(1){j:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break j}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=6;if((c|0)==(d|0)){break a}a=f;b=13166;while(1){k:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break k}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=7;if((c|0)==(d|0)){break a}a=f;b=13174;while(1){l:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break l}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=8;if((c|0)==(d|0)){break a}a=f;b=17788;while(1){m:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break m}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=9;if((c|0)==(d|0)){break a}a=f;b=17795;while(1){n:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break n}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=(c|0)==(d|0)?10:1}La=f+16|0;return b}function $a(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!a){return kb(b)}a:{if(b>>>0>4294967231){break a}f=b>>>0<11?16:b+11&-8;e=a-8|0;i=N[e+4>>2];d=i&-8;b:{if(!(i&3)){if(f>>>0<256){break b}if(d>>>0>=f+4>>>0){c=e;if(d-f>>>0<=N[147437]<<1>>>0){break b}}c=0;break b}g=d+e|0;c:{if(d>>>0>=f>>>0){c=d-f|0;if(c>>>0<16){break c}N[e+4>>2]=i&1|f|2;d=e+f|0;N[d+4>>2]=c|3;N[g+4>>2]=N[g+4>>2]|1;Hn(d,c);break c}if(N[147323]==(g|0)){d=d+N[147320]|0;if(d>>>0<=f>>>0){break b}N[e+4>>2]=i&1|f|2;c=e+f|0;d=d-f|0;N[c+4>>2]=d|1;N[147320]=d;N[147323]=c;break c}if(N[147322]==(g|0)){d=d+N[147319]|0;if(d>>>0>>0){break b}c=d-f|0;d:{if(c>>>0>=16){N[e+4>>2]=i&1|f|2;h=e+f|0;N[h+4>>2]=c|1;d=d+e|0;N[d>>2]=c;N[d+4>>2]=N[d+4>>2]&-2;break d}N[e+4>>2]=d|i&1|2;c=d+e|0;N[c+4>>2]=N[c+4>>2]|1;c=0}N[147322]=h;N[147319]=c;break c}h=N[g+4>>2];if(h&2){break b}j=d+(h&-8)|0;if(j>>>0>>0){break b}l=j-f|0;e:{if(h>>>0<=255){c=N[g+12>>2];d=N[g+8>>2];if((c|0)==(d|0)){o=589268,p=N[147317]&ZE(-2,h>>>3|0),N[o>>2]=p;break e}N[d+12>>2]=c;N[c+8>>2]=d;break e}k=N[g+24>>2];d=N[g+12>>2];f:{if((g|0)!=(d|0)){c=N[g+8>>2];N[c+12>>2]=d;N[d+8>>2]=c;break f}g:{c=g+20|0;h=N[c>>2];if(!h){h=N[g+16>>2];if(!h){break g}c=g+16|0}while(1){m=c;d=h;c=d+20|0;h=N[c>>2];if(h){continue}c=d+16|0;h=N[d+16>>2];if(h){continue}break}N[m>>2]=0;break f}d=0}if(!k){break e}c=N[g+28>>2];h=(c<<2)+589572|0;h:{if(N[h>>2]==(g|0)){N[h>>2]=d;if(d){break h}o=589272,p=N[147318]&ZE(-2,c),N[o>>2]=p;break e}N[(N[k+16>>2]==(g|0)?16:20)+k>>2]=d;if(!d){break e}}N[d+24>>2]=k;c=N[g+16>>2];if(c){N[d+16>>2]=c;N[c+24>>2]=d}c=N[g+20>>2];if(!c){break e}N[d+20>>2]=c;N[c+24>>2]=d}if(l>>>0<=15){N[e+4>>2]=i&1|j|2;c=e+j|0;N[c+4>>2]=N[c+4>>2]|1;break c}N[e+4>>2]=i&1|f|2;c=e+f|0;N[c+4>>2]=l|3;d=e+j|0;N[d+4>>2]=N[d+4>>2]|1;Hn(c,l)}c=e}if(c){return c+8|0}c=kb(b);if(!c){break a}e=N[a-4>>2];e=(e&3?-4:-8)+(e&-8)|0;Pc(c,a,b>>>0>e>>>0?e:b);_a(a);n=c}return n}function tl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{if(!b){break d}d=N[b>>2];if(!d){break d}if((d|0)<=0){break c}N[b>>2]=d+1}N[a+32>>2]=b;e:{f:{while(1){L[a+24|0]=c;e=N[a+32>>2];d=N[e+12>>2];N[a+4>>2]=d;f=N[e+16>>2];g=f+d|0;N[a+8>>2]=g;if((f|0)<0){break b}N[a+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(e);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}g:{if(f>>>0<2){break g}N[a+12>>2]=c-2;if(!(O[d|0]|O[d+1|0]<<8)){break g}e=d+4|0;if((f&-4)==4|e>>>0>g>>>0){break g}N[a+12>>2]=c-6;c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=c>>>0<=1?1:c;g=0;f=d+8|0;c=f;h:{while(1){if(!ol(c,a)){break h}i=c;c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}if(!N[a+28>>2]){break f}N[a+28>>2]=0;if(d>>>0>2]){break g}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}g=N[a+12>>2];h=g-2|0;N[a+12>>2]=h;if(!(O[d|0]|O[d+1|0]<<8)|(h|0)<=0|(c>>>0>>0|c-e>>>0<4)){break g}c=g-6|0;N[a+12>>2]=c;if((c|0)<=0){break g}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0<=1?1:c;c=0;while(1){g=ol(f,a);if(g){d=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+f|0;c=c+1|0;if((e|0)!=(c|0)){continue}}break}if(N[a+28>>2]){break g}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(g){break e}break a}if(O[a+24|0]|!N[a+28>>2]){break g}d=zb(b);N[a+4>>2]=d;N[a+8>>2]=d+N[b+16>>2];c=1;if(d){continue}}break}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break a}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}ab(b);return 275552}function rl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{if(!b){break d}d=N[b>>2];if(!d){break d}if((d|0)<=0){break c}N[b>>2]=d+1}N[a+32>>2]=b;e:{f:{while(1){L[a+24|0]=c;e=N[a+32>>2];d=N[e+12>>2];N[a+4>>2]=d;f=N[e+16>>2];g=f+d|0;N[a+8>>2]=g;if((f|0)<0){break b}N[a+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(e);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}g:{if(f>>>0<2){break g}N[a+12>>2]=c-2;if(!(O[d|0]|O[d+1|0]<<8)){break g}e=d+4|0;if((f&-4)==4|e>>>0>g>>>0){break g}N[a+12>>2]=c-6;c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=c>>>0<=1?1:c;g=0;f=d+8|0;c=f;h:{while(1){if(!pl(c,a)){break h}i=c;c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}if(!N[a+28>>2]){break f}N[a+28>>2]=0;if(d>>>0>2]){break g}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}g=N[a+12>>2];h=g-2|0;N[a+12>>2]=h;if(!(O[d|0]|O[d+1|0]<<8)|(h|0)<=0|(c>>>0>>0|c-e>>>0<4)){break g}c=g-6|0;N[a+12>>2]=c;if((c|0)<=0){break g}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0<=1?1:c;c=0;while(1){g=pl(f,a);if(g){d=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+f|0;c=c+1|0;if((e|0)!=(c|0)){continue}}break}if(N[a+28>>2]){break g}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(g){break e}break a}if(O[a+24|0]|!N[a+28>>2]){break g}d=zb(b);N[a+4>>2]=d;N[a+8>>2]=d+N[b+16>>2];c=1;if(d){continue}}break}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break a}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}ab(b);return 275552}function nE(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1668049255;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[147450];if(!c){Dl();c=N[147450]}if(c&4){c=N[a+88>>2];d:{e:{f:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1801810542;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}c=N[a+88>>2];g:{h:{i:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break h}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Xf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=La-16|0;La=k;f=6;a:{if(!a){break a}h=N[a+12>>2];if(h>>>0<=b>>>0){break a}j=N[a>>2];b:{c:{d:{e:{f:{g=N[a+28>>2];if(!g){g=O[a+16|0];h=(N[a+8>>2]+N[a+4>>2]|0)+T(g,b)|0;e=N[j+20>>2];g:{if(e){f=85;if(Qa[e|0](j,h,0,0)|0){break a}g=O[a+16|0];e=N[a>>2];i=N[e+4>>2];break g}f=85;e=j;i=N[e+4>>2];if(h>>>0>i>>>0){break a}}N[j+8>>2]=h;h:{h=N[e+8>>2];if(h>>>0>>0){f=N[e+20>>2];i:{if(f){f=Qa[f|0](e,h,k+8|0,g)|0;break i}f=i-h|0;f=f>>>0>>0?f:g;F(k+8|0,h+N[e>>2]|0,f)}N[e+8>>2]=f+h;if(f>>>0>=g>>>0){break h}}f=85;break a}j:{g=O[a+16|0];if(g){f=0;e=0;i=0;if(g>>>0>=4){e=g&252;i=(k+e|0)+4|0;i=(O[i|0]<<16|O[i+1|0]<<8|O[i+2|0])<<8|O[i+3|0]}g=g&3;if(g){while(1){i=O[(k+8|0)+e|0]|i<<8;e=e+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(i){break j}}i=0;f=0;break e}while(1){f=85;e=N[a>>2];l=N[e+4>>2];g=N[e+8>>2];k:{if(l>>>0<=g>>>0){break k}h=O[a+16|0];m=N[e+20>>2];l:{if(m){l=Qa[m|0](e,g,k+12|0,h)|0;break l}l=l-g|0;l=h>>>0>l>>>0?l:h;F(k+12|0,g+N[e>>2]|0,l)}N[e+8>>2]=g+l;if(h>>>0>l>>>0){break k}h=O[a+16|0];if(!h){f=0;break k}g=0;f=0;e=0;if(h>>>0>=4){f=h&252;e=(k+f|0)+8|0;e=(O[e|0]<<16|O[e+1|0]<<8|O[e+2|0])<<8|O[e+3|0]}h=h&3;if(h){while(1){e=O[(k+12|0)+f|0]|e<<8;f=f+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}f=0;if(e){break f}}b=b+1|0;if(b>>>0>2]){continue}break}break e}f=0;i=N[g+(b<<2)>>2];if(!i){i=0;break e}while(1){b=b+1|0;e=N[g+(b<<2)>>2];if(e){break f}if((b|0)!=(h|0)){continue}break}break e}b=N[j+4>>2]+1|0;if(e>>>0<=b>>>0){break d}g=N[a+20>>2];break c}b=N[j+4>>2]+1|0;e=0}g=N[a+20>>2];if(g>>>0<=b-e>>>0){break b}}e=b-g|0}if(!(!i|e>>>0<=i>>>0)){b=e-i|0;N[d>>2]=b;d=N[a+32>>2];if(d){N[c>>2]=(d+i|0)-1;break a}a=(N[a+20>>2]+i|0)-1|0;d=N[j+20>>2];m:{if(d){f=85;if(!(Qa[d|0](j,a,0,0)|0)){break m}break a}f=85;if(a>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=a;f=fc(j,b,c);break a}N[c>>2]=0;N[d>>2]=0}La=k+16|0;return f}function vg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=La+-64|0;La=h;N[h>>2]=N[b>>2];N[h+4>>2]=N[c>>2];l=O[e+9|0];n=l?10:9;while(1){g=(i<<2)+h|0;o=g;m=N[g>>2];N[g+8>>2]=m;if(O[e+i|0]){g=N[a+8>>2];a:{if(N[a+12>>2]-g>>3>>>0<=j>>>0){g=0;k=N[a+4>>2];if(!k|N[k>>2]){break a}N[k>>2]=130;break a}b:{c:{d:{g=g+(j<<3)|0;switch(N[g+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}g=N[g>>2]<<16;break a}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break a}g=N[g>>2]}N[o+8>>2]=g+m;j=j+1|0}i=i+1|0;if((n|0)!=(i|0)){continue}break}if(!l){N[h+44>>2]=N[c>>2]}e:{if(f){f=N[h+44>>2];i=f-N[c>>2]|0;e=i>>31;i=(e^i)-e|0;g=N[h+40>>2];k=g-N[b>>2]|0;e=k>>31;k=(e^k)-e|0;e=N[a+8>>2];f:{if(N[a+12>>2]-e>>3>>>0<=j>>>0){j=0;e=N[a+4>>2];if(!e|N[e>>2]){break f}N[e>>2]=130;break f}g:{h:{i:{e=e+(j<<3)|0;switch(N[e+4>>2]-1|0){case 0:break h;case 1:break i;default:break g}}j=N[e>>2]<<16;break f}e=N[e>>2];j=((e>>31)+e|0)- -8192>>14;break f}j=N[e>>2]}if((i|0)<(k|0)){i=g+j|0;e=N[c>>2];break e}i=N[b>>2];e=f+j|0;break e}j:{if(O[e+10|0]){g=N[h+40>>2];f=N[a+8>>2];k:{if(N[a+12>>2]-f>>3>>>0<=j>>>0){f=0;i=N[a+4>>2];if(!i|N[i>>2]){break k}N[i>>2]=130;break k}l:{m:{n:{f=f+(j<<3)|0;switch(N[f+4>>2]-1|0){case 0:break m;case 1:break n;default:break l}}f=N[f>>2]<<16;break k}f=N[f>>2];f=((f>>31)+f|0)- -8192>>14;break k}f=N[f>>2]}j=j+1|0;i=f+g|0;break j}i=N[b>>2]}if(O[e+11|0]){f=N[h+44>>2];e=N[a+8>>2];o:{if(N[a+12>>2]-e>>3>>>0<=j>>>0){e=N[a+4>>2];g=0;if(!e|N[e>>2]){break o}N[e>>2]=130;e=f;break e}p:{q:{r:{e=e+(j<<3)|0;switch(N[e+4>>2]-1|0){case 0:break q;case 1:break r;default:break p}}e=(N[e>>2]<<16)+f|0;break e}e=N[e>>2];e=(((e>>31)+e|0)- -8192>>14)+f|0;break e}g=N[e>>2]}e=f+g|0;break e}f=N[h+44>>2];e=N[c>>2]}Cd(d,N[h+8>>2],N[h+12>>2],N[h+16>>2],N[h+20>>2],N[h+24>>2],N[h+28>>2]);Cd(d,N[h+32>>2],N[h+36>>2],N[h+40>>2],f,i,e);N[a+12>>2]=N[a+8>>2];N[b>>2]=i;N[c>>2]=e;La=h- -64|0}function Om(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=La+-64|0;La=l;f=N[a+532>>2];d=6;a:{if(!f){break a}e=N[f+4>>2];o=b>>>0>e>>>0?e:b;b:{c:{if(e){p=f+88|0;while(1){b=p+T(h,12)|0;j=N[b+8>>2];k=N[b+4>>2];d:{if(h>>>0>>0){i=O[b|0];d=N[(h<<2)+c>>2];break d}i=O[b|0];d=(N[((i<<2)+k|0)-4>>2]-N[k>>2]|0)/2|0}q=(h<<2)+l|0;e:{f:{if(!i){break f}b=0;g=-1;g:{h:{while(1){m=b<<2;n=N[m+k>>2];if((n|0)==(d|0)){break g}if((d|0)<(n|0)){break h}g=b;b=b+1|0;if((i|0)!=(b|0)){continue}break}if(!i){break f}b=N[((i<<2)+j|0)-4>>2];break e}if((g|0)<0){break f}i=d;b=g<<2;d=N[b+k>>2];b=jb(i-d|0,N[j+m>>2]-N[b+j>>2]|0,n-d|0);break e}b=N[j+m>>2];break e}b=N[j>>2]}N[q>>2]=b;h=h+1|0;if(e>>>0>h>>>0){continue}break}j=N[f>>2];d=-1;if(!j){break a}f=N[f+136>>2];c=f;if(!e){break c}h=0;c=e;i=0;while(1){d=65536;b=0;i:{if(!c){break i}while(1){j:{if(b>>>0>=e>>>0){d=d>>1;break j}g=N[(b<<2)+l>>2];g=i>>>b&1?g:65536-g|0;if((g|0)<=0){d=0;b=c;break i}if(g>>>0>65535){break j}c=d>>31;c=(c^d)-c|0;k:{if(c+(g>>>8|0)>>>0<=8190){c=T(c,g)+32768>>>16|0;break k}k=c&65535;c=T(k,g>>>16|0)+T(g,c>>>16|0)+(T(k,g&65535)+32768>>>16)|0}d=(d|0)<0?0-c|0:c}b=b+1|0;c=e;if(b>>>0>>0){continue}break}b=e}c=f+(i<<2)|0;if(N[c>>2]!=(d|0)){N[c>>2]=d;h=1}c=b;i=i+1|0;if((i|0)!=(j|0)){continue}break}break b}j=N[f>>2];d=-1;if(!j){break a}c=N[f+136>>2]}g=j&3;d=0;l:{if(j>>>0<4){h=0;b=0;break l}i=j&-4;h=0;b=0;while(1){e=b<<2;f=e+c|0;if(N[f>>2]!=65536){N[f>>2]=65536;h=1}f=c+(e|4)|0;if(N[f>>2]!=65536){N[f>>2]=65536;h=1}f=c+(e|8)|0;if(N[f>>2]!=65536){N[f>>2]=65536;h=1}e=c+(e|12)|0;if(N[e>>2]!=65536){N[e>>2]=65536;h=1}b=b+4|0;if((i|0)!=(b|0)){continue}break}}if(!g){break b}while(1){e=c+(b<<2)|0;if(N[e>>2]!=65536){N[e>>2]=65536;h=1}b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=-1;if(!(h&255)){break a}N[a+8>>2]=N[a+8>>2]&-32769|((o|0)!=0)<<15;d=0}La=l- -64|0;return d|0}function jg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(N[a+72>>2]==1869968492){if(c){m=N[c>>2];j=N[c+4>>2]}c=0;f=M[a+110>>1];a:{if(!f){break a}h=N[a+112>>2];c=N[h+4>>2];e=N[h>>2];if((f|0)<2){g=c;d=e;break a}i=(f<<3)+h|0;f=h+8|0;d=e;g=c;while(1){k=N[h+12>>2];g=(g|0)<(k|0)?k:g;c=(c|0)>(k|0)?k:c;h=N[h+8>>2];d=(d|0)<(h|0)?h:d;e=(e|0)>(h|0)?h:e;h=f;f=f+8|0;if(i>>>0>f>>>0){continue}break}}h=j&63;n=h+(g&63)|0;f=m&63;l=f+(d&63)|0;o=h+(c&63)|0;p=f+(e&63)|0;h=6;f=g>>6;g=j>>6;f=f+g|0;i=d>>6;d=m>>6;i=i+d|0;k=g+(c>>6)|0;m=d+(e>>6)|0;b:{c:{d:{switch(b-2|0){default:g=i+(l+63>>>6|0)|0;c=m+(p>>>6|0)|0;e=g-c|0;h=2;f=f+(n+63>>>6|0)|0;d=k+(o>>>6|0)|0;j=f-d|0;break c;case 0:d=l+32|0;g=i+(d>>>6|0)|0;b=p+31|0;c=(b>>>6|0)+m|0;e:{if((g|0)==(c|0)){if((((d&63)+(b&63)|0)-31|0)<=31){g=c;c=c-1|0;break e}g=c+1|0}}e=n+32|0;f=f+(e>>>6|0)|0;b=o+31|0;d=(b>>>6|0)+k|0;f:{if((f|0)==(d|0)){if((((e&63)+(b&63)|0)-31|0)<=31){f=d;d=d-1|0;break f}f=d+1|0}}j=f-d|0;h=1;e=g-c|0;b=e+15>>3&-2;break b;case 1:g=N[a>>2];e=N[g+184>>2];d=N[g+192>>2];b=(d|0)>(e|0)?e:d;c=N[g+200>>2];f=((n-((b|0)<(c|0)?b:c)|0)+63>>6)+f|0;b=(d|0)<(e|0)?e:d;d=(o-((b|0)>(c|0)?b:c)>>6)+k|0;j=f-d|0;h=5;k=i;i=N[g+180>>2];e=N[g+188>>2];b=(e|0)>(i|0)?i:e;c=N[g+196>>2];g=k+((l-((b|0)<(c|0)?b:c)|0)+63>>6)|0;b=(e|0)<(i|0)?i:e;c=(p-((b|0)>(c|0)?b:c)>>6)+m|0;e=T(g-c|0,3);b=e+3&-4;break b;case 2:break d}}g=l;l=N[a>>2];e=N[l+184>>2];d=N[l+192>>2];b=(d|0)>(e|0)?e:d;c=N[l+200>>2];g=((g-((b|0)<(c|0)?b:c)|0)+63>>6)+i|0;b=(d|0)<(e|0)?e:d;c=(p-((b|0)>(c|0)?b:c)>>6)+m|0;e=g-c|0;i=N[l+180>>2];j=N[l+188>>2];b=(i|0)>(j|0)?i:j;d=N[l+196>>2];f=((n+((b|0)>(d|0)?b:d)|0)+63>>6)+f|0;b=(i|0)<(j|0)?i:j;d=(((b|0)<(d|0)?b:d)+o>>6)+k|0;j=T(f-d|0,3)}b=e}N[a+104>>2]=f;N[a+100>>2]=c;N[a+76>>2]=j;L[a+94|0]=h;M[a+92>>1]=256;N[a+80>>2]=e;N[a+84>>2]=b;a=(c|0)<-32768|(g|0)>32767|(d|0)<-32768|(f|0)>32767}else{a=1}return a}function sf(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-72|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1719034226,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(Xi(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(Xi(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=Xi(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<16?275552:N[d+12>>2]}function Hc(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-84|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1297498450,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(ih(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(ih(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=ih(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<12?275552:N[d+12>>2]}function Ig(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-76|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1635148146,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(Wi(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(Wi(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=Wi(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<8?275552:N[d+12>>2]}function Qe(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=La-272|0;La=n;N[n+268>>2]=0;s=Lk(a,b,c,f,g,n+268|0,n);i=N[a+96>>2];c=N[i+64>>2];a:{if(s){f=N[i+68>>2];r=N[n+268>>2];m=f>>>0>>0?f:r;j=m-c|0;b:{if(j>>>0<2){break b}h=N[i+144>>2]|32;N[i+144>>2]=h;if(c>>>0>=m>>>0){break b}o=N[i+80>>2];g=-1;f=c;t=m+(c^-1)|0;if(t>>>0>=3){q=j&-4;while(1){l=o+T(f,20)|0;p=N[l+8>>2];g=g>>>0

>>0?g:p;p=N[l+28>>2];g=g>>>0

>>0?g:p;p=N[l+48>>2];g=g>>>0

>>0?g:p;l=N[l+68>>2];g=g>>>0>>0?g:l;f=f+4|0;k=k+4|0;if((q|0)!=(k|0)){continue}break}}l=j&3;if(l){k=0;while(1){q=N[(o+T(f,20)|0)+8>>2];g=g>>>0>>0?g:q;f=f+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(j&1){f=o+T(c,20)|0;if(N[f+8>>2]!=(g|0)){N[f+4>>2]=N[f+4>>2]|3}c=c+1|0}if(!t){break b}while(1){f=o+T(c,20)|0;if(N[f+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[f+4>>2]=N[f+4>>2]|3}f=o+T(c+1|0,20)|0;if(N[f+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[f+4>>2]=N[f+4>>2]|3}c=c+2|0;if((m|0)!=(c|0)){continue}break}}Kk(a,b,n,d,e,r);break a}if(!(O[i+16|0]&64)){break a}a=N[i+68>>2];b=N[n+268>>2];b=a>>>0>>0?a:b;d=b-c|0;if(d>>>0<2){break a}h=N[i+144>>2]|32;N[i+144>>2]=h;if(b>>>0<=c>>>0){break a}a=N[i+80>>2];g=-1;f=c;o=b+(c^-1)|0;if(o>>>0>=3){m=d&-4;while(1){e=a+T(f,20)|0;j=N[e+8>>2];g=g>>>0>>0?g:j;j=N[e+28>>2];g=g>>>0>>0?g:j;j=N[e+48>>2];g=g>>>0>>0?g:j;e=N[e+68>>2];g=e>>>0>g>>>0?g:e;f=f+4|0;k=k+4|0;if((m|0)!=(k|0)){continue}break}}e=d&3;if(e){k=0;while(1){m=N[(a+T(f,20)|0)+8>>2];g=g>>>0>>0?g:m;f=f+1|0;k=k+1|0;if((e|0)!=(k|0)){continue}break}}if(d&1){d=a+T(c,20)|0;if(N[d+8>>2]!=(g|0)){N[d+4>>2]=N[d+4>>2]|2}c=c+1|0}if(!o){break a}while(1){d=a+T(c,20)|0;if(N[d+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[d+4>>2]=N[d+4>>2]|2}d=a+T(c+1|0,20)|0;if(N[d+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[d+4>>2]=N[d+4>>2]|2}c=c+2|0;if((b|0)!=(c|0)){continue}break}}La=n+272|0;return s}function Iq(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1818914159;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];d:{e:{f:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1986686319;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break h}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1953131887;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function DC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!c){break a}p=(d<<1)+4|0;if(!p){while(1){m=m+8|0;if(m>>>0>>0){continue}break a}}n=d<<3;while(1){o=0;l=0;while(1){i=l-8|0;i=i>>>0>=n>>>0?440592:(i<<1)+b|0;g=P[i>>1];d=l>>>0>=n>>>0?440592:(l<<1)+b|0;e=P[d>>1];j=l-16|0;j=j>>>0>=n>>>0?440592:(j<<1)+b|0;h=P[j>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+16>>1]=(k+e&65534)>>>1;M[a>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+2>>1];e=P[d+2>>1];h=P[j+2>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+18>>1]=(k+e&65534)>>>1;M[a+2>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+4>>1];e=P[d+4>>1];h=P[j+4>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+20>>1]=(k+e&65534)>>>1;M[a+4>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+6>>1];e=P[d+6>>1];h=P[j+6>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+22>>1]=(k+e&65534)>>>1;M[a+6>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+8>>1];e=P[d+8>>1];h=P[j+8>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+24>>1]=(k+e&65534)>>>1;M[a+8>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+10>>1];e=P[d+10>>1];h=P[j+10>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+26>>1]=(k+e&65534)>>>1;M[a+10>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+12>>1];e=P[d+12>>1];h=P[j+12>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+28>>1]=(k+e&65534)>>>1;M[a+12>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;i=P[i+14>>1];f=P[d+14>>1];j=P[j+14>>1];d=(i+((f+j&65534)>>>1|0)&65534)>>>1|0;i=i+1|0;M[a+30>>1]=(i+((d+f&65534)>>>1|0)&65534)>>>1;M[a+14>>1]=(i+((d+j&65534)>>>1|0)&65534)>>>1;l=l+8|0;a=a+32|0;o=o+2|0;if(p>>>0>o>>>0){continue}break}b=(n<<1)+b|0;m=m+8|0;if(m>>>0>>0){continue}break}}}function Wl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+204>>2];if(h>>>0>=2){d=N[a+168>>2];c=N[a+8>>2];b=N[a+12>>2];if(b>>>0>=16){b=b^16;N[a+12>>2]=b;e=c>>>16|0;N[a+8>>2]=e;c=N[a+16>>2];f=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=e|f<<16;N[a+8>>2]=c}f=c>>>b|0;d=d+((f&255)<<2)|0;e=O[d|0];if(e>>>0>=9){d=(P[d+2>>1]+(N[(e<<2)+169360>>2]&f>>>8)<<2)+d|0;e=O[d|0];b=b+8|0}f=N[a+172>>2];j=P[d+2>>1];b=(e&255)+b|0;if(b>>>0>=16){b=b^16;N[a+12>>2]=b;d=c>>>16|0;N[a+8>>2]=d;c=N[a+16>>2];e=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=d|e<<16;N[a+8>>2]=c}g=c>>>b|0;d=f+((g&255)<<2)|0;e=O[d|0];if(e>>>0>=9){d=(P[d+2>>1]+(N[(e<<2)+169360>>2]&g>>>8)<<2)+d|0;e=O[d|0];b=b+8|0}b=b+(e&255)|0;d=P[d+2>>1];e=d<<2;g=P[e+169280>>1];f=O[e+169282|0];l=g;a:{if((d|0)!=25){if(b>>>0>=16){b=b^16;N[a+12>>2]=b;d=c>>>16|0;N[a+8>>2]=d;c=N[a+16>>2];e=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=d|e<<16;N[a+8>>2]=c}N[a+12>>2]=b+f;b=N[(f<<2)+169392>>2]&c>>>b;break a}b:{c:{if(b>>>0<=15){d=c>>>16|0;e=b+16|0;k=c>>>b&65535;i=N[a+20>>2];b=N[a+16>>2];break c}g=b^16;N[a+12>>2]=g;c=c>>>16|0;N[a+8>>2]=c;b=N[a+16>>2];d=O[b|0]|O[b+1|0]<<8;i=N[a+20>>2]-2|0;N[a+20>>2]=i;b=b+2|0;N[a+16>>2]=b;c=c|d<<16;N[a+8>>2]=c;k=c>>>g&65535;e=g+16|0;if(g>>>0>4294967279){break b}}N[a+8>>2]=d;e=e^16;N[a+12>>2]=e;c=O[b|0]|O[b+1|0]<<8;N[a+20>>2]=i-2;N[a+16>>2]=b+2;c=c<<16|d;N[a+8>>2]=c}b=f-16|0;N[a+12>>2]=b+e;b=(N[(b<<2)+169392>>2]&c>>>e)<<16|k}N[a+192>>2]=l+b;d:{e:{switch(j|0){case 1:b=N[a+220>>2]+1|0;break d;case 0:b=N[a+216>>2];break d;default:break e}}b=j-2|0}N[a+216>>2]=N[a+220>>2];b=b-(b>>>0>=h>>>0?h:0)|0;N[a+220>>2]=b;c=N[a+576>>2]+(b<<6)|0;N[a+112>>2]=c;N[a+176>>2]=N[((b>>>3&536870908)+a|0)+592>>2]>>>b&1;N[a+256>>2]=N[N[a+120>>2]+(O[c|0]<<2)>>2];N[a+108>>2]=((O[b+N[a+580>>2]|0]&3)<<9)+169536}}function tk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}i=N[b+12>>2]-2|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=O[a|0]|O[a+1|0]<<8;if(!f){return 1}g=a+2|0;if(g>>>0>e>>>0){break b}g=e-g|0;e=(f<<8|f>>>8)&65535;f=e<<1;if(g>>>0>>0){break b}i=i-f|0;N[b+12>>2]=i;if((i|0)<=0){break b}n=e>>>0<=1?1:e;l=N[c>>2];while(1){j=N[b+4>>2];i=((k<<1)+a|0)+2|0;if(j>>>0>i>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-i>>>0<2){break a}g=N[b+12>>2];d=g-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[i|0]|O[i+1|0]<<8;c:{if(!d){break c}f=((d<<8|d>>>8)&65535)+l|0;d:{if(f>>>0>>0|e>>>0>>0|e-f>>>0<2){break d}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}h=O[f|0]|O[f+1|0]<<8;g=((h<<8|h>>>8)&65535)<<1;if(h){h=f+2|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break d}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break d}}f=(f+g|0)+2|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<2){break d}g=d-2|0;N[b+12>>2]=g;if((d|0)<3){break d}d=O[f|0]|O[f+1|0]<<8;e:{if(!d){d=2;break e}d=((d<<8|d>>>8)&65535)<<1;h=d-2|0;if(!h){d=2;break e}m=f+2|0;if(e>>>0>>0|h>>>0>e-m>>>0){break d}g=g-h|0;N[b+12>>2]=g;if((g|0)<=0){break d}}d=d+f|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break d}f=g-2|0;N[b+12>>2]=f;if((g|0)<3){break d}h=O[d|0]|O[d+1|0]<<8;g=((h<<8|h>>>8)&65535)<<1;if(h){h=d+2|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break d}f=f-g|0;N[b+12>>2]=f;if((f|0)<=0){break d}}d=(d+g|0)+2|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break d}g=f-2|0;N[b+12>>2]=g;if((f|0)<3){break d}f=O[d|0]|O[d+1|0]<<8;if(!f){break c}d=d+2|0;if(d>>>0>e>>>0){break d}d=e-d|0;e=((f<<8|f>>>8)&65535)<<2;if(d>>>0>>0){break d}e=g-e|0;N[b+12>>2]=e;if((e|0)>0){break c}}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[i|0]=0;L[i+1|0]=0;l=N[c>>2]}d=1;k=k+1|0;if((n|0)!=(k|0)){continue}break}}return d}return 0}function sh(a){var b=0;b=5;a:{b:{c:{d:{if((a|0)<=1315009121){if((a|0)<=1215655526){if((a|0)<=1130918514){if((a|0)<=1098018152){if((a|0)==1097100397){break b}if((a|0)!=1098015074){break c}break b}if((a|0)==1098018153){break b}if((a|0)!=1098281844){break c}break b}if((a|0)<=1164736876){if((a|0)==1130918515){break b}if((a|0)!=1131442804){break c}break b}if((a|0)==1164736877|(a|0)==1214346354){break b}if((a|0)!=1214603890){break c}break b}if((a|0)<=1298230883){if((a|0)<=1265131889){if((a|0)==1215655527){break a}if((a|0)!=1232363884){break c}break a}if((a|0)==1265131890){break b}if((a|0)!=1283023977){break c}break b}e:{switch(a-1298230884|0){case 0:case 5:break b;case 1:case 2:case 3:case 4:break c;default:break e}}switch(a-1298494051|0){case 0:case 12:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;default:break d}}if((a|0)<=1349678184){if((a|0)<=1348562028){if((a|0)<=1315663726){if((a|0)==1315009122){break b}if((a|0)!=1315070324){break c}break b}if((a|0)==1315663727|(a|0)==1332898664){break b}if((a|0)!=1333094258){break c}break b}f:{switch(a-1349020777|0){case 0:case 7:break b;case 1:case 2:case 3:case 4:case 5:case 6:break c;default:break f}}if((a|0)==1348562029){break b}if((a|0)!=1349021304){break c}break b}if((a|0)<=1399809891){if((a|0)<=1383427697){if((a|0)==1349678185){break b}if((a|0)!=1383032935){break c}break b}if((a|0)==1383427698){break a}if((a|0)==1398893938){break b}if((a|0)!=1398895202){break c}break b}if((a|0)<=1416126816){g:{switch(a-1399809892|0){case 0:case 11:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break g}}if((a|0)!=1400468067){break c}break b}if((a|0)==1416126817){break b}if((a|0)!=1499822697){break c}break b}if((a|0)==1298493028){break b}}b=4}return b}return 0}function _s(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=La-16|0;La=i;k=N[a+552>>2];a:{b:{c:{j=P[(b?a+296|0:a+216|0)+34>>1];if(!j){break c}f=N[(b?856:852)+a>>2];l=f+N[(b?756:752)+a>>2]|0;h=N[a+104>>2];if(c>>>0>>0){f=f+(c<<2)|0;if(f+4>>>0>l>>>0){break c}g=N[h+20>>2];d:{if(g){if(Qa[g|0](h,f,0,0)|0){break c}g=N[h+4>>2];break d}g=N[h+4>>2];if(g>>>0>>0){break c}}N[h+8>>2]=f;if(f+1>>>0>=g>>>0){break c}e:{f:{g=N[h+20>>2];g:{if(g){if((Qa[g|0](h,f,i+12|0,2)|0)!=2){break c}f=N[h+8>>2];g=i+12|0;break g}g=N[h>>2];if(!g){break f}g=f+g|0}g=O[g|0]|O[g+1|0]<<8;j=g<<8|g>>>8;break e}j=0}g=f+2|0;N[h+8>>2]=g;M[e>>1]=j;if(Q[h+4>>2]<=f+3>>>0){break c}h:{i:{f=N[h+20>>2];j:{if(f){if((Qa[f|0](h,g,i+12|0,2)|0)!=2){break c}g=N[h+8>>2];f=i+12|0;break j}f=N[h>>2];if(!f){break i}f=f+g|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break h}f=0}N[h+8>>2]=g+2;M[d>>1]=f;break a}f=f+(j<<2)|0;m=f-2|0;if(m>>>0>l>>>0){break c}g=f-4|0;f=N[h+20>>2];k:{if(f){if(Qa[f|0](h,g,0,0)|0){break c}f=N[h+4>>2];break k}f=N[h+4>>2];if(g>>>0>f>>>0){break c}}N[h+8>>2]=g;if(g+1>>>0>=f>>>0){break c}l:{m:{f=N[h+20>>2];n:{if(f){if((Qa[f|0](h,g,i+12|0,2)|0)!=2){break c}m=N[h+8>>2]+2|0;f=i+12|0;break n}f=N[h>>2];if(!f){break m}f=f+g|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break l}f=0}N[h+8>>2]=m;M[e>>1]=f;f=g+(c-j<<1)|0;if(f+6>>>0>l>>>0){M[d>>1]=0;break a}f=f+4|0;g=N[h+20>>2];o:{if(g){if(Qa[g|0](h,f,0,0)|0){break o}break b}if(f>>>0<=Q[h+4>>2]){break b}}M[d>>1]=0;break a}M[d>>1]=0;M[e>>1]=0;break a}N[h+8>>2]=f;n=d,o=xb(h,i+12|0),M[n>>1]=o}if(k){N[i+8>>2]=P[e>>1];f=M[d>>1];N[i+4>>2]=f;p:{q:{if(b){b=N[k+12>>2];if(b){Qa[b|0](a,c,i+8|0)|0}b=N[k+16>>2];if(b){break q}break p}b=N[k>>2];if(b){Qa[b|0](a,c,i+8|0)|0}b=N[k+4>>2];if(!b){break p}}Qa[b|0](a,c,i+4|0)|0;f=N[i+4>>2]}M[e>>1]=N[i+8>>2];M[d>>1]=f}La=i+16|0}function wl(a,b,c,d,e){var f=0,g=0,h=0,i=0;i=N[a+24>>2];f=N[a+36>>2];if(!(f|N[a+68>>2]?(f|0)!=1:0)){a:{if(!N[a+4>>2]){break a}b:{if((c|0)!=-1){break b}c=0;if(!N[b>>2]){break b}f=b;while(1){c=c+1|0;h=N[f+4>>2];f=f+4|0;if(h){continue}break}}h=(e|0)==-1?c-d|0:e;if(h>>>0>268435455){break a}f=N[a+68>>2];e=h+f|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break a}f=N[a+68>>2]}c:{if(f|!d){break c}N[a+132>>2]=0;if((d|0)<=0){break c}e=(d<<2)+b|0;g=e-4|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+92>>2]=f;N[a+132>>2]=1;if(b>>>0>=g>>>0){break c}g=e-8|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=2;N[a+96>>2]=f;if(b>>>0>=g>>>0){break c}g=e-12|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=3;N[a+100>>2]=f;if(b>>>0>=g>>>0){break c}g=e-16|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=4;N[a+104>>2]=f;if(b>>>0>=g>>>0){break c}f=N[e-20>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=5;N[a+108>>2]=f}f=(d<<2)+b|0;if((h|0)>0){g=(h<<2)+f|0;while(1){d=N[f>>2];if(!(d>>>0<55296|d-1114112>>>0>4293910527)){d=i}e=N[a+68>>2];h=e+1|0;d:{if(!(!h|h>>>0>2])){if(!gb(a,h)){break d}e=N[a+68>>2]}e=N[a+80>>2]+T(e,20)|0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;N[e>>2]=d;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;L[e+16|0]=0;L[e+17|0]=0;L[e+18|0]=0;L[e+19|0]=0;N[e+8>>2]=f-b>>2;N[e+4>>2]=0;N[a+68>>2]=N[a+68>>2]+1}f=f+4|0;if(g>>>0>f>>>0){continue}break}}e=0;N[a+136>>2]=0;b=(c<<2)+b|0;e:{if(b>>>0<=f>>>0){break e}while(1){d=N[f>>2];if(!(d>>>0<55296|d-1114112>>>0>4293910527)){d=i}N[a+136>>2]=e+1;N[((e<<2)+a|0)+112>>2]=d;f=f+4|0;if(b>>>0<=f>>>0){break e}e=N[a+136>>2];if(e>>>0<=4){continue}break}}N[a+36>>2]=1}return}ba(24107,14165,530,16333);B()}function Bp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a=rf(b,c);a:{if(a){break a}e=N[b+2740>>2];if(!(e&1)){a=Ap(b,0);if(a){break a}zp(b,d,0);e=N[b+2740>>2]}if(!(e&2)){a=Ap(b,1);if(a){break a}zp(b,d,1);e=N[b+2740>>2]}if(!(e&1)){yp(b,0);a=N[b+56>>2];b:{if((a|0)<=0){break b}e=N[b- -64>>2];j=e+T(a,44)|0;if(!(L[b+2744|0]&1)){while(1){h=N[e+8>>2]-N[e+4>>2]|0;g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+16>>2]=h+N[f+16>>2];M[f>>1]=P[f>>1]|4;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break b}}while(1){h=N[e+8>>2];g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+16>>2]=h;M[f>>1]=P[f>>1]|4;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break}}Hg(b,0);Gg(b,0);e=N[b+2740>>2]}if(!(e&2)){yp(b,1);a=N[b+1404>>2];c:{if((a|0)<=0){break c}e=N[b+1412>>2];j=e+T(a,44)|0;if(!(O[b+2744|0]&2)){while(1){h=N[e+8>>2]-N[e+4>>2]|0;g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+20>>2]=h+N[f+20>>2];M[f>>1]=P[f>>1]|8;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break c}}while(1){h=N[e+8>>2];g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+20>>2]=h;M[f>>1]=P[f>>1]|8;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break}}Hg(b,1);Gg(b,1)}a=N[b+24>>2];if((a|0)<=0){return 0}e=N[b+28>>2];f=e+T(a,40)|0;d=N[c+4>>2];b=N[c+8>>2];while(1){N[d>>2]=N[e+16>>2];N[d+4>>2]=N[e+20>>2];a=0;c=P[e>>1];L[b|0]=c&1?0:c&2?2:1;b=b+1|0;d=d+8|0;e=e+40|0;if(f>>>0>e>>>0){continue}break}}return a|0}function mB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La+-64|0;La=h;i=N[a+8>>2];e=18;a:{b:{c:{if(N[b+72>>2]!=N[a+16>>2]){break c}e=19;if((c|0)!=5){break b}g=N[b+156>>2];f=N[g+4>>2];if(f&1){c=N[b+88>>2];if(c){Qa[N[i+8>>2]](i,c);g=N[b+156>>2];f=N[g+4>>2]}N[b+88>>2]=0;N[g+4>>2]=f&-2}g=0;e=98;f=0;if(jg(b,0,d)){break b}c=0;d:{l=b+76|0;e=N[l>>2];if(!(!e|!N[b+84>>2])){k=N[a+64>>2];L[b+94|0]=2;M[b+92>>1]=255;f=e;e=k<<1;f=f+e|0;N[b+76>>2]=f;j=e+N[b+80>>2]|0;N[b+80>>2]=j;N[b+84>>2]=j;if((f|j)<0){e=6;break d}e=0;e:{f:{if(!(!j|!f)){e=10;if((f|0)>(2147483647/(j>>>0)|0)){break d}g=T(f,j);e=Qa[N[i+4>>2]](i,g)|0;if(!e|(f|0)<=0){break f}C(e,0,g)}N[b+88>>2]=e;break e}N[b+88>>2]=e;if(e){break e}e=!e<<6;g=0;break c}e=N[b+156>>2];N[e+4>>2]=N[e+4>>2]|1;e=N[b+104>>2]+k|0;N[b+104>>2]=e;f=N[b+100>>2]-k|0;N[b+100>>2]=f;g=N[b+76>>2]-e<<6;f=0-(f<<6)|0;if(d){f=N[d>>2]+f|0;g=N[d+4>>2]+g|0}d=b+108|0;if(f|g){te(d,f,g)}N[h+16>>2]=8;N[h+12>>2]=d;N[h+8>>2]=l;N[h+56>>2]=N[a+64>>2];L[h+60|0]=O[a+68|0];L[h+61|0]=O[a+69|0];L[h+62|0]=O[a+70|0];e=Qa[N[a+56>>2]](N[a+52>>2],h+8|0)|0;if(e){break b}}N[b+72>>2]=1651078259;break a}N[b+88>>2]=0}f=0}a=N[b+156>>2];c=N[a+4>>2];if(c&1){d=N[b+88>>2];if(d){Qa[N[i+8>>2]](i,d);a=N[b+156>>2];c=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=c&-2}c=e}g:{if(!(f|g)){break g}d=M[b+110>>1];if((d|0)<=0){break g}b=N[b+112>>2];if(d>>>0>=4){e=d&-4;a=0;while(1){N[b>>2]=N[b>>2]-f;N[b+4>>2]=N[b+4>>2]-g;N[b+8>>2]=N[b+8>>2]-f;N[b+16>>2]=N[b+16>>2]-f;N[b+24>>2]=N[b+24>>2]-f;N[b+12>>2]=N[b+12>>2]-g;N[b+20>>2]=N[b+20>>2]-g;N[b+28>>2]=N[b+28>>2]-g;b=b+32|0;a=a+4|0;if((e|0)!=(a|0)){continue}break}}d=d&3;if(!d){break g}a=0;while(1){N[b>>2]=N[b>>2]-f;N[b+4>>2]=N[b+4>>2]-g;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}La=h- -64|0;return c|0}function mf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=La-528|0;La=h;N[h+16>>2]=N[a+60>>2];N[h+20>>2]=N[a+64>>2];N[h+12>>2]=c;N[h+8>>2]=b;N[h+4>>2]=e;N[h>>2]=d;c=h;a:{while(1){l=N[c>>2];i=N[c+4>>2];f=N[c+20>>2];b=(i|0)>(f|0);j=N[c+12>>2];b:{if(!((j|0)>=((b?f:i)|0)&(j|0)<=(((f|0)>(i|0)?f:i)|0))){b=N[c+16>>2];N[c+32>>2]=b;N[c+36>>2]=f;d=f+j|0;N[c+28>>2]=d>>1;e=i+j|0;N[c+12>>2]=e>>1;f=N[c+8>>2];j=f+l|0;N[c+8>>2]=j>>1;b=b+f|0;N[c+24>>2]=b>>1;N[c+20>>2]=d+e>>2;N[c+16>>2]=b+j>>2;c=c+16|0;break b}c:{if((f|0)==(i|0)){break c}m=b?1:2;g=N[a+92>>2];if((m|0)!=(g|0)){b=N[a+4>>2];n=(f|0)>=(i|0);e=n?f&b-1:((b+f|0)-1&0-b)-f|0;d=N[a+36>>2];k=N[a+8>>2];d:{if(!g){b=d;break d}g=N[a+80>>2];b=N[g+8>>2];o=d-b|0;if((o|0)<0){N[a+40>>2]=99;a=1;break a}e:{if((b|0)==(d|0)){b=d;break e}N[g+16>>2]=o>>2;if((e|0)>=(k|0)){b=P[g+12>>1];M[g+12>>1]=(b&8?16:32)|b}N[a+80>>2]=d;b=d+32|0;N[a+36>>2]=b;N[d+8>>2]=b;N[d+16>>2]=0;N[g+28>>2]=d;M[a+76>>1]=P[a+76>>1]+1}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}L[a+79|0]=0}if(!N[a+84>>2]){N[a+84>>2]=b;N[a+80>>2]=b;b=b+32|0;N[a+36>>2]=b}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}d=N[a+80>>2];N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=b;N[d+28>>2]=0;N[d+4>>2]=0;b=O[a+48|0];M[d+12>>1]=b;f:{g:{if(!n){M[d+12>>1]=b|8;g=40;if((e|0)>=(k|0)){break g}break f}g=16;if((e|0)<(k|0)){break f}}M[d+12>>1]=b|g}if(!N[a+88>>2]){N[a+88>>2]=d}M[a+78>>1]=1;N[a+92>>2]=m}b=N[a+72>>2];d=N[a+68>>2];if((f|0)<(i|0)){if(!yg(a,2,c,353,d,b)){break c}a=1;break a}N[c+20>>2]=0-f;N[c+12>>2]=0-j;N[c+4>>2]=0-i;e=O[a+78|0];b=yg(a,2,c,353,0-b|0,0-d|0);if(!(O[a+78|0]|!e)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}N[c+4>>2]=0-N[c+4>>2];if(!b){break c}a=1;break a}c=c-16|0}if(h>>>0<=c>>>0){continue}break}N[a+64>>2]=i;N[a+60>>2]=l;a=0}La=h+528|0;return a}function Hi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;g=La+-64|0;La=g;v=N[b+20>>2];w=N[b+16>>2];x=N[b+12>>2];p=N[b+4>>2];i=x-p|0;u=i>>31;y=N[b+28>>2];h=y-p|0;n=h>>31;c=UE(i,u,h,n);j=Pa;z=N[b+8>>2];q=N[b>>2];m=z-q|0;A=N[b+24>>2];e=A-q|0;k=e;r=m>>31;o=e>>31;f=UE(m,r,e,o);d=f+c|0;c=Pa+j|0;c=d>>>0>>0?c+1|0:c;a:{b:{j=N[a>>2];e=e>>31;e=(k^e)-e|0;f=h>>31;f=(f^h)-f|0;e=UE(j,j>>31,e>>>0>f>>>0?e:f,0);C=0-e|0;j=Pa;B=0-(j+((e|0)!=0)|0)|0;f=B;if(C>>>0>d>>>0&(f|0)>=(c|0)|(c|0)<(f|0)){break b}l=d;d=c;c=UE(h,n,h,n);s=Pa;t=UE(k,o,k,o);f=t+c|0;c=Pa+s|0;c=(f>>>0>>0?c+1|0:c)+j|0;s=f;f=e+f|0;c=s>>>0>f>>>0?c+1|0:c;s=f;l=f>>>0>>0;f=c;if(l&(c|0)<=(d|0)|(c|0)<(d|0)){break b}c=UE(i,u,k,o);d=Pa;i=UE(h,n,m,r);m=c-i|0;c=d-(Pa+(c>>>0>>0)|0)|0;l=c;c=c>>31;i=c^m;d=e>>>0>>0;c=(c^l)-((c>>>0>i>>>0)+c|0)|0;if(d&(j|0)<=(c|0)|(c|0)>(j|0)){break b}c=v-p|0;i=c;l=c>>31;d=UE(c,l,h,n);u=Pa;c=w-q|0;m=c;r=c>>31;t=UE(c,r,k,o);d=t+d|0;c=Pa+u|0;c=d>>>0>>0?c+1|0:c;if(d>>>0>>0&(B|0)>=(c|0)|(c|0)<(B|0)|(d>>>0>s>>>0&(c|0)>=(f|0)|(c|0)>(f|0))){break b}c=UE(i,l,k,o);d=Pa;h=UE(h,n,m,r);k=c-h|0;c=d-(Pa+(c>>>0>>0)|0)|0;i=c;c=c>>31;h=c^k;d=e>>>0>>0;c=(c^i)-((c>>>0>h>>>0)+c|0)|0;if(d&(j|0)<=(c|0)|(c|0)>(j|0)){break b}b=Gi(a,q,p,A,y);break a}c=v+y|0;N[g+44>>2]=c>>1;d=c;c=(v+x|0)+2|0;e=d+c|0;N[g+36>>2]=e>>2;d=c;c=p+x|0;d=d+c|0;N[g+20>>2]=d>>2;N[g+28>>2]=(d+e|0)-1>>3;e=w+A|0;N[g+40>>2]=e>>1;N[g+12>>2]=c>>1;c=q+z|0;N[g+8>>2]=c>>1;d=e;e=(w+z|0)+2|0;d=d+e|0;N[g+32>>2]=d>>2;c=c+e|0;N[g+16>>2]=c>>2;N[g+24>>2]=(c+d|0)-1>>3;c=N[b+4>>2];N[g>>2]=N[b>>2];N[g+4>>2]=c;c=N[b+28>>2];N[g+48>>2]=N[b+24>>2];N[g+52>>2]=c;b=0;if(!Hi(a,g)){break a}b=Hi(a,g+24|0)}La=g- -64|0;return b}function Ic(){var a=0,b=0,c=0;a:{b=N[147449];b:{if(b){break b}while(1){a=588072;b=db(1,112);if(b){N[b>>2]=1;N[b+4>>2]=1;if(N[147019]){N[147019]=0}a=N[147018];if(a){if((a|0)<=0){break a}N[147018]=a+1}N[b+12>>2]=588072;a=N[147023];N[b+16>>2]=N[147022];N[b+20>>2]=a;a=N[147025];N[b+24>>2]=N[147024];N[b+28>>2]=a;a=N[147027];N[b+32>>2]=N[147026];N[b+36>>2]=a;a=N[147029];N[b+40>>2]=N[147028];N[b+44>>2]=a;a=N[147031];N[b+48>>2]=N[147030];N[b+52>>2]=a;a=N[147033];N[b+56>>2]=N[147032];N[b+60>>2]=a;a=N[147035];c=b- -64|0;N[c>>2]=N[147034];N[c+4>>2]=a;a=N[147037];N[b+72>>2]=N[147036];N[b+76>>2]=a;a=b}c:{if(!N[a+4>>2]){break c}b=N[a+80>>2];d:{if(!b){N[a+80>>2]=0;N[a+48>>2]=0;N[a+16>>2]=193;break d}Qa[b|0](N[a+48>>2]);N[a+80>>2]=0;N[a+48>>2]=0;N[a+16>>2]=193;if(!N[a+4>>2]){break c}}b=N[a+88>>2];e:{if(!b){N[a+88>>2]=0;N[a+56>>2]=0;N[a+24>>2]=194;break e}Qa[b|0](N[a+56>>2]);N[a+88>>2]=0;N[a+56>>2]=0;N[a+24>>2]=194;if(!N[a+4>>2]){break c}}b=N[a+92>>2];f:{if(!b){N[a+92>>2]=0;N[a+60>>2]=0;N[a+28>>2]=195;break f}Qa[b|0](N[a+60>>2]);N[a+92>>2]=0;N[a+60>>2]=0;N[a+28>>2]=195;if(!N[a+4>>2]){break c}}c=N[a+96>>2];g:{if(!c){N[a+96>>2]=0;N[a- -64>>2]=0;N[a+32>>2]=196;break g}b=a- -64|0;Qa[c|0](N[b>>2]);N[a+96>>2]=0;N[b>>2]=0;N[a+32>>2]=196;if(!N[a+4>>2]){break c}}b=N[a+100>>2];h:{if(!b){N[a+100>>2]=0;N[a+68>>2]=0;N[a+36>>2]=197;break h}Qa[b|0](N[a+68>>2]);N[a+100>>2]=0;N[a+68>>2]=0;N[a+36>>2]=197;if(!N[a+4>>2]){break c}}b=N[a+104>>2];i:{if(!b){N[a+104>>2]=0;N[a+72>>2]=0;N[a+40>>2]=198;break i}Qa[b|0](N[a+72>>2]);N[a+104>>2]=0;N[a+72>>2]=0;N[a+40>>2]=198;if(!N[a+4>>2]){break c}}N[a+4>>2]=0}b=N[147449];if(!b){N[147449]=a;return a}if((a|0)==588072){break b}Xe(a);b=N[147449];if(!b){continue}break}}return b}ba(23506,14099,260,16403);B()}function ql(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!b){break i}c=N[b>>2];if(!c){break i}if((c|0)<=0){break h}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;e=N[b+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;f=b;if(!d){break a}if(e>>>0<12){break e}N[a+12>>2]=c-12;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))){break e}if(qh(d+8|0,a,d)){break f}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break e}while(1){L[a+24|0]=1;f=N[a+32>>2];d=N[f+12>>2];N[a+4>>2]=d;e=N[f+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){break a}if(e>>>0<12){break e}N[a+12>>2]=c-12;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))){break e}if(qh(d+8|0,a,d)){break f}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}break e}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a+28>>2]){break d}N[a+28>>2]=0;if(Q[a+4>>2]>d>>>0){break e}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<12){break e}c=N[a+12>>2]-12|0;N[a+12>>2]=c;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))|(c|0)<=0){break e}c=qh(d+8|0,a,d);if(N[a+28>>2]){break e}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(c){break c}break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(b);return 275552}ab(f);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function ze(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=La-48|0;La=c;a:{if(!a){f=b;break a}if(P[a+8>>1]!=3){f=b;break a}b:{a=N[a+4>>2];if((a|0)<=1936353650){if((a|0)==1651074869|(a|0)==1734484e3|(a|0)==1785686113){break b}f=b;break a}if((a|0)==1936353651|(a|0)==2002873971){break b}if((a|0)!=1937337698){f=b;break a}f=b|61440;break a}c:{d:{if((a|0)<=1785686112){if((a|0)==1651074869){break d}if((a|0)!=1734484e3){break a}N[c+40>>2]=N[110089];a=N[110088];N[c+32>>2]=N[110087];N[c+36>>2]=a;a=N[110086];N[c+24>>2]=N[110085];N[c+28>>2]=a;e=c+24|0;a=21546;break c}if((a|0)!=1785686113){if((a|0)!=2002873971){if((a|0)!=1936353651){break a}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=19507;e=c+24|0;a=21661;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=19597;e=c+24|0;a=21361;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=20468;e=c+24|0;a=21746;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=21552;e=c+24|0;a=21943}while(1){e:{f:{a=ki(a);g:{if((a|0)==-1){break g}d=ki(20334);if((d|0)==-1){break g}if(O[a+441616|0]<216){break f}}N[147316]=28;a=-1;break e}g=a<<1|d<<16|1;a=O[d+441616|0]-202|0;if(!(a>>>0>8|!(1<>2]=0;N[d>>2]=g;a=d;break e}a=g}if((a|0)==-1){a=N[e+4>>2];e=e+4|0;if(a){continue}break a}break}L[c+20|0]=b;L[c+21|0]=b>>>8;L[c+22|0]=b>>>16;L[c+23|0]=b>>>24;N[c+12>>2]=4;N[c+8>>2]=2;N[c+4>>2]=c+20;N[c>>2]=c+18;h:{if(xo(a,c+4|0,c+12|0,c,c+8|0)){break h}d=N[c+8>>2];if((d|0)==2){break h}b=0;e=0;if(d+1>>>0>=3){g=c+18|0;e=-2-d|0;h=e&-4;f=g+h|0;f=(O[f|0]<<16|O[f+1|0]<<8|O[f+2|0])<<8|O[(e|3)+g|0];e=h+4|0}d=2-d&3;if(!d){break h}while(1){f=O[(c+18|0)+e|0]|f<<8;e=e+1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}if(!(a&1)){_a(a)}}La=c+48|0;return f}function Ix(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;f=N[a+4>>2]&2147418112;a:{b:{if(d&16){if(f|O[a+9|0]&128){f=7;if(!(O[a+740|0]&16)){break a}}if(!c){break b}c:{if(O[a+292|0]){d=0;f=1;break c}h=c&7;if(P[a+372>>1]==65535){b=M[a+220>>1]-M[a+222>>1]|0;a=b>>31;a=(a^b)-a&65535;f=0;b=0;if(c>>>0>=8){d=c&-8;while(1){c=b<<2;N[c+e>>2]=a;N[(c|4)+e>>2]=a;N[(c|8)+e>>2]=a;N[(c|12)+e>>2]=a;N[(c|16)+e>>2]=a;N[(c|20)+e>>2]=a;N[(c|24)+e>>2]=a;N[(c|28)+e>>2]=a;b=b+8|0;if((d|0)!=(b|0)){continue}break}}if(!h){break a}d=0;while(1){N[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break a}b=M[a+442>>1]-M[a+444>>1]|0;a=b>>31;a=(a^b)-a&65535;f=0;b=0;if(c>>>0>=8){d=c&-8;while(1){c=b<<2;N[c+e>>2]=a;N[(c|4)+e>>2]=a;N[(c|8)+e>>2]=a;N[(c|12)+e>>2]=a;N[(c|16)+e>>2]=a;N[(c|20)+e>>2]=a;N[(c|24)+e>>2]=a;N[(c|28)+e>>2]=a;b=b+8|0;if((d|0)!=(b|0)){continue}break}}if(!h){break a}d=0;while(1){N[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break a}while(1){h=(d<<2)+e|0;d:{if(f){Qa[N[N[a+540>>2]+156>>2]](a,1,b+d|0,g+14|0,g+12|0);f=P[g+12>>1];break d}if(P[a+372>>1]!=65535){i=M[a+442>>1]-M[a+444>>1]|0;f=i>>31;f=(f^i)-f|0;break d}i=M[a+220>>1]-M[a+222>>1]|0;f=i>>31;f=(f^i)-f|0}N[h>>2]=f&65535;d=d+1|0;if((d|0)==(c|0)){break b}f=O[a+292|0];continue}}if(f|O[a+9|0]&128){f=7;if(!(O[a+740|0]&2)){break a}}if(!c){break b}d=0;if((c|0)!=1){h=c&1;c=c&-2;while(1){f=g+10|0;i=g+8|0;Qa[N[N[a+540>>2]+156>>2]](a,0,b+d|0,f,i);N[(d<<2)+e>>2]=P[g+8>>1];j=d|1;Qa[N[N[a+540>>2]+156>>2]](a,0,j+b|0,f,i);N[(j<<2)+e>>2]=P[g+8>>1];d=d+2|0;if((c|0)!=(d|0)){continue}break}f=0;if(!h){break a}}Qa[N[N[a+540>>2]+156>>2]](a,0,b+d|0,g+10|0,g+8|0);N[(d<<2)+e>>2]=P[g+8>>1]}f=0}La=g+16|0;return f|0}function Gk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-48|0;La=f;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=275552}g=N[d+64>>2];c=0;a:{if((vb(e,N[N[d+80>>2]+T(g,20)>>2])|0)==-1){break a}N[b+4>>2]=g;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];L[b+23|0]=O[b+22|0]?(g|0)==N[c+64>>2]?O[(N[c+80>>2]+T(g,20)|0)+15|0]:0:0;g=b+4|0;if(!kc(g,f+44|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[d+64>>2],N[f+44>>2],1,0);c=0;break a}c=275552;j=O[a+8|0]|O[a+9|0]<<8;if(j){c=((j<<8|j>>>8)&65535)+a|0}i=O[a+4|0]|O[a+5|0]<<8;j=O[a+6|0]|O[a+7|0]<<8;c=Re(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);e=O[a+10|0]|O[a+11|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}e=Re(e,N[N[d+80>>2]+T(N[g>>2],20)>>2]);b:{h=O[a+12|0]|O[a+13|0]<<8;if(c>>>0<((h<<8|h>>>8)&65535)>>>0){h=O[a+14|0]|O[a+15|0]<<8;h=(h<<8|h>>>8)&65535;if(h>>>0>e>>>0){break b}}c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[d+64>>2],N[g>>2]+1|0,1,0);c=0;break a}i=YE(i);c=T(e+T(c,h)|0,YE(j)+i|0);if((c|0)<0){c=275552}else{c=((c<<1)+a|0)+16|0}e=N[b+96>>2];if(N[e+156>>2]){h=N[b+88>>2];k=N[e+64>>2];N[f+36>>2]=N[b+4>>2];N[f+32>>2]=k;ib(e,h,17042,f+32|0)}c=ge(O[a+4|0]|O[a+5|0]<<8,b,a,c,N[d+88>>2]+T(N[d+64>>2],20)|0)|ge(O[a+6|0]|O[a+7|0]<<8,b,a,c+(i<<1)|0,N[d+88>>2]+T(N[b+4>>2],20)|0);c:{if((c|0)!=1){break c}a=N[b+96>>2];if(!N[a+156>>2]){break c}e=N[b+88>>2];i=N[a+64>>2];N[f+20>>2]=N[b+4>>2];N[f+16>>2]=i;ib(a,e,17100,f+16|0)}a=N[b+96>>2];if(N[a+156>>2]){e=N[b+88>>2];i=N[a+64>>2];N[f+4>>2]=N[b+4>>2];N[f>>2]=i;ib(a,e,17070,f)}d:{if(c){Sc(d,N[d+64>>2],N[g>>2]+1|0);break d}if(!(O[d+16|0]&64)){break d}wb(d,2,N[d+64>>2],N[g>>2]+1|0,1,0)}if(j){a=N[g>>2];N[g>>2]=a+1;Sc(d,N[d+64>>2],a+2|0)}N[d+64>>2]=N[g>>2];c=1}La=f+48|0;return c}function Wf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(d){N[d>>2]=0}g=4;a:{while(1){f=i;i=j;b:{while(1){c:{if(!g){break c}b=b+1|0;if(b>>>0>2]){break c}e=0;break a}e=4-g|0;l=O[b|0];h=l>>>g&15;if((h|0)==14){o=1;g=e;j=i;continue}if(h>>>0>9){break b}if((f|0)>=214748364){i=i+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}m=m+1|0;i=T(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){k=(f|0)<214748364&(n|0)<9;while(1){if(e){b=b+1|0;if(b>>>0>=Q[a+8>>2]){e=0;break a}l=O[b|0]}j=4-e|0;h=l>>>e&15;if(h>>>0>9){e=j;break d}if(!(f|h)){i=i-1|0;f=0;e=j;continue e}e=j;if(!k){continue}break}n=n+1|0;f=T(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){j=0;while(1){if(e){b=b+1|0;if(b>>>0>=Q[a+8>>2]){e=0;break a}l=O[b|0]}k=l>>>e&15;if(k>>>0<=9){p=k+T(g,10)|0;k=(g|0)>1e3;g=k?g:p;j=k?1:j;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(j){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+i|0)+e|0;if(d){a=a+m|0;b=m+n|0;if((b|0)<=5){if((f|0)>=32768){e=fb(f,10);N[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<=0){break j}c=(a|0)>=5?5:a;e=c-b|0;if((e|0)<=0){break j}a=a-c|0;f=T(N[(e<<2)+33472>>2],f);if((f|0)<32768){break i}f=(f>>>0)/10|0;a=a+1|0;break i}a=a-b|0}N[d>>2]=a;e=f<<16;break a}b=b<<2;c=N[b+33452>>2];if(((f|0)/(c|0)|0)>=32768){e=fb(f,N[b+33456>>2]);N[d>>2]=a-4;break a}e=fb(f,c);N[d>>2]=a-5;break a}e=2147483647;b=a+m|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>=0){a=n-a|0}else{f=(f|0)/N[33472-(b<<2)>>2]|0;a=m+n|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>0){e=0;a=N[(a<<2)+33472>>2];if(((b|0)/(a|0)|0)>32767){break a}e=fb(b,a);break a}a=T(b,N[33472-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return o?0-e|0:e}function aE(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a=N[b>>2];f=N[a+12>>2];a:{if(f){break a}while(1){b=N[a>>2];if(!b){f=275552;break a}f=db(1,48);if(!f){f=275552;N[a+12>>2]=275552;break a}f=gj(f,b);if(!N[a+12>>2]){N[a+12>>2]=f;break a}ab(N[f+44>>2]);_a(f);f=N[a+12>>2];if(!f){continue}break}}g=275552;b=N[f+4>>2];h=b?b:275552;b=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=275552;b:{if((b|0)<=0){break b}k=h+10|0;a=b-1|0;b=0;c:{while(1){j=a+b>>>1|0;i=k+T(j,11)|0;i=O[i+1|0]<<8|O[i|0]<<16|O[i+2|0];d:{if(i>>>0>d>>>0){a=j-1|0;break d}if((d|0)==(i|0)){break c}b=j+1|0}if((a|0)>=(b|0)){continue}break}a=275552;break b}a=k+T(j,11)|0}d=a;a=O[d+3|0]|O[d+4|0]<<8|(O[d+5|0]<<16|O[d+6|0]<<24);if(a){g=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}e:{a=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((a|0)>0){k=g+4|0;a=a-1|0;b=0;while(1){j=a+b>>>1|0;g=k+(j<<2)|0;i=O[g+1|0]<<8|O[g|0]<<16|O[g+2|0];f:{if(i>>>0>c>>>0){a=j-1|0;break f}if(i+O[g+3|0]>>>0>=c>>>0){break e}b=j+1|0}if((a|0)>=(b|0)){continue}break}}f=275552;a=275552;b=O[d+7|0]|O[d+8|0]<<8|(O[d+9|0]<<16|O[d+10|0]<<24);if(b){a=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+h|0}b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g:{if((b|0)<=0){break g}g=a+4|0;a=b-1|0;b=0;while(1){h:{d=a+b>>>1|0;h=g+T(d,5)|0;h=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];i:{if(h>>>0>c>>>0){a=d-1|0;break i}if((c|0)==(h|0)){break h}b=d+1|0}if((a|0)>=(b|0)){continue}break g}break}f=g+T(d,5)|0}a=O[f+3|0]|O[f+4|0]<<8;if(!a){return 0}N[e>>2]=(a<<8|a>>>8)&65535;return 1}a=N[f+8>>2];if(!a){return 0}return Qa[a|0](N[f+12>>2],c,e)|0}function rb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!b){return 6}if(!a){return 40}d=N[a+32>>2];while(1){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{g=O[b|0];switch(g-4|0){case 18:case 19:break h;case 16:case 17:break i;case 14:case 15:break j;case 12:case 13:break k;case 10:case 11:break l;case 8:case 9:break m;case 20:case 21:break n;case 0:break o;case 4:case 5:break f;default:break g}}e=N[a+4>>2];g=P[b+2>>1];h=N[a+20>>2];if(h){if(e>>>0>>0){f=85;break c}e=N[a+28>>2];f=0;d=0;if(g){d=Qa[N[e+4>>2]](e,g)|0;if(!d){break d}h=N[a+20>>2]}N[a>>2]=d;h=Qa[h|0](a,N[a+8>>2],d,g)|0;d=N[a>>2];if(g>>>0>h>>>0){if(d){Qa[N[e+8>>2]](e,d)}N[a>>2]=0;f=85;d=0}N[a+32>>2]=d;N[a+36>>2]=d?d+g|0:0;N[a+8>>2]=h+N[a+8>>2];e=1;if(g>>>0<=h>>>0){break a}break c}f=85;d=N[a+8>>2];if(d>>>0>=e>>>0|g>>>0>e-d>>>0){break c}N[a+8>>2]=d+g;d=d+N[a>>2]|0;N[a+32>>2]=d;N[a+36>>2]=d+g;e=1;break a}f=O[b+1|0];e=f+d|0;if(e>>>0>Q[a+36>>2]){f=85;break c}if((g|0)!=24){break b}F(P[b+2>>1]+c|0,d,f);break b}e=d+2|0;f=16;d=O[d+1|0]|O[d|0]<<8;break e}e=d+2|0;f=16;d=O[d|0]|O[d+1|0]<<8;break e}e=d+4|0;f=0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break e}e=d+4|0;f=0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break e}f=8;e=d+3|0;d=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e}f=8;e=d+3|0;d=O[d|0]|(O[d+1|0]<<8|O[d+2|0]<<16);break e}N[a+32>>2]=d;f=0;break c}e=d+1|0;f=24;d=O[d|0]}d=g&1?d<>f:d;f=P[b+2>>1]+c|0;p:{q:{switch(O[b+1|0]-1|0){case 0:L[f|0]=d;break p;case 1:M[f>>1]=d;break p;default:break q}}N[f>>2]=d}d=e;e=i;break a}N[a>>2]=0;f=64}if(i&255){if(N[a+20>>2]){b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}return f}d=e;e=i}b=b+4|0;i=e;continue}}function AE(a,b,c){a=a|0;b=+b;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;N[a+672>>2]=0;N[a+676>>2]=0;e=a+668|0;a:{k=N[a+384>>2];g=N[a+660>>2];b=b*1e3;b:{if(V(b)<2147483648){f=~~b;break b}f=-2147483648}g=No(k,g,f,f>>31,e);if(!(!g|!(N[e>>2]|c))){if(O[a+388|0]){b=+ma();c:{if(V(b)<2147483648){c=~~b;break c}c=-2147483648}N[a+676>>2]=c}e=g;while(1){c=N[e>>2];d:{if(!c){break d}f=N[e+4>>2];if(!f){break d}d=((T(c,f)<<2)+d|0)+24|0}e=N[e+28>>2];if(e){continue}break}e:{f:{c=N[a+8>>2];if(c>>>0>>0){break f}g:{if(!(+(c>>>0)>=+(d>>>0)*1.3)){N[a+4>>2]=0;break g}c=N[a+4>>2]+1|0;N[a+4>>2]=c;if(c>>>0>9){break f}}C(N[a>>2],0,d);i=N[a>>2];break e}_a(N[a>>2]);i=db(1,d);N[a>>2]=i;N[a+4>>2]=0;N[a+8>>2]=i?d:0}if(!i){break a}m=N[a+672>>2];while(1){j=N[g>>2];h:{if(!j){break h}l=N[g+4>>2];if(!l){break h}c=N[g+16>>2];b=+(((c^-1)&255)>>>0)/255;if(b==0){break h}n=c<<8&16711680|c>>>8&65280|c>>>24;r=j&-2;s=j&1;c=N[g+12>>2];t=N[g+8>>2];o=0;f=0;while(1){e=0;d=0;i:{if((j|0)!=1){while(1){d=O[c+e|0];if(d){k=(f<<2)+i|0;h=b*+(d>>>0);j:{if(h<4294967296&h>=0){d=~~h>>>0;break j}d=0}N[k>>2]=d<<24|n}d=O[(e|1)+c|0];if(d){k=(f<<2)+i|0;h=b*+(d>>>0);k:{if(h<4294967296&h>=0){d=~~h>>>0;break k}d=0}N[k+4>>2]=d<<24|n}f=f+2|0;e=e+2|0;if((r|0)!=(e|0)){continue}break}d=e;if(!s){break i}}e=O[c+d|0];if(e){d=(f<<2)+i|0;h=b*+(e>>>0);l:{if(h<4294967296&h>=0){e=~~h>>>0;break l}e=0}N[d>>2]=e<<24|n}f=f+1|0}c=c+t|0;o=o+1|0;if((o|0)!=(l|0)){continue}break}c=(T(j,l)<<2)+i|0;N[c+12>>2]=l;N[c+8>>2]=j;N[c>>2]=N[g+20>>2];f=N[g+24>>2];N[c+20>>2]=0;N[c+16>>2]=i;N[c+4>>2]=f;f=c;if(p){N[p+20>>2]=c;f=q}m=m+1|0;N[a+672>>2]=m;i=c+24|0;p=c;q=f}g=N[g+28>>2];if(g){continue}break}}return q|0}vd(25038,45,1,588952);return 0}function ni(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;r=S[a>>3];h=N[e>>2];p=N[h+60>>2];l=N[h+52>>2];j=+(p+l|0)*.5;m=N[h- -64>>2];n=N[h+56>>2];q=+(m+n|0)*.5;s=S[a+8>>3];t=S[a+16>>3]+(r*j+q*s);S[a+16>>3]=t;u=S[a+24>>3];f=S[a+32>>3];i=S[a+40>>3]+(u*j+q*f);S[a+40>>3]=i;h=a- -64|0;k=S[a+48>>3];v=S[a+56>>3];w=S[h>>3]+(k*j+q*v);S[h>>3]=w;a:{if(w<=0){break a}j=f;f=1/w;o=f*i;j=j-v*o;S[a+32>>3]=j;q=u-k*o;S[a+24>>3]=q;f=f*t;s=s-v*f;S[a+8>>3]=s;t=r-k*f;S[a>>3]=t;i=f*.125;if(d){f=0}else{g=S[c+8>>3];f=S[c>>3]}z=i-f;if(!(V(z)<1e6)){break a}f=XE(z);b:{if(V(f)<2147483648){x=~~f;break b}x=-2147483648}o=o*.125-g;if(!(V(o)<1e6)){break a}f=XE(o);c:{if(V(f)<2147483648){y=~~f;break c}y=-2147483648}u=+(p-l|0)*.5+64;i=+(m-n|0)*.5+64;g=w-u*V(k)-V(v)*i;f=w*.0625;r=.125/(f>31;a=m>>31;h=(h^l)-h+((a^m)-a)|0;g=XE(g);g:{if(V(g)<2147483648){n=~~g;break g}n=-2147483648}a=n>>31;A=(n^a)-a|0;a=p>>31;a=A+((a^p)-a|0)|0;k=+((a>>>0>>0?h:a)|0)*8;f=j*(f*k);if(!(V(f)<1e6)){break a}f=XE(f);h:{if(V(f)<2147483648){h=~~f;break h}h=-2147483648}f=v*(i*k);if(!(V(f)<1e6)){break a}f=XE(f);i:{if(V(f)<2147483648){a=~~f;break i}a=-2147483648}if(!(!c|!d)){S[c+8>>3]=o-+(y|0);S[c>>3]=z-+(x|0)}N[b+4>>2]=y>>3;N[b>>2]=x>>3;N[e+32>>2]=a;N[e+28>>2]=h;N[e+24>>2]=n;N[e+20>>2]=p;N[e+16>>2]=l;N[e+12>>2]=m;N[e+8>>2]=y&7;N[e+4>>2]=x&7;B=1}return B}function xB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;while(1){d=O[a|0];e=O[c|0];L[a|0]=d>>>0>e>>>0?d:e;d=O[a+1|0];e=O[c+1|0];L[a+1|0]=d>>>0>e>>>0?d:e;d=O[a+2|0];e=O[c+2|0];L[a+2|0]=d>>>0>e>>>0?d:e;d=O[a+3|0];e=O[c+3|0];L[a+3|0]=d>>>0>e>>>0?d:e;d=O[a+4|0];e=O[c+4|0];L[a+4|0]=d>>>0>e>>>0?d:e;d=O[a+5|0];e=O[c+5|0];L[a+5|0]=d>>>0>e>>>0?d:e;d=O[a+6|0];e=O[c+6|0];L[a+6|0]=d>>>0>e>>>0?d:e;d=O[a+7|0];e=O[c+7|0];L[a+7|0]=d>>>0>e>>>0?d:e;d=O[a+8|0];e=O[c+8|0];L[a+8|0]=d>>>0>e>>>0?d:e;d=O[a+9|0];e=O[c+9|0];L[a+9|0]=d>>>0>e>>>0?d:e;d=O[a+10|0];e=O[c+10|0];L[a+10|0]=d>>>0>e>>>0?d:e;d=O[a+11|0];e=O[c+11|0];L[a+11|0]=d>>>0>e>>>0?d:e;d=O[a+12|0];e=O[c+12|0];L[a+12|0]=d>>>0>e>>>0?d:e;d=O[a+13|0];e=O[c+13|0];L[a+13|0]=d>>>0>e>>>0?d:e;d=O[a+14|0];e=O[c+14|0];L[a+14|0]=d>>>0>e>>>0?d:e;d=O[a+15|0];e=O[c+15|0];L[a+15|0]=d>>>0>e>>>0?d:e;d=O[a+16|0];e=O[c+16|0];L[a+16|0]=d>>>0>e>>>0?d:e;d=O[a+17|0];e=O[c+17|0];L[a+17|0]=d>>>0>e>>>0?d:e;d=O[a+18|0];e=O[c+18|0];L[a+18|0]=d>>>0>e>>>0?d:e;d=O[a+19|0];e=O[c+19|0];L[a+19|0]=d>>>0>e>>>0?d:e;d=O[a+20|0];e=O[c+20|0];L[a+20|0]=d>>>0>e>>>0?d:e;d=O[a+21|0];e=O[c+21|0];L[a+21|0]=d>>>0>e>>>0?d:e;d=O[a+22|0];e=O[c+22|0];L[a+22|0]=d>>>0>e>>>0?d:e;d=O[a+23|0];e=O[c+23|0];L[a+23|0]=d>>>0>e>>>0?d:e;d=O[a+24|0];e=O[c+24|0];L[a+24|0]=d>>>0>e>>>0?d:e;d=O[a+25|0];e=O[c+25|0];L[a+25|0]=d>>>0>e>>>0?d:e;d=O[a+26|0];e=O[c+26|0];L[a+26|0]=d>>>0>e>>>0?d:e;d=O[a+27|0];e=O[c+27|0];L[a+27|0]=d>>>0>e>>>0?d:e;d=O[a+28|0];e=O[c+28|0];L[a+28|0]=d>>>0>e>>>0?d:e;d=O[a+29|0];e=O[c+29|0];L[a+29|0]=d>>>0>e>>>0?d:e;d=O[a+30|0];e=O[c+30|0];L[a+30|0]=d>>>0>e>>>0?d:e;d=O[a+31|0];e=O[c+31|0];L[a+31|0]=d>>>0>e>>>0?d:e;c=c+32|0;a=a+b|0;f=f+1|0;if((f|0)!=32){continue}break}}function Uc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=275552;a:{if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}d=((c<<8|c>>>8)&65535)+a|0}b:{c:{d:{e:{f:{g:{h:{c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break g;case 0:break h;default:break b}}e=O[d+4|0]|O[d+5|0]<<8;i=(e<<8|e>>>8)&65535;e=O[d+2|0]|O[d+3|0]<<8;e=b-((e<<8|e>>>8)&65535)|0;c=275552;if(i>>>0<=e>>>0){break f}c=((e<<1)+d|0)+6|0;break f}g=241305;c=O[d+2|0]|O[d+3|0]<<8;i:{if(!c){break i}h=d+4|0;d=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){e=d+c>>>1|0;f=h+T(e,6)|0;i=O[f|0]|O[f+1|0]<<8;j:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=e+1|0;break j}g=h+T(e,6)|0;break i}d=e-1|0}if((d|0)>=(c|0)){continue}break}}c=g+4|0}d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}return 2}return 4}d=275552;k:{if((O[a|0]|O[a+1|0]<<8)!=256){break k}c=O[a+10|0]|O[a+11|0]<<8;if(!c){break k}d=((c<<8|c>>>8)&65535)+a|0}j=8;l:{m:{n:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break m;case 0:break n;default:break b}}a=b;b=O[d+2|0]|O[d+3|0]<<8;b=a-((b<<8|b>>>8)&65535)|0;c=O[d+4|0]|O[d+5|0]<<8;a=275552;if(b>>>0>=((c<<8|c>>>8)&65535)>>>0){break l}a=((b<<1)+d|0)+6|0;break l}a=241305;c=O[d+2|0]|O[d+3|0]<<8;o:{if(!c){break o}g=d+4|0;d=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){e=d+c>>>1|0;f=g+T(e,6)|0;h=O[f|0]|O[f+1|0]<<8;p:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=e+1|0;break p}a=g+T(e,6)|0;break o}d=e-1|0}if((d|0)>=(c|0)){continue}break}}a=a+4|0}a=O[a|0]|O[a+1|0]<<8;j=((a<<8|a>>>8)&65535)<<8|8}return j}function be(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<=c>>>0){break a}d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(g>>>0>=c>>>0){b:{h=b+5|0;e=O[b+4|0];b=h+T(e,c)|0;c:{d:{switch(e-1|0){case 0:f=O[b|0];break c;case 1:d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;break c;case 2:f=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break c;case 3:break d;default:break c}}d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}c=c+1|0;if(c>>>0>g>>>0){break b}d=T(c,e)+h|0;c=0;e:{f:{switch(e-1|0){case 0:c=O[d|0];break e;case 1:c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535;break e;case 2:c=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e;case 3:break f;default:break e}}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(c>>>0>>0){break a}d=T(e,g)+h|0;g:{h:{switch(e-1|0){case 0:i=O[d|0];break g;case 1:d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;break g;case 2:i=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break g;case 3:break h;default:break g}}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((c|0)==(f|0)|c>>>0>i>>>0){break a}d=c-f|0;f=T(e,g+1|0)+h|0;c=0;i:{j:{switch(e-1|0){case 0:c=O[b|0];break i;case 1:b=O[b|0]|O[b+1|0]<<8;c=(b<<8|b>>>8)&65535;break i;case 2:c=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break i;case 3:break j;default:break i}}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}N[a+8>>2]=0;N[a+4>>2]=d;N[a>>2]=(c+f|0)-1;return}}ba(8966,14180,149,9745);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function zy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=La-48|0;La=e;a:{b:{if(!cb(b,10437)){c:{if(!d){b=N[c>>2];break c}b=Kb(c,e+12|0);d=N[e+12>>2];if(O[d|0]!=44|(c|0)==(d|0)){break b}d=d+1|0;l=e,m=Kb(d,e+12|0),N[l+20>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+24>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+28>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+32>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+36>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+40>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}c=c+1|0;l=e,m=Kb(c,e+12|0),N[l+44>>2]=m;d=N[e+12>>2];if((O[d|0]|32)!=32|(c|0)==(d|0)){break b}c=e+16|0}f=6;if((b|0)<0){break a}d=N[c+8>>2];if((d|0)<0){break a}g=N[c+16>>2];if((g|0)<0){break a}h=N[c+24>>2];if((h|0)<0){break a}i=N[c+4>>2];if((i|0)<0){break a}j=N[c+12>>2];if((j|0)<0){break a}k=N[c+20>>2];if((k|0)<0){break a}c=N[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}N[a+36>>2]=b;N[a- -64>>2]=c;N[a+60>>2]=h;N[a+56>>2]=k;N[a+52>>2]=g;N[a+48>>2]=j;N[a+44>>2]=d;N[a+40>>2]=i;f=0;break a}if(!cb(b,15759)){if(d){f=6;if(cb(c,16505)){break a}N[a+28>>2]=1;f=0;break a}f=7;if(N[c>>2]!=1){break a}N[a+28>>2]=1;f=0;break a}if(!cb(b,14683)){if(d){if(!Kb(c,0)){L[a+32|0]=0;break a}L[a+32|0]=1;break a}L[a+32|0]=O[c|0];break a}f=12;if(cb(b,16909)){break a}f=0;d:{if(d){b=Kb(c,0);break d}b=N[c>>2]}N[a+68>>2]=(b|0)>0?b:0;break a}f=6}La=e+48|0;return f|0}function bs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{b:{if(Q[b+160>>2]>=a+4>>>0){e=O[a+3|0]|O[a+2|0]<<8;if(Q[b+160>>2]>>0){if(N[b+164>>2]){break a}e=N[b+160>>2]-a|0}if(N[b+160>>2]-a>>>0>e>>>0){if(Q[b+164>>2]>=2){break a}e=N[b+160>>2]-a|0}if(e>>>0<=15){break a}c=O[a+7|0];if(c&1&Q[b+164>>2]>=2){break a}h=c|O[a+6|0]<<8;d=h&65534;if((d<<2)+16>>>0>e>>>0){break a}c=h>>>1|0;if(Q[b+164>>2]>=2){g=O[a+13|0];f=O[a+9|0];if((g|f)&1){break a}i=f|O[a+8|0]<<8;f=i>>>1|0;if(f>>>0>c>>>0|c>>>0>(i&65534)>>>0|((c|0)!=(f+((g|O[a+12|0]<<8)>>>1|0)|0)|(f|0)!=1<<(O[a+11|0]|O[a+10|0]<<8))){break a}}f=a+14|0;if(Q[b+164>>2]>=2){g=(d+f|0)-2|0;if((O[g|0]<<8|O[g+1|0])!=65535){break a}}g=0;if(h>>>0>=2){j=(a+d|0)+16|0;k=d+j|0;h=d+k|0;n=d+h|0;p=c>>>0<=1?1:c;q=a+e|0;o=c-1|0;d=0;c=0;i=0;while(1){e=c;a=d;c=O[j+1|0]|O[j|0]<<8;d=O[f+1|0]|O[f|0]<<8;if(c>>>0>d>>>0){break a}m=O[h|0];l=O[h+1|0];r=O[k|0];s=O[k+1|0];c:{if(!i|a>>>0>>0){break c}if(N[b+164>>2]){break a}if(!(a>>>0<=d>>>0&c>>>0>=e>>>0)){g=g|1;break c}g=g|2}a=l|m<<8;d:{if(!a){break d}if((a|0)!=65535){a=a+h|0;e:{if(N[b+164>>2]){if(a>>>0>>0){break a}if(((d-c<<1)+a|0)+2>>>0<=q>>>0){break e}break a}if(!((i|0)!=(o|0)|(c|0)!=65535)&(d|0)==65535){break e}if(a>>>0>>0|Q[b+160>>2]<((d-c<<1)+a|0)+2>>>0){break a}}if(!N[b+164>>2]|c>>>0>=d>>>0){break d}m=r<<8|s;e=c;while(1){l=O[a+1|0]|O[a|0]<<8;if(Q[b+172>>2]<=(m+l&65535)>>>0?l:0){break b}a=a+2|0;e=e+1|0;if(e>>>0>>0){continue}break}break d}if((i|0)!=(o|0)|Q[b+164>>2]>1|((c|0)!=65535|(d|0)!=65535)){break a}}h=h+2|0;k=k+2|0;f=f+2|0;j=j+2|0;i=i+1|0;if((p|0)!=(i|0)){continue}break}}return g|0}break a}Pb(b,16);B()}Pb(b,8);B()}function Lo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=La-32|0;La=g;if(c){e=N[a+44>>2]}else{N[a+4>>2]=2147483647;N[a+44>>2]=0;N[a+16>>2]=-2147483648;N[a+8>>2]=2147483647;N[a+12>>2]=-2147483648;e=0}N[a+28>>2]=e;e=N[b+16>>2];a:{b:{c:{d:{e:{f:{d=N[b>>2];if(d){while(1){j=(h<<3)+e|0;i=N[j>>2];f=i>>31;if((f^i)-f>>>0>268435455){break f}j=N[j+4>>2];f=j>>31;if((f^j)-f>>>0>=268435456){break f}h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(!N[b+8>>2]){break e}h=e;while(1){f=O[N[b+20>>2]+k|0];d=f&3;e=(d<<3)+e|0;j=f&4;f=j?h:e;g:{h:{i:{switch(d-1|0){case 1:d=e-16|0;i=N[d+4>>2];N[g>>2]=N[d>>2];N[g+4>>2]=i;d=e-8|0;i=N[d+4>>2];N[g+8>>2]=N[d>>2];N[g+12>>2]=i;d=N[f+4>>2];N[g+16>>2]=N[f>>2];N[g+20>>2]=d;if(Ii(a,g)){break g}break h;case 2:d=e-24|0;i=N[d+4>>2];N[g>>2]=N[d>>2];N[g+4>>2]=i;d=e-16|0;i=N[d+4>>2];N[g+8>>2]=N[d>>2];N[g+12>>2]=i;d=e-8|0;i=N[d+4>>2];N[g+16>>2]=N[d>>2];N[g+20>>2]=i;d=N[f+4>>2];N[g+24>>2]=N[f>>2];N[g+28>>2]=d;if(!Hi(a,g)){break h}break g;case 0:break i;default:break h}}d=e-8|0;if(Gi(a,N[d>>2],N[d+4>>2],N[f>>2],N[f+4>>2])){break g}}e=0;break b}h=j?e:h;k=k+1|0;if(k>>>0>2]){continue}break}if((e|0)==(h|0)){break d}break a}ba(18838,18126,276,15670);B()}if(!e){break c}}if((N[b+16>>2]+(N[b>>2]<<3)|0)!=(e|0)){break a}}h=N[a+44>>2];j=N[a+28>>2];if(h>>>0>>0){k=N[a+16>>2];e=N[a+12>>2];b=N[a+8>>2];f=N[a+4>>2];i=N[a+20>>2];while(1){d=i+T(h,40)|0;l=N[d+36>>2];k=(k|0)>(l|0)?k:l;l=N[d+28>>2];e=(e|0)>(l|0)?e:l;l=N[d+32>>2];b=(b|0)<(l|0)?b:l;d=N[d+24>>2];f=(d|0)>(f|0)?f:d;h=h+1|0;if((j|0)!=(h|0)){continue}break}N[a+16>>2]=k;N[a+12>>2]=e;N[a+8>>2]=b;N[a+4>>2]=f}e=1;if(c){break b}N[a+44>>2]=j}La=g+32|0;return e}ba(22626,18126,317,15670);B()}function ge(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=a&65535;if(!l){return 0}k=N[b+128>>2];j=N[b+88>>2];l=(a<<8|l>>>8)&65535;if(l&1){m=N[e+8>>2];h=O[d|0]|O[d+1|0]<<8;f=(h<<8|h>>>8)<<16>>16;g=UE(N[j+56>>2],N[j+60>>2],f,f>>31);f=Pa;g=g+32768|0;N[e+8>>2]=(((g>>>0<32768?f+1|0:f)&65535)<<16|g>>>16)+m;h=(h|0)!=0;d=d+2|0}if(l&2){g=N[e+12>>2];m=O[d|0]|O[d+1|0]<<8;f=(m<<8|m>>>8)<<16>>16;i=UE(N[j+64>>2],N[j+68>>2],f,f>>31);f=Pa;i=i+32768|0;N[e+12>>2]=(((i>>>0<32768?f+1|0:f)&65535)<<16|i>>>16)+g;h=(m|0)!=0|h;d=d+2|0}m=k&-2;if(l&4){if((m|0)==4){g=N[e>>2];k=O[d|0]|O[d+1|0]<<8;f=(k<<8|k>>>8)<<16>>16;i=UE(N[j+56>>2],N[j+60>>2],f,f>>31);f=Pa;i=i+32768|0;N[e>>2]=(((i>>>0<32768?f+1|0:f)&65535)<<16|i>>>16)+g;h=(k|0)!=0|h}d=d+2|0}if(l&8){if((m|0)!=4){g=N[e+4>>2];k=O[d|0]|O[d+1|0]<<8;f=(k<<8|k>>>8)<<16>>16;i=UE(N[j+64>>2],N[j+68>>2],f,f>>31);f=Pa;i=i+32768|0;N[e+4>>2]=g-(((i>>>0<32768?f+1|0:f)&65535)<<16|i>>>16);h=(k|0)!=0|h}d=d+2|0}a:{if((a&65535)>>>0<4096){break a}k=1;a=1;a=N[j+72>>2]?a:N[j+84>>2]!=0;if(!N[j+76>>2]){k=N[j+84>>2]!=0;if((k|a)!=1){break a}}f=N[b+112>>2];b=N[b+108>>2];if(l&16){if(a){g=O[d|0]|O[d+1|0]<<8;i=(g|0)!=0;n=e,o=Zg(g?((g<<8|g>>>8)&65535)+c|0:275552,j,b,f)+N[e+8>>2]|0,N[n+8>>2]=o;h=h|i}d=d+2|0}if(l&32){if(k){g=O[d|0]|O[d+1|0]<<8;i=(g|0)!=0;n=e,o=Yg(g?((g<<8|g>>>8)&65535)+c|0:275552,j,b,f)+N[e+12>>2]|0,N[n+12>>2]=o;h=h|i}d=d+2|0}if(l&64){if((m|0)==4&a){a=O[d|0]|O[d+1|0]<<8;g=(a|0)!=0;n=e,o=Zg(a?((a<<8|a>>>8)&65535)+c|0:275552,j,b,f)+N[e>>2]|0,N[n>>2]=o;h=h|g}d=d+2|0}if(!k|(!(l&128)|(m|0)==4)){break a}a=O[d|0]|O[d+1|0]<<8;h=(a|0)!=0|h;a=Yg(a?((a<<8|a>>>8)&65535)+c|0:275552,j,b,f);N[e+4>>2]=N[e+4>>2]-a}return h}function dk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}a=h;b=275552;c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}h=O[a+4|0]|O[a+5|0]<<8;b=275552;if(!h){break c}b=a+((h<<8|h>>>8)&65535)|0}a=O[b|0]|O[b+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0>c>>>0){a=(b+T(c,6)|0)+2|0}else{a=275552}a=O[a+4|0]|O[a+5|0]<<8;if(a){i=b+((a<<8|a>>>8)&65535)|0}else{i=275552}d:{e:{f:{g:{if(!d){j=O[i+2|0]|O[i+3|0]<<8;break g}h=65535;j=O[i+2|0]|O[i+3|0]<<8;if(!j){if(f){break e}break d}b=((j<<8|j>>>8)&65535)-1|0;m=i+4|0;if(!f){while(1){l=N[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=T(h,6)+m|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);h:{if(g>>>0<=l>>>0){if((g|0)==(l|0)){break f}a=h+1|0;break h}c=h-1|0}if((a|0)<=(c|0)){continue}break}k=k+1|0;if((k|0)!=(d|0)){continue}break g}}while(1){l=N[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=T(h,6)+m|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i:{if(g>>>0>l>>>0){c=h-1|0;break i}if((g|0)==(l|0)){break f}a=h+1|0}if((a|0)<=(c|0)){continue}break}N[f>>2]=65535;k=k+1|0;if((k|0)!=(d|0)){continue}break}}h=65535;j:{if(!j){break j}e=i+4|0;c=((j<<8|(j&65280)>>>8)&65535)-1|0;a=0;while(1){k:{b=a+c>>>1|0;d=e+T(b,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);l:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1684434037){c=b-1|0;break l}if((d|0)==1953261156){break k}a=b+1|0}if((a|0)<=(c|0)){continue}break j}break}h=b}if(!f){break d}break e}if(!f){break d}}N[f>>2]=h}}function WB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=1;k=(b<<1)+e|0;f=O[a|0];a:{b:{c:{d:{if(c>>>0>=2){e:{if((c|0)==2){h=f}else{h=c-1|0;m=h&1;n=h&-2;h=0;while(1){i=g-1|0;j=i<<1;o=f;f=a+g|0;l=O[f|0]+O[a+i|0]|0;i=o+l|0;M[j+k>>1]=i;M[e+j>>1]=i;p=g<<1;i=g+1|0;j=i+a|0;f=O[j|0]+O[f|0]|0;l=l+f|0;M[p+k>>1]=l;M[e+p>>1]=l;g=g+2|0;h=h+2|0;if((n|0)!=(h|0)){continue}break}if(!m){g=i;h=f;break e}h=O[j|0]}i=(g<<1)-2|0;j=a+g|0;h=h+O[j|0]|0;f=h+f|0;M[i+k>>1]=f;M[e+i>>1]=f}m=1;f=g<<1;h=O[j|0]+h|0;M[f+k>>1]=h;M[e+f>>1]=h;if(d>>>0>1){break d}h=a;break a}g=f<<1;M[k>>1]=g;M[e>>1]=g;if(d>>>0<2){h=a;break a}if((d|0)==2){break b}d=d-1|0;h=d&1;g=d&-2;f=0;while(1){i=P[e>>1];d=a+b|0;j=O[d|0]<<1;M[e>>1]=j;m=P[k>>1];i=i+j|0;M[k>>1]=i;L[a|0]=i+m>>>4;i=P[e>>1];a=b+d|0;j=O[a|0]<<1;M[e>>1]=j;m=P[k>>1];i=i+j|0;M[k>>1]=i;L[d|0]=i+m>>>4;f=f+2|0;if((g|0)!=(f|0)){continue}break}if(h){break c}h=a;break a}while(1){h=a+b|0;g=O[h|0];f=1;while(1){n=f-1|0;l=n<<1;i=l+e|0;p=P[i>>1];j=g;o=i;i=f;q=f+h|0;g=O[q|0]+O[h+n|0]|0;j=j+g|0;M[o>>1]=j;l=k+l|0;o=P[l>>1];j=j+p|0;M[l>>1]=j;L[a+n|0]=j+o>>>4;f=f+1|0;if((f|0)!=(c|0)){continue}break}f=i<<1;j=f+e|0;n=P[j>>1];g=O[q|0]+g|0;M[j>>1]=g;f=f+k|0;j=P[f>>1];o=f;f=g+n|0;M[o>>1]=f;L[a+i|0]=f+j>>>4;a=h;m=m+1|0;if((m|0)!=(d|0)){continue}break}break a}g=P[e>>1]}h=a+b|0;b=O[h|0]<<1;M[e>>1]=b;d=P[k>>1];b=b+g|0;M[k>>1]=b;L[a|0]=b+d>>>4}f:{if(!c){break f}g=0;if((c|0)!=1){b=c&1;c=c&-2;while(1){a=g<<1;L[g+h|0]=P[a+e>>1]+P[a+k>>1]>>>4;d=g|1;a=d<<1;L[d+h|0]=P[a+e>>1]+P[a+k>>1]>>>4;g=g+2|0;if((c|0)!=(g|0)){continue}break}if(!b){break f}}a=g<<1;L[g+h|0]=P[a+e>>1]+P[a+k>>1]>>>4}}function tx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){c=N[a+100>>2];b=N[a+548>>2];if(b){Qa[N[c+8>>2]](c,b);N[a+544>>2]=0;N[a+548>>2]=0}$e(a);N[a+532>>2]=0;b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+148>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+148>>2]=0;b=N[a+432>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+432>>2]=0;b=N[a+428>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+428>>2]=0;b=N[a+424>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+424>>2]=0;b=N[a+408>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+408>>2]=0;b=N[a+412>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+412>>2]=0;d=N[a+416>>2];a:{if(!d){break a}e=N[d+4>>2];b:{if(!e){break b}b=N[d+20>>2];if((e|0)!=1){g=e&1;h=e&-2;e=0;while(1){f=N[b>>2];if(f){Qa[N[c+8>>2]](c,f)}N[b>>2]=0;f=N[b+4>>2];if(f){Qa[N[c+8>>2]](c,f)}N[b+4>>2]=0;b=b+8|0;e=e+2|0;if((h|0)!=(e|0)){continue}break}if(!g){break b}}e=N[b>>2];if(e){Qa[N[c+8>>2]](c,e)}N[b>>2]=0}b=N[d+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+20>>2]=0;b=N[a+416>>2];if(!b){break a}Qa[N[c+8>>2]](c,b)}N[a+416>>2]=0;b=N[a+392>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+392>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+396>>2]=0;b=N[a+400>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+400>>2]=0;b=N[a+384>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+384>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+364>>2]=0;b=N[a+496>>2];if(b){d=N[b+36>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+36>>2]=0;N[b+40>>2]=0;d=N[b+28>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+28>>2]=0;N[b+32>>2]=0;Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0}}function Ij(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=N[b+4>>2];if((d|0)==N[a+28>>2]){g=N[b+8>>2];if(d){C(g,255,d<<2)}if(!c){break a}e=N[a+20>>2];while(1){b:{if(Q[a+16>>2]<=f>>>0){N[147456]=0;N[147457]=0;d=0;break b}d=N[(e+(f<<3)|0)+4>>2]}c:{if(d>>>0>=Q[b+4>>2]){N[147456]=0;d=589824;break c}d=g+(d<<2)|0}N[d>>2]=f;f=f+1|0;if((f|0)!=(c|0)){continue}break}break a}ba(13964,14083,441,9662);B()}d=N[a+28>>2];if(d){f=0;g=0;while(1){h=f<<2;c=N[b+8>>2];e=N[b+4>>2];if(N[(e>>>0<=f>>>0?275552:h+c|0)>>2]!=-1){if(f>>>0>g>>>0){d:{if(d>>>0<=f>>>0){N[147470]=0;N[147471]=0;N[147468]=0;N[147469]=0;N[147466]=0;N[147467]=0;N[147464]=0;N[147465]=0;N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=N[a+28>>2];c=589824;break d}c=N[a+32>>2]+(f<<6)|0}e:{if(d>>>0<=g>>>0){N[147470]=0;N[147471]=0;N[147468]=0;N[147469]=0;N[147466]=0;N[147467]=0;N[147464]=0;N[147465]=0;N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=589824;break e}d=N[a+32>>2]+(g<<6)|0}e=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=e;e=N[c+60>>2];N[d+56>>2]=N[c+56>>2];N[d+60>>2]=e;e=N[c+52>>2];N[d+48>>2]=N[c+48>>2];N[d+52>>2]=e;e=N[c+44>>2];N[d+40>>2]=N[c+40>>2];N[d+44>>2]=e;e=N[c+36>>2];N[d+32>>2]=N[c+32>>2];N[d+36>>2]=e;e=N[c+28>>2];N[d+24>>2]=N[c+24>>2];N[d+28>>2]=e;e=N[c+20>>2];N[d+16>>2]=N[c+16>>2];N[d+20>>2]=e;e=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=e;e=N[b+4>>2];c=N[b+8>>2]}c=N[(e>>>0<=f>>>0?275552:c+h|0)>>2];f:{if(c>>>0>=Q[a+16>>2]){N[147456]=0;N[147457]=0;c=589824;break f}c=N[a+20>>2]+(c<<3)|0}N[c+4>>2]=g;g=g+1|0;d=N[a+28>>2]}f=f+1|0;if(f>>>0>>0){continue}break}}}function Zp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;e=N[a>>2];g=N[e+4>>2];c=N[e+8>>2];while(1){a:{d=c+1|0;j=d>>>0>g>>>0;if(j){break a}f=N[e>>2];h=O[f+c|0];N[e+8>>2]=d;b:{c:{d:{e:{if((h|0)!=12){c=d;break e}c=c+2|0;if(g>>>0>>0){h=65535;break d}d=O[d+f|0];N[e+8>>2]=c;h=d|256}f:{g:{h:{i:{j:{if(h>>>0>21){break j}d=1<>2];if(!d){L[g|0]=1;N[147456]=0;N[147457]=0;N[b+16>>2]=0;break g}i=S[g+(d<<3)>>3];k:{if(V(i)<2147483648){d=~~i;break k}d=-2147483648}if((d|0)<0){L[g|0]=1;d=0}N[b+16>>2]=d;break g}d=h-265|0;if(d>>>0>10){break d}d=1<>2];if(g){i=S[d+(g<<3)>>3];break f}L[d|0]=1;N[147456]=0;N[147457]=0}i=0}N[f>>2]=0;break c}Je(h,e);if(N[e+20>>2]){break b}c=N[e+8>>2];i=0}if(O[e+16|0]|Q[e+4>>2]>>0){break b}l:{m:{n:{c=N[b+4>>2];if((c|0)>=0){g=N[b+8>>2];f=g+1|0;if(f>>>0<=c>>>0){d=N[b+12>>2];break m}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=178956970){d=$a(N[b+12>>2],T(c,24));if(d){break n}}N[b+4>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=589824;break l}N[b+4>>2]=c;N[b+12>>2]=d;g=N[b+8>>2];f=g+1|0}N[b+8>>2]=f;c=T(g,24)+d|0;S[c+16>>3]=i;L[c+8|0]=0;N[c>>2]=0}N[c+4>>2]=h;d=N[e+8>>2];h=N[e+4>>2];f=N[e>>2];e=N[b>>2];N[c>>2]=f+e;f=c;c=h-e|0;c=c>>>0<=h>>>0?c:0;e=d-e|0;L[f+8|0]=c>>>0>>0?c:e;N[b>>2]=d}e=N[a>>2];c=N[e+8>>2];g=N[e+4>>2];if(c>>>0>g>>>0){break a}if(!O[e+16|0]){continue}}break}return j}function It(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=N[a+100>>2];c=N[a+540>>2];a:{if(!c){break a}b=N[c+80>>2];if(b){Qa[b|0](a)}b=N[c+100>>2];if(b){Qa[b|0](a)}b=N[c+120>>2];if(!b){break a}Qa[b|0](a);Qa[N[c+124>>2]](a)}if(O[a+848|0]){e=N[a+828>>2];if(e){b=N[a+104>>2];if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,e)}N[a+828>>2]=0}N[a+840>>2]=0;N[a+832>>2]=0;N[a+836>>2]=0}b=a+808|0;e=N[a+104>>2];b:{if(!e|!N[e+20>>2]){break b}f=N[b>>2];if(!f){break b}e=N[e+28>>2];Qa[N[e+8>>2]](e,f)}N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+144>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+140>>2]=0;N[a+144>>2]=0;b=N[a+156>>2];if(b){Qa[N[d+8>>2]](d,b)}M[a+152>>1]=0;N[a+156>>2]=0;b=N[a+104>>2];c:{if(!b|!N[b+20>>2]){break c}e=N[a+508>>2];if(!e){break c}b=N[b+28>>2];Qa[N[b+8>>2]](b,e)}N[a+752>>2]=0;N[a+756>>2]=0;N[a+508>>2]=0;N[a+512>>2]=0;if(O[a+292|0]){b=N[a+332>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+332>>2]=0;b=N[a+336>>2];if(b){Qa[N[d+8>>2]](d,b)}L[a+292|0]=0;N[a+336>>2]=0}b=N[a+564>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+564>>2]=0;M[a+562>>1]=0;if(c){Qa[N[c+52>>2]](a)}c=N[a+20>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+20>>2]=0;c=N[a+24>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+24>>2]=0;c=N[a+32>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+32>>2]=0;c=N[a+804>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+28>>2]=0;N[a+804>>2]=0;c=N[a+720>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+720>>2]=0;c=N[a+744>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+744>>2]=0;c=N[a+652>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+652>>2]=0;c=N[a+656>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+656>>2]=0;c=N[a+664>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+664>>2]=0;c=N[a+672>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+540>>2]=0;N[a+672>>2]=0}}function vo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-80|0;La=h;N[e>>2]=0;a:{if(c>>>0<=31){N[d>>2]=0;break a}f=N[b+112>>2];if(f){b:{if((f|0)>0){while(1){c:{i=N[((g<<2)+b|0)+68>>2];f=i;j=ze(N[f+92>>2],c);if(!j){break c}f=N[f+92>>2];if(!f){break c}f=Qa[N[N[f+12>>2]+12>>2]](f,j)|0;if(f>>>0>=Q[i+16>>2]|!f){break c}N[d>>2]=g;break b}g=g+1|0;if((g|0)>2]){continue}break}}f=N[b+20>>2];g=N[b+4>>2];i=N[b>>2];j=N[b+8>>2];N[h- -64>>2]=N[b+12>>2];N[h+60>>2]=j;N[h+56>>2]=i;N[h+52>>2]=g;N[h+48>>2]=c;mb(f,4,23624,h+48|0);a=wo(a,b,c);N[d>>2]=a;f=0;if((a|0)<0){break b}a=N[((a<<2)+b|0)+68>>2];g=ze(N[a+92>>2],c);d:{if(!g){break d}f=N[a+92>>2];if(!f){break d}f=Qa[N[N[f+12>>2]+12>>2]](f,g)|0;if(f>>>0>=Q[a+16>>2]){break d}if(f){break b}}e:{if(N[a+36>>2]<=0){break e}f=N[b+20>>2];N[h+32>>2]=c;mb(f,2,10502,h+32|0);f=N[a+36>>2];if((f|0)<=0){break e}i=0;while(1){g=N[a+40>>2];j=N[g+(i<<2)>>2];f:{if(!j|!g|(f|0)<=0){break f}f=(f<<2)+g|0;while(1){g:{if((j|0)!=N[g>>2]){break g}k=N[j>>2];h:{if(!k){break h}k=N[k+96>>2];l=N[N[k>>2]+32>>2];if(!l){break h}k=Qa[l|0](k,10557)|0;if(!k){break h}if(Qa[N[k>>2]](j,h+72|0)|0){break h}if(N[h+76>>2]==14){break g}}N[a+92>>2]=N[g>>2];break f}g=g+4|0;if(f>>>0>g>>>0){continue}break}}g=ze(N[a+92>>2],c);i:{if(!g){break i}f=N[a+92>>2];if(!f){break i}f=Qa[N[N[f+12>>2]+12>>2]](f,g)|0;if(f>>>0>=Q[a+16>>2]){break i}if(f){break b}}f=N[a+36>>2];i=i+1|0;if((f|0)>(i|0)){continue}break}}a=N[b+20>>2];f=N[b+4>>2];g=N[b>>2];i=N[b+8>>2];N[h+16>>2]=N[b+12>>2];N[h+12>>2]=i;N[h+8>>2]=g;N[h+4>>2]=f;N[h>>2]=c;mb(a,1,23576,h);f=0}a=N[d>>2];N[d>>2]=(a|0)>0?a:0;N[e>>2]=f;break a}N[d>>2]=0}La=h+80|0}function yj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[a+68>>2];l=c>>>0>d>>>0?d:c;k=l-b|0;a:{if(!(O[a+16|0]&128)){if(k>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=l>>>0){break a}i=N[a+80>>2];c=-1;d=b;m=(d^-1)+l|0;if(m>>>0>=3){j=k&-4;while(1){e=i+T(d,20)|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}e=k&3;if(e){h=0;while(1){j=N[(i+T(d,20)|0)+8>>2];c=c>>>0>>0?c:j;d=d+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}b=b+1|0}if(!m){break a}while(1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=i+T(b+1|0,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}b=b+2|0;if((l|0)!=(b|0)){continue}break}break a}if(k>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=l>>>0){break a}i=N[a+80>>2];c=-1;d=b;m=(d^-1)+l|0;if(m>>>0>=3){j=k&-4;while(1){e=i+T(d,20)|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}e=k&3;if(e){h=0;while(1){j=N[(i+T(d,20)|0)+8>>2];c=c>>>0>>0?c:j;d=d+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|4}b=b+1|0}if(!m){break a}while(1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|4}d=i+T(b+1|0,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|4}b=b+2|0;if((l|0)!=(b|0)){continue}break}}}function Es(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{e=a+10|0;if(e>>>0<=Q[b+160>>2]){c=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(i>>>0<10|N[b+160>>2]-a>>>0>>0){break a}c=O[a+6|0]|O[a+7|0]<<8|(O[a+8|0]<<16|O[a+9|0]<<24);j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(j>>>0>(i-10>>>0)/11>>>0){break a}if(j){d=1;while(1){c=O[e+3|0]|O[e+4|0]<<8|(O[e+5|0]<<16|O[e+6|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(f>>>0>=i>>>0){break a}c=O[e+7|0]|O[e+8|0]<<8|(O[e+9|0]<<16|O[e+10|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(g>>>0>=i>>>0){break a}k=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);if(k>>>0>>0){break a}c:{if(!f){break c}d=a+f|0;c=d+4|0;if(c>>>0>Q[b+160>>2]){break a}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>N[b+160>>2]-c>>>2>>>0){break a}d=0;h=0;if(!f){break c}while(1){l=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);m=l+O[c+3|0]|0;if(m>>>0>=1114112|h>>>0>l>>>0){break a}c=c+4|0;h=m+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}d:{if(!g){break d}d=a+g|0;c=d+4|0;if(c>>>0>Q[b+160>>2]){break a}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>(N[b+160>>2]-c>>>0)/5>>>0){break a}d=0;g=0;if(!f){break d}while(1){h=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);if(h>>>0>=1114112|d>>>0>h>>>0){break a}if(Q[b+172>>2]<=(O[c+4|0]|O[c+3|0]<<8)>>>0?N[b+164>>2]:0){break b}c=c+5|0;d=h+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}e=e+11|0;d=k+1|0;n=n+1|0;if((j|0)!=(n|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,8);B()}function fl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=U(0),k=0,l=U(0);d=O[a|0]|O[a+1|0]<<8;if(!d){return 0}d=(d<<8|d>>>8)&65535;e=d>>>0<=1?1:d;h=a+8|0;a:{while(1){d=(g<<3)+h|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16))==U(0)){break a}g=g+1|0;if((e|0)!=(g|0)){continue}break}return 0}b:{c:{d:{d=O[a+2|0]|O[a+3|0]<<8;e=(d<<8|d>>>8)&65535;switch(e|0){case 0:break b;case 1:break d;default:break c}}a=(g<<3)+h|0;a=O[a+6|0]|O[a+7|0]<<8;a=((a<<8|a>>>8)&65535)+b|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}a=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);i=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+b|0;a=0;d=e-1|0;e:{if(!d){break e}while(1){f=a>>>0>=e>>>0?275552:(a<<2)+i|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(U(U(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))*U(152587890625e-16))>=c){break e}a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}d=a-1|0;a=a>>>0>=d>>>0?d:0;f=a>>>0>>0;d=e;e=a+1|0;k=d>>>0>e>>>0;d=f?(a<<2)+i|0:275552;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));d=k?(e<<2)+i|0:275552;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);l=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));if(j==l){c=U(0)}else{c=U(U(c-j)/U(l-j))}d=b;b=(g<<3)+h|0;b=O[b+6|0]|O[b+7|0]<<8;b=d+((b<<8|b>>>8)&65535)|0;d=k?b+(e<<1)|0:275552;d=O[d|0]|O[d+1|0]<<8;a=f?b+(a<<1)|0:275552;a=O[a|0]|O[a+1|0]<<8;c=U(Z(U(U(U(c*U((d<<8|d>>>8)<<16>>16))+U(U(U(1)-c)*U((a<<8|a>>>8)<<16>>16)))+U(.5))));if(U(V(c))>2]+((d|0)!=0)|0;if(f>>>0>65535){break a}o=N[a+508>>2]+N[a+512>>2]|0;e=j>>>1|0;q=e>>>0<=1?1:e;r=e-1|0;n=b+14|0;k=(b+j|0)+16|0;b:{c:{while(1){b=O[n|0];e=O[n+1|0];i=O[k+1|0]|O[k|0]<<8;if(!(i>>>0<=f>>>0|d)){return 0}f=f>>>0>i>>>0?f:i;l=k+j|0;h=l+j|0;d:{m=e|b<<8;if((i|0)==65535&p>>>0>=r>>>0&(m|0)==65535){s=h+2|0;while(1){if(f>>>0>m>>>0){break d}b=O[l|0]|O[l+1|0]<<8;e=O[h+1|0]|O[h|0]<<8;g=(e|0)!=0&e+s>>>0>o>>>0;b=g?1:(b<<8|b>>>8)<<16>>16;e:{f:{g:{e=g?0:e;if(e){if((e|0)==65535){break d}e=(e+(f-i<<1)|0)+h|0;if(e>>>0>o>>>0?d:0){break d}e=O[e+1|0]|O[e|0]<<8;if(e){break g}e=0;break f}g=b+f|0;e=g&65535;if(!d){break a}if(Q[a+16>>2]>e>>>0){break f}e=b+m|0;if(!((g|0)<0&(e|0)>=0)){if((e|0)<65536|(g|0)>65535){break d}e=0;b=65536-b|0;break e}e=0;b=0-b|0;break e}b=b+e&65535;e=b>>>0>2]?b:0}b=f}if(e|!d){break c}f=b+1|0;if(b>>>0<=65534){continue}break}e=0;break b}while(1){if(f>>>0>m>>>0){break d}b=O[l|0]|O[l+1|0]<<8;b=(b<<8|b>>>8)<<16>>16;e=O[h+1|0]|O[h|0]<<8;h:{if(e){if((e|0)==65535){break d}e=(e+(f-i<<1)|0)+h|0;if(e>>>0>o>>>0?d:0){break d}e=O[e+1|0]|O[e|0]<<8;if(!e){e=0;break h}b=b+e&65535;e=b>>>0>2]?b:0;break h}g=b+f|0;e=g&65535;if(!d){break a}if(Q[a+16>>2]>e>>>0){break h}e=b+m|0;if(!((e|0)<0|(g|0)>=0)){e=0;f=0-b|0;break h}if((e|0)<65536|(g|0)>65535){break d}e=0;f=65536-b|0}b=f;if(e|!d){break c}f=b+1|0;if(b>>>0<=65534){continue}break}e=0;break b}k=k+2|0;n=n+2|0;p=p+1|0;if((q|0)!=(p|0)){continue}break}e=0;b=f}if(!d){break a}}N[c>>2]=b}return e}function Ki(a,b,c,d,e,f,g){var h=0,i=0,j=0;i=O[N[a>>2]+236|0];N[g>>2]=0;N[f>>2]=0;if(O[a+11662|0]){h=e-c|0;e=i?0-h|0:h;j=N[a+4>>2];h=T(h>>16,b>>16);b=d-b|0;N[j+16>>2]=N[j+16>>2]+(h-T(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=N[a+11684>>2];if((e|0)>b<<1){N[f>>2]=c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45875)+(T(b&65535,45875)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?0-b|0:b;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,19661)+(T(b&65535,19661)+32768>>>16|0)|0;a=(a|0)<0?0-b|0:b;break a}if((b|0)>(0-(e<<1)|0)){break b}c=N[a+11684>>2];if((0-e|0)>b<<1){N[f>>2]=0-c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45874)+(T(b&65535,45874)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?b:0-b|0;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,19661)+(T(b&65535,19661)+32768>>>16|0)|0;a=(a|0)<0?0-b|0:b;break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){N[f>>2]=0;a=N[a+11688>>2]<<1;break a}c=N[a+11684>>2];if((e|0)>(0-(b<<1)|0)){N[f>>2]=c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45875)+(T(b&65535,45875)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?0-b|0:b;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,45875)+b+(T(b&65535,45875)+32768>>>16)|0;a=(a|0)<0?0-b|0:b;break a}if((c|0)>(0-(e<<1)|0)){N[f>>2]=0;a=N[a+11688>>2]<<1;break a}c=N[a+11684>>2];if((0-(b<<1)|0)<(0-e|0)){N[f>>2]=0-c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45874)+(T(b&65535,45874)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?b:0-b|0;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,45875)+b+(T(b&65535,45875)+32768>>>16)|0;a=(a|0)<0?0-b|0:b;break a}N[f>>2]=0;a=0}N[g>>2]=a}}function yC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!c){break a}g=d+5|0;if(g>>>0<2){a=0;while(1){a=a+8|0;if(c>>>0>a>>>0){continue}break}break a}m=d<<3;d=g>>>1|0;p=d>>>0<=1?1:d;while(1){d=0;n=0;while(1){i=d-8|0;i=i>>>0>=m>>>0?440592:(i<<1)+b|0;j=d-16|0;j=j>>>0>=m>>>0?440592:(j<<1)+b|0;e=M[i>>1]+M[j>>1]|0;g=d|8;g=g>>>0>=m>>>0?440592:(g<<1)+b|0;l=d>>>0>=m>>>0?440592:(d<<1)+b|0;k=d-24|0;k=k>>>0>=m>>>0?440592:(k<<1)+b|0;f=M[l>>1]+M[k>>1]|0;h=d-32|0;h=h>>>0>=m>>>0?440592:(h<<1)+b|0;M[a>>1]=(((e+(M[g>>1]+(f+M[h>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+2>>1]+M[j+2>>1]|0;f=M[l+2>>1]+M[k+2>>1]|0;M[a+2>>1]=(((e+(M[g+2>>1]+(f+M[h+2>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+4>>1]+M[j+4>>1]|0;f=M[l+4>>1]+M[k+4>>1]|0;M[a+4>>1]=(((e+(M[g+4>>1]+(f+M[h+4>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+6>>1]+M[j+6>>1]|0;f=M[l+6>>1]+M[k+6>>1]|0;M[a+6>>1]=(((e+(M[g+6>>1]+(f+M[h+6>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+8>>1]+M[j+8>>1]|0;f=M[l+8>>1]+M[k+8>>1]|0;M[a+8>>1]=(((e+(M[g+8>>1]+(f+M[h+8>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+10>>1]+M[j+10>>1]|0;f=M[l+10>>1]+M[k+10>>1]|0;M[a+10>>1]=(((e+(M[g+10>>1]+(f+M[h+10>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+12>>1]+M[j+12>>1]|0;f=M[l+12>>1]+M[k+12>>1]|0;M[a+12>>1]=(((e+(M[g+12>>1]+(f+M[h+12>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[g+14>>1];g=M[l+14>>1]+M[k+14>>1]|0;e=e+(g+M[h+14>>1]|0)>>1;h=M[i+14>>1]+M[j+14>>1]|0;M[a+14>>1]=(((e+h>>>1|0)+g>>>1|0)+h|0)+2>>>2;d=d+16|0;a=a+16|0;n=n+1|0;if((p|0)!=(n|0)){continue}break}b=(m<<1)+b|0;o=o+8|0;if(o>>>0>>0){continue}break}}}function en(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!(L[a+741|0]&1)){break a}c=N[N[a+736>>2]+56>>2];f=P[c>>1];if(f){b=N[c+24>>2];j=b+T(f,12)|0;i=c+4|0;while(1){f=N[b>>2];h=Xm(a,f);c=Oh(a,i,P[b+4>>1],P[b+6>>1]);b:{if(!h){break b}M[h>>1]=c+P[b+8>>1];if((f|0)==1751216995){d=c;break b}if((f|0)!=1751934832){if((f|0)!=1751413603){break b}e=c;break b}g=c}b=b+12|0;if(j>>>0>b>>>0){continue}break}}c=P[a+72>>1];e=c+e|0;M[a+72>>1]=e;b=d;d=P[a+70>>1];b=b+d|0;M[a+70>>1]=b;f=M[a+486>>1];M[a+82>>1]=f;M[a+80>>1]=P[a+484>>1]+((f|0)/-2|0);M[a+74>>1]=(b+(c+((P[a+74>>1]+g|0)-d|0)|0)|0)-e;a=N[a+108>>2];while(1){if(!a){break a}c=N[a+8>>2];a=N[a+4>>2];g=N[c>>2];if(O[g+732|0]){continue}L[c+112|0]=0;e=N[c+16>>2];d=N[c+12>>2];N[c+48>>2]=d;N[c+52>>2]=e;e=N[c+24>>2];N[c+56>>2]=N[c+20>>2];N[c+60>>2]=e;b=N[c+32>>2];e=c- -64|0;N[e>>2]=N[c+28>>2];N[e+4>>2]=b;N[c+72>>2]=N[c+36>>2];if(!(d&65535)|!P[c+50>>1]){continue}if(O[g+176|0]&8){f=N[c+56>>2];d=f>>31;h=M[g+70>>1];b=h>>31;d=(d^f)-d|0;j=d>>>8|0;b=(b^h)-b|0;c:{if(j+b>>>0<=8190){i=T(b,d)+32768>>>16|0;break c}i=T(b,d>>>16|0)+(T(b,d&65535)+32768>>>16|0)|0}b=i;k=0-b|0;b=h>>31|1;f=(f|0)<0;N[c+60>>2]=(((f?0-b|0:b)|0)<0?k:i)+32&-64;i=e;h=M[g+72>>1];b=h>>31;b=(b^h)-b|0;d:{if(b+j>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}b=T(b,d>>>16|0)+(T(b,d&65535)+32768>>>16|0)|0}e=h>>31|1;N[i>>2]=(((f?0-e|0:e)|0)<0?0-b|0:b)+32&-64;g=M[g+74>>1];e=g>>31;e=(e^g)-e|0;e:{if(e+j>>>0<=8190){b=T(d,e)+32768>>>16|0;break e}b=T(e,d>>>16|0)+(T(e,d&65535)+32768>>>16|0)|0}d=b;e=0-d|0;d=g>>31|1;N[c+68>>2]=(((f?0-d|0:d)|0)<0?e:b)+32&-64}L[c+112|0]=1;continue}}}function qm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;N[d>>2]=0;N[d+4>>2]=0;g=b-1|0;g=b>>>0>=g>>>0?g:0;b=N[a+408>>2];a:{if(g>>>0>b>>>0){break a}e=b;b=c-1|0;c=b>>>0<=c>>>0?b:0;if(e>>>0>>0){break a}b=N[a+424>>2];if(!b){break a}e=c<<4;c=N[a+416>>2];c=P[e+c>>1]|N[c+(g<<4)>>2]<<16;g=N[a+104>>2];while(1){if(!(c>>>0<=Q[b+20>>2]&c>>>0>=Q[b+16>>2])){b=N[b>>2];if(b){continue}break a}break}a=N[b+12>>2];i=N[g+20>>2];b:{if(i){f=85;if(!(Qa[i|0](g,a,0,0)|0)){break b}break a}f=85;if(a>>>0>Q[g+4>>2]){break a}}N[g+8>>2]=a;f=Bb(g,T(N[b+8>>2],O[b+4|0]));if(f){break a}a=O[b+5|0];j=a&1;k=a>>>1&1;i=N[b+8>>2];f=N[g+32>>2];a=O[b+4|0];h=-2147483648>>>W(a)|0;c:{d:{e:{if((a|0)==(h|0)){break e}a=T(i,a-h|0)+f|0;e=O[a+1|0];l=O[a|0];f:{if(j){e=O[a+3|0]|(e<<16|l<<24|O[a+2|0]<<8);a=a+4|0;break f}e=e|l<<16;a=a+2|0}if((c|0)==(e|0)){break d}if(c>>>0<=e>>>0){break e}f=(k?2:1)+a|0}g:{a=T(i,h);h:{if(i>>>0>=a>>>0){break h}if(!j){while(1){a=a>>>1|0;h=f+a|0;e=O[h|0]<<16|O[h+1|0];if((e|0)!=(c|0)){f=c>>>0>e>>>0?h:f;if(a>>>0>i>>>0){continue}break h}break}a=h+2|0;break d}while(1){a=a>>>1|0;h=f+a|0;e=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((e|0)==(c|0)){break g}f=c>>>0>e>>>0?h:f;if(a>>>0>i>>>0){continue}break}}a=O[f+1|0];i=O[f|0];i:{if(j){i=O[f+3|0]|(a<<16|i<<24|O[f+2|0]<<8);a=f+4|0;break i}i=a|i<<16;a=f+2|0}if((c|0)==(i|0)){break d}break c}a=h+4|0}c=O[a|0];if(k){c=(O[a+1|0]|c<<8)<<16>>16}N[d>>2]=M[b+6>>1]+c}if(N[g+20>>2]){a=N[g>>2];if(a){b=N[g+28>>2];Qa[N[b+8>>2]](b,a)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;f=0}return f|0}function Th(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=N[a>>2];a:{if(O[d+732|0]){break a}L[a+112|0]=0;f=N[a+16>>2];i=N[a+12>>2];N[a+48>>2]=i;N[a+52>>2]=f;f=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=f;c=N[a+32>>2];f=a- -64|0;N[f>>2]=N[a+28>>2];N[f+4>>2]=c;N[a+72>>2]=N[a+36>>2];c=151;j=i&65535;if(!j){break a}f=P[a+50>>1];if(!f){break a}b:{c:{d:{if(O[d+176|0]&8){e=N[a+56>>2];c=e>>31;h=M[d+70>>1];b=h>>31;c=(c^e)-c|0;k=c>>>8|0;b=(b^h)-b|0;e:{if(k+b>>>0<=8190){g=T(c,b)+32768>>>16|0;break e}g=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}b=g;l=0-b|0;b=h>>31|1;N[a+60>>2]=((((e|0)<0?0-b|0:b)|0)<0?l:g)+32&-64;l=a- -64|0;h=M[d+72>>1];b=h>>31;b=(b^h)-b|0;f:{if(b+k>>>0<=8190){g=T(c,b)+32768>>>16|0;break f}g=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}b=g;m=0-b|0;b=h>>31|1;N[l>>2]=((((e|0)<0?0-b|0:b)|0)<0?m:g)+32&-64;h=M[d+74>>1];b=h>>31;b=(b^h)-b|0;if(b+k>>>0>8190){break d}b=T(c,b)+32768>>>16|0;break c}L[a+112|0]=1;break b}b=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}c=b;L[a+112|0]=1;g=0-c|0;c=h>>31|1;N[a+68>>2]=((((e|0)<0?0-c|0:c)|0)<0?g:b)+32&-64;e=P[d+68>>1];c=fb(j<<6,e);N[a+52>>2]=c;n=a,o=fb(f<<6,e),N[n+56>>2]=o;b=M[d+76>>1];e=b>>31;e=(b^e)-e|0;d=c>>31;d=(d^c)-d|0;g:{if(e+(d>>>8|0)>>>0<=8190){g=T(d,e)+32768>>>16|0;break g}g=T(e,d>>>16|0)+(T(e,d&65535)+32768>>>16|0)|0}d=g;e=0-d|0;d=b>>31|1;N[a+72>>2]=((((c|0)<0?0-d|0:d)|0)<0?e:g)+32&-64}e=a+48|0;h:{if(f>>>0<=(i&65535)>>>0){c=a+52|0;d=fb(f,j);f=65536;break h}c=a+56|0;d=65536;i=f;f=fb(j,f)}c=N[c>>2];M[a+84>>1]=i;N[a+92>>2]=c;N[a+80>>2]=d;N[a+76>>2]=f;N[a+308>>2]=-1;N[a+44>>2]=e;c=0}return c}function $e(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=N[a+532>>2];if(c){d=N[a+100>>2];e=N[c>>2];h=N[c+4>>2];b=N[c+24>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+24>>2]=0;if(e>>>0>=2){C(c+28|0,0,(e<<2)-4|0)}b=N[c+216>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+216>>2]=0;b=N[c+148>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+148>>2]=0;b=N[c+288>>2];if(b){Qa[N[d+8>>2]](d,b)}b=0;N[c+288>>2]=0;a:{if(!e){break a}if(e>>>0>=4){l=e&-4;i=c+212|0;g=c+144|0;j=c+284|0;while(1){f=b<<2;N[f+i>>2]=0;N[f+g>>2]=0;N[f+j>>2]=0;k=f|4;N[k+i>>2]=0;N[g+k>>2]=0;N[j+k>>2]=0;k=f|8;N[k+i>>2]=0;N[g+k>>2]=0;N[j+k>>2]=0;f=f|12;N[f+i>>2]=0;N[f+g>>2]=0;N[f+j>>2]=0;b=b+4|0;if((l|0)!=(b|0)){continue}break}}i=e&3;if(!i){break a}e=0;while(1){f=c+(b<<2)|0;N[f+284>>2]=0;N[f+144>>2]=0;N[f+212>>2]=0;b=b+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}b=N[c+136>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+136>>2]=0;N[c+140>>2]=0;b:{if(!h){break b}b=0;c:{if((h|0)!=1){f=h&1;i=h&-2;e=0;while(1){g=b<<2;j=g+c|0;k=N[j+8>>2];if(k){Qa[N[d+8>>2]](d,k)}N[j+8>>2]=0;g=c+(g|4)|0;j=N[g+8>>2];if(j){Qa[N[d+8>>2]](d,j)}N[g+8>>2]=0;b=b+2|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}if(!f){break c}}b=c+(b<<2)|0;e=N[b+8>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+8>>2]=0}c=c+88|0;b=0;if((h|0)!=1){f=h&1;i=h&-2;e=0;while(1){h=c+T(b,12)|0;g=N[h+4>>2];if(g){Qa[N[d+8>>2]](d,g)}N[h+4>>2]=0;L[h|0]=0;h=c+T(b|1,12)|0;g=N[h+4>>2];if(g){Qa[N[d+8>>2]](d,g)}N[h+4>>2]=0;L[h|0]=0;b=b+2|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}if(!f){break b}}c=c+T(b,12)|0;b=N[c+4>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+4>>2]=0;L[c|0]=0}c=N[a+532>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+532>>2]=0}}function gd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=O[b|0]|O[b+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=c>>>0){break a}d=O[b|0]|O[b+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0>=c>>>0){b:{h=b+3|0;e=O[b+2|0];b=h+T(e,c)|0;c:{d:{switch(e-1|0){case 0:f=O[b|0];break c;case 1:d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;break c;case 2:f=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break c;case 3:break d;default:break c}}d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if(c>>>0>=g>>>0){break b}d=T(e,c+1|0)+h|0;c=0;e:{f:{switch(e-1|0){case 0:c=O[d|0];break e;case 1:c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535;break e;case 2:c=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e;case 3:break f;default:break e}}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(c>>>0>>0){break a}d=T(e,g)+h|0;g:{h:{switch(e-1|0){case 0:i=O[d|0];break g;case 1:d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;break g;case 2:i=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break g;case 3:break h;default:break g}}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((c|0)==(f|0)|c>>>0>i>>>0){break a}d=c-f|0;f=T(e,g+1|0)+h|0;c=0;i:{j:{switch(e-1|0){case 0:c=O[b|0];break i;case 1:b=O[b|0]|O[b+1|0]<<8;c=(b<<8|b>>>8)&65535;break i;case 2:c=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break i;case 3:break j;default:break i}}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}N[a+8>>2]=0;N[a+4>>2]=d;N[a>>2]=(c+f|0)-1;return}}ba(8966,14180,149,9745);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function Me(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=1;a:{if(!O[a|0]){break a}j=0;if((c|0)==-1|(b|0)==-1|b>>>0>c>>>0){break a}N[a+4>>2]=-1;h=wc(a,b);k=c>>>9|0;l=b>>>9|0;b:{if((k|0)==(l|0)){if(!h){break a}g=-1;f=-1;a=b&63;d=a&31;if((a&63)>>>0>=32){a=-1<>>32-d}b=b>>>6&7;d=(b<<3)+h|0;i=b;b=c>>>6&7;c:{if((i|0)==(b|0)){g=e;f=a;b=d;break c}a=a|N[d+4>>2];N[d>>2]=e|N[d>>2];N[d+4>>2]=a;b=(b<<3)+h|0;a=d+8|0;if((b|0)==(a|0)){b=a;break c}C(a,255,b-a|0)}a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<>>32-c;c=2<>>0>=32){d=-1<>>32-e;e=-1<>>6&7;e=(b<<3)+h|0;d:{if((b|0)==7){g=i;f=d;b=e;break d}d=d|N[e+4>>2];N[e>>2]=i|N[e>>2];N[e+4>>2]=d;b=h+56|0;d=e+8|0;if((b|0)==(d|0)){break d}C(d,255,b-d|0)}f=f|N[b+4>>2];N[b>>2]=g|N[b>>2];N[b+4>>2]=f;f=l+1|0;if(k>>>0>f>>>0){while(1){b=wc(a,f<<9);if(!b){break a}N[b>>2]=-1;N[b+4>>2]=-1;N[b+56>>2]=-1;N[b+60>>2]=-1;N[b+48>>2]=-1;N[b+52>>2]=-1;N[b+40>>2]=-1;N[b+44>>2]=-1;N[b+32>>2]=-1;N[b+36>>2]=-1;N[b+24>>2]=-1;N[b+28>>2]=-1;N[b+16>>2]=-1;N[b+20>>2]=-1;N[b+8>>2]=-1;N[b+12>>2]=-1;f=f+1|0;if((k|0)!=(f|0)){continue}break}}b=wc(a,c);if(!b){break a}f=c>>>6&7;e:{if(!f){break e}a=b;N[b>>2]=-1;N[b+4>>2]=-1;b=b+(f<<3)|0;a=a+8|0;if((b|0)==(a|0)){break e}C(a,255,(f<<3)-8|0)}a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<>>32-c;g=2<>2];e=N[b+4>>2];a=a+f|0;c=c+g|0;a=c>>>0>>0?a+1|0:a;N[b>>2]=c|d;N[b+4>>2]=a|e;j=1}return j}function Fj(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;m=La-176|0;La=m;if(ib(c,b,12581,0)){if(O[c+16|0]&64){wb(c,2,0,-1,1,0)}e=Ec(m+12|0,1,b,c);N[e+132>>2]=d;N[e+140>>2]=8;N[e+32>>2]=0;N[e+8>>2]=e;N[e+24>>2]=0;N[e+28>>2]=0;L[e+21|0]=O[e+150|0];N[e+12>>2]=8;N[e+72>>2]=0;N[e+48>>2]=e;i=O[e+151|0];L[e+22|0]=i;N[e+16>>2]=d;f=e- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[e+52>>2]=8;L[e+61|0]=1;f=N[e+84>>2]==1;L[e+20|0]=f;L[e+60|0]=f|O[e+149|0]!=0;L[e+62|0]=i;N[e+56>>2]=-1;r=N[c+68>>2];if(r){p=e+4|0;k=N[c+88>>2];s=N[c+80>>2];v=(N[c+40>>2]&-2)!=4;i=0;while(1){a:{b:{n=T(i,20);h=n+s|0;if(!(N[h+4>>2]&d)){break b}N[e+36>>2]=1;N[e+4>>2]=i;f=N[N[e+8>>2]+96>>2];N[e+40>>2]=N[f+68>>2];L[e+23|0]=O[e+22|0]?N[f+64>>2]==(i|0)?O[(n+N[f+80>>2]|0)+15|0]:0:0;if(!kc(p,m+8|0)){break b}t=N[p>>2];l=T(t,20);g=N[l+s>>2];h=N[h>>2];u=N[a>>2];f=N[u>>2];q=N[f+100>>2];j=N[f+96>>2];o=N[j+12>>2];c:{if((N[u+4>>2]&-2)==4){j=N[j- -64>>2];if(!o){f=Qa[j|0](f,q,h,g,0)|0;break c}f=Qa[j|0](f,q,h,g,N[o+44>>2])|0;break c}j=N[j+68>>2];f=Qa[j|0](f,q,h,g,o?N[o+48>>2]:0)|0}if(f){g=O[a+4|0];d:{if(!v){if(g){N[(k+l|0)+12>>2]=f;N[c+144>>2]=N[c+144>>2]|8;break d}g=k+n|0;h=f>>1;N[g>>2]=h+N[g>>2];g=k+l|0;f=f-h|0;N[g>>2]=f+N[g>>2];N[g+8>>2]=f+N[g+8>>2];break d}if(g){N[(k+l|0)+8>>2]=f;N[c+144>>2]=N[c+144>>2]|8;break d}g=k+n|0;h=f>>1;N[g+4>>2]=h+N[g+4>>2];g=k+l|0;f=f-h|0;N[g+4>>2]=f+N[g+4>>2];N[g+12>>2]=f+N[g+12>>2]}Sc(c,i,t+1|0)}i=N[p>>2];break a}i=i+1|0}if(r>>>0>i>>>0){continue}break}}ib(c,b,12662,0);_a(N[e+112>>2])}La=m+176|0}function xt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=N[b+28>>2];a:{d=Qa[N[a+516>>2]](a,1734439792,b,0)|0;b:{if(d){break b}c=N[b+4>>2];c:{if(N[b+20>>2]){d=85;if(c>>>0<4){break b}d:{e:{c=N[b+28>>2];d=Qa[N[c+4>>2]](c,4)|0;if(d){N[b>>2]=d;e=Qa[N[b+20>>2]](b,N[b+8>>2],d,4)|0;f=N[b>>2];if(e>>>0<=3){break e}d=0;break d}N[b>>2]=0;return 64}if(f){Qa[N[c+8>>2]](c,f)}f=0;N[b>>2]=0;d=85}N[b+32>>2]=f;g=f?f+4|0:0;N[b+36>>2]=g;N[b+8>>2]=e+N[b+8>>2];c=f;if(e>>>0>=4){break c}break b}d=85;e=N[b+8>>2];if(e>>>0>=c>>>0|c-e>>>0<4){break b}N[b+8>>2]=e+4;f=N[b>>2];c=e+f|0;N[b+32>>2]=c;g=c+4|0;N[b+36>>2]=g}e=0;f:{if(c+1>>>0>=g>>>0){d=0;break f}d=O[c|0]|O[c+1|0]<<8;d=d<<8|d>>>8;c=c+2|0}N[b+32>>2]=c;M[a+560>>1]=d;if(c+1>>>0>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;M[a+562>>1]=e;if(N[b+20>>2]){if(f){c=N[b+28>>2];Qa[N[c+8>>2]](c,f);d=P[a+560>>1]}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if((d&65535)>>>0>=2){M[a+562>>1]=0;return 8}f=P[a+562>>1];g:{if(!f){d=f<<2;c=0;break g}d=f<<2;c=Qa[N[h+4>>2]](h,d)|0;if(!c){break a}C(c,0,d)}N[a+564>>2]=c;d=Bb(b,d);if(d){break b}if(f){g=N[a+564>>2];a=N[b+32>>2];e=N[b+36>>2];d=0;while(1){h:{if(e>>>0<=a+1>>>0){c=0;break h}c=O[a|0]|O[a+1|0]<<8;c=c<<8|c>>>8;a=a+2|0}N[b+32>>2]=a;h=g+(d<<2)|0;M[h>>1]=c;c=0;if(e>>>0>a+1>>>0){c=O[a|0]|O[a+1|0]<<8;c=c<<8|c>>>8;a=a+2|0}N[b+32>>2]=a;M[h+2>>1]=c;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;d=0}return d|0}N[a+564>>2]=0;return 64}function of(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(e){N[e>>2]=-1}l=(c|0)==-21;m=l?b-21|0:b;n=(c|0)>0?c:0;g=N[a+8>>2];a:{h=N[a>>2];b:{c:{if(h){b=g;while(1){if(!(N[b>>2]!=(m|0)|N[b+4>>2]!=(n|0))){h=f;break c}b=b+12|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}j=N[a+4>>2];k=h+1|0;d:{if(j>>>0>=k>>>0){b=g;break d}i=(h&-8)+8|0;if((i|j)<0){return 6}e:{f:{g:{if(!i){b=0;if(!g){break g}Qa[N[d+8>>2]](d,g);N[a+8>>2]=0;break e}f=10;if((i|0)>178956970){break b}h:{if(!j){b=Qa[N[d+4>>2]](d,T(i,12))|0;f=!b<<6;break h}f=Qa[N[d+12>>2]](d,T(j,12),T(i,12),g)|0;b=f?f:g;f=!f<<6}if(f|(i|0)<=(j|0)|!b){break f}C(T(j,12)+b|0,0,T(i-j|0,12))}N[a+8>>2]=b;break e}N[a+8>>2]=b;if(f){break b}}N[a+4>>2]=i}N[a>>2]=k;N[(T(k,12)+b|0)-12>>2]=m;b=T(h,12)+b|0;N[b+8>>2]=c>>31&(l?3:1);N[b+4>>2]=n}b=N[a+12>>2];i:{j:{if(!b){k:{if(N[a+16>>2]){b=N[a+20>>2];break k}b=Qa[N[d+4>>2]](d,128)|0;if(!b){break a}C(b,0,128);N[a+16>>2]=8;N[a+20>>2]=b}N[b>>2]=0;N[b+12>>2]=0;N[a+12>>2]=1;break j}b=(N[a+20>>2]+(b<<4)|0)-16|0;if(Q[b>>2]>h>>>0){break i}}a=h+8>>>3|0;i=N[b+4>>2]+7|0;g=i>>>3|0;if(a>>>0>g>>>0){f=N[b+8>>2];l:{m:{c=a+7&1073741816;n:{if(!c){a=0;if(!f){break n}Qa[N[d+8>>2]](d,f);N[b+8>>2]=0;break l}o:{if(i>>>0<=7){a=Qa[N[d+4>>2]](d,c)|0;f=!a<<6;break o}d=Qa[N[d+12>>2]](d,g,c,f)|0;a=d?d:f;f=!d<<6}if(f|c>>>0<=g>>>0|!a){break m}C(a+g|0,0,c-g|0)}N[b+8>>2]=a;break l}N[b+8>>2]=a;if(f){break b}}N[b+4>>2]=c<<3}N[b>>2]=h+1}a=N[b+8>>2]+(h>>>3|0)|0;L[a|0]=O[a|0]|128>>>(h&7);f=0;if(!e){break b}N[e>>2]=h}return f}N[a+20>>2]=0;return 64}function dw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=N[a+712>>2];if(!c){return 0}e=N[c+3092>>2];a:{if(!e){a=N[a+100>>2];e=Qa[N[a+4>>2]](a,32)|0;h=!e<<6;if(!e){break a}d=N[c+1372>>2];f=0;b:{if((d|0)==65535){break b}if(d>>>0>=391){d=d-391|0;f=0;if(d>>>0>=Q[c+1356>>2]){break b}f=N[N[c+1360>>2]+(d<<2)>>2];break b}a=N[c+3084>>2];f=0;if(!a){break b}f=Qa[N[a+20>>2]](d)|0}N[e>>2]=f;a=N[c+1376>>2];c:{if((a|0)==65535){break c}if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[c+1356>>2]){break c}g=N[N[c+1360>>2]+(a<<2)>>2];break c}d=N[c+3084>>2];if(!d){break c}g=Qa[N[d+20>>2]](a)|0}N[e+4>>2]=g;g=0;d=N[c+1384>>2];f=0;d:{if((d|0)==65535){break d}if(d>>>0>=391){d=d-391|0;f=0;if(d>>>0>=Q[c+1356>>2]){break d}f=N[N[c+1360>>2]+(d<<2)>>2];break d}a=N[c+3084>>2];f=0;if(!a){break d}f=Qa[N[a+20>>2]](d)|0}N[e+8>>2]=f;a=N[c+1388>>2];e:{if((a|0)==65535){break e}if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[c+1356>>2]){break e}g=N[N[c+1360>>2]+(a<<2)>>2];break e}d=N[c+3084>>2];if(!d){break e}g=Qa[N[d+20>>2]](a)|0}N[e+12>>2]=g;a=0;g=N[c+1392>>2];f:{if((g|0)==65535){break f}if(g>>>0>=391){g=g-391|0;if(g>>>0>=Q[c+1356>>2]){break f}a=N[N[c+1360>>2]+(g<<2)>>2];break f}d=N[c+3084>>2];if(!d){break f}a=Qa[N[d+20>>2]](g)|0}N[e+16>>2]=a;N[e+20>>2]=N[c+1400>>2];L[e+24|0]=O[c+1396|0];M[e+26>>1]=N[c+1404>>2];M[e+28>>1]=N[c+1408>>2];N[c+3092>>2]=e}a=N[e+4>>2];N[b>>2]=N[e>>2];N[b+4>>2]=a;a=N[e+28>>2];N[b+24>>2]=N[e+24>>2];N[b+28>>2]=a;a=N[e+20>>2];N[b+16>>2]=N[e+16>>2];N[b+20>>2]=a;a=N[e+12>>2];N[b+8>>2]=N[e+8>>2];N[b+12>>2]=a}return h|0}function kk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;k=La-32|0;La=k;e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}e=(e<<8|e>>>8)&65535;c=N[b+132>>2];h=N[b+96>>2];i=N[h+80>>2];c=(c&N[(i+T(N[h+64>>2],20)|0)+4>>2])>>>SE(c)|0;b:{if((c|0)!=255){break b}c=255;if(!O[b+152|0]){break b}l=N[h+68>>2];c:{if(l>>>0<2){break c}j=N[h+144>>2]|32;N[h+144>>2]=j;m=l&3;d:{if(l>>>0<4){c=-1;break d}f=l&-4;c=-1;while(1){g=N[(T(d,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|1,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|2,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|3,20)+i|0)+8>>2];c=c>>>0>>0?c:g;d=d+4|0;if((f|0)!=(d|0)){continue}break}}if(m){while(1){d=N[(T(f,20)+i|0)+8>>2];c=c>>>0>>0?c:d;f=f+1|0;n=n+1|0;if((m|0)!=(n|0)){continue}break}}m=l&-2;d=0;while(1){f=T(d,20)+i|0;if(N[f+8>>2]!=(c|0)){j=j|32;N[h+144>>2]=j;N[f+4>>2]=N[f+4>>2]|3}f=T(d|1,20)+i|0;if(N[f+8>>2]!=(c|0)){j=j|32;N[h+144>>2]=j;N[f+4>>2]=N[f+4>>2]|3}d=d+2|0;if((m|0)!=(d|0)){continue}break}if(!(l&1)){break c}n=c;c=T(d,20)+i|0;if((n|0)==N[c+8>>2]){break c}N[h+144>>2]=j|32;N[c+4>>2]=N[c+4>>2]|3}c=(T(N[b+156>>2],48271)>>>0)%2147483647|0;N[b+156>>2]=c;c=((c>>>0)%(e>>>0)|0)+1|0}c=c-1|0;if(c>>>0>=e>>>0){break a}if(N[h+156>>2]){zc(h);e=N[b+88>>2];d=N[b+96>>2];N[k+16>>2]=N[d+64>>2];ib(d,e,23049,k+16|0);e=O[a|0]|O[a+1|0]<<8;e=(e<<8|e>>>8)&65535}a=c>>>0>=e>>>0?275552:((c<<1)+a|0)+2|0;a=O[a|0]|O[a+1|0]<<8;Oe(b,(a<<8|a>>>8)&65535);o=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[k>>2]=N[a+64>>2]-1;ib(a,b,23096,k)}La=k+32|0;return o}function gh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;e=1;if((f|0)<=0){break a}g=O[a|0]|O[a+1|0]<<8;b:{if(!g){break b}e=a+2|0;if(e>>>0>d>>>0){break a}h=d-e|0;d=(g<<8|g>>>8)&65535;e=d<<2;if(h>>>0>>0){break a}f=f-e|0;N[b+12>>2]=f;e=0;if((f|0)<=0){break b}p=d>>>0<=1?1:d;n=N[c>>2];while(1){j=N[b+4>>2];e=((k<<2)+a|0)+2|0;if(j>>>0>e>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<4){break a}g=N[b+12>>2];d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);c:{if(!d){break c}if(d&128){break a}d=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+n|0;d:{if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<6){break d}h=g-10|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=d+4|0;if(h>>>0>f>>>0|f-h>>>0<2){break d}g=g-12|0;N[b+12>>2]=g;if((g|0)<=0){break d}i=O[h|0]|O[h+1|0]<<8;l=(i<<8|i>>>8)&65535;m=l<<1;if(i){i=d+6|0;if(i>>>0>f>>>0|f-i>>>0>>0){break d}g=g-m|0;N[b+12>>2]=g;if((g|0)<=0){break d}}i=O[d+2|0]|O[d+3|0]<<8;o=(i&65407)<<8|i>>>8;if((o&32767)>>>0>l>>>0){break d}d=O[d|0]|O[d+1|0]<<8;d=UE((d<<8|d>>>8)&65535,0,(o&65535)+l<<(i>>>7&1),0);if(Pa){break d}if(!d){break c}h=(h+m|0)+2|0;if(h>>>0>>0|f>>>0>>0|d>>>0>f-h>>>0){break d}d=g-d|0;N[b+12>>2]=d;if((d|0)>0){break c}}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;n=N[c>>2]}e=1;k=k+1|0;if((p|0)!=(k|0)){continue}break}}return e}return 0}function pf(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!(O[(T(c,9804)+b|0)+256|0]|!(a&4))){h=d>>31;h=(h^d)-h|0;a:{b:{c:{if((c|0)==1){if(a&2){break c}if(!(g&2)|h>>>0>=192){break b}f=h;break a}if(!(a&1)){break b}}d:{e:{f:{g:{h:{i:{e=T(c,9804)+b|0;b=N[e+52>>2];if(b){e=e+56|0;if((b|0)!=1){break i}f=98;g=h;break h}b=h+32&2147483584;g=h;break f}p=b&1;i=b&-2;f=98;b=0;g=h;while(1){n=N[(e+T(b|1,12)|0)+4>>2];j=h-n|0;k=j>>31;o=N[(e+T(b,12)|0)+4>>2];l=h-o|0;m=l>>31;l=(m^l)-m|0;m=(l|0)<(f|0);j=(k^j)-k|0;f=m?l:f;k=(j|0)<(f|0);f=k?j:f;g=k?n:m?o:g;b=b+2|0;if((i|0)!=(b|0)){continue}break}if(!p){break g}}e=N[(e+T(i,12)|0)+4>>2];i=h-e|0;b=i>>31;g=((b^i)-b|0)<(f|0)?e:g}b=g+32&-64;if((g|0)>(h|0)){break e}}b=(h|0)<(b|48)?g:h;break d}b=(h|0)>(b-48|0)?g:h}if((c|0)==1){f=64;if((b|0)<64){break a}f=b+16&-64;break a}if(a&8){f=64;if((b|0)<64){break a}f=b+32&-64;break a}if((b|0)<=47){f=b- -64>>1;break a}if(b>>>0<=127){f=b+22&-64;b=f-h|0;a=b>>31;if((a^b)-a>>>0<16){break a}if(h>>>0>47){f=h;break a}f=h- -64>>>1|0;break a}f=b+32&-64;break a}f=f&1?h>>>0<80?64:h:(h|0)<=56?56:h;a=T(c,9804)+b|0;if(!N[a+52>>2]){break a}a=N[a+60>>2];g=f-a|0;c=g>>31;if((c^g)-c>>>0<=39){f=(a|0)<=48?48:a;break a}if(f>>>0<=191){a=f&63;if(a>>>0<10){break a}b=f&2147483584;if(a>>>0<=31){f=b|10;break a}f=a>>>0<54?b|54:f;break a}a=0;j:{if(!((d|0)>0&(e|0)>0)&(d&e)>=0){break j}b=P[N[N[b+4>>2]+88>>2]+12>>1];if(b>>>0>=10){if(b>>>0>29){break j}e=(T(30-b|0,e)|0)/20|0}a=e>>31;a=a-(a^e)|0}f=(a+f|0)+32&-64}d=(d|0)<0?0-f|0:f}return d}function Vp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;d=N[a>>2];e=d+1|0;a:{if(e>>>0>c>>>0){break a}N[a>>2]=e;e=L[d|0];j=e&255;if((e|0)<0){e=d+2|0;if(e>>>0>c>>>0){break a}N[a>>2]=e;j=O[d+1|0]|j<<8&32512}d=N[b>>2];if((d|0)<0){break a}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(j>>>0>=d>>>0){continue}break}b:{if(d>>>0<=1073741823){e=$a(N[b+8>>2],d<<2);if(e){break b}}N[b>>2]=-1;return 0}N[b>>2]=d;N[b+8>>2]=e}N[b+4>>2]=j;if(j){e=N[a>>2];while(1){f=k;d=e+1|0;if(d>>>0>c>>>0){break a}N[a>>2]=d;g=O[e|0];m=g&127;l=m+1|0;k=l+f|0;if(k>>>0>j>>>0){break a}c:{if(g<<24>>24<0){if((l<<1)+d>>>0>c>>>0){break a}d:{if(!(l&1)){e=d;break d}d=O[e+1|0]|O[e+2|0]<<8;h=((d<<8|d>>>8)&65535)+h|0;N[N[b+8>>2]+(f<<2)>>2]=h;e=e+3|0;N[a>>2]=e;f=f+1|0}if(!m){break c}while(1){i=f<<2;d=O[e|0]|O[e+1|0]<<8;g=((d<<8|d>>>8)&65535)+h|0;N[i+N[b+8>>2]>>2]=g;N[a>>2]=e+2;d=O[e+2|0]|O[e+3|0]<<8;h=g+((d<<8|d>>>8)&65535)|0;N[(i+N[b+8>>2]|0)+4>>2]=h;e=e+4|0;N[a>>2]=e;f=f+2|0;if((k|0)!=(f|0)){continue}break}break c}if(d+l>>>0>c>>>0){break a}i=0;g=l&3;if(g){while(1){e=d+1|0;N[a>>2]=e;h=O[d|0]+h|0;N[N[b+8>>2]+(f<<2)>>2]=h;f=f+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(m>>>0<3){break c}while(1){N[a>>2]=d+1;i=f<<2;e=O[d|0]+h|0;N[i+N[b+8>>2]>>2]=e;N[a>>2]=d+2;e=e+O[d+1|0]|0;N[(i+N[b+8>>2]|0)+4>>2]=e;N[a>>2]=d+3;g=e+O[d+2|0]|0;N[(i+N[b+8>>2]|0)+8>>2]=g;e=d+4|0;N[a>>2]=e;h=g+O[d+3|0]|0;N[(i+N[b+8>>2]|0)+12>>2]=h;d=e;f=f+4|0;if((k|0)!=(f|0)){continue}break}}if(j>>>0>k>>>0){continue}break}}n=1}return n}function Hf(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}d=N[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}f=N[b+12>>2];e=f-2|0;N[b+12>>2]=e;g=1;if((e|0)<=0){return 0}e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}e=((e<<8|e>>>8)&65535)+c|0;b:{if(e>>>0>>0|d>>>0>>0){break b}c=d-e|0;if(c>>>0<2){break b}d=f-4|0;N[b+12>>2]=d;if((d|0)<=0){break b}c:{d:{e:{d=O[e|0]|O[e+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 2:break d;case 0:break e;default:break a}}if(c>>>0<6){break b}c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break b}break a}f:{g:{if(e>>>0>2]){break g}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<10){break g}f=N[b+12>>2];c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=e+6|0;if(c>>>0>d>>>0|d-c>>>0<2){break g}d=f-12|0;N[b+12>>2]=d;if((d|0)<=0){break g}d=O[c|0]|O[c+1|0]<<8;h:{if(!d){break h}if(Id(e+((d<<8|d>>>8)&65535)|0,b)){break h}d=N[b+28>>2];if(d>>>0>31){break g}N[b+28>>2]=d+1;if(!O[b+24|0]){break g}L[c|0]=0;L[c+1|0]=0}d=e+8|0;if(d>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break g}f=O[d|0]|O[d+1|0]<<8;i:{if(!f){break i}if(Id(e+((f<<8|f>>>8)&65535)|0,b)){break i}c=N[b+28>>2];if(c>>>0>31){break g}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;c=1}break f}c=0}if(!c){break b}break a}if(c>>>0<8){break b}c=f-12|0;N[b+12>>2]=c;if((c|0)>0){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;g=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;g=1}return g}function vB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=La-48|0;La=i;h=N[a+8>>2];e=6;a:{b:{c:{d:{if(N[b+72>>2]!=N[a+16>>2]){break d}e=19;if((c|0)!=2){break a}c=N[b+156>>2];e=N[c+4>>2];if(e&1){g=N[b+88>>2];if(g){Qa[N[h+8>>2]](h,g);c=N[b+156>>2];e=N[c+4>>2]}N[b+88>>2]=0;N[c+4>>2]=e&-2}e=98;c=0;if(jg(b,2,d)){break c}e:{g=N[b+84>>2];c=N[b+76>>2];if((g|c)<0){e=6;break e}e=0;f:{g:{if(!(!g|!c)){e=10;if((c|0)>(2147483647/(g>>>0)|0)){break e}f=T(c,g);e=Qa[N[h+4>>2]](h,f)|0;if(!e|(c|0)<=0){break g}C(e,0,f)}N[b+88>>2]=e;break f}N[b+88>>2]=e;if(e){break f}e=!e<<6;f=0;break d}c=N[b+156>>2];N[c+4>>2]=N[c+4>>2]|1;f=N[b+76>>2]-N[b+104>>2]<<6;c=0-(N[b+100>>2]<<6)|0;if(d){f=N[d+4>>2]+f|0;c=N[d>>2]+c|0}d=b+108|0;if(c|f){te(d,c,f)}e=0;N[i+8>>2]=0;N[i+4>>2]=d;N[i>>2]=b+76;a=Qa[N[a+56>>2]](N[a+52>>2],i)|0;if(a){e=a;break c}N[b+72>>2]=1651078259;break b}N[b+88>>2]=0}c=0}a=N[b+156>>2];d=N[a+4>>2];if(!(d&1)){break b}g=N[b+88>>2];if(g){Qa[N[h+8>>2]](h,g);a=N[b+156>>2];d=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=d&-2}if(!(c|f)){break a}d=M[b+110>>1];if((d|0)<=0){break a}b=N[b+112>>2];if(d>>>0>=4){h=d&-4;a=0;while(1){N[b>>2]=N[b>>2]-c;N[b+4>>2]=N[b+4>>2]-f;N[b+8>>2]=N[b+8>>2]-c;N[b+16>>2]=N[b+16>>2]-c;N[b+24>>2]=N[b+24>>2]-c;N[b+12>>2]=N[b+12>>2]-f;N[b+20>>2]=N[b+20>>2]-f;N[b+28>>2]=N[b+28>>2]-f;b=b+32|0;a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=d&3;if(!d){break a}a=0;while(1){N[b>>2]=N[b>>2]-c;N[b+4>>2]=N[b+4>>2]-f;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}La=i+48|0;return e|0}function jq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=U(0);if(!O[a+4442|0]){c=N[a+4416>>2];b=O[c+8|0]|O[c+9|0]<<8;i=(b<<8|b>>>8)&65535;b=N[a+4424>>2];if(i>>>0>b>>>0){b=(c+(b<<2)|0)+10|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=(c+2|0)+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}d=O[b+4|0]|O[b+5|0]<<8;b=(d<<8|d>>>8)&65535;N[a+4420>>2]=b;a:{if(!O[a+4440|0]){break a}b:{c:{e=N[a+4428>>2];if((e|0)>=0){if(b>>>0<=e>>>0){break b}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=1073741823){c=$a(N[a+4436>>2],e<<2);if(c){break c}}N[a+4428>>2]=-1}N[a+8>>2]=N[a+4>>2]+1;break a}N[a+4428>>2]=e;N[a+4436>>2]=c}c=N[a+4432>>2];if(c>>>0>>0){C(N[a+4436>>2]+(c<<2)|0,0,b-c<<2)}N[a+4432>>2]=b;c=N[a+4416>>2];f=N[a+4424>>2];d:{if(!d){N[147456]=0;b=589824;break d}b=N[a+4436>>2]}e=275552;g=c+2|0;d=O[c+8|0]|O[c+9|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:(c+(f<<2)|0)+10|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(d){e=g+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}d=N[a+4420>>2];c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){c=g+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0}else{c=275552}f=O[e+4|0]|O[e+5|0]<<8;j=(f<<8|f>>>8)&65535;g=d>>>0>j>>>0?j:d;if(g){k=N[a+4412>>2];i=N[a+4408>>2];f=0;while(1){h=(f<<1)+e|0;h=O[h+6|0]|O[h+7|0]<<8;l=b+(f<<2)|0,m=Mg(c,(h<<8|h>>>8)&65535,i,k,0),R[l>>2]=m;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(d>>>0<=j>>>0){break a}C(b+(g<<2)|0,0,d-g<<2)}L[a+4442|0]=1}}function Gs(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=N[a+16>>2];l=N[a+24>>2];f=l+1|0;g=N[a+28>>2];a:{b:{if(f>>>0<=g>>>0){i=N[a+32>>2];break b}N[a+36>>2]=b;if((f|g)<0|(f|0)>536870911){break a}c:{if(!g){i=Qa[N[b+4>>2]](b,f<<2)|0;b=!i<<6;break c}d=N[a+32>>2];b=Qa[N[b+12>>2]](b,g<<2,f<<2,d)|0;i=b?b:d;b=!b<<6}d:{if(!(b|(f|0)<=(g|0)|!i)){C((g<<2)+i|0,0,f-g<<2);N[a+32>>2]=i;break d}N[a+32>>2]=i;if(b){break a}}N[a+28>>2]=f}g=i;if(l){e=k+10|0;while(1){m=O[e+7|0]|O[e+8|0]<<8|(O[e+9|0]<<16|O[e+10|0]<<24);n=O[e|0];o=O[e+1|0];p=O[e+2|0];e:{f:{g:{b=O[e+3|0]|O[e+4|0]<<8|(O[e+5|0]<<16|O[e+6|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break g}d=b+N[a+16>>2]|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);f=d+4|0;j=0;while(1){if(b>>>0<=j>>>0){break g}d=b;b=b+j>>>1|0;h=f+(b<<2)|0;k=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];if(k>>>0>c>>>0){continue}j=b+1|0;b=d;if(O[h+3|0]+k>>>0>>0){continue}break}break f}b=m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24);if(!b){break e}d=b+N[a+16>>2]|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break e}f=d+4|0;j=0;while(1){h:{d=b+j>>>1|0;h=f+T(d,5)|0;k=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];i:{if(k>>>0>c>>>0){b=d;break i}if(c>>>0<=k>>>0){break h}j=d+1|0}if(b>>>0>j>>>0){continue}break e}break}if(!(O[h+4|0]|O[h+3|0]<<8)){break e}}N[g>>2]=o<<8|n<<16|p;g=g+4|0}e=e+11|0;l=l-1|0;if(l){continue}break}}N[g>>2]=0;j=i}return j|0}function Ou(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=N[b>>2];if(!b){return 35}h=6;e=N[b+132>>2];a:{if(!e|Q[b+16>>2]<=c>>>0){break a}h=3;b=c?c-1|0:O[e+106|0];g=P[e+4>>1];c=(g|0)==768;f=T(b,c?6:4)+(c?148:118)|0;b=N[e+8>>2];if(f>>>0>=(b+(c?-4:-2)|0)-2>>>0){break a}k=N[e+160>>2];c=f+k|0;i=O[c|0]|O[c+1|0]<<8;N[a+80>>2]=i;if((g|0)==768){c=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24)}else{c=O[c+2|0]|O[c+3|0]<<8}if(b>>>0<=c>>>0){break a}g=P[e+96>>1];h=0;N[a+100>>2]=0;L[a+94|0]=1;N[a+76>>2]=g;e=P[e+80>>1];N[a+72>>2]=1651078259;N[a+104>>2]=e;j=i<<6;N[a+40>>2]=j;f=g<<6;N[a+28>>2]=f;N[a+24>>2]=j;N[a+32>>2]=0;e=e<<6;N[a+36>>2]=e;e=f-e|0;f=g?f:(T(e,12)|0)/10|0;N[a+52>>2]=f;N[a+48>>2]=(f-e|0)/2;N[a+44>>2]=0-(i<<5);if(d&4194304){break a}h=3;d=N[N[a+4>>2]+100>>2];j=i+7|0;f=j>>>3|0;N[a+84>>2]=f;if(!i){break a}e=b;b=T(f,g);if(e>>>0>>0){break a}b:{if(!g){e=0;break b}e=Qa[N[d+4>>2]](d,b)|0;if(e){break b}N[a+88>>2]=0;return 64}b=c+k|0;N[a+88>>2]=e;if(j&8){c=N[a+76>>2];if((c|0)>0){d=b+c|0;c=e;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}}e=e+1|0;d=f-1|0}else{d=f}if((f|0)!=1){while(1){c=N[a+76>>2];c:{if((c|0)<=0){break c}f=b+c|0;c=e;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}c=N[a+76>>2];if((c|0)<=0){break c}f=b+c|0;c=e+1|0;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}e=e+2|0;d=d-2|0;if(d){continue}break}}N[N[a+156>>2]+4>>2]=1;h=0}return h|0}function fe(a,b,c,d){var e=0,f=0,g=0;f=a<<8|(a&65280)>>>8;a=(((((f&1)<<1)+d|0)+(f&2)|0)+(a>>>9&2)|0)+(a>>>10&2)|0;a:{b:{if(!(f&16)){d=a;break b}if(a>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=O[a|0]|O[a+1|0]<<8;if(!e){break b}if(Id(((e<<8|e>>>8)&65535)+c|0,b)){break b}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}f=f&65535;c:{if(!(f&32)){a=d;break c}if(Q[b+4>>2]>d>>>0){break a}a=N[b+8>>2];if(a>>>0>>0|a-d>>>0<2){break a}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){break a}a=d+2|0;e=O[d|0]|O[d+1|0]<<8;if(!e){break c}if(Id(((e<<8|e>>>8)&65535)+c|0,b)){break c}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d:{if(!(f&64)){d=a;break d}if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=O[a|0]|O[a+1|0]<<8;if(!e){break d}if(Id(((e<<8|e>>>8)&65535)+c|0,b)){break d}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}g=1;if(!(f&128)){break a}if(Q[b+4>>2]>d>>>0){return 0}a=N[b+8>>2];if(a>>>0>>0){return 0}if(a-d>>>0<2){return 0}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){return 0}a=O[d|0]|O[d+1|0]<<8;if(!a){break a}if(Id(((a<<8|a>>>8)&65535)+c|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){return 0}N[b+28>>2]=a+1;g=0;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;g=1}return g}function Bf(a,b,c,d){var e=0,f=0,g=0,h=0;if(N[b+24>>2]){return 0}a:{b:{c:{if(Q[b>>2]<=a>>>0){d:{f=N[b+4>>2];if(f>>>0>>0){break c}if(f-a>>>0>=7){break b}e=a+6|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[b+8>>2]-f|0))){break a}if((e|0)!=(f|0)){C(f,0,g);f=N[b+4>>2]}N[b+4>>2]=f+g;g=0;e:{if(!f){break e}d=d<<8|(d&65280)>>>8;L[a+2|0]=d;L[a+3|0]=d>>>8;c=c<<8|(c&65280)>>>8;L[a|0]=c;L[a+1|0]=c>>>8;if(N[b+24>>2]){break e}c=a+4|0;if(c>>>0>2]){break d}d=N[b+4>>2];if(d>>>0>>0){break c}if(d-c>>>0>=3){break b}f=e-d|0;if(!((f|0)>=0&(f|0)<=(N[b+8>>2]-d|0))){break a}if((d|0)!=(e|0)){C(d,0,f);e=N[b+4>>2]}N[b+4>>2]=e+f;if(!e){break e}L[c|0]=0;L[c+1|0]=1;if(N[b+24>>2]){break e}if(c>>>0>2]){break d}e=N[b+4>>2];if(c>>>0>e>>>0){break c}if(e-c>>>0>=5){break b}f=a+8|0;d=f-e|0;if(!((d|0)>=0&(d|0)<=(N[b+8>>2]-e|0))){break a}if((e|0)!=(f|0)){C(e,0,d);e=N[b+4>>2]}d=d+e|0;N[b+4>>2]=d;if(!e){break e}g=1;e=O[a+2|0]|O[a+3|0]<<8;if(!(e&4096)){break e}g=0;if(N[b+24>>2]){break e}if(Q[b>>2]>a>>>0){break d}if(a>>>0>d>>>0){break c}h=d-a|0;f=O[a+4|0]|O[a+5|0]<<8;e=((c+(((f<<8|f>>>8)&65535)<<1)|0)+(e>>>11&2)|0)+2|0;a=e-a|0;if(h>>>0>a>>>0){break b}if((a|0)<0){break e}a=e-d|0;if(!((a|0)>=0&(a|0)<=(N[b+8>>2]-d|0))){break a}if((d|0)!=(e|0)){C(d,0,a);d=N[b+4>>2]}N[b+4>>2]=a+d;if(!d){return 0}g=1;a=O[c|0]|O[c+1|0]<<8;a=c+(((a<<8|a>>>8)&65535)<<1)|0;L[a+2|0]=0;L[a+3|0]=0}return g}}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}N[b+24>>2]=4;return 0}function Xw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=La-80|0;La=l;d=6;i=N[a+532>>2];a:{if(!i){break a}j=N[i+4>>2];if(j){f=i+88|0;g=l+32|0;while(1){h=T(c,12);e=h+g|0;N[e>>2]=N[((c<<2)+i|0)+8>>2];h=f+h|0;m=N[h+4>>2];N[e+4>>2]=N[m>>2];N[e+8>>2]=N[(m+(O[h|0]<<2)|0)-4>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}}g=N[i>>2];e=0;h=j<<1;f=h+3&-4;c=(f+T(j,24)|0)+20|0;b:{if((c|0)<=0){if(!c){break b}break a}a=N[a+100>>2];e=Qa[N[a+4>>2]](a,c)|0;if(!e){d=64;break a}C(e,0,c)}a=0;N[e+8>>2]=0;N[e+4>>2]=g;N[e>>2]=j;c=e+20|0;c:{if(!j){N[e+16>>2]=0;N[e+12>>2]=c+f;break c}C(c,0,h);N[e+16>>2]=0;f=c+f|0;N[e+12>>2]=f;while(1){c=T(a,24)+f|0;g=(l+24|0)+T(a,12)|0;d=N[g+8>>2];N[c>>2]=d;N[c+4>>2]=N[g+12>>2]<<16;g=N[g+16>>2];N[c+16>>2]=-1;N[c+20>>2]=-1;N[c+12>>2]=g<<16;d:{if(!d){break d}k=2003265652;e:{if(!cb(d,9465)){break e}k=2003072104;if(!cb(d,14033)){break e}if(cb(d,15435)){break d}k=1869640570}N[c+16>>2]=k}a=a+1|0;if((j|0)!=(a|0)){continue}break}Jh(N[i+140>>2],l,N[i+4>>2]);a=0;while(1){h=N[(a<<2)+l>>2];d=T(a,12)+i|0;g=N[d+96>>2];f:{if((h|0)>N[g>>2]){c=1;m=O[d+88|0];if(m>>>0>1){while(1){n=c<<2;k=N[g+n>>2];if((h|0)<=(k|0)){c=n-4|0;f=N[c+g>>2];f=fb(h-f|0,k-f|0);d=N[d+92>>2];c=N[d+c>>2];c=T(N[d+n>>2]-c|0,f)+(c<<16)|0;f=N[e+12>>2];break f}c=c+1|0;if((m|0)!=(c|0)){continue}break}}c=N[(N[d+92>>2]+(m<<2)|0)-4>>2]<<16;break f}c=N[N[d+92>>2]>>2]<<16}N[(T(a,24)+f|0)+8>>2]=c;a=a+1|0;if((j|0)!=(a|0)){continue}break}}N[b>>2]=e;d=0}La=l+80|0;return d|0}function Vc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=N[a+356>>2];k=P[a+340>>1];a:{b:{if(!k){g=-1;h=-1;i=-1;break b}g=-1;h=-1;e=-1;i=-1;d=j;while(1){c:{if(!P[d+8>>1]|P[d+6>>1]!=(b|0)){break c}d:{switch(P[d>>1]){case 0:case 2:g=f;break c;case 1:if(!P[d+4>>1]){e=f;break c}i=P[d+2>>1]?i:f;break c;case 3:break d;default:break c}}if((h|0)!=-1&(P[d+4>>1]&1023)!=9){break c}l=P[d+2>>1];if(l>>>0>10|!(1<>1]&1023)==9;h=f}d=d+20|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}if((e|0)>=0){break a}}e=i}i=N[a+100>>2];e:{f:{g:{h:{i:{j:{k:{if((h|0)>=0){if((e|0)>=0){b=184;if(!m){break k}}d=j+T(h,20)|0;f=P[d+2>>1];if(f>>>0<=10){break j}break e}b=184;if((e|0)>=0){break k}b=185;e=g;if((e|0)>=0){break k}break e}if(j){d=j+T(e,20)|0;break i}break e}b=185;e=0;if(!(1<>2]){break l}e=N[a+368>>2];f=P[d+8>>1];m:{if(!f){a=0;break m}a=Qa[N[i+4>>2]](i,f)|0;if(!a){break g}C(a,0,f)}N[d+16>>2]=a;f=N[d+12>>2];g=N[e+20>>2];n:{o:{if(g){if(Qa[g|0](e,f,0,0)|0){break n}g=N[e+4>>2];a=N[d+16>>2];break o}g=N[e+4>>2];if(f>>>0>g>>>0){break n}}N[e+8>>2]=f;if(f>>>0>=g>>>0){break n}h=P[d+8>>1];j=N[e+20>>2];p:{if(j){g=Qa[j|0](e,f,a,h)|0;break p}j=a;a=g-f|0;g=a>>>0>>0?a:h;F(j,f+N[e>>2]|0,g)}N[e+8>>2]=f+g;if(g>>>0>=h>>>0){break l}}b=85;a=N[d+16>>2];if(!a){break f}Qa[N[i+8>>2]](i,a);break f}e=Qa[b|0](d,i)|0}N[c>>2]=e;return 0}N[d+16>>2]=0;b=64}M[d+8>>1]=0;N[d+16>>2]=0;N[c>>2]=0;return b|0}N[c>>2]=0;return 0}function ef(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;a:{if(!c){break a}x=(f<<1)+d|0;if(!x){while(1){l=l+8|0;if(l>>>0>>0){continue}break a}}n=d<<3;G=f<<3;while(1){o=0;m=0;while(1){d=m-G|0;g=d>>>0>=n>>>0?440592:(d<<1)+b|0;y=M[g+14>>1];z=M[g>>1];A=M[g+12>>1];B=M[g+10>>1];C=M[g+8>>1];D=M[g+6>>1];E=M[g+4>>1];F=M[g+2>>1];p=32768;q=32768;r=32768;s=32768;t=32768;u=32768;v=32768;w=32768;d=f;while(1){i=(d-f<<3)+m|0;h=i>>>0>=n>>>0?440592:(i<<1)+b|0;i=m-(d+f<<3)|0;j=i>>>0>=n>>>0?440592:(i<<1)+b|0;i=d-1|0;k=M[(i<<1)+e>>1];p=T((P[h+14>>1]-y<<16>>16)+(P[j+14>>1]-y<<16>>16)|0,k)+p|0;q=T(k,(P[h+12>>1]-A<<16>>16)+(P[j+12>>1]-A<<16>>16)|0)+q|0;r=T(k,(P[h+10>>1]-B<<16>>16)+(P[j+10>>1]-B<<16>>16)|0)+r|0;s=T(k,(P[h+8>>1]-C<<16>>16)+(P[j+8>>1]-C<<16>>16)|0)+s|0;t=T(k,(P[h+6>>1]-D<<16>>16)+(P[j+6>>1]-D<<16>>16)|0)+t|0;u=T(k,(P[h+4>>1]-E<<16>>16)+(P[j+4>>1]-E<<16>>16)|0)+u|0;v=T(k,(P[h+2>>1]-F<<16>>16)+(P[j+2>>1]-F<<16>>16)|0)+v|0;w=T(k,(P[h>>1]-z<<16>>16)+(P[j>>1]-z<<16>>16)|0)+w|0;h=(d|0)>1;d=i;if(h){continue}break}M[a>>1]=P[g>>1]+(w>>>16|0);M[a+2>>1]=P[g+2>>1]+(v>>>16|0);M[a+4>>1]=P[g+4>>1]+(u>>>16|0);M[a+6>>1]=P[g+6>>1]+(t>>>16|0);M[a+8>>1]=P[g+8>>1]+(s>>>16|0);M[a+10>>1]=P[g+10>>1]+(r>>>16|0);M[a+12>>1]=P[g+12>>1]+(q>>>16|0);M[a+14>>1]=P[g+14>>1]+(p>>>16|0);m=m+8|0;a=a+16|0;o=o+1|0;if((x|0)!=(o|0)){continue}break}b=(n<<1)+b|0;l=l+8|0;if(l>>>0>>0){continue}break}}}function xm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-48|0;La=e;g=N[a+4>>2];L[b+557|0]=0;N[b+560>>2]=a;a:{if(!N[b+116>>2]|!N[b+120>>2]){break a}h=b+188|0;C(h,0,364);N[b+528>>2]=3932;N[b+520>>2]=-1;N[b+392>>2]=1;N[b+588>>2]=d;N[b+584>>2]=c;N[b+552>>2]=b;N[b+384>>2]=2596864;N[b+388>>2]=7;b:{if(!O[a+32|0]){f=97;c=8192;break b}f=N[a+1556>>2]+1|0;c=20480}i=N[a>>2];d=N[i>>2];j=N[b+176>>2];N[e+20>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+40>>2]=h;N[e+36>>2]=c;N[e+8>>2]=i;N[e+44>>2]=j;c:{d:{e:{f:{g:{if((f|0)<0){break g}if(!f){d=0;N[e+24>>2]=0;break e}if((f|0)>536870911){break g}c=f<<2;d=Qa[N[d+4>>2]](d,c)|0;if(!d|(f|0)<=0){break f}C(d,0,c);N[e+24>>2]=d;break e}f=0;break c}N[e+24>>2]=d;if(!d){break d}}N[e+28>>2]=d;N[e+32>>2]=f;a=N[b+116>>2]+N[a+12>>2]|0;c=N[g+20>>2];h:{if(c){f=85;if(!(Qa[c|0](g,a,0,0)|0)){break h}break c}f=85;if(a>>>0>Q[g+4>>2]){break c}}N[g+8>>2]=a;f=Bb(g,N[b+120>>2]);if(f){break c}f=zm(e+8|0,N[g+32>>2],N[g+36>>2]);if(N[g+20>>2]){a=N[g>>2];if(a){c=N[g+28>>2];Qa[N[c+8>>2]](c,a)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;if(f){break c}L[b+188|0]=O[b+188|0]&254;a=N[b+532>>2];i:{j:{if((a|0)<0){a=0-a|0;break j}if(a){break i}a=987654321}N[b+532>>2]=a}if(Q[b+388>>2]>=1001){N[b+388>>2]=7}f=0;if(Q[b+392>>2]<1001){break c}N[b+392>>2]=1;break c}f=0;N[e+24>>2]=0}N[b+600>>2]=0;N[b+596>>2]=N[b+592>>2];a=N[e+24>>2];if(!a){break a}b=N[N[e+8>>2]>>2];Qa[N[b+8>>2]](b,a)}La=e+48|0;return f|0}function Ff(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;g=Q[a+16>>2]<4?275552:N[a+12>>2]}a=g;b=275552;c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}g=O[a+4|0]|O[a+5|0]<<8;b=275552;if(!g){break c}b=((g<<8|g>>>8)&65535)+a|0}g=O[b|0]|O[b+1|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>c>>>0){c=(b+T(c,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(c){b=b+((c<<8|c>>>8)&65535)|0}else{b=275552}d:{e:{f:{g:{if((d|0)==65535){d=O[b|0]|O[b+1|0]<<8;c=238128;if(!d){break g}c=b+((d<<8|d>>>8)&65535)|0;break g}c=O[b+2|0]|O[b+3|0]<<8;d=((c<<8|c>>>8)&65535)>>>0<=d>>>0?275552:(b+T(d,6)|0)+4|0;d=O[d+4|0]|O[d+5|0]<<8;c=238128;if(!d){break g}c=b+((d<<8|d>>>8)&65535)|0}b=O[c+4|0]|O[c+5|0]<<8;if(!b){break f}g=c+4|0;b=(b<<8|b>>>8)&65535;j=b>>>0<=1?1:b;b=0;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?238136:(g+(b<<1)|0)+2|0;d=O[c|0]|O[c+1|0]<<8;i=d<<8|d>>>8;c=i&65535;if((d|0)==65535){d=0}else{d=275552;h:{if((O[a|0]|O[a+1|0]<<8)!=256){break h}h=O[a+6|0]|O[a+7|0]<<8;d=275552;if(!h){break h}d=((h<<8|h>>>8)&65535)+a|0}h=O[d|0]|O[d+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0>(i&65535)>>>0){d=(d+T(c,6)|0)+2|0}else{d=275552}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((d|0)!=(e|0)){b=b+1|0;if((j|0)==(b|0)){break f}continue}break}b=1;if(f){break e}break d}c=65535;b=0;if(!f){break d}}N[f>>2]=c}return b}function gl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break b}e=N[b+12>>2];d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=a+4|0;if(d>>>0>f>>>0|f-d>>>0<4){break b}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break b}g=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(g&128){break b}d=O[a+2|0]|O[a+3|0]<<8;if(d){g=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+c|0;if(g>>>0>>0|f>>>0>>0){break b}h=f-g|0;g=((d<<8|d>>>8)&65535)<<2;if(h>>>0>>0){break b}e=e-g|0;N[b+12>>2]=e;if((e|0)<=0){break b}}h=O[a|0]|O[a+1|0]<<8;if(!h){return 1}g=a+8|0;if(g>>>0>>0|f>>>0>>0){break b}h=(h<<8|h>>>8)&65535;j=h<<3;if(j>>>0>f-g>>>0){break b}a=e-j|0;N[b+12>>2]=a;if((a|0)<=0){break b}if(d){j=((d<<8|d>>>8)&65535)<<1;e=0;while(1){k=0;d=g+(e<<3)|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<8){break b}N[b+12>>2]=a-8;if((a|0)<9){break b}d=d+6|0;if(d>>>0>f>>>0|f-d>>>0<2){break b}l=a-10|0;N[b+12>>2]=l;if((a|0)<11){break b}a=O[d|0]|O[d+1|0]<<8;a=((a<<8|a>>>8)&65535)+c|0;if(a>>>0>>0|a>>>0>f>>>0|j>>>0>f-a>>>0){break b}a=l-j|0;N[b+12>>2]=a;if((a|0)<=0){break b}k=1;e=e+1|0;if((h|0)!=(e|0)){continue}break}break b}d=((j^-1)+e>>>0)/10|0;e=0;while(1){c=g+(e<<3)|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<8){break a}N[b+12>>2]=a-8;if((a|0)<9){break a}c=c+6|0;if(c>>>0>f>>>0|f-c>>>0<2){break a}a=a-10|0;N[b+12>>2]=a;if((d|0)==(e|0)){break a}k=1;e=e+1|0;if((h|0)!=(e|0)){continue}break}}return k}return 0}function Dn(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;k=N[a+8>>2];a:{b:{l=N[a+12>>2];h=N[l+36>>2];c:{if((h|0)<=0){if(!h){break c}d=6;break b}j=Qa[N[k+4>>2]](k,h)|0;if(!j){d=64;break b}C(j,0,h);i=j}N[i+100>>2]=k;N[i+96>>2]=a;N[i+104>>2]=N[b>>2];if(c){N[i+8>>2]=N[i+8>>2]|1024}d:{j=Qa[N[k+4>>2]](k,68)|0;if(!j){d=64;break d}h=0;C(j,0,68);N[i+128>>2]=j;e:{if((e|0)<=0){break e}a=0;while(1){if(h){break e}h=0;c=(a<<3)+f|0;if(N[c>>2]==1768842098){h=N[c+4>>2];N[j+52>>2]=h}a=a+1|0;if((e|0)!=(a|0)){continue}break}}N[j+60>>2]=-1;a=N[l+48>>2];f:{if(!a){N[b>>2]=N[i+104>>2];break f}d=Qa[a|0](N[b>>2],i,d,e,f)|0;N[b>>2]=N[i+104>>2];if(d){break d}}b=N[i+40>>2];g:{if(!b){break g}a=b+(N[i+36>>2]<<2)|0;c=a-4|0;h:{if(b>>>0<=c>>>0){while(1){h=N[c>>2];i:{if(N[h+4>>2]!=1970170211){break i}j:{switch(P[h+8>>1]){case 3:if(P[h+10>>1]!=10){break i}break h;case 0:break j;default:break i}}if(P[h+10>>1]==4){break h}}c=c-4|0;if(b>>>0<=c>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break g}h=N[a>>2];if(N[h+4>>2]!=1970170211){continue}break}}N[i+92>>2]=h}N[g>>2]=i;return 0}if(N[i+36>>2]>0){h=0;while(1){b=h<<2;e=N[b+N[i+40>>2]>>2];c=N[N[e>>2]+100>>2];a=N[N[e+12>>2]+8>>2];if(a){Qa[a|0](e)}Qa[N[c+8>>2]](c,e);N[b+N[i+40>>2]>>2]=0;h=h+1|0;if((h|0)>2]){continue}break}}a=N[i+40>>2];if(a){Qa[N[k+8>>2]](k,a)}N[i+36>>2]=0;N[i+40>>2]=0;a=0;break a}j=0;a=1}b=N[l+52>>2];if(b){Qa[b|0](i)}if(j){Qa[N[k+8>>2]](k,j)}if(!a){Qa[N[k+8>>2]](k,i)}N[g>>2]=0;return d}function bp(a){var b=0,c=0,d=0,e=0,f=0;c=a>>>0>1073741823;b=c<<31;d=b;e=b|1073741824;f=b|536870912;b=(c<<30)+a<<1;c=f>>>0>b>>>0;a=c?d:e;b=b+(c?0:1610612736)<<1;c=a|268435456;d=b>>>0>>0;a=d?a:a|536870912;b=b-(d?0:c)<<1;c=a|134217728;d=b>>>0>>0;a=d?a:a|268435456;b=b-(d?0:c)<<1;c=a+67108864|0;d=b>>>0>>0;a=d?a:a- -134217728|0;b=b-(d?0:c)<<1;c=a+33554432|0;d=b>>>0>>0;a=d?a:a+67108864|0;b=b-(d?0:c)<<1;c=a+16777216|0;d=b>>>0>>0;a=d?a:a+33554432|0;b=b-(d?0:c)<<1;c=a+8388608|0;d=b>>>0>>0;a=d?a:a+16777216|0;b=b-(d?0:c)<<1;c=a+4194304|0;d=b>>>0>>0;a=d?a:a+8388608|0;b=b-(d?0:c)<<1;c=a+2097152|0;d=b>>>0>>0;a=d?a:a+4194304|0;b=b-(d?0:c)<<1;c=a- -1048576|0;d=b>>>0>>0;a=d?a:a+2097152|0;b=b-(d?0:c)<<1;c=a+524288|0;d=b>>>0>>0;a=d?a:a- -1048576|0;b=b-(d?0:c)<<1;c=a+262144|0;d=b>>>0>>0;a=d?a:a+524288|0;b=b-(d?0:c)<<1;c=a+131072|0;d=b>>>0>>0;a=d?a:a+262144|0;b=b-(d?0:c)<<1;c=a+65536|0;d=b>>>0>>0;a=d?a:a+131072|0;b=b-(d?0:c)<<1;c=a+32768|0;d=b>>>0>>0;a=d?a:a+65536|0;b=b-(d?0:c)<<1;c=a+16384|0;d=b>>>0>>0;a=d?a:a+32768|0;b=b-(d?0:c)<<1;c=a- -8192|0;d=b>>>0>>0;a=d?a:a+16384|0;b=b-(d?0:c)<<1;c=a+4096|0;d=b>>>0>>0;a=d?a:a- -8192|0;b=b-(d?0:c)<<1;c=a+2048|0;d=b>>>0>>0;a=d?a:a+4096|0;b=b-(d?0:c)<<1;c=a+1024|0;d=b>>>0>>0;a=d?a:a+2048|0;b=b-(d?0:c)<<1;c=a+512|0;d=b>>>0>>0;a=d?a:a+1024|0;b=b-(d?0:c)<<1;c=a+256|0;d=b>>>0>>0;a=d?a:a+512|0;return(a+128>>>0>b-(d?0:c)<<1>>>0?a:a+256|0)>>>8|0}function zo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;a:{b:{h=N[b+36>>2];if((h|0)<=0){break b}e=N[b+40>>2];c=-1;while(1){c:{f=N[(d<<2)+e>>2];i=P[f+8>>1];if((i|0)!=3){break c}d:{switch(P[f+10>>1]-1|0){case 0:case 9:break d;default:break c}}if(!e|(!b|!f)){break a}a=(h<<2)+e|0;while(1){e:{if((f|0)!=N[e>>2]){break e}d=N[f>>2];f:{if(!d){break f}d=N[d+96>>2];c=N[N[d>>2]+32>>2];if(!c){break f}d=Qa[c|0](d,10557)|0;if(!d){break f}if(Qa[N[d>>2]](f,g+8|0)|0){break f}if(N[g+12>>2]==14){break e}}N[b+92>>2]=N[e>>2];break a}e=e+4|0;if(a>>>0>e>>>0){continue}break}break a}c=(i|0)==3?(c|0)<0?d:c:c;d=d+1|0;if((h|0)!=(d|0)){continue}break}if((c|0)<0){break b}a=N[(c<<2)+e>>2];if(!a|!e){break a}d=(h<<2)+e|0;while(1){g:{if((a|0)!=N[e>>2]){break g}c=N[a>>2];h:{if(!c){break h}c=N[c+96>>2];f=N[N[c>>2]+32>>2];if(!f){break h}c=Qa[f|0](c,10557)|0;if(!c){break h}if(Qa[N[c>>2]](a,g+8|0)|0){break h}if(N[g+12>>2]==14){break g}}N[b+92>>2]=N[e>>2];break a}e=e+4|0;if(d>>>0>e>>>0){continue}break}break a}if(N[b+92>>2]){break a}if(!h){mb(a,2,10475,0);break a}mb(a,2,15624,0);d=N[b+40>>2];a=N[d>>2];if(!a){break a}e=N[b+36>>2];if((e|0)<=0){break a}e=(e<<2)+d|0;while(1){i:{if((a|0)!=N[d>>2]){break i}c=N[a>>2];j:{if(!c){break j}c=N[c+96>>2];f=N[N[c>>2]+32>>2];if(!f){break j}c=Qa[f|0](c,10557)|0;if(!c){break j}if(Qa[N[c>>2]](a,g+8|0)|0){break j}if(N[g+12>>2]==14){break i}}N[b+92>>2]=N[d>>2];break a}d=d+4|0;if(e>>>0>d>>>0){continue}break}}La=g+16|0}function qf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=T(d,1348)+a|0;h=N[g+44>>2];c=b?N[(T(b,12)+c|0)-12>>2]:0;f=N[N[a+2748>>2]+40>>2];e=(f|0)/256|0;if((h|0)>0){k=(T(f,6e3)|0)/2048|0;b=N[g+52>>2];i=b+T(h,44)|0;l=f+255>>>0<511?1:e;j=N[(T(d,1348)+a|0)+68>>2];a:{if(!c){d=b;while(1){if((j|0)==L[d+1|0]){f=M[d+2>>1];a=b;while(1){b:{if((j|0)!=(0-L[a+1|0]|0)){break b}g=M[a+2>>1];if((g|0)<=(f|0)){break b}e=M[d+8>>1];c=M[a+8>>1];h=(c|0)>(e|0)?e:c;e=M[d+6>>1];c=M[a+6>>1];c=h-((c|0)<(e|0)?e:c)|0;if((c|0)<(l|0)){break b}c=(g-f|0)+((k|0)/(c|0)|0)|0;if((c|0)>2]){N[d+20>>2]=a;N[d+28>>2]=c}if((c|0)>=N[a+28>>2]){break b}N[a+20>>2]=d;N[a+28>>2]=c}a=a+44|0;if(i>>>0>a>>>0){continue}break}}d=d+44|0;if(i>>>0>d>>>0){continue}break}break a}d=b;while(1){if((j|0)==L[d+1|0]){h=M[d+2>>1];a=b;while(1){c:{if((j|0)!=(0-L[a+1|0]|0)){break c}f=M[a+2>>1];if((f|0)<=(h|0)){break c}g=M[d+8>>1];e=M[a+8>>1];m=(e|0)>(g|0)?g:e;g=M[d+6>>1];e=M[a+6>>1];g=m-((e|0)<(g|0)?g:e)|0;if((g|0)<(l|0)){break c}e=(f-h<<10)/(c|0)|0;f=32e3;d:{if((e|0)>11024){break d}f=0;if((e|0)<1025){break d}e=e-1024|0;f=(T(e,e)>>>0)/3e3|0}e=f+((k|0)/(g|0)|0)|0;if((e|0)>2]){N[d+20>>2]=a;N[d+28>>2]=e}if((e|0)>=N[a+28>>2]){break c}N[a+20>>2]=d;N[a+28>>2]=e}a=a+44|0;if(i>>>0>a>>>0){continue}break}}d=d+44|0;if(i>>>0>d>>>0){continue}break}}while(1){a=N[b+20>>2];if(!(!a|N[a+20>>2]==(b|0))){N[b+20>>2]=0;N[b+24>>2]=N[a+20>>2]}b=b+44|0;if(i>>>0>b>>>0){continue}break}}}function Ie(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((O[a|0]|O[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!Gf(a+4|0,b,a)){break a}d=a+8|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b:{if(!c){break b}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}d=a+12|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c:{if(!c){break c}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}d=a+16|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d:{if(!c){break d}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break d}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;e=0;if(!O[b+24|0]){break d}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;e=1}return e}return 0}function wd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{f=c-b|0;if(N[a+20>>2]==2|f>>>0<2){break a}i=N[a+84>>2];k=N[(i+T(b,20)|0)+8>>2];g=k;l=b+1|0;b:{if(l>>>0>=c>>>0){break b}m=f-2|0;j=(b^-1)+c&3;if(j){h=b+j|0;f=0;e=l;while(1){d=N[(T(e,20)+i|0)+8>>2];g=d>>>0>g>>>0?g:d;e=e+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}f=h+1|0}else{f=l}if(m>>>0<=2){break b}while(1){h=T(f,20)+i|0;d=N[h+8>>2];e=d>>>0>g>>>0?g:d;d=N[h+28>>2];e=e>>>0>>0?e:d;d=N[h+48>>2];e=e>>>0>>0?e:d;d=N[h+68>>2];g=e>>>0>>0?e:d;f=f+4|0;if((f|0)!=(c|0)){continue}break}}h=0;d=b;while(1){c:{f=h;e=d;if(!d){f=b;e=0;break c}h=f+1|0;d=e-1|0;if((k|0)==N[(T(d,20)+i|0)+8>>2]){continue}}break}d:{e:{f:{d=N[a+72>>2];if(d>>>0<=c>>>0){break f}while(1){h=T(c,20)+i|0;if(N[h-12>>2]!=N[h+8>>2]){break f}c=c+1|0;if((d|0)!=(c|0)){continue}break}break e}if((c|0)!=(d|0)){break d}}c=N[a+64>>2];k=N[a+68>>2];g:{if(c>>>0>=k>>>0){break g}m=(T(d,20)+i|0)-12|0;h=N[a+80>>2];while(1){j=h+T(c,20)|0;a=N[j+8>>2];if((a|0)!=N[m>>2]){break g}if((a|0)!=(g|0)){N[j+4>>2]=N[j+4>>2]&-8}N[j+8>>2]=g;c=c+1|0;if((k|0)!=(c|0)){continue}break}}c=d}if(c>>>0<=e>>>0){break a}if((f-b|0)+c&1){a=T(e,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;e=e+1|0}if((l-f|0)==(c|0)){break a}while(1){a=T(e,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;a=T(e+1|0,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;e=e+2|0;if(e>>>0>>0){continue}break}}}function uk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}e=N[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}i=N[b+12>>2];g=i-2|0;N[b+12>>2]=g;f=1;if((g|0)<=0){return 0}g=O[a|0]|O[a+1|0]<<8;a:{if(!g){break a}b:{g=((g<<8|g>>>8)&65535)+c|0;if(g>>>0>>0|e>>>0>>0|e-g>>>0<2){break b}c=i-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}h=O[g|0]|O[g+1|0]<<8;if(!h){break a}f=g+2|0;if(f>>>0>e>>>0){break b}d=e-f|0;e=(h<<8|h>>>8)&65535;f=e<<1;if(d>>>0>>0){break b}c=c-f|0;N[b+12>>2]=c;if((c|0)<=0){break b}j=e>>>0<=1?1:e;h=0;while(1){d=N[b+4>>2];f=(g+(h<<1)|0)+2|0;if(d>>>0>f>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-f>>>0<2){break b}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[f|0]|O[f+1|0]<<8;c:{if(!c){break c}c=g+((c<<8|c>>>8)&65535)|0;d:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break d}d=i-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>e>>>0|e-d>>>0<2){break d}i=i-6|0;N[b+12>>2]=i;if((i|0)<=0){break d}d=O[c+2|0]|O[c+3|0]<<8;k=((d<<8|d>>>8)&65535)<<2;d=O[c|0]|O[c+1|0]<<8;d=k+(d?(((d<<8|d>>>8)&65535)<<1)-2|0:0)|0;if(!d){break c}c=c+4|0;if(c>>>0>e>>>0|d>>>0>e-c>>>0){break d}c=i-d|0;N[b+12>>2]=c;if((c|0)>0){break c}}c=N[b+28>>2];if(c>>>0>31){break b}N[b+28>>2]=c+1;if(!O[b+24|0]){break b}L[f|0]=0;L[f+1|0]=0}f=1;h=h+1|0;if((j|0)!=(h|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;f=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;f=1}return f}function OA(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0;C(a,0,1516);m=7;j=N[b+96>>2];a:{if(!j){break a}b:{k=N[N[j>>2]+32>>2];if(k){l=Qa[k|0](j,10566)|0;if(l){break b}}k=N[j+4>>2];l=N[k+16>>2];if((l|0)<=0){break a}k=k+20|0;o=k+(l<<2)|0;while(1){l=N[k>>2];c:{if((l|0)==(j|0)){break c}n=N[N[l>>2]+32>>2];if(!n){break c}l=Qa[n|0](l,10566)|0;if(l){break b}}k=k+4|0;if(o>>>0>k>>>0){continue}break}break a}L[a+68|0]=1;m=0;N[a+64>>2]=0;N[a+1348>>2]=l;N[a+8>>2]=d;N[a+4>>2]=b;N[a>>2]=N[b+100>>2];d:{if(!d){break d}j=N[N[d+156>>2]>>2];N[a+12>>2]=j;N[a+20>>2]=j+56;N[a+16>>2]=j+20;N[j+20>>2]=0;N[j+36>>2]=0;N[j+48>>2]=0;l=N[j+32>>2];k=j- -64|0;N[k>>2]=N[j+28>>2];N[k+4>>2]=l;N[j+88>>2]=N[j+52>>2];k=N[j+24>>2];N[j+56>>2]=N[j+20>>2];N[j+60>>2]=k;k=N[j+40>>2];N[j+72>>2]=N[j+36>>2];N[j+76>>2]=k;k=N[j+48>>2];N[j+80>>2]=N[j+44>>2];N[j+84>>2]=k;c=N[N[c+40>>2]>>2];N[a+72>>2]=0;N[a+76>>2]=c;if(!g){break d}N[a+72>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;c=N[73541];N[a+80>>2]=N[73540];N[a+84>>2]=c;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;c=N[73543];N[a+88>>2]=N[73542];N[a+92>>2]=c;c=N[73545];N[a+96>>2]=N[73544];N[a+100>>2]=c;c=N[73547];N[a+104>>2]=N[73546];N[a+108>>2]=c;N[a+1352>>2]=N[b+16>>2];N[a+1472>>2]=h;N[a+1356>>2]=e;N[a+1476>>2]=i;N[a+1468>>2]=f;b=N[73549];N[a+1480>>2]=N[73548];N[a+1484>>2]=b;b=N[73551];a=a+1488|0;N[a>>2]=N[73550];N[a+4>>2]=b}return m|0}function dn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=N[a+736>>2];if(d){c=N[a+100>>2];e=N[N[d+12>>2]>>2];b=N[d+4>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+4>>2]=0;b=N[d+8>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+8>>2]=0;b=N[d+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+20>>2]=0;b=N[d+12>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+12>>2]=0;b=N[d+28>>2];if(b){a:{if(!e){break a}if((e|0)!=1){i=e&1;j=e&-2;e=0;while(1){g=f<<3;h=N[(g+b|0)+4>>2];if(h){Qa[N[c+8>>2]](c,h);b=N[d+28>>2]}N[(b+g|0)+4>>2]=0;g=(f|1)<<3;h=N[(g+b|0)+4>>2];if(h){Qa[N[c+8>>2]](c,h);b=N[d+28>>2]}N[(b+g|0)+4>>2]=0;f=f+2|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}if(!i){break a}}e=f<<3;f=N[(e+b|0)+4>>2];if(f){Qa[N[c+8>>2]](c,f);b=N[d+28>>2]}N[(b+e|0)+4>>2]=0}Qa[N[c+8>>2]](c,b);N[d+28>>2]=0}b=N[d+40>>2];if(b){Qh(N[a+100>>2],b);b=N[d+40>>2];e=N[b+28>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+40>>2]}N[b+28>>2]=0;e=N[b+24>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+40>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+40>>2]=0}b=N[d+52>>2];if(b){Qh(N[a+100>>2],b);b=N[d+52>>2];e=N[b+28>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+52>>2]}N[b+28>>2]=0;e=N[b+24>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+52>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+52>>2]=0}b=N[d+56>>2];if(b){Qh(N[a+100>>2],b+4|0);b=N[d+56>>2];a=N[b+24>>2];if(a){Qa[N[c+8>>2]](c,a);b=N[d+56>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+56>>2]=0}a=N[d+64>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d+64>>2]=0;a=N[d+72>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d+72>>2]=0;Qa[N[c+8>>2]](c,d)}}function gq(a,b,c,d){var e=0,f=0,g=0,h=U(0),i=U(0);g=N[a+4>>2];a:{if(g>>>0>b>>>0){e=N[a>>2]-1|0;e=b>>>0>e>>>0?e:b;b:{if((e|0)<0){e=275552;break b}g=N[a+20>>2];e=N[(g?g:275552)+12>>2]+(e<<2)|0;g=N[a+4>>2]}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)&65535;break a}e=0;if(N[a+8>>2]){break a}e=N[a+16>>2]}c:{if(b>>>0>=g>>>0){break c}g=N[c+84>>2];if(!g){break c}a=N[a+24>>2];a=a?a:275552;f=N[a+16>>2];if(f){c=N[c+88>>2];a=f>>>0<20?275552:N[a+12>>2];f=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(f){f=a+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0}else{f=275552}f=nd(f,b);h=U(e>>>0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if(b){a=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{a=275552}b=O[a+6|0]|O[a+7|0]<<8;e=(b<<8|b>>>8)&65535;b=f>>>16|0;if(e>>>0<=b>>>0){i=U(.5)}else{b=a+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}f=f&65535;e=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(e){a=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{a=275552}i=U(Fc(b,f,c,g,a,d)+U(.5))}h=U(U(Z(i))+h);if(h=U(0)){return~~h>>>0}return 0}d=N[c+24>>2];a=N[d+108>>2];d:{if(a){break d}while(1){a=N[d+48>>2];if(!a){a=275552;break d}e=db(1,28);if(!e){a=275552;N[d+108>>2]=275552;break d}a=Le(e,a);if(!N[d+108>>2]){N[d+108>>2]=a;break d}ab(N[a+24>>2]);_a(a);a=N[d+108>>2];if(!a){continue}break}}e=fq(a,c,b,0)}return e}function Ux(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=N[a+12>>2];j=N[a+200>>2];c=N[a+196>>2];n=N[N[a>>2]+16>>2];a:{while(1){b=k;k=b+1|0;g=Fn(i,k);if(g){break a}g=21;h=c+4|0;if(h>>>0>j>>>0){break a}d=N[i+88>>2]+(b<<5)|0;N[d+8>>2]=0;N[d+12>>2]=0;l=O[c+1|0];e=l|O[c|0]<<8;M[d+4>>1]=e;b=O[c+3|0]|O[c+2|0]<<8;N[d>>2]=b;if((b|0)>=(n|0)){break a}f=l&1?4:2;m=e&8;b=f+2|0;b:{if(m){break b}b=f+4|0;if(e&64){break b}b=f|e>>>4&8}if(b+h>>>0>j>>>0){break a}b=e&1;c:{if(e&2){if(b){b=O[c+4|0]|O[c+5|0]<<8;N[d+8>>2]=(b<<8|b>>>8)<<16>>16;b=O[c+6|0]|O[c+7|0]<<8;f=(b<<8|b>>>8)<<16>>16;b=c+8|0;break c}N[d+8>>2]=L[c+4|0];f=L[c+5|0];b=c+6|0;break c}if(b){N[d+8>>2]=O[c+5|0]|O[c+4|0]<<8;f=O[c+7|0]|O[c+6|0]<<8;b=c+8|0;break c}N[d+8>>2]=O[c+4|0];f=O[c+5|0];b=c+6|0}N[d+12>>2]=f;d:{if(m){c=b+2|0;e=0;b=O[b|0]|O[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;f=g;h=0;break d}if(e&64){c=O[b+2|0]|O[b+3|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=O[b|0]|O[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+4|0;e=0;h=0;break d}if(!(e&128)){e=0;g=65536;c=b;f=65536;h=0;break d}c=O[b+6|0]|O[b+7|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=O[b+4|0]|O[b+5|0]<<8;e=(c<<8|c>>>8)<<16>>16<<2;c=O[b+2|0]|O[b+3|0]<<8;h=(c<<8|c>>>8)<<16>>16<<2;c=O[b|0]|O[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+8|0}N[d+16>>2]=g;N[d+28>>2]=f;N[d+24>>2]=h;N[d+20>>2]=e;if(l&32){continue}break}N[i+84>>2]=k;b=N[N[a+24>>2]+8>>2];N[a+196>>2]=c;N[a+164>>2]=(c+b|0)-j;g=0}return g|0}function bc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;L[a+48|0]=O[b+48|0];c=N[a>>2];d=N[a+20>>2];if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[b>>2];if(!N[b+20>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}a:{if(c>>>0>>0){f=e-c|0;if(!f){break a}N[a>>2]=N[a>>2]+T(N[a+4>>2],f);if(!d){break a}g=N[a+16>>2];e=N[a+24>>2];j=N[a+12>>2];k=N[a+40>>2];l=N[a+36>>2];c=N[a+8>>2];while(1){f=f-1|0;b=d;while(1){c=c+j|0;N[a+8>>2]=c;h=(b|0)!=0;e=h+e|0;N[a+24>>2]=e;d=b-h|0;N[a+20>>2]=d;g=T(h,20)+g|0;N[a+16>>2]=g;if((b|0)!=(h|0)){b=d;if(O[g+18|0]==6){continue}}if(!d){break a}b:{if(O[g+18|0]!=14){break b}h=N[N[l>>2]+68>>2];b=c;while(1){b=b+1|0;if(h>>>0<=b>>>0){break b}i=N[k>>2]+T(b,20)|0;if(O[i+18|0]==6){continue}break}b=d;if(1<>1]&7168){continue}}break}if(f){continue}break}break a}if(c>>>0<=e>>>0){break a}f=c-e|0;if(!f){break a}N[a>>2]=N[a>>2]-T(N[a+4>>2],f);if(!d){break a}c=N[a+16>>2];g=N[a+24>>2];h=N[a+12>>2];j=N[a+40>>2];k=N[a+36>>2];e=N[a+8>>2];while(1){f=f-1|0;while(1){e=e-h|0;N[a+8>>2]=e;b=(g|0)!=0;g=g-b|0;N[a+24>>2]=g;d=b+d|0;N[a+20>>2]=d;c=T(b,-20)+c|0;N[a+16>>2]=c;if(!d){break a}c:{d:{switch(O[c+18|0]-6|0){case 0:continue;case 8:break d;default:break c}}l=N[N[k>>2]+68>>2];b=e;while(1){b=b+1|0;if(l>>>0<=b>>>0){break c}i=N[j>>2]+T(b,20)|0;if(O[i+18|0]==6){continue}break}if(1<>1]&7168){continue}}break}if(f){continue}break}}}function Wj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=La-16|0;La=f;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=N[59537];N[f+8>>2]=N[59536];N[f+12>>2]=c;c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}e=(c<<8|c>>>8)&65535;c=a+6|0;while(1){d=O[c|0]|O[c+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}Rj(d,b,f+8|0);c=c+2|0;e=e-1|0;if(e){continue}break}break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}N[f+12>>2]=c;N[f+8>>2]=269;c=O[a+6|0]|O[a+7|0]<<8;if(!c){break a}e=(c<<8|c>>>8)&65535;c=a+8|0;while(1){d=O[c|0]|O[c+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}Rj(d,b,f+8|0);c=c+2|0;e=e-1|0;if(e){continue}break}break a}c=O[a+6|0]|O[a+7|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);d=O[a+4|0]|O[a+5|0]<<8;c=O[a+2|0]|O[a+3|0]<<8;g=(c<<8|c>>>8)&65535;if(g>>>0>=2){i=N[b+12>>2];e=g-1|0;c=a+8|0;while(1){h=O[c|0]|O[c+1|0]<<8;Ob(h?((h<<8|h>>>8)&65535)+a|0:275552,i);c=c+2|0;e=e-1|0;if(e){continue}break}}if(!d){break a}c=(d<<8|d>>>8)&65535;e=(a+6|0)+(g<<1)|0;a=0;while(1){d=e+(a<<2)|0;d=O[d+2|0]|O[d+3|0]<<8;Qj(b,(d<<8|d>>>8)&65535);a=a+1|0;if((c|0)!=(a|0)){continue}break}}La=f+16|0}function oo(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=La+-64|0;La=h;m=N[b+4>>2];j=N[b+12>>2];o=N[b>>2];i=N[b+8>>2];N[h+32>>2]=c;N[h+36>>2]=d;s=c;i=(c|0)<(i|0)?i:c;N[b+8>>2]=i;l=(c|0)>(o|0)?o:c;N[b>>2]=l;o=d;j=(d|0)<(j|0)?j:d;N[b+12>>2]=j;k=(d|0)>(m|0)?m:d;N[b+4>>2]=k;d=N[e+8>>2];c=N[e+4>>2];N[h+40>>2]=c;N[h+44>>2]=d;m=c;i=(c|0)<(i|0)?i:c;N[b+8>>2]=i;l=(c|0)>(l|0)?l:c;N[b>>2]=l;n=(d|0)<(j|0)?j:d;N[b+12>>2]=n;k=(d|0)>(k|0)?k:d;N[b+4>>2]=k;r=N[e+12>>2];e=r;c=N[e+4>>2];e=N[e+8>>2];N[h+48>>2]=c;N[h+52>>2]=e;j=c;p=(c|0)<(i|0)?i:c;N[b+8>>2]=p;q=(c|0)>(l|0)?l:c;N[b>>2]=q;n=(e|0)<(n|0)?n:e;N[b+12>>2]=n;k=(e|0)>(k|0)?k:e;N[b+4>>2]=k;i=N[r+12>>2];c=N[i+4>>2];i=N[i+8>>2];N[h+56>>2]=c;N[h+60>>2]=i;l=c;N[b+8>>2]=(c|0)<(p|0)?p:c;N[b>>2]=(c|0)>(q|0)?q:c;c=i;N[b+12>>2]=(c|0)<(n|0)?n:c;N[b+4>>2]=(c|0)>(k|0)?k:c;if(f){b=(e-d|0)/3|0;N[h+52>>2]=e-b;N[h+60>>2]=e+(((c-e|0)/3|0)-b>>1);c=(j-m|0)/3|0;N[h+48>>2]=j-c;N[h+44>>2]=b+d;N[h+40>>2]=c+m;N[h+56>>2]=(((l-j|0)/3|0)-c>>1)+j;N[h+36>>2]=(b+((d-o|0)/-3|0)>>1)+d;N[h+32>>2]=(c+((m-s|0)/-3|0)>>1)+m}a:{if(!g){b=N[h+36>>2];N[h+24>>2]=N[h+32>>2];N[h+28>>2]=b;b=0;if(!Fb(a,h+24|0,0)){break a}}b=h+32|8;c=N[b+4>>2];N[h+16>>2]=N[b>>2];N[h+20>>2]=c;b=0;if(!Fb(a,h+16|0,0)){break a}b=N[h+52>>2];N[h+8>>2]=N[h+48>>2];N[h+12>>2]=b;b=0;if(!Fb(a,h+8|0,0)){break a}b=N[h+60>>2];N[h>>2]=N[h+56>>2];N[h+4>>2]=b;b=Fb(a,h,3)}La=h- -64|0;return b}function Xb(a){var b=0,c=0,d=0;a:{b:{c:{d:{b=N[a+72>>2]+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break d}}e:{b=N[a+84>>2];f:{if((b|0)!=N[a+80>>2]){break f}d=N[a+72>>2];if(Q[a+64>>2]>=d+1>>>0){break f}if(!O[a+62|0]){break e}c=N[a+88>>2];N[a+84>>2]=c;d=T(d,20);if(!d){break f}F(c,b,d)}b=N[a+64>>2];d=N[a+68>>2];if(b>>>0>d>>>0){break c}g:{if(b>>>0>>0){c=N[a+80>>2]+T(b,20)|0;b=N[a+72>>2];d=N[a+84>>2];break g}d=N[a+84>>2];b=N[a+72>>2];c=b-1|0;c=d+T(b>>>0>=c>>>0?c:0,20)|0}b=T(b,20)+d|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;N[b>>2]=9676;c=N[a+72>>2]+1|0;N[a+72>>2]=c;break b}break a}c=N[a+72>>2];break b}ba(13080,14165,312,10949);B()}b=c-1|0;b=N[a+84>>2]+T(b>>>0<=c>>>0?b:0,20)|0;M[b+16>>1]=P[b+16>>1]&65407;h:{i:{if(O[a+62|0]){b=N[a+84>>2];d=N[a+80>>2];c=N[a+72>>2];if(!((b|0)==(d|0)&(c|0)==N[a+64>>2])){c=c+1|0;if(!(!c|c>>>0>2])){if(!gb(a,c)){break i}d=N[a+80>>2];b=N[a+84>>2]}j:{if((b|0)!=(d|0)){break j}c=N[a+72>>2];if(c+1>>>0<=N[a+64>>2]+1>>>0){b=d;break j}if(!O[a+62|0]){break h}b=N[a+88>>2];N[a+84>>2]=b;c=T(c,20);if(!c){break j}F(b,d,c);b=N[a+84>>2];d=N[a+80>>2]}d=T(N[a+64>>2],20)+d|0;c=N[d+4>>2];b=T(N[a+72>>2],20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;c=N[a+72>>2]}N[a+72>>2]=c+1}N[a+64>>2]=N[a+64>>2]+1}return}}ba(8694,17855,209,11932);B()}function NB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=La-400|0;La=i;e=N[c+4>>2];g=N[b+4>>2];c=N[c>>2];b=N[b>>2];f=N[a>>2];a=N[a+4>>2];N[i+20>>2]=a<<2;N[i+16>>2]=f<<2;N[i+12>>2]=g<<2;j=b<<2;N[i+8>>2]=j;h=e<<2;N[i+4>>2]=h;f=c<<2;N[i>>2]=f;b=N[d+200>>2];N[i+24>>2]=b;c=N[d+204>>2];N[i+28>>2]=c;k=a>>6;a:{b:{l=e>>6;a=N[d+168>>2];g=g>>6;c:{d:{if(!((l|0)>=(a|0)&(g|0)>=(a|0))){e=c>>8;break d}e=c>>8;if((a|0)>(k|0)){break d}if((a|0)<=(e|0)){break c}}c=i;a=N[d+164>>2];if((a|0)<=(l|0)|(a|0)<=(g|0)|((a|0)<=(k|0)|(a|0)<=(e|0))){break b}}N[d+204>>2]=h;N[d+200>>2]=f;break a}while(1){e=(T(j,-3)+b|0)+(f<<1)|0;a=e>>31;e:{f:{if((a^e)-a>>>0>=129){k=N[c+12>>2];e=N[c+28>>2];g=N[c+4>>2];break f}e=N[c+28>>2];k=N[c+12>>2];g=N[c+4>>2];h=e+(T(k,-3)+(g<<1)|0)|0;a=h>>31;if((a^h)-a>>>0>128){break f}h=((b<<1)+f|0)+T(N[c+16>>2],-3)|0;a=h>>31;if((a^h)-a>>>0>128){break f}h=((e<<1)+g|0)+T(N[c+20>>2],-3)|0;a=h>>31;if((a^h)-a>>>0>128){break f}Ti(d,f,g);if((c|0)==(i|0)){break a}a=c-24|0;f=N[a>>2];break e}a=c+24|0;N[c+48>>2]=b;N[c+52>>2]=e;f=f+j|0;N[c+8>>2]=f>>1;g=g+k|0;N[c+12>>2]=g>>1;l=b;b=N[c+16>>2];h=l+b|0;N[c+40>>2]=h>>1;b=b+j|0;f=b+f|0;N[c+16>>2]=f>>2;b=b+h|0;N[c+32>>2]=b>>2;l=e;e=N[c+20>>2];j=l+e|0;N[c+44>>2]=j>>1;f=b+f>>3;N[c+24>>2]=f;b=e+k|0;e=b+g|0;N[c+20>>2]=e>>2;b=b+j|0;N[c+36>>2]=b>>2;N[c+28>>2]=b+e>>3}b=N[a+24>>2];j=N[a+8>>2];c=a;continue}}La=i+400|0;return 0}function gc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a|!b|N[b+16>>2]>131083){break a}c=N[a+16>>2];if(c){e=N[b+8>>2];b:{while(1){f=N[((d<<2)+a|0)+20>>2];g=N[f>>2];if(cb(N[g+8>>2],e)){d=d+1|0;if((c|0)!=(d|0)){continue}break b}break}if(N[b+12>>2]<=N[g+12>>2]){break a}nn(a,f);c=N[a+16>>2]}if(c>>>0>31){break a}}d=0;f=N[a>>2];c=N[b+4>>2];c:{if((c|0)<=0){if(!c){break c}break a}d=Qa[N[f+4>>2]](f,c)|0;if(!d){break a}C(d,0,c)}N[d+8>>2]=f;N[d+4>>2]=a;N[d>>2]=b;d:{e:{c=b;e=N[c>>2];if(e&2){e=N[a>>2];c=Qa[N[e+4>>2]](e,12)|0;if(!c){break d}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;g=N[d>>2];N[d+12>>2]=g;N[d+16>>2]=N[g+36>>2];h=N[N[g+56>>2]+4>>2];if(h){if(Qa[h|0](e,d+52|0)|0){break e}N[d+56>>2]=N[N[g+56>>2]+16>>2];N[d+60>>2]=N[g+40>>2]}N[c+8>>2]=d;e=N[a+152>>2];N[c>>2]=e;N[c+4>>2]=0;N[(e?e+4|0:a+148|0)>>2]=c;N[a+152>>2]=c;e=N[a+148>>2];f:{if(e){while(1){c=N[e+8>>2];if(N[c+16>>2]==1869968492){break f}e=N[e+4>>2];if(e){continue}break}}c=0}N[a+156>>2]=c;c=N[d>>2];e=N[c>>2]}if(e&4){N[a+160>>2]=d}if(e&1){N[d+12>>2]=c}b=N[b+24>>2];if(b){if(Qa[b|0](d)|0){break d}}b=N[a+16>>2];N[a+16>>2]=b+1;N[((b<<2)+a|0)+20>>2]=d;return}Qa[N[e+8>>2]](e,c)}g:{if(!(O[N[d>>2]]&2)){break g}a=N[d+12>>2];if(!a|N[a+36>>2]!=1869968492){break g}b=N[d+52>>2];if(!b){break g}Qa[N[N[a+56>>2]+20>>2]](b)}Qa[N[f+8>>2]](f,d)}}function Pj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=275552;a:{b:{if((b|0)!=1196445523){f=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;f=Q[a+16>>2]<4?275552:N[a+12>>2]}a=f;c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<65537){break c}b=O[a+10|0]|O[a+11|0]<<8|(O[a+12|0]<<16|O[a+13|0]<<24);if(!b){break c}h=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}a=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);if(a){a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);m=a>>>0<=1?1:a;while(1){a=(i<<3)+h|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){j=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{j=275552}a=O[j|0]|O[j+1|0]<<8;if(!a){N[e>>2]=i;return}k=(a<<8|a>>>8)&65535;n=k>>>0<=1?1:k;l=0;b=0;while(1){d:{a=(b<<2)+j|0;a=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(a){f=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+j|0}else{f=275552}if((O[f|0]|O[f+1|0]<<8)!=256){break d}a=0;g=O[f+2|0]|O[f+3|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0>>0){a=N[(g<<2)+c>>2]}g=O[f+4|0]|O[f+5|0]<<8;if((g<<8|g>>>8)<<16>>16>(a|0)){break d}g=a;a=O[f+6|0]|O[f+7|0]<<8;if((g|0)>(a<<8|a>>>8)<<16>>16){break d}b=b+1|0;l=k>>>0<=b>>>0;if((b|0)!=(n|0)){continue}}break}if(l){N[e>>2]=i;return}i=i+1|0;if((m|0)!=(i|0)){continue}break}}N[e>>2]=-1}function Cg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;j=N[a+12>>2];if(j){N[(N[a+20>>2]+(j<<4)|0)-4>>2]=e}a:{k=j+1|0;e=N[a+16>>2];b:{c:{if(k>>>0<=e>>>0){g=N[a+20>>2];h=e;break c}h=(j&-8)+8|0;if((e|h)<0){return 6}l=N[a+20>>2];d:{e:{f:{if(!h){if(!l){break f}Qa[N[f+8>>2]](f,l);N[a+20>>2]=0;break d}i=10;if((h|0)>134217727){break b}g:{if(!e){g=Qa[N[f+4>>2]](f,h<<4)|0;i=!g<<6;break g}i=Qa[N[f+12>>2]](f,e<<4,h<<4,l)|0;g=i?i:l;i=!i<<6}if(i|(e|0)>=(h|0)|!g){break e}C((e<<4)+g|0,0,h-e<<4)}N[a+20>>2]=g;break d}N[a+20>>2]=g;if(i){break b}}N[a+16>>2]=h}e=((k<<4)+g|0)-16|0;N[e>>2]=0;N[((j<<4)+g|0)+12>>2]=0;N[a+12>>2]=k;if(!k){if(!h){g=Qa[N[f+4>>2]](f,128)|0;if(!g){break a}C(g,0,128);N[a+16>>2]=8;N[a+20>>2]=g}N[g>>2]=0;N[g+12>>2]=0;N[a+12>>2]=1;e=g}a=d+7>>>3|0;h=N[e+4>>2]+7|0;g=h>>>3|0;h:{if(a>>>0<=g>>>0){h=N[e+8>>2];break h}i=N[e+8>>2];i:{j:{a=a+7&1073741816;k:{if(!a){h=0;if(!i){break k}Qa[N[f+8>>2]](f,i);N[e+8>>2]=0;break i}l:{if(h>>>0<=7){h=Qa[N[f+4>>2]](f,a)|0;i=!h<<6;break l}f=Qa[N[f+12>>2]](f,g,a,i)|0;h=f?f:i;i=!f<<6}if(i|a>>>0<=g>>>0|!h){break j}C(g+h|0,0,a-g|0)}N[e+8>>2]=h;break i}N[e+8>>2]=h;if(i){break b}}N[e+4>>2]=a<<3}N[e>>2]=d;i=0;if(!d){break b}g=(c>>>3|0)+b|0;e=128>>>(c&7)|0;a=128;while(1){b=O[h|0];L[h|0]=O[g|0]&e?b|a:b&(a^-1);b=a>>>0<2;a=b?128:a>>1;c=e>>>0<2;e=c?128:e>>>1|0;h=b+h|0;g=c+g|0;d=d-1|0;if(d){continue}break}}return i}N[a+20>>2]=0;return 64}function Nj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=T(c,20)+a|0;k=P[f+16>>1];c:{if(!k){break c}g=O[f+18|0];M[f+16>>1]=0;if(!e){break c}h=k<<16>>16;f=h+c|0;if(f>>>0>=b>>>0){break c}Nj(a,b,f,d,e-1|0);b=g&2;if((g&1)==(b>>>1|0)){break b}if(b){if((d&-2)==4){b=T(c,20)+a|0;N[b+12>>2]=N[b+12>>2]+N[(T(f,20)+a|0)+12>>2];return}b=T(c,20)+a|0;N[b+8>>2]=N[b+8>>2]+N[(T(f,20)+a|0)+8>>2];return}g=T(c,20)+a|0;b=T(f,20)+a|0;e=N[g+8>>2]+N[b+8>>2]|0;N[g+8>>2]=e;b=N[g+12>>2]+N[b+12>>2]|0;N[g+12>>2]=b;if(c>>>0<=f>>>0){break a}d:{if((d&-3)==4){d=0-h&3;if(d){h=c+h|0;while(1){i=T(f,20)+a|0;b=b-N[i+4>>2]|0;e=e-N[i>>2]|0;f=f+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}f=d+h|0}if(k>>>0>65532){break d}while(1){d=T(f,20)+a|0;b=b-(((N[d+4>>2]+N[d+24>>2]|0)+N[d+44>>2]|0)+N[d- -64>>2]|0)|0;e=e-(N[d+60>>2]+(N[d+40>>2]+(N[d>>2]+N[d+20>>2]|0)|0)|0)|0;f=f+4|0;if((f|0)!=(c|0)){continue}break}break d}d=f+1|0;if(d>>>0>=c+1>>>0){break c}f=0-h&3;if(f){h=f+(c+h|0)|0;while(1){i=T(d,20)+a|0;b=N[i+4>>2]+b|0;e=N[i>>2]+e|0;d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}d=h+1|0}if(k>>>0>65532){break d}while(1){f=T(d,20)+a|0;b=(((N[f+4>>2]+b|0)+N[f+24>>2]|0)+N[f+44>>2]|0)+N[f- -64>>2]|0;e=N[f+60>>2]+(N[f+40>>2]+(N[f+20>>2]+(N[f>>2]+e|0)|0)|0)|0;f=d+3|0;d=d+4|0;if((c|0)!=(f|0)){continue}break}}N[g+8>>2]=e;N[g+12>>2]=b}return}ba(23893,14342,99,10300);B()}ba(13900,14342,113,10300);B()}function dq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(a){b=N[a+204>>2];N[a+204>>2]=b-1;j=N[a>>2];if((b|0)<=1){b=N[a+16>>2];a:{if(!b){break a}while(1){i=N[((h<<2)+a|0)+20>>2];c=N[i>>2];b:{if(cb(N[c+8>>2],21646)|!(L[c|0]&1)){break b}c=N[i+16>>2];if(!c){break b}while(1){f=N[c+8>>2];c:{if(!f){break c}d=N[f+96>>2];if(!d){break c}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break c}b=N[d+16>>2];if(!b){break c}g=d+16|0;e=N[d+8>>2];while(1){if((f|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break c}break}c=N[b>>2];k=c?c+4|0:g;g=N[b+4>>2];N[k>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,b);ic(e,f,d);c=N[i+16>>2]}if(c){continue}break}b=N[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}h=0;while(1){i=N[((h<<2)+a|0)+20>>2];d:{if(!(L[N[i>>2]]&1)){break d}c=N[i+16>>2];if(!c){break d}while(1){f=N[c+8>>2];e:{if(!f){break e}d=N[f+96>>2];if(!d){break e}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break e}b=N[d+16>>2];if(!b){break e}g=d+16|0;e=N[d+8>>2];while(1){if((f|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break e}break}c=N[b>>2];k=c?c+4|0:g;g=N[b+4>>2];N[k>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,b);ic(e,f,d);c=N[i+16>>2]}if(c){continue}break}b=N[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}while(1){nn(a,N[((b<<2)+a|0)+16>>2]);b=N[a+16>>2];if(b){continue}break}}Qa[N[j+8>>2]](j,a)}Qa[N[j+8>>2]](j,j)}}function Eg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;f=La-16|0;e=1;a:{b:{c:{switch(N[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){i=e;while(1){d=T(i,12)+b|0;g=d-12|0;if(N[d>>2]>2]){N[f+8>>2]=N[d+8>>2];h=N[d+4>>2];N[f>>2]=N[d>>2];N[f+4>>2]=h;N[d+8>>2]=N[g+8>>2];h=N[g+4>>2];N[d>>2]=N[g>>2];N[d+4>>2]=h;N[g+8>>2]=N[f+8>>2];d=N[f+4>>2];N[g>>2]=N[f>>2];N[g+4>>2]=d;i=i-1|0;if(i){continue}}break}e=e+1|0;j=N[a>>2];if(e>>>0>>0){continue}break}e=1;if(j>>>0<2){break b}l=j-1|0;m=N[b>>2];g=0;d=1;while(1){f=(d|0)==(l|0);h=N[T(d,12)+b>>2]-m|0;d:{if(!f&(h|0)<=(c|0)){break d}i=0;d=(f&(c|0)>=(h|0))+d|0;e=g;e:{if(g>>>0>=d>>>0){break e}e=d-g|0;n=e&3;k=0;f=g;if((f^-1)+d>>>0>=3){o=e&-4;e=0;while(1){h=T(f,12)+b|0;p=N[h>>2];N[h>>2]=0;q=N[h+12>>2];N[h+12>>2]=0;r=N[h+24>>2];N[h+24>>2]=0;s=N[h+36>>2];N[h+36>>2]=0;i=s+(((i+p|0)+q|0)+r|0)|0;f=f+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=d;if(!n){break e}while(1){e=T(f,12)+b|0;h=N[e>>2];N[e>>2]=0;f=f+1|0;i=h+i|0;k=k+1|0;if((k|0)!=(n|0)){continue}break}e=d}N[T(g,12)+b>>2]=(i|0)/(e|0);if(d>>>0>=l>>>0){break d}g=d+1|0;m=N[T(g,12)+b>>2]}e=1;d=d+1|0;if(j>>>0>d>>>0){continue}break}f=1;while(1){c=T(f,12)+b|0;if(N[c>>2]){g=N[c+4>>2];d=T(e,12)+b|0;N[d>>2]=N[c>>2];N[d+4>>2]=g;N[d+8>>2]=N[c+8>>2];j=N[a>>2];e=e+1|0}f=f+1|0;if(j>>>0>f>>>0){continue}break}}N[a>>2]=e}}function Yp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=N[b+12>>2];e=f-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=f-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=O[a|0]|O[a+1|0]<<8;if(!g){break a}f=a+2|0;if(f>>>0>d>>>0){break a}h=d-f|0;d=(g<<8|g>>>8)&65535;g=T(d,3);if(h>>>0>>0){break a}e=e-g|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=d>>>0<=1?1:d;i=N[b+36>>2];d=0;while(1){e=T(d,3)+a|0;h=O[e+2|0]|O[e+3|0]<<8;if(i>>>0<=((h<<8|h>>>8)&65535)>>>0|O[e+4|0]>=c>>>0){break a}d=d+1|0;if((g|0)!=(d|0)){continue}break}if(!(O[a|0]|O[a+1|0]<<8)|(O[f|0]|O[f+1|0]<<8)){break a}d=O[a|0]|O[a+1|0]<<8;c=(d<<8|d>>>8)&65535;if(c>>>0>=2){f=1;while(1){e=275552;g=c;c=f-1|0;if(g>>>0>c>>>0){e=(T(c,3)+a|0)+2|0;d=O[a|0]|O[a+1|0]<<8}c=O[e|0]|O[e+1|0]<<8;g=(c<<8|c>>>8)&65535;c=((d<<8|(d&65280)>>>8)&65535)>>>0<=f>>>0?275552:(T(f,3)+a|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(g>>>0>=((c<<8|c>>>8)&65535)>>>0){break a}d=O[a|0]|O[a+1|0]<<8;c=(d<<8|d>>>8)&65535;f=f+1|0;if(c>>>0>f>>>0){continue}break}}c=(d?(T((d<<8|d>>>8)&65535,3)+a|0)-1|0:275552)+3|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=N[b+36>>2];b=O[a|0]|O[a+1|0]<<8;if(b){a=(T((b<<8|b>>>8)&65535,3)+a|0)-1|0}else{a=275552}a=O[a+3|0]|O[a+4|0]<<8;j=(c|0)==((a<<8|a>>>8)&65535)}return j}function hA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;C(a,0,656);N[a>>2]=N[b>>2];if(c){N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=N[b+16>>2];d=N[b+20>>2];N[a+40>>2]=b+48;N[a+36>>2]=b+40;N[a+32>>2]=b+32;N[a+28>>2]=b+28;N[a+24>>2]=b+24;N[a+20>>2]=d;d=O[b+68|0]|O[b+69|0]<<8;e=O[b+70|0];N[a+540>>2]=b+1508;f=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=f;L[a+48|0]=c;L[a+47|0]=e;L[a+45|0]=d;L[a+46|0]=d>>>8;L[a+44|0]=0;N[a+604>>2]=N[b+1348>>2];N[a+584>>2]=N[b+1352>>2];N[a+580>>2]=N[b+1356>>2];N[a+588>>2]=N[b+1472>>2];N[a+644>>2]=N[b+1468>>2];N[a+556>>2]=N[b+1364>>2];N[a+572>>2]=N[b+1368>>2];N[a+612>>2]=N[b+1372>>2];N[a+616>>2]=N[b+1376>>2];N[a+648>>2]=N[b+1496>>2];N[a+652>>2]=N[b+1500>>2];N[a+608>>2]=N[b+1360>>2];return}N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=N[b+16>>2];c=N[b+20>>2];N[a+40>>2]=b+48;N[a+36>>2]=b+40;N[a+32>>2]=b+32;N[a+28>>2]=b+28;N[a+24>>2]=b+24;N[a+20>>2]=c;c=N[b+64>>2];d=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=d;L[a+48|0]=0;N[a+44>>2]=c;c=N[b+108>>2];N[a+532>>2]=c;N[a+540>>2]=c+3104;N[a+536>>2]=N[b+768>>2];N[a+560>>2]=N[b+732>>2];N[a+576>>2]=N[b+748>>2];N[a+568>>2]=N[b+740>>2];N[a+556>>2]=N[b+728>>2];N[a+572>>2]=N[b+744>>2];c=N[b+736>>2];N[a+544>>2]=b+584;N[a+564>>2]=c;L[a+548|0]=O[b+593|0];N[a+588>>2]=N[b+760>>2];N[a+596>>2]=N[b+772>>2];N[a+600>>2]=N[b+776>>2]}function df(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=La-128|0;La=g;f=Qn(b,0);a:{if((f|0)<0){i=1;break a}N[g>>2]=1;d=La-16|0;La=d;N[d+12>>2]=g+4;N[d>>2]=N[g>>2];N[d+4>>2]=0;c=ka(f|0,2,d|0)|0;if(c>>>0>=4294963201){N[147316]=0-c}La=d+16|0;c=g+16|0;b:{c:{if((f|0)>=0){if(O[441572]){break c}c=Ha(f|0,c|0)|0;break b}if((f|0)!=-100){break c}break c}c=Ga(f|0,441572,c|0,4096)|0}if(c>>>0>=4294963201){N[147316]=0-c;c=-1}d:{if((c|0)<0){break d}c=N[g+56>>2];d=N[g+60>>2];if(c>>>0>2147483647&(d|0)>=0|(d|0)>0|!(c|d)){break d}N[a+8>>2]=0;N[a+4>>2]=c;e:{if(c>>>0>=2147483647){N[147316]=48;c=-1;break e}f:{g:{e=kb(40);d=Ca(c|0,1,2,f|0,0,e+8|0,e|0)|0;if((d|0)>=0){N[e+12>>2]=f;break g}_a(e);break f}N[e+32>>2]=1;N[e+16>>2]=2;N[e+4>>2]=c;N[e+24>>2]=0;N[e+28>>2]=0;N[e+36>>2]=N[147574];N[147574]=e;d=N[e>>2]}c=d;c=(c|0)==-63?-63:c;if(c>>>0>=4294963201){N[147316]=0-c;c=-1}}N[a>>2]=c;if(c+1>>>0>1){d=111}else{d=N[a+4>>2];c=kb(d);N[a>>2]=c;if(!c){break d}while(1){e=N[a>>2]+h|0;c=La-16|0;La=c;N[c+12>>2]=d-h;N[c+8>>2]=e;d=oa(f|0,c+8|0,1,c+4|0)|0;if(d){N[147316]=d;d=-1}else{d=0}La=c+16|0;c=d?-1:N[c+4>>2];h:{if((c|0)<=0){if((c|0)==-1&N[147316]==27){break h}_a(N[a>>2]);break d}h=c+h|0}d=N[a+4>>2];if((h|0)!=(d|0)){continue}break}d=112}N[a+24>>2]=d;fi(f);N[a+20>>2]=0;N[a+16>>2]=b;N[a+12>>2]=N[a>>2];break a}fi(f);N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0;i=81}La=g+128|0;return i}function Tc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}i=a-24|0;while(1){b=N[i>>2];if(!b){b=275552;break a}d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1330851634,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{g:{if(!b){break g}d=N[b>>2];if(!d){break g}if((d|0)<=0){break f}N[b>>2]=d+1}L[c+28|0]=0;N[c+36>>2]=b;g=N[b+12>>2];N[c+8>>2]=g;f=N[b+16>>2];h=f+g|0;N[c+12>>2]=h;if((f|0)<0){break e}N[c+32>>2]=0;d=c;if(f>>>0>67108863){e=1073741823}else{e=f<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[d+16>>2]=e;N[c+24>>2]=0;N[c+4>>2]=0;if(!g){ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break c}if(f>>>0<78){break d}N[c+16>>2]=e-78;d=O[g|0]|O[g+1|0]<<8;h:{if(!d){break h}if(f-78>>>0<8){break d}N[c+16>>2]=e-86;d=d<<8|d>>>8;if((d&65535)>>>0<2){break h}if(f-86>>>0<10|g+86>>>0>h>>>0){break d}N[c+16>>2]=e-96;if((d&65535)>>>0<5){break h}if((f&-4)==96|g+96>>>0>h>>>0){break d}N[c+16>>2]=e-100}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if(N[b+4>>2]){N[b+4>>2]=0}break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;ab(b);b=275552}d=b;b=N[a>>2];i:{if(d){if(b){break i}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<78?275552:N[b+12>>2]}function Yc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+88>>2];b=N[a+32>>2]+(b<<4)|0;g=N[b+8>>2];M[h+12>>1]=g+32>>>6;j=N[b+12>>2];M[h+14>>1]=j+32>>>6;if(L[a+8|0]&1){l=h+12|0;b=P[a+68>>1];a:{if(!b){e=2147483647;N[h+16>>2]=(g|0)<0?-2147483647:2147483647;break a}e=g>>31;d=(e^g)-e|0;b:{if(d>>>0<=65535){e=((d<<16|b>>>1)>>>0)/(b>>>0)|0;break b}e=2147483647;c=d>>>16|0;if(c>>>0>=b>>>0){break b}d=d<<16|b>>>1;i=W(c);f=32-i|0;c=d>>>f|c<>>0)/(b>>>0)|0;c=c-T(b,e)|0;d=d<>>31;f=c>>>0>=b>>>0;c=c-(f?b:0)|0;e=f|e<<1;f=31-i|0;d=d<<1}if((i|0)==31){break b}while(1){c=c<<1|d>>>31;i=c>>>0>=b>>>0;c=d>>>30&1|c-(i?b:0)<<1;k=c>>>0>=b>>>0;c=c-(k?b:0)|0;e=e<<2|i<<1|k;d=d<<2;f=f-2|0;if(f){continue}break}}N[h+16>>2]=(g|0)<0?0-e|0:e;e=j>>31;d=(e^j)-e|0;if(d>>>0<=65535){e=((d<<16|b>>>1)>>>0)/(b>>>0)|0;break a}e=2147483647;c=d>>>16|0;if(c>>>0>=b>>>0){break a}d=d<<16|b>>>1;g=W(c);f=32-g|0;c=d>>>f|c<>>0)/(b>>>0)|0;c=c-T(b,e)|0;d=d<>>31;f=c>>>0>=b>>>0;c=c-(f?b:0)|0;e=f|e<<1;f=31-g|0;d=d<<1}if((g|0)==31){break a}while(1){c=c<<1|d>>>31;g=c>>>0>=b>>>0;c=d>>>30&1|c-(g?b:0)<<1;i=c>>>0>=b>>>0;c=c-(i?b:0)|0;e=i|(e<<2|g<<1);d=d<<2;f=f-2|0;if(f){continue}break}}N[h+20>>2]=(j|0)<0?0-e|0:e;sn(a,l);return}N[h+28>>2]=0;N[h+24>>2]=j;N[h+16>>2]=65536;N[h+20>>2]=65536;a=M[b>>1];N[h+36>>2]=g;N[h+32>>2]=a<<6}function Sk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=La-16|0;La=j;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}else{f=275552}h=N[d+64>>2];k=vb(f,N[N[d+80>>2]+T(h,20)>>2]);c=0;a:{if((k|0)==-1){break a}N[b+4>>2]=h;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];f=0;f=(h|0)==N[c+64>>2]?O[(N[c+80>>2]+T(h,20)|0)+15|0]:f;N[b+12>>2]=8;L[b+23|0]=O[b+22|0]?f:0;g=b+4|0;if(!he(g,j+12|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[j+12>>2],N[d+64>>2]+1|0,0,1);c=0;break a}h=N[g>>2];c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}e=vb(c,N[N[d+80>>2]+T(h,20)>>2]);if((e|0)==-1){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,h,N[d+64>>2]+1|0,0,1);c=0;break a}f=275552;c=275552;i=O[a+10|0]|O[a+11|0]<<8;if(i){c=((i<<8|i>>>8)&65535)+a|0}i=O[c|0]|O[c+1|0]<<8;b:{if(e>>>0>=((i<<8|i>>>8)&65535)>>>0){break b}e=(e<<1)+c|0;e=O[e+2|0]|O[e+3|0]<<8;if(!e){break b}f=((e<<8|e>>>8)&65535)+c|0}c=O[f|0]|O[f+1|0]<<8;if(!c){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[g>>2],N[d+64>>2]+1|0,0,1);c=0;break a}c=(c<<8|c>>>8)&65535;g=N[d+80>>2];e=O[(g+T(h,20)|0)+14|0];if(e>>>0>=32){d=O[(g+T(N[d+64>>2],20)|0)+14|0];g=d&16?0:d&15;c=(d^e)>>>0<32?g?c>>>0>>0?c:g:c:c}d=c-1|0;c=O[a+8|0]|O[a+9|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}a=O[a+6|0]|O[a+7|0]<<8;c=_g(c,b,k,d,f,(a<<8|a>>>8)&65535,h)}La=j+16|0;return c}function fm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;i=La-16|0;La=i;f=3;e=N[b+188>>2];a:{if(!e){break a}h=b+196|0;g=N[b+192>>2];b:{while(1){c:{if(N[g+(d<<4)>>2]==(c|0)){f=83;d=N[(g+(d<<4)|0)+12>>2];c=N[a+8>>2];if(d>>>0>>0|(d-c|0)<0){break a}c=N[a+20>>2];if(!c){break c}if(Qa[c|0](a,d,0,0)|0){break a}c=N[a+4>>2];break b}d=d+1|0;if((e|0)!=(d|0)){continue}break a}break}c=N[a+4>>2];if(d>>>0>c>>>0){break a}}N[a+8>>2]=d;d:{if(d+3>>>0>=c>>>0){break d}e:{f:{g:{h:{c=N[a+20>>2];i:{if(c){if((Qa[c|0](a,d,i+12|0,4)|0)!=4){break d}d=N[a+8>>2];c=i+12|0;break i}c=N[a>>2];if(!c){break h}c=c+d|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[a+8>>2]=d+4;d=c&-256;if((d|256)!=256){break e}e=c&4;c=!e;if(!e){break g}f=rb(a,43344,h);if(!f){break f}break a}N[a+8>>2]=d+4;d=0;c=1}f=rb(a,43408,h);if(f){break a}}g=N[b+204>>2];e=g>>31;if((e^g)-e>>>0>=32768){N[b+204>>2]=(g|0)<0?-32767:32767}g=N[b+208>>2];e=g>>31;if((e^g)-e>>>0>=32768){N[b+208>>2]=(g|0)<0?-32767:32767}g=c?43504:43472;e=b+216|0;f=rb(a,g,e);if(f){break a}c=b+232|0;f=rb(a,g,c);if(f){break a}h=b+248|0;if((d|0)==256){f=rb(a,g,h);if(f){break a}f=rb(a,g,b+264|0);break a}a=N[e+4>>2];N[h>>2]=N[e>>2];N[h+4>>2]=a;a=N[e+12>>2];N[h+8>>2]=N[e+8>>2];N[h+12>>2]=a;a=N[c+12>>2];N[b+272>>2]=N[c+8>>2];N[b+276>>2]=a;a=N[c+4>>2];N[b+264>>2]=N[c>>2];N[b+268>>2]=a}f=0;break a}f=85}La=i+16|0;return f}function Ep(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=N[(c?16:12)+b>>2];g=N[(c?8:4)+b>>2];b=T(c,7676)+a|0;h=b+7712|0;a:{if((g|0)==N[h>>2]&N[b+7716>>2]==(k|0)){break a}N[h>>2]=g;N[b+7716>>2]=k;N[b+44>>2]=g;N[b+48>>2]=k;q=N[b+260>>2];if(!q){break a}b=g>>31;b=(b^g)-b|0;h=b&65535;m=b>>>16|0;n=b>>>8|0;r=T(c,7676)+a|0;while(1){a=T(o,28)+r|0;e=N[a+264>>2];c=e>>31;c=(c^e)-c|0;b:{if(c+n>>>0<=8190){f=T(b,c)+32768>>>16|0;break b}i=c&65535;f=T(i,m)+T(b,c>>>16|0)+(T(h,i)+32768>>>16)|0}c=f;d=0-c|0;c=e>>31|1;i=(g|0)<0;j=(((i?0-c|0:c)|0)<0?d:f)+k|0;N[a+272>>2]=j;N[a+268>>2]=j;c=N[a+276>>2];d=c>>31;d=(c^d)-d|0;c:{if(d+n>>>0<=8190){f=T(b,d)+32768>>>16|0;break c}l=d&65535;f=T(l,m)+T(b,d>>>16|0)+(T(h,l)+32768>>>16)|0}d=f;l=N[a+288>>2];N[a+288>>2]=l&-2;p=0-d|0;d=c>>31|1;d=(((i?0-d|0:d)|0)<0?p:f)+k|0;N[a+284>>2]=d;N[a+280>>2]=d;d=e-c|0;e=d>>31;e=(d^e)-e|0;d:{if(e+n>>>0<=8190){f=T(b,e)+32768>>>16|0;break d}f=e&65535;f=T(f,m)+T(b,e>>>16|0)+(T(h,f)+32768>>>16)|0}e=f;p=0-e|0;e=d>>31|1;if((((i?0-e|0:e)|0)<0?p:f)+48>>>0<=96){e=j+32&-64;N[a+272>>2]=e;d=fb(e,g)-c|0;c=d>>31;c=(c^d)-c|0;e:{if(c+n>>>0<=8190){c=T(b,c)+32768>>>16|0;break e}j=c&65535;c=T(j,m)+T(b,c>>>16|0)+(T(h,j)+32768>>>16)|0}c=i?0-c|0:c;c=(c|0)>=32?c+32&-64:0;N[a+284>>2]=e+((d|0)<0?c:0-c|0);N[a+288>>2]=l|1}o=o+1|0;if((q|0)!=(o|0)){continue}break}}}function sb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}h=a-8|0;while(1){b=N[h>>2];if(!b){b=275552;break a}d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1835104368,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{if(!b){break f}d=N[b>>2];if(!d){break f}if((d|0)<=0){break e}N[b>>2]=d+1}L[c+28|0]=0;N[c+36>>2]=b;f=N[b+12>>2];N[c+8>>2]=f;g=N[b+16>>2];N[c+12>>2]=g+f;if((g|0)<0){break d}N[c+32>>2]=0;if(g>>>0>67108863){d=1073741823}else{e=g<<6;e=e>>>0<=16384?16384:e;d=e>>>0>=1073741823?1073741823:e}N[c+16>>2]=d;N[c+24>>2]=0;N[c+4>>2]=0;if(!f){ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break c}g:{h:{i:{if(g>>>0<6){break i}N[c+16>>2]=d-6;j:{k:{l:{e=O[f|0]|O[f+1|0]<<8;switch((e<<8|e>>>8)&65535){case 0:break k;case 1:break l;default:break i}}if(g>>>0<32){break i}N[c+16>>2]=d-32;ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break j}d=O[f+2|0]|O[f+3|0]<<8;ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if((d|0)!=80){break h}}if(!N[b+4>>2]){break g}N[b+4>>2]=0;break c}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}ab(b);b=275552}break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}d=b;b=N[a>>2];m:{if(d){if(b){break m}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<6?275552:N[b+12>>2]}function op(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(d){g=(f|0)==2;m=g?256:128;n=g?128:256;l=0-f|0;while(1){i=N[c+16>>2];a:{if(i&16){break a}k=N[c+28>>2];b:{g=L[c+20|0];c:{if((g|0)==(f|0)|(g|0)==(l|0)){break c}g=L[c+21|0];if((g|0)==(f|0)){break c}if((g|0)!=(l|0)){break b}}if(!g){break b}if((f|0)==(g|0)){g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-N[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}N[c+24>>2]=h;N[c+16>>2]=i|528;break a}if((g|0)!=(l|0)){break a}g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-(N[h>>2]+N[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}N[c+24>>2]=h;N[c+16>>2]=i|1040;break a}if(!(i&64)){break a}d:{e:{if(i&n){g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-N[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=528;break e}if(!(i&m)){break d}g=0;if(!a){break d}while(1){h=N[(g<<2)+b>>2];j=k-(N[h>>2]+N[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=1040}N[c+24>>2]=h;N[c+16>>2]=g|i}if(N[c+24>>2]){break a}g=0;if(!a){break a}while(1){i=N[(g<<2)+b>>2];h=N[i>>2];if(!((h|0)>(k|0)|(h+N[i+4>>2]|0)<(k|0))){N[c+24>>2]=i;break a}g=g+1|0;if((g|0)!=(a|0)){continue}break}}c=c+40|0;d=d-1|0;if(d){continue}break}}}function Zm(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{if((a|0)>(b|0)){break a}h=N[(c<<3)+e>>2]>N[(d<<3)+e>>2];n=h?c:d;g=n<<3;i=N[g+f>>2];o=h?d:c;c=o<<3;k=N[c+f>>2];g=N[e+g>>2];h=N[c+e>>2];if(!((g|0)==(h|0)&(i|0)!=(k|0))){r=i-g|0;s=k-h|0;if((h|0)!=(g|0)){j=fb(i-k|0,g-h|0)}c=j>>31;i=(c^j)-c|0;q=i&65535;p=i>>>16|0;u=i>>>8|0;c=a;while(1){d=c;t=c<<3;c=N[t+e>>2];b:{if((c|0)<=(h|0)){l=c+s|0;break b}l=c+r|0;if((c|0)>=(g|0)){break b}l=c-h|0;c=l>>31;c=(c^l)-c|0;c:{if(c+u>>>0<=8190){m=T(c,i)+32768>>>16|0;break c}m=c&65535;m=T(p,m)+T(i,c>>>16|0)+(T(q,m)+32768>>>16)|0}c=m;v=0-c|0;c=l>>31|1;l=k+((((j|0)<0?0-c|0:c)|0)<0?v:m)|0}N[f+t>>2]=l;c=d+1|0;if((b|0)!=(d|0)){continue}break}}i=f+4|0;e=e+4|0;d=N[e+(o<<3)>>2]>N[e+(n<<3)>>2];j=(d?o:n)<<3;c=N[i+j>>2];d=(d?n:o)<<3;f=N[d+i>>2];h=N[e+j>>2];d=N[d+e>>2];if((h|0)==(d|0)&(c|0)!=(f|0)){break a}j=0;n=c-h|0;o=f-d|0;if((d|0)!=(h|0)){j=fb(c-f|0,h-d|0)}c=j>>31;k=(c^j)-c|0;l=k&65535;r=k>>>16|0;s=k>>>8|0;while(1){c=a;q=c<<3;a=N[q+e>>2];d:{if((a|0)<=(d|0)){g=a+o|0;break d}g=a+n|0;if((a|0)>=(h|0)){break d}g=a-d|0;a=g>>31;a=(a^g)-a|0;e:{if(a+s>>>0<=8190){m=T(a,k)+32768>>>16|0;break e}p=a&65535;m=T(p,r)+T(k,a>>>16|0)+(T(l,p)+32768>>>16)|0}a=m;p=0-a|0;a=g>>31|1;g=f+((((j|0)<0?0-a|0:a)|0)<0?p:m)|0}N[i+q>>2]=g;a=c+1|0;if((b|0)!=(c|0)){continue}break}}}function Ko(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=1;g=N[b+4>>2];a:{if(N[g+16>>2]==128){break a}while(1){d=h;b:{c:{f=N[g+12>>2];if(!f){break c}h=N[g+8>>2];if((d|0)>(h|0)){break c}while(1){d=a;a=N[d+4>>2];if(N[a+16>>2]!=128&N[a+8>>2]<=(h|0)){continue}break}i=f+h|0;e=d;while(1){a=e;e=N[a+4>>2];if(N[e+16>>2]!=128&(i|0)>N[e+8>>2]){continue}break}if(c){N[a+12>>2]=f+N[a+12>>2]}j=N[d+8>>2];f=j+N[d+12>>2]|0;d:{e:{if((a|0)==(d|0)){if((f|0)>(i|0)){e=kb(36);if(!e){k=0;break a}M[e+20>>1]=0;N[e+28>>2]=0;N[e+32>>2]=0;N[e>>2]=0;N[e+4>>2]=0;a=e+8|0;N[a>>2]=0;N[a+4>>2]=0;a=N[d+4>>2];N[a>>2]=e;N[e+4>>2]=a;L[e+20|0]=O[d+20|0];L[e+21|0]=O[d+21|0];N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];f=N[d+8>>2];N[e+8>>2]=i;N[e+12>>2]=a+(f-i|0);j=N[d+8>>2];f=j+N[d+12>>2]|0}if((f|0)<(h|0)){break e}if((h|0)>(j|0)){N[d+12>>2]=h-j;break e}a=N[d>>2];_a(d);break d}f:{if((f|0)<(h|0)){break f}if((h|0)>(j|0)){N[d+12>>2]=h-j;break f}d=N[d>>2]}f=N[a+12>>2]+N[a+8>>2]|0;if((f|0)>(i|0)){N[a+8>>2]=i;N[a+12>>2]=f-i;e=a}a=N[d+4>>2];if((e|0)==(a|0)){break e}while(1){f=N[a+4>>2];_a(a);a=f;if((e|0)!=(a|0)){continue}break}}a=d}d=N[g>>2];N[d+4>>2]=N[g+4>>2];N[N[g+4>>2]>>2]=d;N[a+4>>2]=g;N[g+4>>2]=e;N[g>>2]=a;N[e>>2]=g;break b}h=d;d=g}g=N[d+4>>2];if(N[g+16>>2]!=128){continue}break}}N[N[b>>2]+4>>2]=0;while(1){a=N[b+4>>2];_a(b);b=a;if(a){continue}break}return k}function vs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{if(Q[b+160>>2]>=a+16>>>0){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<16|c>>>0>N[b+160>>2]-a>>>0){break a}d=(c-16>>>0)/12|0;c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(d>>>0>>0){break a}d:{if(!g){break d}c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(c>>>0>>0){break a}d=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);if(N[b+164>>2]){f=N[b+172>>2];e=c-e|0;if(f>>>0>>0|f-e>>>0<=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break c}}f=1;if((g|0)==1){break d}a=a+28|0;while(1){d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0>>0|c>>>0>=e>>>0){break a}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(N[b+164>>2]){h=N[b+172>>2];e=d-e|0;if(h>>>0>>0|h-e>>>0<=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break b}}a=a+12|0;c=d;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,16);B()}Pb(b,8);B()}function Aw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;i=N[a+84>>2];a:{b:{c:{f=N[a+8>>2];if(!(f&8)){break c}f=N[a+4>>2]&2147418112|f&32768;if(d&16){if(f){f=7;if(!(O[a+740|0]&16)){break a}}if(!O[a+292|0]){break c}if(!c){break b}if((c|0)!=1){d=c&1;c=c&-2;while(1){f=h+14|0;i=h+12|0;Qa[N[N[a+540>>2]+156>>2]](a,1,b+g|0,f,i);N[(g<<2)+e>>2]=P[h+12>>1];j=g|1;Qa[N[N[a+540>>2]+156>>2]](a,1,j+b|0,f,i);N[(j<<2)+e>>2]=P[h+12>>1];g=g+2|0;if((c|0)!=(g|0)){continue}break}f=0;if(!d){break a}}Qa[N[N[a+540>>2]+156>>2]](a,1,b+g|0,h+14|0,h+12|0);N[(g<<2)+e>>2]=P[h+12>>1];break b}if(f){f=7;if(!(O[a+740|0]&2)){break a}}if(!P[a+250>>1]){break c}if(!c){break b}if((c|0)!=1){d=c&1;c=c&-2;while(1){f=h+14|0;i=h+10|0;Qa[N[N[a+540>>2]+156>>2]](a,0,b+g|0,f,i);N[(g<<2)+e>>2]=P[h+10>>1];j=g|1;Qa[N[N[a+540>>2]+156>>2]](a,0,j+b|0,f,i);N[(j<<2)+e>>2]=P[h+10>>1];g=g+2|0;if((c|0)!=(g|0)){continue}break}f=0;if(!d){break a}}Qa[N[N[a+540>>2]+156>>2]](a,0,b+g|0,h+14|0,h+10|0);N[(g<<2)+e>>2]=P[h+10>>1];break b}if(!c){break b}if(!i){f=37;break a}l=i+(d&16?60:56)|0;while(1){f=N[a+88>>2];j=(f?256:259)|d;k=b+g|0;d:{if(!(j&1?0:f)){f=Yf(i,0,k,j);break d}if(N[f>>2]!=N[i+4>>2]){f=35;break a}f=Yf(i,f,k,j)}if(f){break a}N[(g<<2)+e>>2]=N[l>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}}f=0}La=h+16|0;return f|0}function kl(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{f:{g:{h:{if(!b){break h}c=N[b>>2];if(!c){break h}if((c|0)<=0){break g}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;e=N[b+12>>2];N[a+4>>2]=e;c=N[b+16>>2];N[a+8>>2]=c+e;if((c|0)<0){break f}N[a+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;c=b;if(!e){break a}if(oh(e,a)){break e}i:{if(O[a+24|0]|!N[a+28>>2]){break i}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break i}while(1){L[a+24|0]=1;c=N[a+32>>2];e=N[c+12>>2];N[a+4>>2]=e;d=N[c+16>>2];N[a+8>>2]=d+e;if((d|0)<0){break f}N[a+28>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[a+12>>2]=d;N[a+20>>2]=0;N[a>>2]=0;if(!e){break a}if(oh(e,a)){break e}if(O[a+24|0]|!N[a+28>>2]){break i}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break d}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a+28>>2]){break c}N[a+28>>2]=0;c=oh(e,a);e=N[a+28>>2];ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(e){break d}if(c){break b}}ab(b);return 275552}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(c);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function zk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=N[b+4>>2];if(g>>>0>a>>>0){return 0}e=N[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}f=N[b+12>>2];h=f-2|0;N[b+12>>2]=h;i=1;if((h|0)<=0){return 0}h=O[a|0]|O[a+1|0]<<8;a:{if(!h){break a}c=((h<<8|h>>>8)&65535)+c|0;d=N[d>>2];b:{if((d|0)==1936292453){if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<10){break b}d=f-12|0;N[b+12>>2]=d;if((d|0)<=0){break b}g=O[c|0]|O[c+1|0]<<8;if(!g){break b}d=O[c+8|0]|O[c+9|0]<<8;e=O[c+6|0]|O[c+7|0]<<8;f=O[c+4|0]|O[c+5|0]<<8;if(!(e|(f|(O[c+2|0]|O[c+3|0]<<8)))){if(!d){break a}}c=(g<<8|g>>>8)&65535;if(c>>>0<((e<<8|(e&65280)>>>8)&65535)>>>0|c>>>0>((d<<8|(d&65280)>>>8)&65535)>>>0|(f<<8|(f&65280)>>>8)<<16>>16<=255){break b}break a}d=d&-65536;if((d|0)!=1668677632){if((d|0)!=1936916480){break a}if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<4){break b}c=f-6|0;N[b+12>>2]=c;if((c|0)<=0){break b}break a}if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<14){break b}d=f-16|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=c+12|0;if(d>>>0>e>>>0|e-d>>>0<2){break b}f=f-18|0;N[b+12>>2]=f;if((f|0)<=0){break b}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=c+14|0;if(c>>>0>e>>>0){break b}e=e-c|0;c=T((d<<8|d>>>8)&65535,3);if(e>>>0>>0){break b}c=f-c|0;N[b+12>>2]=c;if((c|0)>0){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;i=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;i=1}return i}function HB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=La-16544|0;La=d;a:{if(!a){a=96;break a}a=20;c=N[b+4>>2];if(!c){break a}e=M[c+2>>1];if(!e){a=0;break a}f=M[c>>1];if((f|0)<=0){a=0;break a}g=N[c+12>>2];if(!g|!N[c+4>>2]|(e|0)!=(M[((f<<1)+g|0)-2>>1]+1|0)){break a}a=19;if(O[b+8|0]&3){break a}a=6;b=N[b>>2];if(!b){break a}if(!N[b+4>>2]){a=0;break a}a=0;if(!N[b>>2]){break a}a=6;if(!N[b+12>>2]){break a}N[d+16520>>2]=N[c+16>>2];e=N[c+12>>2];a=d+16512|0;N[a>>2]=N[c+8>>2];N[a+4>>2]=e;a=N[c+4>>2];N[d+16504>>2]=N[c>>2];N[d+16508>>2]=a;c=N[b+12>>2];a=d+16488|0;N[a>>2]=N[b+8>>2];N[a+4>>2]=c;c=N[b+20>>2];a=d+16496|0;N[a>>2]=N[b+16>>2];N[a+4>>2]=c;a=N[b+4>>2];N[d+16480>>2]=N[b>>2];N[d+16484>>2]=a;a=d+16384|0;N[d+16412>>2]=a;N[d+16408>>2]=d;b=N[a+136>>2];c=b&256;N[a+20>>2]=c?30:2;N[a+16>>2]=c?256:32;c=c?12:6;N[a>>2]=c;c=1<>2]=c;N[a+12>>2]=c>>>6;N[a+8>>2]=c>>>1;b:{if(b&8){L[a+48|0]=2;break b}c=b>>>2&4;L[a+48|0]=c;if(b&32){break b}L[a+48|0]=c|1}N[a+152>>2]=345;N[a+148>>2]=346;N[a+144>>2]=347;N[a+140>>2]=348;M[a+50>>1]=N[a+100>>2];c=N[a+108>>2];N[a+52>>2]=c;b=N[a+96>>2]-1|0;e=N[a+104>>2];if((e|0)>0){N[a+52>>2]=c+T(b,e)}b=gp(a,0,b);c:{if(b){break c}if(!(O[a+137|0]&2)){N[a+152>>2]=349;N[a+148>>2]=350;N[a+144>>2]=351;N[a+140>>2]=352;b=gp(a,1,N[a+100>>2]-1|0);if(b){break c}}b=0}a=b}La=d+16544|0;return a|0}function fq(a,b,c,d){var e=0,f=U(0),g=0;e=La-112|0;La=e;a:{b:{if(Q[a+16>>2]<=c>>>0){break b}M[e+84>>1]=0;M[e+96>>1]=0;M[e+108>>1]=0;M[e+72>>1]=0;N[e+64>>2]=0;N[e+68>>2]=0;N[e+76>>2]=0;N[e+80>>2]=0;N[e+88>>2]=0;N[e+92>>2]=0;N[e+100>>2]=0;N[e+104>>2]=0;c:{if(N[b+84>>2]){N[e+48>>2]=2139095039;N[e+52>>2]=2139095039;N[e+56>>2]=-8388609;N[e+60>>2]=-8388609;L[e+44|0]=0;N[e+40>>2]=e- -64;g=N[e+44>>2];N[e+8>>2]=N[e+40>>2];N[e+12>>2]=g;g=N[e+52>>2];N[e+16>>2]=N[e+48>>2];N[e+20>>2]=g;g=N[e+60>>2];N[e+24>>2]=N[e+56>>2];N[e+28>>2]=g;N[e+36>>2]=0;N[e+32>>2]=b;g=N[e+36>>2];N[e>>2]=N[e+32>>2];N[e+4>>2]=g;if(fj(a,b,c,e)){break c}}if(d){b=N[a+8>>2];if(Q[b+4>>2]>c>>>0){a=N[b>>2]-1|0;a=a>>>0>>0?a:c;if((a|0)<0){a=275552}else{b=N[b+20>>2];a=N[(b?b:275552)+12>>2]+(a<<2)|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break a}a=0;if(N[b+8>>2]){break a}a=N[b+16>>2];break a}b=N[a+4>>2];if(Q[b+4>>2]>c>>>0){a=N[b>>2]-1|0;a=a>>>0>>0?a:c;if((a|0)<0){a=275552}else{b=N[b+20>>2];a=N[(b?b:275552)+12>>2]+(a<<2)|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break a}a=0;if(N[b+8>>2]){break a}a=N[b+16>>2];break a}if(d){f=U(R[e+92>>2]-R[e+104>>2])}else{f=U(R[e+76>>2]-R[e+64>>2])}f=U(Z(U(f+U(.5))));f=f>=U(0)?f:U(0);f=f<=U(2147483648)?f:U(2147483648);if(!(f=U(0))){break b}a=~~f>>>0;break a}a=0}La=e+112|0;return a}function Ni(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=La-16|0;La=c;N[c+12>>2]=N[a>>2];d=N[a+8>>2];Tb(c+12|0,d);b=N[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{e=O[b|0];switch(e-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break c;case 7:break d;case 22:break e;case 20:break f;case 0:break g;case 51:case 53:break i;default:break h}}N[c+12>>2]=b+1;break b}if((e|0)!=123){break c}e=ap(c+12|0,d);break a}e=Mi(c+12|0,d);break a}if(!(O[b+1|0]!=60|b+1>>>0>=d>>>0)){N[c+12>>2]=b+2;break b}e=$o(c+12|0,d);break a}f=b+1|0;N[c+12>>2]=f;e=3;if(O[f|0]!=62|d>>>0<=f>>>0){break a}N[c+12>>2]=b+2;break b}b=b+1|0}j:{if(b>>>0>=d>>>0){break j}while(1){k:{switch(O[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break j;default:break k}}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}N[c+12>>2]=b}e=0}b=N[c+12>>2];if(b>>>0>>0){e=(b|0)==N[a>>2]?3:e}N[a+12>>2]=e;N[a>>2]=b>>>0>d>>>0?d:b;La=c+16|0}function Rk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;d=N[b+96>>2];g=O[a+2|0]|O[a+3|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}else{c=275552}f=N[d+64>>2];g=vb(c,N[N[d+80>>2]+T(f,20)>>2]);c=0;a:{if((g|0)==-1){break a}N[b+4>>2]=f;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];e=(f|0)==N[c+64>>2]?O[(N[c+80>>2]+T(f,20)|0)+15|0]:e;N[b+12>>2]=N[b+140>>2]&-15;L[b+23|0]=O[b+22|0]?e:0;c=b+4|0;if(!he(c,h+12|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[h+12>>2],N[d+64>>2]+1|0,0,1);c=0;break a}f=N[c>>2];c=N[d+80>>2];i=T(f,20)+c|0;if(!(O[i+12|0]&8)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,N[d+64>>2]+1|0,0,1);c=0;break a}e=O[i+14|0];k=e&16?0:e&15;j=N[d+64>>2];c=O[(c+T(j,20)|0)+14|0];l=c&16?0:c&15;b:{c:{if((c^e)>>>0<=31){if(c>>>0<32){break b}if((k|0)!=(l|0)){break c}break b}if(!l&c>>>0>=32){break b}if(e>>>0<32){break c}if(!k){break b}}c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,j+1|0,0,1);c=0;break a}c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[i>>2]);if((c|0)==-1){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,j+1|0,0,1);c=0;break a}d=O[a+8|0]|O[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}e=O[a+10|0]|O[a+11|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}a=O[a+6|0]|O[a+7|0]<<8;c=_g(d,b,g,c,e,(a<<8|a>>>8)&65535,f)}La=h+16|0;return c}function rC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;e=c+5|0;if(!(!d|e>>>0<2)){o=d<<3;C=e>>>1|0;p=T(c+7&-8,d);c=0;while(1){q=0;while(1){e=c-o|0;e=e>>>0>=p>>>0?440592:(e<<1)+b|0;D=M[e+8>>1];E=M[e+10>>1];z=M[e+12>>1];A=M[e+14>>1];e=c+o|0;e=e>>>0>=p>>>0?440592:(e<<1)+b|0;g=M[e>>1];r=M[e+2>>1];m=M[e+14>>1];h=M[e+4>>1];n=M[e+12>>1];i=M[e+6>>1];j=M[e+10>>1];k=M[e+8>>1];e=c>>>0>=p>>>0?440592:(c<<1)+b|0;s=M[e>>1];t=M[e+2>>1];u=M[e+14>>1];v=M[e+12>>1];w=M[e+6>>1];l=v+w|0;x=M[e+4>>1];y=M[e+10>>1];e=M[e+8>>1];f=y+e|0;M[a+6>>1]=((((u+(l+x|0)>>1)+f>>>1|0)+l>>>1|0)+f|0)+2>>>2;f=w+x|0;l=e+t|0;M[a+4>>1]=(((f+((l+s|0)+y>>1)>>>1|0)+l>>>1|0)+f|0)+2>>>2;n=i+n|0;f=m+(n+h|0)>>1;m=j+k|0;M[a+14>>1]=(((f+m>>>1|0)+n>>>1|0)+m|0)+2>>>2;k=k+r|0;f=j+(k+g|0)>>1;j=h+i|0;M[a+12>>1]=(((f+j>>>1|0)+k>>>1|0)+j|0)+2>>>2;h=h+u|0;f=(h+v|0)+i>>1;i=g+r|0;M[a+10>>1]=(((f+i>>>1|0)+h>>>1|0)+i|0)+2>>>2;f=e;e=g+y|0;g=u+v|0;M[a+8>>1]=(((((f+e|0)+r>>1)+g>>>1|0)+e>>>1|0)+g|0)+2>>>2;g=s+t|0;e=A+x|0;M[a+2>>1]=(((g+((e+z|0)+w>>1)>>>1|0)+e>>>1|0)+g|0)+2>>>2;g=z+A|0;e=s+E|0;M[a>>1]=(((g+((e+D|0)+t>>1)>>>1|0)+e>>>1|0)+g|0)+2>>>2;c=c+8|0;a=a+16|0;q=q+1|0;if((q|0)!=(d|0)){continue}break}c=c+o|0;B=B+8|0;if(C>>>0>B>>>0){continue}break}}}function no(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{A(+a);b=v(1)|0;v(0)|0;d:{e:{e=b&2147483647;if(e>>>0>=1078159482){A(+a);e=v(1)|0;e=e&2147483647;if((e|0)==2146435072&(v(0)|0)!=0|e>>>0>2146435072){break a}if((b|0)<0){return-1}if(!(a>709.782712893384)){break e}return a*898846567431158e293}if(e>>>0<1071001155){break c}if(e>>>0>1072734897){break e}if((b|0)>0|(b|0)>=0){b=1;c=1.9082149292705877e-10;g=a+-.6931471803691238;break d}b=-1;c=-1.9082149292705877e-10;g=a+.6931471803691238;break d}A(.5);b=v(1)|0;h=v(0)|0;A(+a);e=v(1)|0;v(0)|0;x(0,h|0);x(1,b&2147483647|e&-2147483648);c=a*1.4426950408889634+ +z();f:{if(V(c)<2147483648){b=~~c;break f}b=-2147483648}d=+(b|0);c=d*1.9082149292705877e-10;g=a+d*-.6931471803691238}a=g;a=a-c;c=g-a-c;break b}if(e>>>0<1016070144){break a}b=0}f=a*.5;d=a*f;g=d*(d*(d*(d*(d*-2.0109921818362437e-7+4008217827329362e-21)+-793650757867488e-19)+.0015873015872548146)+-.03333333333333313)+1;f=3-g*f;f=d*((g-f)/(6-a*f));if(!b){return a-(a*f-d)}c=a*(f-c)-c-d;g:{switch(b+1|0){case 0:return(a-c)*.5+-.5;case 2:if(a<-.25){return(c-(a+.5))*-2}a=a-c;return a+a+1;default:break g}}x(0,0);x(1,b+1023<<20);d=+z();if(b>>>0>=57){a=a-c+1;return((b|0)==1024?(a+a)*898846567431158e293:a*d)+-1}x(0,0);x(1,1023-b<<20);f=+z();a=(b>>>0<=19?1-f+(a-c):a-(c+f)+1)*d}return a}function LC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;f=La-128|0;La=f;b=N[b+12>>2];a:{b:{c:{d:{e:{f:{if((d|0)<0){if(!(N[b+8>>2]&512)|(!b|!c)){break e}g:{h:{g=N[b+128>>2];a=N[g+40>>2];switch(a+2|0){case 0:break e;case 2:break h;default:break g}}a=N[b+96>>2];h=N[N[a>>2]+32>>2];i:{if(!h){a=0;break i}a=Qa[h|0](a,9592)|0;g=N[b+128>>2]}N[g+40>>2]=a?a:-2}if(!a){break e}a=N[a+4>>2];if(!a){break e}a=Qa[a|0](b,c)|0;break f}a=0;d=d>>>0>=127?127:d;h=fg(f,c,d);L[d+h|0]=0;if(!b|!(O[b+9|0]&2)){break f}j:{k:{i=N[b+128>>2];g=N[i+40>>2];switch(g+2|0){case 2:break k;case 0:break f;default:break j}}g=N[b+96>>2];j=N[N[g>>2]+32>>2];l:{if(!j){g=0;break l}g=Qa[j|0](g,9592)|0;i=N[b+128>>2]}N[i+40>>2]=g?g:-2}if(!g){break f}g=N[g+4>>2];if(!g){break f}a=Qa[g|0](b,h)|0}N[e>>2]=a;if(a){break c}break d}N[e>>2]=0}m:{n:{if(!b){break n}L[f|0]=0;if(!(O[b+9|0]&2)|N[b+16>>2]<=0){break n}o:{p:{g=N[b+128>>2];a=N[g+40>>2];switch(a+2|0){case 0:break n;case 2:break p;default:break o}}a=N[b+96>>2];h=N[N[a>>2]+32>>2];q:{if(!h){a=0;break q}a=Qa[h|0](a,9592)|0;g=N[b+128>>2]}N[g+40>>2]=a?a:-2}if(!a){break n}a=N[a>>2];if(!a){break n}if(Qa[a|0](b,0,f,128)|(d|0)>=0){break n}if(cb(f,c)){break m}break b}if(!bb(f,c,d)){break b}}a=N[e>>2]}a=(a|0)!=0;break a}a=1}La=f+128|0;return a|0}function Zi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break a}e=N[b+12>>2];c=e-8|0;N[b+12>>2]=c;if(!(O[a|0]|O[a+1|0]<<8)|(c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<4){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(c>>>0>1073741823){break a}g=c<<2;if(g){i=a+8|0;if(i>>>0>d>>>0|g>>>0>d-i>>>0){break a}d=h-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}}if(!e){return 1}i=c>>>0<=1?1:c;h=0;while(1){b:{g=N[b+4>>2];d=((h<<2)+a|0)+8|0;if(g>>>0>d>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<4){break b}f=N[b+12>>2];c=f-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c:{if(!c){break c}if(c&128){break b}c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;d:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<4){break d}g=f-8|0;N[b+12>>2]=g;if((g|0)<=0){break d}f=N[b+36>>2]+1|0;if(f>>>0>1073741823){break d}f=f<<2;if(!f){break c}c=c+4|0;if(c>>>0>e>>>0|f>>>0>e-c>>>0){break d}e=g-f|0;N[b+12>>2]=e;if((e|0)>0){break c}}e=N[b+28>>2];if(e>>>0>31){break b}N[b+28>>2]=e+1;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}f=1;h=h+1|0;if((i|0)!=(h|0)){continue}break a}break}f=0}return f}function iB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-80|0;La=e;f=e- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[e+72>>2]=0;N[e+76>>2]=0;N[e+56>>2]=0;N[e+60>>2]=0;f=18;a:{if(N[b+72>>2]!=N[a+16>>2]){break a}f=19;if((c|0)!=5){break a}f=7;if(d){break a}i=N[a+8>>2];d=0;b:{h=b+76|0;f=N[h>>2];if(!(!f|!N[b+84>>2])){c=0;N[e+76>>2]=0;N[e+68>>2]=0;N[e+72>>2]=0;g=f;d=N[a+64>>2];f=d<<1;j=g+f|0;N[e+56>>2]=j;g=N[b+80>>2];L[e+74|0]=2;M[e+72>>1]=255;g=f+g|0;N[e+60>>2]=g;N[e+64>>2]=g;if((g|j)<0){f=6;break a}c:{d:{if(!(!g|!j)){f=10;if((2147483647/(g>>>0)|0)<(j|0)){break a}f=T(g,j);c=Qa[N[i+4>>2]](i,f)|0;if(!c|(j|0)<=0){break d}C(c,0,f)}N[e+68>>2]=c;break c}N[e+68>>2]=c;if(c){break c}f=!c<<6;break a}N[e+8>>2]=8;N[e+4>>2]=h;N[e>>2]=e+56;N[e+48>>2]=N[a+64>>2];L[e+52|0]=O[a+68|0];L[e+53|0]=O[a+69|0];f=Qa[N[a+56>>2]](N[a+52>>2],e)|0;if(f){break b}}f=N[b+156>>2];a=N[f+4>>2];if(a&1){c=N[b+88>>2];if(c){Qa[N[i+8>>2]](i,c);f=N[b+156>>2];a=N[f+4>>2]}N[f+4>>2]=a&-2}a=N[e+60>>2];N[h>>2]=N[e+56>>2];N[h+4>>2]=a;a=N[e+76>>2];N[h+16>>2]=N[e+72>>2];N[h+20>>2]=a;a=e- -64|0;c=N[a+4>>2];N[h+8>>2]=N[a>>2];N[h+12>>2]=c;N[b+104>>2]=N[b+104>>2]+d;N[b+100>>2]=N[b+100>>2]-d;N[f+4>>2]=N[f+4>>2]|1;f=0;break a}a=N[e+68>>2];if(!a){break a}Qa[N[i+8>>2]](i,a)}La=e+80|0;return f|0}function Js(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=-1;f=N[a+16>>2];a=O[f+6|0]|O[f+7|0]<<8|(O[f+8|0]<<16|O[f+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a:{if(!a){break a}j=f+10|0;while(1){b:{e=a+g>>>1|0;d=j+T(e,11)|0;h=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}g=e+1|0}if(a>>>0>g>>>0){continue}break a}break}e=O[d+7|0]|O[d+8|0]<<8|(O[d+9|0]<<16|O[d+10|0]<<24);d:{a=O[d+3|0]|O[d+4|0]<<8|(O[d+5|0]<<16|O[d+6|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break d}c=a+f|0;a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);j=c+4|0;g=0;while(1){if(a>>>0<=g>>>0){break d}c=a;a=a+g>>>1|0;d=j+(a<<2)|0;h=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];if(h>>>0>b>>>0){continue}i=1;g=a+1|0;a=c;if(h+O[d+3|0]>>>0>>0){continue}break}break a}a=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+f|0;a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break e}d=c+4|0;g=0;while(1){f:{c=a+g>>>1|0;e=d+T(c,5)|0;f=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];g:{if(f>>>0>b>>>0){a=c;break g}if(b>>>0<=f>>>0){break f}g=c+1|0}if(a>>>0>g>>>0){continue}break e}break}i=0;if(O[e+4|0]|O[e+3|0]<<8){break a}}i=-1}return i|0}function Ks(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{h=N[a+16>>2];a=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b:{if(!a){break b}j=h+10|0;while(1){c:{g=a+f>>>1|0;e=j+T(g,11)|0;i=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];d:{if(i>>>0>d>>>0){a=g;break d}if(d>>>0<=i>>>0){break c}f=g+1|0}if(a>>>0>f>>>0){continue}break b}break}g=O[e+7|0]|O[e+8|0]<<8|(O[e+9|0]<<16|O[e+10|0]<<24);e:{a=O[e+3|0]|O[e+4|0]<<8|(O[e+5|0]<<16|O[e+6|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break e}d=a+h|0;a=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);j=d+4|0;f=0;while(1){if(a>>>0<=f>>>0){break e}d=a;a=a+f>>>1|0;e=j+(a<<2)|0;i=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];if(i>>>0>c>>>0){continue}f=a+1|0;a=d;if(i+O[e+3|0]>>>0>>0){continue}break}return Qa[N[N[b+12>>2]+12>>2]](b,c)|0}a=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(!a){break b}b=a+h|0;a=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break b}g=b+4|0;f=0;while(1){b=a+f>>>1|0;d=g+T(b,5)|0;e=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];f:{if(e>>>0>c>>>0){a=b;break f}if(c>>>0<=e>>>0){break a}f=b+1|0}if(a>>>0>f>>>0){continue}break}}return 0}return O[d+4|0]|O[d+3|0]<<8}function zs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{if(Q[b+160>>2]>=a+16>>>0){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<16|c>>>0>N[b+160>>2]-a>>>0){break a}d=(c-16>>>0)/12|0;c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(d>>>0>>0){break a}d:{if(!e){break d}c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(c>>>0<(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break a}d=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);if(Q[b+172>>2]<=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0?N[b+164>>2]:0){break c}f=1;if((e|0)==1){break d}a=a+28|0;while(1){d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(g>>>0>d>>>0|c>>>0>=g>>>0){break a}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(Q[b+172>>2]<=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0?N[b+164>>2]:0){break b}a=a+12|0;c=d;f=f+1|0;if((e|0)!=(f|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,16);B()}Pb(b,8);B()}function hC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(!N[a+4>>2]){c=6;if(N[a+12>>2]!=1){break a}g=N[a>>2];h=N[a+28>>2];if(h){N[(N[a+36>>2]+(h<<4)|0)-4>>2]=b}j=h+1|0;f=N[a+32>>2];c:{if(j>>>0<=f>>>0){d=N[a+36>>2];break c}e=(h&-8)+8|0;if((e|f)<0){break a}i=N[a+36>>2];d:{e:{f:{if(!e){if(!i){break f}Qa[N[g+8>>2]](g,i);N[a+36>>2]=0;break d}c=10;if((e|0)>134217727){break a}g:{if(!f){d=Qa[N[g+4>>2]](g,e<<4)|0;c=!d<<6;break g}c=Qa[N[g+12>>2]](g,f<<4,e<<4,i)|0;d=c?c:i;c=!c<<6}if(c|(e|0)<=(f|0)|!d){break e}C((f<<4)+d|0,0,e-f<<4)}N[a+36>>2]=d;break d}N[a+36>>2]=d;if(c){break a}}N[a+32>>2]=e}N[((j<<4)+d|0)-16>>2]=0;N[((h<<4)+d|0)+12>>2]=0;N[a+28>>2]=j;h=N[a- -64>>2];if(h){N[(N[a+72>>2]+(h<<4)|0)-4>>2]=b}i=h+1|0;e=N[a+68>>2];h:{if(i>>>0<=e>>>0){b=N[a+72>>2];break h}f=N[a+72>>2];d=(h&-8)+8|0;if((d|e)<0){c=6;break b}i:{j:{k:{if(!d){b=0;if(!f){break k}Qa[N[g+8>>2]](g,f);N[a+72>>2]=0;break i}c=10;if((d|0)>134217727){break b}l:{if(!e){b=Qa[N[g+4>>2]](g,d<<4)|0;c=!b<<6;break l}c=Qa[N[g+12>>2]](g,e<<4,d<<4,f)|0;b=c?c:f;c=!c<<6}if(c|(d|0)<=(e|0)|!b){break j}C((e<<4)+b|0,0,d-e<<4)}N[a+72>>2]=b;break i}N[a+72>>2]=b;if(c){break a}}N[a+68>>2]=d}N[((i<<4)+b|0)-16>>2]=0;N[((h<<4)+b|0)+12>>2]=0;N[a+64>>2]=i}return}N[a+72>>2]=f}N[a+4>>2]=c}function dv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){c=N[a+100>>2];f=N[a+504>>2];a:{if(!f){break a}d=N[f+96>>2];if(!d){break a}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break a}b=N[d+16>>2];if(!b){break a}g=d+16|0;e=N[d+8>>2];while(1){if(N[b+8>>2]!=(f|0)){b=N[b+4>>2];if(b){continue}break a}break}h=N[b>>2];i=h?h+4|0:g;g=N[b+4>>2];N[i>>2]=g;N[(g?g:d+20|0)>>2]=h;Qa[N[e+8>>2]](e,b);ic(e,f,d)}b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+148>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+148>>2]=0;b=N[a+432>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+432>>2]=0;b=N[a+428>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+428>>2]=0;b=N[a+424>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+424>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+396>>2]=0;b=N[a+400>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+400>>2]=0;b=N[a+384>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+384>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+364>>2]=0;b=N[a+496>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+496>>2]=0;b=N[a+560>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0;N[a+556>>2]=0;N[a+560>>2]=0}}function ic(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=N[c+12>>2];d=N[b+120>>2];if(d){Qa[d|0](N[b+116>>2])}e=N[b+84>>2];if(e){while(1){h=N[e+4>>2];d=N[h+84>>2];a:{if(!d){break a}i=N[N[h+96>>2]+8>>2];b:{if((d|0)==(e|0)){g=0;break b}while(1){f=N[d+8>>2];if(!f){break a}g=d;d=f;if((e|0)!=(d|0)){continue}break}}N[(g?g+8|0:h+84|0)>>2]=N[e+8>>2];d=N[e+20>>2];if(d){Qa[d|0](e)}ig(e);Qa[N[i+8>>2]](i,e);e=N[b+84>>2]}if(e){continue}break}}if(a){d=N[b+108>>2];if(d){while(1){g=N[d+4>>2];f=N[d+8>>2];e=N[f+8>>2];if(e){Qa[e|0](f)}e=N[N[c+12>>2]+60>>2];if(e){Qa[e|0](f)}e=N[f+40>>2];if(e){Qa[N[a+8>>2]](a,e)}N[f+40>>2]=0;Qa[N[a+8>>2]](a,f);Qa[N[a+8>>2]](a,d);d=g;if(d){continue}break}}N[b+108>>2]=0;N[b+112>>2]=0}N[b+88>>2]=0;c=N[b+48>>2];if(c){Qa[c|0](b)}if(N[b+36>>2]>0){d=0;while(1){f=d<<2;c=N[f+N[b+40>>2]>>2];g=N[N[c>>2]+100>>2];e=N[N[c+12>>2]+8>>2];if(e){Qa[e|0](c)}Qa[N[g+8>>2]](g,c);N[f+N[b+40>>2]>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}c=N[b+40>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+36>>2]=0;N[b+40>>2]=0;c=N[j+52>>2];if(c){Qa[c|0](b)}c=N[b+104>>2];c:{if(!c){break c}g=N[b+8>>2];d=N[c+28>>2];f=N[c+24>>2];if(f){Qa[f|0](c)}if(g&1024){break c}Qa[N[d+8>>2]](d,c)}N[b+104>>2]=0;c=N[b+128>>2];if(c){Qa[N[a+8>>2]](a,c);N[b+128>>2]=0}Qa[N[a+8>>2]](a,b)}function ec(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{f:{if(!O[a+62|0]){if(Q[a+68>>2]>>0){break d}N[a+64>>2]=b;break f}if(!O[a+60|0]){break e}f=N[a+68>>2];e=N[a+72>>2];d=N[a+64>>2];if((f+e|0)-d>>>0>>0){break c}if(b>>>0>e>>>0){if(Q[a+76>>2]<=b>>>0){if(!gb(a,b)){break e}}e=b-e|0;b=N[a+80>>2];c=N[a+84>>2];g:{if((b|0)!=(c|0)){break g}b=N[a+72>>2];if(b+e>>>0<=e+N[a+64>>2]>>>0){b=c;break g}if(!O[a+62|0]){break b}d=N[a+88>>2];N[a+84>>2]=d;b=T(b,20);if(!b){b=c;c=d;break g}F(d,c,b);b=N[a+80>>2];c=N[a+84>>2]}F(T(N[a+72>>2],20)+c|0,T(N[a+64>>2],20)+b|0,T(e,20));N[a+64>>2]=e+N[a+64>>2];N[a+72>>2]=e+N[a+72>>2];break f}if(b>>>0>=e>>>0){break f}b=e-b|0;if(b>>>0>d>>>0){e=b-d|0;g=e+f|0;if(!(!g|Q[a+76>>2]>g>>>0)){if(!gb(a,g)){break e}f=N[a+68>>2];d=N[a+64>>2]}c=N[a+80>>2]+T(d,20)|0;F(c+T(e,20)|0,c,T(f-d|0,20));c=N[a+68>>2];d=e+N[a+64>>2]|0;h:{if(c>>>0>=d>>>0){break h}f=T(d-c|0,20);if(!f){break h}C(N[a+80>>2]+T(c,20)|0,0,f);d=e+N[a+64>>2]|0;c=N[a+68>>2]}N[a+64>>2]=d;N[a+68>>2]=c+e}if(b>>>0>d>>>0){break a}c=d-b|0;N[a+64>>2]=c;d=N[a+72>>2]-b|0;N[a+72>>2]=d;F(N[a+80>>2]+T(c,20)|0,N[a+84>>2]+T(d,20)|0,T(b,20))}c=1}return c}ba(13100,17855,448,12346);B()}ba(22599,17855,455,12346);B()}ba(8694,17855,209,11932);B()}ba(8953,17855,480,12346);B()}function pm(a){var b=0,c=0,d=0,e=0;d=La-16|0;La=d;b=N[a+20>>2];a:{if(b){c=85;if(Qa[b|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;c=85;b=N[a+4>>2];if(!b){break a}e=N[a+20>>2];b:{if(e){b=Qa[e|0](a,0,d+4|0,4)|0;break b}b=b>>>0>=4?4:b;F(d+4|0,N[a>>2],b)}N[a+8>>2]=b;if(b>>>0<4){break a}c=3;if(O[d+4|0]!=31|O[d+5|0]!=139|(O[d+6|0]!=8|O[d+7|0]>31)){break a}b=b+6|0;e=N[a+20>>2];c:{d:{if(e){c=85;if(!(Qa[e|0](a,b,0,0)|0)){break d}break c}c=85;if(b>>>0>Q[a+4>>2]){break c}}N[a+8>>2]=b;c=0}N[d+8>>2]=c;b=O[d+7|0];if(b&4){b=ln(a,d+8|0);c=N[d+8>>2];if(c){break a}c=Xc(a,b);if(c){break a}b=O[d+7|0];c=0}e:{if(b&8){while(1){L[d+14|0]=0;c=N[a+8>>2];b=N[a+20>>2];f:{if(b){if((Qa[b|0](a,c,d+14|0,1)|0)!=1){break e}c=N[a+8>>2];b=d+14|0;break f}if(Q[a+4>>2]<=c>>>0){break e}b=N[a>>2]+c|0}b=O[b|0];N[a+8>>2]=c+1;if(b){continue}break}b=O[d+7|0];c=0}if(b&16){while(1){L[d+15|0]=0;c=N[a+8>>2];b=N[a+20>>2];g:{if(b){if((Qa[b|0](a,c,d+15|0,1)|0)!=1){break e}c=N[a+8>>2];b=d+15|0;break g}if(Q[a+4>>2]<=c>>>0){break e}b=N[a>>2]+c|0}b=O[b|0];N[a+8>>2]=c+1;if(b){continue}break}b=O[d+7|0];c=0}if(!(b&2)){break a}b=N[a+8>>2]+2|0;e=N[a+20>>2];h:{if(e){c=85;if(!(Qa[e|0](a,b,0,0)|0)){break h}break a}c=85;if(b>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=b;c=0;break a}c=85}La=d+16|0;return c}function Lf(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=La-272|0;La=k;l=N[N[a+96>>2]+64>>2];N[k+264>>2]=0;a:{b:{if(!Lk(a,d,e,N[j+4>>2],N[j+16>>2],k+264|0,k)){break b}o=N[k+264>>2];if(!o){l=0;break b}q=N[j+20>>2];r=N[j+8>>2];N[a+76>>2]=f;e=o-1|0;N[a+44>>2]=e;m=N[N[a+48>>2]+96>>2];N[a+80>>2]=N[m+68>>2];l=0;l=(e|0)==N[m+64>>2]?O[(N[m+80>>2]+T(e,20)|0)+15|0]:l;m=a+44|0;N[a+72>>2]=g;N[a+68>>2]=q;N[a- -64>>2]=r;L[a+63|0]=O[a+62|0]?l:0;g=o;c:{if(!f){break c}e=0;while(1){if(!kc(m,k+268|0)){l=N[k+268>>2];g=l;if(n&1){break c}break b}e=e+1|0;n=f>>>0<=e>>>0;if((e|0)!=(f|0)){continue}break}g=N[m>>2]+1|0}e=N[a+96>>2];e=N[(O[e+62|0]?72:64)+e>>2];p=N[j+12>>2];l=N[j>>2];N[a+76>>2]=b;N[a+44>>2]=e;j=N[N[a+48>>2]+96>>2];N[a+80>>2]=N[j+68>>2];f=0;n=0;n=N[j+64>>2]==(e|0)?O[(N[j+80>>2]+T(e,20)|0)+15|0]:n;N[a+72>>2]=c;N[a+68>>2]=p;N[a+64>>2]=l;L[a+63|0]=O[a+62|0]?n:0;c=1;d:{if(!b){break d}e=0;while(1){if(!he(m,k+268|0)){e=N[k+268>>2];c=1;if(f&1){break d}p=0;a=N[a+96>>2];if(!(O[a+16|0]&64)){break a}wb(a,2,e,g,0,1);break a}e=e+1|0;f=e>>>0>=b>>>0;if((b|0)!=(e|0)){continue}break}e=N[m>>2];c=f}p=c;wb(N[a+96>>2],3,e,g,1,1);Kk(a,d,k,h,i,o);break a}a=N[a+96>>2];if(!(O[a+16|0]&64)){break a}wb(a,2,N[a+64>>2],l,1,0)}La=k+272|0;return p}function TD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=La-16|0;La=g;f=N[b>>2];a=aq(f+28|0);b=N[a+4>>2];a:{b:{c:{d:{e:{if((b|0)!=131072){if((b|0)!=65536|c>>>0>257){break d}a=c<<2;b=N[a+267632>>2];a=N[a+267636>>2]+(b^-1)|0;b=b+268668|0;break e}b=N[a+8>>2];h=O[b|0]|O[b+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0<=c>>>0){break d}b=b+(c<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0<=257){a=b<<2;b=N[a+267632>>2];a=N[a+267636>>2]+(b^-1)|0;b=b+268668|0;break e}b=b-258|0;if(b>>>0>=Q[a+16>>2]){break d}a=N[a+24>>2]+N[N[a+20>>2]+(b<<2)>>2]|0;b=a+1|0;a=O[a|0]}if(!(!e|!a)){f=b;b=e-1|0;c=a>>>0>b>>>0?b:a;fg(d,f,c);break c}b=1;if(a){break a}}b=0;f=Kg(f- -64|0);if(!N[f+44>>2]|N[f+148>>2]!=-1){break a}if(!e){break b}f:{g:{a=N[f+52>>2];h:{i:{if((a|0)!=275552){a=$p(a,c,N[f+216>>2]);break i}a=0;j:{switch(N[f+172>>2]){case 0:a=c>>>0<229?c:0;break h;case 1:if(c>>>0>165){break h}a=P[(c<<1)+265824>>1];break i;case 2:break j;default:break h}}if(c>>>0>86){break h}a=P[(c<<1)+266160>>1]}if(a>>>0>390){break g}}c=a<<2;a=N[c+270528>>2];c=N[c+270532>>2]+(a^-1)|0;a=a+272096|0;break f}gd(g+4|0,N[f+64>>2],a-391|0);c=N[g+8>>2];a=N[g+4>>2]}if(!c){break a}b=a;a=e-1|0;c=a>>>0>>0?a:c;fg(d,b,c)}L[c+d|0]=0}b=1}La=g+16|0;return b|0}function Lk(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=La-16|0;La=l;h=0;a:{if(b>>>0>64){break a}h=N[a+96>>2];j=N[h+64>>2];N[a+36>>2]=b-1;N[a+4>>2]=j;i=N[N[a+8>>2]+96>>2];N[a+40>>2]=N[i+68>>2];k=(j|0)==N[i+64>>2]?O[(N[i+80>>2]+T(j,20)|0)+15|0]:k;i=a+4|0;N[a+32>>2]=c;N[a+28>>2]=e;N[a+24>>2]=d;L[a+23|0]=O[a+22|0]?k:0;a=O[(N[h+80>>2]+T(j,20)|0)+14|0];N[g>>2]=j;b:{c:{d:{if(b>>>0<2){break d}e=a>>>5|0;k=0;d=1;e:{m=a&16?0:a&15;if((m|0)!=0&a>>>0>31){c=1;while(1){if(!kc(i,l+12|0)){break c}N[(c<<2)+g>>2]=N[i>>2];a=O[(N[h+80>>2]+T(N[i>>2],20)|0)+14|0];if((e|0)==(a>>>5|0)){a=((a&16?0:a&15)|0)==(m|0)}else{a=0}f:{if(a){break f}g:{switch(k|0){case 0:break g;case 1:break b;default:break f}}n=N[h+84>>2];k=n+14|0;a=N[h+72>>2];while(1){if(!a){break e}a=a-1|0;o=T(a,20);j=O[k+o|0];if((e|0)!=(j>>>5|0)){break e}if(!(j&15?j&16:1)){continue}break}k=2;if((Jk(i,n+o|0)|0)!=1){break e}}c=c+1|0;d=c>>>0>>0;if((b|0)!=(c|0)){continue}break}break d}while(1){if(!kc(i,l+12|0)){break c}N[(d<<2)+g>>2]=N[i>>2];a=O[(N[h+80>>2]+T(N[i>>2],20)|0)+14|0];if(!((e|0)==(a>>>5|0)|a>>>0<32|a&16)){if(a&15){break b}}d=d+1|0;if((d|0)!=(b|0)){continue}break}break d}h=0;if(d&1){break a}}N[f>>2]=N[i>>2]+1;h=1;break a}N[f>>2]=N[l+12>>2]}h=0}La=l+16|0;return h}function wf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-32|0;La=g;if(!(!(O[b+144|0]&64)|O[b+16|0]&16)){N[g+28>>2]=0;h=N[a+96>>2];j=N[h+28>>2];k=N[a+100>>2];l=g+28|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}l=Qa[j|0](a,k,9676,l,h)|0;if(l){h=N[g+28>>2];N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;N[b+84>>2]=N[b+80>>2];j=N[b+68>>2];a:{if(!j){break a}m=(f|0)!=-1?f:0;if((e|0)==-1){a=0;while(1){if(!O[b+60|0]){break a}f=N[b+80>>2]+T(i,20)|0;e=O[f+15|0];b:{if(!((e|0)!=(a|0)&(e&15)==(c|0))){Og(b);break b}M[g+24>>1]=0;N[g+20>>2]=0;N[g+8>>2]=h;L[g+27|0]=m;L[g+26|0]=d;N[g+16>>2]=N[f+8>>2];a=N[f+4>>2];L[g+23|0]=e;N[g+12>>2]=a;Aq(b,g+8|0);a=e}i=N[b+64>>2];if(i>>>0>2]){continue}break}break a}f=0;while(1){if(!O[b+60|0]){break a}k=N[b+80>>2]+T(i,20)|0;a=O[k+15|0];c:{if(!((a|0)==(f|0)|(a&15)!=(c|0))){M[g+24>>1]=0;N[g+20>>2]=0;N[g+8>>2]=h;L[g+27|0]=m;L[g+26|0]=d;N[g+16>>2]=N[k+8>>2];f=N[k+4>>2];L[g+23|0]=a;N[g+12>>2]=f;d:{if(i>>>0>=j>>>0){break d}while(1){if(!O[b+60|0]){break d}f=N[b+80>>2]+T(i,20)|0;if((a|0)!=O[f+15|0]|O[f+18|0]!=(e|0)){break d}Og(b);i=N[b+64>>2];if(i>>>0>2]){continue}break}}Aq(b,g+8|0);f=a;break c}Og(b)}i=N[b+64>>2];j=N[b+68>>2];if(i>>>0>>0){continue}break}}Ac(b)}i=(l|0)!=0}La=g+32|0;return i}function _u(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=N[N[N[a+4>>2]+96>>2]+28>>2];i=Kb(N[N[N[b>>2]+428>>2]+(c<<2)>>2],0);c=N[a+160>>2];e=N[c+156>>2];a:{if(!e){break a}f=N[e+4>>2];if(!(f&1)){break a}g=N[c+88>>2];if(g){e=N[N[c+4>>2]+100>>2];Qa[N[e+8>>2]](e,g);e=N[c+156>>2];f=N[e+4>>2]}N[e+4>>2]=f&-2}N[c+24>>2]=0;N[c+28>>2]=0;N[c+152>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;C(c+72|0,0,72);c=Qa[N[h+72>>2]](N[a+160>>2],N[b+44>>2],i,d|8)|0;if(!c){b=N[a+160>>2];d=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=d;d=N[b+36>>2];N[a+32>>2]=N[b+32>>2];N[a+36>>2]=d;d=N[b+44>>2];N[a+40>>2]=N[b+40>>2];N[a+44>>2]=d;d=N[b+52>>2];N[a+48>>2]=N[b+48>>2];N[a+52>>2]=d;N[a+56>>2]=N[b+56>>2];N[a+60>>2]=N[b+60>>2];N[a+72>>2]=N[b+72>>2];N[a+124>>2]=N[b+124>>2];d=N[b+120>>2];N[a+116>>2]=N[b+116>>2];N[a+120>>2]=d;d=N[b+112>>2];N[a+108>>2]=N[b+108>>2];N[a+112>>2]=d;d=N[b+96>>2];N[a+92>>2]=N[b+92>>2];N[a+96>>2]=d;d=N[b+88>>2];N[a+84>>2]=N[b+84>>2];N[a+88>>2]=d;d=N[b+80>>2];N[a+76>>2]=N[b+76>>2];N[a+80>>2]=d;N[a+100>>2]=N[b+100>>2];N[a+104>>2]=N[b+104>>2];N[a+128>>2]=N[b+128>>2];N[a+132>>2]=N[b+132>>2];N[a+136>>2]=N[b+136>>2];N[a+140>>2]=N[b+140>>2]}return c|0}function mE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=db(1,36);if(f){i=f;h=N[a+44>>2];a:{b:{if((h|0)>0){g=N[a+48>>2];c=h-1|0;a=c;c:{d:{while(1){b=a+d>>>1|0;e=N[T(b,36)+g>>2];e:{if(e>>>0>=1886545255){a=b-1|0;break e}if((e|0)==1886545254){break d}d=b+1|0}if((a|0)>=(d|0)){continue}break}a=0;break c}a=N[(T(b,36)+g|0)+28>>2]}N[f>>2]=a;d=0;a=c;f:{while(1){b=a+d>>>1|0;e=N[T(b,36)+g>>2];g:{if(e>>>0<=1651275622){d=N[(T(b,36)+g|0)+28>>2];if((e|0)==1651275622){break f}d=b+1|0;break g}a=b-1|0}if((a|0)>=(d|0)){continue}break}d=0}N[f+4>>2]=d;a=0;h:{while(1){b=a+c>>>1|0;e=N[T(b,36)+g>>2];i:{if(e>>>0<=1633842790){a=N[(T(b,36)+g|0)+28>>2];if((e|0)==1633842790){break h}a=b+1|0;break i}c=b-1|0}if((a|0)<=(c|0)){continue}break}a=0}N[f+8>>2]=a;c=0;if((h|0)<=0){break b}a=h-1|0;d=a;j:{while(1){b=c+d>>>1|0;e=N[T(b,36)+g>>2];k:{if(e>>>0<=1886614630){c=N[(T(b,36)+g|0)+28>>2];if((e|0)==1886614630){break j}c=b+1|0;break k}d=b-1|0}if((c|0)<=(d|0)){continue}break}c=0}N[f+12>>2]=c;c=0;while(1){b=a+c>>>1|0;e=N[T(b,36)+g>>2];l:{if(e>>>0<=1667654002){c=N[(T(b,36)+g|0)+28>>2];if((e|0)==1667654002){break a}c=b+1|0;break l}a=b-1|0}if((a|0)>=(c|0)){continue}break}c=0;break a}N[f+4>>2]=0;N[f+8>>2]=0}N[f+12>>2]=0;c=0}N[i+16>>2]=c}return f|0}function Gu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;if(!b){return 1}e=a&65535;a=a>>>16|0;if(c){while(1){i=c>>>0>=5552?5552:c;c=c-i|0;a:{if(i>>>0>=16){while(1){o=O[b|0]+e|0;p=o+O[b+1|0]|0;q=p+O[b+2|0]|0;r=q+O[b+3|0]|0;s=r+O[b+4|0]|0;t=s+O[b+5|0]|0;k=t+O[b+6|0]|0;l=k+O[b+7|0]|0;m=l+O[b+8|0]|0;n=m+O[b+9|0]|0;f=n+O[b+10|0]|0;g=f+O[b+11|0]|0;j=g+O[b+12|0]|0;h=j+O[b+13|0]|0;d=h+O[b+14|0]|0;e=d+O[b+15|0]|0;a=e+(d+(h+(j+(g+(f+(n+(m+(l+(k+(t+(s+(r+(q+(p+(a+o|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;i=i-16|0;if(i>>>0>15){continue}break}if(!i){break a}}j=i-1|0;f=i&3;b:{if(!f){h=i;d=b;break b}h=i&-4;g=0;d=b;while(1){e=O[d|0]+e|0;a=e+a|0;d=d+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}d=b+f|0}c:{if(j>>>0<3){break c}j=h-4|0;if(!(j&4)){f=O[d|0]+e|0;g=f+O[d+1|0]|0;h=g+O[d+2|0]|0;e=h+O[d+3|0]|0;a=e+(h+(g+(a+f|0)|0)|0)|0;h=j;d=d+4|0}if(j>>>0<4){break c}while(1){k=O[d|0]+e|0;l=k+O[d+1|0]|0;m=l+O[d+2|0]|0;n=m+O[d+3|0]|0;f=n+O[d+4|0]|0;g=f+O[d+5|0]|0;j=g+O[d+6|0]|0;e=j+O[d+7|0]|0;a=e+(((((m+(l+(a+k|0)|0)|0)+n|0)+f|0)+g|0)+j|0)|0;d=d+8|0;h=h-8|0;if(h){continue}break}}b=b+i|0}a=(a>>>0)%65521|0;e=(e>>>0)%65521|0;if(c){continue}break}}return a<<16|e}function ae(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}g=a-4|0;while(1){b=N[g>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1751474532,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{if(!b){break f}c=N[b>>2];if(!c){break f}if((c|0)<=0){break e}N[b>>2]=c+1}L[d+28|0]=0;N[d+36>>2]=b;e=N[b+12>>2];N[d+8>>2]=e;f=N[b+16>>2];N[d+12>>2]=e+f;if((f|0)<0){break d}N[d+32>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[d+16>>2]=c;N[d+24>>2]=0;N[d+4>>2]=0;if(!e){ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;break c}g:{h:{i:{if(f>>>0<54){break i}N[d+16>>2]=c-54;if((O[e|0]|O[e+1|0]<<8)!=256){break i}c=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if((c|0)!=-180613281){break h}if(!N[b+4>>2]){break g}N[b+4>>2]=0;break c}ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0}ab(b);b=275552}break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}c=b;b=N[a>>2];j:{if(c){if(b){break j}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<54?275552:N[b+12>>2]}function VA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;e=La-464|0;La=e;f=b+8|0;g=N[f+4>>2];N[e+16>>2]=N[f>>2];N[e+20>>2]=g;N[e+40>>2]=N[b+32>>2];f=N[b+28>>2];N[e+32>>2]=N[b+24>>2];N[e+36>>2]=f;f=N[b+20>>2];N[e+24>>2]=N[b+16>>2];N[e+28>>2]=f;f=N[b+4>>2];g=N[b>>2];N[e+16>>2]=2;N[e+8>>2]=g;N[e+12>>2]=f;a:{switch(N[b+8>>2]-7|0){case 0:case 3:N[e+16>>2]=3;break;default:break a}}Dd(a,e+452|0);b:{if(N[e+460>>2]!=3){h=162;break b}i=N[a>>2];f=N[e+452>>2]+1|0;N[a>>2]=f;j=N[a+8>>2];h=N[e+456>>2]-1|0;N[a+8>>2]=h;g=e+48|0;c:{if(f>>>0>=h>>>0){break c}f=0;while(1){Dd(a,e+440|0);g=(e+48|0)+T(f,12)|0;if(!N[e+448>>2]){break c}if(f>>>0<=31){h=N[e+444>>2];N[g>>2]=N[e+440>>2];N[g+4>>2]=h;N[g+8>>2]=N[e+448>>2]}f=f+1|0;if(Q[a>>2]>2]){continue}break}g=(e+48|0)+T(f,12)|0}N[a+8>>2]=j;N[a>>2]=i;f=g-(e+48|0)|0;if((f|0)<0){h=162;break b}f=(f>>>0)/12|0;g=N[b+24>>2];g=f>>>0>>0?f:g;d:{if(N[b+8>>2]==7){break d}b=N[b+28>>2];if(!b){break d}L[b+N[c>>2]|0]=g}e:{if(g){f=e+48|0;b=N[e+24>>2];k=O[e+28|0];while(1){N[a>>2]=N[f>>2];N[a+8>>2]=N[f+4>>2];h=Yo(a,e+8|0,c,d,e);if(h){break e}b=b+k|0;N[e+24>>2]=b;f=f+12|0;h=(g|0)>1;g=g-1|0;if(h){continue}break}}h=0}N[a+8>>2]=j;N[a>>2]=i}La=e+464|0;return h|0}function TC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=U(0),h=0,i=0,j=U(0),k=0,l=0;d=N[b+12>>2];a:{if(O[b+6|0]){if(d){a=N[d+128>>2];j=U(N[a+12>>2]);g=U(N[a+8>>2])}else{g=U(0)}g=U(U(aa(U(U(g*g)+U(j*j))))*U(152587890625e-16));break a}g=U(N[a+32>>2]>>31|1)}b:{if(P[d+68>>1]){b=N[N[d+88>>2]+20>>2];a=b>>31;e=M[d+70>>1];f=e>>31;a=(a^b)-a|0;k=a>>>8|0;f=(e^f)-f|0;c:{if(k+f>>>0<=8190){h=T(a,f)+32768>>>16|0;break c}h=T(f,a>>>16|0)+(T(f,a&65535)+32768>>>16|0)|0}f=h;i=0-f|0;f=e>>31|1;f=(((b|0)<0?0-f|0:f)|0)<0?i:h;i=M[d+72>>1];e=i>>31;e=(e^i)-e|0;d:{if(e+k>>>0<=8190){h=T(a,e)+32768>>>16|0;break d}h=T(e,a>>>16|0)+(T(e,a&65535)+32768>>>16|0)|0}e=h;l=0-e|0;e=i>>31|1;e=(((b|0)<0?0-e|0:e)|0)<0?l:h;i=M[d+74>>1];d=i>>31;d=(d^i)-d|0;e:{if(d+k>>>0<=8190){d=T(a,d)+32768>>>16|0;break e}d=T(d,a>>>16|0)+(T(d,a&65535)+32768>>>16|0)|0}a=d;h=0-a|0;a=i>>31|1;a=e+(((((b|0)<0?0-a|0:a)|0)<0?h:d)-f|0)|0;break b}a=N[d+88>>2];e=N[a+28>>2];f=N[a+24>>2];a=(e-f|0)+N[a+32>>2]|0}j=U(g*U(a|0));f:{if(U(V(j))>2]=a;j=U(g*U(e|0));g:{if(U(V(j))>2]=a;g=U(g*U(f|0));h:{if(U(V(g))>2]=a;return 1}function ag(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=N[a+28>>2];N[c>>2]=0;e=-1;d=N[a+32>>2];j=N[a+36>>2];a:{if(d>>>0>=j>>>0){break a}i=d+1|0;N[a+32>>2]=i;g=O[d|0];if(!g){break a}e=0;if(g<<24>>24<0){if(i>>>0>>0){N[a+32>>2]=d+2;d=O[d+1|0]}else{d=0}g=d|g<<8&32512}if(b>>>0>>0){break a}b=(g<<1)+2|0;i=Qa[N[f+4>>2]](f,b)|0;if(!i){break a}C(i,0,b);N[c>>2]=g;if(g){d=N[a+32>>2];k=N[a+36>>2];while(1){b:{c:{if(d>>>0>=k>>>0){c=i+(e<<1)|0;l=0;e=e+1|0;b=0;break c}f=d+1|0;N[a+32>>2]=f;j=e+1|0;c=i+(e<<1)|0;l=O[d|0];b=l<<24>>24;if((b|0)>=0){d=f;e=j;break c}b=0;e=0;if(d+2>>>0>>0){f=d+3|0;d=O[d+1|0]|O[d+2|0]<<8;e=d<<8|d>>>8}N[a+32>>2]=f;h=e+h|0;M[c>>1]=h;d=f;e=j;f=l&127;if(!f){break b}while(1){c=0;if(d+1>>>0>>0){c=O[d|0]|O[d+1|0]<<8;c=c<<8|c>>>8;d=d+2|0}N[a+32>>2]=d;h=c+h|0;M[i+(e<<1)>>1]=h;e=e+1|0;if(g>>>0<=e>>>0){break b}b=b+1|0;if(f>>>0>b>>>0){continue}break}break b}m=0;d:{if(d>>>0>=k>>>0){f=0;break d}j=d+1|0;N[a+32>>2]=j;f=O[d|0];d=j}h=(f&255)+h|0;M[c>>1]=h;c=d;if(!b){break b}while(1){b=0;if(c>>>0>>0){d=c+1|0;N[a+32>>2]=d;b=O[c|0];c=d}h=(b&255)+h|0;M[i+(e<<1)>>1]=h;e=e+1|0;if(g>>>0<=e>>>0){break b}m=m+1|0;if(m>>>0>>0){continue}break}}if(e>>>0>>0){continue}break}}e=i}return e}function Fg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if(a&4){f=d>>31;e=(f^d)-f|0;a:{b:{c:{if((c|0)==1){if(!(a&2)){break c}break b}if(a&1){break b}}d:{a=T(c,7676)+b|0;if(!N[a+52>>2]){break d}c=N[a+60>>2];a=e-c|0;b=a>>31;if((a^b)-b>>>0>39){break d}e=(c|0)<=48?48:c;break a}if(e>>>0<=53){e=(54-e>>>1&127)+e|0;break a}if(e>>>0>191){break a}b=e&63;if(b>>>0<10){break a}a=e&2147483584;if(b>>>0<=21){e=a|10;break a}e=b-42>>>0<12?a|54:e;break a}e:{f:{g:{h:{i:{j:{b=T(c,7676)+b|0;f=N[b+52>>2];if(f){k=b+56|0;if((f|0)!=1){break j}i=98;f=e;break i}b=e+32&2147483584;f=e;break g}q=f&1;l=f&-2;i=98;b=0;f=e;while(1){m=N[(T(b|1,12)+k|0)+4>>2];h=e-m|0;n=h>>31;o=N[(T(b,12)+k|0)+4>>2];g=e-o|0;j=g>>31;g=(g^j)-j|0;p=(g|0)<(i|0);h=(h^n)-n|0;g=p?g:i;j=(h|0)<(g|0);i=j?h:g;f=j?m:p?o:f;b=b+2|0;if((l|0)!=(b|0)){continue}break}if(!q){break h}}g=N[(T(l,12)+k|0)+4>>2];b=e-g|0;h=b>>31;f=((b^h)-h|0)<(i|0)?g:f}b=f+32&-64;if((e|0)<(f|0)){break f}}b=(b|48)>(e|0)?f:e;break e}b=(b-48|0)<(e|0)?f:e}if((c|0)==1){e=64;if((b|0)<64){break a}e=b+16&-64;break a}if(a&8){e=64;if((b|0)<64){break a}e=b+32&-64;break a}if((b|0)<=47){e=b- -64>>1;break a}if(b>>>0<=127){e=b+22&-64;break a}e=b+32&-64}d=(d|0)<0?0-e|0:e}return d}function lq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if((a|0)==275552){break a}b:{switch(O[a|0]){case 0:return O[(a+b|0)+1|0];case 3:c:{if(!(O[a+1|0]|O[a+2|0]<<8)){i=275552;e=0;break c}i=a+3|0;e=O[a+1|0]|O[a+2|0]<<8}g=(e<<8|(e&65280)>>>8)&65535;d:{if(g>>>0>=2){d=g-2|0;while(1){h=d+f>>>1|0;c=T(h,3)+i|0;j=O[c|0]|O[c+1|0]<<8;e:{if(((j<<8|j>>>8)&65535)>>>0<=b>>>0){f=O[c+3|0]|O[c+4|0]<<8;if(((f<<8|f>>>8)&65535)>>>0>b>>>0){break d}f=h+1|0;break e}d=h-1|0}if((d|0)>=(f|0)){continue}break}}if(!(e&65535)){return O[275554]}c=T(g,3)+a|0}return O[c+2|0];case 4:break b;default:break a}}f:{if(!(O[a+1|0]|O[a+2|0]<<8|(O[a+3|0]<<16|O[a+4|0]<<24))){i=275552;e=0;break f}i=a+5|0;e=O[a+1|0]|O[a+2|0]<<8|(O[a+3|0]<<16|O[a+4|0]<<24)}c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);j=c-1|0;g:{if((j|0)>0){f=c-2|0;while(1){h=d+f>>>1|0;c=T(h,6)+i|0;g=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){d=O[c+6|0]|O[c+7|0]<<8|(O[c+8|0]<<16|O[c+9|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>b>>>0){break g}d=h+1|0;break h}f=h-1|0}if((d|0)<=(f|0)){continue}break}}if(!e){c=275552;break g}c=(T(j,6)+a|0)+5|0}a=O[c+4|0]|O[c+5|0]<<8;d=(a<<8|a>>>8)&65535}return d}function RE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{e=b;if(e){if(!c){break j}if(!d){break i}e=W(d)-W(e)|0;if(e>>>0<=31){break h}break b}if((d|0)==1|d>>>0>1){break b}b=(a>>>0)/(c>>>0)|0;Na=a-T(b,c)|0;Oa=0;Pa=0;return b}if(!a){break g}if(!d){break f}f=d-1|0;if(f&d){break f}Na=a;Oa=e&f;a=e>>>SE(d)|0;Pa=0;return a}f=c-1|0;if(!(f&c)){break e}j=(W(c)+33|0)-W(e)|0;h=0-j|0;break c}j=e+1|0;h=63-e|0;break c}Na=0;a=(e>>>0)/(d>>>0)|0;Oa=e-T(a,d)|0;Pa=0;return a}e=W(d)-W(e)|0;if(e>>>0<31){break d}break b}Na=a&f;Oa=0;if((c|0)==1){break a}c=SE(c);d=c&31;if((c&63)>>>0>=32){e=0;a=b>>>d|0}else{e=b>>>d|0;a=((1<>>d}Pa=e;return a}j=e+1|0;h=63-e|0}f=a;e=j&63;g=e&31;if((e&63)>>>0>=32){e=0;f=b>>>g|0}else{e=b>>>g|0;f=((1<>>g}h=h&63;g=h&31;if((h&63)>>>0>=32){i=a<>>32-g|b<>>31;f=f<<1|b>>>31;k=e;l=h-(e+(f>>>0>g>>>0)|0)|0;m=l>>31;i=m;e=f;l=c&i;f=e-l|0;e=k-((d&i)+(e>>>0>>0)|0)|0;i=b<<1|a>>>31;a=n|a<<1;b=i|o;k=m&1;n=k;j=j-1|0;if(j){continue}break}}Na=f;Oa=e;i=b<<1|a>>>31;a=k|a<<1;Pa=i|o;return a}Na=a;Oa=b;a=0;b=0}Pa=b;return a}function Az(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-128|0;La=d;f=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=0|b;hb(d+112|0,f^e^2025677871,b^c^-1602871964,0,0,e^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+80|0,(g|c)^(N[d+104>>2]^N[d+96>>2])^2025677871,b^(N[d+108>>2]^N[d+100>>2])^-1602871964,0,0,b^-1598805797,c^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805805,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+16|0,a^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+128|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function Tk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=La-16|0;La=i;e=N[b+96>>2];h=O[a+2|0]|O[a+3|0]<<8;if(h){c=((h<<8|h>>>8)&65535)+a|0}else{c=275552}g=N[e+64>>2];h=vb(c,N[N[e+80>>2]+T(g,20)>>2]);c=0;a:{if((h|0)==-1){break a}N[b+4>>2]=g;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];d=(g|0)==N[c+64>>2]?O[(N[c+80>>2]+T(g,20)|0)+15|0]:d;f=b+4|0;N[b+12>>2]=8;L[b+23|0]=O[b+22|0]?d:0;while(1){if(!he(f,i+12|0)){if(O[e+16|0]&64){wb(e,2,N[i+12>>2],N[e+64>>2]+1|0,0,1)}c=0;break a}b:{g=N[f>>2];c=N[e+80>>2]+T(g,20)|0;if(!(O[c+12|0]&64)|!g){break b}d=O[c+14|0];k=d&16?0:d&15;if(!k){break b}l=c-20|0;if((P[l+12>>1]&72)!=64){break b}j=d;d=O[l+14|0];if((j^d)>>>0>31|((d&16?1:(d&15)+1|0)|0)!=(k|0)){break b}N[b+36>>2]=N[b+36>>2]+1;c=N[b+32>>2];if(!c){continue}N[b+32>>2]=c-2;continue}break}f=O[a+4|0]|O[a+5|0]<<8;if(f){d=((f<<8|f>>>8)&65535)+a|0}else{d=275552}c=vb(d,N[c>>2]);if((c|0)==-1){c=0;if(!(O[e+16|0]&64)){break a}wb(e,2,g,N[e+64>>2]+1|0,0,1);c=0;break a}e=O[a+8|0]|O[a+9|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=275552}f=O[a+10|0]|O[a+11|0]<<8;if(f){j=((f<<8|f>>>8)&65535)+a|0}else{j=275552}a=O[a+6|0]|O[a+7|0]<<8;c=_g(d,b,h,c,j,(a<<8|a>>>8)&65535,g)}La=i+16|0;return c}function ei(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}d=N[a+96>>2];if(!d){return 6}h=N[d+8>>2];a:{b:{i=N[d+12>>2];c=N[i+44>>2];c:{if((c|0)<=0){g=6;f=h;if(!c){break c}break b}e=Qa[N[h+4>>2]](h,c)|0;if(!e){g=64;break b}C(e,0,c);d=N[a+96>>2];f=N[d+8>>2];i=N[d+12>>2]}N[e+4>>2]=a;N[e>>2]=N[d+4>>2];g=64;d:{c=Qa[N[f+4>>2]](f,44)|0;e:{if(!c){break e}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[e+156>>2]=c;if(!(O[N[d>>2]+1|0]&2)){d=Qa[N[f+4>>2]](f,96)|0;if(!d){break e}C(d+4|0,0,92);N[d>>2]=f;N[c>>2]=d}f=N[i+64>>2];if(!f){break d}g=Qa[f|0](e)|0;if(!g){break d}}ig(e);Qa[N[h+8>>2]](h,e);return g}N[e+8>>2]=N[a+84>>2];N[a+84>>2]=e;g=0;if(!b){break a}N[b>>2]=e;break a}if(!b){break a}N[b>>2]=0;return g}return g}function Bn(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 35}c=6;a:{if(!b){break a}if(!N[a+96>>2]){return 34}N[b>>2]=0;e=N[a+100>>2];g=N[N[a+96>>2]+12>>2];d=N[g+40>>2];b:{if((d|0)<=0){if(!d){break b}break a}f=Qa[N[e+4>>2]](e,d)|0;if(!f){return 64}C(f,0,d)}c:{d:{d=Qa[N[e+4>>2]](e,12)|0;if(d){L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;N[f>>2]=a;c=Qa[N[e+4>>2]](e,36)|0;if(!c){c=64;break d}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[f+40>>2]=c;c=N[g+56>>2];if(c){c=Qa[c|0](f)|0;if(c){break d}}N[b>>2]=f;N[d+8>>2]=f;b=N[a+112>>2];N[d>>2]=b;N[d+4>>2]=0;N[(b?b+4|0:a+108|0)>>2]=d;N[a+112>>2]=d;return 0}c=64;if(!f){break a}break c}Qa[N[e+8>>2]](e,d)}a=N[f+40>>2];if(a){Qa[N[e+8>>2]](e,a)}N[f+40>>2]=0;Qa[N[e+8>>2]](e,f)}return c}function Kf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=La-32|0;La=h;e=O[a+2|0]|O[a+3|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=275552}e=N[b+96>>2];i=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];if((vb(d,i)|0)!=-1){f=275552;e=275552;d=O[a+4|0]|O[a+5|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}d=O[a+6|0]|O[a+7|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+a|0}d=275552;g=O[a+8|0]|O[a+9|0]<<8;if(g){d=((g<<8|g>>>8)&65535)+a|0}N[h+28>>2]=d;N[h+24>>2]=f;c=c?248:249;N[h+16>>2]=c;N[h+12>>2]=(d|0)!=(f|0)?249:c;N[h+20>>2]=e;N[h+8>>2]=(e|0)!=(f|0)?249:c;c=Re(f,i);f=O[a+10|0]|O[a+11|0]<<8;c=c>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((c<<1)+a|0)+12|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}f=O[c|0]|O[c+1|0]<<8;e=0;a:{if(!f){break a}n=h+8|0;f=(f<<8|f>>>8)&65535;a=c+2|0;while(1){e=O[a|0]|O[a+1|0]<<8;if(e){e=c+((e<<8|e>>>8)&65535)|0}else{e=275552}d=O[e|0]|O[e+1|0]<<8;j=(d<<8|d>>>8)&65535;k=(j<<1)+e|0;d=k+2|0;g=O[d|0]|O[d+1|0]<<8;l=(g<<8|g>>>8)&65535;d=(g?l<<1:2)+d|0;g=O[d|0]|O[d+1|0]<<8;m=(g<<8|g>>>8)&65535;g=(m<<1)+d|0;i=O[g+2|0]|O[g+3|0]<<8;e=Lf(b,j,e+2|0,l,k+4|0,m,d+2|0,(i<<8|i>>>8)&65535,g+4|0,n);if(!e){a=a+2|0;f=f-1|0;if(f){continue}}break}}f=e}La=h+32|0;return f}function cn(a){var b=0,c=0,d=0,e=0;e=N[N[a>>2]+100>>2];b=N[a+300>>2];if(b){N[b+460>>2]=0;c=N[b+8>>2];d=N[b+24>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+20>>2]=0;N[b+24>>2]=0;d=N[b+400>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+396>>2]=0;N[b+400>>2]=0;d=N[b+500>>2];if(d){Qa[N[c+8>>2]](c,d)}M[b+496>>1]=0;N[b+500>>2]=0;d=N[b+456>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+456>>2]=0;N[b+448>>2]=0;N[b+452>>2]=0;d=N[b+412>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+408>>2]=0;N[b+412>>2]=0;N[b>>2]=0;N[b+4>>2]=0;Qa[N[c+8>>2]](c,b);N[a+300>>2]=0}b=N[a+252>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+248>>2]=0;N[a+252>>2]=0;b=N[a+260>>2];if(b){Qa[N[e+8>>2]](e,b)}M[a+256>>1]=0;N[a+260>>2]=0;b=N[a+264>>2];if(b){c=N[a+292>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+292>>2]=0;c=N[a+288>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+288>>2]=0;c=N[a+280>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+280>>2]=0;c=N[a+276>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+276>>2]=0;c=N[a+284>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+284>>2]=0;b=a+264|0;N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}b=N[a+132>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+132>>2]=0;b=N[a+144>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+136>>2]=0;N[a+140>>2]=0;N[a+124>>2]=0;N[a+128>>2]=0;N[a+304>>2]=-1;N[a+308>>2]=-1;N[a+144>>2]=0;N[a+148>>2]=0;N[a+152>>2]=0}function Ty(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=La+-64|0;La=e;a:{if($b(b,584856,0)){N[c>>2]=0;f=1;break a}b:{if(O[a+8|0]&24){d=$b(a,b,1);break b}c:{if(!b){break c}g=Oc(b,584588);if(!g){break c}d=$b(a,b,(N[g+8>>2]&24)!=0)}}if(d){f=1;a=N[c>>2];if(!a){break a}N[c>>2]=N[a>>2];break a}if(!b){break a}b=Oc(b,584636);if(!b){break a}d=N[c>>2];if(d){h=N[d>>2];N[c>>2]=h}d=N[b+8>>2];g=N[a+8>>2];if(d&(g^-1)&7|g&(d^-1)&96){break a}f=1;d=N[a+12>>2];a=N[b+12>>2];if($b(d,a,0)){break a}if($b(d,584844,0)){if(!a){break a}f=!Oc(a,584688);break a}f=0;if(!d){break a}b=Oc(d,584636);if(b){if(!(g&1)){break a}d:{e:{while(1){if(!a){break e}a=Oc(a,584636);if(!a){break e}g=N[b+8>>2];if(N[a+8>>2]&(g^-1)){break e}d=N[b+12>>2];a=N[a+12>>2];b=1;if($b(d,a,0)){break d}if(!(g&1)|!d){break e}b=Oc(d,584636);if(b){continue}break}b=Oc(d,584748);if(!b){break e}f=Nn(b,a)}b=f}f=b;break a}b=Oc(d,584748);if(b){if(!(g&1)){break a}f=Nn(b,a);break a}b=Oc(d,584540);if(!b|!a){break a}a=Oc(a,584540);if(!a){break a}C(e+12|0,0,52);N[e+56>>2]=1;N[e+20>>2]=-1;N[e+16>>2]=b;N[e+8>>2]=a;Qa[N[N[a>>2]+28>>2]](a,e+8|0,h,1);a=N[e+32>>2];if(!(!N[c>>2]|(a|0)!=1)){N[c>>2]=N[e+24>>2]}f=(a|0)==1}La=e- -64|0;return f|0}function bn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=N[a>>2];if(N[a+248>>2]){i=N[a+92>>2];d=i>>6;c=d>>31;c=(c^d)-c|0;k=c&65535;l=c>>>16|0;m=c>>>8|0;n=N[a+252>>2];o=N[g+704>>2];while(1){j=e<<2;h=N[j+o>>2];d=h>>31;d=(d^h)-d|0;a:{if(d+m>>>0<=8190){f=T(c,d)+32768>>>16|0;break a}f=d&65535;f=T(f,l)+T(c,d>>>16|0)+(T(k,f)+32768>>>16)|0}d=f;p=0-d|0;d=h>>31|1;N[n+j>>2]=(((i|0)<0?0-d|0:d)|0)<0?p:f;e=e+1|0;if(e>>>0>2]){continue}break}}c=N[a+300>>2];e=Uh(c,g,a);if(!e){L[c+593|0]=b;L[c+520|0]=0;N[c+16>>2]=0;N[c+448>>2]=0;d=N[g+696>>2];b=N[g+692>>2];N[c+480>>2]=0;N[c+484>>2]=0;N[c+476>>2]=b;N[c+472>>2]=d;e=0;if(b){N[c+372>>2]=b;N[c+364>>2]=d;N[c+368>>2]=0;N[c+360>>2]=2;e=Qa[N[g+708>>2]](c)|0}N[a+308>>2]=e;M[c+304>>1]=0;M[c+296>>1]=0;M[c+298>>1]=16384;M[c+300>>1]=0;M[c+302>>1]=16384;N[c+288>>2]=0;N[c+292>>2]=1073741824;M[c+352>>1]=1;N[c+348>>2]=65537;N[c+308>>2]=1;F(a+180|0,c+288|0,68);N[a+124>>2]=N[c+416>>2];N[a+136>>2]=N[c+428>>2];N[a+148>>2]=N[c+440>>2];N[a+152>>2]=N[c+444>>2];b=N[c+468>>2];N[a+156>>2]=N[c+464>>2];N[a+160>>2]=b;b=N[c+476>>2];N[a+164>>2]=N[c+472>>2];N[a+168>>2]=b;b=N[c+484>>2];N[a+172>>2]=N[c+480>>2];N[a+176>>2]=b}return e}function ed(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=La-16|0;La=g;j=N[a+4>>2];a:{while(1){b:{c:{d:{i=(k<<3)+b|0;if(!N[i>>2]){ld(j);if(N[j+12>>2]>1){break a}e=N[j>>2];f=e-1|0;l=N[j+8>>2];while(1){if(e>>>0>=l>>>0){d=e;break d}d=e+1|0;N[j>>2]=d;m=O[e|0];h=2;e=d;switch(m-10|0){case 0:case 3:break c;case 16:break d;default:continue}}}f=hf(j);N[g+8>>2]=f;if(!f){break a}d=N[j>>2];break b}h=3}N[j+12>>2]=h;N[g+8>>2]=f}h=d-f|0;e=h-1|0;e:{f:{g:{switch(N[i>>2]){case 0:case 1:h:{if((h|0)>0){d=N[a>>2];d=Qa[N[d+4>>2]](d,h)|0;if(d){break h}break f}if((d|0)!=(f|0)){break f}d=0}N[i+4>>2]=d;F(d,f,e);L[e+N[i+4>>2]|0]=0;break e;case 2:n=i,o=Qc(g+8|0,e+f|0,0),N[n+4>>2]=o;break e;case 3:N[g+12>>2]=f;l=e+f|0;h=fd(g+12|0,l,10);d=0;e=N[g+12>>2];i:{if((f|0)==(e|0)){break i}if(!(O[e|0]!=35|e>>>0>=l>>>0)){f=e+1|0;N[g+12>>2]=f;h=fd(g+12|0,l,h);e=N[g+12>>2];if((f|0)==(e|0)){break i}}N[g+8>>2]=e;d=h}N[i+4>>2]=d;break e;case 4:if((e|0)==4){d=bb(f,15452,4)}else{d=1}L[i+4|0]=!d;break e;case 5:break g;default:break e}}d=N[a+12>>2];if(!d){break f}n=i,o=Qa[d|0](f,e,N[a+16>>2])|0,N[n+4>>2]=o;break e}N[i+4>>2]=0}k=k+1|0;if((k|0)!=(c|0)){continue}break}k=c}La=g+16|0;return k}function Nm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=N[a+532>>2];if(!d){return 6}m=-1;k=N[d>>2];a:{if(!k){break a}i=N[d+136>>2];h=N[d+4>>2];b:{if(h){o=b>>>0>h>>>0?h:b;d=h;while(1){g=65536;e=0;c:{if(!d){break c}while(1){d:{if(e>>>0>=o>>>0){g=g>>1;break d}f=N[(e<<2)+c>>2];f=l>>>e&1?f:65536-f|0;if((f|0)<=0){g=0;e=d;break c}if(f>>>0>65535){break d}d=g>>31;d=(d^g)-d|0;e:{if(d+(f>>>8|0)>>>0<=8190){d=T(d,f)+32768>>>16|0;break e}n=d&65535;d=T(n,f>>>16|0)+T(f,d>>>16|0)+(T(f&65535,n)+32768>>>16)|0}g=(g|0)<0?0-d|0:d}d=h;e=e+1|0;if(d>>>0>e>>>0){continue}break}e=h}d=e;e=(l<<2)+i|0;if(N[e>>2]!=(g|0)){N[e>>2]=g;j=1}l=l+1|0;if((l|0)!=(k|0)){continue}break}break b}d=k&3;h=0;if(k>>>0>=4){g=k&-4;while(1){c=e<<2;f=c+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}f=(c|4)+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}f=(c|8)+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}c=(c|12)+i|0;if(N[c>>2]!=65536){N[c>>2]=65536;j=1}e=e+4|0;if((g|0)!=(e|0)){continue}break}}if(!d){break b}while(1){c=(e<<2)+i|0;if(N[c>>2]!=65536){N[c>>2]=65536;j=1}e=e+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(!j){break a}m=0;N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return m|0}function Ii(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;f=La-48|0;La=f;q=N[b+12>>2];m=N[b+4>>2];k=q-m|0;v=k>>31;r=N[b+20>>2];g=r-m|0;n=g>>31;c=UE(k,v,g,n);d=Pa;s=N[b+8>>2];o=N[b>>2];t=s-o|0;u=N[b+16>>2];e=u-o|0;j=e;w=t>>31;p=e>>31;h=UE(t,w,e,p);c=h+c|0;d=Pa+d|0;d=c>>>0>>0?d+1|0:d;a:{b:{h=N[a>>2];e=e>>31;e=(j^e)-e|0;i=g>>31;i=(i^g)-i|0;e=UE(h,h>>31,e>>>0>i>>>0?e:i,0);i=Pa;h=0-(i+((e|0)!=0)|0)|0;if(0-e>>>0>c>>>0&(h|0)>=(d|0)|(d|0)<(h|0)){break b}h=c;c=d;d=UE(g,n,g,n);y=Pa;x=UE(j,p,j,p);l=x+d|0;d=Pa+y|0;d=i+(l>>>0>>0?d+1|0:d)|0;l=e+l|0;d=l>>>0>>0?d+1|0:d;if(h>>>0>l>>>0&(c|0)>=(d|0)|(c|0)>(d|0)){break b}c=UE(j,p,k,v);d=Pa;g=UE(g,n,t,w);j=c-g|0;c=d-(Pa+(c>>>0>>0)|0)|0;k=c;d=c>>31;c=d;g=c^j;d=e>>>0>>0;c=(c^k)-((c>>>0>g>>>0)+c|0)|0;if(d&(i|0)<=(c|0)|(c|0)>(i|0)){break b}b=Gi(a,o,m,u,r);break a}c=q+r|0;N[f+28>>2]=c>>1;d=c;c=m+q|0;N[f+20>>2]=(d+c|0)+2>>2;d=s+u|0;N[f+24>>2]=d>>1;N[f+12>>2]=c>>1;c=o+s|0;N[f+8>>2]=c>>1;N[f+16>>2]=(c+d|0)+2>>2;c=N[b+4>>2];N[f>>2]=N[b>>2];N[f+4>>2]=c;c=N[b+20>>2];N[f+32>>2]=N[b+16>>2];N[f+36>>2]=c;b=0;if(!Ii(a,f)){break a}b=Ii(a,f+16|0)}La=f+48|0;return b}function wg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=La-32|0;La=i;g=N[b+12>>2];h=N[b+8>>2];l=g-h|0;m=l>>3;j=m&1;if(!(O[e|0]|(O[a+8|0]|!j))){a:{if((g|0)==(h|0)){g=0;k=N[b+4>>2];if(!k|N[k>>2]){break a}N[k>>2]=130;break a}b:{switch(N[h+4>>2]-1|0){case 1:g=N[h>>2]<<16;break a;case 0:g=N[h>>2];g=((g>>31)+g|0)- -8192>>14;break a;default:break b}}g=N[h>>2]}N[d>>2]=(N[N[N[a+176>>2]+536>>2]+544>>2]<<16)+g}if(!O[N[a+176>>2]+548|0]){if(l>>>0>=9){while(1){d=N[b+8>>2];g=N[b+12>>2]-d>>3;c:{if(g>>>0<=j>>>0){a=0;h=N[b+4>>2];if(!h|N[h>>2]){break c}N[h>>2]=130;break c}d:{e:{f:{a=d+(j<<3)|0;switch(N[a+4>>2]-1|0){case 0:break e;case 1:break f;default:break d}}a=N[a>>2]<<16;break c}a=N[a>>2];a=((a>>31)+a|0)- -8192>>14;break c}a=N[a>>2]}f=a+f|0;N[i+16>>2]=f;a=j+1|0;g:{if(a>>>0>=g>>>0){a=0;d=N[b+4>>2];if(!d|N[d>>2]){break g}N[d>>2]=130;break g}h:{i:{j:{a=d+(a<<3)|0;switch(N[a+4>>2]-1|0){case 0:break i;case 1:break j;default:break h}}a=N[a>>2]<<16;break g}a=N[a>>2];a=((a>>31)+a|0)- -8192>>14;break g}a=N[a>>2]}N[i+24>>2]=0;N[i+28>>2]=0;L[i+12|0]=0;f=a+f|0;N[i+20>>2]=f;Oo(c,i+12|0);j=j+2|0;if(m>>>0>j>>>0){continue}break}h=N[b+8>>2]}N[b+12>>2]=h}L[e|0]=1;La=i+32|0}function _c(a,b){var c=0,d=0,e=0,f=0;c=N[a+20>>2];if(!(O[a+13|0]?c:0)){d=N[a+16>>2];a=d>>31;c=b>>31;c=(c^b)-c|0;a=(a^d)-a|0;a:{if(c+(a>>>8|0)>>>0<=8190){c=T(a,c)+32768>>>16|0;break a}e=c&65535;c=T(e,a>>>16|0)+T(a,c>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=c;e=0-a|0;a=b>>31|1;return(((d|0)<0?0-a|0:a)|0)<0?e:c}d=N[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){b:{c=d;if((e|0)==(c|0)){c=e;break b}d=c+1|0;if(N[(T(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}c:{d:{if(c){while(1){d=N[(T(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break d}c=c-1|0;if(c){continue}break}}c=0;N[a+24>>2]=0;d=N[a+36>>2];if((d|0)<=(b|0)){break c}f=N[a+40>>2];c=b-d|0;b=c>>31;d=N[a+16>>2];a=d>>31;b=(b^c)-b|0;a=(a^d)-a|0;e:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break e}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=c>>31|1;return f+((((d|0)<0?0-a|0:a)|0)<0?e:b)|0}N[a+24>>2]=c}a=T(c,20)+a|0;f=N[a+40>>2];d=b-d|0;b=d>>31;c=N[a+44>>2];a=c>>31;b=(b^d)-b|0;a=(a^c)-a|0;f:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break f}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=d>>31|1;return f+((((c|0)<0?0-a|0:a)|0)<0?e:b)|0}function dg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:{if(!a){break a}b=P[a+2>>1];c=b<<16>>16;if((c|0)<=0){break a}g=2;if((c|0)==1){break a}j=N[a+4>>2];k=j+(b<<3)|0;b=j+8|0;h=N[j>>2];d=h;e=j;f=N[e+4>>2];c=f;while(1){i=N[e+12>>2];c=(c|0)<(i|0)?i:c;f=(f|0)>(i|0)?i:f;e=N[e+8>>2];d=(e|0)>(d|0)?e:d;h=(e|0)<(h|0)?e:h;e=b;b=b+8|0;if(k>>>0>b>>>0){continue}break}if((d|0)==(h|0)|(c|0)==(f|0)|((c|0)>16777216|(d|0)>16777216)){break a}if((h|0)<-16777216|(f|0)<-16777216){break a}n=M[a>>1];if((n|0)>0){e=0;b=d>>31;d=(b^d)-b|0;b=h>>31;b=17-W(d|(b^h)-b)|0;i=(b|0)>0?b:0;b=17-W(c-f|0)|0;k=(b|0)>0?b:0;q=N[a+12>>2];b=0;while(1){g=M[(m<<1)+q>>1];b:{if((g|0)<(b|0)){b=g+1|0;break b}a=(g<<3)+j|0;c=N[a>>2]>>i;a=N[a+4>>2]>>k;h=g+1|0;c:{if(!(h-b&1)){f=a;a=b;break c}d=c;c=(b<<3)+j|0;f=N[c+4>>2]>>k;c=N[c>>2]>>i;e=T(f-a|0,d+c|0)+e|0;a=b+1|0}if((b|0)!=(g|0)){while(1){o=a+1|0;d=(o<<3)+j|0;b=N[d+4>>2]>>k;l=(a<<3)+j|0;p=N[l+4>>2]>>k;d=N[d>>2]>>i;l=N[l>>2]>>i;e=T(b-p|0,d+l|0)+(T(c+l|0,p-f|0)+e|0)|0;a=a+2|0;c=d;f=b;if((g|0)!=(o|0)){continue}break}}b=h}m=m+1|0;if((n|0)!=(m|0)){continue}break}g=1;if((e|0)>0){break a}g=0;if(e){break a}}g=2}return g}function Bh(a,b,c,d){var e=0,f=0,g=0,h=0;e=N[a+8264>>2];a:{if(e>>>0>b>>>0){f=N[a+68>>2];h=N[a>>2];g=N[h+20>>2];b:{if(g){e=0;if(!(Qa[g|0](h,f,0,0)|0)){break b}break a}e=0;if(f>>>0>Q[h+4>>2]){break a}}g=a+8264|0;N[h+8>>2]=f;e=N[a+40>>2];c:{if(!e){break c}N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[e>>2]=N[e+12>>2]?7:0;f=N[e+20>>2];e=N[f>>2];if((e&-2)==4){Qa[N[a+48>>2]](N[a+52>>2],N[f+12>>2]);e=N[f>>2]}if((e|0)==6){Qa[N[a+48>>2]](N[a+52>>2],N[f+4>>2])}N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;e=N[f+40>>2];N[f+52>>2]=e;N[f+48>>2]=e;e=N[f+56>>2];if(!e){break c}e=Qa[e|0](0,0,0)|0;N[f+60>>2]=e;N[a+60>>2]=e}N[a+8272>>2]=g;N[a+8268>>2]=g;N[a+8264>>2]=0;N[a+28>>2]=0;N[a+12>>2]=a+72;N[a+16>>2]=0;N[a+24>>2]=a+4168;e=0}d:{if(b>>>0>e>>>0){b=b-e|0;e:{while(1){f=N[a+8268>>2];e=N[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;N[a+8268>>2]=e+f;N[a+8264>>2]=e+N[a+8264>>2];b=b-e|0;if(!b){break e}if(!lm(a)){continue}break}return 0}if(d){break d}return 0}if(d){break d}return 0}e=0;while(1){f=N[a+8268>>2];b=N[a+8272>>2]-f|0;b=b>>>0>>0?b:d;F(c,f,b);N[a+8268>>2]=b+N[a+8268>>2];N[a+8264>>2]=b+N[a+8264>>2];e=b+e|0;d=d-b|0;if(!d){break a}c=b+c|0;if(!lm(a)){continue}break}}return e}function ih(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}c=c-a|0;if(c>>>0<4){break a}d=N[b+12>>2];e=d-4|0;N[b+12>>2]=e;if((O[a|0]|O[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<12){break a}c=d-16|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a+6|0]|O[a+7|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<8){break a}d=0;f=La-16|0;La=f;h=N[b+4>>2];e=a+10|0;b:{if(h>>>0>e>>>0){break b}g=N[b+8>>2];if(e>>>0>g>>>0|g-e>>>0<2){break b}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;d=1;if((c|0)<=0){d=0;break b}c=O[e|0]|O[e+1|0]<<8;if(!c){break b}c=((c<<8|c>>>8)&65535)+a|0;c:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break c}d=i-10|0;N[b+12>>2]=d;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<=0){break c}if(!hh(c+2|0,b,c)){break c}N[f+12>>2]=c;d=1;if(gh(c+6|0,b,f+12|0)){break b}}c=N[b+28>>2];if(c>>>0>31){d=0;break b}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;d=1}La=f+16|0;if(!d){break a}c=O[a+6|0]|O[a+7|0]<<8;d=(c<<8|c>>>8)&65535;c=O[a+8|0]|O[a+9|0]<<8;c=T(d,(c<<8|c>>>8)&65535);if(!c){return 1}a=a+12|0;if(a>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|c>>>0>d-a>>>0){break a}a=N[b+12>>2]-c|0;N[b+12>>2]=a;j=(a|0)>0}return j}function Nl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=O[b+3|0];h=d|(O[b+1|0]<<16|O[b|0]<<24|O[b+2|0]<<8);if(h){g=d&3;e=b+7|0;a:{if(h>>>0<4){d=e;break a}i=h-g|0;while(1){f=(O[e+12|0]+(O[e+8|0]+(O[e+4|0]+(O[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;j=j+4|0;if((i|0)!=(j|0)){continue}break}}if(g){while(1){f=(O[d|0]+f|0)+1|0;d=d+4|0;k=k+1|0;if((g|0)!=(k|0)){continue}break}}d=f+1|0}else{d=1}g=N[a+28>>2];b:{c:{if(d>>>0<=g>>>0){c=N[a+32>>2];break c}N[a+36>>2]=c;f=0;if((d|g)<0|(d|0)>536870911){break b}d:{if(!g){c=Qa[N[c+4>>2]](c,d<<2)|0;e=!c<<6;break d}i=N[a+32>>2];e=Qa[N[c+12>>2]](c,g<<2,d<<2,i)|0;c=e?e:i;e=!e<<6}e:{if(!(e|(d|0)<=(g|0)|!c)){C((g<<2)+c|0,0,d-g<<2);N[a+32>>2]=c;break e}N[a+32>>2]=c;if(e){break b}}N[a+28>>2]=d}d=c;if(h){while(1){e=O[b+6|0]|(O[b+5|0]<<8|O[b+4|0]<<16);a=O[b+7|0];f=a+1|0;g=f&7;if(g){i=a+1|0;f=0;while(1){N[d>>2]=e;d=d+4|0;e=e+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}f=i-g|0}if(a>>>0>=7){while(1){N[d>>2]=e;N[d+28>>2]=e+7;N[d+24>>2]=e+6;N[d+20>>2]=e+5;N[d+16>>2]=e+4;N[d+12>>2]=e+3;N[d+8>>2]=e+2;N[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}b=b+4|0;h=h-1|0;if(h){continue}break}}N[d>>2]=0;f=c}return f}function ck(a,b,c,d,e,f){var g=0;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;g=Q[a+16>>2]<4?275552:N[a+12>>2]}a=275552;c:{if((O[g|0]|O[g+1|0]<<8)!=256){break c}b=O[g+4|0]|O[g+5|0]<<8;a=275552;if(!b){break c}a=((b<<8|b>>>8)&65535)+g|0}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>c>>>0){b=(a+T(c,6)|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}d:{if((d|0)==65535){b=O[a|0]|O[a+1|0]<<8;c=238128;if(!b){break d}c=a+((b<<8|b>>>8)&65535)|0;break d}b=O[a+2|0]|O[a+3|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=d>>>0?275552:(a+T(d,6)|0)+4|0;b=O[b+4|0]|O[b+5|0]<<8;c=238128;if(!b){break d}c=a+((b<<8|b>>>8)&65535)|0}a=O[c+2|0]|O[c+3|0]<<8;c=a<<8|a>>>8;d=c&65535;if(e){N[e>>2]=d}if(f){if((a|0)==65535){a=0}else{a=275552;e:{if((O[g|0]|O[g+1|0]<<8)!=256){break e}b=O[g+6|0]|O[g+7|0]<<8;a=275552;if(!b){break e}a=((b<<8|b>>>8)&65535)+g|0}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>(c&65535)>>>0){a=(a+T(d,6)|0)+2|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}N[f>>2]=a}}function ls(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{d=a+8208|0;if(d>>>0<=Q[b+160>>2]){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>N[b+160>>2]-a>>>0|c>>>0<=8207){break a}c=O[a+8204|0]|O[a+8205|0]<<8|(O[a+8206|0]<<16|O[a+8207|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(f>>>0>(N[b+160>>2]-d>>>0)/12>>>0){break a}if(f){g=a+12|0;c=0;while(1){e=c;j=O[d+1|0]<<16|O[d|0]<<24;a=j|(O[d+3|0]|O[d+2|0]<<8);k=O[d+5|0]<<16|O[d+4|0]<<24;c=k|(O[d+7|0]|O[d+6|0]<<8);if(a>>>0>c>>>0|(a>>>0<=e>>>0?h:0)){break a}e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);c:{if(!N[b+164>>2]){break c}l=N[b+172>>2];i=c-a|0;if(l>>>0>>0|l-i>>>0<=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0){break b}e=i+1|0;if(j){if(!e){break c}while(1){if(!(O[(a>>>19|0)+g|0]<<(a>>>16&7)&128)|!(O[(a>>>3&8191)+g|0]<<(a&7)&128)){break a}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(k){break a}if(!e){break c}while(1){if(O[(a>>>3&8191)+g|0]<<(a&7)&128){break a}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,8);B()}function Jp(a,b,c,d){var e=0,f=0,g=0,h=0,i=U(0),j=0;e=O[a|0]|O[a+1|0]<<8;g=(e<<8|e>>>8)&65535;a:{if(g>>>0<=1){if(!e){break a}e=b;b=a+2|0;a=b+(c<<1)|0;a=O[a|0]|O[a+1|0]<<8;c=e-((a<<8|a>>>8)<<16>>16)|0;a=b+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return c+((a<<8|a>>>8)<<16>>16)|0}f=a+2|0;e=f+(c<<1)|0;e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16;if((e|0)>=(b|0)){a=f+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)<<16>>16)+(b-e|0)|0}f=1;h=c<<1;e=g-1|0;b:{if(e>>>0<2){break b}j=a+h|0;while(1){g=j+(f<<2)|0;g=O[g+2|0]|O[g+3|0]<<8;if((g<<8|g>>>8)<<16>>16>=(b|0)){break b}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e}e=(f<<2)+a|0;g=e+2|0;a=g+h|0;a=O[a|0]|O[a+1|0]<<8;f=(a<<8|a>>>8)<<16>>16;if((f|0)<=(b|0)){a=g+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)<<16>>16)+(b-f|0)|0}h=a;e=e-2|0;a=e+(c<<1)|0;a=O[a|0]|O[a+1|0]<<8;if((h|0)==(a|0)){a=e+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}c=(a<<8|a>>>8)<<16>>16;i=U(b-c|0);b=d<<1;a=b+g|0;a=O[a|0]|O[a+1|0]<<8;d=(a<<8|a>>>8)<<16>>16;a=b+e|0;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;i=U(Z(U(U(U(U(i*U(d-a|0))/U(f-c|0))+U(a|0))+U(.5))));if(U(V(i))>2];b=N[N[c+96>>2]+4>>2];c:{if(!b){break c}d=N[b+16>>2];if((d|0)<=0){break c}c=N[N[c+712>>2]+3080>>2];e=b+20|0;b=e+(d<<2)|0;while(1){d=N[e>>2];if(cb(N[N[d>>2]+8>>2],11971)){e=e+4|0;if(b>>>0>e>>>0){continue}break c}break}if(!c){break c}b=N[c>>2];if(b){break b}}e=0;break a}g=Qa[b|0](d)|0;if(!g){e=0;break a}b=N[a>>2];f=N[b+712>>2];c=N[b+100>>2];d=Qa[N[c+4>>2]](c,1028)|0;if(!d){e=64;break a}C(d,0,1028);b=h+12|0;Dm(f+1372|0,b);d:{e=Qa[N[g>>2]](N[N[a>>2]+100>>2],b,d)|0;if(!e){b=N[f+2024>>2];while(1){if(!b){break d}b=b-1|0;e=b<<2;i=h+12|0;Dm(N[(e+f|0)+2028>>2],i);e=Qa[N[g>>2]](N[N[a>>2]+100>>2],i,(d+e|0)+4|0)|0;if(!e){continue}break}}a=N[f+2024>>2];e:{if(!a){break e}b=a;if(b&1){b=a-1|0;f=d+(b<<2)|0;g=N[f+4>>2];if(g){Qa[N[c+8>>2]](c,g)}N[f+4>>2]=0}if((a|0)==1){break e}while(1){a=d+(b<<2)|0;f=N[a>>2];if(f){Qa[N[c+8>>2]](c,f)}N[a>>2]=0;b=b-2|0;a=d+(b<<2)|0;f=N[a+4>>2];if(f){Qa[N[c+8>>2]](c,f)}N[a+4>>2]=0;if(b){continue}break}}a=N[d>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d>>2]=0;Qa[N[c+8>>2]](c,d);break a}N[N[a+40>>2]>>2]=d;N[a+44>>2]=-1;e=0}La=h+208|0;return e|0}function YA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;Tb(a,N[a+8>>2]);g=N[a+8>>2];d=N[a>>2];N[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}b:{c:{d:{e:{f:{e=O[d|0];if((e|0)==91){i=93}else{if((e|0)!=123){break f}i=125}d=d+1|0;N[f+12>>2]=d;if(c){break e}if(d>>>0>=g>>>0){break a}while(1){Tb(f+12|0,g);e=N[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(O[e|0]==(i|0)){break b}Qc(f+12|0,g,0);d=N[f+12>>2];if((d|0)==(e|0)){break d}h=h+1|0;if(d>>>0>>0){continue}break}break a}Tb(f+12|0,g);e=N[f+12>>2];if(!c){break c}if(e>>>0>=g>>>0){d=e;break a}if(!O[e|0]){break b}if((b|0)<=0){d=e;break a}j=c,k=Qc(f+12|0,g,0)>>>16|0,M[j>>1]=k;d=N[f+12>>2];h=(d|0)==(e|0)?-1:1;break a}if(d>>>0>=g>>>0){break a}b=(b|0)>0?b:0;while(1){Tb(f+12|0,g);e=N[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(O[e|0]==(i|0)){break b}if((b|0)==(h|0)){d=e;h=b;break a}j=(h<<1)+c|0,k=Qc(f+12|0,g,0)>>>16|0,M[j>>1]=k;d=N[f+12>>2];if((d|0)==(e|0)){break d}h=h+1|0;if(d>>>0>>0){continue}break}break a}h=-1;d=e;break a}if(e>>>0>=g>>>0){d=e;break a}if(!O[e|0]){break b}Qc(f+12|0,g,0);d=N[f+12>>2];h=(d|0)==(e|0)?-1:1;break a}d=e+1|0}N[a>>2]=d;La=f+16|0;return h|0}function Wi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{g=N[b+4>>2];if(g>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}e=N[b+12>>2];d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[a|0]|O[a+1|0]<<8;j=d<<8|d>>>8;if((j&65535)-3>>>0<4294967294|c>>>0<8){break a}c=e-12|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=a+8|0;e=O[a+6|0]|O[a+7|0]<<8;b:{if(e){e=(e<<8|e>>>8)&65535;l=e>>>0<=1?1:e;while(1){if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<2){break b}e=c-2|0;N[b+12>>2]=e;if((c|0)<3){break b}c=O[d|0]|O[d+1|0]<<8;h=((c<<8|c>>>8)&65535)<<2;c:{if(!c){c=e;break c}c=d+2|0;if(c>>>0>f>>>0|f-c>>>0>>0){break b}c=e-h|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=(h|2)+d|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}i=1;if((j&65535)>>>0<2){break b}if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<4){break a}N[b+12>>2]=c-4;if((c|0)<5){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d:{if(!c){break d}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break d}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;i=0;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}i=Gf(d+4|0,b,a)}return i}return 0}function gg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-16|0;La=h;N[h>>2]=a;g=N[c+20>>2];e=g+((Qa[N[c+12>>2]](h)>>>0)%Q[c+4>>2]<<2)|0;f=N[e>>2];a:{if(!f){break a}while(1){if(Qa[N[c+16>>2]](f,h)|0){break a}e=e-4|0;if(g>>>0>e>>>0){e=(g+(N[c+4>>2]<<2)|0)-4|0}f=N[e>>2];if(f){continue}break}}b:{c:{d:{g=N[e>>2];e:{if(!g){f=64;g=Qa[N[d+4>>2]](d,8)|0;if(!g){break b}N[e>>2]=g;N[g+4>>2]=b;N[g>>2]=a;f:{if(Q[c+8>>2]>2]){break f}i=N[c+4>>2];a=i<<1;N[c+4>>2]=a;N[c>>2]=(a>>>0)/3;f=0;if((a|0)<0){f=6;break c}g=N[c+20>>2];if(a){f=10;if(a>>>0>536870911){break c}a=i<<3;f=Qa[N[d+4>>2]](d,a)|0;if(!f){break d}C(f,0,a)}N[c+20>>2]=f;if(i){b=0;a=g;while(1){e=N[a>>2];if(e){N[h+8>>2]=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=N[c+20>>2];e=f+((Qa[N[c+12>>2]](h+8|0)>>>0)%Q[c+4>>2]<<2)|0;while(1){g:{j=N[e>>2];if(!j){break g}if(Qa[N[c+16>>2]](j,h+8|0)|0){break g}e=e-4|0;if(f>>>0<=e>>>0){continue}e=(f+(N[c+4>>2]<<2)|0)-4|0;continue}break}N[e>>2]=N[a>>2]}a=a+4|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(!g){break f}Qa[N[d+8>>2]](d,g)}N[c+8>>2]=N[c+8>>2]+1;break e}N[g+4>>2]=b}f=0;break b}N[c+20>>2]=0;f=64;break b}N[c+20>>2]=0}La=h+16|0;return f}function Zg(a,b,c,d){var e=0,f=0,g=U(0),h=0,i=0;a:{b:{c:{e=O[a+4|0]|O[a+5|0]<<8;e=e<<8|e>>>8;f=e&65535;if(f-1>>>0>=3){if((f|0)!=32768){break a}e=O[c+6|0]|O[c+7|0]<<8;f=(e<<8|e>>>8)&65535;e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0>a>>>0){break c}g=U(0);break b}c=N[b+72>>2];if(!c){break a}d=O[a|0]|O[a+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>c>>>0){break a}f=O[a+2|0]|O[a+3|0]<<8;if(c>>>0>((f<<8|f>>>8)&65535)>>>0){break a}f=a;d=c-d|0;a=e&65535;e=4-a|0;f=f+(d>>>e<<1)|0;f=O[f+6|0]|O[f+7|0]<<8;f=((f<<8|f>>>8)&65535)>>>((d^-1|-1<>>(-1<>>0>=d>>>1>>>0?d:0;if((a|0)==(d|0)){break a}b=N[b+28>>2];a=a-d|0;return VE(UE(b,b>>31,a,a>>31),Pa,c,0)}a=(a<<2)+c|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}f=e>>>8&65280|e>>>24;h=N[b+88>>2];i=N[b+84>>2];e=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}g=Fc(a,f,h,i,c,d)}g=U(Z(U(U(g*R[b+44>>2])+U(.5))));if(U(V(g))>>8;f=e&65535;if(f-1>>>0>=3){if((f|0)!=32768){break a}e=O[c+6|0]|O[c+7|0]<<8;f=(e<<8|e>>>8)&65535;e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0>a>>>0){break c}g=U(0);break b}c=N[b+76>>2];if(!c){break a}d=O[a|0]|O[a+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>c>>>0){break a}f=O[a+2|0]|O[a+3|0]<<8;if(c>>>0>((f<<8|f>>>8)&65535)>>>0){break a}f=a;d=c-d|0;a=e&65535;e=4-a|0;f=f+(d>>>e<<1)|0;f=O[f+6|0]|O[f+7|0]<<8;f=((f<<8|f>>>8)&65535)>>>((d^-1|-1<>>(-1<>>0>=d>>>1>>>0?d:0;if((a|0)==(d|0)){break a}b=N[b+32>>2];a=a-d|0;return VE(UE(b,b>>31,a,a>>31),Pa,c,0)}a=(a<<2)+c|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}f=e>>>8&65280|e>>>24;h=N[b+88>>2];i=N[b+84>>2];e=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}g=Fc(a,f,h,i,c,d)}g=U(Z(U(U(g*R[b+48>>2])+U(.5))));if(U(V(g))>2]=0;d=N[a+32>>2];if(!d){N[a+40>>2]=0;N[a+32>>2]=160;d=160}if(!N[a+36>>2]){N[a+36>>2]=161}c=Qa[d|0](N[a+40>>2],1,24)|0;N[a+28>>2]=c;d=-4;if(!c){break a}N[c+20>>2]=0;N[c+12>>2]=b>>>31;d=b>>31;e=(d^b)-d|0;if(e>>>0<=7){Vf(a);return-2}N[c+16>>2]=e;b:{c=Qa[N[a+32>>2]](N[a+40>>2],1,64)|0;if(c){f=Qa[N[a+32>>2]](N[a+40>>2],8,1440)|0;N[c+36>>2]=f;d=N[a+40>>2];if(f){e=1<>2]](d,1,e)|0;N[c+40>>2]=d;if(d){break b}Qa[N[a+36>>2]](N[a+40>>2],N[c+36>>2]);d=N[a+40>>2]}Qa[N[a+36>>2]](d,c)}N[N[a+28>>2]+20>>2]=0;Vf(a);return-4}b=(b|0)>=0;f=b?162:0;N[c+56>>2]=f;N[c+52>>2]=d;N[c+28>>2]=0;N[c+32>>2]=0;N[c>>2]=0;N[c+48>>2]=d;N[c+44>>2]=d+e;d=0;if(b){b=Qa[f|0](0,0,0)|0;N[c+60>>2]=b;N[a+48>>2]=b;d=N[c>>2]}b=N[a+28>>2];N[b+20>>2]=c;N[a+8>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[b>>2]=N[b+12>>2]?7:0;if((d&-2)==4){Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);d=N[c>>2]}if((d|0)==6){Qa[N[a+36>>2]](N[a+40>>2],N[c+4>>2])}N[c+28>>2]=0;N[c+32>>2]=0;N[c>>2]=0;b=N[c+40>>2];N[c+52>>2]=b;N[c+48>>2]=b;b=N[c+56>>2];d=0;if(!b){break a}b=Qa[b|0](0,0,0)|0;N[c+60>>2]=b;N[a+48>>2]=b;d=0}return d}function uf(a,b){var c=0,d=0,e=0;a:{b:{c:{switch(a-247|0){default:if((a|0)!=28){break b}a=N[b+8>>2];c=N[b+4>>2];d:{if(a>>>0>=c>>>0){a=c+1|0;N[b+8>>2]=a;e=275552;break d}e=N[b>>2]+a|0}e=O[e|0]<<8;d=a+1|0;e:{if(d>>>0>=c>>>0){a=c+1|0;c=275552;break e}c=d+N[b>>2]|0}d=b+16|0;e=e|O[c|0];c=N[b+20>>2];f:{if(c>>>0<=512){N[b+20>>2]=c+1;c=(d+(c<<3)|0)+8|0;break f}L[d|0]=1;N[147456]=0;N[147457]=0;c=589824}S[c>>3]=e<<16>>16;N[b+8>>2]=a+2;return;case 0:case 1:case 2:case 3:c=b+16|0;e=a<<8;a=N[b+8>>2];d=N[b+4>>2];g:{if(a>>>0>=d>>>0){a=d+1|0;d=275552;break g}d=N[b>>2]+a|0}d=(e+O[d|0]|0)+2412&65535;break a;case 4:case 5:case 6:case 7:break c}}c=b+16|0;e=(a<<16)-16449536>>>8|0;a=N[b+8>>2];d=N[b+4>>2];h:{if(a>>>0>=d>>>0){a=d+1|0;d=275552;break h}d=N[b>>2]+a|0}d=-108-(e|O[d|0])|0;break a}if(a-32>>>0<=214){d=a-139|0;a=b+16|0;c=N[b+20>>2];i:{if(c>>>0<=512){N[b+20>>2]=c+1;a=(a+(c<<3)|0)+8|0;break i}L[a|0]=1;N[147456]=0;N[147457]=0;a=589824}S[a>>3]=d|0;return}N[b+20>>2]=0;N[b+8>>2]=N[b+4>>2]+1;return}e=N[b+20>>2];j:{if(e>>>0<=512){N[b+20>>2]=e+1;c=((e<<3)+c|0)+8|0;break j}L[c|0]=1;N[147456]=0;N[147457]=0;c=589824}S[c>>3]=d|0;N[b+8>>2]=a+1}function jC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:{if(!d){break a}if(!e){while(1){a=a+8|0;i=i+8|0;if(i>>>0>>0){continue}break a}}while(1){j=0;g=a;while(1){h=j<<5&32;f=M[c>>1];L[g|0]=P[h+440528>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+2>>1];L[g+1|0]=P[h+440530>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+4>>1];L[g+2|0]=P[h+440532>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+6>>1];L[g+3|0]=P[h+440534>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+8>>1];L[g+4|0]=P[h+440536>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+10>>1];L[g+5|0]=P[h+440538>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+12>>1];L[g+6|0]=P[h+440540>>1]+(f-(f>>>8|0)|0)>>>6;f=P[h+440542>>1];h=M[c+14>>1];L[g+7|0]=f+(h-(h>>>8|0)|0)>>>6;c=c+16|0;g=b+g|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}a=a+8|0;i=i+8|0;if(i>>>0>>0){continue}break}}b:{if(!e){break b}c=d+7&-8;if((c|0)==(b|0)){break b}c=b-c|0;d=c>>>0<=1?1:c;if(e-1>>>0>=7){g=e&-8;c=0;while(1){C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;c=c+8|0;if((g|0)!=(c|0)){continue}break}}e=e&7;if(!e){break b}c=0;while(1){C(a,0,d);a=a+b|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}}function Fz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a=N[b+108>>2];if(a){if(N[a>>2]){_a(N[a+80>>2]);Rc(N[a>>2]);oc(N[a+40>>2])}if(N[a+4>>2]){_a(N[a+84>>2]);Rc(N[a+4>>2]);oc(N[a+44>>2])}if(N[a+8>>2]){_a(N[a+88>>2]);Rc(N[a+8>>2]);oc(N[a+48>>2])}if(N[a+12>>2]){_a(N[a+92>>2]);Rc(N[a+12>>2]);oc(N[a+52>>2])}if(N[a+16>>2]){_a(N[a+96>>2]);Rc(N[a+16>>2]);oc(N[a+56>>2])}if(N[a+20>>2]){_a(N[a+100>>2]);Rc(N[a+20>>2]);oc(N[a+60>>2])}if(N[a+24>>2]){_a(N[a+104>>2]);Rc(N[a+24>>2]);oc(N[a- -64>>2])}if(N[a+28>>2]){_a(N[a+108>>2]);Rc(N[a+28>>2]);oc(N[a+68>>2])}if(N[a+32>>2]){_a(N[a+112>>2]);Rc(N[a+32>>2]);oc(N[a+72>>2])}if(N[a+36>>2]){_a(N[a+116>>2]);Rc(N[a+36>>2]);oc(N[a+76>>2])}_a(a)}c=N[b+112>>2];if((c|0)>0){while(1){f=N[((h<<2)+b|0)+68>>2];a:{if(!f){break a}d=N[f+96>>2];if(!d){break a}e=N[f+128>>2];a=N[e+64>>2];N[e+64>>2]=a-1;if((a|0)>1){break a}a=N[d+16>>2];if(!a){break a}g=d+16|0;e=N[d+8>>2];while(1){if(N[a+8>>2]!=(f|0)){a=N[a+4>>2];if(a){continue}break a}break}c=N[a>>2];i=c?c+4|0:g;g=N[a+4>>2];N[i>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,a);ic(e,f,d);c=N[b+112>>2]}h=h+1|0;if((h|0)<(c|0)){continue}break}}_a(N[b>>2])}function Oi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=La+-64|0;La=e;a:{if(!d){b=6;break a}g=N[b+4>>2];m=N[b>>2];N[e>>2]=m;N[e+4>>2]=g;h=N[b+8>>2];f=N[b+12>>2];i=N[b+16>>2];j=N[b+20>>2];k=N[b+24>>2];l=N[b+28>>2];N[e+52>>2]=l;b=j;l=b+l|0;N[e+44>>2]=(l|0)/2;b=f;f=j+b|0;j=f+l|0;N[e+36>>2]=(j|0)/4;b=b+g|0;f=b+f|0;N[e+20>>2]=(f|0)/4;N[e+28>>2]=(f+j|0)/8;f=h+m|0;N[e+8>>2]=(f|0)/2;N[e+48>>2]=k;k=i+k|0;N[e+40>>2]=(k|0)/2;h=h+i|0;i=h+f|0;N[e+16>>2]=(i|0)/4;N[e+12>>2]=(b|0)/2;b=h+k|0;N[e+32>>2]=(b|0)/4;N[e+24>>2]=(b+i|0)/8;if((c|0)>=3){c=c>>>1|0;b=Oi(a,e,c,d);if(b){break a}b=Oi(a,e+24|0,c,d);break a}b=64;c=Qa[N[a+4>>2]](a,40)|0;if(!c){break a}N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;a=Qa[N[a+4>>2]](a,40)|0;if(!a){break a}N[a+16>>2]=0;N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[c>>2]=m;N[c+4>>2]=g;b=N[e+24>>2];g=N[e+28>>2];N[c+32>>2]=1;N[c+8>>2]=b;N[c+12>>2]=g;N[a>>2]=b;N[a+4>>2]=g;b=N[e+48>>2];g=N[e+52>>2];N[a+32>>2]=1;N[a+8>>2]=b;N[a+12>>2]=g;N[c+36>>2]=a;N[a+36>>2]=N[d>>2];N[d>>2]=c;b=0}La=e- -64|0;return b}function Xn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=La-16|0;La=m;g=O[a|0];a:{if(!g){f=a;break a}f=a;b:{while(1){j=g<<24>>24;if(!((j|0)==32|j-9>>>0<5)){break b}g=O[f+1|0];f=f+1|0;if(g){continue}break}break a}c:{g=g&255;switch(g-43|0){case 0:case 2:break c;default:break a}}k=(g|0)==45?-1:0;f=f+1|0}d:{if(!((c|16)!=16|O[f|0]!=48)){n=1;if((O[f+1|0]&223)==88){f=f+2|0;j=16;break d}f=f+1|0;j=c?c:8;break d}j=c?c:10}c=0;while(1){e:{g=-48;i=L[f|0];f:{if((i-48&255)>>>0<10){break f}g=-87;if((i-97&255)>>>0<26){break f}g=-55;if((i-65&255)>>>0>25){break e}}i=g+i|0;if((i|0)>=(j|0)){break e}hb(m,j,0,0,0,l,h,0,0);g=1;g:{if(N[m+8>>2]|N[m+12>>2]){break g}o=UE(l,h,j,0);p=Pa;if((p|0)==-1&(i^-1)>>>0>>0){break g}h=p;l=i+o|0;h=l>>>0>>0?h+1|0:h;n=1;g=c}f=f+1|0;c=g;continue}break}if(b){N[b>>2]=n?f:a}h:{i:{j:{if(c){N[147316]=68;a=d&1;k=a?0:k;l=d;h=e;break j}if((e|0)==(h|0)&d>>>0>l>>>0|e>>>0>h>>>0){break i}a=d&1}if(!(a|k)){N[147316]=68;a=d;d=a-1|0;e=e-!a|0;break h}if((e|0)==(h|0)&d>>>0>=l>>>0|e>>>0>h>>>0){break i}N[147316]=68;break h}a=k^l;d=a-k|0;b=k>>31;e=(b^h)-((a>>>0>>0)+b|0)|0}La=m+16|0;Pa=e;return d}function He(a){var b=0,c=0,d=U(0),e=0,f=0,g=U(0),h=0,i=U(0),j=U(0),k=0;c=N[a+24>>2];b=N[c+28>>2];if(!b){e=c;c=ae(c+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;b=c-16>>>0>=16369?1e3:c;N[e+28>>2]=b}e=N[a+28>>2];i=U(e|0);g=U(b>>>0);R[a+44>>2]=i/g;c=N[a+32>>2];j=U(c|0);R[a+48>>2]=j/g;b=0-c|0;f=b>>31<<16|b>>>16;b=b<<16;h=(c|0)<0;d=U(U(+((h?0-b|0:c<<16)>>>0)+ +((h?0-(((b|0)!=0)+f|0)|0:c>>>16|0)|0)*4294967296)/g);a:{if(U(V(d))=U(1)?~~(d>U(0)?U(X(U(Z(U(d*U(2.3283064365386963e-10)))),U(4294967296))):U(_(U(U(d-U(~~d>>>0>>>0))*U(2.3283064365386963e-10)))))>>>0:0;b=~~d>>>0;break a}f=-2147483648;b=0}N[a+64>>2]=b;N[a+68>>2]=f;b=0-e|0;f=b>>31<<16|b>>>16;b=b<<16;h=0-b|0;b=0-(((b|0)!=0)+f|0)|0;f=e>>>16|0;k=e<<16;e=(e|0)<0;d=U(U(+((e?h:k)>>>0)+ +((e?b:f)|0)*4294967296)/g);b:{if(U(V(d))=U(1)?~~(d>U(0)?U(X(U(Z(U(d*U(2.3283064365386963e-10)))),U(4294967296))):U(_(U(U(d-U(~~d>>>0>>>0))*U(2.3283064365386963e-10)))))>>>0:0;e=~~d>>>0;break b}b=-2147483648;e=0}N[a+56>>2]=e;N[a+60>>2]=b;R[a+40>>2]=c?U(U(R[a+36>>2]*i)/j):U(0);N[a+112>>2]=0;N[a+116>>2]=0}function Wd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La+-64|0;La=c;d=N[b+4>>2]-N[a+108>>2]|0;g=N[b>>2]-N[a+104>>2]|0;h=N[a+48>>2];e=0-h|0;a:{if(!((g|0)<=(e|0)|(g|0)>=(h|0)|(d|0)<=(e|0))){e=1;if((d|0)<(h|0)){break a}}f=S[a+40>>3]*+(d|0);i=S[a+32>>3]*+(0-g|0);j=1/aa(f*f+i*i);S[c+48>>3]=i*j;S[c+40>>3]=f*j;d=N[a+104>>2];g=N[a+108>>2];h=N[c+52>>2];N[c+24>>2]=N[c+48>>2];N[c+28>>2]=h;N[c+32>>2]=d;N[c+36>>2]=g;d=N[c+44>>2];N[c+16>>2]=N[c+40>>2];N[c+20>>2]=d;e=0;if(!ye(a,c+32|0,c+16|0,3)){break a}N[a+60>>2]=N[a+60>>2]&-4;k=N[a+108>>2];f=S[a+88>>3]*S[a+24>>3];b:{if(V(f)<2147483648){d=~~f;break b}d=-2147483648}f=S[a+80>>3];g=N[a+104>>2];i=S[a+16>>3];h=d;N[c+60>>2]=d+k;f=f*i;c:{if(V(f)<2147483648){d=~~f;break c}d=-2147483648}N[c+56>>2]=d+g;l=N[a>>2];e=N[c+60>>2];N[c+8>>2]=N[c+56>>2];N[c+12>>2]=e;e=0;if(!Fb(l,c+8|0,1)){break a}N[c+60>>2]=k-h;N[c+56>>2]=g-d;d=N[a+4>>2];g=N[c+60>>2];N[c>>2]=N[c+56>>2];N[c+4>>2]=g;e=0;if(!Fb(d,c,1)){break a}d=N[c+44>>2];N[a+80>>2]=N[c+40>>2];N[a+84>>2]=d;d=N[c+52>>2];N[a+88>>2]=N[c+48>>2];N[a+92>>2]=d;d=N[b+4>>2];N[a+104>>2]=N[b>>2];N[a+108>>2]=d;e=1}La=c- -64|0;return e}function lA(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;j=N[b+712>>2];C(a,0,780);N[a+8>>2]=d;N[a+4>>2]=b;L[a+65|0]=1;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;l=N[b+32>>2];i=b- -64|0;N[i>>2]=N[b+28>>2];N[i+4>>2]=l;N[b+88>>2]=N[b+52>>2];i=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=i;i=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=i;i=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=i;N[a+68>>2]=0;N[a+72>>2]=0;if(!c|!e){break a}b=N[N[c+40>>2]>>2];if(!b){break a}N[a+72>>2]=N[b>>2];N[a+68>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+108>>2]=j;b=N[73600];N[a+76>>2]=N[73599];N[a+80>>2]=b;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73602];N[a+84>>2]=N[73601];N[a+88>>2]=b;b=N[73604];N[a+92>>2]=N[73603];N[a+96>>2]=b;b=N[73606];N[a+100>>2]=N[73605];N[a+104>>2]=b;b=N[j+120>>2];N[a+732>>2]=b;N[a+748>>2]=N[j+1352>>2];b:{if(N[j+1416>>2]==1){break b}k=107;if(b>>>0<1240){break b}k=b>>>0<33900?1131:32768}N[a+776>>2]=h;N[a+772>>2]=g;N[a+760>>2]=f;N[a+740>>2]=k}function Vo(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;N[d>>2]=0;if(!(!(e|f)|(a|0)<655)){o=d;p=(e|0)/2|0;if(f){i=N[g+24>>2];j=N[g>>2];k=N[g+4>>2];f=c+e|0;e=f>>31;e=(e^f)-e|0;c=a>>31;c=(c^a)-c|0;a:{if(e+(c>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break a}d=e&65535;c=T(d,c>>>16|0)+T(c,e>>>16|0)+(T(d,c&65535)+32768>>>16)|0}d=(f|0)<0?0-c|0:c;if(W(d)+W(b)>>>0<=16){c=i<<16}else{e=c;c=c>>31;c=(e^c)-c|0;e=b>>31;e=(e^b)-e|0;b:{if(c+(e>>>8|0)>>>0<=8190){e=T(c,e)+32768>>>16|0;break b}f=c&65535;e=T(f,e>>>16|0)+T(e,c>>>16|0)+(T(f,e&65535)+32768>>>16)|0}c=e;f=0-c|0;c=d>>31|1;c=(((b|0)<0?0-c|0:c)|0)<0?f:e}e=j<<16;c:{if((c|0)<(e|0)){b=fb(k<<16,b);break c}n=N[g+28>>2];l=N[g+20>>2];f=N[g+16>>2];m=N[g+12>>2];d:{e:{f:{h=N[g+8>>2];g=h<<16;g:{if((c|0)<(g|0)){c=fb(e,b);if((h|0)==(j|0)){break g}b=jb(d-c|0,m-k|0,h-j|0)+fb(k<<16,b)|0;break c}e=f<<16;if((e|0)<=(c|0)){break f}}c=fb(g,b);if((f|0)==(h|0)){break e}b=jb(d-c|0,l-m|0,f-h|0)+fb(m<<16,b)|0;break c}g=e;if((c|0)>=i<<16){break d}}c=fb(g,b);if((f|0)==(i|0)){break d}b=jb(d-c|0,n-l|0,i-f|0)+fb(l<<16,b)|0;break c}b=fb(n<<16,b)}a=fb(b,a<<1)}else{a=0}N[o>>2]=p+a}}function Yn(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{c:{b=N[a+4>>2];d:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break d}b=Db(a)}switch(b-43|0){case 0:case 2:break c;default:break b}}f=(b|0)==45;b=N[a+4>>2];e:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break e}b=Db(a)}e=b-58|0;break a}e=b-58|0}if(e>>>0>=4294967286){e=b-48|0;if(e>>>0<10){while(1){d=(T(d,10)+b|0)-48|0;c=(d|0)<214748364;b=N[a+4>>2];f:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break f}b=Db(a)}e=b-48|0;if(c&e>>>0<=9){continue}break}c=d>>31}g:{if(e>>>0>=10){break g}while(1){d=UE(d,c,10,0);b=d+b|0;c=Pa;c=b>>>0>>0?c+1|0:c;d=b-48|0;c=c-(b>>>0<48)|0;b=N[a+4>>2];h:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break h}b=Db(a)}e=b-48|0;if(e>>>0>9){break g}if(d>>>0<2061584302&(c|0)<=21474836|(c|0)<21474836){continue}break}}if(e>>>0<10){while(1){b=N[a+4>>2];i:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break i}b=Db(a)}if(b-48>>>0<10){continue}break}}b=N[a+116>>2];if((b|0)>0|(b|0)>=0){N[a+4>>2]=N[a+4>>2]-1}Pa=f?0-(((d|0)!=0)+c|0)|0:c;return f?0-d|0:d}b=N[a+116>>2];if((b|0)>0|(b|0)>=0){N[a+4>>2]=N[a+4>>2]-1}Pa=-2147483648;return 0}function xE(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d:{e:{f:{b=N[a+96>>2];if((b|0)>=0){c=N[a+100>>2];d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=536870911){c=$a(N[a+104>>2],b<<3);if(c){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break d}N[a+96>>2]=b;N[a+104>>2]=c;c=N[a+100>>2]}if(c>>>0>>0){C(N[a+104>>2]+(c<<3)|0,0,d-c<<3)}N[a+100>>2]=d;c=(N[a+104>>2]+(d<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1}function ak(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!(O[b|0]|O[b+1|0]<<8|(O[b+2|0]|O[b+3|0]<<8))){break a}c=N[a+168>>2];N[a+168>>2]=c+1;if(c>>>0>500){break a}e=b-N[a>>2]|0;f=e>>>9|0;g=N[a+96>>2];b:{c:{d:{h=N[a+92>>2];c=N[a+84>>2];if(h>>>0<=c>>>0){break d}c=(c<<3)+g|0;if(N[c>>2]!=(f|0)){break d}d=c+4|0;break c}c=0;if((h|0)<=0){break b}c=h-1|0;e:{while(1){d=c+i>>>1|0;j=N[(d<<3)+g>>2];f:{if((j|0)>(f|0)){c=d-1|0;break f}if((f|0)==(j|0)){break e}i=d+1|0}if((c|0)>=(i|0)){continue}break}c=0;break b}N[a+84>>2]=d;d=(d>>>0>=h>>>0?275552:(d<<3)+g|0)+4|0}f=N[a+108>>2];c=0;if(!f){break b}c=(f+(N[d>>2]<<6)|0)+(e>>>3&56)|0;g=N[c>>2];f=N[c+4>>2];d=e&63;c=d&31;c=(d>>>0>=32?f>>>c|0:((1<>>c)&1}if((c|0)!=O[a+112|0]){break a}tc(a- -64|0,e);c=O[b|0]|O[b+1|0]<<8;if(c){$j(a,((c<<8|c>>>8)&65535)+b|0)}d=b+2|0;c=O[d|0]|O[d+1|0]<<8;if(!c){break a}c=(c<<8|c>>>8)&65535;f=c>>>0<=1?1:c;c=0;while(1){e=O[d|0]|O[d+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=c>>>0?275552:(d+T(c,6)|0)+2|0;e=O[e+4|0]|O[e+5|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+b|0}else{e=238128}$j(a,e);c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function qi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(O[N[a+88>>2]+32|0]&32){break a}b:{while(1){f=b;while(1){d=O[f|0];if(!((d|0)!=32&(d|0)!=9)){f=f+1|0;continue}break}while(1){h=O[c|0];if(!((h|0)!=32&(h|0)!=9)){c=c+1|0;continue}break}if(!(!d|!h)){g=f;while(1){b=d&255;if(!(!b|(b|0)==44)){d=O[g+1|0];g=g+1|0;continue}break}b=((b|0)==44)+g|0;i=c;while(1){if(!(!h|(h|0)==44)){h=O[i+1|0];i=i+1|0;continue}break}c:{if(f>>>0>=g>>>0){break c}while(1){d=g-1|0;e=O[d|0];if((e|0)!=32&(e|0)!=9){break c}g=d;if(d>>>0>f>>>0){continue}break}g=f}d=i;d:{if(d>>>0<=c>>>0){break d}while(1){e=d-1|0;j=O[e|0];if((j|0)!=32&(j|0)!=9){break d}d=e;if(d>>>0>c>>>0){continue}break}d=c}if((g-f|0)==5){e=bb(f,11926,5);g=e?g:15918;f=e?f:15914}e=d-c|0;e:{if((e|0)!=5){d=c;break e}e=d;d=bb(c,11926,5);e=d?e:15918;d=d?c:15914;e=e-d|0}if((g-f|0)!=(e|0)){break b}c=((h|0)==44)+i|0;i=f+e|0;while(1){f:{j=O[O[d|0]+25936|0];g=O[f|0];e=O[g+25936|0];f=f+1|0;if(!g|i>>>0<=f>>>0){break f}d=d+1|0;if((e|0)==(j|0)){continue}}break}if((e|0)==(j|0)){continue}break b}break}if((d|0)==(h|0)){break a}}mb(N[a+84>>2],4,22405,0);N[a+60>>2]=1}}function Kj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];d=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((d|0)==-1){break a}c=275552;f=O[a+4|0]|O[a+5|0]<<8;d=d>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((d<<1)+a|0)+6|0;d=O[d|0]|O[d+1|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}a=O[c|0]|O[c+1|0]<<8;if(!a){break a}f=(a<<8|a>>>8)&65535;d=c+2|0;while(1){a=O[d|0]|O[d+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}e=O[a|0]|O[a+1|0]<<8;g=(e<<8|e>>>8)&65535;h=a+4|0;a=O[a+2|0]|O[a+3|0]<<8;e=Qe(b,g,h,(a<<8|a>>>8)&65535,(e?(g<<1)-2|0:0)+h|0,246,0);if(e){break a}d=d+2|0;f=f-1|0;if(f){continue}break}break a}return $g(a,b,0)}c=O[a+6|0]|O[a+7|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];if((vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2])|0)==-1){break a}d=b;b=O[a+2|0]|O[a+3|0]<<8;b=(b<<8|b>>>8)&65535;c=O[a+4|0]|O[a+5|0]<<8;e=Qe(d,b,a+8|0,(c<<8|c>>>8)&65535,(a+6|0)+(b<<1)|0,247,a)}return e}function sc(a,b,c){var d=0,e=0,f=0,g=0;e=N[a+16>>2];d=N[e+24>>2];g=Qa[N[e>>2]](b,198405332,-1276876204)|0;f=(d+7&-8)+32|0;a:{b:{d=N[a+4>>2];RE(g,Pa,N[a>>2],0);Pa=Oa;g=Na;d=N[d+(g<<2)>>2];if(d){while(1){if(Qa[N[e+4>>2]](b,d+f|0)|0){if(!N[d+24>>2]){break b}f=N[d+20>>2];c:{d:{if(f){c=N[d+16>>2];if(!c){break c}N[c+20>>2]=f;N[N[d+20>>2]>>2]=c;break d}N[d+28>>2]=N[d+28>>2]+1}N[N[a+12>>2]>>2]=d;N[d+20>>2]=N[a+12>>2];N[a+12>>2]=d+16;N[d+16>>2]=0}N[a+24>>2]=N[a+24>>2]+1;Qa[N[e+8>>2]](0,b)|0;N[d+28>>2]=N[d+28>>2]+1;return d+32|0}d=N[d+8>>2];if(d){continue}break}}N[a+28>>2]=N[a+28>>2]+1;d=kb(f+N[e+20>>2]|0);if(!d){Qa[N[e+8>>2]](0,b)|0;return 0}N[d+4>>2]=e;N[d>>2]=a;f=d+f|0;if(!(Qa[N[e+8>>2]](f,b)|0)){_a(d);return 0}b=f;f=d+32|0;b=Qa[N[e+12>>2]](b,f,c)|0;N[d+24>>2]=b;if(!b){break a}c=N[a+4>>2]+(g<<2)|0;e=N[c>>2];if(e){N[e+12>>2]=d+8}N[d+12>>2]=c;N[d+8>>2]=N[c>>2];N[c>>2]=d;N[N[a+12>>2]>>2]=d;N[d+20>>2]=N[a+12>>2];N[a+12>>2]=d+16;N[d+28>>2]=2;N[d+16>>2]=0;N[a+20>>2]=N[a+20>>2]+(b+(((b|0)!=1)<<5)|0);N[a+32>>2]=N[a+32>>2]+1;return f}ba(15298,18290,361,9541);B()}ba(15298,18290,396,9541);B()}function kv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=N[c>>2];d=Qa[N[f+4>>2]](f,24)|0;if(!d){return 64}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;a:{h=a+4|0;if(h>>>0>b>>>0){break a}g=O[a|0];L[d+4|0]=g;e=O[a+1|0]|O[a+2|0]<<8;M[d+6>>1]=e<<8|e>>>8;e=O[a+3|0];L[d+5|0]=e;j=N[c+148>>2];k=N[c+4>>2];i=e&1;e=(e>>>1&1)+(i?5:3)|0;N[d+8>>2]=e;N[d+12>>2]=(h+k|0)-j;if(T(e,g)+h>>>0>b>>>0){break a}if(g){b:{if(i){a=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[d+16>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=T(e,g-1|0)+h|0;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b}N[d+16>>2]=O[a+5|0]|O[a+4|0]<<16;a=T(e,g-1|0)+h|0;a=O[a|0]<<16|O[a+1|0]}N[d>>2]=0;N[d+20>>2]=a;N[N[c+140>>2]>>2]=d;N[c+140>>2]=d;N[c+132>>2]=N[c+132>>2]+g;return 0}Qa[N[f+8>>2]](f,d);return 0}Qa[N[f+8>>2]](f,d);return 8}function nn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}e=N[a+16>>2];if((e|0)<=0){break a}c=a+20|0;d=c+(e<<2)|0;while(1){if(N[c>>2]==(b|0)){N[a+16>>2]=e-1;a=d-4|0;if(a>>>0>c>>>0){while(1){N[c>>2]=N[c+4>>2];c=c+4|0;if(a>>>0>c>>>0){continue}break}}N[a>>2]=0;h=N[b+8>>2];e=N[b>>2];a=e;d=N[b+4>>2];b:{if(!d){break b}if(N[d+160>>2]==(b|0)){N[d+160>>2]=0}if(!(O[e|0]&2)){break b}c=N[d+148>>2];if(!c){break b}g=d+148|0;a=N[d>>2];c:{while(1){if(N[c+8>>2]==(b|0)){break c}c=N[c+4>>2];if(c){continue}break}a=e;break b}f=N[b+52>>2];if(f){Qa[N[N[N[b+12>>2]+56>>2]+20>>2]](f)}f=N[c>>2];i=f?f+4|0:g;g=N[c+4>>2];N[i>>2]=g;N[(g?g:d+152|0)>>2]=f;Qa[N[a+8>>2]](a,c);c=N[d+148>>2];d:{if(c){while(1){a=N[c+8>>2];if(N[a+16>>2]==1869968492){break d}c=N[c+4>>2];if(c){continue}break}}a=0}N[d+156>>2]=a;a=N[b>>2]}e:{if(!(L[a|0]&1)){break e}d=N[b+8>>2];if(!d){break e}c=N[b+16>>2];if(c){while(1){a=N[c+4>>2];ic(d,N[c+8>>2],b);Qa[N[d+8>>2]](d,c);c=a;if(c){continue}break}}N[b+16>>2]=0;N[b+20>>2]=0}a=N[e+28>>2];if(a){Qa[a|0](b)}Qa[N[h+8>>2]](h,b);break a}c=c+4|0;if(d>>>0>c>>>0){continue}break}}}function FD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=N[a+20>>2];L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;d=N[b+96>>2];e=N[d+24>>2];f=N[b+100>>2];d=N[d+12>>2];if(d){d=N[d+4>>2]}else{d=0}g=Qa[e|0](b,f,c,d)|0;if(g){a:{b:{b=N[a+20>>2];if(b){b=N[b+28>>2];d=N[a+28>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=N[c+8>>2];break a}a=c+8|0;b=N[c+8>>2];break a}e=d>>31;a=N[c>>2];f=b>>31;h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h>>2]=i;a=N[c+4>>2];h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h+4>>2]=i;a=c+8|0;c=N[c+8>>2];b=VE(UE(d,e,c,c>>31),Pa,b,f)}N[a>>2]=b}return g|0}function Ee(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;f=N[a>>2];N[h+12>>2]=f;a:{if(b>>>0<=f>>>0){break a}b:{c:{d:{e:{f:{g=O[f|0];if((g|0)==91){j=93}else{if((g|0)!=123){break f}j=125}f=f+1|0;N[h+12>>2]=f;if(d){break e}if(b>>>0<=f>>>0){break a}while(1){Tb(h+12|0,b);g=N[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(O[g|0]==(j|0)){break b}Qc(h+12|0,b,e);f=N[h+12>>2];if((f|0)==(g|0)){break d}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}Tb(h+12|0,b);g=N[h+12>>2];if(!d){break c}if(b>>>0<=g>>>0){f=g;break a}if(!O[g|0]){break b}if((c|0)<=0){f=g;break a}k=d,l=Qc(h+12|0,b,e),N[k>>2]=l;f=N[h+12>>2];i=(f|0)==(g|0)?-1:1;break a}if(b>>>0<=f>>>0){break a}c=(c|0)>0?c:0;while(1){Tb(h+12|0,b);g=N[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(O[g|0]==(j|0)){break b}if((c|0)==(i|0)){f=g;i=c;break a}k=(i<<2)+d|0,l=Qc(h+12|0,b,e),N[k>>2]=l;f=N[h+12>>2];if((f|0)==(g|0)){break d}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}i=-1;f=g;break a}if(b>>>0<=g>>>0){f=g;break a}if(!O[g|0]){break b}Qc(h+12|0,b,e);f=N[h+12>>2];i=(f|0)==(g|0)?-1:1;break a}f=g+1|0}N[a>>2]=f;La=h+16|0;return i}function yk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=a+2|0;a:{if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(Lb(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;c:{if(!c){break c}if(td(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+6|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;if(!d){return 1}f=a+8|0;if(c>>>0>>0){break a}d=(d<<8|d>>>8)&65535;g=d<<1;if(g>>>0>c-f>>>0){break a}c=e-g|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=d>>>0<=1?1:d;d=0;while(1){h=uk(((d<<1)+a|0)+8|0,b,a);if(!h){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function GD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=N[a+20>>2];L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;d=N[b+96>>2];e=N[d+20>>2];f=N[b+100>>2];d=N[d+12>>2];if(d){d=N[d>>2]}else{d=0}g=Qa[e|0](b,f,c,d)|0;if(g){a:{b:{b=N[a+20>>2];if(b){b=N[b+32>>2];d=N[a+32>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=N[c+8>>2];break a}a=c+8|0;b=N[c+8>>2];break a}e=d>>31;a=N[c>>2];f=b>>31;h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h>>2]=i;a=N[c+4>>2];h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h+4>>2]=i;a=c+8|0;c=N[c+8>>2];b=VE(UE(d,e,c,c>>31),Pa,b,f)}N[a>>2]=b}return g|0}function _e(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=La-1312|0;La=g;f=N[a+4>>2];i=N[f+492>>2];j=N[i+12>>2];h=N[N[f+128>>2]+52>>2];k=N[f+452>>2];e=a+1388|0;N[e>>2]=N[f+448>>2];N[e+4>>2]=k;e=N[f+444>>2];N[a+1380>>2]=N[f+440>>2];N[a+1384>>2]=e;e=N[f+460>>2];N[a+1396>>2]=N[f+456>>2];N[a+1400>>2]=e;a:{b:{if(!h){e=b<<2;N[c>>2]=N[e+N[f+428>>2]>>2];N[c+4>>2]=N[e+N[f+432>>2]>>2];break b}e=Qa[N[N[h>>2]>>2]](N[h+4>>2],b,c)|0;if(e){break a}}c:{if(O[a+70|0]){e=Qa[N[j+8>>2]](a,N[c>>2],N[c+4>>2])|0;break c}e=g+656|0;Qa[N[i+24>>2]](e,a,1);k=f;l=f+168|0;f=g+4|0;Qa[N[i+28>>2]](k,l,f);N[g+1192>>2]=f;e=Qa[N[j+12>>2]](e,N[c>>2],N[c+4>>2])|0;if((e&255)!=164){break c}L[N[a+8>>2]+160|0]=0;L[d|0]=1;e=Qa[N[j+12>>2]](g+656|0,N[c>>2],N[c+4>>2])|0}if(e|!h){break a}d=N[N[h>>2]+8>>2];if(!d){e=0;break a}c=N[a+32>>2];N[g+8>>2]=0;N[g+4>>2]=(c+(c>>31)|0)+32768>>16;c=N[a+40>>2];N[g+12>>2]=((c>>31)+c|0)+32768>>16;c=N[a+44>>2];N[g+16>>2]=((c>>31)+c|0)+32768>>16;e=Qa[d|0](N[h+4>>2],b,0,g+4|0)|0;N[a+32>>2]=N[g+4>>2]<<16;N[a+40>>2]=N[g+12>>2]<<16;N[a+44>>2]=N[g+16>>2]<<16}La=g+1312|0;return e}function Zc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=a;e=La-208|0;La=e;N[e+8>>2]=1;N[e+12>>2]=0;i=T(b,c);a:{if(!i){break a}N[e+16>>2]=c;N[e+20>>2]=c;b=c;g=b;f=2;while(1){a=b;b=(c+g|0)+b|0;N[(e+16|0)+(f<<2)>>2]=b;f=f+1|0;g=a;if(b>>>0>>0){continue}break}g=(h+i|0)-c|0;b:{if(g>>>0<=h>>>0){g=0;f=1;i=0;b=1;a=0;break b}f=1;b=1;while(1){c:{if((f&3)==3){hi(h,c,d,b,e+16|0);ng(e+8|0,2);b=b+2|0;break c}a=b-1|0;d:{if(Q[(e+16|0)+(a<<2)>>2]>=g-h>>>0){mg(h,c,d,f,N[e+12>>2],b,0,e+16|0);break d}hi(h,c,d,b,e+16|0)}if((b|0)==1){lg(e+8|0,1);b=0;break c}lg(e+8|0,a);b=1}a=N[e+8>>2];f=a|1;N[e+8>>2]=f;h=c+h|0;if(g>>>0>h>>>0){continue}break}i=a>>>0>1;g=N[e+12>>2];a=(g|0)!=0}j=0-c|0;mg(h,c,d,f,g,b,0,e+16|0);if(!(i|(b|0)!=1|a)){break a}while(1){e:{if((b|0)<=1){a=bo(f,g);ng(e+8|0,a);g=N[e+12>>2];f=N[e+8>>2];a=a+b|0;break e}f=e+8|0;lg(f,2);N[e+8>>2]=N[e+8>>2]^7;ng(f,1);g=h+j|0;i=e+16|0;a=b-2|0;mg(g-N[i+(a<<2)>>2]|0,c,d,N[e+8>>2],N[e+12>>2],b-1|0,1,i);lg(f,1);f=N[e+8>>2]|1;N[e+8>>2]=f;b=g;g=N[e+12>>2];mg(b,c,d,f,g,a,1,i)}b=a;h=h+j|0;if(g|((b|0)!=1|(f|0)!=1)){continue}break}}La=e+208|0}function Fo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{b:{c:{if(b){e=N[b>>2];if(e){break c}}break b}g=N[b+8>>2];if(g){if(e>>>0>=536870912){break b}i=kb(e<<3);N[a+16>>2]=i;j=kb(g);N[a+20>>2]=j;if(!(j?i:0)){break a}N[a+12>>2]=g;N[a+4>>2]=e;e=0;N[a+8>>2]=0;N[a>>2]=0;g=N[b>>2];if(g){m=N[b+16>>2];n=S[c- -64>>3];o=S[c+56>>3];p=S[c+40>>3];q=S[c+32>>3];r=S[c+48>>3];s=S[c+24>>3];t=S[c+16>>3];u=S[c+8>>3];v=S[c>>3];while(1){c=e<<3;f=c+m|0;d=+N[f>>2];k=+N[f+4>>2];h=n+(r*d+o*k);h=h>.1?1/h:10;d:{l=(t+(v*d+u*k))*h;if(V(l)<268435455){d=h*(p+(s*d+q*k));if(V(d)<268435455){break d}}break a}c=c+i|0;d=XE(d);e:{if(V(d)<2147483648){f=~~d;break e}f=-2147483648}N[c+4>>2]=f;d=XE(l);f:{if(V(d)<2147483648){f=~~d;break f}f=-2147483648}N[c>>2]=f;e=e+1|0;if((g|0)!=(e|0)){continue}break}}c=N[b+20>>2];b=N[b+8>>2];F(j,c,b);N[a+8>>2]=b;N[a>>2]=g;return}ba(10189,18249,45,17699);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;return}_a(i);_a(j);N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function OB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-272|0;La=h;f=N[b+4>>2];b=N[b>>2];d=N[a>>2];e=N[a+4>>2];N[h+12>>2]=e<<2;N[h+8>>2]=d<<2;j=f<<2;N[h+4>>2]=j;g=b<<2;N[h>>2]=g;l=N[c+200>>2];N[h+16>>2]=l;a=N[c+204>>2];N[h+20>>2]=a;b=e>>6;a:{b:{k=f>>6;i=N[c+168>>2];c:{d:{if((k|0)<(i|0)){f=a>>8;break d}f=a>>8;if((b|0)<(i|0)){break d}if((f|0)>=(i|0)){break c}}i=N[c+164>>2];if((i|0)<=(k|0)|(b|0)>=(i|0)|(f|0)>=(i|0)){break b}}N[c+204>>2]=j;N[c+200>>2]=g;break a}b=h;f=1;g=(g-(d<<3)|0)+l|0;d=g>>31;e=a+(j-(e<<3)|0)|0;a=e>>31;d=(d^g)-d|0;a=(a^e)-a|0;a=a>>>0>>0?d:a;if(a>>>0>=65){while(1){f=f<<1;d=a>>>0>259;a=a>>>2|0;if(d){continue}break}}while(1){d=N[b>>2];a=0-f&f;if(a>>>0>=2){while(1){e=N[b+16>>2];N[b+32>>2]=e;j=N[b+20>>2];N[b+36>>2]=j;k=d;d=N[b+8>>2];g=k+d|0;N[b+8>>2]=g>>1;d=d+e|0;N[b+24>>2]=d>>1;d=d+g>>2;N[b+16>>2]=d;e=N[b+12>>2];g=e+N[b+4>>2]|0;N[b+12>>2]=g>>1;e=e+j|0;N[b+28>>2]=e>>1;N[b+20>>2]=e+g>>2;b=b+16|0;e=a>>>0>3;a=a>>1;if(e){continue}break}}Ti(c,d,N[b+4>>2]);b=b-16|0;f=f-1|0;if(f){continue}break}}La=h+272|0;return 0}function Zo(a){var b=0,c=0,d=0;if(a){b=N[a+116>>2];a:{if(!b){break a}c=N[b+44>>2]-1|0;N[b+44>>2]=c;if(c){break a}while(1){c=N[b+28>>2];tb(N[b+36>>2]);d=N[b+40>>2];if(d){_a(N[d-4>>2])}_a(b);b=c;if(b){continue}break}}b=N[a+120>>2];b:{if(!b){break b}c=N[b+44>>2]-1|0;N[b+44>>2]=c;if(c){break b}while(1){c=N[b+28>>2];tb(N[b+36>>2]);d=N[b+40>>2];if(d){_a(N[d-4>>2])}_a(b);b=c;if(b){continue}break}}b=N[a+852>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+848>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+844>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+856>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+200>>2];_a(N[b+40>>2]);_a(N[b+16>>2]);_a(N[b+52>>2]);_a(N[b+20>>2]);_a(N[b+24>>2]);_a(N[b+28>>2]);_a(b);b=N[a+840>>2];dd(b);_a(N[b+4>>2]);_a(b);_a(N[a+224>>2]);_a(N[a+228>>2]);b=N[a+252>>2];if(b){_a(N[b-4>>2])}b=N[a+8>>2];if(b){c=N[b+36>>2];if(c){xe(c)}c=N[b+40>>2];if(c){xe(c)}_a(N[b+32>>2]);_a(N[b+16>>2]);_a(N[b+12>>2]);_a(b)}b=N[a+4>>2];if(b){dq(b)}_a(N[a+124>>2]);_a(N[a+776>>2]);_a(N[a+780>>2]);_a(N[a+784>>2]);_a(N[a+792>>2]);_a(N[a+800>>2]);_a(N[a+100>>2]);_a(N[a+104>>2]);_a(N[a+980>>2]);_a(a)}}function zp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=T(c,1348)+a|0;i=N[g+56>>2];j=N[(T(c,7676)+b|0)+44>>2];e=j>>31;h=(e^j)-e|0;l=h>>>8|0;e=Q[b+40>>2]/40|0;a:{if(l+e>>>0<=8190){e=T(e,h)+32768>>>16|0;break a}d=e&65535;e=T(d,h>>>16|0)+T(e>>>16|0,h)+(T(d,h&65535)+32768>>>16)|0}b:{if((i|0)<=0){break b}d=T(c,7676)+b|0;b=N[d+260>>2];if(!b){break b}g=N[g- -64>>2];s=g+T(i,44)|0;e=(j|0)<0?0-e|0:e;e=(e|0)>=32?32:e;t=T(c,1348)+a|0;u=d+264|0;v=h&65535;w=h>>>16|0;c=1;while(1){a=0;c:{if(!c){break c}c=0;a=e;i=0;while(1){d=T(c,28)+u|0;f=N[d+24>>2];if(!(!(f&1)|(f&2)>>>1^N[t+68>>2]!=L[g+13|0])){f=M[g>>1];m=N[d>>2];n=f-m|0;o=n>>31;p=N[d+12>>2];q=f-p|0;r=q>>31;x=d+12|0;k=d;d=(o^n)-o>>>0>(r^q)-r>>>0;k=d?x:k;f=f-(d?p:m)|0;d=f>>31;d=(d^f)-d|0;d:{if(d+l>>>0<=8190){d=T(d,h)+32768>>>16|0;break d}f=d&65535;d=T(f,w)+T(d>>>16|0,h)+(T(f,v)+32768>>>16)|0}f=(j|0)<0?0-d|0:d;d=(f|0)<(a|0);i=d?k:i;a=d?f:a}c=c+1|0;if(b>>>0>c>>>0){continue}break}a=b;if(!i){break c}N[g+20>>2]=i;a=b}c=a;g=g+44|0;if(s>>>0>g>>>0){continue}break}}}function Vs(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=3;a:{if((d|e)<0){break a}h=N[a+8>>2];i=N[a+12>>2];m=P[i+2>>1];if(Q[h+4>>2]>>0){break a}l=P[i>>1];if(Q[h>>2]>>0){break a}j=T(m,O[a+18|0]);if((T(l,j)+7>>>3|0)+b>>>0>c>>>0){break a}f=0;if(!j|!l){break a}n=d&7;a=8-n|0;k=a>>>0>j>>>0?j:a;p=(255<>2];h=N[h+12>>2]+(T(o,e)+(d>>>3|0)|0)|0;m=j-k|0;e=0;d=l;while(1){i=d;b:{if(!n){a=b;f=j;d=h;break b}c:{if((i|0)==(l|0)){e=O[b|0];g=n;a=b+1|0;break c}if((g|0)<(k|0)){g=(g-k|0)+8|0;if(b>>>0>=c>>>0){a=b}else{e=O[b|0]|e;a=b+1|0}break c}g=g-k|0;e=(e&65280)>>>8|0;a=b}L[h|0]=O[h|0]|(e&65535)>>>g&p;e=e<<8;f=m;d=h+1|0}if((f|0)>=8){while(1){b=O[a|0]|e;L[d|0]=O[d|0]|(b&65535)>>>g;d=d+1|0;a=a+1|0;e=b<<8;b=f>>>0>15;f=f-8|0;if(b){continue}break}}d:{if((f|0)>0){if((f|0)>(g|0)){if(a>>>0>>0){e=O[a|0]|e;a=a+1|0}L[d|0]=O[d|0]|(e&65535)>>>g&65280>>>f;e=e<<8;g=(g-f|0)+8|0;break d}L[d|0]=O[d|0]|65280>>>f&(e&65535)>>>g;g=g-f|0}}b=a;h=h+o|0;d=i-1|0;if((i|0)>1){continue}break}f=0}return f|0}function Yr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{c:{if(Q[b+160>>2]>=a+4>>>0){c=O[a+3|0]|O[a+2|0]<<8;if(c>>>0<518){break a}j=a+c|0;if(j>>>0>Q[b+160>>2]){break a}c=a+6|0;while(1){d=O[c+1|0];if(d&7?Q[b+164>>2]>=2:0){break a}f=O[c+3|0];if(f&7?Q[b+164>>2]>=2:0){break a}f=(f|O[c+2|0]<<8)>>>3|0;d=(d|O[c|0]<<8)>>>3|0;g=d>>>0>g>>>0?d:g;g=g>>>0>>0?f:g;c=c+4|0;h=h+2|0;if((h|0)!=256){continue}break}c=a+518|0;f=(c+(g<<3)|0)+8|0;if(f>>>0>Q[b+160>>2]){break a}a=0;while(1){h=a;a=c+8|0;d=O[c+3|0]|O[c+2|0]<<8;d:{if(!d){c=a;break d}e=O[c+6|0];k=O[c+7|0];l=O[c+4|0];m=O[c+5|0];i=O[c|0];n=O[c+1|0];if(Q[b+164>>2]>=2){i=i<<8|n;if(i>>>0>255|d>>>0>256-i>>>0){break a}}e=k|e<<8;if(!e){c=a;break d}e=e+(c+6|0)|0;if(e>>>0>>0){break c}d=d<<1;if(d+e>>>0>j>>>0){break c}if(!N[b+164>>2]){c=a;break d}e=l<<8|m;d=(c+d|0)+8|0;c=a;while(1){a=O[c+1|0]|O[c|0]<<8;if(Q[b+172>>2]<=(a+e&65535)>>>0?a:0){break b}c=c+2|0;if(d>>>0>c>>>0){continue}break}}a=h+1|0;if((g|0)!=(h|0)){continue}break}return 0}break a}Pb(b,9);B()}Pb(b,16);B()}Pb(b,8);B()}function Ue(a,b,c,d,e){N[a+8>>2]=c;N[a+4>>2]=b;N[a>>2]=0;c=N[c+24>>2];N[a+48>>2]=0;N[a+52>>2]=0;N[a+16>>2]=d;N[a+12>>2]=c;N[a+20>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;L[a+44|0]=0;N[a+64>>2]=275552;L[a+60|0]=0;N[a+56>>2]=65536;b=N[c+140>>2];a:{if(b){break a}while(1){b=N[c+48>>2];if(!b){b=275552;break a}d=db(1,4);if(!d){b=275552;N[c+140>>2]=275552;break a}b=Of(d,b);if(!N[c+140>>2]){N[c+140>>2]=b;break a}ab(N[b>>2]);_a(b);b=N[c+140>>2];if(!b){continue}break}}b=N[b>>2];b=b?b:275552;c=N[b+12>>2];b=N[b+16>>2];N[a+72>>2]=0;N[a+68>>2]=b>>>0<4?275552:c;b:{c:{d:{if(!e){break d}b=N[e>>2];if(!b){break d}if((b|0)<=0){break c}N[e>>2]=b+1}N[a+52>>2]=e;L[a+44|0]=0;b=N[a+12>>2];c=N[b+32>>2];if((c|0)==-1){d=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;c=(b<<8|b>>>8)&65535;N[d+32>>2]=c;e=N[a+52>>2]}L[a+60|0]=1;N[a+56>>2]=c;b=N[e+12>>2];N[a+24>>2]=b;c=b;b=N[e+16>>2];N[a+28>>2]=c+b;if((b|0)<0){break b}N[a+20>>2]=0;N[a+48>>2]=0;N[a+40>>2]=0;N[a+32>>2]=1073741823;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function Xl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=-31;a:{b:{c:{d:{e:{f:{switch(N[a+552>>2]){case 2:g=N[c>>2];break d;case 0:e=N[b+4>>2];g:{if((e|0)!=32){f=N[b>>2];break g}e=N[b+12>>2];if(!e){return 2}f=N[b>>2]>>>8|0;N[b>>2]=f;d=N[b+8>>2];g=O[d|0];N[b+12>>2]=e-1;N[b+8>>2]=d+1;e=24;f=f|g<<24;N[b>>2]=f}d=e+1|0;N[b+4>>2]=d;if(f>>>e&1){break e}N[c>>2]=0;return 1;case 1:break f;default:break c}}d=N[b+4>>2]}h:{if(d-30>>>0>=3){e=N[b>>2];break h}e=N[b+12>>2];if(!e){break b}f=N[b>>2]>>>8|0;N[b>>2]=f;g=N[b+8>>2];h=O[g|0];N[b+12>>2]=e-1;N[b+8>>2]=g+1;e=f|h<<24;N[b>>2]=e;d=d-8|0}N[b+4>>2]=d+3;g=e>>>d&7;if(!g){N[c>>2]=1;N[a+552>>2]=0;return 1}N[c>>2]=g}f=N[b+4>>2];i:{if(32-f>>>0>=g>>>0){h=N[b>>2];break i}d=N[b+12>>2];e=f;while(1){if(!d){break a}h=N[b>>2]>>>8|0;N[b>>2]=h;i=N[b+8>>2];j=O[i|0];d=d-1|0;N[b+12>>2]=d;f=e-8|0;N[b+4>>2]=f;N[b+8>>2]=i+1;h=h|j<<24;N[b>>2]=h;i=40-e|0;e=f;if(g>>>0>i>>>0){continue}break}}N[b+4>>2]=f+g;d=1;N[c>>2]=(N[(g<<2)+169392>>2]&h>>>f)+(1<>2]);N[a+552>>2]=0}return d}N[a+552>>2]=1;return 2}N[a+552>>2]=2;return 2}function Cu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a=N[a+12>>2];h=a+4280|0;a:{b:{c:{f=N[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=N[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){N[a+4280>>2]=b;N[a+4284>>2]=e-f;break c}e=N[a>>2];g=N[e+20>>2];if(g){f=0;if(Qa[g|0](e,0,0,0)|0){break a}}N[e+8>>2]=0;N[a+104>>2]=0;N[a+48>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;L[a+44|0]=0;N[a- -64>>2]=9;N[a+4288>>2]=h;N[a+4284>>2]=h;N[a+4280>>2]=0;f=0}if(b>>>0<=f>>>0){break c}g=N[a+4284>>2];i=N[a+4288>>2]-g|0;e=b-f|0;b=e>>>0>i>>>0?i:e;N[a+4284>>2]=b+g;N[a+4280>>2]=b+f;b=e-b|0;if(b){g=a+12|0;while(1){f=0;e=b>>>0>=4096?4096:b;if(jm(g,0,e)>>>0>>0){break a}N[h>>2]=e+N[h>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}e=a+184|0;i=a+12|0;h=N[a+4284>>2];b=N[a+4288>>2];f=0;while(1){b=b-h|0;b=b>>>0>>0?b:d;F(c+f|0,h,b);N[a+4284>>2]=b+N[a+4284>>2];N[a+4280>>2]=b+N[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}N[a+4284>>2]=e;g=jm(i,e,4096);h=N[a+4284>>2];b=g+h|0;N[a+4288>>2]=b;if(g){continue}break}}return f|0}function Ve(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=La-32|0;f=N[a+68>>2];if(f>>>0>=2){i=N[a+80>>2];e=f-1|0;while(1){b=T(e,20)+i|0;N[c+24>>2]=N[b+16>>2];d=N[b+12>>2];N[c+16>>2]=N[b+8>>2];N[c+20>>2]=d;d=N[b+4>>2];N[c+8>>2]=N[b>>2];N[c+12>>2]=d;d=T(g,20)+i|0;N[b+16>>2]=N[d+16>>2];h=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=h;h=N[d+4>>2];N[b>>2]=N[d>>2];N[b+4>>2]=h;N[d+16>>2]=N[c+24>>2];b=N[c+20>>2];N[d+8>>2]=N[c+16>>2];N[d+12>>2]=b;b=N[c+12>>2];N[d>>2]=N[c+8>>2];N[d+4>>2]=b;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}a:{if(!O[a+63|0]){break a}b=N[a+68>>2];b=b>>>0>>0?b:f;if(b>>>0<2){break a}d=N[a+88>>2];e=b-1|0;g=0;while(1){a=d+T(e,20)|0;N[c+24>>2]=N[a+16>>2];b=N[a+12>>2];N[c+16>>2]=N[a+8>>2];N[c+20>>2]=b;b=N[a+4>>2];N[c+8>>2]=N[a>>2];N[c+12>>2]=b;b=d+T(g,20)|0;N[a+16>>2]=N[b+16>>2];f=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=f;f=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=f;N[b+16>>2]=N[c+24>>2];a=N[c+20>>2];N[b+8>>2]=N[c+16>>2];N[b+12>>2]=a;a=N[c+12>>2];N[b>>2]=N[c+8>>2];N[b+4>>2]=a;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}}function Pc(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){F(a,b,c);return a}f=a+c|0;a:{if(!((a^b)&3)){e=a&3;d=a;b:{if(!e){break b}d=a;if(!c){break b}c=a+1|0;c=(a^-1)+(c>>>0>>0?f:c)|0;d=e^3;c=(c>>>0>>0?c:d)+1|0;F(a,b,c);b=b+c|0;d=a+c|0}c=d;d=f&-4;c:{if(d>>>0<64){break c}e=d+-64|0;if(e>>>0>>0){break c}while(1){N[c>>2]=N[b>>2];N[c+4>>2]=N[b+4>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=N[b+12>>2];N[c+16>>2]=N[b+16>>2];N[c+20>>2]=N[b+20>>2];N[c+24>>2]=N[b+24>>2];N[c+28>>2]=N[b+28>>2];N[c+32>>2]=N[b+32>>2];N[c+36>>2]=N[b+36>>2];N[c+40>>2]=N[b+40>>2];N[c+44>>2]=N[b+44>>2];N[c+48>>2]=N[b+48>>2];N[c+52>>2]=N[b+52>>2];N[c+56>>2]=N[b+56>>2];N[c+60>>2]=N[b+60>>2];b=b- -64|0;c=c- -64|0;if(e>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}e=c+4|0;d=((c^-1)+(d>>>0>e>>>0?d:e)&-4)+4|0;F(c,b,d);b=b+d|0;c=c+d|0;break a}if(f>>>0<4){c=a;break a}d=f-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){L[c|0]=O[b|0];L[c+1|0]=O[b+1|0];L[c+2|0]=O[b+2|0];L[c+3|0]=O[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){F(c,b,f-c|0)}return a}function io(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-16|0;La=g;b=N[a+84>>2];N[g>>2]=N[N[a+88>>2]+16>>2];mb(b,6,18351,g);a:{i=N[a+88>>2];b=N[i+16>>2];e=b&3;b:{if((e|0)==1){mb(N[a+84>>2],1,15329,0);break b}d=b>>>2|0;j=(T(d,3)+(e>>>0<=1?1:e)|0)-1|0;f=kb(j);if(!f){f=0;break b}c=N[i+8>>2];c:{if(b>>>0<4){b=f;break c}l=d>>>0<=1?1:d;d=0;b=f;while(1){m=O[c|0];h=O[c+1|0];k=(O[c+2|0]+31&63)<<6;L[b+2|0]=k|O[c+3|0]+31&63;h=(h+31&63)<<12;L[b+1|0]=(h|k)>>>8;L[b|0]=(h|m<<18)+8126464>>>16;c=c+4|0;b=b+3|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}d:{e:{f:{switch(e-2|0){case 1:e=O[c+2|0];d=O[c|0]<<18;c=(O[c+1|0]+31&63)<<12;L[b|0]=(d|c)+8126464>>>16;c=(c|(e+31&60)<<6)>>>8|0;d=2;e=b+1|0;break e;case 0:break f;default:break d}}c=((O[c+1|0]+31&48)<<12|(O[c|0]+31&255)<<18)>>>16|0;d=1;e=b}L[e|0]=c;b=b+d|0}if((b-f|0)!=(j|0)){break a}b=N[a+84>>2];if(!N[b+4>>2]){break b}Ji(b,N[i+4>>2],f,j)}_a(f);a=N[a+88>>2];_a(N[a+4>>2]);_a(N[a+8>>2]);N[a+12>>2]=0;N[a+16>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;La=g+16|0;return}ba(21855,18016,1077,9028);B()}function hk(a,b,c){var d=0,e=0;N[a+116>>2]=N[a+116>>2]|1<<(b>>>4);N[a+120>>2]=N[a+120>>2]|1<>2]=N[a+124>>2]|1<<(b>>>9);d=N[a+160>>2];if((d|0)!=-1){e=N[a+96>>2];L[(N[e+80>>2]+T(N[e+64>>2],20)|0)+15|0]=d}d=N[a+96>>2];e=N[d+80>>2]+T(N[d+64>>2],20)|0;d=P[e+12>>1]|80;a:{if(O[a+148|0]){d=Uc(N[a+104>>2],b)|d&112;break a}if(!c){break a}d=d&112|c}M[e+12>>1]=d;b:{c:{a=N[a+96>>2];c=N[a+72>>2]+1|0;d:{if(!(!c|c>>>0>2])){if(!gb(a,c)){break d}}c=N[a+84>>2];e:{if((c|0)!=N[a+80>>2]){break e}d=N[a+72>>2];if(Q[a+64>>2]>=d+1>>>0){break e}if(!O[a+62|0]){break c}e=N[a+88>>2];N[a+84>>2]=e;d=T(d,20);if(!d){break e}F(e,c,d)}c=N[a+64>>2];d=N[a+68>>2];if(c>>>0>d>>>0){break b}f:{if(c>>>0>>0){d=N[a+80>>2]+T(c,20)|0;e=N[a+72>>2];c=N[a+84>>2];break f}c=N[a+84>>2];e=N[a+72>>2];d=e-1|0;d=c+T(d>>>0<=e>>>0?d:0,20)|0}c=T(e,20)+c|0;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;N[c+16>>2]=N[d+16>>2];e=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=e;N[c>>2]=b;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function Bs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{if(!O[a+24|0]){g=N[b>>2];break e}g=N[b>>2];if((g|0)!=N[a+28>>2]){break e}Ll(a);if(!O[a+24|0]){return 0}d=a+28|0;break d}c=N[a+16>>2];d=O[c+12|0]|O[c+13|0]<<8|(O[c+14|0]<<16|O[c+15|0]<<24);h=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!h|(g|0)==-1){break a}l=c+16|0;i=g+1|0;c=h;f:{g:{while(1){d=c+j>>>1|0;e=T(d,12)+l|0;f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<=i>>>0){if(g>>>0>>0){break g}j=d+1|0}else{c=d}if(c>>>0>j>>>0){continue}break}c=0;break f}c=e;c=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}f=N[a>>2];if(g>>>0>=k>>>0){e=0;d=d+1|0;if((h|0)==(d|0)){break a}}N[a+36>>2]=d;N[a+28>>2]=i;L[a+24|0]=1;d=a+28|0;if(c>>>0>2]?c:0){break c}Ll(a);if(O[a+24|0]){break d}c=0;break b}c=N[a+32>>2];break b}N[a+32>>2]=c}e=c;N[b>>2]=N[d>>2]}return e|0}function kp(a,b){var c=0,d=0,e=0;c=N[a+32>>2];d=N[a+28>>2];if(d){if(d&1){e=N[c+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=c+16|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){d=N[c+8>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[c+24>>2];if(d){Qa[N[b+8>>2]](b,d)}d=c+16|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;c=c+32|0;e=e-2|0;if(e){continue}break}}c=N[a+32>>2]}if(c){Qa[N[b+8>>2]](b,c)}N[a+24>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;c=N[a+20>>2];d=N[a+16>>2];if(d){if(d&1){e=N[c+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=c+16|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){d=N[c+8>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[c+24>>2];if(d){Qa[N[b+8>>2]](b,d)}d=c+16|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;c=c+32|0;e=e-2|0;if(e){continue}break}}c=N[a+20>>2]}if(c){Qa[N[b+8>>2]](b,c)}N[a+12>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;e=N[a+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function Oe(a,b){var c=0,d=0,e=0;N[a+116>>2]=N[a+116>>2]|1<<(b>>>4);N[a+120>>2]=N[a+120>>2]|1<>2]=N[a+124>>2]|1<<(b>>>9);c=N[a+160>>2];if((c|0)!=-1){d=N[a+96>>2];L[(N[d+80>>2]+T(N[d+64>>2],20)|0)+15|0]=c}c=N[a+96>>2];d=N[c+80>>2]+T(N[c+64>>2],20)|0;c=P[d+12>>1]|16;if(O[a+148|0]){c=Uc(N[a+104>>2],b)|c&112}M[d+12>>1]=c;a:{b:{c=N[a+96>>2];a=N[c+72>>2]+1|0;c:{if(!(!a|a>>>0>2])){if(!gb(c,a)){break c}}a=N[c+84>>2];d:{if((a|0)!=N[c+80>>2]){break d}d=N[c+72>>2];if(d+1>>>0<=N[c+64>>2]+1>>>0){break d}if(!O[c+62|0]){break b}e=N[c+88>>2];N[c+84>>2]=e;d=T(d,20);if(!d){break d}F(e,a,d)}d=N[c+68>>2];a=N[c+64>>2];if(d>>>0>>0){break a}e:{if(a>>>0>>0){d=N[c+72>>2];e=N[c+84>>2];a=N[c+80>>2]+T(a,20)|0;break e}e=N[c+84>>2];d=N[c+72>>2];a=d-1|0;a=e+T(a>>>0<=d>>>0?a:0,20)|0}d=T(d,20)+e|0;e=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=e;N[d+16>>2]=N[a+16>>2];e=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=e;N[d>>2]=b;N[c+64>>2]=N[c+64>>2]+1;N[c+72>>2]=N[c+72>>2]+1}return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function Gl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{b=N[a+24>>2];if(b>>>0>65534){break b}i=N[a>>2];l=N[i+508>>2]+N[i+512>>2]|0;c=b+1|0;b=N[a+40>>2];c=b>>>0>>0?c:b;while(1){g=N[a+44>>2];c:{if(g>>>0>>0){break c}f=N[a+48>>2];d:{e=N[a+52>>2];if(!e){j=N[i+16>>2];b=f+g|0;if((b|0)<0){while(1){d=c+f&65535;if(j>>>0<=d>>>0){break c}if(d){break a}c=c+1|0;if(g>>>0>=c>>>0){continue}break c}}e=0-f|0;if((b|0)<=65535){break d}h=65536-f|0;while(1){k=c+f|0;d=k&65535;e:{if(j>>>0<=d>>>0){b=e;if((k|0)<0){break e}b=h;if(k>>>0<65536){break e}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}break c}b=e+(c-b<<1)|0;if(l>>>0>>0){break c}while(1){e=O[b+1|0]|O[b|0]<<8;if(e){d=f+e&65535;if(d){break a}}b=b+2|0;c=c+1|0;if(g>>>0>=c>>>0){continue}break}break c}while(1){h=c+f|0;d=h&65535;f:{if(j>>>0<=d>>>0){b=e;if((h|0)<0){break f}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}}d=0;if((Fl(a,N[a+36>>2]+1|0)|0)<0){break b}b=N[a+40>>2];c=b>>>0>>0?c:b;continue}}c=-1}N[a+28>>2]=d;N[a+24>>2]=c}function Ck(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=La-16|0;La=g;a:{if(Q[b+4>>2]>a>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;d=1;if((f|0)<=0){d=0;break a}h=O[a|0]|O[a+1|0]<<8;if(!h){break a}d=a+2|0;if(d>>>0>e>>>0){d=0;break a}i=e-d|0;e=(h<<8|h>>>8)&65535;d=T(e,6);if(i>>>0>>0){d=0;break a}f=f-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break a}h=e>>>0<=1?1:e;f=0;while(1){b:{i=T(f,6)+a|0;d=i+2|0;e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j=N[c>>2];N[g+12>>2]=j;N[g+8>>2]=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0>2]){break b}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<6){break b}k=N[b+12>>2];d=k-6|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=i+6|0;if(d>>>0>e>>>0|e-d>>>0<2){break b}e=k-8|0;N[b+12>>2]=e;if((e|0)<=0){break b}e=O[d|0]|O[d+1|0]<<8;c:{if(!e){break c}if(Ak(((e<<8|e>>>8)&65535)+j|0,b,g+8|0)){break c}e=N[b+28>>2];if(e>>>0>31){break b}N[b+28>>2]=e+1;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0}d=1;f=f+1|0;if((h|0)!=(f|0)){continue}break a}break}d=0}La=g+16|0;return d}function bj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=b&65535;a:{b:{c:{d:{d=N[c+4>>2];if((d|0)!=131072){if((d|0)!=65536){break a}d=0;if((b&65535)>>>0<=257){c=e<<2;b=N[c+267632>>2];g=b+268668|0;d=N[c+267636>>2]+(b^-1)|0}if((a&65535)>>>0<=257){break d}b=0;break b}b=N[c+8>>2];f=O[b|0]|O[b+1|0]<<8;f=f<<8|f>>>8;d=0;e:{if(e>>>0>=(f&65535)>>>0){break e}d=b+(e<<1)|0;d=O[d+2|0]|O[d+3|0]<<8;e=(d<<8|d>>>8)&65535;if(e>>>0<=257){d=e<<2;e=N[d+267632>>2];g=e+268668|0;d=N[d+267636>>2]+(e^-1)|0;break e}e=e-258|0;d=0;if(e>>>0>=Q[c+16>>2]){break e}d=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;g=d+1|0;d=O[d|0]}a=a&65535;if(a>>>0<(f&65535)>>>0){break c}b=0;break b}b=a<<2&262140;a=N[b+267632>>2];h=a+268668|0;b=N[b+267636>>2]+(a^-1)|0;break b}a=b+(a<<1)|0;a=O[a+2|0]|O[a+3|0]<<8;a=(a<<8|a>>>8)&65535;if(a>>>0<=257){b=a<<2;a=N[b+267632>>2];h=a+268668|0;b=N[b+267636>>2]+(a^-1)|0;break b}a=a-258|0;b=0;if(a>>>0>=Q[c+16>>2]){break b}a=N[c+24>>2]+N[N[c+20>>2]+(a<<2)>>2]|0;h=a+1|0;b=O[a|0]}c=b;if((c|0)!=(d|0)){return c-d|0}if(!d){break a}i=Mb(h,g,d)}return i}function yb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{b=O[a|0];c:{if((b|0)==38){if((O[a+1|0]&223)==72){break c}b=O[a|0]}if((b&255)!=48|(O[a+1|0]&223)!=88){break b}}a=a+2|0;g=1;d:{e:{while(1){f:{g:{c=O[a|0];switch(c-9|0){case 0:case 23:break g;case 34:break e;case 36:break f;default:break d}}a=a+1|0;continue}break}g=-1}c=O[a+1|0];a=a+1|0}b=c&255;h:{if((b|0)!=48){b=(b|0)==48;break h}b=(O[a+1|0]&223)==88}e=(b?2:0)+a|0;c=L[e|0];b=0;if((c|0)<48){break a}b=e;while(1){i:{a=b;f=-48;j:{h=c&255;if(h>>>0<58){break j}f=-87;if((c-97&255)>>>0<6){break j}f=-55;if((c-65&255)>>>0<=5){break j}break i}b=a+1|0;d=((d<<4)+h|0)+f|0;c=L[a+1|0];if((c|0)>47){continue}}break}return T((b|0)==(e|0)?1:g,d)}k:{l:{while(1){m:{f=1;d=1;n:{c=O[a|0];switch(c-9|0){case 34:break l;case 36:break m;case 0:case 23:break n;default:break k}}a=a+1|0;continue}break}d=-1}c=O[a+1|0];a=a+1|0;f=d}d=0;b=0;if(c<<24>>24<48){break a}b=a;while(1){e=c&255;if(e>>>0<=57){d=(e+T(d,10)|0)-48|0;c=L[b+1|0];b=b+1|0;if((c|0)>47){continue}}break}b=T((a|0)==(b|0)?1:f,d)}return b}function yl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;i=N[a+24>>2];e=N[a+36>>2];if(!(e|N[a+68>>2]?(e|0)!=1:0)){a:{if(!N[a+4>>2]){break a}if((c|0)==-1){c=nb(b)}d=(d|0)==-1?c:d;if(d>>>0>268435455){break a}e=N[a+68>>2]+(d>>>2|0)|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break a}}e=b;if((d|0)>0){j=b+d|0;g=b;while(1){e=xl(g,j,f+12|0,i);k=N[f+12>>2];d=N[a+68>>2];h=d+1|0;b:{if(!(!h|Q[a+76>>2]>h>>>0)){if(!gb(a,h)){break b}d=N[a+68>>2]}d=N[a+80>>2]+T(d,20)|0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;N[d>>2]=k;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;N[d+8>>2]=g-b;N[d+4>>2]=0;N[a+68>>2]=N[a+68>>2]+1}g=e;if(j>>>0>e>>>0){continue}break}}N[a+136>>2]=0;b=b+c|0;c:{if(b>>>0<=e>>>0){break c}while(1){e=xl(e,b,f+8|0,i);c=N[f+8>>2];d=N[a+136>>2];N[a+136>>2]=d+1;N[((d<<2)+a|0)+112>>2]=c;if(b>>>0<=e>>>0){break c}if(Q[a+136>>2]<=4){continue}break}}N[a+36>>2]=1}La=f+16|0;return}ba(24107,14165,530,16333);B()}function Ov(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){c=N[a+100>>2];d=N[a+316>>2];if(d){e=N[a+300>>2];a:{if((e|0)>0){d=0;while(1){f=N[a+316>>2]+(d<<3)|0;b=N[f+4>>2];if(b){e=N[b>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[f+4>>2]}N[b>>2]=0;b=N[f+4>>2];if(b){Qa[N[c+8>>2]](c,b)}N[f+4>>2]=0;e=N[a+300>>2]}d=d+1|0;if((e|0)>(d|0)){continue}break}d=N[a+316>>2];if(!d){break a}}Qa[N[c+8>>2]](c,d)}N[a+316>>2]=0}b=N[a+164>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+164>>2]=0;b=N[a+168>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+168>>2]=0;b=N[a+172>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+172>>2]=0;b=N[a+176>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+176>>2]=0;b=N[a+180>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+180>>2]=0;b=N[a+304>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+300>>2]=0;N[a+304>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+152>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+152>>2]=0;b=N[a+156>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0;N[a+156>>2]=0;b=N[a+324>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+324>>2]=0;b=N[a+328>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+328>>2]=0}}function Sj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=O[a+2|0]|O[a+3|0]<<8;d=((((c<<8|c>>>8)&65535)<<1)+a|0)+4|0;if(O[d|0]|O[d+1|0]<<8){c=d+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[d|0]|O[d+1|0]<<8;h=(c<<8|c>>>8)&65535;l=d+(h<<1)|0;c=l+2|0;i=O[c|0]|O[c+1|0]<<8;g=(i<<8|i>>>8)&65535;j=(g<<1)+c|0;k=O[j+2|0]|O[j+3|0]<<8;c=O[a+2|0]|O[a+3|0]<<8;if(c){m=N[b+8>>2];e=(c<<8|c>>>8)&65535;c=a+4|0;while(1){f=O[c|0]|O[c+1|0]<<8;Ob(f?((f<<8|f>>>8)&65535)+a|0:275552,m);c=c+2|0;e=e-1|0;if(e){continue}break}}if(h>>>0>=2){c=d+4|0;f=N[b+12>>2];e=h-1|0;while(1){d=O[c|0]|O[c+1|0]<<8;Ob(d?((d<<8|d>>>8)&65535)+a|0:275552,f);c=c+2|0;e=e-1|0;if(e){continue}break}}if(i){c=l+4|0;e=N[b+16>>2];while(1){d=O[c|0]|O[c+1|0]<<8;Ob(d?((d<<8|d>>>8)&65535)+a|0:275552,e);c=c+2|0;g=g-1|0;if(g){continue}break}}if(k){a=(k<<8|k>>>8)&65535;d=j+4|0;c=0;while(1){e=d+(c<<2)|0;e=O[e+2|0]|O[e+3|0]<<8;Qj(b,(e<<8|e>>>8)&65535);c=c+1|0;if((a|0)!=(c|0)){continue}break}}}function Jg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{h=N[b+4>>2];if(h>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}d=N[b+12>>2];c=d-4|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b:{if(!c){break b}if((c|0)==-1|a+4>>>0>=f>>>0){break a}d=d-5|0;N[b+12>>2]=d;if(!d){break a}e=O[a+4|0];if((e-1&255)>>>0>3){break a}i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);j=i+1|0;c=UE(e,0,j,0);if(Pa){break a}g=a+5|0;c:{if(!c){break c}if(c>>>0>f-g>>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break c}break a}c=-1;a=g+T(e,i)|0;d:{e:{f:{switch(e-1|0){case 0:a=O[a|0];break e;case 1:a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break e;case 2:a=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);break e;case 3:break f;default:break d}}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}c=a-1|0;if(c){break d}return 1}a=g+T(e,j)|0;if(a>>>0>>0|a>>>0>f>>>0){break a}e=0;if(f-a>>>0>>0){break b}a=d-c|0;N[b+12>>2]=a;e=(a|0)>0}return e}return 0}function Dq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];N[d>>2]=0;a:{if(!(!b|!c)){f=1;if(Qa[N[e+36>>2]](e,b,c,d,N[e+68>>2])|0){break a}}if(O[N[a>>2]+140|0]&16){return 0}f=0;b:{c:{switch(c-1460|0){case 0:if((b|0)!=1497){break a}N[d>>2]=64285;break b;case 3:if((b|0)!=1488){if((b|0)!=1522){break a}N[d>>2]=64287;break b}N[d>>2]=64302;break b;case 4:if((b|0)!=1488){break a}N[d>>2]=64303;break b;case 5:if((b|0)!=1493){break a}N[d>>2]=64331;break b;case 8:a=b-1488|0;if(a>>>0<=26){N[d>>2]=N[(a<<2)+242848>>2];return 131817343>>>a&1}d:{switch(b-64298|0){case 0:N[d>>2]=64300;break b;case 1:break d;default:break a}}N[d>>2]=64301;break b;case 11:e:{switch(b-1489|0){case 0:N[d>>2]=64332;break b;case 10:N[d>>2]=64333;break b;case 19:break e;default:break a}}N[d>>2]=64334;break b;case 13:if((b|0)!=64329){if((b|0)!=1513){break a}N[d>>2]=64298;break b}N[d>>2]=64300;break b;case 14:break c;default:break a}}if((b|0)!=64329){if((b|0)!=1513){break a}N[d>>2]=64299;break b}N[d>>2]=64301}f=1}return f|0}function yt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=La-16|0;La=f;e=Qa[N[a+516>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=N[f+12>>2];if(c>>>0<4){break a}e=fc(b,c,a+808|0);if(e){break a}c=N[f+12>>2];N[a+812>>2]=c;e=0;d=N[a+808>>2];b=O[d+2|0]<<8|O[d+3|0];j=b>>>0>=32?32:b;b:{if(!j){break b}k=c+d|0;h=d+4|0;while(1){b=h;if(b+6>>>0>k>>>0){break b}c=O[b+3|0]|O[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;h=c>>>0>k>>>0?k:c;c:{if(O[b+4|0]|(O[b+5|0]&3)!=1){break c}c=b+14|0;if(c>>>0>h>>>0){break c}l=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}n=n|l}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}N[a+824>>2]=n;N[a+820>>2]=m;N[a+816>>2]=g}La=f+16|0;return e|0}function ig(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=N[N[a+4>>2]+96>>2];f=N[b+8>>2];c=N[N[b+12>>2]+68>>2];if(c){Qa[c|0](a)}c=N[a+156>>2];a:{if(!c){e=a+88|0;break a}e=N[c+4>>2];b:{if(e&1){d=N[a+88>>2];if(d){c=N[N[a+4>>2]+100>>2];Qa[N[c+8>>2]](c,d);c=N[a+156>>2];e=N[c+4>>2]}N[a+88>>2]=0;N[c+4>>2]=e&-2;break b}N[a+88>>2]=0}e=a+156|0;if(!(O[N[b>>2]+1|0]&2)){b=N[c>>2];if(b){c=N[b>>2];d=N[b+24>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+24>>2]=0;d=N[b+28>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+28>>2]=0;d=N[b+32>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+32>>2]=0;d=N[b+40>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+40>>2]=0;d=N[b+52>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+20>>2]=0;N[b+36>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+88>>2]=0;d=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=d;g=N[b+32>>2];d=b- -64|0;N[d>>2]=N[b+28>>2];N[d+4>>2]=g;d=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=d;d=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=d;Qa[N[c+8>>2]](c,b);c=N[a+156>>2]}N[c>>2]=0}Qa[N[f+8>>2]](f,c)}N[e>>2]=0}function Df(a,b){var c=0,d=0,e=0,f=0;if(!O[a|0]){return 0}e=a+24|0;c=N[a+24>>2];a:{if((c|0)<0){break a}b:{d=(b|0)>0?b:0;if(d>>>0>c>>>0){while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}b=e;if(c>>>0>67108863){break b}f=$a(N[a+32>>2],c<<6);if(!f){break b}N[a+24>>2]=c;N[a+32>>2]=f}b=N[a+28>>2];if(b>>>0>>0){C(N[a+32>>2]+(b<<6)|0,0,d-b<<6)}N[a+28>>2]=d;c=N[a+12>>2];if((c|0)<0){break a}if(c>>>0>>0){b=a+12|0;while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0>536870911){break b}f=$a(N[a+20>>2],c<<3);if(!f){break b}N[a+12>>2]=c;N[a+20>>2]=f}b=N[a+16>>2];if(b>>>0>>0){C(N[a+20>>2]+(b<<3)|0,0,d-b<<3)}N[a+16>>2]=d;return 1}N[b>>2]=-1}c=N[a+16>>2];b=N[e>>2];if((b|0)>=0){c:{c=(c|0)>0?c:0;if(c>>>0>b>>>0){while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}d:{if(b>>>0<=67108863){d=$a(N[e+8>>2],b<<6);if(d){break d}}N[e>>2]=-1;break c}N[e>>2]=b;N[e+8>>2]=d}b=N[e+4>>2];if(b>>>0>>0){C(N[e+8>>2]+(b<<6)|0,0,c-b<<6)}N[e+4>>2]=c}}L[a|0]=0;return 0}function fw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=N[a+96>>2];e=N[a+712>>2];a:{b:{if(O[e+24|0]==2){c=N[d+4>>2];if(!c){break b}d=N[c+16>>2];if((d|0)<=0){break a}c=c+20|0;d=c+(d<<2)|0;while(1){e=N[c>>2];f=N[e>>2];if(cb(N[f+8>>2],9195)){c=c+4|0;if(d>>>0>c>>>0){continue}break a}break}c=N[f+32>>2];if(!c){break a}c=Qa[c|0](e,9592)|0;if(!c){break a}c=N[c+4>>2];if(!c){break a}return Qa[c|0](a,b)|0}if(!d){break a}c:{a=N[N[d>>2]+32>>2];if(a){a=Qa[a|0](d,10566)|0;if(a){break c}}a=N[d+4>>2];f=N[a+16>>2];if((f|0)<=0){break a}c=a+20|0;f=c+(f<<2)|0;while(1){a=N[c>>2];d:{if((a|0)==(d|0)){break d}h=N[N[a>>2]+32>>2];if(!h){break d}a=Qa[h|0](a,10566)|0;if(a){break c}}c=c+4|0;if(f>>>0>c>>>0){continue}break}break a}if(!N[e+20>>2]){break a}while(1){c=P[N[e+1188>>2]+(g<<1)>>1];e:{f:{if(c>>>0>=391){c=c-391|0;if(c>>>0>=Q[e+1356>>2]){break e}c=N[N[e+1360>>2]+(c<<2)>>2];break f}c=Qa[N[a+20>>2]](c)|0}if(!c){break e}if(!cb(b,c)){break a}}g=g+1|0;if(g>>>0>2]){continue}break}}g=0}return g|0}function xk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break a}e=N[b+12>>2]-6|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}f=a+6|0;if(f>>>0>d>>>0){break a}g=d-f|0;d=(c<<8|c>>>8)&65535;c=d<<1;if(g>>>0>>0){break a}e=e-c|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=d>>>0<=1?1:d;e=0;while(1){d=f+(e<<1)|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(Lb(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}e=e+1|0;if((g|0)!=(e|0)){continue}break}d=O[a+4|0]|O[a+5|0]<<8;if(!d){return 1}a=O[a+2|0]|O[a+3|0]<<8;a=f+(((a<<8|a>>>8)&65535)<<1)|0;if(a>>>0>2]){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;a=((d<<8|d>>>8)&65535)<<2;if(c>>>0>>0){break a}a=N[b+12>>2]-a|0;N[b+12>>2]=a;h=(a|0)>0}return h}function Bj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=db(1,40);if(e){f=N[a+44>>2];k=f-1|0;j=N[a+48>>2];b=N[a+4>>2]==1098015074;b:{c:{if((f|0)<=0){break c}a=k;while(1){d:{d=a+c>>>1|0;g=N[T(d,36)+j>>2];e:{if(g>>>0>=1937007465){a=d-1|0;break e}if((g|0)==1937007464){break d}c=d+1|0}if((a|0)>=(c|0)){continue}break c}break}a=2;if(N[(T(d,36)+j|0)+28>>2]){break b}}a=0}L[e+36|0]=b|a;d=0;if((f|0)<=0){break a}while(1){b=d<<2;f=N[b+238192>>2];c=0;a=k;g=e+b|0;f:{g:{while(1){b=a+c>>>1|0;h=T(b,36)+j|0;i=N[h>>2];h:{if(i>>>0>f>>>0){a=b-1|0;break h}if(f>>>0<=i>>>0){break g}c=b+1|0}if((a|0)>=(c|0)){continue}break}a=0;break f}a=N[h+28>>2]}N[g>>2]=a;g=O[e+36|0];b=0;i:{if(!(g&1)){break i}c=0;a=k;b=1;if(44>>>d&1){break i}j:{while(1){b=a+c>>>1|0;h=T(b,36)+j|0;i=N[h>>2];k:{if(i>>>0>f>>>0){a=b-1|0;break k}if(f>>>0<=i>>>0){break j}c=b+1|0}if((a|0)>=(c|0)){continue}break}b=0;break i}b=L[h+32|0]&1}L[e+36|0]=b|g&254;d=d+1|0;if((d|0)!=7){continue}break}}return e|0}L[e+36|0]=a;return e|0}function rt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=N[a+816>>2];a:{if(!h){break a}f=N[a+812>>2];if((f|0)<10){break a}d=f;f=N[a+808>>2];j=d+f|0;d=f+4|0;g=f+10|0;k=b<<16|c;n=N[a+820>>2];i=1;while(1){b=(O[d+3|0]|O[d+2|0]<<8)+d|0;f=b>>>0>j>>>0?j:b;b:{if(O[d+4|0]|!(i&n)){break b}o=O[d+5|0];b=d+14|0;e=f-b|0;c=O[d+7|0]|O[g|0]<<8;d=(e|0)<(T(c,6)|0)?(e|0)/6|0:c;c:{if(N[a+824>>2]&i){g=0;if(!d){break b}while(1){l=d+g>>>1|0;c=T(l,6)+b|0;e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((e|0)==(k|0)){break c}c=e>>>0>>0;g=c?l+1|0:g;d=c?d:l;if(g>>>0>>0){continue}break}break b}if(!d){break b}while(1){c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))==(k|0)){c=b;break c}b=b+6|0;d=d-1|0;if(d){continue}break}break b}b=O[c+4|0]|O[c+5|0]<<8;m=((b<<8|b>>>8)<<16>>16)+(o&8?0:m)|0}h=h-1|0;if(!h){break a}i=i<<1;d=f;g=d+6|0;if(j>>>0>=g>>>0){continue}break}}return m|0}function sp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=fb(65536e3,b<<16);if((h|0)>=655){b=c<<16;e=(b|0)<=262144?262144:b;if((d|0)<=0){b=4915200}else{b=d<<16;c=b>>31;d=h>>31;d=(d^h)-d|0;c=(b^c)-c|0;c=c+(d>>>8|0)>>>0<8191?T(d,c)>>>16|0:T(d,c>>>16|0);b=(b|0)<0?0-c|0:c}i=N[a+48>>2];j=N[a+28>>2];d=N[a+24>>2];m=d<<16;if(((W(e)^31)-W(b)|0)>=15){c=i<<16}else{c=b>>31;c=(c^b)-c|0;a:{if(c+(e>>>8|0)>>>0<=8190){c=T(c,e)>>>16|0;break a}c=T(c&65535,e>>>16|0)+T(c>>>16|0,e)|0}c=(b|0)<0?0-c|0:c}b:{if((m|0)>(c|0)){a=fb(j<<16,e);break b}n=N[a+52>>2];k=N[a+44>>2];f=N[a+40>>2];l=N[a+36>>2];c:{d:{e:{g=N[a+32>>2];a=g<<16;f:{if((c|0)<(a|0)){c=fb(m,e);if((d|0)==(g|0)){break f}a=jb(b-c|0,l-j|0,g-d|0)+fb(j<<16,e)|0;break b}d=f<<16;if((d|0)<=(c|0)){break e}}c=fb(a,e);if((f|0)==(g|0)){break d}a=jb(b-c|0,k-l|0,f-g|0)+fb(l<<16,e)|0;break b}a=d;if((c|0)>=i<<16){break c}}a=fb(a,e);if((f|0)==(i|0)){break c}a=jb(b-a|0,n-k|0,i-f|0)+fb(k<<16,e)|0;break b}a=fb(n<<16,e)}a=fb(a,h)}else{a=0}return a}function ku(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=6;d=N[b>>2];if(Q[d+16>>2]>c>>>0){b=N[d+140>>2];f=P[b+96>>1];e=N[b+56>>2];if(c){b=c-1|0}else{b=N[d+148>>2]}b=e+T(b,36)|0;j=N[b+24>>2];h=M[b+20>>1];e=M[b+16>>1];i=P[b+10>>1];c=P[b+14>>1];g=P[b+12>>1];N[a+84>>2]=N[b+28>>2];N[a+80>>2]=g;N[a+76>>2]=c;c=N[a+156>>2];a:{if(!c){break a}b=N[c+4>>2];if(!(b&1)){break a}g=N[a+88>>2];if(g){b=N[N[a+4>>2]+100>>2];Qa[N[b+8>>2]](b,g);c=N[a+156>>2];b=N[c+4>>2]}N[c+4>>2]=b&-2}N[a+88>>2]=j;b:{c:{switch(f-1|0){case 0:L[a+94|0]=1;break b;case 1:L[a+94|0]=3;break b;case 3:L[a+94|0]=4;break b;case 7:break c;default:break b}}M[a+92>>1]=256;L[a+94|0]=2}N[a+104>>2]=h;N[a+100>>2]=e;N[a+72>>2]=1651078259;N[a+40>>2]=i<<6;b=h<<6;N[a+36>>2]=b;f=e<<6;N[a+32>>2]=f;N[a+24>>2]=N[a+80>>2]<<6;c=N[a+76>>2]<<6;N[a+28>>2]=c;e=0;c=(h|0)<0?(b|0)<(c|0)?c:b:c-b|0;b=P[N[d+140>>2]+6>>1];d:{if(b){b=b<<6;break d}b=(T(c,12)|0)/10|0}N[a+52>>2]=b;N[a+48>>2]=(b-c|0)/2;N[a+44>>2]=f-(i<<5)}return e|0}function Ug(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{if(!c|!O[a|0]){break a}N[a+4>>2]=-1;d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;k=N[a+16>>2];n=k-1|0;m=N[a+32>>2];l=N[a+20>>2];e=N[a+8>>2];o=(k|0)<=0;b:while(1){c:{i=f>>>9|0;d:{e:{if(!((i|0)!=N[(e<<3)+l>>2]|e>>>0>=k>>>0)){d=e;break e}h=0;g=n;f:{if(!o){while(1){d=h+g>>>1|0;j=N[(d<<3)+l>>2];g:{if((i|0)<(j|0)){g=d-1|0;break g}if((i|0)==(j|0)){break f}h=d+1|0}if((h|0)<=(g|0)){continue}break}}g=f&65024;h=g+512|0;break d}N[a+8>>2]=d}g=f&65024;h=g+512|0;if(m){break c}e=d}while(1){c=c-1|0;if(!c){break a}d=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;f=(d<<8|d>>>8)&65535;if(g>>>0>f>>>0){continue b}if(f>>>0>>0){continue}break}continue}i=(N[((d<<3)+l|0)+4>>2]<<6)+m|0;while(1){e=i+(f>>>3&56)|0;j=N[e>>2];p=N[e+4>>2];q=e,r=_E(-2,-1,f)&j,N[q>>2]=r;N[e+4>>2]=Pa&p;c=c-1|0;if(!c){break a}e=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;f=(e<<8|e>>>8)&65535;if(g>>>0>f>>>0){e=d;continue b}if(f>>>0>>0){continue}break}e=d;continue}}}function Ef(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;a:{if(!c|!O[a|0]){break a}N[a+4>>2]=-1;e=O[b|0]|O[b+1|0]<<8;g=(e<<8|e>>>8)&65535;l=N[a+16>>2];o=l-1|0;n=N[a+32>>2];m=N[a+20>>2];f=N[a+8>>2];p=(l|0)<=0;b:while(1){c:{j=g>>>9|0;d:{e:{if(!((j|0)!=N[(f<<3)+m>>2]|f>>>0>=l>>>0)){e=f;break e}i=0;h=o;f:{if(!p){while(1){e=i+h>>>1|0;k=N[(e<<3)+m>>2];g:{if((j|0)<(k|0)){h=e-1|0;break g}if((j|0)==(k|0)){break f}i=e+1|0}if((i|0)<=(h|0)){continue}break}}h=g&65024;i=h+512|0;break d}N[a+8>>2]=e}h=g&65024;i=h+512|0;if(n){break c}f=e}while(1){c=c-1|0;if(!c){break a}b=b+d|0;e=O[b|0]|O[b+1|0]<<8;g=(e<<8|e>>>8)&65535;if(h>>>0>g>>>0){continue b}if(g>>>0>>0){continue}break}continue}j=(N[((e<<3)+m|0)+4>>2]<<6)+n|0;while(1){f=j+(g>>>3&56)|0;k=N[f>>2];q=N[f+4>>2];r=f,s=_E(-2,-1,g)&k,N[r>>2]=s;N[f+4>>2]=Pa&q;c=c-1|0;if(!c){break a}b=b+d|0;f=O[b|0]|O[b+1|0]<<8;g=(f<<8|f>>>8)&65535;if(h>>>0>g>>>0){f=e;continue b}if(g>>>0>>0){continue}break}f=e;continue}}}function ym(a,b,c,d){var e=0,f=0,g=0,h=0;g=La-32|0;La=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;a:{if((f|0)==(e|0)&0|e>>>0>f>>>0){e=c<<4|b>>>28;c=d<<4|c>>>28;b=b&268435455;if((b|0)==134217728&(a|0)!=0|b>>>0>134217728){f=c+1073741824|0;e=e+1|0;f=e?f:f+1|0;break a}f=c+1073741824|0;if(a|(b|0)!=134217728){break a}a=e&1;e=a+e|0;f=a>>>0>e>>>0?f+1|0:f;break a}if(!(!c&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){a=d<<4|c>>>28;e=c<<4|b>>>28;f=a&524287|2146959360;break a}e=0;f=2146435072;if(h>>>0>1140785151){break a}f=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;hc(g+16|0,a,b,c,e,h-15233|0);Qd(g,a,b,c,e,15361-h|0);b=N[g+8>>2];e=b<<4;b=N[g+12>>2]<<4|b>>>28;c=N[g>>2];f=N[g+4>>2];h=f;e=f>>>28|e;f=b;a=h&268435455;b=c|(N[g+16>>2]|N[g+24>>2]|(N[g+20>>2]|N[g+28>>2]))!=0;if((a|0)==134217728&(b|0)!=0|a>>>0>134217728){e=e+1|0;f=e?f:f+1|0;break a}if(b|(a|0)!=134217728){break a}a=e;e=e+(e&1)|0;f=a>>>0>e>>>0?f+1|0:f}La=g+32|0;x(0,e|0);x(1,d&-2147483648|f);return+z()}function Go(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;a:{b:{c:{if(b){e=N[b>>2];if(e){break c}}break b}g=N[b+8>>2];if(g){if(e>>>0>=536870912){break b}h=kb(e<<3);N[a+16>>2]=h;i=kb(g);N[a+20>>2]=i;if(!(i?h:0)){break a}N[a+12>>2]=g;N[a+4>>2]=e;e=0;N[a+8>>2]=0;N[a>>2]=0;g=N[b>>2];if(g){l=N[b+16>>2];m=S[c+40>>3];n=S[c+32>>3];o=S[c+24>>3];p=S[c+16>>3];q=S[c+8>>3];r=S[c>>3];while(1){d:{c=e<<3;f=c+l|0;d=+N[f>>2];j=+N[f+4>>2];k=p+(r*d+q*j);if(V(k)<268435455){d=m+(o*d+n*j);if(V(d)<268435455){break d}}break a}c=c+h|0;d=XE(d);e:{if(V(d)<2147483648){f=~~d;break e}f=-2147483648}N[c+4>>2]=f;d=XE(k);f:{if(V(d)<2147483648){f=~~d;break f}f=-2147483648}N[c>>2]=f;e=e+1|0;if((g|0)!=(e|0)){continue}break}}c=N[b+20>>2];b=N[b+8>>2];F(i,c,b);N[a+8>>2]=b;N[a>>2]=g;return}ba(10189,18249,45,17699);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;return}_a(h);_a(i);N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Fc(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=U(0);h=O[a|0]|O[a+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){return U(0)}h=O[a+4|0]|O[a+5|0]<<8;m=(h<<8|h>>>8)&65535;i=O[a+2|0]|O[a+3|0]<<8;g=(i<<8|(i&65280)>>>8)&32767;k=i&128;h=k>>>7|0?m:g;b=(((m<<1)+a|0)+T(g+m<<(i>>>7&1),b)|0)+6|0;if(!(!k|!(i&-129))){j=g>>>0<=1?1:g;i=0;while(1){g=(i<<1)+a|0;g=O[g+6|0]|O[g+7|0]<<8;n=Mg(e,(g<<8|g>>>8)&65535,c,d,f);g=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);l=U(U(n*U(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24)))+l);b=b+4|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}a:{if(h>>>0<=j>>>0){h=j;break a}g=h-j|0;i=b;while(1){k=(j<<1)+a|0;k=O[k+6|0]|O[k+7|0]<<8;n=Mg(e,(k<<8|k>>>8)&65535,c,d,f);k=O[i|0]|O[i+1|0]<<8;l=U(U(n*U((k<<8|k>>>8)<<16>>16))+l);i=i+2|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}b=(g<<1)+b|0}if(h>>>0>>0){while(1){j=(h<<1)+a|0;j=O[j+6|0]|O[j+7|0]<<8;l=U(U(Mg(e,(j<<8|j>>>8)&65535,c,d,f)*U(L[b|0]))+l);b=b+1|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}return l}function pp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=N[a>>2];a:{if(!h){break a}d=N[a+8>>2];f=h&3;b:{if(!f){g=h;break b}g=h&-4;while(1){N[d+24>>2]=-1;N[d+16>>2]=N[d+16>>2]&-5;d=d+28|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(h>>>0<4){break a}while(1){N[d+24>>2]=-1;N[d+52>>2]=-1;N[d+80>>2]=-1;N[d+108>>2]=-1;N[d+16>>2]=N[d+16>>2]&-5;N[d+44>>2]=N[d+44>>2]&-5;N[d+72>>2]=N[d+72>>2]&-5;N[d+100>>2]=N[d+100>>2]&-5;d=d+112|0;g=g-4|0;if(g){continue}break}}if(!b){N[a+4>>2]=0;return}d=0;g=0;e=0;f=0;while(1){if(!d){g=O[c|0];d=128;c=c+1|0}c:{if(!(d&g)){break c}i=N[a+8>>2]+T(e,28)|0;j=N[i+16>>2];if(j&4){break c}N[i+16>>2]=j|4;if(f>>>0>=h>>>0){break c}N[N[a+12>>2]+(f<<2)>>2]=i;f=f+1|0}d=d>>>1|0;e=e+1|0;if((e|0)!=(b|0)){continue}break}N[a+4>>2]=f;if((f|0)>=2){c=N[a+12>>2];a=1;while(1){g=N[c+(a<<2)>>2];h=N[g>>2];d=a;while(1){b=d-1|0;e=c+(b<<2)|0;i=N[e>>2];if((h|0)<=N[i>>2]){N[c+(d<<2)>>2]=i;N[e>>2]=g;e=(d|0)>1;d=b;if(e){continue}}break}a=a+1|0;if((f|0)!=(a|0)){continue}break}}}function Iv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[b+72>>2];d=N[a+100>>2];b=Qa[N[b+36>>2]](b)|0;a:{if((b|0)<0|N[a+304>>2]){break a}c=Q[c+4>>2]/100|0;c=b>>>0>>0?b:c;if(!c){N[a+300>>2]=0;N[a+304>>2]=0;return}if(c>>>0>=8521761){N[a+304>>2]=0;return}b=T(c,252);d=Qa[N[d+4>>2]](d,b)|0;if(!d){N[a+304>>2]=0;return}C(d,0,b);N[a+300>>2]=c;N[a+304>>2]=d;b=0;if(c>>>0>=4){f=c&67108860;while(1){a=d+T(b,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|1,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|2,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|3,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;b=b+4|0;if((f|0)!=(b|0)){continue}break}}c=c&3;if(!c){break a}while(1){a=d+T(b,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;b=b+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}}function je(a,b){var c=0,d=0,e=0,f=0;e=La-16|0;La=e;L[e+11|0]=0;f=N[a+8>>2];a:{b:{c=N[a+20>>2];c:{if(c){if((Qa[c|0](a,f,e+11|0,1)|0)!=1){break b}f=N[a+8>>2];c=e+11|0;break c}if(Q[a+4>>2]<=f>>>0){break b}c=N[a>>2]+f|0}c=O[c|0];d=f+1|0;N[a+8>>2]=d;d:{e:{switch(c-253|0){case 0:f:{g:{h:{if(Q[a+4>>2]<=f+2>>>0){break h}c=N[a+20>>2];i:{if(c){if((Qa[c|0](a,d,e+12|0,2)|0)!=2){break h}d=N[a+8>>2];c=e+12|0;break i}c=N[a>>2];if(!c){break g}c=c+d|0}c=O[c|0]|O[c+1|0]<<8;c=c<<8|c>>>8;break f}a=85;break a}c=0}N[a+8>>2]=d+2;break d;case 2:L[e+14|0]=0;c=N[a+20>>2];j:{if(c){if((Qa[c|0](a,d,e+14|0,1)|0)!=1){break b}d=N[a+8>>2];c=e+14|0;break j}if(Q[a+4>>2]<=d>>>0){break b}c=N[a>>2]+d|0}c=O[c|0];N[a+8>>2]=d+1;c=c+253|0;break d;case 1:break e;default:break d}}L[e+15|0]=0;c=N[a+20>>2];k:{if(c){if((Qa[c|0](a,d,e+15|0,1)|0)!=1){break b}d=N[a+8>>2];c=e+15|0;break k}if(Q[a+4>>2]<=d>>>0){break b}c=N[a>>2]+d|0}c=O[c|0];N[a+8>>2]=d+1;c=c+506|0}M[b>>1]=c;a=0;break a}a=85}La=e+16|0;return a}function av(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;b=N[a+4>>2];d=N[b+504>>2];g=N[b+100>>2];a:{if(N[b+84>>2]){f=ei(d,e+12|0);if(f){b=N[a+160>>2];break a}b=N[e+12>>2]}else{b=N[d+84>>2]}N[a+160>>2]=b;f=0}d=N[b+156>>2];b=N[d>>2];b:{if(b){d=N[b>>2];c=N[b+24>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+24>>2]=0;c=N[b+28>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+28>>2]=0;c=N[b+32>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+32>>2]=0;c=N[b+40>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+40>>2]=0;c=N[b+52>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+20>>2]=0;N[b+36>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+88>>2]=0;c=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=c;h=N[b+32>>2];c=b- -64|0;N[c>>2]=N[b+28>>2];N[c+4>>2]=h;c=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=c;c=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=c;Qa[N[d+8>>2]](d,b);b=N[a+160>>2];d=N[b+156>>2];if(!d){break b}}Qa[N[g+8>>2]](g,d);b=N[a+160>>2]}N[b+156>>2]=0;N[b+156>>2]=N[a+156>>2];La=e+16|0;return f|0}function kc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c=N[a+32>>2];if(c){d=N[a>>2];h=N[a+36>>2]+(O[N[N[a+4>>2]+96>>2]+16|0]&64?-1:0-c|0)|0;if((d|0)<(h|0)){while(1){c=d+1|0;N[a>>2]=c;f=N[a+4>>2];g=N[N[f+96>>2]+80>>2]+T(c,20)|0;d=P[g+12>>1];c=N[a+8>>2];c:{if(d&c&14){break c}if(d&8){if(!dl(N[f+104>>2],N[g>>2],d,c)){break c}d=P[g+12>>1]}f=0;e=P[g+16>>1];c=0;d:{if((e&96)!=32){break d}c=0;if(d&16){break d}if((e&543)==513){c=0;if(!O[a+16|0]){break d}}c=(e&287)!=257?2:O[a+17|0]<<1}d=N[a+28>>2];if(d){f=O[d|0]|O[d+1|0]<<8;f=(f<<8|f>>>8)&65535}e:{if(!(N[a+12>>2]&N[g+4>>2])){break e}e=O[a+19|0];if((e|0)!=O[g+15|0]?e:0){break e}e=N[a+20>>2];f:{if(e){if(!(Qa[e|0](g,f,N[a+24>>2])|0)){break e}d=N[a+28>>2];break f}if(c){break c}}N[a+32>>2]=N[a+32>>2]-1;i=1;if(!d){break a}N[a+28>>2]=d+2;return 1}if(!c){break b}}d=N[a>>2];if((h|0)>(d|0)){continue}break}}if(!b){break a}N[b>>2]=N[a+36>>2];break a}ba(21998,14114,537,8490);B()}if(!b){break a}N[b>>2]=N[a>>2]+1;return 0}return i}function Pi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=La-48|0;La=e;a:{if(!d){b=6;break a}f=N[b+4>>2];i=N[b>>2];N[e>>2]=i;N[e+4>>2]=f;h=N[b+8>>2];g=N[b+12>>2];j=N[b+16>>2];b=N[b+20>>2];N[e+36>>2]=b;k=b;b=g;g=k+b|0;N[e+28>>2]=(g|0)/2;b=b+f|0;N[e+20>>2]=(b+g|0)/4;g=h+i|0;N[e+8>>2]=(g|0)/2;N[e+32>>2]=j;h=h+j|0;N[e+24>>2]=(h|0)/2;N[e+12>>2]=(b|0)/2;N[e+16>>2]=(g+h|0)/4;if((c|0)>=3){c=c>>>1|0;b=Pi(a,e,c,d);if(b){break a}b=Pi(a,e+16|0,c,d);break a}b=64;c=Qa[N[a+4>>2]](a,40)|0;if(!c){break a}N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;a=Qa[N[a+4>>2]](a,40)|0;if(!a){break a}N[a+16>>2]=0;N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[c>>2]=i;N[c+4>>2]=f;b=N[e+16>>2];f=N[e+20>>2];N[c+32>>2]=1;N[c+8>>2]=b;N[c+12>>2]=f;N[a>>2]=b;N[a+4>>2]=f;b=N[e+32>>2];f=N[e+36>>2];N[a+32>>2]=1;N[a+8>>2]=b;N[a+12>>2]=f;N[c+36>>2]=a;N[a+36>>2]=N[d>>2];N[d>>2]=c;b=0}La=e+48|0;return b}function $g(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;d=O[a+2|0]|O[a+3|0]<<8;if(d){h=((d<<8|d>>>8)&65535)+a|0}else{h=275552}d=N[b+96>>2];i=N[d+80>>2]+T(N[d+64>>2],20)|0;f=N[i>>2];if((vb(h,f)|0)!=-1){e=O[a+4|0]|O[a+5|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=275552}N[g+12>>2]=d;N[g+8>>2]=c?248:249;a:{if(!c){e=Re(d,f);break a}e=O[i+15|0];if((e|0)!=255){break a}e=Re(d,f);if(!c|e>>>0>254){break a}c=N[b+96>>2];L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=e}c=O[a+6|0]|O[a+7|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+a|0)+8|0;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}a=O[d|0]|O[d+1|0]<<8;if(a){e=(a<<8|a>>>8)&65535;a=d+2|0;while(1){c=O[a|0]|O[a+1|0]<<8;if(c){c=d+((c<<8|c>>>8)&65535)|0}else{c=275552}f=O[c|0]|O[c+1|0]<<8;i=(f<<8|f>>>8)&65535;h=c+4|0;c=O[c+2|0]|O[c+3|0]<<8;c=Qe(b,i,h,(c<<8|c>>>8)&65535,(f?(i<<1)-2|0:0)+h|0,N[g+8>>2],N[g+12>>2]);if(!c){a=a+2|0;e=e-1|0;if(e){continue}}break}}else{c=0}e=c}La=g+16|0;return e}function mq(a){var b=0,c=0,d=0,e=0;b=N[a+52>>2];c=(b|0)!=0;if((b|0)!=(c|0)){d=b<<2;b=N[a+56>>2];d=d+b|0;c=b+(c<<2)|0;while(1){b=N[c>>2];if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;c=c+4|0;if((d|0)!=(c|0)){continue}break}b=N[a+52>>2]}if(b){N[a+52>>2]=0}_a(N[a+56>>2]);N[a+56>>2]=0;N[a+60>>2]=-57005;N[a+48>>2]=0;N[a+52>>2]=0;c=N[a+68>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;e=N[c+12>>2]+T(b,12)|0;d=N[e+8>>2];e=N[e+4>>2];N[c+8>>2]=b;if(d){Qa[d|0](e);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+68>>2]=0}b=N[a+88>>2];if(b){_a(b);N[a+88>>2]=0}N[a+76>>2]=0;N[a+72>>2]=N[a+72>>2]&1;b=N[a+44>>2];if(b){while(1){N[a+44>>2]=N[b+32>>2];if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;b=N[a+44>>2];if(b){continue}break}}}function pj(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}_a(N[a+36>>2]);N[a+36>>2]=0;b=N[N[a+80>>2]+12>>2];if(b){Qa[b|0](N[a+172>>2])}tq(a+84|0);if(N[a+164>>2]){N[a+164>>2]=0}_a(N[a+168>>2]);N[a+168>>2]=0;N[a+160>>2]=0;N[a+164>>2]=0;if(N[a+152>>2]){N[a+152>>2]=0}_a(N[a+156>>2]);N[a+156>>2]=0;N[a+148>>2]=0;N[a+152>>2]=0;if(N[a+140>>2]){N[a+140>>2]=0}_a(N[a+144>>2]);N[a+144>>2]=0;N[a+136>>2]=0;N[a+140>>2]=0;if(N[a+128>>2]){N[a+128>>2]=0}_a(N[a+132>>2]);N[a+132>>2]=0;N[a+124>>2]=0;N[a+128>>2]=0;if(N[a+116>>2]){N[a+116>>2]=0}_a(N[a+120>>2]);N[a+120>>2]=0;N[a+112>>2]=0;N[a+116>>2]=0;if(N[a+104>>2]){N[a+104>>2]=0}_a(N[a+108>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function he(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c=N[a+32>>2];if(c){d=N[a>>2];h=O[N[N[a+4>>2]+96>>2]+16|0]&64?0:c-1|0;if(d>>>0>h>>>0){while(1){c=d-1|0;N[a>>2]=c;f=N[a+4>>2];g=N[N[f+96>>2]+84>>2]+T(c,20)|0;d=P[g+12>>1];c=N[a+8>>2];c:{if(d&c&14){break c}if(d&8){if(!dl(N[f+104>>2],N[g>>2],d,c)){break c}d=P[g+12>>1]}f=0;e=P[g+16>>1];c=0;d:{if((e&96)!=32){break d}c=0;if(d&16){break d}if((e&543)==513){c=0;if(!O[a+16|0]){break d}}c=(e&287)!=257?2:O[a+17|0]<<1}d=N[a+28>>2];if(d){f=O[d|0]|O[d+1|0]<<8;f=(f<<8|f>>>8)&65535}e:{if(!(N[a+12>>2]&N[g+4>>2])){break e}e=O[a+19|0];if((e|0)!=O[g+15|0]?e:0){break e}e=N[a+20>>2];f:{if(e){if(!(Qa[e|0](g,f,N[a+24>>2])|0)){break e}d=N[a+28>>2];break f}if(c){break c}}N[a+32>>2]=N[a+32>>2]-1;i=1;if(!d){break a}N[a+28>>2]=d+2;return 1}if(!c){break b}}d=N[a>>2];if(h>>>0>>0){continue}break}}if(!b){break a}N[b>>2]=0;break a}ba(21998,14114,575,8316);B()}if(!b){break a}a=N[a>>2];N[b>>2]=(a>>>0<=1?1:a)-1;return 0}return i}function hn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;a:{if(b>>>0>c>>>0){break a}g=N[a+12>>2];if(g>>>0<=d>>>0|e>>>0>=g>>>0){break a}k=N[a+8>>2];f=N[k+(d<<3)>>2];h=N[(e<<3)+k>>2];b:{if((f|0)<=(h|0)){g=h;h=f;f=e;e=d;break b}g=f;f=d}i=N[a+4>>2];f=f<<3;d=N[i+f>>2];l=f;f=N[a>>2];m=N[l+f>>2];q=d-m|0;e=e<<3;a=N[e+i>>2];n=N[e+f>>2];r=a-n|0;if(!((g|0)==(h|0)|(a|0)==(d|0))){s=g-h|0;t=d-a|0;g=0;while(1){o=b<<3;d=N[f+o>>2];c:{if((d|0)<=(n|0)){e=d+r|0;break c}e=d+q|0;if((d|0)>=(m|0)){break c}if(!j){g=fb(t,s)}p=N[k+o>>2]-h|0;e=p>>31;e=(e^p)-e|0;d=g>>31;d=(d^g)-d|0;d:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break d}j=e&65535;e=T(j,d>>>16|0)+T(d,e>>>16|0)+(T(j,d&65535)+32768>>>16)|0}d=e;j=1;l=0-d|0;d=p>>31|1;e=a+((((g|0)<0?0-d|0:d)|0)<0?l:e)|0}N[i+o>>2]=e;b=b+1|0;if(c>>>0>=b>>>0){continue}break}break a}while(1){e=b<<3;d=N[e+f>>2];N[e+i>>2]=(d|0)>(n|0)?(d|0)<(m|0)?a:d+q|0:d+r|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function id(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(!a|!b)){c=N[a>>2];e=c>>31;f=N[b>>2];d=f>>31;e=(c^e)-e|0;d=(d^f)-d|0;a:{if(e+(d>>>8|0)>>>0<=8190){d=T(d,e)+32768>>>16|0;break a}g=e&65535;d=T(g,d>>>16|0)+T(d,e>>>16|0)+(T(g,d&65535)+32768>>>16)|0}g=c>>31|1;k=0-g|0;i=(((f|0)<0?k:g)|0)<0?0-d|0:d;f=N[a+4>>2];d=f>>31;h=N[b+4>>2];c=h>>31;d=(d^f)-d|0;c=(c^h)-c|0;b:{if(d+(c>>>8|0)>>>0<=8190){c=T(c,d)+32768>>>16|0;break b}j=d&65535;c=T(j,c>>>16|0)+T(c,d>>>16|0)+(T(j,c&65535)+32768>>>16)|0}f=f>>31|1;l=0-f|0;j=i+((((h|0)<0?l:f)|0)<0?0-c|0:c)|0;h=N[b+8>>2];c=h>>31;c=(c^h)-c|0;c:{if(e+(c>>>8|0)>>>0<=8190){e=T(c,e)+32768>>>16|0;break c}i=e&65535;e=T(i,c>>>16|0)+T(c,e>>>16|0)+(T(i,c&65535)+32768>>>16)|0}c=(((h|0)<0?k:g)|0)<0?0-e|0:e;e=N[b+12>>2];b=e>>31;b=(b^e)-b|0;d:{if(d+(b>>>8|0)>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}g=d&65535;b=T(g,b>>>16|0)+T(b,d>>>16|0)+(T(g,b&65535)+32768>>>16)|0}N[a>>2]=j;N[a+4>>2]=c+((((e|0)<0?l:f)|0)<0?0-b|0:b)}}function Kl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=N[a+16>>2];f=O[d+12|0]|O[d+13|0]<<8|(O[d+14|0]<<16|O[d+15|0]<<24);i=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);a:{if(!i){break a}h=N[b>>2];if(c){if((h|0)==-1){break a}h=h+1|0}l=d+16|0;d=i;b:{c:{while(1){f=d+j>>>1|0;e=T(f,12)+l|0;g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(g>>>0<=h>>>0){if(h>>>0<=k>>>0){break c}j=f+1|0}else{d=f}if(d>>>0>j>>>0){continue}break}d=0;break b}d=e;d=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=h-g|0;d=d>>>0<=(e^-1)>>>0?d+e|0:0}if(!c){return d}c=N[a>>2];if(h>>>0>k>>>0){e=0;f=f+1|0;if((i|0)==(f|0)){break a}}N[a+36>>2]=f;N[a+28>>2]=h;L[a+24|0]=1;d:{if(!(d>>>0>2]?d:0)){Jl(a);d=0;if(!O[a+24|0]){break d}d=N[a+32>>2];break d}N[a+32>>2]=d}e=d;N[b>>2]=N[a+28>>2]}return e}function wi(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0;k=La-48|0;La=k;N[k+44>>2]=b;m=N[a+36>>2];N[k+40>>2]=0;N[k+32>>2]=0;N[k+36>>2]=0;N[k+24>>2]=0;N[k+28>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+8>>2]=0;N[k+12>>2]=0;L[k+7|0]=0;a:{b:{c:{if(!m){break c}n=N[m+28>>2];if(!n){break c}Qa[n|0](N[m+40>>2],b,k+8|0);b=N[k+28>>2];if(b){break b}l=N[k+12>>2]}_a(l);N[k+24>>2]=0;N[k+28>>2]=1;N[k+40>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+8>>2]=0;N[k+32>>2]=0;N[k+36>>2]=0;l=k+44|0;N[k+12>>2]=l;b=1;break a}l=N[k+12>>2]}b=Bo(a,l,b,c,d,e,f,g,h,i,j,k+7|0);d:{if(b){break d}b=0;if(!N[m+24>>2]|(O[k+7|0]|!m)){break d}l=N[k+28>>2];if((l|0)>0){while(1){Qa[N[m+24>>2]](N[m+40>>2],N[a>>2],m,N[N[k+12>>2]+(b<<2)>>2]);b=b+1|0;l=N[k+28>>2];if((b|0)<(l|0)){continue}break}}b=Bo(a,N[k+12>>2],l,c,d,e,f,g,h,i,j,k+7|0)}a=N[k+12>>2];if((a|0)!=(k+44|0)){c=0;if(N[k+28>>2]>0){while(1){_a(N[N[k+12>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}a=N[k+12>>2]}_a(a)}La=k+48|0;return b}function YD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=U(0),f=0;a:{b:{d=N[a+24>>2];f=d+92|0;b=xc(f);b=O[b|0]|O[b+1|0]<<8;if(!(!c|!b)){b=xc(f);b=O[b+4|0]|O[b+5|0]<<8;e=Gc(Hc(d+132|0),1986098019,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(R[a+44>>2]*U(V(U(e+U((b<<8|b>>>8)<<16>>16)))))+U(.5))));if(!(U(V(e))>2]=~~e;break a}if(b){break a}return 0}N[c>>2]=-2147483648}d=N[a+24>>2];b=d+92|0;f=xc(b);if(!(O[f|0]|O[f+1|0]<<8)){return 0}b=xc(b);b=O[b+6|0]|O[b+7|0]<<8;e=Gc(Hc(d+132|0),1986294627,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(.5)-U(R[a+44>>2]*U(V(U(e+U((b<<8|b>>>8)<<16>>16))))))));c:{if(U(V(e))>2]=b;d=N[a+24>>2];b=d+92|0;f=xc(b);f=O[f|0]|O[f+1|0]<<8;if(f){b=xc(b);b=O[b+8|0]|O[b+9|0]<<8;e=Gc(Hc(d+132|0),1986815856,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(R[a+44>>2]*U(e+U((b<<8|b>>>8)<<16>>16)))+U(.5))));d:{if(U(V(e))>2]=a}return(f|0)!=0|0}function Gc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=U(0);e=O[a+8|0]|O[a+9|0]<<8;a:{if(!e){break a}g=O[a+6|0]|O[a+7|0]<<8;j=(g<<8|g>>>8)&65535;k=a+12|0;g=((e<<8|e>>>8)&65535)-1|0;while(1){b:{h=g+i>>>1|0;e=T(j,h)+k|0;f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c:{if(f>>>0>b>>>0){g=h-1|0;break c}if((b|0)==(f|0)){break b}i=h+1|0}if((g|0)>=(i|0)){continue}break a}break}b=O[a+10|0]|O[a+11|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=275552}b=O[a+6|0]|O[a+7|0]<<8;f=(b<<8|b>>>8)&65535;b=e;e=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);b=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0<=b>>>0){break a}b=a+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}f=e>>>8&65280|e>>>24;e=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(e){a=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{a=275552}l=Fc(b,f,c,d,a,0)}return l}function bx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La-320|0;La=c;i=N[a+100>>2];Qa[N[b+60>>2]](b,c+272|0,4,c+268|0);d=N[c+268>>2];a:{if((d|0)<0){g=162;break a}g=3;if(d-5>>>0<4294967292){break a}j=N[b+8>>2];k=N[b>>2];g=_f(a,0,d);if(g){break a}b:{if(N[c+268>>2]>0){l=N[a+532>>2]+88|0;g=3;while(1){a=T(h,12);d=a+(c+272|0)|0;N[b>>2]=N[d>>2];N[b+8>>2]=N[d+4>>2];Qa[N[b+60>>2]](b,c+16|0,20,c+12|0);e=N[c+12>>2];if(e-21>>>0<4294967276){break a}d=a+l|0;if(N[d+4>>2]){break a}f=e<<3;e=Qa[N[i+4>>2]](i,f)|0;if(!e){break b}a=0;C(e,0,f);N[d+4>>2]=e;f=N[c+12>>2];N[d+8>>2]=e+(f<<2);L[d|0]=f;if((f|0)>0){while(1){e=(c+16|0)+T(a,12)|0;N[b>>2]=N[e>>2]+1;N[b+8>>2]=N[e+4>>2]-1;e=Qa[N[b+36>>2]](b)|0;f=a<<2;N[f+N[d+4>>2]>>2]=e;e=Qa[N[b+40>>2]](b,0)|0;N[f+N[d+8>>2]>>2]=e;a=a+1|0;if((a|0)>2]){continue}break}}h=h+1|0;if((h|0)>2]){continue}break}}N[b+8>>2]=j;N[b>>2]=k;g=0;break a}N[d+4>>2]=0;g=64}N[b+12>>2]=g;La=c+320|0}function Wh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-16|0;La=g;a:{if(L[a+376|0]&1){i=N[a+52>>2];j=N[a+48>>2];l=P[a+46>>1];k=P[a+44>>1];h=N[a+36>>2];m=N[a+40>>2];f=a- -64|0;n=N[f+4>>2];N[g+8>>2]=N[f>>2];N[g+12>>2]=n;f=N[a+60>>2];N[g>>2]=N[a+56>>2];N[g+4>>2]=f;f=a+290|0;break a}i=N[a+88>>2];j=N[a+84>>2];l=P[a+82>>1];k=P[a+80>>1];h=N[a+72>>2];m=N[a+76>>2];f=N[a+104>>2];N[g+8>>2]=N[a+100>>2];N[g+12>>2]=f;f=N[a+96>>2];N[g>>2]=N[a+92>>2];N[g+4>>2]=f;f=a+292|0}f=P[f>>1];b:{if(f>>>0>=k>>>0){if(O[a+593|0]){N[a+12>>2]=134}M[e>>1]=0;a=1;break b}N[d+16>>2]=i;N[d+12>>2]=j;M[d+10>>1]=l;M[d+8>>1]=k;N[d>>2]=h;N[d+4>>2]=m;h=N[g+4>>2];N[d+20>>2]=N[g>>2];N[d+24>>2]=h;h=N[g+12>>2];N[d+28>>2]=N[g+8>>2];N[d+32>>2]=h;M[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=Qa[N[a+604>>2]](a,N[d>>2]-N[b>>2]|0,N[d+4>>2]-N[b+4>>2]|0)|0;o=e,p=jb(b,M[a+302>>1],N[a+596>>2]),N[o>>2]=p;o=c,p=jb(b,M[a+304>>1],N[a+596>>2]),N[o>>2]=p;a=0}La=g+16|0;return a}function tC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=La-16|0;La=g;h=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{b:{c:{d=N[b+40>>2];if(!d){break c}e=(N[b+36>>2]<<2)+d|0;f=e-4|0;if(f>>>0>=d>>>0){while(1){c=N[f>>2];d:{if(N[c+4>>2]!=1970170211){break d}e:{switch(P[c+8>>1]){case 0:if(P[c+10>>1]==4){break b}break d;case 3:break e;default:break d}}if(P[c+10>>1]==10){break b}}f=f-4|0;if(f>>>0>=d>>>0){continue}break}}while(1){e=e-4|0;if(e>>>0>>0){break c}c=N[e>>2];if(N[c+4>>2]!=1970170211){continue}break}break b}N[b+92>>2]=0;break a}N[b+92>>2]=c;Hp(a,b);Gp(a);d=N[b+40>>2]}f:{if(!h|!d){break f}a=N[b+36>>2];if((a|0)<=0){break f}a=(a<<2)+d|0;while(1){g:{if(N[d>>2]!=(h|0)){break g}c=N[h>>2];h:{if(!c){break h}c=N[c+96>>2];e=N[N[c>>2]+32>>2];if(!e){break h}c=Qa[e|0](c,10557)|0;if(!c){break h}if(Qa[N[c>>2]](h,g+8|0)|0){break h}if(N[g+12>>2]==14){break g}}N[b+92>>2]=N[d>>2];break f}d=d+4|0;if(a>>>0>d>>>0){continue}break}}La=g+16|0;return 0}function Tw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=6;g=N[a+532>>2];a:{if(!g){break a}if(!(b|c)){e=N[g>>2];if(!e){return 0}a=N[g+136>>2];b=N[g+140>>2];h=0;if(e>>>0>=4){g=e&-4;while(1){c=f<<2;N[c+a>>2]=N[b+c>>2];d=c|4;N[d+a>>2]=N[b+d>>2];d=c|8;N[d+a>>2]=N[b+d>>2];c=c|12;N[c+a>>2]=N[b+c>>2];f=f+4|0;if((g|0)!=(f|0)){continue}break}}g=e&3;if(!g){break a}c=0;while(1){e=f<<2;N[e+a>>2]=N[b+e>>2];f=f+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}break a}if(!c){break a}j=N[g>>2];h=b>>>0>j>>>0?j:b;b:{if(!h){break b}e=N[g+136>>2];if(h>>>0>=4){k=h&-4;while(1){d=f<<2;N[d+e>>2]=N[c+d>>2];i=d|4;N[i+e>>2]=N[c+i>>2];i=d|8;N[i+e>>2]=N[c+i>>2];d=d|12;N[d+e>>2]=N[c+d>>2];f=f+4|0;if((k|0)!=(f|0)){continue}break}}d=h&3;if(!d){break b}while(1){k=f<<2;N[k+e>>2]=N[c+k>>2];f=f+1|0;l=l+1|0;if((d|0)!=(l|0)){continue}break}}if(b>>>0>>0){C(N[g+136>>2]+(h<<2)|0,0,j-h<<2)}h=0;N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return h|0}function yg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+36>>2];a:{h=N[c+4>>2];b:{if((h|0)<(e|0)){break b}k=(b<<3)+c|0;j=N[k+4>>2];if((j|0)>(f|0)){break b}i=h;l=N[a+4>>2];h=0-l|0;i=i&h;m=(i|0)<(f|0);c:{if((e|0)>(j|0)){h=e;break c}e=l-1|0;h=h&e+j;if(e&j&65535){e=h;break c}if(O[a+79|0]){L[a+79|0]=0;g=g-4|0}N[g>>2]=N[k>>2];e=h+l|0;g=g+4|0}if(O[a+78|0]){N[N[a+80>>2]+20>>2]=h>>N[a>>2];L[a+78|0]=0}h=m?i:f;if((h|0)<(e|0)){break b}if(Q[a+32>>2]<=((h-e>>N[a>>2]<<2)+g|0)+4>>>0){break a}j=0-b|0;l=b<<3;f=c;while(1){L[a+79|0]=0;b=N[f+4>>2];d:{if((b|0)>(e|0)){i=b;b=f+l|0;k=N[b+4>>2];i=i-k|0;if((i|0)>=N[a+16>>2]){Qa[d|0](f);break d}b=N[b>>2];N[g>>2]=((T(N[f>>2]-b|0,e-k|0)|0)/(i|0)|0)+b;g=g+4|0;e=N[a+4>>2]+e|0;b=(j<<3)+f|0;break d}if((b|0)==(e|0)){L[a+79|0]=1;N[g>>2]=N[f>>2];g=g+4|0;e=N[a+4>>2]+e|0}b=(j<<3)+f|0}f=b;if(f>>>0>>0){break b}if((e|0)<=(h|0)){continue}break}}N[a+36>>2]=g;return 0}N[a+40>>2]=98;N[a+36>>2]=g;return 1}function zD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;b=0;a:{if(N[N[a+96>>2]+40>>2]!=N[147122]){if(!c){break a}h=0;while(1){b=N[a+96>>2];i=N[b+40>>2];j=N[a+100>>2];k=N[d>>2];b=N[b+12>>2];if(b){b=N[b+20>>2]}else{b=0}l=f,m=Qa[i|0](a,j,k,b)|0,N[l>>2]=m;f=f+g|0;d=d+e|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}break a}h=N[a+20>>2];i=N[h+96>>2];j=N[i+48>>2];k=N[h+100>>2];i=N[i+12>>2];if(i){i=N[i+28>>2]}else{i=0}Qa[j|0](h,k,c,d,e,f,g,i);if(!c){break a}e=N[a+20>>2];if(!e){break a}if((c|0)!=1){i=c&1;j=c&-2;while(1){c=N[f>>2];d=N[e+28>>2];h=N[a+28>>2];if((d|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,d,d>>31)}N[f>>2]=c;d=f+g|0;c=N[d>>2];f=N[e+28>>2];h=N[a+28>>2];if((f|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,f,f>>31)}N[d>>2]=c;f=d+g|0;b=b+2|0;if((j|0)!=(b|0)){continue}break}if(!i){break a}}b=N[f>>2];c=N[e+28>>2];a=N[a+28>>2];if((c|0)!=(a|0)){b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}N[f>>2]=b}}function yD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;b=0;a:{if(N[N[a+96>>2]+44>>2]!=N[147123]){if(!c){break a}h=0;while(1){b=N[a+96>>2];i=N[b+44>>2];j=N[a+100>>2];k=N[d>>2];b=N[b+12>>2];if(b){b=N[b+24>>2]}else{b=0}l=f,m=Qa[i|0](a,j,k,b)|0,N[l>>2]=m;f=f+g|0;d=d+e|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}break a}h=N[a+20>>2];i=N[h+96>>2];j=N[i+52>>2];k=N[h+100>>2];i=N[i+12>>2];if(i){i=N[i+32>>2]}else{i=0}Qa[j|0](h,k,c,d,e,f,g,i);if(!c){break a}e=N[a+20>>2];if(!e){break a}if((c|0)!=1){i=c&1;j=c&-2;while(1){c=N[f>>2];d=N[e+32>>2];h=N[a+32>>2];if((d|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,d,d>>31)}N[f>>2]=c;d=f+g|0;c=N[d>>2];f=N[e+32>>2];h=N[a+32>>2];if((f|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,f,f>>31)}N[d>>2]=c;f=d+g|0;b=b+2|0;if((j|0)!=(b|0)){continue}break}if(!i){break a}}b=N[f>>2];c=N[e+32>>2];a=N[a+32>>2];if((c|0)!=(a|0)){b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}N[f>>2]=b}}function Bc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=6;a:{if(!a|!c){break a}g=N[c>>2];if(!g){break a}i=N[g+100>>2];h=N[a>>2];b:{c:{if((h|0)<=0){if(!h){break c}break b}e=Qa[N[i+4>>2]](i,h)|0;if(!e){f=64;e=0;break b}C(e,0,h)}f=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=f;N[e+8>>2]=N[c+8>>2];N[e+12>>2]=a;d:{a=N[a+4>>2];if(a){f=Qa[a|0](e,b)|0;if(f){break d}}a=N[g+36>>2];b=a+1|0;if((a|b)<0){f=6;break d}h=N[g+40>>2];e:{f:{g:{if(!b){c=0;if(!h){break g}Qa[N[i+8>>2]](i,h);N[g+40>>2]=0;break e}f=10;if((a|0)>536870910){break d}h:{if(!a){c=Qa[N[i+4>>2]](i,b<<2)|0;f=!c<<6;break h}b=Qa[N[i+12>>2]](i,a<<2,b<<2,h)|0;c=b?b:h;f=!b<<6}if(f|!c){break f}a=(a<<2)+c|0;L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0}N[g+40>>2]=c;break e}N[g+40>>2]=c;if(f){break d}}a=N[g+36>>2];N[g+36>>2]=a+1;N[(a<<2)+c>>2]=e;f=0;break b}a=N[N[e>>2]+100>>2];b=N[N[e+12>>2]+8>>2];if(b){Qa[b|0](e)}Qa[N[a+8>>2]](a,e);e=0}if(!d){break a}N[d>>2]=e}return f|0}function Rh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if((c|0)<0|b>>>0>>0){break a}i=N[a+28>>2];b:{if(!c){break b}if((c|0)>536870911){break a}b=c<<2;f=Qa[N[i+4>>2]](i,b)|0;if(!(!f|(c|0)<=0)){C(f,0,b);break b}if(!f<<6){break a}}while(1){if(c>>>0<=e>>>0){return f}g=0;c:{d:{j=N[a+36>>2];d=N[a+32>>2];e:{if(j>>>0<=d>>>0){b=d;h=0;d=0;break e}b=d+1|0;N[a+32>>2]=b;d=L[d|0];h=d&63;if((d|0)<0){break d}d=d&255}if(d&64){while(1){d=0;if(b+1>>>0>>0){d=O[b|0]|O[b+1|0]<<8;d=d<<8|d>>>8;b=b+2|0}N[a+32>>2]=b;N[(e<<2)+f>>2]=d<<16;d=g+1|0;e=e+1|0;if(g>>>0>=h>>>0){break c}g=d;if(c>>>0>e>>>0){continue}break c}}while(1){d=0;if(b>>>0>>0){k=b+1|0;N[a+32>>2]=k;d=O[b|0];b=k}N[(e<<2)+f>>2]=d<<24>>24<<16;d=g+1|0;e=e+1|0;if(g>>>0>=h>>>0){break c}g=d;if(c>>>0>e>>>0){continue}break}break c}b=(e^-1)+c|0;b=b>>>0>>0?b:h;C((e<<2)+f|0,0,(b<<2)+4|0);d=b+1|0;e=e+d|0}if(d>>>0>h>>>0){continue}break}if(!f){break a}Qa[N[i+8>>2]](i,f)}return 0}function vb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=-1;a:{b:{c:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}e=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c|0;f=d>>>1|0;d=e+(d&-2)|0;d=O[d|0]|O[d+1|0]<<8;d=(d<<8|d>>>8)&65535;d:{if(d>>>0>b>>>0){a=f-1|0;break d}if((b|0)==(d|0)){break a}c=f+1|0}if((a|0)>=(c|0)){continue}break}return-1}e=241305;c=O[a+2|0]|O[a+3|0]<<8;e:{if(!c){break e}h=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;g=T(d,6)+h|0;i=O[g|0]|O[g+1|0]<<8;f:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){c=O[g+2|0]|O[g+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}e=T(d,6)+h|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}a=O[e+2|0]|O[e+3|0]<<8;c=(a<<8|a>>>8)&65535;a=O[e|0]|O[e+1|0]<<8;a=(a<<8|a>>>8)&65535;if(c>>>0>>0){break a}b=b-a|0;a=O[e+4|0]|O[e+5|0]<<8;f=b+((a<<8|a>>>8)&65535)|0}return f}function sn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=N[b+8>>2];d=g>>31;f=M[a+70>>1];c=f>>31;d=(d^g)-d|0;h=d>>>8|0;c=(c^f)-c|0;a:{if(h+c>>>0<=8190){e=T(c,d)+32768>>>16|0;break a}e=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;N[b+12>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)+63&-64;f=M[a+72>>1];c=f>>31;c=(c^f)-c|0;b:{if(c+h>>>0<=8190){e=T(c,d)+32768>>>16|0;break b}e=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;N[b+16>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)&-64;f=M[a+74>>1];c=f>>31;c=(c^f)-c|0;c:{if(c+h>>>0<=8190){c=T(c,d)+32768>>>16|0;break c}c=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}d=c;e=0-d|0;d=f>>31|1;N[b+20>>2]=((((g|0)<0?0-d|0:d)|0)<0?e:c)+32&-64;g=M[a+76>>1];d=g>>31;c=N[b+4>>2];a=c>>31;d=(d^g)-d|0;a=(a^c)-a|0;d:{if(d+(a>>>8|0)>>>0<=8190){e=T(a,d)+32768>>>16|0;break d}e=T(d,a>>>16|0)+(T(d,a&65535)+32768>>>16|0)|0}a=e;d=0-a|0;a=g>>31|1;N[b+24>>2]=((((c|0)<0?0-a|0:a)|0)<0?d:e)+32&-64}function zh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=N[a+52>>2];d=O[a+32|0];a:{b:{c:{if(d){break c}b=N[a+24>>2];if(b>>>0>=Q[a+28>>2]){break c}if(Q[a+56>>2]>2]){break b}}if(Q[a+56>>2]>=Q[a+60>>2]){c=c+1|0;N[a+52>>2]=c;f=-1;if(c>>>0>16){break a}N[a+60>>2]=Q[a+40>>2]>c>>>0?(1<>2]+1|0}if(d){N[a+60>>2]=256;N[a+52>>2]=9;L[a+32|0]=0;c=9}f=-1;if(N[a+4>>2]){break a}b=c;g=N[a+164>>2];h=N[g+4>>2];i=N[g+8>>2];if(h>>>0>i>>>0){d=a+8|0;b=N[g+20>>2];d:{if(b){e=Qa[b|0](g,i,d,c)|0;break d}b=h-i|0;e=b>>>0>>0?b:c;F(d,N[g>>2]+i|0,e)}N[g+8>>2]=N[g+8>>2]+e;b=N[a+52>>2]}N[a+24>>2]=0;d=e<<3;N[a+28>>2]=d;N[a+4>>2]=b>>>0>e>>>0;N[a+36>>2]=N[a+36>>2]+e;if(b>>>0>=d>>>0){break a}N[a+28>>2]=(d|1)-b;b=0;if(!e){break a}}N[a+24>>2]=b+c;d=(b>>>3|0)+a|0;h=d+8|0;b=b&7;f=O[h|0]>>>b|0;e=8-b|0;a=c-e|0;if(a>>>0<8){b=d+9|0}else{a=a-8|0;f=O[h+1|0]<>2];d=N[a+104>>2];e=N[a+100>>2];c=N[a+716>>2];if(c){Qa[c|0](N[a+712>>2])}if(b){Qa[N[b+12>>2]](a)}b=N[a+104>>2];a:{if(b){b:{if(!N[b+20>>2]){break b}c=N[a+764>>2];if(!c){break b}b=N[b+28>>2];Qa[N[b+8>>2]](b,c);b=N[a+104>>2]}N[a+760>>2]=0;N[a+764>>2]=0;c=N[a+784>>2];c:{if(c){f=N[b+28>>2];Qa[N[f+8>>2]](f,c);N[a+784>>2]=0;break c}N[a+784>>2]=0;if(!b){break a}}if(!N[b+20>>2]){break a}c=N[a+768>>2];if(!c){break a}b=N[b+28>>2];Qa[N[b+8>>2]](b,c);break a}N[a+784>>2]=0;N[a+760>>2]=0;N[a+764>>2]=0}N[a+768>>2]=0;b=N[a+704>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+700>>2]=0;N[a+704>>2]=0;d:{if(d){e:{if(!N[d+20>>2]){break e}b=N[a+688>>2];if(!b){break e}e=N[d+28>>2];Qa[N[e+8>>2]](e,b)}N[a+688>>2]=0;if(!N[d+20>>2]){break d}b=N[a+696>>2];if(!b){break d}d=N[d+28>>2];Qa[N[d+8>>2]](d,b);break d}N[a+688>>2]=0}N[a+684>>2]=0;N[a+692>>2]=0;N[a+696>>2]=0;dn(a);N[a+736>>2]=0}}function td(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0){break a}g=d-a|0;if(g>>>0<2){break a}e=N[b+12>>2];f=e-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=O[a|0]|O[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}if(g>>>0<6){break a}c=e-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+6|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=T((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function Uf(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=N[a+100>>2];b=N[a+292>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+292>>2]=0;b=N[a+308>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+308>>2]=0;b=N[a+284>>2];if(b){b:{if(N[a+280>>2]>0){b=0;while(1){d=N[a+284>>2];c:{if(!d){break c}d=d+T(b,12)|0;e=N[d>>2];if(e){Qa[N[c+8>>2]](c,e)}N[d>>2]=0;if(!O[d+4|0]){break c}e=N[d+8>>2];if(e){Qa[N[c+8>>2]](c,e)}N[d+8>>2]=0}b=b+1|0;if((b|0)>2]){continue}break}b=N[a+284>>2];if(!b){break b}}Qa[N[c+8>>2]](c,b)}N[a+284>>2]=0}b=N[a+192>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+192>>2]=0;b=N[a+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+32>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+32>>2]=0;b=N[a+176>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+176>>2]=0;b=N[a+180>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+180>>2]=0;c=N[a+104>>2];if((c|0)!=(a+132|0)){break a}b=N[c+24>>2];if(b){Qa[b|0](c)}N[a+104>>2]=N[a+172>>2]}}function HA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a+28>>2];if(O[d+44|0]){break b}c=To(d,N[b>>2],N[b+4>>2]);if(!c){break b}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=c;return}c:{c=N[d+12>>2];if((M[c+22>>1]+M[c+58>>1]|0)+3>>>0<=Q[c+4>>2]){break c}c=Sb(c,3,0);if(!c){break c}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=c;return}a=N[d+20>>2];d:{e:{f:{if(!O[d+45|0]){b=P[a+2>>1]+1|0;M[a+2>>1]=b;break f}c=N[a+8>>2];e=N[b+8>>2];f=M[a+2>>1];g=N[a+4>>2]+(f<<3)|0;N[g+4>>2]=N[b+12>>2]>>10;N[g>>2]=e>>10;L[c+f|0]=2;e=O[d+45|0];c=N[d+20>>2];M[a+2>>1]=P[a+2>>1]+1;if(e){break e}b=P[c+2>>1];a=c}M[a+2>>1]=b+1;break d}a=N[c+8>>2];e=N[b+16>>2];f=M[c+2>>1];g=N[c+4>>2]+(f<<3)|0;N[g+4>>2]=N[b+20>>2]>>10;N[g>>2]=e>>10;L[a+f|0]=2;e=O[d+45|0];a=N[d+20>>2];M[c+2>>1]=P[c+2>>1]+1;if(!e){break d}c=N[a+8>>2];d=N[b+24>>2];e=M[a+2>>1];f=N[a+4>>2]+(e<<3)|0;N[f+4>>2]=N[b+28>>2]>>10;N[f>>2]=d>>10;L[c+e|0]=1}M[a+2>>1]=P[a+2>>1]+1}}function Qj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{i=N[a+32>>2];if(!i){break a}j=N[a+24>>2];if(!j|N[a+20>>2]==275552){break a}d=b>>>9|0;f=N[a+28>>2];e=N[f+32>>2];b:{c:{d:{g=N[f+28>>2];c=N[f+20>>2];if(g>>>0<=c>>>0){break d}c=(c<<3)+e|0;if(N[c>>2]!=(d|0)){break d}d=c+4|0;break c}c=0;if((g|0)<=0){break b}h=g-1|0;e:{while(1){c=h+k>>>1|0;l=N[(c<<3)+e>>2];f:{if((l|0)>(d|0)){h=c-1|0;break f}if((d|0)==(l|0)){break e}k=c+1|0}if((h|0)>=(k|0)){continue}break}c=0;break b}N[f+20>>2]=c;d=(c>>>0>=g>>>0?275552:(c<<3)+e|0)+4|0}e=N[f+44>>2];c=0;if(!e){break b}c=(e+(N[d>>2]<<6)|0)+(b>>>3&56)|0;g=N[c>>2];e=N[c+4>>2];d=b&63;c=d&31;c=(d>>>0>=32?e>>>c|0:((1<>>c)&1}if((c|0)!=O[f+48|0]){break a}f=N[a+16>>2];N[a+16>>2]=275552;c=N[a+12>>2];d=N[a+8>>2];N[a+12>>2]=275552;N[a+32>>2]=i-1;N[a+8>>2]=275552;Qa[j|0](a,b);N[a+16>>2]=f;N[a+8>>2]=d;N[a+12>>2]=c;N[a+32>>2]=N[a+32>>2]+1;tc(N[a+28>>2],b)}}function Dd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;Tb(a,N[a+8>>2]);c=N[a>>2];N[d+12>>2]=c;f=N[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=O[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}N[b>>2]=c;N[b+8>>2]=2;if(Mi(d+12|0,f)){break e}break d}N[b>>2]=c;N[b+8>>2]=3;if(!ap(d+12|0,f)){break d}break e}N[b>>2]=c;N[b+8>>2]=3;N[a>>2]=c+1;Tb(a,f);c=N[a>>2];h:{if(f>>>0<=c>>>0){break h}e=1;while(1){if(N[a+12>>2]){break h}i:{j:{switch(O[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break i}c=c+1|0;N[d+12>>2]=c;N[b+4>>2]=c;break a;case 0:break j;default:break i}}e=e+1|0}Ni(a);Tb(a,N[a+8>>2]);c=N[a>>2];if(f>>>0>c>>>0){continue}break}}N[d+12>>2]=c;break e}N[b>>2]=c;N[b+8>>2]=O[c|0]==47?4:1;Ni(a);c=N[a>>2];N[d+12>>2]=c;if(!N[a+12>>2]){break c}}c=N[b+4>>2];break b}c=N[d+12>>2]}N[b+4>>2]=c}if(c){break a}N[b+8>>2]=0;N[b>>2]=0}N[a>>2]=N[d+12>>2]}La=d+16|0}function JD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if((d|0)<=0){break a}i=a+16|0;a=d-1|0;while(1){g=a+f>>>1|0;d=T(g,12)+i|0;h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b:{if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0<=b>>>0){d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>>0){f=g+1|0;break b}e=T(g,12)+i|0;break a}a=g-1|0}if((a|0)>=(f|0)){continue}break}}a=0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);c:{if(f>>>0>(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break c}d=b-f|0;b=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;if(!b){break c}N[c>>2]=b;a=1}return a|0}function Iz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=La-96|0;La=d;e=so(N[a>>2],N[a+4>>2],b,c);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);c=0|b;hb(d+80|0,e^c^2025677871,b^Pa^-1602871964,0,0,c^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);b=a|f;hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,b^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+96|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function Fd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{i=N[b+4>>2];if(i>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}d=N[b+12>>2];c=d-2|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8;b:{if(!c){break b}if(a+2>>>0>=f>>>0){break a}d=d-3|0;N[b+12>>2]=d;if(!d){break a}e=O[a+2|0];if((e-1&255)>>>0>3){break a}j=(c<<8|c>>>8)&65535;g=T(e,j+1|0);h=a+3|0;if(g>>>0>f-h>>>0){break a}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=-1;a=T(e,j)+h|0;c:{d:{e:{switch(e-1|0){case 0:a=O[a|0];break d;case 1:a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break d;case 2:a=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);break d;case 3:break e;default:break c}}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}c=a-1|0;if(c){break c}return 1}a=g+h|0;if(a>>>0>>0|a>>>0>f>>>0){break a}e=0;if(f-a>>>0>>0){break b}a=d-c|0;N[b+12>>2]=a;e=(a|0)>0}return e}return 0}function _h(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=La-32|0;La=h;a:{if(!b){b=6;break a}i=N[a>>2];g=Qa[N[i+4>>2]](i,40)|0;if(!g){Qa[N[i+8>>2]](i,b);b=64;break a}L[g+20|0]=0;L[g+21|0]=0;L[g+22|0]=0;L[g+23|0]=0;L[g+24|0]=0;L[g+25|0]=0;L[g+26|0]=0;L[g+27|0]=0;L[g+12|0]=0;L[g+13|0]=0;L[g+14|0]=0;L[g+15|0]=0;L[g+16|0]=0;L[g+17|0]=0;L[g+18|0]=0;L[g+19|0]=0;N[g+8>>2]=0;N[g+4>>2]=c;N[g>>2]=b;L[g+36|0]=0;L[g+37|0]=0;L[g+38|0]=0;L[g+39|0]=0;L[g+28|0]=0;L[g+29|0]=0;L[g+30|0]=0;L[g+31|0]=0;L[g+32|0]=0;L[g+33|0]=0;L[g+34|0]=0;L[g+35|0]=0;N[g+24>>2]=113;N[h+16>>2]=g;N[h>>2]=2;if(e){N[h>>2]=10;c=N[a+16>>2];b:{if((c|0)<=0){c=0;break b}b=a+20|0;j=b+(c<<2)|0;while(1){c=N[b>>2];if(!cb(N[N[c>>2]+8>>2],e)){break b}b=b+4|0;if(j>>>0>b>>>0){continue}break}c=0}N[h+20>>2]=c}b=Td(a,h,d,f,0);if(!b){a=N[f>>2];N[a+8>>2]=N[a+8>>2]&-1025;b=0;break a}a=N[g+24>>2];if(a){Qa[a|0](g)}Qa[N[i+8>>2]](i,g)}La=h+32|0;return b}function jo(){sa(584844,16753);ra(584864,13202,1,1,0);ga(584872,12216,1,-128,127);ga(584888,12209,1,-128,127);ga(584880,12207,1,0,255);ga(584896,8776,2,-32768,32767);ga(584904,8767,2,0,65535);ga(584912,9191,4,-2147483648,2147483647);ga(584920,9182,4,0,-1);ga(584928,14531,4,-2147483648,2147483647);ga(584936,14522,4,0,-1);Ln(584944,9764,-2147483648,2147483647);Ln(584952,9763,0,-1);pa(584960,9670,4);pa(584968,16035,8);qa(440720,14562);qa(440792,20995);la(440864,4,14536);la(440940,2,14574);la(441016,4,14589);Ka(441044,13355);ea(441084,0,20926);ea(441124,0,21028);ea(441164,1,20956);ea(441204,2,20491);ea(441244,3,20522);ea(441284,4,20562);ea(441324,5,20591);ea(441364,4,21065);ea(441404,5,21095);ea(441124,0,20693);ea(441164,1,20660);ea(441204,2,20759);ea(441244,3,20725);ea(441284,4,20893);ea(441324,5,20859);ea(441444,8,20826);ea(441484,9,20792);ea(441524,6,20629);ea(441564,7,21134)}function $i(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=N[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<20){break a}e=N[b+12>>2];c=e-20|0;N[b+12>>2]=c;if((O[a|0]|O[a+1|0]<<8)!=256|(c|0)<=0){break a}c=a+8|0;if(c>>>0>f>>>0|f-c>>>0<4){break a}d=O[a+4|0]|O[a+5|0]<<8;g=O[a+6|0]|O[a+7|0]<<8;e=e-24|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break a}d=T((g<<8|g>>>8)&65535,(d<<8|d>>>8)&65535);if((d|0)<0){break a}d=d<<1;if(d){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>f>>>0|d>>>0>f-c>>>0){break a}e=e-d|0;N[b+12>>2]=e;if((e|0)<=0){break a}}c=O[a+12|0]|O[a+13|0]<<8;c=(c<<8|c>>>8)&65535;d=a+20|0;g=f-d|0;b:{if(L[a+15|0]&1){if(d>>>0>f>>>0){break a}a=(c<<2)+4|0;if(g>>>0>=a>>>0){break b}break a}if(d>>>0>f>>>0){break a}a=(c<<1)+2|0;if(g>>>0>>0){break a}}a=e-a|0;N[b+12>>2]=a;i=(a|0)>0}return i}function Db(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=N[a+112>>2];d=N[a+116>>2];g=(b|d)!=0;f=b;c=N[a+4>>2];h=N[a+44>>2];b=c-h|0;i=b;e=b+N[a+120>>2]|0;b=N[a+124>>2]+(b>>31)|0;a:{b=e>>>0>>0?b+1|0:b;if(!(((b|0)>=(d|0)&e>>>0>=f>>>0|(b|0)>(d|0))&g)){d=La-16|0;La=d;c=-1;b:{if(mi(a)){break b}if((Qa[N[a+32>>2]](a,d+15|0,1)|0)!=1){break b}c=O[d+15|0]}La=d+16|0;d=c;if((c|0)>=0){break a}h=N[a+44>>2];c=N[a+4>>2]}N[a+112>>2]=-1;N[a+116>>2]=-1;N[a+104>>2]=c;d=h-c|0;c=d+e|0;b=(d>>31)+b|0;N[a+120>>2]=c;N[a+124>>2]=c>>>0>>0?b+1|0:b;return-1}c=e+1|0;b=c?b:b+1|0;g=N[a+4>>2];h=N[a+8>>2];f=N[a+116>>2];i=f;e=N[a+112>>2];c:{if(!(f|e)){break c}f=e-c|0;e=i-(b+(c>>>0>e>>>0)|0)|0;j=h-g|0;i=j>>31;if((e|0)>=(i|0)&f>>>0>=j>>>0|(e|0)>(i|0)){break c}h=f+g|0}N[a+104>>2]=h;e=N[a+44>>2];f=e-g|0;c=f+c|0;b=(f>>31)+b|0;N[a+120>>2]=c;N[a+124>>2]=c>>>0>>0?b+1|0:b;if(e>>>0>=g>>>0){L[g-1|0]=d}return d}function Oh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=N[b+4>>2]+(c<<4)|0;m=N[l+4>>2];if(!m){return 0}p=N[l+12>>2]+(T(d,m)<<1)|0;n=P[b+8>>1];while(1){a:{if(!n){d=65536;break a}c=N[N[b+16>>2]+(N[N[l+8>>2]+(k<<2)>>2]<<2)>>2];e=0;d=65536;while(1){g=d;i=N[c>>2];f=N[c+4>>2];b:{if((i|0)>(f|0)){break b}j=N[c+8>>2];if(!f|(f|0)>(j|0)){break b}if((i|0)<0&(j|0)>0){break b}h=N[N[N[a+736>>2]+8>>2]+(e<<2)>>2];if((f|0)==(h|0)){break b}d=0;if((h|0)<=(i|0)|(h|0)>=(j|0)){break a}if((f|0)>(h|0)){g=jb(g,h-i|0,f-i|0);break b}g=jb(g,j-h|0,j-f|0)}d=g;c=c+12|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}g=M[(k<<1)+p>>1];c=g<<16;e=c>>31;e=(c^e)-e|0;c=d>>31;c=(c^d)-c|0;c:{if((e>>>8|0)+c>>>0<=8190){e=T(c,e)>>>16|0;break c}e=T(c&65535,e>>>16|0)+T(e,c>>>16|0)|0}c=e;f=0-c|0;c=d>>31|1;o=(((g<<16>>16<0?0-c|0:c)|0)<0?f:e)+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}return o+32768>>16}function Gq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=db(1,16);a:{if(!f){break a}d=N[a+44>>2];if((d|0)<=0){break a}e=N[a+48>>2];d=d-1|0;a=d;b:{while(1){b=a>>>1|0;if(!N[T(b,36)+e>>2]){a=N[(T(b,36)+e|0)+28>>2];break b}c=a>>>0>1;a=b-1|0;if(c){continue}break}a=0}N[f>>2]=a;b=0;a=d;c:{while(1){c=a+b>>>1|0;g=N[T(c,36)+e>>2];d:{if(g>>>0<=1818914159){b=N[(T(c,36)+e|0)+28>>2];if((g|0)==1818914159){break c}b=c+1|0;break d}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}N[f+4>>2]=b;b=0;a=d;e:{while(1){c=a+b>>>1|0;g=N[T(c,36)+e>>2];f:{if(g>>>0<=1986686319){b=N[(T(c,36)+e|0)+28>>2];if((g|0)==1986686319){break e}b=c+1|0;break f}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}N[f+8>>2]=b;a=0;g:{while(1){b=a+d>>>1|0;c=N[T(b,36)+e>>2];h:{if(c>>>0<=1953131887){a=N[(T(b,36)+e|0)+28>>2];if((c|0)==1953131887){break g}a=b+1|0;break h}d=b-1|0}if((a|0)<=(d|0)){continue}break}a=0}N[f+12>>2]=a}return f|0}function Rb(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if(O[b|0]){g=S[b+8>>3];break a}L[b|0]=1;g=S[b+8>>3];f=S[a+4392>>3];if(g>f){S[b+8>>3]=f;g=f;f=S[a+4392>>3]}if(f>S[b+24>>3]){S[b+24>>3]=f}f=S[a+4400>>3];if(f>3]){S[b+16>>3]=f;f=S[a+4400>>3]}if(!(S[b+32>>3]>3]=f}f=S[c>>3];if(g>f){S[b+8>>3]=f;g=f;f=S[c>>3]}h=S[b+24>>3];if(f>h){S[b+24>>3]=f;h=f}i=S[b+16>>3];f=S[c+8>>3];if(i>f){S[b+16>>3]=f;i=f;f=S[c+8>>3]}j=S[b+32>>3];if(f>j){S[b+32>>3]=f;j=f}f=S[d>>3];if(f>3]=f;f=S[d>>3]}if(f>h){S[b+24>>3]=f}g=S[d+8>>3];if(i>g){S[b+16>>3]=g;g=S[d+8>>3]}if(g>j){S[b+32>>3]=g}c=N[e+4>>2];N[a+4392>>2]=N[e>>2];N[a+4396>>2]=c;d=N[e+12>>2];c=a+4400|0;N[c>>2]=N[e+8>>2];N[c+4>>2]=d;g=S[a+4392>>3];if(g>3]){S[b+8>>3]=g;g=S[a+4392>>3]}if(S[b+24>>3]>3]=g}g=S[a+4400>>3];if(g>3]){S[b+16>>3]=g;g=S[a+4400>>3]}if(S[b+32>>3]>3]=g}}function qh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[b+4>>2];a:{if(k>>>0>a>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(h>>>0>1073741823){break a}j=h<<2;if(j){i=a+4|0;if(i>>>0>g>>>0|j>>>0>g-i>>>0){break a}d=d-j|0;N[b+12>>2]=d;if((d|0)<=0){break a}}if(!e){return 1}h=h>>>0<=1?1:h;j=a+4>>>0>>0;while(1){b:{c:{if(j){break c}f=(l<<2)+a|0;e=f+4|0;if(e>>>0>g>>>0|g-e>>>0<4){break c}i=d-4|0;N[b+12>>2]=i;if((d|0)<5){break c}f=O[f+6|0]|O[f+7|0]<<8;if(!f){d=i;break b}d=O[e|0]|O[e+1|0]<<8;d=((d<<8|d>>>8)&65535)+c|0;if(d>>>0>>0|d>>>0>g>>>0){break c}e=g-d|0;d=(f<<8|f>>>8)&65535;if(e>>>0>>0){break c}d=i-d|0;N[b+12>>2]=d;if((d|0)>0){break b}}f=0;break a}f=1;l=l+1|0;if((h|0)!=(l|0)){continue}break}}return f}function Gi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!((b|0)==(d|0)&(c|0)==(e|0))){g=N[a+28>>2];h=g+1|0;f=N[a+36>>2];a:{if(h>>>0<=f>>>0){f=N[a+20>>2];break a}f=f<<1;f=f>>>0<=64?64:f;while(1){g=f;f=f<<1;if(g>>>0>>0){continue}break}f=$a(N[a+20>>2],T(g,40));if(!f){return 0}N[a+36>>2]=g;N[a+20>>2]=f;g=N[a+28>>2];h=g+1|0}N[a+28>>2]=h;a=T(g,40)+f|0;N[a+36>>2]=(c|0)>(e|0)?c:e;N[a+32>>2]=(c|0)<(e|0)?c:e;N[a+28>>2]=(b|0)>(d|0)?b:d;N[a+24>>2]=(b|0)<(d|0)?b:d;d=d-b|0;f=(d|0)<0?62:60;e=e-c|0;N[a+20>>2]=(e|0)<0?f:f^3;i=d>>31;f=i;f=(f^d)-f|0;j=e>>31;g=j;g=(g^e)-g|0;g=(f|0)>(g|0)?f:g;h=W(g)^31;f=30-h|0;N[a+12>>2]=0-d<>2]=e<>31);e=Pa;f=1<>31);k=a,l=UE(f,f>>31,b-c|0,e-(Pa+(b>>>0>>0)|0)|0),N[k>>2]=l;N[a+4>>2]=Pa;b=a;a=g<<31-h;UE(a,0,a,0);UE(Pa,0,1395864371,0);c=Pa;UE(a,0,-1144608785,0);N[b+16>>2]=(c-Pa|0)-2012192179}return 1}function Ak(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;a:{if(Q[b+4>>2]>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}e=N[b+12>>2];d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(d>>>0>f>>>0|f-d>>>0<2){break a}h=e-6|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[d|0]|O[d+1|0]<<8;if(e){d=a+4|0;if(f>>>0>>0){break a}f=f-d|0;d=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break a}d=h-d|0;N[b+12>>2]=d;if((d|0)<=0){break a}}e=O[a|0]|O[a+1|0]<<8;b:{if(!e){break b}N[g+12>>2]=c?N[c>>2]:0;if(!zk(a,b,a,g+12|0)){break a}if(!c|(O[a|0]|O[a+1|0]<<8)|N[c>>2]!=1936292453){break b}d=N[c+4>>2];if(!d|a>>>0<=d>>>0){break b}e=(d-a|0)+((e<<8|e>>>8)&65535)|0;if(e>>>0>65535){break b}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}d=e<<8|(e&65280)>>>8;L[a|0]=d;L[a+1|0]=d>>>8;N[g+8>>2]=N[c>>2];if(!zk(a,b,a,g+8|0)){break a}}i=1}La=g+16|0;return i}function ll(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=N[a+68>>2];if(!i){N[a+68>>2]=0;return}while(1){a:{b:{d=N[a+80>>2];g=T(e,20);b=d+g|0;if(N[b>>2]==65535){g=N[b+8>>2];c:{d:{e:{c=e+1|0;if(c>>>0>>0){if(N[(T(c,20)+d|0)+8>>2]!=(g|0)){break e}break a}if(f){break d}break b}if(!f){break c}}h=N[(T(f,20)+d|0)-12>>2];if(h>>>0<=g>>>0){break a}j=N[b+4>>2]&7;e=f;while(1){e=e-1|0;b=T(e,20)+d|0;if((h|0)!=N[b+8>>2]){break a}N[b+4>>2]=j|N[b+4>>2]&-8;N[b+8>>2]=g;if(e){continue}break}break a}Ib(a,e,e+2|0);break b}if((e|0)!=(f|0)){h=N[b+4>>2];c=d;d=T(f,20);c=c+d|0;N[c>>2]=N[b>>2];N[c+4>>2]=h;N[c+16>>2]=N[b+16>>2];h=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=h;b=N[a+88>>2];c=b+d|0;b=b+g|0;d=N[b+4>>2];N[c>>2]=N[b>>2];N[c+4>>2]=d;d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;N[c+16>>2]=N[b+16>>2]}f=f+1|0;c=e+1|0;break a}f=0}e=c;if((i|0)!=(c|0)){continue}break}N[a+68>>2]=f}function $q(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{c:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=O[c+4|0]|O[c+5|0]<<8;if(!d){break a}d=(d<<8|d>>>8)&65535;f=d>>>0<=1?1:d;d=0;while(1){e=O[c+4|0]|O[c+5|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=d>>>0?275552:((d<<1)+c|0)+6|0;e=O[e|0]|O[e+1|0]<<8;if(((e<<8|e>>>8)&65535)==(b|0)){e=O[c+2|0]|O[c+3|0]<<8;tc(a,((e<<8|e>>>8)&65535)+d|0)}d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}e=O[c+2|0]|O[c+3|0]<<8;if(!e){break a}d=c+4|0;c=d+T((e<<8|e>>>8)&65535,6)|0;e=a+12|0;while(1){d:{f=O[d+4|0]|O[d+5|0]<<8;if(((f<<8|f>>>8)&65535)==(b|0)){f=O[d+2|0]|O[d+3|0]<<8;f=(f<<8|f>>>8)&65535;g=O[d|0]|O[d+1|0]<<8;g=(g<<8|g>>>8)&65535;if(!O[a+48|0]){break d}rd(e,g,f)}d=d+6|0;if((c|0)!=(d|0)){continue}break a}if(!Me(e,g,f)){break a}d=d+6|0;if((c|0)!=(d|0)){continue}break}}}function wc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=b>>>9|0;d=N[a+20>>2];a:{b:{c:{b=N[a+8>>2];c=N[a+16>>2];if(b>>>0>=c>>>0){break c}b=(b<<3)+d|0;if(N[b>>2]!=(e|0)){break c}b=b+4|0;break b}f=N[a+28>>2];b=0;d:{if((c|0)>0){g=c-1|0;while(1){c=b+g>>>1|0;h=N[(c<<3)+d>>2];e:{if((h|0)>(e|0)){g=c-1|0;break e}if((e|0)==(h|0)){b=c;break d}b=c+1|0}if((b|0)<=(g|0)){continue}break}}if(!Df(a,f+1|0)){break a}c=N[a+32>>2]+(f<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=b<<3;d=c+N[a+20>>2]|0;F(d+8|0,d,N[a+16>>2]+(b^-1)<<3);f:{if(Q[a+16>>2]<=b>>>0){N[147456]=0;N[147457]=0;c=589824;break f}c=c+N[a+20>>2]|0}N[c>>2]=e;N[c+4>>2]=f;d=N[a+20>>2]}N[a+8>>2]=b;b=((b<<3)+d|0)+4|0}i=N[a+32>>2]+(N[b>>2]<<6)|0}return i}function qn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;if(!a){return 35}if(!e){return 6}f=N[a+96>>2];N[e>>2]=0;N[e+4>>2]=0;f=N[N[f+12>>2]+76>>2];if(!f){return 0}c=Qa[f|0](a,b,c,e)|0;a:{if(c){break a}f=N[e>>2];c=f>>31;b=N[a+88>>2];h=N[b+16>>2];a=h>>31;c=(c^f)-c|0;a=(a^h)-a|0;b:{if(c+(a>>>8|0)>>>0<=8190){c=T(a,c)+32768>>>16|0;break b}i=c&65535;c=T(i,a>>>16|0)+T(a,c>>>16|0)+(T(i,a&65535)+32768>>>16)|0}a=c;g=0-a|0;a=f>>31|1;f=(((h|0)<0?0-a|0:a)|0)<0?g:c;N[e>>2]=f;h=N[e+4>>2];c=h>>31;i=N[b+20>>2];a=i>>31;c=(c^h)-c|0;a=(a^i)-a|0;c:{if(c+(a>>>8|0)>>>0<=8190){g=T(a,c)+32768>>>16|0;break c}g=c&65535;g=T(g,a>>>16|0)+T(a,c>>>16|0)+(T(g,a&65535)+32768>>>16)|0}a=g;c=0;j=0-a|0;a=h>>31|1;a=(((i|0)<0?0-a|0:a)|0)<0?j:g;N[e+4>>2]=a;if((d|0)==1){break a}d=P[b+12>>1];if(d>>>0<=24){f=jb(f,d,25)}b=P[b+14>>1];if(b>>>0<=24){a=jb(a,b,25)}N[e+4>>2]=a+32&-64;N[e>>2]=f+32&-64}return c}function Mg(a,b,c,d,e){var f=0,g=0,h=U(0),i=0,j=0,k=U(0),l=0,m=0,n=0,o=0;f=O[a+2|0]|O[a+3|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){return U(0)}a:{if(e){l=(b<<2)+e|0;h=R[l>>2];if(h!=U(2)){break a}}f=O[a|0]|O[a+1|0]<<8;b:{c:{if(!f){h=U(1);break c}g=a;a=(f<<8|f>>>8)&65535;m=(g+T(T(a,b),6)|0)+4|0;n=a>>>0<=1?1:a;h=U(1);a=0;while(1){b=0;b=a>>>0>>0?N[(a<<2)+c>>2]:b;k=U(1);d:{f=T(a,6)+m|0;i=O[f+2|0]|O[f+3|0]<<8;j=(i<<8|i>>>8)<<16>>16;g=O[f|0]|O[f+1|0]<<8;g=(g<<8|g>>>8)<<16>>16;if((j|0)<(g|0)){break d}f=O[f+4|0]|O[f+5|0]<<8;f=(f<<8|f>>>8)<<16>>16;if((f|0)<(j|0)|!(i?(f|0)<=0|(g|0)>=0:1)){break d}if(!i|(b|0)==(j|0)){break d}if(!((b|0)<=(g|0)|(b|0)>=(f|0))){i=b-g|0;o=f-b|0;b=(b|0)<(j|0);k=U(U((b?i:o)|0)/U((b?j-g|0:f-j|0)|0));if(k!=U(0)){break d}}h=U(0);if(e){break b}break a}h=U(h*k);a=a+1|0;if((n|0)!=(a|0)){continue}break}}if(!e){break a}}R[l>>2]=h}return h}function wp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=N[a+2744>>2];l=i&4;f=64;a:{if(l){break a}f=(e|0)==1?55:49;if(!(!(L[b+12|0]&1)|!(L[c+12|0]&1))){break a}f=(e|0)==1?61:59}m=N[c+4>>2];n=N[b+4>>2];j=Fg(i,N[a+2748>>2],e,m-n|0);b:{c:{d:{e:{i=(((m+n|0)/2|0)+d|0)+((j|0)/-2|0)|0;a=i&63;f:{if(!a){break f}g=j+i&63;if(!g){break f}d=64-a|0;if((f|0)>=(j|0)){if((g|0)>=(j|0)){break f}if(d>>>0<=g>>>0){break c}h=0-g|0;break f}if(!l){if(a>>>0>=f>>>0|d>>>0>=f>>>0|(f>>>0<=g>>>0|f>>>0<=64-g>>>0)){break f}}k=j&63;if(k>>>0>31){break e}if(d>>>0<=k>>>0){break f}if(g>>>0>k>>>0){break d}}a=(h|0)<=-14?-14:h;break b}k=64-f|0}e=d-k|0;a=f-d|0;h=(a|0)>(e|0)?e:0-a|0;e=h>>31;d=f-g|0;a=g-k|0;d=(a|0)>(d|0)?d:0-a|0;a=d>>31;d=(e^h)-e>>>0>(a^d)-a>>>0?d:h}h=d;a=(d|0)<=-14?-14:d;a=(a|0)>=14?14:a}d=l?h:a;f=d+i|0;e=f+j|0;a=(m|0)>(n|0);N[b+8>>2]=a?f:e;N[c+8>>2]=a?e:f;return d}function zw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;c=N[a>>2];a:{if(O[c+8|0]&2){if(!(Qa[N[N[c+540>>2]+104>>2]](c,b,g+12|0)|0)){Bm(a,N[g+12>>2]);break a}N[a+44>>2]=-1;c=N[a>>2]}se(c,b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}e=N[N[c+712>>2]+3080>>2];c=b+20|0;b=c+(d<<2)|0;while(1){d=N[c>>2];if(cb(N[N[d>>2]+8>>2],11971)){c=c+4|0;if(b>>>0>c>>>0){continue}break a}break}if(!e){break a}b=N[e>>2];if(!b){break a}d=Qa[b|0](d)|0;if(!d){break a}h=N[N[a>>2]+712>>2];e=N[h+1440>>2];i=N[N[a+40>>2]>>2];Qa[N[d+4>>2]](N[i>>2],N[a+16>>2],N[a+20>>2],0,0);c=N[h+2024>>2];if(!c){break a}while(1){b=N[a+16>>2];c=c-1|0;j=c<<2;f=N[N[(j+h|0)+2028>>2]+68>>2];b:{if((f|0)!=(e|0)){b=jb(b,e,f);f=jb(N[a+20>>2],e,f);break b}f=N[a+20>>2]}Qa[N[d+4>>2]](N[(i+j|0)+4>>2],b,f,0,0);if(c){continue}break}}La=g+16|0;return 0}function sD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;e=N[b+96>>2];f=N[e+72>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+52>>2]}else{e=0}g=Qa[f|0](b,g,c,d,e)|0;if(g){f=N[a+20>>2];a:{if(f){b=N[d>>2];c=N[f+28>>2];e=N[a+28>>2];if((c|0)!=(e|0)){b=VE(UE(e,e>>31,b,b>>31),Pa,c,c>>31)}N[d>>2]=b;b=N[d+4>>2];c=N[f+32>>2];e=N[a+32>>2];if((c|0)!=(e|0)){b=VE(UE(e,e>>31,b,b>>31),Pa,c,c>>31)}N[d+4>>2]=b;e=N[d+8>>2];b=N[f+28>>2];c=N[a+28>>2];if((b|0)!=(c|0)){e=VE(UE(c,c>>31,e,e>>31),Pa,b,b>>31)}b=d+12|0;N[d+8>>2]=e;c=N[d+12>>2];d=N[f+32>>2];a=N[a+32>>2];if((d|0)==(a|0)){break a}c=VE(UE(a,a>>31,c,c>>31),Pa,d,d>>31);break a}b=d+12|0;c=N[d+12>>2]}N[b>>2]=c}return g|0}function np(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=N[a>>2];if(f){g=N[(N[a+24>>2]+T(b,204)|0)+200>>2];b=g>>31;e=(b^g)-b|0;j=e&65535;k=e>>>16|0;l=e>>>8|0;a=N[a+8>>2];while(1){b=N[a+24>>2];if(b){i=N[a+16>>2];c=N[b+8>>2];a:{if(i&512){break a}c=N[b+12>>2]+N[b+8>>2]|0;if(i&1024){break a}c=N[a+28>>2]-N[b>>2]|0;if((c|0)<=0){h=N[b+8>>2];b=c>>31;b=(b^c)-b|0;b:{if(b+l>>>0<=8190){d=T(b,e)+32768>>>16|0;break b}d=b&65535;d=T(d,k)+T(b>>>16|0,e)+(T(d,j)+32768>>>16)|0}b=d;m=0-b|0;b=c>>31|1;c=h+((((g|0)<0?0-b|0:b)|0)<0?m:d)|0;break a}h=N[b+12>>2];d=N[b+8>>2];b=N[b+4>>2];if((b|0)<=(c|0)){d=d+h|0;b=c-b|0;c:{if(b+l>>>0<=8190){c=T(b,e)+32768>>>16|0;break c}c=b&65535;c=T(c,k)+T(b>>>16|0,e)+(T(c,j)+32768>>>16)|0}b=b>>31|1;c=d+((((g|0)<0?0-b|0:b)|0)<0?0-c|0:c)|0;break a}c=jb(c,h,b)+d|0}N[a+36>>2]=c;N[a+16>>2]=i|32}a=a+40|0;f=f-1|0;if(f){continue}break}}}function Lr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{d:{a=b-44032|0;if(!(a>>>0>11171|c-4520>>>0>26)){if(((a&65535)>>>0)%28|0){break d}b=(b+c|0)-4519|0;break a}if(!(b-4352>>>0>18|c-4449>>>0>20)){b=(T(b,588)+T(c,28)|0)-2639516|0;break a}if((c&-128)!=768|b>>>0>2047){break d}a=c<<14&2080768|b<<21;b=637;c=0;while(1){e:{e=b+c>>>1|0;h=N[(e<<2)+228848>>2];g=h&-16384;f:{if(a>>>0>>0){b=e-1|0;break f}if(a>>>0<=g>>>0){break e}c=e+1|0}if((b|0)>=(c|0)){continue}break b}break}b=h&16383;break c}a=c>>>11|0;h=c<<21;e=b<<10|a;b=387;c=0;while(1){g:{g=b+c>>>1|0;f=(g<<3)+231408|0;a=N[f>>2];f=N[f+4>>2]&2147483647;i=a&-2097152;h:{if((f|0)==(e|0)&i>>>0>h>>>0|e>>>0>>0){b=g-1|0;break h}if((e|0)==(f|0)&h>>>0<=i>>>0|e>>>0>>0){break g}c=g+1|0}if((b|0)>=(c|0)){continue}break b}break}b=a&2097151}if(b){break a}}return 0}N[d>>2]=b;return 1}function JC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=0,i=U(0);f=La-96|0;La=f;h=N[b+12>>2];a:{if(vc(h,c,N[b>>2]|8)){break a}b=N[h+84>>2];if(N[b+72>>2]!=1869968492){break a}c=N[69481];N[f+88>>2]=N[69480];N[f+92>>2]=c;c=N[69479];N[f+80>>2]=N[69478];N[f+84>>2]=c;c=N[69477];N[f+72>>2]=N[69476];N[f+76>>2]=c;g=R[a+40>>2];N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+60>>2]=0;a=f- -64|0;N[a>>2]=0;N[a+4>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+20>>2]=e;N[f+16>>2]=d;R[f+8>>2]=g;L[f+12|0]=g==U(0);Yh(b+108|0,f+72|0,f+8|0);if(!N[f+24>>2]){break a}b=f+24|0;c=N[f+20>>2];a=N[f+16>>2];i=R[f+28>>2];g=R[f+32>>2];if(!(i==R[f+36>>2]&g==R[f+40>>2])){e=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](a,c,b,i,g,d)}e=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](a,c,b,d)}La=f+96|0}function Gp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=La-48|0;La=d;N[d+32>>2]=N[73412];c=N[73411];N[d+24>>2]=N[73410];N[d+28>>2]=c;c=N[73409];N[d+16>>2]=N[73408];N[d+20>>2]=c;a:{b=db(1,172);b:{if(!b){b=588184;break b}N[b+148>>2]=1073741823;N[b+152>>2]=536870911;N[b>>2]=1;N[b+4>>2]=1;c=Ic();c:{if(!c){break c}e=N[c>>2];if(!e){break c}if((e|0)<=0){break a}N[c>>2]=e+1}L[b+60|0]=1;N[b+24>>2]=65533;N[b+12>>2]=c}i=d+16|0;c=0;e=0;d:{while(1){i=Fe(i,a,b,d+12|0);e:{if(Q[d+12>>2]>1){break e}g=N[b+80>>2];h=N[b+68>>2];f:{g:{if(O[b+63|0]){break g}f=0;if(N[b+168>>2]){break f}N[b+84>>2]=g;N[b+72>>2]=0;M[b+62>>1]=256;f=T(h,20);if(!f){break g}C(N[b+88>>2],0,f)}f=N[b+88>>2]}if(!h|!N[g>>2]){break e}g=N[f>>2];h=c;c=1;if(!h){e=g;break e}if((e|0)==(g|0)){break e}c=0;break d}if(O[i|0]){continue}break}c=1}dc(b);L[a+32|0]=c;La=d+48|0;return}ba(23506,14099,260,16403);B()}function af(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(a){d=M[a+56>>1];M[a+20>>1]=d+P[a+20>>1];b=P[a+22>>1];M[a+22>>1]=b+P[a+58>>1];h=N[a+48>>2]+N[a+84>>2]|0;N[a+48>>2]=h;a:{if((d|0)<=0){break a}g=N[a+68>>2];if(d>>>0>=4){j=d&-4;while(1){c=f<<1;e=c+g|0;M[e>>1]=b+P[e>>1];e=g+(c|2)|0;M[e>>1]=b+P[e>>1];e=g+(c|4)|0;M[e>>1]=b+P[e>>1];c=g+(c|6)|0;M[c>>1]=b+P[c>>1];f=f+4|0;if((j|0)!=(f|0)){continue}break}}d=d&3;if(!d){break a}while(1){c=g+(f<<1)|0;M[c>>1]=b+P[c>>1];f=f+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}N[a+84>>2]=0;N[a+56>>2]=0;b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;c=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[c>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;if(O[a+16|0]){b=M[a+22>>1]<<3;N[a+76>>2]=b+N[a+40>>2];N[a+80>>2]=b+N[a+44>>2]}b=a;a=N[a+52>>2];N[b+88>>2]=a?a+(h<<5)|0:0}}function BB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=N[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){e=N[a>>2];c=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=P[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k;break c}if(!(N[e+28>>2]!=(f|0)|N[e+16>>2]>0)&(!(l&16)|N[a+8>>2]>(d-c|0))|!(N[f+28>>2]!=(e|0)|N[e+20>>2]!=(b|0))&(!(l&32)|N[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k}e=N[a>>2];c=g;c=(j|0)>=0?Q[a+96>>2]>j>>>e>>>0?j:i:c;d=((g|0)==(c|0)?i:g)>>e;if((d|0)<0|d>>>0>=Q[a+96>>2]){break b}if(O[(N[a+52>>2]+(b>>3)|0)-T(d,N[a+104>>2])|0]&128>>>(b&7)){break a}}c=c>>e;if((c|0)<0|c>>>0>=Q[a+96>>2]){break a}a=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[a|0]=O[a|0]|128>>>(b&7)}}function qA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;N[a+8>>2]=d;N[a+4>>2]=b;M[a+64>>1]=256;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;g=N[b+32>>2];f=b- -64|0;N[f>>2]=N[b+28>>2];N[f+4>>2]=g;N[b+88>>2]=N[b+52>>2];f=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=f;f=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=f;f=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=f;N[a+68>>2]=0;N[a+72>>2]=0;if(!c|!e){break a}b=N[N[c+40>>2]>>2];if(!b){break a}N[a+72>>2]=N[b>>2];N[a+68>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73600];N[a+76>>2]=N[73599];N[a+80>>2]=b;b=N[73602];N[a+84>>2]=N[73601];N[a+88>>2]=b;b=N[73604];N[a+92>>2]=N[73603];N[a+96>>2]=b;b=N[73606];N[a+100>>2]=N[73605];N[a+104>>2]=b}function Io(a,b){var c=0,d=0;a:{b:{if(a>>>0>=b>>>0){break b}c=1;b=(b-a|0)+1|0;c:{d:{e:{f:{g:{h:{i:{d=L[a|0];switch(d-75|0){case 0:case 32:break c;case 27:break g;case 34:break h;case 41:break i;default:break b}}if(b>>>0<2){break b}if((d|0)==116){break f}break b}if(b>>>0<5){break b}if(!bb(a,15447,4)){break e}break b}if(b>>>0<4){break b}j:{if(bb(a,16930,3)){break j}k:{d=O[a+3|0];switch(d-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break j;case 0:case 8:break c;default:break k}}if((d|0)==9){break c}}if(b>>>0<5){break b}if(!bb(a,16398,4)){break d}break b}c=0;a=O[a+1|0];if(a>>>0>=41){break c}break a}c=0;a=O[a+4|0];if(a>>>0>=41){break c}break a}c=0;b=O[a+4|0];if(b>>>0>=41){break c}a=b&31;c=((b&63)>>>0>=32?257>>>a|0:((1<>>a)&1}return c}return 0}b=a&31;return((a&63)>>>0>=32?257>>>b|0:((1<>>b)&1}function GE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=db(1,8);a:{if(d){c=N[a+44>>2];b=0;b:{if((c|0)<=0){break b}e=N[a+48>>2];b=c-1|0;c:{while(1){c=b+f>>>1|0;g=N[T(c,36)+e>>2];d:{if(g>>>0>=1919969383){b=c-1|0;break d}if((g|0)==1919969382){break c}f=c+1|0}if((b|0)>=(f|0)){continue}break}b=0;break b}b=N[(T(c,36)+e|0)+28>>2]}N[d>>2]=b;b=N[a+4>>2];e:{if((b|0)<=1333094257){if((b|0)<=1298230883){if((b|0)==1097100397|(b|0)==1098015074|(b|0)==1130918515){break e}break a}f:{switch(b-1298230884|0){case 1:case 2:case 3:case 4:break a;case 0:case 5:break e;default:break f}}if((b|0)==1299148391|(b|0)==1315663727){break e}break a}if((b|0)<=1383032934){if((b|0)==1333094258|(b|0)==1349017959|(b|0)==1349020784){break e}break a}if((b|0)==1383032935|(b|0)==1400468067){break e}if((b|0)!=1399809892){break a}}a=Bj(a);N[d+4>>2]=a;if(a){break a}_a(d)}d=0}return d|0}function Jk(a,b){var c=0,d=0,e=0,f=0,g=0;g=1;d=P[b+12>>1];f=N[a+8>>2];a:{if(d&f&14){break a}b:{if(!(d&8)){break b}if(f&16){d=275552;c=N[N[a+4>>2]+104>>2];c:{if((O[c|0]|O[c+1|0]<<8)!=256){break c}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<65538){break c}e=O[c+12|0]|O[c+13|0]<<8;if(!e){break c}d=c+((e<<8|e>>>8)&65535)|0}if((O[d|0]|O[d+1|0]<<8)!=256){break a}c=275552;f=f>>>16|0;e=O[d+2|0]|O[d+3|0]<<8;if(f>>>0<((e<<8|e>>>8)&65535)>>>0){c=((f<<2)+d|0)+4|0}f=N[b>>2];c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0}else{c=275552}if((vb(c,f)|0)==-1){break a}d=P[b+12>>1];break b}c=f&65280;if(!c){break b}if((c|0)!=(d&65280)){break a}}g=0;b=P[b+16>>1];if(d&16|(b&96)!=32|!O[a+16|0]&(b&543)==513){break a}g=(b&287)!=257?2:O[a+17|0]<<1}return g}function Zr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=N[a+16>>2];i=a+518|0;j=a+6|0;while(1){b:{e=d>>>0>255;c:{d:{e:{if(!e){c=(d<<1&510)+j|0;a=i;if(!(O[c|0]<<8|O[c+1|0])){break e}break d}a=(d>>>7&33554430)+j|0;a=O[a|0]<<8|O[a+1|0]&248;if(!a){break d}a=a+i|0}c=a;a=O[c+1|0]|O[c|0]<<8;g=O[c+3|0]|O[c+2|0]<<8;f=d&255;h=O[c+6|0];k=O[c+7|0];l=O[c+4|0];m=O[c+5|0];if(!e){e=256;if(f>>>0>=a+g>>>0){break c}}h=h<<8|k;if(!h){if((d|0)!=256){break d}break b}e=(d&-256)+(a>>>0>>0?f:a)|0;a=f-a|0;a=a>>>0<=f>>>0?a:0;if(g>>>0>a>>>0){f=l<<8|m;d=c+6+(h+(a<<1))|0;while(1){c=O[d+1|0]|O[d|0]<<8;if(c){c=c+f&65535;if(c){break a}}d=d+2|0;e=e+1|0;a=a+1|0;if(g>>>0>a>>>0){continue}break}}d=e-((g|0)!=0)|0}e=d>>>0<256?d+1|0:(d&-256)+256|0}d=e;if(d>>>0<65536){continue}}break}e=0;c=0}N[b>>2]=e;return c|0}function Sc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{d=N[a+68>>2];i=c>>>0>d>>>0?d:c;j=i-b|0;if(j>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=i>>>0){break a}h=N[a+80>>2];c=-1;d=b;l=(d^-1)+i|0;if(l>>>0>=3){k=j&-4;while(1){e=T(d,20)+h|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;m=m+4|0;if((k|0)!=(m|0)){continue}break}}k=j&3;if(k){e=0;while(1){f=N[(T(d,20)+h|0)+8>>2];c=c>>>0>>0?c:f;d=d+1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(j&1){d=T(b,20)+h|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}b=b+1|0}if(!l){break a}while(1){d=T(b,20)+h|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=T(b+1|0,20)+h|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}b=b+2|0;if((i|0)!=(b|0)){continue}break}}}function rq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-48|0;La=h;N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+60>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+40>>2]}else{e=0}a:{if(Qa[f|0](a,g,b,c,d,e)|0){break a}N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+56>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+36>>2]}else{e=0}if(!(Qa[f|0](a,g,b,c,d,e)|0)){break a}e=N[a+96>>2];f=N[e+40>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}f=Qa[f|0](a,g,b,e)|0;b=h;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;e=N[a+96>>2];g=N[e+20>>2];f=(f|0)/2|0;j=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e>>2]}else{e=0}b:{if(Qa[g|0](a,j,b,e)|0){a=N[h>>2];break b}i=+N[a+32>>2]*.8;if(V(i)<2147483648){a=~~i;break b}a=-2147483648}N[c>>2]=f+N[c>>2];N[d>>2]=a+N[d>>2]}La=h+48|0}function Jd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-48|0;La=h;N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+56>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+36>>2]}else{e=0}a:{if(Qa[f|0](a,g,b,c,d,e)|0){break a}N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+60>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+40>>2]}else{e=0}if(!(Qa[f|0](a,g,b,c,d,e)|0)){break a}e=N[a+96>>2];f=N[e+40>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}f=Qa[f|0](a,g,b,e)|0;b=h;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;e=N[a+96>>2];g=N[e+20>>2];f=(f|0)/-2|0;j=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e>>2]}else{e=0}b:{if(Qa[g|0](a,j,b,e)|0){a=N[h>>2];break b}i=+N[a+32>>2]*.8;if(V(i)<2147483648){a=~~i;break b}a=-2147483648}N[c>>2]=f+N[c>>2];N[d>>2]=N[d>>2]-a}La=h+48|0}function Ql(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;L[e+14|0]=0;c=N[a+8>>2];a:{b:{d=N[a+20>>2];c:{if(d){if((Qa[d|0](a,c,e+14|0,1)|0)!=1){break b}c=N[a+8>>2];d=e+14|0;break c}if(Q[a+4>>2]<=c>>>0){break b}d=N[a>>2]+c|0}f=L[d|0];c=c+1|0;N[a+8>>2]=c;if((f|0)==-128){c=8;break a}g=b;b=f&127;d:{if((f|0)>=0){break d}N[e+8>>2]=0;L[e+15|0]=0;d=N[a+20>>2];e:{if(d){if((Qa[d|0](a,c,e+15|0,1)|0)!=1){break b}c=N[a+8>>2];d=e+15|0;break e}if(Q[a+4>>2]<=c>>>0){break b}d=N[a>>2]+c|0}f=L[d|0];N[a+8>>2]=c+1;d=f&127|b<<7;b=d;if((f|0)>=0){break d}f=Pd(a,e+8|0);c=N[e+8>>2];if(c){break a}d=f&127|d<<7;b=d;if((f|0)>=0){break d}f=Pd(a,e+8|0);c=N[e+8>>2];if(c){break a}d=f&127|d<<7;b=d;if((f|0)>=0){break d}a=Pd(a,e+8|0);c=N[e+8>>2];if(c){break a}if(d>>>0>33554431){c=8;break a}c=8;if((a|0)<0){break a}b=a&127|d<<7}N[g>>2]=b;c=0;break a}c=85}La=e+16|0;return c}function Qg(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=N[a+12>>2];if(!(b&1)){return 0}c=b&-2;b=c+8|0;b=b?32-W(b)|0:0;e=12<>2]=c;return 0}if(b>>>0<=29){c=e-12|0;C(d,0,(c-((c>>>0)%12|0)|0)+12|0)}N[a+12>>2]=1;N[a+16>>2]=0;e=N[a+28>>2];N[a+28>>2]=d;d=N[a+20>>2];N[a+20>>2]=-1<>2]=N[(b>>>0>31?265820:(b<<2)+265696|0)>>2];b=d+1|0;if(b>>>0>=2){g=b>>>0<=1?1:b;d=0;while(1){c=e+T(d,12)|0;b=N[c+4>>2];a:{if(!(L[a+12|0]&1)|(b&-1073741824)!=1073741824){break a}f=N[a+16>>2];if(Q[a+20>>2]<=(f>>>1|0)+f>>>0){if(!Qg(a)){break a}}f=b&1073741823;b=Af(a,N[c>>2],f);b:{if(!(O[b+7|0]&64)){break b}N[a+16>>2]=N[a+16>>2]-1;if(N[b+4>>2]<0){break b}N[a+12>>2]=N[a+12>>2]-2}N[b>>2]=N[c>>2];c=N[c+8>>2];N[b+4>>2]=f|1073741824;N[b+8>>2]=c;N[a+16>>2]=N[a+16>>2]+1;N[a+12>>2]=N[a+12>>2]+2}d=d+1|0;if((g|0)!=(d|0)){continue}break}}_a(e);return 1}function Jh(a,b,c){a:{switch(c-1|0){case 0:N[b>>2]=N[a+4>>2];return;case 1:N[b>>2]=N[a+4>>2]+N[a+12>>2];N[b+4>>2]=N[a+8>>2]+N[a+12>>2];return;case 2:N[b>>2]=N[a+4>>2]+(N[a+12>>2]+(N[a+20>>2]+N[a+28>>2]|0)|0);N[b+4>>2]=N[a+8>>2]+(N[a+12>>2]+(N[a+24>>2]+N[a+28>>2]|0)|0);N[b+8>>2]=N[a+16>>2]+(N[a+20>>2]+(N[a+24>>2]+N[a+28>>2]|0)|0);return;default:break a}}N[b>>2]=N[a+4>>2]+(N[a+12>>2]+(N[a+20>>2]+(N[a+28>>2]+(N[a+36>>2]+(N[a+44>>2]+(N[a+52>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+4>>2]=N[a+8>>2]+(N[a+12>>2]+(N[a+24>>2]+(N[a+28>>2]+(N[a+40>>2]+(N[a+44>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+8>>2]=N[a+16>>2]+(N[a+20>>2]+(N[a+24>>2]+(N[a+28>>2]+(N[a+48>>2]+(N[a+52>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+12>>2]=N[a+32>>2]+(N[a+36>>2]+(N[a+40>>2]+(N[a+44>>2]+(N[a+48>>2]+(N[a+52>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0)}function Oj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=La-32|0;La=g;d=O[a|0]|O[a+1|0]<<8;a:{if(d){j=(d<<8|d>>>8)&65535;i=a+2|0;while(1){l=N[c+16>>2];m=N[c+4>>2];d=O[i|0]|O[i+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}f=O[d|0]|O[d+1|0]<<8;e=(((f<<8|f>>>8)&65535)<<1)+d|0;d=O[e+2|0]|O[e+3|0]<<8;h=(d<<8|d>>>8)&65535;d=(e+2|0)+(d?h<<1:2)|0;b:{if(N[b+12>>2]!=(h|0)|(O[b+16|0]?f|(O[d|0]|O[d+1|0]<<8):0)){break b}if(h>>>0<2){f=1;break a}N[g+12>>2]=N[N[b+8>>2]+4>>2];f=1;d=1;k=e+4|0;e=O[k|0]|O[k+1|0]<<8;if(!(Qa[m|0](g+12|0,(e<<8|e>>>8)&65535,l)|0)){break b}while(1){e=d+1|0;if((e|0)==(h|0)){break a}N[g+12>>2]=N[N[b+8>>2]+(e<<2)>>2];n=d<<1;d=e;e=k+n|0;e=O[e|0]|O[e+1|0]<<8;if(Qa[m|0](g+12|0,(e<<8|e>>>8)&65535,l)|0){continue}break}if(d>>>0>=h>>>0){break a}}i=i+2|0;j=j-1|0;if(j){continue}break}}f=0}La=g+32|0;return f}function Nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=O[a+2|0]|O[a+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+a|0}else{c=275552}f=N[b+96>>2];c=vb(c,N[N[f+80>>2]+T(N[f+64>>2],20)>>2]);a:{if((c|0)==-1){break a}f=275552;d=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}a=O[f|0]|O[f+1|0]<<8;if(!a){break a}g=(a<<8|a>>>8)&65535;c=f+2|0;while(1){a=O[c|0]|O[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+f|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;h=(d<<8|d>>>8)&65535;i=(h<<1)+a|0;d=i+2|0;e=O[d|0]|O[d+1|0]<<8;j=(e<<8|e>>>8)&65535;d=(e?j<<1:2)+d|0;e=O[d|0]|O[d+1|0]<<8;k=(e<<8|e>>>8)&65535;e=(k<<1)+d|0;l=O[e+2|0]|O[e+3|0]<<8;e=Lf(b,h,a+2|0,j,i+4|0,k,d+2|0,(l<<8|l>>>8)&65535,e+4|0,238152);if(e){break a}c=c+2|0;g=g-1|0;if(g){continue}break}}return e|0}function qj(a){var b=0,c=0;c=3584;a:{b:{c:{switch(a>>>12|0){case 0:if((a|0)==160){c=1034;break a}b=a-40|0;if(b>>>0<24){break b}if(a-176>>>0<=39){b=a-152|0;break b}if(a-2304>>>0>1151){break a}b=a-2240|0;break b;case 1:if(a-4096>>>0<=159){b=a-2880|0;break b}if(a-6016>>>0<=111){b=a-4640|0;break b}if(a-7376>>>0>47){break a}b=a-5888|0;break b;case 2:if((a|0)==9676){c=1035;break a}if(a-8200>>>0<=31){b=a-6664|0;break b}if(a-8304>>>0<=23){b=a-6736|0;break b}if((a&-8)!=9720){break a}b=a-8128|0;break b;case 10:b=a&-32;if((b|0)!=43616){if((b|0)!=43488){if((b|0)!=43232){break a}b=a-41632|0;break b}b=a-41856|0;break b}b=a-41952|0;break b;case 15:if((a&-16)!=65024){break a}b=a-63328|0;break b;case 17:break c;default:break a}}b=a&-8;if((b|0)!=70456){if((b|0)!=70400){break a}b=a-68688|0;break b}b=a-68736|0}c=P[(b<<1)+253616>>1]}return c}function mh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if((c|0)<0){break b}e=c<<1;if(e){if(Q[b+4>>2]>a>>>0){break b}g=N[b+8>>2];if(g>>>0>>0|e>>>0>g-a>>>0){break b}e=N[b+12>>2]-e|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!c){return 1}j=N[b+4>>2];while(1){e=(i<<1)+a|0;if(e>>>0>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-e>>>0<2){break a}f=N[b+12>>2];h=f-2|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[e|0]|O[e+1|0]<<8;e=((e<<8|e>>>8)&65535)+d|0;if(e>>>0>>0|e>>>0>g>>>0|g-e>>>0<4){break a}h=f-6|0;N[b+12>>2]=h;if((h|0)<=0){break a}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>1073741823){break a}c:{f=f<<2;if(!f){break c}e=e+4|0;if(e>>>0>g>>>0|f>>>0>g-e>>>0){break a}e=h-f|0;N[b+12>>2]=e;if((e|0)>0){break c}break a}f=1;i=i+1|0;if((i|0)!=(c|0)){continue}break}}return f}return 0}function bi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=hd(g,c,18461);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=df(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Rd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function ai(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=hd(g,c,24775);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=df(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Rd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function Xi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=N[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}d=N[b+12>>2];e=d-4|0;N[b+12>>2]=e;if((O[a|0]|O[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<16){break a}d=d-20|0;N[b+12>>2]=d;if((O[a+10|0]|O[a+11|0]<<8)!=5120|(d|0)<=0){break a}c=O[a+14|0]|O[a+15|0]<<8;j=(c<<8|c>>>8)&65535;h=O[a+8|0]|O[a+9|0]<<8;g=(h<<8|h>>>8)&65535;if(j>>>0<(g<<2)+4>>>0){break a}e=O[a+4|0]|O[a+5|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=275552}g=T(g,20);if(h){if(c>>>0>>0|c>>>0>f>>>0|g>>>0>f-c>>>0){break a}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}}c=O[a+12|0]|O[a+13|0]<<8;h=(c<<8|c>>>8)&65535;a=c?g+(e?((e<<8|e>>>8)&65535)+a|0:275552)|0:0;c=T(h,j);if(!c){return 1}if(a>>>0>>0|a>>>0>f>>>0|c>>>0>f-a>>>0){break a}a=d-c|0;N[b+12>>2]=a;k=(a|0)>0}return k}function $h(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=hd(g,c,22033);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=df(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Rd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function Lb(a,b){var c=0,d=0,e=0,f=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=N[b+12>>2];f=e-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=O[a|0]|O[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=T((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function TA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;L[a+68|0]=1;N[a+64>>2]=0;N[a+8>>2]=d;N[a+4>>2]=b;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;g=N[b+32>>2];f=b- -64|0;N[f>>2]=N[b+28>>2];N[f+4>>2]=g;N[b+88>>2]=N[b+52>>2];f=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=f;f=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=f;f=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=f;b=N[N[c+40>>2]>>2];N[a+72>>2]=0;N[a+76>>2]=b;if(!e){break a}N[a+72>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73541];N[a+80>>2]=N[73540];N[a+84>>2]=b;b=N[73543];N[a+88>>2]=N[73542];N[a+92>>2]=b;b=N[73545];N[a+96>>2]=N[73544];N[a+100>>2]=b;b=N[73547];N[a+104>>2]=N[73546];N[a+108>>2]=b}function lC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=La-16|0;La=e;d=N[a+16>>2];f=N[a+12>>2];a:{b:{if(!cb(b,12311)){b=N[c>>2];if(!b){d=35;break a}d=N[b+116>>2];N[e+8>>2]=d;if(!d){d=Dg(b,e+8|0,a);if(d){break a}d=N[e+8>>2];N[b+116>>2]=d;N[b+120>>2]=311}N[c+4>>2]=N[d+8>>2];break b}if(!cb(b,8894)){N[c>>2]=N[N[(f<<2)+288960>>2]+8>>2];break b}if(!cb(b,8879)){N[c>>2]=d;break b}if(!cb(b,9447)){b=N[c>>2];if(!b){d=35;break a}d=N[b+116>>2];N[e+12>>2]=d;if(!d){d=Dg(b,e+12|0,a);if(d){break a}d=N[e+12>>2];N[b+116>>2]=d;N[b+120>>2]=311}N[c+4>>2]=N[d+20>>2];break b}if(!cb(b,10437)){N[c>>2]=N[a+24>>2];N[c+4>>2]=N[a+28>>2];N[c+8>>2]=N[a+32>>2];N[c+12>>2]=N[a+36>>2];N[c+16>>2]=N[a+40>>2];N[c+20>>2]=N[a+44>>2];N[c+24>>2]=N[a+48>>2];N[c+28>>2]=N[a+52>>2];break b}d=12;if(cb(b,14683)){break a}L[c|0]=O[a+20|0]}d=0}La=e+16|0;return d|0}function GC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=U(0),g=0,h=U(0),i=U(0),j=U(0),k=U(0),l=U(0),m=U(0),n=U(0);e=c+16|0;g=N[c+12>>2];d=N[c+8>>2];h=U(N[b+4>>2]);f=U(N[b>>2]);j=U(N[a+4>>2]);k=U(N[a>>2]);a:{if(O[c+4|0]){if(!N[e>>2]){b=N[d+12>>2];l=R[c+28>>2];i=R[c+32>>2];a=N[d+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[b|0](d,g,e,l,i,a);N[c+16>>2]=1;a=N[c+32>>2];N[c+20>>2]=N[c+28>>2];N[c+24>>2]=a}b=N[d+20>>2];a=N[d+32>>2];if(!a){Qa[b|0](d,g,e,k,j,f,h,0);break a}Qa[b|0](d,g,e,k,j,f,h,N[a+8>>2]);break a}m=R[c>>2];n=U(h*m);if(!N[c+16>>2]){b=N[d+12>>2];l=R[c+28>>2];i=R[c+32>>2];a=N[d+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[b|0](d,g,e,l,i,a);N[c+16>>2]=1;a=N[c+32>>2];N[c+20>>2]=N[c+28>>2];N[c+24>>2]=a}b=N[d+20>>2];i=U(U(j*m)+k);f=U(n+f);a=N[d+32>>2];if(a){a=N[a+8>>2]}else{a=0}Qa[b|0](d,g,e,i,j,f,h,a)}R[c+32>>2]=h;R[c+28>>2]=f;return 0}function ms(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=N[b>>2];if((d|0)==-1){return 0}e=N[a+16>>2];c=O[e+8204|0]|O[e+8205|0]<<8|(O[e+8206|0]<<16|O[e+8207|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{b:{if(!f){break b}k=N[a>>2];a=d+1|0;d=e+8208|0;while(1){e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);a=a>>>0>h>>>0?a:h;c=O[d+5|0]<<16|O[d+4|0]<<24|O[d+6|0]<<8;g=O[d+7|0];i=c|g;c:{if(a>>>0>i>>>0){break c}e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);j=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=g+(c|1)|0;d:{while(1){c=a-h|0;if((c^-1)>>>0>>0){break c}c=c+j|0;if(c){break d}c=a+1|0;if(!c){break b}g=a>>>0>>0;a=c;if(g){continue}break}a=e;break c}if(Q[k+16>>2]>c>>>0){break a}}d=d+12|0;f=f-1|0;if(f){continue}break}}c=0;a=0}N[b>>2]=a;return c|0}function Jj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=O[b+2|0]|O[b+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+b|0}else{c=275552}f=N[a+96>>2];c=vb(c,N[N[f+80>>2]+T(N[f+64>>2],20)>>2]);a:{if((c|0)==-1){break a}f=275552;d=O[b+4|0]|O[b+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+b|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+b|0}b=O[f|0]|O[f+1|0]<<8;if(!b){break a}g=(b<<8|b>>>8)&65535;c=f+2|0;while(1){b=O[c|0]|O[c+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+f|0}else{b=275552}d=O[b|0]|O[b+1|0]<<8;h=(d<<8|d>>>8)&65535;i=(h<<1)+b|0;d=i+2|0;e=O[d|0]|O[d+1|0]<<8;j=(e<<8|e>>>8)&65535;d=(e?j<<1:2)+d|0;e=O[d|0]|O[d+1|0]<<8;k=(e<<8|e>>>8)&65535;e=(k<<1)+d|0;l=O[e+2|0]|O[e+3|0]<<8;e=Lf(a,h,b+2|0,j,i+4|0,k,d+2|0,(l<<8|l>>>8)&65535,e+4|0,238152);if(e){break a}c=c+2|0;g=g-1|0;if(g){continue}break}}return e}function FB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=N[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){d=N[a>>2];c=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=P[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k;break c}if(!(N[e+28>>2]!=(f|0)|N[e+16>>2]>0)&(!(l&16)|N[a+8>>2]>(d-c|0))|!(N[f+28>>2]!=(e|0)|N[e+20>>2]!=(b|0))&(!(l&32)|N[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k}d=N[a>>2];c=g;c=(j|0)>=0?P[a+50>>1]>j>>>d>>>0?j:i:c;b=((g|0)==(c|0)?i:g)>>d;if((b|0)<0|b>>>0>=P[a+50>>1]){break b}if(O[N[a+56>>2]+(b>>>3|0)|0]<<(b&7)&128){break a}}b=c>>d;if((b|0)<0|b>>>0>=P[a+50>>1]){break a}a=N[a+56>>2]+(b>>>3&65535)|0;L[a|0]=O[a|0]|128>>>(b&7)}}function ap(a,b){var c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];N[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){e=0;c:{d:{e:{f:{g:{h:{g=O[c|0];switch(g-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break e;case 23:break f;case 3:break g;default:break h}}i:{switch(g-123|0){case 0:f=f+1|0;break d;case 2:break i;default:break c}}f=f-1|0;if(f){break c}c=c+1|0;break b}e=Mi(d+12|0,b);break c}e=$o(d+12|0,b);break c}e=37;j:{while(1){k:{switch((e&255)-10|0){case 0:case 3:break j;default:break k}}c=c+1|0;if((c|0)!=(b|0)){e=O[c|0];continue}break}c=b}N[d+12>>2]=c}e=0}c=N[d+12>>2]+1|0;N[d+12>>2]=c;if(!e&b>>>0>c>>>0){continue}break}b=3;if(f){break a}}b=e}N[a>>2]=c;La=d+16|0;return b}function kr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=O[a+15|0];a:{if((d|0)!=255){break a}f=N[a>>2];d=0;b:{c:{d:{e:{e=O[c|0]|O[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}d=f;f=O[c+2|0]|O[c+3|0]<<8;f=d-((f<<8|f>>>8)&65535)|0;e=O[c+4|0]|O[c+5|0]<<8;d=275552;if(f>>>0>=((e<<8|e>>>8)&65535)>>>0){break c}d=((f<<1)+c|0)+6|0;break c}h=241305;d=O[c+2|0]|O[c+3|0]<<8;f:{if(!d){break f}i=c+4|0;d=((d<<8|d>>>8)&65535)-1|0;c=0;while(1){e=c+d>>>1|0;g=T(e,6)+i|0;j=O[g|0]|O[g+1|0]<<8;g:{if(f>>>0>=((j<<8|j>>>8)&65535)>>>0){c=O[g+2|0]|O[g+3|0]<<8;if(f>>>0>((c<<8|c>>>8)&65535)>>>0){c=e+1|0;break g}h=T(e,6)+i|0;break f}d=e-1|0}if((c|0)<=(d|0)){continue}break}}d=h+4|0}c=O[d|0]|O[d+1|0]<<8;d=(c<<8|c>>>8)&65535;if(d>>>0>254){break a}}L[a+15|0]=d}return(b|0)==(d|0)|0}function xe(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=N[a>>2];c=N[f+24>>2];a:{if((c|0)<=0){break a}while(1){b=N[f+32>>2]+T(e,56)|0;if(N[b+48>>2]==(a|0)){Co(b);d=N[N[b+48>>2]+16>>2];if(d){Qa[d|0](N[b+52>>2])}N[b+48>>2]=0;c=N[f+24>>2]}e=e+1|0;if((e|0)<(c|0)){continue}break}e=0;if((c|0)<=0){break a}while(1){b=N[f+32>>2];d=b+T(e,56)|0;if(N[d+48>>2]){if((e|0)!=(g|0)){c=T(g,56)+b|0;b=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=b;b=N[d+52>>2];N[c+48>>2]=N[d+48>>2];N[c+52>>2]=b;b=N[d+44>>2];N[c+40>>2]=N[d+40>>2];N[c+44>>2]=b;b=N[d+36>>2];N[c+32>>2]=N[d+32>>2];N[c+36>>2]=b;b=N[d+28>>2];N[c+24>>2]=N[d+24>>2];N[c+28>>2]=b;b=N[d+20>>2];N[c+16>>2]=N[d+16>>2];N[c+20>>2]=b;b=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=b;c=N[f+24>>2]}g=g+1|0}e=e+1|0;if((e|0)<(c|0)){continue}break}}N[f+24>>2]=g;d=N[a+20>>2];if(d){Qa[d|0](N[a+40>>2])}_a(a)}function UA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;N[a>>2]=0;N[a+4>>2]=0;N[a+56>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=N[b>>2];a:{if(c){N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];d=b+68|0;f=b+48|0;g=b+40|0;h=b+32|0;i=b+28|0;j=b+24|0;k=b+70|0;e=b+69|0;break a}N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];d=b+65|0;f=b+48|0;g=b+40|0;h=b+32|0;i=b+28|0;j=b+24|0;l=O[b+64|0];k=b+67|0;e=b+66|0}m=N[b+16>>2];n=N[b+12>>2];b=N[b+20>>2];N[a+40>>2]=f;N[a+36>>2]=g;N[a+32>>2]=h;N[a+28>>2]=i;N[a+24>>2]=j;N[a+20>>2]=b;N[a+12>>2]=n;N[a+16>>2]=m;b=O[d|0];d=O[k|0];L[a+46|0]=O[e|0];L[a+47|0]=d;e=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=e;L[a+48|0]=c;L[a+44|0]=l;L[a+45|0]=b}function vi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{l=N[a+20>>2];if(!l){break a}c=N[b+20>>2];if(!c){break a}d=N[b+4>>2];f=d+N[b+12>>2]|0;h=N[a+4>>2];g=h+N[a+12>>2]|0;j=(d|0)>(h|0)?d:h;n=((f|0)<(g|0)?f:g)-j|0;if((n|0)<=0){break a}k=N[b+16>>2];f=N[b>>2];e=k+f|0;o=N[a+16>>2];g=N[a>>2];i=o+g|0;m=(e|0)<(i|0)?e:i;e=(f|0)>(g|0)?f:g;i=m-e|0;if((i|0)<=0){break a}h=l+T(j-h|0,o)+(e-g)|0;f=c+T(j-d|0,k)+(e-f)|0;j=i&-2;i=i&1;l=(e+1|0)==(m|0);g=0;while(1){d=0;if(!l){while(1){c=d+f|0;e=O[c|0];m=c;c=O[d+h|0];L[m|0]=e>>>0>c>>>0?e-(c>>>1|0)|0:0;c=d|1;k=c+f|0;e=O[k|0];c=O[c+h|0];L[k|0]=e>>>0>c>>>0?e-(c>>>1|0)|0:0;d=d+2|0;if((j|0)!=(d|0)){continue}break}}if(i){c=d+f|0;e=O[c|0];d=O[d+h|0];L[c|0]=e>>>0>d>>>0?e-(d>>>1|0)|0:0}f=N[b+16>>2]+f|0;h=N[a+16>>2]+h|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}}function XC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[b+12>>2];a:{b:{c:{if(!f){break c}e=N[f+92>>2];if(!e){break c}e=Qa[N[N[e+12>>2]+12>>2]](e,c)|0;if(e>>>0>=Q[f+16>>2]){break c}if(e){break b}}f=0;if(!O[b+4|0]){break a}a=Tc(N[a+24>>2]+72|0);a=(O[a|0]|O[a+1|0]<<8?0:(O[a+62|0]|O[a+63|0]<<8)<<8)&65280;d:{if((a|0)!=45824){if((a|0)!=45568){if(c>>>0>255|a){break a}a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c+61440|0)|0;if(e>>>0>2]){break d}break a}c=Pp(c);a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c)|0;if(e>>>0>2]){break d}break a}c=Op(c);a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c)|0;if(e>>>0>=Q[a+16>>2]){break a}}if(!e){break a}}N[d>>2]=e;f=1}return f|0}function eB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=6;if(!((b|0)<0|N[a+16>>2]<=(b|0))){a:{b:{f=N[a+4>>2]+d|0;h=N[a+8>>2];c:{if(f>>>0<=h>>>0){break c}i=N[a>>2];k=c-i|0;e=h;while(1){e=((e>>>2|0)+e|0)+1024&-1024;if(f>>>0>e>>>0){continue}break}j=N[a+32>>2];d:{if((e|0)<=0){f=6;if(!e){break d}break a}g=Qa[N[j+4>>2]](j,e)|0;if(!g){break b}C(g,0,e)}N[a>>2]=g;if(i){F(g,i,N[a+8>>2]);g=N[a+16>>2];if((g|0)>0){m=N[a>>2]-i|0;f=N[a+24>>2];g=f+(g<<2)|0;while(1){l=N[f>>2];if(l){N[f>>2]=m+l}f=f+4|0;if(g>>>0>f>>>0){continue}break}}Qa[N[j+8>>2]](j,i)}N[a+8>>2]=e;e=h>>>0>k>>>0&(k|0)>=0;if(!e){break c}c=N[a>>2]+(e?k:-1)|0}b=b<<2;e=N[a>>2];h=N[a+4>>2];N[b+N[a+24>>2]>>2]=e?e+h|0:0;N[b+N[a+28>>2]>>2]=d;F(h+N[a>>2]|0,c,d);N[a+4>>2]=N[a+4>>2]+d;return 0}N[a>>2]=0;f=64}N[a>>2]=i}return f|0}function Fb(a,b,c){var d=0,e=0,f=0,g=0;a:{d=N[a+4>>2];if(d){g=N[b>>2];f=g>>31;b:{if((f^g)-f>>>0>268435455){break b}g=N[b+4>>2];f=g>>31;if((f^g)-f>>>0>268435455){break b}e=N[a>>2];c:{if(d>>>0>e>>>0){d=N[a+16>>2];break c}N[147316]=0;e=N[a+16>>2];d:{f=d<<1;if(f>>>0<=536870911){d=d<<4;d=$a(e,d>>>0<=1?1:d);if(d){break d}}N[147316]=48;N[a+16>>2]=e;return 0}N[147316]=0;N[a+4>>2]=f;N[a+16>>2]=d;e=N[a>>2]}e=(e<<3)+d|0;d=N[b+4>>2];N[e>>2]=N[b>>2];N[e+4>>2]=d;e=1;N[a>>2]=N[a>>2]+1;if(!c){break b}b=N[a+12>>2];if(!b){break a}e=N[a+8>>2];e:{if(b>>>0>e>>>0){d=N[a+20>>2];break e}e=0;N[147316]=0;d=N[a+20>>2];f=b<<1;b=$a(d,f>>>0<=1?1:f);N[147316]=b?0:48;d=b?b:d;N[a+20>>2]=d;if(!b){break b}N[a+12>>2]=f;e=N[a+8>>2]}L[d+e|0]=c;e=1;N[a+8>>2]=N[a+8>>2]+1}return e}ba(9920,18249,281,9160);B()}ba(10167,18249,303,9289);B()}function Cj(a){var b=0,c=0;a:{if(a>>>0<=65535){b:{c:{d:{e:{f:{g:{h:{i:{j:{b=a>>>8|0;switch(b|0){case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break a;case 0:break i;case 32:break d;case 24:break e;case 23:break f;case 6:break g;case 3:break h;default:break j}}switch(b-254|0){case 1:break b;case 0:break c;default:break a}}return(a|0)==173}return(a|0)==847}return(a|0)==1564}return(a&-2)==6068}return a-6155>>>0<4}c=1;if(a-8203>>>0<5){break a}return(a&-16)==8288|a-8234>>>0<5}return(a|0)==65279|(a&-16)==65024}return a-65520>>>0<9}k:{b=(a>>>16|0)-1|0;if(b){if((b|0)==13){break k}else{break a}}return a-119155>>>0<8}c=(a&-4096)==917504}return c}function qd(a,b,c){var d=0,e=0,f=0,g=0,h=U(0),i=U(0),j=0,k=U(0),l=U(0),m=U(0);f=N[a+8>>2];if(f){c=S[f+8>>3]+c;b=S[f>>3]+b}e=N[a+4>>2];f=e+16|0;a=N[a>>2];i=U(R[a+48>>2]*U(c));h=U(R[a+44>>2]*U(b));j=N[e+12>>2];a=N[e+8>>2];a:{if(O[e+4|0]){if(!N[f>>2]){g=N[a+12>>2];k=R[e+28>>2];l=R[e+32>>2];d=N[a+32>>2];if(d){d=N[d>>2]}else{d=0}Qa[g|0](a,j,f,k,l,d);N[e+16>>2]=1;d=N[e+32>>2];N[e+20>>2]=N[e+28>>2];N[e+24>>2]=d}d=N[a+16>>2];g=N[a+32>>2];if(!g){Qa[d|0](a,j,f,h,i,0);break a}Qa[d|0](a,j,f,h,i,N[g+4>>2]);break a}k=U(i*R[e>>2]);if(!N[e+16>>2]){g=N[a+12>>2];l=R[e+28>>2];m=R[e+32>>2];d=N[a+32>>2];if(d){d=N[d>>2]}else{d=0}Qa[g|0](a,j,f,l,m,d);N[e+16>>2]=1;d=N[e+32>>2];N[e+20>>2]=N[e+28>>2];N[e+24>>2]=d}g=N[a+16>>2];h=U(k+h);d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,j,f,h,i,d)}R[e+32>>2]=i;R[e+28>>2]=h}function ft(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=N[a+872>>2];if(!i){return 0}f=N[e+8>>2];a:{b:{if(f){g=N[e>>2];b=N[e+4>>2];break b}f=0;N[e+4>>2]=0;g=P[i+2>>1];if(!g){break a}l=N[i+8>>2];c:{while(1){j=(g-f>>>1|0)+f|0;h=T(j,6)+l|0;k=O[h|0]<<8|O[h+1|0];d:{if(k>>>0>>0){f=j+1|0;break d}g=j;if(b>>>0>=k>>>0){break c}}if(f>>>0>>0){continue}break}return 0}f=0;b=O[h+4|0]|O[h+5|0]<<8;g=(b<<8|b>>>8)&65535;if(!g){break a}b=O[h+3|0];j=O[h+2|0];N[e>>2]=g;b=b|j<<8;if(Q[i+40>>2]>>0){break a}f=N[i+12>>2]+(b<<2)|0;N[e+8>>2]=f;b=0}if(b>>>0>=g>>>0){return 0}N[e+8>>2]=f+2;N[c>>2]=O[f+1|0]|O[f|0]<<8;N[e+8>>2]=f+4;b=O[f+3|0]|O[f+2|0]<<8;N[d>>2]=b;if(Q[c>>2]>=Q[a+16>>2]){return 0}if((b|0)!=65535){f=0;if(b>>>0>=P[a+660>>1]){break a}}f=1;N[e+4>>2]=N[e+4>>2]+1}return f|0}function lv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(N[c+76>>2]){break a}e=8;d=a+1|0;if(d>>>0>b>>>0){break a}a=O[a|0];f=a&15;g=a>>>4|0;a=f+g|0;if((a<<1)+d>>>0>b>>>0){break a}if(!a){N[c+76>>2]=0;N[c- -64>>2]=f<<2;return 0}b=N[c>>2];h=a<<2;b=Qa[N[b+4>>2]](b,h)|0;if(!b){return 64}e=0;C(b,0,h);N[c+76>>2]=b;N[c- -64>>2]=(f<<2)+b;c=a&3;if(c){f=f+g|0;while(1){g=O[d|0]|O[d+1|0]<<8;N[b>>2]=(g<<8|g>>>8)<<16>>16;b=b+4|0;d=d+2|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}c=f-c|0}else{c=a}e=0;if(a>>>0<4){break a}while(1){a=O[d|0]|O[d+1|0]<<8;N[b>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+2|0]|O[d+3|0]<<8;N[b+4>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+4|0]|O[d+5|0]<<8;N[b+8>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+6|0]|O[d+7|0]<<8;N[b+12>>2]=(a<<8|a>>>8)<<16>>16;b=b+16|0;d=d+8|0;c=c-4|0;if(c){continue}break}}return e|0}function cx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=La-272|0;La=d;Qa[N[b+60>>2]](b,d+80|0,16,d+76|0);f=N[d+76>>2];a:{if((f|0)<0){c=162;break a}c=3;if(f-17>>>0<4294967280){break a}i=N[a+532>>2];j=N[b+8>>2];k=N[b>>2];f=0;while(1){c=(d+80|0)+T(g,12)|0;N[b>>2]=N[c>>2];N[b+8>>2]=N[c+4>>2];Qa[N[b+60>>2]](b,d+16|0,4,d+12|0);e=N[d+12>>2];b:{c:{if(!g){if(e-5>>>0<4294967292){break c}c=_f(a,N[d+76>>2],e);if(c){break a}i=N[a+532>>2];c=N[d+12>>2];f=e;break b}c=f;if((e|0)==(c|0)){break b}}c=3;break a}if((c|0)>0){e=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+T(c,12)|0;N[b>>2]=N[h>>2];N[b+8>>2]=N[h+4>>2];h=Qa[N[b+40>>2]](b,0)|0;N[N[e+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}N[b+8>>2]=j;N[b>>2]=k;c=0}N[b+12>>2]=c;La=d+272|0}function jb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=2147483647;a:{if(!c){break a}b:{e=b>>31;f=(e^b)-e|0;e=a>>31;g=(e^a)-e|0;e=c>>31;e=(e^c)-e|0;if(f+g>>>0<=129894-(e>>>17|0)>>>0){f=T(f,g)+(e>>>1|0)|0;break b}h=f>>>16|0;d=g>>>16|0;j=T(h,g&65535)+T(d,f&65535)|0;d=(j>>>16|0)+T(d,h)|0;h=e>>>1|0;g=T(f,g);f=h+g|0;d=(d+(f>>>0>>0)|0)+(g>>>0>>0)|0;if(!d){break b}if(e>>>0<=d>>>0){break a}g=W(d);h=32-g|0;d=f>>>h|d<>>0)/(e>>>0)|0;d=d-T(e,i)|0;f=f<>>31;h=d>>>0>=e>>>0;d=d-(h?e:0)|0;i=h|i<<1;h=g^31;f=f<<1}if((g|0)==31){break a}while(1){d=d<<1|f>>>31;g=d>>>0>=e>>>0;d=f>>>30&1|d-(g?e:0)<<1;j=d>>>0>=e>>>0;d=d-(j?e:0)|0;i=j|(i<<2|g<<1);f=f<<2;h=h-2|0;if(h){continue}break}break a}i=(f>>>0)/(e>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-i|0:i}function Wg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}f=N[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}i=N[b+12>>2];e=i-2|0;N[b+12>>2]=e;g=1;if((e|0)<=0){return 0}e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}b:{c:{c=((e<<8|e>>>8)&65535)+c|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break c}d=N[d>>2];g=i-4|0;N[b+12>>2]=g;if((g|0)<=0){break c}e=O[c|0]|O[c+1|0]<<8;e=(e<<8|e>>>8)&65535;UE(e,0,d,0);if(Pa){break c}d=T(d,e);if((d|0)<0){break c}e=c+2|0;h=d<<1;if(h){if(e>>>0>f>>>0|h>>>0>f-e>>>0){break c}f=g-h|0;N[b+12>>2]=f;if((f|0)<=0){break c}}if(!d){break b}f=0;while(1){if(!Hf(e+(f<<1)|0,b,c)){break c}g=1;f=f+1|0;if((d|0)!=(f|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;g=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}g=1}return g}function lh(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=N[b+12>>2];d=e-12|0;N[b+12>>2]=d;if((O[a|0]|O[a+1|0]<<8)!=256|(d|0)<=0){break a}d=a+6|0;if(d>>>0>c>>>0|c-d>>>0<2){break a}c=e-14|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(gl(((c<<8|c>>>8)&65535)+a|0,b,a)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[d|0]|O[d+1|0]<<8;c:{if(!e){break c}if(gl(((e<<8|e>>>8)&65535)+a|0,b,a)){break c}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break c}L[d|0]=0;L[d+1|0]=0;c=1}return c}return 0}function dp(a,b,c,d,e,f,g){var h=0,i=0,j=0;j=e-c|0;a:{if((e|0)<(f|0)|(j|0)<=0|(c|0)>(g|0)){break a}i=d-b|0;b:{if((c|0)<(f|0)){b=jb(i,f-c|0,j)+b|0;h=N[a>>2];f=f>>h;c=0;break b}h=N[a>>2];f=c>>h;c=N[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=N[a+4>>2]-1&e}e=g>>h;c:{if((c|0)>0){if((e|0)==(f|0)){break a}f=f+1|0;b=jb(i,N[a+4>>2]-c|0,j)+b|0;break c}if(!O[a+79|0]){break c}N[a+36>>2]=N[a+36>>2]-4}L[a+79|0]=!d;if(O[a+78|0]){N[N[a+80>>2]+20>>2]=f;L[a+78|0]=0}c=N[a+36>>2];g=e-f|0;e=g+1|0;if(Q[a+32>>2]<=c+(e<<2)>>>0){N[a+40>>2]=98;return 1}d=1;h=N[a+4>>2];d:{if((i|0)>0){f=di(h,i,j);break d}d=-1;i=0-i|0;f=0-di(h,i,j)|0}i=(T(h,i)|0)%(j|0)|0;if((g|0)>=0){g=0-j|0;while(1){N[c>>2]=b;g=g+i|0;h=(g|0)>=0;g=g-(h?j:0)|0;b=(b+f|0)+(h?d:0)|0;c=c+4|0;h=e>>>0>1;e=e-1|0;if(h){continue}break}}N[a+36>>2]=c}return 0}function Ed(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0<=a>>>0){break a}c=N[b+12>>2];e=c-1|0;N[b+12>>2]=e;f=1;if((e|0)<=0){break a}g=b;b:{c:{d:{switch(O[a|0]){case 0:if(d-a>>>0<4){break a}e=b;b=c-5|0;N[e+12>>2]=b;if((b|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}e=a+4|0;if(e>>>0>d>>>0){break a}f=0;a=T((O[a+1|0]>>>4&3)+1|0,(c<<8|c>>>8)&65535);if(a>>>0>d-e>>>0){break b}a=b-a|0;break c;case 1:break d;default:break b}}if(d-a>>>0<6){break a}c=c-7|0;N[b+12>>2]=c;if((c|0)<=0){break a}b=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);b=UE(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),0,(O[a+1|0]>>>4&3)+1|0,0);if(Pa){break a}if(!b){return 1}a=a+6|0;if(a>>>0>d>>>0){break a}f=0;if(b>>>0>d-a>>>0){break b}a=c-b|0}N[g+12>>2]=a;f=(a|0)>0}return f}return 0}function ij(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=U(0),j=U(0),k=U(0),l=U(0);f=N[a+8>>2];if(f){c=S[f+8>>3]+c;b=S[f>>3]+b}e=N[a+4>>2];f=e+16|0;a=N[a>>2];l=U(R[a+48>>2]*U(c));k=U(R[a+44>>2]*U(b));h=N[e+12>>2];a=N[e+8>>2];a:{b:{if(O[e+4|0]){if(!N[f>>2]){break a}i=R[e+20>>2];j=R[e+24>>2];if(!(i==R[e+28>>2]&j==R[e+32>>2])){g=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,h,f,i,j,d)}d=N[a+28>>2];g=N[a+32>>2];if(!g){Qa[d|0](a,h,f,0);break b}Qa[d|0](a,h,f,N[g+16>>2]);break b}k=U(U(l*R[e>>2])+k);if(!N[e+16>>2]){break a}i=R[e+20>>2];j=R[e+24>>2];if(!(i==R[e+28>>2]&j==R[e+32>>2])){g=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,h,f,i,j,d)}g=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[g|0](a,h,f,d)}N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0}R[e+32>>2]=l;R[e+28>>2]=k}function Sm(a,b,c){var d=0,e=0,f=0,g=0;f=La-16|0;La=f;e=N[a+20>>2];a:{if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;b:{if(Q[a+4>>2]<2){break b}c:{d:{e:{d=N[a+20>>2];if(d){if((Qa[d|0](a,0,f+10|0,2)|0)!=2){break b}e=N[a+8>>2];d=f+10|0;break e}e=0;d=N[a>>2];if(d){break e}N[a+8>>2]=2;break d}g=O[d|0]|O[d+1|0]<<8;d=e+2|0;N[a+8>>2]=d;g=g<<8|g>>>8;if((g+32767&65535)>>>0>1){break d}if(Q[a+4>>2]<=e+5>>>0){break b}e=N[a+20>>2];if(e){if((Qa[e|0](a,d,f+12|0,4)|0)!=4){break b}d=N[a+8>>2]}N[a+8>>2]=d+4;if((g&65535)==32769){break c}}e=N[a+20>>2];if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}}N[a+8>>2]=0}d=Bb(a,c);if(d){break a}b=(Mb(N[a+32>>2],b,c)|0)!=0;if(N[a+20>>2]){c=N[a>>2];if(c){d=N[a+28>>2];Qa[N[d+8>>2]](d,c)}N[a>>2]=0}d=b<<1;N[a+32>>2]=0;N[a+36>>2]=0;break a}d=85}La=f+16|0;return d}function In(a,b,c,d){var e=0,f=0;if(!a){return 35}if(!d){return 6}f=N[a+16>>2];if(f>>>0<=b>>>0){return 16}e=N[N[N[a+96>>2]+12>>2]+84>>2];a:{b:{if(!(!e|!(c&3)&(c&983040)!=65536)){e=Qa[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=N[a+88>>2];if(!a){return 36}a=jb(N[d>>2],N[a+(c&16?20:16)>>2],64);break b}if((e&255)!=7){break a}f=N[a+16>>2]}if(b+1>>>0>f>>>0){return 16}e=16;if(b>>>0>=f>>>0){break a}e=N[N[N[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Qa[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=N[a+88>>2];if(!a){return 36}a=jb(N[d>>2],N[a+(c&16?20:16)>>2],64);break b}if((e&255)!=7){break a}}e=7;if(c&536870912){break a}f=c&1?0:10;e=vc(a,b,c|256);if(!(c&16)){if(e){break a}a=N[N[a+84>>2]+64>>2]<>2]+68>>2]<>2]=a;e=0}return e}function fd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(c-37>>>0<4294967261){break a}d=N[a>>2];if(d>>>0>=b>>>0){break a}b:{c:{g=O[d|0];switch(g-43|0){case 0:case 2:break c;default:break b}}d=d+1|0;if((d|0)==(b|0)){break a}k=(g|0)==45;switch(O[d|0]-43|0){case 0:case 2:break a;default:break b}}i=2147483647/(c>>>0)|0;d:{e:{if(b>>>0<=d>>>0){N[a>>2]=d;break e}l=T(c,i)^2147483647;f:{while(1){g=e;g:{e=O[d|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}if(e<<24>>24<0){break f}j=L[e+294800|0];if((j|0)<0|(c|0)<=(j|0)){break f}e=1;h=f;h:{if((f|0)>(i|0)){break h}if((f|0)==(i|0)){h=i;if((j|0)>(l|0)){break h}}e=g;h=j+T(c,f)|0}f=h;d=d+1|0;if((d|0)!=(b|0)){continue}break}g=e;d=b}N[a>>2]=d;a=2147483647;if(g&255){break d}}a=f}f=k?0-a|0:a}return f}function zr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=N[b+56>>2];e=N[b+60>>2];f=N[b+48>>2];g=N[b+52>>2];h=N[b+40>>2];i=N[b+44>>2];j=N[b+32>>2];k=N[b+36>>2];l=N[b+24>>2];m=N[b+28>>2];n=N[b+16>>2];o=N[b+20>>2];p=N[b+8>>2];q=N[b+12>>2];r=N[b>>2];b=N[c+4>>2]&(N[b+4>>2]^-1);N[a>>2]=N[c>>2]&(r^-1);N[a+4>>2]=b;b=N[c+12>>2]&(q^-1);N[a+8>>2]=N[c+8>>2]&(p^-1);N[a+12>>2]=b;b=N[c+20>>2]&(o^-1);N[a+16>>2]=N[c+16>>2]&(n^-1);N[a+20>>2]=b;b=N[c+28>>2]&(m^-1);N[a+24>>2]=N[c+24>>2]&(l^-1);N[a+28>>2]=b;b=N[c+36>>2]&(k^-1);N[a+32>>2]=N[c+32>>2]&(j^-1);N[a+36>>2]=b;b=N[c+44>>2]&(i^-1);N[a+40>>2]=N[c+40>>2]&(h^-1);N[a+44>>2]=b;b=N[c+52>>2]&(g^-1);N[a+48>>2]=N[c+48>>2]&(f^-1);N[a+52>>2]=b;b=N[c+60>>2]&(e^-1);N[a+56>>2]=N[c+56>>2]&(d^-1);N[a+60>>2]=b}function yr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;d=N[c+56>>2];e=N[c+60>>2];f=N[c+48>>2];g=N[c+52>>2];h=N[c+40>>2];i=N[c+44>>2];j=N[c+32>>2];k=N[c+36>>2];l=N[c+24>>2];m=N[c+28>>2];n=N[c+16>>2];o=N[c+20>>2];p=N[c+8>>2];q=N[c+12>>2];r=N[c>>2];c=N[b+4>>2]&(N[c+4>>2]^-1);N[a>>2]=N[b>>2]&(r^-1);N[a+4>>2]=c;c=N[b+12>>2]&(q^-1);N[a+8>>2]=N[b+8>>2]&(p^-1);N[a+12>>2]=c;c=N[b+20>>2]&(o^-1);N[a+16>>2]=N[b+16>>2]&(n^-1);N[a+20>>2]=c;c=N[b+28>>2]&(m^-1);N[a+24>>2]=N[b+24>>2]&(l^-1);N[a+28>>2]=c;c=N[b+36>>2]&(k^-1);N[a+32>>2]=N[b+32>>2]&(j^-1);N[a+36>>2]=c;c=N[b+44>>2]&(i^-1);N[a+40>>2]=N[b+40>>2]&(h^-1);N[a+44>>2]=c;c=N[b+52>>2]&(g^-1);N[a+48>>2]=N[b+48>>2]&(f^-1);N[a+52>>2]=c;c=N[b+60>>2]&(e^-1);N[a+56>>2]=N[b+56>>2]&(d^-1);N[a+60>>2]=c}function ad(a){var b=0,c=0,d=0;d=La-16|0;La=d;a:{if(N[a+24>>2]){break a}b:{b=N[a+28>>2];if(!b){c=a+32|0;if(!xj(c,N[a+36>>2]+1|0)){break b}b=db(1,576);N[d+12>>2]=b;if(!b){break b}wj(c,d+12|0);b=vj(b)}N[a+28>>2]=N[b>>2];c=b+32|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[b+24|0]=0;L[b+25|0]=0;L[b+26|0]=0;L[b+27|0]=0;L[b+28|0]=0;L[b+29|0]=0;L[b+30|0]=0;L[b+31|0]=0;L[b+16|0]=0;L[b+17|0]=0;L[b+18|0]=0;L[b+19|0]=0;L[b+20|0]=0;L[b+21|0]=0;L[b+22|0]=0;L[b+23|0]=0;L[b+8|0]=0;L[b+9|0]=0;L[b+10|0]=0;L[b+11|0]=0;L[b+12|0]=0;L[b+13|0]=0;L[b+14|0]=0;L[b+15|0]=0;L[b|0]=0;L[b+1|0]=0;L[b+2|0]=0;L[b+3|0]=0;L[b+4|0]=0;L[b+5|0]=0;L[b+6|0]=0;L[b+7|0]=0;N[b>>2]=N[a+4>>2];N[b+4>>2]=N[a+8>>2];N[b+32>>2]=N[a+44>>2];N[a+44>>2]=b;break a}if(N[a+24>>2]){break a}N[a+24>>2]=1}La=d+16|0;return N[a+4>>2]}function Jl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=N[a+28>>2];a:{if((d|0)==-1){break a}e=N[a+36>>2];h=N[a+40>>2];if(e>>>0>=h>>>0){break a}k=N[a>>2];d=d+1|0;l=N[a+16>>2]+16|0;while(1){b:{b=T(e,12)+l|0;c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=d>>>0>g>>>0?d:g;c=O[b+5|0]<<16|O[b+4|0]<<24|O[b+6|0]<<8;f=O[b+7|0];i=c|f;if(d>>>0>i>>>0){break b}b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);j=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=f+(c|1)|0;c:{while(1){c=d-g|0;if((c^-1)>>>0>>0){break b}c=c+j|0;if(c){break c}c=d+1|0;if(!c){break a}f=d>>>0>>0;d=c;if(f){continue}break}d=b;break b}if(c>>>0>=Q[k+16>>2]){break b}N[a+36>>2]=e;N[a+32>>2]=c;N[a+28>>2]=d;return}e=e+1|0;if((h|0)!=(e|0)){continue}break}}L[a+24|0]=0}function jn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Qa[N[a+624>>2]](a)|0;f=N[b>>2];a:{if(!f){break a}g=a+36|0;e=1;while(1){b=N[a+28>>2];if((b|0)<=1){if(O[a+593|0]){N[a+12>>2]=129}N[a+28>>2]=0;break a}d=b-2|0;N[a+28>>2]=d;c=b<<2;b=N[a+24>>2];c=P[(c+b|0)-4>>1];b:{if(c>>>0>1]){d=N[b+(d<<2)>>2];b=d>>>4&15;c:{d:{switch(O[a+376|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((P[a+336>>1]+b|0)!=(h|0)){break b}b=d&15;b=(b>>>0>7?-7:-8)+b<<6-P[a+338>>1];if(!(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40)){if(!((P[a+304>>1]?O[a+592|0]:0)|O[c+N[a+60>>2]|0]&16)|(O[a+645|0]?O[a+644|0]:0)){break b}Qa[N[a+616>>2]](a,g,c,b);break b}Qa[N[a+616>>2]](a,g,c,b);break b}if(!O[a+593|0]){break b}N[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}N[a+32>>2]=N[a+28>>2]}function Vm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=N[a+12>>2];j=N[e>>2];i=b>>>0>j>>>0?j:b;if(i){e=N[e+12>>2];while(1){h=N[e+12>>2];g=h;m=k<<2;f=N[m+c>>2];if((g|0)>=(f|0)){g=N[e+4>>2];g=(f|0)>(g|0)?f:g}f=N[e+8>>2];a:{if((f|0)>(g|0)){l=0-fb(g-f|0,N[e+4>>2]-f|0)|0;break a}l=0;if((f|0)>=(g|0)){break a}l=fb(g-f|0,h-f|0)}h=l;N[d+m>>2]=h;e=e+24|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}if(b>>>0>>0){C((i<<2)+d|0,0,j-i<<2)}a=N[a+28>>2];if(!(!a|!j)){b=0;while(1){f=P[a>>1];b:{if(f>>>0<2){break b}i=(b<<2)+d|0;c=N[i>>2];h=N[a+4>>2];e=1;while(1){g=h+(e<<3)|0;k=N[g>>2];if((k|0)>(c|0)){f=g-8|0;e=N[f+4>>2];h=c;c=N[f>>2];n=i,o=jb(h-c|0,N[g+4>>2]-e|0,k-c|0)+e|0,N[n>>2]=o;break b}e=e+1|0;if((f|0)!=(e|0)){continue}break}}a=a+8|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}}function gn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=La-16|0;La=f;c=N[b+28>>2];a:{if(Qa[N[a+516>>2]](a,1668707360,b,f+12|0)|0){N[a+700>>2]=0;N[a+704>>2]=0;c=0;break a}d=N[f+12>>2];g=d>>>1|0;N[a+700>>2]=g;b:{if(d>>>0>=2){if(d>>>0>=1073741824){N[a+704>>2]=0;c=10;break a}d=g<<2;e=Qa[N[c+4>>2]](c,d)|0;if(!e){break b}C(e,0,d)}N[a+704>>2]=e;c=Bb(b,N[a+700>>2]<<1);if(c){break a}c=N[a+700>>2];if((c|0)>0){d=N[a+704>>2];g=d+(c<<2)|0;c=N[b+32>>2];h=N[b+36>>2];while(1){e=0;if(c+1>>>0>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[d>>2]=e<<16>>16<<6;d=d+4|0;if(g>>>0>d>>>0){continue}break}}if(N[b+20>>2]){c=N[b>>2];if(c){e=N[b+28>>2];Qa[N[e+8>>2]](e,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!O[a+733|0]){c=0;break a}c=Ym(a,b);break a}N[a+704>>2]=0;c=64}La=f+16|0;return c}function Dw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=N[N[a+40>>2]>>2];if(e){a=N[a>>2];g=N[a+100>>2];b=N[N[a+96>>2]+4>>2];a:{if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}f=N[a+712>>2];d=N[f+3080>>2];a=b+20|0;b=a+(c<<2)|0;while(1){c=N[a>>2];if(cb(N[N[c>>2]+8>>2],11971)){a=a+4|0;if(b>>>0>a>>>0){continue}break a}break}if(!d){break a}a=N[d>>2];if(!a){break a}d=Qa[a|0](c)|0;if(!d){break a}Qa[N[d+8>>2]](N[e>>2]);b=N[f+2024>>2];if(!b){break a}f=b&3;b:{if(!f){a=b;break b}c=0;a=b;while(1){a=a-1|0;Qa[N[d+8>>2]](N[((a<<2)+e|0)+4>>2]);c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(b>>>0<4){break a}b=e+4|0;while(1){c=b+(a<<2)|0;Qa[N[d+8>>2]](N[c-4>>2]);Qa[N[d+8>>2]](N[c-8>>2]);Qa[N[d+8>>2]](N[c-12>>2]);a=a-4|0;Qa[N[d+8>>2]](N[b+(a<<2)>>2]);if(a){continue}break}}Qa[N[g+8>>2]](g,e)}}function vk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=a+2|0;a:{if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){return 1}f=a+6|0;if(d>>>0>>0){break a}c=(c<<8|c>>>8)&65535;g=c<<1;if(g>>>0>d-f>>>0){break a}d=e-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=c>>>0<=1?1:c;c=0;while(1){h=uk(((c<<1)+a|0)+6|0,b,a);if(!h){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return h}function hh(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{e=N[b+4>>2];if(e>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=N[b+12>>2];d=g-4|0;N[b+12>>2]=d;h=1;if((d|0)<=0){break a}d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b:{if(!d){break b}if(d&128){break a}d=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0;c:{if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<4){break c}e=g-8|0;N[b+12>>2]=e;if((e|0)<=0){break c}c=O[d+2|0]|O[d+3|0]<<8;g=(c<<8|c>>>8)&65535;c=O[d|0]|O[d+1|0]<<8;c=UE(T(g,(c<<8|c>>>8)&65535),0,6,0);if(Pa){break c}if(!c){break b}d=d+4|0;if(d>>>0>f>>>0|c>>>0>f-d>>>0){break c}c=e-c|0;N[b+12>>2]=c;if((c|0)>0){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;h=0;if(!O[b+24|0]){break b}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;h=1}return h}return 0}function tv(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=N[N[a+96>>2]+8>>2];N[a+20>>2]=0;N[a+24>>2]=0;c=N[a+100>>2];b=N[a+368>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+368>>2]=0;b=N[a+372>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+372>>2]=0;b=N[a+376>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+376>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+360>>2]=0;N[a+364>>2]=0;N[a+348>>2]=0;N[a+352>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;N[a+380>>2]=0;N[a+384>>2]=0;b=N[a+416>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+416>>2]=0;N[a+408>>2]=0;N[a+412>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+392>>2]=0;N[a+396>>2]=0;b=N[a+424>>2];if(b){while(1){e=N[b>>2];Qa[N[c+8>>2]](c,b);b=e;if(b){continue}break}}N[a+428>>2]=0;N[a+420>>2]=0;N[a+424>>2]=0;b=N[a+32>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+32>>2]=0}}function OC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=U(0),g=U(0),h=U(0),i=U(0);e=N[b+12>>2];a:{if(O[b+6|0]){if(e){a=N[e+128>>2];h=U(N[a+12>>2]);g=U(N[a+4>>2]);i=U(N[a>>2]);f=U(N[a+8>>2])}else{f=U(0)}h=U(U(aa(U(U(f*f)+U(h*h))))*U(152587890625e-16));f=U(U(aa(U(U(i*i)+U(g*g))))*U(152587890625e-16));break a}h=U(N[a+32>>2]>>31|1);f=U(N[a+28>>2]>>31|1)}if(vc(e,c,N[b>>2])){return 0}a=N[e+84>>2];g=U(f*U(N[a+32>>2]));b:{if(U(V(g))>2]=b;g=U(h*U(N[a+36>>2]));c:{if(U(V(g))>2]=b;f=U(f*U(N[a+24>>2]));d:{if(U(V(f))>2]=b;f=U(h*U(0-N[a+28>>2]|0));e:{if(U(V(f))>2]=a;return 1}function gw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=N[a+712>>2];a:{if(O[e+24|0]==2){i=11;e=N[N[a+96>>2]+4>>2];if(!e){break a}f=N[e+16>>2];if((f|0)<=0){break a}e=e+20|0;f=e+(f<<2)|0;while(1){g=N[e>>2];h=N[g>>2];if(cb(N[h+8>>2],9195)){e=e+4|0;if(f>>>0>e>>>0){continue}break a}break}e=N[h+32>>2];if(!e){break a}e=Qa[e|0](g,9592)|0;if(!e){break a}e=N[e>>2];if(!e){break a}return Qa[e|0](a,b,c,d)|0}f=N[e+3084>>2];if(!f){return 11}a=P[N[e+1188>>2]+(b<<1)>>1];if((a|0)==65535){break a}b:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[e+1356>>2]){break a}e=N[N[e+1360>>2]+(a<<2)>>2];break b}e=Qa[N[f+20>>2]](a)|0}if(!e){break a}c:{if(d>>>0<2){break c}while(1){a=O[e|0];if(!a){break c}L[c|0]=a;c=c+1|0;e=e+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0}return i|0}function Sl(a,b,c,d){var e=0,f=0,g=0,h=0;g=Qa[N[a+4>>2]](a,(P[c+8>>1]>>>1|0)+1|0)|0;if(!g){return 0}e=N[c+12>>2];f=N[b+20>>2];a:{b:{c:{if(f){if(!(Qa[f|0](b,e,0,0)|0)){break c}break b}if(e>>>0>Q[b+4>>2]){break b}}N[b+8>>2]=e;if(Bb(b,P[c+8>>1])){break b}e=g;d:{f=P[c+8>>1];if(f>>>0>=2){h=f>>>1|0;f=N[b+32>>2];while(1){if(O[f|0]){break d}if(!(Qa[d|0](L[f+1|0])|0)){break d}L[e|0]=O[f+1|0];f=f+2|0;e=e+1|0;h=h-1|0;if(h){continue}break}}L[e|0]=0;if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;b=b+36|0;break a}if(N[b+20>>2]){d=N[b>>2];if(d){e=N[b+28>>2];Qa[N[e+8>>2]](e,d)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}Qa[N[a+8>>2]](a,g);g=0;N[c+12>>2]=0;M[c+8>>1]=0;b=c+16|0;c=N[c+16>>2];if(!c){break a}Qa[N[a+8>>2]](a,c)}N[b>>2]=0;return g}function ID(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+20>>2];if((h|0)<=0){return 0}k=N[a>>2];d=h-1|0;l=h+1<<1;a:{while(1){e=d+f|0;g=e>>>1|0;e=e&-2;i=e+k|0;j=O[i|0]|O[i+1|0]<<8;b:{if(((j<<8|j>>>8)&65535)>>>0>=b>>>0){d=i+l|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}d=g-1|0;break b}f=g+1|0}if((d|0)>=(f|0)){continue}break}return 0}f=e>>1;d=e+N[a+12>>2]|0;g=O[d|0]|O[d+1|0]<<8;c:{if(g){d=0;e=f+(b-h|0)+(((g<<8|g>>>8)&65534)>>>1)|0;b=N[a+4>>2]+(f<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=Q[a+24>>2]){break c}b=N[a+16>>2]+(b<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!b){break c}b=(b<<8|b>>>8)&65535}a=N[a+8>>2]+(f<<1)|0;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){return 0}N[c>>2]=a;d=1}return d|0}function Pe(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=N[b+12>>2]-2|0;N[b+12>>2]=f;if((f|0)<=0){break b}d=O[a|0]|O[a+1|0]<<8;if(!d){return 1}g=a+2|0;if(g>>>0>e>>>0){break b}d=(d<<8|d>>>8)&65535;h=d<<1;if(h>>>0>e-g>>>0){break b}e=f-h|0;N[b+12>>2]=e;if((e|0)<=0){break b}g=d>>>0<=1?1:d;f=0;while(1){e=((f<<1)+a|0)+2|0;if(e>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break a}h=N[c>>2];d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[e|0]|O[e+1|0]<<8;c:{if(!d){break c}if(Lb(h+((d<<8|d>>>8)&65535)|0,b)){break c}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0}i=1;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return i}return 0}function vf(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{switch(O[a|0]){case 0:if(!b|c>>>0<2){break b}e=1;a=a+1|0;while(1){d=(a+(e<<1)|0)-2|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)==(b|0)){return e}e=e+1|0;if((e|0)!=(c|0)){continue}break};break b;case 1:if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+T(e,3)|0;f=O[a+2|0];a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break};break b;case 2:break c;default:break b}}if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+(e<<2)|0;f=O[a+2|0]|O[a+3|0]<<8;f=(f<<8|f>>>8)&65535;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break}}return 0}return(b+d|0)-a|0}function Sg(a,b,c){var d=0,e=0,f=0;a:{b:{d=N[a+72>>2]+1|0;c:{if(!(!d|d>>>0>2])){if(!gb(a,d)){break c}}d=N[a+84>>2];d:{if((d|0)!=N[a+80>>2]){break d}e=N[a+72>>2];if(e+1>>>0<=N[a+64>>2]+b>>>0){break d}if(!O[a+62|0]){break b}f=N[a+88>>2];N[a+84>>2]=f;e=T(e,20);if(!e){break d}F(f,d,e)}d=N[a+64>>2];e=d+b|0;if(e>>>0>Q[a+68>>2]){break a}Ib(a,d,e);d=N[a+64>>2];e:{if(d>>>0>2]){e=N[a+72>>2];f=N[a+84>>2];d=N[a+80>>2]+T(d,20)|0;break e}f=N[a+84>>2];e=N[a+72>>2];d=e-1|0;d=f+T(d>>>0<=e>>>0?d:0,20)|0}e=T(e,20)+f|0;f=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=f;N[e+16>>2]=N[d+16>>2];f=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=f;N[e>>2]=N[c>>2];N[a+64>>2]=N[a+64>>2]+b;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function wy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){b=b<<2;d=N[b+N[a+392>>2]>>2];e=cg(a);j=b+N[a+392>>2]|0,k=fb(c,e)+d|0,N[j>>2]=k}}function Cq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=La-32|0;La=f;c=c+2|0;a:{if(d>>>0<=c>>>0){break a}h=N[b+80>>2];while(1){b:{a=T(c,20)+h|0;e=P[a-24>>1];if((e&65024)!=5120|!(1<>1];if((g&65024)!=5632|!(1<>1];g=1<>>8|0:0;if((g|0)!=220&(g|0)!=25){break b}Ib(b,c-1|0,c+1|0);N[f+24>>2]=N[e+16>>2];b=N[e+12>>2];N[f+16>>2]=N[e+8>>2];N[f+20>>2]=b;b=N[e+4>>2];N[f+8>>2]=N[e>>2];N[f+12>>2]=b;N[e+16>>2]=N[a+16>>2];b=N[a+12>>2];N[e+8>>2]=N[a+8>>2];N[e+12>>2]=b;b=N[a+4>>2];N[e>>2]=N[a>>2];N[e+4>>2]=b;N[a+16>>2]=N[f+24>>2];b=N[f+20>>2];N[a+8>>2]=N[f+16>>2];N[a+12>>2]=b;b=N[f+12>>2];N[a>>2]=N[f+8>>2];N[a+4>>2]=b;break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}La=f+32|0}function tc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=O[a+12|0];a:{if(O[a+48|0]){if(!c){break a}c=N[a+20>>2];d=N[a+28>>2];e=b>>>9|0;f=N[a+32>>2];if(!(c>>>0>>0&(e|0)==N[f+(c<<3)>>2])){if((d|0)<=0){break a}d=d-1|0;while(1){b:{c=d+g>>>1|0;h=N[(c<<3)+f>>2];c:{if((e|0)<(h|0)){d=c-1|0;break c}if((e|0)==(h|0)){break b}g=c+1|0}if((d|0)>=(g|0)){continue}break a}break}N[a+20>>2]=c}e=N[a+44>>2];if(!e){break a}c=N[((c<<3)+f|0)+4>>2];N[a+16>>2]=-1;a=(e+(c<<6)|0)+(b>>>3&56)|0;c=N[a>>2];e=N[a+4>>2];i=a,j=_E(-2,-1,b)&c,N[i>>2]=j;N[a+4>>2]=Pa&e;return}if(!c|(b|0)==-1){break a}N[a+16>>2]=-1;a=wc(a+12|0,b);if(!a){break a}a=a+(b>>>3&56)|0;e=N[a+4>>2];c=b&63;b=c&31;if((c&63)>>>0>=32){c=1<>>32-b}N[a>>2]=d|N[a>>2];N[a+4>>2]=c|e}}function Hs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=N[a+16>>2];f=N[a+24>>2];c=f+1|0;d=N[a+28>>2];a:{b:{if(c>>>0<=d>>>0){b=N[a+32>>2];break b}N[a+36>>2]=b;if((c|d)<0|(c|0)>536870911){break a}c:{if(!d){b=Qa[N[b+4>>2]](b,c<<2)|0;e=!b<<6;break c}h=N[a+32>>2];e=Qa[N[b+12>>2]](b,d<<2,c<<2,h)|0;b=e?e:h;e=!e<<6}d:{if(!(e|(c|0)<=(d|0)|!b)){C((d<<2)+b|0,0,c-d<<2);N[a+32>>2]=b;break d}N[a+32>>2]=b;if(e){break a}}N[a+28>>2]=c}g=b;e:{if(!f){break e}a=i+10|0;b=0;if((f|0)!=1){e=f&1;c=f&-2;while(1){d=b<<2;N[d+g>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);N[(d|4)+g>>2]=O[a+13|0]|(O[a+12|0]<<8|O[a+11|0]<<16);a=a+22|0;b=b+2|0;if((c|0)!=(b|0)){continue}break}if(!e){break e}}N[(b<<2)+g>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16)}N[(f<<2)+g>>2]=0}return g|0}function Si(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=6;a:{if(N[b+72>>2]!=N[a+16>>2]){break a}b:{if(!c){break b}a=N[b+112>>2];if(!a){break b}e=M[b+110>>1];if((e|0)<=0){break b}e=(e<<3)+a|0;while(1){id(a,c);a=a+8|0;if(e>>>0>a>>>0){continue}break}}e=0;if(!d){break a}f=M[b+110>>1];if((f|0)<=0){break a}c=N[d+4>>2];d=N[d>>2];a=N[b+112>>2];if(f>>>0>=4){e=f&-4;b=0;while(1){N[a>>2]=d+N[a>>2];N[a+4>>2]=c+N[a+4>>2];N[a+8>>2]=d+N[a+8>>2];N[a+16>>2]=d+N[a+16>>2];N[a+24>>2]=d+N[a+24>>2];N[a+12>>2]=c+N[a+12>>2];N[a+20>>2]=c+N[a+20>>2];N[a+28>>2]=c+N[a+28>>2];a=a+32|0;b=b+4|0;if((e|0)!=(b|0)){continue}break}}e=0;f=f&3;if(!f){break a}b=0;while(1){N[a>>2]=d+N[a>>2];N[a+4>>2]=c+N[a+4>>2];a=a+8|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}return e|0}function HC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=U(0),g=0,h=U(0),i=U(0),j=U(0),k=U(0);e=b+16|0;g=N[b+12>>2];c=N[b+8>>2];h=U(N[a+4>>2]);f=U(N[a>>2]);a:{if(O[b+4|0]){if(!N[e>>2]){d=N[c+12>>2];i=R[b+28>>2];j=R[b+32>>2];a=N[c+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[d|0](c,g,e,i,j,a);N[b+16>>2]=1;a=N[b+32>>2];N[b+20>>2]=N[b+28>>2];N[b+24>>2]=a}d=N[c+16>>2];a=N[c+32>>2];if(!a){Qa[d|0](c,g,e,f,h,0);break a}Qa[d|0](c,g,e,f,h,N[a+4>>2]);break a}i=U(h*R[b>>2]);if(!N[b+16>>2]){d=N[c+12>>2];j=R[b+28>>2];k=R[b+32>>2];a=N[c+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[d|0](c,g,e,j,k,a);N[b+16>>2]=1;a=N[b+32>>2];N[b+20>>2]=N[b+28>>2];N[b+24>>2]=a}d=N[c+16>>2];f=U(i+f);a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[d|0](c,g,e,f,h,a)}R[b+32>>2]=h;R[b+28>>2]=f;return 0}function jr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=N[a>>2];a=0;a:{b:{c:{d:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}a=e;e=O[c+2|0]|O[c+3|0]<<8;e=a-((e<<8|e>>>8)&65535)|0;d=O[c+4|0]|O[c+5|0]<<8;a=275552;if(e>>>0>=((d<<8|d>>>8)&65535)>>>0){break b}a=((e<<1)+c|0)+6|0;break b}g=241305;a=O[c+2|0]|O[c+3|0]<<8;e:{if(!a){break e}h=c+4|0;c=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){d=a+c>>>1|0;f=T(d,6)+h|0;i=O[f|0]|O[f+1|0]<<8;f:{if(e>>>0>=((i<<8|i>>>8)&65535)>>>0){a=O[f+2|0]|O[f+3|0]<<8;if(e>>>0>((a<<8|a>>>8)&65535)>>>0){a=d+1|0;break f}g=T(d,6)+h|0;break e}c=d-1|0}if((a|0)<=(c|0)){continue}break}}a=g+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}return(a|0)==(b|0)|0}function Ng(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=U(0),q=U(0),r=0;l=S[g+8>>3];m=S[g>>3];k=N[b+8>>2];if(k){n=S[k+8>>3];l=l+n;o=S[k>>3];m=m+o;f=n+f;e=o+e;d=n+d;c=o+c}k=N[b>>2];p=R[k+44>>2];q=R[k+48>>2];Cb(N[b+4>>2],U(p*U(c)),U(q*U(d)),U(p*U(e)),U(q*U(f)),U(p*U(m)),U(q*U(l)));r=N[g+12>>2];k=a+4400|0;N[k>>2]=N[g+8>>2];N[k+4>>2]=r;k=N[g+4>>2];N[a+4392>>2]=N[g>>2];N[a+4396>>2]=k;f=S[j+8>>3];e=S[j>>3];d=S[i+8>>3];c=S[i>>3];l=S[h+8>>3];m=S[h>>3];g=N[b+8>>2];if(g){n=S[g+8>>3];f=f+n;o=S[g>>3];e=e+o;d=d+n;l=l+n;m=m+o;c=c+o}g=N[b+4>>2];b=N[b>>2];p=R[b+44>>2];q=R[b+48>>2];Cb(g,U(p*U(m)),U(q*U(l)),U(p*U(c)),U(q*U(d)),U(p*U(e)),U(q*U(f)));b=N[j+12>>2];a=a+4392|0;N[a+8>>2]=N[j+8>>2];N[a+12>>2]=b;b=N[j+4>>2];N[a>>2]=N[j>>2];N[a+4>>2]=b}function ve(a,b,c){var d=0,e=0;if(c>>>0>=512){C(a,b<<24>>24,c);return}a:{if(!c){break a}L[a|0]=b;d=a+c|0;L[d-1|0]=b;if(c>>>0<3){break a}L[a+2|0]=b;L[a+1|0]=b;L[d-3|0]=b;L[d-2|0]=b;if(c>>>0<7){break a}L[a+3|0]=b;L[d-4|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;a=T(b&255,16843009);N[e>>2]=a;c=c-d&-4;b=c+e|0;N[b-4>>2]=a;if(c>>>0<9){break a}N[e+8>>2]=a;N[e+4>>2]=a;N[b-8>>2]=a;N[b-12>>2]=a;if(c>>>0<25){break a}N[e+24>>2]=a;N[e+20>>2]=a;N[e+16>>2]=a;N[e+12>>2]=a;N[b-16>>2]=a;N[b-20>>2]=a;N[b-24>>2]=a;N[b-28>>2]=a;b=c;c=e&4|24;b=b-c|0;if(b>>>0<32){break a}a=UE(a,0,1,1);d=Pa;c=c+e|0;while(1){N[c+24>>2]=a;N[c+28>>2]=d;N[c+16>>2]=a;N[c+20>>2]=d;N[c+8>>2]=a;N[c+12>>2]=d;N[c>>2]=a;N[c+4>>2]=d;c=c+32|0;b=b-32|0;if(b>>>0>31){continue}break}}}function ko(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;A(+a);b=v(1)|0;v(0)|0;a:{b:{c:{d:{if(!(((b|0)>0|(b|0)>=0)&b>>>0>1071284857)){if(b>>>0>=3220176896){d=-Infinity;if(a==-1){break b}return(a-a)/0}if(b<<1>>>0<2034237440){break a}if(b>>>0>=3218259653){break d}d=0;break c}if(b>>>0>2146435071){break a}}c=a+1;A(+c);b=v(1)|0;b=b+614242|0;g=b>>>0<=1129316351?(b>>>0>1074790399?a-c+1:a-(c+-1))/c:g;x(0,v(0)|0);x(1,(b&1048575)+1072079006|0);a=+z()+-1;d=+((b>>>20|0)-1023|0)}e=a/(a+2);f=e*e;c=f*f;h=a;a=a*(a*.5);d=d*.6931471803691238+(h+(e*(a+(c*(c*(c*.15313837699209373+.22222198432149784)+.3999999999940942)+f*(c*(c*(c*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))+(d*1.9082149292705877e-10+g)-a))}return d}return a}function _l(a,b,c){var d=0,e=0,f=0;d=L[a|0];if((d|0)>=0){L[a|0]=c+d&127;return 1}e=1;a:{if(d>>>0<4294967232){break a}c=((c&32767)-(c&32768)|0)+16777216|0;f=d&255;if(d>>>0<=4294967263){if((b|0)<2){break a}b=O[a+1|0];c=c+(f<<6&1984|b&63)|0;L[a+1|0]=c&63|b&192;L[a|0]=c>>>6&31|192;return 2}if(d>>>0<=4294967279){e=b;if((b|0)<3){break a}b=O[a+2|0];c=(c+(f<<12&61440)|0)+(b&63)|0;L[a+2|0]=c&63|b&192;b=O[a+1|0];c=c+((b&63)<<6)|0;L[a+1|0]=c>>>6&63|b&192;L[a|0]=c>>>12&15|224;return 3}if(d>>>0>4294967287){break a}e=b;if((b|0)<4){break a}b=O[a+3|0];c=(c+(f<<18&1835008)|0)+(b&63)|0;L[a+3|0]=c&63|b&192;b=O[a+2|0];c=c+((b&63)<<6)|0;L[a+2|0]=c>>>6&63|b&192;b=O[a+1|0];c=c+((b&63)<<12)|0;L[a+1|0]=c>>>12&63|b&192;L[a|0]=c>>>18&7|240;e=4}return e}function Tn(a,b,c,d){a:{switch(b-9|0){case 0:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=N[b>>2];return;case 6:b=N[c>>2];N[c>>2]=b+4;b=M[b>>1];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 7:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=P[b>>1];N[a+4>>2]=0;return;case 8:b=N[c>>2];N[c>>2]=b+4;b=L[b|0];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 9:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=O[b|0];N[a+4>>2]=0;return;case 16:b=N[c>>2]+7&-8;N[c>>2]=b+8;S[a>>3]=S[b>>3];return;case 17:Qa[d|0](a,c);default:return;case 1:case 4:case 14:b=N[c>>2];N[c>>2]=b+4;b=N[b>>2];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 2:case 5:case 11:case 15:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=N[b>>2];N[a+4>>2]=0;return;case 3:case 10:case 12:case 13:break a}}b=N[c>>2]+7&-8;N[c>>2]=b+8;c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c}function de(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{if(!(N[a+24>>2]|!c)){d=N[a+44>>2];if(!d){break b}if(Q[d>>2]>b>>>0){break a}c:{d:{e:{e=N[d+8>>2];if((e|0)>=0){g=N[d+12>>2];f=g+1|0;f=(f|0)>0?f:0;if(f>>>0<=e>>>0){break d}while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}if(e>>>0<=357913941){g=$a(N[d+16>>2],T(e,12));if(g){break e}}N[d+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;d=589824;break c}N[d+8>>2]=e;N[d+16>>2]=g;g=N[d+12>>2]}if(f>>>0>g>>>0){C(N[d+16>>2]+T(g,12)|0,0,T(f-g|0,12))}N[d+12>>2]=f;d=(N[d+16>>2]+T(f,12)|0)-12|0}if(N[N[a+44>>2]+8>>2]<0){N[a+24>>2]=N[a+24>>2]|1}N[d+8>>2]=c;N[d>>2]=N[d>>2]&-64|2;a=N[N[a+44>>2]>>2];N[d>>2]=2;N[d+4>>2]=b-a}return}ba(9271,14296,479,13575);B()}ba(11056,14296,480,13575);B()}function KE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=N[N[a+112>>2]>>2];a:{if(!j){break a}e=N[c+68>>2];if(!e){break a}f=e-1|0;g=N[c+80>>2];d=g+3|0;a=0;b=O[g+15|0];while(1){b:{if((a|0)==(f|0)){a=e;break b}a=a+1|0;if((b|0)==O[(d+T(a,20)|0)+12|0]){continue}}break}k=g+2|0;d=0;i=g;f=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){h=T(d,20);a=h+g|0;if(!(N[a+4>>2]&j)){break c}if(O[a+12|0]&16){L[(h+k|0)+16|0]=18;i=N[c+80>>2];f=N[c+68>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;l=d-1|0;m=i+3|0;h=O[(T(b,20)+i|0)+15|0];a=b;while(1){d:{if((a|0)==(l|0)){a=d;break d}a=a+1|0;if((h|0)==O[(T(a,20)+m|0)+12|0]){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}return 0}function Cb(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=U(0),l=0,m=0,n=U(0);i=a+16|0;l=N[a+12>>2];j=N[a+8>>2];if(O[a+4|0]){if(!N[i>>2]){m=N[j+12>>2];n=R[a+28>>2];k=R[a+32>>2];h=N[j+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[m|0](j,l,i,n,k,h);N[a+16>>2]=1;h=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=h}m=N[j+24>>2];h=N[j+32>>2];if(h){h=N[h+12>>2]}else{h=0}Qa[m|0](j,l,i,b,c,d,e,f,g,h);R[a+32>>2]=g;R[a+28>>2]=f;return}k=R[a>>2];n=U(U(c*k)+b);d=U(U(e*k)+d);b=U(U(g*k)+f);if(!N[i>>2]){h=N[j+12>>2];f=R[i+12>>2];k=R[i+16>>2];a=N[j+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[h|0](j,l,i,f,k,a);N[i>>2]=1;a=N[i+16>>2];N[i+4>>2]=N[i+12>>2];N[i+8>>2]=a}h=N[j+24>>2];a=N[j+32>>2];if(a){a=N[a+12>>2]}else{a=0}Qa[h|0](j,l,i,n,c,d,e,b,g,a);R[i+16>>2]=g;R[i+12>>2]=b}function Bm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;N[a+44>>2]=b;Yc(N[a>>2],b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[N[c+712>>2]+3080>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}e=Qa[b|0](e)|0;if(!e){break a}g=N[N[a>>2]+712>>2];c=N[g+1440>>2];h=N[N[a+40>>2]>>2];Qa[N[e+4>>2]](N[h>>2],N[a+16>>2],N[a+20>>2],0,0);b=N[g+2024>>2];if(!b){break a}while(1){d=N[a+16>>2];b=b-1|0;i=b<<2;f=N[N[(i+g|0)+2028>>2]+68>>2];b:{if((f|0)!=(c|0)){d=jb(d,c,f);f=jb(N[a+20>>2],c,f);break b}f=N[a+20>>2]}Qa[N[e+4>>2]](N[(h+i|0)+4>>2],d,f,0,0);if(b){continue}break}}return 0}function kh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{e=T(c,12);b:{if(e){if(Q[b+4>>2]>a>>>0){break b}g=N[b+8>>2];if(g>>>0>>0|e>>>0>g-a>>>0){break b}e=N[b+12>>2]-e|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!c){return 1}j=N[b+4>>2];g=0;while(1){e=T(g,12)+a|0;if(e>>>0>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<12){break a}h=N[b+12>>2]-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}c:{i=O[e+2|0]|O[e+3|0]<<8;if(!i){break c}e=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0;if(e>>>0>>0|e>>>0>f>>>0){break a}f=f-e|0;e=((i<<8|i>>>8)&65535)<<2;if(f>>>0>>0){break a}e=h-e|0;N[b+12>>2]=e;if((e|0)>0){break c}break a}f=1;g=g+1|0;if((g|0)!=(c|0)){continue}break}}return f}return 0}function IC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=U(0),h=U(0),i=U(0),j=U(0);d=b+16|0;f=N[b+12>>2];c=N[b+8>>2];j=U(N[a+4>>2]);i=U(N[a>>2]);a:{b:{if(O[b+4|0]){if(!N[d>>2]){break a}g=R[b+20>>2];h=R[b+24>>2];if(!(g==R[b+28>>2]&h==R[b+32>>2])){e=N[c+16>>2];a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[e|0](c,f,d,g,h,a)}a=N[c+28>>2];e=N[c+32>>2];if(!e){Qa[a|0](c,f,d,0);break b}Qa[a|0](c,f,d,N[e+16>>2]);break b}i=U(U(j*R[b>>2])+i);if(!N[b+16>>2]){break a}g=R[b+20>>2];h=R[b+24>>2];if(!(g==R[b+28>>2]&h==R[b+32>>2])){e=N[c+16>>2];a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[e|0](c,f,d,g,h,a)}e=N[c+28>>2];a=N[c+32>>2];if(a){a=N[a+16>>2]}else{a=0}Qa[e|0](c,f,d,a)}N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0}R[b+32>>2]=j;R[b+28>>2]=i;return 0}function vy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){d=cg(a);j=N[a+392>>2]+(b<<2)|0,k=fb(c,d),N[j>>2]=k}}function Zn(a,b,c,d,e,f){var g=0;g=La-80|0;La=g;a:{if((f|0)>=16384){Gb(g+32|0,b,c,d,e,0,0,0,2147352576);d=N[g+40>>2];e=N[g+44>>2];b=N[g+32>>2];c=N[g+36>>2];if(f>>>0<32767){f=f-16383|0;break a}Gb(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)>=49149?49149:f)-32766|0;d=N[g+24>>2];e=N[g+28>>2];b=N[g+16>>2];c=N[g+20>>2];break a}if((f|0)>-16383){break a}Gb(g- -64|0,b,c,d,e,0,0,0,7471104);d=N[g+72>>2];e=N[g+76>>2];b=N[g+64>>2];c=N[g+68>>2];if(f>>>0>4294934644){f=f+16269|0;break a}Gb(g+48|0,b,c,d,e,0,0,0,7471104);f=((f|0)<=-48920?-48920:f)+32538|0;d=N[g+56>>2];e=N[g+60>>2];b=N[g+48>>2];c=N[g+52>>2]}Gb(g,b,c,d,e,0,0,0,f+16383<<16);b=N[g+12>>2];N[a+8>>2]=N[g+8>>2];N[a+12>>2]=b;b=N[g+4>>2];N[a>>2]=N[g>>2];N[a+4>>2]=b;La=g+80|0}function Ey(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=nb(c);b=f+18|0;a:{b:{if((f|0)>=-17){a=N[a>>2];b=Qa[N[a+4>>2]](a,b)|0;if(b){break b}return 64}a=6;if(b){break a}b=0}F(b,c,f);c=b+f|0;a=O[17697]|O[17698]<<8;L[c+16|0]=a;L[c+17|0]=a>>>8;a=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);f=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[c+8|0]=f;L[c+9|0]=f>>>8;L[c+10|0]=f>>>16;L[c+11|0]=f>>>24;L[c+12|0]=a;L[c+13|0]=a>>>8;L[c+14|0]=a>>>16;L[c+15|0]=a>>>24;a=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);f=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[c|0]=f;L[c+1|0]=f>>>8;L[c+2|0]=f>>>16;L[c+3|0]=f>>>24;L[c+4|0]=a;L[c+5|0]=a>>>8;L[c+6|0]=a>>>16;L[c+7|0]=a>>>24;N[d>>2]=b;N[e>>2]=0;a=0}return a|0}function Xe(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}b=N[a+80>>2];if(b){Qa[b|0](N[a+48>>2])}b=N[a+84>>2];if(b){Qa[b|0](N[a+52>>2])}b=N[a+88>>2];if(b){Qa[b|0](N[a+56>>2])}b=N[a+92>>2];if(b){Qa[b|0](N[a+60>>2])}b=N[a+96>>2];if(b){Qa[b|0](N[a- -64>>2])}b=N[a+100>>2];if(b){Qa[b|0](N[a+68>>2])}b=N[a+104>>2];if(b){Qa[b|0](N[a+72>>2])}b=N[a+108>>2];if(b){Qa[b|0](N[a+76>>2])}Xe(N[a+12>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function nd(a,b){var c=0,d=0,e=0;a:{b:{switch(O[a|0]){case 0:c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}c=(c<<8|c>>>8)&65535;b=b>>>0>>0?b:c-1|0;d=O[a+1|0];e=d>>>4&3;c=e+1|0;b=T(b,c)+a|0;a=O[b+4|0];c:{if(!e){break c}a=O[b+5|0]|a<<8;if((c|0)==2){break c}a=O[b+6|0]|a<<8;if((c|0)==3){break c}a=O[b+7|0]|a<<8}b=(d&15)+1|0;return a>>>b<<16|(-1<>>8&65280|c>>>24);b=b>>>0>>0?b:c-1|0;d=O[a+1|0];e=d>>>4&3;c=e+1|0;b=T(b,c)+a|0;a=O[b+6|0];d:{if(!e){break d}a=O[b+7|0]|a<<8;if((c|0)==2){break d}a=O[b+8|0]|a<<8;if((c|0)==3){break d}a=O[b+9|0]|a<<8}b=(d&15)+1|0;b=a>>>b<<16|(-1<>2];if(e){d=N[e+3132>>2];if(!d){a=N[a+100>>2];d=Qa[N[a+4>>2]](a,2)|0;if(!d){return 64}M[d>>1]=0;a=N[e+1500>>2];a:{if((a|0)==65535){break a}b:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[e+1356>>2]){break a}a=N[N[e+1360>>2]+(a<<2)>>2];break b}f=N[e+3084>>2];if(!f){break a}a=Qa[N[f+20>>2]](a)|0}if(!a){break a}a=ub(a,15611);if(!a){break a}a=a+7|0;f=ub(a,15269);if(!f|(a|0)==(f|0)){break a}while(1){c:{c=O[a|0];d:{if((c-48&255)>>>0<=9){c=P[d>>1];if(c>>>0>6551){break c}c=T(c,10);M[d>>1]=c;M[d>>1]=(c+L[a|0]|0)-48;break d}c=c-10|0;if(c>>>0>22|!(1<>1]=0}N[e+3132>>2]=d}M[b>>1]=P[d>>1]}return 0}function Up(a,b){var c=0,d=0,e=0;a:{b:{c:{if(!b){break c}c=N[b>>2];if(!c){break c}if((c|0)<=0){break b}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;e=N[b+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break a}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}d:{e:{if(e>>>0>=36){N[a+12>>2]=c-36;c=O[d|0]|O[d+1|0]<<8;ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if((c|0)!=256){break e}if(!N[b+4>>2]){break d}N[b+4>>2]=0;return b}ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}ab(b);b=275552}return b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function od(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=U(0),k=0,l=U(0),m=U(0);i=a+16|0;j=U(U(e)*c);c=U(U(d)*b);k=N[a+12>>2];g=N[a+8>>2];a:{if(O[a+4|0]){if(!N[i>>2]){h=N[g+12>>2];b=R[a+28>>2];l=R[a+32>>2];f=N[g+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[h|0](g,k,i,b,l,f);N[a+16>>2]=1;f=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=f}f=N[g+16>>2];h=N[g+32>>2];if(!h){Qa[f|0](g,k,i,c,j,0);break a}Qa[f|0](g,k,i,c,j,N[h+4>>2]);break a}b=U(j*R[a>>2]);if(!N[a+16>>2]){h=N[g+12>>2];l=R[a+28>>2];m=R[a+32>>2];f=N[g+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[h|0](g,k,i,l,m,f);N[a+16>>2]=1;f=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=f}h=N[g+16>>2];c=U(b+c);f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[h|0](g,k,i,c,j,f)}R[a+32>>2]=j;R[a+28>>2]=c}function di(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c>>31;i=(d^c)-d|0;a:{b:{d=b>>31;d=(d^b)-d|0;f=a>>31;f=(f^a)-f|0;if(d+f>>>0<=131071){d=T(d,f);break b}h=d>>>16|0;g=f>>>16|0;e=T(h,f&65535)+T(g,d&65535)|0;d=T(d,f);e=((e>>>16|0)+T(h,g)|0)+(d>>>0>>0)|0;if(!e){break b}f=2147483647;if(e>>>0>=i>>>0){break a}h=W(e);g=32-h|0;e=d>>>g|e<>>0)/(i>>>0)|0;e=e-T(f,i)|0;d=d<>>31;g=e>>>0>=i>>>0;e=e-(g?i:0)|0;f=g|f<<1;g=h^31;d=d<<1}if((h|0)==31){break a}while(1){e=e<<1|d>>>31;h=e>>>0>=i>>>0;e=d>>>30&1|e-(h?i:0)<<1;j=e>>>0>=i>>>0;e=e-(j?i:0)|0;f=f<<2|h<<1|j;d=d<<2;g=g-2|0;if(g){continue}break}break a}f=(d>>>0)/(i>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-f|0:f}function ar(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=275552;c=N[N[N[a+4>>2]+144>>2]>>2];c=c?c:275552;d=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[d|0]|O[d+1|0]<<8)!=256){break a}c=275552;f=O[d+8|0]|O[d+9|0]<<8;if(f){c=d+((f<<8|f>>>8)&65535)|0}d=O[c|0]|O[c+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}b=(b<<1)+c|0;b=O[b+2|0]|O[b+3|0]<<8;if(!b){break a}e=((b<<8|b>>>8)&65535)+c|0}c=O[e+4|0]|O[e+5|0]<<8;if(c){b=O[e|0]|O[e+1|0]<<8;f=(b<<8|b>>>8)&65535;b=e+4|0;c=(c<<8|c>>>8)&65535;g=c>>>0<=1?1:c;c=0;while(1){d=O[b|0]|O[b+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=c>>>0?275552:(b+(c<<1)|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+e|0}else{d=275552}Xj(d,a,f);c=c+1|0;if((g|0)!=(c|0)){continue}break}}}function Hv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La-32|0;La=c;e=N[b+96>>2];a:{if((e|0)<0|N[a+300>>2]<=(e|0)){break a}g=N[a+304>>2];if((Qa[N[b+52>>2]](b,6,c,3)|0)<6){break a}f=N[c+12>>2];if(!f){break a}h=T(e,252)+g|0;i=h+216|0;d=f>>31;d=(d^f)-d|0;b:{if((d|0)==65536){a=N[c>>2];break b}k=a,l=fb(1e3,d),M[k+68>>1]=l;a=fb(N[c>>2],d);k=c,l=fb(N[c+4>>2],d),N[k+4>>2]=l;k=c,l=fb(N[c+8>>2],d),N[k+8>>2]=l;k=c,l=fb(N[c+16>>2],d),N[k+16>>2]=l;j=N[c+20>>2];N[c+12>>2]=(f|0)<0?-65536:65536;k=c,l=fb(j,d),N[k+20>>2]=l}N[i>>2]=a;a=T(e,252)+g|0;N[a+224>>2]=N[c+4>>2];N[a+220>>2]=N[c+8>>2];N[a+228>>2]=N[c+12>>2];if(!hg(i)){N[b+12>>2]=3;break a}N[h+232>>2]=M[c+18>>1];N[a+236>>2]=M[c+22>>1]}La=c+32|0}function gz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=La-32|0;La=e;d=N[a+28>>2];N[e+16>>2]=d;f=N[a+20>>2];N[e+28>>2]=c;N[e+24>>2]=b;b=f-d|0;N[e+20>>2]=b;f=b+c|0;i=2;b=e+16|0;a:{while(1){b:{c:{d=Ia(N[a+60>>2],b|0,i|0,e+12|0)|0;if(d){N[147316]=d;d=-1}else{d=0}d:{if(!d){g=N[e+12>>2];if((g|0)==(f|0)){break d}if((g|0)>=0){break c}break b}if((f|0)!=-1){break b}}b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;N[a+16>>2]=b+N[a+48>>2];a=c;break a}h=N[b+4>>2];j=h>>>0>>0;d=(j<<3)+b|0;h=g-(j?h:0)|0;N[d>>2]=h+N[d>>2];b=(j?12:4)+b|0;N[b>>2]=N[b>>2]-h;f=f-g|0;i=i-j|0;b=d;continue}break}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a>>2]=N[a>>2]|32;a=0;if((i|0)==2){break a}a=c-N[b+4>>2]|0}La=e+32|0;return a|0}function $p(a,b,c){var d=0,e=0;a:{b:{switch(O[a|0]){case 0:if(!b|b>>>0>=c>>>0){break a}a=((b<<1)+a|0)-1|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)&65535;case 1:if(!b|b>>>0>=c>>>0){break a}c=a+1|0;a=O[a+3|0];b=b-1|0;if(a>>>0>>0){while(1){b=(a^-1)+b|0;d=d+1|0;a=O[(c+T(d,3)|0)+2|0];if(b>>>0>a>>>0){continue}break}}a=c+T(d,3)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)&65535)+b|0;case 2:break b;default:break a}}if(!b|b>>>0>=c>>>0){break a}c=a+1|0;a=O[a+3|0]|O[a+4|0]<<8;a=(a<<8|a>>>8)&65535;b=b-1|0;if(a>>>0>>0){while(1){e=a^-1;d=d+1|0;a=c+(d<<2)|0;a=O[a+2|0]|O[a+3|0]<<8;a=(a<<8|a>>>8)&65535;b=b+e|0;if(a>>>0>>0){continue}break}}a=c+(d<<2)|0;a=O[a|0]|O[a+1|0]<<8;d=((a<<8|a>>>8)&65535)+b|0}return d}function sy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){a=N[a+392>>2]+(b<<2)|0;N[a>>2]=N[a>>2]+c}}function SC(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=U(0),j=U(0),k=0,l=0,m=0,n=0,o=0;h=La-16|0;La=h;k=N[b+12>>2];a:{if(O[b+6|0]){if(k){a=N[k+128>>2];j=U(N[a+4>>2]);i=U(N[a>>2])}else{i=U(0)}i=U(U(aa(U(U(i*i)+U(j*j))))*U(152587890625e-16));break a}i=U(N[a+28>>2]>>31|1)}if(c){n=N[b>>2];o=b+20|0;while(1){N[h+12>>2]=0;b=N[d>>2];l=((b&255)<<2)+o|0;a=N[l>>2];b:{if(!((a|0)==-1|(a>>>24|0)!=(b>>>8|0))){a=a&16777215;break b}In(k,b,n,h+12|0);a=N[h+12>>2];if(b>>>0>65535|a>>>0>16777215){break b}N[l>>2]=b<<16&-16777216|a}j=U(U(U(a|0)*i)+U(512));c:{if(U(V(j))>2]=a>>10;f=f+g|0;d=d+e|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}La=h+16|0}function vl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=N[a+68>>2];h=N[a+36>>2];if((h|0)!=N[b+36>>2]){a=N[b+68>>2];if(f){return a?1:2}return((a|0)!=0)<<1}c=2;a:{b:{if((f|0)!=N[b+68>>2]){break b}if(!f){return 0}d=N[a+80>>2];e=N[b+80>>2];c=0;while(1){c=N[d>>2]==N[e>>2]?c:c|16;c=N[d+8>>2]==N[e+8>>2]?c:c|32;c=(N[e+4>>2]^N[d+4>>2])&7?c|64:c;e=e+20|0;d=d+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((h|0)!=2){break b}if(!O[a+63|0]){break a}f=f>>>0<=1?1:f;d=N[a+88>>2];e=N[b+88>>2];g=0;while(1){c:{if(!(N[d>>2]!=N[e>>2]|N[d+4>>2]!=N[e+4>>2]|N[d+8>>2]!=N[e+8>>2])){if(N[d+12>>2]==N[e+12>>2]){break c}}return c|128}e=e+20|0;d=d+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}return c}ba(10592,17855,2111,15199);B()}function Id(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{d=N[b+4>>2];c=a+4|0;if(d>>>0>c>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-c>>>0<2){break a}e=N[b+12>>2];h=e-2|0;N[b+12>>2]=h;g=1;if((h|0)<=0){break a}b:{c:{d:{c=O[c|0]|O[c+1|0]<<8;h=c<<8|c>>>8;c=h&65535;if(c-1>>>0>=3){if((c|0)!=32768){break b}if(a>>>0>=d>>>0){break d}break a}if(a>>>0>>0){break a}f=f-a|0;if(f>>>0<6){break a}c=e-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=O[a+2|0]|O[a+3|0]<<8;d=(d<<8|d>>>8)&65535;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;e=c-6|0;if(d>>>0>>0){break c}a=(d-a>>>4-(h&65535)<<1)+8|0;if(!a){break b}g=0;if(a>>>0>f>>>0){break b}e=c-a|0;break c}g=0;if(f-a>>>0<6){break b}e=e-8|0}g=e;N[b+12>>2]=g;g=(g|0)>0}return g}return 0}function hB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;N[a+32>>2]=c;a:{b:{if((b|0)<0){d=6;break b}c:{d:{e:{f:{if(b){d=10;if((b|0)>536870911){break b}f=b<<2;d=Qa[N[c+4>>2]](c,f)|0;if(d?(b|0)>0:0){break f}N[a+24>>2]=d;e=a+24|0;if(d){break e}d=!d<<6;break a}N[a+24>>2]=0;N[a+28>>2]=0;break d}C(d,0,f);N[a+24>>2]=d;e=a+24|0}d=Qa[N[c+4>>2]](c,f)|0;if(!(!d|(b|0)<=0)){C(d,0,f);N[a+28>>2]=d;break d}N[a+28>>2]=d;if(!d){break c}}N[a+20>>2]=0;N[a+16>>2]=b;N[a+8>>2]=0;N[a+12>>2]=-559038737;N[a>>2]=0;N[a+4>>2]=0;b=N[73522];N[a+36>>2]=N[73521];N[a+40>>2]=b;b=N[73524];N[a+44>>2]=N[73523];N[a+48>>2]=b;return 0}d=!d<<6;a=N[e>>2];if(!a){break a}Qa[N[c+8>>2]](c,a);break a}N[a+24>>2]=0;e=a+24|0}N[e>>2]=0;return d|0}function jx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=La-1536|0;La=f;a:{b:{if(d&16){if(!c){break b}d=0;C(e,0,c<<2);break a}d=Qa[N[N[N[a+492>>2]+12>>2]>>2]](f+8|0,a,0,0,N[a+424>>2],N[a+532>>2],0,0,147)|0;if(d){break a}L[f+76|0]=0;L[f+78|0]=1;N[f+1372>>2]=N[a+404>>2];N[f+1376>>2]=N[a+408>>2];N[f+1380>>2]=N[a+412>>2];N[f+1384>>2]=N[a+416>>2];N[f+1504>>2]=N[a+548>>2];N[f+1508>>2]=N[a+544>>2];d=0;if(!c){break a}a=0;while(1){g=(a<<2)+e|0;c:{if(!_e(f+8|0,a+b|0,f+1528|0,f+1527|0)){d=N[N[N[f+12>>2]+128>>2]+52>>2];if(d){Qa[N[N[d>>2]+4>>2]](N[d+4>>2],f+1528|0)}d=N[f+48>>2];d=((d>>31)+d|0)+32768>>16;break c}d=0}N[g>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}La=f+1536|0;return d|0}function hj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=U(0),l=U(0);h=a+16|0;l=U(U(e)*c);c=U(U(d)*b);j=N[a+12>>2];g=N[a+8>>2];a:{b:{if(O[a+4|0]){if(!N[h>>2]){break a}k=R[a+20>>2];b=R[a+24>>2];if(!(k==R[a+28>>2]&b==R[a+32>>2])){i=N[g+16>>2];f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[i|0](g,j,h,k,b,f)}f=N[g+28>>2];i=N[g+32>>2];if(!i){Qa[f|0](g,j,h,0);break b}Qa[f|0](g,j,h,N[i+16>>2]);break b}c=U(U(l*R[a>>2])+c);if(!N[a+16>>2]){break a}k=R[a+20>>2];b=R[a+24>>2];if(!(k==R[a+28>>2]&b==R[a+32>>2])){i=N[g+16>>2];f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[i|0](g,j,h,k,b,f)}i=N[g+28>>2];f=N[g+32>>2];if(f){f=N[f+16>>2]}else{f=0}Qa[i|0](g,j,h,f)}N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0}R[a+32>>2]=l;R[a+28>>2]=c}function ne(a,b,c){var d=0,e=0,f=0;d=O[b|0];if((d|0)==30){return Wf(a,b,c,0)}f=b+1|0;a:{b:{switch(d-28|0){case 0:e=0;if(Q[a+8>>2]<=b+2>>>0){break a}e=(O[b+2|0]|O[f|0]<<8)<<16>>16;break a;case 1:e=0;if(Q[a+8>>2]<=b+4>>>0){break a}a=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);e=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break a;default:break b}}e=d-139|0;if(d>>>0<=246){break a}a=N[a+8>>2];if(d>>>0<=250){e=0;if(a>>>0<=f>>>0){break a}e=(O[f|0]|d<<8)-63124|0;break a}e=0;if(a>>>0<=f>>>0){break a}e=64148-(O[f|0]|d<<8)|0}d=e;if(c){a=c<<2;b=d>>31;if(N[a+33520>>2]<((b^d)-b|0)){return(d|0)>0?2147483647:-2147483647}d=T(N[a+33472>>2],d)}return(d|0)>32767?2147483647:(d|0)<-32767?-2147483647:d<<16}function Re(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=b;b=O[a+2|0]|O[a+3|0]<<8;b=c-((b<<8|b>>>8)&65535)|0;d=O[a+4|0]|O[a+5|0]<<8;c=275552;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break b}c=((b<<1)+a|0)+6|0;break b}f=241305;c=O[a+2|0]|O[a+3|0]<<8;e:{if(!c){break e}g=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;e=T(d,6)+g|0;h=O[e|0]|O[e+1|0]<<8;f:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){c=O[e+2|0]|O[e+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}f=T(d,6)+g|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}c=f+4|0}a=O[c|0]|O[c+1|0]<<8;c=(a<<8|a>>>8)&65535}return c}function ry(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){N[N[a+392>>2]+(b<<2)>>2]=c}}function gb(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{if(!O[a+60|0]){break c}if(Q[a+148>>2]>>0){L[a+60|0]=0;return 0}e=N[a+80>>2];f=N[a+84>>2];if(b>>>0>214748364){break b}d=N[a+76>>2];if(d>>>0<=b>>>0){while(1){d=((d>>>1|0)+d|0)+32|0;if(d>>>0<=b>>>0){continue}break}}c=UE(d,0,20,0);if(Pa){break b}b=$a(N[a+88>>2],c);c=$a(N[a+80>>2],c);if(!(c?b:0)){L[a+60|0]=0;d:{if(b){N[a+88>>2]=b;if(!c){break d}break a}b=N[a+88>>2];if(c){break a}}N[a+84>>2]=(e|0)==(f|0)?N[a+80>>2]:b;return 0}N[a+88>>2]=b;N[a+80>>2]=c;N[a+84>>2]=(e|0)==(f|0)?c:b;if(!O[a+60|0]){break c}N[a+76>>2]=d;g=1}return g}L[a+60|0]=0;N[a+84>>2]=(e|0)==(f|0)?e:N[a+88>>2];return 0}N[a+80>>2]=c;N[a+84>>2]=(e|0)==(f|0)?c:b;return 0}function Qk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];c=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);a:{if((c|0)==-1){break a}d=275552;e=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((e<<8|e>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}a=O[d|0]|O[d+1|0]<<8;if(!a){break a}e=(a<<8|a>>>8)&65535;c=d+2|0;while(1){a=O[c|0]|O[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}f=O[a|0]|O[a+1|0]<<8;g=(f<<8|f>>>8)&65535;h=a+4|0;a=O[a+2|0]|O[a+3|0]<<8;f=Qe(b,g,h,(a<<8|a>>>8)&65535,(f?(g<<1)-2|0:0)+h|0,246,0);if(f){break a}c=c+2|0;e=e-1|0;if(e){continue}break}}return f|0}function mj(a){var b=0;ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(N[a+96>>2]){N[a+96>>2]=0}_a(N[a+100>>2]);N[a+100>>2]=0;N[a+92>>2]=0;N[a+96>>2]=0;b=N[a+196>>2];if(b){while(1){b=(N[a+200>>2]+(b<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+196>>2]-1|0;N[a+196>>2]=b;if(b){continue}break}}_a(N[a+200>>2]);N[a+200>>2]=0;N[a+192>>2]=0;N[a+196>>2]=0;b=N[a+208>>2];if(b){while(1){b=(N[a+212>>2]+T(b,24)|0)-24|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+208>>2]-1|0;N[a+208>>2]=b;if(b){continue}break}}_a(N[a+212>>2]);N[a+212>>2]=0;N[a+204>>2]=0;N[a+208>>2]=0;ab(N[a+44>>2]);N[a+44>>2]=0}function Oc(a,b){var c=0,d=0,e=0,f=0;c=La+-64|0;La=c;d=N[a>>2];e=N[d-4>>2];f=N[d-8>>2];N[c+28>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;d=0;L[c+59|0]=0;L[c+60|0]=0;L[c+61|0]=0;L[c+62|0]=0;N[c+20>>2]=0;N[c+24>>2]=0;N[c+16>>2]=584492;N[c+12>>2]=a;N[c+8>>2]=b;a=a+f|0;a:{if($b(e,b,0)){N[c+56>>2]=1;Qa[N[N[e>>2]+20>>2]](e,c+8|0,a,a,1,0);d=N[c+32>>2]==1?a:0;break a}Qa[N[N[e>>2]+24>>2]](e,c+8|0,a,1,0);b:{switch(N[c+44>>2]){case 0:d=N[c+48>>2]==1?N[c+36>>2]==1?N[c+40>>2]==1?N[c+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(N[c+32>>2]!=1){if(N[c+48>>2]|N[c+36>>2]!=1|N[c+40>>2]!=1){break a}}d=N[c+24>>2]}La=c- -64|0;return d}function Wp(a){var b=0;ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;b=N[a+108>>2];if(b){while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b){continue}break}}_a(N[a+112>>2]);N[a+112>>2]=0;N[a+104>>2]=0;N[a+108>>2]=0;b=N[a+120>>2];if(b){while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b){continue}break}}_a(N[a+124>>2]);N[a+124>>2]=0;N[a+116>>2]=0;N[a+120>>2]=0;ab(N[a+44>>2]);N[a+44>>2]=0}function Vw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=La-16|0;La=f;g=N[a+532>>2];d=6;a:{if(!g){break a}h=N[g+4>>2];Jh(N[g+136>>2],f,h);i=b>>>0>h>>>0?h:b;if(i){while(1){n=j<<2;k=N[n+f>>2];d=T(j,12)+g|0;e=N[d+96>>2];b:{if((k|0)>N[e>>2]){a=1;l=O[d+88|0];if(l>>>0>1){while(1){m=a<<2;o=N[m+e>>2];if((k|0)<=(o|0)){a=m-4|0;e=N[a+e>>2];e=fb(k-e|0,o-e|0);d=N[d+92>>2];a=N[d+a>>2];a=T(N[d+m>>2]-a|0,e)+(a<<16)|0;break b}a=a+1|0;if((l|0)!=(a|0)){continue}break}}a=N[(N[d+92>>2]+(l<<2)|0)-4>>2]<<16;break b}a=N[N[d+92>>2]>>2]<<16}N[c+n>>2]=a;j=j+1|0;if((i|0)!=(j|0)){continue}break}}d=0;if(b>>>0<=h>>>0){break a}C((i<<2)+c|0,0,b-i<<2);d=0}La=f+16|0;return d|0}function Gf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=La-16|0;La=f;h=N[b+4>>2];a:{if(h>>>0>a>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}i=N[b+12>>2];e=i-4|0;N[b+12>>2]=e;d=1;if((e|0)<=0){d=0;break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(!e){break a}if(e&128){d=0;break a}c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0;b:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break b}d=i-12|0;N[b+12>>2]=d;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<=0){break b}if(!hh(c+2|0,b,c)){break b}N[f+12>>2]=c;d=1;if(gh(c+6|0,b,f+12|0)){break a}}c=N[b+28>>2];if(c>>>0>31){d=0;break a}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;d=1}La=f+16|0;return d}function ul(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-108|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[d+8>>2]=0;N[d+12>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;L[d+24|0]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+28>>2]=0;N[d+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[d+40|0]=1;N[d+36>>2]=c;c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1836020344,N[b+16>>2])|0;if(b){break b}}b=275552}c=tl(d,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<8?275552:N[b+12>>2]}function sl(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-112|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[d+8>>2]=0;N[d+12>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;L[d+24|0]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+28>>2]=0;N[d+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[d+40|0]=1;N[d+36>>2]=c;c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1836020340,N[b+16>>2])|0;if(b){break b}}b=275552}c=rl(d,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<8?275552:N[b+12>>2]}function nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=O[a+2|0]|O[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=275552}e=N[b+96>>2];c=vb(c,N[N[e+80>>2]+T(N[e+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=275552;d=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}a=O[e|0]|O[e+1|0]<<8;if(!a){break a}c=(a<<8|a>>>8)&65535;g=c>>>0<=1?1:c;a=0;f=1;while(1){d=O[e|0]|O[e+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=a>>>0?275552:((a<<1)+e|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+e|0}else{d=275552}if(jk(d,b)){break a}a=a+1|0;f=c>>>0>a>>>0;if((a|0)!=(g|0)){continue}break}}return f|0}function Kr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=b-44032|0;a:{b:{if(a>>>0<=11171){f=a&65535;e=(f>>>0)%28|0;if(e){a=e+4519|0;N[c>>2]=b-e;break b}b=(f>>>0)/588|0;a=(((a+T(b,-588)&65535)>>>0)/28|0)+4449|0;N[c>>2]=b|4352;break b}a=0;if(b>>>0>195101){break a}b=P[(O[(b>>>4&31|O[(b>>>9|0)+207950|0]<<5)+208332|0]<<5|(b&15)<<1)+221152>>1];if(!b){break a}if(b>>>0<=935){if(b>>>0<=825){b=P[(b<<1)+234510>>1]}else{b=P[(b<<1)+234524>>1]|131072}N[c>>2]=b;break b}a=b-936|0;if(a>>>0<=637){a=N[(a<<2)+228848>>2];N[c>>2]=a>>>21;a=a>>>14&127|768;break b}b=(b<<3)+218816|0;a=N[b>>2];b=N[b+4>>2];N[c>>2]=b>>>10;a=((b&2097151)<<11|a>>>21)&2097151}N[d>>2]=a;a=1}return a|0}function ax(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=La+-64|0;La=d;Qa[N[b+60>>2]](b,d+16|0,4,d+12|0);c=N[d+12>>2];a:{if((c|0)<0){c=162;break a}if(c-5>>>0<4294967292){c=3;break a}c=_f(a,0,c);if(c){break a}c=0;if(N[d+12>>2]<=0){break a}g=N[a+100>>2];j=N[a+532>>2];a=0;while(1){h=(d+16|0)+T(a,12)|0;c=N[h>>2];if(O[c|0]==47){c=c+1|0;N[h>>2]=c}e=N[h+4>>2];if((e|0)==(c|0)){c=3;break a}i=(a<<2)+j|0;f=N[i+8>>2];if(f){Qa[N[g+8>>2]](g,f)}b:{e=e-c|0;if(e>>>0>2147483646){c=6}else{f=Qa[N[g+4>>2]](g,e+1|0)|0;if(f){break b}c=64}N[i+8>>2]=0;break a}N[i+8>>2]=f;F(f,N[h>>2],e);c=0;L[e+f|0]=0;a=a+1|0;if((a|0)>2]){continue}break}}N[b+12>>2]=c;La=d- -64|0}function Hw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{if(!b){break b}c=30544;c:{if(!cb(9676,b)){break c}c=30552;if(!cb(10423,b)){break c}c=30560;if(!cb(10670,b)){break c}c=30568;if(!cb(12514,b)){break c}c=30576;if(!cb(15866,b)){break c}c=30584;if(!cb(9592,b)){break c}c=30592;if(!cb(10557,b)){break c}c=30600;if(!cb(20421,b)){break c}c=30608;if(!cb(11276,b)){break c}if(cb(16921,b)){break b}c=30616}c=N[c+4>>2];if(c){break a}}c=0;if(!a){break a}a=N[a+4>>2];if(!a){break a}d=N[a+16>>2];if((d|0)<=0){break a}a=a+20|0;d=a+(d<<2)|0;while(1){e=N[a>>2];f=N[e>>2];if(cb(N[f+8>>2],9195)){a=a+4|0;if(d>>>0>a>>>0){continue}break a}break}c=Qa[N[f+32>>2]](e,b)|0}return c|0}function Cz(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{if(!a){if(N[b>>2]){break b}tb(N[b+8>>2]);return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+44>>2];N[a+40>>2]=N[b+40>>2];N[a+44>>2]=c;c=N[b+36>>2];N[a+32>>2]=N[b+32>>2];N[a+36>>2]=c;c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;c:{switch(N[b>>2]-1|0){case 0:d=N[b+8>>2];c=N[b+12>>2];b=kb(c+1|0);if(b){F(b,d,c);L[b+c|0]=0}N[a+8>>2]=b;return(b|0)!=0|0;case 1:break c;default:break b}}a=N[b+8>>2];if(!a){break b}if(!N[a-8>>2]){break a}a=a-4|0;b=N[a>>2];if(!b){break a}N[a>>2]=b+1}return 1}ba(8916,18290,435,15229);B()}function ah(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-32|0;La=f;d=275552;e=O[a+2|0]|O[a+3|0]<<8;e=((((e<<8|e>>>8)&65535)<<1)+a|0)+4|0;if(O[e|0]|O[e+1|0]<<8){c=e+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=0;g=d;d=N[b+96>>2];if((vb(g,N[N[d+80>>2]+T(N[d+64>>2],20)>>2])|0)!=-1){c=O[e|0]|O[e+1|0]<<8;h=(c<<8|c>>>8)&65535;i=e+(h<<1)|0;c=i+2|0;d=O[c|0]|O[c+1|0]<<8;N[f+28>>2]=a;N[f+24>>2]=a;N[f+20>>2]=a;N[f+16>>2]=247;N[f+12>>2]=247;N[f+8>>2]=247;j=(d<<8|d>>>8)&65535;c=(j<<1)+c|0;d=O[c+2|0]|O[c+3|0]<<8;g=b;b=O[a+2|0]|O[a+3|0]<<8;c=Lf(g,(b<<8|b>>>8)&65535,a+4|0,h,e+4|0,j,i+4|0,(d<<8|d>>>8)&65535,c+4|0,f+8|0)}La=f+32|0;return c}function Od(a){var b=0,c=0,d=0,e=0;c=N[a+436>>2];a:{if(!c){break a}b=N[a+428>>2];if((b|0)<=0){break a}b=T(b,24)+c|0;d=O[a+376|0];while(1){if(!(!O[c+16|0]|(d|0)!=O[c+12|0])){b=N[a+448>>2];if((b|0)>=N[a+452>>2]){N[a+12>>2]=130;return}N[a+448>>2]=b+1;b=N[a+456>>2]+(b<<4)|0;N[b>>2]=N[a+360>>2];d=N[a+368>>2];N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=d+1;b=N[c>>2];b:{if(b-4>>>0<=4294967292){N[a+12>>2]=132;break b}d=(b-1<<3)+a|0;e=N[d+464>>2];if(!e){N[a+12>>2]=138;break b}d=N[d+468>>2];c=N[c+4>>2];if((d|0)<(c|0)){N[a+12>>2]=131;break b}N[a+372>>2]=d;N[a+364>>2]=e;N[a+368>>2]=c;N[a+360>>2]=b}L[a+384|0]=0;return}c=c+24|0;if(b>>>0>c>>>0){continue}break}}N[a+12>>2]=128}function xl(a,b,c,d){var e=0,f=0,g=0,h=0;e=a+1|0;f=L[a|0];g=f&255;if((f|0)>=0){N[c>>2]=g;return e}a:{if(g-194>>>0<=29){if(b>>>0<=e>>>0){break a}b=O[a+1|0]-128|0;if(b>>>0>=64){break a}N[c>>2]=b|g<<6&1984;return a+2|0}if((g&240)==224){if((b-e|0)<2){break a}b=O[e|0]-128|0;if(b>>>0>63){break a}f=O[a+2|0]-128|0;if(f>>>0>63){break a}b=f|(g<<12&61440|b<<6);if(b>>>0<2048|(b&-2048)==55296){break a}N[c>>2]=b;return a+3|0}if((b-e|0)<3|g-240>>>0>4){break a}b=O[e|0]-128|0;if(b>>>0>63){break a}f=O[a+2|0]-128|0;if(f>>>0>63){break a}h=O[a+3|0]-128|0;if(h>>>0>63){break a}b=g<<18&1835008|b<<12|f<<6|h;if(b-65536>>>0>=1048576){break a}e=a+4|0;d=b}N[c>>2]=d;return e}function Oo(a,b){var c=0,d=0,e=0,f=0,g=0;a:{d=N[a+16>>2];if((d|0)!=N[a+12>>2]){c=N[a+24>>2];break a}b:{f=(d<<1)+16|0;c=N[a+8>>2];if(f>>>0<=2147483647/(c>>>0)>>>0){d=N[a+24>>2];g=T(c,f);c=N[a+20>>2];c:{if((g|c)<0){c=d;break c}e=N[a>>2];if(!g){c=0;if(!d){break b}Qa[N[e+8>>2]](e,d);break b}if(!c){c=Qa[N[e+4>>2]](e,g)|0;if(c){break b}c=0;break c}e=Qa[N[e+12>>2]](e,c,g,d)|0;c=e?e:d;if(e){break b}}N[a+24>>2]=c}a=N[a+4>>2];if(!(!a|N[a>>2])){N[a>>2]=64}return}N[a+20>>2]=g;N[a+12>>2]=f;N[a+24>>2]=c;d=N[a+16>>2];if(f>>>0>=d>>>0){break a}b=N[a+4>>2];if(!(!b|N[b>>2])){N[b>>2]=130}N[a+16>>2]=f;return}e=d;d=N[a+8>>2];F(T(e,d)+c|0,b,d);N[a+16>>2]=N[a+16>>2]+1}function YC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=La-16|0;La=f;a=0;N[f+12>>2]=0;a:{if(!c|!(O[c+8|0]&8)){break a}d=N[c+96>>2];e=N[N[d>>2]+32>>2];if(!e){break a}d=Qa[e|0](d,16067)|0;if(!d){break a}if(Qa[N[d>>2]](c,b,0,0,f+12|0)|0){break a}d=kb(N[f+12>>2]);if(!d){break a}b:{c:{if(!(O[c+8|0]&8)){break c}e=N[c+96>>2];g=N[N[e>>2]+32>>2];if(!g){break c}e=Qa[g|0](e,16067)|0;if(!e){break c}if(!(Qa[N[e>>2]](c,b,0,d,f+12|0)|0)){break b}}_a(d);break a}d:{b=N[f+12>>2];if(!b|(b|0)<0){break d}a=db(1,32);if(!a){break d}N[a+28>>2]=192;N[a+24>>2]=d;N[a+20>>2]=2;N[a+16>>2]=b;N[a+12>>2]=d;N[a>>2]=1;N[a+4>>2]=1;break a}_a(d);a=275552}La=f+16|0;return a|0}function lw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+712>>2];a:{b:{if(!e){break b}f=N[e+1504>>2];a=6;if((f|0)==65535){break a}if(b){a=N[e+3096>>2];if(!a){c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=Q[e+1356>>2]){break c}g=N[N[e+1360>>2]+(f<<2)>>2];break c}a=N[e+3084>>2];g=0;if(!a){break c}g=Qa[N[a+20>>2]](f)|0}a=g;N[e+3096>>2]=a}N[b>>2]=a}if(c){a=N[e+3100>>2];if(!a){a=0;b=N[e+1508>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[e+1356>>2]){break d}a=N[N[e+1360>>2]+(b<<2)>>2];break d}f=N[e+3084>>2];if(!f){break d}a=Qa[N[f+20>>2]](b)|0}N[e+3100>>2]=a}N[c>>2]=a}if(!d){break b}N[d>>2]=N[e+1512>>2]}a=0}return a|0}function Ll(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=N[a+28>>2];a:{if((b|0)==-1){break a}d=N[a+36>>2];f=N[a+40>>2];if(d>>>0>=f>>>0){break a}g=N[a>>2];e=b+1|0;h=N[a+16>>2]+16|0;while(1){b:{b=T(d,12)+h|0;c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0>>0?e:c;c=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(e>>>0>(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break b}b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b|b>>>0>=Q[g+16>>2]){break b}N[a+36>>2]=d;N[a+32>>2]=b;N[a+28>>2]=e;return}d=d+1|0;if((f|0)!=(d|0)){continue}break}}L[a+24|0]=0}function JE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=N[c+68>>2];if(e){f=e-1|0;g=N[c+80>>2];d=g+3|0;a=0;b=O[g+15|0];while(1){a:{if((a|0)==(f|0)){a=e;break a}a=a+1|0;if((b|0)==O[(d+T(a,20)|0)+12|0]){continue}}break}i=g+2|0;d=0;h=g;f=e;while(1){b=a;b:{if(a>>>0<=d>>>0){break b}while(1){a=T(d,20);if(O[(a+g|0)+12|0]&16){L[(a+i|0)+16|0]=22;h=N[c+80>>2];f=N[c+68>>2];break b}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;j=d-1|0;k=h+3|0;l=O[(T(b,20)+h|0)+15|0];a=b;while(1){c:{if((a|0)==(j|0)){a=d;break c}a=a+1|0;if(O[(T(a,20)+k|0)+12|0]==(l|0)){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}return 0}function _t(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=La-16|0;La=d;h=6;f=N[a+140>>2];a:{if(!f|!b|(!N[f+72>>2]|!O[b|0])){break a}e=N[f+92>>2];N[d+8>>2]=b;g=N[e+20>>2];b=g+((Qa[N[e+12>>2]](d+8|0)>>>0)%Q[e+4>>2]<<2)|0;a=N[b>>2];b:{if(!a){break b}while(1){if(Qa[N[e+16>>2]](a,d+8|0)|0){break b}b=b-4|0;if(g>>>0>b>>>0){b=((N[e+4>>2]<<2)+g|0)-4|0}a=N[b>>2];if(a){continue}break}}a=N[b>>2];if(!a){break a}b=N[f+80>>2];if(!b){break a}c:{d:{e:{f:{a=b+(N[a+4>>2]<<4)|0;switch(N[a+4>>2]-1|0){case 2:break d;case 1:break e;case 0:break f;default:break a}}N[c>>2]=1;break c}N[c>>2]=2;break c}N[c>>2]=3}N[c+4>>2]=N[a+12>>2];h=0}La=d+16|0;return h|0}function Zz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=La-16|0;La=f;a=0;N[f+12>>2]=0;a:{if(!c|!(O[c+8|0]&8)){break a}d=N[c+96>>2];e=N[N[d>>2]+32>>2];if(!e){break a}d=Qa[e|0](d,16067)|0;if(!d){break a}if(Qa[N[d>>2]](c,b,0,0,f+12|0)|0){break a}d=kb(N[f+12>>2]);if(!d){break a}b:{c:{if(!(O[c+8|0]&8)){break c}e=N[c+96>>2];g=N[N[e>>2]+32>>2];if(!g){break c}e=Qa[g|0](e,16067)|0;if(!e){break c}if(Qa[N[e>>2]](c,b,0,d,f+12|0)|0){break c}b=N[f+12>>2];if(!b|(b|0)<0){break b}a=db(1,32);if(!a){break b}N[a+28>>2]=192;N[a+24>>2]=d;N[a+20>>2]=2;N[a+16>>2]=b;N[a+12>>2]=d;N[a>>2]=1;N[a+4>>2]=1;break a}_a(d);break a}_a(d);a=275552}La=f+16|0;return a|0}function QC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=U(0),i=U(0),j=U(0);f=N[b+12>>2];a:{if(O[b+6|0]){if(f){a=N[f+128>>2];h=U(N[a+12>>2]);i=U(N[a+4>>2]);j=U(N[a>>2]);g=U(N[a+8>>2])}else{g=U(0)}h=U(U(aa(U(U(g*g)+U(h*h))))*U(152587890625e-16));g=U(U(aa(U(U(j*j)+U(i*i))))*U(152587890625e-16));break a}h=U(N[a+32>>2]>>31|1);g=U(N[a+28>>2]>>31|1)}if(vc(f,c,N[b>>2])){return 0}a=N[f+84>>2];N[d>>2]=N[a+32>>2]-N[a+44>>2];N[e>>2]=N[a+48>>2]+N[a+36>>2];g=U(g*U(N[d>>2]));b:{if(U(V(g))>2]=a;g=U(h*U(N[e>>2]));c:{if(U(V(g))>2]=a;return 1}function Og(a){var b=0,c=0,d=0;a:{b:{if(O[a+62|0]){c=N[a+84>>2];d=N[a+80>>2];b=N[a+72>>2];if(!((c|0)==(d|0)&(b|0)==N[a+64>>2])){b=b+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break b}c=N[a+84>>2];d=N[a+80>>2]}c:{if((c|0)!=(d|0)){break c}b=N[a+72>>2];if(b+1>>>0<=N[a+64>>2]+1>>>0){c=d;break c}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break c}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[a+72>>2],20)+c|0;c=T(N[a+64>>2],20)+d|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;b=N[a+72>>2]}N[a+72>>2]=b+1}N[a+64>>2]=N[a+64>>2]+1}return}ba(8694,17855,209,11932);B()}function Cf(a,b,c){var d=0,e=0,f=0;if(b){e=N[a- -64>>2];a:{b:{c:{f=N[a+60>>2];if((f|0)>=0){d=e+1|0;d=(d|0)>0?d:0;if(d>>>0<=f>>>0){break b}while(1){f=((f>>>1|0)+f|0)+8|0;if(d>>>0>=f>>>0){continue}break}if(f>>>0<=153391689){e=$a(N[a+68>>2],T(f,28));if(e){break c}e=N[a+64>>2]}N[a+60>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;d=589824;break a}N[a+60>>2]=f;N[a+68>>2]=e;e=N[a+64>>2]}if(d>>>0>e>>>0){C(N[a+68>>2]+T(e,28)|0,0,T(d-e|0,28))}N[a+64>>2]=d;e=d;d=(N[a+68>>2]+T(d,28)|0)-28|0}N[d+12>>2]=c;N[d+8>>2]=1;N[d+4>>2]=e;N[d>>2]=b;N[d+16>>2]=0-(c&1)&1;N[d+20>>2]=N[a+52>>2];N[d+24>>2]=N[a+56>>2]}}function $m(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[a>>2];if(!k){return 65536}g=65536;a:{if(!(b&16384)){while(1){b=g;e=h<<2;d=N[e+c>>2];b:{if(!d){break b}e=N[e+N[a+8>>2]>>2];if(!e){return 0}if((d|0)==(e|0)){break b}g=0;if((e|0)<(d&d>>31)|(e|0)>(((d|0)>0?d:0)|0)){break a}b=jb(b,e,d)}g=b;h=h+1|0;if(k>>>0>h>>>0){continue}break a}}while(1){b=g;f=h<<2;j=N[f+c>>2];c:{if(!j){break c}g=0;i=N[f+N[a+8>>2]>>2];if(!i){break a}if((i|0)==(j|0)){break c}l=N[d+f>>2];if((l|0)>=(i|0)){break a}f=N[e+f>>2];if((f|0)<=(i|0)){break a}if((i|0)<(j|0)){b=jb(b,i-l|0,j-l|0);break c}b=jb(b,f-i|0,f-j|0)}g=b;h=h+1|0;if((k|0)!=(h|0)){continue}break}}return g}function Hd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=N[b+12>>2];c=N[a>>2];d=Qa[N[f+24>>2]](f,c,N[f+56>>2])|0;if(c>>>0>=128){h=N[b+144>>2];N[b+144>>2]=h|1;e=d;a:{if(!Cj(c)){break a}N[b+144>>2]=h|3;g=c-6155|0;e=d|96;if(!(g>>>0>4|(g|0)==3)){break a}b:{switch(c-8204|0){case 0:e=d|544;break a;case 1:e=d|288;break a;default:break b}}e=d|96;if(c-917536>>>0<=95){break a}e=d|32;if((c|0)!=847){break a}N[b+144>>2]=h|19;e=d|96}g=e;if(d>>>0>31){M[a+16>>1]=g;return}if(!(1<>1]=g;return}b=65024;c:{if((c|0)==6752|(c|0)==4038){break c}b=32512;if((c|0)==3897){break c}b=O[(Qa[N[f+16>>2]](f,c,N[f+48>>2])|0)+265296|0]<<8}d=b|g|128}M[a+16>>1]=d}function Pk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{c:{if(c){a=N[b+96>>2];d=O[a+140|0];c=0;if(d&8){break b}L[a+140|0]=d|8;d=N[a+68>>2];d:{if(!d){break d}c=0;if(d>>>0>=4){f=d&-4;while(1){L[(N[a+80>>2]+T(c,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|1,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|2,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|3,20)|0)+15|0]=255;c=c+4|0;if((f|0)!=(c|0)){continue}break}}d=d&3;if(!d){break d}while(1){L[(N[a+80>>2]+T(c,20)|0)+15|0]=255;c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}N[b+160>>2]=255;break c}N[b+160>>2]=-1;a=N[b+96>>2];b=O[a+140|0];if(!(b&8)){break a}L[a+140|0]=b&247}c=1}return c|0}ba(22742,14165,187,12136);B()}function Hq(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1667329140;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function zx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+736>>2];a:{if(!f){d=re(a,0);if(d){break a}f=N[a+736>>2]}if(!N[f+4>>2]){d=$f(a,0,0,1);if(d){break a}}e=N[f>>2];e=b>>>0>e>>>0?e:b;b:{if(O[a+733|0]){if(!e){e=0;break b}f=N[f+8>>2];a=0;if(e>>>0>=4){h=e&-4;while(1){d=a<<2;N[d+c>>2]=N[d+f>>2];g=d|4;N[g+c>>2]=N[f+g>>2];g=d|8;N[g+c>>2]=N[f+g>>2];d=d|12;N[d+c>>2]=N[d+f>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[f+h>>2];a=a+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break b}if(!e){e=0;break b}C(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}C((e<<2)+c|0,0,b-e<<2)}return d|0}function yx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+736>>2];a:{if(!f){d=re(a,0);if(d){break a}f=N[a+736>>2]}if(!N[f+4>>2]){d=$f(a,0,0,1);if(d){break a}}e=N[f>>2];e=b>>>0>e>>>0?e:b;b:{if(O[a+733|0]){if(!e){e=0;break b}f=N[f+4>>2];a=0;if(e>>>0>=4){h=e&-4;while(1){d=a<<2;N[d+c>>2]=N[d+f>>2];g=d|4;N[g+c>>2]=N[f+g>>2];g=d|8;N[g+c>>2]=N[f+g>>2];d=d|12;N[d+c>>2]=N[d+f>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[f+h>>2];a=a+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break b}if(!e){e=0;break b}C(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}C((e<<2)+c|0,0,b-e<<2)}return d|0}function Rg(a,b){a:{b:{c:{d:{switch(a>>>12|0){case 0:a=a-1536|0;if(a>>>0<739){break c}break b;case 1:if(a-6150>>>0>164){break b}a=a-5411|0;break c;case 2:if(a-8204>>>0>93){break b}a=a-7300|0;break c;case 10:if(a-43072>>>0>51){break b}a=a-42074|0;break c;case 16:if(a-68288>>>0<=47){a=a-67238|0;break c}if(a-68480>>>0<=47){a=a-67382|0;break c}if(a-68864>>>0<=35){a=a-67718|0;break c}if(a-69424>>>0>155){break b}a=a-68242|0;break c;case 17:if(a-69821>>>0>16){break b}a=a-68483|0;break c;case 30:break d;default:break b}}if(a-125184>>>0>75){break b}a=a-123829|0}a=O[a+238400|0];if((a|0)!=8){break a}}a=b>>>0<=31?1<0){k=(T((b|0)!=0,36)+a|0)+16|0;while(1){j=(c|0)>=16?16:c;g=j<<1;b=0;while(1){e=h;h=b<<2;e=e+N[h+d>>2]|0;N[f+h>>2]=(e+(e>>31)|0)+32768>>16;i=h|4;h=e+N[i+d>>2]|0;N[f+i>>2]=((h>>31)+h|0)+32768>>16;b=b+2|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;i=(e|4)+f|0;N[i>>2]=N[i>>2]-N[e+f>>2];b=b+2|0;if(g>>>0>b>>>0){continue}break}a:{if(N[a+4>>2]){break a}b=f;e=j;while(1){g=of(k,N[b>>2],N[b+4>>2],N[a>>2],0);if(g){N[a+4>>2]=g;break a}b=b+8|0;g=(e|0)>1;e=e-1|0;if(g){continue}break}}c=c-j|0;if((c|0)>0){continue}break}}La=f+128|0}function Af(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=N[a+28>>2];i=c&1073741823;c=(i>>>0)%Q[a+24>>2]|0;e=N[(f+T(c,12)|0)+4>>2];a:{b:{if(e&1073741824){o=N[a+20>>2];a=-1;while(1){c:{if((e&1073741823)!=(i|0)){break c}h=T(c,12)+f|0;g=N[h>>2];j=N[g+4>>2];d=N[g>>2];k=j-d|0;l=N[b>>2];if((k|0)!=(N[b+4>>2]-l|0)){break c}m=N[g+12>>2];if((m|0)!=N[b+12>>2]){break c}if((d|0)!=(j|0)){if(Mb(d,l,k)){break c}}d=T(m,12);if(!d){break a}if(!Mb(N[g+16>>2],N[b+16>>2],d)){break a}}a=(a|0)==-1?(e|0)>=0?-1:c:a;n=n+1|0;c=n+c&o;e=N[(T(c,12)+f|0)+4>>2];if(e&1073741824){continue}break}if((a|0)!=-1){break b}}a=c}h=T(a,12)+f|0}return h}function bg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=N[a+760>>2];a:{if(h>>>0>b>>>0){f=N[a+764>>2];b:{if(P[a+210>>1]){e=f+(b<<2)|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=g;if(e+8>>>0>f+(h<<2)>>>0){break b}d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}e=f+(b<<1)|0;d=O[e|0]<<8|O[e+1|0];g=d<<1;if(e+4>>>0<=f+(h<<1)>>>0){d=O[e+3|0]|O[e+2|0]<<8}d=d<<1}f=0;a=N[a+724>>2];if(a>>>0>>0){N[c>>2]=0;return 0}if(a>>>0>>0){d=a;e=0;if((h-2|0)!=(b|0)){break a}}a=d>>>0>>0?a:d}else{a=0}f=a-g|0;e=g}N[c>>2]=f;return e|0}function Jf(a,b,c,d,e){var f=0,g=U(0),h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=La-16|0;La=f;h=N[b+76>>2];i=N[b+72>>2];N[f>>2]=0;l=d;a:{b:{c:{if(!(h|i)){break c}d=O[a+6|0]|O[a+7|0]<<8;N[f+4>>2]=0;j=N[b+96>>2];m=N[j+76>>2];n=N[b+100>>2];o=(d<<8|d>>>8)&65535;p=f+4|0;d=N[j+12>>2];if(d){d=N[d+56>>2]}else{d=0}if(!(Qa[m|0](b,n,c,o,p,f,d)|0)){break c}Jd(b,c,f+12|0,f+8|0);N[f>>2]=N[f>>2]-N[f+8>>2];if(i){break b}k=1}c=O[a+2|0]|O[a+3|0]<<8;g=U(R[b+44>>2]*U((c<<8|c>>>8)<<16>>16));break a}k=1;g=U(N[f+4>>2]-N[f+12>>2]|0)}R[l>>2]=g;if(!k|!h){a=O[a+4|0]|O[a+5|0]<<8;g=U(R[b+48>>2]*U((a<<8|a>>>8)<<16>>16))}else{g=U(N[f>>2])}R[e>>2]=g;La=f+16|0}function _b(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+4>>2];h=N[a>>2];a:{if(!h){if(!f){break a}N[a+4>>2]=(f|0)<0?-65536:65536;return}if(!f){N[a>>2]=(h|0)<0?-65536:65536;return}b=f>>31;c=(b^f)-b|0;b=h>>31;d=(b^h)-b|0;e=c>>>0>>0?(c>>>1|0)+d|0:c+(d>>>1|0)|0;b=W(e);b=(-1431655766>>>b>>>0>e>>>0?-15:-16)+b|0;b:{if((b|0)>0){d=d<>>0>>0?d+(c>>>1|0)|0:(d>>>1|0)+c|0;break b}g=e;e=0-b|0;b=g>>>e|0;c=c>>>e|0;d=d>>>e|0}b=65536-b|0;while(1){e=(T(b,d)>>16)+d|0;g=(T(b,c)>>16)+c|0;i=T((T(e,e)+T(g,g)|0)/-512|0,b+65536>>8);b=(i>>>16|0)+b|0;if((i|0)>65535){continue}break}N[a+4>>2]=(f|0)<0?0-g|0:g;N[a>>2]=(h|0)<0?0-e|0:e}}function fb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=2147483647;a:{if(!b){break a}c=a>>31;c=(c^a)-c|0;d=b>>31;d=(d^b)-d|0;if(c>>>0<=(d>>>17^65535)>>>0){g=((c<<16)+(d>>>1|0)>>>0)/(d>>>0)|0;break a}f=d>>>1|0;i=f+(c<<16)|0;c=(c>>>16|0)+(f>>>0>i>>>0)|0;if(c>>>0>=d>>>0){break a}f=W(c);h=32-f|0;c=i>>>h|c<>>0)/(d>>>0)|0;e=c-T(d,g)|0;c=i<>>31;h=e>>>0>=d>>>0;e=e-(h?d:0)|0;g=h|g<<1;h=31-f|0;c=c<<1}if((f|0)==31){break a}while(1){e=e<<1|c>>>31;f=e>>>0>=d>>>0;e=c>>>30&1|e-(f?d:0)<<1;i=e>>>0>=d>>>0;e=e-(i?d:0)|0;g=g<<2|f<<1|i;c=c<<2;h=h-2|0;if(h){continue}break}}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-g|0:g}function Xg(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=N[b+12>>2]-2|0;N[b+12>>2]=f;d=1;if((f|0)<=0){break b}h=O[a|0]|O[a+1|0]<<8;if(!h){break a}d=a+2|0;if(d>>>0>e>>>0){break b}g=e-d|0;e=(h<<8|h>>>8)&65535;d=e<<2;if(g>>>0>>0){break b}f=f-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break a}f=e>>>0<=1?1:e;e=0;while(1){h=(e<<2)+a|0;d=h+2|0;if(d>>>0>2]){break b}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break b}d=N[c>>2];g=N[b+12>>2]-4|0;N[b+12>>2]=g;if((g|0)<=0){break b}if(!Hf(h+4|0,b,d)){break b}d=1;e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}d=0}return d}function et(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=N[a+872>>2];a:{if(!f){break a}j=N[f+36>>2];if(!j|!P[f>>1]){break a}g=N[f+16>>2];if(!g){break a}i=N[f+20>>2];if(N[d>>2]|!i){break a}l=i+4|0;a=0;while(1){b:{e=(g-a>>>1|0)+a|0;h=T(e,6)+l|0;k=O[h|0]<<8|O[h+1|0];c:{if(k>>>0>>0){a=e+1|0;break c}g=e;if(b>>>0>=k>>>0){break b}}e=0;if(a>>>0>>0){continue}break a}break}e=0;a=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!b){break a}a=N[f+40>>2];if(a>>>0>>0){break a}g=a+j|0;a=b+i|0;if(g>>>0<=a>>>0){break a}N[d>>2]=a;L[d+4|0]=!c;e=1}return e|0}function ui(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a+20>>2];if(d>>>0>b>>>0){g=a+8|0;c:{d:{while(1){c=N[a+8>>2];if(!c){break d}e=N[c+24>>2];if(!e){break b}N[a+8>>2]=N[c+16>>2];f=N[c+28>>2]-1|0;N[c+28>>2]=f;e:{if(f){N[c+20>>2]=0;break e}f=N[c+8>>2];if(f){N[f+12>>2]=N[c+12>>2]}N[N[c+12>>2]>>2]=f;N[a+20>>2]=(((e|0)!=1?-32:0)-e|0)+d;N[a+32>>2]=N[a+32>>2]-1;d=N[a+16>>2];if((d|0)!=N[c+4>>2]){break a}e=c+32|0;Qa[N[d+16>>2]](e+(N[d+24>>2]+7&-8)|0,e);_a(c);d=N[a+20>>2]}if(b>>>0>>0){continue}break}b=N[a+8>>2];if(!b){break d}a=b+20|0;break c}a=a+12|0}N[a>>2]=g}return}ba(15298,18290,469,8706);B()}ba(17656,18290,424,13135);B()}function $w(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=La-208|0;La=d;f=N[a+532>>2];Qa[N[b+60>>2]](b,d+16|0,16,d+12|0);e=N[d+12>>2];a:{if((e|0)<0){c=162;break a}c=3;if(e-17>>>0<4294967280){break a}b:{c:{d:{if(f){g=N[f>>2];if(g){break d}}c=_f(a,e,0);if(c){break a}e=N[b+8>>2];g=N[b>>2];if(N[d+12>>2]<=0){break b}f=N[a+532>>2];break c}if((e|0)!=(g|0)){break a}e=N[b+8>>2];g=N[b>>2]}c=0;while(1){a=(d+16|0)+T(c,12)|0;N[b>>2]=N[a>>2];N[b+8>>2]=N[a+4>>2];a=Qa[N[b+40>>2]](b,0)|0;h=c<<2;N[h+N[f+136>>2]>>2]=a;N[N[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}N[b+8>>2]=e;N[b>>2]=g;c=0}N[b+12>>2]=c;La=d+208|0}function Wn(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=La-208|0;La=f;N[f+204>>2]=c;c=f+160|0;C(c,0,40);N[f+200>>2]=N[f+204>>2];a:{if((Vn(0,b,f+200|0,f+80|0,c,d,e)|0)<0){e=-1;break a}i=N[a+76>>2]>=0;g=N[a>>2];if(N[a+72>>2]<=0){N[a>>2]=g&-33}b:{c:{d:{if(!N[a+48>>2]){N[a+48>>2]=80;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;h=N[a+44>>2];N[a+44>>2]=f;break d}if(N[a+16>>2]){break c}}c=-1;if(Hh(a)){break b}}c=Vn(a,b,f+200|0,f+80|0,f+160|0,d,e)}if(h){Qa[N[a+36>>2]](a,0,0)|0;N[a+48>>2]=0;N[a+44>>2]=h;N[a+28>>2]=0;b=N[a+20>>2];N[a+16>>2]=0;N[a+20>>2]=0;c=b?c:-1}b=a;a=N[a>>2];N[b>>2]=a|g&32;e=a&32?-1:c;if(!i){break a}}La=f+208|0;return e}function Pf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!a){return 35}e=16;a:{if(P[a+264>>1]<=b>>>0){break a}d=N[a+544>>2];if(!d){return 7}e=0;g=c,h=Qa[N[d+16>>2]](0)|0,N[g>>2]=h;f=c;c=N[a+476>>2];b:{if((c|0)!=151552){if((c|0)!=131072){if((c|0)!=65536|b>>>0>257){break a}a=Qa[N[d+16>>2]](b)|0;break b}if(!O[a+632|0]){if(Tl(a)){break a}}if(P[a+636>>1]<=b>>>0){break a}b=P[N[a+640>>2]+(b<<1)>>1];if(b>>>0<=257){a=Qa[N[d+16>>2]](b)|0;break b}a=N[(N[a+644>>2]+(b<<2)|0)-1032>>2];break b}if(!O[a+632|0]){if(Tl(a)){break a}}if(P[a+636>>1]<=b>>>0){break a}a=Qa[N[d+16>>2]](L[N[a+640>>2]+b|0]+b|0)|0}N[f>>2]=a}return e|0}function xf(a){var b=0,c=0,d=0,e=0;mq(a);N[a+60>>2]=-57005;c=N[a+68>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;d=N[c+12>>2]+T(b,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[c+8>>2]=b;if(e){Qa[e|0](d);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+68>>2]=0}b=N[a+88>>2];if(b){_a(b);N[a+88>>2]=0}N[a+76>>2]=0;N[a+72>>2]=N[a+72>>2]&1;if(N[a+52>>2]){N[a+52>>2]=0}_a(N[a+56>>2]);N[a+56>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+28>>2]=0;c=N[a+36>>2];a:{if(!c){break a}b=N[a+40>>2];while(1){_a(N[b>>2]);b=b+4|0;c=c-1|0;if(c){continue}break}if(!N[a+36>>2]){break a}N[a+36>>2]=0}_a(N[a+40>>2]);N[a+40>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0}function lj(a){var b=0;Wp(a);b=N[a+120>>2];if(b){while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b){continue}break}}_a(N[a+124>>2]);N[a+124>>2]=0;N[a+116>>2]=0;N[a+120>>2]=0;b=N[a+108>>2];if(b){while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b){continue}break}}_a(N[a+112>>2]);N[a+112>>2]=0;N[a+104>>2]=0;N[a+108>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;return a}function Np(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;return 0}function ns(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=N[a+16>>2];c=O[a+8204|0]|O[a+8205|0]<<8|(O[a+8206|0]<<16|O[a+8207|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b=b-e|0;f=a>>>0<=(b^-1)>>>0?a+b|0:0}return f|0}function nq(a){var b=0;b=N[a+208>>2];if(b){while(1){b=(N[a+212>>2]+T(b,24)|0)-24|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+208>>2]-1|0;N[a+208>>2]=b;if(b){continue}break}}_a(N[a+212>>2]);N[a+212>>2]=0;N[a+204>>2]=0;N[a+208>>2]=0;b=N[a+196>>2];if(b){while(1){b=(N[a+200>>2]+(b<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+196>>2]-1|0;N[a+196>>2]=b;if(b){continue}break}}_a(N[a+200>>2]);N[a+200>>2]=0;N[a+192>>2]=0;N[a+196>>2]=0;if(N[a+96>>2]){N[a+96>>2]=0}_a(N[a+100>>2]);N[a+100>>2]=0;N[a+92>>2]=0;N[a+96>>2]=0;return a}function Yb(a,b,c){var d=0,e=0,f=0,g=0;g=N[b+12>>2];d=N[b+16>>2];f=N[a+48>>2];e=N[a+52>>2];if(f>>>0>e>>>0){e=N[a+44>>2]}e=e-f|0;e=d>>>0>e>>>0?e:d;N[b+16>>2]=d-e;N[b+20>>2]=e+N[b+20>>2];d=N[a+56>>2];if(d){d=Qa[d|0](N[a+60>>2],f,e)|0;N[a+60>>2]=d;N[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;F(g,f,e);g=e+g|0;d=e+f|0;if((d|0)==N[a+44>>2]){e=N[a+40>>2];f=N[a+52>>2];if((f|0)==(d|0)){N[a+52>>2]=e;f=e}f=f-e|0;d=N[b+16>>2];f=d>>>0>f>>>0?f:d;N[b+16>>2]=d-f;N[b+20>>2]=f+N[b+20>>2];d=N[a+56>>2];if(d){d=Qa[d|0](N[a+60>>2],e,f)|0;N[a+60>>2]=d;N[b+48>>2]=d}F(g,e,f);d=e+f|0;g=f+g|0;c=(c|0)==-5?f?0:c:c}N[b+12>>2]=g;N[a+48>>2]=d;return c}function Mi(a,b){var c=0,d=0,e=0,f=0;d=N[a>>2];if(d>>>0>>0){while(1){c=d+1|0;a:{b:{c:{d:{e:{e=O[d|0];switch(e-40|0){case 1:break c;case 0:break d;default:break e}}if((e|0)!=92){break a}if((b|0)==(c|0)){N[a>>2]=b;return 3}f:{e=O[c|0];switch(e-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}if((e&248)!=48|b>>>0<=c>>>0){break a}c=d+2|0;if(c>>>0>=b>>>0|(O[c|0]&248)!=48){break a}c=d+3|0;if(c>>>0>=b>>>0){break a}c=(O[d+3|0]&248)==48?d+4|0:c;break a}f=f+1|0;break a}f=f-1|0;if(f){break a}N[a>>2]=c;return 0}c=d+2|0}d=c;if(d>>>0>>0){continue}break}}N[a>>2]=d;return 3}function Ek(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=La-32|0;La=f;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}g=N[d+64>>2];c=vb(c,N[N[d+80>>2]+T(g,20)>>2]);a:{if((c|0)==-1){break a}h=O[a+6|0]|O[a+7|0]<<8;if(c>>>0>=((h<<8|h>>>8)&65535)>>>0){break a}if(N[d+156>>2]){e=N[b+88>>2];N[f+16>>2]=g;ib(d,e,17402,f+16|0)}e=O[a+4|0]|O[a+5|0]<<8;c=T(YE(e),c);if((c|0)<0){c=275552}else{e=O[a+4|0]|O[a+5|0]<<8;c=((c<<1)+a|0)+8|0}ge(e,b,a,c,N[d+88>>2]+T(N[d+64>>2],20)|0);a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[f>>2]=N[a+64>>2];ib(a,b,17446,f)}e=1;N[d+64>>2]=N[d+64>>2]+1}La=f+32|0;return e}function Rf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;if(N[a+184>>2]<0){return-9}h=N[b>>2];g=N[a+52>>2];f=N[a+64>>2];i=N[a+276>>2];j=(((g|0)<(f|0)?g:f)-i|0)+T(f,N[a+272>>2])|0;g=h>>>0>>0?h:j;f=h;a:{if(!c){break a}f=N[a+96>>2]+(i&N[a+68>>2])|0;i=N[c>>2];if(!i){N[c>>2]=f;f=h;break a}F(i,f,g);N[c>>2]=g+N[c>>2];f=N[b>>2]}N[b>>2]=f-g;b=g+N[a+276>>2]|0;N[a+276>>2]=b;if(d){N[d>>2]=b}c=1<>2];b=N[a+64>>2];if(h>>>0>>0){return e?3:(b|0)==(c|0)?3:1}b:{if((b|0)!=(c|0)){break b}c=N[a+52>>2];if((c|0)<(b|0)){break b}N[a+52>>2]=c-b;N[a+272>>2]=N[a+272>>2]+1;M[a+560>>1]=P[a+560>>1]&65527|((b|0)!=(c|0))<<3}return 1}function Fl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=N[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;j=g+2|0;k=N[a+16>>2]+14|0;while(1){c=(b<<1)+k|0;e=O[c|0]<<8|O[c+1|0];N[a+44>>2]=e;c=c+j|0;h=O[c|0]<<8|O[c+1|0];N[a+40>>2]=h;c=c+g|0;d=O[c|0]|O[c+1|0]<<8;N[a+48>>2]=(d<<8|d>>>8)<<16>>16;d=c+g|0;c=O[d|0]<<8|O[d+1|0];c:{if((h|0)!=65535|b>>>0>>0|(e|0)!=65535){break c}if(!c){break b}e=N[a>>2];if((c+d|0)+2>>>0<=N[e+508>>2]+N[e+512>>2]>>>0){break c}N[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}N[a+36>>2]=b;N[a+52>>2]=c;return 0}function Us(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=3;g=b+2|0;a:{if(g>>>0>c>>>0){break a}i=c;c=O[b+1|0]|O[b|0]<<8;if(i>>>0<(c<<2)+g>>>0){break a}b=N[a+12>>2];i=O[b+14|0];j=P[b+12>>1];k=P[b+10>>1];l=O[b+8|0];m=P[b+6>>1];n=P[b+4>>1];b:{if(!c){h=0;break b}f=f+1|0;b=0;while(1){h=Pl(a,O[g+1|0]|O[g|0]<<8,L[g+2|0]+d|0,L[g+3|0]+e|0,f,0);if(!h){g=g+4|0;b=b+1|0;if((c|0)!=(b|0)){continue}}break}b=N[a+12>>2]}M[b+14>>1]=i;M[b+8>>1]=l;M[b+12>>1]=j<<24>>24;M[b+10>>1]=k<<24>>24;M[b+6>>1]=m<<24>>24;M[b+4>>1]=n<<24>>24;a=N[a+8>>2];M[b+2>>1]=O[a+4|0];M[b>>1]=O[a|0]}return h|0}function Gn(a,b,c,d){var e=0,f=0,g=0,h=0;a:{e=d>>31;f=(e^d)-e|0;e=a>>31;if((f+((e^a)-e|0)|0)>131071){break a}e=c>>31;f=(e^c)-e|0;e=b>>31;if((f+((e^b)-e|0)|0)>131071){break a}a=T(a,d);b=T(b,c);return(a|0)>(b|0)?1:(a|0)<(b|0)?-1:0}f=d>>>16|0;g=T(f,a&65535);h=a>>>16|0;e=g+T(h,d&65535)|0;a=T(a,d);e=(((e>>>16|0)+T(h,f)|0)+((e>>>0>>0)<<16)|0)+(a>>>0>>0)|0;f=c>>>16|0;g=T(f,b&65535);h=b>>>16|0;d=g+T(h,c&65535)|0;b=T(b,c);c=(((d>>>16|0)+T(h,f)|0)+((d>>>0>>0)<<16)|0)+(b>>>0>>0)|0;d=1;b:{if(e>>>0>c>>>0){break b}d=-1;if(c>>>0>e>>>0){break b}d=1;if(a>>>0>b>>>0){break b}d=a>>>0>>0?-1:0}return d}function dl(a,b,c,d){var e=0;a:{if(d&16){c=275552;b:{if((O[a|0]|O[a+1|0]<<8)!=256){break b}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<65538){break b}e=O[a+12|0]|O[a+13|0]<<8;if(!e){break b}c=((e<<8|e>>>8)&65535)+a|0}a=0;if((O[c|0]|O[c+1|0]<<8)!=256){break a}a=O[c+2|0]|O[c+3|0]<<8;e=(a<<8|a>>>8)&65535;a=d>>>16|0;if(e>>>0>a>>>0){a=((a<<2)+c|0)+4|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}return(vb(a,b)|0)!=-1}a=d&65280;if(!a){return 1}a=(a|0)==(c&65280)}return a}function Te(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}N[a>>2]=-57005;if(N[a+28>>2]){N[a+28>>2]=0}_a(N[a+32>>2]);N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;if(N[a+40>>2]){N[a+40>>2]=0}_a(N[a+44>>2]);N[a+44>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;if(N[a+28>>2]){N[a+28>>2]=0}_a(N[a+32>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function rz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(N[a>>2]!=N[b>>2]|N[a+4>>2]!=N[b+4>>2]|(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2])){break a}if(N[a+16>>2]!=N[b+16>>2]|N[a+20>>2]!=N[b+20>>2]){break a}d=N[a+24>>2];if((d|0)!=N[b+24>>2]){break a}if(!d){g=1;break a}e=N[a+28>>2];f=N[b+28>>2];if(N[e>>2]!=N[f>>2]){break a}while(1){b=T(c,24);a=b+e|0;b=b+f|0;if(N[a+4>>2]!=N[b+4>>2]|N[a+8>>2]!=N[b+8>>2]|(N[a+12>>2]!=N[b+12>>2]|N[a+16>>2]!=N[b+16>>2])){break a}if(N[a+20>>2]!=N[b+20>>2]){break a}c=c+1|0;g=d>>>0<=c>>>0;if((c|0)==(d|0)){break a}a=T(c,24);if(N[a+e>>2]==N[a+f>>2]){continue}break}}return g|0}function Zq(a){a=a|0;var b=0,c=0,d=0;b=N[a+660>>2];c=N[b+8>>2];a=N[b+12>>2];if((c|0)<=(a|0)){a:{b:{if((a|0)!=(c|0)){d=N[b+20>>2];a=c;break b}a=-1;if(c>>>0>1073741822){break a}N[147316]=0;a=N[b+20>>2];c:{c=c<<1|1;if(c>>>0<=76695844){d=T(c,56);d=$a(a,d>>>0<=1?1:d);if(d){break c}}N[147316]=48;N[b+20>>2]=a;return-1}N[147316]=0;N[b+12>>2]=c;N[b+20>>2]=d;a=N[b+8>>2]}N[b+8>>2]=a+1;b=T(a,56)+d|0;N[b>>2]=0;N[b+4>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}return a|0}ba(10030,18016,127,9200);B()}function fk(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-32|0;La=e;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];f=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);a:{if((f|0)==-1){break a}c=O[a+4|0]|O[a+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=f>>>0){break a}if(N[d+156>>2]){zc(d);c=N[b+88>>2];d=N[b+96>>2];N[e+16>>2]=N[d+64>>2];ib(d,c,23368,e+16|0);c=O[a+4|0]|O[a+5|0]<<8;c=(c<<8|c>>>8)&65535}a=c>>>0<=f>>>0?275552:((f<<1)+a|0)+6|0;a=O[a|0]|O[a+1|0]<<8;Oe(b,(a<<8|a>>>8)&65535);g=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[e>>2]=N[a+64>>2]-1;ib(a,b,23412,e)}La=e+32|0;return g}function Dz(a,b){a=a|0;b=b|0;var c=0,d=0;a:{c=N[a>>2];if((c|0)!=N[b>>2]){break a}d=1;b:{c:{switch(c|0){case 0:if(N[a+8>>2]!=N[b+8>>2]|S[a+16>>3]!=S[b+16>>3]|(N[a+24>>2]!=N[b+24>>2]|N[a+28>>2]!=N[b+28>>2])){break a}if(N[a+32>>2]!=N[b+32>>2]){break a}d=0;if(N[a+36>>2]!=N[b+36>>2]){break b}return N[a+40>>2]==N[b+40>>2]|0;case 1:d=0;c=N[a+12>>2];if((c|0)!=N[b+12>>2]){break b}return!Mb(N[a+8>>2],N[b+8>>2],c)|0;case 2:break c;default:break b}}if(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2]|N[a+16>>2]!=N[b+16>>2]){break a}d=0;if(N[a+20>>2]!=N[b+20>>2]){break b}d=N[a+24>>2]==N[b+24>>2]}return d|0}return 0}function Lc(a,b){var c=0,d=0,e=0;a:{d=O[b|0];if((d|0)!=255){if((d|0)!=30){break a}return Wf(a,b,0,0)>>16}return((O[b+3|0]|(O[b+2|0]<<8|O[b+1|0]<<16))<<8)+32768>>16}e=b+1|0;b:{c:{switch(d-28|0){case 0:c=0;if(Q[a+8>>2]<=b+2>>>0){break b}return(O[b+2|0]|O[e|0]<<8)<<16>>16;case 1:c=0;if(Q[a+8>>2]<=b+4>>>0){break b}a=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);default:break c}}if(d>>>0<=246){return d-139|0}a=N[a+8>>2];if(d>>>0<=250){c=0;if(a>>>0<=e>>>0){break b}return(O[e|0]|d<<8)-63124|0}c=0;if(a>>>0<=e>>>0){break b}c=64148-(O[e|0]|d<<8)|0}return c}function PA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(N[a+64>>2]!=3){N[a+64>>2]=3;e=N[a+20>>2];if(!e){break a}b:{if(O[a+68|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+68|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=((c>>31)+c|0)+32768>>16;N[f>>2]=((b>>31)+b|0)+32768>>16;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1}d=0}return d|0}function Cs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{c=N[a+16>>2];a=O[c+12|0]|O[c+13|0]<<8|(O[c+14|0]<<16|O[c+15|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a){g=c+16|0;while(1){e=a+f>>>1|0;c=T(e,12)+g|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);b:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>b>>>0){a=e;break b}d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=b>>>0){break a}f=e+1|0}if(a>>>0>f>>>0){continue}break}}return 0}a=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}function QB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=N[a>>2];a:{b:{c:{h=N[a+4>>2];a=(h>>6)-N[b+164>>2]|0;if(!((a|0)<0|(a|0)>=N[b+172>>2])){c=g>>6;if((c|0)>2]){break c}}a=N[b+192>>2];break b}d=N[b+188>>2]+(a<<2)|0;e=N[d>>2];f=N[e>>2];a=N[b+156>>2];c=(a|0)>(c|0)?a-1|0:c;if((f|0)<=(c|0)){while(1){a=e;if((c|0)==(f|0)){break b}e=N[a+12>>2];f=N[e>>2];if((c|0)>=(f|0)){continue}break}d=a+12|0}a=N[b+180>>2];N[b+180>>2]=a+16;if(Q[b+184>>2]<=a>>>0){break a}N[a>>2]=c;N[a+4>>2]=0;N[a+8>>2]=0;N[a+12>>2]=N[d>>2];N[d>>2]=a}N[b+176>>2]=a;N[b+204>>2]=h<<2;N[b+200>>2]=g<<2;return 0}pe(b,1);B()}function hx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=La-32|0;La=c;a:{if((Qa[N[b+52>>2]](b,6,c,3)|0)<=5){N[b+12>>2]=3;break a}e=N[c+12>>2];if(!e){N[b+12>>2]=3;break a}i=a+440|0;d=e>>31;d=(d^e)-d|0;b:{if((d|0)==65536){f=N[c+8>>2];g=N[c+4>>2];h=N[c>>2];break b}j=a,k=fb(1e3,d),M[j+68>>1]=k;h=fb(N[c>>2],d);g=fb(N[c+4>>2],d);f=fb(N[c+8>>2],d);j=c,k=fb(N[c+16>>2],d),N[j+16>>2]=k;j=c,k=fb(N[c+20>>2],d),N[j+20>>2]=k;e=(e|0)<0?-65536:65536}N[a+440>>2]=h;N[a+448>>2]=g;N[a+452>>2]=e;N[a+444>>2]=f;if(!hg(i)){N[b+12>>2]=3;break a}N[a+456>>2]=M[c+18>>1];N[a+460>>2]=M[c+22>>1]}La=c+32|0}function ug(a){var b=0,c=0,d=0;b=N[a+88>>2];if(b){_a(N[b+20>>2]);_a(N[N[a+88>>2]+4>>2]);_a(N[N[a+88>>2]+8>>2]);_a(N[a+88>>2])}_a(N[a+24>>2]);_a(N[a+28>>2]);_a(N[a+68>>2]);d=N[a+16>>2];b=0;a:{if(!d){break a}b=d;if(N[a>>2]<=0){break a}b=0;while(1){d=N[a+16>>2]+T(b,144)|0;_a(N[d>>2]);_a(N[d+4>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+16>>2]}_a(b);b=N[a+20>>2];b:{if(!b){break b}c=b;if(N[a+8>>2]<=0){break b}b=0;while(1){c=N[a+20>>2]+T(b,56)|0;_a(N[c+28>>2]);_a(N[c+44>>2]);_a(N[c+48>>2]);_a(N[c+52>>2]);b=b+1|0;if((b|0)>2]){continue}break}c=N[a+20>>2]}_a(c);_a(N[a+80>>2]);_a(a)}function fo(a,b,c,d){var e=0,f=0,g=0,h=0;f=d?d:590292;e=N[f>>2];a:{b:{c:{if(!b){if(e){break c}return 0}d:{if(e){d=c;break d}d=O[b|0];e=d<<24>>24;if((e|0)>=0){if(a){N[a>>2]=d}return(e|0)!=0}if(!N[N[147600]>>2]){b=1;if(!a){break b}N[a>>2]=e&57343;return 1}d=d-194|0;if(d>>>0>50){break c}e=N[(d<<2)+580976>>2];d=c-1|0;if(!d){break a}b=b+1|0}g=O[b|0];h=g>>>3|0;if((h-16|(e>>26)+h)>>>0>7){break c}while(1){d=d-1|0;e=g-128|e<<6;if((e|0)>=0){N[f>>2]=0;if(a){N[a>>2]=e}return c-d|0}if(!d){break a}b=b+1|0;g=O[b|0];if((g&192)==128){continue}break}}N[f>>2]=0;N[147316]=25;b=-1}return b}N[f>>2]=e;return-2}function ki(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=441616;h=O[a|0]?a:441616;while(1){d=b;f=0;a=h;c=O[a|0];a:{b:{if(!c){break b}while(1){g=O[d|0];if(!g){f=c;break b}c:{d:{while(1){if((c|32)-124>>>0>4294967268|c-59>>>0>4294967284){break d}c=O[a+1|0];e=a+1|0;a=e;if(c){continue}break}c=0;break c}e=a}a=1;if((c|32)!=(g|0)){break a}d=d+1|0;a=e+1|0;c=O[e+1|0];if(c){continue}break}}a=O[d|0]!=(f&255)}if(!a){while(1){b=(nb(b)+b|0)+1|0;if(O[b|0]){continue}break}return b-441615|0}b=(nb(b)+b|0)+1|0;a=O[b|0];if(!a){a=O[b+1|0];b=(a>>>0>128?2:T(a,-5)+322|0)+b|0;a=O[b|0]}if(a&255){continue}break}return-1}function Eq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=N[a+112>>2];a:{if(!c){break a}d=N[b+68>>2];if(!d){break a}a=N[b+80>>2];if(d>>>0>=4){g=d&-4;while(1){N[a+4>>2]=N[a+4>>2]|N[(O[a+19|0]<<2)+c>>2];N[a+24>>2]=N[a+24>>2]|N[(O[a+39|0]<<2)+c>>2];N[a+44>>2]=N[a+44>>2]|N[(O[a+59|0]<<2)+c>>2];f=a- -64|0;N[f>>2]=N[f>>2]|N[(O[a+79|0]<<2)+c>>2];a=a+80|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){N[a+4>>2]=N[a+4>>2]|N[(O[a+19|0]<<2)+c>>2];a=a+20|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}a=L[b+140|0];if((a|0)>=0){ba(22742,14165,187,12136);B()}L[b+140|0]=a&127}function Lx(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{a=N[N[a+156>>2]>>2];b=N[a+4>>2];if(!(!b|N[a+40>>2])){d=b<<1;if((d|0)<0){c=6;break a}if(d){c=10;if(d>>>0>268435455){break a}c=N[a>>2];b=b<<4;c=Qa[N[c+4>>2]](c,b)|0;if(!c){break b}C(c,0,b);b=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=c;d=(b<<3)+c|0;N[a+44>>2]=d;b=N[a+24>>2];if(b){b=(M[a+22>>1]<<3)+b|0}else{b=0}N[a+60>>2]=b;e=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[e>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;b=M[a+22>>1]<<3;N[a+80>>2]=b+d;N[a+76>>2]=b+c}return 0}N[a+40>>2]=0;return 64}N[a+40>>2]=0;return c|0}function Jo(a){var b=0,c=0,d=0;a:{if(!a){break a}c=N[a+16>>2];if((c|0)==128){break a}while(1){b=N[a>>2];b:{if(O[b+20|0]!=O[a+20|0]){b=a;break b}if(O[b+21|0]!=O[a+21|0]){b=a;break b}d=N[b+16>>2];if(!((d|0)==(c|0)|c&d&64)){b=a;break b}if(N[a+24>>2]){b=a;break b}if(N[b+24>>2]){b=a;break b}c=N[a+4>>2];N[b+4>>2]=c;N[c>>2]=b;N[b+12>>2]=N[b+12>>2]+N[a+12>>2];c=N[a+32>>2];c:{if(c){N[c+28>>2]=N[a+28>>2];break c}d=N[a+4>>2];if(N[d+28>>2]!=(a|0)){break c}N[d+28>>2]=N[a+28>>2]}d=N[a+28>>2];if(d){N[d+32>>2]=c;c=N[a+32>>2]}N[b+32>>2]=c;_a(a)}a=N[b+4>>2];c=N[a+16>>2];if((c|0)!=128){continue}break}}}function xr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[c+4>>2]|N[b+4>>2];N[a>>2]=N[c>>2]|N[b>>2];N[a+4>>2]=d;d=N[c+12>>2]|N[b+12>>2];N[a+8>>2]=N[c+8>>2]|N[b+8>>2];N[a+12>>2]=d;d=N[c+20>>2]|N[b+20>>2];N[a+16>>2]=N[c+16>>2]|N[b+16>>2];N[a+20>>2]=d;d=N[c+28>>2]|N[b+28>>2];N[a+24>>2]=N[c+24>>2]|N[b+24>>2];N[a+28>>2]=d;d=N[c+36>>2]|N[b+36>>2];N[a+32>>2]=N[c+32>>2]|N[b+32>>2];N[a+36>>2]=d;d=N[c+44>>2]|N[b+44>>2];N[a+40>>2]=N[c+40>>2]|N[b+40>>2];N[a+44>>2]=d;d=N[c+52>>2]|N[b+52>>2];N[a+48>>2]=N[c+48>>2]|N[b+48>>2];N[a+52>>2]=d;d=N[c+60>>2]|N[b+60>>2];N[a+56>>2]=N[c+56>>2]|N[b+56>>2];N[a+60>>2]=d}function wr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[c+4>>2]&N[b+4>>2];N[a>>2]=N[c>>2]&N[b>>2];N[a+4>>2]=d;d=N[c+12>>2]&N[b+12>>2];N[a+8>>2]=N[c+8>>2]&N[b+8>>2];N[a+12>>2]=d;d=N[c+20>>2]&N[b+20>>2];N[a+16>>2]=N[c+16>>2]&N[b+16>>2];N[a+20>>2]=d;d=N[c+28>>2]&N[b+28>>2];N[a+24>>2]=N[c+24>>2]&N[b+24>>2];N[a+28>>2]=d;d=N[c+36>>2]&N[b+36>>2];N[a+32>>2]=N[c+32>>2]&N[b+32>>2];N[a+36>>2]=d;d=N[c+44>>2]&N[b+44>>2];N[a+40>>2]=N[c+40>>2]&N[b+40>>2];N[a+44>>2]=d;d=N[c+52>>2]&N[b+52>>2];N[a+48>>2]=N[c+48>>2]&N[b+48>>2];N[a+52>>2]=d;d=N[c+60>>2]&N[b+60>>2];N[a+56>>2]=N[c+56>>2]&N[b+56>>2];N[a+60>>2]=d}function Sd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;i=1;j=d&2147483647;l=j;k=(j|0)==2147418112;a:{if(k&!c?a|b:k&(c|0)!=0|j>>>0>2147418112){break a}j=h&2147483647;k=(j|0)==2147418112;if(k&!g?e|f:k&(g|0)!=0|j>>>0>2147418112){break a}if(!(a|e|(c|g)|(b|f|(j|l)))){return 0}i=d&h;if((i|0)>0|(i|0)>=0){i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:c>>>0>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g|(b^f|d^h))!=0}i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}i=(a^e|c^g|(b^f|d^h))!=0}return i}function JA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=N[a+28>>2];a=N[f+20>>2];a:{if(!a){break a}b:{c:{b=P[a>>1];d=b<<16>>16;if((d|0)>=2){e=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break c}if(d){break c}b=P[a+2>>1];break b}b=M[a+2>>1];if((e|0)!=(b|0)){break b}M[a>>1]=d-1;break a}d:{if(b<<16>>16<2){break d}c=N[a+4>>2];g=c+(e<<3)|0;h=b&65535;c=c+(h<<3)|0;if(N[g>>2]!=N[c-8>>2]|N[g+4>>2]!=N[c-4>>2]|O[(N[a+8>>2]+h|0)-1|0]!=1){break d}b=b-1|0;M[a+2>>1]=b}if((d|0)<=0){break a}c=e;e=(b<<16>>16)-1|0;if((c|0)==(e|0)){M[a+2>>1]=b-1;M[a>>1]=d-1;break a}M[(N[a+12>>2]+(d<<1)|0)-2>>1]=e}L[f+44|0]=0}function WA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-32|0;La=e;N[d>>2]=-1;Dd(a,e+20|0);if(N[e+28>>2]==3){i=N[a>>2];g=N[e+20>>2]+1|0;N[a>>2]=g;j=N[a+8>>2];h=N[e+24>>2]-1|0;N[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}if(!b){f=0;while(1){Dd(a,e+8|0);if(!N[e+16>>2]){break a}f=f+12|0;if(Q[a>>2]>2]){continue}break}break a}c=T(c,12)+b|0;while(1){Dd(a,e+8|0);if(!N[e+16>>2]){break a}if(c>>>0>f>>>0){g=N[e+12>>2];N[f>>2]=N[e+8>>2];N[f+4>>2]=g;N[f+8>>2]=N[e+16>>2]}f=f+12|0;if(Q[a>>2]>2]){continue}break}}N[d>>2]=(f-b|0)/12;N[a+8>>2]=j;N[a>>2]=i}La=e+32|0}function ie(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{f=N[147447];b:{if(f){d=f;while(1){c=a;e=N[d+4>>2];b=O[e|0];c:{if(b){d:{while(1){g=L[O[c|0]+179696|0];if((g|0)!=(b&255)){break d}c=c+1|0;b=O[e+1|0];e=e+1|0;if(b){continue}break}g=L[O[c|0]+179696|0];b=0}if((b&255)!=(g|0)){break c}break b}if(!O[O[a|0]+179696|0]){break b}}d=N[d>>2];if(d){continue}break}}d=db(1,8);if(!d){return 0}N[d>>2]=f;c=nb(a)+1|0;b=kb(c);N[d+4>>2]=b;if(!b){break a}e:{if(c){F(b,a,c);c=O[b|0];if(!c){break e}}while(1){L[b|0]=O[(c&255)+179696|0];c=O[b+1|0];b=b+1|0;if(c){continue}break}}N[147447]=d}return d}_a(d);return 0}function Ub(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){a=a+4|0;l=a+T((c<<8|c>>>8)&65535,6)|0;c=N[b+8>>2];e=N[b+4>>2];d=N[b>>2];while(1){j=-1;h=-1;f=O[a+2|0]|O[a+3|0]<<8;f=(f<<8|f>>>8)&65535;i=f>>>4|0;g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;k=g>>>4|0;if(i-k>>>0<=30){h=d;d=1<>>0>1<>>0)}if(f-g>>>0<=30){d=e;e=1<>>0>1<>>0)}e=f>>>9|0;d=g>>>9|0;if(e-d>>>0<=30){f=c;c=1<>>0>1<>>0)}else{c=-1}e=j;d=h;a=a+6|0;if((l|0)!=(a|0)){continue}break}N[b+8>>2]=c;N[b+4>>2]=e;N[b>>2]=d}}function Qp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=275552;c=O[a+2|0]|O[a+3|0]<<8;a:{if(!c){break a}i=a+4|0;g=((c<<8|c>>>8)&65535)-1|0;k=(b<<8|(b&65280)>>>8)&65535;while(1){b:{c:{d:{e=g+j>>>1|0;f=(e<<3)+i|0;h=O[f|0]|O[f+1|0]<<8;c=(h<<8|h>>>8)&65535;e:{if(!(c|h)){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>(b&65535)>>>0){break e}if((c|0)==(k|0)){break d}break c}if(!c){break c}}g=e-1|0;break b}d=(e<<3)+i|0;break a}j=e+1|0}if((g|0)>=(j|0)){continue}break}}b=a;a=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);return a?b+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0:0}function zl(a){var b=0,c=0;b=N[a+36>>2];if(!(b|N[a+68>>2]?(b|0)!=1:0)){a:{if(N[a+44>>2]|!N[a+68>>2]){break a}while(1){b=N[a+12>>2];b=Qa[N[b+32>>2]](b,N[N[a+80>>2]+T(c,20)>>2],N[b- -64>>2])|0;if(!((b|0)==1516858984|(b|0)==1517910393|(b|0)==1517976186)){N[a+44>>2]=b;break a}c=c+1|0;if(c>>>0>2]){continue}break}}if(!N[a+40>>2]){b=sh(N[a+44>>2]);N[a+40>>2]=b?b:4}if(!N[a+48>>2]){b=0;c=a;a=N[147446];if(!a){a=N[147878];a=a?a+8|0:20427;b:{if(!O[a|0]){break b}a=ie(a);if(!a){break b}b=N[a+4>>2]}if(!N[147446]){N[147446]=b}a=b}N[c+48>>2]=a}return}ba(24107,14165,530,16333);B()}function on(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;a:{if(!a){break a}d=N[a+92>>2];if(!d|N[d+4>>2]!=1970170211){break a}d=N[a+40>>2];if(!d){break a}f=N[a+36>>2];if((f|0)<=0){break a}i=(f<<2)+d|0;while(1){b:{f=N[d>>2];c:{if(P[f+8>>1]|P[f+10>>1]!=5){break c}e=N[f>>2];if(!e){break c}e=N[e+96>>2];h=N[N[e>>2]+32>>2];if(!h){break c}e=Qa[h|0](e,10557)|0;if(!e){break c}if(Qa[N[e>>2]](f,g+8|0)|0){break c}if(N[g+12>>2]==14){break b}}d=d+4|0;if(i>>>0>d>>>0){continue}break a}break}d=N[d>>2];if(!d){break a}j=Qa[N[N[d+12>>2]+20>>2]](d,N[a+92>>2],b,c)|0}La=g+16|0;return j}function fC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(!(!e|!d)){j=e<<4;while(1){g=0;h=a;while(1){f=O[b+g|0];M[h>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|1)+b|0];M[h+2>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|2)+b|0];M[h+4>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|3)+b|0];M[h+6>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|4)+b|0];M[h+8>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|5)+b|0];M[h+10>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|6)+b|0];M[h+12>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|7)+b|0];M[h+14>>1]=(f>>>1|f<<7)+1>>>1;h=h+j|0;g=g+8|0;if(g>>>0>>0){continue}break}b=b+c|0;a=a+16|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}}function Ci(a){var b=0,c=0,d=0;a:{if(!a){break a}b=N[a+16>>2];if((b|0)==128){break a}while(1){c=b;b=N[a>>2];b:{if((c|0)!=N[b+16>>2]){b=a;break b}if(O[b+20|0]!=O[a+20|0]){b=a;break b}if(O[b+21|0]!=O[a+21|0]){b=a;break b}if(N[a+24>>2]){b=a;break b}if(N[b+24>>2]){b=a;break b}c=N[a+4>>2];N[b+4>>2]=c;N[c>>2]=b;N[b+12>>2]=N[b+12>>2]+N[a+12>>2];c=N[a+32>>2];c:{if(c){N[c+28>>2]=N[a+28>>2];break c}d=N[a+4>>2];if(N[d+28>>2]!=(a|0)){break c}N[d+28>>2]=N[a+28>>2]}d=N[a+28>>2];if(d){N[d+32>>2]=c;c=N[a+32>>2]}N[b+32>>2]=c;_a(a)}a=N[b+4>>2];b=N[a+16>>2];if((b|0)!=128){continue}break}}}function fc(a,b,c){var d=0,e=0,f=0,g=0;d=N[a+4>>2];g=N[a+20>>2];a:{b:{c:{if(g){e=85;if(b>>>0>d>>>0){break a}f=N[a+28>>2];d:{if((b|0)>0){e=Qa[N[f+4>>2]](f,b)|0;d=64;if(!e){break b}g=N[a+20>>2];break d}d=6;if(b){break b}e=0}N[a>>2]=e;g=Qa[g|0](a,N[a+8>>2],e,b)|0;d=N[a>>2];if(b>>>0<=g>>>0){e=0}else{if(d){Qa[N[f+8>>2]](f,d)}d=0;N[a>>2]=0;e=85}N[a+32>>2]=d;N[a+36>>2]=d?b+d|0:0;N[a+8>>2]=g+N[a+8>>2];if(b>>>0<=g>>>0){break c}break a}e=85;f=N[a+8>>2];if(f>>>0>=d>>>0|d-f>>>0>>0){break a}N[a+8>>2]=b+f;d=f+N[a>>2]|0}N[c>>2]=d;N[a+32>>2]=0;a=a+36|0;d=0}e=d;N[a>>2]=0}return e}function dd(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a>>2];if(d){while(1){c=N[a+4>>2];g=e<<2;b=N[c+g>>2];if(b){while(1){if(!N[b+24>>2]){break b}c=N[b+28>>2];if(N[b+20>>2]){c=c-1|0;N[b+28>>2]=c}d=N[b+8>>2];c:{if(c){N[b>>2]=0;break c}f=N[a+16>>2];if((f|0)!=N[b+4>>2]){break a}c=b+32|0;Qa[N[f+16>>2]](c+(N[f+24>>2]+7&-8)|0,c);_a(b)}b=d;if(b){continue}break}c=N[a+4>>2];d=N[a>>2]}N[c+g>>2]=0;e=e+1|0;if(e>>>0>>0){continue}break}}N[a+20>>2]=0;N[a+24>>2]=0;N[a+8>>2]=0;N[a+12>>2]=a+8;N[a+28>>2]=0;N[a+32>>2]=0;return}ba(15298,18290,509,7842);B()}ba(17656,18290,424,13135);B()}function fh(a){var b=0,c=0,d=0,e=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}e=a-88|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[c+8>>2]=0;N[c+12>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;L[c+24|0]=0;N[c>>2]=0;N[c+4>>2]=0;N[c+28>>2]=0;N[c+32>>2]=0;L[c+40|0]=1;N[c+36>>2]=0;d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1801810542,N[b+16>>2])|0;if(b){break b}}b=275552}d=el(c,b);b=N[a>>2];c:{if(d){if(b){break c}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<4?275552:N[b+12>>2]}function cg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=La-16|0;La=d;b=N[a+260>>2];if(!b){j=a;g=M[a+300>>1];b=N[a+248>>2];a:{if(!g){break a}c=M[a+298>>1];b=N[a+252>>2];if(!c){break a}h=N[a+252>>2];i=N[a+248>>2];b=i>>31;e=(b^i)-b|0;b=c>>31;f=(b^c)-b|0;b=T(e>>>16|0,f);a=b<<16|8192;k=b>>>16|0;b=a+T(f,e&65535)|0;b=k+(b>>>0>>0)<<18|b>>>14;N[d+8>>2]=(c^i)<0?0-b|0:b;b=h>>31;e=(b^h)-b|0;b=g>>31;f=(b^g)-b|0;b=T(e>>>16|0,f);a=b<<16|8192;c=b>>>16|0;b=a+T(f,e&65535)|0;b=c+(b>>>0>>0)<<18|b>>>14;N[d+12>>2]=(g^h)<0?0-b|0:b;b=Wb(d+8|0)}N[j+260>>2]=b}La=d+16|0;return b}function Tp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=N[b+12>>2];d=e-12|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-15|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=$d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function Rp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<10){break a}e=N[b+12>>2];d=e-10|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-13|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=$d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function zt(a){a=a|0;var b=0,c=0,d=0,e=0;d=N[N[a+96>>2]+8>>2];b=N[a+356>>2];if(b){c=N[a+348>>2];a:{if((c|0)>0){c=T(c,20)+b|0;while(1){e=N[b+16>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+16>>2]=0;b=b+20|0;if(c>>>0>b>>>0){continue}break}b=N[a+356>>2];if(!b){break a}}Qa[N[d+8>>2]](d,b)}N[a+356>>2]=0}b=N[a+364>>2];if(b){c=N[a+360>>2];b:{if((c|0)>0){c=T(c,12)+b|0;while(1){e=N[b+8>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+8>>2]=0;b=b+12|0;if(c>>>0>b>>>0){continue}break}b=N[a+364>>2];if(!b){break b}}Qa[N[d+8>>2]](d,b)}N[a+364>>2]=0}M[a+344>>1]=0;N[a+360>>2]=0;N[a+348>>2]=0;N[a+352>>2]=0}function Sp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<6){break a}e=N[b+12>>2];d=e-6|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-9|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=$d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function Pt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{if(b){h=142;f=P[a+152>>1];if(!f){break a}g=N[a+156>>2];i=g+(f<<4)|0;while(1){c:{if(N[g>>2]==(b|0)){f=N[g+12>>2];if(f){break c}}g=g+16|0;if(i>>>0>g>>>0){continue}break a}break}c=N[g+8>>2]+c|0;break b}f=N[N[a+104>>2]+4>>2]}d:{if(!e){b=f;break d}b=N[e>>2];if(b){break d}N[e>>2]=f;return 0}h=85;a=N[a+104>>2];e=N[a+4>>2];if(e>>>0<=c>>>0){break a}f=N[a+20>>2];e:{if(f){d=Qa[f|0](a,c,d,b)|0;break e}f=d;d=e-c|0;d=b>>>0>d>>>0?d:b;F(f,N[a>>2]+c|0,d)}N[a+8>>2]=c+d;h=b>>>0>d>>>0?85:0}return h|0}function qB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=6;a:{if(!c|(!a|!b)){break a}f=N[d>>2];if(!f){break a}e=N[d+4>>2];d=Qa[N[f+4>>2]](f,40)|0;if(!d){return!d<<6}N[d+32>>2]=0;N[d+36>>2]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;N[d+32>>2]=3;f=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=f;f=N[a+4>>2];N[d+16>>2]=N[a>>2];N[d+20>>2]=f;a=N[b+4>>2];N[d+24>>2]=N[b>>2];N[d+28>>2]=a;a=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=a;N[d+36>>2]=N[e+8>>2];N[e+8>>2]=d;a=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=a;e=0}return e|0}function ky(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=M[a+302>>1];if(g){a:{b:{c:{switch(N[N[N[a>>2]+96>>2]+64>>2]-35|0){case 5:if(O[a+643|0]){break a}e=N[b+16>>2];f=e+(c<<3)|0;break b;case 0:break c;default:break a}}e=N[b+16>>2];f=e+(c<<3)|0}h=(c<<3)+e|0,i=jb(d,g,N[a+596>>2])+N[f>>2]|0,N[h>>2]=i}e=N[b+24>>2]+c|0;L[e|0]=O[e|0]|8}e=M[a+304>>1];if(e){d:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break d}}f=N[b+16>>2]+(c<<3)|0;h=f,i=jb(d,e,N[a+596>>2])+N[f+4>>2]|0,N[h+4>>2]=i}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|16}}function zf(a){var b=0,c=0,d=0,e=0;N[a+24>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+4>>2]=N[a>>2];N[a+8>>2]=N[a+12>>2];mq(a);a:{b:{c:{d:{b=N[a+48>>2];if((b|0)>=0){c=N[a+52>>2];d=c+1|0;if(d>>>0<=b>>>0){break d}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=1073741823){e=$a(N[a+56>>2],b<<2);if(e){break c}}N[a+48>>2]=-1}N[147456]=0;break a}e=N[a+56>>2];break b}N[a+48>>2]=b;N[a+56>>2]=e;c=N[a+52>>2];d=c+1|0}N[a+52>>2]=d;N[(c<<2)+e>>2]=0}N[a+60>>2]=1;N[a+64>>2]=1;N[a+76>>2]=0;N[a+88>>2]=0;N[a+80>>2]=0;N[a+84>>2]=0;N[a+68>>2]=0;N[a+72>>2]=1}function Xu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=La-32|0;La=c;a:{if((Qa[N[b+52>>2]](b,6,c,0)|0)<=5){N[b+12>>2]=3;break a}e=N[c+12>>2];if(!e){N[b+12>>2]=3;break a}i=a+440|0;f=N[c>>2];d=e>>31;d=(d^e)-d|0;b:{if((d|0)==65536){g=N[c+8>>2];h=N[c+4>>2];break b}f=fb(f,d);h=fb(N[c+4>>2],d);g=fb(N[c+8>>2],d);j=c,k=fb(N[c+16>>2],d),N[j+16>>2]=k;j=c,k=fb(N[c+20>>2],d),N[j+20>>2]=k;e=(e|0)<0?-65536:65536}N[a+440>>2]=f;N[a+448>>2]=h;N[a+452>>2]=e;N[a+444>>2]=g;if(!hg(i)){N[b+12>>2]=3;break a}N[a+456>>2]=M[c+18>>1];N[a+460>>2]=M[c+22>>1]}La=c+32|0}function vn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}b=N[a>>2];if(!b){break a}f=N[b+96>>2];if(!f){break a}c=N[b+108>>2];if(!c){break a}e=b+108|0;d=N[f+8>>2];while(1){if(N[c+8>>2]!=(a|0)){c=N[c+4>>2];if(c){continue}break a}break}g=N[c>>2];h=g?g+4|0:e;e=N[c+4>>2];N[h>>2]=e;N[(e?e:b+112|0)>>2]=g;Qa[N[d+8>>2]](d,c);b:{if(N[b+88>>2]!=(a|0)){break b}N[b+88>>2]=0;c=N[b+108>>2];if(!c){break b}N[b+88>>2]=N[c+8>>2]}b=N[a+8>>2];if(b){Qa[b|0](a)}b=N[N[f+12>>2]+60>>2];if(b){Qa[b|0](a)}b=N[a+40>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+40>>2]=0;Qa[N[d+8>>2]](d,a)}}function Wx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{if(!b){break b}c=27008;c:{if(!cb(9676,b)){break c}c=27016;if(!cb(10423,b)){break c}c=27024;if(!cb(10670,b)){break c}c=27032;if(!cb(15774,b)){break c}c=27040;if(!cb(15178,b)){break c}if(cb(11276,b)){break b}c=27048}d=N[c+4>>2];if(d){break a}}d=0;if(!a){break a}c=N[a+4>>2];if(!c){break a}e=N[c+16>>2];if((e|0)<=0){break a}c=c+20|0;e=c+(e<<2)|0;while(1){f=N[N[c>>2]>>2];if(cb(N[f+8>>2],9195)){c=c+4|0;if(e>>>0>c>>>0){continue}break a}break}c=N[f+20>>2];if(!c){break a}d=Qa[N[c+16>>2]](a,b)|0}return d|0}function Al(a,b){var c=0,d=0,e=0;a:{b:{if(O[a+62|0]){d=N[a+84>>2];e=N[a+80>>2];c=N[a+72>>2];if(!((d|0)==(e|0)&(c|0)==N[a+64>>2])){c=b+c|0;if(!(!c|c>>>0>2])){d=0;if(!gb(a,c)){break b}d=N[a+84>>2];e=N[a+80>>2]}c:{if((d|0)!=(e|0)){break c}c=N[a+72>>2];if(c+b>>>0<=N[a+64>>2]+b>>>0){d=e;break c}if(!O[a+62|0]){break a}d=N[a+88>>2];N[a+84>>2]=d;c=T(c,20);if(!c){break c}F(d,e,c);e=N[a+80>>2];d=N[a+84>>2]}F(T(N[a+72>>2],20)+d|0,T(N[a+64>>2],20)+e|0,T(b,20));c=N[a+72>>2]}N[a+72>>2]=c+b}N[a+64>>2]=N[a+64>>2]+b;d=1}return d}ba(8694,17855,209,11932);B()}function Ry(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=N[a+12>>2];e=N[a+4>>2];d=La-16|0;La=d;N[d+12>>2]=0;c=-28;b=N[147574];a:{if(b){g=d+12|0;while(1){if(N[b>>2]==(f|0)){break a}if(g){N[g>>2]=b}b=N[b+36>>2];if(b){continue}break}}b=0}b:{if(!e|!b|N[b+4>>2]!=(e|0)){break b}c=N[d+12>>2];N[(c?c+36|0:590296)>>2]=N[b+36>>2];c=N[b+16>>2];if(!(c&32)){c=Da(f|0,e|0,N[b+32>>2],c|0,N[b+12>>2],N[b+24>>2])|0;if(c){break b}}if(N[b+8>>2]){_a(N[b>>2])}c=0;if(O[b+16|0]&32){break b}_a(b)}La=d+16|0;b=c;if(b>>>0>=4294963201){N[147316]=0-b}N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Wy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if($b(a,N[b+8>>2],e)){if(!(N[b+28>>2]==1|N[b+4>>2]!=(c|0))){N[b+28>>2]=d}return}a:{if($b(a,N[b>>2],e)){if(!(N[b+16>>2]!=(c|0)&N[b+20>>2]!=(c|0))){if((d|0)!=1){break a}N[b+32>>2]=1;return}N[b+32>>2]=d;b:{if(N[b+44>>2]==4){break b}M[b+52>>1]=0;a=N[a+8>>2];Qa[N[N[a>>2]+20>>2]](a,b,c,c,1,e);if(O[b+53|0]){N[b+44>>2]=3;if(!O[b+52|0]){break b}break a}N[b+44>>2]=4}N[b+20>>2]=c;N[b+40>>2]=N[b+40>>2]+1;if(N[b+36>>2]!=1|N[b+24>>2]!=2){break a}L[b+54|0]=1;return}a=N[a+8>>2];Qa[N[N[a>>2]+24>>2]](a,b,c,d,e)}}function Wo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{a=N[a+20>>2];b:{if(!a){break b}c:{d:{b=P[a>>1];e=b<<16>>16;if((e|0)>=2){d=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break d}if(e){break d}b=P[a+2>>1];break c}b=M[a+2>>1];if((d|0)!=(b|0)){break c}break a}e:{if(b<<16>>16<2){break e}c=N[a+4>>2];f=c+(d<<3)|0;g=b&65535;c=c+(g<<3)|0;if(N[f>>2]!=N[c-8>>2]|N[f+4>>2]!=N[c-4>>2]|O[(N[a+8>>2]+g|0)-1|0]!=1){break e}b=b-1|0;M[a+2>>1]=b}if((e|0)<=0){break b}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){M[a+2>>1]=b-1;break a}M[(N[a+12>>2]+(e<<1)|0)-2>>1]=d}return}M[a>>1]=e-1}function Bb(a,b){var c=0,d=0,e=0;c=N[a+4>>2];a:{e=N[a+20>>2];b:{if(e){d=85;if(b>>>0>c>>>0){break b}d=N[a+28>>2];c:{d:{if((b|0)>0){c=Qa[N[d+4>>2]](d,b)|0;if(c){break d}c=64;break a}c=6;if(b){break a}c=0;break c}e=N[a+20>>2]}N[a>>2]=c;e=Qa[e|0](a,N[a+8>>2],c,b)|0;c=N[a>>2];if(b>>>0<=e>>>0){d=0}else{if(c){Qa[N[d+8>>2]](d,c)}c=0;N[a>>2]=0;d=85}N[a+32>>2]=c;N[a+36>>2]=c?b+c|0:0;N[a+8>>2]=e+N[a+8>>2];return d}e=N[a+8>>2];d=85;if(e>>>0>=c>>>0|c-e>>>0>>0){break b}N[a+8>>2]=b+e;c=e+N[a>>2]|0;N[a+32>>2]=c;N[a+36>>2]=b+c;d=0}return d}N[a>>2]=0;return c}function cm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}b:{c:{b=N[a+8>>2];switch(b|0){case 0:break a;case 1:break b;default:break c}}g=b-1|0;h=g&3;d=1;if(b-2>>>0>=3){j=g&-4;while(1){c=N[a>>2];b=e<<2;f=d<<2;N[c+b>>2]=N[c+f>>2];c=N[a>>2];N[c+(b|4)>>2]=N[(c+f|0)+4>>2];c=N[a>>2];N[c+(b|8)>>2]=N[(c+f|0)+8>>2];c=b|12;b=N[a>>2];N[c+b>>2]=N[(b+f|0)+12>>2];d=d+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}if(!h){break b}while(1){b=N[a>>2];N[b+(e<<2)>>2]=N[b+(d<<2)>>2];d=d+1|0;e=e+1|0;i=i+1|0;if((i|0)!=(h|0)){continue}break}}N[a+8>>2]=g}}function Ro(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;N[c+8>>2]=0;N[c+12>>2]=0;N[c>>2]=0;N[c+4>>2]=0;d=N[a+4>>2];a:{if(!N[N[d+128>>2]+52>>2]){d=18;if(b>>>0>255){break a}f=N[a+532>>2];if(!N[f+1188>>2]){break a}h=Qa[N[N[f+3088>>2]>>2]](b)|0;g=N[f+20>>2];if(!g){break a}f=N[f+1188>>2];b=0;while(1){if(P[f+(b<<1)>>1]!=(h|0)){b=b+1|0;if((g|0)!=(b|0)){continue}break a}break}if((b|0)<0){break a}d=N[a+4>>2]}d=Qa[N[a+596>>2]](d,b,e+12|0,e+8|0)|0;if(d){break a}a=N[e+12>>2];N[c+4>>2]=a;b=N[e+8>>2];N[c+12>>2]=a;d=0;N[c+8>>2]=a?a+b|0:0}La=e+16|0;return d}function mA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(O[a+64|0]){break a}L[a+64|0]=1;e=N[a+20>>2];b:{if(O[a+65|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+65|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function Vf(a){var b=0,c=0,d=0;a:{if(!a){break a}c=N[a+28>>2];if(!c){break a}d=N[a+36>>2];if(!d){break a}b=N[c+20>>2];if(b){c=N[b>>2];if((c&-2)==4){Qa[d|0](N[a+40>>2],N[b+12>>2]);c=N[b>>2]}if((c|0)==6){Qa[N[a+36>>2]](N[a+40>>2],N[b+4>>2])}N[b+28>>2]=0;N[b+32>>2]=0;N[b>>2]=0;d=N[b+40>>2];N[b+52>>2]=d;N[b+48>>2]=d;c=N[b+56>>2];if(c){c=Qa[c|0](0,0,0)|0;N[b+60>>2]=c;N[a+48>>2]=c;d=N[b+40>>2]}Qa[N[a+36>>2]](N[a+40>>2],d);Qa[N[a+36>>2]](N[a+40>>2],N[b+36>>2]);Qa[N[a+36>>2]](N[a+40>>2],b);d=N[a+36>>2];c=N[a+28>>2]}Qa[d|0](N[a+40>>2],c);N[a+28>>2]=0}}function tg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!N[c+20>>2]){N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;return}a=1<>2];d=0-a|0;f=N[c+8>>2];g=d>>>0>>0?f:d&(a+f|0)-1;d=N[c+12>>2];a:{if(g>>>0>((a^2147483647)>>>0)/(((d|0)<=1?1:d)>>>0)>>>0){break a}e=a+T(d,g)|0;if(e>>>0>=-5-a>>>0){break a}e=kb((a+e|0)+3|0);if(!e){break a}h=e+4|0;i=h&a-1;a=(i?a-i|0:0)+h|0;N[a-4>>2]=e;if(!a){break a}N[b+20>>2]=a;N[b+16>>2]=g;N[b+12>>2]=d;N[b+8>>2]=f;N[b>>2]=N[c>>2];N[b+4>>2]=N[c+4>>2];F(a,N[c+20>>2],T(N[c+12>>2],N[c+16>>2]))}}function Yw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=La-16|0;La=f;a=N[a+532>>2];a:{if(!a){e=6;break a}d=N[a+4>>2];Jh(N[a+136>>2],f,d);a=b>>>0>d>>>0?d:b;if(a){F(c,f,a<<2)}if(b>>>0<=d>>>0){break a}d=(a^-1)+b|0;g=b-a&7;if(g){while(1){N[(a<<2)+c>>2]=32768;a=a+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}e=0;if(d>>>0<7){break a}while(1){d=(a<<2)+c|0;N[d>>2]=32768;N[d+4>>2]=32768;N[d+24>>2]=32768;N[d+28>>2]=32768;N[d+16>>2]=32768;N[d+20>>2]=32768;N[d+8>>2]=32768;N[d+12>>2]=32768;a=a+8|0;if((b|0)!=(a|0)){continue}break}}La=f+16|0;return e|0}function To(a,b,c){var d=0,e=0,f=0;a:{if(O[a+44|0]){break a}L[a+44|0]=1;e=N[a+20>>2];if(!e){return 3}b:{if(O[a+45|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+45|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d}function Sw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=N[a+532>>2];if(!e){return 6}f=N[e>>2];i=N[b>>2];a=6;a:{if(f>>>0>i>>>0){break a}b:{if(!f){break b}e=N[e+136>>2];a=0;if(f>>>0>=4){h=f&-4;while(1){d=a<<2;N[d+c>>2]=N[e+d>>2];g=d|4;N[g+c>>2]=N[e+g>>2];g=d|8;N[g+c>>2]=N[e+g>>2];d=d|12;N[d+c>>2]=N[e+d>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=f&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[e+h>>2];a=a+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}}a=0;if(f>>>0>=i>>>0){break a}C((f<<2)+c|0,0,i-f<<2);a=0}N[b>>2]=f;return a|0}function Fn(a,b){var c=0,d=0,e=0,f=0,g=0;b=N[a+84>>2]+(N[a+48>>2]+b|0)|0;d=N[a+12>>2];a:{if(b>>>0<=d>>>0){break a}b=b+1|0;if((b|d)<0){return 6}f=N[a>>2];g=N[a+52>>2];b:{c:{e=b&-2;d:{if(!e){b=0;if(!g){break d}Qa[N[f+8>>2]](f,g);N[a+52>>2]=0;break b}c=10;if((e|0)>67108863){break a}e:{if(!d){b=Qa[N[f+4>>2]](f,e<<5)|0;c=!b<<6;break e}c=Qa[N[f+12>>2]](f,d<<5,e<<5,g)|0;b=c?c:g;c=!c<<6}if(c|(d|0)>=(e|0)|!b){break c}C((d<<5)+b|0,0,e-d<<5)}N[a+52>>2]=b;break b}N[a+52>>2]=b;if(c){break a}}N[a+12>>2]=e;c=0;N[a+88>>2]=b?(N[a+48>>2]<<5)+b|0:0}return c}function mg(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=La-240|0;La=i;N[i+236>>2]=e;N[i+232>>2]=d;N[i>>2]=a;m=1;a:{b:{c:{if(!(e|(d|0)!=1)){j=a;break c}n=0-b|0;k=a;while(1){l=(f<<2)+h|0;j=k-N[l>>2]|0;if((Qa[c|0](j,a)|0)<=0){j=k;break c}d:{if(!((f|0)<2|g)){g=N[l-8>>2];l=k+n|0;if((Qa[c|0](l,j)|0)>=0){break d}if((Qa[c|0](l-g|0,j)|0)>=0){break d}}N[(m<<2)+i>>2]=j;d=bo(d,e);ng(i+232|0,d);m=m+1|0;f=d+f|0;g=0;k=j;e=N[i+236>>2];d=N[i+232>>2];if(e|(d|0)!=1){continue}break b}break}j=k;break b}if(g){break a}}ao(b,i,m);hi(j,b,c,f,h)}La=i+240|0}function kA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[N[a+4>>2]+712>>2];a:{b:{if(!N[d+2024>>2]){d=d+1372|0;break b}e=Qa[N[N[d+3088>>2]+8>>2]](d+3052|0,c)|0;c=3;if(e>>>0>=Q[d+2024>>2]){break a}d=N[(d+(e<<2)|0)+2028>>2];if(!b|!N[a+68>>2]){break b}N[a+72>>2]=N[(N[N[b+40>>2]>>2]+(e<<2)|0)+4>>2]}e=N[d+620>>2];N[a+728>>2]=e;N[a+744>>2]=N[d+644>>2];c=0;b=0;c:{if(N[N[a+108>>2]+1416>>2]==1){break c}b=107;if(e>>>0<1240){break c}b=e>>>0<33900?1131:32768}N[a+736>>2]=b;N[a+584>>2]=N[d+540>>2];b=N[d+544>>2];N[a+768>>2]=d;N[a+588>>2]=b}return c|0}function Ch(a,b){var c=0,d=0,e=0,f=0;c=N[a>>2];e=N[b+20>>2];a:{b:{if(e){d=85;if(!(Qa[e|0](b,c,0,0)|0)){break b}break a}d=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;d=rb(b,37936,a+4|0);if(d){break a}d=2;c=P[a+4>>1];if((c|256)!=768){break a}e=N[a+8>>2];if(e>>>0<((c|0)==768?148:118)>>>0){break a}if((c|0)==512){N[a+140>>2]=0;N[a+132>>2]=0;N[a+136>>2]=0}if(L[a+72|0]&1){break a}c=N[a>>2];f=N[b+20>>2];c:{if(f){d=85;if(Qa[f|0](b,c,0,0)|0){break a}e=N[a+8>>2];break c}d=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;d=fc(b,e,a+160|0)}return d}function IB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(b){h=N[d>>2]-T(N[d+4>>2],a)|0;while(1){e=P[c+2>>1];a:{if(!e){break a}d=T(M[c>>1],3)+h|0;g=e&7;b:{if(!g){f=e;break b}f=e&65528;a=0;while(1){L[d|0]=O[c+4|0];d=d+3|0;a=a+1|0;if((a&65535)!=(g|0)){continue}break}}if(e>>>0<8){break a}while(1){L[d|0]=O[c+4|0];L[d+3|0]=O[c+4|0];L[d+6|0]=O[c+4|0];L[d+9|0]=O[c+4|0];L[d+12|0]=O[c+4|0];L[d+15|0]=O[c+4|0];L[d+18|0]=O[c+4|0];L[d+21|0]=O[c+4|0];d=d+24|0;f=f-8|0;if(f&65535){continue}break}}c=c+6|0;b=b-1|0;if(b){continue}break}}}function Rc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}N[a+112>>2]=0;N[a+116>>2]=0;b=N[a+104>>2];if(b){Qa[b|0](N[a+100>>2])}Rc(N[a+20>>2]);nj(N[a+24>>2]);oc(N[a+96>>2]);_a(N[a+88>>2]);_a(N[a+92>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function Hx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;c=N[a>>2];a:{b:{if(O[c+8|0]&2){d=Qa[N[N[c+540>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=N[e+12>>2];N[a+116>>2]=c;b=N[a>>2];if(L[b+8|0]&1){Yc(b,c);Th(a);break b}d=Qa[N[N[b+540>>2]+108>>2]](b,c,a+12|0)|0;if(!d){break b}N[a+116>>2]=-1;break a}N[a+116>>2]=-1;c=N[a>>2]}se(c,b);if(!(L[N[a>>2]+8|0]&1)){break a}d=Th(a);if(d){break a}c=a;d=P[a+84>>1];a=N[a+44>>2];a=N[(P[a>>1]>P[a+2>>1]?12:16)+b>>2];f=c,g=jb(d,4608,N[b>>2]==4?72:a?a:72),N[f+120>>2]=g}d=0}La=e+16|0;return d|0}function Yu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[a>>2];c=N[a+44>>2];a:{if(!c){break a}d=N[c>>2];if(!d|!N[d+96>>2]){break a}N[d+88>>2]=c}d=35;c=N[e+504>>2];b:{if(!c|!(O[c+8|0]&2)){break b}d=6;if((b|0)<0|N[c+28>>2]<=(b|0)){break b}d=N[N[N[c+96>>2]+12>>2]+92>>2];c:{if(!d){Yc(c,b);break c}d=Qa[d|0](N[c+88>>2],b)|0;if(d){break b}}b=N[N[e+504>>2]+88>>2];c=N[b+16>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=c;N[a+36>>2]=N[b+36>>2];c=N[b+32>>2];N[a+28>>2]=N[b+28>>2];N[a+32>>2]=c;c=N[b+24>>2];N[a+20>>2]=N[b+20>>2];N[a+24>>2]=c;d=0}return d|0}function DD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;b=0;if(N[N[a+96>>2]+28>>2]!=N[147119]){a:{if(!c){break a}while(1){h=N[d>>2];N[f>>2]=0;i=N[a+96>>2];j=N[i+28>>2];k=N[a+100>>2];i=N[i+12>>2];if(i){i=N[i+8>>2]}else{i=0}if(!(Qa[j|0](a,k,h,f,i)|0)){break a}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return(b>>>0>>0?b:c)|0}a=N[a+20>>2];i=N[a+96>>2];b=N[i+32>>2];h=N[a+100>>2];i=N[i+12>>2];if(!i){return Qa[b|0](a,h,c,d,e,f,g,0)|0}return Qa[b|0](a,h,c,d,e,f,g,N[i+12>>2])|0}function dt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=N[b+4>>2];a:{if((g|0)==N[b>>2]){break a}d=N[a+872>>2];if(!d){break a}a=N[b+8>>2];f=N[d+28>>2];if(a>>>0>>0){break a}h=N[d+36>>2]+N[d+40>>2]|0;if(h>>>0<=a>>>0){break a}e=(a-(g<<2)|0)-4|0;if(e>>>0>>0|e>>>0>=((N[d+24>>2]<<2)+f|0)+4>>>0){break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);L[c+4|0]=0;i=N[d+32>>2];d=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+f|0;if(i>>>0>d>>>0|d>>>0>=h>>>0){break a}N[c>>2]=d;j=1;N[b+4>>2]=g+1;N[b+8>>2]=a+4}return j|0}function We(a){var b=0,c=0,d=0;a:{b=db(1,172);b:{if(!b){c=N[147049];b=588184;break b}N[b+148>>2]=1073741823;N[b+152>>2]=536870911;N[b>>2]=1;N[b+4>>2]=1;c=Ic();c:{if(!c){break c}d=N[c>>2];if(!d){break c}if((d|0)<=0){break a}N[c>>2]=d+1}L[b+60|0]=1;N[b+24>>2]=65533;N[b+12>>2]=c}Xe(c);c=N[a+12>>2];d:{if(!c){break d}d=N[c>>2];if(!d){break d}if((d|0)<=0){break a}N[c>>2]=d+1}N[b+12>>2]=c;N[b+16>>2]=N[a+16>>2];N[b+20>>2]=N[a+20>>2];c=N[a+28>>2];N[b+28>>2]=c;N[b+24>>2]=c;N[b+32>>2]=N[a+32>>2];return b}ba(23506,14099,260,16403);B()}function lm(a){var b=0,c=0,d=0,e=0,f=0;N[a+28>>2]=4096;b=a+4168|0;N[a+24>>2]=b;N[a+8268>>2]=b;d=a+72|0;f=a+12|0;a:{while(1){if(!N[a+16>>2]){b=N[a>>2];c=N[b+20>>2];b:{if(c){c=Qa[c|0](b,N[b+8>>2],d,4096)|0;if(c){break b}break a}e=N[b+8>>2];c=N[b+4>>2]-e|0;c=c>>>0>=4096?4096:c;if(!c){break a}F(d,N[b>>2]+e|0,c)}N[b+8>>2]=N[b+8>>2]+c;N[a+16>>2]=c;N[a+12>>2]=d}b=km(f,0);if(b){if((b|0)==1){b=N[a+24>>2];N[a+8272>>2]=b;return(b|0)==N[a+8268>>2]?85:0}break a}if(N[a+28>>2]){continue}break}return 0}N[a+8272>>2]=N[a+8268>>2];return 85}function fg(a,b,c){var d=0,e=0;e=a;a:{b:{c:{d:{if((e^b)&3){break d}d=(c|0)!=0;e:{if(!(b&3)|!c){break e}while(1){d=O[b|0];L[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break e}if(c){continue}break}}if(!d){break b}if(!O[b|0]){break a}if(c>>>0<4){break d}while(1){d=N[b>>2];if((d^-1)&d-16843009&-2139062144){break c}N[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}}while(1){d=O[b|0];L[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}ve(e,0,c);return a}function bd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=La-16|0;La=f;A(+b);g=v(1)|0;d=v(0)|0;c=g&2147483647;e=c+-1048576|0;a:{if((e|0)==2145386495|e>>>0<2145386495){h=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){h=d<<28;c=(g&15)<<28|d>>>4;d=g>>>4|2147418112;break a}if(!(c|d)){c=0;d=0;break a}e=c;c=c?W(c):W(d)+32|0;hc(f,d,e,0,0,c+49|0);i=N[f>>2];h=N[f+4>>2];e=15372-c<<16;c=N[f+8>>2];d=e|N[f+12>>2]^65536}N[a>>2]=i;N[a+4>>2]=h;N[a+8>>2]=c;N[a+12>>2]=g&-2147483648|d;La=f+16|0}function pg(a){var b=0,c=0,d=0;a:{if(!a){if(N[147312]){b=pg(N[147312])}if(N[147274]){b=pg(N[147274])|b}a=N[147575];if(!a){break a}while(1){if(N[a+20>>2]!=N[a+28>>2]){b=pg(a)|b}a=N[a+56>>2];if(a){continue}break}break a}c=N[a+76>>2]>=0;b:{c:{if(N[a+20>>2]==N[a+28>>2]){break c}Qa[N[a+36>>2]](a,0,0)|0;if(N[a+20>>2]){break c}b=-1;if(c){break b}break a}b=N[a+8>>2];d=N[a+4>>2];if((b|0)!=(d|0)){b=d-b|0;Qa[N[a+40>>2]](a,b,b>>31,1)|0}b=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(!c){break a}}}return b}function sB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=6;a:{if(!a){break a}e=N[b>>2];c=N[b+4>>2];if(N[c>>2]==N[a>>2]){d=0;if(N[c+4>>2]==N[a+4>>2]){break a}}d=6;if(!e){break a}b=Qa[N[e+4>>2]](e,40)|0;if(!b){return!b<<6}N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b+32>>2]=1;e=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=e;e=N[a+4>>2];N[b+8>>2]=N[a>>2];N[b+12>>2]=e;N[b+36>>2]=N[c+8>>2];N[c+8>>2]=b;b=N[a+4>>2];N[c>>2]=N[a>>2];N[c+4>>2]=b;d=0}return d|0}function ps(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{d=a+20|0;if(d>>>0<=Q[b+160>>2]){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<20|c>>>0>N[b+160>>2]-a>>>0){break b}a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0>c-20>>>1>>>0){break b}if(!(!N[b+164>>2]|!a)){c=N[b+172>>2];while(1){if(c>>>0<=(O[d+1|0]|O[d|0]<<8)>>>0){break a}d=d+2|0;a=a-1|0;if(a){continue}break}}return 0}Pb(b,8);B()}Pb(b,8);B()}Pb(b,16);B()}function qs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=N[b>>2];if((d|0)==-1){return 0}d=d+1|0;a=N[a+16>>2];c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0>>0?d:c;c=e-c|0;d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if(c>>>0>=d>>>0){break a}a=((c<<1)+a|0)+20|0;while(1){f=O[a+1|0]|O[a|0]<<8;if(f){break a}if((e|0)==-1){return 0}a=a+2|0;e=e+1|0;c=c+1|0;if(d>>>0>c>>>0){continue}break}f=0}N[b>>2]=e;return f|0}function EB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;b=N[a+4>>2];g=b+c|0;b=0-b|0;f=g-1&b;b=b&d;if((P[e+12>>1]&7)!=2){b=N[a+20>>2]<(d-g|0)?b:(c|0)==(f|0)?b:(b|0)==(d|0)?b:f}c=N[a>>2];b=b>>c;a:{if((b|0)<0){break a}d=f>>c;c=P[a+50>>1];if((d|0)>=(c|0)){break a}f=b>>>0>>0?b:c-1|0;c=-128>>(f&7);e=N[a+56>>2];d=(d|0)>0?d:0;a=d>>>3|0;b=e+a|0;d=255>>>(d&7)|0;f=f<<13>>16;g=f-a|0;b:{if((g|0)>0){L[b|0]=d|O[b|0];if((g|0)!=1){C((a+e|0)+1|0,255,f+(a^-1)|0);a=f-1|0}b=(a+e|0)+1|0;break b}c=c&d}L[b|0]=O[b|0]|c}}function Fm(a,b){var c=0,d=0,e=0;if(b){d=N[b+608>>2];if(d){c=N[d+28>>2];e=N[b+640>>2];if(e){if(N[d+20>>2]){Qa[N[c+8>>2]](c,e)}N[b+640>>2]=0}d=N[b+636>>2];if(d){Qa[N[c+8>>2]](c,d)}c=b+608|0;N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=N[b+644>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+644>>2]=0;c=N[b+572>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+572>>2]=0;c=N[b+580>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+580>>2]=0;c=N[b+592>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+592>>2]=0}}function BD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;b=La-16|0;La=b;N[b+12>>2]=c;d=N[a+96>>2];e=N[d+48>>2];a:{if((e|0)!=N[147124]){f=N[a+100>>2];g=b+12|0;h=b+8|0;c=N[d+12>>2];if(c){c=N[c+28>>2]}else{c=0}Qa[e|0](a,f,1,g,0,h,0,c);c=N[b+8>>2];break a}d=N[a+20>>2];e=N[d+96>>2];f=N[e+40>>2];g=N[d+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}c=Qa[f|0](d,g,c,e)|0;d=N[a+20>>2];if(!d){break a}d=N[d+28>>2];a=N[a+28>>2];if((d|0)==(a|0)){break a}c=VE(UE(a,a>>31,c,c>>31),Pa,d,d>>31)}La=b+16|0;return c|0}function AD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;b=La-16|0;La=b;N[b+12>>2]=c;d=N[a+96>>2];e=N[d+52>>2];a:{if((e|0)!=N[147125]){f=N[a+100>>2];g=b+12|0;h=b+8|0;c=N[d+12>>2];if(c){c=N[c+32>>2]}else{c=0}Qa[e|0](a,f,1,g,0,h,0,c);c=N[b+8>>2];break a}d=N[a+20>>2];e=N[d+96>>2];f=N[e+44>>2];g=N[d+100>>2];e=N[e+12>>2];if(e){e=N[e+24>>2]}else{e=0}c=Qa[f|0](d,g,c,e)|0;d=N[a+20>>2];if(!d){break a}d=N[d+32>>2];a=N[a+32>>2];if((d|0)==(a|0)){break a}c=VE(UE(a,a>>31,c,c>>31),Pa,d,d>>31)}La=b+16|0;return c|0}function un(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=35;a:{if(!(O[a+8|0]&2)){break a}d=7;if(N[b>>2]){break a}e=N[b+4>>2];f=e;d=N[b+12>>2];if(d){f=(T(d,e)+36|0)/72|0}g=N[b+8>>2];h=g;d=23;b=N[b+16>>2];if(b){h=(T(b,g)+36|0)/72|0}b=g?h:f;f=(e?f:b)+32&-64;if(!f){break a}e=(e?b:h)+32&-64;if(!e){break a}h=N[a+28>>2];if((h|0)<=0){break a}a=N[a+32>>2];b=0;while(1){g=a+(b<<4)|0;if(!((e|0)!=(N[g+12>>2]+32&-64)|(f|0)!=(N[g+8>>2]+32&-64))){d=0;if(!c){break a}N[c>>2]=b;return 0}b=b+1|0;if((h|0)!=(b|0)){continue}break}}return d}function Qh(a,b){var c=0,d=0,e=0,f=0,g=0;c=N[b+4>>2];if(c){if(N[b>>2]){while(1){f=e<<4;d=N[(f+c|0)+8>>2];if(d){Qa[N[a+8>>2]](a,d);c=N[b+4>>2]}d=c+f|0;N[d+8>>2]=0;d=N[d+12>>2];if(d){Qa[N[a+8>>2]](a,d);c=N[b+4>>2]}N[(c+f|0)+12>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}Qa[N[a+8>>2]](a,c);N[b+4>>2]=0}e=N[b+16>>2];if(e){f=N[b+12>>2];if(f){c=0;while(1){d=c<<2;g=N[d+e>>2];if(g){Qa[N[a+8>>2]](a,g);f=N[b+12>>2];e=N[b+16>>2]}N[e+d>>2]=0;c=c+1|0;if(f>>>0>c>>>0){continue}break}}Qa[N[a+8>>2]](a,e);N[b+16>>2]=0}}function rB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=6;a:{if(!a|!b){break a}e=N[c>>2];if(!e){break a}d=N[c+4>>2];c=Qa[N[e+4>>2]](e,40)|0;if(!c){return!c<<6}N[c+32>>2]=0;N[c+36>>2]=0;N[c>>2]=0;N[c+4>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;N[c+32>>2]=2;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;e=N[a+4>>2];N[c+16>>2]=N[a>>2];N[c+20>>2]=e;a=N[b+4>>2];N[c+8>>2]=N[b>>2];N[c+12>>2]=a;N[c+36>>2]=N[d+8>>2];N[d+8>>2]=c;a=N[b+4>>2];N[d>>2]=N[b>>2];N[d+4>>2]=a;d=0}return d|0}function CB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:{f=T(b,f);if((f|0)<=0){break a}i=a+f|0;if(e){j=e&-2;k=e&1;while(1){f=0;b:{if((e|0)!=1){while(1){h=a+f|0;g=O[c+f|0]+O[h|0]|0;L[h|0]=g>>>0>=255?255:g;g=f|1;h=g+a|0;g=O[c+g|0]+O[h|0]|0;L[h|0]=g>>>0>=255?255:g;f=f+2|0;if((j|0)!=(f|0)){continue}break}if(!k){break b}}g=a+f|0;f=O[c+f|0]+O[g|0]|0;L[g|0]=f>>>0>=255?255:f}c=c+d|0;a=a+b|0;if(i>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(i>>>0>a>>>0){continue}break}}}function xg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;N[a+112>>2]=N[a+112>>2]+1;dd(N[a+852>>2]);dd(N[a+848>>2]);dd(N[a+844>>2]);b=N[a+16>>2];N[a+132>>2]=b;c=N[a+20>>2];N[a+136>>2]=c;d=b-(N[a- -64>>2]+N[a+68>>2]|0)|0;N[a+144>>2]=d;e=c-(N[a+56>>2]+N[a+60>>2]|0)|0;N[a+140>>2]=e;h=UE(d,d>>31,c,c>>31);f=Pa;i=UE(e,e>>31,b,b>>31);g=Pa;S[a+160>>3]=(g|0)<=(f|0)&h>>>0>=i>>>0|(f|0)>(g|0)?+(b|0):+(c|0)*+(d|0)/+(e|0);if((f|0)<=(g|0)&h>>>0<=i>>>0|(f|0)<(g|0)){S[a+152>>3]=c|0;return}S[a+152>>3]=+(b|0)*+(e|0)/+(d|0)}function Qd(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){c=f+-64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<>>b}d=0;e=0;break a}if(!f){break a}i=d;h=64-f|0;g=h&31;if((h&63)>>>0>=32){h=i<>>32-g|e<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=j|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e}function eg(a,b){var c=0,d=0,e=0;d=La-16|0;La=d;a:{if(!a){c=35;break a}c=6;if(!b|N[b+4>>2]<0|(N[b+8>>2]<0|Q[b>>2]>4)){break a}c=N[a+88>>2];N[N[c+40>>2]+12>>2]=0;e=N[N[N[a+96>>2]+12>>2]+88>>2];if(e){c=Qa[e|0](c,b)|0;break a}if((N[a+8>>2]&3)==2){c=un(a,b,d+12|0);if(c){break a}b=N[d+12>>2];c=35;b:{c:{if(!a|!(O[a+8|0]&2)){break c}c=6;if((b|0)<0|(b|0)>=N[a+28>>2]){break c}c=N[N[N[a+96>>2]+12>>2]+92>>2];if(c){a=Qa[c|0](N[a+88>>2],b)|0;break b}Yc(a,b);c=0}a=c}c=a;break a}se(a,b);c=0}La=d+16|0;return c}function bE(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;b=N[b>>2];a=N[b+12>>2];a:{if(a){break a}while(1){a=N[b>>2];if(!a){a=275552;break a}h=db(1,48);if(!h){a=275552;N[b+12>>2]=275552;break a}a=gj(h,a);if(!N[b+12>>2]){N[b+12>>2]=a;break a}ab(N[a+44>>2]);_a(a);a=N[b+12>>2];if(!a){continue}break}}h=N[a+8>>2];if(!h){return 0}b=0;b:{if(!c){break b}a=N[a+12>>2];while(1){if(!(Qa[h|0](a,N[d>>2],f)|0)){break b}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return b|0}function hr(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+660>>2];if(b){ug(b);N[a+660>>2]=0}Zo(N[a+384>>2]);c=N[a+380>>2];if(c){_a(N[c>>2]);N[c>>2]=0;b=N[c+8>>2];e=0;a:{if(!b){break a}d=N[b>>2];e=b;if(!d){break a}while(1){_a(d);d=N[b+4>>2];b=b+4|0;if(d){continue}break}e=N[c+8>>2]}_a(e);N[c+8>>2]=0;if(N[c+16>>2]){b=0;while(1){d=T(b,12);_a(N[d+N[c+12>>2]>>2]);_a(N[(d+N[c+12>>2]|0)+4>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[c+12>>2]);_a(c)}_a(N[a>>2]);N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Nv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}e=N[b+16>>2];if((e|0)<=0){break a}c=N[c+320>>2];b=b+20|0;e=b+(e<<2)|0;while(1){f=N[b>>2];if(cb(N[N[f>>2]+8>>2],11971)){b=b+4|0;if(e>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}c=Qa[b|0](f)|0;if(!c){break a}b=N[a>>2];g=Qa[N[c>>2]](N[b+100>>2],N[b+304>>2]+T(N[b+4>>2],252)|0,d+12|0)|0;if(g){break a}N[N[a+40>>2]>>2]=N[d+12>>2]}La=d+16|0;return g|0}function st(a){a=a|0;var b=0,c=0,d=0;a:{if(!O[a+632|0]){break a}c=N[a+100>>2];b=N[a+476>>2];if((b|0)!=151552){if((b|0)!=131072){break a}b=N[a+640>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+636>>1]=0;N[a+640>>2]=0;if(!P[a+638>>1]){break a}b=N[a+644>>2];N[b>>2]=N[b>>2]-1;b=N[a+644>>2];d=N[b>>2];if(d){Qa[N[c+8>>2]](c,d);b=N[a+644>>2]}N[b>>2]=0;b=N[a+644>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+638>>1]=0;N[a+644>>2]=0;break a}b=N[a+640>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+636>>1]=0;N[a+640>>2]=0}L[a+632|0]=0}function KB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:{f=T(b,f);if((f|0)<=0){break a}h=a+f|0;if(e){j=e&-2;k=e&1;while(1){f=0;b:{if((e|0)!=1){while(1){g=a+f|0;L[g|0]=T(O[g|0],O[c+f|0]^255)+255>>>8;g=f|1;i=g+a|0;L[i|0]=T(O[i|0],O[c+g|0]^255)+255>>>8;f=f+2|0;if((j|0)!=(f|0)){continue}break}if(!k){break b}}g=a+f|0;L[g|0]=T(O[g|0],O[c+f|0]^255)+255>>>8}c=c+d|0;a=a+b|0;if(h>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(h>>>0>a>>>0){continue}break}}}function rD(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;b=N[a+20>>2];N[f>>2]=0;N[e>>2]=0;g=N[b+96>>2];h=N[g+76>>2];i=N[b+100>>2];g=N[g+12>>2];if(g){g=N[g+56>>2]}else{g=0}h=Qa[h|0](b,i,c,d,e,f,g)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[e>>2];d=N[c+28>>2];g=N[a+28>>2];if((d|0)!=(g|0)){b=VE(UE(g,g>>31,b,b>>31),Pa,d,d>>31)}N[e>>2]=b;b=N[f>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[f>>2]}N[f>>2]=b}return h|0}function fn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;d=N[a+736>>2];a:{if(!d){c=re(a,0);if(c){break a}d=N[a+736>>2]}c=6;if(P[a+14>>1]>>0){break a}b:{if(b){f=N[a+100>>2];g=N[d+12>>2];d=N[g+16>>2]+T(b,12)|0;c=Qa[N[N[a+540>>2]+160>>2]](a,P[d-8>>1],e+12|0)|0;if(c){break a}c=N[a+24>>2];if(c){Qa[N[f+8>>2]](f,c)}N[a+24>>2]=N[e+12>>2];c=Ph(a,N[g>>2],N[d-12>>2]);if(c){c=(c|0)!=-1?c:0;break a}c=0;break b}c=Ph(a,0,0)}M[a+6>>1]=b;N[a+8>>2]=N[a+8>>2]&-32769}La=e+16|0;return c|0}function Aq(a,b){var c=0,d=0,e=0;a:{c=N[a+72>>2]+1|0;b:{if(!(!c|c>>>0>2])){if(!gb(a,c)){break b}}d=N[a+84>>2];c:{if((d|0)!=N[a+80>>2]){break c}e=N[a+72>>2];if(Q[a+64>>2]>=e+1>>>0){break c}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;e=T(e,20);if(!e){d=c;break c}F(c,d,e);d=N[a+84>>2]}c=N[b+4>>2];d=T(N[a+72>>2],20)+d|0;N[d>>2]=N[b>>2];N[d+4>>2]=c;N[d+16>>2]=N[b+16>>2];c=N[b+12>>2];N[d+8>>2]=N[b+8>>2];N[d+12>>2]=c;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);B()}function tu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{d=N[b>>2];e=N[a+16>>2];g=P[e+2>>1];h=g+(P[e+6>>1]<<8)|0;if(d>>>0>=h>>>0){break a}a=P[e>>1];k=(g-a|0)+1|0;i=P[e+4>>1];j=a+(i<<8)|0;e=N[e+12>>2];while(1){c=d+1|0;c=c>>>0>j>>>0?c:j;d=c>>>8|0;c=c&255;b:{if(c>>>0>>0){c=a;break b}f=c>>>0>g>>>0;c=f?a:c;d=d+f|0}f=d&65535;d=(f<<8)+c|0;c=P[e+((c-a|0)+T(f-i|0,k)<<1)>>1];if((c|0)!=65535){break a}if(d>>>0>>0){continue}break}N[b>>2]=d;return 65535}N[b>>2]=d;return c|0}function Xs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;N[c>>2]=-1;N[d>>2]=-1;f=P[a+340>>1];if(f){h=N[a+356>>2];a=0;while(1){e=T(a,20)+h|0;a:{if(P[e+6>>1]!=(b|0)|!P[e+8>>1]){break a}b:{c:{switch(P[e>>1]-1|0){case 2:if(P[e+2>>1]>1){break a}g=c;if(P[e+4>>1]==1033|N[c>>2]==-1){break b}break a;case 0:break c;default:break a}}if(P[e+2>>1]){break a}g=d;if(!P[e+4>>1]){break b}if(N[d>>2]!=-1){break a}}N[g>>2]=a}a=a+1|0;if((f|0)!=(a|0)){continue}break}}return(N[d>>2]&N[c>>2])>=0|0}function pn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;a:{if(!a){f=35;break a}f=38;if(!b){break a}d=N[a+40>>2];if(!d){break a}f=6;g=N[a+36>>2];if((g|0)<=0){break a}g=(g<<2)+d|0;while(1){b:{if(N[d>>2]!=(b|0)){break b}c=N[b>>2];c:{if(!c){break c}c=N[c+96>>2];h=N[N[c>>2]+32>>2];if(!h){break c}c=Qa[h|0](c,10557)|0;if(!c){break c}if(Qa[N[c>>2]](b,e+8|0)|0){break c}if(N[e+12>>2]==14){break b}}N[a+92>>2]=N[d>>2];f=0;break a}d=d+4|0;if(g>>>0>d>>>0){continue}break}}La=e+16|0;return f}function If(a,b,c,d){var e=0,f=0;f=N[b+88>>2];e=O[a+2|0]|O[a+3|0]<<8;R[c>>2]=R[f+44>>2]*U((e<<8|e>>>8)<<16>>16);e=O[a+4|0]|O[a+5|0]<<8;R[d>>2]=R[f+48>>2]*U((e<<8|e>>>8)<<16>>16);if(N[f+72>>2]|N[f+84>>2]){e=O[a+6|0]|O[a+7|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}e=Zg(e,f,N[b+108>>2],N[b+112>>2]);R[c>>2]=R[c>>2]+U(e|0)}if(N[f+76>>2]|N[f+84>>2]){c=O[a+8|0]|O[a+9|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}a=Yg(a,f,N[b+108>>2],N[b+112>>2]);R[d>>2]=R[d>>2]+U(a|0)}}function xi(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=La-32|0;La=g;e=S[a+24>>3]*e;a:{if(V(e)<2147483648){i=~~e;break a}i=-2147483648}h=f&1;d=S[a+16>>3]*d;b:{if(V(d)<2147483648){j=~~d;break b}j=-2147483648}c:{if(h){N[g+28>>2]=c+i;N[g+24>>2]=b+j;k=N[a>>2];h=N[g+28>>2];N[g+16>>2]=N[g+24>>2];N[g+20>>2]=h;h=0;if(!Fb(k,g+16|0,1)){break c}}if(f&2){N[g+28>>2]=c-i;N[g+24>>2]=b-j;a=N[a+4>>2];b=N[g+28>>2];N[g+8>>2]=N[g+24>>2];N[g+12>>2]=b;h=0;if(!Fb(a,g+8|0,1)){break c}}h=1}La=g+32|0;return h}function SB(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a:{h=T(b,h);if((h|0)<=0){break a}j=a+h|0;if(g){k=g&-2;l=g&1;while(1){h=0;b:{if((g|0)!=1){while(1){L[a+h|0]=T(O[e+h|0],O[c+h|0])+255>>>8;i=h|1;L[i+a|0]=T(O[e+i|0],O[c+i|0])+255>>>8;h=h+2|0;if((k|0)!=(h|0)){continue}break}if(!l){break b}}L[a+h|0]=T(O[e+h|0],O[c+h|0])+255>>>8}e=e+f|0;c=c+d|0;a=a+b|0;if(j>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(j>>>0>a>>>0){continue}break}}}function te(a,b,c){var d=0,e=0,f=0;a:{if(!a){break a}d=M[a+2>>1];if((d|0)<=0){break a}a=N[a+4>>2];if(d>>>0>=4){f=d&-4;while(1){N[a>>2]=N[a>>2]+b;N[a+4>>2]=N[a+4>>2]+c;N[a+8>>2]=N[a+8>>2]+b;N[a+16>>2]=N[a+16>>2]+b;N[a+24>>2]=N[a+24>>2]+b;N[a+12>>2]=N[a+12>>2]+c;N[a+20>>2]=N[a+20>>2]+c;N[a+28>>2]=N[a+28>>2]+c;a=a+32|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){N[a>>2]=N[a>>2]+b;N[a+4>>2]=N[a+4>>2]+c;a=a+8|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}}function hc(a,b,c,d,e,f){var g=0,h=0,i=0;a:{if(f&64){d=b;e=f+-64|0;b=e&31;if((e&63)>>>0>=32){e=d<>>32-b|c<>>0>=32){h=g<>>32-d|e<>>0>=32){e=0;b=c>>>d|0}else{e=c>>>d|0;b=((1<>>d}d=i|b;e=e|h;b=f&31;if((f&63)>>>0>=32){h=g<>>32-b|c<>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e}function fz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=La-32|0;La=e;N[e+16>>2]=b;d=N[a+48>>2];N[e+20>>2]=c-((d|0)!=0);f=N[a+44>>2];N[e+28>>2]=d;N[e+24>>2]=f;a:{b:{d=oa(N[a+60>>2],e+16|0,2,e+12|0)|0;if(d){N[147316]=d;d=-1}else{d=0}if(d){b=32}else{d=N[e+12>>2];if((d|0)>0){break b}b=d?32:16}N[a>>2]=b|N[a>>2];break a}g=d;f=N[e+20>>2];if(f>>>0>=d>>>0){break a}d=N[a+44>>2];N[a+4>>2]=d;N[a+8>>2]=d+(g-f|0);if(N[a+48>>2]){N[a+4>>2]=d+1;L[(b+c|0)-1|0]=O[d|0]}g=c}La=e+32|0;return g|0}function tf(a,b,c){var d=0,e=0,f=0;if(Q[b+4>>2]>a>>>0){return 0}d=N[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<3){return 0}e=N[b+12>>2]-3|0;N[b+12>>2]=e;d=1;if((e|0)<=0){return 0}e=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);a:{if(!e){break a}f=N[b+20>>2];b:{if((f|0)>15){break b}f=f+1|0;N[b+20>>2]=f;if(!f){break b}c=$d(c+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(c){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a+2|0]=0;L[a|0]=0;L[a+1|0]=0;d=1}return d}function IA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c=N[a+28>>2];if(O[c+44|0]){break b}d=To(c,N[b>>2],N[b+4>>2]);if(!d){break b}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=d;return}d=N[b+12>>2];f=N[b+8>>2];c:{b=N[c+12>>2];if((M[b+22>>1]+M[b+58>>1]|0)+1>>>0>Q[b+4>>2]){b=Sb(b,1,0);if(b){break c}}a=N[c+20>>2];if(O[c+45|0]){b=N[a+8>>2];c=M[a+2>>1];e=N[a+4>>2]+(c<<3)|0;N[e+4>>2]=d>>10;N[e>>2]=f>>10;L[b+c|0]=1}M[a+2>>1]=P[a+2>>1]+1;return}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=b}}function Dt(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qa[N[a+516>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=rb(b,178672,d);if(c){break a}M[a+290>>1]=0;M[a+282>>1]=0;M[a+284>>1]=0;M[a+286>>1]=0;M[a+288>>1]=0;M[a+274>>1]=0;M[a+276>>1]=0;M[a+278>>1]=0;M[a+280>>1]=0;M[a+266>>1]=0;M[a+268>>1]=0;M[a+270>>1]=0;M[a+272>>1]=0;b:{if(N[a+260>>2]<65536){break b}c=rb(b,178688,d);if(c){break a}if(P[a+280>>1]<=63){M[a+280>>1]=64}if(P[a+276>>1]<65532){break b}M[a+276>>1]=65531}c=0}return c|0}function sg(a){var b=0,c=0,d=0,e=0;d=La-32|0;La=d;b=N[a+500>>2];e=b;c=N[a+496>>2];N[d+8>>2]=c;N[d+12>>2]=b;b=c;if(b){c=e;a:{if(!(!c|O[b|0]!=64)){N[d+12>>2]=c-1;N[d+24>>2]=1;N[d+8>>2]=b+1;break a}N[d+24>>2]=0}c=700;b:{c:{b=N[a+504>>2];switch(b+1|0){case 0:case 2:break b;default:break c}}c=b?b:400}N[d+16>>2]=c;c=N[a+508>>2];N[d+20>>2]=(c|0)==1?100:c;tb(N[a+72>>2]);c=0;b=N[a>>2];b=sc(N[b+840>>2],d+8|0,b);d:{if(!b){break d}if(N[b+20>>2]){c=b;break d}tb(b)}N[a+72>>2]=c}La=d+32|0}function DE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=N[N[a+112>>2]+4>>2];if(c){zj(c,b,N[a+4>>2])}a=O[b+140|0];if(!(a&64)){L[b+140|0]=a|64;d=N[b+68>>2];if(d){e=N[b+80>>2];g=e+2|0;a=0;while(1){c=0;f=T(a,20);b=N[f+e>>2];if(b>>>0<=921599){c=O[(b&1|O[(b>>>1&7|P[(b>>>3&14|O[(b>>>7&31|O[(b>>>13|0)+248896|0]>>>(b>>>10&4)<<5&480)+249009|0]<<4)+252048>>1]<<3)+249489|0]<<1)+251673|0]}L[(g+f|0)+16|0]=c;a=a+1|0;if((d|0)!=(a|0)){continue}break}}return}ba(22778,14165,169,12138);B()}function xD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=N[a+20>>2];N[e>>2]=0;N[d>>2]=0;f=N[b+96>>2];g=N[f+56>>2];h=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+36>>2]}else{f=0}h=Qa[g|0](b,h,c,d,e,f)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[d>>2];f=N[c+28>>2];g=N[a+28>>2];if((f|0)!=(g|0)){b=VE(UE(g,g>>31,b,b>>31),Pa,f,f>>31)}N[d>>2]=b;b=N[e>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[e>>2]}N[e>>2]=b}return h|0}function vD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=N[a+20>>2];N[e>>2]=0;N[d>>2]=0;f=N[b+96>>2];g=N[f+60>>2];h=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+40>>2]}else{f=0}h=Qa[g|0](b,h,c,d,e,f)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[d>>2];f=N[c+28>>2];g=N[a+28>>2];if((f|0)!=(g|0)){b=VE(UE(g,g>>31,b,b>>31),Pa,f,f>>31)}N[d>>2]=b;b=N[e>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[e>>2]}N[e>>2]=b}return h|0}function $o(a,b){var c=0,d=0,e=0;d=La-16|0;La=d;c=N[a>>2]+1|0;N[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){Tb(d+12|0,b);c=N[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=O[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;N[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(O[c|0]!=62){break c}}c=c+1|0;b=0}N[a>>2]=c;La=d+16|0;return b}function LE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;b=N[c+68>>2];a:{if(!b){break a}a=N[c+80>>2];c=0;if(b>>>0>=4){e=b&-4;while(1){d=T(c,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|1,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|2,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|3,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;c=c+4|0;if((e|0)!=(c|0)){continue}break}}b=b&3;if(!b){break a}while(1){e=T(c,20)+a|0;M[e+12>>1]=P[e+12>>1]&65519;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}return 0}function dc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}Xe(N[a+12>>2]);_a(N[a+80>>2]);_a(N[a+88>>2]);b=N[a+164>>2];if(b){Qa[b|0](N[a+160>>2])}_a(a)}return}ba(23506,14099,270,7918);B()}function Ri(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if(N[b+72>>2]==N[a+16>>2]){e=M[b+110>>1];a:{if(!e){e=0;a=0;b=0;break a}d=N[b+112>>2];a=N[d+4>>2];b=N[d>>2];if((e|0)<2){e=a;f=b;break a}i=(e<<3)+d|0;h=d+8|0;f=b;e=a;while(1){g=N[d+12>>2];e=(e|0)<(g|0)?g:e;a=(a|0)>(g|0)?g:a;d=N[d+8>>2];f=(d|0)>(f|0)?d:f;b=(b|0)>(d|0)?d:b;d=h;h=d+8|0;if(i>>>0>h>>>0){continue}break}}N[c+8>>2]=f;N[c>>2]=b;N[c+12>>2]=e;N[c+4>>2]=a}}function oD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=U(0),i=0;b=La-32|0;La=b;N[b+16>>2]=e;N[b+12>>2]=d;d=N[a+20>>2];e=N[d+28>>2];if(e){g=U(U(N[a+28>>2])/U(e|0))}else{g=U(0)}R[b+20>>2]=g;e=N[d+32>>2];if(e){g=U(e|0);h=U(U(N[a+32>>2])/g);g=U(U(U(R[a+36>>2]-R[d+36>>2])*U(N[a+28>>2]))/g)}else{g=U(0)}R[b+28>>2]=g;R[b+24>>2]=h;a=N[d+96>>2];e=N[a+88>>2];f=N[d+100>>2];i=b+12|0;a=N[a+12>>2];if(a){a=N[a+68>>2]}else{a=0}Qa[e|0](d,f,c,588872,i,a);La=b+32|0}function zc(a){var b=0,c=0,d=0,e=0;a:{b:{if(O[a+62|0]){b=N[a+68>>2];d=N[a+64>>2];if(b>>>0>>0){break b}c:{d:{if(O[a+60|0]){c=N[a+72>>2];if(Al(a,b-d|0)){break d}b=N[a+68>>2]}N[a+84>>2]=N[a+80>>2];c=d;break c}e=N[a+84>>2];b=N[a+80>>2];if((e|0)!=(b|0)){N[a+80>>2]=e;N[a+88>>2]=b}b=N[a+72>>2];N[a+68>>2]=b}N[a+72>>2]=c;L[a+62|0]=1;N[a+64>>2]=c;if(b>>>0>>0){break a}return c-d|0}ba(8694,17855,395,17735);B()}ba(13069,17855,397,17735);B()}ba(13069,17855,438,12229);B()}function _o(a,b,c,d){var e=0,f=0,g=0,h=0;h=N[a>>2];if(h>>>0>>0){f=1;d=d<<1;b=b-h|0;d=b>>>0>d>>>0?d:b;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=O[b+h|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=O[e+294800|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}L[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}L[c+g|0]=f<<4;g=g+1|0}N[a>>2]=b+h}return g}function sx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}e=N[b+16>>2];if((e|0)<=0){break a}c=N[c+552>>2];b=b+20|0;e=b+(e<<2)|0;while(1){f=N[b>>2];if(cb(N[N[f>>2]+8>>2],11971)){b=b+4|0;if(e>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](f)|0;if(!b){break a}c=N[a>>2];g=Qa[N[b>>2]](N[c+100>>2],c+168|0,d+12|0)|0;if(g){break a}N[N[a+40>>2]>>2]=N[d+12>>2]}La=d+16|0;return g|0}function gk(a,b){var c=0,d=0,e=0,f=0;d=La-32|0;La=d;e=N[b+96>>2];f=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,f);a:{if((c|0)==-1){break a}a=O[a+4|0]|O[a+5|0]<<8;a=f+(a<<8|a>>>8)&65535;if(N[e+156>>2]){zc(e);e=N[b+88>>2];f=N[b+96>>2];N[d+16>>2]=N[f+64>>2];ib(f,e,23368,d+16|0)}Oe(b,a);a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[d>>2]=N[a+64>>2]-1;ib(a,b,23412,d)}La=d+32|0;return(c|0)!=-1}function qe(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==O[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}if(!(O[a|0]==(b&255)|c>>>0<4)){d=T(b&255,16843009);while(1){e=d^N[a>>2];if((e^-1)&e-16843009&-2139062144){break b}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}b=b&255;while(1){if((b|0)==O[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function bA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=N[a+16>>2];a:{if(j){c=N[b>>2]+1|0;k=N[a+20>>2];h=j;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+k|0;f=N[e>>2];if((f|0)==(c|0)){a=N[((i<<3)+k|0)+4>>2];N[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?N[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=j>>>0){break a}a=N[a+20>>2]+(d<<3)|0;c=N[a>>2]&2147483647;g=N[a+4>>2]}N[b>>2]=c;return g|0}function Xp(a,b){var c=0,d=0,e=0,f=0,g=0;d=kb(T(b,28));if(d){if(N[a+4>>2]){while(1){f=T(e,28);c=f+d|0;b=N[a+8>>2]+f|0;N[c>>2]=N[b>>2];N[c+4>>2]=N[b+4>>2];N[b+4>>2]=0;N[c+8>>2]=N[b+8>>2];N[b+8>>2]=0;N[c+12>>2]=N[b+12>>2];N[b+12>>2]=0;N[c+24>>2]=N[b+24>>2];g=N[b+20>>2];N[c+16>>2]=N[b+16>>2];N[c+20>>2]=g;b=N[a+8>>2]+f|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}_a(N[a+8>>2])}return d}function _r(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(b>>>0>65535){break a}c=N[a+16>>2];a=c+518|0;c=c+6|0;b:{if(b>>>0<=255){c=c+(b<<1&510)|0;if(!(O[c|0]<<8|O[c+1|0])){break b}break a}c=c+(b>>>7&33554430)|0;c=O[c|0]<<8|O[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(O[a+1|0]|O[a|0]<<8)|0;if(b>>>0>=(O[a+3|0]|O[a+2|0]<<8)>>>0){break a}c=O[a+7|0]|O[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=O[b|0]<<8|O[b+1|0];if(!b){break a}d=b+(O[a+5|0]|O[a+4|0]<<8)&65535}return d|0}function MC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;f=0;a=N[b+12>>2];a:{if(!e|(!a|!d)){break a}L[d|0]=0;if(!(O[a+9|0]&2)|N[a+16>>2]<=(c|0)){break a}b:{c:{g=N[a+128>>2];b=N[g+40>>2];switch(b+2|0){case 0:break a;case 2:break c;default:break b}}b=N[a+96>>2];h=N[N[b>>2]+32>>2];d:{if(!h){b=0;break d}b=Qa[h|0](b,9592)|0;g=N[a+128>>2]}N[g+40>>2]=b?b:-2}if(!b){break a}b=N[b>>2];if(!b){break a}if(Qa[b|0](a,c,d,e)|0){break a}f=O[d|0]!=0}return f|0}function sv(a){a=a|0;var b=0,c=0;b=N[N[a+156>>2]>>2];N[a+184>>2]=0;N[a+188>>2]=0;N[a+176>>2]=0;N[a+180>>2]=0;N[a+192>>2]=0;N[a+168>>2]=0;N[a+172>>2]=0;N[a+160>>2]=0;N[a+164>>2]=0;N[a+188>>2]=b;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;c=N[b+32>>2];a=b- -64|0;N[a>>2]=N[b+28>>2];N[a+4>>2]=c;N[b+88>>2]=N[b+52>>2];a=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=a;a=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=a;a=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=a;return 0}function og(a,b){if(!a){return 0}a:{b:{if(b>>>0<=127){break b}c:{if(!N[N[147600]>>2]){if((b&-128)==57216){break b}break c}if(b>>>0<=2047){L[a+1|0]=b&63|128;L[a|0]=b>>>6|192;a=2;break a}if(!((b&-8192)!=57344&b>>>0>=55296)){L[a+2|0]=b&63|128;L[a|0]=b>>>12|224;L[a+1|0]=b>>>6&63|128;a=3;break a}if(b-65536>>>0<=1048575){L[a+3|0]=b&63|128;L[a|0]=b>>>18|240;L[a+2|0]=b>>>6&63|128;L[a+1|0]=b>>>12&63|128;a=4;break a}}N[147316]=25;a=-1;break a}L[a|0]=b;a=1}return a}function yo(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=La-48|0;La=g;i=db(1,8);a:{if(!i){break a}N[i>>2]=d;N[i+4>>2]=e;h=db(1,40);if(!h){_a(i);break a}d=Qa[d|0](e,0,0,0)|0;N[h+24>>2]=373;N[h+20>>2]=374;N[h+4>>2]=d;N[h+12>>2]=i;N[g+28>>2]=0;N[g+32>>2]=0;N[g+44>>2]=0;N[g+36>>2]=0;N[g+40>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=2;N[g+32>>2]=h;if(Td(b,g+16|0,f,g+12|0,1)){if(c){N[g>>2]=c;mb(a,2,24556,g);break a}mb(a,2,9040,0);break a}j=N[g+12>>2]}La=g+48|0;return j}function Fk(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-32|0;La=e;c=N[b+96>>2];d=O[a+2|0]|O[a+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+a|0}else{f=275552}d=N[c+64>>2];f=vb(f,N[N[c+80>>2]+T(d,20)>>2]);if((f|0)!=-1){if(N[c+156>>2]){g=N[b+88>>2];N[e+16>>2]=d;ib(c,g,17402,e+16|0);d=N[c+64>>2]}ge(O[a+4|0]|O[a+5|0]<<8,b,a,a+6|0,N[c+88>>2]+T(d,20)|0);a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[e>>2]=N[a+64>>2];ib(a,b,17446,e)}N[c+64>>2]=N[c+64>>2]+1}La=e+32|0;return(f|0)!=-1}function po(a,b,c){var d=0,e=0,f=0,g=0;e=La-16|0;La=e;d=1;f=c-1|0;if(f>>>0<=1){if((c|0)==2){d=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);N[e+8>>2]=c;N[e+12>>2]=d;c=Eb(c,e+8|0,10);d=Pa;g=(d|0)<0&c>>>0<=2147483648|(d|0)<-1;c=g?-2147483648:c;d=g?-1:d;d=(d|0)>=0&c>>>0>=2147483647|(d|0)>0?2147483647:c}b=(f<<3)+b|0;c=N[b+4>>2];b=N[b>>2];N[a+452>>2]=d;N[a+296>>2]=b;N[a+300>>2]=c-b}La=e+16|0;return f>>>0<2}function Em(a,b){var c=0,d=0,e=0,f=0,g=0;c=N[a+16>>2];if(c){e=N[a+12>>2];if(e){while(1){f=d<<2;g=N[f+c>>2];if(g){Qa[N[b+8>>2]](b,g);e=N[a+12>>2];c=N[a+16>>2]}N[c+f>>2]=0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}Qa[N[b+8>>2]](b,c)}N[a+16>>2]=0;c=N[a+4>>2];if(c){e=N[a>>2];if(e){d=0;while(1){f=d<<3;g=N[(f+c|0)+4>>2];if(g){Qa[N[b+8>>2]](b,g);e=N[a>>2];c=N[a+4>>2]}N[(c+f|0)+4>>2]=0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}Qa[N[b+8>>2]](b,c)}N[a+4>>2]=0}function xc(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-44|0;while(1){b=N[e>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1986553185,N[b+16>>2])|0;if(b){break b}}b=275552}c=Up(d+4|0,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<36?275552:N[b+12>>2]}function nw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[a+8>>2];a:{if(!c){break a}b:{switch(O[a|0]){case 0:e=O[b+c|0];break a;case 3:break b;default:break a}}if(Q[a+20>>2]>b-N[a+16>>2]>>>0){e=O[a+24|0];break a}d=c+2|0;g=c+N[a+12>>2]|0;c=O[c+1|0]|O[c|0]<<8;while(1){if(b>>>0>>0){break a}f=O[d+2|0]|O[d+1|0]<<8;if(f>>>0>b>>>0){e=O[d|0];L[a+24|0]=e;N[a+20>>2]=f-c;N[a+16>>2]=c;break a}c=f;d=d+3|0;if(g>>>0>d>>>0){continue}break}}return e|0}function go(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=O[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=N[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=T(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=N[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=O[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return nb(a)+a|0}return a}function Kd(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-16|0;while(1){b=N[e>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1751672161,N[b+16>>2])|0;if(b){break b}}b=275552}c=Up(d+4|0,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<36?275552:N[b+12>>2]}function Ji(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if(!(!d|(!b|!c))){g=N[a+16>>2];b:{if(g&g-32){e=N[a+12>>2];break b}N[147316]=0;f=N[a+12>>2];e=g<<1;e=e>>>0<=32?32:e;if(e>>>0>357913941){break a}e=T(e,12);e=$a(f,e>>>0<=1?1:e);if(!e){break a}N[147316]=0;N[a+12>>2]=e}f=T(g,12)+e|0;b=Hb(b);N[f>>2]=b;h=kb(d);N[f+4>>2]=h;if(!(!b|!h)){F(h,c,d);N[(T(g,12)+e|0)+8>>2]=d;N[a+16>>2]=N[a+16>>2]+1;return}_a(b);_a(N[f+4>>2])}return}N[147316]=48;N[a+12>>2]=f}function Cl(a,b,c){var d=0,e=0,f=0;d=275552;a:{b:{if(!a|!c){break b}e=N[a+16>>2];if(e>>>0<=b>>>0){break b}if(N[a+4>>2]){N[a+4>>2]=0}f=N[a+12>>2];d=N[a>>2];if(d){if((d|0)<=0){break a}N[a>>2]=d+1}d=e-b|0;c=c>>>0>d>>>0?d:c;if(!c){ab(a);return 275552}c:{if((c|0)>=0){d=db(1,32);if(d){break c}}ab(a);return 275552}N[d+28>>2]=191;N[d+24>>2]=a;N[d+20>>2]=1;N[d+16>>2]=c;N[d+12>>2]=b+f;N[d>>2]=1;N[d+4>>2]=1}return d}ba(23506,14099,260,16403);B()}function wh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=b&-4;if(c){while(1){e=(O[(d|3)+a|0]|(O[(d|1)+a|0]<<16|O[a+d|0]<<24|O[(d|2)+a|0]<<8))+e|0;d=d+4|0;if(c>>>0>d>>>0){continue}break}}if((b|0)!=(c|0)){d=0;a:{if(b>>>0<=c>>>0){break a}f=b&1;if((0-b|0)!=(c^-1)){h=(b&3)-f|0;b=0;while(1){g=c<<3&16;d=O[(c|1)+a|0]<<(g^16)|(O[a+c|0]<<(g^24)|d);c=c+2|0;b=b+2|0;if((h|0)!=(b|0)){continue}break}}if(!f){break a}d=O[a+c|0]<<((c^-1)<<3)|d}e=d+e|0}return e}function Wq(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+660>>2];c=N[b>>2];a=N[b+4>>2];if((c|0)<=(a|0)){a:{b:{if((a|0)!=(c|0)){d=N[b+16>>2];a=c;break b}a=-1;if(c>>>0>2147483626){break a}N[147316]=0;e=N[b+16>>2];c:{if(c>>>0<=29826141){c=c+20|0;a=T(c,144);d=$a(e,a>>>0<=1?1:a);if(d){break c}}N[147316]=48;N[b+16>>2]=e;return-1}N[147316]=0;N[b+4>>2]=c;N[b+16>>2]=d;a=N[b>>2]}N[b>>2]=a+1;C(T(a,144)+d|0,0,144)}return a|0}ba(11239,18016,104,15919);B()}function yn(a,b,c,d,e){var f=0,g=0,h=0;h=-1;g=d&2147483647;f=(g|0)==2147418112;a:{if(f&!c?a|b:f&(c|0)!=0|g>>>0>2147418112){break a}f=e&2147483647;if(((f|0)==2147418112&0|f>>>0>2147418112)&(f|0)!=2147418112){break a}if(!(a|c|(f|g|b))){return 0}f=d&e;if((f|0)>0|(f|0)>=0){if(((c|0)!=0|(d|0)!=(e|0))&(d|0)<(e|0)){break a}return(a|c|(d^e|b))!=0}if(!c&(d|0)==(e|0)?a|b:(c|0)!=0&(d|0)>=(e|0)|(d|0)>(e|0)){break a}h=(a|c|(d^e|b))!=0}return h}function yh(a){a=a|0;var b=0,c=0;if(a){c=N[a+100>>2];dm(N[a+140>>2]);b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+32>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+32>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0}}function tq(a){if(N[a+20>>2]){N[a+20>>2]=0}_a(N[a+24>>2]);N[a+24>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;if(N[a+32>>2]){N[a+32>>2]=0}_a(N[a+36>>2]);N[a+36>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;if(N[a+44>>2]){N[a+44>>2]=0}_a(N[a+48>>2]);N[a+48>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;if(N[a+68>>2]){N[a+68>>2]=0}_a(N[a+72>>2]);N[a+72>>2]=0;a=a- -64|0;N[a>>2]=0;N[a+4>>2]=0}function iw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=150;c=N[a+12>>2];a:{if((c|0)==30452|(c|0)==30492){break a}c=N[N[N[a>>2]+96>>2]+4>>2];if(!c){return 0}e=0;d=N[c+16>>2];if((d|0)<=0){break a}c=c+20|0;d=c+(d<<2)|0;while(1){f=N[c>>2];g=N[f>>2];if(cb(N[g+8>>2],9195)){c=c+4|0;if(d>>>0>c>>>0){continue}break a}break}c=N[g+32>>2];if(!c){break a}c=Qa[c|0](f,10557)|0;if(!c){break a}c=N[c>>2];if(!c){break a}e=Qa[c|0](a,b)|0}return e|0}function Jc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=c;c=N[b+4>>2];a:{b:{if((c|0)==32){if(O[a|0]){break a}a=a+2|0;break b}f=32-c|0;g=N[b>>2]>>>c|0;e=g&255;h=(e<<2)+a|0;d=O[h|0];if(d>>>0<=8){if(d>>>0>f>>>0){break a}N[b+4>>2]=c+d;a=((e<<2)+a|0)+2|0;break b}if(f>>>0<9){break a}a=(P[((e<<2)+a|0)+2>>1]+((N[(d<<2)+169392>>2]&g)>>>8|0)<<2)+h|0;d=O[a|0];if(d>>>0>24-c>>>0){break a}N[b+4>>2]=(c+d|0)+8;a=a+2|0}N[i>>2]=P[a>>1];j=1}return j}function ix(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{e=N[a>>2];c=N[N[e+96>>2]+4>>2];b:{if(!c){break b}d=N[c+16>>2];if((d|0)<=0){break b}f=N[e+552>>2];c=c+20|0;d=c+(d<<2)|0;while(1){g=N[c>>2];if(cb(N[N[g>>2]+8>>2],11971)){c=c+4|0;if(d>>>0>c>>>0){continue}break b}break}if(!f){break b}c=N[f>>2];if(c){break a}}se(e,b);return 0}c=Qa[c|0](g)|0;se(N[a>>2],b);if(c){Qa[N[c+4>>2]](N[N[a+40>>2]>>2],N[a+16>>2],N[a+20>>2],0,0)}return 0}function hb(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;i=UE(b,c,h,i);h=Pa;e=UE(d,e,f,g);i=e+i|0;d=Pa+h|0;h=e>>>0>i>>>0?d+1|0:d;j=g;e=0;k=c;d=0;c=UE(g,e,c,d);g=c+i|0;i=Pa+h|0;l=g;c=c>>>0>g>>>0?i+1|0:i;g=UE(f,0,b,0);h=Pa;i=0;d=UE(f,i,k,d);h=h+d|0;f=Pa+i|0;f=d>>>0>h>>>0?f+1|0:f;i=f+l|0;d=c;f=f>>>0>i>>>0?d+1|0:d;c=UE(b,m,j,e)+h|0;e=Pa;e=c>>>0>>0?e+1|0:e;h=e+i|0;i=f;N[a+8>>2]=h;N[a+12>>2]=e>>>0>h>>>0?i+1|0:i;N[a>>2]=g;N[a+4>>2]=c}function fr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=La-16|0;La=f;g=N[a+4>>2];i=(g>>1)+b|0;b=N[a>>2];b=g&1?N[N[i>>2]+b>>2]:b;a=N[c>>2];if(a>>>0<2147483632){a:{b:{if(a>>>0>=11){h=(a|15)+1|0;g=eb(h);N[f+12>>2]=h|-2147483648;N[f+4>>2]=g;N[f+8>>2]=a;h=a+g|0;break b}L[f+15|0]=a;g=f+4|0;h=a+g|0;if(!a){break a}}F(g,c+4|0,a)}L[h|0]=0;Qa[b|0](i,f+4|0,d,e);if(L[f+15|0]<0){_a(N[f+4>>2])}La=f+16|0;return}fa();B()}function ab(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}b=N[a+28>>2];if(b){Qa[b|0](N[a+24>>2])}_a(a)}return}ba(23506,14099,270,7918);B()}function Er(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=La-32|0;La=f;N[f+28>>2]=b;N[f+24>>2]=c;b=N[d>>2];if(b>>>0<2147483632){a:{b:{if(b>>>0>=11){g=(b|15)+1|0;c=eb(g);N[f+20>>2]=g|-2147483648;N[f+12>>2]=c;N[f+16>>2]=b;g=b+c|0;break b}L[f+23|0]=b;c=f+12|0;g=b+c|0;if(!b){break a}}F(c,d+4|0,b)}L[g|0]=0;L[f+11|0]=e;a=Qa[a|0](f+28|0,f+24|0,f+12|0,f+11|0)|0;if(L[f+23|0]<0){_a(N[f+12>>2])}La=f+32|0;return a|0}fa();B()}function jD(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=U(f);g=U(g);h=U(h);i=U(i);j=j|0;var k=U(0),l=U(0),m=U(0),n=U(0),o=0;k=R[b+8>>2];l=R[b+16>>2];m=R[b+12>>2];n=R[c+16>>2];R[c+16>>2]=m*n;R[c+12>>2]=U(k*R[c+12>>2])+U(l*n);a=N[b>>2];j=N[a+24>>2];o=N[b+4>>2];d=U(U(k*d)+U(l*e));e=U(m*e);f=U(U(k*f)+U(l*g));g=U(m*g);h=U(U(k*h)+U(l*i));i=U(m*i);b=N[a+32>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[j|0](a,o,c,d,e,f,g,h,i,b)}function ju(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[b+8>>2];f=N[a>>2];d=N[f+140>>2];g=N[f+32>>2];e=N[b+16>>2];if(e){c=(T(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((e|0)==N[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(N[d+44>>2]+N[d+40>>2]|0)){break a}}c=0;Yc(f,0);N[a+24>>2]=N[d+40>>2]<<6;N[a+28>>2]=0-(N[d+44>>2]<<6);N[a+36>>2]=P[d+4>>1]<<6}return c|0}function ew(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=N[a+712>>2];a:{if(!(O[a+8|0]&8)|!N[a+540>>2]){break a}b=N[N[a+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){d=N[b>>2];e=N[d>>2];if(cb(N[e+8>>2],9195)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=N[e+32>>2];if(!b){break a}b=Qa[b|0](d,15866)|0;if(!b){break a}b=N[b>>2];if(!b){break a}return Qa[b|0](a)|0}return N[f+1348>>2]}function wv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=N[a+16>>2];if(!g){N[b>>2]=0;return 0}h=N[a+20>>2];d=N[b>>2];a:while(1){d=d+1|0;a=0;c=g;while(1){e=(c-a>>>1|0)+a|0;f=N[(e<<4)+h>>2];if((f|0)==(d|0)){if(!e){continue a}N[b>>2]=d;return e+1|0}f=d>>>0>f>>>0;c=f?c:e;a=f?e+1|0:a;if(c>>>0>a>>>0){continue}break}break}c=0;if(a>>>0>=g>>>0){N[b>>2]=0;return 0}if(a){c=a+1|0;a=N[(a<<4)+h>>2]}else{a=0}N[b>>2]=a;return c|0}function pd(a,b){var c=0,d=0;d=a;a:{b:{if((d^b)&3){c=O[b|0];break b}if(b&3){while(1){c=O[b|0];L[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=N[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){N[d>>2]=c;c=N[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}L[d|0]=c;if(!(c&255)){break a}while(1){c=O[b+1|0];L[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a}function ZA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;Tb(a,N[a+8>>2]);g=N[a>>2];N[f+12>>2]=g;h=N[a+8>>2];a:{if(h>>>0<=g>>>0){break a}b:{if(e){i=3;if(O[g|0]!=60){break a}N[f+12>>2]=g+1;j=d,k=_o(f+12|0,h,b,c),N[j>>2]=k;b=N[f+12>>2];N[a>>2]=b;if(O[b|0]!=62&b>>>0>2]){break a}b=b+1|0;break b}j=d,k=_o(f+12|0,h,b,c),N[j>>2]=k;b=N[f+12>>2]}N[a>>2]=b;i=0}La=f+16|0;return i|0}function Nd(a,b){var c=0,d=0,e=0,f=0,g=0;c=La-16|0;La=c;a:{if(!a|!b|(!N[a+72>>2]|!O[b|0])){break a}d=N[a+92>>2];N[c+8>>2]=b;f=N[d+20>>2];b=f+((Qa[N[d+12>>2]](c+8|0)>>>0)%Q[d+4>>2]<<2)|0;e=N[b>>2];b:{if(!e){break b}while(1){if(Qa[N[d+16>>2]](e,c+8|0)|0){break b}b=b-4|0;if(f>>>0>b>>>0){b=((N[d+4>>2]<<2)+f|0)-4|0}e=N[b>>2];if(e){continue}break}}b=N[b>>2];if(!b){break a}g=N[a+80>>2]+(N[b+4>>2]<<4)|0}La=c+16|0;return g}function yB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=N[a+24>>2];N[a+48>>2]=b;d=N[a+28>>2];N[a+52>>2]=d;e=N[a+8>>2];f=e+N[a>>2]|0;N[a+8>>2]=f>>1;c=b;b=N[a+16>>2];c=c+b|0;N[a+40>>2]=c>>1;b=b+e|0;e=b+f|0;N[a+16>>2]=e>>2;b=b+c|0;N[a+32>>2]=b>>2;c=d;d=N[a+20>>2];f=c+d|0;N[a+44>>2]=f>>1;c=N[a+12>>2];g=c+N[a+4>>2]|0;N[a+12>>2]=g>>1;N[a+24>>2]=b+e>>3;b=d+c|0;d=b+f|0;N[a+36>>2]=d>>2;b=b+g|0;N[a+20>>2]=b>>2;N[a+28>>2]=b+d>>3}function Gm(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;d=N[a+36>>2];a:{if(!d){break a}d=N[d+28>>2];if(Xf(a+36|0,b,c+12|0,c+8|0)){break a}b=N[c+8>>2];f=b+1|0;b:{c:{if(b>>>0<=2147483646){e=Qa[N[d+4>>2]](d,f)|0;if(e){break c}e=0;break b}if(f){break b}}F(e,N[c+12>>2],b);L[b+e|0]=0}if(N[a+68>>2]){break a}a=N[a+36>>2];if(!a|!N[a+20>>2]){break a}b=N[c+12>>2];if(!b){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,b)}La=c+16|0;return e}function RC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=U(0),f=U(0),g=0;d=La-16|0;La=d;a:{if(O[b+6|0]){a=N[b+12>>2];if(a){g=N[a+128>>2];e=U(N[g+12>>2]);f=U(N[g+8>>2])}else{f=U(0)}e=U(U(aa(U(U(f*f)+U(e*e))))*U(152587890625e-16));break a}e=U(N[a+32>>2]>>31|1);a=N[b+12>>2]}if(In(a,c,N[b>>2]|16,d+12|0)){a=0}else{e=U(e*U(N[d+12>>2]));b:{if(U(V(e))>10}La=d+16|0;return a|0}function Ip(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+5|0]){break a}e=N[a+12>>2];if(!e){break a}c=N[e+96>>2];if(!c){break a}d=N[e+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}f=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(e|0)){b=N[b+4>>2];if(b){continue}break a}break}g=N[b>>2];h=g?g+4|0:f;f=N[b+4>>2];N[h>>2]=f;N[(f?f:c+20|0)>>2]=g;Qa[N[d+8>>2]](d,b);ic(d,e,c)}_a(a)}function Cx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+733|0]){break a}d=N[a+736>>2];if(!d){break a}if(!O[d+32|0]){e=Tm(a,0);d=N[a+736>>2];N[d+36>>2]=e}if(!O[d+33|0]){return N[d+36>>2]}d=N[d+40>>2];e=N[d+28>>2];b:{if(e){f=e;e=N[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=N[f+e>>2];f=N[e+N[d+24>>2]>>2];break b}e=6;if(Q[N[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=N[c>>2]+Oh(a,d,f,b)|0,N[g>>2]=h;e=0}return e|0}function Bx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+733|0]){break a}d=N[a+736>>2];if(!d){break a}if(!O[d+44|0]){e=Tm(a,1);d=N[a+736>>2];N[d+48>>2]=e}if(!O[d+45|0]){return N[d+48>>2]}d=N[d+52>>2];e=N[d+28>>2];b:{if(e){f=e;e=N[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=N[f+e>>2];f=N[e+N[d+24>>2]>>2];break b}e=6;if(Q[N[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=N[c>>2]+Oh(a,d,f,b)|0,N[g>>2]=h;e=0}return e|0}function gB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{d=N[a>>2];if(!d){break a}e=N[a+32>>2];b=N[a+4>>2];b:{if((b|0)>0){b=Qa[N[e+4>>2]](e,b)|0;if(b){N[a>>2]=b;c=N[a+4>>2];break b}N[a>>2]=0;return}N[a>>2]=0;if(b){break a}b=0}F(b,d,c);c=N[a+16>>2];if((c|0)>0){g=N[a>>2]-d|0;b=N[a+24>>2];c=b+(c<<2)|0;while(1){f=N[b>>2];if(f){N[b>>2]=g+f}b=b+4|0;if(c>>>0>b>>>0){continue}break}}N[a+8>>2]=N[a+4>>2];Qa[N[e+8>>2]](e,d)}}function Jv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;se(N[a>>2],b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[c+320>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](e)|0;if(!b){break a}Qa[N[b+4>>2]](N[N[a+40>>2]>>2],N[a+16>>2],N[a+20>>2],0,0)}return 0}function El(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;j=10;k=N[c>>2];h=k+e|0;a:{if(h>>>0>31457280){break a}g=N[a>>2];i=N[b>>2];if(i>>>0>>0){if((h|i)<0){return 6}b:{if(!i){g=Qa[N[f+4>>2]](f,h)|0;j=!g<<6;break b}f=Qa[N[f+12>>2]](f,i,h,g)|0;g=f?f:g;j=!f<<6}c:{if(!(j|(h|0)<=(i|0)|!g)){C(g+i|0,0,h-i|0);break c}if(j){break a}}N[b>>2]=N[c>>2]+e;b=N[c>>2]}else{b=k}F(b+g|0,d,e);N[c>>2]=N[c>>2]+e;N[a>>2]=g;j=0}return j}function mx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;N[d>>2]=0;N[d+4>>2]=0;e=N[a+496>>2];if(e){a=N[e+36>>2];e=(a+(N[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0>e>>>0){break a}c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=N[b>>2]<<16|N[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;N[d>>2]=N[a+8>>2];h=N[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}N[d+4>>2]=h}return 0}function Nu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[b+8>>2];f=N[a>>2];g=N[f+32>>2];e=N[f+132>>2];d=N[b+16>>2];if(d){c=(T(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((d|0)==N[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=P[e+96>>1]){break a}}c=0;Yc(f,0);b=P[e+80>>1];N[a+24>>2]=b<<6;N[a+28>>2]=b-P[e+96>>1]<<6;N[a+36>>2]=P[e+102>>1]<<6}return c|0}function xu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[b+8>>2];d=N[a>>2];f=N[d+32>>2];e=N[b+16>>2];if(e){c=(T(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((e|0)==N[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(N[d+208>>2]+N[d+204>>2]|0)){break a}}c=0;Yc(d,0);N[a+24>>2]=N[d+204>>2]<<6;N[a+28>>2]=0-(N[d+208>>2]<<6);N[a+36>>2]=M[d+236>>1]<<6}return c|0}function cu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=N[a+20>>2];h=N[a+16>>2];a:{b:{if(h){e=N[b>>2]+1|0;a=h>>>1|0;g=h;while(1){d=c+g>>>1|0;d=a>>>0>=g>>>0?d:a>>>0>>0?d:a;f=N[(d<<3)+i>>2];if((f|0)==(e|0)){c=d;break b}a=(e+d|0)-f|0;f=e>>>0>>0;c=f?c:d+1|0;g=f?d:g;if(c>>>0>>0){continue}break}}e=0;if(c>>>0>=h>>>0){break a}e=N[(c<<3)+i>>2]}j=P[((c<<3)+i|0)+4>>1]+1&65535}N[b>>2]=e;return j|0}function Bq(){var a=0,b=0,c=0;a=La-16|0;La=a;a:{if(Fa(a+12|0,a+8|0)|0){break a}b=kb((N[a+12>>2]<<2)+4|0);N[147572]=b;if(!b){break a}b=kb(N[a+8>>2]);if(b){c=N[147572];N[c+(N[a+12>>2]<<2)>>2]=0;if(!(Ea(c|0,b|0)|0)){break a}}N[147572]=0}La=a+16|0;N[147444]=1;N[147445]=0;wm();N[147445]=N[147569];N[147569]=589776;N[147570]=376;N[147571]=0;jo();N[147571]=N[147569];N[147569]=590280;N[147582]=42;N[147600]=591512}function ur(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-16|0;La=d;e=N[a+4>>2];g=(e>>1)+b|0;b=N[a>>2];b=e&1?N[N[g>>2]+b>>2]:b;a=N[c>>2];if(a>>>0<2147483632){a:{b:{if(a>>>0>=11){f=(a|15)+1|0;e=eb(f);N[d+12>>2]=f|-2147483648;N[d+4>>2]=e;N[d+8>>2]=a;f=a+e|0;break b}L[d+15|0]=a;e=d+4|0;f=a+e|0;if(!a){break a}}F(e,c+4|0,a)}L[f|0]=0;Qa[b|0](g,d+4|0);if(L[d+15|0]<0){_a(N[d+4>>2])}La=d+16|0;return}fa();B()}function ct(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=N[a+872>>2];a:{if(!d){break a}f=N[d+36>>2];if(!f){break a}e=N[c+4>>2];a=N[c>>2];if(e>>>0>=a>>>0){break a}g=T(a-e|0,6);a=N[c+8>>2];if(g+a>>>0>N[d+40>>2]+f>>>0){break a}d=O[a|0]|O[a+1|0]<<8;M[b>>1]=d<<8|d>>>8;d=O[a+2|0]|O[a+3|0]<<8;M[b+2>>1]=d<<8|d>>>8;d=b;b=O[a+4|0]|O[a+5|0]<<8;M[d+4>>1]=b<<8|b>>>8;h=1;N[c+4>>2]=e+1;N[c+8>>2]=a+6}return h|0}function sj(a,b,c){var d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}d=N[a+4>>2];if(d>>>0>>0){break b}if(d-b>>>0>c>>>0){break a}e=b+c|0;c=e-d|0;if(!((c|0)>=0&(c|0)<=(N[a+8>>2]-d|0))){N[a+24>>2]=4;break e}if((d|0)!=(e|0)){C(d,0,c);d=N[a+4>>2]}N[a+4>>2]=c+d;if(d){break d}}b=0}return b}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}function pi(a){var b=0,c=0,d=0;b=La-16|0;La=b;A(+a);d=v(1)|0;v(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=bf(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(Mn(a,b)&3){case 0:c=bf(S[b>>3],S[b+8>>3]);break a;case 1:c=-cf(S[b>>3],S[b+8>>3],1);break a;case 2:c=-bf(S[b>>3],S[b+8>>3]);break a;default:break b}}c=cf(S[b>>3],S[b+8>>3],1)}a=c;La=b+16|0;return a}function tj(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}c=N[a+4>>2];if(c>>>0>>0){break b}if(c-b>>>0>=5){break a}e=b+4|0;d=e-c|0;if(!((d|0)>=0&(N[a+8>>2]-c|0)>=(d|0))){N[a+24>>2]=4;break e}if((c|0)!=(e|0)){C(c,0,d);c=N[a+4>>2]}N[a+4>>2]=c+d;if(c){break d}}b=0}return b}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}function ee(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}c=N[a+4>>2];if(c>>>0>>0){break b}if(c-b>>>0>=3){break a}e=b+2|0;d=e-c|0;if(!((d|0)>=0&(N[a+8>>2]-c|0)>=(d|0))){N[a+24>>2]=4;break e}if((c|0)!=(e|0)){C(c,0,d);c=N[a+4>>2]}N[a+4>>2]=c+d;if(c){break d}}b=0}return b}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}function AB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=N[a+4>>2];e=0-f|0;a:{if((e&(c+f|0)-1)!=(c|0)){break a}c=c>>N[a>>2];if((c|0)<0|c>>>0>=Q[a+96>>2]){break a}c=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[c|0]=O[c|0]|128>>>(b&7);e=0-N[a+4>>2]|0}b:{if((d&e)!=(d|0)){break b}c=d>>N[a>>2];if((c|0)<0|c>>>0>=Q[a+96>>2]){break b}a=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[a|0]=O[a|0]|128>>>(b&7)}}function tb(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}e=N[a-8>>2];if(!e){break a}b=a-4|0;c=N[b>>2];if(!c){break a}d=b;b=c-1|0;N[d>>2]=b;if(b){break b}d=a-32|0;b=N[d>>2];if(b){c=N[a-24>>2];if(c){N[c+12>>2]=N[a-20>>2]}N[N[a-20>>2]>>2]=c;N[b+32>>2]=N[b+32>>2]-1;N[b+20>>2]=N[b+20>>2]+(((e|0)!=1?-32:0)-e|0)}b=N[a-28>>2];Qa[N[b+16>>2]]((N[b+24>>2]+7&-8)+a|0,a);_a(d)}return}ba(8916,18290,444,15247);B()}function rx(a){a=a|0;var b=0,c=0,d=0,e=0;if(N[N[a+40>>2]>>2]){c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[c+552>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](e)|0;if(!b){break a}Qa[N[b+8>>2]](N[N[a+40>>2]>>2])}N[N[a+40>>2]>>2]=0}}function Mv(a){a=a|0;var b=0,c=0,d=0,e=0;if(N[N[a+40>>2]>>2]){c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[c+320>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](e)|0;if(!b){break a}Qa[N[b+8>>2]](N[N[a+40>>2]>>2])}N[N[a+40>>2]>>2]=0}}function Se(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;e=a+12|0;a:{if(!O[a+48|0]){a=ud(e,b);break a}d=N[b>>2];if((d|0)==-2){N[b>>2]=-1;a=0;break a}N[c+8>>2]=d;ud(e,c+8|0);a=1;f=d+1|0;if(f>>>0>=Q[c+8>>2]){N[c+12>>2]=d;a=-1;b:{if(!ud(e,c+12|0)){break b}d=N[c+12>>2];while(1){a=d;if(!ud(e,c+12|0)){break b}d=N[c+12>>2];if((d|0)==(a+1|0)){continue}break}}f=a+1|0;a=(f|0)!=-1}N[b>>2]=f}La=c+16|0;return a}function Nb(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+3>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+12|0,4)|0)!=4){break d}c=N[a+8>>2];b=d+12|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+4}La=d+16|0;return f}function qz(a,b){a=a|0;b=b|0;var c=0;if(!a){if(N[b+24>>2]){a=0;while(1){c=T(a,24);tb(N[c+N[b+28>>2]>>2]);tb(N[(N[b+28>>2]+c|0)+4>>2]);a=a+1|0;if(a>>>0>2]){continue}break}}_a(N[b+28>>2]);return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;return 1}function Rw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a=N[a+496>>2];if(!a){return 6}h=N[a+32>>2];if(h){j=N[a+28>>2];a=0;while(1){e=T(a,20)+j|0;if(N[e>>2]==(c|0)){g=N[e+4>>2];f=N[e+8>>2];a:{if((g|0)>(b|0)){break a}i=N[e+12>>2];f=N[e+16>>2];if((i|0)<(b|0)){break a}f=N[e+16>>2];e=N[e+8>>2];f=jb(b-g|0,f-e|0,i-g|0)+e|0}N[d>>2]=f}a=a+1|0;if(h>>>0>a>>>0){continue}break}}return 0}function oi(a){var b=0,c=0;b=La-16|0;La=b;A(+a);c=v(1)|0;v(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=cf(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(Mn(a,b)&3){case 0:a=cf(S[b>>3],S[b+8>>3],1);break a;case 1:a=bf(S[b>>3],S[b+8>>3]);break a;case 2:a=-cf(S[b>>3],S[b+8>>3],1);break a;default:break b}}a=-bf(S[b>>3],S[b+8>>3])}La=b+16|0;return a}function Ol(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=6;d=N[a+868>>2];a:{if(!d|P[a+648>>1]<=b>>>0){break a}e=8;b=N[d+8>>2]+(b<<1)|0;b=O[b|0]<<8|O[b+1|0];c=P[a+660>>1];if(P[d+2>>1]>>0){break a}e=0;if(!c){break a}a=N[a+672>>2];c=a+(c<<2)|0;b=N[d+4>>2]+(b<<2)|0;while(1){L[a|0]=O[b|0];L[a+1|0]=O[b+1|0];L[a+2|0]=O[b+2|0];L[a+3|0]=O[b+3|0];b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}return e|0}function Mz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=N[a+4>>2];a:{if(!e){break a}c=N[e+96>>2];if(!c){break a}d=N[e+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}f=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(e|0)){b=N[b+4>>2];if(b){continue}break a}break}g=N[b>>2];h=g?g+4|0:f;f=N[b+4>>2];N[h>>2]=f;N[(f?f:c+20|0)>>2]=g;Qa[N[d+8>>2]](d,b);ic(d,e,c)}_a(a)}function _E(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;e=f&31;if(f>>>0>=32){f=-1>>>e|0}else{d=-1>>>e|0;f=d|(1<>>0>=32){d=f<>>32-e|d<>>0>=32){d=-1<>>32-d}a=c&a;b=b&d;d=e&31;if(e>>>0>=32){c=0;a=b>>>d|0}else{c=b>>>d|0;a=((1<>>d}a=a|g;Pa=c|f;return a}function Zd(a,b,c,d){var e=0,f=0;e=La-128|0;La=e;N[e+12>>2]=d;a:{b:{if(N[a+156>>2]){d=N[e+12>>2];if(N[a+84>>2]!=N[a+80>>2]|N[a+72>>2]!=N[a+64>>2]?O[a+62|0]:0){break a}N[a+168>>2]=N[a+168>>2]+1;f=e+16|0;rh(f,100,c,d);Qa[N[a+156>>2]](a,b,f,N[a+160>>2])|0;N[a+168>>2]=N[a+168>>2]-1;break b}vd(24963,9,1,588952);zi(588952,c,N[e+12>>2]);Ul(588952)}La=e+128|0;return}ba(22546,17855,2177,13189);B()}function Lt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=142;f=P[a+152>>1];a:{if(!f){break a}a=N[a+156>>2];f=a+(f<<4)|0;while(1){b:{if(N[a>>2]==(b|0)){g=N[a+12>>2];if(g){break b}}a=a+16|0;if(f>>>0>a>>>0){continue}break a}break}if(d){N[d>>2]=g}a=N[a+8>>2];b=N[c+20>>2];c:{if(b){e=85;if(!(Qa[b|0](c,a,0,0)|0)){break c}break a}e=85;if(a>>>0>Q[c+4>>2]){break a}}N[c+8>>2]=a;e=0}return e|0}function ED(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;e=La-16|0;La=e;N[e+12>>2]=c;b=N[a+96>>2];f=N[b+32>>2];a:{if((f|0)!=N[147120]){c=N[a+100>>2];g=e+12|0;b=N[b+12>>2];if(b){b=N[b+12>>2]}else{b=0}a=Qa[f|0](a,c,1,g,0,d,0,b)|0;break a}a=N[a+20>>2];N[d>>2]=0;b=N[a+96>>2];f=N[b+28>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+8>>2]}else{b=0}a=Qa[f|0](a,g,c,d,b)|0}La=e+16|0;return a|0}function Ct(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qa[N[a+516>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+372|0;c=rb(b,178752,d);if(c){break a}N[a+468>>2]=0;N[a+460>>2]=0;N[a+464>>2]=0;N[a+452>>2]=0;N[a+456>>2]=0;M[a+472>>1]=65535;if(!P[a+372>>1]){return 0}c=rb(b,178928,d);if(c){break a}if(P[d>>1]<2){return 0}c=rb(b,178944,d);if(c){break a}c=0;if(P[d>>1]<5){break a}c=rb(b,178976,d)}return c|0}function uh(a,b,c){var d=0,e=0,f=0;d=N[c+16>>2];a:{if(!d){if(Hh(c)){break a}d=N[c+16>>2]}f=N[c+20>>2];if(d-f>>>0>>0){return Qa[N[c+36>>2]](c,a,b)|0}b:{if(N[c+80>>2]<0){d=0;break b}e=b;while(1){d=e;if(!d){d=0;break b}e=d-1|0;if(O[e+a|0]!=10){continue}break}e=Qa[N[c+36>>2]](c,a,d)|0;if(e>>>0>>0){break a}a=a+d|0;b=b-d|0;f=N[c+20>>2]}Pc(f,a,b);N[c+20>>2]=N[c+20>>2]+b;e=b+d|0}return e}function cB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[a+8>>2]=c;N[a+4>>2]=b;N[a+12>>2]=0;N[a+16>>2]=d;N[a>>2]=b;b=N[73526];N[a+20>>2]=N[73525];N[a+24>>2]=b;b=N[73528];N[a+28>>2]=N[73527];N[a+32>>2]=b;b=N[73530];N[a+36>>2]=N[73529];N[a+40>>2]=b;b=N[73532];N[a+44>>2]=N[73531];N[a+48>>2]=b;b=N[73534];N[a+52>>2]=N[73533];N[a+56>>2]=b;b=N[73536];N[a+60>>2]=N[73535];N[a+64>>2]=b;N[a+68>>2]=N[73537]}function En(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!(!a|!b)){d=M[a+2>>1];a:{if(!d){d=0;a=0;break a}c=N[a+4>>2];e=N[c+4>>2];f=N[c>>2];if((d|0)<2){d=e;a=f;break a}i=(d<<3)+c|0;h=c+8|0;a=f;d=e;while(1){g=N[c+12>>2];d=(d|0)<(g|0)?g:d;e=(e|0)>(g|0)?g:e;c=N[c+8>>2];a=(a|0)<(c|0)?c:a;f=(c|0)<(f|0)?c:f;c=h;h=c+8|0;if(i>>>0>h>>>0){continue}break}}N[b+8>>2]=a;N[b>>2]=f;N[b+12>>2]=d;N[b+4>>2]=e}}function jA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{d=a?a+b|0:0;if(d>>>0<=a>>>0){break a}d=d-a|0;d=b>>>0>d>>>0?d:b;if(!d){break a}b=0;if((d|0)!=1){g=d&1;h=d&-2;while(1){e=a+b|0;d=O[e|0];L[e|0]=d^c>>>8;f=(b|1)+a|0;e=O[f|0];c=T(c+d|0,52845)+22719|0;L[f|0]=e^c>>>8;c=T(c+e|0,52845)+22719&65535;b=b+2|0;if((h|0)!=(b|0)){continue}break}if(!g){break a}}a=a+b|0;L[a|0]=O[a|0]^c>>>8}}function Dy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;b=nb(c);g=b+6|0;a:{b:{if((b|0)>=-5){a=N[a>>2];a=Qa[N[a+4>>2]](a,g)|0;if(a){break b}return 64}if(g){break a}a=0}F(a,c,b);f=0;b=a+b|0;c=O[17697]|O[17698]<<8;L[b+4|0]=c;L[b+5|0]=c>>>8;c=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[b|0]=c;L[b+1|0]=c>>>8;L[b+2|0]=c>>>16;L[b+3|0]=c>>>24;N[d>>2]=a;N[e>>2]=0}return f|0}function Ce(a,b,c){if(O[a+11660|0]){L[a+11661|0]=1;Xd(a,N[a+11732>>2],N[a+11736>>2]);if(O[a+11740|0]){lf(a,a+8|0,a+11700|0,N[a+11708>>2],N[a+11712>>2],1)}L[a+11740|0]=0;M[a+11660>>1]=0}N[a+11716>>2]=b;N[a+11732>>2]=b;L[a+11663|0]=1;N[a+11736>>2]=c;N[a+11720>>2]=c;b=a+8|0;c=N[a+11672>>2];if(!(O[c+5|0]?0:O[a+20|0])){kf(b,N[a+11664>>2],N[a+11668>>2],c,N[a+11676>>2],0)}F(a+3876|0,b,3868)}function is(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=N[b>>2]+1|0;if(c>>>0<=65535){h=b;d=N[a+16>>2];a=O[d+6|0]<<8|O[d+7|0];c=a>>>0>>0?c:a;b=c-a|0;g=O[d+9|0]|O[d+8|0]<<8;e=0;a:{if(b>>>0>=g>>>0){break a}a=(d+(b<<1)|0)+10|0;while(1){f=O[a+1|0]|O[a|0]<<8;e=c;if(f){break a}if(c>>>0>65534){return 0}a=a+2|0;c=c+1|0;b=b+1|0;if(g>>>0>b>>>0){continue}break}f=0;e=0}N[h>>2]=e}return f|0}function Rx(a){a=a|0;var b=0,c=0,d=0;b=N[a+196>>2];d=b+10|0;if(d>>>0<=Q[a+200>>2]){c=O[b|0]|O[b+1|0]<<8;M[a+32>>1]=c<<8|c>>>8;c=O[b+2|0]|O[b+3|0]<<8;N[a+36>>2]=(c<<8|c>>>8)<<16>>16;c=O[b+4|0]|O[b+5|0]<<8;N[a+40>>2]=(c<<8|c>>>8)<<16>>16;c=O[b+6|0]|O[b+7|0]<<8;N[a+44>>2]=(c<<8|c>>>8)<<16>>16;b=O[b+8|0]|O[b+9|0]<<8;N[a+196>>2]=d;N[a+48>>2]=(b<<8|b>>>8)<<16>>16;a=0}else{a=20}return a|0}function lb(a,b,c,d,e,f){var g=0;if((b|c|d)<0){N[f>>2]=6;return e}a:{if(!(d?b:0)){if(!e){break a}Qa[N[a+8>>2]](a,e);break a}g=10;b:{if((2147483647/(b>>>0)|0)<(d|0)){break b}c:{if(!c){e=Qa[N[a+4>>2]](a,T(b,d))|0;g=!e<<6;break c}a=Qa[N[a+12>>2]](a,T(b,c),T(b,d),e)|0;e=a?a:e;g=!a<<6}if(g|(c|0)>=(d|0)|!e){break b}g=0;C(T(b,c)+e|0,0,T(d-c|0,b))}N[f>>2]=g;return e}N[f>>2]=0;return 0}function Ww(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=La-16|0;La=e;b=b>>>0>=4?4:b;a:{if(!b){b=0;break a}d=N[c>>2];N[e>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==1){break a}d=N[c+4>>2];N[e+4>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==2){break a}d=N[c+8>>2];N[e+8>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==3){break a}c=N[c+12>>2];N[e+12>>2]=((c>>31)+c|0)+32768>>16}a=Om(a,b,e);La=e+16|0;return a|0}function Ul(a){var b=0,c=0;a:{b=N[a+76>>2];if(!((b|0)>=0&(!b|N[147582]!=(b&-1073741825)))){b:{if(N[a+80>>2]==10){break b}b=N[a+20>>2];if((b|0)==N[a+16>>2]){break b}N[a+20>>2]=b+1;L[b|0]=10;break a}Dh(a);break a}b=a+76|0;c=N[b>>2];N[b>>2]=c?c:1073741823;c:{d:{if(N[a+80>>2]==10){break d}c=N[a+20>>2];if((c|0)==N[a+16>>2]){break d}N[a+20>>2]=c+1;L[c|0]=10;break c}Dh(a)}N[b>>2]=0}}function bm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;N[b>>2]=0;a:{if(!a){break a}d=N[a+8>>2];if(!d){break a}e=N[N[a>>2]>>2];while(1){g=N[N[a>>2]+(f<<2)>>2];h=O[g|0];if(h){while(1){L[c+e|0]=h;c=c+1|0;h=O[g+1|0];g=g+1|0;if(h){continue}break}d=N[a+8>>2]}f=f+1|0;if(f>>>0>>0){L[c+e|0]=32;d=N[a+8>>2];c=c+1|0}if(d>>>0>f>>>0){continue}break}if((e|0)!=441572){L[c+e|0]=0}N[b>>2]=c}return e}function sm(a,b,c,d){var e=0;e=N[d>>2];if(e){Qa[N[c+8>>2]](c,e);N[d>>2]=0}a:{if(!b){break a}e=b-1|0;if(!O[e+a|0]){b=e;if(!b){break a}}e=0;b:{while(1){if(L[a+e|0]>=32){e=e+1|0;if((e|0)!=(b|0)){continue}break b}break}N[d>>2]=0;return 0}if((b|0)<0){N[d>>2]=0;return 6}c=Qa[N[c+4>>2]](c,b+1|0)|0;if(!c){N[d>>2]=0;return 64}F(c,a,b);L[b+c|0]=0;N[d>>2]=c;return 0}N[d>>2]=0;return 0}function Yz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;a=ze(N[b+92>>2],c);N[d>>2]=a;a:{if(!a){break a}b:{f=N[b+92>>2];if(f){a=Qa[N[N[f+12>>2]+12>>2]](f,a)|0;if(a>>>0>2]){break b}}N[d>>2]=0;return 0}N[d>>2]=a;if(!a){break a}N[e+28>>2]=a;d=0;a=sc(N[e>>2],e+8|0,c>>>0>752?N[e+32>>2]?e:0:0);c:{if(!a){break c}if(N[a>>2]>=0){d=a;break c}tb(a)}tb(d);g=1}return g|0}function GA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qa[N[b+4>>2]](b,16)|0;if(!e){return 64}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;N[e+4>>2]=c;N[e>>2]=c;N[e+12>>2]=2;N[e+8>>2]=d;N[a+8>>2]=0;N[a+12>>2]=0;N[a+4>>2]=e;N[a>>2]=b;return 0}function lE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{switch(b-6078|0){case 0:N[c>>2]=6081;N[d>>2]=6078;return 1;case 1:N[c>>2]=6081;N[d>>2]=6079;return 1;case 2:N[c>>2]=6081;N[d>>2]=6080;return 1;case 6:N[c>>2]=6081;N[d>>2]=6084;return 1;case 7:N[c>>2]=6081;N[d>>2]=6085;return 1;default:break a}}a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;return(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0|0}function kD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=U(f);g=U(g);h=h|0;var i=U(0),j=U(0),k=U(0),l=U(0),m=0;i=R[b+8>>2];j=R[b+16>>2];k=R[b+12>>2];l=R[c+16>>2];R[c+16>>2]=k*l;R[c+12>>2]=U(i*R[c+12>>2])+U(j*l);a=N[b>>2];h=N[a+20>>2];m=N[b+4>>2];d=U(U(i*d)+U(j*e));e=U(k*e);f=U(U(i*f)+U(j*g));g=U(k*g);b=N[a+32>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[h|0](a,m,c,d,e,f,g,b)}function Co(a){var b=0;b=N[a+8>>2];if(b){if(N[a+16>>2]>0){b=0;while(1){_a(N[N[a+8>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+8>>2]}_a(b)}b=N[a+4>>2];if(b){if(N[a+12>>2]>0){b=0;while(1){_a(N[N[a+4>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+4>>2]}_a(b)}b=N[a+32>>2];if(b){_a(b)}b=N[a+40>>2];if(b){_a(b)}a=N[a+44>>2];if(a){_a(a)}}function ny(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=M[a+298>>1];e=T(d,b>>16);b=T(d,b&65535);d=e<<16;f=b+d|0;a=M[a+300>>1];g=T(a,c&65535);c=T(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function my(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=M[a+294>>1];e=T(d,b>>16);b=T(d,b&65535);d=e<<16;f=b+d|0;a=M[a+296>>1];g=T(a,c&65535);c=T(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function _z(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[(N[a>>2]+(N[a+16>>2]<<2)|0)+68>>2];if(vc(d,N[a+20>>2],2560)){N[b>>2]=-1;return 1}a=N[d+84>>2];d=N[a+28>>2];N[b>>2]=N[a+24>>2];N[b+4>>2]=d;d=N[a+52>>2];N[b+24>>2]=N[a+48>>2];N[b+28>>2]=d;d=N[a+44>>2];N[b+16>>2]=N[a+40>>2];N[b+20>>2]=d;d=N[a+36>>2];N[b+8>>2]=N[a+32>>2];N[b+12>>2]=d;if(c){N[b+16>>2]=N[b+28>>2]}return 1}function zn(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=N[a+96>>2];if(!c){break a}d=N[a+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}e=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(a|0)){b=N[b+4>>2];if(b){continue}break a}break}f=N[b>>2];g=f?f+4|0:e;e=N[b+4>>2];N[g>>2]=e;N[(e?e:c+20|0)>>2]=f;Qa[N[d+8>>2]](d,b);ic(d,a,c)}}function pu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=6;f=N[a+280>>2];a:{if((f|0)<=0){break a}d=N[a+284>>2];a=0;while(1){b:{g=a;h=cb(N[T(a,12)+d>>2],b);a=a+1|0;if((f|0)<=(a|0)){break b}if(h){continue}}break}if(h){break a}c:{if(O[(T(g,12)+d|0)+4|0]){N[c>>2]=1;N[c+4>>2]=N[(T(g,12)+d|0)+8>>2];break c}N[c>>2]=2;N[c+4>>2]=N[(T(a,12)+d|0)-4>>2]}e=0}return e|0}function li(a,b){var c=0,d=0,e=0;a:{if((b|0)!=1){break a}c=N[a+8>>2];if(!c){break a}c=c-N[a+4>>2]|0;d=0-c|0;e=0-((c>>31)+((c|0)!=0)|0)|0}b:{if(N[a+20>>2]!=N[a+28>>2]){Qa[N[a+36>>2]](a,0,0)|0;if(!N[a+20>>2]){break b}}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;Qa[N[a+40>>2]](a,d,e,b)|0;if((Pa|0)<0){break b}N[a+4>>2]=0;N[a+8>>2]=0;N[a>>2]=N[a>>2]&-17;return 0}return-1}function WC(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;a=0;a:{if(!c){break a}while(1){b:{h=N[b+12>>2];c:{if(!h){break c}i=N[h+92>>2];if(!i){break c}i=Qa[N[N[i+12>>2]+12>>2]](i,N[d>>2])|0;if(i>>>0>2]){break b}}N[f>>2]=0;return a|0}N[f>>2]=i;if(!i){break a}f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}return a|0}function hs(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{c=a+10|0;if(c>>>0<=Q[b+160>>2]){d=O[a+3|0]|O[a+2|0]<<8;if(Q[b+160>>2]>>0){break b}a=O[a+9|0]|O[a+8|0]<<8;if((a<<1)+10>>>0>d>>>0){break b}if(!(!N[b+164>>2]|!a)){d=N[b+172>>2];while(1){if(d>>>0<=(O[c+1|0]|O[c|0]<<8)>>>0){break a}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}Pb(b,8);B()}Pb(b,8);B()}Pb(b,16);B()}function Zu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=N[a>>2];d=N[a+44>>2];a:{if(!d){break a}e=N[d>>2];if(!e|!N[e+96>>2]){break a}N[e+88>>2]=d}d=eg(N[c+504>>2],b);if(!d){b=N[N[c+504>>2]+88>>2];c=N[b+16>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=c;N[a+36>>2]=N[b+36>>2];c=N[b+32>>2];N[a+28>>2]=N[b+28>>2];N[a+32>>2]=c;c=N[b+24>>2];N[a+20>>2]=N[b+20>>2];N[a+24>>2]=c}return d|0}function Bz(a,b){a=a|0;b=b|0;_a(N[b+20>>2]);_a(N[b+24>>2]);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;_a(N[b+44>>2]);_a(N[b+48>>2]);N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;a:{switch(N[a>>2]){case 0:tb(N[a+8>>2]);return;case 1:_a(N[a+8>>2]);return;case 2:tb(N[a+8>>2]);break;default:break a}}}function wj(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{c=N[a>>2];if((c|0)>=0){d=N[a+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break c}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){f=$a(N[a+8>>2],c<<2);if(f){break b}}N[a>>2]=-1}N[147456]=0;return}f=N[a+8>>2];break a}N[a>>2]=c;N[a+8>>2]=f;d=N[a+4>>2];e=d+1|0}N[a+4>>2]=e;N[(d<<2)+f>>2]=N[b>>2]}function Ac(a){var b=0,c=0;a:{if(O[a+62|0]){b=N[a+68>>2];c=N[a+64>>2];if(b>>>0>>0){break a}b:{if(!O[a+60|0]){break b}if(!Al(a,b-c|0)){break b}b=N[a+84>>2];c=N[a+80>>2];if((b|0)!=(c|0)){N[a+80>>2]=b;N[a+88>>2]=c}N[a+68>>2]=N[a+72>>2]}N[a+72>>2]=0;L[a+62|0]=0;N[a+64>>2]=0;N[a+84>>2]=N[a+80>>2];return}ba(8694,17855,395,17735);B()}ba(13069,17855,397,17735);B()}function AA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=N[b>>2];while(1){d=d+1|0;if(d>>>0>255){N[b>>2]=0;return 0}f=Qa[N[a+20>>2]](P[N[a+16>>2]+(d<<1)>>1])|0;g=N[a+24>>2];a:{if(g){h=N[a+28>>2];c=0;while(1){e=N[(c<<2)+h>>2];if(!(!e|O[e|0]!=O[f|0])){if(!cb(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}N[b>>2]=d;return c|0}function Sy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if($b(a,N[b+8>>2],e)){if(!(N[b+28>>2]==1|N[b+4>>2]!=(c|0))){N[b+28>>2]=d}return}a:{if(!$b(a,N[b>>2],e)){break a}if(!(N[b+16>>2]!=(c|0)&N[b+20>>2]!=(c|0))){if((d|0)!=1){break a}N[b+32>>2]=1;return}N[b+20>>2]=c;N[b+32>>2]=d;N[b+40>>2]=N[b+40>>2]+1;if(!(N[b+36>>2]!=1|N[b+24>>2]!=2)){L[b+54|0]=1}N[b+44>>2]=4}}function ok(a,b){a=a|0;b=b|0;var c=0,d=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];c=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((c|0)!=-1){d=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}a=kk(a,b)}else{a=0}return a|0}function ss(a,b){a=a|0;b=b|0;var c=0,d=0;a=N[a+16>>2];c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{if(c>>>0>b>>>0){break a}b=b-c|0;c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(b>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break a}a=(a+20|0)+(b<<1)|0;d=O[a|0]<<8|O[a+1|0]}return d|0}function em(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-16|0;La=d;e=N[c>>2];if(e>>>0<2147483632){g=N[a>>2];a:{b:{if(e>>>0>=11){f=(e|15)+1|0;a=eb(f);N[d+12>>2]=f|-2147483648;N[d+4>>2]=a;N[d+8>>2]=e;f=a+e|0;break b}L[d+15|0]=e;a=d+4|0;f=e+a|0;if(!e){break a}}F(a,c+4|0,e)}L[f|0]=0;Qa[g|0](b,d+4|0);if(L[d+15|0]<0){_a(N[d+4>>2])}La=d+16|0;return}fa();B()}function Tb(a,b){var c=0,d=0;c=N[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{switch(O[c|0]){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}d=37;while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((c|0)!=(b|0)){d=O[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}N[a>>2]=c}function Yl(a){var b=0,c=0;c=N[a+568>>2];if((c|0)!=N[a+64>>2]){b=N[a+96>>2];c=Qa[N[a+24>>2]](N[a+32>>2],c+42|0)|0;N[a+96>>2]=c;if(!c){N[a+96>>2]=b;return 0}L[(c+N[a+568>>2]|0)-2|0]=0;L[(N[a+568>>2]+N[a+96>>2]|0)-1|0]=0;if(b){F(N[a+96>>2],b,N[a+52>>2]);Qa[N[a+28>>2]](N[a+32>>2],b)}b=N[a+568>>2];N[a+64>>2]=b;N[a+68>>2]=b-1;N[a+100>>2]=b+N[a+96>>2]}return 1}function pk(a,b){a=a|0;b=b|0;var c=0,d=0;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];d=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)!=-1){c=O[a+4|0]|O[a+5|0]<<8;c=d>>>0>=((c<<8|c>>>8)&65535)>>>0?275552:((d<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}lk(a,b)}return(d|0)!=-1|0}function iC(a){a=a|0;var b=0;b=N[a+8>>2];C(a+16|0,0,84);N[a+136>>2]=329;N[a+132>>2]=330;N[a+128>>2]=331;N[a+124>>2]=332;N[a+120>>2]=333;N[a+116>>2]=334;N[a+108>>2]=335;N[a+104>>2]=336;N[a+100>>2]=337;N[a+12>>2]=b;N[a+164>>2]=329;N[a+160>>2]=338;N[a+156>>2]=339;N[a+152>>2]=340;N[a+148>>2]=333;N[a+144>>2]=341;b=a+12|0;N[a+112>>2]=b;N[a+140>>2]=b;return 0}function Wc(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+3>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+12|0,4)|0)!=4){break d}c=N[a+8>>2];b=d+12|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}f=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+4}La=d+16|0;return f}function yy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!cb(b,10437)){N[c>>2]=N[a+36>>2];N[c+4>>2]=N[a+40>>2];N[c+8>>2]=N[a+44>>2];N[c+12>>2]=N[a+48>>2];N[c+16>>2]=N[a+52>>2];N[c+20>>2]=N[a+56>>2];N[c+24>>2]=N[a+60>>2];N[c+28>>2]=N[a- -64>>2];break b}if(!cb(b,15759)){N[c>>2]=N[a+28>>2];break b}d=12;if(cb(b,14683)){break a}L[c|0]=O[a+32|0]}d=0}return d|0}function cE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=N[b>>2];b=N[a+12>>2];a:{if(b){break a}while(1){b=N[a>>2];if(!b){b=275552;break a}e=db(1,48);if(!e){b=275552;N[a+12>>2]=275552;break a}b=gj(e,b);if(!N[a+12>>2]){N[a+12>>2]=b;break a}ab(N[b+44>>2]);_a(b);b=N[a+12>>2];if(!b){continue}break}}a=N[b+8>>2];if(!a){return 0}return Qa[a|0](N[b+12>>2],c,d)|0}function Ur(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{if(Q[b+160>>2]>=a+4>>>0){c=O[a+3|0]|O[a+2|0]<<8;if(c>>>0<262|Q[b+160>>2]>>0){break b}if(N[b+164>>2]){a=a+6|0;c=N[b+172>>2];while(1){if(c>>>0<=O[a|0]|c>>>0<=O[a+1|0]|(c>>>0<=O[a+2|0]|c>>>0<=O[a+3|0])){break a}a=a+4|0;d=d+4|0;if((d|0)!=256){continue}break}}return 0}Pb(b,8);B()}Pb(b,8);B()}Pb(b,16);B()}function az(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=N[a+84>>2];f=N[e>>2];d=N[e+4>>2];h=N[a+28>>2];g=N[a+20>>2]-h|0;g=d>>>0>>0?d:g;if(g){Pc(f,h,g);f=g+N[e>>2]|0;N[e>>2]=f;d=N[e+4>>2]-g|0;N[e+4>>2]=d}d=c>>>0>d>>>0?d:c;if(d){Pc(f,b,d);f=d+N[e>>2]|0;N[e>>2]=f;N[e+4>>2]=N[e+4>>2]-d}L[f|0]=0;b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;return c|0}function zb(a){var b=0,c=0,d=0;a:{if(!N[a+4>>2]){break a}b=N[a+16>>2];b:{if(!b){N[a+20>>2]=2;break b}c:{switch(N[a+20>>2]-2|0){case 1:N[a+20>>2]=2;break b;case 0:break b;default:break c}}c=kb(b);if(!c){break a}if(b){F(c,N[a+12>>2],b)}b=N[a+28>>2];if(b){Qa[b|0](N[a+24>>2])}N[a+28>>2]=192;N[a+24>>2]=c;N[a+12>>2]=c;N[a+20>>2]=2}d=N[a+12>>2]}return d}function Bu(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+12>>2];if(b){e=N[a+28>>2];N[b+104>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;L[b+44|0]=0;N[b- -64>>2]=9;N[b+12>>2]=0;N[b+16>>2]=0;d=N[b+180>>2];c=N[b+100>>2];if((c|0)!=(b+112|0)){if(c){Qa[N[d+8>>2]](d,c)}N[b+100>>2]=0}c=N[b+88>>2];if(c){Qa[N[d+8>>2]](d,c)}C(b,0,184);Qa[N[e+8>>2]](e,b);N[a+12>>2]=0}}function xb(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+1>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+14|0,2)|0)!=2){break d}c=N[a+8>>2];b=d+14|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}b=O[b|0]|O[b+1|0]<<8;f=b<<8|b>>>8;break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+2}La=d+16|0;return f&65535}function Pn(a,b,c,d){L[a+53|0]=1;a:{if(N[a+4>>2]!=(c|0)){break a}L[a+52|0]=1;c=N[a+16>>2];b:{if(!c){N[a+36>>2]=1;N[a+24>>2]=d;N[a+16>>2]=b;if((d|0)!=1){break a}if(N[a+48>>2]==1){break b}break a}if((b|0)==(c|0)){c=N[a+24>>2];if((c|0)==2){N[a+24>>2]=d;c=d}if(N[a+48>>2]!=1){break a}if((c|0)==1){break b}break a}N[a+36>>2]=N[a+36>>2]+1}L[a+54|0]=1}}function vw(a){a=a|0;var b=0,c=0,d=0;c=N[a+16>>2];if(Q[a+20>>2]>=c+16>>>0){d=N[a+32>>2];b=ne(a,N[c>>2],0);N[d+84>>2]=((b>>31)+b|0)+32768&-65536;b=ne(a,N[c+4>>2],0);N[d+88>>2]=((b>>31)+b|0)+32768&-65536;b=ne(a,N[c+8>>2],0);N[d+92>>2]=((b>>31)+b|0)+32768&-65536;a=ne(a,N[c+12>>2],0);N[d+96>>2]=((a>>31)+a|0)+32768&-65536;a=0}else{a=161}return a|0}function vC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=N[b+4>>2];N[a+2748>>2]=b;c=N[b+28>>2];N[a+4>>2]=N[b+44>>2];N[a+8>>2]=N[b+48>>2];N[a+12>>2]=N[b+9848>>2];N[a+16>>2]=N[b+9852>>2];b=N[b+24>>2];e=b&-3;N[a+2740>>2]=!(L[d+12|0]&1)&(e|0)!=1?c:c|1;d=a;a=(b&-2)==2;c=a|2;f=(b|0)==4?c:a;a=(b|0)==2;b=a?c:f;b=(e|0)==1?b:b|4;N[d+2744>>2]=a?b|8:b;return 0}function hi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-240|0;La=h;N[h>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;f=a;while(1){f=f+k|0;j=d-2|0;g=f-N[(j<<2)+e>>2]|0;if((Qa[c|0](a,g)|0)>=0){if((Qa[c|0](a,f)|0)>=0){break a}}l=g;g=(Qa[c|0](g,f)|0)>=0;f=g?l:f;N[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}ao(b,h,i);La=h+240|0}function Zw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a=N[a+532>>2];if(!a){return 6}d=N[a+4>>2];N[b>>2]=d;N[b+4>>2]=N[a>>2];if(!d){return 0}g=a+88|0;h=b+8|0;b=0;while(1){c=T(b,12);e=c+h|0;N[e>>2]=N[(a+(b<<2)|0)+8>>2];c=c+g|0;f=N[c+4>>2];N[e+4>>2]=N[f>>2];N[e+8>>2]=N[((O[c|0]<<2)+f|0)-4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}return 0}function _j(a){var b=0,c=0,d=0;b=La-16|0;La=b;N[b+4>>2]=-1;a:{if(!O[a+36|0]){ud(a,b+4|0);c=N[b+4>>2];break a}N[b+8>>2]=-1;ud(a,b+8|0);c=0;if(N[b+8>>2]){break a}c=-1;N[b+12>>2]=-1;b:{if(!ud(a,b+12|0)){break b}d=N[b+12>>2];while(1){c=d;if(!ud(a,b+12|0)){break b}d=N[b+12>>2];if((d|0)==(c+1|0)){continue}break}}c=c+1|0}La=b+16|0;return(c|0)==-1}function Ik(a,b,c,d){var e=0,f=0,g=0;a:{e=T(b,20)+a|0;f=P[e+16>>1];if(!f){break a}g=O[e+18|0];if(!(g&2)){break a}M[e+16>>1]=0;e=(f<<16>>16)+b|0;if((e|0)==(d|0)){break a}Ik(a,e,c,d);b:{if((c&-2)==4){N[(T(e,20)+a|0)+12>>2]=0-N[(T(b,20)+a|0)+12>>2];break b}N[(T(e,20)+a|0)+8>>2]=0-N[(T(b,20)+a|0)+8>>2]}a=T(e,20)+a|0;M[a+16>>1]=0-f;L[a+18|0]=g}}function ld(a){var b=0,c=0,d=0,e=0;a:{if(N[a+12>>2]>0){break a}c=3;b=N[a>>2];d=N[a+8>>2];b:{if(b>>>0>=d>>>0){break b}c:{while(1){d:{e=b+1|0;N[a>>2]=e;e:{switch(O[b|0]-9|0){case 17:break b;case 50:break c;case 1:case 4:break d;case 0:case 23:break e;default:break a}}b=e;if((d|0)!=(b|0)){continue}break b}break}c=2;break b}c=1}N[a+12>>2]=c}}function Ys(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=N[a+16>>2];d=P[a+8>>1];c=d>>>1|0;a=c+1|0;e=Qa[N[b+4>>2]](b,a)|0;if(!e){return 0}C(e,0,a);a=0;a:{if(d>>>0<2){break a}b=c>>>0<=1?1:c;while(1){c=O[f+1|0];d=c|O[f|0]<<8;if(!d){break a}L[a+e|0]=d-128>>>0<4294967200?63:c;f=f+2|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}L[a+e|0]=0;return e|0}function Gd(a,b){a:{if((b|0)>=1024){a=a*898846567431158e293;if(b>>>0<2047){b=b-1023|0;break a}a=a*898846567431158e293;b=((b|0)>=3069?3069:b)-2046|0;break a}if((b|0)>-1023){break a}a=a*2004168360008973e-307;if(b>>>0>4294965304){b=b+969|0;break a}a=a*2004168360008973e-307;b=((b|0)<=-2960?-2960:b)+1938|0}x(0,0);x(1,b+1023<<20);return a*+z()}function cA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=N[a+20>>2];a=(c+(N[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=N[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return N[f+4>>2]}function tE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];a:{if(Qa[N[e+24>>2]](e,b,N[e+56>>2])>>>0<=31){e=N[a+12>>2];f=0;if(1<>2]](e,b,N[e+56>>2])&7168){break a}}if(!((b|0)!=2479|(c|0)!=2492)){N[d>>2]=2527;return 1}a=N[a+12>>2];N[d>>2]=0;f=0;if(!b|!c){break a}f=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return f|0}function ib(a,b,c,d){var e=0,f=0;f=La-16|0;La=f;e=1;if(N[a+156>>2]){N[f+12>>2]=d;e=La-112|0;La=e;if(!(!O[a+62|0]|N[a+84>>2]==N[a+80>>2]&N[a+72>>2]==N[a+64>>2])){ba(22546,17855,2177,13189);B()}N[a+168>>2]=N[a+168>>2]+1;rh(e,100,c,d);b=Qa[N[a+156>>2]](a,b,e,N[a+160>>2])|0;N[a+168>>2]=N[a+168>>2]-1;La=e+112|0;e=(b|0)!=0}La=f+16|0;return e}function xw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=N[N[a+128>>2]+52>>2];a:{if(e){a=N[b>>2];N[d+12>>2]=c;N[d+8>>2]=a;Qa[N[N[e>>2]+4>>2]](N[e+4>>2],d+8|0);break a}a=N[a+712>>2];if(N[a+1236>>2]){break a}a=N[a+1204>>2];b:{if(!a|!N[a+20>>2]){break b}c=N[b>>2];if(!c){break b}a=N[a+28>>2];Qa[N[a+8>>2]](a,c)}N[b>>2]=0}La=d+16|0}function Yy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La+-64|0;La=d;e=1;a:{if($b(a,b,0)){break a}e=0;if(!b){break a}b=Oc(b,584540);e=0;if(!b){break a}C(d+12|0,0,52);N[d+56>>2]=1;N[d+20>>2]=-1;N[d+16>>2]=a;N[d+8>>2]=b;Qa[N[N[b>>2]+28>>2]](b,d+8|0,N[c>>2],1);a=N[d+32>>2];if((a|0)==1){N[c>>2]=N[d+24>>2]}e=(a|0)==1}a=e;La=d- -64|0;return a|0}function Cw(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[N[b+712>>2]+3080>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+8>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function pC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=N[N[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=N[f+24>>2];if(c){b=N[N[(N[N[b+288960>>2]+4>>2]<<2)+288672>>2]+16>>2];a:{if(b){Qa[b|0](c);c=N[f+24>>2];if(!c){break a}}Qa[N[d+8>>2]](d,c)}N[f+24>>2]=0}e=e+1|0;if((e|0)!=87){continue}break}Rc(N[a+12>>2]);dc(N[a+16>>2]);Qa[N[d+8>>2]](d,a)}}function Pu(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=N[a+100>>2];b=N[a+132>>2];if(b){e=N[b+160>>2];if(e){c=N[a+104>>2];if(!(!c|!N[c+20>>2])){c=N[c+28>>2];Qa[N[c+8>>2]](c,e)}N[b+160>>2]=0}c=N[b+168>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+168>>2]=0;Qa[N[d+8>>2]](d,b);N[a+132>>2]=0}b=N[a+32>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+28>>2]=0;N[a+32>>2]=0}}function Ze(a){var b=0,c=0,d=0;a:{if(!a){break a}b=O[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=L[b|0];b:{if(!(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1)){break b}while(1){if(c<<16>>16>3274){c=32767;break b}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c<<16>>16}function xd(a){var b=0,c=0,d=0,e=0;a:{b=N[a+72>>2]+1|0;b:{if(!(!b|b>>>0>2])){if(!gb(a,b)){break b}}d=1;b=N[a+84>>2];if((b|0)!=N[a+80>>2]){break b}c=N[a+72>>2];if(c+1>>>0<=N[a+64>>2]+1>>>0){break b}if(!O[a+62|0]){break a}e=a;a=N[a+88>>2];N[e+84>>2]=a;c=T(c,20);if(!c){break b}F(a,b,c)}return d}ba(8694,17855,209,11932);B()}function hf(a){var b=0,c=0,d=0,e=0,f=0;ld(a);a:{if(N[a+12>>2]>0){break a}b=N[a>>2];d=b-1|0;e=N[a+8>>2];b:{c:{while(1){if(b>>>0>=e>>>0){break c}f=b;b=b+1|0;N[a>>2]=b;c=2;d:{switch(O[f|0]-9|0){case 0:case 23:break a;case 1:case 4:break b;case 17:break c;case 50:break d;default:continue}}break}c=1;break b}c=3}N[a+12>>2]=c}return d}function am(a){var b=0,c=0,d=0;a:{if(!a){break a}b=O[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=L[b|0];b:{if(!(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1)){break b}while(1){if((c|0)>214748362){c=2147483647;break b}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c}function RA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=N[a+12>>2];a:{if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+68|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=((c>>31)+c|0)+32768>>16;N[f>>2]=((b>>31)+b|0)+32768>>16;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function Mb(a,b,c){var d=0,e=0;a:{b:{if(c>>>0>=4){if((a|b)&3){break b}while(1){if(N[a>>2]!=N[b>>2]){break b}b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}d=0;break a}d=1}while(1){c:{if(!d){if(c){break c}return 0}d:{e=O[b|0];d=O[a|0];if((e|0)==(d|0)){b=b+1|0;a=a+1|0;c=c-1|0;break d}return d-e|0}d=0;continue}d=1;continue}}function ln(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+1>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+14|0,2)|0)!=2){break d}c=N[a+8>>2];b=d+14|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}f=O[b|0]|O[b+1|0]<<8;break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+2}La=d+16|0;return f}function qx(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[b+552>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+4>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function Lv(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[b+320>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+4>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function dj(a,b,c,d,e){var f=0,g=0,h=U(0),i=U(0);if(N[c>>2]){h=R[c+4>>2];i=R[c+8>>2];if(!(h==R[c+12>>2]&i==R[c+16>>2])){g=N[a+16>>2];f=N[a+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[g|0](a,b,c,h,i,f)}g=N[a+28>>2];f=N[a+32>>2];if(f){f=N[f+16>>2]}else{f=0}Qa[g|0](a,b,c,f);N[c+8>>2]=0;N[c>>2]=0;N[c+4>>2]=0}R[c+16>>2]=e;R[c+12>>2]=d}function Ok(a,b){a=a|0;b=b|0;var c=0,d=0;c=O[a+6|0]|O[a+7|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];if((vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2])|0)!=-1){d=b;b=O[a+2|0]|O[a+3|0]<<8;b=(b<<8|b>>>8)&65535;c=O[a+4|0]|O[a+5|0]<<8;a=Qe(d,b,a+8|0,(c<<8|c>>>8)&65535,(a+6|0)+(b<<1)|0,247,a)}else{a=0}return a|0}function Qq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!(O[N[a+112>>2]+36|0]&2)){break a}b=N[c+68>>2];if(!b){break a}e=N[c+80>>2];g=e+3|0;a=0;while(1){d=T(a,20);f=d+e|0;if(O[f+12|0]&64){h=d+g|0;d=O[f+14|0];L[h+16|0]=d&16?8:d&1|8;N[c+144>>2]=N[c+144>>2]|16777216}a=a+1|0;if((b|0)!=(a|0)){continue}break}}return 0}function Ke(a,b,c,d,e,f,g){var h=0,i=0,j=U(0),k=U(0);if(!N[c>>2]){i=N[a+12>>2];j=R[c+12>>2];k=R[c+16>>2];h=N[a+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](a,b,c,j,k,h);N[c>>2]=1;h=N[c+16>>2];N[c+4>>2]=N[c+12>>2];N[c+8>>2]=h}i=N[a+20>>2];h=N[a+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](a,b,c,d,e,f,g,h);R[c+16>>2]=g;R[c+12>>2]=f}function yz(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(!a){break b}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;a=N[b>>2];if(!a){break b}if(!N[a-8>>2]){break a}a=a-4|0;b=N[a>>2];if(!b){break a}N[a>>2]=b+1}return 1}ba(8916,18290,435,15229);B()}function mD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=f|0;var g=U(0),h=U(0),i=U(0),j=U(0),k=0;g=R[b+8>>2];h=R[b+16>>2];i=R[b+12>>2];j=R[c+16>>2];R[c+16>>2]=i*j;R[c+12>>2]=U(g*R[c+12>>2])+U(h*j);a=N[b>>2];f=N[a+16>>2];k=N[b+4>>2];d=U(U(g*d)+U(h*e));e=U(i*e);b=N[a+32>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[f|0](a,k,c,d,e,b)}function $u(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=N[a+160>>2];N[b+156>>2]=0;c=N[b+4>>2];a=N[c+84>>2];a:{if(!a){break a}d=N[N[c+96>>2]+8>>2];if((a|0)!=(b|0)){while(1){e=N[a+8>>2];if(!e){break a}f=a;a=e;if((b|0)!=(a|0)){continue}break}}N[(f?f+8|0:c+84|0)>>2]=N[b+8>>2];a=N[b+20>>2];if(a){Qa[a|0](b)}ig(b);Qa[N[d+8>>2]](d,b)}}function Ho(a){var b=0,c=0,d=0,e=0;b=N[a+12>>2];if(b){c=N[a+8>>2];a:{b:{if(b>>>0>c>>>0){d=N[a+20>>2];break b}N[147316]=0;d=N[a+20>>2];c=b<<1;b=$a(d,c>>>0<=1?1:c);N[147316]=b?0:48;d=b?b:d;N[a+20>>2]=d;e=0;if(!b){break a}N[a+12>>2]=c;c=N[a+8>>2]}L[c+d|0]=1;N[a+8>>2]=N[a+8>>2]+1;e=1}return e}ba(10167,18249,303,9289);B()}function vh(a,b,c){var d=0,e=0,f=0,g=0;f=6;d=N[b>>2];a:{if(d+5>>>0>c>>>0){break a}e=N[a+12>>2];M[e>>1]=O[d|0];M[e+2>>1]=O[d+1|0];M[e+4>>1]=L[d+2|0];M[e+6>>1]=L[d+3|0];M[e+8>>1]=O[d+4|0];g=c;c=d+8|0;if(g>>>0>>0){break a}M[e+10>>1]=L[d+5|0];M[e+12>>1]=L[d+6|0];M[e+14>>1]=O[d+7|0];L[a+16|0]=1;N[b>>2]=c;f=0}return f}function aB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=La-16|0;La=b;Tb(a,N[a+8>>2]);e=N[a+8>>2];d=N[a>>2];N[b+12>>2]=d;f=fd(b+12|0,e,10);c=N[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(O[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;N[b+12>>2]=d;f=fd(b+12|0,e,f);c=N[b+12>>2];if((d|0)==(c|0)){break a}}N[a>>2]=c;g=f}La=b+16|0;return g|0}function Ad(a,b){var c=0,d=0,e=0;c=La-16|0;La=c;N[c+8>>2]=a;e=N[b+20>>2];a=e+((Qa[N[b+12>>2]](c+8|0)>>>0)%Q[b+4>>2]<<2)|0;d=N[a>>2];a:{if(!d){break a}while(1){if(Qa[N[b+16>>2]](d,c+8|0)|0){break a}a=a-4|0;if(e>>>0>a>>>0){a=((N[b+4>>2]<<2)+e|0)-4|0}d=N[a>>2];if(d){continue}break}}La=c+16|0;a=N[a>>2];return a?a+4|0:0}function AC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=rf(b,c);a:{if(d){break a}a=N[b+24>>2];if((a|0)<=0){break a}b=N[b+28>>2];f=b+T(a,40)|0;a=N[c+4>>2];c=N[c+8>>2];while(1){N[a>>2]=N[b+16>>2];N[a+4>>2]=N[b+20>>2];e=P[b>>1];L[c|0]=e&1?0:e&2?2:1;c=c+1|0;a=a+8|0;b=b+40|0;if(f>>>0>b>>>0){continue}break}}return d|0}function cq(a,b,c,d,e){var f=0,g=0,h=U(0),i=U(0);if(!N[c>>2]){g=N[a+12>>2];h=R[c+12>>2];i=R[c+16>>2];f=N[a+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[g|0](a,b,c,h,i,f);N[c>>2]=1;f=N[c+16>>2];N[c+4>>2]=N[c+12>>2];N[c+8>>2]=f}g=N[a+16>>2];f=N[a+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[g|0](a,b,c,d,e,f);R[c+16>>2]=e;R[c+12>>2]=d}function sE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){a:{a=a<<24>>24;L[b+140|0]=a|64;if((a|0)<0){break a}L[b+140|0]=a|192;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),M[e+18>>1]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}ba(22778,14165,169,12138);B()}function uD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];e=N[b+96>>2];f=N[e- -64>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+44>>2]}else{e=0}b=Qa[f|0](b,g,c,d,e)|0;c=N[a+20>>2];a:{if(!c){break a}c=N[c+28>>2];a=N[a+28>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}return b|0}function gE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){a:{a=a<<24>>24;L[b+140|0]=a|64;if((a|0)<0){break a}L[b+140|0]=a|192;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),L[e+18|0]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}ba(22778,14165,169,12138);B()}function Mh(a){a=a|0;var b=0;N[a+36>>2]=500;N[a+40>>2]=400;L[a+32|0]=1;N[a+28>>2]=1;N[a+60>>2]=2333;N[a+64>>2]=0;N[a+52>>2]=1667;N[a+56>>2]=275;N[a+44>>2]=1e3;N[a+48>>2]=275;b=La-16|0;b=N[a+8>>2]^(b+8^b+12);b=b>>>20^b>>>10^b;N[a+68>>2]=b;a:{if((b|0)<0){b=0-b|0}else{if(b){break a}b=123456789}N[a+68>>2]=b}return 0}function wx(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=28592;b:{if(!cb(15866,b)){break b}c=28600;if(!cb(9592,b)){break b}c=28608;if(!cb(9676,b)){break b}c=28616;if(!cb(12514,b)){break b}c=28624;if(!cb(11276,b)){break b}c=28632;if(!cb(14667,b)){break b}if(cb(10423,b)){break a}c=28640}a=N[c+4>>2]}return a|0}function tD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];e=N[b+96>>2];f=N[e+68>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+48>>2]}else{e=0}b=Qa[f|0](b,g,c,d,e)|0;c=N[a+20>>2];a:{if(!c){break a}c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}return b|0}function qc(a){var b=0,c=0,d=0;A(+a);b=v(1)|0;v(0)|0;d=b>>>20&2047;if(d>>>0<=1074){if(d>>>0<=1021){a=a*0}else{a=(b|0)>0|(b|0)>=0?a:-a;c=a+4503599627370496+-4503599627370496-a;a:{if(c>.5){a=a+c+-1;break a}a=a+c;if(!(c<=-.5)){break a}a=a+1}a=(b|0)>0|(b|0)>=0?a:-a}}if(V(a)<2147483648){return~~a}return-2147483648}function du(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=N[a+16>>2];if(d){g=N[a+20>>2];a=d>>>1|0;while(1){c=d+f>>>1|0;c=a>>>0>=d>>>0?c:a>>>0>>0?c:a;e=N[(c<<3)+g>>2];if((e|0)==(b|0)){return P[((c<<3)+g|0)+4>>1]+1&65535}a=(b+c|0)-e|0;e=b>>>0>>0;f=e?f:c+1|0;d=e?c:d;if(f>>>0>>0){continue}break}}return 0}function Aj(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+32>>2];if(!(!b|!N[b>>2])){while(1){e=(d<<2)+b|0;a:{if(!N[e+36>>2]){break a}c=T(d,28)+b|0;if(N[c+80>>2]){N[c+80>>2]=0}_a(N[c+84>>2]);N[c+80>>2]=0;N[c+84>>2]=0;N[c+76>>2]=0;if(!O[b+4|0]){break a}_a(N[e+36>>2])}d=d+1|0;if(d>>>0>2]){continue}break}_a(b)}_a(a)}function uy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[N[a+392>>2]+(b<<2)>>2];b=d>>31;e=cg(a);a=e>>31;b=(b^d)-b|0;a=(a^e)-a|0;a:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break a}c=b&65535;b=T(c,a>>>16|0)+T(a,b>>>16|0)+(T(a&65535,c)+32768>>>16)|0}a=b;c=0-a|0;a=d>>31|1;return((((e|0)<0?0-a|0:a)|0)<0?c:b)|0}function Bi(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-16|0;La=b;d=N[a>>2];a:{if(!d){break a}c=N[d+8>>2];if(!c){break a}e=d;while(1){c=N[c+8>>2];if(c){e=N[e+8>>2];c=N[c+8>>2];if(c){continue}}break}N[b+12>>2]=d;N[b+8>>2]=N[e+8>>2];N[e+8>>2]=0;Bi(b+12|0);Bi(b+8|0);f=a,g=Ai(N[b+12>>2],N[b+8>>2]),N[f>>2]=g}La=b+16|0}function ii(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=28711;if((a|0)!=28711){c=6879;e=3439;d=3439;while(1){if((c|0)==1){return 0}b=a>>>0>>0;g=b?g:e;c=b?d:c-d|0;d=c>>>1|0;e=g+d|0;f=P[(e<<1)+567216>>1];b=P[(T(f>>>8|0,188)+((f&255)<<1)|0)+504752>>1];if((b|0)!=(a|0)){continue}break}a=f+8481|0}else{a=17005}return a}function Jz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;N[b+20>>2]=N[c>>2];d=N[c+4>>2];N[b+108>>2]=0;N[b+112>>2]=0;N[b+24>>2]=d;d=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=d;N[b+8>>2]=N[a+8>>2];N[b+12>>2]=N[a+12>>2];a=N[a+16>>2];N[b+120>>2]=0;N[b+124>>2]=0;N[b+16>>2]=a;if((wo(N[c+8>>2],b,0)|0)==-1){N[b+20>>2]=0}return 1}function md(a,b){var c=0;c=N[a+8>>2];a:{if(N[a+12>>2]-c>>3>>>0<=b>>>0){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=130;return 0}b:{c:{d:{a=(b<<3)+c|0;switch(N[a+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}return N[a>>2]<<16}a=N[a>>2];return((a>>31)+a|0)- -8192>>14}b=N[a>>2]}return b}function Qo(a,b){var c=0,d=0,e=0;a:{if(b>>>0>255){break a}c=N[a+604>>2];c=Qa[N[c+20>>2]](P[N[c+24>>2]+(b<<1)>>1])|0;d=N[a+584>>2];if(!d){break a}e=N[a+580>>2];b=0;while(1){b:{a=N[(b<<2)+e>>2];if(!a|O[a|0]!=O[c|0]){break b}if(cb(a,c)){break b}return b}b=b+1|0;if((d|0)!=(b|0)){continue}break}}return-1}function vj(a){N[a+540>>2]=0;N[a+504>>2]=a+540;N[a+468>>2]=a+504;N[a+432>>2]=a+468;N[a+396>>2]=a+432;N[a+360>>2]=a+396;N[a+324>>2]=a+360;N[a+288>>2]=a+324;N[a+252>>2]=a+288;N[a+216>>2]=a+252;N[a+180>>2]=a+216;N[a+144>>2]=a+180;N[a+108>>2]=a+144;N[a+72>>2]=a+108;N[a+36>>2]=a+72;N[a>>2]=a+36;return a}function ao(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=La-256|0;La=f;if((c|0)>=2){h=(c<<2)+b|0;N[h>>2]=f;while(1){e=a>>>0>=256?256:a;Pc(N[h>>2],N[b>>2],e);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Pc(N[g>>2],N[(d<<2)+b>>2],e);N[g>>2]=N[g>>2]+e;if((c|0)!=(d|0)){continue}break}a=a-e|0;if(a){continue}break}}La=f+256|0}function NA(a){a=a|0;var b=0,c=0,d=0,e=0;e=N[a>>2];b=N[a+8>>2];if(b){c=N[a+16>>2];d=N[c+4>>2];N[b+108>>2]=N[c>>2];N[b+112>>2]=d;N[b+124>>2]=N[c+16>>2];d=N[c+12>>2];N[b+116>>2]=N[c+8>>2];N[b+120>>2]=d}b=N[a+1512>>2];if(b){Qa[b|0](N[a+1508>>2]);b=N[a+1508>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+1508>>2]=0}}function JB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(b){f=N[d>>2]+T(N[d+4>>2],(a|0)/-4|0)|0;while(1){if(P[c+2>>1]){g=O[c+4|0]+8>>>4|0;d=0;while(1){e=f+((M[c>>1]+d|0)/4|0)|0;a=O[e|0]+g|0;L[e|0]=a-(a>>>8|0);d=d+1|0;if(d>>>0>1]){continue}break}}c=c+6|0;b=b-1|0;if(b){continue}break}}}function Po(a,b,c){var d=0,e=0;e=La-16|0;La=e;d=N[N[a+128>>2]+52>>2];a:{b:{if(!d){d=b<<2;b=d+N[a+432>>2]|0;a=d+N[a+428>>2]|0;break b}a=Qa[N[N[d>>2]>>2]](N[d+4>>2],b,e+8|0)|0;if(a){break a}b=e+12|0;a=e+8|0}d=N[b>>2];b=N[a>>2];N[c+12>>2]=b;a=0;N[c>>2]=0;N[c+4>>2]=b;N[c+8>>2]=b+d}La=e+16|0;return a}function Cp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;N[a+2748>>2]=b;c=N[b+28>>2];N[a+4>>2]=N[b+44>>2];N[a+8>>2]=N[b+48>>2];N[a+12>>2]=N[b+7720>>2];N[a+16>>2]=N[b+7724>>2];b=N[b+24>>2];N[a+2740>>2]=c|4;d=a;a=(b&-2)==2;c=a|2;e=(b|0)==4?c:a;a=(b|0)==2;c=a?c:e;b=(b&-3)==1?c:c|4;N[d+2744>>2]=a?b|8:b;return 0}function kx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=N[c+288>>2];if((e|0)<=0){break a}f=N[c+292>>2];while(1){c=N[(d<<2)+f>>2];b:{if(!c|O[c|0]!=O[a|0]){break b}if((nb(c)|0)!=(b|0)){break b}if(!bb(c,a,b)){break a}}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0}return d|0}function Pd(a,b){var c=0,d=0,e=0;c=La-16|0;La=c;L[c+15|0]=0;N[b>>2]=0;d=N[a+8>>2];a:{b:{e=N[a+20>>2];c:{if(e){if((Qa[e|0](a,d,c+15|0,1)|0)!=1){break b}d=N[a+8>>2];b=c+15|0;break c}if(Q[a+4>>2]<=d>>>0){break b}b=N[a>>2]+d|0}b=O[b|0];N[a+8>>2]=d+1;break a}N[b>>2]=85;b=0}La=c+16|0;return b<<24>>24}function nb(a){var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!O[a|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(O[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=N[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}while(1){b=c;c=b+1|0;if(O[b|0]){continue}break}}return b-a|0}function Eu(a){a=a|0;var b=0,c=0;c=N[a+28>>2];b=N[a+12>>2];if(b){Vf(b+12|0);N[b+52>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;Qa[N[c+8>>2]](c,b);N[a+12>>2]=0}if(!N[a+20>>2]){b=N[a>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0}}function uc(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;a:{if(!b){b=0;break a}c=b>>31;e=(c^b)-c|0;c=W(e);hc(d,e,0,0,0,c+81|0);e=0+N[d+8>>2]|0;c=(N[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=N[d+4>>2];b=N[d>>2]}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=e;N[a+12>>2]=f;La=d+16|0}function uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=N[a+16>>2];d=P[a+2>>1];a:{if(d+(P[a+6>>1]<<8)>>>0>>0){break a}c=P[a>>1];f=P[a+4>>1];if(c+(f<<8)>>>0>b>>>0){break a}e=b&255;if(e>>>0>d>>>0|c>>>0>e>>>0){break a}g=P[N[a+12>>2]+((e-c|0)+T((d-c|0)+1|0,(b>>>8&65535)-f|0)<<1)>>1]}return g|0}function Tf(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=L[a|0];e=b&255;if(!e|!(O[(e>>>3|0)+45040|0]>>>(b&7)&1)){break a}while(1){c=65535;if((d&65535)>>>0>6551){break a}c=b+45072|0;b=L[a+1|0];a=a+1|0;d=O[c|0]+T(d,10)|0;c=d;if(O[((b&248)>>>3|0)+45040|0]>>>(b&7)&1){continue}break}}return c&65535}function oA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=N[a+12>>2];a:{if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+65|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function Sf(a,b){var c=0,d=0,e=0;e=La-16|0;La=e;N[e+12>>2]=b;c=La-144|0;La=c;F(c,584048,144);N[c+44>>2]=a;N[c+20>>2]=a;d=-2-a|0;d=d>>>0>=2147483647?2147483647:d;N[c+48>>2]=d;a=a+d|0;N[c+28>>2]=a;N[c+16>>2]=a;Sn(c,16764,b);if(d){a=N[c+20>>2];L[a-((a|0)==N[c+16>>2])|0]=0}La=c+144|0;La=e+16|0}function QA(a){a=a|0;var b=0,c=0;b=N[a+20>>2];if(!b){return 3}a:{b:{if(O[a+68|0]){a=N[a+12>>2];if((M[a+20>>1]+M[a+56>>1]|0)+1>>>0>Q[a+8>>2]){a=Sb(a,0,1);if(a){break a}}c=P[b>>1];a=c<<16>>16;if((a|0)<=0){break b}M[(N[b+12>>2]+(c<<1)|0)-2>>1]=P[b+2>>1]-1}a=P[b>>1]}M[b>>1]=a+1;a=0}return a|0}function lB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{if(!cb(b,16934)){b=N[c>>2];d=6;if(b-33>>>0<4294967265){break a}N[a+64>>2]=b;break b}if(!cb(b,12859)){L[a+68|0]=N[c>>2]!=0;return 0}if(!cb(b,7976)){L[a+69|0]=N[c>>2]!=0;return 0}d=12;if(cb(b,10583)){break a}L[a+70|0]=O[c|0]}d=0}return d|0}function Xz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=ze(N[b+92>>2],c);N[e>>2]=a;a:{if(!a){break a}a=on(b,a,d);N[e>>2]=a;if(!a){break a}N[f+28>>2]=a;b=0;a=sc(N[f>>2],f+8|0,c>>>0>752?N[f+32>>2]?f:0:0);b:{if(!a){break b}if(N[a>>2]>=0){b=a;break b}tb(a)}tb(b);g=1}return g|0}function Sq(a){a=a|0;var b=0,c=0;a=N[a+660>>2];if(N[a+20>>2]){if(N[a+8>>2]>0){while(1){b=N[a+20>>2]+T(c,56)|0;_a(N[b+28>>2]);_a(N[b+44>>2]);_a(N[b+48>>2]);_a(N[b+52>>2]);c=c+1|0;if((c|0)>2]){continue}break}}N[a+8>>2]=0}_a(N[N[a+88>>2]+20>>2]);a=N[a+88>>2];N[a+20>>2]=0;N[a+24>>2]=0}function Ot(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(O[a+292|0]?a+296|0:0)|0;case 2:return(P[a+372>>1]!=65535?a+372|0:0)|0;case 5:return a+476|0;case 1:return a+260|0;case 6:c=N[a+568>>2]?a+568|0:0;break;default:break a}}return c|0}function rh(a,b,c,d){var e=0,f=0,g=0;e=La-160|0;La=e;f=b?a:e+158|0;N[e+148>>2]=f;a=-1;g=b-1|0;N[e+152>>2]=b>>>0>=g>>>0?g:0;C(e,0,144);N[e+76>>2]=-1;N[e+36>>2]=199;N[e+80>>2]=-1;N[e+44>>2]=e+159;N[e+84>>2]=e+148;a:{if((b|0)<0){N[147316]=61;break a}L[f|0]=0;a=zi(e,c,d)}La=e+160|0;return a}function yq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];a:{if(Qa[N[e+24>>2]](e,b,N[e+56>>2])>>>0<=31){e=N[a+12>>2];f=0;if(1<>2]](e,b,N[e+56>>2])&7168){break a}}a=N[a+12>>2];N[d>>2]=0;f=0;if(!b|!c){break a}f=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return f|0}function pz(a,b){a=a|0;b=b|0;var c=0;c=N[b+20>>2];if(c){_a(N[c-4>>2])}c=N[b+44>>2];if(c){_a(N[c-4>>2])}b=N[b+68>>2];if(b){_a(N[b-4>>2])}if(N[a+24>>2]){b=0;while(1){c=T(b,24);tb(N[c+N[a+28>>2]>>2]);tb(N[(c+N[a+28>>2]|0)+4>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[a+28>>2])}function Kq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;N[d+4>>2]=c;N[d>>2]=b;e=La-16|0;La=e;N[e+12>>2]=d;Sn(589104,25129,d);La=e+16|0;a=N[a+384>>2];N[a+860>>2]=b?b:1e4;a:{if(!c){b=67108864;c=134217728;break a}c=c<<20;b=(c>>>0)/3|0;c=c-b|0}N[a+868>>2]=b;N[a+864>>2]=c;La=d+16|0}function Bt(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1886352244,b,0)|0;a:{if(c){break a}c=rb(b,178992,a+476|0);if(c){break a}c=154;a=N[a+476>>2];b:{if((a|0)<=151551){if((a|0)==65536|(a|0)==131072){break b}break a}if((a|0)==196608){break b}if((a|0)!=151552){break a}}c=0}return c|0}function xx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[a+736>>2];a:{b:{if(f){if(b){N[b>>2]=N[f>>2]}if(c){N[c>>2]=N[f+4>>2]}if(d){N[d>>2]=N[N[a+736>>2]+8>>2]}if(!e){break a}a=N[N[a+736>>2]+12>>2];break b}if(b){N[b>>2]=0}if(c){N[c>>2]=0}a=0;if(!e){break a}}N[e>>2]=a}return 0}function qb(a){var b=0,c=0;c=N[a+12>>2];a:{if((c|0)==N[a+8>>2]){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=161;return 0}b=a;a=c-8|0;N[b+12>>2]=a;b:{switch(N[a+4>>2]-1|0){case 1:return N[a>>2]<<16;case 0:a=N[a>>2];return((a>>31)+a|0)- -8192>>14;default:break b}}b=N[a>>2]}return b}function BA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=Qa[N[a+20>>2]](P[N[a+16>>2]+(b<<1)>>1])|0;d=N[a+24>>2];if(!d){break a}e=N[a+28>>2];while(1){a=N[(c<<2)+e>>2];if(!(!a|O[a|0]!=O[b|0])){if(!cb(a,b)){break a}}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=0}return c|0}function th(a){var b=0,c=0,d=0,e=0;b=go(a,61);if((b|0)==(a|0)){return 0}d=b-a|0;a:{if(O[d+a|0]){break a}b=N[147572];if(!b){break a}c=N[b>>2];if(!c){break a}while(1){b:{if(!bb(a,c,d)){c=c+d|0;if(O[c|0]==61){break b}}c=N[b+4>>2];b=b+4|0;if(c){continue}break a}break}e=c+1|0}return e}function vz(a,b){a=a|0;b=b|0;var c=0;a:{if(N[a>>2]!=N[b>>2]|N[a+4>>2]!=N[b+4>>2]|(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2])){break a}if(N[a+16>>2]!=N[b+16>>2]|N[a+20>>2]!=N[b+20>>2]|(N[a+24>>2]!=N[b+24>>2]|N[a+28>>2]!=N[b+28>>2])){break a}c=N[a+32>>2]==N[b+32>>2]}return c|0}function Zs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[a+16>>2];c=P[a+8>>1];a=c+1|0;b=Qa[N[b+4>>2]](b,a)|0;if(!b){return 0}C(b,0,a);a=0;a:{if(!c){break a}while(1){e=L[d|0];if(!e){break a}L[a+b|0]=(e|0)<32?63:e;d=d+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}L[a+b|0]=0;return b|0}function uz(a,b){a=a|0;b=b|0;var c=0;if(a){c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;N[a+32>>2]=N[b+32>>2];c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;return 1}tb(N[b>>2]);return 1}function Fh(a){var b=0,c=0,d=0;b=N[a>>2];if(b){c=N[b+28>>2];d=N[a+32>>2];if(d){if(N[b+20>>2]){Qa[N[c+8>>2]](c,d)}N[a+32>>2]=0}b=N[a+28>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0;N[a+4>>2]=0;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0}}function xj(a,b){var c=0,d=0,e=0;c=N[a>>2];a:{if((c|0)<0){break a}d=1;if(b>>>0<=c>>>0){break a}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=b>>>0){continue}break}b=-1;d=0;b:{if(c>>>0>1073741823){break b}e=$a(N[a+8>>2],c<<2);if(!e){break b}N[a+8>>2]=e;d=1;b=c}N[a>>2]=b}return d}function nA(a){a=a|0;var b=0,c=0;b=N[a+20>>2];a:{b:{if(O[a+65|0]){a=N[a+12>>2];if((M[a+20>>1]+M[a+56>>1]|0)+1>>>0>Q[a+8>>2]){a=Sb(a,0,1);if(a){break a}}c=P[b>>1];a=c<<16>>16;if((a|0)<=0){break b}M[(N[b+12>>2]+(c<<1)|0)-2>>1]=P[b+2>>1]-1}a=P[b>>1]}M[b>>1]=a+1;a=0}return a|0}function rc(a,b,c,d){var e=0,f=0,g=0;a:{e=N[b>>2];if((e|0)>7){break a}b:{if(c>>>0>=d>>>0){break b}while(1){f=d-1|0;g=O[f|0];if((g|0)!=32&(g|0)!=9){break b}d=f;if(d>>>0>c>>>0){continue}break}d=c}if(c>>>0>=d>>>0){break a}a=(e<<3)+a|0;N[a+4>>2]=d;N[a>>2]=c;N[b>>2]=N[b>>2]+1}}function hd(a,b,c){var d=0,e=0,f=0,g=0;e=nb(b)+nb(c)|0;d=e+1|0;a:{b:{if(e>>>0<=2147483646){a=Qa[N[a+4>>2]](a,d)|0;if(a){break b}return 0}a=0;if(d){break a}}d=gi(b,47);c:{if(d){e=b;b=(d-b|0)+1|0;f=fg(a,e,b)+b|0,g=0,L[f|0]=g;b=d+1|0;break c}L[a|0]=0}a=wn(wn(a,c),b)}return a}function Qx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;b=N[a+24>>2];f=N[b+20>>2];a:{b:{if(f){e=85;if(!(Qa[f|0](b,c,0,0)|0)){break b}break a}e=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=c;e=Bb(b,d);if(e){break a}N[a+196>>2]=N[b+32>>2];N[a+200>>2]=N[b+36>>2];e=0}return e|0}function ho(a){var b=0,c=0,d=0;b=N[a+40>>2];c=Qa[b|0](a,0,0,O[a|0]&128?N[a+20>>2]==N[a+28>>2]?1:2:1)|0;b=Pa;a:{if((b|0)<0){break a}d=N[a+8>>2];if(d){a=a+4|0}else{d=N[a+28>>2];if(!d){break a}a=a+20|0}a=N[a>>2]-d|0;c=a+c|0;b=(a>>31)+b|0;b=a>>>0>c>>>0?b+1|0:b}Pa=b;return c}function ue(a,b,c){var d=0,e=0,f=0;a:{if(!b){d=a;break a}while(1){d=WE(a,b,10,0);e=Pa;a=UE(d,e,246,0)+a|0;c=c-1|0;L[c|0]=a|48;f=b>>>0>9;a=d;b=e;if(f){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;L[c|0]=T(a,246)+d|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function Lh(a,b,c,d){var e=0,f=0,g=0;f=N[147443]+1|0;N[147443]=f;N[a>>2]=f;if(d){while(1){g=(e<<3)+c|0;if(!N[g>>2]){N[g>>2]=f;a=(e<<3)+c|0;N[a+4>>2]=b;N[a+8>>2]=0;Ma=d;return c}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=Lh(e,b,$a(c,d<<4|8),a);Ma=a;return b}function cf(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+-2.5050760253406863e-8)+(d*(d*27557313707070068e-22+-.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+-.16666666666666632)+a}return a-(d*(b*.5-f*e)-b+e*.16666666666666632)}function Su(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=N[a+420>>2];if((d|0)>0){f=N[a+424>>2];g=O[b|0];while(1){a:{e=N[(c<<2)+f>>2];if(O[e|0]!=(g|0)){break a}if(cb(b,e)){break a}return Kb(N[N[a+428>>2]+(c<<2)>>2],0)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function tB(a,b){a=a|0;b=b|0;var c=0,d=0;c=6;a:{if(!a){break a}d=N[b>>2];if(!d){break a}c=Qa[N[d+4>>2]](d,16)|0;if(!c){return!c<<6}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[a+4>>2];N[c>>2]=N[a>>2];N[c+4>>2]=d;N[c+12>>2]=N[b+4>>2];N[b+4>>2]=c;c=0}return c|0}function nv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(!N[c+80>>2]){e=b-a|0;b=e+1|0;b:{if(e>>>0<=2147483646){d=N[c>>2];b=Qa[N[d+4>>2]](d,b)|0;if(b){break b}d=64;break a}d=6;if(b){break a}b=0}N[c+80>>2]=b;F(b,a,e);L[N[c+80>>2]+e|0]=0}return 0}N[c+80>>2]=0;return d|0}function tw(a){a=a|0;var b=0,c=0,d=0;c=N[a+16>>2];b=161;a:{if(Q[a+20>>2]>>0){break a}d=N[a+32>>2];c=Lc(a,N[c>>2]);b=3;if(c-17>>>0<4294967281){break a}M[d+176>>1]=c;b=d;d=(N[a+20>>2]-N[a+16>>2]>>>2|0)-4|0;M[b+178>>1]=d;M[a+38>>1]=d;M[a+36>>1]=c;b=0}return b|0}function rs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+44>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function Is(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+28>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function $r(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+48>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function zB(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+16>>2];N[a+32>>2]=b;d=N[a+20>>2];N[a+36>>2]=d;c=N[a+8>>2];e=c+N[a>>2]|0;N[a+8>>2]=e>>1;b=b+c|0;N[a+24>>2]=b>>1;N[a+16>>2]=b+e>>2;b=N[a+12>>2];c=b+N[a+4>>2]|0;N[a+12>>2]=c>>1;b=b+d|0;N[a+28>>2]=b>>1;N[a+20>>2]=b+c>>2}function mu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+4>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function Ye(a){var b=0,c=0,d=0;a:{if(!a){break a}b=L[a|0];d=b&255;if(!d|!(O[(d>>>3|0)+45040|0]>>>(b&7)&1)){break a}while(1){if(c>>>0>429496727){return-1}c=O[b+45072|0]+T(c,10)|0;b=L[a+1|0];a=a+1|0;if(O[((b&248)>>>3|0)+45040|0]>>>(b&7)&1){continue}break}}return c}function si(a){var b=0,c=0,d=0,e=0;while(1){b=a;a=a+1|0;c=L[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{switch(c-43|0){case 2:e=1;case 0:b=a;break;default:break a}}while(1){a=L[b|0];if(a-48>>>0<10){b=b+1|0;d=(T(d,10)-a|0)+48|0;continue}break}return e?d:0-d|0}function kE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){L[b+140|0]=a|64;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),L[e+18|0]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}ba(22778,14165,169,12138);B()}function Lu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function $x(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[((c<<2)+a|0)+268>>2];e=N[a+508>>2];c=N[a+512>>2];a=N[a+516>>2];if((b|0)>=0){a=((a+d|0)-c|0)+b|0;a=c+(a-((a|0)%(e|0)|0)|0)|0;return((a|0)<0?c:a)|0}a=a+d-(b+c)|0;a=(a|0)%(e|0)-(a+c)|0;return((a|0)>0?0-c|0:a)|0}function oe(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;a:{if(!b){b=0;break a}d=b;b=W(b);hc(c,d,0,0,0,b+81|0);d=0+N[c+8>>2]|0;b=(N[c+12>>2]^65536)+(16414-b<<16)|0;f=e>>>0>d>>>0?b+1|0:b;e=N[c+4>>2];b=N[c>>2]}N[a>>2]=b;N[a+4>>2]=e;N[a+8>>2]=d;N[a+12>>2]=f;La=c+16|0}function NC(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;a=0;g=N[b+12>>2];a:{if(vc(g,c,N[b>>2])){break a}b=N[g+84>>2];if(N[b+72>>2]!=1869968492|M[b+110>>1]>>>0<=d>>>0){break a}a=N[b+112>>2]+(d<<3)|0;N[e>>2]=N[a>>2];N[f>>2]=N[a+4>>2];a=1}return a|0}function Kw(a,b){a=a|0;b=b|0;var c=0;a=N[a+712>>2];b=P[N[a+1188>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[a+1356>>2]){break a}return N[N[a+1360>>2]+(b<<2)>>2]}a=N[a+3084>>2];if(!a){break a}c=Qa[N[a+20>>2]](b)|0}return c|0}function yv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=N[a>>2];c=N[b+408>>2];N[a+16>>2]=c;d=N[b+416>>2];N[a+20>>2]=d;a:{if(c>>>0<2){break a}b=N[d>>2];a=1;while(1){e=b;b=N[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function jv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[a+88>>2];if(b){N[b>>2]=N[a+300>>2]}if(c){N[c>>2]=N[a+304>>2]}a:{if(!f){c=65536;a=65536;break a}a=N[a+304>>2];c=fb(P[f+12>>1]<<6,a);a=fb(P[f+14>>1]<<6,a)}if(d){N[d>>2]=c}if(e){N[e>>2]=a}return 0}function hv(a){a=a|0;var b=0,c=0,d=0,e=0;d=11;b=N[a+4>>2];a:{if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[N[b>>2]>>2];if(cb(N[e+8>>2],15504)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}N[a+28>>2]=e;d=0}return d|0}function Vt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=La-16|0;La=e;a=Pf(a,b,e+12|0);if(!a){a:{if(d>>>0<2){break a}b=N[e+12>>2];while(1){f=O[b|0];if(!f){break a}L[c|0]=f;c=c+1|0;b=b+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0}La=e+16|0;return a|0}function Dh(a){var b=0,c=0,d=0;c=La-16|0;La=c;L[c+15|0]=10;b=N[a+16>>2];a:{if(!b){if(Hh(a)){break a}b=N[a+16>>2]}d=b;b=N[a+20>>2];if(!((d|0)==(b|0)|N[a+80>>2]==10)){N[a+20>>2]=b+1;L[b|0]=10;break a}if((Qa[N[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}La=c+16|0}function mi(a){var b=0,c=0;b=N[a+72>>2];N[a+72>>2]=b-1|b;if(N[a+20>>2]!=N[a+28>>2]){Qa[N[a+36>>2]](a,0,0)|0}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;b=N[a>>2];if(b&4){N[a>>2]=b|32;return-1}c=N[a+44>>2]+N[a+48>>2]|0;N[a+8>>2]=c;N[a+4>>2]=c;return b<<27>>31}function Yt(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=179264;b:{if(!cb(16067,b)){break b}c=179272;if(!cb(15866,b)){break b}c=179280;if(!cb(9592,b)){break b}c=179288;if(!cb(15278,b)){break b}if(cb(10557,b)){break a}c=179296}a=N[c+4>>2]}return a|0}function Ft(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{if(c){c=Qa[N[a+516>>2]](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=Qa[N[a+516>>2]](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=rb(b,178592,a);if(c){break a}N[a+36>>2]=0;N[a+40>>2]=0;c=0}return c|0}function Gz(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;N[a+16>>2]=N[b+16>>2];c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;d=N[b>>2];c=N[b+4>>2];b=kb(c+1|0);if(b){F(b,d,c);L[b+c|0]=0}N[a>>2]=b;return(b|0)!=0|0}function cd(a,b,c){var d=0,e=0,f=0,g=0;N[a+112>>2]=b;N[a+116>>2]=c;e=N[a+4>>2];d=N[a+44>>2]-e|0;N[a+120>>2]=d;N[a+124>>2]=d>>31;d=N[a+8>>2];a:{if(!(b|c)){break a}f=d-e|0;g=f>>31;if((c|0)>=(g|0)&b>>>0>=f>>>0|(c|0)>(g|0)){break a}d=b+e|0}N[a+104>>2]=d}function vA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=N[b>>2]+1|0;d=N[a+16>>2];c=c>>>0>d>>>0?c:d;d=d+N[a+20>>2]|0;a:{if(c>>>0>>0){e=N[a+24>>2];while(1){a=P[(c<<1)+e>>1];if(a){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=0;c=0}N[b>>2]=c;return a|0}function Dl(){var a=0,b=0,c=0,d=0,e=0;b=th(19476);a=2;a:{if(!b){break a}a=2;if(!O[b|0]){break a}while(1){c=lc(b,58);if(!c){c=nb(b)+b|0}e=a|4;d=a;a=c-b|0;a=bb(b,16042,a)?d:(a|0)==24?e:d;b=(O[c|0]!=0)+c|0;if(O[b|0]){continue}break}a=a&255}N[147450]=a}function ob(a,b){var c=0,d=0,e=0;c=a>>31;d=(c^a)-c|0;c=b>>31;c=(c^b)-c|0;a:{if(d+(c>>>8|0)>>>0<=8190){c=T(c,d)+32768>>>16|0;break a}e=d&65535;c=T(e,c>>>16|0)+T(c,d>>>16|0)+(T(c&65535,e)+32768>>>16)|0}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-c|0:c}function Qv(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=34576;b:{if(!cb(9676,b)){break b}c=34584;if(!cb(15866,b)){break b}c=34592;if(!cb(12514,b)){break b}c=34600;if(!cb(20421,b)){break b}if(cb(11276,b)){break a}c=34608}a=N[c+4>>2]}return a|0}function Vd(a,b){var c=0,d=0,e=0;A(+a);d=v(1)|0;e=v(0)|0;c=d>>>20&2047;if((c|0)!=2047){if(!c){if(a==0){c=0}else{a=Vd(a*0x10000000000000000,b);c=N[b>>2]+-64|0}N[b>>2]=c;return a}N[b>>2]=c-1022;x(0,e|0);x(1,d&-2146435073|1071644672);a=+z()}return a}function ly(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=M[a+302>>1];if(e){f=N[b+12>>2]+(c<<3)|0;g=f,h=jb(d,e,N[a+596>>2])+N[f>>2]|0,N[g>>2]=h}e=M[a+304>>1];if(e){b=N[b+12>>2]+(c<<3)|0;g=b,h=jb(d,e,N[a+596>>2])+N[b+4>>2]|0,N[g+4>>2]=h}}function nc(a){var b=0,c=0;c=N[a+12>>2];a:{if((c|0)==N[a+8>>2]){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=161;return 0}if(N[c-4>>2]!=2){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=160;return 0}b=a;a=c-8|0;N[b+12>>2]=a;b=N[a>>2]}return b}function Qm(a,b){var c=0,d=0,e=0,f=0;c=b>>>20&2047;e=0;a:{if(c>>>0<1023){break a}e=2;if(c>>>0>1075){break a}c=1075-c|0;d=c&31;if((c&63)>>>0>=32){c=1<>>32-d;d=f}f=d-1|0;e=0;if(a&f|b&c-!d){break a}e=a&d|b&c?1:2}return e}function yw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=La-16|0;La=e;f=N[N[a+128>>2]+52>>2];a:{if(f){a=Qa[N[N[f>>2]>>2]](N[f+4>>2],b,e+8|0)|0;N[c>>2]=N[e+8>>2];N[d>>2]=N[e+12>>2];break a}a=Xf(N[a+712>>2]+1204|0,b,c,d)}La=e+16|0;return a|0}function rv(a){a=a|0;var b=0,c=0;c=N[N[a+188>>2]>>2];b=N[a+168>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+172>>2]=0;N[a+164>>2]=0;N[a+168>>2]=0;b=N[a+184>>2];if(b){Qa[N[c+8>>2]](c,b)}L[a+192|0]=0;N[a+184>>2]=0;N[a+188>>2]=0;N[a+176>>2]=0;N[a+180>>2]=0}function bf(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+-.001388888888887411)+.0416666666666666)+d*d*(c*(c*-11359647557788195e-27+2.087572321298175e-9)+-2.7557314351390663e-7))-a*b))}function bD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;return 0}function ev(a,b){a=a|0;b=b|0;var c=0;c=La-32|0;La=c;Qa[N[a>>2]](c+8|0,b);a=eb(24);b=N[c+28>>2];N[a+16>>2]=N[c+24>>2];N[a+20>>2]=b;b=N[c+20>>2];N[a+8>>2]=N[c+16>>2];N[a+12>>2]=b;b=N[c+12>>2];N[a>>2]=N[c+8>>2];N[a+4>>2]=b;La=c+32|0;return a|0}function Mm(a,b){a=a|0;b=b|0;var c=0;c=N[a+136>>2];N[b>>2]=N[a+132>>2];N[b+4>>2]=c;c=N[a+160>>2];N[b+24>>2]=N[a+156>>2];N[b+28>>2]=c;c=N[a+152>>2];N[b+16>>2]=N[a+148>>2];N[b+20>>2]=c;c=N[a+144>>2];N[b+8>>2]=N[a+140>>2];N[b+12>>2]=c;return 0}function Bv(a,b){a=a|0;b=b|0;var c=0;c=N[a+192>>2];N[b+24>>2]=N[a+188>>2];N[b+28>>2]=c;c=N[a+184>>2];N[b+16>>2]=N[a+180>>2];N[b+20>>2]=c;c=N[a+176>>2];N[b+8>>2]=N[a+172>>2];N[b+12>>2]=c;c=N[a+168>>2];N[b>>2]=N[a+164>>2];N[b+4>>2]=c;return 0}function cs(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[b>>2];a:{if(c>>>0>65534){break a}if(L[a+20|0]&1){return Il(N[a>>2],N[a+16>>2],b,1)|0}if((c|0)==N[a+24>>2]){Gl(a);c=N[a+28>>2];if(!c){break a}N[b>>2]=N[a+24>>2];return c|0}d=Hl(a,b,1)}return d|0}function _x(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[((c<<2)+a|0)+268>>2];c=N[a+512>>2];e=N[a+516>>2];if((b|0)>=0){a=c+(((b+d|0)+e|0)-c&0-N[a+508>>2])|0;return((a|0)<0?c:a)|0}a=0-(c+(d+e-(b+c)&0-N[a+508>>2])|0)|0;return((a|0)>0?0-c|0:a)|0}function lz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=N[a+28>>2];d=N[a+20>>2];b=N[b+28>>2];e=N[b+20>>2];c=-1;a:{if((d|0)<(e|0)){break a}c=1;if((d|0)>(e|0)){break a}a=N[a+16>>2];b=N[b+16>>2];c=-1;if((a|0)<(b|0)){break a}c=(a|0)>(b|0)}return c|0}function _B(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(N[a+4>>2]){break a}e=c;g=a+52|0;f=N[g>>2];c=N[a+16>>2];if((e|0)!=(f+c|0)){break a}e=N[a>>2];c=Cg(a+16|0,d,f,c,b,e);if(!c){c=Cg(g,d,0,f,b,e);if(!c){break a}}N[a+4>>2]=c}}function SA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+20>>2];if(O[a+68|0]){a=N[e+8>>2];f=M[e+2>>1];g=N[e+4>>2]+(f<<3)|0;N[g+4>>2]=((c>>31)+c|0)+32768>>16;N[g>>2]=((b>>31)+b|0)+32768>>16;L[a+f|0]=d?1:2}M[e+2>>1]=P[e+2>>1]+1}function Nt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;a:{if(!d|!e){break a}g=P[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=N[a+156>>2]+(b<<4)|0;N[c>>2]=N[a>>2];N[d>>2]=N[a+8>>2];g=N[a+12>>2]}N[e>>2]=g;f=0}return f|0}function Oz(a){a=a|0;var b=0,c=0,d=0,e=0;c=La-32|0;La=c;a=N[a+4>>2];a:{if(!a){break a}b=N[a+96>>2];d=N[N[b>>2]+32>>2];if(!d){break a}b=Qa[d|0](b,12514)|0;if(!b){break a}b=N[b>>2];if(!b){break a}e=!(Qa[b|0](a,c)|0)}La=c+32|0;return e|0}function xv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[a+16>>2];if(c){f=N[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=N[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function dB(a){a=a|0;var b=0,c=0;if(N[a+12>>2]==-559038737){c=N[a+32>>2];b=N[a>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+28>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+12>>2]=0;N[a+28>>2]=0}}function im(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=La-16|0;La=c;e=c+4|0;Qa[N[a>>2]](e,b);b=O[c+15|0];f=b<<24>>24;a=(f|0)<0;b=a?N[c+8>>2]:b;d=kb(b+4|0);N[d>>2]=b;g=N[c+4>>2];F(d+4|0,a?g:e,b);if((f|0)<0){_a(g)}La=c+16|0;return d|0}function bb(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=O[a|0];a:{if(!d){break a}while(1){b:{e=O[b|0];if((e|0)!=(d|0)|!e){break b}c=c-1|0;if(!c){break b}b=b+1|0;d=O[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-O[b|0]|0}function Wt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=xh(a,18649,d);a:{if(e){break a}e=xh(a,19963,d+8|0);if(e){break a}e=6;if(N[d>>2]!=1|N[d+8>>2]!=1){break a}N[b>>2]=N[d+12>>2];N[c>>2]=N[d+4>>2];e=0}La=d+16|0;return e|0}function rg(a,b,c){var d=0;c=(1-c)*+O[a|0]+ +(b>>>0)*c;A(+c);b=v(1)|0;d=v(0)|0;b=b&2147483647;d=(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072;if(V(c)<2147483648){b=~~c}else{b=-2147483648}L[a|0]=c>=2147483648?0:c<=-2147483648?0:d?0:b}function pv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;qm(a,b,c,d);b=N[a+300>>2];a=N[a+304>>2];a:{if((b|0)==(a|0)){break a}c=N[d>>2];if(c){e=d,f=jb(c,b,a),N[e>>2]=f}c=N[d+4>>2];if(!c){break a}e=d,f=jb(c,b,a),N[e+4>>2]=f}return 0}function iy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{switch(N[N[N[a>>2]+96>>2]+64>>2]-35|0){case 5:if(O[a+643|0]){break a}break;case 0:break b;default:break a}}a=N[b+16>>2]+(c<<3)|0;N[a>>2]=N[a>>2]+d}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|8}function uw(a){a=a|0;var b=0,c=0,d=0,e=0;b=161;c=N[a+16>>2];a:{if(Q[a+20>>2]>>0){break a}d=N[a+32>>2];b=3;e=Lc(a,N[c>>2]);if((e|0)<0){break a}N[d+120>>2]=e;a=Lc(a,N[c+4>>2]);if((a|0)<0){break a}N[d+116>>2]=a;b=0}return b|0}function kB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!cb(b,16934)){a=N[a+64>>2];break b}if(!cb(b,12859)){a=O[a+68|0];break b}if(!cb(b,7976)){a=O[a+69|0];break b}d=12;if(cb(b,10583)){break a}a=O[a+70|0]}N[c>>2]=a;d=0}return d|0}function dA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=N[a>>2];d=a&2147483647;b=N[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function $B(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(N[a+4>>2]){break a}d=N[a+16>>2];e=a+52|0;f=N[e>>2];if((d+f|0)!=(b|0)){break a}g=N[a>>2];b=Cg(a+16|0,c,0,d,0,g);if(!b){b=Cg(e,c,d,f,0,g);if(!b){break a}}N[a+4>>2]=b}}function Zb(a,b,c){var d=0,e=0,f=0;d=N[a+8>>2];f=N[a+4>>2];if(d>>>0>>0){e=N[a+20>>2];a:{if(e){b=Qa[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>>0?b:c;F(e,N[a>>2]+d|0,b)}N[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function qD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];if(e){L[d|0]=0}g=N[a+96>>2];b=N[g+80>>2];f=N[a+100>>2];g=N[g+12>>2];if(!g){return Qa[b|0](a,f,c,d,e,0)|0}return Qa[b|0](a,f,c,d,e,N[g+60>>2])|0}function pD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];N[e>>2]=0;if((d|0)==-1){d=nb(c)}b=N[a+96>>2];f=N[b+84>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+64>>2]}else{b=0}return Qa[f|0](a,g,c,d,e,b)|0}function sw(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+16>>2];if(Q[a+20>>2]>=b+12>>>0){c=N[a+32>>2];d=c,e=Lc(a,N[b>>2]),N[d+132>>2]=e;d=c,e=Lc(a,N[b+4>>2]),N[d+136>>2]=e;d=c,e=Lc(a,N[b+8>>2]),N[d+140>>2]=e;a=0}else{a=161}return a|0}function VE(a,b,c,d){var e=0,f=0,g=0,h=0;f=b^d;g=f>>31;e=b>>31;a=a^e;h=a-e|0;e=(b^e)-((a>>>0>>0)+e|0)|0;a=d>>31;b=c^a;f=f>>31;a=WE(h,e,b-a|0,(a^d)-((a>>>0>b>>>0)+a|0)|0)^f;b=a-f|0;Pa=(g^Pa)-((a>>>0>>0)+g|0)|0;return b}function dr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{a=N[a+384>>2];if(!(N[a- -64>>2]!=(d|0)|N[a+68>>2]!=(e|0)|N[a+56>>2]!=(b|0))){if(N[a+60>>2]==(c|0)){break a}}N[a+64>>2]=d;N[a+68>>2]=e;N[a+60>>2]=c;N[a+56>>2]=b;xg(a)}}function eC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(N[a+4>>2]){break a}d=(T((b|0)!=0,36)+a|0)+16|0;b=N[c>>2];e=((b>>31)+b|0)+32768>>16;b=N[c+4>>2];b=of(d,e,((b>>31)+b|0)+32768>>16,N[a>>2],0);if(!b){break a}N[a+4>>2]=b}}function Qz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;a=0;a:{if(vc(b,c,2560)){break a}b=N[b+84>>2];if(M[b+110>>1]>>>0<=d>>>0){break a}a=N[b+112>>2]+(d<<3)|0;N[e>>2]=N[a>>2];N[f>>2]=N[a+4>>2];a=1}return a|0}function Rz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[e+28>>2]=c;c=0;a=sc(N[e>>2],e+8|0,0);if(a){b=N[a>>2];if((b|0)>=0){N[d>>2]=N[a+8>>2];c=N[a+12>>2];N[d+8>>2]=b;N[d+4>>2]=c;N[d+12>>2]=0-N[a+4>>2];c=1}tb(a)}return c|0}function Pz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[N[a>>2]+12>>2];f=N[a+8>>2];a=N[(e+T(f,12)|0)+8>>2];if(!b){return a|0}if(a>>>0>c>>>0){a=a-c|0;g=a>>>0>>0?a:d;F(b,N[(T(f,12)+e|0)+4>>2]+c|0,g)}return g|0}function nD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=f|0;var g=0;a=N[b>>2];f=N[a+12>>2];g=N[b+4>>2];d=U(U(R[b+8>>2]*d)+U(R[b+16>>2]*e));e=U(R[b+12>>2]*e);b=N[a+32>>2];if(b){b=N[b>>2]}else{b=0}Qa[f|0](a,g,c,d,e,b)}function UE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=T(e,f);g=c&65535;h=a&65535;i=T(g,h);f=(i>>>16|0)+T(f,g)|0;e=(f&65535)+T(e,h)|0;Pa=(T(b,c)+j|0)+T(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function Fp(a,b){a=a|0;b=b|0;var c=0;c=N[b+4>>2];N[a+4>>2]=N[b>>2];N[a+8>>2]=c;N[a+28>>2]=N[b+24>>2];c=N[b+20>>2];N[a+20>>2]=N[b+16>>2];N[a+24>>2]=c;c=N[b+12>>2];N[a+12>>2]=N[b+8>>2];N[a+16>>2]=c;Ep(a,b,0);Ep(a,b,1)}function gv(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=36800;b:{if(!cb(9592,b)){break b}c=36808;if(!cb(15866,b)){break b}c=36816;if(!cb(12514,b)){break b}if(cb(9676,b)){break a}c=36824}a=N[c+4>>2]}return a|0}function Tt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=La-16|0;La=d;e=N[a+16>>2];a:{if((e|0)>0){while(1){if(!Pf(a,c,d+12|0)){if(!cb(b,N[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}La=d+16|0;return c|0}function gy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break a}}a=N[b+16>>2]+(c<<3)|0;N[a+4>>2]=N[a+4>>2]+d}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|16}function Xh(a,b,c,d){var e=0,f=0;f=N[a+4>>2];if(f>>>0>b>>>0){e=N[a+20>>2];a:{if(e){c=Qa[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>>0?c:d;F(e,N[a>>2]+b|0,c)}N[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function Ex(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(cb(b,12798)){break a}e=7;b:{c:{if(d){b=Kb(c,0);break c}b=N[c>>2]}switch(b-35|0){case 0:case 5:break b;default:break a}}N[a+64>>2]=b;e=0}return e|0}function pt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=Qa[N[a+516>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){N[(c?756:752)+a>>2]=N[d+12>>2];N[(c?856:852)+a>>2]=N[b+8>>2]}La=d+16|0;return e|0}function On(a,b,c){var d=0;d=N[a+16>>2];if(!d){N[a+36>>2]=1;N[a+24>>2]=c;N[a+16>>2]=b;return}a:{if((b|0)==(d|0)){if(N[a+24>>2]!=2){break a}N[a+24>>2]=c;return}L[a+54|0]=1;N[a+24>>2]=2;N[a+36>>2]=N[a+36>>2]+1}}function ht(a){a=a|0;var b=0,c=0,d=0;b=N[a+868>>2];if(b){c=N[a+100>>2];a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}d=N[b+12>>2];if(!d){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,d)}N[b+12>>2]=0;Qa[N[c+8>>2]](c,b)}}function gt(a){a=a|0;var b=0,c=0,d=0;b=N[a+872>>2];if(b){c=N[a+100>>2];a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}d=N[b+36>>2];if(!d){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,d)}N[b+36>>2]=0;Qa[N[c+8>>2]](c,b)}}function Jm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d>>>0<2){break a}b=N[N[a+424>>2]+(b<<2)>>2];while(1){a=O[b|0];if(!a){break a}L[c|0]=a;c=c+1|0;b=b+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0;return 0}function Ab(a,b,c,d){var e=0,f=0;a:{if(b-a>>>0>>0){break a}while(1){a=ub(a,c);e=(a|0)!=0&a>>>0>>0;if(!e){break a}a=a+d|0;f=O[a|0];if((f-48&255)>>>0<10|((f&-33)-65&255)>>>0<26){continue}break}}return e}function ty(a){a=a|0;var b=0,c=0;b=P[a+256>>1];c=cg(a);a=c>>31;a=(a^c)-a|0;a:{if((a>>>8|0)+b>>>0<=8190){a=T(a,b)+32768>>>16|0;break a}a=T(a>>>16|0,b)+(T(a&65535,b)+32768>>>16|0)|0}return((c|0)<0?0-a|0:a)|0}function rj(a){var b=0;a:{b=a;a=nb(a);if((((vd(b,1,a,589104)|0)!=(a|0)?-1:0)|0)<0){break a}b:{if(N[147296]==10){break b}a=N[147281];if((a|0)==N[147280]){break b}N[147281]=a+1;L[a|0]=10;break a}Dh(589104)}}function cv(a){a=a|0;var b=0,c=0,d=0;b=La-16|0;La=b;d=Bn(N[N[a>>2]+504>>2],b+12|0);c=N[b+12>>2];if(!d){N[a+44>>2]=c}a:{if(!c){break a}a=N[c>>2];if(!a|!N[a+96>>2]){break a}N[a+88>>2]=c}La=b+16|0;return d|0}function Nc(a,b,c){var d=0,e=0,f=0;if(!b){N[c>>2]=0;return 0}e=c;c=nb(b);d=c+1|0;f=!d;a:{if(c>>>0<=2147483646){c=Qa[N[a+4>>2]](a,d)|0;a=!c<<6;break a}c=0;a=d?6:0}if(!(f|a)){F(c,b,d);a=0}N[e>>2]=a;return c}function jc(a,b,c,d,e){var f=0;f=La-256|0;La=f;if(!(e&73728|(c|0)<=(d|0))){d=c-d|0;c=d>>>0<256;ve(f,b&255,c?d:256);if(!c){while(1){ac(a,f,256);d=d-256|0;if(d>>>0>255){continue}break}}ac(a,f,d)}La=f+256|0}function Zf(a,b){var c=0;a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[a+1356>>2]){break a}return N[N[a+1360>>2]+(b<<2)>>2]}a=N[a+3084>>2];if(!a){break a}c=Qa[N[a+20>>2]](b)|0}return c}function CD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];N[e>>2]=0;b=N[a+96>>2];f=N[b+36>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+16>>2]}else{b=0}return Qa[f|0](a,g,c,d,e,b)|0}function Tz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[f+28>>2]=c;c=0;a=sc(N[f>>2],f+8|0,0);if(a){if(N[a>>2]>=0){N[d>>2]=N[a+8>>2]-N[a+20>>2];N[e>>2]=N[a+24>>2]+N[a+12>>2];c=1}tb(a)}return c|0}function pA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+20>>2];if(O[a+65|0]){a=N[e+8>>2];f=M[e+2>>1];g=N[e+4>>2]+(f<<3)|0;N[g+4>>2]=c>>10;N[g>>2]=b>>10;L[a+f|0]=d?1:2}M[e+2>>1]=P[e+2>>1]+1}function ds(a,b){a=a|0;b=b|0;var c=0,d=0;c=La-16|0;La=c;N[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(L[a+20|0]&1){d=Il(N[a>>2],N[a+16>>2],c+12|0,0);break a}d=Hl(a,c+12|0,0)}a=d;La=c+16|0;return a|0}function Un(a){var b=0,c=0,d=0;d=N[a>>2];while(1){c=L[d|0];if(c-48>>>0<10){d=d+1|0;N[a>>2]=d;if(b>>>0<=214748364){c=c-48|0;b=T(b,10);b=(c|0)>(b^2147483647)?-1:c+b|0}else{b=-1}continue}break}return b}function Hz(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+4>>2];a:{if((c|0)!=N[b+4>>2]){break a}if(Mb(N[a>>2],N[b>>2],c)|N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2]){break a}d=N[a+16>>2]==N[b+16>>2]}return d|0}function jw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=N[a+712>>2];a:{b:{if(!a){break b}d=6;if(N[a+1504>>2]==65535|Q[a+20>>2]<=b>>>0){break a}if(!c){break b}N[c>>2]=P[N[a+1188>>2]+(b<<1)>>1]}d=0}return d|0}function Eo(a,b){var c=0,d=0;c=a-1|0;if(!(c&a)){a:{if(-5-a>>>0<=b>>>0){break a}b=kb((a+b|0)+3|0);if(!b){break a}d=a;a=b+4|0;c=a&c;d=(c?d-c|0:0)+a|0;N[d-4>>2]=b}return d}ba(24218,18049,61,17717);B()}function rr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=(b|c)>=0;e=d?c:0;f=d?b:0;d=N[a+384>>2];if(!((f|0)==N[d+16>>2]&N[d+20>>2]==(e|0))){N[d+16>>2]=f;N[d+20>>2]=e;xg(d)}N[a+392>>2]=b;N[a+396>>2]=c}function qg(a){var b=0,c=0;pg(a);Qa[N[a+12>>2]](a)|0;if(!(L[a|0]&1)){b=N[a+52>>2];if(b){N[b+56>>2]=N[a+56>>2]}c=N[a+56>>2];if(c){N[c+52>>2]=b}if(N[147575]==(a|0)){N[147575]=c}_a(N[a+96>>2]);_a(a)}}function ji(a,b){var c=0,d=0;c=O[a-1|0]<<2;a:{if(c>>>0>b>>>0){break a}d=a;a=b-c|0;b=d+(T(a,5)>>>2|0)|0;a=a<<1&6;b=O[b+1|0]<<8-a&1020|O[b|0]>>>a;if(b>>>0<256){break a}b=P[(b<<1)+565472>>1]}return b}function qw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=3;c=N[a+32>>2];a:{if(!c){break a}d=N[c+364>>2];if(!d){break a}b=160;if(O[d+557|0]){break a}e=c,f=Lc(a,N[N[a+16>>2]>>2]),N[e+360>>2]=f;b=0}return b|0}function ux(a,b){a=a|0;b=b|0;var c=0;c=La-16|0;La=c;b=_e(a,b,c+8|0,c+7|0);a:{if(b){break a}a=N[N[N[a+4>>2]+128>>2]+52>>2];if(!a){break a}Qa[N[N[a>>2]+4>>2]](N[a+4>>2],c+8|0)}La=c+16|0;return b|0}function yd(a,b,c){var d=0,e=0;a:{if((a|0)<=0){break a}while(1){b:{e=cb(N[T(d,12)+b>>2],c);d=d+1|0;if((d|0)>=(a|0)){break b}if(e){continue}}break}if(e){break a}return(T(d,12)+b|0)-12|0}return 0}function Mw(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[b>>2];N[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=P[N[a+16>>2]+(c<<1)>>1];if(!d){continue}break}N[b>>2]=c;return d|0}function hz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=La-16|0;La=e;a=ta(N[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){N[147316]=a;a=-1}else{a=0}La=e+16|0;Pa=a?-1:N[e+12>>2];return(a?-1:N[e+8>>2])|0}function Qn(a,b){var c=0,d=0;c=La-16|0;La=c;if(b&64){N[c+12>>2]=4;d=N[0]}else{d=0}N[c>>2]=d;N[c+4>>2]=0;a=na(-100,a|0,b|32768,c|0)|0;if(a>>>0>=4294963201){N[147316]=0-a;a=-1}La=c+16|0;return a}function nt(a){a=a|0;var b=0,c=0;b=a+788|0;a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}c=N[b>>2];if(!c){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,c)}N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}function Xc(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=N[a+8>>2]+b|0;d=N[a+20>>2];b:{if(d){if(!(Qa[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=b;c=0}return c}function oC(a){a=a|0;N[a+24>>2]=500;N[a+28>>2]=400;L[a+20|0]=1;N[a+12>>2]=86;N[a+16>>2]=30;N[a+48>>2]=2333;N[a+52>>2]=0;N[a+40>>2]=1667;N[a+44>>2]=275;N[a+32>>2]=1e3;N[a+36>>2]=275;return 0}function Rn(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:L[a|0]=c;return;case 1:M[a>>1]=c;return;case 2:case 3:N[a>>2]=c;return;case 5:break b;default:break a}}N[a>>2]=c;N[a+4>>2]=d}}function Hh(a){var b=0;b=N[a+72>>2];N[a+72>>2]=b-1|b;b=N[a>>2];if(b&8){N[a>>2]=b|32;return-1}N[a+4>>2]=0;N[a+8>>2]=0;b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;N[a+16>>2]=b+N[a+48>>2];return 0}function Pw(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+420>>2];a:{if((c|0)>0){d=N[a+424>>2];a=0;while(1){if(!cb(b,N[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function Nh(a,b,c,d,e,f,g,h,i){var j=0;j=La-16|0;La=j;pc(j,b,c,d,e,f,g,h,i^-2147483648);d=N[j>>2];c=N[j+4>>2];b=N[j+12>>2];N[a+8>>2]=N[j+8>>2];N[a+12>>2]=b;N[a>>2]=d;N[a+4>>2]=c;La=j+16|0}function Ir(a){a=a|0;if(a){_a(N[a+356>>2]);_a(N[a+316>>2]);_a(N[a+276>>2]);_a(N[a+236>>2]);_a(N[a+196>>2]);_a(N[a+156>>2]);_a(N[a+116>>2]);_a(N[a+76>>2]);_a(N[a+36>>2]);_a(N[a>>2]);_a(a)}}function Nz(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b){return 1}a=N[a+4>>2];a:{if(!a){break a}c=N[a+92>>2];if(!c){break a}b=Qa[N[N[c+12>>2]+12>>2]](c,b)|0;d=(b|0)!=0&b>>>0>2]}return d|0}function Jb(a,b){var c=0;a:{c=N[a+12>>2];if((c|0)==(N[a+8>>2]+(N[a+16>>2]<<3)|0)){a=N[a+4>>2];if(!a|N[a>>2]){break a}N[a>>2]=130;return}N[c>>2]=b;b=N[a+12>>2];N[b+4>>2]=0;N[a+12>>2]=b+8}}function Be(a,b){var c=0;a:{c=N[a+12>>2];if((c|0)==(N[a+8>>2]+(N[a+16>>2]<<3)|0)){a=N[a+4>>2];if(!a|N[a>>2]){break a}N[a>>2]=130;return}N[c>>2]=b;b=N[a+12>>2];N[b+4>>2]=2;N[a+12>>2]=b+8}}function cb(a,b){var c=0,d=0;c=O[a|0];d=O[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=O[b+1|0];c=O[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function $y(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=N[a+84>>2];d=c+256|0;f=qe(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;Pc(b,e,c);b=e+d|0;N[a+84>>2]=b;N[a+8>>2]=b;N[a+4>>2]=c+e;return c|0}function uE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!((b|0)==2353|b-2524>>>0<2|(b|0)==2964)){a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;e=(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0}return e|0}function bv(a){a=a|0;var b=0,c=0;a:{b=N[N[N[a>>2]+504>>2]+108>>2];if(!b){break a}c=N[a+44>>2];while(1){if(N[b+8>>2]!=(c|0)){b=N[b+4>>2];if(b){continue}break a}break}vn(c);N[a+44>>2]=0}}function Or(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0>1114109?2:O[(b&1|O[(b>>>1&7|P[(b>>>3&14|O[(b>>>7&15|O[(b>>>11|0)+191264|0]<<4)+191808|0]<<4)+209136>>1]<<3)+192576|0]<<1)+198064|0])|0}function MB(a){a=a|0;var b=0;b=N[a+4>>2];N[b+180>>2]=-21;N[b+184>>2]=0;N[b+196>>2]=21;N[b+200>>2]=0;N[b+188>>2]=0;N[b+192>>2]=0;Qa[N[N[N[a+12>>2]+56>>2]+8>>2]](N[a+52>>2],0,0);return 0}function Kh(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=N[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return N[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function ov(a,b){a=a|0;b=b|0;var c=0;b=N[b+20>>2];c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c}function Lw(a,b){a=a|0;b=b|0;var c=0,d=0;b=N[a>>2];c=N[b+712>>2];if(!N[c+1188>>2]){return 163}d=N[N[c+3084>>2]+4>>2];if(!d){return 7}return Qa[d|0](N[b+100>>2],a,N[c+20>>2],152,0,b)|0}function Li(a){a=a|0;var b=0,c=0;b=N[a+8>>2];if(b){a=N[a+16>>2];c=N[a+4>>2];N[b+108>>2]=N[a>>2];N[b+112>>2]=c;N[b+124>>2]=N[a+16>>2];c=N[a+12>>2];N[b+116>>2]=N[a+8>>2];N[b+120>>2]=c}}function Gx(a,b){a=a|0;b=b|0;var c=0;N[a+116>>2]=b;c=N[a>>2];if(L[c+8|0]&1){Yc(c,b);Th(a);return 0}b=Qa[N[N[c+540>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}N[a+116>>2]=-1;return b|0}function tn(a,b){var c=0,d=0;d=N[a+4>>2];c=N[a+12>>2];c=(c|0)<0?(c|0)<(d|0)?d:c:d-c|0;b=b?b:(T(c,12)|0)/10|0;N[a+28>>2]=b;N[a+24>>2]=(b-c|0)/2;N[a+20>>2]=N[a+8>>2]+(N[a+16>>2]/-2|0)}function Au(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=43136;b:{if(!cb(15278,b)){break b}c=43144;if(!cb(9676,b)){break b}if(cb(11276,b)){break a}c=43152}a=N[c+4>>2]}return a|0}function Pr(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=125258?O[(b&3|O[(b>>>2&3|O[(b>>>4&3|O[(b>>>6&7|O[(b>>>9|0)+198442|0]<<3)+198688|0]<<2)+199040|0]<<2)+199500|0]<<2)+200056|0]:0)|0}function Ae(a){var b=0,c=0;b=N[147016];c=a+7&-8;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Ra()<<16>>>0){if(!(za(a|0)|0)){break a}}N[147016]=a;return b}N[147316]=48;return-1}function Os(a,b){a=a|0;b=b|0;N[a+16>>2]=b;b=O[b+6|0]|O[b+7|0]<<8|(O[b+8|0]<<16|O[b+9|0]<<24);N[a+28>>2]=0;N[a+32>>2]=0;N[a+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function Op(a){return a>>>0<=65276?P[(O[(O[((O[(a>>>11|0)+277576|0]>>>(a>>>8&4)<<4&240|a>>>6&14)>>>1|0)+277608|0]>>>(a>>>4&4)<<4&240|a>>>2&15)+277648|0]<<3|(a&3)<<1)+276640>>1]:0}function Nr(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=65379?M[(O[(b>>>2&7|O[(b>>>5&7|O[(b>>>9|0)+200556|0]>>>(b>>>6&4)<<3&120)+200684|0]<<3)+200804|0]<<3|(b&3)<<1)+227776>>1]:0)+b|0}function Ai(a,b){var c=0,d=0;a:{if(a){if(!b){break a}if(N[N[a>>2]+8>>2]>2]+8>>2]){c=a,d=Ai(N[a+8>>2],b),N[c+8>>2]=d;return a}c=b,d=Ai(a,N[b+8>>2]),N[c+8>>2]=d}a=b}return a}function Pp(a){return a>>>0<=65276?P[(O[(a>>>3&15|O[((O[(a>>>13|0)+277440|0]>>>(a>>>10&6)<<4&48|a>>>7&14)>>>1|0)+277448|0]>>>(a>>>5&4)<<4&240)+277480|0]<<4|(a&7)<<1)+276e3>>1]:0}function Nn(a,b){var c=0;a:{if(!b){break a}b=Oc(b,584748);if(!b|N[b+8>>2]&(N[a+8>>2]^-1)){break a}if(!$b(N[a+12>>2],N[b+12>>2],0)){break a}c=$b(N[a+16>>2],N[b+16>>2],0)}return c}function kg(a,b){var c=0;a:{if(!a|!b){break a}c=N[a+4>>2];if(!c){break a}a=M[a+2>>1];if((a|0)<=0){break a}a=(a<<3)+c|0;while(1){id(c,b);c=c+8|0;if(a>>>0>c>>>0){continue}break}}}function Mr(a,b,c){a=a|0;b=b|0;c=c|0;return N[((b>>>0>917999?2:O[(b&7|P[(b>>>2&30|O[(b>>>7&15|O[(b>>>11|0)+201140|0]<<4)+201590|0]<<5)+213216>>1]<<3)+202326|0])<<2)+228176>>2]}function iv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;N[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=Q[a+408>>2]){break a}N[c>>2]=N[(N[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function Vr(a,b){a=a|0;b=b|0;var c=0,d=0;d=N[a+16>>2]+6|0;a=N[b>>2];while(1){a=a+1|0;if(a>>>0>255){N[b>>2]=0;return 0}c=O[a+d|0];if(!c){continue}break}N[b>>2]=a;return c|0}function mw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;a:{if(!O[a|0]|N[a+8>>2]!=(b|0)|N[a+12>>2]!=(c|0)){break a}if(c){if(Mb(d,N[a+16>>2],c<<2)){break a}}e=0}return e|0}function Ml(a,b){a=a|0;b=b|0;N[a+16>>2]=b;b=O[b+12|0]|O[b+13|0]<<8|(O[b+14|0]<<16|O[b+15|0]<<24);L[a+24|0]=0;N[a+40>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function ri(a,b,c){var d=0;if(N[a+72>>2]?b:1){return+N[a+140>>2]*c/+N[N[a+168>>2]+40>>2]+ +N[a+56>>2]}d=S[a+152>>3];return(+N[a+136>>2]-d)*.5+d*c/+N[N[a+168>>2]+40>>2]}function ws(a,b){a=a|0;b=b|0;var c=0;if(!(!O[a+24|0]|N[a+28>>2]!=N[b>>2])){Jl(a);if(!O[a+24|0]){return 0}c=N[a+32>>2];N[b>>2]=N[a+28>>2];return c|0}return Kl(a,b,1)|0}function us(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=12;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function js(a,b){a=a|0;b=b|0;a=N[a+16>>2];b=b-(O[a+6|0]<<8|O[a+7|0])|0;if(b>>>0<(O[a+9|0]|O[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=O[a+10|0]<<8|O[a+11|0]}else{a=0}return a|0}function Bw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a){return 37}d=b?d:d|3;if(!(d&1?0:b)){return Yf(a,0,c,d)|0}if(N[b>>2]==N[a+4>>2]){a=Yf(a,b,c,d)}else{a=35}return a|0}function ys(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=13;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function os(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=10;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function ks(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=8;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function Iu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=N[b>>2]+1|0;b=N[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}N[e>>2]=b;return d|0}function TE(a,b){var c=0,d=0;if(a|b){c=b-1|0;d=a-1|0;c=(d|0)!=-1?c+1|0:c;d=W(a^d)+32|0;a=W(b^c);a=(a|0)==32?d:a;b=63-a|0;Pa=0-(a>>>0>63)|0;return b}Pa=0;return 64}function Gv(a,b){a=a|0;b=b|0;var c=0;c=N[b+96>>2];if(!((c|0)<0|N[a+300>>2]<=(c|0))){a=N[a+304>>2]+T(c,252)|0;b=Qa[N[b+40>>2]](b,0)|0;N[a+180>>2]=b;N[a+208>>2]=b}}function BC(a,b){a=a|0;b=b|0;N[a+2748>>2]=b;N[a+2740>>2]=N[b+28>>2];N[a+4>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+8>>2]=N[b+16>>2];N[a+16>>2]=N[b+20>>2];return 0}function zA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+488>>2];N[a+24>>2]=N[b+420>>2];N[a+28>>2]=N[b+424>>2];N[a+20>>2]=N[c+20>>2];N[a+16>>2]=N[c+28>>2];return 0}function iu(a,b){a=a|0;b=b|0;var c=0,d=0;d=N[a>>2];c=N[d+140>>2];Yc(d,b);N[a+24>>2]=N[c+40>>2]<<6;N[a+28>>2]=0-(N[c+44>>2]<<6);N[a+36>>2]=P[c+4>>1]<<6;return 0}function Mu(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];b=N[c+132>>2];Yc(c,0);c=P[b+80>>1];N[a+24>>2]=c<<6;N[a+28>>2]=c-P[b+96>>1]<<6;N[a+36>>2]=P[b+102>>1]<<6;return 0}function DA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+488>>2];N[a+24>>2]=N[b+420>>2];N[a+28>>2]=N[b+424>>2];N[a+20>>2]=N[c+20>>2];N[a+16>>2]=N[c+24>>2];return 0}function iD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=N[b>>2];d=N[a+28>>2];b=N[b+4>>2];e=N[a+32>>2];if(!e){Qa[d|0](a,b,c,0);return}Qa[d|0](a,b,c,N[e+16>>2])}function Et(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1668112752,b,a+512|0)|0;if(!c){c=fc(b,N[a+512>>2],a+508|0);if(!c){return 0}N[a+512>>2]=0}return c|0}function KA(a){a=a|0;var b=0,c=0;if(a){c=N[a>>2];b=N[a+108>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+108>>2]=0;b=N[a+116>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+116>>2]=0}}function $D(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!jh(a,1751216995,c)){break a}if(!jh(a,1751413603,c+4|0)){break a}b=jh(a,1751934832,c+8|0)}return b|0}function db(a,b){var c=0,d=0;a:{if(!a){break a}c=UE(a,0,b,0);d=Pa;if((a|b)>>>0<65536){break a}c=d?-1:c}a=kb(c);if(!(!a|!(O[a-4|0]&3))){ve(a,0,c)}return a}function ey(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+32&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+32&-64)|0;return a>>31&a}function by(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+63&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+63&-64)|0;return a>>31&a}function an(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+540>>2];N[d>>2]=0;N[d+4>>2]=0;if(e){f=d,g=Qa[N[e+84>>2]](a,b,c)|0,N[f>>2]=g}return 0}function Zx(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+16&-32;return((a|0)>0?a:0)|0}a=0-((a-b|0)+16&-32)|0;return a>>31&a}function dy(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)<0?32:a|32)|0}a=a-b&-64;return((a|0)<-32?-32:a^-32)|0}function cr(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){g=N[g+N[b>>2]>>2]}Qa[g|0](b,c,d,e,f)}function bC(a){a=a|0;var b=0;if(a){N[a+412>>2]=0;N[a+4>>2]=0;N[a+1960>>2]=0;N[a+1444>>2]=0;N[a+928>>2]=0;N[a+208>>2]=0;b=N[a>>2];Qa[N[b+8>>2]](b,a)}}function Xy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if($b(a,N[b+8>>2],f)){Pn(b,c,d,e);return}a=N[a+8>>2];Qa[N[N[a>>2]+20>>2]](a,b,c,d,e,f)}function wu(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];Yc(c,b);N[a+24>>2]=N[c+204>>2]<<6;N[a+28>>2]=0-(N[c+208>>2]<<6);N[a+36>>2]=M[c+236>>1]<<6;return 0}function Xo(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=N[a+12>>2];if((M[a+22>>1]+b|0)+M[a+58>>1]>>>0<=Q[a+4>>2]){break a}c=Sb(a,b,0)}return c|0}function Px(a){a=a|0;var b=0,c=0;a=N[a+24>>2];if(N[a+20>>2]){b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}function vd(a,b,c,d){var e=0;e=T(b,c);a:{if(N[d+76>>2]<0){a=uh(a,e,d);break a}a=uh(a,e,d)}if((e|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function Uq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=N[a+12>>2];N[d>>2]=0;if(!(!b|!c)){e=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return e|0}function Ky(a){a=a|0;var b=0,c=0;a=N[a>>2];b=O[a|0];if(b){while(1){c=(b<<24>>24)+T(c,31)|0;b=O[a+1|0];a=a+1|0;if(b){continue}break}}return c|0}function zz(a,b){a=a|0;b=b|0;var c=0;if(!(N[a>>2]!=N[b>>2]|S[a+8>>3]!=S[b+8>>3]|N[a+16>>2]!=N[b+16>>2])){c=N[a+20>>2]==N[b+20>>2]}return c|0}function PC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=La-16|0;La=e;a=qn(N[b+12>>2],c,d,!N[a+72>>2],e+8|0);La=e+16|0;return(a?0:N[e+8>>2])|0}function om(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=T(b,c);a:{if((b|0)<=0){break a}a=Qa[N[a+4>>2]](a,b)|0;if(!a){break a}C(a,0,b);d=a}return d|0}function gi(a,b){var c=0,d=0;c=nb(a)+1|0;d=b&255;while(1){a:{b=0;if(!c){break a}c=c-1|0;b=c+a|0;if((d|0)!=O[b|0]){continue}}break}return b}function dC(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+4>>2];a:{if(c){break a}d=N[a>>2];c=ip(a+16|0,b,d);if(c){break a}c=ip(a+52|0,b,d)}return c|0}function cy(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)>0?a:0)|0}a=0-(a-b&-64)|0;return a>>31&a}function Ns(a){a=a|0;var b=0,c=0;N[a+28>>2]=0;b=N[a+36>>2];a:{if(!b){break a}c=N[a+32>>2];if(!c){break a}Qa[N[b+8>>2]](b,c);N[a+32>>2]=0}}function uA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[N[b+488>>2]+4>>2];if(!c){return 7}return Qa[c|0](N[b+100>>2],a,N[b+420>>2],360,0,b)|0}function lo(a,b,c){if(N[a+72>>2]?b:1){return+N[a+140>>2]*c/+N[N[a+168>>2]+40>>2]+ +N[a+56>>2]}return S[a+152>>3]*c/+N[N[a+168>>2]+40>>2]}function IE(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;var e=0;e=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){e=N[e+N[b>>2]>>2]}return Qa[e|0](b,c,d)|0}function bz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=N[b>>2]+7&-8;N[c>>2]=b+16;d=a,e=ym(N[b>>2],N[b+4>>2],N[b+8>>2],N[b+12>>2]),S[d>>3]=e}function Ss(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[N[b+544>>2]+4>>2];if(!c){return 7}return Qa[c|0](N[b+100>>2],a,N[b+16>>2],190,0,b)|0}function vv(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(11349,b)){if(cb(9676,b)){break a}a=36632}else{a=36624}a=N[a+4>>2]}return a|0}function ou(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(15278,b)){if(cb(9676,b)){break a}a=43640}else{a=43632}a=N[a+4>>2]}return a|0}function gs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+44>>2]=f}function Sr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+48>>2]=f}function As(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+28>>2]=f}function gu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+4>>2]=f}function Wz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[d+28>>2]=c;c=0;a=sc(N[d>>2],d+8|0,0);if(a){c=N[a>>2]>=0?N[a+16>>2]:c;tb(a)}return c|0}function Vz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[d+28>>2]=c;c=0;a=sc(N[d>>2],d+8|0,0);if(a){c=N[a>>2]>=0?N[a+28>>2]:c;tb(a)}return c|0}function Ru(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(9676,b)){if(cb(9772,b)){break a}a=37624}else{a=37616}a=N[a+4>>2]}return a|0}function lg(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=N[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=N[c>>2];N[a>>2]=d<>2]=c<>>32-b}function es(a,b){a=a|0;b=b|0;var c=0;N[a+16>>2]=b;c=O[b+7|0];b=O[b+6|0];N[a+24>>2]=-1;N[a+28>>2]=0;N[a+32>>2]=(b<<8|c)>>>1;return 0}function FC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Cb(d,U(N[a>>2]),U(N[a+4>>2]),U(N[b>>2]),U(N[b+4>>2]),U(N[c>>2]),U(N[c+4>>2]));return 0}function Ev(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){N[b>>2]=N[a+152>>2]}if(c){N[c>>2]=N[a+156>>2]}if(d){N[d>>2]=N[a+160>>2]}return 0}function yA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+376>>2];N[a+16>>2]=c;N[a+20>>2]=N[b+380>>2]-c;N[a+24>>2]=N[b+384>>2];return 0}function ng(a,b){var c=0,d=0;c=N[a+4>>2];a:{if(b>>>0<=31){d=N[a>>2];break a}b=b-32|0;d=c;c=0}N[a+4>>2]=c>>>b;N[a>>2]=c<<32-b|d>>>b}function Fu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e>>2]=f}function mr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){e=N[e+N[b>>2]>>2]}Qa[e|0](b,c,d)}function ND(a,b,c){a=a|0;b=b|0;c=c|0;if(_d(a,b,c)){a=1}else{if(b>>>0<=255){a=_d(a,b+61440|0,c)}else{a=1}a=a&b>>>0<256}return a|0}function wq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){d=N[d+N[b>>2]>>2]}return Qa[d|0](b,c)|0}function ay(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b|0;return((a|0)>0?a:0)|0}a=b-a|0;return a>>31&a}function Vq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;return(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0|0}function wA(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+16>>2];return(c>>>0>b>>>0|N[a+20>>2]+c>>>0<=b>>>0?d:P[N[a+24>>2]+(b<<1)>>1])|0}function cC(a){a=a|0;N[a+12>>2]=1;N[a+16>>2]=0;N[a+4>>2]=0;N[a+76>>2]=0;N[a- -64>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+28>>2]=0}function YB(a){a=a|0;N[a+12>>2]=2;N[a+16>>2]=0;N[a+4>>2]=0;N[a+76>>2]=0;N[a- -64>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+28>>2]=0}function Vy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if($b(a,N[b+8>>2],0)){On(b,c,d);return}a=N[a+8>>2];Qa[N[N[a>>2]+28>>2]](a,b,c,d)}function XB(a){a=a|0;var b=0;N[a+140>>2]=0;N[a+112>>2]=0;b=N[a+12>>2];kp(a+28|0,b);kp(a- -64|0,b);N[a+12>>2]=0;N[a+16>>2]=0}function ZD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(N[147017]>=(a|0)){a=(a|0)<2?588952:589104;vd(24996,8,1,a);zi(a,b,c);Ul(a)}}function bo(a,b){var c=0,d=0,e=0;a=a-1|0;a=(c=SE(a),d=0,e=a,e?c:d);if(!a){a=(c=SE(b),d=0,e=b,e?c:d);a=a?a+32|0:0}return a}function Sz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=La-16|0;La=a;b=qn(b,c,d,0,a+8|0);La=a+16|0;return(b?0:N[a+8>>2])|0}function Ku(a,b){a=a|0;b=b|0;var c=0;b=N[N[a>>2]+132>>2];c=O[b+104|0];N[a+16>>2]=c;N[a+20>>2]=(O[b+105|0]-c|0)+1;return 0}function Dj(a,b){a=a|0;b=b|0;a=N[N[a+660>>2]+20>>2]+T(b,56)|0;_a(N[a+28>>2]);_a(N[a+44>>2]);_a(N[a+48>>2]);_a(N[a+52>>2])}function jd(a,b,c){UE(c,0,b,0);a:{if(!Pa){b=T(b,c);b=$a(a,b>>>0<=1?1:b);c=0;if(b){break a}}b=a;c=48}N[147316]=c;return b}function Cy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=hd(N[a>>2],c,22019);if(!a){return 64}N[d>>2]=a;N[e>>2]=0;return 0}function By(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=hd(N[a>>2],c,22047);if(!a){return 64}N[d>>2]=a;N[e>>2]=0;return 0}function Pq(a,b,c){a=a|0;b=b|0;c=c|0;a=L[c+140|0];if((a|0)>=0){ba(22742,14165,187,12136);B()}L[c+140|0]=a&127;return 0}function Br(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){d=N[d+N[b>>2]>>2]}Qa[d|0](b,c)}function Uj(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){c=N[c+N[b>>2]>>2]}return Qa[c|0](b)|0}function Pm(a,b){a=a|0;b=b|0;a=N[a+4>>2]|N[a>>2]<<16;b=N[b+4>>2]|N[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function MD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(_d(a,b,c)){a=1}else{d=Pp(b);if(d){b=_d(a,d,c)}a=(d|0)!=0&b}return a|0}function LD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(_d(a,b,c)){a=1}else{d=Op(b);if(d){b=_d(a,d,c)}a=(d|0)!=0&b}return a|0}function UC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=on(N[b+12>>2],c,d);if(!a){return 0}N[e>>2]=a;return 1}function OE(a,b,c){a=a|0;b=b|0;c=c|0;a=O[c+140|0];if(!(a&8)){ba(22742,14165,187,12136);B()}L[c+140|0]=a&247;return 0}function Jy(a,b){a=a|0;b=b|0;a:{a=N[a>>2];b=N[b>>2];if(O[a|0]!=O[b|0]){break a}if(cb(a,b)){break a}return 1}return 0}function Ih(a){a=a|0;var b=0,c=0;b=N[a+20>>2];if(b){c=N[N[a>>2]+100>>2];Qa[N[c+8>>2]](c,b)}N[a+16>>2]=0;N[a+20>>2]=0}function wt(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=rb(b,179120,a+568|0)}return c|0}function ut(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=rb(b,178496,a+160|0)}return c|0}function _n(a,b,c,d,e,f,g,h,i){N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function Zh(a){a=a|0;var b=0,c=0;b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0;N[a+4>>2]=0;N[a+24>>2]=0}function Ht(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=rb(b,178496,a+160|0)}return c|0}function Bg(a,b){a=a|0;b=b|0;var c=0;N[b>>2]=0;c=Qa[N[a+4>>2]](a,4)|0;if(!c){return 64}N[c>>2]=a;N[b>>2]=c;return 0}function XE(a){var b=0,c=0;b=Z(a);c=a-b;if(!(c<.5)){a=_(a);if(c>.5){return a}c=a;a=b*.5;b=a-Z(a)==0?b:c}return b}function xC(a,b){a=a|0;b=b|0;N[a+24>>2]=N[b+20>>2];N[a+4>>2]=N[b>>2];N[a+28>>2]=N[b+24>>2];vp(a,b,0);vp(a,b,1)}function Ax(a,b,c){a=a|0;b=b|0;c=c|0;c=$f(a,b,c,1);if(!c){N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function $b(a,b,c){if(!c){return N[a+4>>2]==N[b+4>>2]}if((a|0)==(b|0)){return 1}return!cb(N[a+4>>2],N[b+4>>2])}function sr(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){c=N[c+N[b>>2]>>2]}Qa[c|0](b)}function Rs(a,b){a=a|0;b=b|0;var c=0;c=La-16|0;La=c;N[c+12>>2]=0;Pf(a,b,c+12|0);La=c+16|0;return N[c+12>>2]}function rw(a){a=a|0;var b=0;b=N[a+32>>2];if(!b){return 3}Lc(a,N[N[a+16>>2]>>2]);N[b+184>>2]=513;return 0}function Rl(a,b){a=a|0;b=b|0;a=N[N[a>>2]+4>>2];b=N[N[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function Iy(a){a=a|0;a=N[a>>2];return T(T(T(a&255,31)+(a>>>8&255)|0,31)+(a>>>16&255)|0,31)+(a>>>24|0)|0}function Gy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;if(!b){return 81}return Rd(b,333319,e)|0}function Fy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;if(!b){return 81}return Rd(b,333312,e)|0}function xs(a,b){a=a|0;b=b|0;var c=0;c=La-16|0;La=c;N[c+12>>2]=b;a=Kl(a,c+12|0,0);La=c+16|0;return a|0}function eu(a,b){a=a|0;b=b|0;b=N[a>>2];N[a+16>>2]=N[N[b+140>>2]+52>>2];N[a+20>>2]=N[b+144>>2];return 0}function mb(a,b,c,d){var e=0;e=La-16|0;La=e;N[e+12>>2]=d;Qa[N[a+20>>2]](b,c,d,N[a+24>>2]);La=e+16|0}function kw(a,b){a=a|0;b=b|0;a=N[a+712>>2];L[b|0]=0;if(!(!a|N[a+1504>>2]==65535)){L[b|0]=1}return 0}function Py(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Qa[a|0](b,c,d,e,f,g,h)}function Kz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[a+12>>2];Qa[N[a>>2]](N[a+4>>2],c,b,d)|0;return d|0}function Xt(a,b){a=a|0;b=b|0;var c=0;c=N[N[a+12>>2]+48>>2];if(!c){return 150}return Qa[c|0](a,b)|0}function iz(){var a=0;a=N[147569];if(a){while(1){Qa[N[a>>2]]();a=N[a+4>>2];if(a){continue}break}}}function aD(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;N[f>>2]=0;N[e>>2]=0;return 0}function Sv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Qa[N[N[a+548>>2]+40>>2]](a,b,c,d,e)|0}function Dx(a,b,c){a=a|0;b=b|0;c=c|0;if(cb(b,12798)){a=12}else{N[c>>2]=N[a+64>>2];a=0}return a|0}function Qy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if($b(a,N[b+8>>2],f)){Pn(b,c,d,e)}}function Qi(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[N[a+12>>2]+56>>2]+12>>2]](N[a+52>>2],b,c)|0}function wC(a,b,c){a=a|0;b=b|0;c=c|0;if(b){N[b>>2]=N[a+10056>>2]}if(c){N[c>>2]=N[a+252>>2]}}function fs(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=6;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function as(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=4;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function Xr(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=2;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function XA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Tb(a,N[a+8>>2]);return Ee(a,N[a+8>>2],b,c,d)|0}function Tr(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=0;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function FA(a){a=a|0;var b=0,c=0;b=N[a+4>>2];if(b){c=N[a>>2];Qa[N[c+8>>2]](c,b)}N[a+4>>2]=0}function Oy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Qa[a|0](b,c,d,e)|0;Ma=Pa;return a|0}function Dp(a,b,c){a=a|0;b=b|0;c=c|0;if(b){N[b>>2]=N[a+7928>>2]}if(c){N[c>>2]=N[a+252>>2]}}function lr(a,b,c){a=a|0;b=b|0;c=c|0;b=b&65535;return(vb(b?b+c|0:275552,N[a>>2])|0)!=-1|0}function eD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;N[d>>2]=0;return 1}function cD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;N[d>>2]=0;return 0}function au(a,b){a=a|0;b=b|0;a=N[a+4>>2];b=N[b+4>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function Ne(a,b,c,d){var e=0;e=La-16|0;La=e;N[e+12>>2]=d;a=rh(a,b,c,d);La=e+16|0;return a}function hy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[b+12>>2]+(c<<3)|0;N[a+4>>2]=N[a+4>>2]+d}function eo(a,b){b=b&3;return O[(b^1)+a|0]<<16|O[a+b|0]<<24|O[(b^2)+a|0]<<8|O[(b^3)+a|0]}function ZE(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function Nx(a){a=a|0;N[a+116>>2]=-1;N[a+304>>2]=-1;N[a+308>>2]=-1;L[a+112|0]=0;return 0}function gr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ji(N[a+380>>2],L[b+11|0]<0?N[b>>2]:b,c,d)}function _w(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Qa[N[b+52>>2]](b,0,0,0)|0,N[c+544>>2]=d}function qu(a,b,c){a=a|0;b=b|0;c=c|0;N[b>>2]=N[a+176>>2];N[c>>2]=N[a+180>>2];return 0}function $t(a,b,c){a=a|0;b=b|0;c=c|0;N[b>>2]=N[a+132>>2];N[c>>2]=N[a+136>>2];return 0}function jy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[b+12>>2]+(c<<3)|0;N[a>>2]=N[a>>2]+d}function Iw(a,b){a=a|0;b=b|0;return Qa[N[N[N[N[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function $C(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(e){L[d|0]=0}return 0}function Jw(a,b){a=a|0;b=b|0;return Qa[N[N[N[N[a>>2]+712>>2]+3084>>2]+8>>2]](a,b)|0}function Ny(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Qa[a|0](b,c,d)|0;Ma=Pa;return a|0}function Ju(a,b){a=a|0;b=b|0;b=b-N[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function Mp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;return 0}function Hb(a){var b=0,c=0;b=nb(a)+1|0;c=kb(b);if(!c){return 0}return Pc(c,a,b)}function wB(a){a=a|0;Qa[N[N[N[a+12>>2]+56>>2]+8>>2]](N[a+52>>2],0,0);return 0}function Zv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+12>>2]](a,b,c)|0}function YE(a){var b=0;while(1){if(a){a=a-1&a;b=b+1|0;continue}break}return b}function Xv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+20>>2]](a,b,c)|0}function Wv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+24>>2]](a,b,c)|0}function Uy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if($b(a,N[b+8>>2],0)){On(b,c,d)}}function Uv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+32>>2]](a,b,c)|0}function Tv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+36>>2]](a,b,c)|0}function _v(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+8>>2]](a,b,c)|0}function nC(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(11276,b)?0:293668)|0}function nB(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(11276,b)?0:294052)|0}function fA(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(10566,b)?0:356608)|0}function Wr(a,b){a=a|0;b=b|0;return(b>>>0<=255?O[(N[a+16>>2]+b|0)+6|0]:0)|0}function Nw(a,b){a=a|0;b=b|0;return(b>>>0<=255?P[N[a+16>>2]+(b<<1)>>1]:0)|0}function DB(a,b,c){a=a|0;b=b|0;c=c|0;N[a+56>>2]=N[a+52>>2]-T(N[a+104>>2],b)}function zv(a){a=a|0;a=N[a+140>>2];if(!a){return 0}return a+(O[a|0]==47)|0}function aw(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+552>>2]>>2]](a,b,c)|0}function Qt(a){a=a|0;return(a>>>0<=127?O[(a>>>3|0)+179360|0]&1<<(a&7):0)|0}function Du(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Bh(N[a+12>>2],b,c,d)|0}function tz(a,b){a=a|0;b=b|0;b=N[b+20>>2];if(b){_a(N[b-4>>2])}tb(N[a>>2])}function rA(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+488>>2]+12>>2]](a,b)|0}function Ps(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+544>>2]+12>>2]](a,b)|0}function Ar(a,b){a=a|0;b=b|0;L[a+372|0]=(b|0)!=0;if(b){So(a,N[a+376>>2])}}function sA(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+488>>2]+8>>2]](a,b)|0}function Qs(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+544>>2]+8>>2]](a,b)|0}function CA(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0}function $z(a){a=a|0;return(a>>>0<=390?M[(a<<1)+299312>>1]+295088|0:0)|0}function hD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;return 0}function aA(a){a=a|0;return M[((a>>>0<=257?a:0)<<1)+298784>>1]+295088|0}function _A(a,b){a=a|0;b=b|0;Tb(a,N[a+8>>2]);return Qc(a,N[a+8>>2],b)|0}function Ow(a,b){a=a|0;b=b|0;N[a+16>>2]=N[N[a>>2]+712>>2]+668;return 0}function My(a){a=a|0;_a(N[a+12>>2]);N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function tr(a){a=a|0;var b=0;b=N[a+660>>2];if(b){ug(b);N[a+660>>2]=0}}function Uz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return 1}function wD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,4)}function nx(a,b){a=a|0;b=b|0;if(!N[147441]){N[147441]=a;N[147442]=b}}function lD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,8)}function dD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,7)}function ZC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,6)}function VC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,5)}function QD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,8)}function PD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,7)}function OD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,6)}function KC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,4)}function HD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,5)}function vE(a,b,c){a=a|0;b=b|0;c=c|0;if(!O[N[a+112>>2]+5|0]){zq(b)}}function oB(a){a=a|0;L[a+70|0]=0;M[a+68>>1]=0;N[a+64>>2]=8;return 0}function fE(a,b){a=a|0;b=b|0;return N[N[a+660>>2]+16>>2]+T(b,144)|0}function Yv(a,b){a=a|0;b=b|0;return Qa[N[N[a+548>>2]+16>>2]](a,b)|0}function Vv(a,b){a=a|0;b=b|0;return Qa[N[N[a+548>>2]+28>>2]](a,b)|0}function Ud(a,b){return b?a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24):a}function Rv(a){a=a|0;var b=0;b=N[a+548>>2];if(b){Qa[N[b+44>>2]](a)}}function PB(a,b){a=a|0;b=b|0;Ti(b,N[a>>2]<<2,N[a+4>>2]<<2);return 0}function qE(a,b){a=a|0;b=b|0;return N[N[a+660>>2]+20>>2]+T(b,56)|0}function sC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Bp(d,b,c,d)|0}function Mq(a,b,c){a=a|0;b=b|0;c=c|0;zj(N[a+112>>2],b,N[a+4>>2])}function Ag(a){a=a|0;var b=0;if(a){b=N[a>>2];Qa[N[b+8>>2]](b,a)}}function ow(a){a=a|0;return(a>>>0<=255?P[(a<<1)+30800>>1]:0)|0}function gD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return N[a+28>>2]}function fD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return N[a+32>>2]}function Hu(a,b){a=a|0;b=b|0;F(b,N[a+132>>2]+4|0,156);return 0}function ke(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function fi(a){a=ia(a|0)|0;a=(a|0)!=27?a:0;if(a){N[147316]=a}}function Ly(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return $a(d,c)|0}function Ds(a,b){a=a|0;b=b|0;N[b>>2]=-1;N[b+4>>2]=14;return 0}function Cv(a,b,c){a=a|0;b=b|0;c=c|0;if(c){N[c>>2]=b}return 0}function vu(a,b){a=a|0;b=b|0;N[a+16>>2]=N[a>>2]+296;return 0}function tA(a,b){a=a|0;b=b|0;return N[N[a+424>>2]+(b<<2)>>2]}function qy(a,b){a=a|0;b=b|0;return N[N[a+392>>2]+(b<<2)>>2]}function pe(a,b){if(!N[147441]){N[147441]=a;N[147442]=b}ya()}function ir(a,b,c){a=a|0;b=b|0;c=c|0;return N[a>>2]==(b|0)|0}function _C(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0}function xA(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0}function eb(a){a=kb(a>>>0<=1?1:a);if(!a){fa();B()}return a}function dz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Pa=0;return 0}function RD(a){a=a|0;var b=0;b=N[a+8>>2];if(b){_a(b)}_a(a)}function FE(a){a=a|0;var b=0;b=N[a+4>>2];if(b){Aj(b)}_a(a)}function kz(a,b){a=a|0;b=b|0;return N[a+4>>2]-N[b+4>>2]|0}function Ts(a,b){a=a|0;b=b|0;N[a+8>>2]=b;N[a+12>>2]=b>>31}function Rt(a){a=a|0;return a-48>>>0<10|(a&-33)-65>>>0<26}function Lm(a,b){a=a|0;b=b|0;M[b>>1]=P[a+164>>1];return 0}function Av(a,b){a=a|0;b=b|0;M[b>>1]=P[a+312>>1];return 0}function mt(a,b,c){a=a|0;b=b|0;c=c|0;return un(a,b,c)|0}function iA(a){a=a|0;a=a<<13^a;a=a>>>17^a;return a<<5^a}function Zy(a,b,c){a=a|0;b=b|0;c=c|0;return $b(a,b,0)|0}function KD(a,b,c){a=a|0;b=b|0;c=c|0;return _d(a,b,c)|0}function su(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 12}function nm(a,b){a=a|0;b=b|0;if(b){Qa[N[a+8>>2]](a,b)}}function le(a,b,c){a=a|0;b=b|0;c=c|0;N[N[a>>2]+b>>2]=c}function dx(a,b){a=a|0;b=b|0;N[b+376>>2]=N[b+376>>2]|1}function Km(a,b){a=a|0;b=b|0;F(b,a+168|0,196);return 0}function Hy(a,b){a=a|0;b=b|0;return N[a>>2]==N[b>>2]|0}function Gt(a,b){a=a|0;b=b|0;N[a>>2]=b;N[a+4>>2]=b>>31}function Gr(a,b,c){a=a|0;b=b|0;c=c|0;return 1517976186}function GB(a){a=a|0;N[a+56>>2]=N[a+56>>2]-N[a+104>>2]}function Cm(a){a=a|0;a=N[a+156>>2];if(a){N[a+36>>2]=0}}function lt(a,b,c){a=a|0;b=b|0;c=c|0;Qa[N[a>>2]](b,c)}function lc(a,b){a=go(a,b);return O[a|0]==(b&255)?a:0}function Zt(a,b,c){a=a|0;b=b|0;c=+c;S[N[a>>2]+b>>3]=c}function Fr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Eb(a,b,c){a=Xn(a,b,c,0,-2147483648);return a}function Ay(a,b){a=a|0;b=b|0;return M[a>>1]-M[b>>1]|0}function $n(a,b){var c=0;c=qe(a,0,b);return c?c-a|0:b}function vt(a,b){a=a|0;b=b|0;return Qa[N[a>>2]](b)|0}function Dv(a,b){a=a|0;b=b|0;if(b){L[b|0]=1}return 0}function me(a,b){a=a|0;b=b|0;return N[N[a>>2]+b>>2]}function bu(a,b){a=a|0;b=b|0;return+S[N[a>>2]+b>>3]}function SE(a){if(a){return 31-W(a-1^a)|0}return 32}function ts(a,b){a=a|0;b=b|0;N[a+16>>2]=b;return 0}function Kb(a,b){return Xn(a,b,10,-2147483648,0)}function $v(a){a=a|0;Qa[N[N[a+552>>2]+28>>2]](a)}function qr(a,b){a=a|0;b=b|0;return $g(a,b,1)|0}function pr(a,b){a=a|0;b=b|0;return $g(a,b,0)|0}function oy(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function or(a,b){a=a|0;b=b|0;return Kf(a,b,1)|0}function nr(a,b){a=a|0;b=b|0;return Kf(a,b,0)|0}function kn(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function br(a){a=a|0;return N[N[a+660>>2]+8>>2]}function Uw(a,b){a=a|0;b=b|0;return Nm(a,0,0)|0}function Tx(a){a=a|0;a=La-a&-16;La=a;return a|0}function Ls(a,b){a=a|0;b=b|0;N[b>>2]=0;return 0}function Ln(a,b,c,d){ua(a|0,b|0,8,0,c|0,-1,d|0)}function tm(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0}function ru(a,b,c){a=a|0;b=b|0;c=c|0;return 12}function ac(a,b,c){if(!(O[a|0]&32)){uh(b,c,a)}}function rk(a,b){a=a|0;b=b|0;return gk(a,b)|0}function qk(a,b){a=a|0;b=b|0;return fk(a,b)|0}function mk(a,b){a=a|0;b=b|0;return ik(a,b)|0}function cl(a,b){a=a|0;b=b|0;return Fk(a,b)|0}function bl(a,b){a=a|0;b=b|0;return Ek(a,b)|0}function al(a,b){a=a|0;b=b|0;return Hk(a,b)|0}function _k(a,b){a=a|0;b=b|0;return Uk(a,b)|0}function Zk(a,b){a=a|0;b=b|0;return Tk(a,b)|0}function Yk(a,b){a=a|0;b=b|0;return Sk(a,b)|0}function Xk(a,b){a=a|0;b=b|0;return Rk(a,b)|0}function Tq(a){a=a|0;return N[N[a+660>>2]>>2]}function Qb(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Mk(a,b){a=a|0;b=b|0;return ah(a,b)|0}function Jr(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function Hr(a,b,c){a=a|0;b=b|0;c=c|0;return 7}function $k(a,b){a=a|0;b=b|0;return Gk(a,b)|0}function ez(a){a=a|0;return ia(N[a+60>>2])|0}function er(a){a=a|0;Uo(N[a+384>>2],a+404|0)}function _q(a,b,c){a=a|0;b=b|0;c=c|0;tc(a,b)}function zi(a,b,c){return Wn(a,b,c,109,110)}function px(a){a=a|0;N[N[a+156>>2]+36>>2]=0}function jz(a){a=a|0;return Hb(N[a+4>>2])|0}function bw(a){a=a|0;return N[a+8>>2]>>>9&1}function Xx(a){a=a|0;N[a+64>>2]=40;return 0}function WE(a,b,c,d){a=RE(a,b,c,d);return a}function Kn(a,b){a=a|0;b=b|0;return kb(b)|0}function Pb(a,b){N[a+168>>2]=b;pe(a,1);B()}function EE(a,b,c){a=a|0;b=b|0;c=c|0;zq(b)}function wn(a,b){pd(nb(a)+a|0,b);return a}function Lz(a){a=a|0;_a(N[a+12>>2]);_a(a)}function xz(a,b){a=a|0;b=b|0;tb(N[a>>2])}function Cr(a,b){a=a|0;b=b|0;N[147017]=b}function py(a){a=a|0;return P[a+256>>1]}function Mx(a){a=a|0;cn(a);L[a+112|0]=0}function Im(a){a=a|0;return N[a+364>>2]}function dE(a){a=a|0;ab(N[a>>2]);_a(a)}function bt(a){a=a|0;return N[a+8>>2]}function Ms(a,b){a=a|0;b=b|0;return 0}function nf(a,b,c){a=a|0;b=b|0;c=c|0}function bB(a){a=a|0;Tb(a,N[a+8>>2])}function VB(a){a=a|0;return a+100|0}function UB(a){a=a|0;return a+112|0}function TB(a){a=a|0;return a+140|0}function Mt(a){a=a|0;return N[a>>2]}function Jn(a,b){a=a|0;b=b|0;_a(b)}function hw(a){a=a|0;return 25360}function Vu(a){a=a|0;return 25464}function Ut(a){a=a|0;return 25552}function Qr(a){a=a|0;return 25628}function Hm(a){a=a|0;N[a+16>>2]=0}function Eh(a){a=a|0;if(a){_a(a)}}function Sn(a,b,c){Wn(a,b,c,0,0)}function sd(a,b){return Gd(a,b)}function _y(a){a=a|0;return a|0}function QE(){C(589264,0,2272)}function hm(a){a=a|0;return 0}function An(a){a=a|0;return 1}function Fv(a,b){a=a|0;b=b|0}function ce(a){a=a|0;_a(a)}function Rr(a){a=a|0;ab(a)}function fy(){return La|0}function Yx(a){a=a|0;La=a}function Kx(a){a=a|0;Ma=a}function Fx(){return Ma|0}function Mc(a){a=a|0}e=O;p(q);var Qa=c([null,wm,hw,Eh,me,le,ov,ev,me,le,Vu,Eh,Lu,Fu,im,em,mu,gu,bu,Zt,me,le,me,le,Ut,Eh,Mt,Gt,vt,lt,bt,Ts,Is,As,im,em,rs,gs,$r,Sr,me,le,Qr,Ir,Er,Dr,Cr,Br,Ar,vr,ur,tr,sr,rr,mr,hr,gr,fr,er,dr,cr,br,Uj,Zq,Uj,Wq,Dj,Tq,Dj,Sq,Kq,PE,IE,AE,qE,wq,fE,wq,me,le,ZD,QD,PD,OD,HD,wD,lD,dD,ZC,VC,KC,DC,CC,yC,rC,jC,fC,WB,SB,KB,CB,xB,pB,fB,$A,Ly,Kn,Jn,lz,cz,bz,Ry,My,Zh,Ay,wy,vy,uy,ty,sy,ry,qy,py,kn,oy,ny,my,ly,ky,jy,iy,hy,gy,ey,dy,cy,by,ay,$x,_x,Zx,Ux,Sx,Rx,Qx,Px,xy,ux,kx,Pm,Hy,Iy,Kw,yw,xw,um,nv,mv,lv,kv,om,nm,Gu,nm,om,Du,Eu,Bu,Cu,lu,Jy,Ky,hu,fu,au,ke,Jn,Kn,Rt,Qt,Rl,Zh,Rl,Zh,Zs,Ys,Bc,Ws,Vs,Us,Rs,Rr,_a,Pr,Or,Nr,Mr,Lr,Kr,az,zr,yr,xr,wr,Qb,cl,cl,Qb,bl,bl,Qb,al,al,Qb,$k,$k,Qb,_k,_k,Qb,Zk,Zk,Qb,Yk,Yk,Qb,Xk,Xk,Qb,Nk,Nk,Pk,or,nr,Qb,Mk,Mk,Qb,Qk,Qk,Pk,qr,pr,Qb,Ok,Ok,ir,lr,kr,jr,Qb,rk,rk,Qb,qk,qk,Qb,pk,pk,Qb,ok,ok,Qb,nk,nk,Qb,mk,mk,ar,$q,Qq,Pq,Oq,ME,LE,KE,JE,HE,OE,BE,zE,yE,pE,oE,iE,hE,Xq,Vq,Uq,Yq,sq,qq,cE,bE,aE,$D,_D,YD,XD,WD,VD,UD,TD,SD,ND,MD,LD,KD,JD,ID,RD,pC,YC,dE,eE,XC,WC,UC,TC,SC,RC,QC,PC,OC,NC,MC,LC,JC,Ip,kC,hC,gC,eC,dC,cC,bC,Ui,aC,$B,_B,ZB,YB,Yh,JB,IB,GB,FB,EB,DB,Mc,BB,AB,nf,zB,yB,KA,JA,IA,HA,Pm,tA,dA,Zz,Yz,Xz,Wz,Vz,Uz,Tz,Sz,ke,Rz,Qz,Lz,Kz,kz,jo,hz,gz,fz,ez,$y,Gy,Fy,bi,Ey,Dy,Cy,By,ai,$h,Ax,zx,re,Ph,yx,fn,xx,dn,Cx,Bx,en,bg,Ex,Dx,Im,Jm,Pw,Mm,Lm,An,Km,Qw,zy,yy,Rw,Zw,Om,Nm,Yw,Xw,Ww,Vw,Uw,Tw,Sw,$e,hx,gx,fx,ex,dx,cx,bx,ax,$w,_w,Ow,Hm,Nw,Mw,Lw,Ih,Jw,Iw,_v,Zv,Yv,Xv,Wv,Vv,Uv,Tv,Sv,Rv,aw,$v,dw,cw,bw,ew,gw,fw,iw,lw,kw,jw,ow,xm,nw,mw,vm,ww,vw,uw,tw,sw,rw,qw,pw,zv,Bv,Av,Ev,Dv,Cv,Iv,Hv,Gv,Fv,yv,tm,xv,wv,jv,qm,iv,Jm,Su,Im,Mm,Lm,An,Km,Xu,Wu,Uu,Tu,Hu,Ku,Ju,Iu,qu,pu,su,ru,vu,Hm,uu,tu,$t,_t,eu,tm,du,cu,Lt,Kt,Jt,It,Yt,Pt,Ht,Ft,Et,Dt,Ct,Bt,At,zt,yt,xt,wt,ut,tt,Pf,st,rt,qt,pt,ot,nt,mt,kt,jt,it,ht,gt,Ol,ft,et,dt,ct,at,$s,_s,Vc,Xs,ts,Wr,Vr,Ur,Tr,_r,Zr,Yr,Xr,es,ds,cs,bs,as,js,is,hs,fs,ns,ms,ls,ks,ss,qs,ps,os,Ml,xs,ws,vs,us,Ml,Cs,Bs,zs,ys,Os,Ns,Ms,Ls,Ks,Js,Hs,Gs,Fs,Es,Ds,Ss,Ih,Qs,Ps,Ot,Nt,St,Vt,Tt,Wt,xh,Xt,Qb,Jr,Hr,kn,Gr,ke,ke,Fr,_q,Rq,Bj,Aj,Nq,Mq,Lq,Jq,Iq,Hq,Gq,ce,Fq,Eq,Dq,Cq,NE,GE,FE,EE,yq,DE,CE,xE,wE,ce,vE,uE,tE,sE,rE,nE,mE,ce,lE,yq,kE,jE,gE,Np,Np,hD,DD,Mp,gD,fD,zD,yD,eD,cD,ke,ke,bD,aD,$C,Mp,_C,GD,FD,ED,CD,BD,AD,xD,vD,uD,tD,sD,rD,qD,pD,oD,nD,mD,kD,jD,iD,IC,HC,GC,FC,EC,Fp,Dp,Cp,Bp,BC,AC,zC,xC,wC,vC,uC,tC,Fp,Dp,Cp,sC,qC,mC,lC,VB,UB,TB,Bg,nf,Qb,RB,Ag,QB,PB,OB,NB,Bg,nf,Qb,HB,Ag,Bg,nf,Qb,uB,Ag,Bg,nf,Qb,jB,Ag,lB,kB,tB,sB,rB,qB,hB,gB,eB,dB,cB,Mc,bB,Ni,aB,_A,ZA,YA,XA,Dd,WA,Yo,VA,UA,Li,TA,Li,Xo,SA,RA,QA,PA,Wo,OA,NA,MA,LA,GA,FA,EA,DA,CA,BA,AA,zA,yA,xA,wA,vA,uA,Ih,sA,rA,qA,Li,Xo,pA,oA,nA,mA,Wo,lA,kA,jA,iA,hA,gA,Mo,eA,cA,bA,aA,$z,Xx,Mc,Wx,Vx,Ox,Nx,Mx,Lx,Jx,an,Ix,Hx,Gx,Mh,Mc,wx,vx,tx,sx,rx,qx,px,ox,mx,lx,jx,ix,Mh,Mc,Hw,Gw,Fw,Ew,Dw,Cw,Cm,Bw,an,Aw,zw,Bm,Mh,Mc,Qv,Pv,Ov,Nv,Mv,Lv,Cm,Kv,Jv,vv,uv,tv,sv,rv,qv,pv,hv,Mc,gv,fv,dv,cv,bv,av,$u,_u,Zu,Yu,Ru,Qu,Pu,Ou,Nu,Mu,hm,Mc,Au,zu,Uf,yu,xu,wu,ou,nu,yh,ku,ju,iu,oC,Mc,nC,iC,XB,MB,LB,Si,Ri,Qi,wB,vB,Si,Ri,Qi,oB,Mc,nB,mB,Si,Ri,Qi,iB,fA,Pz,Oz,Nz,Mz,Iz,Hz,Gz,Jz,Fz,wz,vz,uz,nz,tz,sz,rz,qz,mz,pz,Ez,Dz,Cz,oz,Bz,Az,zz,yz,_z,xz,hm,dz,_y,ce,Mc,Mc,Zy,ce,Ty,ce,Yy,Qy,Sy,Uy,ce,Xy,Wy,Vy]);QE();function Ra(){return K.byteLength/65536|0}function Wa(Xa){Xa=Xa|0;var Sa=Ra()|0;var Ta=Sa+Xa|0;if(Sa { const i = this.getVideoPlaybackQuality(), o = this.mozPresentedFrames || this.mozPaintedFrames || i.totalVideoFrames - i.droppedVideoFrames; if (o > s) { diff --git a/dist/jassub.umd.js b/dist/jassub.umd.js index 1a35270..10d66e8 100644 --- a/dist/jassub.umd.js +++ b/dist/jassub.umd.js @@ -1 +1 @@ -(function(c,m){typeof exports=="object"&&typeof module<"u"?module.exports=m():typeof define=="function"&&define.amd?define(m):(c=typeof globalThis<"u"?globalThis:c||self,c.JASSUB=m())})(this,function(){"use strict";!("requestVideoFrameCallback"in HTMLVideoElement.prototype)&&"getVideoPlaybackQuality"in HTMLVideoElement.prototype&&(HTMLVideoElement.prototype._rvfcpolyfillmap={},HTMLVideoElement.prototype.requestVideoFrameCallback=function(_){const e=performance.now(),t=this.getVideoPlaybackQuality(),s=this.mozPresentedFrames||this.mozPaintedFrames||t.totalVideoFrames-t.droppedVideoFrames,a=(n,r)=>{const i=this.getVideoPlaybackQuality(),h=this.mozPresentedFrames||this.mozPaintedFrames||i.totalVideoFrames-i.droppedVideoFrames;if(h>s){const d=this.mozFrameDelay||i.totalFrameDelay-t.totalFrameDelay||0,l=r-n;_(r,{presentationTime:r+d*1e3,expectedDisplayTime:r+l,width:this.videoWidth,height:this.videoHeight,mediaTime:Math.max(0,this.currentTime||0)+l/1e3,presentedFrames:h,processingDuration:d}),delete this._rvfcpolyfillmap[e]}else this._rvfcpolyfillmap[e]=requestAnimationFrame(d=>a(r,d))};return this._rvfcpolyfillmap[e]=requestAnimationFrame(n=>a(e,n)),e},HTMLVideoElement.prototype.cancelVideoFrameCallback=function(_){cancelAnimationFrame(this._rvfcpolyfillmap[_]),delete this._rvfcpolyfillmap[_]});const c={bt709:"BT709",bt470bg:"BT601",smpte170m:"BT601"},m={BT601:{BT709:"1.0863 -0.0723 -0.014 0 0 0.0965 0.8451 0.0584 0 0 -0.0141 -0.0277 1.0418"},BT709:{BT601:"0.9137 0.0784 0.0079 0 0 -0.1049 1.1722 -0.0671 0 0 0.0096 0.0322 0.9582"},FCC:{BT709:"1.0873 -0.0736 -0.0137 0 0 0.0974 0.8494 0.0531 0 0 -0.0127 -0.0251 1.0378",BT601:"1.001 -0.0008 -0.0002 0 0 0.0009 1.005 -0.006 0 0 0.0013 0.0027 0.996"},SMPTE240M:{BT709:"0.9993 0.0006 0.0001 0 0 -0.0004 0.9812 0.0192 0 0 -0.0034 -0.0114 1.0148",BT601:"0.913 0.0774 0.0096 0 0 -0.1051 1.1508 -0.0456 0 0 0.0063 0.0207 0.973"}};class o extends EventTarget{constructor(e){if(super(),!globalThis.Worker)throw this.destroy("Worker not supported");if(!e)throw this.destroy("No options provided");this._loaded=new Promise(s=>{this._init=s});const t=o._test();if(this._onDemandRender="requestVideoFrameCallback"in HTMLVideoElement.prototype&&(e.onDemandRender??!0),this._offscreenRender="transferControlToOffscreen"in HTMLCanvasElement.prototype&&!e.canvas&&(e.offscreenRender??!0),this.timeOffset=e.timeOffset||0,this._video=e.video,this._videoHeight=0,this._videoWidth=0,this._videoColorSpace=null,this._canvas=e.canvas,this._video&&!this._canvas)this._canvasParent=document.createElement("div"),this._canvasParent.className="JASSUB",this._canvasParent.style.position="relative",this._canvas=this._createCanvas(),this._video.insertAdjacentElement("afterend",this._canvasParent);else if(!this._canvas)throw this.destroy("Don't know where to render: you should give video or canvas in options.");if(this._bufferCanvas=document.createElement("canvas"),this._bufferCtx=this._bufferCanvas.getContext("2d"),!this._bufferCtx)throw this.destroy("Canvas rendering not supported");this._canvasctrl=this._offscreenRender?this._canvas.transferControlToOffscreen():this._canvas,this._ctx=!this._offscreenRender&&this._canvasctrl.getContext("2d"),this._lastRenderTime=0,this.debug=!!e.debug,this.prescaleFactor=e.prescaleFactor||1,this.prescaleHeightLimit=e.prescaleHeightLimit||1080,this.maxRenderHeight=e.maxRenderHeight||0,this._boundResize=this.resize.bind(this),this._boundTimeUpdate=this._timeupdate.bind(this),this._boundSetRate=this.setRate.bind(this),this._boundUpdateColorSpace=this._updateColorSpace.bind(this),this._video&&this.setVideo(e.video),this._onDemandRender&&(this.busy=!1,this._lastDemandTime=null),this._worker=new Worker(e.workerUrl||"jassub-worker.js"),this._worker.onmessage=s=>this._onmessage(s),this._worker.onerror=s=>this._error(s),t.then(()=>{this._worker.postMessage({target:"init",wasmUrl:o._supportsSIMD&&e.modernWasmUrl?e.modernWasmUrl:e.wasmUrl||"jassub-worker.wasm",legacyWasmUrl:e.legacyWasmUrl||"jassub-worker.wasm.js",asyncRender:typeof createImageBitmap<"u"&&(e.asyncRender??!0),onDemandRender:this._onDemandRender,width:this._canvasctrl.width||0,height:this._canvasctrl.height||0,blendMode:e.blendMode||"js",subUrl:e.subUrl,subContent:e.subContent||null,fonts:e.fonts||[],availableFonts:e.availableFonts||{"liberation sans":"./default.woff2"},fallbackFont:e.fallbackFont||"liberation sans",debug:this.debug,targetFps:e.targetFps||24,dropAllAnimations:e.dropAllAnimations,dropAllBlur:e.dropAllBlur,libassMemoryLimit:e.libassMemoryLimit||0,libassGlyphLimit:e.libassGlyphLimit||0,useLocalFonts:typeof queryLocalFonts<"u"&&(e.useLocalFonts??!0),hasBitmapBug:o._hasBitmapBug}),this._offscreenRender===!0&&this.sendMessage("offscreenCanvas",null,[this._canvasctrl])})}_createCanvas(){return this._canvas=document.createElement("canvas"),this._canvas.style.display="block",this._canvas.style.position="absolute",this._canvas.style.pointerEvents="none",this._canvasParent.appendChild(this._canvas),this._canvas}static _supportsSIMD=null;static _hasAlphaBug=null;static _hasBitmapBug=null;static async _test(){if(o._hasBitmapBug!==null)return null;try{o._supportsSIMD=WebAssembly.validate(Uint8Array.of(0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11))}catch{o._supportsSIMD=!1}const e=document.createElement("canvas"),t=e.getContext("2d",{willReadFrequently:!0});if(!t)throw new Error("Canvas rendering not supported");if(typeof ImageData.prototype.constructor=="function")try{new ImageData(new Uint8ClampedArray([0,0,0,0]),1,1)}catch{console.log("Detected that ImageData is not constructable despite browser saying so"),self.ImageData=function(h,d,l){const f=t.createImageData(d,l);return h&&f.data.set(h),f}}const s=document.createElement("canvas"),a=s.getContext("2d",{willReadFrequently:!0});if(!a)throw new Error("Canvas rendering not supported");e.width=s.width=1,e.height=s.height=1,t.clearRect(0,0,1,1),a.clearRect(0,0,1,1);const n=a.getImageData(0,0,1,1).data;t.putImageData(new ImageData(new Uint8ClampedArray([0,255,0,0]),1,1),0,0),a.drawImage(e,0,0);const r=a.getImageData(0,0,1,1).data;if(o._hasAlphaBug=n[1]!==r[1],o._hasAlphaBug&&console.log("Detected a browser having issue with transparent pixels, applying workaround"),typeof createImageBitmap<"u"){const i=new Uint8ClampedArray([255,0,255,0,255]).subarray(1,5);a.drawImage(await createImageBitmap(new ImageData(i,1)),0,0);const{data:h}=a.getImageData(0,0,1,1);o._hasBitmapBug=!1;for(const[d,l]of h.entries())if(Math.abs(i[d]-l)>15){o._hasBitmapBug=!0,console.log("Detected a browser having issue with partial bitmaps, applying workaround");break}}else o._hasBitmapBug=!1;e.remove(),s.remove()}resize(e=0,t=0,s=0,a=0,n=this._video?.paused){if((!e||!t)&&this._video){const r=this._getVideoPosition();let i=null;if(this._videoWidth){const h=this._video.videoWidth/this._videoWidth,d=this._video.videoHeight/this._videoHeight;i=this._computeCanvasSize((r.width||0)/h,(r.height||0)/d)}else i=this._computeCanvasSize(r.width||0,r.height||0);e=i.width,t=i.height,this._canvasParent&&(s=r.y-(this._canvasParent.getBoundingClientRect().top-this._video.getBoundingClientRect().top),a=r.x),this._canvas.style.width=r.width+"px",this._canvas.style.height=r.height+"px"}this._canvas.style.top=s+"px",this._canvas.style.left=a+"px",n&&this.busy===!1?this.busy=!0:n=!1,this.sendMessage("canvas",{width:e,height:t,force:n})}_getVideoPosition(e=this._video.videoWidth,t=this._video.videoHeight){const s=e/t,{offsetWidth:a,offsetHeight:n}=this._video,r=a/n;e=a,t=n,r>s?e=Math.floor(n*s):t=Math.floor(a/s);const i=(a-e)/2,h=(n-t)/2;return{width:e,height:t,x:i,y:h}}_computeCanvasSize(e=0,t=0){const s=this.prescaleFactor<=0?1:this.prescaleFactor,a=self.devicePixelRatio||1;if(e=e*a,t=t*a,t<=0||e<=0)e=0,t=0;else{const n=s<1?-1:1;let r=t*a;n*r*s<=n*this.prescaleHeightLimit?r*=s:n*r0&&r>this.maxRenderHeight&&(r=this.maxRenderHeight),e*=r/t,t=r}return{width:e,height:t}}_timeupdate({type:e}){const s={seeking:!0,waiting:!0,playing:!1}[e];s!=null&&(this._playstate=s),this.setCurrentTime(this._video.paused||this._playstate,this._video.currentTime+this.timeOffset)}setVideo(e){e instanceof HTMLVideoElement?(this._removeListeners(),this._video=e,this._onDemandRender?this._video.requestVideoFrameCallback(this._handleRVFC.bind(this)):(this._playstate=e.paused,e.addEventListener("timeupdate",this._boundTimeUpdate,!1),e.addEventListener("progress",this._boundTimeUpdate,!1),e.addEventListener("waiting",this._boundTimeUpdate,!1),e.addEventListener("seeking",this._boundTimeUpdate,!1),e.addEventListener("playing",this._boundTimeUpdate,!1),e.addEventListener("ratechange",this._boundSetRate,!1),e.addEventListener("resize",this._boundResize,!1)),"VideoFrame"in window&&(e.addEventListener("loadedmetadata",this._boundUpdateColorSpace,!1),e.readyState>2&&this._updateColorSpace()),e.videoWidth>0&&this.resize(),typeof ResizeObserver<"u"&&(this._ro||(this._ro=new ResizeObserver(()=>this.resize())),this._ro.observe(e))):this._error("Video element invalid!")}runBenchmark(){this.sendMessage("runBenchmark")}setTrackByUrl(e){this.sendMessage("setTrackByUrl",{url:e}),this._reAttachOffscreen(),this._ctx&&(this._ctx.filter="none")}setTrack(e){this.sendMessage("setTrack",{content:e}),this._reAttachOffscreen(),this._ctx&&(this._ctx.filter="none")}freeTrack(){this.sendMessage("freeTrack")}setIsPaused(e){this.sendMessage("video",{isPaused:e})}setRate(e){this.sendMessage("video",{rate:e})}setCurrentTime(e,t,s){this.sendMessage("video",{isPaused:e,currentTime:t,rate:s,colorSpace:this._videoColorSpace})}createEvent(e){this.sendMessage("createEvent",{event:e})}setEvent(e,t){this.sendMessage("setEvent",{event:e,index:t})}removeEvent(e){this.sendMessage("removeEvent",{index:e})}getEvents(e){this._fetchFromWorker({target:"getEvents"},(t,{events:s})=>{e(t,s)})}createStyle(e){this.sendMessage("createStyle",{style:e})}setStyle(e,t){this.sendMessage("setStyle",{style:e,index:t})}removeStyle(e){this.sendMessage("removeStyle",{index:e})}getStyles(e){this._fetchFromWorker({target:"getStyles"},(t,{styles:s})=>{e(t,s)})}addFont(e){this.sendMessage("addFont",{font:e})}_sendLocalFont(e){try{queryLocalFonts().then(t=>{const s=t?.find(a=>a.fullName.toLowerCase()===e);s&&s.blob().then(a=>{a.arrayBuffer().then(n=>{this.addFont(new Uint8Array(n))})})})}catch(t){console.warn("Local fonts API:",t)}}_getLocalFont({font:e}){try{navigator?.permissions?.query?navigator.permissions.query({name:"local-fonts"}).then(t=>{t.state==="granted"&&this._sendLocalFont(e)}):this._sendLocalFont(e)}catch(t){console.warn("Local fonts API:",t)}}_unbusy(){this._lastDemandTime?this._demandRender(this._lastDemandTime):this.busy=!1}_handleRVFC(e,{mediaTime:t,width:s,height:a}){if(this._destroyed)return null;this.busy?this._lastDemandTime={mediaTime:t,width:s,height:a}:(this.busy=!0,this._demandRender({mediaTime:t,width:s,height:a})),this._video.requestVideoFrameCallback(this._handleRVFC.bind(this))}_demandRender({mediaTime:e,width:t,height:s}){this._lastDemandTime=null,(t!==this._videoWidth||s!==this._videoHeight)&&(this._videoWidth=t,this._videoHeight=s,this.resize()),this.sendMessage("demand",{time:e+this.timeOffset})}_detachOffscreen(){if(!this._offscreenRender||this._ctx)return null;this._canvas.remove(),this._createCanvas(),this._canvasctrl=this._canvas,this._ctx=this._canvasctrl.getContext("2d"),this.sendMessage("detachOffscreen"),this.busy=!1,this.resize(0,0,0,0,!0)}_reAttachOffscreen(){if(!this._offscreenRender||!this._ctx)return null;this._canvas.remove(),this._createCanvas(),this._canvasctrl=this._canvas.transferControlToOffscreen(),this._ctx=!1,this.sendMessage("offscreenCanvas",null,[this._canvasctrl]),this.resize(0,0,0,0,!0)}_updateColorSpace(){this._video.requestVideoFrameCallback(()=>{try{const e=new VideoFrame(this._video);this._videoColorSpace=c[e.colorSpace.matrix],e.close(),this.sendMessage("getColorSpace")}catch(e){console.warn(e)}})}_verifyColorSpace({subtitleColorSpace:e,videoColorSpace:t=this._videoColorSpace}){!e||!t||e!==t&&(this._detachOffscreen(),this._ctx.filter=`url("data:image/svg+xml;utf8,#f")`)}_render({images:e,asyncRender:t,times:s,width:a,height:n,colorSpace:r}){this._unbusy(),this.debug&&(s.IPCTime=Date.now()-s.JSRenderTime),(this._canvasctrl.width!==a||this._canvasctrl.height!==n)&&(this._canvasctrl.width=a,this._canvasctrl.height=n,this._verifyColorSpace({subtitleColorSpace:r})),this._ctx.clearRect(0,0,this._canvasctrl.width,this._canvasctrl.height);for(const i of e)i.image&&(t?(this._ctx.drawImage(i.image,i.x,i.y),i.image.close()):(this._bufferCanvas.width=i.w,this._bufferCanvas.height=i.h,this._bufferCtx.putImageData(new ImageData(this._fixAlpha(new Uint8ClampedArray(i.image)),i.w,i.h),0,0),this._ctx.drawImage(this._bufferCanvas,i.x,i.y)));if(this.debug){s.JSRenderTime=Date.now()-s.JSRenderTime-s.IPCTime;let i=0;const h=s.bitmaps||e.length;delete s.bitmaps;for(const d in s)i+=s[d];console.log("Bitmaps: "+h+" Total: "+(i|0)+"ms",s)}}_fixAlpha(e){if(o._hasAlphaBug)for(let t=3;t1?e[t]:1;return e}_ready(){this._init(),this.dispatchEvent(new CustomEvent("ready"))}async sendMessage(e,t={},s){await this._loaded,s?this._worker.postMessage({target:e,transferable:s,...t},[...s]):this._worker.postMessage({target:e,...t})}_fetchFromWorker(e,t){try{const s=e.target,a=setTimeout(()=>{r(new Error("Error: Timeout while try to fetch "+s))},5e3),n=({data:i})=>{i.target===s&&(t(null,i),this._worker.removeEventListener("message",n),this._worker.removeEventListener("error",r),clearTimeout(a))},r=i=>{t(i),this._worker.removeEventListener("message",n),this._worker.removeEventListener("error",r),clearTimeout(a)};this._worker.addEventListener("message",n),this._worker.addEventListener("error",r),this._worker.postMessage(e)}catch(s){this._error(s)}}_console({content:e,command:t}){console[t].apply(console,JSON.parse(e))}_onmessage({data:e}){this["_"+e.target]&&this["_"+e.target](e)}_error(e){const t=e instanceof Error?e:e instanceof ErrorEvent?e.error:new Error(e),s=e instanceof Event?new ErrorEvent(e.type,e):new ErrorEvent("error",{error:t});return this.dispatchEvent(s),console.error(t),t}_removeListeners(){this._video&&(this._ro&&this._ro.unobserve(this._video),this._ctx&&(this._ctx.filter="none"),this._video.removeEventListener("timeupdate",this._boundTimeUpdate),this._video.removeEventListener("progress",this._boundTimeUpdate),this._video.removeEventListener("waiting",this._boundTimeUpdate),this._video.removeEventListener("seeking",this._boundTimeUpdate),this._video.removeEventListener("playing",this._boundTimeUpdate),this._video.removeEventListener("ratechange",this._boundSetRate),this._video.removeEventListener("resize",this._boundResize),this._video.removeEventListener("loadedmetadata",this._boundUpdateColorSpace))}destroy(e){return e&&(e=this._error(e)),this._video&&this._canvasParent&&this._video.parentNode?.removeChild(this._canvasParent),this._destroyed=!0,this._removeListeners(),this.sendMessage("destroy"),this._worker?.terminate(),e}}return o}); +(function(c,m){typeof exports=="object"&&typeof module<"u"?module.exports=m():typeof define=="function"&&define.amd?define(m):(c=typeof globalThis<"u"?globalThis:c||self,c.JASSUB=m())})(this,function(){"use strict";typeof HTMLVideoElement<"u"&&!("requestVideoFrameCallback"in HTMLVideoElement.prototype)&&"getVideoPlaybackQuality"in HTMLVideoElement.prototype&&(HTMLVideoElement.prototype._rvfcpolyfillmap={},HTMLVideoElement.prototype.requestVideoFrameCallback=function(_){const e=performance.now(),t=this.getVideoPlaybackQuality(),s=this.mozPresentedFrames||this.mozPaintedFrames||t.totalVideoFrames-t.droppedVideoFrames,a=(n,r)=>{const i=this.getVideoPlaybackQuality(),h=this.mozPresentedFrames||this.mozPaintedFrames||i.totalVideoFrames-i.droppedVideoFrames;if(h>s){const d=this.mozFrameDelay||i.totalFrameDelay-t.totalFrameDelay||0,l=r-n;_(r,{presentationTime:r+d*1e3,expectedDisplayTime:r+l,width:this.videoWidth,height:this.videoHeight,mediaTime:Math.max(0,this.currentTime||0)+l/1e3,presentedFrames:h,processingDuration:d}),delete this._rvfcpolyfillmap[e]}else this._rvfcpolyfillmap[e]=requestAnimationFrame(d=>a(r,d))};return this._rvfcpolyfillmap[e]=requestAnimationFrame(n=>a(e,n)),e},HTMLVideoElement.prototype.cancelVideoFrameCallback=function(_){cancelAnimationFrame(this._rvfcpolyfillmap[_]),delete this._rvfcpolyfillmap[_]});const c={bt709:"BT709",bt470bg:"BT601",smpte170m:"BT601"},m={BT601:{BT709:"1.0863 -0.0723 -0.014 0 0 0.0965 0.8451 0.0584 0 0 -0.0141 -0.0277 1.0418"},BT709:{BT601:"0.9137 0.0784 0.0079 0 0 -0.1049 1.1722 -0.0671 0 0 0.0096 0.0322 0.9582"},FCC:{BT709:"1.0873 -0.0736 -0.0137 0 0 0.0974 0.8494 0.0531 0 0 -0.0127 -0.0251 1.0378",BT601:"1.001 -0.0008 -0.0002 0 0 0.0009 1.005 -0.006 0 0 0.0013 0.0027 0.996"},SMPTE240M:{BT709:"0.9993 0.0006 0.0001 0 0 -0.0004 0.9812 0.0192 0 0 -0.0034 -0.0114 1.0148",BT601:"0.913 0.0774 0.0096 0 0 -0.1051 1.1508 -0.0456 0 0 0.0063 0.0207 0.973"}};class o extends EventTarget{constructor(e){if(super(),!globalThis.Worker)throw this.destroy("Worker not supported");if(!e)throw this.destroy("No options provided");this._loaded=new Promise(s=>{this._init=s});const t=o._test();if(this._onDemandRender="requestVideoFrameCallback"in HTMLVideoElement.prototype&&(e.onDemandRender??!0),this._offscreenRender="transferControlToOffscreen"in HTMLCanvasElement.prototype&&!e.canvas&&(e.offscreenRender??!0),this.timeOffset=e.timeOffset||0,this._video=e.video,this._videoHeight=0,this._videoWidth=0,this._videoColorSpace=null,this._canvas=e.canvas,this._video&&!this._canvas)this._canvasParent=document.createElement("div"),this._canvasParent.className="JASSUB",this._canvasParent.style.position="relative",this._canvas=this._createCanvas(),this._video.insertAdjacentElement("afterend",this._canvasParent);else if(!this._canvas)throw this.destroy("Don't know where to render: you should give video or canvas in options.");if(this._bufferCanvas=document.createElement("canvas"),this._bufferCtx=this._bufferCanvas.getContext("2d"),!this._bufferCtx)throw this.destroy("Canvas rendering not supported");this._canvasctrl=this._offscreenRender?this._canvas.transferControlToOffscreen():this._canvas,this._ctx=!this._offscreenRender&&this._canvasctrl.getContext("2d"),this._lastRenderTime=0,this.debug=!!e.debug,this.prescaleFactor=e.prescaleFactor||1,this.prescaleHeightLimit=e.prescaleHeightLimit||1080,this.maxRenderHeight=e.maxRenderHeight||0,this._boundResize=this.resize.bind(this),this._boundTimeUpdate=this._timeupdate.bind(this),this._boundSetRate=this.setRate.bind(this),this._boundUpdateColorSpace=this._updateColorSpace.bind(this),this._video&&this.setVideo(e.video),this._onDemandRender&&(this.busy=!1,this._lastDemandTime=null),this._worker=new Worker(e.workerUrl||"jassub-worker.js"),this._worker.onmessage=s=>this._onmessage(s),this._worker.onerror=s=>this._error(s),t.then(()=>{this._worker.postMessage({target:"init",wasmUrl:o._supportsSIMD&&e.modernWasmUrl?e.modernWasmUrl:e.wasmUrl||"jassub-worker.wasm",legacyWasmUrl:e.legacyWasmUrl||"jassub-worker.wasm.js",asyncRender:typeof createImageBitmap<"u"&&(e.asyncRender??!0),onDemandRender:this._onDemandRender,width:this._canvasctrl.width||0,height:this._canvasctrl.height||0,blendMode:e.blendMode||"js",subUrl:e.subUrl,subContent:e.subContent||null,fonts:e.fonts||[],availableFonts:e.availableFonts||{"liberation sans":"./default.woff2"},fallbackFont:e.fallbackFont||"liberation sans",debug:this.debug,targetFps:e.targetFps||24,dropAllAnimations:e.dropAllAnimations,dropAllBlur:e.dropAllBlur,libassMemoryLimit:e.libassMemoryLimit||0,libassGlyphLimit:e.libassGlyphLimit||0,useLocalFonts:typeof queryLocalFonts<"u"&&(e.useLocalFonts??!0),hasBitmapBug:o._hasBitmapBug}),this._offscreenRender===!0&&this.sendMessage("offscreenCanvas",null,[this._canvasctrl])})}_createCanvas(){return this._canvas=document.createElement("canvas"),this._canvas.style.display="block",this._canvas.style.position="absolute",this._canvas.style.pointerEvents="none",this._canvasParent.appendChild(this._canvas),this._canvas}static _supportsSIMD=null;static _hasAlphaBug=null;static _hasBitmapBug=null;static async _test(){if(o._hasBitmapBug!==null)return null;try{o._supportsSIMD=WebAssembly.validate(Uint8Array.of(0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11))}catch{o._supportsSIMD=!1}const e=document.createElement("canvas"),t=e.getContext("2d",{willReadFrequently:!0});if(!t)throw new Error("Canvas rendering not supported");if(typeof ImageData.prototype.constructor=="function")try{new ImageData(new Uint8ClampedArray([0,0,0,0]),1,1)}catch{console.log("Detected that ImageData is not constructable despite browser saying so"),self.ImageData=function(h,d,l){const f=t.createImageData(d,l);return h&&f.data.set(h),f}}const s=document.createElement("canvas"),a=s.getContext("2d",{willReadFrequently:!0});if(!a)throw new Error("Canvas rendering not supported");e.width=s.width=1,e.height=s.height=1,t.clearRect(0,0,1,1),a.clearRect(0,0,1,1);const n=a.getImageData(0,0,1,1).data;t.putImageData(new ImageData(new Uint8ClampedArray([0,255,0,0]),1,1),0,0),a.drawImage(e,0,0);const r=a.getImageData(0,0,1,1).data;if(o._hasAlphaBug=n[1]!==r[1],o._hasAlphaBug&&console.log("Detected a browser having issue with transparent pixels, applying workaround"),typeof createImageBitmap<"u"){const i=new Uint8ClampedArray([255,0,255,0,255]).subarray(1,5);a.drawImage(await createImageBitmap(new ImageData(i,1)),0,0);const{data:h}=a.getImageData(0,0,1,1);o._hasBitmapBug=!1;for(const[d,l]of h.entries())if(Math.abs(i[d]-l)>15){o._hasBitmapBug=!0,console.log("Detected a browser having issue with partial bitmaps, applying workaround");break}}else o._hasBitmapBug=!1;e.remove(),s.remove()}resize(e=0,t=0,s=0,a=0,n=this._video?.paused){if((!e||!t)&&this._video){const r=this._getVideoPosition();let i=null;if(this._videoWidth){const h=this._video.videoWidth/this._videoWidth,d=this._video.videoHeight/this._videoHeight;i=this._computeCanvasSize((r.width||0)/h,(r.height||0)/d)}else i=this._computeCanvasSize(r.width||0,r.height||0);e=i.width,t=i.height,this._canvasParent&&(s=r.y-(this._canvasParent.getBoundingClientRect().top-this._video.getBoundingClientRect().top),a=r.x),this._canvas.style.width=r.width+"px",this._canvas.style.height=r.height+"px"}this._canvas.style.top=s+"px",this._canvas.style.left=a+"px",n&&this.busy===!1?this.busy=!0:n=!1,this.sendMessage("canvas",{width:e,height:t,force:n})}_getVideoPosition(e=this._video.videoWidth,t=this._video.videoHeight){const s=e/t,{offsetWidth:a,offsetHeight:n}=this._video,r=a/n;e=a,t=n,r>s?e=Math.floor(n*s):t=Math.floor(a/s);const i=(a-e)/2,h=(n-t)/2;return{width:e,height:t,x:i,y:h}}_computeCanvasSize(e=0,t=0){const s=this.prescaleFactor<=0?1:this.prescaleFactor,a=self.devicePixelRatio||1;if(e=e*a,t=t*a,t<=0||e<=0)e=0,t=0;else{const n=s<1?-1:1;let r=t*a;n*r*s<=n*this.prescaleHeightLimit?r*=s:n*r0&&r>this.maxRenderHeight&&(r=this.maxRenderHeight),e*=r/t,t=r}return{width:e,height:t}}_timeupdate({type:e}){const s={seeking:!0,waiting:!0,playing:!1}[e];s!=null&&(this._playstate=s),this.setCurrentTime(this._video.paused||this._playstate,this._video.currentTime+this.timeOffset)}setVideo(e){e instanceof HTMLVideoElement?(this._removeListeners(),this._video=e,this._onDemandRender?this._video.requestVideoFrameCallback(this._handleRVFC.bind(this)):(this._playstate=e.paused,e.addEventListener("timeupdate",this._boundTimeUpdate,!1),e.addEventListener("progress",this._boundTimeUpdate,!1),e.addEventListener("waiting",this._boundTimeUpdate,!1),e.addEventListener("seeking",this._boundTimeUpdate,!1),e.addEventListener("playing",this._boundTimeUpdate,!1),e.addEventListener("ratechange",this._boundSetRate,!1),e.addEventListener("resize",this._boundResize,!1)),"VideoFrame"in window&&(e.addEventListener("loadedmetadata",this._boundUpdateColorSpace,!1),e.readyState>2&&this._updateColorSpace()),e.videoWidth>0&&this.resize(),typeof ResizeObserver<"u"&&(this._ro||(this._ro=new ResizeObserver(()=>this.resize())),this._ro.observe(e))):this._error("Video element invalid!")}runBenchmark(){this.sendMessage("runBenchmark")}setTrackByUrl(e){this.sendMessage("setTrackByUrl",{url:e}),this._reAttachOffscreen(),this._ctx&&(this._ctx.filter="none")}setTrack(e){this.sendMessage("setTrack",{content:e}),this._reAttachOffscreen(),this._ctx&&(this._ctx.filter="none")}freeTrack(){this.sendMessage("freeTrack")}setIsPaused(e){this.sendMessage("video",{isPaused:e})}setRate(e){this.sendMessage("video",{rate:e})}setCurrentTime(e,t,s){this.sendMessage("video",{isPaused:e,currentTime:t,rate:s,colorSpace:this._videoColorSpace})}createEvent(e){this.sendMessage("createEvent",{event:e})}setEvent(e,t){this.sendMessage("setEvent",{event:e,index:t})}removeEvent(e){this.sendMessage("removeEvent",{index:e})}getEvents(e){this._fetchFromWorker({target:"getEvents"},(t,{events:s})=>{e(t,s)})}createStyle(e){this.sendMessage("createStyle",{style:e})}setStyle(e,t){this.sendMessage("setStyle",{style:e,index:t})}removeStyle(e){this.sendMessage("removeStyle",{index:e})}getStyles(e){this._fetchFromWorker({target:"getStyles"},(t,{styles:s})=>{e(t,s)})}addFont(e){this.sendMessage("addFont",{font:e})}_sendLocalFont(e){try{queryLocalFonts().then(t=>{const s=t?.find(a=>a.fullName.toLowerCase()===e);s&&s.blob().then(a=>{a.arrayBuffer().then(n=>{this.addFont(new Uint8Array(n))})})})}catch(t){console.warn("Local fonts API:",t)}}_getLocalFont({font:e}){try{navigator?.permissions?.query?navigator.permissions.query({name:"local-fonts"}).then(t=>{t.state==="granted"&&this._sendLocalFont(e)}):this._sendLocalFont(e)}catch(t){console.warn("Local fonts API:",t)}}_unbusy(){this._lastDemandTime?this._demandRender(this._lastDemandTime):this.busy=!1}_handleRVFC(e,{mediaTime:t,width:s,height:a}){if(this._destroyed)return null;this.busy?this._lastDemandTime={mediaTime:t,width:s,height:a}:(this.busy=!0,this._demandRender({mediaTime:t,width:s,height:a})),this._video.requestVideoFrameCallback(this._handleRVFC.bind(this))}_demandRender({mediaTime:e,width:t,height:s}){this._lastDemandTime=null,(t!==this._videoWidth||s!==this._videoHeight)&&(this._videoWidth=t,this._videoHeight=s,this.resize()),this.sendMessage("demand",{time:e+this.timeOffset})}_detachOffscreen(){if(!this._offscreenRender||this._ctx)return null;this._canvas.remove(),this._createCanvas(),this._canvasctrl=this._canvas,this._ctx=this._canvasctrl.getContext("2d"),this.sendMessage("detachOffscreen"),this.busy=!1,this.resize(0,0,0,0,!0)}_reAttachOffscreen(){if(!this._offscreenRender||!this._ctx)return null;this._canvas.remove(),this._createCanvas(),this._canvasctrl=this._canvas.transferControlToOffscreen(),this._ctx=!1,this.sendMessage("offscreenCanvas",null,[this._canvasctrl]),this.resize(0,0,0,0,!0)}_updateColorSpace(){this._video.requestVideoFrameCallback(()=>{try{const e=new VideoFrame(this._video);this._videoColorSpace=c[e.colorSpace.matrix],e.close(),this.sendMessage("getColorSpace")}catch(e){console.warn(e)}})}_verifyColorSpace({subtitleColorSpace:e,videoColorSpace:t=this._videoColorSpace}){!e||!t||e!==t&&(this._detachOffscreen(),this._ctx.filter=`url("data:image/svg+xml;utf8,#f")`)}_render({images:e,asyncRender:t,times:s,width:a,height:n,colorSpace:r}){this._unbusy(),this.debug&&(s.IPCTime=Date.now()-s.JSRenderTime),(this._canvasctrl.width!==a||this._canvasctrl.height!==n)&&(this._canvasctrl.width=a,this._canvasctrl.height=n,this._verifyColorSpace({subtitleColorSpace:r})),this._ctx.clearRect(0,0,this._canvasctrl.width,this._canvasctrl.height);for(const i of e)i.image&&(t?(this._ctx.drawImage(i.image,i.x,i.y),i.image.close()):(this._bufferCanvas.width=i.w,this._bufferCanvas.height=i.h,this._bufferCtx.putImageData(new ImageData(this._fixAlpha(new Uint8ClampedArray(i.image)),i.w,i.h),0,0),this._ctx.drawImage(this._bufferCanvas,i.x,i.y)));if(this.debug){s.JSRenderTime=Date.now()-s.JSRenderTime-s.IPCTime;let i=0;const h=s.bitmaps||e.length;delete s.bitmaps;for(const d in s)i+=s[d];console.log("Bitmaps: "+h+" Total: "+(i|0)+"ms",s)}}_fixAlpha(e){if(o._hasAlphaBug)for(let t=3;t1?e[t]:1;return e}_ready(){this._init(),this.dispatchEvent(new CustomEvent("ready"))}async sendMessage(e,t={},s){await this._loaded,s?this._worker.postMessage({target:e,transferable:s,...t},[...s]):this._worker.postMessage({target:e,...t})}_fetchFromWorker(e,t){try{const s=e.target,a=setTimeout(()=>{r(new Error("Error: Timeout while try to fetch "+s))},5e3),n=({data:i})=>{i.target===s&&(t(null,i),this._worker.removeEventListener("message",n),this._worker.removeEventListener("error",r),clearTimeout(a))},r=i=>{t(i),this._worker.removeEventListener("message",n),this._worker.removeEventListener("error",r),clearTimeout(a)};this._worker.addEventListener("message",n),this._worker.addEventListener("error",r),this._worker.postMessage(e)}catch(s){this._error(s)}}_console({content:e,command:t}){console[t].apply(console,JSON.parse(e))}_onmessage({data:e}){this["_"+e.target]&&this["_"+e.target](e)}_error(e){const t=e instanceof Error?e:e instanceof ErrorEvent?e.error:new Error(e),s=e instanceof Event?new ErrorEvent(e.type,e):new ErrorEvent("error",{error:t});return this.dispatchEvent(s),console.error(t),t}_removeListeners(){this._video&&(this._ro&&this._ro.unobserve(this._video),this._ctx&&(this._ctx.filter="none"),this._video.removeEventListener("timeupdate",this._boundTimeUpdate),this._video.removeEventListener("progress",this._boundTimeUpdate),this._video.removeEventListener("waiting",this._boundTimeUpdate),this._video.removeEventListener("seeking",this._boundTimeUpdate),this._video.removeEventListener("playing",this._boundTimeUpdate),this._video.removeEventListener("ratechange",this._boundSetRate),this._video.removeEventListener("resize",this._boundResize),this._video.removeEventListener("loadedmetadata",this._boundUpdateColorSpace))}destroy(e){return e&&(e=this._error(e)),this._video&&this._canvasParent&&this._video.parentNode?.removeChild(this._canvasParent),this._destroyed=!0,this._removeListeners(),this.sendMessage("destroy"),this._worker?.terminate(),e}}return o}); diff --git a/package-lock.json b/package-lock.json index e5055d4..a854ed6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "jassub", - "version": "1.7.7", + "version": "1.7.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "jassub", - "version": "1.7.7", + "version": "1.7.12", "license": "LGPL-2.1-or-later AND (FTL OR GPL-2.0-or-later) AND MIT AND MIT-Modern-Variant AND ISC AND NTP AND Zlib AND BSL-1.0", "dependencies": { - "rvfc-polyfill": "^1.0.6" + "rvfc-polyfill": "^1.0.7" }, "devDependencies": { "@types/emscripten": "^1.39.7", @@ -871,9 +871,9 @@ } }, "node_modules/rvfc-polyfill": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/rvfc-polyfill/-/rvfc-polyfill-1.0.6.tgz", - "integrity": "sha512-y7tu9Bh19CTnzBZWEQEEEo5UYvhVi5Ud9C3ndeWtm9m+tUO5vK8qqbpAMJfEDgRSFZokrVHmehnhGjd9LyazBg==" + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/rvfc-polyfill/-/rvfc-polyfill-1.0.7.tgz", + "integrity": "sha512-seBl7J1J3/k0LuzW2T9fG6JIOpni5AbU+/87LA+zTYKgTVhsfShmS8K/yOo1eeEjGJHnAdkVAUUM+PEjN9Mpkw==" }, "node_modules/source-map": { "version": "0.6.1", @@ -1544,9 +1544,9 @@ } }, "rvfc-polyfill": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/rvfc-polyfill/-/rvfc-polyfill-1.0.6.tgz", - "integrity": "sha512-y7tu9Bh19CTnzBZWEQEEEo5UYvhVi5Ud9C3ndeWtm9m+tUO5vK8qqbpAMJfEDgRSFZokrVHmehnhGjd9LyazBg==" + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/rvfc-polyfill/-/rvfc-polyfill-1.0.7.tgz", + "integrity": "sha512-seBl7J1J3/k0LuzW2T9fG6JIOpni5AbU+/87LA+zTYKgTVhsfShmS8K/yOo1eeEjGJHnAdkVAUUM+PEjN9Mpkw==" }, "source-map": { "version": "0.6.1", diff --git a/package.json b/package.json index a77dbe6..b36ba8d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jassub", - "version": "1.7.11", + "version": "1.7.12", "description": "libass Subtitle Renderer and Parser library for browsers", "main": "src/jassub.js", "type": "module",