/external/clang/test/OpenMP/ |
H A D | target_codegen_global_capture.cpp | 41 static float Sc = 7.0; local 128 // Capture b, Gb, Sb, Gc, c, Sc, d, Gd, Sd 142 #pragma omp parallel if(Gc>0.0 && c>0 && Sc>0.0) 149 return a + b + c + d + (int)Sa + (int)Sb + (int)Sc + (int)Sd; 164 static float Sc = 11.0; local 264 // Capture b, Gb, Sb, Gc, c, Sc, d, Gd, Sd 276 #pragma omp parallel if(Gc>0.0 && c>0 && Sc>0.0) 284 return a + b + c + d + (int)Sa + (int)Sb + (int)Sc + (int)Sd;
|
/external/clang/test/SemaCXX/ |
H A D | err_typecheck_assign_const_filecheck.cpp | 35 static C Sc; member in struct:B 215 Ca.CSb.Sc.d.e.num = 5; 216 Ca.getCB().Sc.d.e.num = 5; 217 Ca.getSCB().Sc.d.e.num = 5;
|
/external/clang/lib/Sema/ |
H A D | SemaPseudoObject.cpp | 213 ExprResult buildAssignmentOperation(Scope *Sc, 217 ExprResult buildIncDecOperation(Scope *Sc, SourceLocation opLoc, 283 ExprResult buildAssignmentOperation(Scope *Sc, 287 ExprResult buildIncDecOperation(Scope *Sc, SourceLocation opLoc, 323 ExprResult buildAssignmentOperation(Scope *Sc, 422 PseudoOpBuilder::buildAssignmentOperation(Scope *Sc, SourceLocation opcLoc, 458 result = S.BuildBinOp(Sc, opcLoc, nonCompound, opLHS.get(), semanticRHS); 486 PseudoOpBuilder::buildIncDecOperation(Scope *Sc, SourceLocation opcLoc, argument 512 result = S.BuildBinOp(Sc, opcLoc, BO_Add, result.get(), one); 514 result = S.BuildBinOp(Sc, opcLo 879 buildAssignmentOperation(Scope *Sc, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument 926 buildIncDecOperation(Scope *Sc, SourceLocation opcLoc, UnaryOperatorKind opcode, Expr *op) argument 987 buildAssignmentOperation(Scope *Sc, SourceLocation opcLoc, BinaryOperatorKind opcode, Expr *LHS, Expr *RHS) argument 1552 checkPseudoObjectIncDec(Scope *Sc, SourceLocation opcLoc, UnaryOperatorKind opcode, Expr *op) argument [all...] |
H A D | SemaDeclAttr.cpp | 4192 static void handleObjCBridgeAttr(Sema &S, Scope *Sc, Decl *D, argument 4222 static void handleObjCBridgeMutableAttr(Sema &S, Scope *Sc, Decl *D, argument 4236 static void handleObjCBridgeRelatedAttr(Sema &S, Scope *Sc, Decl *D, argument
|
H A D | SemaExpr.cpp | 10678 static ExprResult BuildOverloadedBinOp(Sema &S, Scope *Sc, SourceLocation OpLoc, argument 10688 if (Sc && OverOp != OO_None && OverOp != OO_Equal) 10689 S.LookupOverloadedOperatorName(OverOp, Sc, LHS->getType(),
|
H A D | SemaDeclCXX.cpp | 7510 static bool TryNamespaceTypoCorrection(Sema &S, LookupResult &R, Scope *Sc, argument 7516 S.CorrectTypo(R.getLookupNameInfo(), R.getLookupKind(), Sc, &SS,
|
/external/ImageMagick/MagickCore/ |
H A D | composite.c | 139 Color Function : f(Sc,Dc) where Sc and Dc are the normizalized colors 140 Blending areas : X = 1 for area of overlap, ie: f(Sc,Dc) 145 Dca' = f(Sc, Dc)*Sa*Da + Y*Sca*(1-Da) + Z*Dca*(1-Sa) 149 Sca = Sc*Sa normalized Source color divided by Source alpha 385 Sc, 409 Sc: source color. 479 Sc: source color. 482 Sc=(MagickRealType) GetPixelChannel(source_image,channel,p); 484 Sca=QuantumScale*Sa*Sc; 383 Sc, local 1289 Sc, local [all...] |
/external/doclava/res/assets/templates/assets/ |
H A D | prettify.js | 6 Cc="</span>",Dc='<span class="',Ec='">',Fc="$1 ",Gc=" <br />",Hc="<br />",Ic="console",Jc="cannot override language handler %s",Kc="default-markup",Lc="default-code",Mc="dec",Z="lang-js",$="lang-css",Nc="lang-in.tag",Oc="htm",Pc="html",Qc="mxml",Rc="xhtml",Sc="xml",Tc="xsl",Uc=" \t\r\n",Vc="atv",Wc="tag",Xc="atn",Yc="lang-uq.val",Zc="in.tag",$c="uq.val",ad="break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try alignof align_union asm axiom bool concept concept_map const_cast constexpr decltype dynamic_cast explicit export friend inline late_check mutable namespace nullptr reinterpret_cast static_assert static_cast template typeid typename typeof using virtual wchar_t where ", 27 [Nc,/^(<\/?[a-z][^<>]*>)/i]]),[Kc,Oc,Pc,Qc,Rc,Sc,Tc]);y(K([[S,/^[\s]+/,r,Uc],[Vc,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,r,rc]],[[Wc,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[Xc,/^(?!style\b|on)[a-z](?:[\w:-]*\w)?/],[Yc,/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[Y,/^[=<>\/]+/],[Z,/^on\w+\s*=\s*\"([^\"]+)\"/i],[Z,/^on\w+\s*=\s*\'([^\']+)\'/i],[Z,/^on\w+\s*=\s*([^\"\'>\s]+)/i],[$,/^sty\w+\s*=\s*\"([^\"]+)\"/i],[$,/^sty\w+\s*=\s*\'([^\']+)\'/i],[$,/^sty\w+\s*=\s*([^\"\'>\s]+)/i]]),[Zc]);y(K([],[[Vc,/^[\s\S]+/]]),
|
/external/pdfium/third_party/lcms2-2.6/src/ |
H A D | cmspcs.c | 631 cmsFloat64Number Sc = 1 + 0.045 * (C_p + C_ps)/2; local 641 Sqr(delta_C/(Sc * Kc)) + 643 Rt*(delta_C/(Sc * Kc)) * (delta_H / (Sh * Kh)));
|
/external/llvm/lib/Analysis/ |
H A D | LoopAccessAnalysis.cpp | 132 const SCEV *Sc = replaceSymbolicStrideSCEV(PSE, Strides, Ptr); local 133 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Sc); 155 Pointers.emplace_back(Ptr, ScStart, ScEnd, WritePtr, DepSetId, ASId, Sc); 1634 const SCEV *Sc = SE->getSCEV(Ptr); 1636 if (SE->isLoopInvariant(Sc, TheLoop)) {
|
/external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/ |
H A D | vt320.java | 665 int Sc, Sr, Sa, Stm, Sbm; field in class:vt320 2082 Sc = C; 2096 C = Sc; 2983 Sc = C; 2991 C = Sc;
|
/external/harfbuzz_ng/src/ |
H A D | gen-use-table.py | 71 'Ps', 'Sc', 'Sk', 'Sm', 'So', 'Zl', 'Zp', 'Zs', 204 #SPEC-OUTDATED return UGC in [So, Sc] or UISC == Symbol_Letter 205 return UGC in [So, Sc]
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 1682 // Sc = Sa | Sb 1684 Value *Sc = IRB.CreateOr(Sa, Sb); local 1689 // Si = !(C & ~Sc) && Sc 1690 Value *Zero = Constant::getNullValue(Sc->getType()); 1691 Value *MinusOne = Constant::getAllOnesValue(Sc->getType()); 1693 IRB.CreateAnd(IRB.CreateICmpNE(Sc, Zero), 1695 IRB.CreateAnd(IRB.CreateXor(Sc, MinusOne), C), Zero)); 2636 Value *Sc = getShadow(C); local 2640 Value *Sa0 = IRB.CreateSelect(B, Sc, S [all...] |
/external/v8/test/mjsunit/asm/sqlite3/ |
H A D | sqlite.js | 5 function dh(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c[d>>2]|0;l=c[d+80>>2]|0;h=d+44|0;do if(!(c[h>>2]|0)){c[k+52>>2]=l;e=c[k+236>>2]|0;if(e){d=e+8|0;if(!(b[d>>1]&9312)){b[d>>1]=1;break}else{rg(e);break}}}else{i=k+65|0;j=a[i>>0]|0;d=c[3164]|0;if(d)jc[d&3]();g=k+236|0;d=c[g>>2]|0;do if(!d){d=ih(k,40,0)|0;if(!d){c[g>>2]=d;break}else{e=d+0|0;f=e+40|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));b[d+8>>1]=1;c[d+32>>2]=k;c[g>>2]=d;f=8;break}}else f=8;while(0);if((f|0)==8)Tg(d,c[h>>2]|0,-1,1,-1)|0;d=c[3166]|0;if(d)jc[d&3]();a[i>>0]=j;c[k+52>>2]=l}while(0);return l|0}function eh(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();k=o;c[g>>2]=0;if(!((Dh(a)|0)==0|(b|0)==0)){k=c[a+20>>2]|0;if((k|0)>0){l=c[a+16>>2]|0;n=0;do{m=c[l+(n<<4)+4>>2]|0;if(m)c[(c[m+4>>2]|0)+4>>2]=c[m>>2];n=n+1|0}while((n|0)!=(k|0))}k=Bn(a,b,d,e,f,g,h)|0;if((k|0)==17){id(c[g>>2]|0)|0;k=Bn(a,b,d,e,f,g,h)|0}}else{c[k>>2]=105892;c[k+4>>2]=10788;Zc(21,13648,k);k=21}i=o;return k|0}function fh(a,d){a=a|0;d=d|0;var e=0,f=0;f=a+68|0;if((b[f>>1]|0)>0){e=d+60|0;d=a+60|0;a=0;do{Wl((c[e>>2]|0)+(a*40|0)|0,(c[d>>2]|0)+(a*40|0)|0);a=a+1|0}while((a|0)<(b[f>>1]|0))}return}function gh(b,c){b=b|0;c=c|0;var d=0,e=0;if(c){d=c;while(1)if(!(a[d>>0]|0))break;else d=d+1|0;e=(d-c&1073741823)+1|0;d=ih(b,e,0)|0;if(d)gw(d|0,c|0,e|0)|0;else d=0}else d=0;return d|0}function hh(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[a+8>>2]|0;if((d|0)>=1){bh(f,d)|0;b[f+8>>1]=8192;c[f>>2]=c[a+4>>2];e=f+16|0;a=c[e>>2]|0;if(!a)e=0;else{bw(a|0,0,d|0)|0;e=c[e>>2]|0}}else{e=f+8|0;if(!(b[e>>1]&9312))b[e>>1]=1;else rg(f);c[f+16>>2]=0;e=0}return e|0}function ih(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0;a:do if(b){i=b+65|0;if(!(a[i>>0]|0)){do if(a[b+250>>0]|0){if(0<f>>>0|(0==(f|0)?(e[b+248>>1]|0)>>>0<d>>>0:0)){g=b+264|0;c[g>>2]=(c[g>>2]|0)+1;break}h=b+272|0;g=c[h>>2]|0;if(!g){g=b+268|0;c[g>>2]=(c[g>>2]|0)+1;break}c[h>>2]=c[g>>2];f=b+252|0;h=c[f>>2]|0;d=h+1|0;c[f>>2]=d;f=b+260|0;c[f>>2]=(c[f>>2]|0)+1;f=b+256|0;if((h|0)>=(c[f>>2]|0))c[f>>2]=d;break a}while(0);g=mg(d,f)|0;if(!g){a[i>>0]=1;g=0}}else g=0}else g=mg(d,f)|0;while(0);return g|0}function jh(a,d){a=a|0;d=d|0;var f=0,g=0;do if(a){f=c[a+20>>2]|0;if((f|0)!=0?((d|0)>-1?(e[a+84>>1]|0|0)>(d|0):0):0){f=f+(d*40|0)|0;break}f=c[a>>2]|0;if((f|0)!=0?(c[f+52>>2]=25,g=c[f+236>>2]|0,(g|0)!=0):0){f=g+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;f=41496;break}else{rg(g);f=41496;break}}else f=41496}else f=41496;while(0);return f|0}function kh(a,e,f,g,h,i){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=lh(a,e)|0;if(!j)if(!f)j=0;else{e=(c[a+60>>2]|0)+((e+-1|0)*40|0)|0;j=Tg(e,f,g,i,h)|0;if((j|0)!=0|i<<24>>24==0)e=j;else e=Ul(e,d[(c[a>>2]|0)+62>>0]|0)|0;j=c[a>>2]|0;c[j+52>>2]=e;h=c[j+236>>2]|0;do if(h){g=h+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;break}else{rg(h);j=c[a>>2]|0;break}}while(0);j=Kg(j,e)|0}else{g=h;if(!((g|0)==0|(g|0)==-1))_b[h&31](f)}return j|0}function lh(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;do if(!(Yg(a)|0)){if((c[a+40>>2]|0)==-1108210269?(c[a+76>>2]|0)<=-1:0){if((d|0)>=1?(b[a+68>>1]|0)>=(d|0):0){h=d+-1|0;g=c[a+60>>2]|0;f=g+(h*40|0)|0;e=g+(h*40|0)+8|0;if(!((b[e>>1]&9312)==0?(c[g+(h*40|0)+24>>2]|0)==0:0))Mg(f);b[e>>1]=1;f=c[a>>2]|0;c[f+52>>2]=0;f=c[f+236>>2]|0;do if(f){e=f+8|0;if(!(b[e>>1]&9312)){b[e>>1]=1;break}else{rg(f);break}}while(0);g=a+88|0;e=b[g>>1]|0;if(!(e&256)){e=0;break}f=c[a+188>>2]|0;if((d|0)<33){if(!((f&1<<h|0)!=0|(f|0)==-1)){e=0;break}}else if((f|0)!=-1){e=0;break}b[g>>1]=e|8;e=0;break}e=c[a>>2]|0;c[e+52>>2]=25;e=c[e+236>>2]|0;if(!e){e=25;break}f=e+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;e=25;break}else{rg(e);e=25;break}}f=c[a>>2]|0;c[f+52>>2]=21;f=c[f+236>>2]|0;do if(f){e=f+8|0;if(!(b[e>>1]&9312)){b[e>>1]=1;break}else{rg(f);break}}while(0);c[g>>2]=c[a+168>>2];Zc(21,41456,g);c[g>>2]=69987;c[g+4>>2]=10788;Zc(21,13648,g);e=21}else{c[g>>2]=69979;c[g+4>>2]=10788;Zc(21,13648,g);e=21}while(0);i=k;return e|0}function mh(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if(!((d|0)==0|(e|0)==0)?(i=b[d+70>>1]|0,i<<16>>16>0):0){g=c[d+64>>2]|0;d=0;while(1){h=c[g+(d<<2)>>2]|0;if(((h|0)!=0?(Xv(h,e,f)|0)==0:0)?(a[h+f>>0]|0)==0:0)break;d=d+1|0;if((d|0)>=(i<<16>>16|0)){d=0;break a}}d=d+1|0}else d=0;while(0);return d|0}function nh(d,f){d=d|0;f=f|0;var g=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o+8|0;m=o;g=a[d+10>>0]|0;k=d+16|0;l=d+12|0;do if(Pl(c[k>>2]|0,n,c[l>>2]|0,g)|0){if(!(Ql(c[k>>2]|0,m,c[l>>2]|0,g)|0)){l=m;k=c[l+4>>2]|0;g=d;c[g>>2]=c[l>>2];c[g+4>>2]=k;g=d+8|0;b[g>>1]=e[g>>1]|0|4;break}h[d>>3]=+h[n>>3];g=d+8|0;b[g>>1]=e[g>>1]|0|8;if(f)$l(d)}while(0);i=o;return}function oh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;if(!(Cn(b)|0)){g=Wh(c[b>>2]|0,e,f)|0;if(!g){g=(d|0)!=0?41368:41384;if(!f){c[h>>2]=g;c[h+4>>2]=e;ph(b,27680,h)}else{c[h>>2]=g;c[h+4>>2]=f;c[h+8>>2]=e;ph(b,27664,h)}a[b+17>>0]=1;g=0}}else g=0;i=k;return g|0}function ph(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();h=g;f=c[b>>2]|0;c[h>>2]=e;e=Sk(f,d,h)|0;if(!(a[f+68>>0]|0)){d=b+64|0;c[d>>2]=(c[d>>2]|0)+1;d=b+4|0;ig(f,c[d>>2]|0);c[d>>2]=e;c[b+12>>2]=1}else ig(f,e);i=g;return}function qh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;c[f>>2]=d;a=Sk(a,b,f)|0;i=e;return a|0}function rh(a){a=a|0;var b=0,d=0,e=0;d=c[a>>2]|0;b=ih(d,208,0)|0;if(!b)b=0;else{bw(b|0,0,208)|0;c[b>>2]=d;d=d+4|0;e=c[d>>2]|0;if(e)c[e+48>>2]=b;c[b+52>>2]=e;c[b+48>>2]=0;c[d>>2]=b;c[b+40>>2]=649915045;c[b+24>>2]=a}return b|0}function sh(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;i=b+32|0;h=c[i>>2]|0;if((c[(c[b+24>>2]|0)+84>>2]|0)<=(h|0))if(!(Dn(b)|0)){j=c[i>>2]|0;k=4}else h=1;else{j=h;k=4}if((k|0)==4){c[i>>2]=j+1;i=c[b+4>>2]|0;a[i+(h*20|0)>>0]=d;a[i+(h*20|0)+3>>0]=0;c[i+(h*20|0)+4>>2]=e;c[i+(h*20|0)+8>>2]=f;c[i+(h*20|0)+12>>2]=g;c[i+(h*20|0)+16>>2]=0;a[i+(h*20|0)+1>>0]=0}return h|0}function th(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;j=c[b>>2]|0;g=c[b+4>>2]|0;do if((g|0)!=0?(a[j+65>>0]|0)==0:0){if((d|0)<0)d=(c[b+32>>2]|0)+-1|0;i=g+(d*20|0)+1|0;h=g+(d*20|0)+16|0;En(j,a[i>>0]|0,c[h>>2]|0);c[h>>2]=0;if((f|0)==-14){c[h>>2]=e;a[i>>0]=-14;break}if(!e){c[h>>2]=0;a[i>>0]=0;break}if((f|0)==-6){c[h>>2]=e;a[i>>0]=-6;break}else if((f|0)==-10){c[h>>2]=e;a[i>>0]=-10;d=e+12|0;c[d>>2]=(c[d>>2]|0)+1;break}else{if((f|0)<0){c[h>>2]=e;a[i>>0]=f;break}if(!f){d=e;while(1)if(!(a[d>>0]|0))break;else d=d+1|0;g=d-e&1073741823}else g=f;b=c[b>>2]|0;d=fw(g|0,((g|0)<0)<<31>>31|0,1,0)|0;d=ih(b,d,C)|0;if(!d)d=0;else{gw(d|0,e|0,g|0)|0;a[d+g>>0]=0}c[h>>2]=d;a[i>>0]=-1;break}}else k=3;while(0);if((k|0)==3?(f|0)!=-10:0)En(j,f,e);return}function uh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=b+32|0;f=c[k>>2]|0;if((f+d|0)>(c[(c[b+24>>2]|0)+84>>2]|0))if(!(Dn(b)|0)){f=c[k>>2]|0;g=4}else f=0;else g=4;if((g|0)==4)if((d|0)>0){i=b+4|0;j=0;while(1){l=a[e+2>>0]|0;g=l<<24>>24;b=j+f|0;h=c[i>>2]|0;a[h+(b*20|0)>>0]=a[e>>0]|0;c[h+(b*20|0)+4>>2]=a[e+1>>0];if(l<<24>>24<0)g=f+~g|0;c[h+(b*20|0)+8>>2]=g;c[h+(b*20|0)+12>>2]=a[e+3>>0];a[h+(b*20|0)+1>>0]=0;c[h+(b*20|0)+16>>2]=0;a[h+(b*20|0)+3>>0]=0;j=j+1|0;if((j|0)==(d|0))break;else e=e+4|0}c[k>>2]=(c[k>>2]|0)+d}return f|0}function vh(b,d){b=b|0;d=d|0;var e=0,f=0;e=b+32|0;if((c[e>>2]|0)>(d|0)?(f=c[b+4>>2]|0,En(c[b>>2]|0,a[f+(d*20|0)+1>>0]|0,c[f+(d*20|0)+16>>2]|0),b=f+(d*20|0)|0,c[b+0>>2]=0,c[b+4>>2]=0,c[b+8>>2]=0,c[b+12>>2]=0,c[b+16>>2]=0,a[b>>0]=-100,((c[e>>2]|0)+-1|0)==(d|0)):0)c[e>>2]=d;return}function wh(e,f){e=e|0;f=f|0;var g=0,h=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;K=i;i=i+16|0;if((i|0)>=(j|0))ba();k=K;I=c[e>>2]|0;C=c[f+440>>2]|0;g=c[f+72>>2]|0;B=c[f+68>>2]|0;c[k>>2]=c[f+392>>2];A=c[f+80>>2]|0;A=(A|0)==0?1:A;g=B+g|0;m=c[e+4>>2]|0;l=m+((c[e+32>>2]|0)*20|0)|0;m=m+((c[f+84>>2]|0)*20|0)|0;Fn(e,k);if(!(a[f+20>>0]|0))h=0;else h=((a[f+21>>0]|0)!=0&1)<<5&65535;J=e+88|0;b[J>>1]=b[J>>1]&-33|h;H=f+450|0;E=(a[H>>0]|0)!=0&(g|0)<10?10:g;g=l;bw(l|0,0,m-g|0)|0;b[J>>1]=b[J>>1]&-9;D=e+8|0;v=E*40|0;w=e+60|0;x=C*40|0;y=e+12|0;n=(c[k>>2]<<2)+7&-8;z=e+64|0;o=(C<<2)+7&-8;p=e+56|0;q=(B<<2)+7&-8;r=e+200|0;s=A+7&-8;t=e+172|0;u=I+65|0;l=l+(g&7)|0;while(1){k=c[D>>2]|0;if(!k){h=l+v|0;g=h>>>0>m>>>0;k=g?0:l;l=g?l:h;g=g?v:0}else g=0;c[D>>2]=k;k=c[w>>2]|0;if(!k){L=l+x|0;h=L>>>0>m>>>0;k=h?0:l;l=h?l:L;g=(h?x:0)+g|0}c[w>>2]=k;k=c[y>>2]|0;if(!k){L=l+n|0;h=L>>>0>m>>>0;k=h?0:l;l=h?l:L;g=(h?n:0)+g|0}c[y>>2]=k;k=c[z>>2]|0;if(!k){L=l+o|0;h=L>>>0>m>>>0;k=h?0:l;l=h?l:L;g=(h?o:0)+g|0}c[z>>2]=k;k=c[p>>2]|0;if(!k){L=l+q|0;h=L>>>0>m>>>0;k=h?0:l;l=h?l:L;g=(h?q:0)+g|0}c[p>>2]=k;k=c[r>>2]|0;if(!k){h=(l+s|0)>>>0>m>>>0;k=h?0:l;g=(h?s:0)+g|0}c[r>>2]=k;if(!g)break;h=ih(I,g,((g|0)<0)<<31>>31)|0;if(!h)k=0;else{bw(h|0,0,g|0)|0;k=h}c[t>>2]=k;if(!(a[u>>0]|0)){l=h;m=h+g|0}else break}c[e+36>>2]=B;c[e+196>>2]=A;h=c[w>>2]|0;if((h|0)!=0?(b[e+68>>1]=C,(C|0)>0):0){g=0;do{b[h+(g*40|0)+8>>1]=1;c[h+(g*40|0)+32>>2]=I;g=g+1|0}while((g|0)!=(C|0))}h=c[z>>2]|0;if((h|0)!=0?(F=f+444|0,G=c[F>>2]|0,(G|0)>0):0){b[e+70>>1]=G;C=f+472|0;gw(h|0,c[C>>2]|0,G<<16>>14|0)|0;bw(c[C>>2]|0,0,c[F>>2]<<2|0)|0}h=c[D>>2]|0;if((h|0)!=0?(c[D>>2]=h+-40,c[e+28>>2]=E,(E|0)>=1):0){g=1;while(1){b[h+((g+-1|0)*40|0)+8>>1]=128;c[h+((g+-1|0)*40|0)+32>>2]=I;if((g|0)==(E|0))break;else g=g+1|0}}b[J>>1]=b[J>>1]&-4|d[H>>0]&3;c[e+76>>2]=-1;c[e+80>>2]=0;a[e+86>>0]=2;c[e+40>>2]=-1108210269;c[e+92>>2]=0;c[e+72>>2]=1;a[e+87>>0]=-1;c[e+104>>2]=0;D=e+144|0;c[D>>2]=0;c[D+4>>2]=0;i=K;return}function xh(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();o=p;n=e+20|0;m=c[n>>2]|0;l=c[m+60>>2]|0;c[l>>2]=f;c[l+4>>2]=g;l=Od(m)|0;do if((l|0)!=100){k=c[n>>2]|0;if(k){l=id(k)|0;c[n>>2]=0;k=c[e+24>>2]|0;if(!l){l=o;c[l>>2]=f;c[l+4>>2]=g;l=1;k=qh(k,41432,o)|0;break}else{c[o>>2]=Oe(k)|0;k=qh(k,10344,o)|0;break}}else k=0}else{l=c[c[m+56>>2]>>2]|0;k=c[e+12>>2]|0;m=c[l+(k<<2)+84>>2]|0;if(m>>>0>=12){c[e+8>>2]=c[l+((b[l+20>>1]|0)+k<<2)+84>>2];c[e+4>>2]=(m+-12|0)>>>1;l=c[l>>2]|0;c[e+16>>2]=l;l=l+72|0;a[l>>0]=d[l>>0]|16;l=0;k=0;break}l=c[e+24>>2]|0;if(!m)k=20352;else k=(m|0)==7?20336:20320;c[o>>2]=k;k=qh(l,41400,o)|0;id(c[n>>2]|0)|0;c[n>>2]=0;l=1}while(0);c[h>>2]=k;i=p;return l|0}function yh(a){a=a|0;var b=0;if(a){b=c[a>>2]|0;ig(b,c[a+112>>2]|0);Jk(b,c[a+316>>2]|0)}return}function zh(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=a[b+73>>0]|0;do if(!(g<<24>>24))f=4;else{if((g&255)>2?(f=Gn(b)|0,(f|0)!=0):0)break;f=Hm(b,c,d,e,0)|0}while(0);return f|0}function Ah(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m;if(!a){c[k>>2]=77646;c[k+4>>2]=10788;Zc(21,13648,k);f=21}else{l=c[a+24>>2]|0;k=a+20|0;h=c[k>>2]|0;do if((f|e|0)>=0?(o=fw(f|0,((f|0)<0)<<31>>31|0,e|0,((e|0)<0)<<31>>31|0)|0,q=C,n=c[a+4>>2]|0,p=((n|0)<0)<<31>>31,!((q|0)>(p|0)|(q|0)==(p|0)&o>>>0>n>>>0)):0)if(h){f=lc[g&31](c[a+16>>2]|0,(c[a+8>>2]|0)+f|0,e,d)|0;if((f|0)==4){Jg(h)|0;c[k>>2]=0;f=4;break}else{c[h+80>>2]=f;break}}else f=4;else f=1;while(0);c[l+52>>2]=f;h=c[l+236>>2]|0;do if(h){k=h+8|0;if(!(b[k>>1]&9312)){b[k>>1]=1;break}else{rg(h);break}}while(0);f=Kg(l,f)|0}i=m;return f|0}function Bh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=b+73|0;g=a[h>>0]|0;if((g&255)>2){g=Gn(b)|0;if(!g){g=a[h>>0]|0;i=4}}else i=4;if((i|0)==4)if(g<<24>>24==1){Hn(c[b+4>>2]|0,c[b+60>>2]|0,b)|0;if(!(a[b+72>>0]&1))g=8;else g=Hm(b,d,e,f,1)|0}else g=4;return g|0}function Ch(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=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;y=i;i=i+16|0;if((i|0)>=(j|0))ba();w=y+4|0;x=y;c[w>>2]=b;c[x>>2]=e;r=d[f+1>>0]|0;s=d[f>>0]|0;v=a[f+3>>0]|0;u=(g|0)!=0;if(u)t=g;else t=d[f+2>>0]|0;o=v<<24>>24!=0;m=0;a:while(1){while(1){k=In(w)|0;if(!k){q=60;break a}if((k|0)==(s|0)){q=7;break a}if((k|0)!=(t|0))break;if(u){q=40;break}e=In(x)|0;if(!e){h=0;break a}l=In(w)|0;if((l|0)==94){l=In(w)|0;h=1}else h=0;if((l|0)==93){l=In(w)|0;n=(e|0)==93&1}else n=0;k=(l|0)==0;if((l|0)!=93&(k^1)){k=0;while(1){if(((l|0)==45?(p=a[c[w>>2]>>0]|0,p<<24>>24!=93):0)?p<<24>>24!=0&(k|0)!=0:0){l=e>>>0<k>>>0|e>>>0>(In(w)|0)>>>0;b=0;n=l?n:1}else{b=l;n=(e|0)==(l|0)?1:n}l=In(w)|0;k=(l|0)==0;if(!((l|0)!=93&(k^1))){l=k;break}else k=b}}else l=k;if(l|(n|0)==(h|0)){h=0;break a}}if((q|0)==40){q=0;k=In(w)|0;if(!k){h=0;break}m=c[w>>2]|0}l=In(x)|0;if((k|0)==(l|0))continue;if(o&k>>>0<128&l>>>0<128?(a[9328+(k&255)>>0]|0)==(a[9328+(l&255)>>0]|0):0)continue;if((k|0)!=(r|0)){h=0;break}if(!((l|0)!=0?(c[w>>2]|0)!=(m|0):0)){h=0;break}}b:do if((q|0)==7){e=In(w)|0;b=(e|0)==(r|0);if((e|0)==(s|0)|b)do{if(b?(In(x)|0)==0:0){h=0;break b}e=In(w)|0;b=(e|0)==(r|0)}while((e|0)==(s|0)|b);if(e){do if((e|0)==(t|0)){if(u){e=In(w)|0;if(!e){h=0;break b}else break}h=c[x>>2]|0;c:do if(!(a[h>>0]|0))h=0;else{b=c[w>>2]|0;while(1){if(Ch(b+-1|0,h,f,0)|0)break;e=h+1|0;c[x>>2]=e;if((d[h>>0]|0)>191?(a[e>>0]&-64)<<24>>24==-128:0){while(1){h=h+2|0;if((a[h>>0]&-64)<<24>>24==-128){q=e;e=h;h=q}else break}c[x>>2]=h}else h=e;if(!(a[h>>0]|0)){h=0;break c}}h=(a[h>>0]|0)!=0}while(0);h=h&1;break b}while(0);if(e>>>0>=129){h=In(x)|0;if(!h){h=0;break}b=c[w>>2]|0;while(1){if((h|0)==(e|0)?(Ch(b,c[x>>2]|0,f,g)|0)!=0:0){h=1;break b}h=In(x)|0;if(!h){h=0;break b}}}if(!(v<<24>>24)){n=e;m=e}else{m=e&255;n=d[9328+m>>0]|0;m=((d[10368+m>>0]|-33)^32)&e}b=c[x>>2]|0;h=b+1|0;c[x>>2]=h;e=a[b>>0]|0;if(!(e<<24>>24))h=0;else{l=c[w>>2]|0;k=e&255;while(1){if((k|0)==(n|0)|(k|0)==(m|0)?(Ch(l,h,f,g)|0)!=0:0){h=1;break b}e=b+2|0;c[x>>2]=e;b=a[h>>0]|0;if(!(b<<24>>24)){h=0;break}else{q=h;k=b&255;h=e;b=q}}}}else h=1}else if((q|0)==60)h=(a[c[x>>2]>>0]|0)==0&1;while(0);i=y;return h|0}function Dh(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=d;do if(a){a=c[a+76>>2]|0;if((a|0)==-1607883113){a=1;break}else if((a|0)==1266094736|(a|0)==-264537850){c[b>>2]=41352;Zc(21,15256,b);a=0;break}else{c[b>>2]=15248;Zc(21,15256,b);a=0;break}}else{c[b>>2]=20304;Zc(21,15256,b);a=0}while(0);i=d;return a|0}function Eh(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();k=n;l=n+8|0;c[l>>2]=0;c[g>>2]=0;if((Dh(b)|0)==0|(d|0)==0){c[k>>2]=106003;c[k+4>>2]=10788;Zc(21,13648,k);f=21}else{a:do if((e|0)>-1)if((e|0)>0){k=0;do{if((a[d+k>>0]|0)==0?(a[d+(k|1)>>0]|0)==0:0)break a;k=k+2|0}while((k|0)<(e|0))}else k=0;else k=e;while(0);m=Nh(b,d,k)|0;if(m){f=eh(b,m,-1,f,0,g,l)|0;k=c[l>>2]|0;if((k|0)!=0&(h|0)!=0){g=Jn(m,k-m|0)|0;if((g|0)>0){e=0;k=d;do{k=(a[k+1>>0]&-8)<<24>>24==-40?k+4|0:k+2|0;e=e+1|0}while((e|0)!=(g|0))}else k=d;c[h>>2]=d+(k-d)}}else f=0;ig(b,m);f=Kg(b,f)|0}i=n;return f|0}function Fh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))ba();o=r;p=b+12|0;h=c[p>>2]|0;n=(e|0)!=0;g=d<<((h|0)==0&n&1);q=b+20|0;l=b+8|0;k=c[l>>2]|0;if((g+(c[q>>2]|0)|0)>>>0>k>>>0){g=g+(k<<1)|0;c[l>>2]=g;h=c[b>>2]|0;if((Hc()|0)==0?(m=ng(h,g<<2,0)|0,(m|0)!=0):0){c[b>>2]=m;h=c[p>>2]|0;m=5}else m=21}else m=5;a:do if((m|0)==5){g=b+16|0;if(!h){c[g>>2]=d;if((d|0)>0){g=0;do{c[o>>2]=c[f+(g<<2)>>2];h=Wc(10344,o)|0;if(!h){m=21;break a}l=c[q>>2]|0;c[q>>2]=l+1;c[(c[b>>2]|0)+(l<<2)>>2]=h;g=g+1|0}while((g|0)<(d|0))}}else if((c[g>>2]|0)!=(d|0)){g=b+4|0;Sc(c[g>>2]|0);c[g>>2]=Wc(40912,o)|0;c[b+24>>2]=1;g=1;break}if(n){if((d|0)>0){l=0;do{k=e+(l<<2)|0;g=c[k>>2]|0;if(!g)g=0;else{h=g;while(1)if(!(a[h>>0]|0))break;else h=h+1|0;h=(h-g&1073741823)+1|0;g=Pc(h)|0;if(!g){m=21;break a}gw(g|0,c[k>>2]|0,h|0)|0}o=c[q>>2]|0;c[q>>2]=o+1;c[(c[b>>2]|0)+(o<<2)>>2]=g;l=l+1|0}while((l|0)<(d|0))}c[p>>2]=(c[p>>2]|0)+1;g=0}else g=0}while(0);if((m|0)==21){c[b+24>>2]=7;g=1}i=r;return g|0}function Gh(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();m=o;if(!d)k=0;else{h=d;while(1)if(!(a[h>>0]|0))break;else h=h+1|0;k=h-d&1073741823}l=b+308|0;h=Zm(l,d,m)|0;if((h|0)!=0?(c[h+8>>2]|0)!=0:0){c[m>>2]=114188;c[m+4>>2]=10788;Zc(21,13648,m);h=21}else{h=ih(b,k+17|0,0)|0;if((h|0)!=0?(n=h+16|0,gw(n|0,d|0,k+1|0)|0,c[h+4>>2]=n,c[h>>2]=e,c[h+8>>2]=f,c[h+12>>2]=g,n=Ek(l,n,h)|0,(n|0)!=0):0){a[b+65>>0]=1;ig(b,n);h=0}else h=0}h=Kg(b,h)|0;if((h|0)!=0&(g|0)!=0)_b[g&31](f);i=o;return h|0}function Hh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=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;A=i;i=i+16|0;if((i|0)>=(j|0))ba();x=A;n=A+8|0;y=c[b>>2]|0;l=c[y+92>>2]|0;if(!(c[y+148>>2]|0))c[y+240>>2]=0;z=b+12|0;c[z>>2]=0;p=b+480|0;c[p>>2]=d;t=mg(1612,0)|0;if(t){c[t>>2]=-1;q=y+250|0;r=a[q>>0]|0;if(c[y+276>>2]|0)a[q>>0]=1;s=y+65|0;o=b+504|0;f=b+508|0;m=y+240|0;k=0;h=-1;a:while(1){while(1){if(a[s>>0]|0){v=19;break a}g=d+k|0;if(!(a[g>>0]|0)){v=19;break a}c[o>>2]=g;g=yn(g,n)|0;c[f>>2]=g;k=g+k|0;if((k|0)>(l|0)){v=12;break a}g=c[n>>2]|0;if((g|0)==150){v=16;break a}else if((g|0)==1){h=g;v=17;break}else if((g|0)!=151){h=g;break}if(c[m>>2]|0){v=15;break a}}if((v|0)==17){v=0;c[p>>2]=d+k};c[x+0>>2]=c[o+0>>2];c[x+4>>2]=c[o+4>>2];Kn(t,h,x,b);h=c[n>>2]|0;if(c[z>>2]|0){v=19;break}}if((v|0)==12){c[z>>2]=18;v=19}else if((v|0)==15){ph(b,20384,x);c[z>>2]=9;v=19}else if((v|0)==16){ig(y,c[e>>2]|0);c[x>>2]=o;c[e>>2]=qh(y,20400,x)|0;f=1}if((v|0)==19){k=d+k|0;if((a[k>>0]|0)==0?(c[z>>2]|0)==0:0){if((h|0)!=1){c[x+0>>2]=c[o+0>>2];c[x+4>>2]=c[o+4>>2];Kn(t,1,x,b);c[p>>2]=k};c[x+0>>2]=c[o+0>>2];c[x+4>>2]=c[o+4>>2];Kn(t,0,x,b);f=0}else f=0}if((c[t>>2]|0)>-1)do Ln(t);while((c[t>>2]|0)>-1);Sc(t);a[q>>0]=r;if(!(a[s>>0]|0)){h=c[z>>2]|0;if(!((h|0)==101|(h|0)==0)){u=h;v=29}}else{c[z>>2]=7;u=7;v=29}if((v|0)==29?(w=b+4|0,(c[w>>2]|0)==0):0){if((u|0)!=516){h=u&255;if(h>>>0>26|(h|0)==2)h=16328;else h=c[15488+(h<<2)>>2]|0}else h=16344;c[x>>2]=h;$g(w,y,10344,x)}h=b+4|0;g=c[h>>2]|0;if(g){c[e>>2]=g;e=c[z>>2]|0;c[x>>2]=g;Zc(e,10344,x);c[h>>2]=0;f=f+1|0}h=b+8|0;g=c[h>>2]|0;if(((g|0)!=0?(c[b+64>>2]|0)>0:0)?(a[b+18>>0]|0)==0:0){Ll(g);c[h>>2]=0}if(!(a[b+18>>0]|0)){e=b+400|0;ig(y,c[e>>2]|0);c[e>>2]=0;c[b+396>>2]=0}Sc(c[b+520>>2]|0);if(!(a[b+451>>0]|0))gg(y,c[b+484>>2]|0);if(a[b+449>>0]|0)Mn(y,c[b+532>>2]|0);fg(y,c[b+488>>2]|0);h=c[b+444>>2]|0;k=b+472|0;g=c[k>>2]|0;if((h|0)>0)do{h=h+-1|0;ig(y,c[g+(h<<2)>>2]|0);g=c[k>>2]|0}while((h|0)>0);ig(y,g);h=b+404|0;g=c[h>>2]|0;if(g)do{c[h>>2]=c[g>>2];ig(y,g);g=c[h>>2]|0}while((g|0)!=0);h=b+524|0;g=c[h>>2]|0;if(g)do{c[h>>2]=c[g+72>>2];gg(y,g);g=c[h>>2]|0}while((g|0)!=0);if((f|0)>0?(c[z>>2]|0)==0:0)c[z>>2]=1}else{a[y+65>>0]=1;f=7}i=A;return f|0}function Ih(a){a=a|0;if(a){if(!((b[a+8>>1]&9312)==0?(c[a+24>>2]|0)==0:0))Mg(a);ig(c[a+32>>2]|0,a)}return}function Jh(d,e,f,g){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;if(!(c[d+252>>2]|0)){n=d+251|0;if(a[n>>0]|0)Sc(c[d+276>>2]|0);j=f&-8;h=(j|0)<5?0:j;i=(g|0)<0?0:g;if(!((h|0)==0|(i|0)==0))if(!e){f=c[3164]|0;if(f)jc[f&3]();f=_(h,i)|0;f=mg(f,((f|0)<0)<<31>>31)|0;g=c[3166]|0;if(g)jc[g&3]();if(!f)f=0;else i=(hc[c[8744+48>>2]&127](f)|0)/(j|0)|0}else f=e;else{h=0;f=0}g=d+276|0;c[g>>2]=f;m=d+272|0;c[m>>2]=0;b[d+248>>1]=h;if(!f){c[g>>2]=d;c[d+280>>2]=d;a[d+250>>0]=0;f=0}else{if((i|0)>0){g=_(h,i)|0;l=f+(_(h,i+-1|0)|0)|0;k=0;j=f;while(1){i=i+-1|0;c[j>>2]=k;if((i|0)<=0)break;else{k=j;j=j+h|0}}c[m>>2]=l;f=f+g|0}c[d+280>>2]=f;a[d+250>>0]=1;f=(e|0)==0&1}a[n>>0]=f;f=0}else f=5;return f|0}function Kh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q;do if(!b)e=0;else{l=b+76|0;n=c[l>>2]|0;if(!((n|0)==1266094736|(n|0)==-1607883113|(n|0)==-264537850)){c[p>>2]=15248;Zc(21,15256,p);c[p>>2]=128509;c[p+4>>2]=10788;Zc(21,13648,p);e=21;break}m=b+20|0;e=c[m>>2]|0;a:do if((e|0)>0){n=b+16|0;f=c[n>>2]|0;h=0;do{g=c[f+(h<<4)+4>>2]|0;if(g)c[(c[g+4>>2]|0)+4>>2]=c[g>>2];h=h+1|0}while((h|0)!=(e|0));k=0;while(1){e=c[f+(k<<4)+12>>2]|0;if((e|0)!=0?(o=c[e+16>>2]|0,(o|0)!=0):0){e=o;do{f=c[e+8>>2]|0;b:do if(a[f+44>>0]&16){g=f+60|0;while(1){f=c[g>>2]|0;if(!f)break b;h=f+24|0;if((c[f>>2]|0)==(b|0))break;else g=h}c[g>>2]=c[h>>2];wn(f)}while(0);e=c[e>>2]|0}while((e|0)!=0)}e=k+1|0;if((e|0)>=(c[m>>2]|0))break a;f=c[n>>2]|0;k=e}}while(0);nl(b);Nn(b,68);if((d|0)==0?(Fl(b)|0)!=0:0){qg(b,5,16368,p);e=5;break}c[l>>2]=1691352191;Ig(b);e=0}while(0);i=q;return e|0}function Lh(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(c[a+492>>2]|0))b=0;else{b=c[a>>2]|0;nc[c[b+60>>2]&127](b,1e6)|0;b=1}return b|0}function Mh(d,f,g,h,k,l,m,n,o){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;var p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();t=v;do if(f){r=(l|0)!=0;p=(n|0)!=0;if(r)if(p|(m|0)!=0){u=8;break}else{p=0;q=0}else{q=(m|0)!=0;if(!(q|p^1)){u=8;break}}if(!(q&((r|p)^1)|(g|0)<-1|(g|0)>127)){p=f;while(1)if(!(a[p>>0]|0))break;else p=p+1|0;q=p-f&1073741823;if(q>>>0<=255){s=h&2048;p=h&7;if((p|0)!=4){if((p|0)==5){p=Mh(d,f,g,s|1,k,l,m,n,o)|0;if(p)break;p=Mh(d,f,g,s|2,k,l,m,n,o)|0;if(!p)p=3;else break}}else p=2;r=p&255;h=Oh(d,f,q,g,r,0)|0;if(((h|0)!=0?(e[h+2>>1]&3|0)==(p|0):0)?(b[h>>1]|0)==(g|0):0){if(c[d+148>>2]|0){qg(d,5,15424,t);p=5;break}p=c[d+4>>2]|0;if(p)do{t=p+88|0;b[t>>1]=b[t>>1]|8;p=c[p+52>>2]|0}while((p|0)!=0)}p=Oh(d,f,q,g,r,1)|0;if(!p)p=7;else{Jl(d,p);if(o)c[o>>2]=(c[o>>2]|0)+1;c[p+32>>2]=o;o=p+2|0;b[o>>1]=e[o>>1]&3|s;c[p+12>>2]=l;c[p+16>>2]=m;c[p+20>>2]=n;c[p+4>>2]=k;b[p>>1]=g;p=0}}else u=8}else u=8}else u=8;while(0);if((u|0)==8){c[t>>2]=129075;c[t+4>>2]=10788;Zc(21,13648,t);p=21}i=v;return p|0}function Nh(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+48|0;if((i|0)>=(j|0))ba();k=l;g=k+0|0;h=g+40|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));c[k+32>>2]=d;Tg(k,e,f,2,0)|0;f=k+8|0;e=c[f>>2]|0;if(!((e&2|0)==0|(e&16711680|0)==65536))xn(k,1)|0;if(!(a[d+65>>0]|0))f=c[k+16>>2]|0;else{if(!((b[f>>1]&9312)==0?(c[k+24>>2]|0)==0:0))Mg(k);c[k+16>>2]=0;f=0}i=l;return f|0}function Oh(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=((d[9328+(d[f>>0]|0)>>0]|0)+g|0)%23|0;o=e+336|0;l=Nk(o,n,f,g)|0;if(!l){m=0;k=0}else{m=0;k=0;do{q=On(l,h,i)|0;p=(q|0)>(m|0);m=p?q:m;k=p?l:k;l=c[l+8>>2]|0}while((l|0)!=0)}do if(!(j<<24>>24)){if((k|0)!=0?(c[e+24>>2]&2097152|0)==0:0){l=0;n=12;break}l=Nk(10840,n,f,g)|0;if(!l){m=0;n=8}else{m=0;do{p=On(l,h,i)|0;n=(p|0)>(m|0);m=n?p:m;k=n?l:k;l=c[l+8>>2]|0}while((l|0)!=0);n=8}}else n=8;while(0);do if((n|0)==8){l=j<<24>>24!=0;if(l&(m|0)<6){l=g+37|0;k=ih(e,l,0)|0;if(!k){n=14;break}bw(k|0,0,l|0)|0;l=k+36|0;c[k+24>>2]=l;b[k>>1]=h;b[k+2>>1]=i&255;gw(l|0,f|0,g|0)|0;a[k+(g+36)>>0]=0;jg(o,k);l=1}if(!k)n=14;else n=12}while(0);if((n|0)==12)if((c[k+16>>2]|0)==0?!((c[k+12>>2]|0)!=0|l):0)n=14;if((n|0)==14)k=0;return k|0}function Ph(b,d,e){b=b|0;d=d|0;e=e|0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();e=d;c[e>>2]=c[(c[b+4>>2]|0)+24>>2];e=Wc(15304,e)|0;c[b+20>>2]=1;a[b+25>>0]=1;Tg(c[b>>2]|0,e,-1,1,-1)|0;Sc(e);i=d;return}function Qh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((a|0)<=(e|0)){e=c[3164]|0;if(e)jc[e&3]();Gf(b,d,0,0,0)|0;e=c[3166]|0;if(e)jc[e&3]()}return 0}function Rh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;a:do if(d){e=d;while(1)if(!(a[e>>0]|0))break;else e=e+1|0;g=e-d&1073741823;f=c[b+20>>2]|0;e=f+-1|0;if((f|0)>0){h=e;f=(c[b+16>>2]|0)+(e<<4)|0;while(1){b=c[f>>2]|0;if(!b)e=0;else{e=b;while(1)if(!(a[e>>0]|0))break;else e=e+1|0;e=e-b&1073741823}if((g|0)==(e|0)?($c(b,d)|0)==0:0){e=h;break a}e=h+-1|0;if((h|0)>0){h=e;f=f+-16|0}else break}}}else e=-1;while(0);return e|0}function Sh(b,e,f,g,h){b=b|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=0,r=0;q=b+20|0;i=c[q>>2]|0;if((i|0)>0){r=(e|0)==10;o=b+16|0;p=(f|0)==0;m=g;b=i;g=0;n=0;while(1){if((n|0)==(e|0)|r){j=c[(c[o>>2]|0)+(n<<4)+4>>2]|0;if(j){i=c[j+4>>2]|0;c[i+4>>2]=c[j>>2];if(!(a[i+20>>0]|0)){j=c[i>>2]|0;k=c[j+208>>2]|0;if(!k)k=0;else{if(p)i=0;else i=c[j+176>>2]|0;k=Pn(k,f,i,c[j+180>>2]|0,d[j+9>>0]|0,c[j+152>>2]|0,c[j+200>>2]|0,m,h)|0;b=c[q>>2]|0}}else k=6}else k=0;h=(k|0)==5;l=0;j=0;i=b;g=h?1:g;h=h?0:k}else{l=h;j=m;i=b;h=0}n=n+1|0;b=(h|0)==0;if(!((n|0)<(i|0)&b))break;else{m=j;h=l;b=i}}}else{b=1;g=0;h=0}return (b&(g|0)!=0?5:h)|0}function Th(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=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;w=i;i=i+32|0;if((i|0)>=(j|0))ba();s=w;t=w+20|0;o=w+16|0;n=w+12|0;m=w+8|0;c[o>>2]=f;c[n>>2]=0;c[m>>2]=0;c[e>>2]=0;h=Hc()|0;do if(!h){if(!(1<<(f&7)&70)){c[s>>2]=130207;c[s+4>>2]=10788;Zc(21,13648,s);h=21;break}if((c[2187]|0)!=0&(f&32768|0)==0)l=(f&65536|0)==0?c[2188]|0:1;else l=0;if(!(f&262144)){if(c[2241]|0){f=f|131072;c[o>>2]=f}}else{f=f&-131073;c[o>>2]=f}f=f&-655129;c[o>>2]=f;v=mg(528,0)|0;a:do if(v){bw(v|0,0,528)|0;if(l)c[v+12>>2]=8;c[v+56>>2]=255;c[v+20>>2]=2;p=v+76|0;c[p>>2]=-264537850;q=v+16|0;c[q>>2]=v+456;k=v+88|0;l=11088;h=k+44|0;do{c[k>>2]=c[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(h|0));c[v+132>>2]=0;a[v+63>>0]=1;a[v+67>>0]=-1;k=8920;r=c[k+4>>2]|0;l=v+40|0;c[l>>2]=c[k>>2];c[l+4>>2]=r;c[v+72>>2]=0;c[v+136>>2]=2147483647;c[v+24>>2]=9437264;l=v+428|0;c[l+0>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;r=v+308|0;c[r+0>>2]=0;c[r+4>>2]=0;c[r+8>>2]=0;c[r+12>>2]=0;Uh(v,11152,1,0,21,0)|0;Uh(v,11152,3,0,21,0)|0;Uh(v,11152,2,0,21,0)|0;Uh(v,13752,1,0,22,0)|0;Uh(v,13760,1,1,21,0)|0;r=v+65|0;if(!(a[r>>0]|0)){l=Zm(l,11152,s)|0;if(!l)l=0;else l=c[l+8>>2]|0;c[v+8>>2]=l;c[v+48>>2]=f;l=Sn(g,d,o,v,n,m)|0;if((l|0)==7)a[r>>0]=1;else if(!l){d=c[n>>2]|0;h=vm(c[v>>2]|0,d,v,(c[q>>2]|0)+4|0,0,c[o>>2]|256)|0;if(!h){f=c[(c[q>>2]|0)+4>>2]|0;c[(c[f+4>>2]|0)+4>>2]=c[f>>2];f=Tn(v,f)|0;c[(c[q>>2]|0)+12>>2]=f;if(!(a[r>>0]|0))a[v+62>>0]=a[f+77>>0]|0;f=mg(84,0)|0;if(!f){a[r>>0]=1;f=0}else{k=f+0|0;h=k+84|0;do{a[k>>0]=0;k=k+1|0}while((k|0)<(h|0));l=f+77|0;k=f+8|0;h=k+64|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(h|0));a[l>>0]=1}o=c[q>>2]|0;c[o+28>>2]=f;c[o>>2]=13768;a[o+8>>0]=3;c[o+16>>2]=10728;a[o+24>>0]=1;c[p>>2]=-1607883113;if(a[r>>0]|0){h=v;break}k=v+52|0;c[k>>2]=0;l=v+236|0;f=c[l>>2]|0;do if(f){h=f+8|0;if(!(b[h>>1]&9312)){b[h>>1]=1;break}else{rg(f);break}}while(0);if((yf(v,14632,2)|0)==7)a[r>>0]=1;f=Jf(v)|0;do if(!f){f=c[2656]|0;if(f){b:do if((f|0)>0){k=0;while(1){f=c[(c[2658]|0)+(k<<2)>>2]|0;c[t>>2]=0;if(f){h=Yb[f&63](v,t,13776)|0;f=c[t>>2]|0;if(h)break}else f=0;Sc(f);k=k+1|0;if((k|0)>=(c[2656]|0)){u=40;break b}}c[s>>2]=f;qg(v,h,14592,s);h=c[t>>2]|0}else u=40;while(0);if((u|0)==40){c[t>>2]=0;h=0}Sc(h)}if(Jf(v)|0){h=v;break a}}else{c[k>>2]=f;h=c[l>>2]|0;if(h){f=h+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;break}else{rg(h);break}}}while(0);Jh(v,0,c[2193]|0,c[2194]|0)|0;c[v+216>>2]=21;c[v+220>>2]=1e3;h=v;break}else if((h|0)==3082)h=7;c[v+52>>2]=h;f=c[v+236>>2]|0;if(!f){h=v;break}h=f+8|0;if(!(b[h>>1]&9312)){b[h>>1]=1;h=v;break}else{rg(f);h=v;break}}d=c[m>>2]|0;c[s>>2]=d;qg(v,l,(d|0)!=0?10344:0,s);Sc(d);d=c[n>>2]|0;h=v}else{d=0;h=v}}else{d=0;h=0}while(0);Sc(d);f=Jf(h)|0;if((f|0)==7){Kh(h,0)|0;h=0}else if(f)c[v+76>>2]=1266094736;c[e>>2]=h;h=f&255}while(0);i=w;return h|0}function Uh(e,f,g,h,k,l){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();m=s;r=g&255;if(!(g<<24>>24==4|g<<24>>24==8))if((r+-1|0)>>>0>2){c[m>>2]=129758;c[m+4>>2]=10788;Zc(21,13648,m);m=21}else{q=r;n=4}else{q=2;n=4}do if((n|0)==4){p=q&255;n=Un(e,p,f,0)|0;if((n|0)!=0?(c[n+12>>2]|0)!=0:0){if(c[e+148>>2]|0){qg(e,5,13680,m);m=5;break}g=c[e+4>>2]|0;if(g)do{o=g+88|0;b[o>>1]=b[o>>1]|8;g=c[g+52>>2]|0}while((g|0)!=0);o=n+4|0;if((d[o>>0]&247|0)==(q|0)){g=Zm(e+428|0,f,m)|0;if(!g)n=0;else n=c[g+8>>2]|0;m=0;do{if((a[n+(m*20|0)+4>>0]|0)==(a[o>>0]|0)){g=c[n+(m*20|0)+16>>2]|0;if(g)_b[g&31](c[n+(m*20|0)+8>>2]|0);c[n+(m*20|0)+12>>2]=0}m=m+1|0}while((m|0)!=3)}}g=Un(e,p,f,1)|0;if(g){c[g+12>>2]=k;c[g+8>>2]=h;c[g+16>>2]=l;a[g+4>>0]=q|r&8;c[e+52>>2]=0;m=c[e+236>>2]|0;if(m){g=m+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;m=0;break}else{rg(m);m=0;break}}else m=0}else m=7}while(0);i=s;return m|0}function Vh(d,e){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;l=d+24|0;m=c[l>>2]&2;n=d+145|0;a[n>>0]=1;k=d+16|0;i=c[k>>2]|0;a[d+62>>0]=a[(c[i+12>>2]|0)+77>>0]|0;h=d+20|0;g=0;while(1){if((g|0)>=(c[h>>2]|0)){g=i;i=6;break}if(!((g|0)==1?1:(b[(c[i+(g<<4)+12>>2]|0)+78>>1]&1)!=0)?(f=Vn(d,g,e)|0,(f|0)!=0):0){i=9;break}i=c[k>>2]|0;g=g+1|0}if((i|0)==6)if((b[(c[g+28>>2]|0)+78>>1]&1)==0?(j=Vn(d,1,e)|0,(j|0)!=0):0){ml(c[(c[k>>2]|0)+28>>2]|0);f=j}else f=0;else if((i|0)==9)rm(d,g);a[n>>0]=0;if(!(f|m))c[l>>2]=c[l>>2]&-3;return f|0}function Wh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;k=a+20|0;a:do if((c[k>>2]|0)>0){l=(d|0)==0;g=a+16|0;h=0;a=0;do{f=(h|0)<2^h;e=c[g>>2]|0;if(!(!l?($c(d,c[e+(f<<4)>>2]|0)|0)!=0:0)){a=Zm((c[e+(f<<4)+12>>2]|0)+8|0,b,m)|0;if(a){a=c[a+8>>2]|0;if(a)break a}else a=0}h=h+1|0}while((h|0)<(c[k>>2]|0))}else a=0;while(0);i=n;return a|0}function Xh(a){a=a|0;if(($c(a,12936)|0)!=0?($c(a,12944)|0)!=0:0)a=($c(a,12952)|0)==0&1;else a=1;return a|0}function Yh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=c[a+20>>2]|0;a:do if((g|0)>0){d=c[a+16>>2]|0;e=(b|0)==0;f=0;while(1){a=c[d+(f<<4)+4>>2]|0;if(a){if(e)break a;if(!($c(b,c[d+(f<<4)>>2]|0)|0))break a}f=f+1|0;if((f|0)>=(g|0)){a=0;break}}}else a=0;while(0);return a|0}function Zh(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:do if(!b)e=0;else{e=e+-1|0;b:do if((c[b>>2]|0)>>>0>4e3){g=b;f=e;while(1){e=g+8|0;h=c[e>>2]|0;if(!h){j=b;break}e=(f>>>0)%(h>>>0)|0;f=g+12+(((f>>>0)/(h>>>0)|0)<<2)|0;b=c[f>>2]|0;if(!b){b=mg(512,0)|0;if(!b){e=b;l=21;break}bw(b|0,0,512)|0;c[b>>2]=h;c[f>>2]=b}if((c[b>>2]|0)>>>0>4e3){g=b;f=e}else break b}if((l|0)==21){c[f>>2]=e;e=7;break a}k=f+1|0;f=(f>>>0)%125|0;i=g+12|0;b=c[g+(f<<2)+12>>2]|0;if(!b){b=c[g+4>>2]|0;if(b>>>0<124){e=g;l=20}}else{do{if((b|0)==(k|0)){e=0;break a}f=f+1|0;f=f>>>0>124?0:f;b=c[g+(f<<2)+12>>2]|0}while((b|0)!=0);b=c[g+4>>2]|0;if(b>>>0<=61){e=g;l=20}}if((l|0)==20){c[g+4>>2]=b+1;c[e+(f<<2)+12>>2]=k;e=0;break a}h=mg(500,0)|0;if(!h){e=7;break a}gw(h|0,i|0,500)|0;bw(i|0,0,500)|0;c[e>>2]=(((c[j>>2]|0)+124|0)>>>0)/125|0;b=0;e=Zh(g,k)|0;do{f=c[h+(b<<2)>>2]|0;if(f)e=Zh(g,f)|0|e;b=b+1|0}while((b|0)!=125);Sc( [all...] |
H A D | sqlite-safe-heap.js | 5 function gh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=da(a|0,4,0,0)|0|0;i=da(a+80|0,4,0,0)|0|0;e=a+44|0;do if(!(da(e|0,4,0,0)|0)){ea(h+52|0,i|0,4,0);b=da(h+236|0,4,0,0)|0|0;if(b){a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(a|0,1|0,2,0);break}else{ug(b);break}}}else{f=h+65|0;g=da(f>>0|0,1,0,0)|0|0;a=da(3164*4|0,4,0,0)|0|0;if(a)mc[(fa(a|0,3|0)|0)&3]();d=h+236|0;a=da(d|0,4,0,0)|0|0;do if(!a){a=lh(h,40,0)|0;if(!a){ea(d|0,a|0,4,0);break}else{b=a+0|0;c=b+40|0;do{ea(b>>0|0,0|0,1,0);b=b+1|0}while((b|0)<(c|0));ea(a+8|0,1|0,2,0);ea(a+32|0,h|0,4,0);ea(d|0,a|0,4,0);c=8;break}}else c=8;while(0);if((c|0)==8)Wg(a,da(e|0,4,0,0)|0|0,-1,1,-1)|0;a=da(3166*4|0,4,0,0)|0|0;if(a)mc[(fa(a|0,3|0)|0)&3]();ea(f>>0|0,g|0,1,0);ea(h+52|0,i|0,4,0)}while(0);return i|0}function hh(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,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;ea(f|0,0|0,4,0);if(!((Gh(a)|0)==0|(b|0)==0)){h=da(a+20|0,4,0,0)|0|0;if((h|0)>0){k=da(a+16|0,4,0,0)|0|0;m=0;do{l=da(k+(m<<4)+4|0,4,0,0)|0|0;if(l)ea((da(l+4|0,4,0,0)|0|0)+4|0,da(l|0,4,0,0)|0|0,4,0);m=m+1|0}while((m|0)!=(h|0))}h=En(a,b,c,d,e,f,g)|0;if((h|0)==17){ld(da(f|0,4,0,0)|0|0)|0;h=En(a,b,c,d,e,f,g)|0}}else{ea(h|0,105892|0,4,0);ea(h+4|0,10788|0,4,0);ad(21,13648,h);h=21}i=n;return h|0}function ih(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+68|0;if((da(d|0,2,0,0)|0|0)>0){c=b+60|0;b=a+60|0;a=0;do{Zl((da(c|0,4,0,0)|0|0)+(a*40|0)|0,(da(b|0,4,0,0)|0|0)+(a*40|0)|0);a=a+1|0}while((a|0)<(da(d|0,2,0,0)|0|0))}return}function jh(a,b){a=a|0;b=b|0;var c=0,d=0;if(b){c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;d=(c-b&1073741823)+1|0;c=lh(a,d,0)|0;if(c)jw(c|0,b|0,d|0)|0;else c=0}else c=0;return c|0}function kh(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a+8|0,4,0,0)|0|0;if((b|0)>=1){eh(d,b)|0;ea(d+8|0,8192|0,2,0);ea(d|0,da(a+4|0,4,0,0)|0|0,4,0);c=d+16|0;a=da(c|0,4,0,0)|0|0;if(!a)c=0;else{ew(a|0,0,b|0)|0;c=da(c|0,4,0,0)|0|0}}else{c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312))ea(c|0,1|0,2,0);else ug(d);ea(d+16|0,0|0,4,0);c=0}return c|0}function lh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if(a){f=a+65|0;if(!(da(f>>0|0,1,0,0)|0)){do if(da(a+250>>0|0,1,0,0)|0){if(0<c>>>0|(0==(c|0)?(da(a+248|0,2,0,1)|0|0)>>>0<b>>>0:0)){d=a+264|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);break}e=a+272|0;d=da(e|0,4,0,0)|0|0;if(!d){d=a+268|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);break}ea(e|0,da(d|0,4,0,0)|0|0,4,0);c=a+252|0;e=da(c|0,4,0,0)|0|0;b=e+1|0;ea(c|0,b|0,4,0);c=a+260|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=a+256|0;if((e|0)>=(da(c|0,4,0,0)|0|0))ea(c|0,b|0,4,0);break a}while(0);d=pg(b,c)|0;if(!d){ea(f>>0|0,1|0,1,0);d=0}}else d=0}else d=pg(b,c)|0;while(0);return d|0}function mh(a,b){a=a|0;b=b|0;var c=0,d=0;do if(a){c=da(a+20|0,4,0,0)|0|0;if((c|0)!=0?((b|0)>-1?(da(a+84|0,2,0,1)|0|0|0)>(b|0):0):0){c=c+(b*40|0)|0;break}c=da(a|0,4,0,0)|0|0;if((c|0)!=0?(ea(c+52|0,25|0,4,0),d=da(c+236|0,4,0,0)|0|0,(d|0)!=0):0){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);c=41496;break}else{ug(d);c=41496;break}}else c=41496}else c=41496;while(0);return c|0}function nh(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=oh(a,b)|0;if(!g)if(!c)g=0;else{b=(da(a+60|0,4,0,0)|0|0)+((b+-1|0)*40|0)|0;g=Wg(b,c,d,f,e)|0;if((g|0)!=0|f<<24>>24==0)b=g;else b=Xl(b,da((da(a|0,4,0,0)|0|0)+62>>0|0,1,0,1)|0|0)|0;g=da(a|0,4,0,0)|0|0;ea(g+52|0,b|0,4,0);e=da(g+236|0,4,0,0)|0|0;do if(e){d=e+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(d|0,1|0,2,0);break}else{ug(e);g=da(a|0,4,0,0)|0|0;break}}while(0);g=Ng(g,b)|0}else{d=e;if(!((d|0)==0|(d|0)==-1))bc[(fa(e|0,31|0)|0)&31](c)}return g|0}function oh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;do if(!($g(a)|0)){if((da(a+40|0,4,0,0)|0|0)==-1108210269?(da(a+76|0,4,0,0)|0|0)<=-1:0){if((b|0)>=1?(da(a+68|0,2,0,0)|0|0)>=(b|0):0){f=b+-1|0;e=da(a+60|0,4,0,0)|0|0;d=e+(f*40|0)|0;c=e+(f*40|0)+8|0;if(!(((da(c|0,2,0,0)|0)&9312)==0?(da(e+(f*40|0)+24|0,4,0,0)|0|0)==0:0))Pg(d);ea(c|0,1|0,2,0);d=da(a|0,4,0,0)|0|0;ea(d+52|0,0|0,4,0);d=da(d+236|0,4,0,0)|0|0;do if(d){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(d);break}}while(0);e=a+88|0;c=da(e|0,2,0,0)|0|0;if(!(c&256)){c=0;break}d=da(a+188|0,4,0,0)|0|0;if((b|0)<33){if(!((d&1<<f|0)!=0|(d|0)==-1)){c=0;break}}else if((d|0)!=-1){c=0;break}ea(e|0,c|8|0,2,0);c=0;break}c=da(a|0,4,0,0)|0|0;ea(c+52|0,25|0,4,0);c=da(c+236|0,4,0,0)|0|0;if(!c){c=25;break}d=c+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(d|0,1|0,2,0);c=25;break}else{ug(c);c=25;break}}d=da(a|0,4,0,0)|0|0;ea(d+52|0,21|0,4,0);d=da(d+236|0,4,0,0)|0|0;do if(d){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(d);break}}while(0);ea(e|0,da(a+168|0,4,0,0)|0|0,4,0);ad(21,41456,e);ea(e|0,69987|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);c=21}else{ea(e|0,69979|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);c=21}while(0);i=g;return c|0}function ph(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if(!((a|0)==0|(b|0)==0)?(f=da(a+70|0,2,0,0)|0|0,f<<16>>16>0):0){d=da(a+64|0,4,0,0)|0|0;a=0;while(1){e=da(d+(a<<2)|0,4,0,0)|0|0;if(((e|0)!=0?(_v(e,b,c)|0)==0:0)?(da(e+c>>0|0,1,0,0)|0|0)==0:0)break;a=a+1|0;if((a|0)>=(f<<16>>16|0)){a=0;break a}}a=a+1|0}else a=0;while(0);return a|0}function qh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h+8|0;f=h;c=da(a+10>>0|0,1,0,0)|0|0;d=a+16|0;e=a+12|0;do if(Sl(da(d|0,4,0,0)|0|0,g,da(e|0,4,0,0)|0|0,c)|0){if(!(Tl(da(d|0,4,0,0)|0|0,f,da(e|0,4,0,0)|0|0,c)|0)){e=f;c=da(e+4|0,4,0,0)|0|0;d=a;ea(d|0,da(e|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);c=a+8|0;ea(c|0,da(c|0,2,0,1)|0|0|4|0,2,0);break}ea(a|0,+(+(+da(g|0,8,1,0))),8,1);c=a+8|0;ea(c|0,da(c|0,2,0,1)|0|0|8|0,2,0);if(b)cm(a)}while(0);i=h;return}function rh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;if(!(Fn(a)|0)){e=Zh(da(a|0,4,0,0)|0|0,c,d)|0;if(!e){e=(b|0)!=0?41368:41384;if(!d){ea(f|0,e|0,4,0);ea(f+4|0,c|0,4,0);sh(a,27680,f)}else{ea(f|0,e|0,4,0);ea(f+4|0,d|0,4,0);ea(f+8|0,c|0,4,0);sh(a,27664,f)}ea(a+17>>0|0,1|0,1,0);e=0}}else e=0;i=g;return e|0}function sh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;d=da(a|0,4,0,0)|0|0;ea(f|0,c|0,4,0);c=Vk(d,b,f)|0;if(!(da(d+68>>0|0,1,0,0)|0)){b=a+64|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=a+4|0;lg(d,da(b|0,4,0,0)|0|0);ea(b|0,c|0,4,0);ea(a+12|0,1|0,4,0)}else lg(d,c);i=e;return}function th(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();e=d;ea(e|0,c|0,4,0);a=Vk(a,b,e)|0;i=d;return a|0}function uh(a){a=a|0;var b=0,c=0,d=0;c=da(a|0,4,0,0)|0|0;b=lh(c,208,0)|0;if(!b)b=0;else{ew(b|0,0,208)|0;ea(b|0,c|0,4,0);c=c+4|0;d=da(c|0,4,0,0)|0|0;if(d)ea(d+48|0,b|0,4,0);ea(b+52|0,d|0,4,0);ea(b+48|0,0|0,4,0);ea(c|0,b|0,4,0);ea(b+40|0,649915045|0,4,0);ea(b+24|0,a|0,4,0)}return b|0}function vh(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;g=a+32|0;f=da(g|0,4,0,0)|0|0;if((da((da(a+24|0,4,0,0)|0|0)+84|0,4,0,0)|0|0)<=(f|0))if(!(Gn(a)|0)){h=da(g|0,4,0,0)|0|0;i=4}else f=1;else{h=f;i=4}if((i|0)==4){ea(g|0,h+1|0,4,0);g=da(a+4|0,4,0,0)|0|0;ea(g+(f*20|0)>>0|0,b|0,1,0);ea(g+(f*20|0)+3>>0|0,0|0,1,0);ea(g+(f*20|0)+4|0,c|0,4,0);ea(g+(f*20|0)+8|0,d|0,4,0);ea(g+(f*20|0)+12|0,e|0,4,0);ea(g+(f*20|0)+16|0,0|0,4,0);ea(g+(f*20|0)+1>>0|0,0|0,1,0)}return f|0}function wh(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=da(a|0,4,0,0)|0|0;e=da(a+4|0,4,0,0)|0|0;do if((e|0)!=0?(da(h+65>>0|0,1,0,0)|0|0)==0:0){if((b|0)<0)b=(da(a+32|0,4,0,0)|0|0)+-1|0;g=e+(b*20|0)+1|0;f=e+(b*20|0)+16|0;Hn(h,da(g>>0|0,1,0,0)|0|0,da(f|0,4,0,0)|0|0);ea(f|0,0|0,4,0);if((d|0)==-14){ea(f|0,c|0,4,0);ea(g>>0|0,-14|0,1,0);break}if(!c){ea(f|0,0|0,4,0);ea(g>>0|0,0|0,1,0);break}if((d|0)==-10){ea(f|0,c|0,4,0);ea(g>>0|0,-10|0,1,0);b=c+12|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);break}else if((d|0)==-6){ea(f|0,c|0,4,0);ea(g>>0|0,-6|0,1,0);break}else{if((d|0)<0){ea(f|0,c|0,4,0);ea(g>>0|0,d|0,1,0);break}if(!d){b=c;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;e=b-c&1073741823}else e=d;a=da(a|0,4,0,0)|0|0;b=iw(e|0,((e|0)<0)<<31>>31|0,1,0)|0;b=lh(a,b,C)|0;if(!b)b=0;else{jw(b|0,c|0,e|0)|0;ea(b+e>>0|0,0|0,1,0)}ea(f|0,b|0,4,0);ea(g>>0|0,-1|0,1,0);break}}else i=3;while(0);if((i|0)==3?(d|0)!=-10:0)Hn(h,d,c);return}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;i=a+32|0;d=da(i|0,4,0,0)|0|0;if((d+b|0)>(da((da(a+24|0,4,0,0)|0|0)+84|0,4,0,0)|0|0))if(!(Gn(a)|0)){d=da(i|0,4,0,0)|0|0;e=4}else d=0;else e=4;if((e|0)==4)if((b|0)>0){g=a+4|0;h=0;while(1){j=da(c+2>>0|0,1,0,0)|0|0;e=j<<24>>24;a=h+d|0;f=da(g|0,4,0,0)|0|0;ea(f+(a*20|0)>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);ea(f+(a*20|0)+4|0,da(c+1>>0|0,1,0,0)|0|0,4,0);if(j<<24>>24<0)e=d+~e|0;ea(f+(a*20|0)+8|0,e|0,4,0);ea(f+(a*20|0)+12|0,da(c+3>>0|0,1,0,0)|0|0,4,0);ea(f+(a*20|0)+1>>0|0,0|0,1,0);ea(f+(a*20|0)+16|0,0|0,4,0);ea(f+(a*20|0)+3>>0|0,0|0,1,0);h=h+1|0;if((h|0)==(b|0))break;else c=c+4|0}ea(i|0,(da(i|0,4,0,0)|0|0)+b|0,4,0)}return d|0}function yh(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+32|0;if((da(c|0,4,0,0)|0|0)>(b|0)?(d=da(a+4|0,4,0,0)|0|0,Hn(da(a|0,4,0,0)|0|0,da(d+(b*20|0)+1>>0|0,1,0,0)|0|0,da(d+(b*20|0)+16|0,4,0,0)|0|0),a=d+(b*20|0)|0,ea(a+0|0,0|0,4,0),ea(a+4|0,0|0,4,0),ea(a+8|0,0|0,4,0),ea(a+12|0,0|0,4,0),ea(a+16|0,0|0,4,0),ea(a>>0|0,-100|0,1,0),((da(c|0,4,0,0)|0|0)+-1|0)==(b|0)):0)ea(c|0,b|0,4,0);return}function zh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=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;G=i;i=i+16|0;if((i|0)>=(j|0))ba();e=G;E=da(a|0,4,0,0)|0|0;y=da(b+440|0,4,0,0)|0|0;c=da(b+72|0,4,0,0)|0|0;x=da(b+68|0,4,0,0)|0|0;ea(e|0,da(b+392|0,4,0,0)|0|0,4,0);w=da(b+80|0,4,0,0)|0|0;w=(w|0)==0?1:w;c=x+c|0;g=da(a+4|0,4,0,0)|0|0;f=g+((da(a+32|0,4,0,0)|0|0)*20|0)|0;g=g+((da(b+84|0,4,0,0)|0|0)*20|0)|0;In(a,e);if(!(da(b+20>>0|0,1,0,0)|0))d=0;else d=((da(b+21>>0|0,1,0,0)|0|0)!=0&1)<<5&65535;F=a+88|0;ea(F|0,(da(F|0,2,0,0)|0)&-33|d|0,2,0);D=b+450|0;A=(da(D>>0|0,1,0,0)|0|0)!=0&(c|0)<10?10:c;c=f;ew(f|0,0,g-c|0)|0;ea(F|0,(da(F|0,2,0,0)|0)&-9|0,2,0);z=a+8|0;r=A*40|0;s=a+60|0;t=y*40|0;u=a+12|0;h=((da(e|0,4,0,0)|0)<<2)+7&-8;v=a+64|0;k=(y<<2)+7&-8;l=a+56|0;m=(x<<2)+7&-8;n=a+200|0;o=w+7&-8;p=a+172|0;q=E+65|0;f=f+(c&7)|0;while(1){e=da(z|0,4,0,0)|0|0;if(!e){d=f+r|0;c=d>>>0>g>>>0;e=c?0:f;f=c?f:d;c=c?r:0}else c=0;ea(z|0,e|0,4,0);e=da(s|0,4,0,0)|0|0;if(!e){H=f+t|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?t:0)+c|0}ea(s|0,e|0,4,0);e=da(u|0,4,0,0)|0|0;if(!e){H=f+h|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?h:0)+c|0}ea(u|0,e|0,4,0);e=da(v|0,4,0,0)|0|0;if(!e){H=f+k|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?k:0)+c|0}ea(v|0,e|0,4,0);e=da(l|0,4,0,0)|0|0;if(!e){H=f+m|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?m:0)+c|0}ea(l|0,e|0,4,0);e=da(n|0,4,0,0)|0|0;if(!e){d=(f+o|0)>>>0>g>>>0;e=d?0:f;c=(d?o:0)+c|0}ea(n|0,e|0,4,0);if(!c)break;d=lh(E,c,((c|0)<0)<<31>>31)|0;if(!d)e=0;else{ew(d|0,0,c|0)|0;e=d}ea(p|0,e|0,4,0);if(!(da(q>>0|0,1,0,0)|0)){f=d;g=d+c|0}else break}ea(a+36|0,x|0,4,0);ea(a+196|0,w|0,4,0);d=da(s|0,4,0,0)|0|0;if((d|0)!=0?(ea(a+68|0,y|0,2,0),(y|0)>0):0){c=0;do{ea(d+(c*40|0)+8|0,1|0,2,0);ea(d+(c*40|0)+32|0,E|0,4,0);c=c+1|0}while((c|0)!=(y|0))}d=da(v|0,4,0,0)|0|0;if((d|0)!=0?(B=b+444|0,C=da(B|0,4,0,0)|0|0,(C|0)>0):0){ea(a+70|0,C|0,2,0);y=b+472|0;jw(d|0,da(y|0,4,0,0)|0|0,C<<16>>14|0)|0;ew(da(y|0,4,0,0)|0|0,0,(da(B|0,4,0,0)|0)<<2|0)|0}d=da(z|0,4,0,0)|0|0;if((d|0)!=0?(ea(z|0,d+-40|0,4,0),ea(a+28|0,A|0,4,0),(A|0)>=1):0){c=1;while(1){ea(d+((c+-1|0)*40|0)+8|0,128|0,2,0);ea(d+((c+-1|0)*40|0)+32|0,E|0,4,0);if((c|0)==(A|0))break;else c=c+1|0}}ea(F|0,(da(F|0,2,0,0)|0)&-4|(da(D>>0|0,1,0,1)|0)&3|0,2,0);ea(a+76|0,-1|0,4,0);ea(a+80|0,0|0,4,0);ea(a+86>>0|0,2|0,1,0);ea(a+40|0,-1108210269|0,4,0);ea(a+92|0,0|0,4,0);ea(a+72|0,1|0,4,0);ea(a+87>>0|0,-1|0,1,0);ea(a+104|0,0|0,4,0);z=a+144|0;ea(z|0,0|0,4,0);ea(z+4|0,0|0,4,0);i=G;return}function Ah(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,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;h=a+20|0;g=da(h|0,4,0,0)|0|0;f=da(g+60|0,4,0,0)|0|0;ea(f|0,b|0,4,0);ea(f+4|0,c|0,4,0);f=Rd(g)|0;do if((f|0)!=100){e=da(h|0,4,0,0)|0|0;if(e){f=ld(e)|0;ea(h|0,0|0,4,0);e=da(a+24|0,4,0,0)|0|0;if(!f){f=k;ea(f|0,b|0,4,0);ea(f+4|0,c|0,4,0);f=1;e=th(e,41432,k)|0;break}else{ea(k|0,Re(e)|0|0,4,0);e=th(e,10344,k)|0;break}}else e=0}else{f=da(da(g+56|0,4,0,0)|0|0,4,0,0)|0|0;e=da(a+12|0,4,0,0)|0|0;g=da(f+(e<<2)+84|0,4,0,0)|0|0;if(g>>>0>=12){ea(a+8|0,da(f+((da(f+20|0,2,0,0)|0|0)+e<<2)+84|0,4,0,0)|0|0,4,0);ea(a+4|0,(g+-12|0)>>>1|0,4,0);f=da(f|0,4,0,0)|0|0;ea(a+16|0,f|0,4,0);f=f+72|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|16|0,1,0);f=0;e=0;break}f=da(a+24|0,4,0,0)|0|0;if(!g)e=20352;else e=(g|0)==7?20336:20320;ea(k|0,e|0,4,0);e=th(f,41400,k)|0;ld(da(h|0,4,0,0)|0|0)|0;ea(h|0,0|0,4,0);f=1}while(0);ea(d|0,e|0,4,0);i=l;return f|0}function Bh(a){a=a|0;var b=0;if(a){b=da(a|0,4,0,0)|0|0;lg(b,da(a+112|0,4,0,0)|0|0);Mk(b,da(a+316|0,4,0,0)|0|0)}return}function Ch(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=da(a+73>>0|0,1,0,0)|0|0;do if(!(f<<24>>24))e=4;else{if((f&255)>2?(e=Jn(a)|0,(e|0)!=0):0)break;e=Km(a,b,c,d,0)|0}while(0);return e|0}function Dh(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,k=0,l=0,m=0,n=0,o=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;if(!a){ea(g|0,77646|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);d=21}else{h=da(a+24|0,4,0,0)|0|0;g=a+20|0;f=da(g|0,4,0,0)|0|0;do if((d|c|0)>=0?(m=iw(d|0,((d|0)<0)<<31>>31|0,c|0,((c|0)<0)<<31>>31|0)|0,o=C,l=da(a+4|0,4,0,0)|0|0,n=((l|0)<0)<<31>>31,!((o|0)>(n|0)|(o|0)==(n|0)&m>>>0>l>>>0)):0)if(f){d=oc[(fa(e|0,31|0)|0)&31](da(a+16|0,4,0,0)|0|0,(da(a+8|0,4,0,0)|0|0)+d|0,c,b)|0;if((d|0)==4){Mg(f)|0;ea(g|0,0|0,4,0);d=4;break}else{ea(f+80|0,d|0,4,0);break}}else d=4;else d=1;while(0);ea(h+52|0,d|0,4,0);f=da(h+236|0,4,0,0)|0|0;do if(f){g=f+8|0;if(!((da(g|0,2,0,0)|0)&9312)){ea(g|0,1|0,2,0);break}else{ug(f);break}}while(0);d=Ng(h,d)|0}i=k;return d|0}function Eh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=a+73|0;e=da(f>>0|0,1,0,0)|0|0;if((e&255)>2){e=Jn(a)|0;if(!e){e=da(f>>0|0,1,0,0)|0|0;g=4}}else g=4;if((g|0)==4)if(e<<24>>24==1){Kn(da(a+4|0,4,0,0)|0|0,da(a+60|0,4,0,0)|0|0,a)|0;if(!((da(a+72>>0|0,1,0,0)|0)&1))e=8;else e=Km(a,b,c,d,1)|0}else e=4;return e|0}function Fh(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();t=v+4|0;u=v;ea(t|0,a|0,4,0);ea(u|0,b|0,4,0);o=da(c+1>>0|0,1,0,1)|0|0;p=da(c>>0|0,1,0,1)|0|0;s=da(c+3>>0|0,1,0,0)|0|0;r=(d|0)!=0;if(r)q=d;else q=da(c+2>>0|0,1,0,1)|0|0;l=s<<24>>24!=0;h=0;a:while(1){while(1){f=Ln(t)|0;if(!f){n=60;break a}if((f|0)==(p|0)){n=7;break a}if((f|0)!=(q|0))break;if(r){n=40;break}b=Ln(u)|0;if(!b){e=0;break a}g=Ln(t)|0;if((g|0)==94){g=Ln(t)|0;e=1}else e=0;if((g|0)==93){g=Ln(t)|0;k=(b|0)==93&1}else k=0;f=(g|0)==0;if((g|0)!=93&(f^1)){f=0;while(1){if(((g|0)==45?(m=da((da(t|0,4,0,0)|0)>>0|0,1,0,0)|0|0,m<<24>>24!=93):0)?m<<24>>24!=0&(f|0)!=0:0){g=b>>>0<f>>>0|b>>>0>(Ln(t)|0)>>>0;a=0;k=g?k:1}else{a=g;k=(b|0)==(g|0)?1:k}g=Ln(t)|0;f=(g|0)==0;if(!((g|0)!=93&(f^1))){g=f;break}else f=a}}else g=f;if(g|(k|0)==(e|0)){e=0;break a}}if((n|0)==40){n=0;f=Ln(t)|0;if(!f){e=0;break}h=da(t|0,4,0,0)|0|0}g=Ln(u)|0;if((f|0)==(g|0))continue;if(l&f>>>0<128&g>>>0<128?(da(9328+(f&255)>>0|0,1,0,0)|0|0)==(da(9328+(g&255)>>0|0,1,0,0)|0|0):0)continue;if((f|0)!=(o|0)){e=0;break}if(!((g|0)!=0?(da(t|0,4,0,0)|0|0)!=(h|0):0)){e=0;break}}b:do if((n|0)==7){b=Ln(t)|0;a=(b|0)==(o|0);if((b|0)==(p|0)|a)do{if(a?(Ln(u)|0)==0:0){e=0;break b}b=Ln(t)|0;a=(b|0)==(o|0)}while((b|0)==(p|0)|a);if(b){do if((b|0)==(q|0)){if(r){b=Ln(t)|0;if(!b){e=0;break b}else break}e=da(u|0,4,0,0)|0|0;c:do if(!(da(e>>0|0,1,0,0)|0))e=0;else{a=da(t|0,4,0,0)|0|0;while(1){if(Fh(a+-1|0,e,c,0)|0)break;b=e+1|0;ea(u|0,b|0,4,0);if((da(e>>0|0,1,0,1)|0|0)>191?((da(b>>0|0,1,0,0)|0)&-64)<<24>>24==-128:0){while(1){e=e+2|0;if(((da(e>>0|0,1,0,0)|0)&-64)<<24>>24==-128){n=b;b=e;e=n}else break}ea(u|0,e|0,4,0)}else e=b;if(!(da(e>>0|0,1,0,0)|0)){e=0;break c}}e=(da(e>>0|0,1,0,0)|0|0)!=0}while(0);e=e&1;break b}while(0);if(b>>>0>=129){e=Ln(u)|0;if(!e){e=0;break}a=da(t|0,4,0,0)|0|0;while(1){if((e|0)==(b|0)?(Fh(a,da(u|0,4,0,0)|0|0,c,d)|0)!=0:0){e=1;break b}e=Ln(u)|0;if(!e){e=0;break b}}}if(!(s<<24>>24)){k=b;h=b}else{h=b&255;k=da(9328+h>>0|0,1,0,1)|0|0;h=((da(10368+h>>0|0,1,0,1)|0|-33)^32)&b}a=da(u|0,4,0,0)|0|0;e=a+1|0;ea(u|0,e|0,4,0);b=da(a>>0|0,1,0,0)|0|0;if(!(b<<24>>24))e=0;else{g=da(t|0,4,0,0)|0|0;f=b&255;while(1){if((f|0)==(k|0)|(f|0)==(h|0)?(Fh(g,e,c,d)|0)!=0:0){e=1;break b}b=a+2|0;ea(u|0,b|0,4,0);a=da(e>>0|0,1,0,0)|0|0;if(!(a<<24>>24)){e=0;break}else{n=e;f=a&255;e=b;a=n}}}}else e=1}else if((n|0)==60)e=(da((da(u|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==0&1;while(0);i=v;return e|0}function Gh(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;do if(a){a=da(a+76|0,4,0,0)|0|0;if((a|0)==-1607883113){a=1;break}else if((a|0)==1266094736|(a|0)==-264537850){ea(b|0,41352|0,4,0);ad(21,15256,b);a=0;break}else{ea(b|0,15248|0,4,0);ad(21,15256,b);a=0;break}}else{ea(b|0,20304|0,4,0);ad(21,15256,b);a=0}while(0);i=c;return a|0}function Hh(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,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();g=l;h=l+8|0;ea(h|0,0|0,4,0);ea(e|0,0|0,4,0);if((Gh(a)|0)==0|(b|0)==0){ea(g|0,106003|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);d=21}else{a:do if((c|0)>-1)if((c|0)>0){g=0;do{if((da(b+g>>0|0,1,0,0)|0|0)==0?(da(b+(g|1)>>0|0,1,0,0)|0|0)==0:0)break a;g=g+2|0}while((g|0)<(c|0))}else g=0;else g=c;while(0);k=Qh(a,b,g)|0;if(k){d=hh(a,k,-1,d,0,e,h)|0;g=da(h|0,4,0,0)|0|0;if((g|0)!=0&(f|0)!=0){e=Mn(k,g-k|0)|0;if((e|0)>0){c=0;g=b;do{g=((da(g+1>>0|0,1,0,0)|0)&-8)<<24>>24==-40?g+4|0:g+2|0;c=c+1|0}while((c|0)!=(e|0))}else g=b;ea(f|0,b+(g-b)|0,4,0)}}else d=0;lg(a,k);d=Ng(a,d)|0}i=l;return d|0}function Ih(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,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();m=p;n=a+12|0;f=da(n|0,4,0,0)|0|0;l=(c|0)!=0;e=b<<((f|0)==0&l&1);o=a+20|0;h=a+8|0;g=da(h|0,4,0,0)|0|0;if((e+(da(o|0,4,0,0)|0|0)|0)>>>0>g>>>0){e=e+(g<<1)|0;ea(h|0,e|0,4,0);f=da(a|0,4,0,0)|0|0;if((Kc()|0)==0?(k=qg(f,e<<2,0)|0,(k|0)!=0):0){ea(a|0,k|0,4,0);f=da(n|0,4,0,0)|0|0;k=5}else k=21}else k=5;a:do if((k|0)==5){e=a+16|0;if(!f){ea(e|0,b|0,4,0);if((b|0)>0){e=0;do{ea(m|0,da(d+(e<<2)|0,4,0,0)|0|0,4,0);f=Zc(10344,m)|0;if(!f){k=21;break a}h=da(o|0,4,0,0)|0|0;ea(o|0,h+1|0,4,0);ea((da(a|0,4,0,0)|0|0)+(h<<2)|0,f|0,4,0);e=e+1|0}while((e|0)<(b|0))}}else if((da(e|0,4,0,0)|0|0)!=(b|0)){e=a+4|0;Vc(da(e|0,4,0,0)|0|0);ea(e|0,Zc(40912,m)|0|0,4,0);ea(a+24|0,1|0,4,0);e=1;break}if(l){if((b|0)>0){h=0;do{g=c+(h<<2)|0;e=da(g|0,4,0,0)|0|0;if(!e)e=0;else{f=e;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=(f-e&1073741823)+1|0;e=Sc(f)|0;if(!e){k=21;break a}jw(e|0,da(g|0,4,0,0)|0|0,f|0)|0}m=da(o|0,4,0,0)|0|0;ea(o|0,m+1|0,4,0);ea((da(a|0,4,0,0)|0|0)+(m<<2)|0,e|0,4,0);h=h+1|0}while((h|0)<(b|0))}ea(n|0,(da(n|0,4,0,0)|0|0)+1|0,4,0);e=0}else e=0}while(0);if((k|0)==21){ea(a+24|0,7|0,4,0);e=1}i=p;return e|0}function Jh(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,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m;if(!b)g=0;else{f=b;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;g=f-b&1073741823}h=a+308|0;f=an(h,b,k)|0;if((f|0)!=0?(da(f+8|0,4,0,0)|0|0)!=0:0){ea(k|0,114188|0,4,0);ea(k+4|0,10788|0,4,0);ad(21,13648,k);f=21}else{f=lh(a,g+17|0,0)|0;if((f|0)!=0?(l=f+16|0,jw(l|0,b|0,g+1|0)|0,ea(f+4|0,l|0,4,0),ea(f|0,c|0,4,0),ea(f+8|0,d|0,4,0),ea(f+12|0,e|0,4,0),l=Hk(h,l,f)|0,(l|0)!=0):0){ea(a+65>>0|0,1|0,1,0);lg(a,l);f=0}else f=0}f=Ng(a,f)|0;if((f|0)!=0&(e|0)!=0)bc[(fa(e|0,31|0)|0)&31](d);i=m;return f|0}function Kh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=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;y=i;i=i+16|0;if((i|0)>=(j|0))ba();v=y;l=y+8|0;w=da(a|0,4,0,0)|0|0;h=da(w+92|0,4,0,0)|0|0;if(!(da(w+148|0,4,0,0)|0))ea(w+240|0,0|0,4,0);x=a+12|0;ea(x|0,0|0,4,0);n=a+480|0;ea(n|0,b|0,4,0);r=pg(1612,0)|0;if(r){ea(r|0,-1|0,4,0);o=w+250|0;p=da(o>>0|0,1,0,0)|0|0;if(da(w+276|0,4,0,0)|0)ea(o>>0|0,1|0,1,0);q=w+65|0;m=a+504|0;d=a+508|0;k=w+240|0;g=0;f=-1;a:while(1){while(1){if(da(q>>0|0,1,0,0)|0){t=19;break a}e=b+g|0;if(!(da(e>>0|0,1,0,0)|0)){t=19;break a}ea(m|0,e|0,4,0);e=Bn(e,l)|0;ea(d|0,e|0,4,0);g=e+g|0;if((g|0)>(h|0)){t=12;break a}e=da(l|0,4,0,0)|0|0;if((e|0)==150){t=16;break a}else if((e|0)==1){f=e;t=17;break}else if((e|0)!=151){f=e;break}if(da(k|0,4,0,0)|0){t=15;break a}}if((t|0)==17){t=0;ea(n|0,b+g|0,4,0)};ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,f,v,a);f=da(l|0,4,0,0)|0|0;if(da(x|0,4,0,0)|0){t=19;break}}if((t|0)==12){ea(x|0,18|0,4,0);t=19}else if((t|0)==15){sh(a,20384,v);ea(x|0,9|0,4,0);t=19}else if((t|0)==16){lg(w,da(c|0,4,0,0)|0|0);ea(v|0,m|0,4,0);ea(c|0,th(w,20400,v)|0|0,4,0);d=1}if((t|0)==19){g=b+g|0;if((da(g>>0|0,1,0,0)|0|0)==0?(da(x|0,4,0,0)|0|0)==0:0){if((f|0)!=1){ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,1,v,a);ea(n|0,g|0,4,0)};ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,0,v,a);d=0}else d=0}if((da(r|0,4,0,0)|0|0)>-1)do On(r);while((da(r|0,4,0,0)|0|0)>-1);Vc(r);ea(o>>0|0,p|0,1,0);if(!(da(q>>0|0,1,0,0)|0)){f=da(x|0,4,0,0)|0|0;if(!((f|0)==101|(f|0)==0)){s=f;t=29}}else{ea(x|0,7|0,4,0);s=7;t=29}if((t|0)==29?(u=a+4|0,(da(u|0,4,0,0)|0|0)==0):0){if((s|0)!=516){f=s&255;if(f>>>0>26|(f|0)==2)f=16328;else f=da(15488+(f<<2)|0,4,0,0)|0|0}else f=16344;ea(v|0,f|0,4,0);ch(u,w,10344,v)}f=a+4|0;e=da(f|0,4,0,0)|0|0;if(e){ea(c|0,e|0,4,0);c=da(x|0,4,0,0)|0|0;ea(v|0,e|0,4,0);ad(c,10344,v);ea(f|0,0|0,4,0);d=d+1|0}f=a+8|0;e=da(f|0,4,0,0)|0|0;if(((e|0)!=0?(da(a+64|0,4,0,0)|0|0)>0:0)?(da(a+18>>0|0,1,0,0)|0|0)==0:0){Ol(e);ea(f|0,0|0,4,0)}if(!(da(a+18>>0|0,1,0,0)|0)){c=a+400|0;lg(w,da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);ea(a+396|0,0|0,4,0)}Vc(da(a+520|0,4,0,0)|0|0);if(!(da(a+451>>0|0,1,0,0)|0))jg(w,da(a+484|0,4,0,0)|0|0);if(da(a+449>>0|0,1,0,0)|0)Pn(w,da(a+532|0,4,0,0)|0|0);ig(w,da(a+488|0,4,0,0)|0|0);f=da(a+444|0,4,0,0)|0|0;g=a+472|0;e=da(g|0,4,0,0)|0|0;if((f|0)>0)do{f=f+-1|0;lg(w,da(e+(f<<2)|0,4,0,0)|0|0);e=da(g|0,4,0,0)|0|0}while((f|0)>0);lg(w,e);f=a+404|0;e=da(f|0,4,0,0)|0|0;if(e)do{ea(f|0,da(e|0,4,0,0)|0|0,4,0);lg(w,e);e=da(f|0,4,0,0)|0|0}while((e|0)!=0);f=a+524|0;e=da(f|0,4,0,0)|0|0;if(e)do{ea(f|0,da(e+72|0,4,0,0)|0|0,4,0);jg(w,e);e=da(f|0,4,0,0)|0|0}while((e|0)!=0);if((d|0)>0?(da(x|0,4,0,0)|0|0)==0:0)ea(x|0,1|0,4,0)}else{ea(w+65>>0|0,1|0,1,0);d=7}i=y;return d|0}function Lh(a){a=a|0;if(a){if(!(((da(a+8|0,2,0,0)|0)&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);lg(da(a+32|0,4,0,0)|0|0,a)}return}function Mh(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;if(!(da(a+252|0,4,0,0)|0)){k=a+251|0;if(da(k>>0|0,1,0,0)|0)Vc(da(a+276|0,4,0,0)|0|0);g=c&-8;e=(g|0)<5?0:g;f=(d|0)<0?0:d;if(!((e|0)==0|(f|0)==0))if(!b){c=da(3164*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();c=_(e,f)|0;c=pg(c,((c|0)<0)<<31>>31)|0;d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();if(!c)c=0;else f=(kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](c)|0)/(g|0)|0}else c=b;else{e=0;c=0}d=a+276|0;ea(d|0,c|0,4,0);j=a+272|0;ea(j|0,0|0,4,0);ea(a+248|0,e|0,2,0);if(!c){ea(d|0,a|0,4,0);ea(a+280|0,a|0,4,0);ea(a+250>>0|0,0|0,1,0);c=0}else{if((f|0)>0){d=_(e,f)|0;i=c+(_(e,f+-1|0)|0)|0;h=0;g=c;while(1){f=f+-1|0;ea(g|0,h|0,4,0);if((f|0)<=0)break;else{h=g;g=g+e|0}}ea(j|0,i|0,4,0);c=c+d|0}ea(a+280|0,c|0,4,0);ea(a+250>>0|0,1|0,1,0);c=(b|0)==0&1}ea(k>>0|0,c|0,1,0);c=0}else c=5;return c|0}function Nh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;do if(!a)c=0;else{h=a+76|0;l=da(h|0,4,0,0)|0|0;if(!((l|0)==1266094736|(l|0)==-1607883113|(l|0)==-264537850)){ea(n|0,15248|0,4,0);ad(21,15256,n);ea(n|0,128509|0,4,0);ea(n+4|0,10788|0,4,0);ad(21,13648,n);c=21;break}k=a+20|0;c=da(k|0,4,0,0)|0|0;a:do if((c|0)>0){l=a+16|0;d=da(l|0,4,0,0)|0|0;f=0;do{e=da(d+(f<<4)+4|0,4,0,0)|0|0;if(e)ea((da(e+4|0,4,0,0)|0|0)+4|0,da(e|0,4,0,0)|0|0,4,0);f=f+1|0}while((f|0)!=(c|0));g=0;while(1){c=da(d+(g<<4)+12|0,4,0,0)|0|0;if((c|0)!=0?(m=da(c+16|0,4,0,0)|0|0,(m|0)!=0):0){c=m;do{d=da(c+8|0,4,0,0)|0|0;b:do if((da(d+44>>0|0,1,0,0)|0)&16){e=d+60|0;while(1){d=da(e|0,4,0,0)|0|0;if(!d)break b;f=d+24|0;if((da(d|0,4,0,0)|0|0)==(a|0))break;else e=f}ea(e|0,da(f|0,4,0,0)|0|0,4,0);zn(d)}while(0);c=da(c|0,4,0,0)|0|0}while((c|0)!=0)}c=g+1|0;if((c|0)>=(da(k|0,4,0,0)|0|0))break a;d=da(l|0,4,0,0)|0|0;g=c}}while(0);ql(a);Qn(a,68);if((b|0)==0?(Il(a)|0)!=0:0){tg(a,5,16368,n);c=5;break}ea(h|0,1691352191|0,4,0);Lg(a);c=0}while(0);i=o;return c|0}function Oh(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(da(a+492|0,4,0,0)|0|0))b=0;else{b=da(a|0,4,0,0)|0|0;qc[(fa(da(b+60|0,4,0,0)|0|0,127|0)|0)&127](b,1e6)|0;b=1}return b|0}function Ph(a,b,c,d,e,f,g,h,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();q=s;do if(b){n=(f|0)!=0;l=(h|0)!=0;if(n)if(l|(g|0)!=0){r=8;break}else{l=0;m=0}else{m=(g|0)!=0;if(!(m|l^1)){r=8;break}}if(!(m&((n|l)^1)|(c|0)<-1|(c|0)>127)){l=b;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;o=l-b&1073741823;if(o>>>0<=255){p=d&2048;l=d&7;if((l|0)!=4){if((l|0)==5){l=Ph(a,b,c,p|1,e,f,g,h,k)|0;if(l)break;l=Ph(a,b,c,p|2,e,f,g,h,k)|0;if(!l)l=3;else break}}else l=2;n=l&255;m=Rh(a,b,o,c,n,0)|0;if(((m|0)!=0?((da(m+2|0,2,0,1)|0)&3|0)==(l|0):0)?(da(m|0,2,0,0)|0|0)==(c|0):0){if(da(a+148|0,4,0,0)|0){tg(a,5,15424,q);l=5;break}l=da(a+4|0,4,0,0)|0|0;if(l)do{q=l+88|0;ea(q|0,da(q|0,2,0,0)|0|8|0,2,0);l=da(l+52|0,4,0,0)|0|0}while((l|0)!=0)}l=Rh(a,b,o,c,n,1)|0;if(!l)l=7;else{Ml(a,l);if(k)ea(k|0,(da(k|0,4,0,0)|0|0)+1|0,4,0);ea(l+32|0,k|0,4,0);a=l+2|0;ea(a|0,(da(a|0,2,0,1)|0)&3|p|0,2,0);ea(l+12|0,f|0,4,0);ea(l+16|0,g|0,4,0);ea(l+20|0,h|0,4,0);ea(l+4|0,e|0,4,0);ea(l|0,c|0,2,0);l=0}}else r=8}else r=8}else r=8;while(0);if((r|0)==8){ea(q|0,129075|0,4,0);ea(q+4|0,10788|0,4,0);ad(21,13648,q);l=21}i=s;return l|0}function Qh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+48|0;if((i|0)>=(j|0))ba();f=g;d=f+0|0;e=d+40|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(e|0));ea(f+32|0,a|0,4,0);Wg(f,b,c,2,0)|0;c=f+8|0;b=da(c|0,4,0,0)|0|0;if(!((b&2|0)==0|(b&16711680|0)==65536))An(f,1)|0;if(!(da(a+65>>0|0,1,0,0)|0))c=da(f+16|0,4,0,0)|0|0;else{if(!(((da(c|0,2,0,0)|0)&9312)==0?(da(f+24|0,4,0,0)|0|0)==0:0))Pg(f);ea(f+16|0,0|0,4,0);c=0}i=g;return c|0}function Rh(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;j=((da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)+c|0)%23|0;k=a+336|0;h=Qk(k,j,b,c)|0;if(!h){i=0;g=0}else{i=0;g=0;do{m=Rn(h,d,e)|0;l=(m|0)>(i|0);i=l?m:i;g=l?h:g;h=da(h+8|0,4,0,0)|0|0}while((h|0)!=0)}do if(!(f<<24>>24)){if((g|0)!=0?((da(a+24|0,4,0,0)|0)&2097152|0)==0:0){h=0;j=12;break}h=Qk(10840,j,b,c)|0;if(!h){i=0;j=8}else{i=0;do{l=Rn(h,d,e)|0;j=(l|0)>(i|0);i=j?l:i;g=j?h:g;h=da(h+8|0,4,0,0)|0|0}while((h|0)!=0);j=8}}else j=8;while(0);do if((j|0)==8){h=f<<24>>24!=0;if(h&(i|0)<6){h=c+37|0;g=lh(a,h,0)|0;if(!g){j=14;break}ew(g|0,0,h|0)|0;h=g+36|0;ea(g+24|0,h|0,4,0);ea(g|0,d|0,2,0);ea(g+2|0,e&255|0,2,0);jw(h|0,b|0,c|0)|0;ea(g+(c+36)>>0|0,0|0,1,0);mg(k,g);h=1}if(!g)j=14;else j=12}while(0);if((j|0)==12)if((da(g+16|0,4,0,0)|0|0)==0?!((da(g+12|0,4,0,0)|0|0)!=0|h):0)j=14;if((j|0)==14)g=0;return g|0}function Sh(a,b,c){a=a|0;b=b|0;c=c|0;b=i;i=i+16|0;if((i|0)>=(j|0))ba();c=b;ea(c|0,da((da(a+4|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,4,0);c=Zc(15304,c)|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,c,-1,1,-1)|0;Vc(c);i=b;return}function Th(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)<=(d|0)){d=da(3164*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();Jf(b,c,0,0,0)|0;d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]()}return 0}function Uh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if(b){c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;e=c-b&1073741823;d=da(a+20|0,4,0,0)|0|0;c=d+-1|0;if((d|0)>0){f=c;d=(da(a+16|0,4,0,0)|0|0)+(c<<4)|0;while(1){a=da(d|0,4,0,0)|0|0;if(!a)c=0;else{c=a;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-a&1073741823}if((e|0)==(c|0)?(cd(a,b)|0)==0:0){c=f;break a}c=f+-1|0;if((f|0)>0){f=c;d=d+-16|0}else break}}}else c=-1;while(0);return c|0}function Vh(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;n=a+20|0;f=da(n|0,4,0,0)|0|0;if((f|0)>0){o=(b|0)==10;l=a+16|0;m=(c|0)==0;j=d;a=f;d=0;k=0;while(1){if((k|0)==(b|0)|o){g=da((da(l|0,4,0,0)|0|0)+(k<<4)+4|0,4,0,0)|0|0;if(g){f=da(g+4|0,4,0,0)|0|0;ea(f+4|0,da(g|0,4,0,0)|0|0,4,0);if(!(da(f+20>>0|0,1,0,0)|0)){g=da(f|0,4,0,0)|0|0;h=da(g+208|0,4,0,0)|0|0;if(!h)h=0;else{if(m)f=0;else f=da(g+176|0,4,0,0)|0|0;h=Sn(h,c,f,da(g+180|0,4,0,0)|0|0,da(g+9>>0|0,1,0,1)|0|0,da(g+152|0,4,0,0)|0|0,da(g+200|0,4,0,0)|0|0,j,e)|0;a=da(n|0,4,0,0)|0|0}}else h=6}else h=0;e=(h|0)==5;i=0;g=0;f=a;d=e?1:d;e=e?0:h}else{i=e;g=j;f=a;e=0}k=k+1|0;a=(e|0)==0;if(!((k|0)<(f|0)&a))break;else{j=g;e=i;a=f}}}else{a=1;d=0;e=0}return (a&(d|0)!=0?5:e)|0}function Wh(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+32|0;if((i|0)>=(j|0))ba();p=t;q=t+20|0;l=t+16|0;k=t+12|0;h=t+8|0;ea(l|0,c|0,4,0);ea(k|0,0|0,4,0);ea(h|0,0|0,4,0);ea(b|0,0|0,4,0);e=Kc()|0;do if(!e){if(!(1<<(c&7)&70)){ea(p|0,130207|0,4,0);ea(p+4|0,10788|0,4,0);ad(21,13648,p);e=21;break}if((da(2187*4|0,4,0,0)|0|0)!=0&(c&32768|0)==0)g=(c&65536|0)==0?da(2188*4|0,4,0,0)|0|0:1;else g=0;if(!(c&262144)){if(da(2241*4|0,4,0,0)|0){c=c|131072;ea(l|0,c|0,4,0)}}else{c=c&-131073;ea(l|0,c|0,4,0)}c=c&-655129;ea(l|0,c|0,4,0);s=pg(528,0)|0;a:do if(s){ew(s|0,0,528)|0;if(g)ea(s+12|0,8|0,4,0);ea(s+56|0,255|0,4,0);ea(s+20|0,2|0,4,0);m=s+76|0;ea(m|0,-264537850|0,4,0);n=s+16|0;ea(n|0,s+456|0,4,0);f=s+88|0;g=11088;e=f+44|0;do{ea(f|0,da(g|0,4,0,0)|0|0,4,0);f=f+4|0;g=g+4|0}while((f|0)<(e|0));ea(s+132|0,0|0,4,0);ea(s+63>>0|0,1|0,1,0);ea(s+67>>0|0,-1|0,1,0);f=8920;g=da(f+4|0,4,0,0)|0|0;o=s+40|0;ea(o|0,da(f|0,4,0,0)|0|0,4,0);ea(o+4|0,g|0,4,0);ea(s+72|0,0|0,4,0);ea(s+136|0,2147483647|0,4,0);ea(s+24|0,9437264|0,4,0);g=s+428|0;ea(g+0|0,0|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,0|0,4,0);ea(g+12|0,0|0,4,0);o=s+308|0;ea(o+0|0,0|0,4,0);ea(o+4|0,0|0,4,0);ea(o+8|0,0|0,4,0);ea(o+12|0,0|0,4,0);Xh(s,11152,1,0,21,0)|0;Xh(s,11152,3,0,21,0)|0;Xh(s,11152,2,0,21,0)|0;Xh(s,13752,1,0,22,0)|0;Xh(s,13760,1,1,21,0)|0;o=s+65|0;if(!(da(o>>0|0,1,0,0)|0)){g=an(g,11152,p)|0;if(!g)g=0;else g=da(g+8|0,4,0,0)|0|0;ea(s+8|0,g|0,4,0);ea(s+48|0,c|0,4,0);g=Vn(d,a,l,s,k,h)|0;if(!g){a=da(k|0,4,0,0)|0|0;e=ym(da(s|0,4,0,0)|0|0,a,s,(da(n|0,4,0,0)|0|0)+4|0,0,da(l|0,4,0,0)|0|256)|0;if((e|0)==3082)e=7;else if(!e){c=da((da(n|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;ea((da(c+4|0,4,0,0)|0|0)+4|0,da(c|0,4,0,0)|0|0,4,0);c=Wn(s,c)|0;ea((da(n|0,4,0,0)|0|0)+12|0,c|0,4,0);if(!(da(o>>0|0,1,0,0)|0))ea(s+62>>0|0,da(c+77>>0|0,1,0,0)|0|0|0,1,0);c=pg(84,0)|0;if(!c){ea(o>>0|0,1|0,1,0);c=0}else{f=c+0|0;e=f+84|0;do{ea(f>>0|0,0|0,1,0);f=f+1|0}while((f|0)<(e|0));g=c+77|0;f=c+8|0;e=f+64|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(e|0));ea(g>>0|0,1|0,1,0)}l=da(n|0,4,0,0)|0|0;ea(l+28|0,c|0,4,0);ea(l|0,13768|0,4,0);ea(l+8>>0|0,3|0,1,0);ea(l+16|0,10728|0,4,0);ea(l+24>>0|0,1|0,1,0);ea(m|0,-1607883113|0,4,0);if(da(o>>0|0,1,0,0)|0){e=s;break}f=s+52|0;ea(f|0,0|0,4,0);g=s+236|0;c=da(g|0,4,0,0)|0|0;do if(c){e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break}else{ug(c);break}}while(0);if((Bf(s,14632,2)|0)==7)ea(o>>0|0,1|0,1,0);c=Mf(s)|0;do if(!c){c=da(2656*4|0,4,0,0)|0|0;if(c){b:do if((c|0)>0){f=0;while(1){c=da((da(2658*4|0,4,0,0)|0|0)+(f<<2)|0,4,0,0)|0|0;ea(q|0,0|0,4,0);if(c){e=$b[(fa(c|0,63|0)|0)&63](s,q,13776)|0;c=da(q|0,4,0,0)|0|0;if(e)break}else c=0;Vc(c);f=f+1|0;if((f|0)>=(da(2656*4|0,4,0,0)|0|0)){r=40;break b}}ea(p|0,c|0,4,0);tg(s,e,14592,p);e=da(q|0,4,0,0)|0|0}else r=40;while(0);if((r|0)==40){ea(q|0,0|0,4,0);e=0}Vc(e)}if(Mf(s)|0){e=s;break a}}else{ea(f|0,c|0,4,0);e=da(g|0,4,0,0)|0|0;if(e){c=e+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(e);break}}}while(0);Mh(s,0,da(2193*4|0,4,0,0)|0|0,da(2194*4|0,4,0,0)|0|0)|0;ea(s+216|0,21|0,4,0);ea(s+220|0,1e3|0,4,0);e=s;break}ea(s+52|0,e|0,4,0);c=da(s+236|0,4,0,0)|0|0;if(!c){e=s;break}e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);e=s;break}else{ug(c);e=s;break}}else if((g|0)==7)ea(o>>0|0,1|0,1,0);a=da(h|0,4,0,0)|0|0;ea(p|0,a|0,4,0);tg(s,g,(a|0)!=0?10344:0,p);Vc(a);a=da(k|0,4,0,0)|0|0;e=s}else{a=0;e=s}}else{a=0;e=0}while(0);Vc(a);c=Mf(e)|0;if((c|0)==7){Nh(e,0)|0;e=0}else if(c)ea(s+76|0,1266094736|0,4,0);ea(b|0,e|0,4,0);e=c&255}while(0);i=t;return e|0}function Xh(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,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();g=o;n=c&255;if(!(c<<24>>24==4|c<<24>>24==8))if((n+-1|0)>>>0>2){ea(g|0,129758|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);g=21}else{m=n;h=4}else{m=2;h=4}do if((h|0)==4){l=m&255;h=Xn(a,l,b,0)|0;if((h|0)!=0?(da(h+12|0,4,0,0)|0|0)!=0:0){if(da(a+148|0,4,0,0)|0){tg(a,5,13680,g);g=5;break}c=da(a+4|0,4,0,0)|0|0;if(c)do{k=c+88|0;ea(k|0,da(k|0,2,0,0)|0|8|0,2,0);c=da(c+52|0,4,0,0)|0|0}while((c|0)!=0);k=h+4|0;if(((da(k>>0|0,1,0,1)|0)&247|0)==(m|0)){c=an(a+428|0,b,g)|0;if(!c)h=0;else h=da(c+8|0,4,0,0)|0|0;g=0;do{if((da(h+(g*20|0)+4>>0|0,1,0,0)|0|0)==(da(k>>0|0,1,0,0)|0|0)){c=da(h+(g*20|0)+16|0,4,0,0)|0|0;if(c)bc[(fa(c|0,31|0)|0)&31](da(h+(g*20|0)+8|0,4,0,0)|0|0);ea(h+(g*20|0)+12|0,0|0,4,0)}g=g+1|0}while((g|0)!=3)}}c=Xn(a,l,b,1)|0;if(c){ea(c+12|0,e|0,4,0);ea(c+8|0,d|0,4,0);ea(c+16|0,f|0,4,0);ea(c+4>>0|0,m|n&8|0,1,0);ea(a+52|0,0|0,4,0);g=da(a+236|0,4,0,0)|0|0;if(g){c=g+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);g=0;break}else{ug(g);g=0;break}}else g=0}else g=7}while(0);i=o;return g|0}function Yh(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;i=a+24|0;j=(da(i|0,4,0,0)|0)&2;k=a+145|0;ea(k>>0|0,1|0,1,0);h=a+16|0;f=da(h|0,4,0,0)|0|0;ea(a+62>>0|0,da((da(f+12|0,4,0,0)|0|0)+77>>0|0,1,0,0)|0|0|0,1,0);e=a+20|0;d=0;while(1){if((d|0)>=(da(e|0,4,0,0)|0|0)){d=f;f=6;break}if(!((d|0)==1?1:((da((da(f+(d<<4)+12|0,4,0,0)|0|0)+78|0,2,0,0)|0)&1)!=0)?(c=Yn(a,d,b)|0,(c|0)!=0):0){f=9;break}f=da(h|0,4,0,0)|0|0;d=d+1|0}if((f|0)==6)if(((da((da(d+28|0,4,0,0)|0|0)+78|0,2,0,0)|0)&1)==0?(g=Yn(a,1,b)|0,(g|0)!=0):0){pl(da((da(h|0,4,0,0)|0|0)+28|0,4,0,0)|0|0);c=g}else c=0;else if((f|0)==9)um(a,d);ea(k>>0|0,0|0,1,0);if(!(c|j))ea(i|0,(da(i|0,4,0,0)|0)&-3|0,4,0);return c|0}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,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;h=a+20|0;a:do if((da(h|0,4,0,0)|0|0)>0){k=(c|0)==0;f=a+16|0;g=0;a=0;do{e=(g|0)<2^g;d=da(f|0,4,0,0)|0|0;if(!(!k?(cd(c,da(d+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)){a=an((da(d+(e<<4)+12|0,4,0,0)|0|0)+8|0,b,l)|0;if(a){a=da(a+8|0,4,0,0)|0|0;if(a)break a}else a=0}g=g+1|0}while((g|0)<(da(h|0,4,0,0)|0|0))}else a=0;while(0);i=m;return a|0}function _h(a){a=a|0;if((cd(a,12936)|0)!=0?(cd(a,12944)|0)!=0:0)a=(cd(a,12952)|0)==0&1;else a=1;return a|0}function $h(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=da(a+20|0,4,0,0)|0|0;a:do if((f|0)>0){c=da(a+16|0,4,0,0)|0|0;d=(b|0)==0;e=0;while(1){a=da(c+(e<<4)+4|0,4,0,0)|0|0;if(a){if(d)break a;if(!(cd(b,da(c+(e<<4)|0,4,0,0)|0|0)|0))break a}e=e+1|0;if((e|0)>=(f|0)){a=0;break}}}else a=0;while(0);return a|0}function ai(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:do if(!a)b=0;else{b=b+-1|0;b:do if((da(a|0,4,0,0)|0|0)>>>0>4e3){d=a;c=b;while(1){b=d+8|0;e=da(b|0,4,0,0)|0|0;if(!e){g=a;break}b=(c>>>0)%(e>>>0)|0;c=d+12+(((c>>>0)/(e>>>0)|0)<<2)|0;a=da(c|0,4,0,0)|0|0;if(!a){a=pg(512,0)|0;if(!a){b=a;i=21;break}ew(a|0,0,512)|0;ea(a|0,e|0,4,0);ea(c|0,a|0,4,0)}if((da(a|0,4,0,0)|0|0)>>>0>4e3){d=a;c=b}else break b}if((i|0)==21){ea(c|0,b|0,4,0);b=7;break a}h=c+1|0;c=(c>>>0)%125|0;f=d+12|0;a=da(d+(c<<2)+12|0,4,0,0)|0|0;if(!a){a=da(d+4|0,4,0,0)|0|0;if(a>>>0<124){b=d;i=20}}else{do{if((a|0)==(h|0)){b=0;break a}c=c+1|0;c=c>>>0>124?0:c;a=da(d+(c<<2)+12|0,4,0,0)|0|0}while((a|0)!=0);a=da(d+4|0,4,0,0)|0|0;if(a>>>0<=61){b=d;i=20}}if((i|0)==20){ea(d+4|0,a+1|0,4,0);ea(b+(c<<2)+12|0,h|0,4,0);b=0;break a}e=pg(500,0)|0;if(!e){b=7;break a}jw(e|0,f|0,500)|0;ew(f|0,0,500)|0;ea(b|0,(((da(g|0,4,0,0)|0|0)+124|0)>>>0)/125|0|0,4,0);a=0;b=ai(d,h)|0;do{c=da(e+(a<<2)|0,4,0,0)|0|0;if(c)b=ai(d,c)|0|b;a=a+1|0}while((a|0)!=125);Vc(e);break a}while(0);a=a+12+(b>>>3)|0;ea(a>>0|0,da(a>>0|0,1,0,1)|0|0|1<<(b&7)|0,1,0);b=0}while(0);return b|0}function bi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:do if(a){d=b+-1|0;while(1){b=da(a+8|0,4,0,0)|0|0;if(!b)break;a=da(a+12+(((d>>>0)/(b>>>0)|0)<<2)|0,4,0,0)|0|0;if(!a)break a;else d=(d>>>0)%(b>>>0)|0}if((da(a|0,4,0,0)|0|0)>>>0<4001){a=a+12+(d>>>3)|0;ea(a>>0|0,(da(a>>0|0,1,0,1)|0|0)&(1<<(d&7)^255)|0,1,0);break}h=a+12|0;jw(c|0,h|0,500)|0;ew(h|0,0,500)|0;h=a+4|0;ea(h|0,0|0,4,0);e=d+1|0;g=0;do{f=c+(g<<2)|0;b=da(f|0,4,0,0)|0|0;if(!((b|0)==0|(b|0)==(e|0))){d=((b+-1|0)>>>0)%125|0;ea(h|0,(da(h|0,4,0,0)|0|0)+1|0,4,0);b=a+(d<<2)+12|0;if(da(b|0,4,0,0)|0)do{b=d+1|0;d=b>>>0>124?0:b;b=a+(d<<2)+12|0}while((da(b|0,4,0,0)|0|0)!=0);ea(b|0,da(f|0,4,0,0)|0|0,4,0)}g=g+1|0}while((g|0)!=125)}while(0);return}function ci(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((a|0)!=0?(c=b+-1|0,c>>>0<(da(a|0,4,0,0)|0|0)>>>0):0){while(1){b=da(a+8|0,4,0,0)|0|0;if(!b)break;a=da(a+12+(((c>>>0)/(b>>>0)|0)<<2)|0,4,0,0)|0|0;if(!a){c=0;break a}else c=(c>>>0)%(b>>>0)|0}if((da(a|0,4,0,0)|0|0)>>>0<4001){c=((da(a+12+(c>>>3)>>0|0,1,0,1)|0|0)&1<<(c&7)|0)!=0&1;break}d=c+1|0;c=(c>>>0)%125|0;b=da(a+(c<<2)+12|0,4,0,0)|0|0;if(b)while(1){if((b|0)==(d|0)){c=1;break a}c=((c+1|0)>>>0)%125|0;b=da(a+(c<<2)+12|0,4,0,0)|0|0;if(!b){c=0;break}}else c=0}else c=0;while(0);return c|0}function di(a){a=a|0;var b=0,c=0;if(a){if(da(a+8|0,4,0,0)|0){b=a+12|0;c=0;do{di(da(b+(c<<2)|0,4,0,0)|0|0);c=c+1|0}while((c|0)!=125)}Vc(a)}return}function ei(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>=2?(c=da(11824+(((da(9328+(da(a>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)<<2^b^(da(9328+(da(a+(b+-1)>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)*3|0)%127|0)>>0|0,1,0,0)|0|0,c<<24>>24!=0):0){c=c&255;while(1){c=c+-1|0;if((da(12080+c>>0|0,1,0,1)|0|0|0)==(b|0)?(Ec(11264+(da(12208+(c<<1)|0,2,0,1)|0|0)|0,a,b)|0)==0:0)break;c=da(11952+c>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){c=27;break a}else c=c&255}c=da(12456+c>>0|0,1,0,1)|0|0}else c=27;while(0);return c|0}function fi(a){a=a|0;var b=0,c=0,d=0;ea(2174*4|0,a|0,4,0);if((da(2184*4|0,4,0,0)|0|0)>>>0<a>>>0)ea(2184*4|0,a|0,4,0);c=da(2264*4|0,4,0,0)|0|0;if((c|0)==0|(da(2235*4|0,4,0,0)|0|0)<(a|0)){b=pg(a,((a|0)<0)<<31>>31)|0;if((da(2186*4|0,4,0,0)|0|0)!=0&(b|0)!=0?(d=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0,d=(da(2170*4|0,4,0,0)|0|0)+d|0,ea(2170*4|0,d|0,4,0),d>>>0>(da(2180*4|0,4,0,0)|0|0)>>>0):0)ea(2180*4|0,d|0,4,0)}else{b=da(2263*4|0,4,0,0)|0|0;ea(2263*4|0,da(b|0,4,0,0)|0|0,4,0);ea(2264*4|0,c+-1|0,4,0);a=(da(2169*4|0,4,0,0)|0|0)+1|0;ea(2169*4|0,a|0,4,0);if(a>>>0>(da(2179*4|0,4,0,0)|0|0)>>>0)ea(2179*4|0,a|0,4,0)}return b|0}function gi(a){a=a|0;var b=0;do if(a){if((da(2234*4|0,4,0,0)|0|0)>>>0<=a>>>0&(da(2262*4|0,4,0,0)|0|0)>>>0>a>>>0){ea(a|0,da(2263*4|0,4,0,0)|0|0,4,0);ea(2263*4|0,a|0,4,0);ea(2264*4|0,(da(2264*4|0,4,0,0)|0|0)+1|0,4,0);ea(2169*4|0,(da(2169*4|0,4,0,0)|0|0)+-1|0,4,0);break}if(!(da(2186*4|0,4,0,0)|0)){bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}else{b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;ea(2170*4|0,(da(2170*4|0,4,0,0)|0|0)-b|0,4,0);ea(2166*4|0,(da(2166*4|0,4,0,0)|0|0)-b|0,4,0);ea(2175*4|0,(da(2175*4|0,4,0,0)|0|0)+-1|0,4,0);bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}}while(0);return}function hi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;d=da(a>>0|0,1,0,0)|0|0;a:do if(((d&255)+-48|0)>>>0>=10){f=d;d=a;while(1){e=d+1|0;if(!(f<<24>>24))break;f=da(e>>0|0,1,0,0)|0|0;d=e}f=d-a&1073741823;d=7-b|0;if((d|0)>0){e=0;while(1){if((da(11248+e>>0|0,1,0,1)|0|0|0)==(f|0)?(Ec(11216+(da(11240+e>>0|0,1,0,1)|0|0)|0,a,f)|0)==0:0){c=e;break}e=e+1|0;if((e|0)>=(d|0))break a}c=da(11256+c>>0|0,1,0,0)|0|0}}else{ea(e|0,0|0,4,0);Cn(a,e)|0;c=(da(e|0,4,0,0)|0)&255}while(0);i=g;return c|0}function ii(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=da(a>>0|0,1,0,0)|0|0;do if(c<<24>>24==48){d=da(a+1>>0|0,1,0,0)|0|0;if(!(d<<24>>24==88|d<<24>>24==120))if(!a){c=0;i=15;break}else{e=c;c=a;i=12;break}c=da(a+2>>0|0,1,0,0)|0|0;if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){e=48;c=a;i=12}else{e=2;while(1){d=e+1|0;if(c<<24>>24!=48)break;c=da(a+d>>0|0,1,0,0)|0|0;e=d}if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){f=a+e|0;g=0;c=0;d=e}else{g=0;f=0;d=e;while(1){g=hw(g|0,f|0,4)|0;h=C;f=c<<24>>24;g=(0-(f>>>6&1)&9)+f&15|g;d=d+1|0;f=a+d|0;c=da(f>>0|0,1,0,0)|0|0;if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){c=h;break}else f=h}}h=b;ea(h|0,g|0,4,0);ea(h+4|0,c|0,4,0);if(!(da(f>>0|0,1,0,0)|0))c=(d-e|0)<17;else c=0;c=c&1^1}}else{e=c;c=a;i=12}while(0);if((i|0)==12){while(1){d=c+1|0;if(!(e<<24>>24))break;e=da(d>>0|0,1,0,0)|0|0;c=d;i=12}c=c-a&1073741823;i=15}if((i|0)==15)c=Tl(a,b,c,1)|0;return c|0}function ji(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,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;z=i;i=i+1264|0;if((i|0)>=(j|0))ba();x=z;w=z+152|0;q=z+742|0;r=z+76|0;n=z+228|0;k=d&-256;o=d&16;v=d&8;p=d&4;h=d&1;s=d&2;if((p|0)!=0?(k|0)==524288|(k|0)==2048|(k|0)==16384:0)u=1;else u=0;t=da(12114*4|0,4,0,0)|0|0;if((t|0)!=(qb()|0)?(ea(12114*4|0,qb()|0|0,4,0),(Kc()|0)==0):0)ea(9064|0,0|0,1,0);l=c+0|0;m=l+44|0;do{ea(l|0,0|0,4,0);l=l+4|0}while((l|0)<(m|0));t=(k|0)==256;do if(t){a:do if((qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](b,x)|0)==0?(f=da(12178*4|0,4,0,0)|0|0,(f|0)!=0):0){k=da(x|0,4,0,0)|0|0;l=da(x+72|0,4,0,0)|0|0;while(1){if((da(f|0,4,0,0)|0|0)==(k|0)?(da(f+4|0,4,0,0)|0|0)==(l|0):0)break;f=da(f+32|0,4,0,0)|0|0;if(!f){y=18;break a}}k=f+28|0;f=da(k|0,4,0,0)|0|0;if(f){while(1){m=k;k=f+8|0;l=f;f=da(k|0,4,0,0)|0|0;if((da(l+4|0,4,0,0)|0|0)==(d|0)){k=m;break}if(!f){y=18;break a}}ea(k|0,f|0,4,0);n=da(l|0,4,0,0)|0|0;f=l}else y=18}else y=18;while(0);if((y|0)==18){f=Sc(12)|0;if(!f){f=7;break}else n=-1}ea(c+28|0,f|0,4,0);k=p<<4|s;f=(o|0)!=0;if((n|0)<0){p=f;o=f?k|131200:k;f=b;y=23}else{m=n;f=b;y=36}}else{if(!b){f=Zn(514,n)|0;if(!f)f=n;else break}else f=b;y=p<<4|s;o=(o|0)!=0;p=o;o=o?y|131200:y;y=23}while(0);b:do if((y|0)==23){if(!(d&526336)){k=(v|0)==0?0:384;n=0;m=0}else{if(!f)k=0;else{k=f;while(1)if(!(da(k>>0|0,1,0,0)|0))break;else k=k+1|0;k=k-f&1073741823}do k=k+-1|0;while((da(f+k>>0|0,1,0,0)|0|0)!=45);jw(q|0,f|0,k|0)|0;ea(q+k>>0|0,0|0,1,0);if(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](q,r)|0){f=1802;break}k=(da(r+12|0,4,0,0)|0)&511;n=da(r+20|0,4,0,0)|0|0;m=da(r+24|0,4,0,0)|0|0}l=_n(f,o,k)|0;do if((l|0)<0){if(!(p|((s|0)==0|(da(Gb()|0|0,4,0,0)|0|0)==21))?(g=_n(f,o&131200,k)|0,(g|0)>=0):0){d=d&-8|1;h=1;break}ea(x|0,31186|0,4,0);ea(x+4|0,10788|0,4,0);ad(14,14848,x);f=bo(14,47896,f,31186)|0;if(!f){f=0;break b}g=c+28|0;y=70;break b}else g=l;while(0);if(!(d&526336)){m=g;y=36}else{$b[(fa(da(47552+244|0,4,0,0)|0|0,63|0)|0)&63](g,n,m)|0;m=g;y=36}}while(0);c:do if((y|0)==36){if(e)ea(e|0,d|0,4,0);n=c+28|0;g=da(n|0,4,0,0)|0|0;if(g){ea(g|0,m|0,4,0);ea(g+4|0,d|0,4,0)}if(v)kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](f)|0;f=v<<2;f=(h|0)==0?f:f|2;f=t?f:f|128;f=u?f|8:f;v=f|d&64;ea(c+12|0,m|0,4,0);ea(c+4|0,a|0,4,0);ea(c+32|0,b|0,4,0);g=c+18|0;ea(g|0,v&255|0,2,0);if(eg((v&64|0)!=0?b:0,48496,1)|0)ea(g|0,da(g|0,2,0,1)|0|16|0,2,0);if(!(Zv(da(a+16|0,4,0,0)|0|0,1e4)|0))ea(g|0,da(g|0,2,0,1)|0|1|0,2,0);d:do if(!(f&128)){f=qc[(fa(da(da(a+20|0,4,0,0)|0|0,4,0,0)|0|0,127|0)|0)&127](b,c)|0;if((f|0)!=48504){if((f|0)!=47472){y=64;break}g=(fw(b|0)|0)+6|0;f=Sc(g)|0;if(f){ea(x|0,b|0,4,0);$c(g,f,48584,x)|0;ea(c+24|0,f|0,4,0);ea(c+20|0,0|0,4,0);f=47472;break}ea(c+24|0,0|0,4,0);ea(c+20|0,0|0,4,0);if((m|0)<=-1){g=n;f=7;y=70;break c}$n(c,m,30794);g=n;f=7;y=70;break c}do if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(c+12|0,4,0,0)|0|0,w)|0)){f=x;ea(f|0,0|0,4,0);ea(f+4|0,0|0,4,0);ea(x|0,da(w|0,4,0,0)|0|0,4,0);ea(x+4|0,da(w+72|0,4,0,0)|0|0,4,0);f=da(12178*4|0,4,0,0)|0|0;e:do if(!f)y=53;else{while(1){if(!(Yv(x,f,8)|0))break;f=da(f+32|0,4,0,0)|0|0;if(!f){y=53;break e}}x=f+16|0;ea(x|0,(da(x|0,4,0,0)|0|0)+1|0,4,0)}while(0);if((y|0)==53){g=Sc(40)|0;if(!g){f=7;g=c+20|0;break}l=g+0|0;m=l+40|0;do{ea(l|0,0|0,4,0);l=l+4|0}while((l|0)<(m|0));f=da(x+4|0,4,0,0)|0|0;y=g;ea(y|0,da(x|0,4,0,0)|0|0,4,0);ea(y+4|0,f|0,4,0);ea(g+16|0,1|0,4,0);ea(g+32|0,da(12178*4|0,4,0,0)|0|0,4,0);ea(g+36|0,0|0,4,0);f=da(12178*4|0,4,0,0)|0|0;if(f)ea(f+36|0,g|0,4,0);ea(12178*4|0,g|0,4,0);f=g}ea(c+8|0,f|0,4,0);f=48504;y=64;break d}else{f=da(Gb()|0|0,4,0,0)|0|0;g=c+20|0;ea(g|0,f|0,4,0);f=(f|0)==75?22:10}while(0);$n(c,m,30709);ea(g|0,0|0,4,0);g=n;y=70;break c}else{f=48376;y=64}while(0);if((y|0)==64)ea(c+20|0,0|0,4,0);ea(c|0,f|0,4,0);ao(c);f=0}while(0);if((y|0)==70)Vc(da(g|0,4,0,0)|0|0);i=z;return f|0}function ki(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if((kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](b)|0)==-1)if((da(Gb()|0|0,4,0,0)|0|0)==2)a=5898;else a=bo(2570,48032,b,31314)|0;else if(c&1){a=qc[(fa(da(47552+208|0,4,0,0)|0|0,127|0)|0)&127](b,d)|0;if((a|0)==14){a=0;break}else if(a)break;if(!(Fb(da(d|0,4,0,0)|0|0)|0))a=0;else a=bo(1290,48488,b,31329)|0;if(kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](da(d|0,4,0,0)|0|0)|0)bo(4106,47856,0,31331)|0}else a=0;while(0);i=e;return a|0}function li(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+80|0;if((i|0)>=(j|0))ba();e=f;if((c|0)==2)a=4;else if((c|0)==1)a=6;else a=0;a=(qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](b,a)|0)==0;ea(d|0,a&1|0,4,0);if((!((c|0)!=0|a^1)?(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](b,e)|0)==0:0)?(da(e+36|0,4,0,0)|0|0)==0:0)ea(d|0,0|0,4,0);i=f;return 0}function mi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;a=c+-1|0;ea(d+a>>0|0,0|0,1,0);do if((da(b>>0|0,1,0,0)|0|0)!=47)if(!(qc[(fa(da(47552+40|0,4,0,0)|0|0,127|0)|0)&127](d,a)|0)){ea(e|0,31416|0,4,0);ea(e+4|0,10788|0,4,0);ad(14,14848,e);a=bo(14,47904,b,31416)|0;break}else{a=fw(d|0)|0;ea(e|0,b|0,4,0);$c(c-a|0,d+a|0,48480,e)|0;a=0;break}else{ea(e|0,b|0,4,0);$c(c,d,10344,e)|0;a=0}while(0);i=f;return a|0}function ni(a,b){a=a|0;b=b|0;return Cb(b|0,258)|0}function oi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;a=Wa()|0;if(a){ea(d|0,a|0,4,0);$c(b,c,10344,d)|0}i=e;return}function pi(a,b,c){a=a|0;b=b|0;c=c|0;return _a(b|0,c|0)|0}function qi(a,b){a=a|0;b=b|0;Db(b|0)|0;return}function ri(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;ew(c|0,0,b|0)|0;ea(12114*4|0,qb()|0|0,4,0);a=_n(48464,0,0)|0;if((a|0)>=0){do if(($b[(fa(da(47552+100|0,4,0,0)|0|0,63|0)|0)&63](a,c,b)|0)>=0)break;while((da(Gb()|0|0,4,0,0)|0|0)==4);if(kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](a)|0)bo(4106,47856,0,31521)|0}else{Ob(d|0)|0;a=da(d|0,4,0,0)|0|0;ea(c>>0|0,a|0,1,0);ea(c+1>>0|0,a>>8|0,1,0);ea(c+2>>0|0,a>>16|0,1,0);ea(c+3>>0|0,a>>24|0,1,0);a=c+4|0;b=da(12114*4|0,4,0,0)|0|0;ea(a>>0|0,b|0,1,0);ea(a+1>>0|0,b>>8|0,1,0);ea(a+2>>0|0,b>>16|0,1,0);ea(a+3>>0|0,b>>24|0,1,0);b=8}i=e;return b|0}function si(a,b){a=a|0;b=b|0;a=(b+999999|0)/1e6|0;Lb(a|0)|0;return a*1e6|0}function ti(a,b){a=a|0;b=b|0;var c=0,d=0;a=i;i=i+16|0;if((i|0)>=(j|0))ba();d=a;c=d;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=vi(0,d)|0;ea(b|0,+((+((da(d|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(d+4|0,4,0,0)|0|0))/864.0e5),8,1);i=a;return c|0}function ui(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function vi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();a=c;if(!(Rb(a|0,0)|0)){e=da(a|0,4,0,0)|0|0;e=rw(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;e=iw(e|0,C|0,1045635584,49096)|0;d=(da(a+4|0,4,0,0)|0|0)/1e3|0;d=iw(e|0,C|0,d|0,((d|0)<0)<<31>>31|0)|0;a=b;ea(a|0,d|0,4,0);ea(a+4|0,C|0,4,0);a=0}else a=1;i=c;return a|0}function wi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(!b){a=0;do{b=da(47560+(a*12|0)|0,4,0,0)|0|0;if(b)ea(47556+(a*12|0)|0,b|0,4,0);a=a+1|0}while((a|0)!=25);b=0}else{a=0;while(1){if(!(Zv(b,da(47552+(a*12|0)|0,4,0,0)|0|0)|0)){d=a;break}a=a+1|0;if(a>>>0>=25){b=12;break a}}b=47560+(d*12|0)|0;a=da(b|0,4,0,0)|0|0;if(!a){a=da(47556+(d*12|0)|0,4,0,0)|0|0;ea(b|0,a|0,4,0)}ea(47556+(d*12|0)|0,((c|0)==0?a:c)|0,4,0);b=0}while(0);return b|0}function xi(a,b){a=a|0;b=b|0;var c=0;a=0;while(1){if(!(Zv(b,da(47552+(a*12|0)|0,4,0,0)|0|0)|0)){c=4;break}a=a+1|0;if(a>>>0>=25){a=0;break}}if((c|0)==4)a=da(47556+(a*12|0)|0,4,0,0)|0|0;return a|0}function yi(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!b)a=-1;else{c=0;while(1){a=c+1|0;if(!(Zv(b,da(47552+(c*12|0)|0,4,0,0)|0|0)|0)){a=c;break a}if((a|0)<24)c=a;else break}}while(0);while(1){a=a+1|0;if((a|0)>=25){a=0;break}if(da(47556+(a*12|0)|0,4,0,0)|0){d=6;break}}if((d|0)==6)a=da(47552+(a*12|0)|0,4,0,0)|0|0;return a|0}function zi(a,b){a=a|0;b=b|0;return 48504}function Ai(a,b){a=a|0;b=b|0;return 48376}function Bi(a,b){a=a|0;b=b|0;return 47472}function Ci(a){a=a|0;var b=0,c=0;b=da(a+4|0,4,0,0)|0|0;if(b)do{c=b;b=da(b|0,4,0,0)|0|0;Vc(c)}while((b|0)!=0);b=a+0|0;c=b+40|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));ea(a|0,14696|0,4,0);return 0}function Di(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;k=a+24|0;f=k;if(((da(f|0,4,0,0)|0|0)!=(d|0)?1:(da(f+4|0,4,0,0)|0|0)!=(e|0))|(d|0)==0&(e|0)==0){f=da(a+4|0,4,0,0)|0|0;if(!((f|0)==0|((e|0)<0|(e|0)==0&d>>>0<1020))){g=1020;h=0;do{g=iw(g|0,h|0,1020,0)|0;h=C;f=da(f|0,4,0,0)|0|0}while(!((f|0)==0|((h|0)>(e|0)|(h|0)==(e|0)&g>>>0>d>>>0)))}}else f=da(a+32|0,4,0,0)|0|0;i=qw(d|0,e|0,1020,0)|0;j=c;g=b;while(1){b=1020-i|0;h=(j|0)<(b|0)?j:b;jw(g|0,f+i+4|0,h|0)|0;j=j-b|0;if((j|0)<=-1)break;f=da(f|0,4,0,0)|0|0;if(!((f|0)!=0&(j|0)>0))break;else{i=0;g=g+h|0}}e=iw(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0;c=k;ea(c|0,e|0,4,0);ea(c+4|0,C|0,4,0);ea(a+32|0,f|0,4,0);return 0}function Ei(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:do if((c|0)>0){h=a+8|0;i=a+16|0;g=a+4|0;d=h;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;while(1){a=da(i|0,4,0,0)|0|0;d=qw(e|0,d|0,1020,0)|0;f=1020-d|0;f=(c|0)<(f|0)?c:f;if(!d){e=Sc(1024)|0;if(!e){d=3082;break a}ea(e|0,0|0,4,0);if(!a){ea(g|0,e|0,4,0);a=e}else{ea(a|0,e|0,4,0);a=e}ea(i|0,a|0,4,0)}jw(a+d+4|0,b|0,f|0)|0;c=c-f|0;e=h;e=iw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,f|0,((f|0)<0)<<31>>31|0)|0;d=C;a=h;ea(a|0,e|0,4,0);ea(a+4|0,d|0,4,0);if((c|0)<=0){d=0;break}else b=b+f|0}}else d=0;while(0);return d|0}function Fi(a,b,c){a=a|0;b=b|0;c=c|0;b=da(a+4|0,4,0,0)|0|0;if(b)do{c=b;b=da(b|0,4,0,0)|0|0;Vc(c)}while((b|0)!=0);c=a+0|0;b=c+40|0;do{ea(c|0,0|0,4,0);c=c+4|0}while((c|0)<(b|0));ea(a|0,14696|0,4,0);return 0}function Gi(a,b){a=a|0;b=b|0;return 0}function Hi(a,b){a=a|0;b=b|0;var c=0;c=a+8|0;a=da(c+4|0,4,0,0)|0|0;ea(b|0,da(c|0,4,0,0)|0|0,4,0);ea(b+4|0,a|0,4,0);return 0}function Ii(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));if(da(2187*4|0,4,0,0)|0){ea(3146*4|0,8|0,4,0);ea(3159*4|0,8|0,4,0)}ea(3149*4|0,10|0,4,0);ea(3153*4|0,1|0,4,0);return 0}function Ji(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));return}function Ki(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=pg(48,0)|0;if(d){e=d+0|0;f=e+48|0;do{ea(e>>0|0,0|0,1,0);e=e+1|0}while((e|0)<(f|0));ea(d|0,12584|0,4,0);ea(d+4|0,a|0,4,0);ea(d+8|0,b|0,4,0);c=(c|0)!=0;ea(d+12|0,c&1|0,4,0);co(d);if(c){ea(d+16|0,10|0,4,0);c=da(3148*4|0,4,0,0)|0|0;ea(3148*4|0,c+10|0,4,0);ea(3149*4|0,(da(3147*4|0,4,0,0)|0|0)+10+(-10-c)|0,4,0)}if(!(da(d+40|0,4,0,0)|0)){Ri(d);d=0}}else d=0;return d|0}function Li(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(da(a+12|0,4,0,0)|0){c=da(a|0,4,0,0)|0|0;d=a+20|0;f=c+4|0;e=(da(f|0,4,0,0)|0|0)+(b-(da(d|0,4,0,0)|0|0))|0;ea(f|0,e|0,4,0);ea(c+12|0,e+10-(da(c+8|0,4,0,0)|0|0)|0,4,0);ea(d|0,b|0,4,0);ea(a+24|0,((b*9|0)>>>0)/10|0|0,4,0);eo(c)}return}function Mi(a){a=a|0;return da(a+36|0,4,0,0)|0|0}function Ni(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da((da(a+44|0,4,0,0)|0|0)+(((b>>>0)%((da(a+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0,4,0,0)|0|0;a:do if(d){while(1){if((da(d+8|0,4,0,0)|0|0)==(b|0))break;d=da(d+16|0,4,0,0)|0|0;if(!d){e=6;break a}}if(!(da(d+12>>0|0,1,0,0)|0))fo(d)}else e=6;while(0);if((e|0)==6)if(!c)d=0;else d=go(a,b,c)|0;return d|0}function Oi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(a|0,4,0,0)|0|0;if((c|0)==0?(da(e+16|0,4,0,0)|0|0)>>>0<=(da(e+4|0,4,0,0)|0|0)>>>0:0){c=e+20|0;d=da(c|0,4,0,0)|0|0;if(!d)ea(e+24|0,b|0,4,0);else{ea(d+28|0,b|0,4,0);ea(b+24|0,d|0,4,0)}ea(c|0,b|0,4,0);d=a+32|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);ea(b+12>>0|0,0|0,1,0)}else{e=da(b+20|0,4,0,0)|0|0;c=(da(e+44|0,4,0,0)|0|0)+((((da(b+8|0,4,0,0)|0|0)>>>0)%((da(e+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0;while(1){a=da(c|0,4,0,0)|0|0;d=a+16|0;if((a|0)==(b|0))break;else c=d}ea(c|0,da(d|0,4,0,0)|0|0,4,0);d=e+36|0;ea(d|0,(da(d|0,4,0,0)|0|0)+-1|0,4,0);ho(b)}return}function Pi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=da(a+40|0,4,0,0)|0|0;g=a+44|0;c=(da(g|0,4,0,0)|0|0)+(((c>>>0)%(f>>>0)|0)<<2)|0;while(1){e=da(c|0,4,0,0)|0|0;if((e|0)==(b|0))break;else c=e+16|0}e=b+16|0;ea(c|0,da(e|0,4,0,0)|0|0,4,0);ea(b+8|0,d|0,4,0);c=(da(g|0,4,0,0)|0|0)+(((d>>>0)%(f>>>0)|0)<<2)|0;ea(e|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,b|0,4,0);c=a+28|0;if((da(c|0,4,0,0)|0|0)>>>0<d>>>0)ea(c|0,d|0,4,0);return}function Qi(a,b){a=a|0;b=b|0;var c=0;c=a+28|0;if((da(c|0,4,0,0)|0|0)>>>0>=b>>>0){io(a,b);ea(c|0,b+-1|0,4,0)}return}function Ri(a){a=a|0;var b=0,c=0,d=0,e=0;b=da(a|0,4,0,0)|0|0;io(a,0);e=b+4|0;d=(da(e|0,4,0,0)|0|0)-(da(a+20|0,4,0,0)|0|0)|0;ea(e|0,d|0,4,0);e=b+8|0;c=(da(e|0,4,0,0)|0|0)-(da(a+16|0,4,0,0)|0|0)|0;ea(e|0,c|0,4,0);ea(b+12|0,d+10-c|0,4,0);eo(b);Vc(da(a+44|0,4,0,0)|0|0);Vc(a);return}function Si(a){a=a|0;var b=0,c=0;if(da(a+12|0,4,0,0)|0){c=da(a|0,4,0,0)|0|0;b=c+4|0;a=da(b|0,4,0,0)|0|0;ea(b|0,0|0,4,0);eo(c);ea(b|0,a|0,4,0)}return}function Ti(a){a=a|0;var b=0,c=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();c=d;b=a+7&-8;a=Vv(b+8|0)|0;if(!a){ea(c|0,b|0,4,0);ad(7,16568,c)}else{c=a;ea(c|0,b|0,4,0);ea(c+4|0,((b|0)<0)<<31>>31|0,4,0);a=a+8|0}i=d;return a|0}function Ui(a){a=a|0;Wv(a+-8|0);return}function Vi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;d=a+-8|0;c=Xv(d,b+8|0)|0;if(!c){if(!a)d=0;else d=da(d|0,4,0,0)|0|0;ea(e|0,d|0,4,0);ea(e+4|0,b|0,4,0);ad(7,16528,e)}else{d=c;ea(d|0,b|0,4,0);ea(d+4|0,((b|0)<0)<<31>>31|0,4,0);c=c+8|0}i=f;return c|0}function Wi(a){a=a|0;if(!a)a=0;else a=da(a+-8|0,4,0,0)|0|0;return a|0}function Xi(a){a=a|0;return a+7&-8|0}function Yi(a){a=a|0;return 0}function Zi(a){a=a|0;return}function _i(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;e=da(c|0,4,0,0)|0|0;do if((-1431655766>>>((da(e+8|0,2,0,1)|0)&31)&1|0)==0?(d=Rg(e,1)|0,(d|0)!=0):0){e=Sg(da(c|0,4,0,0)|0|0,1)|0;if((b|0)!=1){k=Rg(da(c+4|0,4,0,0)|0|0,1)|0;if(!k)break;b=da(k>>0|0,1,0,0)|0|0;if(b<<24>>24){c=0;f=k;while(1){g=f+1|0;if((b&255)>191)while(1){b=da(g>>0|0,1,0,0)|0|0;if((b&-64)<<24>>24==-128){j=g;g=f+2|0;f=j}else{f=g;break}}else{b=da(g>>0|0,1,0,0)|0|0;f=g}g=c+1|0;if(!(b<<24>>24)){b=g;break}else c=g}if((c|0)>-1){i=rw(b|0,((b|0)<0)<<31>>31|0,5,0)|0;i=jo(a,i,C)|0;if(!i)break;h=i+(b<<2)|0;if(da(k>>0|0,1,0,0)|0){b=k;c=0;while(1){ea(i+(c<<2)|0,b|0,4,0);g=b+1|0;if((da(b>>0|0,1,0,1)|0|0)>191){f=b;while(1)if(((da(g>>0|0,1,0,0)|0)&-64)<<24>>24==-128){j=g;g=f+2|0;f=j}else break}ea(h+c>>0|0,g-b|0,1,0);f=c+1|0;if(!(da(g>>0|0,1,0,0)|0))break;else{b=g;c=f}}if((c|0)>-1){j=f;l=17}}}}}else{h=20360;i=20368;j=1;k=0;l=17}if((l|0)==17){b=da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;a:do if((b&1|0)!=0&(e|0)>0){c=(j|0)>0;do{if(c)f=0;else{l=24;break a}while(1){g=da(h+f>>0|0,1,0,1)|0|0;if((e|0)>=(g|0)?(Yv(d,da(i+(f<<2)|0,4,0,0)|0|0,g)|0)==0:0)break;f=f+1|0;if((f|0)>=(j|0)){l=24;break a}}d=d+g|0;e=e-g|0}while((e|0)>0)}else l=24;while(0);b:do if((l|0)==24)if((b&2|0)!=0&(e|0)>0){c=(j|0)>0;do{if(c)f=0;else break b;while(1){g=da(h+f>>0|0,1,0,1)|0|0;if((e|0)>=(g|0)?(m=e-g|0,(Yv(d+m|0,da(i+(f<<2)|0,4,0,0)|0|0,g)|0)==0):0){e=m;break}f=f+1|0;if((f|0)>=(j|0))break b}}while((e|0)>0)}while(0);if(k)Vc(i)}Vg(a,d,e,1,-1)}while(0);return}function $i(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=((da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)!=0)<<31>>31;g=da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;a:do if(!(-1431655766>>>((da(d+8|0,2,0,1)|0|0)&31)&1)){if((b|0)>1){f=1;d=0;do{e=da(c+(f<<2)|0,4,0,0)|0|0;if(-1431655766>>>((da(e+8|0,2,0,1)|0|0)&31)&1)break a;e=((gm(da(c+(d<<2)|0,4,0,0)|0|0,e,g)|0)^h|0)>-1;d=e?f:d;f=f+1|0}while((f|0)<(b|0));d=da(c+(d<<2)|0,4,0,0)|0|0}Zg(da(a|0,4,0,0)|0|0,d)|0}while(0);return}function aj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(c|0,4,0,0)|0|0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,40)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){d=(da(b+8|0,2,0,0)|0|0)!=0;if(-1431655766>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0)&31)&1){if(!d)break;ea(a+24>>0|0,1|0,1,0);break}if(!d){ea(b+32|0,da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,4,0);Zg(b,e)|0;break}d=(da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)!=0;c=gm(b,e,da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0)|0;if(!(d&(c|0)<0)?!((c|0)>0&(d^1)):0){ea(a+24>>0|0,1|0,1,0);break}Zg(b,e)|0}while(0);return}function bj(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){c=b+8|0;if(!((da(c|0,2,0,0)|0|0)!=0?(Zg(da(a|0,4,0,0)|0|0,b)|0,((da(c|0,2,0,0)|0)&9312)!=0):0))d=7;if((d|0)==7?(da(b+24|0,4,0,0)|0|0)==0:0)break;Pg(b)}while(0);return}function cj(a,b,c){a=a|0;b=b|0;c=c|0;b=da(10064+((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;if((b|0)==4)b=20344;else if((b|0)==2)b=20336;else if((b|0)==3)b=20328;else if((b|0)==1)b=20320;else b=20352;Vg(a,b,-1,1,0);return}function dj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=da(c|0,4,0,0)|0|0;c=da(10064+((da(b+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;do if((c|0)==3){d=Rg(b,1)|0;if(d){b=da(d>>0|0,1,0,0)|0|0;if(!(b<<24>>24)){e=0;d=0}else{c=b;b=0;do{b=b+1|0;e=d+1|0;if((c&255)>191)while(1){c=da(e>>0|0,1,0,0)|0|0;if((c&-64)<<24>>24==-128){c=e;e=d+2|0;d=c}else{d=e;break}}else{c=da(e>>0|0,1,0,0)|0|0;d=e}}while(c<<24>>24!=0);e=b;d=((b|0)<0)<<31>>31}b=da(a|0,4,0,0)|0|0;c=b+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(b,e,d);break}}}else if((c|0)==2|(c|0)==1|(c|0)==4){e=Sg(b,1)|0;d=da(a|0,4,0,0)|0|0;b=((e|0)<0)<<31>>31;c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(d|0,e|0,4,0);ea(d+4|0,b|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(d,e,b);break}}else{c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(c);break}}while(0);return}function ej(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=da(c|0,4,0,0)|0|0;e=da(d+8|0,2,0,0)|0|0;f=c+4|0;b=da((da(f|0,4,0,0)|0|0)+8|0,2,0,0)|0|0;do if(!((-1431655766>>>(b&31)|-1431655766>>>(e&31))&1)){g=Sg(d,1)|0;i=Sg(da(f|0,4,0,0)|0|0,1)|0;c=da(c|0,4,0,0)|0|0;if(!((b|e)&15)){b=od(c)|0;c=0;h=od(da(f|0,4,0,0)|0|0)|0}else{b=Rg(c,1)|0;c=1;h=Rg(da(f|0,4,0,0)|0|0,1)|0}a:do if((i|0)>(g|0)){b=1;d=1}else{d=1;e=g;while(1){if(!(Yv(b,h,i)|0)){b=0;break a}d=d+1|0;f=(c|0)==0;do{e=e+-1|0;b=b+1|0;if(f){c=0;break}}while(((da(b>>0|0,1,0,0)|0)&-64)<<24>>24==-128);if((i|0)>(e|0)){b=1;break}}}while(0);e=da(a|0,4,0,0)|0|0;c=b?0:d;b=b?0:((d|0)<0)<<31>>31;d=e+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(e|0,c|0,4,0);ea(e+4|0,b|0,4,0);ea(d|0,4|0,2,0);break}else{Yg(e,c,b);break}}while(0);return}function fj(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=da(c+4|0,4,0,0)|0|0;do if(!(-1431655766>>>((da(d+8|0,2,0,1)|0|0)&31)&1)){k=(b|0)==3;if(k?(-1431655766>>>((da((da(c+8|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)&1|0)!=0:0)break;m=da((da(c|0,4,0,0)|0|0)+8|0,2,0,0)|0|0;g=Ug(d)|0;h=((g|0)<0)<<31>>31;m=(m&15)==0;e=da(c|0,4,0,0)|0|0;if(m){e=Sg(e,1)|0;f=od(da(c|0,4,0,0)|0|0)|0;if(!f)break;else l=e}else{f=Rg(e,1)|0;if(!f)break;if((g|0)<0?(i=da(f>>0|0,1,0,0)|0|0,i<<24>>24!=0):0){e=0;d=f;do{j=d+1|0;if((i&255)>191){b=d;d=j;while(1){i=da(d>>0|0,1,0,0)|0|0;if((i&-64)<<24>>24==-128){l=d;d=b+2|0;b=l}else break}}else{i=da(j>>0|0,1,0,0)|0|0;d=j}e=e+1|0}while(i<<24>>24!=0);l=e}else l=0}if(k){j=Ug(da(c+8|0,4,0,0)|0|0)|0;b=((j|0)<0)<<31>>31;k=(j|0)<0;d=cw(0,0,j|0,b|0)|0;d=k?d:j;b=k?C:b;j=j>>>31}else{b=da((da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0;d=b;b=((b|0)<0)<<31>>31;j=0}do if((g|0)<0){g=iw(l|0,((l|0)<0)<<31>>31|0,g|0,h|0)|0;h=C;if((h|0)<0){d=iw(d|0,b|0,g|0,h|0)|0;b=C;k=(b|0)<0;g=0;h=0;d=k?0:d;b=k?0:b}}else if((g|0)>0){g=iw(g|0,h|0,-1,-1)|0;h=C;break}else{k=((b|0)>0|(b|0)==0&d>>>0>0)<<31>>31;d=iw(k|0,((k|0)<0)<<31>>31|0,d|0,b|0)|0;b=C;break}while(0);if(!j){i=g;j=h}else{i=cw(g|0,h|0,d|0,b|0)|0;j=C;k=(j|0)<0;i=k?0:i;j=k?0:j;d=k?g:d;b=k?h:b}if(m){k=iw(d|0,b|0,i|0,j|0)|0;h=C;e=((l|0)<0)<<31>>31;if((h|0)>(e|0)|(h|0)==(e|0)&k>>>0>l>>>0){d=cw(l|0,e|0,i|0,j|0)|0;b=C;l=(b|0)<0;d=l?0:d;b=l?0:b}Ad(a,f+i|0,d,b,-1);break}e=da(f>>0|0,1,0,0)|0|0;if(((i|0)!=0|(j|0)!=0)&e<<24>>24!=0)do{h=f+1|0;if((e&255)>191){g=f;f=h;while(1){e=da(f>>0|0,1,0,0)|0|0;if((e&-64)<<24>>24==-128){l=f;f=g+2|0;g=l}else break}}else{e=da(h>>0|0,1,0,0)|0|0;f=h}i=iw(i|0,j|0,-1,-1)|0;j=C}while(((i|0)!=0|(j|0)!=0)&e<<24>>24!=0);if(e<<24>>24!=0&((d|0)!=0|(b|0)!=0)){i=b;b=f;do{g=b+1|0;if((e&255)>191)while(1){e=da(g>>0|0,1,0,0)|0|0;if((e&-64)<<24>>24==-128){l=g;g=b+2|0;b=l}else{b=g;break}}else{e=da(g>>0|0,1,0,0)|0|0;b=g}d=iw(d|0,i|0,-1,-1)|0;i=C}while(e<<24>>24!=0&((d|0)!=0|(i|0)!=0))}else b=f;l=b-f|0;Id(a,f,l,((l|0)<0)<<31>>31,-1,1)}while(0);return}function gj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+48|0;if((i|0)>=(j|0))ba();f=h;g=h+32|0;e=h+4|0;if((b|0)>0?(d=Rg(da(c|0,4,0,0)|0|0,1)|0,(d|0)!=0):0){ea(g|0,b+-1|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,c+4|0,4,0);ea(e+0|0,0|0,4,0);ea(e+4|0,0|0,4,0);ea(e+8|0,0|0,4,0);ea(e+12|0,0|0,4,0);ea(e+16|0,0|0,4,0);ea(e+20|0,1e9|0,4,0);ea(e+24>>0|0,1|0,1,0);ea(e+25>>0|0,0|0,1,0);ea(e|0,da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,4,0);ea(f|0,g|0,4,0);Dn(e,2,d,f);d=da(e+12|0,4,0,0)|0|0;Vg(a,sg(e)|0,d,1,75)}i=h;return}function hj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;b=Rg(da(c|0,4,0,0)|0|0,1)|0;ea(d|0,b|0,4,0);do if((b|0)!=0?(da(b>>0|0,1,0,0)|0|0)!=0:0){e=Ln(d)|0;b=da(a|0,4,0,0)|0|0;d=((e|0)<0)<<31>>31;c=b+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(b,e,d);break}}while(0);i=f;return}function ij(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=Sc(b<<2|1)|0;if(!g)Qd(a);else{if((b|0)>0){f=0;d=g;do{e=Ug(da(c+(f<<2)|0,4,0,0)|0|0)|0;h=C;e=h>>>0>0|(h|0)==0&e>>>0>1114111?65533:e&2097151;do if(e>>>0>=128){if(e>>>0<2048){ea(d>>0|0,e>>>6&31|192|0,1,0);ea(d+1>>0|0,e&63|128|0,1,0);d=d+2|0;break}if(e>>>0<65536){ea(d>>0|0,e>>>12&15|224|0,1,0);ea(d+1>>0|0,e>>>6&63|128|0,1,0);ea(d+2>>0|0,e&63|128|0,1,0);d=d+3|0;break}else{ea(d>>0|0,e>>>18|240|0,1,0);ea(d+1>>0|0,e>>>12&63|128|0,1,0);ea(d+2>>0|0,e>>>6&63|128|0,1,0);ea(d+3>>0|0,e&63|128|0,1,0);d=d+4|0;break}}else{ea(d>>0|0,e|0,1,0);d=d+1|0}while(0);f=f+1|0}while((f|0)!=(b|0))}else d=g;d=d-g|0;Id(a,g,d,((d|0)<0)<<31>>31,1,1)}return}function jj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0;b=da(c|0,4,0,0)|0|0;c=da(10064+((da(b+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;a:do if((c|0)==1){b=Ug(b)|0;e=C;do if((e|0)<0)if((b|0)==0&(e|0)==-2147483648){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20248,-1,1,-1)|0;break a}else{b=cw(0,0,b|0,e|0)|0;f=C;break}else f=e;while(0);c=da(a|0,4,0,0)|0|0;e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(c|0,b|0,4,0);ea(c+4|0,f|0,4,0);ea(e|0,4|0,2,0);break}else{Yg(c,b,f);break}}else if((c|0)==5){c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(c);break}}else{d=+Tg(b);if(d<0.0)d=-d;Xg(da(a|0,4,0,0)|0|0,d)}while(0);return}function kj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0,h=0,l=0,m=0;m=i;i=i+32|0;if((i|0)>=(j|0))ba();h=m+8|0;l=m;if((b|0)==2){b=da(c+4|0,4,0,0)|0|0;if(!(-1431655766>>>((da(b+8|0,2,0,1)|0)&31)&1)){g=Ug(b)|0;g=(g|0)>30?30:g;g=(g|0)<0?0:g;f=4}}else{g=0;f=4}a:do if((f|0)==4?(e=da(c|0,4,0,0)|0|0,(-1431655766>>>((da(e+8|0,2,0,1)|0)&31)&1|0)==0):0){d=+Tg(e);ea(l|0,+d,8,1);b=(g|0)==0;do if(b&d>=0.0&d<9223372036854775808.0){d=d+.5;d=+(~~d>>>0>>>0)+4294967296.0*+((+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0);ea(l|0,+d,8,1)}else{if(b&d<0.0&d>-9223372036854775808.0){d=.5-d;d=-(+(~~d>>>0>>>0)+4294967296.0*+((+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0));ea(l|0,+d,8,1);break}ea(h|0,g|0,4,0);b=h+4|0;ea(k|0,+d,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);b=Zc(20312,h)|0;if(!b){Qd(a);break a}else e=b;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;Sl(b,l,e-b&1073741823,1)|0;Vc(b);d=+(+da(l|0,8,1,0))}while(0);Xg(da(a|0,4,0,0)|0|0,d)}while(0);i=m;return}function lj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if((d|0)!=0?(e=iw(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=jo(a,e,C)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{f=da(d+c>>0|0,1,0,1)|0|0;ea(e+c>>0|0,((da(10368+f>>0|0,1,0,1)|0|0|223)^32)&f|0,1,0);c=c+1|0}while((c|0)!=(b|0))}Vg(a,e,b,1,1)}return}function mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if((d|0)!=0?(e=iw(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=jo(a,e,C)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{ea(e+c>>0|0,da(9328+(da(d+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0|0,1,0);c=c+1|0}while((c|0)!=(b|0))}Vg(a,e,b,1,1)}return}function nj(a,b,c){a=a|0;b=b|0;c=c|0;Vg(a,8632,-1,1,0);return}function oj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;b=od(da(c|0,4,0,0)|0|0)|0;f=Sg(da(c|0,4,0,0)|0|0,1)|0;g=hw(f|0,((f|0)<0)<<31>>31|0,1)|0;g=jo(a,g|1,C)|0;if(g){if((f|0)>0){d=f<<1;e=0;c=g;while(1){h=da(b>>0|0,1,0,1)|0|0;ea(c>>0|0,da(20288+(h>>>4)>>0|0,1,0,0)|0|0|0,1,0);ea(c+1>>0|0,da(20288+(h&15)>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0;if((e|0)==(f|0))break;else{b=b+1|0;c=c+2|0}}c=g+d|0}else c=g;ea(c>>0|0,0|0,1,0);Vg(a,g,f<<1,1,1)}return}function pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();b=f;bd(8,b);d=b;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((d|0)<0){e=cw(0,0,c|0,d&2147483647|0)|0;d=C;ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0)}else e=c;c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(c|0,e|0,4,0);ea(c+4|0,d|0,4,0);ea(b|0,4|0,2,0)}else Yg(c,e,d);i=f;return}function qj(a,b,c){a=a|0;b=b|0;c=c|0;c=Ug(da(c|0,4,0,0)|0|0)|0;c=(c|0)<1?1:c;b=jo(a,c,((c|0)<0)<<31>>31)|0;if(b){bd(c,b);Vg(a,b,c,0,1)}return}function rj(a,b,c){a=a|0;b=b|0;c=c|0;if(gm(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0)|0)Zg(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0;return}function sj(a,b,c){a=a|0;b=b|0;c=c|0;Vg(a,10768,-1,1,0);return}function tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=i;i=i+16|0;if((i|0)>=(j|0))ba();a=b;d=Ug(da(c|0,4,0,0)|0|0)|0;ea(a|0,Rg(da(c+4|0,4,0,0)|0|0,1)|0|0,4,0);ad(d,10344,a);i=b;return}function uj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=Rg(da(c|0,4,0,0)|0|0,1)|0;do if(b){d=Dc(b)|0;c=da(a|0,4,0,0)|0|0;b=((d|0)<0)<<31>>31;a=c+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(c|0,d|0,4,0);ea(c+4|0,b|0,4,0);ea(a|0,4|0,2,0);break}else{Yg(c,d,b);break}}while(0);return}function vj(a,b,c){a=a|0;b=b|0;c=c|0;b=Ug(da(c|0,4,0,0)|0|0)|0;if(b>>>0<4)b=da(8648+(b<<2)|0,4,0,0)|0|0;else b=0;Vg(a,b,-1,1,0);return}function wj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0,h=0,l=0,m=0,n=0;n=i;i=i+80|0;if((i|0)>=(j|0))ba();b=n+8|0;d=n;h=n+16|0;g=da(c|0,4,0,0)|0|0;f=da(10064+((da(g+8|0,2,0,1)|0)&31)>>0|0,1,0,1)|0|0;if((f|0)==1)Zg(da(a|0,4,0,0)|0|0,g)|0;else if((f|0)==4){g=od(g)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;d=hw(b|0,((b|0)<0)<<31>>31|0,1)|0;d=iw(d|0,C|0,4,0)|0;d=jo(a,d,C)|0;if(d){if((b|0)>0){f=0;do{h=g+f|0;c=f<<1;ea(d+(c+2)>>0|0,da(20288+((da(h>>0|0,1,0,1)|0|0)>>>4)>>0|0,1,0,0)|0|0|0,1,0);ea(d+(c+3)>>0|0,da(20288+((da(h>>0|0,1,0,1)|0)&15)>>0|0,1,0,0)|0|0|0,1,0);f=f+1|0}while((f|0)!=(b|0))}b=b<<1;ea(d+(b+2)>>0|0,39|0,1,0);ea(d+(b+3)>>0|0,0|0,1,0);ea(d>>0|0,88|0,1,0);ea(d+1>>0|0,39|0,1,0);Vg(a,d,-1,1,-1);Vc(d)}}else if((f|0)==3){m=Rg(g,1)|0;if(m){b=0;d=0;f=0;while(1){g=da(m+f>>0|0,1,0,0)|0|0;if(g<<24>>24==39){g=iw(b|0,d|0,1,0)|0;d=C}else if(!(g<<24>>24)){g=d;break}else g=b;b=g;f=f+1|0}l=iw(b|0,g|0,3,0)|0;l=iw(l|0,C|0,f|0,((f|0)<0)<<31>>31|0)|0;l=jo(a,l,C)|0;if(l){ea(l>>0|0,39|0,1,0);d=da(m>>0|0,1,0,0)|0|0;b=l+1|0;if(!(d<<24>>24))f=2;else{h=m;f=2;g=0;c=1;do{ea(b>>0|0,d|0,1,0);if((da(h>>0|0,1,0,0)|0|0)==39){ea(l+f>>0|0,39|0,1,0);c=c+2|0}else c=f;g=g+1|0;h=m+g|0;d=da(h>>0|0,1,0,0)|0|0;f=c+1|0;b=l+c|0}while(d<<24>>24!=0)}ea(b>>0|0,39|0,1,0);ea(l+f>>0|0,0|0,1,0);Vg(a,l,f,1,1)}}}else if((f|0)==2){e=+Tg(g);ea(k|0,+e,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(50,h,20272,b)|0;Sl(h,d,20,1)|0;if(e!=+(+da(d|0,8,1,0))){ea(k|0,+e,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(50,h,20280,b)|0}Vg(a,h,-1,1,-1)}else Vg(a,20304,4,1,0);i=n;return}function xj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;d=(da(a+32|0,4,0,0)|0|0)+32|0;b=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;c=a+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(a|0,b|0,4,0);ea(a+4|0,d|0,4,0);ea(c|0,4|0,2,0)}else Yg(a,b,d);return}function yj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;c=da((da(a+32|0,4,0,0)|0|0)+80|0,4,0,0)|0|0;b=((c|0)<0)<<31>>31;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,c|0,4,0);ea(a+4|0,b|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,c,b);return}function zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;c=da((da(a+32|0,4,0,0)|0|0)+84|0,4,0,0)|0|0;b=((c|0)<0)<<31>>31;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,c|0,4,0);ea(a+4|0,b|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,c,b);return}function Aj(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;r=Rg(da(c|0,4,0,0)|0|0,1)|0;a:do if((r|0)!=0?(s=Sg(da(c|0,4,0,0)|0|0,1)|0,e=c+4|0,q=Rg(da(e|0,4,0,0)|0|0,1)|0,(q|0)!=0):0){if(!(da(q>>0|0,1,0,0)|0)){Zg(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0;break}o=Sg(da(e|0,4,0,0)|0|0,1)|0;e=c+8|0;n=Rg(da(e|0,4,0,0)|0|0,1)|0;if((n|0)!=0?(p=Sg(da(e|0,4,0,0)|0|0,1)|0,f=s+1|0,g=((f|0)<0)<<31>>31,d=jo(a,f,g)|0,(d|0)!=0):0){j=s-o|0;b:do if((j|0)>=0){k=p-o|0;l=((k|0)<0)<<31>>31;m=o+-1|0;c=0;i=0;while(1){e=r+c|0;b=da(e>>0|0,1,0,0)|0|0;if(b<<24>>24==(da(q>>0|0,1,0,0)|0|0)?(Yv(e,q,o)|0)==0:0){b=da(a|0,4,0,0)|0|0;h=da(b+32|0,4,0,0)|0|0;f=iw(f|0,g|0,k|0,l|0)|0;g=C;e=iw(f|0,g|0,-1,-1)|0;u=C;h=da(h+88|0,4,0,0)|0|0;t=((h|0)<0)<<31>>31;if((u|0)>(t|0)|(u|0)==(t|0)&e>>>0>h>>>0){e=13;break}h=Wc(d,f)|0;if(!h){e=15;break}jw(h+i|0,n|0,p|0)|0;e=m+c|0;b=i+p|0;d=h}else{ea(d+i>>0|0,b|0,1,0);e=c;b=i+1|0}c=e+1|0;if((e|0)<(j|0))i=b;else break b}if((e|0)==13){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(b,10096,-1,1,0)|0;Vc(d);break a}else if((e|0)==15){Qd(a);Vc(d);break a}}else{c=0;b=0}while(0);k=s-c|0;jw(d+b|0,r+c|0,k|0)|0;k=b+k|0;ea(d+k>>0|0,0|0,1,0);Vg(a,d,k,1,1)}}while(0);return}function Bj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;b=Ug(da(c|0,4,0,0)|0|0)|0;e=C;c=da(d+88|0,4,0,0)|0|0;d=((c|0)<0)<<31>>31;if((e|0)>(d|0)|(e|0)==(d|0)&b>>>0>c>>>0){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0}else _g(da(a|0,4,0,0)|0|0,b);return}function Cj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;d=Rg(da(c|0,4,0,0)|0|0,1)|0;e=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;ea(f|0,0|0,4,0);if((b|0)==2)b=Rg(da(c+4|0,4,0,0)|0|0,1)|0;else b=0;if((d|0)!=0?(Se(e,d,b,f)|0)!=0:0){b=da(f|0,4,0,0)|0|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,b,-1,1,-1)|0;Vc(da(f|0,4,0,0)|0|0)}i=g;return}function Dj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0.0,i=0,j=0,k=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))d=kh(a,32)|0;else d=da(b+16|0,4,0,0)|0|0;a=Ge(da(c|0,4,0,0)|0|0)|0;do if((d|0)!=0&(a|0)!=5){b=d+16|0;e=b;e=iw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,1,0)|0;ea(b|0,e|0,4,0);ea(b+4|0,C|0,4,0);b=da(c|0,4,0,0)|0|0;if((a|0)!=1){h=+Tg(b);ea(d|0,+(h+ +(+da(d|0,8,1,0))),8,1);ea(d+25>>0|0,1|0,1,0);break}e=Ug(b)|0;f=C;ea(d|0,+(+(+da(d|0,8,1,0))+(+(e>>>0)+4294967296.0*+(f|0))),8,1);g=d+24|0;if(!((da(g>>0|0,1,0,0)|0|(da(d+25>>0|0,1,0,0)|0))<<24>>24)){d=d+8|0;a=d;c=da(a|0,4,0,0)|0|0;a=da(a+4|0,4,0,0)|0|0;if((f|0)>-1|(f|0)==-1&e>>>0>4294967295){b=cw(-1,2147483647,c|0,a|0)|0;i=C;if(((a|0)>0|(a|0)==0&c>>>0>0)&((i|0)<(f|0)|(i|0)==(f|0)&b>>>0<e>>>0))b=12;else b=11}else if((a|0)<0?(i=cw(1,-2147483648,c|0,a|0)|0,k=C,b=iw(e|0,f|0,1,0)|0,j=C,(k|0)>(j|0)|(k|0)==(j|0)&i>>>0>b>>>0):0)b=12;else b=11;if((b|0)==11){a=iw(c|0,a|0,e|0,f|0)|0;b=d;ea(b|0,a|0,4,0);ea(b+4|0,C|0,4,0);break}else if((b|0)==12){ea(g>>0|0,1|0,1,0);break}}}while(0);return}function Ej(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if((b|0)!=0?(c=b+16|0,d=da(c+4|0,4,0,0)|0|0,(d|0)>0|(d|0)==0&(da(c|0,4,0,0)|0|0)>>>0>0):0){if(da(b+24>>0|0,1,0,0)|0){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20248,-1,1,-1)|0;break}if(da(b+25>>0|0,1,0,0)|0){Xg(da(a|0,4,0,0)|0|0,+(+da(b|0,8,1,0)));break}d=b+8|0;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;b=da(a|0,4,0,0)|0|0;a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(b|0,c|0,4,0);ea(b+4|0,d|0,4,0);ea(a|0,4|0,2,0);break}else{Yg(b,c,d);break}}while(0);return}function Fj(a){a=a|0;var b=0,c=0.0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if(!b)c=0.0;else c=+(+da(b|0,8,1,0));Xg(da(a|0,4,0,0)|0|0,c);return}function Gj(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if((b|0)!=0?(d=b+16|0,c=da(d|0,4,0,0)|0|0,d=da(d+4|0,4,0,0)|0|0,(d|0)>0|(d|0)==0&c>>>0>0):0)Xg(da(a|0,4,0,0)|0|0,+(+da(b|0,8,1,0))/(+(c>>>0)+4294967296.0*+(d|0)));return}function Hj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da(a+8|0,4,0,0)|0|0;if(!((da(d+8|0,2,0,0)|0)&8192))d=kh(a,8)|0;else d=da(d+16|0,4,0,0)|0|0;if(!b){if(d)e=7}else if((d|0)!=0?(1431655765>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)&1|0)!=0:0)e=7;if((e|0)==7){a=d;a=iw(da(a|0,4,0,0)|0|0,da(a+4|0,4,0,0)|0|0,1,0)|0;ea(d|0,a|0,4,0);ea(d+4|0,C|0,4,0)}return}function Ij(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if(!b){c=0;d=0}else{d=b;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0}b=da(a|0,4,0,0)|0|0;a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(b|0,c|0,4,0);ea(b+4|0,d|0,4,0);ea(a|0,4|0,2,0)}else Yg(b,c,d);return}function Jj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!(-1431655766>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0)&31)&1)){d=da(a+8|0,4,0,0)|0|0;if(!((da(d+8|0,2,0,0)|0)&8192))e=kh(a,28)|0;else e=da(d+16|0,4,0,0)|0|0;if(e){a=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=e+24|0;d=(da(f>>0|0,1,0,0)|0|0)==0;ea(f>>0|0,2|0,1,0);ea(e+20|0,da(a+88|0,4,0,0)|0|0,4,0);do if(!d){if((b|0)==2){b=c+4|0;d=Rg(da(b|0,4,0,0)|0|0,1)|0;b=Sg(da(b|0,4,0,0)|0|0,1)|0;if(!b)break}else{b=1;d=20240}Rk(e,d,b)}while(0);d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if(d)Rk(e,d,b)}}return}function Kj(a){a=a|0;var b=0,c=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){c=da(b+25>>0|0,1,0,0)|0|0;if(c<<24>>24==2){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0;break}else if(c<<24>>24==1){Qd(a);break}else{Vg(a,sg(b)|0,-1,1,1);break}}while(0);return}function Lj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;h=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;f=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=Sg(da(c|0,4,0,0)|0|0,1)|0;a:do if((k|0)<=(da(h+120|0,4,0,0)|0|0)){do if((b|0)==3){c=Rg(da(c+8|0,4,0,0)|0|0,1)|0;ea(e|0,c|0,4,0);if(!c)break a;if((Mn(c,-1)|0)==1){c=Ln(e)|0;break}else{ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20192,-1,1,-1)|0;break a}}else c=0;while(0);if((f|0)!=0&(d|0)!=0){b=Fh(d,f,da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,c)|0;d=da(a|0,4,0,0)|0|0;e=((b|0)<0)<<31>>31;c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(d|0,b|0,4,0);ea(d+4|0,e|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(d,b,e);break}}}else{ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20152,-1,1,-1)|0}while(0);i=g;return}function Mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;if((i|0)>=(j|0))ba();m=n;g=n+16|0;l=Rg(da(c|0,4,0,0)|0|0,1)|0;h=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;a:do if((l|0)!=0?(da(l>>0|0,1,0,0)|0|0)!=0:0){b=0;c=l;b:while(1){e=b;d=c;while(1){d=d+e|0;f=Bn(d,g)|0;e=da(g|0,4,0,0)|0|0;if((e|0)==151)e=f;else if((e|0)==22|(e|0)==125)break b;else{c=d;b=f;break}}if(!(da(c>>0|0,1,0,0)|0))break a}ea(m|0,c-l|0,4,0);ea(m+4|0,l|0,4,0);ea(m+8|0,h|0,4,0);ea(m+12|0,c+b|0,4,0);Vg(a,th(k,19464,m)|0,-1,1,75)}while(0);i=n;return}function Nj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;k=p+16|0;n=Rg(da(c|0,4,0,0)|0|0,1)|0;l=Rg(da(c+4|0,4,0,0)|0|0,1)|0;m=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;a:do if((n|0)!=0?(da(n>>0|0,1,0,0)|0|0)!=0:0){h=3;b=0;c=n;while(1){e=b;d=c;do{d=d+e|0;e=Bn(d,k)|0;f=da(k|0,4,0,0)|0|0}while((f|0)==151);g=e;e=(f|0)==122|(f|0)==107?0:h+1|0;if((e|0)==2)if((f|0)==5|(f|0)==46|(f|0)==137)break;else c=2;else c=e;if(!(da(d>>0|0,1,0,0)|0))break a;else{h=c;b=g;c=d}}ea(o|0,c-n|0,4,0);ea(o+4|0,n|0,4,0);ea(o+8|0,l|0,4,0);ea(o+12|0,c+b|0,4,0);Vg(a,th(m,19464,o)|0,-1,1,75)}while(0);i=p;return}function Oj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;m=p+16|0;n=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;l=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=Rg(da(c+8|0,4,0,0)|0|0,1)|0;if(!((d|0)==0|(l|0)==0)){a:do if(!(da(d>>0|0,1,0,0)|0))b=0;else{e=d;b=0;do{c=Bn(e,m)|0;if((da(m|0,4,0,0)|0|0)==105){g=e;while(1){e=g+c|0;f=Bn(e,m)|0;if((da(m|0,4,0,0)|0|0)==151){c=f;g=e}else break}if(!e)break a;h=iw(f|0,((f|0)<0)<<31>>31|0,1,0)|0;h=lh(n,h,C)|0;if(!h)break a;jw(h|0,e|0,f|0)|0;ea(h+f>>0|0,0|0,1,0);ko(h);if(!(cd(l,h)|0)){ea(o|0,((b|0)!=0?b:10360)|0,4,0);ea(o+4|0,e-d|0,4,0);ea(o+8|0,d|0,4,0);ea(o+12|0,k|0,4,0);q=th(n,19440,o)|0;lg(n,b);d=g+(f+c)|0;b=q}lg(n,h);c=f}e=e+c|0}while((da(e>>0|0,1,0,0)|0|0)!=0)}while(0);ea(o|0,((b|0)!=0?b:10360)|0,4,0);ea(o+4|0,d|0,4,0);Vg(a,th(n,19456,o)|0,-1,1,75);lg(n,b)}i=p;return}function Pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+48|0;if((i|0)>=(j|0))ba();d=e;if(!(lo(a,b,c,d)|0)){mo(d);b=d;Xg(da(a|0,4,0,0)|0|0,(+((da(b|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(b+4|0,4,0,0)|0|0))/864.0e5)}i=e;return}function Qj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+60|0;if(!(lo(a,b,c,e)|0)){no(e);c=da(e+12|0,4,0,0)|0|0;b=da(e+16|0,4,0,0)|0|0;ea(d|0,da(e+8|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);$c(100,f,20136,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Rj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+60|0;if(!(lo(a,b,c,e)|0)){oo(e);c=da(e+24|0,4,0,0)|0|0;b=~~+(+da(e+32|0,8,1,0));ea(d|0,da(e+20|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);$c(100,f,20120,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Sj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;g=i;i=i+176|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+72|0;if(!(lo(a,b,c,e)|0)){no(e);oo(e);l=da(e+12|0,4,0,0)|0|0;k=da(e+16|0,4,0,0)|0|0;h=da(e+20|0,4,0,0)|0|0;c=da(e+24|0,4,0,0)|0|0;b=~~+(+da(e+32|0,8,1,0));ea(d|0,da(e+8|0,4,0,0)|0|0,4,0);ea(d+4|0,l|0,4,0);ea(d+8|0,k|0,4,0);ea(d+12|0,h|0,4,0);ea(d+16|0,c|0,4,0);ea(d+20|0,b|0,4,0);$c(100,f,20088,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=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.0,B=0;z=i;i=i+208|0;if((i|0)>=(j|0))ba();v=z+96|0;w=z+48|0;y=z+104|0;x=z;a:do if(((b|0)!=0?(u=Rg(da(c|0,4,0,0)|0|0,1)|0,(u|0)!=0):0)?(lo(a,b+-1|0,c+4|0,w)|0)==0:0){g=da(a|0,4,0,0)|0|0;f=da(g+32|0,4,0,0)|0|0;c=1;b=0;e=0;b:while(1){d=da(u+e>>0|0,1,0,0)|0|0;c:do if(d<<24>>24==37){d=e+1|0;switch(da(u+d>>0|0,1,0,0)|0|0){case 87:case 83:case 77:case 109:case 72:case 100:{c=iw(c|0,b|0,1,0)|0;b=C;break c}case 102:{c=iw(c|0,b|0,8,0)|0;b=C;break c}case 74:case 115:{c=iw(c|0,b|0,50,0)|0;b=C;break c}case 37:case 119:break c;case 106:{c=iw(c|0,b|0,3,0)|0;b=C;break c}case 89:{c=iw(c|0,b|0,8,0)|0;b=C;break c}default:break a}}else if(!(d<<24>>24))break b;else d=e;while(0);c=iw(c|0,b|0,1,0)|0;b=C;e=d+1|0}if(!(b>>>0<0|(b|0)==0&c>>>0<100)){t=da(f+88|0,4,0,0)|0|0;s=((t|0)<0)<<31>>31;if(b>>>0>s>>>0|(b|0)==(s|0)&c>>>0>t>>>0){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(g,10096,-1,1,0)|0;break}b=dw(0,c|0,32)|0;b=lh(f,b,C)|0;if(!b){Qd(a);break}else t=b}else t=y;mo(w);no(w);oo(w);h=w+16|0;l=w+32|0;m=w+20|0;n=x+42|0;o=x+12|0;p=x+16|0;q=w+12|0;r=w+24|0;s=w+8|0;f=0;b=0;d:while(1){g=da(u+f>>0|0,1,0,0)|0|0;e:do if(g<<24>>24==37){f=f+1|0;c=u+f|0;do switch(da(c>>0|0,1,0,0)|0|0){case 109:{ea(v|0,da(q|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 77:{ea(v|0,da(r|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 102:{A=+(+da(l|0,8,1,0));e=t+b|0;ea(k|0,+(A>59.999?59.999:A),8,1);ea(v|0,da(k|0,4,0,0)|0|0,4,0);ea(v+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(7,e,19896,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 100:{ea(v|0,da(h|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 83:{ea(v|0,~~+(+da(l|0,8,1,0))|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 119:{c=w;c=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,1296e5,0)|0;c=pw(c|0,C|0,864e5,0)|0;c=qw(c|0,C|0,7,0)|0;ea(t+b>>0|0,c+48|0,1,0);b=b+1|0;break e}case 89:{e=t+b|0;ea(v|0,da(s|0,4,0,0)|0|0,4,0);$c(5,e,19928,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 106:case 87:{g=x+0|0;e=w+0|0;d=g+48|0;do{ea(g|0,da(e|0,4,0,0)|0|0,4,0);g=g+4|0;e=e+4|0}while((g|0)<(d|0));ea(n>>0|0,0|0,1,0);ea(o|0,1|0,4,0);ea(p|0,1|0,4,0);mo(x);g=w;d=x;B=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,432e5,0)|0;e=C;d=cw(g|0,e|0,B|0,d|0)|0;d=pw(d|0,C|0,864e5,0)|0;if((da(c>>0|0,1,0,0)|0|0)==87){c=pw(g|0,e|0,864e5,0)|0;c=qw(c|0,C|0,7,0)|0;ea(v|0,(d+7-c|0)/7|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}else{ea(v|0,d+1|0,4,0);$c(4,t+b|0,19904,v)|0;b=b+3|0;break e}}case 72:{ea(v|0,da(m|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 74:{e=t+b|0;c=w;ea(k|0,+((+((da(c|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(c+4|0,4,0,0)|0|0))/864.0e5),8,1);ea(v|0,da(k|0,4,0,0)|0|0,4,0);ea(v+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(20,e,19912,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 115:{e=t+b|0;d=w;d=pw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,1e3,0)|0;d=iw(d|0,C|0,-413362496,-50)|0;c=v;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);$c(30,e,19920,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}default:{ea(t+b>>0|0,37|0,1,0);b=b+1|0;break e}}while(0)}else if(!(g<<24>>24))break d;else{ea(t+b>>0|0,g|0,1,0);b=b+1|0}while(0);f=f+1|0}ea(t+b>>0|0,0|0,1,0);Vg(a,t,-1,1,(t|0)==(y|0)?-1:75)}while(0);i=z;return}function Uj(a,b,c){a=a|0;b=b|0;c=c|0;Rj(a,0,0);return}function Vj(a,b,c){a=a|0;b=b|0;c=c|0;Sj(a,0,0);return}function Wj(a,b,c){a=a|0;b=b|0;c=c|0;Qj(a,0,0);return}function Xj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Ug(da(c|0,4,0,0)|0|0)|0;g=f+1&-2;d=Ug(da(c+4|0,4,0,0)|0|0)|0;e=(g<<3)+56|0;c=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;b=lh(c,e,((e|0)<0)<<31>>31)|0;if(!b)Qd(a);else{ew(b|0,0,e|0)|0;ea(b+52|0,c|0,4,0);ea(b|0,0|0,4,0);ea(b+8|0,f|0,4,0);ea(b+12|0,d|0,4,0);c=b+56|0;ea(b+24|0,c|0,4,0);ea(b+20|0,c+(g<<2)|0,4,0);Vg(a,b,56,0,20)}return}function Yj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=od(da(c|0,4,0,0)|0|0)|0;e=Ug(da(c+4|0,4,0,0)|0|0)|0;if(!(da(f|0,4,0,0)|0)){a=f+8|0;if((da(a|0,4,0,0)|0|0)>0){b=da(f+20|0,4,0,0)|0|0;c=0;do{ea(b+(c<<2)|0,1|0,4,0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}}else{if((e|0)>0){a=da(f+20|0,4,0,0)|0|0;c=0;do{b=a+(c<<2)|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);c=c+1|0}while((c|0)!=(e|0))}a=f+8|0;if((e|0)<(da(a|0,4,0,0)|0|0)){b=da(f+24|0,4,0,0)|0|0;d=da(f+20|0,4,0,0)|0|0;c=e;do{e=b+(c<<2)|0;ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);ea(d+(c<<2)|0,1|0,4,0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}}ea(f|0,(da(f|0,4,0,0)|0|0)+1|0,4,0);return}function Zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;f=od(da(c|0,4,0,0)|0|0)|0;g=f+12|0;c=((da(g|0,4,0,0)|0|0)*25|0)+25|0;h=pg(c,((c|0)<0)<<31>>31)|0;if(!h)Qd(a);else{ew(h|0,0,c|0)|0;c=k;ea(c|0,da(f|0,4,0,0)|0|0,4,0);ea(c+4|0,0|0,4,0);$c(24,h,28696,k)|0;c=h;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;if((da(g|0,4,0,0)|0|0)>0){d=f+24|0;e=0;b=h+(c-h&1073741823)|0;while(1){m=(da((da(d|0,4,0,0)|0|0)+(e<<2)|0,4,0,0)|0|0)+1|0;c=da(f|0,4,0,0)|0|0;n=iw(m|0,0,-1,-1)|0;c=iw(n|0,C|0,c|0,0)|0;m=sw(c|0,C|0,m|0,0)|0;c=k;ea(c|0,m|0,4,0);ea(c+4|0,C|0,4,0);$c(24,b,28704,k)|0;if(!b)c=0;else{c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-b&1073741823}e=e+1|0;if((e|0)>=(da(g|0,4,0,0)|0|0))break;else b=b+c|0}}Vg(a,h,-1,1,1)}i=l;return}function _j(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;l=i;i=i+144|0;if((i|0)>=(j|0))ba();h=l;k=l+8|0;f=Rg(da(c|0,4,0,0)|0|0,1)|0;g=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=(f|0)==0?10360:f;e=da(g+20|0,4,0,0)|0|0;a:do if((e|0)>0){b=da(g+16|0,4,0,0)|0|0;c=0;do{d=b+(c<<4)|0;if((da(b+(c<<4)+4|0,4,0,0)|0|0)!=0?(cd(da(d|0,4,0,0)|0|0,f)|0)==0:0)break a;c=c+1|0}while((c|0)<(e|0))}else{c=0;d=0}while(0);do if((c|0)<(e|0)){if((c|0)<2){ea(h|0,f|0,4,0);$c(128,k,29256,h)|0;m=16;break}if(!(da(g+63>>0|0,1,0,0)|0)){$c(128,k,29288,h)|0;m=16;break}c=d+4|0;b=da(c|0,4,0,0)|0|0;if((da(b+8>>0|0,1,0,0)|0|0)==0?(da(b+16|0,4,0,0)|0|0)==0:0){Ll(b);ea(c|0,0|0,4,0);ea(d+12|0,0|0,4,0);Dg(g);break}ea(h|0,f|0,4,0);$c(128,k,29336,h)|0;m=16}else{ea(h|0,f|0,4,0);$c(128,k,29232,h)|0;m=16}while(0);if((m|0)==16){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,k,-1,1,-1)|0}i=l;return}function $j(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=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;w=i;i=i+32|0;if((i|0)>=(j|0))ba();s=w;b=w+20|0;f=w+16|0;g=w+12|0;v=w+8|0;h=w+4|0;u=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;ea(b|0,0|0,4,0);ea(f|0,0|0,4,0);ea(v|0,0|0,4,0);r=Rg(da(c|0,4,0,0)|0|0,1)|0;n=Rg(da(c+4|0,4,0,0)|0|0,1)|0;r=(r|0)==0?10360:r;n=(n|0)==0?10360:n;q=u+20|0;d=da(q|0,4,0,0)|0|0;e=da(u+116|0,4,0,0)|0|0;a:do if((d|0)<(e+2|0)){if(!(da(u+63>>0|0,1,0,0)|0)){d=th(u,29456,s)|0;ea(v|0,d|0,4,0);b=0;t=42;break}o=u+16|0;e=da(o|0,4,0,0)|0|0;b:do if((d|0)>0){c=0;while(1){if(!(cd(da(e+(c<<4)|0,4,0,0)|0|0,n)|0))break;c=c+1|0;if((c|0)>=(d|0))break b}ea(s|0,n|0,4,0);d=th(u,29504,s)|0;ea(v|0,d|0,4,0);b=0;t=42;break a}while(0);if((e|0)!=(u+456|0)){e=qo(u,e,(d<<4)+16|0,0)|0;if(!e)break;else m=e}else{e=lh(u,48,0)|0;if(!e)break;m=da(o|0,4,0,0)|0|0;ea(e+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(e+4|0,da(m+4|0,4,0,0)|0|0,4,0);ea(e+8|0,da(m+8|0,4,0,0)|0|0,4,0);ea(e+12|0,da(m+12|0,4,0,0)|0|0,4,0);ea(e+16|0,da(m+16|0,4,0,0)|0|0,4,0);ea(e+20|0,da(m+20|0,4,0,0)|0|0,4,0);ea(e+24|0,da(m+24|0,4,0,0)|0|0,4,0);ea(e+28|0,da(m+28|0,4,0,0)|0|0,4,0);m=e}ea(o|0,m|0,4,0);k=da(q|0,4,0,0)|0|0;l=m+(k<<4)|0;ea(l+0|0,0|0,4,0);ea(l+4|0,0|0,4,0);ea(l+8|0,0|0,4,0);ea(l+12|0,0|0,4,0);ea(g|0,da(u+48|0,4,0,0)|0|0,4,0);e=Vn(da((da(u|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,r,g,h,b,f)|0;if((e|0)==7)ea(u+65>>0|0,1|0,1,0);else if(!e){e=da(g|0,4,0,0)|0|256;ea(g|0,e|0,4,0);f=da(b|0,4,0,0)|0|0;g=m+(k<<4)+4|0;e=ym(da(h|0,4,0,0)|0|0,f,u,g,0,e)|0;Vc(f);ea(q|0,(da(q|0,4,0,0)|0|0)+1|0,4,0);if((e|0)==19){ea(v|0,th(u,29536,s)|0|0,4,0);e=1}else if(!e){e=Wn(u,da(g|0,4,0,0)|0|0)|0;ea(m+(k<<4)+12|0,e|0,4,0);if(e)if((da(e+76>>0|0,1,0,0)|0|0)!=0?(da(e+77>>0|0,1,0,0)|0|0)!=(da(u+62>>0|0,1,0,0)|0|0):0){ea(v|0,th(u,13232,s)|0|0,4,0);e=1}else e=0;else e=7;f=da(g|0,4,0,0)|0|0;c=da(f+4|0,4,0,0)|0|0;ea(c+4|0,da(f|0,4,0,0)|0|0,4,0);c=da(c|0,4,0,0)|0|0;d=da(u+66>>0|0,1,0,0)|0|0;do if(!(da(c+12>>0|0,1,0,0)|0)){b=da(c+208|0,4,0,0)|0|0;if((b|0)!=0?(da(b+43>>0|0,1,0,0)|0|0)==2:0)break;ea(c+4>>0|0,d|0,1,0)}while(0);c=da((da(o|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;if(!c)c=0;else{h=da(c+4|0,4,0,0)|0|0;ea(h+4|0,da(c|0,4,0,0)|0|0,4,0);c=(da(h+22|0,2,0,1)|0|0)>>>2&1}ro(f,c)|0;so(da(g|0,4,0,0)|0|0,(da(u+24|0,4,0,0)|0)&28|3)}ea(m+(k<<4)+8>>0|0,3|0,1,0);b=jh(u,n)|0;ea(l|0,b|0,4,0);b=(e|0)==0&(b|0)==0?7:e;if(!b){c=da(q|0,4,0,0)|0|0;if((c|0)>0){d=da(o|0,4,0,0)|0|0;e=0;do{b=da(d+(e<<4)+4|0,4,0,0)|0|0;if(b)ea((da(b+4|0,4,0,0)|0|0)+4|0,da(b|0,4,0,0)|0|0,4,0);e=e+1|0}while((e|0)!=(c|0))}b=Yh(u,v)|0;if(!b)break}d=(da(q|0,4,0,0)|0|0)+-1|0;c=da((da(o|0,4,0,0)|0|0)+(d<<4)+4|0,4,0,0)|0|0;if(c){Ll(c);m=da(o|0,4,0,0)|0|0;ea(m+(d<<4)+4|0,0|0,4,0);ea(m+(d<<4)+12|0,0|0,4,0)}Dg(u);ea(q|0,d|0,4,0);if((b|0)==7|(b|0)==3082){ea(u+65>>0|0,1|0,1,0);lg(u,da(v|0,4,0,0)|0|0);d=th(u,15776,s)|0;ea(v|0,d|0,4,0);t=42;break}d=da(v|0,4,0,0)|0|0;if(d){t=43;break}ea(s|0,r|0,4,0);d=th(u,29568,s)|0;ea(v|0,d|0,4,0);t=42;break}m=da(f|0,4,0,0)|0|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,m,-1,1,-1)|0;Vc(m)}else{ea(s|0,e|0,4,0);d=th(u,29416,s)|0;ea(v|0,d|0,4,0);b=0;t=42}while(0);if((t|0)==42)if(!d){p=b;t=44}else t=43;if((t|0)==43){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,d,-1,1,-1)|0;lg(u,da(v|0,4,0,0)|0|0);p=b;t=44}if((t|0)==44?(p|0)!=0:0)Od(a,p);i=w;return}function ak(a){a=a|0;if(a){hk(a,0)|0;Vc(da(a+24|0,4,0,0)|0|0);to(a)}return 0}function bk(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;k=a+12|0;f=c&131071;j=b;h=e;i=0;a:while(1){while(1){e=bb(da(k|0,4,0,0)|0|0,d|0,0)|0;if(!((e|0)==(d|0)&(((e|0)<0)<<31>>31|0)==(h|0))){d=4;break a}g=$b[(fa(da(47552+100|0,4,0,0)|0|0,63|0)|0)&63](da(k|0,4,0,0)|0|0,j,f)|0;if((f|0)==(g|0)){e=i;d=13;break a}if((g|0)>=0){e=g;break}e=da(Gb()|0|0,4,0,0)|0|0;if((e|0)!=4){f=g;d=10;break a}}if((e|0)<=0){f=0;e=i;d=13;break}g=iw(e|0,((e|0)<0)<<31>>31|0,d|0,h|0)|0;f=f-e|0;j=j+e|0;h=C;d=g;i=e+i|0}do if((d|0)==4)if((e|0)==-1){ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);e=-1;break}else{ea(a+20|0,0|0,4,0);e=-1;break}else if((d|0)==10){ea(a+20|0,e|0,4,0);e=0;d=13}while(0);if((d|0)==13)e=e+f|0;if((e|0)!=(c|0))if((e|0)<0)e=266;else{ea(a+20|0,0|0,4,0);ew(b+e|0,0,c-e|0)|0;e=522}else e=0;return e|0}function ck(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;a:do if((c|0)>0){g=a+12|0;h=a+20|0;f=c;while(1){c=uo(da(g|0,4,0,0)|0|0,d,e,b,f,h)|0;if((c|0)<=0)break;f=f-c|0;d=iw(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0;if((f|0)<=0){c=0;break a}else{b=b+c|0;e=C}}if((c|0)<0?(da(h|0,4,0,0)|0|0)!=28:0){c=778;break}ea(a+20|0,0|0,4,0);c=13}else c=0;while(0);return c|0}function dk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da(a+40|0,4,0,0)|0|0;if((d|0)>0){e=((d|0)<0)<<31>>31;c=iw(b|0,c|0,-1,-1)|0;c=iw(c|0,C|0,d|0,e|0)|0;b=C;d=qw(c|0,b|0,d|0,e|0)|0;d=cw(c|0,b|0,d|0,C|0)|0}else d=b;c=da(a+12|0,4,0,0)|0|0;while(1){b=qc[(fa(da(47552+76|0,4,0,0)|0|0,127|0)|0)&127](c,d)|0;if((b|0)>=0){d=6;break}b=Gb()|0;if((da(b|0,4,0,0)|0|0)!=4){d=8;break}}if((d|0)==6)if(!b)b=0;else{b=Gb()|0;d=8}if((d|0)==8){ea(a+20|0,da(b|0,4,0,0)|0|0,4,0);b=bo(1546,47928,da(a+32|0,4,0,0)|0|0,29004)|0}return b|0}function ek(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;if(!(Fb(da(a+12|0,4,0,0)|0|0)|0)){e=a+18|0;if(!((da(e|0,2,0,0)|0)&8))b=0;else{b=qc[(fa(da(47552+208|0,4,0,0)|0|0,127|0)|0)&127](da(a+32|0,4,0,0)|0|0,d)|0;c=da(d|0,4,0,0)|0|0;if((b|0)==0&(c|0)>-1){Fb(c|0)|0;$n(a,da(d|0,4,0,0)|0|0,28974);b=0}else b=(b|0)==14?0:b;ea(e|0,(da(e|0,2,0,1)|0|0)&65527|0,2,0)}}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);b=bo(1034,48360,da(a+32|0,4,0,0)|0|0,28960)|0}i=f;return b|0}function fk(a,b){a=a|0;b=b|0;var c=0,d=0;d=i;i=i+80|0;if((i|0)>=(j|0))ba();c=d;if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(a+12|0,4,0,0)|0|0,c)|0)){c=da(c+36|0,4,0,0)|0|0;a=(c|0)==1;ea(b|0,(a?0:c)|0,4,0);ea(b+4|0,(a?0:((c|0)<0)<<31>>31)|0,4,0);c=0}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=1802}i=d;return c|0}function gk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=da(a+24|0,4,0,0)|0|0;e=a+16|0;a:do if(!(da(e>>0|0,1,0,0)|0)){c=qc[(fa(da(47552+220|0,4,0,0)|0|0,127|0)|0)&127](d,511)|0;if((c|0)>=0){ea(e>>0|0,b|0,1,0);break}d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 13:case 37:case 4:case 16:case 110:case 11:case 17:{c=5;break a}case 1:{c=3;break}default:c=3850}ea(a+20|0,d|0,4,0)}else{ea(e>>0|0,b|0,1,0);Xa(d|0,0)|0;c=0}while(0);return c|0}function hk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=da(a+24|0,4,0,0)|0|0;e=a+16|0;a:do if((da(e>>0|0,1,0,1)|0|0|0)==(b|0))c=0;else{if((b|0)==1){ea(e>>0|0,1|0,1,0);c=0;break}do if((kc[(fa(da(47552+232|0,4,0,0)|0|0,127|0)|0)&127](d)|0)<0){c=Gb()|0;b=da(c|0,4,0,0)|0|0;if((b|0)==20){if((kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](d)|0)>=0)break;b=da(c|0,4,0,0)|0|0}d=(b|0)!=2;c=d?2058:0;if(!d)break a;ea(a+20|0,b|0,4,0);break a}while(0);ea(e>>0|0,0|0,1,0);c=0}while(0);return c|0}function ik(a,b){a=a|0;b=b|0;if((da(a+16>>0|0,1,0,1)|0|0)>1)a=1;else a=(qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](da(a+24|0,4,0,0)|0|0,0)|0)==0&1;ea(b|0,a|0,4,0);return 0}function jk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+80|0;if((i|0)>=(j|0))ba();e=l;a:do switch(b|0){case 4:{ea(c|0,da(a+20|0,4,0,0)|0|0,4,0);d=0;break}case 20:{ea(c|0,wo(a)|0|0,4,0);d=0;break}case 12:{ea(e|0,da((da(a+4|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,4,0);ea(c|0,Zc(10344,e)|0|0,4,0);d=0;break}case 10:{vo(a,4,c);d=0;break}case 6:{ea(a+40|0,da(c|0,4,0,0)|0|0,4,0);d=0;break}case 24:{d=0;break}case 5:{b=c;c=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;d=a+40|0;if((da(d|0,4,0,0)|0|0)>0){k=a+12|0;if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(k|0,4,0,0)|0|0,e)|0)){d=da(d|0,4,0,0)|0|0;g=((d|0)<0)<<31>>31;c=iw(c|0,b|0,-1,-1)|0;c=iw(c|0,C|0,d|0,g|0)|0;h=C;g=qw(c|0,h|0,d|0,g|0)|0;g=cw(c|0,h|0,g|0,C|0)|0;h=C;c=da(e+36|0,4,0,0)|0|0;d=((c|0)<0)<<31>>31;do if((h|0)>(d|0)|(h|0)==(d|0)&g>>>0>c>>>0){f=da(e+40|0,4,0,0)|0|0;b=c+-1+(f<<1)|0;b=b+~((b|0)%(f|0)|0)|0;c=((b|0)<0)<<31>>31;d=a+20|0;if((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0){e=((f|0)<0)<<31>>31;do{a=(uo(da(k|0,4,0,0)|0|0,b,c,10360,1,d)|0)==1;b=iw(b|0,c|0,f|0,e|0)|0;c=C;if(!a){d=778;break a}}while((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0);b=qw(g|0,h|0,f|0,e|0)|0;if((b|0)==0&(C|0)==0)break}b=iw(g|0,h|0,-1,-1)|0;if((uo(da(k|0,4,0,0)|0|0,b,C,10360,1,d)|0)!=1){d=778;break a}}while(0);d=0}else d=1802}else d=0;break}case 16:{d=a+4|0;b=Sc(da((da(d|0,4,0,0)|0|0)+8|0,4,0,0)|0|0)|0;if(!b)d=0;else{Zn(da((da(d|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,b)|0;ea(c|0,b|0,4,0);d=0}break}case 13:{vo(a,16,c);d=0;break}case 1:{ea(c|0,da(a+16>>0|0,1,0,1)|0|0,4,0);d=0;break}default:d=12}while(0);i=l;return d|0}function kk(a){a=a|0;return 4096}function lk(a){a=a|0;return ((da(a+18|0,2,0,0)|0)&16)<<8|0}function mk(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;i=da(a+36|0,4,0,0)|0|0;f=da(i|0,4,0,0)|0|0;j=(1<<c+b)-(1<<b)|0;a:do if(!(d&1)){g=da(f+32|0,4,0,0)|0|0;f=(g|0)==0;if(d&4){if(f)d=0;else{d=0;f=g;do{if(j&(da(f+12|0,2,0,1)|0|0)){e=5;break a}d=da(f+10|0,2,0,0)|0|d;f=da(f+4|0,4,0,0)|0|0}while((f|0)!=0)}if((j&(d&65535)|0)==0?(h=xo(a,0,b+120|0,c)|0,(h|0)!=0):0){e=h;break}e=i+10|0;ea(e|0,da(e|0,2,0,1)|0|0|j|0,2,0);e=0;break}if(!f){e=j&65535;d=g;do{if((da(d+12|0,2,0,1)|0|0)&e){e=5;break a}if((da(d+10|0,2,0,1)|0|0)&e){e=5;break a}d=da(d+4|0,4,0,0)|0|0}while((d|0)!=0)}e=xo(a,1,b+120|0,c)|0;if(!e){e=i+12|0;ea(e|0,da(e|0,2,0,1)|0|0|j|0,2,0);e=0}}else{f=da(f+32|0,4,0,0)|0|0;if(!f)d=0;else{d=0;do{if((f|0)!=(i|0))d=da(f+10|0,2,0,0)|0|d;f=da(f+4|0,4,0,0)|0|0}while((f|0)!=0)}if((d&65535&j|0)==0?(e=xo(a,2,b+120|0,c)|0,(e|0)!=0):0)break;e=(j|-65536)^65535;d=i+12|0;ea(d|0,(da(d|0,2,0,1)|0|0)&e|0,2,0);d=i+10|0;ea(d|0,(da(d|0,2,0,1)|0|0)&e|0,2,0);e=0}while(0);return e|0}function nk(a){a=a|0;return}function ok(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=a+36|0;f=da(e|0,4,0,0)|0|0;if(f){g=da(f|0,4,0,0)|0|0;c=g+32|0;while(1){d=da(c|0,4,0,0)|0|0;if((d|0)==(f|0))break;else c=d+4|0}ea(c|0,da(f+4|0,4,0,0)|0|0,4,0);Vc(f);ea(e|0,0|0,4,0);d=g+28|0;c=(da(d|0,4,0,0)|0|0)+-1|0;ea(d|0,c|0,4,0);if(!c){if((b|0)!=0?(da(g+12|0,4,0,0)|0|0)>-1:0)kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](da(g+8|0,4,0,0)|0|0)|0;yo(a)}}return 0}function pk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ea(e|0,0|0,4,0);return 0}function qk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function rk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();e=d;ea(e|0,c|0,4,0);b=pb(a|0,b|0,e|0)|0;i=d;return b|0}function sk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+528|0;if((i|0)>=(j|0))ba();d=g;e=g+8|0;ea(d|0,a|0,4,0);$c(512,e,10344,d)|0;a=fw(e|0)|0;a:do if((a|0)>1)while(1){c=a+-1|0;if((da(e+a>>0|0,1,0,0)|0|0)==47)break a;if((c|0)>1)a=c;else{a=c;break}}while(0);if((a|0)>0){ea(e+a>>0|0,0|0,1,0);a=_n(e,0,0)|0;ea(b|0,a|0,4,0);if((a|0)>-1)a=0;else f=7}else{ea(b|0,-1|0,4,0);f=7}if((f|0)==7){ea(d|0,28919|0,4,0);ea(d+4|0,10788|0,4,0);ad(14,14848,d);a=bo(14,47896,e,28919)|0}i=g;return a|0}function tk(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Jb()|0))a=Pb(a|0,b|0,c|0)|0;else a=0;return a|0}function uk(){return vb(30)|0}function vk(a){a=a|0;to(a);return 0}function wk(a,b){a=a|0;b=b|0;return 0}function xk(a,b){a=a|0;b=b|0;return 0}function yk(a,b){a=a|0;b=b|0;ea(b|0,0|0,4,0);return 0}function zk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;ao(a);Bk(a,0)|0;e=da(a+8|0,4,0,0)|0|0;if(e){if(da(e+24|0,4,0,0)|0){b=a+28|0;c=da(b|0,4,0,0)|0|0;d=e+28|0;ea(c+8|0,da(d|0,4,0,0)|0|0,4,0);ea(d|0,c|0,4,0);ea(a+12|0,-1|0,4,0);ea(b|0,0|0,4,0)}c=e+16|0;b=(da(c|0,4,0,0)|0|0)+-1|0;ea(c|0,b|0,4,0);if(!b){zo(a);f=e+36|0;b=da(f|0,4,0,0)|0|0;c=e+32|0;d=da(c|0,4,0,0)|0|0;if(!b)ea(12178*4|0,d|0,4,0);else ea(b+32|0,d|0,4,0);b=da(c|0,4,0,0)|0|0;if(b)ea(b+36|0,da(f|0,4,0,0)|0|0,4,0);Vc(e)}}to(a);return 0}function Ak(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;l=a+16|0;c=da(l>>0|0,1,0,0)|0|0;a:do if((c&255|0)<(b|0)){g=da(a+8|0,4,0,0)|0|0;m=g+12|0;d=da(m>>0|0,1,0,0)|0|0;if(c<<24>>24!=d<<24>>24?(d&255)>2|(b|0)>1:0){c=5;break}e=(b|0)==1;do if(e)if((d+-1&255)<2){ea(l>>0|0,1|0,1,0);c=g+8|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=g+24|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=0;break a}else{d=h+8|0;ea(d|0,1|0,4,0);ea(h+2|0,0|0,2,0);k=10;break}else{d=h+8|0;ea(d|0,1|0,4,0);ea(h+2|0,0|0,2,0);if((b|0)==4)if((c&255)<3)k=10;else{f=d;k=14}else{e=d;k=24}}while(0);if((k|0)==10){ea(h|0,e&1^1|0,2,0);ea(h+4|0,da(2514*4|0,4,0,0)|0|0,4,0);if(!(Ao(a,h)|0)){f=d;k=14}else{d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;break}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break a}default:c=3850}ea(a+20|0,d|0,4,0);break}}b:do if((k|0)==14)if(e){e=h+4|0;ea(e|0,(da(2514*4|0,4,0,0)|0|0)+2|0,4,0);ea(f|0,510|0,4,0);c:do if(!(Ao(a,h)|0)){c=0;d=0}else{d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;d=1;break c}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break c}default:{c=3850;break c}}}while(0);ea(e|0,da(2514*4|0,4,0,0)|0|0,4,0);ea(f|0,1|0,4,0);ea(h|0,2|0,2,0);do if((Ao(a,h)|0)!=0&(c|0)==0){c=2058;d=da(Gb()|0|0,4,0,0)|0|0}else{if((c|0)==5){c=5;break a}else if(c)break;ea(l>>0|0,1|0,1,0);h=g+24|0;ea(h|0,(da(h|0,4,0,0)|0|0)+1|0,4,0);ea(g+8|0,1|0,4,0);break b}while(0);ea(a+20|0,d|0,4,0);break a}else{e=f;k=24}while(0);do if((k|0)==24){f=(b|0)==4;if(f)if((da(g+8|0,4,0,0)|0|0)>1)c=5;else{ea(h|0,1|0,2,0);d=da(2514*4|0,4,0,0)|0|0;k=29}else{ea(h|0,1|0,2,0);d=da(2514*4|0,4,0,0)|0|0;if((b|0)==2){ea(h+4|0,d+1|0,4,0);d=1;k=30}else k=29}if((k|0)==29){ea(h+4|0,d+2|0,4,0);d=510;k=30}if((k|0)==30){ea(e|0,d|0,4,0);if(!(Ao(a,h)|0))break;d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;k=33;break}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break}default:{c=3850;k=33}}if((k|0)==33)ea(a+20|0,d|0,4,0);if(!f)break a}ea(l>>0|0,3|0,1,0);ea(m>>0|0,3|0,1,0);break a}while(0);c=b&255;ea(l>>0|0,c|0,1,0);ea(m>>0|0,c|0,1,0);c=0}else c=0;while(0);i=n;return c|0}function Bk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();f=k;g=a+16|0;c=da(g>>0|0,1,0,0)|0|0;a:do if((c&255|0)>(b|0)){h=da(a+8|0,4,0,0)|0|0;do if((c&255)>1){if((b|0)==1){ea(f|0,0|0,2,0);e=f+2|0;ea(e|0,0|0,2,0);c=f+4|0;ea(c|0,(da(2514*4|0,4,0,0)|0|0)+2|0,4,0);d=f+8|0;ea(d|0,510|0,4,0);if(Ao(a,f)|0){ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=2314;break a}}else{d=f+8|0;e=f+2|0;c=f+4|0}ea(f|0,2|0,2,0);ea(e|0,0|0,2,0);ea(c|0,da(2514*4|0,4,0,0)|0|0,4,0);ea(d|0,2|0,4,0);if(!(Ao(a,f)|0)){ea(h+12>>0|0,1|0,1,0);break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=2058;break a}}while(0);if(!b){d=h+8|0;c=(da(d|0,4,0,0)|0|0)+-1|0;ea(d|0,c|0,4,0);do if(!c){ea(f|0,2|0,2,0);ea(f+2|0,0|0,2,0);ea(f+8|0,0|0,4,0);ea(f+4|0,0|0,4,0);if(!(Ao(a,f)|0)){ea(h+12>>0|0,0|0,1,0);c=0;break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);ea(h+12>>0|0,0|0,1,0);ea(g>>0|0,0|0,1,0);c=2058;break}}else c=0;while(0);e=h+24|0;d=(da(e|0,4,0,0)|0|0)+-1|0;ea(e|0,d|0,4,0);if(!d)zo(a);if(c)break}ea(g>>0|0,b|0,1,0);c=0}else c=0;while(0);i=k;return c|0}function Ck(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+32|0;if((i|0)>=(j|0))ba();e=g;f=g+8|0;d=da(a+8|0,4,0,0)|0|0;h=(da(d+12>>0|0,1,0,1)|0|0)>1;c=h&1;do if(!h)if(!(da(d+13>>0|0,1,0,0)|0)){ea(f+2|0,0|0,2,0);ea(f+4|0,(da(2514*4|0,4,0,0)|0|0)+1|0,4,0);ea(f+8|0,1|0,4,0);ea(f|0,1|0,2,0);h=da(11910*4|0,4,0,0)|0|0;d=da(a+12|0,4,0,0)|0|0;ea(e|0,f|0,4,0);if(!($b[(fa(h|0,63|0)|0)&63](d,12,e)|0)){d=0;c=(da(f|0,2,0,0)|0|0)==2?c:1;break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);d=3594;break}}else{d=0;c=0}else{d=0;c=1}while(0);ea(b|0,c|0,4,0);i=g;return d|0}function Dk(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,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;w=i;i=i+160|0;if((i|0)>=(j|0))ba();u=w;p=w+76|0;g=gc[(fa(da(47552+292|0,4,0,0)|0|0,7|0)|0)&7]()|0;if((g|0)<32768)v=1;else v=(g|0)/32768|0;s=a+36|0;g=da(s|0,4,0,0)|0|0;a:do if(!g){g=Sc(16)|0;if(!g)f=7;else{ea(g+0|0,0|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,0|0,4,0);ea(g+12|0,0|0,4,0);n=a+8|0;m=da(n|0,4,0,0)|0|0;f=da(m+20|0,4,0,0)|0|0;b:do if(!f){l=a+32|0;h=da(l|0,4,0,0)|0|0;if((qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(a+12|0,4,0,0)|0|0,p)|0)!=0?(da(m+13>>0|0,1,0,0)|0|0)==0:0)f=1802;else t=8;c:do if((t|0)==8){f=fw(h|0)|0;k=f+42|0;q=Sc(k)|0;if(q){ew(q|0,0,k|0)|0;o=q+36|0;ea(q+8|0,o|0,4,0);ea(u|0,h|0,4,0);$c(f+6|0,o,48720,u)|0;f=q+12|0;ea(f|0,-1|0,4,0);n=da(n|0,4,0,0)|0|0;ea(n+20|0,q|0,4,0);ea(q|0,n|0,4,0);ea(q+4|0,8|0,4,0);if(da(m+13>>0|0,1,0,0)|0){f=q;break b}if(!(eg(da(l|0,4,0,0)|0|0,48728,0)|0))k=66;else{ea(q+22>>0|0,1|0,1,0);k=0}h=_n(o,k,(da(p+12|0,4,0,0)|0)&511)|0;ea(f|0,h|0,4,0);if((h|0)<0){ea(u|0,29706|0,4,0);ea(u+4|0,10788|0,4,0);ad(14,14848,u);f=bo(14,47896,o,29706)|0;break}$b[(fa(da(47552+244|0,4,0,0)|0|0,63|0)|0)&63](h,da(p+20|0,4,0,0)|0|0,da(p+24|0,4,0,0)|0|0)|0;do if(!(xo(a,1,128,1)|0)){f=da(f|0,4,0,0)|0|0;do{h=qc[(fa(da(47552+76|0,4,0,0)|0|0,127|0)|0)&127](f,0)|0;if((h|0)>=0){r=h;t=18;break}}while((da(Gb()|0|0,4,0,0)|0|0)==4);if((t|0)==18?(r|0)==0:0)break;f=bo(4618,47928,o,29722)|0;if(f)break c}while(0);f=xo(a,0,128,1)|0;if(!f){f=q;break b}}else f=7}while(0);yo(a);Vc(g);if(f)break a;g=da(s|0,4,0,0)|0|0;t=24;break a}while(0);ea(g|0,f|0,4,0);t=f+28|0;ea(t|0,(da(t|0,4,0,0)|0|0)+1|0,4,0);ea(a+36|0,g|0,4,0);t=f+32|0;ea(g+4|0,da(t|0,4,0,0)|0|0,4,0);ea(t|0,g|0,4,0);t=24}}else t=24;while(0);if((t|0)==24){a=da(g|0,4,0,0)|0|0;s=v+b|0;s=s-((s|0)%(v|0)|0)|0;p=a+20|0;d:do if((da(p|0,2,0,1)|0|0)<(s|0)){f=_(s,c)|0;ea(a+16|0,c|0,4,0);r=a+12|0;g=da(r|0,4,0,0)|0|0;e:do if((g|0)>-1){if(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](g,u)|0){g=4874;break d}g=da(u+36|0,4,0,0)|0|0;if((g|0)<(f|0)){if(!d){g=0;break d}g=(g|0)/4096|0;f=(f|0)/4096|0;if((g|0)<(f|0)){while(1){q=g<<12|4095;g=g+1|0;if((uo(da(r|0,4,0,0)|0|0,q,((q|0)<0)<<31>>31,10360,1,0)|0)!=1)break;if((g|0)>=(f|0))break e}g=bo(4874,47976,da(a+8|0,4,0,0)|0|0,29853)|0;break d}}}while(0);o=a+24|0;g=Wc(da(o|0,4,0,0)|0|0,s<<2)|0;if(g){ea(o|0,g|0,4,0);g=da(p|0,2,0,1)|0|0;if((g|0)<(s|0)){m=_(v,c)|0;l=a+22|0;n=(v|0)>0;while(1){f=da(r|0,4,0,0)|0|0;if((f|0)>-1){g=_(g,c)|0;g=jc[(fa(da(47552+256|0,4,0,0)|0|0,7|0)|0)&7](0,m,(da(l>>0|0,1,0,0)|0|0)!=0?1:3,1,f,g)|0;if((g|0)==(-1|0))break}else{g=Sc( [all...] |
H A D | sqlite-change-heap.js | 10 function zc(a){a=a|0;var b=0;b=r;r=r+a|0;r=r+15&-16;if((r|0)>=(s|0))ka();return b|0}function Ac(){return r|0}function Bc(a){a=a|0;r=a}function Cc(a,b){a=a|0;b=b|0;if(!w){w=a;x=b}}function Dc(a){a=a|0;i[t>>0]=i[a>>0];i[t+1>>0]=i[a+1>>0];i[t+2>>0]=i[a+2>>0];i[t+3>>0]=i[a+3>>0]}function Ec(a){a=a|0;i[t>>0]=i[a>>0];i[t+1>>0]=i[a+1>>0];i[t+2>>0]=i[a+2>>0];i[t+3>>0]=i[a+3>>0];i[t+4>>0]=i[a+4>>0];i[t+5>>0]=i[a+5>>0];i[t+6>>0]=i[a+6>>0];i[t+7>>0]=i[a+7>>0]}function Fc(a){a=a|0;L=a}function Gc(){return L|0}function Hc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();c=f+4|0;d=f;e=0;a:while(1){k[c>>2]=0;k[d>>2]=0;i[280]=0;if(Wf(14640,c)|0){b=4;break}b=k[c>>2]|0;a=0;do{if(Ve(b,k[8+(a<<2)>>2]|0,17,0,d)|0){b=7;break a}a=a+1|0;b=k[c>>2]|0}while((a|0)!=5);yf(b)|0;if(dw(280,8504)|0){b=9;break}e=e+1|0;if((e|0)>=3){b=11;break}}if((b|0)==4)nb(8472,8488,47,8496);else if((b|0)==7)nb(8472,8488,50,8496);else if((b|0)==9)nb(8600,8488,53,8496);else if((b|0)==11){r=f;return 0}return 0}function Ic(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((b|0)>0)while(1){b=b+-1|0;mw(280,k[d>>2]|0)|0;a=280+(lw(280)|0)|0;i[a>>0]=61;i[a+1>>0]=0;a=k[c>>2]|0;mw(280,((a|0)==0?20304:a)|0)|0;if((b|0)<=0)break;else{c=c+4|0;d=d+4|0}}return 0}function Jc(a){a=a|0;var b=0,c=0,d=0;d=(Kc(a,8640,7)|0)==0;d=d?a+7|0:a;if(!d)a=0;else{a=d;while(1)if(!(i[a>>0]|0))break;else a=a+1|0;a=a-d&1073741823}c=0;while(1){b=k[8648+(c<<2)>>2]|0;if((Kc(d,b,a)|0)==0?(i[10368+(l[b+a>>0]|0)>>0]&70)==0:0){a=1;break}c=c+1|0;if((c|0)>=4){a=0;break}}return a|0}function Kc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(a)if(b)if((c|0)>0){d=a;while(1){a=i[d>>0]|0;if(!(a<<24>>24))break;if((i[9328+(a&255)>>0]|0)!=(i[9328+(l[b>>0]|0)>>0]|0))break;c=c+-1|0;if((c|0)<=0){c=0;break a}else{d=d+1|0;b=b+1|0}}if((c|0)>=1)c=(l[9328+(a&255)>>0]|0)-(l[9328+(l[b>>0]|0)>>0]|0)|0;else c=0}else c=0;else c=1;else c=((b|0)!=0)<<31>>31;while(0);return c|0}function Lc(a){a=a|0;if(a>>>0<4)a=k[8648+(a<<2)>>2]|0;else a=0;return a|0}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;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g;if(a>>>0<=9){f=k[8664+(a<<2)>>2]|0;e=b;k[e>>2]=f;k[e+4>>2]=0;e=8704+(a<<2)|0;a=c;k[a>>2]=k[e>>2];k[a+4>>2]=0;if(!d)e=0;else{k[e>>2]=f;e=0}}else{k[e>>2]=15033;k[e+4>>2]=10788;gd(21,13648,e);e=21}r=g;return e|0}function Nc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g+8|0;f=g;a=Mc(a,e,f,d)|0;if(!a){k[b>>2]=k[e>>2];k[c>>2]=k[f>>2]}r=g;return a|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=0,g=0,h=0,i=0,j=0,l=0,n=0;n=r;r=r+16|0;if((r|0)>=(s|0))ka();j=n+4|0;h=n;switch(b|0){case 2:{k[j>>2]=0;l=a+20|0;e=k[l>>2]|0;f=(e|0)>0;if(f){h=k[a+16>>2]|0;g=0;do{b=k[h+(g<<4)+4>>2]|0;if(b)k[(k[b+4>>2]|0)+4>>2]=k[b>>2];g=g+1|0}while((g|0)!=(e|0));g=a+520|0;k[g>>2]=j;if(f){i=a+16|0;f=0;do{b=k[(k[i>>2]|0)+(f<<4)+12>>2]|0;if(b){h=qc[k[8744+52>>2]&127](16)|0;h=ha((k[b+44>>2]|0)+(k[b+12>>2]|0)+(k[b+28>>2]|0)+(k[b+60>>2]|0)|0,h)|0;k[j>>2]=h+(k[j>>2]|0);h=qc[k[8744+48>>2]&127](k[b+20>>2]|0)|0;k[j>>2]=(k[j>>2]|0)+h;h=qc[k[8744+48>>2]&127](k[b+52>>2]|0)|0;k[j>>2]=(k[j>>2]|0)+h;h=qc[k[8744+48>>2]&127](k[b+36>>2]|0)|0;k[j>>2]=(k[j>>2]|0)+h;h=qc[k[8744+48>>2]&127](k[b+68>>2]|0)|0;k[j>>2]=(k[j>>2]|0)+h;h=k[b+48>>2]|0;if(h)do{og(a,k[h+8>>2]|0);h=k[h>>2]|0}while((h|0)!=0);h=k[b+16>>2]|0;if(h)do{pg(a,k[h+8>>2]|0);h=k[h>>2]|0}while((h|0)!=0);e=k[l>>2]|0}f=f+1|0}while((f|0)<(e|0));f=k[j>>2]|0}else f=0}else{g=a+520|0;k[g>>2]=j;f=0}k[g>>2]=0;k[d>>2]=0;k[c>>2]=f;f=0;break}case 9:case 8:case 7:{l=a+20|0;h=k[l>>2]|0;if((h|0)>0){j=k[a+16>>2]|0;i=b+-7|0;g=(e|0)==0;f=0;b=h;e=0;while(1){h=k[j+(e<<4)+4>>2]|0;if(h){h=(k[k[h+4>>2]>>2]|0)+(i<<2)+184|0;f=(k[h>>2]|0)+f|0;if(g)h=b;else{k[h>>2]=0;h=k[l>>2]|0}}else h=b;e=e+1|0;if((e|0)>=(h|0))break;else b=h}}else f=0;k[d>>2]=0;k[c>>2]=f;f=0;break}case 0:{g=a+252|0;k[c>>2]=k[g>>2];f=a+256|0;k[d>>2]=k[f>>2];if(!e)f=0;else{k[f>>2]=k[g>>2];f=0}break}case 6:case 5:case 4:{k[c>>2]=0;f=a+(b+-4<<2)+260|0;k[d>>2]=k[f>>2];if(!e)f=0;else{k[f>>2]=0;f=0}break}case 1:{i=a+20|0;g=k[i>>2]|0;e=(g|0)>0;if(e){f=k[a+16>>2]|0;h=0;do{b=k[f+(h<<4)+4>>2]|0;if(b)k[(k[b+4>>2]|0)+4>>2]=k[b>>2];h=h+1|0}while((h|0)!=(g|0));if(e){b=a+16|0;h=0;f=0;while(1){e=k[(k[b>>2]|0)+(h<<4)+4>>2]|0;if(!e)e=g;else{l=k[k[e+4>>2]>>2]|0;a=l+152|0;j=(k[a>>2]|0)+60+(m[l+140>>1]|0)|0;j=ha(qc[k[8744+128>>2]&127](k[(k[l+204>>2]|0)+40>>2]|0)|0,j)|0;l=qc[k[8744+48>>2]&127](l)|0;e=k[i>>2]|0;f=j+f+l+(k[a>>2]|0)|0}h=h+1|0;if((h|0)>=(e|0))break;else g=e}}else f=0}else f=0;k[c>>2]=f;k[d>>2]=0;f=0;break}case 3:{k[h>>2]=0;e=a+520|0;k[e>>2]=h;g=k[a+4>>2]|0;if(!g)f=0;else{do{qg(a,g);rg(a,g);g=k[g+52>>2]|0}while((g|0)!=0);f=k[h>>2]|0}k[e>>2]=0;k[d>>2]=0;k[c>>2]=f;f=0;break}case 10:{k[d>>2]=0;l=a+512|0;j=k[l+4>>2]|0;if((j|0)>0|(j|0)==0&(k[l>>2]|0)>>>0>0)f=1;else{f=a+504|0;a=k[f+4>>2]|0;f=(a|0)>0|(a|0)==0&(k[f>>2]|0)>>>0>0}k[c>>2]=f&1;f=0;break}default:f=1}r=n;return f|0}function Pc(a){a=a|0;var b=0;a:do if(!(Qc()|0)){b=k[2254]|0;if(!((b|0)==0|(a|0)==0))while(1){if(!(dw(a,k[b+16>>2]|0)|0))break a;b=k[b+12>>2]|0;if(!b){b=0;break}}}else b=0;while(0);return b|0}function Qc(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=r;r=r+16|0;if((r|0)>=(s|0))ka();h=j;do if(!(k[2243]|0)){k[2245]=1;if(!(k[2246]|0)){if(!(k[2195]|0)){k[h>>2]=16496;rf(4,h)|0}b=9024|0;c=b+40|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));if(k[2187]|0)k[2256]=8;g=k[2234]|0;c=k[2235]|0;b=k[2236]|0;if((g|0)!=0&(c|0)>99&(b|0)>0){f=c&-8;k[2235]=f;k[2263]=g;k[2264]=b;e=b+-1|0;if((e|0)>0){b=g+(ha(c>>>3,(b<<3)+-8|0)|0)|0;d=0;c=g;do{a=c;c=c+f|0;k[a>>2]=c;d=d+1|0}while((d|0)!=(e|0))}else b=g;k[b>>2]=0;k[2262]=b+4}else{k[2262]=0;k[2234]=0;k[2235]=0;k[2236]=0}if((k[2237]|0)==0|(k[2238]|0)<512|(k[2239]|0)<1){k[2237]=0;k[2238]=0;k[2239]=0}a=qc[k[8744+56>>2]&127](k[2202]|0)|0;if(a){b=9024|0;c=b+40|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));break}}k[2246]=1;if(!(k[2249]|0))k[2249]=8;a=(k[2248]|0)+1|0;k[2248]=a;if(!(k[2244]|k[2243])){k[2244]=1;b=10840|0;c=b+92|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));b=0;do{sg(10840,16608+(b*36|0)|0);b=b+1|0}while((b|0)!=59);b=0;do{sg(10840,19480+(b*36|0)|0);b=b+1|0}while((b|0)!=8);sg(10840,19256);sg(10840,19292|0);sg(10840,19328|0);if(!(k[2247]|0)){a=k[2214]|0;if(!a){k[h>>2]=16440;rf(18,h)|0;a=k[2214]|0}a=qc[a&127](k[2213]|0)|0;if(!a)i=28}else i=28;if((i|0)==28){k[2247]=1;a=Yc(10)|0;if(!a)a=7;else{$c(a);Rc(9584,1)|0;Rc(9672|0,0)|0;Rc(9760|0,0)|0;Rc(9848|0,0)|0;a=k[2237]|0;b=k[2238]|0;c=k[2239]|0;if(k[3153]|0){h=b&-8;k[3154]=h;k[3161]=c;k[3155]=c;if((c|0)<=90){k[3156]=((c|0)/10|0)+1;k[3157]=a;k[3160]=0;k[3162]=0;if(c)i=33}else{k[3156]=10;k[3157]=a;k[3160]=0;k[3162]=0;i=33}if((i|0)==33){e=b>>>3;f=c<<3;g=ha(e<<3,c+-1|0)|0;b=a;d=0;while(1){c=c+-1|0;k[b>>2]=d;if(!c)break;else{d=b;b=b+h|0}}b=a+(ha(f,e)|0)|0;k[3160]=a+g;a=b}k[3158]=a}k[2243]=1;a=0}}k[2244]=0;b=k[2248]|0}else{b=a;a=0}k[2248]=b+-1;if((b|0)<2)k[2249]=0}else a=0;while(0);r=j;return a|0}function Rc(a,b){a=a|0;b=b|0;var c=0;c=Qc()|0;do if(!c){tg(a);c=k[2254]|0;if((b|0)!=0|(c|0)==0){k[a+12>>2]=c;k[2254]=a;c=0;break}else{k[a+12>>2]=k[c+12>>2];k[(k[2254]|0)+12>>2]=a;c=0;break}}while(0);return c|0}function Sc(a){a=a|0;tg(a);return 0}function Tc(a){a=a|0;return 0}function Uc(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;do if(!(Qc()|0)){d=9032|0;c=k[d>>2]|0;d=k[d+4>>2]|0;if((b|0)>=0)if((b|0)>0|(b|0)==0&a>>>0>0){k[2260]=9;k[2261]=0;e=9032|0;k[e>>2]=a;k[e+4>>2]=b;k[2265]=(0>(b|0)|0==(b|0)&(k[2166]|0)>>>0>=a>>>0)&1;break}else{k[2265]=0;k[2258]=0;k[2259]=0;k[2260]=0;k[2261]=0;break}}else{d=-1;c=-1}while(0);L=d;return c|0}function Vc(){var a=0;a=k[2166]|0;L=((a|0)<0)<<31>>31;return a|0}function Wc(a){a=a|0;var b=0;b=(a|0)<0;Uc(b?0:a,b?0:((a|0)<0)<<31>>31)|0;return}function Xc(a){a=a|0;var b=0;b=k[2176]|0;if(a)k[2176]=k[2166];L=((b|0)<0)<<31>>31;return b|0}function Yc(a){a=a|0;if((Qc()|0)!=0|(a|0)<1)a=0;else a=vg(a,((a|0)<0)<<31>>31)|0;return a|0}function Zc(a,b){a=a|0;b=b|0;if(!(Qc()|0))a=vg(a,b)|0;else a=0;return a|0}function _c(a){a=a|0;a=qc[k[8744+48>>2]&127](a)|0;L=((a|0)<0)<<31>>31;return a|0}function $c(a){a=a|0;var b=0;do if(a)if(!(k[2186]|0)){hc[k[8744+40>>2]&31](a);break}else{b=qc[k[8744+48>>2]&127](a)|0;k[2166]=(k[2166]|0)-b;k[2175]=(k[2175]|0)+-1;hc[k[8744+40>>2]&31](a);break}while(0);return}function ad(a,b){a=a|0;b=b|0;var c=0;if(!(Qc()|0)){c=(b|0)<0;b=wg(a,c?0:b,c?0:((b|0)<0)<<31>>31)|0}else b=0;return b|0}function bd(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Qc()|0))b=wg(a,b,c)|0;else b=0;return b|0}function cd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+112|0;if((r|0)>=(s|0))ka();d=e+28|0;c=e;if(!(Qc()|0)){k[c+4>>2]=d;k[c+8>>2]=d;k[c>>2]=0;k[c+12>>2]=0;k[c+16>>2]=70;k[c+20>>2]=1e9;i[c+25>>0]=0;i[c+24>>0]=2;xg(c,0,a,b);c=yg(c)|0}else c=0;r=e;return c|0}function dd(a,b){a=a|0;b=b|0;var c=0,d=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();c=d;if(!(Qc()|0)){k[c>>2]=b;c=cd(a,c)|0}else c=0;r=d;return c|0}function ed(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+32|0;if((r|0)>=(s|0))ka();e=f;if((a|0)>=1){k[e+4>>2]=b;k[e+8>>2]=b;k[e>>2]=0;k[e+12>>2]=0;k[e+16>>2]=a;k[e+20>>2]=0;i[e+25>>0]=0;i[e+24>>0]=0;xg(e,0,c,d);b=yg(e)|0}r=f;return b|0}function fd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();f=e;k[f>>2]=d;a=ed(a,b,c,f)|0;r=e;return a|0}function gd(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+256|0;if((r|0)>=(s|0))ka();d=g+16|0;f=g+44|0;e=g;if(k[2250]|0){k[e>>2]=c;k[d+4>>2]=f;k[d+8>>2]=f;k[d>>2]=0;k[d+12>>2]=0;k[d+16>>2]=210;k[d+20>>2]=0;i[d+25>>0]=0;i[d+24>>0]=0;xg(d,0,b,e);c=k[2250]|0;e=k[2251]|0;d=yg(d)|0;rc[c&63](e,a,d)}r=g;return}function hd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=r;r=r+256|0;if((r|0)>=(s|0))ka();d=e;do if(!(Qc()|0)){if((a|0)<1|(b|0)==0){i[9064]=0;break}if(!(i[9064]|0)){i[9066]=0;i[9065]=0;c=(Qc()|0)==0;c=c?k[2254]|0:0;fc[k[c+56>>2]&63](c,256,d)|0;c=0;do{i[9067+c>>0]=c;c=c+1|0}while((c|0)!=256);c=0;do{f=9067+c|0;h=(l[d+c>>0]|0)+(l[f>>0]|0)+(l[9066]|0)|0;i[9066]=h;h=9067+(h&255)|0;g=i[h>>0]|0;i[h>>0]=i[f>>0]|0;i[f>>0]=g;c=c+1|0}while((c|0)!=256);i[9064]=1}while(1){f=(i[9065]|0)+1<<24>>24;i[9065]=f;f=9067+(f&255)|0;d=i[f>>0]|0;c=d&255;g=(l[9066]|0)+c|0;i[9066]=g;i[f>>0]=i[9067+(g&255)>>0]|0;i[9067+(l[9066]|0)>>0]=d;i[b>>0]=i[9067+((l[9067+(l[9065]|0)>>0]|0)+c&255)>>0]|0;a=a+-1|0;if(!a)break;else b=b+1|0}}while(0);r=e;return}function id(a,b){a=a|0;b=b|0;var c=0;if(a)if(!b)b=1;else{c=i[a>>0]|0;a:do if(!(c<<24>>24))c=0;else while(1){if((i[9328+(c&255)>>0]|0)!=(i[9328+(l[b>>0]|0)>>0]|0))break a;a=a+1|0;b=b+1|0;c=i[a>>0]|0;if(!(c<<24>>24)){c=0;break}}while(0);b=(l[9328+(c&255)>>0]|0)-(l[9328+(l[b>>0]|0)>>0]|0)|0}else b=((b|0)!=0)<<31>>31;return b|0}function jd(a){a=a|0;k[2241]=a;return 0}function kd(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,l=0,m=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();l=m;a:do if((c|0)==(a|0)){zg(c,1,10016,l);e=0}else{e=vg(48,0)|0;if(!e){k[a+52>>2]=7;e=k[a+236>>2]|0;if(!e){e=0;break}f=e+8|0;if(!(j[f>>1]&9312)){j[f>>1]=1;e=0;break}else{Ag(e);e=0;break}}g=e+0|0;f=g+48|0;do{i[g>>0]=0;g=g+1|0}while((g|0)<(f|0));g=Bg(a,c,d)|0;h=e+24|0;k[h>>2]=g;g=Bg(a,a,b)|0;d=e+4|0;k[d>>2]=g;k[e>>2]=a;k[e+20>>2]=c;k[e+16>>2]=1;k[e+40>>2]=0;f=k[h>>2]|0;do if(!((f|0)==0|(g|0)==0)?(Cg(g,k[(k[f+4>>2]|0)+32>>2]|0,-1,0)|0)!=7:0)if(!(i[(k[d>>2]|0)+8>>0]|0)){f=(k[h>>2]|0)+16|0;k[f>>2]=(k[f>>2]|0)+1;break a}else{zg(a,1,47416,l);break}while(0);$c(e);e=0}while(0);r=m;return e|0}function ld(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=r;r=r+32|0;if((r|0)>=(s|0))ka();z=D;n=D+16|0;q=D+12|0;w=D+8|0;B=a+24|0;d=k[B>>2]|0;e=k[d+4>>2]|0;k[e+4>>2]=k[d>>2];C=a+28|0;c=k[C>>2]|0;if(c>>>0<7?(30>>>(c&127)&1)==0:0){v=k[e>>2]|0;A=a+4|0;c=k[A>>2]|0;y=k[k[c+4>>2]>>2]|0;if((k[a>>2]|0)!=0?(i[e+20>>0]|0)==2:0){x=0;d=5}else t=5;do if((t|0)==5){e=a+12|0;if(!(k[e>>2]|0)){d=Dg(c,2)|0;if(d){x=0;break}k[e>>2]=1;x=k[A>>2]|0;d=k[x+4>>2]|0;k[d+4>>2]=k[x>>2];d=k[(k[d+12>>2]|0)+56>>2]|0;k[a+8>>2]=l[d+41>>0]<<16|l[d+40>>0]<<24|l[d+42>>0]<<8|l[d+43>>0];d=k[B>>2]|0}if(!(i[d+8>>0]|0)){x=1;d=Dg(d,0)|0}else{x=0;d=0}}while(0);g=k[(k[B>>2]|0)+4>>2]|0;u=k[g+32>>2]|0;m=k[(k[A>>2]|0)+4>>2]|0;p=k[m+32>>2]|0;m=(i[(k[m>>2]|0)+5>>0]|0)==5;c=(u|0)==(p|0)|(d|0)==0&m^1?d:8;g=k[g+44>>2]|0;e=(b|0)<0;a:do if(b){d=a+16|0;h=k[d>>2]|0;j=0;do{if(!(h>>>0<=g>>>0&(c|0)==0))break a;if((h|0)!=((((k[2514]|0)>>>0)/((k[(k[(k[B>>2]|0)+4>>2]|0)+32>>2]|0)>>>0)|0)+1|0)){c=Eg(v,h,n,2)|0;if(!c){f=k[n>>2]|0;c=Fg(a,h,k[f+4>>2]|0,0)|0;if(f)Gg(f)}}else c=0;h=(k[d>>2]|0)+1|0;k[d>>2]=h;j=j+1|0}while(e|(j|0)<(b|0))}while(0);if(!c){k[a+36>>2]=g;c=k[a+16>>2]|0;k[a+32>>2]=g+1-c;if(c>>>0<=g>>>0){c=a+40|0;if(!(k[c>>2]|0)){A=(k[k[(k[B>>2]|0)+4>>2]>>2]|0)+88|0;k[a+44>>2]=k[A>>2];k[A>>2]=a;k[c>>2]=1;c=0}else c=0}else t=22}else if((c|0)==101)t=22;do if((t|0)==22){if(!g){d=k[A>>2]|0;c=k[d+4>>2]|0;k[c+4>>2]=k[d>>2];k[c+44>>2]=0;c=Hg(c)|0;if((c|0)==0|(c|0)==101)g=1;else break}c=Ig(k[A>>2]|0,1,(k[a+8>>2]|0)+1|0)|0;if(!c){d=k[a>>2]|0;if(d)Jg(d);if(m?(o=Kg(k[A>>2]|0,2)|0,(o|0)!=0):0){c=o;break}if((u|0)<(p|0)){d=(p|0)/(u|0)|0;d=(g+-1+d|0)/(d|0)|0;e=k[2514]|0;f=k[(k[(k[A>>2]|0)+4>>2]|0)+32>>2]|0;d=(((d|0)==(((e>>>0)/(f>>>0)|0)+1|0))<<31>>31)+d|0;a=((u|0)<0)<<31>>31;o=xw(g|0,((g|0)<0)<<31>>31|0,u|0,a|0)|0;m=L;b=k[y+60>>2]|0;j=k[y+24>>2]|0;b:do if(d>>>0<=j>>>0){c=0;while(1){if((d|0)!=(((e>>>0)/(f>>>0)|0)+1|0)){c=Eg(y,d,q,0)|0;if(c)break b;e=k[q>>2]|0;c=Lg(e)|0;if(e)Gg(e)}d=d+1|0;e=(c|0)==0;if(d>>>0>j>>>0|e^1)break;f=k[(k[(k[A>>2]|0)+4>>2]|0)+32>>2]|0;e=k[2514]|0}if(e)t=38}else t=38;while(0);if((t|0)==38)c=Mg(y,0,1)|0;e=k[2514]|0;g=e+p|0;h=((g|0)<0)<<31>>31;f=(h|0)<(m|0)|(h|0)==(m|0)&g>>>0<o>>>0;g=f?g:o;h=f?h:m;e=e+u|0;f=((e|0)<0)<<31>>31;d=(c|0)==0;if(d&((f|0)<(h|0)|(f|0)==(h|0)&e>>>0<g>>>0))do{k[w>>2]=0;c=vw(e|0,f|0,u|0,a|0)|0;c=ow(c|0,L|0,1,0)|0;c=Eg(v,c,w,0)|0;d=k[w>>2]|0;if(!c)c=yc[k[(k[b>>2]|0)+12>>2]&31](b,k[d+4>>2]|0,u,e,f)|0;if(d)Gg(d);e=ow(e|0,f|0,u|0,a|0)|0;f=L;d=(c|0)==0}while(d&((f|0)<(h|0)|(f|0)==(h|0)&e>>>0<g>>>0));if(!d)break;c=wc[k[(k[b>>2]|0)+24>>2]&127](b,z)|0;w=k[z+4>>2]|0;if((c|0)==0&((w|0)>(m|0)|((w|0)==(m|0)?(k[z>>2]|0)>>>0>o>>>0:0)))c=fc[k[(k[b>>2]|0)+16>>2]&63](b,o,m)|0;if(c)break;c=Ng(y,0)|0}else{c=ha((u|0)/(p|0)|0,g)|0;k[y+24>>2]=c;c=Mg(y,0,0)|0}if(!c){c=Og(k[A>>2]|0,0)|0;c=(c|0)==0?101:c}}}while(0);if(x){Pg(k[B>>2]|0,0)|0;Og(k[B>>2]|0,0)|0}c=(c|0)==3082?7:c;k[C>>2]=c}r=D;return c|0}function md(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(!a)b=0;else{f=k[a+20>>2]|0;c=k[a+24>>2]|0;b=k[c+4>>2]|0;k[b+4>>2]=k[c>>2];if(k[a>>2]|0){c=c+16|0;k[c>>2]=(k[c>>2]|0)+-1}if(k[a+40>>2]|0){b=(k[b>>2]|0)+88|0;while(1){c=k[b>>2]|0;if((c|0)==(a|0))break;else b=c+44|0}k[b>>2]=k[a+44>>2]}Qg(k[a+4>>2]|0,0,0);b=k[a+28>>2]|0;b=(b|0)==101?0:b;c=k[a>>2]|0;if(c){k[c+52>>2]=b;d=k[c+236>>2]|0;do if(d){e=d+8|0;if(!(j[e>>1]&9312)){j[e>>1]=1;break}else{Ag(d);c=k[a>>2]|0;break}}while(0);Rg(c);if(k[a>>2]|0)$c(a)}Rg(f)}return b|0}function nd(a){a=a|0;return k[a+32>>2]|0}function od(a){a=a|0;return k[a+36>>2]|0}function pd(a){a=a|0;if((a|0)!=0?(j[a+88>>1]&256)!=0:0)a=k[a+168>>2]|0;else a=0;return a|0}function qd(a){a=a|0;if(!a)a=1;else a=(j[a+88>>1]&8)!=0;return a&1|0}function rd(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();c=d;do if(a){b=k[a>>2]|0;if(!b){gd(21,47360,c);k[c>>2]=68910;k[c+4>>2]=10788;gd(21,13648,c);b=21;break}else{a=Tg(b,Sg(a)|0)|0;Rg(b);b=a;break}}else b=0;while(0);r=d;return b|0}function sd(a){a=a|0;var b=0,c=0;if(!a)a=0;else{b=Ug(a)|0;k[a+76>>2]=-1;k[a+80>>2]=0;i[a+86>>0]=2;k[a+40>>2]=-1108210269;k[a+92>>2]=0;k[a+72>>2]=1;i[a+87>>0]=-1;k[a+104>>2]=0;c=a+144|0;k[c>>2]=0;k[c+4>>2]=0;a=Tg(k[a>>2]|0,b)|0}return a|0}function td(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=a+68|0;c=j[f>>1]|0;if(c<<16>>16>0){g=a+60|0;b=k[g>>2]|0;e=0;do{d=b+(e*40|0)|0;if(!((j[b+(e*40|0)+8>>1]&9312)==0?(k[b+(e*40|0)+24>>2]|0)==0:0)){Vg(d);b=k[g>>2]|0;c=j[f>>1]|0}j[b+(e*40|0)+8>>1]=1;e=e+1|0}while((e|0)<(c<<16>>16|0))}b=a+88|0;c=j[b>>1]|0;if((c&256)!=0?(k[a+188>>2]|0)!=0:0)j[b>>1]=c|8;return 0}function ud(a){a=a|0;var b=0;b=a+8|0;if(j[b>>1]&18){Wg(a)|0;j[b>>1]=m[b>>1]|0|16;if(!(k[a+12>>2]|0))b=0;else b=k[a+16>>2]|0}else b=Xg(a,1)|0;return b|0}function vd(a){a=a|0;return Xg(a,1)|0}function wd(a){a=a|0;return Yg(a,1)|0}function xd(a){a=a|0;return Yg(a,2)|0}function yd(a){a=a|0;return +(+Zg(a))}function zd(a){a=a|0;a=_g(a)|0;return a|0}function Ad(a){a=a|0;a=_g(a)|0;return a|0}function Bd(a){a=a|0;return Xg(a,2)|0}function Cd(a){a=a|0;return Xg(a,3)|0}function Dd(a){a=a|0;return Xg(a,2)|0}function Ed(a){a=a|0;return l[10064+((m[a+8>>1]|0)&31)>>0]|0|0}function Fd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$g(a,b,c,0,d);return}function Gd(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(d>>>0>0|(d|0)==0&c>>>0>2147483647){c=e;if(!((c|0)==0|(c|0)==-1))hc[e&31](b);if(a){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0}}else $g(a,b,c,0,e);return}function Hd(a,b){a=a|0;b=+b;bh(k[a>>2]|0,b);return}function Id(a,b,c){a=a|0;b=b|0;c=c|0;k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,b,c,1,-1)|0;return}function Jd(a,b,c){a=a|0;b=b|0;c=c|0;k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,b,c,2,-1)|0;return}function Kd(a,b){a=a|0;b=b|0;var c=0,d=0;a=k[a>>2]|0;c=((b|0)<0)<<31>>31;d=a+8|0;if(!(j[d>>1]&9312)){k[a>>2]=b;k[a+4>>2]=c;j[d>>1]=4}else ch(a,b,c);return}function Ld(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=k[a>>2]|0;d=a+8|0;if(!(j[d>>1]&9312)){k[a>>2]=b;k[a+4>>2]=c;j[d>>1]=4}else ch(a,b,c);return}function Md(a){a=a|0;var b=0;a=k[a>>2]|0;b=a+8|0;if(!(j[b>>1]&9312))j[b>>1]=1;else Ag(a);return}function Nd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$g(a,b,c,1,d);return}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;if(d>>>0>0|(d|0)==0&c>>>0>2147483647){c=e;if(!((c|0)==0|(c|0)==-1))hc[e&31](b);if(a){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0}}else $g(a,b,c,f<<24>>24==4?2:f,e);return}function Pd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$g(a,b,c,2,d);return}function Qd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$g(a,b,c,3,d);return}function Rd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;$g(a,b,c,2,d);return}function Sd(a,b){a=a|0;b=b|0;dh(k[a>>2]|0,b)|0;return}function Td(a,b){a=a|0;b=b|0;eh(k[a>>2]|0,b);return}function Ud(a,b){a=a|0;b=b|0;var c=0;k[a+20>>2]=b;i[a+25>>0]=1;c=k[a>>2]|0;if(j[c+8>>1]&1){if((b|0)!=516){a=b&255;if(a>>>0>26|(a|0)==2)a=16328;else a=k[15488+(a<<2)>>2]|0}else a=16344;ah(c,a,-1,1,0)|0}return}function Vd(a){a=a|0;k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0;return}function Wd(a){a=a|0;var b=0,c=0;b=k[a>>2]|0;c=b+8|0;if(!(j[c>>1]&9312))j[c>>1]=1;else{Ag(b);b=k[a>>2]|0}k[a+20>>2]=7;i[a+25>>0]=1;i[(k[b+32>>2]|0)+65>>0]=1;return}function Xd(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,q=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,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;W=r;r=r+224|0;if((r|0)>=(s|0))ka();R=W+8|0;Q=W;if(!(fh(a)|0)){V=k[a>>2]|0;I=a+88|0;j[I>>1]=j[I>>1]&-513;N=a+40|0;O=a+76|0;P=a+128|0;U=a+80|0;z=a+168|0;A=a+8|0;B=a+20|0;C=a+32|0;D=a+4|0;E=a+84|0;T=a+44|0;F=(a|0)==0;G=a+52|0;H=a+48|0;y=0;while(1){if((k[N>>2]|0)!=-1108210269)sd(a)|0;x=k[a>>2]|0;if(i[x+65>>0]|0){S=7;break}c=k[O>>2]|0;do if((c|0)<1){if(j[I>>1]&8){k[U>>2]=17;c=1;break}if((c|0)<0){c=x+148|0;if(!(k[c>>2]|0))k[x+240>>2]=0;if((k[x+184>>2]|0)!=0?(i[x+145>>0]|0)==0:0)gh(k[x>>2]|0,P)|0;k[c>>2]=(k[c>>2]|0)+1;c=j[I>>1]|0;if(!(c&64)){c=x+156|0;k[c>>2]=(k[c>>2]|0)+1;c=j[I>>1]|0}if(c&128){w=x+152|0;k[w>>2]=(k[w>>2]|0)+1}k[O>>2]=0;S=22}else S=22}else S=22;while(0);if((S|0)==22){S=0;do if(!(j[I>>1]&3)){w=x+160|0;k[w>>2]=(k[w>>2]|0)+1;c=lh(a)|0;k[w>>2]=(k[w>>2]|0)+-1;if((c|0)==100)c=100;else S=101}else{g=k[a>>2]|0;v=k[A>>2]|0;u=v+40|0;hh(u,8);k[B>>2]=0;if((k[U>>2]|0)==7){i[g+65>>0]=1;c=1;S=101;break}e=k[C>>2]|0;h=j[I>>1]&3;if(h<<16>>16==1){f=k[A>>2]|0;n=f+360|0;if(j[f+368>>1]&16){o=(k[f+372>>2]|0)>>>2;d=k[f+376>>2]|0;if(!o){q=d;f=e;b=0}else{c=0;f=e;do{f=(k[(k[d+(c<<2)>>2]|0)+4>>2]|0)+f|0;c=c+1|0}while((c|0)<(o|0));q=d;b=o}}else{q=0;f=e;b=0}}else{q=0;f=e;b=0;n=0}e=h<<16>>16==2;d=k[O>>2]|0;while(1){c=d+1|0;if((d|0)>=(f|0)){S=33;break}if(!e)break;if((i[(k[D>>2]|0)+(d*20|0)>>0]|0)==-99)break;else d=c}if((S|0)==33){k[O>>2]=c;k[U>>2]=0;c=101;S=101;break}k[O>>2]=c;if(k[g+240>>2]|0){k[U>>2]=9;k[R>>2]=15832;ih(T,g,10344,R);c=1;S=101;break}f=k[C>>2]|0;if((d|0)<(f|0)){c=d;w=(k[D>>2]|0)+(d*20|0)|0}else{d=d-f|0;f=k[q>>2]|0;e=k[f+4>>2]|0;if((d|0)<(e|0))e=d;else{f=d;c=0;while(1){d=f-e|0;c=c+1|0;f=k[q+(c<<2)>>2]|0;e=k[f+4>>2]|0;if((d|0)<(e|0)){e=d;break}else f=d}}c=e;w=(k[f>>2]|0)+(e*20|0)|0}if((j[I>>1]&3)==1){j[v+48>>1]=4;e=u;k[e>>2]=c;k[e+4>>2]=((c|0)<0)<<31>>31;j[v+88>>1]=2562;e=k[44856+(l[w>>0]<<2)>>2]|0;k[v+96>>2]=e;f=e;while(1)if(!(i[f>>0]|0))break;else f=f+1|0;o=v+80|0;k[v+92>>2]=f-e&1073741823;i[v+90>>0]=1;if((i[w+1>>0]|0)==-18){c=(b<<2)+4|0;a:do if(!b)f=0;else{e=k[w+16>>2]|0;d=0;while(1){f=d+1|0;if((k[q+(d<<2)>>2]|0)==(e|0)){f=d;break a}if((f|0)<(b|0))d=f;else break}}while(0);if((f|0)==(b|0)?(jh(n,c,(b|0)!=0&1)|0)==0:0){k[(k[n+16>>2]|0)+(b<<2)>>2]=k[w+16>>2];v=n+8|0;j[v>>1]=m[v>>1]|16;k[n+12>>2]=c;v=o}else v=o}else v=o}j[v+48>>1]=4;u=k[w+4>>2]|0;q=v+40|0;k[q>>2]=u;k[q+4>>2]=((u|0)<0)<<31>>31;j[v+88>>1]=4;q=k[w+8>>2]|0;u=v+80|0;k[u>>2]=q;k[u+4>>2]=((q|0)<0)<<31>>31;j[v+128>>1]=4;u=k[w+12>>2]|0;q=v+120|0;k[q>>2]=u;k[q+4>>2]=((u|0)<0)<<31>>31;q=v+160|0;if(!(kh(q,32)|0)){j[v+168>>1]=514;u=v+176|0;b=k[u>>2]|0;b:do switch(i[w+1>>0]|0){case -6:{g=k[w+16>>2]|0;c=g+6|0;k[R>>2]=m[c>>1];fd(32,b,44768,R)|0;if(!b)f=0;else{f=b;while(1)if(!(i[f>>0]|0))break;else f=f+1|0;f=f-b&1073741823}c:do if(j[c>>1]|0){h=g+16|0;n=0;while(1){e=k[g+(n<<2)+20>>2]|0;if(e){e=k[e>>2]|0;if(!e){d=0;e=0}else S=61}else{e=44776;S=61}do if((S|0)==61){S=0;o=e;while(1)if(!(i[o>>0]|0))break;else o=o+1|0;d=o-e&1073741823;if((d|0)!=6)break;o=(cw(e,11152,6)|0)==0;d=o?1:6;e=o?44784:e}while(0);if((d+f|0)>26)break;o=f+1|0;i[b+f>>0]=44;if(i[(k[h>>2]|0)+n>>0]|0){i[b+o>>0]=45;o=f+2|0}pw(b+o|0,e|0,d+1|0)|0;f=o+d|0;n=n+1|0;if((n|0)>=(m[c>>1]|0))break c}c=b+f|0;i[c>>0]=44;i[c+1>>0]=46;i[c+2>>0]=46;i[c+3>>0]=46}while(0);i[b+f>>0]=41;i[b+(f+1)>>0]=0;e=b;break}case -15:{fd(32,b,44832,R)|0;e=b;break}case -18:{fd(32,b,44848,R)|0;e=b;break}case -4:{k[R>>2]=k[k[w+16>>2]>>2];fd(32,b,44792,R)|0;e=b;break}case -5:{c=k[w+16>>2]|0;e=j[c>>1]|0;k[R>>2]=k[c+24>>2];k[R+4>>2]=e;fd(32,b,44800,R)|0;e=b;break}case -13:{d=k[w+16>>2]|0;c=k[d+4>>2]|0;e=R;k[e>>2]=k[d>>2];k[e+4>>2]=c;fd(32,b,19920,R)|0;e=b;break}case -14:{k[R>>2]=k[w+16>>2];fd(32,b,44808,R)|0;e=b;break}case -12:{p[t>>3]=+p[k[w+16>>2]>>3];k[R>>2]=k[t>>2];k[R+4>>2]=k[t+4>>2];fd(32,b,19912,R)|0;e=b;break}case -8:{f=k[w+16>>2]|0;e=m[f+8>>1]|0;if(e&2){e=k[f+16>>2]|0;break b}if(e&4){d=f;c=k[d+4>>2]|0;e=R;k[e>>2]=k[d>>2];k[e+4>>2]=c;fd(32,b,19920,R)|0;e=b;break b}if(e&8){p[t>>3]=+p[f>>3];k[R>>2]=k[t>>2];k[R+4>>2]=k[t+4>>2];fd(32,b,19912,R)|0;e=b;break b}if(!(e&1))e=44816;else{fd(32,b,20304,R)|0;e=b}break}case -19:{i[b>>0]=0;e=b;break}case -10:{k[R>>2]=k[(k[w+16>>2]|0)+8>>2];fd(32,b,44824,R)|0;e=b;break}default:{f=k[w+16>>2]|0;if(!f){i[b>>0]=0;e=b}else e=f}}while(0);if((e|0)==(k[u>>2]|0)){if(!e)c=0;else{f=e;while(1)if(!(i[f>>0]|0))break;else f=f+1|0;c=f-e&1073741823}k[v+172>>2]=c;i[v+170>>0]=1}else ah(q,e,-1,1,0)|0;c=j[I>>1]|0;if((c&3)==1){if(kh(v+200|0,4)|0){c=1;S=101;break}j[v+208>>1]=514;k[v+212>>2]=2;c=k[v+216>>2]|0;k[R>>2]=l[w+3>>0];fd(3,c,44760,R)|0;i[v+210>>0]=1;j[v+248>>1]=1;c=j[I>>1]|0}j[E>>1]=12-((c&3)<<2);k[B>>2]=(k[A>>2]|0)+40;k[U>>2]=0;c=100}else{c=1;S=101}}while(0);if((S|0)==101){S=0;b=x+184|0;if(((k[b>>2]|0)!=0?(i[x+145>>0]|0)==0:0)?(k[z>>2]|0)!=0:0){gh(k[x>>2]|0,Q)|0;b=k[b>>2]|0;u=k[x+188>>2]|0;v=k[z>>2]|0;d=Q;w=P;w=iw(k[d>>2]|0,k[d+4>>2]|0,k[w>>2]|0,k[w+4>>2]|0)|0;w=xw(w|0,L|0,1e6,0)|0;vc[b&15](u,v,w,L)}if((c|0)==101){g=x+20|0;f=k[g>>2]|0;if((f|0)>0){h=x+16|0;n=x+216|0;o=x+220|0;b=0;c=0;do{e=k[h>>2]|0;d=k[e+(b<<4)+4>>2]|0;if(((d|0)!=0?(J=k[d+4>>2]|0,k[J+4>>2]=k[d>>2],J=k[(k[J>>2]|0)+208>>2]|0,(J|0)!=0):0)?(M=J+12|0,K=k[M>>2]|0,k[M>>2]=0,M=k[n>>2]|0,(M|0)!=0&(K|0)>0&(c|0)==0):0){c=uc[M&31](k[o>>2]|0,x,k[e+(b<<4)>>2]|0,K)|0;f=k[g>>2]|0}b=b+1|0}while((b|0)<(f|0))}else c=0;k[U>>2]=c;c=(c|0)==0?101:1}}k[x+52>>2]=c;if((Tg(k[a>>2]|0,k[U>>2]|0)|0)==7)k[U>>2]=7}if((j[I>>1]&256)!=0&(c|0)!=100&(c|0)!=101)c=mh(a)|0;b=k[x+56>>2]&c;if((b|0)!=17)break;f=y+1|0;if((y|0)>=50){b=17;break}d=k[O>>2]|0;if(!F?(j[I>>1]&256)!=0:0)c=k[z>>2]|0;else c=0;e=k[a>>2]|0;b=nh(e,c,-1,0,a,Q,0)|0;if((b|0)==7){b=e;S=124;break}else if(b){S=127;break}y=k[Q>>2]|0;pw(R|0,y|0,208)|0;pw(y|0,a|0,208)|0;pw(a|0,R|0,208)|0;w=y+52|0;x=k[w>>2]|0;k[w>>2]=k[G>>2];k[G>>2]=x;x=y+48|0;w=k[x>>2]|0;k[x>>2]=k[H>>2];k[H>>2]=w;w=y+168|0;x=k[w>>2]|0;k[w>>2]=k[z>>2];k[z>>2]=x;j[I>>1]=j[I>>1]&-257|j[y+88>>1]&256;oh(y,a);k[y+80>>2]=0;Sg(y)|0;sd(a)|0;if((d|0)<=-1){y=f;continue}j[I>>1]=j[I>>1]|512;y=f}if((S|0)==7){k[U>>2]=7;b=7}else if((S|0)==124){i[b+65>>0]=1;b=7;S=127}do if((S|0)==127){c=Xg(k[V+236>>2]|0,1)|0;rg(V,k[T>>2]|0);if(!(i[V+65>>0]|0)){F=ph(V,c)|0;k[T>>2]=F;k[U>>2]=b;break}else{k[T>>2]=0;k[U>>2]=7;b=7;break}}while(0);b=Tg(V,b)|0}else{k[R>>2]=69408;k[R+4>>2]=10788;gd(21,13648,R);b=21}r=W;return b|0}function Yd(a){a=a|0;return k[(k[a+4>>2]|0)+4>>2]|0}function Zd(a){a=a|0;return k[(k[a>>2]|0)+32>>2]|0}function _d(a,b){a=a|0;b=b|0;var c=0;c=k[a+8>>2]|0;if(!(j[c+8>>1]&8192))c=qh(a,b)|0;else c=k[c+16>>2]|0;return c|0}function $d(a,b){a=a|0;b=b|0;var c=0;c=k[(k[a+12>>2]|0)+204>>2]|0;a:do if(!c)c=0;else{a=k[a+16>>2]|0;while(1){if((k[c>>2]|0)==(a|0)?(k[c+4>>2]|0)==(b|0):0)break;c=k[c+16>>2]|0;if(!c){c=0;break a}}c=k[c+8>>2]|0}while(0);return c|0}function ae(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,j=0;f=k[a+12>>2]|0;do if((b|0)<0)j=14;else{h=f+204|0;e=k[h>>2]|0;a:do if(e){g=k[a+16>>2]|0;while(1){if((k[e>>2]|0)==(g|0)?(k[e+4>>2]|0)==(b|0):0)break;e=k[e+16>>2]|0;if(!e){j=8;break a}}if(e){f=k[e+12>>2]|0;if(f)hc[f&31](k[e+8>>2]|0)}else j=8}else j=8;while(0);if((j|0)==8){e=rh(k[f>>2]|0,20,0)|0;if(!e){j=14;break}f=e+0|0;g=f+16|0;do{i[f>>0]=0;f=f+1|0}while((f|0)<(g|0));k[e>>2]=k[a+16>>2];k[e+4>>2]=b;k[e+16>>2]=k[h>>2];k[h>>2]=e;f=a+25|0;if(!(i[f>>0]|0)){k[a+20>>2]=0;i[f>>0]=1}}k[e+8>>2]=c;k[e+12>>2]=d}while(0);if((j|0)==14?(d|0)!=0:0)hc[d&31](c);return}function be(a){a=a|0;return k[(k[a+8>>2]|0)+12>>2]|0}function ce(a){a=a|0;if(!a)a=0;else a=m[a+84>>1]|0;return a|0}function de(a){a=a|0;if((a|0)!=0?(k[a+20>>2]|0)!=0:0)a=m[a+84>>1]|0;else a=0;return a|0}function ee(a,b){a=a|0;b=b|0;var c=0;b=ud(sh(a,b)|0)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function fe(a,b){a=a|0;b=b|0;var c=0;b=Yg(sh(a,b)|0,1)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function ge(a,b){a=a|0;b=b|0;var c=0;b=Yg(sh(a,b)|0,2)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function he(a,b){a=a|0;b=b|0;var c=0.0;c=+Zg(sh(a,b)|0);if(a){b=a+80|0;a=Tg(k[a>>2]|0,k[b>>2]|0)|0;k[b>>2]=a}return +c}function ie(a,b){a=a|0;b=b|0;var c=0;b=_g(sh(a,b)|0)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function je(a,b){a=a|0;b=b|0;var c=0,d=0;b=_g(sh(a,b)|0)|0;c=L;if(a){d=a+80|0;a=Tg(k[a>>2]|0,k[d>>2]|0)|0;k[d>>2]=a}L=c;return b|0}function ke(a,b){a=a|0;b=b|0;var c=0;b=Xg(sh(a,b)|0,1)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function le(a,b){a=a|0;b=b|0;var c=0,d=0;b=sh(a,b)|0;c=b+8|0;d=m[c>>1]|0;if(d&2048)j[c>>1]=d&59391|4096;if(a){c=a+80|0;d=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=d}return b|0}function me(a,b){a=a|0;b=b|0;var c=0;b=Xg(sh(a,b)|0,2)|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function ne(a,b){a=a|0;b=b|0;var c=0;b=(sh(a,b)|0)+8|0;b=l[10064+((m[b>>1]|0)&31)>>0]|0;if(a){c=a+80|0;a=Tg(k[a>>2]|0,k[c>>2]|0)|0;k[c>>2]=a}return b|0}function oe(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a>>2]|0;if(!a)c=0;else c=m[a+84>>1]|0;if((c|0)>(b|0)&(b|0)>-1){b=Xg((k[a+16>>2]|0)+(b*40|0)|0,1)|0;c=d+65|0;if(i[c>>0]|0){i[c>>0]=0;b=0}}else b=0;return b|0}function pe(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a>>2]|0;if(!a)c=0;else c=m[a+84>>1]|0;if((c|0)>(b|0)&(b|0)>-1){b=Xg((k[a+16>>2]|0)+(b*40|0)|0,2)|0;c=d+65|0;if(i[c>>0]|0){i[c>>0]=0;b=0}}else b=0;return b|0}function qe(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a>>2]|0;if(!a)c=0;else c=m[a+84>>1]|0;if((c|0)>(b|0)&(b|0)>-1){b=Xg((k[a+16>>2]|0)+((c+b|0)*40|0)|0,1)|0;c=d+65|0;if(i[c>>0]|0){i[c>>0]=0;b=0}}else b=0;return b|0}function re(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a>>2]|0;if(!a)c=0;else c=m[a+84>>1]|0;if((c|0)>(b|0)&(b|0)>-1){b=Xg((k[a+16>>2]|0)+((c+b|0)*40|0)|0,2)|0;c=d+65|0;if(i[c>>0]|0){i[c>>0]=0;b=0}}else b=0;return b|0}function se(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return th(a,b,c,d,e,0)|0}function te(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>>>0>0|(e|0)==0&d>>>0>2147483647){d=f;if((d|0)==0|(d|0)==-1)d=18;else{hc[f&31](c);d=18}}else d=th(a,b,c,d,f,0)|0;return d|0}function ue(a,b,c){a=a|0;b=b|0;c=+c;var d=0;d=uh(a,b)|0;if(!d)bh((k[a+60>>2]|0)+((b+-1|0)*40|0)|0,c);return d|0}function ve(a,b,c){a=a|0;b=b|0;c=c|0;return we(a,b,c,((c|0)<0)<<31>>31)|0}function we(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=uh(a,b)|0;do if(!e){b=b+-1|0;f=k[a+60>>2]|0;a=f+(b*40|0)|0;b=f+(b*40|0)+8|0;if(!(j[b>>1]&9312)){k[a>>2]=c;k[a+4>>2]=d;j[b>>1]=4;break}else{ch(a,c,d);break}}while(0);return e|0}function xe(a,b){a=a|0;b=b|0;return uh(a,b)|0}function ye(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return th(a,b,c,d,e,1)|0}function ze(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;if(e>>>0>0|(e|0)==0&d>>>0>2147483647){d=f;if((d|0)==0|(d|0)==-1)d=18;else{hc[f&31](c);d=18}}else d=th(a,b,c,d,f,g<<24>>24==4?2:g)|0;return d|0}function Ae(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return th(a,b,c,d,e,2)|0}function Be(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=j[c+8>>1]|0;e=l[10064+(d&31)>>0]|0;do if((e|0)==3)d=th(a,b,k[c+16>>2]|0,k[c+12>>2]|0,-1,i[c+10>>0]|0)|0;else if((e|0)==2)d=ue(a,b,+p[c>>3])|0;else if((e|0)==4)if(!(d&16384)){d=th(a,b,k[c+16>>2]|0,k[c+12>>2]|0,-1,0)|0;break}else{d=Ce(a,b,k[c>>2]|0)|0;break}else if((e|0)==1){d=c;d=we(a,b,k[d>>2]|0,k[d+4>>2]|0)|0}else d=uh(a,b)|0;while(0);return d|0}function Ce(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=uh(a,b)|0;if(!d)eh((k[a+60>>2]|0)+((b+-1|0)*40|0)|0,c);return d|0}function De(a){a=a|0;if(!a)a=0;else a=j[a+68>>1]|0;return a|0}function Ee(a,b){a=a|0;b=b|0;if(!((a|0)==0|(b|0)<1)?(j[a+70>>1]|0)>=(b|0):0)b=k[(k[a+64>>2]|0)+(b+-1<<2)>>2]|0;else b=0;return b|0}function Fe(a,b){a=a|0;b=b|0;var c=0;if(!b)c=0;else{c=b;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;c=c-b&1073741823}return vh(a,b,c)|0}function Ge(a,b){a=a|0;b=b|0;var c=0,d=0;if((j[a+68>>1]|0)==(j[b+68>>1]|0)){d=b+88|0;c=j[d>>1]|0;if((c&256)!=0?(k[b+188>>2]|0)!=0:0)j[d>>1]=c|8;c=a+88|0;d=j[c>>1]|0;if((d&256)!=0?(k[a+188>>2]|0)!=0:0)j[c>>1]=d|8;oh(a,b);c=0}else c=1;return c|0}function He(a){a=a|0;if(!a)a=0;else a=k[a>>2]|0;return a|0}function Ie(a){a=a|0;if(!a)a=1;else a=(m[a+88>>1]|0)>>>6&1;return a|0}function Je(a){a=a|0;if((a|0)!=0?(k[a+76>>2]|0)>-1:0)a=(k[a+40>>2]|0)==-1108210269;else a=0;return a&1|0}function Ke(a,b){a=a|0;b=b|0;if(!b)a=a+4|0;else a=b+52|0;return k[a>>2]|0}function Le(a,b,c){a=a|0;b=b|0;c=c|0;a=a+(b<<2)+108|0;b=k[a>>2]|0;if(c)k[a>>2]=0;return b|0}function Me(a){a=a|0;var b=0,c=0,d=0;c=a+8|0;d=m[c>>1]|0;b=l[10064+(d&31)>>0]|0;if((d&15|0)==2){wh(a,0);b=l[10064+((m[c>>1]|0)&31)>>0]|0}return b|0}function Ne(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 l=0,m=0,n=0,o=0,p=0,q=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,N=0,O=0,P=0,Q=0,R=0;R=r;r=r+16|0;if((r|0)>=(s|0))ka();P=R;Q=R+4|0;k[Q>>2]=0;k[h>>2]=0;K=(g|0)!=0;L=K&1;N=rh(a,28,0)|0;do if(N){g=N+0|0;n=g+28|0;do{i[g>>0]=0;g=g+1|0}while((g|0)<(n|0));n=rh(a,536,0)|0;if(n){H=a+20|0;I=a+16|0;y=a+24|0;g=N+20|0;z=N+12|0;A=N+24|0;B=a+65|0;C=L^3;D=L|2;E=n+440|0;F=n+72|0;G=n+68|0;m=0;J=1;l=0;while(1){kw(n|0,0,536)|0;k[n>>2]=a;rg(a,m);k[Q>>2]=0;m=k[H>>2]|0;if((m|0)>0){o=k[I>>2]|0;q=0;do{p=k[o+(q<<4)+4>>2]|0;if(p)k[(k[p+4>>2]|0)+4>>2]=k[p>>2];q=q+1|0}while((q|0)!=(m|0))}x=xh(n,0,c,b)|0;if(!x)break;m=i[x+44>>0]|0;if(m&16){O=11;break}if(m&32){O=13;break}if(k[x+12>>2]|0){O=17;break}w=x+38|0;t=j[w>>1]|0;a:do if(t<<16>>16>0){q=k[x+4>>2]|0;p=t<<16>>16;m=0;while(1){o=m+1|0;if(!(id(k[q+(m*24|0)>>2]|0,d)|0)){o=m;break a}if((o|0)<(p|0))m=o;else break}}else o=0;while(0);if((o|0)==(t<<16>>16|0)){O=23;break}if(K){if((k[y>>2]&524288|0)!=0?(M=k[x+16>>2]|0,(M|0)!=0):0){u=M;m=0;do{t=k[u+20>>2]|0;if((t|0)>0){q=0;do{m=(k[u+(q<<3)+36>>2]|0)==(o|0)?10280:m;q=q+1|0}while((q|0)<(t|0))}u=k[u+4>>2]|0}while((u|0)!=0)}else m=0;q=k[x+8>>2]|0;if(q)do{p=j[q+46>>1]|0;if(p<<16>>16){v=k[q+4>>2]|0;t=p&65535;u=0;do{m=(j[v+(u<<1)>>1]|0)==(o|0)?10296:m;u=u+1|0}while((u|0)<(t|0))}q=k[q+20>>2]|0}while((q|0)!=0);if(m){O=36;break}}v=Ah(n)|0;k[g>>2]=v;if(v){u=k[x+68>>2]|0;b:do if(u){t=k[H>>2]|0;if((t|0)>0){q=k[I>>2]|0;m=0;while(1){p=m+1|0;if((k[q+(m<<4)+12>>2]|0)==(u|0)){p=m;break b}if((p|0)<(t|0))m=p;else break}}else p=0}else p=-1e6;while(0);m=k[u+4>>2]|0;Ch(v,Bh(v,4,p,L,k[u>>2]|0)|0,m,-14);m=v+4|0;q=k[m>>2]|0;t=v+32|0;if(q)i[q+(((k[t>>2]|0)+-1|0)*20|0)+3>>0]=1;Dh(v,10,10120)|0;q=v+96|0;k[q>>2]=k[q>>2]|1<<p;if((k[t>>2]|0)>>>0>1){u=k[m>>2]|0;k[u+24>>2]=p;q=x+32|0;k[u+28>>2]=k[q>>2];k[(k[m>>2]|0)+32>>2]=L}else q=x+32|0;Ch(v,1,k[x>>2]|0,0);Eh(v,C);if((k[t>>2]|0)>>>0>D>>>0){k[(k[m>>2]|0)+(D*20|0)+8>>2]=k[q>>2];k[(k[m>>2]|0)+(D*20|0)+12>>2]=p}Ch(v,D,(j[w>>1]|0)+1|0,-14);if((k[t>>2]|0)>>>0>6)k[(k[m>>2]|0)+128>>2]=j[w>>1];if(!(i[B>>0]|0)){k[E>>2]=1;k[F>>2]=1;k[G>>2]=1;Fh(v,n)}}k[N>>2]=L;k[z>>2]=o;k[A>>2]=a;if(i[B>>0]|0){O=57;break}we(k[g>>2]|0,1,e,f)|0;l=Gh(N,e,f,Q)|0;if(!((J|0)<50&(l|0)==17)){O=57;break}m=k[Q>>2]|0;J=J+1|0;l=17}if((O|0)==11){k[P>>2]=c;yh(n,10160,P)}else if((O|0)==13){k[P>>2]=c;yh(n,10192,P)}else if((O|0)==17){k[P>>2]=c;yh(n,10232,P)}else if((O|0)==23){rg(a,0);k[P>>2]=d;l=zh(a,10256,P)|0;k[Q>>2]=l;l=1;O=62;break}else if((O|0)==36){rg(a,0);k[P>>2]=m;l=zh(a,10304,P)|0;k[Q>>2]=l;l=1;O=62;break}else if((O|0)==57)if(!l){l=1;m=n;O=58;break}else{m=n;O=61;break}m=n+4|0;if(!(k[m>>2]|0)){l=1;O=62}else{rg(a,0);k[Q>>2]=k[m>>2];k[m>>2]=0;l=1;O=62}}else{l=1;m=n;O=58}}else{l=0;m=0;O=58}while(0);do if((O|0)==58)if(i[a+65>>0]|0)if(l){l=0;O=61;break}else{l=0;O=64;break}else{k[h>>2]=N;l=0;break}while(0);if((O|0)==61){g=N+20|0;n=m;O=62}if((O|0)==62){m=k[g>>2]|0;if(!m){m=n;O=64}else{Sg(m)|0;m=n;O=64}}if((O|0)==64)rg(a,N);H=k[Q>>2]|0;k[P>>2]=H;zg(a,l,(H|0)!=0?10344:0,P);rg(a,H);Hh(m);rg(a,m);H=Tg(a,l)|0;r=R;return H|0}function Oe(a){a=a|0;var b=0,c=0;if(!a)a=0;else{c=k[a+24>>2]|0;b=rd(k[a+20>>2]|0)|0;rg(c,a);a=b}return a|0}function Pe(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Jh(a,b,c,d,18)|0}function Qe(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Jh(a,b,c,d,19)|0}function Re(a){a=a|0;if((a|0)!=0?(k[a+20>>2]|0)!=0:0)a=k[a+4>>2]|0;else a=0;return a|0}function Se(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();d=g;e=g+8|0;if(!a){k[d>>2]=77720;k[d+4>>2]=10788;gd(21,13648,d);b=21}else{f=k[a+24>>2]|0;if(k[a+20>>2]|0){b=Gh(a,b,c,e)|0;if(!b)b=0;else{c=k[e>>2]|0;k[d>>2]=c;zg(f,b,(c|0)!=0?10344:0,d);rg(f,c)}}else b=4;b=Tg(f,b)|0}r=g;return b|0}function Te(a,b,c){a=a|0;b=b|0;c=c|0;k[a+284>>2]=b;k[a+288>>2]=c;a=k[a+4>>2]|0;if(a)do{c=a+88|0;j[c>>1]=j[c>>1]|8;a=k[a+52>>2]|0}while((a|0)!=0);return 0}function Ue(a,b){a=a|0;b=b|0;return (Lh(a,b,10352,0)|0)==0|0}function Ve(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,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=r;r=r+16|0;if((r|0)>=(s|0))ka();g=B;x=B+12|0;y=B+8|0;k[y>>2]=0;do if(Mh(a)|0){f=(b|0)==0?10360:b;z=a+52|0;k[z>>2]=0;A=a+236|0;g=k[A>>2]|0;do if(g){b=g+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;break}else{Ag(g);break}}while(0);u=(c|0)==0;v=a+24|0;g=0;a:while(1){do{if(g){h=39;break a}if(!(i[f>>0]|0)){g=0;h=39;break a}k[y>>2]=0;g=nh(a,f,-1,1,0,y,x)|0}while((g|0)!=0);f=k[y>>2]|0;if(!f){f=k[x>>2]|0;g=0;continue}t=j[f+84>>1]|0;p=t&65535;q=p<<3|1;t=t<<16>>16==0;b=0;h=0;m=0;b:do{g=Xd(f)|0;do if(!u){n=(g|0)==100;if(!n){if((g|0)!=101|(m|0)!=0)break b;if(!(k[v>>2]&256)){m=0;break}}if(!m){b=rh(a,q,0)|0;if(!b){b=0;h=40;break a}kw(b|0,0,q|0)|0;if(t)o=1;else{m=0;do{o=oe(f,m)|0;k[b+(m<<2)>>2]=o;m=m+1|0}while((m|0)<(p|0));o=1}}else o=m;c:do if(n){h=b+(p<<2)|0;if(!t){m=0;while(1){n=ke(f,m)|0;k[b+(m+p<<2)>>2]=n;if((n|0)==0?(w=k[y>>2]|0,(ne(w,m)|0)!=5):0){g=w;h=27;break a}m=m+1|0;if((m|0)>=(p|0))break c;f=k[y>>2]|0}}}while(0);if(!(uc[c&31](d,p,h,b)|0))m=o;else{f=b;h=31;break a}}while(0);f=k[y>>2]|0}while((g|0)==100);g=Sg(f)|0;k[y>>2]=0;f=k[x>>2]|0;while(1)if(!(i[10368+(l[f>>0]|0)>>0]&1))break;else f=f+1|0;rg(a,b)}do if((h|0)==27){i[a+65>>0]=1;f=g;g=100;h=40}else if((h|0)==31){Sg(k[y>>2]|0)|0;k[y>>2]=0;k[z>>2]=4;g=k[A>>2]|0;if(g){b=g+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;b=f;g=4;break}else{Ag(g);b=f;g=4;break}}else{b=f;g=4}}else if((h|0)==39){f=k[y>>2]|0;b=0;h=40}while(0);if((h|0)==40)if(f)Sg(f)|0;rg(a,b);f=Tg(a,g)|0;b=(e|0)!=0;if(!((f|0)!=0&b)){if(!b)break;k[e>>2]=0;break}b=Xe(a)|0;if(!b)b=1;else{g=b;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;b=(g-b&1073741823)+1|0}g=vg(b,((b|0)<0)<<31>>31)|0;k[e>>2]=g;if(g){pw(g|0,Xe(a)|0,b|0)|0;break}k[z>>2]=7;f=k[A>>2]|0;if(f){b=f+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;f=7;break}else{Ag(f);f=7;break}}else f=7}else{k[g>>2]=101334;k[g+4>>2]=10788;gd(21,13648,g);f=21}while(0);r=B;return f|0}function We(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return nh(a,b,c,1,0,d,e)|0}function Xe(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;do if(a){d=k[a+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){k[b>>2]=15248;gd(21,15256,b);k[b>>2]=129635;k[b+4>>2]=10788;gd(21,13648,b);b=16120;break}if(!(i[a+65>>0]|0)){b=Xg(k[a+236>>2]|0,1)|0;if(!b){b=k[a+52>>2]|0;if((b|0)!=516){b=b&255;if(b>>>0>26|(b|0)==2)b=16328;else b=k[15488+(b<<2)>>2]|0}else b=16344}}else b=15776}else b=15776;while(0);r=c;return b|0}function Ye(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,j=0,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0;u=r;r=r+16|0;if((r|0)>=(s|0))ka();q=u;t=u+8|0;p=k[a>>2]|0;k[t>>2]=0;j=(b|0)==0;if(j)e=0;else{h=b;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;e=h-b&1073741823}n=e+300|0;m=(d|0)!=0;if(m)k[d>>2]=0;do if(!(k[a+24>>2]&4194304))if(m){e=dd(25216,q)|0;k[d>>2]=e;e=1}else e=1;else{l=(c|0)!=0?c:41192;g=p+40|0;h=wc[k[g>>2]&127](p,b)|0;if(!h){k[q>>2]=b;k[q+4>>2]=41184;f=dd(27824,q)|0;if(!f){e=7;break}h=wc[k[g>>2]&127](p,f)|0;$c(f);if(!h){if(!m){e=1;break}h=Yc(n)|0;k[t>>2]=h;k[d>>2]=h;if(!h){e=1;break}k[q>>2]=b;fd(n,h,41216,q)|0;rc[k[p+44>>2]&63](p,e+299|0,h);e=1;break}else o=h}else o=h;e=p+48|0;h=fc[k[e>>2]&63](p,o,l)|0;if((h|0)==0&(c|0)==0){if(j)h=0;else{h=b;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;h=h-b&1073741823}c=Yc(h+30|0)|0;if(!c){oc[k[p+52>>2]&15](p,o);e=7;break}l=c;j=l;i[j>>0]=115;i[j+1>>0]=113;i[j+2>>0]=108;i[j+3>>0]=105;l=l+4|0;i[l>>0]=116;i[l+1>>0]=101;i[l+2>>0]=51;i[l+3>>0]=95;while(1){g=h+-1|0;if((h|0)<=0)break;if((i[b+g>>0]|0)==47)break;else h=g}f=(Kc(b+h|0,41256,3)|0)==0;g=8;f=f?h+3|0:h;while(1){h=i[b+f>>0]|0;if(h<<24>>24==0|h<<24>>24==46){h=g;break}if(!(i[10368+(h&255)>>0]&2))h=g;else{i[c+g>>0]=i[9328+(h<<24>>24)>>0]|0;h=g+1|0}g=h;f=f+1|0}h=c+h|0;i[h+0>>0]=i[41264]|0;i[h+1>>0]=i[41265]|0;i[h+2>>0]=i[41266]|0;i[h+3>>0]=i[41267]|0;i[h+4>>0]=i[41268]|0;i[h+5>>0]=i[41269]|0;h=fc[k[e>>2]&63](p,o,c)|0;e=c;f=c}else{e=0;f=l}if(!h){if(m){if(!f)h=0;else{h=f;while(1)if(!(i[h>>0]|0))break;else h=h+1|0;h=h-f&1073741823}h=h+n|0;g=Yc(h)|0;k[t>>2]=g;k[d>>2]=g;if(g){k[q>>2]=f;k[q+4>>2]=b;fd(h,g,41272,q)|0;rc[k[p+44>>2]&63](p,h+-1|0,g)}}oc[k[p+52>>2]&15](p,o);$c(e);e=1;break}$c(e);if(fc[h&63](a,t,13776)|0){if(m){k[q>>2]=k[t>>2];n=dd(41320,q)|0;k[d>>2]=n}$c(k[t>>2]|0);oc[k[p+52>>2]&15](p,o);e=1;break}g=a+168|0;e=(k[g>>2]<<2)+4|0;h=rh(a,e,0)|0;if(!h)e=7;else{kw(h|0,0,e|0)|0;e=k[g>>2]|0;f=a+172|0;if((e|0)>0)pw(h|0,k[f>>2]|0,e<<2|0)|0;rg(a,k[f>>2]|0);k[f>>2]=h;e=k[g>>2]|0;k[g>>2]=e+1;k[h+(e<<2)>>2]=o;e=0}}while(0);o=Tg(a,e)|0;r=u;return o|0}function Ze(a){a=a|0;var b=0,c=0,d=0,e=0;b=Qc()|0;if(!b){e=k[2656]|0;a:do if((e|0)>0){c=k[2658]|0;d=0;while(1){b=d+1|0;if((k[c+(d<<2)>>2]|0)==(a|0)){b=d;break a}if((b|0)<(e|0))d=b;else break}}else b=0;while(0);if((b|0)==(e|0)){b=ad(k[2658]|0,(e<<2)+4|0)|0;if(!b)b=7;else{k[2658]=b;c=k[2656]|0;k[b+(c<<2)>>2]=a;k[2656]=c+1;b=0}}else b=0}return b|0}function _e(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=k[2656]|0;e=k[2658]|0;c=d;while(1){if((c|0)<=0){b=0;break}c=c+-1|0;b=e+(c<<2)|0;if((k[b>>2]|0)==(a|0)){f=4;break}}if((f|0)==4){c=d+-1|0;k[2656]=c;k[b>>2]=k[e+(c<<2)>>2];b=1}return b|0}function $e(){if(!(Qc()|0)){$c(k[2658]|0);k[2658]=0;k[2656]=0}return}function af(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return nh(a,b,c,0,0,d,e)|0}function bf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Nh(a,b,c,0,d,e)|0}function cf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Nh(a,b,c,1,d,e)|0}function df(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,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0;v=r;r=r+32|0;if((r|0)>=(s|0))ka();l=v;o=v+4|0;k[c>>2]=0;p=(e|0)!=0;if(p)k[e>>2]=0;q=(d|0)!=0;if(q)k[d>>2]=0;i=(f|0)!=0;if(i)k[f>>2]=0;j=o+4|0;k[j>>2]=0;t=o+12|0;k[t>>2]=0;u=o+16|0;k[u>>2]=0;h=o+20|0;k[h>>2]=1;m=o+8|0;k[m>>2]=20;n=o+24|0;k[n>>2]=0;g=Yc(80)|0;k[o>>2]=g;a:do if(g){k[g>>2]=0;b=Ve(a,b,20,o,f)|0;k[k[o>>2]>>2]=k[h>>2];if((b&255|0)==4){ef((k[o>>2]|0)+4|0);b=k[j>>2]|0;if(b){if(i){$c(k[f>>2]|0);k[l>>2]=k[j>>2];b=dd(10344,l)|0;k[f>>2]=b;b=k[j>>2]|0}$c(b)}b=k[n>>2]|0;k[a+52>>2]=b;break}$c(k[j>>2]|0);if(b){ef((k[o>>2]|0)+4|0);break}g=k[h>>2]|0;b=k[o>>2]|0;do if((k[m>>2]|0)>>>0>g>>>0){b=ad(b,g<<2)|0;if(!b){ef((k[o>>2]|0)+4|0);k[a+52>>2]=7;b=7;break a}else{k[o>>2]=b;break}}while(0);k[c>>2]=b+4;if(p)k[e>>2]=k[u>>2];if(q){k[d>>2]=k[t>>2];b=0}else b=0}else{k[a+52>>2]=7;b=7}while(0);r=v;return b|0}function ef(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){b=a+-4|0;d=k[b>>2]|0;c=d;if((d|0)>1){e=1;do{d=k[a+(e+-1<<2)>>2]|0;if(d)$c(d);e=e+1|0}while((e|0)<(c|0))}$c(b)}return}function ff(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Ph(a,b,c,d,0)|0}function gf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ph(a,b,c,d,e)|0}function hf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;n=r;r=r+16|0;if((r|0)>=(s|0))ka();m=n;d=n+8|0;k[d>>2]=0;e=a+324|0;c=k[e>>2]|0;if((c|0)!=0?(h=k[c+4>>2]|0,(h|0)!=0):0){l=rh(a,536,0)|0;if(!l)b=7;else{kw(l|0,0,536)|0;f=l+451|0;i[f>>0]=1;k[l>>2]=a;k[l+424>>2]=1;if(((((Qh(l,b,d)|0)==0?(g=k[l+484>>2]|0,(g|0)!=0):0)?(i[a+65>>0]|0)==0:0)?(k[g+12>>2]|0)==0:0)?(i[g+44>>0]&16)==0:0){c=h+4|0;if(!(k[c>>2]|0)){m=g+4|0;k[c>>2]=k[m>>2];g=g+38|0;j[h+38>>1]=j[g>>1]|0;j[g>>1]=0;k[m>>2]=0}k[(k[e>>2]|0)+4>>2]=0;b=0}else{b=k[d>>2]|0;k[m>>2]=b;zg(a,1,(b|0)!=0?10344:0,m);rg(a,b);b=1}i[f>>0]=0;c=k[l+8>>2]|0;if(c)Sg(c)|0;pg(a,k[l+484>>2]|0);Hh(l);rg(a,l)}b=Tg(a,b)|0}else{k[a+52>>2]=21;c=k[a+236>>2]|0;do if(c){b=c+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;break}else{Ag(c);break}}while(0);k[m>>2]=114865;k[m+4>>2]=10788;gd(21,13648,m);b=21}r=n;return b|0}function jf(a){a=a|0;return l[10640+((l[a+69>>0]|0)+-1)>>0]|0|0}function kf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=r;r=r+32|0;if((r|0)>=(s|0))ka();e=g;d=g+8|0;k[d>>2]=c;do if((b|0)==1){b=k[a+324>>2]|0;if(!b){k[e>>2]=115248;k[e+4>>2]=10788;gd(21,13648,e);f=6;break}else{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;i[(k[b>>2]|0)+16>>0]=c;b=0;break}}else{k[e>>2]=115256;k[e+4>>2]=10788;gd(21,13648,e);f=6}while(0);do if((f|0)==6){k[a+52>>2]=21;b=k[a+236>>2]|0;if(b){c=b+8|0;if(!(j[c>>1]&9312)){j[c>>1]=1;b=21;break}else{Ag(b);b=21;break}}else b=21}while(0);r=g;return b|0}function lf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=i[a>>0]|0;a:do if(b<<24>>24){e=b;b=0;b:while(1){d=e<<24>>24;switch(d|0){case 45:{if((i[a+1>>0]|0)==45){c=e;while(1){d=c<<24>>24==0;e=a+1|0;if(!(c<<24>>24!=10&(d^1)))break;a=e;c=i[e>>0]|0}if(d){f=13;break b}else c=1}else c=2;break}case 91:{do{a=a+1|0;d=i[a>>0]|0;c=d<<24>>24==0}while(d<<24>>24!=93&(c^1));if(c){b=0;break a}else c=2;break}case 12:case 10:case 9:case 13:case 32:{c=1;break}case 39:case 34:case 96:{do{a=a+1|0;d=i[a>>0]|0;c=d<<24>>24==0}while(d<<24>>24!=e<<24>>24&(c^1));if(c){b=0;break a}else c=2;break}case 47:{if((i[a+1>>0]|0)==42){a=a+2|0;while(1){c=i[a>>0]|0;if(c<<24>>24==42){a=a+1|0;if((i[a>>0]|0)==47){c=1;break}else continue}else if(!(c<<24>>24)){b=0;break a}else{a=a+1|0;continue}}}else c=2;break}case 59:{c=0;break}default:if(!(i[10368+(e&255)>>0]&70))c=2;else{c=1;while(1)if(!(i[10368+(l[a+c>>0]|0)>>0]&70)){e=c;break}else c=c+1|0;c:do switch(d|0){case 67:case 99:{if((e|0)==6?(Kc(a,10712,6)|0)==0:0){c=4;break c}c=2;break}case 84:case 116:{if((e|0)==7){if(!(Kc(a,10720,7)|0)){c=6;break c}}else if((e|0)==4){if(!(Kc(a,10728,4)|0)){c=5;break c}}else if((e|0)==9?(Kc(a,10736,9)|0)==0:0){c=5;break c}c=2;break}case 69:case 101:{if((e|0)==3){if(!(Kc(a,10752,3)|0)){c=7;break c}}else if((e|0)==7?(Kc(a,10760,7)|0)==0:0){c=3;break c}c=2;break}default:c=2}while(0);a=a+(e+-1)|0}}b=i[(c&255)+(10648+((b&255)<<3))>>0]|0;a=a+1|0;e=i[a>>0]|0;if(!(e<<24>>24)){f=35;break}}if((f|0)==13){b=b<<24>>24==1&1;break}else if((f|0)==35){b=b<<24>>24==1;f=36;break}}else{b=0;f=36}while(0);if((f|0)==36)b=b&1;return b|0}function mf(a){a=a|0;var b=0,c=0,d=0;b=Qc()|0;if(!b){c=vg(40,0)|0;if(c){b=c+0|0;d=b+40|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(d|0));j[c+8>>1]=1;k[c+32>>2]=0;ah(c,a,-1,2,0)|0}b=Xg(c,1)|0;if(!b)b=7;else b=(lf(b)|0)&255;Rh(c)}return b|0}function nf(){return 8632}function of(){return 10768}function pf(){return 3008009}function qf(){return 0}function rf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=r;r=r+32|0;if((r|0)>=(s|0))ka();c=e;d=e+8|0;if(!(k[2243]|0)){k[d>>2]=b;do switch(a|0){case 5:{if(!(k[2195]|0)){k[c>>2]=16496;rf(4,c)|0}a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[c+0>>2]=k[2195];k[c+4>>2]=k[2196];k[c+8>>2]=k[2197];k[c+12>>2]=k[2198];k[c+16>>2]=k[2199];k[c+20>>2]=k[2200];k[c+24>>2]=k[2201];k[c+28>>2]=k[2202];c=0;break}case 17:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2189]=c;c=0;break}case 20:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2190]=c;c=0;break}case 19:{if(!(k[2214]|0)){k[c>>2]=16440;rf(18,c)|0}a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;c=c+0|0;a=8848|0;d=c+52|0;do{k[c>>2]=k[a>>2];c=c+4|0;a=a+4|0}while((c|0)<(d|0));c=0;break}case 16:{c=k[d>>2]|0;a=k[c>>2]|0;k[d>>2]=c+4;k[2250]=a;a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2251]=c;c=0;break}case 13:{c=k[d>>2]|0;a=k[c>>2]|0;k[d>>2]=c+4;k[2193]=a;a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2194]=c;c=0;break}case 7:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2237]=c;c=k[d>>2]|0;a=k[c>>2]|0;k[d>>2]=c+4;k[2238]=a;a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2239]=c;c=0;break}case 24:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[c>>2]=152;c=0;break}case 15:{c=1;break}case 4:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2195]=k[c+0>>2];k[2196]=k[c+4>>2];k[2197]=k[c+8>>2];k[2198]=k[c+12>>2];k[2199]=k[c+16>>2];k[2200]=k[c+20>>2];k[2201]=k[c+24>>2];k[2202]=k[c+28>>2];c=0;break}case 18:{c=k[d>>2]|0;a=k[c>>2]|0;k[d>>2]=c+4;c=8848|0;a=a+0|0;d=c+52|0;do{k[c>>2]=k[a>>2];c=c+4|0;a=a+4|0}while((c|0)<(d|0));c=0;break}case 6:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2234]=c;c=k[d>>2]|0;a=k[c>>2]|0;k[d>>2]=c+4;k[2235]=a;a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2236]=c;c=0;break}case 9:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2186]=c;c=0;break}case 22:{k[d>>2]=(k[d>>2]|0)+8;k[d>>2]=(k[d>>2]|0)+8;k[2230]=0;k[2231]=0;k[2232]=0;k[2233]=0;c=0;break}case 25:{a=k[d>>2]|0;c=k[a>>2]|0;k[d>>2]=a+4;k[2242]=c;c=0;break}case 14:{c=0;break}default:c=1}while(0)}else{k[c>>2]=127883;k[c+4>>2]=10788;gd(21,13648,c);c=21}r=e;return c|0}function sf(a){a=a|0;return k[a+12>>2]|0}function tf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=a+20|0;b=k[g>>2]|0;e=(b|0)>0;if(e){d=k[a+16>>2]|0;f=0;do{c=k[d+(f<<4)+4>>2]|0;if(c)k[(k[c+4>>2]|0)+4>>2]=k[c>>2];f=f+1|0}while((f|0)!=(b|0));if(e){e=a+16|0;d=0;do{c=k[(k[e>>2]|0)+(d<<4)+4>>2]|0;if(c){hc[k[8744+152>>2]&31](k[(k[(k[k[c+4>>2]>>2]|0)+204>>2]|0)+40>>2]|0);b=k[g>>2]|0}d=d+1|0}while((d|0)<(b|0))}}return 0}function uf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;if((r|0)>=(s|0))ka();f=h;k[f>>2]=c;a:do if((b|0)!=1001){c=0;while(1){if((k[10936+(c<<3)>>2]|0)==(b|0))break;c=c+1|0;if(c>>>0>=2){d=1;break a}}e=k[f>>2]|0;b=k[e>>2]|0;k[f>>2]=e+4;e=k[f>>2]|0;g=k[e>>2]|0;k[f>>2]=e+4;f=a+24|0;e=k[f>>2]|0;if((b|0)<=0)if(!b){b=e&~k[10940+(c<<3)>>2];k[f>>2]=b}else b=e;else{b=k[10940+(c<<3)>>2]|e;k[f>>2]=b}if((e|0)!=(b|0)?(d=k[a+4>>2]|0,(d|0)!=0):0)do{b=d+88|0;j[b>>1]=j[b>>1]|8;d=k[d+52>>2]|0}while((d|0)!=0);if(!g)d=0;else{k[g>>2]=(k[10940+(c<<3)>>2]&k[f>>2]|0)!=0&1;d=0}}else{e=k[f>>2]|0;b=k[e>>2]|0;k[f>>2]=e+4;e=k[f>>2]|0;c=k[e>>2]|0;k[f>>2]=e+4;e=k[f>>2]|0;d=k[e>>2]|0;k[f>>2]=e+4;d=Sh(a,b,c,d)|0}while(0);r=h;return d|0}function vf(a){a=a|0;a=a+32|0;L=k[a+4>>2]|0;return k[a>>2]|0}function wf(a){a=a|0;return k[a+80>>2]|0}function xf(a){a=a|0;return k[a+84>>2]|0}function yf(a){a=a|0;return Th(a,0)|0}function zf(a){a=a|0;return Th(a,1)|0}function Af(a,b,c){a=a|0;b=b|0;c=c|0;k[a+444>>2]=b;k[a+448>>2]=c;k[a+452>>2]=0;k[a+492>>2]=0;return 0}function Bf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=(b|0)>0;k[a+292>>2]=e?c:0;k[a+300>>2]=e?b:0;k[a+296>>2]=e?d:0;return}function Cf(a,b){a=a|0;b=b|0;var c=0;c=(b|0)>0;k[a+444>>2]=c?74:0;k[a+448>>2]=c?a:0;k[a+452>>2]=0;k[a+492>>2]=c?b:0;return 0}function Df(a){a=a|0;k[a+240>>2]=1;return}function Ef(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;return Tg(a,Vh(a,b,c,d,e,f,g,h,0)|0)|0}function Ff(a,b,c,d,e,f,g,h,j){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;j=j|0;var l=0,m=0,n=0;do if(j){l=rh(a,12,0)|0;if(!l){hc[j&31](e);d=1;break}m=l;n=m;i[n>>0]=0;i[n+1>>0]=0;i[n+2>>0]=0;i[n+3>>0]=0;m=m+4|0;i[m>>0]=0;i[m+1>>0]=0;i[m+2>>0]=0;i[m+3>>0]=0;k[l+4>>2]=j;k[l+8>>2]=e;d=Vh(a,b,c,d,e,f,g,h,l)|0;if(!(k[l>>2]|0)){hc[j&31](e);rg(a,l)}}else d=Vh(a,b,c,d,e,f,g,h,0)|0;while(0);return Tg(a,d)|0}function Gf(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=Wh(a,b,-1)|0;d=Vh(a,b,c,d,e,f,g,h,0)|0;rg(a,b);return Tg(a,d)|0}function Hf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(!b)d=0;else{d=b;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;d=d-b&1073741823}if(!(Xh(a,b,d,c,1,0)|0))d=Vh(a,b,c,1,0,57,0,0,0)|0;else d=0;return Tg(a,d)|0}function If(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+180|0;d=k[e>>2]|0;k[a+176>>2]=b;k[e>>2]=c;return d|0}function Jf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+188|0;d=k[e>>2]|0;k[a+184>>2]=b;k[e>>2]=c;return d|0}function Kf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+192|0;d=k[e>>2]|0;k[a+196>>2]=b;k[e>>2]=c;return d|0}function Lf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+208|0;d=k[e>>2]|0;k[a+212>>2]=b;k[e>>2]=c;return d|0}function Mf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+200|0;d=k[e>>2]|0;k[a+204>>2]=b;k[e>>2]=c;return d|0}function Nf(a,b){a=a|0;b=b|0;var c=0;if((b|0)>0)c=21;else{b=0;c=0}k[a+216>>2]=c;k[a+220>>2]=b;return 0}function Of(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=a+220|0;d=k[e>>2]|0;k[a+216>>2]=b;k[e>>2]=c;return d|0}function Pf(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,l=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();f=l;if(d)k[d>>2]=-1;if(e)k[e>>2]=-1;if(c>>>0>3)b=21;else{if((b|0)!=0?(i[b>>0]|0)!=0:0){g=_h(a,b)|0;if((g|0)<0){k[f>>2]=b;zg(a,1,10952,f);b=1}else h=10}else{g=10;h=10}do if((h|0)==10){k[a+452>>2]=0;b=$h(a,g,c,d,e)|0;k[a+52>>2]=b;f=k[a+236>>2]|0;if(f){g=f+8|0;if(!(j[g>>1]&9312)){j[g>>1]=1;break}else{Ag(f);break}}}while(0);b=Tg(a,b)|0}r=l;return b|0}function Qf(a,b){a=a|0;b=b|0;return Pf(a,b,0,0,0)|0}function Rf(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g;do if(a){b=k[a+76>>2]|0;if(!((b|0)==1266094736|(b|0)==-1607883113|(b|0)==-264537850)){k[e>>2]=15248;gd(21,15256,e);b=11008;break}f=a+65|0;if(!(i[f>>0]|0)){d=a+236|0;b=Xg(k[d>>2]|0,2)|0;if(!b){c=k[a+52>>2]|0;if((c|0)!=516){b=c&255;if(b>>>0>26|(b|0)==2)b=16328;else b=k[15488+(b<<2)>>2]|0}else b=16344;zg(a,c,b,e);b=Xg(k[d>>2]|0,2)|0}i[f>>0]=0}else b=10976}else b=10976;while(0);r=g;return b|0}function Sf(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;do if(a){d=k[a+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){k[b>>2]=15248;gd(21,15256,b);k[b>>2]=129704;k[b+4>>2]=10788;gd(21,13648,b);a=21;break}if(!(i[a+65>>0]|0))a=k[a+56>>2]&k[a+52>>2];else a=7}else a=7;while(0);r=c;return a|0}function Tf(a){a=a|0;var b=0,c=0,d=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;do if(a){d=k[a+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){k[b>>2]=15248;gd(21,15256,b);k[b>>2]=129713;k[b+4>>2]=10788;gd(21,13648,b);a=21;break}if(!(i[a+65>>0]|0))a=k[a+52>>2]|0;else a=7}else a=7;while(0);r=c;return a|0}function Uf(a){a=a|0;if((a|0)!=516){a=a&255;if(a>>>0>26|(a|0)==2)a=16328;else a=k[15488+(a<<2)>>2]|0}else a=16344;return a|0}function Vf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b>>>0<=11){d=a+(b<<2)+88|0;a=k[d>>2]|0;if((c|0)>-1){b=k[11088+(b<<2)>>2]|0;k[d>>2]=(b|0)<(c|0)?b:c}}else a=-1;return a|0}function Wf(a,b){a=a|0;b=b|0;return ai(a,b,6,0)|0}function Xf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ai(a,b,c,d)|0}function Yf(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;k[b>>2]=0;c=Qc()|0;if(!c){e=vg(40,0)|0;if(e){a=(a|0)==0?11136:a;c=e+0|0;d=c+40|0;do{i[c>>0]=0;c=c+1|0}while((c|0)<(d|0));j[e+8>>1]=1;k[e+32>>2]=0;ah(e,a,-1,2,0)|0}a=Xg(e,1)|0;if(a){c=ai(a,b,6,0)|0;if(!c){c=k[b>>2]|0;a=k[(k[c+16>>2]|0)+12>>2]|0;if(!(j[a+78>>1]&1)){i[c+62>>0]=2;i[a+77>>0]=2;c=0}else c=0}}else c=7;Rh(e);c=c&255}return c|0}function Zf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Tg(a,bi(a,b,c&255,d,e,0)|0)|0}function _f(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 Tg(a,bi(a,b,c&255,d,e,f)|0)|0}function $f(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=Wh(a,b,-1)|0;if(!b)b=0;else{c=bi(a,b,c&255,d,e,0)|0;rg(a,b);b=c}return Tg(a,b)|0}function ag(a,b,c){a=a|0;b=b|0;c=c|0;k[a+224>>2]=c;k[a+228>>2]=0;k[a+232>>2]=b;return 0}function bg(a,b,c){a=a|0;b=b|0;c=c|0;k[a+224>>2]=0;k[a+228>>2]=c;k[a+232>>2]=b;return 0}function cg(a){a=a|0;return l[a+63>>0]|0|0}function dg(){return}function eg(a,b,c,d,e,f,g,h,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=r;r=r+16|0;if((r|0)>=(s|0))ka();x=z;y=z+8|0;k[y>>2]=0;n=k[a+20>>2]|0;if((n|0)>0){m=k[a+16>>2]|0;p=0;do{o=k[m+(p<<4)+4>>2]|0;if(o)k[(k[o+4>>2]|0)+4>>2]=k[o>>2];p=p+1|0}while((p|0)!=(n|0))}m=ci(a,y)|0;w=(m|0)!=0;a:do if((!w?(u=di(a,c,b)|0,(u|0)!=0):0)?(k[u+12>>2]|0)==0:0){do if(d){t=j[u+38>>1]|0;b:do if(t<<16>>16>0){b=k[u+4>>2]|0;n=t<<16>>16;q=0;while(1){o=b+(q*24|0)|0;p=q+1|0;if(!(id(k[o>>2]|0,d)|0)){p=q;break b}if((p|0)<(n|0))q=p;else break}}else{p=0;o=0}while(0);if((p|0)==(t<<16>>16|0)){if(i[u+44>>0]&32){b=0;t=0;u=0;o=0;q=0;p=0;break a}if(!(ei(d)|0)){b=0;t=0;u=0;o=0;q=0;p=0;break a}v=j[u+36>>1]|0;n=v<<16>>16;if(v<<16>>16<=-1){b=0;q=0;n=1;v=0;p=11144;break}p=n;o=(k[u+4>>2]|0)+(n*24|0)|0}if(o){if((j[u+36>>1]|0)==(p|0))n=(i[u+44>>0]&8)!=0;else n=0;b=n&1;q=(i[o+20>>0]|0)!=0&1;n=i[o+23>>0]&1;v=k[o+16>>2]|0;p=k[o+12>>2]|0}else{b=0;q=0;n=1;v=0;p=11144}}else{b=0;q=0;n=1;v=0;p=11144}while(0);t=q;o=n;q=(v|0)==0?11152:v}else{b=0;t=0;u=0;o=0;q=0;p=0}while(0);if(e)k[e>>2]=p;if(f)k[f>>2]=q;if(g)k[g>>2]=t;if(h)k[h>>2]=o;if(l)k[l>>2]=b;n=k[y>>2]|0;if(!(w|(u|0)!=0)){rg(a,n);k[x>>2]=c;k[x+4>>2]=d;n=zh(a,11160,x)|0;k[y>>2]=n;m=1}k[x>>2]=n;zg(a,m,(n|0)!=0?10344:0,x);rg(a,k[y>>2]|0);w=Tg(a,m)|0;r=z;return w|0}function fg(a){a=a|0;var b=0;if((Qc()|0)==0?(b=k[2254]|0,(b|0)!=0):0)a=(wc[k[b+60>>2]&127](b,a*1e3|0)|0)/1e3|0;else a=0;return a|0}function gg(a,b){a=a|0;b=b|0;k[a+56>>2]=(b|0)!=0?-1:255;return 0}function hg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=fi(a,b)|0;do if(b){a=k[b+4>>2]|0;k[a+4>>2]=k[b>>2];a=k[(k[a>>2]|0)+60>>2]|0;if((c|0)==7){k[d>>2]=a;b=0;break}b=k[a>>2]|0;if(!b)b=12;else b=fc[k[b+40>>2]&63](a,c,d)|0}else b=1;while(0);return b|0}function ig(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,m=0,n=0,o=0,p=0,q=0;o=r;r=r+32|0;if((r|0)>=(s|0))ka();n=o+24|0;d=o+8|0;c=o;k[d>>2]=b;do switch(a|0){case 8:{m=k[d>>2]|0;h=k[m>>2]|0;k[d>>2]=m+4;m=k[d>>2]|0;e=k[m>>2]|0;k[d>>2]=m+4;m=vg(512,0)|0;c=(m|0)==0;if(!c){kw(m|0,0,512)|0;k[m>>2]=h}a=((h+7|0)/8|0)+1|0;g=vg(a,((a|0)<0)<<31>>31)|0;b=(g|0)==0;if(!b)kw(g|0,0,a|0)|0;f=Yc(512)|0;a:do if(!(c|b|(f|0)==0)){d=0;while(1){c=k[e+(d<<2)>>2]|0;if((c|0)==5|(c|0)==2|(c|0)==1){b=e+(d+2<<2)|0;p=k[b>>2]|0;a=p+-1|0;k[n>>2]=a;k[b>>2]=(k[e+(d+3<<2)>>2]|0)+p;b=4}else if(!c)break;else{hd(4,n);a=k[n>>2]|0;b=2}q=e+((d|1)<<2)|0;p=(k[q>>2]|0)+-1|0;k[q>>2]=p;d=((p|0)>0?0:b)+d|0;a=(a&2147483647|0)%(h|0)|0;k[n>>2]=a;a=a+1|0;b=1<<(a&7);if(!(c&1)){a=g+(a>>>3)|0;i[a>>0]=l[a>>0]&(b^255);hi(m,(k[n>>2]|0)+1|0,f);continue}a=g+(a>>>3)|0;i[a>>0]=l[a>>0]|b;if((c|0)==5)continue;if(gi(m,(k[n>>2]|0)+1|0)|0){c=-1;break a}}e=ii(m,h+1|0)|0;a=ii(m,0)|0;a=e-h+a+(k[m>>2]|0)|0;k[n>>2]=1;if((h|0)<1)c=a;else{b=1;while(1){e=(l[g+(b>>3)>>0]&1<<(b&7)|0)!=0&1;c=b;b=b+1|0;if((e|0)!=(ii(m,c)|0))break a;k[n>>2]=b;if((c|0)>=(h|0)){c=a;break}}}}else c=-1;while(0);$c(f);$c(g);ji(m);break}case 11:{c=k[2514]|0;n=k[d>>2]|0;b=k[n>>2]|0;k[d>>2]=n+4;if(b)k[2514]=b;break}case 12:{k[c>>2]=0;c=k[c>>2]|0;break}case 13:{n=k[d>>2]|0;c=k[n>>2]|0;k[d>>2]=n+4;break}case 22:{c=10;break}case 5:{pw(12672,9064,259)|0;c=0;break}case 6:{pw(9064,12672,259)|0;c=0;break}case 7:{if(!(Qc()|0)){i[9064]=0;c=0}else c=0;break}case 14:{m=k[d>>2]|0;n=k[m>>2]|0;k[d>>2]=m+4;m=k[d>>2]|0;c=k[m>>2]|0;k[d>>2]=m+4;Cg(k[(k[n+16>>2]|0)+4>>2]|0,0,c,0)|0;c=0;break}case 15:{m=k[d>>2]|0;c=k[m>>2]|0;k[d>>2]=m+4;m=k[d>>2]|0;n=k[m>>2]|0;k[d>>2]=m+4;j[c+60>>1]=n;c=0;break}case 16:{n=k[d>>2]|0;a=k[n>>2]|0;k[d>>2]=n+4;if(!a)c=0;else{c=a;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;c=c-a&1073741823}c=(ki(a,c)|0)!=27;c=c?124:0;break}case 24:{m=k[d>>2]|0;c=k[m>>2]|0;k[d>>2]=m+4;m=k[d>>2]|0;n=k[m>>2]|0;k[d>>2]=m+4;k[c+136>>2]=n;c=0;break}case 23:{c=(k[2243]|0)==0&1;break}case 25:{h=k[d>>2]|0;c=k[h>>2]|0;k[d>>2]=h+4;h=k[d>>2]|0;m=k[h>>2]|0;k[d>>2]=h+4;m=(_h(c,m)|0)&255;i[c+144>>0]=m;m=k[d>>2]|0;h=k[m>>2]|0;k[d>>2]=m+4;h=h&255;i[c+147>>0]=h;m=c+145|0;i[m>>0]=h;h=k[d>>2]|0;n=k[h>>2]|0;k[d>>2]=h+4;k[c+140>>2]=n;if((i[m>>0]|0)==0&(n|0)>0){Jg(c);c=0}else c=0;break}case 17:{n=k[d>>2]|0;b=k[n>>2]|0;k[d>>2]=n+4;n=k[d>>2]|0;c=k[n>>2]|0;k[d>>2]=n+4;n=k[d>>2]|0;a=k[n>>2]|0;k[d>>2]=n+4;if(b){n=li(b)|0;k[c>>2]=n}mi(a);c=0;break}case 18:{n=k[d>>2]|0;c=k[n>>2]|0;k[d>>2]=n+4;k[2253]=c;c=0;break}case 20:{n=k[d>>2]|0;c=k[n>>2]|0;k[d>>2]=n+4;k[2192]=c;c=0;break}case 9:{n=k[d>>2]|0;c=k[n>>2]|0;k[d>>2]=n+4;k[2252]=c;if(!c)c=0;else c=qc[c&127](0)|0;break}case 10:{m=k[d>>2]|0;n=k[m>>2]|0;k[d>>2]=m+4;m=k[d>>2]|0;c=k[m>>2]|0;k[d>>2]=m+4;k[3164]=n;k[3166]=c;c=0;break}default:c=0}while(0);r=o;return c|0}function jg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if(!((a|0)==0|(b|0)==0)){c=a;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;d=(c-a&1073741823)+1|0;c=i[a+d>>0]|0;if(c<<24>>24){f=a+d|0;while(1){e=dw(f,b)|0;d=f;while(1){a=d+1|0;if(!(c<<24>>24))break;c=i[a>>0]|0;d=a}a=d-f&1073741823;c=f+(a+1)|0;if(!e)break a;else d=c;while(1)if(!(i[d>>0]|0))break;else d=d+1|0;f=f+(a+2+(d-c&1073741823))|0;c=i[f>>0]|0;if(!(c<<24>>24)){c=0;break}}}else c=0}else c=0;while(0);return c|0}function kg(a,b,c){a=a|0;b=b|0;c=c|0;a=jg(a,b)|0;b=(c|0)!=0;if(a)b=(ni(a,1,b&1)|0)<<24>>24!=0;return b&1|0}function lg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();e=f;a=jg(a,b)|0;if(!a){L=d;r=f;return c|0}else{b=(oi(a,e)|0)==0;a=e;L=b?k[a+4>>2]|0:d;r=f;return (b?k[a>>2]|0:c)|0}return 0}function mg(a,b){a=a|0;b=b|0;a=fi(a,b)|0;if(a){a=k[k[a+4>>2]>>2]|0;if(!(i[a+15>>0]|0))a=k[a+168>>2]|0;else a=10360}else a=0;return a|0}function ng(a,b){a=a|0;b=b|0;a=fi(a,b)|0;if(!a)a=-1;else a=j[(k[a+4>>2]|0)+22>>1]&1;return a|0}function og(a,b){a=a|0;b=b|0;if(b){Kk(a,k[b+28>>2]|0);rg(a,k[b>>2]|0);rg(a,k[b+4>>2]|0);Lk(a,k[b+12>>2]|0);Mk(a,k[b+16>>2]|0);rg(a,b)}return}function pg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,l=0;do if(b){f=(a|0)!=0;if(!(f?(k[a+520>>2]|0)!=0:0))c=4;if((c|0)==4?(d=b+40|0,c=(j[d>>1]|0)+-1<<16>>16,j[d>>1]=c,c<<16>>16!=0):0)break;c=k[b+8>>2]|0;if(c){e=a+520|0;do{d=c;c=k[c+20>>2]|0;if(!(f?(k[e>>2]|0)!=0:0))Nk((k[d+24>>2]|0)+24|0,k[d>>2]|0,0)|0;Ok(a,d)}while((c|0)!=0)}c=k[b+16>>2]|0;if(c){h=(a|0)==0;i=b+68|0;l=a+520|0;do{if(!(!h?(k[l>>2]|0)!=0:0)){d=c+16|0;g=k[d>>2]|0;f=c+12|0;e=k[f>>2]|0;if(!g)Nk((k[i>>2]|0)+56|0,k[((e|0)==0?c:e)+8>>2]|0,e)|0;else k[g+12>>2]=e;f=k[f>>2]|0;if(f)k[f+16>>2]=k[d>>2]}Pk(a,k[c+28>>2]|0);Pk(a,k[c+32>>2]|0);d=c;c=k[c+4>>2]|0;rg(a,d)}while((c|0)!=0)}Qk(a,b);rg(a,k[b>>2]|0);rg(a,k[b+20>>2]|0);Rk(a,k[b+12>>2]|0,1);Sk(a,k[b+24>>2]|0);if(!((a|0)!=0?(k[a+520>>2]|0)!=0:0))Tk(0,b)|0;f=b+56|0;c=k[f>>2]|0;if(c){g=b+52|0;d=k[g>>2]|0;if((d|0)>0){e=0;do{if((e|0)!=1){rg(a,k[(k[f>>2]|0)+(e<<2)>>2]|0);d=k[g>>2]|0}e=e+1|0}while((e|0)<(d|0));c=k[f>>2]|0}rg(a,c)}rg(a,b)}while(0);return}function qg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;hh(k[b+60>>2]|0,j[b+68>>1]|0);e=b+16|0;hh(k[e>>2]|0,m[b+84>>1]<<1);c=k[b+192>>2]|0;if(c)do{d=c;c=k[c+24>>2]|0;Uk(a,k[d>>2]|0,k[d+4>>2]|0);rg(a,d)}while((c|0)!=0);c=j[b+70>>1]|0;if(c<<16>>16>0){d=b+64|0;c=c<<16>>16;do{c=c+-1|0;rg(a,k[(k[d>>2]|0)+(c<<2)>>2]|0)}while((c|0)>0)}Uk(a,k[b+4>>2]|0,k[b+32>>2]|0);rg(a,k[e>>2]|0);rg(a,k[b+168>>2]|0);rg(a,k[b+172>>2]|0);return}function rg(a,b){a=a|0;b=b|0;var c=0;do if(b){if(a){if(k[a+520>>2]|0){Vk(a,b);break}if((k[a+276>>2]|0)>>>0<=b>>>0?(k[a+280>>2]|0)>>>0>b>>>0:0){c=a+272|0;k[b>>2]=k[c>>2];k[c>>2]=b;a=a+252|0;k[a>>2]=(k[a>>2]|0)+-1;break}}$c(b)}while(0);return}function sg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=k[b+24>>2]|0;if(!e)c=0;else{c=e;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;c=c-e&1073741823}d=(((l[9328+(l[e>>0]|0)>>0]|0)+c|0)>>>0)%23|0;c=Wk(a,d,e,c)|0;if(!c){k[b+8>>2]=0;c=a+(d<<2)|0;k[b+28>>2]=k[c>>2];k[c>>2]=b}else{c=c+8|0;k[b+8>>2]=k[c>>2];k[c>>2]=b}return}function tg(a){a=a|0;var b=0,c=0;do if(a){b=k[2254]|0;if((b|0)==(a|0)){k[2254]=k[a+12>>2];break}if(b){do{c=b+12|0;b=k[c>>2]|0}while((b|0)!=(a|0)&(b|0)!=0);if((b|0)==(a|0))k[c>>2]=k[a+12>>2]}}while(0);return}function ug(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return}function vg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;b=ow(a|0,b|0,-1,-1)|0;c=L;do if(!(c>>>0>0|(c|0)==0&b>>>0>2147483390)){if(!(k[2186]|0)){b=qc[k[8744+36>>2]&127](a)|0;break}c=qc[k[8744+52>>2]&127](a)|0;k[2171]=a;if((k[2181]|0)>>>0<a>>>0)k[2181]=a;a=k[2260]|0;do if(a){b=k[2166]|0;d=9032|0;d=iw(k[d>>2]|0,k[d+4>>2]|0,c|0,((c|0)<0)<<31>>31|0)|0;e=L;if(0<(e|0)|0==(e|0)&b>>>0<d>>>0){k[2265]=0;break}else{k[2265]=1;d=k[2261]|0;k[2260]=0;vc[a&15](d,b,0,c);k[2260]=a;k[2261]=d;break}}while(0);b=qc[k[8744+36>>2]&127](c)|0;if(b){a=qc[k[8744+48>>2]&127](b)|0;a=(k[2166]|0)+a|0;k[2166]=a;if(a>>>0>(k[2176]|0)>>>0)k[2176]=a;a=(k[2175]|0)+1|0;k[2175]=a;if(a>>>0>(k[2185]|0)>>>0)k[2185]=a}else b=0}else b=0;while(0);return b|0}function wg(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;do if(a){if((b|0)==0&(c|0)==0){$c(a);d=0;break}if(!(c>>>0>0|(c|0)==0&b>>>0>2147483391)){g=qc[k[8744+48>>2]&127](a)|0;f=qc[k[8744+52>>2]&127](b)|0;if((f|0)!=(g|0)){if(!(k[2186]|0)){d=wc[k[8744+44>>2]&127](a,f)|0;break}k[2171]=b;if((k[2181]|0)>>>0<b>>>0)k[2181]=b;c=f-g|0;d=k[2166]|0;h=9032|0;h=iw(k[h>>2]|0,k[h+4>>2]|0,c|0,((c|0)<0)<<31>>31|0)|0;i=L;if(!(0<(i|0)|0==(i|0)&d>>>0<h>>>0)?(e=k[2260]|0,(e|0)!=0):0){h=k[2261]|0;k[2260]=0;vc[e&15](h,d,0,c);k[2260]=e;k[2261]=h}d=wc[k[8744+44>>2]&127](a,f)|0;c=k[2260]|0;if((d|0)==0&(c|0)!=0){e=k[2166]|0;d=k[2261]|0;k[2260]=0;vc[c&15](d,e,0,b);k[2260]=c;k[2261]=d;d=wc[k[8744+44>>2]&127](a,f)|0}if(d){c=(qc[k[8744+48>>2]&127](d)|0)-g|0;c=(k[2166]|0)+c|0;k[2166]=c;if(c>>>0>(k[2176]|0)>>>0)k[2176]=c}else d=0}else d=a}else d=0}else d=vg(b,c)|0;while(0);return d|0}function xg(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,j=0,m=0.0,n=0.0,o=0,q=0.0,u=0.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,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;Y=r;r=r+96|0;if((r|0)>=(s|0))ka();W=Y+8|0;X=Y;V=Y+16|0;if(!b){e=0;f=0;Q=0}else{e=b&2;if(!e)f=0;else{F=k[d>>2]|0;f=k[F>>2]|0;k[d>>2]=F+4}e=e&255;Q=(b&1|0)!=0}P=e<<24>>24==0;M=e<<24>>24!=0;N=f+4|0;O=f+8|0;K=a+12|0;e=0;a:while(1){b=i[c>>0]|0;if(b<<24>>24==37){b=c;c=e}else if(b<<24>>24){b=c;do{b=b+1|0;F=i[b>>0]|0}while(!(F<<24>>24==37|F<<24>>24==0));Xk(a,c,b-c|0);if(!(i[b>>0]|0))break}else break;e=b+1|0;g=i[e>>0]|0;if(!(g<<24>>24)){R=10;break}h=g<<24>>24;o=0;j=0;v=0;g=0;x=0;y=0;b:while(1){switch(h|0){case 45:{w=j;g=1;break}case 32:{w=j;v=1;break}case 35:{o=1;w=j;break}case 33:{w=1;break}case 48:{w=j;y=1;break}case 43:{w=j;x=1;break}default:{z=o;w=j;break b}}j=b+2|0;F=i[j>>0]|0;h=F<<24>>24;if(!(F<<24>>24)){e=j;z=o;break}else{b=e;e=j;j=w}}if((h|0)!=42)if((h+-48|0)>>>0<10){j=0;do{j=h+-48+(j*10|0)|0;e=e+1|0;h=i[e>>0]|0}while((h+-48|0)>>>0<10);J=g;I=j&2147483647}else{J=g;I=0}else{if(P){F=k[d>>2]|0;j=k[F>>2]|0;k[d>>2]=F+4}else j=Yk(f)|0;if((j|0)<0){g=1;j=(j|0)==-2147483648?0:0-j|0}h=e+1|0;e=h;h=i[h>>0]|0;J=g;I=j}do if((h|0)==46){j=e+1|0;g=i[j>>0]|0;if(g<<24>>24!=42){h=g<<24>>24;if((g+-48&255)<10)g=0;else{e=j;C=0;break}while(1){g=h+-48+(g*10|0)|0;e=e+2|0;F=i[e>>0]|0;h=F<<24>>24;if((F+-48&255)<10){F=j;j=e;e=F}else break}C=g&2147483647;break}if(P){F=k[d>>2]|0;j=k[F>>2]|0;k[d>>2]=F+4}else j=Yk(f)|0;e=e+2|0;h=i[e>>0]|0;if((j|0)<0)C=(j|0)==-2147483648?-1:0-j|0;else C=j}else C=-1;while(0);do if((h|0)==108){j=e+1|0;h=i[j>>0]|0;if(h<<24>>24==108){h=e+2|0;e=h;h=i[h>>0]|0;j=1;break}else{e=j;h=h<<24>>24;j=0;break}}else j=0;while(0);o=0;while(1){g=48752+(o*6|0)|0;if((h|0)==(i[g>>0]|0)){h=g;g=o;R=46;break}o=o+1|0;if((o|0)>=23){H=48752;F=0;break}}if((R|0)==46){R=0;if(!(Q|g>>>0<20))break;H=h;F=i[48755+(g*6|0)>>0]|0}c:do switch(F&255|0){case 14:{j=0;R=50;break}case 1:case 16:{R=50;break}case 13:{j=k[d>>2]|0;b=k[j>>2]|0;k[d>>2]=j+4;j=k[d>>2]|0;h=k[j>>2]|0;k[d>>2]=j+4;j=k[b+(h*72|0)+12>>2]|0;if(j){g=j;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;Xk(a,j,g-j&1073741823);Xk(a,28928,1)}g=k[b+(h*72|0)+16>>2]|0;if(!g)b=0;else{b=g;while(1)if(!(i[b>>0]|0))break;else b=b+1|0;b=b-g&1073741823}Xk(a,g,b);v=c;h=0;b=0;j=0;break}case 4:case 3:case 2:{do if(!P){j=k[N>>2]|0;if((k[f>>2]|0)>(j|0)){k[N>>2]=j+1;m=+Zg(k[(k[O>>2]|0)+(j<<2)>>2]|0);R=92;break}else{j=(C|0)<0?6:C;m=0.0;R=94;break}}else{R=k[d>>2]|0;k[t>>2]=k[R>>2];k[t+4>>2]=k[R+4>>2];m=+p[t>>3];k[d>>2]=R+8;R=92}while(0);if((R|0)==92){R=0;j=(C|0)<0?6:C;if(m<0.0){m=-m;G=45}else R=94}if((R|0)==94){R=0;if(!(x<<24>>24))G=v<<24>>24==0?0:32;else G=43}C=F<<24>>24==4;g=((C&(j|0)>0)<<31>>31)+j|0;j=g&4095;if(!j)n=.5;else{n=.5;do{j=j+-1|0;n=n*.1}while((j|0)>0)}B=F<<24>>24==2;if(B)m=m+n;p[W>>3]=m;p[X>>3]=+p[W>>3];if(+p[W>>3]!=+p[X>>3]){v=48960;h=3;b=I;j=0}else{if(m>0.0){o=0;q=1.0;while(1){u=q*1.e+100;if(m>=u&(o|0)<351){o=o+100|0;q=u}else break}while(1){u=q*1.e+64;if(m>=u&(o|0)<351){o=o+64|0;q=u}else break}while(1){u=q*1.0e8;if(m>=u&(o|0)<351){o=o+8|0;q=u}else break}while(1){u=q*10.0;if((o|0)<351&m>=u){o=o+1|0;q=u}else break}m=m/q;if(m<1.0e-08)do{m=m*1.0e8;o=o+-8|0}while(m<1.0e-08);if(m<1.0)do{m=m*10.0;o=o+-1|0}while(m<1.0);if((o|0)>350){if(G<<24>>24==43)g=48976;else if(G<<24>>24==45)g=48968;else g=48984;c=g;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;v=g;h=c-g&1073741823;b=I;j=0;break c}}else o=0;if(!B){m=n+m;if(!(m>=10.0))E=o;else{m=m*.1;E=o+1|0}}else E=o;if(C){j=(E|0)<-4|(g|0)<(E|0);C=z<<24>>24==0&1;g=g-(j?0:E)|0;j=j?3:2}else{C=w;j=F}D=j<<24>>24==3;c=D?0:E;o=(c|0)>0;j=ow(g|0,((g|0)<0)<<31>>31|0,I|0,((I|0)<0)<<31>>31|0)|0;o=ow(j|0,L|0,(o?c:0)|0,(o?((c|0)<0)<<31>>31:0)|0)|0;j=L;if((j|0)>0|(j|0)==0&o>>>0>55){o=ow(o|0,j|0,15,0)|0;o=vg(o,L)|0;if(!o){R=124;break a}else{v=o;F=o}}else{v=V;F=0}o=((w&255)*10|0)+16|0;A=(w|z)&255|(g|0)>0;if(!(G<<24>>24))B=v;else{i[v>>0]=G;B=v+1|0}if((c|0)<0){i[B>>0]=48;b=2;j=B+1|0;x=c}else{z=~c;z=(z|0)>-1?z:-1;x=-2-z|0;z=c+z|0;h=B;while(1){if((o|0)<1)b=48;else{j=~~m;b=j+48&255;m=(m-+(j|0))*10.0;o=o+-1|0}i[h>>0]=b;if((c|0)>0){h=h+1|0;c=c+-1|0}else break}b=z+3|0;j=B+(z+2)|0}h=(A|0)==0;if(!h){i[j>>0]=46;j=B+b|0}if((x+1|0)<0){kw(j|0,48,~x|0)|0;j=j+~x|0;g=g+1+x|0}if((g|0)>0){b=j;c=g;while(1){c=c+-1|0;if((o|0)<1)x=48;else{B=~~m;x=B+48&255;m=(m-+(B|0))*10.0;o=o+-1|0}i[b>>0]=x;if((c|0)<=0)break;else b=b+1|0}j=j+g|0}d:do if(!(C<<24>>24==0|h)){h=j;while(1){j=h+-1|0;g=i[j>>0]|0;if(g<<24>>24==46)break;else if(g<<24>>24!=48){j=h;break d}i[j>>0]=0;h=j}if(!(w<<24>>24)){i[j>>0]=0;break}else{i[h>>0]=48;j=h+1|0;break}}while(0);if(D){h=j+1|0;i[j>>0]=i[48912+(l[H+4>>0]|0)>>0]|0;g=j+2|0;if((E|0)<0){i[h>>0]=45;h=0-E|0}else{i[h>>0]=43;h=E}if((h|0)>99){i[g>>0]=((h|0)/100|0)+48;c=4;b=5;g=j+3|0;h=(h|0)%100|0}else{c=3;b=4}i[g>>0]=((h|0)/10|0)+48;i[j+c>>0]=((h|0)%10|0)+48;j=j+b|0}i[j>>0]=0;b=v;h=j-b|0;if(!(J<<24>>24==0&y<<24>>24!=0&(I|0)>(h|0))){b=I;j=F;break c}g=I-h|0;if((h|0)>=0){c=I;while(1){i[v+c>>0]=i[v+(c-g)>>0]|0;if((c|0)>(g|0))c=c+-1|0;else break}}if((I|0)==(h|0)){h=I;b=I;j=F;break c}kw(v+(G<<24>>24!=0&1)|0,48,I+b-j|0)|0;h=I;b=I;j=F}break}case 5:{if(P){h=k[K>>2]|0;b=k[d>>2]|0;v=k[b>>2]|0;k[d>>2]=b+4;k[v>>2]=h;v=c;h=0;b=0;j=0}else{v=c;h=0;b=0;j=0}break}case 8:{i[V>>0]=37;v=V;h=1;b=I;j=0;break}case 9:{if(!P){b=Zk(f)|0;if(!b)j=0;else j=i[b>>0]|0}else{F=k[d>>2]|0;j=k[F>>2]|0;k[d>>2]=F+4}if((C|0)>1){g=C+-1|0;b=I-g|0;if(!((b|0)<2|J<<24>>24!=0)){_k(a,b+-1|0,32);b=0}c=j&255;_k(a,g,c)}else{c=j&255;b=I}i[V>>0]=c;v=V;h=1;j=0;break}case 7:case 6:{if(M)g=Zk(f)|0;else{E=k[d>>2]|0;g=k[E>>2]|0;k[d>>2]=E+4}if(!g){c=10360;j=0}else{c=g;j=F<<24>>24!=7|M?0:g}if((C|0)>-1){if((C|0)>0)g=0;else{v=c;h=0;b=I;break c}while(1){h=g+1|0;if(!(i[c+g>>0]|0)){v=c;h=g;b=I;break c}if((h|0)<(C|0))g=h;else{v=c;b=I;break}}}else{if(!c){v=0;h=0;b=I;break c}else g=c;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;v=c;h=g-c&1073741823;b=I;break c}break}case 15:case 11:case 10:{z=F<<24>>24==15?34:39;if(P){E=k[d>>2]|0;j=k[E>>2]|0;k[d>>2]=E+4}else j=Zk(f)|0;v=(j|0)==0;if(v)j=F<<24>>24==11?20304:48992;e:do if(!C){y=0;h=0}else{o=z&255;g=0;b=C;h=0;while(1){c=i[j+g>>0]|0;if(!(c<<24>>24)){y=g;break e}h=((c<<24>>24|0)==(o|0)&1)+h|0;g=g+1|0;b=b+-1|0;if(!b){y=g;break}}}while(0);w=F<<24>>24==11&(v^1);g=((w&1)<<1|1)+y+h|0;if((g|0)>70){h=vg(g,((g|0)<0)<<31>>31)|0;if(!h){R=197;break a}else{v=h;x=h}}else{v=V;x=0}if(w){i[v>>0]=z;g=1}else g=0;if((y|0)>0){o=z&255;b=0;do{h=i[j+b>>0]|0;c=g+1|0;i[v+g>>0]=h;if((h<<24>>24|0)==(o|0)){i[v+c>>0]=h;g=g+2|0}else g=c;b=b+1|0}while((b|0)!=(y|0))}if(w){i[v+g>>0]=z;g=g+1|0}i[v+g>>0]=0;h=g;b=I;j=x;break}case 12:{F=k[d>>2]|0;b=k[F>>2]|0;k[d>>2]=F+4;if((b|0)!=0?(U=k[b+4>>2]|0,(U|0)!=0):0){Xk(a,k[b>>2]|0,U);v=c;h=0;b=0;j=0}else{v=c;h=0;b=0;j=0}break}default:break a}while(0);if((R|0)==50){R=0;do if(!(i[H+2>>0]&1)){if(M){c=Yk(f)|0;o=L;B=0;break}if(!(j<<24>>24)){o=k[d>>2]|0;c=k[o>>2]|0;k[d>>2]=o+4;o=0;B=0;break}else{B=k[d>>2]|0;o=B;c=k[o>>2]|0;o=k[o+4>>2]|0;k[d>>2]=B+8;B=0;break}}else{do if(!M)if(!(j<<24>>24)){h=k[d>>2]|0;j=k[h>>2]|0;k[d>>2]=h+4;h=((j|0)<0)<<31>>31;break}else{E=k[d>>2]|0;h=E;j=k[h>>2]|0;h=k[h+4>>2]|0;k[d>>2]=E+8;break}else{j=Yk(f)|0;h=L}while(0);if((h|0)<0){c=iw(0,0,j|0,h|0)|0;o=L;B=45;break}if(!(x<<24>>24)){c=j;o=h;B=v<<24>>24==0?0:32}else{c=j;o=h;B=43}}while(0);A=(c|0)==0&(o|0)==0;if(!(y<<24>>24))x=C;else{x=I-(B<<24>>24!=0&1)|0;x=(C|0)<(x|0)?x:C}if((x|0)>=60){j=x+10|0;h=vg(j,((j|0)<0)<<31>>31)|0;if(!h){R=69;break}else{b=j;j=h;g=h}}else{b=70;j=0;g=V}y=g+(b+-1)|0;if(F<<24>>24==16){h=zw(c|0,o|0,10,0)|0;if(!(h>>>0<=3?(F=yw(c|0,o|0,10,0)|0,F=zw(F|0,L|0,10,0)|0,!((F|0)==1&(L|0)==0)):0))h=0;F=h<<1;i[g+(b+-2)>>0]=i[48896+(F|1)>>0]|0;h=g+(b+-3)|0;i[h>>0]=i[48896+F>>0]|0}else h=y;b=l[H+4>>0]|0;v=l[H+1>>0]|0;while(1){F=zw(c|0,o|0,v|0,0)|0;g=h+-1|0;i[g>>0]=i[48912+(F+b)>>0]|0;c=yw(c|0,o|0,v|0,0)|0;o=L;if((c|0)==0&(o|0)==0)break;else h=g}c=x-y+g|0;if((c|0)>0){b=h;h=g;while(1){g=b+-2|0;i[g>>0]=48;c=c+-1|0;if((c|0)<=0)break;else{b=h;h=g}}}if(B<<24>>24){g=h+-2|0;i[g>>0]=B}if((!(A|z<<24>>24==0)?(S=i[H+5>>0]|0,S<<24>>24!=0):0)?(T=48952+(S&255)|0,!(S<<24>>24==3|S<<24>>24==6)):0){c=i[T>>0]|0;h=T;do{g=g+-1|0;i[g>>0]=c;h=h+1|0;c=i[h>>0]|0}while(c<<24>>24!=0)}v=g;h=y-g|0;b=I}g=b-h|0;c=(g|0)<1;if(!(c|J<<24>>24!=0))_k(a,g,32);Xk(a,v,h);if(!(c|J<<24>>24==0))_k(a,g,32);if(j)$c(j);c=e+1|0;e=v}if((R|0)==10)Xk(a,48744,1);else if((R|0)==69){i[a+25>>0]=1;k[a+16>>2]=0}else if((R|0)==124){i[a+25>>0]=1;k[a+16>>2]=0}else if((R|0)==197){i[a+25>>0]=1;k[a+16>>2]=0}r=Y;return}function yg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;d=a+8|0;b=k[d>>2]|0;do if(((b|0)!=0?(f=a+12|0,i[b+(k[f>>2]|0)>>0]=0,c=i[a+24>>0]|0,c<<24>>24!=0):0)?(e=a+4|0,(k[d>>2]|0)==(k[e>>2]|0)):0){if(c<<24>>24==1){b=(k[f>>2]|0)+1|0;b=rh(k[a>>2]|0,b,((b|0)<0)<<31>>31)|0}else b=Yc((k[f>>2]|0)+1|0)|0;k[d>>2]=b;if(!b){i[a+25>>0]=1;k[a+16>>2]=0;break}else{pw(b|0,k[e>>2]|0,(k[f>>2]|0)+1|0)|0;break}}while(0);return k[d>>2]|0}function zg(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,l=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();h=l;e=a+52|0;k[e>>2]=b;a:do if(!c){k[e>>2]=b;b=k[a+236>>2]|0;if(b){e=b+8|0;if(!(j[e>>1]&9312)){j[e>>1]=1;break}else{Ag(b);break}}}else{g=a+236|0;do if(!(k[g>>2]|0)){e=rh(a,40,0)|0;if(!e){k[g>>2]=e;break a}else{b=e+0|0;f=b+40|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(f|0));j[e+8>>1]=1;k[e+32>>2]=a;k[g>>2]=e;break}}while(0);k[h>>2]=d;e=$k(a,c,h)|0;b=k[g>>2]|0;if(b)ah(b,e,-1,1,75)|0}while(0);r=l;return}function Ag(a){a=a|0;var b=0,c=0;c=a+8|0;b=j[c>>1]|0;if(b&8192){bl(a,k[a>>2]|0)|0;b=j[c>>1]|0}b=b&65535;do if(!(b&1024)){if(b&32){cl(k[a>>2]|0);break}if(b&64){a=k[a>>2]|0;b=(k[a>>2]|0)+180|0;k[a+4>>2]=k[b>>2];k[b>>2]=a}}else hc[k[a+36>>2]&31](k[a+16>>2]|0);while(0);j[c>>1]=1;return}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=r;r=r+16|0;if((r|0)>=(s|0))ka();f=h;d=_h(b,c)|0;do if((d|0)==1){e=rh(a,536,0)|0;if(!e){zg(a,7,15776,f);d=0;break}kw(e|0,0,536)|0;k[e>>2]=b;if(!(dl(e)|0)){rg(a,k[e+4>>2]|0);Hh(e);rg(a,e);g=7;break}else{b=k[e+12>>2]|0;d=e+4|0;k[f>>2]=k[d>>2];zg(a,b,10344,f);rg(a,k[d>>2]|0);Hh(e);rg(a,e);d=0;break}}else g=7;while(0);do if((g|0)==7)if((d|0)<0){k[f>>2]=c;zg(a,1,47448,f);d=0;break}else{d=k[(k[b+16>>2]|0)+(d<<4)+4>>2]|0;break}while(0);r=h;return d|0}function Cg(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;h=k[a+4>>2]|0;k[h+4>>2]=k[a>>2];g=h+22|0;if(!(j[g>>1]&2)){if((c|0)<0)c=(k[h+32>>2]|0)-(k[h+36>>2]|0)|0;if(((b+-512|0)>>>0<65025?(b+-1&b|0)==0:0)?(k[h+32>>2]=b,e=h+80|0,f=k[e>>2]|0,(f|0)!=0):0){a=f+-4|0;k[e>>2]=a;el(a);k[e>>2]=0}e=h+32|0;a=fl(k[h>>2]|0,e,c)|0;k[h+36>>2]=(k[e>>2]|0)-(c&65535);if(d)j[g>>1]=m[g>>1]|0|2}else a=8;return a|0}function Dg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=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,N=0,O=0,P=0,Q=0;Q=r;r=r+16|0;if((r|0)>=(s|0))ka();K=Q;J=Q+12|0;I=Q+8|0;O=k[a+4>>2]|0;F=O+4|0;k[F>>2]=k[a>>2];L=a+8|0;e=i[L>>0]|0;do if(e<<24>>24!=2?(M=(b|0)!=0,e<<24>>24!=1|M):0){N=O+22|0;e=j[N>>1]|0;if(!((e&1)!=0&M)){if(M)if((i[O+20>>0]|0)!=2&(e&64)==0)P=8;else P=7;else if(!(e&64))P=8;else P=7;a:do if((P|0)==7){c=k[O+76>>2]|0;P=12}else if(((P|0)==8?(b|0)>1:0)?(d=k[O+72>>2]|0,(d|0)!=0):0)do{e=k[d>>2]|0;if((e|0)!=(a|0)){c=e;P=12;break a}d=k[d+12>>2]|0}while((d|0)!=0);while(0);if((P|0)==12?(k[c>>2]|0)!=0:0){c=262;break}c=gl(a,1,1)|0;if(!c){e=m[N>>1]|0;j[N>>1]=e&65527;H=O+44|0;if(!(k[H>>2]|0))j[N>>1]=e|8;B=O+12|0;p=O+32|0;q=O+36|0;t=O+17|0;u=O+18|0;v=O+80|0;w=O+24|0;x=O+26|0;y=O+28|0;z=O+30|0;A=O+21|0;C=O+20|0;D=(b|0)>1;c=0;b:while(1){c:do if(!(k[B>>2]|0)){c=hl(k[O>>2]|0)|0;if(!c){c=il(O,1,J,0)|0;if(!c){o=k[J>>2]|0;g=k[o+56>>2]|0;e=l[g+29>>0]<<16|l[g+28>>0]<<24|l[g+30>>0]<<8|l[g+31>>0];f=k[O>>2]|0;h=k[f+24>>2]|0;if((e|0)!=0?(cw(g+24|0,g+92|0,4)|0)==0:0)n=e;else n=h;d:do if((n|0)>0){e:do if(!(cw(g,44680,16)|0)){if((l[g+18>>0]|0)>2)j[N>>1]=m[N>>1]|1;e=i[g+19>>0]|0;if((e&255)<=2){do if(e<<24>>24==2){if(j[N>>1]&16)break;k[I>>2]=0;c=jl(f,I)|0;if(c){P=48;break e}if(k[I>>2]|0)break;if(!o){c=0;continue b}Gg(k[o+68>>2]|0);c=0;continue b}while(0);if(cw(g+21|0,47408,3)|0){c=26;P=48;break}d=l[g+17>>0]<<16|l[g+16>>0]<<8;if((d+16777215&d|0)!=0|d>>>0>65536|d>>>0<257){c=26;P=48;break}f=l[g+20>>0]|0;e=d-f|0;if((d|0)==(k[p>>2]|0)){if((n|0)>(h|0)?(k[(k[F>>2]|0)+24>>2]&65536|0)==0:0){k[K>>2]=55672;k[K+4>>2]=10788;gd(11,13600,K);c=11;P=48;break}if(e>>>0<480){c=26;P=48;break}k[p>>2]=d;k[q>>2]=e;i[t>>0]=(l[g+53>>0]<<16|l[g+52>>0]<<24|l[g+54>>0]<<8|l[g+55>>0]|0)!=0&1;i[u>>0]=(l[g+65>>0]<<16|l[g+64>>0]<<24|l[g+66>>0]<<8|l[g+67>>0]|0)!=0&1;break d}if(o)Gg(k[o+68>>2]|0);k[q>>2]=e;k[p>>2]=d;e=k[v>>2]|0;if(e){c=e+-4|0;k[v>>2]=c;el(c);k[v>>2]=0}c=fl(k[O>>2]|0,p,f)|0}else{c=26;P=48}}else{c=26;P=48}while(0);if((P|0)==48){P=0;if(o)Gg(k[o+68>>2]|0);k[B>>2]=0}if(!c){c=0;continue b}else{P=77;break c}}else e=k[q>>2]|0;while(0);c=((((e<<6)+-768|0)>>>0)/255|0)+65513|0;d=c&65535;j[w>>1]=d;f=((((e<<5)+-384|0)>>>0)/255|0)+65513&65535;j[x>>1]=f;j[y>>1]=e+65501;j[z>>1]=f;i[A>>0]=(d&65535)>127?127:c&255;k[B>>2]=o;k[H>>2]=n;c=0;continue b}else e=0}else e=0}else{f:do if((c|0)==0&M){if(j[N>>1]&1){c=8;P=77;break c}n=k[O>>2]|0;c=k[n+40>>2]|0;g:do if(!c){i[n+21>>0]=(i[(k[a>>2]|0)+64>>0]|0)==2&1;o=n+16|0;if((i[o>>0]|0)==1){f=n+208|0;e=k[f>>2]|0;do if(!e){c=kl(n,2)|0;h:do if((c|0)==0&D){e=n+176|0;d=n+180|0;while(1){c=kl(n,4)|0;if((c|0)!=5)break h;if(!(qc[k[e>>2]&127](k[d>>2]|0)|0)){c=5;break g}}}while(0);if(c)break g}else{do if(i[n+4>>0]|0){if(i[e+43>>0]|0)break;c=kl(n,4)|0;if(c)break g;e=k[f>>2]|0;d=e+43|0;if(!(i[d>>0]|0)){c=k[e+4>>2]|0;uc[k[(k[c>>2]|0)+56>>2]&31](c,(j[e+40>>1]|0)+3|0,1,5)|0;e=k[f>>2]|0}i[d>>0]=1}while(0);if(i[e+46>>0]|0){c=8;break g}d=e+43|0;if((i[d>>0]|0)==0?(E=k[e+4>>2]|0,E=uc[k[(k[E>>2]|0)+56>>2]&31](E,0,1,10)|0,(E|0)!=0):0){c=E;break g}c=e+44|0;i[c>>0]=1;if(!(cw(e+52|0,k[k[e+32>>2]>>2]|0,48)|0))break;if(!(i[d>>0]|0)){d=k[e+4>>2]|0;uc[k[(k[d>>2]|0)+56>>2]&31](d,0,1,9)|0}i[c>>0]=0;c=517;break g}while(0);i[o>>0]=2;c=k[n+24>>2]|0;k[n+36>>2]=c;k[n+32>>2]=c;k[n+28>>2]=c;c=n+72|0;k[c>>2]=0;k[c+4>>2]=0}c=Hg(O)|0;break f}while(0);e=(c|0)==0;break c}while(0);if(!c){c=0;break b}else e=0}while(0);if((P|0)==77){P=0;e=(c|0)==0}if((i[C>>0]|0)==0?(G=k[B>>2]|0,(G|0)!=0):0){k[B>>2]=0;Gg(k[G+68>>2]|0)}if((c&255|0)!=5){P=86;break}if(i[C>>0]|0){P=86;break}if(!(ll(O)|0)){P=86;break}}if((P|0)==86)if(!e){P=96;break}if((i[L>>0]|0)==0?(E=O+40|0,k[E>>2]=(k[E>>2]|0)+1,(i[a+9>>0]|0)!=0):0){i[a+40>>0]=1;E=O+72|0;k[a+44>>2]=k[E>>2];k[E>>2]=a+32}e=M?2:1;i[L>>0]=e;if((e&255)>(l[C>>0]|0))i[C>>0]=e;if(M){e=k[B>>2]|0;k[O+76>>2]=a;d=m[N>>1]|0;j[N>>1]=D?d|32:d&65503;d=e+56|0;E=k[d>>2]|0;if((k[H>>2]|0)!=(l[E+29>>0]<<16|l[E+28>>0]<<24|l[E+30>>0]<<8|l[E+31>>0]|0)){c=Lg(k[e+68>>2]|0)|0;if(!c){c=k[d>>2]|0;P=k[H>>2]|0;i[c+28>>0]=P>>>24;i[c+29>>0]=P>>>16;i[c+30>>0]=P>>>8;i[c+31>>0]=P;c=0;P=96}}else P=96}}}else c=8}else{c=0;P=96}while(0);if((P|0)==96)if((c|0)==0&(b|0)!=0)c=ml(k[O>>2]|0,k[(k[a>>2]|0)+496>>2]|0)|0;r=Q;return c|0}function Eg(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,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0;v=r;r=r+16|0;if((r|0)>=(s|0))ka();p=v;t=v+8|0;k[t>>2]=0;o=d&1;a:do if(!b){k[p>>2]=46865;k[p+4>>2]=10788;gd(11,13600,p);e=11}else{i[a+23>>0]=1;d=k[a+40>>2]|0;do if(!d){n=a+204|0;d=k[n>>2]|0;d=fc[k[8744+132>>2]&63](k[d+40>>2]|0,b,l[d+29>>0]&3)|0;if(!d){g=k[n>>2]|0;if((i[g+29>>0]|0)!=2){f=g+8|0;d=k[f>>2]|0;b:do if(!d)u=11;else{while(1){if((j[d+26>>1]|0)==0?(j[d+24>>1]&4)==0:0)break;d=k[d+36>>2]|0;if(!d){u=11;break b}}k[f>>2]=d;m=d;u=14}while(0);c:do if((u|0)==11?(k[f>>2]=0,h=k[g+4>>2]|0,(h|0)!=0):0){d=h;do{if(!(j[d+26>>1]|0)){m=d;u=14;break c}d=k[d+36>>2]|0}while((d|0)!=0)}while(0);if((u|0)==14?(e=wc[k[g+32>>2]&127](k[g+36>>2]|0,m)|0,!((e|0)==0|(e|0)==5)):0)break;e=fc[k[8744+132>>2]&63](k[g+40>>2]|0,b,2)|0;if(!e){e=7;break}}else e=0}else e=d;g=nl(k[n>>2]|0,b,e)|0;k[c>>2]=g;if(!g)e=7;else{d=g+16|0;e=(o|0)!=0;if(!((k[d>>2]|0)==0|e)){e=a+184|0;k[e>>2]=(k[e>>2]|0)+1;e=0;break a}k[d>>2]=a;do if((b|0)>=0?(q=a+152|0,(((k[2514]|0)/(k[q>>2]|0)|0)+1|0)!=(b|0)):0){if(((i[a+15>>0]|0)==0?!((k[a+24>>2]|0)>>>0<b>>>0|e):0)?(k[k[a+60>>2]>>2]|0)!=0:0){e=k[a+208>>2]|0;if(!e)e=0;else{e=pl(e,b,t)|0;if(e)break;e=k[t>>2]|0}q=a+188|0;k[q>>2]=(k[q>>2]|0)+1;e=ql(g,e)|0;if(!e){e=0;break a}else break}if((k[a+156>>2]|0)>>>0<b>>>0)e=13;else{if(e){e=k[3164]|0;if(e)sc[e&3]();if((k[a+28>>2]|0)>>>0>=b>>>0)gi(k[a+56>>2]|0,b)|0;ol(a,b)|0;e=k[3166]|0;if(e)sc[e&3]()}kw(k[g+4>>2]|0,0,k[q>>2]|0)|0;e=0;break a}}else u=21;while(0);if((u|0)==21){k[p>>2]=46945;k[p+4>>2]=10788;gd(11,13600,p);e=11}rl(g)}}else e=d;while(0);if((k[a+120>>2]|0)==0?(k[(k[a+204>>2]|0)+12>>2]|0)==0:0)sl(a);k[c>>2]=0}while(0);r=v;return e|0}function Fg(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,j=0,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0;w=r;r=r+16|0;if((r|0)>=(s|0))ka();v=w;t=a+4|0;n=k[(k[t>>2]|0)+4>>2]|0;u=k[n>>2]|0;q=a+24|0;m=k[(k[(k[q>>2]|0)+4>>2]|0)+32>>2]|0;n=k[n+32>>2]|0;o=(m|0)<(n|0)?m:n;p=((m|0)<0)<<31>>31;j=xw(m|0,p|0,b|0,0)|0;l=L;if((m|0)==(n|0))a=0;else a=(i[u+15>>0]|0)==0?0:8;a:do if((a|0)==0&(m|0)>0){b=iw(j|0,l|0,m|0,p|0)|0;h=((n|0)<0)<<31>>31;g=(d|0)==0;f=L;a=n;while(1){k[v>>2]=0;d=vw(b|0,f|0,n|0,h|0)|0;if((d|0)!=(((k[2514]|0)>>>0)/(a>>>0)|0|0)){a=Eg(u,d+1|0,v,0)|0;e=k[v>>2]|0;if(!a){a=Lg(e)|0;if(!a){x=ww(b|0,f|0,m|0,p|0)|0;d=k[e+4>>2]|0;a=ww(b|0,f|0,n|0,h|0)|0;pw(d+a|0,c+x|0,o|0)|0;i[k[e+8>>2]>>0]=0;if((b|0)==0&(f|0)==0&g){x=k[(k[(k[q>>2]|0)+4>>2]|0)+44>>2]|0;i[d+(a+28)>>0]=x>>>24;i[d+(a+29)>>0]=x>>>16;i[d+(a+30)>>0]=x>>>8;i[d+(a+31)>>0]=x;a=0}else a=0}}if(e)Gg(e)}else a=0;b=ow(b|0,f|0,n|0,h|0)|0;d=L;if(!((a|0)==0&((d|0)<(l|0)|(d|0)==(l|0)&b>>>0<j>>>0)))break a;f=d;a=k[(k[(k[t>>2]|0)+4>>2]|0)+32>>2]|0}}while(0);r=w;return a|0}function Gg(a){a=a|0;var b=0,c=0,d=0;b=k[a+16>>2]|0;if(!(j[a+24>>1]&64)){tl(a);a=k[b+120>>2]|0}else{d=b+120|0;c=(k[d>>2]|0)+-1|0;k[d>>2]=c;d=b+136|0;k[a+12>>2]=k[d>>2];k[d>>2]=a;a=c}if((a|0)==0?(k[(k[b+204>>2]|0)+12>>2]|0)==0:0)sl(b);return}function Hg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=a+44|0;if(!(k[e>>2]|0)){f=k[a+12>>2]|0;g=k[f+56>>2]|0;b=Lg(k[f+68>>2]|0)|0;if(!b){b=g+0|0;c=44680|0;d=b+16|0;do{i[b>>0]=i[c>>0]|0;b=b+1|0;c=c+1|0}while((b|0)<(d|0));b=a+32|0;i[g+16>>0]=(k[b>>2]|0)>>>8;i[g+17>>0]=(k[b>>2]|0)>>>16;i[g+18>>0]=1;i[g+19>>0]=1;i[g+20>>0]=(k[b>>2]|0)-(k[a+36>>2]|0);i[g+21>>0]=64;i[g+22>>0]=32;i[g+23>>0]=32;b=g+24|0;d=b+76|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(d|0));ul(f,13);b=a+22|0;j[b>>1]=m[b>>1]|0|2;b=i[a+17>>0]|0;i[g+52>>0]=0;i[g+53>>0]=0;i[g+54>>0]=0;i[g+55>>0]=b;b=i[a+18>>0]|0;i[g+64>>0]=0;i[g+65>>0]=0;i[g+66>>0]=0;i[g+67>>0]=b;k[e>>2]=1;i[g+31>>0]=1;b=0}}else b=0;return b|0}function Ig(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=k[a+4>>2]|0;k[e+4>>2]=k[a>>2];a=k[e+12>>2]|0;d=k[a+56>>2]|0;a=Lg(k[a+68>>2]|0)|0;if((a|0)==0?(g=b<<2,i[d+(g+36)>>0]=c>>>24,i[d+(g+37)>>0]=c>>>16,i[d+(g+38)>>0]=c>>>8,f=c&255,i[d+(g+39)>>0]=f,(b|0)==7):0)i[e+18>>0]=f;return a|0}function Jg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=a+20|0;b=k[g>>2]|0;c=(b|0)>0;if(c){d=k[a+16>>2]|0;f=0;do{e=k[d+(f<<4)+4>>2]|0;if(e)k[(k[e+4>>2]|0)+4>>2]=k[e>>2];f=f+1|0}while((f|0)!=(b|0));if(c){f=a+16|0;e=0;do{c=k[(k[f>>2]|0)+(e<<4)+12>>2]|0;if(c){vl(c);b=k[g>>2]|0}e=e+1|0}while((e|0)<(b|0))}}b=a+24|0;k[b>>2]=k[b>>2]&-3;wl(a);xl(a);return}function Kg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=k[a+4>>2]|0;g=d+22|0;c=m[g>>1]|0;j[g>>1]=(b|0)==1?c|16:c&65519;c=Dg(a,0)|0;do if(!c){d=d+12|0;e=k[(k[d>>2]|0)+56>>2]|0;f=e+18|0;c=i[f>>0]|0;b=b&255;if(c<<24>>24==b<<24>>24?(i[e+19>>0]|0)==c<<24>>24:0){c=0;break}c=Dg(a,2)|0;if(!c){c=Lg(k[(k[d>>2]|0)+68>>2]|0)|0;if(!c){i[f>>0]=b;i[e+19>>0]=b;c=0}}}while(0);j[g>>1]=m[g>>1]&65519;return c|0}function Lg(a){a=a|0;var b=0;b=k[a+16>>2]|0;if((k[b+148>>2]|0)>>>0>(k[b+152>>2]|0)>>>0)a=yl(a)|0;else a=zl(a)|0;return a|0}function Mg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0;x=r;r=r+32|0;if((r|0)>=(s|0))ka();q=x+16|0;t=x;e=x+12|0;h=x+8|0;f=k[a+40>>2]|0;a:do if(!f){w=a+16|0;if((l[w>>0]|0)>=3){b:do if(!(i[a+15>>0]|0)){if(k[a+208>>2]|0){g=a+204|0;e=Al(k[g>>2]|0)|0;k[h>>2]=0;if(!e){d=Eg(a,1,h,0)|0;e=k[h>>2]|0;k[e+12>>2]=0;if(e){f=e;v=9}}else{f=0;v=9}if((v|0)==9){d=Bl(a,e,k[a+24>>2]|0,1)|0;if(f)Gg(f)}if(d)break a;e=k[g>>2]|0;d=k[e>>2]|0;if(!d)break;while(1){Cl(d);d=k[e>>2]|0;if(!d)break b}}f=a+18|0;if((i[f>>0]|0)==0?(k[a+24>>2]|0)!=0:0){g=Eg(a,1,e,0)|0;e=k[e>>2]|0;if(!g){g=Lg(e)|0;if(!g){Dl(e);i[f>>0]=1;g=0}}if(e)Gg(e);if(g){d=g;break a}}if(((b|0)!=0?(i[a+5>>0]|0)!=4:0)?(u=a+64|0,j=k[u>>2]|0,(k[j>>2]|0)!=0):0){i[a+19>>0]=1;f=i[b>>0]|0;if(!(f<<24>>24)){g=0;e=0}else{g=0;e=0;do{g=(f<<24>>24)+g|0;e=e+1|0;f=i[b+e>>0]|0}while(f<<24>>24!=0)}p=a+72|0;h=p;f=k[h>>2]|0;h=k[h+4>>2]|0;if(i[a+8>>0]|0){if((f|0)==0&(h|0)==0){f=0;h=0}else{h=ow(f|0,h|0,-1,-1)|0;f=k[a+148>>2]|0;h=vw(h|0,L|0,f|0,0)|0;h=ow(h|0,L|0,1,0)|0;f=xw(h|0,L|0,f|0,0)|0;h=L}o=p;k[o>>2]=f;k[o+4>>2]=h}y=((k[2514]|0)/(k[a+152>>2]|0)|0)+1|0;i[q>>0]=y>>>24;m=q+1|0;i[m>>0]=y>>>16;n=q+2|0;i[n>>0]=y>>>8;o=q+3|0;i[o>>0]=y;j=yc[k[(k[j>>2]|0)+12>>2]&31](j,q,4,f,h)|0;if(j){d=j;break a}y=k[u>>2]|0;j=ow(f|0,h|0,4,0)|0;h=L;f=yc[k[(k[y>>2]|0)+12>>2]&31](y,b,e,j,h)|0;if(f){d=f;break a}y=k[u>>2]|0;h=ow(j|0,h|0,e|0,((e|0)<0)<<31>>31|0)|0;f=L;i[q>>0]=e>>>24;i[m>>0]=e>>>16;i[n>>0]=e>>>8;i[o>>0]=e;j=yc[k[(k[y>>2]|0)+12>>2]&31](y,q,4,h,f)|0;if(j){d=j;break a}y=k[u>>2]|0;j=ow(h|0,f|0,4,0)|0;i[q>>0]=g>>>24;i[m>>0]=g>>>16;i[n>>0]=g>>>8;i[o>>0]=g;g=yc[k[(k[y>>2]|0)+12>>2]&31](y,q,4,j,L)|0;if(g){d=g;break a}o=k[u>>2]|0;f=ow(h|0,f|0,8,0)|0;f=yc[k[(k[o>>2]|0)+12>>2]&31](o,14808,8,f,L)|0;if(f){d=f;break a}o=e+20|0;f=p;o=ow(k[f>>2]|0,k[f+4>>2]|0,o|0,((o|0)<0)<<31>>31|0)|0;f=p;k[f>>2]=o;k[f+4>>2]=L;f=k[u>>2]|0;f=wc[k[(k[f>>2]|0)+24>>2]&127](f,t)|0;if(f){d=f;break a}o=t;n=k[o+4>>2]|0;f=p;e=k[f>>2]|0;f=k[f+4>>2]|0;if((n|0)>(f|0)|((n|0)==(f|0)?(k[o>>2]|0)>>>0>e>>>0:0)?(d=k[u>>2]|0,d=fc[k[(k[d>>2]|0)+16>>2]&63](d,e,f)|0,(d|0)!=0):0)break a}d=El(a,0)|0;if(d)break a;e=a+204|0;d=Fl(a,Al(k[e>>2]|0)|0)|0;if(d)break a;d=k[e>>2]|0;e=k[d>>2]|0;if(e)do{Cl(e);e=k[d>>2]|0}while((e|0)!=0);e=k[a+24>>2]|0;if(e>>>0>(k[a+32>>2]|0)>>>0){d=Gl(a,e-((e|0)==(((k[2514]|0)/(k[a+152>>2]|0)|0)+1|0)&1)|0)|0;if(!(d|c))v=46}else if(!c)v=46;else break;if((v|0)==46)d=Ng(a,b)|0;if(d)break a}else{d=k[a+88>>2]|0;if(d)do{k[d+16>>2]=1;d=k[d+44>>2]|0}while((d|0)!=0)}while(0);if(!(k[a+208>>2]|0)){i[w>>0]=5;d=0}else d=0}else d=0}else d=f;while(0);r=x;return d|0}function Ng(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=a+60|0;e=k[d>>2]|0;f=k[e>>2]|0;if(!((f|0)!=0?(c=fc[k[f+40>>2]&63](e,21,b)|0,!((c|0)==0|(c|0)==12)):0))if(!(i[a+7>>0]|0)){c=k[d>>2]|0;c=wc[k[(k[c>>2]|0)+20>>2]&127](c,l[a+11>>0]|0)|0}else c=0;return c|0}function Og(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=i[a+8>>0]|0;do if(!(d<<24>>24))c=0;else{h=k[a+4>>2]|0;k[h+4>>2]=k[a>>2];if(d<<24>>24==2){e=k[h>>2]|0;f=e+40|0;d=k[f>>2]|0;do if(!d){d=e+16|0;if(((i[d>>0]|0)==2?(i[e+4>>0]|0)!=0:0)?(i[e+5>>0]|0)==1:0){i[d>>0]=1;break}c=e+100|0;k[c>>2]=(k[c>>2]|0)+1;c=Hl(e,l[e+19>>0]|0,1)|0;e=c&255;if((e|0)==10|(e|0)==13){k[f>>2]=c;i[d>>0]=6;g=10}else g=10}else{c=d;g=10}while(0);if((g|0)==10?(c|0)!=0&(b|0)==0:0)break;c=a+20|0;k[c>>2]=(k[c>>2]|0)+-1;i[h+20>>0]=1;c=h+60|0;ji(k[c>>2]|0);k[c>>2]=0}Il(a);c=0}while(0);return c|0}function Pg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();e=o;a:do if((i[a+8>>0]|0)==2){n=k[a+4>>2]|0;k[n+4>>2]=k[a>>2];do if(i[n+17>>0]|0){m=k[n>>2]|0;c=n+8|0;a=k[c>>2]|0;if(a)do{j=a+72|0;i[j>>0]=l[j>>0]&251;a=k[a+8>>2]|0}while((a|0)!=0);if(!(i[n+18>>0]|0)){j=n+44|0;d=k[j>>2]|0;if(d>>>0<2)a=0;else{a=d+-2|0;a=a-((a>>>0)%(((((k[n+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;a=((a+1|0)==(((k[2514]|0)>>>0)/((k[n+32>>2]|0)>>>0)|0|0)?3:2)+a|0}if((a|0)!=(d|0)?(d|0)!=((((k[2514]|0)>>>0)/((k[n+32>>2]|0)>>>0)|0)+1|0):0){f=n+12|0;g=k[(k[f>>2]|0)+56>>2]|0;g=l[g+37>>0]<<16|l[g+36>>0]<<24|l[g+38>>0]<<8|l[g+39>>0];h=Jl(n,d,g)|0;if(h>>>0>d>>>0){k[e>>2]=56396;k[e+4>>2]=10788;gd(11,13600,e);a=11;break a}b:do if(h>>>0<d>>>0){a=k[c>>2]|0;c:do if(a){while(1){if(a)break;a=k[2]|0;if(!a)break c}a=Kl(a,0,0)|0;if(a){c=0;break b}}while(0);do{a=Ll(n,h,d,1)|0;d=d+-1|0;c=(a|0)==0}while(d>>>0>h>>>0&c)}else{c=1;a=0}while(0);if(((a|0)==101|c)&(g|0)!=0){a=Lg(k[(k[f>>2]|0)+68>>2]|0)|0;g=(k[(k[f>>2]|0)+56>>2]|0)+32|0;i[g>>0]=0;i[g+1>>0]=0;i[g+2>>0]=0;i[g+3>>0]=0;g=(k[(k[f>>2]|0)+56>>2]|0)+36|0;i[g>>0]=0;i[g+1>>0]=0;i[g+2>>0]=0;i[g+3>>0]=0;g=k[(k[f>>2]|0)+56>>2]|0;i[g+28>>0]=h>>>24;i[g+29>>0]=h>>>16;i[g+30>>0]=h>>>8;i[g+31>>0]=h;i[n+19>>0]=1;k[j>>2]=h}if(!a)break;Ml(m)|0;break a}k[e>>2]=56391;k[e+4>>2]=10788;gd(11,13600,e);a=11;break a}}while(0);a=k[n>>2]|0;if(i[n+19>>0]|0)k[a+24>>2]=k[n+44>>2];a=Mg(a,b,0)|0}else a=0;while(0);r=o;return a|0}function Qg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+16|0;if((r|0)>=(s|0))ka();e=h;g=k[a+4>>2]|0;k[g+4>>2]=k[a>>2];a:do if(!b){b=k[g+8>>2]|0;if(b){while(1){if(b)break;b=k[2]|0;if(!b)break a}b=Kl(b,0,0)|0;d=(b|0)==0;if(!d){d=d?c:0;f=6}}}else{d=c;f=6}while(0);if((f|0)==6)Nl(a,b,d)|0;if((i[a+8>>0]|0)==2){Ml(k[g>>2]|0)|0;if(!(il(g,1,e,0)|0)){b=k[e>>2]|0;d=k[b+56>>2]|0;d=l[d+29>>0]<<16|l[d+28>>0]<<24|l[d+30>>0]<<8|l[d+31>>0];if(!d)d=k[(k[g>>2]|0)+24>>2]|0;k[g+44>>2]=d;if(b)Gg(k[b+68>>2]|0)}i[g+20>>0]=1;d=g+60|0;ji(k[d>>2]|0);k[d>>2]=0}Il(a);r=h;return}function Rg(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;g=a+76|0;if((k[g>>2]|0)==1691352191?(Ol(a)|0)==0:0){Pl(a,0);Ql(a);f=a+20|0;h=a+16|0;b=k[h>>2]|0;if((k[f>>2]|0)>0){e=0;do{d=b+(e<<4)+4|0;c=k[d>>2]|0;if((c|0)!=0?(Rl(c),k[d>>2]=0,(e|0)!=1):0)k[b+(e<<4)+12>>2]=0;e=e+1|0;b=k[h>>2]|0}while((e|0)<(k[f>>2]|0))}b=k[b+28>>2]|0;if(b)vl(b);wl(a);xl(a);e=0;do{b=k[a+(e<<2)+336>>2]|0;if(b)do{d=b;b=k[b+28>>2]|0;if(d)do{Sl(a,d);c=d;d=k[d+8>>2]|0;rg(a,c)}while((d|0)!=0)}while((b|0)!=0);e=e+1|0}while((e|0)!=23);c=a+428|0;b=k[a+436>>2]|0;if(b)do{e=k[b+8>>2]|0;d=k[e+16>>2]|0;if(d)hc[d&31](k[e+8>>2]|0);d=k[e+36>>2]|0;if(d)hc[d&31](k[e+28>>2]|0);d=k[e+56>>2]|0;if(d)hc[d&31](k[e+48>>2]|0);rg(a,e);b=k[b>>2]|0}while((b|0)!=0);Tl(c);e=a+308|0;b=k[a+316>>2]|0;if(b)do{d=k[b+8>>2]|0;c=k[d+12>>2]|0;if(c)hc[c&31](k[d+8>>2]|0);rg(a,d);b=k[b>>2]|0}while((b|0)!=0);Tl(e);k[a+52>>2]=0;c=a+236|0;b=k[c>>2]|0;do if(b){d=b+8|0;if(!(j[d>>1]&9312)){j[d>>1]=1;break}else{Ag(b);b=k[c>>2]|0;break}}else b=0;while(0);Rh(b);d=a+168|0;if((k[d>>2]|0)>0){b=a+172|0;c=0;do{e=k[a>>2]|0;oc[k[e+52>>2]&15](e,k[(k[b>>2]|0)+(c<<2)>>2]|0);c=c+1|0}while((c|0)<(k[d>>2]|0))}else b=a+172|0;rg(a,k[b>>2]|0);k[g>>2]=-1254786768;rg(a,k[(k[h>>2]|0)+28>>2]|0);k[g>>2]=-1623446221;if(i[a+251>>0]|0)$c(k[a+276>>2]|0);$c(a)}return}function Sg(a){a=a|0;var b=0;b=k[a+40>>2]|0;if((b|0)==1369188723|(b|0)==-1108210269)b=Ug(a)|0;else b=0;Ul(a);return b|0}function Tg(a,b){a=a|0;b=b|0;do if(a)if((i[a+65>>0]|0)!=0|(b|0)==3082){Vl(a);a=7;break}else{a=k[a+56>>2]&b;break}else a=b&255;while(0);return a|0}function Ug(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();c=e;d=k[a>>2]|0;Wl(a)|0;if((k[a+76>>2]|0)>-1){mh(a)|0;b=a+44|0;rg(d,k[b>>2]|0);k[b>>2]=0;b=a+88|0;c=j[b>>1]|0;if(c&16)j[b>>1]=c|8}else{b=k[a+80>>2]|0;if((b|0)!=0?(j[a+88>>1]&8)!=0:0){f=a+44|0;g=k[f>>2]|0;k[c>>2]=g;zg(d,b,(g|0)!=0?10344:0,c);rg(d,k[f>>2]|0);k[f>>2]=0}}b=a+44|0;rg(k[a>>2]|0,k[b>>2]|0);k[b>>2]=0;k[a+20>>2]=0;b=a+136|0;k[b>>2]=0;k[b+4>>2]=0;k[a+40>>2]=649915045;r=e;return k[d+56>>2]&k[a+80>>2]|0}function Vg(a){a=a|0;var b=0;if(j[a+8>>1]&9312)Ag(a);b=a+24|0;if(k[b>>2]|0){rg(k[a+32>>2]|0,k[a+20>>2]|0);k[b>>2]=0}k[a+16>>2]=0;return}function Wg(a){a=a|0;var b=0,c=0,d=0;b=a+8|0;if(j[b>>1]&16384){c=a+12|0;d=(k[a>>2]|0)+(k[c>>2]|0)|0;if(!(jh(a,(d|0)<1?1:d,1)|0)){kw((k[a+16>>2]|0)+(k[c>>2]|0)|0,0,k[a>>2]|0)|0;k[c>>2]=(k[c>>2]|0)+(k[a>>2]|0);j[b>>1]=(m[b>>1]|0)&48639;b=0}else b=7}else b=0;return b|0}function Xg(a,b){a=a|0;b=b|0;var c=0;do if(a){c=j[a+8>>1]|0;if((c&514)==514?(i[a+10>>0]|0)==b<<24>>24:0){c=k[a+16>>2]|0;break}if(!(c&1))c=Xl(a,b)|0;else c=0}else c=0;while(0);return c|0}function Yg(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+8|0;d=j[c>>1]|0;if(!(d&16))if(!(Xg(a,b)|0))c=0;else{d=j[c>>1]|0;e=4}else e=4;if((e|0)==4){c=k[a+12>>2]|0;if(d&16384)c=(k[a>>2]|0)+c|0}return c|0}function Zg(a){a=a|0;var b=0.0,c=0,d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;c=m[a+8>>1]|0;do if(!(c&8)){if(c&4){c=a;b=+((k[c>>2]|0)>>>0)+4294967296.0*+(k[c+4>>2]|0);break}if(!(c&18))b=0.0;else{p[d>>3]=0.0;Yl(k[a+16>>2]|0,d,k[a+12>>2]|0,i[a+10>>0]|0)|0;b=+p[d>>3]}}else b=+p[a>>3];while(0);r=e;return +b}function _g(a){a=a|0;var b=0.0,c=0,d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;c=m[a+8>>1]|0;do if(!(c&4)){if(!(c&8)){if(!(c&18)){a=0;c=0;break}c=d;k[c>>2]=0;k[c+4>>2]=0;Zl(k[a+16>>2]|0,d,k[a+12>>2]|0,i[a+10>>0]|0)|0;c=d;a=k[c+4>>2]|0;c=k[c>>2]|0;break}b=+p[a>>3];if(!(b<=-9223372036854775808.0))if(!(b>=9223372036854775808.0)){a=+W(b)>=1.0?(b>0.0?~~+ia(+V(b/4294967296.0),4294967295.0)>>>0:~~+ga((b-+(~~b>>>0))/4294967296.0)>>>0):0;c=~~b>>>0}else{a=2147483647;c=-1}else{a=-2147483648;c=0}}else{c=a;a=k[c+4>>2]|0;c=k[c>>2]|0}while(0);L=a;r=e;return c|0}function $g(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if((ah(k[a>>2]|0,b,c,d,e)|0)==18){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0}return}function ah(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,l=0,n=0,o=0,p=0,q=0,r=0;a:do if(!b){f=a+8|0;if(!(j[f>>1]&9312)){j[f>>1]=1;f=0;break}else{Ag(a);f=0;break}}else{o=a+32|0;f=k[o>>2]|0;if(!f)r=1e9;else r=k[f+88>>2]|0;q=d<<24>>24==0;n=q?16:2;if((c|0)<0){b:do if(d<<24>>24!=1)if((r|0)<0)g=0;else{c=0;while(1){g=c+2|0;if(!((i[b+(c|1)>>0]|i[b+c>>0])<<24>>24)){g=c;break b}if((g|0)>(r|0))break;else c=g}}else{g=b;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-b&1073741823;g=(g|0)>(r|0)?r+1|0:g}while(0);p=g;l=(n&65535|512)&65535}else{p=c;l=n}do if((e|0)==(-1|0)){if(!(l&512))f=p;else f=p+(d<<24>>24==1?1:2)|0;if((p|0)>(r|0)){f=18;break a}if(kh(a,(f|0)>32?f:32)|0){f=7;break a}pw(k[a+16>>2]|0,b|0,f|0)|0;n=a+8|0;f=l}else{c=(e|0)==75;h=a+8|0;if(!((j[h>>1]&9312)==0?(k[a+24>>2]|0)==0:0))Vg(a);k[a+16>>2]=b;if(!c){k[a+36>>2]=e;n=h;f=(l&65535|((e|0)==0?2048:1024))&65535;break}k[a+20>>2]=b;f=k[o>>2]|0;do if(!f)f=qc[k[8744+48>>2]&127](b)|0;else{if((k[f+276>>2]|0)>>>0<=b>>>0?(k[f+280>>2]|0)>>>0>b>>>0:0){f=m[f+248>>1]|0;break}f=qc[k[8744+48>>2]&127](b)|0}while(0);k[a+24>>2]=f;n=h;f=l}while(0);l=a+12|0;k[l>>2]=p;j[n>>1]=f;b=q?1:d;h=a+10|0;i[h>>0]=b;do if(b<<24>>24!=1&(p|0)>1){c=a+16|0;g=k[c>>2]|0;f=i[g>>0]|0;g=i[g+1>>0]|0;if(!(f<<24>>24==-1&g<<24>>24==-2))if(g<<24>>24!=-1|f<<24>>24!=-2)break;else f=3;else f=2;if(_l(a)|0){f=7;break a}b=(k[l>>2]|0)+-2|0;k[l>>2]=b;e=k[c>>2]|0;qw(e|0,e+2|0,b|0)|0;i[(k[c>>2]|0)+(k[l>>2]|0)>>0]=0;i[(k[c>>2]|0)+((k[l>>2]|0)+1)>>0]=0;j[n>>1]=m[n>>1]|512;i[h>>0]=f}while(0);f=(p|0)>(r|0)?18:0}while(0);return f|0}function bh(a,b){a=a|0;b=+b;var c=0,d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();d=f+8|0;e=f;c=a+8|0;if(!(j[c>>1]&9312))j[c>>1]=1;else Ag(a);p[d>>3]=b;p[e>>3]=+p[d>>3];if(!(+p[d>>3]!=+p[e>>3])){p[a>>3]=b;j[c>>1]=8}r=f;return}function ch(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=a+8|0;if(!(j[d>>1]&9312))j[d>>1]=1;else Ag(a);k[a>>2]=b;k[a+4>>2]=c;j[d>>1]=4;return}function dh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=a+8|0;if(j[c>>1]&9312)Ag(a);k[a+0>>2]=k[b+0>>2];k[a+4>>2]=k[b+4>>2];k[a+8>>2]=k[b+8>>2];k[a+12>>2]=k[b+12>>2];k[a+16>>2]=k[b+16>>2];e=m[c>>1]|0;d=e&64511;j[c>>1]=d;if((e&18|0)!=0?(j[b+8>>1]&2048)==0:0){j[c>>1]=d|4096;c=_l(a)|0}else c=0;return c|0}function eh(a,b){a=a|0;b=b|0;var c=0;c=a+8|0;if(!((j[c>>1]&9312)==0?(k[a+24>>2]|0)==0:0))Vg(a);j[c>>1]=16400;k[a+12>>2]=0;k[a>>2]=(b|0)<0?0:b;i[a+10>>0]=1;k[a+16>>2]=0;return}function fh(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;if(a)if(!(k[a>>2]|0)){gd(21,47360,b);a=1}else a=0;else{gd(21,47320,b);a=1}r=c;return a|0}function gh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;if((k[a>>2]|0)>1?(c=k[a+72>>2]|0,(c|0)!=0):0)c=wc[c&127](a,b)|0;else{c=wc[k[a+64>>2]&127](a,d)|0;f=+p[d>>3]*864.0e5;a=+W(f)>=1.0?(f>0.0?~~+ia(+V(f/4294967296.0),4294967295.0)>>>0:~~+ga((f-+(~~f>>>0))/4294967296.0)>>>0):0;k[b>>2]=~~f>>>0;k[b+4>>2]=a}r=e;return c|0}function hh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:do if((a|0)!=0&(b|0)!=0){f=a+(b*40|0)|0;g=k[a+32>>2]|0;d=g+65|0;e=i[d>>0]|0;if(k[g+520>>2]|0){b=a;while(1){if(k[b+24>>2]|0)rg(g,k[b+20>>2]|0);b=b+40|0;if(b>>>0>=f>>>0)break a}}do{b=a+8|0;if(!(j[b>>1]&9312)){c=a+24|0;if(k[c>>2]|0){rg(g,k[a+20>>2]|0);k[c>>2]=0}}else Vg(a);j[b>>1]=128;a=a+40|0}while(a>>>0<f>>>0);i[d>>0]=e}while(0);return}function ih(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();f=e;k[f>>2]=d;d=$k(b,c,f)|0;rg(b,k[a>>2]|0);k[a>>2]=d;r=e;return}function jh(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,l=0,n=0,o=0;i=a+24|0;d=k[i>>2]|0;do if((d|0)<(b|0)){h=(b|0)<32?32:b;b=(d|0)>0;if((c|0)!=0&b?(e=a+16|0,f=k[e>>2]|0,g=a+20|0,(f|0)==(k[g>>2]|0)):0){d=$l(k[a+32>>2]|0,f,h,((h|0)<0)<<31>>31)|0;k[g>>2]=d;k[e>>2]=d;c=0}else{d=a+32|0;if(b){b=a+20|0;rg(k[d>>2]|0,k[b>>2]|0)}else b=a+20|0;d=rh(k[d>>2]|0,h,((h|0)<0)<<31>>31)|0;k[b>>2]=d}if(!d){c=a+8|0;if(!(j[c>>1]&9312))j[c>>1]=1;else Ag(a);k[a+16>>2]=0;k[i>>2]=0;c=7;break}b=k[a+32>>2]|0;do if(!b)b=qc[k[8744+48>>2]&127](d)|0;else{if((k[b+276>>2]|0)>>>0<=d>>>0?(k[b+280>>2]|0)>>>0>d>>>0:0){b=m[b+248>>1]|0;break}b=qc[k[8744+48>>2]&127](d)|0}while(0);k[i>>2]=b;o=21}else o=21;while(0);if((o|0)==21){if(((c|0)!=0?(l=k[a+16>>2]|0,(l|0)!=0):0)?(n=k[a+20>>2]|0,(l|0)!=(n|0)):0)pw(n|0,l|0,k[a+12>>2]|0)|0;b=a+8|0;c=j[b>>1]|0;if(!(c&1024))d=a+16|0;else{d=a+16|0;hc[k[a+36>>2]&31](k[d>>2]|0);c=j[b>>1]|0}k[d>>2]=k[a+20>>2];j[b>>1]=c&58367;c=0}return c|0}function kh(a,b){a=a|0;b=b|0;if((k[a+24>>2]|0)<(b|0))a=jh(a,b,0)|0;else{k[a+16>>2]=k[a+20>>2];a=a+8|0;j[a>>1]=(m[a>>1]|0)&13;a=0}return a|0} [all...] |
H A D | sqlite-pointer-masking.js | 10 function uc(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;if((i|0)>=(j|0))fa();return b|0}function vc(){return i|0}function wc(a){a=a|0;i=a}function xc(a,b){a=a|0;b=b|0;if(!r){r=a;s=b}}function yc(b){b=b|0;a[(k&n)>>0]=a[(b&n)>>0];a[(k&n)+1>>0]=a[(b&n)+1>>0];a[(k&n)+2>>0]=a[(b&n)+2>>0];a[(k&n)+3>>0]=a[(b&n)+3>>0]}function zc(b){b=b|0;a[(k&n)>>0]=a[(b&n)>>0];a[(k&n)+1>>0]=a[(b&n)+1>>0];a[(k&n)+2>>0]=a[(b&n)+2>>0];a[(k&n)+3>>0]=a[(b&n)+3>>0];a[(k&n)+4>>0]=a[(b&n)+4>>0];a[(k&n)+5>>0]=a[(b&n)+5>>0];a[(k&n)+6>>0]=a[(b&n)+6>>0];a[(k&n)+7>>0]=a[(b&n)+7>>0]}function Ac(a){a=a|0;G=a}function Bc(){return G|0}function Cc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();e=h+4|0;f=h;g=0;a:while(1){c[(e&p)>>2]=0;c[(f&p)>>2]=0;a[280]=0;if(Rf(14640,e)|0){d=4;break}d=c[(e&p)>>2]|0;b=0;do{if(Qe(d,c[(b<<2&p)+8>>2]|0,17,0,f)|0){d=7;break a}b=b+1|0;d=c[(e&p)>>2]|0}while((b|0)!=5);tf(d)|0;if(_v(280,8504)|0){d=9;break}g=g+1|0;if((g|0)>=3){d=11;break}}if((d|0)==4)ib(8472,8488,47,8496);else if((d|0)==7)ib(8472,8488,50,8496);else if((d|0)==9)ib(8600,8488,53,8496);else if((d|0)==11){i=h;return 0}return 0}function Dc(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if((d|0)>0)while(1){d=d+-1|0;hw(280,c[(f&p)>>2]|0)|0;b=280+(gw(280)|0)|0;a[(b&n)>>0]=61;a[(b&n)+1>>0]=0;b=c[(e&p)>>2]|0;hw(280,((b|0)==0?20304:b)|0)|0;if((d|0)<=0)break;else{e=e+4|0;f=f+4|0}}return 0}function Ec(b){b=b|0;var e=0,f=0,g=0;g=(Fc(b,8640,7)|0)==0;g=g?b+7|0:b;if(!g)b=0;else{b=g;while(1)if(!(a[(b&n)>>0]|0))break;else b=b+1|0;b=b-g&1073741823}f=0;while(1){e=c[(f<<2&p)+8648>>2]|0;if((Fc(g,e,b)|0)==0?(a[((d[(e+b&n)>>0]|0)&n)+10368>>0]&70)==0:0){b=1;break}f=f+1|0;if((f|0)>=4){b=0;break}}return b|0}function Fc(b,c,e){b=b|0;c=c|0;e=e|0;var f=0;a:do if(b)if(c)if((e|0)>0){f=b;while(1){b=a[(f&n)>>0]|0;if(!(b<<24>>24))break;if((a[(b&255&n)+9328>>0]|0)!=(a[((d[(c&n)>>0]|0)&n)+9328>>0]|0))break;e=e+-1|0;if((e|0)<=0){e=0;break a}else{f=f+1|0;c=c+1|0}}if((e|0)>=1)e=(d[(b&255&n)+9328>>0]|0)-(d[((d[(c&n)>>0]|0)&n)+9328>>0]|0)|0;else e=0}else e=0;else e=1;else e=((c|0)!=0)<<31>>31;while(0);return e|0}function Gc(a){a=a|0;if(a>>>0<4)a=c[(a<<2&p)+8648>>2]|0;else a=0;return a|0}function Hc(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();f=h;if(a>>>0<=9){g=c[(a<<2&p)+8664>>2]|0;f=b;c[(f&p)>>2]=g;c[(f&p)+4>>2]=0;f=8704+(a<<2)|0;a=d;c[(a&p)>>2]=c[(f&p)>>2];c[(a&p)+4>>2]=0;if(!e)f=0;else{c[(f&p)>>2]=g;f=0}}else{c[(f&p)>>2]=15033;c[(f&p)+4>>2]=10788;bd(21,13648,f);f=21}i=h;return f|0}function Ic(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();f=h+8|0;g=h;a=Hc(a,f,g,e)|0;if(!a){c[(b&p)>>2]=c[(f&p)>>2];c[(d&p)>>2]=c[(g&p)>>2]}i=h;return a|0}function Jc(a,b,d,f,g){a=a|0;b=b|0;d=d|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();n=r+4|0;l=r;switch(b|0){case 2:{c[(n&p)>>2]=0;q=a+20|0;g=c[(q&p)>>2]|0;h=(g|0)>0;if(h){l=c[(a&p)+16>>2]|0;k=0;do{b=c[(l+(k<<4)&p)+4>>2]|0;if(b)c[((c[(b&p)+4>>2]|0)&p)+4>>2]=c[(b&p)>>2];k=k+1|0}while((k|0)!=(g|0));k=a+520|0;c[(k&p)>>2]=n;if(h){m=a+16|0;h=0;do{b=c[((c[(m&p)>>2]|0)+(h<<4)&p)+12>>2]|0;if(b){l=lc[c[8796>>2]&127](16)|0;l=ca((c[(b&p)+44>>2]|0)+(c[(b&p)+12>>2]|0)+(c[(b&p)+28>>2]|0)+(c[(b&p)+60>>2]|0)|0,l)|0;c[(n&p)>>2]=l+(c[(n&p)>>2]|0);l=lc[c[8792>>2]&127](c[(b&p)+20>>2]|0)|0;c[(n&p)>>2]=(c[(n&p)>>2]|0)+l;l=lc[c[8792>>2]&127](c[(b&p)+52>>2]|0)|0;c[(n&p)>>2]=(c[(n&p)>>2]|0)+l;l=lc[c[8792>>2]&127](c[(b&p)+36>>2]|0)|0;c[(n&p)>>2]=(c[(n&p)>>2]|0)+l;l=lc[c[8792>>2]&127](c[(b&p)+68>>2]|0)|0;c[(n&p)>>2]=(c[(n&p)>>2]|0)+l;l=c[(b&p)+48>>2]|0;if(l)do{jg(a,c[(l&p)+8>>2]|0);l=c[(l&p)>>2]|0}while((l|0)!=0);l=c[(b&p)+16>>2]|0;if(l)do{kg(a,c[(l&p)+8>>2]|0);l=c[(l&p)>>2]|0}while((l|0)!=0);g=c[(q&p)>>2]|0}h=h+1|0}while((h|0)<(g|0));h=c[(n&p)>>2]|0}else h=0}else{k=a+520|0;c[(k&p)>>2]=n;h=0}c[(k&p)>>2]=0;c[(f&p)>>2]=0;c[(d&p)>>2]=h;h=0;break}case 9:case 8:case 7:{q=a+20|0;l=c[(q&p)>>2]|0;if((l|0)>0){n=c[(a&p)+16>>2]|0;m=b+-7|0;k=(g|0)==0;h=0;b=l;g=0;while(1){l=c[(n+(g<<4)&p)+4>>2]|0;if(l){l=(c[(c[(l&p)+4>>2]&p)>>2]|0)+(m<<2)+184|0;h=(c[(l&p)>>2]|0)+h|0;if(k)l=b;else{c[(l&p)>>2]=0;l=c[(q&p)>>2]|0}}else l=b;g=g+1|0;if((g|0)>=(l|0))break;else b=l}}else h=0;c[(f&p)>>2]=0;c[(d&p)>>2]=h;h=0;break}case 0:{k=a+252|0;c[(d&p)>>2]=c[(k&p)>>2];h=a+256|0;c[(f&p)>>2]=c[(h&p)>>2];if(!g)h=0;else{c[(h&p)>>2]=c[(k&p)>>2];h=0}break}case 6:case 5:case 4:{c[(d&p)>>2]=0;h=a+(b+-4<<2)+260|0;c[(f&p)>>2]=c[(h&p)>>2];if(!g)h=0;else{c[(h&p)>>2]=0;h=0}break}case 1:{m=a+20|0;k=c[(m&p)>>2]|0;g=(k|0)>0;if(g){h=c[(a&p)+16>>2]|0;l=0;do{b=c[(h+(l<<4)&p)+4>>2]|0;if(b)c[((c[(b&p)+4>>2]|0)&p)+4>>2]=c[(b&p)>>2];l=l+1|0}while((l|0)!=(k|0));if(g){b=a+16|0;l=0;h=0;while(1){g=c[((c[(b&p)>>2]|0)+(l<<4)&p)+4>>2]|0;if(!g)g=k;else{q=c[(c[(g&p)+4>>2]&p)>>2]|0;a=q+152|0;n=(c[(a&p)>>2]|0)+60+(e[(q&o)+140>>1]|0)|0;n=ca(lc[c[8872>>2]&127](c[((c[(q&p)+204>>2]|0)&p)+40>>2]|0)|0,n)|0;q=lc[c[8792>>2]&127](q)|0;g=c[(m&p)>>2]|0;h=n+h+q+(c[(a&p)>>2]|0)|0}l=l+1|0;if((l|0)>=(g|0))break;else k=g}}else h=0}else h=0;c[(d&p)>>2]=h;c[(f&p)>>2]=0;h=0;break}case 3:{c[(l&p)>>2]=0;g=a+520|0;c[(g&p)>>2]=l;k=c[(a&p)+4>>2]|0;if(!k)h=0;else{do{lg(a,k);mg(a,k);k=c[(k&p)+52>>2]|0}while((k|0)!=0);h=c[(l&p)>>2]|0}c[(g&p)>>2]=0;c[(f&p)>>2]=0;c[(d&p)>>2]=h;h=0;break}case 10:{c[(f&p)>>2]=0;q=a+512|0;n=c[(q&p)+4>>2]|0;if((n|0)>0|(n|0)==0&(c[(q&p)>>2]|0)>>>0>0)h=1;else{h=a+504|0;a=c[(h&p)+4>>2]|0;h=(a|0)>0|(a|0)==0&(c[(h&p)>>2]|0)>>>0>0}c[(d&p)>>2]=h&1;h=0;break}default:h=1}i=r;return h|0}function Kc(a){a=a|0;var b=0;a:do if(!(Lc()|0)){b=c[2254]|0;if(!((b|0)==0|(a|0)==0))while(1){if(!(_v(a,c[(b&p)+16>>2]|0)|0))break a;b=c[(b&p)+12>>2]|0;if(!b){b=0;break}}}else b=0;while(0);return b|0}function Lc(){var a=0,b=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();k=m;do if(!(c[2243]|0)){c[2245]=1;if(!(c[2246]|0)){if(!(c[2195]|0)){c[(k&p)>>2]=16496;mf(4,k)|0}b=9024|0;d=b+40|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(d|0));if(c[2187]|0)c[2256]=8;h=c[2234]|0;d=c[2235]|0;b=c[2236]|0;if((h|0)!=0&(d|0)>99&(b|0)>0){g=d&-8;c[2235]=g;c[2263]=h;c[2264]=b;f=b+-1|0;if((f|0)>0){b=h+(ca(d>>>3,(b<<3)+-8|0)|0)|0;e=0;d=h;do{a=d;d=d+g|0;c[(a&p)>>2]=d;e=e+1|0}while((e|0)!=(f|0))}else b=h;c[(b&p)>>2]=0;c[2262]=b+4}else{c[2262]=0;c[2234]=0;c[2235]=0;c[2236]=0}if((c[2237]|0)==0|(c[2238]|0)<512|(c[2239]|0)<1){c[2237]=0;c[2238]=0;c[2239]=0}a=lc[c[8800>>2]&127](c[2202]|0)|0;if(a){b=9024|0;d=b+40|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(d|0));break}}c[2246]=1;if(!(c[2249]|0))c[2249]=8;a=(c[2248]|0)+1|0;c[2248]=a;if(!(c[2244]|c[2243])){c[2244]=1;b=10840|0;d=b+92|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(d|0));b=0;do{ng(10840,16608+(b*36|0)|0);b=b+1|0}while((b|0)!=59);b=0;do{ng(10840,19480+(b*36|0)|0);b=b+1|0}while((b|0)!=8);ng(10840,19256);ng(10840,19292|0);ng(10840,19328|0);if(!(c[2247]|0)){a=c[2214]|0;if(!a){c[(k&p)>>2]=16440;mf(18,k)|0;a=c[2214]|0}a=lc[a&127](c[2213]|0)|0;if(!a)l=28}else l=28;if((l|0)==28){c[2247]=1;a=Tc(10)|0;if(!a)a=7;else{Wc(a);Mc(9584,1)|0;Mc(9672|0,0)|0;Mc(9760|0,0)|0;Mc(9848|0,0)|0;a=c[2237]|0;b=c[2238]|0;d=c[2239]|0;if(c[3153]|0){k=b&-8;c[3154]=k;c[3161]=d;c[3155]=d;if((d|0)<=90){c[3156]=((d|0)/10|0)+1;c[3157]=a;c[3160]=0;c[3162]=0;if(d)l=33}else{c[3156]=10;c[3157]=a;c[3160]=0;c[3162]=0;l=33}if((l|0)==33){f=b>>>3;g=d<<3;h=ca(f<<3,d+-1|0)|0;b=a;e=0;while(1){d=d+-1|0;c[(b&p)>>2]=e;if(!d)break;else{e=b;b=b+k|0}}b=a+(ca(g,f)|0)|0;c[3160]=a+h;a=b}c[3158]=a}c[2243]=1;a=0}}c[2244]=0;b=c[2248]|0}else{b=a;a=0}c[2248]=b+-1;if((b|0)<2)c[2249]=0}else a=0;while(0);i=m;return a|0}function Mc(a,b){a=a|0;b=b|0;var d=0;d=Lc()|0;do if(!d){og(a);d=c[2254]|0;if((b|0)!=0|(d|0)==0){c[(a&p)+12>>2]=d;c[2254]=a;d=0;break}else{c[(a&p)+12>>2]=c[(d&p)+12>>2];c[((c[2254]|0)&p)+12>>2]=a;d=0;break}}while(0);return d|0}function Nc(a){a=a|0;og(a);return 0}function Oc(a){a=a|0;return 0}function Pc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;do if(!(Lc()|0)){e=9032|0;d=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;if((b|0)>=0)if((b|0)>0|(b|0)==0&a>>>0>0){c[2260]=9;c[2261]=0;f=9032|0;c[(f&p)>>2]=a;c[(f&p)+4>>2]=b;c[2265]=(0>(b|0)|0==(b|0)&(c[2166]|0)>>>0>=a>>>0)&1;break}else{c[2265]=0;c[2258]=0;c[2259]=0;c[2260]=0;c[2261]=0;break}}else{e=-1;d=-1}while(0);G=e;return d|0}function Qc(){var a=0;a=c[2166]|0;G=((a|0)<0)<<31>>31;return a|0}function Rc(a){a=a|0;var b=0;b=(a|0)<0;Pc(b?0:a,b?0:((a|0)<0)<<31>>31)|0;return}function Sc(a){a=a|0;var b=0;b=c[2176]|0;if(a)c[2176]=c[2166];G=((b|0)<0)<<31>>31;return b|0}function Tc(a){a=a|0;if((Lc()|0)!=0|(a|0)<1)a=0;else a=qg(a,((a|0)<0)<<31>>31)|0;return a|0}function Uc(a,b){a=a|0;b=b|0;if(!(Lc()|0))a=qg(a,b)|0;else a=0;return a|0}function Vc(a){a=a|0;a=lc[c[8792>>2]&127](a)|0;G=((a|0)<0)<<31>>31;return a|0}function Wc(a){a=a|0;var b=0;do if(a)if(!(c[2186]|0)){cc[c[8784>>2]&31](a);break}else{b=lc[c[8792>>2]&127](a)|0;c[2166]=(c[2166]|0)-b;c[2175]=(c[2175]|0)+-1;cc[c[8784>>2]&31](a);break}while(0);return}function Xc(a,b){a=a|0;b=b|0;var c=0;if(!(Lc()|0)){c=(b|0)<0;b=rg(a,c?0:b,c?0:((b|0)<0)<<31>>31)|0}else b=0;return b|0}function Yc(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Lc()|0))b=rg(a,b,c)|0;else b=0;return b|0}function Zc(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+112|0;if((i|0)>=(j|0))fa();f=g+28|0;e=g;if(!(Lc()|0)){c[(e&p)+4>>2]=f;c[(e&p)+8>>2]=f;c[(e&p)>>2]=0;c[(e&p)+12>>2]=0;c[(e&p)+16>>2]=70;c[(e&p)+20>>2]=1e9;a[(e&n)+25>>0]=0;a[(e&n)+24>>0]=2;sg(e,0,b,d);e=tg(e)|0}else e=0;i=g;return e|0}function _c(a,b){a=a|0;b=b|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;if(!(Lc()|0)){c[(d&p)>>2]=b;d=Zc(a,d)|0}else d=0;i=e;return d|0}function $c(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))fa();g=h;if((b|0)>=1){c[(g&p)+4>>2]=d;c[(g&p)+8>>2]=d;c[(g&p)>>2]=0;c[(g&p)+12>>2]=0;c[(g&p)+16>>2]=b;c[(g&p)+20>>2]=0;a[(g&n)+25>>0]=0;a[(g&n)+24>>0]=0;sg(g,0,e,f);d=tg(g)|0}i=h;return d|0}function ad(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();g=f;c[(g&p)>>2]=e;a=$c(a,b,d,g)|0;i=f;return a|0}function bd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+256|0;if((i|0)>=(j|0))fa();f=k+16|0;h=k+44|0;g=k;if(c[2250]|0){c[(g&p)>>2]=e;c[(f&p)+4>>2]=h;c[(f&p)+8>>2]=h;c[(f&p)>>2]=0;c[(f&p)+12>>2]=0;c[(f&p)+16>>2]=210;c[(f&p)+20>>2]=0;a[(f&n)+25>>0]=0;a[(f&n)+24>>0]=0;sg(f,0,d,g);e=c[2250]|0;g=c[2251]|0;f=tg(f)|0;mc[e&63](g,b,f)}i=k;return}function cd(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;h=i;i=i+256|0;if((i|0)>=(j|0))fa();g=h;do if(!(Lc()|0)){if((b|0)<1|(e|0)==0){a[9064]=0;break}if(!(a[9064]|0)){a[9066]=0;a[9065]=0;f=(Lc()|0)==0;f=f?c[2254]|0:0;ac[c[(f&p)+56>>2]&63](f,256,g)|0;f=0;do{a[(f&n)+9067>>0]=f;f=f+1|0}while((f|0)!=256);f=0;do{k=9067+f|0;m=(d[(g+f&n)>>0]|0)+(d[(k&n)>>0]|0)+(d[9066]|0)|0;a[9066]=m;m=9067+(m&255)|0;l=a[(m&n)>>0]|0;a[(m&n)>>0]=a[(k&n)>>0]|0;a[(k&n)>>0]=l;f=f+1|0}while((f|0)!=256);a[9064]=1}while(1){k=(a[9065]|0)+1<<24>>24;a[9065]=k;k=9067+(k&255)|0;g=a[(k&n)>>0]|0;f=g&255;l=(d[9066]|0)+f|0;a[9066]=l;a[(k&n)>>0]=a[(l&255&n)+9067>>0]|0;a[((d[9066]|0)&n)+9067>>0]=g;a[(e&n)>>0]=a[((d[((d[9065]|0)&n)+9067>>0]|0)+f&255&n)+9067>>0]|0;b=b+-1|0;if(!b)break;else e=e+1|0}}while(0);i=h;return}function dd(b,c){b=b|0;c=c|0;var e=0;if(b)if(!c)c=1;else{e=a[(b&n)>>0]|0;a:do if(!(e<<24>>24))e=0;else while(1){if((a[(e&255&n)+9328>>0]|0)!=(a[((d[(c&n)>>0]|0)&n)+9328>>0]|0))break a;b=b+1|0;c=c+1|0;e=a[(b&n)>>0]|0;if(!(e<<24>>24)){e=0;break}}while(0);c=(d[(e&255&n)+9328>>0]|0)-(d[((d[(c&n)>>0]|0)&n)+9328>>0]|0)|0}else c=((c|0)!=0)<<31>>31;return c|0}function ed(a){a=a|0;c[2241]=a;return 0}function fd(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();q=r;a:do if((f|0)==(d|0)){ug(f,1,10016,q);h=0}else{h=qg(48,0)|0;if(!h){c[(d&p)+52>>2]=7;h=c[(d&p)+236>>2]|0;if(!h){h=0;break}e=h+8|0;if(!(b[(e&o)>>1]&9312)){b[(e&o)>>1]=1;h=0;break}else{vg(h);h=0;break}}l=h+0|0;k=l+48|0;do{a[(l&n)>>0]=0;l=l+1|0}while((l|0)<(k|0));m=h+24|0;c[(m&p)>>2]=wg(d,f,g)|0;k=wg(d,d,e)|0;l=h+4|0;c[(l&p)>>2]=k;c[(h&p)>>2]=d;c[(h&p)+20>>2]=f;c[(h&p)+16>>2]=1;c[(h&p)+40>>2]=0;e=c[(m&p)>>2]|0;do if(!((e|0)==0|(k|0)==0)?(xg(k,c[((c[(e&p)+4>>2]|0)&p)+32>>2]|0,-1,0)|0)!=7:0)if(!(a[((c[(l&p)>>2]|0)&n)+8>>0]|0)){e=(c[(m&p)>>2]|0)+16|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+1;break a}else{ug(d,1,47416,q);break}while(0);Wc(h);h=0}while(0);i=r;return h|0}function gd(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=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;F=i;i=i+32|0;if((i|0)>=(j|0))fa();B=F;r=F+16|0;u=F+12|0;y=F+8|0;D=b+24|0;g=c[(D&p)>>2]|0;h=c[(g&p)+4>>2]|0;c[(h&p)+4>>2]=c[(g&p)>>2];E=b+28|0;f=c[(E&p)>>2]|0;if(f>>>0<7?(30>>>(f&127)&1)==0:0){x=c[(h&p)>>2]|0;C=b+4|0;f=c[(C&p)>>2]|0;A=c[(c[(f&p)+4>>2]&p)>>2]|0;if((c[(b&p)>>2]|0)!=0?(a[(h&n)+20>>0]|0)==2:0){z=0;g=5}else v=5;do if((v|0)==5){h=b+12|0;if(!(c[(h&p)>>2]|0)){g=yg(f,2)|0;if(g){z=0;break}c[(h&p)>>2]=1;z=c[(C&p)>>2]|0;g=c[(z&p)+4>>2]|0;c[(g&p)+4>>2]=c[(z&p)>>2];g=c[((c[(g&p)+12>>2]|0)&p)+56>>2]|0;c[(b&p)+8>>2]=d[(g&n)+41>>0]<<16|d[(g&n)+40>>0]<<24|d[(g&n)+42>>0]<<8|d[(g&n)+43>>0];g=c[(D&p)>>2]|0}if(!(a[(g&n)+8>>0]|0)){z=1;g=yg(g,0)|0}else{z=0;g=0}}while(0);l=c[((c[(D&p)>>2]|0)&p)+4>>2]|0;w=c[(l&p)+32>>2]|0;q=c[((c[(C&p)>>2]|0)&p)+4>>2]|0;t=c[(q&p)+32>>2]|0;q=(a[((c[(q&p)>>2]|0)&n)+5>>0]|0)==5;f=(w|0)==(t|0)|(g|0)==0&q^1?g:8;l=c[(l&p)+44>>2]|0;h=(e|0)<0;a:do if(e){g=b+16|0;m=c[(g&p)>>2]|0;o=0;do{if(!(m>>>0<=l>>>0&(f|0)==0))break a;if((m|0)!=((((c[2514]|0)>>>0)/((c[((c[((c[(D&p)>>2]|0)&p)+4>>2]|0)&p)+32>>2]|0)>>>0)|0)+1|0)){f=zg(x,m,r,2)|0;if(!f){k=c[(r&p)>>2]|0;f=Ag(b,m,c[(k&p)+4>>2]|0,0)|0;if(k)Bg(k)}}else f=0;m=(c[(g&p)>>2]|0)+1|0;c[(g&p)>>2]=m;o=o+1|0}while(h|(o|0)<(e|0))}while(0);if(!f){c[(b&p)+36>>2]=l;f=c[(b&p)+16>>2]|0;c[(b&p)+32>>2]=l+1-f;if(f>>>0<=l>>>0){f=b+40|0;if(!(c[(f&p)>>2]|0)){C=(c[(c[((c[(D&p)>>2]|0)&p)+4>>2]&p)>>2]|0)+88|0;c[(b&p)+44>>2]=c[(C&p)>>2];c[(C&p)>>2]=b;c[(f&p)>>2]=1;f=0}else f=0}else v=22}else if((f|0)==101)v=22;do if((v|0)==22){if(!l){g=c[(C&p)>>2]|0;f=c[(g&p)+4>>2]|0;c[(f&p)+4>>2]=c[(g&p)>>2];c[(f&p)+44>>2]=0;f=Cg(f)|0;if((f|0)==0|(f|0)==101)l=1;else break}f=Dg(c[(C&p)>>2]|0,1,(c[(b&p)+8>>2]|0)+1|0)|0;if(!f){g=c[(b&p)>>2]|0;if(g)Eg(g);if(q?(s=Fg(c[(C&p)>>2]|0,2)|0,(s|0)!=0):0){f=s;break}if((w|0)<(t|0)){g=(t|0)/(w|0)|0;g=(l+-1+g|0)/(g|0)|0;h=c[2514]|0;k=c[((c[((c[(C&p)>>2]|0)&p)+4>>2]|0)&p)+32>>2]|0;g=(((g|0)==(((h>>>0)/(k>>>0)|0)+1|0))<<31>>31)+g|0;b=((w|0)<0)<<31>>31;s=sw(l|0,((l|0)<0)<<31>>31|0,w|0,b|0)|0;q=G;e=c[(A&p)+60>>2]|0;o=c[(A&p)+24>>2]|0;b:do if(g>>>0<=o>>>0){f=0;while(1){if((g|0)!=(((h>>>0)/(k>>>0)|0)+1|0)){f=zg(A,g,u,0)|0;if(f)break b;h=c[(u&p)>>2]|0;f=Gg(h)|0;if(h)Bg(h)}g=g+1|0;h=(f|0)==0;if(g>>>0>o>>>0|h^1)break;k=c[((c[((c[(C&p)>>2]|0)&p)+4>>2]|0)&p)+32>>2]|0;h=c[2514]|0}if(h)v=38}else v=38;while(0);if((v|0)==38)f=Hg(A,0,1)|0;h=c[2514]|0;l=h+t|0;m=((l|0)<0)<<31>>31;k=(m|0)<(q|0)|(m|0)==(q|0)&l>>>0<s>>>0;l=k?l:s;m=k?m:q;h=h+w|0;k=((h|0)<0)<<31>>31;g=(f|0)==0;if(g&((k|0)<(m|0)|(k|0)==(m|0)&h>>>0<l>>>0))do{c[(y&p)>>2]=0;f=qw(h|0,k|0,w|0,b|0)|0;f=jw(f|0,G|0,1,0)|0;f=zg(x,f,y,0)|0;g=c[(y&p)>>2]|0;if(!f)f=tc[c[((c[(e&p)>>2]|0)&p)+12>>2]&31](e,c[(g&p)+4>>2]|0,w,h,k)|0;if(g)Bg(g);h=jw(h|0,k|0,w|0,b|0)|0;k=G;g=(f|0)==0}while(g&((k|0)<(m|0)|(k|0)==(m|0)&h>>>0<l>>>0));if(!g)break;f=rc[c[((c[(e&p)>>2]|0)&p)+24>>2]&127](e,B)|0;y=c[(B&p)+4>>2]|0;if((f|0)==0&((y|0)>(q|0)|((y|0)==(q|0)?(c[(B&p)>>2]|0)>>>0>s>>>0:0)))f=ac[c[((c[(e&p)>>2]|0)&p)+16>>2]&63](e,s,q)|0;if(f)break;f=Ig(A,0)|0}else{c[(A&p)+24>>2]=ca((w|0)/(t|0)|0,l)|0;f=Hg(A,0,0)|0}if(!f){f=Jg(c[(C&p)>>2]|0,0)|0;f=(f|0)==0?101:f}}}while(0);if(z){Kg(c[(D&p)>>2]|0,0)|0;Jg(c[(D&p)>>2]|0,0)|0}f=(f|0)==3082?7:f;c[(E&p)>>2]=f}i=F;return f|0}function hd(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;if(!a)d=0;else{h=c[(a&p)+20>>2]|0;e=c[(a&p)+24>>2]|0;d=c[(e&p)+4>>2]|0;c[(d&p)+4>>2]=c[(e&p)>>2];if(c[(a&p)>>2]|0){e=e+16|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+-1}if(c[(a&p)+40>>2]|0){d=(c[(d&p)>>2]|0)+88|0;while(1){e=c[(d&p)>>2]|0;if((e|0)==(a|0))break;else d=e+44|0}c[(d&p)>>2]=c[(a&p)+44>>2]}Lg(c[(a&p)+4>>2]|0,0,0);d=c[(a&p)+28>>2]|0;d=(d|0)==101?0:d;e=c[(a&p)>>2]|0;if(e){c[(e&p)+52>>2]=d;f=c[(e&p)+236>>2]|0;do if(f){g=f+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(f);e=c[(a&p)>>2]|0;break}}while(0);Mg(e);if(c[(a&p)>>2]|0)Wc(a)}Mg(h)}return d|0}function id(a){a=a|0;return c[(a&p)+32>>2]|0}function jd(a){a=a|0;return c[(a&p)+36>>2]|0}function kd(a){a=a|0;if((a|0)!=0?(b[(a&o)+88>>1]&256)!=0:0)a=c[(a&p)+168>>2]|0;else a=0;return a|0}function ld(a){a=a|0;if(!a)a=1;else a=(b[(a&o)+88>>1]&8)!=0;return a&1|0}function md(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;do if(a){b=c[(a&p)>>2]|0;if(!b){bd(21,47360,d);c[(d&p)>>2]=68910;c[(d&p)+4>>2]=10788;bd(21,13648,d);b=21;break}else{a=Og(b,Ng(a)|0)|0;Mg(b);b=a;break}}else b=0;while(0);i=e;return b|0}function nd(b){b=b|0;var d=0,e=0;if(!b)b=0;else{d=Pg(b)|0;c[(b&p)+76>>2]=-1;c[(b&p)+80>>2]=0;a[(b&n)+86>>0]=2;c[(b&p)+40>>2]=-1108210269;c[(b&p)+92>>2]=0;c[(b&p)+72>>2]=1;a[(b&n)+87>>0]=-1;c[(b&p)+104>>2]=0;e=b+144|0;c[(e&p)>>2]=0;c[(e&p)+4>>2]=0;b=Og(c[(b&p)>>2]|0,d)|0}return b|0}function od(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=a+68|0;e=b[(h&o)>>1]|0;if(e<<16>>16>0){i=a+60|0;d=c[(i&p)>>2]|0;g=0;do{f=d+(g*40|0)|0;if(!((b[(d+(g*40|0)&o)+8>>1]&9312)==0?(c[(d+(g*40|0)&p)+24>>2]|0)==0:0)){Qg(f);d=c[(i&p)>>2]|0;e=b[(h&o)>>1]|0}b[(d+(g*40|0)&o)+8>>1]=1;g=g+1|0}while((g|0)<(e<<16>>16|0))}d=a+88|0;e=b[(d&o)>>1]|0;if((e&256)!=0?(c[(a&p)+188>>2]|0)!=0:0)b[(d&o)>>1]=e|8;return 0}function pd(a){a=a|0;var d=0;d=a+8|0;if(b[(d&o)>>1]&18){Rg(a)|0;b[(d&o)>>1]=e[(d&o)>>1]|0|16;if(!(c[(a&p)+12>>2]|0))d=0;else d=c[(a&p)+16>>2]|0}else d=Sg(a,1)|0;return d|0}function qd(a){a=a|0;return Sg(a,1)|0}function rd(a){a=a|0;return Tg(a,1)|0}function sd(a){a=a|0;return Tg(a,2)|0}function td(a){a=a|0;return +(+Ug(a))}function ud(a){a=a|0;a=Vg(a)|0;return a|0}function vd(a){a=a|0;a=Vg(a)|0;return a|0}function wd(a){a=a|0;return Sg(a,2)|0}function xd(a){a=a|0;return Sg(a,3)|0}function yd(a){a=a|0;return Sg(a,2)|0}function zd(a){a=a|0;return d[((e[(a&o)+8>>1]|0)&31&n)+10064>>0]|0|0}function Ad(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wg(a,b,c,0,d);return}function Bd(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if(f>>>0>0|(f|0)==0&e>>>0>2147483647){e=g;if(!((e|0)==0|(e|0)==-1))cc[g&31](d);if(b){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,10096,-1,1,0)|0}}else Wg(b,d,e,0,g);return}function Cd(a,b){a=a|0;b=+b;Yg(c[(a&p)>>2]|0,b);return}function Dd(b,d,e){b=b|0;d=d|0;e=e|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,d,e,1,-1)|0;return}function Ed(b,d,e){b=b|0;d=d|0;e=e|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,d,e,2,-1)|0;return}function Fd(a,d){a=a|0;d=d|0;var e=0,f=0;a=c[(a&p)>>2]|0;e=((d|0)<0)<<31>>31;f=a+8|0;if(!(b[(f&o)>>1]&9312)){c[(a&p)>>2]=d;c[(a&p)+4>>2]=e;b[(f&o)>>1]=4}else Zg(a,d,e);return}function Gd(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[(a&p)>>2]|0;f=a+8|0;if(!(b[(f&o)>>1]&9312)){c[(a&p)>>2]=d;c[(a&p)+4>>2]=e;b[(f&o)>>1]=4}else Zg(a,d,e);return}function Hd(a){a=a|0;var d=0;a=c[(a&p)>>2]|0;d=a+8|0;if(!(b[(d&o)>>1]&9312))b[(d&o)>>1]=1;else vg(a);return}function Id(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wg(a,b,c,1,d);return}function Jd(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;if(f>>>0>0|(f|0)==0&e>>>0>2147483647){e=g;if(!((e|0)==0|(e|0)==-1))cc[g&31](d);if(b){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,10096,-1,1,0)|0}}else Wg(b,d,e,h<<24>>24==4?2:h,g);return}function Kd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wg(a,b,c,2,d);return}function Ld(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wg(a,b,c,3,d);return}function Md(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Wg(a,b,c,2,d);return}function Nd(a,b){a=a|0;b=b|0;_g(c[(a&p)>>2]|0,b)|0;return}function Od(a,b){a=a|0;b=b|0;$g(c[(a&p)>>2]|0,b);return}function Pd(d,e){d=d|0;e=e|0;var f=0;c[(d&p)+20>>2]=e;a[(d&n)+25>>0]=1;f=c[(d&p)>>2]|0;if(b[(f&o)+8>>1]&1){if((e|0)!=516){d=e&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[(d<<2&p)+15488>>2]|0}else d=16344;Xg(f,d,-1,1,0)|0}return}function Qd(b){b=b|0;c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,10096,-1,1,0)|0;return}function Rd(d){d=d|0;var e=0,f=0;e=c[(d&p)>>2]|0;f=e+8|0;if(!(b[(f&o)>>1]&9312))b[(f&o)>>1]=1;else{vg(e);e=c[(d&p)>>2]|0}c[(d&p)+20>>2]=7;a[(d&n)+25>>0]=1;a[((c[(e&p)+32>>2]|0)&n)+65>>0]=1;return}function Sd(f){f=f|0;var g=0,l=0,m=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,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,_=0;_=i;i=i+224|0;if((i|0)>=(j|0))fa();V=_+8|0;U=_;if(!(ah(f)|0)){Z=c[(f&p)>>2]|0;N=f+88|0;b[(N&o)>>1]=b[(N&o)>>1]&-513;R=f+40|0;S=f+76|0;T=f+128|0;Y=f+80|0;D=f+168|0;E=f+8|0;F=f+20|0;H=f+32|0;I=f+4|0;J=f+84|0;X=f+44|0;K=(f|0)==0;L=f+52|0;M=f+48|0;C=0;while(1){if((c[(R&p)>>2]|0)!=-1108210269)nd(f)|0;B=c[(f&p)>>2]|0;if(a[(B&n)+65>>0]|0){W=7;break}l=c[(S&p)>>2]|0;do if((l|0)<1){if(b[(N&o)>>1]&8){c[(Y&p)>>2]=17;l=1;break}if((l|0)<0){l=B+148|0;if(!(c[(l&p)>>2]|0))c[(B&p)+240>>2]=0;if((c[(B&p)+184>>2]|0)!=0?(a[(B&n)+145>>0]|0)==0:0)bh(c[(B&p)>>2]|0,T)|0;c[(l&p)>>2]=(c[(l&p)>>2]|0)+1;l=b[(N&o)>>1]|0;if(!(l&64)){l=B+156|0;c[(l&p)>>2]=(c[(l&p)>>2]|0)+1;l=b[(N&o)>>1]|0}if(l&128){A=B+152|0;c[(A&p)>>2]=(c[(A&p)>>2]|0)+1}c[(S&p)>>2]=0;W=22}else W=22}else W=22;while(0);if((W|0)==22){W=0;do if(!(b[(N&o)>>1]&3)){A=B+160|0;c[(A&p)>>2]=(c[(A&p)>>2]|0)+1;l=gh(f)|0;c[(A&p)>>2]=(c[(A&p)>>2]|0)+-1;if((l|0)==100)l=100;else W=101}else{t=c[(f&p)>>2]|0;z=c[(E&p)>>2]|0;y=z+40|0;ch(y,8);c[(F&p)>>2]=0;if((c[(Y&p)>>2]|0)==7){a[(t&n)+65>>0]=1;l=1;W=101;break}r=c[(H&p)>>2]|0;u=b[(N&o)>>1]&3;if(u<<16>>16==1){s=c[(E&p)>>2]|0;v=s+360|0;if(b[(s&o)+368>>1]&16){w=(c[(s&p)+372>>2]|0)>>>2;m=c[(s&p)+376>>2]|0;if(!w){x=m;s=r;g=0}else{l=0;s=r;do{s=(c[((c[(m+(l<<2)&p)>>2]|0)&p)+4>>2]|0)+s|0;l=l+1|0}while((l|0)<(w|0));x=m;g=w}}else{x=0;s=r;g=0}}else{x=0;s=r;g=0;v=0}r=u<<16>>16==2;m=c[(S&p)>>2]|0;while(1){l=m+1|0;if((m|0)>=(s|0)){W=33;break}if(!r)break;if((a[((c[(I&p)>>2]|0)+(m*20|0)&n)>>0]|0)==-99)break;else m=l}if((W|0)==33){c[(S&p)>>2]=l;c[(Y&p)>>2]=0;l=101;W=101;break}c[(S&p)>>2]=l;if(c[(t&p)+240>>2]|0){c[(Y&p)>>2]=9;c[(V&p)>>2]=15832;dh(X,t,10344,V);l=1;W=101;break}s=c[(H&p)>>2]|0;if((m|0)<(s|0)){l=m;A=(c[(I&p)>>2]|0)+(m*20|0)|0}else{m=m-s|0;s=c[(x&p)>>2]|0;r=c[(s&p)+4>>2]|0;if((m|0)<(r|0))r=m;else{s=m;l=0;while(1){m=s-r|0;l=l+1|0;s=c[(x+(l<<2)&p)>>2]|0;r=c[(s&p)+4>>2]|0;if((m|0)<(r|0)){r=m;break}else s=m}}l=r;A=(c[(s&p)>>2]|0)+(r*20|0)|0}if((b[(N&o)>>1]&3)==1){b[(z&o)+48>>1]=4;r=y;c[(r&p)>>2]=l;c[(r&p)+4>>2]=((l|0)<0)<<31>>31;b[(z&o)+88>>1]=2562;r=c[(d[(A&n)>>0]<<2&p)+44856>>2]|0;c[(z&p)+96>>2]=r;s=r;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;w=z+80|0;c[(z&p)+92>>2]=s-r&1073741823;a[(z&n)+90>>0]=1;if((a[(A&n)+1>>0]|0)==-18){l=(g<<2)+4|0;a:do if(!g)s=0;else{r=c[(A&p)+16>>2]|0;m=0;while(1){s=m+1|0;if((c[(x+(m<<2)&p)>>2]|0)==(r|0)){s=m;break a}if((s|0)<(g|0))m=s;else break}}while(0);if((s|0)==(g|0)?(eh(v,l,(g|0)!=0&1)|0)==0:0){c[((c[(v&p)+16>>2]|0)+(g<<2)&p)>>2]=c[(A&p)+16>>2];z=v+8|0;b[(z&o)>>1]=e[(z&o)>>1]|16;c[(v&p)+12>>2]=l;z=w}else z=w}else z=w}b[(z&o)+48>>1]=4;y=c[(A&p)+4>>2]|0;x=z+40|0;c[(x&p)>>2]=y;c[(x&p)+4>>2]=((y|0)<0)<<31>>31;b[(z&o)+88>>1]=4;x=c[(A&p)+8>>2]|0;y=z+80|0;c[(y&p)>>2]=x;c[(y&p)+4>>2]=((x|0)<0)<<31>>31;b[(z&o)+128>>1]=4;y=c[(A&p)+12>>2]|0;x=z+120|0;c[(x&p)>>2]=y;c[(x&p)+4>>2]=((y|0)<0)<<31>>31;x=z+160|0;if(!(fh(x,32)|0)){b[(z&o)+168>>1]=514;y=z+176|0;g=c[(y&p)>>2]|0;b:do switch(a[(A&n)+1>>0]|0){case -6:{t=c[(A&p)+16>>2]|0;l=t+6|0;c[(V&p)>>2]=e[(l&o)>>1];ad(32,g,44768,V)|0;if(!g)s=0;else{s=g;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;s=s-g&1073741823}c:do if(b[(l&o)>>1]|0){u=t+16|0;v=0;while(1){r=c[(t+(v<<2)&p)+20>>2]|0;if(r){r=c[(r&p)>>2]|0;if(!r){m=0;r=0}else W=61}else{r=44776;W=61}do if((W|0)==61){W=0;w=r;while(1)if(!(a[(w&n)>>0]|0))break;else w=w+1|0;m=w-r&1073741823;if((m|0)!=6)break;w=(Zv(r,11152,6)|0)==0;m=w?1:6;r=w?44784:r}while(0);if((m+s|0)>26)break;w=s+1|0;a[(g+s&n)>>0]=44;if(a[((c[(u&p)>>2]|0)+v&n)>>0]|0){a[(g+w&n)>>0]=45;w=s+2|0}kw(g+w|0,r|0,m+1|0)|0;s=w+m|0;v=v+1|0;if((v|0)>=(e[(l&o)>>1]|0))break c}l=g+s|0;a[(l&n)>>0]=44;a[(l&n)+1>>0]=46;a[(l&n)+2>>0]=46;a[(l&n)+3>>0]=46}while(0);a[(g+s&n)>>0]=41;a[(g+s&n)+1>>0]=0;r=g;break}case -15:{ad(32,g,44832,V)|0;r=g;break}case -18:{ad(32,g,44848,V)|0;r=g;break}case -4:{c[(V&p)>>2]=c[(c[(A&p)+16>>2]&p)>>2];ad(32,g,44792,V)|0;r=g;break}case -5:{l=c[(A&p)+16>>2]|0;r=b[(l&o)>>1]|0;c[(V&p)>>2]=c[(l&p)+24>>2];c[(V&p)+4>>2]=r;ad(32,g,44800,V)|0;r=g;break}case -13:{m=c[(A&p)+16>>2]|0;l=c[(m&p)+4>>2]|0;r=V;c[(r&p)>>2]=c[(m&p)>>2];c[(r&p)+4>>2]=l;ad(32,g,19920,V)|0;r=g;break}case -14:{c[(V&p)>>2]=c[(A&p)+16>>2];ad(32,g,44808,V)|0;r=g;break}case -12:{h[(k&q)>>3]=+h[(c[(A&p)+16>>2]&q)>>3];c[(V&p)>>2]=c[(k&p)>>2];c[(V&p)+4>>2]=c[(k&p)+4>>2];ad(32,g,19912,V)|0;r=g;break}case -8:{s=c[(A&p)+16>>2]|0;r=e[(s&o)+8>>1]|0;if(r&2){r=c[(s&p)+16>>2]|0;break b}if(r&4){m=s;l=c[(m&p)+4>>2]|0;r=V;c[(r&p)>>2]=c[(m&p)>>2];c[(r&p)+4>>2]=l;ad(32,g,19920,V)|0;r=g;break b}if(r&8){h[(k&q)>>3]=+h[(s&q)>>3];c[(V&p)>>2]=c[(k&p)>>2];c[(V&p)+4>>2]=c[(k&p)+4>>2];ad(32,g,19912,V)|0;r=g;break b}if(!(r&1))r=44816;else{ad(32,g,20304,V)|0;r=g}break}case -19:{a[(g&n)>>0]=0;r=g;break}case -10:{c[(V&p)>>2]=c[((c[(A&p)+16>>2]|0)&p)+8>>2];ad(32,g,44824,V)|0;r=g;break}default:{s=c[(A&p)+16>>2]|0;if(!s){a[(g&n)>>0]=0;r=g}else r=s}}while(0);if((r|0)==(c[(y&p)>>2]|0)){if(!r)l=0;else{s=r;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;l=s-r&1073741823}c[(z&p)+172>>2]=l;a[(z&n)+170>>0]=1}else Xg(x,r,-1,1,0)|0;l=b[(N&o)>>1]|0;if((l&3)==1){if(fh(z+200|0,4)|0){l=1;W=101;break}b[(z&o)+208>>1]=514;c[(z&p)+212>>2]=2;l=c[(z&p)+216>>2]|0;c[(V&p)>>2]=d[(A&n)+3>>0];ad(3,l,44760,V)|0;a[(z&n)+210>>0]=1;b[(z&o)+248>>1]=1;l=b[(N&o)>>1]|0}b[(J&o)>>1]=12-((l&3)<<2);c[(F&p)>>2]=(c[(E&p)>>2]|0)+40;c[(Y&p)>>2]=0;l=100}else{l=1;W=101}}while(0);if((W|0)==101){W=0;g=B+184|0;if(((c[(g&p)>>2]|0)!=0?(a[(B&n)+145>>0]|0)==0:0)?(c[(D&p)>>2]|0)!=0:0){bh(c[(B&p)>>2]|0,U)|0;g=c[(g&p)>>2]|0;y=c[(B&p)+188>>2]|0;z=c[(D&p)>>2]|0;m=U;A=T;A=dw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,c[(A&p)>>2]|0,c[(A&p)+4>>2]|0)|0;A=sw(A|0,G|0,1e6,0)|0;qc[g&15](y,z,A,G)}if((l|0)==101){t=B+20|0;s=c[(t&p)>>2]|0;if((s|0)>0){u=B+16|0;v=B+216|0;w=B+220|0;g=0;l=0;do{r=c[(u&p)>>2]|0;m=c[(r+(g<<4)&p)+4>>2]|0;if(((m|0)!=0?(O=c[(m&p)+4>>2]|0,c[(O&p)+4>>2]=c[(m&p)>>2],O=c[((c[(O&p)>>2]|0)&p)+208>>2]|0,(O|0)!=0):0)?(Q=O+12|0,P=c[(Q&p)>>2]|0,c[(Q&p)>>2]=0,Q=c[(v&p)>>2]|0,(Q|0)!=0&(P|0)>0&(l|0)==0):0){l=pc[Q&31](c[(w&p)>>2]|0,B,c[(r+(g<<4)&p)>>2]|0,P)|0;s=c[(t&p)>>2]|0}g=g+1|0}while((g|0)<(s|0))}else l=0;c[(Y&p)>>2]=l;l=(l|0)==0?101:1}}c[(B&p)+52>>2]=l;if((Og(c[(f&p)>>2]|0,c[(Y&p)>>2]|0)|0)==7)c[(Y&p)>>2]=7}if((b[(N&o)>>1]&256)!=0&(l|0)!=100&(l|0)!=101)l=hh(f)|0;g=c[(B&p)+56>>2]&l;if((g|0)!=17)break;s=C+1|0;if((C|0)>=50){g=17;break}m=c[(S&p)>>2]|0;if(!K?(b[(N&o)>>1]&256)!=0:0)l=c[(D&p)>>2]|0;else l=0;r=c[(f&p)>>2]|0;g=ih(r,l,-1,0,f,U,0)|0;if((g|0)==7){g=r;W=124;break}else if(g){W=127;break}C=c[(U&p)>>2]|0;kw(V|0,C|0,208)|0;kw(C|0,f|0,208)|0;kw(f|0,V|0,208)|0;A=C+52|0;B=c[(A&p)>>2]|0;c[(A&p)>>2]=c[(L&p)>>2];c[(L&p)>>2]=B;B=C+48|0;A=c[(B&p)>>2]|0;c[(B&p)>>2]=c[(M&p)>>2];c[(M&p)>>2]=A;A=C+168|0;B=c[(A&p)>>2]|0;c[(A&p)>>2]=c[(D&p)>>2];c[(D&p)>>2]=B;b[(N&o)>>1]=b[(N&o)>>1]&-257|b[(C&o)+88>>1]&256;jh(C,f);c[(C&p)+80>>2]=0;Ng(C)|0;nd(f)|0;if((m|0)<=-1){C=s;continue}b[(N&o)>>1]=b[(N&o)>>1]|512;C=s}if((W|0)==7){c[(Y&p)>>2]=7;g=7}else if((W|0)==124){a[(g&n)+65>>0]=1;g=7;W=127}do if((W|0)==127){l=Sg(c[(Z&p)+236>>2]|0,1)|0;mg(Z,c[(X&p)>>2]|0);if(!(a[(Z&n)+65>>0]|0)){c[(X&p)>>2]=kh(Z,l)|0;c[(Y&p)>>2]=g;break}else{c[(X&p)>>2]=0;c[(Y&p)>>2]=7;g=7;break}}while(0);g=Og(Z,g)|0}else{c[(V&p)>>2]=69408;c[(V&p)+4>>2]=10788;bd(21,13648,V);g=21}i=_;return g|0}function Td(a){a=a|0;return c[((c[(a&p)+4>>2]|0)&p)+4>>2]|0}function Ud(a){a=a|0;return c[((c[(a&p)>>2]|0)&p)+32>>2]|0}function Vd(a,d){a=a|0;d=d|0;var e=0;e=c[(a&p)+8>>2]|0;if(!(b[(e&o)+8>>1]&8192))e=lh(a,d)|0;else e=c[(e&p)+16>>2]|0;return e|0}function Wd(a,b){a=a|0;b=b|0;var d=0;d=c[((c[(a&p)+12>>2]|0)&p)+204>>2]|0;a:do if(!d)d=0;else{a=c[(a&p)+16>>2]|0;while(1){if((c[(d&p)>>2]|0)==(a|0)?(c[(d&p)+4>>2]|0)==(b|0):0)break;d=c[(d&p)+16>>2]|0;if(!d){d=0;break a}}d=c[(d&p)+8>>2]|0}while(0);return d|0}function Xd(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;h=c[(b&p)+12>>2]|0;do if((d|0)<0)k=14;else{j=h+204|0;g=c[(j&p)>>2]|0;a:do if(g){i=c[(b&p)+16>>2]|0;while(1){if((c[(g&p)>>2]|0)==(i|0)?(c[(g&p)+4>>2]|0)==(d|0):0)break;g=c[(g&p)+16>>2]|0;if(!g){k=8;break a}}if(g){h=c[(g&p)+12>>2]|0;if(h)cc[h&31](c[(g&p)+8>>2]|0)}else k=8}else k=8;while(0);if((k|0)==8){g=mh(c[(h&p)>>2]|0,20,0)|0;if(!g){k=14;break}h=g+0|0;i=h+16|0;do{a[(h&n)>>0]=0;h=h+1|0}while((h|0)<(i|0));c[(g&p)>>2]=c[(b&p)+16>>2];c[(g&p)+4>>2]=d;c[(g&p)+16>>2]=c[(j&p)>>2];c[(j&p)>>2]=g;h=b+25|0;if(!(a[(h&n)>>0]|0)){c[(b&p)+20>>2]=0;a[(h&n)>>0]=1}}c[(g&p)+8>>2]=e;c[(g&p)+12>>2]=f}while(0);if((k|0)==14?(f|0)!=0:0)cc[f&31](e);return}function Yd(a){a=a|0;return c[((c[(a&p)+8>>2]|0)&p)+12>>2]|0}function Zd(a){a=a|0;if(!a)a=0;else a=e[(a&o)+84>>1]|0;return a|0}function _d(a){a=a|0;if((a|0)!=0?(c[(a&p)+20>>2]|0)!=0:0)a=e[(a&o)+84>>1]|0;else a=0;return a|0}function $d(a,b){a=a|0;b=b|0;var d=0;b=pd(nh(a,b)|0)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function ae(a,b){a=a|0;b=b|0;var d=0;b=Tg(nh(a,b)|0,1)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function be(a,b){a=a|0;b=b|0;var d=0;b=Tg(nh(a,b)|0,2)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function ce(a,b){a=a|0;b=b|0;var d=0.0;d=+Ug(nh(a,b)|0);if(a){b=a+80|0;c[(b&p)>>2]=Og(c[(a&p)>>2]|0,c[(b&p)>>2]|0)|0}return +d}function de(a,b){a=a|0;b=b|0;var d=0;b=Vg(nh(a,b)|0)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function ee(a,b){a=a|0;b=b|0;var d=0,e=0;b=Vg(nh(a,b)|0)|0;d=G;if(a){e=a+80|0;c[(e&p)>>2]=Og(c[(a&p)>>2]|0,c[(e&p)>>2]|0)|0}G=d;return b|0}function fe(a,b){a=a|0;b=b|0;var d=0;b=Sg(nh(a,b)|0,1)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function ge(a,d){a=a|0;d=d|0;var f=0,g=0;d=nh(a,d)|0;f=d+8|0;g=e[(f&o)>>1]|0;if(g&2048)b[(f&o)>>1]=g&59391|4096;if(a){f=a+80|0;c[(f&p)>>2]=Og(c[(a&p)>>2]|0,c[(f&p)>>2]|0)|0}return d|0}function he(a,b){a=a|0;b=b|0;var d=0;b=Sg(nh(a,b)|0,2)|0;if(a){d=a+80|0;c[(d&p)>>2]=Og(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0}return b|0}function ie(a,b){a=a|0;b=b|0;var f=0;b=d[((e[((nh(a,b)|0)&o)+8>>1]|0)&31&n)+10064>>0]|0;if(a){f=a+80|0;c[(f&p)>>2]=Og(c[(a&p)>>2]|0,c[(f&p)>>2]|0)|0}return b|0}function je(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[(b&p)>>2]|0;if(!b)f=0;else f=e[(b&o)+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Sg((c[(b&p)+16>>2]|0)+(d*40|0)|0,1)|0;f=g+65|0;if(a[(f&n)>>0]|0){a[(f&n)>>0]=0;d=0}}else d=0;return d|0}function ke(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[(b&p)>>2]|0;if(!b)f=0;else f=e[(b&o)+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Sg((c[(b&p)+16>>2]|0)+(d*40|0)|0,2)|0;f=g+65|0;if(a[(f&n)>>0]|0){a[(f&n)>>0]=0;d=0}}else d=0;return d|0}function le(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[(b&p)>>2]|0;if(!b)f=0;else f=e[(b&o)+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Sg((c[(b&p)+16>>2]|0)+((f+d|0)*40|0)|0,1)|0;f=g+65|0;if(a[(f&n)>>0]|0){a[(f&n)>>0]=0;d=0}}else d=0;return d|0}function me(b,d){b=b|0;d=d|0;var f=0,g=0;g=c[(b&p)>>2]|0;if(!b)f=0;else f=e[(b&o)+84>>1]|0;if((f|0)>(d|0)&(d|0)>-1){d=Sg((c[(b&p)+16>>2]|0)+((f+d|0)*40|0)|0,2)|0;f=g+65|0;if(a[(f&n)>>0]|0){a[(f&n)>>0]=0;d=0}}else d=0;return d|0}function ne(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return oh(a,b,c,d,e,0)|0}function oe(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>>>0>0|(e|0)==0&d>>>0>2147483647){d=f;if((d|0)==0|(d|0)==-1)d=18;else{cc[f&31](c);d=18}}else d=oh(a,b,c,d,f,0)|0;return d|0}function pe(a,b,d){a=a|0;b=b|0;d=+d;var e=0;e=ph(a,b)|0;if(!e)Yg((c[(a&p)+60>>2]|0)+((b+-1|0)*40|0)|0,d);return e|0}function qe(a,b,c){a=a|0;b=b|0;c=c|0;return re(a,b,c,((c|0)<0)<<31>>31)|0}function re(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=ph(a,d)|0;do if(!g){d=d+-1|0;h=c[(a&p)+60>>2]|0;a=h+(d*40|0)|0;d=h+(d*40|0)+8|0;if(!(b[(d&o)>>1]&9312)){c[(a&p)>>2]=e;c[(a&p)+4>>2]=f;b[(d&o)>>1]=4;break}else{Zg(a,e,f);break}}while(0);return g|0}function se(a,b){a=a|0;b=b|0;return ph(a,b)|0}function te(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return oh(a,b,c,d,e,1)|0}function ue(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;if(e>>>0>0|(e|0)==0&d>>>0>2147483647){d=f;if((d|0)==0|(d|0)==-1)d=18;else{cc[f&31](c);d=18}}else d=oh(a,b,c,d,f,g<<24>>24==4?2:g)|0;return d|0}function ve(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return oh(a,b,c,d,e,2)|0}function we(e,f,g){e=e|0;f=f|0;g=g|0;var i=0,j=0;i=b[(g&o)+8>>1]|0;j=d[(i&31&n)+10064>>0]|0;do if((j|0)==3)i=oh(e,f,c[(g&p)+16>>2]|0,c[(g&p)+12>>2]|0,-1,a[(g&n)+10>>0]|0)|0;else if((j|0)==1){i=g;i=re(e,f,c[(i&p)>>2]|0,c[(i&p)+4>>2]|0)|0}else if((j|0)==2)i=pe(e,f,+h[(g&q)>>3])|0;else if((j|0)==4)if(!(i&16384)){i=oh(e,f,c[(g&p)+16>>2]|0,c[(g&p)+12>>2]|0,-1,0)|0;break}else{i=xe(e,f,c[(g&p)>>2]|0)|0;break}else i=ph(e,f)|0;while(0);return i|0}function xe(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;e=ph(a,b)|0;if(!e)$g((c[(a&p)+60>>2]|0)+((b+-1|0)*40|0)|0,d);return e|0}function ye(a){a=a|0;if(!a)a=0;else a=b[(a&o)+68>>1]|0;return a|0}function ze(a,d){a=a|0;d=d|0;if(!((a|0)==0|(d|0)<1)?(b[(a&o)+70>>1]|0)>=(d|0):0)d=c[((c[(a&p)+64>>2]|0)+(d+-1<<2)&p)>>2]|0;else d=0;return d|0}function Ae(b,c){b=b|0;c=c|0;var d=0;if(!c)d=0;else{d=c;while(1)if(!(a[(d&n)>>0]|0))break;else d=d+1|0;d=d-c&1073741823}return qh(b,c,d)|0}function Be(a,d){a=a|0;d=d|0;var e=0,f=0;if((b[(a&o)+68>>1]|0)==(b[(d&o)+68>>1]|0)){f=d+88|0;e=b[(f&o)>>1]|0;if((e&256)!=0?(c[(d&p)+188>>2]|0)!=0:0)b[(f&o)>>1]=e|8;e=a+88|0;f=b[(e&o)>>1]|0;if((f&256)!=0?(c[(a&p)+188>>2]|0)!=0:0)b[(e&o)>>1]=f|8;jh(a,d);e=0}else e=1;return e|0}function Ce(a){a=a|0;if(!a)a=0;else a=c[(a&p)>>2]|0;return a|0}function De(a){a=a|0;if(!a)a=1;else a=(e[(a&o)+88>>1]|0)>>>6&1;return a|0}function Ee(a){a=a|0;if((a|0)!=0?(c[(a&p)+76>>2]|0)>-1:0)a=(c[(a&p)+40>>2]|0)==-1108210269;else a=0;return a&1|0}function Fe(a,b){a=a|0;b=b|0;if(!b)a=a+4|0;else a=b+52|0;return c[(a&p)>>2]|0}function Ge(a,b,d){a=a|0;b=b|0;d=d|0;a=a+(b<<2)+108|0;b=c[(a&p)>>2]|0;if(d)c[(a&p)>>2]=0;return b|0}function He(a){a=a|0;var b=0,c=0,f=0;c=a+8|0;f=e[(c&o)>>1]|0;b=d[(f&31&n)+10064>>0]|0;if((f&15|0)==2){rh(a,0);b=d[((e[(c&o)>>1]|0)&31&n)+10064>>0]|0}return b|0}function Ie(d,e,f,g,h,k,l,m){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var 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,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;U=i;i=i+16|0;if((i|0)>=(j|0))fa();S=U;T=U+4|0;c[(T&p)>>2]=0;c[(m&p)>>2]=0;N=(l|0)!=0;O=N&1;Q=mh(d,28,0)|0;do if(Q){l=Q+0|0;s=l+28|0;do{a[(l&n)>>0]=0;l=l+1|0}while((l|0)<(s|0));s=mh(d,536,0)|0;if(s){K=d+20|0;L=d+16|0;B=d+24|0;l=Q+20|0;C=Q+12|0;D=Q+24|0;E=d+65|0;F=O^3;G=O|2;H=s+440|0;I=s+72|0;J=s+68|0;r=0;M=1;q=0;while(1){fw(s|0,0,536)|0;c[(s&p)>>2]=d;mg(d,r);c[(T&p)>>2]=0;r=c[(K&p)>>2]|0;if((r|0)>0){t=c[(L&p)>>2]|0;v=0;do{u=c[(t+(v<<4)&p)+4>>2]|0;if(u)c[((c[(u&p)+4>>2]|0)&p)+4>>2]=c[(u&p)>>2];v=v+1|0}while((v|0)!=(r|0))}A=sh(s,0,f,e)|0;if(!A)break;r=a[(A&n)+44>>0]|0;if(r&16){R=11;break}if(r&32){R=13;break}if(c[(A&p)+12>>2]|0){R=17;break}z=A+38|0;w=b[(z&o)>>1]|0;a:do if(w<<16>>16>0){v=c[(A&p)+4>>2]|0;u=w<<16>>16;r=0;while(1){t=r+1|0;if(!(dd(c[(v+(r*24|0)&p)>>2]|0,g)|0)){t=r;break a}if((t|0)<(u|0))r=t;else break}}else t=0;while(0);if((t|0)==(w<<16>>16|0)){R=23;break}if(N){if((c[(B&p)>>2]&524288|0)!=0?(P=c[(A&p)+16>>2]|0,(P|0)!=0):0){x=P;r=0;do{w=c[(x&p)+20>>2]|0;if((w|0)>0){v=0;do{r=(c[(x+(v<<3)&p)+36>>2]|0)==(t|0)?10280:r;v=v+1|0}while((v|0)<(w|0))}x=c[(x&p)+4>>2]|0}while((x|0)!=0)}else r=0;v=c[(A&p)+8>>2]|0;if(v)do{u=b[(v&o)+46>>1]|0;if(u<<16>>16){y=c[(v&p)+4>>2]|0;w=u&65535;x=0;do{r=(b[(y+(x<<1)&o)>>1]|0)==(t|0)?10296:r;x=x+1|0}while((x|0)<(w|0))}v=c[(v&p)+20>>2]|0}while((v|0)!=0);if(r){R=36;break}}y=vh(s)|0;c[(l&p)>>2]=y;if(y){x=c[(A&p)+68>>2]|0;b:do if(x){w=c[(K&p)>>2]|0;if((w|0)>0){v=c[(L&p)>>2]|0;r=0;while(1){u=r+1|0;if((c[(v+(r<<4)&p)+12>>2]|0)==(x|0)){u=r;break b}if((u|0)<(w|0))r=u;else break}}else u=0}else u=-1e6;while(0);r=c[(x&p)+4>>2]|0;xh(y,wh(y,4,u,O,c[(x&p)>>2]|0)|0,r,-14);r=y+4|0;v=c[(r&p)>>2]|0;w=y+32|0;if(v)a[(v+(((c[(w&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=1;yh(y,10,10120)|0;v=y+96|0;c[(v&p)>>2]=c[(v&p)>>2]|1<<u;if((c[(w&p)>>2]|0)>>>0>1){x=c[(r&p)>>2]|0;c[(x&p)+24>>2]=u;v=A+32|0;c[(x&p)+28>>2]=c[(v&p)>>2];c[((c[(r&p)>>2]|0)&p)+32>>2]=O}else v=A+32|0;xh(y,1,c[(A&p)>>2]|0,0);zh(y,F);if((c[(w&p)>>2]|0)>>>0>G>>>0){c[((c[(r&p)>>2]|0)+(G*20|0)&p)+8>>2]=c[(v&p)>>2];c[((c[(r&p)>>2]|0)+(G*20|0)&p)+12>>2]=u}xh(y,G,(b[(z&o)>>1]|0)+1|0,-14);if((c[(w&p)>>2]|0)>>>0>6)c[((c[(r&p)>>2]|0)&p)+128>>2]=b[(z&o)>>1];if(!(a[(E&n)>>0]|0)){c[(H&p)>>2]=1;c[(I&p)>>2]=1;c[(J&p)>>2]=1;Ah(y,s)}}c[(Q&p)>>2]=O;c[(C&p)>>2]=t;c[(D&p)>>2]=d;if(a[(E&n)>>0]|0){R=57;break}re(c[(l&p)>>2]|0,1,h,k)|0;q=Bh(Q,h,k,T)|0;if(!((M|0)<50&(q|0)==17)){R=57;break}r=c[(T&p)>>2]|0;M=M+1|0;q=17}if((R|0)==11){c[(S&p)>>2]=f;th(s,10160,S)}else if((R|0)==13){c[(S&p)>>2]=f;th(s,10192,S)}else if((R|0)==17){c[(S&p)>>2]=f;th(s,10232,S)}else if((R|0)==23){mg(d,0);c[(S&p)>>2]=g;c[(T&p)>>2]=uh(d,10256,S)|0;q=1;R=62;break}else if((R|0)==36){mg(d,0);c[(S&p)>>2]=r;c[(T&p)>>2]=uh(d,10304,S)|0;q=1;R=62;break}else if((R|0)==57)if(!q){q=1;r=s;R=58;break}else{r=s;R=61;break}r=s+4|0;if(!(c[(r&p)>>2]|0)){q=1;R=62}else{mg(d,0);c[(T&p)>>2]=c[(r&p)>>2];c[(r&p)>>2]=0;q=1;R=62}}else{q=1;r=s;R=58}}else{q=0;r=0;R=58}while(0);do if((R|0)==58)if(a[(d&n)+65>>0]|0)if(q){q=0;R=61;break}else{q=0;R=64;break}else{c[(m&p)>>2]=Q;q=0;break}while(0);if((R|0)==61){l=Q+20|0;s=r;R=62}if((R|0)==62){r=c[(l&p)>>2]|0;if(!r){r=s;R=64}else{Ng(r)|0;r=s;R=64}}if((R|0)==64)mg(d,Q);K=c[(T&p)>>2]|0;c[(S&p)>>2]=K;ug(d,q,(K|0)!=0?10344:0,S);mg(d,K);Ch(r);mg(d,r);K=Og(d,q)|0;i=U;return K|0}function Je(a){a=a|0;var b=0,d=0;if(!a)a=0;else{d=c[(a&p)+24>>2]|0;b=md(c[(a&p)+20>>2]|0)|0;mg(d,a);a=b}return a|0}function Ke(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Eh(a,b,c,d,18)|0}function Le(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Eh(a,b,c,d,19)|0}function Me(a){a=a|0;if((a|0)!=0?(c[(a&p)+20>>2]|0)!=0:0)a=c[(a&p)+4>>2]|0;else a=0;return a|0}function Ne(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();e=h;f=h+8|0;if(!a){c[(e&p)>>2]=77720;c[(e&p)+4>>2]=10788;bd(21,13648,e);b=21}else{g=c[(a&p)+24>>2]|0;if(c[(a&p)+20>>2]|0){b=Bh(a,b,d,f)|0;if(!b)b=0;else{d=c[(f&p)>>2]|0;c[(e&p)>>2]=d;ug(g,b,(d|0)!=0?10344:0,e);mg(g,d)}}else b=4;b=Og(g,b)|0}i=h;return b|0}function Oe(a,d,e){a=a|0;d=d|0;e=e|0;c[(a&p)+284>>2]=d;c[(a&p)+288>>2]=e;a=c[(a&p)+4>>2]|0;if(a)do{e=a+88|0;b[(e&o)>>1]=b[(e&o)>>1]|8;a=c[(a&p)+52>>2]|0}while((a|0)!=0);return 0}function Pe(a,b){a=a|0;b=b|0;return (Gh(a,b,10352,0)|0)==0|0}function Qe(e,f,g,h,k){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=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=i;i=i+16|0;if((i|0)>=(j|0))fa();m=E;A=E+12|0;B=E+8|0;c[(B&p)>>2]=0;do if(Hh(e)|0){l=(f|0)==0?10360:f;C=e+52|0;c[(C&p)>>2]=0;D=e+236|0;m=c[(D&p)>>2]|0;do if(m){f=m+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;break}else{vg(m);break}}while(0);x=(g|0)==0;y=e+24|0;m=0;a:while(1){do{if(m){q=39;break a}if(!(a[(l&n)>>0]|0)){m=0;q=39;break a}c[(B&p)>>2]=0;m=ih(e,l,-1,1,0,B,A)|0}while((m|0)!=0);l=c[(B&p)>>2]|0;if(!l){l=c[(A&p)>>2]|0;m=0;continue}w=b[(l&o)+84>>1]|0;u=w&65535;v=u<<3|1;w=w<<16>>16==0;f=0;q=0;r=0;b:do{m=Sd(l)|0;do if(!x){s=(m|0)==100;if(!s){if((m|0)!=101|(r|0)!=0)break b;if(!(c[(y&p)>>2]&256)){r=0;break}}if(!r){f=mh(e,v,0)|0;if(!f){f=0;q=40;break a}fw(f|0,0,v|0)|0;if(w)t=1;else{r=0;do{c[(f+(r<<2)&p)>>2]=je(l,r)|0;r=r+1|0}while((r|0)<(u|0));t=1}}else t=r;c:do if(s){q=f+(u<<2)|0;if(!w){r=0;while(1){s=fe(l,r)|0;c[(f+(r+u<<2)&p)>>2]=s;if((s|0)==0?(z=c[(B&p)>>2]|0,(ie(z,r)|0)!=5):0){m=z;q=27;break a}r=r+1|0;if((r|0)>=(u|0))break c;l=c[(B&p)>>2]|0}}}while(0);if(!(pc[g&31](h,u,q,f)|0))r=t;else{l=f;q=31;break a}}while(0);l=c[(B&p)>>2]|0}while((m|0)==100);m=Ng(l)|0;c[(B&p)>>2]=0;l=c[(A&p)>>2]|0;while(1)if(!(a[((d[(l&n)>>0]|0)&n)+10368>>0]&1))break;else l=l+1|0;mg(e,f)}do if((q|0)==27){a[(e&n)+65>>0]=1;l=m;m=100;q=40}else if((q|0)==31){Ng(c[(B&p)>>2]|0)|0;c[(B&p)>>2]=0;c[(C&p)>>2]=4;m=c[(D&p)>>2]|0;if(m){f=m+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;f=l;m=4;break}else{vg(m);f=l;m=4;break}}else{f=l;m=4}}else if((q|0)==39){l=c[(B&p)>>2]|0;f=0;q=40}while(0);if((q|0)==40)if(l)Ng(l)|0;mg(e,f);l=Og(e,m)|0;f=(k|0)!=0;if(!((l|0)!=0&f)){if(!f)break;c[(k&p)>>2]=0;break}f=Se(e)|0;if(!f)f=1;else{m=f;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;f=(m-f&1073741823)+1|0}m=qg(f,((f|0)<0)<<31>>31)|0;c[(k&p)>>2]=m;if(m){kw(m|0,Se(e)|0,f|0)|0;break}c[(C&p)>>2]=7;l=c[(D&p)>>2]|0;if(l){f=l+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;l=7;break}else{vg(l);l=7;break}}else l=7}else{c[(m&p)>>2]=101334;c[(m&p)+4>>2]=10788;bd(21,13648,m);l=21}while(0);i=E;return l|0}function Re(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ih(a,b,c,1,0,d,e)|0}function Se(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;do if(b){f=c[(b&p)+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[(d&p)>>2]=15248;bd(21,15256,d);c[(d&p)>>2]=129635;c[(d&p)+4>>2]=10788;bd(21,13648,d);d=16120;break}if(!(a[(b&n)+65>>0]|0)){d=Sg(c[(b&p)+236>>2]|0,1)|0;if(!d){d=c[(b&p)+52>>2]|0;if((d|0)!=516){d=d&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[(d<<2&p)+15488>>2]|0}else d=16344}}else d=15776}else d=15776;while(0);i=e;return d|0}function Te(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))fa();u=w;v=w+8|0;t=c[(b&p)>>2]|0;c[(v&p)>>2]=0;m=(d|0)==0;if(m)g=0;else{l=d;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;g=l-d&1073741823}r=g+300|0;q=(f|0)!=0;if(q)c[(f&p)>>2]=0;do if(!(c[(b&p)+24>>2]&4194304))if(q){c[(f&p)>>2]=_c(25216,u)|0;g=1}else g=1;else{o=(e|0)!=0?e:41192;k=t+40|0;l=rc[c[(k&p)>>2]&127](t,d)|0;if(!l){c[(u&p)>>2]=d;c[(u&p)+4>>2]=41184;h=_c(27824,u)|0;if(!h){g=7;break}l=rc[c[(k&p)>>2]&127](t,h)|0;Wc(h);if(!l){if(!q){g=1;break}l=Tc(r)|0;c[(v&p)>>2]=l;c[(f&p)>>2]=l;if(!l){g=1;break}c[(u&p)>>2]=d;ad(r,l,41216,u)|0;mc[c[(t&p)+44>>2]&63](t,g+299|0,l);g=1;break}else s=l}else s=l;g=t+48|0;l=ac[c[(g&p)>>2]&63](t,s,o)|0;if((l|0)==0&(e|0)==0){if(m)l=0;else{l=d;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;l=l-d&1073741823}e=Tc(l+30|0)|0;if(!e){jc[c[(t&p)+52>>2]&15](t,s);g=7;break}o=e;m=o;a[(m&n)>>0]=115;a[(m&n)+1>>0]=113;a[(m&n)+2>>0]=108;a[(m&n)+3>>0]=105;o=o+4|0;a[(o&n)>>0]=116;a[(o&n)+1>>0]=101;a[(o&n)+2>>0]=51;a[(o&n)+3>>0]=95;while(1){k=l+-1|0;if((l|0)<=0)break;if((a[(d+k&n)>>0]|0)==47)break;else l=k}h=(Fc(d+l|0,41256,3)|0)==0;k=8;h=h?l+3|0:l;while(1){l=a[(d+h&n)>>0]|0;if(l<<24>>24==0|l<<24>>24==46){l=k;break}if(!(a[(l&255&n)+10368>>0]&2))l=k;else{a[(e+k&n)>>0]=a[(l<<24>>24&n)+9328>>0]|0;l=k+1|0}k=l;h=h+1|0}l=e+l|0;a[(l&n)>>0]=a[41264]|0;a[(l&n)+1>>0]=a[41265]|0;a[(l&n)+2>>0]=a[41266]|0;a[(l&n)+3>>0]=a[41267]|0;a[(l&n)+4>>0]=a[41268]|0;a[(l&n)+5>>0]=a[41269]|0;l=ac[c[(g&p)>>2]&63](t,s,e)|0;g=e;h=e}else{g=0;h=o}if(!l){if(q){if(!h)l=0;else{l=h;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;l=l-h&1073741823}l=l+r|0;k=Tc(l)|0;c[(v&p)>>2]=k;c[(f&p)>>2]=k;if(k){c[(u&p)>>2]=h;c[(u&p)+4>>2]=d;ad(l,k,41272,u)|0;mc[c[(t&p)+44>>2]&63](t,l+-1|0,k)}}jc[c[(t&p)+52>>2]&15](t,s);Wc(g);g=1;break}Wc(g);if(ac[l&63](b,v,13776)|0){if(q){c[(u&p)>>2]=c[(v&p)>>2];c[(f&p)>>2]=_c(41320,u)|0}Wc(c[(v&p)>>2]|0);jc[c[(t&p)+52>>2]&15](t,s);g=1;break}k=b+168|0;g=(c[(k&p)>>2]<<2)+4|0;l=mh(b,g,0)|0;if(!l)g=7;else{fw(l|0,0,g|0)|0;g=c[(k&p)>>2]|0;h=b+172|0;if((g|0)>0)kw(l|0,c[(h&p)>>2]|0,g<<2|0)|0;mg(b,c[(h&p)>>2]|0);c[(h&p)>>2]=l;g=c[(k&p)>>2]|0;c[(k&p)>>2]=g+1;c[(l+(g<<2)&p)>>2]=s;g=0}}while(0);s=Og(b,g)|0;i=w;return s|0}function Ue(a){a=a|0;var b=0,d=0,e=0,f=0;b=Lc()|0;if(!b){f=c[2656]|0;a:do if((f|0)>0){d=c[2658]|0;e=0;while(1){b=e+1|0;if((c[(d+(e<<2)&p)>>2]|0)==(a|0)){b=e;break a}if((b|0)<(f|0))e=b;else break}}else b=0;while(0);if((b|0)==(f|0)){b=Xc(c[2658]|0,(f<<2)+4|0)|0;if(!b)b=7;else{c[2658]=b;d=c[2656]|0;c[(b+(d<<2)&p)>>2]=a;c[2656]=d+1;b=0}}else b=0}return b|0}function Ve(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=c[2656]|0;f=c[2658]|0;d=e;while(1){if((d|0)<=0){b=0;break}d=d+-1|0;b=f+(d<<2)|0;if((c[(b&p)>>2]|0)==(a|0)){g=4;break}}if((g|0)==4){d=e+-1|0;c[2656]=d;c[(b&p)>>2]=c[(f+(d<<2)&p)>>2];b=1}return b|0}function We(){if(!(Lc()|0)){Wc(c[2658]|0);c[2658]=0;c[2656]=0}return}function Xe(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ih(a,b,c,0,0,d,e)|0}function Ye(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ih(a,b,c,0,d,e)|0}function Ze(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Ih(a,b,c,1,d,e)|0}function _e(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+32|0;if((i|0)>=(j|0))fa();n=w;r=w+4|0;c[(d&p)>>2]=0;s=(f|0)!=0;if(s)c[(f&p)>>2]=0;t=(e|0)!=0;if(t)c[(e&p)>>2]=0;l=(g|0)!=0;if(l)c[(g&p)>>2]=0;m=r+4|0;c[(m&p)>>2]=0;u=r+12|0;c[(u&p)>>2]=0;v=r+16|0;c[(v&p)>>2]=0;k=r+20|0;c[(k&p)>>2]=1;o=r+8|0;c[(o&p)>>2]=20;q=r+24|0;c[(q&p)>>2]=0;h=Tc(80)|0;c[(r&p)>>2]=h;a:do if(h){c[(h&p)>>2]=0;b=Qe(a,b,20,r,g)|0;c[(c[(r&p)>>2]&p)>>2]=c[(k&p)>>2];if((b&255|0)==4){$e((c[(r&p)>>2]|0)+4|0);b=c[(m&p)>>2]|0;if(b){if(l){Wc(c[(g&p)>>2]|0);c[(n&p)>>2]=c[(m&p)>>2];c[(g&p)>>2]=_c(10344,n)|0;b=c[(m&p)>>2]|0}Wc(b)}b=c[(q&p)>>2]|0;c[(a&p)+52>>2]=b;break}Wc(c[(m&p)>>2]|0);if(b){$e((c[(r&p)>>2]|0)+4|0);break}h=c[(k&p)>>2]|0;b=c[(r&p)>>2]|0;do if((c[(o&p)>>2]|0)>>>0>h>>>0){b=Xc(b,h<<2)|0;if(!b){$e((c[(r&p)>>2]|0)+4|0);c[(a&p)+52>>2]=7;b=7;break a}else{c[(r&p)>>2]=b;break}}while(0);c[(d&p)>>2]=b+4;if(s)c[(f&p)>>2]=c[(v&p)>>2];if(t){c[(e&p)>>2]=c[(u&p)>>2];b=0}else b=0}else{c[(a&p)+52>>2]=7;b=7}while(0);i=w;return b|0}function $e(a){a=a|0;var b=0,d=0,e=0,f=0;if(a){b=a+-4|0;e=c[(b&p)>>2]|0;d=e;if((e|0)>1){f=1;do{e=c[(a+(f+-1<<2)&p)>>2]|0;if(e)Wc(e);f=f+1|0}while((f|0)<(d|0))}Wc(b)}return}function af(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Kh(a,b,c,d,0)|0}function bf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Kh(a,b,c,d,e)|0}function cf(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s;g=s+8|0;c[(g&p)>>2]=0;h=d+324|0;f=c[(h&p)>>2]|0;if((f|0)!=0?(m=c[(f&p)+4>>2]|0,(m|0)!=0):0){q=mh(d,536,0)|0;if(!q)e=7;else{fw(q|0,0,536)|0;k=q+451|0;a[(k&n)>>0]=1;c[(q&p)>>2]=d;c[(q&p)+424>>2]=1;if(((((Lh(q,e,g)|0)==0?(l=c[(q&p)+484>>2]|0,(l|0)!=0):0)?(a[(d&n)+65>>0]|0)==0:0)?(c[(l&p)+12>>2]|0)==0:0)?(a[(l&n)+44>>0]&16)==0:0){f=m+4|0;if(!(c[(f&p)>>2]|0)){r=l+4|0;c[(f&p)>>2]=c[(r&p)>>2];l=l+38|0;b[(m&o)+38>>1]=b[(l&o)>>1]|0;b[(l&o)>>1]=0;c[(r&p)>>2]=0}c[((c[(h&p)>>2]|0)&p)+4>>2]=0;e=0}else{e=c[(g&p)>>2]|0;c[(r&p)>>2]=e;ug(d,1,(e|0)!=0?10344:0,r);mg(d,e);e=1}a[(k&n)>>0]=0;f=c[(q&p)+8>>2]|0;if(f)Ng(f)|0;kg(d,c[(q&p)+484>>2]|0);Ch(q);mg(d,q)}e=Og(d,e)|0}else{c[(d&p)+52>>2]=21;f=c[(d&p)+236>>2]|0;do if(f){e=f+8|0;if(!(b[(e&o)>>1]&9312)){b[(e&o)>>1]=1;break}else{vg(f);break}}while(0);c[(r&p)>>2]=114865;c[(r&p)+4>>2]=10788;bd(21,13648,r);e=21}i=s;return e|0}function df(a){a=a|0;return d[((d[(a&n)+69>>0]|0)+-1&n)+10640>>0]|0|0}function ef(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+32|0;if((i|0)>=(j|0))fa();h=l;g=l+8|0;c[(g&p)>>2]=f;do if((e|0)==1){e=c[(d&p)+324>>2]|0;if(!e){c[(h&p)>>2]=115248;c[(h&p)+4>>2]=10788;bd(21,13648,h);k=6;break}else{d=c[(g&p)>>2]|0;f=c[(d&p)>>2]|0;c[(g&p)>>2]=d+4;a[((c[(e&p)>>2]|0)&n)+16>>0]=f;e=0;break}}else{c[(h&p)>>2]=115256;c[(h&p)+4>>2]=10788;bd(21,13648,h);k=6}while(0);do if((k|0)==6){c[(d&p)+52>>2]=21;e=c[(d&p)+236>>2]|0;if(e){f=e+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;e=21;break}else{vg(e);e=21;break}}else e=21}while(0);i=l;return e|0}function ff(b){b=b|0;var c=0,e=0,f=0,g=0,h=0;c=a[(b&n)>>0]|0;a:do if(c<<24>>24){g=c;c=0;b:while(1){f=g<<24>>24;switch(f|0){case 45:{if((a[(b&n)+1>>0]|0)==45){e=g;while(1){f=e<<24>>24==0;g=b+1|0;if(!(e<<24>>24!=10&(f^1)))break;b=g;e=a[(g&n)>>0]|0}if(f){h=13;break b}else e=1}else e=2;break}case 59:{e=0;break}case 91:{do{b=b+1|0;f=a[(b&n)>>0]|0;e=f<<24>>24==0}while(f<<24>>24!=93&(e^1));if(e){c=0;break a}else e=2;break}case 39:case 34:case 96:{do{b=b+1|0;f=a[(b&n)>>0]|0;e=f<<24>>24==0}while(f<<24>>24!=g<<24>>24&(e^1));if(e){c=0;break a}else e=2;break}case 47:{if((a[(b&n)+1>>0]|0)==42){b=b+2|0;while(1){e=a[(b&n)>>0]|0;if(e<<24>>24==42){b=b+1|0;if((a[(b&n)>>0]|0)==47){e=1;break}else continue}else if(!(e<<24>>24)){c=0;break a}else{b=b+1|0;continue}}}else e=2;break}case 12:case 10:case 9:case 13:case 32:{e=1;break}default:if(!(a[(g&255&n)+10368>>0]&70))e=2;else{e=1;while(1)if(!(a[((d[(b+e&n)>>0]|0)&n)+10368>>0]&70)){g=e;break}else e=e+1|0;c:do switch(f|0){case 67:case 99:{if((g|0)==6?(Fc(b,10712,6)|0)==0:0){e=4;break c}e=2;break}case 69:case 101:{if((g|0)==3){if(!(Fc(b,10752,3)|0)){e=7;break c}}else if((g|0)==7?(Fc(b,10760,7)|0)==0:0){e=3;break c}e=2;break}case 84:case 116:{if((g|0)==7){if(!(Fc(b,10720,7)|0)){e=6;break c}}else if((g|0)==4){if(!(Fc(b,10728,4)|0)){e=5;break c}}else if((g|0)==9?(Fc(b,10736,9)|0)==0:0){e=5;break c}e=2;break}default:e=2}while(0);b=b+(g+-1)|0}}c=a[((e&255)+((c&255)<<3)&n)+10648>>0]|0;b=b+1|0;g=a[(b&n)>>0]|0;if(!(g<<24>>24)){h=35;break}}if((h|0)==13){c=c<<24>>24==1&1;break}else if((h|0)==35){c=c<<24>>24==1;h=36;break}}else{c=0;h=36}while(0);if((h|0)==36)c=c&1;return c|0}function gf(d){d=d|0;var e=0,f=0,g=0;e=Lc()|0;if(!e){f=qg(40,0)|0;if(f){e=f+0|0;g=e+40|0;do{a[(e&n)>>0]=0;e=e+1|0}while((e|0)<(g|0));b[(f&o)+8>>1]=1;c[(f&p)+32>>2]=0;Xg(f,d,-1,2,0)|0}e=Sg(f,1)|0;if(!e)e=7;else e=(ff(e)|0)&255;Mh(f)}return e|0}function hf(){return 8632}function jf(){return 10768}function kf(){return 3008009}function lf(){return 0}function mf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=i;i=i+32|0;if((i|0)>=(j|0))fa();d=f;e=f+8|0;if(!(c[2243]|0)){c[(e&p)>>2]=b;do switch(a|0){case 22:{c[(e&p)>>2]=(c[(e&p)>>2]|0)+8;c[(e&p)>>2]=(c[(e&p)>>2]|0)+8;c[2230]=0;c[2231]=0;c[2232]=0;c[2233]=0;d=0;break}case 25:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2242]=d;d=0;break}case 19:{if(!(c[2214]|0)){c[(d&p)>>2]=16440;mf(18,d)|0}a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;d=d+0|0;a=8848|0;e=d+52|0;do{c[(d&p)>>2]=c[(a&p)>>2];d=d+4|0;a=a+4|0}while((d|0)<(e|0));d=0;break}case 18:{d=c[(e&p)>>2]|0;a=c[(d&p)>>2]|0;c[(e&p)>>2]=d+4;d=8848|0;a=a+0|0;e=d+52|0;do{c[(d&p)>>2]=c[(a&p)>>2];d=d+4|0;a=a+4|0}while((d|0)<(e|0));d=0;break}case 20:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2190]=d;d=0;break}case 13:{d=c[(e&p)>>2]|0;a=c[(d&p)>>2]|0;c[(e&p)>>2]=d+4;c[2193]=a;a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2194]=d;d=0;break}case 17:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2189]=d;d=0;break}case 15:{d=1;break}case 6:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2234]=d;d=c[(e&p)>>2]|0;a=c[(d&p)>>2]|0;c[(e&p)>>2]=d+4;c[2235]=a;a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2236]=d;d=0;break}case 24:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[(d&p)>>2]=152;d=0;break}case 9:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2186]=d;d=0;break}case 7:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2237]=d;d=c[(e&p)>>2]|0;a=c[(d&p)>>2]|0;c[(e&p)>>2]=d+4;c[2238]=a;a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2239]=d;d=0;break}case 4:{a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2195]=c[(d&p)>>2];c[2196]=c[(d&p)+4>>2];c[2197]=c[(d&p)+8>>2];c[2198]=c[(d&p)+12>>2];c[2199]=c[(d&p)+16>>2];c[2200]=c[(d&p)+20>>2];c[2201]=c[(d&p)+24>>2];c[2202]=c[(d&p)+28>>2];d=0;break}case 16:{d=c[(e&p)>>2]|0;a=c[(d&p)>>2]|0;c[(e&p)>>2]=d+4;c[2250]=a;a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[2251]=d;d=0;break}case 5:{if(!(c[2195]|0)){c[(d&p)>>2]=16496;mf(4,d)|0}a=c[(e&p)>>2]|0;d=c[(a&p)>>2]|0;c[(e&p)>>2]=a+4;c[(d&p)>>2]=c[2195];c[(d&p)+4>>2]=c[2196];c[(d&p)+8>>2]=c[2197];c[(d&p)+12>>2]=c[2198];c[(d&p)+16>>2]=c[2199];c[(d&p)+20>>2]=c[2200];c[(d&p)+24>>2]=c[2201];c[(d&p)+28>>2]=c[2202];d=0;break}case 14:{d=0;break}default:d=1}while(0)}else{c[(d&p)>>2]=127883;c[(d&p)+4>>2]=10788;bd(21,13648,d);d=21}i=f;return d|0}function nf(a){a=a|0;return c[(a&p)+12>>2]|0}function of(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=a+20|0;b=c[(h&p)>>2]|0;f=(b|0)>0;if(f){e=c[(a&p)+16>>2]|0;g=0;do{d=c[(e+(g<<4)&p)+4>>2]|0;if(d)c[((c[(d&p)+4>>2]|0)&p)+4>>2]=c[(d&p)>>2];g=g+1|0}while((g|0)!=(b|0));if(f){f=a+16|0;e=0;do{d=c[((c[(f&p)>>2]|0)+(e<<4)&p)+4>>2]|0;if(d){cc[c[8896>>2]&31](c[((c[((c[(c[(d&p)+4>>2]&p)>>2]|0)&p)+204>>2]|0)&p)+40>>2]|0);b=c[(h&p)>>2]|0}e=e+1|0}while((e|0)<(b|0))}}return 0}function pf(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))fa();h=l;c[(h&p)>>2]=e;a:do if((d|0)!=1001){e=0;while(1){if((c[(e<<3&p)+10936>>2]|0)==(d|0))break;e=e+1|0;if(e>>>0>=2){f=1;break a}}g=c[(h&p)>>2]|0;d=c[(g&p)>>2]|0;c[(h&p)>>2]=g+4;g=c[(h&p)>>2]|0;k=c[(g&p)>>2]|0;c[(h&p)>>2]=g+4;h=a+24|0;g=c[(h&p)>>2]|0;if((d|0)<=0)if(!d){d=g&~c[(e<<3&p)+10940>>2];c[(h&p)>>2]=d}else d=g;else{d=c[(e<<3&p)+10940>>2]|g;c[(h&p)>>2]=d}if((g|0)!=(d|0)?(f=c[(a&p)+4>>2]|0,(f|0)!=0):0)do{d=f+88|0;b[(d&o)>>1]=b[(d&o)>>1]|8;f=c[(f&p)+52>>2]|0}while((f|0)!=0);if(!k)f=0;else{c[(k&p)>>2]=(c[(e<<3&p)+10940>>2]&c[(h&p)>>2]|0)!=0&1;f=0}}else{g=c[(h&p)>>2]|0;d=c[(g&p)>>2]|0;c[(h&p)>>2]=g+4;g=c[(h&p)>>2]|0;e=c[(g&p)>>2]|0;c[(h&p)>>2]=g+4;g=c[(h&p)>>2]|0;f=c[(g&p)>>2]|0;c[(h&p)>>2]=g+4;f=Nh(a,d,e,f)|0}while(0);i=l;return f|0}function qf(a){a=a|0;a=a+32|0;G=c[(a&p)+4>>2]|0;return c[(a&p)>>2]|0}function rf(a){a=a|0;return c[(a&p)+80>>2]|0}function sf(a){a=a|0;return c[(a&p)+84>>2]|0}function tf(a){a=a|0;return Oh(a,0)|0}function uf(a){a=a|0;return Oh(a,1)|0}function vf(a,b,d){a=a|0;b=b|0;d=d|0;c[(a&p)+444>>2]=b;c[(a&p)+448>>2]=d;c[(a&p)+452>>2]=0;c[(a&p)+492>>2]=0;return 0}function wf(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=(b|0)>0;c[(a&p)+292>>2]=f?d:0;c[(a&p)+300>>2]=f?b:0;c[(a&p)+296>>2]=f?e:0;return}function xf(a,b){a=a|0;b=b|0;var d=0;d=(b|0)>0;c[(a&p)+444>>2]=d?74:0;c[(a&p)+448>>2]=d?a:0;c[(a&p)+452>>2]=0;c[(a&p)+492>>2]=d?b:0;return 0}function yf(a){a=a|0;c[(a&p)+240>>2]=1;return}function zf(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;return Og(a,Qh(a,b,c,d,e,f,g,h,0)|0)|0}function Af(b,d,e,f,g,h,i,j,k){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,o=0;do if(k){l=mh(b,12,0)|0;if(!l){cc[k&31](g);f=1;break}m=l;o=m;a[(o&n)>>0]=0;a[(o&n)+1>>0]=0;a[(o&n)+2>>0]=0;a[(o&n)+3>>0]=0;m=m+4|0;a[(m&n)>>0]=0;a[(m&n)+1>>0]=0;a[(m&n)+2>>0]=0;a[(m&n)+3>>0]=0;c[(l&p)+4>>2]=k;c[(l&p)+8>>2]=g;f=Qh(b,d,e,f,g,h,i,j,l)|0;if(!(c[(l&p)>>2]|0)){cc[k&31](g);mg(b,l)}}else f=Qh(b,d,e,f,g,h,i,j,0)|0;while(0);return Og(b,f)|0}function Bf(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=Rh(a,b,-1)|0;d=Qh(a,b,c,d,e,f,g,h,0)|0;mg(a,b);return Og(a,d)|0}function Cf(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if(!c)e=0;else{e=c;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;e=e-c&1073741823}if(!(Sh(b,c,e,d,1,0)|0))e=Qh(b,c,d,1,0,57,0,0,0)|0;else e=0;return Og(b,e)|0}function Df(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+180|0;e=c[(f&p)>>2]|0;c[(a&p)+176>>2]=b;c[(f&p)>>2]=d;return e|0}function Ef(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+188|0;e=c[(f&p)>>2]|0;c[(a&p)+184>>2]=b;c[(f&p)>>2]=d;return e|0}function Ff(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+192|0;e=c[(f&p)>>2]|0;c[(a&p)+196>>2]=b;c[(f&p)>>2]=d;return e|0}function Gf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+208|0;e=c[(f&p)>>2]|0;c[(a&p)+212>>2]=b;c[(f&p)>>2]=d;return e|0}function Hf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+200|0;e=c[(f&p)>>2]|0;c[(a&p)+204>>2]=b;c[(f&p)>>2]=d;return e|0}function If(a,b){a=a|0;b=b|0;var d=0;if((b|0)>0)d=21;else{b=0;d=0}c[(a&p)+216>>2]=d;c[(a&p)+220>>2]=b;return 0}function Jf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=a+220|0;e=c[(f&p)>>2]|0;c[(a&p)+216>>2]=b;c[(f&p)>>2]=d;return e|0}function Kf(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();k=q;if(g)c[(g&p)>>2]=-1;if(h)c[(h&p)>>2]=-1;if(f>>>0>3)e=21;else{if((e|0)!=0?(a[(e&n)>>0]|0)!=0:0){l=Vh(d,e)|0;if((l|0)<0){c[(k&p)>>2]=e;ug(d,1,10952,k);e=1}else m=10}else{l=10;m=10}do if((m|0)==10){c[(d&p)+452>>2]=0;e=Wh(d,l,f,g,h)|0;c[(d&p)+52>>2]=e;k=c[(d&p)+236>>2]|0;if(k){l=k+8|0;if(!(b[(l&o)>>1]&9312)){b[(l&o)>>1]=1;break}else{vg(k);break}}}while(0);e=Og(d,e)|0}i=q;return e|0}function Lf(a,b){a=a|0;b=b|0;return Kf(a,b,0,0,0)|0}function Mf(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;do if(b){d=c[(b&p)+76>>2]|0;if(!((d|0)==1266094736|(d|0)==-1607883113|(d|0)==-264537850)){c[(g&p)>>2]=15248;bd(21,15256,g);d=11008;break}h=b+65|0;if(!(a[(h&n)>>0]|0)){f=b+236|0;d=Sg(c[(f&p)>>2]|0,2)|0;if(!d){e=c[(b&p)+52>>2]|0;if((e|0)!=516){d=e&255;if(d>>>0>26|(d|0)==2)d=16328;else d=c[(d<<2&p)+15488>>2]|0}else d=16344;ug(b,e,d,g);d=Sg(c[(f&p)>>2]|0,2)|0}a[(h&n)>>0]=0}else d=10976}else d=10976;while(0);i=k;return d|0}function Nf(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;do if(b){f=c[(b&p)+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[(d&p)>>2]=15248;bd(21,15256,d);c[(d&p)>>2]=129704;c[(d&p)+4>>2]=10788;bd(21,13648,d);b=21;break}if(!(a[(b&n)+65>>0]|0))b=c[(b&p)+56>>2]&c[(b&p)+52>>2];else b=7}else b=7;while(0);i=e;return b|0}function Of(b){b=b|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;do if(b){f=c[(b&p)+76>>2]|0;if(!((f|0)==1266094736|(f|0)==-1607883113|(f|0)==-264537850)){c[(d&p)>>2]=15248;bd(21,15256,d);c[(d&p)>>2]=129713;c[(d&p)+4>>2]=10788;bd(21,13648,d);b=21;break}if(!(a[(b&n)+65>>0]|0))b=c[(b&p)+52>>2]|0;else b=7}else b=7;while(0);i=e;return b|0}function Pf(a){a=a|0;if((a|0)!=516){a=a&255;if(a>>>0>26|(a|0)==2)a=16328;else a=c[(a<<2&p)+15488>>2]|0}else a=16344;return a|0}function Qf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(b>>>0<=11){e=a+(b<<2)+88|0;a=c[(e&p)>>2]|0;if((d|0)>-1){b=c[(b<<2&p)+11088>>2]|0;c[(e&p)>>2]=(b|0)<(d|0)?b:d}}else a=-1;return a|0}function Rf(a,b){a=a|0;b=b|0;return Xh(a,b,6,0)|0}function Sf(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Xh(a,b,c,d)|0}function Tf(d,e){d=d|0;e=e|0;var f=0,g=0,h=0;c[(e&p)>>2]=0;f=Lc()|0;if(!f){h=qg(40,0)|0;if(h){d=(d|0)==0?11136:d;f=h+0|0;g=f+40|0;do{a[(f&n)>>0]=0;f=f+1|0}while((f|0)<(g|0));b[(h&o)+8>>1]=1;c[(h&p)+32>>2]=0;Xg(h,d,-1,2,0)|0}d=Sg(h,1)|0;if(d){f=Xh(d,e,6,0)|0;if(!f){f=c[(e&p)>>2]|0;d=c[((c[(f&p)+16>>2]|0)&p)+12>>2]|0;if(!(b[(d&o)+78>>1]&1)){a[(f&n)+62>>0]=2;a[(d&n)+77>>0]=2;f=0}else f=0}}else f=7;Mh(h);f=f&255}return f|0}function Uf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Og(a,Yh(a,b,c&255,d,e,0)|0)|0}function Vf(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 Og(a,Yh(a,b,c&255,d,e,f)|0)|0}function Wf(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;b=Rh(a,b,-1)|0;if(!b)b=0;else{c=Yh(a,b,c&255,d,e,0)|0;mg(a,b);b=c}return Og(a,b)|0}function Xf(a,b,d){a=a|0;b=b|0;d=d|0;c[(a&p)+224>>2]=d;c[(a&p)+228>>2]=0;c[(a&p)+232>>2]=b;return 0}function Yf(a,b,d){a=a|0;b=b|0;d=d|0;c[(a&p)+224>>2]=0;c[(a&p)+228>>2]=d;c[(a&p)+232>>2]=b;return 0}function Zf(a){a=a|0;return d[(a&n)+63>>0]|0|0}function _f(){return}function $f(d,e,f,g,h,k,l,m,q){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;C=i;i=i+16|0;if((i|0)>=(j|0))fa();A=C;B=C+8|0;c[(B&p)>>2]=0;s=c[(d&p)+20>>2]|0;if((s|0)>0){r=c[(d&p)+16>>2]|0;u=0;do{t=c[(r+(u<<4)&p)+4>>2]|0;if(t)c[((c[(t&p)+4>>2]|0)&p)+4>>2]=c[(t&p)>>2];u=u+1|0}while((u|0)!=(s|0))}r=Zh(d,B)|0;z=(r|0)!=0;a:do if((!z?(x=_h(d,f,e)|0,(x|0)!=0):0)?(c[(x&p)+12>>2]|0)==0:0){do if(g){w=b[(x&o)+38>>1]|0;b:do if(w<<16>>16>0){e=c[(x&p)+4>>2]|0;s=w<<16>>16;v=0;while(1){t=e+(v*24|0)|0;u=v+1|0;if(!(dd(c[(t&p)>>2]|0,g)|0)){u=v;break b}if((u|0)<(s|0))v=u;else break}}else{u=0;t=0}while(0);if((u|0)==(w<<16>>16|0)){if(a[(x&n)+44>>0]&32){e=0;w=0;x=0;t=0;v=0;u=0;break a}if(!($h(g)|0)){e=0;w=0;x=0;t=0;v=0;u=0;break a}y=b[(x&o)+36>>1]|0;s=y<<16>>16;if(y<<16>>16<=-1){e=0;v=0;s=1;y=0;u=11144;break}u=s;t=(c[(x&p)+4>>2]|0)+(s*24|0)|0}if(t){if((b[(x&o)+36>>1]|0)==(u|0))s=(a[(x&n)+44>>0]&8)!=0;else s=0;e=s&1;v=(a[(t&n)+20>>0]|0)!=0&1;s=a[(t&n)+23>>0]&1;y=c[(t&p)+16>>2]|0;u=c[(t&p)+12>>2]|0}else{e=0;v=0;s=1;y=0;u=11144}}else{e=0;v=0;s=1;y=0;u=11144}while(0);w=v;t=s;v=(y|0)==0?11152:y}else{e=0;w=0;x=0;t=0;v=0;u=0}while(0);if(h)c[(h&p)>>2]=u;if(k)c[(k&p)>>2]=v;if(l)c[(l&p)>>2]=w;if(m)c[(m&p)>>2]=t;if(q)c[(q&p)>>2]=e;s=c[(B&p)>>2]|0;if(!(z|(x|0)!=0)){mg(d,s);c[(A&p)>>2]=f;c[(A&p)+4>>2]=g;s=uh(d,11160,A)|0;c[(B&p)>>2]=s;r=1}c[(A&p)>>2]=s;ug(d,r,(s|0)!=0?10344:0,A);mg(d,c[(B&p)>>2]|0);z=Og(d,r)|0;i=C;return z|0}function ag(a){a=a|0;var b=0;if((Lc()|0)==0?(b=c[2254]|0,(b|0)!=0):0)a=(rc[c[(b&p)+60>>2]&127](b,a*1e3|0)|0)/1e3|0;else a=0;return a|0}function bg(a,b){a=a|0;b=b|0;c[(a&p)+56>>2]=(b|0)!=0?-1:255;return 0}function cg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;b=ai(a,b)|0;do if(b){a=c[(b&p)+4>>2]|0;c[(a&p)+4>>2]=c[(b&p)>>2];a=c[((c[(a&p)>>2]|0)&p)+60>>2]|0;if((d|0)==7){c[(e&p)>>2]=a;b=0;break}b=c[(a&p)>>2]|0;if(!b)b=12;else b=ac[c[(b&p)+40>>2]&63](a,d,e)|0}else b=1;while(0);return b|0}function dg(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0;t=i;i=i+32|0;if((i|0)>=(j|0))fa();s=t+24|0;h=t+8|0;g=t;c[(h&p)>>2]=f;do switch(e|0){case 11:{g=c[2514]|0;s=c[(h&p)>>2]|0;f=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;if(f)c[2514]=f;break}case 12:{c[(g&p)>>2]=0;g=c[(g&p)>>2]|0;break}case 13:{s=c[(h&p)>>2]|0;g=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;break}case 22:{g=10;break}case 5:{kw(12672,9064,259)|0;g=0;break}case 7:{if(!(Lc()|0)){a[9064]=0;g=0}else g=0;break}case 8:{r=c[(h&p)>>2]|0;q=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=c[(h&p)>>2]|0;k=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=qg(512,0)|0;g=(r|0)==0;if(!g){fw(r|0,0,512)|0;c[(r&p)>>2]=q}e=((q+7|0)/8|0)+1|0;m=qg(e,((e|0)<0)<<31>>31)|0;f=(m|0)==0;if(!f)fw(m|0,0,e|0)|0;l=Tc(512)|0;a:do if(!(g|f|(l|0)==0)){h=0;while(1){g=c[(k+(h<<2)&p)>>2]|0;if(!g)break;else if((g|0)==5|(g|0)==2|(g|0)==1){f=k+(h+2<<2)|0;u=c[(f&p)>>2]|0;e=u+-1|0;c[(s&p)>>2]=e;c[(f&p)>>2]=(c[(k+(h+3<<2)&p)>>2]|0)+u;f=4}else{cd(4,s);e=c[(s&p)>>2]|0;f=2}v=k+((h|1)<<2)|0;u=(c[(v&p)>>2]|0)+-1|0;c[(v&p)>>2]=u;h=((u|0)>0?0:f)+h|0;e=(e&2147483647|0)%(q|0)|0;c[(s&p)>>2]=e;e=e+1|0;f=1<<(e&7);if(!(g&1)){e=m+(e>>>3)|0;a[(e&n)>>0]=d[(e&n)>>0]&(f^255);ci(r,(c[(s&p)>>2]|0)+1|0,l);continue}e=m+(e>>>3)|0;a[(e&n)>>0]=d[(e&n)>>0]|f;if((g|0)==5)continue;if(bi(r,(c[(s&p)>>2]|0)+1|0)|0){g=-1;break a}}k=di(r,q+1|0)|0;e=di(r,0)|0;e=k-q+e+(c[(r&p)>>2]|0)|0;c[(s&p)>>2]=1;if((q|0)<1)g=e;else{f=1;while(1){k=(d[(m+(f>>3)&n)>>0]&1<<(f&7)|0)!=0&1;g=f;f=f+1|0;if((k|0)!=(di(r,g)|0))break a;c[(s&p)>>2]=f;if((g|0)>=(q|0)){g=e;break}}}}else g=-1;while(0);Wc(l);Wc(m);ei(r);break}case 6:{kw(9064,12672,259)|0;g=0;break}case 23:{g=(c[2243]|0)==0&1;break}case 25:{q=c[(h&p)>>2]|0;g=c[(q&p)>>2]|0;c[(h&p)>>2]=q+4;q=c[(h&p)>>2]|0;r=c[(q&p)>>2]|0;c[(h&p)>>2]=q+4;a[(g&n)+144>>0]=Vh(g,r)|0;r=c[(h&p)>>2]|0;q=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;q=q&255;a[(g&n)+147>>0]=q;r=g+145|0;a[(r&n)>>0]=q;q=c[(h&p)>>2]|0;s=c[(q&p)>>2]|0;c[(h&p)>>2]=q+4;c[(g&p)+140>>2]=s;if((a[(r&n)>>0]|0)==0&(s|0)>0){Eg(g);g=0}else g=0;break}case 14:{r=c[(h&p)>>2]|0;s=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=c[(h&p)>>2]|0;g=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;xg(c[((c[(s&p)+16>>2]|0)&p)+4>>2]|0,0,g,0)|0;g=0;break}case 15:{r=c[(h&p)>>2]|0;g=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=c[(h&p)>>2]|0;s=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;b[(g&o)+60>>1]=s;g=0;break}case 16:{s=c[(h&p)>>2]|0;e=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;if(!e)g=0;else{g=e;while(1)if(!(a[(g&n)>>0]|0))break;else g=g+1|0;g=g-e&1073741823}g=(fi(e,g)|0)!=27;g=g?124:0;break}case 24:{r=c[(h&p)>>2]|0;g=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=c[(h&p)>>2]|0;s=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;c[(g&p)+136>>2]=s;g=0;break}case 17:{s=c[(h&p)>>2]|0;f=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;s=c[(h&p)>>2]|0;g=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;s=c[(h&p)>>2]|0;e=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;if(f)c[(g&p)>>2]=gi(f)|0;hi(e);g=0;break}case 18:{s=c[(h&p)>>2]|0;g=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;c[2253]=g;g=0;break}case 20:{s=c[(h&p)>>2]|0;g=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;c[2192]=g;g=0;break}case 9:{s=c[(h&p)>>2]|0;g=c[(s&p)>>2]|0;c[(h&p)>>2]=s+4;c[2252]=g;if(!g)g=0;else g=lc[g&127](0)|0;break}case 10:{r=c[(h&p)>>2]|0;s=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;r=c[(h&p)>>2]|0;g=c[(r&p)>>2]|0;c[(h&p)>>2]=r+4;c[3164]=s;c[3166]=g;g=0;break}default:g=0}while(0);i=t;return g|0}function eg(b,c){b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:do if(!((b|0)==0|(c|0)==0)){d=b;while(1)if(!(a[(d&n)>>0]|0))break;else d=d+1|0;e=(d-b&1073741823)+1|0;d=a[(b+e&n)>>0]|0;if(d<<24>>24){g=b+e|0;while(1){f=_v(g,c)|0;e=g;while(1){b=e+1|0;if(!(d<<24>>24))break;d=a[(b&n)>>0]|0;e=b}b=e-g&1073741823;d=g+(b+1)|0;if(!f)break a;else e=d;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;g=g+(b+2+(e-d&1073741823))|0;d=a[(g&n)>>0]|0;if(!(d<<24>>24)){d=0;break}}}else d=0}else d=0;while(0);return d|0}function fg(a,b,c){a=a|0;b=b|0;c=c|0;a=eg(a,b)|0;b=(c|0)!=0;if(a)b=(ii(a,1,b&1)|0)<<24>>24!=0;return b&1|0}function gg(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;a=eg(a,b)|0;if(!a){G=e;i=g;return d|0}else{b=(ji(a,f)|0)==0;a=f;G=b?c[(a&p)+4>>2]|0:e;i=g;return (b?c[(a&p)>>2]|0:d)|0}return 0}function hg(b,d){b=b|0;d=d|0;b=ai(b,d)|0;if(b){b=c[(c[(b&p)+4>>2]&p)>>2]|0;if(!(a[(b&n)+15>>0]|0))b=c[(b&p)+168>>2]|0;else b=10360}else b=0;return b|0}function ig(a,d){a=a|0;d=d|0;a=ai(a,d)|0;if(!a)a=-1;else a=b[((c[(a&p)+4>>2]|0)&o)+22>>1]&1;return a|0}function jg(a,b){a=a|0;b=b|0;if(b){Fk(a,c[(b&p)+28>>2]|0);mg(a,c[(b&p)>>2]|0);mg(a,c[(b&p)+4>>2]|0);Gk(a,c[(b&p)+12>>2]|0);Hk(a,c[(b&p)+16>>2]|0);mg(a,b)}return}function kg(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;do if(d){h=(a|0)!=0;if(!(h?(c[(a&p)+520>>2]|0)!=0:0))e=4;if((e|0)==4?(f=d+40|0,e=(b[(f&o)>>1]|0)+-1<<16>>16,b[(f&o)>>1]=e,e<<16>>16!=0):0)break;e=c[(d&p)+8>>2]|0;if(e){g=a+520|0;do{f=e;e=c[(e&p)+20>>2]|0;if(!(h?(c[(g&p)>>2]|0)!=0:0))Ik((c[(f&p)+24>>2]|0)+24|0,c[(f&p)>>2]|0,0)|0;Jk(a,f)}while((e|0)!=0)}e=c[(d&p)+16>>2]|0;if(e){j=(a|0)==0;k=d+68|0;l=a+520|0;do{if(!(!j?(c[(l&p)>>2]|0)!=0:0)){f=e+16|0;i=c[(f&p)>>2]|0;h=e+12|0;g=c[(h&p)>>2]|0;if(!i)Ik((c[(k&p)>>2]|0)+56|0,c[(((g|0)==0?e:g)&p)+8>>2]|0,g)|0;else c[(i&p)+12>>2]=g;h=c[(h&p)>>2]|0;if(h)c[(h&p)+16>>2]=c[(f&p)>>2]}Kk(a,c[(e&p)+28>>2]|0);Kk(a,c[(e&p)+32>>2]|0);f=e;e=c[(e&p)+4>>2]|0;mg(a,f)}while((e|0)!=0)}Lk(a,d);mg(a,c[(d&p)>>2]|0);mg(a,c[(d&p)+20>>2]|0);Mk(a,c[(d&p)+12>>2]|0,1);Nk(a,c[(d&p)+24>>2]|0);if(!((a|0)!=0?(c[(a&p)+520>>2]|0)!=0:0))Ok(0,d)|0;h=d+56|0;e=c[(h&p)>>2]|0;if(e){i=d+52|0;f=c[(i&p)>>2]|0;if((f|0)>0){g=0;do{if((g|0)!=1){mg(a,c[((c[(h&p)>>2]|0)+(g<<2)&p)>>2]|0);f=c[(i&p)>>2]|0}g=g+1|0}while((g|0)<(f|0));e=c[(h&p)>>2]|0}mg(a,e)}mg(a,d)}while(0);return}function lg(a,d){a=a|0;d=d|0;var f=0,g=0,h=0;ch(c[(d&p)+60>>2]|0,b[(d&o)+68>>1]|0);h=d+16|0;ch(c[(h&p)>>2]|0,e[(d&o)+84>>1]<<1);f=c[(d&p)+192>>2]|0;if(f)do{g=f;f=c[(f&p)+24>>2]|0;Pk(a,c[(g&p)>>2]|0,c[(g&p)+4>>2]|0);mg(a,g)}while((f|0)!=0);f=b[(d&o)+70>>1]|0;if(f<<16>>16>0){g=d+64|0;f=f<<16>>16;do{f=f+-1|0;mg(a,c[((c[(g&p)>>2]|0)+(f<<2)&p)>>2]|0)}while((f|0)>0)}Pk(a,c[(d&p)+4>>2]|0,c[(d&p)+32>>2]|0);mg(a,c[(h&p)>>2]|0);mg(a,c[(d&p)+168>>2]|0);mg(a,c[(d&p)+172>>2]|0);return}function mg(a,b){a=a|0;b=b|0;var d=0;do if(b){if(a){if(c[(a&p)+520>>2]|0){Qk(a,b);break}if((c[(a&p)+276>>2]|0)>>>0<=b>>>0?(c[(a&p)+280>>2]|0)>>>0>b>>>0:0){d=a+272|0;c[(b&p)>>2]=c[(d&p)>>2];c[(d&p)>>2]=b;a=a+252|0;c[(a&p)>>2]=(c[(a&p)>>2]|0)+-1;break}}Wc(b)}while(0);return}function ng(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;h=c[(e&p)+24>>2]|0;if(!h)f=0;else{f=h;while(1)if(!(a[(f&n)>>0]|0))break;else f=f+1|0;f=f-h&1073741823}g=(((d[((d[(h&n)>>0]|0)&n)+9328>>0]|0)+f|0)>>>0)%23|0;f=Rk(b,g,h,f)|0;if(!f){c[(e&p)+8>>2]=0;f=b+(g<<2)|0;c[(e&p)+28>>2]=c[(f&p)>>2];c[(f&p)>>2]=e}else{f=f+8|0;c[(e&p)+8>>2]=c[(f&p)>>2];c[(f&p)>>2]=e}return}function og(a){a=a|0;var b=0,d=0;do if(a){b=c[2254]|0;if((b|0)==(a|0)){c[2254]=c[(a&p)+12>>2];break}if(b){do{d=b+12|0;b=c[(d&p)>>2]|0}while((b|0)!=(a|0)&(b|0)!=0);if((b|0)==(a|0))c[(d&p)>>2]=c[(a&p)+12>>2]}}while(0);return}function pg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return}function qg(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;b=jw(a|0,b|0,-1,-1)|0;d=G;do if(!(d>>>0>0|(d|0)==0&b>>>0>2147483390)){if(!(c[2186]|0)){b=lc[c[8780>>2]&127](a)|0;break}d=lc[c[8796>>2]&127](a)|0;c[2171]=a;if((c[2181]|0)>>>0<a>>>0)c[2181]=a;a=c[2260]|0;do if(a){b=c[2166]|0;e=9032|0;e=dw(c[(e&p)>>2]|0,c[(e&p)+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;f=G;if(0<(f|0)|0==(f|0)&b>>>0<e>>>0){c[2265]=0;break}else{c[2265]=1;e=c[2261]|0;c[2260]=0;qc[a&15](e,b,0,d);c[2260]=a;c[2261]=e;break}}while(0);b=lc[c[8780>>2]&127](d)|0;if(b){a=lc[c[8792>>2]&127](b)|0;a=(c[2166]|0)+a|0;c[2166]=a;if(a>>>0>(c[2176]|0)>>>0)c[2176]=a;a=(c[2175]|0)+1|0;c[2175]=a;if(a>>>0>(c[2185]|0)>>>0)c[2185]=a}else b=0}else b=0;while(0);return b|0}function rg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;do if(a){if((b|0)==0&(d|0)==0){Wc(a);e=0;break}if(!(d>>>0>0|(d|0)==0&b>>>0>2147483391)){h=lc[c[8792>>2]&127](a)|0;g=lc[c[8796>>2]&127](b)|0;if((g|0)!=(h|0)){if(!(c[2186]|0)){e=rc[c[8788>>2]&127](a,g)|0;break}c[2171]=b;if((c[2181]|0)>>>0<b>>>0)c[2181]=b;d=g-h|0;e=c[2166]|0;i=9032|0;i=dw(c[(i&p)>>2]|0,c[(i&p)+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;j=G;if(!(0<(j|0)|0==(j|0)&e>>>0<i>>>0)?(f=c[2260]|0,(f|0)!=0):0){i=c[2261]|0;c[2260]=0;qc[f&15](i,e,0,d);c[2260]=f;c[2261]=i}e=rc[c[8788>>2]&127](a,g)|0;d=c[2260]|0;if((e|0)==0&(d|0)!=0){f=c[2166]|0;e=c[2261]|0;c[2260]=0;qc[d&15](e,f,0,b);c[2260]=d;c[2261]=e;e=rc[c[8788>>2]&127](a,g)|0}if(e){d=(lc[c[8792>>2]&127](e)|0)-h|0;d=(c[2166]|0)+d|0;c[2166]=d;if(d>>>0>(c[2176]|0)>>>0)c[2176]=d}else e=0}else e=a}else e=0}else e=qg(b,d)|0;while(0);return e|0}function sg(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var l=0,m=0,o=0,r=0,s=0,t=0.0,u=0.0,v=0,w=0.0,x=0.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,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,_=0,$=0;$=i;i=i+96|0;if((i|0)>=(j|0))fa();Z=$+8|0;_=$;Y=$+16|0;if(!e){l=0;m=0;T=0}else{l=e&2;if(!l)m=0;else{J=c[(g&p)>>2]|0;m=c[(J&p)>>2]|0;c[(g&p)>>2]=J+4}l=l&255;T=(e&1|0)!=0}S=l<<24>>24==0;P=l<<24>>24!=0;Q=m+4|0;R=m+8|0;O=b+12|0;l=0;a:while(1){e=a[(f&n)>>0]|0;if(e<<24>>24==37){e=f;f=l}else if(e<<24>>24){e=f;do{e=e+1|0;J=a[(e&n)>>0]|0}while(!(J<<24>>24==37|J<<24>>24==0));Sk(b,f,e-f|0);if(!(a[(e&n)>>0]|0))break}else break;l=e+1|0;o=a[(l&n)>>0]|0;if(!(o<<24>>24)){U=10;break}r=o<<24>>24;v=0;s=0;y=0;o=0;A=0;B=0;b:while(1){switch(r|0){case 43:{z=s;A=1;break}case 32:{z=s;y=1;break}case 35:{v=1;z=s;break}case 33:{z=1;break}case 48:{z=s;B=1;break}case 45:{z=s;o=1;break}default:{C=v;z=s;break b}}s=e+2|0;J=a[(s&n)>>0]|0;r=J<<24>>24;if(!(J<<24>>24)){l=s;C=v;break}else{e=l;l=s;s=z}}if((r|0)!=42)if((r+-48|0)>>>0<10){s=0;do{s=r+-48+(s*10|0)|0;l=l+1|0;r=a[(l&n)>>0]|0}while((r+-48|0)>>>0<10);N=o;M=s&2147483647}else{N=o;M=0}else{if(S){J=c[(g&p)>>2]|0;s=c[(J&p)>>2]|0;c[(g&p)>>2]=J+4}else s=Tk(m)|0;if((s|0)<0){o=1;s=(s|0)==-2147483648?0:0-s|0}r=l+1|0;l=r;r=a[(r&n)>>0]|0;N=o;M=s}do if((r|0)==46){s=l+1|0;o=a[(s&n)>>0]|0;if(o<<24>>24!=42){r=o<<24>>24;if((o+-48&255)<10)o=0;else{l=s;F=0;break}while(1){o=r+-48+(o*10|0)|0;l=l+2|0;J=a[(l&n)>>0]|0;r=J<<24>>24;if((J+-48&255)<10){J=s;s=l;l=J}else break}F=o&2147483647;break}if(S){J=c[(g&p)>>2]|0;s=c[(J&p)>>2]|0;c[(g&p)>>2]=J+4}else s=Tk(m)|0;l=l+2|0;r=a[(l&n)>>0]|0;if((s|0)<0)F=(s|0)==-2147483648?-1:0-s|0;else F=s}else F=-1;while(0);do if((r|0)==108){s=l+1|0;r=a[(s&n)>>0]|0;if(r<<24>>24==108){r=l+2|0;l=r;r=a[(r&n)>>0]|0;s=1;break}else{l=s;r=r<<24>>24;s=0;break}}else s=0;while(0);v=0;while(1){o=48752+(v*6|0)|0;if((r|0)==(a[(o&n)>>0]|0)){r=o;o=v;U=46;break}v=v+1|0;if((v|0)>=23){L=48752;J=0;break}}if((U|0)==46){U=0;if(!(T|o>>>0<20))break;L=r;J=a[((o*6|0)&n)+48755>>0]|0}c:do switch(J&255|0){case 13:{s=c[(g&p)>>2]|0;e=c[(s&p)>>2]|0;c[(g&p)>>2]=s+4;s=c[(g&p)>>2]|0;r=c[(s&p)>>2]|0;c[(g&p)>>2]=s+4;s=c[(e+(r*72|0)&p)+12>>2]|0;if(s){o=s;while(1)if(!(a[(o&n)>>0]|0))break;else o=o+1|0;Sk(b,s,o-s&1073741823);Sk(b,28928,1)}o=c[(e+(r*72|0)&p)+16>>2]|0;if(!o)e=0;else{e=o;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;e=e-o&1073741823}Sk(b,o,e);y=f;r=0;e=0;s=0;break}case 14:{s=0;U=50;break}case 1:case 16:{U=50;break}case 4:case 3:case 2:{do if(!S){s=c[(Q&p)>>2]|0;if((c[(m&p)>>2]|0)>(s|0)){c[(Q&p)>>2]=s+1;t=+Ug(c[((c[(R&p)>>2]|0)+(s<<2)&p)>>2]|0);U=92;break}else{s=(F|0)<0?6:F;t=0.0;U=94;break}}else{U=c[(g&p)>>2]|0;c[(k&p)>>2]=c[(U&p)>>2];c[(k&p)+4>>2]=c[(U&p)+4>>2];t=+h[(k&q)>>3];c[(g&p)>>2]=U+8;U=92}while(0);if((U|0)==92){U=0;s=(F|0)<0?6:F;if(t<0.0){t=-t;K=45}else U=94}if((U|0)==94){U=0;if(!(A<<24>>24))K=y<<24>>24==0?0:32;else K=43}F=J<<24>>24==4;o=((F&(s|0)>0)<<31>>31)+s|0;s=o&4095;if(!s)u=.5;else{u=.5;do{s=s+-1|0;u=u*.1}while((s|0)>0)}E=J<<24>>24==2;if(E)t=t+u;h[(Z&q)>>3]=t;h[(_&q)>>3]=+h[(Z&q)>>3];if(+h[(Z&q)>>3]!=+h[(_&q)>>3]){y=48960;r=3;e=M;s=0}else{if(t>0.0){v=0;w=1.0;while(1){x=w*1.e+100;if(t>=x&(v|0)<351){v=v+100|0;w=x}else break}while(1){x=w*1.e+64;if(t>=x&(v|0)<351){v=v+64|0;w=x}else break}while(1){x=w*1.0e8;if(t>=x&(v|0)<351){v=v+8|0;w=x}else break}while(1){x=w*10.0;if((v|0)<351&t>=x){v=v+1|0;w=x}else break}t=t/w;if(t<1.0e-08)do{t=t*1.0e8;v=v+-8|0}while(t<1.0e-08);if(t<1.0)do{t=t*10.0;v=v+-1|0}while(t<1.0);if((v|0)>350){if(K<<24>>24==43)o=48976;else if(K<<24>>24==45)o=48968;else o=48984;f=o;while(1)if(!(a[(f&n)>>0]|0))break;else f=f+1|0;y=o;r=f-o&1073741823;e=M;s=0;break c}}else v=0;if(!E){t=u+t;if(!(t>=10.0))I=v;else{t=t*.1;I=v+1|0}}else I=v;if(F){s=(I|0)<-4|(o|0)<(I|0);F=C<<24>>24==0&1;o=o-(s?0:I)|0;s=s?3:2}else{F=z;s=J}H=s<<24>>24==3;f=H?0:I;v=(f|0)>0;s=jw(o|0,((o|0)<0)<<31>>31|0,M|0,((M|0)<0)<<31>>31|0)|0;v=jw(s|0,G|0,(v?f:0)|0,(v?((f|0)<0)<<31>>31:0)|0)|0;s=G;if((s|0)>0|(s|0)==0&v>>>0>55){v=jw(v|0,s|0,15,0)|0;v=qg(v,G)|0;if(!v){U=124;break a}else{y=v;J=v}}else{y=Y;J=0}v=((z&255)*10|0)+16|0;D=(z|C)&255|(o|0)>0;if(!(K<<24>>24))E=y;else{a[(y&n)>>0]=K;E=y+1|0}if((f|0)<0){a[(E&n)>>0]=48;e=2;s=E+1|0;A=f}else{C=~f;C=(C|0)>-1?C:-1;A=-2-C|0;C=f+C|0;r=E;while(1){if((v|0)<1)e=48;else{s=~~t;e=s+48&255;t=(t-+(s|0))*10.0;v=v+-1|0}a[(r&n)>>0]=e;if((f|0)>0){r=r+1|0;f=f+-1|0}else break}e=C+3|0;s=E+(C+2)|0}r=(D|0)==0;if(!r){a[(s&n)>>0]=46;s=E+e|0}if((A+1|0)<0){fw(s|0,48,~A|0)|0;s=s+~A|0;o=o+1+A|0}if((o|0)>0){e=s;f=o;while(1){f=f+-1|0;if((v|0)<1)A=48;else{E=~~t;A=E+48&255;t=(t-+(E|0))*10.0;v=v+-1|0}a[(e&n)>>0]=A;if((f|0)<=0)break;else e=e+1|0}s=s+o|0}d:do if(!(F<<24>>24==0|r)){while(1){r=s+-1|0;o=a[(r&n)>>0]|0;if(o<<24>>24==46)break;else if(o<<24>>24!=48)break d;a[(r&n)>>0]=0;s=r}if(!(z<<24>>24)){a[(r&n)>>0]=0;s=r;break}else{a[(s&n)>>0]=48;s=s+1|0;break}}while(0);if(H){r=s+1|0;a[(s&n)>>0]=a[((d[(L&n)+4>>0]|0)&n)+48912>>0]|0;o=s+2|0;if((I|0)<0){a[(r&n)>>0]=45;r=0-I|0}else{a[(r&n)>>0]=43;r=I}if((r|0)>99){a[(o&n)>>0]=((r|0)/100|0)+48;f=4;e=5;o=s+3|0;r=(r|0)%100|0}else{f=3;e=4}a[(o&n)>>0]=((r|0)/10|0)+48;a[(s+f&n)>>0]=((r|0)%10|0)+48;s=s+e|0}a[(s&n)>>0]=0;e=y;r=s-e|0;if(!(N<<24>>24==0&B<<24>>24!=0&(M|0)>(r|0))){e=M;s=J;break c}o=M-r|0;if((r|0)>=0){f=M;while(1){a[(y+f&n)>>0]=a[(y+(f-o)&n)>>0]|0;if((f|0)>(o|0))f=f+-1|0;else break}}if((M|0)==(r|0)){r=M;e=M;s=J;break c}fw(y+(K<<24>>24!=0&1)|0,48,M+e-s|0)|0;r=M;e=M;s=J}break}case 5:{if(S){r=c[(O&p)>>2]|0;e=c[(g&p)>>2]|0;y=c[(e&p)>>2]|0;c[(g&p)>>2]=e+4;c[(y&p)>>2]=r;y=f;r=0;e=0;s=0}else{y=f;r=0;e=0;s=0}break}case 8:{a[(Y&n)>>0]=37;y=Y;r=1;e=M;s=0;break}case 9:{if(!S){e=Uk(m)|0;if(!e)s=0;else s=a[(e&n)>>0]|0}else{J=c[(g&p)>>2]|0;s=c[(J&p)>>2]|0;c[(g&p)>>2]=J+4}if((F|0)>1){o=F+-1|0;e=M-o|0;if(!((e|0)<2|N<<24>>24!=0)){Vk(b,e+-1|0,32);e=0}f=s&255;Vk(b,o,f)}else{f=s&255;e=M}a[(Y&n)>>0]=f;y=Y;r=1;s=0;break}case 7:case 6:{if(P)o=Uk(m)|0;else{I=c[(g&p)>>2]|0;o=c[(I&p)>>2]|0;c[(g&p)>>2]=I+4}if(!o){f=10360;s=0}else{f=o;s=J<<24>>24!=7|P?0:o}if((F|0)>-1){if((F|0)>0)o=0;else{y=f;r=0;e=M;break c}while(1){r=o+1|0;if(!(a[(f+o&n)>>0]|0)){y=f;r=o;e=M;break c}if((r|0)<(F|0))o=r;else{y=f;e=M;break}}}else{if(!f){y=0;r=0;e=M;break c}else o=f;while(1)if(!(a[(o&n)>>0]|0))break;else o=o+1|0;y=f;r=o-f&1073741823;e=M;break c}break}case 15:case 11:case 10:{C=J<<24>>24==15?34:39;if(S){I=c[(g&p)>>2]|0;s=c[(I&p)>>2]|0;c[(g&p)>>2]=I+4}else s=Uk(m)|0;y=(s|0)==0;if(y)s=J<<24>>24==11?20304:48992;e:do if(!F){B=0;r=0}else{v=C&255;o=0;e=F;r=0;while(1){f=a[(s+o&n)>>0]|0;if(!(f<<24>>24)){B=o;break e}r=((f<<24>>24|0)==(v|0)&1)+r|0;o=o+1|0;e=e+-1|0;if(!e){B=o;break}}}while(0);z=J<<24>>24==11&(y^1);o=((z&1)<<1|1)+B+r|0;if((o|0)>70){r=qg(o,((o|0)<0)<<31>>31)|0;if(!r){U=197;break a}else{y=r;A=r}}else{y=Y;A=0}if(z){a[(y&n)>>0]=C;o=1}else o=0;if((B|0)>0){v=C&255;e=0;do{r=a[(s+e&n)>>0]|0;f=o+1|0;a[(y+o&n)>>0]=r;if((r<<24>>24|0)==(v|0)){a[(y+f&n)>>0]=r;o=o+2|0}else o=f;e=e+1|0}while((e|0)!=(B|0))}if(z){a[(y+o&n)>>0]=C;o=o+1|0}a[(y+o&n)>>0]=0;r=o;e=M;s=A;break}case 12:{J=c[(g&p)>>2]|0;e=c[(J&p)>>2]|0;c[(g&p)>>2]=J+4;if((e|0)!=0?(X=c[(e&p)+4>>2]|0,(X|0)!=0):0){Sk(b,c[(e&p)>>2]|0,X);y=f;r=0;e=0;s=0}else{y=f;r=0;e=0;s=0}break}default:break a}while(0);if((U|0)==50){U=0;do if(!(a[(L&n)+2>>0]&1)){if(P){f=Tk(m)|0;v=G;E=0;break}if(!(s<<24>>24)){v=c[(g&p)>>2]|0;f=c[(v&p)>>2]|0;c[(g&p)>>2]=v+4;v=0;E=0;break}else{E=c[(g&p)>>2]|0;v=E;f=c[(v&p)>>2]|0;v=c[(v&p)+4>>2]|0;c[(g&p)>>2]=E+8;E=0;break}}else{do if(!P)if(!(s<<24>>24)){r=c[(g&p)>>2]|0;s=c[(r&p)>>2]|0;c[(g&p)>>2]=r+4;r=((s|0)<0)<<31>>31;break}else{I=c[(g&p)>>2]|0;r=I;s=c[(r&p)>>2]|0;r=c[(r&p)+4>>2]|0;c[(g&p)>>2]=I+8;break}else{s=Tk(m)|0;r=G}while(0);if((r|0)<0){f=dw(0,0,s|0,r|0)|0;v=G;E=45;break}if(!(A<<24>>24)){f=s;v=r;E=y<<24>>24==0?0:32}else{f=s;v=r;E=43}}while(0);D=(f|0)==0&(v|0)==0;if(!(B<<24>>24))A=F;else{A=M-(E<<24>>24!=0&1)|0;A=(F|0)<(A|0)?A:F}if((A|0)>=60){s=A+10|0;r=qg(s,((s|0)<0)<<31>>31)|0;if(!r){U=69;break}else{e=s;s=r;o=r}}else{e=70;s=0;o=Y}B=o+(e+-1)|0;if(J<<24>>24==16){r=uw(f|0,v|0,10,0)|0;if(!(r>>>0<=3?(J=tw(f|0,v|0,10,0)|0,J=uw(J|0,G|0,10,0)|0,!((J|0)==1&(G|0)==0)):0))r=0;J=r<<1;a[(o+e+-2&n)>>0]=a[((J|1)&n)+48896>>0]|0;r=o+(e+-3)|0;a[(r&n)>>0]=a[(J&n)+48896>>0]|0}else r=B;e=d[(L&n)+4>>0]|0;y=d[(L&n)+1>>0]|0;while(1){J=uw(f|0,v|0,y|0,0)|0;o=r+-1|0;a[(o&n)>>0]=a[(J+e&n)+48912>>0]|0;f=tw(f|0,v|0,y|0,0)|0;v=G;if((f|0)==0&(v|0)==0)break;else r=o}f=A-B+o|0;if((f|0)>0){e=r;r=o;while(1){o=e+-2|0;a[(o&n)>>0]=48;f=f+-1|0;if((f|0)<=0)break;else{e=r;r=o}}}if(E<<24>>24){o=r+-2|0;a[(o&n)>>0]=E}if((!(D|C<<24>>24==0)?(V=a[(L&n)+5>>0]|0,V<<24>>24!=0):0)?(W=48952+(V&255)|0,!(V<<24>>24==3|V<<24>>24==6)):0){f=a[(W&n)>>0]|0;r=W;do{o=o+-1|0;a[(o&n)>>0]=f;r=r+1|0;f=a[(r&n)>>0]|0}while(f<<24>>24!=0)}y=o;r=B-o|0;e=M}o=e-r|0;f=(o|0)<1;if(!(f|N<<24>>24!=0))Vk(b,o,32);Sk(b,y,r);if(!(f|N<<24>>24==0))Vk(b,o,32);if(s)Wc(s);f=l+1|0;l=y}if((U|0)==10)Sk(b,48744,1);else if((U|0)==69){a[(b&n)+25>>0]=1;c[(b&p)+16>>2]=0}else if((U|0)==124){a[(b&n)+25>>0]=1;c[(b&p)+16>>2]=0}else if((U|0)==197){a[(b&n)+25>>0]=1;c[(b&p)+16>>2]=0}i=$;return}function tg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;f=b+8|0;d=c[(f&p)>>2]|0;do if(((d|0)!=0?(h=b+12|0,a[(d+(c[(h&p)>>2]|0)&n)>>0]=0,e=a[(b&n)+24>>0]|0,e<<24>>24!=0):0)?(g=b+4|0,(c[(f&p)>>2]|0)==(c[(g&p)>>2]|0)):0){if(e<<24>>24==1){d=(c[(h&p)>>2]|0)+1|0;d=mh(c[(b&p)>>2]|0,d,((d|0)<0)<<31>>31)|0}else d=Tc((c[(h&p)>>2]|0)+1|0)|0;c[(f&p)>>2]=d;if(!d){a[(b&n)+25>>0]=1;c[(b&p)+16>>2]=0;break}else{kw(d|0,c[(g&p)>>2]|0,(c[(h&p)>>2]|0)+1|0)|0;break}}while(0);return c[(f&p)>>2]|0}function ug(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();m=q;h=d+52|0;c[(h&p)>>2]=e;a:do if(!f){c[(h&p)>>2]=e;e=c[(d&p)+236>>2]|0;if(e){h=e+8|0;if(!(b[(h&o)>>1]&9312)){b[(h&o)>>1]=1;break}else{vg(e);break}}}else{l=d+236|0;do if(!(c[(l&p)>>2]|0)){h=mh(d,40,0)|0;if(!h){c[(l&p)>>2]=h;break a}else{e=h+0|0;k=e+40|0;do{a[(e&n)>>0]=0;e=e+1|0}while((e|0)<(k|0));b[(h&o)+8>>1]=1;c[(h&p)+32>>2]=d;c[(l&p)>>2]=h;break}}while(0);c[(m&p)>>2]=g;h=Wk(d,f,m)|0;e=c[(l&p)>>2]|0;if(e)Xg(e,h,-1,1,75)|0}while(0);i=q;return}function vg(a){a=a|0;var d=0,e=0;e=a+8|0;d=b[(e&o)>>1]|0;if(d&8192){Yk(a,c[(a&p)>>2]|0)|0;d=b[(e&o)>>1]|0}d=d&65535;do if(!(d&1024)){if(d&32){Zk(c[(a&p)>>2]|0);break}if(d&64){a=c[(a&p)>>2]|0;d=(c[(a&p)>>2]|0)+180|0;c[(a&p)+4>>2]=c[(d&p)>>2];c[(d&p)>>2]=a}}else cc[c[(a&p)+36>>2]&31](c[(a&p)+16>>2]|0);while(0);b[(e&o)>>1]=1;return}function wg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;e=Vh(b,d)|0;do if((e|0)==1){f=mh(a,536,0)|0;if(!f){ug(a,7,15776,g);e=0;break}fw(f|0,0,536)|0;c[(f&p)>>2]=b;if(!(_k(f)|0)){mg(a,c[(f&p)+4>>2]|0);Ch(f);mg(a,f);h=7;break}else{b=c[(f&p)+12>>2]|0;e=f+4|0;c[(g&p)>>2]=c[(e&p)>>2];ug(a,b,10344,g);mg(a,c[(e&p)>>2]|0);Ch(f);mg(a,f);e=0;break}}else h=7;while(0);do if((h|0)==7)if((e|0)<0){c[(g&p)>>2]=d;ug(a,1,47448,g);e=0;break}else{e=c[((c[(b&p)+16>>2]|0)+(e<<4)&p)+4>>2]|0;break}while(0);i=k;return e|0}function xg(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;k=c[(a&p)+4>>2]|0;c[(k&p)+4>>2]=c[(a&p)>>2];j=k+22|0;if(!(b[(j&o)>>1]&2)){if((f|0)<0)f=(c[(k&p)+32>>2]|0)-(c[(k&p)+36>>2]|0)|0;if(((d+-512|0)>>>0<65025?(d+-1&d|0)==0:0)?(c[(k&p)+32>>2]=d,h=k+80|0,i=c[(h&p)>>2]|0,(i|0)!=0):0){a=i+-4|0;c[(h&p)>>2]=a;$k(a);c[(h&p)>>2]=0}h=k+32|0;a=al(c[(k&p)>>2]|0,h,f)|0;c[(k&p)+36>>2]=(c[(h&p)>>2]|0)-(f&65535);if(g)b[(j&o)>>1]=e[(j&o)>>1]|0|2}else a=8;return a|0}function yg(f,g){f=f|0;g=g|0;var h=0,k=0,l=0,m=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,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;T=i;i=i+16|0;if((i|0)>=(j|0))fa();N=T;M=T+12|0;L=T+8|0;R=c[(f&p)+4>>2]|0;I=R+4|0;c[(I&p)>>2]=c[(f&p)>>2];O=f+8|0;l=a[(O&n)>>0]|0;do if(l<<24>>24!=2?(P=(g|0)!=0,l<<24>>24!=1|P):0){Q=R+22|0;l=b[(Q&o)>>1]|0;if(!((l&1)!=0&P)){if(P)if((a[(R&n)+20>>0]|0)!=2&(l&64)==0)S=8;else S=7;else if(!(l&64))S=8;else S=7;a:do if((S|0)==7){h=c[(R&p)+76>>2]|0;S=12}else if(((S|0)==8?(g|0)>1:0)?(k=c[(R&p)+72>>2]|0,(k|0)!=0):0)do{l=c[(k&p)>>2]|0;if((l|0)!=(f|0)){h=l;S=12;break a}k=c[(k&p)+12>>2]|0}while((k|0)!=0);while(0);if((S|0)==12?(c[(h&p)>>2]|0)!=0:0){h=262;break}h=bl(f,1,1)|0;if(!h){l=e[(Q&o)>>1]|0;b[(Q&o)>>1]=l&65527;K=R+44|0;if(!(c[(K&p)>>2]|0))b[(Q&o)>>1]=l|8;E=R+12|0;u=R+32|0;v=R+36|0;w=R+17|0;x=R+18|0;y=R+80|0;z=R+24|0;A=R+26|0;B=R+28|0;C=R+30|0;D=R+21|0;F=R+20|0;G=(g|0)>1;h=0;b:while(1){c:do if(!(c[(E&p)>>2]|0)){h=cl(c[(R&p)>>2]|0)|0;if(!h){h=dl(R,1,M,0)|0;if(!h){t=c[(M&p)>>2]|0;q=c[(t&p)+56>>2]|0;l=d[(q&n)+29>>0]<<16|d[(q&n)+28>>0]<<24|d[(q&n)+30>>0]<<8|d[(q&n)+31>>0];m=c[(R&p)>>2]|0;r=c[(m&p)+24>>2]|0;if((l|0)!=0?(Zv(q+24|0,q+92|0,4)|0)==0:0)s=l;else s=r;d:do if((s|0)>0){e:do if(!(Zv(q,44680,16)|0)){if((d[(q&n)+18>>0]|0)>2)b[(Q&o)>>1]=e[(Q&o)>>1]|1;l=a[(q&n)+19>>0]|0;if((l&255)<=2){do if(l<<24>>24==2){if(b[(Q&o)>>1]&16)break;c[(L&p)>>2]=0;h=el(m,L)|0;if(h){S=48;break e}if(c[(L&p)>>2]|0)break;if(!t){h=0;continue b}Bg(c[(t&p)+68>>2]|0);h=0;continue b}while(0);if(Zv(q+21|0,47408,3)|0){h=26;S=48;break}k=d[(q&n)+17>>0]<<16|d[(q&n)+16>>0]<<8;if((k+16777215&k|0)!=0|k>>>0>65536|k>>>0<257){h=26;S=48;break}m=d[(q&n)+20>>0]|0;l=k-m|0;if((k|0)==(c[(u&p)>>2]|0)){if((s|0)>(r|0)?(c[((c[(I&p)>>2]|0)&p)+24>>2]&65536|0)==0:0){c[(N&p)>>2]=55672;c[(N&p)+4>>2]=10788;bd(11,13600,N);h=11;S=48;break}if(l>>>0<480){h=26;S=48;break}c[(u&p)>>2]=k;c[(v&p)>>2]=l;a[(w&n)>>0]=(d[(q&n)+53>>0]<<16|d[(q&n)+52>>0]<<24|d[(q&n)+54>>0]<<8|d[(q&n)+55>>0]|0)!=0&1;a[(x&n)>>0]=(d[(q&n)+65>>0]<<16|d[(q&n)+64>>0]<<24|d[(q&n)+66>>0]<<8|d[(q&n)+67>>0]|0)!=0&1;break d}if(t)Bg(c[(t&p)+68>>2]|0);c[(v&p)>>2]=l;c[(u&p)>>2]=k;l=c[(y&p)>>2]|0;if(l){h=l+-4|0;c[(y&p)>>2]=h;$k(h);c[(y&p)>>2]=0}h=al(c[(R&p)>>2]|0,u,m)|0}else{h=26;S=48}}else{h=26;S=48}while(0);if((S|0)==48){S=0;if(t)Bg(c[(t&p)+68>>2]|0);c[(E&p)>>2]=0}if(!h){h=0;continue b}else{S=77;break c}}else l=c[(v&p)>>2]|0;while(0);h=((((l<<6)+-768|0)>>>0)/255|0)+65513|0;k=h&65535;b[(z&o)>>1]=k;m=((((l<<5)+-384|0)>>>0)/255|0)+65513&65535;b[(A&o)>>1]=m;b[(B&o)>>1]=l+65501;b[(C&o)>>1]=m;a[(D&n)>>0]=(k&65535)>127?127:h&255;c[(E&p)>>2]=t;c[(K&p)>>2]=s;h=0;continue b}else l=0}else l=0}else{f:do if((h|0)==0&P){if(b[(Q&o)>>1]&1){h=8;S=77;break c}s=c[(R&p)>>2]|0;h=c[(s&p)+40>>2]|0;g:do if(!h){a[(s&n)+21>>0]=(a[((c[(f&p)>>2]|0)&n)+64>>0]|0)==2&1;t=s+16|0;if((a[(t&n)>>0]|0)==1){m=s+208|0;l=c[(m&p)>>2]|0;do if(!l){h=fl(s,2)|0;h:do if((h|0)==0&G){l=s+176|0;k=s+180|0;while(1){h=fl(s,4)|0;if((h|0)!=5)break h;if(!(lc[c[(l&p)>>2]&127](c[(k&p)>>2]|0)|0)){h=5;break g}}}while(0);if(h)break g}else{do if(a[(s&n)+4>>0]|0){if(a[(l&n)+43>>0]|0)break;h=fl(s,4)|0;if(h)break g;l=c[(m&p)>>2]|0;k=l+43|0;if(!(a[(k&n)>>0]|0)){h=c[(l&p)+4>>2]|0;pc[c[((c[(h&p)>>2]|0)&p)+56>>2]&31](h,(b[(l&o)+40>>1]|0)+3|0,1,5)|0;l=c[(m&p)>>2]|0}a[(k&n)>>0]=1}while(0);if(a[(l&n)+46>>0]|0){h=8;break g}k=l+43|0;if((a[(k&n)>>0]|0)==0?(H=c[(l&p)+4>>2]|0,H=pc[c[((c[(H&p)>>2]|0)&p)+56>>2]&31](H,0,1,10)|0,(H|0)!=0):0){h=H;break g}h=l+44|0;a[(h&n)>>0]=1;if(!(Zv(l+52|0,c[(c[(l&p)+32>>2]&p)>>2]|0,48)|0))break;if(!(a[(k&n)>>0]|0)){k=c[(l&p)+4>>2]|0;pc[c[((c[(k&p)>>2]|0)&p)+56>>2]&31](k,0,1,9)|0}a[(h&n)>>0]=0;h=517;break g}while(0);a[(t&n)>>0]=2;h=c[(s&p)+24>>2]|0;c[(s&p)+36>>2]=h;c[(s&p)+32>>2]=h;c[(s&p)+28>>2]=h;h=s+72|0;c[(h&p)>>2]=0;c[(h&p)+4>>2]=0}h=Cg(R)|0;break f}while(0);l=(h|0)==0;break c}while(0);if(!h){h=0;break b}else l=0}while(0);if((S|0)==77){S=0;l=(h|0)==0}if((a[(F&n)>>0]|0)==0?(J=c[(E&p)>>2]|0,(J|0)!=0):0){c[(E&p)>>2]=0;Bg(c[(J&p)+68>>2]|0)}if((h&255|0)!=5){S=86;break}if(a[(F&n)>>0]|0){S=86;break}if(!(gl(R)|0)){S=86;break}}if((S|0)==86)if(!l){S=96;break}if((a[(O&n)>>0]|0)==0?(H=R+40|0,c[(H&p)>>2]=(c[(H&p)>>2]|0)+1,(a[(f&n)+9>>0]|0)!=0):0){a[(f&n)+40>>0]=1;H=R+72|0;c[(f&p)+44>>2]=c[(H&p)>>2];c[(H&p)>>2]=f+32}l=P?2:1;a[(O&n)>>0]=l;if((l&255)>(d[(F&n)>>0]|0))a[(F&n)>>0]=l;if(P){l=c[(E&p)>>2]|0;c[(R&p)+76>>2]=f;k=e[(Q&o)>>1]|0;b[(Q&o)>>1]=G?k|32:k&65503;k=l+56|0;H=c[(k&p)>>2]|0;if((c[(K&p)>>2]|0)!=(d[(H&n)+29>>0]<<16|d[(H&n)+28>>0]<<24|d[(H&n)+30>>0]<<8|d[(H&n)+31>>0]|0)){h=Gg(c[(l&p)+68>>2]|0)|0;if(!h){h=c[(k&p)>>2]|0;S=c[(K&p)>>2]|0;a[(h&n)+28>>0]=S>>>24;a[(h&n)+29>>0]=S>>>16;a[(h&n)+30>>0]=S>>>8;a[(h&n)+31>>0]=S;h=0;S=96}}else S=96}}}else h=8}else{h=0;S=96}while(0);if((S|0)==96)if((h|0)==0&(g|0)!=0)h=hl(c[(R&p)>>2]|0,c[((c[(f&p)>>2]|0)&p)+496>>2]|0)|0;i=T;return h|0}function zg(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();u=y;w=y+8|0;c[(w&p)>>2]=0;t=h&1;a:do if(!f){c[(u&p)>>2]=46865;c[(u&p)+4>>2]=10788;bd(11,13600,u);k=11}else{a[(e&n)+23>>0]=1;h=c[(e&p)+40>>2]|0;do if(!h){s=e+204|0;h=c[(s&p)>>2]|0;h=ac[c[8876>>2]&63](c[(h&p)+40>>2]|0,f,d[(h&n)+29>>0]&3)|0;if(!h){m=c[(s&p)>>2]|0;if((a[(m&n)+29>>0]|0)!=2){l=m+8|0;h=c[(l&p)>>2]|0;b:do if(!h)x=11;else{while(1){if((b[(h&o)+26>>1]|0)==0?(b[(h&o)+24>>1]&4)==0:0)break;h=c[(h&p)+36>>2]|0;if(!h){x=11;break b}}c[(l&p)>>2]=h;r=h;x=14}while(0);c:do if((x|0)==11?(c[(l&p)>>2]=0,q=c[(m&p)+4>>2]|0,(q|0)!=0):0){h=q;do{if(!(b[(h&o)+26>>1]|0)){r=h;x=14;break c}h=c[(h&p)+36>>2]|0}while((h|0)!=0)}while(0);if((x|0)==14?(k=rc[c[(m&p)+32>>2]&127](c[(m&p)+36>>2]|0,r)|0,!((k|0)==0|(k|0)==5)):0)break;k=ac[c[8876>>2]&63](c[(m&p)+40>>2]|0,f,2)|0;if(!k){k=7;break}}else k=0}else k=h;m=il(c[(s&p)>>2]|0,f,k)|0;c[(g&p)>>2]=m;if(!m)k=7;else{h=m+16|0;k=(t|0)!=0;if(!((c[(h&p)>>2]|0)==0|k)){k=e+184|0;c[(k&p)>>2]=(c[(k&p)>>2]|0)+1;k=0;break a}c[(h&p)>>2]=e;do if((f|0)>=0?(v=e+152|0,(((c[2514]|0)/(c[(v&p)>>2]|0)|0)+1|0)!=(f|0)):0){if(((a[(e&n)+15>>0]|0)==0?!((c[(e&p)+24>>2]|0)>>>0<f>>>0|k):0)?(c[(c[(e&p)+60>>2]&p)>>2]|0)!=0:0){k=c[(e&p)+208>>2]|0;if(!k)k=0;else{k=kl(k,f,w)|0;if(k)break;k=c[(w&p)>>2]|0}v=e+188|0;c[(v&p)>>2]=(c[(v&p)>>2]|0)+1;k=ll(m,k)|0;if(!k){k=0;break a}else break}if((c[(e&p)+156>>2]|0)>>>0<f>>>0)k=13;else{if(k){k=c[3164]|0;if(k)nc[k&3]();if((c[(e&p)+28>>2]|0)>>>0>=f>>>0)bi(c[(e&p)+56>>2]|0,f)|0;jl(e,f)|0;k=c[3166]|0;if(k)nc[k&3]()}fw(c[(m&p)+4>>2]|0,0,c[(v&p)>>2]|0)|0;k=0;break a}}else x=21;while(0);if((x|0)==21){c[(u&p)>>2]=46945;c[(u&p)+4>>2]=10788;bd(11,13600,u);k=11}ml(m)}}else k=h;while(0);if((c[(e&p)+120>>2]|0)==0?(c[((c[(e&p)+204>>2]|0)&p)+12>>2]|0)==0:0)nl(e);c[(g&p)>>2]=0}while(0);i=y;return k|0}function Ag(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();x=y;v=b+4|0;r=c[((c[(v&p)>>2]|0)&p)+4>>2]|0;w=c[(r&p)>>2]|0;u=b+24|0;q=c[((c[((c[(u&p)>>2]|0)&p)+4>>2]|0)&p)+32>>2]|0;r=c[(r&p)+32>>2]|0;s=(q|0)<(r|0)?q:r;t=((q|0)<0)<<31>>31;m=sw(q|0,t|0,d|0,0)|0;o=G;if((q|0)==(r|0))b=0;else b=(a[(w&n)+15>>0]|0)==0?0:8;a:do if((b|0)==0&(q|0)>0){d=dw(m|0,o|0,q|0,t|0)|0;l=((r|0)<0)<<31>>31;k=(f|0)==0;h=G;b=r;while(1){c[(x&p)>>2]=0;f=qw(d|0,h|0,r|0,l|0)|0;if((f|0)!=(((c[2514]|0)>>>0)/(b>>>0)|0|0)){b=zg(w,f+1|0,x,0)|0;g=c[(x&p)>>2]|0;if(!b){b=Gg(g)|0;if(!b){z=rw(d|0,h|0,q|0,t|0)|0;f=c[(g&p)+4>>2]|0;b=rw(d|0,h|0,r|0,l|0)|0;kw(f+b|0,e+z|0,s|0)|0;a[(c[(g&p)+8>>2]&n)>>0]=0;if((d|0)==0&(h|0)==0&k){z=c[((c[((c[(u&p)>>2]|0)&p)+4>>2]|0)&p)+44>>2]|0;a[(f+b&n)+28>>0]=z>>>24;a[(f+b&n)+29>>0]=z>>>16;a[(f+b&n)+30>>0]=z>>>8;a[(f+b&n)+31>>0]=z;b=0}else b=0}}if(g)Bg(g)}else b=0;d=jw(d|0,h|0,r|0,l|0)|0;f=G;if(!((b|0)==0&((f|0)<(o|0)|(f|0)==(o|0)&d>>>0<m>>>0)))break a;h=f;b=c[((c[((c[(v&p)>>2]|0)&p)+4>>2]|0)&p)+32>>2]|0}}while(0);i=y;return b|0}function Bg(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)+16>>2]|0;if(!(b[(a&o)+24>>1]&64)){ol(a);a=c[(d&p)+120>>2]|0}else{f=d+120|0;e=(c[(f&p)>>2]|0)+-1|0;c[(f&p)>>2]=e;f=d+136|0;c[(a&p)+12>>2]=c[(f&p)>>2];c[(f&p)>>2]=a;a=e}if((a|0)==0?(c[((c[(d&p)+204>>2]|0)&p)+12>>2]|0)==0:0)nl(d);return}function Cg(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=d+44|0;if(!(c[(i&p)>>2]|0)){j=c[(d&p)+12>>2]|0;k=c[(j&p)+56>>2]|0;f=Gg(c[(j&p)+68>>2]|0)|0;if(!f){f=k+0|0;g=44680|0;h=f+16|0;do{a[(f&n)>>0]=a[(g&n)>>0]|0;f=f+1|0;g=g+1|0}while((f|0)<(h|0));f=d+32|0;a[(k&n)+16>>0]=(c[(f&p)>>2]|0)>>>8;a[(k&n)+17>>0]=(c[(f&p)>>2]|0)>>>16;a[(k&n)+18>>0]=1;a[(k&n)+19>>0]=1;a[(k&n)+20>>0]=(c[(f&p)>>2]|0)-(c[(d&p)+36>>2]|0);a[(k&n)+21>>0]=64;a[(k&n)+22>>0]=32;a[(k&n)+23>>0]=32;f=k+24|0;h=f+76|0;do{a[(f&n)>>0]=0;f=f+1|0}while((f|0)<(h|0));pl(j,13);f=d+22|0;b[(f&o)>>1]=e[(f&o)>>1]|0|2;f=a[(d&n)+17>>0]|0;a[(k&n)+52>>0]=0;a[(k&n)+53>>0]=0;a[(k&n)+54>>0]=0;a[(k&n)+55>>0]=f;f=a[(d&n)+18>>0]|0;a[(k&n)+64>>0]=0;a[(k&n)+65>>0]=0;a[(k&n)+66>>0]=0;a[(k&n)+67>>0]=f;c[(i&p)>>2]=1;a[(k&n)+31>>0]=1;f=0}}else f=0;return f|0}function Dg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=c[(b&p)+4>>2]|0;c[(g&p)+4>>2]=c[(b&p)>>2];b=c[(g&p)+12>>2]|0;f=c[(b&p)+56>>2]|0;b=Gg(c[(b&p)+68>>2]|0)|0;if((b|0)==0?(i=d<<2,a[(f+i&n)+36>>0]=e>>>24,a[(f+i&n)+37>>0]=e>>>16,a[(f+i&n)+38>>0]=e>>>8,h=e&255,a[(f+i&n)+39>>0]=h,(d|0)==7):0)a[(g&n)+18>>0]=h;return b|0}function Eg(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;h=a+20|0;b=c[(h&p)>>2]|0;d=(b|0)>0;if(d){e=c[(a&p)+16>>2]|0;g=0;do{f=c[(e+(g<<4)&p)+4>>2]|0;if(f)c[((c[(f&p)+4>>2]|0)&p)+4>>2]=c[(f&p)>>2];g=g+1|0}while((g|0)!=(b|0));if(d){g=a+16|0;f=0;do{d=c[((c[(g&p)>>2]|0)+(f<<4)&p)+12>>2]|0;if(d){ql(d);b=c[(h&p)>>2]|0}f=f+1|0}while((f|0)<(b|0))}}b=a+24|0;c[(b&p)>>2]=c[(b&p)>>2]&-3;rl(a);sl(a);return}function Fg(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;h=c[(d&p)+4>>2]|0;k=h+22|0;g=e[(k&o)>>1]|0;b[(k&o)>>1]=(f|0)==1?g|16:g&65519;g=yg(d,0)|0;do if(!g){h=h+12|0;i=c[((c[(h&p)>>2]|0)&p)+56>>2]|0;j=i+18|0;g=a[(j&n)>>0]|0;f=f&255;if(g<<24>>24==f<<24>>24?(a[(i&n)+19>>0]|0)==g<<24>>24:0){g=0;break}g=yg(d,2)|0;if(!g){g=Gg(c[((c[(h&p)>>2]|0)&p)+68>>2]|0)|0;if(!g){a[(j&n)>>0]=f;a[(i&n)+19>>0]=f;g=0}}}while(0);b[(k&o)>>1]=e[(k&o)>>1]&65519;return g|0}function Gg(a){a=a|0;var b=0;b=c[(a&p)+16>>2]|0;if((c[(b&p)+148>>2]|0)>>>0>(c[(b&p)+152>>2]|0)>>>0)a=tl(a)|0;else a=ul(a)|0;return a|0}function Hg(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;if((i|0)>=(j|0))fa();u=A+16|0;v=A;k=A+12|0;m=A+8|0;g=c[(b&p)+40>>2]|0;a:do if(!g){z=b+16|0;if((d[(z&n)>>0]|0)>=3){b:do if(!(a[(b&n)+15>>0]|0)){if(c[(b&p)+208>>2]|0){l=b+204|0;h=vl(c[(l&p)>>2]|0)|0;c[(m&p)>>2]=0;if(!h){g=zg(b,1,m,0)|0;h=c[(m&p)>>2]|0;c[(h&p)+12>>2]=0;if(h){k=h;y=9}}else{k=0;y=9}if((y|0)==9){g=wl(b,h,c[(b&p)+24>>2]|0,1)|0;if(k)Bg(k)}if(g)break a;h=c[(l&p)>>2]|0;g=c[(h&p)>>2]|0;if(!g)break;while(1){xl(g);g=c[(h&p)>>2]|0;if(!g)break b}}l=b+18|0;if((a[(l&n)>>0]|0)==0?(c[(b&p)+24>>2]|0)!=0:0){g=zg(b,1,k,0)|0;k=c[(k&p)>>2]|0;if(!g){g=Gg(k)|0;if(!g){yl(k);a[(l&n)>>0]=1;g=0}}if(k)Bg(k);if(g)break a}if(((e|0)!=0?(a[(b&n)+5>>0]|0)!=4:0)?(x=b+64|0,t=c[(x&p)>>2]|0,(c[(t&p)>>2]|0)!=0):0){a[(b&n)+19>>0]=1;k=a[(e&n)>>0]|0;if(!(k<<24>>24)){l=0;h=0}else{l=0;h=0;do{l=(k<<24>>24)+l|0;h=h+1|0;k=a[(e+h&n)>>0]|0}while(k<<24>>24!=0)}s=b+72|0;g=s;k=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;if(!(a[(b&n)+8>>0]|0))m=g;else{if((k|0)==0&(g|0)==0){k=0;g=0}else{g=jw(k|0,g|0,-1,-1)|0;k=c[(b&p)+148>>2]|0;g=qw(g|0,G|0,k|0,0)|0;g=jw(g|0,G|0,1,0)|0;k=sw(g|0,G|0,k|0,0)|0;g=G}m=s;c[(m&p)>>2]=k;c[(m&p)+4>>2]=g;m=g}g=((c[2514]|0)/(c[(b&p)+152>>2]|0)|0)+1|0;a[(u&n)>>0]=g>>>24;o=u+1|0;a[(o&n)>>0]=g>>>16;q=u+2|0;a[(q&n)>>0]=g>>>8;r=u+3|0;a[(r&n)>>0]=g;g=tc[c[((c[(t&p)>>2]|0)&p)+12>>2]&31](t,u,4,k,m)|0;if(g)break a;g=c[(x&p)>>2]|0;m=jw(k|0,m|0,4,0)|0;k=G;g=tc[c[((c[(g&p)>>2]|0)&p)+12>>2]&31](g,e,h,m,k)|0;if(g)break a;g=c[(x&p)>>2]|0;m=jw(m|0,k|0,h|0,((h|0)<0)<<31>>31|0)|0;k=G;a[(u&n)>>0]=h>>>24;a[(o&n)>>0]=h>>>16;a[(q&n)>>0]=h>>>8;a[(r&n)>>0]=h;g=tc[c[((c[(g&p)>>2]|0)&p)+12>>2]&31](g,u,4,m,k)|0;if(g)break a;t=c[(x&p)>>2]|0;g=jw(m|0,k|0,4,0)|0;a[(u&n)>>0]=l>>>24;a[(o&n)>>0]=l>>>16;a[(q&n)>>0]=l>>>8;a[(r&n)>>0]=l;g=tc[c[((c[(t&p)>>2]|0)&p)+12>>2]&31](t,u,4,g,G)|0;if(g)break a;t=c[(x&p)>>2]|0;g=jw(m|0,k|0,8,0)|0;g=tc[c[((c[(t&p)>>2]|0)&p)+12>>2]&31](t,14808,8,g,G)|0;if(g)break a;t=h+20|0;g=s;t=jw(c[(g&p)>>2]|0,c[(g&p)+4>>2]|0,t|0,((t|0)<0)<<31>>31|0)|0;g=s;c[(g&p)>>2]=t;c[(g&p)+4>>2]=G;g=c[(x&p)>>2]|0;g=rc[c[((c[(g&p)>>2]|0)&p)+24>>2]&127](g,v)|0;if(g)break a;t=v;r=c[(t&p)+4>>2]|0;g=s;h=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;if((r|0)>(g|0)|((r|0)==(g|0)?(c[(t&p)>>2]|0)>>>0>h>>>0:0)?(w=c[(x&p)>>2]|0,w=ac[c[((c[(w&p)>>2]|0)&p)+16>>2]&63](w,h,g)|0,(w|0)!=0):0){g=w;break a}}g=zl(b,0)|0;if(g)break a;h=b+204|0;g=Al(b,vl(c[(h&p)>>2]|0)|0)|0;if(g)break a;g=c[(h&p)>>2]|0;h=c[(g&p)>>2]|0;if(h)do{xl(h);h=c[(g&p)>>2]|0}while((h|0)!=0);h=c[(b&p)+24>>2]|0;if(h>>>0>(c[(b&p)+32>>2]|0)>>>0){g=Bl(b,h-((h|0)==(((c[2514]|0)/(c[(b&p)+152>>2]|0)|0)+1|0)&1)|0)|0;if(!(g|f))y=46}else if(!f)y=46;else break;if((y|0)==46)g=Ig(b,e)|0;if(g)break a}else{g=c[(b&p)+88>>2]|0;if(g)do{c[(g&p)+16>>2]=1;g=c[(g&p)+44>>2]|0}while((g|0)!=0)}while(0);if(!(c[(b&p)+208>>2]|0)){a[(z&n)>>0]=5;g=0}else g=0}else g=0}while(0);i=A;return g|0}function Ig(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0;g=b+60|0;h=c[(g&p)>>2]|0;i=c[(h&p)>>2]|0;if(!((i|0)!=0?(f=ac[c[(i&p)+40>>2]&63](h,21,e)|0,!((f|0)==0|(f|0)==12)):0))if(!(a[(b&n)+7>>0]|0)){f=c[(g&p)>>2]|0;f=rc[c[((c[(f&p)>>2]|0)&p)+20>>2]&127](f,d[(b&n)+11>>0]|0)|0}else f=0;return f|0}function Jg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;g=a[(b&n)+8>>0]|0;do if(!(g<<24>>24))f=0;else{k=c[(b&p)+4>>2]|0;c[(k&p)+4>>2]=c[(b&p)>>2];if(g<<24>>24==2){h=c[(k&p)>>2]|0;i=h+40|0;g=c[(i&p)>>2]|0;do if(!g){g=h+16|0;if(((a[(g&n)>>0]|0)==2?(a[(h&n)+4>>0]|0)!=0:0)?(a[(h&n)+5>>0]|0)==1:0){a[(g&n)>>0]=1;break}f=h+100|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=Cl(h,d[(h&n)+19>>0]|0,1)|0;h=f&255;if((h|0)==10|(h|0)==13){c[(i&p)>>2]=f;a[(g&n)>>0]=6;j=10}else j=10}else{f=g;j=10}while(0);if((j|0)==10?(f|0)!=0&(e|0)==0:0)break;f=b+20|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;a[(k&n)+20>>0]=1;f=k+60|0;ei(c[(f&p)>>2]|0);c[(f&p)>>2]=0}Dl(b);f=0}while(0);return f|0}function Kg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();h=s;a:do if((a[(b&n)+8>>0]|0)==2){r=c[(b&p)+4>>2]|0;c[(r&p)+4>>2]=c[(b&p)>>2];do if(a[(r&n)+17>>0]|0){q=c[(r&p)>>2]|0;f=r+8|0;b=c[(f&p)>>2]|0;if(b)do{o=b+72|0;a[(o&n)>>0]=d[(o&n)>>0]&251;b=c[(b&p)+8>>2]|0}while((b|0)!=0);if(!(a[(r&n)+18>>0]|0)){o=r+44|0;g=c[(o&p)>>2]|0;if(g>>>0<2)b=0;else{b=g+-2|0;b=b-((b>>>0)%(((((c[(r&p)+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;b=((b+1|0)==(((c[2514]|0)>>>0)/((c[(r&p)+32>>2]|0)>>>0)|0|0)?3:2)+b|0}if((b|0)!=(g|0)?(g|0)!=((((c[2514]|0)>>>0)/((c[(r&p)+32>>2]|0)>>>0)|0)+1|0):0){k=r+12|0;l=c[((c[(k&p)>>2]|0)&p)+56>>2]|0;l=d[(l&n)+37>>0]<<16|d[(l&n)+36>>0]<<24|d[(l&n)+38>>0]<<8|d[(l&n)+39>>0];m=El(r,g,l)|0;if(m>>>0>g>>>0){c[(h&p)>>2]=56396;c[(h&p)+4>>2]=10788;bd(11,13600,h);b=11;break a}b:do if(m>>>0<g>>>0){b=c[(f&p)>>2]|0;c:do if(b){while(1){if(b)break;b=c[2]|0;if(!b)break c}b=Fl(b,0,0)|0;if(b){f=0;break b}}while(0);do{b=Gl(r,m,g,1)|0;g=g+-1|0;f=(b|0)==0}while(g>>>0>m>>>0&f)}else{f=1;b=0}while(0);if(((b|0)==101|f)&(l|0)!=0){b=Gg(c[((c[(k&p)>>2]|0)&p)+68>>2]|0)|0;l=(c[((c[(k&p)>>2]|0)&p)+56>>2]|0)+32|0;a[(l&n)>>0]=0;a[(l&n)+1>>0]=0;a[(l&n)+2>>0]=0;a[(l&n)+3>>0]=0;l=(c[((c[(k&p)>>2]|0)&p)+56>>2]|0)+36|0;a[(l&n)>>0]=0;a[(l&n)+1>>0]=0;a[(l&n)+2>>0]=0;a[(l&n)+3>>0]=0;l=c[((c[(k&p)>>2]|0)&p)+56>>2]|0;a[(l&n)+28>>0]=m>>>24;a[(l&n)+29>>0]=m>>>16;a[(l&n)+30>>0]=m>>>8;a[(l&n)+31>>0]=m;a[(r&n)+19>>0]=1;c[(o&p)>>2]=m}if(!b)break;Hl(q)|0;break a}c[(h&p)>>2]=56391;c[(h&p)+4>>2]=10788;bd(11,13600,h);b=11;break a}}while(0);b=c[(r&p)>>2]|0;if(a[(r&n)+19>>0]|0)c[(b&p)+24>>2]=c[(r&p)+44>>2];b=Hg(b,e,0)|0}else b=0;while(0);i=s;return b|0}function Lg(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();h=m;l=c[(b&p)+4>>2]|0;c[(l&p)+4>>2]=c[(b&p)>>2];a:do if(!e){e=c[(l&p)+8>>2]|0;if(e){while(1){if(e)break;e=c[2]|0;if(!e)break a}e=Fl(e,0,0)|0;g=(e|0)==0;if(!g){g=g?f:0;k=6}}}else{g=f;k=6}while(0);if((k|0)==6)Il(b,e,g)|0;if((a[(b&n)+8>>0]|0)==2){Hl(c[(l&p)>>2]|0)|0;if(!(dl(l,1,h,0)|0)){e=c[(h&p)>>2]|0;g=c[(e&p)+56>>2]|0;g=d[(g&n)+29>>0]<<16|d[(g&n)+28>>0]<<24|d[(g&n)+30>>0]<<8|d[(g&n)+31>>0];if(!g)g=c[((c[(l&p)>>2]|0)&p)+24>>2]|0;c[(l&p)+44>>2]=g;if(e)Bg(c[(e&p)+68>>2]|0)}a[(l&n)+20>>0]=1;g=l+60|0;ei(c[(g&p)>>2]|0);c[(g&p)>>2]=0}Dl(b);i=m;return}function Mg(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=d+76|0;if((c[(j&p)>>2]|0)==1691352191?(Jl(d)|0)==0:0){Kl(d,0);Ll(d);i=d+20|0;k=d+16|0;e=c[(k&p)>>2]|0;if((c[(i&p)>>2]|0)>0){h=0;do{g=e+(h<<4)+4|0;f=c[(g&p)>>2]|0;if((f|0)!=0?(Ml(f),c[(g&p)>>2]=0,(h|0)!=1):0)c[(e+(h<<4)&p)+12>>2]=0;h=h+1|0;e=c[(k&p)>>2]|0}while((h|0)<(c[(i&p)>>2]|0))}e=c[(e&p)+28>>2]|0;if(e)ql(e);rl(d);sl(d);h=0;do{e=c[(d+(h<<2)&p)+336>>2]|0;if(e)do{g=e;e=c[(e&p)+28>>2]|0;if(g)do{Nl(d,g);f=g;g=c[(g&p)+8>>2]|0;mg(d,f)}while((g|0)!=0)}while((e|0)!=0);h=h+1|0}while((h|0)!=23);f=d+428|0;e=c[(d&p)+436>>2]|0;if(e)do{h=c[(e&p)+8>>2]|0;g=c[(h&p)+16>>2]|0;if(g)cc[g&31](c[(h&p)+8>>2]|0);g=c[(h&p)+36>>2]|0;if(g)cc[g&31](c[(h&p)+28>>2]|0);g=c[(h&p)+56>>2]|0;if(g)cc[g&31](c[(h&p)+48>>2]|0);mg(d,h);e=c[(e&p)>>2]|0}while((e|0)!=0);Ol(f);h=d+308|0;e=c[(d&p)+316>>2]|0;if(e)do{g=c[(e&p)+8>>2]|0;f=c[(g&p)+12>>2]|0;if(f)cc[f&31](c[(g&p)+8>>2]|0);mg(d,g);e=c[(e&p)>>2]|0}while((e|0)!=0);Ol(h);c[(d&p)+52>>2]=0;f=d+236|0;e=c[(f&p)>>2]|0;do if(e){g=e+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(e);e=c[(f&p)>>2]|0;break}}else e=0;while(0);Mh(e);g=d+168|0;if((c[(g&p)>>2]|0)>0){e=d+172|0;f=0;do{h=c[(d&p)>>2]|0;jc[c[(h&p)+52>>2]&15](h,c[((c[(e&p)>>2]|0)+(f<<2)&p)>>2]|0);f=f+1|0}while((f|0)<(c[(g&p)>>2]|0))}else e=d+172|0;mg(d,c[(e&p)>>2]|0);c[(j&p)>>2]=-1254786768;mg(d,c[((c[(k&p)>>2]|0)&p)+28>>2]|0);c[(j&p)>>2]=-1623446221;if(a[(d&n)+251>>0]|0)Wc(c[(d&p)+276>>2]|0);Wc(d)}return}function Ng(a){a=a|0;var b=0;b=c[(a&p)+40>>2]|0;if((b|0)==1369188723|(b|0)==-1108210269)b=Pg(a)|0;else b=0;Pl(a);return b|0}function Og(b,d){b=b|0;d=d|0;do if(b)if((a[(b&n)+65>>0]|0)!=0|(d|0)==3082){Ql(b);b=7;break}else{b=c[(b&p)+56>>2]&d;break}else b=d&255;while(0);return b|0}function Pg(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,k=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();e=g;f=c[(a&p)>>2]|0;Rl(a)|0;if((c[(a&p)+76>>2]|0)>-1){hh(a)|0;d=a+44|0;mg(f,c[(d&p)>>2]|0);c[(d&p)>>2]=0;d=a+88|0;e=b[(d&o)>>1]|0;if(e&16)b[(d&o)>>1]=e|8}else{d=c[(a&p)+80>>2]|0;if((d|0)!=0?(b[(a&o)+88>>1]&8)!=0:0){h=a+44|0;k=c[(h&p)>>2]|0;c[(e&p)>>2]=k;ug(f,d,(k|0)!=0?10344:0,e);mg(f,c[(h&p)>>2]|0);c[(h&p)>>2]=0}}d=a+44|0;mg(c[(a&p)>>2]|0,c[(d&p)>>2]|0);c[(d&p)>>2]=0;c[(a&p)+20>>2]=0;d=a+136|0;c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;c[(a&p)+40>>2]=649915045;i=g;return c[(f&p)+56>>2]&c[(a&p)+80>>2]|0}function Qg(a){a=a|0;var d=0;if(b[(a&o)+8>>1]&9312)vg(a);d=a+24|0;if(c[(d&p)>>2]|0){mg(c[(a&p)+32>>2]|0,c[(a&p)+20>>2]|0);c[(d&p)>>2]=0}c[(a&p)+16>>2]=0;return}function Rg(a){a=a|0;var d=0,f=0,g=0;d=a+8|0;if(b[(d&o)>>1]&16384){f=a+12|0;g=(c[(a&p)>>2]|0)+(c[(f&p)>>2]|0)|0;if(!(eh(a,(g|0)<1?1:g,1)|0)){fw((c[(a&p)+16>>2]|0)+(c[(f&p)>>2]|0)|0,0,c[(a&p)>>2]|0)|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+(c[(a&p)>>2]|0);b[(d&o)>>1]=(e[(d&o)>>1]|0)&48639;d=0}else d=7}else d=0;return d|0}function Sg(d,e){d=d|0;e=e|0;var f=0;do if(d){f=b[(d&o)+8>>1]|0;if((f&514)==514?(a[(d&n)+10>>0]|0)==e<<24>>24:0){f=c[(d&p)+16>>2]|0;break}if(!(f&1))f=Sl(d,e)|0;else f=0}else f=0;while(0);return f|0}function Tg(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;e=a+8|0;f=b[(e&o)>>1]|0;if(!(f&16))if(!(Sg(a,d)|0))e=0;else{f=b[(e&o)>>1]|0;g=4}else g=4;if((g|0)==4){e=c[(a&p)+12>>2]|0;if(f&16384)e=(c[(a&p)>>2]|0)+e|0}return e|0}function Ug(b){b=b|0;var d=0.0,f=0,g=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;f=e[(b&o)+8>>1]|0;do if(!(f&8)){if(f&4){f=b;d=+((c[(f&p)>>2]|0)>>>0)+4294967296.0*+(c[(f&p)+4>>2]|0);break}if(!(f&18))d=0.0;else{h[(g&q)>>3]=0.0;Tl(c[(b&p)+16>>2]|0,g,c[(b&p)+12>>2]|0,a[(b&n)+10>>0]|0)|0;d=+h[(g&q)>>3]}}else d=+h[(b&q)>>3];while(0);i=k;return +d}function Vg(b){b=b|0;var d=0.0,f=0,g=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;f=e[(b&o)+8>>1]|0;do if(!(f&4)){if(!(f&8)){if(!(f&18)){b=0;f=0;break}f=g;c[(f&p)>>2]=0;c[(f&p)+4>>2]=0;Ul(c[(b&p)+16>>2]|0,g,c[(b&p)+12>>2]|0,a[(b&n)+10>>0]|0)|0;f=g;b=c[(f&p)+4>>2]|0;f=c[(f&p)>>2]|0;break}d=+h[(b&q)>>3];if(!(d<=-9223372036854775808.0))if(!(d>=9223372036854775808.0)){b=+R(d)>=1.0?(d>0.0?~~+da(+Q(d/4294967296.0),4294967295.0)>>>0:~~+ba((d-+(~~d>>>0))/4294967296.0)>>>0):0;f=~~d>>>0}else{b=2147483647;f=-1}else{b=-2147483648;f=0}}else{f=b;b=c[(f&p)+4>>2]|0;f=c[(f&p)>>2]|0}while(0);G=b;i=k;return f|0}function Wg(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;if((Xg(c[(b&p)>>2]|0,d,e,f,g)|0)==18){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,10096,-1,1,0)|0}return}function Xg(d,f,g,h,i){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0;a:do if(!f){j=d+8|0;if(!(b[(j&o)>>1]&9312)){b[(j&o)>>1]=1;j=0;break}else{vg(d);j=0;break}}else{r=d+32|0;j=c[(r&p)>>2]|0;if(!j)u=1e9;else u=c[(j&p)+88>>2]|0;t=h<<24>>24==0;q=t?16:2;if((g|0)<0){b:do if(h<<24>>24!=1)if((u|0)<0)k=0;else{g=0;while(1){k=g+2|0;if(!((a[(f+(g|1)&n)>>0]|a[(f+g&n)>>0])<<24>>24)){k=g;break b}if((k|0)>(u|0))break;else g=k}}else{k=f;while(1)if(!(a[(k&n)>>0]|0))break;else k=k+1|0;k=k-f&1073741823;k=(k|0)>(u|0)?u+1|0:k}while(0);s=k;m=(q&65535|512)&65535}else{s=g;m=q}do if((i|0)==(-1|0)){if(!(m&512))j=s;else j=s+(h<<24>>24==1?1:2)|0;if((s|0)>(u|0)){j=18;break a}if(fh(d,(j|0)>32?j:32)|0){j=7;break a}kw(c[(d&p)+16>>2]|0,f|0,j|0)|0;q=d+8|0;j=m}else{g=(i|0)==75;l=d+8|0;if(!((b[(l&o)>>1]&9312)==0?(c[(d&p)+24>>2]|0)==0:0))Qg(d);c[(d&p)+16>>2]=f;if(!g){c[(d&p)+36>>2]=i;q=l;j=(m&65535|((i|0)==0?2048:1024))&65535;break}c[(d&p)+20>>2]=f;j=c[(r&p)>>2]|0;do if(!j)j=lc[c[8792>>2]&127](f)|0;else{if((c[(j&p)+276>>2]|0)>>>0<=f>>>0?(c[(j&p)+280>>2]|0)>>>0>f>>>0:0){j=e[(j&o)+248>>1]|0;break}j=lc[c[8792>>2]&127](f)|0}while(0);c[(d&p)+24>>2]=j;q=l;j=m}while(0);m=d+12|0;c[(m&p)>>2]=s;b[(q&o)>>1]=j;f=t?1:h;l=d+10|0;a[(l&n)>>0]=f;do if(f<<24>>24!=1&(s|0)>1){g=d+16|0;k=c[(g&p)>>2]|0;j=a[(k&n)>>0]|0;k=a[(k&n)+1>>0]|0;if(!(j<<24>>24==-1&k<<24>>24==-2))if(k<<24>>24!=-1|j<<24>>24!=-2)break;else j=3;else j=2;if(Vl(d)|0){j=7;break a}f=(c[(m&p)>>2]|0)+-2|0;c[(m&p)>>2]=f;i=c[(g&p)>>2]|0;lw(i|0,i+2|0,f|0)|0;a[((c[(g&p)>>2]|0)+(c[(m&p)>>2]|0)&n)>>0]=0;a[((c[(g&p)>>2]|0)+(c[(m&p)>>2]|0)&n)+1>>0]=0;b[(q&o)>>1]=e[(q&o)>>1]|512;a[(l&n)>>0]=j}while(0);j=(s|0)>(u|0)?18:0}while(0);return j|0}function Yg(a,c){a=a|0;c=+c;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();e=g+8|0;f=g;d=a+8|0;if(!(b[(d&o)>>1]&9312))b[(d&o)>>1]=1;else vg(a);h[(e&q)>>3]=c;h[(f&q)>>3]=+h[(e&q)>>3];if(!(+h[(e&q)>>3]!=+h[(f&q)>>3])){h[(a&q)>>3]=c;b[(d&o)>>1]=8}i=g;return}function Zg(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;f=a+8|0;if(!(b[(f&o)>>1]&9312))b[(f&o)>>1]=1;else vg(a);c[(a&p)>>2]=d;c[(a&p)+4>>2]=e;b[(f&o)>>1]=4;return}function _g(a,d){a=a|0;d=d|0;var f=0,g=0,h=0;f=a+8|0;if(b[(f&o)>>1]&9312)vg(a);c[(a&p)>>2]=c[(d&p)>>2];c[(a&p)+4>>2]=c[(d&p)+4>>2];c[(a&p)+8>>2]=c[(d&p)+8>>2];c[(a&p)+12>>2]=c[(d&p)+12>>2];c[(a&p)+16>>2]=c[(d&p)+16>>2];h=e[(f&o)>>1]|0;g=h&64511;b[(f&o)>>1]=g;if((h&18|0)!=0?(b[(d&o)+8>>1]&2048)==0:0){b[(f&o)>>1]=g|4096;f=Vl(a)|0}else f=0;return f|0}function $g(d,e){d=d|0;e=e|0;var f=0;f=d+8|0;if(!((b[(f&o)>>1]&9312)==0?(c[(d&p)+24>>2]|0)==0:0))Qg(d);b[(f&o)>>1]=16400;c[(d&p)+12>>2]=0;c[(d&p)>>2]=(e|0)<0?0:e;a[(d&n)+10>>0]=1;c[(d&p)+16>>2]=0;return}function ah(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();b=d;if(a)if(!(c[(a&p)>>2]|0)){bd(21,47360,b);a=1}else a=0;else{bd(21,47320,b);a=1}i=d;return a|0}function bh(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0.0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;if((c[(a&p)>>2]|0)>1?(d=c[(a&p)+72>>2]|0,(d|0)!=0):0)d=rc[d&127](a,b)|0;else{d=rc[c[(a&p)+64>>2]&127](a,e)|0;g=+h[(e&q)>>3]*864.0e5;a=+R(g)>=1.0?(g>0.0?~~+da(+Q(g/4294967296.0),4294967295.0)>>>0:~~+ba((g-+(~~g>>>0))/4294967296.0)>>>0):0;c[(b&p)>>2]=~~g>>>0;c[(b&p)+4>>2]=a}i=f;return d|0}function ch(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:do if((d|0)!=0&(e|0)!=0){i=d+(e*40|0)|0;j=c[(d&p)+32>>2]|0;g=j+65|0;h=a[(g&n)>>0]|0;if(c[(j&p)+520>>2]|0){e=d;while(1){if(c[(e&p)+24>>2]|0)mg(j,c[(e&p)+20>>2]|0);e=e+40|0;if(e>>>0>=i>>>0)break a}}do{e=d+8|0;if(!(b[(e&o)>>1]&9312)){f=d+24|0;if(c[(f&p)>>2]|0){mg(j,c[(d&p)+20>>2]|0);c[(f&p)>>2]=0}}else Qg(d);b[(e&o)>>1]=128;d=d+40|0}while(d>>>0<i>>>0);a[(g&n)>>0]=h}while(0);return}function dh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();g=f;c[(g&p)>>2]=e;e=Wk(b,d,g)|0;mg(b,c[(a&p)>>2]|0);c[(a&p)>>2]=e;i=f;return}function eh(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,q=0;l=a+24|0;g=c[(l&p)>>2]|0;do if((g|0)<(d|0)){k=(d|0)<32?32:d;d=(g|0)>0;if((f|0)!=0&d?(h=a+16|0,i=c[(h&p)>>2]|0,j=a+20|0,(i|0)==(c[(j&p)>>2]|0)):0){g=Wl(c[(a&p)+32>>2]|0,i,k,((k|0)<0)<<31>>31)|0;c[(j&p)>>2]=g;c[(h&p)>>2]=g;f=0}else{g=a+32|0;if(d){d=a+20|0;mg(c[(g&p)>>2]|0,c[(d&p)>>2]|0)}else d=a+20|0;g=mh(c[(g&p)>>2]|0,k,((k|0)<0)<<31>>31)|0;c[(d&p)>>2]=g}if(!g){f=a+8|0;if(!(b[(f&o)>>1]&9312))b[(f&o)>>1]=1;else vg(a);c[(a&p)+16>>2]=0;c[(l&p)>>2]=0;f=7;break}d=c[(a&p)+32>>2]|0;do if(!d)d=lc[c[8792>>2]&127](g)|0;else{if((c[(d&p)+276>>2]|0)>>>0<=g>>>0?(c[(d&p)+280>>2]|0)>>>0>g>>>0:0){d=e[(d&o)+248>>1]|0;break}d=lc[c[8792>>2]&127](g)|0}while(0);c[(l&p)>>2]=d;q=21}else q=21;while(0);if((q|0)==21){if(((f|0)!=0?(m=c[(a&p)+16>>2]|0,(m|0)!=0):0)?(n=c[(a&p)+20>>2]|0,(m|0)!=(n|0)):0)kw(n|0,m|0,c[(a&p)+12>>2]|0)|0;d=a+8|0;f=b[(d&o)>>1]|0;if(!(f&1024))g=a+16|0;else{g=a+16|0;cc[c[(a&p)+36>>2]&31](c[(g&p)>>2]|0);f=b[(d&o)>>1]|0}c[(g&p)>>2]=c[(a&p)+20>>2];b[(d&o)>>1]=f&58367;f=0}return f|0}function fh(a,d){a=a|0;d=d|0;if((c[(a&p)+24>>2]|0)<(d|0))a=eh(a,d,0)|0;else{c[(a&p)+16>>2]=c[(a&p)+20>>2];a=a+8|0;b[(a&o)>>1]=(e[(a&o)>>1]|0)&13;a=0}return a|0} [all...] |
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 5552 SDValue Sc = Op.getOperand(0); 5553 if (Sc.getOpcode() != ISD::SCALAR_TO_VECTOR && 5554 Sc.getOpcode() != ISD::BUILD_VECTOR) { 5561 Sc = Extract128BitVector(Sc, 0, DAG, dl); 5562 return DAG.getNode(X86ISD::VBROADCAST, dl, VT, Sc); 5565 Ld = Sc.getOperand(0); 5576 if (!ConstSplatVal && ((!Sc.hasOneUse() || !Ld.hasOneUse()) && [all...] |
/external/llvm/tools/llvm-objdump/ |
H A D | MachODump.cpp | 8610 MachO::sub_client_command Sc = Obj->getSubClientCommand(Command); local 8611 PrintSubClientCommand(Sc, Command.Ptr);
|
/external/webrtc/talk/media/testdata/ |
H A D | h264-svc-99-640x360.rtpdump | 1443 �Z��>����vRf��-x�/��U�Vo�RK4OG���=�1�?�G�m� _,���|��X�xU�x_��z�Ln�k��G��ǯ������NX�~/��h�Z���o���W��P�`#C����kr�<�����k�����KQ}�E�M����{��7�>�ix�..�"���C����y(��~Q�/�b�:.O~o@�����=��\m/�z-~��7����V������w�{y>���O�����O��^�}"E�.{^�r�~�|� >�/���/O��&��r�����G`U�M{;D+������E���������ɞ�ؾ iz|�_��u�u�>'����=l��;VMv�tM��f��\�axF���܅�'`�'���U�`l}O����E�Tz����:.x����
tu��z�c�.S����ខx�3/�xg��.߽��!!�^r�d6e'�Â^��'G��m�Qs���$O�f���a��bR�!�f��ՎH���/���?���î>%�~���
���D���_��}�ˇrkx�_|���K[6?����x7�
N���cl�~��7��P?��^�H��w�Z�"�~���Y�>��>�c��SN�Rg�?��E���O�2;n�S��+�Y�2š�������w�v���!Sñ��� ] U ��c%�����f�� f I��<�r � ��g�� ��g пh���8 ��g B�Z@W��F�Dw��@ � z ���%�����f�� f ("��T+r � �g�� �g�/� ~B^X{����x��3�K��@( /�g ��/� ~B^Xx.W�HĽ�"�F���t��0Q�W��k�̃ c [ ��c%��a��f�� f ("��T9r �8 >��G�� .��G !пh�KHl .��G !B�- &��MK7q�;�i���@�| ���%��a��f�� f ("��TEr �8 >�G�� q4�G�/� d%凂��4��J�5+�+�+J�/ �D�鼫�{{H*��y%d1<4�o�ݙk�@�$5q����8�/OӞxg^u������`I.PK��8"|u��B�p�4�G ��/� d%凂����:�?�#����H�i���b8+��f+�%�[�V,h@��kN������o�_��7���?�xe�����E��c�������M��� ��(�������p�����HM�60��p"���l�s��'�6���)��Jİ#��[�Aǯ� D��?��H�t/���^.���������j_�����g��]�6�����7�
c<;)~V�z���v瞰�w��x~C�37s���ư-L���?u"#ağ�9��_�[ӡ�j| �߉����_��!��6i�x��Z&^�9�Ӂ��/4H��iWB���B�FF��l^C�xW��Z3�{<��ǯ��0$�����dh�}�|>�m6?N=��b�/马�U��\�=K� ��v�t�����~vA�N��J$.a9\�X;',�����kSA� _ W ��c%����f�� f ���r � ��g�� ��g ���K� ��g /C��A4�.��s��� ���%����f�� f ��Sr � �g�� ��g ��1�����O~���t�E��k0��~-qs�he�'~�#�{D�m�:8�_�x ����8i��d�p���2��z|��<���0�E�~6^�$<m��Sc�(����4������RE�ہ �"rKёp����Xټ�D�E�-Ϻ����D����9��J���~ OO�(�@�:%�6u1����$}���t@ ��g�1������G�!~}����zA��0Y�P0�^?<�P�nO�;�6��C �16�8��Ѩ��zs �7�����"�;��TJ���F,�kPG�,���8Eq%2is>�"zh�_D��!���\��-�I�Ə��;���*�?�<4 ��c%�����f�� f ����lr �8 >���� .�� ]!��Jςv���C�/G�'�.�/&���.���|~��
���I`� 3910 r�N���o���x~��<3}�� �X��
/��#��zfb��LN��l@�US�
��m6dqp���4
~[����.t�ʄm8E3)Ώ�t+���>7%L�v�SL�Sc5H�
������4
�,ɜ�'i��?��5�o�q�r�M? 3997 �}����=1���!�#M%������Cং(�*?`�Z$u�7N�C��F�3@D��9,� �G�Ì��ٟ͘sX��髜3�}�=�&k���?`�����d�P��4��/���6v����z=��ZeO���5�����n��tq���-���Yٰt�Jh,���ʇ,6�KAd���Aw�;��A���_��:��m��Bx���E��3�}�
�h�F��t� �G���KM���669 Sc��?��낔� �2�b�߆�x|���D�=q�:�k�������Zq�� 5036 z�vP[2U�$b����,3Sc�̻_R�����n��:m��̎�<�����/i$�#�����'��ժ��g�=����w��b��H��o���1\�z�=��`�j��w�{��G�i?���K����f\��-��q 5055 y�Sc�����S>���_r������"���T�;�&�'U�*��U���..��n<k�Є���4��MC�);�;���!ZP�(V�+J� 7115 BOC���^#�>[t��Ⱦ���(; ��c��r���ɼ2�d[
��/�a�`ʆ<-p��C��#E��Рs���W;������ip&�y ��g���N��K����Sc+��w�9��)�C�8Ie���?��t�O}AC��4�!���.�5q��s�րE�
>Lk��47���`�{�J��Y3B�~{ 7272 �o����Vm0��aQ���~�MW�՜v�
����/kHo�a�0K� � dq�.~`��pӢ�^{�Lk ]�%��� }�pl-~T>�������}�A�q�d�,�K�U��6ь ��x$��[�q�Z��n�jp b�T^�O=#��h� ����m LA���T��� �i�, :b�1��ھZ&��R�y�����9����oY�m;I�ЃD��m�Q�K�/\q�a�Ӱd#5<6Sc���H�b�%&���F����x _k����"�l45��x���6ɩ|6��C�y�G@�DZ��w�av��p�К��N���;�2�S�?��ah� ΰ C\��vQr���6�Ǟ2�`���J��4����N�aa�M���q����}���
е@ps�)d�@�qm�� ư�V$V_e�b��&B�@�j�Ż�A��Z_I+�Q-���p�~��ml��6�:g�����#�s���zHu��Q�3�m�v���� -�c'���a��f�� f 7459 �eC����"���t� �w�-W��;�_������=� Ov�|3�
l���T�U����^�}���� Z��l��Q��T�NŢ��|�ʢ�-�>�*�dX1�vl����,���.���5{�<N��C����?���{*���*~tV���Ax^p�$��:� ����3"#���
��<��8?a��\�@C�j�����F�B4z��tu��fh,4ظ.��z�0`�?��=�W�a�{3�h x�a���=?�v�C@��PV0�������=����YA .�����<3���뤇f<]�9�t�4aa� ��~�1�M����.֕���k�篋�U=��������=맴���=���;S@�� ��c'��,!��f�� f �G�(r �8 >��3��4� U��ܒ�������,�M~��k�����c������v�6- �e)�7��@���q}2���5� ��n��7�����U���#"@�P(�g��A�
�(/`��
M;�� P �����9A��b�|� ��9yW�Z}�)
v�!��k�|�� `��
��?� �0���Ng����e��f��K�7���^��קּ����Ƀa|#�@�� ��?�Z��|"q��~HJ�}��; �˭�f�Q�����|��۰ ^���K������n��{]��]N�<}��Sc��p"�}4+A���?P0���k��|�A�r���}t)��}.��@��nG�]���xm62�q���$�'[�
�n@�~q���A@���� ��L�@�~k�Q����Y��O }� ����^ *�����H�Ճ���j/��H&��,9���T��(]���{�4?�l?z�avD�_����.�p��$���Z����>J%gI~߆�Z�����/�� 7687 05�Ù�[��8}�A $O� ������4?8v�H�AO�5�A`��8&ր2P�,ZQ���%c���l�?�`mtR
x=�f�O�
����x%�=�(�^�mҧ���g�%)<콃`��;4"�[%����\)���TT���]��[?���$��;��1�9����C̗cg_�qi���#�� �ݞ��b����|�a1��t�>U��l[�����*pf�����*[����4��L���P�e��p�D�����(M�G(4|���~�~P@l;���߆�**��n�å����7���Ѻ;���Ԃ���,I�K�!���-��`��C�cA�%o7G���6�~�<`_���`�ضR�|-�}�_o�Sc@;�[,�ؙE�d?�f�A�.�i0�c�+ 10316 ��~L��5��{��I#��:�ZH�#H���}+;;7�K���w�yK���l�N�����u��:�ߴ;oϾ&}߹I0�d ��n�:xokhs=K�Sc� [all...] |
/external/webrtc/data/voice_engine/stereo_rtp_files/ |
H A D | hrtf_g722_1C_48.rtp | 1207 �w�Ee[���k��E��BH2û�����i�3x��$Sc]�Z��<� � � � ��}� �$EI��XƠU���c�
|
H A D | hrtf_g722_1C_48_jitterT2.rtp | 1204 �w�Ee[���k��E��BH2û�����i�3x��$Sc]�Z��<� � � � ?�}� �$EI��XƠU���c�
|
/external/v8/test/mjsunit/asm/poppler/ |
H A D | poppler.js | [all...] |