Searched refs:vq (Results 1 - 22 of 22) sorted by relevance

/external/mksh/src/
H A Dvar.c94 struct tbl *vp, **vpp = l->vars.tbls, *vq; local
102 if ((vq = global(vp->name))->flag & ISSET)
103 setspec(vq);
105 unsetspec(vq);
331 struct tbl *vq; local
333 varsearch(l->next, &vq, vn, h);
334 if (vq != NULL) {
335 vp->flag |= vq->flag &
338 if (vq->flag & INTEGER)
339 vp->type = vq
429 setstr(struct tbl *vq, const char *s, int error_ok) argument
479 setint(struct tbl *vq, mksh_ari_t n) argument
595 setint_v(struct tbl *vq, struct tbl *vp, bool arith) argument
611 setint_n(struct tbl *vq, mksh_ari_t num, int newbase) argument
1504 struct tbl *vp, *vq; local
[all...]
H A Dfuncs.c1474 struct tbl *vq, *voptarg; local
1549 vq = global(var);
1551 if (!setstr(vq, buf, KSH_RETURN_ERROR))
1866 struct tbl *vp /* FU gcc */ = NULL, *vq = NULL; local
2235 if (vq) {
2239 vq = vp;
2242 vq->flag |= AINDEX;
2244 vq = arraysearch(vp, c++);
2246 vq = global(*wp);
2248 if (vq
[all...]
H A Dexpr.c740 struct tbl *vq; local
747 vq = tempvar();
748 if (setint_v(vq, vp, es->arith) == NULL) {
753 v_evaluate(vq, str_val(vp), KSH_UNWIND_ERROR, es->arith);
757 return (vq);
H A Djobs.c1255 struct tbl *vq; local
1258 vq = alloc(offsetof(struct tbl, name[0]) + 11,
1260 memset(vq, 0, offsetof(struct tbl, name[0]));
1261 memcpy(vq->name, vp_pipest->name, 11);
1262 vp->u.array = vq;
1263 vp = vq;
H A DBuild.sh220 vq() { function
2285 NSIG=`vq "$CPP $CFLAGS $CPPFLAGS $NOWARN conftest.c" | \
2306 test 1 = $HAVE_CPP_DD && test $NSIG -gt 1 && sigs="$sigs "`vq \
2321 vq "$CPP $CFLAGS $CPPFLAGS $NOWARN conftest.c" | \
/external/libopus/
H A Dcelt_sources.mk18 celt/vq.c
H A Dcelt_headers.mk30 celt/vq.h \
H A DAndroid.mk25 celt/vq.c \
/external/libvorbis/vq/
H A DMakefile.am31 $(MAKE) vq CFLAGS="@DEBUG@"
34 $(MAKE) vq CFLAGS="@PROFILE@"
36 vq:
/external/libvorbis/
H A DMakefile.am5 SUBDIRS = m4 include vq lib test doc
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
H A DFlatManifestWriterImpl.java125 VideoQuality vq = videoQualities.get(i);
128 qualityLevel.setAttribute("Bitrate", Long.toString(vq.bitrate));
129 qualityLevel.setAttribute("FourCC", vq.fourCC);
130 qualityLevel.setAttribute("MaxWidth", Long.toString(vq.width));
131 qualityLevel.setAttribute("MaxHeight", Long.toString(vq.height));
132 qualityLevel.setAttribute("CodecPrivateData", vq.codecPrivateData);
133 qualityLevel.setAttribute("NALUnitLengthField", Integer.toString(vq.nalLength));
/external/speex/
H A DAndroid.mk107 libspeex/vq.c \
/external/v8/tools/profviz/
H A Dgnuplot-4.6.3-emscripten.js[all...]
/external/webrtc/talk/media/testdata/
H A Dvoice.rtpdump17 ��pj��}��xpu~z{{sloz��|q}|ytsop��}z���yolq����su�����~�zyx}��|uv{v{��{wz��|qot��������������������������{ux���{qvvkgmtvuvmt��|����}}zwyx~�}rrp~��y}�~x{qx���qqw�����9��4Ԫ��pjzxnr������z�zuzy{|{���|z���|����������~vu���yw|~�wooov��������|����yrtt����zw����xqz�yrtt���w~�}|������xz���{hlo|z~{�zw|�~|wox���}�����~zv{|����{�����������������9��4�J��pjwsponnnmmuwz{������~yxz~�tyxvx���}}�}����}~�xx����{z{upyx���uv����{~{�����}~����vow������������yz�xu}~|tt��vq~�~xx{ztnmtnljpy{{v����{}������}x���zy}{|{~������9��4���pj�����������yzqw�����||{x�~}zywzzyrvv������������vt}���~y}���{~����xo{����|z}�zuz|||�{wu~}tokowy{y���y����~|��zu}������~������{v��tqry���{ry��to|��|�|wo|���|z��Ҁ9��4֊��pj}z~~��}zyyz{}z{��~���������}y~���yvv{z}yy}z}����}���~{}��}�|pno���x|�������{���vwz�������|~||}�{w{~��xy{||y{�����������}wwsx����w���������zts|}�|���|yvuy�����9��4�*��pj���|~���snvvy~����������������z{{}wvtno{��|���}|pw{y|yuvvuz��~}���yy}����|{v{}���|�����������tty��}t�����}�����{v{�{zy|~zvootwqmlwurz�zwy������}����x}~}{xx���9��4�ʎ�pj��{���xwu�pvx�����|~��������������|��������|squ�z|qt��}ro{��ztu|���{wz��������uqtv~~sq{���sopy}vy}}~�}�������|y���|w��}~zy{s����������z������|vy�|uy�}�� �9��4�j��pjxwx~��~���~�|w}�{uno{�xty�x|���no{���|���������������~���|~{{�~wxvy��w|}��xu~���ww���zw���zty���xy}}{yv���vqw���zz��}{~����|����������~{����|{|���|z}y|y~yy�� !�9��4�
79 ��pj���}���������|����zz{~�~z|y~upmlnmnpnpmpy~��v}������������y�|}xoov�zwrxyrow���|����������������}xty��zuv}|yy�~|zvz���������z||��~{z|}rmoz��{tqqz}|����}��������׀9�5���pj��������������zxxw}pplopwmopvsxusqpwtswy�������������������{ww~~ynllrx�~��~yw~��|���������~}��������|���tnt{~wvw|skiryomoutzs~|�|�zw���������������������vq���9�5J��pjz{yzx�xtqv���}}~|z}������������}��~{yvsqvyrx���zy}��������������}sw{z}}xsx�{vqzw|}}|���yz�����~�����������|pw}|utsxupw��|u{xy�������~����|~�}vt|�~wqsw����������9�5��pj���������xrsw|������~uz����yx}��zopx{y|���|z����z��zvz��~tmoszz|vzuy|������~ysxrtx~{wus��������������zv���xrt~���{y�~wosx����z}��������rv~�xuu{�}}{���w{����x���9�5���pjmv����~����{���~}}ztxv���tux~}zz}|ulmtmkmw���������~���������y���������|}��������zrosz~~}zsuqporrqrou}uv|~ytlnnpoqrnu~�zty�����������}{����~�������|�����z}�����%�9�5 *��pjwsqx����yxtz|zss}{qmo|����wx����{z�����������~|{����������|����}����yqnw�|tprrvy||voty|}tsv{y��|ot���urzy��������{sxvuzyussx{slpwuuuroxwv}��{�������������������:�9�5 ʎ�pj������������xu�|milvnfagv�|mp���wmr��vmr���ux�{jkx�yor���xmu��tqu���~z�����|����pq��r\b��fZ]juud\`���if���di���`i���ibp��u^k���ae���hn���xw���jf���ne���_Z���WY��P�9�5
94 ��pjlpw����}uqqt{okfkmyuvssouv�~}�ytu|����|rt��������v����������������������������sk|���tpx|{���pu{���z���xxy��wihqqomsx�~�y~��������{w��qsuwx{}{�wxw����������yv����:�5���pjy�|~xyv~{x|~zz}���w������������ztn���uns}�|umlnke`hkikoijnz��w�����~���������������������tqy��zwsmln|wniihkegiprmkt|��st������||z|��ullv���rp~������������������� �:�5 J��pj��zy~~zyvrot�v�����xx���{|}��}wt����tzz�|�uppojlntqkcn��xrn{~���{{tpmnvylgnz~���������������wtrpw���~�ww������������~x{y����{��xv{�yus}��}|ons���{okgn���suz�{wz���:�5 ��pj����{o���qlw���}����oy����tn~�����������|w{���zjcgv���}{z~}����tux��{qz���x|���pn|���xxv���������������}splo��zpigeihmsnrvwpt�������������������x���{���yz{�}���2�:�5!���pjs���z����}gmq~phehnx~ttsx{y{{����������������{~y���{{���xoov��~w�~oq{���{���|vq���}|��������z��|�~~xtvx���z|�����{�{zmmo~{�z~z~����ysx���w|~��{�{{ppz���~����{}��F�:�5"*��pj��|xwtty~~rut���zumw��{xxz��yx����rp}���{���qs{�����y���������������}�������onxvsvnoplupnl~����topszqklpvtyu�����������|}��slp���ww�������sjm��yhgmx{w|u~�������Z�:�5"ʎ�pj���|u|����tnln|��vsz���~���������~so}���}wr|�{����om}���xmno|���nfhu���v����vro{��������pww��������~�z����{qx���|x}���wq{��xv}��ylny��|mjhhmty{xrl|���~����������n�:�5#j��pj������~�vnoqouv|y����|wsx���������w|s~|�~vnwwzu|�ysmromrw~���|mq|~xnsx����z|���|oz��������������������������{z�����|~zvsv}{|~xv}}������z��z~������v{���������:�5$
128 ��pjorokfdio|qkhlwvns����|��������������wpoz}��xrnns{|~ysx������}yz���{����wx�����y����}~�����tqv��z~~zohjjonkjo}sdex��~mq����yz����slx����vlly�����}~���zqx������7�:��5y���pj���zkku���zik����or~��zjm~��������y|���}���tjkr��tmrtzwwxrw��zv���qnsy���ysqs{����~~{}������}y~�����ukv���olw���vx}}nilv�|tos{�~vp���w{����{p~����yw~~smny���nh��K�:��5zJ��pjkv{|v}��}�}���|vz����~usy����vvzw{����yx~���|{}�~w����w}����������w����sr}���wkgknhejv�xsrpxyuw{�������������������{p}��sqvss���zpnx��nm����}����wu����vox�����_�:��5z��pjuqx~}nq���ypx����������}xon����ru��}|zv���znmnroqoilsysmnnmorx��|nov���������������������������y{��|moxxnu��tnjnsz����z{|���nq���ysv��||x���|u|�snw��wo����roou���q�:��5{���pj�shimxysmjr��wiio{��yy|�vq��������������������ymkw����}|ohejnx{��nklorspokv���qntyy��~oit���rip���st��{�������|~���}smq~��}npo{�����������������}���pccoz���rmk����:��5|*��pjt�z{���xwvupousv}|kffoqy��{qw���������}z���yg_fp~wwpox����y�������py�wrnz��wq�����}�������~ypr���uiimqqqwx{unkt���������qqosvqot���|uzyw����}����wnjr�������������:��5|ʎ�pj���������vp|���zuwtt|��|nljnka^do{zsy�����������uyxwohjoyzov���������sjz��{ttuqz��tljr���}{��smq��������~v��~rlu�}{rtlkl���njh����umx���osv}rsz���vkl���}z����������:��5}j��pj�pjk���������mt��qijmpnmz}�vieiny��rnr�����������mho{�pggo�������z���zebi��xx���������������t{yxndafinnmq�������y}�����y���xoinurs�������������yokx���������rlg��€:��5~
133 ��pju�|}yvy}zzt|~yux{zvty��|z|���{~�������������������������~���~~}�~|~}|{~{{~y{x}��zz���|z}��z{~��~~}�����}����{��|�~~|��~z|���������}���~y{}~}|�~}|}�~}x{�|{�� W�:ʨ5����pj}��~{�����~z|����}�����������~~}{~��|~~~~zwy}|suw��~yux��~��~z|����z{������{���y{���zz�����|��~���~���}{��}~{��{|}���|~}~}�~z���{|~����~���wux��~y�� k�:˨5�J��pj�|~�}~�y|~�������z��~}~~~��}{���~{��}z}��wy~���wv���x����~y~���������}zx}�~{u{�{�����{~���{z�����}��}y���|�{���|}{���z���zz�xu{�}||}��}{y���w}��~{���|���� �:̨5���pj�|v}��}w����xz��~y{���z~|�}{y���zzz��~w{~���|{������~z��~y����yv���vq{���yz����}��{||��{x�~�y{|��y��wv{���ws~��yv{��{xu}��vqy���xv}~�z��������}~���{{����w}����� ��:ͨ5����pj}z~�}xz��}uu���vwx{~�ytv|���z�����}���~|���}|�����{u���ztv��}{~���{xy�yy}~���~�{�y�����~���yw���{z���xx��~u����{{x|tuw~yvz|zx}~�tw~�~zs{���r���}����������z��� ��:Ψ5�*��pj�������|����y�~�zxv��z{|~z~�}xos��rz~�|{rz|�~zw|���|~��}z���}z~���{|~����|���~u}��~y|~�~�~yw���w{y���~z|���~���yvy~��|x��}{���zw���y|���~z�����z����|ux��y}yw�� ��:Ϩ5�ʎ�pjqu~�ysv�|xvyx||~zz}{zwz�~}z���z|���|z����|����~����������~�����w~��~z��~��~z|yz��y|}���{{{����{~���{}�����tu���~}y|��ztx}��zttx}�ztr��xqo{��xusu{�}y{~y{����� ΀:Ш5�j��pjzy���~~���|��|��y{���~yy���{|���~����������~�~���~||���xuz��~ov}���ons��rr|��wrn}|�uv|wzz�~|uw~���yq{��ypv��|z~��~|{{���z}�������������������~������������� �:Ѩ5�
/external/deqp/modules/glshared/
H A DglsTextureTestUtil.cpp552 tcu::Vec4 vq = tq * (float)src.getHeight(); local
557 tcu::Vec3 triV[2] = { vq.swizzle(0, 1, 2), vq.swizzle(3, 2, 1) };
851 tcu::Vec4 vq = tq * (float)src.getHeight(); local
858 tcu::Vec3 triV[2] = { vq.swizzle(0, 1, 2), vq.swizzle(3, 2, 1) };
/external/webrtc/data/voice_engine/stereo_rtp_files/
H A Dhrtf_g722_1C_48.rtp633 �҇�2�j�u܄�����-��_LGq�w���O�i�;���4�ڎH�5�FV��YI�$��F���ė+X��� ��}y�CEI��X>$?��Sp�,vq�r� l(��f�AIZP��U�"��*DV�U�W�a�*B��m`�*E� =eg
1231 4 {�����Ca$��,h(o�vq� �v%I�A46r��� PLE���2@7
H A Dhrtf_g722_1C_48_jitterT2.rtp628 �҇�2�j�u܄�����-��_LGq�w���O�i�;���4�ڎH�5�FV��YI�$��F���ė+X��� C�}y�CEI��X>$?��Sp�,vq�r� l(��f�AIZP��U�"��*DV�U�W�a�*B��m`�*E� =eg
1228 4 {�����Ca$��,h(o�vq� �v%I�A46r��� PLE���2@7
/external/v8/test/mjsunit/asm/sqlite3/
H A Dsqlite-safe-heap.js7 function Sn(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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,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+160|0;if((i|0)>=(j|0))ba();K=Y+16|0;G=Y+152|0;I=Y+48|0;F=Y+40|0;J=Y+36|0;H=Y+32|0;M=Y+8|0;N=Y;S=Y+28|0;W=Y+24|0;ea(W|0,0|0,4,0);do if(!(da(a+46>>0|0,1,0,0)|0)){X=a+43|0;if((da(X>>0|0,1,0,0)|0|0)==0?(l=da(a+4|0,4,0,0)|0|0,l=oc[(fa(da((da(l|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](l,1,1,10)|0,(l|0)!=0):0)break;V=a+45|0;ea(V>>0|0,1|0,1,0);a:do if(!b){p=0;T=11}else{n=a+4|0;l=(c|0)!=0;while(1){if(da(X>>0|0,1,0,0)|0)break;p=da(n|0,4,0,0)|0|0;p=oc[(fa(da((da(p|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](p,0,1,10)|0;if(!(l&(p|0)==5)){T=9;break}if(!(kc[(fa(c|0,127|0)|0)&127](d)|0)){p=0;c=0;T=11;break a}}if((T|0)==9)if((p|0)==5){p=0;c=0;T=11;break}else if(p){U=b;break}ea(a+44>>0|0,1|0,1,0);p=b;T=11}while(0);if((T|0)==11){U=p;p=mq(a,W)|0}do if(!p){R=a+68|0;p=da(a+66|0,2,0,0)|0|0;if((da(R|0,4,0,0)|0|0)!=0?(Q=p&65535,(Q<<16&65536|Q&65024|0)!=(f|0)):0){ea(K|0,51863|0,4,0);ea(K+4|0,10788|0,4,0);ad(11,13600,K);m=11;break}O=p&65535;O=O<<16&65536|O&65024;Q=a+32|0;P=(da(da(Q|0,4,0,0)|0|0,4,0,0)|0|0)+96|0;B=da(R|0,4,0,0)|0|0;b:do if((da(P|0,4,0,0)|0|0)>>>0<B>>>0){D=(B+33|0)>>>12;E=D+1|0;f=B<<1;r=f+28+(D*20|0)|0;l=Sc(r)|0;c:do if(!l){p=7;l=0}else{ew(l|0,0,r|0)|0;A=l+4|0;ea(A|0,E|0,4,0);s=Sc(B>>>0>4096?8192:f)|0;do if(s){r=l+8|0;f=0;while(1){p=Oo(a,f,F,H,J)|0;if(p){T=21;break}y=(da(H|0,4,0,0)|0|0)+4|0;ea(H|0,y|0,4,0);if((f|0)==(D|0)){z=da(J|0,4,0,0)|0|0;p=z;z=B-z|0}else{p=da(J|0,4,0,0)|0|0;z=(da(F|0,4,0,0)|0|0)-y>>2}n=r+((da(A|0,4,0,0)|0|0)*20|0)|0;x=n+(p<<1)|0;q=p+1|0;ea(J|0,q|0,4,0);if((z|0)>0){u=0;do{ea(n+(u+p<<1)|0,u|0,2,0);u=u+1|0}while((u|0)!=(z|0));ea(K|0,0|0,4,0);ea(G|0,0|0,4,0);v=I+0|0;u=v+104|0;do{ea(v|0,0|0,4,0);v=v+4|0}while((v|0)<(u|0));w=0;do{ea(K|0,1|0,4,0);v=n+(w+p<<1)|0;ea(G|0,v|0,4,0);if(!(w&1)){t=1;u=0}else{u=0;do{nq(y,da(I+(u<<3)+4|0,4,0,0)|0|0,da(I+(u<<3)|0,4,0,0)|0|0,G,K,s);u=u+1|0}while((1<<u&w|0)!=0);t=da(K|0,4,0,0)|0|0;v=da(G|0,4,0,0)|0|0}ea(I+(u<<3)+4|0,v|0,4,0);ea(I+(u<<3)|0,t|0,4,0);w=w+1|0}while((w|0)!=(z|0));u=u+1|0;if((u|0)<13)T=34}else{ea(K|0,0|0,4,0);ea(G|0,0|0,4,0);v=I+0|0;u=v+104|0;do{ea(v|0,0|0,4,0);v=v+4|0}while((v|0)<(u|0));u=1;T=34}if((T|0)==34){while(1){T=0;if(1<<u&z)nq(y,da(I+(u<<3)+4|0,4,0,0)|0|0,da(I+(u<<3)|0,4,0,0)|0|0,G,K,s);u=u+1|0;if((u|0)==13)break;else T=34}t=da(K|0,4,0,0)|0|0}ea(r+(f*20|0)+16|0,q|0,4,0);ea(r+(f*20|0)+12|0,t|0,4,0);ea(r+(f*20|0)+4|0,x|0,4,0);ea(r+(f*20|0)+8|0,y|0,4,0);f=f+1|0;if((f|0)>=(E|0)){T=39;break}}if((T|0)==21){Vc(s);break}else if((T|0)==39){Vc(s);p=0;break c}}else{Vc(0);p=7}while(0);Vc(l)}while(0);if(!p){K=a+72|0;J=da(K|0,4,0,0)|0|0;I=a+4|0;t=1;s=da(R|0,4,0,0)|0|0;p=0;while(1){f=P+(t<<2)+4|0;n=da(f|0,4,0,0)|0|0;d:do if(s>>>0>n>>>0){r=t+3|0;q=(c|0)!=0;while(1){if(da(X>>0|0,1,0,0)|0)break;p=da(I|0,4,0,0)|0|0;p=oc[(fa(da((da(p|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](p,r,1,10)|0;if(!(q&(p|0)==5)){T=49;break}if(!(kc[(fa(c|0,127|0)|0)&127](d)|0)){c=0;p=5;break d}}if((T|0)==49){T=0;if((p|0)==5){c=0;p=5;break}else if(p){m=p;T=100;break b}}ea(f|0,((t|0)==1?s:-1)|0,4,0);if(!(da(X>>0|0,1,0,0)|0)){n=da(I|0,4,0,0)|0|0;oc[(fa(da((da(n|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](n,r,1,9)|0;n=s;p=0}else{n=s;p=0}}else n=s;while(0);t=t+1|0;if((t|0)>=5){E=n;break}else s=n}e:do if((da(P|0,4,0,0)|0|0)>>>0<E>>>0){p=(c|0)!=0;while(1){if(da(X>>0|0,1,0,0)|0)break;n=da(I|0,4,0,0)|0|0;n=oc[(fa(da((da(n|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](n,3,1,10)|0;if(!(p&(n|0)==5)){o=n;T=58;break}if(!(kc[(fa(c|0,127|0)|0)&127](d)|0)){o=5;break e}}if((T|0)==58?(o|0)!=0:0)break;A=da(P|0,4,0,0)|0|0;B=(e|0)!=0;if(B?(L=da(a+8|0,4,0,0)|0|0,L=qc[(fa(da((da(L|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](L,e)|0,(L|0)!=0):0)o=L;else T=61;f:do if((T|0)==61){L=rw(J|0,0,O|0,0)|0;o=N;ea(o|0,L|0,4,0);ea(o+4|0,C|0,4,0);o=da(I|0,4,0,0)|0|0;o=qc[(fa(da((da(o|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](o,M)|0;if(!o){p=M;L=da(p+4|0,4,0,0)|0|0;o=N;M=da(o+4|0,4,0,0)|0|0;if((L|0)<(M|0)|((L|0)==(M|0)?(da(p|0,4,0,0)|0|0)>>>0<(da(o|0,4,0,0)|0|0)>>>0:0)){M=da(I|0,4,0,0)|0|0;$b[(fa(da((da(M|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](M,5,N)|0}x=l+4|0;y=O|24;z=a+8|0;p=da(x|0,4,0,0)|0|0;g:do if((p|0)>0){o=0;while(1){w=da(l|0,4,0,0)|0|0;v=-1;h:while(1){i:while(1){p=p+-1|0;t=l+(p*20|0)+8|0;f=da(t|0,4,0,0)|0|0;n=da(l+(p*20|0)+20|0,4,0,0)|0|0;j:do if((f|0)<(n|0)){s=da(l+(p*20|0)+12|0,4,0,0)|0|0;u=da(l+(p*20|0)+16|0,4,0,0)|0|0;while(1){q=da(s+(f<<1)|0,2,0,1)|0|0;r=da(u+(q<<2)|0,4,0,0)|0|0;if(r>>>0>w>>>0)break;f=f+1|0;ea(t|0,f|0,4,0);if((f|0)>=(n|0))break j}if(r>>>0<v>>>0)break i}while(0);if((p|0)<=0){f=o;p=v;break h}}o=(da(l+(p*20|0)+24|0,4,0,0)|0|0)+q|0;if((p|0)>0)v=r;else{f=o;p=r;break}}ea(l|0,p|0,4,0);if((p|0)==-1)break g;if(!(f>>>0<=A>>>0|f>>>0>E>>>0|p>>>0>J>>>0)){o=rw(f+-1|0,0,y|0,0)|0;o=iw(o|0,C|0,56,0)|0;N=da(z|0,4,0,0)|0|0;o=sc[(fa(da((da(N|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](N,g,O,o,C)|0;if(o)break f;o=rw(p+-1|0,0,O|0,0)|0;N=da(I|0,4,0,0)|0|0;o=sc[(fa(da((da(N|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](N,g,O,o,C)|0;if(o)break f}p=da(x|0,4,0,0)|0|0;if((p|0)<=0){T=66;break}else o=f}}else T=66;while(0);if((T|0)==66)ea(l|0,-1|0,4,0);if((E|0)==(da((da(da(Q|0,4,0,0)|0|0,4,0,0)|0|0)+16|0,4,0,0)|0|0)){o=rw(da(K|0,4,0,0)|0|0,0,O|0,0)|0;T=da(I|0,4,0,0)|0|0;o=$b[(fa(da((da(T|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](T,o,C)|0;if((o|0)==0&B){o=da(I|0,4,0,0)|0|0;o=qc[(fa(da((da(o|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](o,e)|0}if(o)break}ea(P|0,E|0,4,0);o=0}}while(0);if(!(da(X>>0|0,1,0,0)|0)){T=da(I|0,4,0,0)|0|0;oc[(fa(da((da(T|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](T,3,1,9)|0}}else o=p;while(0);o=(o|0)==5?0:o;T=88}else m=p}else{l=0;o=0;T=88}while(0);k:do if((T|0)==88)if((o|0)==0&(U|0)!=0)if((da(P|0,4,0,0)|0|0)>>>0>=(da(R|0,4,0,0)|0|0)>>>0)if((U|0)>1){bd(4,S);p=a+4|0;n=(c|0)!=0;while(1){if(da(X>>0|0,1,0,0)|0)break;o=da(p|0,4,0,0)|0|0;o=oc[(fa(da((da(o|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](o,4,4,10)|0;if(!(n&(o|0)==5)){m=o;T=95;break}if(!(kc[(fa(c|0,127|0)|0)&127](d)|0)){m=5;T=100;break k}}if((T|0)==95?(m|0)!=0:0){T=100;break}if((U|0)==3){Wo(a,da(S|0,4,0,0)|0|0);m=da(a+8|0,4,0,0)|0|0;m=$b[(fa(da((da(m|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](m,0,0)|0}else m=0;if(!(da(X>>0|0,1,0,0)|0)){T=da(p|0,4,0,0)|0|0;oc[(fa(da((da(T|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](T,4,4,9)|0;T=100}else T=100}else{m=0;T=100}else{m=5;T=100}else{m=o;T=100}while(0);if((T|0)==100)Vc(l);if((m|0)==0|(m|0)==5){if(h)ea(h|0,da(R|0,4,0,0)|0|0,4,0);if(k)ea(k|0,da((da(da(Q|0,4,0,0)|0|0,4,0,0)|0|0)+96|0,4,0,0)|0|0,4,0)}}else m=p;while(0);if(da(W|0,4,0,0)|0){v=a+52|0;u=v+48|0;do{ea(v|0,0|0,4,0);v=v+4|0}while((v|0)<(u|0))}l=a+44|0;if(da(l>>0|0,1,0,0)|0){if(!(da(X>>0|0,1,0,0)|0)){W=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(W|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](W,0,1,9)|0}ea(l>>0|0,0|0,1,0);ea(a+47>>0|0,0|0,1,0)}if(!(da(X>>0|0,1,0,0)|0)){X=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(X|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](X,1,1,9)|0}ea(V>>0|0,0|0,1,0);l=(m|0)!=0|(U|0)==(b|0)?m:5}else l=8;while(0);i=Y;return l|0}function Tn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=(b|0)<(d|0)?b:d;f=Yv(c,e,g)|0;a:do if(!f){b:do if(a){f=b-g|0;while(1){if((f|0)<=0)break;f=f+-1|0;if((da(c+(f+g)>>0|0,1,0,0)|0|0)!=32)break b}if(!f){f=d-g|0;while(1){if((f|0)<=0)break;f=f+-1|0;if((da(e+(f+g)>>0|0,1,0,0)|0|0)!=32)break b}if(!f){f=0;break a}}}while(0);f=b-d|0}while(0);return f|0}function Un(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Ec(c,e,(b|0)<(d|0)?b:d)|0;return ((a|0)==0?b-d|0:a)|0}function Vn(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,p=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))ba();u=w;n=da(c|0,4,0,0)|0|0;a:do if(b){l=b;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;m=l-b&1073741823;if((da(2189*4|0,4,0,0)|0|n&64|0)!=0&m>>>0>4?(Yv(b,14984,5)|0)==0:0){l=m+2|0;k=n|64;if(m){n=0;do{l=((da(b+n>>0|0,1,0,0)|0|0)==38&1)+l|0;n=n+1|0}while((n|0)<(m|0))}h=Sc(l)|0;if(h){do if((da(b+5>>0|0,1,0,0)|0|0)==47?(da(b+6>>0|0,1,0,0)|0|0)==47:0){l=7;while(1){q=da(b+l>>0|0,1,0,0)|0|0;if(q<<24>>24==0|q<<24>>24==47)break;l=l+1|0}if((l|0)==7){l=0;n=7;g=0;break}else if((l|0)==16){g=b+7|0;if(!(Yv(14992,g,9)|0)){l=0;n=16;g=0;break}}else g=b+7|0;ea(u|0,l+-7|0,4,0);ea(u+4|0,g|0,4,0);ea(f|0,Zc(15008,u)|0|0,4,0);g=1;v=74;break a}else{l=0;n=5;g=0}while(0);b:while(1){s=h+(g+-1)|0;c:while(1){d:while(1){m=da(b+n>>0|0,1,0,0)|0|0;if(m<<24>>24==35|m<<24>>24==0)break b;o=n+1|0;if((m<<24>>24==37?(t=da(b+o>>0|0,1,0,0)|0|0,((da(10368+(t&255)>>0|0,1,0,0)|0)&8)!=0):0)?(r=da(b+(n+2)>>0|0,1,0,0)|0|0,((da(10368+(r&255)>>0|0,1,0,0)|0)&8)!=0):0){m=t;o=r;break}if(!l){n=o;v=38;break c}else if((l|0)==2){n=o;v=39;break c}else if((l|0)!=1){n=o;break c}if(!(m<<24>>24==38|m<<24>>24==61)){l=1;n=o;break c}if(!(da(s>>0|0,1,0,0)|0))n=o;else{n=o;v=36;break c}while(1){q=da(b+n>>0|0,1,0,0)|0|0;if(q<<24>>24==35|q<<24>>24==0)continue d;if((da(b+(n+-1)>>0|0,1,0,0)|0|0)==38)continue d;else n=n+1|0}}m=m<<24>>24;n=n+3|0;q=o<<24>>24;m=(0-(q>>>6&1)&9)+q&15|(0-(m>>>6&1)&9)+m<<4&240;if(m){v=30;break}o=(l|0)==0;while(1){m=da(b+n>>0|0,1,0,0)|0|0;if(m<<24>>24==35|m<<24>>24==0)continue c;if(o&m<<24>>24==63){l=0;continue c}if((l|0)==1){if(m<<24>>24==38|m<<24>>24==61){l=1;continue c}}else if((l|0)==2?m<<24>>24==38:0){l=2;continue c}n=n+1|0}}if((v|0)==30){v=0;m=m&255}else if((v|0)==36){v=0;if(m<<24>>24==38){ea(h+g>>0|0,0|0,1,0);m=0;l=1;g=g+1|0}else{m=0;l=2}}else if((v|0)==38){v=0;if(m<<24>>24==63)v=40;else l=0}else if((v|0)==39){v=0;if(m<<24>>24==38)v=40;else l=2}if((v|0)==40){v=0;m=0;l=1}ea(h+g>>0|0,m|0,1,0);g=g+1|0}if((l|0)==1){ea(h+g>>0|0,0|0,1,0);g=g+1|0}ea(h+g>>0|0,0|0,1,0);ea(h+(g+1)>>0|0,0|0,1,0);g=h;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=(g-h&1073741823)+1|0;l=da(h+g>>0|0,1,0,0)|0|0;if(l<<24>>24){t=h+g|0;e:while(1){m=t;while(1){g=m+1|0;if(!(l<<24>>24)){l=m;break}l=da(g>>0|0,1,0,0)|0|0;m=g}s=l-t&1073741823;l=t+(s+1)|0;m=l;while(1)if(!(da(m>>0|0,1,0,0)|0))break;else m=m+1|0;r=m-l&1073741823;if((s|0)==3){g=(Yv(15040,t,3)|0)==0;g=g?l:a}else if((s|0)==5)if(!(Yv(15048,t,5)|0)){b=15056;p=393216;q=-393217;g=15048;v=58}else g=a;else if((s|0)==4?(Yv(15096,t,4)|0)==0:0){b=15104;p=k&135;q=-136;g=15176;v=58}else g=a;if((v|0)==58){v=0;n=da(b|0,4,0,0)|0|0;if(!n){v=65;break}else m=0;while(1){o=n;while(1)if(!(da(o>>0|0,1,0,0)|0))break;else o=o+1|0;if((r|0)==(o-n&1073741823|0)?(Yv(l,n,r)|0)==0:0){n=m;break}m=m+1|0;n=da(b+(m<<3)|0,4,0,0)|0|0;if(!n){v=65;break e}}n=da(b+(n<<3)+4|0,4,0,0)|0|0;if(!n){v=65;break}if((n&-129|0)>(p|0)){v=67;break}k=n|q&k;g=a}t=t+(s+2+r)|0;l=da(t>>0|0,1,0,0)|0|0;if(!(l<<24>>24)){v=72;break a}else a=g}if((v|0)==65){ea(u|0,g|0,4,0);ea(u+4|0,l|0,4,0);ea(f|0,Zc(15184,u)|0|0,4,0);g=1;v=74;break}else if((v|0)==67){ea(u|0,g|0,4,0);ea(u+4|0,l|0,4,0);ea(f|0,Zc(15208,u)|0|0,4,0);g=3;v=74;break}}else{g=a;v=72}}else g=7}else{k=m;v=70}}else{k=0;v=70}while(0);if((v|0)==70){h=Sc(k+2|0)|0;if(!h)g=7;else{jw(h|0,b|0,k|0)|0;ea(h+k>>0|0,0|0,1,0);ea(h+(k+1)>>0|0,0|0,1,0);k=n&-65;g=a;v=72}}if((v|0)==72){q=Jc(g)|0;ea(d|0,q|0,4,0);if(!q){ea(u|0,g|0,4,0);ea(f|0,Zc(15232,u)|0|0,4,0);g=1;v=74}else{g=0;v=75}}if((v|0)==74){Vc(h);h=0;v=75}if((v|0)==75){ea(c|0,k|0,4,0);ea(e|0,h|0,4,0)}i=w;return g|0}function Wn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;do if(!b){b=pg(84,0)|0;if(!b)c=8;else{a=b+0|0;e=a+84|0;do{ea(a>>0|0,0|0,1,0);a=a+1|0}while((a|0)<(e|0));c=9}}else{d=da(b+4|0,4,0,0)|0|0;ea(d+4|0,da(b|0,4,0,0)|0|0,4,0);c=d+48|0;b=da(c|0,4,0,0)|0|0;if(!b){b=pg(84,0)|0;if(!b){ea(c|0,0|0,4,0);ea(d+52|0,22|0,4,0);c=8;break}else{a=b+0|0;e=a+84|0;do{ea(a>>0|0,0|0,1,0);a=a+1|0}while((a|0)<(e|0));ea(c|0,b|0,4,0);ea(d+52|0,22|0,4,0);c=9;break}}else c=9}while(0);if((c|0)==8){ea(a+65>>0|0,1|0,1,0);b=0}else if((c|0)==9)if(!(da(b+76>>0|0,1,0,0)|0)){c=b+77|0;a=b+8|0;e=a+64|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(e|0));ea(c>>0|0,1|0,1,0)}return b|0}function Xn(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;k=i;i=i+16|0;if((i|0)>=(j|0))ba();if(c){g=a+428|0;f=an(g,c,k)|0;if(!f)e=0;else e=da(f+8|0,4,0,0)|0|0;if((e|0)==0&(d|0)!=0){f=c;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=f-c&1073741823;d=f+61|0;e=lh(a,d,0)|0;if(e){ew(e|0,0,d|0)|0;d=e+60|0;ea(e|0,d|0,4,0);ea(e+4>>0|0,1|0,1,0);ea(e+20|0,d|0,4,0);ea(e+24>>0|0,2|0,1,0);ea(e+40|0,d|0,4,0);ea(e+44>>0|0,3|0,1,0);jw(d|0,c|0,f|0)|0;ea(e+(f+60)>>0|0,0|0,1,0);f=Hk(g,da(e|0,4,0,0)|0|0,e)|0;if(!f)h=10;else{ea(a+65>>0|0,1|0,1,0);lg(a,f);e=0}}else e=0}else h=10}else{e=da(a+8|0,4,0,0)|0|0;h=10}if((h|0)==10)if(!e)e=0;else e=e+(((b&255)+-1|0)*20|0)|0;i=k;return e|0}function Yn(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;v=i;i=i+64|0;if((i|0)>=(j|0))ba();r=v;f=v+48|0;l=v+24|0;p=v+8|0;g=(b|0)==1;n=g?13184:13208;ea(f|0,n|0,4,0);ea(f+4|0,13224|0,4,0);ea(f+8|0,(g?13064:12960)|0,4,0);ea(f+12|0,0|0,4,0);ea(p|0,a|0,4,0);ea(p+8|0,b|0,4,0);q=p+12|0;ea(q|0,0|0,4,0);ea(p+4|0,c|0,4,0);_m(p,3,f,0)|0;f=da(q|0,4,0,0)|0|0;a:do if(!f){s=a+16|0;f=Zh(a,n,da((da(s|0,4,0,0)|0|0)+(b<<4)|0,4,0,0)|0|0)|0;if(f){o=f+44|0;ea(o>>0|0,da(o>>0|0,1,0,1)|0|1|0,1,0)}e=da(s|0,4,0,0)|0|0;t=e+(b<<4)+4|0;f=da(t|0,4,0,0)|0|0;if(!f){if(!g){d=0;break}d=(da(e+28|0,4,0,0)|0|0)+78|0;ea(d|0,da(d|0,2,0,1)|0|1|0,2,0);d=0;break}ea((da(f+4|0,4,0,0)|0|0)+4|0,da(f|0,4,0,0)|0|0,4,0);do if(!(da(f+8>>0|0,1,0,0)|0)){f=xg(f,0)|0;if((f|0)==516)d=16344;else if(!f){f=da(t|0,4,0,0)|0|0;o=1;break}else u=10;if((u|0)==10){d=f&255;if(d>>>0>26|(d|0)==2)d=16328;else d=da(15488+(d<<2)|0,4,0,0)|0|0}ea(r|0,d|0,4,0);ch(c,a,10344,r);d=f;u=38;break a}else o=0;while(0);vm(f,1,l);m=l+4|0;vm(da(t|0,4,0,0)|0|0,2,m);h=l+8|0;vm(da(t|0,4,0,0)|0|0,3,h);vm(da(t|0,4,0,0)|0|0,4,l+12|0);g=l+16|0;vm(da(t|0,4,0,0)|0|0,5,g);k=e+(b<<4)+12|0;f=da(k|0,4,0,0)|0|0;ea(f|0,da(l|0,4,0,0)|0|0,4,0);e=da(g|0,4,0,0)|0|0;do if(e){if(!b){g=e&3;g=(g|0)==0?1:g&255;ea(a+62>>0|0,g|0,1,0);u=19;break}g=da(a+62>>0|0,1,0,0)|0|0;if((e|0)==(g&255|0))u=19;else{ch(c,a,13232,r);d=1}}else{g=(da((da(s|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0)+78|0;ea(g|0,da(g|0,2,0,1)|0|4|0,2,0);g=da(a+62>>0|0,1,0,0)|0|0;u=19}while(0);do if((u|0)==19){ea(f+77>>0|0,g|0,1,0);g=f+80|0;if(!(da(g|0,4,0,0)|0)){f=da(h|0,4,0,0)|0|0;if((f|0)<=-1)f=(f|0)==-2147483648?2147483647:0-f|0;f=(f|0)==0?2e3:f;ea(g|0,f|0,4,0);oq(da(t|0,4,0,0)|0|0,f);f=da(k|0,4,0,0)|0|0}e=da(m|0,4,0,0)|0|0;g=e&255;f=f+76|0;if(g<<24>>24){ea(f>>0|0,g|0,1,0);if((g&255)>4){ch(c,a,13304,r);d=1;break}}else ea(f>>0|0,1|0,1,0);if((b|0)==0&(e|0)>3){m=a+24|0;ea(m|0,(da(m|0,4,0,0)|0)&-32769|0,4,0)}ea(r|0,da((da(s|0,4,0,0)|0|0)+(b<<4)|0,4,0,0)|0|0,4,0);ea(r+4|0,n|0,4,0);e=th(a,13328,r)|0;m=a+284|0;n=da(m|0,4,0,0)|0|0;ea(m|0,0|0,4,0);f=Pe(a,e,22,p,0)|0;ea(m|0,n|0,4,0);f=(f|0)==0?da(q|0,4,0,0)|0|0:f;lg(a,e);e=(f|0)==0;if(e)$m(a,b)|0;if(!(da(a+65>>0|0,1,0,0)|0)){if(!e){d=f;u=34}}else{Dg(a);d=7;u=34}if((u|0)==34?((da(a+24|0,4,0,0)|0)&65536|0)==0:0)break;d=(da((da(s|0,4,0,0)|0|0)+(b<<4)+12|0,4,0,0)|0|0)+78|0;ea(d|0,da(d|0,2,0,1)|0|1|0,2,0);d=0}while(0);if(!o)u=38;else{tn(da(t|0,4,0,0)|0|0)|0;u=38}}else{d=f;u=38}while(0);if((u|0)==38)if((d|0)==7|(d|0)==3082)ea(a+65>>0|0,1|0,1,0);i=v;return d|0}function Zn(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;l=i;i=i+80|0;if((i|0)>=(j|0))ba();k=l;ea(12066*4|0,da(2708*4|0,4,0,0)|0|0,4,0);if(!(da(12067*4|0,4,0,0)|0))ea(12067*4|0,Kb(48336)|0|0,4,0);if(!(da(12068*4|0,4,0,0)|0))ea(12068*4|0,Kb(48352)|0|0,4,0);d=k+12|0;e=0;c=0;do{if((((c|0)!=0?(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](c,k)|0)==0:0)?((da(d|0,4,0,0)|0)&61440|0)==16384:0)?(qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](c,7)|0)==0:0)break;c=da(48264+(e<<2)|0,4,0,0)|0|0;e=e+1|0}while(e>>>0<7);h=(c|0)==0?28928:c;if(((fw(h|0)|0)+25|0)>>>0<a>>>0){a=a+-18|0;do{ea(k|0,h|0,4,0);$c(a,b,48248,k)|0;d=fw(b|0)|0;c=b+d|0;bd(15,c);g=b+(d+15)|0;f=0;e=d;while(1){ea(c>>0|0,da(48184+(((da(c>>0|0,1,0,1)|0|0)%62|0)&255)>>0|0,1,0,0)|0|0|0,1,0);f=f+1|0;e=e+1|0;if((f|0)==15)break;else c=b+e|0}ea(g>>0|0,0|0,1,0);ea(b+(d+16)>>0|0,0|0,1,0)}while((qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](b,0)|0)==0);c=0}else c=1;i=l;return c|0}function _n(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();h=l;g=(c|0)!=0;e=g?c:420;f=b|524288;while(1){d=$b[(fa(da(47552+4|0,4,0,0)|0|0,63|0)|0)&63](a,f,e)|0;if((d|0)<0)if((da(Gb()|0|0,4,0,0)|0|0)==4)continue;else break;if((d|0)>2){k=6;break}kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](d)|0;ea(h|0,a|0,4,0);ea(h+4|0,d|0,4,0);ad(28,48120,h);if(($b[(fa(da(47552+4|0,4,0,0)|0|0,63|0)|0)&63](48168,b,c)|0)<0){d=-1;break}}if((k|0)==6)if(((g?(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](d,h)|0)==0:0)?(da(h+36|0,4,0,0)|0|0)==0:0)?((da(h+12|0,4,0,0)|0)&511|0)!=(c|0):0)qc[(fa(da(47552+172|0,4,0,0)|0|0,127|0)|0)&127](d,c)|0;i=l;return d|0}function $n(a,b,c){a=a|0;b=b|0;c=c|0;if(kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](b)|0){if(!a)b=0;else b=da(a+32|0,4,0,0)|0|0;bo(4106,47856,b,c)|0}return}function ao(a){a=a|0;var b=0,c=0,d=0,e=0;e=i;i=i+80|0;if((i|0)>=(j|0))ba();d=e;b=e+4|0;c=a+18|0;do if(!((da(c|0,2,0,0)|0)&256)){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,b)|0){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48592,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0);break}b=da(b+16|0,4,0,0)|0|0;if(!b){if(!((da(c|0,2,0,0)|0)&32)){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48616,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0);break}}else if(b>>>0>1){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48648,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0);break}if(wo(a)|0){ea(d|0,da(a+32|0,4,0,0)|0|0,4,0);ad(28,48680,d);ea(c|0,da(c|0,2,0,1)|0|0|256|0,2,0)}}while(0);i=e;return}function bo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;i=i+32|0;if((i|0)>=(j|0))ba();f=e;h=da(Gb()|0|0,4,0,0)|0|0;g=Qb(h|0)|0;ea(f|0,d|0,4,0);ea(f+4|0,h|0,4,0);ea(f+8|0,b|0,4,0);ea(f+12|0,((c|0)==0?10360:c)|0,4,0);ea(f+16|0,g|0,4,0);ad(a,47864,f);i=e;return a|0}function co(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+40|0;c=da(h|0,4,0,0)|0|0;g=c<<1;g=g>>>0<256?256:g;if((c|0)!=0?(b=da(3164*4|0,4,0,0)|0|0,(b|0)!=0):0)mc[(fa(b|0,3|0)|0)&3]();b=g<<2;f=pg(b,0)|0;c=(f|0)==0;if(!c)ew(f|0,0,b|0)|0;if((da(h|0,4,0,0)|0|0)!=0?(d=da(3166*4|0,4,0,0)|0|0,(d|0)!=0):0)mc[(fa(d|0,3|0)|0)&3]();if(!c){d=da(h|0,4,0,0)|0|0;e=a+44|0;b=da(e|0,4,0,0)|0|0;if(d){a=0;do{c=da(b+(a<<2)|0,4,0,0)|0|0;if(c){do{j=c+16|0;b=c;c=da(j|0,4,0,0)|0|0;i=f+((((da(b+8|0,4,0,0)|0|0)>>>0)%(g>>>0)|0)<<2)|0;ea(j|0,da(i|0,4,0,0)|0|0,4,0);ea(i|0,b|0,4,0)}while((c|0)!=0);b=da(e|0,4,0,0)|0|0}a=a+1|0}while(a>>>0<d>>>0)}Vc(b);ea(e|0,f|0,4,0);ea(h|0,g|0,4,0)}return}function eo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=a+24|0;g=a+16|0;c=a+4|0;a:do if((da(g|0,4,0,0)|0|0)>>>0>(da(c|0,4,0,0)|0|0)>>>0)do{d=da(f|0,4,0,0)|0|0;if(!d)break a;fo(d);e=da(d+20|0,4,0,0)|0|0;b=(da(e+44|0,4,0,0)|0|0)+((((da(d+8|0,4,0,0)|0|0)>>>0)%((da(e+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0;while(1){h=da(b|0,4,0,0)|0|0;a=h+16|0;if((h|0)==(d|0))break;else b=a}ea(b|0,da(a|0,4,0,0)|0|0,4,0);a=e+36|0;ea(a|0,(da(a|0,4,0,0)|0|0)+-1|0,4,0);ho(d)}while((da(g|0,4,0,0)|0|0)>>>0>(da(c|0,4,0,0)|0|0)>>>0);while(0);return}function fo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=da(a+20|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;e=a+28|0;f=da(e|0,4,0,0)|0|0;g=a+24|0;b=da(g|0,4,0,0)|0|0;if(!f)ea(d+20|0,b|0,4,0);else{ea(f+24|0,b|0,4,0);b=da(g|0,4,0,0)|0|0}if(!b)ea(d+24|0,f|0,4,0);else ea(b+28|0,f|0,4,0);ea(g|0,0|0,4,0);ea(e|0,0|0,4,0);ea(a+12>>0|0,1|0,1,0);b=c+32|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0);return}function go(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;i=da(a|0,4,0,0)|0|0;o=a+36|0;g=da(o|0,4,0,0)|0|0;e=da(a+32|0,4,0,0)|0|0;f=g-e|0;m=(c|0)==1;if(m)if(f>>>0<(da(i+12|0,4,0,0)|0|0)>>>0?f>>>0<(da(a+24|0,4,0,0)|0|0)>>>0:0){if((da(3155*4|0,4,0,0)|0|0)!=0?((da(a+8|0,4,0,0)|0|0)+(da(a+4|0,4,0,0)|0|0)|0)<=(da(3154*4|0,4,0,0)|0|0):0)c=12648|0;else c=9060|0;if(!((da(c|0,4,0,0)|0|0)!=0&e>>>0<f>>>0))l=8;else d=0}else d=0;else l=8;do if((l|0)==8){k=a+40|0;if(g>>>0>=(da(k|0,4,0,0)|0|0)>>>0)co(a);h=a+12|0;do if((da(h|0,4,0,0)|0|0)!=0?(d=da(i+24|0,4,0,0)|0|0,(d|0)!=0):0){if(((da(o|0,4,0,0)|0|0)+1|0)>>>0<(da(a+20|0,4,0,0)|0|0)>>>0?(da(i+16|0,4,0,0)|0|0)>>>0<(da(i+4|0,4,0,0)|0|0)>>>0:0){if((da(3155*4|0,4,0,0)|0|0)!=0?((da(a+8|0,4,0,0)|0|0)+(da(a+4|0,4,0,0)|0|0)|0)<=(da(3154*4|0,4,0,0)|0|0):0)c=12648|0;else c=9060|0;if(!(da(c|0,4,0,0)|0)){l=23;break}}c=d+20|0;e=da(c|0,4,0,0)|0|0;f=(da(e+44|0,4,0,0)|0|0)+((((da(d+8|0,4,0,0)|0|0)>>>0)%((da(e+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0;while(1){p=da(f|0,4,0,0)|0|0;g=p+16|0;if((p|0)==(d|0))break;else f=g}ea(f|0,da(g|0,4,0,0)|0|0,4,0);g=e+36|0;ea(g|0,(da(g|0,4,0,0)|0|0)+-1|0,4,0);fo(d);c=da(c|0,4,0,0)|0|0;if(((da(c+8|0,4,0,0)|0|0)+(da(c+4|0,4,0,0)|0|0)|0)==((da(a+8|0,4,0,0)|0|0)+(da(a+4|0,4,0,0)|0|0)|0)){j=i+16|0;ea(j|0,(da(h|0,4,0,0)|0|0)-(da(c+12|0,4,0,0)|0|0)+(da(j|0,4,0,0)|0|0)|0,4,0);break}else{ho(d);l=23;break}}else l=23;while(0);if((l|0)==23){if(m?(j=da(3164*4|0,4,0,0)|0|0,(j|0)!=0):0)mc[(fa(j|0,3|0)|0)&3]();c=a+4|0;e=Fo((da(c|0,4,0,0)|0|0)+32+(da(a+8|0,4,0,0)|0|0)|0)|0;c=da(c|0,4,0,0)|0|0;d=e+c|0;if(e){ea(d|0,e|0,4,0);ea(e+(c+4)|0,e+(c+32)|0,4,0);if(da(h|0,4,0,0)|0){l=(da(a|0,4,0,0)|0|0)+16|0;ea(l|0,(da(l|0,4,0,0)|0|0)+1|0,4,0)}}else d=0;if(m?(n=da(3166*4|0,4,0,0)|0|0,(n|0)!=0):0)mc[(fa(n|0,3|0)|0)&3]();if(!d){d=0;break}}e=(b>>>0)%((da(k|0,4,0,0)|0|0)>>>0)|0;ea(o|0,(da(o|0,4,0,0)|0|0)+1|0,4,0);ea(d+8|0,b|0,4,0);l=a+44|0;ea(d+16|0,da((da(l|0,4,0,0)|0|0)+(e<<2)|0,4,0,0)|0|0,4,0);ea(d+20|0,a|0,4,0);ea(d+28|0,0|0,4,0);ea(d+24|0,0|0,4,0);ea(d+12>>0|0,1|0,1,0);ea(da(d+4|0,4,0,0)|0|0,0|0,4,0);ea((da(l|0,4,0,0)|0|0)+(e<<2)|0,d|0,4,0);e=a+28|0;if((da(e|0,4,0,0)|0|0)>>>0<b>>>0)ea(e|0,b|0,4,0)}while(0);return d|0}function ho(a){a=a|0;var b=0;if((a|0)!=0?(b=da(a+20|0,4,0,0)|0|0,_k(da(a|0,4,0,0)|0|0),(da(b+12|0,4,0,0)|0|0)!=0):0){b=(da(b|0,4,0,0)|0|0)+16|0;ea(b|0,(da(b|0,4,0,0)|0|0)+-1|0,4,0)}return}function io(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=a+40|0;if(da(f|0,4,0,0)|0){g=a+44|0;d=a+36|0;e=0;do{c=(da(g|0,4,0,0)|0|0)+(e<<2)|0;a=da(c|0,4,0,0)|0|0;a:do if(a)do{while(1){if((da(a+8|0,4,0,0)|0|0)>>>0<b>>>0)break;ea(d|0,(da(d|0,4,0,0)|0|0)+-1|0,4,0);ea(c|0,da(a+16|0,4,0,0)|0|0,4,0);if(!(da(a+12>>0|0,1,0,0)|0))fo(a);ho(a);a=da(c|0,4,0,0)|0|0;if(!a)break a}c=a+16|0;a=da(c|0,4,0,0)|0|0}while((a|0)!=0);while(0);e=e+1|0}while(e>>>0<(da(f|0,4,0,0)|0|0)>>>0)}return}function jo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=da(a|0,4,0,0)|0|0;e=da((da(d+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0;f=((e|0)<0)<<31>>31;if(!((f|0)<(c|0)|(f|0)==(c|0)&e>>>0<b>>>0)){b=pg(b,c)|0;if(!b){Qd(a);b=0}}else{ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(d,10096,-1,1,0)|0;b=0}return b|0}function ko(a){a=a|0;var b=0,c=0,d=0,e=0;do if(a){b=da(a>>0|0,1,0,0)|0|0;c=b<<24>>24;if((c|0)==96|(c|0)==34|(c|0)==39)e=b;else if((c|0)==91)e=93;else break;c=1;d=0;while(1){b=da(a+c>>0|0,1,0,0)|0|0;if(b<<24>>24==e<<24>>24){c=c+1|0;b=a+d|0;if((da(a+c>>0|0,1,0,0)|0|0)!=e<<24>>24)break;ea(b>>0|0,e|0,1,0)}else ea(a+d>>0|0,b|0,1,0);c=c+1|0;d=d+1|0}ea(b>>0|0,0|0,1,0)}while(0);return}function lo(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.0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0;L=i;i=i+176|0;if((i|0)>=(j|0))ba();I=L+64|0;m=L+132|0;l=L+128|0;k=L+124|0;n=L+56|0;G=L+48|0;J=L+136|0;H=L;h=d+0|0;g=h+48|0;do{ea(h|0,0|0,4,0);h=h+4|0}while((h|0)<(g|0));a:do if(b){e=da(c|0,4,0,0)|0|0;b:do if(((da(10064+((da(e+8|0,2,0,1)|0)&31)>>0|0,1,0,1)|0|0)+-1|0)>>>0>=2){h=Rg(e,1)|0;if(!h){e=1;break a}g=(da(h>>0|0,1,0,0)|0|0)==45;e=g?h+1|0:h;ea(I|0,4|0,4,0);ea(I+4|0,0|0,4,0);ea(I+8|0,9999|0,4,0);ea(I+12|0,45|0,4,0);ea(I+16|0,m|0,4,0);ea(I+20|0,2|0,4,0);ea(I+24|0,1|0,4,0);ea(I+28|0,12|0,4,0);ea(I+32|0,45|0,4,0);ea(I+36|0,l|0,4,0);ea(I+40|0,2|0,4,0);ea(I+44|0,1|0,4,0);ea(I+48|0,31|0,4,0);ea(I+52|0,0|0,4,0);ea(I+56|0,k|0,4,0);do if((qq(e,I)|0)==3){e=e+10|0;while(1){f=da(e>>0|0,1,0,0)|0|0;if(f<<24>>24==84?1:((da(10368+(f&255)>>0|0,1,0,0)|0)&1)!=0)e=e+1|0;else break}if(rq(e,d)|0){if(da(e>>0|0,1,0,0)|0)break;ea(d+41>>0|0,0|0,1,0)}ea(d+42>>0|0,0|0,1,0);ea(d+40>>0|0,1|0,1,0);D=da(m|0,4,0,0)|0|0;ea(d+8|0,(g?0-D|0:D)|0,4,0);ea(d+12|0,da(l|0,4,0,0)|0|0,4,0);ea(d+16|0,da(k|0,4,0,0)|0|0,4,0);if(!(da(d+43>>0|0,1,0,0)|0))break b;mo(d);break b}while(0);if(rq(h,d)|0){if(!(cd(h,20080)|0))if(!(pq(a,d)|0))break;else{e=1;break a}else e=h;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;if(!(Sl(h,n,e-h&1073741823,1)|0)){e=1;break a}o=+(+da(n|0,8,1,0))*864.0e5+.5;D=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;B=d;ea(B|0,~~o>>>0|0,4,0);ea(B+4|0,D|0,4,0);ea(d+42>>0|0,1|0,1,0)}}else{o=+Tg(e)*864.0e5+.5;D=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;B=d;ea(B|0,~~o>>>0|0,4,0);ea(B+4|0,D|0,4,0);ea(d+42>>0|0,1|0,1,0)}while(0);if((b|0)>1){f=d+40|0;e=d+41|0;r=d+43|0;s=d+42|0;t=J+8|0;u=t;v=J+9|0;w=d+24|0;x=d+20|0;y=d+32|0;z=d+16|0;A=d+12|0;B=J+1|0;D=d+8|0;E=1;while(1){l=Rg(da(c+(E<<2)|0,4,0,0)|0|0,1)|0;if(!l){e=1;break a}ea(I|0,1|0,4,0);n=0;do{m=da(l+n>>0|0,1,0,0)|0|0;if(!(m<<24>>24))break;ea(J+n>>0|0,da(9328+(m&255)>>0|0,1,0,0)|0|0|0,1,0);n=n+1|0}while((n|0)<29);ea(J+n>>0|0,0|0,1,0);c:do switch(da(J>>0|0,1,0,0)|0|0){case 119:{if(!(_v(J,19976,8)|0)){n=t;while(1)if(!(da(n>>0|0,1,0,0)|0))break;else n=n+1|0;if((Sl(t,G,n-u&1073741823,1)|0)!=0?(o=+(+da(G|0,8,1,0)),F=~~o,+(F|0)==o&(F|0)>-1&o<7.0):0){no(d);oo(d);ea(r>>0|0,0|0,1,0);ea(s>>0|0,0|0,1,0);mo(d);g=d;n=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;l=iw(n|0,g|0,1296e5,0)|0;l=pw(l|0,C|0,864e5,0)|0;l=qw(l|0,C|0,7,0)|0;h=C;O=((F|0)<0)<<31>>31;k=(h|0)>(O|0)|(h|0)==(O|0)&l>>>0>F>>>0;m=iw(l|0,h|0,-7,-1)|0;h=cw(F|0,O|0,(k?m:l)|0,(k?C:h)|0)|0;h=rw(h|0,C|0,864e5,0)|0;g=iw(h|0,C|0,n|0,g|0)|0;n=d;ea(n|0,g|0,4,0);ea(n+4|0,C|0,4,0);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);ea(I|0,0|0,4,0);n=0}else K=82}else K=82;break}case 117:{if((Zv(J,19952)|0)==0?(da(s>>0|0,1,0,0)|0|0)!=0:0){g=d;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,43200,0)|0;g=pw(g|0,C|0,86400,0)|0;g=iw(g|0,C|0,1045635584,49096)|0;n=d;ea(n|0,g|0,4,0);ea(n+4|0,C|0,4,0);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);ea(I|0,0|0,4,0);n=0;break c}if(!(Zv(J,19968)|0)){mo(d);m=sq(d,a,I)|0;l=C;n=da(I|0,4,0,0)|0|0;if(!n){g=d;g=cw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,m|0,l|0)|0;K=d;ea(K|0,g|0,4,0);ea(K+4|0,C|0,4,0);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);K=sq(d,a,I)|0;K=cw(m|0,l|0,K|0,C|0)|0;g=d;g=iw(K|0,C|0,da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0)|0;K=d;ea(K|0,g|0,4,0);ea(K+4|0,C|0,4,0);K=82}}else K=82;break}case 108:{if(!(Zv(J,19936)|0)){mo(d);g=sq(d,a,I)|0;K=d;g=iw(da(K|0,4,0,0)|0|0,da(K+4|0,4,0,0)|0|0,g|0,C|0)|0;K=d;ea(K|0,g|0,4,0);ea(K+4|0,C|0,4,0);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);K=82}else K=82;break}case 115:{if(!(_v(J,19992,9)|0)){no(d);ea(e>>0|0,1|0,1,0);ea(w|0,0|0,4,0);ea(x|0,0|0,4,0);ea(y|0,+(0.0),8,1);ea(r>>0|0,0|0,1,0);ea(s>>0|0,0|0,1,0);if(!(Zv(v,20008)|0)){ea(z|0,1|0,4,0);ea(I|0,0|0,4,0);n=0;break c}if(!(Zv(v,20016)|0)){no(d);ea(A|0,1|0,4,0);ea(z|0,1|0,4,0);ea(I|0,0|0,4,0);n=0;break c}if(!(Zv(v,20024)|0)){ea(I|0,0|0,4,0);n=0}else K=82}else K=82;break}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:case 45:case 43:{l=1;while(1){n=J+l|0;m=da(n>>0|0,1,0,0)|0|0;if(m<<24>>24==58|m<<24>>24==0){m=n;break}if(!((da(10368+(m&255)>>0|0,1,0,0)|0)&1))l=l+1|0;else{m=n;break}}if(!(Sl(J,G,l,1)|0)){ea(I|0,1|0,4,0);n=1;break c}n=da(m>>0|0,1,0,0)|0|0;if(n<<24>>24==58){n=((da(J>>0|0,1,0,1)|0|0)+-48|0)>>>0<10?J:B;h=H+0|0;g=h+48|0;do{ea(h|0,0|0,4,0);h=h+4|0}while((h|0)<(g|0));if(rq(n,H)|0){K=82;break c}mo(H);n=H;n=iw(da(n|0,4,0,0)|0|0,da(n+4|0,4,0,0)|0|0,-432e5,-1)|0;n=qw(n|0,C|0,864e5,0)|0;m=C;g=H;ea(g|0,n|0,4,0);ea(g+4|0,m|0,4,0);if((da(J>>0|0,1,0,0)|0|0)==45){n=cw(0,0,n|0,m|0)|0;m=C;g=H;ea(g|0,n|0,4,0);ea(g+4|0,m|0,4,0)}mo(d);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);g=d;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,n|0,m|0)|0;n=d;ea(n|0,g|0,4,0);ea(n+4|0,C|0,4,0);ea(I|0,0|0,4,0);n=0;break c}if((da(10368+(n&255)>>0|0,1,0,0)|0)&1){m=J+(l+1)|0;while(1){n=da(m>>0|0,1,0,0)|0|0;if(!((da(10368+(n&255)>>0|0,1,0,0)|0)&1))break;else m=m+1|0}}if(!(n<<24>>24))n=m;else{n=m;do n=n+1|0;while((da(n>>0|0,1,0,0)|0|0)!=0)}n=n-m&1073741823;if((n+-3|0)>>>0>7)K=82;else{l=n+-1|0;k=m+l|0;if((da(k>>0|0,1,0,0)|0|0)==115){ea(k>>0|0,0|0,1,0);n=l}mo(d);ea(I|0,0|0,4,0);p=+(+da(G|0,8,1,0));q=p<0.0?-.5:.5;do if((n|0)==3)if(!(Zv(m,20024)|0)){o=p*864.0e5+q;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0)}else K=80;else if((n|0)==4){if(!(Zv(m,20032)|0)){o=p*36.0e5+q;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0);break}if(!(Zv(m,20016)|0)){g=~~p;no(d);oo(d);ea(D|0,(da(D|0,4,0,0)|0|0)+g|0,4,0);ea(s>>0|0,0|0,1,0);mo(d);o=+(g|0);if(o!=p){o=q+(p-o)*365.0*864.0e5;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0)}}else K=80}else if((n|0)==6){if(!(Zv(m,20040)|0)){o=p*6.0e4+q;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0);break}if(!(Zv(m,20048)|0)){o=p*1.0e3+q;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0)}else K=80}else if((n|0)==5?(Zv(m,20008)|0)==0:0){no(d);oo(d);g=~~p;h=(da(A|0,4,0,0)|0|0)+g|0;k=(((h|0)>0?-1:-12)+h|0)/12|0;ea(D|0,(da(D|0,4,0,0)|0|0)+k|0,4,0);ea(A|0,(_(k,-12)|0)+h|0,4,0);ea(s>>0|0,0|0,1,0);mo(d);o=+(g|0);if(o!=p){o=q+(p-o)*30.0*864.0e5;h=+N(o)>=1.0?(o>0.0?~~+$(+M(o/4294967296.0),4294967295.0)>>>0:~~+Z((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=d;h=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,~~o>>>0|0,h|0)|0;g=d;ea(g|0,h|0,4,0);ea(g+4|0,C|0,4,0)}}else K=80;while(0);if((K|0)==80)ea(I|0,1|0,4,0);ea(f>>0|0,0|0,1,0);ea(e>>0|0,0|0,1,0);ea(r>>0|0,0|0,1,0);K=82}break}default:K=82}while(0);if((K|0)==82){K=0;n=da(I|0,4,0,0)|0|0}E=E+1|0;if(n){e=1;break a}if((E|0)>=(b|0)){e=0;break a}}}else e=0}else e=pq(a,d)|0;while(0);i=L;return e|0}function mo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0.0;f=a+42|0;if(!(da(f>>0|0,1,0,0)|0)){g=a+40|0;if(da(g>>0|0,1,0,0)|0){c=da(a+8|0,4,0,0)|0|0;b=da(a+12|0,4,0,0)|0|0;d=da(a+16|0,4,0,0)|0|0;if((b|0)<3)e=4}else{d=1;b=1;c=2e3;e=4}if((e|0)==4){b=b+12|0;c=c+-1|0}k=(+(d+2+((c|0)/-100|0)+((c|0)/400|0)+(((c*36525|0)+172251900|0)/100|0)+(((b*306001|0)+306001|0)/1e4|0)|0)+-1524.5)*864.0e5;c=~~k>>>0;d=+N(k)>=1.0?(k>0.0?~~+$(+M(k/4294967296.0),4294967295.0)>>>0:~~+Z((k-+(~~k>>>0))/4294967296.0)>>>0):0;b=a;ea(b|0,c|0,4,0);ea(b+4|0,d|0,4,0);ea(f>>0|0,1|0,1,0);b=a+41|0;if((da(b>>0|0,1,0,0)|0|0)!=0?(h=_(da(a+20|0,4,0,0)|0|0,36e5)|0,h=((da(a+24|0,4,0,0)|0|0)*6e4|0)+h|0,k=+(+da(a+32|0,8,1,0))*1.0e3,i=iw(~~k>>>0|0,(+N(k)>=1.0?(k>0.0?~~+$(+M(k/4294967296.0),4294967295.0)>>>0:~~+Z((k-+(~~k>>>0))/4294967296.0)>>>0):0)|0,c|0,d|0)|0,h=iw(i|0,C|0,h|0,((h|0)<0)<<31>>31|0)|0,i=C,j=a,ea(j|0,h|0,4,0),ea(j+4|0,i|0,4,0),j=a+43|0,(da(j>>0|0,1,0,0)|0|0)!=0):0){d=(da(a+28|0,4,0,0)|0|0)*6e4|0;d=cw(h|0,i|0,d|0,((d|0)<0)<<31>>31|0)|0;c=a;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);ea(g>>0|0,0|0,1,0);ea(b>>0|0,0|0,1,0);ea(j>>0|0,0|0,1,0)}}return}function no(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=a+40|0;if(!(da(e>>0|0,1,0,0)|0)){if(!(da(a+42>>0|0,1,0,0)|0)){b=2e3;c=1;d=1}else{b=a;b=iw(da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0,432e5,0)|0;b=pw(b|0,C|0,864e5,0)|0;f=~~((+(b|0)+-1867216.25)/36524.25);f=b+1525+f+((f|0)/-4|0)|0;b=~~((+(f|0)+-122.1)/365.25);f=f-((b*36525|0)/100|0)|0;d=~~(+(f|0)/30.6001);c=((d|0)<14?-1:-13)+d|0;b=((c|0)>2?-4716:-4715)+b|0;d=f-~~(+(d|0)*30.6001)|0}ea(a+16|0,d|0,4,0);ea(a+12|0,c|0,4,0);ea(a+8|0,b|0,4,0);ea(e>>0|0,1|0,1,0)}return}function oo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0.0;b=a+41|0;if(!(da(b>>0|0,1,0,0)|0)){mo(a);e=a;e=iw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,432e5,0)|0;e=qw(e|0,C|0,864e5,0)|0;f=+(e|0)/1.0e3;e=~~f;d=(e|0)/3600|0;ea(a+20|0,d|0,4,0);d=(_(d,-3600)|0)+e|0;c=(d|0)/60|0;ea(a+24|0,c|0,4,0);ea(a+32|0,+(f-+(e|0)+ +(d+(_(c,-60)|0)|0)),8,1);ea(b>>0|0,1|0,1,0)}return}function po(a){a=a|0;lg(da(a+52|0,4,0,0)|0|0,a);return}function qo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=a+65|0;do if(!(da(f>>0|0,1,0,0)|0)){if(!b){e=lh(a,c,d)|0;break}if((da(a+276|0,4,0,0)|0|0)>>>0<=b>>>0?(da(a+280|0,4,0,0)|0|0)>>>0>b>>>0:0){f=a+248|0;if(!(0<d>>>0|(0==(d|0)?(da(f|0,2,0,1)|0|0)>>>0<c>>>0:0))){e=b;break}e=lh(a,c,d)|0;if(!e){e=0;break}jw(e|0,b|0,da(f|0,2,0,1)|0|0)|0;lg(a,b);break}if((Kc()|0)==0?(e=qg(b,c,d)|0,(e|0)!=0):0)break;ea(f>>0|0,1|0,1,0);e=0}else e=0;while(0);return e|0}function ro(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a)a=0;else{d=da(a+4|0,4,0,0)|0|0;ea(d+4|0,da(a|0,4,0,0)|0|0,4,0);d=d+22|0;a=da(d|0,2,0,0)|0|0;if((b|0)>-1){c=a&65535;a=c&65531;ea(d|0,a|0,2,0);if(b){a=(c|4)&65535;ea(d|0,a|0,2,0)}}a=(a&65535)>>>2&1}return a|0}function so(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=da(a+4|0,4,0,0)|0|0;ea(e+4|0,da(a|0,4,0,0)|0|0,4,0);e=da(e|0,4,0,0)|0|0;c=b&3;if((c|0)!=1){d=da(e+12>>0|0,1,0,0)|0|0;a=e+7|0;ea(a>>0|0,d<<24>>24!=0&1|0,1,0);if((c|0)==3)d=d<<24>>24==0&1;else d=0}else{a=e+7|0;ea(a>>0|0,1|0,1,0);d=0}ea(e+8>>0|0,d|0,1,0);do if(!(da(a>>0|0,1,0,0)|0)){if(b&4){ea(e+11>>0|0,3|0,1,0);ea(e+9>>0|0,3|0,1,0);a=3;break}ea(e+11>>0|0,2|0,1,0);a=e+9|0;if(!(b&8)){ea(a>>0|0,2|0,1,0);a=2;break}else{ea(a>>0|0,3|0,1,0);a=2;break}}else{ea(e+11>>0|0,0|0,1,0);ea(e+9>>0|0,0|0,1,0);a=0}while(0);if(d<<24>>24)a=(a&255|32)&255;ea(e+10>>0|0,a|0,1,0);c=e+20|0;a=da(c>>0|0,1,0,1)|0|0;ea(c>>0|0,((b&16|0)==0?a|1:a&254)|0,1,0);return}function to(a){a=a|0;var b=0,c=0;c=a+12|0;b=da(c|0,4,0,0)|0|0;if((b|0)>-1){$n(a,b,27311);ea(c|0,-1|0,4,0)}Vc(da(a+28|0,4,0,0)|0|0);b=a+0|0;c=b+44|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));return}function uo(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;h=e&131071;while(1){g=bb(a|0,b|0,0)|0;if(!((g|0)==(b|0)&(((g|0)<0)<<31>>31|0)==(c|0))){i=3;break}g=$b[(fa(da(47552+136|0,4,0,0)|0|0,63|0)|0)&63](a,d,h)|0;if((g|0)>=0)break;e=da(Gb()|0|0,4,0,0)|0|0;if((e|0)!=4){i=9;break}}if((i|0)==3)if(!f)g=-1;else{if((g|0)==-1)g=da(Gb()|0|0,4,0,0)|0|0;else g=0;ea(f|0,g|0,4,0);g=-1}else if((i|0)==9)if(f)ea(f|0,e|0,4,0);return g|0}function vo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=da(c|0,4,0,0)|0|0;do if((d|0)>=0){b=b&255;if(!d){c=a+18|0;ea(c|0,(da(c|0,2,0,1)|0|0)&(b^65535)|0,2,0);break}else{c=a+18|0;ea(c|0,da(c|0,2,0,1)|0|0|b|0,2,0);break}}else ea(c|0,((da(a+18|0,2,0,1)|0|0)&(b&255)|0)!=0&1|0,4,0);while(0);return}function wo(a){a=a|0;var b=0,c=0,d=0;d=i;i=i+80|0;if((i|0)>=(j|0))ba();c=d;b=a+8|0;if(da(b|0,4,0,0)|0)if(!(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](da(a+32|0,4,0,0)|0|0,c)|0))b=(da(c+72|0,4,0,0)|0|0)!=(da((da(b|0,4,0,0)|0|0)+4|0,4,0,0)|0|0);else b=1;else b=0;i=d;return b&1|0}function xo(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=i;i=i+32|0;if((i|0)>=(j|0))ba();g=h;f=h+8|0;e=(da((da(a+8|0,4,0,0)|0|0)+20|0,4,0,0)|0|0)+12|0;if((da(e|0,4,0,0)|0|0)>-1){ea(f+0|0,0|0,4,0);ea(f+4|0,0|0,4,0);ea(f+8|0,0|0,4,0);ea(f+12|0,0|0,4,0);ea(f|0,b|0,2,0);ea(f+2|0,0|0,2,0);ea(f+4|0,c|0,4,0);ea(f+8|0,d|0,4,0);b=a+18|0;d=(((da(b|0,2,0,0)|0)&512)>>>9)+13|0;c=da(11910*4|0,4,0,0)|0|0;e=da(e|0,4,0,0)|0|0;ea(g|0,f|0,4,0);e=($b[(fa(c|0,63|0)|0)&63](e,d,g)|0)!=-1;ea(b|0,(da(b|0,2,0,1)|0|0)&65023|0,2,0);e=e?0:5}else e=0;i=h;return e|0}function yo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=da((da(a+8|0,4,0,0)|0|0)+20|0,4,0,0)|0|0;if((h|0)!=0?(da(h+28|0,4,0,0)|0|0)==0:0){b=gc[(fa(da(47552+292|0,4,0,0)|0|0,7|0)|0)&7]()|0;if((b|0)<32768)d=1;else d=(b|0)/32768|0;e=h+20|0;if(!(da(e|0,2,0,0)|0)){c=h+12|0;b=h+24|0}else{c=h+12|0;b=h+24|0;f=h+16|0;g=0;do{if((da(c|0,4,0,0)|0|0)>-1)qc[(fa(da(47552+268|0,4,0,0)|0|0,127|0)|0)&127](da((da(b|0,4,0,0)|0|0)+(g<<2)|0,4,0,0)|0|0,da(f|0,4,0,0)|0|0)|0;else Vc(da((da(b|0,4,0,0)|0|0)+(g<<2)|0,4,0,0)|0|0);g=g+d|0}while((g|0)<(da(e|0,2,0,1)|0|0))}Vc(da(b|0,4,0,0)|0|0);b=da(c|0,4,0,0)|0|0;if((b|0)>-1){$n(a,b,29591);ea(c|0,-1|0,4,0)}ea((da(h|0,4,0,0)|0|0)+20|0,0|0,4,0);Vc(h)}return}function zo(a){a=a|0;var b=0,c=0,d=0;c=(da(a+8|0,4,0,0)|0|0)+28|0;b=da(c|0,4,0,0)|0|0;if(b)do{d=b;b=da(b+8|0,4,0,0)|0|0;$n(a,da(d|0,4,0,0)|0|0,26573);Vc(d)}while((b|0)!=0);ea(c|0,0|0,4,0);return}function Ao(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;d=g+8|0;f=da(a+8|0,4,0,0)|0|0;c=da(a+18|0,2,0,0)|0|0;if(!(c&1))if((da(f+13>>0|0,1,0,0)|0|0)!=0&(c&2)==0)c=4;else c=7;else if(!(c&2))c=4;else c=7;if((c|0)==4){c=f+13|0;if(!(da(c>>0|0,1,0,0)|0)){ea(d+2|0,0|0,2,0);ea(d+4|0,(da(2514*4|0,4,0,0)|0|0)+2|0,4,0);ea(d+8|0,510|0,4,0);ea(d|0,1|0,2,0);h=da(11910*4|0,4,0,0)|0|0;b=da(a+12|0,4,0,0)|0|0;ea(e|0,d|0,4,0);b=$b[(fa(h|0,63|0)|0)&63](b,13,e)|0;if((b|0)>=0){ea(c>>0|0,1|0,1,0);c=f+24|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0)}}else b=0}else if((c|0)==7){d=da(11910*4|0,4,0,0)|0|0;c=da(a+12|0,4,0,0)|0|0;ea(e|0,b|0,4,0);b=$b[(fa(d|0,63|0)|0)&63](c,13,e)|0}i=g;return b|0}function Bo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;do if(b){e=da(b|0,4,0,0)|0|0;if(!e){ea(b|0,1|0,4,0);ea(b+4|0,c|0,4,0);f=9;break}g=b+4|0;d=da(g|0,4,0,0)|0|0;ea(b|0,e+1|0,4,0);ea(g|0,c|0,4,0);if(d){ea(c|0,d|0,4,0);d=d+4|0;ea(c+4|0,da(d|0,4,0,0)|0|0,4,0);e=da(d|0,4,0,0)|0|0;if(!e)ea(a+8|0,c|0,4,0);else ea(e|0,c|0,4,0);ea(d|0,c|0,4,0)}else f=9}else f=9;while(0);if((f|0)==9){d=a+8|0;e=da(d|0,4,0,0)|0|0;ea(c|0,e|0,4,0);if(e)ea(e+4|0,c|0,4,0);ea(c+4|0,0|0,4,0);ea(d|0,c|0,4,0)}return}function Co(a,b){a=a|0;b=b|0;var c=0,d=0;if(b){if((da(b|0,4,0,0)|0|0)>0){c=0;d=b+8|0;while(1){lg(a,da(d+4|0,4,0,0)|0|0);lg(a,da(d+8|0,4,0,0)|0|0);lg(a,da(d+12|0,4,0,0)|0|0);lg(a,da(d+64|0,4,0,0)|0|0);jg(a,da(d+16|0,4,0,0)|0|0);Lk(a,da(d+20|0,4,0,0)|0|0,1);Fk(a,da(d+44|0,4,0,0)|0|0);Gk(a,da(d+48|0,4,0,0)|0|0);c=c+1|0;if((c|0)>=(da(b|0,4,0,0)|0|0))break;else d=d+72|0}}lg(a,b)}return}function Do(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=Eo(a,c)|0;if((c|0)>0){d=a+12|0;jw((da(a+8|0,4,0,0)|0|0)+(da(d|0,4,0,0)|0|0)|0,b|0,c|0)|0;ea(d|0,(da(d|0,4,0,0)|0|0)+c|0,4,0)}return}function Eo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;g=a+25|0;do if(!(da(g>>0|0,1,0,0)|0)){d=da(a+24>>0|0,1,0,0)|0|0;if(!(d<<24>>24)){c=a+16|0;b=(da(c|0,4,0,0)|0|0)+-1-(da(a+12|0,4,0,0)|0|0)|0;ea(g>>0|0,2|0,1,0);ea(c|0,0|0,4,0);break}h=a+8|0;c=da(h|0,4,0,0)|0|0;e=(c|0)==(da(a+4|0,4,0,0)|0|0)?0:c;f=a+12|0;l=da(f|0,4,0,0)|0|0;c=((l|0)<0)<<31>>31;o=b+1|0;o=iw(l|0,c|0,o|0,((o|0)<0)<<31>>31|0)|0;m=C;c=iw(o|0,m|0,l|0,c|0)|0;l=C;j=da(a+20|0,4,0,0)|0|0;k=((j|0)<0)<<31>>31;n=(l|0)>(k|0)|(l|0)==(k|0)&c>>>0>j>>>0;c=n?o:c;l=n?m:l;if((l|0)>(k|0)|(l|0)==(k|0)&c>>>0>j>>>0){fn(a);ea(g>>0|0,2|0,1,0);ea(a+16|0,0|0,4,0);b=0;break}j=a+16|0;ea(j|0,c|0,4,0);if(d<<24>>24==1)d=qo(da(a|0,4,0,0)|0|0,e,c,((c|0)<0)<<31>>31)|0;else d=Wc(e,c)|0;if(!d){fn(a);ea(g>>0|0,1|0,1,0);ea(j|0,0|0,4,0);b=0;break}if((e|0)==0?(i=da(f|0,4,0,0)|0|0,(i|0)>0):0)jw(d|0,da(h|0,4,0,0)|0|0,i|0)|0;ea(h|0,d|0,4,0);c=da(a|0,4,0,0)|0|0;do if(!c)c=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](d)|0;else{if((da(c+276|0,4,0,0)|0|0)>>>0<=d>>>0?(da(c+280|0,4,0,0)|0|0)>>>0>d>>>0:0){c=da(c+248|0,2,0,1)|0|0;break}c=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](d)|0}while(0);ea(j|0,c|0,4,0)}else b=0;while(0);return b|0}function Fo(a){a=a|0;var b=0,c=0;if((da(3154*4|0,4,0,0)|0|0)>=(a|0)?(b=da(3160*4|0,4,0,0)|0|0,(b|0)!=0):0){ea(3160*4|0,da(b|0,4,0,0)|0|0,4,0);c=da(3161*4|0,4,0,0)|0|0;ea(3161*4|0,c+-1|0,4,0);ea(3162*4|0,(c|0)<=(da(3156*4|0,4,0,0)|0|0)&1|0,4,0);ea(2173*4|0,a|0,4,0);if((da(2183*4|0,4,0,0)|0|0)>>>0<a>>>0)ea(2183*4|0,a|0,4,0);c=(da(2167*4|0,4,0,0)|0|0)+1|0;ea(2167*4|0,c|0,4,0);if(c>>>0>(da(2177*4|0,4,0,0)|0|0)>>>0)ea(2177*4|0,c|0,4,0)}else{b=pg(a,((a|0)<0)<<31>>31)|0;if(b){c=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0;ea(2173*4|0,a|0,4,0);if((da(2183*4|0,4,0,0)|0|0)>>>0<a>>>0)ea(2183*4|0,a|0,4,0);c=(da(2168*4|0,4,0,0)|0|0)+c|0;ea(2168*4|0,c|0,4,0);if(c>>>0>(da(2178*4|0,4,0,0)|0|0)>>>0)ea(2178*4|0,c|0,4,0)}else b=0}return b|0}function Go(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=a+20|0;if(da(f|0,4,0,0)|0){d=a+24|0;g=$b[(fa(da(8744+120|0,4,0,0)|0|0,63|0)|0)&63](b,(da(d|0,4,0,0)|0|0)+40|0,da(a+28>>0|0,1,0,1)|0|0)|0;if(!g)c=7;else{e=da(2217*4|0,4,0,0)|0|0;c=da(a+16|0,4,0,0)|0|0;if((c|0)<=-1){h=rw(c|0,((c|0)<0)<<31>>31|0,-1024,-1)|0;c=(da(d|0,4,0,0)|0|0)+(da(f|0,4,0,0)|0|0)|0;c=pw(h|0,C|0,c|0,((c|0)<0)<<31>>31|0)|0}ic[(fa(e|0,15|0)|0)&15](g,c);c=a+40|0;d=da(c|0,4,0,0)|0|0;if(d)bc[(fa(da(8744+148|0,4,0,0)|0|0,31|0)|0)&31](d);ea(c|0,g|0,4,0);ea(a+44|0,0|0,4,0);ea(f|0,b|0,4,0);c=0}}else c=0;return c|0}function Ho(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;d=da(a+208|0,4,0,0)|0|0;if(((d|0)!=0?(da(d+40|0,2,0,0)|0|0)>-1:0)?(c=da(d+72|0,4,0,0)|0|0,(c|0)!=0):0){d=c;f=8}else f=4;do if((f|0)==4){d=e;ea(d|0,0|0,4,0);ea(d+4|0,0|0,4,0);d=da(a+60|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;if(!c){c=-1;d=-1}else{c=qc[(fa(da(c+24|0,4,0,0)|0|0,127|0)|0)&127](d,e)|0;if(c)break;c=e;c=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,-1,-1)|0;d=C}e=da(a+152|0,4,0,0)|0|0;f=((e|0)<0)<<31>>31;d=iw(c|0,d|0,e|0,f|0)|0;d=pw(d|0,C|0,e|0,f|0)|0;f=8}while(0);if((f|0)==8){c=a+156|0;if(d>>>0>(da(c|0,4,0,0)|0|0)>>>0)ea(c|0,d|0,4,0);ea(b|0,d|0,4,0);c=0}i=g;return c|0}function Io(a){a=a|0;var b=0,c=0;c=a+64|0;if(!((da(a+7>>0|0,1,0,0)|0|0)==0?(b=da(c|0,4,0,0)|0|0,b=qc[(fa(da((da(b|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](b,2)|0,(b|0)!=0):0)){b=da(c|0,4,0,0)|0|0;b=qc[(fa(da((da(b|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](b,a+80|0)|0}return b|0}function Jo(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,D=0;D=i;i=i+48|0;if((i|0)>=(j|0))ba();A=D+16|0;z=D+8|0;y=D+36|0;u=D;m=D+32|0;t=D+28|0;x=D+24|0;d=da(a|0,4,0,0)|0|0;ea(t|0,0|0,4,0);ea(x|0,1|0,4,0);w=a+64|0;e=da(w|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](e,u)|0;a:do if(!e){v=a+200|0;e=da(v|0,4,0,0)|0|0;f=tq(da(w|0,4,0,0)|0|0,e,(da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0)+1|0)|0;if(!f){if(!(da(e>>0|0,1,0,0)|0))e=0;else e=oc[(fa(da(d+32|0,4,0,0)|0|0,31|0)|0)&31](d,e,0,x)|0;b:do if((e|0)==0&(da(x|0,4,0,0)|0|0)!=0){s=a+72|0;r=s;ea(r|0,0|0,4,0);ea(r+4|0,0|0,4,0);r=a+148|0;q=a+152|0;p=a+80|0;o=a+24|0;d=0;g=b;c:while(1){do{e=u;e=uq(a,b,da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,m,t)|0;if((e|0)==101)break c;else if(e){B=27;break b}f=da(m|0,4,0,0)|0|0;if((f|0)==-1){e=u;e=cw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,da(r|0,4,0,0)|0|0,0)|0;f=(da(q|0,4,0,0)|0|0)+8|0;f=pw(e|0,C|0,f|0,((f|0)<0)<<31>>31|0)|0;ea(m|0,f|0,4,0)}if(!(f|b)){h=p;e=da(r|0,4,0,0)|0|0;h=iw(e|0,0,da(h|0,4,0,0)|0|0,da(h+4|0,4,0,0)|0|0)|0;l=C;k=s;n=da(k|0,4,0,0)|0|0;k=da(k+4|0,4,0,0)|0|0;if((h|0)==(n|0)&(l|0)==(k|0)){k=u;k=cw(da(k|0,4,0,0)|0|0,da(k+4|0,4,0,0)|0|0,h|0,l|0)|0;f=(da(q|0,4,0,0)|0|0)+8|0;f=pw(k|0,C|0,f|0,((f|0)<0)<<31>>31|0)|0;ea(m|0,f|0,4,0);k=l}else h=n}else{h=s;e=da(r|0,4,0,0)|0|0;k=da(h+4|0,4,0,0)|0|0;h=da(h|0,4,0,0)|0|0}if((h|0)==(e|0)&(k|0)==0){e=da(t|0,4,0,0)|0|0;h=Al(a,e)|0;if(h){c=h;B=25;break a}ea(o|0,e|0,4,0)}}while((f|0)==0);h=0;while(1){if(g)wn(a);e=vq(a,s,0,1,0)|0;if((e|0)==101)break;else if((e|0)==522)break c;else if(e){B=27;break b}d=d+1|0;e=h+1|0;if(e>>>0<f>>>0){g=0;h=e}else{g=0;continue c}}f=u;g=da(f+4|0,4,0,0)|0|0;e=s;ea(e|0,da(f|0,4,0,0)|0|0,4,0);ea(e+4|0,g|0,4,0);g=0}ea(a+18>>0|0,da(a+12>>0|0,1,0,0)|0|0|0,1,0);t=d}else{d=0;B=27}while(0);if((B|0)==27){ea(a+18>>0|0,da(a+12>>0|0,1,0,0)|0|0|0,1,0);if(!e)t=d;else{c=e;break}}s=da(v|0,4,0,0)|0|0;e=tq(da(w|0,4,0,0)|0|0,s,(da((da(a|0,4,0,0)|0|0)+8|0,4,0,0)|0|0)+1|0)|0;if(!e){if(((da(a+16>>0|0,1,0,0)|0|0)+-1&255)>2?(c=Hg(a,0)|0,(c|0)!=0):0){d=t;break}c=Bl(a,(da(s>>0|0,1,0,0)|0|0)!=0&1,0)|0;if(!c)if((da(s>>0|0,1,0,0)|0|0)!=0&(da(x|0,4,0,0)|0|0)!=0){q=da(a|0,4,0,0)|0|0;e=q+4|0;d=(da(e|0,4,0,0)|0)<<1;r=pg(d,((d|0)<0)<<31>>31)|0;if(!r){d=t;c=7}else{ew(r|0,0,d|0)|0;o=r+(da(e|0,4,0,0)|0|0)|0;p=q+24|0;c=sc[(fa(da(p|0,4,0,0)|0|0,31|0)|0)&31](q,s,r,16385,0)|0;d:do if(!c){c=qc[(fa(da((da(r|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](r,z)|0;if(!c){m=(da(q+8|0,4,0,0)|0|0)+1|0;d=z;d=iw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,1,0)|0;d=iw(d|0,C|0,m|0,((m|0)<0)<<31>>31|0)|0;d=pg(d,C)|0;if(d){n=z;c=da(n|0,4,0,0)|0|0;n=iw(c|0,da(n+4|0,4,0,0)|0|0,1,0)|0;n=d+n|0;c=sc[(fa(da((da(r|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](r,d,c,0,0)|0;if(!c){ea(d+(da(z|0,4,0,0)|0|0)>>0|0,0|0,1,0);l=d;x=z;w=da(x+4|0,4,0,0)|0|0;if((w|0)>0|(w|0)==0&(da(x|0,4,0,0)|0|0)>>>0>0){h=q+32|0;k=l;g=d;do{c=oc[(fa(da(h|0,4,0,0)|0|0,31|0)|0)&31](q,g,0,y)|0;if(c){B=55;break d}do if(da(y|0,4,0,0)|0){c=sc[(fa(da(p|0,4,0,0)|0|0,31|0)|0)&31](q,g,o,2049,0)|0;if(c){B=55;break d}c=tq(o,n,m)|0;f=da(o|0,4,0,0)|0|0;if(f){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](o)|0;ea(o|0,0|0,4,0)}if(c){B=55;break d}if(!(da(n>>0|0,1,0,0)|0))break;if(!(Zv(n,s)|0)){c=0;B=55;break d}}while(0);if(!g)f=1;else{f=g;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=(f-k&1073741823)+1|0}g=g+f|0;k=g;f=k-l|0;w=((f|0)<0)<<31>>31;e=z;x=da(e+4|0,4,0,0)|0|0}while((w|0)<(x|0)|((w|0)==(x|0)?f>>>0<(da(e|0,4,0,0)|0|0)>>>0:0))}c=da(r|0,4,0,0)|0|0;if(c){kc[(fa(da(c+4|0,4,0,0)|0|0,127|0)|0)&127](r)|0;ea(r|0,0|0,4,0)}c=$b[(fa(da(q+28|0,4,0,0)|0|0,63|0)|0)&63](q,s,0)|0;Vc(d)}else B=55}else{c=7;d=0;B=55}}else{d=0;B=55}}else{d=0;B=55}while(0);if((B|0)==55)Vc(d);d=da(r|0,4,0,0)|0|0;if(d){kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](r)|0;ea(r|0,0|0,4,0)}Vc(r);d=t}}else{d=t;c=0}else d=t}else{d=t;c=e}}else{d=0;c=f;B=25}}else{d=0;c=e;B=25}while(0);if((B|0)==25)ea(a+18>>0|0,da(a+12>>0|0,1,0,0)|0|0|0,1,0);if((b|0)!=0&(d|0)!=0){z=da(a+172|0,4,0,0)|0|0;ea(A|0,d|0,4,0);ea(A+4|0,z|0,4,0);ad(539,14776,A)}vp(a);i=D;return c|0}function Ko(a){a=a|0;var b=0,c=0;b=a+44|0;if(da(b>>0|0,1,0,0)|0){if(!(da(a+43>>0|0,1,0,0)|0)){c=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,0,1,9)|0}ea(b>>0|0,0|0,1,0);ea(a+47>>0|0,0|0,1,0)}b=a+40|0;c=da(b|0,2,0,0)|0|0;if(c<<16>>16>-1){if(!(da(a+43>>0|0,1,0,0)|0)){a=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(a|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](a,(c<<16>>16)+3|0,1,5)|0}ea(b|0,-1|0,2,0)}return}function Lo(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((d|0)>5)if((d|0)>100)c=15;else{if((d|0)>9){d=d+-9|0;d=_(d*39|0,d)|0}else d=1;e=da(a|0,4,0,0)|0|0;qc[(fa(da(e+60|0,4,0,0)|0|0,127|0)|0)&127](e,d)|0;e=6}else e=6;a:do if((e|0)==6){do if(!c){c=mq(a,b)|0;do if((c|0)==5){if(!(da(da(a+32|0,4,0,0)|0|0,4,0,0)|0)){c=-1;break a}b=a+43|0;if(da(b>>0|0,1,0,0)|0){c=-1;break a}d=a+4|0;c=da(d|0,4,0,0)|0|0;c=oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,2,1,6)|0;if((c|0)==5){c=261;break a}else if(c)break;if(da(b>>0|0,1,0,0)|0){c=-1;break a}c=da(d|0,4,0,0)|0|0;oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,2,1,5)|0;c=-1;break a}while(0);if(c)break a;d=a+32|0;g=(da(da(d|0,4,0,0)|0|0,4,0,0)|0|0)+96|0;b=a+52|0;if((da(g|0,4,0,0)|0|0)==(da(a+68|0,4,0,0)|0|0)){f=a+43|0;e=da(f>>0|0,1,0,0)|0|0;if(!(e<<24>>24)){c=da(a+4|0,4,0,0)|0|0;c=oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,3,1,6)|0;e=da(f>>0|0,1,0,0)|0|0}else c=0;if(e<<24>>24!=2){k=da(a+4|0,4,0,0)|0|0;bc[(fa(da((da(k|0,4,0,0)|0|0)+60|0,4,0,0)|0|0,31|0)|0)&31](k)}if((c|0)==5){k=d;d=5;break}else if(c)break a;if(!(Yv(da(da(d|0,4,0,0)|0|0,4,0,0)|0|0,b,48)|0)){ea(a+40|0,0|0,2,0);c=0;break a}if(da(f>>0|0,1,0,0)|0){c=-1;break a}c=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,3,1,5)|0;c=-1;break a}else{k=d;d=0}}else{g=a+32|0;k=g;g=(da(da(g|0,4,0,0)|0|0,4,0,0)|0|0)+96|0;d=0}while(0);j=a+68|0;b=da(g+8|0,4,0,0)|0|0;f=b>>>0>(da(j|0,4,0,0)|0|0)>>>0;b=f?0:b;f=f&1^1;e=da(g+12|0,4,0,0)|0|0;if(b>>>0<=e>>>0){i=e>>>0>(da(j|0,4,0,0)|0|0)>>>0;f=i?f:2;b=i?b:e}e=da(g+16|0,4,0,0)|0|0;if(b>>>0<=e>>>0){i=e>>>0>(da(j|0,4,0,0)|0|0)>>>0;f=i?f:3;b=i?b:e}e=da(g+20|0,4,0,0)|0|0;if(b>>>0<=e>>>0){i=e>>>0>(da(j|0,4,0,0)|0|0)>>>0;f=i?f:4;b=i?b:e}b:do if(((da(a+46>>0|0,1,0,0)|0)&2)==0?((f|0)==0?1:b>>>0<(da(j|0,4,0,0)|0|0)>>>0):0){i=a+43|0;h=a+4|0;e=1;while(1){d=e+3|0;if(da(i>>0|0,1,0,0)|0){f=e;break}c=da(h|0,4,0,0)|0|0;c=oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,d,1,10)|0;if(!c){f=e;break}else if((c|0)!=5)break a;e=e+1|0;if((e|0)>=5){d=5;break b}}e=da(j|0,4,0,0)|0|0;ea(g+(f<<2)+4|0,e|0,4,0);if(!(da(i>>0|0,1,0,0)|0)){b=da(h|0,4,0,0)|0|0;oc[(fa(da((da(b|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](b,d,1,9)|0;b=e;d=0}else{b=e;d=0}}while(0);if(!f){c=(d|0)==5?-1:520;break}d=f+3|0;c=a+43|0;e=da(c>>0|0,1,0,0)|0|0;do if(!(e<<24>>24)){e=da(a+4|0,4,0,0)|0|0;e=oc[(fa(da((da(e|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](e,d,1,6)|0;if(!e){e=da(c>>0|0,1,0,0)|0|0;break}else{c=(e|0)==5?-1:e;break a}}while(0);if(e<<24>>24!=2){j=da(a+4|0,4,0,0)|0|0;bc[(fa(da((da(j|0,4,0,0)|0|0)+60|0,4,0,0)|0|0,31|0)|0)&31](j)}if((da(g+(f<<2)+4|0,4,0,0)|0|0)==(b|0)?(Yv(da(da(k|0,4,0,0)|0|0,4,0,0)|0|0,a+52|0,48)|0)==0:0){ea(a+40|0,f|0,2,0);c=0;break}if(!(da(c>>0|0,1,0,0)|0)){c=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(c|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](c,d,1,5)|0;c=-1}else c=-1}while(0);return c|0}function Mo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=a+56|0;di(da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);bp(a);c=da(a+208|0,4,0,0)|0|0;if(!c){if(!(da(a+4>>0|0,1,0,0)|0)){d=a+60|0;c=da(d|0,4,0,0)|0|0;b=da(c|0,4,0,0)|0|0;if(!(((b|0)!=0?((kc[(fa(da(b+48|0,4,0,0)|0|0,127|0)|0)&127](c)|0)&2048|0)!=0:0)?((da(a+5>>0|0,1,0,0)|0)&5)==1:0))g=7;if((g|0)==7?(e=da(a+64|0,4,0,0)|0|0,f=da(e|0,4,0,0)|0|0,(f|0)!=0):0){kc[(fa(da(f+4|0,4,0,0)|0|0,127|0)|0)&127](e)|0;ea(e|0,0|0,4,0)}b=da(d|0,4,0,0)|0|0;c=da(b|0,4,0,0)|0|0;if(c){if(!(da(a+13>>0|0,1,0,0)|0))b=qc[(fa(da(c+32|0,4,0,0)|0|0,127|0)|0)&127](b,0)|0;else b=0;c=a+17|0;if((da(c>>0|0,1,0,0)|0|0)!=5)ea(c>>0|0,0|0,1,0);if((b|0)!=0?(da(a+16>>0|0,1,0,0)|0|0)==6:0)ea(c>>0|0,5|0,1,0)}ea(a+18>>0|0,0|0,1,0);ea(a+16>>0|0,0|0,1,0)}}else{Ko(c);ea(a+16>>0|0,0|0,1,0)}b=a+40|0;if(da(b|0,4,0,0)|0){wn(a);ea(a+18>>0|0,da(a+12>>0|0,1,0,0)|0|0|0,1,0);ea(a+16>>0|0,0|0,1,0);ea(b|0,0|0,4,0)}b=a+72|0;ea(a+19>>0|0,0|0,1,0);ea(b+0|0,0|0,4,0);ea(b+4|0,0|0,4,0);ea(b+8|0,0|0,4,0);ea(b+12|0,0|0,4,0);return}function No(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=da(c+4|0,4,0,0)|0|0;e=d+0|0;f=e+40|0;do{ea(e|0,0|0,4,0);e=e+4|0}while((e|0)<(f|0));ea(d|0,c|0,4,0);ea(d+4|0,da(c|0,4,0,0)|0|0,4,0);e=d+40|0;ea(d+8|0,e|0,4,0);ew(e|0,0,da(a+24|0,4,0,0)|0|0)|0;ea(d+28|0,a|0,4,0);ea(d+20|0,b|0,4,0);return hl(a,b,c)|0}function Oo(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;k=i;i=i+16|0;if((i|0)>=(j|0))ba();f=k;g=wq(a,b,f)|0;if(!g){h=da(f|0,4,0,0)|0|0;if(!b){a=h+136|0;ea(f|0,a|0,4,0);f=a;a=0}else{f=h;a=(b<<12)+-34|0}ea(d|0,f+-4|0,4,0);ea(c|0,h+16384|0,4,0);ea(e|0,a|0,4,0)}i=k;return g|0}function Po(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=da(a+28|0,4,0,0)|0|0;g=b&255;if(g&1){c=h+8|0;if((da(c|0,4,0,0)|0|0)==(a|0)){b=a;do{b=da(b+36|0,4,0,0)|0|0;if(!b){b=0;break}}while(((da(b+24|0,2,0,0)|0)&4)!=0);ea(c|0,b|0,4,0)}b=a+32|0;d=da(b|0,4,0,0)|0|0;e=(d|0)==0;f=a+36|0;c=da(f|0,4,0,0)|0|0;if(e)ea(h+4|0,c|0,4,0);else ea(d+36|0,c|0,4,0);c=da(f|0,4,0,0)|0|0;if(!c){ea(h|0,d|0,4,0);if(e?(da(h+28>>0|0,1,0,0)|0|0)!=0:0)ea(h+29>>0|0,2|0,1,0)}else ea(c+32|0,d|0,4,0);ea(b|0,0|0,4,0);ea(f|0,0|0,4,0)}if(g&2){b=da(h|0,4,0,0)|0|0;ea(a+32|0,b|0,4,0);if(!b){ea(h+4|0,a|0,4,0);if(da(h+28>>0|0,1,0,0)|0)ea(h+29>>0|0,1|0,1,0)}else ea(b+36|0,a|0,4,0);ea(h|0,a|0,4,0);b=h+8|0;if((da(b|0,4,0,0)|0|0)==0?((da(a+24|0,2,0,0)|0)&4)==0:0)ea(b|0,a|0,4,0)}return}function Qo(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;c=b>>>3;d=c&255;ea(a+5>>0|0,d|0,1,0);b=b&-9;ea(a+7>>0|0,4-(c<<2)|0,1,0);c=da(a+52|0,4,0,0)|0|0;if((b|0)==5){ea(a+2>>0|0,1|0,1,0);ea(a+3>>0|0,d|0,1,0);ea(a+4>>0|0,d<<24>>24==0&1|0,1,0);ea(a+10|0,da(c+28|0,2,0,0)|0|0|0,2,0);ea(a+12|0,da(c+30|0,2,0,0)|0|0|0,2,0);f=5}else if((b|0)==2){ea(a+2>>0|0,0|0,1,0);ea(a+3>>0|0,0|0,1,0);ea(a+4>>0|0,0|0,1,0);ea(a+10|0,da(c+24|0,2,0,0)|0|0|0,2,0);ea(a+12|0,da(c+26|0,2,0,0)|0|0|0,2,0);f=5}else{ea(e|0,54521|0,4,0);ea(e+4|0,10788|0,4,0);ad(11,13600,e);b=11}if((f|0)==5){ea(a+8>>0|0,da(c+21>>0|0,1,0,0)|0|0|0,1,0);b=0}i=g;return b|0}function Ro(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=da(a+200|0,4,0,0)|0|0;h=a+152|0;i=da(h|0,4,0,0)|0|0;k=a+148|0;g=da(k|0,4,0,0)|0|0;i=i>>>0>g>>>0?g:i;e=da(a+96|0,4,0,0)|0|0;if((e|0)>0){d=da(a+92|0,4,0,0)|0|0;c=a+72|0;f=0;do{b=d+(f*48|0)+8|0;l=b;if((da(l|0,4,0,0)|0|0)==0&(da(l+4|0,4,0,0)|0|0)==0){m=c;l=da(m+4|0,4,0,0)|0|0;ea(b|0,da(m|0,4,0,0)|0|0,4,0);ea(b+4|0,l|0,4,0)}f=f+1|0}while((f|0)<(e|0));f=c}else f=a+72|0;c=f;d=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;if((d|0)==0&(c|0)==0){d=0;c=0}else{d=iw(d|0,c|0,-1,-1)|0;d=pw(d|0,C|0,g|0,0)|0;d=iw(d|0,C|0,1,0)|0;d=rw(d|0,C|0,g|0,0)|0;c=C}g=f;ea(g|0,d|0,4,0);ea(g+4|0,c|0,4,0);g=a+80|0;ea(g|0,d|0,4,0);ea(g+4|0,c|0,4,0);if(((da(a+7>>0|0,1,0,0)|0|0)==0?(da(a+5>>0|0,1,0,0)|0|0)!=4:0)?(g=da(a+60|0,4,0,0)|0|0,((kc[(fa(da((da(g|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](g)|0)&512|0)==0):0){d=j+0|0;c=d+12|0;do{ea(d>>0|0,0|0,1,0);d=d+1|0}while((d|0)<(c|0))}else{g=j;e=g;ea(e>>0|0,-117058087|0,1,0);ea(e+1>>0|0,-117058087>>8|0,1,0);ea(e+2>>0|0,-117058087>>16|0,1,0);ea(e+3>>0|0,-117058087>>24|0,1,0);g=g+4|0;ea(g>>0|0,-681336544|0,1,0);ea(g+1>>0|0,-681336544>>8|0,1,0);ea(g+2>>0|0,-681336544>>16|0,1,0);ea(g+3>>0|0,-681336544>>24|0,1,0);g=j+8|0;ea(g>>0|0,-1|0,1,0);ea(g+1>>0|0,-1>>8|0,1,0);ea(g+2>>0|0,-1>>16|0,1,0);ea(g+3>>0|0,-1>>24|0,1,0)}c=a+48|0;bd(4,c);c=da(c|0,4,0,0)|0|0;ea(j+12>>0|0,c>>>24|0,1,0);ea(j+13>>0|0,c>>>16|0,1,0);ea(j+14>>0|0,c>>>8|0,1,0);ea(j+15>>0|0,c|0,1,0);c=da(a+28|0,4,0,0)|0|0;ea(j+16>>0|0,c>>>24|0,1,0);ea(j+17>>0|0,c>>>16|0,1,0);ea(j+18>>0|0,c>>>8|0,1,0);ea(j+19>>0|0,c|0,1,0);c=da(k|0,4,0,0)|0|0;ea(j+20>>0|0,c>>>24|0,1,0);ea(j+21>>0|0,c>>>16|0,1,0);ea(j+22>>0|0,c>>>8|0,1,0);ea(j+23>>0|0,c|0,1,0);c=da(h|0,4,0,0)|0|0;ea(j+24>>0|0,c>>>24|0,1,0);ea(j+25>>0|0,c>>>16|0,1,0);ea(j+26>>0|0,c>>>8|0,1,0);ea(j+27>>0|0,c|0,1,0);ew(j+28|0,0,i+-28|0)|0;c=a+64|0;d=0;while(1){if(d>>>0>=(da(k|0,4,0,0)|0|0)>>>0){b=0;break}h=da(c|0,4,0,0)|0|0;b=f;b=sc[(fa(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](h,j,i,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0)|0;h=f;h=iw(da(h|0,4,0,0)|0|0,da(h+4|0,4,0,0)|0|0,i|0,0)|0;a=f;ea(a|0,h|0,4,0);ea(a+4|0,C|0,4,0);if(!b)d=d+i|0;else break}return b|0}function So(a){a=a|0;var b=0,c=0,d=0;b=a+24|0;d=da(b|0,2,0,1)|0|0;c=d&65503;ea(b|0,c|0,2,0);if(!(d&2)){ea(b|0,c|2|0,2,0);Po(a,2)}return}function To(a){a=a|0;var b=0,c=0,d=0;b=da(a+16|0,4,0,0)|0|0;c=da(a+20|0,4,0,0)|0|0;d=da(b+96|0,4,0,0)|0|0;a:do if((d|0)>0){b=da(b+92|0,4,0,0)|0|0;a=0;while(1){if((da(b+(a*48|0)+20|0,4,0,0)|0|0)>>>0>=c>>>0?(ci(da(b+(a*48|0)+16|0,4,0,0)|0|0,c)|0)==0:0){a=1;break a}a=a+1|0;if((a|0)>=(d|0)){a=0;break}}}else a=0;while(0);return a|0}function Uo(a){a=a|0;var b=0,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();k=o;m=da(a+16|0,4,0,0)|0|0;c=da(m+5>>0|0,1,0,0)|0|0;a:do if(c<<24>>24!=2){l=m+68|0;d=da(l|0,4,0,0)|0|0;do if(!(da(d|0,4,0,0)|0)){if(c<<24>>24!=4?(da(m+21>>0|0,1,0,0)|0|0)==0:0){b=da(m|0,4,0,0)|0|0;b=sc[(fa(da(b+24|0,4,0,0)|0|0,31|0)|0)&31](b,0,d,8222,0)|0;if(!b)break;else break a}c=d+0|0;b=c+40|0;do{ea(c|0,0|0,4,0);c=c+4|0}while((c|0)<(b|0));ea(d|0,14696|0,4,0)}while(0);d=da(a+4|0,4,0,0)|0|0;h=m+52|0;e=m+152|0;f=(da(e|0,4,0,0)|0|0)+4|0;f=rw(f|0,((f|0)<0)<<31>>31|0,da(h|0,4,0,0)|0|0,0)|0;g=C;b=da(l|0,4,0,0)|0|0;c=a+20|0;a=da(c|0,4,0,0)|0|0;ea(k>>0|0,a>>>24|0,1,0);ea(k+1>>0|0,a>>>16|0,1,0);ea(k+2>>0|0,a>>>8|0,1,0);ea(k+3>>0|0,a|0,1,0);b=sc[(fa(da((da(b|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](b,k,4,f,g)|0;if(!b){k=da(l|0,4,0,0)|0|0;l=da(e|0,4,0,0)|0|0;b=iw(f|0,g|0,4,0)|0;b=sc[(fa(da((da(k|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](k,d,l,b,C)|0;if(!b){b=h;n=10}}}else{c=a+20|0;b=m+52|0;n=10}while(0);if((n|0)==10){ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=il(m,da(c|0,4,0,0)|0|0)|0}i=o;return b|0}function Vo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+48|0;if((i|0)>=(j|0))ba();f=g;c=(a|0)!=0;a:do if(c&(b|0)!=0){c=f;while(1){e=da(b+20|0,4,0,0)|0|0;d=a;a=c;while(1){a=a+12|0;if((da(d+20|0,4,0,0)|0|0)>>>0>=e>>>0)break;ea(a|0,d|0,4,0);a=da(d+12|0,4,0,0)|0|0;if(!a){c=b;a=d;d=8;break a}else{c=d;d=a;a=c}}ea(a|0,b|0,4,0);e=da(b+12|0,4,0,0)|0|0;c=(d|0)!=0;if(c&(e|0)!=0){c=b;a=d;b=e}else{a=d;d=6;break}}}else{e=b;b=f;d=6}while(0);if((d|0)==6)if(c)ea(b+12|0,a|0,4,0);else{c=e;a=b;d=8}do if((d|0)==8){a=a+12|0;if(!c){ea(a|0,0|0,4,0);break}else{ea(a|0,c|0,4,0);break}}while(0);i=g;return da(f+12|0,4,0,0)|0|0}function Wo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=da(da(a+32|0,4,0,0)|0|0,4,0,0)|0|0;h=a+84|0;g=a+104|0;ea(g|0,(da(g|0,4,0,0)|0|0)+1|0,4,0);ea(a+68|0,0|0,4,0);g=h+1|0;f=h+2|0;e=h+3|0;d=((da(g>>0|0,1,0,1)|0|0)<<16|(da(h>>0|0,1,0,1)|0|0)<<24|(da(f>>0|0,1,0,1)|0|0)<<8|(da(e>>0|0,1,0,1)|0|0))+1|0;ea(h>>0|0,d>>>24|0,1,0);ea(g>>0|0,d>>>16|0,1,0);ea(f>>0|0,d>>>8|0,1,0);ea(e>>0|0,d|0,1,0);ea(a+88|0,b|0,4,0);_o(a);ea(c+96|0,0|0,4,0);ea(c+104|0,0|0,4,0);ea(c+108|0,-1|0,4,0);ea(c+112|0,-1|0,4,0);ea(c+116|0,-1|0,4,0);return}function Xo(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;g=i;i=i+32|0;if((i|0)>=(j|0))ba();h=g;f=da(b+4|0,4,0,0)|0|0;k=da(a|0,4,0,0)|0|0;m=da(b+20|0,4,0,0)|0|0;b=k+76|0;ea(h>>0|0,m>>>24|0,1,0);ea(h+1>>0|0,m>>>16|0,1,0);ea(h+2>>0|0,m>>>8|0,1,0);ea(h+3>>0|0,m|0,1,0);ea(h+4>>0|0,c>>>24|0,1,0);ea(h+5>>0|0,c>>>16|0,1,0);ea(h+6>>0|0,c>>>8|0,1,0);ea(h+7>>0|0,c|0,1,0);c=k+84|0;m=c;m=da(m>>0|0,1,0,1)|0|(da(m+1>>0|0,1,0,1)|0)<<8|(da(m+2>>0|0,1,0,1)|0)<<16|(da(m+3>>0|0,1,0,1)|0)<<24;c=c+4|0;c=da(c>>0|0,1,0,1)|0|(da(c+1>>0|0,1,0,1)|0)<<8|(da(c+2>>0|0,1,0,1)|0)<<16|(da(c+3>>0|0,1,0,1)|0)<<24;l=h+8|0;n=l;ea(n>>0|0,m|0,1,0);ea(n+1>>0|0,m>>8|0,1,0);ea(n+2>>0|0,m>>16|0,1,0);ea(n+3>>0|0,m>>24|0,1,0);l=l+4|0;ea(l>>0|0,c|0,1,0);ea(l+1>>0|0,c>>8|0,1,0);ea(l+2>>0|0,c>>16|0,1,0);ea(l+3>>0|0,c>>24|0,1,0);c=(da(k+65>>0|0,1,0,0)|0|0)==0&1;xq(c,h,8,b,b);xq(c,f,da(k+36|0,4,0,0)|0|0,b,b);c=da(b|0,4,0,0)|0|0;ea(h+16>>0|0,c>>>24|0,1,0);ea(h+17>>0|0,c>>>16|0,1,0);ea(h+18>>0|0,c>>>8|0,1,0);ea(h+19>>0|0,c|0,1,0);c=da(k+80|0,4,0,0)|0|0;ea(h+20>>0|0,c>>>24|0,1,0);ea(h+21>>0|0,c>>>16|0,1,0);ea(h+22>>0|0,c>>>8|0,1,0);ea(h+23>>0|0,c|0,1,0);c=yq(a,h,24,d,e)|0;if(!c){l=da(a+20|0,4,0,0)|0|0;c=iw(d|0,e|0,24,0)|0;c=yq(a,f,l,c,C)|0}i=g;return c|0}function Yo(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;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h+8|0;d=h;e=da(3164*4|0,4,0,0)|0|0;if(e)mc[(fa(e|0,3|0)|0)&3]();f=a+8|0;e=da(f|0,4,0,0)|0|0;e=qc[(fa(da((da(e|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,127|0)|0)&127](e,d)|0;k=da(d+4|0,4,0,0)|0|0;if((e|0)==0&((k|0)>(c|0)|((k|0)==(c|0)?(da(d|0,4,0,0)|0|0)>>>0>b>>>0:0))){e=da(f|0,4,0,0)|0|0;e=$b[(fa(da((da(e|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](e,b,c)|0}d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();if(e){ea(g|0,da(a+100|0,4,0,0)|0|0,4,0);ad(e,14816,g)}i=h;return}function Zo(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+32|0;if((i|0)>=(j|0))ba();g=l;e=l+16|0;k=l+12|0;h=l+8|0;ea(e|0,0|0,4,0);ea(k|0,0|0,4,0);ea(h|0,0|0,4,0);d=Oo(a,(b+33|0)>>>12,h,k,e)|0;a:do if(!d){f=b-(da(e|0,4,0,0)|0|0)|0;if((f|0)==1){d=da(k|0,4,0,0)|0|0;b=d+4|0;ew(b|0,0,(da(h|0,4,0,0)|0|0)+16384-b|0)|0}else d=da(k|0,4,0,0)|0|0;if(da(d+(f<<2)|0,4,0,0)|0)zq(a);d=c*383&8191;b:do if(da((da(h|0,4,0,0)|0|0)+(d<<1)|0,2,0,0)|0){b=da(h|0,4,0,0)|0|0;e=f;while(1){if(!e)break;d=d+1&8191;if(!(da(b+(d<<1)|0,2,0,0)|0))break b;else e=e+-1|0}ea(g|0,49852|0,4,0);ea(g+4|0,10788|0,4,0);ad(11,13600,g);d=11;break a}while(0);ea((da(k|0,4,0,0)|0|0)+(f<<2)|0,c|0,4,0);ea((da(h|0,4,0,0)|0|0)+(d<<1)|0,f|0,2,0);d=0}while(0);i=l;return d|0}function _o(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=da(da(a+32|0,4,0,0)|0|0,4,0,0)|0|0;i=a+52|0;ea(a+64>>0|0,1|0,1,0);ea(i|0,3007e3|0,4,0);g=a+92|0;e=3007e3;f=i;d=0;b=0;while(1){d=d+b+e|0;c=f+8|0;b=d+b+(da(f+4|0,4,0,0)|0|0)|0;if(c>>>0>=g>>>0)break;e=da(c|0,4,0,0)|0|0;f=c}ea(g|0,d|0,4,0);ea(a+96|0,b|0,4,0);b=h+48|0;c=i+0|0;d=b+48|0;do{ea(b>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);b=b+1|0;c=c+1|0}while((b|0)<(d|0));if((da(a+43>>0|0,1,0,0)|0|0)!=2){b=da(a+4|0,4,0,0)|0|0;bc[(fa(da((da(b|0,4,0,0)|0|0)+60|0,4,0,0)|0|0,31|0)|0)&31](b)}b=h+0|0;c=i+0|0;d=b+48|0;do{ea(b>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);b=b+1|0;c=c+1|0}while((b|0)<(d|0));return}function $o(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(a)do{d=a+28|0;f=da(d|0,4,0,0)|0|0;if(((f>>>0<7?(30>>>(f&127)&1)==0:0)?(da(a+16|0,4,0,0)|0|0)>>>0>b>>>0:0)?(e=zg(a,b,c,1)|0,(e|0)!=0):0)ea(d|0,e|0,4,0);a=da(a+44|0,4,0,0)|0|0}while((a|0)!=0);return}function ap(a){a=a|0;var b=0,c=0,d=0;a:do if(!(da(a+208|0,4,0,0)|0)){c=a+176|0;d=a+180|0;while(1){b=el(a,4)|0;if((b|0)!=5)break a;if(!(kc[(fa(da(c|0,4,0,0)|0|0,127|0)|0)&127](da(d|0,4,0,0)|0|0)|0)){b=5;break}}}else b=0;while(0);return b|0}function bp(a){a=a|0;var b=0,c=0,d=0,e=0;d=a+96|0;if((da(d|0,4,0,0)|0|0)>0){b=a+92|0;c=0;do{di(da((da(b|0,4,0,0)|0|0)+(c*48|0)+16|0,4,0,0)|0|0);c=c+1|0}while((c|0)<(da(d|0,4,0,0)|0|0))}c=da(a+68|0,4,0,0)|0|0;b=da(c|0,4,0,0)|0|0;if(!(da(a+4>>0|0,1,0,0)|0)){if(b)e=7}else if((b|0)==14696){b=14696;e=7}if((e|0)==7){kc[(fa(da(b+4|0,4,0,0)|0|0,127|0)|0)&127](c)|0;ea(c|0,0|0,4,0)}b=a+92|0;Vc(da(b|0,4,0,0)|0|0);ea(b|0,0|0,4,0);ea(d|0,0|0,4,0);ea(a+52|0,0|0,4,0);return}function cp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+40|0;if(da(e|0,4,0,0)|0){c=da(a|0,4,0,0)|0|0;if(c)do{d=c;c=da(c+32|0,4,0,0)|0|0;if((da(d+20|0,4,0,0)|0|0)>>>0>b>>>0)wl(d)}while((c|0)!=0);if(!b){b=da(a+44|0,4,0,0)|0|0;if(!b)b=0;else{ew(da(b+4|0,4,0,0)|0|0,0,da(a+20|0,4,0,0)|0|0)|0;b=1}}ic[(fa(da(8744+144|0,4,0,0)|0|0,15|0)|0)&15](da(e|0,4,0,0)|0|0,b+1|0)}return}function dp(a,b){a=a|0;b=b|0;var c=0,d=0;do if(!b){c=a+43|0;if(!(da(c>>0|0,1,0,0)|0))c=0;else{ea(c>>0|0,0|0,1,0);d=da(a+4|0,4,0,0)|0|0;if(!(oc[(fa(da((da(d|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](d,(da(a+40|0,2,0,0)|0|0)+3|0,1,6)|0))c=(da(c>>0|0,1,0,0)|0|0)==0;else{ea(c>>0|0,1|0,1,0);c=0}c=c&1}}else{c=a+43|0;d=(da(c>>0|0,1,0,0)|0|0)==0;if((b|0)<=0){c=d&1;break}if(d){d=da(a+4|0,4,0,0)|0|0;oc[(fa(da((da(d|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](d,(da(a+40|0,2,0,0)|0|0)+3|0,1,5)|0}ea(c>>0|0,1|0,1,0);c=1}while(0);return c|0}function ep(a){a=a|0;var b=0,c=0,d=0,e=0;c=a+73|0;if((da(c>>0|0,1,0,0)|0|0)==2)ea(c>>0|0,1|0,1,0);else ea(a+68|0,0|0,4,0);b=a+48|0;jm(a,b);do if(!(da((da(a+120|0,4,0,0)|0|0)+2>>0|0,1,0,0)|0)){d=b;d=pg(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0)|0;if(d){b=Km(a,0,da(b|0,4,0,0)|0|0,d,0)|0;if(!b){ea(a+56|0,d|0,4,0);e=9;break}else{Vc(d);break}}else b=7}else e=9;while(0);if((e|0)==9){fp(a);ea(c>>0|0,3|0,1,0);b=0}c=a+72|0;ea(c>>0|0,(da(c>>0|0,1,0,1)|0)&251|0,1,0);return b|0}function fp(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+76|0;if((da(b|0,2,0,0)|0|0)>=0){e=0;while(1){c=a+(e<<2)+120|0;d=da(c|0,4,0,0)|0|0;if(d)Ag(da(d+68|0,4,0,0)|0|0);ea(c|0,0|0,4,0);if((e|0)<(da(b|0,2,0,0)|0|0))e=e+1|0;else break}}ea(b|0,-1|0,2,0);return}function gp(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;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;g=k+8|0;if(b>>>0<2)e=0;else{e=b+-2|0;e=e-((e>>>0)%(((((da(a+36|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;e=((e+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+e|0}a=yg(da(a|0,4,0,0)|0|0,e,g,0)|0;do if(!a){f=da(g|0,4,0,0)|0|0;g=da(f+4|0,4,0,0)|0|0;a=(b-e|0)*5|0;e=a+-5|0;if((e|0)<0){if(f)Ag(f);ea(h|0,53912|0,4,0);ea(h+4|0,10788|0,4,0);ad(11,13600,h);a=11;break}ea(c>>0|0,da(g+e>>0|0,1,0,0)|0|0|0,1,0);if(d)ea(d|0,(da(g+(a+-3)>>0|0,1,0,1)|0|0)<<16|(da(g+(a+-4)>>0|0,1,0,1)|0|0)<<24|(da(g+(a+-2)>>0|0,1,0,1)|0|0)<<8|(da(g+(a+-1)>>0|0,1,0,1)|0|0)|0,4,0);if(f)Ag(f);if(((da(c>>0|0,1,0,0)|0|0)+-1&255)>4){ea(h|0,53920|0,4,0);ea(h+4|0,10788|0,4,0);ad(11,13600,h);a=11}else a=0}while(0);i=k;return a|0}function hp(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,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=i;i=i+32|0;if((i|0)>=(j|0))ba();F=G;E=G+16|0;k=G+20|0;D=G+12|0;o=G+8|0;ea(E|0,0|0,4,0);n=a+12|0;h=da(n|0,4,0,0)|0|0;m=a+44|0;B=da(m|0,4,0,0)|0|0;C=h+56|0;g=da(C|0,4,0,0)|0|0;g=(da(g+37>>0|0,1,0,1)|0)<<16|(da(g+36>>0|0,1,0,1)|0)<<24|(da(g+38>>0|0,1,0,1)|0)<<8|(da(g+39>>0|0,1,0,1)|0);do if(g>>>0<B>>>0){if(!g){l=(da(a+19>>0|0,1,0,0)|0|0)==0&1;h=Fg(da(h+68|0,4,0,0)|0|0)|0;if(h){f=h;break}k=da(m|0,4,0,0)|0|0;g=k+1|0;ea(m|0,g|0,4,0);e=a+32|0;h=da(e|0,4,0,0)|0|0;if((k|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/(h>>>0)|0|0)){g=k+2|0;ea(m|0,g|0,4,0)}if(da(a+17>>0|0,1,0,0)|0){if(g>>>0<2)k=0;else{k=g+-2|0;k=k-((k>>>0)%(((((da(a+36|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/(h>>>0)|0|0)?3:2)+k|0}if((k|0)==(g|0)){ea(o|0,0|0,4,0);k=cl(a,g,o,l)|0;if(k){f=k;break}B=da(o|0,4,0,0)|0|0;k=B+68|0;h=Fg(da(k|0,4,0,0)|0|0)|0;if(B)Ag(da(k|0,4,0,0)|0|0);if(h){f=h;break}k=da(m|0,4,0,0)|0|0;g=k+1|0;ea(m|0,g|0,4,0);if((k|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(e|0,4,0,0)|0|0)>>>0)|0|0)){g=k+2|0;ea(m|0,g|0,4,0)}}}e=da((da(n|0,4,0,0)|0|0)+56|0,4,0,0)|0|0;ea(e+28>>0|0,g>>>24|0,1,0);ea(e+29>>0|0,g>>>16|0,1,0);ea(e+30>>0|0,g>>>8|0,1,0);ea(e+31>>0|0,g|0,1,0);e=da(m|0,4,0,0)|0|0;ea(c|0,e|0,4,0);e=cl(a,e,b,l)|0;if(e){f=e;break}e=Fg(da((da(b|0,4,0,0)|0|0)+68|0,4,0,0)|0|0)|0;if(e){f=da(b|0,4,0,0)|0|0;if(!f){f=e;w=98}else{Ag(da(f+68|0,4,0,0)|0|0);f=e;w=92}}}else{if(e<<24>>24==2)k=1;else if(e<<24>>24==1?B>>>0>=d>>>0:0){f=gp(a,d,k,0)|0;if(f)break;k=(da(k>>0|0,1,0,0)|0|0)==2&1}else k=0;f=Fg(da(h+68|0,4,0,0)|0|0)|0;if(f)break;z=da(C|0,4,0,0)|0|0;y=g+-1|0;ea(z+36>>0|0,y>>>24|0,1,0);ea(z+37>>0|0,y>>>16|0,1,0);ea(z+38>>0|0,y>>>8|0,1,0);ea(z+39>>0|0,y|0,1,0);y=a+36|0;z=(d|0)==0;A=a+60|0;x=e<<24>>24==2;e=0;a:while(1){p=(e|0)!=0;if(p){o=da(e+56|0,4,0,0)|0|0;o=(da(o+1>>0|0,1,0,1)|0)<<16|(da(o>>0|0,1,0,1)|0)<<24|(da(o+2>>0|0,1,0,1)|0)<<8|(da(o+3>>0|0,1,0,1)|0)}else{o=da(C|0,4,0,0)|0|0;o=(da(o+33>>0|0,1,0,1)|0)<<16|(da(o+32>>0|0,1,0,1)|0)<<24|(da(o+34>>0|0,1,0,1)|0)<<8|(da(o+35>>0|0,1,0,1)|0)}if(o>>>0>B>>>0){w=15;break}f=cl(a,o,E,0)|0;if(f){w=17;break}g=da(E|0,4,0,0)|0|0;q=g+56|0;u=da(q|0,4,0,0)|0|0;v=u+4|0;r=u+5|0;s=u+6|0;t=u+7|0;w=(da(r>>0|0,1,0,1)|0)<<16|(da(v>>0|0,1,0,1)|0)<<24|(da(s>>0|0,1,0,1)|0)<<8|(da(t>>0|0,1,0,1)|0);f=k<<24>>24!=0;do if((w|0)!=0|f){if(w>>>0>(((da(y|0,4,0,0)|0|0)>>>2)+-2|0)>>>0){f=g;w=22;break a}if(k<<24>>24!=0?(o|0)==(d|0)|o>>>0<d>>>0&x:0){ea(c|0,o|0,4,0);ea(b|0,g|0,4,0);f=Fg(da(g+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}do if(!w){if(!p){v=(da(C|0,4,0,0)|0|0)+32|0;w=da(q|0,4,0,0)|0|0;w=da(w>>0|0,1,0,1)|0|(da(w+1>>0|0,1,0,1)|0)<<8|(da(w+2>>0|0,1,0,1)|0)<<16|(da(w+3>>0|0,1,0,1)|0)<<24;ea(v>>0|0,w|0,1,0);ea(v+1>>0|0,w>>8|0,1,0);ea(v+2>>0|0,w>>16|0,1,0);ea(v+3>>0|0,w>>24|0,1,0);break}f=Fg(da(e+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}v=da(e+56|0,4,0,0)|0|0;w=da(q|0,4,0,0)|0|0;w=da(w>>0|0,1,0,1)|0|(da(w+1>>0|0,1,0,1)|0)<<8|(da(w+2>>0|0,1,0,1)|0)<<16|(da(w+3>>0|0,1,0,1)|0)<<24;ea(v>>0|0,w|0,1,0);ea(v+1>>0|0,w>>8|0,1,0);ea(v+2>>0|0,w>>16|0,1,0);ea(v+3>>0|0,w>>24|0,1,0)}else{o=da(q|0,4,0,0)|0|0;l=da(o+8>>0|0,1,0,0)|0|0;m=da(o+9>>0|0,1,0,0)|0|0;n=da(o+10>>0|0,1,0,0)|0|0;o=da(o+11>>0|0,1,0,0)|0|0;k=(m&255)<<16|(l&255)<<24|(n&255)<<8|o&255;if(k>>>0>B>>>0){f=g;w=32;break a}f=cl(a,k,D,0)|0;if(f){w=88;break a}k=da(D|0,4,0,0)|0|0;h=k+68|0;f=Fg(da(h|0,4,0,0)|0|0)|0;if(f){w=35;break a}v=k+56|0;t=da(v|0,4,0,0)|0|0;u=da(q|0,4,0,0)|0|0;u=da(u>>0|0,1,0,1)|0|(da(u+1>>0|0,1,0,1)|0)<<8|(da(u+2>>0|0,1,0,1)|0)<<16|(da(u+3>>0|0,1,0,1)|0)<<24;ea(t>>0|0,u|0,1,0);ea(t+1>>0|0,u>>8|0,1,0);ea(t+2>>0|0,u>>16|0,1,0);ea(t+3>>0|0,u>>24|0,1,0);u=da(v|0,4,0,0)|0|0;w=w+-1|0;ea(u+4>>0|0,w>>>24|0,1,0);ea(u+5>>0|0,w>>>16|0,1,0);ea(u+6>>0|0,w>>>8|0,1,0);ea(u+7>>0|0,w|0,1,0);jw((da(v|0,4,0,0)|0|0)+8|0,(da(q|0,4,0,0)|0|0)+12|0,w<<2|0)|0;if(k)Ag(da(h|0,4,0,0)|0|0);if(!p){w=da(C|0,4,0,0)|0|0;ea(w+32>>0|0,l|0,1,0);ea(w+33>>0|0,m|0,1,0);ea(w+34>>0|0,n|0,1,0);ea(w+35>>0|0,o|0,1,0);break}f=Fg(da(e+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}w=da(e+56|0,4,0,0)|0|0;ea(w>>0|0,l|0,1,0);ea(w+1>>0|0,m|0,1,0);ea(w+2>>0|0,n|0,1,0);ea(w+3>>0|0,o|0,1,0)}while(0);ea(E|0,0|0,4,0);g=0;f=0;k=0;break}if(w){b:do if(!z){if(x){h=0;while(1){q=h<<2;if(((da(u+(q+9)>>0|0,1,0,1)|0)<<16|(da(u+(q+8)>>0|0,1,0,1)|0)<<24|(da(u+(q+10)>>0|0,1,0,1)|0)<<8|(da(u+(q+11)>>0|0,1,0,1)|0))>>>0<=d>>>0)break b;h=h+1|0;if(h>>>0>=w>>>0){h=0;break b}}}h=((da(u+9>>0|0,1,0,1)|0)<<16|(da(u+8>>0|0,1,0,1)|0)<<24|(da(u+10>>0|0,1,0,1)|0)<<8|(da(u+11>>0|0,1,0,1)|0))-d|0;if((h|0)<=-1)h=(h|0)==-2147483648?2147483647:0-h|0;if(w>>>0>1){o=0;m=1;while(1){l=m<<2;l=((da(u+(l+9)>>0|0,1,0,1)|0)<<16|(da(u+(l+8)>>0|0,1,0,1)|0)<<24|(da(u+(l+10)>>0|0,1,0,1)|0)<<8|(da(u+(l+11)>>0|0,1,0,1)|0))-d|0;if((l|0)<=-1)l=(l|0)==-2147483648?2147483647:0-l|0;n=(l|0)<(h|0);o=n?m:o;m=m+1|0;if((m|0)==(w|0)){h=o;break}else h=n?l:h}}else h=0}else h=0;while(0);l=h<<2;o=u+(l+8)|0;l=(da(u+(l+9)>>0|0,1,0,1)|0)<<16|(da(o>>0|0,1,0,1)|0)<<24|(da(u+(l+10)>>0|0,1,0,1)|0)<<8|(da(u+(l+11)>>0|0,1,0,1)|0);if(l>>>0>B>>>0){f=g;w=56;break a}if((l|0)==(d|0)|f^1|l>>>0<d>>>0&x){ea(c|0,l|0,4,0);f=Fg(da(g+68|0,4,0,0)|0|0)|0;if(f){w=88;break a}k=w+-1|0;if(h>>>0<k>>>0){w=u+((w<<2)+4)|0;w=da(w>>0|0,1,0,1)|0|(da(w+1>>0|0,1,0,1)|0)<<8|(da(w+2>>0|0,1,0,1)|0)<<16|(da(w+3>>0|0,1,0,1)|0)<<24;ea(o>>0|0,w|0,1,0);ea(o+1>>0|0,w>>8|0,1,0);ea(o+2>>0|0,w>>16|0,1,0);ea(o+3>>0|0,w>>24|0,1,0)}ea(v>>0|0,k>>>24|0,1,0);ea(r>>0|0,k>>>16|0,1,0);ea(s>>0|0,k>>>8|0,1,0);ea(t>>0|0,k|0,1,0);h=da(c|0,4,0,0)|0|0;k=da(A|0,4,0,0)|0|0;do if(!k)k=0;else{if((da(k|0,4,0,0)|0|0)>>>0<h>>>0){k=1;break}k=(ci(k,h)|0)!=0}while(0);f=cl(a,h,b,k&1^1)|0;if(f){k=0;break}f=Fg(da((da(b|0,4,0,0)|0|0)+68|0,4,0,0)|0|0)|0;if(!f){f=0;k=0;break}k=da(b|0,4,0,0)|0|0;if(!k){k=0;break}Ag(da(k+68|0,4,0,0)|0|0);k=0}else f=0}else f=0}else{f=Fg(da(g+68|0,4,0,0)|0|0)|0;if(f){w=89;break a}ea(c|0,o|0,4,0);k=(da(C|0,4,0,0)|0|0)+32|0;f=da(q|0,4,0,0)|0|0;f=da(f>>0|0,1,0,1)|0|(da(f+1>>0|0,1,0,1)|0)<<8|(da(f+2>>0|0,1,0,1)|0)<<16|(da(f+3>>0|0,1,0,1)|0)<<24;ea(k>>0|0,f|0,1,0);ea(k+1>>0|0,f>>8|0,1,0);ea(k+2>>0|0,f>>16|0,1,0);ea(k+3>>0|0,f>>24|0,1,0);ea(b|0,g|0,4,0);ea(E|0,0|0,4,0);g=0;f=0;k=0}while(0);if(e)Ag(da(e+68|0,4,0,0)|0|0);if(!(k<<24>>24)){e=0;w=88;break}else e=g}if((w|0)==15){ea(F|0,58314|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);f=11;w=17}else if((w|0)==22){ea(F|0,58343|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);g=f;f=11;w=88}else if((w|0)==32){ea(F|0,58377|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);g=f;f=11;w=88}else if((w|0)==35)if(!k)w=88;else{Ag(da(h|0,4,0,0)|0|0);w=88}else if((w|0)==56){ea(F|0,58442|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);g=f;f=11;w=88}if((w|0)==17)ea(E|0,0|0,4,0);else if((w|0)==88)if(g)w=89;if((w|0)==89)Ag(da(g+68|0,4,0,0)|0|0);if(!e)w=92;else{Ag(da(e+68|0,4,0,0)|0|0);w=92}}if((w|0)==92?(f|0)!=0:0)w=98;if((w|0)==98){ea(b|0,0|0,4,0);break}f=da(b|0,4,0,0)|0|0;e=da(f+68|0,4,0,0)|0|0;if((da(e+26|0,2,0,0)|0|0)<=1){ea(f>>0|0,0|0,1,0);f=0;break}if(f)Ag(e);ea(b|0,0|0,4,0);ea(F|0,58541|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);f=11}else{ea(F|0,58259|0,4,0);ea(F+4|0,10788|0,4,0);ad(11,13600,F);f=11}while(0);i=G;return f|0}function ip(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+16|0;if((i|0)>=(j|0))ba();r=w+12|0;q=w+8|0;v=w;d=da(a+40|0,4,0,0)|0|0;a:do if(!d){f=a+96|0;e=da(f|0,4,0,0)|0|0;if((e|0)>(c|0)){d=(b|0)==1;c=(d&1^1)+c|0;if((c|0)<(e|0)){b=a+92|0;e=c;do{di(da((da(b|0,4,0,0)|0|0)+(e*48|0)+16|0,4,0,0)|0|0);e=e+1|0}while((e|0)<(da(f|0,4,0,0)|0|0))}ea(f|0,c|0,4,0);if(d){if(c){d=0;break}d=da(a+68|0,4,0,0)|0|0;e=da(d|0,4,0,0)|0|0;if(!e){d=0;break}if((e|0)==14696)d=Fi(d,0,0)|0;else d=0;ea(a+52|0,0|0,4,0);break}p=a+208|0;if((da(p|0,4,0,0)|0|0)==0?(da(da(a+64|0,4,0,0)|0|0,4,0,0)|0|0)==0:0){d=0;break}if(!c)s=0;else s=(da(a+92|0,4,0,0)|0|0)+((c+-1|0)*48|0)|0;o=(s|0)!=0;d=s+20|0;if(o){b=da(d|0,4,0,0)|0|0;e=pg(512,0)|0;if(!e){d=7;break}ew(e|0,0,512)|0;ea(e|0,b|0,4,0);u=e}else u=0;f=a+28|0;c=a+24|0;ea(c|0,da((o?d:f)|0,4,0,0)|0|0,4,0);ea(a+18>>0|0,da(a+12>>0|0,1,0,0)|0|0|0,1,0);b:do if(o){f=a+72|0;c=f;g=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;if(!(da(p|0,4,0,0)|0)){e=s+8|0;h=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;b=(h|0)==0&(e|0)==0;h=b?g:h;e=b?c:e;b=s;d=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;m=f;ea(m|0,d|0,4,0);ea(m+4|0,b|0,4,0);if((b|0)<(e|0)|(b|0)==(e|0)&d>>>0<h>>>0)while(1){d=vq(a,f,u,1,1)|0;if(d){l=g;k=c;break b}b=f;d=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;if(!((b|0)<(e|0)|(b|0)==(e|0)&d>>>0<h>>>0)){t=39;break}}else t=39}else t=38}else{n=da(p|0,4,0,0)|0|0;if(!n){f=a+72|0;c=f;g=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;t=38;break}ea(c|0,da(f|0,4,0,0)|0|0,4,0);if(da(n+44>>0|0,1,0,0)|0){g=n+68|0;k=da(g|0,4,0,0)|0|0;h=n+32|0;c=da(h|0,4,0,0)|0|0;e=n+52|0;d=(da(c|0,4,0,0)|0|0)+0|0;b=e+48|0;do{ea(e>>0|0,da(d>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0;d=d+1|0}while((e|0)<(b|0));e=da(g|0,4,0,0)|0|0;d=e+1|0;if(d>>>0>k>>>0)d=0;else{f=d;while(1){e=e+34|0;d=e>>>12;if(!d)e=(da(c|0,4,0,0)|0|0)+(e<<2)|0;else e=(da(c+(d<<2)|0,4,0,0)|0|0)+((e&4095)<<2)|0;d=Aq(a,da(e|0,4,0,0)|0|0)|0;e=f+1|0;if((d|0)!=0|e>>>0>k>>>0)break;m=f;c=da(h|0,4,0,0)|0|0;f=e;e=m}e=da(g|0,4,0,0)|0|0}if((k|0)!=(e|0))zq(n)}else d=0;e=ul(da(a+204|0,4,0,0)|0|0)|0;if(!((e|0)!=0&(d|0)==0))break a;while(1){d=e;e=da(e+12|0,4,0,0)|0|0;d=Aq(a,da(d+20|0,4,0,0)|0|0)|0;if(!((e|0)!=0&(d|0)==0))break a}}while(0);if((t|0)==38){b=f;ea(b|0,0|0,4,0);ea(b+4|0,0|0,4,0);b=0;d=0;t=39}c:do if((t|0)==39){l=a+80|0;m=a+148|0;n=a+152|0;if((b|0)<(c|0)|(b|0)==(c|0)&d>>>0<g>>>0)while(1){ea(r|0,0|0,4,0);d=uq(a,0,g,c,r,q)|0;b=da(r|0,4,0,0)|0|0;if(!b){b=l;b=iw(da(m|0,4,0,0)|0|0,0,da(b|0,4,0,0)|0|0,da(b+4|0,4,0,0)|0|0)|0;e=C;h=f;if((b|0)==(da(h|0,4,0,0)|0|0)?(e|0)==(da(h+4|0,4,0,0)|0|0):0){t=cw(g|0,c|0,b|0,e|0)|0;b=(da(n|0,4,0,0)|0|0)+8|0;b=pw(t|0,C|0,b|0,((b|0)<0)<<31>>31|0)|0;ea(r|0,b|0,4,0);t=46}else t=40}else t=46;d:do if((t|0)==46){t=0;if((d|0)==0&(b|0)!=0){k=0;while(1){e=f;h=da(e|0,4,0,0)|0|0;e=da(e+4|0,4,0,0)|0|0;if(!((e|0)<(c|0)|(e|0)==(c|0)&h>>>0<g>>>0)){b=h;break d}d=vq(a,f,u,1,1)|0;k=k+1|0;if(!((d|0)==0&k>>>0<b>>>0)){t=40;break}}}else t=40}while(0);if((t|0)==40){t=0;if(d){l=g;k=c;break c}b=f;e=da(b+4|0,4,0,0)|0|0;b=da(b|0,4,0,0)|0|0}if(!((e|0)<(c|0)|(e|0)==(c|0)&b>>>0<g>>>0)){l=g;k=c;d=0;break}}else{l=g;k=c;d=0}}while(0);e:do if(!o){di(u);if(d)break a}else{h=s+24|0;e=da(h|0,4,0,0)|0|0;m=(da(a+152|0,4,0,0)|0|0)+4|0;m=rw(m|0,((m|0)<0)<<31>>31|0,e|0,0)|0;g=v;ea(g|0,m|0,4,0);ea(g+4|0,C|0,4,0);g=da(p|0,4,0,0)|0|0;if(!g){if(!d)t=57}else{c=s+28|0;b=s+40|0;d=g+104|0;if((da(b|0,4,0,0)|0|0)==(da(d|0,4,0,0)|0|0))b=da(c|0,4,0,0)|0|0;else{ea(c|0,0|0,4,0);ea(b|0,da(d|0,4,0,0)|0|0,4,0);b=0}c=g+68|0;if(b>>>0<(da(c|0,4,0,0)|0|0)>>>0){ea(c|0,b|0,4,0);ea(g+76|0,da(s+32|0,4,0,0)|0|0,4,0);ea(g+80|0,da(s+36|0,4,0,0)|0|0,4,0);zq(g);e=da(h|0,4,0,0)|0|0;t=57}else t=57}f:do if((t|0)==57){b=a+52|0;while(1){if(e>>>0>=(da(b|0,4,0,0)|0|0)>>>0)break;d=vq(a,v,u,0,1)|0;if(!d)e=e+1|0;else break f}di(u);break e}while(0);di(u);break a}while(0);d=f;ea(d|0,l|0,4,0);ea(d+4|0,k|0,4,0);d=0}else d=0}while(0);i=w;return d|0}function jp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=da(a|0,4,0,0)|0|0;if(b){f=da(a+4|0,4,0,0)|0|0;ea((da(b+4|0,4,0,0)|0|0)+4|0,da(b|0,4,0,0)|0|0,4,0);d=a+56|0;Vc(da(d|0,4,0,0)|0|0);ea(d|0,0|0,4,0);ea(a+73>>0|0,0|0,1,0);d=da(a+12|0,4,0,0)|0|0;c=a+8|0;b=da(c|0,4,0,0)|0|0;if(!d)ea(f+8|0,b|0,4,0);else{ea(d+8|0,b|0,4,0);b=da(c|0,4,0,0)|0|0}if(b)ea(b+12|0,d|0,4,0);e=a+76|0;b=da(e|0,2,0,0)|0|0;if(b<<16>>16>=0){c=0;while(1){d=da(a+(c<<2)+120|0,4,0,0)|0|0;if(d){Ag(da(d+68|0,4,0,0)|0|0);b=da(e|0,2,0,0)|0|0}if((c|0)<(b<<16>>16|0))c=c+1|0;else break}}if((da(f+20>>0|0,1,0,0)|0|0)==0?(g=f+12|0,h=da(g|0,4,0,0)|0|0,(h|0)!=0):0){ea(g|0,0|0,4,0);Ag(da(h+68|0,4,0,0)|0|0)}Vc(da(a+20|0,4,0,0)|0|0)}return}function kp(a){a=a|0;var b=0,c=0,d=0,e=0;e=da(a+200|0,4,0,0)|0|0;b=da(3164*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]();c=da(a+136|0,4,0,0)|0|0;if(c)do{b=c;c=da(c+12|0,4,0,0)|0|0;Vc(b)}while((c|0)!=0);ea(a+4>>0|0,0|0,1,0);b=a+208|0;qn(da(b|0,4,0,0)|0|0,da(a+9>>0|0,1,0,1)|0|0,da(a+152|0,4,0,0)|0|0,e)|0;ea(b|0,0|0,4,0);wn(a);if(!(da(a+15>>0|0,1,0,0)|0)){if((da(da(a+64|0,4,0,0)|0|0,4,0,0)|0|0)!=0?(d=Io(a)|0,b=d&255,(b|0)==10|(b|0)==13):0){ea(a+40|0,d|0,4,0);ea(a+16>>0|0,6|0,1,0)}ml(a)}else Mo(a);b=da(3166*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]();b=da(a+64|0,4,0,0)|0|0;c=da(b|0,4,0,0)|0|0;if(c){kc[(fa(da(c+4|0,4,0,0)|0|0,127|0)|0)&127](b)|0;ea(b|0,0|0,4,0)}c=da(a+60|0,4,0,0)|0|0;b=da(c|0,4,0,0)|0|0;if(b){kc[(fa(da(b+4|0,4,0,0)|0|0,127|0)|0)&127](c)|0;ea(c|0,0|0,4,0)}_k(e);bc[(fa(da(8744+148|0,4,0,0)|0|0,31|0)|0)&31](da((da(a+204|0,4,0,0)|0|0)+40|0,4,0,0)|0|0);Vc(a);return}function lp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=da(a+4|0,4,0,0)|0|0;g=pg(f,((f|0)<0)<<31>>31)|0;do if(g){ew(g|0,0,f|0)|0;f=sc[(fa(da(a+24|0,4,0,0)|0|0,31|0)|0)&31](a,b,g,d&556927,e)|0;if(!f){ea(c|0,g|0,4,0);f=0;break}else{Vc(g);break}}else f=7;while(0);return f|0}function mp(a){a=a|0;var b=0,c=0,d=0;b=a+16|0;c=a+12|0;d=a+10|0;if(!(Sl(da(b|0,4,0,0)|0|0,a,da(c|0,4,0,0)|0|0,da(d>>0|0,1,0,0)|0|0)|0))b=0;else{b=(Tl(da(b|0,4,0,0)|0|0,a,da(c|0,4,0,0)|0|0,da(d>>0|0,1,0,0)|0|0)|0)==0;b=b?4:8}return b|0}function np(a){a=a|0;var b=0,c=0;c=a+8|0;b=da(c|0,2,0,0)|0|0;do if(!(b&13))if(!(Tl(da(a+16|0,4,0,0)|0|0,a,da(a+12|0,4,0,0)|0|0,da(a+10>>0|0,1,0,0)|0|0)|0)){b=((da(c|0,2,0,1)|0|0)&48640|4)&65535;ea(c|0,b|0,2,0);break}else{ea(a|0,+(+Tg(a)),8,1);ea(c|0,(da(c|0,2,0,1)|0|0)&48640|8|0,2,0);cm(a);b=da(c|0,2,0,0)|0|0;break}while(0);ea(c|0,b&65517|0,2,0);return}function op(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;q=i;i=i+80|0;if((i|0)>=(j|0))ba();o=q+40|0;p=q;e=c+4|0;if((da(a+10>>0|0,1,0,0)|0|0)!=(da(e>>0|0,1,0,0)|0|0)){n=da(a+32|0,4,0,0)|0|0;k=o+8|0;ea(k|0,1|0,2,0);ea(o+32|0,n|0,4,0);l=o+24|0;ea(l|0,0|0,4,0);m=p+8|0;ea(m|0,1|0,2,0);ea(p+32|0,n|0,4,0);n=p+24|0;ea(n|0,0|0,4,0);Yl(o,a,4096);Yl(p,b,4096);a=Rg(o,da(e>>0|0,1,0,0)|0|0)|0;h=(a|0)==0;if(h)g=0;else g=da(o+12|0,4,0,0)|0|0;e=Rg(p,da(e>>0|0,1,0,0)|0|0)|0;f=(e|0)==0;if(f)b=0;else b=da(p+12|0,4,0,0)|0|0;a=sc[(fa(da(c+12|0,4,0,0)|0|0,31|0)|0)&31](da(c+8|0,4,0,0)|0|0,g,a,b,e)|0;if(!(((da(k|0,2,0,0)|0)&9312)==0&(da(l|0,4,0,0)|0|0)==0))Pg(o);if(!(((da(m|0,2,0,0)|0)&9312)==0&(da(n|0,4,0,0)|0|0)==0))Pg(p);if((h|f)&(d|0)!=0)ea(d>>0|0,7|0,1,0)}else a=sc[(fa(da(c+12|0,4,0,0)|0|0,31|0)|0)&31](da(c+8|0,4,0,0)|0|0,da(a+12|0,4,0,0)|0|0,da(a+16|0,4,0,0)|0|0,da(b+12|0,4,0,0)|0|0,da(b+16|0,4,0,0)|0|0)|0;i=q;return a|0}function pp(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a+12|0,4,0,0)|0|0;c=da(b+12|0,4,0,0)|0|0;a=Yv(da(a+16|0,4,0,0)|0|0,da(b+16|0,4,0,0)|0|0,(d|0)>(c|0)?c:d)|0;return ((a|0)==0?d-c|0:a)|0}function qp(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+16|0;if((i|0)>=(j|0))ba();g=h;do if(!(da(a+3>>0|0,1,0,0)|0)){if(da(a+4>>0|0,1,0,0)|0){ea(c+20|0,((rp(b+4|0,c)|0)&255)+4|0,2,0);e=c+8|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);break}f=da(a+7>>0|0,1,0,1)|0|0;e=b+f|0;d=da(e>>0|0,1,0,0)|0|0;if(d<<24>>24>-1){e=d&255;ea(g|0,e|0,4,0);d=1}else{d=lm(e,g)|0;e=da(g|0,4,0,0)|0|0}g=c;ea(g|0,e|0,4,0);ea(g+4|0,0|0,4,0);f=(d&255)+f|0;d=12}else{d=da(b>>0|0,1,0,0)|0|0;if(d<<24>>24>-1){e=d&255;ea(g|0,e|0,4,0);d=1}else{d=lm(b,g)|0;e=da(g|0,4,0,0)|0|0}f=d&255;f=((rp(b+f|0,c)|0)&255)+f|0;d=12}while(0);do if((d|0)==12){ea(c+12|0,e|0,4,0);ea(c+8|0,b+f|0,4,0);d=da(a+10|0,2,0,1)|0|0;if(e>>>0>d>>>0){g=da(a+12|0,2,0,0)|0|0;b=g&65535;e=(((e-b|0)>>>0)%(((da((da(a+52|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)+-4|0)>>>0)|0)+b|0;d=(e|0)>(d|0)?g:e&65535;ea(c+16|0,d|0,2,0);d=f+(d&65535)|0;ea(c+18|0,d|0,2,0);ea(c+20|0,d+4|0,2,0);break}else{d=e+f|0;ea(c+20|0,((d&65532)>>>0<4?4:d&65535)|0,2,0);ea(c+16|0,e|0,2,0);ea(c+18|0,0|0,2,0);break}}while(0);i=h;return}function rp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=da(a>>0|0,1,0,0)|0|0;d=c&255;do if(d&128){c=da(a+1>>0|0,1,0,1)|0|0;if(!(c&128)){e=b;ea(e|0,c|d<<7&16256|0,4,0);ea(e+4|0,0|0,4,0);c=2;break}e=da(a+2>>0|0,1,0,1)|0|0;d=(e|d<<14)&2080895;if(!(e&128)){e=b;ea(e|0,d|c<<7&16256|0,4,0);ea(e+4|0,0|0,4,0);c=3;break}e=da(a+3>>0|0,1,0,1)|0|0;c=(e|c<<14)&2080895;if(!(e&128)){e=b;ea(e|0,c|d<<7|0,4,0);ea(e+4|0,0|0,4,0);c=4;break}h=da(a+4>>0|0,1,0,1)|0|0;e=h|d<<14;if(!(h&128)){f=b;ea(f|0,e|c<<7|0,4,0);ea(f+4|0,d>>>18|0,4,0);c=5;break}g=c|d<<7;d=da(a+5>>0|0,1,0,1)|0|0;f=d|c<<14;if(!(d&128)){c=b;ea(c|0,f|e<<7&266354560|0,4,0);ea(c+4|0,g>>>18|0,4,0);c=6;break}c=da(a+6>>0|0,1,0,1)|0|0;d=c|e<<14;if(!(c&128)){c=b;ea(c|0,d&-266354561|f<<7&266354560|0,4,0);ea(c+4|0,g>>>11|0,4,0);c=7;break}c=d&2080895;e=da(a+7>>0|0,1,0,1)|0|0;d=e|f<<14;if(!(e&128)){e=b;ea(e|0,d&-266354561|c<<7|0,4,0);ea(e+4|0,g>>>4|0,4,0);c=8;break}else{e=b;ea(e|0,d<<8&532709120|c<<15|(da(a+8>>0|0,1,0,1)|0|0)|0,4,0);ea(e+4|0,h>>>3&15|g<<4|0,4,0);c=9;break}}else{d=b;ea(d|0,c&255|0,4,0);ea(d+4|0,0|0,4,0);c=1}while(0);return c|0}function sp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g+8|0;f=g;d=(da(a+1>>0|0,1,0,1)|0|0)<<16|(da(a>>0|0,1,0,1)|0|0)<<24|(da(a+2>>0|0,1,0,1)|0|0)<<8|(da(a+3>>0|0,1,0,1)|0|0);a=(da(a+5>>0|0,1,0,1)|0|0)<<16|(da(a+4>>0|0,1,0,1)|0|0)<<24|(da(a+6>>0|0,1,0,1)|0|0)<<8|(da(a+7>>0|0,1,0,1)|0|0);h=c;ea(h|0,a|0,4,0);ea(h+4|0,d|0,4,0);if((b|0)==6)a=4;else{ea(k|0,a|0,4,0);ea(k+4|0,d|0,4,0);ea(e|0,+(+(+da(k|0,8,1,0))),8,1);ea(f|0,+(+(+da(e|0,8,1,0))),8,1);a=+(+da(e|0,8,1,0))!=+(+da(f|0,8,1,0))?1:8}ea(c+8|0,a|0,2,0);i=g;return}function tp(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;if(!(c>>>0>16777215|(c|0)==16777215&b>>>0>4294967295)){d=b;e=0;while(1){b=e+1|0;ea(f+e>>0|0,d|128|0,1,0);d=lw(d|0,c|0,7)|0;c=C;if((d|0)==0&(c|0)==0){c=e;break}else e=b}ea(f>>0|0,(da(f>>0|0,1,0,1)|0|0)&127|0,1,0);if((c|0)>-1){d=0;while(1){ea(a+d>>0|0,da(f+c>>0|0,1,0,0)|0|0|0,1,0);if((c|0)>0){d=d+1|0;c=c+-1|0}else break}}}else{ea(a+8>>0|0,b|0,1,0);b=lw(b|0,c|0,8)|0;d=C;c=7;while(1){ea(a+c>>0|0,b|128|0,1,0);b=lw(b|0,d|0,7)|0;if((c|0)<=0){b=9;break}else{d=C;c=c+-1|0}}}i=g;return b|0}function up(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((da(a+44|0,4,0,0)|0|0)>>>0>=b>>>0){d=cl(a,b,c,d)|0;if(!d){d=da(c|0,4,0,0)|0|0;if((da(d>>0|0,1,0,0)|0|0)==0?(e=_p(d)|0,(e|0)!=0):0){d=da(c|0,4,0,0)|0|0;if(d)Ag(da(d+68|0,4,0,0)|0|0)}else e=0}else e=d}else{ea(f|0,54788|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);e=11}i=g;return e|0}function vp(a){a=a|0;var b=0,c=0,d=0;if((da(a+12>>0|0,1,0,0)|0|0)==0?(b=a+60|0,c=da(b|0,4,0,0)|0|0,((kc[(fa(da((da(c|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](c)|0)&4096|0)==0):0){b=da(b|0,4,0,0)|0|0;c=da((da(b|0,4,0,0)|0|0)+44|0,4,0,0)|0|0;if(c){b=kc[(fa(c|0,127|0)|0)&127](b)|0;if((b|0)<32)b=512;else d=6}else{b=4096;d=6}if((d|0)==6)b=(b|0)>65536?65536:b;ea(a+148|0,b|0,4,0)}else ea(a+148|0,512|0,4,0);return}function wp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+40|0;do if(!(da(g|0,4,0,0)|0)){f=da(a+20>>0|0,1,0,0)|0|0;if(f<<24>>24){if(f&3){c=0;break}if((da(b+24|0,2,0,0)|0)&4){c=0;break}}ea(b+12|0,0|0,4,0);do if(!(da(a+208|0,4,0,0)|0)){if(!(((da(b+24|0,2,0,0)|0)&4)==0?(da(a+16>>0|0,1,0,0)|0|0)!=3:0))h=11;if((h|0)==11?(d=yl(a,1)|0,(d|0)!=0):0){c=d;break}if(((da(b+20|0,4,0,0)|0|0)>>>0>(da(a+24|0,4,0,0)|0|0)>>>0?(To(b)|0)!=0:0)?(e=Uo(b)|0,(e|0)!=0):0){c=e;break}c=zl(a,b)|0;h=16}else{if((To(b)|0)!=0?(c=Uo(b)|0,(c|0)!=0):0)break;c=vl(a,b,0,0)|0;h=16}while(0);if((h|0)==16)if(!c){wl(b);c=0;break}d=c&255;if((d|0)==10|(d|0)==13){ea(g|0,c|0,4,0);ea(a+16>>0|0,6|0,1,0)}}else c=0;while(0);return c|0}function xp(a){a=a|0;var b=0;b=da(a+8|0,4,0,0)|0|0;if((da(b>>0|0,1,0,0)|0|0)!=0?(ea(b>>0|0,0|0,1,0),(da(a+26|0,2,0,0)|0|0)>1):0)_p(b)|0;return}function yp(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;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;h=l+8|0;do if(!(da(e|0,4,0,0)|0)){if(!b){ea(k|0,53856|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);ea(e|0,11|0,4,0);break}if(b>>>0<2)g=0;else{f=b+-2|0;f=f-((f>>>0)%(((((da(a+36|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;g=((f+1|0)==(((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0|0)?3:2)+f|0}f=yg(da(a|0,4,0,0)|0|0,g,h,0)|0;if(f){ea(e|0,f|0,4,0);break}b=(b-g|0)*5|0;f=b+-5|0;do if((f|0)>=0){a=da(h|0,4,0,0)|0|0;g=da(a+4|0,4,0,0)|0|0;f=g+f|0;if((da(f>>0|0,1,0,0)|0|0)==c<<24>>24?((da(g+(b+-3)>>0|0,1,0,1)|0)<<16|(da(g+(b+-4)>>0|0,1,0,1)|0)<<24|(da(g+(b+-2)>>0|0,1,0,1)|0)<<8|(da(g+(b+-1)>>0|0,1,0,1)|0)|0)==(d|0):0)break;h=Fg(a)|0;ea(e|0,h|0,4,0);if(!h){ea(f>>0|0,c|0,1,0);ea(g+(b+-4)>>0|0,d>>>24|0,1,0);ea(g+(b+-3)>>0|0,d>>>16|0,1,0);ea(g+(b+-2)>>0|0,d>>>8|0,1,0);ea(g+(b+-1)>>0|0,d|0,1,0)}}else{ea(k|0,53867|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);ea(e|0,11|0,4,0);a=da(h|0,4,0,0)|0|0}while(0);if(a)Ag(a)}while(0);i=l;return}function zp(a,b,c){a=a|0;b=b|0;c=c|0;return Jm(a,b,c,0)|0}function Ap(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=(da(b>>0|0,1,0,1)|0)&63;d=b+f|0;h=da(c+8|0,4,0,0)|0|0;g=da(h|0,4,0,0)|0|0;h=da(h+4|0,4,0,0)|0|0;switch(da(b+1>>0|0,1,0,1)|0|0){case 2:{d=(da(d>>0|0,1,0,0)|0)<<8|(da(b+(f+1)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 4:{d=(da(b+(f+1)>>0|0,1,0,1)|0)<<16|(da(d>>0|0,1,0,1)|0)<<24|(da(b+(f+2)>>0|0,1,0,1)|0)<<8|(da(b+(f+3)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 3:{d=(da(b+(f+1)>>0|0,1,0,1)|0)<<8|(da(d>>0|0,1,0,0)|0)<<16|(da(b+(f+2)>>0|0,1,0,1)|0);e=((d|0)<0)<<31>>31;i=11;break}case 5:{e=(da(d>>0|0,1,0,0)|0)<<8|(da(b+(f+1)>>0|0,1,0,1)|0);d=(da(b+(f+3)>>0|0,1,0,1)|0)<<16|(da(b+(f+2)>>0|0,1,0,1)|0)<<24|(da(b+(f+4)>>0|0,1,0,1)|0)<<8|(da(b+(f+5)>>0|0,1,0,1)|0);i=11;break}case 7:case 0:{d=Jm(a,b,c,0)|0;break}case 6:{e=(da(b+(f+1)>>0|0,1,0,1)|0)<<16|(da(d>>0|0,1,0,1)|0)<<24|(da(b+(f+2)>>0|0,1,0,1)|0)<<8|(da(b+(f+3)>>0|0,1,0,1)|0);d=(da(b+(f+5)>>0|0,1,0,1)|0)<<16|(da(b+(f+4)>>0|0,1,0,1)|0)<<24|(da(b+(f+6)>>0|0,1,0,1)|0)<<8|(da(b+(f+7)>>0|0,1,0,1)|0);i=11;break}case 9:{e=0;d=1;i=11;break}case 8:{e=0;d=0;i=11;break}case 1:{d=da(d>>0|0,1,0,0)|0|0;e=((d|0)<0)<<31>>31;i=11;break}default:d=Jm(a,b,c,0)|0}do if((i|0)==11){if((h|0)>(e|0)|(h|0)==(e|0)&g>>>0>d>>>0){d=da(c+12|0,4,0,0)|0|0;break}if((h|0)<(e|0)|(h|0)==(e|0)&g>>>0<d>>>0){d=da(c+16|0,4,0,0)|0|0;break}if((da(c+4|0,2,0,1)|0|0)>1){d=Jm(a,b,c,1)|0;break}else{d=da(c+6>>0|0,1,0,0)|0|0;break}}while(0);return d|0}function Bp(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;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;f=k+8|0;d=b+1|0;e=da(d>>0|0,1,0,0)|0|0;if(e<<24>>24>-1){d=e&255;ea(f|0,d|0,4,0)}else{lm(d,f)|0;d=da(f|0,4,0,0)|0|0}do if((d|0)>=12){if(!(d&1)){d=da(c+16|0,4,0,0)|0|0;break}f=da(b>>0|0,1,0,1)|0|0;g=(d+-12|0)/2|0;if((f+g|0)>(a|0)){ea(h|0,68550|0,4,0);ea(h+4|0,10788|0,4,0);ad(11,13600,h);ea(c+7>>0|0,11|0,1,0);d=0;break}d=da(c+8|0,4,0,0)|0|0;e=da(d+12|0,4,0,0)|0|0;d=Yv(b+f|0,da(d+16|0,4,0,0)|0|0,(g|0)>(e|0)?e:g)|0;if(d)if((d|0)>0){d=da(c+16|0,4,0,0)|0|0;break}else{d=da(c+12|0,4,0,0)|0|0;break}if((g|0)==(e|0))if((da(c+4|0,2,0,1)|0|0)>1){d=Jm(a,b,c,1)|0;break}else{d=da(c+6>>0|0,1,0,0)|0|0;break}else if((g-e|0)>0){d=da(c+16|0,4,0,0)|0|0;break}else{d=da(c+12|0,4,0,0)|0|0;break}}else d=da(c+12|0,4,0,0)|0|0;while(0);i=k;return d|0}function Cp(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;h=a+73|0;c=da(h>>0|0,1,0,0)|0|0;do if(c<<24>>24!=1){if((c&255)>2){c=Jn(a)|0;if(c)break;c=da(h>>0|0,1,0,0)|0|0}if(!(c<<24>>24)){ea(b|0,1|0,4,0);c=0;break}c=a+68|0;d=da(c|0,4,0,0)|0|0;if((d|0)!=0?(ea(h>>0|0,1|0,1,0),ea(c|0,0|0,4,0),(d|0)>0):0)c=0;else i=9}else i=9;while(0);do if((i|0)==9){g=a+76|0;c=da(g|0,2,0,0)|0|0;d=da(a+(c<<2)+120|0,4,0,0)|0|0;c=a+(c<<1)+78|0;e=(da(c|0,2,0,0)|0|0)+1<<16>>16;ea(c|0,e|0,2,0);c=(da(d+5>>0|0,1,0,0)|0|0)!=0;if((e&65535)<(da(d+18|0,2,0,1)|0|0)){if(c){c=0;break}c=Um(a)|0;break}if(!c){c=da(d+6>>0|0,1,0,1)|0|0;d=da(d+56|0,4,0,0)|0|0;c=qm(a,(da(d+(c+9)>>0|0,1,0,1)|0)<<16|(da(d+(c+8)>>0|0,1,0,1)|0)<<24|(da(d+(c+10)>>0|0,1,0,1)|0)<<8|(da(d+(c+11)>>0|0,1,0,1)|0))|0;if(c)break;c=Um(a)|0;break}e=a+44|0;f=a+72|0;d=da(g|0,2,0,0)|0|0;do{if(!(d<<16>>16)){i=15;break}c=da(a+(d<<16>>16<<2)+120|0,4,0,0)|0|0;if(c){Ag(da(c+68|0,4,0,0)|0|0);d=da(g|0,2,0,0)|0|0}d=d+-1<<16>>16;ea(g|0,d|0,2,0);ea(e|0,0|0,2,0);ea(f>>0|0,(da(f>>0|0,1,0,1)|0)&249|0,1,0);j=d<<16>>16;c=da(a+(j<<2)+120|0,4,0,0)|0|0}while((da(a+(j<<1)+78|0,2,0,1)|0|0)>=(da(c+18|0,2,0,1)|0|0));if((i|0)==15){ea(b|0,1|0,4,0);ea(h>>0|0,0|0,1,0);c=0;break}if(!(da(c+2>>0|0,1,0,0)|0))c=0;else c=Cm(a,b)|0}while(0);return c|0}function Dp(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;k=a+73|0;c=da(k>>0|0,1,0,0)|0|0;do if(c<<24>>24!=1){if((c&255)>2){c=Jn(a)|0;if(c)break;c=da(k>>0|0,1,0,0)|0|0}if(!(c<<24>>24)){ea(b|0,1|0,4,0);c=0;break}c=a+68|0;d=da(c|0,4,0,0)|0|0;if((d|0)!=0?(ea(k>>0|0,1|0,1,0),ea(c|0,0|0,4,0),(d|0)<0):0)c=0;else e=9}else e=9;while(0);a:do if((e|0)==9){j=a+76|0;f=da(j|0,2,0,0)|0|0;g=f<<16>>16;e=da(a+(g<<2)+120|0,4,0,0)|0|0;d=a+(g<<1)+78|0;c=da(d|0,2,0,0)|0|0;if(!(da(e+5>>0|0,1,0,0)|0)){b=da(e+56|0,4,0,0)|0|0;c=(c&65535)<<1;k=da(e+64|0,4,0,0)|0|0;c=((da(k+c>>0|0,1,0,1)|0)<<8|(da(k+(c|1)>>0|0,1,0,1)|0))&(da(e+20|0,2,0,1)|0);c=qm(a,(da(b+(c+1)>>0|0,1,0,1)|0)<<16|(da(b+c>>0|0,1,0,1)|0)<<24|(da(b+(c+2)>>0|0,1,0,1)|0)<<8|(da(b+(c+3)>>0|0,1,0,1)|0))|0;if(c)break;c=Ep(a)|0;break}b:do if(!(c<<16>>16)){h=a+44|0;i=a+72|0;e=g;while(1){if(!(f<<16>>16))break;d=da(a+(e<<2)+120|0,4,0,0)|0|0;if(!d)d=f;else{Ag(da(d+68|0,4,0,0)|0|0);d=da(j|0,2,0,0)|0|0}f=d+-1<<16>>16;ea(j|0,f|0,2,0);ea(h|0,0|0,2,0);ea(i>>0|0,(da(i>>0|0,1,0,1)|0)&249|0,1,0);e=f<<16>>16;d=a+(e<<1)+78|0;c=da(d|0,2,0,0)|0|0;if(c<<16>>16)break b}ea(k>>0|0,0|0,1,0);ea(b|0,1|0,4,0);c=0;break a}while(0);ea(d|0,c+-1<<16>>16|0,2,0);c=da(a+((da(j|0,2,0,0)|0)<<2)+120|0,4,0,0)|0|0;if((da(c+2>>0|0,1,0,0)|0|0)!=0?(da(c+5>>0|0,1,0,0)|0|0)==0:0)c=Dm(a,b)|0;else c=0}while(0);return c|0}function Ep(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=a+76|0;do{c=da(d|0,2,0,0)|0|0;b=da(a+(c<<2)+120|0,4,0,0)|0|0;if(da(b+5>>0|0,1,0,0)|0){e=4;break}f=da(b+6>>0|0,1,0,1)|0|0;g=da(b+56|0,4,0,0)|0|0;f=(da(g+(f+9)>>0|0,1,0,1)|0)<<16|(da(g+(f+8)>>0|0,1,0,1)|0)<<24|(da(g+(f+10)>>0|0,1,0,1)|0)<<8|(da(g+(f+11)>>0|0,1,0,1)|0);ea(a+(c<<1)+78|0,da(b+18|0,2,0,0)|0|0|0,2,0);b=qm(a,f)|0}while((b|0)==0);if((e|0)==4){ea(a+(c<<1)+78|0,(da(b+18|0,2,0,1)|0|0)+65535|0,2,0);b=0}return b|0}function Fp(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;m=i;i=i+224|0;if((i|0)>=(j|0))ba();k=m;g=m+8|0;ea(g|0,0|0,4,0);do if(b){h=a+16|0;l=Em(da(h|0,4,0,0)|0|0,m+16|0,200,g)|0;if(l){Fm(da(h|0,4,0,0)|0|0,c,b,l);if(!(da(l+4|0,2,0,0)|0)){lg(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,da(g|0,4,0,0)|0|0);ea(k|0,53713|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);g=11;break}h=da(g|0,4,0,0)|0|0;g=Bm(a,l,c,d,e,f)|0;if(h)lg(da((da(a+16|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,h)}else g=7}else g=Bm(a,0,c,d,e,f)|0;while(0);i=m;return g|0}function Gp(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;o=i;i=i+48|0;if((i|0)>=(j|0))ba();n=o+24|0;d=o;l=o+36|0;m=o+32|0;h=da(a+52|0,4,0,0)|0|0;qp(a,b,d);ea(c|0,da(d+20|0,2,0,0)|0|0|0,2,0);c=da(d+18|0,2,0,0)|0|0;a:do if(c<<16>>16){e=c&65535;f=b+(e+3)|0;if(f>>>0>((da(a+56|0,4,0,0)|0|0)+(da(a+20|0,2,0,1)|0|0)|0)>>>0){ea(n|0,58720|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11;break}c=(da(h+36|0,4,0,0)|0|0)+-4|0;c=(((da(d+12|0,4,0,0)|0|0)+-1+c-(da(d+16|0,2,0,1)|0|0)|0)>>>0)/(c>>>0)|0;if(c){g=h+44|0;a=c;e=(da(b+(e+1)>>0|0,1,0,1)|0)<<16|(da(b+e>>0|0,1,0,1)|0)<<24|(da(b+(e+2)>>0|0,1,0,1)|0)<<8|(da(f>>0|0,1,0,1)|0);while(1){a=a+-1|0;ea(l|0,0|0,4,0);ea(m|0,0|0,4,0);if(e>>>0<2)break;if(e>>>0>(da(g|0,4,0,0)|0|0)>>>0)break;b=(a|0)==0;if(!b){c=Lp(h,e,m,l)|0;if(c)break a;c=da(m|0,4,0,0)|0|0;if(c)f=13;else f=12}else f=12;if((f|0)==12){c=Xp(h,e)|0;ea(m|0,c|0,4,0);if(!c){c=0;f=15}else f=13}if((f|0)==13){f=0;if((da((da(c+68|0,4,0,0)|0|0)+26|0,2,0,0)|0|0)==1)f=15;else{ea(n|0,58754|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11}}if((f|0)==15)c=Xm(h,c,e)|0;d=da(m|0,4,0,0)|0|0;if((d|0)!=0?(k=da(d+68|0,4,0,0)|0|0,(k|0)!=0):0)Ag(k);if(c)break a;if(b){c=0;break a}else e=da(l|0,4,0,0)|0|0}ea(n|0,58734|0,4,0);ea(n+4|0,10788|0,4,0);ad(11,13600,n);c=11}else c=0}else c=0;while(0);i=o;return c|0}function Hp(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;r=i;i=i+16|0;if((i|0)>=(j|0))ba();f=r;do if(!(da(d|0,4,0,0)|0)){n=da(a+56|0,4,0,0)|0|0;o=b<<1;p=da(a+64|0,4,0,0)|0|0;q=p+o|0;e=(da(q>>0|0,1,0,1)|0|0)<<8|(da(p+(o|1)>>0|0,1,0,1)|0|0);g=a+6|0;h=da(g>>0|0,1,0,1)|0|0;k=n+(h+5)|0;l=n+(h+6)|0;if(e>>>0>=((da(k>>0|0,1,0,1)|0|0)<<8|(da(l>>0|0,1,0,1)|0|0))>>>0?(m=a+52|0,(e+c|0)>>>0<=(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)>>>0):0){c=Bq(a,e&65535,c&65535)|0;if(c){ea(d|0,c|0,4,0);break}c=a+18|0;e=(da(c|0,2,0,0)|0|0)+-1<<16>>16;ea(c|0,e|0,2,0);if(!(e<<16>>16)){d=n+(h+1)|0;ea(d>>0|0,0|0,1,0);ea(d+1>>0|0,0|0,1,0);ea(d+2>>0|0,0|0,1,0);ea(d+3>>0|0,0|0,1,0);ea(n+(h+7)>>0|0,0|0,1,0);ea(k>>0|0,(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)>>>8|0,1,0);ea(l>>0|0,da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0,1,0);ea(a+16|0,(da((da(m|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)+65528-(da(g>>0|0,1,0,1)|0|0)-(da(a+7>>0|0,1,0,1)|0|0)|0,2,0);break}else{kw(q|0,p+(o+2)|0,(e&65535)-b<<1|0)|0;ea(n+(h+3)>>0|0,(da(c|0,2,0,1)|0|0)>>>8|0,1,0);ea(n+(h+4)>>0|0,da(c|0,2,0,0)|0|0,1,0);n=a+16|0;ea(n|0,(da(n|0,2,0,1)|0|0)+2|0,2,0);break}}ea(f|0,58991|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);ea(d|0,11|0,4,0)}while(0);i=r;return}function Ip(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,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();k=y;u=y+12|0;q=y+8|0;a:do if(!(da(g|0,4,0,0)|0)){h=a+1|0;if((da(h>>0|0,1,0,0)|0|0)==0?(w=d+2|0,x=a+16|0,(w|0)<=(da(x|0,2,0,1)|0|0)):0){e=Fg(da(a+68|0,4,0,0)|0|0)|0;if(e){ea(g|0,e|0,4,0);break}r=da(a+56|0,4,0,0)|0|0;l=da(a+14|0,2,0,1)|0|0;s=a+18|0;t=(da(s|0,2,0,1)|0)<<1;n=b<<1;o=l+n|0;p=a+6|0;e=da(p>>0|0,1,0,1)|0|0;ea(u|0,0|0,4,0);b=t+l|0;l=r+(e+5)|0;m=r+(e+6)|0;h=(((da(l>>0|0,1,0,1)|0)<<8|(da(m>>0|0,1,0,1)|0))+65535&65535)+1|0;b:do if((b|0)>(h|0)){ea(k|0,54326|0,4,0);ea(k+4|0,10788|0,4,0);ad(11,13600,k);e=11}else{k=b+2|0;do if((k|0)<=(h|0)){if((da(r+(e+1)>>0|0,1,0,0)|0|0)==0?(da(r+(e+2)>>0|0,1,0,0)|0|0)==0:0){v=20;break}ea(q|0,0|0,4,0);b=Cq(a,d,u,q)|0;e=da(u|0,4,0,0)|0|0;if(e)break b;if(!(da(q|0,4,0,0)|0))if(!b)v=20;else h=b-r|0;else v=21}else v=20;while(0);if((v|0)==20)if((k+d|0)>(h|0))v=21;else v=23;if((v|0)==21){e=Dq(a)|0;ea(u|0,e|0,4,0);if(e)break;h=(((da(l>>0|0,1,0,1)|0)<<8|(da(m>>0|0,1,0,1)|0))+65535&65535)+1|0;v=23}if((v|0)==23){h=h-d|0;ea(l>>0|0,h>>>8|0,1,0);ea(m>>0|0,h|0,1,0)}ea(s|0,(da(s|0,2,0,0)|0|0)+1<<16>>16|0,2,0);ea(x|0,(da(x|0,2,0,1)|0|0)-w|0,2,0);e=r+h|0;jw(e|0,c|0,d|0)|0;if(f){ea(e>>0|0,f>>>24|0,1,0);ea(r+(h+1)>>0|0,f>>>16|0,1,0);ea(r+(h+2)>>0|0,f>>>8|0,1,0);ea(r+(h+3)>>0|0,f|0,1,0)}f=r+o|0;kw(r+(o+2)|0,f|0,t-n|0)|0;ea(f>>0|0,h>>>8|0,1,0);ea(r+(o+1)>>0|0,h|0,1,0);ea(r+((da(p>>0|0,1,0,1)|0|0)+3)>>0|0,(da(s|0,2,0,1)|0|0)>>>8|0,1,0);ea(r+((da(p>>0|0,1,0,1)|0|0)+4)>>0|0,da(s|0,2,0,0)|0|0,1,0);if(!(da((da(a+52|0,4,0,0)|0|0)+17>>0|0,1,0,0)|0))break a;Eq(a,c,g);break a}while(0);ea(g|0,e|0,4,0);break}if(!e)e=c;else jw(e|0,c|0,d|0)|0;if(f){ea(e>>0|0,f>>>24|0,1,0);ea(e+1>>0|0,f>>>16|0,1,0);ea(e+2>>0|0,f>>>8|0,1,0);ea(e+3>>0|0,f|0,1,0)}g=da(h>>0|0,1,0,0)|0|0;ea(h>>0|0,g+1<<24>>24|0,1,0);g=g&255;ea(a+(g<<2)+32|0,e|0,4,0);ea(a+(g<<1)+22|0,b|0,2,0)}while(0);i=y;return}function Jp(a){a=a|0;var b=0,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,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,aa=0,ca=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0;La=i;i=i+240|0;if((i|0)>=(j|0))ba();Ka=La+24|0;Ha=La+200|0;xa=La+188|0;wa=La+168|0;va=La+160|0;ya=La+136|0;za=La+116|0;Ja=La+96|0;Ea=La+92|0;ua=La+229|0;ta=La+72|0;sa=La+52|0;ra=La+206|0;Da=La+48|0;Aa=La;Ca=La+44|0;Ga=La+40|0;Fa=La+36|0;Ba=La+32|0;Ia=La+204|0;qa=La+216|0;_=a+4|0;ja=((da((da(_|0,4,0,0)|0|0)+36|0,4,0,0)|0)<<1>>>0)/3|0;ka=a+76|0;na=a+74|0;oa=qa+4|0;pa=qa;$=a+124|0;ha=a+78|0;ia=a+80|0;e=da(ka|0,2,0,0)|0|0;Z=0;while(1){f=e<<16>>16;g=da(a+(f<<2)+120|0,4,0,0)|0|0;h=g+1|0;c=(da(h>>0|0,1,0,0)|0|0)==0;if(!(e<<16>>16)){if(c){c=Z;b=0;break}ea(Ha|0,0|0,4,0);ea(xa|0,0|0,4,0);d=da(g+52|0,4,0,0)|0|0;b=Fg(da(g+68|0,4,0,0)|0|0)|0;ea(Ka|0,b|0,4,0);do if(!b){c=g+72|0;ea(Ka|0,hp(d,Ha,xa,da(c|0,4,0,0)|0|0,0)|0|0,4,0);e=da(Ha|0,4,0,0)|0|0;Fq(g,e,Ka);if(da(d+17>>0|0,1,0,0)|0)yp(d,da(xa|0,4,0,0)|0|0,5,da(c|0,4,0,0)|0|0,Ka);b=da(Ka|0,4,0,0)|0|0;if(!b){jw(e+22|0,g+22|0,(da(h>>0|0,1,0,1)|0)<<1|0)|0;jw(e+32|0,g+32|0,(da(h>>0|0,1,0,1)|0)<<2|0)|0;ea(e+1>>0|0,da(h>>0|0,1,0,0)|0|0|0,1,0);ol(g,(da((da(e+56|0,4,0,0)|0)>>0|0,1,0,1)|0)&247);W=da(g+6>>0|0,1,0,1)|0|0;V=da(g+56|0,4,0,0)|0|0;b=da(xa|0,4,0,0)|0|0;ea(V+(W+8)>>0|0,b>>>24|0,1,0);ea(V+(W+9)>>0|0,b>>>16|0,1,0);ea(V+(W+10)>>0|0,b>>>8|0,1,0);ea(V+(W+11)>>0|0,b|0,1,0);ea($|0,e|0,4,0);b=0;break}ea($|0,0|0,4,0);if(e)Ag(da(e+68|0,4,0,0)|0|0)}else ea($|0,0|0,4,0);while(0);if(b){c=Z;break}ea(ka|0,1|0,2,0);ea(ha|0,0|0,2,0);ea(ia|0,0|0,2,0);e=da($|0,4,0,0)|0|0;d=e+1|0;if(!(da(d>>0|0,1,0,0)|0)){c=1;f=1;Y=15}else{k=1;f=1;h=d}}else if(c){c=e;e=g;d=h;Y=15}else{k=e;e=g}if((Y|0)==15){Y=0;if((da(e+16|0,2,0,1)|0|0)>>>0>ja>>>0){k=c;h=d}else{c=Z;b=0;break}}d=f+-1|0;X=da(a+(d<<2)+120|0,4,0,0)|0|0;d=da(a+(d<<1)+78|0,2,0,0)|0|0;l=d&65535;b=Fg(da(X+68|0,4,0,0)|0|0)|0;do if(!b){if(((((da(e+3>>0|0,1,0,0)|0|0)!=0?(da(h>>0|0,1,0,0)|0|0)==1:0)?(aa=da(e+22|0,2,0,0)|0|0,ca=e+18|0,aa<<16>>16==(da(ca|0,2,0,0)|0|0)):0)?(fa=X+72|0,(da(fa|0,4,0,0)|0|0)!=1):0)?(ga=X+18|0,(da(ga|0,2,0,0)|0|0)==d<<16>>16):0){d=da(e+52|0,4,0,0)|0|0;if(!(aa<<16>>16)){ea(Ka|0,59423|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);c=Z;b=11;break}W=hp(d,Ca,Fa,0,0)|0;ea(Ga|0,W|0,4,0);if(!W){c=da(e+32|0,4,0,0)|0|0;ea(Ba|0,c|0,4,0);b=Kp(e,c)|0;ea(Ia|0,b|0,2,0);f=da(Ca|0,4,0,0)|0|0;ol(f,13);Gq(f,1,Ba,Ia);ea(f+16|0,65534-(b&65535)+(da(d+36|0,4,0,0)|0|0)-(da(f+14|0,2,0,1)|0|0)|0,2,0);if((da(d+17>>0|0,1,0,0)|0|0)!=0?(yp(d,da(Fa|0,4,0,0)|0|0,5,da(fa|0,4,0,0)|0|0,Ga),(b&65535)>(da(f+12|0,2,0,1)|0|0)):0)Eq(f,c,Ga);W=da(e+56|0,4,0,0)|0|0;d=(da(ca|0,2,0,1)|0)<<1;c=da(e+64|0,4,0,0)|0|0;d=((da(c+(d+-2)>>0|0,1,0,1)|0)<<8|(da(c+(d+-1)>>0|0,1,0,1)|0))&(da(e+20|0,2,0,1)|0);c=W+d|0;ea(Ba|0,c|0,4,0);d=W+(d+9)|0;while(1){b=c+1|0;if((da(c>>0|0,1,0,0)|0|0)<0&b>>>0<d>>>0)c=b;else break}ea(Ba|0,b|0,4,0);d=c+10|0;f=oa;while(1){ea(Ba|0,b+1|0,4,0);W=da(b>>0|0,1,0,0)|0|0;c=f+1|0;ea(f>>0|0,W|0,1,0);b=da(Ba|0,4,0,0)|0|0;if(!(W<<24>>24<0&b>>>0<d>>>0))break;else f=c}Ip(X,da(ga|0,2,0,1)|0|0,qa,c-pa|0,0,da(e+72|0,4,0,0)|0|0,Ga);W=da(X+6>>0|0,1,0,1)|0|0;V=da(X+56|0,4,0,0)|0|0;c=da(Fa|0,4,0,0)|0|0;ea(V+(W+8)>>0|0,c>>>24|0,1,0);ea(V+(W+9)>>0|0,c>>>16|0,1,0);ea(V+(W+10)>>0|0,c>>>8|0,1,0);ea(V+(W+11)>>0|0,c|0,1,0);c=da(Ca|0,4,0,0)|0|0;if(c)Ag(da(c+68|0,4,0,0)|0|0)}c=Z;b=da(Ga|0,4,0,0)|0|0;break}c=Fo(da((da(_|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)|0;S=k<<16>>16==1;g=da(na>>0|0,1,0,1)|0|0;F=g&1;ea(Ha|0,0|0,4,0);ea(ua+0>>0|0,0|0,1,0);ea(ua+1>>0|0,0|0,1,0);ea(ua+2>>0|0,0|0,1,0);ea(ua+3>>0|0,0|0,1,0);ea(ua+4>>0|0,0|0,1,0);U=da(X+52|0,4,0,0)|0|0;if(!c)b=7;else{w=X+1|0;k=da(w>>0|0,1,0,1)|0|0;T=X+18|0;b=da(T|0,2,0,1)|0|0;f=b+k|0;if((f|0)<2){V=f;O=0}else{do if(d<<16>>16)if((f|0)==(l|0)){g=(g|-2)+l|0;break}else{g=l+-1|0;break}else g=0;while(0);V=2-F|0;O=g}W=V+1|0;g=O-k+V|0;v=X+56|0;k=da(v|0,4,0,0)|0|0;if((g|0)==(b|0))l=(da(X+6>>0|0,1,0,1)|0|0)+8|0;else{l=g<<1;R=da(X+64|0,4,0,0)|0|0;l=((da(R+l>>0|0,1,0,1)|0)<<8|(da(R+(l|1)>>0|0,1,0,1)|0))&(da(X+20|0,2,0,1)|0)}L=k+l|0;J=k+(l+1)|0;K=k+(l+2)|0;y=k+(l+3)|0;R=(da(J>>0|0,1,0,1)|0)<<16|(da(L>>0|0,1,0,1)|0)<<24|(da(K>>0|0,1,0,1)|0)<<8|(da(y>>0|0,1,0,1)|0);ea(Ea|0,R|0,4,0);l=xa+(V<<2)|0;R=up(U,R,l,0)|0;ea(Ha|0,R|0,4,0);a:do if(!R){o=X+22|0;r=X+32|0;s=X+20|0;t=X+64|0;u=U+22|0;I=U+36|0;p=V;k=0;while(1){d=da(l|0,4,0,0)|0|0;k=k+1+(da(d+18|0,2,0,1)|0|0)+(da(d+1>>0|0,1,0,1)|0|0)|0;d=p+-1|0;if(!p)break;q=d+O|0;l=da(w>>0|0,1,0,0)|0|0;if((q|0)==(da(o|0,2,0,1)|0|0))if(!(l<<24>>24)){l=0;Y=52}else{R=da(r|0,4,0,0)|0|0;ea(va+(d<<2)|0,R|0,4,0);g=(da(R+1>>0|0,1,0,1)|0)<<16|(da(R>>0|0,1,0,1)|0)<<24|(da(R+2>>0|0,1,0,1)|0)<<8|(da(R+3>>0|0,1,0,1)|0);ea(Ea|0,g|0,4,0);ea(Ja+(d<<2)|0,(Kp(X,R)|0)&65535|0,4,0);ea(w>>0|0,0|0,1,0)}else Y=52;if((Y|0)==52){Y=0;g=da(v|0,4,0,0)|0|0;m=q-(l&255)<<1;f=da(t|0,4,0,0)|0|0;m=((da(f+m>>0|0,1,0,1)|0)<<8|(da(f+(m|1)>>0|0,1,0,1)|0))&(da(s|0,2,0,1)|0);f=g+m|0;b=va+(d<<2)|0;ea(b|0,f|0,4,0);g=(da(g+(m+1)>>0|0,1,0,1)|0)<<16|(da(f>>0|0,1,0,1)|0)<<24|(da(g+(m+2)>>0|0,1,0,1)|0)<<8|(da(g+(m+3)>>0|0,1,0,1)|0);ea(Ea|0,g|0,4,0);n=(Kp(X,f)|0)&65535;ea(Ja+(d<<2)|0,n|0,4,0);if((da(u|0,2,0,0)|0)&4){if((n+m|0)>(da(I|0,4,0,0)|0|0)){d=p;Y=54;break}jw(c+m|0,f|0,n|0)|0;ea(b|0,c+(f-(da(v|0,4,0,0)|0|0))|0,4,0);l=da(w>>0|0,1,0,0)|0|0}Hp(X,q-(l&255)|0,n,Ha)}l=xa+(d<<2)|0;R=up(U,g,l,0)|0;ea(Ha|0,R|0,4,0);if(R){Y=47;break a}else p=d}if((Y|0)==54){Y=0;ea(Ka|0,59766|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);ew(xa|0,0,d<<2|0)|0;f=0;g=0;break}l=k+3&-4;R=fi((da(U+32|0,4,0,0)|0|0)+(l*6|0)|0)|0;if(!R){ea(Ha|0,7|0,4,0);f=R;g=0;break}P=R+(l<<2)|0;B=P+(l<<1)|0;E=da(xa|0,4,0,0)|0|0;M=(da(E+5>>0|0,1,0,1)|0)<<2;Q=M&65535;N=da(E+3>>0|0,1,0,0)|0|0;x=N&255;if((V|0)>-1){A=N<<24>>24!=0;C=E;g=0;D=0;k=0;while(1){z=da(C+18|0,2,0,1)|0|0;H=da(C+1>>0|0,1,0,0)|0|0;v=H&255;w=v+z|0;if(!(H<<24>>24)){b=da(C+56|0,4,0,0)|0|0;if((w|0)>0){q=da(C+20|0,2,0,1)|0|0;p=da(C+14|0,2,0,1)|0|0;o=0;n=k;while(1){H=(o<<1)+p|0;H=b+(((da(b+H>>0|0,1,0,1)|0)<<8|(da(b+(H+1)>>0|0,1,0,1)|0))&q)|0;ea(R+(n<<2)|0,H|0,4,0);ea(P+(n<<1)|0,Kp(C,H)|0|0,2,0);o=o+1|0;if((o|0)==(z|0))break;else n=n+1|0}k=z+k|0}}else if((w|0)>0){r=C+56|0;p=C+20|0;o=C+64|0;n=0;b=k;while(1){q=n;u=v;b:while(1){while(1){s=u+-1|0;if((u|0)<=0){Y=72;break b}u=da(C+(s<<1)+22|0,2,0,1)|0|0;if((u|0)>(q|0))u=s;else{t=u;u=s;break}}if((t|0)==(q|0)){Y=71;break}else q=q+-1|0}if((Y|0)==71){Y=0;q=da(C+(u<<2)+32|0,4,0,0)|0|0}else if((Y|0)==72){Y=0;q=q<<1;H=da(o|0,4,0,0)|0|0;q=(da(r|0,4,0,0)|0|0)+(((da(H+q>>0|0,1,0,1)|0)<<8|(da(H+(q|1)>>0|0,1,0,1)|0))&(da(p|0,2,0,1)|0))|0}ea(R+(b<<2)|0,q|0,4,0);ea(P+(b<<1)|0,Kp(C,q)|0|0,2,0);n=n+1|0;if((n|0)==(w|0))break;else b=b+1|0}k=z+k+v|0}ea(za+(g<<2)|0,k|0,4,0);if((g|0)>=(V|0)|A)l=D;else{d=da(Ja+(g<<2)|0,4,0,0)|0|0;m=P+(k<<1)|0;ea(m|0,d|0,2,0);d=d&65535;l=d+D|0;jw(B+D|0,da(va+(g<<2)|0,4,0,0)|0|0,d|0)|0;d=R+(k<<2)|0;ea(d|0,B+(D+M)|0,4,0);f=(da(m|0,2,0,1)|0|0)-M|0;ea(m|0,f|0,2,0);do if(!(da(C+5>>0|0,1,0,0)|0)){G=da(d|0,4,0,0)|0|0;H=(da(C+56|0,4,0,0)|0|0)+8|0;H=da(H>>0|0,1,0,1)|0|(da(H+1>>0|0,1,0,1)|0)<<8|(da(H+2>>0|0,1,0,1)|0)<<16|(da(H+3>>0|0,1,0,1)|0)<<24;ea(G>>0|0,H|0,1,0);ea(G+1>>0|0,H>>8|0,1,0);ea(G+2>>0|0,H>>16|0,1,0);ea(G+3>>0|0,H>>24|0,1,0)}else{if((f&65532)>>>0>=4)break;ea(B+l>>0|0,0|0,1,0);ea(m|0,4|0,2,0);l=l+1|0}while(0);k=k+1|0}g=g+1|0;if((g|0)>=(W|0))break;C=da(xa+(g<<2)|0,4,0,0)|0|0;D=l}l=M+-12+(da(I|0,4,0,0)|0|0)|0;if((k|0)>0){m=A<<31>>31;f=0;d=0;g=0;do{b=g+2+(da(P+(f<<1)|0,2,0,1)|0|0)|0;if((b|0)>(l|0)){ea(Ja+(d<<2)|0,g|0,4,0);ea(ya+(d<<2)|0,f|0,4,0);if((d|0)>3){Y=91;break}else{f=f+m|0;d=d+1|0;g=0}}else g=b;f=f+1|0}while((f|0)<(k|0));if((Y|0)==91){Y=0;ea(Ka|0,59904|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);f=R;g=0;break}ea(Ja+(d<<2)|0,g|0,4,0);ea(ya+(d<<2)|0,k|0,4,0);if((d|0)>0){w=(F|0)==0;f=d;do{n=Ja+(f<<2)|0;f=f+-1|0;b=Ja+(f<<2)|0;o=ya+(f<<2)|0;s=da(o|0,4,0,0)|0|0;v=da(b|0,4,0,0)|0|0;m=g;while(1){r=s+-1|0;q=s-x|0;if(m){if(!w){g=v;break}t=da(P+(q<<1)|0,2,0,0)|0|0;u=m+2|0;q=da(P+(r<<1)|0,2,0,0)|0|0;p=v+-2|0;if(((t&65535)+u|0)>(p-(q&65535)|0)){g=v;break}}else{p=v+-2|0;u=2;t=da(P+(q<<1)|0,2,0,0)|0|0;q=da(P+(r<<1)|0,2,0,0)|0|0}ea(o|0,r|0,4,0);s=r;v=p-(q&65535)|0;m=(t&65535)+u|0}ea(n|0,m|0,4,0);ea(b|0,g|0,4,0)}while((f|0)>0);D=1;H=l;G=k}else{D=1;H=l;G=k}}else Y=93}else{l=M+-12+(da(I|0,4,0,0)|0|0)|0;k=0;Y=93}if((Y|0)==93){Y=0;ea(Ja|0,0|0,4,0);ea(ya|0,k|0,4,0);D=0;H=l;d=0;G=k}if((da(E+72|0,4,0,0)|0|0)>>>0<2){ea(Ka|0,59963|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);f=R;g=0;break}z=da((da(E+56|0,4,0,0)|0)>>0|0,1,0,1)|0|0;if((d|0)>-1){n=(F|0)!=0;b=U+17|0;f=X+72|0;p=0;g=0;while(1){do if((p|0)<(W|0)){E=xa+(p<<2)|0;F=da(E|0,4,0,0)|0|0;ea(wa+(p<<2)|0,F|0,4,0);ea(Da|0,F|0,4,0);ea(E|0,0|0,4,0);F=Fg(da(F+68|0,4,0,0)|0|0)|0;ea(Ha|0,F|0,4,0);g=g+1|0;if(F){f=R;break a}}else{F=hp(U,Da,Ea,n?1:da(Ea|0,4,0,0)|0|0,0)|0;ea(Ha|0,F|0,4,0);if(F){f=R;break a}l=da(Da|0,4,0,0)|0|0;ol(l,z);ea(wa+(p<<2)|0,l|0,4,0);g=g+1|0;ea(za+(p<<2)|0,G|0,4,0);if(!(da(b>>0|0,1,0,0)|0))break;yp(U,da(l+72|0,4,0,0)|0|0,5,da(f|0,4,0,0)|0|0,Ha);if(da(Ha|0,4,0,0)|0){f=R;break a}}while(0);if((p|0)<(d|0))p=p+1|0;else break}if((g|0)>0){k=0;c:do{F=da(wa+(k<<2)|0,4,0,0)|0|0;l=da(F+72|0,4,0,0)|0|0;ea(ta+(k<<2)|0,l|0,4,0);ea(sa+(k<<2)|0,l|0,4,0);ea(ra+(k<<1)|0,da((da(F+68|0,4,0,0)|0|0)+24|0,2,0,0)|0|0|0,2,0);if((k|0)>0){f=0;do{if((da(ta+(f<<2)|0,4,0,0)|0|0)==(l|0)){Y=118;break c}f=f+1|0}while((f|0)<(k|0))}k=k+1|0}while((k|0)<(g|0));if((Y|0)==118){Y=0;ea(Ka|0,60018|0,4,0);ea(Ka+4|0,10788|0,4,0);ad(11,13600,Ka);ea(Ha|0,11|0,4,0);f=R;break}m=(g|0)>1;f=U+44|0;d=0;do{if(m){k=0;l=1;do{k=(da(sa+(l<<2)|0,4,0,0)|0|0)>>>0<(da(sa+(k<<2)|0,4,0,0)|0|0)>>>0?l:k;l=l+1|0}while((l|0)!=(g|0))}else k=0;F=sa+(k<<2)|0;l=da(F|0,4,0,0)|0|0;ea(F|0,-1|0,4,0);if((k|0)!=(d|0)){if((k|0)>(d|0)){E=da((da(wa+(k<<2)|0,4,0,0)|0|0)+68|0,4,0,0)|0|0;F=k+1+(da(f|0,4,0,0)|0|0)|0;ea(E+24|0,0|0,2,0);Yp(E,F)}F=da(wa+(d<<2)|0,4,0,0)|0|0;E=da(F+68|0,4,0,0)|0|0;ea(E+24|0,da(ra+(k<<1)|0,2,0,0)|0|0|0,2,0);Yp(E,l);ea(F+72|0,l|0,4,0)}d=d+1|0}while((d|0)!=(g|0));ea(Ea|0,l|0,4,0);F=0}else F=1}else{F=1;g=0}C=g+-1|0;l=da(wa+(C<<2)|0,4,0,0)|0|0;E=da(l+72|0,4,0,0)|0|0;ea(L>>0|0,E>>>24|0,1,0);ea(J>>0|0,E>>>16|0,1,0);ea(K>>0|0,E>>>8|0,1,0);ea(y>>0|0,E|0,1,0);if(!((z&8|0)!=0|(W|0)==(g|0))){K=(da(l+56|0,4,0,0)|0|0)+8|0;L=(da((da(((g|0)>(W|0)?wa:xa)+(V<<2)|0,4,0,0)|0|0)+56|0,4,0,0)|0|0)+8|0;L=da(L>>0|0,1,0,1)|0|(da(L+1>>0|0,1,0,1)|0)<<8|(da(L+2>>0|0,1,0,1)|0)<<16|(da(L+3>>0|0,1,0,1)|0)<<24;ea(K>>0|0,L|0,1,0);ea(K+1>>0|0,L>>8|0,1,0);ea(K+2>>0|0,L>>16|0,1,0);ea(K+3>>0|0,L>>24|0,1,0)}E=U+17|0;if((da(E>>0|0,1,0,0)|0|0)!=0?(la=da(wa|0,4,0,0)|0|0,ma=da(I|0,4,0,0)|0|0,D):0){v=N<<24>>24==0;t=v&1;s=Q<<16>>16==0;q=da(la+56|0,4,0,0)|0|0;p=(da(la+18|0,2,0,1)|0|0)+(da(la+1>>0|0,1,0,1)|0|0)|0;r=0;o=0;k=0;m=la;while(1){u=da(R+(r<<2)|0,4,0,0)|0|0;if((r|0)==(p|0)){k=k+1|0;if((k|0)<(g|0))l=wa+(k<<2)|0;else l=xa+(k<<2)|0;p=da(l|0,4,0,0)|0|0;q=da(p+56|0,4,0,0)|0|0;p=r+t+(da(p+18|0,2,0,1)|0|0)+(da(p+1>>0|0,1,0,1)|0|0)|0}if((r|0)==(da(ya+(o<<2)|0,4,0,0)|0|0)){l=o+1|0;m=da(wa+(l<<2)|0,4,0,0)|0|0;if(!v)Y=142}else{l=o;Y=142}do if((Y|0)==142){Y=0;if((k|0)<(g|0)?(u>>>0>=q>>>0?(da(m+72|0,4,0,0)|0|0)==(da(ta+(k<<2)|0,4,0,0)|0|0):0)&u>>>0<(q+ma|0)>>>0:0)break;if(s)yp(U,(da(u+1>>0|0,1,0,1)|0)<<16|(da(u>>0|0,1,0,1)|0)<<24|(da(u+2>>0|0,1,0,1)|0)<<8|(da(u+3>>0|0,1,0,1)|0),5,da(m+72|0,4,0,0)|0|0,Ha);if((da(P+(r<<1)|0,2,0,1)|0|0)<=(da(m+12|0,2,0,1)|0|0))break;Eq(m,u,Ha)}while(0);r=r+1|0;if((r|0)==(G|0))break;else o=l}}if((C|0)>0){n=N<<24>>24==0;p=0;q=0;while(1){o=da(wa+(p<<2)|0,4,0,0)|0|0;k=da(ya+(p<<2)|0,4,0,0)|0|0;f=da(R+(k<<2)|0,4,0,0)|0|0;d=da(P+(k<<1)|0,2,0,0)|0|0;l=(d&65535)+M|0;m=c+q|0;do if(!(da(o+5>>0|0,1,0,0)|0)){L=(da(o+56|0,4,0,0)|0|0)+8|0;k=da(f>>0|0,1,0,1)|0|(da(f+1>>0|0,1,0,1)|0)<<8|(da(f+2>>0|0,1,0,1)|0)<<16|(da(f+3>>0|0,1,0,1)|0)<<24;ea(L>>0|0,k|0,1,0);ea(L+1>>0|0,k>>8|0,1,0);ea(L+2>>0|0,k>>16|0,1,0);ea(L+3>>0|0,k>>24|0,1,0);k=m}else{if(!n){qp(o,da(R+(k+-1<<2)|0,4,0,0)|0|0,Aa);l=Aa;f=m;k=0;l=(om(c+(q+4)|0,da(l|0,4,0,0)|0|0,da(l+4|0,4,0,0)|0|0)|0)+4|0;break}b=f+-4|0;if(d<<16>>16!=4){f=b;k=m;break}f=b;k=m;l=(Kp(X,b)|0)&65535}while(0);Ip(X,p+O|0,f,l,k,da(o+72|0,4,0,0)|0|0,Ha);if(da(Ha|0,4,0,0)|0){f=R;break a}p=p+1|0;if((p|0)>=(C|0))break;else q=l+q|0}}l=1-g|0;if((l|0)<(g|0)){D=da(ya|0,4,0,0)|0|0;C=N<<24>>24==0&1;do{A=(l|0)<0?0-l|0:l;B=ua+A|0;do if(!(da(B>>0|0,1,0,0)|0)){if((l|0)<=-1?(O=A+-1|0,(da(za+(O<<2)|0,4,0,0)|0|0)<(da(ya+(O<<2)|0,4,0,0)|0|0)):0)break;if(!A){z=0;f=0;y=D}else{k=A+-1|0;if((A|0)<(W|0))f=(da(za+(k<<2)|0,4,0,0)|0|0)+C|0;else f=G;y=(da(ya+(k<<2)|0,4,0,0)|0|0)+C|0;z=y;y=(da(ya+(A<<2)|0,4,0,0)|0|0)-y|0}w=da(wa+(A<<2)|0,4,0,0)|0|0;n=da(w+56|0,4,0,0)|0|0;b=da(w+6>>0|0,1,0,1)|0|0;d=w+64|0;k=(da(d|0,4,0,0)|0|0)+(y<<1)|0;m=w+18|0;q=da(m|0,2,0,1)|0|0;x=w+1|0;p=q+f+(da(x>>0|0,1,0,1)|0|0)|0;o=y+z|0;if((f|0)<(z|0)){O=Hq(w,z-f|0,R+(f<<2)|0,P+(f<<1)|0)|0;N=da(d|0,4,0,0)|0|0;kw(N|0,N+(O<<1)|0,q<<1|0)|0;q=q-O|0}if((p|0)>(o|0))q=q-(Hq(w,p-o|0,R+(o<<2)|0,P+(o<<1)|0)|0)|0;s=n+(b+5)|0;r=n+(b+6)|0;O=n+((((da(s>>0|0,1,0,1)|0)<<8|(da(r>>0|0,1,0,1)|0))+65535&65535)+1)|0;ea(Ka|0,O|0,4,0);d:do if(O>>>0<k>>>0)Y=181;else{if((z|0)<(f|0)){p=f-z|0;p=(p|0)>(y|0)?y:p;O=da(d|0,4,0,0)|0|0;kw(O+(p<<1)|0,O|0,q<<1|0)|0;if(Iq(w,k,Ka,O,p,R+(z<<2)|0,P+(z<<1)|0)|0){Y=181;break}q=q+p|0}p=da(x>>0|0,1,0,0)|0|0;if(p<<24>>24){v=0;do{u=(da(w+(v<<1)+22|0,2,0,1)|0|0)+f|0;t=u-z|0;if((t|0)>-1&(t|0)<(y|0)){N=t<<1;M=da(d|0,4,0,0)|0|0;O=M+N|0;kw(M+(N+2)|0,O|0,q-t<<1|0)|0;if(Iq(w,k,Ka,O,1,R+(u<<2)|0,P+(u<<1)|0)|0){Y=181;break d}p=da(x>>0|0,1,0,0)|0|0;q=q+1|0}v=v+1|0}while((v|0)<(p&255|0))}O=q+z|0;if(Iq(w,k,Ka,(da(d|0,4,0,0)|0|0)+(q<<1)|0,y-q|0,R+(O<<2)|0,P+(O<<1)|0)|0){Y=181;break}O=y&65535;ea(m|0,O|0,2,0);ea(x>>0|0,0|0,1,0);ea(n+(b+3)>>0|0,(O&65535)>>>8|0,1,0);ea(n+(b+4)>>0|0,da(m|0,2,0,0)|0|0,1,0);O=(da(Ka|0,4,0,0)|0|0)-n|0;ea(s>>0|0,O>>>8|0,1,0);ea(r>>0|0,O|0,1,0)}while(0);if((Y|0)==181){Y=0;Gq(w,y,R+(z<<2)|0,P+(z<<1)|0)}ea(B>>0|0,1|0,1,0);ea(w+16|0,H-(da(Ja+(A<<2)|0,4,0,0)|0|0)|0,2,0)}while(0);l=l+1|0}while((l|0)!=(g|0))}do if(S){if(da(T|0,2,0,0)|0){Y=191;break}f=da(wa|0,4,0,0)|0|0;if((da(X+6>>0|0,1,0,1)|0|0)>>>0>(da(f+16|0,2,0,1)|0|0)>>>0){Y=191;break}ea(Ha|0,Dq(f)|0|0,4,0);Fq(f,X,Ha);if(da(Ha|0,4,0,0)|0)break;ea(Ha|0,Xm(da(f+52|0,4,0,0)|0|0,f,da(f+72|0,4,0,0)|0|0)|0|0,4,0)}else Y=191;while(0);do if((Y|0)==191){Y=0;if((da(E>>0|0,1,0,0)|0|0)==0|Q<<16>>16!=0|F)break;else f=0;do{T=da(wa+(f<<2)|0,4,0,0)|0|0;S=da(T+56|0,4,0,0)|0|0;yp(U,(da(S+9>>0|0,1,0,1)|0)<<16|(da(S+8>>0|0,1,0,1)|0)<<24|(da(S+10>>0|0,1,0,1)|0)<<8|(da(S+11>>0|0,1,0,1)|0),5,da(T+72|0,4,0,0)|0|0,Ha);f=f+1|0}while((f|0)!=(g|0))}while(0);if((g|0)>=(W|0)){f=R;break}f=da(Ha|0,4,0,0)|0|0;b=g;do{d=da(xa+(b<<2)|0,4,0,0)|0|0;if(!f){f=Xm(da(d+52|0,4,0,0)|0|0,d,da(d+72|0,4,0,0)|0|0)|0;ea(Ha|0,f|0,4,0)}b=b+1|0}while((b|0)!=(W|0));f=R}else{d=V;Y=47}while(0);if((Y|0)==47){Y=0;ew(xa|0,0,(d<<2)+4|0)|0;f=0;g=0}gi(f);if((V|0)>-1){d=0;do{f=da(xa+(d<<2)|0,4,0,0)|0|0;if(f)Ag(da(f+68|0,4,0,0)|0|0);d=d+1|0}while((d|0)<(W|0))}if((g|0)>0){d=0;do{b=da(wa+(d<<2)|0,4,0,0)|0|0;if(b)Ag(da(b+68|0,4,0,0)|0|0);d=d+1|0}while((d|0)!=(g|0))}b=da(Ha|0,4,0,0)|0|0}if(Z)_k(Z)}else c=Z;while(0);ea(h>>0|0,0|0,1,0);if(e)Ag(da(e+68|0,4,0,0)|0|0);e=(da(ka|0,2,0,0)|0|0)+-1<<16>>16;ea(ka|0,e|0,2,0);if(b)break;else Z=c}if(c)_k(c);i=La;return b|0}function Kp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=da(a+7>>0|0,1,0,1)|0|0;d=b+c|0;do if(!(da(a+4>>0|0,1,0,0)|0)){f=da(d>>0|0,1,0,0)|0|0;e=f&255;if(f<<24>>24<0){f=b+(c+9)|0;c=e&127;do{d=d+1|0;e=da(d>>0|0,1,0,0)|0|0;c=e&127|c<<7}while(e<<24>>24<0&d>>>0<f>>>0)}else c=e;e=d+1|0;if(da(a+2>>0|0,1,0,0)|0){g=d+10|0;f=e;while(1){e=d+2|0;if((da(f>>0|0,1,0,0)|0|0)<0&e>>>0<g>>>0){d=f;f=e}else break}}d=da(a+10|0,2,0,1)|0|0;if(c>>>0>d>>>0){f=da(a+12|0,2,0,1)|0|0;c=(((c-f|0)>>>0)%(((da((da(a+52|0,4,0,0)|0|0)+36|0,4,0,0)|0|0)+-4|0)>>>0)|0)+f|0;c=(e-b&65535)+4+(c>>>0>d>>>0?f:c)|0;break}else{c=e-b+c|0;c=c>>>0<4?4:c;break}}else{e=b+(c+9)|0;while(1){c=d+1|0;if((da(d>>0|0,1,0,0)|0|0)<0&c>>>0<e>>>0)d=c;else break}c=c-b|0}while(0);return c&65535|0}function Lp(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();n=p+4|0;m=p;l=p+8|0;ea(n|0,0|0,4,0);if(da(a+17>>0|0,1,0,0)|0){e=((da(2514*4|0,4,0,0)|0|0)>>>0)/((da(a+32|0,4,0,0)|0|0)>>>0)|0;h=a+36|0;k=b;while(1){g=k+1|0;if(g>>>0<2)f=0;else{f=k+-1|0;f=f-((f>>>0)%(((((da(h|0,4,0,0)|0|0)>>>0)/5|0)+1|0)>>>0)|0)|0;f=((f+1|0)==(e|0)?3:2)+f|0}if((f|0)==(g|0)|(k|0)==(e|0))k=g;else break}if(g>>>0<=(da(a+44|0,4,0,0)|0|0)>>>0){k=gp(a,g,l,m)|0;h=(k|0)==0;f=h&(da(l>>0|0,1,0,0)|0|0)==4&(da(m|0,4,0,0)|0|0)==(b|0);g=f?g:0;if(f|h^1){e=0;f=f?101:k}else o=8}else{g=0;o=8}}else{g=0;o=8}if((o|0)==8){f=cl(a,b,n,(c|0)==0?2:0)|0;e=da(n|0,4,0,0)|0|0;if(!f){g=da(e+56|0,4,0,0)|0|0;g=(da(g+1>>0|0,1,0,1)|0)<<16|(da(g>>0|0,1,0,1)|0)<<24|(da(g+2>>0|0,1,0,1)|0)<<8|(da(g+3>>0|0,1,0,1)|0);f=0}}ea(d|0,g|0,4,0);if(!c){if(e)Ag(da(e+68|0,4,0,0)|0|0)}else ea(c|0,e|0,4,0);i=p;return ((f|0)==101?0:f)|0}function Mp(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=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;ea(g|0,0|0,4,0);e=(b|0)!=0;a:do if(c)if(e){e=g;while(1){f=c+8|0;while(1){if((Vp(a,b+8|0,da(b|0,4,0,0)|0|0,f,da(c|0,4,0,0)|0|0)|0)>=1)break;ea(e|0,b|0,4,0);e=b+4|0;b=da(e|0,4,0,0)|0|0;if(!b){b=0;f=0;break a}else f=0}ea(e|0,c|0,4,0);e=c+4|0;c=da(e|0,4,0,0)|0|0;if(!c){c=0;f=1;break a}if(!b){b=0;f=0;break}}}else{f=e;e=g}else{c=0;f=e;e=g}while(0);ea(e|0,(f?b:c)|0,4,0);ea(d|0,da(g|0,4,0,0)|0|0,4,0);i=h;return}function Np(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+8|0;d=f;c=da(2252*4|0,4,0,0)|0|0;if((c|0)!=0?(kc[(fa(c|0,127|0)|0)&127](202)|0)!=0:0)c=3338;else{c=lp(da(a|0,4,0,0)|0|0,0,b,4126,e)|0;ea(e|0,c|0,4,0);if(!c){c=d;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=da(b|0,4,0,0)|0|0;$b[(fa(da((da(c|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](c,18,d)|0;c=da(e|0,4,0,0)|0|0}}i=f;return c|0}function Op(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=b+0|0;g=f+40|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(g|0));f=((c|0)<0)<<31>>31;g=pg(c,f)|0;ea(b+4|0,g|0,4,0);if(!g)ea(b|0,7|0,4,0);else{g=qw(d|0,e|0,c|0,f|0)|0;ea(b+12|0,g|0,4,0);ea(b+16|0,g|0,4,0);g=cw(d|0,e|0,g|0,((g|0)<0)<<31>>31|0)|0;f=b+24|0;ea(f|0,g|0,4,0);ea(f+4|0,C|0,4,0);ea(b+8|0,c|0,4,0);ea(b+32|0,a|0,4,0)}return}function Pp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:do if((c|0)>0){e=a+8|0;g=a+16|0;h=a+4|0;i=a+32|0;j=a+12|0;k=a+24|0;l=c;do{if(da(a|0,4,0,0)|0)break a;f=da(g|0,4,0,0)|0|0;d=(da(e|0,4,0,0)|0|0)-f|0;d=(l|0)>(d|0)?d:l;jw((da(h|0,4,0,0)|0|0)+f|0,b+(c-l)|0,d|0)|0;f=(da(g|0,4,0,0)|0|0)+d|0;ea(g|0,f|0,4,0);if((f|0)==(da(e|0,4,0,0)|0|0)){p=da(i|0,4,0,0)|0|0;n=da(j|0,4,0,0)|0|0;o=(da(h|0,4,0,0)|0|0)+n|0;m=k;m=iw(da(m|0,4,0,0)|0|0,da(m+4|0,4,0,0)|0|0,n|0,((n|0)<0)<<31>>31|0)|0;ea(a|0,sc[(fa(da((da(p|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](p,o,f-n|0,m,C)|0|0,4,0);ea(g|0,0|0,4,0);ea(j|0,0|0,4,0);m=da(e|0,4,0,0)|0|0;f=k;m=iw(da(f|0,4,0,0)|0|0,da(f+4|0,4,0,0)|0|0,m|0,((m|0)<0)<<31>>31|0)|0;f=k;ea(f|0,m|0,4,0);ea(f+4|0,C|0,4,0)}l=l-d|0}while((l|0)>0)}while(0);return}function Qp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=a+4|0;if(((da(a|0,4,0,0)|0|0)==0?(d=da(e|0,4,0,0)|0|0,(d|0)!=0):0)?(c=da(a+16|0,4,0,0)|0|0,f=da(a+12|0,4,0,0)|0|0,(c|0)>(f|0)):0){h=da(a+32|0,4,0,0)|0|0;g=a+24|0;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,f|0,((f|0)<0)<<31>>31|0)|0;ea(a|0,sc[(fa(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](h,d+f|0,c-f|0,g,C)|0|0,4,0)}d=a+24|0;c=da(a+16|0,4,0,0)|0|0;d=iw(c|0,((c|0)<0)<<31>>31|0,da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0)|0;c=b;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);Vc(da(e|0,4,0,0)|0|0);e=da(a|0,4,0,0)|0|0;c=a+0|0;d=c+40|0;do{ea(c|0,0|0,4,0);c=c+4|0}while((c|0)<(d|0));return e|0}function Rp(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;f=da(2252*4|0,4,0,0)|0|0;if((f|0)!=0?(kc[(fa(f|0,127|0)|0)&127](201)|0)!=0:0)f=266;else{h=b+44|0;if(da(h|0,4,0,0)|0)ea(h|0,0|0,4,0);m=b;ea(m|0,d|0,4,0);ea(m+4|0,e|0,4,0);m=c+8|0;k=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;i=b+8|0;g=i;ea(g|0,k|0,4,0);ea(g+4|0,m|0,4,0);g=da(c|0,4,0,0)|0|0;j=b+24|0;ea(j|0,g|0,4,0);c=a+8|0;f=da(c|0,4,0,0)|0|0;a=da((da(f+24|0,4,0,0)|0|0)+136|0,4,0,0)|0|0;l=((a|0)<0)<<31>>31;if(!((m|0)>(l|0)|(m|0)==(l|0)&k>>>0>a>>>0)?(da(da(g|0,4,0,0)|0|0,4,0,0)|0|0)>2:0){ea(h|0,0|0,4,0);f=da(c|0,4,0,0)|0|0}a=da(f+12|0,4,0,0)|0|0;c=((a|0)<0)<<31>>31;e=qw(d|0,e|0,a|0,c|0)|0;f=b+36|0;d=da(f|0,4,0,0)|0|0;if(!d){h=pg(a,c)|0;ea(f|0,h|0,4,0);ea(b+40|0,a|0,4,0);d=h;f=(h|0)==0?7:0}else f=0;if((f|0)==0&(e|0)!=0){f=a-e|0;a=b;h=da(a|0,4,0,0)|0|0;a=da(a+4|0,4,0,0)|0|0;b=iw(h|0,a|0,f|0,((f|0)<0)<<31>>31|0)|0;k=C;c=i;g=da(c|0,4,0,0)|0|0;c=da(c+4|0,4,0,0)|0|0;if((k|0)>(c|0)|(k|0)==(c|0)&b>>>0>g>>>0)f=cw(g|0,c|0,h|0,a|0)|0;j=da(j|0,4,0,0)|0|0;f=sc[(fa(da((da(j|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](j,d+e|0,f,h,a)|0}}return f|0}function Sp(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+32|0;if((i|0)>=(j|0))ba();g=h+8|0;f=h;d=da(a+44|0,4,0,0)|0|0;c=a;e=da(c|0,4,0,0)|0|0;a:do if(!d){d=da(a+40|0,4,0,0)|0|0;c=qw(e|0,da(c+4|0,4,0,0)|0|0,d|0,((d|0)<0)<<31>>31|0)|0;if((c|0)!=0&(d-c|0)>8){d=(rp((da(a+36|0,4,0,0)|0|0)+c|0,b)|0)&255;c=a;d=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,d|0,0)|0;c=a;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);c=0;break}else d=0;while(1){c=Jq(a,1,f)|0;if(c)break a;c=da((da(f|0,4,0,0)|0)>>0|0,1,0,0)|0|0;ea(g+(d&15)>>0|0,c|0,1,0);if(c<<24>>24<0)d=d+1|0;else break}rp(g,b)|0;c=0}else{d=(rp(d+e|0,b)|0)&255;c=a;d=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,d|0,0)|0;c=a;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);c=0}while(0);i=h;return c|0}function Tp(a){a=a|0;var b=0,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();g=k;c=g;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=a;e=da(c+4|0,4,0,0)|0|0;b=a+8|0;d=da(b+4|0,4,0,0)|0|0;do if((e|0)<(d|0)|((e|0)==(d|0)?(da(c|0,4,0,0)|0|0)>>>0<(da(b|0,4,0,0)|0|0)>>>0:0))h=9;else{c=da(a+48|0,4,0,0)|0|0;if(c){b=Kq(c)|0;f=c+32|0;d=c+48|0;ea(f+0|0,da(d+0|0,4,0,0)|0|0,4,0);ea(f+4|0,da(d+4|0,4,0,0)|0|0,4,0);ea(f+8|0,da(d+8|0,4,0,0)|0|0,4,0);ea(f+12|0,da(d+12|0,4,0,0)|0|0,4,0);d=c+40|0;f=c+8|0;e=da(f|0,4,0,0)|0|0;f=da(f+4|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)==(e|0)?(da(d+4|0,4,0,0)|0|0)==(f|0):0)ea(c+20|0,1|0,4,0);if(!b)if(!(da(c+20|0,4,0,0)|0)){b=Rp(da(c|0,4,0,0)|0|0,a,c+32|0,e,f)|0;if(!b){h=9;break}else break}else b=0}else b=0;Up(a)}while(0);if((h|0)==9){b=Sp(a,g)|0;if(!b){b=da(g|0,4,0,0)|0|0;ea(a+20|0,b|0,4,0);b=Jq(a,b,a+32|0)|0}}i=k;return b|0}function Up(a){a=a|0;var b=0;Vc(da(a+28|0,4,0,0)|0|0);Vc(da(a+36|0,4,0,0)|0|0);Rm(da(a+48|0,4,0,0)|0|0);a=a+0|0;b=a+56|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));return}function Vp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=da(a+12|0,4,0,0)|0|0;if(d)Fm(da((da(a+8|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,e,d,f);return Jm(c,b,f,0)|0}function Wp(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;r=i;i=i+16|0;if((i|0)>=(j|0))ba();f=r;e=r+8|0;n=r+12|0;do if((da(a+44|0,4,0,0)|0|0)>>>0>=b>>>0){b=up(a,b,e,0)|0;if(!b){p=da(e|0,4,0,0)|0|0;o=p+9|0;a:do if(!(da(o>>0|0,1,0,0)|0)){ea(o>>0|0,1|0,1,0);l=da(p+6>>0|0,1,0,1)|0|0;h=p+18|0;e=da(h|0,2,0,0)|0|0;if(!(e<<16>>16)){e=e&65535;b=p+5|0}else{g=0;while(1){f=da(p+56|0,4,0,0)|0|0;e=g<<1;b=da(p+64|0,4,0,0)|0|0;e=((da(b+e>>0|0,1,0,1)|0)<<8|(da(b+(e|1)>>0|0,1,0,1)|0))&(da(p+20|0,2,0,1)|0);b=f+e|0;k=p+5|0;if((da(k>>0|0,1,0,0)|0|0)==0?(m=Wp(a,(da(f+(e+1)>>0|0,1,0,1)|0)<<16|(da(b>>0|0,1,0,1)|0)<<24|(da(f+(e+2)>>0|0,1,0,1)|0)<<8|(da(f+(e+3)>>0|0,1,0,1)|0),1,d)|0,(m|0)!=0):0){b=m;q=21;break a}b=Gp(p,b,n)|0;g=g+1|0;if(b){q=21;break a}e=da(h|0,2,0,1)|0|0;if((g|0)>=(e|0)){b=k;break}}}if(!(da(b>>0|0,1,0,0)|0)){b=da(p+56|0,4,0,0)|0|0;b=Wp(a,(da(b+(l+9)>>0|0,1,0,1)|0)<<16|(da(b+(l+8)>>0|0,1,0,1)|0)<<24|(da(b+(l+10)>>0|0,1,0,1)|0)<<8|(da(b+(l+11)>>0|0,1,0,1)|0),1,d)|0;if(!b)q=16}else if(!d)q=16;else{ea(d|0,(da(d|0,4,0,0)|0|0)+e|0,4,0);q=16}if((q|0)==16){if(c){b=Xm(da(p+52|0,4,0,0)|0|0,p,da(p+72|0,4,0,0)|0|0)|0;q=21;break}b=Fg(da(p+68|0,4,0,0)|0|0)|0;if(!b){ol(p,da((da(p+56|0,4,0,0)|0|0)+l>>0|0,1,0,1)|0|8);b=0;q=21;break}}ea(o>>0|0,0|0,1,0)}else{ea(f|0,60971|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11;q=21}while(0);if((q|0)==21){ea(o>>0|0,0|0,1,0);if(!p)break}Ag(da(p+68|0,4,0,0)|0|0)}}else{ea(f|0,60966|0,4,0);ea(f+4|0,10788|0,4,0);ad(11,13600,f);b=11}while(0);i=r;return b|0}function Xp(a,b){a=a|0;b=b|0;var c=0,d=0;d=(da(a|0,4,0,0)|0|0)+204|0;c=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(d|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,b,0)|0;c=hl(da(d|0,4,0,0)|0|0,b,c)|0;if(!c)c=0;else{d=da(c+8|0,4,0,0)|0|0;ea(d+56|0,da(c+4|0,4,0,0)|0|0,4,0);ea(d+68|0,c|0,4,0);ea(d+52|0,a|0,4,0);ea(d+72|0,b|0,4,0);ea(d+6>>0|0,((b|0)==1?100:0)|0,1,0);c=d}return c|0}function Yp(a,b){a=a|0;b=b|0;var c=0;c=a+20|0;pc[(fa(da(8744+140|0,4,0,0)|0|0,15|0)|0)&15](da((da(a+28|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,b);ea(c|0,b|0,4,0);if(((da(a+24|0,2,0,0)|0)&6)==6)Po(a,3);return}function Zp(a){a=a|0;var b=0,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;q=i;i=i+16|0;if((i|0)>=(j|0))ba();p=q;m=da(a+52|0,4,0,0)|0|0;n=da(a>>0|0,1,0,0)|0|0;o=da(a+72|0,4,0,0)|0|0;l=_p(a)|0;ea(p|0,l|0,4,0);if(!l){l=da(a+18|0,2,0,0)|0|0;k=l&65535;if(!(l<<16>>16))b=a+5|0;else{c=a+56|0;d=a+20|0;e=a+64|0;b=a+5|0;l=0;do{f=da(c|0,4,0,0)|0|0;g=l<<1;h=da(e|0,4,0,0)|0|0;g=((da(h+g>>0|0,1,0,1)|0)<<8|(da(h+(g|1)>>0|0,1,0,1)|0))&(da(d|0,2,0,1)|0);h=f+g|0;Eq(a,h,p);if(!(da(b>>0|0,1,0,0)|0))yp(m,(da(f+(g+1)>>0|0,1,0,1)|0)<<16|(da(h>>0|0,1,0,1)|0)<<24|(da(f+(g+2)>>0|0,1,0,1)|0)<<8|(da(f+(g+3)>>0|0,1,0,1)|0),5,o,p);l=l+1|0}while((l|0)<(k|0))}if(!(da(b>>0|0,1,0,0)|0)){l=da(a+6>>0|0,1,0,1)|0|0;k=da(a+56|0,4,0,0)|0|0;yp(m,(da(k+(l+9)>>0|0,1,0,1)|0)<<16|(da(k+(l+8)>>0|0,1,0,1)|0)<<24|(da(k+(l+10)>>0|0,1,0,1)|0)<<8|(da(k+(l+11)>>0|0,1,0,1)|0),5,o,p)}}ea(a>>0|0,n|0,1,0);i=q;return da(p|0,4,0,0)|0|0}function _p(a){a=a|0;var b=0,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;r=i;i=i+16|0;if((i|0)>=(j|0))ba();q=r;a:do if(!(da(a>>0|0,1,0,0)|0)){b=da(a+52|0,4,0,0)|0|0;n=da(a+56|0,4,0,0)|0|0;f=da(a+6>>0|0,1,0,1)|0|0;if(Qo(a,da(n+f>>0|0,1,0,1)|0|0)|0){ea(q|0,54562|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}h=da(b+32|0,4,0,0)|0|0;ea(a+20|0,h+65535|0,2,0);ea(a+1>>0|0,0|0,1,0);m=da(b+36|0,4,0,0)|0|0;b=f+8+(da(a+7>>0|0,1,0,1)|0|0)|0;ea(a+14|0,b|0,2,0);ea(a+60|0,n+m|0,4,0);b=b&65535;ea(a+64|0,n+b|0,4,0);e=da(n+(f+5)>>0|0,1,0,0)|0|0;d=da(n+(f+6)>>0|0,1,0,0)|0|0;c=(da(n+(f+3)>>0|0,1,0,1)|0)<<8|(da(n+(f+4)>>0|0,1,0,1)|0);ea(a+18|0,c|0,2,0);if(c>>>0>(((h+-8|0)>>>0)/6|0)>>>0){ea(q|0,54579|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}h=(c<<1)+b|0;g=m+-4|0;c=(da(n+(f+1)>>0|0,1,0,1)|0)<<8|(da(n+(f+2)>>0|0,1,0,1)|0);b=(((e&255)<<8|d&255)+65535&65535)+1+(da(n+(f+7)>>0|0,1,0,1)|0|0)|0;do if(c){while(1){if((c|0)<(h|0)|(c|0)>(g|0)){p=8;break}d=(da(n+c>>0|0,1,0,1)|0)<<8|(da(n+(c+1)>>0|0,1,0,1)|0);e=(da(n+(c+2)>>0|0,1,0,1)|0)<<8|(da(n+(c+3)>>0|0,1,0,1)|0);c=e+c|0;if(!d){k=e;l=c;o=b;p=12;break}if((d|0)<=(c+3|0)|(c|0)>(m|0))break;c=d;b=e+b|0}if((p|0)==8){ea(q|0,54634|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break a}if((p|0)==12?(l|0)<=(m|0):0){b=k+o|0;break}ea(q|0,54641|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break a}while(0);if((b|0)>(m|0)){ea(q|0,54655|0,4,0);ea(q+4|0,10788|0,4,0);ad(11,13600,q);b=11;break}else{ea(a+16|0,b-h|0,2,0);ea(a>>0|0,1|0,1,0);b=0;break}}else b=0;while(0);i=r;return b|0}function $p(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;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;d=da(a|0,4,0,0)|0|0;e=d+65|0;if(!(da(e>>0|0,1,0,0)|0)){if(((da(d+24|0,4,0,0)|0)&65536|0)==0?(f=a+4|0,k=da(f|0,4,0,0)|0|0,ea(g|0,((b|0)==0?13552:b)|0,4,0),ch(k,d,13560,g),(c|0)!=0):0){b=da(da(f|0,4,0,0)|0|0,4,0,0)|0|0;ea(g|0,b|0,4,0);ea(g+4|0,c|0,4,0);d=Lq(d,b,0,g)|0;ea(da(f|0,4,0,0)|0|0,d|0,4,0)}if(!(da(e>>0|0,1,0,0)|0)){ea(g|0,105209|0,4,0);ea(g+4|0,10788|0,4,0);ad(11,13600,g);d=11}else d=7}else d=7;ea(a+12|0,d|0,4,0);i=h;return}function aq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;l=a+20|0;a:do if((da(l|0,4,0,0)|0|0)>0){g=a+16|0;h=(c|0)==0;k=0;a=0;do{e=(k|0)<2^k;f=da(g|0,4,0,0)|0|0;d=da(f+(e<<4)+12|0,4,0,0)|0|0;if(!(!h?(cd(c,da(f+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)){a=an(d+24|0,b,m)|0;if(a){a=da(a+8|0,4,0,0)|0|0;if(a)break a}else a=0}k=k+1|0}while((k|0)<(da(l|0,4,0,0)|0|0))}else a=0;while(0);i=n;return a|0}function bq(a){a=a|0;var b=0,c=0,d=0,e=0;e=da(a+8|0,4,0,0)|0|0;d=a+46|0;c=da(d|0,2,0,0)|0|0;c=(c&65535)>5?5:c&65535;b=da((da(a+12|0,4,0,0)|0|0)+28|0,2,0,0)|0|0;ea(e|0,(b<<16>>16<33?33:b)|0,2,0);jw(e+2|0,13512,c<<1|0)|0;b=da(d|0,2,0,1)|0|0;if(c>>>0<b>>>0)do{c=c+1|0;ea(e+(c<<1)|0,23|0,2,0);b=da(d|0,2,0,1)|0|0}while((c|0)<(b|0));if(da(a+50>>0|0,1,0,0)|0)ea(e+(b<<1)|0,0|0,2,0);return}function cq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0;l=i;i=i+64|0;if((i|0)>=(j|0))ba();h=l;a:do if((((c|0)!=0?(f=da(c|0,4,0,0)|0|0,(f|0)!=0):0)?(k=c+8|0,(da(k|0,4,0,0)|0|0)!=0):0)?(e=a+4|0,m=Zh(da(a|0,4,0,0)|0|0,f,da(e|0,4,0,0)|0|0)|0,(m|0)!=0):0){d=da(c+4|0,4,0,0)|0|0;b:do if(!d)g=11;else{if(!(cd(da(c|0,4,0,0)|0|0,d)|0)){e=da(m+8|0,4,0,0)|0|0;if(!e){g=11;break}while(1){f=da(e+51>>0|0,1,0,0)|0|0;if((f&3)==2)break;e=da(e+20|0,4,0,0)|0|0;if(!e){g=11;break b}}d=da(k|0,4,0,0)|0|0;b=e}else{b=aq(da(a|0,4,0,0)|0|0,d,da(e|0,4,0,0)|0|0)|0;e=da(k|0,4,0,0)|0|0;if(!b)break;f=da(b+51>>0|0,1,0,0)|0|0;d=e}k=(da(b+46|0,2,0,1)|0|0)+1|0;ea(b+51>>0|0,f&-5|0,1,0);e=b+8|0;Mq(d,k,da(e|0,4,0,0)|0|0,b);if(da(b+36|0,4,0,0)|0)break a;ea(m+28|0,da(da(e|0,4,0,0)|0|0,2,0,0)|0|0|0,2,0);break a}while(0);if((g|0)==11)e=da(k|0,4,0,0)|0|0;g=m+42|0;k=h+44|0;ea(k|0,da(g|0,2,0,0)|0|0|0,2,0);Mq(e,1,m+28|0,h);ea(g|0,da(k|0,2,0,0)|0|0|0,2,0)}while(0);i=l;return 0}function dq(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();f=g;do if(b){if((da(a+12|0,4,0,0)|0|0)>>>0<b>>>0){ea(f|0,b|0,4,0);en(a,44408,f);c=1;break}d=(da(a+8|0,4,0,0)|0|0)+(b>>>3)|0;e=da(d>>0|0,1,0,1)|0|0;c=1<<(b&7);if(!(e&c)){ea(d>>0|0,e|c|0,1,0);c=0;break}else{ea(f|0,b|0,4,0);en(a,44432,f);c=1;break}}else c=1;while(0);i=g;return c|0}function eq(a,b){a=a|0;b=b|0;var c=0,d=0;c=da(a|0,4,0,0)|0|0;do if(c){if((b|0)==1){b=c+8|0;ea(a|0,da(b|0,4,0,0)|0|0,4,0);ea(b|0,0|0,4,0);ea(c+12|0,0|0,4,0);break}b=b+-1|0;c=eq(a,b)|0;d=da(a|0,4,0,0)|0|0;if(d){ea(d+12|0,c|0,4,0);c=d+8|0;ea(a|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,eq(a,b)|0|0,4,0);return d|0}}else c=0;while(0);return c|0}function fq(a,b){a=a|0;b=b|0;var c=0;if((da(a+43>>0|0,1,0,0)|0|0)==2){c=a+24|0;if((da(c|0,4,0,0)|0|0)>0){b=a+32|0;a=0;do{Vc(da((da(b|0,4,0,0)|0|0)+(a<<2)|0,4,0,0)|0|0);ea((da(b|0,4,0,0)|0|0)+(a<<2)|0,0|0,4,0);a=a+1|0}while((a|0)<(da(c|0,4,0,0)|0|0))}}else{a=da(a+4|0,4,0,0)|0|0;qc[(fa(da((da(a|0,4,0,0)|0|0)+64|0,4,0,0)|0|0,127|0)|0)&127](a,b)|0}return}function gq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=Mg(b)|0;if(b)ch(c,a,Re(a)|0,d);i=d;return b|0}function hq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=da(a|0,4,0,0)|0|0;d=a+16|0;e=a+84|0;bh(da(d|0,4,0,0)|0|0,(da(e|0,2,0,1)|0|0)<<1);lg(c,da(d|0,4,0,0)|0|0);ea(e|0,b|0,2,0);e=b*80|0;c=lh(c,e,0)|0;if(c){ew(c|0,0,e|0)|0;ea(d|0,c|0,4,0);if((b|0)>0){e=da(a|0,4,0,0)|0|0;d=b<<1;while(1){d=d+-1|0;ea(c+8|0,1|0,2,0);ea(c+32|0,e|0,4,0);if((d|0)<=0)break;else c=c+40|0}}}else ea(d|0,0|0,4,0);return}function iq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(da((da(a|0,4,0,0)|0|0)+65>>0|0,1,0,0)|0)){b=(_(da(a+84|0,2,0,1)|0|0,c)|0)+b|0;Wg((da(a+16|0,4,0,0)|0|0)+(b*40|0)|0,d,-1,1,e)|0}return}function jq(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=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h;f=da(a|0,4,0,0)|0|0;e=f+1|0;ea(a|0,e|0,4,0);if((f|0)>98){c=a+8|0;e=da(c|0,4,0,0)|0|0;ea(a|0,f|0,4,0);do On(a);while((da(a|0,4,0,0)|0|0)>-1);sh(e,37160,g);ea(c|0,e|0,4,0)}else{ea(a+(e<<4)+12|0,b|0,2,0);ea(a+(e<<4)+14>>0|0,c|0,1,0);c=a+(e<<4)+16|0;ea(c+0|0,da(d+0|0,4,0,0)|0|0,4,0);ea(c+4|0,da(d+4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(d+8|0,4,0,0)|0|0,4,0)}i=h;return}function kq(a,b,c){a=a|0;b=b|0;c=c|0;a=da(a+8|0,4,0,0)|0|0;switch(b&255|0){case 228:case 221:case 220:case 210:case 209:case 208:case 205:case 203:case 200:case 188:case 179:{Mk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 252:case 197:{Pn(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 236:{Gk(da(a|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0);break}case 175:case 174:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 223:case 219:case 217:{Gk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 207:case 196:case 195:case 163:{Lk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,1);break}case 213:case 212:case 201:case 194:{Co(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 239:case 234:{Ek(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}case 243:case 238:case 229:case 227:case 216:case 204:case 202:{Fk(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0);break}default:{}}return}
[all...]
H A Dsqlite-change-heap.js8 function Yn(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 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,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,aa=0;aa=r;r=r+160|0;if((r|0)>=(s|0))ka();O=aa+16|0;J=aa+152|0;M=aa+48|0;I=aa+40|0;N=aa+36|0;K=aa+32|0;R=aa+8|0;Q=aa;W=aa+28|0;_=aa+24|0;k[_>>2]=0;do if(!(i[a+46>>0]|0)){$=a+43|0;if((i[$>>0]|0)==0?(n=k[a+4>>2]|0,n=uc[k[(k[n>>2]|0)+56>>2]&31](n,1,1,10)|0,(n|0)!=0):0)break;Z=a+45|0;i[Z>>0]=1;a:do if(!b){t=0;X=11}else{p=a+4|0;n=(c|0)!=0;while(1){if(i[$>>0]|0)break;t=k[p>>2]|0;t=uc[k[(k[t>>2]|0)+56>>2]&31](t,0,1,10)|0;if(!(n&(t|0)==5)){X=9;break}if(!(qc[c&127](d)|0)){t=0;c=0;X=11;break a}}if((X|0)==9)if((t|0)==5){t=0;c=0;X=11;break}else if(t){Y=b;break}i[a+44>>0]=1;t=b;X=11}while(0);if((X|0)==11){Y=t;t=sq(a,_)|0}do if(!t){V=a+68|0;t=j[a+66>>1]|0;if((k[V>>2]|0)!=0?(U=t&65535,(U<<16&65536|U&65024|0)!=(f|0)):0){k[O>>2]=51863;k[O+4>>2]=10788;gd(11,13600,O);o=11;break}S=t&65535;S=S<<16&65536|S&65024;U=a+32|0;T=(k[k[U>>2]>>2]|0)+96|0;w=k[V>>2]|0;b:do if((k[T>>2]|0)>>>0<w>>>0){G=(w+33|0)>>>12;H=G+1|0;f=w<<1;v=f+28+(G*20|0)|0;n=Yc(v)|0;c:do if(!n){t=7;n=0}else{kw(n|0,0,v|0)|0;v=n+4|0;k[v>>2]=H;f=Yc(w>>>0>4096?8192:f)|0;do if(f){F=n+8|0;u=0;while(1){t=Uo(a,u,I,K,N)|0;if(t){X=21;break}E=(k[K>>2]|0)+4|0;k[K>>2]=E;if((u|0)==(G|0)){D=k[N>>2]|0;t=D;D=w-D|0}else{t=k[N>>2]|0;D=(k[I>>2]|0)-E>>2}p=F+((k[v>>2]|0)*20|0)|0;C=p+(t<<1)|0;B=t+1|0;k[N>>2]=B;if((D|0)>0){y=0;do{j[p+(y+t<<1)>>1]=y;y=y+1|0}while((y|0)!=(D|0));k[O>>2]=0;k[J>>2]=0;z=M+0|0;y=z+104|0;do{k[z>>2]=0;z=z+4|0}while((z|0)<(y|0));A=0;do{k[O>>2]=1;z=p+(A+t<<1)|0;k[J>>2]=z;if(!(A&1)){x=1;y=0}else{y=0;do{tq(E,k[M+(y<<3)+4>>2]|0,k[M+(y<<3)>>2]|0,J,O,f);y=y+1|0}while((1<<y&A|0)!=0);x=k[O>>2]|0;z=k[J>>2]|0}k[M+(y<<3)+4>>2]=z;k[M+(y<<3)>>2]=x;A=A+1|0}while((A|0)!=(D|0));y=y+1|0;if((y|0)<13)X=34}else{k[O>>2]=0;k[J>>2]=0;z=M+0|0;y=z+104|0;do{k[z>>2]=0;z=z+4|0}while((z|0)<(y|0));y=1;X=34}if((X|0)==34){while(1){X=0;if(1<<y&D)tq(E,k[M+(y<<3)+4>>2]|0,k[M+(y<<3)>>2]|0,J,O,f);y=y+1|0;if((y|0)==13)break;else X=34}x=k[O>>2]|0}k[F+(u*20|0)+16>>2]=B;k[F+(u*20|0)+12>>2]=x;k[F+(u*20|0)+4>>2]=C;k[F+(u*20|0)+8>>2]=E;u=u+1|0;if((u|0)>=(H|0)){X=39;break}}if((X|0)==21){$c(f);break}else if((X|0)==39){$c(f);t=0;break c}}else{$c(0);t=7}while(0);$c(n)}while(0);if(!t){O=a+72|0;N=k[O>>2]|0;M=a+4|0;x=1;w=k[V>>2]|0;t=0;while(1){f=T+(x<<2)+4|0;p=k[f>>2]|0;d:do if(w>>>0>p>>>0){v=x+3|0;u=(c|0)!=0;while(1){if(i[$>>0]|0)break;t=k[M>>2]|0;t=uc[k[(k[t>>2]|0)+56>>2]&31](t,v,1,10)|0;if(!(u&(t|0)==5)){X=49;break}if(!(qc[c&127](d)|0)){c=0;t=5;break d}}if((X|0)==49){X=0;if((t|0)==5){c=0;t=5;break}else if(t){o=t;X=100;break b}}k[f>>2]=(x|0)==1?w:-1;if(!(i[$>>0]|0)){p=k[M>>2]|0;uc[k[(k[p>>2]|0)+56>>2]&31](p,v,1,9)|0;p=w;t=0}else{p=w;t=0}}else p=w;while(0);x=x+1|0;if((x|0)>=5){H=p;break}else w=p}e:do if((k[T>>2]|0)>>>0<H>>>0){t=(c|0)!=0;while(1){if(i[$>>0]|0)break;p=k[M>>2]|0;p=uc[k[(k[p>>2]|0)+56>>2]&31](p,3,1,10)|0;if(!(t&(p|0)==5)){q=p;X=58;break}if(!(qc[c&127](d)|0)){q=5;break e}}if((X|0)==58?(q|0)!=0:0)break;E=k[T>>2]|0;F=(e|0)!=0;if(F?(P=k[a+8>>2]|0,P=wc[k[(k[P>>2]|0)+20>>2]&127](P,e)|0,(P|0)!=0):0)q=P;else X=61;f:do if((X|0)==61){P=xw(N|0,0,S|0,0)|0;q=Q;k[q>>2]=P;k[q+4>>2]=L;q=k[M>>2]|0;q=wc[k[(k[q>>2]|0)+24>>2]&127](q,R)|0;if(!q){P=R;J=k[P+4>>2]|0;R=Q;K=k[R+4>>2]|0;if((J|0)<(K|0)|((J|0)==(K|0)?(k[P>>2]|0)>>>0<(k[R>>2]|0)>>>0:0)){R=k[M>>2]|0;fc[k[(k[R>>2]|0)+40>>2]&63](R,5,Q)|0}B=n+4|0;C=S|24;D=a+8|0;t=k[B>>2]|0;g:do if((t|0)>0){q=0;while(1){A=k[n>>2]|0;z=-1;h:while(1){i:while(1){t=t+-1|0;x=n+(t*20|0)+8|0;f=k[x>>2]|0;p=k[n+(t*20|0)+20>>2]|0;j:do if((f|0)<(p|0)){w=k[n+(t*20|0)+12>>2]|0;y=k[n+(t*20|0)+16>>2]|0;while(1){u=m[w+(f<<1)>>1]|0;v=k[y+(u<<2)>>2]|0;if(v>>>0>A>>>0)break;f=f+1|0;k[x>>2]=f;if((f|0)>=(p|0))break j}if(v>>>0<z>>>0)break i}while(0);if((t|0)<=0){f=q;t=z;break h}}q=(k[n+(t*20|0)+24>>2]|0)+u|0;if((t|0)>0)z=v;else{f=q;t=v;break}}k[n>>2]=t;if((t|0)==-1)break g;if(!(f>>>0<=E>>>0|f>>>0>H>>>0|t>>>0>N>>>0)){q=xw(f+-1|0,0,C|0,0)|0;q=ow(q|0,L|0,56,0)|0;R=k[D>>2]|0;q=yc[k[(k[R>>2]|0)+8>>2]&31](R,g,S,q,L)|0;if(q)break f;q=xw(t+-1|0,0,S|0,0)|0;R=k[M>>2]|0;q=yc[k[(k[R>>2]|0)+12>>2]&31](R,g,S,q,L)|0;if(q)break f}t=k[B>>2]|0;if((t|0)<=0){X=66;break}else q=f}}else X=66;while(0);if((X|0)==66)k[n>>2]=-1;if((H|0)==(k[(k[k[U>>2]>>2]|0)+16>>2]|0)){q=xw(k[O>>2]|0,0,S|0,0)|0;X=k[M>>2]|0;q=fc[k[(k[X>>2]|0)+16>>2]&63](X,q,L)|0;if((q|0)==0&F){q=k[M>>2]|0;q=wc[k[(k[q>>2]|0)+20>>2]&127](q,e)|0}if(q)break}k[T>>2]=H;q=0}}while(0);if(!(i[$>>0]|0)){X=k[M>>2]|0;uc[k[(k[X>>2]|0)+56>>2]&31](X,3,1,9)|0}}else q=t;while(0);q=(q|0)==5?0:q;X=88}else o=t}else{n=0;q=0;X=88}while(0);k:do if((X|0)==88)if((q|0)==0&(Y|0)!=0)if((k[T>>2]|0)>>>0>=(k[V>>2]|0)>>>0)if((Y|0)>1){hd(4,W);t=a+4|0;p=(c|0)!=0;while(1){if(i[$>>0]|0)break;q=k[t>>2]|0;q=uc[k[(k[q>>2]|0)+56>>2]&31](q,4,4,10)|0;if(!(p&(q|0)==5)){o=q;X=95;break}if(!(qc[c&127](d)|0)){o=5;X=100;break k}}if((X|0)==95?(o|0)!=0:0){X=100;break}if((Y|0)==3){ap(a,k[W>>2]|0);o=k[a+8>>2]|0;o=fc[k[(k[o>>2]|0)+16>>2]&63](o,0,0)|0}else o=0;if(!(i[$>>0]|0)){X=k[t>>2]|0;uc[k[(k[X>>2]|0)+56>>2]&31](X,4,4,9)|0;X=100}else X=100}else{o=0;X=100}else{o=5;X=100}else{o=q;X=100}while(0);if((X|0)==100)$c(n);if((o|0)==0|(o|0)==5){if(h)k[h>>2]=k[V>>2];if(l)k[l>>2]=k[(k[k[U>>2]>>2]|0)+96>>2]}}else o=t;while(0);if(k[_>>2]|0){z=a+52|0;y=z+48|0;do{k[z>>2]=0;z=z+4|0}while((z|0)<(y|0))}n=a+44|0;if(i[n>>0]|0){if(!(i[$>>0]|0)){_=k[a+4>>2]|0;uc[k[(k[_>>2]|0)+56>>2]&31](_,0,1,9)|0}i[n>>0]=0;i[a+47>>0]=0}if(!(i[$>>0]|0)){$=k[a+4>>2]|0;uc[k[(k[$>>2]|0)+56>>2]&31]($,1,1,9)|0}i[Z>>0]=0;n=(o|0)!=0|(Y|0)==(b|0)?o:5}else n=8;while(0);r=aa;return n|0}function Zn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=(b|0)<(d|0)?b:d;f=cw(c,e,g)|0;a:do if(!f){b:do if(a){f=b-g|0;while(1){if((f|0)<=0)break;f=f+-1|0;if((i[c+(f+g)>>0]|0)!=32)break b}if(!f){f=d-g|0;while(1){if((f|0)<=0)break;f=f+-1|0;if((i[e+(f+g)>>0]|0)!=32)break b}if(!f){f=0;break a}}}while(0);f=b-d|0}while(0);return f|0}function _n(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Kc(c,e,(b|0)<(d|0)?b:d)|0;return ((a|0)==0?b-d|0:a)|0}function $n(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,j=0,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0;y=r;r=r+16|0;if((r|0)>=(s|0))ka();w=y;n=k[c>>2]|0;a:do if(b){l=b;while(1)if(!(i[l>>0]|0))break;else l=l+1|0;m=l-b&1073741823;if((k[2189]|n&64|0)!=0&m>>>0>4?(cw(b,14984,5)|0)==0:0){l=m+2|0;j=n|64;if(m){n=0;do{l=((i[b+n>>0]|0)==38&1)+l|0;n=n+1|0}while((n|0)<(m|0))}h=Yc(l)|0;if(h){do if((i[b+5>>0]|0)==47?(i[b+6>>0]|0)==47:0){l=7;while(1){q=i[b+l>>0]|0;if(q<<24>>24==0|q<<24>>24==47)break;l=l+1|0}if((l|0)==7){l=0;n=7;g=0;break}else if((l|0)==16){g=b+7|0;if(!(cw(14992,g,9)|0)){l=0;n=16;g=0;break}}else g=b+7|0;k[w>>2]=l+-7;k[w+4>>2]=g;g=dd(15008,w)|0;k[f>>2]=g;g=1;x=74;break a}else{l=0;n=5;g=0}while(0);b:while(1){u=h+(g+-1)|0;c:while(1){d:while(1){m=i[b+n>>0]|0;if(m<<24>>24==35|m<<24>>24==0)break b;o=n+1|0;if((m<<24>>24==37?(v=i[b+o>>0]|0,(i[10368+(v&255)>>0]&8)!=0):0)?(t=i[b+(n+2)>>0]|0,(i[10368+(t&255)>>0]&8)!=0):0){m=v;o=t;break}if(!l){n=o;x=38;break c}else if((l|0)==2){n=o;x=39;break c}else if((l|0)!=1){n=o;break c}if(!(m<<24>>24==38|m<<24>>24==61)){l=1;n=o;break c}if(!(i[u>>0]|0))n=o;else{n=o;x=36;break c}while(1){q=i[b+n>>0]|0;if(q<<24>>24==35|q<<24>>24==0)continue d;if((i[b+(n+-1)>>0]|0)==38)continue d;else n=n+1|0}}m=m<<24>>24;n=n+3|0;q=o<<24>>24;m=(0-(q>>>6&1)&9)+q&15|(0-(m>>>6&1)&9)+m<<4&240;if(m){x=30;break}o=(l|0)==0;while(1){m=i[b+n>>0]|0;if(m<<24>>24==35|m<<24>>24==0)continue c;if(o&m<<24>>24==63){l=0;continue c}if((l|0)==1){if(m<<24>>24==38|m<<24>>24==61){l=1;continue c}}else if((l|0)==2?m<<24>>24==38:0){l=2;continue c}n=n+1|0}}if((x|0)==30){x=0;m=m&255}else if((x|0)==36){x=0;if(m<<24>>24==38){i[h+g>>0]=0;m=0;l=1;g=g+1|0}else{m=0;l=2}}else if((x|0)==38){x=0;if(m<<24>>24==63)x=40;else l=0}else if((x|0)==39){x=0;if(m<<24>>24==38)x=40;else l=2}if((x|0)==40){x=0;m=0;l=1}i[h+g>>0]=m;g=g+1|0}if((l|0)==1){i[h+g>>0]=0;g=g+1|0}i[h+g>>0]=0;i[h+(g+1)>>0]=0;g=h;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=(g-h&1073741823)+1|0;l=i[h+g>>0]|0;if(l<<24>>24){v=h+g|0;e:while(1){m=v;while(1){g=m+1|0;if(!(l<<24>>24)){l=m;break}l=i[g>>0]|0;m=g}u=l-v&1073741823;l=v+(u+1)|0;m=l;while(1)if(!(i[m>>0]|0))break;else m=m+1|0;t=m-l&1073741823;if((u|0)==3){g=(cw(15040,v,3)|0)==0;g=g?l:a}else if((u|0)==5)if(!(cw(15048,v,5)|0)){b=15056;p=393216;q=-393217;g=15048;x=58}else g=a;else if((u|0)==4?(cw(15096,v,4)|0)==0:0){b=15104;p=j&135;q=-136;g=15176;x=58}else g=a;if((x|0)==58){x=0;n=k[b>>2]|0;if(!n){x=65;break}else m=0;while(1){o=n;while(1)if(!(i[o>>0]|0))break;else o=o+1|0;if((t|0)==(o-n&1073741823|0)?(cw(l,n,t)|0)==0:0){n=m;break}m=m+1|0;n=k[b+(m<<3)>>2]|0;if(!n){x=65;break e}}n=k[b+(n<<3)+4>>2]|0;if(!n){x=65;break}if((n&-129|0)>(p|0)){x=67;break}j=n|q&j;g=a}v=v+(u+2+t)|0;l=i[v>>0]|0;if(!(l<<24>>24)){x=72;break a}else a=g}if((x|0)==65){k[w>>2]=g;k[w+4>>2]=l;g=dd(15184,w)|0;k[f>>2]=g;g=1;x=74;break}else if((x|0)==67){k[w>>2]=g;k[w+4>>2]=l;g=dd(15208,w)|0;k[f>>2]=g;g=3;x=74;break}}else{g=a;x=72}}else g=7}else{j=m;x=70}}else{j=0;x=70}while(0);if((x|0)==70){h=Yc(j+2|0)|0;if(!h)g=7;else{pw(h|0,b|0,j|0)|0;i[h+j>>0]=0;i[h+(j+1)>>0]=0;j=n&-65;g=a;x=72}}if((x|0)==72){q=Pc(g)|0;k[d>>2]=q;if(!q){k[w>>2]=g;g=dd(15232,w)|0;k[f>>2]=g;g=1;x=74}else{g=0;x=75}}if((x|0)==74){$c(h);h=0;x=75}if((x|0)==75){k[c>>2]=j;k[e>>2]=h}r=y;return g|0}function ao(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;do if(!b){b=vg(84,0)|0;if(!b)c=8;else{a=b+0|0;e=a+84|0;do{i[a>>0]=0;a=a+1|0}while((a|0)<(e|0));c=9}}else{d=k[b+4>>2]|0;k[d+4>>2]=k[b>>2];c=d+48|0;b=k[c>>2]|0;if(!b){b=vg(84,0)|0;if(!b){k[c>>2]=0;k[d+52>>2]=22;c=8;break}else{a=b+0|0;e=a+84|0;do{i[a>>0]=0;a=a+1|0}while((a|0)<(e|0));k[c>>2]=b;k[d+52>>2]=22;c=9;break}}else c=9}while(0);if((c|0)==8){i[a+65>>0]=1;b=0}else if((c|0)==9)if(!(i[b+76>>0]|0)){c=b+77|0;a=b+8|0;e=a+64|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(e|0));i[c>>0]=1}return b|0}function bo(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;j=r;r=r+16|0;if((r|0)>=(s|0))ka();if(c){g=a+428|0;f=gn(g,c,j)|0;if(!f)e=0;else e=k[f+8>>2]|0;if((e|0)==0&(d|0)!=0){f=c;while(1)if(!(i[f>>0]|0))break;else f=f+1|0;f=f-c&1073741823;d=f+61|0;e=rh(a,d,0)|0;if(e){kw(e|0,0,d|0)|0;d=e+60|0;k[e>>2]=d;i[e+4>>0]=1;k[e+20>>2]=d;i[e+24>>0]=2;k[e+40>>2]=d;i[e+44>>0]=3;pw(d|0,c|0,f|0)|0;i[e+(f+60)>>0]=0;f=Nk(g,k[e>>2]|0,e)|0;if(!f)h=10;else{i[a+65>>0]=1;rg(a,f);e=0}}else e=0}else h=10}else{e=k[a+8>>2]|0;h=10}if((h|0)==10)if(!e)e=0;else e=e+(((b&255)+-1|0)*20|0)|0;r=j;return e|0}function co(a,b,c){a=a|0;b=b|0;c=c|0;var 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;A=r;r=r+64|0;if((r|0)>=(s|0))ka();y=A;f=A+48|0;o=A+24|0;v=A+8|0;g=(b|0)==1;t=g?13184:13208;k[f>>2]=t;k[f+4>>2]=13224;k[f+8>>2]=g?13064:12960;k[f+12>>2]=0;k[v>>2]=a;k[v+8>>2]=b;u=v+12|0;k[u>>2]=0;k[v+4>>2]=c;en(v,3,f,0)|0;f=k[u>>2]|0;a:do if(!f){w=a+16|0;f=di(a,t,k[(k[w>>2]|0)+(b<<4)>>2]|0)|0;if(f){q=f+44|0;i[q>>0]=l[q>>0]|1}e=k[w>>2]|0;x=e+(b<<4)+4|0;f=k[x>>2]|0;if(!f){if(!g){d=0;break}d=(k[e+28>>2]|0)+78|0;j[d>>1]=m[d>>1]|1;d=0;break}k[(k[f+4>>2]|0)+4>>2]=k[f>>2];do if(!(i[f+8>>0]|0)){f=Dg(f,0)|0;if((f|0)==516)d=16344;else if(!f){f=k[x>>2]|0;q=1;break}else z=10;if((z|0)==10){d=f&255;if(d>>>0>26|(d|0)==2)d=16328;else d=k[15488+(d<<2)>>2]|0}k[y>>2]=d;ih(c,a,10344,y);d=f;z=38;break a}else q=0;while(0);Bm(f,1,o);p=o+4|0;Bm(k[x>>2]|0,2,p);h=o+8|0;Bm(k[x>>2]|0,3,h);Bm(k[x>>2]|0,4,o+12|0);g=o+16|0;Bm(k[x>>2]|0,5,g);n=e+(b<<4)+12|0;f=k[n>>2]|0;k[f>>2]=k[o>>2];e=k[g>>2]|0;do if(e){if(!b){g=e&3;g=(g|0)==0?1:g&255;i[a+62>>0]=g;z=19;break}g=i[a+62>>0]|0;if((e|0)==(g&255|0))z=19;else{ih(c,a,13232,y);d=1}}else{g=(k[(k[w>>2]|0)+(b<<4)+12>>2]|0)+78|0;j[g>>1]=m[g>>1]|4;g=i[a+62>>0]|0;z=19}while(0);do if((z|0)==19){i[f+77>>0]=g;g=f+80|0;if(!(k[g>>2]|0)){f=k[h>>2]|0;if((f|0)<=-1)f=(f|0)==-2147483648?2147483647:0-f|0;f=(f|0)==0?2e3:f;k[g>>2]=f;uq(k[x>>2]|0,f);f=k[n>>2]|0}e=k[p>>2]|0;g=e&255;f=f+76|0;if(g<<24>>24){i[f>>0]=g;if((g&255)>4){ih(c,a,13304,y);d=1;break}}else i[f>>0]=1;if((b|0)==0&(e|0)>3){p=a+24|0;k[p>>2]=k[p>>2]&-32769}k[y>>2]=k[(k[w>>2]|0)+(b<<4)>>2];k[y+4>>2]=t;f=zh(a,13328,y)|0;t=a+284|0;p=k[t>>2]|0;k[t>>2]=0;e=Ve(a,f,22,v,0)|0;k[t>>2]=p;e=(e|0)==0?k[u>>2]|0:e;rg(a,f);f=(e|0)==0;if(f)fn(a,b)|0;if(!(i[a+65>>0]|0)){if(!f){d=e;z=34}}else{Jg(a);d=7;z=34}if((z|0)==34?(k[a+24>>2]&65536|0)==0:0)break;d=(k[(k[w>>2]|0)+(b<<4)+12>>2]|0)+78|0;j[d>>1]=m[d>>1]|1;d=0}while(0);if(!q)z=38;else{zn(k[x>>2]|0)|0;z=38}}else{d=f;z=38}while(0);if((z|0)==38)if((d|0)==7|(d|0)==3082)i[a+65>>0]=1;r=A;return d|0}function eo(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;m=r;r=r+80|0;if((r|0)>=(s|0))ka();j=m;k[12066]=k[2708];if(!(k[12067]|0)){c=Qb(48336)|0;k[12067]=c}if(!(k[12068]|0)){c=Qb(48352)|0;k[12068]=c}d=j+12|0;e=0;c=0;do{if((((c|0)!=0?(wc[k[47552+52>>2]&127](c,j)|0)==0:0)?(k[d>>2]&61440|0)==16384:0)?(wc[k[47552+28>>2]&127](c,7)|0)==0:0)break;c=k[48264+(e<<2)>>2]|0;e=e+1|0}while(e>>>0<7);h=(c|0)==0?28928:c;if(((lw(h|0)|0)+25|0)>>>0<a>>>0){a=a+-18|0;do{k[j>>2]=h;fd(a,b,48248,j)|0;d=lw(b|0)|0;c=b+d|0;hd(15,c);g=b+(d+15)|0;f=0;e=d;while(1){i[c>>0]=i[48184+(((l[c>>0]|0)%62|0)&255)>>0]|0;f=f+1|0;e=e+1|0;if((f|0)==15)break;else c=b+e|0}i[g>>0]=0;i[b+(d+16)>>0]=0}while((wc[k[47552+28>>2]&127](b,0)|0)==0);c=0}else c=1;r=m;return c|0}function fo(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,l=0;j=r;r=r+80|0;if((r|0)>=(s|0))ka();h=j;g=(c|0)!=0;e=g?c:420;f=b|524288;while(1){d=fc[k[47552+4>>2]&63](a,f,e)|0;if((d|0)<0){l=Mb()|0;if((k[l>>2]|0)==4)continue;else break}if((d|0)>2){i=6;break}qc[k[47552+16>>2]&127](d)|0;k[h>>2]=a;k[h+4>>2]=d;gd(28,48120,h);if((fc[k[47552+4>>2]&63](48168,b,c)|0)<0){d=-1;break}}if((i|0)==6)if(((g?(wc[k[47552+64>>2]&127](d,h)|0)==0:0)?(k[h+36>>2]|0)==0:0)?(k[h+12>>2]&511|0)!=(c|0):0)wc[k[47552+172>>2]&127](d,c)|0;r=j;return d|0}function go(a,b,c){a=a|0;b=b|0;c=c|0;if(qc[k[47552+16>>2]&127](b)|0){if(!a)b=0;else b=k[a+32>>2]|0;io(4106,47856,b,c)|0}return}function ho(a){a=a|0;var b=0,c=0,d=0,e=0;e=r;r=r+80|0;if((r|0)>=(s|0))ka();d=e;b=e+4|0;c=a+18|0;do if(!(j[c>>1]&256)){if(wc[k[47552+64>>2]&127](k[a+12>>2]|0,b)|0){k[d>>2]=k[a+32>>2];gd(28,48592,d);j[c>>1]=m[c>>1]|0|256;break}b=k[b+16>>2]|0;if(!b){if(!(j[c>>1]&32)){k[d>>2]=k[a+32>>2];gd(28,48616,d);j[c>>1]=m[c>>1]|0|256;break}}else if(b>>>0>1){k[d>>2]=k[a+32>>2];gd(28,48648,d);j[c>>1]=m[c>>1]|0|256;break}if(Co(a)|0){k[d>>2]=k[a+32>>2];gd(28,48680,d);j[c>>1]=m[c>>1]|0|256}}while(0);r=e;return}function io(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=r;r=r+32|0;if((r|0)>=(s|0))ka();f=e;h=Mb()|0;h=k[h>>2]|0;g=Wb(h|0)|0;k[f>>2]=d;k[f+4>>2]=h;k[f+8>>2]=b;k[f+12>>2]=(c|0)==0?10360:c;k[f+16>>2]=g;gd(a,47864,f);r=e;return a|0}function jo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+40|0;c=k[h>>2]|0;g=c<<1;g=g>>>0<256?256:g;if((c|0)!=0?(b=k[3164]|0,(b|0)!=0):0)sc[b&3]();b=g<<2;f=vg(b,0)|0;c=(f|0)==0;if(!c)kw(f|0,0,b|0)|0;if((k[h>>2]|0)!=0?(d=k[3166]|0,(d|0)!=0):0)sc[d&3]();if(!c){d=k[h>>2]|0;e=a+44|0;b=k[e>>2]|0;if(d){a=0;do{c=k[b+(a<<2)>>2]|0;if(c){do{j=c+16|0;i=c;c=k[j>>2]|0;b=f+((((k[i+8>>2]|0)>>>0)%(g>>>0)|0)<<2)|0;k[j>>2]=k[b>>2];k[b>>2]=i}while((c|0)!=0);b=k[e>>2]|0}a=a+1|0}while(a>>>0<d>>>0)}$c(b);k[e>>2]=f;k[h>>2]=g}return}function ko(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;f=a+24|0;g=a+16|0;c=a+4|0;a:do if((k[g>>2]|0)>>>0>(k[c>>2]|0)>>>0)do{d=k[f>>2]|0;if(!d)break a;lo(d);e=k[d+20>>2]|0;b=(k[e+44>>2]|0)+((((k[d+8>>2]|0)>>>0)%((k[e+40>>2]|0)>>>0)|0)<<2)|0;while(1){h=k[b>>2]|0;a=h+16|0;if((h|0)==(d|0))break;else b=a}k[b>>2]=k[a>>2];a=e+36|0;k[a>>2]=(k[a>>2]|0)+-1;no(d)}while((k[g>>2]|0)>>>0>(k[c>>2]|0)>>>0);while(0);return}function lo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=k[a+20>>2]|0;d=k[c>>2]|0;e=a+28|0;f=k[e>>2]|0;g=a+24|0;b=k[g>>2]|0;if(!f)k[d+20>>2]=b;else{k[f+24>>2]=b;b=k[g>>2]|0}if(!b)k[d+24>>2]=f;else k[b+28>>2]=f;k[g>>2]=0;k[e>>2]=0;i[a+12>>0]=1;b=c+32|0;k[b>>2]=(k[b>>2]|0)+-1;return}function mo(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,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=k[a>>2]|0;q=a+36|0;g=k[q>>2]|0;e=k[a+32>>2]|0;f=g-e|0;o=(c|0)==1;if(o)if(f>>>0<(k[j+12>>2]|0)>>>0?f>>>0<(k[a+24>>2]|0)>>>0:0){if((k[3155]|0)!=0?((k[a+8>>2]|0)+(k[a+4>>2]|0)|0)<=(k[3154]|0):0)c=12648|0;else c=9060|0;if(!((k[c>>2]|0)!=0&e>>>0<f>>>0))n=8;else d=0}else d=0;else n=8;do if((n|0)==8){m=a+40|0;if(g>>>0>=(k[m>>2]|0)>>>0)jo(a);h=a+12|0;do if((k[h>>2]|0)!=0?(d=k[j+24>>2]|0,(d|0)!=0):0){if(((k[q>>2]|0)+1|0)>>>0<(k[a+20>>2]|0)>>>0?(k[j+16>>2]|0)>>>0<(k[j+4>>2]|0)>>>0:0){if((k[3155]|0)!=0?((k[a+8>>2]|0)+(k[a+4>>2]|0)|0)<=(k[3154]|0):0)c=12648|0;else c=9060|0;if(!(k[c>>2]|0)){n=23;break}}c=d+20|0;e=k[c>>2]|0;f=(k[e+44>>2]|0)+((((k[d+8>>2]|0)>>>0)%((k[e+40>>2]|0)>>>0)|0)<<2)|0;while(1){r=k[f>>2]|0;g=r+16|0;if((r|0)==(d|0))break;else f=g}k[f>>2]=k[g>>2];g=e+36|0;k[g>>2]=(k[g>>2]|0)+-1;lo(d);c=k[c>>2]|0;if(((k[c+8>>2]|0)+(k[c+4>>2]|0)|0)==((k[a+8>>2]|0)+(k[a+4>>2]|0)|0)){l=j+16|0;k[l>>2]=(k[h>>2]|0)-(k[c+12>>2]|0)+(k[l>>2]|0);break}else{no(d);n=23;break}}else n=23;while(0);if((n|0)==23){if(o?(l=k[3164]|0,(l|0)!=0):0)sc[l&3]();c=a+4|0;e=Lo((k[c>>2]|0)+32+(k[a+8>>2]|0)|0)|0;c=k[c>>2]|0;d=e+c|0;if(e){k[d>>2]=e;k[e+(c+4)>>2]=e+(c+32);if(k[h>>2]|0){n=(k[a>>2]|0)+16|0;k[n>>2]=(k[n>>2]|0)+1}}else d=0;if(o?(p=k[3166]|0,(p|0)!=0):0)sc[p&3]();if(!d){d=0;break}}e=(b>>>0)%((k[m>>2]|0)>>>0)|0;k[q>>2]=(k[q>>2]|0)+1;k[d+8>>2]=b;n=a+44|0;k[d+16>>2]=k[(k[n>>2]|0)+(e<<2)>>2];k[d+20>>2]=a;k[d+28>>2]=0;k[d+24>>2]=0;i[d+12>>0]=1;k[k[d+4>>2]>>2]=0;k[(k[n>>2]|0)+(e<<2)>>2]=d;e=a+28|0;if((k[e>>2]|0)>>>0<b>>>0)k[e>>2]=b}while(0);return d|0}function no(a){a=a|0;var b=0;if((a|0)!=0?(b=k[a+20>>2]|0,el(k[a>>2]|0),(k[b+12>>2]|0)!=0):0){b=(k[b>>2]|0)+16|0;k[b>>2]=(k[b>>2]|0)+-1}return}function oo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=a+40|0;if(k[f>>2]|0){g=a+44|0;d=a+36|0;e=0;do{c=(k[g>>2]|0)+(e<<2)|0;a=k[c>>2]|0;a:do if(a)do{while(1){if((k[a+8>>2]|0)>>>0<b>>>0)break;k[d>>2]=(k[d>>2]|0)+-1;k[c>>2]=k[a+16>>2];if(!(i[a+12>>0]|0))lo(a);no(a);a=k[c>>2]|0;if(!a)break a}c=a+16|0;a=k[c>>2]|0}while((a|0)!=0);while(0);e=e+1|0}while(e>>>0<(k[f>>2]|0)>>>0)}return}function po(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=k[a>>2]|0;e=k[(k[d+32>>2]|0)+88>>2]|0;f=((e|0)<0)<<31>>31;if(!((f|0)<(c|0)|(f|0)==(c|0)&e>>>0<b>>>0)){b=vg(b,c)|0;if(!b){Wd(a);b=0}}else{k[a+20>>2]=18;i[a+25>>0]=1;ah(d,10096,-1,1,0)|0;b=0}return b|0}function qo(a){a=a|0;var b=0,c=0,d=0,e=0;do if(a){b=i[a>>0]|0;c=b<<24>>24;if((c|0)==91)e=93;else if((c|0)==96|(c|0)==34|(c|0)==39)e=b;else break;c=1;d=0;while(1){b=i[a+c>>0]|0;if(b<<24>>24==e<<24>>24){c=c+1|0;b=a+d|0;if((i[a+c>>0]|0)!=e<<24>>24)break;i[b>>0]=e}else i[a+d>>0]=b;c=c+1|0;d=d+1|0}i[b>>0]=0}while(0);return}function ro(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,n=0,o=0,q=0.0,t=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;Q=r;r=r+176|0;if((r|0)>=(s|0))ka();N=Q+64|0;n=Q+132|0;j=Q+128|0;h=Q+124|0;o=Q+56|0;K=Q+48|0;O=Q+136|0;M=Q;g=d+0|0;f=g+48|0;do{k[g>>2]=0;g=g+4|0}while((g|0)<(f|0));a:do if(b){e=k[c>>2]|0;b:do if(((l[10064+(m[e+8>>1]&31)>>0]|0)+-1|0)>>>0>=2){g=Xg(e,1)|0;if(!g){e=1;break a}f=(i[g>>0]|0)==45;e=f?g+1|0:g;k[N>>2]=4;k[N+4>>2]=0;k[N+8>>2]=9999;k[N+12>>2]=45;k[N+16>>2]=n;k[N+20>>2]=2;k[N+24>>2]=1;k[N+28>>2]=12;k[N+32>>2]=45;k[N+36>>2]=j;k[N+40>>2]=2;k[N+44>>2]=1;k[N+48>>2]=31;k[N+52>>2]=0;k[N+56>>2]=h;do if((wq(e,N)|0)==3){e=e+10|0;while(1){H=i[e>>0]|0;if(H<<24>>24==84?1:(i[10368+(H&255)>>0]&1)!=0)e=e+1|0;else break}if(xq(e,d)|0){if(i[e>>0]|0)break;i[d+41>>0]=0}i[d+42>>0]=0;i[d+40>>0]=1;H=k[n>>2]|0;k[d+8>>2]=f?0-H|0:H;k[d+12>>2]=k[j>>2];k[d+16>>2]=k[h>>2];if(!(i[d+43>>0]|0))break b;so(d);break b}while(0);if(xq(g,d)|0){if(!(id(g,20080)|0))if(!(vq(a,d)|0))break;else{e=1;break a}else e=g;while(1)if(!(i[e>>0]|0))break;else e=e+1|0;if(!(Yl(g,o,e-g&1073741823,1)|0)){e=1;break a}q=+p[o>>3]*864.0e5+.5;G=+W(q)>=1.0?(q>0.0?~~+ia(+V(q/4294967296.0),4294967295.0)>>>0:~~+ga((q-+(~~q>>>0))/4294967296.0)>>>0):0;H=d;k[H>>2]=~~q>>>0;k[H+4>>2]=G;i[d+42>>0]=1}}else{q=+Zg(e)*864.0e5+.5;G=+W(q)>=1.0?(q>0.0?~~+ia(+V(q/4294967296.0),4294967295.0)>>>0:~~+ga((q-+(~~q>>>0))/4294967296.0)>>>0):0;H=d;k[H>>2]=~~q>>>0;k[H+4>>2]=G;i[d+42>>0]=1}while(0);if((b|0)>1){e=d+40|0;v=d+41|0;w=d+43|0;x=d+42|0;y=O+8|0;z=y;A=O+9|0;B=d+24|0;C=d+20|0;D=d+32|0;E=d+16|0;F=d+12|0;G=O+1|0;H=d+8|0;I=1;while(1){j=Xg(k[c+(I<<2)>>2]|0,1)|0;if(!j){e=1;break a}k[N>>2]=1;o=0;do{n=i[j+o>>0]|0;if(!(n<<24>>24))break;i[O+o>>0]=i[9328+(n&255)>>0]|0;o=o+1|0}while((o|0)<29);i[O+o>>0]=0;c:do switch(i[O>>0]|0){case 108:{if(!(dw(O,19936)|0)){so(d);f=yq(d,a,N)|0;P=d;f=ow(k[P>>2]|0,k[P+4>>2]|0,f|0,L|0)|0;P=d;k[P>>2]=f;k[P+4>>2]=L;i[e>>0]=0;i[v>>0]=0;i[w>>0]=0;P=82}else P=82;break}case 117:{if((dw(O,19952)|0)==0?(i[x>>0]|0)!=0:0){f=d;f=ow(k[f>>2]|0,k[f+4>>2]|0,43200,0)|0;f=vw(f|0,L|0,86400,0)|0;f=ow(f|0,L|0,1045635584,49096)|0;o=d;k[o>>2]=f;k[o+4>>2]=L;i[e>>0]=0;i[v>>0]=0;i[w>>0]=0;k[N>>2]=0;o=0;break c}if(!(dw(O,19968)|0)){so(d);n=yq(d,a,N)|0;j=L;o=k[N>>2]|0;if(!o){f=d;f=iw(k[f>>2]|0,k[f+4>>2]|0,n|0,j|0)|0;P=d;k[P>>2]=f;k[P+4>>2]=L;i[e>>0]=0;i[v>>0]=0;i[w>>0]=0;P=yq(d,a,N)|0;P=iw(n|0,j|0,P|0,L|0)|0;f=d;f=ow(P|0,L|0,k[f>>2]|0,k[f+4>>2]|0)|0;P=d;k[P>>2]=f;k[P+4>>2]=L;P=82}}else P=82;break}case 115:{if(!(ew(O,19992,9)|0)){to(d);i[v>>0]=1;k[B>>2]=0;k[C>>2]=0;p[D>>3]=0.0;i[w>>0]=0;i[x>>0]=0;if(!(dw(A,20008)|0)){k[E>>2]=1;k[N>>2]=0;o=0;break c}if(!(dw(A,20016)|0)){to(d);k[F>>2]=1;k[E>>2]=1;k[N>>2]=0;o=0;break c}if(!(dw(A,20024)|0)){k[N>>2]=0;o=0}else P=82}else P=82;break}case 119:{if(!(ew(O,19976,8)|0)){o=y;while(1)if(!(i[o>>0]|0))break;else o=o+1|0;if((Yl(y,K,o-z&1073741823,1)|0)!=0?(q=+p[K>>3],J=~~q,+(J|0)==q&(J|0)>-1&q<7.0):0){to(d);uo(d);i[w>>0]=0;i[x>>0]=0;so(d);f=d;o=k[f>>2]|0;f=k[f+4>>2]|0;j=ow(o|0,f|0,1296e5,0)|0;j=vw(j|0,L|0,864e5,0)|0;j=ww(j|0,L|0,7,0)|0;g=L;R=((J|0)<0)<<31>>31;h=(g|0)>(R|0)|(g|0)==(R|0)&j>>>0>J>>>0;n=ow(j|0,g|0,-7,-1)|0;g=iw(J|0,R|0,(h?n:j)|0,(h?L:g)|0)|0;g=xw(g|0,L|0,864e5,0)|0;f=ow(g|0,L|0,o|0,f|0)|0;o=d;k[o>>2]=f;k[o+4>>2]=L;i[e>>0]=0;i[v>>0]=0;i[w>>0]=0;k[N>>2]=0;o=0}else P=82}else P=82;break}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:case 45:case 43:{j=1;while(1){o=O+j|0;n=i[o>>0]|0;if(n<<24>>24==58|n<<24>>24==0){n=o;break}if(!(i[10368+(n&255)>>0]&1))j=j+1|0;else{n=o;break}}if(!(Yl(O,K,j,1)|0)){k[N>>2]=1;o=1;break c}o=i[n>>0]|0;if(o<<24>>24==58){o=((l[O>>0]|0)+-48|0)>>>0<10?O:G;g=M+0|0;f=g+48|0;do{k[g>>2]=0;g=g+4|0}while((g|0)<(f|0));if(xq(o,M)|0){P=82;break c}so(M);o=M;o=ow(k[o>>2]|0,k[o+4>>2]|0,-432e5,-1)|0;o=ww(o|0,L|0,864e5,0)|0;n=L;f=M;k[f>>2]=o;k[f+4>>2]=n;if((i[O>>0]|0)==45){o=iw(0,0,o|0,n|0)|0;n=L;f=M;k[f>>2]=o;k[f+4>>2]=n}so(d);i[e>>0]=0;i[v>>0]=0;i[w>>0]=0;f=d;f=ow(k[f>>2]|0,k[f+4>>2]|0,o|0,n|0)|0;o=d;k[o>>2]=f;k[o+4>>2]=L;k[N>>2]=0;o=0;break c}if(i[10368+(o&255)>>0]&1){n=O+(j+1)|0;while(1){o=i[n>>0]|0;if(!(i[10368+(o&255)>>0]&1))break;else n=n+1|0}}if(!(o<<24>>24))o=n;else{o=n;do o=o+1|0;while((i[o>>0]|0)!=0)}o=o-n&1073741823;if((o+-3|0)>>>0>7)P=82;else{j=o+-1|0;h=n+j|0;if((i[h>>0]|0)==115){i[h>>0]=0;o=j}so(d);k[N>>2]=0;t=+p[K>>3];u=t<0.0?-.5:.5;do if((o|0)==6){if(!(dw(n,20040)|0)){q=t*6.0e4+u;g=+W(q)>=1.0?(q>0.0?~~+ia(+V(q/4294967296.0),4294967295.0)>>>0:~~+ga((q-+(~~q>>>0))/4294967296.0)>>>0):0;f=d;g=ow(k[f>>2]|0,k[f+4>>2]|0,~~q>>>0|0,g|0)|0;f=d;k[f>>2]=g;k[f+4>>2]=L;break}if(!(dw(n,20048)|0)){q=t*1.0e3+u;g=+W(q)>=1.0?(q>0.0?~~+ia(+V(q/4294967296.0),4294967295.0)>>>0:~~+ga((q-+(~~q>>>0))/4294967296.0)>>>0):0;f=d;g=ow(k[f>>2]|0,k[f+4>>2]|0,~~q>>>0|0,g|0)|0;f=d;k[f>>2]=g;k[f+4>>2]=L}else P=80}else if((o|0)==5)if(!(dw(n,20008)|0)){to(d);uo(d);f=~~t;g=(k[F>>2]|0)+f|0;h=(((g|0)>0?-1:-12)+g|0)/12|0;k[H>>2]=(k[H>>2]|0)+h;g=(ha(h,-12)|0)+g|0;k[F>>2]=g;i[x>>0]=0;so(d);q=+(f|0);if(q!=t){q=u+(t-q)*30.0*864.0e5;g=+W(q)>=1.0?(q>0.0?~~+ia(+V(q/4294967296.0),4294967295.0)>>>0:~~+ga((q-+(~~q>>>0))/4294967296.0)>>>0):0;f=d;g=ow(k[f>>2]|0,k[f+4>>2]|0,~~q>>>0|0,g|0)|0;f=d;k[f>>2]=g;k[f+4>>2]=L}}else P=80;else if((o|0)==3)if(!(dw(n,20024)|0)){q=t*864.0e5+u;g=+W(q)>=1.0?(q>0.0?~~+ia(+V(q/4294967296.0),4294967295.0)>>>0:~~+ga((q-+(~~q>>>0))/4294967296.0)>>>0):0;f=d;g=ow(k[f>>2]|0,k[f+4>>2]|0,~~q>>>0|0,g|0)|0;f=d;k[f>>2]=g;k[f+4>>2]=L}else P=80;else if((o|0)==4){if(!(dw(n,20032)|0)){q=t*36.0e5+u;g=+W(q)>=1.0?(q>0.0?~~+ia(+V(q/4294967296.0),4294967295.0)>>>0:~~+ga((q-+(~~q>>>0))/4294967296.0)>>>0):0;f=d;g=ow(k[f>>2]|0,k[f+4>>2]|0,~~q>>>0|0,g|0)|0;f=d;k[f>>2]=g;k[f+4>>2]=L;break}if(!(dw(n,20016)|0)){f=~~t;to(d);uo(d);k[H>>2]=(k[H>>2]|0)+f;i[x>>0]=0;so(d);q=+(f|0);if(q!=t){q=u+(t-q)*365.0*864.0e5;g=+W(q)>=1.0?(q>0.0?~~+ia(+V(q/4294967296.0),4294967295.0)>>>0:~~+ga((q-+(~~q>>>0))/4294967296.0)>>>0):0;f=d;g=ow(k[f>>2]|0,k[f+4>>2]|0,~~q>>>0|0,g|0)|0;f=d;k[f>>2]=g;k[f+4>>2]=L}}else P=80}else P=80;while(0);if((P|0)==80)k[N>>2]=1;i[e>>0]=0;i[v>>0]=0;i[w>>0]=0;P=82}break}default:P=82}while(0);if((P|0)==82){P=0;o=k[N>>2]|0}I=I+1|0;if(o){e=1;break a}if((I|0)>=(b|0)){e=0;break a}}}else e=0}else e=vq(a,d)|0;while(0);r=Q;return e|0}function so(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0.0;f=a+42|0;if(!(i[f>>0]|0)){g=a+40|0;if(i[g>>0]|0){c=k[a+8>>2]|0;b=k[a+12>>2]|0;d=k[a+16>>2]|0;if((b|0)<3)e=4}else{d=1;b=1;c=2e3;e=4}if((e|0)==4){b=b+12|0;c=c+-1|0}m=(+(d+2+((c|0)/-100|0)+((c|0)/400|0)+(((c*36525|0)+172251900|0)/100|0)+(((b*306001|0)+306001|0)/1e4|0)|0)+-1524.5)*864.0e5;c=~~m>>>0;d=+W(m)>=1.0?(m>0.0?~~+ia(+V(m/4294967296.0),4294967295.0)>>>0:~~+ga((m-+(~~m>>>0))/4294967296.0)>>>0):0;b=a;k[b>>2]=c;k[b+4>>2]=d;i[f>>0]=1;b=a+41|0;if((i[b>>0]|0)!=0?(h=ha(k[a+20>>2]|0,36e5)|0,h=((k[a+24>>2]|0)*6e4|0)+h|0,m=+p[a+32>>3]*1.0e3,j=ow(~~m>>>0|0,(+W(m)>=1.0?(m>0.0?~~+ia(+V(m/4294967296.0),4294967295.0)>>>0:~~+ga((m-+(~~m>>>0))/4294967296.0)>>>0):0)|0,c|0,d|0)|0,h=ow(j|0,L|0,h|0,((h|0)<0)<<31>>31|0)|0,j=L,l=a,k[l>>2]=h,k[l+4>>2]=j,l=a+43|0,(i[l>>0]|0)!=0):0){d=(k[a+28>>2]|0)*6e4|0;d=iw(h|0,j|0,d|0,((d|0)<0)<<31>>31|0)|0;c=a;k[c>>2]=d;k[c+4>>2]=L;i[g>>0]=0;i[b>>0]=0;i[l>>0]=0}}return}function to(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;e=a+40|0;if(!(i[e>>0]|0)){if(!(i[a+42>>0]|0)){b=2e3;c=1;d=1}else{b=a;b=ow(k[b>>2]|0,k[b+4>>2]|0,432e5,0)|0;b=vw(b|0,L|0,864e5,0)|0;f=~~((+(b|0)+-1867216.25)/36524.25);f=b+1525+f+((f|0)/-4|0)|0;b=~~((+(f|0)+-122.1)/365.25);f=f-((b*36525|0)/100|0)|0;d=~~(+(f|0)/30.6001);c=((d|0)<14?-1:-13)+d|0;b=((c|0)>2?-4716:-4715)+b|0;d=f-~~(+(d|0)*30.6001)|0}k[a+16>>2]=d;k[a+12>>2]=c;k[a+8>>2]=b;i[e>>0]=1}return}function uo(a){a=a|0;var b=0,c=0.0,d=0,e=0,f=0;b=a+41|0;if(!(i[b>>0]|0)){so(a);f=a;f=ow(k[f>>2]|0,k[f+4>>2]|0,432e5,0)|0;f=ww(f|0,L|0,864e5,0)|0;c=+(f|0)/1.0e3;f=~~c;e=(f|0)/3600|0;k[a+20>>2]=e;e=(ha(e,-3600)|0)+f|0;d=(e|0)/60|0;k[a+24>>2]=d;c=c-+(f|0)+ +(e+(ha(d,-60)|0)|0);p[a+32>>3]=c;i[b>>0]=1}return}function vo(a){a=a|0;rg(k[a+52>>2]|0,a);return}function wo(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=a+65|0;do if(!(i[f>>0]|0)){if(!b){e=rh(a,c,d)|0;break}if((k[a+276>>2]|0)>>>0<=b>>>0?(k[a+280>>2]|0)>>>0>b>>>0:0){f=a+248|0;if(!(0<d>>>0|(0==(d|0)?(m[f>>1]|0)>>>0<c>>>0:0))){e=b;break}e=rh(a,c,d)|0;if(!e){e=0;break}pw(e|0,b|0,m[f>>1]|0)|0;rg(a,b);break}if((Qc()|0)==0?(e=wg(b,c,d)|0,(e|0)!=0):0)break;i[f>>0]=1;e=0}else e=0;while(0);return e|0}function xo(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a)a=0;else{d=k[a+4>>2]|0;k[d+4>>2]=k[a>>2];d=d+22|0;a=j[d>>1]|0;if((b|0)>-1){c=a&65535;a=c&65531;j[d>>1]=a;if(b){a=(c|4)&65535;j[d>>1]=a}}a=(a&65535)>>>2&1}return a|0}function yo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=k[a+4>>2]|0;k[e+4>>2]=k[a>>2];e=k[e>>2]|0;c=b&3;if((c|0)!=1){d=i[e+12>>0]|0;a=e+7|0;i[a>>0]=d<<24>>24!=0&1;if((c|0)==3)d=d<<24>>24==0&1;else d=0}else{a=e+7|0;i[a>>0]=1;d=0}i[e+8>>0]=d;do if(!(i[a>>0]|0)){if(b&4){i[e+11>>0]=3;i[e+9>>0]=3;a=3;break}i[e+11>>0]=2;a=e+9|0;if(!(b&8)){i[a>>0]=2;a=2;break}else{i[a>>0]=3;a=2;break}}else{i[e+11>>0]=0;i[e+9>>0]=0;a=0}while(0);if(d<<24>>24)a=(a&255|32)&255;i[e+10>>0]=a;a=e+20|0;c=l[a>>0]|0;i[a>>0]=(b&16|0)==0?c|1:c&254;return}function zo(a){a=a|0;var b=0,c=0;c=a+12|0;b=k[c>>2]|0;if((b|0)>-1){go(a,b,27311);k[c>>2]=-1}$c(k[a+28>>2]|0);b=a+0|0;c=b+44|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));return}function Ao(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;h=e&131071;while(1){g=hb(a|0,b|0,0)|0;if(!((g|0)==(b|0)&(((g|0)<0)<<31>>31|0)==(c|0))){i=3;break}g=fc[k[47552+136>>2]&63](a,d,h)|0;if((g|0)>=0)break;e=Mb()|0;e=k[e>>2]|0;if((e|0)!=4){i=9;break}}if((i|0)==3)if(!f)g=-1;else{if((g|0)==-1){g=Mb()|0;g=k[g>>2]|0}else g=0;k[f>>2]=g;g=-1}else if((i|0)==9)if(f)k[f>>2]=e;return g|0}function Bo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=k[c>>2]|0;do if((d|0)>=0){b=b&255;if(!d){c=a+18|0;j[c>>1]=(m[c>>1]|0)&(b^65535);break}else{c=a+18|0;j[c>>1]=m[c>>1]|0|b;break}}else k[c>>2]=((m[a+18>>1]|0)&(b&255)|0)!=0&1;while(0);return}function Co(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+80|0;if((r|0)>=(s|0))ka();c=d;b=a+8|0;if(k[b>>2]|0)if(!(wc[k[47552+52>>2]&127](k[a+32>>2]|0,c)|0))b=(k[c+72>>2]|0)!=(k[(k[b>>2]|0)+4>>2]|0);else b=1;else b=0;r=d;return b&1|0}function Do(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=r;r=r+32|0;if((r|0)>=(s|0))ka();g=h;f=h+8|0;e=(k[(k[a+8>>2]|0)+20>>2]|0)+12|0;if((k[e>>2]|0)>-1){k[f+0>>2]=0;k[f+4>>2]=0;k[f+8>>2]=0;k[f+12>>2]=0;j[f>>1]=b;j[f+2>>1]=0;k[f+4>>2]=c;k[f+8>>2]=d;b=a+18|0;d=((j[b>>1]&512)>>>9)+13|0;c=k[11910]|0;e=k[e>>2]|0;k[g>>2]=f;e=(fc[c&63](e,d,g)|0)!=-1;j[b>>1]=(m[b>>1]|0)&65023;e=e?0:5}else e=0;r=h;return e|0}function Eo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;h=k[(k[a+8>>2]|0)+20>>2]|0;if((h|0)!=0?(k[h+28>>2]|0)==0:0){b=mc[k[47552+292>>2]&7]()|0;if((b|0)<32768)d=1;else d=(b|0)/32768|0;e=h+20|0;if(!(j[e>>1]|0)){c=h+12|0;b=h+24|0}else{c=h+12|0;b=h+24|0;f=h+16|0;g=0;do{if((k[c>>2]|0)>-1)wc[k[47552+268>>2]&127](k[(k[b>>2]|0)+(g<<2)>>2]|0,k[f>>2]|0)|0;else $c(k[(k[b>>2]|0)+(g<<2)>>2]|0);g=g+d|0}while((g|0)<(m[e>>1]|0))}$c(k[b>>2]|0);b=k[c>>2]|0;if((b|0)>-1){go(a,b,29591);k[c>>2]=-1}k[(k[h>>2]|0)+20>>2]=0;$c(h)}return}function Fo(a){a=a|0;var b=0,c=0,d=0;c=(k[a+8>>2]|0)+28|0;b=k[c>>2]|0;if(b)do{d=b;b=k[b+8>>2]|0;go(a,k[d>>2]|0,26573);$c(d)}while((b|0)!=0);k[c>>2]=0;return}function Go(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=r;r=r+32|0;if((r|0)>=(s|0))ka();e=g;d=g+8|0;f=k[a+8>>2]|0;c=j[a+18>>1]|0;if(!(c&1))if((i[f+13>>0]|0)!=0&(c&2)==0)c=4;else c=7;else if(!(c&2))c=4;else c=7;if((c|0)==4){c=f+13|0;if(!(i[c>>0]|0)){j[d+2>>1]=0;k[d+4>>2]=(k[2514]|0)+2;k[d+8>>2]=510;j[d>>1]=1;h=k[11910]|0;b=k[a+12>>2]|0;k[e>>2]=d;b=fc[h&63](b,13,e)|0;if((b|0)>=0){i[c>>0]=1;c=f+24|0;k[c>>2]=(k[c>>2]|0)+1}}else b=0}else if((c|0)==7){d=k[11910]|0;c=k[a+12>>2]|0;k[e>>2]=b;b=fc[d&63](c,13,e)|0}r=g;return b|0}function Ho(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;do if(b){e=k[b>>2]|0;if(!e){k[b>>2]=1;k[b+4>>2]=c;f=9;break}g=b+4|0;d=k[g>>2]|0;k[b>>2]=e+1;k[g>>2]=c;if(d){k[c>>2]=d;d=d+4|0;k[c+4>>2]=k[d>>2];e=k[d>>2]|0;if(!e)k[a+8>>2]=c;else k[e>>2]=c;k[d>>2]=c}else f=9}else f=9;while(0);if((f|0)==9){d=a+8|0;e=k[d>>2]|0;k[c>>2]=e;if(e)k[e+4>>2]=c;k[c+4>>2]=0;k[d>>2]=c}return}function Io(a,b){a=a|0;b=b|0;var c=0,d=0;if(b){if((k[b>>2]|0)>0){c=0;d=b+8|0;while(1){rg(a,k[d+4>>2]|0);rg(a,k[d+8>>2]|0);rg(a,k[d+12>>2]|0);rg(a,k[d+64>>2]|0);pg(a,k[d+16>>2]|0);Rk(a,k[d+20>>2]|0,1);Lk(a,k[d+44>>2]|0);Mk(a,k[d+48>>2]|0);c=c+1|0;if((c|0)>=(k[b>>2]|0))break;else d=d+72|0}}rg(a,b)}return}function Jo(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=Ko(a,c)|0;if((c|0)>0){d=a+12|0;pw((k[a+8>>2]|0)+(k[d>>2]|0)|0,b|0,c|0)|0;k[d>>2]=(k[d>>2]|0)+c}return}function Ko(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,n=0,o=0,p=0,q=0,r=0;f=a+25|0;do if(!(i[f>>0]|0)){d=i[a+24>>0]|0;if(!(d<<24>>24)){c=a+16|0;b=(k[c>>2]|0)+-1-(k[a+12>>2]|0)|0;i[f>>0]=2;k[c>>2]=0;break}g=a+8|0;e=k[g>>2]|0;e=(e|0)==(k[a+4>>2]|0)?0:e;h=a+12|0;o=k[h>>2]|0;c=((o|0)<0)<<31>>31;r=b+1|0;r=ow(o|0,c|0,r|0,((r|0)<0)<<31>>31|0)|0;p=L;c=ow(r|0,p|0,o|0,c|0)|0;o=L;l=k[a+20>>2]|0;n=((l|0)<0)<<31>>31;q=(o|0)>(n|0)|(o|0)==(n|0)&c>>>0>l>>>0;c=q?r:c;o=q?p:o;if((o|0)>(n|0)|(o|0)==(n|0)&c>>>0>l>>>0){mn(a);i[f>>0]=2;k[a+16>>2]=0;b=0;break}l=a+16|0;k[l>>2]=c;if(d<<24>>24==1)d=wo(k[a>>2]|0,e,c,((c|0)<0)<<31>>31)|0;else d=ad(e,c)|0;if(!d){mn(a);i[f>>0]=1;k[l>>2]=0;b=0;break}if((e|0)==0?(j=k[h>>2]|0,(j|0)>0):0)pw(d|0,k[g>>2]|0,j|0)|0;k[g>>2]=d;c=k[a>>2]|0;do if(!c)c=qc[k[8744+48>>2]&127](d)|0;else{if((k[c+276>>2]|0)>>>0<=d>>>0?(k[c+280>>2]|0)>>>0>d>>>0:0){c=m[c+248>>1]|0;break}c=qc[k[8744+48>>2]&127](d)|0}while(0);k[l>>2]=c}else b=0;while(0);return b|0}function Lo(a){a=a|0;var b=0,c=0;if((k[3154]|0)>=(a|0)?(b=k[3160]|0,(b|0)!=0):0){k[3160]=k[b>>2];c=k[3161]|0;k[3161]=c+-1;k[3162]=(c|0)<=(k[3156]|0)&1;k[2173]=a;if((k[2183]|0)>>>0<a>>>0)k[2183]=a;c=(k[2167]|0)+1|0;k[2167]=c;if(c>>>0>(k[2177]|0)>>>0)k[2177]=c}else{b=vg(a,((a|0)<0)<<31>>31)|0;if(b){c=qc[k[8744+48>>2]&127](b)|0;k[2173]=a;if((k[2183]|0)>>>0<a>>>0)k[2183]=a;c=(k[2168]|0)+c|0;k[2168]=c;if(c>>>0>(k[2178]|0)>>>0)k[2178]=c}else b=0}return b|0}function Mo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=a+20|0;if(k[f>>2]|0){d=a+24|0;g=fc[k[8744+120>>2]&63](b,(k[d>>2]|0)+40|0,l[a+28>>0]|0)|0;if(!g)c=7;else{e=k[2217]|0;c=k[a+16>>2]|0;if((c|0)<=-1){h=xw(c|0,((c|0)<0)<<31>>31|0,-1024,-1)|0;c=(k[d>>2]|0)+(k[f>>2]|0)|0;c=vw(h|0,L|0,c|0,((c|0)<0)<<31>>31|0)|0}oc[e&15](g,c);c=a+40|0;d=k[c>>2]|0;if(d)hc[k[8744+148>>2]&31](d);k[c>>2]=g;k[a+44>>2]=0;k[f>>2]=b;c=0}}else c=0;return c|0}function No(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g;d=k[a+208>>2]|0;if(((d|0)!=0?(j[d+40>>1]|0)>-1:0)?(c=k[d+72>>2]|0,(c|0)!=0):0){d=c;f=8}else f=4;do if((f|0)==4){d=e;k[d>>2]=0;k[d+4>>2]=0;d=k[a+60>>2]|0;c=k[d>>2]|0;if(!c){c=-1;d=-1}else{c=wc[k[c+24>>2]&127](d,e)|0;if(c)break;c=e;c=ow(k[c>>2]|0,k[c+4>>2]|0,-1,-1)|0;d=L}e=k[a+152>>2]|0;f=((e|0)<0)<<31>>31;d=ow(c|0,d|0,e|0,f|0)|0;d=vw(d|0,L|0,e|0,f|0)|0;f=8}while(0);if((f|0)==8){c=a+156|0;if(d>>>0>(k[c>>2]|0)>>>0)k[c>>2]=d;k[b>>2]=d;c=0}r=g;return c|0}function Oo(a){a=a|0;var b=0,c=0;c=a+64|0;if(!((i[a+7>>0]|0)==0?(b=k[c>>2]|0,b=wc[k[(k[b>>2]|0)+20>>2]&127](b,2)|0,(b|0)!=0):0)){b=k[c>>2]|0;b=wc[k[(k[b>>2]|0)+24>>2]&127](b,a+80|0)|0}return b|0}function Po(a,b){a=a|0;b=b|0;var c=0,d=0,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,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=r;r=r+48|0;if((r|0)>=(s|0))ka();D=F+16|0;C=F+8|0;B=F+36|0;w=F;v=F+32|0;u=F+28|0;A=F+24|0;e=k[a>>2]|0;k[u>>2]=0;k[A>>2]=1;y=a+64|0;c=k[y>>2]|0;c=wc[k[(k[c>>2]|0)+24>>2]&127](c,w)|0;a:do if(!c){x=a+200|0;d=k[x>>2]|0;c=zq(k[y>>2]|0,d,(k[(k[a>>2]|0)+8>>2]|0)+1|0)|0;if(!c){if(!(i[d>>0]|0))c=0;else c=uc[k[e+32>>2]&31](e,d,0,A)|0;b:do if((c|0)==0&(k[A>>2]|0)!=0){t=a+72|0;p=t;k[p>>2]=0;k[p+4>>2]=0;p=a+148|0;g=a+152|0;l=a+80|0;n=a+24|0;d=0;q=b;c:while(1){do{c=w;c=Aq(a,b,k[c>>2]|0,k[c+4>>2]|0,v,u)|0;if((c|0)==101)break c;else if(c){E=27;break b}e=k[v>>2]|0;if((e|0)==-1){o=w;o=iw(k[o>>2]|0,k[o+4>>2]|0,k[p>>2]|0,0)|0;e=(k[g>>2]|0)+8|0;e=vw(o|0,L|0,e|0,((e|0)<0)<<31>>31|0)|0;k[v>>2]=e}if(!(e|b)){f=l;h=k[p>>2]|0;f=ow(h|0,0,k[f>>2]|0,k[f+4>>2]|0)|0;m=L;j=t;o=k[j>>2]|0;j=k[j+4>>2]|0;if((f|0)==(o|0)&(m|0)==(j|0)){j=w;j=iw(k[j>>2]|0,k[j+4>>2]|0,f|0,m|0)|0;e=(k[g>>2]|0)+8|0;e=vw(j|0,L|0,e|0,((e|0)<0)<<31>>31|0)|0;k[v>>2]=e;j=m}else f=o}else{f=t;h=k[p>>2]|0;j=k[f+4>>2]|0;f=k[f>>2]|0}if((f|0)==(h|0)&(j|0)==0){f=k[u>>2]|0;c=Gl(a,f)|0;if(c){E=25;break a}k[n>>2]=f}}while((e|0)==0);c=q;f=0;while(1){if(c)Cn(a);c=Bq(a,t,0,1,0)|0;if((c|0)==101)break;else if((c|0)==522)break c;else if(c){E=27;break b}d=d+1|0;f=f+1|0;if(f>>>0<e>>>0)c=0;else{q=0;continue c}}c=w;o=k[c+4>>2]|0;q=t;k[q>>2]=k[c>>2];k[q+4>>2]=o;q=0}i[a+18>>0]=i[a+12>>0]|0;u=d}else{d=0;E=27}while(0);if((E|0)==27){i[a+18>>0]=i[a+12>>0]|0;if(!c)u=d;else break}t=k[x>>2]|0;c=zq(k[y>>2]|0,t,(k[(k[a>>2]|0)+8>>2]|0)+1|0)|0;if(!c){if(((i[a+16>>0]|0)+-1&255)>2?(z=Ng(a,0)|0,(z|0)!=0):0){d=u;c=z;break}c=Hl(a,(i[t>>0]|0)!=0&1,0)|0;if(!c)if((i[t>>0]|0)!=0&(k[A>>2]|0)!=0){p=k[a>>2]|0;d=p+4|0;c=k[d>>2]<<1;q=vg(c,((c|0)<0)<<31>>31)|0;if(!q){d=u;c=7}else{kw(q|0,0,c|0)|0;n=q+(k[d>>2]|0)|0;o=p+24|0;c=yc[k[o>>2]&31](p,t,q,16385,0)|0;d:do if(!c){c=wc[k[(k[q>>2]|0)+24>>2]&127](q,C)|0;if(!c){l=(k[p+8>>2]|0)+1|0;d=C;d=ow(k[d>>2]|0,k[d+4>>2]|0,1,0)|0;d=ow(d|0,L|0,l|0,((l|0)<0)<<31>>31|0)|0;d=vg(d,L)|0;if(d){m=C;c=k[m>>2]|0;m=ow(c|0,k[m+4>>2]|0,1,0)|0;m=d+m|0;c=yc[k[(k[q>>2]|0)+8>>2]&31](q,d,c,0,0)|0;if(!c){i[d+(k[C>>2]|0)>>0]=0;g=d;A=C;z=k[A+4>>2]|0;if((z|0)>0|(z|0)==0&(k[A>>2]|0)>>>0>0){h=p+32|0;f=g;j=d;do{c=uc[k[h>>2]&31](p,j,0,B)|0;if(c){E=55;break d}do if(k[B>>2]|0){c=yc[k[o>>2]&31](p,j,n,2049,0)|0;if(c){E=55;break d}c=zq(n,m,l)|0;e=k[n>>2]|0;if(e){qc[k[e+4>>2]&127](n)|0;k[n>>2]=0}if(c){E=55;break d}if(!(i[m>>0]|0))break;if(!(dw(m,t)|0)){c=0;E=55;break d}}while(0);if(!j)e=1;else{e=j;while(1)if(!(i[e>>0]|0))break;else e=e+1|0;e=(e-f&1073741823)+1|0}j=j+e|0;f=j;z=f-g|0;x=((z|0)<0)<<31>>31;A=C;y=k[A+4>>2]|0}while((x|0)<(y|0)|((x|0)==(y|0)?z>>>0<(k[A>>2]|0)>>>0:0))}c=k[q>>2]|0;if(c){qc[k[c+4>>2]&127](q)|0;k[q>>2]=0}c=fc[k[p+28>>2]&63](p,t,0)|0;$c(d)}else E=55}else{c=7;d=0;E=55}}else{d=0;E=55}}else{d=0;E=55}while(0);if((E|0)==55)$c(d);d=k[q>>2]|0;if(d){qc[k[d+4>>2]&127](q)|0;k[q>>2]=0}$c(q);d=u}}else{d=u;c=0}else d=u}else d=u}else{d=0;E=25}}else{d=0;E=25}while(0);if((E|0)==25)i[a+18>>0]=i[a+12>>0]|0;if((b|0)!=0&(d|0)!=0){B=k[a+172>>2]|0;k[D>>2]=d;k[D+4>>2]=B;gd(539,14776,D)}Bp(a);r=F;return c|0}function Qo(a){a=a|0;var b=0,c=0;b=a+44|0;if(i[b>>0]|0){if(!(i[a+43>>0]|0)){c=k[a+4>>2]|0;uc[k[(k[c>>2]|0)+56>>2]&31](c,0,1,9)|0}i[b>>0]=0;i[a+47>>0]=0}b=a+40|0;c=j[b>>1]|0;if(c<<16>>16>-1){if(!(i[a+43>>0]|0)){a=k[a+4>>2]|0;uc[k[(k[a>>2]|0)+56>>2]&31](a,(c<<16>>16)+3|0,1,5)|0}j[b>>1]=-1}return}function Ro(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,n=0;if((d|0)>5)if((d|0)>100)c=15;else{if((d|0)>9){d=d+-9|0;d=ha(d*39|0,d)|0}else d=1;e=k[a>>2]|0;wc[k[e+60>>2]&127](e,d)|0;e=6}else e=6;a:do if((e|0)==6){do if(!c){c=sq(a,b)|0;do if((c|0)==5){if(!(k[k[a+32>>2]>>2]|0)){c=-1;break a}b=a+43|0;if(i[b>>0]|0){c=-1;break a}d=a+4|0;c=k[d>>2]|0;c=uc[k[(k[c>>2]|0)+56>>2]&31](c,2,1,6)|0;if((c|0)==5){c=261;break a}else if(c)break;if(i[b>>0]|0){c=-1;break a}c=k[d>>2]|0;uc[k[(k[c>>2]|0)+56>>2]&31](c,2,1,5)|0;c=-1;break a}while(0);if(c)break a;d=a+32|0;g=(k[k[d>>2]>>2]|0)+96|0;b=a+52|0;if((k[g>>2]|0)==(k[a+68>>2]|0)){f=a+43|0;e=i[f>>0]|0;if(!(e<<24>>24)){c=k[a+4>>2]|0;c=uc[k[(k[c>>2]|0)+56>>2]&31](c,3,1,6)|0;e=i[f>>0]|0}else c=0;if(e<<24>>24!=2){n=k[a+4>>2]|0;hc[k[(k[n>>2]|0)+60>>2]&31](n)}if((c|0)==5){n=d;d=5;break}else if(c)break a;if(!(cw(k[k[d>>2]>>2]|0,b,48)|0)){j[a+40>>1]=0;c=0;break a}if(i[f>>0]|0){c=-1;break a}c=k[a+4>>2]|0;uc[k[(k[c>>2]|0)+56>>2]&31](c,3,1,5)|0;c=-1;break a}else{n=d;d=0}}else{g=a+32|0;n=g;g=(k[k[g>>2]>>2]|0)+96|0;d=0}while(0);m=a+68|0;b=k[g+8>>2]|0;f=b>>>0>(k[m>>2]|0)>>>0;b=f?0:b;f=f&1^1;e=k[g+12>>2]|0;if(b>>>0<=e>>>0){l=e>>>0>(k[m>>2]|0)>>>0;f=l?f:2;b=l?b:e}e=k[g+16>>2]|0;if(b>>>0<=e>>>0){l=e>>>0>(k[m>>2]|0)>>>0;f=l?f:3;b=l?b:e}e=k[g+20>>2]|0;if(b>>>0<=e>>>0){l=e>>>0>(k[m>>2]|0)>>>0;f=l?f:4;b=l?b:e}b:do if((i[a+46>>0]&2)==0?((f|0)==0?1:b>>>0<(k[m>>2]|0)>>>0):0){l=a+43|0;h=a+4|0;e=1;while(1){d=e+3|0;if(i[l>>0]|0){f=e;break}c=k[h>>2]|0;c=uc[k[(k[c>>2]|0)+56>>2]&31](c,d,1,10)|0;if(!c){f=e;break}else if((c|0)!=5)break a;e=e+1|0;if((e|0)>=5){d=5;break b}}e=k[m>>2]|0;k[g+(f<<2)+4>>2]=e;if(!(i[l>>0]|0)){b=k[h>>2]|0;uc[k[(k[b>>2]|0)+56>>2]&31](b,d,1,9)|0;b=e;d=0}else{b=e;d=0}}while(0);if(!f){c=(d|0)==5?-1:520;break}d=f+3|0;c=a+43|0;e=i[c>>0]|0;do if(!(e<<24>>24)){e=k[a+4>>2]|0;e=uc[k[(k[e>>2]|0)+56>>2]&31](e,d,1,6)|0;if(!e){e=i[c>>0]|0;break}else{c=(e|0)==5?-1:e;break a}}while(0);if(e<<24>>24!=2){m=k[a+4>>2]|0;hc[k[(k[m>>2]|0)+60>>2]&31](m)}if((k[g+(f<<2)+4>>2]|0)==(b|0)?(cw(k[k[n>>2]>>2]|0,a+52|0,48)|0)==0:0){j[a+40>>1]=f;c=0;break}if(!(i[c>>0]|0)){c=k[a+4>>2]|0;uc[k[(k[c>>2]|0)+56>>2]&31](c,d,1,5)|0;c=-1}else c=-1}while(0);return c|0}function So(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=a+56|0;ji(k[c>>2]|0);k[c>>2]=0;hp(a);c=k[a+208>>2]|0;if(!c){if(!(i[a+4>>0]|0)){d=a+60|0;c=k[d>>2]|0;b=k[c>>2]|0;if(!(((b|0)!=0?((qc[k[b+48>>2]&127](c)|0)&2048|0)!=0:0)?(i[a+5>>0]&5)==1:0))g=7;if((g|0)==7?(e=k[a+64>>2]|0,f=k[e>>2]|0,(f|0)!=0):0){qc[k[f+4>>2]&127](e)|0;k[e>>2]=0}b=k[d>>2]|0;c=k[b>>2]|0;if(c){if(!(i[a+13>>0]|0))b=wc[k[c+32>>2]&127](b,0)|0;else b=0;c=a+17|0;if((i[c>>0]|0)!=5)i[c>>0]=0;if((b|0)!=0?(i[a+16>>0]|0)==6:0)i[c>>0]=5}i[a+18>>0]=0;i[a+16>>0]=0}}else{Qo(c);i[a+16>>0]=0}b=a+40|0;if(k[b>>2]|0){Cn(a);i[a+18>>0]=i[a+12>>0]|0;i[a+16>>0]=0;k[b>>2]=0}b=a+72|0;i[a+19>>0]=0;k[b+0>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;return}function To(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=k[c+4>>2]|0;e=d+0|0;f=e+40|0;do{k[e>>2]=0;e=e+4|0}while((e|0)<(f|0));k[d>>2]=c;k[d+4>>2]=k[c>>2];e=d+40|0;k[d+8>>2]=e;kw(e|0,0,k[a+24>>2]|0)|0;k[d+28>>2]=a;k[d+20>>2]=b;return nl(a,b,c)|0}function Uo(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;i=r;r=r+16|0;if((r|0)>=(s|0))ka();f=i;g=Cq(a,b,f)|0;if(!g){h=k[f>>2]|0;if(!b){a=h+136|0;k[f>>2]=a;f=a;a=0}else{f=h;a=(b<<12)+-34|0}k[d>>2]=f+-4;k[c>>2]=h+16384;k[e>>2]=a}r=i;return g|0}function Vo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=k[a+28>>2]|0;g=b&255;if(g&1){c=h+8|0;if((k[c>>2]|0)==(a|0)){b=a;do{b=k[b+36>>2]|0;if(!b){b=0;break}}while((j[b+24>>1]&4)!=0);k[c>>2]=b}b=a+32|0;d=k[b>>2]|0;e=(d|0)==0;f=a+36|0;c=k[f>>2]|0;if(e)k[h+4>>2]=c;else k[d+36>>2]=c;c=k[f>>2]|0;if(!c){k[h>>2]=d;if(e?(i[h+28>>0]|0)!=0:0)i[h+29>>0]=2}else k[c+32>>2]=d;k[b>>2]=0;k[f>>2]=0}if(g&2){b=k[h>>2]|0;k[a+32>>2]=b;if(!b){k[h+4>>2]=a;if(i[h+28>>0]|0)i[h+29>>0]=1}else k[b+36>>2]=a;k[h>>2]=a;b=h+8|0;if((k[b>>2]|0)==0?(j[a+24>>1]&4)==0:0)k[b>>2]=a}return}function Wo(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g;c=b>>>3;d=c&255;i[a+5>>0]=d;b=b&-9;i[a+7>>0]=4-(c<<2);c=k[a+52>>2]|0;if((b|0)==2){i[a+2>>0]=0;i[a+3>>0]=0;i[a+4>>0]=0;j[a+10>>1]=j[c+24>>1]|0;j[a+12>>1]=j[c+26>>1]|0;f=5}else if((b|0)==5){i[a+2>>0]=1;i[a+3>>0]=d;i[a+4>>0]=d<<24>>24==0&1;j[a+10>>1]=j[c+28>>1]|0;j[a+12>>1]=j[c+30>>1]|0;f=5}else{k[e>>2]=54521;k[e+4>>2]=10788;gd(11,13600,e);b=11}if((f|0)==5){i[a+8>>0]=i[c+21>>0]|0;b=0}r=g;return b|0}function Xo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;l=k[a+200>>2]|0;h=a+152|0;j=k[h>>2]|0;m=a+148|0;g=k[m>>2]|0;j=j>>>0>g>>>0?g:j;e=k[a+96>>2]|0;if((e|0)>0){d=k[a+92>>2]|0;c=a+72|0;f=0;do{b=d+(f*48|0)+8|0;n=b;if((k[n>>2]|0)==0&(k[n+4>>2]|0)==0){o=c;n=k[o+4>>2]|0;k[b>>2]=k[o>>2];k[b+4>>2]=n}f=f+1|0}while((f|0)<(e|0));f=c}else f=a+72|0;c=f;d=k[c>>2]|0;c=k[c+4>>2]|0;if((d|0)==0&(c|0)==0){d=0;c=0}else{d=ow(d|0,c|0,-1,-1)|0;d=vw(d|0,L|0,g|0,0)|0;d=ow(d|0,L|0,1,0)|0;d=xw(d|0,L|0,g|0,0)|0;c=L}g=f;k[g>>2]=d;k[g+4>>2]=c;g=a+80|0;k[g>>2]=d;k[g+4>>2]=c;if(((i[a+7>>0]|0)==0?(i[a+5>>0]|0)!=4:0)?(g=k[a+60>>2]|0,((qc[k[(k[g>>2]|0)+48>>2]&127](g)|0)&512|0)==0):0){d=l+0|0;c=d+12|0;do{i[d>>0]=0;d=d+1|0}while((d|0)<(c|0))}else{g=l;e=g;i[e>>0]=-117058087;i[e+1>>0]=-117058087>>8;i[e+2>>0]=-117058087>>16;i[e+3>>0]=-117058087>>24;g=g+4|0;i[g>>0]=-681336544;i[g+1>>0]=-681336544>>8;i[g+2>>0]=-681336544>>16;i[g+3>>0]=-681336544>>24;g=l+8|0;i[g>>0]=-1;i[g+1>>0]=-1>>8;i[g+2>>0]=-1>>16;i[g+3>>0]=-1>>24}c=a+48|0;hd(4,c);c=k[c>>2]|0;i[l+12>>0]=c>>>24;i[l+13>>0]=c>>>16;i[l+14>>0]=c>>>8;i[l+15>>0]=c;c=k[a+28>>2]|0;i[l+16>>0]=c>>>24;i[l+17>>0]=c>>>16;i[l+18>>0]=c>>>8;i[l+19>>0]=c;c=k[m>>2]|0;i[l+20>>0]=c>>>24;i[l+21>>0]=c>>>16;i[l+22>>0]=c>>>8;i[l+23>>0]=c;c=k[h>>2]|0;i[l+24>>0]=c>>>24;i[l+25>>0]=c>>>16;i[l+26>>0]=c>>>8;i[l+27>>0]=c;kw(l+28|0,0,j+-28|0)|0;c=a+64|0;d=0;while(1){if(d>>>0>=(k[m>>2]|0)>>>0){b=0;break}h=k[c>>2]|0;b=f;b=yc[k[(k[h>>2]|0)+12>>2]&31](h,l,j,k[b>>2]|0,k[b+4>>2]|0)|0;h=f;h=ow(k[h>>2]|0,k[h+4>>2]|0,j|0,0)|0;a=f;k[a>>2]=h;k[a+4>>2]=L;if(!b)d=d+j|0;else break}return b|0}function Yo(a){a=a|0;var b=0,c=0,d=0;b=a+24|0;d=m[b>>1]|0;c=d&65503;j[b>>1]=c;if(!(d&2)){j[b>>1]=c|2;Vo(a,2)}return}function Zo(a){a=a|0;var b=0,c=0,d=0;b=k[a+16>>2]|0;c=k[a+20>>2]|0;d=k[b+96>>2]|0;a:do if((d|0)>0){b=k[b+92>>2]|0;a=0;while(1){if((k[b+(a*48|0)+20>>2]|0)>>>0>=c>>>0?(ii(k[b+(a*48|0)+16>>2]|0,c)|0)==0:0){a=1;break a}a=a+1|0;if((a|0)>=(d|0)){a=0;break}}}else a=0;while(0);return a|0}function _o(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();j=o;m=k[a+16>>2]|0;c=i[m+5>>0]|0;a:do if(c<<24>>24!=2){l=m+68|0;d=k[l>>2]|0;do if(!(k[d>>2]|0)){if(c<<24>>24!=4?(i[m+21>>0]|0)==0:0){b=k[m>>2]|0;b=yc[k[b+24>>2]&31](b,0,d,8222,0)|0;if(!b)break;else break a}c=d+0|0;b=c+40|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(b|0));k[d>>2]=14696}while(0);d=k[a+4>>2]|0;h=m+52|0;e=m+152|0;f=(k[e>>2]|0)+4|0;f=xw(f|0,((f|0)<0)<<31>>31|0,k[h>>2]|0,0)|0;g=L;b=k[l>>2]|0;c=a+20|0;a=k[c>>2]|0;i[j>>0]=a>>>24;i[j+1>>0]=a>>>16;i[j+2>>0]=a>>>8;i[j+3>>0]=a;b=yc[k[(k[b>>2]|0)+12>>2]&31](b,j,4,f,g)|0;if(!b){j=k[l>>2]|0;l=k[e>>2]|0;b=ow(f|0,g|0,4,0)|0;b=yc[k[(k[j>>2]|0)+12>>2]&31](j,d,l,b,L)|0;if(!b){b=h;n=10}}}else{c=a+20|0;b=m+52|0;n=10}while(0);if((n|0)==10){k[b>>2]=(k[b>>2]|0)+1;b=ol(m,k[c>>2]|0)|0}r=o;return b|0}function $o(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+48|0;if((r|0)>=(s|0))ka();f=g;c=(a|0)!=0;a:do if(c&(b|0)!=0){c=f;while(1){e=k[b+20>>2]|0;d=a;a=c;while(1){a=a+12|0;if((k[d+20>>2]|0)>>>0>=e>>>0)break;k[a>>2]=d;a=k[d+12>>2]|0;if(!a){c=b;a=d;d=8;break a}else{c=d;d=a;a=c}}k[a>>2]=b;e=k[b+12>>2]|0;c=(d|0)!=0;if(c&(e|0)!=0){c=b;a=d;b=e}else{a=d;d=6;break}}}else{e=b;b=f;d=6}while(0);if((d|0)==6)if(c)k[b+12>>2]=a;else{c=e;a=b;d=8}do if((d|0)==8){a=a+12|0;if(!c){k[a>>2]=0;break}else{k[a>>2]=c;break}}while(0);r=g;return k[f+12>>2]|0}function ap(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=k[k[a+32>>2]>>2]|0;h=a+84|0;g=a+104|0;k[g>>2]=(k[g>>2]|0)+1;k[a+68>>2]=0;g=h+1|0;f=h+2|0;d=h+3|0;e=((l[g>>0]|0)<<16|(l[h>>0]|0)<<24|(l[f>>0]|0)<<8|(l[d>>0]|0))+1|0;i[h>>0]=e>>>24;i[g>>0]=e>>>16;i[f>>0]=e>>>8;i[d>>0]=e;k[a+88>>2]=b;ep(a);k[c+96>>2]=0;k[c+104>>2]=0;k[c+108>>2]=-1;k[c+112>>2]=-1;k[c+116>>2]=-1;return}function bp(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,j=0,m=0,n=0,o=0;g=r;r=r+32|0;if((r|0)>=(s|0))ka();h=g;f=k[b+4>>2]|0;j=k[a>>2]|0;m=k[b+20>>2]|0;b=j+76|0;i[h>>0]=m>>>24;i[h+1>>0]=m>>>16;i[h+2>>0]=m>>>8;i[h+3>>0]=m;i[h+4>>0]=c>>>24;i[h+5>>0]=c>>>16;i[h+6>>0]=c>>>8;i[h+7>>0]=c;m=j+84|0;o=m;o=l[o>>0]|l[o+1>>0]<<8|l[o+2>>0]<<16|l[o+3>>0]<<24;m=m+4|0;m=l[m>>0]|l[m+1>>0]<<8|l[m+2>>0]<<16|l[m+3>>0]<<24;c=h+8|0;n=c;i[n>>0]=o;i[n+1>>0]=o>>8;i[n+2>>0]=o>>16;i[n+3>>0]=o>>24;c=c+4|0;i[c>>0]=m;i[c+1>>0]=m>>8;i[c+2>>0]=m>>16;i[c+3>>0]=m>>24;c=(i[j+65>>0]|0)==0&1;Dq(c,h,8,b,b);Dq(c,f,k[j+36>>2]|0,b,b);c=k[b>>2]|0;i[h+16>>0]=c>>>24;i[h+17>>0]=c>>>16;i[h+18>>0]=c>>>8;i[h+19>>0]=c;c=k[j+80>>2]|0;i[h+20>>0]=c>>>24;i[h+21>>0]=c>>>16;i[h+22>>0]=c>>>8;i[h+23>>0]=c;c=Eq(a,h,24,d,e)|0;if(!c){m=k[a+20>>2]|0;c=ow(d|0,e|0,24,0)|0;c=Eq(a,f,m,c,L)|0}r=g;return c|0}function cp(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;h=r;r=r+16|0;if((r|0)>=(s|0))ka();g=h+8|0;f=h;e=k[3164]|0;if(e)sc[e&3]();d=a+8|0;e=k[d>>2]|0;e=wc[k[(k[e>>2]|0)+24>>2]&127](e,f)|0;i=k[f+4>>2]|0;if((e|0)==0&((i|0)>(c|0)|((i|0)==(c|0)?(k[f>>2]|0)>>>0>b>>>0:0))){e=k[d>>2]|0;e=fc[k[(k[e>>2]|0)+16>>2]&63](e,b,c)|0}d=k[3166]|0;if(d)sc[d&3]();if(e){k[g>>2]=k[a+100>>2];gd(e,14816,g)}r=h;return}function dp(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;l=r;r=r+32|0;if((r|0)>=(s|0))ka();g=l;e=l+16|0;i=l+12|0;h=l+8|0;k[e>>2]=0;k[i>>2]=0;k[h>>2]=0;d=Uo(a,(b+33|0)>>>12,h,i,e)|0;a:do if(!d){f=b-(k[e>>2]|0)|0;if((f|0)==1){d=k[i>>2]|0;b=d+4|0;kw(b|0,0,(k[h>>2]|0)+16384-b|0)|0}else d=k[i>>2]|0;if(k[d+(f<<2)>>2]|0)Fq(a);d=c*383&8191;b:do if(j[(k[h>>2]|0)+(d<<1)>>1]|0){b=k[h>>2]|0;e=f;while(1){if(!e)break;d=d+1&8191;if(!(j[b+(d<<1)>>1]|0))break b;else e=e+-1|0}k[g>>2]=49852;k[g+4>>2]=10788;gd(11,13600,g);d=11;break a}while(0);k[(k[i>>2]|0)+(f<<2)>>2]=c;j[(k[h>>2]|0)+(d<<1)>>1]=f;d=0}while(0);r=l;return d|0}function ep(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0;h=k[k[a+32>>2]>>2]|0;j=a+52|0;i[a+64>>0]=1;k[j>>2]=3007e3;g=a+92|0;e=3007e3;f=j;d=0;b=0;while(1){d=d+b+e|0;c=f+8|0;b=d+b+(k[f+4>>2]|0)|0;if(c>>>0>=g>>>0)break;e=k[c>>2]|0;f=c}k[g>>2]=d;k[a+96>>2]=b;b=h+48|0;c=j+0|0;d=b+48|0;do{i[b>>0]=i[c>>0]|0;b=b+1|0;c=c+1|0}while((b|0)<(d|0));if((i[a+43>>0]|0)!=2){b=k[a+4>>2]|0;hc[k[(k[b>>2]|0)+60>>2]&31](b)}b=h+0|0;c=j+0|0;d=b+48|0;do{i[b>>0]=i[c>>0]|0;b=b+1|0;c=c+1|0}while((b|0)<(d|0));return}function fp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(a)do{d=a+28|0;f=k[d>>2]|0;if(((f>>>0<7?(30>>>(f&127)&1)==0:0)?(k[a+16>>2]|0)>>>0>b>>>0:0)?(e=Fg(a,b,c,1)|0,(e|0)!=0):0)k[d>>2]=e;a=k[a+44>>2]|0}while((a|0)!=0);return}function gp(a){a=a|0;var b=0,c=0,d=0;a:do if(!(k[a+208>>2]|0)){c=a+176|0;d=a+180|0;while(1){b=kl(a,4)|0;if((b|0)!=5)break a;if(!(qc[k[c>>2]&127](k[d>>2]|0)|0)){b=5;break}}}else b=0;while(0);return b|0}function hp(a){a=a|0;var b=0,c=0,d=0,e=0;d=a+96|0;if((k[d>>2]|0)>0){b=a+92|0;c=0;do{ji(k[(k[b>>2]|0)+(c*48|0)+16>>2]|0);c=c+1|0}while((c|0)<(k[d>>2]|0))}c=k[a+68>>2]|0;b=k[c>>2]|0;if(!(i[a+4>>0]|0)){if(b)e=7}else if((b|0)==14696){b=14696;e=7}if((e|0)==7){qc[k[b+4>>2]&127](c)|0;k[c>>2]=0}b=a+92|0;$c(k[b>>2]|0);k[b>>2]=0;k[d>>2]=0;k[a+52>>2]=0;return}function ip(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=a+40|0;if(k[e>>2]|0){c=k[a>>2]|0;if(c)do{d=c;c=k[c+32>>2]|0;if((k[d+20>>2]|0)>>>0>b>>>0)Cl(d)}while((c|0)!=0);if(!b){b=k[a+44>>2]|0;if(!b)b=0;else{kw(k[b+4>>2]|0,0,k[a+20>>2]|0)|0;b=1}}oc[k[8744+144>>2]&15](k[e>>2]|0,b+1|0)}return}function jp(a,b){a=a|0;b=b|0;var c=0,d=0;do if(!b){c=a+43|0;if(!(i[c>>0]|0))c=0;else{i[c>>0]=0;d=k[a+4>>2]|0;if(!(uc[k[(k[d>>2]|0)+56>>2]&31](d,(j[a+40>>1]|0)+3|0,1,6)|0))c=(i[c>>0]|0)==0;else{i[c>>0]=1;c=0}c=c&1}}else{c=a+43|0;d=(i[c>>0]|0)==0;if((b|0)<=0){c=d&1;break}if(d){d=k[a+4>>2]|0;uc[k[(k[d>>2]|0)+56>>2]&31](d,(j[a+40>>1]|0)+3|0,1,5)|0}i[c>>0]=1;c=1}while(0);return c|0}function kp(a){a=a|0;var b=0,c=0,d=0,e=0;c=a+73|0;if((i[c>>0]|0)==2)i[c>>0]=1;else k[a+68>>2]=0;b=a+48|0;pm(a,b);do if(!(i[(k[a+120>>2]|0)+2>>0]|0)){d=b;d=vg(k[d>>2]|0,k[d+4>>2]|0)|0;if(d){b=Qm(a,0,k[b>>2]|0,d,0)|0;if(!b){k[a+56>>2]=d;e=9;break}else{$c(d);break}}else b=7}else e=9;while(0);if((e|0)==9){lp(a);i[c>>0]=3;b=0}c=a+72|0;i[c>>0]=l[c>>0]&251;return b|0}function lp(a){a=a|0;var b=0,c=0,d=0,e=0;b=a+76|0;if((j[b>>1]|0)>=0){e=0;while(1){c=a+(e<<2)+120|0;d=k[c>>2]|0;if(d)Gg(k[d+68>>2]|0);k[c>>2]=0;if((e|0)<(j[b>>1]|0))e=e+1|0;else break}}j[b>>1]=-1;return}function mp(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;m=r;r=r+16|0;if((r|0)>=(s|0))ka();j=m;f=m+8|0;if(b>>>0<2)h=0;else{h=b+-2|0;h=h-((h>>>0)%(((((k[a+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;h=((h+1|0)==(((k[2514]|0)>>>0)/((k[a+32>>2]|0)>>>0)|0|0)?3:2)+h|0}e=Eg(k[a>>2]|0,h,f,0)|0;do if(!e){f=k[f>>2]|0;g=k[f+4>>2]|0;e=(b-h|0)*5|0;a=e+-5|0;if((a|0)<0){if(f)Gg(f);k[j>>2]=53912;k[j+4>>2]=10788;gd(11,13600,j);e=11;break}i[c>>0]=i[g+a>>0]|0;if(d)k[d>>2]=(l[g+(e+-3)>>0]|0)<<16|(l[g+(e+-4)>>0]|0)<<24|(l[g+(e+-2)>>0]|0)<<8|(l[g+(e+-1)>>0]|0);if(f)Gg(f);if(((i[c>>0]|0)+-1&255)>4){k[j>>2]=53920;k[j+4>>2]=10788;gd(11,13600,j);e=11}else e=0}while(0);r=m;return e|0}function np(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,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=r;r=r+32|0;if((r|0)>=(s|0))ka();J=K;I=K+16|0;n=K+20|0;H=K+12|0;o=K+8|0;k[I>>2]=0;q=a+12|0;m=k[q>>2]|0;p=a+44|0;F=k[p>>2]|0;G=m+56|0;h=k[G>>2]|0;h=l[h+37>>0]<<16|l[h+36>>0]<<24|l[h+38>>0]<<8|l[h+39>>0];do if(h>>>0<F>>>0){if(!h){e=(i[a+19>>0]|0)==0&1;m=Lg(k[m+68>>2]|0)|0;if(m){f=m;break}n=k[p>>2]|0;h=n+1|0;k[p>>2]=h;g=a+32|0;m=k[g>>2]|0;if((n|0)==(((k[2514]|0)>>>0)/(m>>>0)|0|0)){h=n+2|0;k[p>>2]=h}if(i[a+17>>0]|0){if(h>>>0<2)n=0;else{n=h+-2|0;n=n-((n>>>0)%(((((k[a+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;n=((n+1|0)==(((k[2514]|0)>>>0)/(m>>>0)|0|0)?3:2)+n|0}if((n|0)==(h|0)){k[o>>2]=0;n=il(a,h,o,e)|0;if(n){f=n;break}F=k[o>>2]|0;n=F+68|0;m=Lg(k[n>>2]|0)|0;if(F)Gg(k[n>>2]|0);if(m){f=m;break}n=k[p>>2]|0;h=n+1|0;k[p>>2]=h;if((n|0)==(((k[2514]|0)>>>0)/((k[g>>2]|0)>>>0)|0|0)){h=n+2|0;k[p>>2]=h}}}g=k[(k[q>>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;g=k[p>>2]|0;k[c>>2]=g;g=il(a,g,b,e)|0;if(g){f=g;break}g=Lg(k[(k[b>>2]|0)+68>>2]|0)|0;if(g){f=k[b>>2]|0;if(!f){f=g;A=98}else{Gg(k[f+68>>2]|0);f=g;A=92}}}else{if(e<<24>>24==2)n=1;else if(e<<24>>24==1?F>>>0>=d>>>0:0){f=mp(a,d,n,0)|0;if(f)break;n=(i[n>>0]|0)==2&1}else n=0;f=Lg(k[m+68>>2]|0)|0;if(f)break;C=k[G>>2]|0;D=h+-1|0;i[C+36>>0]=D>>>24;i[C+37>>0]=D>>>16;i[C+38>>0]=D>>>8;i[C+39>>0]=D;C=a+36|0;D=(d|0)==0;E=a+60|0;B=e<<24>>24==2;g=0;a:while(1){t=(g|0)!=0;if(t){q=k[g+56>>2]|0;q=l[q+1>>0]<<16|l[q>>0]<<24|l[q+2>>0]<<8|l[q+3>>0]}else{q=k[G>>2]|0;q=l[q+33>>0]<<16|l[q+32>>0]<<24|l[q+34>>0]<<8|l[q+35>>0]}if(q>>>0>F>>>0){A=15;break}f=il(a,q,I,0)|0;if(f){A=17;break}h=k[I>>2]|0;u=h+56|0;y=k[u>>2]|0;z=y+4|0;v=y+5|0;w=y+6|0;x=y+7|0;A=l[v>>0]<<16|l[z>>0]<<24|l[w>>0]<<8|l[x>>0];o=n<<24>>24!=0;do if((A|0)!=0|o){if(A>>>0>(((k[C>>2]|0)>>>2)+-2|0)>>>0){f=h;A=22;break a}if(n<<24>>24!=0?(q|0)==(d|0)|q>>>0<d>>>0&B:0){k[c>>2]=q;k[b>>2]=h;f=Lg(k[h+68>>2]|0)|0;if(f){A=88;break a}do if(!A){if(!t){A=(k[G>>2]|0)+32|0;z=k[u>>2]|0;z=l[z>>0]|l[z+1>>0]<<8|l[z+2>>0]<<16|l[z+3>>0]<<24;i[A>>0]=z;i[A+1>>0]=z>>8;i[A+2>>0]=z>>16;i[A+3>>0]=z>>24;break}f=Lg(k[g+68>>2]|0)|0;if(f){A=88;break a}A=k[g+56>>2]|0;z=k[u>>2]|0;z=l[z>>0]|l[z+1>>0]<<8|l[z+2>>0]<<16|l[z+3>>0]<<24;i[A>>0]=z;i[A+1>>0]=z>>8;i[A+2>>0]=z>>16;i[A+3>>0]=z>>24}else{q=k[u>>2]|0;o=i[q+8>>0]|0;e=i[q+9>>0]|0;p=i[q+10>>0]|0;q=i[q+11>>0]|0;n=(e&255)<<16|(o&255)<<24|(p&255)<<8|q&255;if(n>>>0>F>>>0){f=h;A=32;break a}f=il(a,n,H,0)|0;if(f){A=88;break a}n=k[H>>2]|0;m=n+68|0;f=Lg(k[m>>2]|0)|0;if(f){A=35;break a}z=n+56|0;y=k[z>>2]|0;x=k[u>>2]|0;x=l[x>>0]|l[x+1>>0]<<8|l[x+2>>0]<<16|l[x+3>>0]<<24;i[y>>0]=x;i[y+1>>0]=x>>8;i[y+2>>0]=x>>16;i[y+3>>0]=x>>24;y=k[z>>2]|0;A=A+-1|0;i[y+4>>0]=A>>>24;i[y+5>>0]=A>>>16;i[y+6>>0]=A>>>8;i[y+7>>0]=A;pw((k[z>>2]|0)+8|0,(k[u>>2]|0)+12|0,A<<2|0)|0;if(n)Gg(k[m>>2]|0);if(!t){A=k[G>>2]|0;i[A+32>>0]=o;i[A+33>>0]=e;i[A+34>>0]=p;i[A+35>>0]=q;break}f=Lg(k[g+68>>2]|0)|0;if(f){A=88;break a}A=k[g+56>>2]|0;i[A>>0]=o;i[A+1>>0]=e;i[A+2>>0]=p;i[A+3>>0]=q}while(0);k[I>>2]=0;h=0;f=0;n=0;break}if(A){b:do if(!D){if(B){e=0;while(1){u=e<<2;if((l[y+(u+9)>>0]<<16|l[y+(u+8)>>0]<<24|l[y+(u+10)>>0]<<8|l[y+(u+11)>>0])>>>0<=d>>>0)break b;e=e+1|0;if(e>>>0>=A>>>0){e=0;break b}}}m=(l[y+9>>0]<<16|l[y+8>>0]<<24|l[y+10>>0]<<8|l[y+11>>0])-d|0;if((m|0)<=-1)m=(m|0)==-2147483648?2147483647:0-m|0;if(A>>>0>1){e=0;p=1;while(1){f=p<<2;f=(l[y+(f+9)>>0]<<16|l[y+(f+8)>>0]<<24|l[y+(f+10)>>0]<<8|l[y+(f+11)>>0])-d|0;if((f|0)<=-1)f=(f|0)==-2147483648?2147483647:0-f|0;q=(f|0)<(m|0);e=q?p:e;p=p+1|0;if((p|0)==(A|0))break;else m=q?f:m}}else e=0}else e=0;while(0);m=e<<2;q=y+(m+8)|0;m=l[y+(m+9)>>0]<<16|l[q>>0]<<24|l[y+(m+10)>>0]<<8|l[y+(m+11)>>0];if(m>>>0>F>>>0){f=h;A=56;break a}if((m|0)==(d|0)|o^1|m>>>0<d>>>0&B){k[c>>2]=m;f=Lg(k[h+68>>2]|0)|0;if(f){A=88;break a}n=A+-1|0;if(e>>>0<n>>>0){A=y+((A<<2)+4)|0;A=l[A>>0]|l[A+1>>0]<<8|l[A+2>>0]<<16|l[A+3>>0]<<24;i[q>>0]=A;i[q+1>>0]=A>>8;i[q+2>>0]=A>>16;i[q+3>>0]=A>>24}i[z>>0]=n>>>24;i[v>>0]=n>>>16;i[w>>0]=n>>>8;i[x>>0]=n;m=k[c>>2]|0;n=k[E>>2]|0;do if(!n)n=0;else{if((k[n>>2]|0)>>>0<m>>>0){n=1;break}n=(ii(n,m)|0)!=0}while(0);f=il(a,m,b,n&1^1)|0;if(f){n=0;break}f=Lg(k[(k[b>>2]|0)+68>>2]|0)|0;if(!f){f=0;n=0;break}n=k[b>>2]|0;if(!n){n=0;break}Gg(k[n+68>>2]|0);n=0}else f=0}else f=0}else{f=Lg(k[h+68>>2]|0)|0;if(f){A=89;break a}k[c>>2]=q;f=(k[G>>2]|0)+32|0;n=k[u>>2]|0;n=l[n>>0]|l[n+1>>0]<<8|l[n+2>>0]<<16|l[n+3>>0]<<24;i[f>>0]=n;i[f+1>>0]=n>>8;i[f+2>>0]=n>>16;i[f+3>>0]=n>>24;k[b>>2]=h;k[I>>2]=0;h=0;f=0;n=0}while(0);if(g)Gg(k[g+68>>2]|0);if(!(n<<24>>24)){g=0;A=88;break}else g=h}if((A|0)==15){k[J>>2]=58314;k[J+4>>2]=10788;gd(11,13600,J);f=11;A=17}else if((A|0)==22){k[J>>2]=58343;k[J+4>>2]=10788;gd(11,13600,J);h=f;f=11;A=88}else if((A|0)==32){k[J>>2]=58377;k[J+4>>2]=10788;gd(11,13600,J);h=f;f=11;A=88}else if((A|0)==35)if(!n)A=88;else{Gg(k[m>>2]|0);A=88}else if((A|0)==56){k[J>>2]=58442;k[J+4>>2]=10788;gd(11,13600,J);h=f;f=11;A=88}if((A|0)==17)k[I>>2]=0;else if((A|0)==88)if(h)A=89;if((A|0)==89)Gg(k[h+68>>2]|0);if(!g)A=92;else{Gg(k[g+68>>2]|0);A=92}}if((A|0)==92?(f|0)!=0:0)A=98;if((A|0)==98){k[b>>2]=0;break}f=k[b>>2]|0;g=k[f+68>>2]|0;if((j[g+26>>1]|0)<=1){i[f>>0]=0;f=0;break}if(f)Gg(g);k[b>>2]=0;k[J>>2]=58541;k[J+4>>2]=10788;gd(11,13600,J);f=11}else{k[J>>2]=58259;k[J+4>>2]=10788;gd(11,13600,J);f=11}while(0);r=K;return f|0}function op(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,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0;y=r;r=r+16|0;if((r|0)>=(s|0))ka();t=y+12|0;q=y+8|0;x=y;d=k[a+40>>2]|0;a:do if(!d){f=a+96|0;e=k[f>>2]|0;if((e|0)>(c|0)){d=(b|0)==1;c=(d&1^1)+c|0;if((c|0)<(e|0)){b=a+92|0;e=c;do{ji(k[(k[b>>2]|0)+(e*48|0)+16>>2]|0);e=e+1|0}while((e|0)<(k[f>>2]|0))}k[f>>2]=c;if(d){if(c){d=0;break}d=k[a+68>>2]|0;e=k[d>>2]|0;if(!e){d=0;break}if((e|0)==14696)d=Li(d,0,0)|0;else d=0;k[a+52>>2]=0;break}p=a+208|0;if((k[p>>2]|0)==0?(k[k[a+64>>2]>>2]|0)==0:0){d=0;break}if(!c)u=0;else u=(k[a+92>>2]|0)+((c+-1|0)*48|0)|0;o=(u|0)!=0;d=u+20|0;if(o){b=k[d>>2]|0;e=vg(512,0)|0;if(!e){d=7;break}kw(e|0,0,512)|0;k[e>>2]=b;w=e}else w=0;f=a+28|0;c=a+24|0;k[c>>2]=k[(o?d:f)>>2];i[a+18>>0]=i[a+12>>0]|0;b:do if(o){f=a+72|0;c=f;g=k[c>>2]|0;c=k[c+4>>2]|0;if(!(k[p>>2]|0)){e=u+8|0;h=k[e>>2]|0;e=k[e+4>>2]|0;b=(h|0)==0&(e|0)==0;h=b?g:h;e=b?c:e;b=u;d=k[b>>2]|0;b=k[b+4>>2]|0;m=f;k[m>>2]=d;k[m+4>>2]=b;if((b|0)<(e|0)|(b|0)==(e|0)&d>>>0<h>>>0)while(1){d=Bq(a,f,w,1,1)|0;if(d){l=g;j=c;break b}b=f;d=k[b>>2]|0;b=k[b+4>>2]|0;if(!((b|0)<(e|0)|(b|0)==(e|0)&d>>>0<h>>>0)){v=39;break}}else v=39}else v=38}else{n=k[p>>2]|0;if(!n){f=a+72|0;c=f;g=k[c>>2]|0;c=k[c+4>>2]|0;v=38;break}k[c>>2]=k[f>>2];if(i[n+44>>0]|0){g=n+68|0;j=k[g>>2]|0;h=n+32|0;c=k[h>>2]|0;e=n+52|0;d=(k[c>>2]|0)+0|0;b=e+48|0;do{i[e>>0]=i[d>>0]|0;e=e+1|0;d=d+1|0}while((e|0)<(b|0));e=k[g>>2]|0;d=e+1|0;if(d>>>0>j>>>0)d=0;else{f=d;while(1){e=e+34|0;d=e>>>12;if(!d)e=(k[c>>2]|0)+(e<<2)|0;else e=(k[c+(d<<2)>>2]|0)+((e&4095)<<2)|0;d=Gq(a,k[e>>2]|0)|0;e=f+1|0;if((d|0)!=0|e>>>0>j>>>0)break;m=f;c=k[h>>2]|0;f=e;e=m}e=k[g>>2]|0}if((j|0)!=(e|0))Fq(n)}else d=0;e=Al(k[a+204>>2]|0)|0;if(!((e|0)!=0&(d|0)==0))break a;while(1){d=e;e=k[e+12>>2]|0;d=Gq(a,k[d+20>>2]|0)|0;if(!((e|0)!=0&(d|0)==0))break a}}while(0);if((v|0)==38){b=f;k[b>>2]=0;k[b+4>>2]=0;b=0;d=0;v=39}c:do if((v|0)==39){l=a+80|0;m=a+148|0;n=a+152|0;if((b|0)<(c|0)|(b|0)==(c|0)&d>>>0<g>>>0)while(1){k[t>>2]=0;d=Aq(a,0,g,c,t,q)|0;b=k[t>>2]|0;if(!b){b=l;b=ow(k[m>>2]|0,0,k[b>>2]|0,k[b+4>>2]|0)|0;e=L;j=f;if((b|0)==(k[j>>2]|0)?(e|0)==(k[j+4>>2]|0):0){v=iw(g|0,c|0,b|0,e|0)|0;b=(k[n>>2]|0)+8|0;b=vw(v|0,L|0,b|0,((b|0)<0)<<31>>31|0)|0;k[t>>2]=b;v=46}else v=40}else v=46;d:do if((v|0)==46){v=0;if((d|0)==0&(b|0)!=0){j=0;while(1){e=f;h=k[e>>2]|0;e=k[e+4>>2]|0;if(!((e|0)<(c|0)|(e|0)==(c|0)&h>>>0<g>>>0)){b=h;break d}d=Bq(a,f,w,1,1)|0;j=j+1|0;if(!((d|0)==0&j>>>0<b>>>0)){v=40;break}}}else v=40}while(0);if((v|0)==40){v=0;if(d){l=g;j=c;break c}b=f;e=k[b+4>>2]|0;b=k[b>>2]|0}if(!((e|0)<(c|0)|(e|0)==(c|0)&b>>>0<g>>>0)){l=g;j=c;d=0;break}}else{l=g;j=c;d=0}}while(0);e:do if(!o){ji(w);if(d)break a}else{h=u+24|0;e=k[h>>2]|0;m=(k[a+152>>2]|0)+4|0;m=xw(m|0,((m|0)<0)<<31>>31|0,e|0,0)|0;g=x;k[g>>2]=m;k[g+4>>2]=L;g=k[p>>2]|0;if(!g){if(!d)v=57}else{c=u+28|0;b=u+40|0;d=g+104|0;if((k[b>>2]|0)==(k[d>>2]|0))b=k[c>>2]|0;else{k[c>>2]=0;k[b>>2]=k[d>>2];b=0}c=g+68|0;if(b>>>0<(k[c>>2]|0)>>>0){k[c>>2]=b;k[g+76>>2]=k[u+32>>2];k[g+80>>2]=k[u+36>>2];Fq(g);e=k[h>>2]|0;v=57}else v=57}f:do if((v|0)==57){b=a+52|0;while(1){if(e>>>0>=(k[b>>2]|0)>>>0)break;d=Bq(a,x,w,0,1)|0;if(!d)e=e+1|0;else break f}ji(w);break e}while(0);ji(w);break a}while(0);d=f;k[d>>2]=l;k[d+4>>2]=j;d=0}else d=0}while(0);r=y;return d|0}function pp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=k[a>>2]|0;if(b){f=k[a+4>>2]|0;k[(k[b+4>>2]|0)+4>>2]=k[b>>2];d=a+56|0;$c(k[d>>2]|0);k[d>>2]=0;i[a+73>>0]=0;d=k[a+12>>2]|0;c=a+8|0;b=k[c>>2]|0;if(!d)k[f+8>>2]=b;else{k[d+8>>2]=b;b=k[c>>2]|0}if(b)k[b+12>>2]=d;e=a+76|0;b=j[e>>1]|0;if(b<<16>>16>=0){c=0;while(1){d=k[a+(c<<2)+120>>2]|0;if(d){Gg(k[d+68>>2]|0);b=j[e>>1]|0}if((c|0)<(b<<16>>16|0))c=c+1|0;else break}}if((i[f+20>>0]|0)==0?(g=f+12|0,h=k[g>>2]|0,(h|0)!=0):0){k[g>>2]=0;Gg(k[h+68>>2]|0)}$c(k[a+20>>2]|0)}return}function qp(a){a=a|0;var b=0,c=0,d=0,e=0;e=k[a+200>>2]|0;b=k[3164]|0;if(b)sc[b&3]();c=k[a+136>>2]|0;if(c)do{b=c;c=k[c+12>>2]|0;$c(b)}while((c|0)!=0);i[a+4>>0]=0;b=a+208|0;wn(k[b>>2]|0,l[a+9>>0]|0,k[a+152>>2]|0,e)|0;k[b>>2]=0;Cn(a);if(!(i[a+15>>0]|0)){if((k[k[a+64>>2]>>2]|0)!=0?(d=Oo(a)|0,b=d&255,(b|0)==10|(b|0)==13):0){k[a+40>>2]=d;i[a+16>>0]=6}sl(a)}else So(a);b=k[3166]|0;if(b)sc[b&3]();b=k[a+64>>2]|0;c=k[b>>2]|0;if(c){qc[k[c+4>>2]&127](b)|0;k[b>>2]=0}c=k[a+60>>2]|0;b=k[c>>2]|0;if(b){qc[k[b+4>>2]&127](c)|0;k[c>>2]=0}el(e);hc[k[8744+148>>2]&31](k[(k[a+204>>2]|0)+40>>2]|0);$c(a);return}function rp(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=k[a+4>>2]|0;g=vg(f,((f|0)<0)<<31>>31)|0;do if(g){kw(g|0,0,f|0)|0;f=yc[k[a+24>>2]&31](a,b,g,d&556927,e)|0;if(!f){k[c>>2]=g;f=0;break}else{$c(g);break}}else f=7;while(0);return f|0}function sp(a){a=a|0;var b=0,c=0,d=0;b=a+16|0;c=a+12|0;d=a+10|0;if(!(Yl(k[b>>2]|0,a,k[c>>2]|0,i[d>>0]|0)|0))b=0;else{b=(Zl(k[b>>2]|0,a,k[c>>2]|0,i[d>>0]|0)|0)==0;b=b?4:8}return b|0}function tp(a){a=a|0;var b=0,c=0,d=0.0;c=a+8|0;b=j[c>>1]|0;do if(!(b&13))if(!(Zl(k[a+16>>2]|0,a,k[a+12>>2]|0,i[a+10>>0]|0)|0)){b=((m[c>>1]|0)&48640|4)&65535;j[c>>1]=b;break}else{d=+Zg(a);p[a>>3]=d;j[c>>1]=(m[c>>1]|0)&48640|8;im(a);b=j[c>>1]|0;break}while(0);j[c>>1]=b&65517;return}function up(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,n=0,o=0,p=0,q=0,t=0;t=r;r=r+80|0;if((r|0)>=(s|0))ka();p=t+40|0;q=t;e=c+4|0;if((i[a+10>>0]|0)!=(i[e>>0]|0)){o=k[a+32>>2]|0;l=p+8|0;j[l>>1]=1;k[p+32>>2]=o;m=p+24|0;k[m>>2]=0;n=q+8|0;j[n>>1]=1;k[q+32>>2]=o;o=q+24|0;k[o>>2]=0;cm(p,a,4096);cm(q,b,4096);a=Xg(p,i[e>>0]|0)|0;h=(a|0)==0;if(h)g=0;else g=k[p+12>>2]|0;e=Xg(q,i[e>>0]|0)|0;f=(e|0)==0;if(f)b=0;else b=k[q+12>>2]|0;a=yc[k[c+12>>2]&31](k[c+8>>2]|0,g,a,b,e)|0;if(!((j[l>>1]&9312)==0&(k[m>>2]|0)==0))Vg(p);if(!((j[n>>1]&9312)==0&(k[o>>2]|0)==0))Vg(q);if((h|f)&(d|0)!=0)i[d>>0]=7}else a=yc[k[c+12>>2]&31](k[c+8>>2]|0,k[a+12>>2]|0,k[a+16>>2]|0,k[b+12>>2]|0,k[b+16>>2]|0)|0;r=t;return a|0}function vp(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a+12>>2]|0;c=k[b+12>>2]|0;a=cw(k[a+16>>2]|0,k[b+16>>2]|0,(d|0)>(c|0)?c:d)|0;return ((a|0)==0?d-c|0:a)|0}function wp(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();g=h;do if(!(i[a+3>>0]|0)){if(i[a+4>>0]|0){e=((xp(b+4|0,c)|0)&255)+4&65535;j[c+20>>1]=e;e=c+8|0;k[e+0>>2]=0;k[e+4>>2]=0;k[e+8>>2]=0;break}f=l[a+7>>0]|0;e=b+f|0;d=i[e>>0]|0;if(d<<24>>24>-1){e=d&255;k[g>>2]=e;d=1}else{d=rm(e,g)|0;e=k[g>>2]|0}g=c;k[g>>2]=e;k[g+4>>2]=0;f=(d&255)+f|0;d=12}else{d=i[b>>0]|0;if(d<<24>>24>-1){e=d&255;k[g>>2]=e;d=1}else{d=rm(b,g)|0;e=k[g>>2]|0}f=d&255;f=((xp(b+f|0,c)|0)&255)+f|0;d=12}while(0);do if((d|0)==12){k[c+12>>2]=e;k[c+8>>2]=b+f;d=m[a+10>>1]|0;if(e>>>0>d>>>0){g=j[a+12>>1]|0;b=g&65535;e=(((e-b|0)>>>0)%(((k[(k[a+52>>2]|0)+36>>2]|0)+-4|0)>>>0)|0)+b|0;d=(e|0)>(d|0)?g:e&65535;j[c+16>>1]=d;d=f+(d&65535)|0;j[c+18>>1]=d;j[c+20>>1]=d+4;break}else{d=e+f|0;j[c+20>>1]=(d&65532)>>>0<4?4:d&65535;j[c+16>>1]=e;j[c+18>>1]=0;break}}while(0);r=h;return}function xp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=i[a>>0]|0;d=c&255;do if(d&128){c=l[a+1>>0]|0;if(!(c&128)){e=b;k[e>>2]=c|d<<7&16256;k[e+4>>2]=0;c=2;break}e=l[a+2>>0]|0;d=(e|d<<14)&2080895;if(!(e&128)){e=b;k[e>>2]=d|c<<7&16256;k[e+4>>2]=0;c=3;break}e=l[a+3>>0]|0;c=(e|c<<14)&2080895;if(!(e&128)){e=b;k[e>>2]=c|d<<7;k[e+4>>2]=0;c=4;break}h=l[a+4>>0]|0;e=h|d<<14;if(!(h&128)){f=b;k[f>>2]=e|c<<7;k[f+4>>2]=d>>>18;c=5;break}g=c|d<<7;d=l[a+5>>0]|0;f=d|c<<14;if(!(d&128)){c=b;k[c>>2]=f|e<<7&266354560;k[c+4>>2]=g>>>18;c=6;break}c=l[a+6>>0]|0;d=c|e<<14;if(!(c&128)){c=b;k[c>>2]=d&-266354561|f<<7&266354560;k[c+4>>2]=g>>>11;c=7;break}c=d&2080895;e=l[a+7>>0]|0;d=e|f<<14;if(!(e&128)){e=b;k[e>>2]=d&-266354561|c<<7;k[e+4>>2]=g>>>4;c=8;break}else{e=b;k[e>>2]=d<<8&532709120|c<<15|(l[a+8>>0]|0);k[e+4>>2]=h>>>3&15|g<<4;c=9;break}}else{d=b;k[d>>2]=c&255;k[d+4>>2]=0;c=1}while(0);return c|0}function yp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g+8|0;f=g;d=(l[a+1>>0]|0)<<16|(l[a>>0]|0)<<24|(l[a+2>>0]|0)<<8|(l[a+3>>0]|0);a=(l[a+5>>0]|0)<<16|(l[a+4>>0]|0)<<24|(l[a+6>>0]|0)<<8|(l[a+7>>0]|0);h=c;k[h>>2]=a;k[h+4>>2]=d;if((b|0)==6)a=4;else{k[t>>2]=a;k[t+4>>2]=d;p[e>>3]=+p[t>>3];p[f>>3]=+p[e>>3];a=+p[e>>3]!=+p[f>>3]?1:8}j[c+8>>1]=a;r=g;return}function zp(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();f=g;if(!(c>>>0>16777215|(c|0)==16777215&b>>>0>4294967295)){d=b;e=0;while(1){b=e+1|0;i[f+e>>0]=d|128;d=rw(d|0,c|0,7)|0;c=L;if((d|0)==0&(c|0)==0){c=e;break}else e=b}i[f>>0]=(l[f>>0]|0)&127;if((c|0)>-1){d=0;while(1){i[a+d>>0]=i[f+c>>0]|0;if((c|0)>0){d=d+1|0;c=c+-1|0}else break}}}else{i[a+8>>0]=b;b=rw(b|0,c|0,8)|0;d=L;c=7;while(1){i[a+c>>0]=b|128;b=rw(b|0,d|0,7)|0;if((c|0)<=0){b=9;break}else{d=L;c=c+-1|0}}}r=g;return b|0}function Ap(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();f=g;if((k[a+44>>2]|0)>>>0>=b>>>0){d=il(a,b,c,d)|0;if(!d){d=k[c>>2]|0;if((i[d>>0]|0)==0?(e=eq(d)|0,(e|0)!=0):0){d=k[c>>2]|0;if(d)Gg(k[d+68>>2]|0)}else e=0}else e=d}else{k[f>>2]=54788;k[f+4>>2]=10788;gd(11,13600,f);e=11}r=g;return e|0}function Bp(a){a=a|0;var b=0,c=0,d=0;if((i[a+12>>0]|0)==0?(b=a+60|0,c=k[b>>2]|0,((qc[k[(k[c>>2]|0)+48>>2]&127](c)|0)&4096|0)==0):0){b=k[b>>2]|0;c=k[(k[b>>2]|0)+44>>2]|0;if(c){b=qc[c&127](b)|0;if((b|0)<32)b=512;else d=6}else{b=4096;d=6}if((d|0)==6)b=(b|0)>65536?65536:b;k[a+148>>2]=b}else k[a+148>>2]=512;return}function Cp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=a+40|0;do if(!(k[g>>2]|0)){f=i[a+20>>0]|0;if(f<<24>>24){if(f&3){c=0;break}if(j[b+24>>1]&4){c=0;break}}k[b+12>>2]=0;do if(!(k[a+208>>2]|0)){if(!((j[b+24>>1]&4)==0?(i[a+16>>0]|0)!=3:0))h=11;if((h|0)==11?(d=El(a,1)|0,(d|0)!=0):0){c=d;break}if(((k[b+20>>2]|0)>>>0>(k[a+24>>2]|0)>>>0?(Zo(b)|0)!=0:0)?(e=_o(b)|0,(e|0)!=0):0){c=e;break}c=Fl(a,b)|0;h=16}else{if((Zo(b)|0)!=0?(c=_o(b)|0,(c|0)!=0):0)break;c=Bl(a,b,0,0)|0;h=16}while(0);if((h|0)==16)if(!c){Cl(b);c=0;break}d=c&255;if((d|0)==10|(d|0)==13){k[g>>2]=c;i[a+16>>0]=6}}else c=0;while(0);return c|0}function Dp(a){a=a|0;var b=0;b=k[a+8>>2]|0;if((i[b>>0]|0)!=0?(i[b>>0]=0,(j[a+26>>1]|0)>1):0)eq(b)|0;return}function Ep(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,j=0,m=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();j=m;h=m+8|0;do if(!(k[e>>2]|0)){if(!b){k[j>>2]=53856;k[j+4>>2]=10788;gd(11,13600,j);k[e>>2]=11;break}if(b>>>0<2)f=0;else{f=b+-2|0;f=f-((f>>>0)%(((((k[a+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;f=((f+1|0)==(((k[2514]|0)>>>0)/((k[a+32>>2]|0)>>>0)|0|0)?3:2)+f|0}g=Eg(k[a>>2]|0,f,h,0)|0;if(g){k[e>>2]=g;break}b=(b-f|0)*5|0;g=b+-5|0;do if((g|0)>=0){f=k[h>>2]|0;a=k[f+4>>2]|0;g=a+g|0;if((i[g>>0]|0)==c<<24>>24?(l[a+(b+-3)>>0]<<16|l[a+(b+-4)>>0]<<24|l[a+(b+-2)>>0]<<8|l[a+(b+-1)>>0]|0)==(d|0):0)break;h=Lg(f)|0;k[e>>2]=h;if(!h){i[g>>0]=c;i[a+(b+-4)>>0]=d>>>24;i[a+(b+-3)>>0]=d>>>16;i[a+(b+-2)>>0]=d>>>8;i[a+(b+-1)>>0]=d}}else{k[j>>2]=53867;k[j+4>>2]=10788;gd(11,13600,j);k[e>>2]=11;f=k[h>>2]|0}while(0);if(f)Gg(f)}while(0);r=m;return}function Fp(a,b,c){a=a|0;b=b|0;c=c|0;return Pm(a,b,c,0)|0}function Gp(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;f=l[b>>0]&63;d=b+f|0;h=k[c+8>>2]|0;g=k[h>>2]|0;h=k[h+4>>2]|0;switch(l[b+1>>0]|0){case 5:{e=i[d>>0]<<8|l[b+(f+1)>>0];d=l[b+(f+3)>>0]<<16|l[b+(f+2)>>0]<<24|l[b+(f+4)>>0]<<8|l[b+(f+5)>>0];j=11;break}case 6:{e=l[b+(f+1)>>0]<<16|l[d>>0]<<24|l[b+(f+2)>>0]<<8|l[b+(f+3)>>0];d=l[b+(f+5)>>0]<<16|l[b+(f+4)>>0]<<24|l[b+(f+6)>>0]<<8|l[b+(f+7)>>0];j=11;break}case 9:{e=0;d=1;j=11;break}case 2:{d=i[d>>0]<<8|l[b+(f+1)>>0];e=((d|0)<0)<<31>>31;j=11;break}case 7:case 0:{d=Pm(a,b,c,0)|0;break}case 4:{d=l[b+(f+1)>>0]<<16|l[d>>0]<<24|l[b+(f+2)>>0]<<8|l[b+(f+3)>>0];e=((d|0)<0)<<31>>31;j=11;break}case 3:{d=l[b+(f+1)>>0]<<8|i[d>>0]<<16|l[b+(f+2)>>0];e=((d|0)<0)<<31>>31;j=11;break}case 8:{e=0;d=0;j=11;break}case 1:{d=i[d>>0]|0;e=((d|0)<0)<<31>>31;j=11;break}default:d=Pm(a,b,c,0)|0}do if((j|0)==11){if((h|0)>(e|0)|(h|0)==(e|0)&g>>>0>d>>>0){d=k[c+12>>2]|0;break}if((h|0)<(e|0)|(h|0)==(e|0)&g>>>0<d>>>0){d=k[c+16>>2]|0;break}if((m[c+4>>1]|0)>1){d=Pm(a,b,c,1)|0;break}else{d=i[c+6>>0]|0;break}}while(0);return d|0}function Hp(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;j=r;r=r+16|0;if((r|0)>=(s|0))ka();h=j;f=j+8|0;d=b+1|0;e=i[d>>0]|0;if(e<<24>>24>-1){d=e&255;k[f>>2]=d}else{rm(d,f)|0;d=k[f>>2]|0}do if((d|0)>=12){if(!(d&1)){d=k[c+16>>2]|0;break}f=l[b>>0]|0;g=(d+-12|0)/2|0;if((f+g|0)>(a|0)){k[h>>2]=68550;k[h+4>>2]=10788;gd(11,13600,h);i[c+7>>0]=11;d=0;break}d=k[c+8>>2]|0;e=k[d+12>>2]|0;d=cw(b+f|0,k[d+16>>2]|0,(g|0)>(e|0)?e:g)|0;if(d)if((d|0)>0){d=k[c+16>>2]|0;break}else{d=k[c+12>>2]|0;break}if((g|0)==(e|0))if((m[c+4>>1]|0)>1){d=Pm(a,b,c,1)|0;break}else{d=i[c+6>>0]|0;break}else if((g-e|0)>0){d=k[c+16>>2]|0;break}else{d=k[c+12>>2]|0;break}}else d=k[c+12>>2]|0;while(0);r=j;return d|0}function Ip(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;h=a+73|0;c=i[h>>0]|0;do if(c<<24>>24!=1){if((c&255)>2){c=Pn(a)|0;if(c)break;c=i[h>>0]|0}if(!(c<<24>>24)){k[b>>2]=1;c=0;break}c=a+68|0;d=k[c>>2]|0;if((d|0)!=0?(i[h>>0]=1,k[c>>2]=0,(d|0)>0):0)c=0;else n=9}else n=9;while(0);do if((n|0)==9){g=a+76|0;c=j[g>>1]|0;d=k[a+(c<<2)+120>>2]|0;c=a+(c<<1)+78|0;e=(j[c>>1]|0)+1<<16>>16;j[c>>1]=e;c=(i[d+5>>0]|0)!=0;if((e&65535)<(m[d+18>>1]|0)){if(c){c=0;break}c=_m(a)|0;break}if(!c){c=l[d+6>>0]|0;d=k[d+56>>2]|0;c=wm(a,l[d+(c+9)>>0]<<16|l[d+(c+8)>>0]<<24|l[d+(c+10)>>0]<<8|l[d+(c+11)>>0])|0;if(c)break;c=_m(a)|0;break}e=a+44|0;f=a+72|0;d=j[g>>1]|0;do{if(!(d<<16>>16)){n=15;break}c=k[a+(d<<16>>16<<2)+120>>2]|0;if(c){Gg(k[c+68>>2]|0);d=j[g>>1]|0}d=d+-1<<16>>16;j[g>>1]=d;j[e>>1]=0;i[f>>0]=l[f>>0]&249;o=d<<16>>16;c=k[a+(o<<2)+120>>2]|0}while((m[a+(o<<1)+78>>1]|0)>=(m[c+18>>1]|0));if((n|0)==15){k[b>>2]=1;i[h>>0]=0;c=0;break}if(!(i[c+2>>0]|0))c=0;else c=Im(a,b)|0}while(0);return c|0}function Jp(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;p=a+73|0;c=i[p>>0]|0;do if(c<<24>>24!=1){if((c&255)>2){c=Pn(a)|0;if(c)break;c=i[p>>0]|0}if(!(c<<24>>24)){k[b>>2]=1;c=0;break}c=a+68|0;d=k[c>>2]|0;if((d|0)!=0?(i[p>>0]=1,k[c>>2]=0,(d|0)<0):0)c=0;else e=9}else e=9;while(0);a:do if((e|0)==9){o=a+76|0;f=j[o>>1]|0;g=f<<16>>16;e=k[a+(g<<2)+120>>2]|0;d=a+(g<<1)+78|0;c=j[d>>1]|0;if(!(i[e+5>>0]|0)){b=k[e+56>>2]|0;c=(c&65535)<<1;p=k[e+64>>2]|0;c=(l[p+c>>0]<<8|l[p+(c|1)>>0])&m[e+20>>1];c=wm(a,l[b+(c+1)>>0]<<16|l[b+c>>0]<<24|l[b+(c+2)>>0]<<8|l[b+(c+3)>>0])|0;if(c)break;c=Kp(a)|0;break}b:do if(!(c<<16>>16)){h=a+44|0;n=a+72|0;e=g;while(1){if(!(f<<16>>16))break;d=k[a+(e<<2)+120>>2]|0;if(!d)d=f;else{Gg(k[d+68>>2]|0);d=j[o>>1]|0}f=d+-1<<16>>16;j[o>>1]=f;j[h>>1]=0;i[n>>0]=l[n>>0]&249;e=f<<16>>16;d=a+(e<<1)+78|0;c=j[d>>1]|0;if(c<<16>>16)break b}i[p>>0]=0;k[b>>2]=1;c=0;break a}while(0);j[d>>1]=c+-1<<16>>16;p=k[a+(j[o>>1]<<2)+120>>2]|0;if((i[p+2>>0]|0)!=0?(i[p+5>>0]|0)==0:0)c=Jm(a,b)|0;else c=0}while(0);return c|0}function Kp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=a+76|0;do{c=j[d>>1]|0;b=k[a+(c<<2)+120>>2]|0;if(i[b+5>>0]|0){e=4;break}f=l[b+6>>0]|0;g=k[b+56>>2]|0;f=l[g+(f+9)>>0]<<16|l[g+(f+8)>>0]<<24|l[g+(f+10)>>0]<<8|l[g+(f+11)>>0];j[a+(c<<1)+78>>1]=j[b+18>>1]|0;b=wm(a,f)|0}while((b|0)==0);if((e|0)==4){j[a+(c<<1)+78>>1]=(m[b+18>>1]|0)+65535;b=0}return b|0}function Lp(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,l=0,m=0;m=r;r=r+224|0;if((r|0)>=(s|0))ka();i=m;g=m+8|0;k[g>>2]=0;do if(b){h=a+16|0;l=Km(k[h>>2]|0,m+16|0,200,g)|0;if(l){Lm(k[h>>2]|0,c,b,l);if(!(j[l+4>>1]|0)){rg(k[(k[h>>2]|0)+12>>2]|0,k[g>>2]|0);k[i>>2]=53713;k[i+4>>2]=10788;gd(11,13600,i);g=11;break}h=k[g>>2]|0;g=Hm(a,l,c,d,e,f)|0;if(h)rg(k[(k[a+16>>2]|0)+12>>2]|0,h)}else g=7}else g=Hm(a,0,c,d,e,f)|0;while(0);r=m;return g|0}function Mp(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,n=0,o=0,p=0,q=0;q=r;r=r+48|0;if((r|0)>=(s|0))ka();p=q+24|0;d=q;n=q+36|0;o=q+32|0;h=k[a+52>>2]|0;wp(a,b,d);j[c>>1]=j[d+20>>1]|0;c=j[d+18>>1]|0;a:do if(c<<16>>16){e=c&65535;f=b+(e+3)|0;if(f>>>0>((k[a+56>>2]|0)+(m[a+20>>1]|0)|0)>>>0){k[p>>2]=58720;k[p+4>>2]=10788;gd(11,13600,p);c=11;break}c=(k[h+36>>2]|0)+-4|0;c=(((k[d+12>>2]|0)+-1+c-(m[d+16>>1]|0)|0)>>>0)/(c>>>0)|0;if(c){g=h+44|0;a=c;e=l[b+(e+1)>>0]<<16|l[b+e>>0]<<24|l[b+(e+2)>>0]<<8|l[f>>0];while(1){a=a+-1|0;k[n>>2]=0;k[o>>2]=0;if(e>>>0<2)break;if(e>>>0>(k[g>>2]|0)>>>0)break;b=(a|0)==0;if(!b){c=Rp(h,e,o,n)|0;if(c)break a;c=k[o>>2]|0;if(c)f=13;else f=12}else f=12;if((f|0)==12){c=bq(h,e)|0;k[o>>2]=c;if(!c){c=0;f=15}else f=13}if((f|0)==13){f=0;if((j[(k[c+68>>2]|0)+26>>1]|0)==1)f=15;else{k[p>>2]=58754;k[p+4>>2]=10788;gd(11,13600,p);c=11}}if((f|0)==15)c=bn(h,c,e)|0;d=k[o>>2]|0;if((d|0)!=0?(i=k[d+68>>2]|0,(i|0)!=0):0)Gg(i);if(c)break a;if(b){c=0;break a}else e=k[n>>2]|0}k[p>>2]=58734;k[p+4>>2]=10788;gd(11,13600,p);c=11}else c=0}else c=0;while(0);r=q;return c|0}function Np(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0;w=r;r=r+16|0;if((r|0)>=(s|0))ka();f=w;do if(!(k[d>>2]|0)){q=k[a+56>>2]|0;t=b<<1;u=k[a+64>>2]|0;v=u+t|0;e=(l[v>>0]|0)<<8|(l[u+(t|1)>>0]|0);g=a+6|0;h=l[g>>0]|0;n=q+(h+5)|0;o=q+(h+6)|0;if(e>>>0>=((l[n>>0]|0)<<8|(l[o>>0]|0))>>>0?(p=a+52|0,(e+c|0)>>>0<=(k[(k[p>>2]|0)+36>>2]|0)>>>0):0){c=Hq(a,e&65535,c&65535)|0;if(c){k[d>>2]=c;break}c=a+18|0;e=(j[c>>1]|0)+-1<<16>>16;j[c>>1]=e;if(!(e<<16>>16)){d=q+(h+1)|0;i[d>>0]=0;i[d+1>>0]=0;i[d+2>>0]=0;i[d+3>>0]=0;i[q+(h+7)>>0]=0;i[n>>0]=(k[(k[p>>2]|0)+36>>2]|0)>>>8;i[o>>0]=k[(k[p>>2]|0)+36>>2];j[a+16>>1]=(k[(k[p>>2]|0)+36>>2]|0)+65528-(l[g>>0]|0)-(l[a+7>>0]|0);break}else{qw(v|0,u+(t+2)|0,(e&65535)-b<<1|0)|0;i[q+(h+3)>>0]=(m[c>>1]|0)>>>8;i[q+(h+4)>>0]=j[c>>1];q=a+16|0;j[q>>1]=(m[q>>1]|0)+2;break}}k[f>>2]=58991;k[f+4>>2]=10788;gd(11,13600,f);k[d>>2]=11}while(0);r=w;return}function Op(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,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+16|0;if((r|0)>=(s|0))ka();n=D;z=D+12|0;v=D+8|0;a:do if(!(k[g>>2]|0)){h=a+1|0;if((i[h>>0]|0)==0?(B=d+2|0,C=a+16|0,(B|0)<=(m[C>>1]|0)):0){e=Lg(k[a+68>>2]|0)|0;if(e){k[g>>2]=e;break}w=k[a+56>>2]|0;o=m[a+14>>1]|0;x=a+18|0;y=m[x>>1]<<1;q=b<<1;t=o+q|0;u=a+6|0;e=l[u>>0]|0;k[z>>2]=0;b=y+o|0;o=w+(e+5)|0;p=w+(e+6)|0;h=((l[o>>0]<<8|l[p>>0])+65535&65535)+1|0;b:do if((b|0)>(h|0)){k[n>>2]=54326;k[n+4>>2]=10788;gd(11,13600,n);e=11}else{n=b+2|0;do if((n|0)<=(h|0)){if((i[w+(e+1)>>0]|0)==0?(i[w+(e+2)>>0]|0)==0:0){A=20;break}k[v>>2]=0;b=Iq(a,d,z,v)|0;e=k[z>>2]|0;if(e)break b;if(!(k[v>>2]|0))if(!b)A=20;else h=b-w|0;else A=21}else A=20;while(0);if((A|0)==20)if((n+d|0)>(h|0))A=21;else A=23;if((A|0)==21){e=Jq(a)|0;k[z>>2]=e;if(e)break;h=((l[o>>0]<<8|l[p>>0])+65535&65535)+1|0;A=23}if((A|0)==23){h=h-d|0;i[o>>0]=h>>>8;i[p>>0]=h}j[x>>1]=(j[x>>1]|0)+1<<16>>16;j[C>>1]=(m[C>>1]|0)-B;e=w+h|0;pw(e|0,c|0,d|0)|0;if(f){i[e>>0]=f>>>24;i[w+(h+1)>>0]=f>>>16;i[w+(h+2)>>0]=f>>>8;i[w+(h+3)>>0]=f}f=w+t|0;qw(w+(t+2)|0,f|0,y-q|0)|0;i[f>>0]=h>>>8;i[w+(t+1)>>0]=h;i[w+((l[u>>0]|0)+3)>>0]=(m[x>>1]|0)>>>8;i[w+((l[u>>0]|0)+4)>>0]=j[x>>1];if(!(i[(k[a+52>>2]|0)+17>>0]|0))break a;Kq(a,c,g);break a}while(0);k[g>>2]=e;break}if(!e)e=c;else pw(e|0,c|0,d|0)|0;if(f){i[e>>0]=f>>>24;i[e+1>>0]=f>>>16;i[e+2>>0]=f>>>8;i[e+3>>0]=f}g=i[h>>0]|0;i[h>>0]=g+1<<24>>24;g=g&255;k[a+(g<<2)+32>>2]=e;j[a+(g<<1)+22>>1]=b}while(0);r=D;return}function Pp(a){a=a|0;var b=0,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,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0;Oa=r;r=r+240|0;if((r|0)>=(s|0))ka();Na=Oa+24|0;Ka=Oa+200|0;Aa=Oa+188|0;za=Oa+168|0;ya=Oa+160|0;Ba=Oa+136|0;Ca=Oa+116|0;Ma=Oa+96|0;Ha=Oa+92|0;xa=Oa+229|0;wa=Oa+72|0;va=Oa+52|0;ua=Oa+206|0;Ga=Oa+48|0;Da=Oa;Fa=Oa+44|0;Ja=Oa+40|0;Ia=Oa+36|0;Ea=Oa+32|0;La=Oa+204|0;ta=Oa+216|0;da=a+4|0;ma=(k[(k[da>>2]|0)+36>>2]<<1>>>0)/3|0;na=a+76|0;qa=a+74|0;ra=ta+4|0;sa=ta;ea=a+124|0;ja=a+78|0;la=a+80|0;e=j[na>>1]|0;ca=0;while(1){f=e<<16>>16;g=k[a+(f<<2)+120>>2]|0;h=g+1|0;c=(i[h>>0]|0)==0;if(!(e<<16>>16)){if(c){c=ca;b=0;break}k[Ka>>2]=0;k[Aa>>2]=0;d=k[g+52>>2]|0;b=Lg(k[g+68>>2]|0)|0;k[Na>>2]=b;do if(!b){c=g+72|0;e=np(d,Ka,Aa,k[c>>2]|0,0)|0;k[Na>>2]=e;e=k[Ka>>2]|0;Lq(g,e,Na);if(i[d+17>>0]|0)Ep(d,k[Aa>>2]|0,5,k[c>>2]|0,Na);b=k[Na>>2]|0;if(!b){pw(e+22|0,g+22|0,l[h>>0]<<1|0)|0;pw(e+32|0,g+32|0,l[h>>0]<<2|0)|0;i[e+1>>0]=i[h>>0]|0;ul(g,l[k[e+56>>2]>>0]&247);b=l[g+6>>0]|0;$=k[g+56>>2]|0;_=k[Aa>>2]|0;i[$+(b+8)>>0]=_>>>24;i[$+(b+9)>>0]=_>>>16;i[$+(b+10)>>0]=_>>>8;i[$+(b+11)>>0]=_;k[ea>>2]=e;b=0;break}k[ea>>2]=0;if(e)Gg(k[e+68>>2]|0)}else k[ea>>2]=0;while(0);if(b){c=ca;break}j[na>>1]=1;j[ja>>1]=0;j[la>>1]=0;e=k[ea>>2]|0;d=e+1|0;if(!(i[d>>0]|0)){c=1;f=1;ba=15}else{n=1;f=1;h=d}}else if(c){c=e;e=g;d=h;ba=15}else{n=e;e=g}if((ba|0)==15){ba=0;if((m[e+16>>1]|0)>>>0>ma>>>0){n=c;h=d}else{c=ca;b=0;break}}d=f+-1|0;aa=k[a+(d<<2)+120>>2]|0;d=j[a+(d<<1)+78>>1]|0;o=d&65535;b=Lg(k[aa+68>>2]|0)|0;do if(!b){if(((((i[e+3>>0]|0)!=0?(i[h>>0]|0)==1:0)?(fa=j[e+22>>1]|0,ga=e+18|0,fa<<16>>16==(j[ga>>1]|0)):0)?(ha=aa+72|0,(k[ha>>2]|0)!=1):0)?(ia=aa+18|0,(j[ia>>1]|0)==d<<16>>16):0){d=k[e+52>>2]|0;if(!(fa<<16>>16)){k[Na>>2]=59423;k[Na+4>>2]=10788;gd(11,13600,Na);c=ca;b=11;break}$=np(d,Fa,Ia,0,0)|0;k[Ja>>2]=$;if(!$){c=k[e+32>>2]|0;k[Ea>>2]=c;b=Qp(e,c)|0;j[La>>1]=b;f=k[Fa>>2]|0;ul(f,13);Mq(f,1,Ea,La);j[f+16>>1]=65534-(b&65535)+(k[d+36>>2]|0)-(m[f+14>>1]|0);if((i[d+17>>0]|0)!=0?(Ep(d,k[Ia>>2]|0,5,k[ha>>2]|0,Ja),(b&65535)>(m[f+12>>1]|0)):0)Kq(f,c,Ja);$=k[e+56>>2]|0;d=m[ga>>1]<<1;c=k[e+64>>2]|0;d=(l[c+(d+-2)>>0]<<8|l[c+(d+-1)>>0])&m[e+20>>1];c=$+d|0;k[Ea>>2]=c;d=$+(d+9)|0;while(1){b=c+1|0;if((i[c>>0]|0)<0&b>>>0<d>>>0)c=b;else break}k[Ea>>2]=b;d=c+10|0;f=ra;while(1){k[Ea>>2]=b+1;$=i[b>>0]|0;c=f+1|0;i[f>>0]=$;b=k[Ea>>2]|0;if(!($<<24>>24<0&b>>>0<d>>>0))break;else f=c}Op(aa,m[ia>>1]|0,ta,c-sa|0,0,k[e+72>>2]|0,Ja);c=l[aa+6>>0]|0;$=k[aa+56>>2]|0;_=k[Ia>>2]|0;i[$+(c+8)>>0]=_>>>24;i[$+(c+9)>>0]=_>>>16;i[$+(c+10)>>0]=_>>>8;i[$+(c+11)>>0]=_;c=k[Fa>>2]|0;if(c)Gg(k[c+68>>2]|0)}c=ca;b=k[Ja>>2]|0;break}c=Lo(k[(k[da>>2]|0)+32>>2]|0)|0;X=n<<16>>16==1;g=l[qa>>0]|0;K=g&1;k[Ka>>2]=0;i[xa+0>>0]=0;i[xa+1>>0]=0;i[xa+2>>0]=0;i[xa+3>>0]=0;i[xa+4>>0]=0;Z=k[aa+52>>2]|0;if(!c)b=7;else{B=aa+1|0;n=l[B>>0]|0;Y=aa+18|0;b=m[Y>>1]|0;f=b+n|0;if((f|0)<2){_=f;T=0}else{do if(d<<16>>16)if((f|0)==(o|0)){g=(g|-2)+o|0;break}else{g=o+-1|0;break}else g=0;while(0);_=2-K|0;T=g}$=_+1|0;g=T-n+_|0;A=aa+56|0;n=k[A>>2]|0;if((g|0)==(b|0))o=(l[aa+6>>0]|0)+8|0;else{o=g<<1;W=k[aa+64>>2]|0;o=(l[W+o>>0]<<8|l[W+(o|1)>>0])&m[aa+20>>1]}Q=n+o|0;O=n+(o+1)|0;P=n+(o+2)|0;D=n+(o+3)|0;W=l[O>>0]<<16|l[Q>>0]<<24|l[P>>0]<<8|l[D>>0];k[Ha>>2]=W;o=Aa+(_<<2)|0;W=Ap(Z,W,o,0)|0;k[Ka>>2]=W;a:do if(!W){t=aa+22|0;w=aa+32|0;x=aa+20|0;y=aa+64|0;z=Z+22|0;N=Z+36|0;u=_;n=0;while(1){d=k[o>>2]|0;n=n+1+(m[d+18>>1]|0)+(l[d+1>>0]|0)|0;d=u+-1|0;if(!u)break;v=d+T|0;o=i[B>>0]|0;if((v|0)==(m[t>>1]|0))if(!(o<<24>>24)){o=0;ba=52}else{W=k[w>>2]|0;k[ya+(d<<2)>>2]=W;g=l[W+1>>0]<<16|l[W>>0]<<24|l[W+2>>0]<<8|l[W+3>>0];k[Ha>>2]=g;W=(Qp(aa,W)|0)&65535;k[Ma+(d<<2)>>2]=W;i[B>>0]=0}else ba=52;if((ba|0)==52){ba=0;g=k[A>>2]|0;p=v-(o&255)<<1;f=k[y>>2]|0;p=(l[f+p>>0]<<8|l[f+(p|1)>>0])&m[x>>1];f=g+p|0;b=ya+(d<<2)|0;k[b>>2]=f;g=l[g+(p+1)>>0]<<16|l[f>>0]<<24|l[g+(p+2)>>0]<<8|l[g+(p+3)>>0];k[Ha>>2]=g;q=(Qp(aa,f)|0)&65535;k[Ma+(d<<2)>>2]=q;if(j[z>>1]&4){if((q+p|0)>(k[N>>2]|0)){d=u;ba=54;break}pw(c+p|0,f|0,q|0)|0;k[b>>2]=c+(f-(k[A>>2]|0));o=i[B>>0]|0}Np(aa,v-(o&255)|0,q,Ka)}o=Aa+(d<<2)|0;W=Ap(Z,g,o,0)|0;k[Ka>>2]=W;if(W){ba=47;break a}else u=d}if((ba|0)==54){ba=0;k[Na>>2]=59766;k[Na+4>>2]=10788;gd(11,13600,Na);k[Ka>>2]=11;kw(Aa|0,0,d<<2|0)|0;f=0;g=0;break}o=n+3&-4;W=li((k[Z+32>>2]|0)+(o*6|0)|0)|0;if(!W){k[Ka>>2]=7;f=W;g=0;break}U=W+(o<<2)|0;G=U+(o<<1)|0;J=k[Aa>>2]|0;R=l[J+5>>0]<<2;V=R&65535;S=i[J+3>>0]|0;C=S&255;if((_|0)>-1){F=S<<24>>24!=0;H=J;g=0;I=0;n=0;while(1){E=m[H+18>>1]|0;M=i[H+1>>0]|0;A=M&255;B=A+E|0;if(!(M<<24>>24)){b=k[H+56>>2]|0;if((B|0)>0){v=m[H+20>>1]|0;u=m[H+14>>1]|0;t=0;q=n;while(1){M=(t<<1)+u|0;M=b+((l[b+M>>0]<<8|l[b+(M+1)>>0])&v)|0;k[W+(q<<2)>>2]=M;M=Qp(H,M)|0;j[U+(q<<1)>>1]=M;t=t+1|0;if((t|0)==(E|0))break;else q=q+1|0}n=E+n|0}}else if((B|0)>0){w=H+56|0;u=H+20|0;t=H+64|0;q=0;b=n;while(1){v=q;z=A;b:while(1){while(1){x=z+-1|0;if((z|0)<=0){ba=72;break b}z=m[H+(x<<1)+22>>1]|0;if((z|0)>(v|0))z=x;else{y=z;z=x;break}}if((y|0)==(v|0)){ba=71;break}else v=v+-1|0}if((ba|0)==71){ba=0;v=k[H+(z<<2)+32>>2]|0}else if((ba|0)==72){ba=0;v=v<<1;M=k[t>>2]|0;v=(k[w>>2]|0)+((l[M+v>>0]<<8|l[M+(v|1)>>0])&m[u>>1])|0}k[W+(b<<2)>>2]=v;M=Qp(H,v)|0;j[U+(b<<1)>>1]=M;q=q+1|0;if((q|0)==(B|0))break;else b=b+1|0}n=E+n+A|0}k[Ca+(g<<2)>>2]=n;if((g|0)>=(_|0)|F)o=I;else{d=k[Ma+(g<<2)>>2]|0;p=U+(n<<1)|0;j[p>>1]=d;d=d&65535;o=d+I|0;pw(G+I|0,k[ya+(g<<2)>>2]|0,d|0)|0;d=W+(n<<2)|0;k[d>>2]=G+(I+R);f=(m[p>>1]|0)-R|0;j[p>>1]=f;do if(!(i[H+5>>0]|0)){M=k[d>>2]|0;L=(k[H+56>>2]|0)+8|0;L=l[L>>0]|l[L+1>>0]<<8|l[L+2>>0]<<16|l[L+3>>0]<<24;i[M>>0]=L;i[M+1>>0]=L>>8;i[M+2>>0]=L>>16;i[M+3>>0]=L>>24}else{if((f&65532)>>>0>=4)break;i[G+o>>0]=0;j[p>>1]=4;o=o+1|0}while(0);n=n+1|0}g=g+1|0;if((g|0)>=($|0))break;H=k[Aa+(g<<2)>>2]|0;I=o}o=R+-12+(k[N>>2]|0)|0;if((n|0)>0){p=F<<31>>31;f=0;d=0;g=0;do{b=g+2+(m[U+(f<<1)>>1]|0)|0;if((b|0)>(o|0)){k[Ma+(d<<2)>>2]=g;k[Ba+(d<<2)>>2]=f;if((d|0)>3){ba=91;break}else{f=f+p|0;d=d+1|0;g=0}}else g=b;f=f+1|0}while((f|0)<(n|0));if((ba|0)==91){ba=0;k[Na>>2]=59904;k[Na+4>>2]=10788;gd(11,13600,Na);k[Ka>>2]=11;f=W;g=0;break}k[Ma+(d<<2)>>2]=g;k[Ba+(d<<2)>>2]=n;if((d|0)>0){B=(K|0)==0;f=d;do{q=Ma+(f<<2)|0;f=f+-1|0;b=Ma+(f<<2)|0;t=Ba+(f<<2)|0;x=k[t>>2]|0;A=k[b>>2]|0;p=g;while(1){w=x+-1|0;v=x-C|0;if(p){if(!B){g=A;break}y=j[U+(v<<1)>>1]|0;z=p+2|0;v=j[U+(w<<1)>>1]|0;u=A+-2|0;if(((y&65535)+z|0)>(u-(v&65535)|0)){g=A;break}}else{u=A+-2|0;z=2;y=j[U+(v<<1)>>1]|0;v=j[U+(w<<1)>>1]|0}k[t>>2]=w;x=w;A=u-(v&65535)|0;p=(y&65535)+z|0}k[q>>2]=p;k[b>>2]=g}while((f|0)>0);I=1;M=o;L=n}else{I=1;M=o;L=n}}else ba=93}else{o=R+-12+(k[N>>2]|0)|0;n=0;ba=93}if((ba|0)==93){ba=0;k[Ma>>2]=0;k[Ba>>2]=n;I=0;M=o;d=0;L=n}if((k[J+72>>2]|0)>>>0<2){k[Na>>2]=59963;k[Na+4>>2]=10788;gd(11,13600,Na);k[Ka>>2]=11;f=W;g=0;break}E=l[k[J+56>>2]>>0]|0;if((d|0)>-1){q=(K|0)!=0;b=Z+17|0;f=aa+72|0;u=0;g=0;while(1){do if((u|0)<($|0)){J=Aa+(u<<2)|0;K=k[J>>2]|0;k[za+(u<<2)>>2]=K;k[Ga>>2]=K;k[J>>2]=0;K=Lg(k[K+68>>2]|0)|0;k[Ka>>2]=K;g=g+1|0;if(K){f=W;break a}}else{K=np(Z,Ga,Ha,q?1:k[Ha>>2]|0,0)|0;k[Ka>>2]=K;if(K){f=W;break a}o=k[Ga>>2]|0;ul(o,E);k[za+(u<<2)>>2]=o;g=g+1|0;k[Ca+(u<<2)>>2]=L;if(!(i[b>>0]|0))break;Ep(Z,k[o+72>>2]|0,5,k[f>>2]|0,Ka);if(k[Ka>>2]|0){f=W;break a}}while(0);if((u|0)<(d|0))u=u+1|0;else break}if((g|0)>0){n=0;c:do{K=k[za+(n<<2)>>2]|0;o=k[K+72>>2]|0;k[wa+(n<<2)>>2]=o;k[va+(n<<2)>>2]=o;j[ua+(n<<1)>>1]=j[(k[K+68>>2]|0)+24>>1]|0;if((n|0)>0){f=0;do{if((k[wa+(f<<2)>>2]|0)==(o|0)){ba=118;break c}f=f+1|0}while((f|0)<(n|0))}n=n+1|0}while((n|0)<(g|0));if((ba|0)==118){ba=0;k[Na>>2]=60018;k[Na+4>>2]=10788;gd(11,13600,Na);k[Ka>>2]=11;f=W;break}p=(g|0)>1;f=Z+44|0;d=0;do{if(p){n=0;o=1;do{n=(k[va+(o<<2)>>2]|0)>>>0<(k[va+(n<<2)>>2]|0)>>>0?o:n;o=o+1|0}while((o|0)!=(g|0))}else n=0;K=va+(n<<2)|0;o=k[K>>2]|0;k[K>>2]=-1;if((n|0)!=(d|0)){if((n|0)>(d|0)){J=k[(k[za+(n<<2)>>2]|0)+68>>2]|0;K=n+1+(k[f>>2]|0)|0;j[J+24>>1]=0;cq(J,K)}K=k[za+(d<<2)>>2]|0;J=k[K+68>>2]|0;j[J+24>>1]=j[ua+(n<<1)>>1]|0;cq(J,o);k[K+72>>2]=o}d=d+1|0}while((d|0)!=(g|0));k[Ha>>2]=o;K=0}else K=1}else{K=1;g=0}H=g+-1|0;o=k[za+(H<<2)>>2]|0;J=k[o+72>>2]|0;i[Q>>0]=J>>>24;i[O>>0]=J>>>16;i[P>>0]=J>>>8;i[D>>0]=J;if(!((E&8|0)!=0|($|0)==(g|0))){Q=(k[o+56>>2]|0)+8|0;P=(k[(k[((g|0)>($|0)?za:Aa)+(_<<2)>>2]|0)+56>>2]|0)+8|0;P=l[P>>0]|l[P+1>>0]<<8|l[P+2>>0]<<16|l[P+3>>0]<<24;i[Q>>0]=P;i[Q+1>>0]=P>>8;i[Q+2>>0]=P>>16;i[Q+3>>0]=P>>24}J=Z+17|0;if((i[J>>0]|0)!=0?(oa=k[za>>2]|0,pa=k[N>>2]|0,I):0){A=S<<24>>24==0;y=A&1;x=V<<16>>16==0;v=k[oa+56>>2]|0;u=(m[oa+18>>1]|0)+(l[oa+1>>0]|0)|0;w=0;t=0;n=0;p=oa;while(1){z=k[W+(w<<2)>>2]|0;if((w|0)==(u|0)){n=n+1|0;if((n|0)<(g|0))o=za+(n<<2)|0;else o=Aa+(n<<2)|0;u=k[o>>2]|0;v=k[u+56>>2]|0;u=w+y+(m[u+18>>1]|0)+(l[u+1>>0]|0)|0}if((w|0)==(k[Ba+(t<<2)>>2]|0)){o=t+1|0;p=k[za+(o<<2)>>2]|0;if(!A)ba=142}else{o=t;ba=142}do if((ba|0)==142){ba=0;if((n|0)<(g|0)?(z>>>0>=v>>>0?(k[p+72>>2]|0)==(k[wa+(n<<2)>>2]|0):0)&z>>>0<(v+pa|0)>>>0:0)break;if(x)Ep(Z,l[z+1>>0]<<16|l[z>>0]<<24|l[z+2>>0]<<8|l[z+3>>0],5,k[p+72>>2]|0,Ka);if((m[U+(w<<1)>>1]|0)<=(m[p+12>>1]|0))break;Kq(p,z,Ka)}while(0);w=w+1|0;if((w|0)==(L|0))break;else t=o}}if((H|0)>0){q=S<<24>>24==0;u=0;v=0;while(1){t=k[za+(u<<2)>>2]|0;n=k[Ba+(u<<2)>>2]|0;f=k[W+(n<<2)>>2]|0;d=j[U+(n<<1)>>1]|0;o=(d&65535)+R|0;p=c+v|0;do if(!(i[t+5>>0]|0)){n=(k[t+56>>2]|0)+8|0;Q=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;i[n>>0]=Q;i[n+1>>0]=Q>>8;i[n+2>>0]=Q>>16;i[n+3>>0]=Q>>24;n=p}else{if(!q){wp(t,k[W+(n+-1<<2)>>2]|0,Da);o=Da;f=p;n=0;o=(um(c+(v+4)|0,k[o>>2]|0,k[o+4>>2]|0)|0)+4|0;break}b=f+-4|0;if(d<<16>>16!=4){f=b;n=p;break}f=b;n=p;o=(Qp(aa,b)|0)&65535}while(0);Op(aa,u+T|0,f,o,n,k[t+72>>2]|0,Ka);if(k[Ka>>2]|0){f=W;break a}u=u+1|0;if((u|0)>=(H|0))break;else v=o+v|0}}o=1-g|0;if((o|0)<(g|0)){I=k[Ba>>2]|0;H=S<<24>>24==0&1;do{F=(o|0)<0?0-o|0:o;G=xa+F|0;do if(!(i[G>>0]|0)){if((o|0)<=-1?(T=F+-1|0,(k[Ca+(T<<2)>>2]|0)<(k[Ba+(T<<2)>>2]|0)):0)break;if(!F){E=0;f=0;D=I}else{n=F+-1|0;if((F|0)<($|0))f=(k[Ca+(n<<2)>>2]|0)+H|0;else f=L;D=(k[Ba+(n<<2)>>2]|0)+H|0;E=D;D=(k[Ba+(F<<2)>>2]|0)-D|0}B=k[za+(F<<2)>>2]|0;q=k[B+56>>2]|0;b=l[B+6>>0]|0;d=B+64|0;n=(k[d>>2]|0)+(D<<1)|0;p=B+18|0;v=m[p>>1]|0;C=B+1|0;u=v+f+(l[C>>0]|0)|0;t=D+E|0;if((f|0)<(E|0)){T=Nq(B,E-f|0,W+(f<<2)|0,U+(f<<1)|0)|0;S=k[d>>2]|0;qw(S|0,S+(T<<1)|0,v<<1|0)|0;v=v-T|0}if((u|0)>(t|0))v=v-(Nq(B,u-t|0,W+(t<<2)|0,U+(t<<1)|0)|0)|0;x=q+(b+5)|0;w=q+(b+6)|0;T=q+(((l[x>>0]<<8|l[w>>0])+65535&65535)+1)|0;k[Na>>2]=T;d:do if(T>>>0<n>>>0)ba=181;else{if((E|0)<(f|0)){u=f-E|0;u=(u|0)>(D|0)?D:u;T=k[d>>2]|0;qw(T+(u<<1)|0,T|0,v<<1|0)|0;if(Oq(B,n,Na,T,u,W+(E<<2)|0,U+(E<<1)|0)|0){ba=181;break}v=v+u|0}u=i[C>>0]|0;if(u<<24>>24){A=0;do{z=(m[B+(A<<1)+22>>1]|0)+f|0;y=z-E|0;if((y|0)>-1&(y|0)<(D|0)){S=y<<1;R=k[d>>2]|0;T=R+S|0;qw(R+(S+2)|0,T|0,v-y<<1|0)|0;if(Oq(B,n,Na,T,1,W+(z<<2)|0,U+(z<<1)|0)|0){ba=181;break d}u=i[C>>0]|0;v=v+1|0}A=A+1|0}while((A|0)<(u&255|0))}T=v+E|0;if(Oq(B,n,Na,(k[d>>2]|0)+(v<<1)|0,D-v|0,W+(T<<2)|0,U+(T<<1)|0)|0){ba=181;break}T=D&65535;j[p>>1]=T;i[C>>0]=0;i[q+(b+3)>>0]=(T&65535)>>>8;i[q+(b+4)>>0]=j[p>>1];T=(k[Na>>2]|0)-q|0;i[x>>0]=T>>>8;i[w>>0]=T}while(0);if((ba|0)==181){ba=0;Mq(B,D,W+(E<<2)|0,U+(E<<1)|0)}i[G>>0]=1;j[B+16>>1]=M-(k[Ma+(F<<2)>>2]|0)}while(0);o=o+1|0}while((o|0)!=(g|0))}do if(X){if(j[Y>>1]|0){ba=191;break}f=k[za>>2]|0;if((l[aa+6>>0]|0)>>>0>(m[f+16>>1]|0)>>>0){ba=191;break}Z=Jq(f)|0;k[Ka>>2]=Z;Lq(f,aa,Ka);if(k[Ka>>2]|0)break;Z=bn(k[f+52>>2]|0,f,k[f+72>>2]|0)|0;k[Ka>>2]=Z}else ba=191;while(0);do if((ba|0)==191){ba=0;if((i[J>>0]|0)==0|V<<16>>16!=0|K)break;else f=0;do{Y=k[za+(f<<2)>>2]|0;X=k[Y+56>>2]|0;Ep(Z,l[X+9>>0]<<16|l[X+8>>0]<<24|l[X+10>>0]<<8|l[X+11>>0],5,k[Y+72>>2]|0,Ka);f=f+1|0}while((f|0)!=(g|0))}while(0);if((g|0)>=($|0)){f=W;break}f=k[Ka>>2]|0;b=g;do{d=k[Aa+(b<<2)>>2]|0;if(!f){f=bn(k[d+52>>2]|0,d,k[d+72>>2]|0)|0;k[Ka>>2]=f}b=b+1|0}while((b|0)!=($|0));f=W}else{d=_;ba=47}while(0);if((ba|0)==47){ba=0;kw(Aa|0,0,(d<<2)+4|0)|0;f=0;g=0}mi(f);if((_|0)>-1){d=0;do{f=k[Aa+(d<<2)>>2]|0;if(f)Gg(k[f+68>>2]|0);d=d+1|0}while((d|0)<($|0))}if((g|0)>0){d=0;do{b=k[za+(d<<2)>>2]|0;if(b)Gg(k[b+68>>2]|0);d=d+1|0}while((d|0)!=(g|0))}b=k[Ka>>2]|0}if(ca)el(ca)}else c=ca;while(0);i[h>>0]=0;if(e)Gg(k[e+68>>2]|0);e=(j[na>>1]|0)+-1<<16>>16;j[na>>1]=e;if(b)break;else ca=c}if(c)el(c);r=Oa;return b|0}function Qp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=l[a+7>>0]|0;d=b+c|0;do if(!(i[a+4>>0]|0)){f=i[d>>0]|0;e=f&255;if(f<<24>>24<0){f=b+(c+9)|0;c=e&127;do{d=d+1|0;e=i[d>>0]|0;c=e&127|c<<7}while(e<<24>>24<0&d>>>0<f>>>0)}else c=e;e=d+1|0;if(i[a+2>>0]|0){g=d+10|0;f=e;while(1){e=d+2|0;if((i[f>>0]|0)<0&e>>>0<g>>>0){d=f;f=e}else break}}d=m[a+10>>1]|0;if(c>>>0>d>>>0){f=m[a+12>>1]|0;c=(((c-f|0)>>>0)%(((k[(k[a+52>>2]|0)+36>>2]|0)+-4|0)>>>0)|0)+f|0;c=(e-b&65535)+4+(c>>>0>d>>>0?f:c)|0;break}else{c=e-b+c|0;c=c>>>0<4?4:c;break}}else{e=b+(c+9)|0;while(1){c=d+1|0;if((i[d>>0]|0)<0&c>>>0<e>>>0)d=c;else break}c=c-b|0}while(0);return c&65535|0}function Rp(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,n=0,o=0,p=0,q=0;q=r;r=r+16|0;if((r|0)>=(s|0))ka();o=q+4|0;n=q;m=q+8|0;k[o>>2]=0;if(i[a+17>>0]|0){e=((k[2514]|0)>>>0)/((k[a+32>>2]|0)>>>0)|0;h=a+36|0;j=b;while(1){g=j+1|0;if(g>>>0<2)f=0;else{f=j+-1|0;f=f-((f>>>0)%(((((k[h>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;f=((f+1|0)==(e|0)?3:2)+f|0}if((f|0)==(g|0)|(j|0)==(e|0))j=g;else break}if(g>>>0<=(k[a+44>>2]|0)>>>0){j=mp(a,g,m,n)|0;h=(j|0)==0;f=h&(i[m>>0]|0)==4&(k[n>>2]|0)==(b|0);g=f?g:0;if(f|h^1){e=0;f=f?101:j}else p=8}else{g=0;p=8}}else{g=0;p=8}if((p|0)==8){f=il(a,b,o,(c|0)==0?2:0)|0;e=k[o>>2]|0;if(!f){g=k[e+56>>2]|0;g=l[g+1>>0]<<16|l[g>>0]<<24|l[g+2>>0]<<8|l[g+3>>0];f=0}}k[d>>2]=g;if(!c){if(e)Gg(k[e+68>>2]|0)}else k[c>>2]=e;r=q;return ((f|0)==101?0:f)|0}function Sp(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=r;r=r+16|0;if((r|0)>=(s|0))ka();g=h;k[g>>2]=0;e=(b|0)!=0;a:do if(c)if(e){e=g;while(1){f=c+8|0;while(1){if(($p(a,b+8|0,k[b>>2]|0,f,k[c>>2]|0)|0)>=1)break;k[e>>2]=b;e=b+4|0;b=k[e>>2]|0;if(!b){b=0;f=0;break a}else f=0}k[e>>2]=c;e=c+4|0;c=k[e>>2]|0;if(!c){c=0;f=1;break a}if(!b){b=0;f=0;break}}}else{f=e;e=g}else{c=0;f=e;e=g}while(0);k[e>>2]=f?b:c;k[d>>2]=k[g>>2];r=h;return}function Tp(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();e=f+8|0;d=f;c=k[2252]|0;if((c|0)!=0?(qc[c&127](202)|0)!=0:0)c=3338;else{c=rp(k[a>>2]|0,0,b,4126,e)|0;k[e>>2]=c;if(!c){c=d;k[c>>2]=0;k[c+4>>2]=0;c=k[b>>2]|0;fc[k[(k[c>>2]|0)+40>>2]&63](c,18,d)|0;c=k[e>>2]|0}}r=f;return c|0}function Up(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=b+0|0;g=f+40|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(g|0));f=((c|0)<0)<<31>>31;g=vg(c,f)|0;k[b+4>>2]=g;if(!g)k[b>>2]=7;else{g=ww(d|0,e|0,c|0,f|0)|0;k[b+12>>2]=g;k[b+16>>2]=g;g=iw(d|0,e|0,g|0,((g|0)<0)<<31>>31|0)|0;f=b+24|0;k[f>>2]=g;k[f+4>>2]=L;k[b+8>>2]=c;k[b+32>>2]=a}return}function Vp(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,l=0,m=0,n=0,o=0,p=0,q=0;a:do if((c|0)>0){e=a+8|0;g=a+16|0;h=a+4|0;i=a+32|0;j=a+12|0;l=a+24|0;m=c;do{if(k[a>>2]|0)break a;f=k[g>>2]|0;d=(k[e>>2]|0)-f|0;d=(m|0)>(d|0)?d:m;pw((k[h>>2]|0)+f|0,b+(c-m)|0,d|0)|0;f=(k[g>>2]|0)+d|0;k[g>>2]=f;if((f|0)==(k[e>>2]|0)){q=k[i>>2]|0;o=k[j>>2]|0;p=(k[h>>2]|0)+o|0;n=l;n=ow(k[n>>2]|0,k[n+4>>2]|0,o|0,((o|0)<0)<<31>>31|0)|0;n=yc[k[(k[q>>2]|0)+12>>2]&31](q,p,f-o|0,n,L)|0;k[a>>2]=n;k[g>>2]=0;k[j>>2]=0;n=k[e>>2]|0;f=l;n=ow(k[f>>2]|0,k[f+4>>2]|0,n|0,((n|0)<0)<<31>>31|0)|0;f=l;k[f>>2]=n;k[f+4>>2]=L}m=m-d|0}while((m|0)>0)}while(0);return}function Wp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=a+4|0;if(((k[a>>2]|0)==0?(d=k[e>>2]|0,(d|0)!=0):0)?(c=k[a+16>>2]|0,f=k[a+12>>2]|0,(c|0)>(f|0)):0){h=k[a+32>>2]|0;g=a+24|0;g=ow(k[g>>2]|0,k[g+4>>2]|0,f|0,((f|0)<0)<<31>>31|0)|0;c=yc[k[(k[h>>2]|0)+12>>2]&31](h,d+f|0,c-f|0,g,L)|0;k[a>>2]=c}d=a+24|0;c=k[a+16>>2]|0;d=ow(c|0,((c|0)<0)<<31>>31|0,k[d>>2]|0,k[d+4>>2]|0)|0;c=b;k[c>>2]=d;k[c+4>>2]=L;$c(k[e>>2]|0);e=k[a>>2]|0;c=a+0|0;d=c+40|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(d|0));return e|0}function Xp(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,m=0,n=0;f=k[2252]|0;if((f|0)!=0?(qc[f&127](201)|0)!=0:0)f=266;else{g=b+44|0;if(k[g>>2]|0)k[g>>2]=0;n=b;k[n>>2]=d;k[n+4>>2]=e;n=c+8|0;l=k[n>>2]|0;n=k[n+4>>2]|0;i=b+8|0;j=i;k[j>>2]=l;k[j+4>>2]=n;c=k[c>>2]|0;j=b+24|0;k[j>>2]=c;a=a+8|0;f=k[a>>2]|0;h=k[(k[f+24>>2]|0)+136>>2]|0;m=((h|0)<0)<<31>>31;if(!((n|0)>(m|0)|(n|0)==(m|0)&l>>>0>h>>>0)?(k[k[c>>2]>>2]|0)>2:0){k[g>>2]=0;f=k[a>>2]|0}h=k[f+12>>2]|0;c=((h|0)<0)<<31>>31;e=ww(d|0,e|0,h|0,c|0)|0;a=b+36|0;f=k[a>>2]|0;if(!f){f=vg(h,c)|0;k[a>>2]=f;k[b+40>>2]=h;d=f;f=(f|0)==0?7:0}else{d=f;f=0}if((f|0)==0&(e|0)!=0){f=h-e|0;h=b;g=k[h>>2]|0;h=k[h+4>>2]|0;b=ow(g|0,h|0,f|0,((f|0)<0)<<31>>31|0)|0;l=L;c=i;a=k[c>>2]|0;c=k[c+4>>2]|0;if((l|0)>(c|0)|(l|0)==(c|0)&b>>>0>a>>>0)f=iw(a|0,c|0,g|0,h|0)|0;j=k[j>>2]|0;f=yc[k[(k[j>>2]|0)+8>>2]&31](j,d+e|0,f,g,h)|0}}return f|0}function Yp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=r;r=r+32|0;if((r|0)>=(s|0))ka();g=h+8|0;f=h;d=k[a+44>>2]|0;c=a;e=k[c>>2]|0;a:do if(!d){d=k[a+40>>2]|0;c=ww(e|0,k[c+4>>2]|0,d|0,((d|0)<0)<<31>>31|0)|0;if((c|0)!=0&(d-c|0)>8){d=(xp((k[a+36>>2]|0)+c|0,b)|0)&255;c=a;d=ow(k[c>>2]|0,k[c+4>>2]|0,d|0,0)|0;c=a;k[c>>2]=d;k[c+4>>2]=L;c=0;break}else d=0;while(1){c=Pq(a,1,f)|0;if(c)break a;c=i[k[f>>2]>>0]|0;i[g+(d&15)>>0]=c;if(c<<24>>24<0)d=d+1|0;else break}xp(g,b)|0;c=0}else{d=(xp(d+e|0,b)|0)&255;c=a;d=ow(k[c>>2]|0,k[c+4>>2]|0,d|0,0)|0;c=a;k[c>>2]=d;k[c+4>>2]=L;c=0}while(0);r=h;return c|0}function Zp(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=r;r=r+16|0;if((r|0)>=(s|0))ka();f=h;c=f;k[c>>2]=0;k[c+4>>2]=0;c=a;e=k[c+4>>2]|0;b=a+8|0;d=k[b+4>>2]|0;do if((e|0)<(d|0)|((e|0)==(d|0)?(k[c>>2]|0)>>>0<(k[b>>2]|0)>>>0:0))g=9;else{c=k[a+48>>2]|0;if(c){b=Qq(c)|0;i=c+32|0;e=c+48|0;k[i+0>>2]=k[e+0>>2];k[i+4>>2]=k[e+4>>2];k[i+8>>2]=k[e+8>>2];k[i+12>>2]=k[e+12>>2];i=c+40|0;e=c+8|0;d=k[e>>2]|0;e=k[e+4>>2]|0;if((k[i>>2]|0)==(d|0)?(k[i+4>>2]|0)==(e|0):0)k[c+20>>2]=1;if(!b)if(!(k[c+20>>2]|0)){b=Xp(k[c>>2]|0,a,c+32|0,d,e)|0;if(!b){g=9;break}else break}else b=0}else b=0;_p(a)}while(0);if((g|0)==9){b=Yp(a,f)|0;if(!b){b=k[f>>2]|0;k[a+20>>2]=b;b=Pq(a,b,a+32|0)|0}}r=h;return b|0}function _p(a){a=a|0;var b=0;$c(k[a+28>>2]|0);$c(k[a+36>>2]|0);Xm(k[a+48>>2]|0);a=a+0|0;b=a+56|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function $p(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=k[a+12>>2]|0;if(d)Lm(k[(k[a+8>>2]|0)+28>>2]|0,e,d,f);return Pm(c,b,f,0)|0}function aq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0;w=r;r=r+16|0;if((r|0)>=(s|0))ka();f=w;e=w+8|0;q=w+12|0;do if((k[a+44>>2]|0)>>>0>=b>>>0){b=Ap(a,b,e,0)|0;if(!b){u=k[e>>2]|0;t=u+9|0;a:do if(!(i[t>>0]|0)){i[t>>0]=1;o=l[u+6>>0]|0;h=u+18|0;e=j[h>>1]|0;if(!(e<<16>>16)){e=e&65535;b=u+5|0}else{g=0;while(1){f=k[u+56>>2]|0;e=g<<1;b=k[u+64>>2]|0;e=(l[b+e>>0]<<8|l[b+(e|1)>>0])&m[u+20>>1];b=f+e|0;n=u+5|0;if((i[n>>0]|0)==0?(p=aq(a,l[f+(e+1)>>0]<<16|l[b>>0]<<24|l[f+(e+2)>>0]<<8|l[f+(e+3)>>0],1,d)|0,(p|0)!=0):0){b=p;v=21;break a}b=Mp(u,b,q)|0;g=g+1|0;if(b){v=21;break a}e=m[h>>1]|0;if((g|0)>=(e|0)){b=n;break}}}if(!(i[b>>0]|0)){b=k[u+56>>2]|0;b=aq(a,l[b+(o+9)>>0]<<16|l[b+(o+8)>>0]<<24|l[b+(o+10)>>0]<<8|l[b+(o+11)>>0],1,d)|0;if(!b)v=16}else if(!d)v=16;else{k[d>>2]=(k[d>>2]|0)+e;v=16}if((v|0)==16){if(c){b=bn(k[u+52>>2]|0,u,k[u+72>>2]|0)|0;v=21;break}b=Lg(k[u+68>>2]|0)|0;if(!b){ul(u,l[(k[u+56>>2]|0)+o>>0]|8);b=0;v=21;break}}i[t>>0]=0}else{k[f>>2]=60971;k[f+4>>2]=10788;gd(11,13600,f);b=11;v=21}while(0);if((v|0)==21){i[t>>0]=0;if(!u)break}Gg(k[u+68>>2]|0)}}else{k[f>>2]=60966;k[f+4>>2]=10788;gd(11,13600,f);b=11}while(0);r=w;return b|0}function bq(a,b){a=a|0;b=b|0;var c=0,d=0;d=(k[a>>2]|0)+204|0;c=fc[k[8744+132>>2]&63](k[(k[d>>2]|0)+40>>2]|0,b,0)|0;c=nl(k[d>>2]|0,b,c)|0;if(!c)c=0;else{d=k[c+8>>2]|0;k[d+56>>2]=k[c+4>>2];k[d+68>>2]=c;k[d+52>>2]=a;k[d+72>>2]=b;i[d+6>>0]=(b|0)==1?100:0;c=d}return c|0}function cq(a,b){a=a|0;b=b|0;var c=0;c=a+20|0;vc[k[8744+140>>2]&15](k[(k[a+28>>2]|0)+40>>2]|0,k[a>>2]|0,k[c>>2]|0,b);k[c>>2]=b;if((j[a+24>>1]&6)==6)Vo(a,3);return}function dq(a){a=a|0;var b=0,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;v=r;r=r+16|0;if((r|0)>=(s|0))ka();u=v;p=k[a+52>>2]|0;q=i[a>>0]|0;t=k[a+72>>2]|0;o=eq(a)|0;k[u>>2]=o;if(!o){o=j[a+18>>1]|0;n=o&65535;if(!(o<<16>>16))b=a+5|0;else{c=a+56|0;d=a+20|0;e=a+64|0;b=a+5|0;o=0;do{f=k[c>>2]|0;g=o<<1;h=k[e>>2]|0;g=(l[h+g>>0]<<8|l[h+(g|1)>>0])&m[d>>1];h=f+g|0;Kq(a,h,u);if(!(i[b>>0]|0))Ep(p,l[f+(g+1)>>0]<<16|l[h>>0]<<24|l[f+(g+2)>>0]<<8|l[f+(g+3)>>0],5,t,u);o=o+1|0}while((o|0)<(n|0))}if(!(i[b>>0]|0)){o=l[a+6>>0]|0;n=k[a+56>>2]|0;Ep(p,l[n+(o+9)>>0]<<16|l[n+(o+8)>>0]<<24|l[n+(o+10)>>0]<<8|l[n+(o+11)>>0],5,t,u)}}i[a>>0]=q;r=v;return k[u>>2]|0}function eq(a){a=a|0;var b=0,c=0,d=0,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();u=v;a:do if(!(i[a>>0]|0)){b=k[a+52>>2]|0;p=k[a+56>>2]|0;f=l[a+6>>0]|0;if(Wo(a,l[p+f>>0]|0)|0){k[u>>2]=54562;k[u+4>>2]=10788;gd(11,13600,u);b=11;break}h=k[b+32>>2]|0;j[a+20>>1]=h+65535;i[a+1>>0]=0;o=k[b+36>>2]|0;b=f+8+(l[a+7>>0]|0)|0;j[a+14>>1]=b;k[a+60>>2]=p+o;b=b&65535;k[a+64>>2]=p+b;e=i[p+(f+5)>>0]|0;d=i[p+(f+6)>>0]|0;c=l[p+(f+3)>>0]<<8|l[p+(f+4)>>0];j[a+18>>1]=c;if(c>>>0>(((h+-8|0)>>>0)/6|0)>>>0){k[u>>2]=54579;k[u+4>>2]=10788;gd(11,13600,u);b=11;break}h=(c<<1)+b|0;g=o+-4|0;c=l[p+(f+1)>>0]<<8|l[p+(f+2)>>0];b=(((e&255)<<8|d&255)+65535&65535)+1+(l[p+(f+7)>>0]|0)|0;do if(c){while(1){if((c|0)<(h|0)|(c|0)>(g|0)){t=8;break}d=l[p+c>>0]<<8|l[p+(c+1)>>0];e=l[p+(c+2)>>0]<<8|l[p+(c+3)>>0];c=e+c|0;if(!d){m=e;n=c;q=b;t=12;break}if((d|0)<=(c+3|0)|(c|0)>(o|0))break;c=d;b=e+b|0}if((t|0)==8){k[u>>2]=54634;k[u+4>>2]=10788;gd(11,13600,u);b=11;break a}if((t|0)==12?(n|0)<=(o|0):0){b=m+q|0;break}k[u>>2]=54641;k[u+4>>2]=10788;gd(11,13600,u);b=11;break a}while(0);if((b|0)>(o|0)){k[u>>2]=54655;k[u+4>>2]=10788;gd(11,13600,u);b=11;break}else{j[a+16>>1]=b-h;i[a>>0]=1;b=0;break}}else b=0;while(0);r=v;return b|0}function fq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;h=r;r=r+16|0;if((r|0)>=(s|0))ka();g=h;d=k[a>>2]|0;e=d+65|0;if(!(i[e>>0]|0)){if((k[d+24>>2]&65536|0)==0?(f=a+4|0,j=k[f>>2]|0,k[g>>2]=(b|0)==0?13552:b,ih(j,d,13560,g),(c|0)!=0):0){b=k[k[f>>2]>>2]|0;k[g>>2]=b;k[g+4>>2]=c;d=Rq(d,b,0,g)|0;k[k[f>>2]>>2]=d}if(!(i[e>>0]|0)){k[g>>2]=105209;k[g+4>>2]=10788;gd(11,13600,g);d=11}else d=7}else d=7;k[a+12>>2]=d;r=h;return}function gq(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,l=0,m=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();l=m;j=a+20|0;a:do if((k[j>>2]|0)>0){g=a+16|0;h=(c|0)==0;i=0;a=0;do{e=(i|0)<2^i;f=k[g>>2]|0;d=k[f+(e<<4)+12>>2]|0;if(!(!h?(id(c,k[f+(e<<4)>>2]|0)|0)!=0:0)){a=gn(d+24|0,b,l)|0;if(a){a=k[a+8>>2]|0;if(a)break a}else a=0}i=i+1|0}while((i|0)<(k[j>>2]|0))}else a=0;while(0);r=m;return a|0}function hq(a){a=a|0;var b=0,c=0,d=0,e=0;e=k[a+8>>2]|0;d=a+46|0;c=j[d>>1]|0;c=(c&65535)>5?5:c&65535;b=j[(k[a+12>>2]|0)+28>>1]|0;j[e>>1]=b<<16>>16<33?33:b;pw(e+2|0,13512,c<<1|0)|0;b=m[d>>1]|0;if(c>>>0<b>>>0)do{c=c+1|0;j[e+(c<<1)>>1]=23;b=m[d>>1]|0}while((c|0)<(b|0));if(i[a+50>>0]|0)j[e+(b<<1)>>1]=0;return}function iq(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,n=0,o=0;n=r;r=r+64|0;if((r|0)>=(s|0))ka();h=n;a:do if((((c|0)!=0?(f=k[c>>2]|0,(f|0)!=0):0)?(l=c+8|0,(k[l>>2]|0)!=0):0)?(e=a+4|0,o=di(k[a>>2]|0,f,k[e>>2]|0)|0,(o|0)!=0):0){d=k[c+4>>2]|0;b:do if(!d)g=11;else{if(!(id(k[c>>2]|0,d)|0)){e=k[o+8>>2]|0;if(!e){g=11;break}while(1){f=i[e+51>>0]|0;if((f&3)==2)break;e=k[e+20>>2]|0;if(!e){g=11;break b}}d=k[l>>2]|0;b=e}else{b=gq(k[a>>2]|0,d,k[e>>2]|0)|0;e=k[l>>2]|0;if(!b)break;f=i[b+51>>0]|0;d=e}l=(m[b+46>>1]|0)+1|0;i[b+51>>0]=f&-5;e=b+8|0;Sq(d,l,k[e>>2]|0,b);if(k[b+36>>2]|0)break a;j[o+28>>1]=j[k[e>>2]>>1]|0;break a}while(0);if((g|0)==11)e=k[l>>2]|0;l=o+42|0;g=h+44|0;j[g>>1]=j[l>>1]|0;Sq(e,1,o+28|0,h);j[l>>1]=j[g>>1]|0}while(0);r=n;return 0}function jq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();f=g;do if(b){if((k[a+12>>2]|0)>>>0<b>>>0){k[f>>2]=b;ln(a,44408,f);c=1;break}d=(k[a+8>>2]|0)+(b>>>3)|0;e=l[d>>0]|0;c=1<<(b&7);if(!(e&c)){i[d>>0]=e|c;c=0;break}else{k[f>>2]=b;ln(a,44432,f);c=1;break}}else c=1;while(0);r=g;return c|0}function kq(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a>>2]|0;do if(c){if((b|0)==1){b=c+8|0;k[a>>2]=k[b>>2];k[b>>2]=0;k[c+12>>2]=0;break}b=b+-1|0;c=kq(a,b)|0;d=k[a>>2]|0;if(d){k[d+12>>2]=c;c=d+8|0;k[a>>2]=k[c>>2];b=kq(a,b)|0;k[c>>2]=b;return d|0}}else c=0;while(0);return c|0}function lq(a,b){a=a|0;b=b|0;var c=0;if((i[a+43>>0]|0)==2){c=a+24|0;if((k[c>>2]|0)>0){b=a+32|0;a=0;do{$c(k[(k[b>>2]|0)+(a<<2)>>2]|0);k[(k[b>>2]|0)+(a<<2)>>2]=0;a=a+1|0}while((a|0)<(k[c>>2]|0))}}else{a=k[a+4>>2]|0;wc[k[(k[a>>2]|0)+64>>2]&127](a,b)|0}return}function mq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();b=Sg(b)|0;if(b)ih(c,a,Xe(a)|0,d);r=d;return b|0}function nq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a>>2]|0;d=a+16|0;e=a+84|0;hh(k[d>>2]|0,(m[e>>1]|0)<<1);rg(c,k[d>>2]|0);j[e>>1]=b;e=b*80|0;c=rh(c,e,0)|0;if(c){kw(c|0,0,e|0)|0;k[d>>2]=c;if((b|0)>0){e=k[a>>2]|0;d=b<<1;while(1){d=d+-1|0;j[c+8>>1]=1;k[c+32>>2]=e;if((d|0)<=0)break;else c=c+40|0}}}else k[d>>2]=0;return}function oq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if(!(i[(k[a>>2]|0)+65>>0]|0)){b=(ha(m[a+84>>1]|0,c)|0)+b|0;ah((k[a+16>>2]|0)+(b*40|0)|0,d,-1,1,e)|0}return}function pq(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=r;r=r+16|0;if((r|0)>=(s|0))ka();g=h;f=k[a>>2]|0;e=f+1|0;k[a>>2]=e;if((f|0)>98){c=a+8|0;e=k[c>>2]|0;k[a>>2]=f;do Un(a);while((k[a>>2]|0)>-1);yh(e,37160,g);k[c>>2]=e}else{j[a+(e<<4)+12>>1]=b;i[a+(e<<4)+14>>0]=c;c=a+(e<<4)+16|0;k[c+0>>2]=k[d+0>>2];k[c+4>>2]=k[d+4>>2];k[c+8>>2]=k[d+8>>2]}r=h;return}function qq(a,b,c){a=a|0;b=b|0;c=c|0;a=k[a+8>>2]|0;switch(b&255|0){case 236:{Mk(k[a>>2]|0,k[c+4>>2]|0);break}case 243:case 238:case 229:case 227:case 216:case 204:case 202:{Lk(k[a>>2]|0,k[c>>2]|0);break}case 213:case 212:case 201:case 194:{Io(k[a>>2]|0,k[c>>2]|0);break}case 207:case 196:case 195:case 163:{Rk(k[a>>2]|0,k[c>>2]|0,1);break}case 223:case 219:case 217:{Mk(k[a>>2]|0,k[c>>2]|0);break}case 175:case 174:{Lk(k[a>>2]|0,k[c>>2]|0);break}case 239:case 234:{Kk(k[a>>2]|0,k[c>>2]|0);break}case 252:case 197:{Vn(k[a>>2]|0,k[c>>2]|0);break}case 228:case 221:case 220:case 210:case 209:case 208:case 205:case 203:case 200:case 188:case 179:{Sk(k[a>>2]|0,k[c>>2]|0);break}default:{}}return}
11 function rq(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,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,aa=0,ba=0,ca=0,da=0;da=r;r=r+192|0;if((r|0)>=(s|0))ka();_=da+48|0;Y=da+24|0;X=da+160|0;E=da+156|0;P=da+152|0;H=da+148|0;S=da+144|0;K=da+140|0;D=da+16|0;ba=da;v=da+128|0;u=da+116|0;w=da+96|0;e=da+88|0;ca=a+8|0;$=k[ca>>2]|0;aa=k[a>>2]|0;k[ba+0>>2]=k[9286];k[ba+4>>2]=k[9287];k[ba+8>>2]=k[9288];a:do switch(b|0){case 8:{v=k[$>>2]|0;z=v+65|0;if(((i[z>>0]|0)==0?(i[$+18>>0]|0)==0:0)?(V=$+64|0,(k[V>>2]|0)==0):0){y=Tq($)|0;if(y){do{}while((Uq(y,61)|0)!=0);Bh(y,24,0,0,0)|0;do if(!(i[z>>0]|0)){h=$+332|0;q=k[h>>2]|0;if((q|0)==0?(k[$+316>>2]|0)==0:0)break;n=y+32|0;o=k[n>>2]|0;if(o)k[(k[y+4>>2]|0)+8>>2]=o;k[(k[y+24>>2]|0)+88>>2]=o+-1;t=v+20|0;b:do if((k[t>>2]|0)>0){c=y+96|0;d=$+328|0;e=v+16|0;f=v+145|0;g=y+4|0;p=0;while(1){u=1<<p;if(((u&q|0)!=0?(k[c>>2]=k[c>>2]|u,_=k[(k[(k[e>>2]|0)+(p<<4)+12>>2]|0)+4>>2]|0,Ch(y,Bh(y,4,p,(k[d>>2]&u|0)!=0&1,k[$+(p<<2)+336>>2]|0)|0,_,-14),(i[f>>0]|0)==0):0)?(J=k[g>>2]|0,(J|0)!=0):0)i[J+(((k[n>>2]|0)+-1|0)*20|0)+3>>0]=1;p=p+1|0;if((p|0)>=(k[t>>2]|0))break b;q=k[h>>2]|0}}while(0);n=$+452|0;if((k[n>>2]|0)>0){h=$+520|0;g=0;do{o=k[(k[(k[h>>2]|0)+(g<<2)>>2]|0)+60>>2]|0;c:do if(!o)o=0;else while(1){if((k[o>>2]|0)==(v|0))break c;o=k[o+24>>2]|0;if(!o){o=0;break}}while(0);Ch(y,Bh(y,146,0,0,0)|0,o,-10);g=g+1|0}while((g|0)<(k[n>>2]|0))}k[n>>2]=0;n=Tq($)|0;h=$+396|0;if((k[h>>2]|0)>0){g=$+400|0;f=0;do{Y=k[g>>2]|0;_=k[Y+(f<<4)+12>>2]|0;Ch(n,Bh(n,145,k[Y+(f<<4)>>2]|0,k[Y+(f<<4)+4>>2]|0,l[Y+(f<<4)+8>>0]|0)|0,_,-2);f=f+1|0}while((f|0)<(k[h>>2]|0))}d=k[$+8>>2]|0;o=k[$+404>>2]|0;if(o){c=(k[$>>2]|0)+16|0;p=d+32|0;q=d+4|0;do{h=k[o+8>>2]|0;n=k[o+12>>2]|0;Vq($,0,h,k[(k[(k[c>>2]|0)+(h<<4)+12>>2]|0)+72>>2]|0,54);h=n+1|0;Bh(d,28,0,n,h)|0;g=k[p>>2]|0;e=n+-1|0;f=k[k[o+4>>2]>>2]|0;Ch(d,Bh(d,97,0,e,0)|0,f,0);f=g+9|0;Bh(d,108,0,f,0)|0;Bh(d,47,0,0,n)|0;Bh(d,78,e,g+7|0,n)|0;e=k[q>>2]|0;if(e)i[e+(((k[p>>2]|0)+-1|0)*20|0)+3>>0]=16;Bh(d,103,0,h,0)|0;Bh(d,47,0,1,n)|0;Bh(d,16,0,f,0)|0;Bh(d,9,0,g+2|0,0)|0;Bh(d,25,0,n,0)|0;Bh(d,61,0,0,0)|0;o=k[o>>2]|0}while((o|0)!=0)}n=k[$+316>>2]|0;if((n|0)!=0?(i[$+23>>0]=0,(k[n>>2]|0)>0):0){h=n+4|0;g=0;do{_=k[h>>2]|0;Wq($,k[_+(g*20|0)>>2]|0,k[_+(g*20|0)+16>>2]|0);g=g+1|0}while((g|0)<(k[n>>2]|0))}Bh(y,16,0,1,0)|0}while(0);if((k[V>>2]|0)==0?(i[z>>0]|0)==0:0){if((k[$+404>>2]|0)!=0?(W=$+68|0,(k[W>>2]|0)==0):0)k[W>>2]=1;Fh(y,$);k[$+12>>2]=101;i[$+16>>0]=0}else Z=48}else Z=48;if((Z|0)==48)k[$+12>>2]=1;k[$+68>>2]=0;k[$+72>>2]=0;k[$+76>>2]=0;k[$+440>>2]=0;k[$+332>>2]=0}break}case 33:{_=a+(aa<<4)+16|0;_q($,0,0,0,k[_>>2]|0);Rk(k[$>>2]|0,k[_>>2]|0,1);break}case 35:{e=k[a+(aa<<4)+20>>2]|0;d=k[a+(aa<<4)+16>>2]|0;if((e|0)==5?(Kc(d,20456,5)|0)==0:0){i[ba>>0]=32;break a}i[ba>>0]=0;k[_>>2]=e;k[_+4>>2]=d;yh($,20464,_);break}case 26:{Zq($,a+(aa+-1<<4)+16|0,a+(aa<<4)+16|0,k[a+(aa+-4<<4)+16>>2]|0,0,0,k[a+(aa+-2<<4)+16>>2]|0);break}case 221:case 218:case 108:case 97:case 85:case 83:case 81:case 68:case 31:case 28:{k[ba>>2]=0;break}case 27:{i[(k[$>>2]|0)+250>>0]=0;Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{k[ba>>2]=1;break}case 32:{_q($,a+(aa+-2<<4)+16|0,a+(aa+-1<<4)+16|0,i[a+(aa<<4)+16>>0]|0,0);break}case 34:{i[ba>>0]=0;break}case 62:{dr($,0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0,k[a+(aa+-2<<4)+16>>2]|0);break}case 63:{er($,0,0,0,0,k[a+(aa<<4)+16>>2]|0,0,0,0,0)|0;break}case 70:{k[ba>>2]=0;break}case 71:{k[ba>>2]=k[a+(aa+-1<<4)+16>>2]&~k[a+(aa<<4)+20>>2]|k[a+(aa<<4)+16>>2];break}case 73:case 72:{k[ba>>2]=0;k[ba+4>>2]=0;break}case 74:{k[ba>>2]=k[a+(aa<<4)+16>>2];k[ba+4>>2]=255;break}case 76:{k[ba>>2]=7;break}case 75:{k[ba>>2]=k[a+(aa<<4)+16>>2]<<8;k[ba+4>>2]=65280;break}case 6:{i[$+450>>0]=1;k[$+440>>2]=0;break}case 5:{i[$+450>>0]=0;k[$+440>>2]=0;break}case 9:{e=k[a+(aa+-1<<4)+16>>2]|0;d=k[$>>2]|0;if((Xq($,22,37104,0,0)|0)==0?(B=Tq($)|0,(B|0)!=0):0){if((e|0)!=7?(C=d+20|0,(k[C>>2]|0)>0):0){e=(e|0)==9?2:1;d=B+96|0;g=0;do{Bh(B,4,g,e,0)|0;k[d>>2]=k[d>>2]|1<<g;g=g+1|0}while((g|0)<(k[C>>2]|0))}Bh(B,3,0,0,0)|0}break}case 46:{$=k[a+(aa+-3<<4)+16>>2]|0;k[ba>>2]=$;k[ba+4>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0)-$;break}case 279:case 263:case 262:case 261:case 260:case 259:case 258:case 257:case 256:case 247:case 150:case 141:case 131:case 130:case 48:case 45:case 42:case 41:case 40:{Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break}case 44:{e=a+(aa<<4)+16|0;d=k[$+484>>2]|0;if((d|0)!=0?(F=j[d+38>>1]|0,F<<16>>16>=1):0){_=(F<<16>>16)+-1|0;Z=k[d+4>>2]|0;$=$q(k[$>>2]|0,e)|0;k[Z+(_*24|0)+12>>2]=$;$=ar($,Z+(_*24|0)+22|0)|0;i[Z+(_*24|0)+21>>0]=$}break}case 58:{_=cr($,157,k[a+(aa<<4)+16>>2]|0,0,0)|0;k[v>>2]=_;k[v+4>>2]=k[a+(aa+-1<<4)+16>>2];k[v+8>>2]=k[a+(aa<<4)+24>>2];br($,v);break}case 59:{_=a+(aa<<4)+16|0;Z=cr($,97,0,0,_)|0;k[u>>2]=Z;_=k[_>>2]|0;k[u+4>>2]=_;k[u+8>>2]=_+(k[a+(aa<<4)+20>>2]|0);br($,u);break}case 61:{d=k[a+(aa<<4)+16>>2]|0;e=k[$+484>>2]|0;if((e|0)!=0?(q=j[e+38>>1]|0,q<<16>>16>=1):0)i[(k[e+4>>2]|0)+(((q<<16>>16)+-1|0)*24|0)+20>>0]=d;break}case 7:{i[$+450>>0]=2;k[$+440>>2]=0;break}case 13:{k[ba>>2]=7;break}case 117:case 115:case 16:case 15:case 14:{k[ba>>2]=l[a+(aa<<4)+14>>0];break}case 18:case 17:{if((Xq($,22,37136,0,0)|0)==0?(y=Tq($)|0,(y|0)!=0):0)Bh(y,3,1,0,0)|0;break}case 38:{_=k[a+(aa+-2<<4)+16>>2]|0;k[ba>>2]=_;k[ba+4>>2]=(k[$+504>>2]|0)-_+(k[$+508>>2]|0);break}case 39:{u=a+(aa<<4)+16|0;q=k[$>>2]|0;d=k[$+484>>2]|0;d:do if(d){t=d+38|0;if((j[t>>1]|0)>=(k[q+96>>2]|0)){k[_>>2]=k[d>>2];yh($,36528,_);break}p=$q(q,u)|0;if(p){n=j[t>>1]|0;c=n<<16>>16;e:do if(n<<16>>16>0){o=i[9328+(l[p>>0]|0)>>0]|0;g=k[d+4>>2]|0;h=p+1|0;e=0;while(1){f=k[g+(e*24|0)>>2]|0;if(o<<24>>24==(i[9328+(l[f>>0]|0)>>0]|0)?(id(h,f+1|0)|0)==0:0)break;e=e+1|0;if((e|0)>=(c|0))break e}k[_>>2]=p;yh($,36552,_);rg(q,p);break d}else g=k[d+4>>2]|0;while(0);h=d+4|0;do if(!(c&7)){g=wo(q,g,(c*24|0)+192|0,0)|0;if(!g){rg(q,p);break d}else{k[h>>2]=g;n=j[t>>1]|0;break}}while(0);_=n<<16>>16;Z=g+(_*24|0)|0;k[Z+0>>2]=0;k[Z+4>>2]=0;k[Z+8>>2]=0;k[Z+12>>2]=0;k[Z+16>>2]=0;k[Z+20>>2]=0;k[Z>>2]=p;i[g+(_*24|0)+21>>0]=65;i[g+(_*24|0)+22>>0]=1;j[t>>1]=(j[t>>1]|0)+1<<16>>16}}while(0);Y=u;Z=k[Y+4>>2]|0;_=ba;k[_>>2]=k[Y>>2];k[_+4>>2]=Z;k[$+324>>2]=0;break}case 47:{$=k[a+(aa+-5<<4)+16>>2]|0;k[ba>>2]=$;k[ba+4>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0)-$;break}case 49:{$=k[a+(aa+-1<<4)+16>>2]|0;k[ba>>2]=$;k[ba+4>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0)-$;break}case 92:case 54:{Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=$+320|0;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break}case 57:case 55:{br($,a+(aa<<4)+16|0);break}case 64:{fr($,k[a+(aa+-1<<4)+16>>2]|0);break}case 65:{gr($,0,a+(aa+-2<<4)+16|0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0);break}case 66:{d=k[a+(aa<<4)+16>>2]|0;e=k[$+484>>2]|0;if((e|0)!=0?(p=k[e+16>>2]|0,(p|0)!=0):0)i[p+24>>0]=d;break}case 67:{g=k[$+484>>2]|0;if((g|0)!=0?(A=(j[g+38>>1]|0)+-1|0,h=k[$>>2]|0,f=$q(h,a+(aa<<4)+16|0)|0,(f|0)!=0):0){if(!(hr($,f)|0)){rg(h,f);break a}n=g+4|0;rg(h,k[(k[n>>2]|0)+(A*24|0)+16>>2]|0);k[(k[n>>2]|0)+(A*24|0)+16>>2]=f;e=k[g+8>>2]|0;if(e)do{if((j[k[e+4>>2]>>1]|0)==(A|0))k[k[e+32>>2]>>2]=k[(k[n>>2]|0)+(A*24|0)+16>>2];e=k[e+20>>2]|0}while((e|0)!=0)}break}case 56:{br($,a+(aa+-1<<4)+16|0);break}case 226:{e=aa+-1|0;d=a+(e<<4)+16|0;h=a+(aa<<4)+16|0;g=ur(k[$>>2]|0,0,d,h)|0;n=aa+-3|0;f=cr($,75,k[a+(n<<4)+16>>2]|0,0,0)|0;k[ba>>2]=f;if(!f){Io(k[$>>2]|0,g);g=0}else{g=pr($,0,g,0,0,0,0,0,0,0)|0;k[f+20>>2]=g;g=k[ba>>2]|0;_=g+4|0;k[_>>2]=k[_>>2]|2099200;Dr($,g)}if(k[a+(aa+-2<<4)+16>>2]|0){$=cr($,19,g,0,0)|0;k[ba>>2]=$}k[ba+4>>2]=k[a+(n<<4)+20>>2];c=k[h>>2]|0;if(!c)c=(k[d>>2]|0)+(k[a+(e<<4)+20>>2]|0)|0;else c=c+(k[a+(aa<<4)+20>>2]|0)|0;k[ba+8>>2]=c;break}case 225:{e=aa+-4|0;c=cr($,75,k[a+(e<<4)+16>>2]|0,0,0)|0;k[ba>>2]=c;if(!c){Rk(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,1);c=0}else{k[c+20>>2]=k[a+(aa+-1<<4)+16>>2];c=k[ba>>2]|0;_=c+4|0;k[_>>2]=k[_>>2]|2099200;Dr($,c)}if(k[a+(aa+-3<<4)+16>>2]|0){$=cr($,19,c,0,0)|0;k[ba>>2]=$}k[ba+4>>2]=k[a+(e<<4)+20>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 227:{c=cr($,20,0,0,0)|0;k[ba>>2]=c;if(!c)Rk(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,1);else{k[c+20>>2]=k[a+(aa+-1<<4)+16>>2];_=c+4|0;k[_>>2]=k[_>>2]|2099200;Dr($,c)}k[ba+4>>2]=k[a+(aa+-3<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 228:{d=cr($,136,k[a+(aa+-3<<4)+16>>2]|0,0,0)|0;k[ba>>2]=d;if(!d){Sk(k[$>>2]|0,k[a+(aa+-2<<4)+16>>2]|0);Lk(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0)}else{e=k[a+(aa+-1<<4)+16>>2]|0;c=k[a+(aa+-2<<4)+16>>2]|0;if(e)c=qr($,c,e)|0;k[d+20>>2]=c;Dr($,k[ba>>2]|0)}k[ba+4>>2]=k[a+(aa+-4<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 291:case 240:{k[ba>>2]=2;break}case 241:{k[ba>>2]=0;break}case 239:{er($,a+(aa+-7<<4)+16|0,a+(aa+-6<<4)+16|0,ur(k[$>>2]|0,0,a+(aa+-4<<4)+16|0,0)|0,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa+-10<<4)+16>>2]|0,a+(aa+-11<<4)+16|0,k[a+(aa<<4)+16>>2]|0,0,k[a+(aa+-8<<4)+16>>2]|0)|0;break}case 229:{$=qr($,qr($,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa+-2<<4)+16>>2]|0)|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 230:{$=qr($,qr($,0,k[a+(aa+-2<<4)+16>>2]|0)|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 237:{$=qr($,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 238:{$=qr($,0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 245:{c=qr($,0,Ar($,0,a+(aa+-1<<4)+16|0,1)|0)|0;k[ba>>2]=c;rr($,c,a+(aa+-2<<4)+16|0,1);if(c){if((k[c>>2]|0)>(k[(k[$>>2]|0)+96>>2]|0)){k[_>>2]=20632;yh($,34544,_)}i[(k[c+4>>2]|0)+(((k[c>>2]|0)+-1|0)*20|0)+12>>0]=k[a+(aa<<4)+16>>2]}break}case 244:{c=Ar($,0,a+(aa+-1<<4)+16|0,1)|0;c=qr($,k[a+(aa+-4<<4)+16>>2]|0,c)|0;k[ba>>2]=c;rr($,c,a+(aa+-2<<4)+16|0,1);if(c){if((k[c>>2]|0)>(k[(k[$>>2]|0)+96>>2]|0)){k[_>>2]=20632;yh($,34544,_)}i[(k[c+4>>2]|0)+(((k[c>>2]|0)+-1|0)*20|0)+12>>0]=k[a+(aa<<4)+16>>2]}break}case 248:{q=k[a+(aa<<4)+16>>2]|0;n=k[a+(aa+-1<<4)+16>>2]|0;p=k[$>>2]|0;do if((i[p+65>>0]|0)==0?(Ln($)|0)==0:0){h=q+12|0;d=gq(p,k[q+16>>2]|0,k[h>>2]|0)|0;if(!d){if(!n){k[_>>2]=q;k[_+4>>2]=0;yh($,33056,_)}else Er($,k[h>>2]|0);i[$+17>>0]=1;break}if(i[d+51>>0]&3){k[_>>2]=0;yh($,33080,_);break}n=k[d+24>>2]|0;f:do if(n){h=k[p+20>>2]|0;if((h|0)>0){g=k[p+16>>2]|0;o=0;while(1){f=o+1|0;if((k[g+(o<<4)+12>>2]|0)==(n|0)){f=o;break f}if((f|0)<(h|0))o=f;else break}}else f=0}else f=-1e6;while(0);n=k[d+12>>2]|0;h=p+16|0;g=k[(k[h>>2]|0)+(f<<4)>>2]|0;e=(f|0)==1?13184:13208;if(((Xq($,9,e,0,g)|0)==0?(Xq($,(f|0)==0?10:12,k[d>>2]|0,k[n>>2]|0,g)|0)==0:0)?(G=Tq($)|0,(G|0)!=0):0){Z=k[$+408>>2]|0;Z=(Z|0)==0?$:Z;Fr($,f);Y=Z+328|0;k[Y>>2]=k[Y>>2]|1<<f;Z=Z+20|0;i[Z>>0]=l[Z>>0]|1;Z=k[d>>2]|0;k[_>>2]=k[(k[h>>2]|0)+(f<<4)>>2];k[_+4>>2]=e;k[_+8>>2]=Z;Gr($,33160,_);Hr($,f,28536,k[d>>2]|0);Ir($,f);Jr($,k[d+40>>2]|0,f);$=k[d>>2]|0;Ch(G,Bh(G,125,f,0,0)|0,$,0)}}while(0);Io(p,q);break}case 246:{k[ba>>2]=0;k[ba+4>>2]=0;break}case 250:case 249:{c=Tq($)|0;if(c){Bh(c,13,0,0,0)|0;$=c+96|0;k[$>>2]=k[$>>2]|1}break}case 251:{Kr($,a+(aa+-1<<4)+16|0,a+(aa<<4)+16|0,0,0);break}case 252:{Kr($,a+(aa+-3<<4)+16|0,a+(aa+-2<<4)+16|0,a+(aa<<4)+16|0,0);break}case 253:{Kr($,a+(aa+-4<<4)+16|0,a+(aa+-3<<4)+16|0,a+(aa+-1<<4)+16|0,0);break}case 254:{Kr($,a+(aa+-3<<4)+16|0,a+(aa+-2<<4)+16|0,a+(aa<<4)+16|0,1);break}case 255:{Kr($,a+(aa+-4<<4)+16|0,a+(aa+-3<<4)+16|0,a+(aa+-1<<4)+16|0,1);break}case 264:{c=k[a+(aa+-3<<4)+16>>2]|0;e=(k[a+(aa<<4)+16>>2]|0)-c+(k[a+(aa<<4)+20>>2]|0)|0;d=k[a+(aa+-1<<4)+16>>2]|0;Z=$+488|0;w=k[Z>>2]|0;x=k[$>>2]|0;k[Z>>2]=0;g:do if((k[$+64>>2]|0)==0&(w|0)!=0){v=k[w>>2]|0;f=w+20|0;q=k[f>>2]|0;h:do if(q){p=k[x+20>>2]|0;if((p|0)>0){n=k[x+16>>2]|0;g=0;while(1){h=g+1|0;if((k[n+(g<<4)+12>>2]|0)==(q|0))break h;if((h|0)<(p|0))g=h;else{g=h;break}}}else g=0}else g=-1e6;while(0);k[w+28>>2]=d;u=(d|0)==0;if(!u){n=d;do{k[n+4>>2]=w;n=k[n+32>>2]|0}while((n|0)!=0)}k[X>>2]=v;if(!v)n=0;else{n=v;while(1)if(!(i[n>>0]|0))break;else n=n+1|0;n=n-v&1073741823}k[X+4>>2]=n;k[Y>>2]=$;t=x+16|0;q=k[t>>2]|0;k[Y+12>>2]=k[q+(g<<4)>>2];k[Y+4>>2]=k[q+(g<<4)+12>>2];k[Y+16>>2]=10720;k[Y+20>>2]=X;q=(g|0)==1;k[Y+8>>2]=q&1;if(!u)do{if(kr(Y,k[d+8>>2]|0)|0){d=0;e=w;break g}if(Lr(Y,k[d+20>>2]|0)|0){d=0;e=w;break g}if(Mr(Y,k[d+24>>2]|0)|0){d=0;e=w;break g}d=k[d+32>>2]|0}while((d|0)!=0);if(!(Lr(Y,k[w+12>>2]|0)|0)){n=x+145|0;if(!(i[n>>0]|0)){h=Tq($)|0;if(!h){d=0;e=w;break}Z=k[$+408>>2]|0;Fr($,g);Z=((Z|0)==0?$:Z)+328|0;k[Z>>2]=k[Z>>2]|1<<g;if((c|0)!=0?(o=ow(e|0,0,1,0)|0,o=rh(x,o,L)|0,(o|0)!=0):0){pw(o|0,c|0,e|0)|0;i[o+e>>0]=0}else o=0;Z=k[w+4>>2]|0;k[_>>2]=k[(k[t>>2]|0)+(g<<4)>>2];k[_+4>>2]=q?13184:13208;k[_+8>>2]=v;k[_+12>>2]=Z;k[_+16>>2]=o;Gr($,30008,_);rg(x,o);Ir($,g);k[_>>2]=v;Nr(h,g,zh(x,30072,_)|0);if(!(i[n>>0]|0)){d=0;e=w;break}}e=Nk((k[(k[t>>2]|0)+(g<<4)+12>>2]|0)+40|0,v,w)|0;if(e){i[x+65>>0]=1;d=0;break}d=k[f>>2]|0;if((d|0)==(k[w+24>>2]|0)){d=gn(d+8|0,k[w+4>>2]|0,_)|0;if(!d)d=0;else d=k[d+8>>2]|0;d=d+64|0;k[w+32>>2]=k[d>>2];k[d>>2]=w;d=0}else d=0}else{d=0;e=w}}else e=w;while(0);og(x,e);Kk(x,d);break}case 265:{A=a+(aa+-7<<4)+16|0;z=aa+-6|0;B=a+(z<<4)+16|0;h=k[a+(aa+-5<<4)+16>>2]|0;C=aa+-4|0;y=k[a+(C<<4)+16>>2]|0;C=k[a+(C<<4)+20>>2]|0;D=k[a+(aa+-2<<4)+16>>2]|0;E=k[a+(aa<<4)+16>>2]|0;d=k[a+(aa+-8<<4)+16>>2]|0;F=k[$>>2]|0;w=(k[a+(aa+-10<<4)+16>>2]|0)!=0;do if(w)if(!(k[a+(z<<4)+20>>2]|0)){k[Y>>2]=A;if(!D){n=0;o=0;break}else{q=1;Z=483;break}}else{yh($,29664,_);n=0;o=0;break}else{q=jr($,A,B,Y)|0;if((q|0)>-1&(D|0)!=0)Z=483;else{n=0;o=0}}while(0);do if((Z|0)==483){c=F+65|0;if(!(i[c>>0]|0)){u=F+145|0;if((i[u>>0]|0)!=0&(q|0)!=1){Z=D+12|0;rg(F,k[Z>>2]|0);k[Z>>2]=0}t=Or($,D)|0;if((i[u>>0]|0)==0?((t|0)!=0?(k[a+(z<<4)+20>>2]|0)==0:0):0)q=(k[t+68>>2]|0)==(k[(k[F+16>>2]|0)+28>>2]|0)?1:q;if((i[c>>0]|0)==0?(O=k[Y>>2]|0,Z=k[$>>2]|0,k[X>>2]=$,Z=k[Z+16>>2]|0,k[X+12>>2]=k[Z+(q<<4)>>2],k[X+4>>2]=k[Z+(q<<4)+12>>2],k[X+16>>2]=10720,k[X+20>>2]=O,k[X+8>>2]=(q|0)==1&1,(Pr(X,D)|0)==0):0){u=Or($,D)|0;if(!u){if((i[F+144>>0]|0)!=1){n=0;o=0;break}i[F+146>>0]=1;n=0;o=0;break}if(i[u+44>>0]&16){yh($,29712,_);n=0;o=0;break}o=$q(F,O)|0;if(o)if(!(Qr($,o)|0)){x=F+16|0;Z=gn((k[(k[x>>2]|0)+(q<<4)+12>>2]|0)+40|0,o,P)|0;if((Z|0)!=0?(k[Z+8>>2]|0)!=0:0)if(!d){k[_>>2]=O;yh($,29760,_);n=0;break}else{Fr($,q);n=0;break}v=k[u>>2]|0;if(!(Kc(v,25568,7)|0)){yh($,29792,_);n=$+64|0;k[n>>2]=(k[n>>2]|0)+1;n=0;break}p=k[u+12>>2]|0;if((p|0)!=0&(h|0)!=49){k[_>>2]=(h|0)==35?29872:29880;k[_+4>>2]=D;k[_+8>>2]=0;yh($,29832,_);n=0;break}g=(h|0)==49;if((p|0)==0&g){k[_>>2]=D;k[_+4>>2]=0;yh($,29888,_);n=0;break}f=u+68|0;u=k[f>>2]|0;i:do if(u){t=k[F+20>>2]|0;if((t|0)>0){d=k[x>>2]|0;e=0;while(1){c=e+1|0;if((k[d+(e<<4)+12>>2]|0)==(u|0)){c=e;break i}if((c|0)<(t|0))e=c;else break}}else c=0}else c=-1e6;while(0);u=k[x>>2]|0;d=k[u+(c<<4)>>2]|0;if(w)t=k[u+16>>2]|0;else t=d;u=(c|0)==1;if((Xq($,u|w?5:7,o,v,t)|0)==0?(Xq($,18,u?13184:13208,0,d)|0)==0:0){n=rh(F,36,0)|0;if(!n){n=0;break}v=n+0|0;d=v+36|0;do{i[v>>0]=0;v=v+1|0}while((v|0)<(d|0));k[n>>2]=o;o=ph(F,k[D+16>>2]|0)|0;k[n+4>>2]=o;k[n+20>>2]=k[(k[x>>2]|0)+(q<<4)+12>>2];k[n+24>>2]=k[f>>2];i[n+8>>0]=y;i[n+9>>0]=g|(h|0)==35?1:2;o=Rr(F,E,1,0)|0;k[n+12>>2]=o;o=Sr(F,C)|0;k[n+16>>2]=o;k[$+488>>2]=n;o=0}else n=0}else n=0;else{n=0;o=0}}else{n=0;o=0}}else{n=0;o=0}}while(0);rg(F,o);Io(F,D);Mk(F,C);Lk(F,E);if(!(k[$+488>>2]|0))og(F,n);if(!(k[a+(z<<4)+20>>2]|0)){Z=A;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break a}else{Z=B;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break a}}case 269:case 266:{k[ba>>2]=35;break}case 267:{k[ba>>2]=31;break}case 268:{k[ba>>2]=49;break}case 284:{e=k[$>>2]|0;d=k[a+(aa+-1<<4)+16>>2]|0;c=k[a+(aa<<4)+16>>2]|0;f=i[a+(aa+-5<<4)+16>>0]|0;g=Tr(e,110,a+(aa+-4<<4)+16|0)|0;if(g){$=Ur(e,d,1)|0;k[g+24>>2]=$;$=Rr(e,c,1,0)|0;k[g+20>>2]=$;i[g+1>>0]=f}Sk(e,d);Lk(e,c);k[ba>>2]=g;break}case 271:case 270:{k[ba>>2]=l[a+(aa<<4)+14>>0];k[ba+4>>2]=0;break}case 272:{k[ba>>2]=110;k[ba+4>>2]=k[a+(aa<<4)+16>>2];break}case 296:case 275:{k[ba>>2]=0;break}case 297:case 276:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 277:{_=a+(aa+-1<<4)+16|0;$=a+(aa+-2<<4)+16|0;k[(k[(k[$>>2]|0)+36>>2]|0)+32>>2]=k[_>>2];k[(k[$>>2]|0)+36>>2]=k[_>>2];k[ba>>2]=k[$>>2];break}case 278:{$=a+(aa+-1<<4)+16|0;_=k[$>>2]|0;k[_+36>>2]=_;k[ba>>2]=k[$>>2];break}case 282:{yh($,20736,_);break}case 280:{X=a+(aa<<4)+16|0;Y=k[X+4>>2]|0;Z=ba;k[Z>>2]=k[X>>2];k[Z+4>>2]=Y;yh($,20640,_);break}case 283:{yh($,20824,_);break}case 286:{c=k[$>>2]|0;d=k[a+(aa<<4)+16>>2]|0;e=Tr(c,109,a+(aa+-2<<4)+16|0)|0;if(e){$=Rr(c,d,1,0)|0;k[e+20>>2]=$;i[e+1>>0]=10}Lk(c,d);k[ba>>2]=e;break}case 287:{e=k[$>>2]|0;g=k[a+(aa<<4)+16>>2]|0;c=rh(e,40,0)|0;if(!c){Rk(e,g,1);c=0}else{v=c+0|0;d=v+40|0;do{i[v>>0]=0;v=v+1|0}while((v|0)<(d|0));i[c>>0]=119;k[c+8>>2]=g;i[c+1>>0]=10}k[ba>>2]=c;break}case 285:{g=k[$>>2]|0;f=k[a+(aa+-1<<4)+16>>2]|0;e=k[a+(aa<<4)+16>>2]|0;d=i[a+(aa+-4<<4)+16>>0]|0;c=Tr(g,108,a+(aa+-2<<4)+16|0)|0;if(!c)Mk(g,f);else{$=lr(g,e,1)|0;k[c+8>>2]=$;k[c+28>>2]=f;i[c+1>>0]=d}Rk(g,e,1);k[ba>>2]=c;break}case 288:{c=cr($,57,0,0,0)|0;k[ba>>2]=c;if(c)i[c+1>>0]=4;k[ba+4>>2]=k[a+(aa+-3<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 289:{c=cr($,57,0,0,a+(aa+-1<<4)+16|0)|0;k[ba>>2]=c;if(c)i[c+1>>0]=k[a+(aa+-3<<4)+16>>2];k[ba+4>>2]=k[a+(aa+-5<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 290:{k[ba>>2]=1;break}case 292:{k[ba>>2]=3;break}case 293:{d=k[a+(aa<<4)+16>>2]|0;c=k[a+(aa+-1<<4)+16>>2]|0;t=k[$>>2]|0;do if((i[t+65>>0]|0)==0?(Ln($)|0)==0:0){u=k[d+12>>2]|0;q=k[d+16>>2]|0;p=t+20|0;if((k[p>>2]|0)>0){g=(u|0)==0;f=t+16|0;e=0;n=0;do{h=(e|0)<2^e;o=k[f>>2]|0;if(!(!g?(id(k[o+(h<<4)>>2]|0,u)|0)!=0:0)){o=gn((k[o+(h<<4)+12>>2]|0)+40|0,q,H)|0;if(o){n=k[o+8>>2]|0;if(n)break}else n=0}e=e+1|0}while((e|0)<(k[p>>2]|0));if(n){Vr($,n);break}}if(!c){k[_>>2]=d;k[_+4>>2]=0;yh($,29600,_)}else Er($,u);i[$+17>>0]=1}while(0);Io(t,d);break}case 294:{_=k[a+(aa+-3<<4)+16>>2]|0;Wr($,24,29360,_,_,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0);break}case 303:{Yr($,a+(aa+-1<<4)+16|0,a+(aa<<4)+16|0);break}case 304:{w=k[a+(aa+-3<<4)+16>>2]|0;u=a+(aa<<4)+16|0;v=k[$>>2]|0;d=v+24|0;e=k[d>>2]|0;do if((i[v+65>>0]|0)==0?(U=Zr($,0,w+8|0)|0,(U|0)!=0):0){o=k[$>>2]|0;x=U+68|0;q=k[x>>2]|0;j:do if(q){p=k[o+20>>2]|0;if((p|0)>0){o=k[o+16>>2]|0;h=0;while(1){n=h+1|0;if((k[o+(h<<4)+12>>2]|0)==(q|0)){n=h;break j}if((n|0)<(p|0))h=n;else break}}else n=0}else n=-1e6;while(0);c=k[(k[v+16>>2]|0)+(n<<4)>>2]|0;k[d>>2]=k[d>>2]|2097152;g=$q(v,u)|0;if(g){if((di(v,g,c)|0)==0?(gq(v,g,c)|0)==0:0){if(_r($,k[U>>2]|0)|0)break;if(Qr($,g)|0)break;o=k[U>>2]|0;if(k[U+12>>2]|0){k[_>>2]=o;yh($,26088,_);break}if(Xq($,26,c,o,0)|0)break;if(mr($,U)|0)break;if(!(i[U+44>>0]&16))f=0;else{o=k[U+60>>2]|0;k:do if(!o)o=0;else while(1){if((k[o>>2]|0)==(v|0))break k;o=k[o+24>>2]|0;if(!o){o=0;break}}while(0);f=(k[(k[k[o+8>>2]>>2]|0)+76>>2]|0)==0?0:o}o=Tq($)|0;if(!o)break;Z=(f|0)!=0;h=$+408|0;Y=k[h>>2]|0;Y=(Y|0)==0?$:Y;Fr($,n);X=Y+328|0;k[X>>2]=k[X>>2]|1<<n;Y=Y+20|0;i[Y>>0]=l[Y>>0]|Z&1;Ir($,n);if(Z){Y=$+72|0;Z=(k[Y>>2]|0)+1|0;k[Y>>2]=Z;Ch(o,Bh(o,97,0,Z,0)|0,g,0);Ch(o,Bh(o,152,Z,0,0)|0,f,-10);Z=k[h>>2]|0;i[((Z|0)==0?$:Z)+21>>0]=1}u=k[U>>2]|0;t=Sn(u,-1)|0;do if((k[d>>2]&524288|0)!=0?(Q=gn((k[x>>2]|0)+56|0,u,S)|0,(Q|0)!=0):0){o=k[Q+8>>2]|0;if(!o)break;h=o;o=0;do{o=$r(k[$>>2]|0,o,k[k[h>>2]>>2]|0)|0;h=k[h+12>>2]|0}while((h|0)!=0);if(!o)break;k[_>>2]=c;k[_+4>>2]=(n|0)==1?13184:13208;k[_+8>>2]=u;k[_+12>>2]=g;k[_+16>>2]=o;Gr($,26120,_);rg(v,o)}while(0);k[_>>2]=c;k[_+4>>2]=(n|0)==1?13184:13208;k[_+8>>2]=g;k[_+12>>2]=g;k[_+16>>2]=g;k[_+20>>2]=g;k[_+24>>2]=g;k[_+28>>2]=t;k[_+32>>2]=u;Gr($,26192,_);if(di(v,26576,c)|0){Z=k[U>>2]|0;k[_>>2]=c;k[_+4>>2]=g;k[_+8>>2]=Z;Gr($,26592,_)}n=as($,U)|0;if(n){k[_>>2]=g;k[_+4>>2]=g;k[_+8>>2]=n;Gr($,26656,_);rg(v,n)}do if(k[d>>2]&524288){n=gn((k[x>>2]|0)+56|0,k[U>>2]|0,_)|0;if(!n)break;n=k[n+8>>2]|0;if(!n)break;do{h=k[n>>2]|0;if((h|0)!=(U|0))bs($,h,k[h>>2]|0);n=k[n+12>>2]|0}while((n|0)!=0)}while(0);bs($,U,g);break}k[_>>2]=g;yh($,26024,_)}else g=0}else g=0;while(0);Io(v,w);rg(v,g);k[d>>2]=e;break}case 295:{_=k[a+(aa<<4)+16>>2]|0;Wr($,25,29176,_,0,0,_);break}case 300:{Xr($,0,0);break}case 302:{Yr($,0,0);break}case 301:{Xr($,a+(aa+-1<<4)+16|0,a+(aa<<4)+16|0);break}case 305:{v=k[$>>2]|0;if((k[$+64>>2]|0)==0?(I=v+65|0,(i[I>>0]|0)==0):0){e=k[$+484>>2]|0;o=k[e+68>>2]|0;l:do if(o){n=k[v+20>>2]|0;if((n|0)>0){h=k[v+16>>2]|0;f=0;while(1){g=f+1|0;if((k[h+(f<<4)+12>>2]|0)==(o|0)){x=f;break l}if((g|0)<(n|0))f=g;else{x=g;break}}}else x=0}else x=-1e6;while(0);c=k[(k[v+16>>2]|0)+(x<<4)>>2]|0;d=(k[e>>2]|0)+16|0;p=(j[e+38>>1]|0)+-1|0;n=k[e+4>>2]|0;o=k[n+(p*24|0)+4>>2]|0;w=di(v,d,c)|0;if(!(Xq($,26,c,k[w>>2]|0,0)|0)){if(!o)q=0;else q=(i[o>>0]|0)==101?0:o;if(i[n+(p*24|0)+23>>0]&1){yh($,25608,_);break a}if(k[e+8>>2]|0){yh($,25640,_);break a}u=v+24|0;if((k[u>>2]&524288|0)!=0?(k[e+16>>2]|0)!=0&(q|0)!=0:0){yh($,25672,_);break a}t=(q|0)!=0;if(!((i[n+(p*24|0)+20>>0]|0)==0|t)){yh($,25736,_);break a}do if(t){k[K>>2]=0;if(cs(v,q,1,65,K)|0){i[I>>0]=1;break a}o=k[K>>2]|0;if(!o){yh($,25792,_);break a}else{Rh(o);break}}while(0);o=k[a+(aa<<4)+16>>2]|0;n=a+(aa<<4)+20|0;h=k[n>>2]|0;if((o|0)!=0?(R=ow(h|0,0,1,0)|0,R=rh(v,R,L)|0,(R|0)!=0):0){pw(R|0,o|0,h|0)|0;i[R+h>>0]=0;o=(k[n>>2]|0)+-1|0;n=k[u>>2]|0;m:do if((o|0)>0){o=R+o|0;do{Y=i[o>>0]|0;if(Y<<24>>24!=59?(i[10368+(Y&255)>>0]&1)==0:0)break m;i[o>>0]=0;o=o+-1|0}while(o>>>0>R>>>0)}while(0);k[u>>2]=k[u>>2]|2097152;Y=k[e+48>>2]|0;k[_>>2]=c;k[_+4>>2]=(x|0)==1?13184:13208;k[_+8>>2]=Y;k[_+12>>2]=R;k[_+16>>2]=Y+1;k[_+20>>2]=d;Gr($,25840,_);rg(v,R);k[u>>2]=n}o=t?3:2;q=Tq($)|0;if(q){n=$+19|0;g=i[n>>0]|0;do if(g<<24>>24){_=g+-1<<24>>24;i[n>>0]=_;h=k[$+((_&255)<<2)+24>>2]|0;if(!(_<<24>>24)){n=k[$+72>>2]|0;Z=663;break}else{d=g+-2<<24>>24;i[n>>0]=d;d=k[$+((d&255)<<2)+24>>2]|0;break}}else{h=$+72|0;n=(k[h>>2]|0)+1|0;k[h>>2]=n;h=n;Z=663}while(0);if((Z|0)==663){d=n+1|0;k[$+72>>2]=d}Bh(q,51,x,h,2)|0;f=q+96|0;k[f>>2]=k[f>>2]|1<<x;Bh(q,25,o,d,0)|0;f=Bh(q,83,d,0,h)|0;e=q+4|0;g=k[e>>2]|0;n=q+32|0;if(g)i[g+(((k[n>>2]|0)+-1|0)*20|0)+3>>0]=-112;Bh(q,52,x,2,d)|0;n=k[n>>2]|0;if(n>>>0>f>>>0)k[(k[e>>2]|0)+(f*20|0)+8>>2]=n;k[(k[q+24>>2]|0)+88>>2]=n+-1;ds($,h);ds($,d)}bs($,w,k[w>>2]|0)}}break}case 306:{t=k[$>>2]|0;i[t+250>>0]=0;c=k[a+(aa<<4)+16>>2]|0;u=t+65|0;do if((i[u>>0]|0)==0?(N=Zr($,0,c+8|0)|0,(N|0)!=0):0){if(i[N+44>>0]&16){yh($,25400,_);break}if(k[N+12>>2]|0){yh($,25440,_);break}if(!(_r($,k[N>>2]|0)|0)){n=k[N+68>>2]|0;n:do if(n){h=k[t+20>>2]|0;if((h|0)>0){g=k[t+16>>2]|0;o=0;while(1){f=o+1|0;if((k[g+(o<<4)+12>>2]|0)==(n|0)){f=o;break n}if((f|0)<(h|0))o=f;else break}}else f=0}else f=-1e6;while(0);q=rh(t,76,0)|0;if(q){v=q+0|0;d=v+76|0;do{i[v>>0]=0;v=v+1|0}while((v|0)<(d|0));k[$+484>>2]=q;h=q+40|0;j[h>>1]=1;o=j[N+38>>1]|0;g=q+38|0;j[g>>1]=o;o=((((o<<16>>16)+-1|0)/8|0)*192|0)+192|0;n=rh(t,o,0)|0;if(n)kw(n|0,0,o|0)|0;o=q+4|0;k[o>>2]=n;k[_>>2]=k[N>>2];_=zh(t,25472,_)|0;k[q>>2]=_;n=k[o>>2]|0;if((n|0)==0|(_|0)==0){i[u>>0]=1;break}pw(n|0,k[N+4>>2]|0,(j[g>>1]|0)*24|0)|0;if((j[g>>1]|0)>0){n=0;do{_=k[o>>2]|0;Z=_+(n*24|0)|0;Y=ph(t,k[Z>>2]|0)|0;k[Z>>2]=Y;_=_+(n*24|0)+4|0;n=n+1|0;k[_+0>>2]=0;k[_+4>>2]=0;k[_+8>>2]=0;k[_+12>>2]=0}while((n|0)<(j[g>>1]|0))}k[q+68>>2]=k[(k[t+16>>2]|0)+(f<<4)+12>>2];k[q+48>>2]=k[N+48>>2];j[h>>1]=1;_=k[$+408>>2]|0;Fr($,f);_=((_|0)==0?$:_)+328|0;k[_>>2]=k[_>>2]|1<<f;if(Tq($)|0)Ir($,f)}}}while(0);Io(t,c);break}case 309:{es($,0);break}case 310:{es($,a+(aa<<4)+16|0);break}case 311:{d=a+(aa<<4)+16|0;Zq($,a+(aa+-3<<4)+16|0,a+(aa+-2<<4)+16|0,0,0,1,k[a+(aa+-4<<4)+16>>2]|0);o=k[$+484>>2]|0;if(o){c=k[$>>2]|0;n=k[o+68>>2]|0;o:do if(n){h=k[c+20>>2]|0;if((h|0)>0){f=k[c+16>>2]|0;e=0;while(1){g=e+1|0;if((k[f+(e<<4)+12>>2]|0)==(n|0)){g=e;break o}if((g|0)<(h|0))e=g;else break}}else g=0}else g=-1e6;while(0);e=o+44|0;i[e>>0]=l[e>>0]|16;k[o+52>>2]=0;fs(c,o,$q(c,d)|0);fs(c,o,0);fs(c,o,ph(c,k[o>>2]|0)|0);k[$+500>>2]=(k[d>>2]|0)+(k[a+(aa<<4)+20>>2]|0)-(k[$+496>>2]|0);e=k[o+56>>2]|0;if(e)Xq($,29,k[o>>2]|0,k[e>>2]|0,k[(k[(k[$>>2]|0)+16>>2]|0)+(g<<4)>>2]|0)|0}break}case 322:{k[ba>>2]=0;break}case 324:case 323:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 325:{$=hs($,0,a+(aa+-5<<4)+16|0,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 326:{$=hs($,k[a+(aa+-7<<4)+16>>2]|0,a+(aa+-5<<4)+16|0,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 314:{gs($);k[$+512>>2]=0;k[$+516>>2]=0;break}case 318:case 317:case 316:{e=$+512|0;d=k[e>>2]|0;c=k[a+(aa<<4)+16>>2]|0;if(!d){k[e>>2]=c;c=k[a+(aa<<4)+20>>2]|0}else c=c+(k[a+(aa<<4)+20>>2]|0)-d|0;k[$+516>>2]=c;break}case 77:{k[ba>>2]=8;break}case 78:{k[ba>>2]=9;break}case 79:{k[ba>>2]=6;break}case 80:{k[ba>>2]=0;break}case 103:case 100:case 98:case 82:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 86:{k[ba+4>>2]=0;k[ba>>2]=0;break}case 87:{Z=a+(aa+-1<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;break}case 90:{k[$+324>>2]=0;break}case 99:{k[ba>>2]=10;break}case 101:{i[ba>>0]=10;break}case 102:{i[ba>>0]=k[a+(aa<<4)+16>>2];break}case 104:{k[ba>>2]=4;break}case 105:{k[ba>>2]=5;break}case 106:{ir($,k[a+(aa<<4)+16>>2]|0,0,k[a+(aa+-1<<4)+16>>2]|0);break}case 93:{dr($,k[a+(aa+-3<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0,k[a+(aa+-2<<4)+16>>2]|0,0);break}case 94:{er($,0,0,0,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0,0,0,0,0)|0;break}case 95:{fr($,k[a+(aa+-2<<4)+16>>2]|0);break}case 96:{gr($,k[a+(aa+-6<<4)+16>>2]|0,a+(aa+-3<<4)+16|0,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0);d=k[a+(aa<<4)+16>>2]|0;e=k[$+484>>2]|0;if((e|0)!=0?(g=k[e+16>>2]|0,(g|0)!=0):0)i[g+24>>0]=d;break}case 109:{c=aa+-7|0;h=a+(aa+-3<<4)+16|0;g=a+(aa+-2<<4)+16|0;u=k[a+(aa<<4)+16>>2]|0;o=k[a+(aa+-6<<4)+16>>2]|0;n=k[a+(aa+-4<<4)+16>>2]|0;k[E>>2]=0;t=k[$>>2]|0;if((k[$+440>>2]|0)>0){yh($,35440,_);Rk(t,u,1);break a}Zq($,h,g,o,1,0,n);e=k[$+484>>2]|0;if((e|0)!=0?(k[$+64>>2]|0)==0:0){jr($,h,g,E)|0;o=k[e+68>>2]|0;p:do if(o){h=k[t+20>>2]|0;if((h|0)>0){g=k[t+16>>2]|0;f=0;while(1){n=f+1|0;if((k[g+(f<<4)+12>>2]|0)==(o|0)){n=f;break p}if((n|0)<(h|0))f=n;else break}}else n=0}else n=-1e6;while(0);_=k[E>>2]|0;Z=k[$>>2]|0;k[X>>2]=$;Z=k[Z+16>>2]|0;k[X+12>>2]=k[Z+(n<<4)>>2];k[X+4>>2]=k[Z+(n<<4)+12>>2];k[X+16>>2]=35480;k[X+20>>2]=_;k[X+8>>2]=(n|0)==1&1;if(kr(X,u)|0){Rk(t,u,1);break a}_=lr(t,u,1)|0;k[e+12>>2]=_;Rk(t,u,1);if(i[t+65>>0]|0)break a;if(!(i[t+145>>0]|0))mr($,e)|0;g=$+504|0;f=k[g>>2]|0;g=k[g+4>>2]|0;_=Y;k[_>>2]=f;k[_+4>>2]=g;_=i[f>>0]|0;if(!(_<<24>>24==59|_<<24>>24==0)){f=f+g|0;k[Y>>2]=f}h=Y+4|0;k[h>>2]=0;n=k[a+(c<<4)+16>>2]|0;g=f-n|0;do{_=g;g=g+-1|0;e=n+g|0;if((_|0)<=0)break}while((i[10368+(l[e>>0]|0)>>0]&1)!=0);k[Y>>2]=e;k[h>>2]=1;_q($,0,Y,0,0);break a}Rk(t,u,1);break}case 110:{ir($,k[a+(aa<<4)+16>>2]|0,1,k[a+(aa+-1<<4)+16>>2]|0);break}case 111:{k[w+0>>2]=k[5124];k[w+4>>2]=k[5125];k[w+8>>2]=k[5126];k[w+12>>2]=k[5127];k[w+16>>2]=k[5128];_=a+(aa<<4)+16|0;nr($,k[_>>2]|0,w)|0;Rk(k[$>>2]|0,k[_>>2]|0,1);break}case 112:{o=k[a+(aa<<4)+16>>2]|0;do if(o){k[o+68>>2]=k[a+(aa+-1<<4)+16>>2];e=k[o+52>>2]|0;if(e){f=128;g=1;h=o;n=0;while(1){k[h+56>>2]=n;Y=h+6|0;Z=m[Y>>1]|64;j[Y>>1]=Z;f=Z&f;if(!e)break;Z=e;e=k[e+52>>2]|0;g=g+1|0;n=h;h=Z}if(f){$=o+6|0;j[$>>1]=m[$>>1]|256;break}Z=k[(k[$>>2]|0)+104>>2]|0;if((Z|0)>0&(g|0)>(Z|0))yh($,20520,_)}}else Vn(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0);while(0);k[ba>>2]=o;break}case 119:case 113:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 114:{c=k[a+(aa<<4)+16>>2]|0;do if(c){if(k[c+52>>2]|0){k[e+4>>2]=0;c=pr($,0,or($,0,0,0,e,c,0,0)|0,0,0,0,0,0,0,0)|0;if(!c){Z=192;break}}_=k[a+(aa+-1<<4)+16>>2]|0;i[c+4>>0]=_;k[c+52>>2]=k[a+(aa+-2<<4)+16>>2];if((_|0)!=116)i[$+22>>0]=1}else Z=192;while(0);if((Z|0)==192){Rk(k[$>>2]|0,k[a+(aa+-2<<4)+16>>2]|0,1);c=0}k[ba>>2]=c;break}case 116:{k[ba>>2]=116;break}case 169:{c=k[a+(aa+-5<<4)+16>>2]|0;if(c){_=$+532|0;k[c+4>>2]=k[_>>2];k[_>>2]=c;i[$+449>>0]=1}_=a+(aa+-2<<4)+16|0;tr($,k[_>>2]|0,a+(aa+-1<<4)+16|0);wr($,k[_>>2]|0,k[a+(aa<<4)+16>>2]|0);break}case 172:{e=k[a+(aa+-7<<4)+16>>2]|0;if(e){Z=$+532|0;k[e+4>>2]=k[Z>>2];k[Z>>2]=e;i[$+449>>0]=1}f=a+(aa+-4<<4)+16|0;tr($,k[f>>2]|0,a+(aa+-3<<4)+16|0);g=a+(aa+-1<<4)+16|0;e=k[g>>2]|0;if(e){if((k[e>>2]|0)>(k[(k[$>>2]|0)+96>>2]|0)){k[_>>2]=20560;yh($,34544,_);e=k[g>>2]|0}}else e=0;xr($,k[f>>2]|0,e,k[a+(aa<<4)+16>>2]|0,l[a+(aa+-5<<4)+16>>0]|0);break}case 176:{c=k[a+(aa+-6<<4)+16>>2]|0;if(c){_=$+532|0;k[c+4>>2]=k[_>>2];k[_>>2]=c;i[$+449>>0]=1}yr($,k[a+(aa+-3<<4)+16>>2]|0,0,k[a+(aa+-2<<4)+16>>2]|0,l[a+(aa+-5<<4)+16>>0]|0);break}case 173:{_=qr($,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=_;rr($,_,a+(aa+-2<<4)+16|0,1);break}case 174:{_=qr($,0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=_;rr($,_,a+(aa+-2<<4)+16|0,1);break}case 175:{c=k[a+(aa+-5<<4)+16>>2]|0;if(c){_=$+532|0;k[c+4>>2]=k[_>>2];k[_>>2]=c;i[$+449>>0]=1}yr($,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,l[a+(aa+-4<<4)+16>>0]|0);break}case 181:{$=zr(k[$>>2]|0,k[a+(aa+-2<<4)+16>>2]|0,a+(aa<<4)+16|0)|0;k[ba>>2]=$;break}case 182:{$=zr(k[$>>2]|0,0,a+(aa<<4)+16|0)|0;k[ba>>2]=$;break}case 183:{$=a+(aa<<4)+16|0;k[ba+0>>2]=k[$+0>>2];k[ba+4>>2]=k[$+4>>2];k[ba+8>>2]=k[$+8>>2];break}case 177:{i[ba>>0]=i[a+(aa<<4)+16>>0]|0;break}case 178:{i[ba>>0]=5;break}case 184:{k[ba>>2]=k[a+(aa+-1<<4)+16>>2];k[ba+4>>2]=k[a+(aa+-2<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 191:case 190:case 185:{_=a+(aa<<4)+16|0;$=cr($,l[a+(aa<<4)+14>>0]|0,0,0,_)|0;k[ba>>2]=$;$=k[_>>2]|0;k[ba+4>>2]=$;k[ba+8>>2]=$+(k[a+(aa<<4)+20>>2]|0);break}case 187:case 186:{_=a+(aa<<4)+16|0;$=cr($,27,0,0,_)|0;k[ba>>2]=$;$=k[_>>2]|0;k[ba+4>>2]=$;k[ba+8>>2]=$+(k[a+(aa<<4)+20>>2]|0);break}case 188:{Z=a+(aa+-2<<4)+16|0;_=a+(aa<<4)+16|0;$=cr($,122,cr($,27,0,0,Z)|0,cr($,27,0,0,_)|0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[Z>>2];k[ba+8>>2]=(k[_>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 189:{Z=a+(aa+-4<<4)+16|0;_=a+(aa<<4)+16|0;$=cr($,122,cr($,27,0,0,Z)|0,cr($,122,cr($,27,0,0,a+(aa+-2<<4)+16|0)|0,cr($,27,0,0,_)|0,0)|0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[Z>>2];k[ba+8>>2]=(k[_>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 192:{u=a+(aa<<4)+16|0;t=a+(aa<<4)+20|0;do if(((k[t>>2]|0)>>>0>1?(z=k[u>>2]|0,(i[z>>0]|0)==35):0)?((l[z+1>>0]|0)+-48|0)>>>0<10:0){if(!(i[$+18>>0]|0)){k[_>>2]=u;yh($,20432,_);k[ba>>2]=0;break}h=cr($,159,0,0,u)|0;k[ba>>2]=h;if(h)In((k[u>>2]|0)+1|0,h+28|0)|0}else Z=298;while(0);q:do if((Z|0)==298?(M=cr($,135,0,0,u)|0,k[ba>>2]=M,T=k[u>>2]|0,k[ba+4>>2]=T,k[ba+8>>2]=T+(k[t>>2]|0),T=k[$>>2]|0,(M|0)!=0):0){w=k[M+8>>2]|0;h=w+1|0;do if(i[h>>0]|0){v=(w|0)==0;if(v)x=0;else{o=w;while(1)if(!(i[o>>0]|0))break;else o=o+1|0;x=o-w&1073741823}r:do if((i[w>>0]|0)==63){Y=Zl(h,D,x+-1|0,1)|0;f=D;g=k[f>>2]|0;f=k[f+4>>2]|0;o=g&65535;j[M+32>>1]=o;h=k[T+124>>2]|0;Z=((h|0)<0)<<31>>31;if((f|0)<0|(f|0)==0&g>>>0<1|(Y|0)!=0|((f|0)>(Z|0)|(f|0)==(Z|0)&g>>>0>h>>>0)){k[_>>2]=h;yh($,33296,_);o=0}h=$+440|0;Z=k[h>>2]|0;Y=((Z|0)<0)<<31>>31;if((f|0)>(Y|0)|(f|0)==(Y|0)&g>>>0>Z>>>0)k[h>>2]=g}else{h=k[$+444>>2]|0;s:do if((h|0)>0){g=k[$+472>>2]|0;o=0;e=0;while(1){f=k[g+(o<<2)>>2]|0;if((f|0)!=0?(dw(f,w)|0)==0:0)break;e=e+1<<16>>16;o=e<<16>>16;if((o|0)>=(h|0)){Z=315;break s}}o=o+1&65535;h=M+32|0;j[h>>1]=o;if(o<<16>>16)break r}else Z=315;while(0);if((Z|0)==315)h=M+32|0;Z=$+440|0;o=(k[Z>>2]|0)+1|0;k[Z>>2]=o;o=o&65535;j[h>>1]=o}while(0);f=o<<16>>16;if(o<<16>>16>0){o=$+444|0;if((f|0)>(k[o>>2]|0)){h=$+472|0;g=wo(T,k[h>>2]|0,f<<2,0)|0;if(!g)break q;k[h>>2]=g;Z=k[o>>2]|0;kw(g+(Z<<2)|0,0,f-Z<<2|0)|0;k[o>>2]=f}if((i[w>>0]|0)==63){h=f+-1|0;if(!(k[(k[$+472>>2]|0)+(h<<2)>>2]|0))o=0;else break}else{o=f+-1|0;h=o;o=k[(k[$+472>>2]|0)+(o<<2)>>2]|0}g=$+472|0;rg(T,o);if(!v?(n=ow(x|0,0,1,0)|0,n=rh(T,n,L)|0,(n|0)!=0):0){pw(n|0,w|0,x|0)|0;i[n+x>>0]=0}else n=0;k[(k[g>>2]|0)+(h<<2)>>2]=n}}else{Y=$+440|0;Z=(k[Y>>2]|0)+1|0;k[Y>>2]=Z;j[M+32>>1]=Z}while(0);if((k[$+64>>2]|0)==0?(k[$+440>>2]|0)>(k[T+124>>2]|0):0)yh($,33344,_)}while(0);$=k[u>>2]|0;k[ba+4>>2]=$;k[ba+8>>2]=$+(k[t>>2]|0);break}case 196:{_=a+(aa+-3<<4)+16|0;$=Br($,0,_)|0;k[ba>>2]=$;k[ba+4>>2]=k[_>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 197:{_=a+(aa<<4)+16|0;$=Br($,0,_)|0;k[ba>>2]=$;$=k[_>>2]|0;k[ba+4>>2]=$;k[ba+8>>2]=$+(k[a+(aa<<4)+20>>2]|0);break}case 193:{Z=aa+-2|0;_=a+(aa<<4)+16|0;$=Ar($,k[a+(Z<<4)+16>>2]|0,_,1)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(Z<<4)+20>>2];k[ba+8>>2]=(k[_>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 194:{$=cr($,38,k[a+(aa+-3<<4)+16>>2]|0,0,a+(aa+-1<<4)+16|0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(aa+-5<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 195:{e=a+(aa+-1<<4)+16|0;c=k[e>>2]|0;if(c){if((k[c>>2]|0)>(k[(k[$>>2]|0)+112>>2]|0)){k[_>>2]=a+(aa+-4<<4)+16;yh($,20576,_);c=k[e>>2]|0}}else c=0;_=a+(aa+-4<<4)+16|0;c=Br($,c,_)|0;k[ba>>2]=c;k[ba+4>>2]=k[_>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);if(!((c|0)==0?1:(j[a+(aa+-2<<4)+16>>1]|0)==0)){$=c+4|0;k[$>>2]=k[$>>2]|16}break}case 205:case 204:case 203:case 202:case 201:case 200:case 199:case 198:{_=aa+-2|0;$=cr($,l[a+(aa+-1<<4)+14>>0]|0,k[a+(_<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(_<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];break}case 206:{Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;k[ba+8>>2]=0;break}case 207:{Z=a+(aa<<4)+16|0;_=k[Z+4>>2]|0;$=ba;k[$>>2]=k[Z>>2];k[$+4>>2]=_;k[ba+8>>2]=1;break}case 208:{e=aa+-2|0;_=aa+-1|0;c=Br($,qr($,qr($,0,k[a+(aa<<4)+16>>2]|0)|0,k[a+(e<<4)+16>>2]|0)|0,a+(_<<4)+16|0)|0;k[ba>>2]=c;if(k[a+(_<<4)+24>>2]|0){c=cr($,19,c,0,0)|0;k[ba>>2]=c}k[ba+4>>2]=k[a+(e<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];if(c){$=c+4|0;k[$>>2]=k[$>>2]|128}break}case 210:{_=aa+-1|0;$=cr($,l[a+(aa<<4)+14>>0]|0,k[a+(_<<4)+16>>2]|0,0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(_<<4)+20>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 209:{e=aa+-4|0;_=aa+-3|0;c=Br($,qr($,qr($,qr($,0,k[a+(aa+-2<<4)+16>>2]|0)|0,k[a+(e<<4)+16>>2]|0)|0,k[a+(aa<<4)+16>>2]|0)|0,a+(_<<4)+16|0)|0;k[ba>>2]=c;if(k[a+(_<<4)+24>>2]|0){c=cr($,19,c,0,0)|0;k[ba>>2]=c}k[ba+4>>2]=k[a+(e<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];if(c){$=c+4|0;k[$>>2]=k[$>>2]|128}break}case 223:{e=a+(aa+-1<<4)+16|0;c=k[e>>2]|0;do if(c){if((k[c>>2]|0)==1){_=k[c+4>>2]|0;c=k[_>>2]|0;k[_>>2]=0;Sk(k[$>>2]|0,k[e>>2]|0);if(c){_=c+4|0;k[_>>2]=k[_>>2]&-769|512}$=cr($,(k[a+(aa+-3<<4)+16>>2]|0)!=0?78:79,k[a+(aa+-4<<4)+16>>2]|0,c,0)|0;k[ba>>2]=$;break}c=cr($,75,k[a+(aa+-4<<4)+16>>2]|0,0,0)|0;k[ba>>2]=c;if(!c){Sk(k[$>>2]|0,k[e>>2]|0);c=0}else{k[c+20>>2]=k[e>>2];c=k[ba>>2]|0;Dr($,c)}if(k[a+(aa+-3<<4)+16>>2]|0){$=cr($,19,c,0,0)|0;k[ba>>2]=$}}else{_=cr($,132,0,0,20616+(k[a+(aa+-3<<4)+16>>2]<<3)|0)|0;k[ba>>2]=_;Lk(k[$>>2]|0,k[a+(aa+-4<<4)+16>>2]|0)}while(0);k[ba+4>>2]=k[a+(aa+-4<<4)+20>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 211:{_=aa+-2|0;$=cr($,77,k[a+(_<<4)+16>>2]|0,0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(_<<4)+20>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 212:{Y=aa+-2|0;Z=a+(aa<<4)+16|0;_=cr($,73,k[a+(Y<<4)+16>>2]|0,k[Z>>2]|0,0)|0;k[ba>>2]=_;k[ba+4>>2]=k[a+(Y<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];Cr($,k[Z>>2]|0,_,76);break}case 213:{Y=aa+-3|0;Z=a+(aa<<4)+16|0;_=cr($,148,k[a+(Y<<4)+16>>2]|0,k[Z>>2]|0,0)|0;k[ba>>2]=_;k[ba+4>>2]=k[a+(Y<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];Cr($,k[Z>>2]|0,_,77);break}case 215:case 214:{_=aa+-1|0;$=cr($,l[a+(_<<4)+14>>0]|0,k[a+(aa<<4)+16>>2]|0,0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(_<<4)+16>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];break}case 216:{$=cr($,157,k[a+(aa<<4)+16>>2]|0,0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(aa+-1<<4)+16>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];break}case 217:{$=cr($,158,k[a+(aa<<4)+16>>2]|0,0,0)|0;k[ba>>2]=$;k[ba+4>>2]=k[a+(aa+-1<<4)+16>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];break}case 220:{d=qr($,qr($,0,k[a+(aa+-2<<4)+16>>2]|0)|0,k[a+(aa<<4)+16>>2]|0)|0;e=aa+-4|0;c=cr($,74,k[a+(e<<4)+16>>2]|0,0,0)|0;k[ba>>2]=c;if(!c)Sk(k[$>>2]|0,d);else k[c+20>>2]=d;if(k[a+(aa+-3<<4)+16>>2]|0){$=cr($,19,k[ba>>2]|0,0,0)|0;k[ba>>2]=$}k[ba+4>>2]=k[a+(e<<4)+20>>2];k[ba+8>>2]=k[a+(aa<<4)+24>>2];break}case 224:{c=cr($,119,0,0,0)|0;k[ba>>2]=c;if(!c)Rk(k[$>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,1);else{k[c+20>>2]=k[a+(aa+-1<<4)+16>>2];_=k[ba>>2]|0;Z=_+4|0;k[Z>>2]=k[Z>>2]|2099200;Dr($,_)}k[ba+4>>2]=k[a+(aa+-2<<4)+16>>2];k[ba+8>>2]=(k[a+(aa<<4)+16>>2]|0)+(k[a+(aa<<4)+20>>2]|0);break}case 118:{$=pr($,k[a+(aa+-6<<4)+16>>2]|0,k[a+(aa+-5<<4)+16>>2]|0,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa+-3<<4)+16>>2]|0,k[a+(aa+-2<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,j[a+(aa+-7<<4)+16>>1]|0,k[a+(aa<<4)+16>>2]|0,k[a+(aa<<4)+20>>2]|0)|0;k[ba>>2]=$;break}case 120:{$=pr($,k[a+(aa+-1<<4)+16>>2]|0,0,0,0,0,0,128,0,0)|0;k[ba>>2]=$;break}case 121:{c=pr($,k[a+(aa+-1<<4)+16>>2]|0,0,0,0,0,0,128,0,0)|0;if(!c){k[ba>>2]=k[a+(aa+-4<<4)+16>>2];break a}else{i[c+4>>0]=116;k[c+52>>2]=k[a+(aa+-4<<4)+16>>2];k[ba>>2]=c;break a}}case 122:{j[ba>>1]=1;break}case 124:case 123:{j[ba>>1]=0;break}case 243:case 125:{k[ba>>2]=k[a+(aa+-1<<4)+16>>2];break}case 242:case 236:case 161:case 154:case 126:{k[ba>>2]=0;break}case 127:{e=aa+-1|0;g=qr($,k[a+(aa+-2<<4)+16>>2]|0,k[a+(e<<4)+16>>2]|0)|0;k[ba>>2]=g;if(k[a+(aa<<4)+20>>2]|0)rr($,g,a+(aa<<4)+16|0,1);n=k[$>>2]|0;if(g){h=(k[g+4>>2]|0)+(((k[g>>2]|0)+-1|0)*20|0)+8|0;rg(n,k[h>>2]|0);f=k[a+(e<<4)+20>>2]|0;g=(k[a+(e<<4)+24>>2]|0)-f|0;if((f|0)!=0?(c=ow(g|0,((g|0)<0)<<31>>31|0,1,0)|0,c=rh(n,c,L)|0,(c|0)!=0):0){pw(c|0,f|0,g|0)|0;i[c+g>>0]=0}else c=0;k[h>>2]=c}break}case 133:{e=rh(k[$>>2]|0,80,0)|0;if(e){v=e+0|0;d=v+80|0;do{i[v>>0]=0;v=v+1|0}while((v|0)<(d|0))}k[ba>>2]=e;break}case 134:{g=k[a+(aa<<4)+16>>2]|0;k[ba>>2]=g;if(g){e=k[g>>2]|0;d=e+-1|0;if((d|0)>0)while(1){i[g+(d*72|0)+44>>0]=i[g+((e+-2|0)*72|0)+44>>0]|0;e=d+-1|0;if((e|0)>0){$=d;d=e;e=$}else break}i[g+44>>0]=0}break}case 128:{Z=k[$>>2]|0;k[_>>2]=0;k[_+4>>2]=0;_=sr(Z,116,_,0)|0;$=qr($,k[a+(aa+-1<<4)+16>>2]|0,_)|0;k[ba>>2]=$;break}case 132:{k[ba+4>>2]=0;break}case 129:{_=cr($,116,0,0,a+(aa<<4)+16|0)|0;_=cr($,122,cr($,27,0,0,a+(aa+-2<<4)+16|0)|0,_,0)|0;$=qr($,k[a+(aa+-3<<4)+16>>2]|0,_)|0;k[ba>>2]=$;break}case 136:{k[ba>>2]=0;break}case 137:{_=or($,k[a+(aa+-6<<4)+16>>2]|0,a+(aa+-5<<4)+16|0,a+(aa+-4<<4)+16|0,a+(aa+-3<<4)+16|0,0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=_;tr($,_,a+(aa+-2<<4)+16|0);break}case 135:{c=k[a+(aa+-1<<4)+16>>2]|0;k[ba>>2]=c;if((c|0)!=0?(t=k[c>>2]|0,(t|0)>0):0)i[c+((t+-1|0)*72|0)+44>>0]=k[a+(aa<<4)+16>>2];break}case 138:{$=or($,k[a+(aa+-6<<4)+16>>2]|0,0,0,a+(aa+-2<<4)+16|0,k[a+(aa+-4<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 139:{e=a+(aa+-6<<4)+16|0;g=k[e>>2]|0;if((((g|0)==0?(k[a+(aa+-2<<4)+20>>2]|0)==0:0)?(k[a+(aa+-1<<4)+16>>2]|0)==0:0)?(k[a+(aa<<4)+16>>2]|0)==0:0){k[ba>>2]=k[a+(aa+-4<<4)+16>>2];break a}n=a+(aa+-4<<4)+16|0;d=k[n>>2]|0;h=k[d>>2]|0;if((h|0)==1){e=or($,g,0,0,a+(aa+-2<<4)+16|0,0,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=e;if(e){X=(k[e>>2]|0)+-1|0;_=k[n>>2]|0;Z=_+16|0;k[e+(X*72|0)+16>>2]=k[Z>>2];Y=_+12|0;k[e+(X*72|0)+12>>2]=k[Y>>2];_=_+28|0;k[e+(X*72|0)+28>>2]=k[_>>2];k[Y>>2]=0;k[Z>>2]=0;k[_>>2]=0}Io(k[$>>2]|0,k[n>>2]|0);break a}if(d){f=h+-1|0;if((f|0)>0){g=h;while(1){i[d+(f*72|0)+44>>0]=i[d+((g+-2|0)*72|0)+44>>0]|0;g=f+-1|0;if((g|0)>0){_=f;f=g;g=_}else break}}i[d+44>>0]=0}_=pr($,0,d,0,0,0,0,512,0,0)|0;$=or($,k[e>>2]|0,0,0,a+(aa+-2<<4)+16|0,_,k[a+(aa+-1<<4)+16>>2]|0,k[a+(aa<<4)+16>>2]|0)|0;k[ba>>2]=$;break}case 149:case 140:{k[ba>>2]=0;k[ba+4>>2]=0;break}case 144:{$=vr($,a+(aa+-1<<4)+16|0,0,0)|0;k[ba>>2]=$;break}case 145:{$=vr($,a+(aa+-2<<4)+16|0,a+(aa+-1<<4)+16|0,0)|0;k[ba>>2]=$;break}case 146:{$=vr($,a+(aa+-3<<4)+16|0,a+(aa+-2<<4)+16|0,a+(aa+-1<<4)+16|0)|0;k[ba>>2]=$;break}case 233:case 231:case 171:case 164:case 147:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 234:case 232:case 170:case 163:case 148:{k[ba>>2]=0;break}case 151:{k[ba>>2]=0;k[ba+4>>2]=1;break}case 143:{k[ba>>2]=1;break}case 142:{$=ur(k[$>>2]|0,0,a+(aa+-1<<4)+16|0,a+(aa<<4)+16|0)|0;k[ba>>2]=$;break}case 235:case 162:case 155:{k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 156:{c=qr($,k[a+(aa+-3<<4)+16>>2]|0,k[a+(aa+-1<<4)+16>>2]|0)|0;k[ba>>2]=c;if(c)i[(k[c+4>>2]|0)+(((k[c>>2]|0)+-1|0)*20|0)+12>>0]=k[a+(aa<<4)+16>>2];break}case 157:{c=qr($,0,k[a+(aa+-1<<4)+16>>2]|0)|0;k[ba>>2]=c;if((c|0)!=0?(d=k[c+4>>2]|0,(d|0)!=0):0)i[d+12>>0]=k[a+(aa<<4)+16>>2];break}case 179:case 153:{k[ba>>2]=0;break}case 180:case 152:{k[ba>>2]=k[a+(aa+-1<<4)+16>>2];break}case 160:case 158:{k[ba>>2]=0;break}case 159:{k[ba>>2]=1;break}case 165:{k[ba>>2]=0;k[ba+4>>2]=0;break}case 166:{k[ba>>2]=k[a+(aa<<4)+16>>2];k[ba+4>>2]=0;break}case 167:{k[ba>>2]=k[a+(aa+-2<<4)+16>>2];k[ba+4>>2]=k[a+(aa<<4)+16>>2];break}case 168:{k[ba+4>>2]=k[a+(aa+-2<<4)+16>>2];k[ba>>2]=k[a+(aa<<4)+16>>2];break}case 19:{if((Xq($,22,37120,0,0)|0)==0?(x=Tq($)|0,(x|0)!=0):0)Bh(x,3,1,1,0)|0;break}case 22:{Yq($,0,a+(aa<<4)+16|0);break}case 23:{Yq($,1,a+(aa<<4)+16|0);break}case 24:{Yq($,2,a+(aa<<4)+16|0);break}default:{}}while(0);c=i[20912+(b<<1)>>0]|0;h=c&255;g=i[20913+(b<<1)>>0]|0;f=g&255;n=(k[a>>2]|0)-f|0;k[a>>2]=n;e=j[22184+((j[21568+(m[a+(aa-f<<4)+12>>1]<<1)>>1]|0)+h<<1)>>1]|0;d=e&65535;do if((e&65535)<642)if(!(g<<24>>24)){pq(a,d,h,ba);break}else{k[a>>2]=n+1;aa=1-f+aa|0;j[a+(aa<<4)+12>>1]=e;i[a+(aa<<4)+14>>0]=c;aa=a+(aa<<4)+16|0;k[aa+0>>2]=k[ba+0>>2];k[aa+4>>2]=k[ba+4>>2];k[aa+8>>2]=k[ba+8>>2];break}else{c=k[ca>>2]|0;if((n|0)>-1)do Un(a);while((k[a>>2]|0)>-1);k[ca>>2]=c}while(0);r=da;return}function sq(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,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,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,aa=0,ba=0,ca=0;aa=r;r=r+64|0;if((r|0)>=(s|0))ka();$=aa+8|0;W=aa;h=aa+24|0;d=aa+16|0;f=Cq(a,0,d)|0;do if(!f){if(k[d>>2]|0){f=is(a,b)|0;if(!f)c=0;else e=4}else{f=1;e=4}if((e|0)==4){_=a+43|0;e=(i[_>>0]|0)==0;do if(!(i[a+46>>0]&2)){if(e?(g=a+4|0,Z=k[g>>2]|0,fc[k[(k[Z>>2]|0)+40>>2]&63](Z,24,0)|0,g=k[g>>2]|0,g=uc[k[(k[g>>2]|0)+56>>2]&31](g,0,1,10)|0,(g|0)!=0):0){d=f;c=g;break}Z=a+44|0;i[Z>>0]=1;e=Cq(a,0,d)|0;if(!e){d=is(a,b)|0;if(!d){d=0;c=0}else{Y=l[a+45>>0]|0;X=Y+1|0;Y=7-Y|0;if(!((i[_>>0]|0)==0?(c=k[a+4>>2]|0,c=uc[k[(k[c>>2]|0)+56>>2]&31](c,X,Y,10)|0,(c|0)!=0):0)){f=a+52|0;e=f+48|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(e|0));Q=a+8|0;c=k[Q>>2]|0;c=wc[k[(k[c>>2]|0)+24>>2]&127](c,W)|0;a:do if(!c){R=W;P=k[R+4>>2]|0;b:do if((P|0)>0|(P|0)==0&(k[R>>2]|0)>>>0>32){c=k[Q>>2]|0;c=yc[k[(k[c>>2]|0)+8>>2]&31](c,h,32,0,0)|0;if(c)break a;g=l[h+3>>0]|0;e=l[h+9>>0]<<16|l[h+8>>0]<<24;c=l[h+10>>0]<<8;f=e|c|l[h+11>>0];if(((l[h+1>>0]<<16|l[h>>0]<<24|l[h+2>>0]<<8|g&254|0)==931071618?!((f+-1&f|0)!=0|(f|0)>65536|(f|0)<512):0)?(R=g&1,S=a+65|0,i[S>>0]=R,T=a+36|0,k[T>>2]=f,k[a+104>>2]=l[h+13>>0]<<16|l[h+12>>0]<<24|l[h+14>>0]<<8|l[h+15>>0],U=a+84|0,P=h+16|0,N=P,N=l[N>>0]|l[N+1>>0]<<8|l[N+2>>0]<<16|l[N+3>>0]<<24,P=P+4|0,P=l[P>>0]|l[P+1>>0]<<8|l[P+2>>0]<<16|l[P+3>>0]<<24,V=U,O=V,i[O>>0]=N,i[O+1>>0]=N>>8,i[O+2>>0]=N>>16,i[O+3>>0]=N>>24,V=V+4|0,i[V>>0]=P,i[V+1>>0]=P>>8,i[V+2>>0]=P>>16,i[V+3>>0]=P>>24,V=a+76|0,Dq(R^1,h,24,0,V),(k[V>>2]|0)==(l[h+25>>0]<<16|l[h+24>>0]<<24|l[h+26>>0]<<8|l[h+27>>0]|0)):0){P=a+80|0;if((k[P>>2]|0)!=(l[h+29>>0]<<16|l[h+28>>0]<<24|l[h+30>>0]<<8|l[h+31>>0]|0)){f=0;c=0;break}if((l[h+5>>0]<<16|l[h+4>>0]<<24|l[h+6>>0]<<8|l[h+7>>0]|0)!=3007e3){k[$>>2]=49983;k[$+4>>2]=10788;gd(14,14848,$);c=14;break a}t=f+24|0;R=Yc(t)|0;if(!R){c=7;break a}u=R+24|0;v=((t|0)<0)<<31>>31;h=ow(t|0,v|0,32,0)|0;g=L;O=W;N=k[O+4>>2]|0;c:do if(!((g|0)>(N|0)|((g|0)==(N|0)?h>>>0>(k[O>>2]|0)>>>0:0))){w=R+8|0;x=R+1|0;y=R+2|0;z=R+3|0;A=R+16|0;B=R+17|0;C=R+18|0;D=R+19|0;E=R+20|0;F=R+21|0;G=R+22|0;H=R+23|0;I=R+4|0;J=R+5|0;K=R+6|0;M=R+7|0;N=a+68|0;O=a+72|0;p=(e>>>16|c)&65535;q=a+66|0;m=32;e=0;f=0;n=0;o=1;while(1){c=k[Q>>2]|0;c=yc[k[(k[c>>2]|0)+8>>2]&31](c,R,t,m,e)|0;if(c){e=36;break}if(cw(U,w,8)|0){c=n;e=37;break}e=l[x>>0]<<16|l[R>>0]<<24|l[y>>0]<<8|l[z>>0];if(!e){c=n;e=37;break}m=(i[S>>0]|0)==0&1;Dq(m,R,8,V,V);Dq(m,u,k[T>>2]|0,V,V);if((k[V>>2]|0)!=(l[B>>0]<<16|l[A>>0]<<24|l[C>>0]<<8|l[D>>0]|0)){c=n;e=37;break}if((k[P>>2]|0)!=(l[F>>0]<<16|l[E>>0]<<24|l[G>>0]<<8|l[H>>0]|0)){c=n;break c}m=l[J>>0]<<16|l[I>>0]<<24|l[K>>0]<<8|l[M>>0];c=dp(a,o,e)|0;if(c){e=36;break}if(!m)c=n;else{k[N>>2]=o;k[O>>2]=m;j[q>>1]=p;f=k[V>>2]|0;c=k[P>>2]|0}e=ow(h|0,g|0,t|0,v|0)|0;m=L;n=W;ba=k[n+4>>2]|0;if((m|0)>(ba|0)|((m|0)==(ba|0)?e>>>0>(k[n>>2]|0)>>>0:0))break c;else{ca=g;ba=h;h=e;g=m;n=c;o=o+1|0;e=ca;m=ba}}if((e|0)==36){$c(R);break a}else if((e|0)==37){$c(R);break b}}else{f=0;c=0}while(0);$c(R)}else{f=0;c=0}}else{f=0;c=0}while(0);k[a+76>>2]=f;k[a+80>>2]=c;ep(a);e=k[k[a+32>>2]>>2]|0;k[e+96>>2]=0;k[e+100>>2]=0;c=e+104|0;k[c>>2]=-1;k[e+108>>2]=-1;k[e+112>>2]=-1;k[e+116>>2]=-1;e=a+68|0;f=k[e>>2]|0;if(f)k[c>>2]=f;if(!(k[a+72>>2]|0))c=0;else{c=k[a+100>>2]|0;k[$>>2]=k[e>>2];k[$+4>>2]=c;gd(283,14888,$);c=0}}while(0);if(!(i[_>>0]|0)){W=k[a+4>>2]|0;uc[k[(k[W>>2]|0)+56>>2]&31](W,X,Y,9)|0}}k[b>>2]=1}}else{d=f;c=e}i[Z>>0]=0;if(!(i[_>>0]|0)){_=k[a+4>>2]|0;uc[k[(k[_>>2]|0)+56>>2]&31](_,0,1,9)|0}}else if(e){d=a+4|0;c=k[d>>2]|0;c=uc[k[(k[c>>2]|0)+56>>2]&31](c,0,1,6)|0;if(!c)if(!(i[_>>0]|0)){d=k[d>>2]|0;uc[k[(k[d>>2]|0)+56>>2]&31](d,0,1,5)|0;d=f;c=264}else{d=f;c=264}else d=f}else{d=f;c=264}while(0);if(d)break}if((k[a+52>>2]|0)!=3007e3){k[$>>2]=50909;k[$+4>>2]=10788;gd(14,14848,$);c=14}}else c=f;while(0);r=aa;return c|0}function tq(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,l=0,n=0,o=0,p=0,q=0,r=0,s=0;p=k[e>>2]|0;q=k[d>>2]|0;h=(p|0)>0;g=(c|0)>0;if(h|g){n=g;i=0;o=0;l=0;while(1){do if(n){g=b+(i<<1)|0;if(h?(r=q+(l<<1)|0,(k[a+((m[g>>1]|0)<<2)>>2]|0)>>>0>=(k[a+((m[r>>1]|0)<<2)>>2]|0)>>>0):0){h=r;s=7;break}i=i+1|0;h=g}else{h=q+(l<<1)|0;s=7}while(0);if((s|0)==7){s=0;l=l+1|0}n=j[h>>1]|0;h=k[a+((n&65535)<<2)>>2]|0;g=o+1|0;j[f+(o<<1)>>1]=n;if((i|0)<(c|0))i=((k[a+((m[b+(i<<1)>>1]|0)<<2)>>2]|0)==(h|0)&1)+i|0;h=(l|0)<(p|0);n=(i|0)<(c|0);if(!(h|n))break;else o=g}}else g=0;k[d>>2]=b;k[e>>2]=g;pw(b|0,f|0,g<<1|0)|0;return}function uq(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a+4>>2]|0;k[d+4>>2]=k[a>>2];a=k[(k[d>>2]|0)+204>>2]|0;k[a+16>>2]=b;d=k[2217]|0;c=k[a+40>>2]|0;if((b|0)>-1)a=b;else{b=xw(b|0,((b|0)<0)<<31>>31|0,-1024,-1)|0;a=(k[a+24>>2]|0)+(k[a+20>>2]|0)|0;a=vw(b|0,L|0,a|0,((a|0)<0)<<31>>31|0)|0}oc[d&15](c,a);return}function vq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=(k[a+12>>2]|0)+136|0;c=e;d=k[c>>2]|0;c=k[c+4>>2]|0;do if((d|0)==0&(c|0)==0)if(!(gh(k[k[(k[a>>2]|0)+32>>2]>>2]|0,e)|0)){c=e;d=k[c>>2]|0;c=k[c+4>>2]|0;f=5;break}else{c=e;k[c>>2]=0;k[c+4>>2]=0;c=b;k[c>>2]=0;k[c+4>>2]=0;c=1;break}else f=5;while(0);if((f|0)==5){e=b;k[e>>2]=d;k[e+4>>2]=c;if((c|0)>0|(c|0)==0&d>>>0>0){i[b+42>>0]=1;c=0}else c=1}return c|0}function wq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=r;r=r+16|0;if((r|0)>=(s|0))ka();l=n;k[l>>2]=b;b=a;a=0;a:while(1){f=k[l>>2]|0;e=k[f>>2]|0;k[l>>2]=f+4;f=k[l>>2]|0;g=k[f>>2]|0;k[l>>2]=f+4;f=k[l>>2]|0;h=k[f>>2]|0;k[l>>2]=f+4;f=k[l>>2]|0;j=k[f>>2]|0;k[l>>2]=f+4;f=k[l>>2]|0;c=k[f>>2]|0;k[l>>2]=f+4;if(!e){d=b;b=0}else{d=b;b=0;do{e=e+-1|0;f=i[d>>0]|0;if(((f&255)+-48|0)>>>0>=10)break a;b=(b*10|0)+-48+(f<<24>>24)|0;d=d+1|0}while((e|0)!=0)}if((b|0)<(g|0)|(b|0)>(h|0))break;if(!j){m=9;break}if((j|0)!=(i[d>>0]|0))break;k[c>>2]=b;b=d+1|0;a=a+1|0}if((m|0)==9){k[c>>2]=b;a=a+1|0}r=n;return a|0}function xq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0.0,g=0,h=0.0,j=0,m=0,n=0,o=0,q=0,t=0,u=0;u=r;r=r+64|0;if((r|0)>=(s|0))ka();q=u;n=u+56|0;o=u+52|0;c=u+48|0;j=u+44|0;m=u+40|0;k[q>>2]=2;k[q+4>>2]=0;k[q+8>>2]=24;k[q+12>>2]=58;k[q+16>>2]=c;k[q+20>>2]=2;k[q+24>>2]=0;k[q+28>>2]=59;k[q+32>>2]=0;k[q+36>>2]=j;do if((wq(a,q)|0)==2){g=a+5|0;if((i[g>>0]|0)==58){k[q>>2]=2;k[q+4>>2]=0;k[q+8>>2]=59;k[q+12>>2]=0;k[q+16>>2]=m;if((wq(a+6|0,q)|0)!=1){c=1;break}g=a+8|0;if((i[g>>0]|0)==46?(d=a+9|0,e=i[d>>0]|0,((e&255)+-48|0)>>>0<10):0){h=0.0;f=1.0;do{h=h*10.0+ +(e<<24>>24)+-48.0;f=f*10.0;d=d+1|0;e=i[d>>0]|0}while(((e&255)+-48|0)>>>0<10);f=h/f}else{d=g;f=0.0}}else{k[m>>2]=0;d=g;f=0.0}i[b+42>>0]=0;i[b+41>>0]=1;k[b+20>>2]=k[c>>2];k[b+24>>2]=k[j>>2];p[b+32>>3]=f+ +(k[m>>2]|0);while(1){c=d+1|0;if(!(i[10368+(l[d>>0]|0)>>0]&1)){g=d;break}else d=c}a=b+28|0;k[a>>2]=0;d=i[g>>0]|0;if(d<<24>>24==45){e=-1;t=14}else if(d<<24>>24!=43)if((d&-33)<<24>>24==90){e=0;t=16}else c=0;else{e=1;t=14}if((t|0)==14){k[q>>2]=2;k[q+4>>2]=0;k[q+8>>2]=14;k[q+12>>2]=58;k[q+16>>2]=n;k[q+20>>2]=2;k[q+24>>2]=0;k[q+28>>2]=59;k[q+32>>2]=0;k[q+36>>2]=o;if((wq(c,q)|0)!=2){c=1;break}e=ha(((k[n>>2]|0)*60|0)+(k[o>>2]|0)|0,e)|0;k[a>>2]=e;c=g+6|0;t=16}if((t|0)==16)while(1){d=i[c>>0]|0;if(!(i[10368+(d&255)>>0]&1)){c=e;break}else c=c+1|0}if(!(d<<24>>24)){i[b+43>>0]=(c|0)!=0&1;c=0}else c=1}else c=1;while(0);r=u;return c|0}function yq(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,l=0.0,m=0;j=r;r=r+112|0;if((r|0)>=(s|0))ka();f=j+48|0;h=j;g=j+96|0;d=f+0|0;a=a+0|0;e=d+48|0;do{k[d>>2]=k[a>>2];d=d+4|0;a=a+4|0}while((d|0)<(e|0));to(f);uo(f);e=f+8|0;if(((k[e>>2]|0)+-1971|0)>>>0>66){k[e>>2]=2e3;k[f+12>>2]=1;k[f+16>>2]=1;k[f+20>>2]=0;k[f+24>>2]=0;p[f+32>>3]=0.0}else{d=f+32|0;p[d>>3]=+(~~(+p[d>>3]+.5)|0)}k[f+28>>2]=0;i[f+42>>0]=0;so(f);a=f;d=k[a>>2]|0;a=k[a+4>>2]|0;e=vw(d|0,a|0,1e3,0)|0;e=ow(e|0,L|0,-413362496,0)|0;k[g>>2]=e;e=_b(g|0)|0;e=(k[2253]|0)!=0?0:e;if(!e){k[b+20>>2]=1;i[b+25>>0]=1;ah(k[b>>2]|0,20056,-1,1,-1)|0;k[c>>2]=1;d=0;e=0}else{f=k[e+4>>2]|0;g=k[e+8>>2]|0;b=k[e+12>>2]|0;m=(k[e+16>>2]|0)+1|0;l=+(k[e>>2]|0);k[h+8>>2]=(k[e+20>>2]|0)+1900;k[h+12>>2]=m;k[h+16>>2]=b;k[h+20>>2]=g;k[h+24>>2]=f;p[h+32>>3]=l;i[h+40>>0]=1;i[h+41>>0]=1;i[h+42>>0]=0;i[h+43>>0]=0;so(h);k[c>>2]=0;e=h;e=iw(k[e>>2]|0,k[e+4>>2]|0,d|0,a|0)|0;d=L}L=d;r=j;return e|0}function zq(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,l=0,m=0,n=0;n=r;r=r+32|0;if((r|0)>=(s|0))ka();m=n+12|0;h=n;l=n+8|0;g=n+16|0;i[b>>0]=0;d=wc[k[(k[a>>2]|0)+24>>2]&127](a,h)|0;f=h;e=k[f>>2]|0;f=k[f+4>>2]|0;if(!((d|0)!=0|((f|0)<0|(f|0)==0&e>>>0<16))){d=ow(e|0,f|0,-16,-1)|0;d=js(a,d,L,m)|0;if(!d){j=k[m>>2]|0;if(!(j>>>0>=c>>>0|(j|0)==0)){d=h;d=ow(k[d>>2]|0,k[d+4>>2]|0,-12,-1)|0;d=js(a,d,L,l)|0;if(!d){d=h;d=ow(k[d>>2]|0,k[d+4>>2]|0,-8,-1)|0;d=yc[k[(k[a>>2]|0)+8>>2]&31](a,g,8,d,L)|0;if(!d)if(!(cw(g,14808,8)|0)){d=h;d=ow(k[d>>2]|0,k[d+4>>2]|0,-16,-1)|0;d=iw(d|0,L|0,j|0,0)|0;d=yc[k[(k[a>>2]|0)+8>>2]&31](a,b,j,d,L)|0;if(!d){e=k[l>>2]|0;f=0;while(1){c=i[b+f>>0]|0;d=e-c|0;f=f+1|0;if(f>>>0>=j>>>0)break;else e=d}k[l>>2]=d;if((e|0)==(c|0))d=j;else{k[m>>2]=0;d=0}i[b+d>>0]=0;d=0}}else d=0}}else d=0}}r=n;return d|0}function Aq(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;q=r;r=r+16|0;if((r|0)>=(s|0))ka();i=q+8|0;o=q+4|0;m=q;p=a+72|0;g=p;h=k[g>>2]|0;g=k[g+4>>2]|0;if((h|0)==0&(g|0)==0){j=0;l=0;h=k[a+148>>2]|0}else{j=ow(h|0,g|0,-1,-1)|0;h=k[a+148>>2]|0;j=vw(j|0,L|0,h|0,0)|0;j=ow(j|0,L|0,1,0)|0;j=xw(j|0,L|0,h|0,0)|0;l=L}n=p;k[n>>2]=j;k[n+4>>2]=l;n=a+148|0;h=ow(h|0,0,j|0,l|0)|0;g=L;do if(!((g|0)>(d|0)|(g|0)==(d|0)&h>>>0>c>>>0)){if((b|0)==0?(b=a+80|0,(j|0)==(k[b>>2]|0)?(l|0)==(k[b+4>>2]|0):0):0)c=a+64|0;else{h=a+64|0;d=k[h>>2]|0;d=yc[k[(k[d>>2]|0)+8>>2]&31](d,i,8,j,l)|0;if(d)break;if(!(cw(i,14808,8)|0))c=h;else{d=101;break}}i=k[c>>2]|0;d=ow(j|0,l|0,8,0)|0;d=js(i,d,L,e)|0;if(!d){e=k[c>>2]|0;d=ow(j|0,l|0,12,0)|0;d=js(e,d,L,a+48|0)|0;if(!d){e=k[c>>2]|0;d=ow(j|0,l|0,16,0)|0;d=js(e,d,L,f)|0;if(!d){g=p;h=k[g>>2]|0;g=k[g+4>>2]|0;if((h|0)==0&(g|0)==0){f=k[c>>2]|0;d=ow(j|0,l|0,20,0)|0;d=js(f,d,L,m)|0;if(d)break;f=k[c>>2]|0;d=ow(j|0,l|0,24,0)|0;d=js(f,d,L,o)|0;if(d)break;c=k[o>>2]|0;if(!c){g=k[a+152>>2]|0;k[o>>2]=g}else g=c;c=k[m>>2]|0;if(g>>>0<512|c>>>0<32|g>>>0>65536|c>>>0>65536){d=101;break}if(g+-1&g){d=101;break}if(c+-1&c){d=101;break}d=fl(a,o,-1)|0;k[n>>2]=c;g=p;h=k[g>>2]|0;g=k[g+4>>2]|0}else{c=k[n>>2]|0;d=0}j=ow(h|0,g|0,c|0,0)|0;l=p;k[l>>2]=j;k[l+4>>2]=L}}}}else d=101;while(0);r=q;return d|0}function Bq(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,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;A=r;r=r+16|0;if((r|0)>=(s|0))ka();v=A+8|0;h=A+4|0;p=A;y=k[a+200>>2]|0;z=(d|0)!=0;g=k[(z?a+64|0:a+68|0)>>2]|0;o=b;o=js(g,k[o>>2]|0,k[o+4>>2]|0,h)|0;do if(!o){x=a+152|0;u=k[x>>2]|0;o=b;o=ow(k[o>>2]|0,k[o+4>>2]|0,4,0)|0;o=yc[k[(k[g>>2]|0)+8>>2]&31](g,y,u,o,L)|0;if(!o){B=k[x>>2]|0;n=(d<<2)+4+B|0;o=b;o=ow(n|0,((n|0)<0)<<31>>31|0,k[o>>2]|0,k[o+4>>2]|0)|0;n=L;u=b;k[u>>2]=o;k[u+4>>2]=n;u=k[h>>2]|0;if((u|0)!=0?(u|0)!=(((k[2514]|0)/(B|0)|0)+1|0):0)if(u>>>0<=(k[a+24>>2]|0)>>>0?(ii(c,u)|0)==0:0){if(z){o=ow(o|0,n|0,-4,-1)|0;o=js(g,o,L,p)|0;if(o){f=o;break}if(!e){o=k[a+48>>2]|0;n=(k[x>>2]|0)+-200|0;if((n|0)>0)do{o=(l[y+n>>0]|0)+o|0;n=n+-200|0}while((n|0)>0);if((o|0)!=(k[p>>2]|0)){f=101;break}}}if((c|0)!=0?(f=gi(c,u)|0,(f|0)!=0):0)break;p=(u|0)==1;if(p?(q=a+142|0,t=i[y+20>>0]|0,(j[q>>1]|0)!=(t&255|0)):0)j[q>>1]=t&255;if(!(k[a+208>>2]|0)){t=a+204|0;o=fc[k[8744+132>>2]&63](k[(k[t>>2]|0)+40>>2]|0,u,0)|0;o=nl(k[t>>2]|0,u,o)|0}else o=0;k[v>>2]=o;if(z)if(!(i[a+7>>0]|0)){t=b;c=k[t+4>>2]|0;n=a+80|0;q=k[n+4>>2]|0;n=(c|0)<(q|0)|((c|0)==(q|0)?(k[t>>2]|0)>>>0<=(k[n>>2]|0)>>>0:0)}else n=1;else if(!o)n=1;else n=(j[o+24>>1]&4)==0;h=k[a+60>>2]|0;g=k[h>>2]|0;do if(g){f=i[a+16>>0]|0;if((f&255)>3){if(!n){w=33;break}}else if(!(f<<24>>24==0&n)){w=33;break}n=k[x>>2]|0;f=xw(n|0,((n|0)<0)<<31>>31|0,u+-1|0,0)|0;f=yc[k[g+12>>2]&31](h,y,n,f,L)|0;n=a+32|0;if(u>>>0>(k[n>>2]|0)>>>0)k[n>>2]=u;n=k[a+88>>2]|0;if(n)fp(n,u,y)}else w=33;while(0);if((w|0)==33)if((d|0)==0&(o|0)==0){t=a+20|0;i[t>>0]=l[t>>0]|2;f=Eg(a,u,v,1)|0;i[t>>0]=l[t>>0]&253;if(f)break;o=k[v>>2]|0;f=o+24|0;j[f>>1]=m[f>>1]&65527;Yo(o);f=0}else f=0;if(o){h=k[o+4>>2]|0;pw(h|0,y|0,k[x>>2]|0)|0;hc[k[a+196>>2]&31](o);do if(z){if((e|0)!=0?(t=b,c=k[t+4>>2]|0,u=a+80|0,q=k[u+4>>2]|0,(c|0)>(q|0)|((c|0)==(q|0)?(k[t>>2]|0)>>>0>(k[u>>2]|0)>>>0:0)):0)break;Cl(o)}while(0);if(p){n=a+104|0;g=h+24|0;h=n+16|0;do{i[n>>0]=i[g>>0]|0;n=n+1|0;g=g+1|0}while((n|0)<(h|0))}tl(o)}}else f=0;else f=101}else f=o}else f=o;while(0);r=A;return f|0}function Cq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=a+24|0;if((k[d>>2]|0)<=(b|0)){f=b+1|0;g=a+32|0;e=ad(k[g>>2]|0,f<<2)|0;if(!e){d=7;e=0}else{h=k[d>>2]|0;kw(e+(h<<2)|0,0,f-h<<2|0)|0;k[g>>2]=e;k[d>>2]=f;h=5}}else{e=k[a+32>>2]|0;h=5}if((h|0)==5){g=a+32|0;e=e+(b<<2)|0;do if(!(k[e>>2]|0)){if((i[a+43>>0]|0)!=2){d=k[a+4>>2]|0;d=yc[k[(k[d>>2]|0)+52>>2]&31](d,b,32768,l[a+44>>0]|0,e)|0;if((d|0)!=8)break;d=a+46|0;i[d>>0]=l[d>>0]|2;d=0;break}d=vg(32768,0)|0;if(d)kw(d|0,0,32768)|0;k[(k[g>>2]|0)+(b<<2)>>2]=d;d=(k[(k[g>>2]|0)+(b<<2)>>2]|0)==0?7:0}else d=0;while(0);e=k[(k[g>>2]|0)+(b<<2)>>2]|0}k[c>>2]=e;return d|0}function Dq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=b+c|0;if(!d){f=0;c=0}else{f=k[d>>2]|0;c=k[d+4>>2]|0}if(!a)do{f=f+c+(sw(k[b>>2]|0)|0)|0;c=f+c+(sw(k[b+4>>2]|0)|0)|0;b=b+8|0}while(b>>>0<g>>>0);else do{f=f+c+(k[b>>2]|0)|0;c=f+c+(k[b+4>>2]|0)|0;b=b+8|0}while(b>>>0<g>>>0);k[e>>2]=f;k[e+4>>2]=c;return}function Eq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=a+8|0;f=k[g>>2]|0;g=k[g+4>>2]|0;if((g|0)>(e|0)|(g|0)==(e|0)&f>>>0>d>>>0?(h=ow(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0,j=L,!((j|0)<(g|0)|(j|0)==(g|0)&h>>>0<f>>>0)):0){h=iw(f|0,g|0,d|0,e|0)|0;g=a+4|0;f=k[g>>2]|0;f=yc[k[(k[f>>2]|0)+12>>2]&31](f,b,h,d,e)|0;if(!f){d=ow(h|0,((h|0)<0)<<31>>31|0,d|0,e|0)|0;e=L;f=k[g>>2]|0;f=wc[k[(k[f>>2]|0)+20>>2]&127](f,k[a+16>>2]&19)|0;if(!((h|0)==(c|0)|(f|0)!=0)){c=c-h|0;g=b+h|0;f=e;i=5}}}else{g=b;f=e;i=5}if((i|0)==5){e=k[a+4>>2]|0;f=yc[k[(k[e>>2]|0)+12>>2]&31](e,g,c,d,f)|0}return f|0}function Fq(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+8|0;f=g+4|0;d=g;k[e>>2]=0;k[f>>2]=0;k[d>>2]=0;c=a+68|0;b=k[c>>2]|0;if(b){Uo(a,(b+33|0)>>>12,e,f,d)|0;d=(k[c>>2]|0)-(k[d>>2]|0)|0;a=k[e>>2]|0;c=0;do{b=a+(c<<1)|0;if((m[b>>1]|0|0)>(d|0))j[b>>1]=0;c=c+1|0}while((c|0)!=8192);b=(k[f>>2]|0)+(d+1<<2)|0;kw(b|0,0,a-b|0)|0}r=g;return}function Gq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();c=e;f=a+204|0;d=fc[k[8744+132>>2]&63](k[(k[f>>2]|0)+40>>2]|0,b,0)|0;d=nl(k[f>>2]|0,b,d)|0;do if(!d)c=0;else{if((j[d+26>>1]|0)==1){rl(d);c=0;break}k[c>>2]=0;b=pl(k[a+208>>2]|0,k[d+20>>2]|0,c)|0;if(!b){b=ql(d,k[c>>2]|0)|0;if(!b){hc[k[a+196>>2]&31](d);b=0}}Gg(d);c=b}while(0);b=k[a+88>>2]|0;if(b)do{k[b+16>>2]=1;b=k[b+44>>2]|0}while((b|0)!=0);r=e;return c|0}function Hq(a,b,c){a=a|0;b=b|0;c=c|0;var 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;D=r;r=r+16|0;if((r|0)>=(s|0))ka();C=D;z=k[a+52>>2]|0;o=(k[z+36>>2]|0)+-4|0;v=b&65535;A=c&65535;u=A+v|0;B=k[a+56>>2]|0;if(j[z+22>>1]&4)kw(B+v|0,0,A|0)|0;y=l[a+6>>0]|0;z=y+1|0;g=z&65535;x=z&65535;if((i[B+(x+1)>>0]|0)==0?(i[B+x>>0]|0)==0:0){q=c&255;o=(c&65535)>>>8&255;p=u;n=0;h=0;x=23}else{q=g;x=6}a:do if((x|0)==6){while(1){x=0;f=q&65535;h=i[B+(f+1)>>0]|0;e=h&255;p=l[B+f>>0]<<8|e;g=q;q=p&65535;if(!(p>>>0<v>>>0&(p|0)!=0)){n=h;t=p;break}if(p>>>0<(f+4|0)>>>0){x=8;break}else x=6}if((x|0)==8){k[C>>2]=54420;k[C+4>>2]=10788;gd(11,13600,C);d=11;break}if(t>>>0>o>>>0){k[C>>2]=54423;k[C+4>>2]=10788;gd(11,13600,C);d=11;break}d=c&255;o=(c&65535)>>>8&255;h=(q&65535)>>>8&255;do if((t+-1|0)>>>0<(u+3|0)>>>0)if(u>>>0>t>>>0){k[C>>2]=54434;k[C+4>>2]=10788;gd(11,13600,C);d=11;break a}else{p=(l[B+(t+2)>>0]<<8|l[B+(t+3)>>0])+t|0;o=p-v|0;q=o&255;o=(o&65535)>>>8&255;n=i[B+(t+1)>>0]|0;h=i[B+t>>0]|0;d=e-u&255;break}else{q=d;p=u;d=0}while(0);do if(f>>>0>z>>>0?(w=(l[B+(f+2)>>0]<<8|l[B+(f+3)>>0])+f|0,(w+3|0)>=(v|0)):0)if((v|0)<(w|0)){k[C>>2]=54447;k[C+4>>2]=10788;gd(11,13600,C);d=11;break a}else{o=p-f|0;b=g;q=o&255;o=(o&65535)>>>8&255;d=(d&255)+v-w&255;break}while(0);f=B+(y+7)|0;e=i[f>>0]|0;if((e&255)<(d&255)){k[C>>2]=54453;k[C+4>>2]=10788;gd(11,13600,C);d=11;break}else{i[f>>0]=(e&255)-(d&255);x=23;break}}while(0);b:do if((x|0)==23){d=b&65535;e=B+(y+5)|0;f=B+(y+6)|0;do if((d|0)==(l[e>>0]<<8|l[f>>0]|0))if((g&65535|0)==(z|0)){i[B+z>>0]=h;i[B+(y+2)>>0]=n;i[e>>0]=p>>>8;i[f>>0]=p;break}else{k[C>>2]=54460;k[C+4>>2]=10788;gd(11,13600,C);d=11;break b}else{C=g&65535;i[B+C>>0]=(b&65535)>>>8;i[B+(C+1)>>0]=b;i[B+d>>0]=h;i[B+(d+1)>>0]=n;i[B+(d+2)>>0]=o;i[B+(d+3)>>0]=q}while(0);d=a+16|0;j[d>>1]=(m[d>>1]|0)+A;d=0}while(0);r=D;return d|0}function Iq(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,n=0,o=0,p=0,q=0,t=0,u=0;u=r;r=r+16|0;if((r|0)>=(s|0))ka();p=u;o=l[a+6>>0]|0;t=k[a+56>>2]|0;n=k[(k[a+52>>2]|0)+36>>2]|0;g=n+-4|0;a=o+1|0;while(1){h=t+a|0;j=(l[h>>0]|0)<<8|(l[t+(a+1)>>0]|0);if(!j){a=0;break}if((j|0)>(g|0)|(j|0)<(a+4|0)){q=4;break}e=t+(j+2)|0;f=t+(j+3)|0;a=(l[e>>0]|0)<<8|(l[f>>0]|0);if((a|0)<(b|0))a=j;else{m=e;g=j;q=6;break}}a:do if((q|0)==4){k[p>>2]=54252;k[p+4>>2]=10788;gd(11,13600,p);k[c>>2]=11;a=0}else if((q|0)==6){e=a-b|0;do if((e|0)>=4)if((a+g|0)>(n|0)){k[p>>2]=54275;k[p+4>>2]=10788;gd(11,13600,p);k[c>>2]=11;a=0;break a}else{i[m>>0]=e>>>8;i[f>>0]=e;break}else{a=t+(o+7)|0;if((l[a>>0]|0)<=59){o=t+g|0;o=l[o>>0]|l[o+1>>0]<<8;i[h>>0]=o;i[h+1>>0]=o>>8;i[a>>0]=(l[a>>0]|0)+e;break}if(!d){a=0;break a}k[d>>2]=1;a=0;break a}while(0);a=t+(e+g)|0}while(0);r=u;return a|0}function Jq(a){a=a|0;var b=0,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;D=r;r=r+16|0;if((r|0)>=(s|0))ka();B=D;y=k[a+56>>2]|0;A=l[a+6>>0]|0;u=m[a+14>>1]|0;v=j[a+18>>1]|0;o=v&65535;p=a+52|0;q=k[(k[p>>2]|0)+36>>2]|0;z=(o<<1)+u|0;t=q+-4|0;w=y+(A+5)|0;x=y+(A+6)|0;a:do if(v<<16>>16){n=q;v=0;c=y;d=0;while(1){f=(v<<1)+u|0;e=y+f|0;f=y+(f+1)|0;g=(l[e>>0]|0)<<8|(l[f>>0]|0);if((g|0)<(z|0)|(g|0)>(t|0)){C=3;break}h=(Qp(a,c+g|0)|0)&65535;b=n-h|0;if((b|0)<(z|0)|(h+g|0)>(q|0)){C=5;break}i[e>>0]=b>>>8;i[f>>0]=b;if(!d)if((b|0)==(g|0))d=0;else{d=k[(k[k[p>>2]>>2]|0)+200>>2]|0;c=(l[w>>0]|0)<<8|(l[x>>0]|0);pw(d+c|0,y+c|0,n-c|0)|0;c=d;C=9}else C=9;if((C|0)==9){C=0;pw(y+b|0,c+g|0,h|0)|0}v=v+1|0;if((v|0)>=(o|0)){C=11;break a}else n=b}if((C|0)==3){k[B>>2]=54184;k[B+4>>2]=10788;gd(11,13600,B);b=11;break}else if((C|0)==5){k[B>>2]=54196;k[B+4>>2]=10788;gd(11,13600,B);b=11;break}}else{b=q;C=11}while(0);if((C|0)==11){i[w>>0]=b>>>8;i[x>>0]=b;i[y+(A+1)>>0]=0;i[y+(A+2)>>0]=0;i[y+(A+7)>>0]=0;C=b-z|0;kw(y+z|0,0,C|0)|0;if((C|0)==(m[a+16>>1]|0|0))b=0;else{k[B>>2]=54221;k[B+4>>2]=10788;gd(11,13600,B);b=11}}r=D;return b|0}function Kq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+32|0;if((r|0)>=(s|0))ka();e=f;if((k[c>>2]|0)==0?(wp(a,b,e),d=j[e+18>>1]|0,d<<16>>16!=0):0){d=d&65535;Ep(k[a+52>>2]|0,(l[b+(d+1)>>0]|0)<<16|(l[b+d>>0]|0)<<24|(l[b+(d+2)>>0]|0)<<8|(l[b+(d+3)>>0]|0),3,k[a+72>>2]|0,c)}r=f;return}function Lq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0;do if(!(k[c>>2]|0)){d=k[a+52>>2]|0;f=k[a+56>>2]|0;h=k[b+56>>2]|0;e=l[a+6>>0]|0;g=(k[b+72>>2]|0)==1?100:0;j=l[f+(e+5)>>0]<<8|l[f+(e+6)>>0];pw(h+j|0,f+j|0,(k[d+36>>2]|0)-j|0)|0;pw(h+g|0,f+e|0,(m[a+18>>1]<<1)+(m[a+14>>1]|0)|0)|0;i[b>>0]=0;a=eq(b)|0;if(a){k[c>>2]=a;break}if(i[d+17>>0]|0){a=dq(b)|0;k[c>>2]=a}}while(0);return}function Mq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=l[a+6>>0]|0;t=k[a+56>>2]|0;h=k[a+52>>2]|0;o=k[h+36>>2]|0;n=t+o|0;e=k[a+64>>2]|0;h=k[(k[h>>2]|0)+200>>2]|0;p=t+(q+5)|0;r=t+(q+6)|0;s=(l[p>>0]|0)<<8|(l[r>>0]|0);pw(h+s|0,t+s|0,o-s|0)|0;s=t;if((b|0)>0){o=0;g=e;e=n;while(1){f=k[c+(o<<2)>>2]|0;if(f>>>0>t>>>0&f>>>0<n>>>0)f=h+(f-s)|0;u=m[d+(o<<1)>>1]|0;e=e+(0-u)|0;pw(e|0,f|0,u|0)|0;f=e-s|0;i[g>>0]=f>>>8;i[g+1>>0]=f;o=o+1|0;if((o|0)==(b|0))break;else g=g+2|0}}else e=n;d=a+18|0;j[d>>1]=b;i[a+1>>0]=0;i[t+(q+1)>>0]=0;i[t+(q+2)>>0]=0;i[t+(q+3)>>0]=(m[d>>1]|0)>>>8;i[t+(q+4)>>0]=j[d>>1];d=e-s|0;i[p>>0]=d>>>8;i[r>>0]=d;i[t+(q+7)>>0]=0;return}function Nq(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,n=0,o=0,p=0,q=0,r=0;r=k[a+56>>2]|0;p=r+(k[(k[a+52>>2]|0)+36>>2]|0)|0;n=r+((l[a+6>>0]|0)+8+(l[a+7>>0]|0))|0;a:do if((b|0)>0){o=r;q=0;e=0;i=0;j=0;while(1){g=k[c+(q<<2)>>2]|0;if(g>>>0>=n>>>0&g>>>0<p>>>0){f=m[d+(q<<1)>>1]|0;h=g+f|0;if((i|0)!=(h|0)){if(i)Hq(a,i-o&65535,j&65535)|0;if(h>>>0>p>>>0){e=0;break a}}else f=f+j|0;e=e+1|0}else{g=i;f=j}q=q+1|0;if((q|0)>=(b|0))break;else{i=g;j=f}}if(g)Hq(a,g-r&65535,f&65535)|0}else e=0;while(0);return e|0}function Oq(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,j=0,l=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();t=v;j=k[a+56>>2]|0;h=k[c>>2]|0;if(!(i[j+1>>0]|0))q=(i[j+2>>0]|0)!=0;else q=1;a:do if((e|0)>0){o=0;while(1){n=m[g+(o<<1)>>1]|0;if(q?(p=Iq(a,n,t,0)|0,(p|0)!=0):0)l=p;else{l=h+(0-n)|0;if(l>>>0<b>>>0){h=1;break a}else h=l}pw(l|0,k[f+(o<<2)>>2]|0,n|0)|0;n=l-j|0;i[d>>0]=n>>>8;i[d+1>>0]=n;o=o+1|0;if((o|0)>=(e|0)){u=9;break}else d=d+2|0}}else u=9;while(0);if((u|0)==9){k[c>>2]=h;h=0}r=v;return h|0}function Pq(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,l=0,m=0,n=0,o=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();l=m;d=k[a+44>>2]|0;g=a;e=k[g>>2]|0;g=k[g+4>>2]|0;a:do if(!d){j=a+40|0;d=k[j>>2]|0;f=((d|0)<0)<<31>>31;i=ww(e|0,g|0,d|0,f|0)|0;if(!i){h=a+8|0;h=iw(k[h>>2]|0,k[h+4>>2]|0,e|0,g|0)|0;n=L;o=k[a+24>>2]|0;d=yc[k[(k[o>>2]|0)+8>>2]&31](o,k[a+36>>2]|0,(n|0)>(f|0)|(n|0)==(f|0)&h>>>0>d>>>0?d:h,e,g)|0;if(d)break;d=k[j>>2]|0}h=d-i|0;if((h|0)>=(b|0)){k[c>>2]=(k[a+36>>2]|0)+i;d=a;b=ow(k[d>>2]|0,k[d+4>>2]|0,b|0,((b|0)<0)<<31>>31|0)|0;d=a;k[d>>2]=b;k[d+4>>2]=L;d=0;break}d=a+16|0;e=k[d>>2]|0;if((e|0)<(b|0)){e=e<<1;e=(e|0)<128?128:e;while(1)if((e|0)<(b|0))e=e<<1;else{g=e;break}f=a+28|0;e=wg(k[f>>2]|0,g,((g|0)<0)<<31>>31)|0;if(!e){d=7;break}k[d>>2]=g;k[f>>2]=e}else e=k[a+28>>2]|0;g=a+28|0;pw(e|0,(k[a+36>>2]|0)+i|0,h|0)|0;i=a;i=ow(k[i>>2]|0,k[i+4>>2]|0,h|0,((h|0)<0)<<31>>31|0)|0;d=a;k[d>>2]=i;k[d+4>>2]=L;d=b-h|0;if((d|0)>0){f=d;do{e=k[j>>2]|0;e=(f|0)>(e|0)?e:f;d=Pq(a,e,l)|0;if(d)break a;pw((k[g>>2]|0)+(b-f)|0,k[l>>2]|0,e|0)|0;f=f-e|0}while((f|0)>0)}k[c>>2]=k[g>>2];d=0}else{k[c>>2]=d+e;b=ow(e|0,g|0,b|0,((b|0)<0)<<31>>31|0)|0;d=a;k[d>>2]=b;k[d+4>>2]=L;d=0}while(0);r=m;return d|0}function Qq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,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,w=0,x=0,y=0,z=0;z=r;r=r+64|0;if((r|0)>=(s|0))ka();w=z+44|0;y=z;x=z+40|0;u=a+8|0;t=k[u>>2]|0;u=k[u+4>>2]|0;v=a+4|0;n=k[v>>2]|0;Up(k[a+48>>2]|0,y,k[(k[(k[a>>2]|0)+8>>2]|0)+12>>2]|0,t,u);m=n+8|0;n=n+12|0;o=y+24|0;p=y+16|0;q=a+16|0;while(1){e=k[(k[m>>2]|0)+4>>2]|0;f=k[n>>2]|0;g=k[f+(e*56|0)+20>>2]|0;if(!(k[f+(e*56|0)+24>>2]|0)){c=1;b=0;break}i=o;h=k[i>>2]|0;i=k[i+4>>2]|0;j=k[p>>2]|0;l=((g|0)<0)<<31>>31;b=g;d=l;c=0;do{c=c+1|0;b=rw(b|0,d|0,7)|0;d=L}while(((b|0)!=0|(d|0)!=0)&(c|0)<9);h=ow(h|0,i|0,g|0,l|0)|0;h=ow(h|0,L|0,j|0,((j|0)<0)<<31>>31|0)|0;c=ow(h|0,L|0,c|0,((c|0)<0)<<31>>31|0)|0;h=L;b=k[q>>2]|0;b=ow(b|0,((b|0)<0)<<31>>31|0,t|0,u|0)|0;d=L;if((h|0)>(d|0)|(h|0)==(d|0)&c>>>0>b>>>0){c=1;b=0;break}Vp(y,w,um(w,g,l)|0);Vp(y,k[f+(e*56|0)+32>>2]|0,g);b=$m(k[v>>2]|0,x)|0;if(b){c=0;break}}y=Wp(y,a+56|0)|0;r=z;return (c?y:b)|0}function Rq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();e=c;k[e>>2]=d;d=$k(a,13592,e)|0;rg(a,b);r=c;return d|0}function Sq(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=i[a>>0]|0;if(e<<24>>24!=0&(b|0)>0){g=0;do{if((e+-48&255)<10){f=0;do{f=(f*10|0)+-48+(e<<24>>24)|0;a=a+1|0;e=i[a>>0]|0}while((e+-48&255)<10);e=0}else{f=0;e=0}e=ks(f,e)|0;j[c+(g<<1)>>1]=e;a=(i[a>>0]|0)==32?a+1|0:a;g=g+1|0;e=i[a>>0]|0}while(e<<24>>24!=0&(g|0)<(b|0))}g=d+51|0;i[g>>0]=i[g>>0]&-69;a:do if(i[a>>0]|0){c=d+44|0;b:while(1){do if(!(Lh(13448,a,10352,0)|0)){if(Lh(13464,a,10352,0)|0){k[h>>2]=0;In(a+3|0,h)|0;e=k[h>>2]|0;e=ks(e,((e|0)<0)<<31>>31)|0;j[c>>1]=e;break}if(Lh(13480,a,10352,0)|0)i[g>>0]=i[g>>0]|64}else i[g>>0]=i[g>>0]|4;while(0);while(1){e=i[a>>0]|0;if(e<<24>>24==32|e<<24>>24==0)break;a=a+1|0}while(1){f=a+1|0;if(!(e<<24>>24))break a;else if(e<<24>>24!=32)continue b;e=i[f>>0]|0;a=f}}}while(0);r=l;return}function Tq(a){a=a|0;var b=0,c=0;c=a+8|0;b=k[c>>2]|0;if(!b){b=Ah(a)|0;k[c>>2]=b;if(b)Bh(b,155,0,0,0)|0;if((k[a+408>>2]|0)==0?(j[(k[a>>2]|0)+60>>1]&8)==0:0)i[a+23>>0]=1}return b|0}function Uq(a,b){a=a|0;b=b|0;var c=0;c=(k[a+32>>2]|0)+-1|0;if((c|0)>(k[(k[a+24>>2]|0)+88>>2]|0)?(i[(k[a+4>>2]|0)+(c*20|0)>>0]|0)==b<<24>>24:0){Eh(a,c);c=1}else c=0;return c|0}function Vq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=Tq(a)|0;f=d+32|0;ls(a,c,k[f>>2]|0,(e|0)==55&1,k[d>>2]|0);if(!(i[d+44>>0]&32)){d=j[d+38>>1]|0;Ch(g,Bh(g,e,b,k[f>>2]|0,c)|0,d,-14)}else{f=k[d+8>>2]|0;a:do if(!f)f=0;else while(1){if((i[f+51>>0]&3)==2)break a;f=k[f+20>>2]|0;if(!f){f=0;break}}while(0);Bh(g,e,b,k[f+40>>2]|0,c)|0;d=k[a+8>>2]|0;Ch(d,-1,ms(a,f)|0,-6)}return}function Wq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if((b|0)!=0?(i[b>>0]|0)==-97:0)Bh(k[a+8>>2]|0,33,k[b+28>>2]|0,c,0)|0;else f=4;if(((f|0)==4?(e=ns(a,b,c)|0,(e|0)!=(c|0)):0)?(d=k[a+8>>2]|0,(d|0)!=0):0)Bh(d,34,e,c,0)|0;return}function Xq(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,j=0;j=r;r=r+16|0;if((r|0)>=(s|0))ka();h=j;f=k[a>>2]|0;do if(((i[f+145>>0]|0)==0?(i[a+451>>0]|0)==0:0)?(g=k[f+284>>2]|0,(g|0)!=0):0){f=pc[g&7](k[f+288>>2]|0,b,c,d,e,k[a+492>>2]|0)|0;if((f|0)==0|(f|0)==2)break;else if((f|0)==1){yh(a,25216,h);k[a+12>>2]=23;f=1;break}else{yh(a,25232,h);k[a+12>>2]=1;f=1;break}}else f=0;while(0);r=j;return f|0}function Yq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;c=$q(k[a>>2]|0,c)|0;do if(c){d=Tq(a)|0;if((d|0)!=0?(Xq(a,32,k[37088+(b<<2)>>2]|0,c,0)|0)==0:0){Ch(d,Bh(d,2,b,0,0)|0,c,-1);break}rg(k[a>>2]|0,c)}while(0);return}function Zq(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,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;n=v+4|0;u=k[a>>2]|0;b=jr(a,b,c,n)|0;a:do if((b|0)>=0){o=(d|0)!=0;if(o?(k[c+4>>2]|0)!=0&(b|0)!=1:0){yh(a,36976,p);break}t=o?1:b;c=k[n>>2]|0;o=c;b=k[o+4>>2]|0;n=a+496|0;k[n>>2]=k[o>>2];k[n+4>>2]=b;n=$q(u,c)|0;if(n){b:do if((Qr(a,n)|0)==0?(m=(i[u+144>>0]|0)==1?1:d,q=u+16|0,h=k[(k[q>>2]|0)+(t<<4)>>2]|0,(Xq(a,18,(m|0)==1?13184:13208,0,h)|0)==0):0){d=(m|0)!=0;if(!e)b=d?4:2;else b=d?6:8;o=(f|0)!=0;if(!o?(Xq(a,b,n,0,h)|0)!=0:0)break;do if(!(i[a+451>>0]|0)){d=k[(k[q>>2]|0)+(t<<4)>>2]|0;if(Ln(a)|0)break b;if(!(di(u,n,d)|0)){if(!(gq(u,n,d)|0))break;k[p>>2]=n;yh(a,37048,p);break b}if(!g){k[p>>2]=c;yh(a,37024,p);break b}else{Fr(a,t);break b}}while(0);m=rh(u,76,0)|0;if(!m){i[u+65>>0]=1;k[a+12>>2]=7;q=a+64|0;k[q>>2]=(k[q>>2]|0)+1;break}h=m+0|0;d=h+76|0;do{i[h>>0]=0;h=h+1|0}while((h|0)<(d|0));k[m>>2]=n;j[m+36>>1]=-1;h=k[(k[q>>2]|0)+(t<<4)+12>>2]|0;k[m+68>>2]=h;j[m+40>>1]=1;j[m+28>>1]=200;k[a+484>>2]=m;if((i[a+18>>0]|0)==0?(dw(n,26576)|0)==0:0)k[h+72>>2]=m;if(i[u+145>>0]|0)break a;c=Tq(a)|0;if(!c)break a;q=k[a+408>>2]|0;Fr(a,t);h=1<<t;q=((q|0)==0?a:q)+328|0;k[q>>2]=k[q>>2]|h;if(o)Bh(c,146,0,0,0)|0;m=a+72|0;b=k[m>>2]|0;n=b+1|0;k[a+384>>2]=n;o=b+2|0;k[a+388>>2]=o;b=b+3|0;k[m>>2]=b;Bh(c,51,t,b,2)|0;m=c+96|0;k[m>>2]=k[m>>2]|h;m=Bh(c,45,b,0,0)|0;Bh(c,25,(k[u+24>>2]&32768|0)!=0?1:4,b,0)|0;Bh(c,52,t,2,b)|0;Bh(c,25,l[u+62>>0]|0,b,0)|0;Bh(c,52,t,5,b)|0;d=c+32|0;h=k[d>>2]|0;if(h>>>0>m>>>0)k[(k[c+4>>2]|0)+(m*20|0)+8>>2]=h;k[(k[c+24>>2]|0)+88>>2]=h+-1;if(!(f|e)){q=Bh(c,121,t,o,0)|0;k[a+416>>2]=q}else Bh(c,25,0,o,0)|0;os(a,t);Bh(c,74,0,n,0)|0;Bh(c,28,0,b,0)|0;Bh(c,75,0,b,n)|0;h=k[c+4>>2]|0;if(h)i[h+(((k[d>>2]|0)+-1|0)*20|0)+3>>0]=8;Bh(c,61,0,0,0)|0;break a}while(0);rg(u,n)}}while(0);r=v;return}function _q(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,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;O=r;r=r+176|0;if((r|0)>=(s|0))ka();J=O+80|0;G=O+168|0;D=O;E=O+136|0;F=O+112|0;K=k[a>>2]|0;a:do if((!((c|0)==0&(e|0)==0)?(L=K+65|0,(i[L>>0]|0)==0):0)?(M=a+484|0,N=k[M>>2]|0,(N|0)!=0):0){I=K+145|0;if(i[I>>0]|0)k[N+32>>2]=k[K+140>>2];b:do if(d&32){n=N+44|0;h=l[n>>0]|0;if(h&8){yh(a,36584,J);break a}if(!(h&4)){k[J>>2]=k[N>>2];yh(a,36640,J);break}i[n>>0]=h|32;o=k[a+8>>2]|0;n=k[a+416>>2]|0;if(n){if((n|0)<0)n=(k[o+32>>2]|0)+-1|0;if(!(i[(k[o>>2]|0)+65>>0]|0))n=(k[o+4>>2]|0)+(n*20|0)|0;else n=29120;i[n>>0]=120}n=k[a+420>>2]|0;if(n){if((n|0)<0)n=(k[o+32>>2]|0)+-1|0;if(!(i[(k[o>>2]|0)+65>>0]|0))h=(k[o+4>>2]|0)+(n*20|0)|0;else h=29120;i[h>>0]=16}h=N+36|0;if((j[h>>1]|0)>-1){n=qr(a,0,0)|0;if(!n)break;z=ph(k[a>>2]|0,k[(k[N+4>>2]|0)+((j[h>>1]|0)*24|0)>>2]|0)|0;A=k[n+4>>2]|0;k[A+4>>2]=z;i[A+12>>0]=i[a+448>>0]|0;n=er(a,0,0,0,n,l[N+45>>0]|0,0,0,0,0)|0;if(!n)break;u=n+51|0;i[u>>0]=i[u>>0]&-4|2;j[h>>1]=-1;u=j[n+46>>1]|0}else{n=k[N+8>>2]|0;c:do if(!n)n=0;else while(1){if((i[n+51>>0]&3)==2)break c;n=k[n+20>>2]|0;if(!n){n=0;break}}while(0);v=n+46|0;o=j[v>>1]|0;if((o&65535)>1){t=k[n+4>>2]|0;q=n+48|0;u=1;h=1;do{f=j[t+(u<<1)>>1]|0;p=h;g=t;while(1){if((p|0)<=0){C=36;break}if((j[g>>1]|0)==f<<16>>16){C=35;break}else{p=p+-1|0;g=g+2|0}}if((C|0)==35){C=0;j[q>>1]=(j[q>>1]|0)+-1<<16>>16}else if((C|0)==36){C=0;j[t+(h<<1)>>1]=f;o=j[v>>1]|0;h=h+1|0}u=u+1|0}while((u|0)<(o&65535|0))}else h=1;u=h&65535;j[v>>1]=u}p=n+51|0;o=i[p>>0]|32;i[p>>0]=o;A=u&65535;if(!(i[K+147>>0]|0)){if(u<<16>>16){o=k[n+4>>2]|0;h=k[N+4>>2]|0;g=0;do{i[h+((j[o+(g<<1)>>1]|0)*24|0)+20>>0]=1;g=g+1|0}while((g|0)<(A|0));o=i[p>>0]|0}i[p>>0]=o|8}k[n+40>>2]=k[N+32>>2];p=k[N+8>>2]|0;if(p){x=u<<16>>16==0;y=n+4|0;z=n+32|0;do{d:do if((i[p+51>>0]&3)!=2){do if(x)o=j[p+46>>1]|0;else{q=k[p+4>>2]|0;o=j[p+46>>1]|0;g=o&65535;f=k[y>>2]|0;w=0;h=0;do{t=j[f+(w<<1)>>1]|0;v=g;u=q;while(1){if((v|0)<=0){u=1;break}if((j[u>>1]|0)==t<<16>>16){u=0;break}else{v=v+-1|0;u=u+2|0}}h=u+h|0;w=w+1|0}while((w|0)<(A|0));g=p+46|0;if(!h)break;if(ps(K,p,(o&65535)+h|0)|0)break b;if(x)break d;t=j[g>>1]|0;w=p+4|0;f=p+32|0;v=t;u=0;t=t&65535;while(1){o=k[w>>2]|0;h=j[(k[y>>2]|0)+(u<<1)>>1]|0;v=v&65535;q=o;while(1){if((v|0)<=0){C=63;break}if((j[q>>1]|0)==h<<16>>16)break;else{v=v+-1|0;q=q+2|0}}if((C|0)==63){C=0;j[o+(t<<1)>>1]=h;k[(k[f>>2]|0)+(t<<2)>>2]=k[(k[z>>2]|0)+(u<<2)>>2];t=t+1|0}u=u+1|0;if((u|0)>=(A|0))break d;v=j[g>>1]|0}}while(0);j[p+48>>1]=o}while(0);p=k[p+20>>2]|0}while((p|0)!=0)}v=N+38|0;o=j[v>>1]|0;h=o<<16>>16;if((A|0)>=(h|0)){j[n+48>>1]=o;break}if((ps(K,n,h)|0)==0?(B=j[v>>1]|0,B<<16>>16>0):0){q=n+4|0;u=n+32|0;o=B;t=0;n=A;do{g=k[q>>2]|0;p=n;h=g;while(1){if((p|0)<=0){C=74;break}if((j[h>>1]|0)==(t|0))break;else{p=p+-1|0;h=h+2|0}}if((C|0)==74){C=0;j[g+(n<<1)>>1]=t;k[(k[u>>2]|0)+(n<<2)>>2]=11152;o=j[v>>1]|0;n=n+1|0}t=t+1|0}while((t|0)<(o<<16>>16|0))}}while(0);C=N+68|0;n=k[C>>2]|0;e:do if(n){h=k[K+20>>2]|0;if((h|0)>0){g=k[K+16>>2]|0;o=0;while(1){f=o+1|0;if((k[g+(o<<4)+12>>2]|0)==(n|0))break e;if((f|0)<(h|0))o=f;else{o=f;break}}}else o=0}else o=-1e6;while(0);g=k[N+24>>2]|0;f:do if(g){k[E+0>>2]=0;k[E+4>>2]=0;k[E+8>>2]=0;k[E+12>>2]=0;k[E+16>>2]=0;k[E+20>>2]=0;k[E+24>>2]=0;k[E+28>>2]=0;n=D+0|0;h=n+80|0;do{k[n>>2]=0;n=n+4|0}while((n|0)<(h|0));k[D>>2]=1;k[D+16>>2]=k[N>>2];k[D+24>>2]=N;k[D+48>>2]=-1;k[E>>2]=a;k[E+4>>2]=D;j[E+28>>1]=4;n=g+4|0;if((k[g>>2]|0)>0){h=0;do{if(qs(E,k[(k[n>>2]|0)+(h*20|0)>>2]|0)|0)break f;h=h+1|0}while((h|0)<(k[g>>2]|0))}}while(0);A=N+38|0;f=j[A>>1]|0;if(f<<16>>16>0){n=f<<16>>16;h=k[N+4>>2]|0;g=0;while(1){g=(l[h+22>>0]|0)+g|0;n=n+-1|0;if((n|0)<=0)break;else h=h+24|0}}else g=0;g=ks(((m[N+36>>1]|0)>>>15&65535)+g<<2,0)|0;j[N+42>>1]=g;g=k[N+8>>2]|0;if(g)do{rs(g);g=k[g+20>>2]|0}while((g|0)!=0);if(!(i[I>>0]|0)){B=Tq(a)|0;if(!B)break;Bh(B,61,0,0,0)|0;y=(k[N+12>>2]|0)==0;h=y?36672:36680;y=y?31232:35480;do if(!e){g=d<<24>>24==0?c:a+504|0;e=k[g>>2]|0;n=k[a+496>>2]|0;f=e-n|0;if((i[e>>0]|0)!=59)f=(k[g+4>>2]|0)+f|0;k[J>>2]=h;k[J+4>>2]=f;k[J+8>>2]=n;n=a+388|0;f=N;h=zh(K,36688,J)|0}else{n=a+388|0;Bh(B,55,1,k[n>>2]|0,o)|0;h=k[B+4>>2]|0;if(h)i[h+(((k[B+32>>2]|0)+-1|0)*20|0)+3>>0]=4;k[a+68>>2]=2;i[F>>0]=14;k[F+4>>2]=1;i[F+1>>0]=0;k[F+8>>2]=0;k[F+12>>2]=0;nr(a,e,F)|0;Bh(B,61,1,0,0)|0;if(!(k[a+64>>2]|0)){f=ss(a,e)|0;if(!f)break a;F=f+38|0;j[A>>1]=j[F>>1]|0;e=f+4|0;k[N+4>>2]=k[e>>2];j[F>>1]=0;k[e>>2]=0;pg(K,f)}z=N+4|0;w=j[A>>1]|0;if(w<<16>>16>0){q=w<<16>>16;t=0;h=0;u=k[z>>2]|0;while(1){f=k[u>>2]|0;g=0;while(1){p=i[f>>0]|0;if(p<<24>>24==34)g=g+1|0;else if(!(p<<24>>24))break;f=f+1|0;g=g+1|0}h=h+7+g|0;t=t+1|0;if((t|0)==(q|0))break;else u=u+24|0}p=h+2|0}else p=2;f=k[N>>2]|0;h=0;while(1){g=i[f>>0]|0;if(!(g<<24>>24))break;else if(g<<24>>24==34)h=h+1|0;f=f+1|0;h=h+1|0}u=h+p|0;x=(u|0)<50;p=x?10360:36880;v=x?20240:36888;x=x?33952:36896;u=((w<<16>>16)*6|0)+35+u|0;h=vg(u,((u|0)<0)<<31>>31)|0;if(!h){i[L>>0]=1;f=N;h=0;break}fd(u,h,36904,J)|0;g=h;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;k[G>>2]=g-h&1073741823;ts(h,G,k[N>>2]|0);f=k[G>>2]|0;q=f+1|0;k[G>>2]=q;i[h+f>>0]=40;f=u-q|0;g=h+q|0;if((j[A>>1]|0)>0){w=0;t=k[z>>2]|0;while(1){fd(f,g,p,J)|0;g=h+q|0;if(!g)g=0;else{p=g;while(1)if(!(i[p>>0]|0))break;else p=p+1|0;g=p-g&1073741823}k[G>>2]=g+q;ts(h,G,k[t>>2]|0);g=k[36920+((i[t+21>>0]|0)+-65<<2)>>2]|0;p=g;while(1)if(!(i[p>>0]|0))break;else p=p+1|0;q=p-g&1073741823;p=k[G>>2]|0;pw(h+p|0,g|0,q|0)|0;q=p+q|0;k[G>>2]=q;p=w+1|0;f=u-q|0;g=h+q|0;if((p|0)<(j[A>>1]|0)){w=p;t=t+24|0;p=v}else break}}k[J>>2]=x;fd(f,g,10344,J)|0;f=N}while(0);g=K+16|0;d=k[f>>2]|0;F=k[n>>2]|0;e=k[a+384>>2]|0;k[J>>2]=k[(k[g>>2]|0)+(o<<4)>>2];k[J+4>>2]=(o|0)==1?13184:13208;k[J+8>>2]=y;k[J+12>>2]=d;k[J+16>>2]=d;k[J+20>>2]=F;k[J+24>>2]=h;k[J+28>>2]=e;Gr(a,36704,J);rg(K,h);Ir(a,o);if((i[N+44>>0]&8)!=0?(H=k[g>>2]|0,(k[(k[H+(o<<4)+12>>2]|0)+72>>2]|0)==0):0){k[J>>2]=k[H+(o<<4)>>2];Gr(a,36792,J)}k[J>>2]=k[f>>2];Nr(B,o,zh(K,36840,J)|0);if(!(i[I>>0]|0))break}else f=N;if(Nk((k[C>>2]|0)+8|0,k[f>>2]|0,N)|0){i[L>>0]=1;break}k[M>>2]=0;e=K+24|0;k[e>>2]=k[e>>2]|2;if(!(k[N+12>>2]|0)){e=k[a+496>>2]|0;e=(Sn(e,(k[((k[b>>2]|0)==0?c:b)>>2]|0)-e|0)|0)+13|0;k[N+48>>2]=e}}while(0);r=O;return}function $q(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b)c=0;else{d=k[b>>2]|0;b=k[b+4>>2]|0;if((d|0)!=0?(c=ow(b|0,0,1,0)|0,c=rh(a,c,L)|0,(c|0)!=0):0){pw(c|0,d|0,b|0)|0;i[c+b>>0]=0}else c=0;qo(c)}return c|0}function ar(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;j=r;r=r+16|0;if((r|0)>=(s|0))ka();h=j;a:do if(a){d=i[a>>0]|0;b:do if(!(d<<24>>24)){c=67;d=0}else{f=d;c=67;e=0;d=0;do{e=l[9328+(f&255)>>0]|0|e<<8;a=a+1|0;if((e|0)==1651273570)if(c<<24>>24==69|c<<24>>24==67){m=i[a>>0]|0;f=m;c=65;e=1651273570;d=m<<24>>24==40?a:d}else g=14;else if((e|0)==1718382433)if(c<<24>>24==67){c=69;e=1718382433;g=5}else g=13;else if((e|0)==1667785074){c=66;e=1667785074;d=a;g=5}else if((e|0)==1952807028){c=66;g=5}else if((e|0)==1685026146)if(c<<24>>24==67){c=69;e=1685026146;g=5}else g=13;else if((e|0)==1919246700)if(c<<24>>24==67){c=69;e=1919246700;g=5}else g=14;else if((e|0)!=1668050786)if((e&16777215|0)==6909556){c=68;break b}else g=5;else{c=66;g=5}if((g|0)==13)g=5;else if((g|0)==14)g=5;if((g|0)==5){g=0;f=i[a>>0]|0}}while(f<<24>>24!=0)}while(0);if((b|0)!=0?(i[b>>0]=1,c<<24>>24<67):0){if(!d){i[b>>0]=5;break}a=i[d>>0]|0;if(a<<24>>24){while(1){if(((a&255)+-48|0)>>>0<10)break;d=d+1|0;a=i[d>>0]|0;if(!(a<<24>>24))break a}k[h>>2]=0;In(d,h)|0;d=((k[h>>2]|0)/4|0)+1|0;d=(d|0)>255?255:d;k[h>>2]=d;i[b>>0]=d}}}else c=67;while(0);r=j;return c|0}function br(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;m=r;r=r+32|0;if((r|0)>=(s|0))ka();g=m;h=k[a>>2]|0;e=k[a+484>>2]|0;do if(e){d=(j[e+38>>1]|0)+-1|0;f=k[e+4>>2]|0;n=k[b>>2]|0;o=(l[h+145>>0]|0)+4|0;k[g+0>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;k[g+16>>2]=0;k[g+20>>2]=0;e=g+20|0;i[e>>0]=o;k[g>>2]=78;k[g+4>>2]=79;k[g+24>>2]=0;ws(g,n)|0;if(!(i[e>>0]|0)){k[g>>2]=k[f+(d*24|0)>>2];yh(a,36480,g);break}e=f+(d*24|0)+4|0;Lk(h,k[e>>2]|0);n=Rr(h,k[b>>2]|0,1,0)|0;k[e>>2]=n;f=f+(d*24|0)+8|0;rg(h,k[f>>2]|0);d=k[b+4>>2]|0;e=(k[b+8>>2]|0)-d|0;if((d|0)!=0?(c=ow(e|0,((e|0)<0)<<31>>31|0,1,0)|0,c=rh(h,c,L)|0,(c|0)!=0):0){pw(c|0,d|0,e|0)|0;i[c+e>>0]=0}else c=0;k[f>>2]=c}while(0);Lk(h,k[b>>2]|0);r=m;return}function cr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=r;r=r+16|0;if((r|0)>=(s|0))ka();g=h;if((b|0)==72&(c|0)!=0&(d|0)!=0?(k[a+64>>2]|0)==0:0)b=xs(k[a>>2]|0,c,d)|0;else{b=sr(k[a>>2]|0,b,e,1)|0;ys(k[a>>2]|0,b,c,d)}if((b|0)!=0?(f=k[(k[a>>2]|0)+100>>2]|0,(f|0)<(k[b+24>>2]|0)):0){k[g>>2]=f;yh(a,27152,g)}r=h;return b|0}function dr(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;A=r;r=r+16|0;if((r|0)>=(s|0))ka();z=A;x=k[a+484>>2]|0;do if((x|0)!=0?(i[a+451>>0]|0)==0:0){y=x+44|0;g=l[y>>0]|0;if(g&4){k[z>>2]=k[x>>2];yh(a,36376,z);break}v=g|4;i[y>>0]=v;w=(b|0)==0;if(w){g=(j[x+38>>1]|0)+-1|0;t=k[x+4>>2]|0;f=t+(g*24|0)+23|0;i[f>>0]=l[f>>0]|1;f=g;h=1;g=k[t+(g*24|0)+12>>2]|0}else{u=k[b>>2]|0;if((u|0)>0){p=b+4|0;q=x+4|0;o=j[x+38>>1]|0;t=0;g=0;do{a:do if(o<<16>>16>0){m=k[(k[p>>2]|0)+(t*20|0)+4>>2]|0;n=k[q>>2]|0;h=0;while(1){f=h+1|0;if(!(id(m,k[n+(h*24|0)>>2]|0)|0))break;if((f|0)<(o<<16>>16|0))h=f;else break a}f=n+(h*24|0)+23|0;i[f>>0]=l[f>>0]|1;f=h;g=k[n+(h*24|0)+12>>2]|0}else f=0;while(0);t=t+1|0}while((t|0)!=(u|0))}else{f=-1;g=0}h=(u|0)==1}if(h&(g|0)!=0?(id(g,11144)|0|e|0)==0:0){j[x+36>>1]=f;i[x+45>>0]=c;i[y>>0]=v|d<<3;if(w){b=0;break}i[a+448>>0]=i[(k[b+4>>2]|0)+12>>0]|0;break}if(d){yh(a,36424,z);break}g=k[a+8>>2]|0;f=(g|0)!=0;if(f){t=Bh(g,156,0,0,0)|0;k[a+420>>2]=t}b=er(a,0,0,0,b,c,0,0,e,0)|0;if((b|0)!=0?(t=b+51|0,i[t>>0]=i[t>>0]&-4|2,f):0){b=k[a+420>>2]|0;f=k[g+32>>2]|0;if(f>>>0>b>>>0)k[(k[g+4>>2]|0)+(b*20|0)+8>>2]=f;k[(k[g+24>>2]|0)+88>>2]=f+-1;b=0}else b=0}while(0);Sk(k[a>>2]|0,b);r=A;return}function er(a,b,c,d,e,f,g,h,n,o){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;n=n|0;o=o|0;var 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,S=0,T=0,U=0,V=0;V=r;r=r+144|0;if((r|0)>=(s|0))ka();S=V;B=V+112|0;u=V+88|0;Q=V+84|0;K=V+80|0;U=k[a>>2]|0;k[Q>>2]=0;k[K>>2]=0;P=U+65|0;a:do if(((i[P>>0]|0)==0?(i[a+451>>0]|0)==0:0)?(Ln(a)|0)==0:0){R=(d|0)!=0;b:do if(R){b=jr(a,b,c,Q)|0;if((b|0)<0){p=0;c=0;break a}if((i[U+145>>0]|0)==0?(p=Or(a,d)|0,(k[c+4>>2]|0)==0&(p|0)!=0):0)b=(k[p+68>>2]|0)==(k[(k[U+16>>2]|0)+28>>2]|0)?1:b;c=k[Q>>2]|0;p=k[a>>2]|0;k[u>>2]=a;p=k[p+16>>2]|0;k[u+12>>2]=k[p+(b<<4)>>2];k[u+4>>2]=k[p+(b<<4)+12>>2];k[u+16>>2]=20632;k[u+20>>2]=c;p=(b|0)==1;k[u+8>>2]=p&1;Pr(u,d)|0;t=Zr(a,0,d+8|0)|0;if(!t){p=0;c=0;break a}if(p?(k[(k[U+16>>2]|0)+28>>2]|0)!=(k[t+68>>2]|0):0){k[S>>2]=k[t>>2];yh(a,35920,S);p=0;c=0;break a}if((i[t+44>>0]&32)!=0?(q=k[t+8>>2]|0,(q|0)!=0):0){p=q;while(1){if((i[p+51>>0]&3)==2){q=b;J=p;u=t;break b}p=k[p+20>>2]|0;if(!p){q=b;J=0;u=t;break}}}else{q=b;J=0;u=t}}else{u=k[a+484>>2]|0;if(!u){p=0;c=0;break a}b=k[u+68>>2]|0;if(b){p=k[U+20>>2]|0;if((p|0)>0){c=k[U+16>>2]|0;t=0;while(1){q=t+1|0;if((k[c+(t<<4)+12>>2]|0)==(b|0)){c=0;q=t;J=0;break b}if((q|0)<(p|0))t=q;else{c=0;J=0;break}}}else{c=0;q=0;J=0}}else{c=0;q=-1e6;J=0}}while(0);O=U+16|0;C=k[O>>2]|0;b=C+(q<<4)|0;x=k[u>>2]|0;if(((Kc(x,25568,7)|0)==0?(i[U+145>>0]|0)==0:0)?(Kc(x+7|0,35976,9)|0)!=0:0){k[S>>2]=x;yh(a,35992,S);p=0;c=0;break}if(k[u+12>>2]|0){yh(a,36024,S);p=0;c=0;break}N=u+44|0;if(i[N>>0]&16){yh(a,36056,S);p=0;c=0;break}D=(c|0)==0;if(!D){c=$q(U,c)|0;if(!c){p=0;c=0;break}if(Qr(a,c)|0){p=0;break}if((i[U+145>>0]|0)==0?(di(U,c,0)|0)!=0:0){k[S>>2]=c;yh(a,36096,S);p=0;break}if(gq(U,c,k[b>>2]|0)|0)if(!o){k[S>>2]=c;yh(a,36136,S);p=0;break}else{Fr(a,q);p=0;break}else t=c}else{p=k[u+8>>2]|0;if(!p)t=1;else{t=1;do{t=t+1|0;p=k[p+20>>2]|0}while((p|0)!=0)}k[S>>2]=x;k[S+4>>2]=t;t=zh(U,36160,S)|0;if(!t){p=0;c=0;break}}b=k[b>>2]|0;p=(q|0)==1;L=p?13184:13208;if((Xq(a,18,L,0,b)|0)==0?(Xq(a,p?3:1,t,k[u>>2]|0,b)|0)==0:0){if(!e){e=qr(a,0,0)|0;if(!e){e=0;p=0;c=t;break}F=ph(k[a>>2]|0,k[(k[u+4>>2]|0)+(((j[u+38>>1]|0)+-1|0)*24|0)>>2]|0)|0;G=k[e+4>>2]|0;k[G+4>>2]=F;i[G+12>>0]=n}A=k[e>>2]|0;if((A|0)>0){x=k[e+4>>2]|0;v=0;b=0;do{p=k[x+(v*20|0)>>2]|0;if(p){c=k[p+8>>2]|0;if(!c)p=1;else{p=c;while(1)if(!(i[p>>0]|0))break;else p=p+1|0;p=(p-c&1073741823)+1|0}b=p+b|0}v=v+1|0}while((v|0)<(A|0));c=b}else c=0;if(!t)p=0;else{b=t;while(1)if(!(i[b>>0]|0))break;else b=b+1|0;p=b-t&1073741823}F=(J|0)!=0;if(F)b=m[J+46>>1]|0;else b=1;M=zs(U,A+b&65535,c+1+p|0,K)|0;c:do if(!(i[P>>0]|0)){E=k[K>>2]|0;k[M>>2]=E;I=p+1|0;z=E+I|0;k[K>>2]=z;pw(E|0,t|0,I|0)|0;k[M+12>>2]=u;I=M+50|0;i[I>>0]=f;E=M+51|0;i[E>>0]=i[E>>0]&-12|((f|0)!=0&1)<<3&255|D&1;H=M+24|0;k[H>>2]=k[(k[O>>2]|0)+(q<<4)+12>>2];b=k[e>>2]|0;G=M+46|0;j[G>>1]=b;if(h){k[B+0>>2]=0;k[B+4>>2]=0;k[B+8>>2]=0;k[B+12>>2]=0;k[B+16>>2]=0;k[B+20>>2]=0;k[B+24>>2]=0;k[B+28>>2]=0;x=S+0|0;c=x+80|0;do{k[x>>2]=0;x=x+4|0}while((x|0)<(c|0));k[S>>2]=1;k[S+16>>2]=k[u>>2];k[S+24>>2]=u;k[S+48>>2]=-1;k[B>>2]=a;k[B+4>>2]=S;j[B+28>>1]=16;qs(B,h)|0;k[M+36>>2]=h;b=k[e>>2]|0}w=(l[(k[C+(q<<4)+12>>2]|0)+76>>0]|0)>3;d:do if((b|0)>0){D=u+4|0;C=u+38|0;B=M+4|0;h=U+145|0;b=M+32|0;v=M+28|0;c=0;n=k[e+4>>2]|0;while(1){p=k[n+4>>2]|0;x=j[C>>1]|0;e:do if(x<<16>>16>0){A=0;y=k[D>>2]|0;while(1){if(!(id(p,k[y>>2]|0)|0)){o=A;break e}A=A+1|0;if((A|0)<(x<<16>>16|0))y=y+24|0;else{o=A;break}}}else o=0;while(0);if((o|0)>=(x<<16>>16|0))break;j[(k[B>>2]|0)+(c<<1)>>1]=o;A=k[n>>2]|0;if(!A){A=k[(k[D>>2]|0)+(o*24|0)+16>>2]|0;A=(A|0)!=0?A:11152}else{y=k[A+8>>2]|0;if(!y)A=1;else{A=y;while(1)if(!(i[A>>0]|0))break;else A=A+1|0;A=(A-y&1073741823)+1|0}pw(z|0,y|0,A|0)|0;y=k[K>>2]|0;z=y+A|0;k[K>>2]=z;A=y}if((i[h>>0]|0)==0?(hr(a,A)|0)==0:0){c=0;p=0;T=134;break c}k[(k[b>>2]|0)+(c<<2)>>2]=A;i[(k[v>>2]|0)+c>>0]=w?i[n+12>>0]|0:0;if(!(i[(k[D>>2]|0)+(o*24|0)+20>>0]|0))i[E>>0]=i[E>>0]&-9;c=c+1|0;if((c|0)<(k[e>>2]|0))n=n+20|0;else break d}k[S>>2]=k[u>>2];k[S+4>>2]=p;yh(a,36184,S);i[a+17>>0]=1;c=0;p=0;T=134;break c}else c=0;while(0);do if(F){w=J+46|0;x=j[w>>1]|0;if(!(x<<16>>16))break;B=J+4|0;C=M+4|0;D=M+48|0;n=J+32|0;o=M+32|0;b=J+28|0;v=M+28|0;h=0;do{y=j[(k[B>>2]|0)+(h<<1)>>1]|0;p=k[C>>2]|0;A=m[G>>1]|0;z=p;while(1){if((A|0)<=0){T=92;break}if((j[z>>1]|0)==y<<16>>16){T=91;break}else{A=A+-1|0;z=z+2|0}}if((T|0)==91){T=0;j[D>>1]=(j[D>>1]|0)+-1<<16>>16}else if((T|0)==92){T=0;j[p+(c<<1)>>1]=y;k[(k[o>>2]|0)+(c<<2)>>2]=k[(k[n>>2]|0)+(h<<2)>>2];i[(k[v>>2]|0)+c>>0]=i[(k[b>>2]|0)+h>>0]|0;x=j[w>>1]|0;c=c+1|0}h=h+1|0}while((h|0)<(x&65535|0))}else{j[(k[M+4>>2]|0)+(c<<1)>>1]=-1;k[(k[M+32>>2]|0)+(c<<2)>>2]=11152}while(0);hq(M);h=a+484|0;b=k[h>>2]|0;if(!b){rs(M);b=k[h>>2]|0}f:do if((u|0)==(b|0)){p=k[u+8>>2]|0;if(!p)break;y=j[G>>1]|0;z=M+4|0;A=M+32|0;while(1){if((j[p+46>>1]|0)==y<<16>>16){g:do if(!(y<<16>>16)){h=0;b=0}else{v=k[p+4>>2]|0;w=k[z>>2]|0;x=p+32|0;b=0;while(1){if((j[v+(b<<1)>>1]|0)!=(j[w+(b<<1)>>1]|0)){h=y;break g}h=k[(k[x>>2]|0)+(b<<2)>>2]|0;c=k[(k[A>>2]|0)+(b<<2)>>2]|0;if((h|0)!=(c|0)?(id(h,c)|0)!=0:0){h=y;break g}b=b+1|0;if((b|0)>=(y&65535|0)){h=y;break}}}while(0);if((b|0)==(h&65535|0))break}p=k[p+20>>2]|0;if(!p)break f}b=p+50|0;c=i[b>>0]|0;h=i[I>>0]|0;if(c<<24>>24==h<<24>>24){c=0;break c}if(!(c<<24>>24==10|h<<24>>24==10)){k[S>>2]=0;yh(a,36216,S);c=i[b>>0]|0}if(c<<24>>24!=10){c=0;T=134;break c}i[b>>0]=i[I>>0]|0;c=0;break c}while(0);c=U+145|0;do if(!(i[c>>0]|0)){if(k[a+64>>2]|0){T=126;break}if(!((i[N>>0]&32)==0|R)){T=126;break}p=a+72|0;h=(k[p>>2]|0)+1|0;k[p>>2]=h;p=Tq(a)|0;if(!p){c=0;p=0;T=134;break c}G=k[a+408>>2]|0;G=(G|0)==0?a:G;Fr(a,q);F=G+328|0;k[F>>2]=k[F>>2]|1<<q;G=G+20|0;i[G>>0]=l[G>>0]|1;Bh(p,120,q,h,0)|0;if(!g)b=0;else{b=k[k[Q>>2]>>2]|0;G=(k[a+504>>2]|0)-b+(k[a+508>>2]|0)|0;F=G+-1|0;G=(i[b+F>>0]|0)==59?F:G;k[S>>2]=(f|0)==0?10360:36288;k[S+4>>2]=G;k[S+8>>2]=b;b=zh(U,36264,S)|0}F=k[M>>2]|0;G=k[u>>2]|0;k[S>>2]=k[(k[O>>2]|0)+(q<<4)>>2];k[S+4>>2]=L;k[S+8>>2]=F;k[S+12>>2]=G;k[S+16>>2]=h;k[S+20>>2]=b;Gr(a,36296,S);rg(U,b);if(!R)break;As(a,M,h);Ir(a,q);k[S>>2]=k[M>>2];Nr(p,q,zh(U,36344,S)|0);Bh(p,144,0,0,0)|0;T=126}else{if(Nk((k[H>>2]|0)+24|0,k[M>>2]|0,M)|0){i[P>>0]=1;c=0;p=0;T=134;break c}G=U+24|0;k[G>>2]=k[G>>2]|2;if(!R)break;k[M+40>>2]=k[U+140>>2];T=126}while(0);if((T|0)==126?!((i[c>>0]|0)!=0|(d|0)==0):0){c=0;p=0;T=134;break}c=k[u+8>>2]|0;do if((f|0)==5){if(!c){c=0;break}if((i[c+50>>0]|0)==5)break;do{p=c+20|0;c=k[p>>2]|0;if(!c){c=0;break}}while((i[c+50>>0]|0)!=5);k[M+20>>2]=c;k[p>>2]=M;h=0;p=M;c=t;break a}while(0);k[M+20>>2]=c;k[u+8>>2]=M;h=0;p=M;c=t;break a}else{c=h;p=0;T=134}while(0);if((T|0)==134)if(!M){h=c;c=t;break}Ok(U,M);h=c;c=t}else{p=0;c=t}}else{p=0;c=0}while(0);Lk(U,h);Sk(U,e);Io(U,d);rg(U,c);r=V;return p|0}function fr(a,b){a=a|0;b=b|0;var c=0,d=0;c=k[a+484>>2]|0;d=k[a>>2]|0;if(((c|0)!=0?(i[a+451>>0]|0)==0:0)?(j[(k[(k[(k[d+16>>2]|0)+(l[d+144>>0]<<4)+4>>2]|0)+4>>2]|0)+22>>1]&1)==0:0){d=c+24|0;c=qr(a,k[d>>2]|0,b)|0;k[d>>2]=c;if(k[a+324>>2]|0)rr(a,c,a+320|0,1)}else Lk(d,b);return}function gr(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,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;C=r;r=r+16|0;if((r|0)>=(s|0))ka();z=C;B=k[a>>2]|0;A=k[a+484>>2]|0;a:do if((A|0)!=0?(i[a+451>>0]|0)==0:0){w=(b|0)==0;do if(w){y=j[A+38>>1]|0;g=(y<<16>>16)+-1|0;if(y<<16>>16<1){f=0;break a}if(d)if((k[d>>2]|0)==1){g=1;f=13}else{k[z>>2]=k[(k[A+4>>2]|0)+(g*24|0)>>2];k[z+4>>2]=c;yh(a,35712,z);f=0;break a}else{g=1;f=12}}else{if(!d){g=k[b>>2]|0;f=12;break}g=k[d>>2]|0;if((g|0)==(k[b>>2]|0))f=13;else{yh(a,35776,z);f=0;break a}}while(0);if((f|0)==12){h=c+4|0;n=h;t=0;h=(g<<3)+37+(k[h>>2]|0)|0;y=g}else if((f|0)==13){n=c+4|0;h=(g<<3)+37+(k[n>>2]|0)|0;o=k[d>>2]|0;if((o|0)>0){p=k[d+4>>2]|0;q=0;do{m=k[p+(q*20|0)+4>>2]|0;if(!m)f=1;else{l=m;while(1)if(!(i[l>>0]|0))break;else l=l+1|0;f=(l-m&1073741823)+1|0}h=f+h|0;q=q+1|0}while((q|0)<(o|0));t=1;y=g}else{t=1;y=g}}f=rh(B,h,((h|0)<0)<<31>>31)|0;if(f){kw(f|0,0,h|0)|0;k[f>>2]=A;x=A+16|0;k[f+4>>2]=k[x>>2];u=f+36|0;l=u+(y<<3)|0;v=f+8|0;k[v>>2]=l;pw(l|0,k[c>>2]|0,k[n>>2]|0)|0;i[l+(k[n>>2]|0)>>0]=0;qo(l);l=l+((k[n>>2]|0)+1)|0;k[f+20>>2]=y;b:do if(!w){if((y|0)>0){h=A+4|0;c=b+4|0;m=j[A+38>>1]|0;g=0;while(1){c:do if(m<<16>>16>0){q=k[h>>2]|0;p=k[(k[c>>2]|0)+(g*20|0)+4>>2]|0;o=0;while(1){n=o+1|0;if(!(id(k[q+(o*24|0)>>2]|0,p)|0)){n=o;break}if((n|0)<(m<<16>>16|0))o=n;else break c}k[u+(g<<3)>>2]=n}else n=0;while(0);if((n|0)>=(m<<16>>16|0))break;g=g+1|0;if((g|0)>=(y|0))break b}k[z>>2]=k[(k[c>>2]|0)+(g*20|0)+4>>2];yh(a,35872,z);break a}}else k[u>>2]=(j[A+38>>1]|0)+-1;while(0);if(t&(y|0)>0){m=d+4|0;n=0;while(1){h=k[(k[m>>2]|0)+(n*20|0)+4>>2]|0;if(!h)g=0;else{g=h;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-h&1073741823}k[u+(n<<3)+4>>2]=l;pw(l|0,h|0,g|0)|0;i[l+g>>0]=0;n=n+1|0;if((n|0)==(y|0))break;else l=l+(g+1)|0}}i[f+24>>0]=0;i[f+25>>0]=e;i[f+26>>0]=e>>>8;g=Nk((k[A+68>>2]|0)+56|0,k[v>>2]|0,f)|0;if((g|0)==(f|0)){i[B+65>>0]=1;break}if(g){k[f+12>>2]=g;k[g+16>>2]=f}k[x>>2]=f;f=0}else f=0}else f=0;while(0);rg(B,f);Sk(B,b);Sk(B,d);r=C;return}function hr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=k[a>>2]|0;d=i[c+62>>0]|0;e=i[c+145>>0]|0;c=bo(c,d,b,e&255)|0;do if(!(e<<24>>24)){if((c|0)!=0?(k[c+12>>2]|0)!=0:0)break;c=Bs(a,d,c,b)|0}while(0);return c|0}function ir(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,w=0,x=0,y=0;y=r;r=r+16|0;if((r|0)>=(s|0))ka();w=y;q=y+12|0;x=k[a>>2]|0;do if(!(i[x+65>>0]|0)){d=(d|0)!=0;if(d){p=x+68|0;i[p>>0]=(i[p>>0]|0)+1<<24>>24;v=Zr(a,c,b+8|0)|0;i[p>>0]=(i[p>>0]|0)+-1<<24>>24}else v=Zr(a,c,b+8|0)|0;if(!v){if(!d)break;Er(a,k[b+12>>2]|0);break}n=v+68|0;f=k[n>>2]|0;a:do if(f){d=k[x+20>>2]|0;if((d|0)>0){e=k[x+16>>2]|0;h=0;while(1){g=h+1|0;if((k[e+(h<<4)+12>>2]|0)==(f|0)){g=h;break a}if((g|0)<(d|0))h=g;else break}}else g=0}else g=-1e6;while(0);t=v+44|0;if((i[t>>0]&16)!=0?(mr(a,v)|0)!=0:0)break;h=(g|0)==1;u=h?13184:13208;d=k[(k[x+16>>2]|0)+(g<<4)>>2]|0;if(!(Xq(a,9,u,0,d)|0)){e=(c|0)!=0;do if(e){f=h?15:17;h=0}else{if(!(i[t>>0]&16)){f=h?13:11;h=0;break}h=v+60|0;while(1){h=k[h>>2]|0;if((k[h>>2]|0)==(x|0))break;else h=h+24|0}f=30;h=k[(k[h+4>>2]|0)+4>>2]|0}while(0);if((Xq(a,f,k[v>>2]|0,h,d)|0)==0?(Xq(a,9,k[v>>2]|0,0,d)|0)==0:0){h=k[v>>2]|0;if((Kc(h,25568,7)|0)==0?(Kc(h,35488,11)|0)!=0:0){k[w>>2]=h;yh(a,35504,w);break}d=v+12|0;f=(k[d>>2]|0)==0;if(e){if(f){k[w>>2]=h;yh(a,35536,w);break}}else if(!f){k[w>>2]=h;yh(a,35576,w);break}if(Tq(a)|0){o=a+408|0;f=k[o>>2]|0;f=(f|0)==0?a:f;Fr(a,g);p=1<<g;e=f+328|0;k[e>>2]=k[e>>2]|p;f=f+20|0;i[f>>0]=l[f>>0]|1;Hr(a,g,28544,k[v>>2]|0);f=k[a>>2]|0;e=f+24|0;b:do if(((k[e>>2]&524288|0)!=0?(i[t>>0]&16)==0:0)?(k[d>>2]|0)==0:0){m=Tq(a)|0;q=gn((k[n>>2]|0)+56|0,k[v>>2]|0,q)|0;if((q|0)!=0?(k[q+8>>2]|0)!=0:0)h=0;else{h=k[v+16>>2]|0;if(!h)break;while(1){if(i[h+24>>0]|0)break;if(k[e>>2]&16777216)break;h=k[h+4>>2]|0;if(!h)break b}h=Cs(m)|0;Bh(m,135,1,h,0)|0}q=a+438|0;i[q>>0]=1;wr(a,Ds(f,b,0)|0,0);i[q>>0]=0;if(!(k[e>>2]&16777216)){Bh(m,135,0,(k[m+32>>2]|0)+2|0,0)|0;Es(a,787,2,0,-2,4)}if(h){f=k[m+24>>2]|0;d=~h;do if((h|0)<0){h=k[f+112>>2]|0;if(!h)break;k[h+(d<<2)>>2]=k[m+32>>2]}while(0);k[f+88>>2]=(k[m+32>>2]|0)+-1}}while(0);m=k[a>>2]|0;n=m+16|0;f=k[n>>2]|0;d=Tq(a)|0;q=k[o>>2]|0;q=(q|0)==0?a:q;Fr(a,g);o=q+328|0;k[o>>2]=k[o>>2]|p;q=q+20|0;i[q>>0]=l[q>>0]|1;if(i[t>>0]&16)Bh(d,146,0,0,0)|0;h=Fs(a,v)|0;if(h)do{Vr(a,h);h=k[h+32>>2]|0}while((h|0)!=0);f=f+(g<<4)|0;if(i[t>>0]&8){q=k[v>>2]|0;k[w>>2]=k[f>>2];k[w+4>>2]=q;Gr(a,35608,w)}q=k[v>>2]|0;k[w>>2]=k[f>>2];k[w+4>>2]=u;k[w+8>>2]=q;Gr(a,35656,w);if((c|0)==0?(i[t>>0]&16)==0:0)Gs(a,v);if(i[t>>0]&16){q=k[v>>2]|0;Ch(d,Bh(d,148,g,0,0)|0,q,0)}e=k[v>>2]|0;Ch(d,Bh(d,124,g,0,0)|0,e,0);Ir(a,g);d=k[(k[n>>2]|0)+(g<<4)+12>>2]|0;e=j[d+78>>1]|0;if(e&2){f=k[d+16>>2]|0;if(f){e=f;do{d=k[e+8>>2]|0;if(k[d+12>>2]|0){Qk(m,d);k[d+4>>2]=0;j[d+38>>1]=0}e=k[e>>2]|0}while((e|0)!=0);e=k[(k[n>>2]|0)+(g<<4)+12>>2]|0;d=e;e=j[e+78>>1]|0}j[d+78>>1]=e&65533}}}}}while(0);Io(x,b);r=y;return}function jr(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=r;r=r+16|0;if((r|0)>=(s|0))ka();f=h;e=k[a>>2]|0;do if((c|0)!=0?(k[c+4>>2]|0)!=0:0){if(i[e+145>>0]|0){yh(a,28488,f);c=a+64|0;k[c>>2]=(k[c>>2]|0)+1;c=-1;break}k[d>>2]=c;d=$q(e,b)|0;c=_h(e,d)|0;rg(e,d);if((c|0)<0){k[f>>2]=b;yh(a,28512,f);c=a+64|0;k[c>>2]=(k[c>>2]|0)+1;c=-1}}else g=7;while(0);if((g|0)==7){c=l[e+144>>0]|0;k[d>>2]=b}r=h;return c|0}function kr(a,b){a=a|0;b=b|0;a:do if(!b)b=0;else while(1){if(Mr(a,k[b>>2]|0)|0){b=1;break a}if(Pr(a,k[b+32>>2]|0)|0){b=1;break a}if(Lr(a,k[b+36>>2]|0)|0){b=1;break a}if(Mr(a,k[b+40>>2]|0)|0){b=1;break a}if(Lr(a,k[b+44>>2]|0)|0){b=1;break a}if(Mr(a,k[b+48>>2]|0)|0){b=1;break a}if(Lr(a,k[b+60>>2]|0)|0){b=1;break a}if(Lr(a,k[b+64>>2]|0)|0){b=1;break a}b=k[b+52>>2]|0;if(!b){b=0;break}}while(0);return b|0}function lr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if((b|0)!=0?(d=rh(a,72,0)|0,(d|0)!=0):0){f=Ur(a,k[b>>2]|0,c)|0;k[d>>2]=f;f=Ds(a,k[b+32>>2]|0,c)|0;k[d+32>>2]=f;f=Rr(a,k[b+36>>2]|0,c,0)|0;k[d+36>>2]=f;f=Ur(a,k[b+40>>2]|0,c)|0;k[d+40>>2]=f;f=Rr(a,k[b+44>>2]|0,c,0)|0;k[d+44>>2]=f;f=Ur(a,k[b+48>>2]|0,c)|0;k[d+48>>2]=f;i[d+4>>0]=i[b+4>>0]|0;f=lr(a,k[b+52>>2]|0,c)|0;k[d+52>>2]=f;if(f)k[f+56>>2]=d;k[d+56>>2]=0;h=Rr(a,k[b+60>>2]|0,c,0)|0;k[d+60>>2]=h;h=Rr(a,k[b+64>>2]|0,c,0)|0;k[d+64>>2]=h;k[d+8>>2]=0;k[d+12>>2]=0;j[d+6>>1]=(m[b+6>>1]|0)&65527;k[d+16>>2]=-1;k[d+20>>2]=-1;h=b+24|0;f=k[h+4>>2]|0;c=d+24|0;k[c>>2]=k[h>>2];k[c+4>>2]=f;c=k[b+68>>2]|0;if((c|0)!=0?(g=k[c>>2]<<4|8,e=rh(a,g,((g|0)<0)<<31>>31)|0,(e|0)!=0):0){kw(e|0,0,g|0)|0;k[e>>2]=k[c>>2];if((k[c>>2]|0)>0){b=e+8|0;f=0;do{g=lr(a,k[c+(f<<4)+16>>2]|0,0)|0;k[b+(f<<4)+8>>2]=g;g=Ur(a,k[c+(f<<4)+12>>2]|0,0)|0;k[b+(f<<4)+4>>2]=g;g=ph(a,k[c+(f<<4)+8>>2]|0)|0;k[b+(f<<4)>>2]=g;f=f+1|0}while((f|0)<(k[c>>2]|0))}}else e=0;k[d+68>>2]=e}else d=0;return d|0}function mr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,t=0;t=r;r=r+16|0;if((r|0)>=(s|0))ka();n=t;e=t+8|0;g=t+4|0;q=k[a>>2]|0;h=b+44|0;d=i[h>>0]|0;a:do if(!(d&16))o=11;else{c=k[b+60>>2]|0;if(c)do{if((k[c>>2]|0)==(q|0)){o=11;break a}c=k[c+24>>2]|0}while((c|0)!=0);c=b+56|0;d=gn(q+308|0,k[k[c>>2]>>2]|0,e)|0;if((d|0)!=0?(f=k[d+8>>2]|0,(f|0)!=0):0){k[g>>2]=0;f=(En(q,b,f,k[(k[f>>2]|0)+8>>2]|0,g)|0)==0;d=k[g>>2]|0;if(f){rg(q,d);d=i[h>>0]|0;o=11;break}else{k[n>>2]=d;yh(a,10344,n);rg(q,d);c=1;break}}k[n>>2]=k[k[c>>2]>>2];yh(a,28320,n);c=1}while(0);do if((o|0)==11)if((d&16)==0?(p=b+38|0,l=j[p>>1]|0,l<<16>>16<=0):0){if(l<<16>>16<0){k[n>>2]=k[b>>2];yh(a,26752,n);c=1;break}d=lr(q,k[b+12>>2]|0,0)|0;if(!d)c=1;else{l=q+250|0;h=i[l>>0]|0;o=a+68|0;n=k[o>>2]|0;Hs(a,k[d+32>>2]|0);j[p>>1]=-1;i[l>>0]=0;g=q+284|0;f=k[g>>2]|0;k[g>>2]=0;c=ss(a,d)|0;k[g>>2]=f;i[l>>0]=h;k[o>>2]=n;if(!c){j[p>>1]=0;c=1}else{a=c+38|0;j[p>>1]=j[a>>1]|0;o=c+4|0;k[b+4>>2]=k[o>>2];j[a>>1]=0;k[o>>2]=0;pg(q,c);c=(k[b+68>>2]|0)+78|0;j[c>>1]=m[c>>1]|0|2;c=0}Rk(q,d,1)}}else c=0;while(0);r=t;return c|0}
[all...]
H A Dsqlite-pointer-masking.js8 function Tn(d,f,g,h,k,l,m,q,r){d=d|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;q=q|0;r=r|0;var 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,$=0,aa=0,ba=0,ca=0,da=0;da=i;i=i+160|0;if((i|0)>=(j|0))fa();R=da+16|0;N=da+152|0;P=da+48|0;M=da+40|0;Q=da+36|0;O=da+32|0;U=da+8|0;T=da;Z=da+28|0;ba=da+24|0;c[(ba&p)>>2]=0;do if(!(a[(d&n)+46>>0]|0)){ca=d+43|0;if((a[(ca&n)>>0]|0)==0?(s=c[(d&p)+4>>2]|0,s=pc[c[((c[(s&p)>>2]|0)&p)+56>>2]&31](s,1,1,10)|0,(s|0)!=0):0)break;aa=d+45|0;a[(aa&n)>>0]=1;a:do if(!f){w=0;_=11}else{u=d+4|0;s=(g|0)!=0;while(1){if(a[(ca&n)>>0]|0)break;w=c[(u&p)>>2]|0;w=pc[c[((c[(w&p)>>2]|0)&p)+56>>2]&31](w,0,1,10)|0;if(!(s&(w|0)==5)){_=9;break}if(!(lc[g&127](h)|0)){w=0;g=0;_=11;break a}}if((_|0)==9)if((w|0)==5){w=0;g=0;_=11;break}else if(w){$=f;break}a[(d&n)+44>>0]=1;w=f;_=11}while(0);if((_|0)==11){$=w;w=nq(d,ba)|0}do if(!w){Y=d+68|0;w=b[(d&o)+66>>1]|0;if((c[(Y&p)>>2]|0)!=0?(X=w&65535,(X<<16&65536|X&65024|0)!=(l|0)):0){c[(R&p)>>2]=51863;c[(R&p)+4>>2]=10788;bd(11,13600,R);t=11;break}V=w&65535;V=V<<16&65536|V&65024;X=d+32|0;W=(c[(c[(X&p)>>2]&p)>>2]|0)+96|0;z=c[(Y&p)>>2]|0;b:do if((c[(W&p)>>2]|0)>>>0<z>>>0){K=(z+33|0)>>>12;L=K+1|0;l=z<<1;y=l+28+(K*20|0)|0;s=Tc(y)|0;c:do if(!s){w=7;s=0}else{fw(s|0,0,y|0)|0;y=s+4|0;c[(y&p)>>2]=L;l=Tc(z>>>0>4096?8192:l)|0;do if(l){J=s+8|0;x=0;while(1){w=Po(d,x,M,O,Q)|0;if(w){_=21;break}I=(c[(O&p)>>2]|0)+4|0;c[(O&p)>>2]=I;if((x|0)==(K|0)){H=c[(Q&p)>>2]|0;w=H;H=z-H|0}else{w=c[(Q&p)>>2]|0;H=(c[(M&p)>>2]|0)-I>>2}u=J+((c[(y&p)>>2]|0)*20|0)|0;F=u+(w<<1)|0;E=w+1|0;c[(Q&p)>>2]=E;if((H|0)>0){B=0;do{b[(u+(B+w<<1)&o)>>1]=B;B=B+1|0}while((B|0)!=(H|0));c[(R&p)>>2]=0;c[(N&p)>>2]=0;C=P+0|0;B=C+104|0;do{c[(C&p)>>2]=0;C=C+4|0}while((C|0)<(B|0));D=0;do{c[(R&p)>>2]=1;C=u+(D+w<<1)|0;c[(N&p)>>2]=C;if(!(D&1)){A=1;B=0}else{B=0;do{oq(I,c[(P+(B<<3)&p)+4>>2]|0,c[(P+(B<<3)&p)>>2]|0,N,R,l);B=B+1|0}while((1<<B&D|0)!=0);A=c[(R&p)>>2]|0;C=c[(N&p)>>2]|0}c[(P+(B<<3)&p)+4>>2]=C;c[(P+(B<<3)&p)>>2]=A;D=D+1|0}while((D|0)!=(H|0));B=B+1|0;if((B|0)<13)_=34}else{c[(R&p)>>2]=0;c[(N&p)>>2]=0;C=P+0|0;B=C+104|0;do{c[(C&p)>>2]=0;C=C+4|0}while((C|0)<(B|0));B=1;_=34}if((_|0)==34){while(1){_=0;if(1<<B&H)oq(I,c[(P+(B<<3)&p)+4>>2]|0,c[(P+(B<<3)&p)>>2]|0,N,R,l);B=B+1|0;if((B|0)==13)break;else _=34}A=c[(R&p)>>2]|0}c[(J+(x*20|0)&p)+16>>2]=E;c[(J+(x*20|0)&p)+12>>2]=A;c[(J+(x*20|0)&p)+4>>2]=F;c[(J+(x*20|0)&p)+8>>2]=I;x=x+1|0;if((x|0)>=(L|0)){_=39;break}}if((_|0)==21){Wc(l);break}else if((_|0)==39){Wc(l);w=0;break c}}else{Wc(0);w=7}while(0);Wc(s)}while(0);if(!w){R=d+72|0;Q=c[(R&p)>>2]|0;P=d+4|0;A=1;z=c[(Y&p)>>2]|0;w=0;while(1){l=W+(A<<2)+4|0;u=c[(l&p)>>2]|0;d:do if(z>>>0>u>>>0){y=A+3|0;x=(g|0)!=0;while(1){if(a[(ca&n)>>0]|0)break;w=c[(P&p)>>2]|0;w=pc[c[((c[(w&p)>>2]|0)&p)+56>>2]&31](w,y,1,10)|0;if(!(x&(w|0)==5)){_=49;break}if(!(lc[g&127](h)|0)){g=0;w=5;break d}}if((_|0)==49){_=0;if((w|0)==5){g=0;w=5;break}else if(w){t=w;_=100;break b}}c[(l&p)>>2]=(A|0)==1?z:-1;if(!(a[(ca&n)>>0]|0)){u=c[(P&p)>>2]|0;pc[c[((c[(u&p)>>2]|0)&p)+56>>2]&31](u,y,1,9)|0;u=z;w=0}else{u=z;w=0}}else u=z;while(0);A=A+1|0;if((A|0)>=5){L=u;break}else z=u}e:do if((c[(W&p)>>2]|0)>>>0<L>>>0){w=(g|0)!=0;while(1){if(a[(ca&n)>>0]|0)break;u=c[(P&p)>>2]|0;u=pc[c[((c[(u&p)>>2]|0)&p)+56>>2]&31](u,3,1,10)|0;if(!(w&(u|0)==5)){v=u;_=58;break}if(!(lc[g&127](h)|0)){v=5;break e}}if((_|0)==58?(v|0)!=0:0)break;I=c[(W&p)>>2]|0;J=(k|0)!=0;if(J?(S=c[(d&p)+8>>2]|0,S=rc[c[((c[(S&p)>>2]|0)&p)+20>>2]&127](S,k)|0,(S|0)!=0):0)v=S;else _=61;f:do if((_|0)==61){S=sw(Q|0,0,V|0,0)|0;v=T;c[(v&p)>>2]=S;c[(v&p)+4>>2]=G;v=c[(P&p)>>2]|0;v=rc[c[((c[(v&p)>>2]|0)&p)+24>>2]&127](v,U)|0;if(!v){S=U;N=c[(S&p)+4>>2]|0;U=T;O=c[(U&p)+4>>2]|0;if((N|0)<(O|0)|((N|0)==(O|0)?(c[(S&p)>>2]|0)>>>0<(c[(U&p)>>2]|0)>>>0:0)){U=c[(P&p)>>2]|0;ac[c[((c[(U&p)>>2]|0)&p)+40>>2]&63](U,5,T)|0}E=s+4|0;F=V|24;H=d+8|0;w=c[(E&p)>>2]|0;g:do if((w|0)>0){v=0;while(1){D=c[(s&p)>>2]|0;C=-1;h:while(1){i:while(1){w=w+-1|0;A=s+(w*20|0)+8|0;l=c[(A&p)>>2]|0;u=c[(s+(w*20|0)&p)+20>>2]|0;j:do if((l|0)<(u|0)){z=c[(s+(w*20|0)&p)+12>>2]|0;B=c[(s+(w*20|0)&p)+16>>2]|0;while(1){x=e[(z+(l<<1)&o)>>1]|0;y=c[(B+(x<<2)&p)>>2]|0;if(y>>>0>D>>>0)break;l=l+1|0;c[(A&p)>>2]=l;if((l|0)>=(u|0))break j}if(y>>>0<C>>>0)break i}while(0);if((w|0)<=0){l=v;w=C;break h}}v=(c[(s+(w*20|0)&p)+24>>2]|0)+x|0;if((w|0)>0)C=y;else{l=v;w=y;break}}c[(s&p)>>2]=w;if((w|0)==-1)break g;if(!(l>>>0<=I>>>0|l>>>0>L>>>0|w>>>0>Q>>>0)){v=sw(l+-1|0,0,F|0,0)|0;v=jw(v|0,G|0,56,0)|0;U=c[(H&p)>>2]|0;v=tc[c[((c[(U&p)>>2]|0)&p)+8>>2]&31](U,m,V,v,G)|0;if(v)break f;v=sw(w+-1|0,0,V|0,0)|0;U=c[(P&p)>>2]|0;v=tc[c[((c[(U&p)>>2]|0)&p)+12>>2]&31](U,m,V,v,G)|0;if(v)break f}w=c[(E&p)>>2]|0;if((w|0)<=0){_=66;break}else v=l}}else _=66;while(0);if((_|0)==66)c[(s&p)>>2]=-1;if((L|0)==(c[((c[(c[(X&p)>>2]&p)>>2]|0)&p)+16>>2]|0)){v=sw(c[(R&p)>>2]|0,0,V|0,0)|0;_=c[(P&p)>>2]|0;v=ac[c[((c[(_&p)>>2]|0)&p)+16>>2]&63](_,v,G)|0;if((v|0)==0&J){v=c[(P&p)>>2]|0;v=rc[c[((c[(v&p)>>2]|0)&p)+20>>2]&127](v,k)|0}if(v)break}c[(W&p)>>2]=L;v=0}}while(0);if(!(a[(ca&n)>>0]|0)){_=c[(P&p)>>2]|0;pc[c[((c[(_&p)>>2]|0)&p)+56>>2]&31](_,3,1,9)|0}}else v=w;while(0);v=(v|0)==5?0:v;_=88}else t=w}else{s=0;v=0;_=88}while(0);k:do if((_|0)==88)if((v|0)==0&($|0)!=0)if((c[(W&p)>>2]|0)>>>0>=(c[(Y&p)>>2]|0)>>>0)if(($|0)>1){cd(4,Z);w=d+4|0;u=(g|0)!=0;while(1){if(a[(ca&n)>>0]|0)break;v=c[(w&p)>>2]|0;v=pc[c[((c[(v&p)>>2]|0)&p)+56>>2]&31](v,4,4,10)|0;if(!(u&(v|0)==5)){t=v;_=95;break}if(!(lc[g&127](h)|0)){t=5;_=100;break k}}if((_|0)==95?(t|0)!=0:0){_=100;break}if(($|0)==3){Xo(d,c[(Z&p)>>2]|0);t=c[(d&p)+8>>2]|0;t=ac[c[((c[(t&p)>>2]|0)&p)+16>>2]&63](t,0,0)|0}else t=0;if(!(a[(ca&n)>>0]|0)){_=c[(w&p)>>2]|0;pc[c[((c[(_&p)>>2]|0)&p)+56>>2]&31](_,4,4,9)|0;_=100}else _=100}else{t=0;_=100}else{t=5;_=100}else{t=v;_=100}while(0);if((_|0)==100)Wc(s);if((t|0)==0|(t|0)==5){if(q)c[(q&p)>>2]=c[(Y&p)>>2];if(r)c[(r&p)>>2]=c[((c[(c[(X&p)>>2]&p)>>2]|0)&p)+96>>2]}}else t=w;while(0);if(c[(ba&p)>>2]|0){C=d+52|0;B=C+48|0;do{c[(C&p)>>2]=0;C=C+4|0}while((C|0)<(B|0))}s=d+44|0;if(a[(s&n)>>0]|0){if(!(a[(ca&n)>>0]|0)){ba=c[(d&p)+4>>2]|0;pc[c[((c[(ba&p)>>2]|0)&p)+56>>2]&31](ba,0,1,9)|0}a[(s&n)>>0]=0;a[(d&n)+47>>0]=0}if(!(a[(ca&n)>>0]|0)){ca=c[(d&p)+4>>2]|0;pc[c[((c[(ca&p)>>2]|0)&p)+56>>2]&31](ca,1,1,9)|0}a[(aa&n)>>0]=0;s=(t|0)!=0|($|0)==(f|0)?t:5}else s=8;while(0);i=da;return s|0}function Un(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=(c|0)<(e|0)?c:e;g=Zv(d,f,h)|0;a:do if(!g){b:do if(b){g=c-h|0;while(1){if((g|0)<=0)break;g=g+-1|0;if((a[(d+g+h&n)>>0]|0)!=32)break b}if(!g){g=e-h|0;while(1){if((g|0)<=0)break;g=g+-1|0;if((a[(f+g+h&n)>>0]|0)!=32)break b}if(!g){g=0;break a}}}while(0);g=c-e|0}while(0);return g|0}function Vn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Fc(c,e,(b|0)<(d|0)?b:d)|0;return ((a|0)==0?b-d|0:a)|0}function Wn(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,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+16|0;if((i|0)>=(j|0))fa();y=A;r=c[(e&p)>>2]|0;a:do if(d){o=d;while(1)if(!(a[(o&n)>>0]|0))break;else o=o+1|0;q=o-d&1073741823;if((c[2189]|r&64|0)!=0&q>>>0>4?(Zv(d,14984,5)|0)==0:0){o=q+2|0;m=r|64;if(q){r=0;do{o=((a[(d+r&n)>>0]|0)==38&1)+o|0;r=r+1|0}while((r|0)<(q|0))}l=Tc(o)|0;if(l){do if((a[(d&n)+5>>0]|0)==47?(a[(d&n)+6>>0]|0)==47:0){o=7;while(1){u=a[(d+o&n)>>0]|0;if(u<<24>>24==0|u<<24>>24==47)break;o=o+1|0}if((o|0)==16){k=d+7|0;if(!(Zv(14992,k,9)|0)){o=0;r=16;k=0;break}}else if((o|0)==7){o=0;r=7;k=0;break}else k=d+7|0;c[(y&p)>>2]=o+-7;c[(y&p)+4>>2]=k;c[(h&p)>>2]=_c(15008,y)|0;k=1;z=74;break a}else{o=0;r=5;k=0}while(0);b:while(1){w=l+(k+-1)|0;c:while(1){d:while(1){q=a[(d+r&n)>>0]|0;if(q<<24>>24==35|q<<24>>24==0)break b;s=r+1|0;if((q<<24>>24==37?(x=a[(d+s&n)>>0]|0,(a[(x&255&n)+10368>>0]&8)!=0):0)?(v=a[(d+r&n)+2>>0]|0,(a[(v&255&n)+10368>>0]&8)!=0):0){q=x;s=v;break}if(!o){r=s;z=38;break c}else if((o|0)==2){r=s;z=39;break c}else if((o|0)!=1){r=s;break c}if(!(q<<24>>24==38|q<<24>>24==61)){o=1;r=s;break c}if(!(a[(w&n)>>0]|0))r=s;else{r=s;z=36;break c}while(1){u=a[(d+r&n)>>0]|0;if(u<<24>>24==35|u<<24>>24==0)continue d;if((a[(d+r+-1&n)>>0]|0)==38)continue d;else r=r+1|0}}q=q<<24>>24;r=r+3|0;u=s<<24>>24;q=(0-(u>>>6&1)&9)+u&15|(0-(q>>>6&1)&9)+q<<4&240;if(q){z=30;break}s=(o|0)==0;while(1){q=a[(d+r&n)>>0]|0;if(q<<24>>24==35|q<<24>>24==0)continue c;if(s&q<<24>>24==63){o=0;continue c}if((o|0)==1){if(q<<24>>24==38|q<<24>>24==61){o=1;continue c}}else if((o|0)==2?q<<24>>24==38:0){o=2;continue c}r=r+1|0}}if((z|0)==30){z=0;q=q&255}else if((z|0)==36){z=0;if(q<<24>>24==38){a[(l+k&n)>>0]=0;q=0;o=1;k=k+1|0}else{q=0;o=2}}else if((z|0)==38){z=0;if(q<<24>>24==63)z=40;else o=0}else if((z|0)==39){z=0;if(q<<24>>24==38)z=40;else o=2}if((z|0)==40){z=0;q=0;o=1}a[(l+k&n)>>0]=q;k=k+1|0}if((o|0)==1){a[(l+k&n)>>0]=0;k=k+1|0}a[(l+k&n)>>0]=0;a[(l+k&n)+1>>0]=0;k=l;while(1)if(!(a[(k&n)>>0]|0))break;else k=k+1|0;k=(k-l&1073741823)+1|0;o=a[(l+k&n)>>0]|0;if(o<<24>>24){x=l+k|0;e:while(1){q=x;while(1){k=q+1|0;if(!(o<<24>>24)){o=q;break}o=a[(k&n)>>0]|0;q=k}w=o-x&1073741823;o=x+(w+1)|0;q=o;while(1)if(!(a[(q&n)>>0]|0))break;else q=q+1|0;v=q-o&1073741823;if((w|0)==3){k=(Zv(15040,x,3)|0)==0;k=k?o:b}else if((w|0)==5)if(!(Zv(15048,x,5)|0)){d=15056;t=393216;u=-393217;k=15048;z=58}else k=b;else if((w|0)==4?(Zv(15096,x,4)|0)==0:0){d=15104;t=m&135;u=-136;k=15176;z=58}else k=b;if((z|0)==58){z=0;r=c[(d&p)>>2]|0;if(!r){z=65;break}else q=0;while(1){s=r;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;if((v|0)==(s-r&1073741823|0)?(Zv(o,r,v)|0)==0:0){r=q;break}q=q+1|0;r=c[(d+(q<<3)&p)>>2]|0;if(!r){z=65;break e}}r=c[(d+(r<<3)&p)+4>>2]|0;if(!r){z=65;break}if((r&-129|0)>(t|0)){z=67;break}m=r|u&m;k=b}x=x+(w+2+v)|0;o=a[(x&n)>>0]|0;if(!(o<<24>>24)){z=72;break a}else b=k}if((z|0)==65){c[(y&p)>>2]=k;c[(y&p)+4>>2]=o;c[(h&p)>>2]=_c(15184,y)|0;k=1;z=74;break}else if((z|0)==67){c[(y&p)>>2]=k;c[(y&p)+4>>2]=o;c[(h&p)>>2]=_c(15208,y)|0;k=3;z=74;break}}else{k=b;z=72}}else k=7}else{m=q;z=70}}else{m=0;z=70}while(0);if((z|0)==70){l=Tc(m+2|0)|0;if(!l)k=7;else{kw(l|0,d|0,m|0)|0;a[(l+m&n)>>0]=0;a[(l+m&n)+1>>0]=0;m=r&-65;k=b;z=72}}if((z|0)==72){u=Kc(k)|0;c[(f&p)>>2]=u;if(!u){c[(y&p)>>2]=k;c[(h&p)>>2]=_c(15232,y)|0;k=1;z=74}else{k=0;z=75}}if((z|0)==74){Wc(l);l=0;z=75}if((z|0)==75){c[(e&p)>>2]=m;c[(g&p)>>2]=l}i=A;return k|0}function Xn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;do if(!d){d=qg(84,0)|0;if(!d)e=8;else{b=d+0|0;g=b+84|0;do{a[(b&n)>>0]=0;b=b+1|0}while((b|0)<(g|0));e=9}}else{f=c[(d&p)+4>>2]|0;c[(f&p)+4>>2]=c[(d&p)>>2];e=f+48|0;d=c[(e&p)>>2]|0;if(!d){d=qg(84,0)|0;if(!d){c[(e&p)>>2]=0;c[(f&p)+52>>2]=22;e=8;break}else{b=d+0|0;g=b+84|0;do{a[(b&n)>>0]=0;b=b+1|0}while((b|0)<(g|0));c[(e&p)>>2]=d;c[(f&p)+52>>2]=22;e=9;break}}else e=9}while(0);if((e|0)==8){a[(b&n)+65>>0]=1;d=0}else if((e|0)==9)if(!(a[(d&n)+76>>0]|0)){e=d+77|0;b=d+8|0;g=b+64|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(g|0));a[(e&n)>>0]=1}return d|0}function Yn(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;m=i;i=i+16|0;if((i|0)>=(j|0))fa();if(e){k=b+428|0;h=bn(k,e,m)|0;if(!h)g=0;else g=c[(h&p)+8>>2]|0;if((g|0)==0&(f|0)!=0){h=e;while(1)if(!(a[(h&n)>>0]|0))break;else h=h+1|0;h=h-e&1073741823;f=h+61|0;g=mh(b,f,0)|0;if(g){fw(g|0,0,f|0)|0;f=g+60|0;c[(g&p)>>2]=f;a[(g&n)+4>>0]=1;c[(g&p)+20>>2]=f;a[(g&n)+24>>0]=2;c[(g&p)+40>>2]=f;a[(g&n)+44>>0]=3;kw(f|0,e|0,h|0)|0;a[(g+h&n)+60>>0]=0;h=Ik(k,c[(g&p)>>2]|0,g)|0;if(!h)l=10;else{a[(b&n)+65>>0]=1;mg(b,h);g=0}}else g=0}else l=10}else{g=c[(b&p)+8>>2]|0;l=10}if((l|0)==10)if(!g)g=0;else g=g+(((d&255)+-1|0)*20|0)|0;i=m;return g|0}function Zn(f,g,h){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,z=0,A=0,B=0,C=0,D=0;D=i;i=i+64|0;if((i|0)>=(j|0))fa();B=D;k=D+48|0;s=D+24|0;x=D+8|0;m=(g|0)==1;v=m?13184:13208;c[(k&p)>>2]=v;c[(k&p)+4>>2]=13224;c[(k&p)+8>>2]=m?13064:12960;c[(k&p)+12>>2]=0;c[(x&p)>>2]=f;c[(x&p)+8>>2]=g;w=x+12|0;c[(w&p)>>2]=0;c[(x&p)+4>>2]=h;$m(x,3,k,0)|0;k=c[(w&p)>>2]|0;a:do if(!k){y=f+16|0;l=_h(f,v,c[((c[(y&p)>>2]|0)+(g<<4)&p)>>2]|0)|0;if(l){u=l+44|0;a[(u&n)>>0]=d[(u&n)>>0]|1}q=c[(y&p)>>2]|0;z=q+(g<<4)+4|0;l=c[(z&p)>>2]|0;if(!l){if(!m){k=0;break}k=(c[(q&p)+28>>2]|0)+78|0;b[(k&o)>>1]=e[(k&o)>>1]|1;k=0;break}c[((c[(l&p)+4>>2]|0)&p)+4>>2]=c[(l&p)>>2];do if(!(a[(l&n)+8>>0]|0)){k=yg(l,0)|0;if((k|0)==516)l=16344;else if(!k){l=c[(z&p)>>2]|0;u=1;break}else C=10;if((C|0)==10){l=k&255;if(l>>>0>26|(l|0)==2)l=16328;else l=c[(l<<2&p)+15488>>2]|0}c[(B&p)>>2]=l;dh(h,f,10344,B);C=38;break a}else u=0;while(0);wm(l,1,s);t=s+4|0;wm(c[(z&p)>>2]|0,2,t);r=s+8|0;wm(c[(z&p)>>2]|0,3,r);wm(c[(z&p)>>2]|0,4,s+12|0);k=s+16|0;wm(c[(z&p)>>2]|0,5,k);q=q+(g<<4)+12|0;l=c[(q&p)>>2]|0;c[(l&p)>>2]=c[(s&p)>>2];k=c[(k&p)>>2]|0;do if(k){if(!g){m=k&3;m=(m|0)==0?1:m&255;a[(f&n)+62>>0]=m;C=19;break}m=a[(f&n)+62>>0]|0;if((k|0)==(m&255|0))C=19;else{dh(h,f,13232,B);k=1}}else{m=(c[((c[(y&p)>>2]|0)+(g<<4)&p)+12>>2]|0)+78|0;b[(m&o)>>1]=e[(m&o)>>1]|4;m=a[(f&n)+62>>0]|0;C=19}while(0);do if((C|0)==19){a[(l&n)+77>>0]=m;m=l+80|0;if(!(c[(m&p)>>2]|0)){l=c[(r&p)>>2]|0;if((l|0)<=-1)l=(l|0)==-2147483648?2147483647:0-l|0;l=(l|0)==0?2e3:l;c[(m&p)>>2]=l;pq(c[(z&p)>>2]|0,l);l=c[(q&p)>>2]|0}k=c[(t&p)>>2]|0;m=k&255;l=l+76|0;if(m<<24>>24){a[(l&n)>>0]=m;if((m&255)>4){dh(h,f,13304,B);k=1;break}}else a[(l&n)>>0]=1;if((g|0)==0&(k|0)>3){t=f+24|0;c[(t&p)>>2]=c[(t&p)>>2]&-32769}c[(B&p)>>2]=c[((c[(y&p)>>2]|0)+(g<<4)&p)>>2];c[(B&p)+4>>2]=v;k=uh(f,13328,B)|0;v=f+284|0;t=c[(v&p)>>2]|0;c[(v&p)>>2]=0;l=Qe(f,k,22,x,0)|0;c[(v&p)>>2]=t;l=(l|0)==0?c[(w&p)>>2]|0:l;mg(f,k);k=(l|0)==0;if(k)an(f,g)|0;if(!(a[(f&n)+65>>0]|0)){if(!k){A=l;C=34}}else{Eg(f);A=7;C=34}if((C|0)==34?(c[(f&p)+24>>2]&65536|0)==0:0){k=A;break}k=(c[((c[(y&p)>>2]|0)+(g<<4)&p)+12>>2]|0)+78|0;b[(k&o)>>1]=e[(k&o)>>1]|1;k=0}while(0);if(!u)C=38;else{un(c[(z&p)>>2]|0)|0;C=38}}else C=38;while(0);if((C|0)==38)if((k|0)==7|(k|0)==3082)a[(f&n)+65>>0]=1;i=D;return k|0}function _n(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;q=i;i=i+80|0;if((i|0)>=(j|0))fa();o=q;c[12066]=c[2708];if(!(c[12067]|0))c[12067]=Lb(48336)|0;if(!(c[12068]|0))c[12068]=Lb(48352)|0;g=o+12|0;h=0;f=0;do{if((((f|0)!=0?(rc[c[47604>>2]&127](f,o)|0)==0:0)?(c[(g&p)>>2]&61440|0)==16384:0)?(rc[c[47580>>2]&127](f,7)|0)==0:0)break;f=c[(h<<2&p)+48264>>2]|0;h=h+1|0}while(h>>>0<7);m=(f|0)==0?28928:f;if(((gw(m|0)|0)+25|0)>>>0<b>>>0){b=b+-18|0;do{c[(o&p)>>2]=m;ad(b,e,48248,o)|0;g=gw(e|0)|0;f=e+g|0;cd(15,f);l=e+(g+15)|0;k=0;h=g;while(1){a[(f&n)>>0]=a[(((d[(f&n)>>0]|0)%62|0)&255&n)+48184>>0]|0;k=k+1|0;h=h+1|0;if((k|0)==15)break;else f=e+h|0}a[(l&n)>>0]=0;a[(e+g&n)+16>>0]=0}while((rc[c[47580>>2]&127](e,0)|0)==0);f=0}else f=1;i=q;return f|0}function $n(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;m=i;i=i+80|0;if((i|0)>=(j|0))fa();k=m;h=(d|0)!=0;f=h?d:420;g=b|524288;while(1){e=ac[c[47556>>2]&63](a,g,f)|0;if((e|0)<0)if((c[((Hb()|0)&p)>>2]|0)==4)continue;else break;if((e|0)>2){l=6;break}lc[c[47568>>2]&127](e)|0;c[(k&p)>>2]=a;c[(k&p)+4>>2]=e;bd(28,48120,k);if((ac[c[47556>>2]&63](48168,b,d)|0)<0){e=-1;break}}if((l|0)==6)if(((h?(rc[c[47616>>2]&127](e,k)|0)==0:0)?(c[(k&p)+36>>2]|0)==0:0)?(c[(k&p)+12>>2]&511|0)!=(d|0):0)rc[c[47724>>2]&127](e,d)|0;i=m;return e|0}function ao(a,b,d){a=a|0;b=b|0;d=d|0;if(lc[c[47568>>2]&127](b)|0){if(!a)b=0;else b=c[(a&p)+32>>2]|0;co(4106,47856,b,d)|0}return}function bo(a){a=a|0;var d=0,f=0,g=0,h=0;h=i;i=i+80|0;if((i|0)>=(j|0))fa();g=h;d=h+4|0;f=a+18|0;do if(!(b[(f&o)>>1]&256)){if(rc[c[47616>>2]&127](c[(a&p)+12>>2]|0,d)|0){c[(g&p)>>2]=c[(a&p)+32>>2];bd(28,48592,g);b[(f&o)>>1]=e[(f&o)>>1]|0|256;break}d=c[(d&p)+16>>2]|0;if(!d){if(!(b[(f&o)>>1]&32)){c[(g&p)>>2]=c[(a&p)+32>>2];bd(28,48616,g);b[(f&o)>>1]=e[(f&o)>>1]|0|256;break}}else if(d>>>0>1){c[(g&p)>>2]=c[(a&p)+32>>2];bd(28,48648,g);b[(f&o)>>1]=e[(f&o)>>1]|0|256;break}if(xo(a)|0){c[(g&p)>>2]=c[(a&p)+32>>2];bd(28,48680,g);b[(f&o)>>1]=e[(f&o)>>1]|0|256}}while(0);i=h;return}function co(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;f=i;i=i+32|0;if((i|0)>=(j|0))fa();g=f;k=c[((Hb()|0)&p)>>2]|0;h=Rb(k|0)|0;c[(g&p)>>2]=e;c[(g&p)+4>>2]=k;c[(g&p)+8>>2]=b;c[(g&p)+12>>2]=(d|0)==0?10360:d;c[(g&p)+16>>2]=h;bd(a,47864,g);i=f;return a|0}function eo(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=a+40|0;d=c[(i&p)>>2]|0;h=d<<1;h=h>>>0<256?256:h;if((d|0)!=0?(b=c[3164]|0,(b|0)!=0):0)nc[b&3]();b=h<<2;g=qg(b,0)|0;d=(g|0)==0;if(!d)fw(g|0,0,b|0)|0;if((c[(i&p)>>2]|0)!=0?(e=c[3166]|0,(e|0)!=0):0)nc[e&3]();if(!d){e=c[(i&p)>>2]|0;f=a+44|0;b=c[(f&p)>>2]|0;if(e){a=0;do{d=c[(b+(a<<2)&p)>>2]|0;if(d){do{k=d+16|0;j=d;d=c[(k&p)>>2]|0;b=g+((((c[(j&p)+8>>2]|0)>>>0)%(h>>>0)|0)<<2)|0;c[(k&p)>>2]=c[(b&p)>>2];c[(b&p)>>2]=j}while((d|0)!=0);b=c[(f&p)>>2]|0}a=a+1|0}while(a>>>0<e>>>0)}Wc(b);c[(f&p)>>2]=g;c[(i&p)>>2]=h}return}function fo(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;g=a+24|0;h=a+16|0;d=a+4|0;a:do if((c[(h&p)>>2]|0)>>>0>(c[(d&p)>>2]|0)>>>0)do{e=c[(g&p)>>2]|0;if(!e)break a;go(e);f=c[(e&p)+20>>2]|0;b=(c[(f&p)+44>>2]|0)+((((c[(e&p)+8>>2]|0)>>>0)%((c[(f&p)+40>>2]|0)>>>0)|0)<<2)|0;while(1){i=c[(b&p)>>2]|0;a=i+16|0;if((i|0)==(e|0))break;else b=a}c[(b&p)>>2]=c[(a&p)>>2];a=f+36|0;c[(a&p)>>2]=(c[(a&p)>>2]|0)+-1;io(e)}while((c[(h&p)>>2]|0)>>>0>(c[(d&p)>>2]|0)>>>0);while(0);return}function go(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=c[(b&p)+20>>2]|0;f=c[(e&p)>>2]|0;g=b+28|0;h=c[(g&p)>>2]|0;i=b+24|0;d=c[(i&p)>>2]|0;if(!h)c[(f&p)+20>>2]=d;else{c[(h&p)+24>>2]=d;d=c[(i&p)>>2]|0}if(!d)c[(f&p)+24>>2]=h;else c[(d&p)+28>>2]=h;c[(i&p)>>2]=0;c[(g&p)>>2]=0;a[(b&n)+12>>0]=1;d=e+32|0;c[(d&p)>>2]=(c[(d&p)>>2]|0)+-1;return}function ho(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,m=0,o=0,q=0,r=0,s=0,t=0;k=c[(b&p)>>2]|0;s=b+36|0;i=c[(s&p)>>2]|0;g=c[(b&p)+32>>2]|0;h=i-g|0;q=(e|0)==1;if(q)if(h>>>0<(c[(k&p)+12>>2]|0)>>>0?h>>>0<(c[(b&p)+24>>2]|0)>>>0:0){if((c[3155]|0)!=0?((c[(b&p)+8>>2]|0)+(c[(b&p)+4>>2]|0)|0)<=(c[3154]|0):0)e=12648|0;else e=9060|0;if(!((c[(e&p)>>2]|0)!=0&g>>>0<h>>>0))o=8;else f=0}else f=0;else o=8;do if((o|0)==8){m=b+40|0;if(i>>>0>=(c[(m&p)>>2]|0)>>>0)eo(b);j=b+12|0;do if((c[(j&p)>>2]|0)!=0?(f=c[(k&p)+24>>2]|0,(f|0)!=0):0){if(((c[(s&p)>>2]|0)+1|0)>>>0<(c[(b&p)+20>>2]|0)>>>0?(c[(k&p)+16>>2]|0)>>>0<(c[(k&p)+4>>2]|0)>>>0:0){if((c[3155]|0)!=0?((c[(b&p)+8>>2]|0)+(c[(b&p)+4>>2]|0)|0)<=(c[3154]|0):0)e=12648|0;else e=9060|0;if(!(c[(e&p)>>2]|0)){o=23;break}}e=f+20|0;g=c[(e&p)>>2]|0;h=(c[(g&p)+44>>2]|0)+((((c[(f&p)+8>>2]|0)>>>0)%((c[(g&p)+40>>2]|0)>>>0)|0)<<2)|0;while(1){t=c[(h&p)>>2]|0;i=t+16|0;if((t|0)==(f|0))break;else h=i}c[(h&p)>>2]=c[(i&p)>>2];i=g+36|0;c[(i&p)>>2]=(c[(i&p)>>2]|0)+-1;go(f);e=c[(e&p)>>2]|0;if(((c[(e&p)+8>>2]|0)+(c[(e&p)+4>>2]|0)|0)==((c[(b&p)+8>>2]|0)+(c[(b&p)+4>>2]|0)|0)){l=k+16|0;c[(l&p)>>2]=(c[(j&p)>>2]|0)-(c[(e&p)+12>>2]|0)+(c[(l&p)>>2]|0);break}else{io(f);o=23;break}}else o=23;while(0);if((o|0)==23){if(q?(l=c[3164]|0,(l|0)!=0):0)nc[l&3]();e=b+4|0;g=Go((c[(e&p)>>2]|0)+32+(c[(b&p)+8>>2]|0)|0)|0;e=c[(e&p)>>2]|0;f=g+e|0;if(g){c[(f&p)>>2]=g;c[(g+e&p)+4>>2]=g+(e+32);if(c[(j&p)>>2]|0){o=(c[(b&p)>>2]|0)+16|0;c[(o&p)>>2]=(c[(o&p)>>2]|0)+1}}else f=0;if(q?(r=c[3166]|0,(r|0)!=0):0)nc[r&3]();if(!f){f=0;break}}g=(d>>>0)%((c[(m&p)>>2]|0)>>>0)|0;c[(s&p)>>2]=(c[(s&p)>>2]|0)+1;c[(f&p)+8>>2]=d;o=b+44|0;c[(f&p)+16>>2]=c[((c[(o&p)>>2]|0)+(g<<2)&p)>>2];c[(f&p)+20>>2]=b;c[(f&p)+28>>2]=0;c[(f&p)+24>>2]=0;a[(f&n)+12>>0]=1;c[(c[(f&p)+4>>2]&p)>>2]=0;c[((c[(o&p)>>2]|0)+(g<<2)&p)>>2]=f;g=b+28|0;if((c[(g&p)>>2]|0)>>>0<d>>>0)c[(g&p)>>2]=d}while(0);return f|0}function io(a){a=a|0;var b=0;if((a|0)!=0?(b=c[(a&p)+20>>2]|0,$k(c[(a&p)>>2]|0),(c[(b&p)+12>>2]|0)!=0):0){b=(c[(b&p)>>2]|0)+16|0;c[(b&p)>>2]=(c[(b&p)>>2]|0)+-1}return}function jo(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=b+40|0;if(c[(h&p)>>2]|0){i=b+44|0;f=b+36|0;g=0;do{e=(c[(i&p)>>2]|0)+(g<<2)|0;b=c[(e&p)>>2]|0;a:do if(b)do{while(1){if((c[(b&p)+8>>2]|0)>>>0<d>>>0)break;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;c[(e&p)>>2]=c[(b&p)+16>>2];if(!(a[(b&n)+12>>0]|0))go(b);io(b);b=c[(e&p)>>2]|0;if(!b)break a}e=b+16|0;b=c[(e&p)>>2]|0}while((b|0)!=0);while(0);g=g+1|0}while(g>>>0<(c[(h&p)>>2]|0)>>>0)}return}function ko(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=c[(b&p)>>2]|0;g=c[((c[(f&p)+32>>2]|0)&p)+88>>2]|0;h=((g|0)<0)<<31>>31;if(!((h|0)<(e|0)|(h|0)==(e|0)&g>>>0<d>>>0)){d=qg(d,e)|0;if(!d){Rd(b);d=0}}else{c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(f,10096,-1,1,0)|0;d=0}return d|0}function lo(b){b=b|0;var c=0,d=0,e=0,f=0;do if(b){c=a[(b&n)>>0]|0;d=c<<24>>24;if((d|0)==91)f=93;else if((d|0)==96|(d|0)==34|(d|0)==39)f=c;else break;d=1;e=0;while(1){c=a[(b+d&n)>>0]|0;if(c<<24>>24==f<<24>>24){d=d+1|0;c=b+e|0;if((a[(b+d&n)>>0]|0)!=f<<24>>24)break;a[(c&n)>>0]=f}else a[(b+e&n)>>0]=c;d=d+1|0;e=e+1|0}a[(c&n)>>0]=0}while(0);return}function mo(b,f,g,k){b=b|0;f=f|0;g=g|0;k=k|0;var l=0,m=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0.0,y=0.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,S=0,T=0,U=0,V=0,W=0,X=0;W=i;i=i+176|0;if((i|0)>=(j|0))fa();T=W+64|0;u=W+132|0;t=W+128|0;s=W+124|0;v=W+56|0;P=W+48|0;U=W+136|0;S=W;r=k+0|0;m=r+48|0;do{c[(r&p)>>2]=0;r=r+4|0}while((r|0)<(m|0));a:do if(f){l=c[(g&p)>>2]|0;b:do if(((d[(e[(l&o)+8>>1]&31&n)+10064>>0]|0)+-1|0)>>>0>=2){r=Sg(l,1)|0;if(!r){l=1;break a}m=(a[(r&n)>>0]|0)==45;l=m?r+1|0:r;c[(T&p)>>2]=4;c[(T&p)+4>>2]=0;c[(T&p)+8>>2]=9999;c[(T&p)+12>>2]=45;c[(T&p)+16>>2]=u;c[(T&p)+20>>2]=2;c[(T&p)+24>>2]=1;c[(T&p)+28>>2]=12;c[(T&p)+32>>2]=45;c[(T&p)+36>>2]=t;c[(T&p)+40>>2]=2;c[(T&p)+44>>2]=1;c[(T&p)+48>>2]=31;c[(T&p)+52>>2]=0;c[(T&p)+56>>2]=s;do if((rq(l,T)|0)==3){l=l+10|0;while(1){M=a[(l&n)>>0]|0;if(M<<24>>24==84?1:(a[(M&255&n)+10368>>0]&1)!=0)l=l+1|0;else break}if(sq(l,k)|0){if(a[(l&n)>>0]|0)break;a[(k&n)+41>>0]=0}a[(k&n)+42>>0]=0;a[(k&n)+40>>0]=1;M=c[(u&p)>>2]|0;c[(k&p)+8>>2]=m?0-M|0:M;c[(k&p)+12>>2]=c[(t&p)>>2];c[(k&p)+16>>2]=c[(s&p)>>2];if(!(a[(k&n)+43>>0]|0))break b;no(k);break b}while(0);if(sq(r,k)|0){if(!(dd(r,20080)|0))if(!(qq(b,k)|0))break;else{l=1;break a}else l=r;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;if(!(Tl(r,v,l-r&1073741823,1)|0)){l=1;break a}w=+h[(v&q)>>3]*864.0e5+.5;L=+R(w)>=1.0?(w>0.0?~~+da(+Q(w/4294967296.0),4294967295.0)>>>0:~~+ba((w-+(~~w>>>0))/4294967296.0)>>>0):0;M=k;c[(M&p)>>2]=~~w>>>0;c[(M&p)+4>>2]=L;a[(k&n)+42>>0]=1}}else{w=+Ug(l)*864.0e5+.5;L=+R(w)>=1.0?(w>0.0?~~+da(+Q(w/4294967296.0),4294967295.0)>>>0:~~+ba((w-+(~~w>>>0))/4294967296.0)>>>0):0;M=k;c[(M&p)>>2]=~~w>>>0;c[(M&p)+4>>2]=L;a[(k&n)+42>>0]=1}while(0);if((f|0)>1){l=k+40|0;z=k+41|0;A=k+43|0;B=k+42|0;C=U+8|0;D=C;E=U+9|0;F=k+24|0;H=k+20|0;I=k+32|0;J=k+16|0;K=k+12|0;L=U+1|0;M=k+8|0;N=1;while(1){t=Sg(c[(g+(N<<2)&p)>>2]|0,1)|0;if(!t){l=1;break a}c[(T&p)>>2]=1;v=0;do{u=a[(t+v&n)>>0]|0;if(!(u<<24>>24))break;a[(U+v&n)>>0]=a[(u&255&n)+9328>>0]|0;v=v+1|0}while((v|0)<29);a[(U+v&n)>>0]=0;c:do switch(a[(U&n)>>0]|0){case 119:{if(!($v(U,19976,8)|0)){v=C;while(1)if(!(a[(v&n)>>0]|0))break;else v=v+1|0;if((Tl(C,P,v-D&1073741823,1)|0)!=0?(w=+h[(P&q)>>3],O=~~w,+(O|0)==w&(O|0)>-1&w<7.0):0){oo(k);po(k);a[(A&n)>>0]=0;a[(B&n)>>0]=0;no(k);m=k;v=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;t=jw(v|0,m|0,1296e5,0)|0;t=qw(t|0,G|0,864e5,0)|0;t=rw(t|0,G|0,7,0)|0;r=G;X=((O|0)<0)<<31>>31;s=(r|0)>(X|0)|(r|0)==(X|0)&t>>>0>O>>>0;u=jw(t|0,r|0,-7,-1)|0;r=dw(O|0,X|0,(s?u:t)|0,(s?G:r)|0)|0;r=sw(r|0,G|0,864e5,0)|0;m=jw(r|0,G|0,v|0,m|0)|0;v=k;c[(v&p)>>2]=m;c[(v&p)+4>>2]=G;a[(l&n)>>0]=0;a[(z&n)>>0]=0;a[(A&n)>>0]=0;c[(T&p)>>2]=0;v=0}else V=82}else V=82;break}case 108:{if(!(_v(U,19936)|0)){no(k);m=tq(k,b,T)|0;V=k;m=jw(c[(V&p)>>2]|0,c[(V&p)+4>>2]|0,m|0,G|0)|0;V=k;c[(V&p)>>2]=m;c[(V&p)+4>>2]=G;a[(l&n)>>0]=0;a[(z&n)>>0]=0;a[(A&n)>>0]=0;V=82}else V=82;break}case 115:{if(!($v(U,19992,9)|0)){oo(k);a[(z&n)>>0]=1;c[(F&p)>>2]=0;c[(H&p)>>2]=0;h[(I&q)>>3]=0.0;a[(A&n)>>0]=0;a[(B&n)>>0]=0;if(!(_v(E,20008)|0)){c[(J&p)>>2]=1;c[(T&p)>>2]=0;v=0;break c}if(!(_v(E,20016)|0)){oo(k);c[(K&p)>>2]=1;c[(J&p)>>2]=1;c[(T&p)>>2]=0;v=0;break c}if(!(_v(E,20024)|0)){c[(T&p)>>2]=0;v=0}else V=82}else V=82;break}case 117:{if((_v(U,19952)|0)==0?(a[(B&n)>>0]|0)!=0:0){m=k;m=jw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,43200,0)|0;m=qw(m|0,G|0,86400,0)|0;m=jw(m|0,G|0,1045635584,49096)|0;v=k;c[(v&p)>>2]=m;c[(v&p)+4>>2]=G;a[(l&n)>>0]=0;a[(z&n)>>0]=0;a[(A&n)>>0]=0;c[(T&p)>>2]=0;v=0;break c}if(!(_v(U,19968)|0)){no(k);u=tq(k,b,T)|0;t=G;v=c[(T&p)>>2]|0;if(!v){m=k;m=dw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,u|0,t|0)|0;V=k;c[(V&p)>>2]=m;c[(V&p)+4>>2]=G;a[(l&n)>>0]=0;a[(z&n)>>0]=0;a[(A&n)>>0]=0;V=tq(k,b,T)|0;V=dw(u|0,t|0,V|0,G|0)|0;m=k;m=jw(V|0,G|0,c[(m&p)>>2]|0,c[(m&p)+4>>2]|0)|0;V=k;c[(V&p)>>2]=m;c[(V&p)+4>>2]=G;V=82}}else V=82;break}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:case 45:case 43:{t=1;while(1){v=U+t|0;u=a[(v&n)>>0]|0;if(u<<24>>24==58|u<<24>>24==0){u=v;break}if(!(a[(u&255&n)+10368>>0]&1))t=t+1|0;else{u=v;break}}if(!(Tl(U,P,t,1)|0)){c[(T&p)>>2]=1;v=1;break c}v=a[(u&n)>>0]|0;if(v<<24>>24==58){v=((d[(U&n)>>0]|0)+-48|0)>>>0<10?U:L;r=S+0|0;m=r+48|0;do{c[(r&p)>>2]=0;r=r+4|0}while((r|0)<(m|0));if(sq(v,S)|0){V=82;break c}no(S);v=S;v=jw(c[(v&p)>>2]|0,c[(v&p)+4>>2]|0,-432e5,-1)|0;v=rw(v|0,G|0,864e5,0)|0;u=G;m=S;c[(m&p)>>2]=v;c[(m&p)+4>>2]=u;if((a[(U&n)>>0]|0)==45){v=dw(0,0,v|0,u|0)|0;u=G;m=S;c[(m&p)>>2]=v;c[(m&p)+4>>2]=u}no(k);a[(l&n)>>0]=0;a[(z&n)>>0]=0;a[(A&n)>>0]=0;m=k;m=jw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,v|0,u|0)|0;v=k;c[(v&p)>>2]=m;c[(v&p)+4>>2]=G;c[(T&p)>>2]=0;v=0;break c}if(a[(v&255&n)+10368>>0]&1){u=U+(t+1)|0;while(1){v=a[(u&n)>>0]|0;if(!(a[(v&255&n)+10368>>0]&1))break;else u=u+1|0}}if(!(v<<24>>24))v=u;else{v=u;do v=v+1|0;while((a[(v&n)>>0]|0)!=0)}v=v-u&1073741823;if((v+-3|0)>>>0>7)V=82;else{t=v+-1|0;s=u+t|0;if((a[(s&n)>>0]|0)==115){a[(s&n)>>0]=0;v=t}no(k);c[(T&p)>>2]=0;x=+h[(P&q)>>3];y=x<0.0?-.5:.5;do if((v|0)==4){if(!(_v(u,20032)|0)){w=x*36.0e5+y;r=+R(w)>=1.0?(w>0.0?~~+da(+Q(w/4294967296.0),4294967295.0)>>>0:~~+ba((w-+(~~w>>>0))/4294967296.0)>>>0):0;m=k;r=jw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,~~w>>>0|0,r|0)|0;m=k;c[(m&p)>>2]=r;c[(m&p)+4>>2]=G;break}if(!(_v(u,20016)|0)){m=~~x;oo(k);po(k);c[(M&p)>>2]=(c[(M&p)>>2]|0)+m;a[(B&n)>>0]=0;no(k);w=+(m|0);if(w!=x){w=y+(x-w)*365.0*864.0e5;r=+R(w)>=1.0?(w>0.0?~~+da(+Q(w/4294967296.0),4294967295.0)>>>0:~~+ba((w-+(~~w>>>0))/4294967296.0)>>>0):0;m=k;r=jw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,~~w>>>0|0,r|0)|0;m=k;c[(m&p)>>2]=r;c[(m&p)+4>>2]=G}}else V=80}else if((v|0)==6){if(!(_v(u,20040)|0)){w=x*6.0e4+y;r=+R(w)>=1.0?(w>0.0?~~+da(+Q(w/4294967296.0),4294967295.0)>>>0:~~+ba((w-+(~~w>>>0))/4294967296.0)>>>0):0;m=k;r=jw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,~~w>>>0|0,r|0)|0;m=k;c[(m&p)>>2]=r;c[(m&p)+4>>2]=G;break}if(!(_v(u,20048)|0)){w=x*1.0e3+y;r=+R(w)>=1.0?(w>0.0?~~+da(+Q(w/4294967296.0),4294967295.0)>>>0:~~+ba((w-+(~~w>>>0))/4294967296.0)>>>0):0;m=k;r=jw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,~~w>>>0|0,r|0)|0;m=k;c[(m&p)>>2]=r;c[(m&p)+4>>2]=G}else V=80}else if((v|0)==5)if(!(_v(u,20008)|0)){oo(k);po(k);m=~~x;r=(c[(K&p)>>2]|0)+m|0;s=(((r|0)>0?-1:-12)+r|0)/12|0;c[(M&p)>>2]=(c[(M&p)>>2]|0)+s;c[(K&p)>>2]=(ca(s,-12)|0)+r;a[(B&n)>>0]=0;no(k);w=+(m|0);if(w!=x){w=y+(x-w)*30.0*864.0e5;r=+R(w)>=1.0?(w>0.0?~~+da(+Q(w/4294967296.0),4294967295.0)>>>0:~~+ba((w-+(~~w>>>0))/4294967296.0)>>>0):0;m=k;r=jw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,~~w>>>0|0,r|0)|0;m=k;c[(m&p)>>2]=r;c[(m&p)+4>>2]=G}}else V=80;else if((v|0)==3?(_v(u,20024)|0)==0:0){w=x*864.0e5+y;r=+R(w)>=1.0?(w>0.0?~~+da(+Q(w/4294967296.0),4294967295.0)>>>0:~~+ba((w-+(~~w>>>0))/4294967296.0)>>>0):0;m=k;r=jw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,~~w>>>0|0,r|0)|0;m=k;c[(m&p)>>2]=r;c[(m&p)+4>>2]=G}else V=80;while(0);if((V|0)==80)c[(T&p)>>2]=1;a[(l&n)>>0]=0;a[(z&n)>>0]=0;a[(A&n)>>0]=0;V=82}break}default:V=82}while(0);if((V|0)==82){V=0;v=c[(T&p)>>2]|0}N=N+1|0;if(v){l=1;break a}if((N|0)>=(f|0)){l=0;break a}}}else l=0}else l=qq(b,k)|0;while(0);i=W;return l|0}function no(b){b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,o=0.0;i=b+42|0;if(!(a[(i&n)>>0]|0)){j=b+40|0;if(a[(j&n)>>0]|0){e=c[(b&p)+8>>2]|0;d=c[(b&p)+12>>2]|0;f=c[(b&p)+16>>2]|0;if((d|0)<3)g=4}else{f=1;d=1;e=2e3;g=4}if((g|0)==4){d=d+12|0;e=e+-1|0}o=(+(f+2+((e|0)/-100|0)+((e|0)/400|0)+(((e*36525|0)+172251900|0)/100|0)+(((d*306001|0)+306001|0)/1e4|0)|0)+-1524.5)*864.0e5;e=~~o>>>0;f=+R(o)>=1.0?(o>0.0?~~+da(+Q(o/4294967296.0),4294967295.0)>>>0:~~+ba((o-+(~~o>>>0))/4294967296.0)>>>0):0;d=b;c[(d&p)>>2]=e;c[(d&p)+4>>2]=f;a[(i&n)>>0]=1;d=b+41|0;if((a[(d&n)>>0]|0)!=0?(k=ca(c[(b&p)+20>>2]|0,36e5)|0,k=((c[(b&p)+24>>2]|0)*6e4|0)+k|0,o=+h[(b&q)+32>>3]*1.0e3,l=jw(~~o>>>0|0,(+R(o)>=1.0?(o>0.0?~~+da(+Q(o/4294967296.0),4294967295.0)>>>0:~~+ba((o-+(~~o>>>0))/4294967296.0)>>>0):0)|0,e|0,f|0)|0,k=jw(l|0,G|0,k|0,((k|0)<0)<<31>>31|0)|0,l=G,m=b,c[(m&p)>>2]=k,c[(m&p)+4>>2]=l,m=b+43|0,(a[(m&n)>>0]|0)!=0):0){f=(c[(b&p)+28>>2]|0)*6e4|0;f=dw(k|0,l|0,f|0,((f|0)<0)<<31>>31|0)|0;e=b;c[(e&p)>>2]=f;c[(e&p)+4>>2]=G;a[(j&n)>>0]=0;a[(d&n)>>0]=0;a[(m&n)>>0]=0}}return}function oo(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;g=b+40|0;if(!(a[(g&n)>>0]|0)){if(!(a[(b&n)+42>>0]|0)){d=2e3;e=1;f=1}else{d=b;d=jw(c[(d&p)>>2]|0,c[(d&p)+4>>2]|0,432e5,0)|0;d=qw(d|0,G|0,864e5,0)|0;h=~~((+(d|0)+-1867216.25)/36524.25);h=d+1525+h+((h|0)/-4|0)|0;d=~~((+(h|0)+-122.1)/365.25);h=h-((d*36525|0)/100|0)|0;f=~~(+(h|0)/30.6001);e=((f|0)<14?-1:-13)+f|0;d=((e|0)>2?-4716:-4715)+d|0;f=h-~~(+(f|0)*30.6001)|0}c[(b&p)+16>>2]=f;c[(b&p)+12>>2]=e;c[(b&p)+8>>2]=d;a[(g&n)>>0]=1}return}function po(b){b=b|0;var d=0,e=0,f=0,g=0,i=0.0;d=b+41|0;if(!(a[(d&n)>>0]|0)){no(b);g=b;g=jw(c[(g&p)>>2]|0,c[(g&p)+4>>2]|0,432e5,0)|0;g=rw(g|0,G|0,864e5,0)|0;i=+(g|0)/1.0e3;g=~~i;f=(g|0)/3600|0;c[(b&p)+20>>2]=f;f=(ca(f,-3600)|0)+g|0;e=(f|0)/60|0;c[(b&p)+24>>2]=e;h[(b&q)+32>>3]=i-+(g|0)+ +(f+(ca(e,-60)|0)|0);a[(d&n)>>0]=1}return}function qo(a){a=a|0;mg(c[(a&p)+52>>2]|0,a);return}function ro(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0,i=0;i=b+65|0;do if(!(a[(i&n)>>0]|0)){if(!d){h=mh(b,f,g)|0;break}if((c[(b&p)+276>>2]|0)>>>0<=d>>>0?(c[(b&p)+280>>2]|0)>>>0>d>>>0:0){i=b+248|0;if(!(0<g>>>0|(0==(g|0)?(e[(i&o)>>1]|0)>>>0<f>>>0:0))){h=d;break}h=mh(b,f,g)|0;if(!h){h=0;break}kw(h|0,d|0,e[(i&o)>>1]|0)|0;mg(b,d);break}if((Lc()|0)==0?(h=rg(d,f,g)|0,(h|0)!=0):0)break;a[(i&n)>>0]=1;h=0}else h=0;while(0);return h|0}function so(a,d){a=a|0;d=d|0;var e=0,f=0;if(!a)a=0;else{f=c[(a&p)+4>>2]|0;c[(f&p)+4>>2]=c[(a&p)>>2];f=f+22|0;a=b[(f&o)>>1]|0;if((d|0)>-1){e=a&65535;a=e&65531;b[(f&o)>>1]=a;if(d){a=(e|4)&65535;b[(f&o)>>1]=a}}a=(a&65535)>>>2&1}return a|0}function to(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;h=c[(b&p)+4>>2]|0;c[(h&p)+4>>2]=c[(b&p)>>2];h=c[(h&p)>>2]|0;f=e&3;if((f|0)!=1){g=a[(h&n)+12>>0]|0;b=h+7|0;a[(b&n)>>0]=g<<24>>24!=0&1;if((f|0)==3)g=g<<24>>24==0&1;else g=0}else{b=h+7|0;a[(b&n)>>0]=1;g=0}a[(h&n)+8>>0]=g;do if(!(a[(b&n)>>0]|0)){if(e&4){a[(h&n)+11>>0]=3;a[(h&n)+9>>0]=3;b=3;break}a[(h&n)+11>>0]=2;b=h+9|0;if(!(e&8)){a[(b&n)>>0]=2;b=2;break}else{a[(b&n)>>0]=3;b=2;break}}else{a[(h&n)+11>>0]=0;a[(h&n)+9>>0]=0;b=0}while(0);if(g<<24>>24)b=(b&255|32)&255;a[(h&n)+10>>0]=b;b=h+20|0;f=d[(b&n)>>0]|0;a[(b&n)>>0]=(e&16|0)==0?f|1:f&254;return}function uo(a){a=a|0;var b=0,d=0;d=a+12|0;b=c[(d&p)>>2]|0;if((b|0)>-1){ao(a,b,27311);c[(d&p)>>2]=-1}Wc(c[(a&p)+28>>2]|0);b=a+0|0;d=b+44|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(d|0));return}function vo(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,i=0,j=0;i=f&131071;while(1){h=cb(a|0,b|0,0)|0;if(!((h|0)==(b|0)&(((h|0)<0)<<31>>31|0)==(d|0))){j=3;break}h=ac[c[47688>>2]&63](a,e,i)|0;if((h|0)>=0)break;f=c[((Hb()|0)&p)>>2]|0;if((f|0)!=4){j=9;break}}if((j|0)==3)if(!g)h=-1;else{if((h|0)==-1)h=c[((Hb()|0)&p)>>2]|0;else h=0;c[(g&p)>>2]=h;h=-1}else if((j|0)==9)if(g)c[(g&p)>>2]=f;return h|0}function wo(a,d,f){a=a|0;d=d|0;f=f|0;var g=0;g=c[(f&p)>>2]|0;do if((g|0)>=0){d=d&255;if(!g){f=a+18|0;b[(f&o)>>1]=(e[(f&o)>>1]|0)&(d^65535);break}else{f=a+18|0;b[(f&o)>>1]=e[(f&o)>>1]|0|d;break}}else c[(f&p)>>2]=((e[(a&o)+18>>1]|0)&(d&255)|0)!=0&1;while(0);return}function xo(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+80|0;if((i|0)>=(j|0))fa();d=e;b=a+8|0;if(c[(b&p)>>2]|0)if(!(rc[c[47604>>2]&127](c[(a&p)+32>>2]|0,d)|0))b=(c[(d&p)+72>>2]|0)!=(c[((c[(b&p)>>2]|0)&p)+4>>2]|0);else b=1;else b=0;i=e;return b&1|0}function yo(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0;m=i;i=i+32|0;if((i|0)>=(j|0))fa();l=m;k=m+8|0;h=(c[((c[(a&p)+8>>2]|0)&p)+20>>2]|0)+12|0;if((c[(h&p)>>2]|0)>-1){c[(k&p)>>2]=0;c[(k&p)+4>>2]=0;c[(k&p)+8>>2]=0;c[(k&p)+12>>2]=0;b[(k&o)>>1]=d;b[(k&o)+2>>1]=0;c[(k&p)+4>>2]=f;c[(k&p)+8>>2]=g;d=a+18|0;g=((b[(d&o)>>1]&512)>>>9)+13|0;f=c[11910]|0;h=c[(h&p)>>2]|0;c[(l&p)>>2]=k;h=(ac[f&63](h,g,l)|0)!=-1;b[(d&o)>>1]=(e[(d&o)>>1]|0)&65023;h=h?0:5}else h=0;i=m;return h|0}function zo(a){a=a|0;var d=0,f=0,g=0,h=0,i=0,j=0,k=0;k=c[((c[(a&p)+8>>2]|0)&p)+20>>2]|0;if((k|0)!=0?(c[(k&p)+28>>2]|0)==0:0){d=hc[c[47844>>2]&7]()|0;if((d|0)<32768)g=1;else g=(d|0)/32768|0;h=k+20|0;if(!(b[(h&o)>>1]|0)){f=k+12|0;d=k+24|0}else{f=k+12|0;d=k+24|0;i=k+16|0;j=0;do{if((c[(f&p)>>2]|0)>-1)rc[c[47820>>2]&127](c[((c[(d&p)>>2]|0)+(j<<2)&p)>>2]|0,c[(i&p)>>2]|0)|0;else Wc(c[((c[(d&p)>>2]|0)+(j<<2)&p)>>2]|0);j=j+g|0}while((j|0)<(e[(h&o)>>1]|0))}Wc(c[(d&p)>>2]|0);d=c[(f&p)>>2]|0;if((d|0)>-1){ao(a,d,29591);c[(f&p)>>2]=-1}c[((c[(k&p)>>2]|0)&p)+20>>2]=0;Wc(k)}return}function Ao(a){a=a|0;var b=0,d=0,e=0;d=(c[(a&p)+8>>2]|0)+28|0;b=c[(d&p)>>2]|0;if(b)do{e=b;b=c[(b&p)+8>>2]|0;ao(a,c[(e&p)>>2]|0,26573);Wc(e)}while((b|0)!=0);c[(d&p)>>2]=0;return}function Bo(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;l=i;i=i+32|0;if((i|0)>=(j|0))fa();h=l;g=l+8|0;k=c[(d&p)+8>>2]|0;f=b[(d&o)+18>>1]|0;if(!(f&1))if((a[(k&n)+13>>0]|0)!=0&(f&2)==0)f=4;else f=7;else if(!(f&2))f=4;else f=7;if((f|0)==4){f=k+13|0;if(!(a[(f&n)>>0]|0)){b[(g&o)+2>>1]=0;c[(g&p)+4>>2]=(c[2514]|0)+2;c[(g&p)+8>>2]=510;b[(g&o)>>1]=1;m=c[11910]|0;e=c[(d&p)+12>>2]|0;c[(h&p)>>2]=g;e=ac[m&63](e,13,h)|0;if((e|0)>=0){a[(f&n)>>0]=1;f=k+24|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1}}else e=0}else if((f|0)==7){g=c[11910]|0;f=c[(d&p)+12>>2]|0;c[(h&p)>>2]=e;e=ac[g&63](f,13,h)|0}i=l;return e|0}function Co(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;do if(b){f=c[(b&p)>>2]|0;if(!f){c[(b&p)>>2]=1;c[(b&p)+4>>2]=d;g=9;break}h=b+4|0;e=c[(h&p)>>2]|0;c[(b&p)>>2]=f+1;c[(h&p)>>2]=d;if(e){c[(d&p)>>2]=e;e=e+4|0;c[(d&p)+4>>2]=c[(e&p)>>2];f=c[(e&p)>>2]|0;if(!f)c[(a&p)+8>>2]=d;else c[(f&p)>>2]=d;c[(e&p)>>2]=d}else g=9}else g=9;while(0);if((g|0)==9){e=a+8|0;f=c[(e&p)>>2]|0;c[(d&p)>>2]=f;if(f)c[(f&p)+4>>2]=d;c[(d&p)+4>>2]=0;c[(e&p)>>2]=d}return}function Do(a,b){a=a|0;b=b|0;var d=0,e=0;if(b){if((c[(b&p)>>2]|0)>0){d=0;e=b+8|0;while(1){mg(a,c[(e&p)+4>>2]|0);mg(a,c[(e&p)+8>>2]|0);mg(a,c[(e&p)+12>>2]|0);mg(a,c[(e&p)+64>>2]|0);kg(a,c[(e&p)+16>>2]|0);Mk(a,c[(e&p)+20>>2]|0,1);Gk(a,c[(e&p)+44>>2]|0);Hk(a,c[(e&p)+48>>2]|0);d=d+1|0;if((d|0)>=(c[(b&p)>>2]|0))break;else e=e+72|0}}mg(a,b)}return}function Eo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;d=Fo(a,d)|0;if((d|0)>0){e=a+12|0;kw((c[(a&p)+8>>2]|0)+(c[(e&p)>>2]|0)|0,b|0,d|0)|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+d}return}function Fo(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0;i=b+25|0;do if(!(a[(i&n)>>0]|0)){g=a[(b&n)+24>>0]|0;if(!(g<<24>>24)){f=b+16|0;d=(c[(f&p)>>2]|0)+-1-(c[(b&p)+12>>2]|0)|0;a[(i&n)>>0]=2;c[(f&p)>>2]=0;break}j=b+8|0;h=c[(j&p)>>2]|0;h=(h|0)==(c[(b&p)+4>>2]|0)?0:h;k=b+12|0;r=c[(k&p)>>2]|0;f=((r|0)<0)<<31>>31;u=d+1|0;u=jw(r|0,f|0,u|0,((u|0)<0)<<31>>31|0)|0;s=G;f=jw(u|0,s|0,r|0,f|0)|0;r=G;m=c[(b&p)+20>>2]|0;q=((m|0)<0)<<31>>31;t=(r|0)>(q|0)|(r|0)==(q|0)&f>>>0>m>>>0;f=t?u:f;r=t?s:r;if((r|0)>(q|0)|(r|0)==(q|0)&f>>>0>m>>>0){gn(b);a[(i&n)>>0]=2;c[(b&p)+16>>2]=0;d=0;break}m=b+16|0;c[(m&p)>>2]=f;if(g<<24>>24==1)g=ro(c[(b&p)>>2]|0,h,f,((f|0)<0)<<31>>31)|0;else g=Xc(h,f)|0;if(!g){gn(b);a[(i&n)>>0]=1;c[(m&p)>>2]=0;d=0;break}if((h|0)==0?(l=c[(k&p)>>2]|0,(l|0)>0):0)kw(g|0,c[(j&p)>>2]|0,l|0)|0;c[(j&p)>>2]=g;f=c[(b&p)>>2]|0;do if(!f)f=lc[c[8792>>2]&127](g)|0;else{if((c[(f&p)+276>>2]|0)>>>0<=g>>>0?(c[(f&p)+280>>2]|0)>>>0>g>>>0:0){f=e[(f&o)+248>>1]|0;break}f=lc[c[8792>>2]&127](g)|0}while(0);c[(m&p)>>2]=f}else d=0;while(0);return d|0}function Go(a){a=a|0;var b=0,d=0;if((c[3154]|0)>=(a|0)?(b=c[3160]|0,(b|0)!=0):0){c[3160]=c[(b&p)>>2];d=c[3161]|0;c[3161]=d+-1;c[3162]=(d|0)<=(c[3156]|0)&1;c[2173]=a;if((c[2183]|0)>>>0<a>>>0)c[2183]=a;d=(c[2167]|0)+1|0;c[2167]=d;if(d>>>0>(c[2177]|0)>>>0)c[2177]=d}else{b=qg(a,((a|0)<0)<<31>>31)|0;if(b){d=lc[c[8792>>2]&127](b)|0;c[2173]=a;if((c[2183]|0)>>>0<a>>>0)c[2183]=a;d=(c[2168]|0)+d|0;c[2168]=d;if(d>>>0>(c[2178]|0)>>>0)c[2178]=d}else b=0}return b|0}function Ho(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=a+20|0;if(c[(h&p)>>2]|0){f=a+24|0;i=ac[c[8864>>2]&63](b,(c[(f&p)>>2]|0)+40|0,d[(a&n)+28>>0]|0)|0;if(!i)e=7;else{g=c[2217]|0;e=c[(a&p)+16>>2]|0;if((e|0)<=-1){j=sw(e|0,((e|0)<0)<<31>>31|0,-1024,-1)|0;e=(c[(f&p)>>2]|0)+(c[(h&p)>>2]|0)|0;e=qw(j|0,G|0,e|0,((e|0)<0)<<31>>31|0)|0}jc[g&15](i,e);e=a+40|0;f=c[(e&p)>>2]|0;if(f)cc[c[8892>>2]&31](f);c[(e&p)>>2]=i;c[(a&p)+44>>2]=0;c[(h&p)>>2]=b;e=0}}else e=0;return e|0}function Io(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))fa();g=k;f=c[(a&p)+208>>2]|0;if(((f|0)!=0?(b[(f&o)+40>>1]|0)>-1:0)?(e=c[(f&p)+72>>2]|0,(e|0)!=0):0){f=e;h=8}else h=4;do if((h|0)==4){f=g;c[(f&p)>>2]=0;c[(f&p)+4>>2]=0;f=c[(a&p)+60>>2]|0;e=c[(f&p)>>2]|0;if(!e){e=-1;f=-1}else{e=rc[c[(e&p)+24>>2]&127](f,g)|0;if(e)break;e=g;e=jw(c[(e&p)>>2]|0,c[(e&p)+4>>2]|0,-1,-1)|0;f=G}g=c[(a&p)+152>>2]|0;h=((g|0)<0)<<31>>31;f=jw(e|0,f|0,g|0,h|0)|0;f=qw(f|0,G|0,g|0,h|0)|0;h=8}while(0);if((h|0)==8){e=a+156|0;if(f>>>0>(c[(e&p)>>2]|0)>>>0)c[(e&p)>>2]=f;c[(d&p)>>2]=f;e=0}i=k;return e|0}function Jo(b){b=b|0;var d=0,e=0;e=b+64|0;if(!((a[(b&n)+7>>0]|0)==0?(d=c[(e&p)>>2]|0,d=rc[c[((c[(d&p)>>2]|0)&p)+20>>2]&127](d,2)|0,(d|0)!=0):0)){d=c[(e&p)>>2]|0;d=rc[c[((c[(d&p)>>2]|0)&p)+24>>2]&127](d,b+80|0)|0}return d|0}function Ko(b,d){b=b|0;d=d|0;var e=0,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,H=0;H=i;i=i+48|0;if((i|0)>=(j|0))fa();E=H+16|0;D=H+8|0;C=H+36|0;y=H;x=H+32|0;w=H+28|0;B=H+24|0;f=c[(b&p)>>2]|0;c[(w&p)>>2]=0;c[(B&p)>>2]=1;A=b+64|0;g=c[(A&p)>>2]|0;g=rc[c[((c[(g&p)>>2]|0)&p)+24>>2]&127](g,y)|0;a:do if(!g){z=b+200|0;g=c[(z&p)>>2]|0;h=uq(c[(A&p)>>2]|0,g,(c[((c[(b&p)>>2]|0)&p)+8>>2]|0)+1|0)|0;if(!h){if(!(a[(g&n)>>0]|0))g=0;else g=pc[c[(f&p)+32>>2]&31](f,g,0,B)|0;b:do if((g|0)==0&(c[(B&p)>>2]|0)!=0){v=b+72|0;u=v;c[(u&p)>>2]=0;c[(u&p)+4>>2]=0;u=b+148|0;t=b+152|0;o=b+80|0;r=b+24|0;f=0;k=d;c:while(1){do{g=y;g=vq(b,d,c[(g&p)>>2]|0,c[(g&p)+4>>2]|0,x,w)|0;if((g|0)==101)break c;else if(g){F=27;break b}h=c[(x&p)>>2]|0;if((h|0)==-1){s=y;s=dw(c[(s&p)>>2]|0,c[(s&p)+4>>2]|0,c[(u&p)>>2]|0,0)|0;h=(c[(t&p)>>2]|0)+8|0;h=qw(s|0,G|0,h|0,((h|0)<0)<<31>>31|0)|0;c[(x&p)>>2]=h}if(!(h|d)){s=o;g=c[(u&p)>>2]|0;s=jw(g|0,0,c[(s&p)>>2]|0,c[(s&p)+4>>2]|0)|0;q=G;m=v;l=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;if((s|0)==(l|0)&(q|0)==(m|0)){m=y;m=dw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,s|0,q|0)|0;h=(c[(t&p)>>2]|0)+8|0;h=qw(m|0,G|0,h|0,((h|0)<0)<<31>>31|0)|0;c[(x&p)>>2]=h;m=q;l=s}}else{l=v;g=c[(u&p)>>2]|0;m=c[(l&p)+4>>2]|0;l=c[(l&p)>>2]|0}if((l|0)==(g|0)&(m|0)==0){g=c[(w&p)>>2]|0;l=Bl(b,g)|0;if(l){e=l;F=25;break a}c[(r&p)>>2]=g}}while((h|0)==0);l=0;while(1){if(k)xn(b);g=wq(b,v,0,1,0)|0;if((g|0)==522)break c;else if((g|0)==101)break;else if(g){F=27;break b}f=f+1|0;g=l+1|0;if(g>>>0<h>>>0){k=0;l=g}else{k=0;continue c}}g=y;s=c[(g&p)+4>>2]|0;k=v;c[(k&p)>>2]=c[(g&p)>>2];c[(k&p)+4>>2]=s;k=0}a[(b&n)+18>>0]=a[(b&n)+12>>0]|0;w=f}else{f=0;F=27}while(0);if((F|0)==27){a[(b&n)+18>>0]=a[(b&n)+12>>0]|0;if(!g)w=f;else{e=g;break}}v=c[(z&p)>>2]|0;g=uq(c[(A&p)>>2]|0,v,(c[((c[(b&p)>>2]|0)&p)+8>>2]|0)+1|0)|0;if(!g){if(((a[(b&n)+16>>0]|0)+-1&255)>2?(e=Ig(b,0)|0,(e|0)!=0):0){f=w;break}e=Cl(b,(a[(v&n)>>0]|0)!=0&1,0)|0;if(!e)if((a[(v&n)>>0]|0)!=0&(c[(B&p)>>2]|0)!=0){t=c[(b&p)>>2]|0;g=t+4|0;f=c[(g&p)>>2]<<1;u=qg(f,((f|0)<0)<<31>>31)|0;if(!u){f=w;e=7}else{fw(u|0,0,f|0)|0;r=u+(c[(g&p)>>2]|0)|0;s=t+24|0;e=tc[c[(s&p)>>2]&31](t,v,u,16385,0)|0;d:do if(!e){e=rc[c[((c[(u&p)>>2]|0)&p)+24>>2]&127](u,D)|0;if(!e){o=(c[(t&p)+8>>2]|0)+1|0;f=D;f=jw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,1,0)|0;f=jw(f|0,G|0,o|0,((o|0)<0)<<31>>31|0)|0;f=qg(f,G)|0;if(f){q=D;e=c[(q&p)>>2]|0;q=jw(e|0,c[(q&p)+4>>2]|0,1,0)|0;q=f+q|0;e=tc[c[((c[(u&p)>>2]|0)&p)+8>>2]&31](u,f,e,0,0)|0;if(!e){a[(f+(c[(D&p)>>2]|0)&n)>>0]=0;k=f;B=D;A=c[(B&p)+4>>2]|0;if((A|0)>0|(A|0)==0&(c[(B&p)>>2]|0)>>>0>0){g=t+32|0;l=k;m=f;do{e=pc[c[(g&p)>>2]&31](t,m,0,C)|0;if(e){F=55;break d}do if(c[(C&p)>>2]|0){e=tc[c[(s&p)>>2]&31](t,m,r,2049,0)|0;if(e){F=55;break d}e=uq(r,q,o)|0;h=c[(r&p)>>2]|0;if(h){lc[c[(h&p)+4>>2]&127](r)|0;c[(r&p)>>2]=0}if(e){F=55;break d}if(!(a[(q&n)>>0]|0))break;if(!(_v(q,v)|0)){e=0;F=55;break d}}while(0);if(!m)h=1;else{h=m;while(1)if(!(a[(h&n)>>0]|0))break;else h=h+1|0;h=(h-l&1073741823)+1|0}m=m+h|0;l=m;A=l-k|0;y=((A|0)<0)<<31>>31;B=D;z=c[(B&p)+4>>2]|0}while((y|0)<(z|0)|((y|0)==(z|0)?A>>>0<(c[(B&p)>>2]|0)>>>0:0))}e=c[(u&p)>>2]|0;if(e){lc[c[(e&p)+4>>2]&127](u)|0;c[(u&p)>>2]=0}e=ac[c[(t&p)+28>>2]&63](t,v,0)|0;Wc(f)}else F=55}else{e=7;f=0;F=55}}else{f=0;F=55}}else{f=0;F=55}while(0);if((F|0)==55)Wc(f);f=c[(u&p)>>2]|0;if(f){lc[c[(f&p)+4>>2]&127](u)|0;c[(u&p)>>2]=0}Wc(u);f=w}}else{f=w;e=0}else f=w}else{f=w;e=g}}else{f=0;e=h;F=25}}else{f=0;e=g;F=25}while(0);if((F|0)==25)a[(b&n)+18>>0]=a[(b&n)+12>>0]|0;if((d|0)!=0&(f|0)!=0){D=c[(b&p)+172>>2]|0;c[(E&p)>>2]=f;c[(E&p)+4>>2]=D;bd(539,14776,E)}wp(b);i=H;return e|0}function Lo(d){d=d|0;var e=0,f=0;e=d+44|0;if(a[(e&n)>>0]|0){if(!(a[(d&n)+43>>0]|0)){f=c[(d&p)+4>>2]|0;pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,0,1,9)|0}a[(e&n)>>0]=0;a[(d&n)+47>>0]=0}e=d+40|0;f=b[(e&o)>>1]|0;if(f<<16>>16>-1){if(!(a[(d&n)+43>>0]|0)){d=c[(d&p)+4>>2]|0;pc[c[((c[(d&p)>>2]|0)&p)+56>>2]&31](d,(f<<16>>16)+3|0,1,5)|0}b[(e&o)>>1]=-1}return}function Mo(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,q=0;if((g|0)>5)if((g|0)>100)f=15;else{if((g|0)>9){g=g+-9|0;g=ca(g*39|0,g)|0}else g=1;h=c[(d&p)>>2]|0;rc[c[(h&p)+60>>2]&127](h,g)|0;h=6}else h=6;a:do if((h|0)==6){do if(!f){f=nq(d,e)|0;do if((f|0)==5){if(!(c[(c[(d&p)+32>>2]&p)>>2]|0)){f=-1;break a}e=d+43|0;if(a[(e&n)>>0]|0){f=-1;break a}g=d+4|0;f=c[(g&p)>>2]|0;f=pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,2,1,6)|0;if((f|0)==5){f=261;break a}else if(f)break;if(a[(e&n)>>0]|0){f=-1;break a}f=c[(g&p)>>2]|0;pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,2,1,5)|0;f=-1;break a}while(0);if(f)break a;g=d+32|0;j=(c[(c[(g&p)>>2]&p)>>2]|0)+96|0;e=d+52|0;if((c[(j&p)>>2]|0)==(c[(d&p)+68>>2]|0)){i=d+43|0;h=a[(i&n)>>0]|0;if(!(h<<24>>24)){f=c[(d&p)+4>>2]|0;f=pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,3,1,6)|0;h=a[(i&n)>>0]|0}else f=0;if(h<<24>>24!=2){q=c[(d&p)+4>>2]|0;cc[c[((c[(q&p)>>2]|0)&p)+60>>2]&31](q)}if((f|0)==5){q=g;g=5;break}else if(f)break a;if(!(Zv(c[(c[(g&p)>>2]&p)>>2]|0,e,48)|0)){b[(d&o)+40>>1]=0;f=0;break a}if(a[(i&n)>>0]|0){f=-1;break a}f=c[(d&p)+4>>2]|0;pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,3,1,5)|0;f=-1;break a}else{q=g;g=0}}else{j=d+32|0;q=j;j=(c[(c[(j&p)>>2]&p)>>2]|0)+96|0;g=0}while(0);m=d+68|0;e=c[(j&p)+8>>2]|0;i=e>>>0>(c[(m&p)>>2]|0)>>>0;e=i?0:e;i=i&1^1;h=c[(j&p)+12>>2]|0;if(e>>>0<=h>>>0){l=h>>>0>(c[(m&p)>>2]|0)>>>0;i=l?i:2;e=l?e:h}h=c[(j&p)+16>>2]|0;if(e>>>0<=h>>>0){l=h>>>0>(c[(m&p)>>2]|0)>>>0;i=l?i:3;e=l?e:h}h=c[(j&p)+20>>2]|0;if(e>>>0<=h>>>0){l=h>>>0>(c[(m&p)>>2]|0)>>>0;i=l?i:4;e=l?e:h}b:do if((a[(d&n)+46>>0]&2)==0?((i|0)==0?1:e>>>0<(c[(m&p)>>2]|0)>>>0):0){l=d+43|0;k=d+4|0;h=1;while(1){g=h+3|0;if(a[(l&n)>>0]|0){i=h;break}f=c[(k&p)>>2]|0;f=pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,g,1,10)|0;if(!f){i=h;break}else if((f|0)!=5)break a;h=h+1|0;if((h|0)>=5){g=5;break b}}h=c[(m&p)>>2]|0;c[(j+(i<<2)&p)+4>>2]=h;if(!(a[(l&n)>>0]|0)){e=c[(k&p)>>2]|0;pc[c[((c[(e&p)>>2]|0)&p)+56>>2]&31](e,g,1,9)|0;e=h;g=0}else{e=h;g=0}}while(0);if(!i){f=(g|0)==5?-1:520;break}g=i+3|0;f=d+43|0;h=a[(f&n)>>0]|0;do if(!(h<<24>>24)){h=c[(d&p)+4>>2]|0;h=pc[c[((c[(h&p)>>2]|0)&p)+56>>2]&31](h,g,1,6)|0;if(!h){h=a[(f&n)>>0]|0;break}else{f=(h|0)==5?-1:h;break a}}while(0);if(h<<24>>24!=2){m=c[(d&p)+4>>2]|0;cc[c[((c[(m&p)>>2]|0)&p)+60>>2]&31](m)}if((c[(j+(i<<2)&p)+4>>2]|0)==(e|0)?(Zv(c[(c[(q&p)>>2]&p)>>2]|0,d+52|0,48)|0)==0:0){b[(d&o)+40>>1]=i;f=0;break}if(!(a[(f&n)>>0]|0)){f=c[(d&p)+4>>2]|0;pc[c[((c[(f&p)>>2]|0)&p)+56>>2]&31](f,g,1,5)|0;f=-1}else f=-1}while(0);return f|0}function No(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=b+56|0;ei(c[(e&p)>>2]|0);c[(e&p)>>2]=0;cp(b);e=c[(b&p)+208>>2]|0;if(!e){if(!(a[(b&n)+4>>0]|0)){f=b+60|0;e=c[(f&p)>>2]|0;d=c[(e&p)>>2]|0;if(!(((d|0)!=0?((lc[c[(d&p)+48>>2]&127](e)|0)&2048|0)!=0:0)?(a[(b&n)+5>>0]&5)==1:0))i=7;if((i|0)==7?(g=c[(b&p)+64>>2]|0,h=c[(g&p)>>2]|0,(h|0)!=0):0){lc[c[(h&p)+4>>2]&127](g)|0;c[(g&p)>>2]=0}d=c[(f&p)>>2]|0;e=c[(d&p)>>2]|0;if(e){if(!(a[(b&n)+13>>0]|0))d=rc[c[(e&p)+32>>2]&127](d,0)|0;else d=0;e=b+17|0;if((a[(e&n)>>0]|0)!=5)a[(e&n)>>0]=0;if((d|0)!=0?(a[(b&n)+16>>0]|0)==6:0)a[(e&n)>>0]=5}a[(b&n)+18>>0]=0;a[(b&n)+16>>0]=0}}else{Lo(e);a[(b&n)+16>>0]=0}d=b+40|0;if(c[(d&p)>>2]|0){xn(b);a[(b&n)+18>>0]=a[(b&n)+12>>0]|0;a[(b&n)+16>>0]=0;c[(d&p)>>2]=0}d=b+72|0;a[(b&n)+19>>0]=0;c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;c[(d&p)+8>>2]=0;c[(d&p)+12>>2]=0;return}function Oo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=c[(d&p)+4>>2]|0;f=e+0|0;g=f+40|0;do{c[(f&p)>>2]=0;f=f+4|0}while((f|0)<(g|0));c[(e&p)>>2]=d;c[(e&p)+4>>2]=c[(d&p)>>2];f=e+40|0;c[(e&p)+8>>2]=f;fw(f|0,0,c[(a&p)+24>>2]|0)|0;c[(e&p)+28>>2]=a;c[(e&p)+20>>2]=b;return il(a,b,d)|0}function Po(a,b,d,e,f){a=a|0;b=b|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))fa();g=l;h=xq(a,b,g)|0;if(!h){k=c[(g&p)>>2]|0;if(!b){a=k+136|0;c[(g&p)>>2]=a;g=a;a=0}else{g=k;a=(b<<12)+-34|0}c[(e&p)>>2]=g+-4;c[(d&p)>>2]=k+16384;c[(f&p)>>2]=a}i=l;return h|0}function Qo(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=c[(d&p)+28>>2]|0;j=e&255;if(j&1){f=k+8|0;if((c[(f&p)>>2]|0)==(d|0)){e=d;do{e=c[(e&p)+36>>2]|0;if(!e){e=0;break}}while((b[(e&o)+24>>1]&4)!=0);c[(f&p)>>2]=e}e=d+32|0;g=c[(e&p)>>2]|0;h=(g|0)==0;i=d+36|0;f=c[(i&p)>>2]|0;if(h)c[(k&p)+4>>2]=f;else c[(g&p)+36>>2]=f;f=c[(i&p)>>2]|0;if(!f){c[(k&p)>>2]=g;if(h?(a[(k&n)+28>>0]|0)!=0:0)a[(k&n)+29>>0]=2}else c[(f&p)+32>>2]=g;c[(e&p)>>2]=0;c[(i&p)>>2]=0}if(j&2){e=c[(k&p)>>2]|0;c[(d&p)+32>>2]=e;if(!e){c[(k&p)+4>>2]=d;if(a[(k&n)+28>>0]|0)a[(k&n)+29>>0]=1}else c[(e&p)+36>>2]=d;c[(k&p)>>2]=d;e=k+8|0;if((c[(e&p)>>2]|0)==0?(b[(d&o)+24>>1]&4)==0:0)c[(e&p)>>2]=d}return}function Ro(d,e){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;f=e>>>3;g=f&255;a[(d&n)+5>>0]=g;e=e&-9;a[(d&n)+7>>0]=4-(f<<2);f=c[(d&p)+52>>2]|0;if((e|0)==2){a[(d&n)+2>>0]=0;a[(d&n)+3>>0]=0;a[(d&n)+4>>0]=0;b[(d&o)+10>>1]=b[(f&o)+24>>1]|0;b[(d&o)+12>>1]=b[(f&o)+26>>1]|0;k=5}else if((e|0)==5){a[(d&n)+2>>0]=1;a[(d&n)+3>>0]=g;a[(d&n)+4>>0]=g<<24>>24==0&1;b[(d&o)+10>>1]=b[(f&o)+28>>1]|0;b[(d&o)+12>>1]=b[(f&o)+30>>1]|0;k=5}else{c[(h&p)>>2]=54521;c[(h&p)+4>>2]=10788;bd(11,13600,h);e=11}if((k|0)==5){a[(d&n)+8>>0]=a[(f&n)+21>>0]|0;e=0}i=l;return e|0}function So(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,o=0,q=0;l=c[(b&p)+200>>2]|0;j=b+152|0;k=c[(j&p)>>2]|0;m=b+148|0;i=c[(m&p)>>2]|0;k=k>>>0>i>>>0?i:k;g=c[(b&p)+96>>2]|0;if((g|0)>0){f=c[(b&p)+92>>2]|0;e=b+72|0;h=0;do{d=f+(h*48|0)+8|0;o=d;if((c[(o&p)>>2]|0)==0&(c[(o&p)+4>>2]|0)==0){q=e;o=c[(q&p)+4>>2]|0;c[(d&p)>>2]=c[(q&p)>>2];c[(d&p)+4>>2]=o}h=h+1|0}while((h|0)<(g|0));h=e}else h=b+72|0;e=h;f=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;if((f|0)==0&(e|0)==0){f=0;e=0}else{f=jw(f|0,e|0,-1,-1)|0;f=qw(f|0,G|0,i|0,0)|0;f=jw(f|0,G|0,1,0)|0;f=sw(f|0,G|0,i|0,0)|0;e=G}i=h;c[(i&p)>>2]=f;c[(i&p)+4>>2]=e;i=b+80|0;c[(i&p)>>2]=f;c[(i&p)+4>>2]=e;if(((a[(b&n)+7>>0]|0)==0?(a[(b&n)+5>>0]|0)!=4:0)?(i=c[(b&p)+60>>2]|0,((lc[c[((c[(i&p)>>2]|0)&p)+48>>2]&127](i)|0)&512|0)==0):0){f=l+0|0;e=f+12|0;do{a[(f&n)>>0]=0;f=f+1|0}while((f|0)<(e|0))}else{i=l;g=i;a[(g&n)>>0]=-117058087;a[(g&n)+1>>0]=-117058087>>8;a[(g&n)+2>>0]=-117058087>>16;a[(g&n)+3>>0]=-117058087>>24;i=i+4|0;a[(i&n)>>0]=-681336544;a[(i&n)+1>>0]=-681336544>>8;a[(i&n)+2>>0]=-681336544>>16;a[(i&n)+3>>0]=-681336544>>24;i=l+8|0;a[(i&n)>>0]=-1;a[(i&n)+1>>0]=-1>>8;a[(i&n)+2>>0]=-1>>16;a[(i&n)+3>>0]=-1>>24}e=b+48|0;cd(4,e);e=c[(e&p)>>2]|0;a[(l&n)+12>>0]=e>>>24;a[(l&n)+13>>0]=e>>>16;a[(l&n)+14>>0]=e>>>8;a[(l&n)+15>>0]=e;e=c[(b&p)+28>>2]|0;a[(l&n)+16>>0]=e>>>24;a[(l&n)+17>>0]=e>>>16;a[(l&n)+18>>0]=e>>>8;a[(l&n)+19>>0]=e;e=c[(m&p)>>2]|0;a[(l&n)+20>>0]=e>>>24;a[(l&n)+21>>0]=e>>>16;a[(l&n)+22>>0]=e>>>8;a[(l&n)+23>>0]=e;e=c[(j&p)>>2]|0;a[(l&n)+24>>0]=e>>>24;a[(l&n)+25>>0]=e>>>16;a[(l&n)+26>>0]=e>>>8;a[(l&n)+27>>0]=e;fw(l+28|0,0,k+-28|0)|0;e=b+64|0;f=0;while(1){if(f>>>0>=(c[(m&p)>>2]|0)>>>0){d=0;break}j=c[(e&p)>>2]|0;d=h;d=tc[c[((c[(j&p)>>2]|0)&p)+12>>2]&31](j,l,k,c[(d&p)>>2]|0,c[(d&p)+4>>2]|0)|0;j=h;j=jw(c[(j&p)>>2]|0,c[(j&p)+4>>2]|0,k|0,0)|0;b=h;c[(b&p)>>2]=j;c[(b&p)+4>>2]=G;if(!d)f=f+k|0;else break}return d|0}function To(a){a=a|0;var c=0,d=0,f=0;c=a+24|0;f=e[(c&o)>>1]|0;d=f&65503;b[(c&o)>>1]=d;if(!(f&2)){b[(c&o)>>1]=d|2;Qo(a,2)}return}function Uo(a){a=a|0;var b=0,d=0,e=0;b=c[(a&p)+16>>2]|0;d=c[(a&p)+20>>2]|0;e=c[(b&p)+96>>2]|0;a:do if((e|0)>0){b=c[(b&p)+92>>2]|0;a=0;while(1){if((c[(b+(a*48|0)&p)+20>>2]|0)>>>0>=d>>>0?(di(c[(b+(a*48|0)&p)+16>>2]|0,d)|0)==0:0){a=1;break a}a=a+1|0;if((a|0)>=(e|0)){a=0;break}}}else a=0;while(0);return a|0}function Vo(b){b=b|0;var d=0,e=0,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();m=s;q=c[(b&p)+16>>2]|0;e=a[(q&n)+5>>0]|0;a:do if(e<<24>>24!=2){o=q+68|0;f=c[(o&p)>>2]|0;do if(!(c[(f&p)>>2]|0)){if(e<<24>>24!=4?(a[(q&n)+21>>0]|0)==0:0){d=c[(q&p)>>2]|0;d=tc[c[(d&p)+24>>2]&31](d,0,f,8222,0)|0;if(!d)break;else break a}e=f+0|0;d=e+40|0;do{c[(e&p)>>2]=0;e=e+4|0}while((e|0)<(d|0));c[(f&p)>>2]=14696}while(0);f=c[(b&p)+4>>2]|0;l=q+52|0;g=q+152|0;h=(c[(g&p)>>2]|0)+4|0;h=sw(h|0,((h|0)<0)<<31>>31|0,c[(l&p)>>2]|0,0)|0;k=G;d=c[(o&p)>>2]|0;e=b+20|0;b=c[(e&p)>>2]|0;a[(m&n)>>0]=b>>>24;a[(m&n)+1>>0]=b>>>16;a[(m&n)+2>>0]=b>>>8;a[(m&n)+3>>0]=b;d=tc[c[((c[(d&p)>>2]|0)&p)+12>>2]&31](d,m,4,h,k)|0;if(!d){m=c[(o&p)>>2]|0;o=c[(g&p)>>2]|0;d=jw(h|0,k|0,4,0)|0;d=tc[c[((c[(m&p)>>2]|0)&p)+12>>2]&31](m,f,o,d,G)|0;if(!d){d=l;r=10}}}else{e=b+20|0;d=q+52|0;r=10}while(0);if((r|0)==10){c[(d&p)>>2]=(c[(d&p)>>2]|0)+1;d=jl(q,c[(e&p)>>2]|0)|0}i=s;return d|0}function Wo(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+48|0;if((i|0)>=(j|0))fa();g=h;d=(a|0)!=0;a:do if(d&(b|0)!=0){d=g;while(1){f=c[(b&p)+20>>2]|0;e=a;a=d;while(1){a=a+12|0;if((c[(e&p)+20>>2]|0)>>>0>=f>>>0)break;c[(a&p)>>2]=e;a=c[(e&p)+12>>2]|0;if(!a){d=b;a=e;e=8;break a}else{d=e;e=a;a=d}}c[(a&p)>>2]=b;f=c[(b&p)+12>>2]|0;d=(e|0)!=0;if(d&(f|0)!=0){d=b;a=e;b=f}else{a=e;e=6;break}}}else{f=b;b=g;e=6}while(0);if((e|0)==6)if(d)c[(b&p)+12>>2]=a;else{d=f;a=b;e=8}do if((e|0)==8){a=a+12|0;if(!d){c[(a&p)>>2]=0;break}else{c[(a&p)>>2]=d;break}}while(0);i=h;return c[(g&p)+12>>2]|0}function Xo(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=c[(c[(b&p)+32>>2]&p)>>2]|0;k=b+84|0;j=b+104|0;c[(j&p)>>2]=(c[(j&p)>>2]|0)+1;c[(b&p)+68>>2]=0;j=k+1|0;i=k+2|0;g=k+3|0;h=((d[(j&n)>>0]|0)<<16|(d[(k&n)>>0]|0)<<24|(d[(i&n)>>0]|0)<<8|(d[(g&n)>>0]|0))+1|0;a[(k&n)>>0]=h>>>24;a[(j&n)>>0]=h>>>16;a[(i&n)>>0]=h>>>8;a[(g&n)>>0]=h;c[(b&p)+88>>2]=e;$o(b);c[(f&p)+96>>2]=0;c[(f&p)+104>>2]=0;c[(f&p)+108>>2]=-1;c[(f&p)+112>>2]=-1;c[(f&p)+116>>2]=-1;return}function Yo(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,o=0,q=0,r=0,s=0;l=i;i=i+32|0;if((i|0)>=(j|0))fa();m=l;k=c[(e&p)+4>>2]|0;o=c[(b&p)>>2]|0;q=c[(e&p)+20>>2]|0;e=o+76|0;a[(m&n)>>0]=q>>>24;a[(m&n)+1>>0]=q>>>16;a[(m&n)+2>>0]=q>>>8;a[(m&n)+3>>0]=q;a[(m&n)+4>>0]=f>>>24;a[(m&n)+5>>0]=f>>>16;a[(m&n)+6>>0]=f>>>8;a[(m&n)+7>>0]=f;q=o+84|0;s=q;s=d[(s&n)>>0]|d[(s&n)+1>>0]<<8|d[(s&n)+2>>0]<<16|d[(s&n)+3>>0]<<24;q=q+4|0;q=d[(q&n)>>0]|d[(q&n)+1>>0]<<8|d[(q&n)+2>>0]<<16|d[(q&n)+3>>0]<<24;f=m+8|0;r=f;a[(r&n)>>0]=s;a[(r&n)+1>>0]=s>>8;a[(r&n)+2>>0]=s>>16;a[(r&n)+3>>0]=s>>24;f=f+4|0;a[(f&n)>>0]=q;a[(f&n)+1>>0]=q>>8;a[(f&n)+2>>0]=q>>16;a[(f&n)+3>>0]=q>>24;f=(a[(o&n)+65>>0]|0)==0&1;yq(f,m,8,e,e);yq(f,k,c[(o&p)+36>>2]|0,e,e);f=c[(e&p)>>2]|0;a[(m&n)+16>>0]=f>>>24;a[(m&n)+17>>0]=f>>>16;a[(m&n)+18>>0]=f>>>8;a[(m&n)+19>>0]=f;f=c[(o&p)+80>>2]|0;a[(m&n)+20>>0]=f>>>24;a[(m&n)+21>>0]=f>>>16;a[(m&n)+22>>0]=f>>>8;a[(m&n)+23>>0]=f;f=zq(b,m,24,g,h)|0;if(!f){q=c[(b&p)+20>>2]|0;f=jw(g|0,h|0,24,0)|0;f=zq(b,k,q,f,G)|0}i=l;return f|0}function Zo(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;k=i;i=i+16|0;if((i|0)>=(j|0))fa();h=k+8|0;g=k;f=c[3164]|0;if(f)nc[f&3]();e=a+8|0;f=c[(e&p)>>2]|0;f=rc[c[((c[(f&p)>>2]|0)&p)+24>>2]&127](f,g)|0;l=c[(g&p)+4>>2]|0;if((f|0)==0&((l|0)>(d|0)|((l|0)==(d|0)?(c[(g&p)>>2]|0)>>>0>b>>>0:0))){f=c[(e&p)>>2]|0;f=ac[c[((c[(f&p)>>2]|0)&p)+16>>2]&63](f,b,d)|0}e=c[3166]|0;if(e)nc[e&3]();if(f){c[(h&p)>>2]=c[(a&p)+100>>2];bd(f,14816,h)}i=k;return}function _o(a,d,e){a=a|0;d=d|0;e=e|0;var 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))fa();k=n;g=n+16|0;m=n+12|0;l=n+8|0;c[(g&p)>>2]=0;c[(m&p)>>2]=0;c[(l&p)>>2]=0;f=Po(a,(d+33|0)>>>12,l,m,g)|0;a:do if(!f){h=d-(c[(g&p)>>2]|0)|0;if((h|0)==1){f=c[(m&p)>>2]|0;d=f+4|0;fw(d|0,0,(c[(l&p)>>2]|0)+16384-d|0)|0}else f=c[(m&p)>>2]|0;if(c[(f+(h<<2)&p)>>2]|0)Aq(a);f=e*383&8191;b:do if(b[((c[(l&p)>>2]|0)+(f<<1)&o)>>1]|0){d=c[(l&p)>>2]|0;g=h;while(1){if(!g)break;f=f+1&8191;if(!(b[(d+(f<<1)&o)>>1]|0))break b;else g=g+-1|0}c[(k&p)>>2]=49852;c[(k&p)+4>>2]=10788;bd(11,13600,k);f=11;break a}while(0);c[((c[(m&p)>>2]|0)+(h<<2)&p)>>2]=e;b[((c[(l&p)>>2]|0)+(f<<1)&o)>>1]=h;f=0}while(0);i=n;return f|0}function $o(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[(c[(b&p)+32>>2]&p)>>2]|0;k=b+52|0;a[(b&n)+64>>0]=1;c[(k&p)>>2]=3007e3;i=b+92|0;g=3007e3;h=k;f=0;d=0;while(1){f=f+d+g|0;e=h+8|0;d=f+d+(c[(h&p)+4>>2]|0)|0;if(e>>>0>=i>>>0)break;g=c[(e&p)>>2]|0;h=e}c[(i&p)>>2]=f;c[(b&p)+96>>2]=d;d=j+48|0;e=k+0|0;f=d+48|0;do{a[(d&n)>>0]=a[(e&n)>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(f|0));if((a[(b&n)+43>>0]|0)!=2){d=c[(b&p)+4>>2]|0;cc[c[((c[(d&p)>>2]|0)&p)+60>>2]&31](d)}d=j+0|0;e=k+0|0;f=d+48|0;do{a[(d&n)>>0]=a[(e&n)>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(f|0));return}function ap(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(a)do{e=a+28|0;g=c[(e&p)>>2]|0;if(((g>>>0<7?(30>>>(g&127)&1)==0:0)?(c[(a&p)+16>>2]|0)>>>0>b>>>0:0)?(f=Ag(a,b,d,1)|0,(f|0)!=0):0)c[(e&p)>>2]=f;a=c[(a&p)+44>>2]|0}while((a|0)!=0);return}function bp(a){a=a|0;var b=0,d=0,e=0;a:do if(!(c[(a&p)+208>>2]|0)){d=a+176|0;e=a+180|0;while(1){b=fl(a,4)|0;if((b|0)!=5)break a;if(!(lc[c[(d&p)>>2]&127](c[(e&p)>>2]|0)|0)){b=5;break}}}else b=0;while(0);return b|0}function cp(b){b=b|0;var d=0,e=0,f=0,g=0;f=b+96|0;if((c[(f&p)>>2]|0)>0){d=b+92|0;e=0;do{ei(c[((c[(d&p)>>2]|0)+(e*48|0)&p)+16>>2]|0);e=e+1|0}while((e|0)<(c[(f&p)>>2]|0))}e=c[(b&p)+68>>2]|0;d=c[(e&p)>>2]|0;if(!(a[(b&n)+4>>0]|0)){if(d)g=7}else if((d|0)==14696){d=14696;g=7}if((g|0)==7){lc[c[(d&p)+4>>2]&127](e)|0;c[(e&p)>>2]=0}d=b+92|0;Wc(c[(d&p)>>2]|0);c[(d&p)>>2]=0;c[(f&p)>>2]=0;c[(b&p)+52>>2]=0;return}function dp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+40|0;if(c[(f&p)>>2]|0){d=c[(a&p)>>2]|0;if(d)do{e=d;d=c[(d&p)+32>>2]|0;if((c[(e&p)+20>>2]|0)>>>0>b>>>0)xl(e)}while((d|0)!=0);if(!b){b=c[(a&p)+44>>2]|0;if(!b)b=0;else{fw(c[(b&p)+4>>2]|0,0,c[(a&p)+20>>2]|0)|0;b=1}}jc[c[8888>>2]&15](c[(f&p)>>2]|0,b+1|0)}return}function ep(d,e){d=d|0;e=e|0;var f=0,g=0;do if(!e){f=d+43|0;if(!(a[(f&n)>>0]|0))f=0;else{a[(f&n)>>0]=0;g=c[(d&p)+4>>2]|0;if(!(pc[c[((c[(g&p)>>2]|0)&p)+56>>2]&31](g,(b[(d&o)+40>>1]|0)+3|0,1,6)|0))f=(a[(f&n)>>0]|0)==0;else{a[(f&n)>>0]=1;f=0}f=f&1}}else{f=d+43|0;g=(a[(f&n)>>0]|0)==0;if((e|0)<=0){f=g&1;break}if(g){g=c[(d&p)+4>>2]|0;pc[c[((c[(g&p)>>2]|0)&p)+56>>2]&31](g,(b[(d&o)+40>>1]|0)+3|0,1,5)|0}a[(f&n)>>0]=1;f=1}while(0);return f|0}function fp(b){b=b|0;var e=0,f=0,g=0,h=0;f=b+73|0;if((a[(f&n)>>0]|0)==2)a[(f&n)>>0]=1;else c[(b&p)+68>>2]=0;e=b+48|0;km(b,e);do if(!(a[((c[(b&p)+120>>2]|0)&n)+2>>0]|0)){g=e;g=qg(c[(g&p)>>2]|0,c[(g&p)+4>>2]|0)|0;if(g){e=Lm(b,0,c[(e&p)>>2]|0,g,0)|0;if(!e){c[(b&p)+56>>2]=g;h=9;break}else{Wc(g);break}}else e=7}else h=9;while(0);if((h|0)==9){gp(b);a[(f&n)>>0]=3;e=0}f=b+72|0;a[(f&n)>>0]=d[(f&n)>>0]&251;return e|0}function gp(a){a=a|0;var d=0,e=0,f=0,g=0;d=a+76|0;if((b[(d&o)>>1]|0)>=0){g=0;while(1){e=a+(g<<2)+120|0;f=c[(e&p)>>2]|0;if(f)Bg(c[(f&p)+68>>2]|0);c[(e&p)>>2]=0;if((g|0)<(b[(d&o)>>1]|0))g=g+1|0;else break}}b[(d&o)>>1]=-1;return}function hp(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,o=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();o=q;k=q+8|0;if(e>>>0<2)m=0;else{m=e+-2|0;m=m-((m>>>0)%(((((c[(b&p)+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;m=((m+1|0)==(((c[2514]|0)>>>0)/((c[(b&p)+32>>2]|0)>>>0)|0|0)?3:2)+m|0}h=zg(c[(b&p)>>2]|0,m,k,0)|0;do if(!h){k=c[(k&p)>>2]|0;l=c[(k&p)+4>>2]|0;h=(e-m|0)*5|0;b=h+-5|0;if((b|0)<0){if(k)Bg(k);c[(o&p)>>2]=53912;c[(o&p)+4>>2]=10788;bd(11,13600,o);h=11;break}a[(f&n)>>0]=a[(l+b&n)>>0]|0;if(g)c[(g&p)>>2]=(d[(l+h+-3&n)>>0]|0)<<16|(d[(l+h+-4&n)>>0]|0)<<24|(d[(l+h+-2&n)>>0]|0)<<8|(d[(l+h+-1&n)>>0]|0);if(k)Bg(k);if(((a[(f&n)>>0]|0)+-1&255)>4){c[(o&p)>>2]=53920;c[(o&p)+4>>2]=10788;bd(11,13600,o);h=11}else h=0}while(0);i=q;return h|0}function ip(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,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=i;i=i+32|0;if((i|0)>=(j|0))fa();M=N;L=N+16|0;s=N+20|0;K=N+12|0;t=N+8|0;c[(L&p)>>2]=0;v=e+12|0;r=c[(v&p)>>2]|0;u=e+44|0;I=c[(u&p)>>2]|0;J=r+56|0;q=c[(J&p)>>2]|0;q=d[(q&n)+37>>0]<<16|d[(q&n)+36>>0]<<24|d[(q&n)+38>>0]<<8|d[(q&n)+39>>0];do if(q>>>0<I>>>0){if(!q){k=(a[(e&n)+19>>0]|0)==0&1;r=Gg(c[(r&p)+68>>2]|0)|0;if(r){l=r;break}s=c[(u&p)>>2]|0;q=s+1|0;c[(u&p)>>2]=q;m=e+32|0;r=c[(m&p)>>2]|0;if((s|0)==(((c[2514]|0)>>>0)/(r>>>0)|0|0)){q=s+2|0;c[(u&p)>>2]=q}if(a[(e&n)+17>>0]|0){if(q>>>0<2)s=0;else{s=q+-2|0;s=s-((s>>>0)%(((((c[(e&p)+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;s=((s+1|0)==(((c[2514]|0)>>>0)/(r>>>0)|0|0)?3:2)+s|0}if((s|0)==(q|0)){c[(t&p)>>2]=0;s=dl(e,q,t,k)|0;if(s){l=s;break}I=c[(t&p)>>2]|0;s=I+68|0;r=Gg(c[(s&p)>>2]|0)|0;if(I)Bg(c[(s&p)>>2]|0);if(r){l=r;break}s=c[(u&p)>>2]|0;q=s+1|0;c[(u&p)>>2]=q;if((s|0)==(((c[2514]|0)>>>0)/((c[(m&p)>>2]|0)>>>0)|0|0)){q=s+2|0;c[(u&p)>>2]=q}}}m=c[((c[(v&p)>>2]|0)&p)+56>>2]|0;a[(m&n)+28>>0]=q>>>24;a[(m&n)+29>>0]=q>>>16;a[(m&n)+30>>0]=q>>>8;a[(m&n)+31>>0]=q;m=c[(u&p)>>2]|0;c[(g&p)>>2]=m;m=dl(e,m,f,k)|0;if(m){l=m;break}m=Gg(c[((c[(f&p)>>2]|0)&p)+68>>2]|0)|0;if(m){l=c[(f&p)>>2]|0;if(!l){l=m;D=98}else{Bg(c[(l&p)+68>>2]|0);l=m;D=92}}}else{if(k<<24>>24==2)s=1;else if(k<<24>>24==1?I>>>0>=h>>>0:0){l=hp(e,h,s,0)|0;if(l)break;s=(a[(s&n)>>0]|0)==2&1}else s=0;l=Gg(c[(r&p)+68>>2]|0)|0;if(l)break;F=c[(J&p)>>2]|0;G=q+-1|0;a[(F&n)+36>>0]=G>>>24;a[(F&n)+37>>0]=G>>>16;a[(F&n)+38>>0]=G>>>8;a[(F&n)+39>>0]=G;F=e+36|0;G=(h|0)==0;H=e+60|0;E=k<<24>>24==2;m=0;a:while(1){w=(m|0)!=0;if(w){v=c[(m&p)+56>>2]|0;v=d[(v&n)+1>>0]<<16|d[(v&n)>>0]<<24|d[(v&n)+2>>0]<<8|d[(v&n)+3>>0]}else{v=c[(J&p)>>2]|0;v=d[(v&n)+33>>0]<<16|d[(v&n)+32>>0]<<24|d[(v&n)+34>>0]<<8|d[(v&n)+35>>0]}if(v>>>0>I>>>0){D=15;break}l=dl(e,v,L,0)|0;if(l){D=17;break}q=c[(L&p)>>2]|0;x=q+56|0;B=c[(x&p)>>2]|0;C=B+4|0;y=B+5|0;z=B+6|0;A=B+7|0;D=d[(y&n)>>0]<<16|d[(C&n)>>0]<<24|d[(z&n)>>0]<<8|d[(A&n)>>0];t=s<<24>>24!=0;do if((D|0)!=0|t){if(D>>>0>(((c[(F&p)>>2]|0)>>>2)+-2|0)>>>0){l=q;D=22;break a}if(s<<24>>24!=0?(v|0)==(h|0)|v>>>0<h>>>0&E:0){c[(g&p)>>2]=v;c[(f&p)>>2]=q;l=Gg(c[(q&p)+68>>2]|0)|0;if(l){D=88;break a}do if(!D){if(!w){D=(c[(J&p)>>2]|0)+32|0;C=c[(x&p)>>2]|0;C=d[(C&n)>>0]|d[(C&n)+1>>0]<<8|d[(C&n)+2>>0]<<16|d[(C&n)+3>>0]<<24;a[(D&n)>>0]=C;a[(D&n)+1>>0]=C>>8;a[(D&n)+2>>0]=C>>16;a[(D&n)+3>>0]=C>>24;break}l=Gg(c[(m&p)+68>>2]|0)|0;if(l){D=88;break a}D=c[(m&p)+56>>2]|0;C=c[(x&p)>>2]|0;C=d[(C&n)>>0]|d[(C&n)+1>>0]<<8|d[(C&n)+2>>0]<<16|d[(C&n)+3>>0]<<24;a[(D&n)>>0]=C;a[(D&n)+1>>0]=C>>8;a[(D&n)+2>>0]=C>>16;a[(D&n)+3>>0]=C>>24}else{v=c[(x&p)>>2]|0;t=a[(v&n)+8>>0]|0;k=a[(v&n)+9>>0]|0;u=a[(v&n)+10>>0]|0;v=a[(v&n)+11>>0]|0;s=(k&255)<<16|(t&255)<<24|(u&255)<<8|v&255;if(s>>>0>I>>>0){l=q;D=32;break a}l=dl(e,s,K,0)|0;if(l){D=88;break a}s=c[(K&p)>>2]|0;r=s+68|0;l=Gg(c[(r&p)>>2]|0)|0;if(l){D=35;break a}C=s+56|0;B=c[(C&p)>>2]|0;A=c[(x&p)>>2]|0;A=d[(A&n)>>0]|d[(A&n)+1>>0]<<8|d[(A&n)+2>>0]<<16|d[(A&n)+3>>0]<<24;a[(B&n)>>0]=A;a[(B&n)+1>>0]=A>>8;a[(B&n)+2>>0]=A>>16;a[(B&n)+3>>0]=A>>24;B=c[(C&p)>>2]|0;D=D+-1|0;a[(B&n)+4>>0]=D>>>24;a[(B&n)+5>>0]=D>>>16;a[(B&n)+6>>0]=D>>>8;a[(B&n)+7>>0]=D;kw((c[(C&p)>>2]|0)+8|0,(c[(x&p)>>2]|0)+12|0,D<<2|0)|0;if(s)Bg(c[(r&p)>>2]|0);if(!w){D=c[(J&p)>>2]|0;a[(D&n)+32>>0]=t;a[(D&n)+33>>0]=k;a[(D&n)+34>>0]=u;a[(D&n)+35>>0]=v;break}l=Gg(c[(m&p)+68>>2]|0)|0;if(l){D=88;break a}D=c[(m&p)+56>>2]|0;a[(D&n)>>0]=t;a[(D&n)+1>>0]=k;a[(D&n)+2>>0]=u;a[(D&n)+3>>0]=v}while(0);c[(L&p)>>2]=0;q=0;l=0;s=0;break}if(D){b:do if(!G){if(E){k=0;while(1){x=k<<2;if((d[(B+x&n)+9>>0]<<16|d[(B+x&n)+8>>0]<<24|d[(B+x&n)+10>>0]<<8|d[(B+x&n)+11>>0])>>>0<=h>>>0)break b;k=k+1|0;if(k>>>0>=D>>>0){k=0;break b}}}r=(d[(B&n)+9>>0]<<16|d[(B&n)+8>>0]<<24|d[(B&n)+10>>0]<<8|d[(B&n)+11>>0])-h|0;if((r|0)<=-1)r=(r|0)==-2147483648?2147483647:0-r|0;if(D>>>0>1){k=0;u=1;while(1){l=u<<2;l=(d[(B+l&n)+9>>0]<<16|d[(B+l&n)+8>>0]<<24|d[(B+l&n)+10>>0]<<8|d[(B+l&n)+11>>0])-h|0;if((l|0)<=-1)l=(l|0)==-2147483648?2147483647:0-l|0;v=(l|0)<(r|0);k=v?u:k;u=u+1|0;if((u|0)==(D|0))break;else r=v?l:r}}else k=0}else k=0;while(0);r=k<<2;v=B+(r+8)|0;r=d[(B+r&n)+9>>0]<<16|d[(v&n)>>0]<<24|d[(B+r&n)+10>>0]<<8|d[(B+r&n)+11>>0];if(r>>>0>I>>>0){l=q;D=56;break a}if((r|0)==(h|0)|t^1|r>>>0<h>>>0&E){c[(g&p)>>2]=r;l=Gg(c[(q&p)+68>>2]|0)|0;if(l){D=88;break a}s=D+-1|0;if(k>>>0<s>>>0){D=B+((D<<2)+4)|0;D=d[(D&n)>>0]|d[(D&n)+1>>0]<<8|d[(D&n)+2>>0]<<16|d[(D&n)+3>>0]<<24;a[(v&n)>>0]=D;a[(v&n)+1>>0]=D>>8;a[(v&n)+2>>0]=D>>16;a[(v&n)+3>>0]=D>>24}a[(C&n)>>0]=s>>>24;a[(y&n)>>0]=s>>>16;a[(z&n)>>0]=s>>>8;a[(A&n)>>0]=s;r=c[(g&p)>>2]|0;s=c[(H&p)>>2]|0;do if(!s)s=0;else{if((c[(s&p)>>2]|0)>>>0<r>>>0){s=1;break}s=(di(s,r)|0)!=0}while(0);l=dl(e,r,f,s&1^1)|0;if(l){s=0;break}l=Gg(c[((c[(f&p)>>2]|0)&p)+68>>2]|0)|0;if(!l){l=0;s=0;break}s=c[(f&p)>>2]|0;if(!s){s=0;break}Bg(c[(s&p)+68>>2]|0);s=0}else l=0}else l=0}else{l=Gg(c[(q&p)+68>>2]|0)|0;if(l){D=89;break a}c[(g&p)>>2]=v;l=(c[(J&p)>>2]|0)+32|0;s=c[(x&p)>>2]|0;s=d[(s&n)>>0]|d[(s&n)+1>>0]<<8|d[(s&n)+2>>0]<<16|d[(s&n)+3>>0]<<24;a[(l&n)>>0]=s;a[(l&n)+1>>0]=s>>8;a[(l&n)+2>>0]=s>>16;a[(l&n)+3>>0]=s>>24;c[(f&p)>>2]=q;c[(L&p)>>2]=0;q=0;l=0;s=0}while(0);if(m)Bg(c[(m&p)+68>>2]|0);if(!(s<<24>>24)){m=0;D=88;break}else m=q}if((D|0)==15){c[(M&p)>>2]=58314;c[(M&p)+4>>2]=10788;bd(11,13600,M);l=11;D=17}else if((D|0)==22){c[(M&p)>>2]=58343;c[(M&p)+4>>2]=10788;bd(11,13600,M);q=l;l=11;D=88}else if((D|0)==32){c[(M&p)>>2]=58377;c[(M&p)+4>>2]=10788;bd(11,13600,M);q=l;l=11;D=88}else if((D|0)==35)if(!s)D=88;else{Bg(c[(r&p)>>2]|0);D=88}else if((D|0)==56){c[(M&p)>>2]=58442;c[(M&p)+4>>2]=10788;bd(11,13600,M);q=l;l=11;D=88}if((D|0)==17)c[(L&p)>>2]=0;else if((D|0)==88)if(q)D=89;if((D|0)==89)Bg(c[(q&p)+68>>2]|0);if(!m)D=92;else{Bg(c[(m&p)+68>>2]|0);D=92}}if((D|0)==92?(l|0)!=0:0)D=98;if((D|0)==98){c[(f&p)>>2]=0;break}l=c[(f&p)>>2]|0;m=c[(l&p)+68>>2]|0;if((b[(m&o)+26>>1]|0)<=1){a[(l&n)>>0]=0;l=0;break}if(l)Bg(m);c[(f&p)>>2]=0;c[(M&p)>>2]=58541;c[(M&p)+4>>2]=10788;bd(11,13600,M);l=11}else{c[(M&p)>>2]=58259;c[(M&p)+4>>2]=10788;bd(11,13600,M);l=11}while(0);i=N;return l|0}function jp(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,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+16|0;if((i|0)>=(j|0))fa();v=A+12|0;u=A+8|0;z=A;f=c[(b&p)+40>>2]|0;a:do if(!f){h=b+96|0;g=c[(h&p)>>2]|0;if((g|0)>(e|0)){f=(d|0)==1;e=(f&1^1)+e|0;if((e|0)<(g|0)){d=b+92|0;g=e;do{ei(c[((c[(d&p)>>2]|0)+(g*48|0)&p)+16>>2]|0);g=g+1|0}while((g|0)<(c[(h&p)>>2]|0))}c[(h&p)>>2]=e;if(f){if(e){f=0;break}f=c[(b&p)+68>>2]|0;g=c[(f&p)>>2]|0;if(!g){f=0;break}if((g|0)==14696)f=Gi(f,0,0)|0;else f=0;c[(b&p)+52>>2]=0;break}t=b+208|0;if((c[(t&p)>>2]|0)==0?(c[(c[(b&p)+64>>2]&p)>>2]|0)==0:0){f=0;break}if(!e)w=0;else w=(c[(b&p)+92>>2]|0)+((e+-1|0)*48|0)|0;s=(w|0)!=0;f=w+20|0;if(s){d=c[(f&p)>>2]|0;g=qg(512,0)|0;if(!g){f=7;break}fw(g|0,0,512)|0;c[(g&p)>>2]=d;y=g}else y=0;h=b+28|0;e=b+24|0;c[(e&p)>>2]=c[((s?f:h)&p)>>2];a[(b&n)+18>>0]=a[(b&n)+12>>0]|0;b:do if(s){h=b+72|0;e=h;k=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;if(!(c[(t&p)>>2]|0)){g=w+8|0;l=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;d=(l|0)==0&(g|0)==0;l=d?k:l;g=d?e:g;d=w;f=c[(d&p)>>2]|0;d=c[(d&p)+4>>2]|0;q=h;c[(q&p)>>2]=f;c[(q&p)+4>>2]=d;if((d|0)<(g|0)|(d|0)==(g|0)&f>>>0<l>>>0)while(1){f=wq(b,h,y,1,1)|0;if(f){o=k;m=e;break b}d=h;f=c[(d&p)>>2]|0;d=c[(d&p)+4>>2]|0;if(!((d|0)<(g|0)|(d|0)==(g|0)&f>>>0<l>>>0)){x=39;break}}else x=39}else x=38}else{r=c[(t&p)>>2]|0;if(!r){h=b+72|0;e=h;k=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;x=38;break}c[(e&p)>>2]=c[(h&p)>>2];if(a[(r&n)+44>>0]|0){k=r+68|0;m=c[(k&p)>>2]|0;l=r+32|0;e=c[(l&p)>>2]|0;g=r+52|0;f=(c[(e&p)>>2]|0)+0|0;d=g+48|0;do{a[(g&n)>>0]=a[(f&n)>>0]|0;g=g+1|0;f=f+1|0}while((g|0)<(d|0));g=c[(k&p)>>2]|0;f=g+1|0;if(f>>>0>m>>>0)f=0;else{h=f;while(1){g=g+34|0;f=g>>>12;if(!f)g=(c[(e&p)>>2]|0)+(g<<2)|0;else g=(c[(e+(f<<2)&p)>>2]|0)+((g&4095)<<2)|0;f=Bq(b,c[(g&p)>>2]|0)|0;g=h+1|0;if((f|0)!=0|g>>>0>m>>>0)break;q=h;e=c[(l&p)>>2]|0;h=g;g=q}g=c[(k&p)>>2]|0}if((m|0)!=(g|0))Aq(r)}else f=0;g=vl(c[(b&p)+204>>2]|0)|0;if(!((g|0)!=0&(f|0)==0))break a;while(1){f=g;g=c[(g&p)+12>>2]|0;f=Bq(b,c[(f&p)+20>>2]|0)|0;if(!((g|0)!=0&(f|0)==0))break a}}while(0);if((x|0)==38){d=h;c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;d=0;f=0;x=39}c:do if((x|0)==39){o=b+80|0;q=b+148|0;r=b+152|0;if((d|0)<(e|0)|(d|0)==(e|0)&f>>>0<k>>>0)while(1){c[(v&p)>>2]=0;f=vq(b,0,k,e,v,u)|0;d=c[(v&p)>>2]|0;if(!d){d=o;d=jw(c[(q&p)>>2]|0,0,c[(d&p)>>2]|0,c[(d&p)+4>>2]|0)|0;g=G;m=h;if((d|0)==(c[(m&p)>>2]|0)?(g|0)==(c[(m&p)+4>>2]|0):0){x=dw(k|0,e|0,d|0,g|0)|0;d=(c[(r&p)>>2]|0)+8|0;d=qw(x|0,G|0,d|0,((d|0)<0)<<31>>31|0)|0;c[(v&p)>>2]=d;x=46}else x=40}else x=46;d:do if((x|0)==46){x=0;if((f|0)==0&(d|0)!=0){m=0;while(1){g=h;l=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;if(!((g|0)<(e|0)|(g|0)==(e|0)&l>>>0<k>>>0)){d=l;break d}f=wq(b,h,y,1,1)|0;m=m+1|0;if(!((f|0)==0&m>>>0<d>>>0)){x=40;break}}}else x=40}while(0);if((x|0)==40){x=0;if(f){o=k;m=e;break c}d=h;g=c[(d&p)+4>>2]|0;d=c[(d&p)>>2]|0}if(!((g|0)<(e|0)|(g|0)==(e|0)&d>>>0<k>>>0)){o=k;m=e;f=0;break}}else{o=k;m=e;f=0}}while(0);e:do if(!s){ei(y);if(f)break a}else{l=w+24|0;g=c[(l&p)>>2]|0;q=(c[(b&p)+152>>2]|0)+4|0;q=sw(q|0,((q|0)<0)<<31>>31|0,g|0,0)|0;k=z;c[(k&p)>>2]=q;c[(k&p)+4>>2]=G;k=c[(t&p)>>2]|0;if(!k){if(!f)x=57}else{e=w+28|0;d=w+40|0;f=k+104|0;if((c[(d&p)>>2]|0)==(c[(f&p)>>2]|0))d=c[(e&p)>>2]|0;else{c[(e&p)>>2]=0;c[(d&p)>>2]=c[(f&p)>>2];d=0}e=k+68|0;if(d>>>0<(c[(e&p)>>2]|0)>>>0){c[(e&p)>>2]=d;c[(k&p)+76>>2]=c[(w&p)+32>>2];c[(k&p)+80>>2]=c[(w&p)+36>>2];Aq(k);g=c[(l&p)>>2]|0;x=57}else x=57}f:do if((x|0)==57){d=b+52|0;while(1){if(g>>>0>=(c[(d&p)>>2]|0)>>>0)break;f=wq(b,z,y,0,1)|0;if(!f)g=g+1|0;else break f}ei(y);break e}while(0);ei(y);break a}while(0);f=h;c[(f&p)>>2]=o;c[(f&p)+4>>2]=m;f=0}else f=0}while(0);i=A;return f|0}function kp(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=c[(d&p)>>2]|0;if(e){i=c[(d&p)+4>>2]|0;c[((c[(e&p)+4>>2]|0)&p)+4>>2]=c[(e&p)>>2];g=d+56|0;Wc(c[(g&p)>>2]|0);c[(g&p)>>2]=0;a[(d&n)+73>>0]=0;g=c[(d&p)+12>>2]|0;f=d+8|0;e=c[(f&p)>>2]|0;if(!g)c[(i&p)+8>>2]=e;else{c[(g&p)+8>>2]=e;e=c[(f&p)>>2]|0}if(e)c[(e&p)+12>>2]=g;h=d+76|0;e=b[(h&o)>>1]|0;if(e<<16>>16>=0){f=0;while(1){g=c[(d+(f<<2)&p)+120>>2]|0;if(g){Bg(c[(g&p)+68>>2]|0);e=b[(h&o)>>1]|0}if((f|0)<(e<<16>>16|0))f=f+1|0;else break}}if((a[(i&n)+20>>0]|0)==0?(j=i+12|0,k=c[(j&p)>>2]|0,(k|0)!=0):0){c[(j&p)>>2]=0;Bg(c[(k&p)+68>>2]|0)}Wc(c[(d&p)+20>>2]|0)}return}function lp(b){b=b|0;var e=0,f=0,g=0,h=0;h=c[(b&p)+200>>2]|0;e=c[3164]|0;if(e)nc[e&3]();f=c[(b&p)+136>>2]|0;if(f)do{e=f;f=c[(f&p)+12>>2]|0;Wc(e)}while((f|0)!=0);a[(b&n)+4>>0]=0;e=b+208|0;rn(c[(e&p)>>2]|0,d[(b&n)+9>>0]|0,c[(b&p)+152>>2]|0,h)|0;c[(e&p)>>2]=0;xn(b);if(!(a[(b&n)+15>>0]|0)){if((c[(c[(b&p)+64>>2]&p)>>2]|0)!=0?(g=Jo(b)|0,e=g&255,(e|0)==10|(e|0)==13):0){c[(b&p)+40>>2]=g;a[(b&n)+16>>0]=6}nl(b)}else No(b);e=c[3166]|0;if(e)nc[e&3]();e=c[(b&p)+64>>2]|0;f=c[(e&p)>>2]|0;if(f){lc[c[(f&p)+4>>2]&127](e)|0;c[(e&p)>>2]=0}f=c[(b&p)+60>>2]|0;e=c[(f&p)>>2]|0;if(e){lc[c[(e&p)+4>>2]&127](f)|0;c[(f&p)>>2]=0}$k(h);cc[c[8892>>2]&31](c[((c[(b&p)+204>>2]|0)&p)+40>>2]|0);Wc(b);return}function mp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=c[(a&p)+4>>2]|0;h=qg(g,((g|0)<0)<<31>>31)|0;do if(h){fw(h|0,0,g|0)|0;g=tc[c[(a&p)+24>>2]&31](a,b,h,e&556927,f)|0;if(!g){c[(d&p)>>2]=h;g=0;break}else{Wc(h);break}}else g=7;while(0);return g|0}function np(b){b=b|0;var d=0,e=0,f=0;d=b+16|0;e=b+12|0;f=b+10|0;if(!(Tl(c[(d&p)>>2]|0,b,c[(e&p)>>2]|0,a[(f&n)>>0]|0)|0))d=0;else{d=(Ul(c[(d&p)>>2]|0,b,c[(e&p)>>2]|0,a[(f&n)>>0]|0)|0)==0;d=d?4:8}return d|0}function op(d){d=d|0;var f=0,g=0;g=d+8|0;f=b[(g&o)>>1]|0;do if(!(f&13))if(!(Ul(c[(d&p)+16>>2]|0,d,c[(d&p)+12>>2]|0,a[(d&n)+10>>0]|0)|0)){f=((e[(g&o)>>1]|0)&48640|4)&65535;b[(g&o)>>1]=f;break}else{h[(d&q)>>3]=+Ug(d);b[(g&o)>>1]=(e[(g&o)>>1]|0)&48640|8;dm(d);f=b[(g&o)>>1]|0;break}while(0);b[(g&o)>>1]=f&65517;return}function pp(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,s=0,t=0,u=0,v=0,w=0;w=i;i=i+80|0;if((i|0)>=(j|0))fa();u=w+40|0;v=w;h=f+4|0;if((a[(d&n)+10>>0]|0)!=(a[(h&n)>>0]|0)){t=c[(d&p)+32>>2]|0;q=u+8|0;b[(q&o)>>1]=1;c[(u&p)+32>>2]=t;r=u+24|0;c[(r&p)>>2]=0;s=v+8|0;b[(s&o)>>1]=1;c[(v&p)+32>>2]=t;t=v+24|0;c[(t&p)>>2]=0;Zl(u,d,4096);Zl(v,e,4096);d=Sg(u,a[(h&n)>>0]|0)|0;m=(d|0)==0;if(m)l=0;else l=c[(u&p)+12>>2]|0;h=Sg(v,a[(h&n)>>0]|0)|0;k=(h|0)==0;if(k)e=0;else e=c[(v&p)+12>>2]|0;d=tc[c[(f&p)+12>>2]&31](c[(f&p)+8>>2]|0,l,d,e,h)|0;if(!((b[(q&o)>>1]&9312)==0&(c[(r&p)>>2]|0)==0))Qg(u);if(!((b[(s&o)>>1]&9312)==0&(c[(t&p)>>2]|0)==0))Qg(v);if((m|k)&(g|0)!=0)a[(g&n)>>0]=7}else d=tc[c[(f&p)+12>>2]&31](c[(f&p)+8>>2]|0,c[(d&p)+12>>2]|0,c[(d&p)+16>>2]|0,c[(e&p)+12>>2]|0,c[(e&p)+16>>2]|0)|0;i=w;return d|0}function qp(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[(a&p)+12>>2]|0;d=c[(b&p)+12>>2]|0;a=Zv(c[(a&p)+16>>2]|0,c[(b&p)+16>>2]|0,(e|0)>(d|0)?d:e)|0;return ((a|0)==0?e-d|0:a)|0}function rp(f,g,h){f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();q=r;do if(!(a[(f&n)+3>>0]|0)){if(a[(f&n)+4>>0]|0){b[(h&o)+20>>1]=((sp(g+4|0,h)|0)&255)+4;l=h+8|0;c[(l&p)>>2]=0;c[(l&p)+4>>2]=0;c[(l&p)+8>>2]=0;break}m=d[(f&n)+7>>0]|0;l=g+m|0;k=a[(l&n)>>0]|0;if(k<<24>>24>-1){l=k&255;c[(q&p)>>2]=l;k=1}else{k=mm(l,q)|0;l=c[(q&p)>>2]|0}q=h;c[(q&p)>>2]=l;c[(q&p)+4>>2]=0;m=(k&255)+m|0;k=12}else{k=a[(g&n)>>0]|0;if(k<<24>>24>-1){l=k&255;c[(q&p)>>2]=l;k=1}else{k=mm(g,q)|0;l=c[(q&p)>>2]|0}m=k&255;m=((sp(g+m|0,h)|0)&255)+m|0;k=12}while(0);do if((k|0)==12){c[(h&p)+12>>2]=l;c[(h&p)+8>>2]=g+m;k=e[(f&o)+10>>1]|0;if(l>>>0>k>>>0){q=b[(f&o)+12>>1]|0;g=q&65535;l=(((l-g|0)>>>0)%(((c[((c[(f&p)+52>>2]|0)&p)+36>>2]|0)+-4|0)>>>0)|0)+g|0;k=(l|0)>(k|0)?q:l&65535;b[(h&o)+16>>1]=k;k=m+(k&65535)|0;b[(h&o)+18>>1]=k;b[(h&o)+20>>1]=k+4;break}else{k=l+m|0;b[(h&o)+20>>1]=(k&65532)>>>0<4?4:k&65535;b[(h&o)+16>>1]=l;b[(h&o)+18>>1]=0;break}}while(0);i=r;return}function sp(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=a[(b&n)>>0]|0;g=f&255;do if(g&128){f=d[(b&n)+1>>0]|0;if(!(f&128)){h=e;c[(h&p)>>2]=f|g<<7&16256;c[(h&p)+4>>2]=0;f=2;break}h=d[(b&n)+2>>0]|0;g=(h|g<<14)&2080895;if(!(h&128)){h=e;c[(h&p)>>2]=g|f<<7&16256;c[(h&p)+4>>2]=0;f=3;break}h=d[(b&n)+3>>0]|0;f=(h|f<<14)&2080895;if(!(h&128)){h=e;c[(h&p)>>2]=f|g<<7;c[(h&p)+4>>2]=0;f=4;break}k=d[(b&n)+4>>0]|0;h=k|g<<14;if(!(k&128)){i=e;c[(i&p)>>2]=h|f<<7;c[(i&p)+4>>2]=g>>>18;f=5;break}j=f|g<<7;g=d[(b&n)+5>>0]|0;i=g|f<<14;if(!(g&128)){f=e;c[(f&p)>>2]=i|h<<7&266354560;c[(f&p)+4>>2]=j>>>18;f=6;break}f=d[(b&n)+6>>0]|0;g=f|h<<14;if(!(f&128)){f=e;c[(f&p)>>2]=g&-266354561|i<<7&266354560;c[(f&p)+4>>2]=j>>>11;f=7;break}f=g&2080895;h=d[(b&n)+7>>0]|0;g=h|i<<14;if(!(h&128)){h=e;c[(h&p)>>2]=g&-266354561|f<<7;c[(h&p)+4>>2]=j>>>4;f=8;break}else{h=e;c[(h&p)>>2]=g<<8&532709120|f<<15|(d[(b&n)+8>>0]|0);c[(h&p)+4>>2]=k>>>3&15|j<<4;f=9;break}}else{g=e;c[(g&p)>>2]=f&255;c[(g&p)+4>>2]=0;f=1}while(0);return f|0}function tp(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,l=0,m=0,r=0,s=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();l=r+8|0;m=r;g=(d[(a&n)+1>>0]|0)<<16|(d[(a&n)>>0]|0)<<24|(d[(a&n)+2>>0]|0)<<8|(d[(a&n)+3>>0]|0);a=(d[(a&n)+5>>0]|0)<<16|(d[(a&n)+4>>0]|0)<<24|(d[(a&n)+6>>0]|0)<<8|(d[(a&n)+7>>0]|0);s=f;c[(s&p)>>2]=a;c[(s&p)+4>>2]=g;if((e|0)==6)a=4;else{c[(k&p)>>2]=a;c[(k&p)+4>>2]=g;h[(l&q)>>3]=+h[(k&q)>>3];h[(m&q)>>3]=+h[(l&q)>>3];a=+h[(l&q)>>3]!=+h[(m&q)>>3]?1:8}b[(f&o)+8>>1]=a;i=r;return}function up(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();h=k;if(!(e>>>0>16777215|(e|0)==16777215&c>>>0>4294967295)){f=c;g=0;while(1){c=g+1|0;a[(h+g&n)>>0]=f|128;f=mw(f|0,e|0,7)|0;e=G;if((f|0)==0&(e|0)==0){e=g;break}else g=c}a[(h&n)>>0]=(d[(h&n)>>0]|0)&127;if((e|0)>-1){f=0;while(1){a[(b+f&n)>>0]=a[(h+e&n)>>0]|0;if((e|0)>0){f=f+1|0;e=e+-1|0}else break}}}else{a[(b&n)+8>>0]=c;c=mw(c|0,e|0,8)|0;f=G;e=7;while(1){a[(b+e&n)>>0]=c|128;c=mw(c|0,f|0,7)|0;if((e|0)<=0){c=9;break}else{f=G;e=e+-1|0}}}i=k;return c|0}function vp(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))fa();h=k;if((c[(b&p)+44>>2]|0)>>>0>=d>>>0){f=dl(b,d,e,f)|0;if(!f){f=c[(e&p)>>2]|0;if((a[(f&n)>>0]|0)==0?(g=$p(f)|0,(g|0)!=0):0){f=c[(e&p)>>2]|0;if(f)Bg(c[(f&p)+68>>2]|0)}else g=0}else g=f}else{c[(h&p)>>2]=54788;c[(h&p)+4>>2]=10788;bd(11,13600,h);g=11}i=k;return g|0}function wp(b){b=b|0;var d=0,e=0,f=0;if((a[(b&n)+12>>0]|0)==0?(d=b+60|0,e=c[(d&p)>>2]|0,((lc[c[((c[(e&p)>>2]|0)&p)+48>>2]&127](e)|0)&4096|0)==0):0){d=c[(d&p)>>2]|0;e=c[((c[(d&p)>>2]|0)&p)+44>>2]|0;if(e){d=lc[e&127](d)|0;if((d|0)<32)d=512;else f=6}else{d=4096;f=6}if((f|0)==6)d=(d|0)>65536?65536:d;c[(b&p)+148>>2]=d}else c[(b&p)+148>>2]=512;return}function xp(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=d+40|0;do if(!(c[(j&p)>>2]|0)){i=a[(d&n)+20>>0]|0;if(i<<24>>24){if(i&3){f=0;break}if(b[(e&o)+24>>1]&4){f=0;break}}c[(e&p)+12>>2]=0;do if(!(c[(d&p)+208>>2]|0)){if(!((b[(e&o)+24>>1]&4)==0?(a[(d&n)+16>>0]|0)!=3:0))k=11;if((k|0)==11?(g=zl(d,1)|0,(g|0)!=0):0){f=g;break}if(((c[(e&p)+20>>2]|0)>>>0>(c[(d&p)+24>>2]|0)>>>0?(Uo(e)|0)!=0:0)?(h=Vo(e)|0,(h|0)!=0):0){f=h;break}f=Al(d,e)|0;k=16}else{if((Uo(e)|0)!=0?(f=Vo(e)|0,(f|0)!=0):0)break;f=wl(d,e,0,0)|0;k=16}while(0);if((k|0)==16)if(!f){xl(e);f=0;break}g=f&255;if((g|0)==10|(g|0)==13){c[(j&p)>>2]=f;a[(d&n)+16>>0]=6}}else f=0;while(0);return f|0}function yp(d){d=d|0;var e=0;e=c[(d&p)+8>>2]|0;if((a[(e&n)>>0]|0)!=0?(a[(e&n)>>0]=0,(b[(d&o)+26>>1]|0)>1):0)$p(e)|0;return}function zp(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,o=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();o=q;m=q+8|0;do if(!(c[(h&p)>>2]|0)){if(!e){c[(o&p)>>2]=53856;c[(o&p)+4>>2]=10788;bd(11,13600,o);c[(h&p)>>2]=11;break}if(e>>>0<2)k=0;else{k=e+-2|0;k=k-((k>>>0)%(((((c[(b&p)+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(((c[2514]|0)>>>0)/((c[(b&p)+32>>2]|0)>>>0)|0|0)?3:2)+k|0}l=zg(c[(b&p)>>2]|0,k,m,0)|0;if(l){c[(h&p)>>2]=l;break}e=(e-k|0)*5|0;l=e+-5|0;do if((l|0)>=0){k=c[(m&p)>>2]|0;b=c[(k&p)+4>>2]|0;l=b+l|0;if((a[(l&n)>>0]|0)==f<<24>>24?(d[(b+e+-3&n)>>0]<<16|d[(b+e+-4&n)>>0]<<24|d[(b+e+-2&n)>>0]<<8|d[(b+e+-1&n)>>0]|0)==(g|0):0)break;m=Gg(k)|0;c[(h&p)>>2]=m;if(!m){a[(l&n)>>0]=f;a[(b+e+-4&n)>>0]=g>>>24;a[(b+e+-3&n)>>0]=g>>>16;a[(b+e+-2&n)>>0]=g>>>8;a[(b+e+-1&n)>>0]=g}}else{c[(o&p)>>2]=53867;c[(o&p)+4>>2]=10788;bd(11,13600,o);c[(h&p)>>2]=11;k=c[(m&p)>>2]|0}while(0);if(k)Bg(k)}while(0);i=q;return}function Ap(a,b,c){a=a|0;b=b|0;c=c|0;return Km(a,b,c,0)|0}function Bp(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;j=d[(f&n)>>0]&63;h=f+j|0;l=c[(g&p)+8>>2]|0;k=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;switch(d[(f&n)+1>>0]|0){case 3:{h=d[(f+j&n)+1>>0]<<8|a[(h&n)>>0]<<16|d[(f+j&n)+2>>0];i=((h|0)<0)<<31>>31;m=11;break}case 4:{h=d[(f+j&n)+1>>0]<<16|d[(h&n)>>0]<<24|d[(f+j&n)+2>>0]<<8|d[(f+j&n)+3>>0];i=((h|0)<0)<<31>>31;m=11;break}case 8:{i=0;h=0;m=11;break}case 5:{i=a[(h&n)>>0]<<8|d[(f+j&n)+1>>0];h=d[(f+j&n)+3>>0]<<16|d[(f+j&n)+2>>0]<<24|d[(f+j&n)+4>>0]<<8|d[(f+j&n)+5>>0];m=11;break}case 7:case 0:{h=Km(b,f,g,0)|0;break}case 6:{i=d[(f+j&n)+1>>0]<<16|d[(h&n)>>0]<<24|d[(f+j&n)+2>>0]<<8|d[(f+j&n)+3>>0];h=d[(f+j&n)+5>>0]<<16|d[(f+j&n)+4>>0]<<24|d[(f+j&n)+6>>0]<<8|d[(f+j&n)+7>>0];m=11;break}case 9:{i=0;h=1;m=11;break}case 2:{h=a[(h&n)>>0]<<8|d[(f+j&n)+1>>0];i=((h|0)<0)<<31>>31;m=11;break}case 1:{h=a[(h&n)>>0]|0;i=((h|0)<0)<<31>>31;m=11;break}default:h=Km(b,f,g,0)|0}do if((m|0)==11){if((l|0)>(i|0)|(l|0)==(i|0)&k>>>0>h>>>0){h=c[(g&p)+12>>2]|0;break}if((l|0)<(i|0)|(l|0)==(i|0)&k>>>0<h>>>0){h=c[(g&p)+16>>2]|0;break}if((e[(g&o)+4>>1]|0)>1){h=Km(b,f,g,1)|0;break}else{h=a[(g&n)+6>>0]|0;break}}while(0);return h|0}function Cp(b,f,g){b=b|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;l=r+8|0;h=f+1|0;k=a[(h&n)>>0]|0;if(k<<24>>24>-1){h=k&255;c[(l&p)>>2]=h}else{mm(h,l)|0;h=c[(l&p)>>2]|0}do if((h|0)>=12){if(!(h&1)){h=c[(g&p)+16>>2]|0;break}l=d[(f&n)>>0]|0;m=(h+-12|0)/2|0;if((l+m|0)>(b|0)){c[(q&p)>>2]=68550;c[(q&p)+4>>2]=10788;bd(11,13600,q);a[(g&n)+7>>0]=11;h=0;break}h=c[(g&p)+8>>2]|0;k=c[(h&p)+12>>2]|0;h=Zv(f+l|0,c[(h&p)+16>>2]|0,(m|0)>(k|0)?k:m)|0;if(h)if((h|0)>0){h=c[(g&p)+16>>2]|0;break}else{h=c[(g&p)+12>>2]|0;break}if((m|0)==(k|0))if((e[(g&o)+4>>1]|0)>1){h=Km(b,f,g,1)|0;break}else{h=a[(g&n)+6>>0]|0;break}else if((m-k|0)>0){h=c[(g&p)+16>>2]|0;break}else{h=c[(g&p)+12>>2]|0;break}}else h=c[(g&p)+12>>2]|0;while(0);i=r;return h|0}function Dp(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0;m=f+73|0;h=a[(m&n)>>0]|0;do if(h<<24>>24!=1){if((h&255)>2){h=Kn(f)|0;if(h)break;h=a[(m&n)>>0]|0}if(!(h<<24>>24)){c[(g&p)>>2]=1;h=0;break}h=f+68|0;i=c[(h&p)>>2]|0;if((i|0)!=0?(a[(m&n)>>0]=1,c[(h&p)>>2]=0,(i|0)>0):0)h=0;else q=9}else q=9;while(0);do if((q|0)==9){l=f+76|0;h=b[(l&o)>>1]|0;i=c[(f+(h<<2)&p)+120>>2]|0;h=f+(h<<1)+78|0;j=(b[(h&o)>>1]|0)+1<<16>>16;b[(h&o)>>1]=j;h=(a[(i&n)+5>>0]|0)!=0;if((j&65535)<(e[(i&o)+18>>1]|0)){if(h){h=0;break}h=Vm(f)|0;break}if(!h){h=d[(i&n)+6>>0]|0;i=c[(i&p)+56>>2]|0;h=rm(f,d[(i+h&n)+9>>0]<<16|d[(i+h&n)+8>>0]<<24|d[(i+h&n)+10>>0]<<8|d[(i+h&n)+11>>0])|0;if(h)break;h=Vm(f)|0;break}j=f+44|0;k=f+72|0;i=b[(l&o)>>1]|0;do{if(!(i<<16>>16)){q=15;break}h=c[(f+(i<<16>>16<<2)&p)+120>>2]|0;if(h){Bg(c[(h&p)+68>>2]|0);i=b[(l&o)>>1]|0}i=i+-1<<16>>16;b[(l&o)>>1]=i;b[(j&o)>>1]=0;a[(k&n)>>0]=d[(k&n)>>0]&249;r=i<<16>>16;h=c[(f+(r<<2)&p)+120>>2]|0}while((e[(f+(r<<1)&o)+78>>1]|0)>=(e[(h&o)+18>>1]|0));if((q|0)==15){c[(g&p)>>2]=1;a[(m&n)>>0]=0;h=0;break}if(!(a[(h&n)+2>>0]|0))h=0;else h=Dm(f,g)|0}while(0);return h|0}function Ep(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,q=0,r=0,s=0;s=f+73|0;h=a[(s&n)>>0]|0;do if(h<<24>>24!=1){if((h&255)>2){h=Kn(f)|0;if(h)break;h=a[(s&n)>>0]|0}if(!(h<<24>>24)){c[(g&p)>>2]=1;h=0;break}h=f+68|0;i=c[(h&p)>>2]|0;if((i|0)!=0?(a[(s&n)>>0]=1,c[(h&p)>>2]=0,(i|0)<0):0)h=0;else j=9}else j=9;while(0);a:do if((j|0)==9){r=f+76|0;k=b[(r&o)>>1]|0;l=k<<16>>16;j=c[(f+(l<<2)&p)+120>>2]|0;i=f+(l<<1)+78|0;h=b[(i&o)>>1]|0;if(!(a[(j&n)+5>>0]|0)){g=c[(j&p)+56>>2]|0;h=(h&65535)<<1;s=c[(j&p)+64>>2]|0;h=(d[(s+h&n)>>0]<<8|d[(s+(h|1)&n)>>0])&e[(j&o)+20>>1];h=rm(f,d[(g+h&n)+1>>0]<<16|d[(g+h&n)>>0]<<24|d[(g+h&n)+2>>0]<<8|d[(g+h&n)+3>>0])|0;if(h)break;h=Fp(f)|0;break}b:do if(!(h<<16>>16)){m=f+44|0;q=f+72|0;j=l;while(1){if(!(k<<16>>16))break;i=c[(f+(j<<2)&p)+120>>2]|0;if(!i)i=k;else{Bg(c[(i&p)+68>>2]|0);i=b[(r&o)>>1]|0}k=i+-1<<16>>16;b[(r&o)>>1]=k;b[(m&o)>>1]=0;a[(q&n)>>0]=d[(q&n)>>0]&249;j=k<<16>>16;i=f+(j<<1)+78|0;h=b[(i&o)>>1]|0;if(h<<16>>16)break b}a[(s&n)>>0]=0;c[(g&p)>>2]=1;h=0;break a}while(0);b[(i&o)>>1]=h+-1<<16>>16;s=c[(f+(b[(r&o)>>1]<<2)&p)+120>>2]|0;if((a[(s&n)+2>>0]|0)!=0?(a[(s&n)+5>>0]|0)==0:0)h=Em(f,g)|0;else h=0}while(0);return h|0}function Fp(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;i=f+76|0;do{h=b[(i&o)>>1]|0;g=c[(f+(h<<2)&p)+120>>2]|0;if(a[(g&n)+5>>0]|0){j=4;break}k=d[(g&n)+6>>0]|0;l=c[(g&p)+56>>2]|0;k=d[(l+k&n)+9>>0]<<16|d[(l+k&n)+8>>0]<<24|d[(l+k&n)+10>>0]<<8|d[(l+k&n)+11>>0];b[(f+(h<<1)&o)+78>>1]=b[(g&o)+18>>1]|0;g=rm(f,k)|0}while((g|0)==0);if((j|0)==4){b[(f+(h<<1)&o)+78>>1]=(e[(g&o)+18>>1]|0)+65535;g=0}return g|0}function Gp(a,d,e,f,g,h){a=a|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,q=0;q=i;i=i+224|0;if((i|0)>=(j|0))fa();m=q;k=q+8|0;c[(k&p)>>2]=0;do if(d){l=a+16|0;n=Fm(c[(l&p)>>2]|0,q+16|0,200,k)|0;if(n){Gm(c[(l&p)>>2]|0,e,d,n);if(!(b[(n&o)+4>>1]|0)){mg(c[((c[(l&p)>>2]|0)&p)+12>>2]|0,c[(k&p)>>2]|0);c[(m&p)>>2]=53713;c[(m&p)+4>>2]=10788;bd(11,13600,m);k=11;break}l=c[(k&p)>>2]|0;k=Cm(a,n,e,f,g,h)|0;if(l)mg(c[((c[(a&p)+16>>2]|0)&p)+12>>2]|0,l)}else k=7}else k=Cm(a,0,e,f,g,h)|0;while(0);i=q;return k|0}function Hp(a,f,g){a=a|0;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;v=i;i=i+48|0;if((i|0)>=(j|0))fa();u=v+24|0;h=v;s=v+36|0;t=v+32|0;q=c[(a&p)+52>>2]|0;rp(a,f,h);b[(g&o)>>1]=b[(h&o)+20>>1]|0;g=b[(h&o)+18>>1]|0;a:do if(g<<16>>16){k=g&65535;l=f+(k+3)|0;if(l>>>0>((c[(a&p)+56>>2]|0)+(e[(a&o)+20>>1]|0)|0)>>>0){c[(u&p)>>2]=58720;c[(u&p)+4>>2]=10788;bd(11,13600,u);g=11;break}g=(c[(q&p)+36>>2]|0)+-4|0;g=(((c[(h&p)+12>>2]|0)+-1+g-(e[(h&o)+16>>1]|0)|0)>>>0)/(g>>>0)|0;if(g){m=q+44|0;a=g;k=d[(f+k&n)+1>>0]<<16|d[(f+k&n)>>0]<<24|d[(f+k&n)+2>>0]<<8|d[(l&n)>>0];while(1){a=a+-1|0;c[(s&p)>>2]=0;c[(t&p)>>2]=0;if(k>>>0<2)break;if(k>>>0>(c[(m&p)>>2]|0)>>>0)break;f=(a|0)==0;if(!f){g=Mp(q,k,t,s)|0;if(g)break a;g=c[(t&p)>>2]|0;if(g)l=13;else l=12}else l=12;if((l|0)==12){g=Yp(q,k)|0;c[(t&p)>>2]=g;if(!g){g=0;l=15}else l=13}if((l|0)==13){l=0;if((b[((c[(g&p)+68>>2]|0)&o)+26>>1]|0)==1)l=15;else{c[(u&p)>>2]=58754;c[(u&p)+4>>2]=10788;bd(11,13600,u);g=11}}if((l|0)==15)g=Ym(q,g,k)|0;h=c[(t&p)>>2]|0;if((h|0)!=0?(r=c[(h&p)+68>>2]|0,(r|0)!=0):0)Bg(r);if(g)break a;if(f){g=0;break a}else k=c[(s&p)>>2]|0}c[(u&p)>>2]=58734;c[(u&p)+4>>2]=10788;bd(11,13600,u);g=11}else g=0}else g=0;while(0);i=v;return g|0}function Ip(f,g,h,k){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;z=i;i=i+16|0;if((i|0)>=(j|0))fa();m=z;do if(!(c[(k&p)>>2]|0)){v=c[(f&p)+56>>2]|0;w=g<<1;x=c[(f&p)+64>>2]|0;y=x+w|0;l=(d[(y&n)>>0]|0)<<8|(d[(x+(w|1)&n)>>0]|0);q=f+6|0;r=d[(q&n)>>0]|0;s=v+(r+5)|0;t=v+(r+6)|0;if(l>>>0>=((d[(s&n)>>0]|0)<<8|(d[(t&n)>>0]|0))>>>0?(u=f+52|0,(l+h|0)>>>0<=(c[((c[(u&p)>>2]|0)&p)+36>>2]|0)>>>0):0){h=Cq(f,l&65535,h&65535)|0;if(h){c[(k&p)>>2]=h;break}h=f+18|0;l=(b[(h&o)>>1]|0)+-1<<16>>16;b[(h&o)>>1]=l;if(!(l<<16>>16)){k=v+(r+1)|0;a[(k&n)>>0]=0;a[(k&n)+1>>0]=0;a[(k&n)+2>>0]=0;a[(k&n)+3>>0]=0;a[(v+r&n)+7>>0]=0;a[(s&n)>>0]=(c[((c[(u&p)>>2]|0)&p)+36>>2]|0)>>>8;a[(t&n)>>0]=c[((c[(u&p)>>2]|0)&p)+36>>2];b[(f&o)+16>>1]=(c[((c[(u&p)>>2]|0)&p)+36>>2]|0)+65528-(d[(q&n)>>0]|0)-(d[(f&n)+7>>0]|0);break}else{lw(y|0,x+(w+2)|0,(l&65535)-g<<1|0)|0;a[(v+r&n)+3>>0]=(e[(h&o)>>1]|0)>>>8;a[(v+r&n)+4>>0]=b[(h&o)>>1];v=f+16|0;b[(v&o)>>1]=(e[(v&o)>>1]|0)+2;break}}c[(m&p)>>2]=58991;c[(m&p)+4>>2]=10788;bd(11,13600,m);c[(k&p)>>2]=11}while(0);i=z;return}function Jp(f,g,h,k,l,m,q){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,D=0,E=0,F=0,G=0;G=i;i=i+16|0;if((i|0)>=(j|0))fa();s=G;C=G+12|0;y=G+8|0;a:do if(!(c[(q&p)>>2]|0)){r=f+1|0;if((a[(r&n)>>0]|0)==0?(E=k+2|0,F=f+16|0,(E|0)<=(e[(F&o)>>1]|0)):0){l=Gg(c[(f&p)+68>>2]|0)|0;if(l){c[(q&p)>>2]=l;break}z=c[(f&p)+56>>2]|0;t=e[(f&o)+14>>1]|0;A=f+18|0;B=e[(A&o)>>1]<<1;v=g<<1;w=t+v|0;x=f+6|0;l=d[(x&n)>>0]|0;c[(C&p)>>2]=0;g=B+t|0;t=z+(l+5)|0;u=z+(l+6)|0;r=((d[(t&n)>>0]<<8|d[(u&n)>>0])+65535&65535)+1|0;b:do if((g|0)>(r|0)){c[(s&p)>>2]=54326;c[(s&p)+4>>2]=10788;bd(11,13600,s);l=11}else{s=g+2|0;do if((s|0)<=(r|0)){if((a[(z+l&n)+1>>0]|0)==0?(a[(z+l&n)+2>>0]|0)==0:0){D=20;break}c[(y&p)>>2]=0;g=Dq(f,k,C,y)|0;l=c[(C&p)>>2]|0;if(l)break b;if(!(c[(y&p)>>2]|0))if(!g)D=20;else r=g-z|0;else D=21}else D=20;while(0);if((D|0)==20)if((s+k|0)>(r|0))D=21;else D=23;if((D|0)==21){l=Eq(f)|0;c[(C&p)>>2]=l;if(l)break;r=((d[(t&n)>>0]<<8|d[(u&n)>>0])+65535&65535)+1|0;D=23}if((D|0)==23){r=r-k|0;a[(t&n)>>0]=r>>>8;a[(u&n)>>0]=r}b[(A&o)>>1]=(b[(A&o)>>1]|0)+1<<16>>16;b[(F&o)>>1]=(e[(F&o)>>1]|0)-E;l=z+r|0;kw(l|0,h|0,k|0)|0;if(m){a[(l&n)>>0]=m>>>24;a[(z+r&n)+1>>0]=m>>>16;a[(z+r&n)+2>>0]=m>>>8;a[(z+r&n)+3>>0]=m}m=z+w|0;lw(z+(w+2)|0,m|0,B-v|0)|0;a[(m&n)>>0]=r>>>8;a[(z+w&n)+1>>0]=r;a[(z+(d[(x&n)>>0]|0)&n)+3>>0]=(e[(A&o)>>1]|0)>>>8;a[(z+(d[(x&n)>>0]|0)&n)+4>>0]=b[(A&o)>>1];if(!(a[((c[(f&p)+52>>2]|0)&n)+17>>0]|0))break a;Fq(f,h,q);break a}while(0);c[(q&p)>>2]=l;break}if(!l)l=h;else kw(l|0,h|0,k|0)|0;if(m){a[(l&n)>>0]=m>>>24;a[(l&n)+1>>0]=m>>>16;a[(l&n)+2>>0]=m>>>8;a[(l&n)+3>>0]=m}q=a[(r&n)>>0]|0;a[(r&n)>>0]=q+1<<24>>24;q=q&255;c[(f+(q<<2)&p)+32>>2]=l;b[(f+(q<<1)&o)+22>>1]=g}while(0);i=G;return}function Kp(f){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,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,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0;Ra=i;i=i+240|0;if((i|0)>=(j|0))fa();Qa=Ra+24|0;Na=Ra+200|0;Da=Ra+188|0;Ca=Ra+168|0;Ba=Ra+160|0;Ea=Ra+136|0;Fa=Ra+116|0;Pa=Ra+96|0;Ka=Ra+92|0;Aa=Ra+229|0;za=Ra+72|0;ya=Ra+52|0;xa=Ra+206|0;Ja=Ra+48|0;Ga=Ra;Ia=Ra+44|0;Ma=Ra+40|0;La=Ra+36|0;Ha=Ra+32|0;Oa=Ra+204|0;wa=Ra+216|0;ha=f+4|0;pa=(c[((c[(ha&p)>>2]|0)&p)+36>>2]<<1>>>0)/3|0;qa=f+76|0;ta=f+74|0;ua=wa+4|0;va=wa;ia=f+124|0;na=f+78|0;oa=f+80|0;l=b[(qa&o)>>1]|0;ga=0;while(1){m=l<<16>>16;q=c[(f+(m<<2)&p)+120>>2]|0;r=q+1|0;h=(a[(r&n)>>0]|0)==0;if(!(l<<16>>16)){if(h){h=ga;g=0;break}c[(Na&p)>>2]=0;c[(Da&p)>>2]=0;k=c[(q&p)+52>>2]|0;g=Gg(c[(q&p)+68>>2]|0)|0;c[(Qa&p)>>2]=g;do if(!g){h=q+72|0;c[(Qa&p)>>2]=ip(k,Na,Da,c[(h&p)>>2]|0,0)|0;l=c[(Na&p)>>2]|0;Gq(q,l,Qa);if(a[(k&n)+17>>0]|0)zp(k,c[(Da&p)>>2]|0,5,c[(h&p)>>2]|0,Qa);g=c[(Qa&p)>>2]|0;if(!g){kw(l+22|0,q+22|0,d[(r&n)>>0]<<1|0)|0;kw(l+32|0,q+32|0,d[(r&n)>>0]<<2|0)|0;a[(l&n)+1>>0]=a[(r&n)>>0]|0;pl(q,d[(c[(l&p)+56>>2]&n)>>0]&247);g=d[(q&n)+6>>0]|0;ca=c[(q&p)+56>>2]|0;ba=c[(Da&p)>>2]|0;a[(ca+g&n)+8>>0]=ba>>>24;a[(ca+g&n)+9>>0]=ba>>>16;a[(ca+g&n)+10>>0]=ba>>>8;a[(ca+g&n)+11>>0]=ba;c[(ia&p)>>2]=l;g=0;break}c[(ia&p)>>2]=0;if(l)Bg(c[(l&p)+68>>2]|0)}else c[(ia&p)>>2]=0;while(0);if(g){h=ga;break}b[(qa&o)>>1]=1;b[(na&o)>>1]=0;b[(oa&o)>>1]=0;l=c[(ia&p)>>2]|0;k=l+1|0;if(!(a[(k&n)>>0]|0)){h=1;m=1;ea=15}else{s=1;m=1;r=k}}else if(h){h=l;l=q;k=r;ea=15}else{s=l;l=q}if((ea|0)==15){ea=0;if((e[(l&o)+16>>1]|0)>>>0>pa>>>0){s=h;r=k}else{h=ga;g=0;break}}k=m+-1|0;da=c[(f+(k<<2)&p)+120>>2]|0;k=b[(f+(k<<1)&o)+78>>1]|0;t=k&65535;g=Gg(c[(da&p)+68>>2]|0)|0;do if(!g){if(((((a[(l&n)+3>>0]|0)!=0?(a[(r&n)>>0]|0)==1:0)?(ja=b[(l&o)+22>>1]|0,ka=l+18|0,ja<<16>>16==(b[(ka&o)>>1]|0)):0)?(la=da+72|0,(c[(la&p)>>2]|0)!=1):0)?(ma=da+18|0,(b[(ma&o)>>1]|0)==k<<16>>16):0){k=c[(l&p)+52>>2]|0;if(!(ja<<16>>16)){c[(Qa&p)>>2]=59423;c[(Qa&p)+4>>2]=10788;bd(11,13600,Qa);h=ga;g=11;break}ca=ip(k,Ia,La,0,0)|0;c[(Ma&p)>>2]=ca;if(!ca){h=c[(l&p)+32>>2]|0;c[(Ha&p)>>2]=h;g=Lp(l,h)|0;b[(Oa&o)>>1]=g;m=c[(Ia&p)>>2]|0;pl(m,13);Hq(m,1,Ha,Oa);b[(m&o)+16>>1]=65534-(g&65535)+(c[(k&p)+36>>2]|0)-(e[(m&o)+14>>1]|0);if((a[(k&n)+17>>0]|0)!=0?(zp(k,c[(La&p)>>2]|0,5,c[(la&p)>>2]|0,Ma),(g&65535)>(e[(m&o)+12>>1]|0)):0)Fq(m,h,Ma);ca=c[(l&p)+56>>2]|0;k=e[(ka&o)>>1]<<1;h=c[(l&p)+64>>2]|0;k=(d[(h+k+-2&n)>>0]<<8|d[(h+k+-1&n)>>0])&e[(l&o)+20>>1];h=ca+k|0;c[(Ha&p)>>2]=h;k=ca+(k+9)|0;while(1){g=h+1|0;if((a[(h&n)>>0]|0)<0&g>>>0<k>>>0)h=g;else break}c[(Ha&p)>>2]=g;k=h+10|0;m=ua;while(1){c[(Ha&p)>>2]=g+1;ca=a[(g&n)>>0]|0;h=m+1|0;a[(m&n)>>0]=ca;g=c[(Ha&p)>>2]|0;if(!(ca<<24>>24<0&g>>>0<k>>>0))break;else m=h}Jp(da,e[(ma&o)>>1]|0,wa,h-va|0,0,c[(l&p)+72>>2]|0,Ma);h=d[(da&n)+6>>0]|0;ca=c[(da&p)+56>>2]|0;ba=c[(La&p)>>2]|0;a[(ca+h&n)+8>>0]=ba>>>24;a[(ca+h&n)+9>>0]=ba>>>16;a[(ca+h&n)+10>>0]=ba>>>8;a[(ca+h&n)+11>>0]=ba;h=c[(Ia&p)>>2]|0;if(h)Bg(c[(h&p)+68>>2]|0)}h=ga;g=c[(Ma&p)>>2]|0;break}h=Go(c[((c[(ha&p)>>2]|0)&p)+32>>2]|0)|0;_=s<<16>>16==1;q=d[(ta&n)>>0]|0;N=q&1;c[(Na&p)>>2]=0;a[(Aa&n)>>0]=0;a[(Aa&n)+1>>0]=0;a[(Aa&n)+2>>0]=0;a[(Aa&n)+3>>0]=0;a[(Aa&n)+4>>0]=0;aa=c[(da&p)+52>>2]|0;if(!h)g=7;else{E=da+1|0;s=d[(E&n)>>0]|0;$=da+18|0;g=e[($&o)>>1]|0;m=g+s|0;if((m|0)<2){ba=m;W=0}else{do if(k<<16>>16)if((m|0)==(t|0)){q=(q|-2)+t|0;break}else{q=t+-1|0;break}else q=0;while(0);ba=2-N|0;W=q}ca=ba+1|0;q=W-s+ba|0;D=da+56|0;s=c[(D&p)>>2]|0;if((q|0)==(g|0))t=(d[(da&n)+6>>0]|0)+8|0;else{t=q<<1;Z=c[(da&p)+64>>2]|0;t=(d[(Z+t&n)>>0]<<8|d[(Z+(t|1)&n)>>0])&e[(da&o)+20>>1]}T=s+t|0;R=s+(t+1)|0;S=s+(t+2)|0;G=s+(t+3)|0;Z=d[(R&n)>>0]<<16|d[(T&n)>>0]<<24|d[(S&n)>>0]<<8|d[(G&n)>>0];c[(Ka&p)>>2]=Z;t=Da+(ba<<2)|0;Z=vp(aa,Z,t,0)|0;c[(Na&p)>>2]=Z;a:do if(!Z){w=da+22|0;z=da+32|0;A=da+20|0;B=da+64|0;C=aa+22|0;Q=aa+36|0;x=ba;s=0;while(1){k=c[(t&p)>>2]|0;s=s+1+(e[(k&o)+18>>1]|0)+(d[(k&n)+1>>0]|0)|0;k=x+-1|0;if(!x)break;y=k+W|0;t=a[(E&n)>>0]|0;if((y|0)==(e[(w&o)>>1]|0))if(!(t<<24>>24)){t=0;ea=52}else{Z=c[(z&p)>>2]|0;c[(Ba+(k<<2)&p)>>2]=Z;q=d[(Z&n)+1>>0]<<16|d[(Z&n)>>0]<<24|d[(Z&n)+2>>0]<<8|d[(Z&n)+3>>0];c[(Ka&p)>>2]=q;c[(Pa+(k<<2)&p)>>2]=(Lp(da,Z)|0)&65535;a[(E&n)>>0]=0}else ea=52;if((ea|0)==52){ea=0;q=c[(D&p)>>2]|0;u=y-(t&255)<<1;m=c[(B&p)>>2]|0;u=(d[(m+u&n)>>0]<<8|d[(m+(u|1)&n)>>0])&e[(A&o)>>1];m=q+u|0;g=Ba+(k<<2)|0;c[(g&p)>>2]=m;q=d[(q+u&n)+1>>0]<<16|d[(m&n)>>0]<<24|d[(q+u&n)+2>>0]<<8|d[(q+u&n)+3>>0];c[(Ka&p)>>2]=q;v=(Lp(da,m)|0)&65535;c[(Pa+(k<<2)&p)>>2]=v;if(b[(C&o)>>1]&4){if((v+u|0)>(c[(Q&p)>>2]|0)){k=x;ea=54;break}kw(h+u|0,m|0,v|0)|0;c[(g&p)>>2]=h+(m-(c[(D&p)>>2]|0));t=a[(E&n)>>0]|0}Ip(da,y-(t&255)|0,v,Na)}t=Da+(k<<2)|0;Z=vp(aa,q,t,0)|0;c[(Na&p)>>2]=Z;if(Z){ea=47;break a}else x=k}if((ea|0)==54){ea=0;c[(Qa&p)>>2]=59766;c[(Qa&p)+4>>2]=10788;bd(11,13600,Qa);c[(Na&p)>>2]=11;fw(Da|0,0,k<<2|0)|0;m=0;q=0;break}t=s+3&-4;Z=gi((c[(aa&p)+32>>2]|0)+(t*6|0)|0)|0;if(!Z){c[(Na&p)>>2]=7;m=Z;q=0;break}X=Z+(t<<2)|0;J=X+(t<<1)|0;M=c[(Da&p)>>2]|0;U=d[(M&n)+5>>0]<<2;Y=U&65535;V=a[(M&n)+3>>0]|0;F=V&255;if((ba|0)>-1){I=V<<24>>24!=0;K=M;q=0;L=0;s=0;while(1){H=e[(K&o)+18>>1]|0;P=a[(K&n)+1>>0]|0;D=P&255;E=D+H|0;if(!(P<<24>>24)){g=c[(K&p)+56>>2]|0;if((E|0)>0){y=e[(K&o)+20>>1]|0;x=e[(K&o)+14>>1]|0;w=0;v=s;while(1){P=(w<<1)+x|0;P=g+((d[(g+P&n)>>0]<<8|d[(g+P&n)+1>>0])&y)|0;c[(Z+(v<<2)&p)>>2]=P;b[(X+(v<<1)&o)>>1]=Lp(K,P)|0;w=w+1|0;if((w|0)==(H|0))break;else v=v+1|0}s=H+s|0}}else if((E|0)>0){z=K+56|0;x=K+20|0;w=K+64|0;v=0;g=s;while(1){y=v;C=D;b:while(1){while(1){A=C+-1|0;if((C|0)<=0){ea=72;break b}C=e[(K+(A<<1)&o)+22>>1]|0;if((C|0)>(y|0))C=A;else{B=C;C=A;break}}if((B|0)==(y|0)){ea=71;break}else y=y+-1|0}if((ea|0)==71){ea=0;y=c[(K+(C<<2)&p)+32>>2]|0}else if((ea|0)==72){ea=0;y=y<<1;P=c[(w&p)>>2]|0;y=(c[(z&p)>>2]|0)+((d[(P+y&n)>>0]<<8|d[(P+(y|1)&n)>>0])&e[(x&o)>>1])|0}c[(Z+(g<<2)&p)>>2]=y;b[(X+(g<<1)&o)>>1]=Lp(K,y)|0;v=v+1|0;if((v|0)==(E|0))break;else g=g+1|0}s=H+s+D|0}c[(Fa+(q<<2)&p)>>2]=s;if((q|0)>=(ba|0)|I)t=L;else{k=c[(Pa+(q<<2)&p)>>2]|0;u=X+(s<<1)|0;b[(u&o)>>1]=k;k=k&65535;t=k+L|0;kw(J+L|0,c[(Ba+(q<<2)&p)>>2]|0,k|0)|0;k=Z+(s<<2)|0;c[(k&p)>>2]=J+(L+U);m=(e[(u&o)>>1]|0)-U|0;b[(u&o)>>1]=m;do if(!(a[(K&n)+5>>0]|0)){P=c[(k&p)>>2]|0;O=(c[(K&p)+56>>2]|0)+8|0;O=d[(O&n)>>0]|d[(O&n)+1>>0]<<8|d[(O&n)+2>>0]<<16|d[(O&n)+3>>0]<<24;a[(P&n)>>0]=O;a[(P&n)+1>>0]=O>>8;a[(P&n)+2>>0]=O>>16;a[(P&n)+3>>0]=O>>24}else{if((m&65532)>>>0>=4)break;a[(J+t&n)>>0]=0;b[(u&o)>>1]=4;t=t+1|0}while(0);s=s+1|0}q=q+1|0;if((q|0)>=(ca|0))break;K=c[(Da+(q<<2)&p)>>2]|0;L=t}t=U+-12+(c[(Q&p)>>2]|0)|0;if((s|0)>0){u=I<<31>>31;m=0;k=0;q=0;do{g=q+2+(e[(X+(m<<1)&o)>>1]|0)|0;if((g|0)>(t|0)){c[(Pa+(k<<2)&p)>>2]=q;c[(Ea+(k<<2)&p)>>2]=m;if((k|0)>3){ea=91;break}else{m=m+u|0;k=k+1|0;q=0}}else q=g;m=m+1|0}while((m|0)<(s|0));if((ea|0)==91){ea=0;c[(Qa&p)>>2]=59904;c[(Qa&p)+4>>2]=10788;bd(11,13600,Qa);c[(Na&p)>>2]=11;m=Z;q=0;break}c[(Pa+(k<<2)&p)>>2]=q;c[(Ea+(k<<2)&p)>>2]=s;if((k|0)>0){E=(N|0)==0;m=k;do{v=Pa+(m<<2)|0;m=m+-1|0;g=Pa+(m<<2)|0;w=Ea+(m<<2)|0;A=c[(w&p)>>2]|0;D=c[(g&p)>>2]|0;u=q;while(1){z=A+-1|0;y=A-F|0;if(u){if(!E){q=D;break}B=b[(X+(y<<1)&o)>>1]|0;C=u+2|0;y=b[(X+(z<<1)&o)>>1]|0;x=D+-2|0;if(((B&65535)+C|0)>(x-(y&65535)|0)){q=D;break}}else{x=D+-2|0;C=2;B=b[(X+(y<<1)&o)>>1]|0;y=b[(X+(z<<1)&o)>>1]|0}c[(w&p)>>2]=z;A=z;D=x-(y&65535)|0;u=(B&65535)+C|0}c[(v&p)>>2]=u;c[(g&p)>>2]=q}while((m|0)>0);L=1;P=t;O=s}else{L=1;P=t;O=s}}else ea=93}else{t=U+-12+(c[(Q&p)>>2]|0)|0;s=0;ea=93}if((ea|0)==93){ea=0;c[(Pa&p)>>2]=0;c[(Ea&p)>>2]=s;L=0;P=t;k=0;O=s}if((c[(M&p)+72>>2]|0)>>>0<2){c[(Qa&p)>>2]=59963;c[(Qa&p)+4>>2]=10788;bd(11,13600,Qa);c[(Na&p)>>2]=11;m=Z;q=0;break}H=d[(c[(M&p)+56>>2]&n)>>0]|0;if((k|0)>-1){v=(N|0)!=0;g=aa+17|0;m=da+72|0;x=0;q=0;while(1){do if((x|0)<(ca|0)){M=Da+(x<<2)|0;N=c[(M&p)>>2]|0;c[(Ca+(x<<2)&p)>>2]=N;c[(Ja&p)>>2]=N;c[(M&p)>>2]=0;N=Gg(c[(N&p)+68>>2]|0)|0;c[(Na&p)>>2]=N;q=q+1|0;if(N){m=Z;break a}}else{N=ip(aa,Ja,Ka,v?1:c[(Ka&p)>>2]|0,0)|0;c[(Na&p)>>2]=N;if(N){m=Z;break a}t=c[(Ja&p)>>2]|0;pl(t,H);c[(Ca+(x<<2)&p)>>2]=t;q=q+1|0;c[(Fa+(x<<2)&p)>>2]=O;if(!(a[(g&n)>>0]|0))break;zp(aa,c[(t&p)+72>>2]|0,5,c[(m&p)>>2]|0,Na);if(c[(Na&p)>>2]|0){m=Z;break a}}while(0);if((x|0)<(k|0))x=x+1|0;else break}if((q|0)>0){s=0;c:do{N=c[(Ca+(s<<2)&p)>>2]|0;t=c[(N&p)+72>>2]|0;c[(za+(s<<2)&p)>>2]=t;c[(ya+(s<<2)&p)>>2]=t;b[(xa+(s<<1)&o)>>1]=b[((c[(N&p)+68>>2]|0)&o)+24>>1]|0;if((s|0)>0){m=0;do{if((c[(za+(m<<2)&p)>>2]|0)==(t|0)){ea=118;break c}m=m+1|0}while((m|0)<(s|0))}s=s+1|0}while((s|0)<(q|0));if((ea|0)==118){ea=0;c[(Qa&p)>>2]=60018;c[(Qa&p)+4>>2]=10788;bd(11,13600,Qa);c[(Na&p)>>2]=11;m=Z;break}u=(q|0)>1;m=aa+44|0;k=0;do{if(u){s=0;t=1;do{s=(c[(ya+(t<<2)&p)>>2]|0)>>>0<(c[(ya+(s<<2)&p)>>2]|0)>>>0?t:s;t=t+1|0}while((t|0)!=(q|0))}else s=0;N=ya+(s<<2)|0;t=c[(N&p)>>2]|0;c[(N&p)>>2]=-1;if((s|0)!=(k|0)){if((s|0)>(k|0)){M=c[((c[(Ca+(s<<2)&p)>>2]|0)&p)+68>>2]|0;N=s+1+(c[(m&p)>>2]|0)|0;b[(M&o)+24>>1]=0;Zp(M,N)}N=c[(Ca+(k<<2)&p)>>2]|0;M=c[(N&p)+68>>2]|0;b[(M&o)+24>>1]=b[(xa+(s<<1)&o)>>1]|0;Zp(M,t);c[(N&p)+72>>2]=t}k=k+1|0}while((k|0)!=(q|0));c[(Ka&p)>>2]=t;N=0}else N=1}else{N=1;q=0}K=q+-1|0;t=c[(Ca+(K<<2)&p)>>2]|0;M=c[(t&p)+72>>2]|0;a[(T&n)>>0]=M>>>24;a[(R&n)>>0]=M>>>16;a[(S&n)>>0]=M>>>8;a[(G&n)>>0]=M;if(!((H&8|0)!=0|(ca|0)==(q|0))){T=(c[(t&p)+56>>2]|0)+8|0;S=(c[((c[(((q|0)>(ca|0)?Ca:Da)+(ba<<2)&p)>>2]|0)&p)+56>>2]|0)+8|0;S=d[(S&n)>>0]|d[(S&n)+1>>0]<<8|d[(S&n)+2>>0]<<16|d[(S&n)+3>>0]<<24;a[(T&n)>>0]=S;a[(T&n)+1>>0]=S>>8;a[(T&n)+2>>0]=S>>16;a[(T&n)+3>>0]=S>>24}M=aa+17|0;if((a[(M&n)>>0]|0)!=0?(ra=c[(Ca&p)>>2]|0,sa=c[(Q&p)>>2]|0,L):0){D=V<<24>>24==0;B=D&1;A=Y<<16>>16==0;y=c[(ra&p)+56>>2]|0;x=(e[(ra&o)+18>>1]|0)+(d[(ra&n)+1>>0]|0)|0;z=0;w=0;s=0;u=ra;while(1){C=c[(Z+(z<<2)&p)>>2]|0;if((z|0)==(x|0)){s=s+1|0;if((s|0)<(q|0))t=Ca+(s<<2)|0;else t=Da+(s<<2)|0;x=c[(t&p)>>2]|0;y=c[(x&p)+56>>2]|0;x=z+B+(e[(x&o)+18>>1]|0)+(d[(x&n)+1>>0]|0)|0}if((z|0)==(c[(Ea+(w<<2)&p)>>2]|0)){t=w+1|0;u=c[(Ca+(t<<2)&p)>>2]|0;if(!D)ea=142}else{t=w;ea=142}do if((ea|0)==142){ea=0;if((s|0)<(q|0)?(C>>>0>=y>>>0?(c[(u&p)+72>>2]|0)==(c[(za+(s<<2)&p)>>2]|0):0)&C>>>0<(y+sa|0)>>>0:0)break;if(A)zp(aa,d[(C&n)+1>>0]<<16|d[(C&n)>>0]<<24|d[(C&n)+2>>0]<<8|d[(C&n)+3>>0],5,c[(u&p)+72>>2]|0,Na);if((e[(X+(z<<1)&o)>>1]|0)<=(e[(u&o)+12>>1]|0))break;Fq(u,C,Na)}while(0);z=z+1|0;if((z|0)==(O|0))break;else w=t}}if((K|0)>0){v=V<<24>>24==0;x=0;y=0;while(1){w=c[(Ca+(x<<2)&p)>>2]|0;s=c[(Ea+(x<<2)&p)>>2]|0;m=c[(Z+(s<<2)&p)>>2]|0;k=b[(X+(s<<1)&o)>>1]|0;t=(k&65535)+U|0;u=h+y|0;do if(!(a[(w&n)+5>>0]|0)){s=(c[(w&p)+56>>2]|0)+8|0;T=d[(m&n)>>0]|d[(m&n)+1>>0]<<8|d[(m&n)+2>>0]<<16|d[(m&n)+3>>0]<<24;a[(s&n)>>0]=T;a[(s&n)+1>>0]=T>>8;a[(s&n)+2>>0]=T>>16;a[(s&n)+3>>0]=T>>24;s=u}else{if(!v){rp(w,c[(Z+(s+-1<<2)&p)>>2]|0,Ga);t=Ga;m=u;s=0;t=(pm(h+(y+4)|0,c[(t&p)>>2]|0,c[(t&p)+4>>2]|0)|0)+4|0;break}g=m+-4|0;if(k<<16>>16!=4){m=g;s=u;break}m=g;s=u;t=(Lp(da,g)|0)&65535}while(0);Jp(da,x+W|0,m,t,s,c[(w&p)+72>>2]|0,Na);if(c[(Na&p)>>2]|0){m=Z;break a}x=x+1|0;if((x|0)>=(K|0))break;else y=t+y|0}}t=1-q|0;if((t|0)<(q|0)){L=c[(Ea&p)>>2]|0;K=V<<24>>24==0&1;do{I=(t|0)<0?0-t|0:t;J=Aa+I|0;do if(!(a[(J&n)>>0]|0)){if((t|0)<=-1?(W=I+-1|0,(c[(Fa+(W<<2)&p)>>2]|0)<(c[(Ea+(W<<2)&p)>>2]|0)):0)break;if(!I){H=0;m=0;G=L}else{s=I+-1|0;if((I|0)<(ca|0))m=(c[(Fa+(s<<2)&p)>>2]|0)+K|0;else m=O;G=(c[(Ea+(s<<2)&p)>>2]|0)+K|0;H=G;G=(c[(Ea+(I<<2)&p)>>2]|0)-G|0}E=c[(Ca+(I<<2)&p)>>2]|0;v=c[(E&p)+56>>2]|0;g=d[(E&n)+6>>0]|0;k=E+64|0;s=(c[(k&p)>>2]|0)+(G<<1)|0;u=E+18|0;y=e[(u&o)>>1]|0;F=E+1|0;x=y+m+(d[(F&n)>>0]|0)|0;w=G+H|0;if((m|0)<(H|0)){W=Iq(E,H-m|0,Z+(m<<2)|0,X+(m<<1)|0)|0;V=c[(k&p)>>2]|0;lw(V|0,V+(W<<1)|0,y<<1|0)|0;y=y-W|0}if((x|0)>(w|0))y=y-(Iq(E,x-w|0,Z+(w<<2)|0,X+(w<<1)|0)|0)|0;A=v+(g+5)|0;z=v+(g+6)|0;W=v+(((d[(A&n)>>0]<<8|d[(z&n)>>0])+65535&65535)+1)|0;c[(Qa&p)>>2]=W;d:do if(W>>>0<s>>>0)ea=181;else{if((H|0)<(m|0)){x=m-H|0;x=(x|0)>(G|0)?G:x;W=c[(k&p)>>2]|0;lw(W+(x<<1)|0,W|0,y<<1|0)|0;if(Jq(E,s,Qa,W,x,Z+(H<<2)|0,X+(H<<1)|0)|0){ea=181;break}y=y+x|0}x=a[(F&n)>>0]|0;if(x<<24>>24){D=0;do{C=(e[(E+(D<<1)&o)+22>>1]|0)+m|0;B=C-H|0;if((B|0)>-1&(B|0)<(G|0)){V=B<<1;U=c[(k&p)>>2]|0;W=U+V|0;lw(U+(V+2)|0,W|0,y-B<<1|0)|0;if(Jq(E,s,Qa,W,1,Z+(C<<2)|0,X+(C<<1)|0)|0){ea=181;break d}x=a[(F&n)>>0]|0;y=y+1|0}D=D+1|0}while((D|0)<(x&255|0))}W=y+H|0;if(Jq(E,s,Qa,(c[(k&p)>>2]|0)+(y<<1)|0,G-y|0,Z+(W<<2)|0,X+(W<<1)|0)|0){ea=181;break}W=G&65535;b[(u&o)>>1]=W;a[(F&n)>>0]=0;a[(v+g&n)+3>>0]=(W&65535)>>>8;a[(v+g&n)+4>>0]=b[(u&o)>>1];W=(c[(Qa&p)>>2]|0)-v|0;a[(A&n)>>0]=W>>>8;a[(z&n)>>0]=W}while(0);if((ea|0)==181){ea=0;Hq(E,G,Z+(H<<2)|0,X+(H<<1)|0)}a[(J&n)>>0]=1;b[(E&o)+16>>1]=P-(c[(Pa+(I<<2)&p)>>2]|0)}while(0);t=t+1|0}while((t|0)!=(q|0))}do if(_){if(b[($&o)>>1]|0){ea=191;break}m=c[(Ca&p)>>2]|0;if((d[(da&n)+6>>0]|0)>>>0>(e[(m&o)+16>>1]|0)>>>0){ea=191;break}c[(Na&p)>>2]=Eq(m)|0;Gq(m,da,Na);if(c[(Na&p)>>2]|0)break;c[(Na&p)>>2]=Ym(c[(m&p)+52>>2]|0,m,c[(m&p)+72>>2]|0)|0}else ea=191;while(0);do if((ea|0)==191){ea=0;if((a[(M&n)>>0]|0)==0|Y<<16>>16!=0|N)break;else m=0;do{$=c[(Ca+(m<<2)&p)>>2]|0;_=c[($&p)+56>>2]|0;zp(aa,d[(_&n)+9>>0]<<16|d[(_&n)+8>>0]<<24|d[(_&n)+10>>0]<<8|d[(_&n)+11>>0],5,c[($&p)+72>>2]|0,Na);m=m+1|0}while((m|0)!=(q|0))}while(0);if((q|0)>=(ca|0)){m=Z;break}m=c[(Na&p)>>2]|0;g=q;do{k=c[(Da+(g<<2)&p)>>2]|0;if(!m){m=Ym(c[(k&p)+52>>2]|0,k,c[(k&p)+72>>2]|0)|0;c[(Na&p)>>2]=m}g=g+1|0}while((g|0)!=(ca|0));m=Z}else{k=ba;ea=47}while(0);if((ea|0)==47){ea=0;fw(Da|0,0,(k<<2)+4|0)|0;m=0;q=0}hi(m);if((ba|0)>-1){k=0;do{m=c[(Da+(k<<2)&p)>>2]|0;if(m)Bg(c[(m&p)+68>>2]|0);k=k+1|0}while((k|0)<(ca|0))}if((q|0)>0){k=0;do{g=c[(Ca+(k<<2)&p)>>2]|0;if(g)Bg(c[(g&p)+68>>2]|0);k=k+1|0}while((k|0)!=(q|0))}g=c[(Na&p)>>2]|0}if(ga)$k(ga)}else h=ga;while(0);a[(r&n)>>0]=0;if(l)Bg(c[(l&p)+68>>2]|0);l=(b[(qa&o)>>1]|0)+-1<<16>>16;b[(qa&o)>>1]=l;if(g)break;else ga=h}if(h)$k(h);i=Ra;return g|0}function Lp(b,f){b=b|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=d[(b&n)+7>>0]|0;h=f+g|0;do if(!(a[(b&n)+4>>0]|0)){j=a[(h&n)>>0]|0;i=j&255;if(j<<24>>24<0){j=f+(g+9)|0;g=i&127;do{h=h+1|0;i=a[(h&n)>>0]|0;g=i&127|g<<7}while(i<<24>>24<0&h>>>0<j>>>0)}else g=i;i=h+1|0;if(a[(b&n)+2>>0]|0){k=h+10|0;j=i;while(1){i=h+2|0;if((a[(j&n)>>0]|0)<0&i>>>0<k>>>0){h=j;j=i}else break}}h=e[(b&o)+10>>1]|0;if(g>>>0>h>>>0){j=e[(b&o)+12>>1]|0;g=(((g-j|0)>>>0)%(((c[((c[(b&p)+52>>2]|0)&p)+36>>2]|0)+-4|0)>>>0)|0)+j|0;g=(i-f&65535)+4+(g>>>0>h>>>0?j:g)|0;break}else{g=i-f+g|0;g=g>>>0<4?4:g;break}}else{i=f+(g+9)|0;while(1){g=h+1|0;if((a[(h&n)>>0]|0)<0&g>>>0<i>>>0)h=g;else break}g=g-f|0}while(0);return g&65535|0}function Mp(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,o=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+4|0;r=u;q=u+8|0;c[(s&p)>>2]=0;if(a[(b&n)+17>>0]|0){h=((c[2514]|0)>>>0)/((c[(b&p)+32>>2]|0)>>>0)|0;m=b+36|0;o=e;while(1){l=o+1|0;if(l>>>0<2)k=0;else{k=o+-1|0;k=k-((k>>>0)%(((((c[(m&p)>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(h|0)?3:2)+k|0}if((k|0)==(l|0)|(o|0)==(h|0))o=l;else break}if(l>>>0<=(c[(b&p)+44>>2]|0)>>>0){o=hp(b,l,q,r)|0;m=(o|0)==0;k=m&(a[(q&n)>>0]|0)==4&(c[(r&p)>>2]|0)==(e|0);l=k?l:0;if(k|m^1){h=0;k=k?101:o}else t=8}else{l=0;t=8}}else{l=0;t=8}if((t|0)==8){k=dl(b,e,s,(f|0)==0?2:0)|0;h=c[(s&p)>>2]|0;if(!k){l=c[(h&p)+56>>2]|0;l=d[(l&n)+1>>0]<<16|d[(l&n)>>0]<<24|d[(l&n)+2>>0]<<8|d[(l&n)+3>>0];k=0}}c[(g&p)>>2]=l;if(!f){if(h)Bg(c[(h&p)+68>>2]|0)}else c[(f&p)>>2]=h;i=u;return ((k|0)==101?0:k)|0}function Np(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();h=k;c[(h&p)>>2]=0;f=(b|0)!=0;a:do if(d)if(f){f=h;while(1){g=d+8|0;while(1){if((Wp(a,b+8|0,c[(b&p)>>2]|0,g,c[(d&p)>>2]|0)|0)>=1)break;c[(f&p)>>2]=b;f=b+4|0;b=c[(f&p)>>2]|0;if(!b){b=0;g=0;break a}else g=0}c[(f&p)>>2]=d;f=d+4|0;d=c[(f&p)>>2]|0;if(!d){d=0;g=1;break a}if(!b){b=0;g=0;break}}}else{g=f;f=h}else{d=0;g=f;f=h}while(0);c[(f&p)>>2]=g?b:d;c[(e&p)>>2]=c[(h&p)>>2];i=k;return}function Op(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g+8|0;e=g;d=c[2252]|0;if((d|0)!=0?(lc[d&127](202)|0)!=0:0)d=3338;else{d=mp(c[(a&p)>>2]|0,0,b,4126,f)|0;c[(f&p)>>2]=d;if(!d){d=e;c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;d=c[(b&p)>>2]|0;ac[c[((c[(d&p)>>2]|0)&p)+40>>2]&63](d,18,e)|0;d=c[(f&p)>>2]|0}}i=g;return d|0}function Pp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=b+0|0;h=g+40|0;do{c[(g&p)>>2]=0;g=g+4|0}while((g|0)<(h|0));g=((d|0)<0)<<31>>31;h=qg(d,g)|0;c[(b&p)+4>>2]=h;if(!h)c[(b&p)>>2]=7;else{h=rw(e|0,f|0,d|0,g|0)|0;c[(b&p)+12>>2]=h;c[(b&p)+16>>2]=h;h=dw(e|0,f|0,h|0,((h|0)<0)<<31>>31|0)|0;g=b+24|0;c[(g&p)>>2]=h;c[(g&p)+4>>2]=G;c[(b&p)+8>>2]=d;c[(b&p)+32>>2]=a}return}function Qp(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,k=0,l=0,m=0,n=0,o=0,q=0,r=0;a:do if((d|0)>0){f=a+8|0;h=a+16|0;i=a+4|0;j=a+32|0;k=a+12|0;l=a+24|0;m=d;do{if(c[(a&p)>>2]|0)break a;g=c[(h&p)>>2]|0;e=(c[(f&p)>>2]|0)-g|0;e=(m|0)>(e|0)?e:m;kw((c[(i&p)>>2]|0)+g|0,b+(d-m)|0,e|0)|0;g=(c[(h&p)>>2]|0)+e|0;c[(h&p)>>2]=g;if((g|0)==(c[(f&p)>>2]|0)){r=c[(j&p)>>2]|0;o=c[(k&p)>>2]|0;q=(c[(i&p)>>2]|0)+o|0;n=l;n=jw(c[(n&p)>>2]|0,c[(n&p)+4>>2]|0,o|0,((o|0)<0)<<31>>31|0)|0;c[(a&p)>>2]=tc[c[((c[(r&p)>>2]|0)&p)+12>>2]&31](r,q,g-o|0,n,G)|0;c[(h&p)>>2]=0;c[(k&p)>>2]=0;n=c[(f&p)>>2]|0;g=l;n=jw(c[(g&p)>>2]|0,c[(g&p)+4>>2]|0,n|0,((n|0)<0)<<31>>31|0)|0;g=l;c[(g&p)>>2]=n;c[(g&p)+4>>2]=G}m=m-e|0}while((m|0)>0)}while(0);return}function Rp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=a+4|0;if(((c[(a&p)>>2]|0)==0?(e=c[(f&p)>>2]|0,(e|0)!=0):0)?(d=c[(a&p)+16>>2]|0,g=c[(a&p)+12>>2]|0,(d|0)>(g|0)):0){i=c[(a&p)+32>>2]|0;h=a+24|0;h=jw(c[(h&p)>>2]|0,c[(h&p)+4>>2]|0,g|0,((g|0)<0)<<31>>31|0)|0;c[(a&p)>>2]=tc[c[((c[(i&p)>>2]|0)&p)+12>>2]&31](i,e+g|0,d-g|0,h,G)|0}e=a+24|0;d=c[(a&p)+16>>2]|0;e=jw(d|0,((d|0)<0)<<31>>31|0,c[(e&p)>>2]|0,c[(e&p)+4>>2]|0)|0;d=b;c[(d&p)>>2]=e;c[(d&p)+4>>2]=G;Wc(c[(f&p)>>2]|0);f=c[(a&p)>>2]|0;d=a+0|0;e=d+40|0;do{c[(d&p)>>2]=0;d=d+4|0}while((d|0)<(e|0));return f|0}function Sp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=c[2252]|0;if((g|0)!=0?(lc[g&127](201)|0)!=0:0)g=266;else{h=b+44|0;if(c[(h&p)>>2]|0)c[(h&p)>>2]=0;n=b;c[(n&p)>>2]=e;c[(n&p)+4>>2]=f;n=d+8|0;l=c[(n&p)>>2]|0;n=c[(n&p)+4>>2]|0;j=b+8|0;k=j;c[(k&p)>>2]=l;c[(k&p)+4>>2]=n;d=c[(d&p)>>2]|0;k=b+24|0;c[(k&p)>>2]=d;a=a+8|0;g=c[(a&p)>>2]|0;i=c[((c[(g&p)+24>>2]|0)&p)+136>>2]|0;m=((i|0)<0)<<31>>31;if(!((n|0)>(m|0)|(n|0)==(m|0)&l>>>0>i>>>0)?(c[(c[(d&p)>>2]&p)>>2]|0)>2:0){c[(h&p)>>2]=0;g=c[(a&p)>>2]|0}i=c[(g&p)+12>>2]|0;d=((i|0)<0)<<31>>31;f=rw(e|0,f|0,i|0,d|0)|0;a=b+36|0;g=c[(a&p)>>2]|0;if(!g){g=qg(i,d)|0;c[(a&p)>>2]=g;c[(b&p)+40>>2]=i;e=g;g=(g|0)==0?7:0}else{e=g;g=0}if((g|0)==0&(f|0)!=0){g=i-f|0;i=b;h=c[(i&p)>>2]|0;i=c[(i&p)+4>>2]|0;b=jw(h|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;l=G;d=j;a=c[(d&p)>>2]|0;d=c[(d&p)+4>>2]|0;if((l|0)>(d|0)|(l|0)==(d|0)&b>>>0>a>>>0)g=dw(a|0,d|0,h|0,i|0)|0;k=c[(k&p)>>2]|0;g=tc[c[((c[(k&p)>>2]|0)&p)+8>>2]&31](k,e+f|0,g,h,i)|0}}return g|0}function Tp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+32|0;if((i|0)>=(j|0))fa();k=l+8|0;h=l;f=c[(b&p)+44>>2]|0;e=b;g=c[(e&p)>>2]|0;a:do if(!f){f=c[(b&p)+40>>2]|0;e=rw(g|0,c[(e&p)+4>>2]|0,f|0,((f|0)<0)<<31>>31|0)|0;if((e|0)!=0&(f-e|0)>8){f=(sp((c[(b&p)+36>>2]|0)+e|0,d)|0)&255;e=b;f=jw(c[(e&p)>>2]|0,c[(e&p)+4>>2]|0,f|0,0)|0;e=b;c[(e&p)>>2]=f;c[(e&p)+4>>2]=G;e=0;break}else f=0;while(1){e=Kq(b,1,h)|0;if(e)break a;e=a[(c[(h&p)>>2]&n)>>0]|0;a[(k+(f&15)&n)>>0]=e;if(e<<24>>24<0)f=f+1|0;else break}sp(k,d)|0;e=0}else{f=(sp(f+g|0,d)|0)&255;e=b;f=jw(c[(e&p)>>2]|0,c[(e&p)+4>>2]|0,f|0,0)|0;e=b;c[(e&p)>>2]=f;c[(e&p)+4>>2]=G;e=0}while(0);i=l;return e|0}function Up(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;d=g;c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;d=a;f=c[(d&p)+4>>2]|0;b=a+8|0;e=c[(b&p)+4>>2]|0;do if((f|0)<(e|0)|((f|0)==(e|0)?(c[(d&p)>>2]|0)>>>0<(c[(b&p)>>2]|0)>>>0:0))h=9;else{d=c[(a&p)+48>>2]|0;if(d){b=Lq(d)|0;l=d+32|0;f=d+48|0;c[(l&p)>>2]=c[(f&p)>>2];c[(l&p)+4>>2]=c[(f&p)+4>>2];c[(l&p)+8>>2]=c[(f&p)+8>>2];c[(l&p)+12>>2]=c[(f&p)+12>>2];l=d+40|0;f=d+8|0;e=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;if((c[(l&p)>>2]|0)==(e|0)?(c[(l&p)+4>>2]|0)==(f|0):0)c[(d&p)+20>>2]=1;if(!b)if(!(c[(d&p)+20>>2]|0)){b=Sp(c[(d&p)>>2]|0,a,d+32|0,e,f)|0;if(!b){h=9;break}else break}else b=0}else b=0;Vp(a)}while(0);if((h|0)==9){b=Tp(a,g)|0;if(!b){b=c[(g&p)>>2]|0;c[(a&p)+20>>2]=b;b=Kq(a,b,a+32|0)|0}}i=k;return b|0}function Vp(a){a=a|0;var b=0;Wc(c[(a&p)+28>>2]|0);Wc(c[(a&p)+36>>2]|0);Sm(c[(a&p)+48>>2]|0);a=a+0|0;b=a+56|0;do{c[(a&p)>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Wp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=c[(a&p)+12>>2]|0;if(e)Gm(c[((c[(a&p)+8>>2]|0)&p)+28>>2]|0,f,e,g);return Km(d,b,g,0)|0}function Xp(f,g,h,k){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;z=i;i=i+16|0;if((i|0)>=(j|0))fa();m=z;l=z+8|0;v=z+12|0;do if((c[(f&p)+44>>2]|0)>>>0>=g>>>0){g=vp(f,g,l,0)|0;if(!g){x=c[(l&p)>>2]|0;w=x+9|0;a:do if(!(a[(w&n)>>0]|0)){a[(w&n)>>0]=1;t=d[(x&n)+6>>0]|0;r=x+18|0;l=b[(r&o)>>1]|0;if(!(l<<16>>16)){l=l&65535;g=x+5|0}else{q=0;while(1){m=c[(x&p)+56>>2]|0;l=q<<1;g=c[(x&p)+64>>2]|0;l=(d[(g+l&n)>>0]<<8|d[(g+(l|1)&n)>>0])&e[(x&o)+20>>1];g=m+l|0;s=x+5|0;if((a[(s&n)>>0]|0)==0?(u=Xp(f,d[(m+l&n)+1>>0]<<16|d[(g&n)>>0]<<24|d[(m+l&n)+2>>0]<<8|d[(m+l&n)+3>>0],1,k)|0,(u|0)!=0):0){g=u;y=21;break a}g=Hp(x,g,v)|0;q=q+1|0;if(g){y=21;break a}l=e[(r&o)>>1]|0;if((q|0)>=(l|0)){g=s;break}}}if(!(a[(g&n)>>0]|0)){g=c[(x&p)+56>>2]|0;g=Xp(f,d[(g+t&n)+9>>0]<<16|d[(g+t&n)+8>>0]<<24|d[(g+t&n)+10>>0]<<8|d[(g+t&n)+11>>0],1,k)|0;if(!g)y=16}else if(!k)y=16;else{c[(k&p)>>2]=(c[(k&p)>>2]|0)+l;y=16}if((y|0)==16){if(h){g=Ym(c[(x&p)+52>>2]|0,x,c[(x&p)+72>>2]|0)|0;y=21;break}g=Gg(c[(x&p)+68>>2]|0)|0;if(!g){pl(x,d[((c[(x&p)+56>>2]|0)+t&n)>>0]|8);g=0;y=21;break}}a[(w&n)>>0]=0}else{c[(m&p)>>2]=60971;c[(m&p)+4>>2]=10788;bd(11,13600,m);g=11;y=21}while(0);if((y|0)==21){a[(w&n)>>0]=0;if(!x)break}Bg(c[(x&p)+68>>2]|0)}}else{c[(m&p)>>2]=60966;c[(m&p)+4>>2]=10788;bd(11,13600,m);g=11}while(0);i=z;return g|0}function Yp(b,d){b=b|0;d=d|0;var e=0,f=0;f=(c[(b&p)>>2]|0)+204|0;e=ac[c[8876>>2]&63](c[((c[(f&p)>>2]|0)&p)+40>>2]|0,d,0)|0;e=il(c[(f&p)>>2]|0,d,e)|0;if(!e)e=0;else{f=c[(e&p)+8>>2]|0;c[(f&p)+56>>2]=c[(e&p)+4>>2];c[(f&p)+68>>2]=e;c[(f&p)+52>>2]=b;c[(f&p)+72>>2]=d;a[(f&n)+6>>0]=(d|0)==1?100:0;e=f}return e|0}function Zp(a,d){a=a|0;d=d|0;var e=0;e=a+20|0;qc[c[8884>>2]&15](c[((c[(a&p)+28>>2]|0)&p)+40>>2]|0,c[(a&p)>>2]|0,c[(e&p)>>2]|0,d);c[(e&p)>>2]=d;if((b[(a&o)+24>>1]&6)==6)Qo(a,3);return}function _p(f){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,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();x=y;u=c[(f&p)+52>>2]|0;v=a[(f&n)>>0]|0;w=c[(f&p)+72>>2]|0;t=$p(f)|0;c[(x&p)>>2]=t;if(!t){t=b[(f&o)+18>>1]|0;s=t&65535;if(!(t<<16>>16))g=f+5|0;else{h=f+56|0;k=f+20|0;l=f+64|0;g=f+5|0;t=0;do{m=c[(h&p)>>2]|0;q=t<<1;r=c[(l&p)>>2]|0;q=(d[(r+q&n)>>0]<<8|d[(r+(q|1)&n)>>0])&e[(k&o)>>1];r=m+q|0;Fq(f,r,x);if(!(a[(g&n)>>0]|0))zp(u,d[(m+q&n)+1>>0]<<16|d[(r&n)>>0]<<24|d[(m+q&n)+2>>0]<<8|d[(m+q&n)+3>>0],5,w,x);t=t+1|0}while((t|0)<(s|0))}if(!(a[(g&n)>>0]|0)){t=d[(f&n)+6>>0]|0;s=c[(f&p)+56>>2]|0;zp(u,d[(s+t&n)+9>>0]<<16|d[(s+t&n)+8>>0]<<24|d[(s+t&n)+10>>0]<<8|d[(s+t&n)+11>>0],5,w,x)}}a[(f&n)>>0]=v;i=y;return c[(x&p)>>2]|0}function $p(e){e=e|0;var f=0,g=0,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;y=i;i=i+16|0;if((i|0)>=(j|0))fa();x=y;a:do if(!(a[(e&n)>>0]|0)){f=c[(e&p)+52>>2]|0;u=c[(e&p)+56>>2]|0;l=d[(e&n)+6>>0]|0;if(Ro(e,d[(u+l&n)>>0]|0)|0){c[(x&p)>>2]=54562;c[(x&p)+4>>2]=10788;bd(11,13600,x);f=11;break}q=c[(f&p)+32>>2]|0;b[(e&o)+20>>1]=q+65535;a[(e&n)+1>>0]=0;t=c[(f&p)+36>>2]|0;f=l+8+(d[(e&n)+7>>0]|0)|0;b[(e&o)+14>>1]=f;c[(e&p)+60>>2]=u+t;f=f&65535;c[(e&p)+64>>2]=u+f;k=a[(u+l&n)+5>>0]|0;h=a[(u+l&n)+6>>0]|0;g=d[(u+l&n)+3>>0]<<8|d[(u+l&n)+4>>0];b[(e&o)+18>>1]=g;if(g>>>0>(((q+-8|0)>>>0)/6|0)>>>0){c[(x&p)>>2]=54579;c[(x&p)+4>>2]=10788;bd(11,13600,x);f=11;break}q=(g<<1)+f|0;m=t+-4|0;g=d[(u+l&n)+1>>0]<<8|d[(u+l&n)+2>>0];f=(((k&255)<<8|h&255)+65535&65535)+1+(d[(u+l&n)+7>>0]|0)|0;do if(g){while(1){if((g|0)<(q|0)|(g|0)>(m|0)){w=8;break}h=d[(u+g&n)>>0]<<8|d[(u+g&n)+1>>0];k=d[(u+g&n)+2>>0]<<8|d[(u+g&n)+3>>0];g=k+g|0;if(!h){r=k;s=g;v=f;w=12;break}if((h|0)<=(g+3|0)|(g|0)>(t|0))break;g=h;f=k+f|0}if((w|0)==8){c[(x&p)>>2]=54634;c[(x&p)+4>>2]=10788;bd(11,13600,x);f=11;break a}if((w|0)==12?(s|0)<=(t|0):0){f=r+v|0;break}c[(x&p)>>2]=54641;c[(x&p)+4>>2]=10788;bd(11,13600,x);f=11;break a}while(0);if((f|0)>(t|0)){c[(x&p)>>2]=54655;c[(x&p)+4>>2]=10788;bd(11,13600,x);f=11;break}else{b[(e&o)+16>>1]=f-q;a[(e&n)>>0]=1;f=0;break}}else f=0;while(0);i=y;return f|0}function aq(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;l=i;i=i+16|0;if((i|0)>=(j|0))fa();k=l;f=c[(b&p)>>2]|0;g=f+65|0;if(!(a[(g&n)>>0]|0)){if((c[(f&p)+24>>2]&65536|0)==0?(h=b+4|0,m=c[(h&p)>>2]|0,c[(k&p)>>2]=(d|0)==0?13552:d,dh(m,f,13560,k),(e|0)!=0):0){d=c[(c[(h&p)>>2]&p)>>2]|0;c[(k&p)>>2]=d;c[(k&p)+4>>2]=e;f=Mq(f,d,0,k)|0;c[(c[(h&p)>>2]&p)>>2]=f}if(!(a[(g&n)>>0]|0)){c[(k&p)>>2]=105209;c[(k&p)+4>>2]=10788;bd(11,13600,k);f=11}else f=7}else f=7;c[(b&p)+12>>2]=f;i=l;return}function bq(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,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();n=o;m=a+20|0;a:do if((c[(m&p)>>2]|0)>0){h=a+16|0;k=(d|0)==0;l=0;a=0;do{f=(l|0)<2^l;g=c[(h&p)>>2]|0;e=c[(g+(f<<4)&p)+12>>2]|0;if(!(!k?(dd(d,c[(g+(f<<4)&p)>>2]|0)|0)!=0:0)){a=bn(e+24|0,b,n)|0;if(a){a=c[(a&p)+8>>2]|0;if(a)break a}else a=0}l=l+1|0}while((l|0)<(c[(m&p)>>2]|0))}else a=0;while(0);i=o;return a|0}function cq(d){d=d|0;var f=0,g=0,h=0,i=0;i=c[(d&p)+8>>2]|0;h=d+46|0;g=b[(h&o)>>1]|0;g=(g&65535)>5?5:g&65535;f=b[((c[(d&p)+12>>2]|0)&o)+28>>1]|0;b[(i&o)>>1]=f<<16>>16<33?33:f;kw(i+2|0,13512,g<<1|0)|0;f=e[(h&o)>>1]|0;if(g>>>0<f>>>0)do{g=g+1|0;b[(i+(g<<1)&o)>>1]=23;f=e[(h&o)>>1]|0}while((g|0)<(f|0));if(a[(d&n)+50>>0]|0)b[(i+(f<<1)&o)>>1]=0;return}function dq(d,f,g,h){d=d|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;s=i;i=i+64|0;if((i|0)>=(j|0))fa();q=s;a:do if((((g|0)!=0?(l=c[(g&p)>>2]|0,(l|0)!=0):0)?(r=g+8|0,(c[(r&p)>>2]|0)!=0):0)?(k=d+4|0,t=_h(c[(d&p)>>2]|0,l,c[(k&p)>>2]|0)|0,(t|0)!=0):0){h=c[(g&p)+4>>2]|0;b:do if(!h)m=11;else{if(!(dd(c[(g&p)>>2]|0,h)|0)){k=c[(t&p)+8>>2]|0;if(!k){m=11;break}while(1){l=a[(k&n)+51>>0]|0;if((l&3)==2)break;k=c[(k&p)+20>>2]|0;if(!k){m=11;break b}}h=c[(r&p)>>2]|0;f=k}else{f=bq(c[(d&p)>>2]|0,h,c[(k&p)>>2]|0)|0;k=c[(r&p)>>2]|0;if(!f)break;l=a[(f&n)+51>>0]|0;h=k}r=(e[(f&o)+46>>1]|0)+1|0;a[(f&n)+51>>0]=l&-5;k=f+8|0;Nq(h,r,c[(k&p)>>2]|0,f);if(c[(f&p)+36>>2]|0)break a;b[(t&o)+28>>1]=b[(c[(k&p)>>2]&o)>>1]|0;break a}while(0);if((m|0)==11)k=c[(r&p)>>2]|0;r=t+42|0;m=q+44|0;b[(m&o)>>1]=b[(r&o)>>1]|0;Nq(k,1,t+28|0,q);b[(r&o)>>1]=b[(m&o)>>1]|0}while(0);i=s;return 0}function eq(b,e){b=b|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();k=l;do if(e){if((c[(b&p)+12>>2]|0)>>>0<e>>>0){c[(k&p)>>2]=e;fn(b,44408,k);f=1;break}g=(c[(b&p)+8>>2]|0)+(e>>>3)|0;h=d[(g&n)>>0]|0;f=1<<(e&7);if(!(h&f)){a[(g&n)>>0]=h|f;f=0;break}else{c[(k&p)>>2]=e;fn(b,44432,k);f=1;break}}else f=1;while(0);i=l;return f|0}function fq(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[(a&p)>>2]|0;do if(d){if((b|0)==1){b=d+8|0;c[(a&p)>>2]=c[(b&p)>>2];c[(b&p)>>2]=0;c[(d&p)+12>>2]=0;break}b=b+-1|0;d=fq(a,b)|0;e=c[(a&p)>>2]|0;if(e){c[(e&p)+12>>2]=d;d=e+8|0;c[(a&p)>>2]=c[(d&p)>>2];c[(d&p)>>2]=fq(a,b)|0;return e|0}}else d=0;while(0);return d|0}function gq(b,d){b=b|0;d=d|0;var e=0;if((a[(b&n)+43>>0]|0)==2){e=b+24|0;if((c[(e&p)>>2]|0)>0){d=b+32|0;b=0;do{Wc(c[((c[(d&p)>>2]|0)+(b<<2)&p)>>2]|0);c[((c[(d&p)>>2]|0)+(b<<2)&p)>>2]=0;b=b+1|0}while((b|0)<(c[(e&p)>>2]|0))}}else{b=c[(b&p)+4>>2]|0;rc[c[((c[(b&p)>>2]|0)&p)+64>>2]&127](b,d)|0}return}function hq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();b=Ng(b)|0;if(b)dh(c,a,Se(a)|0,d);i=d;return b|0}function iq(a,d){a=a|0;d=d|0;var f=0,g=0,h=0;f=c[(a&p)>>2]|0;g=a+16|0;h=a+84|0;ch(c[(g&p)>>2]|0,(e[(h&o)>>1]|0)<<1);mg(f,c[(g&p)>>2]|0);b[(h&o)>>1]=d;h=d*80|0;f=mh(f,h,0)|0;if(f){fw(f|0,0,h|0)|0;c[(g&p)>>2]=f;if((d|0)>0){h=c[(a&p)>>2]|0;g=d<<1;while(1){g=g+-1|0;b[(f&o)+8>>1]=1;c[(f&p)+32>>2]=h;if((g|0)<=0)break;else f=f+40|0}}}else c[(g&p)>>2]=0;return}function jq(b,d,f,g,h){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;if(!(a[((c[(b&p)>>2]|0)&n)+65>>0]|0)){d=(ca(e[(b&o)+84>>1]|0,f)|0)+d|0;Xg((c[(b&p)+16>>2]|0)+(d*40|0)|0,g,-1,1,h)|0}return}function kq(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;m=i;i=i+16|0;if((i|0)>=(j|0))fa();l=m;k=c[(d&p)>>2]|0;h=k+1|0;c[(d&p)>>2]=h;if((k|0)>98){f=d+8|0;h=c[(f&p)>>2]|0;c[(d&p)>>2]=k;do Pn(d);while((c[(d&p)>>2]|0)>-1);th(h,37160,l);c[(f&p)>>2]=h}else{b[(d+(h<<4)&o)+12>>1]=e;a[(d+(h<<4)&n)+14>>0]=f;f=d+(h<<4)+16|0;c[(f&p)>>2]=c[(g&p)>>2];c[(f&p)+4>>2]=c[(g&p)+4>>2];c[(f&p)+8>>2]=c[(g&p)+8>>2]}i=m;return}function lq(a,b,d){a=a|0;b=b|0;d=d|0;a=c[(a&p)+8>>2]|0;switch(b&255|0){case 228:case 221:case 220:case 210:case 209:case 208:case 205:case 203:case 200:case 188:case 179:{Nk(c[(a&p)>>2]|0,c[(d&p)>>2]|0);break}case 239:case 234:{Fk(c[(a&p)>>2]|0,c[(d&p)>>2]|0);break}case 236:{Hk(c[(a&p)>>2]|0,c[(d&p)+4>>2]|0);break}case 243:case 238:case 229:case 227:case 216:case 204:case 202:{Gk(c[(a&p)>>2]|0,c[(d&p)>>2]|0);break}case 175:case 174:{Gk(c[(a&p)>>2]|0,c[(d&p)>>2]|0);break}case 252:case 197:{Qn(c[(a&p)>>2]|0,c[(d&p)>>2]|0);break}case 223:case 219:case 217:{Hk(c[(a&p)>>2]|0,c[(d&p)>>2]|0);break}case 213:case 212:case 201:case 194:{Do(c[(a&p)>>2]|0,c[(d&p)>>2]|0);break}case 207:case 196:case 195:case 163:{Mk(c[(a&p)>>2]|0,c[(d&p)>>2]|0,1);break}default:{}}return}
11 function mq(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,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,aa=0,ba=0,ca=0,da=0,ea=0,ga=0,ha=0;ha=i;i=i+192|0;if((i|0)>=(j|0))fa();ba=ha+48|0;$=ha+24|0;_=ha+160|0;I=ha+156|0;S=ha+152|0;L=ha+148|0;V=ha+144|0;O=ha+140|0;H=ha+16|0;ea=ha;y=ha+128|0;x=ha+116|0;z=ha+96|0;l=ha+88|0;ga=f+8|0;ca=c[(ga&p)>>2]|0;da=c[(f&p)>>2]|0;c[(ea&p)>>2]=c[9286];c[(ea&p)+4>>2]=c[9287];c[(ea&p)+8>>2]=c[9288];a:do switch(g|0){case 9:{l=c[(f+(da+-1<<4)&p)+16>>2]|0;k=c[(ca&p)>>2]|0;if((Sq(ca,22,37104,0,0)|0)==0?(E=Oq(ca)|0,(E|0)!=0):0){if((l|0)!=7?(F=k+20|0,(c[(F&p)>>2]|0)>0):0){l=(l|0)==9?2:1;k=E+96|0;q=0;do{wh(E,4,q,l,0)|0;c[(k&p)>>2]=c[(k&p)>>2]|1<<q;q=q+1|0}while((q|0)<(c[(F&p)>>2]|0))}wh(E,3,0,0,0)|0}break}case 8:{y=c[(ca&p)>>2]|0;C=y+65|0;if(((a[(C&n)>>0]|0)==0?(a[(ca&n)+18>>0]|0)==0:0)?(Y=ca+64|0,(c[(Y&p)>>2]|0)==0):0){B=Oq(ca)|0;if(B){do{}while((Pq(B,61)|0)!=0);wh(B,24,0,0,0)|0;do if(!(a[(C&n)>>0]|0)){r=ca+332|0;v=c[(r&p)>>2]|0;if((v|0)==0?(c[(ca&p)+316>>2]|0)==0:0)break;s=B+32|0;t=c[(s&p)>>2]|0;if(t)c[((c[(B&p)+4>>2]|0)&p)+8>>2]=t;c[((c[(B&p)+24>>2]|0)&p)+88>>2]=t+-1;w=y+20|0;b:do if((c[(w&p)>>2]|0)>0){h=B+96|0;k=ca+328|0;l=y+16|0;m=y+145|0;q=B+4|0;u=0;while(1){x=1<<u;if(((x&v|0)!=0?(c[(h&p)>>2]=c[(h&p)>>2]|x,ba=c[((c[((c[(l&p)>>2]|0)+(u<<4)&p)+12>>2]|0)&p)+4>>2]|0,xh(B,wh(B,4,u,(c[(k&p)>>2]&x|0)!=0&1,c[(ca+(u<<2)&p)+336>>2]|0)|0,ba,-14),(a[(m&n)>>0]|0)==0):0)?(N=c[(q&p)>>2]|0,(N|0)!=0):0)a[(N+(((c[(s&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=1;u=u+1|0;if((u|0)>=(c[(w&p)>>2]|0))break b;v=c[(r&p)>>2]|0}}while(0);s=ca+452|0;if((c[(s&p)>>2]|0)>0){r=ca+520|0;q=0;do{t=c[((c[((c[(r&p)>>2]|0)+(q<<2)&p)>>2]|0)&p)+60>>2]|0;c:do if(!t)t=0;else while(1){if((c[(t&p)>>2]|0)==(y|0))break c;t=c[(t&p)+24>>2]|0;if(!t){t=0;break}}while(0);xh(B,wh(B,146,0,0,0)|0,t,-10);q=q+1|0}while((q|0)<(c[(s&p)>>2]|0))}c[(s&p)>>2]=0;s=Oq(ca)|0;r=ca+396|0;if((c[(r&p)>>2]|0)>0){q=ca+400|0;m=0;do{$=c[(q&p)>>2]|0;ba=c[($+(m<<4)&p)+12>>2]|0;xh(s,wh(s,145,c[($+(m<<4)&p)>>2]|0,c[($+(m<<4)&p)+4>>2]|0,d[($+(m<<4)&n)+8>>0]|0)|0,ba,-2);m=m+1|0}while((m|0)<(c[(r&p)>>2]|0))}k=c[(ca&p)+8>>2]|0;t=c[(ca&p)+404>>2]|0;if(t){h=(c[(ca&p)>>2]|0)+16|0;u=k+32|0;v=k+4|0;do{r=c[(t&p)+8>>2]|0;s=c[(t&p)+12>>2]|0;Qq(ca,0,r,c[((c[((c[(h&p)>>2]|0)+(r<<4)&p)+12>>2]|0)&p)+72>>2]|0,54);r=s+1|0;wh(k,28,0,s,r)|0;q=c[(u&p)>>2]|0;l=s+-1|0;m=c[(c[(t&p)+4>>2]&p)>>2]|0;xh(k,wh(k,97,0,l,0)|0,m,0);m=q+9|0;wh(k,108,0,m,0)|0;wh(k,47,0,0,s)|0;wh(k,78,l,q+7|0,s)|0;l=c[(v&p)>>2]|0;if(l)a[(l+(((c[(u&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=16;wh(k,103,0,r,0)|0;wh(k,47,0,1,s)|0;wh(k,16,0,m,0)|0;wh(k,9,0,q+2|0,0)|0;wh(k,25,0,s,0)|0;wh(k,61,0,0,0)|0;t=c[(t&p)>>2]|0}while((t|0)!=0)}s=c[(ca&p)+316>>2]|0;if((s|0)!=0?(a[(ca&n)+23>>0]=0,(c[(s&p)>>2]|0)>0):0){r=s+4|0;q=0;do{ba=c[(r&p)>>2]|0;Rq(ca,c[(ba+(q*20|0)&p)>>2]|0,c[(ba+(q*20|0)&p)+16>>2]|0);q=q+1|0}while((q|0)<(c[(s&p)>>2]|0))}wh(B,16,0,1,0)|0}while(0);if((c[(Y&p)>>2]|0)==0?(a[(C&n)>>0]|0)==0:0){if((c[(ca&p)+404>>2]|0)!=0?(Z=ca+68|0,(c[(Z&p)>>2]|0)==0):0)c[(Z&p)>>2]=1;Ah(B,ca);c[(ca&p)+12>>2]=101;a[(ca&n)+16>>0]=0}else aa=48}else aa=48;if((aa|0)==48)c[(ca&p)+12>>2]=1;c[(ca&p)+68>>2]=0;c[(ca&p)+72>>2]=0;c[(ca&p)+76>>2]=0;c[(ca&p)+440>>2]=0;c[(ca&p)+332>>2]=0}break}case 5:{a[(ca&n)+450>>0]=0;c[(ca&p)+440>>2]=0;break}case 6:{a[(ca&n)+450>>0]=1;c[(ca&p)+440>>2]=0;break}case 221:case 218:case 108:case 97:case 85:case 83:case 81:case 68:case 31:case 28:{c[(ea&p)>>2]=0;break}case 27:{a[((c[(ca&p)>>2]|0)&n)+250>>0]=0;aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{c[(ea&p)>>2]=1;break}case 32:{Vq(ca,f+(da+-2<<4)+16|0,f+(da+-1<<4)+16|0,a[(f+(da<<4)&n)+16>>0]|0,0);break}case 33:{ba=f+(da<<4)+16|0;Vq(ca,0,0,0,c[(ba&p)>>2]|0);Mk(c[(ca&p)>>2]|0,c[(ba&p)>>2]|0,1);break}case 34:{a[(ea&n)>>0]=0;break}case 35:{l=c[(f+(da<<4)&p)+20>>2]|0;k=c[(f+(da<<4)&p)+16>>2]|0;if((l|0)==5?(Fc(k,20456,5)|0)==0:0){a[(ea&n)>>0]=32;break a}a[(ea&n)>>0]=0;c[(ba&p)>>2]=l;c[(ba&p)+4>>2]=k;th(ca,20464,ba);break}case 59:{ba=f+(da<<4)+16|0;c[(x&p)>>2]=Zq(ca,97,0,0,ba)|0;ba=c[(ba&p)>>2]|0;c[(x&p)+4>>2]=ba;c[(x&p)+8>>2]=ba+(c[(f+(da<<4)&p)+20>>2]|0);Yq(ca,x);break}case 61:{k=c[(f+(da<<4)&p)+16>>2]|0;l=c[(ca&p)+484>>2]|0;if((l|0)!=0?(v=b[(l&o)+38>>1]|0,v<<16>>16>=1):0)a[((c[(l&p)+4>>2]|0)+(((v<<16>>16)+-1|0)*24|0)&n)+20>>0]=k;break}case 70:{c[(ea&p)>>2]=0;break}case 71:{c[(ea&p)>>2]=c[(f+(da+-1<<4)&p)+16>>2]&~c[(f+(da<<4)&p)+20>>2]|c[(f+(da<<4)&p)+16>>2];break}case 73:case 72:{c[(ea&p)>>2]=0;c[(ea&p)+4>>2]=0;break}case 74:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];c[(ea&p)+4>>2]=255;break}case 76:{c[(ea&p)>>2]=7;break}case 75:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2]<<8;c[(ea&p)+4>>2]=65280;break}case 65:{br(ca,0,f+(da+-2<<4)+16|0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0);break}case 66:{k=c[(f+(da<<4)&p)+16>>2]|0;l=c[(ca&p)+484>>2]|0;if((l|0)!=0?(u=c[(l&p)+16>>2]|0,(u|0)!=0):0)a[(u&n)+24>>0]=k;break}case 67:{q=c[(ca&p)+484>>2]|0;if((q|0)!=0?(D=(b[(q&o)+38>>1]|0)+-1|0,r=c[(ca&p)>>2]|0,m=Wq(r,f+(da<<4)+16|0)|0,(m|0)!=0):0){if(!(cr(ca,m)|0)){mg(r,m);break a}s=q+4|0;mg(r,c[((c[(s&p)>>2]|0)+(D*24|0)&p)+16>>2]|0);c[((c[(s&p)>>2]|0)+(D*24|0)&p)+16>>2]=m;l=c[(q&p)+8>>2]|0;if(l)do{if((b[(c[(l&p)+4>>2]&o)>>1]|0)==(D|0))c[(c[(l&p)+32>>2]&p)>>2]=c[((c[(s&p)>>2]|0)+(D*24|0)&p)+16>>2];l=c[(l&p)+20>>2]|0}while((l|0)!=0)}break}case 13:{c[(ea&p)>>2]=7;break}case 117:case 115:case 16:case 15:case 14:{c[(ea&p)>>2]=d[(f+(da<<4)&n)+14>>0];break}case 46:{ca=c[(f+(da+-3<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ca;c[(ea&p)+4>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0)-ca;break}case 47:{ca=c[(f+(da+-5<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ca;c[(ea&p)+4>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0)-ca;break}case 49:{ca=c[(f+(da+-1<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ca;c[(ea&p)+4>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0)-ca;break}case 92:case 54:{aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ca+320|0;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break}case 57:case 55:{Yq(ca,f+(da<<4)+16|0);break}case 56:{Yq(ca,f+(da+-1<<4)+16|0);break}case 58:{c[(y&p)>>2]=Zq(ca,157,c[(f+(da<<4)&p)+16>>2]|0,0,0)|0;c[(y&p)+4>>2]=c[(f+(da+-1<<4)&p)+16>>2];c[(y&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];Yq(ca,y);break}case 18:case 17:{if((Sq(ca,22,37136,0,0)|0)==0?(B=Oq(ca)|0,(B|0)!=0):0)wh(B,3,1,0,0)|0;break}case 19:{if((Sq(ca,22,37120,0,0)|0)==0?(A=Oq(ca)|0,(A|0)!=0):0)wh(A,3,1,1,0)|0;break}case 22:{Tq(ca,0,f+(da<<4)+16|0);break}case 38:{ba=c[(f+(da+-2<<4)&p)+16>>2]|0;c[(ea&p)>>2]=ba;c[(ea&p)+4>>2]=(c[(ca&p)+504>>2]|0)-ba+(c[(ca&p)+508>>2]|0);break}case 39:{x=f+(da<<4)+16|0;v=c[(ca&p)>>2]|0;k=c[(ca&p)+484>>2]|0;d:do if(k){w=k+38|0;if((b[(w&o)>>1]|0)>=(c[(v&p)+96>>2]|0)){c[(ba&p)>>2]=c[(k&p)>>2];th(ca,36528,ba);break}u=Wq(v,x)|0;if(u){s=b[(w&o)>>1]|0;h=s<<16>>16;e:do if(s<<16>>16>0){t=a[((d[(u&n)>>0]|0)&n)+9328>>0]|0;q=c[(k&p)+4>>2]|0;r=u+1|0;l=0;while(1){m=c[(q+(l*24|0)&p)>>2]|0;if(t<<24>>24==(a[((d[(m&n)>>0]|0)&n)+9328>>0]|0)?(dd(r,m+1|0)|0)==0:0)break;l=l+1|0;if((l|0)>=(h|0))break e}c[(ba&p)>>2]=u;th(ca,36552,ba);mg(v,u);break d}else q=c[(k&p)+4>>2]|0;while(0);r=k+4|0;do if(!(h&7)){q=ro(v,q,(h*24|0)+192|0,0)|0;if(!q){mg(v,u);break d}else{c[(r&p)>>2]=q;s=b[(w&o)>>1]|0;break}}while(0);ba=s<<16>>16;aa=q+(ba*24|0)|0;c[(aa&p)>>2]=0;c[(aa&p)+4>>2]=0;c[(aa&p)+8>>2]=0;c[(aa&p)+12>>2]=0;c[(aa&p)+16>>2]=0;c[(aa&p)+20>>2]=0;c[(aa&p)>>2]=u;a[(q+(ba*24|0)&n)+21>>0]=65;a[(q+(ba*24|0)&n)+22>>0]=1;b[(w&o)>>1]=(b[(w&o)>>1]|0)+1<<16>>16}}while(0);$=x;aa=c[($&p)+4>>2]|0;ba=ea;c[(ba&p)>>2]=c[($&p)>>2];c[(ba&p)+4>>2]=aa;c[(ca&p)+324>>2]=0;break}case 62:{_q(ca,0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0);break}case 63:{$q(ca,0,0,0,0,c[(f+(da<<4)&p)+16>>2]|0,0,0,0,0)|0;break}case 64:{ar(ca,c[(f+(da+-1<<4)&p)+16>>2]|0);break}case 279:case 263:case 262:case 261:case 260:case 259:case 258:case 257:case 256:case 247:case 150:case 141:case 131:case 130:case 48:case 45:case 42:case 41:case 40:{aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break}case 44:{l=f+(da<<4)+16|0;k=c[(ca&p)+484>>2]|0;if((k|0)!=0?(J=b[(k&o)+38>>1]|0,J<<16>>16>=1):0){ba=(J<<16>>16)+-1|0;aa=c[(k&p)+4>>2]|0;ca=Wq(c[(ca&p)>>2]|0,l)|0;c[(aa+(ba*24|0)&p)+12>>2]=ca;a[(aa+(ba*24|0)&n)+21>>0]=Xq(ca,aa+(ba*24|0)+22|0)|0}break}case 226:{l=da+-1|0;k=f+(l<<4)+16|0;r=f+(da<<4)+16|0;q=pr(c[(ca&p)>>2]|0,0,k,r)|0;s=da+-3|0;m=Zq(ca,75,c[(f+(s<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)>>2]=m;if(!m){Do(c[(ca&p)>>2]|0,q);q=0}else{c[(m&p)+20>>2]=kr(ca,0,q,0,0,0,0,0,0,0)|0;q=c[(ea&p)>>2]|0;ba=q+4|0;c[(ba&p)>>2]=c[(ba&p)>>2]|2099200;yr(ca,q)}if(c[(f+(da+-2<<4)&p)+16>>2]|0)c[(ea&p)>>2]=Zq(ca,19,q,0,0)|0;c[(ea&p)+4>>2]=c[(f+(s<<4)&p)+20>>2];h=c[(r&p)>>2]|0;if(!h)h=(c[(k&p)>>2]|0)+(c[(f+(l<<4)&p)+20>>2]|0)|0;else h=h+(c[(f+(da<<4)&p)+20>>2]|0)|0;c[(ea&p)+8>>2]=h;break}case 225:{l=da+-4|0;h=Zq(ca,75,c[(f+(l<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)>>2]=h;if(!h){Mk(c[(ca&p)>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,1);h=0}else{c[(h&p)+20>>2]=c[(f+(da+-1<<4)&p)+16>>2];h=c[(ea&p)>>2]|0;ba=h+4|0;c[(ba&p)>>2]=c[(ba&p)>>2]|2099200;yr(ca,h)}if(c[(f+(da+-3<<4)&p)+16>>2]|0)c[(ea&p)>>2]=Zq(ca,19,h,0,0)|0;c[(ea&p)+4>>2]=c[(f+(l<<4)&p)+20>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 227:{h=Zq(ca,20,0,0,0)|0;c[(ea&p)>>2]=h;if(!h)Mk(c[(ca&p)>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,1);else{c[(h&p)+20>>2]=c[(f+(da+-1<<4)&p)+16>>2];ba=h+4|0;c[(ba&p)>>2]=c[(ba&p)>>2]|2099200;yr(ca,h)}c[(ea&p)+4>>2]=c[(f+(da+-3<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 228:{k=Zq(ca,136,c[(f+(da+-3<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)>>2]=k;if(!k){Nk(c[(ca&p)>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0);Gk(c[(ca&p)>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0)}else{l=c[(f+(da+-1<<4)&p)+16>>2]|0;h=c[(f+(da+-2<<4)&p)+16>>2]|0;if(l)h=lr(ca,h,l)|0;c[(k&p)+20>>2]=h;yr(ca,c[(ea&p)>>2]|0)}c[(ea&p)+4>>2]=c[(f+(da+-4<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 291:case 240:{c[(ea&p)>>2]=2;break}case 241:{c[(ea&p)>>2]=0;break}case 239:{$q(ca,f+(da+-7<<4)+16|0,f+(da+-6<<4)+16|0,pr(c[(ca&p)>>2]|0,0,f+(da+-4<<4)+16|0,0)|0,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da+-10<<4)&p)+16>>2]|0,f+(da+-11<<4)+16|0,c[(f+(da<<4)&p)+16>>2]|0,0,c[(f+(da+-8<<4)&p)+16>>2]|0)|0;break}case 229:{c[(ea&p)>>2]=lr(ca,lr(ca,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0)|0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 230:{c[(ea&p)>>2]=lr(ca,lr(ca,0,c[(f+(da+-2<<4)&p)+16>>2]|0)|0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 237:{c[(ea&p)>>2]=lr(ca,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 238:{c[(ea&p)>>2]=lr(ca,0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 245:{h=lr(ca,0,vr(ca,0,f+(da+-1<<4)+16|0,1)|0)|0;c[(ea&p)>>2]=h;mr(ca,h,f+(da+-2<<4)+16|0,1);if(h){if((c[(h&p)>>2]|0)>(c[((c[(ca&p)>>2]|0)&p)+96>>2]|0)){c[(ba&p)>>2]=20632;th(ca,34544,ba)}a[((c[(h&p)+4>>2]|0)+(((c[(h&p)>>2]|0)+-1|0)*20|0)&n)+12>>0]=c[(f+(da<<4)&p)+16>>2]}break}case 244:{h=vr(ca,0,f+(da+-1<<4)+16|0,1)|0;h=lr(ca,c[(f+(da+-4<<4)&p)+16>>2]|0,h)|0;c[(ea&p)>>2]=h;mr(ca,h,f+(da+-2<<4)+16|0,1);if(h){if((c[(h&p)>>2]|0)>(c[((c[(ca&p)>>2]|0)&p)+96>>2]|0)){c[(ba&p)>>2]=20632;th(ca,34544,ba)}a[((c[(h&p)+4>>2]|0)+(((c[(h&p)>>2]|0)+-1|0)*20|0)&n)+12>>0]=c[(f+(da<<4)&p)+16>>2]}break}case 248:{v=c[(f+(da<<4)&p)+16>>2]|0;s=c[(f+(da+-1<<4)&p)+16>>2]|0;u=c[(ca&p)>>2]|0;do if((a[(u&n)+65>>0]|0)==0?(Gn(ca)|0)==0:0){r=v+12|0;k=bq(u,c[(v&p)+16>>2]|0,c[(r&p)>>2]|0)|0;if(!k){if(!s){c[(ba&p)>>2]=v;c[(ba&p)+4>>2]=0;th(ca,33056,ba)}else zr(ca,c[(r&p)>>2]|0);a[(ca&n)+17>>0]=1;break}if(a[(k&n)+51>>0]&3){c[(ba&p)>>2]=0;th(ca,33080,ba);break}s=c[(k&p)+24>>2]|0;f:do if(s){r=c[(u&p)+20>>2]|0;if((r|0)>0){q=c[(u&p)+16>>2]|0;t=0;while(1){m=t+1|0;if((c[(q+(t<<4)&p)+12>>2]|0)==(s|0)){m=t;break f}if((m|0)<(r|0))t=m;else break}}else m=0}else m=-1e6;while(0);s=c[(k&p)+12>>2]|0;r=u+16|0;q=c[((c[(r&p)>>2]|0)+(m<<4)&p)>>2]|0;l=(m|0)==1?13184:13208;if(((Sq(ca,9,l,0,q)|0)==0?(Sq(ca,(m|0)==0?10:12,c[(k&p)>>2]|0,c[(s&p)>>2]|0,q)|0)==0:0)?(K=Oq(ca)|0,(K|0)!=0):0){aa=c[(ca&p)+408>>2]|0;aa=(aa|0)==0?ca:aa;Ar(ca,m);$=aa+328|0;c[($&p)>>2]=c[($&p)>>2]|1<<m;aa=aa+20|0;a[(aa&n)>>0]=d[(aa&n)>>0]|1;aa=c[(k&p)>>2]|0;c[(ba&p)>>2]=c[((c[(r&p)>>2]|0)+(m<<4)&p)>>2];c[(ba&p)+4>>2]=l;c[(ba&p)+8>>2]=aa;Br(ca,33160,ba);Cr(ca,m,28536,c[(k&p)>>2]|0);Dr(ca,m);Er(ca,c[(k&p)+40>>2]|0,m);ca=c[(k&p)>>2]|0;xh(K,wh(K,125,m,0,0)|0,ca,0)}}while(0);Do(u,v);break}case 246:{c[(ea&p)>>2]=0;c[(ea&p)+4>>2]=0;break}case 250:case 249:{h=Oq(ca)|0;if(h){wh(h,13,0,0,0)|0;ca=h+96|0;c[(ca&p)>>2]=c[(ca&p)>>2]|1}break}case 251:{Fr(ca,f+(da+-1<<4)+16|0,f+(da<<4)+16|0,0,0);break}case 252:{Fr(ca,f+(da+-3<<4)+16|0,f+(da+-2<<4)+16|0,f+(da<<4)+16|0,0);break}case 253:{Fr(ca,f+(da+-4<<4)+16|0,f+(da+-3<<4)+16|0,f+(da+-1<<4)+16|0,0);break}case 254:{Fr(ca,f+(da+-3<<4)+16|0,f+(da+-2<<4)+16|0,f+(da<<4)+16|0,1);break}case 255:{Fr(ca,f+(da+-4<<4)+16|0,f+(da+-3<<4)+16|0,f+(da+-1<<4)+16|0,1);break}case 264:{h=c[(f+(da+-3<<4)&p)+16>>2]|0;l=(c[(f+(da<<4)&p)+16>>2]|0)-h+(c[(f+(da<<4)&p)+20>>2]|0)|0;k=c[(f+(da+-1<<4)&p)+16>>2]|0;aa=ca+488|0;z=c[(aa&p)>>2]|0;A=c[(ca&p)>>2]|0;c[(aa&p)>>2]=0;g:do if((c[(ca&p)+64>>2]|0)==0&(z|0)!=0){y=c[(z&p)>>2]|0;m=z+20|0;v=c[(m&p)>>2]|0;h:do if(v){u=c[(A&p)+20>>2]|0;if((u|0)>0){s=c[(A&p)+16>>2]|0;q=0;while(1){r=q+1|0;if((c[(s+(q<<4)&p)+12>>2]|0)==(v|0))break h;if((r|0)<(u|0))q=r;else{q=r;break}}}else q=0}else q=-1e6;while(0);c[(z&p)+28>>2]=k;x=(k|0)==0;if(!x){s=k;do{c[(s&p)+4>>2]=z;s=c[(s&p)+32>>2]|0}while((s|0)!=0)}c[(_&p)>>2]=y;if(!y)s=0;else{s=y;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;s=s-y&1073741823}c[(_&p)+4>>2]=s;c[($&p)>>2]=ca;w=A+16|0;v=c[(w&p)>>2]|0;c[($&p)+12>>2]=c[(v+(q<<4)&p)>>2];c[($&p)+4>>2]=c[(v+(q<<4)&p)+12>>2];c[($&p)+16>>2]=10720;c[($&p)+20>>2]=_;v=(q|0)==1;c[($&p)+8>>2]=v&1;if(!x)do{if(fr($,c[(k&p)+8>>2]|0)|0){k=0;l=z;break g}if(Gr($,c[(k&p)+20>>2]|0)|0){k=0;l=z;break g}if(Hr($,c[(k&p)+24>>2]|0)|0){k=0;l=z;break g}k=c[(k&p)+32>>2]|0}while((k|0)!=0);if(!(Gr($,c[(z&p)+12>>2]|0)|0)){s=A+145|0;if(!(a[(s&n)>>0]|0)){r=Oq(ca)|0;if(!r){k=0;l=z;break}aa=c[(ca&p)+408>>2]|0;Ar(ca,q);aa=((aa|0)==0?ca:aa)+328|0;c[(aa&p)>>2]=c[(aa&p)>>2]|1<<q;if((h|0)!=0?(t=jw(l|0,0,1,0)|0,t=mh(A,t,G)|0,(t|0)!=0):0){kw(t|0,h|0,l|0)|0;a[(t+l&n)>>0]=0}else t=0;aa=c[(z&p)+4>>2]|0;c[(ba&p)>>2]=c[((c[(w&p)>>2]|0)+(q<<4)&p)>>2];c[(ba&p)+4>>2]=v?13184:13208;c[(ba&p)+8>>2]=y;c[(ba&p)+12>>2]=aa;c[(ba&p)+16>>2]=t;Br(ca,30008,ba);mg(A,t);Dr(ca,q);c[(ba&p)>>2]=y;Ir(r,q,uh(A,30072,ba)|0);if(!(a[(s&n)>>0]|0)){k=0;l=z;break}}l=Ik((c[((c[(w&p)>>2]|0)+(q<<4)&p)+12>>2]|0)+40|0,y,z)|0;if(l){a[(A&n)+65>>0]=1;k=0;break}k=c[(m&p)>>2]|0;if((k|0)==(c[(z&p)+24>>2]|0)){k=bn(k+8|0,c[(z&p)+4>>2]|0,ba)|0;if(!k)k=0;else k=c[(k&p)+8>>2]|0;k=k+64|0;c[(z&p)+32>>2]=c[(k&p)>>2];c[(k&p)>>2]=z;k=0}else k=0}else{k=0;l=z}}else l=z;while(0);jg(A,l);Fk(A,k);break}case 265:{D=f+(da+-7<<4)+16|0;C=da+-6|0;E=f+(C<<4)+16|0;r=c[(f+(da+-5<<4)&p)+16>>2]|0;F=da+-4|0;B=c[(f+(F<<4)&p)+16>>2]|0;F=c[(f+(F<<4)&p)+20>>2]|0;H=c[(f+(da+-2<<4)&p)+16>>2]|0;I=c[(f+(da<<4)&p)+16>>2]|0;k=c[(f+(da+-8<<4)&p)+16>>2]|0;J=c[(ca&p)>>2]|0;z=(c[(f+(da+-10<<4)&p)+16>>2]|0)!=0;do if(z)if(!(c[(f+(C<<4)&p)+20>>2]|0)){c[($&p)>>2]=D;if(!H){s=0;t=0;break}else{v=1;aa=483;break}}else{th(ca,29664,ba);s=0;t=0;break}else{v=er(ca,D,E,$)|0;if((v|0)>-1&(H|0)!=0)aa=483;else{s=0;t=0}}while(0);do if((aa|0)==483){h=J+65|0;if(!(a[(h&n)>>0]|0)){x=J+145|0;if((a[(x&n)>>0]|0)!=0&(v|0)!=1){aa=H+12|0;mg(J,c[(aa&p)>>2]|0);c[(aa&p)>>2]=0}w=Jr(ca,H)|0;if((a[(x&n)>>0]|0)==0?((w|0)!=0?(c[(f+(C<<4)&p)+20>>2]|0)==0:0):0)v=(c[(w&p)+68>>2]|0)==(c[((c[(J&p)+16>>2]|0)&p)+28>>2]|0)?1:v;if((a[(h&n)>>0]|0)==0?(R=c[($&p)>>2]|0,aa=c[(ca&p)>>2]|0,c[(_&p)>>2]=ca,aa=c[(aa&p)+16>>2]|0,c[(_&p)+12>>2]=c[(aa+(v<<4)&p)>>2],c[(_&p)+4>>2]=c[(aa+(v<<4)&p)+12>>2],c[(_&p)+16>>2]=10720,c[(_&p)+20>>2]=R,c[(_&p)+8>>2]=(v|0)==1&1,(Kr(_,H)|0)==0):0){x=Jr(ca,H)|0;if(!x){if((a[(J&n)+144>>0]|0)!=1){s=0;t=0;break}a[(J&n)+146>>0]=1;s=0;t=0;break}if(a[(x&n)+44>>0]&16){th(ca,29712,ba);s=0;t=0;break}t=Wq(J,R)|0;if(t)if(!(Lr(ca,t)|0)){A=J+16|0;aa=bn((c[((c[(A&p)>>2]|0)+(v<<4)&p)+12>>2]|0)+40|0,t,S)|0;if((aa|0)!=0?(c[(aa&p)+8>>2]|0)!=0:0)if(!k){c[(ba&p)>>2]=R;th(ca,29760,ba);s=0;break}else{Ar(ca,v);s=0;break}y=c[(x&p)>>2]|0;if(!(Fc(y,25568,7)|0)){th(ca,29792,ba);s=ca+64|0;c[(s&p)>>2]=(c[(s&p)>>2]|0)+1;s=0;break}u=c[(x&p)+12>>2]|0;if((u|0)!=0&(r|0)!=49){c[(ba&p)>>2]=(r|0)==35?29872:29880;c[(ba&p)+4>>2]=H;c[(ba&p)+8>>2]=0;th(ca,29832,ba);s=0;break}q=(r|0)==49;if((u|0)==0&q){c[(ba&p)>>2]=H;c[(ba&p)+4>>2]=0;th(ca,29888,ba);s=0;break}m=x+68|0;x=c[(m&p)>>2]|0;i:do if(x){w=c[(J&p)+20>>2]|0;if((w|0)>0){k=c[(A&p)>>2]|0;l=0;while(1){h=l+1|0;if((c[(k+(l<<4)&p)+12>>2]|0)==(x|0)){h=l;break i}if((h|0)<(w|0))l=h;else break}}else h=0}else h=-1e6;while(0);x=c[(A&p)>>2]|0;k=c[(x+(h<<4)&p)>>2]|0;if(z)w=c[(x&p)+16>>2]|0;else w=k;x=(h|0)==1;if((Sq(ca,x|z?5:7,t,y,w)|0)==0?(Sq(ca,18,x?13184:13208,0,k)|0)==0:0){s=mh(J,36,0)|0;if(!s){s=0;break}y=s+0|0;k=y+36|0;do{a[(y&n)>>0]=0;y=y+1|0}while((y|0)<(k|0));c[(s&p)>>2]=t;c[(s&p)+4>>2]=kh(J,c[(H&p)+16>>2]|0)|0;c[(s&p)+20>>2]=c[((c[(A&p)>>2]|0)+(v<<4)&p)+12>>2];c[(s&p)+24>>2]=c[(m&p)>>2];a[(s&n)+8>>0]=B;a[(s&n)+9>>0]=q|(r|0)==35?1:2;c[(s&p)+12>>2]=Mr(J,I,1,0)|0;c[(s&p)+16>>2]=Nr(J,F)|0;c[(ca&p)+488>>2]=s;t=0}else s=0}else s=0;else{s=0;t=0}}else{s=0;t=0}}else{s=0;t=0}}while(0);mg(J,t);Do(J,H);Hk(J,F);Gk(J,I);if(!(c[(ca&p)+488>>2]|0))jg(J,s);if(!(c[(f+(C<<4)&p)+20>>2]|0)){aa=D;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break a}else{aa=E;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break a}}case 269:case 266:{c[(ea&p)>>2]=35;break}case 267:{c[(ea&p)>>2]=31;break}case 268:{c[(ea&p)>>2]=49;break}case 284:{l=c[(ca&p)>>2]|0;k=c[(f+(da+-1<<4)&p)+16>>2]|0;h=c[(f+(da<<4)&p)+16>>2]|0;m=a[(f+(da+-5<<4)&n)+16>>0]|0;q=Or(l,110,f+(da+-4<<4)+16|0)|0;if(q){c[(q&p)+24>>2]=Pr(l,k,1)|0;c[(q&p)+20>>2]=Mr(l,h,1,0)|0;a[(q&n)+1>>0]=m}Nk(l,k);Gk(l,h);c[(ea&p)>>2]=q;break}case 271:case 270:{c[(ea&p)>>2]=d[(f+(da<<4)&n)+14>>0];c[(ea&p)+4>>2]=0;break}case 272:{c[(ea&p)>>2]=110;c[(ea&p)+4>>2]=c[(f+(da<<4)&p)+16>>2];break}case 296:case 275:{c[(ea&p)>>2]=0;break}case 297:case 276:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 277:{ba=f+(da+-1<<4)+16|0;ca=f+(da+-2<<4)+16|0;c[((c[((c[(ca&p)>>2]|0)&p)+36>>2]|0)&p)+32>>2]=c[(ba&p)>>2];c[((c[(ca&p)>>2]|0)&p)+36>>2]=c[(ba&p)>>2];c[(ea&p)>>2]=c[(ca&p)>>2];break}case 278:{ca=f+(da+-1<<4)+16|0;ba=c[(ca&p)>>2]|0;c[(ba&p)+36>>2]=ba;c[(ea&p)>>2]=c[(ca&p)>>2];break}case 282:{th(ca,20736,ba);break}case 280:{_=f+(da<<4)+16|0;$=c[(_&p)+4>>2]|0;aa=ea;c[(aa&p)>>2]=c[(_&p)>>2];c[(aa&p)+4>>2]=$;th(ca,20640,ba);break}case 283:{th(ca,20824,ba);break}case 286:{h=c[(ca&p)>>2]|0;k=c[(f+(da<<4)&p)+16>>2]|0;l=Or(h,109,f+(da+-2<<4)+16|0)|0;if(l){c[(l&p)+20>>2]=Mr(h,k,1,0)|0;a[(l&n)+1>>0]=10}Gk(h,k);c[(ea&p)>>2]=l;break}case 287:{l=c[(ca&p)>>2]|0;q=c[(f+(da<<4)&p)+16>>2]|0;h=mh(l,40,0)|0;if(!h){Mk(l,q,1);h=0}else{y=h+0|0;k=y+40|0;do{a[(y&n)>>0]=0;y=y+1|0}while((y|0)<(k|0));a[(h&n)>>0]=119;c[(h&p)+8>>2]=q;a[(h&n)+1>>0]=10}c[(ea&p)>>2]=h;break}case 285:{q=c[(ca&p)>>2]|0;m=c[(f+(da+-1<<4)&p)+16>>2]|0;l=c[(f+(da<<4)&p)+16>>2]|0;k=a[(f+(da+-4<<4)&n)+16>>0]|0;h=Or(q,108,f+(da+-2<<4)+16|0)|0;if(!h)Hk(q,m);else{c[(h&p)+8>>2]=gr(q,l,1)|0;c[(h&p)+28>>2]=m;a[(h&n)+1>>0]=k}Mk(q,l,1);c[(ea&p)>>2]=h;break}case 288:{h=Zq(ca,57,0,0,0)|0;c[(ea&p)>>2]=h;if(h)a[(h&n)+1>>0]=4;c[(ea&p)+4>>2]=c[(f+(da+-3<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 289:{h=Zq(ca,57,0,0,f+(da+-1<<4)+16|0)|0;c[(ea&p)>>2]=h;if(h)a[(h&n)+1>>0]=c[(f+(da+-3<<4)&p)+16>>2];c[(ea&p)+4>>2]=c[(f+(da+-5<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 290:{c[(ea&p)>>2]=1;break}case 292:{c[(ea&p)>>2]=3;break}case 293:{k=c[(f+(da<<4)&p)+16>>2]|0;h=c[(f+(da+-1<<4)&p)+16>>2]|0;w=c[(ca&p)>>2]|0;do if((a[(w&n)+65>>0]|0)==0?(Gn(ca)|0)==0:0){x=c[(k&p)+12>>2]|0;v=c[(k&p)+16>>2]|0;u=w+20|0;if((c[(u&p)>>2]|0)>0){q=(x|0)==0;m=w+16|0;l=0;s=0;do{r=(l|0)<2^l;t=c[(m&p)>>2]|0;if(!(!q?(dd(c[(t+(r<<4)&p)>>2]|0,x)|0)!=0:0)){t=bn((c[(t+(r<<4)&p)+12>>2]|0)+40|0,v,L)|0;if(t){s=c[(t&p)+8>>2]|0;if(s)break}else s=0}l=l+1|0}while((l|0)<(c[(u&p)>>2]|0));if(s){Qr(ca,s);break}}if(!h){c[(ba&p)>>2]=k;c[(ba&p)+4>>2]=0;th(ca,29600,ba)}else zr(ca,x);a[(ca&n)+17>>0]=1}while(0);Do(w,k);break}case 294:{ba=c[(f+(da+-3<<4)&p)+16>>2]|0;Rr(ca,24,29360,ba,ba,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0);break}case 303:{Tr(ca,f+(da+-1<<4)+16|0,f+(da<<4)+16|0);break}case 304:{z=c[(f+(da+-3<<4)&p)+16>>2]|0;x=f+(da<<4)+16|0;y=c[(ca&p)>>2]|0;k=y+24|0;l=c[(k&p)>>2]|0;do if((a[(y&n)+65>>0]|0)==0?(X=Ur(ca,0,z+8|0)|0,(X|0)!=0):0){t=c[(ca&p)>>2]|0;A=X+68|0;v=c[(A&p)>>2]|0;j:do if(v){u=c[(t&p)+20>>2]|0;if((u|0)>0){t=c[(t&p)+16>>2]|0;r=0;while(1){s=r+1|0;if((c[(t+(r<<4)&p)+12>>2]|0)==(v|0)){s=r;break j}if((s|0)<(u|0))r=s;else break}}else s=0}else s=-1e6;while(0);h=c[((c[(y&p)+16>>2]|0)+(s<<4)&p)>>2]|0;c[(k&p)>>2]=c[(k&p)>>2]|2097152;q=Wq(y,x)|0;if(q){if((_h(y,q,h)|0)==0?(bq(y,q,h)|0)==0:0){if(Vr(ca,c[(X&p)>>2]|0)|0)break;if(Lr(ca,q)|0)break;t=c[(X&p)>>2]|0;if(c[(X&p)+12>>2]|0){c[(ba&p)>>2]=t;th(ca,26088,ba);break}if(Sq(ca,26,h,t,0)|0)break;if(hr(ca,X)|0)break;if(!(a[(X&n)+44>>0]&16))m=0;else{t=c[(X&p)+60>>2]|0;k:do if(!t)t=0;else while(1){if((c[(t&p)>>2]|0)==(y|0))break k;t=c[(t&p)+24>>2]|0;if(!t){t=0;break}}while(0);m=(c[((c[(c[(t&p)+8>>2]&p)>>2]|0)&p)+76>>2]|0)==0?0:t}t=Oq(ca)|0;if(!t)break;aa=(m|0)!=0;r=ca+408|0;$=c[(r&p)>>2]|0;$=($|0)==0?ca:$;Ar(ca,s);_=$+328|0;c[(_&p)>>2]=c[(_&p)>>2]|1<<s;$=$+20|0;a[($&n)>>0]=d[($&n)>>0]|aa&1;Dr(ca,s);if(aa){$=ca+72|0;aa=(c[($&p)>>2]|0)+1|0;c[($&p)>>2]=aa;xh(t,wh(t,97,0,aa,0)|0,q,0);xh(t,wh(t,152,aa,0,0)|0,m,-10);aa=c[(r&p)>>2]|0;a[(((aa|0)==0?ca:aa)&n)+21>>0]=1}x=c[(X&p)>>2]|0;w=Nn(x,-1)|0;do if((c[(k&p)>>2]&524288|0)!=0?(T=bn((c[(A&p)>>2]|0)+56|0,x,V)|0,(T|0)!=0):0){t=c[(T&p)+8>>2]|0;if(!t)break;r=t;t=0;do{t=Wr(c[(ca&p)>>2]|0,t,c[(c[(r&p)>>2]&p)>>2]|0)|0;r=c[(r&p)+12>>2]|0}while((r|0)!=0);if(!t)break;c[(ba&p)>>2]=h;c[(ba&p)+4>>2]=(s|0)==1?13184:13208;c[(ba&p)+8>>2]=x;c[(ba&p)+12>>2]=q;c[(ba&p)+16>>2]=t;Br(ca,26120,ba);mg(y,t)}while(0);c[(ba&p)>>2]=h;c[(ba&p)+4>>2]=(s|0)==1?13184:13208;c[(ba&p)+8>>2]=q;c[(ba&p)+12>>2]=q;c[(ba&p)+16>>2]=q;c[(ba&p)+20>>2]=q;c[(ba&p)+24>>2]=q;c[(ba&p)+28>>2]=w;c[(ba&p)+32>>2]=x;Br(ca,26192,ba);if(_h(y,26576,h)|0){aa=c[(X&p)>>2]|0;c[(ba&p)>>2]=h;c[(ba&p)+4>>2]=q;c[(ba&p)+8>>2]=aa;Br(ca,26592,ba)}s=Xr(ca,X)|0;if(s){c[(ba&p)>>2]=q;c[(ba&p)+4>>2]=q;c[(ba&p)+8>>2]=s;Br(ca,26656,ba);mg(y,s)}do if(c[(k&p)>>2]&524288){s=bn((c[(A&p)>>2]|0)+56|0,c[(X&p)>>2]|0,ba)|0;if(!s)break;s=c[(s&p)+8>>2]|0;if(!s)break;do{r=c[(s&p)>>2]|0;if((r|0)!=(X|0))Yr(ca,r,c[(r&p)>>2]|0);s=c[(s&p)+12>>2]|0}while((s|0)!=0)}while(0);Yr(ca,X,q);break}c[(ba&p)>>2]=q;th(ca,26024,ba)}else q=0}else q=0;while(0);Do(y,z);mg(y,q);c[(k&p)>>2]=l;break}case 295:{ba=c[(f+(da<<4)&p)+16>>2]|0;Rr(ca,25,29176,ba,0,0,ba);break}case 300:{Sr(ca,0,0);break}case 302:{Tr(ca,0,0);break}case 301:{Sr(ca,f+(da+-1<<4)+16|0,f+(da<<4)+16|0);break}case 305:{y=c[(ca&p)>>2]|0;if((c[(ca&p)+64>>2]|0)==0?(M=y+65|0,(a[(M&n)>>0]|0)==0):0){l=c[(ca&p)+484>>2]|0;t=c[(l&p)+68>>2]|0;l:do if(t){s=c[(y&p)+20>>2]|0;if((s|0)>0){r=c[(y&p)+16>>2]|0;m=0;while(1){q=m+1|0;if((c[(r+(m<<4)&p)+12>>2]|0)==(t|0)){A=m;break l}if((q|0)<(s|0))m=q;else{A=q;break}}}else A=0}else A=-1e6;while(0);h=c[((c[(y&p)+16>>2]|0)+(A<<4)&p)>>2]|0;k=(c[(l&p)>>2]|0)+16|0;u=(b[(l&o)+38>>1]|0)+-1|0;s=c[(l&p)+4>>2]|0;t=c[(s+(u*24|0)&p)+4>>2]|0;z=_h(y,k,h)|0;if(!(Sq(ca,26,h,c[(z&p)>>2]|0,0)|0)){if(!t)v=0;else v=(a[(t&n)>>0]|0)==101?0:t;if(a[(s+(u*24|0)&n)+23>>0]&1){th(ca,25608,ba);break a}if(c[(l&p)+8>>2]|0){th(ca,25640,ba);break a}x=y+24|0;if((c[(x&p)>>2]&524288|0)!=0?(c[(l&p)+16>>2]|0)!=0&(v|0)!=0:0){th(ca,25672,ba);break a}w=(v|0)!=0;if(!((a[(s+(u*24|0)&n)+20>>0]|0)==0|w)){th(ca,25736,ba);break a}do if(w){c[(O&p)>>2]=0;if(Zr(y,v,1,65,O)|0){a[(M&n)>>0]=1;break a}t=c[(O&p)>>2]|0;if(!t){th(ca,25792,ba);break a}else{Mh(t);break}}while(0);t=c[(f+(da<<4)&p)+16>>2]|0;s=f+(da<<4)+20|0;r=c[(s&p)>>2]|0;if((t|0)!=0?(U=jw(r|0,0,1,0)|0,U=mh(y,U,G)|0,(U|0)!=0):0){kw(U|0,t|0,r|0)|0;a[(U+r&n)>>0]=0;t=(c[(s&p)>>2]|0)+-1|0;s=c[(x&p)>>2]|0;m:do if((t|0)>0){t=U+t|0;do{$=a[(t&n)>>0]|0;if($<<24>>24!=59?(a[($&255&n)+10368>>0]&1)==0:0)break m;a[(t&n)>>0]=0;t=t+-1|0}while(t>>>0>U>>>0)}while(0);c[(x&p)>>2]=c[(x&p)>>2]|2097152;$=c[(l&p)+48>>2]|0;c[(ba&p)>>2]=h;c[(ba&p)+4>>2]=(A|0)==1?13184:13208;c[(ba&p)+8>>2]=$;c[(ba&p)+12>>2]=U;c[(ba&p)+16>>2]=$+1;c[(ba&p)+20>>2]=k;Br(ca,25840,ba);mg(y,U);c[(x&p)>>2]=s}t=w?3:2;v=Oq(ca)|0;if(v){s=ca+19|0;q=a[(s&n)>>0]|0;do if(q<<24>>24){ba=q+-1<<24>>24;a[(s&n)>>0]=ba;r=c[(ca+((ba&255)<<2)&p)+24>>2]|0;if(!(ba<<24>>24)){s=c[(ca&p)+72>>2]|0;aa=663;break}else{k=q+-2<<24>>24;a[(s&n)>>0]=k;k=c[(ca+((k&255)<<2)&p)+24>>2]|0;break}}else{r=ca+72|0;s=(c[(r&p)>>2]|0)+1|0;c[(r&p)>>2]=s;r=s;aa=663}while(0);if((aa|0)==663){k=s+1|0;c[(ca&p)+72>>2]=k}wh(v,51,A,r,2)|0;m=v+96|0;c[(m&p)>>2]=c[(m&p)>>2]|1<<A;wh(v,25,t,k,0)|0;m=wh(v,83,k,0,r)|0;l=v+4|0;q=c[(l&p)>>2]|0;s=v+32|0;if(q)a[(q+(((c[(s&p)>>2]|0)+-1|0)*20|0)&n)+3>>0]=-112;wh(v,52,A,2,k)|0;s=c[(s&p)>>2]|0;if(s>>>0>m>>>0)c[((c[(l&p)>>2]|0)+(m*20|0)&p)+8>>2]=s;c[((c[(v&p)+24>>2]|0)&p)+88>>2]=s+-1;_r(ca,r);_r(ca,k)}Yr(ca,z,c[(z&p)>>2]|0)}}break}case 306:{w=c[(ca&p)>>2]|0;a[(w&n)+250>>0]=0;h=c[(f+(da<<4)&p)+16>>2]|0;x=w+65|0;do if((a[(x&n)>>0]|0)==0?(Q=Ur(ca,0,h+8|0)|0,(Q|0)!=0):0){if(a[(Q&n)+44>>0]&16){th(ca,25400,ba);break}if(c[(Q&p)+12>>2]|0){th(ca,25440,ba);break}if(!(Vr(ca,c[(Q&p)>>2]|0)|0)){s=c[(Q&p)+68>>2]|0;n:do if(s){r=c[(w&p)+20>>2]|0;if((r|0)>0){q=c[(w&p)+16>>2]|0;t=0;while(1){m=t+1|0;if((c[(q+(t<<4)&p)+12>>2]|0)==(s|0)){m=t;break n}if((m|0)<(r|0))t=m;else break}}else m=0}else m=-1e6;while(0);v=mh(w,76,0)|0;if(v){y=v+0|0;k=y+76|0;do{a[(y&n)>>0]=0;y=y+1|0}while((y|0)<(k|0));c[(ca&p)+484>>2]=v;r=v+40|0;b[(r&o)>>1]=1;t=b[(Q&o)+38>>1]|0;q=v+38|0;b[(q&o)>>1]=t;t=((((t<<16>>16)+-1|0)/8|0)*192|0)+192|0;s=mh(w,t,0)|0;if(s)fw(s|0,0,t|0)|0;t=v+4|0;c[(t&p)>>2]=s;c[(ba&p)>>2]=c[(Q&p)>>2];ba=uh(w,25472,ba)|0;c[(v&p)>>2]=ba;s=c[(t&p)>>2]|0;if((s|0)==0|(ba|0)==0){a[(x&n)>>0]=1;break}kw(s|0,c[(Q&p)+4>>2]|0,(b[(q&o)>>1]|0)*24|0)|0;if((b[(q&o)>>1]|0)>0){s=0;do{ba=c[(t&p)>>2]|0;aa=ba+(s*24|0)|0;c[(aa&p)>>2]=kh(w,c[(aa&p)>>2]|0)|0;ba=ba+(s*24|0)+4|0;s=s+1|0;c[(ba&p)>>2]=0;c[(ba&p)+4>>2]=0;c[(ba&p)+8>>2]=0;c[(ba&p)+12>>2]=0}while((s|0)<(b[(q&o)>>1]|0))}c[(v&p)+68>>2]=c[((c[(w&p)+16>>2]|0)+(m<<4)&p)+12>>2];c[(v&p)+48>>2]=c[(Q&p)+48>>2];b[(r&o)>>1]=1;ba=c[(ca&p)+408>>2]|0;Ar(ca,m);ba=((ba|0)==0?ca:ba)+328|0;c[(ba&p)>>2]=c[(ba&p)>>2]|1<<m;if(Oq(ca)|0)Dr(ca,m)}}}while(0);Do(w,h);break}case 309:{$r(ca,0);break}case 310:{$r(ca,f+(da<<4)+16|0);break}case 311:{k=f+(da<<4)+16|0;Uq(ca,f+(da+-3<<4)+16|0,f+(da+-2<<4)+16|0,0,0,1,c[(f+(da+-4<<4)&p)+16>>2]|0);t=c[(ca&p)+484>>2]|0;if(t){h=c[(ca&p)>>2]|0;s=c[(t&p)+68>>2]|0;o:do if(s){r=c[(h&p)+20>>2]|0;if((r|0)>0){m=c[(h&p)+16>>2]|0;l=0;while(1){q=l+1|0;if((c[(m+(l<<4)&p)+12>>2]|0)==(s|0)){q=l;break o}if((q|0)<(r|0))l=q;else break}}else q=0}else q=-1e6;while(0);l=t+44|0;a[(l&n)>>0]=d[(l&n)>>0]|16;c[(t&p)+52>>2]=0;as(h,t,Wq(h,k)|0);as(h,t,0);as(h,t,kh(h,c[(t&p)>>2]|0)|0);c[(ca&p)+500>>2]=(c[(k&p)>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0)-(c[(ca&p)+496>>2]|0);l=c[(t&p)+56>>2]|0;if(l)Sq(ca,29,c[(t&p)>>2]|0,c[(l&p)>>2]|0,c[((c[((c[(ca&p)>>2]|0)&p)+16>>2]|0)+(q<<4)&p)>>2]|0)|0}break}case 322:{c[(ea&p)>>2]=0;break}case 324:case 323:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 325:{c[(ea&p)>>2]=cs(ca,0,f+(da+-5<<4)+16|0,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0)|0;break}case 326:{c[(ea&p)>>2]=cs(ca,c[(f+(da+-7<<4)&p)+16>>2]|0,f+(da+-5<<4)+16|0,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0)|0;break}case 314:{bs(ca);c[(ca&p)+512>>2]=0;c[(ca&p)+516>>2]=0;break}case 318:case 317:case 316:{l=ca+512|0;k=c[(l&p)>>2]|0;h=c[(f+(da<<4)&p)+16>>2]|0;if(!k){c[(l&p)>>2]=h;h=c[(f+(da<<4)&p)+20>>2]|0}else h=h+(c[(f+(da<<4)&p)+20>>2]|0)-k|0;c[(ca&p)+516>>2]=h;break}case 77:{c[(ea&p)>>2]=8;break}case 78:{c[(ea&p)>>2]=9;break}case 79:{c[(ea&p)>>2]=6;break}case 80:{c[(ea&p)>>2]=0;break}case 103:case 100:case 98:case 82:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 86:{c[(ea&p)+4>>2]=0;c[(ea&p)>>2]=0;break}case 87:{aa=f+(da+-1<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;break}case 90:{c[(ca&p)+324>>2]=0;break}case 109:{h=da+-7|0;r=f+(da+-3<<4)+16|0;q=f+(da+-2<<4)+16|0;x=c[(f+(da<<4)&p)+16>>2]|0;t=c[(f+(da+-6<<4)&p)+16>>2]|0;s=c[(f+(da+-4<<4)&p)+16>>2]|0;c[(I&p)>>2]=0;w=c[(ca&p)>>2]|0;if((c[(ca&p)+440>>2]|0)>0){th(ca,35440,ba);Mk(w,x,1);break a}Uq(ca,r,q,t,1,0,s);l=c[(ca&p)+484>>2]|0;if((l|0)!=0?(c[(ca&p)+64>>2]|0)==0:0){er(ca,r,q,I)|0;t=c[(l&p)+68>>2]|0;p:do if(t){r=c[(w&p)+20>>2]|0;if((r|0)>0){q=c[(w&p)+16>>2]|0;m=0;while(1){s=m+1|0;if((c[(q+(m<<4)&p)+12>>2]|0)==(t|0)){s=m;break p}if((s|0)<(r|0))m=s;else break}}else s=0}else s=-1e6;while(0);ba=c[(I&p)>>2]|0;aa=c[(ca&p)>>2]|0;c[(_&p)>>2]=ca;aa=c[(aa&p)+16>>2]|0;c[(_&p)+12>>2]=c[(aa+(s<<4)&p)>>2];c[(_&p)+4>>2]=c[(aa+(s<<4)&p)+12>>2];c[(_&p)+16>>2]=35480;c[(_&p)+20>>2]=ba;c[(_&p)+8>>2]=(s|0)==1&1;if(fr(_,x)|0){Mk(w,x,1);break a}c[(l&p)+12>>2]=gr(w,x,1)|0;Mk(w,x,1);if(a[(w&n)+65>>0]|0)break a;if(!(a[(w&n)+145>>0]|0))hr(ca,l)|0;q=ca+504|0;m=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;ba=$;c[(ba&p)>>2]=m;c[(ba&p)+4>>2]=q;ba=a[(m&n)>>0]|0;if(!(ba<<24>>24==59|ba<<24>>24==0)){m=m+q|0;c[($&p)>>2]=m}r=$+4|0;c[(r&p)>>2]=0;s=c[(f+(h<<4)&p)+16>>2]|0;q=m-s|0;do{ba=q;q=q+-1|0;l=s+q|0;if((ba|0)<=0)break}while((a[((d[(l&n)>>0]|0)&n)+10368>>0]&1)!=0);c[($&p)>>2]=l;c[(r&p)>>2]=1;Vq(ca,0,$,0,0);break a}Mk(w,x,1);break}case 93:{_q(ca,c[(f+(da+-3<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0,0);break}case 94:{$q(ca,0,0,0,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0,0,0,0,0)|0;break}case 95:{ar(ca,c[(f+(da+-2<<4)&p)+16>>2]|0);break}case 96:{br(ca,c[(f+(da+-6<<4)&p)+16>>2]|0,f+(da+-3<<4)+16|0,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0);k=c[(f+(da<<4)&p)+16>>2]|0;l=c[(ca&p)+484>>2]|0;if((l|0)!=0?(q=c[(l&p)+16>>2]|0,(q|0)!=0):0)a[(q&n)+24>>0]=k;break}case 99:{c[(ea&p)>>2]=10;break}case 101:{a[(ea&n)>>0]=10;break}case 102:{a[(ea&n)>>0]=c[(f+(da<<4)&p)+16>>2];break}case 104:{c[(ea&p)>>2]=4;break}case 105:{c[(ea&p)>>2]=5;break}case 106:{dr(ca,c[(f+(da<<4)&p)+16>>2]|0,0,c[(f+(da+-1<<4)&p)+16>>2]|0);break}case 110:{dr(ca,c[(f+(da<<4)&p)+16>>2]|0,1,c[(f+(da+-1<<4)&p)+16>>2]|0);break}case 111:{c[(z&p)>>2]=c[5124];c[(z&p)+4>>2]=c[5125];c[(z&p)+8>>2]=c[5126];c[(z&p)+12>>2]=c[5127];c[(z&p)+16>>2]=c[5128];ba=f+(da<<4)+16|0;ir(ca,c[(ba&p)>>2]|0,z)|0;Mk(c[(ca&p)>>2]|0,c[(ba&p)>>2]|0,1);break}case 112:{t=c[(f+(da<<4)&p)+16>>2]|0;do if(t){c[(t&p)+68>>2]=c[(f+(da+-1<<4)&p)+16>>2];l=c[(t&p)+52>>2]|0;if(l){m=128;q=1;r=t;s=0;while(1){c[(r&p)+56>>2]=s;$=r+6|0;aa=e[($&o)>>1]|64;b[($&o)>>1]=aa;m=aa&m;if(!l)break;aa=l;l=c[(l&p)+52>>2]|0;q=q+1|0;s=r;r=aa}if(m){ca=t+6|0;b[(ca&o)>>1]=e[(ca&o)>>1]|256;break}aa=c[((c[(ca&p)>>2]|0)&p)+104>>2]|0;if((aa|0)>0&(q|0)>(aa|0))th(ca,20520,ba)}}else Qn(c[(ca&p)>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0);while(0);c[(ea&p)>>2]=t;break}case 116:{c[(ea&p)>>2]=116;break}case 119:case 113:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 114:{h=c[(f+(da<<4)&p)+16>>2]|0;do if(h){if(c[(h&p)+52>>2]|0){c[(l&p)+4>>2]=0;h=kr(ca,0,jr(ca,0,0,0,l,h,0,0)|0,0,0,0,0,0,0,0)|0;if(!h){aa=192;break}}ba=c[(f+(da+-1<<4)&p)+16>>2]|0;a[(h&n)+4>>0]=ba;c[(h&p)+52>>2]=c[(f+(da+-2<<4)&p)+16>>2];if((ba|0)!=116)a[(ca&n)+22>>0]=1}else aa=192;while(0);if((aa|0)==192){Mk(c[(ca&p)>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0,1);h=0}c[(ea&p)>>2]=h;break}case 121:{h=kr(ca,c[(f+(da+-1<<4)&p)+16>>2]|0,0,0,0,0,0,128,0,0)|0;if(!h){c[(ea&p)>>2]=c[(f+(da+-4<<4)&p)+16>>2];break a}else{a[(h&n)+4>>0]=116;c[(h&p)+52>>2]=c[(f+(da+-4<<4)&p)+16>>2];c[(ea&p)>>2]=h;break a}}case 122:{b[(ea&o)>>1]=1;break}case 124:case 123:{b[(ea&o)>>1]=0;break}case 242:case 236:case 161:case 154:case 126:{c[(ea&p)>>2]=0;break}case 243:case 125:{c[(ea&p)>>2]=c[(f+(da+-1<<4)&p)+16>>2];break}case 167:{c[(ea&p)>>2]=c[(f+(da+-2<<4)&p)+16>>2];c[(ea&p)+4>>2]=c[(f+(da<<4)&p)+16>>2];break}case 168:{c[(ea&p)+4>>2]=c[(f+(da+-2<<4)&p)+16>>2];c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 169:{h=c[(f+(da+-5<<4)&p)+16>>2]|0;if(h){ba=ca+532|0;c[(h&p)+4>>2]=c[(ba&p)>>2];c[(ba&p)>>2]=h;a[(ca&n)+449>>0]=1}ba=f+(da+-2<<4)+16|0;or(ca,c[(ba&p)>>2]|0,f+(da+-1<<4)+16|0);rr(ca,c[(ba&p)>>2]|0,c[(f+(da<<4)&p)+16>>2]|0);break}case 176:{h=c[(f+(da+-6<<4)&p)+16>>2]|0;if(h){ba=ca+532|0;c[(h&p)+4>>2]=c[(ba&p)>>2];c[(ba&p)>>2]=h;a[(ca&n)+449>>0]=1}tr(ca,c[(f+(da+-3<<4)&p)+16>>2]|0,0,c[(f+(da+-2<<4)&p)+16>>2]|0,d[(f+(da+-5<<4)&n)+16>>0]|0);break}case 173:{ba=lr(ca,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=ba;mr(ca,ba,f+(da+-2<<4)+16|0,1);break}case 174:{ba=lr(ca,0,c[(f+(da<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=ba;mr(ca,ba,f+(da+-2<<4)+16|0,1);break}case 175:{h=c[(f+(da+-5<<4)&p)+16>>2]|0;if(h){ba=ca+532|0;c[(h&p)+4>>2]=c[(ba&p)>>2];c[(ba&p)>>2]=h;a[(ca&n)+449>>0]=1}tr(ca,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,d[(f+(da+-4<<4)&n)+16>>0]|0);break}case 181:{c[(ea&p)>>2]=ur(c[(ca&p)>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0,f+(da<<4)+16|0)|0;break}case 182:{c[(ea&p)>>2]=ur(c[(ca&p)>>2]|0,0,f+(da<<4)+16|0)|0;break}case 183:{ca=f+(da<<4)+16|0;c[(ea&p)>>2]=c[(ca&p)>>2];c[(ea&p)+4>>2]=c[(ca&p)+4>>2];c[(ea&p)+8>>2]=c[(ca&p)+8>>2];break}case 177:{a[(ea&n)>>0]=a[(f+(da<<4)&n)+16>>0]|0;break}case 178:{a[(ea&n)>>0]=5;break}case 184:{c[(ea&p)>>2]=c[(f+(da+-1<<4)&p)+16>>2];c[(ea&p)+4>>2]=c[(f+(da+-2<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 191:case 190:case 185:{ba=f+(da<<4)+16|0;c[(ea&p)>>2]=Zq(ca,d[(f+(da<<4)&n)+14>>0]|0,0,0,ba)|0;ca=c[(ba&p)>>2]|0;c[(ea&p)+4>>2]=ca;c[(ea&p)+8>>2]=ca+(c[(f+(da<<4)&p)+20>>2]|0);break}case 187:case 186:{ba=f+(da<<4)+16|0;c[(ea&p)>>2]=Zq(ca,27,0,0,ba)|0;ca=c[(ba&p)>>2]|0;c[(ea&p)+4>>2]=ca;c[(ea&p)+8>>2]=ca+(c[(f+(da<<4)&p)+20>>2]|0);break}case 188:{aa=f+(da+-2<<4)+16|0;ba=f+(da<<4)+16|0;c[(ea&p)>>2]=Zq(ca,122,Zq(ca,27,0,0,aa)|0,Zq(ca,27,0,0,ba)|0,0)|0;c[(ea&p)+4>>2]=c[(aa&p)>>2];c[(ea&p)+8>>2]=(c[(ba&p)>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 189:{aa=f+(da+-4<<4)+16|0;ba=f+(da<<4)+16|0;c[(ea&p)>>2]=Zq(ca,122,Zq(ca,27,0,0,aa)|0,Zq(ca,122,Zq(ca,27,0,0,f+(da+-2<<4)+16|0)|0,Zq(ca,27,0,0,ba)|0,0)|0,0)|0;c[(ea&p)+4>>2]=c[(aa&p)>>2];c[(ea&p)+8>>2]=(c[(ba&p)>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 192:{x=f+(da<<4)+16|0;w=f+(da<<4)+20|0;do if(((c[(w&p)>>2]|0)>>>0>1?(C=c[(x&p)>>2]|0,(a[(C&n)>>0]|0)==35):0)?((d[(C&n)+1>>0]|0)+-48|0)>>>0<10:0){if(!(a[(ca&n)+18>>0]|0)){c[(ba&p)>>2]=x;th(ca,20432,ba);c[(ea&p)>>2]=0;break}r=Zq(ca,159,0,0,x)|0;c[(ea&p)>>2]=r;if(r)Dn((c[(x&p)>>2]|0)+1|0,r+28|0)|0}else aa=298;while(0);q:do if((aa|0)==298?(P=Zq(ca,135,0,0,x)|0,c[(ea&p)>>2]=P,W=c[(x&p)>>2]|0,c[(ea&p)+4>>2]=W,c[(ea&p)+8>>2]=W+(c[(w&p)>>2]|0),W=c[(ca&p)>>2]|0,(P|0)!=0):0){z=c[(P&p)+8>>2]|0;r=z+1|0;do if(a[(r&n)>>0]|0){y=(z|0)==0;if(y)A=0;else{t=z;while(1)if(!(a[(t&n)>>0]|0))break;else t=t+1|0;A=t-z&1073741823}r:do if((a[(z&n)>>0]|0)==63){$=Ul(r,H,A+-1|0,1)|0;m=H;q=c[(m&p)>>2]|0;m=c[(m&p)+4>>2]|0;t=q&65535;b[(P&o)+32>>1]=t;r=c[(W&p)+124>>2]|0;aa=((r|0)<0)<<31>>31;if((m|0)<0|(m|0)==0&q>>>0<1|($|0)!=0|((m|0)>(aa|0)|(m|0)==(aa|0)&q>>>0>r>>>0)){c[(ba&p)>>2]=r;th(ca,33296,ba);t=0}r=ca+440|0;aa=c[(r&p)>>2]|0;$=((aa|0)<0)<<31>>31;if((m|0)>($|0)|(m|0)==($|0)&q>>>0>aa>>>0)c[(r&p)>>2]=q}else{r=c[(ca&p)+444>>2]|0;s:do if((r|0)>0){q=c[(ca&p)+472>>2]|0;t=0;l=0;while(1){m=c[(q+(t<<2)&p)>>2]|0;if((m|0)!=0?(_v(m,z)|0)==0:0)break;l=l+1<<16>>16;t=l<<16>>16;if((t|0)>=(r|0)){aa=315;break s}}t=t+1&65535;r=P+32|0;b[(r&o)>>1]=t;if(t<<16>>16)break r}else aa=315;while(0);if((aa|0)==315)r=P+32|0;aa=ca+440|0;t=(c[(aa&p)>>2]|0)+1|0;c[(aa&p)>>2]=t;t=t&65535;b[(r&o)>>1]=t}while(0);m=t<<16>>16;if(t<<16>>16>0){t=ca+444|0;if((m|0)>(c[(t&p)>>2]|0)){r=ca+472|0;q=ro(W,c[(r&p)>>2]|0,m<<2,0)|0;if(!q)break q;c[(r&p)>>2]=q;aa=c[(t&p)>>2]|0;fw(q+(aa<<2)|0,0,m-aa<<2|0)|0;c[(t&p)>>2]=m}if((a[(z&n)>>0]|0)==63){r=m+-1|0;if(!(c[((c[(ca&p)+472>>2]|0)+(r<<2)&p)>>2]|0))t=0;else break}else{t=m+-1|0;r=t;t=c[((c[(ca&p)+472>>2]|0)+(t<<2)&p)>>2]|0}q=ca+472|0;mg(W,t);if(!y?(s=jw(A|0,0,1,0)|0,s=mh(W,s,G)|0,(s|0)!=0):0){kw(s|0,z|0,A|0)|0;a[(s+A&n)>>0]=0}else s=0;c[((c[(q&p)>>2]|0)+(r<<2)&p)>>2]=s}}else{$=ca+440|0;aa=(c[($&p)>>2]|0)+1|0;c[($&p)>>2]=aa;b[(P&o)+32>>1]=aa}while(0);if((c[(ca&p)+64>>2]|0)==0?(c[(ca&p)+440>>2]|0)>(c[(W&p)+124>>2]|0):0)th(ca,33344,ba)}while(0);ca=c[(x&p)>>2]|0;c[(ea&p)+4>>2]=ca;c[(ea&p)+8>>2]=ca+(c[(w&p)>>2]|0);break}case 196:{ba=f+(da+-3<<4)+16|0;c[(ea&p)>>2]=wr(ca,0,ba)|0;c[(ea&p)+4>>2]=c[(ba&p)>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 197:{ba=f+(da<<4)+16|0;c[(ea&p)>>2]=wr(ca,0,ba)|0;ca=c[(ba&p)>>2]|0;c[(ea&p)+4>>2]=ca;c[(ea&p)+8>>2]=ca+(c[(f+(da<<4)&p)+20>>2]|0);break}case 193:{aa=da+-2|0;ba=f+(da<<4)+16|0;c[(ea&p)>>2]=vr(ca,c[(f+(aa<<4)&p)+16>>2]|0,ba,1)|0;c[(ea&p)+4>>2]=c[(f+(aa<<4)&p)+20>>2];c[(ea&p)+8>>2]=(c[(ba&p)>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 194:{c[(ea&p)>>2]=Zq(ca,38,c[(f+(da+-3<<4)&p)+16>>2]|0,0,f+(da+-1<<4)+16|0)|0;c[(ea&p)+4>>2]=c[(f+(da+-5<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 195:{l=f+(da+-1<<4)+16|0;h=c[(l&p)>>2]|0;if(h){if((c[(h&p)>>2]|0)>(c[((c[(ca&p)>>2]|0)&p)+112>>2]|0)){c[(ba&p)>>2]=f+(da+-4<<4)+16;th(ca,20576,ba);h=c[(l&p)>>2]|0}}else h=0;ba=f+(da+-4<<4)+16|0;h=wr(ca,h,ba)|0;c[(ea&p)>>2]=h;c[(ea&p)+4>>2]=c[(ba&p)>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);if(!((h|0)==0?1:(b[(f+(da+-2<<4)&o)+16>>1]|0)==0)){ca=h+4|0;c[(ca&p)>>2]=c[(ca&p)>>2]|16}break}case 205:case 204:case 203:case 202:case 201:case 200:case 199:case 198:{ba=da+-2|0;c[(ea&p)>>2]=Zq(ca,d[(f+(da+-1<<4)&n)+14>>0]|0,c[(f+(ba<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0,0)|0;c[(ea&p)+4>>2]=c[(f+(ba<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];break}case 206:{aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;c[(ea&p)+8>>2]=0;break}case 207:{aa=f+(da<<4)+16|0;ba=c[(aa&p)+4>>2]|0;ca=ea;c[(ca&p)>>2]=c[(aa&p)>>2];c[(ca&p)+4>>2]=ba;c[(ea&p)+8>>2]=1;break}case 208:{l=da+-2|0;ba=da+-1|0;h=wr(ca,lr(ca,lr(ca,0,c[(f+(da<<4)&p)+16>>2]|0)|0,c[(f+(l<<4)&p)+16>>2]|0)|0,f+(ba<<4)+16|0)|0;c[(ea&p)>>2]=h;if(c[(f+(ba<<4)&p)+24>>2]|0){h=Zq(ca,19,h,0,0)|0;c[(ea&p)>>2]=h}c[(ea&p)+4>>2]=c[(f+(l<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];if(h){ca=h+4|0;c[(ca&p)>>2]=c[(ca&p)>>2]|128}break}case 210:{ba=da+-1|0;c[(ea&p)>>2]=Zq(ca,d[(f+(da<<4)&n)+14>>0]|0,c[(f+(ba<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(ba<<4)&p)+20>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 209:{l=da+-4|0;ba=da+-3|0;h=wr(ca,lr(ca,lr(ca,lr(ca,0,c[(f+(da+-2<<4)&p)+16>>2]|0)|0,c[(f+(l<<4)&p)+16>>2]|0)|0,c[(f+(da<<4)&p)+16>>2]|0)|0,f+(ba<<4)+16|0)|0;c[(ea&p)>>2]=h;if(c[(f+(ba<<4)&p)+24>>2]|0){h=Zq(ca,19,h,0,0)|0;c[(ea&p)>>2]=h}c[(ea&p)+4>>2]=c[(f+(l<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];if(h){ca=h+4|0;c[(ca&p)>>2]=c[(ca&p)>>2]|128}break}case 223:{l=f+(da+-1<<4)+16|0;h=c[(l&p)>>2]|0;do if(h){if((c[(h&p)>>2]|0)==1){ba=c[(h&p)+4>>2]|0;h=c[(ba&p)>>2]|0;c[(ba&p)>>2]=0;Nk(c[(ca&p)>>2]|0,c[(l&p)>>2]|0);if(h){ba=h+4|0;c[(ba&p)>>2]=c[(ba&p)>>2]&-769|512}c[(ea&p)>>2]=Zq(ca,(c[(f+(da+-3<<4)&p)+16>>2]|0)!=0?78:79,c[(f+(da+-4<<4)&p)+16>>2]|0,h,0)|0;break}h=Zq(ca,75,c[(f+(da+-4<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)>>2]=h;if(!h){Nk(c[(ca&p)>>2]|0,c[(l&p)>>2]|0);h=0}else{c[(h&p)+20>>2]=c[(l&p)>>2];h=c[(ea&p)>>2]|0;yr(ca,h)}if(c[(f+(da+-3<<4)&p)+16>>2]|0)c[(ea&p)>>2]=Zq(ca,19,h,0,0)|0}else{c[(ea&p)>>2]=Zq(ca,132,0,0,20616+(c[(f+(da+-3<<4)&p)+16>>2]<<3)|0)|0;Gk(c[(ca&p)>>2]|0,c[(f+(da+-4<<4)&p)+16>>2]|0)}while(0);c[(ea&p)+4>>2]=c[(f+(da+-4<<4)&p)+20>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 211:{ba=da+-2|0;c[(ea&p)>>2]=Zq(ca,77,c[(f+(ba<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(ba<<4)&p)+20>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 212:{$=da+-2|0;aa=f+(da<<4)+16|0;ba=Zq(ca,73,c[(f+($<<4)&p)+16>>2]|0,c[(aa&p)>>2]|0,0)|0;c[(ea&p)>>2]=ba;c[(ea&p)+4>>2]=c[(f+($<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];xr(ca,c[(aa&p)>>2]|0,ba,76);break}case 213:{$=da+-3|0;aa=f+(da<<4)+16|0;ba=Zq(ca,148,c[(f+($<<4)&p)+16>>2]|0,c[(aa&p)>>2]|0,0)|0;c[(ea&p)>>2]=ba;c[(ea&p)+4>>2]=c[(f+($<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];xr(ca,c[(aa&p)>>2]|0,ba,77);break}case 215:case 214:{ba=da+-1|0;c[(ea&p)>>2]=Zq(ca,d[(f+(ba<<4)&n)+14>>0]|0,c[(f+(da<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(ba<<4)&p)+16>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];break}case 216:{c[(ea&p)>>2]=Zq(ca,157,c[(f+(da<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(da+-1<<4)&p)+16>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];break}case 217:{c[(ea&p)>>2]=Zq(ca,158,c[(f+(da<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(da+-1<<4)&p)+16>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];break}case 220:{k=lr(ca,lr(ca,0,c[(f+(da+-2<<4)&p)+16>>2]|0)|0,c[(f+(da<<4)&p)+16>>2]|0)|0;l=da+-4|0;h=Zq(ca,74,c[(f+(l<<4)&p)+16>>2]|0,0,0)|0;c[(ea&p)>>2]=h;if(!h)Nk(c[(ca&p)>>2]|0,k);else c[(h&p)+20>>2]=k;if(c[(f+(da+-3<<4)&p)+16>>2]|0)c[(ea&p)>>2]=Zq(ca,19,c[(ea&p)>>2]|0,0,0)|0;c[(ea&p)+4>>2]=c[(f+(l<<4)&p)+20>>2];c[(ea&p)+8>>2]=c[(f+(da<<4)&p)+24>>2];break}case 224:{h=Zq(ca,119,0,0,0)|0;c[(ea&p)>>2]=h;if(!h)Mk(c[(ca&p)>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,1);else{c[(h&p)+20>>2]=c[(f+(da+-1<<4)&p)+16>>2];ba=c[(ea&p)>>2]|0;aa=ba+4|0;c[(aa&p)>>2]=c[(aa&p)>>2]|2099200;yr(ca,ba)}c[(ea&p)+4>>2]=c[(f+(da+-2<<4)&p)+16>>2];c[(ea&p)+8>>2]=(c[(f+(da<<4)&p)+16>>2]|0)+(c[(f+(da<<4)&p)+20>>2]|0);break}case 118:{c[(ea&p)>>2]=kr(ca,c[(f+(da+-6<<4)&p)+16>>2]|0,c[(f+(da+-5<<4)&p)+16>>2]|0,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da+-3<<4)&p)+16>>2]|0,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,b[(f+(da+-7<<4)&o)+16>>1]|0,c[(f+(da<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+20>>2]|0)|0;break}case 120:{c[(ea&p)>>2]=kr(ca,c[(f+(da+-1<<4)&p)+16>>2]|0,0,0,0,0,0,128,0,0)|0;break}case 127:{l=da+-1|0;q=lr(ca,c[(f+(da+-2<<4)&p)+16>>2]|0,c[(f+(l<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=q;if(c[(f+(da<<4)&p)+20>>2]|0)mr(ca,q,f+(da<<4)+16|0,1);s=c[(ca&p)>>2]|0;if(q){r=(c[(q&p)+4>>2]|0)+(((c[(q&p)>>2]|0)+-1|0)*20|0)+8|0;mg(s,c[(r&p)>>2]|0);m=c[(f+(l<<4)&p)+20>>2]|0;q=(c[(f+(l<<4)&p)+24>>2]|0)-m|0;if((m|0)!=0?(h=jw(q|0,((q|0)<0)<<31>>31|0,1,0)|0,h=mh(s,h,G)|0,(h|0)!=0):0){kw(h|0,m|0,q|0)|0;a[(h+q&n)>>0]=0}else h=0;c[(r&p)>>2]=h}break}case 133:{l=mh(c[(ca&p)>>2]|0,80,0)|0;if(l){y=l+0|0;k=y+80|0;do{a[(y&n)>>0]=0;y=y+1|0}while((y|0)<(k|0))}c[(ea&p)>>2]=l;break}case 134:{q=c[(f+(da<<4)&p)+16>>2]|0;c[(ea&p)>>2]=q;if(q){l=c[(q&p)>>2]|0;k=l+-1|0;if((k|0)>0)while(1){a[(q+(k*72|0)&n)+44>>0]=a[(q+((l+-2|0)*72|0)&n)+44>>0]|0;l=k+-1|0;if((l|0)>0){ca=k;k=l;l=ca}else break}a[(q&n)+44>>0]=0}break}case 128:{aa=c[(ca&p)>>2]|0;c[(ba&p)>>2]=0;c[(ba&p)+4>>2]=0;ba=nr(aa,116,ba,0)|0;c[(ea&p)>>2]=lr(ca,c[(f+(da+-1<<4)&p)+16>>2]|0,ba)|0;break}case 132:{c[(ea&p)+4>>2]=0;break}case 129:{ba=Zq(ca,116,0,0,f+(da<<4)+16|0)|0;ba=Zq(ca,122,Zq(ca,27,0,0,f+(da+-2<<4)+16|0)|0,ba,0)|0;c[(ea&p)>>2]=lr(ca,c[(f+(da+-3<<4)&p)+16>>2]|0,ba)|0;break}case 136:{c[(ea&p)>>2]=0;break}case 137:{ba=jr(ca,c[(f+(da+-6<<4)&p)+16>>2]|0,f+(da+-5<<4)+16|0,f+(da+-4<<4)+16|0,f+(da+-3<<4)+16|0,0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=ba;or(ca,ba,f+(da+-2<<4)+16|0);break}case 135:{h=c[(f+(da+-1<<4)&p)+16>>2]|0;c[(ea&p)>>2]=h;if((h|0)!=0?(w=c[(h&p)>>2]|0,(w|0)>0):0)a[(h+((w+-1|0)*72|0)&n)+44>>0]=c[(f+(da<<4)&p)+16>>2];break}case 138:{c[(ea&p)>>2]=jr(ca,c[(f+(da+-6<<4)&p)+16>>2]|0,0,0,f+(da+-2<<4)+16|0,c[(f+(da+-4<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 139:{l=f+(da+-6<<4)+16|0;q=c[(l&p)>>2]|0;if((((q|0)==0?(c[(f+(da+-2<<4)&p)+20>>2]|0)==0:0)?(c[(f+(da+-1<<4)&p)+16>>2]|0)==0:0)?(c[(f+(da<<4)&p)+16>>2]|0)==0:0){c[(ea&p)>>2]=c[(f+(da+-4<<4)&p)+16>>2];break a}s=f+(da+-4<<4)+16|0;k=c[(s&p)>>2]|0;r=c[(k&p)>>2]|0;if((r|0)==1){l=jr(ca,q,0,0,f+(da+-2<<4)+16|0,0,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=l;if(l){_=(c[(l&p)>>2]|0)+-1|0;ba=c[(s&p)>>2]|0;aa=ba+16|0;c[(l+(_*72|0)&p)+16>>2]=c[(aa&p)>>2];$=ba+12|0;c[(l+(_*72|0)&p)+12>>2]=c[($&p)>>2];ba=ba+28|0;c[(l+(_*72|0)&p)+28>>2]=c[(ba&p)>>2];c[($&p)>>2]=0;c[(aa&p)>>2]=0;c[(ba&p)>>2]=0}Do(c[(ca&p)>>2]|0,c[(s&p)>>2]|0);break a}if(k){m=r+-1|0;if((m|0)>0){q=r;while(1){a[(k+(m*72|0)&n)+44>>0]=a[(k+((q+-2|0)*72|0)&n)+44>>0]|0;q=m+-1|0;if((q|0)>0){ba=m;m=q;q=ba}else break}}a[(k&n)+44>>0]=0}ba=kr(ca,0,k,0,0,0,0,512,0,0)|0;c[(ea&p)>>2]=jr(ca,c[(l&p)>>2]|0,0,0,f+(da+-2<<4)+16|0,ba,c[(f+(da+-1<<4)&p)+16>>2]|0,c[(f+(da<<4)&p)+16>>2]|0)|0;break}case 149:case 140:{c[(ea&p)>>2]=0;c[(ea&p)+4>>2]=0;break}case 144:{c[(ea&p)>>2]=qr(ca,f+(da+-1<<4)+16|0,0,0)|0;break}case 145:{c[(ea&p)>>2]=qr(ca,f+(da+-2<<4)+16|0,f+(da+-1<<4)+16|0,0)|0;break}case 146:{c[(ea&p)>>2]=qr(ca,f+(da+-3<<4)+16|0,f+(da+-2<<4)+16|0,f+(da+-1<<4)+16|0)|0;break}case 233:case 231:case 171:case 164:case 147:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 234:case 232:case 170:case 163:case 148:{c[(ea&p)>>2]=0;break}case 151:{c[(ea&p)>>2]=0;c[(ea&p)+4>>2]=1;break}case 143:{c[(ea&p)>>2]=1;break}case 142:{c[(ea&p)>>2]=pr(c[(ca&p)>>2]|0,0,f+(da+-1<<4)+16|0,f+(da<<4)+16|0)|0;break}case 157:{h=lr(ca,0,c[(f+(da+-1<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=h;if((h|0)!=0?(k=c[(h&p)+4>>2]|0,(k|0)!=0):0)a[(k&n)+12>>0]=c[(f+(da<<4)&p)+16>>2];break}case 160:case 158:{c[(ea&p)>>2]=0;break}case 159:{c[(ea&p)>>2]=1;break}case 165:{c[(ea&p)>>2]=0;c[(ea&p)+4>>2]=0;break}case 166:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];c[(ea&p)+4>>2]=0;break}case 179:case 153:{c[(ea&p)>>2]=0;break}case 180:case 152:{c[(ea&p)>>2]=c[(f+(da+-1<<4)&p)+16>>2];break}case 172:{l=c[(f+(da+-7<<4)&p)+16>>2]|0;if(l){aa=ca+532|0;c[(l&p)+4>>2]=c[(aa&p)>>2];c[(aa&p)>>2]=l;a[(ca&n)+449>>0]=1}m=f+(da+-4<<4)+16|0;or(ca,c[(m&p)>>2]|0,f+(da+-3<<4)+16|0);q=f+(da+-1<<4)+16|0;l=c[(q&p)>>2]|0;if(l){if((c[(l&p)>>2]|0)>(c[((c[(ca&p)>>2]|0)&p)+96>>2]|0)){c[(ba&p)>>2]=20560;th(ca,34544,ba);l=c[(q&p)>>2]|0}}else l=0;sr(ca,c[(m&p)>>2]|0,l,c[(f+(da<<4)&p)+16>>2]|0,d[(f+(da+-5<<4)&n)+16>>0]|0);break}case 235:case 162:case 155:{c[(ea&p)>>2]=c[(f+(da<<4)&p)+16>>2];break}case 156:{h=lr(ca,c[(f+(da+-3<<4)&p)+16>>2]|0,c[(f+(da+-1<<4)&p)+16>>2]|0)|0;c[(ea&p)>>2]=h;if(h)a[((c[(h&p)+4>>2]|0)+(((c[(h&p)>>2]|0)+-1|0)*20|0)&n)+12>>0]=c[(f+(da<<4)&p)+16>>2];break}case 7:{a[(ca&n)+450>>0]=2;c[(ca&p)+440>>2]=0;break}case 23:{Tq(ca,1,f+(da<<4)+16|0);break}case 24:{Tq(ca,2,f+(da<<4)+16|0);break}case 26:{Uq(ca,f+(da+-1<<4)+16|0,f+(da<<4)+16|0,c[(f+(da+-4<<4)&p)+16>>2]|0,0,0,c[(f+(da+-2<<4)&p)+16>>2]|0);break}default:{}}while(0);h=a[(g<<1&n)+20912>>0]|0;r=h&255;q=a[(g<<1&n)+20913>>0]|0;m=q&255;s=(c[(f&p)>>2]|0)-m|0;c[(f&p)>>2]=s;l=b[((b[(e[(f+(da-m<<4)&o)+12>>1]<<1&o)+21568>>1]|0)+r<<1&o)+22184>>1]|0;k=l&65535;do if((l&65535)<642)if(!(q<<24>>24)){kq(f,k,r,ea);break}else{c[(f&p)>>2]=s+1;da=1-m+da|0;b[(f+(da<<4)&o)+12>>1]=l;a[(f+(da<<4)&n)+14>>0]=h;da=f+(da<<4)+16|0;c[(da&p)>>2]=c[(ea&p)>>2];c[(da&p)+4>>2]=c[(ea&p)+4>>2];c[(da&p)+8>>2]=c[(ea&p)+8>>2];break}else{h=c[(ga&p)>>2]|0;if((s|0)>-1)do Pn(f);while((c[(f&p)>>2]|0)>-1);c[(ga&p)>>2]=h}while(0);i=ha;return}function nq(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,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,$=0,aa=0,ba=0,ca=0,da=0,ea=0,ga=0;da=i;i=i+64|0;if((i|0)>=(j|0))fa();ca=da+8|0;Z=da;q=da+24|0;h=da+16|0;l=xq(e,0,h)|0;do if(!l){if(c[(h&p)>>2]|0){l=ds(e,f)|0;if(!l)g=0;else k=4}else{l=1;k=4}if((k|0)==4){ba=e+43|0;k=(a[(ba&n)>>0]|0)==0;do if(!(a[(e&n)+46>>0]&2)){if(k?(m=e+4|0,aa=c[(m&p)>>2]|0,ac[c[((c[(aa&p)>>2]|0)&p)+40>>2]&63](aa,24,0)|0,m=c[(m&p)>>2]|0,m=pc[c[((c[(m&p)>>2]|0)&p)+56>>2]&31](m,0,1,10)|0,(m|0)!=0):0){h=l;g=m;break}aa=e+44|0;a[(aa&n)>>0]=1;k=xq(e,0,h)|0;if(!k){h=ds(e,f)|0;if(!h){h=0;g=0}else{$=d[(e&n)+45>>0]|0;_=$+1|0;$=7-$|0;if(!((a[(ba&n)>>0]|0)==0?(g=c[(e&p)+4>>2]|0,g=pc[c[((c[(g&p)>>2]|0)&p)+56>>2]&31](g,_,$,10)|0,(g|0)!=0):0)){l=e+52|0;k=l+48|0;do{c[(l&p)>>2]=0;l=l+4|0}while((l|0)<(k|0));T=e+8|0;g=c[(T&p)>>2]|0;g=rc[c[((c[(g&p)>>2]|0)&p)+24>>2]&127](g,Z)|0;a:do if(!g){U=Z;S=c[(U&p)+4>>2]|0;b:do if((S|0)>0|(S|0)==0&(c[(U&p)>>2]|0)>>>0>32){g=c[(T&p)>>2]|0;g=tc[c[((c[(g&p)>>2]|0)&p)+8>>2]&31](g,q,32,0,0)|0;if(g)break a;m=d[(q&n)+3>>0]|0;k=d[(q&n)+9>>0]<<16|d[(q&n)+8>>0]<<24;g=d[(q&n)+10>>0]<<8;l=k|g|d[(q&n)+11>>0];if(((d[(q&n)+1>>0]<<16|d[(q&n)>>0]<<24|d[(q&n)+2>>0]<<8|m&254|0)==931071618?!((l+-1&l|0)!=0|(l|0)>65536|(l|0)<512):0)?(U=m&1,V=e+65|0,a[(V&n)>>0]=U,W=e+36|0,c[(W&p)>>2]=l,c[(e&p)+104>>2]=d[(q&n)+13>>0]<<16|d[(q&n)+12>>0]<<24|d[(q&n)+14>>0]<<8|d[(q&n)+15>>0],X=e+84|0,S=q+16|0,Q=S,Q=d[(Q&n)>>0]|d[(Q&n)+1>>0]<<8|d[(Q&n)+2>>0]<<16|d[(Q&n)+3>>0]<<24,S=S+4|0,S=d[(S&n)>>0]|d[(S&n)+1>>0]<<8|d[(S&n)+2>>0]<<16|d[(S&n)+3>>0]<<24,Y=X,R=Y,a[(R&n)>>0]=Q,a[(R&n)+1>>0]=Q>>8,a[(R&n)+2>>0]=Q>>16,a[(R&n)+3>>0]=Q>>24,Y=Y+4|0,a[(Y&n)>>0]=S,a[(Y&n)+1>>0]=S>>8,a[(Y&n)+2>>0]=S>>16,a[(Y&n)+3>>0]=S>>24,Y=e+76|0,yq(U^1,q,24,0,Y),(c[(Y&p)>>2]|0)==(d[(q&n)+25>>0]<<16|d[(q&n)+24>>0]<<24|d[(q&n)+26>>0]<<8|d[(q&n)+27>>0]|0)):0){S=e+80|0;if((c[(S&p)>>2]|0)!=(d[(q&n)+29>>0]<<16|d[(q&n)+28>>0]<<24|d[(q&n)+30>>0]<<8|d[(q&n)+31>>0]|0)){l=0;g=0;break}if((d[(q&n)+5>>0]<<16|d[(q&n)+4>>0]<<24|d[(q&n)+6>>0]<<8|d[(q&n)+7>>0]|0)!=3007e3){c[(ca&p)>>2]=49983;c[(ca&p)+4>>2]=10788;bd(14,14848,ca);g=14;break a}w=l+24|0;U=Tc(w)|0;if(!U){g=7;break a}x=U+24|0;y=((w|0)<0)<<31>>31;q=jw(w|0,y|0,32,0)|0;m=G;R=Z;Q=c[(R&p)+4>>2]|0;c:do if(!((m|0)>(Q|0)|((m|0)==(Q|0)?q>>>0>(c[(R&p)>>2]|0)>>>0:0))){z=U+8|0;A=U+1|0;B=U+2|0;C=U+3|0;D=U+16|0;E=U+17|0;F=U+18|0;H=U+19|0;I=U+20|0;J=U+21|0;K=U+22|0;L=U+23|0;M=U+4|0;N=U+5|0;O=U+6|0;P=U+7|0;Q=e+68|0;R=e+72|0;u=(k>>>16|g)&65535;v=e+66|0;r=32;k=0;l=0;s=0;t=1;while(1){g=c[(T&p)>>2]|0;g=tc[c[((c[(g&p)>>2]|0)&p)+8>>2]&31](g,U,w,r,k)|0;if(g){k=36;break}if(Zv(X,z,8)|0){g=s;k=37;break}k=d[(A&n)>>0]<<16|d[(U&n)>>0]<<24|d[(B&n)>>0]<<8|d[(C&n)>>0];if(!k){g=s;k=37;break}r=(a[(V&n)>>0]|0)==0&1;yq(r,U,8,Y,Y);yq(r,x,c[(W&p)>>2]|0,Y,Y);if((c[(Y&p)>>2]|0)!=(d[(E&n)>>0]<<16|d[(D&n)>>0]<<24|d[(F&n)>>0]<<8|d[(H&n)>>0]|0)){g=s;k=37;break}if((c[(S&p)>>2]|0)!=(d[(J&n)>>0]<<16|d[(I&n)>>0]<<24|d[(K&n)>>0]<<8|d[(L&n)>>0]|0)){g=s;break c}r=d[(N&n)>>0]<<16|d[(M&n)>>0]<<24|d[(O&n)>>0]<<8|d[(P&n)>>0];g=_o(e,t,k)|0;if(g){k=36;break}if(!r)g=s;else{c[(Q&p)>>2]=t;c[(R&p)>>2]=r;b[(v&o)>>1]=u;l=c[(Y&p)>>2]|0;g=c[(S&p)>>2]|0}k=jw(q|0,m|0,w|0,y|0)|0;r=G;s=Z;ea=c[(s&p)+4>>2]|0;if((r|0)>(ea|0)|((r|0)==(ea|0)?k>>>0>(c[(s&p)>>2]|0)>>>0:0))break c;else{ga=m;ea=q;q=k;m=r;s=g;t=t+1|0;k=ga;r=ea}}if((k|0)==36){Wc(U);break a}else if((k|0)==37){Wc(U);break b}}else{l=0;g=0}while(0);Wc(U)}else{l=0;g=0}}else{l=0;g=0}while(0);c[(e&p)+76>>2]=l;c[(e&p)+80>>2]=g;$o(e);k=c[(c[(e&p)+32>>2]&p)>>2]|0;c[(k&p)+96>>2]=0;c[(k&p)+100>>2]=0;g=k+104|0;c[(g&p)>>2]=-1;c[(k&p)+108>>2]=-1;c[(k&p)+112>>2]=-1;c[(k&p)+116>>2]=-1;k=e+68|0;l=c[(k&p)>>2]|0;if(l)c[(g&p)>>2]=l;if(!(c[(e&p)+72>>2]|0))g=0;else{g=c[(e&p)+100>>2]|0;c[(ca&p)>>2]=c[(k&p)>>2];c[(ca&p)+4>>2]=g;bd(283,14888,ca);g=0}}while(0);if(!(a[(ba&n)>>0]|0)){Z=c[(e&p)+4>>2]|0;pc[c[((c[(Z&p)>>2]|0)&p)+56>>2]&31](Z,_,$,9)|0}}c[(f&p)>>2]=1}}else{h=l;g=k}a[(aa&n)>>0]=0;if(!(a[(ba&n)>>0]|0)){ba=c[(e&p)+4>>2]|0;pc[c[((c[(ba&p)>>2]|0)&p)+56>>2]&31](ba,0,1,9)|0}}else if(k){h=e+4|0;g=c[(h&p)>>2]|0;g=pc[c[((c[(g&p)>>2]|0)&p)+56>>2]&31](g,0,1,6)|0;if(!g)if(!(a[(ba&n)>>0]|0)){h=c[(h&p)>>2]|0;pc[c[((c[(h&p)>>2]|0)&p)+56>>2]&31](h,0,1,5)|0;h=l;g=264}else{h=l;g=264}else h=l}else{h=l;g=264}while(0);if(h)break}if((c[(e&p)+52>>2]|0)!=3007e3){c[(ca&p)>>2]=50909;c[(ca&p)+4>>2]=10788;bd(14,14848,ca);g=14}}else g=l;while(0);i=da;return g|0}function oq(a,d,f,g,h,i){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0;r=c[(h&p)>>2]|0;s=c[(g&p)>>2]|0;k=(r|0)>0;j=(f|0)>0;if(k|j){n=j;l=0;q=0;m=0;while(1){do if(n){j=d+(l<<1)|0;if(k?(t=s+(m<<1)|0,(c[(a+((e[(j&o)>>1]|0)<<2)&p)>>2]|0)>>>0>=(c[(a+((e[(t&o)>>1]|0)<<2)&p)>>2]|0)>>>0):0){k=t;u=7;break}l=l+1|0;k=j}else{k=s+(m<<1)|0;u=7}while(0);if((u|0)==7){u=0;m=m+1|0}n=b[(k&o)>>1]|0;k=c[(a+((n&65535)<<2)&p)>>2]|0;j=q+1|0;b[(i+(q<<1)&o)>>1]=n;if((l|0)<(f|0))l=((c[(a+((e[(d+(l<<1)&o)>>1]|0)<<2)&p)>>2]|0)==(k|0)&1)+l|0;k=(m|0)<(r|0);n=(l|0)<(f|0);if(!(k|n))break;else q=j}}else j=0;c[(g&p)>>2]=d;c[(h&p)>>2]=j;kw(d|0,i|0,j<<1|0)|0;return}function pq(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[(a&p)+4>>2]|0;c[(e&p)+4>>2]=c[(a&p)>>2];a=c[((c[(e&p)>>2]|0)&p)+204>>2]|0;c[(a&p)+16>>2]=b;e=c[2217]|0;d=c[(a&p)+40>>2]|0;if((b|0)>-1)a=b;else{b=sw(b|0,((b|0)<0)<<31>>31|0,-1024,-1)|0;a=(c[(a&p)+24>>2]|0)+(c[(a&p)+20>>2]|0)|0;a=qw(b|0,G|0,a|0,((a|0)<0)<<31>>31|0)|0}jc[e&15](d,a);return}function qq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=(c[(b&p)+12>>2]|0)+136|0;e=g;f=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;do if((f|0)==0&(e|0)==0)if(!(bh(c[(c[((c[(b&p)>>2]|0)&p)+32>>2]&p)>>2]|0,g)|0)){e=g;f=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;h=5;break}else{e=g;c[(e&p)>>2]=0;c[(e&p)+4>>2]=0;e=d;c[(e&p)>>2]=0;c[(e&p)+4>>2]=0;e=1;break}else h=5;while(0);if((h|0)==5){g=d;c[(g&p)>>2]=f;c[(g&p)+4>>2]=e;if((e|0)>0|(e|0)==0&f>>>0>0){a[(d&n)+42>>0]=1;e=0}else e=1}return e|0}function rq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0;r=i;i=i+16|0;if((i|0)>=(j|0))fa();o=r;c[(o&p)>>2]=d;d=b;b=0;a:while(1){h=c[(o&p)>>2]|0;g=c[(h&p)>>2]|0;c[(o&p)>>2]=h+4;h=c[(o&p)>>2]|0;k=c[(h&p)>>2]|0;c[(o&p)>>2]=h+4;h=c[(o&p)>>2]|0;l=c[(h&p)>>2]|0;c[(o&p)>>2]=h+4;h=c[(o&p)>>2]|0;m=c[(h&p)>>2]|0;c[(o&p)>>2]=h+4;h=c[(o&p)>>2]|0;e=c[(h&p)>>2]|0;c[(o&p)>>2]=h+4;if(!g){f=d;d=0}else{f=d;d=0;do{g=g+-1|0;h=a[(f&n)>>0]|0;if(((h&255)+-48|0)>>>0>=10)break a;d=(d*10|0)+-48+(h<<24>>24)|0;f=f+1|0}while((g|0)!=0)}if((d|0)<(k|0)|(d|0)>(l|0))break;if(!m){q=9;break}if((m|0)!=(a[(f&n)>>0]|0))break;c[(e&p)>>2]=d;d=f+1|0;b=b+1|0}if((q|0)==9){c[(e&p)>>2]=d;b=b+1|0}i=r;return b|0}function sq(b,e){b=b|0;e=e|0;var f=0,g=0,k=0,l=0.0,m=0,o=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=i;i=i+64|0;if((i|0)>=(j|0))fa();v=x;t=x+56|0;u=x+52|0;f=x+48|0;r=x+44|0;s=x+40|0;c[(v&p)>>2]=2;c[(v&p)+4>>2]=0;c[(v&p)+8>>2]=24;c[(v&p)+12>>2]=58;c[(v&p)+16>>2]=f;c[(v&p)+20>>2]=2;c[(v&p)+24>>2]=0;c[(v&p)+28>>2]=59;c[(v&p)+32>>2]=0;c[(v&p)+36>>2]=r;do if((rq(b,v)|0)==2){m=b+5|0;if((a[(m&n)>>0]|0)==58){c[(v&p)>>2]=2;c[(v&p)+4>>2]=0;c[(v&p)+8>>2]=59;c[(v&p)+12>>2]=0;c[(v&p)+16>>2]=s;if((rq(b+6|0,v)|0)!=1){f=1;break}m=b+8|0;if((a[(m&n)>>0]|0)==46?(g=b+9|0,k=a[(g&n)>>0]|0,((k&255)+-48|0)>>>0<10):0){o=0.0;l=1.0;do{o=o*10.0+ +(k<<24>>24)+-48.0;l=l*10.0;g=g+1|0;k=a[(g&n)>>0]|0}while(((k&255)+-48|0)>>>0<10);l=o/l}else{g=m;l=0.0}}else{c[(s&p)>>2]=0;g=m;l=0.0}a[(e&n)+42>>0]=0;a[(e&n)+41>>0]=1;c[(e&p)+20>>2]=c[(f&p)>>2];c[(e&p)+24>>2]=c[(r&p)>>2];h[(e&q)+32>>3]=l+ +(c[(s&p)>>2]|0);while(1){f=g+1|0;if(!(a[((d[(g&n)>>0]|0)&n)+10368>>0]&1)){m=g;break}else g=f}b=e+28|0;c[(b&p)>>2]=0;g=a[(m&n)>>0]|0;if(g<<24>>24==43){k=1;w=14}else if(g<<24>>24!=45)if((g&-33)<<24>>24==90){k=0;w=16}else f=0;else{k=-1;w=14}if((w|0)==14){c[(v&p)>>2]=2;c[(v&p)+4>>2]=0;c[(v&p)+8>>2]=14;c[(v&p)+12>>2]=58;c[(v&p)+16>>2]=t;c[(v&p)+20>>2]=2;c[(v&p)+24>>2]=0;c[(v&p)+28>>2]=59;c[(v&p)+32>>2]=0;c[(v&p)+36>>2]=u;if((rq(f,v)|0)!=2){f=1;break}k=ca(((c[(t&p)>>2]|0)*60|0)+(c[(u&p)>>2]|0)|0,k)|0;c[(b&p)>>2]=k;f=m+6|0;w=16}if((w|0)==16)while(1){g=a[(f&n)>>0]|0;if(!(a[(g&255&n)+10368>>0]&1)){f=k;break}else f=f+1|0}if(!(g<<24>>24)){a[(e&n)+43>>0]=(f|0)!=0&1;f=0}else f=1}else f=1;while(0);i=x;return f|0}function tq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,k=0,l=0,m=0,o=0,r=0.0,s=0;o=i;i=i+112|0;if((i|0)>=(j|0))fa();k=o+48|0;m=o;l=o+96|0;f=k+0|0;b=b+0|0;g=f+48|0;do{c[(f&p)>>2]=c[(b&p)>>2];f=f+4|0;b=b+4|0}while((f|0)<(g|0));oo(k);po(k);g=k+8|0;if(((c[(g&p)>>2]|0)+-1971|0)>>>0>66){c[(g&p)>>2]=2e3;c[(k&p)+12>>2]=1;c[(k&p)+16>>2]=1;c[(k&p)+20>>2]=0;c[(k&p)+24>>2]=0;h[(k&q)+32>>3]=0.0}else{f=k+32|0;h[(f&q)>>3]=+(~~(+h[(f&q)>>3]+.5)|0)}c[(k&p)+28>>2]=0;a[(k&n)+42>>0]=0;no(k);b=k;f=c[(b&p)>>2]|0;b=c[(b&p)+4>>2]|0;g=qw(f|0,b|0,1e3,0)|0;g=jw(g|0,G|0,-413362496,0)|0;c[(l&p)>>2]=g;g=Vb(l|0)|0;g=(c[2253]|0)!=0?0:g;if(!g){c[(d&p)+20>>2]=1;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,20056,-1,1,-1)|0;c[(e&p)>>2]=1;f=0;g=0}else{k=c[(g&p)+4>>2]|0;l=c[(g&p)+8>>2]|0;d=c[(g&p)+12>>2]|0;s=(c[(g&p)+16>>2]|0)+1|0;r=+(c[(g&p)>>2]|0);c[(m&p)+8>>2]=(c[(g&p)+20>>2]|0)+1900;c[(m&p)+12>>2]=s;c[(m&p)+16>>2]=d;c[(m&p)+20>>2]=l;c[(m&p)+24>>2]=k;h[(m&q)+32>>3]=r;a[(m&n)+40>>0]=1;a[(m&n)+41>>0]=1;a[(m&n)+42>>0]=0;a[(m&n)+43>>0]=0;no(m);c[(e&p)>>2]=0;g=m;g=dw(c[(g&p)>>2]|0,c[(g&p)+4>>2]|0,f|0,b|0)|0;f=G}G=f;i=o;return g|0}function uq(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,o=0,q=0,r=0;r=i;i=i+32|0;if((i|0)>=(j|0))fa();q=r+12|0;l=r;o=r+8|0;k=r+16|0;a[(d&n)>>0]=0;f=rc[c[((c[(b&p)>>2]|0)&p)+24>>2]&127](b,l)|0;h=l;g=c[(h&p)>>2]|0;h=c[(h&p)+4>>2]|0;if(!((f|0)!=0|((h|0)<0|(h|0)==0&g>>>0<16))){f=jw(g|0,h|0,-16,-1)|0;f=es(b,f,G,q)|0;if(!f){m=c[(q&p)>>2]|0;if(!(m>>>0>=e>>>0|(m|0)==0)){f=l;f=jw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,-12,-1)|0;f=es(b,f,G,o)|0;if(!f){f=l;f=jw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,-8,-1)|0;f=tc[c[((c[(b&p)>>2]|0)&p)+8>>2]&31](b,k,8,f,G)|0;if(!f)if(!(Zv(k,14808,8)|0)){f=l;f=jw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,-16,-1)|0;f=dw(f|0,G|0,m|0,0)|0;f=tc[c[((c[(b&p)>>2]|0)&p)+8>>2]&31](b,d,m,f,G)|0;if(!f){g=c[(o&p)>>2]|0;h=0;while(1){e=a[(d+h&n)>>0]|0;f=g-e|0;h=h+1|0;if(h>>>0>=m>>>0)break;else g=f}c[(o&p)>>2]=f;if((g|0)==(e|0))f=m;else{c[(q&p)>>2]=0;f=0}a[(d+f&n)>>0]=0;f=0}}else f=0}}else f=0}}i=r;return f|0}function vq(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;t=i;i (…)
[all...]
H A Dsqlite.js8 function Pn(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,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,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,aa=0;aa=i;i=i+160|0;if((i|0)>=(j|0))ba();O=aa+16|0;K=aa+152|0;M=aa+48|0;J=aa+40|0;N=aa+36|0;L=aa+32|0;R=aa+8|0;Q=aa;W=aa+28|0;_=aa+24|0;c[_>>2]=0;do if(!(a[d+46>>0]|0)){$=d+43|0;if((a[$>>0]|0)==0?(p=c[d+4>>2]|0,p=lc[c[(c[p>>2]|0)+56>>2]&31](p,1,1,10)|0,(p|0)!=0):0)break;Z=d+45|0;a[Z>>0]=1;a:do if(!f){t=0;X=11}else{r=d+4|0;p=(g|0)!=0;while(1){if(a[$>>0]|0)break;t=c[r>>2]|0;t=lc[c[(c[t>>2]|0)+56>>2]&31](t,0,1,10)|0;if(!(p&(t|0)==5)){X=9;break}if(!(hc[g&127](h)|0)){t=0;g=0;X=11;break a}}if((X|0)==9)if((t|0)==5){t=0;g=0;X=11;break}else if(t){Y=f;break}a[d+44>>0]=1;t=f;X=11}while(0);if((X|0)==11){Y=t;t=jq(d,_)|0}do if(!t){V=d+68|0;t=b[d+66>>1]|0;if((c[V>>2]|0)!=0?(U=t&65535,(U<<16&65536|U&65024|0)!=(l|0)):0){c[O>>2]=51863;c[O+4>>2]=10788;Zc(11,13600,O);q=11;break}S=t&65535;S=S<<16&65536|S&65024;U=d+32|0;T=(c[c[U>>2]>>2]|0)+96|0;w=c[V>>2]|0;b:do if((c[T>>2]|0)>>>0<w>>>0){H=(w+33|0)>>>12;I=H+1|0;l=w<<1;v=l+28+(H*20|0)|0;p=Pc(v)|0;c:do if(!p){t=7;p=0}else{bw(p|0,0,v|0)|0;v=p+4|0;c[v>>2]=I;l=Pc(w>>>0>4096?8192:l)|0;do if(l){G=p+8|0;u=0;while(1){t=Lo(d,u,J,L,N)|0;if(t){X=21;break}F=(c[L>>2]|0)+4|0;c[L>>2]=F;if((u|0)==(H|0)){E=c[N>>2]|0;t=E;E=w-E|0}else{t=c[N>>2]|0;E=(c[J>>2]|0)-F>>2}r=G+((c[v>>2]|0)*20|0)|0;D=r+(t<<1)|0;B=t+1|0;c[N>>2]=B;if((E|0)>0){y=0;do{b[r+(y+t<<1)>>1]=y;y=y+1|0}while((y|0)!=(E|0));c[O>>2]=0;c[K>>2]=0;z=M+0|0;y=z+104|0;do{c[z>>2]=0;z=z+4|0}while((z|0)<(y|0));A=0;do{c[O>>2]=1;z=r+(A+t<<1)|0;c[K>>2]=z;if(!(A&1)){x=1;y=0}else{y=0;do{kq(F,c[M+(y<<3)+4>>2]|0,c[M+(y<<3)>>2]|0,K,O,l);y=y+1|0}while((1<<y&A|0)!=0);x=c[O>>2]|0;z=c[K>>2]|0}c[M+(y<<3)+4>>2]=z;c[M+(y<<3)>>2]=x;A=A+1|0}while((A|0)!=(E|0));y=y+1|0;if((y|0)<13)X=34}else{c[O>>2]=0;c[K>>2]=0;z=M+0|0;y=z+104|0;do{c[z>>2]=0;z=z+4|0}while((z|0)<(y|0));y=1;X=34}if((X|0)==34){while(1){X=0;if(1<<y&E)kq(F,c[M+(y<<3)+4>>2]|0,c[M+(y<<3)>>2]|0,K,O,l);y=y+1|0;if((y|0)==13)break;else X=34}x=c[O>>2]|0}c[G+(u*20|0)+16>>2]=B;c[G+(u*20|0)+12>>2]=x;c[G+(u*20|0)+4>>2]=D;c[G+(u*20|0)+8>>2]=F;u=u+1|0;if((u|0)>=(I|0)){X=39;break}}if((X|0)==21){Sc(l);break}else if((X|0)==39){Sc(l);t=0;break c}}else{Sc(0);t=7}while(0);Sc(p)}while(0);if(!t){O=d+72|0;N=c[O>>2]|0;M=d+4|0;x=1;w=c[V>>2]|0;t=0;while(1){l=T+(x<<2)+4|0;r=c[l>>2]|0;d:do if(w>>>0>r>>>0){v=x+3|0;u=(g|0)!=0;while(1){if(a[$>>0]|0)break;t=c[M>>2]|0;t=lc[c[(c[t>>2]|0)+56>>2]&31](t,v,1,10)|0;if(!(u&(t|0)==5)){X=49;break}if(!(hc[g&127](h)|0)){g=0;t=5;break d}}if((X|0)==49){X=0;if((t|0)==5){g=0;t=5;break}else if(t){q=t;X=100;break b}}c[l>>2]=(x|0)==1?w:-1;if(!(a[$>>0]|0)){r=c[M>>2]|0;lc[c[(c[r>>2]|0)+56>>2]&31](r,v,1,9)|0;r=w;t=0}else{r=w;t=0}}else r=w;while(0);x=x+1|0;if((x|0)>=5){I=r;break}else w=r}e:do if((c[T>>2]|0)>>>0<I>>>0){t=(g|0)!=0;while(1){if(a[$>>0]|0)break;r=c[M>>2]|0;r=lc[c[(c[r>>2]|0)+56>>2]&31](r,3,1,10)|0;if(!(t&(r|0)==5)){s=r;X=58;break}if(!(hc[g&127](h)|0)){s=5;break e}}if((X|0)==58?(s|0)!=0:0)break;F=c[T>>2]|0;G=(k|0)!=0;if(G?(P=c[d+8>>2]|0,P=nc[c[(c[P>>2]|0)+20>>2]&127](P,k)|0,(P|0)!=0):0)s=P;else X=61;f:do if((X|0)==61){P=ow(N|0,0,S|0,0)|0;s=Q;c[s>>2]=P;c[s+4>>2]=C;s=c[M>>2]|0;s=nc[c[(c[s>>2]|0)+24>>2]&127](s,R)|0;if(!s){P=R;K=c[P+4>>2]|0;R=Q;L=c[R+4>>2]|0;if((K|0)<(L|0)|((K|0)==(L|0)?(c[P>>2]|0)>>>0<(c[R>>2]|0)>>>0:0)){R=c[M>>2]|0;Yb[c[(c[R>>2]|0)+40>>2]&63](R,5,Q)|0}B=p+4|0;D=S|24;E=d+8|0;t=c[B>>2]|0;g:do if((t|0)>0){s=0;while(1){A=c[p>>2]|0;z=-1;h:while(1){i:while(1){t=t+-1|0;x=p+(t*20|0)+8|0;l=c[x>>2]|0;r=c[p+(t*20|0)+20>>2]|0;j:do if((l|0)<(r|0)){w=c[p+(t*20|0)+12>>2]|0;y=c[p+(t*20|0)+16>>2]|0;while(1){u=e[w+(l<<1)>>1]|0;v=c[y+(u<<2)>>2]|0;if(v>>>0>A>>>0)break;l=l+1|0;c[x>>2]=l;if((l|0)>=(r|0))break j}if(v>>>0<z>>>0)break i}while(0);if((t|0)<=0){l=s;t=z;break h}}s=(c[p+(t*20|0)+24>>2]|0)+u|0;if((t|0)>0)z=v;else{l=s;t=v;break}}c[p>>2]=t;if((t|0)==-1)break g;if(!(l>>>0<=F>>>0|l>>>0>I>>>0|t>>>0>N>>>0)){s=ow(l+-1|0,0,D|0,0)|0;s=fw(s|0,C|0,56,0)|0;R=c[E>>2]|0;s=pc[c[(c[R>>2]|0)+8>>2]&31](R,m,S,s,C)|0;if(s)break f;s=ow(t+-1|0,0,S|0,0)|0;R=c[M>>2]|0;s=pc[c[(c[R>>2]|0)+12>>2]&31](R,m,S,s,C)|0;if(s)break f}t=c[B>>2]|0;if((t|0)<=0){X=66;break}else s=l}}else X=66;while(0);if((X|0)==66)c[p>>2]=-1;if((I|0)==(c[(c[c[U>>2]>>2]|0)+16>>2]|0)){s=ow(c[O>>2]|0,0,S|0,0)|0;X=c[M>>2]|0;s=Yb[c[(c[X>>2]|0)+16>>2]&63](X,s,C)|0;if((s|0)==0&G){s=c[M>>2]|0;s=nc[c[(c[s>>2]|0)+20>>2]&127](s,k)|0}if(s)break}c[T>>2]=I;s=0}}while(0);if(!(a[$>>0]|0)){X=c[M>>2]|0;lc[c[(c[X>>2]|0)+56>>2]&31](X,3,1,9)|0}}else s=t;while(0);s=(s|0)==5?0:s;X=88}else q=t}else{p=0;s=0;X=88}while(0);k:do if((X|0)==88)if((s|0)==0&(Y|0)!=0)if((c[T>>2]|0)>>>0>=(c[V>>2]|0)>>>0)if((Y|0)>1){_c(4,W);t=d+4|0;r=(g|0)!=0;while(1){if(a[$>>0]|0)break;s=c[t>>2]|0;s=lc[c[(c[s>>2]|0)+56>>2]&31](s,4,4,10)|0;if(!(r&(s|0)==5)){q=s;X=95;break}if(!(hc[g&127](h)|0)){q=5;X=100;break k}}if((X|0)==95?(q|0)!=0:0){X=100;break}if((Y|0)==3){To(d,c[W>>2]|0);q=c[d+8>>2]|0;q=Yb[c[(c[q>>2]|0)+16>>2]&63](q,0,0)|0}else q=0;if(!(a[$>>0]|0)){X=c[t>>2]|0;lc[c[(c[X>>2]|0)+56>>2]&31](X,4,4,9)|0;X=100}else X=100}else{q=0;X=100}else{q=5;X=100}else{q=s;X=100}while(0);if((X|0)==100)Sc(p);if((q|0)==0|(q|0)==5){if(n)c[n>>2]=c[V>>2];if(o)c[o>>2]=c[(c[c[U>>2]>>2]|0)+96>>2]}}else q=t;while(0);if(c[_>>2]|0){z=d+52|0;y=z+48|0;do{c[z>>2]=0;z=z+4|0}while((z|0)<(y|0))}p=d+44|0;if(a[p>>0]|0){if(!(a[$>>0]|0)){_=c[d+4>>2]|0;lc[c[(c[_>>2]|0)+56>>2]&31](_,0,1,9)|0}a[p>>0]=0;a[d+47>>0]=0}if(!(a[$>>0]|0)){$=c[d+4>>2]|0;lc[c[(c[$>>2]|0)+56>>2]&31]($,1,1,9)|0}a[Z>>0]=0;p=(q|0)!=0|(Y|0)==(f|0)?q:5}else p=8;while(0);i=aa;return p|0}function Qn(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=(c|0)<(e|0)?c:e;g=Vv(d,f,h)|0;a:do if(!g){b:do if(b){g=c-h|0;while(1){if((g|0)<=0)break;g=g+-1|0;if((a[d+(g+h)>>0]|0)!=32)break b}if(!g){g=e-h|0;while(1){if((g|0)<=0)break;g=g+-1|0;if((a[f+(g+h)>>0]|0)!=32)break b}if(!g){g=0;break a}}}while(0);g=c-e|0}while(0);return g|0}function Rn(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Bc(c,e,(b|0)<(d|0)?b:d)|0;return ((a|0)==0?b-d|0:a)|0}function Sn(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,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;p=c[e>>2]|0;a:do if(d){n=d;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;o=n-d&1073741823;if((c[2189]|p&64|0)!=0&o>>>0>4?(Vv(d,14984,5)|0)==0:0){n=o+2|0;m=p|64;if(o){p=0;do{n=((a[d+p>>0]|0)==38&1)+n|0;p=p+1|0}while((p|0)<(o|0))}l=Pc(n)|0;if(l){do if((a[d+5>>0]|0)==47?(a[d+6>>0]|0)==47:0){n=7;while(1){s=a[d+n>>0]|0;if(s<<24>>24==0|s<<24>>24==47)break;n=n+1|0}if((n|0)==16){k=d+7|0;if(!(Vv(14992,k,9)|0)){n=0;p=16;k=0;break}}else if((n|0)==7){n=0;p=7;k=0;break}else k=d+7|0;c[w>>2]=n+-7;c[w+4>>2]=k;c[h>>2]=Wc(15008,w)|0;k=1;x=74;break a}else{n=0;p=5;k=0}while(0);b:while(1){u=l+(k+-1)|0;c:while(1){d:while(1){o=a[d+p>>0]|0;if(o<<24>>24==35|o<<24>>24==0)break b;q=p+1|0;if((o<<24>>24==37?(v=a[d+q>>0]|0,(a[10368+(v&255)>>0]&8)!=0):0)?(t=a[d+(p+2)>>0]|0,(a[10368+(t&255)>>0]&8)!=0):0){o=v;q=t;break}if(!n){p=q;x=38;break c}else if((n|0)==2){p=q;x=39;break c}else if((n|0)!=1){p=q;break c}if(!(o<<24>>24==38|o<<24>>24==61)){n=1;p=q;break c}if(!(a[u>>0]|0))p=q;else{p=q;x=36;break c}while(1){s=a[d+p>>0]|0;if(s<<24>>24==35|s<<24>>24==0)continue d;if((a[d+(p+-1)>>0]|0)==38)continue d;else p=p+1|0}}o=o<<24>>24;p=p+3|0;s=q<<24>>24;o=(0-(s>>>6&1)&9)+s&15|(0-(o>>>6&1)&9)+o<<4&240;if(o){x=30;break}q=(n|0)==0;while(1){o=a[d+p>>0]|0;if(o<<24>>24==35|o<<24>>24==0)continue c;if(q&o<<24>>24==63){n=0;continue c}if((n|0)==1){if(o<<24>>24==38|o<<24>>24==61){n=1;continue c}}else if((n|0)==2?o<<24>>24==38:0){n=2;continue c}p=p+1|0}}if((x|0)==30){x=0;o=o&255}else if((x|0)==36){x=0;if(o<<24>>24==38){a[l+k>>0]=0;o=0;n=1;k=k+1|0}else{o=0;n=2}}else if((x|0)==38){x=0;if(o<<24>>24==63)x=40;else n=0}else if((x|0)==39){x=0;if(o<<24>>24==38)x=40;else n=2}if((x|0)==40){x=0;o=0;n=1}a[l+k>>0]=o;k=k+1|0}if((n|0)==1){a[l+k>>0]=0;k=k+1|0}a[l+k>>0]=0;a[l+(k+1)>>0]=0;k=l;while(1)if(!(a[k>>0]|0))break;else k=k+1|0;k=(k-l&1073741823)+1|0;n=a[l+k>>0]|0;if(n<<24>>24){v=l+k|0;e:while(1){o=v;while(1){k=o+1|0;if(!(n<<24>>24)){n=o;break}n=a[k>>0]|0;o=k}u=n-v&1073741823;n=v+(u+1)|0;o=n;while(1)if(!(a[o>>0]|0))break;else o=o+1|0;t=o-n&1073741823;if((u|0)==5)if(!(Vv(15048,v,5)|0)){d=15056;r=393216;s=-393217;k=15048;x=58}else k=b;else if((u|0)==4)if(!(Vv(15096,v,4)|0)){d=15104;r=m&135;s=-136;k=15176;x=58}else k=b;else if((u|0)==3){k=(Vv(15040,v,3)|0)==0;k=k?n:b}else k=b;if((x|0)==58){x=0;p=c[d>>2]|0;if(!p){x=65;break}else o=0;while(1){q=p;while(1)if(!(a[q>>0]|0))break;else q=q+1|0;if((t|0)==(q-p&1073741823|0)?(Vv(n,p,t)|0)==0:0){p=o;break}o=o+1|0;p=c[d+(o<<3)>>2]|0;if(!p){x=65;break e}}p=c[d+(p<<3)+4>>2]|0;if(!p){x=65;break}if((p&-129|0)>(r|0)){x=67;break}m=p|s&m;k=b}v=v+(u+2+t)|0;n=a[v>>0]|0;if(!(n<<24>>24)){x=72;break a}else b=k}if((x|0)==65){c[w>>2]=k;c[w+4>>2]=n;c[h>>2]=Wc(15184,w)|0;k=1;x=74;break}else if((x|0)==67){c[w>>2]=k;c[w+4>>2]=n;c[h>>2]=Wc(15208,w)|0;k=3;x=74;break}}else{k=b;x=72}}else k=7}else{m=o;x=70}}else{m=0;x=70}while(0);if((x|0)==70){l=Pc(m+2|0)|0;if(!l)k=7;else{gw(l|0,d|0,m|0)|0;a[l+m>>0]=0;a[l+(m+1)>>0]=0;m=p&-65;k=b;x=72}}if((x|0)==72){s=Gc(k)|0;c[f>>2]=s;if(!s){c[w>>2]=k;c[h>>2]=Wc(15232,w)|0;k=1;x=74}else{k=0;x=75}}if((x|0)==74){Sc(l);l=0;x=75}if((x|0)==75){c[e>>2]=m;c[g>>2]=l}i=y;return k|0}function Tn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;do if(!d){d=mg(84,0)|0;if(!d)e=8;else{b=d+0|0;g=b+84|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(g|0));e=9}}else{f=c[d+4>>2]|0;c[f+4>>2]=c[d>>2];e=f+48|0;d=c[e>>2]|0;if(!d){d=mg(84,0)|0;if(!d){c[e>>2]=0;c[f+52>>2]=22;e=8;break}else{b=d+0|0;g=b+84|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(g|0));c[e>>2]=d;c[f+52>>2]=22;e=9;break}}else e=9}while(0);if((e|0)==8){a[b+65>>0]=1;d=0}else if((e|0)==9)if(!(a[d+76>>0]|0)){e=d+77|0;b=d+8|0;g=b+64|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(g|0));a[e>>0]=1}return d|0}function Un(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;m=i;i=i+16|0;if((i|0)>=(j|0))ba();if(e){k=b+428|0;h=Zm(k,e,m)|0;if(!h)g=0;else g=c[h+8>>2]|0;if((g|0)==0&(f|0)!=0){h=e;while(1)if(!(a[h>>0]|0))break;else h=h+1|0;h=h-e&1073741823;f=h+61|0;g=ih(b,f,0)|0;if(g){bw(g|0,0,f|0)|0;f=g+60|0;c[g>>2]=f;a[g+4>>0]=1;c[g+20>>2]=f;a[g+24>>0]=2;c[g+40>>2]=f;a[g+44>>0]=3;gw(f|0,e|0,h|0)|0;a[g+(h+60)>>0]=0;h=Ek(k,c[g>>2]|0,g)|0;if(!h)l=10;else{a[b+65>>0]=1;ig(b,h);g=0}}else g=0}else l=10}else{g=c[b+8>>2]|0;l=10}if((l|0)==10)if(!g)g=0;else g=g+(((d&255)+-1|0)*20|0)|0;i=m;return g|0}function Vn(f,g,h){f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+64|0;if((i|0)>=(j|0))ba();y=A;m=A+48|0;q=A+24|0;v=A+8|0;n=(g|0)==1;t=n?13184:13208;c[m>>2]=t;c[m+4>>2]=13224;c[m+8>>2]=n?13064:12960;c[m+12>>2]=0;c[v>>2]=f;c[v+8>>2]=g;u=v+12|0;c[u>>2]=0;c[v+4>>2]=h;Xm(v,3,m,0)|0;m=c[u>>2]|0;a:do if(!m){w=f+16|0;m=Wh(f,t,c[(c[w>>2]|0)+(g<<4)>>2]|0)|0;if(m){s=m+44|0;a[s>>0]=d[s>>0]|1}l=c[w>>2]|0;x=l+(g<<4)+4|0;m=c[x>>2]|0;if(!m){if(!n){k=0;break}k=(c[l+28>>2]|0)+78|0;b[k>>1]=e[k>>1]|1;k=0;break}c[(c[m+4>>2]|0)+4>>2]=c[m>>2];do if(!(a[m+8>>0]|0)){m=ug(m,0)|0;if((m|0)==516)k=16344;else if(!m){m=c[x>>2]|0;s=1;break}else z=10;if((z|0)==10){k=m&255;if(k>>>0>26|(k|0)==2)k=16328;else k=c[15488+(k<<2)>>2]|0}c[y>>2]=k;$g(h,f,10344,y);k=m;z=38;break a}else s=0;while(0);sm(m,1,q);r=q+4|0;sm(c[x>>2]|0,2,r);o=q+8|0;sm(c[x>>2]|0,3,o);sm(c[x>>2]|0,4,q+12|0);n=q+16|0;sm(c[x>>2]|0,5,n);p=l+(g<<4)+12|0;m=c[p>>2]|0;c[m>>2]=c[q>>2];l=c[n>>2]|0;do if(l){if(!g){n=l&3;n=(n|0)==0?1:n&255;a[f+62>>0]=n;z=19;break}n=a[f+62>>0]|0;if((l|0)==(n&255|0))z=19;else{$g(h,f,13232,y);k=1}}else{n=(c[(c[w>>2]|0)+(g<<4)+12>>2]|0)+78|0;b[n>>1]=e[n>>1]|4;n=a[f+62>>0]|0;z=19}while(0);do if((z|0)==19){a[m+77>>0]=n;n=m+80|0;if(!(c[n>>2]|0)){m=c[o>>2]|0;if((m|0)<=-1)m=(m|0)==-2147483648?2147483647:0-m|0;m=(m|0)==0?2e3:m;c[n>>2]=m;lq(c[x>>2]|0,m);m=c[p>>2]|0}l=c[r>>2]|0;n=l&255;m=m+76|0;if(n<<24>>24){a[m>>0]=n;if((n&255)>4){$g(h,f,13304,y);k=1;break}}else a[m>>0]=1;if((g|0)==0&(l|0)>3){r=f+24|0;c[r>>2]=c[r>>2]&-32769}c[y>>2]=c[(c[w>>2]|0)+(g<<4)>>2];c[y+4>>2]=t;m=qh(f,13328,y)|0;t=f+284|0;r=c[t>>2]|0;c[t>>2]=0;l=Me(f,m,22,v,0)|0;c[t>>2]=r;l=(l|0)==0?c[u>>2]|0:l;ig(f,m);m=(l|0)==0;if(m)Ym(f,g)|0;if(!(a[f+65>>0]|0)){if(!m){k=l;z=34}}else{Ag(f);k=7;z=34}if((z|0)==34?(c[f+24>>2]&65536|0)==0:0)break;k=(c[(c[w>>2]|0)+(g<<4)+12>>2]|0)+78|0;b[k>>1]=e[k>>1]|1;k=0}while(0);if(!s)z=38;else{qn(c[x>>2]|0)|0;z=38}}else{k=m;z=38}while(0);if((z|0)==38)if((k|0)==7|(k|0)==3082)a[f+65>>0]=1;i=A;return k|0}function Wn(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+80|0;if((i|0)>=(j|0))ba();n=o;c[12066]=c[2708];if(!(c[12067]|0))c[12067]=Hb(48336)|0;if(!(c[12068]|0))c[12068]=Hb(48352)|0;g=n+12|0;h=0;f=0;do{if((((f|0)!=0?(nc[c[47552+52>>2]&127](f,n)|0)==0:0)?(c[g>>2]&61440|0)==16384:0)?(nc[c[47552+28>>2]&127](f,7)|0)==0:0)break;f=c[48264+(h<<2)>>2]|0;h=h+1|0}while(h>>>0<7);m=(f|0)==0?28928:f;if(((cw(m|0)|0)+25|0)>>>0<b>>>0){b=b+-18|0;do{c[n>>2]=m;Yc(b,e,48248,n)|0;g=cw(e|0)|0;f=e+g|0;_c(15,f);l=e+(g+15)|0;k=0;h=g;while(1){a[f>>0]=a[48184+(((d[f>>0]|0)%62|0)&255)>>0]|0;k=k+1|0;h=h+1|0;if((k|0)==15)break;else f=e+h|0}a[l>>0]=0;a[e+(g+16)>>0]=0}while((nc[c[47552+28>>2]&127](e,0)|0)==0);f=0}else f=1;i=o;return f|0}function Xn(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;m=i;i=i+80|0;if((i|0)>=(j|0))ba();k=m;h=(d|0)!=0;f=h?d:420;g=b|524288;while(1){e=Yb[c[47552+4>>2]&63](a,g,f)|0;if((e|0)<0)if((c[(Db()|0)>>2]|0)==4)continue;else break;if((e|0)>2){l=6;break}hc[c[47552+16>>2]&127](e)|0;c[k>>2]=a;c[k+4>>2]=e;Zc(28,48120,k);if((Yb[c[47552+4>>2]&63](48168,b,d)|0)<0){e=-1;break}}if((l|0)==6)if(((h?(nc[c[47552+64>>2]&127](e,k)|0)==0:0)?(c[k+36>>2]|0)==0:0)?(c[k+12>>2]&511|0)!=(d|0):0)nc[c[47552+172>>2]&127](e,d)|0;i=m;return e|0}function Yn(a,b,d){a=a|0;b=b|0;d=d|0;if(hc[c[47552+16>>2]&127](b)|0){if(!a)b=0;else b=c[a+32>>2]|0;_n(4106,47856,b,d)|0}return}function Zn(a){a=a|0;var d=0,f=0,g=0,h=0;h=i;i=i+80|0;if((i|0)>=(j|0))ba();g=h;d=h+4|0;f=a+18|0;do if(!(b[f>>1]&256)){if(nc[c[47552+64>>2]&127](c[a+12>>2]|0,d)|0){c[g>>2]=c[a+32>>2];Zc(28,48592,g);b[f>>1]=e[f>>1]|0|256;break}d=c[d+16>>2]|0;if(!d){if(!(b[f>>1]&32)){c[g>>2]=c[a+32>>2];Zc(28,48616,g);b[f>>1]=e[f>>1]|0|256;break}}else if(d>>>0>1){c[g>>2]=c[a+32>>2];Zc(28,48648,g);b[f>>1]=e[f>>1]|0|256;break}if(to(a)|0){c[g>>2]=c[a+32>>2];Zc(28,48680,g);b[f>>1]=e[f>>1]|0|256}}while(0);i=h;return}function _n(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;f=i;i=i+32|0;if((i|0)>=(j|0))ba();g=f;k=c[(Db()|0)>>2]|0;h=Nb(k|0)|0;c[g>>2]=e;c[g+4>>2]=k;c[g+8>>2]=b;c[g+12>>2]=(d|0)==0?10360:d;c[g+16>>2]=h;Zc(a,47864,g);i=f;return a|0}function $n(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=a+40|0;d=c[i>>2]|0;h=d<<1;h=h>>>0<256?256:h;if((d|0)!=0?(b=c[3164]|0,(b|0)!=0):0)jc[b&3]();b=h<<2;g=mg(b,0)|0;d=(g|0)==0;if(!d)bw(g|0,0,b|0)|0;if((c[i>>2]|0)!=0?(e=c[3166]|0,(e|0)!=0):0)jc[e&3]();if(!d){e=c[i>>2]|0;f=a+44|0;b=c[f>>2]|0;if(e){a=0;do{d=c[b+(a<<2)>>2]|0;if(d){do{k=d+16|0;j=d;d=c[k>>2]|0;b=g+((((c[j+8>>2]|0)>>>0)%(h>>>0)|0)<<2)|0;c[k>>2]=c[b>>2];c[b>>2]=j}while((d|0)!=0);b=c[f>>2]|0}a=a+1|0}while(a>>>0<e>>>0)}Sc(b);c[f>>2]=g;c[i>>2]=h}return}function ao(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;g=a+24|0;h=a+16|0;d=a+4|0;a:do if((c[h>>2]|0)>>>0>(c[d>>2]|0)>>>0)do{e=c[g>>2]|0;if(!e)break a;bo(e);f=c[e+20>>2]|0;b=(c[f+44>>2]|0)+((((c[e+8>>2]|0)>>>0)%((c[f+40>>2]|0)>>>0)|0)<<2)|0;while(1){i=c[b>>2]|0;a=i+16|0;if((i|0)==(e|0))break;else b=a}c[b>>2]=c[a>>2];a=f+36|0;c[a>>2]=(c[a>>2]|0)+-1;eo(e)}while((c[h>>2]|0)>>>0>(c[d>>2]|0)>>>0);while(0);return}function bo(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=c[b+20>>2]|0;f=c[e>>2]|0;g=b+28|0;h=c[g>>2]|0;i=b+24|0;d=c[i>>2]|0;if(!h)c[f+20>>2]=d;else{c[h+24>>2]=d;d=c[i>>2]|0}if(!d)c[f+24>>2]=h;else c[d+28>>2]=h;c[i>>2]=0;c[g>>2]=0;a[b+12>>0]=1;d=e+32|0;c[d>>2]=(c[d>>2]|0)+-1;return}function co(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,m=0,n=0,o=0,p=0,q=0,r=0;k=c[b>>2]|0;q=b+36|0;i=c[q>>2]|0;g=c[b+32>>2]|0;h=i-g|0;o=(e|0)==1;if(o)if(h>>>0<(c[k+12>>2]|0)>>>0?h>>>0<(c[b+24>>2]|0)>>>0:0){if((c[3155]|0)!=0?((c[b+8>>2]|0)+(c[b+4>>2]|0)|0)<=(c[3154]|0):0)e=12648|0;else e=9060|0;if(!((c[e>>2]|0)!=0&g>>>0<h>>>0))n=8;else f=0}else f=0;else n=8;do if((n|0)==8){m=b+40|0;if(i>>>0>=(c[m>>2]|0)>>>0)$n(b);j=b+12|0;do if((c[j>>2]|0)!=0?(f=c[k+24>>2]|0,(f|0)!=0):0){if(((c[q>>2]|0)+1|0)>>>0<(c[b+20>>2]|0)>>>0?(c[k+16>>2]|0)>>>0<(c[k+4>>2]|0)>>>0:0){if((c[3155]|0)!=0?((c[b+8>>2]|0)+(c[b+4>>2]|0)|0)<=(c[3154]|0):0)e=12648|0;else e=9060|0;if(!(c[e>>2]|0)){n=23;break}}e=f+20|0;g=c[e>>2]|0;h=(c[g+44>>2]|0)+((((c[f+8>>2]|0)>>>0)%((c[g+40>>2]|0)>>>0)|0)<<2)|0;while(1){r=c[h>>2]|0;i=r+16|0;if((r|0)==(f|0))break;else h=i}c[h>>2]=c[i>>2];i=g+36|0;c[i>>2]=(c[i>>2]|0)+-1;bo(f);e=c[e>>2]|0;if(((c[e+8>>2]|0)+(c[e+4>>2]|0)|0)==((c[b+8>>2]|0)+(c[b+4>>2]|0)|0)){l=k+16|0;c[l>>2]=(c[j>>2]|0)-(c[e+12>>2]|0)+(c[l>>2]|0);break}else{eo(f);n=23;break}}else n=23;while(0);if((n|0)==23){if(o?(l=c[3164]|0,(l|0)!=0):0)jc[l&3]();e=b+4|0;g=Co((c[e>>2]|0)+32+(c[b+8>>2]|0)|0)|0;e=c[e>>2]|0;f=g+e|0;if(g){c[f>>2]=g;c[g+(e+4)>>2]=g+(e+32);if(c[j>>2]|0){n=(c[b>>2]|0)+16|0;c[n>>2]=(c[n>>2]|0)+1}}else f=0;if(o?(p=c[3166]|0,(p|0)!=0):0)jc[p&3]();if(!f){f=0;break}}g=(d>>>0)%((c[m>>2]|0)>>>0)|0;c[q>>2]=(c[q>>2]|0)+1;c[f+8>>2]=d;n=b+44|0;c[f+16>>2]=c[(c[n>>2]|0)+(g<<2)>>2];c[f+20>>2]=b;c[f+28>>2]=0;c[f+24>>2]=0;a[f+12>>0]=1;c[c[f+4>>2]>>2]=0;c[(c[n>>2]|0)+(g<<2)>>2]=f;g=b+28|0;if((c[g>>2]|0)>>>0<d>>>0)c[g>>2]=d}while(0);return f|0}function eo(a){a=a|0;var b=0;if((a|0)!=0?(b=c[a+20>>2]|0,Xk(c[a>>2]|0),(c[b+12>>2]|0)!=0):0){b=(c[b>>2]|0)+16|0;c[b>>2]=(c[b>>2]|0)+-1}return}function fo(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=b+40|0;if(c[h>>2]|0){i=b+44|0;f=b+36|0;g=0;do{e=(c[i>>2]|0)+(g<<2)|0;b=c[e>>2]|0;a:do if(b)do{while(1){if((c[b+8>>2]|0)>>>0<d>>>0)break;c[f>>2]=(c[f>>2]|0)+-1;c[e>>2]=c[b+16>>2];if(!(a[b+12>>0]|0))bo(b);eo(b);b=c[e>>2]|0;if(!b)break a}e=b+16|0;b=c[e>>2]|0}while((b|0)!=0);while(0);g=g+1|0}while(g>>>0<(c[h>>2]|0)>>>0)}return}function go(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=c[b>>2]|0;g=c[(c[f+32>>2]|0)+88>>2]|0;h=((g|0)<0)<<31>>31;if(!((h|0)<(e|0)|(h|0)==(e|0)&g>>>0<d>>>0)){d=mg(d,e)|0;if(!d){Nd(b);d=0}}else{c[b+20>>2]=18;a[b+25>>0]=1;Tg(f,10096,-1,1,0)|0;d=0}return d|0}function ho(b){b=b|0;var c=0,d=0,e=0,f=0;do if(b){c=a[b>>0]|0;d=c<<24>>24;if((d|0)==96|(d|0)==34|(d|0)==39)f=c;else if((d|0)==91)f=93;else break;d=1;e=0;while(1){c=a[b+d>>0]|0;if(c<<24>>24==f<<24>>24){d=d+1|0;c=b+e|0;if((a[b+d>>0]|0)!=f<<24>>24)break;a[c>>0]=f}else a[b+e>>0]=c;d=d+1|0;e=e+1|0}a[c>>0]=0}while(0);return}function io(b,f,g,k){b=b|0;f=f|0;g=g|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0.0,t=0.0,u=0.0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,O=0,P=0,Q=0,R=0,S=0,T=0;S=i;i=i+176|0;if((i|0)>=(j|0))ba();P=S+64|0;q=S+132|0;p=S+128|0;o=S+124|0;r=S+56|0;L=S+48|0;Q=S+136|0;O=S;n=k+0|0;m=n+48|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(m|0));a:do if(f){l=c[g>>2]|0;b:do if(((d[10064+(e[l+8>>1]&31)>>0]|0)+-1|0)>>>0>=2){n=Og(l,1)|0;if(!n){l=1;break a}m=(a[n>>0]|0)==45;l=m?n+1|0:n;c[P>>2]=4;c[P+4>>2]=0;c[P+8>>2]=9999;c[P+12>>2]=45;c[P+16>>2]=q;c[P+20>>2]=2;c[P+24>>2]=1;c[P+28>>2]=12;c[P+32>>2]=45;c[P+36>>2]=p;c[P+40>>2]=2;c[P+44>>2]=1;c[P+48>>2]=31;c[P+52>>2]=0;c[P+56>>2]=o;do if((nq(l,P)|0)==3){l=l+10|0;while(1){I=a[l>>0]|0;if(I<<24>>24==84?1:(a[10368+(I&255)>>0]&1)!=0)l=l+1|0;else break}if(oq(l,k)|0){if(a[l>>0]|0)break;a[k+41>>0]=0}a[k+42>>0]=0;a[k+40>>0]=1;I=c[q>>2]|0;c[k+8>>2]=m?0-I|0:I;c[k+12>>2]=c[p>>2];c[k+16>>2]=c[o>>2];if(!(a[k+43>>0]|0))break b;jo(k);break b}while(0);if(oq(n,k)|0){if(!($c(n,20080)|0))if(!(mq(b,k)|0))break;else{l=1;break a}else l=n;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;if(!(Pl(n,r,l-n&1073741823,1)|0)){l=1;break a}s=+h[r>>3]*864.0e5+.5;H=+N(s)>=1.0?(s>0.0?~~+$(+M(s/4294967296.0),4294967295.0)>>>0:~~+Z((s-+(~~s>>>0))/4294967296.0)>>>0):0;I=k;c[I>>2]=~~s>>>0;c[I+4>>2]=H;a[k+42>>0]=1}}else{s=+Qg(l)*864.0e5+.5;H=+N(s)>=1.0?(s>0.0?~~+$(+M(s/4294967296.0),4294967295.0)>>>0:~~+Z((s-+(~~s>>>0))/4294967296.0)>>>0):0;I=k;c[I>>2]=~~s>>>0;c[I+4>>2]=H;a[k+42>>0]=1}while(0);if((f|0)>1){l=k+40|0;v=k+41|0;w=k+43|0;x=k+42|0;y=Q+8|0;z=y;A=Q+9|0;B=k+24|0;D=k+20|0;E=k+32|0;F=k+16|0;G=k+12|0;H=Q+1|0;I=k+8|0;J=1;while(1){p=Og(c[g+(J<<2)>>2]|0,1)|0;if(!p){l=1;break a}c[P>>2]=1;r=0;do{q=a[p+r>>0]|0;if(!(q<<24>>24))break;a[Q+r>>0]=a[9328+(q&255)>>0]|0;r=r+1|0}while((r|0)<29);a[Q+r>>0]=0;c:do switch(a[Q>>0]|0){case 108:{if(!(Wv(Q,19936)|0)){jo(k);m=pq(k,b,P)|0;R=k;m=fw(c[R>>2]|0,c[R+4>>2]|0,m|0,C|0)|0;R=k;c[R>>2]=m;c[R+4>>2]=C;a[l>>0]=0;a[v>>0]=0;a[w>>0]=0;R=82}else R=82;break}case 117:{if((Wv(Q,19952)|0)==0?(a[x>>0]|0)!=0:0){m=k;m=fw(c[m>>2]|0,c[m+4>>2]|0,43200,0)|0;m=mw(m|0,C|0,86400,0)|0;m=fw(m|0,C|0,1045635584,49096)|0;r=k;c[r>>2]=m;c[r+4>>2]=C;a[l>>0]=0;a[v>>0]=0;a[w>>0]=0;c[P>>2]=0;r=0;break c}if(!(Wv(Q,19968)|0)){jo(k);q=pq(k,b,P)|0;p=C;r=c[P>>2]|0;if(!r){m=k;m=$v(c[m>>2]|0,c[m+4>>2]|0,q|0,p|0)|0;R=k;c[R>>2]=m;c[R+4>>2]=C;a[l>>0]=0;a[v>>0]=0;a[w>>0]=0;R=pq(k,b,P)|0;R=$v(q|0,p|0,R|0,C|0)|0;m=k;m=fw(R|0,C|0,c[m>>2]|0,c[m+4>>2]|0)|0;R=k;c[R>>2]=m;c[R+4>>2]=C;R=82}}else R=82;break}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:case 45:case 43:{p=1;while(1){r=Q+p|0;q=a[r>>0]|0;if(q<<24>>24==58|q<<24>>24==0){q=r;break}if(!(a[10368+(q&255)>>0]&1))p=p+1|0;else{q=r;break}}if(!(Pl(Q,L,p,1)|0)){c[P>>2]=1;r=1;break c}r=a[q>>0]|0;if(r<<24>>24==58){r=((d[Q>>0]|0)+-48|0)>>>0<10?Q:H;n=O+0|0;m=n+48|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(m|0));if(oq(r,O)|0){R=82;break c}jo(O);r=O;r=fw(c[r>>2]|0,c[r+4>>2]|0,-432e5,-1)|0;r=nw(r|0,C|0,864e5,0)|0;q=C;m=O;c[m>>2]=r;c[m+4>>2]=q;if((a[Q>>0]|0)==45){r=$v(0,0,r|0,q|0)|0;q=C;m=O;c[m>>2]=r;c[m+4>>2]=q}jo(k);a[l>>0]=0;a[v>>0]=0;a[w>>0]=0;m=k;m=fw(c[m>>2]|0,c[m+4>>2]|0,r|0,q|0)|0;r=k;c[r>>2]=m;c[r+4>>2]=C;c[P>>2]=0;r=0;break c}if(a[10368+(r&255)>>0]&1){q=Q+(p+1)|0;while(1){r=a[q>>0]|0;if(!(a[10368+(r&255)>>0]&1))break;else q=q+1|0}}if(!(r<<24>>24))r=q;else{r=q;do r=r+1|0;while((a[r>>0]|0)!=0)}r=r-q&1073741823;if((r+-3|0)>>>0>7)R=82;else{p=r+-1|0;o=q+p|0;if((a[o>>0]|0)==115){a[o>>0]=0;r=p}jo(k);c[P>>2]=0;t=+h[L>>3];u=t<0.0?-.5:.5;do if((r|0)==3)if(!(Wv(q,20024)|0)){s=t*864.0e5+u;n=+N(s)>=1.0?(s>0.0?~~+$(+M(s/4294967296.0),4294967295.0)>>>0:~~+Z((s-+(~~s>>>0))/4294967296.0)>>>0):0;m=k;n=fw(c[m>>2]|0,c[m+4>>2]|0,~~s>>>0|0,n|0)|0;m=k;c[m>>2]=n;c[m+4>>2]=C}else R=80;else if((r|0)==4){if(!(Wv(q,20032)|0)){s=t*36.0e5+u;n=+N(s)>=1.0?(s>0.0?~~+$(+M(s/4294967296.0),4294967295.0)>>>0:~~+Z((s-+(~~s>>>0))/4294967296.0)>>>0):0;m=k;n=fw(c[m>>2]|0,c[m+4>>2]|0,~~s>>>0|0,n|0)|0;m=k;c[m>>2]=n;c[m+4>>2]=C;break}if(!(Wv(q,20016)|0)){m=~~t;ko(k);lo(k);c[I>>2]=(c[I>>2]|0)+m;a[x>>0]=0;jo(k);s=+(m|0);if(s!=t){s=u+(t-s)*365.0*864.0e5;n=+N(s)>=1.0?(s>0.0?~~+$(+M(s/4294967296.0),4294967295.0)>>>0:~~+Z((s-+(~~s>>>0))/4294967296.0)>>>0):0;m=k;n=fw(c[m>>2]|0,c[m+4>>2]|0,~~s>>>0|0,n|0)|0;m=k;c[m>>2]=n;c[m+4>>2]=C}}else R=80}else if((r|0)==6){if(!(Wv(q,20040)|0)){s=t*6.0e4+u;n=+N(s)>=1.0?(s>0.0?~~+$(+M(s/4294967296.0),4294967295.0)>>>0:~~+Z((s-+(~~s>>>0))/4294967296.0)>>>0):0;m=k;n=fw(c[m>>2]|0,c[m+4>>2]|0,~~s>>>0|0,n|0)|0;m=k;c[m>>2]=n;c[m+4>>2]=C;break}if(!(Wv(q,20048)|0)){s=t*1.0e3+u;n=+N(s)>=1.0?(s>0.0?~~+$(+M(s/4294967296.0),4294967295.0)>>>0:~~+Z((s-+(~~s>>>0))/4294967296.0)>>>0):0;m=k;n=fw(c[m>>2]|0,c[m+4>>2]|0,~~s>>>0|0,n|0)|0;m=k;c[m>>2]=n;c[m+4>>2]=C}else R=80}else if((r|0)==5?(Wv(q,20008)|0)==0:0){ko(k);lo(k);m=~~t;n=(c[G>>2]|0)+m|0;o=(((n|0)>0?-1:-12)+n|0)/12|0;c[I>>2]=(c[I>>2]|0)+o;c[G>>2]=(_(o,-12)|0)+n;a[x>>0]=0;jo(k);s=+(m|0);if(s!=t){s=u+(t-s)*30.0*864.0e5;n=+N(s)>=1.0?(s>0.0?~~+$(+M(s/4294967296.0),4294967295.0)>>>0:~~+Z((s-+(~~s>>>0))/4294967296.0)>>>0):0;m=k;n=fw(c[m>>2]|0,c[m+4>>2]|0,~~s>>>0|0,n|0)|0;m=k;c[m>>2]=n;c[m+4>>2]=C}}else R=80;while(0);if((R|0)==80)c[P>>2]=1;a[l>>0]=0;a[v>>0]=0;a[w>>0]=0;R=82}break}case 119:{if(!(Xv(Q,19976,8)|0)){r=y;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;if((Pl(y,L,r-z&1073741823,1)|0)!=0?(s=+h[L>>3],K=~~s,+(K|0)==s&(K|0)>-1&s<7.0):0){ko(k);lo(k);a[w>>0]=0;a[x>>0]=0;jo(k);m=k;r=c[m>>2]|0;m=c[m+4>>2]|0;p=fw(r|0,m|0,1296e5,0)|0;p=mw(p|0,C|0,864e5,0)|0;p=nw(p|0,C|0,7,0)|0;n=C;T=((K|0)<0)<<31>>31;o=(n|0)>(T|0)|(n|0)==(T|0)&p>>>0>K>>>0;q=fw(p|0,n|0,-7,-1)|0;n=$v(K|0,T|0,(o?q:p)|0,(o?C:n)|0)|0;n=ow(n|0,C|0,864e5,0)|0;m=fw(n|0,C|0,r|0,m|0)|0;r=k;c[r>>2]=m;c[r+4>>2]=C;a[l>>0]=0;a[v>>0]=0;a[w>>0]=0;c[P>>2]=0;r=0}else R=82}else R=82;break}case 115:{if(!(Xv(Q,19992,9)|0)){ko(k);a[v>>0]=1;c[B>>2]=0;c[D>>2]=0;h[E>>3]=0.0;a[w>>0]=0;a[x>>0]=0;if(!(Wv(A,20008)|0)){c[F>>2]=1;c[P>>2]=0;r=0;break c}if(!(Wv(A,20016)|0)){ko(k);c[G>>2]=1;c[F>>2]=1;c[P>>2]=0;r=0;break c}if(!(Wv(A,20024)|0)){c[P>>2]=0;r=0}else R=82}else R=82;break}default:R=82}while(0);if((R|0)==82){R=0;r=c[P>>2]|0}J=J+1|0;if(r){l=1;break a}if((J|0)>=(f|0)){l=0;break a}}}else l=0}else l=mq(b,k)|0;while(0);i=S;return l|0}function jo(b){b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0.0;i=b+42|0;if(!(a[i>>0]|0)){j=b+40|0;if(a[j>>0]|0){e=c[b+8>>2]|0;d=c[b+12>>2]|0;f=c[b+16>>2]|0;if((d|0)<3)g=4}else{f=1;d=1;e=2e3;g=4}if((g|0)==4){d=d+12|0;e=e+-1|0}n=(+(f+2+((e|0)/-100|0)+((e|0)/400|0)+(((e*36525|0)+172251900|0)/100|0)+(((d*306001|0)+306001|0)/1e4|0)|0)+-1524.5)*864.0e5;e=~~n>>>0;f=+N(n)>=1.0?(n>0.0?~~+$(+M(n/4294967296.0),4294967295.0)>>>0:~~+Z((n-+(~~n>>>0))/4294967296.0)>>>0):0;d=b;c[d>>2]=e;c[d+4>>2]=f;a[i>>0]=1;d=b+41|0;if((a[d>>0]|0)!=0?(k=_(c[b+20>>2]|0,36e5)|0,k=((c[b+24>>2]|0)*6e4|0)+k|0,n=+h[b+32>>3]*1.0e3,l=fw(~~n>>>0|0,(+N(n)>=1.0?(n>0.0?~~+$(+M(n/4294967296.0),4294967295.0)>>>0:~~+Z((n-+(~~n>>>0))/4294967296.0)>>>0):0)|0,e|0,f|0)|0,k=fw(l|0,C|0,k|0,((k|0)<0)<<31>>31|0)|0,l=C,m=b,c[m>>2]=k,c[m+4>>2]=l,m=b+43|0,(a[m>>0]|0)!=0):0){f=(c[b+28>>2]|0)*6e4|0;f=$v(k|0,l|0,f|0,((f|0)<0)<<31>>31|0)|0;e=b;c[e>>2]=f;c[e+4>>2]=C;a[j>>0]=0;a[d>>0]=0;a[m>>0]=0}}return}function ko(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;g=b+40|0;if(!(a[g>>0]|0)){if(!(a[b+42>>0]|0)){d=2e3;e=1;f=1}else{d=b;d=fw(c[d>>2]|0,c[d+4>>2]|0,432e5,0)|0;d=mw(d|0,C|0,864e5,0)|0;h=~~((+(d|0)+-1867216.25)/36524.25);h=d+1525+h+((h|0)/-4|0)|0;d=~~((+(h|0)+-122.1)/365.25);h=h-((d*36525|0)/100|0)|0;f=~~(+(h|0)/30.6001);e=((f|0)<14?-1:-13)+f|0;d=((e|0)>2?-4716:-4715)+d|0;f=h-~~(+(f|0)*30.6001)|0}c[b+16>>2]=f;c[b+12>>2]=e;c[b+8>>2]=d;a[g>>0]=1}return}function lo(b){b=b|0;var d=0,e=0,f=0,g=0,i=0.0;d=b+41|0;if(!(a[d>>0]|0)){jo(b);g=b;g=fw(c[g>>2]|0,c[g+4>>2]|0,432e5,0)|0;g=nw(g|0,C|0,864e5,0)|0;i=+(g|0)/1.0e3;g=~~i;f=(g|0)/3600|0;c[b+20>>2]=f;f=(_(f,-3600)|0)+g|0;e=(f|0)/60|0;c[b+24>>2]=e;h[b+32>>3]=i-+(g|0)+ +(f+(_(e,-60)|0)|0);a[d>>0]=1}return}function mo(a){a=a|0;ig(c[a+52>>2]|0,a);return}function no(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0,i=0;i=b+65|0;do if(!(a[i>>0]|0)){if(!d){h=ih(b,f,g)|0;break}if((c[b+276>>2]|0)>>>0<=d>>>0?(c[b+280>>2]|0)>>>0>d>>>0:0){i=b+248|0;if(!(0<g>>>0|(0==(g|0)?(e[i>>1]|0)>>>0<f>>>0:0))){h=d;break}h=ih(b,f,g)|0;if(!h){h=0;break}gw(h|0,d|0,e[i>>1]|0)|0;ig(b,d);break}if((Hc()|0)==0?(h=ng(d,f,g)|0,(h|0)!=0):0)break;a[i>>0]=1;h=0}else h=0;while(0);return h|0}function oo(a,d){a=a|0;d=d|0;var e=0,f=0;if(!a)a=0;else{f=c[a+4>>2]|0;c[f+4>>2]=c[a>>2];f=f+22|0;a=b[f>>1]|0;if((d|0)>-1){e=a&65535;a=e&65531;b[f>>1]=a;if(d){a=(e|4)&65535;b[f>>1]=a}}a=(a&65535)>>>2&1}return a|0}function po(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;h=c[b+4>>2]|0;c[h+4>>2]=c[b>>2];h=c[h>>2]|0;f=e&3;if((f|0)!=1){g=a[h+12>>0]|0;b=h+7|0;a[b>>0]=g<<24>>24!=0&1;if((f|0)==3)g=g<<24>>24==0&1;else g=0}else{b=h+7|0;a[b>>0]=1;g=0}a[h+8>>0]=g;do if(!(a[b>>0]|0)){if(e&4){a[h+11>>0]=3;a[h+9>>0]=3;b=3;break}a[h+11>>0]=2;b=h+9|0;if(!(e&8)){a[b>>0]=2;b=2;break}else{a[b>>0]=3;b=2;break}}else{a[h+11>>0]=0;a[h+9>>0]=0;b=0}while(0);if(g<<24>>24)b=(b&255|32)&255;a[h+10>>0]=b;b=h+20|0;f=d[b>>0]|0;a[b>>0]=(e&16|0)==0?f|1:f&254;return}function qo(a){a=a|0;var b=0,d=0;d=a+12|0;b=c[d>>2]|0;if((b|0)>-1){Yn(a,b,27311);c[d>>2]=-1}Sc(c[a+28>>2]|0);b=a+0|0;d=b+44|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));return}function ro(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,i=0,j=0;i=f&131071;while(1){h=_a(a|0,b|0,0)|0;if(!((h|0)==(b|0)&(((h|0)<0)<<31>>31|0)==(d|0))){j=3;break}h=Yb[c[47552+136>>2]&63](a,e,i)|0;if((h|0)>=0)break;f=c[(Db()|0)>>2]|0;if((f|0)!=4){j=9;break}}if((j|0)==3)if(!g)h=-1;else{if((h|0)==-1)h=c[(Db()|0)>>2]|0;else h=0;c[g>>2]=h;h=-1}else if((j|0)==9)if(g)c[g>>2]=f;return h|0}function so(a,d,f){a=a|0;d=d|0;f=f|0;var g=0;g=c[f>>2]|0;do if((g|0)>=0){d=d&255;if(!g){f=a+18|0;b[f>>1]=(e[f>>1]|0)&(d^65535);break}else{f=a+18|0;b[f>>1]=e[f>>1]|0|d;break}}else c[f>>2]=((e[a+18>>1]|0)&(d&255)|0)!=0&1;while(0);return}function to(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+80|0;if((i|0)>=(j|0))ba();d=e;b=a+8|0;if(c[b>>2]|0)if(!(nc[c[47552+52>>2]&127](c[a+32>>2]|0,d)|0))b=(c[d+72>>2]|0)!=(c[(c[b>>2]|0)+4>>2]|0);else b=1;else b=0;i=e;return b&1|0}function uo(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0;m=i;i=i+32|0;if((i|0)>=(j|0))ba();l=m;k=m+8|0;h=(c[(c[a+8>>2]|0)+20>>2]|0)+12|0;if((c[h>>2]|0)>-1){c[k+0>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;b[k>>1]=d;b[k+2>>1]=0;c[k+4>>2]=f;c[k+8>>2]=g;d=a+18|0;g=((b[d>>1]&512)>>>9)+13|0;f=c[11910]|0;h=c[h>>2]|0;c[l>>2]=k;h=(Yb[f&63](h,g,l)|0)!=-1;b[d>>1]=(e[d>>1]|0)&65023;h=h?0:5}else h=0;i=m;return h|0}function vo(a){a=a|0;var d=0,f=0,g=0,h=0,i=0,j=0,k=0;k=c[(c[a+8>>2]|0)+20>>2]|0;if((k|0)!=0?(c[k+28>>2]|0)==0:0){d=dc[c[47552+292>>2]&7]()|0;if((d|0)<32768)g=1;else g=(d|0)/32768|0;h=k+20|0;if(!(b[h>>1]|0)){f=k+12|0;d=k+24|0}else{f=k+12|0;d=k+24|0;i=k+16|0;j=0;do{if((c[f>>2]|0)>-1)nc[c[47552+268>>2]&127](c[(c[d>>2]|0)+(j<<2)>>2]|0,c[i>>2]|0)|0;else Sc(c[(c[d>>2]|0)+(j<<2)>>2]|0);j=j+g|0}while((j|0)<(e[h>>1]|0))}Sc(c[d>>2]|0);d=c[f>>2]|0;if((d|0)>-1){Yn(a,d,29591);c[f>>2]=-1}c[(c[k>>2]|0)+20>>2]=0;Sc(k)}return}function wo(a){a=a|0;var b=0,d=0,e=0;d=(c[a+8>>2]|0)+28|0;b=c[d>>2]|0;if(b)do{e=b;b=c[b+8>>2]|0;Yn(a,c[e>>2]|0,26573);Sc(e)}while((b|0)!=0);c[d>>2]=0;return}function xo(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;l=i;i=i+32|0;if((i|0)>=(j|0))ba();h=l;g=l+8|0;k=c[d+8>>2]|0;f=b[d+18>>1]|0;if(!(f&1))if((a[k+13>>0]|0)!=0&(f&2)==0)f=4;else f=7;else if(!(f&2))f=4;else f=7;if((f|0)==4){f=k+13|0;if(!(a[f>>0]|0)){b[g+2>>1]=0;c[g+4>>2]=(c[2514]|0)+2;c[g+8>>2]=510;b[g>>1]=1;m=c[11910]|0;e=c[d+12>>2]|0;c[h>>2]=g;e=Yb[m&63](e,13,h)|0;if((e|0)>=0){a[f>>0]=1;f=k+24|0;c[f>>2]=(c[f>>2]|0)+1}}else e=0}else if((f|0)==7){g=c[11910]|0;f=c[d+12>>2]|0;c[h>>2]=e;e=Yb[g&63](f,13,h)|0}i=l;return e|0}function yo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;do if(b){f=c[b>>2]|0;if(!f){c[b>>2]=1;c[b+4>>2]=d;g=9;break}h=b+4|0;e=c[h>>2]|0;c[b>>2]=f+1;c[h>>2]=d;if(e){c[d>>2]=e;e=e+4|0;c[d+4>>2]=c[e>>2];f=c[e>>2]|0;if(!f)c[a+8>>2]=d;else c[f>>2]=d;c[e>>2]=d}else g=9}else g=9;while(0);if((g|0)==9){e=a+8|0;f=c[e>>2]|0;c[d>>2]=f;if(f)c[f+4>>2]=d;c[d+4>>2]=0;c[e>>2]=d}return}function zo(a,b){a=a|0;b=b|0;var d=0,e=0;if(b){if((c[b>>2]|0)>0){d=0;e=b+8|0;while(1){ig(a,c[e+4>>2]|0);ig(a,c[e+8>>2]|0);ig(a,c[e+12>>2]|0);ig(a,c[e+64>>2]|0);gg(a,c[e+16>>2]|0);Ik(a,c[e+20>>2]|0,1);Ck(a,c[e+44>>2]|0);Dk(a,c[e+48>>2]|0);d=d+1|0;if((d|0)>=(c[b>>2]|0))break;else e=e+72|0}}ig(a,b)}return}function Ao(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;d=Bo(a,d)|0;if((d|0)>0){e=a+12|0;gw((c[a+8>>2]|0)+(c[e>>2]|0)|0,b|0,d|0)|0;c[e>>2]=(c[e>>2]|0)+d}return}function Bo(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;i=b+25|0;do if(!(a[i>>0]|0)){g=a[b+24>>0]|0;if(!(g<<24>>24)){f=b+16|0;d=(c[f>>2]|0)+-1-(c[b+12>>2]|0)|0;a[i>>0]=2;c[f>>2]=0;break}j=b+8|0;h=c[j>>2]|0;h=(h|0)==(c[b+4>>2]|0)?0:h;k=b+12|0;o=c[k>>2]|0;f=((o|0)<0)<<31>>31;r=d+1|0;r=fw(o|0,f|0,r|0,((r|0)<0)<<31>>31|0)|0;p=C;f=fw(r|0,p|0,o|0,f|0)|0;o=C;m=c[b+20>>2]|0;n=((m|0)<0)<<31>>31;q=(o|0)>(n|0)|(o|0)==(n|0)&f>>>0>m>>>0;f=q?r:f;o=q?p:o;if((o|0)>(n|0)|(o|0)==(n|0)&f>>>0>m>>>0){cn(b);a[i>>0]=2;c[b+16>>2]=0;d=0;break}m=b+16|0;c[m>>2]=f;if(g<<24>>24==1)g=no(c[b>>2]|0,h,f,((f|0)<0)<<31>>31)|0;else g=Tc(h,f)|0;if(!g){cn(b);a[i>>0]=1;c[m>>2]=0;d=0;break}if((h|0)==0?(l=c[k>>2]|0,(l|0)>0):0)gw(g|0,c[j>>2]|0,l|0)|0;c[j>>2]=g;f=c[b>>2]|0;do if(!f)f=hc[c[8744+48>>2]&127](g)|0;else{if((c[f+276>>2]|0)>>>0<=g>>>0?(c[f+280>>2]|0)>>>0>g>>>0:0){f=e[f+248>>1]|0;break}f=hc[c[8744+48>>2]&127](g)|0}while(0);c[m>>2]=f}else d=0;while(0);return d|0}function Co(a){a=a|0;var b=0,d=0;if((c[3154]|0)>=(a|0)?(b=c[3160]|0,(b|0)!=0):0){c[3160]=c[b>>2];d=c[3161]|0;c[3161]=d+-1;c[3162]=(d|0)<=(c[3156]|0)&1;c[2173]=a;if((c[2183]|0)>>>0<a>>>0)c[2183]=a;d=(c[2167]|0)+1|0;c[2167]=d;if(d>>>0>(c[2177]|0)>>>0)c[2177]=d}else{b=mg(a,((a|0)<0)<<31>>31)|0;if(b){d=hc[c[8744+48>>2]&127](b)|0;c[2173]=a;if((c[2183]|0)>>>0<a>>>0)c[2183]=a;d=(c[2168]|0)+d|0;c[2168]=d;if(d>>>0>(c[2178]|0)>>>0)c[2178]=d}else b=0}return b|0}function Do(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0;h=a+20|0;if(c[h>>2]|0){f=a+24|0;i=Yb[c[8744+120>>2]&63](b,(c[f>>2]|0)+40|0,d[a+28>>0]|0)|0;if(!i)e=7;else{g=c[2217]|0;e=c[a+16>>2]|0;if((e|0)<=-1){j=ow(e|0,((e|0)<0)<<31>>31|0,-1024,-1)|0;e=(c[f>>2]|0)+(c[h>>2]|0)|0;e=mw(j|0,C|0,e|0,((e|0)<0)<<31>>31|0)|0}fc[g&15](i,e);e=a+40|0;f=c[e>>2]|0;if(f)_b[c[8744+148>>2]&31](f);c[e>>2]=i;c[a+44>>2]=0;c[h>>2]=b;e=0}}else e=0;return e|0}function Eo(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;f=c[a+208>>2]|0;if(((f|0)!=0?(b[f+40>>1]|0)>-1:0)?(e=c[f+72>>2]|0,(e|0)!=0):0){f=e;h=8}else h=4;do if((h|0)==4){f=g;c[f>>2]=0;c[f+4>>2]=0;f=c[a+60>>2]|0;e=c[f>>2]|0;if(!e){e=-1;f=-1}else{e=nc[c[e+24>>2]&127](f,g)|0;if(e)break;e=g;e=fw(c[e>>2]|0,c[e+4>>2]|0,-1,-1)|0;f=C}g=c[a+152>>2]|0;h=((g|0)<0)<<31>>31;f=fw(e|0,f|0,g|0,h|0)|0;f=mw(f|0,C|0,g|0,h|0)|0;h=8}while(0);if((h|0)==8){e=a+156|0;if(f>>>0>(c[e>>2]|0)>>>0)c[e>>2]=f;c[d>>2]=f;e=0}i=k;return e|0}function Fo(b){b=b|0;var d=0,e=0;e=b+64|0;if(!((a[b+7>>0]|0)==0?(d=c[e>>2]|0,d=nc[c[(c[d>>2]|0)+20>>2]&127](d,2)|0,(d|0)!=0):0)){d=c[e>>2]|0;d=nc[c[(c[d>>2]|0)+24>>2]&127](d,b+80|0)|0}return d|0}function Go(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,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0;G=i;i=i+48|0;if((i|0)>=(j|0))ba();E=G+16|0;D=G+8|0;B=G+36|0;w=G;v=G+32|0;u=G+28|0;A=G+24|0;g=c[b>>2]|0;c[u>>2]=0;c[A>>2]=1;y=b+64|0;e=c[y>>2]|0;e=nc[c[(c[e>>2]|0)+24>>2]&127](e,w)|0;a:do if(!e){x=b+200|0;f=c[x>>2]|0;e=qq(c[y>>2]|0,f,(c[(c[b>>2]|0)+8>>2]|0)+1|0)|0;if(!e){if(!(a[f>>0]|0))e=0;else e=lc[c[g+32>>2]&31](g,f,0,A)|0;b:do if((e|0)==0&(c[A>>2]|0)!=0){t=b+72|0;r=t;c[r>>2]=0;c[r+4>>2]=0;r=b+148|0;k=b+152|0;n=b+80|0;p=b+24|0;f=0;s=d;c:while(1){do{e=w;e=rq(b,d,c[e>>2]|0,c[e+4>>2]|0,v,u)|0;if((e|0)==101)break c;else if(e){F=27;break b}g=c[v>>2]|0;if((g|0)==-1){q=w;q=$v(c[q>>2]|0,c[q+4>>2]|0,c[r>>2]|0,0)|0;g=(c[k>>2]|0)+8|0;g=mw(q|0,C|0,g|0,((g|0)<0)<<31>>31|0)|0;c[v>>2]=g}if(!(g|d)){h=n;l=c[r>>2]|0;h=fw(l|0,0,c[h>>2]|0,c[h+4>>2]|0)|0;o=C;m=t;q=c[m>>2]|0;m=c[m+4>>2]|0;if((h|0)==(q|0)&(o|0)==(m|0)){m=w;m=$v(c[m>>2]|0,c[m+4>>2]|0,h|0,o|0)|0;g=(c[k>>2]|0)+8|0;g=mw(m|0,C|0,g|0,((g|0)<0)<<31>>31|0)|0;c[v>>2]=g;m=o}else h=q}else{h=t;l=c[r>>2]|0;m=c[h+4>>2]|0;h=c[h>>2]|0}if((h|0)==(l|0)&(m|0)==0){h=c[u>>2]|0;e=xl(b,h)|0;if(e){F=25;break a}c[p>>2]=h}}while((g|0)==0);e=s;h=0;while(1){if(e)tn(b);e=sq(b,t,0,1,0)|0;if((e|0)==101)break;else if((e|0)==522)break c;else if(e){F=27;break b}f=f+1|0;h=h+1|0;if(h>>>0<g>>>0)e=0;else{s=0;continue c}}e=w;q=c[e+4>>2]|0;s=t;c[s>>2]=c[e>>2];c[s+4>>2]=q;s=0}a[b+18>>0]=a[b+12>>0]|0;u=f}else{f=0;F=27}while(0);if((F|0)==27){a[b+18>>0]=a[b+12>>0]|0;if(!e)u=f;else break}t=c[x>>2]|0;e=qq(c[y>>2]|0,t,(c[(c[b>>2]|0)+8>>2]|0)+1|0)|0;if(!e){if(((a[b+16>>0]|0)+-1&255)>2?(z=Eg(b,0)|0,(z|0)!=0):0){f=u;e=z;break}e=yl(b,(a[t>>0]|0)!=0&1,0)|0;if(!e)if((a[t>>0]|0)!=0&(c[A>>2]|0)!=0){r=c[b>>2]|0;f=r+4|0;e=c[f>>2]<<1;s=mg(e,((e|0)<0)<<31>>31)|0;if(!s){f=u;e=7}else{bw(s|0,0,e|0)|0;p=s+(c[f>>2]|0)|0;q=r+24|0;e=pc[c[q>>2]&31](r,t,s,16385,0)|0;d:do if(!e){e=nc[c[(c[s>>2]|0)+24>>2]&127](s,D)|0;if(!e){n=(c[r+8>>2]|0)+1|0;f=D;f=fw(c[f>>2]|0,c[f+4>>2]|0,1,0)|0;f=fw(f|0,C|0,n|0,((n|0)<0)<<31>>31|0)|0;f=mg(f,C)|0;if(f){o=D;e=c[o>>2]|0;o=fw(e|0,c[o+4>>2]|0,1,0)|0;o=f+o|0;e=pc[c[(c[s>>2]|0)+8>>2]&31](s,f,e,0,0)|0;if(!e){a[f+(c[D>>2]|0)>>0]=0;k=f;A=D;z=c[A+4>>2]|0;if((z|0)>0|(z|0)==0&(c[A>>2]|0)>>>0>0){l=r+32|0;h=k;m=f;do{e=lc[c[l>>2]&31](r,m,0,B)|0;if(e){F=55;break d}do if(c[B>>2]|0){e=pc[c[q>>2]&31](r,m,p,2049,0)|0;if(e){F=55;break d}e=qq(p,o,n)|0;g=c[p>>2]|0;if(g){hc[c[g+4>>2]&127](p)|0;c[p>>2]=0}if(e){F=55;break d}if(!(a[o>>0]|0))break;if(!(Wv(o,t)|0)){e=0;F=55;break d}}while(0);if(!m)g=1;else{g=m;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;g=(g-h&1073741823)+1|0}m=m+g|0;h=m;z=h-k|0;x=((z|0)<0)<<31>>31;A=D;y=c[A+4>>2]|0}while((x|0)<(y|0)|((x|0)==(y|0)?z>>>0<(c[A>>2]|0)>>>0:0))}e=c[s>>2]|0;if(e){hc[c[e+4>>2]&127](s)|0;c[s>>2]=0}e=Yb[c[r+28>>2]&63](r,t,0)|0;Sc(f)}else F=55}else{e=7;f=0;F=55}}else{f=0;F=55}}else{f=0;F=55}while(0);if((F|0)==55)Sc(f);f=c[s>>2]|0;if(f){hc[c[f+4>>2]&127](s)|0;c[s>>2]=0}Sc(s);f=u}}else{f=u;e=0}else f=u}else f=u}else{f=0;F=25}}else{f=0;F=25}while(0);if((F|0)==25)a[b+18>>0]=a[b+12>>0]|0;if((d|0)!=0&(f|0)!=0){B=c[b+172>>2]|0;c[E>>2]=f;c[E+4>>2]=B;Zc(539,14776,E)}sp(b);i=G;return e|0}function Ho(d){d=d|0;var e=0,f=0;e=d+44|0;if(a[e>>0]|0){if(!(a[d+43>>0]|0)){f=c[d+4>>2]|0;lc[c[(c[f>>2]|0)+56>>2]&31](f,0,1,9)|0}a[e>>0]=0;a[d+47>>0]=0}e=d+40|0;f=b[e>>1]|0;if(f<<16>>16>-1){if(!(a[d+43>>0]|0)){d=c[d+4>>2]|0;lc[c[(c[d>>2]|0)+56>>2]&31](d,(f<<16>>16)+3|0,1,5)|0}b[e>>1]=-1}return}function Io(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((g|0)>5)if((g|0)>100)f=15;else{if((g|0)>9){g=g+-9|0;g=_(g*39|0,g)|0}else g=1;h=c[d>>2]|0;nc[c[h+60>>2]&127](h,g)|0;h=6}else h=6;a:do if((h|0)==6){do if(!f){f=jq(d,e)|0;do if((f|0)==5){if(!(c[c[d+32>>2]>>2]|0)){f=-1;break a}e=d+43|0;if(a[e>>0]|0){f=-1;break a}g=d+4|0;f=c[g>>2]|0;f=lc[c[(c[f>>2]|0)+56>>2]&31](f,2,1,6)|0;if((f|0)==5){f=261;break a}else if(f)break;if(a[e>>0]|0){f=-1;break a}f=c[g>>2]|0;lc[c[(c[f>>2]|0)+56>>2]&31](f,2,1,5)|0;f=-1;break a}while(0);if(f)break a;g=d+32|0;j=(c[c[g>>2]>>2]|0)+96|0;e=d+52|0;if((c[j>>2]|0)==(c[d+68>>2]|0)){i=d+43|0;h=a[i>>0]|0;if(!(h<<24>>24)){f=c[d+4>>2]|0;f=lc[c[(c[f>>2]|0)+56>>2]&31](f,3,1,6)|0;h=a[i>>0]|0}else f=0;if(h<<24>>24!=2){n=c[d+4>>2]|0;_b[c[(c[n>>2]|0)+60>>2]&31](n)}if((f|0)==5){n=g;g=5;break}else if(f)break a;if(!(Vv(c[c[g>>2]>>2]|0,e,48)|0)){b[d+40>>1]=0;f=0;break a}if(a[i>>0]|0){f=-1;break a}f=c[d+4>>2]|0;lc[c[(c[f>>2]|0)+56>>2]&31](f,3,1,5)|0;f=-1;break a}else{n=g;g=0}}else{j=d+32|0;n=j;j=(c[c[j>>2]>>2]|0)+96|0;g=0}while(0);m=d+68|0;e=c[j+8>>2]|0;i=e>>>0>(c[m>>2]|0)>>>0;e=i?0:e;i=i&1^1;h=c[j+12>>2]|0;if(e>>>0<=h>>>0){l=h>>>0>(c[m>>2]|0)>>>0;i=l?i:2;e=l?e:h}h=c[j+16>>2]|0;if(e>>>0<=h>>>0){l=h>>>0>(c[m>>2]|0)>>>0;i=l?i:3;e=l?e:h}h=c[j+20>>2]|0;if(e>>>0<=h>>>0){l=h>>>0>(c[m>>2]|0)>>>0;i=l?i:4;e=l?e:h}b:do if((a[d+46>>0]&2)==0?((i|0)==0?1:e>>>0<(c[m>>2]|0)>>>0):0){l=d+43|0;k=d+4|0;h=1;while(1){g=h+3|0;if(a[l>>0]|0){i=h;break}f=c[k>>2]|0;f=lc[c[(c[f>>2]|0)+56>>2]&31](f,g,1,10)|0;if(!f){i=h;break}else if((f|0)!=5)break a;h=h+1|0;if((h|0)>=5){g=5;break b}}h=c[m>>2]|0;c[j+(i<<2)+4>>2]=h;if(!(a[l>>0]|0)){e=c[k>>2]|0;lc[c[(c[e>>2]|0)+56>>2]&31](e,g,1,9)|0;e=h;g=0}else{e=h;g=0}}while(0);if(!i){f=(g|0)==5?-1:520;break}g=i+3|0;f=d+43|0;h=a[f>>0]|0;do if(!(h<<24>>24)){h=c[d+4>>2]|0;h=lc[c[(c[h>>2]|0)+56>>2]&31](h,g,1,6)|0;if(!h){h=a[f>>0]|0;break}else{f=(h|0)==5?-1:h;break a}}while(0);if(h<<24>>24!=2){m=c[d+4>>2]|0;_b[c[(c[m>>2]|0)+60>>2]&31](m)}if((c[j+(i<<2)+4>>2]|0)==(e|0)?(Vv(c[c[n>>2]>>2]|0,d+52|0,48)|0)==0:0){b[d+40>>1]=i;f=0;break}if(!(a[f>>0]|0)){f=c[d+4>>2]|0;lc[c[(c[f>>2]|0)+56>>2]&31](f,g,1,5)|0;f=-1}else f=-1}while(0);return f|0}function Jo(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=b+56|0;ai(c[e>>2]|0);c[e>>2]=0;_o(b);e=c[b+208>>2]|0;if(!e){if(!(a[b+4>>0]|0)){f=b+60|0;e=c[f>>2]|0;d=c[e>>2]|0;if(!(((d|0)!=0?((hc[c[d+48>>2]&127](e)|0)&2048|0)!=0:0)?(a[b+5>>0]&5)==1:0))i=7;if((i|0)==7?(g=c[b+64>>2]|0,h=c[g>>2]|0,(h|0)!=0):0){hc[c[h+4>>2]&127](g)|0;c[g>>2]=0}d=c[f>>2]|0;e=c[d>>2]|0;if(e){if(!(a[b+13>>0]|0))d=nc[c[e+32>>2]&127](d,0)|0;else d=0;e=b+17|0;if((a[e>>0]|0)!=5)a[e>>0]=0;if((d|0)!=0?(a[b+16>>0]|0)==6:0)a[e>>0]=5}a[b+18>>0]=0;a[b+16>>0]=0}}else{Ho(e);a[b+16>>0]=0}d=b+40|0;if(c[d>>2]|0){tn(b);a[b+18>>0]=a[b+12>>0]|0;a[b+16>>0]=0;c[d>>2]=0}d=b+72|0;a[b+19>>0]=0;c[d+0>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;return}function Ko(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=c[d+4>>2]|0;f=e+0|0;g=f+40|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));c[e>>2]=d;c[e+4>>2]=c[d>>2];f=e+40|0;c[e+8>>2]=f;bw(f|0,0,c[a+24>>2]|0)|0;c[e+28>>2]=a;c[e+20>>2]=b;return el(a,b,d)|0}function Lo(a,b,d,e,f){a=a|0;b=b|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=tq(a,b,g)|0;if(!h){k=c[g>>2]|0;if(!b){a=k+136|0;c[g>>2]=a;g=a;a=0}else{g=k;a=(b<<12)+-34|0}c[e>>2]=g+-4;c[d>>2]=k+16384;c[f>>2]=a}i=l;return h|0}function Mo(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=c[d+28>>2]|0;j=e&255;if(j&1){f=k+8|0;if((c[f>>2]|0)==(d|0)){e=d;do{e=c[e+36>>2]|0;if(!e){e=0;break}}while((b[e+24>>1]&4)!=0);c[f>>2]=e}e=d+32|0;g=c[e>>2]|0;h=(g|0)==0;i=d+36|0;f=c[i>>2]|0;if(h)c[k+4>>2]=f;else c[g+36>>2]=f;f=c[i>>2]|0;if(!f){c[k>>2]=g;if(h?(a[k+28>>0]|0)!=0:0)a[k+29>>0]=2}else c[f+32>>2]=g;c[e>>2]=0;c[i>>2]=0}if(j&2){e=c[k>>2]|0;c[d+32>>2]=e;if(!e){c[k+4>>2]=d;if(a[k+28>>0]|0)a[k+29>>0]=1}else c[e+36>>2]=d;c[k>>2]=d;e=k+8|0;if((c[e>>2]|0)==0?(b[d+24>>1]&4)==0:0)c[e>>2]=d}return}function No(d,e){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))ba();h=l;f=e>>>3;g=f&255;a[d+5>>0]=g;e=e&-9;a[d+7>>0]=4-(f<<2);f=c[d+52>>2]|0;if((e|0)==5){a[d+2>>0]=1;a[d+3>>0]=g;a[d+4>>0]=g<<24>>24==0&1;b[d+10>>1]=b[f+28>>1]|0;b[d+12>>1]=b[f+30>>1]|0;k=5}else if((e|0)==2){a[d+2>>0]=0;a[d+3>>0]=0;a[d+4>>0]=0;b[d+10>>1]=b[f+24>>1]|0;b[d+12>>1]=b[f+26>>1]|0;k=5}else{c[h>>2]=54521;c[h+4>>2]=10788;Zc(11,13600,h);e=11}if((k|0)==5){a[d+8>>0]=a[f+21>>0]|0;e=0}i=l;return e|0}function Oo(b){b=b|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;l=c[b+200>>2]|0;j=b+152|0;k=c[j>>2]|0;m=b+148|0;i=c[m>>2]|0;k=k>>>0>i>>>0?i:k;g=c[b+96>>2]|0;if((g|0)>0){f=c[b+92>>2]|0;e=b+72|0;h=0;do{d=f+(h*48|0)+8|0;n=d;if((c[n>>2]|0)==0&(c[n+4>>2]|0)==0){o=e;n=c[o+4>>2]|0;c[d>>2]=c[o>>2];c[d+4>>2]=n}h=h+1|0}while((h|0)<(g|0));h=e}else h=b+72|0;e=h;f=c[e>>2]|0;e=c[e+4>>2]|0;if((f|0)==0&(e|0)==0){f=0;e=0}else{f=fw(f|0,e|0,-1,-1)|0;f=mw(f|0,C|0,i|0,0)|0;f=fw(f|0,C|0,1,0)|0;f=ow(f|0,C|0,i|0,0)|0;e=C}i=h;c[i>>2]=f;c[i+4>>2]=e;i=b+80|0;c[i>>2]=f;c[i+4>>2]=e;if(((a[b+7>>0]|0)==0?(a[b+5>>0]|0)!=4:0)?(i=c[b+60>>2]|0,((hc[c[(c[i>>2]|0)+48>>2]&127](i)|0)&512|0)==0):0){f=l+0|0;e=f+12|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(e|0))}else{i=l;g=i;a[g>>0]=-117058087;a[g+1>>0]=-117058087>>8;a[g+2>>0]=-117058087>>16;a[g+3>>0]=-117058087>>24;i=i+4|0;a[i>>0]=-681336544;a[i+1>>0]=-681336544>>8;a[i+2>>0]=-681336544>>16;a[i+3>>0]=-681336544>>24;i=l+8|0;a[i>>0]=-1;a[i+1>>0]=-1>>8;a[i+2>>0]=-1>>16;a[i+3>>0]=-1>>24}e=b+48|0;_c(4,e);e=c[e>>2]|0;a[l+12>>0]=e>>>24;a[l+13>>0]=e>>>16;a[l+14>>0]=e>>>8;a[l+15>>0]=e;e=c[b+28>>2]|0;a[l+16>>0]=e>>>24;a[l+17>>0]=e>>>16;a[l+18>>0]=e>>>8;a[l+19>>0]=e;e=c[m>>2]|0;a[l+20>>0]=e>>>24;a[l+21>>0]=e>>>16;a[l+22>>0]=e>>>8;a[l+23>>0]=e;e=c[j>>2]|0;a[l+24>>0]=e>>>24;a[l+25>>0]=e>>>16;a[l+26>>0]=e>>>8;a[l+27>>0]=e;bw(l+28|0,0,k+-28|0)|0;e=b+64|0;f=0;while(1){if(f>>>0>=(c[m>>2]|0)>>>0){d=0;break}j=c[e>>2]|0;d=h;d=pc[c[(c[j>>2]|0)+12>>2]&31](j,l,k,c[d>>2]|0,c[d+4>>2]|0)|0;j=h;j=fw(c[j>>2]|0,c[j+4>>2]|0,k|0,0)|0;b=h;c[b>>2]=j;c[b+4>>2]=C;if(!d)f=f+k|0;else break}return d|0}function Po(a){a=a|0;var c=0,d=0,f=0;c=a+24|0;f=e[c>>1]|0;d=f&65503;b[c>>1]=d;if(!(f&2)){b[c>>1]=d|2;Mo(a,2)}return}function Qo(a){a=a|0;var b=0,d=0,e=0;b=c[a+16>>2]|0;d=c[a+20>>2]|0;e=c[b+96>>2]|0;a:do if((e|0)>0){b=c[b+92>>2]|0;a=0;while(1){if((c[b+(a*48|0)+20>>2]|0)>>>0>=d>>>0?($h(c[b+(a*48|0)+16>>2]|0,d)|0)==0:0){a=1;break a}a=a+1|0;if((a|0)>=(e|0)){a=0;break}}}else a=0;while(0);return a|0}function Ro(b){b=b|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;q=i;i=i+16|0;if((i|0)>=(j|0))ba();m=q;o=c[b+16>>2]|0;e=a[o+5>>0]|0;a:do if(e<<24>>24!=2){n=o+68|0;f=c[n>>2]|0;do if(!(c[f>>2]|0)){if(e<<24>>24!=4?(a[o+21>>0]|0)==0:0){d=c[o>>2]|0;d=pc[c[d+24>>2]&31](d,0,f,8222,0)|0;if(!d)break;else break a}e=f+0|0;d=e+40|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(d|0));c[f>>2]=14696}while(0);f=c[b+4>>2]|0;l=o+52|0;g=o+152|0;h=(c[g>>2]|0)+4|0;h=ow(h|0,((h|0)<0)<<31>>31|0,c[l>>2]|0,0)|0;k=C;d=c[n>>2]|0;e=b+20|0;b=c[e>>2]|0;a[m>>0]=b>>>24;a[m+1>>0]=b>>>16;a[m+2>>0]=b>>>8;a[m+3>>0]=b;d=pc[c[(c[d>>2]|0)+12>>2]&31](d,m,4,h,k)|0;if(!d){m=c[n>>2]|0;n=c[g>>2]|0;d=fw(h|0,k|0,4,0)|0;d=pc[c[(c[m>>2]|0)+12>>2]&31](m,f,n,d,C)|0;if(!d){d=l;p=10}}}else{e=b+20|0;d=o+52|0;p=10}while(0);if((p|0)==10){c[d>>2]=(c[d>>2]|0)+1;d=fl(o,c[e>>2]|0)|0}i=q;return d|0}function So(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+48|0;if((i|0)>=(j|0))ba();g=h;d=(a|0)!=0;a:do if(d&(b|0)!=0){d=g;while(1){f=c[b+20>>2]|0;e=a;a=d;while(1){a=a+12|0;if((c[e+20>>2]|0)>>>0>=f>>>0)break;c[a>>2]=e;a=c[e+12>>2]|0;if(!a){d=b;a=e;e=8;break a}else{d=e;e=a;a=d}}c[a>>2]=b;f=c[b+12>>2]|0;d=(e|0)!=0;if(d&(f|0)!=0){d=b;a=e;b=f}else{a=e;e=6;break}}}else{f=b;b=g;e=6}while(0);if((e|0)==6)if(d)c[b+12>>2]=a;else{d=f;a=b;e=8}do if((e|0)==8){a=a+12|0;if(!d){c[a>>2]=0;break}else{c[a>>2]=d;break}}while(0);i=h;return c[g+12>>2]|0}function To(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=c[c[b+32>>2]>>2]|0;k=b+84|0;j=b+104|0;c[j>>2]=(c[j>>2]|0)+1;c[b+68>>2]=0;j=k+1|0;i=k+2|0;g=k+3|0;h=((d[j>>0]|0)<<16|(d[k>>0]|0)<<24|(d[i>>0]|0)<<8|(d[g>>0]|0))+1|0;a[k>>0]=h>>>24;a[j>>0]=h>>>16;a[i>>0]=h>>>8;a[g>>0]=h;c[b+88>>2]=e;Xo(b);c[f+96>>2]=0;c[f+104>>2]=0;c[f+108>>2]=-1;c[f+112>>2]=-1;c[f+116>>2]=-1;return}function Uo(b,e,f,g,h){b=b|0;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,q=0;l=i;i=i+32|0;if((i|0)>=(j|0))ba();m=l;k=c[e+4>>2]|0;n=c[b>>2]|0;o=c[e+20>>2]|0;e=n+76|0;a[m>>0]=o>>>24;a[m+1>>0]=o>>>16;a[m+2>>0]=o>>>8;a[m+3>>0]=o;a[m+4>>0]=f>>>24;a[m+5>>0]=f>>>16;a[m+6>>0]=f>>>8;a[m+7>>0]=f;o=n+84|0;q=o;q=d[q>>0]|d[q+1>>0]<<8|d[q+2>>0]<<16|d[q+3>>0]<<24;o=o+4|0;o=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;f=m+8|0;p=f;a[p>>0]=q;a[p+1>>0]=q>>8;a[p+2>>0]=q>>16;a[p+3>>0]=q>>24;f=f+4|0;a[f>>0]=o;a[f+1>>0]=o>>8;a[f+2>>0]=o>>16;a[f+3>>0]=o>>24;f=(a[n+65>>0]|0)==0&1;uq(f,m,8,e,e);uq(f,k,c[n+36>>2]|0,e,e);f=c[e>>2]|0;a[m+16>>0]=f>>>24;a[m+17>>0]=f>>>16;a[m+18>>0]=f>>>8;a[m+19>>0]=f;f=c[n+80>>2]|0;a[m+20>>0]=f>>>24;a[m+21>>0]=f>>>16;a[m+22>>0]=f>>>8;a[m+23>>0]=f;f=vq(b,m,24,g,h)|0;if(!f){o=c[b+20>>2]|0;f=fw(g|0,h|0,24,0)|0;f=vq(b,k,o,f,C)|0}i=l;return f|0}function Vo(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;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k+8|0;g=k;f=c[3164]|0;if(f)jc[f&3]();e=a+8|0;f=c[e>>2]|0;f=nc[c[(c[f>>2]|0)+24>>2]&127](f,g)|0;l=c[g+4>>2]|0;if((f|0)==0&((l|0)>(d|0)|((l|0)==(d|0)?(c[g>>2]|0)>>>0>b>>>0:0))){f=c[e>>2]|0;f=Yb[c[(c[f>>2]|0)+16>>2]&63](f,b,d)|0}e=c[3166]|0;if(e)jc[e&3]();if(f){c[h>>2]=c[a+100>>2];Zc(f,14816,h)}i=k;return}function Wo(a,d,e){a=a|0;d=d|0;e=e|0;var 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();k=n;g=n+16|0;m=n+12|0;l=n+8|0;c[g>>2]=0;c[m>>2]=0;c[l>>2]=0;f=Lo(a,(d+33|0)>>>12,l,m,g)|0;a:do if(!f){h=d-(c[g>>2]|0)|0;if((h|0)==1){f=c[m>>2]|0;d=f+4|0;bw(d|0,0,(c[l>>2]|0)+16384-d|0)|0}else f=c[m>>2]|0;if(c[f+(h<<2)>>2]|0)wq(a);f=e*383&8191;b:do if(b[(c[l>>2]|0)+(f<<1)>>1]|0){d=c[l>>2]|0;g=h;while(1){if(!g)break;f=f+1&8191;if(!(b[d+(f<<1)>>1]|0))break b;else g=g+-1|0}c[k>>2]=49852;c[k+4>>2]=10788;Zc(11,13600,k);f=11;break a}while(0);c[(c[m>>2]|0)+(h<<2)>>2]=e;b[(c[l>>2]|0)+(f<<1)>>1]=h;f=0}while(0);i=n;return f|0}function Xo(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=c[c[b+32>>2]>>2]|0;k=b+52|0;a[b+64>>0]=1;c[k>>2]=3007e3;i=b+92|0;g=3007e3;h=k;f=0;d=0;while(1){f=f+d+g|0;e=h+8|0;d=f+d+(c[h+4>>2]|0)|0;if(e>>>0>=i>>>0)break;g=c[e>>2]|0;h=e}c[i>>2]=f;c[b+96>>2]=d;d=j+48|0;e=k+0|0;f=d+48|0;do{a[d>>0]=a[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(f|0));if((a[b+43>>0]|0)!=2){d=c[b+4>>2]|0;_b[c[(c[d>>2]|0)+60>>2]&31](d)}d=j+0|0;e=k+0|0;f=d+48|0;do{a[d>>0]=a[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(f|0));return}function Yo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(a)do{e=a+28|0;g=c[e>>2]|0;if(((g>>>0<7?(30>>>(g&127)&1)==0:0)?(c[a+16>>2]|0)>>>0>b>>>0:0)?(f=wg(a,b,d,1)|0,(f|0)!=0):0)c[e>>2]=f;a=c[a+44>>2]|0}while((a|0)!=0);return}function Zo(a){a=a|0;var b=0,d=0,e=0;a:do if(!(c[a+208>>2]|0)){d=a+176|0;e=a+180|0;while(1){b=bl(a,4)|0;if((b|0)!=5)break a;if(!(hc[c[d>>2]&127](c[e>>2]|0)|0)){b=5;break}}}else b=0;while(0);return b|0}function _o(b){b=b|0;var d=0,e=0,f=0,g=0;f=b+96|0;if((c[f>>2]|0)>0){d=b+92|0;e=0;do{ai(c[(c[d>>2]|0)+(e*48|0)+16>>2]|0);e=e+1|0}while((e|0)<(c[f>>2]|0))}e=c[b+68>>2]|0;d=c[e>>2]|0;if(!(a[b+4>>0]|0)){if(d)g=7}else if((d|0)==14696){d=14696;g=7}if((g|0)==7){hc[c[d+4>>2]&127](e)|0;c[e>>2]=0}d=b+92|0;Sc(c[d>>2]|0);c[d>>2]=0;c[f>>2]=0;c[b+52>>2]=0;return}function $o(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+40|0;if(c[f>>2]|0){d=c[a>>2]|0;if(d)do{e=d;d=c[d+32>>2]|0;if((c[e+20>>2]|0)>>>0>b>>>0)tl(e)}while((d|0)!=0);if(!b){b=c[a+44>>2]|0;if(!b)b=0;else{bw(c[b+4>>2]|0,0,c[a+20>>2]|0)|0;b=1}}fc[c[8744+144>>2]&15](c[f>>2]|0,b+1|0)}return}function ap(d,e){d=d|0;e=e|0;var f=0,g=0;do if(!e){f=d+43|0;if(!(a[f>>0]|0))f=0;else{a[f>>0]=0;g=c[d+4>>2]|0;if(!(lc[c[(c[g>>2]|0)+56>>2]&31](g,(b[d+40>>1]|0)+3|0,1,6)|0))f=(a[f>>0]|0)==0;else{a[f>>0]=1;f=0}f=f&1}}else{f=d+43|0;g=(a[f>>0]|0)==0;if((e|0)<=0){f=g&1;break}if(g){g=c[d+4>>2]|0;lc[c[(c[g>>2]|0)+56>>2]&31](g,(b[d+40>>1]|0)+3|0,1,5)|0}a[f>>0]=1;f=1}while(0);return f|0}function bp(b){b=b|0;var e=0,f=0,g=0,h=0;f=b+73|0;if((a[f>>0]|0)==2)a[f>>0]=1;else c[b+68>>2]=0;e=b+48|0;gm(b,e);do if(!(a[(c[b+120>>2]|0)+2>>0]|0)){g=e;g=mg(c[g>>2]|0,c[g+4>>2]|0)|0;if(g){e=Hm(b,0,c[e>>2]|0,g,0)|0;if(!e){c[b+56>>2]=g;h=9;break}else{Sc(g);break}}else e=7}else h=9;while(0);if((h|0)==9){cp(b);a[f>>0]=3;e=0}f=b+72|0;a[f>>0]=d[f>>0]&251;return e|0}function cp(a){a=a|0;var d=0,e=0,f=0,g=0;d=a+76|0;if((b[d>>1]|0)>=0){g=0;while(1){e=a+(g<<2)+120|0;f=c[e>>2]|0;if(f)xg(c[f+68>>2]|0);c[e>>2]=0;if((g|0)<(b[d>>1]|0))g=g+1|0;else break}}b[d>>1]=-1;return}function dp(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;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;k=o+8|0;if(e>>>0<2)m=0;else{m=e+-2|0;m=m-((m>>>0)%(((((c[b+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;m=((m+1|0)==(((c[2514]|0)>>>0)/((c[b+32>>2]|0)>>>0)|0|0)?3:2)+m|0}h=vg(c[b>>2]|0,m,k,0)|0;do if(!h){k=c[k>>2]|0;l=c[k+4>>2]|0;h=(e-m|0)*5|0;b=h+-5|0;if((b|0)<0){if(k)xg(k);c[n>>2]=53912;c[n+4>>2]=10788;Zc(11,13600,n);h=11;break}a[f>>0]=a[l+b>>0]|0;if(g)c[g>>2]=(d[l+(h+-3)>>0]|0)<<16|(d[l+(h+-4)>>0]|0)<<24|(d[l+(h+-2)>>0]|0)<<8|(d[l+(h+-1)>>0]|0);if(k)xg(k);if(((a[f>>0]|0)+-1&255)>4){c[n>>2]=53920;c[n+4>>2]=10788;Zc(11,13600,n);h=11}else h=0}while(0);i=o;return h|0}function ep(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,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;K=i;i=i+32|0;if((i|0)>=(j|0))ba();J=K;I=K+16|0;p=K+20|0;H=K+12|0;q=K+8|0;c[I>>2]=0;s=e+12|0;o=c[s>>2]|0;r=e+44|0;F=c[r>>2]|0;G=o+56|0;n=c[G>>2]|0;n=d[n+37>>0]<<16|d[n+36>>0]<<24|d[n+38>>0]<<8|d[n+39>>0];do if(n>>>0<F>>>0){if(!n){k=(a[e+19>>0]|0)==0&1;o=Cg(c[o+68>>2]|0)|0;if(o){l=o;break}p=c[r>>2]|0;n=p+1|0;c[r>>2]=n;m=e+32|0;o=c[m>>2]|0;if((p|0)==(((c[2514]|0)>>>0)/(o>>>0)|0|0)){n=p+2|0;c[r>>2]=n}if(a[e+17>>0]|0){if(n>>>0<2)p=0;else{p=n+-2|0;p=p-((p>>>0)%(((((c[e+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;p=((p+1|0)==(((c[2514]|0)>>>0)/(o>>>0)|0|0)?3:2)+p|0}if((p|0)==(n|0)){c[q>>2]=0;p=$k(e,n,q,k)|0;if(p){l=p;break}F=c[q>>2]|0;p=F+68|0;o=Cg(c[p>>2]|0)|0;if(F)xg(c[p>>2]|0);if(o){l=o;break}p=c[r>>2]|0;n=p+1|0;c[r>>2]=n;if((p|0)==(((c[2514]|0)>>>0)/((c[m>>2]|0)>>>0)|0|0)){n=p+2|0;c[r>>2]=n}}}m=c[(c[s>>2]|0)+56>>2]|0;a[m+28>>0]=n>>>24;a[m+29>>0]=n>>>16;a[m+30>>0]=n>>>8;a[m+31>>0]=n;m=c[r>>2]|0;c[g>>2]=m;m=$k(e,m,f,k)|0;if(m){l=m;break}m=Cg(c[(c[f>>2]|0)+68>>2]|0)|0;if(m){l=c[f>>2]|0;if(!l){l=m;A=98}else{xg(c[l+68>>2]|0);l=m;A=92}}}else{if(k<<24>>24==2)p=1;else if(k<<24>>24==1?F>>>0>=h>>>0:0){l=dp(e,h,p,0)|0;if(l)break;p=(a[p>>0]|0)==2&1}else p=0;l=Cg(c[o+68>>2]|0)|0;if(l)break;C=c[G>>2]|0;D=n+-1|0;a[C+36>>0]=D>>>24;a[C+37>>0]=D>>>16;a[C+38>>0]=D>>>8;a[C+39>>0]=D;C=e+36|0;D=(h|0)==0;E=e+60|0;B=k<<24>>24==2;m=0;a:while(1){t=(m|0)!=0;if(t){s=c[m+56>>2]|0;s=d[s+1>>0]<<16|d[s>>0]<<24|d[s+2>>0]<<8|d[s+3>>0]}else{s=c[G>>2]|0;s=d[s+33>>0]<<16|d[s+32>>0]<<24|d[s+34>>0]<<8|d[s+35>>0]}if(s>>>0>F>>>0){A=15;break}l=$k(e,s,I,0)|0;if(l){A=17;break}n=c[I>>2]|0;u=n+56|0;y=c[u>>2]|0;z=y+4|0;v=y+5|0;w=y+6|0;x=y+7|0;A=d[v>>0]<<16|d[z>>0]<<24|d[w>>0]<<8|d[x>>0];q=p<<24>>24!=0;do if((A|0)!=0|q){if(A>>>0>(((c[C>>2]|0)>>>2)+-2|0)>>>0){l=n;A=22;break a}if(p<<24>>24!=0?(s|0)==(h|0)|s>>>0<h>>>0&B:0){c[g>>2]=s;c[f>>2]=n;l=Cg(c[n+68>>2]|0)|0;if(l){A=88;break a}do if(!A){if(!t){A=(c[G>>2]|0)+32|0;z=c[u>>2]|0;z=d[z>>0]|d[z+1>>0]<<8|d[z+2>>0]<<16|d[z+3>>0]<<24;a[A>>0]=z;a[A+1>>0]=z>>8;a[A+2>>0]=z>>16;a[A+3>>0]=z>>24;break}l=Cg(c[m+68>>2]|0)|0;if(l){A=88;break a}A=c[m+56>>2]|0;z=c[u>>2]|0;z=d[z>>0]|d[z+1>>0]<<8|d[z+2>>0]<<16|d[z+3>>0]<<24;a[A>>0]=z;a[A+1>>0]=z>>8;a[A+2>>0]=z>>16;a[A+3>>0]=z>>24}else{s=c[u>>2]|0;q=a[s+8>>0]|0;k=a[s+9>>0]|0;r=a[s+10>>0]|0;s=a[s+11>>0]|0;p=(k&255)<<16|(q&255)<<24|(r&255)<<8|s&255;if(p>>>0>F>>>0){l=n;A=32;break a}l=$k(e,p,H,0)|0;if(l){A=88;break a}p=c[H>>2]|0;o=p+68|0;l=Cg(c[o>>2]|0)|0;if(l){A=35;break a}z=p+56|0;y=c[z>>2]|0;x=c[u>>2]|0;x=d[x>>0]|d[x+1>>0]<<8|d[x+2>>0]<<16|d[x+3>>0]<<24;a[y>>0]=x;a[y+1>>0]=x>>8;a[y+2>>0]=x>>16;a[y+3>>0]=x>>24;y=c[z>>2]|0;A=A+-1|0;a[y+4>>0]=A>>>24;a[y+5>>0]=A>>>16;a[y+6>>0]=A>>>8;a[y+7>>0]=A;gw((c[z>>2]|0)+8|0,(c[u>>2]|0)+12|0,A<<2|0)|0;if(p)xg(c[o>>2]|0);if(!t){A=c[G>>2]|0;a[A+32>>0]=q;a[A+33>>0]=k;a[A+34>>0]=r;a[A+35>>0]=s;break}l=Cg(c[m+68>>2]|0)|0;if(l){A=88;break a}A=c[m+56>>2]|0;a[A>>0]=q;a[A+1>>0]=k;a[A+2>>0]=r;a[A+3>>0]=s}while(0);c[I>>2]=0;n=0;l=0;p=0;break}if(A){b:do if(!D){if(B){k=0;while(1){u=k<<2;if((d[y+(u+9)>>0]<<16|d[y+(u+8)>>0]<<24|d[y+(u+10)>>0]<<8|d[y+(u+11)>>0])>>>0<=h>>>0)break b;k=k+1|0;if(k>>>0>=A>>>0){k=0;break b}}}o=(d[y+9>>0]<<16|d[y+8>>0]<<24|d[y+10>>0]<<8|d[y+11>>0])-h|0;if((o|0)<=-1)o=(o|0)==-2147483648?2147483647:0-o|0;if(A>>>0>1){k=0;r=1;while(1){l=r<<2;l=(d[y+(l+9)>>0]<<16|d[y+(l+8)>>0]<<24|d[y+(l+10)>>0]<<8|d[y+(l+11)>>0])-h|0;if((l|0)<=-1)l=(l|0)==-2147483648?2147483647:0-l|0;s=(l|0)<(o|0);k=s?r:k;r=r+1|0;if((r|0)==(A|0))break;else o=s?l:o}}else k=0}else k=0;while(0);o=k<<2;s=y+(o+8)|0;o=d[y+(o+9)>>0]<<16|d[s>>0]<<24|d[y+(o+10)>>0]<<8|d[y+(o+11)>>0];if(o>>>0>F>>>0){l=n;A=56;break a}if((o|0)==(h|0)|q^1|o>>>0<h>>>0&B){c[g>>2]=o;l=Cg(c[n+68>>2]|0)|0;if(l){A=88;break a}p=A+-1|0;if(k>>>0<p>>>0){A=y+((A<<2)+4)|0;A=d[A>>0]|d[A+1>>0]<<8|d[A+2>>0]<<16|d[A+3>>0]<<24;a[s>>0]=A;a[s+1>>0]=A>>8;a[s+2>>0]=A>>16;a[s+3>>0]=A>>24}a[z>>0]=p>>>24;a[v>>0]=p>>>16;a[w>>0]=p>>>8;a[x>>0]=p;o=c[g>>2]|0;p=c[E>>2]|0;do if(!p)p=0;else{if((c[p>>2]|0)>>>0<o>>>0){p=1;break}p=($h(p,o)|0)!=0}while(0);l=$k(e,o,f,p&1^1)|0;if(l){p=0;break}l=Cg(c[(c[f>>2]|0)+68>>2]|0)|0;if(!l){l=0;p=0;break}p=c[f>>2]|0;if(!p){p=0;break}xg(c[p+68>>2]|0);p=0}else l=0}else l=0}else{l=Cg(c[n+68>>2]|0)|0;if(l){A=89;break a}c[g>>2]=s;l=(c[G>>2]|0)+32|0;p=c[u>>2]|0;p=d[p>>0]|d[p+1>>0]<<8|d[p+2>>0]<<16|d[p+3>>0]<<24;a[l>>0]=p;a[l+1>>0]=p>>8;a[l+2>>0]=p>>16;a[l+3>>0]=p>>24;c[f>>2]=n;c[I>>2]=0;n=0;l=0;p=0}while(0);if(m)xg(c[m+68>>2]|0);if(!(p<<24>>24)){m=0;A=88;break}else m=n}if((A|0)==15){c[J>>2]=58314;c[J+4>>2]=10788;Zc(11,13600,J);l=11;A=17}else if((A|0)==22){c[J>>2]=58343;c[J+4>>2]=10788;Zc(11,13600,J);n=l;l=11;A=88}else if((A|0)==32){c[J>>2]=58377;c[J+4>>2]=10788;Zc(11,13600,J);n=l;l=11;A=88}else if((A|0)==35)if(!p)A=88;else{xg(c[o>>2]|0);A=88}else if((A|0)==56){c[J>>2]=58442;c[J+4>>2]=10788;Zc(11,13600,J);n=l;l=11;A=88}if((A|0)==17)c[I>>2]=0;else if((A|0)==88)if(n)A=89;if((A|0)==89)xg(c[n+68>>2]|0);if(!m)A=92;else{xg(c[m+68>>2]|0);A=92}}if((A|0)==92?(l|0)!=0:0)A=98;if((A|0)==98){c[f>>2]=0;break}l=c[f>>2]|0;m=c[l+68>>2]|0;if((b[m+26>>1]|0)<=1){a[l>>0]=0;l=0;break}if(l)xg(m);c[f>>2]=0;c[J>>2]=58541;c[J+4>>2]=10788;Zc(11,13600,J);l=11}else{c[J>>2]=58259;c[J+4>>2]=10788;Zc(11,13600,J);l=11}while(0);i=K;return l|0}function fp(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;y=i;i=i+16|0;if((i|0)>=(j|0))ba();t=y+12|0;s=y+8|0;x=y;f=c[b+40>>2]|0;a:do if(!f){h=b+96|0;g=c[h>>2]|0;if((g|0)>(e|0)){f=(d|0)==1;e=(f&1^1)+e|0;if((e|0)<(g|0)){d=b+92|0;g=e;do{ai(c[(c[d>>2]|0)+(g*48|0)+16>>2]|0);g=g+1|0}while((g|0)<(c[h>>2]|0))}c[h>>2]=e;if(f){if(e){f=0;break}f=c[b+68>>2]|0;g=c[f>>2]|0;if(!g){f=0;break}if((g|0)==14696)f=Ci(f,0,0)|0;else f=0;c[b+52>>2]=0;break}r=b+208|0;if((c[r>>2]|0)==0?(c[c[b+64>>2]>>2]|0)==0:0){f=0;break}if(!e)u=0;else u=(c[b+92>>2]|0)+((e+-1|0)*48|0)|0;q=(u|0)!=0;f=u+20|0;if(q){d=c[f>>2]|0;g=mg(512,0)|0;if(!g){f=7;break}bw(g|0,0,512)|0;c[g>>2]=d;w=g}else w=0;h=b+28|0;e=b+24|0;c[e>>2]=c[(q?f:h)>>2];a[b+18>>0]=a[b+12>>0]|0;b:do if(q){h=b+72|0;e=h;k=c[e>>2]|0;e=c[e+4>>2]|0;if(!(c[r>>2]|0)){g=u+8|0;l=c[g>>2]|0;g=c[g+4>>2]|0;d=(l|0)==0&(g|0)==0;l=d?k:l;g=d?e:g;d=u;f=c[d>>2]|0;d=c[d+4>>2]|0;o=h;c[o>>2]=f;c[o+4>>2]=d;if((d|0)<(g|0)|(d|0)==(g|0)&f>>>0<l>>>0)while(1){f=sq(b,h,w,1,1)|0;if(f){n=k;m=e;break b}d=h;f=c[d>>2]|0;d=c[d+4>>2]|0;if(!((d|0)<(g|0)|(d|0)==(g|0)&f>>>0<l>>>0)){v=39;break}}else v=39}else v=38}else{p=c[r>>2]|0;if(!p){h=b+72|0;e=h;k=c[e>>2]|0;e=c[e+4>>2]|0;v=38;break}c[e>>2]=c[h>>2];if(a[p+44>>0]|0){k=p+68|0;m=c[k>>2]|0;l=p+32|0;e=c[l>>2]|0;g=p+52|0;f=(c[e>>2]|0)+0|0;d=g+48|0;do{a[g>>0]=a[f>>0]|0;g=g+1|0;f=f+1|0}while((g|0)<(d|0));g=c[k>>2]|0;f=g+1|0;if(f>>>0>m>>>0)f=0;else{h=f;while(1){g=g+34|0;f=g>>>12;if(!f)g=(c[e>>2]|0)+(g<<2)|0;else g=(c[e+(f<<2)>>2]|0)+((g&4095)<<2)|0;f=xq(b,c[g>>2]|0)|0;g=h+1|0;if((f|0)!=0|g>>>0>m>>>0)break;o=h;e=c[l>>2]|0;h=g;g=o}g=c[k>>2]|0}if((m|0)!=(g|0))wq(p)}else f=0;g=rl(c[b+204>>2]|0)|0;if(!((g|0)!=0&(f|0)==0))break a;while(1){f=g;g=c[g+12>>2]|0;f=xq(b,c[f+20>>2]|0)|0;if(!((g|0)!=0&(f|0)==0))break a}}while(0);if((v|0)==38){d=h;c[d>>2]=0;c[d+4>>2]=0;d=0;f=0;v=39}c:do if((v|0)==39){n=b+80|0;o=b+148|0;p=b+152|0;if((d|0)<(e|0)|(d|0)==(e|0)&f>>>0<k>>>0)while(1){c[t>>2]=0;f=rq(b,0,k,e,t,s)|0;d=c[t>>2]|0;if(!d){d=n;d=fw(c[o>>2]|0,0,c[d>>2]|0,c[d+4>>2]|0)|0;g=C;m=h;if((d|0)==(c[m>>2]|0)?(g|0)==(c[m+4>>2]|0):0){v=$v(k|0,e|0,d|0,g|0)|0;d=(c[p>>2]|0)+8|0;d=mw(v|0,C|0,d|0,((d|0)<0)<<31>>31|0)|0;c[t>>2]=d;v=46}else v=40}else v=46;d:do if((v|0)==46){v=0;if((f|0)==0&(d|0)!=0){m=0;while(1){g=h;l=c[g>>2]|0;g=c[g+4>>2]|0;if(!((g|0)<(e|0)|(g|0)==(e|0)&l>>>0<k>>>0)){d=l;break d}f=sq(b,h,w,1,1)|0;m=m+1|0;if(!((f|0)==0&m>>>0<d>>>0)){v=40;break}}}else v=40}while(0);if((v|0)==40){v=0;if(f){n=k;m=e;break c}d=h;g=c[d+4>>2]|0;d=c[d>>2]|0}if(!((g|0)<(e|0)|(g|0)==(e|0)&d>>>0<k>>>0)){n=k;m=e;f=0;break}}else{n=k;m=e;f=0}}while(0);e:do if(!q){ai(w);if(f)break a}else{l=u+24|0;g=c[l>>2]|0;o=(c[b+152>>2]|0)+4|0;o=ow(o|0,((o|0)<0)<<31>>31|0,g|0,0)|0;k=x;c[k>>2]=o;c[k+4>>2]=C;k=c[r>>2]|0;if(!k){if(!f)v=57}else{e=u+28|0;d=u+40|0;f=k+104|0;if((c[d>>2]|0)==(c[f>>2]|0))d=c[e>>2]|0;else{c[e>>2]=0;c[d>>2]=c[f>>2];d=0}e=k+68|0;if(d>>>0<(c[e>>2]|0)>>>0){c[e>>2]=d;c[k+76>>2]=c[u+32>>2];c[k+80>>2]=c[u+36>>2];wq(k);g=c[l>>2]|0;v=57}else v=57}f:do if((v|0)==57){d=b+52|0;while(1){if(g>>>0>=(c[d>>2]|0)>>>0)break;f=sq(b,x,w,0,1)|0;if(!f)g=g+1|0;else break f}ai(w);break e}while(0);ai(w);break a}while(0);f=h;c[f>>2]=n;c[f+4>>2]=m;f=0}else f=0}while(0);i=y;return f|0}function gp(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=c[d>>2]|0;if(e){i=c[d+4>>2]|0;c[(c[e+4>>2]|0)+4>>2]=c[e>>2];g=d+56|0;Sc(c[g>>2]|0);c[g>>2]=0;a[d+73>>0]=0;g=c[d+12>>2]|0;f=d+8|0;e=c[f>>2]|0;if(!g)c[i+8>>2]=e;else{c[g+8>>2]=e;e=c[f>>2]|0}if(e)c[e+12>>2]=g;h=d+76|0;e=b[h>>1]|0;if(e<<16>>16>=0){f=0;while(1){g=c[d+(f<<2)+120>>2]|0;if(g){xg(c[g+68>>2]|0);e=b[h>>1]|0}if((f|0)<(e<<16>>16|0))f=f+1|0;else break}}if((a[i+20>>0]|0)==0?(j=i+12|0,k=c[j>>2]|0,(k|0)!=0):0){c[j>>2]=0;xg(c[k+68>>2]|0)}Sc(c[d+20>>2]|0)}return}function hp(b){b=b|0;var e=0,f=0,g=0,h=0;h=c[b+200>>2]|0;e=c[3164]|0;if(e)jc[e&3]();f=c[b+136>>2]|0;if(f)do{e=f;f=c[f+12>>2]|0;Sc(e)}while((f|0)!=0);a[b+4>>0]=0;e=b+208|0;nn(c[e>>2]|0,d[b+9>>0]|0,c[b+152>>2]|0,h)|0;c[e>>2]=0;tn(b);if(!(a[b+15>>0]|0)){if((c[c[b+64>>2]>>2]|0)!=0?(g=Fo(b)|0,e=g&255,(e|0)==10|(e|0)==13):0){c[b+40>>2]=g;a[b+16>>0]=6}jl(b)}else Jo(b);e=c[3166]|0;if(e)jc[e&3]();e=c[b+64>>2]|0;f=c[e>>2]|0;if(f){hc[c[f+4>>2]&127](e)|0;c[e>>2]=0}f=c[b+60>>2]|0;e=c[f>>2]|0;if(e){hc[c[e+4>>2]&127](f)|0;c[f>>2]=0}Xk(h);_b[c[8744+148>>2]&31](c[(c[b+204>>2]|0)+40>>2]|0);Sc(b);return}function ip(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=c[a+4>>2]|0;h=mg(g,((g|0)<0)<<31>>31)|0;do if(h){bw(h|0,0,g|0)|0;g=pc[c[a+24>>2]&31](a,b,h,e&556927,f)|0;if(!g){c[d>>2]=h;g=0;break}else{Sc(h);break}}else g=7;while(0);return g|0}function jp(b){b=b|0;var d=0,e=0,f=0;d=b+16|0;e=b+12|0;f=b+10|0;if(!(Pl(c[d>>2]|0,b,c[e>>2]|0,a[f>>0]|0)|0))d=0;else{d=(Ql(c[d>>2]|0,b,c[e>>2]|0,a[f>>0]|0)|0)==0;d=d?4:8}return d|0}function kp(d){d=d|0;var f=0,g=0;g=d+8|0;f=b[g>>1]|0;do if(!(f&13))if(!(Ql(c[d+16>>2]|0,d,c[d+12>>2]|0,a[d+10>>0]|0)|0)){f=((e[g>>1]|0)&48640|4)&65535;b[g>>1]=f;break}else{h[d>>3]=+Qg(d);b[g>>1]=(e[g>>1]|0)&48640|8;$l(d);f=b[g>>1]|0;break}while(0);b[g>>1]=f&65517;return}function lp(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;t=i;i=i+80|0;if((i|0)>=(j|0))ba();r=t+40|0;s=t;h=f+4|0;if((a[d+10>>0]|0)!=(a[h>>0]|0)){q=c[d+32>>2]|0;n=r+8|0;b[n>>1]=1;c[r+32>>2]=q;o=r+24|0;c[o>>2]=0;p=s+8|0;b[p>>1]=1;c[s+32>>2]=q;q=s+24|0;c[q>>2]=0;Vl(r,d,4096);Vl(s,e,4096);d=Og(r,a[h>>0]|0)|0;m=(d|0)==0;if(m)l=0;else l=c[r+12>>2]|0;h=Og(s,a[h>>0]|0)|0;k=(h|0)==0;if(k)e=0;else e=c[s+12>>2]|0;d=pc[c[f+12>>2]&31](c[f+8>>2]|0,l,d,e,h)|0;if(!((b[n>>1]&9312)==0&(c[o>>2]|0)==0))Mg(r);if(!((b[p>>1]&9312)==0&(c[q>>2]|0)==0))Mg(s);if((m|k)&(g|0)!=0)a[g>>0]=7}else d=pc[c[f+12>>2]&31](c[f+8>>2]|0,c[d+12>>2]|0,c[d+16>>2]|0,c[e+12>>2]|0,c[e+16>>2]|0)|0;i=t;return d|0}function mp(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+12>>2]|0;d=c[b+12>>2]|0;a=Vv(c[a+16>>2]|0,c[b+16>>2]|0,(e|0)>(d|0)?d:e)|0;return ((a|0)==0?e-d|0:a)|0}function np(f,g,h){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();n=o;do if(!(a[f+3>>0]|0)){if(a[f+4>>0]|0){b[h+20>>1]=((op(g+4|0,h)|0)&255)+4;l=h+8|0;c[l+0>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;break}m=d[f+7>>0]|0;l=g+m|0;k=a[l>>0]|0;if(k<<24>>24>-1){l=k&255;c[n>>2]=l;k=1}else{k=im(l,n)|0;l=c[n>>2]|0}n=h;c[n>>2]=l;c[n+4>>2]=0;m=(k&255)+m|0;k=12}else{k=a[g>>0]|0;if(k<<24>>24>-1){l=k&255;c[n>>2]=l;k=1}else{k=im(g,n)|0;l=c[n>>2]|0}m=k&255;m=((op(g+m|0,h)|0)&255)+m|0;k=12}while(0);do if((k|0)==12){c[h+12>>2]=l;c[h+8>>2]=g+m;k=e[f+10>>1]|0;if(l>>>0>k>>>0){n=b[f+12>>1]|0;g=n&65535;l=(((l-g|0)>>>0)%(((c[(c[f+52>>2]|0)+36>>2]|0)+-4|0)>>>0)|0)+g|0;k=(l|0)>(k|0)?n:l&65535;b[h+16>>1]=k;k=m+(k&65535)|0;b[h+18>>1]=k;b[h+20>>1]=k+4;break}else{k=l+m|0;b[h+20>>1]=(k&65532)>>>0<4?4:k&65535;b[h+16>>1]=l;b[h+18>>1]=0;break}}while(0);i=o;return}function op(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=a[b>>0]|0;g=f&255;do if(g&128){f=d[b+1>>0]|0;if(!(f&128)){h=e;c[h>>2]=f|g<<7&16256;c[h+4>>2]=0;f=2;break}h=d[b+2>>0]|0;g=(h|g<<14)&2080895;if(!(h&128)){h=e;c[h>>2]=g|f<<7&16256;c[h+4>>2]=0;f=3;break}h=d[b+3>>0]|0;f=(h|f<<14)&2080895;if(!(h&128)){h=e;c[h>>2]=f|g<<7;c[h+4>>2]=0;f=4;break}k=d[b+4>>0]|0;h=k|g<<14;if(!(k&128)){i=e;c[i>>2]=h|f<<7;c[i+4>>2]=g>>>18;f=5;break}j=f|g<<7;g=d[b+5>>0]|0;i=g|f<<14;if(!(g&128)){f=e;c[f>>2]=i|h<<7&266354560;c[f+4>>2]=j>>>18;f=6;break}f=d[b+6>>0]|0;g=f|h<<14;if(!(f&128)){f=e;c[f>>2]=g&-266354561|i<<7&266354560;c[f+4>>2]=j>>>11;f=7;break}f=g&2080895;h=d[b+7>>0]|0;g=h|i<<14;if(!(h&128)){h=e;c[h>>2]=g&-266354561|f<<7;c[h+4>>2]=j>>>4;f=8;break}else{h=e;c[h>>2]=g<<8&532709120|f<<15|(d[b+8>>0]|0);c[h+4>>2]=k>>>3&15|j<<4;f=9;break}}else{g=e;c[g>>2]=f&255;c[g+4>>2]=0;f=1}while(0);return f|0}function pp(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,l=0,m=0,n=0,o=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();l=n+8|0;m=n;g=(d[a+1>>0]|0)<<16|(d[a>>0]|0)<<24|(d[a+2>>0]|0)<<8|(d[a+3>>0]|0);a=(d[a+5>>0]|0)<<16|(d[a+4>>0]|0)<<24|(d[a+6>>0]|0)<<8|(d[a+7>>0]|0);o=f;c[o>>2]=a;c[o+4>>2]=g;if((e|0)==6)a=4;else{c[k>>2]=a;c[k+4>>2]=g;h[l>>3]=+h[k>>3];h[m>>3]=+h[l>>3];a=+h[l>>3]!=+h[m>>3]?1:8}b[f+8>>1]=a;i=n;return}function qp(b,c,e){b=b|0;c=c|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;if(!(e>>>0>16777215|(e|0)==16777215&c>>>0>4294967295)){f=c;g=0;while(1){c=g+1|0;a[h+g>>0]=f|128;f=iw(f|0,e|0,7)|0;e=C;if((f|0)==0&(e|0)==0){e=g;break}else g=c}a[h>>0]=(d[h>>0]|0)&127;if((e|0)>-1){f=0;while(1){a[b+f>>0]=a[h+e>>0]|0;if((e|0)>0){f=f+1|0;e=e+-1|0}else break}}}else{a[b+8>>0]=c;c=iw(c|0,e|0,8)|0;f=C;e=7;while(1){a[b+e>>0]=c|128;c=iw(c|0,f|0,7)|0;if((e|0)<=0){c=9;break}else{f=C;e=e+-1|0}}}i=k;return c|0}function rp(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((c[b+44>>2]|0)>>>0>=d>>>0){f=$k(b,d,e,f)|0;if(!f){f=c[e>>2]|0;if((a[f>>0]|0)==0?(g=Xp(f)|0,(g|0)!=0):0){f=c[e>>2]|0;if(f)xg(c[f+68>>2]|0)}else g=0}else g=f}else{c[h>>2]=54788;c[h+4>>2]=10788;Zc(11,13600,h);g=11}i=k;return g|0}function sp(b){b=b|0;var d=0,e=0,f=0;if((a[b+12>>0]|0)==0?(d=b+60|0,e=c[d>>2]|0,((hc[c[(c[e>>2]|0)+48>>2]&127](e)|0)&4096|0)==0):0){d=c[d>>2]|0;e=c[(c[d>>2]|0)+44>>2]|0;if(e){d=hc[e&127](d)|0;if((d|0)<32)d=512;else f=6}else{d=4096;f=6}if((f|0)==6)d=(d|0)>65536?65536:d;c[b+148>>2]=d}else c[b+148>>2]=512;return}function tp(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=d+40|0;do if(!(c[j>>2]|0)){i=a[d+20>>0]|0;if(i<<24>>24){if(i&3){f=0;break}if(b[e+24>>1]&4){f=0;break}}c[e+12>>2]=0;do if(!(c[d+208>>2]|0)){if(!((b[e+24>>1]&4)==0?(a[d+16>>0]|0)!=3:0))k=11;if((k|0)==11?(g=vl(d,1)|0,(g|0)!=0):0){f=g;break}if(((c[e+20>>2]|0)>>>0>(c[d+24>>2]|0)>>>0?(Qo(e)|0)!=0:0)?(h=Ro(e)|0,(h|0)!=0):0){f=h;break}f=wl(d,e)|0;k=16}else{if((Qo(e)|0)!=0?(f=Ro(e)|0,(f|0)!=0):0)break;f=sl(d,e,0,0)|0;k=16}while(0);if((k|0)==16)if(!f){tl(e);f=0;break}g=f&255;if((g|0)==10|(g|0)==13){c[j>>2]=f;a[d+16>>0]=6}}else f=0;while(0);return f|0}function up(d){d=d|0;var e=0;e=c[d+8>>2]|0;if((a[e>>0]|0)!=0?(a[e>>0]=0,(b[d+26>>1]|0)>1):0)Xp(e)|0;return}function vp(b,e,f,g,h){b=b|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();n=o;m=o+8|0;do if(!(c[h>>2]|0)){if(!e){c[n>>2]=53856;c[n+4>>2]=10788;Zc(11,13600,n);c[h>>2]=11;break}if(e>>>0<2)k=0;else{k=e+-2|0;k=k-((k>>>0)%(((((c[b+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(((c[2514]|0)>>>0)/((c[b+32>>2]|0)>>>0)|0|0)?3:2)+k|0}l=vg(c[b>>2]|0,k,m,0)|0;if(l){c[h>>2]=l;break}e=(e-k|0)*5|0;l=e+-5|0;do if((l|0)>=0){k=c[m>>2]|0;b=c[k+4>>2]|0;l=b+l|0;if((a[l>>0]|0)==f<<24>>24?(d[b+(e+-3)>>0]<<16|d[b+(e+-4)>>0]<<24|d[b+(e+-2)>>0]<<8|d[b+(e+-1)>>0]|0)==(g|0):0)break;m=Cg(k)|0;c[h>>2]=m;if(!m){a[l>>0]=f;a[b+(e+-4)>>0]=g>>>24;a[b+(e+-3)>>0]=g>>>16;a[b+(e+-2)>>0]=g>>>8;a[b+(e+-1)>>0]=g}}else{c[n>>2]=53867;c[n+4>>2]=10788;Zc(11,13600,n);c[h>>2]=11;k=c[m>>2]|0}while(0);if(k)xg(k)}while(0);i=o;return}function wp(a,b,c){a=a|0;b=b|0;c=c|0;return Gm(a,b,c,0)|0}function xp(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;j=d[f>>0]&63;h=f+j|0;l=c[g+8>>2]|0;k=c[l>>2]|0;l=c[l+4>>2]|0;switch(d[f+1>>0]|0){case 1:{h=a[h>>0]|0;i=((h|0)<0)<<31>>31;m=11;break}case 6:{i=d[f+(j+1)>>0]<<16|d[h>>0]<<24|d[f+(j+2)>>0]<<8|d[f+(j+3)>>0];h=d[f+(j+5)>>0]<<16|d[f+(j+4)>>0]<<24|d[f+(j+6)>>0]<<8|d[f+(j+7)>>0];m=11;break}case 7:case 0:{h=Gm(b,f,g,0)|0;break}case 9:{i=0;h=1;m=11;break}case 3:{h=d[f+(j+1)>>0]<<8|a[h>>0]<<16|d[f+(j+2)>>0];i=((h|0)<0)<<31>>31;m=11;break}case 4:{h=d[f+(j+1)>>0]<<16|d[h>>0]<<24|d[f+(j+2)>>0]<<8|d[f+(j+3)>>0];i=((h|0)<0)<<31>>31;m=11;break}case 8:{i=0;h=0;m=11;break}case 2:{h=a[h>>0]<<8|d[f+(j+1)>>0];i=((h|0)<0)<<31>>31;m=11;break}case 5:{i=a[h>>0]<<8|d[f+(j+1)>>0];h=d[f+(j+3)>>0]<<16|d[f+(j+2)>>0]<<24|d[f+(j+4)>>0]<<8|d[f+(j+5)>>0];m=11;break}default:h=Gm(b,f,g,0)|0}do if((m|0)==11){if((l|0)>(i|0)|(l|0)==(i|0)&k>>>0>h>>>0){h=c[g+12>>2]|0;break}if((l|0)<(i|0)|(l|0)==(i|0)&k>>>0<h>>>0){h=c[g+16>>2]|0;break}if((e[g+4>>1]|0)>1){h=Gm(b,f,g,1)|0;break}else{h=a[g+6>>0]|0;break}}while(0);return h|0}function yp(b,f,g){b=b|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();n=o;l=o+8|0;h=f+1|0;k=a[h>>0]|0;if(k<<24>>24>-1){h=k&255;c[l>>2]=h}else{im(h,l)|0;h=c[l>>2]|0}do if((h|0)>=12){if(!(h&1)){h=c[g+16>>2]|0;break}l=d[f>>0]|0;m=(h+-12|0)/2|0;if((l+m|0)>(b|0)){c[n>>2]=68550;c[n+4>>2]=10788;Zc(11,13600,n);a[g+7>>0]=11;h=0;break}h=c[g+8>>2]|0;k=c[h+12>>2]|0;h=Vv(f+l|0,c[h+16>>2]|0,(m|0)>(k|0)?k:m)|0;if(h)if((h|0)>0){h=c[g+16>>2]|0;break}else{h=c[g+12>>2]|0;break}if((m|0)==(k|0))if((e[g+4>>1]|0)>1){h=Gm(b,f,g,1)|0;break}else{h=a[g+6>>0]|0;break}else if((m-k|0)>0){h=c[g+16>>2]|0;break}else{h=c[g+12>>2]|0;break}}else h=c[g+12>>2]|0;while(0);i=o;return h|0}function zp(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=f+73|0;h=a[m>>0]|0;do if(h<<24>>24!=1){if((h&255)>2){h=Gn(f)|0;if(h)break;h=a[m>>0]|0}if(!(h<<24>>24)){c[g>>2]=1;h=0;break}h=f+68|0;i=c[h>>2]|0;if((i|0)!=0?(a[m>>0]=1,c[h>>2]=0,(i|0)>0):0)h=0;else n=9}else n=9;while(0);do if((n|0)==9){l=f+76|0;h=b[l>>1]|0;i=c[f+(h<<2)+120>>2]|0;h=f+(h<<1)+78|0;j=(b[h>>1]|0)+1<<16>>16;b[h>>1]=j;h=(a[i+5>>0]|0)!=0;if((j&65535)<(e[i+18>>1]|0)){if(h){h=0;break}h=Rm(f)|0;break}if(!h){h=d[i+6>>0]|0;i=c[i+56>>2]|0;h=nm(f,d[i+(h+9)>>0]<<16|d[i+(h+8)>>0]<<24|d[i+(h+10)>>0]<<8|d[i+(h+11)>>0])|0;if(h)break;h=Rm(f)|0;break}j=f+44|0;k=f+72|0;i=b[l>>1]|0;do{if(!(i<<16>>16)){n=15;break}h=c[f+(i<<16>>16<<2)+120>>2]|0;if(h){xg(c[h+68>>2]|0);i=b[l>>1]|0}i=i+-1<<16>>16;b[l>>1]=i;b[j>>1]=0;a[k>>0]=d[k>>0]&249;o=i<<16>>16;h=c[f+(o<<2)+120>>2]|0}while((e[f+(o<<1)+78>>1]|0)>=(e[h+18>>1]|0));if((n|0)==15){c[g>>2]=1;a[m>>0]=0;h=0;break}if(!(a[h+2>>0]|0))h=0;else h=zm(f,g)|0}while(0);return h|0}function Ap(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=f+73|0;h=a[p>>0]|0;do if(h<<24>>24!=1){if((h&255)>2){h=Gn(f)|0;if(h)break;h=a[p>>0]|0}if(!(h<<24>>24)){c[g>>2]=1;h=0;break}h=f+68|0;i=c[h>>2]|0;if((i|0)!=0?(a[p>>0]=1,c[h>>2]=0,(i|0)<0):0)h=0;else j=9}else j=9;while(0);a:do if((j|0)==9){o=f+76|0;k=b[o>>1]|0;l=k<<16>>16;j=c[f+(l<<2)+120>>2]|0;i=f+(l<<1)+78|0;h=b[i>>1]|0;if(!(a[j+5>>0]|0)){g=c[j+56>>2]|0;h=(h&65535)<<1;p=c[j+64>>2]|0;h=(d[p+h>>0]<<8|d[p+(h|1)>>0])&e[j+20>>1];h=nm(f,d[g+(h+1)>>0]<<16|d[g+h>>0]<<24|d[g+(h+2)>>0]<<8|d[g+(h+3)>>0])|0;if(h)break;h=Bp(f)|0;break}b:do if(!(h<<16>>16)){m=f+44|0;n=f+72|0;j=l;while(1){if(!(k<<16>>16))break;i=c[f+(j<<2)+120>>2]|0;if(!i)i=k;else{xg(c[i+68>>2]|0);i=b[o>>1]|0}k=i+-1<<16>>16;b[o>>1]=k;b[m>>1]=0;a[n>>0]=d[n>>0]&249;j=k<<16>>16;i=f+(j<<1)+78|0;h=b[i>>1]|0;if(h<<16>>16)break b}a[p>>0]=0;c[g>>2]=1;h=0;break a}while(0);b[i>>1]=h+-1<<16>>16;p=c[f+(b[o>>1]<<2)+120>>2]|0;if((a[p+2>>0]|0)!=0?(a[p+5>>0]|0)==0:0)h=Am(f,g)|0;else h=0}while(0);return h|0}function Bp(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;i=f+76|0;do{h=b[i>>1]|0;g=c[f+(h<<2)+120>>2]|0;if(a[g+5>>0]|0){j=4;break}k=d[g+6>>0]|0;l=c[g+56>>2]|0;k=d[l+(k+9)>>0]<<16|d[l+(k+8)>>0]<<24|d[l+(k+10)>>0]<<8|d[l+(k+11)>>0];b[f+(h<<1)+78>>1]=b[g+18>>1]|0;g=nm(f,k)|0}while((g|0)==0);if((j|0)==4){b[f+(h<<1)+78>>1]=(e[g+18>>1]|0)+65535;g=0}return g|0}function Cp(a,d,e,f,g,h){a=a|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+224|0;if((i|0)>=(j|0))ba();m=o;k=o+8|0;c[k>>2]=0;do if(d){l=a+16|0;n=Bm(c[l>>2]|0,o+16|0,200,k)|0;if(n){Cm(c[l>>2]|0,e,d,n);if(!(b[n+4>>1]|0)){ig(c[(c[l>>2]|0)+12>>2]|0,c[k>>2]|0);c[m>>2]=53713;c[m+4>>2]=10788;Zc(11,13600,m);k=11;break}l=c[k>>2]|0;k=ym(a,n,e,f,g,h)|0;if(l)ig(c[(c[a+16>>2]|0)+12>>2]|0,l)}else k=7}else k=ym(a,0,e,f,g,h)|0;while(0);i=o;return k|0}function Dp(a,f,g){a=a|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;s=i;i=i+48|0;if((i|0)>=(j|0))ba();r=s+24|0;h=s;p=s+36|0;q=s+32|0;n=c[a+52>>2]|0;np(a,f,h);b[g>>1]=b[h+20>>1]|0;g=b[h+18>>1]|0;a:do if(g<<16>>16){k=g&65535;l=f+(k+3)|0;if(l>>>0>((c[a+56>>2]|0)+(e[a+20>>1]|0)|0)>>>0){c[r>>2]=58720;c[r+4>>2]=10788;Zc(11,13600,r);g=11;break}g=(c[n+36>>2]|0)+-4|0;g=(((c[h+12>>2]|0)+-1+g-(e[h+16>>1]|0)|0)>>>0)/(g>>>0)|0;if(g){m=n+44|0;a=g;k=d[f+(k+1)>>0]<<16|d[f+k>>0]<<24|d[f+(k+2)>>0]<<8|d[l>>0];while(1){a=a+-1|0;c[p>>2]=0;c[q>>2]=0;if(k>>>0<2)break;if(k>>>0>(c[m>>2]|0)>>>0)break;f=(a|0)==0;if(!f){g=Ip(n,k,q,p)|0;if(g)break a;g=c[q>>2]|0;if(g)l=13;else l=12}else l=12;if((l|0)==12){g=Up(n,k)|0;c[q>>2]=g;if(!g){g=0;l=15}else l=13}if((l|0)==13){l=0;if((b[(c[g+68>>2]|0)+26>>1]|0)==1)l=15;else{c[r>>2]=58754;c[r+4>>2]=10788;Zc(11,13600,r);g=11}}if((l|0)==15)g=Um(n,g,k)|0;h=c[q>>2]|0;if((h|0)!=0?(o=c[h+68>>2]|0,(o|0)!=0):0)xg(o);if(g)break a;if(f){g=0;break a}else k=c[p>>2]|0}c[r>>2]=58734;c[r+4>>2]=10788;Zc(11,13600,r);g=11}else g=0}else g=0;while(0);i=s;return g|0}function Ep(f,g,h,k){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,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();m=w;do if(!(c[k>>2]|0)){s=c[f+56>>2]|0;t=g<<1;u=c[f+64>>2]|0;v=u+t|0;l=(d[v>>0]|0)<<8|(d[u+(t|1)>>0]|0);n=f+6|0;o=d[n>>0]|0;p=s+(o+5)|0;q=s+(o+6)|0;if(l>>>0>=((d[p>>0]|0)<<8|(d[q>>0]|0))>>>0?(r=f+52|0,(l+h|0)>>>0<=(c[(c[r>>2]|0)+36>>2]|0)>>>0):0){h=yq(f,l&65535,h&65535)|0;if(h){c[k>>2]=h;break}h=f+18|0;l=(b[h>>1]|0)+-1<<16>>16;b[h>>1]=l;if(!(l<<16>>16)){k=s+(o+1)|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;a[s+(o+7)>>0]=0;a[p>>0]=(c[(c[r>>2]|0)+36>>2]|0)>>>8;a[q>>0]=c[(c[r>>2]|0)+36>>2];b[f+16>>1]=(c[(c[r>>2]|0)+36>>2]|0)+65528-(d[n>>0]|0)-(d[f+7>>0]|0);break}else{hw(v|0,u+(t+2)|0,(l&65535)-g<<1|0)|0;a[s+(o+3)>>0]=(e[h>>1]|0)>>>8;a[s+(o+4)>>0]=b[h>>1];s=f+16|0;b[s>>1]=(e[s>>1]|0)+2;break}}c[m>>2]=58991;c[m+4>>2]=10788;Zc(11,13600,m);c[k>>2]=11}while(0);i=w;return}function Fp(f,g,h,k,l,m,n){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;var 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;D=i;i=i+16|0;if((i|0)>=(j|0))ba();p=D;z=D+12|0;v=D+8|0;a:do if(!(c[n>>2]|0)){o=f+1|0;if((a[o>>0]|0)==0?(B=k+2|0,C=f+16|0,(B|0)<=(e[C>>1]|0)):0){l=Cg(c[f+68>>2]|0)|0;if(l){c[n>>2]=l;break}w=c[f+56>>2]|0;q=e[f+14>>1]|0;x=f+18|0;y=e[x>>1]<<1;s=g<<1;t=q+s|0;u=f+6|0;l=d[u>>0]|0;c[z>>2]=0;g=y+q|0;q=w+(l+5)|0;r=w+(l+6)|0;o=((d[q>>0]<<8|d[r>>0])+65535&65535)+1|0;b:do if((g|0)>(o|0)){c[p>>2]=54326;c[p+4>>2]=10788;Zc(11,13600,p);l=11}else{p=g+2|0;do if((p|0)<=(o|0)){if((a[w+(l+1)>>0]|0)==0?(a[w+(l+2)>>0]|0)==0:0){A=20;break}c[v>>2]=0;g=zq(f,k,z,v)|0;l=c[z>>2]|0;if(l)break b;if(!(c[v>>2]|0))if(!g)A=20;else o=g-w|0;else A=21}else A=20;while(0);if((A|0)==20)if((p+k|0)>(o|0))A=21;else A=23;if((A|0)==21){l=Aq(f)|0;c[z>>2]=l;if(l)break;o=((d[q>>0]<<8|d[r>>0])+65535&65535)+1|0;A=23}if((A|0)==23){o=o-k|0;a[q>>0]=o>>>8;a[r>>0]=o}b[x>>1]=(b[x>>1]|0)+1<<16>>16;b[C>>1]=(e[C>>1]|0)-B;l=w+o|0;gw(l|0,h|0,k|0)|0;if(m){a[l>>0]=m>>>24;a[w+(o+1)>>0]=m>>>16;a[w+(o+2)>>0]=m>>>8;a[w+(o+3)>>0]=m}m=w+t|0;hw(w+(t+2)|0,m|0,y-s|0)|0;a[m>>0]=o>>>8;a[w+(t+1)>>0]=o;a[w+((d[u>>0]|0)+3)>>0]=(e[x>>1]|0)>>>8;a[w+((d[u>>0]|0)+4)>>0]=b[x>>1];if(!(a[(c[f+52>>2]|0)+17>>0]|0))break a;Bq(f,h,n);break a}while(0);c[n>>2]=l;break}if(!l)l=h;else gw(l|0,h|0,k|0)|0;if(m){a[l>>0]=m>>>24;a[l+1>>0]=m>>>16;a[l+2>>0]=m>>>8;a[l+3>>0]=m}n=a[o>>0]|0;a[o>>0]=n+1<<24>>24;n=n&255;c[f+(n<<2)+32>>2]=l;b[f+(n<<1)+22>>1]=g}while(0);i=D;return}function Gp(f){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,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,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0;Oa=i;i=i+240|0;if((i|0)>=(j|0))ba();Na=Oa+24|0;Ka=Oa+200|0;Aa=Oa+188|0;za=Oa+168|0;ya=Oa+160|0;Ba=Oa+136|0;Ca=Oa+116|0;Ma=Oa+96|0;Ha=Oa+92|0;xa=Oa+229|0;wa=Oa+72|0;va=Oa+52|0;ua=Oa+206|0;Ga=Oa+48|0;Da=Oa;Fa=Oa+44|0;Ja=Oa+40|0;Ia=Oa+36|0;Ea=Oa+32|0;La=Oa+204|0;ta=Oa+216|0;ea=f+4|0;ma=(c[(c[ea>>2]|0)+36>>2]<<1>>>0)/3|0;na=f+76|0;qa=f+74|0;ra=ta+4|0;sa=ta;fa=f+124|0;ka=f+78|0;la=f+80|0;l=b[na>>1]|0;da=0;while(1){m=l<<16>>16;n=c[f+(m<<2)+120>>2]|0;o=n+1|0;h=(a[o>>0]|0)==0;if(!(l<<16>>16)){if(h){h=da;g=0;break}c[Ka>>2]=0;c[Aa>>2]=0;k=c[n+52>>2]|0;g=Cg(c[n+68>>2]|0)|0;c[Na>>2]=g;do if(!g){h=n+72|0;c[Na>>2]=ep(k,Ka,Aa,c[h>>2]|0,0)|0;l=c[Ka>>2]|0;Cq(n,l,Na);if(a[k+17>>0]|0)vp(k,c[Aa>>2]|0,5,c[h>>2]|0,Na);g=c[Na>>2]|0;if(!g){gw(l+22|0,n+22|0,d[o>>0]<<1|0)|0;gw(l+32|0,n+32|0,d[o>>0]<<2|0)|0;a[l+1>>0]=a[o>>0]|0;ll(n,d[c[l+56>>2]>>0]&247);g=d[n+6>>0]|0;$=c[n+56>>2]|0;_=c[Aa>>2]|0;a[$+(g+8)>>0]=_>>>24;a[$+(g+9)>>0]=_>>>16;a[$+(g+10)>>0]=_>>>8;a[$+(g+11)>>0]=_;c[fa>>2]=l;g=0;break}c[fa>>2]=0;if(l)xg(c[l+68>>2]|0)}else c[fa>>2]=0;while(0);if(g){h=da;break}b[na>>1]=1;b[ka>>1]=0;b[la>>1]=0;l=c[fa>>2]|0;k=l+1|0;if(!(a[k>>0]|0)){h=1;m=1;ca=15}else{p=1;m=1;o=k}}else if(h){h=l;l=n;k=o;ca=15}else{p=l;l=n}if((ca|0)==15){ca=0;if((e[l+16>>1]|0)>>>0>ma>>>0){p=h;o=k}else{h=da;g=0;break}}k=m+-1|0;aa=c[f+(k<<2)+120>>2]|0;k=b[f+(k<<1)+78>>1]|0;q=k&65535;g=Cg(c[aa+68>>2]|0)|0;do if(!g){if(((((a[l+3>>0]|0)!=0?(a[o>>0]|0)==1:0)?(ga=b[l+22>>1]|0,ha=l+18|0,ga<<16>>16==(b[ha>>1]|0)):0)?(ia=aa+72|0,(c[ia>>2]|0)!=1):0)?(ja=aa+18|0,(b[ja>>1]|0)==k<<16>>16):0){k=c[l+52>>2]|0;if(!(ga<<16>>16)){c[Na>>2]=59423;c[Na+4>>2]=10788;Zc(11,13600,Na);h=da;g=11;break}$=ep(k,Fa,Ia,0,0)|0;c[Ja>>2]=$;if(!$){h=c[l+32>>2]|0;c[Ea>>2]=h;g=Hp(l,h)|0;b[La>>1]=g;m=c[Fa>>2]|0;ll(m,13);Dq(m,1,Ea,La);b[m+16>>1]=65534-(g&65535)+(c[k+36>>2]|0)-(e[m+14>>1]|0);if((a[k+17>>0]|0)!=0?(vp(k,c[Ia>>2]|0,5,c[ia>>2]|0,Ja),(g&65535)>(e[m+12>>1]|0)):0)Bq(m,h,Ja);$=c[l+56>>2]|0;k=e[ha>>1]<<1;h=c[l+64>>2]|0;k=(d[h+(k+-2)>>0]<<8|d[h+(k+-1)>>0])&e[l+20>>1];h=$+k|0;c[Ea>>2]=h;k=$+(k+9)|0;while(1){g=h+1|0;if((a[h>>0]|0)<0&g>>>0<k>>>0)h=g;else break}c[Ea>>2]=g;k=h+10|0;m=ra;while(1){c[Ea>>2]=g+1;$=a[g>>0]|0;h=m+1|0;a[m>>0]=$;g=c[Ea>>2]|0;if(!($<<24>>24<0&g>>>0<k>>>0))break;else m=h}Fp(aa,e[ja>>1]|0,ta,h-sa|0,0,c[l+72>>2]|0,Ja);h=d[aa+6>>0]|0;$=c[aa+56>>2]|0;_=c[Ia>>2]|0;a[$+(h+8)>>0]=_>>>24;a[$+(h+9)>>0]=_>>>16;a[$+(h+10)>>0]=_>>>8;a[$+(h+11)>>0]=_;h=c[Fa>>2]|0;if(h)xg(c[h+68>>2]|0)}h=da;g=c[Ja>>2]|0;break}h=Co(c[(c[ea>>2]|0)+32>>2]|0)|0;X=p<<16>>16==1;n=d[qa>>0]|0;K=n&1;c[Ka>>2]=0;a[xa+0>>0]=0;a[xa+1>>0]=0;a[xa+2>>0]=0;a[xa+3>>0]=0;a[xa+4>>0]=0;Z=c[aa+52>>2]|0;if(!h)g=7;else{B=aa+1|0;p=d[B>>0]|0;Y=aa+18|0;g=e[Y>>1]|0;m=g+p|0;if((m|0)<2){_=m;T=0}else{do if(k<<16>>16)if((m|0)==(q|0)){n=(n|-2)+q|0;break}else{n=q+-1|0;break}else n=0;while(0);_=2-K|0;T=n}$=_+1|0;n=T-p+_|0;A=aa+56|0;p=c[A>>2]|0;if((n|0)==(g|0))q=(d[aa+6>>0]|0)+8|0;else{q=n<<1;W=c[aa+64>>2]|0;q=(d[W+q>>0]<<8|d[W+(q|1)>>0])&e[aa+20>>1]}Q=p+q|0;O=p+(q+1)|0;P=p+(q+2)|0;D=p+(q+3)|0;W=d[O>>0]<<16|d[Q>>0]<<24|d[P>>0]<<8|d[D>>0];c[Ha>>2]=W;q=Aa+(_<<2)|0;W=rp(Z,W,q,0)|0;c[Ka>>2]=W;a:do if(!W){t=aa+22|0;w=aa+32|0;x=aa+20|0;y=aa+64|0;z=Z+22|0;N=Z+36|0;u=_;p=0;while(1){k=c[q>>2]|0;p=p+1+(e[k+18>>1]|0)+(d[k+1>>0]|0)|0;k=u+-1|0;if(!u)break;v=k+T|0;q=a[B>>0]|0;if((v|0)==(e[t>>1]|0))if(!(q<<24>>24)){q=0;ca=52}else{W=c[w>>2]|0;c[ya+(k<<2)>>2]=W;n=d[W+1>>0]<<16|d[W>>0]<<24|d[W+2>>0]<<8|d[W+3>>0];c[Ha>>2]=n;c[Ma+(k<<2)>>2]=(Hp(aa,W)|0)&65535;a[B>>0]=0}else ca=52;if((ca|0)==52){ca=0;n=c[A>>2]|0;r=v-(q&255)<<1;m=c[y>>2]|0;r=(d[m+r>>0]<<8|d[m+(r|1)>>0])&e[x>>1];m=n+r|0;g=ya+(k<<2)|0;c[g>>2]=m;n=d[n+(r+1)>>0]<<16|d[m>>0]<<24|d[n+(r+2)>>0]<<8|d[n+(r+3)>>0];c[Ha>>2]=n;s=(Hp(aa,m)|0)&65535;c[Ma+(k<<2)>>2]=s;if(b[z>>1]&4){if((s+r|0)>(c[N>>2]|0)){k=u;ca=54;break}gw(h+r|0,m|0,s|0)|0;c[g>>2]=h+(m-(c[A>>2]|0));q=a[B>>0]|0}Ep(aa,v-(q&255)|0,s,Ka)}q=Aa+(k<<2)|0;W=rp(Z,n,q,0)|0;c[Ka>>2]=W;if(W){ca=47;break a}else u=k}if((ca|0)==54){ca=0;c[Na>>2]=59766;c[Na+4>>2]=10788;Zc(11,13600,Na);c[Ka>>2]=11;bw(Aa|0,0,k<<2|0)|0;m=0;n=0;break}q=p+3&-4;W=ci((c[Z+32>>2]|0)+(q*6|0)|0)|0;if(!W){c[Ka>>2]=7;m=W;n=0;break}U=W+(q<<2)|0;G=U+(q<<1)|0;J=c[Aa>>2]|0;R=d[J+5>>0]<<2;V=R&65535;S=a[J+3>>0]|0;C=S&255;if((_|0)>-1){F=S<<24>>24!=0;H=J;n=0;I=0;p=0;while(1){E=e[H+18>>1]|0;M=a[H+1>>0]|0;A=M&255;B=A+E|0;if(!(M<<24>>24)){g=c[H+56>>2]|0;if((B|0)>0){v=e[H+20>>1]|0;u=e[H+14>>1]|0;t=0;s=p;while(1){M=(t<<1)+u|0;M=g+((d[g+M>>0]<<8|d[g+(M+1)>>0])&v)|0;c[W+(s<<2)>>2]=M;b[U+(s<<1)>>1]=Hp(H,M)|0;t=t+1|0;if((t|0)==(E|0))break;else s=s+1|0}p=E+p|0}}else if((B|0)>0){w=H+56|0;u=H+20|0;t=H+64|0;s=0;g=p;while(1){v=s;z=A;b:while(1){while(1){x=z+-1|0;if((z|0)<=0){ca=72;break b}z=e[H+(x<<1)+22>>1]|0;if((z|0)>(v|0))z=x;else{y=z;z=x;break}}if((y|0)==(v|0)){ca=71;break}else v=v+-1|0}if((ca|0)==71){ca=0;v=c[H+(z<<2)+32>>2]|0}else if((ca|0)==72){ca=0;v=v<<1;M=c[t>>2]|0;v=(c[w>>2]|0)+((d[M+v>>0]<<8|d[M+(v|1)>>0])&e[u>>1])|0}c[W+(g<<2)>>2]=v;b[U+(g<<1)>>1]=Hp(H,v)|0;s=s+1|0;if((s|0)==(B|0))break;else g=g+1|0}p=E+p+A|0}c[Ca+(n<<2)>>2]=p;if((n|0)>=(_|0)|F)q=I;else{k=c[Ma+(n<<2)>>2]|0;r=U+(p<<1)|0;b[r>>1]=k;k=k&65535;q=k+I|0;gw(G+I|0,c[ya+(n<<2)>>2]|0,k|0)|0;k=W+(p<<2)|0;c[k>>2]=G+(I+R);m=(e[r>>1]|0)-R|0;b[r>>1]=m;do if(!(a[H+5>>0]|0)){M=c[k>>2]|0;L=(c[H+56>>2]|0)+8|0;L=d[L>>0]|d[L+1>>0]<<8|d[L+2>>0]<<16|d[L+3>>0]<<24;a[M>>0]=L;a[M+1>>0]=L>>8;a[M+2>>0]=L>>16;a[M+3>>0]=L>>24}else{if((m&65532)>>>0>=4)break;a[G+q>>0]=0;b[r>>1]=4;q=q+1|0}while(0);p=p+1|0}n=n+1|0;if((n|0)>=($|0))break;H=c[Aa+(n<<2)>>2]|0;I=q}q=R+-12+(c[N>>2]|0)|0;if((p|0)>0){r=F<<31>>31;m=0;k=0;n=0;do{g=n+2+(e[U+(m<<1)>>1]|0)|0;if((g|0)>(q|0)){c[Ma+(k<<2)>>2]=n;c[Ba+(k<<2)>>2]=m;if((k|0)>3){ca=91;break}else{m=m+r|0;k=k+1|0;n=0}}else n=g;m=m+1|0}while((m|0)<(p|0));if((ca|0)==91){ca=0;c[Na>>2]=59904;c[Na+4>>2]=10788;Zc(11,13600,Na);c[Ka>>2]=11;m=W;n=0;break}c[Ma+(k<<2)>>2]=n;c[Ba+(k<<2)>>2]=p;if((k|0)>0){B=(K|0)==0;m=k;do{s=Ma+(m<<2)|0;m=m+-1|0;g=Ma+(m<<2)|0;t=Ba+(m<<2)|0;x=c[t>>2]|0;A=c[g>>2]|0;r=n;while(1){w=x+-1|0;v=x-C|0;if(r){if(!B){n=A;break}y=b[U+(v<<1)>>1]|0;z=r+2|0;v=b[U+(w<<1)>>1]|0;u=A+-2|0;if(((y&65535)+z|0)>(u-(v&65535)|0)){n=A;break}}else{u=A+-2|0;z=2;y=b[U+(v<<1)>>1]|0;v=b[U+(w<<1)>>1]|0}c[t>>2]=w;x=w;A=u-(v&65535)|0;r=(y&65535)+z|0}c[s>>2]=r;c[g>>2]=n}while((m|0)>0);I=1;M=q;L=p}else{I=1;M=q;L=p}}else ca=93}else{q=R+-12+(c[N>>2]|0)|0;p=0;ca=93}if((ca|0)==93){ca=0;c[Ma>>2]=0;c[Ba>>2]=p;I=0;M=q;k=0;L=p}if((c[J+72>>2]|0)>>>0<2){c[Na>>2]=59963;c[Na+4>>2]=10788;Zc(11,13600,Na);c[Ka>>2]=11;m=W;n=0;break}E=d[c[J+56>>2]>>0]|0;if((k|0)>-1){s=(K|0)!=0;g=Z+17|0;m=aa+72|0;u=0;n=0;while(1){do if((u|0)<($|0)){J=Aa+(u<<2)|0;K=c[J>>2]|0;c[za+(u<<2)>>2]=K;c[Ga>>2]=K;c[J>>2]=0;K=Cg(c[K+68>>2]|0)|0;c[Ka>>2]=K;n=n+1|0;if(K){m=W;break a}}else{K=ep(Z,Ga,Ha,s?1:c[Ha>>2]|0,0)|0;c[Ka>>2]=K;if(K){m=W;break a}q=c[Ga>>2]|0;ll(q,E);c[za+(u<<2)>>2]=q;n=n+1|0;c[Ca+(u<<2)>>2]=L;if(!(a[g>>0]|0))break;vp(Z,c[q+72>>2]|0,5,c[m>>2]|0,Ka);if(c[Ka>>2]|0){m=W;break a}}while(0);if((u|0)<(k|0))u=u+1|0;else break}if((n|0)>0){p=0;c:do{K=c[za+(p<<2)>>2]|0;q=c[K+72>>2]|0;c[wa+(p<<2)>>2]=q;c[va+(p<<2)>>2]=q;b[ua+(p<<1)>>1]=b[(c[K+68>>2]|0)+24>>1]|0;if((p|0)>0){m=0;do{if((c[wa+(m<<2)>>2]|0)==(q|0)){ca=118;break c}m=m+1|0}while((m|0)<(p|0))}p=p+1|0}while((p|0)<(n|0));if((ca|0)==118){ca=0;c[Na>>2]=60018;c[Na+4>>2]=10788;Zc(11,13600,Na);c[Ka>>2]=11;m=W;break}r=(n|0)>1;m=Z+44|0;k=0;do{if(r){p=0;q=1;do{p=(c[va+(q<<2)>>2]|0)>>>0<(c[va+(p<<2)>>2]|0)>>>0?q:p;q=q+1|0}while((q|0)!=(n|0))}else p=0;K=va+(p<<2)|0;q=c[K>>2]|0;c[K>>2]=-1;if((p|0)!=(k|0)){if((p|0)>(k|0)){J=c[(c[za+(p<<2)>>2]|0)+68>>2]|0;K=p+1+(c[m>>2]|0)|0;b[J+24>>1]=0;Vp(J,K)}K=c[za+(k<<2)>>2]|0;J=c[K+68>>2]|0;b[J+24>>1]=b[ua+(p<<1)>>1]|0;Vp(J,q);c[K+72>>2]=q}k=k+1|0}while((k|0)!=(n|0));c[Ha>>2]=q;K=0}else K=1}else{K=1;n=0}H=n+-1|0;q=c[za+(H<<2)>>2]|0;J=c[q+72>>2]|0;a[Q>>0]=J>>>24;a[O>>0]=J>>>16;a[P>>0]=J>>>8;a[D>>0]=J;if(!((E&8|0)!=0|($|0)==(n|0))){Q=(c[q+56>>2]|0)+8|0;P=(c[(c[((n|0)>($|0)?za:Aa)+(_<<2)>>2]|0)+56>>2]|0)+8|0;P=d[P>>0]|d[P+1>>0]<<8|d[P+2>>0]<<16|d[P+3>>0]<<24;a[Q>>0]=P;a[Q+1>>0]=P>>8;a[Q+2>>0]=P>>16;a[Q+3>>0]=P>>24}J=Z+17|0;if((a[J>>0]|0)!=0?(oa=c[za>>2]|0,pa=c[N>>2]|0,I):0){A=S<<24>>24==0;y=A&1;x=V<<16>>16==0;v=c[oa+56>>2]|0;u=(e[oa+18>>1]|0)+(d[oa+1>>0]|0)|0;w=0;t=0;p=0;r=oa;while(1){z=c[W+(w<<2)>>2]|0;if((w|0)==(u|0)){p=p+1|0;if((p|0)<(n|0))q=za+(p<<2)|0;else q=Aa+(p<<2)|0;u=c[q>>2]|0;v=c[u+56>>2]|0;u=w+y+(e[u+18>>1]|0)+(d[u+1>>0]|0)|0}if((w|0)==(c[Ba+(t<<2)>>2]|0)){q=t+1|0;r=c[za+(q<<2)>>2]|0;if(!A)ca=142}else{q=t;ca=142}do if((ca|0)==142){ca=0;if((p|0)<(n|0)?(z>>>0>=v>>>0?(c[r+72>>2]|0)==(c[wa+(p<<2)>>2]|0):0)&z>>>0<(v+pa|0)>>>0:0)break;if(x)vp(Z,d[z+1>>0]<<16|d[z>>0]<<24|d[z+2>>0]<<8|d[z+3>>0],5,c[r+72>>2]|0,Ka);if((e[U+(w<<1)>>1]|0)<=(e[r+12>>1]|0))break;Bq(r,z,Ka)}while(0);w=w+1|0;if((w|0)==(L|0))break;else t=q}}if((H|0)>0){s=S<<24>>24==0;u=0;v=0;while(1){t=c[za+(u<<2)>>2]|0;p=c[Ba+(u<<2)>>2]|0;m=c[W+(p<<2)>>2]|0;k=b[U+(p<<1)>>1]|0;q=(k&65535)+R|0;r=h+v|0;do if(!(a[t+5>>0]|0)){p=(c[t+56>>2]|0)+8|0;Q=d[m>>0]|d[m+1>>0]<<8|d[m+2>>0]<<16|d[m+3>>0]<<24;a[p>>0]=Q;a[p+1>>0]=Q>>8;a[p+2>>0]=Q>>16;a[p+3>>0]=Q>>24;p=r}else{if(!s){np(t,c[W+(p+-1<<2)>>2]|0,Da);q=Da;m=r;p=0;q=(lm(h+(v+4)|0,c[q>>2]|0,c[q+4>>2]|0)|0)+4|0;break}g=m+-4|0;if(k<<16>>16!=4){m=g;p=r;break}m=g;p=r;q=(Hp(aa,g)|0)&65535}while(0);Fp(aa,u+T|0,m,q,p,c[t+72>>2]|0,Ka);if(c[Ka>>2]|0){m=W;break a}u=u+1|0;if((u|0)>=(H|0))break;else v=q+v|0}}q=1-n|0;if((q|0)<(n|0)){I=c[Ba>>2]|0;H=S<<24>>24==0&1;do{F=(q|0)<0?0-q|0:q;G=xa+F|0;do if(!(a[G>>0]|0)){if((q|0)<=-1?(T=F+-1|0,(c[Ca+(T<<2)>>2]|0)<(c[Ba+(T<<2)>>2]|0)):0)break;if(!F){E=0;m=0;D=I}else{p=F+-1|0;if((F|0)<($|0))m=(c[Ca+(p<<2)>>2]|0)+H|0;else m=L;D=(c[Ba+(p<<2)>>2]|0)+H|0;E=D;D=(c[Ba+(F<<2)>>2]|0)-D|0}B=c[za+(F<<2)>>2]|0;s=c[B+56>>2]|0;g=d[B+6>>0]|0;k=B+64|0;p=(c[k>>2]|0)+(D<<1)|0;r=B+18|0;v=e[r>>1]|0;C=B+1|0;u=v+m+(d[C>>0]|0)|0;t=D+E|0;if((m|0)<(E|0)){T=Eq(B,E-m|0,W+(m<<2)|0,U+(m<<1)|0)|0;S=c[k>>2]|0;hw(S|0,S+(T<<1)|0,v<<1|0)|0;v=v-T|0}if((u|0)>(t|0))v=v-(Eq(B,u-t|0,W+(t<<2)|0,U+(t<<1)|0)|0)|0;x=s+(g+5)|0;w=s+(g+6)|0;T=s+(((d[x>>0]<<8|d[w>>0])+65535&65535)+1)|0;c[Na>>2]=T;d:do if(T>>>0<p>>>0)ca=181;else{if((E|0)<(m|0)){u=m-E|0;u=(u|0)>(D|0)?D:u;T=c[k>>2]|0;hw(T+(u<<1)|0,T|0,v<<1|0)|0;if(Fq(B,p,Na,T,u,W+(E<<2)|0,U+(E<<1)|0)|0){ca=181;break}v=v+u|0}u=a[C>>0]|0;if(u<<24>>24){A=0;do{z=(e[B+(A<<1)+22>>1]|0)+m|0;y=z-E|0;if((y|0)>-1&(y|0)<(D|0)){S=y<<1;R=c[k>>2]|0;T=R+S|0;hw(R+(S+2)|0,T|0,v-y<<1|0)|0;if(Fq(B,p,Na,T,1,W+(z<<2)|0,U+(z<<1)|0)|0){ca=181;break d}u=a[C>>0]|0;v=v+1|0}A=A+1|0}while((A|0)<(u&255|0))}T=v+E|0;if(Fq(B,p,Na,(c[k>>2]|0)+(v<<1)|0,D-v|0,W+(T<<2)|0,U+(T<<1)|0)|0){ca=181;break}T=D&65535;b[r>>1]=T;a[C>>0]=0;a[s+(g+3)>>0]=(T&65535)>>>8;a[s+(g+4)>>0]=b[r>>1];T=(c[Na>>2]|0)-s|0;a[x>>0]=T>>>8;a[w>>0]=T}while(0);if((ca|0)==181){ca=0;Dq(B,D,W+(E<<2)|0,U+(E<<1)|0)}a[G>>0]=1;b[B+16>>1]=M-(c[Ma+(F<<2)>>2]|0)}while(0);q=q+1|0}while((q|0)!=(n|0))}do if(X){if(b[Y>>1]|0){ca=191;break}m=c[za>>2]|0;if((d[aa+6>>0]|0)>>>0>(e[m+16>>1]|0)>>>0){ca=191;break}c[Ka>>2]=Aq(m)|0;Cq(m,aa,Ka);if(c[Ka>>2]|0)break;c[Ka>>2]=Um(c[m+52>>2]|0,m,c[m+72>>2]|0)|0}else ca=191;while(0);do if((ca|0)==191){ca=0;if((a[J>>0]|0)==0|V<<16>>16!=0|K)break;else m=0;do{Y=c[za+(m<<2)>>2]|0;X=c[Y+56>>2]|0;vp(Z,d[X+9>>0]<<16|d[X+8>>0]<<24|d[X+10>>0]<<8|d[X+11>>0],5,c[Y+72>>2]|0,Ka);m=m+1|0}while((m|0)!=(n|0))}while(0);if((n|0)>=($|0)){m=W;break}m=c[Ka>>2]|0;g=n;do{k=c[Aa+(g<<2)>>2]|0;if(!m){m=Um(c[k+52>>2]|0,k,c[k+72>>2]|0)|0;c[Ka>>2]=m}g=g+1|0}while((g|0)!=($|0));m=W}else{k=_;ca=47}while(0);if((ca|0)==47){ca=0;bw(Aa|0,0,(k<<2)+4|0)|0;m=0;n=0}di(m);if((_|0)>-1){k=0;do{m=c[Aa+(k<<2)>>2]|0;if(m)xg(c[m+68>>2]|0);k=k+1|0}while((k|0)<($|0))}if((n|0)>0){k=0;do{g=c[za+(k<<2)>>2]|0;if(g)xg(c[g+68>>2]|0);k=k+1|0}while((k|0)!=(n|0))}g=c[Ka>>2]|0}if(da)Xk(da)}else h=da;while(0);a[o>>0]=0;if(l)xg(c[l+68>>2]|0);l=(b[na>>1]|0)+-1<<16>>16;b[na>>1]=l;if(g)break;else da=h}if(h)Xk(h);i=Oa;return g|0}function Hp(b,f){b=b|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=d[b+7>>0]|0;h=f+g|0;do if(!(a[b+4>>0]|0)){j=a[h>>0]|0;i=j&255;if(j<<24>>24<0){j=f+(g+9)|0;g=i&127;do{h=h+1|0;i=a[h>>0]|0;g=i&127|g<<7}while(i<<24>>24<0&h>>>0<j>>>0)}else g=i;i=h+1|0;if(a[b+2>>0]|0){k=h+10|0;j=i;while(1){i=h+2|0;if((a[j>>0]|0)<0&i>>>0<k>>>0){h=j;j=i}else break}}h=e[b+10>>1]|0;if(g>>>0>h>>>0){j=e[b+12>>1]|0;g=(((g-j|0)>>>0)%(((c[(c[b+52>>2]|0)+36>>2]|0)+-4|0)>>>0)|0)+j|0;g=(i-f&65535)+4+(g>>>0>h>>>0?j:g)|0;break}else{g=i-f+g|0;g=g>>>0<4?4:g;break}}else{i=f+(g+9)|0;while(1){g=h+1|0;if((a[h>>0]|0)<0&g>>>0<i>>>0)h=g;else break}g=g-f|0}while(0);return g&65535|0}function Ip(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;s=i;i=i+16|0;if((i|0)>=(j|0))ba();q=s+4|0;p=s;o=s+8|0;c[q>>2]=0;if(a[b+17>>0]|0){h=((c[2514]|0)>>>0)/((c[b+32>>2]|0)>>>0)|0;m=b+36|0;n=e;while(1){l=n+1|0;if(l>>>0<2)k=0;else{k=n+-1|0;k=k-((k>>>0)%(((((c[m>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(h|0)?3:2)+k|0}if((k|0)==(l|0)|(n|0)==(h|0))n=l;else break}if(l>>>0<=(c[b+44>>2]|0)>>>0){n=dp(b,l,o,p)|0;m=(n|0)==0;k=m&(a[o>>0]|0)==4&(c[p>>2]|0)==(e|0);l=k?l:0;if(k|m^1){h=0;k=k?101:n}else r=8}else{l=0;r=8}}else{l=0;r=8}if((r|0)==8){k=$k(b,e,q,(f|0)==0?2:0)|0;h=c[q>>2]|0;if(!k){l=c[h+56>>2]|0;l=d[l+1>>0]<<16|d[l>>0]<<24|d[l+2>>0]<<8|d[l+3>>0];k=0}}c[g>>2]=l;if(!f){if(h)xg(c[h+68>>2]|0)}else c[f>>2]=h;i=s;return ((k|0)==101?0:k)|0}function Jp(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();h=k;c[h>>2]=0;f=(b|0)!=0;a:do if(d)if(f){f=h;while(1){g=d+8|0;while(1){if((Sp(a,b+8|0,c[b>>2]|0,g,c[d>>2]|0)|0)>=1)break;c[f>>2]=b;f=b+4|0;b=c[f>>2]|0;if(!b){b=0;g=0;break a}else g=0}c[f>>2]=d;f=d+4|0;d=c[f>>2]|0;if(!d){d=0;g=1;break a}if(!b){b=0;g=0;break}}}else{g=f;f=h}else{d=0;g=f;f=h}while(0);c[f>>2]=g?b:d;c[e>>2]=c[h>>2];i=k;return}function Kp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g+8|0;e=g;d=c[2252]|0;if((d|0)!=0?(hc[d&127](202)|0)!=0:0)d=3338;else{d=ip(c[a>>2]|0,0,b,4126,f)|0;c[f>>2]=d;if(!d){d=e;c[d>>2]=0;c[d+4>>2]=0;d=c[b>>2]|0;Yb[c[(c[d>>2]|0)+40>>2]&63](d,18,e)|0;d=c[f>>2]|0}}i=g;return d|0}function Lp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=b+0|0;h=g+40|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));g=((d|0)<0)<<31>>31;h=mg(d,g)|0;c[b+4>>2]=h;if(!h)c[b>>2]=7;else{h=nw(e|0,f|0,d|0,g|0)|0;c[b+12>>2]=h;c[b+16>>2]=h;h=$v(e|0,f|0,h|0,((h|0)<0)<<31>>31|0)|0;g=b+24|0;c[g>>2]=h;c[g+4>>2]=C;c[b+8>>2]=d;c[b+32>>2]=a}return}function Mp(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,k=0,l=0,m=0,n=0,o=0,p=0,q=0;a:do if((d|0)>0){f=a+8|0;h=a+16|0;i=a+4|0;j=a+32|0;k=a+12|0;l=a+24|0;m=d;do{if(c[a>>2]|0)break a;g=c[h>>2]|0;e=(c[f>>2]|0)-g|0;e=(m|0)>(e|0)?e:m;gw((c[i>>2]|0)+g|0,b+(d-m)|0,e|0)|0;g=(c[h>>2]|0)+e|0;c[h>>2]=g;if((g|0)==(c[f>>2]|0)){q=c[j>>2]|0;o=c[k>>2]|0;p=(c[i>>2]|0)+o|0;n=l;n=fw(c[n>>2]|0,c[n+4>>2]|0,o|0,((o|0)<0)<<31>>31|0)|0;c[a>>2]=pc[c[(c[q>>2]|0)+12>>2]&31](q,p,g-o|0,n,C)|0;c[h>>2]=0;c[k>>2]=0;n=c[f>>2]|0;g=l;n=fw(c[g>>2]|0,c[g+4>>2]|0,n|0,((n|0)<0)<<31>>31|0)|0;g=l;c[g>>2]=n;c[g+4>>2]=C}m=m-e|0}while((m|0)>0)}while(0);return}function Np(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=a+4|0;if(((c[a>>2]|0)==0?(e=c[f>>2]|0,(e|0)!=0):0)?(d=c[a+16>>2]|0,g=c[a+12>>2]|0,(d|0)>(g|0)):0){i=c[a+32>>2]|0;h=a+24|0;h=fw(c[h>>2]|0,c[h+4>>2]|0,g|0,((g|0)<0)<<31>>31|0)|0;c[a>>2]=pc[c[(c[i>>2]|0)+12>>2]&31](i,e+g|0,d-g|0,h,C)|0}e=a+24|0;d=c[a+16>>2]|0;e=fw(d|0,((d|0)<0)<<31>>31|0,c[e>>2]|0,c[e+4>>2]|0)|0;d=b;c[d>>2]=e;c[d+4>>2]=C;Sc(c[f>>2]|0);f=c[a>>2]|0;d=a+0|0;e=d+40|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));return f|0}function Op(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=c[2252]|0;if((g|0)!=0?(hc[g&127](201)|0)!=0:0)g=266;else{h=b+44|0;if(c[h>>2]|0)c[h>>2]=0;n=b;c[n>>2]=e;c[n+4>>2]=f;n=d+8|0;l=c[n>>2]|0;n=c[n+4>>2]|0;j=b+8|0;k=j;c[k>>2]=l;c[k+4>>2]=n;d=c[d>>2]|0;k=b+24|0;c[k>>2]=d;a=a+8|0;g=c[a>>2]|0;i=c[(c[g+24>>2]|0)+136>>2]|0;m=((i|0)<0)<<31>>31;if(!((n|0)>(m|0)|(n|0)==(m|0)&l>>>0>i>>>0)?(c[c[d>>2]>>2]|0)>2:0){c[h>>2]=0;g=c[a>>2]|0}i=c[g+12>>2]|0;d=((i|0)<0)<<31>>31;f=nw(e|0,f|0,i|0,d|0)|0;a=b+36|0;g=c[a>>2]|0;if(!g){g=mg(i,d)|0;c[a>>2]=g;c[b+40>>2]=i;e=g;g=(g|0)==0?7:0}else{e=g;g=0}if((g|0)==0&(f|0)!=0){g=i-f|0;i=b;h=c[i>>2]|0;i=c[i+4>>2]|0;b=fw(h|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;l=C;d=j;a=c[d>>2]|0;d=c[d+4>>2]|0;if((l|0)>(d|0)|(l|0)==(d|0)&b>>>0>a>>>0)g=$v(a|0,d|0,h|0,i|0)|0;k=c[k>>2]|0;g=pc[c[(c[k>>2]|0)+8>>2]&31](k,e+f|0,g,h,i)|0}}return g|0}function Pp(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+32|0;if((i|0)>=(j|0))ba();k=l+8|0;h=l;f=c[b+44>>2]|0;e=b;g=c[e>>2]|0;a:do if(!f){f=c[b+40>>2]|0;e=nw(g|0,c[e+4>>2]|0,f|0,((f|0)<0)<<31>>31|0)|0;if((e|0)!=0&(f-e|0)>8){f=(op((c[b+36>>2]|0)+e|0,d)|0)&255;e=b;f=fw(c[e>>2]|0,c[e+4>>2]|0,f|0,0)|0;e=b;c[e>>2]=f;c[e+4>>2]=C;e=0;break}else f=0;while(1){e=Gq(b,1,h)|0;if(e)break a;e=a[c[h>>2]>>0]|0;a[k+(f&15)>>0]=e;if(e<<24>>24<0)f=f+1|0;else break}op(k,d)|0;e=0}else{f=(op(f+g|0,d)|0)&255;e=b;f=fw(c[e>>2]|0,c[e+4>>2]|0,f|0,0)|0;e=b;c[e>>2]=f;c[e+4>>2]=C;e=0}while(0);i=l;return e|0}function Qp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;d=g;c[d>>2]=0;c[d+4>>2]=0;d=a;f=c[d+4>>2]|0;b=a+8|0;e=c[b+4>>2]|0;do if((f|0)<(e|0)|((f|0)==(e|0)?(c[d>>2]|0)>>>0<(c[b>>2]|0)>>>0:0))h=9;else{d=c[a+48>>2]|0;if(d){b=Hq(d)|0;l=d+32|0;f=d+48|0;c[l+0>>2]=c[f+0>>2];c[l+4>>2]=c[f+4>>2];c[l+8>>2]=c[f+8>>2];c[l+12>>2]=c[f+12>>2];l=d+40|0;f=d+8|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if((c[l>>2]|0)==(e|0)?(c[l+4>>2]|0)==(f|0):0)c[d+20>>2]=1;if(!b)if(!(c[d+20>>2]|0)){b=Op(c[d>>2]|0,a,d+32|0,e,f)|0;if(!b){h=9;break}else break}else b=0}else b=0;Rp(a)}while(0);if((h|0)==9){b=Pp(a,g)|0;if(!b){b=c[g>>2]|0;c[a+20>>2]=b;b=Gq(a,b,a+32|0)|0}}i=k;return b|0}function Rp(a){a=a|0;var b=0;Sc(c[a+28>>2]|0);Sc(c[a+36>>2]|0);Om(c[a+48>>2]|0);a=a+0|0;b=a+56|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Sp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0;g=c[a+12>>2]|0;if(e)Cm(c[(c[a+8>>2]|0)+28>>2]|0,f,e,g);return Gm(d,b,g,0)|0}function Tp(f,g,h,k){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,t=0,u=0,v=0,w=0;w=i;i=i+16|0;if((i|0)>=(j|0))ba();m=w;l=w+8|0;s=w+12|0;do if((c[f+44>>2]|0)>>>0>=g>>>0){g=rp(f,g,l,0)|0;if(!g){u=c[l>>2]|0;t=u+9|0;a:do if(!(a[t>>0]|0)){a[t>>0]=1;q=d[u+6>>0]|0;o=u+18|0;l=b[o>>1]|0;if(!(l<<16>>16)){l=l&65535;g=u+5|0}else{n=0;while(1){m=c[u+56>>2]|0;l=n<<1;g=c[u+64>>2]|0;l=(d[g+l>>0]<<8|d[g+(l|1)>>0])&e[u+20>>1];g=m+l|0;p=u+5|0;if((a[p>>0]|0)==0?(r=Tp(f,d[m+(l+1)>>0]<<16|d[g>>0]<<24|d[m+(l+2)>>0]<<8|d[m+(l+3)>>0],1,k)|0,(r|0)!=0):0){g=r;v=21;break a}g=Dp(u,g,s)|0;n=n+1|0;if(g){v=21;break a}l=e[o>>1]|0;if((n|0)>=(l|0)){g=p;break}}}if(!(a[g>>0]|0)){g=c[u+56>>2]|0;g=Tp(f,d[g+(q+9)>>0]<<16|d[g+(q+8)>>0]<<24|d[g+(q+10)>>0]<<8|d[g+(q+11)>>0],1,k)|0;if(!g)v=16}else if(!k)v=16;else{c[k>>2]=(c[k>>2]|0)+l;v=16}if((v|0)==16){if(h){g=Um(c[u+52>>2]|0,u,c[u+72>>2]|0)|0;v=21;break}g=Cg(c[u+68>>2]|0)|0;if(!g){ll(u,d[(c[u+56>>2]|0)+q>>0]|8);g=0;v=21;break}}a[t>>0]=0}else{c[m>>2]=60971;c[m+4>>2]=10788;Zc(11,13600,m);g=11;v=21}while(0);if((v|0)==21){a[t>>0]=0;if(!u)break}xg(c[u+68>>2]|0)}}else{c[m>>2]=60966;c[m+4>>2]=10788;Zc(11,13600,m);g=11}while(0);i=w;return g|0}function Up(b,d){b=b|0;d=d|0;var e=0,f=0;f=(c[b>>2]|0)+204|0;e=Yb[c[8744+132>>2]&63](c[(c[f>>2]|0)+40>>2]|0,d,0)|0;e=el(c[f>>2]|0,d,e)|0;if(!e)e=0;else{f=c[e+8>>2]|0;c[f+56>>2]=c[e+4>>2];c[f+68>>2]=e;c[f+52>>2]=b;c[f+72>>2]=d;a[f+6>>0]=(d|0)==1?100:0;e=f}return e|0}function Vp(a,d){a=a|0;d=d|0;var e=0;e=a+20|0;mc[c[8744+140>>2]&15](c[(c[a+28>>2]|0)+40>>2]|0,c[a>>2]|0,c[e>>2]|0,d);c[e>>2]=d;if((b[a+24>>1]&6)==6)Mo(a,3);return}function Wp(f){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;v=i;i=i+16|0;if((i|0)>=(j|0))ba();u=v;r=c[f+52>>2]|0;s=a[f>>0]|0;t=c[f+72>>2]|0;q=Xp(f)|0;c[u>>2]=q;if(!q){q=b[f+18>>1]|0;p=q&65535;if(!(q<<16>>16))g=f+5|0;else{h=f+56|0;k=f+20|0;l=f+64|0;g=f+5|0;q=0;do{m=c[h>>2]|0;n=q<<1;o=c[l>>2]|0;n=(d[o+n>>0]<<8|d[o+(n|1)>>0])&e[k>>1];o=m+n|0;Bq(f,o,u);if(!(a[g>>0]|0))vp(r,d[m+(n+1)>>0]<<16|d[o>>0]<<24|d[m+(n+2)>>0]<<8|d[m+(n+3)>>0],5,t,u);q=q+1|0}while((q|0)<(p|0))}if(!(a[g>>0]|0)){q=d[f+6>>0]|0;p=c[f+56>>2]|0;vp(r,d[p+(q+9)>>0]<<16|d[p+(q+8)>>0]<<24|d[p+(q+10)>>0]<<8|d[p+(q+11)>>0],5,t,u)}}a[f>>0]=s;i=v;return c[u>>2]|0}function Xp(e){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;v=i;i=i+16|0;if((i|0)>=(j|0))ba();u=v;a:do if(!(a[e>>0]|0)){f=c[e+52>>2]|0;r=c[e+56>>2]|0;l=d[e+6>>0]|0;if(No(e,d[r+l>>0]|0)|0){c[u>>2]=54562;c[u+4>>2]=10788;Zc(11,13600,u);f=11;break}n=c[f+32>>2]|0;b[e+20>>1]=n+65535;a[e+1>>0]=0;q=c[f+36>>2]|0;f=l+8+(d[e+7>>0]|0)|0;b[e+14>>1]=f;c[e+60>>2]=r+q;f=f&65535;c[e+64>>2]=r+f;k=a[r+(l+5)>>0]|0;h=a[r+(l+6)>>0]|0;g=d[r+(l+3)>>0]<<8|d[r+(l+4)>>0];b[e+18>>1]=g;if(g>>>0>(((n+-8|0)>>>0)/6|0)>>>0){c[u>>2]=54579;c[u+4>>2]=10788;Zc(11,13600,u);f=11;break}n=(g<<1)+f|0;m=q+-4|0;g=d[r+(l+1)>>0]<<8|d[r+(l+2)>>0];f=(((k&255)<<8|h&255)+65535&65535)+1+(d[r+(l+7)>>0]|0)|0;do if(g){while(1){if((g|0)<(n|0)|(g|0)>(m|0)){t=8;break}h=d[r+g>>0]<<8|d[r+(g+1)>>0];k=d[r+(g+2)>>0]<<8|d[r+(g+3)>>0];g=k+g|0;if(!h){o=k;p=g;s=f;t=12;break}if((h|0)<=(g+3|0)|(g|0)>(q|0))break;g=h;f=k+f|0}if((t|0)==8){c[u>>2]=54634;c[u+4>>2]=10788;Zc(11,13600,u);f=11;break a}if((t|0)==12?(p|0)<=(q|0):0){f=o+s|0;break}c[u>>2]=54641;c[u+4>>2]=10788;Zc(11,13600,u);f=11;break a}while(0);if((f|0)>(q|0)){c[u>>2]=54655;c[u+4>>2]=10788;Zc(11,13600,u);f=11;break}else{b[e+16>>1]=f-n;a[e>>0]=1;f=0;break}}else f=0;while(0);i=v;return f|0}function Yp(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;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;f=c[b>>2]|0;g=f+65|0;if(!(a[g>>0]|0)){if((c[f+24>>2]&65536|0)==0?(h=b+4|0,m=c[h>>2]|0,c[k>>2]=(d|0)==0?13552:d,$g(m,f,13560,k),(e|0)!=0):0){d=c[c[h>>2]>>2]|0;c[k>>2]=d;c[k+4>>2]=e;f=Iq(f,d,0,k)|0;c[c[h>>2]>>2]=f}if(!(a[g>>0]|0)){c[k>>2]=105209;c[k+4>>2]=10788;Zc(11,13600,k);f=11}else f=7}else f=7;c[b+12>>2]=f;i=l;return}function Zp(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,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;m=a+20|0;a:do if((c[m>>2]|0)>0){h=a+16|0;k=(d|0)==0;l=0;a=0;do{f=(l|0)<2^l;g=c[h>>2]|0;e=c[g+(f<<4)+12>>2]|0;if(!(!k?($c(d,c[g+(f<<4)>>2]|0)|0)!=0:0)){a=Zm(e+24|0,b,n)|0;if(a){a=c[a+8>>2]|0;if(a)break a}else a=0}l=l+1|0}while((l|0)<(c[m>>2]|0))}else a=0;while(0);i=o;return a|0}function _p(d){d=d|0;var f=0,g=0,h=0,i=0;i=c[d+8>>2]|0;h=d+46|0;g=b[h>>1]|0;g=(g&65535)>5?5:g&65535;f=b[(c[d+12>>2]|0)+28>>1]|0;b[i>>1]=f<<16>>16<33?33:f;gw(i+2|0,13512,g<<1|0)|0;f=e[h>>1]|0;if(g>>>0<f>>>0)do{g=g+1|0;b[i+(g<<1)>>1]=23;f=e[h>>1]|0}while((g|0)<(f|0));if(a[d+50>>0]|0)b[i+(f<<1)>>1]=0;return}function $p(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+64|0;if((i|0)>=(j|0))ba();n=p;a:do if((((g|0)!=0?(l=c[g>>2]|0,(l|0)!=0):0)?(o=g+8|0,(c[o>>2]|0)!=0):0)?(k=d+4|0,q=Wh(c[d>>2]|0,l,c[k>>2]|0)|0,(q|0)!=0):0){h=c[g+4>>2]|0;b:do if(!h)m=11;else{if(!($c(c[g>>2]|0,h)|0)){k=c[q+8>>2]|0;if(!k){m=11;break}while(1){l=a[k+51>>0]|0;if((l&3)==2)break;k=c[k+20>>2]|0;if(!k){m=11;break b}}h=c[o>>2]|0;f=k}else{f=Zp(c[d>>2]|0,h,c[k>>2]|0)|0;k=c[o>>2]|0;if(!f)break;l=a[f+51>>0]|0;h=k}o=(e[f+46>>1]|0)+1|0;a[f+51>>0]=l&-5;k=f+8|0;Jq(h,o,c[k>>2]|0,f);if(c[f+36>>2]|0)break a;b[q+28>>1]=b[c[k>>2]>>1]|0;break a}while(0);if((m|0)==11)k=c[o>>2]|0;o=q+42|0;m=n+44|0;b[m>>1]=b[o>>1]|0;Jq(k,1,q+28|0,n);b[o>>1]=b[m>>1]|0}while(0);i=p;return 0}function aq(b,e){b=b|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))ba();k=l;do if(e){if((c[b+12>>2]|0)>>>0<e>>>0){c[k>>2]=e;bn(b,44408,k);f=1;break}g=(c[b+8>>2]|0)+(e>>>3)|0;h=d[g>>0]|0;f=1<<(e&7);if(!(h&f)){a[g>>0]=h|f;f=0;break}else{c[k>>2]=e;bn(b,44432,k);f=1;break}}else f=1;while(0);i=l;return f|0}function bq(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;do if(d){if((b|0)==1){b=d+8|0;c[a>>2]=c[b>>2];c[b>>2]=0;c[d+12>>2]=0;break}b=b+-1|0;d=bq(a,b)|0;e=c[a>>2]|0;if(e){c[e+12>>2]=d;d=e+8|0;c[a>>2]=c[d>>2];c[d>>2]=bq(a,b)|0;return e|0}}else d=0;while(0);return d|0}function cq(b,d){b=b|0;d=d|0;var e=0;if((a[b+43>>0]|0)==2){e=b+24|0;if((c[e>>2]|0)>0){d=b+32|0;b=0;do{Sc(c[(c[d>>2]|0)+(b<<2)>>2]|0);c[(c[d>>2]|0)+(b<<2)>>2]=0;b=b+1|0}while((b|0)<(c[e>>2]|0))}}else{b=c[b+4>>2]|0;nc[c[(c[b>>2]|0)+64>>2]&127](b,d)|0}return}function dq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();b=Jg(b)|0;if(b)$g(c,a,Oe(a)|0,d);i=d;return b|0}function eq(a,d){a=a|0;d=d|0;var f=0,g=0,h=0;f=c[a>>2]|0;g=a+16|0;h=a+84|0;_g(c[g>>2]|0,(e[h>>1]|0)<<1);ig(f,c[g>>2]|0);b[h>>1]=d;h=d*80|0;f=ih(f,h,0)|0;if(f){bw(f|0,0,h|0)|0;c[g>>2]=f;if((d|0)>0){h=c[a>>2]|0;g=d<<1;while(1){g=g+-1|0;b[f+8>>1]=1;c[f+32>>2]=h;if((g|0)<=0)break;else f=f+40|0}}}else c[g>>2]=0;return}function fq(b,d,f,g,h){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;if(!(a[(c[b>>2]|0)+65>>0]|0)){d=(_(e[b+84>>1]|0,f)|0)+d|0;Tg((c[b+16>>2]|0)+(d*40|0)|0,g,-1,1,h)|0}return}function gq(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;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;k=c[d>>2]|0;h=k+1|0;c[d>>2]=h;if((k|0)>98){f=d+8|0;h=c[f>>2]|0;c[d>>2]=k;do Ln(d);while((c[d>>2]|0)>-1);ph(h,37160,l);c[f>>2]=h}else{b[d+(h<<4)+12>>1]=e;a[d+(h<<4)+14>>0]=f;f=d+(h<<4)+16|0;c[f+0>>2]=c[g+0>>2];c[f+4>>2]=c[g+4>>2];c[f+8>>2]=c[g+8>>2]}i=m;return}function hq(a,b,d){a=a|0;b=b|0;d=d|0;a=c[a+8>>2]|0;switch(b&255|0){case 207:case 196:case 195:case 163:{Ik(c[a>>2]|0,c[d>>2]|0,1);break}case 223:case 219:case 217:{Dk(c[a>>2]|0,c[d>>2]|0);break}case 243:case 238:case 229:case 227:case 216:case 204:case 202:{Ck(c[a>>2]|0,c[d>>2]|0);break}case 175:case 174:{Ck(c[a>>2]|0,c[d>>2]|0);break}case 236:{Dk(c[a>>2]|0,c[d+4>>2]|0);break}case 213:case 212:case 201:case 194:{zo(c[a>>2]|0,c[d>>2]|0);break}case 228:case 221:case 220:case 210:case 209:case 208:case 205:case 203:case 200:case 188:case 179:{Jk(c[a>>2]|0,c[d>>2]|0);break}case 252:case 197:{Mn(c[a>>2]|0,c[d>>2]|0);break}case 239:case 234:{Bk(c[a>>2]|0,c[d>>2]|0);break}default:{}}return}
11 function iq(f,g){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,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0;ea=i;i=i+192|0;if((i|0)>=(j|0))ba();_=ea+48|0;Y=ea+24|0;X=ea+160|0;F=ea+156|0;P=ea+152|0;I=ea+148|0;S=ea+144|0;L=ea+140|0;E=ea+16|0;ca=ea;v=ea+128|0;u=ea+116|0;w=ea+96|0;l=ea+88|0;da=f+8|0;$=c[da>>2]|0;aa=c[f>>2]|0;c[ca+0>>2]=c[9286];c[ca+4>>2]=c[9287];c[ca+8>>2]=c[9288];a:do switch(g|0){case 5:{a[$+450>>0]=0;c[$+440>>2]=0;break}case 7:{a[$+450>>0]=2;c[$+440>>2]=0;break}case 6:{a[$+450>>0]=1;c[$+440>>2]=0;break}case 38:{_=c[f+(aa+-2<<4)+16>>2]|0;c[ca>>2]=_;c[ca+4>>2]=(c[$+504>>2]|0)-_+(c[$+508>>2]|0);break}case 39:{u=f+(aa<<4)+16|0;s=c[$>>2]|0;k=c[$+484>>2]|0;b:do if(k){t=k+38|0;if((b[t>>1]|0)>=(c[s+96>>2]|0)){c[_>>2]=c[k>>2];ph($,36528,_);break}r=Sq(s,u)|0;if(r){p=b[t>>1]|0;h=p<<16>>16;c:do if(p<<16>>16>0){q=a[9328+(d[r>>0]|0)>>0]|0;n=c[k+4>>2]|0;o=r+1|0;l=0;while(1){m=c[n+(l*24|0)>>2]|0;if(q<<24>>24==(a[9328+(d[m>>0]|0)>>0]|0)?($c(o,m+1|0)|0)==0:0)break;l=l+1|0;if((l|0)>=(h|0))break c}c[_>>2]=r;ph($,36552,_);ig(s,r);break b}else n=c[k+4>>2]|0;while(0);o=k+4|0;do if(!(h&7)){n=no(s,n,(h*24|0)+192|0,0)|0;if(!n){ig(s,r);break b}else{c[o>>2]=n;p=b[t>>1]|0;break}}while(0);_=p<<16>>16;Z=n+(_*24|0)|0;c[Z+0>>2]=0;c[Z+4>>2]=0;c[Z+8>>2]=0;c[Z+12>>2]=0;c[Z+16>>2]=0;c[Z+20>>2]=0;c[Z>>2]=r;a[n+(_*24|0)+21>>0]=65;a[n+(_*24|0)+22>>0]=1;b[t>>1]=(b[t>>1]|0)+1<<16>>16}}while(0);Y=u;Z=c[Y+4>>2]|0;_=ca;c[_>>2]=c[Y>>2];c[_+4>>2]=Z;c[$+324>>2]=0;break}case 22:{Pq($,0,f+(aa<<4)+16|0);break}case 23:{Pq($,1,f+(aa<<4)+16|0);break}case 8:{v=c[$>>2]|0;z=v+65|0;if(((a[z>>0]|0)==0?(a[$+18>>0]|0)==0:0)?(V=$+64|0,(c[V>>2]|0)==0):0){y=Kq($)|0;if(y){do{}while((Lq(y,61)|0)!=0);sh(y,24,0,0,0)|0;do if(!(a[z>>0]|0)){o=$+332|0;s=c[o>>2]|0;if((s|0)==0?(c[$+316>>2]|0)==0:0)break;p=y+32|0;q=c[p>>2]|0;if(q)c[(c[y+4>>2]|0)+8>>2]=q;c[(c[y+24>>2]|0)+88>>2]=q+-1;t=v+20|0;d:do if((c[t>>2]|0)>0){h=y+96|0;k=$+328|0;l=v+16|0;m=v+145|0;n=y+4|0;r=0;while(1){u=1<<r;if(((u&s|0)!=0?(c[h>>2]=c[h>>2]|u,_=c[(c[(c[l>>2]|0)+(r<<4)+12>>2]|0)+4>>2]|0,th(y,sh(y,4,r,(c[k>>2]&u|0)!=0&1,c[$+(r<<2)+336>>2]|0)|0,_,-14),(a[m>>0]|0)==0):0)?(K=c[n>>2]|0,(K|0)!=0):0)a[K+(((c[p>>2]|0)+-1|0)*20|0)+3>>0]=1;r=r+1|0;if((r|0)>=(c[t>>2]|0))break d;s=c[o>>2]|0}}while(0);p=$+452|0;if((c[p>>2]|0)>0){o=$+520|0;n=0;do{q=c[(c[(c[o>>2]|0)+(n<<2)>>2]|0)+60>>2]|0;e:do if(!q)q=0;else while(1){if((c[q>>2]|0)==(v|0))break e;q=c[q+24>>2]|0;if(!q){q=0;break}}while(0);th(y,sh(y,146,0,0,0)|0,q,-10);n=n+1|0}while((n|0)<(c[p>>2]|0))}c[p>>2]=0;p=Kq($)|0;o=$+396|0;if((c[o>>2]|0)>0){n=$+400|0;m=0;do{Y=c[n>>2]|0;_=c[Y+(m<<4)+12>>2]|0;th(p,sh(p,145,c[Y+(m<<4)>>2]|0,c[Y+(m<<4)+4>>2]|0,d[Y+(m<<4)+8>>0]|0)|0,_,-2);m=m+1|0}while((m|0)<(c[o>>2]|0))}k=c[$+8>>2]|0;q=c[$+404>>2]|0;if(q){h=(c[$>>2]|0)+16|0;r=k+32|0;s=k+4|0;do{o=c[q+8>>2]|0;p=c[q+12>>2]|0;Mq($,0,o,c[(c[(c[h>>2]|0)+(o<<4)+12>>2]|0)+72>>2]|0,54);o=p+1|0;sh(k,28,0,p,o)|0;n=c[r>>2]|0;l=p+-1|0;m=c[c[q+4>>2]>>2]|0;th(k,sh(k,97,0,l,0)|0,m,0);m=n+9|0;sh(k,108,0,m,0)|0;sh(k,47,0,0,p)|0;sh(k,78,l,n+7|0,p)|0;l=c[s>>2]|0;if(l)a[l+(((c[r>>2]|0)+-1|0)*20|0)+3>>0]=16;sh(k,103,0,o,0)|0;sh(k,47,0,1,p)|0;sh(k,16,0,m,0)|0;sh(k,9,0,n+2|0,0)|0;sh(k,25,0,p,0)|0;sh(k,61,0,0,0)|0;q=c[q>>2]|0}while((q|0)!=0)}p=c[$+316>>2]|0;if((p|0)!=0?(a[$+23>>0]=0,(c[p>>2]|0)>0):0){o=p+4|0;n=0;do{_=c[o>>2]|0;Nq($,c[_+(n*20|0)>>2]|0,c[_+(n*20|0)+16>>2]|0);n=n+1|0}while((n|0)<(c[p>>2]|0))}sh(y,16,0,1,0)|0}while(0);if((c[V>>2]|0)==0?(a[z>>0]|0)==0:0){if((c[$+404>>2]|0)!=0?(W=$+68|0,(c[W>>2]|0)==0):0)c[W>>2]=1;wh(y,$);c[$+12>>2]=101;a[$+16>>0]=0}else Z=48}else Z=48;if((Z|0)==48)c[$+12>>2]=1;c[$+68>>2]=0;c[$+72>>2]=0;c[$+76>>2]=0;c[$+440>>2]=0;c[$+332>>2]=0}break}case 58:{c[v>>2]=Vq($,157,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[v+4>>2]=c[f+(aa+-1<<4)+16>>2];c[v+8>>2]=c[f+(aa<<4)+24>>2];Uq($,v);break}case 59:{_=f+(aa<<4)+16|0;c[u>>2]=Vq($,97,0,0,_)|0;_=c[_>>2]|0;c[u+4>>2]=_;c[u+8>>2]=_+(c[f+(aa<<4)+20>>2]|0);Uq($,u);break}case 61:{k=c[f+(aa<<4)+16>>2]|0;l=c[$+484>>2]|0;if((l|0)!=0?(s=b[l+38>>1]|0,s<<16>>16>=1):0)a[(c[l+4>>2]|0)+(((s<<16>>16)+-1|0)*24|0)+20>>0]=k;break}case 70:{c[ca>>2]=0;break}case 62:{Wq($,0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,c[f+(aa+-2<<4)+16>>2]|0);break}case 63:{Xq($,0,0,0,0,c[f+(aa<<4)+16>>2]|0,0,0,0,0)|0;break}case 64:{Yq($,c[f+(aa+-1<<4)+16>>2]|0);break}case 9:{l=c[f+(aa+-1<<4)+16>>2]|0;k=c[$>>2]|0;if((Oq($,22,37104,0,0)|0)==0?(B=Kq($)|0,(B|0)!=0):0){if((l|0)!=7?(D=k+20|0,(c[D>>2]|0)>0):0){l=(l|0)==9?2:1;k=B+96|0;n=0;do{sh(B,4,n,l,0)|0;c[k>>2]=c[k>>2]|1<<n;n=n+1|0}while((n|0)<(c[D>>2]|0))}sh(B,3,0,0,0)|0}break}case 24:{Pq($,2,f+(aa<<4)+16|0);break}case 26:{Qq($,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0,c[f+(aa+-4<<4)+16>>2]|0,0,0,c[f+(aa+-2<<4)+16>>2]|0);break}case 221:case 218:case 108:case 97:case 85:case 83:case 81:case 68:case 31:case 28:{c[ca>>2]=0;break}case 27:{a[(c[$>>2]|0)+250>>0]=0;Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 222:case 219:case 107:case 84:case 69:case 30:case 29:{c[ca>>2]=1;break}case 32:{Rq($,f+(aa+-2<<4)+16|0,f+(aa+-1<<4)+16|0,a[f+(aa<<4)+16>>0]|0,0);break}case 33:{_=f+(aa<<4)+16|0;Rq($,0,0,0,c[_>>2]|0);Ik(c[$>>2]|0,c[_>>2]|0,1);break}case 34:{a[ca>>0]=0;break}case 35:{l=c[f+(aa<<4)+20>>2]|0;k=c[f+(aa<<4)+16>>2]|0;if((l|0)==5?(Bc(k,20456,5)|0)==0:0){a[ca>>0]=32;break a}a[ca>>0]=0;c[_>>2]=l;c[_+4>>2]=k;ph($,20464,_);break}case 44:{l=f+(aa<<4)+16|0;k=c[$+484>>2]|0;if((k|0)!=0?(G=b[k+38>>1]|0,G<<16>>16>=1):0){_=(G<<16>>16)+-1|0;Z=c[k+4>>2]|0;$=Sq(c[$>>2]|0,l)|0;c[Z+(_*24|0)+12>>2]=$;a[Z+(_*24|0)+21>>0]=Tq($,Z+(_*24|0)+22|0)|0}break}case 65:{Zq($,0,f+(aa+-2<<4)+16|0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0);break}case 66:{k=c[f+(aa<<4)+16>>2]|0;l=c[$+484>>2]|0;if((l|0)!=0?(r=c[l+16>>2]|0,(r|0)!=0):0)a[r+24>>0]=k;break}case 67:{n=c[$+484>>2]|0;if((n|0)!=0?(A=(b[n+38>>1]|0)+-1|0,o=c[$>>2]|0,m=Sq(o,f+(aa<<4)+16|0)|0,(m|0)!=0):0){if(!(_q($,m)|0)){ig(o,m);break a}p=n+4|0;ig(o,c[(c[p>>2]|0)+(A*24|0)+16>>2]|0);c[(c[p>>2]|0)+(A*24|0)+16>>2]=m;l=c[n+8>>2]|0;if(l)do{if((b[c[l+4>>2]>>1]|0)==(A|0))c[c[l+32>>2]>>2]=c[(c[p>>2]|0)+(A*24|0)+16>>2];l=c[l+20>>2]|0}while((l|0)!=0)}break}case 47:{$=c[f+(aa+-5<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 49:{$=c[f+(aa+-1<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 92:case 54:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=$+320|0;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 57:case 55:{Uq($,f+(aa<<4)+16|0);break}case 56:{Uq($,f+(aa+-1<<4)+16|0);break}case 279:case 263:case 262:case 261:case 260:case 259:case 258:case 257:case 256:case 247:case 150:case 141:case 131:case 130:case 48:case 45:case 42:case 41:case 40:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 46:{$=c[f+(aa+-3<<4)+16>>2]|0;c[ca>>2]=$;c[ca+4>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-$;break}case 224:{h=Vq($,119,0,0,0)|0;c[ca>>2]=h;if(!h)Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];_=c[ca>>2]|0;Z=_+4|0;c[Z>>2]=c[Z>>2]|2099200;ur($,_)}c[ca+4>>2]=c[f+(aa+-2<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 226:{l=aa+-1|0;k=f+(l<<4)+16|0;o=f+(aa<<4)+16|0;n=lr(c[$>>2]|0,0,k,o)|0;p=aa+-3|0;m=Vq($,75,c[f+(p<<4)+16>>2]|0,0,0)|0;c[ca>>2]=m;if(!m){zo(c[$>>2]|0,n);n=0}else{c[m+20>>2]=gr($,0,n,0,0,0,0,0,0,0)|0;n=c[ca>>2]|0;_=n+4|0;c[_>>2]=c[_>>2]|2099200;ur($,n)}if(c[f+(aa+-2<<4)+16>>2]|0)c[ca>>2]=Vq($,19,n,0,0)|0;c[ca+4>>2]=c[f+(p<<4)+20>>2];h=c[o>>2]|0;if(!h)h=(c[k>>2]|0)+(c[f+(l<<4)+20>>2]|0)|0;else h=h+(c[f+(aa<<4)+20>>2]|0)|0;c[ca+8>>2]=h;break}case 225:{l=aa+-4|0;h=Vq($,75,c[f+(l<<4)+16>>2]|0,0,0)|0;c[ca>>2]=h;if(!h){Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);h=0}else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];h=c[ca>>2]|0;_=h+4|0;c[_>>2]=c[_>>2]|2099200;ur($,h)}if(c[f+(aa+-3<<4)+16>>2]|0)c[ca>>2]=Vq($,19,h,0,0)|0;c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 227:{h=Vq($,20,0,0,0)|0;c[ca>>2]=h;if(!h)Ik(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,1);else{c[h+20>>2]=c[f+(aa+-1<<4)+16>>2];_=h+4|0;c[_>>2]=c[_>>2]|2099200;ur($,h)}c[ca+4>>2]=c[f+(aa+-3<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 228:{k=Vq($,136,c[f+(aa+-3<<4)+16>>2]|0,0,0)|0;c[ca>>2]=k;if(!k){Jk(c[$>>2]|0,c[f+(aa+-2<<4)+16>>2]|0);Ck(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0)}else{l=c[f+(aa+-1<<4)+16>>2]|0;h=c[f+(aa+-2<<4)+16>>2]|0;if(l)h=hr($,h,l)|0;c[k+20>>2]=h;ur($,c[ca>>2]|0)}c[ca+4>>2]=c[f+(aa+-4<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 291:case 240:{c[ca>>2]=2;break}case 241:{c[ca>>2]=0;break}case 239:{Xq($,f+(aa+-7<<4)+16|0,f+(aa+-6<<4)+16|0,lr(c[$>>2]|0,0,f+(aa+-4<<4)+16|0,0)|0,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa+-10<<4)+16>>2]|0,f+(aa+-11<<4)+16|0,c[f+(aa<<4)+16>>2]|0,0,c[f+(aa+-8<<4)+16>>2]|0)|0;break}case 229:{c[ca>>2]=hr($,hr($,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa+-2<<4)+16>>2]|0)|0,c[f+(aa<<4)+16>>2]|0)|0;break}case 230:{c[ca>>2]=hr($,hr($,0,c[f+(aa+-2<<4)+16>>2]|0)|0,c[f+(aa<<4)+16>>2]|0)|0;break}case 237:{c[ca>>2]=hr($,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;break}case 238:{c[ca>>2]=hr($,0,c[f+(aa<<4)+16>>2]|0)|0;break}case 245:{h=hr($,0,rr($,0,f+(aa+-1<<4)+16|0,1)|0)|0;c[ca>>2]=h;ir($,h,f+(aa+-2<<4)+16|0,1);if(h){if((c[h>>2]|0)>(c[(c[$>>2]|0)+96>>2]|0)){c[_>>2]=20632;ph($,34544,_)}a[(c[h+4>>2]|0)+(((c[h>>2]|0)+-1|0)*20|0)+12>>0]=c[f+(aa<<4)+16>>2]}break}case 244:{h=rr($,0,f+(aa+-1<<4)+16|0,1)|0;h=hr($,c[f+(aa+-4<<4)+16>>2]|0,h)|0;c[ca>>2]=h;ir($,h,f+(aa+-2<<4)+16|0,1);if(h){if((c[h>>2]|0)>(c[(c[$>>2]|0)+96>>2]|0)){c[_>>2]=20632;ph($,34544,_)}a[(c[h+4>>2]|0)+(((c[h>>2]|0)+-1|0)*20|0)+12>>0]=c[f+(aa<<4)+16>>2]}break}case 248:{s=c[f+(aa<<4)+16>>2]|0;p=c[f+(aa+-1<<4)+16>>2]|0;r=c[$>>2]|0;do if((a[r+65>>0]|0)==0?(Cn($)|0)==0:0){o=s+12|0;k=Zp(r,c[s+16>>2]|0,c[o>>2]|0)|0;if(!k){if(!p){c[_>>2]=s;c[_+4>>2]=0;ph($,33056,_)}else vr($,c[o>>2]|0);a[$+17>>0]=1;break}if(a[k+51>>0]&3){c[_>>2]=0;ph($,33080,_);break}p=c[k+24>>2]|0;f:do if(p){o=c[r+20>>2]|0;if((o|0)>0){n=c[r+16>>2]|0;q=0;while(1){m=q+1|0;if((c[n+(q<<4)+12>>2]|0)==(p|0)){m=q;break f}if((m|0)<(o|0))q=m;else break}}else m=0}else m=-1e6;while(0);p=c[k+12>>2]|0;o=r+16|0;n=c[(c[o>>2]|0)+(m<<4)>>2]|0;l=(m|0)==1?13184:13208;if(((Oq($,9,l,0,n)|0)==0?(Oq($,(m|0)==0?10:12,c[k>>2]|0,c[p>>2]|0,n)|0)==0:0)?(H=Kq($)|0,(H|0)!=0):0){Z=c[$+408>>2]|0;Z=(Z|0)==0?$:Z;wr($,m);Y=Z+328|0;c[Y>>2]=c[Y>>2]|1<<m;Z=Z+20|0;a[Z>>0]=d[Z>>0]|1;Z=c[k>>2]|0;c[_>>2]=c[(c[o>>2]|0)+(m<<4)>>2];c[_+4>>2]=l;c[_+8>>2]=Z;xr($,33160,_);yr($,m,28536,c[k>>2]|0);zr($,m);Ar($,c[k+40>>2]|0,m);$=c[k>>2]|0;th(H,sh(H,125,m,0,0)|0,$,0)}}while(0);zo(r,s);break}case 246:{c[ca>>2]=0;c[ca+4>>2]=0;break}case 250:case 249:{h=Kq($)|0;if(h){sh(h,13,0,0,0)|0;$=h+96|0;c[$>>2]=c[$>>2]|1}break}case 251:{Br($,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0,0,0);break}case 252:{Br($,f+(aa+-3<<4)+16|0,f+(aa+-2<<4)+16|0,f+(aa<<4)+16|0,0);break}case 253:{Br($,f+(aa+-4<<4)+16|0,f+(aa+-3<<4)+16|0,f+(aa+-1<<4)+16|0,0);break}case 254:{Br($,f+(aa+-3<<4)+16|0,f+(aa+-2<<4)+16|0,f+(aa<<4)+16|0,1);break}case 255:{Br($,f+(aa+-4<<4)+16|0,f+(aa+-3<<4)+16|0,f+(aa+-1<<4)+16|0,1);break}case 264:{h=c[f+(aa+-3<<4)+16>>2]|0;l=(c[f+(aa<<4)+16>>2]|0)-h+(c[f+(aa<<4)+20>>2]|0)|0;k=c[f+(aa+-1<<4)+16>>2]|0;Z=$+488|0;w=c[Z>>2]|0;x=c[$>>2]|0;c[Z>>2]=0;g:do if((c[$+64>>2]|0)==0&(w|0)!=0){v=c[w>>2]|0;m=w+20|0;s=c[m>>2]|0;h:do if(s){r=c[x+20>>2]|0;if((r|0)>0){p=c[x+16>>2]|0;n=0;while(1){o=n+1|0;if((c[p+(n<<4)+12>>2]|0)==(s|0))break h;if((o|0)<(r|0))n=o;else{n=o;break}}}else n=0}else n=-1e6;while(0);c[w+28>>2]=k;u=(k|0)==0;if(!u){p=k;do{c[p+4>>2]=w;p=c[p+32>>2]|0}while((p|0)!=0)}c[X>>2]=v;if(!v)p=0;else{p=v;while(1)if(!(a[p>>0]|0))break;else p=p+1|0;p=p-v&1073741823}c[X+4>>2]=p;c[Y>>2]=$;t=x+16|0;s=c[t>>2]|0;c[Y+12>>2]=c[s+(n<<4)>>2];c[Y+4>>2]=c[s+(n<<4)+12>>2];c[Y+16>>2]=10720;c[Y+20>>2]=X;s=(n|0)==1;c[Y+8>>2]=s&1;if(!u)do{if(br(Y,c[k+8>>2]|0)|0){k=0;l=w;break g}if(Cr(Y,c[k+20>>2]|0)|0){k=0;l=w;break g}if(Dr(Y,c[k+24>>2]|0)|0){k=0;l=w;break g}k=c[k+32>>2]|0}while((k|0)!=0);if(!(Cr(Y,c[w+12>>2]|0)|0)){p=x+145|0;if(!(a[p>>0]|0)){o=Kq($)|0;if(!o){k=0;l=w;break}Z=c[$+408>>2]|0;wr($,n);Z=((Z|0)==0?$:Z)+328|0;c[Z>>2]=c[Z>>2]|1<<n;if((h|0)!=0?(q=fw(l|0,0,1,0)|0,q=ih(x,q,C)|0,(q|0)!=0):0){gw(q|0,h|0,l|0)|0;a[q+l>>0]=0}else q=0;Z=c[w+4>>2]|0;c[_>>2]=c[(c[t>>2]|0)+(n<<4)>>2];c[_+4>>2]=s?13184:13208;c[_+8>>2]=v;c[_+12>>2]=Z;c[_+16>>2]=q;xr($,30008,_);ig(x,q);zr($,n);c[_>>2]=v;Er(o,n,qh(x,30072,_)|0);if(!(a[p>>0]|0)){k=0;l=w;break}}l=Ek((c[(c[t>>2]|0)+(n<<4)+12>>2]|0)+40|0,v,w)|0;if(l){a[x+65>>0]=1;k=0;break}k=c[m>>2]|0;if((k|0)==(c[w+24>>2]|0)){k=Zm(k+8|0,c[w+4>>2]|0,_)|0;if(!k)k=0;else k=c[k+8>>2]|0;k=k+64|0;c[w+32>>2]=c[k>>2];c[k>>2]=w;k=0}else k=0}else{k=0;l=w}}else l=w;while(0);fg(x,l);Bk(x,k);break}case 265:{A=f+(aa+-7<<4)+16|0;z=aa+-6|0;B=f+(z<<4)+16|0;o=c[f+(aa+-5<<4)+16>>2]|0;D=aa+-4|0;y=c[f+(D<<4)+16>>2]|0;D=c[f+(D<<4)+20>>2]|0;E=c[f+(aa+-2<<4)+16>>2]|0;F=c[f+(aa<<4)+16>>2]|0;k=c[f+(aa+-8<<4)+16>>2]|0;G=c[$>>2]|0;w=(c[f+(aa+-10<<4)+16>>2]|0)!=0;do if(w)if(!(c[f+(z<<4)+20>>2]|0)){c[Y>>2]=A;if(!E){p=0;q=0;break}else{s=1;Z=483;break}}else{ph($,29664,_);p=0;q=0;break}else{s=ar($,A,B,Y)|0;if((s|0)>-1&(E|0)!=0)Z=483;else{p=0;q=0}}while(0);do if((Z|0)==483){h=G+65|0;if(!(a[h>>0]|0)){u=G+145|0;if((a[u>>0]|0)!=0&(s|0)!=1){Z=E+12|0;ig(G,c[Z>>2]|0);c[Z>>2]=0}t=Fr($,E)|0;if((a[u>>0]|0)==0?((t|0)!=0?(c[f+(z<<4)+20>>2]|0)==0:0):0)s=(c[t+68>>2]|0)==(c[(c[G+16>>2]|0)+28>>2]|0)?1:s;if((a[h>>0]|0)==0?(O=c[Y>>2]|0,Z=c[$>>2]|0,c[X>>2]=$,Z=c[Z+16>>2]|0,c[X+12>>2]=c[Z+(s<<4)>>2],c[X+4>>2]=c[Z+(s<<4)+12>>2],c[X+16>>2]=10720,c[X+20>>2]=O,c[X+8>>2]=(s|0)==1&1,(Gr(X,E)|0)==0):0){u=Fr($,E)|0;if(!u){if((a[G+144>>0]|0)!=1){p=0;q=0;break}a[G+146>>0]=1;p=0;q=0;break}if(a[u+44>>0]&16){ph($,29712,_);p=0;q=0;break}q=Sq(G,O)|0;if(q)if(!(Hr($,q)|0)){x=G+16|0;Z=Zm((c[(c[x>>2]|0)+(s<<4)+12>>2]|0)+40|0,q,P)|0;if((Z|0)!=0?(c[Z+8>>2]|0)!=0:0)if(!k){c[_>>2]=O;ph($,29760,_);p=0;break}else{wr($,s);p=0;break}v=c[u>>2]|0;if(!(Bc(v,25568,7)|0)){ph($,29792,_);p=$+64|0;c[p>>2]=(c[p>>2]|0)+1;p=0;break}r=c[u+12>>2]|0;if((r|0)!=0&(o|0)!=49){c[_>>2]=(o|0)==35?29872:29880;c[_+4>>2]=E;c[_+8>>2]=0;ph($,29832,_);p=0;break}n=(o|0)==49;if((r|0)==0&n){c[_>>2]=E;c[_+4>>2]=0;ph($,29888,_);p=0;break}m=u+68|0;u=c[m>>2]|0;i:do if(u){t=c[G+20>>2]|0;if((t|0)>0){k=c[x>>2]|0;l=0;while(1){h=l+1|0;if((c[k+(l<<4)+12>>2]|0)==(u|0)){h=l;break i}if((h|0)<(t|0))l=h;else break}}else h=0}else h=-1e6;while(0);u=c[x>>2]|0;k=c[u+(h<<4)>>2]|0;if(w)t=c[u+16>>2]|0;else t=k;u=(h|0)==1;if((Oq($,u|w?5:7,q,v,t)|0)==0?(Oq($,18,u?13184:13208,0,k)|0)==0:0){p=ih(G,36,0)|0;if(!p){p=0;break}v=p+0|0;k=v+36|0;do{a[v>>0]=0;v=v+1|0}while((v|0)<(k|0));c[p>>2]=q;c[p+4>>2]=gh(G,c[E+16>>2]|0)|0;c[p+20>>2]=c[(c[x>>2]|0)+(s<<4)+12>>2];c[p+24>>2]=c[m>>2];a[p+8>>0]=y;a[p+9>>0]=n|(o|0)==35?1:2;c[p+12>>2]=Ir(G,F,1,0)|0;c[p+16>>2]=Jr(G,D)|0;c[$+488>>2]=p;q=0}else p=0}else p=0;else{p=0;q=0}}else{p=0;q=0}}else{p=0;q=0}}while(0);ig(G,q);zo(G,E);Dk(G,D);Ck(G,F);if(!(c[$+488>>2]|0))fg(G,p);if(!(c[f+(z<<4)+20>>2]|0)){Z=A;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break a}else{Z=B;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break a}}case 269:case 266:{c[ca>>2]=35;break}case 267:{c[ca>>2]=31;break}case 268:{c[ca>>2]=49;break}case 284:{l=c[$>>2]|0;k=c[f+(aa+-1<<4)+16>>2]|0;h=c[f+(aa<<4)+16>>2]|0;m=a[f+(aa+-5<<4)+16>>0]|0;n=Kr(l,110,f+(aa+-4<<4)+16|0)|0;if(n){c[n+24>>2]=Lr(l,k,1)|0;c[n+20>>2]=Ir(l,h,1,0)|0;a[n+1>>0]=m}Jk(l,k);Ck(l,h);c[ca>>2]=n;break}case 271:case 270:{c[ca>>2]=d[f+(aa<<4)+14>>0];c[ca+4>>2]=0;break}case 272:{c[ca>>2]=110;c[ca+4>>2]=c[f+(aa<<4)+16>>2];break}case 296:case 275:{c[ca>>2]=0;break}case 297:case 276:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 277:{_=f+(aa+-1<<4)+16|0;$=f+(aa+-2<<4)+16|0;c[(c[(c[$>>2]|0)+36>>2]|0)+32>>2]=c[_>>2];c[(c[$>>2]|0)+36>>2]=c[_>>2];c[ca>>2]=c[$>>2];break}case 278:{$=f+(aa+-1<<4)+16|0;_=c[$>>2]|0;c[_+36>>2]=_;c[ca>>2]=c[$>>2];break}case 282:{ph($,20736,_);break}case 280:{X=f+(aa<<4)+16|0;Y=c[X+4>>2]|0;Z=ca;c[Z>>2]=c[X>>2];c[Z+4>>2]=Y;ph($,20640,_);break}case 283:{ph($,20824,_);break}case 286:{h=c[$>>2]|0;k=c[f+(aa<<4)+16>>2]|0;l=Kr(h,109,f+(aa+-2<<4)+16|0)|0;if(l){c[l+20>>2]=Ir(h,k,1,0)|0;a[l+1>>0]=10}Ck(h,k);c[ca>>2]=l;break}case 287:{l=c[$>>2]|0;n=c[f+(aa<<4)+16>>2]|0;h=ih(l,40,0)|0;if(!h){Ik(l,n,1);h=0}else{v=h+0|0;k=v+40|0;do{a[v>>0]=0;v=v+1|0}while((v|0)<(k|0));a[h>>0]=119;c[h+8>>2]=n;a[h+1>>0]=10}c[ca>>2]=h;break}case 285:{n=c[$>>2]|0;m=c[f+(aa+-1<<4)+16>>2]|0;l=c[f+(aa<<4)+16>>2]|0;k=a[f+(aa+-4<<4)+16>>0]|0;h=Kr(n,108,f+(aa+-2<<4)+16|0)|0;if(!h)Dk(n,m);else{c[h+8>>2]=cr(n,l,1)|0;c[h+28>>2]=m;a[h+1>>0]=k}Ik(n,l,1);c[ca>>2]=h;break}case 288:{h=Vq($,57,0,0,0)|0;c[ca>>2]=h;if(h)a[h+1>>0]=4;c[ca+4>>2]=c[f+(aa+-3<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 289:{h=Vq($,57,0,0,f+(aa+-1<<4)+16|0)|0;c[ca>>2]=h;if(h)a[h+1>>0]=c[f+(aa+-3<<4)+16>>2];c[ca+4>>2]=c[f+(aa+-5<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 290:{c[ca>>2]=1;break}case 292:{c[ca>>2]=3;break}case 293:{k=c[f+(aa<<4)+16>>2]|0;h=c[f+(aa+-1<<4)+16>>2]|0;t=c[$>>2]|0;do if((a[t+65>>0]|0)==0?(Cn($)|0)==0:0){u=c[k+12>>2]|0;s=c[k+16>>2]|0;r=t+20|0;if((c[r>>2]|0)>0){n=(u|0)==0;m=t+16|0;l=0;p=0;do{o=(l|0)<2^l;q=c[m>>2]|0;if(!(!n?($c(c[q+(o<<4)>>2]|0,u)|0)!=0:0)){q=Zm((c[q+(o<<4)+12>>2]|0)+40|0,s,I)|0;if(q){p=c[q+8>>2]|0;if(p)break}else p=0}l=l+1|0}while((l|0)<(c[r>>2]|0));if(p){Mr($,p);break}}if(!h){c[_>>2]=k;c[_+4>>2]=0;ph($,29600,_)}else vr($,u);a[$+17>>0]=1}while(0);zo(t,k);break}case 294:{_=c[f+(aa+-3<<4)+16>>2]|0;Nr($,24,29360,_,_,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0);break}case 303:{Pr($,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0);break}case 304:{w=c[f+(aa+-3<<4)+16>>2]|0;u=f+(aa<<4)+16|0;v=c[$>>2]|0;k=v+24|0;l=c[k>>2]|0;do if((a[v+65>>0]|0)==0?(U=Qr($,0,w+8|0)|0,(U|0)!=0):0){q=c[$>>2]|0;x=U+68|0;s=c[x>>2]|0;j:do if(s){r=c[q+20>>2]|0;if((r|0)>0){q=c[q+16>>2]|0;o=0;while(1){p=o+1|0;if((c[q+(o<<4)+12>>2]|0)==(s|0)){p=o;break j}if((p|0)<(r|0))o=p;else break}}else p=0}else p=-1e6;while(0);h=c[(c[v+16>>2]|0)+(p<<4)>>2]|0;c[k>>2]=c[k>>2]|2097152;n=Sq(v,u)|0;if(n){if((Wh(v,n,h)|0)==0?(Zp(v,n,h)|0)==0:0){if(Rr($,c[U>>2]|0)|0)break;if(Hr($,n)|0)break;q=c[U>>2]|0;if(c[U+12>>2]|0){c[_>>2]=q;ph($,26088,_);break}if(Oq($,26,h,q,0)|0)break;if(dr($,U)|0)break;if(!(a[U+44>>0]&16))m=0;else{q=c[U+60>>2]|0;k:do if(!q)q=0;else while(1){if((c[q>>2]|0)==(v|0))break k;q=c[q+24>>2]|0;if(!q){q=0;break}}while(0);m=(c[(c[c[q+8>>2]>>2]|0)+76>>2]|0)==0?0:q}q=Kq($)|0;if(!q)break;Z=(m|0)!=0;o=$+408|0;Y=c[o>>2]|0;Y=(Y|0)==0?$:Y;wr($,p);X=Y+328|0;c[X>>2]=c[X>>2]|1<<p;Y=Y+20|0;a[Y>>0]=d[Y>>0]|Z&1;zr($,p);if(Z){Y=$+72|0;Z=(c[Y>>2]|0)+1|0;c[Y>>2]=Z;th(q,sh(q,97,0,Z,0)|0,n,0);th(q,sh(q,152,Z,0,0)|0,m,-10);Z=c[o>>2]|0;a[((Z|0)==0?$:Z)+21>>0]=1}u=c[U>>2]|0;t=Jn(u,-1)|0;do if((c[k>>2]&524288|0)!=0?(Q=Zm((c[x>>2]|0)+56|0,u,S)|0,(Q|0)!=0):0){q=c[Q+8>>2]|0;if(!q)break;o=q;q=0;do{q=Sr(c[$>>2]|0,q,c[c[o>>2]>>2]|0)|0;o=c[o+12>>2]|0}while((o|0)!=0);if(!q)break;c[_>>2]=h;c[_+4>>2]=(p|0)==1?13184:13208;c[_+8>>2]=u;c[_+12>>2]=n;c[_+16>>2]=q;xr($,26120,_);ig(v,q)}while(0);c[_>>2]=h;c[_+4>>2]=(p|0)==1?13184:13208;c[_+8>>2]=n;c[_+12>>2]=n;c[_+16>>2]=n;c[_+20>>2]=n;c[_+24>>2]=n;c[_+28>>2]=t;c[_+32>>2]=u;xr($,26192,_);if(Wh(v,26576,h)|0){Z=c[U>>2]|0;c[_>>2]=h;c[_+4>>2]=n;c[_+8>>2]=Z;xr($,26592,_)}p=Tr($,U)|0;if(p){c[_>>2]=n;c[_+4>>2]=n;c[_+8>>2]=p;xr($,26656,_);ig(v,p)}do if(c[k>>2]&524288){p=Zm((c[x>>2]|0)+56|0,c[U>>2]|0,_)|0;if(!p)break;p=c[p+8>>2]|0;if(!p)break;do{o=c[p>>2]|0;if((o|0)!=(U|0))Ur($,o,c[o>>2]|0);p=c[p+12>>2]|0}while((p|0)!=0)}while(0);Ur($,U,n);break}c[_>>2]=n;ph($,26024,_)}else n=0}else n=0;while(0);zo(v,w);ig(v,n);c[k>>2]=l;break}case 295:{_=c[f+(aa<<4)+16>>2]|0;Nr($,25,29176,_,0,0,_);break}case 300:{Or($,0,0);break}case 302:{Pr($,0,0);break}case 301:{Or($,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0);break}case 305:{v=c[$>>2]|0;if((c[$+64>>2]|0)==0?(J=v+65|0,(a[J>>0]|0)==0):0){l=c[$+484>>2]|0;q=c[l+68>>2]|0;l:do if(q){p=c[v+20>>2]|0;if((p|0)>0){o=c[v+16>>2]|0;m=0;while(1){n=m+1|0;if((c[o+(m<<4)+12>>2]|0)==(q|0)){x=m;break l}if((n|0)<(p|0))m=n;else{x=n;break}}}else x=0}else x=-1e6;while(0);h=c[(c[v+16>>2]|0)+(x<<4)>>2]|0;k=(c[l>>2]|0)+16|0;r=(b[l+38>>1]|0)+-1|0;p=c[l+4>>2]|0;q=c[p+(r*24|0)+4>>2]|0;w=Wh(v,k,h)|0;if(!(Oq($,26,h,c[w>>2]|0,0)|0)){if(!q)s=0;else s=(a[q>>0]|0)==101?0:q;if(a[p+(r*24|0)+23>>0]&1){ph($,25608,_);break a}if(c[l+8>>2]|0){ph($,25640,_);break a}u=v+24|0;if((c[u>>2]&524288|0)!=0?(c[l+16>>2]|0)!=0&(s|0)!=0:0){ph($,25672,_);break a}t=(s|0)!=0;if(!((a[p+(r*24|0)+20>>0]|0)==0|t)){ph($,25736,_);break a}do if(t){c[L>>2]=0;if(Vr(v,s,1,65,L)|0){a[J>>0]=1;break a}q=c[L>>2]|0;if(!q){ph($,25792,_);break a}else{Ih(q);break}}while(0);q=c[f+(aa<<4)+16>>2]|0;p=f+(aa<<4)+20|0;o=c[p>>2]|0;if((q|0)!=0?(R=fw(o|0,0,1,0)|0,R=ih(v,R,C)|0,(R|0)!=0):0){gw(R|0,q|0,o|0)|0;a[R+o>>0]=0;q=(c[p>>2]|0)+-1|0;p=c[u>>2]|0;m:do if((q|0)>0){q=R+q|0;do{Y=a[q>>0]|0;if(Y<<24>>24!=59?(a[10368+(Y&255)>>0]&1)==0:0)break m;a[q>>0]=0;q=q+-1|0}while(q>>>0>R>>>0)}while(0);c[u>>2]=c[u>>2]|2097152;Y=c[l+48>>2]|0;c[_>>2]=h;c[_+4>>2]=(x|0)==1?13184:13208;c[_+8>>2]=Y;c[_+12>>2]=R;c[_+16>>2]=Y+1;c[_+20>>2]=k;xr($,25840,_);ig(v,R);c[u>>2]=p}q=t?3:2;s=Kq($)|0;if(s){p=$+19|0;n=a[p>>0]|0;do if(n<<24>>24){_=n+-1<<24>>24;a[p>>0]=_;o=c[$+((_&255)<<2)+24>>2]|0;if(!(_<<24>>24)){p=c[$+72>>2]|0;Z=663;break}else{k=n+-2<<24>>24;a[p>>0]=k;k=c[$+((k&255)<<2)+24>>2]|0;break}}else{o=$+72|0;p=(c[o>>2]|0)+1|0;c[o>>2]=p;o=p;Z=663}while(0);if((Z|0)==663){k=p+1|0;c[$+72>>2]=k}sh(s,51,x,o,2)|0;m=s+96|0;c[m>>2]=c[m>>2]|1<<x;sh(s,25,q,k,0)|0;m=sh(s,83,k,0,o)|0;l=s+4|0;n=c[l>>2]|0;p=s+32|0;if(n)a[n+(((c[p>>2]|0)+-1|0)*20|0)+3>>0]=-112;sh(s,52,x,2,k)|0;p=c[p>>2]|0;if(p>>>0>m>>>0)c[(c[l>>2]|0)+(m*20|0)+8>>2]=p;c[(c[s+24>>2]|0)+88>>2]=p+-1;Wr($,o);Wr($,k)}Ur($,w,c[w>>2]|0)}}break}case 306:{t=c[$>>2]|0;a[t+250>>0]=0;h=c[f+(aa<<4)+16>>2]|0;u=t+65|0;do if((a[u>>0]|0)==0?(N=Qr($,0,h+8|0)|0,(N|0)!=0):0){if(a[N+44>>0]&16){ph($,25400,_);break}if(c[N+12>>2]|0){ph($,25440,_);break}if(!(Rr($,c[N>>2]|0)|0)){p=c[N+68>>2]|0;n:do if(p){o=c[t+20>>2]|0;if((o|0)>0){n=c[t+16>>2]|0;q=0;while(1){m=q+1|0;if((c[n+(q<<4)+12>>2]|0)==(p|0)){m=q;break n}if((m|0)<(o|0))q=m;else break}}else m=0}else m=-1e6;while(0);s=ih(t,76,0)|0;if(s){v=s+0|0;k=v+76|0;do{a[v>>0]=0;v=v+1|0}while((v|0)<(k|0));c[$+484>>2]=s;o=s+40|0;b[o>>1]=1;q=b[N+38>>1]|0;n=s+38|0;b[n>>1]=q;q=((((q<<16>>16)+-1|0)/8|0)*192|0)+192|0;p=ih(t,q,0)|0;if(p)bw(p|0,0,q|0)|0;q=s+4|0;c[q>>2]=p;c[_>>2]=c[N>>2];_=qh(t,25472,_)|0;c[s>>2]=_;p=c[q>>2]|0;if((p|0)==0|(_|0)==0){a[u>>0]=1;break}gw(p|0,c[N+4>>2]|0,(b[n>>1]|0)*24|0)|0;if((b[n>>1]|0)>0){p=0;do{_=c[q>>2]|0;Z=_+(p*24|0)|0;c[Z>>2]=gh(t,c[Z>>2]|0)|0;_=_+(p*24|0)+4|0;p=p+1|0;c[_+0>>2]=0;c[_+4>>2]=0;c[_+8>>2]=0;c[_+12>>2]=0}while((p|0)<(b[n>>1]|0))}c[s+68>>2]=c[(c[t+16>>2]|0)+(m<<4)+12>>2];c[s+48>>2]=c[N+48>>2];b[o>>1]=1;_=c[$+408>>2]|0;wr($,m);_=((_|0)==0?$:_)+328|0;c[_>>2]=c[_>>2]|1<<m;if(Kq($)|0)zr($,m)}}}while(0);zo(t,h);break}case 309:{Xr($,0);break}case 310:{Xr($,f+(aa<<4)+16|0);break}case 311:{k=f+(aa<<4)+16|0;Qq($,f+(aa+-3<<4)+16|0,f+(aa+-2<<4)+16|0,0,0,1,c[f+(aa+-4<<4)+16>>2]|0);q=c[$+484>>2]|0;if(q){h=c[$>>2]|0;p=c[q+68>>2]|0;o:do if(p){o=c[h+20>>2]|0;if((o|0)>0){m=c[h+16>>2]|0;l=0;while(1){n=l+1|0;if((c[m+(l<<4)+12>>2]|0)==(p|0)){n=l;break o}if((n|0)<(o|0))l=n;else break}}else n=0}else n=-1e6;while(0);l=q+44|0;a[l>>0]=d[l>>0]|16;c[q+52>>2]=0;Yr(h,q,Sq(h,k)|0);Yr(h,q,0);Yr(h,q,gh(h,c[q>>2]|0)|0);c[$+500>>2]=(c[k>>2]|0)+(c[f+(aa<<4)+20>>2]|0)-(c[$+496>>2]|0);l=c[q+56>>2]|0;if(l)Oq($,29,c[q>>2]|0,c[l>>2]|0,c[(c[(c[$>>2]|0)+16>>2]|0)+(n<<4)>>2]|0)|0}break}case 322:{c[ca>>2]=0;break}case 324:case 323:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 325:{c[ca>>2]=_r($,0,f+(aa+-5<<4)+16|0,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0)|0;break}case 326:{c[ca>>2]=_r($,c[f+(aa+-7<<4)+16>>2]|0,f+(aa+-5<<4)+16|0,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0)|0;break}case 314:{Zr($);c[$+512>>2]=0;c[$+516>>2]=0;break}case 318:case 317:case 316:{l=$+512|0;k=c[l>>2]|0;h=c[f+(aa<<4)+16>>2]|0;if(!k){c[l>>2]=h;h=c[f+(aa<<4)+20>>2]|0}else h=h+(c[f+(aa<<4)+20>>2]|0)-k|0;c[$+516>>2]=h;break}case 13:{c[ca>>2]=7;break}case 117:case 115:case 16:case 15:case 14:{c[ca>>2]=d[f+(aa<<4)+14>>0];break}case 18:case 17:{if((Oq($,22,37136,0,0)|0)==0?(y=Kq($)|0,(y|0)!=0):0)sh(y,3,1,0,0)|0;break}case 19:{if((Oq($,22,37120,0,0)|0)==0?(x=Kq($)|0,(x|0)!=0):0)sh(x,3,1,1,0)|0;break}case 74:{c[ca>>2]=c[f+(aa<<4)+16>>2];c[ca+4>>2]=255;break}case 76:{c[ca>>2]=7;break}case 75:{c[ca>>2]=c[f+(aa<<4)+16>>2]<<8;c[ca+4>>2]=65280;break}case 77:{c[ca>>2]=8;break}case 78:{c[ca>>2]=9;break}case 79:{c[ca>>2]=6;break}case 80:{c[ca>>2]=0;break}case 103:case 100:case 98:case 82:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 86:{c[ca+4>>2]=0;c[ca>>2]=0;break}case 71:{c[ca>>2]=c[f+(aa+-1<<4)+16>>2]&~c[f+(aa<<4)+20>>2]|c[f+(aa<<4)+16>>2];break}case 73:case 72:{c[ca>>2]=0;c[ca+4>>2]=0;break}case 93:{Wq($,c[f+(aa+-3<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,c[f+(aa+-2<<4)+16>>2]|0,0);break}case 94:{Xq($,0,0,0,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,0,0,0,0)|0;break}case 95:{Yq($,c[f+(aa+-2<<4)+16>>2]|0);break}case 87:{Z=f+(aa+-1<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;break}case 90:{c[$+324>>2]=0;break}case 104:{c[ca>>2]=4;break}case 105:{c[ca>>2]=5;break}case 106:{$q($,c[f+(aa<<4)+16>>2]|0,0,c[f+(aa+-1<<4)+16>>2]|0);break}case 109:{h=aa+-7|0;o=f+(aa+-3<<4)+16|0;n=f+(aa+-2<<4)+16|0;u=c[f+(aa<<4)+16>>2]|0;q=c[f+(aa+-6<<4)+16>>2]|0;p=c[f+(aa+-4<<4)+16>>2]|0;c[F>>2]=0;t=c[$>>2]|0;if((c[$+440>>2]|0)>0){ph($,35440,_);Ik(t,u,1);break a}Qq($,o,n,q,1,0,p);l=c[$+484>>2]|0;if((l|0)!=0?(c[$+64>>2]|0)==0:0){ar($,o,n,F)|0;q=c[l+68>>2]|0;p:do if(q){o=c[t+20>>2]|0;if((o|0)>0){n=c[t+16>>2]|0;m=0;while(1){p=m+1|0;if((c[n+(m<<4)+12>>2]|0)==(q|0)){p=m;break p}if((p|0)<(o|0))m=p;else break}}else p=0}else p=-1e6;while(0);_=c[F>>2]|0;Z=c[$>>2]|0;c[X>>2]=$;Z=c[Z+16>>2]|0;c[X+12>>2]=c[Z+(p<<4)>>2];c[X+4>>2]=c[Z+(p<<4)+12>>2];c[X+16>>2]=35480;c[X+20>>2]=_;c[X+8>>2]=(p|0)==1&1;if(br(X,u)|0){Ik(t,u,1);break a}c[l+12>>2]=cr(t,u,1)|0;Ik(t,u,1);if(a[t+65>>0]|0)break a;if(!(a[t+145>>0]|0))dr($,l)|0;n=$+504|0;m=c[n>>2]|0;n=c[n+4>>2]|0;_=Y;c[_>>2]=m;c[_+4>>2]=n;_=a[m>>0]|0;if(!(_<<24>>24==59|_<<24>>24==0)){m=m+n|0;c[Y>>2]=m}o=Y+4|0;c[o>>2]=0;p=c[f+(h<<4)+16>>2]|0;n=m-p|0;do{_=n;n=n+-1|0;l=p+n|0;if((_|0)<=0)break}while((a[10368+(d[l>>0]|0)>>0]&1)!=0);c[Y>>2]=l;c[o>>2]=1;Rq($,0,Y,0,0);break a}Ik(t,u,1);break}case 96:{Zq($,c[f+(aa+-6<<4)+16>>2]|0,f+(aa+-3<<4)+16|0,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0);k=c[f+(aa<<4)+16>>2]|0;l=c[$+484>>2]|0;if((l|0)!=0?(n=c[l+16>>2]|0,(n|0)!=0):0)a[n+24>>0]=k;break}case 99:{c[ca>>2]=10;break}case 101:{a[ca>>0]=10;break}case 102:{a[ca>>0]=c[f+(aa<<4)+16>>2];break}case 110:{$q($,c[f+(aa<<4)+16>>2]|0,1,c[f+(aa+-1<<4)+16>>2]|0);break}case 111:{c[w+0>>2]=c[5124];c[w+4>>2]=c[5125];c[w+8>>2]=c[5126];c[w+12>>2]=c[5127];c[w+16>>2]=c[5128];_=f+(aa<<4)+16|0;er($,c[_>>2]|0,w)|0;Ik(c[$>>2]|0,c[_>>2]|0,1);break}case 112:{q=c[f+(aa<<4)+16>>2]|0;do if(q){c[q+68>>2]=c[f+(aa+-1<<4)+16>>2];l=c[q+52>>2]|0;if(l){m=128;n=1;o=q;p=0;while(1){c[o+56>>2]=p;Y=o+6|0;Z=e[Y>>1]|64;b[Y>>1]=Z;m=Z&m;if(!l)break;Z=l;l=c[l+52>>2]|0;n=n+1|0;p=o;o=Z}if(m){$=q+6|0;b[$>>1]=e[$>>1]|256;break}Z=c[(c[$>>2]|0)+104>>2]|0;if((Z|0)>0&(n|0)>(Z|0))ph($,20520,_)}}else Mn(c[$>>2]|0,c[f+(aa+-1<<4)+16>>2]|0);while(0);c[ca>>2]=q;break}case 120:{c[ca>>2]=gr($,c[f+(aa+-1<<4)+16>>2]|0,0,0,0,0,0,128,0,0)|0;break}case 118:{c[ca>>2]=gr($,c[f+(aa+-6<<4)+16>>2]|0,c[f+(aa+-5<<4)+16>>2]|0,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa+-3<<4)+16>>2]|0,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,b[f+(aa+-7<<4)+16>>1]|0,c[f+(aa<<4)+16>>2]|0,c[f+(aa<<4)+20>>2]|0)|0;break}case 119:case 113:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 114:{h=c[f+(aa<<4)+16>>2]|0;do if(h){if(c[h+52>>2]|0){c[l+4>>2]=0;h=gr($,0,fr($,0,0,0,l,h,0,0)|0,0,0,0,0,0,0,0)|0;if(!h){Z=192;break}}_=c[f+(aa+-1<<4)+16>>2]|0;a[h+4>>0]=_;c[h+52>>2]=c[f+(aa+-2<<4)+16>>2];if((_|0)!=116)a[$+22>>0]=1}else Z=192;while(0);if((Z|0)==192){Ik(c[$>>2]|0,c[f+(aa+-2<<4)+16>>2]|0,1);h=0}c[ca>>2]=h;break}case 160:case 158:{c[ca>>2]=0;break}case 159:{c[ca>>2]=1;break}case 165:{c[ca>>2]=0;c[ca+4>>2]=0;break}case 172:{l=c[f+(aa+-7<<4)+16>>2]|0;if(l){Z=$+532|0;c[l+4>>2]=c[Z>>2];c[Z>>2]=l;a[$+449>>0]=1}m=f+(aa+-4<<4)+16|0;kr($,c[m>>2]|0,f+(aa+-3<<4)+16|0);n=f+(aa+-1<<4)+16|0;l=c[n>>2]|0;if(l){if((c[l>>2]|0)>(c[(c[$>>2]|0)+96>>2]|0)){c[_>>2]=20560;ph($,34544,_);l=c[n>>2]|0}}else l=0;or($,c[m>>2]|0,l,c[f+(aa<<4)+16>>2]|0,d[f+(aa+-5<<4)+16>>0]|0);break}case 176:{h=c[f+(aa+-6<<4)+16>>2]|0;if(h){_=$+532|0;c[h+4>>2]=c[_>>2];c[_>>2]=h;a[$+449>>0]=1}pr($,c[f+(aa+-3<<4)+16>>2]|0,0,c[f+(aa+-2<<4)+16>>2]|0,d[f+(aa+-5<<4)+16>>0]|0);break}case 173:{_=hr($,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;c[ca>>2]=_;ir($,_,f+(aa+-2<<4)+16|0,1);break}case 174:{_=hr($,0,c[f+(aa<<4)+16>>2]|0)|0;c[ca>>2]=_;ir($,_,f+(aa+-2<<4)+16|0,1);break}case 175:{h=c[f+(aa+-5<<4)+16>>2]|0;if(h){_=$+532|0;c[h+4>>2]=c[_>>2];c[_>>2]=h;a[$+449>>0]=1}pr($,c[f+(aa+-2<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,d[f+(aa+-4<<4)+16>>0]|0);break}case 181:{c[ca>>2]=qr(c[$>>2]|0,c[f+(aa+-2<<4)+16>>2]|0,f+(aa<<4)+16|0)|0;break}case 182:{c[ca>>2]=qr(c[$>>2]|0,0,f+(aa<<4)+16|0)|0;break}case 183:{$=f+(aa<<4)+16|0;c[ca+0>>2]=c[$+0>>2];c[ca+4>>2]=c[$+4>>2];c[ca+8>>2]=c[$+8>>2];break}case 177:{a[ca>>0]=a[f+(aa<<4)+16>>0]|0;break}case 178:{a[ca>>0]=5;break}case 184:{c[ca>>2]=c[f+(aa+-1<<4)+16>>2];c[ca+4>>2]=c[f+(aa+-2<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 191:case 190:case 185:{_=f+(aa<<4)+16|0;c[ca>>2]=Vq($,d[f+(aa<<4)+14>>0]|0,0,0,_)|0;$=c[_>>2]|0;c[ca+4>>2]=$;c[ca+8>>2]=$+(c[f+(aa<<4)+20>>2]|0);break}case 187:case 186:{_=f+(aa<<4)+16|0;c[ca>>2]=Vq($,27,0,0,_)|0;$=c[_>>2]|0;c[ca+4>>2]=$;c[ca+8>>2]=$+(c[f+(aa<<4)+20>>2]|0);break}case 188:{Z=f+(aa+-2<<4)+16|0;_=f+(aa<<4)+16|0;c[ca>>2]=Vq($,122,Vq($,27,0,0,Z)|0,Vq($,27,0,0,_)|0,0)|0;c[ca+4>>2]=c[Z>>2];c[ca+8>>2]=(c[_>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 189:{Z=f+(aa+-4<<4)+16|0;_=f+(aa<<4)+16|0;c[ca>>2]=Vq($,122,Vq($,27,0,0,Z)|0,Vq($,122,Vq($,27,0,0,f+(aa+-2<<4)+16|0)|0,Vq($,27,0,0,_)|0,0)|0,0)|0;c[ca+4>>2]=c[Z>>2];c[ca+8>>2]=(c[_>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 192:{u=f+(aa<<4)+16|0;t=f+(aa<<4)+20|0;do if(((c[t>>2]|0)>>>0>1?(z=c[u>>2]|0,(a[z>>0]|0)==35):0)?((d[z+1>>0]|0)+-48|0)>>>0<10:0){if(!(a[$+18>>0]|0)){c[_>>2]=u;ph($,20432,_);c[ca>>2]=0;break}o=Vq($,159,0,0,u)|0;c[ca>>2]=o;if(o)zn((c[u>>2]|0)+1|0,o+28|0)|0}else Z=298;while(0);q:do if((Z|0)==298?(M=Vq($,135,0,0,u)|0,c[ca>>2]=M,T=c[u>>2]|0,c[ca+4>>2]=T,c[ca+8>>2]=T+(c[t>>2]|0),T=c[$>>2]|0,(M|0)!=0):0){w=c[M+8>>2]|0;o=w+1|0;do if(a[o>>0]|0){v=(w|0)==0;if(v)x=0;else{q=w;while(1)if(!(a[q>>0]|0))break;else q=q+1|0;x=q-w&1073741823}r:do if((a[w>>0]|0)==63){Y=Ql(o,E,x+-1|0,1)|0;m=E;n=c[m>>2]|0;m=c[m+4>>2]|0;q=n&65535;b[M+32>>1]=q;o=c[T+124>>2]|0;Z=((o|0)<0)<<31>>31;if((m|0)<0|(m|0)==0&n>>>0<1|(Y|0)!=0|((m|0)>(Z|0)|(m|0)==(Z|0)&n>>>0>o>>>0)){c[_>>2]=o;ph($,33296,_);q=0}o=$+440|0;Z=c[o>>2]|0;Y=((Z|0)<0)<<31>>31;if((m|0)>(Y|0)|(m|0)==(Y|0)&n>>>0>Z>>>0)c[o>>2]=n}else{o=c[$+444>>2]|0;s:do if((o|0)>0){n=c[$+472>>2]|0;q=0;l=0;while(1){m=c[n+(q<<2)>>2]|0;if((m|0)!=0?(Wv(m,w)|0)==0:0)break;l=l+1<<16>>16;q=l<<16>>16;if((q|0)>=(o|0)){Z=315;break s}}q=q+1&65535;o=M+32|0;b[o>>1]=q;if(q<<16>>16)break r}else Z=315;while(0);if((Z|0)==315)o=M+32|0;Z=$+440|0;q=(c[Z>>2]|0)+1|0;c[Z>>2]=q;q=q&65535;b[o>>1]=q}while(0);m=q<<16>>16;if(q<<16>>16>0){q=$+444|0;if((m|0)>(c[q>>2]|0)){o=$+472|0;n=no(T,c[o>>2]|0,m<<2,0)|0;if(!n)break q;c[o>>2]=n;Z=c[q>>2]|0;bw(n+(Z<<2)|0,0,m-Z<<2|0)|0;c[q>>2]=m}if((a[w>>0]|0)==63){o=m+-1|0;if(!(c[(c[$+472>>2]|0)+(o<<2)>>2]|0))q=0;else break}else{q=m+-1|0;o=q;q=c[(c[$+472>>2]|0)+(q<<2)>>2]|0}n=$+472|0;ig(T,q);if(!v?(p=fw(x|0,0,1,0)|0,p=ih(T,p,C)|0,(p|0)!=0):0){gw(p|0,w|0,x|0)|0;a[p+x>>0]=0}else p=0;c[(c[n>>2]|0)+(o<<2)>>2]=p}}else{Y=$+440|0;Z=(c[Y>>2]|0)+1|0;c[Y>>2]=Z;b[M+32>>1]=Z}while(0);if((c[$+64>>2]|0)==0?(c[$+440>>2]|0)>(c[T+124>>2]|0):0)ph($,33344,_)}while(0);$=c[u>>2]|0;c[ca+4>>2]=$;c[ca+8>>2]=$+(c[t>>2]|0);break}case 196:{_=f+(aa+-3<<4)+16|0;c[ca>>2]=sr($,0,_)|0;c[ca+4>>2]=c[_>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 197:{_=f+(aa<<4)+16|0;c[ca>>2]=sr($,0,_)|0;$=c[_>>2]|0;c[ca+4>>2]=$;c[ca+8>>2]=$+(c[f+(aa<<4)+20>>2]|0);break}case 193:{Z=aa+-2|0;_=f+(aa<<4)+16|0;c[ca>>2]=rr($,c[f+(Z<<4)+16>>2]|0,_,1)|0;c[ca+4>>2]=c[f+(Z<<4)+20>>2];c[ca+8>>2]=(c[_>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 194:{c[ca>>2]=Vq($,38,c[f+(aa+-3<<4)+16>>2]|0,0,f+(aa+-1<<4)+16|0)|0;c[ca+4>>2]=c[f+(aa+-5<<4)+16>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 195:{l=f+(aa+-1<<4)+16|0;h=c[l>>2]|0;if(h){if((c[h>>2]|0)>(c[(c[$>>2]|0)+112>>2]|0)){c[_>>2]=f+(aa+-4<<4)+16;ph($,20576,_);h=c[l>>2]|0}}else h=0;_=f+(aa+-4<<4)+16|0;h=sr($,h,_)|0;c[ca>>2]=h;c[ca+4>>2]=c[_>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);if(!((h|0)==0?1:(b[f+(aa+-2<<4)+16>>1]|0)==0)){$=h+4|0;c[$>>2]=c[$>>2]|16}break}case 205:case 204:case 203:case 202:case 201:case 200:case 199:case 198:{_=aa+-2|0;c[ca>>2]=Vq($,d[f+(aa+-1<<4)+14>>0]|0,c[f+(_<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0,0)|0;c[ca+4>>2]=c[f+(_<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 206:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;c[ca+8>>2]=0;break}case 207:{Z=f+(aa<<4)+16|0;_=c[Z+4>>2]|0;$=ca;c[$>>2]=c[Z>>2];c[$+4>>2]=_;c[ca+8>>2]=1;break}case 208:{l=aa+-2|0;_=aa+-1|0;h=sr($,hr($,hr($,0,c[f+(aa<<4)+16>>2]|0)|0,c[f+(l<<4)+16>>2]|0)|0,f+(_<<4)+16|0)|0;c[ca>>2]=h;if(c[f+(_<<4)+24>>2]|0){h=Vq($,19,h,0,0)|0;c[ca>>2]=h}c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];if(h){$=h+4|0;c[$>>2]=c[$>>2]|128}break}case 210:{_=aa+-1|0;c[ca>>2]=Vq($,d[f+(aa<<4)+14>>0]|0,c[f+(_<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(_<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 209:{l=aa+-4|0;_=aa+-3|0;h=sr($,hr($,hr($,hr($,0,c[f+(aa+-2<<4)+16>>2]|0)|0,c[f+(l<<4)+16>>2]|0)|0,c[f+(aa<<4)+16>>2]|0)|0,f+(_<<4)+16|0)|0;c[ca>>2]=h;if(c[f+(_<<4)+24>>2]|0){h=Vq($,19,h,0,0)|0;c[ca>>2]=h}c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];if(h){$=h+4|0;c[$>>2]=c[$>>2]|128}break}case 223:{l=f+(aa+-1<<4)+16|0;h=c[l>>2]|0;do if(h){if((c[h>>2]|0)==1){_=c[h+4>>2]|0;h=c[_>>2]|0;c[_>>2]=0;Jk(c[$>>2]|0,c[l>>2]|0);if(h){_=h+4|0;c[_>>2]=c[_>>2]&-769|512}c[ca>>2]=Vq($,(c[f+(aa+-3<<4)+16>>2]|0)!=0?78:79,c[f+(aa+-4<<4)+16>>2]|0,h,0)|0;break}h=Vq($,75,c[f+(aa+-4<<4)+16>>2]|0,0,0)|0;c[ca>>2]=h;if(!h){Jk(c[$>>2]|0,c[l>>2]|0);h=0}else{c[h+20>>2]=c[l>>2];h=c[ca>>2]|0;ur($,h)}if(c[f+(aa+-3<<4)+16>>2]|0)c[ca>>2]=Vq($,19,h,0,0)|0}else{c[ca>>2]=Vq($,132,0,0,20616+(c[f+(aa+-3<<4)+16>>2]<<3)|0)|0;Ck(c[$>>2]|0,c[f+(aa+-4<<4)+16>>2]|0)}while(0);c[ca+4>>2]=c[f+(aa+-4<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 211:{_=aa+-2|0;c[ca>>2]=Vq($,77,c[f+(_<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(_<<4)+20>>2];c[ca+8>>2]=(c[f+(aa<<4)+16>>2]|0)+(c[f+(aa<<4)+20>>2]|0);break}case 212:{Y=aa+-2|0;Z=f+(aa<<4)+16|0;_=Vq($,73,c[f+(Y<<4)+16>>2]|0,c[Z>>2]|0,0)|0;c[ca>>2]=_;c[ca+4>>2]=c[f+(Y<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];tr($,c[Z>>2]|0,_,76);break}case 213:{Y=aa+-3|0;Z=f+(aa<<4)+16|0;_=Vq($,148,c[f+(Y<<4)+16>>2]|0,c[Z>>2]|0,0)|0;c[ca>>2]=_;c[ca+4>>2]=c[f+(Y<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];tr($,c[Z>>2]|0,_,77);break}case 215:case 214:{_=aa+-1|0;c[ca>>2]=Vq($,d[f+(_<<4)+14>>0]|0,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(_<<4)+16>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 216:{c[ca>>2]=Vq($,157,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(aa+-1<<4)+16>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 217:{c[ca>>2]=Vq($,158,c[f+(aa<<4)+16>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(aa+-1<<4)+16>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 220:{k=hr($,hr($,0,c[f+(aa+-2<<4)+16>>2]|0)|0,c[f+(aa<<4)+16>>2]|0)|0;l=aa+-4|0;h=Vq($,74,c[f+(l<<4)+16>>2]|0,0,0)|0;c[ca>>2]=h;if(!h)Jk(c[$>>2]|0,k);else c[h+20>>2]=k;if(c[f+(aa+-3<<4)+16>>2]|0)c[ca>>2]=Vq($,19,c[ca>>2]|0,0,0)|0;c[ca+4>>2]=c[f+(l<<4)+20>>2];c[ca+8>>2]=c[f+(aa<<4)+24>>2];break}case 116:{c[ca>>2]=116;break}case 121:{h=gr($,c[f+(aa+-1<<4)+16>>2]|0,0,0,0,0,0,128,0,0)|0;if(!h){c[ca>>2]=c[f+(aa+-4<<4)+16>>2];break a}else{a[h+4>>0]=116;c[h+52>>2]=c[f+(aa+-4<<4)+16>>2];c[ca>>2]=h;break a}}case 122:{b[ca>>1]=1;break}case 124:case 123:{b[ca>>1]=0;break}case 243:case 125:{c[ca>>2]=c[f+(aa+-1<<4)+16>>2];break}case 242:case 236:case 161:case 154:case 126:{c[ca>>2]=0;break}case 127:{l=aa+-1|0;n=hr($,c[f+(aa+-2<<4)+16>>2]|0,c[f+(l<<4)+16>>2]|0)|0;c[ca>>2]=n;if(c[f+(aa<<4)+20>>2]|0)ir($,n,f+(aa<<4)+16|0,1);p=c[$>>2]|0;if(n){o=(c[n+4>>2]|0)+(((c[n>>2]|0)+-1|0)*20|0)+8|0;ig(p,c[o>>2]|0);m=c[f+(l<<4)+20>>2]|0;n=(c[f+(l<<4)+24>>2]|0)-m|0;if((m|0)!=0?(h=fw(n|0,((n|0)<0)<<31>>31|0,1,0)|0,h=ih(p,h,C)|0,(h|0)!=0):0){gw(h|0,m|0,n|0)|0;a[h+n>>0]=0}else h=0;c[o>>2]=h}break}case 133:{l=ih(c[$>>2]|0,80,0)|0;if(l){v=l+0|0;k=v+80|0;do{a[v>>0]=0;v=v+1|0}while((v|0)<(k|0))}c[ca>>2]=l;break}case 134:{n=c[f+(aa<<4)+16>>2]|0;c[ca>>2]=n;if(n){l=c[n>>2]|0;k=l+-1|0;if((k|0)>0)while(1){a[n+(k*72|0)+44>>0]=a[n+((l+-2|0)*72|0)+44>>0]|0;l=k+-1|0;if((l|0)>0){$=k;k=l;l=$}else break}a[n+44>>0]=0}break}case 128:{Z=c[$>>2]|0;c[_>>2]=0;c[_+4>>2]=0;_=jr(Z,116,_,0)|0;c[ca>>2]=hr($,c[f+(aa+-1<<4)+16>>2]|0,_)|0;break}case 132:{c[ca+4>>2]=0;break}case 129:{_=Vq($,116,0,0,f+(aa<<4)+16|0)|0;_=Vq($,122,Vq($,27,0,0,f+(aa+-2<<4)+16|0)|0,_,0)|0;c[ca>>2]=hr($,c[f+(aa+-3<<4)+16>>2]|0,_)|0;break}case 136:{c[ca>>2]=0;break}case 137:{_=fr($,c[f+(aa+-6<<4)+16>>2]|0,f+(aa+-5<<4)+16|0,f+(aa+-4<<4)+16|0,f+(aa+-3<<4)+16|0,0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;c[ca>>2]=_;kr($,_,f+(aa+-2<<4)+16|0);break}case 135:{h=c[f+(aa+-1<<4)+16>>2]|0;c[ca>>2]=h;if((h|0)!=0?(t=c[h>>2]|0,(t|0)>0):0)a[h+((t+-1|0)*72|0)+44>>0]=c[f+(aa<<4)+16>>2];break}case 138:{c[ca>>2]=fr($,c[f+(aa+-6<<4)+16>>2]|0,0,0,f+(aa+-2<<4)+16|0,c[f+(aa+-4<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;break}case 139:{l=f+(aa+-6<<4)+16|0;n=c[l>>2]|0;if((((n|0)==0?(c[f+(aa+-2<<4)+20>>2]|0)==0:0)?(c[f+(aa+-1<<4)+16>>2]|0)==0:0)?(c[f+(aa<<4)+16>>2]|0)==0:0){c[ca>>2]=c[f+(aa+-4<<4)+16>>2];break a}p=f+(aa+-4<<4)+16|0;k=c[p>>2]|0;o=c[k>>2]|0;if((o|0)==1){l=fr($,n,0,0,f+(aa+-2<<4)+16|0,0,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;c[ca>>2]=l;if(l){X=(c[l>>2]|0)+-1|0;_=c[p>>2]|0;Z=_+16|0;c[l+(X*72|0)+16>>2]=c[Z>>2];Y=_+12|0;c[l+(X*72|0)+12>>2]=c[Y>>2];_=_+28|0;c[l+(X*72|0)+28>>2]=c[_>>2];c[Y>>2]=0;c[Z>>2]=0;c[_>>2]=0}zo(c[$>>2]|0,c[p>>2]|0);break a}if(k){m=o+-1|0;if((m|0)>0){n=o;while(1){a[k+(m*72|0)+44>>0]=a[k+((n+-2|0)*72|0)+44>>0]|0;n=m+-1|0;if((n|0)>0){_=m;m=n;n=_}else break}}a[k+44>>0]=0}_=gr($,0,k,0,0,0,0,512,0,0)|0;c[ca>>2]=fr($,c[l>>2]|0,0,0,f+(aa+-2<<4)+16|0,_,c[f+(aa+-1<<4)+16>>2]|0,c[f+(aa<<4)+16>>2]|0)|0;break}case 149:case 140:{c[ca>>2]=0;c[ca+4>>2]=0;break}case 144:{c[ca>>2]=mr($,f+(aa+-1<<4)+16|0,0,0)|0;break}case 145:{c[ca>>2]=mr($,f+(aa+-2<<4)+16|0,f+(aa+-1<<4)+16|0,0)|0;break}case 146:{c[ca>>2]=mr($,f+(aa+-3<<4)+16|0,f+(aa+-2<<4)+16|0,f+(aa+-1<<4)+16|0)|0;break}case 233:case 231:case 171:case 164:case 147:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 234:case 232:case 170:case 163:case 148:{c[ca>>2]=0;break}case 151:{c[ca>>2]=0;c[ca+4>>2]=1;break}case 143:{c[ca>>2]=1;break}case 142:{c[ca>>2]=lr(c[$>>2]|0,0,f+(aa+-1<<4)+16|0,f+(aa<<4)+16|0)|0;break}case 156:{h=hr($,c[f+(aa+-3<<4)+16>>2]|0,c[f+(aa+-1<<4)+16>>2]|0)|0;c[ca>>2]=h;if(h)a[(c[h+4>>2]|0)+(((c[h>>2]|0)+-1|0)*20|0)+12>>0]=c[f+(aa<<4)+16>>2];break}case 157:{h=hr($,0,c[f+(aa+-1<<4)+16>>2]|0)|0;c[ca>>2]=h;if((h|0)!=0?(k=c[h+4>>2]|0,(k|0)!=0):0)a[k+12>>0]=c[f+(aa<<4)+16>>2];break}case 179:case 153:{c[ca>>2]=0;break}case 180:case 152:{c[ca>>2]=c[f+(aa+-1<<4)+16>>2];break}case 166:{c[ca>>2]=c[f+(aa<<4)+16>>2];c[ca+4>>2]=0;break}case 167:{c[ca>>2]=c[f+(aa+-2<<4)+16>>2];c[ca+4>>2]=c[f+(aa<<4)+16>>2];break}case 168:{c[ca+4>>2]=c[f+(aa+-2<<4)+16>>2];c[ca>>2]=c[f+(aa<<4)+16>>2];break}case 169:{h=c[f+(aa+-5<<4)+16>>2]|0;if(h){_=$+532|0;c[h+4>>2]=c[_>>2];c[_>>2]=h;a[$+449>>0]=1}_=f+(aa+-2<<4)+16|0;kr($,c[_>>2]|0,f+(aa+-1<<4)+16|0);nr($,c[_>>2]|0,c[f+(aa<<4)+16>>2]|0);break}case 235:case 162:case 155:{c[ca>>2]=c[f+(aa<<4)+16>>2];break}default:{}}while(0);h=a[20912+(g<<1)>>0]|0;o=h&255;n=a[20913+(g<<1)>>0]|0;m=n&255;p=(c[f>>2]|0)-m|0;c[f>>2]=p;l=b[22184+((b[21568+(e[f+(aa-m<<4)+12>>1]<<1)>>1]|0)+o<<1)>>1]|0;k=l&65535;do if((l&65535)<642)if(!(n<<24>>24)){gq(f,k,o,ca);break}else{c[f>>2]=p+1;aa=1-m+aa|0;b[f+(aa<<4)+12>>1]=l;a[f+(aa<<4)+14>>0]=h;aa=f+(aa<<4)+16|0;c[aa+0>>2]=c[ca+0>>2];c[aa+4>>2]=c[ca+4>>2];c[aa+8>>2]=c[ca+8>>2];break}else{h=c[da>>2]|0;if((p|0)>-1)do Ln(f);while((c[f>>2]|0)>-1);c[da>>2]=h}while(0);i=ea;return}function jq(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,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0;aa=i;i=i+64|0;if((i|0)>=(j|0))ba();$=aa+8|0;W=aa;n=aa+24|0;h=aa+16|0;l=tq(e,0,h)|0;do if(!l){if(c[h>>2]|0){l=$r(e,f)|0;if(!l)g=0;else k=4}else{l=1;k=4}if((k|0)==4){_=e+43|0;k=(a[_>>0]|0)==0;do if(!(a[e+46>>0]&2)){if(k?(m=e+4|0,Z=c[m>>2]|0,Yb[c[(c[Z>>2]|0)+40>>2]&63](Z,24,0)|0,m=c[m>>2]|0,m=lc[c[(c[m>>2]|0)+56>>2]&31](m,0,1,10)|0,(m|0)!=0):0){h=l;g=m;break}Z=e+44|0;a[Z>>0]=1;k=tq(e,0,h)|0;if(!k){h=$r(e,f)|0;if(!h){h=0;g=0}else{Y=d[e+45>>0]|0;X=Y+1|0;Y=7-Y|0;if(!((a[_>>0]|0)==0?(g=c[e+4>>2]|0,g=lc[c[(c[g>>2]|0)+56>>2]&31](g,X,Y,10)|0,(g|0)!=0):0)){l=e+52|0;k=l+48|0;do{c[l>>2]=0;l=l+4|0}while((l|0)<(k|0));Q=e+8|0;g=c[Q>>2]|0;g=nc[c[(c[g>>2]|0)+24>>2]&127](g,W)|0;a:do if(!g){R=W;P=c[R+4>>2]|0;b:do if((P|0)>0|(P|0)==0&(c[R>>2]|0)>>>0>32){g=c[Q>>2]|0;g=pc[c[(c[g>>2]|0)+8>>2]&31](g,n,32,0,0)|0;if(g)break a;m=d[n+3>>0]|0;k=d[n+9>>0]<<16|d[n+8>>0]<<24;g=d[n+10>>0]<<8;l=k|g|d[n+11>>0];if(((d[n+1>>0]<<16|d[n>>0]<<24|d[n+2>>0]<<8|m&254|0)==931071618?!((l+-1&l|0)!=0|(l|0)>65536|(l|0)<512):0)?(R=m&1,S=e+65|0,a[S>>0]=R,T=e+36|0,c[T>>2]=l,c[e+104>>2]=d[n+13>>0]<<16|d[n+12>>0]<<24|d[n+14>>0]<<8|d[n+15>>0],U=e+84|0,P=n+16|0,N=P,N=d[N>>0]|d[N+1>>0]<<8|d[N+2>>0]<<16|d[N+3>>0]<<24,P=P+4|0,P=d[P>>0]|d[P+1>>0]<<8|d[P+2>>0]<<16|d[P+3>>0]<<24,V=U,O=V,a[O>>0]=N,a[O+1>>0]=N>>8,a[O+2>>0]=N>>16,a[O+3>>0]=N>>24,V=V+4|0,a[V>>0]=P,a[V+1>>0]=P>>8,a[V+2>>0]=P>>16,a[V+3>>0]=P>>24,V=e+76|0,uq(R^1,n,24,0,V),(c[V>>2]|0)==(d[n+25>>0]<<16|d[n+24>>0]<<24|d[n+26>>0]<<8|d[n+27>>0]|0)):0){P=e+80|0;if((c[P>>2]|0)!=(d[n+29>>0]<<16|d[n+28>>0]<<24|d[n+30>>0]<<8|d[n+31>>0]|0)){l=0;g=0;break}if((d[n+5>>0]<<16|d[n+4>>0]<<24|d[n+6>>0]<<8|d[n+7>>0]|0)!=3007e3){c[$>>2]=49983;c[$+4>>2]=10788;Zc(14,14848,$);g=14;break a}t=l+24|0;R=Pc(t)|0;if(!R){g=7;break a}u=R+24|0;v=((t|0)<0)<<31>>31;n=fw(t|0,v|0,32,0)|0;m=C;O=W;N=c[O+4>>2]|0;c:do if(!((m|0)>(N|0)|((m|0)==(N|0)?n>>>0>(c[O>>2]|0)>>>0:0))){w=R+8|0;x=R+1|0;y=R+2|0;z=R+3|0;A=R+16|0;B=R+17|0;D=R+18|0;E=R+19|0;F=R+20|0;G=R+21|0;H=R+22|0;I=R+23|0;J=R+4|0;K=R+5|0;L=R+6|0;M=R+7|0;N=e+68|0;O=e+72|0;r=(k>>>16|g)&65535;s=e+66|0;o=32;k=0;l=0;p=0;q=1;while(1){g=c[Q>>2]|0;g=pc[c[(c[g>>2]|0)+8>>2]&31](g,R,t,o,k)|0;if(g){k=36;break}if(Vv(U,w,8)|0){g=p;k=37;break}k=d[x>>0]<<16|d[R>>0]<<24|d[y>>0]<<8|d[z>>0];if(!k){g=p;k=37;break}o=(a[S>>0]|0)==0&1;uq(o,R,8,V,V);uq(o,u,c[T>>2]|0,V,V);if((c[V>>2]|0)!=(d[B>>0]<<16|d[A>>0]<<24|d[D>>0]<<8|d[E>>0]|0)){g=p;k=37;break}if((c[P>>2]|0)!=(d[G>>0]<<16|d[F>>0]<<24|d[H>>0]<<8|d[I>>0]|0)){g=p;break c}o=d[K>>0]<<16|d[J>>0]<<24|d[L>>0]<<8|d[M>>0];g=Wo(e,q,k)|0;if(g){k=36;break}if(!o)g=p;else{c[N>>2]=q;c[O>>2]=o;b[s>>1]=r;l=c[V>>2]|0;g=c[P>>2]|0}k=fw(n|0,m|0,t|0,v|0)|0;o=C;p=W;ca=c[p+4>>2]|0;if((o|0)>(ca|0)|((o|0)==(ca|0)?k>>>0>(c[p>>2]|0)>>>0:0))break c;else{da=m;ca=n;n=k;m=o;p=g;q=q+1|0;k=da;o=ca}}if((k|0)==36){Sc(R);break a}else if((k|0)==37){Sc(R);break b}}else{l=0;g=0}while(0);Sc(R)}else{l=0;g=0}}else{l=0;g=0}while(0);c[e+76>>2]=l;c[e+80>>2]=g;Xo(e);k=c[c[e+32>>2]>>2]|0;c[k+96>>2]=0;c[k+100>>2]=0;g=k+104|0;c[g>>2]=-1;c[k+108>>2]=-1;c[k+112>>2]=-1;c[k+116>>2]=-1;k=e+68|0;l=c[k>>2]|0;if(l)c[g>>2]=l;if(!(c[e+72>>2]|0))g=0;else{g=c[e+100>>2]|0;c[$>>2]=c[k>>2];c[$+4>>2]=g;Zc(283,14888,$);g=0}}while(0);if(!(a[_>>0]|0)){W=c[e+4>>2]|0;lc[c[(c[W>>2]|0)+56>>2]&31](W,X,Y,9)|0}}c[f>>2]=1}}else{h=l;g=k}a[Z>>0]=0;if(!(a[_>>0]|0)){_=c[e+4>>2]|0;lc[c[(c[_>>2]|0)+56>>2]&31](_,0,1,9)|0}}else if(k){h=e+4|0;g=c[h>>2]|0;g=lc[c[(c[g>>2]|0)+56>>2]&31](g,0,1,6)|0;if(!g)if(!(a[_>>0]|0)){h=c[h>>2]|0;lc[c[(c[h>>2]|0)+56>>2]&31](h,0,1,5)|0;h=l;g=264}else{h=l;g=264}else h=l}else{h=l;g=264}while(0);if(h)break}if((c[e+52>>2]|0)!=3007e3){c[$>>2]=50909;c[$+4>>2]=10788;Zc(14,14848,$);g=14}}else g=l;while(0);i=aa;return g|0}function kq(a,d,f,g,h,i){a=a|0;d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;p=c[h>>2]|0;q=c[g>>2]|0;k=(p|0)>0;j=(f|0)>0;if(k|j){n=j;l=0;o=0;m=0;while(1){do if(n){j=d+(l<<1)|0;if(k?(r=q+(m<<1)|0,(c[a+((e[j>>1]|0)<<2)>>2]|0)>>>0>=(c[a+((e[r>>1]|0)<<2)>>2]|0)>>>0):0){k=r;s=7;break}l=l+1|0;k=j}else{k=q+(m<<1)|0;s=7}while(0);if((s|0)==7){s=0;m=m+1|0}n=b[k>>1]|0;k=c[a+((n&65535)<<2)>>2]|0;j=o+1|0;b[i+(o<<1)>>1]=n;if((l|0)<(f|0))l=((c[a+((e[d+(l<<1)>>1]|0)<<2)>>2]|0)==(k|0)&1)+l|0;k=(m|0)<(p|0);n=(l|0)<(f|0);if(!(k|n))break;else o=j}}else j=0;c[g>>2]=d;c[h>>2]=j;gw(d|0,i|0,j<<1|0)|0;return}function lq(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a+4>>2]|0;c[e+4>>2]=c[a>>2];a=c[(c[e>>2]|0)+204>>2]|0;c[a+16>>2]=b;e=c[2217]|0;d=c[a+40>>2]|0;if((b|0)>-1)a=b;else{b=ow(b|0,((b|0)<0)<<31>>31|0,-1024,-1)|0;a=(c[a+24>>2]|0)+(c[a+20>>2]|0)|0;a=mw(b|0,C|0,a|0,((a|0)<0)<<31>>31|0)|0}fc[e&15](d,a);return}function mq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=(c[b+12>>2]|0)+136|0;e=g;f=c[e>>2]|0;e=c[e+4>>2]|0;do if((f|0)==0&(e|0)==0)if(!(Zg(c[c[(c[b>>2]|0)+32>>2]>>2]|0,g)|0)){e=g;f=c[e>>2]|0;e=c[e+4>>2]|0;h=5;break}else{e=g;c[e>>2]=0;c[e+4>>2]=0;e=d;c[e>>2]=0;c[e+4>>2]=0;e=1;break}else h=5;while(0);if((h|0)==5){g=d;c[g>>2]=f;c[g+4>>2]=e;if((e|0)>0|(e|0)==0&f>>>0>0){a[d+42>>0]=1;e=0}else e=1}return e|0}function nq(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;p=i;i=i+16|0;if((i|0)>=(j|0))ba();n=p;c[n>>2]=d;d=b;b=0;a:while(1){h=c[n>>2]|0;g=c[h>>2]|0;c[n>>2]=h+4;h=c[n>>2]|0;k=c[h>>2]|0;c[n>>2]=h+4;h=c[n>>2]|0;l=c[h>>2]|0;c[n>>2]=h+4;h=c[n>>2]|0;m=c[h>>2]|0;c[n>>2]=h+4;h=c[n>>2]|0;e=c[h>>2]|0;c[n>>2]=h+4;if(!g){f=d;d=0}else{f=d;d=0;do{g=g+-1|0;h=a[f>>0]|0;if(((h&255)+-48|0)>>>0>=10)break a;d=(d*10|0)+-48+(h<<24>>24)|0;f=f+1|0}while((g|0)!=0)}if((d|0)<(k|0)|(d|0)>(l|0))break;if(!m){o=9;break}if((m|0)!=(a[f>>0]|0))break;c[e>>2]=d;d=f+1|0;b=b+1|0}if((o|0)==9){c[e>>2]=d;b=b+1|0}i=p;return b|0}function oq(b,e){b=b|0;e=e|0;var f=0,g=0,k=0,l=0.0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=i;i=i+64|0;if((i|0)>=(j|0))ba();s=u;q=u+56|0;r=u+52|0;f=u+48|0;o=u+44|0;p=u+40|0;c[s>>2]=2;c[s+4>>2]=0;c[s+8>>2]=24;c[s+12>>2]=58;c[s+16>>2]=f;c[s+20>>2]=2;c[s+24>>2]=0;c[s+28>>2]=59;c[s+32>>2]=0;c[s+36>>2]=o;do if((nq(b,s)|0)==2){m=b+5|0;if((a[m>>0]|0)==58){c[s>>2]=2;c[s+4>>2]=0;c[s+8>>2]=59;c[s+12>>2]=0;c[s+16>>2]=p;if((nq(b+6|0,s)|0)!=1){f=1;break}m=b+8|0;if((a[m>>0]|0)==46?(g=b+9|0,k=a[g>>0]|0,((k&255)+-48|0)>>>0<10):0){n=0.0;l=1.0;do{n=n*10.0+ +(k<<24>>24)+-48.0;l=l*10.0;g=g+1|0;k=a[g>>0]|0}while(((k&255)+-48|0)>>>0<10);l=n/l}else{g=m;l=0.0}}else{c[p>>2]=0;g=m;l=0.0}a[e+42>>0]=0;a[e+41>>0]=1;c[e+20>>2]=c[f>>2];c[e+24>>2]=c[o>>2];h[e+32>>3]=l+ +(c[p>>2]|0);while(1){f=g+1|0;if(!(a[10368+(d[g>>0]|0)>>0]&1)){m=g;break}else g=f}b=e+28|0;c[b>>2]=0;g=a[m>>0]|0;if(g<<24>>24==43){k=1;t=14}else if(g<<24>>24!=45)if((g&-33)<<24>>24==90){k=0;t=16}else f=0;else{k=-1;t=14}if((t|0)==14){c[s>>2]=2;c[s+4>>2]=0;c[s+8>>2]=14;c[s+12>>2]=58;c[s+16>>2]=q;c[s+20>>2]=2;c[s+24>>2]=0;c[s+28>>2]=59;c[s+32>>2]=0;c[s+36>>2]=r;if((nq(f,s)|0)!=2){f=1;break}k=_(((c[q>>2]|0)*60|0)+(c[r>>2]|0)|0,k)|0;c[b>>2]=k;f=m+6|0;t=16}if((t|0)==16)while(1){g=a[f>>0]|0;if(!(a[10368+(g&255)>>0]&1)){f=k;break}else f=f+1|0}if(!(g<<24>>24)){a[e+43>>0]=(f|0)!=0&1;f=0}else f=1}else f=1;while(0);i=u;return f|0}function pq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,k=0,l=0,m=0,n=0,o=0.0,p=0;n=i;i=i+112|0;if((i|0)>=(j|0))ba();k=n+48|0;m=n;l=n+96|0;f=k+0|0;b=b+0|0;g=f+48|0;do{c[f>>2]=c[b>>2];f=f+4|0;b=b+4|0}while((f|0)<(g|0));ko(k);lo(k);g=k+8|0;if(((c[g>>2]|0)+-1971|0)>>>0>66){c[g>>2]=2e3;c[k+12>>2]=1;c[k+16>>2]=1;c[k+20>>2]=0;c[k+24>>2]=0;h[k+32>>3]=0.0}else{f=k+32|0;h[f>>3]=+(~~(+h[f>>3]+.5)|0)}c[k+28>>2]=0;a[k+42>>0]=0;jo(k);b=k;f=c[b>>2]|0;b=c[b+4>>2]|0;g=mw(f|0,b|0,1e3,0)|0;g=fw(g|0,C|0,-413362496,0)|0;c[l>>2]=g;g=Rb(l|0)|0;g=(c[2253]|0)!=0?0:g;if(!g){c[d+20>>2]=1;a[d+25>>0]=1;Tg(c[d>>2]|0,20056,-1,1,-1)|0;c[e>>2]=1;f=0;g=0}else{k=c[g+4>>2]|0;l=c[g+8>>2]|0;d=c[g+12>>2]|0;p=(c[g+16>>2]|0)+1|0;o=+(c[g>>2]|0);c[m+8>>2]=(c[g+20>>2]|0)+1900;c[m+12>>2]=p;c[m+16>>2]=d;c[m+20>>2]=l;c[m+24>>2]=k;h[m+32>>3]=o;a[m+40>>0]=1;a[m+41>>0]=1;a[m+42>>0]=0;a[m+43>>0]=0;jo(m);c[e>>2]=0;g=m;g=$v(c[g>>2]|0,c[g+4>>2]|0,f|0,b|0)|0;f=C}C=f;i=n;return g|0}function qq(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;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p+12|0;l=p;n=p+8|0;k=p+16|0;a[d>>0]=0;f=nc[c[(c[b>>2]|0)+24>>2]&127](b,l)|0;h=l;g=c[h>>2]|0;h=c[h+4>>2]|0;if(!((f|0)!=0|((h|0)<0|(h|0)==0&g>>>0<16))){f=fw(g|0,h|0,-16,-1)|0;f=as(b,f,C,o)|0;if(!f){m=c[o>>2]|0;if(!(m>>>0>=e>>>0|(m|0)==0)){f=l;f=fw(c[f>>2]|0,c[f+4>>2]|0,-12,-1)|0;f=as(b,f,C,n)|0;if(!f){f=l;f=fw(c[f>>2]|0,c[f+4>>2]|0,-8,-1)|0;f=pc[c[(c[b>>2]|0)+8>>2]&31](b,k,8,f,C)|0;if(!f)if(!(Vv(k,14808,8)|0)){f=l;f=fw(c[f>>2]|0,c[f+4>>2]|0,-16,-1)|0;f=$v(f|0,C|0,m|0,0)|0;f=pc[c[(c[b>>2]|0)+8>>2]&31](b,d,m,f,C)|0;if(!f){g=c[n>>2]|0;h=0;while(1){e=a[d+h>>0]|0;f=g-e|0;h=h+1|0;if(h>>>0>=m>>>0)break;else g=f}c[n>>2]=f;if((g|0)==(e|0))f=m;else{c[o>>2]=0;f=0}a[d+f>>0]=0;f=0}}else f=0}}else f=0}}i=p;return f|0}function rq(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,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();l=s+8|0;q=s+4|0;o=s;r=a+72|0;h=r;k=c[h>>2]|0;h=c[h+4>>2]|0;if((k|0)==0&(h|0)==0){m=0;n=0;k=c[a+148>>2]|0}else{m=fw(k|0,h|0,-1,-1)|0;k=c[a+148>>2]|0;m=mw(m|0,C|0,k|0,0)|0;m=fw(m|0,C|0,1,0)|0;m=ow(m|0,C|0,k|0,0)|0;n=C}p=r;c[p>>2]=m;c[p+4>>2]=n;p=a+148|0;k=fw(k|0,0,m|0,n|0)|0;h=C;do if(!((h|0)>(e|0)|(h|0)==(e|0)&k>>>0>d>>>0)){if((b|0)==0?(b=a+80|0,(m|0)==(c[b>>2]|0)?(n|0)==(c[b+4>>2]|0):0):0)d=a+64|0;else{k=a+64|0;e=c[k>>2]|0;e=pc[c[(c[e>>2]|0)+8>>2]&31](e,l,8,m,n)|0;if(e)break;if(!(Vv(l,14808,8)|0))d=k;else{e=101;break}}l=c[d>>2]|0;e=fw(m|0,n|0,8,0)|0;e=as(l,e,C,f)|0;if(!e){f=c[d>>2]|0;e=fw(m|0,n|0,12,0)|0;e=as(f,e,C,a+48|0)|0;if(!e){f=c[d>>2]|0;e=fw(m|0,n|0,16,0)|0;e=as(f,e,C,g)|0;if(!e){h=r;k=c[h>>2]|0;h=c[h+4>>2]|0;if((k|0)==0&(h|0)==0){g=c[d>>2]|0;e=fw(m|0,n|0,20,0)|0;e=as(g,e,C,o)|0;if(e)break;g=c[d>>2]|0;e=fw(m|0,n|0,24,0)|0;e=as(g,e,C,q)|0;if(e)break;d=c[q>>2]|0;if(!d){h=c[a+152>>2]|0;c[q>>2]=h}else h=d;d=c[o>>2]|0;if(h>>>0<512|d>>>0<32|h>>>0>65536|d>>>0>65536){e=101;break}if(h+-1&h){e=101;break}if(d+-1&d){e=101;break}e=Yk(a,q,-1)|0;c[p>>2]=d;h=r;k=c[h>>2]|0;h=c[h+4>>2]|0}else{d=c[p>>2]|0;e=0}m=fw(k|0,h|0,d|0,0)|0;n=r;c[n>>2]=m;c[n+4>>2]=C}}}}else e=101;while(0);i=s;return e|0}function sq(f,g,h,k,l){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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=i;i=i+16|0;if((i|0)>=(j|0))ba();v=A+8|0;o=A+4|0;r=A;y=c[f+200>>2]|0;z=(k|0)!=0;n=c[(z?f+64|0:f+68|0)>>2]|0;q=g;q=as(n,c[q>>2]|0,c[q+4>>2]|0,o)|0;do if(!q){x=f+152|0;u=c[x>>2]|0;q=g;q=fw(c[q>>2]|0,c[q+4>>2]|0,4,0)|0;q=pc[c[(c[n>>2]|0)+8>>2]&31](n,y,u,q,C)|0;if(!q){B=c[x>>2]|0;p=(k<<2)+4+B|0;q=g;q=fw(p|0,((p|0)<0)<<31>>31|0,c[q>>2]|0,c[q+4>>2]|0)|0;p=C;u=g;c[u>>2]=q;c[u+4>>2]=p;u=c[o>>2]|0;if((u|0)!=0?(u|0)!=(((c[2514]|0)/(B|0)|0)+1|0):0)if(u>>>0<=(c[f+24>>2]|0)>>>0?($h(h,u)|0)==0:0){if(z){q=fw(q|0,p|0,-4,-1)|0;q=as(n,q,C,r)|0;if(q){m=q;break}if(!l){q=c[f+48>>2]|0;p=(c[x>>2]|0)+-200|0;if((p|0)>0)do{q=(d[y+p>>0]|0)+q|0;p=p+-200|0}while((p|0)>0);if((q|0)!=(c[r>>2]|0)){m=101;break}}}if((h|0)!=0?(m=Zh(h,u)|0,(m|0)!=0):0)break;r=(u|0)==1;if(r?(s=f+142|0,t=a[y+20>>0]|0,(b[s>>1]|0)!=(t&255|0)):0)b[s>>1]=t&255;if(!(c[f+208>>2]|0)){t=f+204|0;q=Yb[c[8744+132>>2]&63](c[(c[t>>2]|0)+40>>2]|0,u,0)|0;q=el(c[t>>2]|0,u,q)|0}else q=0;c[v>>2]=q;if(z)if(!(a[f+7>>0]|0)){t=g;h=c[t+4>>2]|0;p=f+80|0;s=c[p+4>>2]|0;p=(h|0)<(s|0)|((h|0)==(s|0)?(c[t>>2]|0)>>>0<=(c[p>>2]|0)>>>0:0)}else p=1;else if(!q)p=1;else p=(b[q+24>>1]&4)==0;o=c[f+60>>2]|0;n=c[o>>2]|0;do if(n){m=a[f+16>>0]|0;if((m&255)>3){if(!p){w=33;break}}else if(!(m<<24>>24==0&p)){w=33;break}p=c[x>>2]|0;m=ow(p|0,((p|0)<0)<<31>>31|0,u+-1|0,0)|0;m=pc[c[n+12>>2]&31](o,y,p,m,C)|0;p=f+32|0;if(u>>>0>(c[p>>2]|0)>>>0)c[p>>2]=u;p=c[f+88>>2]|0;if(p)Yo(p,u,y)}else w=33;while(0);if((w|0)==33)if((k|0)==0&(q|0)==0){t=f+20|0;a[t>>0]=d[t>>0]|2;m=vg(f,u,v,1)|0;a[t>>0]=d[t>>0]&253;if(m)break;q=c[v>>2]|0;m=q+24|0;b[m>>1]=e[m>>1]&65527;Po(q);m=0}else m=0;if(q){o=c[q+4>>2]|0;gw(o|0,y|0,c[x>>2]|0)|0;_b[c[f+196>>2]&31](q);do if(z){if((l|0)!=0?(t=g,h=c[t+4>>2]|0,u=f+80|0,s=c[u+4>>2]|0,(h|0)>(s|0)|((h|0)==(s|0)?(c[t>>2]|0)>>>0>(c[u>>2]|0)>>>0:0)):0)break;tl(q)}while(0);if(r){p=f+104|0;n=o+24|0;o=p+16|0;do{a[p>>0]=a[n>>0]|0;p=p+1|0;n=n+1|0}while((p|0)<(o|0))}kl(q)}}else m=0;else m=101}else m=q}else m=q;while(0);i=A;return m|0}function tq(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=b+24|0;if((c[g>>2]|0)<=(e|0)){i=e+1|0;j=b+32|0;h=Tc(c[j>>2]|0,i<<2)|0;if(!h){g=7;h=0}else{k=c[g>>2]|0;bw(h+(k<<2)|0,0,i-k<<2|0)|0;c[j>>2]=h;c[g>>2]=i;k=5}}else{h=c[b+32>>2]|0;k=5}if((k|0)==5){j=b+32|0;h=h+(e<<2)|0;do if(!(c[h>>2]|0)){if((a[b+43>>0]|0)!=2){g=c[b+4>>2]|0;g=pc[c[(c[g>>2]|0)+52>>2]&31](g,e,32768,d[b+44>>0]|0,h)|0;if((g|0)!=8)break;g=b+46|0;a[g>>0]=d[g>>0]|2;g=0;break}g=mg(32768,0)|0;if(g)bw(g|0,0,32768)|0;c[(c[j>>2]|0)+(e<<2)>>2]=g;g=(c[(c[j>>2]|0)+(e<<2)>>2]|0)==0?7:0}else g=0;while(0);h=c[(c[j>>2]|0)+(e<<2)>>2]|0}c[f>>2]=h;return g|0}function uq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=b+d|0;if(!e){g=0;d=0}else{g=c[e>>2]|0;d=c[e+4>>2]|0}if(!a)do{g=g+d+(jw(c[b>>2]|0)|0)|0;d=g+d+(jw(c[b+4>>2]|0)|0)|0;b=b+8|0}while(b>>>0<h>>>0);else do{g=g+d+(c[b>>2]|0)|0;d=g+d+(c[b+4>>2]|0)|0;b=b+8|0}while(b>>>0<h>>>0);c[f>>2]=g;c[f+4>>2]=d;return}function vq(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;h=a+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>(f|0)|(h|0)==(f|0)&g>>>0>e>>>0?(i=fw(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0,k=C,!((k|0)<(h|0)|(k|0)==(h|0)&i>>>0<g>>>0)):0){i=$v(g|0,h|0,e|0,f|0)|0;h=a+4|0;g=c[h>>2]|0;g=pc[c[(c[g>>2]|0)+12>>2]&31](g,b,i,e,f)|0;if(!g){e=fw(i|0,((i|0)<0)<<31>>31|0,e|0,f|0)|0;f=C;g=c[h>>2]|0;g=nc[c[(c[g>>2]|0)+20>>2]&127](g,c[a+16>>2]&19)|0;if(!((i|0)==(d|0)|(g|0)!=0)){d=d-i|0;h=b+i|0;g=f;j=5}}}else{h=b;g=f;j=5}if((j|0)==5){f=c[a+4>>2]|0;g=pc[c[(c[f>>2]|0)+12>>2]&31](f,h,d,e,g)|0}return g|0}function wq(a){a=a|0;var d=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();h=l+8|0;k=l+4|0;g=l;c[h>>2]=0;c[k>>2]=0;c[g>>2]=0;f=a+68|0;d=c[f>>2]|0;if(d){Lo(a,(d+33|0)>>>12,h,k,g)|0;g=(c[f>>2]|0)-(c[g>>2]|0)|0;a=c[h>>2]|0;f=0;do{d=a+(f<<1)|0;if((e[d>>1]|0|0)>(g|0))b[d>>1]=0;f=f+1|0}while((f|0)!=8192);d=(c[k>>2]|0)+(g+1<<2)|0;bw(d|0,0,a-d|0)|0}i=l;return}function xq(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;h=a+204|0;f=Yb[c[8744+132>>2]&63](c[(c[h>>2]|0)+40>>2]|0,d,0)|0;f=el(c[h>>2]|0,d,f)|0;do if(!f)e=0;else{if((b[f+26>>1]|0)==1){il(f);e=0;break}c[e>>2]=0;d=gl(c[a+208>>2]|0,c[f+20>>2]|0,e)|0;if(!d){d=hl(f,c[e>>2]|0)|0;if(!d){_b[c[a+196>>2]&31](f);d=0}}xg(f);e=d}while(0);d=c[a+88>>2]|0;if(d)do{c[d+16>>2]=1;d=c[d+44>>2]|0}while((d|0)!=0);i=g;return e|0}function yq(f,g,h){f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=i;i=i+16|0;if((i|0)>=(j|0))ba();C=D;z=c[f+52>>2]|0;q=(c[z+36>>2]|0)+-4|0;v=g&65535;A=h&65535;u=A+v|0;B=c[f+56>>2]|0;if(b[z+22>>1]&4)bw(B+v|0,0,A|0)|0;y=d[f+6>>0]|0;z=y+1|0;n=z&65535;x=z&65535;if((a[B+(x+1)>>0]|0)==0?(a[B+x>>0]|0)==0:0){s=h&255;q=(h&65535)>>>8&255;r=u;p=0;o=0;x=23}else{s=n;x=6}a:do if((x|0)==6){while(1){x=0;m=s&65535;o=a[B+(m+1)>>0]|0;l=o&255;r=d[B+m>>0]<<8|l;n=s;s=r&65535;if(!(r>>>0<v>>>0&(r|0)!=0)){p=o;t=r;break}if(r>>>0<(m+4|0)>>>0){x=8;break}else x=6}if((x|0)==8){c[C>>2]=54420;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break}if(t>>>0>q>>>0){c[C>>2]=54423;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break}k=h&255;q=(h&65535)>>>8&255;o=(s&65535)>>>8&255;do if((t+-1|0)>>>0<(u+3|0)>>>0)if(u>>>0>t>>>0){c[C>>2]=54434;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break a}else{r=(d[B+(t+2)>>0]<<8|d[B+(t+3)>>0])+t|0;q=r-v|0;s=q&255;q=(q&65535)>>>8&255;p=a[B+(t+1)>>0]|0;o=a[B+t>>0]|0;k=l-u&255;break}else{s=k;r=u;k=0}while(0);do if(m>>>0>z>>>0?(w=(d[B+(m+2)>>0]<<8|d[B+(m+3)>>0])+m|0,(w+3|0)>=(v|0)):0)if((v|0)<(w|0)){c[C>>2]=54447;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break a}else{q=r-m|0;g=n;s=q&255;q=(q&65535)>>>8&255;k=(k&255)+v-w&255;break}while(0);m=B+(y+7)|0;l=a[m>>0]|0;if((l&255)<(k&255)){c[C>>2]=54453;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break}else{a[m>>0]=(l&255)-(k&255);x=23;break}}while(0);b:do if((x|0)==23){k=g&65535;l=B+(y+5)|0;m=B+(y+6)|0;do if((k|0)==(d[l>>0]<<8|d[m>>0]|0))if((n&65535|0)==(z|0)){a[B+z>>0]=o;a[B+(y+2)>>0]=p;a[l>>0]=r>>>8;a[m>>0]=r;break}else{c[C>>2]=54460;c[C+4>>2]=10788;Zc(11,13600,C);k=11;break b}else{C=n&65535;a[B+C>>0]=(g&65535)>>>8;a[B+(C+1)>>0]=g;a[B+k>>0]=o;a[B+(k+1)>>0]=p;a[B+(k+2)>>0]=q;a[B+(k+3)>>0]=s}while(0);k=f+16|0;b[k>>1]=(e[k>>1]|0)+A;k=0}while(0);i=D;return k|0}function zq(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;u=i;i=i+16|0;if((i|0)>=(j|0))ba();r=u;q=d[b+6>>0]|0;t=c[b+56>>2]|0;p=c[(c[b+52>>2]|0)+36>>2]|0;l=p+-4|0;b=q+1|0;while(1){m=t+b|0;n=(d[m>>0]|0)<<8|(d[t+(b+1)>>0]|0);if(!n){b=0;break}if((n|0)>(l|0)|(n|0)<(b+4|0)){s=4;break}h=t+(n+2)|0;k=t+(n+3)|0;b=(d[h>>0]|0)<<8|(d[k>>0]|0);if((b|0)<(e|0))b=n;else{o=h;l=n;s=6;break}}a:do if((s|0)==4){c[r>>2]=54252;c[r+4>>2]=10788;Zc(11,13600,r);c[f>>2]=11;b=0}else if((s|0)==6){h=b-e|0;do if((h|0)>=4)if((b+l|0)>(p|0)){c[r>>2]=54275;c[r+4>>2]=10788;Zc(11,13600,r);c[f>>2]=11;b=0;break a}else{a[o>>0]=h>>>8;a[k>>0]=h;break}else{b=t+(q+7)|0;if((d[b>>0]|0)<=59){q=t+l|0;q=d[q>>0]|d[q+1>>0]<<8;a[m>>0]=q;a[m+1>>0]=q>>8;a[b>>0]=(d[b>>0]|0)+h;break}if(!g){b=0;break a}c[g>>2]=1;b=0;break a}while(0);b=t+(h+l)|0}while(0);i=u;return b|0}function Aq(f){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;D=i;i=i+16|0;if((i|0)>=(j|0))ba();B=D;y=c[f+56>>2]|0;A=d[f+6>>0]|0;u=e[f+14>>1]|0;v=b[f+18>>1]|0;q=v&65535;r=f+52|0;s=c[(c[r>>2]|0)+36>>2]|0;z=(q<<1)+u|0;t=s+-4|0;w=y+(A+5)|0;x=y+(A+6)|0;a:do if(v<<16>>16){p=s;v=0;h=y;k=0;while(1){m=(v<<1)+u|0;l=y+m|0;m=y+(m+1)|0;n=(d[l>>0]|0)<<8|(d[m>>0]|0);if((n|0)<(z|0)|(n|0)>(t|0)){C=3;break}o=(Hp(f,h+n|0)|0)&65535;g=p-o|0;if((g|0)<(z|0)|(o+n|0)>(s|0)){C=5;break}a[l>>0]=g>>>8;a[m>>0]=g;if(!k)if((g|0)==(n|0))k=0;else{k=c[(c[c[r>>2]>>2]|0)+200>>2]|0;h=(d[w>>0]|0)<<8|(d[x>>0]|0);gw(k+h|0,y+h|0,p-h|0)|0;h=k;C=9}else C=9;if((C|0)==9){C=0;gw(y+g|0,h+n|0,o|0)|0}v=v+1|0;if((v|0)>=(q|0)){C=11;break a}else p=g}if((C|0)==3){c[B>>2]=54184;c[B+4>>2]=10788;Zc(11,13600,B);g=11;break}else if((C|0)==5){c[B>>2]=54196;c[B+4>>2]=10788;Zc(11,13600,B);g=11;break}}else{g=s;C=11}while(0);if((C|0)==11){a[w>>0]=g>>>8;a[x>>0]=g;a[y+(A+1)>>0]=0;a[y+(A+2)>>0]=0;a[y+(A+7)>>0]=0;C=g-z|0;bw(y+z|0,0,C|0)|0;if((C|0)==(e[f+16>>1]|0|0))g=0;else{c[B>>2]=54221;c[B+4>>2]=10788;Zc(11,13600,B);g=11}}i=D;return g|0}function Bq(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,h=0,k=0;k=i;i=i+32|0;if((i|0)>=(j|0))ba();h=k;if((c[f>>2]|0)==0?(np(a,e,h),g=b[h+18>>1]|0,g<<16>>16!=0):0){g=g&65535;vp(c[a+52>>2]|0,(d[e+(g+1)>>0]|0)<<16|(d[e+g>>0]|0)<<24|(d[e+(g+2)>>0]|0)<<8|(d[e+(g+3)>>0]|0),3,c[a+72>>2]|0,f)}i=k;return}function Cq(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;do if(!(c[g>>2]|0)){h=c[b+52>>2]|0;j=c[b+56>>2]|0;l=c[f+56>>2]|0;i=d[b+6>>0]|0;k=(c[f+72>>2]|0)==1?100:0;m=d[j+(i+5)>>0]<<8|d[j+(i+6)>>0];gw(l+m|0,j+m|0,(c[h+36>>2]|0)-m|0)|0;gw(l+k|0,j+i|0,(e[b+18>>1]<<1)+(e[b+14>>1]|0)|0)|0;a[f>>0]=0;b=Xp(f)|0;if(b){c[g>>2]=b;break}if(a[h+17>>0]|0)c[g>>2]=Wp(f)|0}while(0);return}function Dq(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;q=d[f+6>>0]|0;t=c[f+56>>2]|0;m=c[f+52>>2]|0;o=c[m+36>>2]|0;n=t+o|0;j=c[f+64>>2]|0;m=c[(c[m>>2]|0)+200>>2]|0;p=t+(q+5)|0;r=t+(q+6)|0;s=(d[p>>0]|0)<<8|(d[r>>0]|0);gw(m+s|0,t+s|0,o-s|0)|0;s=t;if((g|0)>0){o=0;l=j;j=n;while(1){k=c[h+(o<<2)>>2]|0;if(k>>>0>t>>>0&k>>>0<n>>>0)k=m+(k-s)|0;u=e[i+(o<<1)>>1]|0;j=j+(0-u)|0;gw(j|0,k|0,u|0)|0;k=j-s|0;a[l>>0]=k>>>8;a[l+1>>0]=k;o=o+1|0;if((o|0)==(g|0))break;else l=l+2|0}}else j=n;i=f+18|0;b[i>>1]=g;a[f+1>>0]=0;a[t+(q+1)>>0]=0;a[t+(q+2)>>0]=0;a[t+(q+3)>>0]=(e[i>>1]|0)>>>8;a[t+(q+4)>>0]=b[i>>1];i=j-s|0;a[p>>0]=i>>>8;a[r>>0]=i;a[t+(q+7)>>0]=0;return}function Eq(a,b,f,g){a=a|0;b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=c[a+56>>2]|0;p=r+(c[(c[a+52>>2]|0)+36>>2]|0)|0;n=r+((d[a+6>>0]|0)+8+(d[a+7>>0]|0))|0;a:do if((b|0)>0){o=r;q=0;h=0;l=0;m=0;while(1){j=c[f+(q<<2)>>2]|0;if(j>>>0>=n>>>0&j>>>0<p>>>0){i=e[g+(q<<1)>>1]|0;k=j+i|0;if((l|0)!=(k|0)){if(l)yq(a,l-o&65535,m&65535)|0;if(k>>>0>p>>>0){h=0;break a}}else i=i+m|0;h=h+1|0}else{j=l;i=m}q=q+1|0;if((q|0)>=(b|0))break;else{l=j;m=i}}if(j)yq(a,j-r&65535,i&65535)|0}else h=0;while(0);return h|0}function Fq(b,d,f,g,h,k,l){b=b|0;d=d|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,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();t=v;n=c[b+56>>2]|0;m=c[f>>2]|0;if(!(a[n+1>>0]|0))s=(a[n+2>>0]|0)!=0;else s=1;a:do if((h|0)>0){q=0;while(1){p=e[l+(q<<1)>>1]|0;if(s?(r=zq(b,p,t,0)|0,(r|0)!=0):0)o=r;else{o=m+(0-p)|0;if(o>>>0<d>>>0){m=1;break a}else m=o}gw(o|0,c[k+(q<<2)>>2]|0,p|0)|0;p=o-n|0;a[g>>0]=p>>>8;a[g+1>>0]=p;q=q+1|0;if((q|0)>=(h|0)){u=9;break}else g=g+2|0}}else u=9;while(0);if((u|0)==9){c[f>>2]=m;m=0}i=v;return m|0}function Gq(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,o=0,p=0,q=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;e=c[a+44>>2]|0;h=a;f=c[h>>2]|0;h=c[h+4>>2]|0;a:do if(!e){m=a+40|0;e=c[m>>2]|0;g=((e|0)<0)<<31>>31;l=nw(f|0,h|0,e|0,g|0)|0;if(!l){k=a+8|0;k=$v(c[k>>2]|0,c[k+4>>2]|0,f|0,h|0)|0;p=C;q=c[a+24>>2]|0;e=pc[c[(c[q>>2]|0)+8>>2]&31](q,c[a+36>>2]|0,(p|0)>(g|0)|(p|0)==(g|0)&k>>>0>e>>>0?e:k,f,h)|0;if(e)break;e=c[m>>2]|0}k=e-l|0;if((k|0)>=(b|0)){c[d>>2]=(c[a+36>>2]|0)+l;e=a;b=fw(c[e>>2]|0,c[e+4>>2]|0,b|0,((b|0)<0)<<31>>31|0)|0;e=a;c[e>>2]=b;c[e+4>>2]=C;e=0;break}e=a+16|0;f=c[e>>2]|0;if((f|0)<(b|0)){f=f<<1;f=(f|0)<128?128:f;while(1)if((f|0)<(b|0))f=f<<1;else{h=f;break}g=a+28|0;f=ng(c[g>>2]|0,h,((h|0)<0)<<31>>31)|0;if(!f){e=7;break}c[e>>2]=h;c[g>>2]=f}else f=c[a+28>>2]|0;h=a+28|0;gw(f|0,(c[a+36>>2]|0)+l|0,k|0)|0;l=a;l=fw(c[l>>2]|0,c[l+4>>2]|0,k|0,((k|0)<0)<<31>>31|0)|0;e=a;c[e>>2]=l;c[e+4>>2]=C;e=b-k|0;if((e|0)>0){g=e;do{f=c[m>>2]|0;f=(g|0)>(f|0)?f:g;e=Gq(a,f,n)|0;if(e)break a;gw((c[h>>2]|0)+(b-g)|0,c[n>>2]|0,f|0)|0;g=g-f|0}while((g|0)>0)}c[d>>2]=c[h>>2];e=0}else{c[d>>2]=e+f;b=fw(f|0,h|0,b|0,((b|0)<0)<<31>>31|0)|0;e=a;c[e>>2]=b;c[e+4>>2]=C;e=0}while(0);i=o;return e|0}function Hq(a){a=a|0;var b=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;z=i;i=i+64|0;if((i|0)>=(j|0))ba();w=z+44|0;y=z;x=z+40|0;u=a+8|0;t=c[u>>2]|0;u=c[u+4>>2]|0;v=a+4|0;p=c[v>>2]|0;Lp(c[a+48>>2]|0,y,c[(c[(c[a>>2]|0)+8>>2]|0)+12>>2]|0,t,u);o=p+8|0;p=p+12|0;q=y+24|0;r=y+16|0;s=a+16|0;while(1){f=c[(c[o>>2]|0)+4>>2]|0;g=c[p>>2]|0;h=c[g+(f*56|0)+20>>2]|0;if(!(c[g+(f*56|0)+24>>2]|0)){d=1;b=0;break}l=q;k=c[l>>2]|0;l=c[l+4>>2]|0;m=c[r>>2]|0;n=((h|0)<0)<<31>>31;b=h;e=n;d=0;do{d=d+1|0;b=iw(b|0,e|0,7)|0;e=C}while(((b|0)!=0|(e|0)!=0)&(d|0)<9);k=fw(k|0,l|0,h|0,n|0)|0;k=fw(k|0,C|0,m|0,((m|0)<0)<<31>>31|0)|0;d=fw(k|0,C|0,d|0,((d|0)<0)<<31>>31|0)|0;k=C;b=c[s>>2]|0;b=fw(b|0,((b|0)<0)<<31>>31|0,t|0,u|0)|0;e=C;if((k|0)>(e|0)|(k|0)==(e|0)&d>>>0>b>>>0){d=1;b=0;break}Mp(y,w,lm(w,h,n)|0);Mp(y,c[g+(f*56|0)+32>>2]|0,h);b=Sm(c[v>>2]|0,x)|0;if(b){d=0;break}}y=Np(y,a+56|0)|0;i=z;return (d?y:b)|0}function Iq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();f=d;c[f>>2]=e;e=Sk(a,13592,f)|0;ig(a,b);i=d;return e|0}function Jq(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;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;h=a[d>>0]|0;if(h<<24>>24!=0&(e|0)>0){l=0;do{if((h+-48&255)<10){k=0;do{k=(k*10|0)+-48+(h<<24>>24)|0;d=d+1|0;h=a[d>>0]|0}while((h+-48&255)<10);h=0}else{k=0;h=0}b[f+(l<<1)>>1]=bs(k,h)|0;d=(a[d>>0]|0)==32?d+1|0:d;l=l+1|0;h=a[d>>0]|0}while(h<<24>>24!=0&(l|0)<(e|0))}l=g+51|0;a[l>>0]=a[l>>0]&-69;a:do if(a[d>>0]|0){f=g+44|0;b:while(1){do if(!(Ch(13448,d,10352,0)|0)){if(Ch(13464,d,10352,0)|0){c[m>>2]=0;zn(d+3|0,m)|0;h=c[m>>2]|0;b[f>>1]=bs(h,((h|0)<0)<<31>>31)|0;break}if(Ch(13480,d,10352,0)|0)a[l>>0]=a[l>>0]|64}else a[l>>0]=a[l>>0]|4;while(0);while(1){h=a[d>>0]|0;if(h<<24>>24==32|h<<24>>24==0)break;d=d+1|0}while(1){k=d+1|0;if(!(h<<24>>24))break a;else if(h<<24>>24!=32)continue b;h=a[k>>0]|0;d=k}}}while(0);i=n;return}function Kq(d){d=d|0;var e=0,f=0;f=d+8|0;e=c[f>>2]|0;if(!e){e=rh(d)|0;c[f>>2]=e;if(e)sh(e,155,0,0,0)|0;if((c[d+408>>2]|0)==0?(b[(c[d>>2]|0)+60>>1]&8)==0:0)a[d+23>>0]=1}return e|0}function Lq(b,d){b=b|0;d=d|0;var e=0;e=(c[b+32>>2]|0)+-1|0;if((e|0)>(c[(c[b+24>>2]|0)+88>>2]|0)?(a[(c[b+4>>2]|0)+(e*20|0)>>0]|0)==d<<24>>24:0){vh(b,e);e=1}else e=0;return e|0}function Mq(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0;j=Kq(d)|0;i=g+32|0;cs(d,f,c[i>>2]|0,(h|0)==55&1,c[g>>2]|0);if(!(a[g+44>>0]&32)){g=b[g+38>>1]|0;th(j,sh(j,h,e,c[i>>2]|0,f)|0,g,-14)}else{i=c[g+8>>2]|0;a:do if(!i)i=0;else while(1){if((a[i+51>>0]&3)==2)break a;i=c[i+20>>2]|0;if(!i){i=0;break}}while(0);sh(j,h,e,c[i+40>>2]|0,f)|0;g=c[d+8>>2]|0;th(g,-1,ds(d,i)|0,-6)}return}function Nq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((d|0)!=0?(a[d>>0]|0)==-97:0)sh(c[b+8>>2]|0,33,c[d+28>>2]|0,e,0)|0;else h=4;if(((h|0)==4?(g=es(b,d,e)|0,(g|0)!=(e|0)):0)?(f=c[b+8>>2]|0,(f|0)!=0):0)sh(f,34,g,e,0)|0;return}function Oq(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;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;h=c[b>>2]|0;do if(((a[h+145>>0]|0)==0?(a[b+451>>0]|0)==0:0)?(k=c[h+284>>2]|0,(k|0)!=0):0){h=gc[k&7](c[h+288>>2]|0,d,e,f,g,c[b+492>>2]|0)|0;if((h|0)==0|(h|0)==2)break;else if((h|0)==1){ph(b,25216,l);c[b+12>>2]=23;h=1;break}else{ph(b,25232,l);c[b+12>>2]=1;h=1;break}}else h=0;while(0);i=m;return h|0}function Pq(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;d=Sq(c[a>>2]|0,d)|0;do if(d){e=Kq(a)|0;if((e|0)!=0?(Oq(a,32,c[37088+(b<<2)>>2]|0,d,0)|0)==0:0){th(e,sh(e,2,b,0,0)|0,d,-1);break}ig(c[a>>2]|0,d)}while(0);return}function Qq(e,f,g,h,k,l,m){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;var 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();r=v;p=v+4|0;u=c[e>>2]|0;f=ar(e,f,g,p)|0;a:do if((f|0)>=0){q=(h|0)!=0;if(q?(c[g+4>>2]|0)!=0&(f|0)!=1:0){ph(e,36976,r);break}t=q?1:f;g=c[p>>2]|0;q=g;f=c[q+4>>2]|0;p=e+496|0;c[p>>2]=c[q>>2];c[p+4>>2]=f;p=Sq(u,g)|0;if(p){b:do if((Hr(e,p)|0)==0?(o=(a[u+144>>0]|0)==1?1:h,s=u+16|0,n=c[(c[s>>2]|0)+(t<<4)>>2]|0,(Oq(e,18,(o|0)==1?13184:13208,0,n)|0)==0):0){h=(o|0)!=0;if(!k)f=h?4:2;else f=h?6:8;q=(l|0)!=0;if(!q?(Oq(e,f,p,0,n)|0)!=0:0)break;do if(!(a[e+451>>0]|0)){h=c[(c[s>>2]|0)+(t<<4)>>2]|0;if(Cn(e)|0)break b;if(!(Wh(u,p,h)|0)){if(!(Zp(u,p,h)|0))break;c[r>>2]=p;ph(e,37048,r);break b}if(!m){c[r>>2]=g;ph(e,37024,r);break b}else{wr(e,t);break b}}while(0);o=ih(u,76,0)|0;if(!o){a[u+65>>0]=1;c[e+12>>2]=7;s=e+64|0;c[s>>2]=(c[s>>2]|0)+1;break}n=o+0|0;h=n+76|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(h|0));c[o>>2]=p;b[o+36>>1]=-1;n=c[(c[s>>2]|0)+(t<<4)+12>>2]|0;c[o+68>>2]=n;b[o+40>>1]=1;b[o+28>>1]=200;c[e+484>>2]=o;if((a[e+18>>0]|0)==0?(Wv(p,26576)|0)==0:0)c[n+72>>2]=o;if(a[u+145>>0]|0)break a;g=Kq(e)|0;if(!g)break a;s=c[e+408>>2]|0;wr(e,t);n=1<<t;s=((s|0)==0?e:s)+328|0;c[s>>2]=c[s>>2]|n;if(q)sh(g,146,0,0,0)|0;o=e+72|0;f=c[o>>2]|0;p=f+1|0;c[e+384>>2]=p;q=f+2|0;c[e+388>>2]=q;f=f+3|0;c[o>>2]=f;sh(g,51,t,f,2)|0;o=g+96|0;c[o>>2]=c[o>>2]|n;o=sh(g,45,f,0,0)|0;sh(g,25,(c[u+24>>2]&32768|0)!=0?1:4,f,0)|0;sh(g,52,t,2,f)|0;sh(g,25,d[u+62>>0]|0,f,0)|0;sh(g,52,t,5,f)|0;h=g+32|0;n=c[h>>2]|0;if(n>>>0>o>>>0)c[(c[g+4>>2]|0)+(o*20|0)+8>>2]=n;c[(c[g+24>>2]|0)+88>>2]=n+-1;if(!(l|k))c[e+416>>2]=sh(g,121,t,q,0)|0;else sh(g,25,0,q,0)|0;fs(e,t);sh(g,74,0,p,0)|0;sh(g,28,0,f,0)|0;sh(g,75,0,f,p)|0;n=c[g+4>>2]|0;if(n)a[n+(((c[h>>2]|0)+-1|0)*20|0)+3>>0]=8;sh(g,61,0,0,0)|0;break a}while(0);ig(u,p)}}while(0);i=v;return}function Rq(f,g,h,k,l){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,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;O=i;i=i+176|0;if((i|0)>=(j|0))ba();J=O+80|0;G=O+168|0;D=O;E=O+136|0;F=O+112|0;K=c[f>>2]|0;a:do if((!((h|0)==0&(l|0)==0)?(L=K+65|0,(a[L>>0]|0)==0):0)?(M=f+484|0,N=c[M>>2]|0,(N|0)!=0):0){I=K+145|0;if(a[I>>0]|0)c[N+32>>2]=c[K+140>>2];b:do if(k&32){p=N+44|0;o=d[p>>0]|0;if(o&8){ph(f,36584,J);break a}if(!(o&4)){c[J>>2]=c[N>>2];ph(f,36640,J);break}a[p>>0]=o|32;q=c[f+8>>2]|0;p=c[f+416>>2]|0;if(p){if((p|0)<0)p=(c[q+32>>2]|0)+-1|0;if(!(a[(c[q>>2]|0)+65>>0]|0))p=(c[q+4>>2]|0)+(p*20|0)|0;else p=29120;a[p>>0]=120}p=c[f+420>>2]|0;if(p){if((p|0)<0)p=(c[q+32>>2]|0)+-1|0;if(!(a[(c[q>>2]|0)+65>>0]|0))o=(c[q+4>>2]|0)+(p*20|0)|0;else o=29120;a[o>>0]=16}o=N+36|0;if((b[o>>1]|0)>-1){p=hr(f,0,0)|0;if(!p)break;z=gh(c[f>>2]|0,c[(c[N+4>>2]|0)+((b[o>>1]|0)*24|0)>>2]|0)|0;A=c[p+4>>2]|0;c[A+4>>2]=z;a[A+12>>0]=a[f+448>>0]|0;p=Xq(f,0,0,0,p,d[N+45>>0]|0,0,0,0,0)|0;if(!p)break;u=p+51|0;a[u>>0]=a[u>>0]&-4|2;b[o>>1]=-1;u=b[p+46>>1]|0}else{p=c[N+8>>2]|0;c:do if(!p)p=0;else while(1){if((a[p+51>>0]&3)==2)break c;p=c[p+20>>2]|0;if(!p){p=0;break}}while(0);v=p+46|0;q=b[v>>1]|0;if((q&65535)>1){t=c[p+4>>2]|0;s=p+48|0;u=1;o=1;do{m=b[t+(u<<1)>>1]|0;r=o;n=t;while(1){if((r|0)<=0){C=36;break}if((b[n>>1]|0)==m<<16>>16){C=35;break}else{r=r+-1|0;n=n+2|0}}if((C|0)==35){C=0;b[s>>1]=(b[s>>1]|0)+-1<<16>>16}else if((C|0)==36){C=0;b[t+(o<<1)>>1]=m;q=b[v>>1]|0;o=o+1|0}u=u+1|0}while((u|0)<(q&65535|0))}else o=1;u=o&65535;b[v>>1]=u}r=p+51|0;q=a[r>>0]|32;a[r>>0]=q;A=u&65535;if(!(a[K+147>>0]|0)){if(u<<16>>16){q=c[p+4>>2]|0;o=c[N+4>>2]|0;n=0;do{a[o+((b[q+(n<<1)>>1]|0)*24|0)+20>>0]=1;n=n+1|0}while((n|0)<(A|0));q=a[r>>0]|0}a[r>>0]=q|8}c[p+40>>2]=c[N+32>>2];r=c[N+8>>2]|0;if(r){x=u<<16>>16==0;y=p+4|0;z=p+32|0;do{d:do if((a[r+51>>0]&3)!=2){do if(x)q=b[r+46>>1]|0;else{s=c[r+4>>2]|0;q=b[r+46>>1]|0;n=q&65535;m=c[y>>2]|0;w=0;o=0;do{t=b[m+(w<<1)>>1]|0;v=n;u=s;while(1){if((v|0)<=0){u=1;break}if((b[u>>1]|0)==t<<16>>16){u=0;break}else{v=v+-1|0;u=u+2|0}}o=u+o|0;w=w+1|0}while((w|0)<(A|0));n=r+46|0;if(!o)break;if(gs(K,r,(q&65535)+o|0)|0)break b;if(x)break d;t=b[n>>1]|0;w=r+4|0;m=r+32|0;v=t;u=0;t=t&65535;while(1){q=c[w>>2]|0;o=b[(c[y>>2]|0)+(u<<1)>>1]|0;v=v&65535;s=q;while(1){if((v|0)<=0){C=63;break}if((b[s>>1]|0)==o<<16>>16)break;else{v=v+-1|0;s=s+2|0}}if((C|0)==63){C=0;b[q+(t<<1)>>1]=o;c[(c[m>>2]|0)+(t<<2)>>2]=c[(c[z>>2]|0)+(u<<2)>>2];t=t+1|0}u=u+1|0;if((u|0)>=(A|0))break d;v=b[n>>1]|0}}while(0);b[r+48>>1]=q}while(0);r=c[r+20>>2]|0}while((r|0)!=0)}v=N+38|0;q=b[v>>1]|0;o=q<<16>>16;if((A|0)>=(o|0)){b[p+48>>1]=q;break}if((gs(K,p,o)|0)==0?(B=b[v>>1]|0,B<<16>>16>0):0){s=p+4|0;u=p+32|0;q=B;t=0;p=A;do{n=c[s>>2]|0;r=p;o=n;while(1){if((r|0)<=0){C=74;break}if((b[o>>1]|0)==(t|0))break;else{r=r+-1|0;o=o+2|0}}if((C|0)==74){C=0;b[n+(p<<1)>>1]=t;c[(c[u>>2]|0)+(p<<2)>>2]=11152;q=b[v>>1]|0;p=p+1|0}t=t+1|0}while((t|0)<(q<<16>>16|0))}}while(0);C=N+68|0;p=c[C>>2]|0;e:do if(p){o=c[K+20>>2]|0;if((o|0)>0){n=c[K+16>>2]|0;q=0;while(1){m=q+1|0;if((c[n+(q<<4)+12>>2]|0)==(p|0))break e;if((m|0)<(o|0))q=m;else{q=m;break}}}else q=0}else q=-1e6;while(0);n=c[N+24>>2]|0;f:do if(n){c[E+0>>2]=0;c[E+4>>2]=0;c[E+8>>2]=0;c[E+12>>2]=0;c[E+16>>2]=0;c[E+20>>2]=0;c[E+24>>2]=0;c[E+28>>2]=0;p=D+0|0;o=p+80|0;do{c[p>>2]=0;p=p+4|0}while((p|0)<(o|0));c[D>>2]=1;c[D+16>>2]=c[N>>2];c[D+24>>2]=N;c[D+48>>2]=-1;c[E>>2]=f;c[E+4>>2]=D;b[E+28>>1]=4;p=n+4|0;if((c[n>>2]|0)>0){o=0;do{if(hs(E,c[(c[p>>2]|0)+(o*20|0)>>2]|0)|0)break f;o=o+1|0}while((o|0)<(c[n>>2]|0))}}while(0);A=N+38|0;m=b[A>>1]|0;if(m<<16>>16>0){p=m<<16>>16;o=c[N+4>>2]|0;n=0;while(1){n=(d[o+22>>0]|0)+n|0;p=p+-1|0;if((p|0)<=0)break;else o=o+24|0}}else n=0;b[N+42>>1]=bs(((e[N+36>>1]|0)>>>15&65535)+n<<2,0)|0;n=c[N+8>>2]|0;if(n)do{is(n);n=c[n+20>>2]|0}while((n|0)!=0);if(!(a[I>>0]|0)){B=Kq(f)|0;if(!B)break;sh(B,61,0,0,0)|0;y=(c[N+12>>2]|0)==0;o=y?36672:36680;y=y?31232:35480;do if(!l){n=k<<24>>24==0?h:f+504|0;l=c[n>>2]|0;p=c[f+496>>2]|0;m=l-p|0;if((a[l>>0]|0)!=59)m=(c[n+4>>2]|0)+m|0;c[J>>2]=o;c[J+4>>2]=m;c[J+8>>2]=p;p=f+388|0;m=N;o=qh(K,36688,J)|0}else{p=f+388|0;sh(B,55,1,c[p>>2]|0,q)|0;o=c[B+4>>2]|0;if(o)a[o+(((c[B+32>>2]|0)+-1|0)*20|0)+3>>0]=4;c[f+68>>2]=2;a[F>>0]=14;c[F+4>>2]=1;a[F+1>>0]=0;c[F+8>>2]=0;c[F+12>>2]=0;er(f,l,F)|0;sh(B,61,1,0,0)|0;if(!(c[f+64>>2]|0)){m=js(f,l)|0;if(!m)break a;F=m+38|0;b[A>>1]=b[F>>1]|0;l=m+4|0;c[N+4>>2]=c[l>>2];b[F>>1]=0;c[l>>2]=0;gg(K,m)}z=N+4|0;w=b[A>>1]|0;if(w<<16>>16>0){s=w<<16>>16;t=0;o=0;u=c[z>>2]|0;while(1){m=c[u>>2]|0;n=0;while(1){r=a[m>>0]|0;if(!(r<<24>>24))break;else if(r<<24>>24==34)n=n+1|0;m=m+1|0;n=n+1|0}o=o+7+n|0;t=t+1|0;if((t|0)==(s|0))break;else u=u+24|0}r=o+2|0}else r=2;m=c[N>>2]|0;o=0;while(1){n=a[m>>0]|0;if(n<<24>>24==34)o=o+1|0;else if(!(n<<24>>24))break;m=m+1|0;o=o+1|0}u=o+r|0;x=(u|0)<50;r=x?10360:36880;v=x?20240:36888;x=x?33952:36896;u=((w<<16>>16)*6|0)+35+u|0;o=mg(u,((u|0)<0)<<31>>31)|0;if(!o){a[L>>0]=1;m=N;o=0;break}Yc(u,o,36904,J)|0;n=o;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;c[G>>2]=n-o&1073741823;ks(o,G,c[N>>2]|0);m=c[G>>2]|0;s=m+1|0;c[G>>2]=s;a[o+m>>0]=40;m=u-s|0;n=o+s|0;if((b[A>>1]|0)>0){w=0;t=c[z>>2]|0;while(1){Yc(m,n,r,J)|0;n=o+s|0;if(!n)n=0;else{r=n;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;n=r-n&1073741823}c[G>>2]=n+s;ks(o,G,c[t>>2]|0);n=c[36920+((a[t+21>>0]|0)+-65<<2)>>2]|0;r=n;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;s=r-n&1073741823;r=c[G>>2]|0;gw(o+r|0,n|0,s|0)|0;s=r+s|0;c[G>>2]=s;r=w+1|0;m=u-s|0;n=o+s|0;if((r|0)<(b[A>>1]|0)){w=r;t=t+24|0;r=v}else break}}c[J>>2]=x;Yc(m,n,10344,J)|0;m=N}while(0);n=K+16|0;k=c[m>>2]|0;F=c[p>>2]|0;l=c[f+384>>2]|0;c[J>>2]=c[(c[n>>2]|0)+(q<<4)>>2];c[J+4>>2]=(q|0)==1?13184:13208;c[J+8>>2]=y;c[J+12>>2]=k;c[J+16>>2]=k;c[J+20>>2]=F;c[J+24>>2]=o;c[J+28>>2]=l;xr(f,36704,J);ig(K,o);zr(f,q);if((a[N+44>>0]&8)!=0?(H=c[n>>2]|0,(c[(c[H+(q<<4)+12>>2]|0)+72>>2]|0)==0):0){c[J>>2]=c[H+(q<<4)>>2];xr(f,36792,J)}c[J>>2]=c[m>>2];Er(B,q,qh(K,36840,J)|0);if(!(a[I>>0]|0))break}else m=N;if(Ek((c[C>>2]|0)+8|0,c[m>>2]|0,N)|0){a[L>>0]=1;break}c[M>>2]=0;l=K+24|0;c[l>>2]=c[l>>2]|2;if(!(c[N+12>>2]|0)){l=c[f+496>>2]|0;c[N+48>>2]=(Jn(l,(c[((c[g>>2]|0)==0?h:g)>>2]|0)-l|0)|0)+13}}while(0);i=O;return}function Sq(b,d){b=b|0;d=d|0;var e=0,f=0;if(!d)e=0;else{f=c[d>>2]|0;d=c[d+4>>2]|0;if((f|0)!=0?(e=fw(d|0,0,1,0)|0,e=ih(b,e,C)|0,(e|0)!=0):0){gw(e|0,f|0,d|0)|0;a[e+d>>0]=0}else e=0;ho(e)}return e|0}function Tq(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();m=n;a:do if(b){g=a[b>>0]|0;b:do if(!(g<<24>>24)){f=67;g=0}else{k=g;f=67;h=0;g=0;do{h=d[9328+(k&255)>>0]|0|h<<8;b=b+1|0;if((h|0)==1919246700)if(f<<24>>24==67){f=69;h=1919246700;l=5}else l=14;else if((h|0)==1952807028){f=66;l=5}else if((h|0)==1668050786){f=66;l=5}else if((h|0)==1718382433)if(f<<24>>24==67){f=69;h=1718382433;l=5}else l=13;else if((h|0)==1667785074){f=66;h=1667785074;g=b;l=5}else if((h|0)==1651273570)if(f<<24>>24==69|f<<24>>24==67){o=a[b>>0]|0;k=o;f=65;h=1651273570;g=o<<24>>24==40?b:g}else l=14;else if((h|0)==1685026146)if(f<<24>>24==67){f=69;h=1685026146;l=5}else l=13;else if((h&16777215|0)==6909556){f=68;break b}else l=5;if((l|0)==13)l=5;else if((l|0)==14)l=5;if((l|0)==5){l=0;k=a[b>>0]|0}}while(k<<24>>24!=0)}while(0);if((e|0)!=0?(a[e>>0]=1,f<<24>>24<67):0){if(!g){a[e>>0]=5;break}b=a[g>>0]|0;if(b<<24>>24){while(1){if(((b&255)+-48|0)>>>0<10)break;g=g+1|0;b=a[g>>0]|0;if(!(b<<24>>24))break a}c[m>>2]=0;zn(g,m)|0;g=((c[m>>2]|0)/4|0)+1|0;g=(g|0)>255?255:g;c[m>>2]=g;a[e>>0]=g}}}else f=67;while(0);i=n;return f|0}function Uq(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;o=i;i=i+32|0;if((i|0)>=(j|0))ba();m=o;n=c[e>>2]|0;k=c[e+484>>2]|0;do if(k){h=(b[k+38>>1]|0)+-1|0;l=c[k+4>>2]|0;p=c[f>>2]|0;q=(d[n+145>>0]|0)+4|0;c[m+0>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;c[m+20>>2]=0;k=m+20|0;a[k>>0]=q;c[m>>2]=78;c[m+4>>2]=79;c[m+24>>2]=0;ns(m,p)|0;if(!(a[k>>0]|0)){c[m>>2]=c[l+(h*24|0)>>2];ph(e,36480,m);break}k=l+(h*24|0)+4|0;Ck(n,c[k>>2]|0);c[k>>2]=Ir(n,c[f>>2]|0,1,0)|0;l=l+(h*24|0)+8|0;ig(n,c[l>>2]|0);h=c[f+4>>2]|0;k=(c[f+8>>2]|0)-h|0;if((h|0)!=0?(g=fw(k|0,((k|0)<0)<<31>>31|0,1,0)|0,g=ih(n,g,C)|0,(g|0)!=0):0){gw(g|0,h|0,k|0)|0;a[g+k>>0]=0}else g=0;c[l>>2]=g}while(0);Ck(n,c[f>>2]|0);i=o;return}function Vq(a,b,d,e,f){a=a|0;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((b|0)==72&(d|0)!=0&(e|0)!=0?(c[a+64>>2]|0)==0:0)b=os(c[a>>2]|0,d,e)|0;else{b=jr(c[a>>2]|0,b,f,1)|0;ps(c[a>>2]|0,b,d,e)}if((b|0)!=0?(g=c[(c[a>>2]|0)+100>>2]|0,(g|0)<(c[b+24>>2]|0)):0){c[h>>2]=g;ph(a,27152,h)}i=k;return b|0}function Wq(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,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();z=A;x=c[e+484>>2]|0;do if((x|0)!=0?(a[e+451>>0]|0)==0:0){y=x+44|0;m=d[y>>0]|0;if(m&4){c[z>>2]=c[x>>2];ph(e,36376,z);break}v=m|4;a[y>>0]=v;w=(f|0)==0;if(w){m=(b[x+38>>1]|0)+-1|0;t=c[x+4>>2]|0;l=t+(m*24|0)+23|0;a[l>>0]=d[l>>0]|1;l=m;n=1;m=c[t+(m*24|0)+12>>2]|0}else{u=c[f>>2]|0;if((u|0)>0){r=f+4|0;s=x+4|0;q=b[x+38>>1]|0;t=0;m=0;do{a:do if(q<<16>>16>0){o=c[(c[r>>2]|0)+(t*20|0)+4>>2]|0;p=c[s>>2]|0;n=0;while(1){l=n+1|0;if(!($c(o,c[p+(n*24|0)>>2]|0)|0))break;if((l|0)<(q<<16>>16|0))n=l;else break a}l=p+(n*24|0)+23|0;a[l>>0]=d[l>>0]|1;l=n;m=c[p+(n*24|0)+12>>2]|0}else l=0;while(0);t=t+1|0}while((t|0)!=(u|0))}else{l=-1;m=0}n=(u|0)==1}if(n&(m|0)!=0?($c(m,11144)|0|k|0)==0:0){b[x+36>>1]=l;a[x+45>>0]=g;a[y>>0]=v|h<<3;if(w){f=0;break}a[e+448>>0]=a[(c[f+4>>2]|0)+12>>0]|0;break}if(h){ph(e,36424,z);break}m=c[e+8>>2]|0;l=(m|0)!=0;if(l)c[e+420>>2]=sh(m,156,0,0,0)|0;f=Xq(e,0,0,0,f,g,0,0,k,0)|0;if((f|0)!=0?(t=f+51|0,a[t>>0]=a[t>>0]&-4|2,l):0){f=c[e+420>>2]|0;l=c[m+32>>2]|0;if(l>>>0>f>>>0)c[(c[m+4>>2]|0)+(f*20|0)+8>>2]=l;c[(c[m+24>>2]|0)+88>>2]=l+-1;f=0}else f=0}while(0);Jk(c[e>>2]|0,f);i=A;return}function Xq(f,g,h,k,l,m,n,o,p,q){f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;m=m|0;n=n|0;o=o|0;p=p|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,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0;V=i;i=i+144|0;if((i|0)>=(j|0))ba();S=V;B=V+112|0;u=V+88|0;Q=V+84|0;K=V+80|0;U=c[f>>2]|0;c[Q>>2]=0;c[K>>2]=0;P=U+65|0;a:do if(((a[P>>0]|0)==0?(a[f+451>>0]|0)==0:0)?(Cn(f)|0)==0:0){R=(k|0)!=0;b:do if(R){g=ar(f,g,h,Q)|0;if((g|0)<0){r=0;h=0;break a}if((a[U+145>>0]|0)==0?(r=Fr(f,k)|0,(c[h+4>>2]|0)==0&(r|0)!=0):0)g=(c[r+68>>2]|0)==(c[(c[U+16>>2]|0)+28>>2]|0)?1:g;h=c[Q>>2]|0;r=c[f>>2]|0;c[u>>2]=f;r=c[r+16>>2]|0;c[u+12>>2]=c[r+(g<<4)>>2];c[u+4>>2]=c[r+(g<<4)+12>>2];c[u+16>>2]=20632;c[u+20>>2]=h;r=(g|0)==1;c[u+8>>2]=r&1;Gr(u,k)|0;t=Qr(f,0,k+8|0)|0;if(!t){r=0;h=0;break a}if(r?(c[(c[U+16>>2]|0)+28>>2]|0)!=(c[t+68>>2]|0):0){c[S>>2]=c[t>>2];ph(f,35920,S);r=0;h=0;break a}if((a[t+44>>0]&32)!=0?(s=c[t+8>>2]|0,(s|0)!=0):0){r=s;while(1){if((a[r+51>>0]&3)==2){s=g;J=r;u=t;break b}r=c[r+20>>2]|0;if(!r){s=g;J=0;u=t;break}}}else{s=g;J=0;u=t}}else{u=c[f+484>>2]|0;if(!u){r=0;h=0;break a}g=c[u+68>>2]|0;if(g){r=c[U+20>>2]|0;if((r|0)>0){h=c[U+16>>2]|0;t=0;while(1){s=t+1|0;if((c[h+(t<<4)+12>>2]|0)==(g|0)){h=0;s=t;J=0;break b}if((s|0)<(r|0))t=s;else{h=0;J=0;break}}}else{h=0;s=0;J=0}}else{h=0;s=-1e6;J=0}}while(0);O=U+16|0;C=c[O>>2]|0;g=C+(s<<4)|0;x=c[u>>2]|0;if(((Bc(x,25568,7)|0)==0?(a[U+145>>0]|0)==0:0)?(Bc(x+7|0,35976,9)|0)!=0:0){c[S>>2]=x;ph(f,35992,S);r=0;h=0;break}if(c[u+12>>2]|0){ph(f,36024,S);r=0;h=0;break}N=u+44|0;if(a[N>>0]&16){ph(f,36056,S);r=0;h=0;break}D=(h|0)==0;if(!D){h=Sq(U,h)|0;if(!h){r=0;h=0;break}if(Hr(f,h)|0){r=0;break}if((a[U+145>>0]|0)==0?(Wh(U,h,0)|0)!=0:0){c[S>>2]=h;ph(f,36096,S);r=0;break}if(Zp(U,h,c[g>>2]|0)|0)if(!q){c[S>>2]=h;ph(f,36136,S);r=0;break}else{wr(f,s);r=0;break}else t=h}else{r=c[u+8>>2]|0;if(!r)t=1;else{t=1;do{t=t+1|0;r=c[r+20>>2]|0}while((r|0)!=0)}c[S>>2]=x;c[S+4>>2]=t;t=qh(U,36160,S)|0;if(!t){r=0;h=0;break}}g=c[g>>2]|0;r=(s|0)==1;L=r?13184:13208;if((Oq(f,18,L,0,g)|0)==0?(Oq(f,r?3:1,t,c[u>>2]|0,g)|0)==0:0){if(!l){l=hr(f,0,0)|0;if(!l){l=0;r=0;h=t;break}F=gh(c[f>>2]|0,c[(c[u+4>>2]|0)+(((b[u+38>>1]|0)+-1|0)*24|0)>>2]|0)|0;G=c[l+4>>2]|0;c[G+4>>2]=F;a[G+12>>0]=p}A=c[l>>2]|0;if((A|0)>0){x=c[l+4>>2]|0;v=0;g=0;do{r=c[x+(v*20|0)>>2]|0;if(r){h=c[r+8>>2]|0;if(!h)r=1;else{r=h;while(1)if(!(a[r>>0]|0))break;else r=r+1|0;r=(r-h&1073741823)+1|0}g=r+g|0}v=v+1|0}while((v|0)<(A|0));h=g}else h=0;if(!t)r=0;else{g=t;while(1)if(!(a[g>>0]|0))break;else g=g+1|0;r=g-t&1073741823}F=(J|0)!=0;if(F)g=e[J+46>>1]|0;else g=1;M=qs(U,A+g&65535,h+1+r|0,K)|0;c:do if(!(a[P>>0]|0)){E=c[K>>2]|0;c[M>>2]=E;I=r+1|0;z=E+I|0;c[K>>2]=z;gw(E|0,t|0,I|0)|0;c[M+12>>2]=u;I=M+50|0;a[I>>0]=m;E=M+51|0;a[E>>0]=a[E>>0]&-12|((m|0)!=0&1)<<3&255|D&1;H=M+24|0;c[H>>2]=c[(c[O>>2]|0)+(s<<4)+12>>2];g=c[l>>2]|0;G=M+46|0;b[G>>1]=g;if(o){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;c[B+20>>2]=0;c[B+24>>2]=0;c[B+28>>2]=0;x=S+0|0;h=x+80|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(h|0));c[S>>2]=1;c[S+16>>2]=c[u>>2];c[S+24>>2]=u;c[S+48>>2]=-1;c[B>>2]=f;c[B+4>>2]=S;b[B+28>>1]=16;hs(B,o)|0;c[M+36>>2]=o;g=c[l>>2]|0}w=(d[(c[C+(s<<4)+12>>2]|0)+76>>0]|0)>3;d:do if((g|0)>0){D=u+4|0;C=u+38|0;B=M+4|0;o=U+145|0;g=M+32|0;v=M+28|0;h=0;p=c[l+4>>2]|0;while(1){r=c[p+4>>2]|0;x=b[C>>1]|0;e:do if(x<<16>>16>0){A=0;y=c[D>>2]|0;while(1){if(!($c(r,c[y>>2]|0)|0)){q=A;break e}A=A+1|0;if((A|0)<(x<<16>>16|0))y=y+24|0;else{q=A;break}}}else q=0;while(0);if((q|0)>=(x<<16>>16|0))break;b[(c[B>>2]|0)+(h<<1)>>1]=q;A=c[p>>2]|0;if(!A){A=c[(c[D>>2]|0)+(q*24|0)+16>>2]|0;A=(A|0)!=0?A:11152}else{y=c[A+8>>2]|0;if(!y)A=1;else{A=y;while(1)if(!(a[A>>0]|0))break;else A=A+1|0;A=(A-y&1073741823)+1|0}gw(z|0,y|0,A|0)|0;y=c[K>>2]|0;z=y+A|0;c[K>>2]=z;A=y}if((a[o>>0]|0)==0?(_q(f,A)|0)==0:0){h=0;r=0;T=134;break c}c[(c[g>>2]|0)+(h<<2)>>2]=A;a[(c[v>>2]|0)+h>>0]=w?a[p+12>>0]|0:0;if(!(a[(c[D>>2]|0)+(q*24|0)+20>>0]|0))a[E>>0]=a[E>>0]&-9;h=h+1|0;if((h|0)<(c[l>>2]|0))p=p+20|0;else break d}c[S>>2]=c[u>>2];c[S+4>>2]=r;ph(f,36184,S);a[f+17>>0]=1;h=0;r=0;T=134;break c}else h=0;while(0);do if(F){w=J+46|0;x=b[w>>1]|0;if(!(x<<16>>16))break;B=J+4|0;C=M+4|0;D=M+48|0;p=J+32|0;q=M+32|0;g=J+28|0;v=M+28|0;o=0;do{y=b[(c[B>>2]|0)+(o<<1)>>1]|0;r=c[C>>2]|0;A=e[G>>1]|0;z=r;while(1){if((A|0)<=0){T=92;break}if((b[z>>1]|0)==y<<16>>16){T=91;break}else{A=A+-1|0;z=z+2|0}}if((T|0)==91){T=0;b[D>>1]=(b[D>>1]|0)+-1<<16>>16}else if((T|0)==92){T=0;b[r+(h<<1)>>1]=y;c[(c[q>>2]|0)+(h<<2)>>2]=c[(c[p>>2]|0)+(o<<2)>>2];a[(c[v>>2]|0)+h>>0]=a[(c[g>>2]|0)+o>>0]|0;x=b[w>>1]|0;h=h+1|0}o=o+1|0}while((o|0)<(x&65535|0))}else{b[(c[M+4>>2]|0)+(h<<1)>>1]=-1;c[(c[M+32>>2]|0)+(h<<2)>>2]=11152}while(0);_p(M);o=f+484|0;g=c[o>>2]|0;if(!g){is(M);g=c[o>>2]|0}f:do if((u|0)==(g|0)){r=c[u+8>>2]|0;if(!r)break;y=b[G>>1]|0;z=M+4|0;A=M+32|0;while(1){if((b[r+46>>1]|0)==y<<16>>16){g:do if(!(y<<16>>16)){o=0;g=0}else{v=c[r+4>>2]|0;w=c[z>>2]|0;x=r+32|0;g=0;while(1){if((b[v+(g<<1)>>1]|0)!=(b[w+(g<<1)>>1]|0)){o=y;break g}o=c[(c[x>>2]|0)+(g<<2)>>2]|0;h=c[(c[A>>2]|0)+(g<<2)>>2]|0;if((o|0)!=(h|0)?($c(o,h)|0)!=0:0){o=y;break g}g=g+1|0;if((g|0)>=(y&65535|0)){o=y;break}}}while(0);if((g|0)==(o&65535|0))break}r=c[r+20>>2]|0;if(!r)break f}g=r+50|0;h=a[g>>0]|0;o=a[I>>0]|0;if(h<<24>>24==o<<24>>24){h=0;break c}if(!(h<<24>>24==10|o<<24>>24==10)){c[S>>2]=0;ph(f,36216,S);h=a[g>>0]|0}if(h<<24>>24!=10){h=0;T=134;break c}a[g>>0]=a[I>>0]|0;h=0;break c}while(0);h=U+145|0;do if(!(a[h>>0]|0)){if(c[f+64>>2]|0){T=126;break}if(!((a[N>>0]&32)==0|R)){T=126;break}r=f+72|0;o=(c[r>>2]|0)+1|0;c[r>>2]=o;r=Kq(f)|0;if(!r){h=0;r=0;T=134;break c}G=c[f+408>>2]|0;G=(G|0)==0?f:G;wr(f,s);F=G+328|0;c[F>>2]=c[F>>2]|1<<s;G=G+20|0;a[G>>0]=d[G>>0]|1;sh(r,120,s,o,0)|0;if(!n)g=0;else{g=c[c[Q>>2]>>2]|0;G=(c[f+504>>2]|0)-g+(c[f+508>>2]|0)|0;F=G+-1|0;G=(a[g+F>>0]|0)==59?F:G;c[S>>2]=(m|0)==0?10360:36288;c[S+4>>2]=G;c[S+8>>2]=g;g=qh(U,36264,S)|0}F=c[M>>2]|0;G=c[u>>2]|0;c[S>>2]=c[(c[O>>2]|0)+(s<<4)>>2];c[S+4>>2]=L;c[S+8>>2]=F;c[S+12>>2]=G;c[S+16>>2]=o;c[S+20>>2]=g;xr(f,36296,S);ig(U,g);if(!R)break;rs(f,M,o);zr(f,s);c[S>>2]=c[M>>2];Er(r,s,qh(U,36344,S)|0);sh(r,144,0,0,0)|0;T=126}else{if(Ek((c[H>>2]|0)+24|0,c[M>>2]|0,M)|0){a[P>>0]=1;h=0;r=0;T=134;break c}G=U+24|0;c[G>>2]=c[G>>2]|2;if(!R)break;c[M+40>>2]=c[U+140>>2];T=126}while(0);if((T|0)==126?!((a[h>>0]|0)!=0|(k|0)==0):0){h=0;r=0;T=134;break}h=c[u+8>>2]|0;do if((m|0)==5){if(!h){h=0;break}if((a[h+50>>0]|0)==5)break;do{r=h+20|0;h=c[r>>2]|0;if(!h){h=0;break}}while((a[h+50>>0]|0)!=5);c[M+20>>2]=h;c[r>>2]=M;o=0;r=M;h=t;break a}while(0);c[M+20>>2]=h;c[u+8>>2]=M;o=0;r=M;h=t;break a}else{h=o;r=0;T=134}while(0);if((T|0)==134)if(!M){o=h;h=t;break}Fk(U,M);o=h;h=t}else{r=0;h=t}}else{r=0;h=0}while(0);Ck(U,o);Jk(U,l);zo(U,k);ig(U,h);i=V;return r|0}function Yq(e,f){e=e|0;f=f|0;var g=0,h=0;g=c[e+484>>2]|0;h=c[e>>2]|0;if(((g|0)!=0?(a[e+451>>0]|0)==0:0)?(b[(c[(c[(c[h+16>>2]|0)+(d[h+144>>0]<<4)+4>>2]|0)+4>>2]|0)+22>>1]&1)==0:0){h=g+24|0;g=hr(e,c[h>>2]|0,f)|0;c[h>>2]=g;if(c[e+324>>2]|0)ir(e,g,e+320|0,1)}else Ck(h,f);return}function Zq(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,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;C=i;i=i+16|0;if((i|0)>=(j|0))ba();z=C;B=c[d>>2]|0;A=c[d+484>>2]|0;a:do if((A|0)!=0?(a[d+451>>0]|0)==0:0){w=(e|0)==0;do if(w){y=b[A+38>>1]|0;l=(y<<16>>16)+-1|0;if(y<<16>>16<1){k=0;break a}if(g)if((c[g>>2]|0)==1){l=1;k=13}else{c[z>>2]=c[(c[A+4>>2]|0)+(l*24|0)>>2];c[z+4>>2]=f;ph(d,35712,z);k=0;break a}else{l=1;k=12}}else{if(!g){l=c[e>>2]|0;k=12;break}l=c[g>>2]|0;if((l|0)==(c[e>>2]|0))k=13;else{ph(d,35776,z);k=0;break a}}while(0);if((k|0)==12){m=f+4|0;p=m;t=0;m=(l<<3)+37+(c[m>>2]|0)|0;y=l}else if((k|0)==13){p=f+4|0;m=(l<<3)+37+(c[p>>2]|0)|0;q=c[g>>2]|0;if((q|0)>0){r=c[g+4>>2]|0;s=0;do{o=c[r+(s*20|0)+4>>2]|0;if(!o)k=1;else{n=o;while(1)if(!(a[n>>0]|0))break;else n=n+1|0;k=(n-o&1073741823)+1|0}m=k+m|0;s=s+1|0}while((s|0)<(q|0));t=1;y=l}else{t=1;y=l}}k=ih(B,m,((m|0)<0)<<31>>31)|0;if(k){bw(k|0,0,m|0)|0;c[k>>2]=A;x=A+16|0;c[k+4>>2]=c[x>>2];u=k+36|0;n=u+(y<<3)|0;v=k+8|0;c[v>>2]=n;gw(n|0,c[f>>2]|0,c[p>>2]|0)|0;a[n+(c[p>>2]|0)>>0]=0;ho(n);n=n+((c[p>>2]|0)+1)|0;c[k+20>>2]=y;b:do if(!w){if((y|0)>0){m=A+4|0;f=e+4|0;o=b[A+38>>1]|0;l=0;while(1){c:do if(o<<16>>16>0){s=c[m>>2]|0;r=c[(c[f>>2]|0)+(l*20|0)+4>>2]|0;q=0;while(1){p=q+1|0;if(!($c(c[s+(q*24|0)>>2]|0,r)|0)){p=q;break}if((p|0)<(o<<16>>16|0))q=p;else break c}c[u+(l<<3)>>2]=p}else p=0;while(0);if((p|0)>=(o<<16>>16|0))break;l=l+1|0;if((l|0)>=(y|0))break b}c[z>>2]=c[(c[f>>2]|0)+(l*20|0)+4>>2];ph(d,35872,z);break a}}else c[u>>2]=(b[A+38>>1]|0)+-1;while(0);if(t&(y|0)>0){o=g+4|0;p=0;while(1){m=c[(c[o>>2]|0)+(p*20|0)+4>>2]|0;if(!m)l=0;else{l=m;while(1)if(!(a[l>>0]|0))break;else l=l+1|0;l=l-m&1073741823}c[u+(p<<3)+4>>2]=n;gw(n|0,m|0,l|0)|0;a[n+l>>0]=0;p=p+1|0;if((p|0)==(y|0))break;else n=n+(l+1)|0}}a[k+24>>0]=0;a[k+25>>0]=h;a[k+26>>0]=h>>>8;l=Ek((c[A+68>>2]|0)+56|0,c[v>>2]|0,k)|0;if((l|0)==(k|0)){a[B+65>>0]=1;break}if(l){c[k+12>>2]=l;c[l+16>>2]=k}c[x>>2]=k;k=0}else k=0}else k=0;while(0);ig(B,k);Jk(B,e);Jk(B,g);i=C;return}function _q(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=c[b>>2]|0;f=a[e+62>>0]|0;g=a[e+145>>0]|0;e=Un(e,f,d,g&255)|0;do if(!(g<<24>>24)){if((e|0)!=0?(c[e+12>>2]|0)!=0:0)break;e=ss(b,f,e,d)|0}while(0);return e|0}function $q(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,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;s=y+12|0;x=c[e>>2]|0;do if(!(a[x+65>>0]|0)){h=(h|0)!=0;if(h){r=x+68|0;a[r>>0]=(a[r>>0]|0)+1<<24>>24;v=Qr(e,g,f+8|0)|0;a[r>>0]=(a[r>>0]|0)+-1<<24>>24}else v=Qr(e,g,f+8|0)|0;if(!v){if(!h)break;vr(e,c[f+12>>2]|0);break}p=v+68|0;l=c[p>>2]|0;a:do if(l){h=c[x+20>>2]|0;if((h|0)>0){k=c[x+16>>2]|0;n=0;while(1){m=n+1|0;if((c[k+(n<<4)+12>>2]|0)==(l|0)){m=n;break a}if((m|0)<(h|0))n=m;else break}}else m=0}else m=-1e6;while(0);t=v+44|0;if((a[t>>0]&16)!=0?(dr(e,v)|0)!=0:0)break;n=(m|0)==1;u=n?13184:13208;h=c[(c[x+16>>2]|0)+(m<<4)>>2]|0;if(!(Oq(e,9,u,0,h)|0)){k=(g|0)!=0;do if(k){l=n?15:17;n=0}else{if(!(a[t>>0]&16)){l=n?13:11;n=0;break}n=v+60|0;while(1){n=c[n>>2]|0;if((c[n>>2]|0)==(x|0))break;else n=n+24|0}l=30;n=c[(c[n+4>>2]|0)+4>>2]|0}while(0);if((Oq(e,l,c[v>>2]|0,n,h)|0)==0?(Oq(e,9,c[v>>2]|0,0,h)|0)==0:0){n=c[v>>2]|0;if((Bc(n,25568,7)|0)==0?(Bc(n,35488,11)|0)!=0:0){c[w>>2]=n;ph(e,35504,w);break}h=v+12|0;l=(c[h>>2]|0)==0;if(k){if(l){c[w>>2]=n;ph(e,35536,w);break}}else if(!l){c[w>>2]=n;ph(e,35576,w);break}if(Kq(e)|0){q=e+408|0;l=c[q>>2]|0;l=(l|0)==0?e:l;wr(e,m);r=1<<m;k=l+328|0;c[k>>2]=c[k>>2]|r;l=l+20|0;a[l>>0]=d[l>>0]|1;yr(e,m,28544,c[v>>2]|0);l=c[e>>2]|0;k=l+24|0;b:do if(((c[k>>2]&524288|0)!=0?(a[t>>0]&16)==0:0)?(c[h>>2]|0)==0:0){o=Kq(e)|0;s=Zm((c[p>>2]|0)+56|0,c[v>>2]|0,s)|0;if((s|0)!=0?(c[s+8>>2]|0)!=0:0)n=0;else{n=c[v+16>>2]|0;if(!n)break;while(1){if(a[n+24>>0]|0)break;if(c[k>>2]&16777216)break;n=c[n+4>>2]|0;if(!n)break b}n=ts(o)|0;sh(o,135,1,n,0)|0}s=e+438|0;a[s>>0]=1;nr(e,us(l,f,0)|0,0);a[s>>0]=0;if(!(c[k>>2]&16777216)){sh(o,135,0,(c[o+32>>2]|0)+2|0,0)|0;vs(e,787,2,0,-2,4)}if(n){l=c[o+24>>2]|0;h=~n;do if((n|0)<0){n=c[l+112>>2]|0;if(!n)break;c[n+(h<<2)>>2]=c[o+32>>2]}while(0);c[l+88>>2]=(c[o+32>>2]|0)+-1}}while(0);o=c[e>>2]|0;p=o+16|0;l=c[p>>2]|0;h=Kq(e)|0;s=c[q>>2]|0;s=(s|0)==0?e:s;wr(e,m);q=s+328|0;c[q>>2]=c[q>>2]|r;s=s+20|0;a[s>>0]=d[s>>0]|1;if(a[t>>0]&16)sh(h,146,0,0,0)|0;n=ws(e,v)|0;if(n)do{Mr(e,n);n=c[n+32>>2]|0}while((n|0)!=0);l=l+(m<<4)|0;if(a[t>>0]&8){s=c[v>>2]|0;c[w>>2]=c[l>>2];c[w+4>>2]=s;xr(e,35608,w)}s=c[v>>2]|0;c[w>>2]=c[l>>2];c[w+4>>2]=u;c[w+8>>2]=s;xr(e,35656,w);if((g|0)==0?(a[t>>0]&16)==0:0)xs(e,v);if(a[t>>0]&16){s=c[v>>2]|0;th(h,sh(h,148,m,0,0)|0,s,0)}k=c[v>>2]|0;th(h,sh(h,124,m,0,0)|0,k,0);zr(e,m);h=c[(c[p>>2]|0)+(m<<4)+12>>2]|0;k=b[h+78>>1]|0;if(k&2){l=c[h+16>>2]|0;if(l){k=l;do{h=c[k+8>>2]|0;if(c[h+12>>2]|0){Hk(o,h);c[h+4>>2]=0;b[h+38>>1]=0}k=c[k>>2]|0}while((k|0)!=0);k=c[(c[p>>2]|0)+(m<<4)+12>>2]|0;h=k;k=b[k+78>>1]|0}b[h+78>>1]=k&65533}}}}}while(0);zo(x,f);i=y;return}function ar(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;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m;h=c[b>>2]|0;do if((f|0)!=0?(c[f+4>>2]|0)!=0:0){if(a[h+145>>0]|0){ph(b,28488,k);f=b+64|0;c[f>>2]=(c[f>>2]|0)+1;f=-1;break}c[g>>2]=f;g=Sq(h,e)|0;f=Rh(h,g)|0;ig(h,g);if((f|0)<0){c[k>>2]=e;ph(b,28512,k);f=b+64|0;c[f>>2]=(c[f>>2]|0)+1;f=-1}}else l=7;while(0);if((l|0)==7){f=d[h+144>>0]|0;c[g>>2]=e}i=m;return f|0}function br(a,b){a=a|0;b=b|0;a:do if(!b)b=0;else while(1){if(Dr(a,c[b>>2]|0)|0){b=1;break a}if(Gr(a,c[b+32>>2]|0)|0){b=1;break a}if(Cr(a,c[b+36>>2]|0)|0){b=1;break a}if(Dr(a,c[b+40>>2]|0)|0){b=1;break a}if(Cr(a,c[b+44>>2]|0)|0){b=1;break a}if(Dr(a,c[b+48>>2]|0)|0){b=1;break a}if(Cr(a,c[b+60>>2]|0)|0){b=1;break a}if(Cr(a,c[b+64>>2]|0)|0){b=1;break a}b=c[b+52>>2]|0;if(!b){b=0;break}}while(0);return b|0}function cr(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;if((f|0)!=0?(h=ih(d,72,0)|0,(h|0)!=0):0){c[h>>2]=Lr(d,c[f>>2]|0,g)|0;c[h+32>>2]=us(d,c[f+32>>2]|0,g)|0;c[h+36>>2]=Ir(d,c[f+36>>2]|0,g,0)|0;c[h+40>>2]=Lr(d,c[f+40>>2]|0,g)|0;c[h+44>>2]=Ir(d,c[f+44>>2]|0,g,0)|0;c[h+48>>2]=Lr(d,c[f+48>>2]|0,g)|0;a[h+4>>0]=a[f+4>>0]|0;j=cr(d,c[f+52>>2]|0,g)|0;c[h+52>>2]=j;if(j)c[j+56>>2]=h;c[h+56>>2]=0;c[h+60>>2]=Ir(d,c[f+60>>2]|0,g,0)|0;c[h+64>>2]=Ir(d,c[f+64>>2]|0,g,0)|0;c[h+8>>2]=0;c[h+12>>2]=0;b[h+6>>1]=(e[f+6>>1]|0)&65527;c[h+16>>2]=-1;c[h+20>>2]=-1;l=f+24|0;j=c[l+4>>2]|0;g=h+24|0;c[g>>2]=c[l>>2];c[g+4>>2]=j;g=c[f+68>>2]|0;if((g|0)!=0?(k=c[g>>2]<<4|8,i=ih(d,k,((k|0)<0)<<31>>31)|0,(i|0)!=0):0){bw(i|0,0,k|0)|0;c[i>>2]=c[g>>2];if((c[g>>2]|0)>0){f=i+8|0;j=0;do{c[f+(j<<4)+8>>2]=cr(d,c[g+(j<<4)+16>>2]|0,0)|0;c[f+(j<<4)+4>>2]=Lr(d,c[g+(j<<4)+12>>2]|0,0)|0;c[f+(j<<4)>>2]=gh(d,c[g+(j<<4)+8>>2]|0)|0;j=j+1|0}while((j|0)<(c[g>>2]|0))}}else i=0;c[h+68>>2]=i}else h=0;return h|0}function dr(d,f){d=d|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;t=i;i=i+16|0;if((i|0)>=(j|0))ba();p=t;k=t+8|0;m=t+4|0;s=c[d>>2]|0;n=f+44|0;h=a[n>>0]|0;a:do if(!(h&16))q=11;else{g=c[f+60>>2]|0;if(g)do{if((c[g>>2]|0)==(s|0)){q=11;break a}g=c[g+24>>2]|0}while((g|0)!=0);g=f+56|0;h=Zm(s+308|0,c[c[g>>2]>>2]|0,k)|0;if((h|0)!=0?(l=c[h+8>>2]|0,(l|0)!=0):0){c[m>>2]=0;l=(vn(s,f,l,c[(c[l>>2]|0)+8>>2]|0,m)|0)==0;h=c[m>>2]|0;if(l){ig(s,h);h=a[n>>0]|0;q=11;break}else{c[p>>2]=h;ph(d,10344,p);ig(s,h);g=1;break}}c[p>>2]=c[c[g>>2]>>2];ph(d,28320,p);g=1}while(0);do if((q|0)==11)if((h&16)==0?(r=f+38|0,o=b[r>>1]|0,o<<16>>16<=0):0){if(o<<16>>16<0){c[p>>2]=c[f>>2];ph(d,26752,p);g=1;break}h=cr(s,c[f+12>>2]|0,0)|0;if(!h)g=1;else{o=s+250|0;n=a[o>>0]|0;q=d+68|0;p=c[q>>2]|0;ys(d,c[h+32>>2]|0);b[r>>1]=-1;a[o>>0]=0;m=s+284|0;l=c[m>>2]|0;c[m>>2]=0;g=js(d,h)|0;c[m>>2]=l;a[o>>0]=n;c[q>>2]=p;if(!g){b[r>>1]=0;g=1}else{d=g+38|0;b[r>>1]=b[d>>1]|0;q=g+4|0;c[f+4>>2]=c[q>>2];b[d>>1]=0;c[q>>2]=0;gg(s,g);g=(c[f+68>>2]|0)+78|0;b[g>>1]=e[g>>1]|0|2;g=0}Ik(s,h,1)}}else g=0;while(0);i=t;return g|0}
[all...]
/external/v8/test/mjsunit/asm/poppler/
H A Dpoppler.js[all...]

Completed in 3080 milliseconds