Searched refs:Pb (Results 1 - 14 of 14) sorted by relevance

/external/lzma/Java/SevenZip/
H A DLzmaAlone.java19 public int Pb = 2; field in class:LzmaAlone.CommandLine
51 Pb = Integer.parseInt(s.substring(2));
212 if (!encoder.SetLcLpPb(params.Lc, params.Lp, params.Pb))
/external/doclava/res/assets/templates/assets/
H A Dprettify.js4 mb="(?:^^|[+-]",nb="\\$1",ob=")\\s*",pb="&amp;",qb="&lt;",rb="&gt;",sb="&quot;",tb="&#",ub="x",vb="'",wb='"',xb=" ",yb="XMP",zb="</",Ab='="',P="",Q="\\",Bb="b",Cb="t",Db="n",Eb="v",Fb="f",Gb="r",Hb="u",Ib="0",Jb="1",Kb="2",Lb="3",Mb="4",Nb="5",Ob="6",Pb="7",Qb="\\x0",Rb="\\x",Sb="-",Tb="]",Ub="\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]",R="g",Vb="\\B",Wb="\\b",Xb="\\D",Yb="\\d",Zb="\\S",$b="\\s",ac="\\W",bc="\\w",cc="(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)",
14 P))){c=o;d=z;break}}function l(j){if(j.charAt(0)!==Q)return j.charCodeAt(0);switch(j.charAt(1)){case Bb:return 8;case Cb:return 9;case Db:return 10;case Eb:return 11;case Fb:return 12;case Gb:return 13;case Hb:case ub:return parseInt(j.substring(2),16)||j.charCodeAt(1);case Ib:case Jb:case Kb:case Lb:case Mb:case Nb:case Ob:case Pb:return parseInt(j.substring(1),8);default:return j.charCodeAt(1)}}function n(j){if(j<32)return(j<16?Qb:Rb)+j.toString(16);var f=String.fromCharCode(j);if(f===Q||f===Sb||
/external/opencv/cvaux/src/
H A Dcvbgfg_acmmm2003.cpp360 float Pb = 0; local
397 Pb = stat->Pbcc;
398 if( 2 * Pvb * Pb <= Pv ) val = 1;
414 Pb = stat->Pbc;
415 if( 2 * Pvb * Pb <= Pv ) val = 1;
503 //update Pb
611 //update Pb
/external/ImageMagick/tests/
H A Dvalidate.c336 const double blue,double *Y,double *Pb,double *Pr)
339 *Pb=QuantumScale*((-0.1687367)*red-0.331264*green+0.5*blue)+0.5;
349 static void ConvertYPbPrToRGB(const double Y,const double Pb,const double Pr,
352 *red=QuantumRange*(0.99999999999914679361*Y-1.2188941887145875e-06*(Pb-0.5)+
354 *green=QuantumRange*(0.99999975910502514331*Y-0.34413567816504303521*(Pb-0.5)-
356 *blue=QuantumRange*(1.00000124040004623180*Y+1.77200006607230409200*(Pb-0.5)+
968 Pb,
974 0.463759*QuantumRange,&y,&Pb,&Pr);
976 (fabs(Pb-(-0.180419)) >= ReferenceEpsilon) ||
332 ConvertRGBToYPbPr(const double red,const double green, const double blue,double *Y,double *Pb,double *Pr) argument
346 ConvertYPbPrToRGB(const double Y,const double Pb,const double Pr, double *red,double *green,double *blue) argument
965 Pb, local
/external/ImageMagick/MagickCore/
H A Dcolorspace.c206 const double blue,double *Y,double *Pb,double *Pr)
209 *Pb=QuantumScale*((-0.1687367)*red-0.331264*green+0.5*blue)+0.5;
1408 static void ConvertYPbPrToRGB(const double Y,const double Pb,const double Pr,
1411 *red=QuantumRange*(0.99999999999914679361*Y-1.2188941887145875e-06*(Pb-0.5)+
1413 *green=QuantumRange*(0.99999975910502514331*Y-0.34413567816504303521*(Pb-0.5)-
1415 *blue=QuantumRange*(1.00000124040004623180*Y+1.77200006607230409200*(Pb-0.5)+
201 ConvertRGBToYPbPr(const double red,const double green, const double blue,double *Y,double *Pb,double *Pr) argument
1402 ConvertYPbPrToRGB(const double Y,const double Pb,const double Pr, double *red,double *green,double *blue) argument
/external/v8/test/mjsunit/asm/poppler/
H A Dpoppler.js[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cacerts/
H A Dcacerts.txt888 Pb+iSwwQHYaZTKrzchGT5Or2m9qoXadNt54CrnMAyNojA+j56hl0YgCUyyIgvpSnWbWCar6ZeXqp
/external/webrtc/talk/media/testdata/
H A Dh264-svc-99-640x360.rtpdump153 ��ƥ(h�9�("8rb^ x �A��>Pb��@�C�������/� @�A�@a*�>( 8B��A� �����Ä*�  �( 8B���.�� �%�v����%���l���� 6F,�8�NG��0��y* �h��9�~����km���X�1$$���u��#y�@'�B�M��w�b�HT�.cZ߷� |ew־��q����A {>�� ��� d_U���?�K�WU���?�������R��E�����^��jŏ�ſp�4���W��v�Εy�o�ư��c��oa�Γ���v�|G�yi�
938 ���gD��9�3 �)�~�kg�;]�ѣ� ߡ}���Y}�z���W�9�\SM�P@k�;2��3 (�~DQcG@�b`@;C��ߐ:��l����<�*��p$*8Pjł�.0F��}����(?9r�z}�2��� )P(�-8� c�<6�f���� ^y� �� ���x� .v���Q Ռ�<�/g��2]�s��֗o�[��`���6 �{�Hl��9��\:�f�� �#M=��)�}��a����]�T�<�P$��ƚ�9ϰ��)��Y���,߿�:-?!�Z��t�.�oC���O"����u@8~�����<��H�ȳ �e �_�+��D+���:�� P?�8�?e�@Ep��5��鷆�2 � ��� �l�F�.����|�~�A��w�F�׆�9,�g�-��v�E��\�c��<�4g*^<.���Pb�t}Q��v��K���X%c�=UrB�e��:�����c��@mxGAh#�
2979 �^U�>��w=> ��*��޲���H;�s��� h�c&d�e���f��f���'�r�g����g�U�q/,<h���?�a�ĭ�؟���=U�7q�� ��@'���Pb�V(�bx��0>V5�ǿ��[�|�+b��f���b��u�ؼ�<c��|�9�NQ�i6F{�ds��kാG�Tb�nX�EF�B5%W�f�*�YU�3���m���i���_-b�Pe�O�z������O���+?�UV�?�j> �*��8)3��t#^j���9�3�O]OmA�am����p��r�q��L�ڷ�e�T�@G�*|�aUOr��U��{Jp}��� |V�����n�����ϻ��X��d
5449 ��Y���L��?��K�Pb����?�c�F�s��4�hV�ܒ���2���ة��4[P��QS1ђ2K�pv��}�[}k�3P�:�=%���#!�2m!�&f��y���Lך�Z֥�~߆�X3�hf�U�]���~i���%N�ll�ivZK��������^� �Q�G��_����~�kN�|2�q2[X��P- ������=��vL­k.R��p�H=>��ي�mO�kkg,`��9"|�M��v{xߕ��a�c���*�)�3�9��(꘻Y����^e7�p#����S��<xG�ѣ��?g�'�H q�`���I�|w�|���x��� ��^�Q�'h�ď������т��O��� G{�<~3�1[UU]��7����| 0͑?�f'�Y���"�*�dVJ'�� 3��[��
9443 th�?��%M�o���$��}68)��`�k�����c�X��=��[��u4qdļ/&d�fX�����ڄ�d��i����Y����d'S� y7r��[�n���a�Q�צ_��8A燤���x08�~5����)�G������xy���=�������;?(D�㠇��"�O��?���,5Lpp�0��I@��?�h����z����V�l����~���? F&���wB��s�q��fH��w��:Y���~�D>���|��5��+b�TJB���b+r� H@]D�)�`ft��Ry�+Mwu��I(���(���A��f��f��fhvrA8>�G�?��4�G��� �ya�(�M���d�~ ��� ��\�9��^�D��z%��O��N���21%���� 5��>��j��O�ͮV�i�w8���]���obxC�Pb`O.�P�b�@��-unH�~8��J���<g�O���؟���V�������� � ���>,���W��-���Ǐ��"�w�O���4��O�����~����:8`�����_r�r��>�+���|�=@G'!�{n�_w�o5���a��NΒ74[����$*����
10921 �� J��@t��.o�٪Ɵ�f=�5&����A��3%1���u�`�O�a�[��hEm�cw�����zOu8���� �1�D�Y����j�6'���T�O��:'�q����Q;�} k�G+�q?�~@��x�a�_��Pb�6�ߜ4�M>� �:���{�|7�s\a<.<����!d�_{��UD�g�a�4���H�W�a�׍��(ß-�η��WpE��� ��q��/����C&��EB�h�g��������!#��rK�>����&t�������!SKk���Lk�/��l�%D�
11830 ˉ3����Z���\���7Zg�X_�fa����I����P�7�"�g���m.�����k�cN�+�+8tr�D�}�G�V�!��/J�������_�m{���Xs���>�g����W��T�EH������;� �-�L�1�]K_����o��'8 7�����1�c)��B���f��fH����r8>��O��4����rJΠ����r�$��Oᵡ�'e�e(x��x!��{��f��|*�����I�m�r���V��� ƆPb�*���:�C�����;��� �i��⽁X ���il6 _c��*.
/external/webrtc/data/voice_engine/stereo_rtp_files/
H A Dhrtf_g722_1C_48.rtp254 I`?%�e��+wFO��VD� Ҋ�j�6��0P��/�@pc�`�+0c,{��QL�g<�̲(Y@�X��T�Y.�*�9!C*0gIU|D#"���%�x:�rb—��*������Ő��A�s �'sH#@b����<�篟������},���I��X�-Pb'aj��ln�r�HԐ^Z|�**��l]%�H`�C��Δ�)0Tl��N��@K̘��u������c�ŝp1C}8��-�Jj�e ըe��,��Z���+mZ7��+��"���� &�E@���8�)S֑D"��i*~bA�)�<� �b�+˩�Y��H�p�*%)Hr �t�*B���L�"~]"me��>`aD�*(�Wj�UT�����,5LL@� �<������}-��EI��X��2��M@�<�� ʃ�KV% ƮCK~ @$�o�C�m �`&��E�(�rWՈ(�2l�n�������Zt��Z�X����f&� ��)�*癃0��ɯ�����Z�P!���� 2��r��r�pjVYGߋ�� ��$�X���P[@� ���P�W��:t�PZ몌�I�O�,�Ͷ#�k^�1FaMA�-�&�Y� �bG��
1553 �J�v!�m�S�Pb�� ����(��A� �8�� 7 :� �B�܋5eۏy0����J�ߤ~O��0� *��Q$1h��&����PU�H�i�eJ5��–P�I� �P�ffV���R��P�1��kN�Q�Ӏg��gTg�=��,�1�QP��*Q�ĩ���+0�z���}��EI��X�=BA �4*$hq����0�v�|n(x�M1�C�Z�'F�D�aY�jH��D.��")пr؅�P@8��b�� 2i����Bկ pB�P�pҢK�� 1��PX/��S���������!��1�N�3�'k��$���#`�x�T�X��*n�`��B�3�(R�%�k[&��CB7!�!~Lk֎ F� ���@l�p�)P E�_���!G�E��<c�7��̀}���I��X��HH �p�F�Vg(��A���� �1�РI ��_d����Τ�-��%l&���N# ›���H�����
1914 3Pb�����.�e^�l_��9T)�N���Pf���%�A8�W�Դ��#8�!\�hh:�]D/4n���<Qp��L��2Ug�����+ԉw`�F����_1?������J���0������(U�(�3Zr�K�:�
3323 �5A ���Ф�"�T�d�$�<�� ����� �xP���Ͱ��K���PY�`ԧ�\���|����)�� V�Pb�% ���~ B´��ˑ|Z��M��T δyB�T�ڴ��-f)T�#�%���|��l�Y2��@��˒V�@������.̀}V���I��X��Ӂ���P�r5bB9O��=m��HV/� �k��d�1��#Ff,��]4
3682 ��n�Ӌ�V� ]b��5���bi�c��4�}����I��X ���ȅU@�xS����C�9L�r-A`��S_2W\nFei�Md/^�)�<�T�r�#i,��>�֠,l�4�.:�`���T �B����Rl�Չ3R���ΨCg8t�� ��V&� ��/B�5cT�����NurN�, ���H�1sP�5!�;j�ُ���`�/Z��KTV����H���P�!V�M����x�Q���3��t�pK�˂,��6ZBVhU��% �k�W��40�}���EI��X �2�\tDtA ��c^���2d� O�Pb�p�e����OOƹ10�8ZG��F����agY�Yi.Y�KXڸh��>]�g���ˎN$�i�=�s.C�HC��7UQ�lŒ���!��2Z�0��U�EU�`�f�NV%z�"A�*(8�؂ޒ'0 �Pqj>�έc��8d�P�E{�~\�JD�R�kQK4�j-~��W��j#����ʵAO9t��K.`�C�,�j�^j6ݒ+�4D�}����I��X b/:����[�0kAJ[ g{T�yk��
3848 *(VeTg]'\��R�=� ��-�����6��}���EI��X�e���^aT)�1��5`j>���D��{�KB��r$1�XT��C�j�,��7� ��H�� .��Pb�p@b�� �Z +�$�Y 2R&�t�Q�˕��W���J�<��E��d<D(D?�F��4�V�{,ZI2� ~S�,�0�H2��Bl����V d�0� ��X�]�
4377 >YD���i �%1��g�|�t�5F�P���Bq�Ad9�%�?������N��g4U��xP �E�.�=Qi ���;0G?�A!U*Kߞ#�����I9 D� �%VQ �dX����� dHcԀ�:sD.:qRaw`���\�8qRB�.�;��HV�����C���>�}��EI��X��%�Q�A� eB�����%&����کn#~>ԝH7��% �"��+�!�� �3�[9ΥX���n�Z�j��dbL���b�`<�4�!!*b,�� ���n�@x/�2 �p����T�=r:� ��*u��T1Cd�$?GJ���:��␨~*u�D"�n"^���Pb)i�ֈ-va���!t�Fp�iDz�r�%r(���)�Lhmp���+x�2Q�����>�}���I��X��!�Qִh]
H A Dhrtf_g722_1C_48_jitterT2.rtp254 I`?%�e��+wFO��VD� Ҋ�j�6��0P��/�@pc�`�+0c,{��QL�g<�̲(Y@�X��T�Y.�*�9!C*0gIU|D#"���%�x:�rb—��*������Ő��A�s �'sH#@b����<�篟����?�},���I��X�-Pb'aj��ln�r�HԐ^Z|�**��l]%�H`�C��Δ�)0Tl��N��@K̘��u������c�ŝp1C}8��-�Jj�e ըe��,��Z���+mZ7��+��"���� &�E@���8�)S֑D"��i*~bA�)�<� �b�+˩�Y��H�p�*%)Hr �t�*B���L�"~]"me��>`aD�*(�Wj�UT�����,5LL@� �<������}-��EI��X��2��M@�<�� ʃ�KV% ƮCK~ @$�o�C�m �`&��E�(�rWՈ(�2l�n�������Zt��Z�X����f&� ��)�*癃0��ɯ�����Z�P!���� 2��r��r�pjVYGߋ�� ��$�X���P[@� ���P�W��:t�PZ몌�I�O�,�Ͷ#�k^�1FaMA�-�&�Y� �bG��
1533 �J�v!�m�S�Pb�� ����(��A� �8�� 7 :� �B�܋5eۏy0����J�ߤ~O��0� *��Q$1h��&����PU�H�i�eJ5��–P�I� �P�ffV���R��P�1��kN�Q�Ӏg��gTg�=��,�1�QP��*Q�ĩ���+0�z���}��EI��X�bĀl~����.�іTݸ� A��h W��LdP m@UAZY
1901 3Pb�����.�e^�l_��9T)�N���Pf���%�A8�W�Դ��#8�!\�hh:�]D/4n���<Qp��L��2Ug�����+ԉw`�F����_1?������J���0������(U�(�3Zr�K�:�
3310 �5A ���Ф�"�T�d�$�<�� ����� �xP���Ͱ��K���PY�`ԧ�\���|����)�� V�Pb�% ���~ B´��ˑ|Z��M��T δyB�T�ڴ��-f)T�#�%���|��l�Y2��@��˒V�@������.��}V���I��X��Ӂ���P�r5bB9O��=m��HV/� �k��d�1��#Ff,��]4
3646 ��n�Ӌ�V� ]b��5���bi�c��3Ѐ}����I��X ���ȅU@�xS����C�9L�r-A`��S_2W\nFei�Md/^�)�<�T�r�#i,��>�֠,l�4�.:�`���T �B����Rl�Չ3R���ΨCg8t�� ��V&� ��/B�5cT�����NurN�, ���H�1sP�5!�;j�ُ���`�/Z��KTV����H���P�!V�M����x�Q���3��t�pK�˂,��6ZBVhU��% �k�W��4�}���EI��X �2�\tDtA ��c^���2d� O�Pb�p�e����OOƹ10�8ZG��F����agY�Yi.Y�KXڸh��>]�g���ˎN$�i�=�s.C�HC��7UQ�lŒ���!��2Z�0��U�EU�`�f�NV%z�"A�*(8�؂ޒ'0 �Pqj>�έc��8d�P�E{�~\�JD�R�kQK4�j-~��W��j#����ʵAO9t��K.`�C�,�j�^j6ݒ+�4�}����I��X b/:����[�0kAJ[ g{T�yk��
3804 *(VeTg]'\��R�=� ��-�����6c�}���EI��X�e���^aT)�1��5`j>���D��{�KB��r$1�XT��C�j�,��7� ��H�� .��Pb�p@b�� �Z +�$�Y 2R&�t�Q�˕��W���J�<��E��d<D(D?�F��4�V�{,ZI2� ~S�,�0�H2��Bl����V d�0� ��X�]�
4334 >YD���i �%1��g�|�t�5F�P���Bq�Ad9�%�?������N��g4U��xP �E�.�=Qi ���;0G?�A!U*Kߞ#�����I9 D� �%VQ �dX����� dHcԀ�:sD.:qRaw`���\�8qRB�.�;��HV�����C���=��}��EI��X��%�Q�A� eB�����%&����کn#~>ԝH7��% �"��+�!�� �3�[9ΥX���n�Z�j��dbL���b�`<�4�!!*b,�� ���n�@x/�2 �p����T�=r:� ��*u��T1Cd�$?GJ���:��␨~*u�D"�n"^���Pb)i�ֈ-va���!t�Fp�iDz�r�%r(���)�Lhmp���+x�2Q�����=�}���I��X��!�Qִh]
/external/v8/test/mjsunit/asm/sqlite3/
H A Dsqlite-pointer-masking.js3 "use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;const n=16777215;const o=16777214;const p=16777212;const q=16777208;var r=0;var s=0;var t=0;var u=0;var v=global.NaN,w=global.Infinity;var x=0,y=0,z=0,A=0,B=0.0,C=0,D=0,E=0,F=0.0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=0;var N=0;var O=0;var P=0;var Q=global.Math.floor;var R=global.Math.abs;var S=global.Math.sqrt;var T=global.Math.pow;var U=global.Math.cos;var V=global.Math.sin;var W=global.Math.tan;var X=global.Math.acos;var Y=global.Math.asin;var Z=global.Math.atan;var _=global.Math.atan2;var $=global.Math.exp;var aa=global.Math.log;var ba=global.Math.ceil;var ca=global.Math.imul;var da=global.Math.min;var ea=global.Math.clz32;var fa=env.abort;var ga=env.assert;var ha=env.nullFunc_iiiiiiii;var ia=env.nullFunc_iiii;var ja=env.nullFunc_viiiiii;var ka=env.nullFunc_vi;var la=env.nullFunc_viiiii;var ma=env.nullFunc_dii;var na=env.nullFunc_vid;var oa=env.nullFunc_di;var pa=env.nullFunc_i;var qa=env.nullFunc_iiiiiiiiii;var ra=env.nullFunc_vii;var sa=env.nullFunc_iiiiiii;var ta=env.nullFunc_ii;var ua=env.nullFunc_viii;var va=env.nullFunc_v;var wa=env.nullFunc_iiiiiiiii;var xa=env.nullFunc_iiiii;var ya=env.nullFunc_viiii;var za=env.nullFunc_iii;var Aa=env.nullFunc_iiid;var Ba=env.nullFunc_iiiiii;var Ca=env.invoke_iiiiiiii;var Da=env.invoke_iiii;var Ea=env.invoke_viiiiii;var Fa=env.invoke_vi;var Ga=env.invoke_viiiii;var Ha=env.invoke_dii;var Ia=env.invoke_vid;var Ja=env.invoke_di;var Ka=env.invoke_i;var La=env.invoke_iiiiiiiiii;var Ma=env.invoke_vii;var Na=env.invoke_iiiiiii;var Oa=env.invoke_ii;var Pa=env.invoke_viii;var Qa=env.invoke_v;var Ra=env.invoke_iiiiiiiii;var Sa=env.invoke_iiiii;var Ta=env.invoke_viiii;var Ua=env.invoke_iii;var Va=env.invoke_iiid;var Wa=env.invoke_iiiiii;var Xa=env._dlerror;var Ya=env._utimes;var Za=env._getuid;var _a=env._send;var $a=env._dlsym;var ab=env._mknod;var bb=env._chown;var cb=env._lseek;var db=env._emscripten_set_main_loop_timing;var eb=env._access;var fb=env._fstat;var gb=env._chmod;var hb=env._rmdir;var ib=env.___assert_fail;var jb=env._usleep;var kb=env.___buildEnvironment;var lb=env._fflush;var mb=env._pwrite;var nb=env._strerror_r;var ob=env._localtime_r;var pb=env._tzset;var qb=env._open;var rb=env._getpid;var sb=env._sbrk;var tb=env._fcntl;var ub=env._emscripten_memcpy_big;var vb=env._unlink;var wb=env._sysconf;var xb=env._fchmod;var yb=env.___setErrNo;var zb=env._ftruncate;var Ab=env._mkdir;var Bb=env._pread;var Cb=env._mkport;var Db=env._dlopen;var Eb=env._dlclose;var Fb=env._write;var Gb=env._fsync;var Hb=env.___errno_location;var Ib=env._stat;var Jb=env._recv;var Kb=env._geteuid;var Lb=env._getenv;var Mb=env._sleep;var Nb=env._emscripten_set_main_loop;var Ob=env._abort;var Pb=env._time;var Qb=env._fchown;var Rb=env._strerror;var Sb=env._gettimeofday;var Tb=env._munmap;var Ub=env._mmap;var Vb=env._localtime;var Wb=env._getcwd;var Xb=env._close;var Yb=env._read;var Zb=env._truncate;var _b=0.0;function _declare_heap_length(){return a[33554431]|0}
5 function hh(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c[(d&p)>>2]|0;l=c[(d&p)+80>>2]|0;h=d+44|0;do if(!(c[(h&p)>>2]|0)){c[(k&p)+52>>2]=l;e=c[(k&p)+236>>2]|0;if(e){d=e+8|0;if(!(b[(d&o)>>1]&9312)){b[(d&o)>>1]=1;break}else{vg(e);break}}}else{i=k+65|0;j=a[(i&n)>>0]|0;d=c[3164]|0;if(d)nc[d&3]();g=k+236|0;d=c[(g&p)>>2]|0;do if(!d){d=mh(k,40,0)|0;if(!d){c[(g&p)>>2]=d;break}else{e=d+0|0;f=e+40|0;do{a[(e&n)>>0]=0;e=e+1|0}while((e|0)<(f|0));b[(d&o)+8>>1]=1;c[(d&p)+32>>2]=k;c[(g&p)>>2]=d;f=8;break}}else f=8;while(0);if((f|0)==8)Xg(d,c[(h&p)>>2]|0,-1,1,-1)|0;d=c[3166]|0;if(d)nc[d&3]();a[(i&n)>>0]=j;c[(k&p)+52>>2]=l}while(0);return l|0}function ih(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))fa();k=o;c[(g&p)>>2]=0;if(!((Hh(a)|0)==0|(b|0)==0)){k=c[(a&p)+20>>2]|0;if((k|0)>0){l=c[(a&p)+16>>2]|0;n=0;do{m=c[(l+(n<<4)&p)+4>>2]|0;if(m)c[((c[(m&p)+4>>2]|0)&p)+4>>2]=c[(m&p)>>2];n=n+1|0}while((n|0)!=(k|0))}k=Fn(a,b,d,e,f,g,h)|0;if((k|0)==17){md(c[(g&p)>>2]|0)|0;k=Fn(a,b,d,e,f,g,h)|0}}else{c[(k&p)>>2]=105892;c[(k&p)+4>>2]=10788;bd(21,13648,k);k=21}i=o;return k|0}function jh(a,d){a=a|0;d=d|0;var e=0,f=0;f=a+68|0;if((b[(f&o)>>1]|0)>0){e=d+60|0;d=a+60|0;a=0;do{_l((c[(e&p)>>2]|0)+(a*40|0)|0,(c[(d&p)>>2]|0)+(a*40|0)|0);a=a+1|0}while((a|0)<(b[(f&o)>>1]|0))}return}function kh(b,c){b=b|0;c=c|0;var d=0,e=0;if(c){d=c;while(1)if(!(a[(d&n)>>0]|0))break;else d=d+1|0;e=(d-c&1073741823)+1|0;d=mh(b,e,0)|0;if(d)kw(d|0,c|0,e|0)|0;else d=0}else d=0;return d|0}function lh(a,d){a=a|0;d=d|0;var e=0,f=0;f=c[(a&p)+8>>2]|0;if((d|0)>=1){fh(f,d)|0;b[(f&o)+8>>1]=8192;c[(f&p)>>2]=c[(a&p)+4>>2];e=f+16|0;a=c[(e&p)>>2]|0;if(!a)e=0;else{fw(a|0,0,d|0)|0;e=c[(e&p)>>2]|0}}else{e=f+8|0;if(!(b[(e&o)>>1]&9312))b[(e&o)>>1]=1;else vg(f);c[(f&p)+16>>2]=0;e=0}return e|0}function mh(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0;a:do if(b){i=b+65|0;if(!(a[(i&n)>>0]|0)){do if(a[(b&n)+250>>0]|0){if(0<f>>>0|(0==(f|0)?(e[(b&o)+248>>1]|0)>>>0<d>>>0:0)){g=b+264|0;c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;break}h=b+272|0;g=c[(h&p)>>2]|0;if(!g){g=b+268|0;c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;break}c[(h&p)>>2]=c[(g&p)>>2];f=b+252|0;h=c[(f&p)>>2]|0;d=h+1|0;c[(f&p)>>2]=d;f=b+260|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=b+256|0;if((h|0)>=(c[(f&p)>>2]|0))c[(f&p)>>2]=d;break a}while(0);g=qg(d,f)|0;if(!g){a[(i&n)>>0]=1;g=0}}else g=0}else g=qg(d,f)|0;while(0);return g|0}function nh(a,d){a=a|0;d=d|0;var f=0,g=0;do if(a){f=c[(a&p)+20>>2]|0;if((f|0)!=0?((d|0)>-1?(e[(a&o)+84>>1]|0|0)>(d|0):0):0){f=f+(d*40|0)|0;break}f=c[(a&p)>>2]|0;if((f|0)!=0?(c[(f&p)+52>>2]=25,g=c[(f&p)+236>>2]|0,(g|0)!=0):0){f=g+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;f=41496;break}else{vg(g);f=41496;break}}else f=41496}else f=41496;while(0);return f|0}function oh(a,e,f,g,h,i){a=a|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0;j=ph(a,e)|0;if(!j)if(!f)j=0;else{e=(c[(a&p)+60>>2]|0)+((e+-1|0)*40|0)|0;j=Xg(e,f,g,i,h)|0;if((j|0)!=0|i<<24>>24==0)e=j;else e=Yl(e,d[((c[(a&p)>>2]|0)&n)+62>>0]|0)|0;j=c[(a&p)>>2]|0;c[(j&p)+52>>2]=e;h=c[(j&p)+236>>2]|0;do if(h){g=h+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(h);j=c[(a&p)>>2]|0;break}}while(0);j=Og(j,e)|0}else{g=h;if(!((g|0)==0|(g|0)==-1))cc[h&31](f)}return j|0}function ph(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;do if(!(ah(a)|0)){if((c[(a&p)+40>>2]|0)==-1108210269?(c[(a&p)+76>>2]|0)<=-1:0){if((d|0)>=1?(b[(a&o)+68>>1]|0)>=(d|0):0){h=d+-1|0;g=c[(a&p)+60>>2]|0;f=g+(h*40|0)|0;e=g+(h*40|0)+8|0;if(!((b[(e&o)>>1]&9312)==0?(c[(g+(h*40|0)&p)+24>>2]|0)==0:0))Qg(f);b[(e&o)>>1]=1;f=c[(a&p)>>2]|0;c[(f&p)+52>>2]=0;f=c[(f&p)+236>>2]|0;do if(f){e=f+8|0;if(!(b[(e&o)>>1]&9312)){b[(e&o)>>1]=1;break}else{vg(f);break}}while(0);g=a+88|0;e=b[(g&o)>>1]|0;if(!(e&256)){e=0;break}f=c[(a&p)+188>>2]|0;if((d|0)<33){if(!((f&1<<h|0)!=0|(f|0)==-1)){e=0;break}}else if((f|0)!=-1){e=0;break}b[(g&o)>>1]=e|8;e=0;break}e=c[(a&p)>>2]|0;c[(e&p)+52>>2]=25;e=c[(e&p)+236>>2]|0;if(!e){e=25;break}f=e+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;e=25;break}else{vg(e);e=25;break}}f=c[(a&p)>>2]|0;c[(f&p)+52>>2]=21;f=c[(f&p)+236>>2]|0;do if(f){e=f+8|0;if(!(b[(e&o)>>1]&9312)){b[(e&o)>>1]=1;break}else{vg(f);break}}while(0);c[(g&p)>>2]=c[(a&p)+168>>2];bd(21,41456,g);c[(g&p)>>2]=69987;c[(g&p)+4>>2]=10788;bd(21,13648,g);e=21}else{c[(g&p)>>2]=69979;c[(g&p)+4>>2]=10788;bd(21,13648,g);e=21}while(0);i=k;return e|0}function qh(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;a:do if(!((d|0)==0|(e|0)==0)?(i=b[(d&o)+70>>1]|0,i<<16>>16>0):0){g=c[(d&p)+64>>2]|0;d=0;while(1){h=c[(g+(d<<2)&p)>>2]|0;if(((h|0)!=0?($v(h,e,f)|0)==0:0)?(a[(h+f&n)>>0]|0)==0:0)break;d=d+1|0;if((d|0)>=(i<<16>>16|0)){d=0;break a}}d=d+1|0}else d=0;while(0);return d|0}function rh(d,f){d=d|0;f=f|0;var g=0,k=0,l=0,m=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s+8|0;m=s;g=a[(d&n)+10>>0]|0;k=d+16|0;l=d+12|0;do if(Tl(c[(k&p)>>2]|0,r,c[(l&p)>>2]|0,g)|0){if(!(Ul(c[(k&p)>>2]|0,m,c[(l&p)>>2]|0,g)|0)){l=m;k=c[(l&p)+4>>2]|0;g=d;c[(g&p)>>2]=c[(l&p)>>2];c[(g&p)+4>>2]=k;g=d+8|0;b[(g&o)>>1]=e[(g&o)>>1]|0|4;break}h[(d&q)>>3]=+h[(r&q)>>3];g=d+8|0;b[(g&o)>>1]=e[(g&o)>>1]|0|8;if(f)dm(d)}while(0);i=s;return}function sh(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(!(Gn(b)|0)){g=_h(c[(b&p)>>2]|0,e,f)|0;if(!g){g=(d|0)!=0?41368:41384;if(!f){c[(h&p)>>2]=g;c[(h&p)+4>>2]=e;th(b,27680,h)}else{c[(h&p)>>2]=g;c[(h&p)+4>>2]=f;c[(h&p)+8>>2]=e;th(b,27664,h)}a[(b&n)+17>>0]=1;g=0}}else g=0;i=k;return g|0}function th(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();h=g;f=c[(b&p)>>2]|0;c[(h&p)>>2]=e;e=Wk(f,d,h)|0;if(!(a[(f&n)+68>>0]|0)){d=b+64|0;c[(d&p)>>2]=(c[(d&p)>>2]|0)+1;d=b+4|0;mg(f,c[(d&p)>>2]|0);c[(d&p)>>2]=e;c[(b&p)+12>>2]=1}else mg(f,e);i=g;return}function uh(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();f=e;c[(f&p)>>2]=d;a=Wk(a,b,f)|0;i=e;return a|0}function vh(a){a=a|0;var b=0,d=0,e=0;d=c[(a&p)>>2]|0;b=mh(d,208,0)|0;if(!b)b=0;else{fw(b|0,0,208)|0;c[(b&p)>>2]=d;d=d+4|0;e=c[(d&p)>>2]|0;if(e)c[(e&p)+48>>2]=b;c[(b&p)+52>>2]=e;c[(b&p)+48>>2]=0;c[(d&p)>>2]=b;c[(b&p)+40>>2]=649915045;c[(b&p)+24>>2]=a}return b|0}function wh(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;i=b+32|0;h=c[(i&p)>>2]|0;if((c[((c[(b&p)+24>>2]|0)&p)+84>>2]|0)<=(h|0))if(!(Hn(b)|0)){j=c[(i&p)>>2]|0;k=4}else h=1;else{j=h;k=4}if((k|0)==4){c[(i&p)>>2]=j+1;i=c[(b&p)+4>>2]|0;a[(i+(h*20|0)&n)>>0]=d;a[(i+(h*20|0)&n)+3>>0]=0;c[(i+(h*20|0)&p)+4>>2]=e;c[(i+(h*20|0)&p)+8>>2]=f;c[(i+(h*20|0)&p)+12>>2]=g;c[(i+(h*20|0)&p)+16>>2]=0;a[(i+(h*20|0)&n)+1>>0]=0}return h|0}function xh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;j=c[(b&p)>>2]|0;g=c[(b&p)+4>>2]|0;do if((g|0)!=0?(a[(j&n)+65>>0]|0)==0:0){if((d|0)<0)d=(c[(b&p)+32>>2]|0)+-1|0;i=g+(d*20|0)+1|0;h=g+(d*20|0)+16|0;In(j,a[(i&n)>>0]|0,c[(h&p)>>2]|0);c[(h&p)>>2]=0;if((f|0)==-14){c[(h&p)>>2]=e;a[(i&n)>>0]=-14;break}if(!e){c[(h&p)>>2]=0;a[(i&n)>>0]=0;break}if((f|0)==-6){c[(h&p)>>2]=e;a[(i&n)>>0]=-6;break}else if((f|0)==-10){c[(h&p)>>2]=e;a[(i&n)>>0]=-10;d=e+12|0;c[(d&p)>>2]=(c[(d&p)>>2]|0)+1;break}else{if((f|0)<0){c[(h&p)>>2]=e;a[(i&n)>>0]=f;break}if(!f){d=e;while(1)if(!(a[(d&n)>>0]|0))break;else d=d+1|0;g=d-e&1073741823}else g=f;b=c[(b&p)>>2]|0;d=jw(g|0,((g|0)<0)<<31>>31|0,1,0)|0;d=mh(b,d,G)|0;if(!d)d=0;else{kw(d|0,e|0,g|0)|0;a[(d+g&n)>>0]=0}c[(h&p)>>2]=d;a[(i&n)>>0]=-1;break}}else k=3;while(0);if((k|0)==3?(f|0)!=-10:0)In(j,f,e);return}function yh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=b+32|0;f=c[(k&p)>>2]|0;if((f+d|0)>(c[((c[(b&p)+24>>2]|0)&p)+84>>2]|0))if(!(Hn(b)|0)){f=c[(k&p)>>2]|0;g=4}else f=0;else g=4;if((g|0)==4)if((d|0)>0){i=b+4|0;j=0;while(1){l=a[(e&n)+2>>0]|0;g=l<<24>>24;b=j+f|0;h=c[(i&p)>>2]|0;a[(h+(b*20|0)&n)>>0]=a[(e&n)>>0]|0;c[(h+(b*20|0)&p)+4>>2]=a[(e&n)+1>>0];if(l<<24>>24<0)g=f+~g|0;c[(h+(b*20|0)&p)+8>>2]=g;c[(h+(b*20|0)&p)+12>>2]=a[(e&n)+3>>0];a[(h+(b*20|0)&n)+1>>0]=0;c[(h+(b*20|0)&p)+16>>2]=0;a[(h+(b*20|0)&n)+3>>0]=0;j=j+1|0;if((j|0)==(d|0))break;else e=e+4|0}c[(k&p)>>2]=(c[(k&p)>>2]|0)+d}return f|0}function zh(b,d){b=b|0;d=d|0;var e=0,f=0;e=b+32|0;if((c[(e&p)>>2]|0)>(d|0)?(f=c[(b&p)+4>>2]|0,In(c[(b&p)>>2]|0,a[(f+(d*20|0)&n)+1>>0]|0,c[(f+(d*20|0)&p)+16>>2]|0),b=f+(d*20|0)|0,c[(b&p)>>2]=0,c[(b&p)+4>>2]=0,c[(b&p)+8>>2]=0,c[(b&p)+12>>2]=0,c[(b&p)+16>>2]=0,a[(b&n)>>0]=-100,((c[(e&p)>>2]|0)+-1|0)==(d|0)):0)c[(e&p)>>2]=d;return}function Ah(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,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;N=i;i=i+16|0;if((i|0)>=(j|0))fa();k=N;L=c[(e&p)>>2]|0;F=c[(f&p)+440>>2]|0;g=c[(f&p)+72>>2]|0;E=c[(f&p)+68>>2]|0;c[(k&p)>>2]=c[(f&p)+392>>2];D=c[(f&p)+80>>2]|0;D=(D|0)==0?1:D;g=E+g|0;m=c[(e&p)+4>>2]|0;l=m+((c[(e&p)+32>>2]|0)*20|0)|0;m=m+((c[(f&p)+84>>2]|0)*20|0)|0;Jn(e,k);if(!(a[(f&n)+20>>0]|0))h=0;else h=((a[(f&n)+21>>0]|0)!=0&1)<<5&65535;M=e+88|0;b[(M&o)>>1]=b[(M&o)>>1]&-33|h;K=f+450|0;H=(a[(K&n)>>0]|0)!=0&(g|0)<10?10:g;g=l;fw(l|0,0,m-g|0)|0;b[(M&o)>>1]=b[(M&o)>>1]&-9;G=e+8|0;y=H*40|0;z=e+60|0;A=F*40|0;B=e+12|0;q=(c[(k&p)>>2]<<2)+7&-8;C=e+64|0;r=(F<<2)+7&-8;s=e+56|0;t=(E<<2)+7&-8;u=e+200|0;v=D+7&-8;w=e+172|0;x=L+65|0;l=l+(g&7)|0;while(1){k=c[(G&p)>>2]|0;if(!k){h=l+y|0;g=h>>>0>m>>>0;k=g?0:l;l=g?l:h;g=g?y:0}else g=0;c[(G&p)>>2]=k;k=c[(z&p)>>2]|0;if(!k){O=l+A|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?A:0)+g|0}c[(z&p)>>2]=k;k=c[(B&p)>>2]|0;if(!k){O=l+q|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?q:0)+g|0}c[(B&p)>>2]=k;k=c[(C&p)>>2]|0;if(!k){O=l+r|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?r:0)+g|0}c[(C&p)>>2]=k;k=c[(s&p)>>2]|0;if(!k){O=l+t|0;h=O>>>0>m>>>0;k=h?0:l;l=h?l:O;g=(h?t:0)+g|0}c[(s&p)>>2]=k;k=c[(u&p)>>2]|0;if(!k){h=(l+v|0)>>>0>m>>>0;k=h?0:l;g=(h?v:0)+g|0}c[(u&p)>>2]=k;if(!g)break;h=mh(L,g,((g|0)<0)<<31>>31)|0;if(!h)k=0;else{fw(h|0,0,g|0)|0;k=h}c[(w&p)>>2]=k;if(!(a[(x&n)>>0]|0)){l=h;m=h+g|0}else break}c[(e&p)+36>>2]=E;c[(e&p)+196>>2]=D;h=c[(z&p)>>2]|0;if((h|0)!=0?(b[(e&o)+68>>1]=F,(F|0)>0):0){g=0;do{b[(h+(g*40|0)&o)+8>>1]=1;c[(h+(g*40|0)&p)+32>>2]=L;g=g+1|0}while((g|0)!=(F|0))}h=c[(C&p)>>2]|0;if((h|0)!=0?(I=f+444|0,J=c[(I&p)>>2]|0,(J|0)>0):0){b[(e&o)+70>>1]=J;F=f+472|0;kw(h|0,c[(F&p)>>2]|0,J<<16>>14|0)|0;fw(c[(F&p)>>2]|0,0,c[(I&p)>>2]<<2|0)|0}h=c[(G&p)>>2]|0;if((h|0)!=0?(c[(G&p)>>2]=h+-40,c[(e&p)+28>>2]=H,(H|0)>=1):0){g=1;while(1){b[(h+((g+-1|0)*40|0)&o)+8>>1]=128;c[(h+((g+-1|0)*40|0)&p)+32>>2]=L;if((g|0)==(H|0))break;else g=g+1|0}}b[(M&o)>>1]=b[(M&o)>>1]&-4|d[(K&n)>>0]&3;c[(e&p)+76>>2]=-1;c[(e&p)+80>>2]=0;a[(e&n)+86>>0]=2;c[(e&p)+40>>2]=-1108210269;c[(e&p)+92>>2]=0;c[(e&p)+72>>2]=1;a[(e&n)+87>>0]=-1;c[(e&p)+104>>2]=0;G=e+144|0;c[(G&p)>>2]=0;c[(G&p)+4>>2]=0;i=N;return}function Bh(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s;q=e+20|0;m=c[(q&p)>>2]|0;l=c[(m&p)+60>>2]|0;c[(l&p)>>2]=f;c[(l&p)+4>>2]=g;l=Sd(m)|0;do if((l|0)!=100){k=c[(q&p)>>2]|0;if(k){l=md(k)|0;c[(q&p)>>2]=0;k=c[(e&p)+24>>2]|0;if(!l){l=r;c[(l&p)>>2]=f;c[(l&p)+4>>2]=g;l=1;k=uh(k,41432,r)|0;break}else{c[(r&p)>>2]=Se(k)|0;k=uh(k,10344,r)|0;break}}else k=0}else{l=c[(c[(m&p)+56>>2]&p)>>2]|0;k=c[(e&p)+12>>2]|0;m=c[(l+(k<<2)&p)+84>>2]|0;if(m>>>0>=12){c[(e&p)+8>>2]=c[(l+((b[(l&o)+20>>1]|0)+k<<2)&p)+84>>2];c[(e&p)+4>>2]=(m+-12|0)>>>1;l=c[(l&p)>>2]|0;c[(e&p)+16>>2]=l;l=l+72|0;a[(l&n)>>0]=d[(l&n)>>0]|16;l=0;k=0;break}l=c[(e&p)+24>>2]|0;if(!m)k=20352;else k=(m|0)==7?20336:20320;c[(r&p)>>2]=k;k=uh(l,41400,r)|0;md(c[(q&p)>>2]|0)|0;c[(q&p)>>2]=0;l=1}while(0);c[(h&p)>>2]=k;i=s;return l|0}function Ch(a){a=a|0;var b=0;if(a){b=c[(a&p)>>2]|0;mg(b,c[(a&p)+112>>2]|0);Nk(b,c[(a&p)+316>>2]|0)}return}function Dh(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=a[(b&n)+73>>0]|0;do if(!(g<<24>>24))f=4;else{if((g&255)>2?(f=Kn(b)|0,(f|0)!=0):0)break;f=Lm(b,c,d,e,0)|0}while(0);return f|0}function Eh(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0,q=0,r=0,s=0;m=i;i=i+16|0;if((i|0)>=(j|0))fa();k=m;if(!a){c[(k&p)>>2]=77646;c[(k&p)+4>>2]=10788;bd(21,13648,k);f=21}else{l=c[(a&p)+24>>2]|0;k=a+20|0;h=c[(k&p)>>2]|0;do if((f|e|0)>=0?(q=jw(f|0,((f|0)<0)<<31>>31|0,e|0,((e|0)<0)<<31>>31|0)|0,s=G,n=c[(a&p)+4>>2]|0,r=((n|0)<0)<<31>>31,!((s|0)>(r|0)|(s|0)==(r|0)&q>>>0>n>>>0)):0)if(h){f=pc[g&31](c[(a&p)+16>>2]|0,(c[(a&p)+8>>2]|0)+f|0,e,d)|0;if((f|0)==4){Ng(h)|0;c[(k&p)>>2]=0;f=4;break}else{c[(h&p)+80>>2]=f;break}}else f=4;else f=1;while(0);c[(l&p)+52>>2]=f;h=c[(l&p)+236>>2]|0;do if(h){k=h+8|0;if(!(b[(k&o)>>1]&9312)){b[(k&o)>>1]=1;break}else{vg(h);break}}while(0);f=Og(l,f)|0}i=m;return f|0}function Fh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;h=b+73|0;g=a[(h&n)>>0]|0;if((g&255)>2){g=Kn(b)|0;if(!g){g=a[(h&n)>>0]|0;i=4}}else i=4;if((i|0)==4)if(g<<24>>24==1){Ln(c[(b&p)+4>>2]|0,c[(b&p)+60>>2]|0,b)|0;if(!(a[(b&n)+72>>0]&1))g=8;else g=Lm(b,d,e,f,1)|0}else g=4;return g|0}function Gh(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,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+4|0;z=A;c[(y&p)>>2]=b;c[(z&p)>>2]=e;t=d[(f&n)+1>>0]|0;u=d[(f&n)>>0]|0;x=a[(f&n)+3>>0]|0;w=(g|0)!=0;if(w)v=g;else v=d[(f&n)+2>>0]|0;q=x<<24>>24!=0;m=0;a:while(1){while(1){k=Mn(y)|0;if(!k){s=60;break a}if((k|0)==(u|0)){s=7;break a}if((k|0)!=(v|0))break;if(w){s=40;break}e=Mn(z)|0;if(!e){h=0;break a}l=Mn(y)|0;if((l|0)==94){l=Mn(y)|0;h=1}else h=0;if((l|0)==93){l=Mn(y)|0;o=(e|0)==93&1}else o=0;k=(l|0)==0;if((l|0)!=93&(k^1)){k=0;while(1){if(((l|0)==45?(r=a[(c[(y&p)>>2]&n)>>0]|0,r<<24>>24!=93):0)?r<<24>>24!=0&(k|0)!=0:0){l=e>>>0<k>>>0|e>>>0>(Mn(y)|0)>>>0;b=0;o=l?o:1}else{b=l;o=(e|0)==(l|0)?1:o}l=Mn(y)|0;k=(l|0)==0;if(!((l|0)!=93&(k^1))){l=k;break}else k=b}}else l=k;if(l|(o|0)==(h|0)){h=0;break a}}if((s|0)==40){s=0;k=Mn(y)|0;if(!k){h=0;break}m=c[(y&p)>>2]|0}l=Mn(z)|0;if((k|0)==(l|0))continue;if(q&k>>>0<128&l>>>0<128?(a[(k&255&n)+9328>>0]|0)==(a[(l&255&n)+9328>>0]|0):0)continue;if((k|0)!=(t|0)){h=0;break}if(!((l|0)!=0?(c[(y&p)>>2]|0)!=(m|0):0)){h=0;break}}b:do if((s|0)==7){e=Mn(y)|0;b=(e|0)==(t|0);if((e|0)==(u|0)|b)do{if(b?(Mn(z)|0)==0:0){h=0;break b}e=Mn(y)|0;b=(e|0)==(t|0)}while((e|0)==(u|0)|b);if(e){do if((e|0)==(v|0)){if(w){e=Mn(y)|0;if(!e){h=0;break b}else break}h=c[(z&p)>>2]|0;c:do if(!(a[(h&n)>>0]|0))h=0;else{b=c[(y&p)>>2]|0;while(1){if(Gh(b+-1|0,h,f,0)|0)break;e=h+1|0;c[(z&p)>>2]=e;if((d[(h&n)>>0]|0)>191?(a[(e&n)>>0]&-64)<<24>>24==-128:0){while(1){h=h+2|0;if((a[(h&n)>>0]&-64)<<24>>24==-128){s=e;e=h;h=s}else break}c[(z&p)>>2]=h}else h=e;if(!(a[(h&n)>>0]|0)){h=0;break c}}h=(a[(h&n)>>0]|0)!=0}while(0);h=h&1;break b}while(0);if(e>>>0>=129){h=Mn(z)|0;if(!h){h=0;break}b=c[(y&p)>>2]|0;while(1){if((h|0)==(e|0)?(Gh(b,c[(z&p)>>2]|0,f,g)|0)!=0:0){h=1;break b}h=Mn(z)|0;if(!h){h=0;break b}}}if(!(x<<24>>24)){o=e;m=e}else{m=e&255;o=d[(m&n)+9328>>0]|0;m=((d[(m&n)+10368>>0]|-33)^32)&e}b=c[(z&p)>>2]|0;h=b+1|0;c[(z&p)>>2]=h;e=a[(b&n)>>0]|0;if(!(e<<24>>24))h=0;else{l=c[(y&p)>>2]|0;k=e&255;while(1){if((k|0)==(o|0)|(k|0)==(m|0)?(Gh(l,h,f,g)|0)!=0:0){h=1;break b}e=b+2|0;c[(z&p)>>2]=e;b=a[(h&n)>>0]|0;if(!(b<<24>>24)){h=0;break}else{s=h;k=b&255;h=e;b=s}}}}else h=1}else if((s|0)==60)h=(a[(c[(z&p)>>2]&n)>>0]|0)==0&1;while(0);i=A;return h|0}function Hh(a){a=a|0;var b=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();b=d;do if(a){a=c[(a&p)+76>>2]|0;if((a|0)==1266094736|(a|0)==-264537850){c[(b&p)>>2]=41352;bd(21,15256,b);a=0;break}else if((a|0)==-1607883113){a=1;break}else{c[(b&p)>>2]=15248;bd(21,15256,b);a=0;break}}else{c[(b&p)>>2]=20304;bd(21,15256,b);a=0}while(0);i=d;return a|0}function Ih(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;o=i;i=i+16|0;if((i|0)>=(j|0))fa();k=o;l=o+8|0;c[(l&p)>>2]=0;c[(g&p)>>2]=0;if((Hh(b)|0)==0|(d|0)==0){c[(k&p)>>2]=106003;c[(k&p)+4>>2]=10788;bd(21,13648,k);f=21}else{a:do if((e|0)>-1)if((e|0)>0){k=0;do{if((a[(d+k&n)>>0]|0)==0?(a[(d+(k|1)&n)>>0]|0)==0:0)break a;k=k+2|0}while((k|0)<(e|0))}else k=0;else k=e;while(0);m=Rh(b,d,k)|0;if(m){f=ih(b,m,-1,f,0,g,l)|0;k=c[(l&p)>>2]|0;if((k|0)!=0&(h|0)!=0){g=Nn(m,k-m|0)|0;if((g|0)>0){e=0;k=d;do{k=(a[(k&n)+1>>0]&-8)<<24>>24==-40?k+4|0:k+2|0;e=e+1|0}while((e|0)!=(g|0))}else k=d;c[(h&p)>>2]=d+(k-d)}}else f=0;mg(b,m);f=Og(b,f)|0}i=o;return f|0}function Jh(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;if((i|0)>=(j|0))fa();q=t;r=b+12|0;h=c[(r&p)>>2]|0;o=(e|0)!=0;g=d<<((h|0)==0&o&1);s=b+20|0;l=b+8|0;k=c[(l&p)>>2]|0;if((g+(c[(s&p)>>2]|0)|0)>>>0>k>>>0){g=g+(k<<1)|0;c[(l&p)>>2]=g;h=c[(b&p)>>2]|0;if((Lc()|0)==0?(m=rg(h,g<<2,0)|0,(m|0)!=0):0){c[(b&p)>>2]=m;h=c[(r&p)>>2]|0;m=5}else m=21}else m=5;a:do if((m|0)==5){g=b+16|0;if(!h){c[(g&p)>>2]=d;if((d|0)>0){g=0;do{c[(q&p)>>2]=c[(f+(g<<2)&p)>>2];h=_c(10344,q)|0;if(!h){m=21;break a}l=c[(s&p)>>2]|0;c[(s&p)>>2]=l+1;c[((c[(b&p)>>2]|0)+(l<<2)&p)>>2]=h;g=g+1|0}while((g|0)<(d|0))}}else if((c[(g&p)>>2]|0)!=(d|0)){g=b+4|0;Wc(c[(g&p)>>2]|0);c[(g&p)>>2]=_c(40912,q)|0;c[(b&p)+24>>2]=1;g=1;break}if(o){if((d|0)>0){l=0;do{k=e+(l<<2)|0;g=c[(k&p)>>2]|0;if(!g)g=0;else{h=g;while(1)if(!(a[(h&n)>>0]|0))break;else h=h+1|0;h=(h-g&1073741823)+1|0;g=Tc(h)|0;if(!g){m=21;break a}kw(g|0,c[(k&p)>>2]|0,h|0)|0}q=c[(s&p)>>2]|0;c[(s&p)>>2]=q+1;c[((c[(b&p)>>2]|0)+(q<<2)&p)>>2]=g;l=l+1|0}while((l|0)<(d|0))}c[(r&p)>>2]=(c[(r&p)>>2]|0)+1;g=0}else g=0}while(0);if((m|0)==21){c[(b&p)+24>>2]=7;g=1}i=t;return g|0}function Kh(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,o=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();m=q;if(!d)k=0;else{h=d;while(1)if(!(a[(h&n)>>0]|0))break;else h=h+1|0;k=h-d&1073741823}l=b+308|0;h=bn(l,d,m)|0;if((h|0)!=0?(c[(h&p)+8>>2]|0)!=0:0){c[(m&p)>>2]=114188;c[(m&p)+4>>2]=10788;bd(21,13648,m);h=21}else{h=mh(b,k+17|0,0)|0;if((h|0)!=0?(o=h+16|0,kw(o|0,d|0,k+1|0)|0,c[(h&p)+4>>2]=o,c[(h&p)>>2]=e,c[(h&p)+8>>2]=f,c[(h&p)+12>>2]=g,o=Ik(l,o,h)|0,(o|0)!=0):0){a[(b&n)+65>>0]=1;mg(b,o);h=0}else h=0}h=Og(b,h)|0;if((h|0)!=0&(g|0)!=0)cc[g&31](f);i=q;return h|0}function Lh(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,B=0,C=0;C=i;i=i+16|0;if((i|0)>=(j|0))fa();z=C;o=C+8|0;A=c[(b&p)>>2]|0;l=c[(A&p)+92>>2]|0;if(!(c[(A&p)+148>>2]|0))c[(A&p)+240>>2]=0;B=b+12|0;c[(B&p)>>2]=0;r=b+480|0;c[(r&p)>>2]=d;v=qg(1612,0)|0;if(v){c[(v&p)>>2]=-1;s=A+250|0;t=a[(s&n)>>0]|0;if(c[(A&p)+276>>2]|0)a[(s&n)>>0]=1;u=A+65|0;q=b+504|0;f=b+508|0;m=A+240|0;k=0;h=-1;a:while(1){while(1){if(a[(u&n)>>0]|0){x=19;break a}g=d+k|0;if(!(a[(g&n)>>0]|0)){x=19;break a}c[(q&p)>>2]=g;g=Cn(g,o)|0;c[(f&p)>>2]=g;k=g+k|0;if((k|0)>(l|0)){x=12;break a}g=c[(o&p)>>2]|0;if((g|0)==150){x=16;break a}else if((g|0)==1){h=g;x=17;break}else if((g|0)!=151){h=g;break}if(c[(m&p)>>2]|0){x=15;break a}}if((x|0)==17){x=0;c[(r&p)>>2]=d+k};c[(z&p)>>2]=c[(q&p)>>2];c[(z&p)+4>>2]=c[(q&p)+4>>2];On(v,h,z,b);h=c[(o&p)>>2]|0;if(c[(B&p)>>2]|0){x=19;break}}if((x|0)==12){c[(B&p)>>2]=18;x=19}else if((x|0)==15){th(b,20384,z);c[(B&p)>>2]=9;x=19}else if((x|0)==16){mg(A,c[(e&p)>>2]|0);c[(z&p)>>2]=q;c[(e&p)>>2]=uh(A,20400,z)|0;f=1}if((x|0)==19){k=d+k|0;if((a[(k&n)>>0]|0)==0?(c[(B&p)>>2]|0)==0:0){if((h|0)!=1){c[(z&p)>>2]=c[(q&p)>>2];c[(z&p)+4>>2]=c[(q&p)+4>>2];On(v,1,z,b);c[(r&p)>>2]=k};c[(z&p)>>2]=c[(q&p)>>2];c[(z&p)+4>>2]=c[(q&p)+4>>2];On(v,0,z,b);f=0}else f=0}if((c[(v&p)>>2]|0)>-1)do Pn(v);while((c[(v&p)>>2]|0)>-1);Wc(v);a[(s&n)>>0]=t;if(!(a[(u&n)>>0]|0)){h=c[(B&p)>>2]|0;if(!((h|0)==101|(h|0)==0)){w=h;x=29}}else{c[(B&p)>>2]=7;w=7;x=29}if((x|0)==29?(y=b+4|0,(c[(y&p)>>2]|0)==0):0){if((w|0)!=516){h=w&255;if(h>>>0>26|(h|0)==2)h=16328;else h=c[(h<<2&p)+15488>>2]|0}else h=16344;c[(z&p)>>2]=h;dh(y,A,10344,z)}h=b+4|0;g=c[(h&p)>>2]|0;if(g){c[(e&p)>>2]=g;e=c[(B&p)>>2]|0;c[(z&p)>>2]=g;bd(e,10344,z);c[(h&p)>>2]=0;f=f+1|0}h=b+8|0;g=c[(h&p)>>2]|0;if(((g|0)!=0?(c[(b&p)+64>>2]|0)>0:0)?(a[(b&n)+18>>0]|0)==0:0){Pl(g);c[(h&p)>>2]=0}if(!(a[(b&n)+18>>0]|0)){e=b+400|0;mg(A,c[(e&p)>>2]|0);c[(e&p)>>2]=0;c[(b&p)+396>>2]=0}Wc(c[(b&p)+520>>2]|0);if(!(a[(b&n)+451>>0]|0))kg(A,c[(b&p)+484>>2]|0);if(a[(b&n)+449>>0]|0)Qn(A,c[(b&p)+532>>2]|0);jg(A,c[(b&p)+488>>2]|0);h=c[(b&p)+444>>2]|0;k=b+472|0;g=c[(k&p)>>2]|0;if((h|0)>0)do{h=h+-1|0;mg(A,c[(g+(h<<2)&p)>>2]|0);g=c[(k&p)>>2]|0}while((h|0)>0);mg(A,g);h=b+404|0;g=c[(h&p)>>2]|0;if(g)do{c[(h&p)>>2]=c[(g&p)>>2];mg(A,g);g=c[(h&p)>>2]|0}while((g|0)!=0);h=b+524|0;g=c[(h&p)>>2]|0;if(g)do{c[(h&p)>>2]=c[(g&p)+72>>2];kg(A,g);g=c[(h&p)>>2]|0}while((g|0)!=0);if((f|0)>0?(c[(B&p)>>2]|0)==0:0)c[(B&p)>>2]=1}else{a[(A&n)+65>>0]=1;f=7}i=C;return f|0}function Mh(a){a=a|0;if(a){if(!((b[(a&o)+8>>1]&9312)==0?(c[(a&p)+24>>2]|0)==0:0))Qg(a);mg(c[(a&p)+32>>2]|0,a)}return}function Nh(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(!(c[(d&p)+252>>2]|0)){q=d+251|0;if(a[(q&n)>>0]|0)Wc(c[(d&p)+276>>2]|0);j=f&-8;h=(j|0)<5?0:j;i=(g|0)<0?0:g;if(!((h|0)==0|(i|0)==0))if(!e){f=c[3164]|0;if(f)nc[f&3]();f=ca(h,i)|0;f=qg(f,((f|0)<0)<<31>>31)|0;g=c[3166]|0;if(g)nc[g&3]();if(!f)f=0;else i=(lc[c[8792>>2]&127](f)|0)/(j|0)|0}else f=e;else{h=0;f=0}g=d+276|0;c[(g&p)>>2]=f;m=d+272|0;c[(m&p)>>2]=0;b[(d&o)+248>>1]=h;if(!f){c[(g&p)>>2]=d;c[(d&p)+280>>2]=d;a[(d&n)+250>>0]=0;f=0}else{if((i|0)>0){g=ca(h,i)|0;l=f+(ca(h,i+-1|0)|0)|0;k=0;j=f;while(1){i=i+-1|0;c[(j&p)>>2]=k;if((i|0)<=0)break;else{k=j;j=j+h|0}}c[(m&p)>>2]=l;f=f+g|0}c[(d&p)+280>>2]=f;a[(d&n)+250>>0]=1;f=(e|0)==0&1}a[(q&n)>>0]=f;f=0}else f=5;return f|0}function Oh(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;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s;do if(!b)e=0;else{l=b+76|0;o=c[(l&p)>>2]|0;if(!((o|0)==1266094736|(o|0)==-1607883113|(o|0)==-264537850)){c[(r&p)>>2]=15248;bd(21,15256,r);c[(r&p)>>2]=128509;c[(r&p)+4>>2]=10788;bd(21,13648,r);e=21;break}m=b+20|0;e=c[(m&p)>>2]|0;a:do if((e|0)>0){o=b+16|0;f=c[(o&p)>>2]|0;h=0;do{g=c[(f+(h<<4)&p)+4>>2]|0;if(g)c[((c[(g&p)+4>>2]|0)&p)+4>>2]=c[(g&p)>>2];h=h+1|0}while((h|0)!=(e|0));k=0;while(1){e=c[(f+(k<<4)&p)+12>>2]|0;if((e|0)!=0?(q=c[(e&p)+16>>2]|0,(q|0)!=0):0){e=q;do{f=c[(e&p)+8>>2]|0;b:do if(a[(f&n)+44>>0]&16){g=f+60|0;while(1){f=c[(g&p)>>2]|0;if(!f)break b;h=f+24|0;if((c[(f&p)>>2]|0)==(b|0))break;else g=h}c[(g&p)>>2]=c[(h&p)>>2];An(f)}while(0);e=c[(e&p)>>2]|0}while((e|0)!=0)}e=k+1|0;if((e|0)>=(c[(m&p)>>2]|0))break a;f=c[(o&p)>>2]|0;k=e}}while(0);rl(b);Rn(b,68);if((d|0)==0?(Jl(b)|0)!=0:0){ug(b,5,16368,r);e=5;break}c[(l&p)>>2]=1691352191;Mg(b);e=0}while(0);i=s;return e|0}function Ph(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(c[(a&p)+492>>2]|0))b=0;else{b=c[(a&p)>>2]|0;rc[c[(b&p)+60>>2]&127](b,1e6)|0;b=1}return b|0}function Qh(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;y=i;i=i+16|0;if((i|0)>=(j|0))fa();w=y;do if(f){u=(l|0)!=0;s=(q|0)!=0;if(u)if(s|(m|0)!=0){x=8;break}else{s=0;t=0}else{t=(m|0)!=0;if(!(t|s^1)){x=8;break}}if(!(t&((u|s)^1)|(g|0)<-1|(g|0)>127)){s=f;while(1)if(!(a[(s&n)>>0]|0))break;else s=s+1|0;t=s-f&1073741823;if(t>>>0<=255){v=h&2048;s=h&7;if((s|0)!=4){if((s|0)==5){s=Qh(d,f,g,v|1,k,l,m,q,r)|0;if(s)break;s=Qh(d,f,g,v|2,k,l,m,q,r)|0;if(!s)s=3;else break}}else s=2;u=s&255;h=Sh(d,f,t,g,u,0)|0;if(((h|0)!=0?(e[(h&o)+2>>1]&3|0)==(s|0):0)?(b[(h&o)>>1]|0)==(g|0):0){if(c[(d&p)+148>>2]|0){ug(d,5,15424,w);s=5;break}s=c[(d&p)+4>>2]|0;if(s)do{w=s+88|0;b[(w&o)>>1]=b[(w&o)>>1]|8;s=c[(s&p)+52>>2]|0}while((s|0)!=0)}s=Sh(d,f,t,g,u,1)|0;if(!s)s=7;else{Nl(d,s);if(r)c[(r&p)>>2]=(c[(r&p)>>2]|0)+1;c[(s&p)+32>>2]=r;r=s+2|0;b[(r&o)>>1]=e[(r&o)>>1]&3|v;c[(s&p)+12>>2]=l;c[(s&p)+16>>2]=m;c[(s&p)+20>>2]=q;c[(s&p)+4>>2]=k;b[(s&o)>>1]=g;s=0}}else x=8}else x=8}else x=8;while(0);if((x|0)==8){c[(w&p)>>2]=129075;c[(w&p)+4>>2]=10788;bd(21,13648,w);s=21}i=y;return s|0}function Rh(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+48|0;if((i|0)>=(j|0))fa();k=l;g=k+0|0;h=g+40|0;do{c[(g&p)>>2]=0;g=g+4|0}while((g|0)<(h|0));c[(k&p)+32>>2]=d;Xg(k,e,f,2,0)|0;f=k+8|0;e=c[(f&p)>>2]|0;if(!((e&2|0)==0|(e&16711680|0)==65536))Bn(k,1)|0;if(!(a[(d&n)+65>>0]|0))f=c[(k&p)+16>>2]|0;else{if(!((b[(f&o)>>1]&9312)==0?(c[(k&p)+24>>2]|0)==0:0))Qg(k);c[(k&p)+16>>2]=0;f=0}i=l;return f|0}function Sh(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0;q=((d[((d[(f&n)>>0]|0)&n)+9328>>0]|0)+g|0)%23|0;r=e+336|0;l=Rk(r,q,f,g)|0;if(!l){m=0;k=0}else{m=0;k=0;do{t=Sn(l,h,i)|0;s=(t|0)>(m|0);m=s?t:m;k=s?l:k;l=c[(l&p)+8>>2]|0}while((l|0)!=0)}do if(!(j<<24>>24)){if((k|0)!=0?(c[(e&p)+24>>2]&2097152|0)==0:0){l=0;q=12;break}l=Rk(10840,q,f,g)|0;if(!l){m=0;q=8}else{m=0;do{s=Sn(l,h,i)|0;q=(s|0)>(m|0);m=q?s:m;k=q?l:k;l=c[(l&p)+8>>2]|0}while((l|0)!=0);q=8}}else q=8;while(0);do if((q|0)==8){l=j<<24>>24!=0;if(l&(m|0)<6){l=g+37|0;k=mh(e,l,0)|0;if(!k){q=14;break}fw(k|0,0,l|0)|0;l=k+36|0;c[(k&p)+24>>2]=l;b[(k&o)>>1]=h;b[(k&o)+2>>1]=i&255;kw(l|0,f|0,g|0)|0;a[(k+g&n)+36>>0]=0;ng(r,k);l=1}if(!k)q=14;else q=12}while(0);if((q|0)==12)if((c[(k&p)+16>>2]|0)==0?!((c[(k&p)+12>>2]|0)!=0|l):0)q=14;if((q|0)==14)k=0;return k|0}function Th(b,d,e){b=b|0;d=d|0;e=e|0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();e=d;c[(e&p)>>2]=c[((c[(b&p)+4>>2]|0)&p)+24>>2];e=_c(15304,e)|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,e,-1,1,-1)|0;Wc(e);i=d;return}function Uh(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;if((a|0)<=(e|0)){e=c[3164]|0;if(e)nc[e&3]();Kf(b,d,0,0,0)|0;e=c[3166]|0;if(e)nc[e&3]()}return 0}function Vh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;a:do if(d){e=d;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;g=e-d&1073741823;f=c[(b&p)+20>>2]|0;e=f+-1|0;if((f|0)>0){h=e;f=(c[(b&p)+16>>2]|0)+(e<<4)|0;while(1){b=c[(f&p)>>2]|0;if(!b)e=0;else{e=b;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;e=e-b&1073741823}if((g|0)==(e|0)?(dd(b,d)|0)==0:0){e=h;break a}e=h+-1|0;if((h|0)>0){h=e;f=f+-16|0}else break}}}else e=-1;while(0);return e|0}function Wh(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0,t=0;s=b+20|0;i=c[(s&p)>>2]|0;if((i|0)>0){t=(e|0)==10;q=b+16|0;r=(f|0)==0;m=g;b=i;g=0;o=0;while(1){if((o|0)==(e|0)|t){j=c[((c[(q&p)>>2]|0)+(o<<4)&p)+4>>2]|0;if(j){i=c[(j&p)+4>>2]|0;c[(i&p)+4>>2]=c[(j&p)>>2];if(!(a[(i&n)+20>>0]|0)){j=c[(i&p)>>2]|0;k=c[(j&p)+208>>2]|0;if(!k)k=0;else{if(r)i=0;else i=c[(j&p)+176>>2]|0;k=Tn(k,f,i,c[(j&p)+180>>2]|0,d[(j&n)+9>>0]|0,c[(j&p)+152>>2]|0,c[(j&p)+200>>2]|0,m,h)|0;b=c[(s&p)>>2]|0}}else k=6}else k=0;h=(k|0)==5;l=0;j=0;i=b;g=h?1:g;h=h?0:k}else{l=h;j=m;i=b;h=0}o=o+1|0;b=(h|0)==0;if(!((o|0)<(i|0)&b))break;else{m=j;h=l;b=i}}}else{b=1;g=0;h=0}return (b&(g|0)!=0?5:h)|0}function Xh(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,x=0,y=0,z=0;z=i;i=i+32|0;if((i|0)>=(j|0))fa();v=z;w=z+20|0;r=z+16|0;q=z+12|0;m=z+8|0;c[(r&p)>>2]=f;c[(q&p)>>2]=0;c[(m&p)>>2]=0;c[(e&p)>>2]=0;h=Lc()|0;do if(!h){if(!(1<<(f&7)&70)){c[(v&p)>>2]=130207;c[(v&p)+4>>2]=10788;bd(21,13648,v);h=21;break}if((c[2187]|0)!=0&(f&32768|0)==0)l=(f&65536|0)==0?c[2188]|0:1;else l=0;if(!(f&262144)){if(c[2241]|0){f=f|131072;c[(r&p)>>2]=f}}else{f=f&-131073;c[(r&p)>>2]=f}f=f&-655129;c[(r&p)>>2]=f;y=qg(528,0)|0;a:do if(y){fw(y|0,0,528)|0;if(l)c[(y&p)+12>>2]=8;c[(y&p)+56>>2]=255;c[(y&p)+20>>2]=2;s=y+76|0;c[(s&p)>>2]=-264537850;t=y+16|0;c[(t&p)>>2]=y+456;k=y+88|0;l=11088;h=k+44|0;do{c[(k&p)>>2]=c[(l&p)>>2];k=k+4|0;l=l+4|0}while((k|0)<(h|0));c[(y&p)+132>>2]=0;a[(y&n)+63>>0]=1;a[(y&n)+67>>0]=-1;k=8920;u=c[(k&p)+4>>2]|0;l=y+40|0;c[(l&p)>>2]=c[(k&p)>>2];c[(l&p)+4>>2]=u;c[(y&p)+72>>2]=0;c[(y&p)+136>>2]=2147483647;c[(y&p)+24>>2]=9437264;l=y+428|0;c[(l&p)>>2]=0;c[(l&p)+4>>2]=0;c[(l&p)+8>>2]=0;c[(l&p)+12>>2]=0;u=y+308|0;c[(u&p)>>2]=0;c[(u&p)+4>>2]=0;c[(u&p)+8>>2]=0;c[(u&p)+12>>2]=0;Yh(y,11152,1,0,21,0)|0;Yh(y,11152,3,0,21,0)|0;Yh(y,11152,2,0,21,0)|0;Yh(y,13752,1,0,22,0)|0;Yh(y,13760,1,1,21,0)|0;u=y+65|0;if(!(a[(u&n)>>0]|0)){l=bn(l,11152,v)|0;if(!l)l=0;else l=c[(l&p)+8>>2]|0;c[(y&p)+8>>2]=l;c[(y&p)+48>>2]=f;l=Wn(g,d,r,y,q,m)|0;if((l|0)==7)a[(u&n)>>0]=1;else if(!l){d=c[(q&p)>>2]|0;h=zm(c[(y&p)>>2]|0,d,y,(c[(t&p)>>2]|0)+4|0,0,c[(r&p)>>2]|256)|0;if(!h){f=c[((c[(t&p)>>2]|0)&p)+4>>2]|0;c[((c[(f&p)+4>>2]|0)&p)+4>>2]=c[(f&p)>>2];f=Xn(y,f)|0;c[((c[(t&p)>>2]|0)&p)+12>>2]=f;if(!(a[(u&n)>>0]|0))a[(y&n)+62>>0]=a[(f&n)+77>>0]|0;f=qg(84,0)|0;if(!f){a[(u&n)>>0]=1;f=0}else{k=f+0|0;h=k+84|0;do{a[(k&n)>>0]=0;k=k+1|0}while((k|0)<(h|0));l=f+77|0;k=f+8|0;h=k+64|0;do{c[(k&p)>>2]=0;k=k+4|0}while((k|0)<(h|0));a[(l&n)>>0]=1}r=c[(t&p)>>2]|0;c[(r&p)+28>>2]=f;c[(r&p)>>2]=13768;a[(r&n)+8>>0]=3;c[(r&p)+16>>2]=10728;a[(r&n)+24>>0]=1;c[(s&p)>>2]=-1607883113;if(a[(u&n)>>0]|0){h=y;break}k=y+52|0;c[(k&p)>>2]=0;l=y+236|0;f=c[(l&p)>>2]|0;do if(f){h=f+8|0;if(!(b[(h&o)>>1]&9312)){b[(h&o)>>1]=1;break}else{vg(f);break}}while(0);if((Cf(y,14632,2)|0)==7)a[(u&n)>>0]=1;f=Nf(y)|0;do if(!f){f=c[2656]|0;if(f){b:do if((f|0)>0){k=0;while(1){f=c[((c[2658]|0)+(k<<2)&p)>>2]|0;c[(w&p)>>2]=0;if(f){h=ac[f&63](y,w,13776)|0;f=c[(w&p)>>2]|0;if(h)break}else f=0;Wc(f);k=k+1|0;if((k|0)>=(c[2656]|0)){x=40;break b}}c[(v&p)>>2]=f;ug(y,h,14592,v);h=c[(w&p)>>2]|0}else x=40;while(0);if((x|0)==40){c[(w&p)>>2]=0;h=0}Wc(h)}if(Nf(y)|0){h=y;break a}}else{c[(k&p)>>2]=f;h=c[(l&p)>>2]|0;if(h){f=h+8|0;if(!(b[(f&o)>>1]&9312)){b[(f&o)>>1]=1;break}else{vg(h);break}}}while(0);Nh(y,0,c[2193]|0,c[2194]|0)|0;c[(y&p)+216>>2]=21;c[(y&p)+220>>2]=1e3;h=y;break}else if((h|0)==3082)h=7;c[(y&p)+52>>2]=h;f=c[(y&p)+236>>2]|0;if(!f){h=y;break}h=f+8|0;if(!(b[(h&o)>>1]&9312)){b[(h&o)>>1]=1;h=y;break}else{vg(f);h=y;break}}d=c[(m&p)>>2]|0;c[(v&p)>>2]=d;ug(y,l,(d|0)!=0?10344:0,v);Wc(d);d=c[(q&p)>>2]|0;h=y}else{d=0;h=y}}else{d=0;h=0}while(0);Wc(d);f=Nf(h)|0;if((f|0)==7){Oh(h,0)|0;h=0}else if(f)c[(y&p)+76>>2]=1266094736;c[(e&p)>>2]=h;h=f&255}while(0);i=z;return h|0}function Yh(e,f,g,h,k,l){e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;l=l|0;var m=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))fa();m=v;u=g&255;if(!(g<<24>>24==4|g<<24>>24==8))if((u+-1|0)>>>0>2){c[(m&p)>>2]=129758;c[(m&p)+4>>2]=10788;bd(21,13648,m);m=21}else{t=u;q=4}else{t=2;q=4}do if((q|0)==4){s=t&255;q=Yn(e,s,f,0)|0;if((q|0)!=0?(c[(q&p)+12>>2]|0)!=0:0){if(c[(e&p)+148>>2]|0){ug(e,5,13680,m);m=5;break}g=c[(e&p)+4>>2]|0;if(g)do{r=g+88|0;b[(r&o)>>1]=b[(r&o)>>1]|8;g=c[(g&p)+52>>2]|0}while((g|0)!=0);r=q+4|0;if((d[(r&n)>>0]&247|0)==(t|0)){g=bn(e+428|0,f,m)|0;if(!g)q=0;else q=c[(g&p)+8>>2]|0;m=0;do{if((a[(q+(m*20|0)&n)+4>>0]|0)==(a[(r&n)>>0]|0)){g=c[(q+(m*20|0)&p)+16>>2]|0;if(g)cc[g&31](c[(q+(m*20|0)&p)+8>>2]|0);c[(q+(m*20|0)&p)+12>>2]=0}m=m+1|0}while((m|0)!=3)}}g=Yn(e,s,f,1)|0;if(g){c[(g&p)+12>>2]=k;c[(g&p)+8>>2]=h;c[(g&p)+16>>2]=l;a[(g&n)+4>>0]=t|u&8;c[(e&p)+52>>2]=0;m=c[(e&p)+236>>2]|0;if(m){g=m+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;m=0;break}else{vg(m);m=0;break}}else m=0}else m=7}while(0);i=v;return m|0}function Zh(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,q=0;l=d+24|0;m=c[(l&p)>>2]&2;q=d+145|0;a[(q&n)>>0]=1;k=d+16|0;i=c[(k&p)>>2]|0;a[(d&n)+62>>0]=a[((c[(i&p)+12>>2]|0)&n)+77>>0]|0;h=d+20|0;g=0;while(1){if((g|0)>=(c[(h&p)>>2]|0)){g=i;i=6;break}if(!((g|0)==1?1:(b[((c[(i+(g<<4)&p)+12>>2]|0)&o)+78>>1]&1)!=0)?(f=Zn(d,g,e)|0,(f|0)!=0):0){i=9;break}i=c[(k&p)>>2]|0;g=g+1|0}if((i|0)==6)if((b[((c[(g&p)+28>>2]|0)&o)+78>>1]&1)==0?(j=Zn(d,1,e)|0,(j|0)!=0):0){ql(c[((c[(k&p)>>2]|0)&p)+28>>2]|0);f=j}else f=0;else if((i|0)==9)vm(d,g);a[(q&n)>>0]=0;if(!(f|m))c[(l&p)>>2]=c[(l&p)>>2]&-3;return f|0}function _h(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))fa();m=n;k=a+20|0;a:do if((c[(k&p)>>2]|0)>0){l=(d|0)==0;g=a+16|0;h=0;a=0;do{f=(h|0)<2^h;e=c[(g&p)>>2]|0;if(!(!l?(dd(d,c[(e+(f<<4)&p)>>2]|0)|0)!=0:0)){a=bn((c[(e+(f<<4)&p)+12>>2]|0)+8|0,b,m)|0;if(a){a=c[(a&p)+8>>2]|0;if(a)break a}else a=0}h=h+1|0}while((h|0)<(c[(k&p)>>2]|0))}else a=0;while(0);i=n;return a|0}function $h(a){a=a|0;if((dd(a,12936)|0)!=0?(dd(a,12944)|0)!=0:0)a=(dd(a,12952)|0)==0&1;else a=1;return a|0}function ai(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=c[(a&p)+20>>2]|0;a:do if((g|0)>0){d=c[(a&p)+16>>2]|0;e=(b|0)==0;f=0;while(1){a=c[(d+(f<<4)&p)+4>>2]|0;if(a){if(e)break a;if(!(dd(b,c[(d+(f<<4)&p)>>2]|0)|0))break a}f=f+1|0;if((f|0)>=(g|0)){a=0;break}}}else a=0;while(0);return a|0}function bi(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:do if(!b)e=0;else{e=e+-1|0;b:do if((c[(b&p)>>2]|0)>>>0>4e3){g=b;f=e;while(1){e=g+8|0;h=c[(e&p)>>2]|0;if(!h){j=b;break}e=(f>>>0)%(h>>>0)|0;f=g+12+(((f>>>0)/(h>>>0)|0)<<2)|0;b=c[(f&p)>>2]|0;if(!b){b=qg(512,0)|0;if(!b){e=b;l=21;break}fw(b|0,0,512)|0;c[(b&p)>>2]=h;c[(f&p)>>2]=b}if((c[(b&p)>>2]|0)>>>0>4e3){g=b;f=e}else break b}if((l|0)==21){c[(f&p)>>2]=e;e=7;break a}k=f+1|0;f=(f>>>0)%125|0;i=g+12|0;b=c[(g+(f<<2)&p)+12>>2]|0;if(!b){b=c[(g&p)+4>>2]|0;if(b>>>0<124){e=g;l=20}}else{do{if((b|0)==(k|0)){e=0;break a}f=f+1|0;f=f>>>0>124?0:f;b=c[(g+(f<<2)&p)+12>>2]|0}while((b|0)!=0);b=c[(g&p)+4>>2]|0;if(b>>>0<=61){e=g;l=20}}if((l|0)==20){c[(g&p)+4>>2]=b+1;c[(e+(f<<2)&p)+12>>2]=k;e=0;break a}h=qg(500,0)|0;if(!h){e=7;break a}kw(h|0,i|0,500)|0;fw(i|0,0,500)|0;c[(e&p)>>2]=(((c[(j&p)>>2]|0)+124|0)>>>0)/125|0;b=0;e=bi(g,k)|0;do{f=c[(h+(b<<2)&p)>>2]|0;if(f)e=bi(g,f)|0|e;b=b+1|0}while((b|0)!=125);Wc(h);break a}while(0);b=b+12+(e>>>3)|0;a[(b&n)>>0]=d[(b&n)>>0]|0|1<<(e&7);e=0}while(0);return e|0}function ci(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:do if(b){g=e+-1|0;while(1){e=c[(b&p)+8>>2]|0;if(!e)break;b=c[(b+(((g>>>0)/(e>>>0)|0)<<2)&p)+12>>2]|0;if(!b)break a;else g=(g>>>0)%(e>>>0)|0}if((c[(b&p)>>2]|0)>>>0<4001){b=b+12+(g>>>3)|0;a[(b&n)>>0]=(d[(b&n)>>0]|0)&(1<<(g&7)^255);break}k=b+12|0;kw(f|0,k|0,500)|0;fw(k|0,0,500)|0;k=b+4|0;c[(k&p)>>2]=0;h=g+1|0;j=0;do{i=f+(j<<2)|0;e=c[(i&p)>>2]|0;if(!((e|0)==0|(e|0)==(h|0))){g=((e+-1|0)>>>0)%125|0;c[(k&p)>>2]=(c[(k&p)>>2]|0)+1;e=b+(g<<2)+12|0;if(c[(e&p)>>2]|0)do{e=g+1|0;g=e>>>0>124?0:e;e=b+(g<<2)+12|0}while((c[(e&p)>>2]|0)!=0);c[(e&p)>>2]=c[(i&p)>>2]}j=j+1|0}while((j|0)!=125)}while(0);return}function di(a,b){a=a|0;b=b|0;var e=0,f=0;a:do if((a|0)!=0?(e=b+-1|0,e>>>0<(c[(a&p)>>2]|0)>>>0):0){while(1){b=c[(a&p)+8>>2]|0;if(!b)break;a=c[(a+(((e>>>0)/(b>>>0)|0)<<2)&p)+12>>2]|0;if(!a){e=0;break a}else e=(e>>>0)%(b>>>0)|0}if((c[(a&p)>>2]|0)>>>0<4001){e=((d[(a+(e>>>3)&n)+12>>0]|0)&1<<(e&7)|0)!=0&1;break}f=e+1|0;e=(e>>>0)%125|0;b=c[(a+(e<<2)&p)+12>>2]|0;if(b)while(1){if((b|0)==(f|0)){e=1;break a}e=((e+1|0)>>>0)%125|0;b=c[(a+(e<<2)&p)+12>>2]|0;if(!b){e=0;break}}else e=0}else e=0;while(0);return e|0}function ei(a){a=a|0;var b=0,d=0;if(a){if(c[(a&p)+8>>2]|0){b=a+12|0;d=0;do{ei(c[(b+(d<<2)&p)>>2]|0);d=d+1|0}while((d|0)!=125)}Wc(a)}return}function fi(b,c){b=b|0;c=c|0;var f=0;a:do if((c|0)>=2?(f=a[((((d[((d[(b&n)>>0]|0)&n)+9328>>0]|0)<<2^c^(d[((d[(b+c+-1&n)>>0]|0)&n)+9328>>0]|0)*3|0)%127|0)&n)+11824>>0]|0,f<<24>>24!=0):0){f=f&255;while(1){f=f+-1|0;if((d[(f&n)+12080>>0]|0|0)==(c|0)?(Fc(11264+(e[(f<<1&o)+12208>>1]|0)|0,b,c)|0)==0:0)break;f=a[(f&n)+11952>>0]|0;if(!(f<<24>>24)){f=27;break a}else f=f&255}f=d[(f&n)+12456>>0]|0}else f=27;while(0);return f|0}function gi(a){a=a|0;var b=0,d=0,e=0;c[2174]=a;if((c[2184]|0)>>>0<a>>>0)c[2184]=a;d=c[2264]|0;if((d|0)==0|(c[2235]|0)<(a|0)){b=qg(a,((a|0)<0)<<31>>31)|0;if((c[2186]|0)!=0&(b|0)!=0?(e=lc[c[8792>>2]&127](b)|0,e=(c[2170]|0)+e|0,c[2170]=e,e>>>0>(c[2180]|0)>>>0):0)c[2180]=e}else{b=c[2263]|0;c[2263]=c[(b&p)>>2];c[2264]=d+-1;a=(c[2169]|0)+1|0;c[2169]=a;if(a>>>0>(c[2179]|0)>>>0)c[2179]=a}return b|0}function hi(a){a=a|0;var b=0;do if(a){if((c[2234]|0)>>>0<=a>>>0&(c[2262]|0)>>>0>a>>>0){c[(a&p)>>2]=c[2263];c[2263]=a;c[2264]=(c[2264]|0)+1;c[2169]=(c[2169]|0)+-1;break}if(!(c[2186]|0)){cc[c[8784>>2]&31](a);break}else{b=lc[c[8792>>2]&127](a)|0;c[2170]=(c[2170]|0)-b;c[2166]=(c[2166]|0)-b;c[2175]=(c[2175]|0)+-1;cc[c[8784>>2]&31](a);break}}while(0);return}function ii(b,e,f){b=b|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();h=l;g=a[(b&n)>>0]|0;a:do if(((g&255)+-48|0)>>>0>=10){k=g;g=b;while(1){h=g+1|0;if(!(k<<24>>24))break;k=a[(h&n)>>0]|0;g=h}k=g-b&1073741823;g=7-e|0;if((g|0)>0){h=0;while(1){if((d[(h&n)+11248>>0]|0|0)==(k|0)?(Fc(11216+(d[(h&n)+11240>>0]|0)|0,b,k)|0)==0:0){f=h;break}h=h+1|0;if((h|0)>=(g|0))break a}f=a[(f&n)+11256>>0]|0}}else{c[(h&p)>>2]=0;Dn(b,h)|0;f=c[(h&p)>>2]&255}while(0);i=l;return f|0}function ji(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=a[(b&n)>>0]|0;do if(e<<24>>24==48){f=a[(b&n)+1>>0]|0;if(!(f<<24>>24==88|f<<24>>24==120))if(!b){e=0;k=15;break}else{g=e;e=b;k=12;break}e=a[(b&n)+2>>0]|0;if(!(a[(e&255&n)+10368>>0]&8)){g=48;e=b;k=12}else{g=2;while(1){f=g+1|0;if(e<<24>>24!=48)break;e=a[(b+f&n)>>0]|0;g=f}if(!(a[(e&255&n)+10368>>0]&8)){h=b+g|0;i=0;e=0;f=g}else{i=0;h=0;f=g;while(1){i=iw(i|0,h|0,4)|0;j=G;h=e<<24>>24;i=(0-(h>>>6&1)&9)+h&15|i;f=f+1|0;h=b+f|0;e=a[(h&n)>>0]|0;if(!(a[(e&255&n)+10368>>0]&8)){e=j;break}else h=j}}j=d;c[(j&p)>>2]=i;c[(j&p)+4>>2]=e;if(!(a[(h&n)>>0]|0))e=(f-g|0)<17;else e=0;e=e&1^1}}else{g=e;e=b;k=12}while(0);if((k|0)==12){while(1){f=e+1|0;if(!(g<<24>>24))break;g=a[(f&n)>>0]|0;e=f;k=12}e=e-b&1073741823;k=15}if((k|0)==15)e=Ul(b,d,e,1)|0;return e|0}function ki(d,f,g,h,k){d=d|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;G=i;i=i+1264|0;if((i|0)>=(j|0))fa();E=G;D=G+152|0;x=G+742|0;y=G+76|0;u=G+228|0;r=h&-256;v=h&16;C=h&8;w=h&4;q=h&1;z=h&2;if((w|0)!=0?(r|0)==524288|(r|0)==2048|(r|0)==16384:0)B=1;else B=0;A=c[12114]|0;if((A|0)!=(rb()|0)?(c[12114]=rb()|0,(Lc()|0)==0):0)a[9064]=0;s=g+0|0;t=s+44|0;do{c[(s&p)>>2]=0;s=s+4|0}while((s|0)<(t|0));A=(r|0)==256;do if(A){a:do if((rc[c[47604>>2]&127](f,E)|0)==0?(l=c[12178]|0,(l|0)!=0):0){r=c[(E&p)>>2]|0;s=c[(E&p)+72>>2]|0;while(1){if((c[(l&p)>>2]|0)==(r|0)?(c[(l&p)+4>>2]|0)==(s|0):0)break;l=c[(l&p)+32>>2]|0;if(!l){F=18;break a}}r=l+28|0;l=c[(r&p)>>2]|0;if(l){while(1){t=r;r=l+8|0;s=l;l=c[(r&p)>>2]|0;if((c[(s&p)+4>>2]|0)==(h|0)){r=t;break}if(!l){F=18;break a}}c[(r&p)>>2]=l;u=c[(s&p)>>2]|0;l=s}else F=18}else F=18;while(0);if((F|0)==18){l=Tc(12)|0;if(!l){l=7;break}else u=-1}c[(g&p)+28>>2]=l;r=w<<4|z;l=(v|0)!=0;if((u|0)<0){w=l;v=l?r|131200:r;l=f;F=23}else{t=u;l=f;F=36}}else{if(!f){l=_n(514,u)|0;if(!l)l=u;else break}else l=f;F=w<<4|z;v=(v|0)!=0;w=v;v=v?F|131200:F;F=23}while(0);b:do if((F|0)==23){if(!(h&526336)){r=(C|0)==0?0:384;u=0;t=0}else{if(!l)r=0;else{r=l;while(1)if(!(a[(r&n)>>0]|0))break;else r=r+1|0;r=r-l&1073741823}do r=r+-1|0;while((a[(l+r&n)>>0]|0)!=45);kw(x|0,l|0,r|0)|0;a[(x+r&n)>>0]=0;if(rc[c[47604>>2]&127](x,y)|0){l=1802;break}r=c[(y&p)+12>>2]&511;u=c[(y&p)+20>>2]|0;t=c[(y&p)+24>>2]|0}s=$n(l,v,r)|0;do if((s|0)<0){if(!(w|((z|0)==0|(c[((Hb()|0)&p)>>2]|0)==21))?(m=$n(l,v&131200,r)|0,(m|0)>=0):0){h=h&-8|1;q=1;break}c[(E&p)>>2]=31186;c[(E&p)+4>>2]=10788;bd(14,14848,E);l=co(14,47896,l,31186)|0;if(!l){l=0;break b}m=g+28|0;F=70;break b}else m=s;while(0);if(!(h&526336)){t=m;F=36}else{ac[c[47796>>2]&63](m,u,t)|0;t=m;F=36}}while(0);c:do if((F|0)==36){if(k)c[(k&p)>>2]=h;u=g+28|0;m=c[(u&p)>>2]|0;if(m){c[(m&p)>>2]=t;c[(m&p)+4>>2]=h}if(C)lc[c[47748>>2]&127](l)|0;l=C<<2;l=(q|0)==0?l:l|2;l=A?l:l|128;l=B?l|8:l;C=l|h&64;c[(g&p)+12>>2]=t;c[(g&p)+4>>2]=d;c[(g&p)+32>>2]=f;m=g+18|0;b[(m&o)>>1]=C&255;if(fg((C&64|0)!=0?f:0,48496,1)|0)b[(m&o)>>1]=e[(m&o)>>1]|16;if(!(_v(c[(d&p)+16>>2]|0,1e4)|0))b[(m&o)>>1]=e[(m&o)>>1]|1;d:do if(!(l&128)){l=rc[c[(c[(d&p)+20>>2]&p)>>2]&127](f,g)|0;if((l|0)!=48504){if((l|0)!=47472){F=64;break}m=(gw(f|0)|0)+6|0;l=Tc(m)|0;if(l){c[(E&p)>>2]=f;ad(m,l,48584,E)|0;c[(g&p)+24>>2]=l;c[(g&p)+20>>2]=0;l=47472;break}c[(g&p)+24>>2]=0;c[(g&p)+20>>2]=0;if((t|0)<=-1){m=u;l=7;F=70;break c}ao(g,t,30794);m=u;l=7;F=70;break c}do if(!(rc[c[47616>>2]&127](c[(g&p)+12>>2]|0,D)|0)){l=E;c[(l&p)>>2]=0;c[(l&p)+4>>2]=0;c[(E&p)>>2]=c[(D&p)>>2];c[(E&p)+4>>2]=c[(D&p)+72>>2];l=c[12178]|0;e:do if(!l)F=53;else{while(1){if(!(Zv(E,l,8)|0))break;l=c[(l&p)+32>>2]|0;if(!l){F=53;break e}}E=l+16|0;c[(E&p)>>2]=(c[(E&p)>>2]|0)+1}while(0);if((F|0)==53){m=Tc(40)|0;if(!m){l=7;m=g+20|0;break}s=m+0|0;t=s+40|0;do{c[(s&p)>>2]=0;s=s+4|0}while((s|0)<(t|0));F=c[(E&p)+4>>2]|0;l=m;c[(l&p)>>2]=c[(E&p)>>2];c[(l&p)+4>>2]=F;c[(m&p)+16>>2]=1;c[(m&p)+32>>2]=c[12178];c[(m&p)+36>>2]=0;l=c[12178]|0;if(l)c[(l&p)+36>>2]=m;c[12178]=m;l=m}c[(g&p)+8>>2]=l;l=48504;F=64;break d}else{l=c[((Hb()|0)&p)>>2]|0;m=g+20|0;c[(m&p)>>2]=l;l=(l|0)==75?22:10}while(0);ao(g,t,30709);c[(m&p)>>2]=0;m=u;F=70;break c}else{l=48376;F=64}while(0);if((F|0)==64)c[(g&p)+20>>2]=0;c[(g&p)>>2]=l;bo(g);l=0}while(0);if((F|0)==70)Wc(c[(m&p)>>2]|0);i=G;return l|0}function li(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;do if((lc[c[47748>>2]&127](b)|0)==-1)if((c[((Hb()|0)&p)>>2]|0)==2)a=5898;else a=co(2570,48032,b,31314)|0;else if(d&1){a=rc[c[47760>>2]&127](b,e)|0;if((a|0)==14){a=0;break}else if(a)break;if(!(Gb(c[(e&p)>>2]|0)|0))a=0;else a=co(1290,48488,b,31329)|0;if(lc[c[47568>>2]&127](c[(e&p)>>2]|0)|0)co(4106,47856,0,31331)|0}else a=0;while(0);i=f;return a|0}function mi(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+80|0;if((i|0)>=(j|0))fa();f=g;if((d|0)==2)a=4;else if((d|0)==1)a=6;else a=0;a=(rc[c[47580>>2]&127](b,a)|0)==0;c[(e&p)>>2]=a&1;if((!((d|0)!=0|a^1)?(rc[c[47604>>2]&127](b,f)|0)==0:0)?(c[(f&p)+36>>2]|0)==0:0)c[(e&p)>>2]=0;i=g;return 0}function ni(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();g=h;b=e+-1|0;a[(f+b&n)>>0]=0;do if((a[(d&n)>>0]|0)!=47)if(!(rc[c[47592>>2]&127](f,b)|0)){c[(g&p)>>2]=31416;c[(g&p)+4>>2]=10788;bd(14,14848,g);b=co(14,47904,d,31416)|0;break}else{b=gw(f|0)|0;c[(g&p)>>2]=d;ad(e-b|0,f+b|0,48480,g)|0;b=0;break}else{c[(g&p)>>2]=d;ad(e,f,10344,g)|0;b=0}while(0);i=h;return b|0}function oi(a,b){a=a|0;b=b|0;return Db(b|0,258)|0}function pi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))fa();e=f;a=Xa()|0;if(a){c[(e&p)>>2]=a;ad(b,d,10344,e)|0}i=f;return}function qi(a,b,c){a=a|0;b=b|0;c=c|0;return $a(b|0,c|0)|0}function ri(a,b){a=a|0;b=b|0;Eb(b|0)|0;return}function si(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))fa();f=g;fw(e|0,0,d|0)|0;c[12114]=rb()|0;b=$n(48464,0,0)|0;if((b|0)>=0){do if((ac[c[47652>>2]&63](b,e,d)|0)>=0)break;while((c[((Hb()|0)&p)>>2]|0)==4);if(lc[c[47568>>2]&127](b)|0)co(4106,47856,0,31521)|0}else{Pb(f|0)|0;d=c[(f&p)>>2]|0;a[(e&n)>>0]=d;a[(e&n)+1>>0]=d>>8;a[(e&n)+2>>0]=d>>16;a[(e&n)+3>>0]=d>>24;d=e+4|0;b=c[12114]|0;a[(d&n)>>0]=b;a[(d&n)+1>>0]=b>>8;a[(d&n)+2>>0]=b>>16;a[(d&n)+3>>0]=b>>24;d=8}i=g;return d|0}function ti(a,b){a=a|0;b=b|0;a=(b+999999|0)/1e6|0;Mb(a|0)|0;return a*1e6|0}function ui(a,b){a=a|0;b=b|0;var d=0,e=0;a=i;i=i+16|0;if((i|0)>=(j|0))fa();e=a;d=e;c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;d=wi(0,e)|0;h[(b&q)>>3]=(+((c[(e&p)>>2]|0)>>>0)+4294967296.0*+(c[(e&p)+4>>2]|0))/864.0e5;i=a;return d|0}function vi(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function wi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;if((i|0)>=(j|0))fa();a=d;if(!(Sb(a|0,0)|0)){f=c[(a&p)>>2]|0;f=sw(f|0,((f|0)<0)<<31>>31|0,1e3,0)|0;f=jw(f|0,G|0,1045635584,49096)|0;e=(c[(a&p)+4>>2]|0)/1e3|0;e=jw(f|0,G|0,e|0,((e|0)<0)<<31>>31|0)|0;a=b;c[(a&p)>>2]=e;c[(a&p)+4>>2]=G;a=0}else a=1;i=d;return a|0}function xi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;a:do if(!b){a=0;do{b=c[((a*12|0)&p)+47560>>2]|0;if(b)c[((a*12|0)&p)+47556>>2]=b;a=a+1|0}while((a|0)!=25);b=0}else{a=0;while(1){if(!(_v(b,c[((a*12|0)&p)+47552>>2]|0)|0)){e=a;break}a=a+1|0;if(a>>>0>=25){b=12;break a}}b=47560+(e*12|0)|0;a=c[(b&p)>>2]|0;if(!a){a=c[((e*12|0)&p)+47556>>2]|0;c[(b&p)>>2]=a}c[((e*12|0)&p)+47556>>2]=(d|0)==0?a:d;b=0}while(0);return b|0}function yi(a,b){a=a|0;b=b|0;var d=0;a=0;while(1){if(!(_v(b,c[((a*12|0)&p)+47552>>2]|0)|0)){d=4;break}a=a+1|0;if(a>>>0>=25){a=0;break}}if((d|0)==4)a=c[((a*12|0)&p)+47556>>2]|0;return a|0}function zi(a,b){a=a|0;b=b|0;var d=0,e=0;a:do if(!b)a=-1;else{d=0;while(1){a=d+1|0;if(!(_v(b,c[((d*12|0)&p)+47552>>2]|0)|0)){a=d;break a}if((a|0)<24)d=a;else break}}while(0);while(1){a=a+1|0;if((a|0)>=25){a=0;break}if(c[((a*12|0)&p)+47556>>2]|0){e=6;break}}if((e|0)==6)a=c[((a*12|0)&p)+47552>>2]|0;return a|0}function Ai(a,b){a=a|0;b=b|0;return 48504}function Bi(a,b){a=a|0;b=b|0;return 48376}function Ci(a,b){a=a|0;b=b|0;return 47472}function Di(a){a=a|0;var b=0,d=0;b=c[(a&p)+4>>2]|0;if(b)do{d=b;b=c[(b&p)>>2]|0;Wc(d)}while((b|0)!=0);b=a+0|0;d=b+40|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(d|0));c[(a&p)>>2]=14696;return 0}function Ei(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;l=a+24|0;k=l;if(((c[(k&p)>>2]|0)!=(e|0)?1:(c[(k&p)+4>>2]|0)!=(f|0))|(e|0)==0&(f|0)==0){g=c[(a&p)+4>>2]|0;if(!((g|0)==0|((f|0)<0|(f|0)==0&e>>>0<1020))){h=1020;i=0;do{h=jw(h|0,i|0,1020,0)|0;i=G;g=c[(g&p)>>2]|0}while(!((g|0)==0|((i|0)>(f|0)|(i|0)==(f|0)&h>>>0>e>>>0)))}}else g=c[(a&p)+32>>2]|0;j=rw(e|0,f|0,1020,0)|0;k=d;h=b;while(1){b=1020-j|0;i=(k|0)<(b|0)?k:b;kw(h|0,g+j+4|0,i|0)|0;k=k-b|0;if((k|0)<=-1)break;g=c[(g&p)>>2]|0;if(!((g|0)!=0&(k|0)>0))break;else{j=0;h=h+i|0}}f=jw(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0;d=l;c[(d&p)>>2]=f;c[(d&p)+4>>2]=G;c[(a&p)+32>>2]=g;return 0}function Fi(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;a:do if((d|0)>0){i=a+8|0;j=a+16|0;h=a+4|0;e=i;f=c[(e&p)>>2]|0;e=c[(e&p)+4>>2]|0;while(1){a=c[(j&p)>>2]|0;e=rw(f|0,e|0,1020,0)|0;g=1020-e|0;g=(d|0)<(g|0)?d:g;if(!e){f=Tc(1024)|0;if(!f){e=3082;break a}c[(f&p)>>2]=0;if(!a){c[(h&p)>>2]=f;a=f}else{c[(a&p)>>2]=f;a=f}c[(j&p)>>2]=a}kw(a+e+4|0,b|0,g|0)|0;d=d-g|0;f=i;f=jw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,g|0,((g|0)<0)<<31>>31|0)|0;e=G;a=i;c[(a&p)>>2]=f;c[(a&p)+4>>2]=e;if((d|0)<=0){e=0;break}else b=b+g|0}}else e=0;while(0);return e|0}function Gi(a,b,d){a=a|0;b=b|0;d=d|0;b=c[(a&p)+4>>2]|0;if(b)do{d=b;b=c[(b&p)>>2]|0;Wc(d)}while((b|0)!=0);d=a+0|0;b=d+40|0;do{c[(d&p)>>2]=0;d=d+4|0}while((d|0)<(b|0));c[(a&p)>>2]=14696;return 0}function Hi(a,b){a=a|0;b=b|0;return 0}function Ii(a,b){a=a|0;b=b|0;var d=0,e=0;e=a+8|0;d=c[(e&p)+4>>2]|0;a=b;c[(a&p)>>2]=c[(e&p)>>2];c[(a&p)+4>>2]=d;return 0}function Ji(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{c[(a&p)>>2]=0;a=a+4|0}while((a|0)<(b|0));if(c[2187]|0){c[3146]=8;c[3159]=8}c[3149]=10;c[3153]=1;return 0}function Ki(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{c[(a&p)>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Li(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=qg(48,0)|0;if(f){g=f+0|0;h=g+48|0;do{a[(g&n)>>0]=0;g=g+1|0}while((g|0)<(h|0));c[(f&p)>>2]=12584;c[(f&p)+4>>2]=b;c[(f&p)+8>>2]=d;e=(e|0)!=0;c[(f&p)+12>>2]=e&1;eo(f);if(e){c[(f&p)+16>>2]=10;e=c[3148]|0;c[3148]=e+10;c[3149]=(c[3147]|0)+10+(-10-e)}if(!(c[(f&p)+40>>2]|0)){Si(f);f=0}}else f=0;return f|0}function Mi(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(c[(a&p)+12>>2]|0){d=c[(a&p)>>2]|0;e=a+20|0;g=d+4|0;f=(c[(g&p)>>2]|0)+(b-(c[(e&p)>>2]|0))|0;c[(g&p)>>2]=f;c[(d&p)+12>>2]=f+10-(c[(d&p)+8>>2]|0);c[(e&p)>>2]=b;c[(a&p)+24>>2]=((b*9|0)>>>0)/10|0;fo(d)}return}function Ni(a){a=a|0;return c[(a&p)+36>>2]|0}function Oi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[((c[(b&p)+44>>2]|0)+(((d>>>0)%((c[(b&p)+40>>2]|0)>>>0)|0)<<2)&p)>>2]|0;a:do if(f){while(1){if((c[(f&p)+8>>2]|0)==(d|0))break;f=c[(f&p)+16>>2]|0;if(!f){g=6;break a}}if(!(a[(f&n)+12>>0]|0))go(f)}else g=6;while(0);if((g|0)==6)if(!e)f=0;else f=ho(b,d,e)|0;return f|0}function Pi(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;g=c[(b&p)>>2]|0;if((e|0)==0?(c[(g&p)+16>>2]|0)>>>0<=(c[(g&p)+4>>2]|0)>>>0:0){e=g+20|0;f=c[(e&p)>>2]|0;if(!f)c[(g&p)+24>>2]=d;else{c[(f&p)+28>>2]=d;c[(d&p)+24>>2]=f}c[(e&p)>>2]=d;f=b+32|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;a[(d&n)+12>>0]=0}else{g=c[(d&p)+20>>2]|0;e=(c[(g&p)+44>>2]|0)+((((c[(d&p)+8>>2]|0)>>>0)%((c[(g&p)+40>>2]|0)>>>0)|0)<<2)|0;while(1){b=c[(e&p)>>2]|0;f=b+16|0;if((b|0)==(d|0))break;else e=f}c[(e&p)>>2]=c[(f&p)>>2];f=g+36|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;io(d)}return}function Qi(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=c[(a&p)+40>>2]|0;h=a+44|0;d=(c[(h&p)>>2]|0)+(((d>>>0)%(g>>>0)|0)<<2)|0;while(1){f=c[(d&p)>>2]|0;if((f|0)==(b|0))break;else d=f+16|0}f=b+16|0;c[(d&p)>>2]=c[(f&p)>>2];c[(b&p)+8>>2]=e;d=(c[(h&p)>>2]|0)+(((e>>>0)%(g>>>0)|0)<<2)|0;c[(f&p)>>2]=c[(d&p)>>2];c[(d&p)>>2]=b;d=a+28|0;if((c[(d&p)>>2]|0)>>>0<e>>>0)c[(d&p)>>2]=e;return}function Ri(a,b){a=a|0;b=b|0;var d=0;d=a+28|0;if((c[(d&p)>>2]|0)>>>0>=b>>>0){jo(a,b);c[(d&p)>>2]=b+-1}return}function Si(a){a=a|0;var b=0,d=0,e=0,f=0;b=c[(a&p)>>2]|0;jo(a,0);f=b+4|0;e=(c[(f&p)>>2]|0)-(c[(a&p)+20>>2]|0)|0;c[(f&p)>>2]=e;f=b+8|0;d=(c[(f&p)>>2]|0)-(c[(a&p)+16>>2]|0)|0;c[(f&p)>>2]=d;c[(b&p)+12>>2]=e+10-d;fo(b);Wc(c[(a&p)+44>>2]|0);Wc(a);return}function Ti(a){a=a|0;var b=0,d=0;if(c[(a&p)+12>>2]|0){d=c[(a&p)>>2]|0;a=d+4|0;b=c[(a&p)>>2]|0;c[(a&p)>>2]=0;fo(d);c[(a&p)>>2]=b}return}function Ui(a){a=a|0;var b=0,d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();d=e;b=a+7&-8;a=Wv(b+8|0)|0;if(!a){c[(d&p)>>2]=b;bd(7,16568,d)}else{d=a;c[(d&p)>>2]=b;c[(d&p)+4>>2]=((b|0)<0)<<31>>31;a=a+8|0}i=e;return a|0}function Vi(a){a=a|0;Xv(a+-8|0);return}function Wi(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;e=a+-8|0;d=Yv(e,b+8|0)|0;if(!d){if(!a)e=0;else e=c[(e&p)>>2]|0;c[(f&p)>>2]=e;c[(f&p)+4>>2]=b;bd(7,16528,f)}else{e=d;c[(e&p)>>2]=b;c[(e&p)+4>>2]=((b|0)<0)<<31>>31;d=d+8|0}i=g;return d|0}function Xi(a){a=a|0;if(!a)a=0;else a=c[(a+-8&p)>>2]|0;return a|0}function Yi(a){a=a|0;return a+7&-8|0}function Zi(a){a=a|0;return 0}function _i(a){a=a|0;return}function $i(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,q=0,r=0,s=0,t=0;i=c[(g&p)>>2]|0;do if((-1431655766>>>(e[(i&o)+8>>1]&31)&1|0)==0?(h=Sg(i,1)|0,(h|0)!=0):0){i=Tg(c[(g&p)>>2]|0,1)|0;if((f|0)!=1){r=Sg(c[(g&p)+4>>2]|0,1)|0;if(!r)break;f=a[(r&n)>>0]|0;if(f<<24>>24){g=0;j=r;while(1){l=j+1|0;if((f&255)>191){k=j;j=l;while(1){f=a[(j&n)>>0]|0;if((f&-64)<<24>>24==-128){q=j;j=k+2|0;k=q}else break}}else{f=a[(l&n)>>0]|0;j=l}k=g+1|0;if(!(f<<24>>24)){f=k;break}else g=k}if((g|0)>-1){m=sw(f|0,((f|0)<0)<<31>>31|0,5,0)|0;m=ko(b,m,G)|0;if(!m)break;f=m+(f<<2)|0;if(a[(r&n)>>0]|0){j=r;g=0;while(1){c[(m+(g<<2)&p)>>2]=j;l=j+1|0;if((d[(j&n)>>0]|0)>191){k=j;while(1)if((a[(l&n)>>0]&-64)<<24>>24==-128){q=l;l=k+2|0;k=q}else break}a[(f+g&n)>>0]=l-j;k=g+1|0;if(!(a[(l&n)>>0]|0))break;else{j=l;g=k}}if((g|0)>-1){q=k;s=17}}}}}else{f=20360;m=20368;q=1;r=0;s=17}if((s|0)==17){g=c[((c[(b&p)+4>>2]|0)&p)+4>>2]|0;a:do if((g&1|0)!=0&(i|0)>0){j=(q|0)>0;do{if(j)k=0;else{s=24;break a}while(1){l=d[(f+k&n)>>0]|0;if((i|0)>=(l|0)?(Zv(h,c[(m+(k<<2)&p)>>2]|0,l)|0)==0:0)break;k=k+1|0;if((k|0)>=(q|0)){s=24;break a}}h=h+l|0;i=i-l|0}while((i|0)>0)}else s=24;while(0);b:do if((s|0)==24)if((g&2|0)!=0&(i|0)>0){l=(q|0)>0;do{if(l)j=0;else break b;while(1){k=d[(f+j&n)>>0]|0;if((i|0)>=(k|0)?(t=i-k|0,(Zv(h+t|0,c[(m+(j<<2)&p)>>2]|0,k)|0)==0):0){i=t;break}j=j+1|0;if((j|0)>=(q|0))break b}}while((i|0)>0)}while(0);if(r)Wc(m)}Wg(b,h,i,1,-1)}while(0);return}function aj(a,b,d){a=a|0;b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0;j=((c[((c[(a&p)+4>>2]|0)&p)+4>>2]|0)!=0)<<31>>31;i=c[((c[((c[(a&p)+12>>2]|0)&p)+4>>2]|0)+(((c[(a&p)+16>>2]|0)+-1|0)*20|0)&p)+16>>2]|0;f=c[(d&p)>>2]|0;a:do if(!(-1431655766>>>((e[(f&o)+8>>1]|0)&31)&1)){if((b|0)>1){h=1;f=0;do{g=c[(d+(h<<2)&p)>>2]|0;if(-1431655766>>>((e[(g&o)+8>>1]|0)&31)&1)break a;g=((hm(c[(d+(f<<2)&p)>>2]|0,g,i)|0)^j|0)>-1;f=g?h:f;h=h+1|0}while((h|0)<(b|0));f=c[(d+(f<<2)&p)>>2]|0}_g(c[(a&p)>>2]|0,f)|0}while(0);return}function bj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0;i=c[(g&p)>>2]|0;f=c[(d&p)+8>>2]|0;if(!(b[(f&o)+8>>1]&8192))f=lh(d,40)|0;else f=c[(f&p)+16>>2]|0;do if(f){h=(b[(f&o)+8>>1]|0)!=0;if(-1431655766>>>(e[((c[(g&p)>>2]|0)&o)+8>>1]&31)&1){if(!h)break;a[(d&n)+24>>0]=1;break}if(!h){c[(f&p)+32>>2]=c[((c[(d&p)>>2]|0)&p)+32>>2];_g(f,i)|0;break}h=(c[((c[(d&p)+4>>2]|0)&p)+4>>2]|0)!=0;g=hm(f,i,c[((c[((c[(d&p)+12>>2]|0)&p)+4>>2]|0)+(((c[(d&p)+16>>2]|0)+-1|0)*20|0)&p)+16>>2]|0)|0;if(!(h&(g|0)<0)?!((g|0)>0&(h^1)):0){a[(d&n)+24>>0]=1;break}_g(f,i)|0}while(0);return}function cj(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;do if(d){e=d+8|0;if(!((b[(e&o)>>1]|0)!=0?(_g(c[(a&p)>>2]|0,d)|0,(b[(e&o)>>1]&9312)!=0):0))f=7;if((f|0)==7?(c[(d&p)+24>>2]|0)==0:0)break;Qg(d)}while(0);return}function dj(a,b,f){a=a|0;b=b|0;f=f|0;b=d[((e[((c[(f&p)>>2]|0)&o)+8>>1]|0)&31&n)+10064>>0]|0;if((b|0)==3)b=20328;else if((b|0)==4)b=20344;else if((b|0)==2)b=20336;else if((b|0)==1)b=20320;else b=20352;Wg(a,b,-1,1,0);return}function ej(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;g=c[(h&p)>>2]|0;h=d[((e[(g&o)+8>>1]|0)&31&n)+10064>>0]|0;do if((h|0)==3){i=Sg(g,1)|0;if(i){g=a[(i&n)>>0]|0;if(!(g<<24>>24)){j=0;i=0}else{h=g;g=0;do{g=g+1|0;k=i+1|0;if((h&255)>191){j=i;i=k;while(1){h=a[(i&n)>>0]|0;if((h&-64)<<24>>24==-128){h=i;i=j+2|0;j=h}else break}}else{h=a[(k&n)>>0]|0;i=k}}while(h<<24>>24!=0);j=g;i=((g|0)<0)<<31>>31}g=c[(f&p)>>2]|0;h=g+8|0;if(!(b[(h&o)>>1]&9312)){c[(g&p)>>2]=j;c[(g&p)+4>>2]=i;b[(h&o)>>1]=4;break}else{Zg(g,j,i);break}}}else if((h|0)==2|(h|0)==1|(h|0)==4){j=Tg(g,1)|0;i=c[(f&p)>>2]|0;g=((j|0)<0)<<31>>31;h=i+8|0;if(!(b[(h&o)>>1]&9312)){c[(i&p)>>2]=j;c[(i&p)+4>>2]=g;b[(h&o)>>1]=4;break}else{Zg(i,j,g);break}}else{h=c[(f&p)>>2]|0;g=h+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(h);break}}while(0);return}function fj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;g=c[(f&p)>>2]|0;h=b[(g&o)+8>>1]|0;i=f+4|0;e=b[((c[(i&p)>>2]|0)&o)+8>>1]|0;do if(!((-1431655766>>>(e&31)|-1431655766>>>(h&31))&1)){j=Tg(g,1)|0;l=Tg(c[(i&p)>>2]|0,1)|0;f=c[(f&p)>>2]|0;if(!((e|h)&15)){e=pd(f)|0;f=0;k=pd(c[(i&p)>>2]|0)|0}else{e=Sg(f,1)|0;f=1;k=Sg(c[(i&p)>>2]|0,1)|0}a:do if((l|0)>(j|0)){e=1;g=1}else{g=1;h=j;while(1){if(!(Zv(e,k,l)|0)){e=0;break a}g=g+1|0;i=(f|0)==0;do{h=h+-1|0;e=e+1|0;if(i){f=0;break}}while((a[(e&n)>>0]&-64)<<24>>24==-128);if((l|0)>(h|0)){e=1;break}}}while(0);h=c[(d&p)>>2]|0;f=e?0:g;e=e?0:((g|0)<0)<<31>>31;g=h+8|0;if(!(b[(g&o)>>1]&9312)){c[(h&p)>>2]=f;c[(h&p)+4>>2]=e;b[(g&o)>>1]=4;break}else{Zg(h,f,e);break}}while(0);return}function gj(d,f,g){d=d|0;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,t=0;h=c[(g&p)+4>>2]|0;do if(!(-1431655766>>>((e[(h&o)+8>>1]|0)&31)&1)){r=(f|0)==3;if(r?(-1431655766>>>((e[((c[(g&p)+8>>2]|0)&o)+8>>1]|0)&31)&1|0)!=0:0)break;t=b[((c[(g&p)>>2]|0)&o)+8>>1]|0;k=Vg(h)|0;l=((k|0)<0)<<31>>31;t=(t&15)==0;i=c[(g&p)>>2]|0;if(t){i=Tg(i,1)|0;j=pd(c[(g&p)>>2]|0)|0;if(!j)break;else s=i}else{j=Sg(i,1)|0;if(!j)break;if((k|0)<0?(m=a[(j&n)>>0]|0,m<<24>>24!=0):0){i=0;h=j;do{q=h+1|0;if((m&255)>191){f=h;h=q;while(1){m=a[(h&n)>>0]|0;if((m&-64)<<24>>24==-128){s=h;h=f+2|0;f=s}else break}}else{m=a[(q&n)>>0]|0;h=q}i=i+1|0}while(m<<24>>24!=0);s=i}else s=0}if(r){q=Vg(c[(g&p)+8>>2]|0)|0;f=((q|0)<0)<<31>>31;r=(q|0)<0;h=dw(0,0,q|0,f|0)|0;h=r?h:q;f=r?G:f;q=q>>>31}else{f=c[((c[((c[(d&p)>>2]|0)&p)+32>>2]|0)&p)+88>>2]|0;h=f;f=((f|0)<0)<<31>>31;q=0}do if((k|0)<0){k=jw(s|0,((s|0)<0)<<31>>31|0,k|0,l|0)|0;l=G;if((l|0)<0){h=jw(h|0,f|0,k|0,l|0)|0;f=G;r=(f|0)<0;k=0;l=0;h=r?0:h;f=r?0:f}}else if((k|0)>0){k=jw(k|0,l|0,-1,-1)|0;l=G;break}else{r=((f|0)>0|(f|0)==0&h>>>0>0)<<31>>31;h=jw(r|0,((r|0)<0)<<31>>31|0,h|0,f|0)|0;f=G;break}while(0);if(!q){m=k;q=l}else{m=dw(k|0,l|0,h|0,f|0)|0;q=G;r=(q|0)<0;m=r?0:m;q=r?0:q;h=r?k:h;f=r?l:f}if(t){r=jw(h|0,f|0,m|0,q|0)|0;l=G;i=((s|0)<0)<<31>>31;if((l|0)>(i|0)|(l|0)==(i|0)&r>>>0>s>>>0){h=dw(s|0,i|0,m|0,q|0)|0;f=G;s=(f|0)<0;h=s?0:h;f=s?0:f}Bd(d,j+m|0,h,f,-1);break}i=a[(j&n)>>0]|0;if(((m|0)!=0|(q|0)!=0)&i<<24>>24!=0)do{l=j+1|0;if((i&255)>191){k=j;j=l;while(1){i=a[(j&n)>>0]|0;if((i&-64)<<24>>24==-128){s=j;j=k+2|0;k=s}else break}}else{i=a[(l&n)>>0]|0;j=l}m=jw(m|0,q|0,-1,-1)|0;q=G}while(((m|0)!=0|(q|0)!=0)&i<<24>>24!=0);if(i<<24>>24!=0&((h|0)!=0|(f|0)!=0)){m=f;f=j;do{k=f+1|0;if((i&255)>191)while(1){i=a[(k&n)>>0]|0;if((i&-64)<<24>>24==-128){s=k;k=f+2|0;f=s}else{f=k;break}}else{i=a[(k&n)>>0]|0;f=k}h=jw(h|0,m|0,-1,-1)|0;m=G}while(i<<24>>24!=0&((h|0)!=0|(m|0)!=0))}else f=j;s=f-j|0;Jd(d,j,s,((s|0)<0)<<31>>31,-1,1)}while(0);return}function hj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;l=i;i=i+48|0;if((i|0)>=(j|0))fa();h=l;k=l+32|0;g=l+4|0;if((d|0)>0?(f=Sg(c[(e&p)>>2]|0,1)|0,(f|0)!=0):0){c[(k&p)>>2]=d+-1;c[(k&p)+4>>2]=0;c[(k&p)+8>>2]=e+4;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0;c[(g&p)+8>>2]=0;c[(g&p)+12>>2]=0;c[(g&p)+16>>2]=0;c[(g&p)+20>>2]=1e9;a[(g&n)+24>>0]=1;a[(g&n)+25>>0]=0;c[(g&p)>>2]=c[((c[(b&p)>>2]|0)&p)+32>>2];c[(h&p)>>2]=k;En(g,2,f,h);f=c[(g&p)+12>>2]|0;Wg(b,tg(g)|0,f,1,75)}i=l;return}function ij(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();e=h;f=Sg(c[(f&p)>>2]|0,1)|0;c[(e&p)>>2]=f;do if((f|0)!=0?(a[(f&n)>>0]|0)!=0:0){g=Mn(e)|0;e=c[(d&p)>>2]|0;d=((g|0)<0)<<31>>31;f=e+8|0;if(!(b[(f&o)>>1]&9312)){c[(e&p)>>2]=g;c[(e&p)+4>>2]=d;b[(f&o)>>1]=4;break}else{Zg(e,g,d);break}}while(0);i=h;return}function jj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=Tc(d<<2|1)|0;if(!i)Rd(b);else{if((d|0)>0){h=0;f=i;do{g=Vg(c[(e+(h<<2)&p)>>2]|0)|0;j=G;g=j>>>0>0|(j|0)==0&g>>>0>1114111?65533:g&2097151;do if(g>>>0>=128){if(g>>>0<2048){a[(f&n)>>0]=g>>>6&31|192;a[(f&n)+1>>0]=g&63|128;f=f+2|0;break}if(g>>>0<65536){a[(f&n)>>0]=g>>>12&15|224;a[(f&n)+1>>0]=g>>>6&63|128;a[(f&n)+2>>0]=g&63|128;f=f+3|0;break}else{a[(f&n)>>0]=g>>>18|240;a[(f&n)+1>>0]=g>>>12&63|128;a[(f&n)+2>>0]=g>>>6&63|128;a[(f&n)+3>>0]=g&63|128;f=f+4|0;break}}else{a[(f&n)>>0]=g;f=f+1|0}while(0);h=h+1|0}while((h|0)!=(d|0))}else f=i;f=f-i|0;Jd(b,i,f,((f|0)<0)<<31>>31,1,1)}return}function kj(f,g,h){f=f|0;g=g|0;h=h|0;var i=0.0,j=0,k=0;g=c[(h&p)>>2]|0;h=d[((e[(g&o)+8>>1]|0)&31&n)+10064>>0]|0;a:do if((h|0)==1){g=Vg(g)|0;j=G;do if((j|0)<0)if((g|0)==0&(j|0)==-2147483648){c[(f&p)+20>>2]=1;a[(f&n)+25>>0]=1;Xg(c[(f&p)>>2]|0,20248,-1,1,-1)|0;break a}else{g=dw(0,0,g|0,j|0)|0;k=G;break}else k=j;while(0);h=c[(f&p)>>2]|0;j=h+8|0;if(!(b[(j&o)>>1]&9312)){c[(h&p)>>2]=g;c[(h&p)+4>>2]=k;b[(j&o)>>1]=4;break}else{Zg(h,g,k);break}}else if((h|0)==5){h=c[(f&p)>>2]|0;g=h+8|0;if(!(b[(g&o)>>1]&9312)){b[(g&o)>>1]=1;break}else{vg(h);break}}else{i=+Ug(g);if(i<0.0)i=-i;Yg(c[(f&p)>>2]|0,i)}while(0);return}function lj(b,d,f){b=b|0;d=d|0;f=f|0;var g=0.0,l=0,m=0,r=0,s=0,t=0,u=0;u=i;i=i+32|0;if((i|0)>=(j|0))fa();s=u+8|0;t=u;if((d|0)==2){d=c[(f&p)+4>>2]|0;if(!(-1431655766>>>(e[(d&o)+8>>1]&31)&1)){r=Vg(d)|0;r=(r|0)>30?30:r;r=(r|0)<0?0:r;m=4}}else{r=0;m=4}a:do if((m|0)==4?(l=c[(f&p)>>2]|0,(-1431655766>>>(e[(l&o)+8>>1]&31)&1|0)==0):0){g=+Ug(l);h[(t&q)>>3]=g;d=(r|0)==0;do if(d&g>=0.0&g<9223372036854775808.0){g=g+.5;g=+(~~g>>>0>>>0)+4294967296.0*+((+R(g)>=1.0?(g>0.0?~~+da(+Q(g/4294967296.0),4294967295.0)>>>0:~~+ba((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0);h[(t&q)>>3]=g}else{if(d&g<0.0&g>-9223372036854775808.0){g=.5-g;g=-(+(~~g>>>0>>>0)+4294967296.0*+((+R(g)>=1.0?(g>0.0?~~+da(+Q(g/4294967296.0),4294967295.0)>>>0:~~+ba((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0));h[(t&q)>>3]=g;break}c[(s&p)>>2]=r;d=s+4|0;h[(k&q)>>3]=g;c[(d&p)>>2]=c[(k&p)>>2];c[(d&p)+4>>2]=c[(k&p)+4>>2];d=_c(20312,s)|0;if(!d){Rd(b);break a}else l=d;while(1)if(!(a[(l&n)>>0]|0))break;else l=l+1|0;Tl(d,t,l-d&1073741823,1)|0;Wc(d);g=+h[(t&q)>>3]}while(0);Yg(c[(b&p)>>2]|0,g)}while(0);i=u;return}function mj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=Sg(c[(f&p)>>2]|0,1)|0;e=Tg(c[(f&p)>>2]|0,1)|0;if((g|0)!=0?(h=jw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,h=ko(b,h,G)|0,(h|0)!=0):0){if((e|0)>0){f=0;do{i=d[(g+f&n)>>0]|0;a[(h+f&n)>>0]=((d[(i&n)+10368>>0]|0|223)^32)&i;f=f+1|0}while((f|0)!=(e|0))}Wg(b,h,e,1,1)}return}function nj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0;g=Sg(c[(f&p)>>2]|0,1)|0;e=Tg(c[(f&p)>>2]|0,1)|0;if((g|0)!=0?(h=jw(e|0,((e|0)<0)<<31>>31|0,1,0)|0,h=ko(b,h,G)|0,(h|0)!=0):0){if((e|0)>0){f=0;do{a[(h+f&n)>>0]=a[((d[(g+f&n)>>0]|0)&n)+9328>>0]|0;f=f+1|0}while((f|0)!=(e|0))}Wg(b,h,e,1,1)}return}function oj(a,b,c){a=a|0;b=b|0;c=c|0;Wg(a,8632,-1,1,0);return}function pj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;e=pd(c[(f&p)>>2]|0)|0;i=Tg(c[(f&p)>>2]|0,1)|0;j=iw(i|0,((i|0)<0)<<31>>31|0,1)|0;j=ko(b,j|1,G)|0;if(j){if((i|0)>0){g=i<<1;h=0;f=j;while(1){k=d[(e&n)>>0]|0;a[(f&n)>>0]=a[(k>>>4&n)+20288>>0]|0;a[(f&n)+1>>0]=a[(k&15&n)+20288>>0]|0;h=h+1|0;if((h|0)==(i|0))break;else{e=e+1|0;f=f+2|0}}f=j+g|0}else f=j;a[(f&n)>>0]=0;Wg(b,j,i<<1,1,1)}return}function qj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();d=h;cd(8,d);f=d;e=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;if((f|0)<0){g=dw(0,0,e|0,f&2147483647|0)|0;f=G;c[(d&p)>>2]=g;c[(d&p)+4>>2]=f}else g=e;e=c[(a&p)>>2]|0;d=e+8|0;if(!(b[(d&o)>>1]&9312)){c[(e&p)>>2]=g;c[(e&p)+4>>2]=f;b[(d&o)>>1]=4}else Zg(e,g,f);i=h;return}function rj(a,b,d){a=a|0;b=b|0;d=d|0;d=Vg(c[(d&p)>>2]|0)|0;d=(d|0)<1?1:d;b=ko(a,d,((d|0)<0)<<31>>31)|0;if(b){cd(d,b);Wg(a,b,d,0,1)}return}function sj(a,b,d){a=a|0;b=b|0;d=d|0;if(hm(c[(d&p)>>2]|0,c[(d&p)+4>>2]|0,c[((c[((c[(a&p)+12>>2]|0)&p)+4>>2]|0)+(((c[(a&p)+16>>2]|0)+-1|0)*20|0)&p)+16>>2]|0)|0)_g(c[(a&p)>>2]|0,c[(d&p)>>2]|0)|0;return}function tj(a,b,c){a=a|0;b=b|0;c=c|0;Wg(a,10768,-1,1,0);return}function uj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;b=i;i=i+16|0;if((i|0)>=(j|0))fa();a=b;e=Vg(c[(d&p)>>2]|0)|0;c[(a&p)>>2]=Sg(c[(d&p)+4>>2]|0,1)|0;bd(e,10344,a);i=b;return}function vj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;d=Sg(c[(e&p)>>2]|0,1)|0;do if(d){f=Ec(d)|0;e=c[(a&p)>>2]|0;d=((f|0)<0)<<31>>31;a=e+8|0;if(!(b[(a&o)>>1]&9312)){c[(e&p)>>2]=f;c[(e&p)+4>>2]=d;b[(a&o)>>1]=4;break}else{Zg(e,f,d);break}}while(0);return}function wj(a,b,d){a=a|0;b=b|0;d=d|0;b=Vg(c[(d&p)>>2]|0)|0;if(b>>>0<4)b=c[(b<<2&p)+8648>>2]|0;else b=0;Wg(a,b,-1,1,0);return}function xj(b,f,g){b=b|0;f=f|0;g=g|0;var l=0,m=0.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();f=w+8|0;l=w;t=w+16|0;s=c[(g&p)>>2]|0;r=d[(e[(s&o)+8>>1]&31&n)+10064>>0]|0;if((r|0)==4){s=pd(s)|0;f=Tg(c[(g&p)>>2]|0,1)|0;l=iw(f|0,((f|0)<0)<<31>>31|0,1)|0;l=jw(l|0,G|0,4,0)|0;l=ko(b,l,G)|0;if(l){if((f|0)>0){r=0;do{g=s+r|0;t=r<<1;a[(l+t&n)+2>>0]=a[((d[(g&n)>>0]|0)>>>4&n)+20288>>0]|0;a[(l+t&n)+3>>0]=a[(d[(g&n)>>0]&15&n)+20288>>0]|0;r=r+1|0}while((r|0)!=(f|0))}f=f<<1;a[(l+f&n)+2>>0]=39;a[(l+f&n)+3>>0]=0;a[(l&n)>>0]=88;a[(l&n)+1>>0]=39;Wg(b,l,-1,1,-1);Wc(l)}}else if((r|0)==1)_g(c[(b&p)>>2]|0,s)|0;else if((r|0)==2){m=+Ug(s);h[(k&q)>>3]=m;c[(f&p)>>2]=c[(k&p)>>2];c[(f&p)+4>>2]=c[(k&p)+4>>2];ad(50,t,20272,f)|0;Tl(t,l,20,1)|0;if(m!=+h[(l&q)>>3]){h[(k&q)>>3]=m;c[(f&p)>>2]=c[(k&p)>>2];c[(f&p)+4>>2]=c[(k&p)+4>>2];ad(50,t,20280,f)|0}Wg(b,t,-1,1,-1)}else if((r|0)==3){v=Sg(s,1)|0;if(v){f=0;l=0;r=0;while(1){s=a[(v+r&n)>>0]|0;if(s<<24>>24==39){s=jw(f|0,l|0,1,0)|0;l=G}else if(!(s<<24>>24)){s=l;break}else s=f;f=s;r=r+1|0}u=jw(f|0,s|0,3,0)|0;u=jw(u|0,G|0,r|0,((r|0)<0)<<31>>31|0)|0;u=ko(b,u,G)|0;if(u){a[(u&n)>>0]=39;l=a[(v&n)>>0]|0;f=u+1|0;if(!(l<<24>>24))r=2;else{t=v;r=2;s=0;g=1;do{a[(f&n)>>0]=l;if((a[(t&n)>>0]|0)==39){a[(u+r&n)>>0]=39;g=g+2|0}else g=r;s=s+1|0;t=v+s|0;l=a[(t&n)>>0]|0;r=g+1|0;f=u+g|0}while(l<<24>>24!=0)}a[(f&n)>>0]=39;a[(u+r&n)>>0]=0;Wg(b,u,r,1,1)}}}else Wg(b,20304,4,1,0);i=w;return}function yj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[(a&p)>>2]|0;f=(c[(a&p)+32>>2]|0)+32|0;d=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;e=a+8|0;if(!(b[(e&o)>>1]&9312)){c[(a&p)>>2]=d;c[(a&p)+4>>2]=f;b[(e&o)>>1]=4}else Zg(a,d,f);return}function zj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[(a&p)>>2]|0;e=c[((c[(a&p)+32>>2]|0)&p)+80>>2]|0;d=((e|0)<0)<<31>>31;f=a+8|0;if(!(b[(f&o)>>1]&9312)){c[(a&p)>>2]=e;c[(a&p)+4>>2]=d;b[(f&o)>>1]=4}else Zg(a,e,d);return}function Aj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[(a&p)>>2]|0;e=c[((c[(a&p)+32>>2]|0)&p)+84>>2]|0;d=((e|0)<0)<<31>>31;f=a+8|0;if(!(b[(f&o)>>1]&9312)){c[(a&p)>>2]=e;c[(a&p)+4>>2]=d;b[(f&o)>>1]=4}else Zg(a,e,d);return}function Bj(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,u=0,v=0,w=0,x=0,y=0;v=Sg(c[(e&p)>>2]|0,1)|0;a:do if((v|0)!=0?(w=Tg(c[(e&p)>>2]|0,1)|0,g=e+4|0,u=Sg(c[(g&p)>>2]|0,1)|0,(u|0)!=0):0){if(!(a[(u&n)>>0]|0)){_g(c[(b&p)>>2]|0,c[(e&p)>>2]|0)|0;break}s=Tg(c[(g&p)>>2]|0,1)|0;g=e+8|0;r=Sg(c[(g&p)>>2]|0,1)|0;if((r|0)!=0?(t=Tg(c[(g&p)>>2]|0,1)|0,h=w+1|0,i=((h|0)<0)<<31>>31,f=ko(b,h,i)|0,(f|0)!=0):0){l=w-s|0;b:do if((l|0)>=0){m=t-s|0;o=((m|0)<0)<<31>>31;q=s+-1|0;e=0;k=0;while(1){g=v+e|0;d=a[(g&n)>>0]|0;if(d<<24>>24==(a[(u&n)>>0]|0)?(Zv(g,u,s)|0)==0:0){d=c[(b&p)>>2]|0;j=c[(d&p)+32>>2]|0;h=jw(h|0,i|0,m|0,o|0)|0;i=G;g=jw(h|0,i|0,-1,-1)|0;y=G;j=c[(j&p)+88>>2]|0;x=((j|0)<0)<<31>>31;if((y|0)>(x|0)|(y|0)==(x|0)&g>>>0>j>>>0){g=13;break}j=Xc(f,h)|0;if(!j){g=15;break}kw(j+k|0,r|0,t|0)|0;g=q+e|0;d=k+t|0;f=j}else{a[(f+k&n)>>0]=d;g=e;d=k+1|0}e=g+1|0;if((g|0)<(l|0))k=d;else break b}if((g|0)==13){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(d,10096,-1,1,0)|0;Wc(f);break a}else if((g|0)==15){Rd(b);Wc(f);break a}}else{e=0;d=0}while(0);m=w-e|0;kw(f+d|0,v+e|0,m|0)|0;m=d+m|0;a[(f+m&n)>>0]=0;Wg(b,f,m,1,1)}}while(0);return}function Cj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;d=Vg(c[(e&p)>>2]|0)|0;g=G;e=c[(f&p)+88>>2]|0;f=((e|0)<0)<<31>>31;if((g|0)>(f|0)|(g|0)==(f|0)&d>>>0>e>>>0){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,10096,-1,1,0)|0}else $g(c[(b&p)>>2]|0,d);return}function Dj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();h=k;f=Sg(c[(e&p)>>2]|0,1)|0;g=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;c[(h&p)>>2]=0;if((d|0)==2)d=Sg(c[(e&p)+4>>2]|0,1)|0;else d=0;if((f|0)!=0?(Te(g,f,d,h)|0)!=0:0){d=c[(h&p)>>2]|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,d,-1,1,-1)|0;Wc(c[(h&p)>>2]|0)}i=k;return}function Ej(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,l=0.0,m=0,r=0,s=0;e=c[(d&p)+8>>2]|0;if(!(b[(e&o)+8>>1]&8192))g=lh(d,32)|0;else g=c[(e&p)+16>>2]|0;d=He(c[(f&p)>>2]|0)|0;do if((g|0)!=0&(d|0)!=5){e=g+16|0;i=e;i=jw(c[(i&p)>>2]|0,c[(i&p)+4>>2]|0,1,0)|0;c[(e&p)>>2]=i;c[(e&p)+4>>2]=G;e=c[(f&p)>>2]|0;if((d|0)!=1){l=+Ug(e);h[(g&q)>>3]=l+ +h[(g&q)>>3];a[(g&n)+25>>0]=1;break}i=Vg(e)|0;j=G;h[(g&q)>>3]=+h[(g&q)>>3]+(+(i>>>0)+4294967296.0*+(j|0));k=g+24|0;if(!((a[(k&n)>>0]|a[(g&n)+25>>0])<<24>>24)){g=g+8|0;d=g;f=c[(d&p)>>2]|0;d=c[(d&p)+4>>2]|0;if((j|0)>-1|(j|0)==-1&i>>>0>4294967295){e=dw(-1,2147483647,f|0,d|0)|0;m=G;if(((d|0)>0|(d|0)==0&f>>>0>0)&((m|0)<(j|0)|(m|0)==(j|0)&e>>>0<i>>>0))e=12;else e=11}else if((d|0)<0?(m=dw(1,-2147483648,f|0,d|0)|0,s=G,e=jw(i|0,j|0,1,0)|0,r=G,(s|0)>(r|0)|(s|0)==(r|0)&m>>>0>e>>>0):0)e=12;else e=11;if((e|0)==11){d=jw(f|0,d|0,i|0,j|0)|0;e=g;c[(e&p)>>2]=d;c[(e&p)+4>>2]=G;break}else if((e|0)==12){a[(k&n)>>0]=1;break}}}while(0);return}function Fj(d){d=d|0;var e=0,f=0,g=0;e=c[(d&p)+8>>2]|0;if(!(b[(e&o)+8>>1]&8192))e=lh(d,0)|0;else e=c[(e&p)+16>>2]|0;do if((e|0)!=0?(f=e+16|0,g=c[(f&p)+4>>2]|0,(g|0)>0|(g|0)==0&(c[(f&p)>>2]|0)>>>0>0):0){if(a[(e&n)+24>>0]|0){c[(d&p)+20>>2]=1;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,20248,-1,1,-1)|0;break}if(a[(e&n)+25>>0]|0){Yg(c[(d&p)>>2]|0,+h[(e&q)>>3]);break}g=e+8|0;f=c[(g&p)>>2]|0;g=c[(g&p)+4>>2]|0;e=c[(d&p)>>2]|0;d=e+8|0;if(!(b[(d&o)>>1]&9312)){c[(e&p)>>2]=f;c[(e&p)+4>>2]=g;b[(d&o)>>1]=4;break}else{Zg(e,f,g);break}}while(0);return}function Gj(a){a=a|0;var d=0,e=0.0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;if(!d)e=0.0;else e=+h[(d&q)>>3];Yg(c[(a&p)>>2]|0,e);return}function Hj(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;if((d|0)!=0?(f=d+16|0,e=c[(f&p)>>2]|0,f=c[(f&p)+4>>2]|0,(f|0)>0|(f|0)==0&e>>>0>0):0)Yg(c[(a&p)>>2]|0,+h[(d&q)>>3]/(+(e>>>0)+4294967296.0*+(f|0)));return}function Ij(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0;g=c[(a&p)+8>>2]|0;if(!(b[(g&o)+8>>1]&8192))g=lh(a,8)|0;else g=c[(g&p)+16>>2]|0;if(!d){if(g)h=7}else if((g|0)!=0?(1431655765>>>((e[((c[(f&p)>>2]|0)&o)+8>>1]|0)&31)&1|0)!=0:0)h=7;if((h|0)==7){a=g;a=jw(c[(a&p)>>2]|0,c[(a&p)+4>>2]|0,1,0)|0;c[(g&p)>>2]=a;c[(g&p)+4>>2]=G}return}function Jj(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)+8>>2]|0;if(!(b[(d&o)+8>>1]&8192))d=lh(a,0)|0;else d=c[(d&p)+16>>2]|0;if(!d){e=0;f=0}else{f=d;e=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0}d=c[(a&p)>>2]|0;a=d+8|0;if(!(b[(a&o)>>1]&9312)){c[(d&p)>>2]=e;c[(d&p)+4>>2]=f;b[(a&o)>>1]=4}else Zg(d,e,f);return}function Kj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0;if(!(-1431655766>>>(e[((c[(g&p)>>2]|0)&o)+8>>1]&31)&1)){h=c[(d&p)+8>>2]|0;if(!(b[(h&o)+8>>1]&8192))i=lh(d,28)|0;else i=c[(h&p)+16>>2]|0;if(i){d=c[((c[(d&p)>>2]|0)&p)+32>>2]|0;j=i+24|0;h=(a[(j&n)>>0]|0)==0;a[(j&n)>>0]=2;c[(i&p)+20>>2]=c[(d&p)+88>>2];do if(!h){if((f|0)==2){f=g+4|0;h=Sg(c[(f&p)>>2]|0,1)|0;f=Tg(c[(f&p)>>2]|0,1)|0;if(!f)break}else{f=1;h=20240}Sk(i,h,f)}while(0);h=Sg(c[(g&p)>>2]|0,1)|0;f=Tg(c[(g&p)>>2]|0,1)|0;if(h)Sk(i,h,f)}}return}function Lj(d){d=d|0;var e=0,f=0;e=c[(d&p)+8>>2]|0;if(!(b[(e&o)+8>>1]&8192))e=lh(d,0)|0;else e=c[(e&p)+16>>2]|0;do if(e){f=a[(e&n)+25>>0]|0;if(f<<24>>24==1){Rd(d);break}else if(f<<24>>24==2){c[(d&p)+20>>2]=18;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,10096,-1,1,0)|0;break}else{Wg(d,tg(e)|0,-1,1,1);break}}while(0);return}function Mj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0;l=i;i=i+16|0;if((i|0)>=(j|0))fa();h=l;m=c[((c[(d&p)>>2]|0)&p)+32>>2]|0;g=Sg(c[(f&p)>>2]|0,1)|0;k=Sg(c[(f&p)+4>>2]|0,1)|0;q=Tg(c[(f&p)>>2]|0,1)|0;a:do if((q|0)<=(c[(m&p)+120>>2]|0)){do if((e|0)==3){f=Sg(c[(f&p)+8>>2]|0,1)|0;c[(h&p)>>2]=f;if(!f)break a;if((Nn(f,-1)|0)==1){f=Mn(h)|0;break}else{c[(d&p)+20>>2]=1;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,20192,-1,1,-1)|0;break a}}else f=0;while(0);if((k|0)!=0&(g|0)!=0){e=Gh(g,k,c[((c[(d&p)+4>>2]|0)&p)+4>>2]|0,f)|0;g=c[(d&p)>>2]|0;h=((e|0)<0)<<31>>31;f=g+8|0;if(!(b[(f&o)>>1]&9312)){c[(g&p)>>2]=e;c[(g&p)+4>>2]=h;b[(f&o)>>1]=4;break}else{Zg(g,e,h);break}}}else{c[(d&p)+20>>2]=1;a[(d&n)+25>>0]=1;Xg(c[(d&p)>>2]|0,20152,-1,1,-1)|0}while(0);i=l;return}function Nj(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;k=r+16|0;o=Sg(c[(e&p)>>2]|0,1)|0;l=Sg(c[(e&p)+4>>2]|0,1)|0;m=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;a:do if((o|0)!=0?(a[(o&n)>>0]|0)!=0:0){d=0;e=o;b:while(1){g=d;f=e;while(1){f=f+g|0;h=Cn(f,k)|0;g=c[(k&p)>>2]|0;if((g|0)==22|(g|0)==125)break b;else if((g|0)==151)g=h;else{e=f;d=h;break}}if(!(a[(e&n)>>0]|0))break a}c[(q&p)>>2]=e-o;c[(q&p)+4>>2]=o;c[(q&p)+8>>2]=l;c[(q&p)+12>>2]=e+d;Wg(b,uh(m,19464,q)|0,-1,1,75)}while(0);i=r;return}function Oj(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;t=i;i=i+32|0;if((i|0)>=(j|0))fa();s=t;m=t+16|0;r=Sg(c[(e&p)>>2]|0,1)|0;o=Sg(c[(e&p)+4>>2]|0,1)|0;q=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;a:do if((r|0)!=0?(a[(r&n)>>0]|0)!=0:0){l=3;d=0;e=r;while(1){g=d;f=e;do{f=f+g|0;g=Cn(f,m)|0;h=c[(m&p)>>2]|0}while((h|0)==151);k=g;g=(h|0)==122|(h|0)==107?0:l+1|0;if((g|0)==2)if((h|0)==5|(h|0)==46|(h|0)==137)break;else e=2;else e=g;if(!(a[(f&n)>>0]|0))break a;else{l=e;d=k;e=f}}c[(s&p)>>2]=e-r;c[(s&p)+4>>2]=r;c[(s&p)+8>>2]=o;c[(s&p)+12>>2]=e+d;Wg(b,uh(q,19464,s)|0,-1,1,75)}while(0);i=t;return}function Pj(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;t=i;i=i+32|0;if((i|0)>=(j|0))fa();s=t;q=t+16|0;r=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;f=Sg(c[(e&p)>>2]|0,1)|0;o=Sg(c[(e&p)+4>>2]|0,1)|0;m=Sg(c[(e&p)+8>>2]|0,1)|0;if(!((f|0)==0|(o|0)==0)){a:do if(!(a[(f&n)>>0]|0))d=0;else{g=f;d=0;do{e=Cn(g,q)|0;if((c[(q&p)>>2]|0)==105){k=g;while(1){g=k+e|0;h=Cn(g,q)|0;if((c[(q&p)>>2]|0)==151){e=h;k=g}else break}if(!g)break a;l=jw(h|0,((h|0)<0)<<31>>31|0,1,0)|0;l=mh(r,l,G)|0;if(!l)break a;kw(l|0,g|0,h|0)|0;a[(l+h&n)>>0]=0;lo(l);if(!(dd(o,l)|0)){c[(s&p)>>2]=(d|0)!=0?d:10360;c[(s&p)+4>>2]=g-f;c[(s&p)+8>>2]=f;c[(s&p)+12>>2]=m;u=uh(r,19440,s)|0;mg(r,d);f=k+(h+e)|0;d=u}mg(r,l);e=h}g=g+e|0}while((a[(g&n)>>0]|0)!=0)}while(0);c[(s&p)>>2]=(d|0)!=0?d:10360;c[(s&p)+4>>2]=f;Wg(b,uh(r,19456,s)|0,-1,1,75);mg(r,d)}i=t;return}function Qj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;f=i;i=i+48|0;if((i|0)>=(j|0))fa();e=f;if(!(mo(a,b,d,e)|0)){no(e);b=e;Yg(c[(a&p)>>2]|0,(+((c[(b&p)>>2]|0)>>>0)+4294967296.0*+(c[(b&p)+4>>2]|0))/864.0e5)}i=f;return}function Rj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=i;i=i+160|0;if((i|0)>=(j|0))fa();e=h+48|0;f=h;g=h+60|0;if(!(mo(a,b,d,f)|0)){oo(f);d=c[(f&p)+12>>2]|0;b=c[(f&p)+16>>2]|0;c[(e&p)>>2]=c[(f&p)+8>>2];c[(e&p)+4>>2]=d;c[(e&p)+8>>2]=b;ad(100,g,20136,e)|0;Wg(a,g,-1,1,-1)}i=h;return}function Sj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,k=0;k=i;i=i+160|0;if((i|0)>=(j|0))fa();e=k+48|0;f=k;g=k+60|0;if(!(mo(a,b,d,f)|0)){po(f);d=c[(f&p)+24>>2]|0;b=~~+h[(f&q)+32>>3];c[(e&p)>>2]=c[(f&p)+20>>2];c[(e&p)+4>>2]=d;c[(e&p)+8>>2]=b;ad(100,g,20120,e)|0;Wg(a,g,-1,1,-1)}i=k;return}function Tj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,k=0,l=0,m=0,n=0;k=i;i=i+176|0;if((i|0)>=(j|0))fa();e=k+48|0;f=k;g=k+72|0;if(!(mo(a,b,d,f)|0)){oo(f);po(f);n=c[(f&p)+12>>2]|0;m=c[(f&p)+16>>2]|0;l=c[(f&p)+20>>2]|0;d=c[(f&p)+24>>2]|0;b=~~+h[(f&q)+32>>3];c[(e&p)>>2]=c[(f&p)+8>>2];c[(e&p)+4>>2]=n;c[(e&p)+8>>2]=m;c[(e&p)+12>>2]=l;c[(e&p)+16>>2]=d;c[(e&p)+20>>2]=b;ad(100,g,20088,e)|0;Wg(a,g,-1,1,-1)}i=k;return}function Uj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,l=0,m=0,o=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.0;F=i;i=i+208|0;if((i|0)>=(j|0))fa();B=F+96|0;C=F+48|0;E=F+104|0;D=F;a:do if(((d|0)!=0?(A=Sg(c[(e&p)>>2]|0,1)|0,(A|0)!=0):0)?(mo(b,d+-1|0,e+4|0,C)|0)==0:0){m=c[(b&p)>>2]|0;l=c[(m&p)+32>>2]|0;e=1;d=0;g=0;b:while(1){f=a[(A+g&n)>>0]|0;c:do if(f<<24>>24==37){f=g+1|0;switch(a[(A+f&n)>>0]|0){case 87:case 83:case 77:case 109:case 72:case 100:{e=jw(e|0,d|0,1,0)|0;d=G;break c}case 102:{e=jw(e|0,d|0,8,0)|0;d=G;break c}case 106:{e=jw(e|0,d|0,3,0)|0;d=G;break c}case 89:{e=jw(e|0,d|0,8,0)|0;d=G;break c}case 74:case 115:{e=jw(e|0,d|0,50,0)|0;d=G;break c}case 37:case 119:break c;default:break a}}else if(!(f<<24>>24))break b;else f=g;while(0);e=jw(e|0,d|0,1,0)|0;d=G;g=f+1|0}if(!(d>>>0<0|(d|0)==0&e>>>0<100)){z=c[(l&p)+88>>2]|0;y=((z|0)<0)<<31>>31;if(d>>>0>y>>>0|(d|0)==(y|0)&e>>>0>z>>>0){c[(b&p)+20>>2]=18;a[(b&n)+25>>0]=1;Xg(m,10096,-1,1,0)|0;break}d=ew(0,e|0,32)|0;d=mh(l,d,G)|0;if(!d){Rd(b);break}else z=d}else z=E;no(C);oo(C);po(C);o=C+16|0;r=C+32|0;s=C+20|0;t=D+42|0;u=D+12|0;v=D+16|0;w=C+12|0;x=C+24|0;y=C+8|0;l=0;d=0;d:while(1){m=a[(A+l&n)>>0]|0;e:do if(!(m<<24>>24))break d;else if(m<<24>>24==37){l=l+1|0;e=A+l|0;do switch(a[(e&n)>>0]|0){case 109:{c[(B&p)>>2]=c[(w&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 77:{c[(B&p)>>2]=c[(x&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 100:{c[(B&p)>>2]=c[(o&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 106:case 87:{m=D+0|0;g=C+0|0;f=m+48|0;do{c[(m&p)>>2]=c[(g&p)>>2];m=m+4|0;g=g+4|0}while((m|0)<(f|0));a[(t&n)>>0]=0;c[(u&p)>>2]=1;c[(v&p)>>2]=1;no(D);m=C;f=D;H=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;m=jw(c[(m&p)>>2]|0,c[(m&p)+4>>2]|0,432e5,0)|0;g=G;f=qw(dw(m|0,g|0,H|0,f|0)|0,G|0,864e5,0)|0;if((a[(e&n)>>0]|0)==87){e=qw(m|0,g|0,864e5,0)|0;e=rw(e|0,G|0,7,0)|0;c[(B&p)>>2]=(f+7-e|0)/7|0;ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}else{c[(B&p)>>2]=f+1;ad(4,z+d|0,19904,B)|0;d=d+3|0;break e}}case 72:{c[(B&p)>>2]=c[(s&p)>>2];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}case 115:{g=z+d|0;f=C;e=B;c[(e&p)>>2]=jw(qw(c[(f&p)>>2]|0,c[(f&p)+4>>2]|0,1e3,0)|0,G|0,-413362496,-50)|0;c[(e&p)+4>>2]=G;ad(30,g,19920,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 119:{e=C;e=jw(c[(e&p)>>2]|0,c[(e&p)+4>>2]|0,1296e5,0)|0;e=qw(e|0,G|0,864e5,0)|0;e=rw(e|0,G|0,7,0)|0;a[(z+d&n)>>0]=e+48;d=d+1|0;break e}case 89:{g=z+d|0;c[(B&p)>>2]=c[(y&p)>>2];ad(5,g,19928,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 102:{I=+h[(r&q)>>3];g=z+d|0;h[(k&q)>>3]=I>59.999?59.999:I;c[(B&p)>>2]=c[(k&p)>>2];c[(B&p)+4>>2]=c[(k&p)+4>>2];ad(7,g,19896,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 74:{g=z+d|0;e=C;h[(k&q)>>3]=(+((c[(e&p)>>2]|0)>>>0)+4294967296.0*+(c[(e&p)+4>>2]|0))/864.0e5;c[(B&p)>>2]=c[(k&p)>>2];c[(B&p)+4>>2]=c[(k&p)+4>>2];ad(20,g,19912,B)|0;if(!g)m=0;else{m=g;while(1)if(!(a[(m&n)>>0]|0))break;else m=m+1|0;m=m-g&1073741823}d=m+d|0;break e}case 83:{c[(B&p)>>2]=~~+h[(r&q)>>3];ad(3,z+d|0,19888,B)|0;d=d+2|0;break e}default:{a[(z+d&n)>>0]=37;d=d+1|0;break e}}while(0)}else{a[(z+d&n)>>0]=m;d=d+1|0}while(0);l=l+1|0}a[(z+d&n)>>0]=0;Wg(b,z,-1,1,(z|0)==(E|0)?-1:75)}while(0);i=F;return}function Vj(a,b,c){a=a|0;b=b|0;c=c|0;Sj(a,0,0);return}function Wj(a,b,c){a=a|0;b=b|0;c=c|0;Tj(a,0,0);return}function Xj(a,b,c){a=a|0;b=b|0;c=c|0;Rj(a,0,0);return}function Yj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=Vg(c[(d&p)>>2]|0)|0;h=g+1&-2;e=Vg(c[(d&p)+4>>2]|0)|0;f=(h<<3)+56|0;d=c[((c[(a&p)>>2]|0)&p)+32>>2]|0;b=mh(d,f,((f|0)<0)<<31>>31)|0;if(!b)Rd(a);else{fw(b|0,0,f|0)|0;c[(b&p)+52>>2]=d;c[(b&p)>>2]=0;c[(b&p)+8>>2]=g;c[(b&p)+12>>2]=e;d=b+56|0;c[(b&p)+24>>2]=d;c[(b&p)+20>>2]=d+(h<<2);Wg(a,b,56,0,20)}return}function Zj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=pd(c[(d&p)>>2]|0)|0;f=Vg(c[(d&p)+4>>2]|0)|0;if(!(c[(g&p)>>2]|0)){a=g+8|0;if((c[(a&p)>>2]|0)>0){b=c[(g&p)+20>>2]|0;d=0;do{c[(b+(d<<2)&p)>>2]=1;d=d+1|0}while((d|0)<(c[(a&p)>>2]|0))}}else{if((f|0)>0){a=c[(g&p)+20>>2]|0;d=0;do{b=a+(d<<2)|0;c[(b&p)>>2]=(c[(b&p)>>2]|0)+1;d=d+1|0}while((d|0)!=(f|0))}a=g+8|0;if((f|0)<(c[(a&p)>>2]|0)){b=c[(g&p)+24>>2]|0;e=c[(g&p)+20>>2]|0;d=f;do{f=b+(d<<2)|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;c[(e+(d<<2)&p)>>2]=1;d=d+1|0}while((d|0)<(c[(a&p)>>2]|0))}}c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;return}function _j(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;o=i;i=i+16|0;if((i|0)>=(j|0))fa();m=o;h=pd(c[(e&p)>>2]|0)|0;k=h+12|0;e=((c[(k&p)>>2]|0)*25|0)+25|0;l=qg(e,((e|0)<0)<<31>>31)|0;if(!l)Rd(b);else{fw(l|0,0,e|0)|0;e=m;c[(e&p)>>2]=c[(h&p)>>2];c[(e&p)+4>>2]=0;ad(24,l,28696,m)|0;e=l;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;if((c[(k&p)>>2]|0)>0){f=h+24|0;g=0;d=l+(e-l&1073741823)|0;while(1){q=(c[((c[(f&p)>>2]|0)+(g<<2)&p)>>2]|0)+1|0;e=c[(h&p)>>2]|0;r=jw(q|0,0,-1,-1)|0;e=jw(r|0,G|0,e|0,0)|0;q=tw(e|0,G|0,q|0,0)|0;e=m;c[(e&p)>>2]=q;c[(e&p)+4>>2]=G;ad(24,d,28704,m)|0;if(!d)e=0;else{e=d;while(1)if(!(a[(e&n)>>0]|0))break;else e=e+1|0;e=e-d&1073741823}g=g+1|0;if((g|0)>=(c[(k&p)>>2]|0))break;else d=d+e|0}}Wg(b,l,-1,1,1)}i=o;return}function $j(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;o=i;i=i+144|0;if((i|0)>=(j|0))fa();l=o;m=o+8|0;h=Sg(c[(e&p)>>2]|0,1)|0;k=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;h=(h|0)==0?10360:h;g=c[(k&p)+20>>2]|0;a:do if((g|0)>0){d=c[(k&p)+16>>2]|0;e=0;do{f=d+(e<<4)|0;if((c[(d+(e<<4)&p)+4>>2]|0)!=0?(dd(c[(f&p)>>2]|0,h)|0)==0:0)break a;e=e+1|0}while((e|0)<(g|0))}else{e=0;f=0}while(0);do if((e|0)<(g|0)){if((e|0)<2){c[(l&p)>>2]=h;ad(128,m,29256,l)|0;q=16;break}if(!(a[(k&n)+63>>0]|0)){ad(128,m,29288,l)|0;q=16;break}e=f+4|0;d=c[(e&p)>>2]|0;if((a[(d&n)+8>>0]|0)==0?(c[(d&p)+16>>2]|0)==0:0){Ml(d);c[(e&p)>>2]=0;c[(f&p)+12>>2]=0;Eg(k);break}c[(l&p)>>2]=h;ad(128,m,29336,l)|0;q=16}else{c[(l&p)>>2]=h;ad(128,m,29232,l)|0;q=16}while(0);if((q|0)==16){c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,m,-1,1,-1)|0}i=o;return}function ak(b,d,f){b=b|0;d=d|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;C=i;i=i+32|0;if((i|0)>=(j|0))fa();y=C;l=C+20|0;d=C+16|0;k=C+12|0;B=C+8|0;m=C+4|0;A=c[((c[(b&p)>>2]|0)&p)+32>>2]|0;c[(l&p)>>2]=0;c[(d&p)>>2]=0;c[(B&p)>>2]=0;x=Sg(c[(f&p)>>2]|0,1)|0;t=Sg(c[(f&p)+4>>2]|0,1)|0;x=(x|0)==0?10360:x;t=(t|0)==0?10360:t;w=A+20|0;g=c[(w&p)>>2]|0;h=c[(A&p)+116>>2]|0;a:do if((g|0)<(h+2|0)){if(!(a[(A&n)+63>>0]|0)){g=uh(A,29456,y)|0;c[(B&p)>>2]=g;d=0;z=42;break}u=A+16|0;h=c[(u&p)>>2]|0;b:do if((g|0)>0){f=0;while(1){if(!(dd(c[(h+(f<<4)&p)>>2]|0,t)|0))break;f=f+1|0;if((f|0)>=(g|0))break b}c[(y&p)>>2]=t;g=uh(A,29504,y)|0;c[(B&p)>>2]=g;d=0;z=42;break a}while(0);if((h|0)!=(A+456|0)){h=ro(A,h,(g<<4)+16|0,0)|0;if(!h)break;else s=h}else{h=mh(A,48,0)|0;if(!h)break;s=c[(u&p)>>2]|0;c[(h&p)>>2]=c[(s&p)>>2];c[(h&p)+4>>2]=c[(s&p)+4>>2];c[(h&p)+8>>2]=c[(s&p)+8>>2];c[(h&p)+12>>2]=c[(s&p)+12>>2];c[(h&p)+16>>2]=c[(s&p)+16>>2];c[(h&p)+20>>2]=c[(s&p)+20>>2];c[(h&p)+24>>2]=c[(s&p)+24>>2];c[(h&p)+28>>2]=c[(s&p)+28>>2];s=h}c[(u&p)>>2]=s;q=c[(w&p)>>2]|0;r=s+(q<<4)|0;c[(r&p)>>2]=0;c[(r&p)+4>>2]=0;c[(r&p)+8>>2]=0;c[(r&p)+12>>2]=0;c[(k&p)>>2]=c[(A&p)+48>>2];h=Wn(c[((c[(A&p)>>2]|0)&p)+16>>2]|0,x,k,m,l,d)|0;if(!h){h=c[(k&p)>>2]|256;c[(k&p)>>2]=h;l=c[(l&p)>>2]|0;k=s+(q<<4)+4|0;h=zm(c[(m&p)>>2]|0,l,A,k,0,h)|0;Wc(l);c[(w&p)>>2]=(c[(w&p)>>2]|0)+1;if((h|0)==19){c[(B&p)>>2]=uh(A,29536,y)|0;h=1}else if(!h){h=Xn(A,c[(k&p)>>2]|0)|0;c[(s+(q<<4)&p)+12>>2]=h;if(h)if((a[(h&n)+76>>0]|0)!=0?(a[(h&n)+77>>0]|0)!=(a[(A&n)+62>>0]|0):0){c[(B&p)>>2]=uh(A,13232,y)|0;h=1}else h=0;else h=7;d=c[(k&p)>>2]|0;f=c[(d&p)+4>>2]|0;c[(f&p)+4>>2]=c[(d&p)>>2];f=c[(f&p)>>2]|0;g=a[(A&n)+66>>0]|0;do if(!(a[(f&n)+12>>0]|0)){m=c[(f&p)+208>>2]|0;if((m|0)!=0?(a[(m&n)+43>>0]|0)==2:0)break;a[(f&n)+4>>0]=g}while(0);f=c[((c[(u&p)>>2]|0)&p)+4>>2]|0;if(!f)f=0;else{m=c[(f&p)+4>>2]|0;c[(m&p)+4>>2]=c[(f&p)>>2];f=(e[(m&o)+22>>1]|0)>>>2&1}so(d,f)|0;to(c[(k&p)>>2]|0,c[(A&p)+24>>2]&28|3)}a[(s+(q<<4)&n)+8>>0]=3;d=kh(A,t)|0;c[(r&p)>>2]=d;d=(h|0)==0&(d|0)==0?7:h;if(!d){f=c[(w&p)>>2]|0;if((f|0)>0){g=c[(u&p)>>2]|0;h=0;do{d=c[(g+(h<<4)&p)+4>>2]|0;if(d)c[((c[(d&p)+4>>2]|0)&p)+4>>2]=c[(d&p)>>2];h=h+1|0}while((h|0)!=(f|0))}d=Zh(A,B)|0;if(!d)break}g=(c[(w&p)>>2]|0)+-1|0;f=c[((c[(u&p)>>2]|0)+(g<<4)&p)+4>>2]|0;if(f){Ml(f);s=c[(u&p)>>2]|0;c[(s+(g<<4)&p)+4>>2]=0;c[(s+(g<<4)&p)+12>>2]=0}Eg(A);c[(w&p)>>2]=g;if((d|0)==7|(d|0)==3082){a[(A&n)+65>>0]=1;mg(A,c[(B&p)>>2]|0);g=uh(A,15776,y)|0;c[(B&p)>>2]=g;z=42;break}g=c[(B&p)>>2]|0;if(g){z=43;break}c[(y&p)>>2]=x;g=uh(A,29568,y)|0;c[(B&p)>>2]=g;z=42;break}else if((h|0)==7)a[(A&n)+65>>0]=1;s=c[(d&p)>>2]|0;c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,s,-1,1,-1)|0;Wc(s)}else{c[(y&p)>>2]=h;g=uh(A,29416,y)|0;c[(B&p)>>2]=g;d=0;z=42}while(0);if((z|0)==42)if(!g){v=d;z=44}else z=43;if((z|0)==43){c[(b&p)+20>>2]=1;a[(b&n)+25>>0]=1;Xg(c[(b&p)>>2]|0,g,-1,1,-1)|0;mg(A,c[(B&p)>>2]|0);v=d;z=44}if((z|0)==44?(v|0)!=0:0)Pd(b,v);i=C;return}function bk(a){a=a|0;if(a){ik(a,0)|0;Wc(c[(a&p)+24>>2]|0);uo(a)}return 0}function ck(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;l=a+12|0;g=d&131071;k=b;i=f;j=0;a:while(1){while(1){f=cb(c[(l&p)>>2]|0,e|0,0)|0;if(!((f|0)==(e|0)&(((f|0)<0)<<31>>31|0)==(i|0))){e=4;break a}h=ac[c[47652>>2]&63](c[(l&p)>>2]|0,k,g)|0;if((g|0)==(h|0)){f=j;e=13;break a}if((h|0)>=0){f=h;break}f=c[((Hb()|0)&p)>>2]|0;if((f|0)!=4){g=h;e=10;break a}}if((f|0)<=0){g=0;f=j;e=13;break}h=jw(f|0,((f|0)<0)<<31>>31|0,e|0,i|0)|0;g=g-f|0;k=k+f|0;i=G;e=h;j=f+j|0}do if((e|0)==4)if((f|0)==-1){c[(a&p)+20>>2]=c[((Hb()|0)&p)>>2];f=-1;break}else{c[(a&p)+20>>2]=0;f=-1;break}else if((e|0)==10){c[(a&p)+20>>2]=f;f=0;e=13}while(0);if((e|0)==13)f=f+g|0;if((f|0)!=(d|0))if((f|0)<0)f=266;else{c[(a&p)+20>>2]=0;fw(b+f|0,0,d-f|0)|0;f=522}else f=0;return f|0}function dk(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;a:do if((d|0)>0){h=a+12|0;i=a+20|0;g=d;while(1){d=vo(c[(h&p)>>2]|0,e,f,b,g,i)|0;if((d|0)<=0)break;g=g-d|0;e=jw(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0;if((g|0)<=0){d=0;break a}else{b=b+d|0;f=G}}if((d|0)<0?(c[(i&p)>>2]|0)!=28:0){d=778;break}c[(a&p)+20>>2]=0;d=13}else d=0;while(0);return d|0}function ek(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[(a&p)+40>>2]|0;if((e|0)>0){f=((e|0)<0)<<31>>31;d=jw(b|0,d|0,-1,-1)|0;d=jw(d|0,G|0,e|0,f|0)|0;b=G;e=rw(d|0,b|0,e|0,f|0)|0;e=dw(d|0,b|0,e|0,G|0)|0}else e=b;d=c[(a&p)+12>>2]|0;while(1){b=rc[c[47628>>2]&127](d,e)|0;if((b|0)>=0){e=6;break}b=Hb()|0;if((c[(b&p)>>2]|0)!=4){e=8;break}}if((e|0)==6)if(!b)b=0;else{b=Hb()|0;e=8}if((e|0)==8){c[(a&p)+20>>2]=c[(b&p)>>2];b=co(1546,47928,c[(a&p)+32>>2]|0,29004)|0}return b|0}function fk(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();g=k;if(!(Gb(c[(a&p)+12>>2]|0)|0)){h=a+18|0;if(!(b[(h&o)>>1]&8))d=0;else{d=rc[c[47760>>2]&127](c[(a&p)+32>>2]|0,g)|0;f=c[(g&p)>>2]|0;if((d|0)==0&(f|0)>-1){Gb(f|0)|0;ao(a,c[(g&p)>>2]|0,28974);d=0}else d=(d|0)==14?0:d;b[(h&o)>>1]=(e[(h&o)>>1]|0)&65527}}else{c[(a&p)+20>>2]=c[((Hb()|0)&p)>>2];d=co(1034,48360,c[(a&p)+32>>2]|0,28960)|0}i=k;return d|0}function gk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=i;i=i+80|0;if((i|0)>=(j|0))fa();d=e;if(!(rc[c[47616>>2]&127](c[(a&p)+12>>2]|0,d)|0)){a=c[(d&p)+36>>2]|0;f=(a|0)==1;d=b;c[(d&p)>>2]=f?0:a;c[(d&p)+4>>2]=f?0:((a|0)<0)<<31>>31;d=0}else{c[(a&p)+20>>2]=c[((Hb()|0)&p)>>2];d=1802}i=e;return d|0}function hk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=c[(b&p)+24>>2]|0;g=b+16|0;a:do if(!(a[(g&n)>>0]|0)){e=rc[c[47772>>2]&127](f,511)|0;if((e|0)>=0){a[(g&n)>>0]=d;break}f=c[((Hb()|0)&p)>>2]|0;switch(f|0){case 13:case 37:case 4:case 16:case 110:case 11:case 17:{e=5;break a}case 1:{e=3;break}default:e=3850}c[(b&p)+20>>2]=f}else{a[(g&n)>>0]=d;Ya(f|0,0)|0;e=0}while(0);return e|0}function ik(b,e){b=b|0;e=e|0;var f=0,g=0,h=0;g=c[(b&p)+24>>2]|0;h=b+16|0;a:do if((d[(h&n)>>0]|0|0)==(e|0))f=0;else{if((e|0)==1){a[(h&n)>>0]=1;f=0;break}do if((lc[c[47784>>2]&127](g)|0)<0){f=Hb()|0;e=c[(f&p)>>2]|0;if((e|0)==20){if((lc[c[47748>>2]&127](g)|0)>=0)break;e=c[(f&p)>>2]|0}g=(e|0)!=2;f=g?2058:0;if(!g)break a;c[(b&p)+20>>2]=e;break a}while(0);a[(h&n)>>0]=0;f=0}while(0);return f|0}function jk(a,b){a=a|0;b=b|0;if((d[(a&n)+16>>0]|0)>1)a=1;else a=(rc[c[47580>>2]&127](c[(a&p)+24>>2]|0,0)|0)==0&1;c[(b&p)>>2]=a;return 0}function kk(a,b,e){a=a|0;b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,o=0;o=i;i=i+80|0;if((i|0)>=(j|0))fa();g=o;a:do switch(b|0){case 16:{f=a+4|0;b=Tc(c[((c[(f&p)>>2]|0)&p)+8>>2]|0)|0;if(!b)f=0;else{_n(c[((c[(f&p)>>2]|0)&p)+8>>2]|0,b)|0;c[(e&p)>>2]=b;f=0}break}case 4:{c[(e&p)>>2]=c[(a&p)+20>>2];f=0;break}case 6:{c[(a&p)+40>>2]=c[(e&p)>>2];f=0;break}case 5:{b=e;e=c[(b&p)>>2]|0;b=c[(b&p)+4>>2]|0;f=a+40|0;if((c[(f&p)>>2]|0)>0){m=a+12|0;if(!(rc[c[47616>>2]&127](c[(m&p)>>2]|0,g)|0)){f=c[(f&p)>>2]|0;k=((f|0)<0)<<31>>31;e=jw(e|0,b|0,-1,-1)|0;e=jw(e|0,G|0,f|0,k|0)|0;l=G;k=rw(e|0,l|0,f|0,k|0)|0;k=dw(e|0,l|0,k|0,G|0)|0;l=G;e=c[(g&p)+36>>2]|0;f=((e|0)<0)<<31>>31;do if((l|0)>(f|0)|(l|0)==(f|0)&k>>>0>e>>>0){h=c[(g&p)+40>>2]|0;b=e+-1+(h<<1)|0;b=b+~((b|0)%(h|0)|0)|0;e=((b|0)<0)<<31>>31;f=a+20|0;if((e|0)<(l|0)|(e|0)==(l|0)&b>>>0<k>>>0){g=((h|0)<0)<<31>>31;do{a=(vo(c[(m&p)>>2]|0,b,e,10360,1,f)|0)==1;b=jw(b|0,e|0,h|0,g|0)|0;e=G;if(!a){f=778;break a}}while((e|0)<(l|0)|(e|0)==(l|0)&b>>>0<k>>>0);b=rw(k|0,l|0,h|0,g|0)|0;if((b|0)==0&(G|0)==0)break}b=jw(k|0,l|0,-1,-1)|0;if((vo(c[(m&p)>>2]|0,b,G,10360,1,f)|0)!=1){f=778;break a}}while(0);f=0}else f=1802}else f=0;break}case 1:{c[(e&p)>>2]=d[(a&n)+16>>0];f=0;break}case 20:{c[(e&p)>>2]=xo(a)|0;f=0;break}case 24:{f=0;break}case 10:{wo(a,4,e);f=0;break}case 13:{wo(a,16,e);f=0;break}case 12:{c[(g&p)>>2]=c[((c[(a&p)+4>>2]|0)&p)+16>>2];c[(e&p)>>2]=_c(10344,g)|0;f=0;break}default:f=12}while(0);i=o;return f|0}function lk(a){a=a|0;return 4096}function mk(a){a=a|0;return (b[(a&o)+18>>1]&16)<<8|0}function nk(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;l=c[(a&p)+36>>2]|0;i=c[(l&p)>>2]|0;m=(1<<f+d)-(1<<d)|0;a:do if(!(g&1)){j=c[(i&p)+32>>2]|0;i=(j|0)==0;if(g&4){if(i)g=0;else{g=0;i=j;do{if(m&(e[(i&o)+12>>1]|0)){h=5;break a}g=b[(i&o)+10>>1]|g;i=c[(i&p)+4>>2]|0}while((i|0)!=0)}if((m&(g&65535)|0)==0?(k=yo(a,0,d+120|0,f)|0,(k|0)!=0):0){h=k;break}h=l+10|0;b[(h&o)>>1]=e[(h&o)>>1]|0|m;h=0;break}if(!i){h=m&65535;g=j;do{if((e[(g&o)+12>>1]|0)&h){h=5;break a}if((e[(g&o)+10>>1]|0)&h){h=5;break a}g=c[(g&p)+4>>2]|0}while((g|0)!=0)}h=yo(a,1,d+120|0,f)|0;if(!h){h=l+12|0;b[(h&o)>>1]=e[(h&o)>>1]|0|m;h=0}}else{i=c[(i&p)+32>>2]|0;if(!i)g=0;else{g=0;do{if((i|0)!=(l|0))g=b[(i&o)+10>>1]|g;i=c[(i&p)+4>>2]|0}while((i|0)!=0)}if((g&65535&m|0)==0?(h=yo(a,2,d+120|0,f)|0,(h|0)!=0):0)break;g=(m|-65536)^65535;h=l+12|0;b[(h&o)>>1]=(e[(h&o)>>1]|0)&g;h=l+10|0;b[(h&o)>>1]=(e[(h&o)>>1]|0)&g;h=0}while(0);return h|0}function ok(a){a=a|0;return}function pk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;f=a+36|0;g=c[(f&p)>>2]|0;if(g){h=c[(g&p)>>2]|0;d=h+32|0;while(1){e=c[(d&p)>>2]|0;if((e|0)==(g|0))break;else d=e+4|0}c[(d&p)>>2]=c[(g&p)+4>>2];Wc(g);c[(f&p)>>2]=0;e=h+28|0;d=(c[(e&p)>>2]|0)+-1|0;c[(e&p)>>2]=d;if(!d){if((b|0)!=0?(c[(h&p)+12>>2]|0)>-1:0)lc[c[47748>>2]&127](c[(h&p)+8>>2]|0)|0;zo(a)}}return 0}function qk(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[(f&p)>>2]=0;return 0}function rk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function sk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))fa();f=e;c[(f&p)>>2]=d;b=qb(a|0,b|0,f|0)|0;i=e;return b|0}function tk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;k=i;i=i+528|0;if((i|0)>=(j|0))fa();f=k;g=k+8|0;c[(f&p)>>2]=b;ad(512,g,10344,f)|0;b=gw(g|0)|0;a:do if((b|0)>1)while(1){e=b+-1|0;if((a[(g+b&n)>>0]|0)==47)break a;if((e|0)>1)b=e;else{b=e;break}}while(0);if((b|0)>0){a[(g+b&n)>>0]=0;b=$n(g,0,0)|0;c[(d&p)>>2]=b;if((b|0)>-1)b=0;else h=7}else{c[(d&p)>>2]=-1;h=7}if((h|0)==7){c[(f&p)>>2]=28919;c[(f&p)+4>>2]=10788;bd(14,14848,f);b=co(14,47896,g,28919)|0}i=k;return b|0}function uk(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Kb()|0))a=Qb(a|0,b|0,c|0)|0;else a=0;return a|0}function vk(){return wb(30)|0}function wk(a){a=a|0;uo(a);return 0}function xk(a,b){a=a|0;b=b|0;return 0}function yk(a,b){a=a|0;b=b|0;return 0}function zk(a,b){a=a|0;b=b|0;c[(b&p)>>2]=0;return 0}function Ak(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;bo(a);Ck(a,0)|0;f=c[(a&p)+8>>2]|0;if(f){if(c[(f&p)+24>>2]|0){b=a+28|0;e=c[(b&p)>>2]|0;d=f+28|0;c[(e&p)+8>>2]=c[(d&p)>>2];c[(d&p)>>2]=e;c[(a&p)+12>>2]=-1;c[(b&p)>>2]=0}d=f+16|0;b=(c[(d&p)>>2]|0)+-1|0;c[(d&p)>>2]=b;if(!b){Ao(a);g=f+36|0;b=c[(g&p)>>2]|0;d=f+32|0;e=c[(d&p)>>2]|0;if(!b)c[12178]=e;else c[(b&p)+32>>2]=e;b=c[(d&p)>>2]|0;if(b)c[(b&p)+36>>2]=c[(g&p)>>2];Wc(f)}}uo(a);return 0}function Bk(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0;t=i;i=i+16|0;if((i|0)>=(j|0))fa();m=t;r=d+16|0;f=a[(r&n)>>0]|0;a:do if((f&255|0)<(e|0)){l=c[(d&p)+8>>2]|0;s=l+12|0;g=a[(s&n)>>0]|0;if(f<<24>>24!=g<<24>>24?(g&255)>2|(e|0)>1:0){f=5;break}h=(e|0)==1;do if(h)if((g+-1&255)<2){a[(r&n)>>0]=1;f=l+8|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=l+24|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;f=0;break a}else{g=m+8|0;c[(g&p)>>2]=1;b[(m&o)+2>>1]=0;q=10;break}else{g=m+8|0;c[(g&p)>>2]=1;b[(m&o)+2>>1]=0;if((e|0)==4)if((f&255)<3)q=10;else{k=g;q=14}else{h=g;q=24}}while(0);if((q|0)==10){b[(m&o)>>1]=h&1^1;c[(m&p)+4>>2]=c[2514];if(!(Bo(d,m)|0)){k=g;q=14}else{g=c[((Hb()|0)&p)>>2]|0;switch(g|0){case 1:{f=3;break}case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break a}default:f=3850}c[(d&p)+20>>2]=g;break}}b:do if((q|0)==14)if(h){h=m+4|0;c[(h&p)>>2]=(c[2514]|0)+2;c[(k&p)>>2]=510;c:do if(!(Bo(d,m)|0)){f=0;g=0}else{g=c[((Hb()|0)&p)>>2]|0;switch(g|0){case 1:{f=3;g=1;break c}case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break c}default:{f=3850;break c}}}while(0);c[(h&p)>>2]=c[2514];c[(k&p)>>2]=1;b[(m&o)>>1]=2;do if((Bo(d,m)|0)!=0&(f|0)==0){f=2058;g=c[((Hb()|0)&p)>>2]|0}else{if((f|0)==5){f=5;break a}else if(f)break;a[(r&n)>>0]=1;m=l+24|0;c[(m&p)>>2]=(c[(m&p)>>2]|0)+1;c[(l&p)+8>>2]=1;break b}while(0);c[(d&p)+20>>2]=g;break a}else{h=k;q=24}while(0);do if((q|0)==24){k=(e|0)==4;if(k)if((c[(l&p)+8>>2]|0)>1)f=5;else{b[(m&o)>>1]=1;g=c[2514]|0;q=29}else{b[(m&o)>>1]=1;g=c[2514]|0;if((e|0)==2){c[(m&p)+4>>2]=g+1;g=1;q=30}else q=29}if((q|0)==29){c[(m&p)+4>>2]=g+2;g=510;q=30}if((q|0)==30){c[(h&p)>>2]=g;if(!(Bo(d,m)|0))break;g=c[((Hb()|0)&p)>>2]|0;switch(g|0){case 1:{f=3;q=33;break}case 13:case 37:case 4:case 16:case 110:case 11:{f=5;break}default:{f=3850;q=33}}if((q|0)==33)c[(d&p)+20>>2]=g;if(!k)break a}a[(r&n)>>0]=3;a[(s&n)>>0]=3;break a}while(0);f=e&255;a[(r&n)>>0]=f;a[(s&n)>>0]=f;f=0}else f=0;while(0);i=t;return f|0}function Ck(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,q=0;q=i;i=i+16|0;if((i|0)>=(j|0))fa();k=q;l=d+16|0;f=a[(l&n)>>0]|0;a:do if((f&255|0)>(e|0)){m=c[(d&p)+8>>2]|0;do if((f&255)>1){if((e|0)==1){b[(k&o)>>1]=0;h=k+2|0;b[(h&o)>>1]=0;f=k+4|0;c[(f&p)>>2]=(c[2514]|0)+2;g=k+8|0;c[(g&p)>>2]=510;if(Bo(d,k)|0){c[(d&p)+20>>2]=c[((Hb()|0)&p)>>2];f=2314;break a}}else{g=k+8|0;h=k+2|0;f=k+4|0}b[(k&o)>>1]=2;b[(h&o)>>1]=0;c[(f&p)>>2]=c[2514];c[(g&p)>>2]=2;if(!(Bo(d,k)|0)){a[(m&n)+12>>0]=1;break}else{c[(d&p)+20>>2]=c[((Hb()|0)&p)>>2];f=2058;break a}}while(0);if(!e){g=m+8|0;f=(c[(g&p)>>2]|0)+-1|0;c[(g&p)>>2]=f;do if(!f){b[(k&o)>>1]=2;b[(k&o)+2>>1]=0;c[(k&p)+8>>2]=0;c[(k&p)+4>>2]=0;if(!(Bo(d,k)|0)){a[(m&n)+12>>0]=0;f=0;break}else{c[(d&p)+20>>2]=c[((Hb()|0)&p)>>2];a[(m&n)+12>>0]=0;a[(l&n)>>0]=0;f=2058;break}}else f=0;while(0);h=m+24|0;g=(c[(h&p)>>2]|0)+-1|0;c[(h&p)>>2]=g;if(!g)Ao(d);if(f)break}a[(l&n)>>0]=e;f=0}else f=0;while(0);i=q;return f|0}function Dk(e,f){e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,q=0;m=i;i=i+32|0;if((i|0)>=(j|0))fa();k=m;l=m+8|0;h=c[(e&p)+8>>2]|0;q=(d[(h&n)+12>>0]|0)>1;g=q&1;do if(!q)if(!(a[(h&n)+13>>0]|0)){b[(l&o)+2>>1]=0;c[(l&p)+4>>2]=(c[2514]|0)+1;c[(l&p)+8>>2]=1;b[(l&o)>>1]=1;q=c[11910]|0;h=c[(e&p)+12>>2]|0;c[(k&p)>>2]=l;if(!(ac[q&63](h,12,k)|0)){h=0;g=(b[(l&o)>>1]|0)==2?g:1;break}else{c[(e&p)+20>>2]=c[((Hb()|0)&p)>>2];h=3594;break}}else{h=0;g=0}else{h=0;g=1}while(0);c[(f&p)>>2]=g;i=m;return h|0}function Ek(d,f,g,h,k){d=d|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;D=i;i=i+160|0;if((i|0)>=(j|0))fa();B=D;w=D+76|0;m=hc[c[47844>>2]&7]()|0;if((m|0)<32768)C=1;else C=(m|0)/32768|0;z=d+36|0;m=c[(z&p)>>2]|0;a:do if(!m){m=Tc(16)|0;if(!m)l=7;else{c[(m&p)>>2]=0;c[(m&p)+4>>2]=0;c[(m&p)+8>>2]=0;c[(m&p)+12>>2]=0;v=d+8|0;t=c[(v&p)>>2]|0;l=c[(t&p)+20>>2]|0;b:do if(!l){u=d+32|0;q=c[(u&p)>>2]|0;if((rc[c[47616>>2]&127](c[(d&p)+12>>2]|0,w)|0)!=0?(a[(t&n)+13>>0]|0)==0:0)l=1802;else A=8;c:do if((A|0)==8){l=gw(q|0)|0;r=l+42|0;x=Tc(r)|0;if(x){fw(x|0,0,r|0)|0;s=x+36|0;c[(x&p)+8>>2]=s;c[(B&p)>>2]=q;ad(l+6|0,s,48720,B)|0;l=x+12|0;c[(l&p)>>2]=-1;v=c[(v&p)>>2]|0;c[(v&p)+20>>2]=x;c[(x&p)>>2]=v;c[(x&p)+4>>2]=8;if(a[(t&n)+13>>0]|0){l=x;break b}if(!(fg(c[(u&p)>>2]|0,48728,0)|0))r=66;else{a[(x&n)+22>>0]=1;r=0}q=$n(s,r,c[(w&p)+12>>2]&511)|0;c[(l&p)>>2]=q;if((q|0)<0){c[(B&p)>>2]=29706;c[(B&p)+4>>2]=10788;bd(14,14848,B);l=co(14,47896,s,29706)|0;break}ac[c[47796>>2]&63](q,c[(w&p)+20>>2]|0,c[(w&p)+24>>2]|0)|0;do if(!(yo(d,1,128,1)|0)){l=c[(l&p)>>2]|0;do{q=rc[c[47628>>2]&127](l,0)|0;if((q|0)>=0){y=q;A=18;break}}while((c[((Hb()|0)&p)>>2]|0)==4);if((A|0)==18?(y|0)==0:0)break;l=co(4618,47928,s,29722)|0;if(l)break c}while(0);l=yo(d,0,128,1)|0;if(!l){l=x;break b}}else l=7}while(0);zo(d);Wc(m);if(l)break a;m=c[(z&p)>>2]|0;A=24;break a}while(0);c[(m&p)>>2]=l;A=l+28|0;c[(A&p)>>2]=(c[(A&p)>>2]|0)+1;c[(d&p)+36>>2]=m;A=l+32|0;c[(m&p)+4>>2]=c[(A&p)>>2];c[(A&p)>>2]=m;A=24}}else A=24;while(0);if((A|0)==24){x=c[(m&p)>>2]|0;z=C+f|0;z=z-((z|0)%(C|0)|0)|0;w=x+20|0;d:do if((e[(w&o)>>1]|0)<(z|0)){l=ca(z,g)|0;c[(x&p)+16>>2]=g;y=x+12|0;m=c[(y&p)>>2]|0;e:do if((m|0)>-1){if(rc[c[47616>>2]&127](m,B)|0){m=4874;break d}m=c[(B&p)+36>>2]|0;if((m|0)<(l|0)){if(!h){m=0;break d}m=(m|0)/4096|0;l=(l|0)/4096|0;if((m|0)<(l|0)){while(1){v=m<<12|4095;m=m+1|0;if((vo(c[(y&p)>>2]|0,v,((v|0)<0)<<31>>31,10360,1,0)|0)!=1)break;if((m|0)>=(l|0))break e}m=co(4874,47976,c[(x&p)+8>>2]|0,29853)|0;break d}}}while(0);v=x+24|0;m=Xc(c[(v&p)>>2]|0,z<<2)|0;if(m){c[(v&p)>>2]=m;m=e[(w&o)>>1]|0;if((m|0)<(z|0)){s=ca(C,g)|0;t=x+22|0;u=(C|0)>0;while(1){l=c[(y&p)>>2]|0;if((l|0)>-1){m=ca(m,g)|0;m=kc[c[47808>>2]&7](0,s,(a[(t&n)>>0]|0)!=0?1:3,1,l,m)|0;if((m|0)==(-1|0))break}else{m=Tc(g)|0;if(!m){m=7;break d}fw(m|0,0,g|0)|0}q=b[(w&o)>>1]|0;if(u){l=q&65535;r=0;do{d=m+(ca(r,g)|0)|0;c[((c[(v&p)>>2]|0)+(l+r<<2)&p)>>2]=d;r=r+1|0}while((r|0)!=(C|0))}m=(q&65535)+C|0;b[(w&o)>>1]=m;m=m&65535;if((m|0)>=(z|0)){m=0;break d}}m=co(5386,48080,c[(x&p)+8>>2]|0,29880)|0}else m=0}else m=3082}else m=0;while(0);if((e[(w&o)>>1]|0)>(f|0))l=c[((c[(x&p)+24>>2]|0)+(f<<2)&p)>>2]|0;else l=0;c[(k&p)>>2]=l;l=(a[(x&n)+22>>0]|0)!=0&(m|0)==0?8:m}i=D;return l|0}function Fk(a,b){a=a|0;b=b|0;var d=0;if(b)do{d=b;b=c[(b&p)+32>>2]|0;Gk(a,c[(d&p)+20>>2]|0);Nk(a,c[(d&p)+24>>2]|0);Mk(a,c[(d&p)+8>>2]|0,1);Hk(a,c[(d&p)+28>>2]|0);mg(a,d)}while((b|0)!=0);return}function Gk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){f=b+4|0;do if(!(c[(f&p)>>2]&16384)){Gk(a,c[(b&p)+12>>2]|0);Gk(a,c[(b&p)+16>>2]|0);d=c[(f&p)>>2]|0;if(d&65536){mg(a,c[(b&p)+8>>2]|0);d=c[(f&p)>>2]|0}e=b+20|0;if(!(d&2048)){Nk(a,c[(e&p)>>2]|0);break}else{Mk(a,c[(e&p)>>2]|0,1);break}}while(0);if(!(c[(f&p)>>2]&32768))mg(a,b)}return}function Hk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){f=b+4|0;d=c[(b&p)>>2]|0;if((c[(f&p)>>2]|0)>0){e=0;do{mg(a,c[(d+(e<<3)&p)>>2]|0);e=e+1|0;d=c[(b&p)>>2]|0}while((e|0)<(c[(f&p)>>2]|0))}mg(a,d);mg(a,b)}return}function Ik(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,o=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))fa();r=s;m=bn(b,e,r)|0;do if(!m)if(f){q=qg(16,0)|0;if(!q)g=f;else{c[(q&p)+12>>2]=e;c[(q&p)+8>>2]=f;o=b+4|0;k=(c[(o&p)>>2]|0)+1|0;c[(o&p)>>2]=k;if((k>>>0>9?(h=c[(b&p)>>2]|0,k>>>0>h<<1>>>0):0)?(l=k<<4>>>0>1024?128:k<<1,(l|0)!=(h|0)):0){g=c[3164]|0;if(g)nc[g&3]();o=qg(l<<3,0)|0;g=c[3166]|0;if(g)nc[g&3]();if(o){m=b+12|0;Wc(c[(m&p)>>2]|0);c[(m&p)>>2]=o;m=(lc[c[8792>>2]&127](o)|0)>>>3;c[(b&p)>>2]=m;fw(o|0,0,m<<3|0)|0;f=b+8|0;k=c[(f&p)>>2]|0;c[(f&p)>>2]=0;if(k)do{l=c[(k&p)+12>>2]|0;h=a[(l&n)>>0]|0;if(!(h<<24>>24))h=0;else{f=h;h=0;do{l=l+1|0;h=h<<3^h^(d[(f&255&n)+9328>>0]|0);f=a[(l&n)>>0]|0}while(f<<24>>24!=0)}f=k;k=c[(k&p)>>2]|0;Co(b,o+(((h>>>0)%(m>>>0)|0)<<3)|0,f)}while((k|0)!=0);g=a[(e&n)>>0]|0;if(!(g<<24>>24))g=0;else{k=g;g=0;do{e=e+1|0;g=g<<3^g^(d[(k&255&n)+9328>>0]|0);k=a[(e&n)>>0]|0}while(k<<24>>24!=0)}c[(r&p)>>2]=(g>>>0)%((c[(b&p)>>2]|0)>>>0)|0}}g=c[(b&p)+12>>2]|0;if(!g)g=0;else g=g+(c[(r&p)>>2]<<3)|0;Co(b,g,q);g=0}}else g=0;else{k=m+8|0;g=c[(k&p)>>2]|0;if(f){c[(k&p)>>2]=f;c[(m&p)+12>>2]=e;break}l=c[(r&p)>>2]|0;k=c[(m&p)+4>>2]|0;h=c[(m&p)>>2]|0;if(!k)c[(b&p)+8>>2]=h;else{c[(k&p)>>2]=h;h=c[(m&p)>>2]|0}if(h)c[(h&p)+4>>2]=k;e=c[(b&p)+12>>2]|0;if(e){k=e+(l<<3)+4|0;if((c[(k&p)>>2]|0)==(m|0))c[(k&p)>>2]=h;r=e+(l<<3)|0;c[(r&p)>>2]=(c[(r&p)>>2]|0)+-1}Wc(m);q=b+4|0;r=(c[(q&p)>>2]|0)+-1|0;c[(q&p)>>2]=r;if(!r)Ol(b)}while(0);i=s;return g|0}function Jk(b,d){b=b|0;d=d|0;Gk(b,c[(d&p)+36>>2]|0);mg(b,c[(d&p)+16>>2]|0);if(a[(d&n)+51>>0]&16)mg(b,c[(d&p)+32>>2]|0);mg(b,d);return}function Kk(a,b){a=a|0;b=b|0;var d=0;if(b){d=c[(b&p)+28>>2]|0;Gk(a,c[(d&p)+20>>2]|0);Nk(a,c[(d&p)+24>>2]|0);Mk(a,c[(d&p)+8>>2]|0,1);Gk(a,c[(b&p)+12>>2]|0);mg(a,b)}return}function Lk(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;g=d+4|0;e=c[(g&p)>>2]|0;if(e){d=d+38|0;if((b[(d&o)>>1]|0)>0){f=0;while(1){mg(a,c[(e&p)>>2]|0);Gk(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)+16>>2]|0);f=f+1|0;if((f|0)>=(b[(d&o)>>1]|0))break;else e=e+24|0}e=c[(g&p)>>2]|0}mg(a,e)}return}function Mk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;if(b){e=(d|0)==0;d=b;while(1){b=d;d=c[(d&p)+52>>2]|0;Nk(a,c[(b&p)>>2]|0);Do(a,c[(b&p)+32>>2]|0);Gk(a,c[(b&p)+36>>2]|0);Nk(a,c[(b&p)+40>>2]|0);Gk(a,c[(b&p)+44>>2]|0);Nk(a,c[(b&p)+48>>2]|0);Gk(a,c[(b&p)+60>>2]|0);Gk(a,c[(b&p)+64>>2]|0);Qn(a,c[(b&p)+68>>2]|0);if(!e)mg(a,b);if(!d)break;else e=0}}return}function Nk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(b){d=b+4|0;if((c[(b&p)>>2]|0)>0){e=0;f=c[(d&p)>>2]|0;while(1){Gk(a,c[(f&p)>>2]|0);mg(a,c[(f&p)+4>>2]|0);mg(a,c[(f&p)+8>>2]|0);e=e+1|0;if((e|0)>=(c[(b&p)>>2]|0))break;else f=f+20|0}}mg(a,c[(d&p)>>2]|0);mg(a,b)}return}function Ok(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=b+60|0;d=c[(h&p)>>2]|0;c[(h&p)>>2]=0;a:do if(!d)b=0;else{b=0;do{while(1){f=c[(d&p)>>2]|0;e=d+24|0;g=d;d=c[(e&p)>>2]|0;if((f|0)==(a|0)){b=g;break}f=f+332|0;c[(e&p)>>2]=c[(f&p)>>2];c[(f&p)>>2]=g;if(!d)break a}c[(h&p)>>2]=b;c[(e&p)>>2]=0}while((d|0)!=0)}while(0);return b|0}function Pk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if((d|0)!=0?(f=d+(e*20|0)|0,(e|0)>0):0){e=d;do{In(b,a[(e&n)+1>>0]|0,c[(e&p)+16>>2]|0);e=e+20|0}while(e>>>0<f>>>0)}mg(b,d);return}function Qk(a,b){a=a|0;b=b|0;do if(!a)b=lc[c[8792>>2]&127](b)|0;else{if((c[(a&p)+276>>2]|0)>>>0<=b>>>0?(c[(a&p)+280>>2]|0)>>>0>b>>>0:0){b=e[(a&o)+248>>1]|0;break}b=lc[c[8792>>2]&127](b)|0}while(0);a=c[(a&p)+520>>2]|0;c[(a&p)>>2]=(c[(a&p)>>2]|0)+b;return}function Rk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;b=c[(b+(d<<2)&p)>>2]|0;a:do if(!b)b=0;else while(1){d=c[(b&p)+24>>2]|0;if((Fc(d,e,f)|0)==0?(a[(d+f&n)>>0]|0)==0:0)break a;b=c[(b&p)+28>>2]|0;if(!b){b=0;break}}while(0);return b|0}function Sk(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=a+12|0;f=c[(e&p)>>2]|0;g=f+d|0;if((g|0)<(c[(a&p)+16>>2]|0)){c[(e&p)>>2]=g;kw((c[(a&p)+8>>2]|0)+f|0,b|0,d|0)|0}else Eo(a,b,d);return}function Tk(a){a=a|0;var b=0,d=0;d=a+4|0;b=c[(d&p)>>2]|0;if((c[(a&p)>>2]|0)>(b|0)){c[(d&p)>>2]=b+1;d=Vg(c[((c[(a&p)+8>>2]|0)+(b<<2)&p)>>2]|0)|0;b=G}else{b=0;d=0}G=b;return d|0}function Uk(a){a=a|0;var b=0,d=0;b=a+4|0;d=c[(b&p)>>2]|0;if((c[(a&p)>>2]|0)>(d|0)){c[(b&p)>>2]=d+1;b=Sg(c[((c[(a&p)+8>>2]|0)+(d<<2)&p)>>2]|0,1)|0}else b=0;return b|0}function Vk(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;g=b+12|0;i=c[(g&p)>>2]|0;i=jw(i|0,((i|0)<0)<<31>>31|0,d|0,((d|0)<0)<<31>>31|0)|0;k=G;h=c[(b&p)+16>>2]|0;j=((h|0)<0)<<31>>31;if((k|0)<(j|0)|(k|0)==(j|0)&i>>>0<h>>>0){if((d|0)>0)f=4}else{d=Fo(b,d)|0;if((d|0)>=1)f=4}if((f|0)==4){b=b+8|0;do{d=d+-1|0;f=c[(g&p)>>2]|0;c[(g&p)>>2]=f+1;a[((c[(b&p)>>2]|0)+f&n)>>0]=e}while((d|0)>0)}return}function Wk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0;f=i;i=i+112|0;if((i|0)>=(j|0))fa();k=f+28|0;h=f;g=c[(b&p)+88>>2]|0;c[(h&p)+4>>2]=k;c[(h&p)+8>>2]=k;c[(h&p)+12>>2]=0;c[(h&p)+16>>2]=70;c[(h&p)+20>>2]=g;a[(h&n)+24>>0]=1;g=h+25|0;a[(g&n)>>0]=0;c[(h&p)>>2]=b;sg(h,1,d,e);e=tg(h)|0;if((a[(g&n)>>0]|0)==1)a[(b&n)+65>>0]=1;i=f;return e|0}function Xk(a){a=a|0;return lc[c[8792>>2]&127](a)|0}function Yk(a,d){a=a|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();l=m+40|0;g=m;if((d|0)!=0?(f=c[(d&p)+20>>2]|0,(f|0)!=0):0){c[(l&p)>>2]=0;c[(l&p)+4>>2]=0;c[(l&p)+8>>2]=0;c[(l&p)+12>>2]=0;c[(l&p)+16>>2]=0;c[(l&p)+20>>2]=0;c[(l&p)+24>>2]=0;h=g+0|0;k=h+40|0;do{c[(h&p)>>2]=0;h=h+4|0}while((h|0)<(k|0));b[(g&o)+8>>1]=1;e=a+32|0;c[(g&p)+32>>2]=c[(e&p)>>2];c[(l&p)>>2]=g;c[(l&p)+8>>2]=a;c[(l&p)+4>>2]=d;cc[f&31](l);if((c[(a&p)+24>>2]|0)>0)mg(c[(e&p)>>2]|0,c[(a&p)+20>>2]|0);h=a+0|0;e=g+0|0;k=h+40|0;do{c[(h&p)>>2]=c[(e&p)>>2];h=h+4|0;e=e+4|0}while((h|0)<(k|0));e=c[(l&p)+20>>2]|0}else e=0;i=m;return e|0}function Zk(a){a=a|0;var d=0,e=0,f=0;d=c[(a&p)>>2]|0;if(d){e=a+4|0;do{f=d;d=c[(d&p)>>2]|0;mg(c[(e&p)>>2]|0,f)}while((d|0)!=0)}c[(a&p)>>2]=0;b[(a&o)+24>>1]=0;c[(a&p)+8>>2]=0;c[(a&p)+12>>2]=0;c[(a&p)+20>>2]=0;b[(a&o)+26>>1]=1;return}function _k(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))fa();h=k;g=k+4|0;d=c[(b&p)>>2]|0;e=d+16|0;do if((c[((c[(e&p)>>2]|0)&p)+20>>2]|0)==0?(a[(b&n)+450>>0]|0)==0:0){f=zm(c[(d&p)>>2]|0,0,d,g,0,542)|0;if(f){th(b,25496,h);c[(b&p)+12>>2]=f;d=1;break}f=c[(g&p)>>2]|0;c[((c[(e&p)>>2]|0)&p)+20>>2]=f;if((xg(f,c[(d&p)+72>>2]|0,-1,0)|0)==7){a[(d&n)+65>>0]=1;d=1}else d=0}else d=0;while(0);i=k;return d|0}function $k(a){a=a|0;var b=0;do if(a)if((c[3157]|0)>>>0<=a>>>0&(c[3158]|0)>>>0>a>>>0){c[2167]=(c[2167]|0)+-1;c[(a&p)>>2]=c[3160];c[3160]=a;a=(c[3161]|0)+1|0;c[3161]=a;c[3162]=(a|0)<(c[3156]|0)&1;break}else{b=lc[c[8792>>2]&127](a)|0;c[2168]=(c[2168]|0)-b;Wc(a);break}while(0);return}function al(d,e,f){d=d|0;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;t=i;i=i+16|0;if((i|0)>=(j|0))fa();q=t;m=c[(e&p)>>2]|0;if((a[(d&n)+15>>0]|0)!=0?(c[(d&p)+24>>2]|0)!=0:0)s=12;else s=3;do if((s|0)==3){l=d+204|0;if(((m|0)!=0?(c[((c[(l&p)>>2]|0)&p)+12>>2]|0)==0:0)?(r=d+152|0,(m|0)!=(c[(r&p)>>2]|0)):0){u=q;c[(u&p)>>2]=0;c[(u&p)+4>>2]=0;if(((a[(d&n)+16>>0]|0)!=0?(h=c[(d&p)+60>>2]|0,g=c[(h&p)>>2]|0,(g|0)!=0):0)?(k=rc[c[(g&p)+24>>2]&127](h,q)|0,(k|0)!=0):0){g=0;f=k}else{g=Go(m)|0;if(g){xn(d);h=Ho(c[(l&p)>>2]|0,m)|0;if(!h){s=d+200|0;$k(c[(s&p)>>2]|0);c[(s&p)>>2]=g;s=q;q=c[(s&p)>>2]|0;s=c[(s&p)+4>>2]|0;l=jw(m|0,0,-1,-1)|0;s=jw(l|0,G|0,q|0,s|0)|0;s=qw(s|0,G|0,m|0,0)|0;c[(d&p)+24>>2]=s;c[(r&p)>>2]=m;s=12;break}else f=h}else{g=0;f=7}}$k(g);c[(e&p)>>2]=c[(r&p)>>2]}else s=12}while(0);if((s|0)==12){c[(e&p)>>2]=c[(d&p)+152>>2];g=d+142|0;if((f|0)<0)f=b[(g&o)>>1]|0;b[(g&o)>>1]=f;f=0}i=t;return f|0}function bl(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0;i=c[(d&p)+4>>2]|0;a:do if(a[(d&n)+9>>0]|0){if((c[(i&p)+76>>2]|0)!=(d|0)?(b[(i&o)+22>>1]&32)!=0:0){h=262;break}h=c[(i&p)+72>>2]|0;if(h){while(1){if(((c[(h&p)>>2]|0)!=(d|0)?(c[(h&p)+4>>2]|0)==(f|0):0)?(a[(h&n)+8>>0]|0)!=g<<24>>24:0)break;h=c[(h&p)+12>>2]|0;if(!h){h=0;break a}}if(g<<24>>24==2){h=i+22|0;b[(h&o)>>1]=e[(h&o)>>1]|64;h=262}else h=262}else h=0}else h=0;while(0);return h|0}function cl(b){b=b|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,G=0,H=0;H=i;i=i+64|0;if((i|0)>=(j|0))fa();G=H;D=H+28|0;C=H+24|0;m=H+20|0;t=H+48|0;v=H+16|0;w=H+12|0;A=H+8|0;B=H+32|0;if(!((a[(b&n)+15>>0]|0)!=0?(e=c[(b&p)+40>>2]|0,(e|0)!=0):0))F=3;do if((F|0)==3){E=b+208|0;f=c[(E&p)>>2]|0;a:do if(!f){z=b+16|0;do if(!(a[(z&n)>>0]|0)){h=b+176|0;g=b+180|0;while(1){e=fl(b,1)|0;if(!e)break;else if((e|0)!=5)break a;if(!(lc[c[(h&p)>>2]&127](c[(g&p)>>2]|0)|0)){e=5;break a}}u=b+17|0;if((d[(u&n)>>0]|0)<2){f=c[(b&p)>>2]|0;c[(G&p)>>2]=1;k=b+64|0;l=(c[(c[(k&p)>>2]&p)>>2]|0)!=0;if(l){h=1;e=0}else{e=pc[c[(f&p)+32>>2]&31](f,c[(b&p)+172>>2]|0,0,G)|0;h=(c[(G&p)>>2]|0)!=0}b:do if((e|0)==0&h){c[(D&p)>>2]=0;g=b+60|0;e=c[(g&p)>>2]|0;e=rc[c[((c[(e&p)>>2]|0)&p)+36>>2]&127](e,D)|0;if(!(c[(D&p)>>2]|e)){e=Io(b,C)|0;if(!e){if((c[(C&p)>>2]|0)!=0|l){do if(!l){c[(m&p)>>2]=2049;e=tc[c[(f&p)+24>>2]&31](f,c[(b&p)+172>>2]|0,c[(k&p)>>2]|0,2049,m)|0;if(!e)break;else if((e|0)!=14){h=0;break b}h=1;e=0;break b}while(0);a[(t&n)>>0]=0;e=c[(k&p)>>2]|0;e=tc[c[((c[(e&p)>>2]|0)&p)+8>>2]&31](e,t,1,0,0)|0;e=(e|0)==522?0:e;if(!l?(r=c[(k&p)>>2]|0,s=c[(r&p)>>2]|0,(s|0)!=0):0){lc[c[(s&p)+4>>2]&127](r)|0;c[(r&p)>>2]=0}h=(a[(t&n)>>0]|0)!=0&1;break}h=c[3164]|0;if(h)nc[h&3]();do if(((fl(b,2)|0)==0?(ac[c[(f&p)+28>>2]&63](f,c[(b&p)+172>>2]|0,0)|0,(a[(b&n)+4>>0]|0)==0):0)?(o=c[(g&p)>>2]|0,q=c[(o&p)>>2]|0,(q|0)!=0):0){if(!(a[(b&n)+13>>0]|0))rc[c[(q&p)+32>>2]&127](o,1)|0;if((a[(u&n)>>0]|0)==5)break;a[(u&n)>>0]=1}while(0);h=c[3166]|0;if(!h){h=0;e=0}else{nc[h&3]();h=0;e=0}}else h=0}else h=0}else h=0;while(0);if(e)break a;if(h)F=35}else F=35;do if((F|0)==35){if(a[(b&n)+14>>0]|0){e=776;break a}e=fl(b,4)|0;if(e)break a;f=b+64|0;if(!(c[(c[(f&p)>>2]&p)>>2]|0)){h=c[(b&p)>>2]|0;g=b+172|0;e=pc[c[(h&p)+32>>2]&31](h,c[(g&p)>>2]|0,0,v)|0;if((e|0)==0&(c[(v&p)>>2]|0)!=0){c[(w&p)>>2]=0;e=tc[c[(h&p)+24>>2]&31](h,c[(g&p)>>2]|0,c[(f&p)>>2]|0,2050,w)|0;if(!e)if(c[(w&p)>>2]&1){c[(G&p)>>2]=46645;c[(G&p)+4>>2]=10788;bd(14,14848,G);h=c[(f&p)>>2]|0;g=c[(h&p)>>2]|0;if(!g)e=14;else{lc[c[(g&p)+4>>2]&127](h)|0;c[(h&p)>>2]=0;e=14}}else e=0}}else e=0;if(!(c[(c[(f&p)>>2]&p)>>2]|0))if((a[(b&n)+4>>0]|0)==0?(x=c[(b&p)+60>>2]|0,y=c[(x&p)>>2]|0,(y|0)!=0):0){if(!(a[(b&n)+13>>0]|0))rc[c[(y&p)+32>>2]&127](x,1)|0;if((a[(u&n)>>0]|0)!=5){a[(u&n)>>0]=1;F=52}else F=52}else F=52;else{e=Jo(b)|0;if(!e){e=Ko(b,1)|0;a[(z&n)>>0]=0;F=52}}if((F|0)==52)if(!e)break;D=e&255;if(!((D|0)==10|(D|0)==13))break a;c[(b&p)+40>>2]=e;a[(z&n)>>0]=6;break a}while(0);h=b+12|0;if((a[(h&n)>>0]|0)==0?(a[(b&n)+23>>0]|0)!=0:0){c[(A&p)>>2]=0;e=Io(b,A)|0;if(e)break a;if(c[(A&p)>>2]|0){e=c[(b&p)+60>>2]|0;e=tc[c[((c[(e&p)>>2]|0)&p)+8>>2]&31](e,B,16,24,0)|0;if(!((e|0)==0|(e|0)==522))break a}else{g=B+0|0;f=g+16|0;do{a[(g&n)>>0]=0;g=g+1|0}while((g|0)<(f|0))}if(Zv(b+104|0,B,16)|0)xn(b)}if(!(a[(h&n)>>0]|0)){e=Io(b,C)|0;if(!e){g=c[(b&p)>>2]|0;f=c[(b&p)+212>>2]|0;if(!(c[(C&p)>>2]|0)){e=ac[c[(g&p)+28>>2]&63](g,f,0)|0;c[(D&p)>>2]=0;if((e|0)!=5898)F=68}else{e=pc[c[(g&p)+32>>2]&31](g,f,0,D)|0;F=68}if((F|0)==68){if(e)break;if(c[(D&p)>>2]|0){e=el(b,0)|0;break}}e=b+5|0;if((a[(e&n)>>0]|0)==5){a[(e&n)>>0]=0;e=0}else e=0}}else e=0}else e=0;while(0);f=c[(E&p)>>2]|0;if(!f)F=78;else F=74}else F=74;while(0);if((F|0)==74){c[(G&p)>>2]=0;Lo(f);f=c[(E&p)>>2]|0;g=0;do{g=g+1|0;e=Mo(f,G,0,g)|0}while((e|0)==-1);if(!(c[(G&p)>>2]|e))F=78;else{xn(b);F=78}}if((F|0)==78){if((a[(b&n)+16>>0]|0)==0&(e|0)==0)e=Io(b,b+24|0)|0;if(!e){a[(b&n)+16>>0]=1;e=0;break}}No(b)}while(0);i=H;return e|0}function dl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))fa();g=h;f=zg(c[(b&p)>>2]|0,d,g,f)|0;if(!f){g=c[(g&p)>>2]|0;f=c[(g&p)+8>>2]|0;c[(f&p)+56>>2]=c[(g&p)+4>>2];c[(f&p)+68>>2]=g;c[(f&p)+52>>2]=b;c[(f&p)+72>>2]=d;a[(f&n)+6>>0]=(d|0)==1?100:0;c[(e&p)>>2]=f;f=0}i=h;return f|0}function el(b,d){b=b|0;d=d|0;var e=0,f=0;do if((a[(b&n)+12>>0]|0)==0?(c[(b&p)+208>>2]|0)==0:0){d=c[(c[(b&p)+60>>2]&p)>>2]|0;if(!(a[(b&n)+4>>0]|0)){if((c[(d&p)>>2]|0)<=1){d=14;break}if(!(c[(d&p)+52>>2]|0)){d=14;break}}d=c[(b&p)+64>>2]|0;e=c[(d&p)>>2]|0;if(e){lc[c[(e&p)+4>>2]&127](d)|0;c[(d&p)>>2]=0}d=pn(b)|0;if(!d){a[(b&n)+5>>0]=5;a[(b&n)+16>>0]=0;d=0}}else f=10;while(0);if((f|0)==10){c[(d&p)>>2]=1;d=0}return d|0}function fl(b,d){b=b|0;d=d|0;var e=0,f=0;f=b+17|0;e=a[(f&n)>>0]|0;do if((e&255|0)<(d|0)|e<<24>>24==5){if(!(a[(b&n)+13>>0]|0)){e=c[(b&p)+60>>2]|0;e=rc[c[((c[(e&p)>>2]|0)&p)+28>>2]&127](e,d)|0;if(e)break;e=a[(f&n)>>0]|0}if(e<<24>>24!=5|(d|0)==4){a[(f&n)>>0]=d;e=0}else e=0}else e=0;while(0);return e|0}function gl(a){a=a|0;var b=0,d=0,e=0;b=c[(a&p)+4>>2]|0;a=c[(b&p)+444>>2]|0;if((a|0)!=0?(e=b+452|0,d=c[(e&p)>>2]|0,(d|0)>=0):0){a=rc[a&127](c[(b&p)+448>>2]|0,d)|0;if(!a)b=-1;else b=(c[(e&p)>>2]|0)+1|0;c[(e&p)>>2]=b}else a=0;return a|0}function hl(b,d){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,o=0,q=0,r=0,s=0;o=b+96|0;e=c[(o&p)>>2]|0;a:do if((e|0)<(d|0)?(a[(b&n)+6>>0]|0)!=0:0){f=b+92|0;s=rg(c[(f&p)>>2]|0,d*48|0,0)|0;if(!s)e=7;else{fw(s+(e*48|0)|0,0,(d-e|0)*48|0)|0;c[(f&p)>>2]=s;i=b+24|0;j=b+64|0;k=b+148|0;l=b+52|0;m=b+208|0;h=b+72|0;while(1){g=c[(i&p)>>2]|0;b=s+(e*48|0)|0;c[(s+(e*48|0)&p)+20>>2]=g;if((c[(c[(j&p)>>2]&p)>>2]|0)!=0?(r=h,q=c[(r&p)>>2]|0,r=c[(r&p)+4>>2]|0,(r|0)>0|(r|0)==0&q>>>0>0):0){c[(b&p)>>2]=q;c[(b&p)+4>>2]=r}else{c[(b&p)>>2]=c[(k&p)>>2];c[(b&p)+4>>2]=0}c[(s+(e*48|0)&p)+24>>2]=c[(l&p)>>2];f=qg(512,0)|0;if(!f)break;fw(f|0,0,512)|0;c[(f&p)>>2]=g;c[(s+(e*48|0)&p)+16>>2]=f;f=c[(m&p)>>2]|0;if(f){c[(s+(e*48|0)&p)+28>>2]=c[(f&p)+68>>2];c[(s+(e*48|0)&p)+32>>2]=c[(f&p)+76>>2];c[(s+(e*48|0)&p)+36>>2]=c[(f&p)+80>>2];c[(s+(e*48|0)&p)+40>>2]=c[(f&p)+104>>2]}e=e+1|0;c[(o&p)>>2]=e;if((e|0)>=(d|0)){e=0;break a}}c[(s+(e*48|0)&p)+16>>2]=f;e=7}}else e=0;while(0);return e|0}function il(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;do if(e){f=c[(e&p)+4>>2]|0;if(!(c[(f&p)>>2]|0)){f=Oo(a,d,e)|0;break}e=f+26|0;g=b[(e&o)>>1]|0;if(!(g<<16>>16)){h=a+12|0;c[(h&p)>>2]=(c[(h&p)>>2]|0)+1}b[(e&o)>>1]=g+1<<16>>16;if((d|0)==1)c[(a&p)+44>>2]=f}else f=0;while(0);return f|0}function jl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=a+96|0;d=c[(h&p)>>2]|0;if((d|0)>0){g=a+92|0;f=0;a=0;do{e=c[(g&p)>>2]|0;if((c[(e+(f*48|0)&p)+20>>2]|0)>>>0>=b>>>0){a=bi(c[(e+(f*48|0)&p)+16>>2]|0,b)|0|a;d=c[(h&p)>>2]|0}f=f+1|0}while((f|0)<(d|0))}else a=0;return a|0}function kl(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=i;i=i+32|0;if((i|0)>=(j|0))fa();y=A;u=A+16|0;v=A+12|0;x=A+8|0;s=c[(a&p)+68>>2]|0;a:do if((s|0)!=0?(b[(a&o)+40>>1]|0)!=0:0){t=d*383&8191;w=(s+33|0)>>>12;b:while(1){g=Po(a,w,u,v,x)|0;if(g)break a;g=(c[(u&p)>>2]|0)+(t<<1)|0;if(!(b[(g&o)>>1]|0))g=0;else{n=c[(x&p)>>2]|0;q=c[(u&p)>>2]|0;r=c[(v&p)>>2]|0;k=g;l=t;g=0;m=8192;while(1){h=(e[(k&o)>>1]|0)+n|0;if(h>>>0<=s>>>0)g=(c[(r+(e[(k&o)>>1]<<2)&p)>>2]|0)==(d|0)?h:g;if(!m){z=11;break b}l=l+1&8191;k=q+(l<<1)|0;if(!(b[(k&o)>>1]|0))break;else m=m+-1|0}}if((w|0)>0&(g|0)==0)w=w+-1|0;else{z=14;break}}if((z|0)==11){c[(y&p)>>2]=51262;c[(y&p)+4>>2]=10788;bd(11,13600,y);g=11;break}else if((z|0)==14){c[(f&p)>>2]=g;g=0;break}}else z=3;while(0);if((z|0)==3){c[(f&p)>>2]=0;g=0}i=A;return g|0}function ll(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;h=c[(b&p)+16>>2]|0;i=c[(b&p)+20>>2]|0;f=c[(h&p)+152>>2]|0;b=b+4|0;g=c[(b&p)>>2]|0;if(!d){d=sw(i+-1|0,0,f|0,((f|0)<0)<<31>>31|0)|0;j=c[(h&p)+60>>2]|0;d=tc[c[((c[(j&p)>>2]|0)&p)+8>>2]&31](j,g,f,d,G)|0;d=(d|0)==522?0:d}else{k=c[(h&p)+208>>2]|0;j=e[(k&o)+66>>1]|0;j=j<<16&65536|j&65024;d=sw(j|24|0,0,d+-1|0,0)|0;d=jw(d|0,G|0,56,0)|0;k=c[(k&p)+8>>2]|0;d=tc[c[((c[(k&p)>>2]|0)&p)+8>>2]&31](k,g,(j|0)<(f|0)?j:f,d,G)|0}do if((i|0)==1)if(!d){g=h+104|0;f=(c[(b&p)>>2]|0)+24|0;b=g+16|0;do{a[(g&n)>>0]=a[(f&n)>>0]|0;g=g+1|0;f=f+1|0}while((g|0)<(b|0));break}else{g=h+104|0;b=g+16|0;do{a[(g&n)>>0]=255;g=g+1|0}while((g|0)<(b|0));break}while(0);return d|0}function ml(a){a=a|0;var d=0,e=0;if(b[(a&o)+24>>1]&2)Qo(a,1);d=c[(a&p)+28>>2]|0;e=d+12|0;c[(e&p)>>2]=(c[(e&p)>>2]|0)+-1;if((c[(a&p)+20>>2]|0)==1)c[(d&p)+44>>2]=0;mc[c[8880>>2]&63](c[(d&p)+40>>2]|0,c[(a&p)>>2]|0,1);return}function nl(b){b=b|0;var d=0;d=a[(b&n)+16>>0]|0;do if(!(d<<24>>24==0|d<<24>>24==6)){if((d&255)<=1){if(a[(b&n)+4>>0]|0)break;Cl(b,0,0)|0;break}d=c[3164]|0;if(d)nc[d&3]();Hl(b)|0;d=c[3166]|0;if(d)nc[d&3]()}while(0);No(b);return}function ol(d){d=d|0;var e=0,f=0;f=d+26|0;e=(b[(f&o)>>1]|0)+-1<<16>>16;b[(f&o)>>1]=e;do if(!(e<<16>>16)){e=c[(d&p)+28>>2]|0;f=e+12|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+-1;if(b[(d&o)+24>>1]&2){if(!(c[(d&p)+36>>2]|0))break;Qo(d,3);break}if(a[(e&n)+28>>0]|0){if((c[(d&p)+20>>2]|0)==1)c[(e&p)+44>>2]=0;mc[c[8880>>2]&63](c[(e&p)+40>>2]|0,c[(d&p)>>2]|0,0)}}while(0);return}function pl(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;j=c[(e&p)+56>>2]|0;k=c[(e&p)+52>>2]|0;g=d[(e&n)+6>>0]|0;h=j+g|0;i=k+36|0;if(b[(k&o)+22>>1]&4)fw(h|0,0,(c[(i&p)>>2]|0)-g|0)|0;a[(h&n)>>0]=f;h=g+(f>>>1&4^12)|0;l=j+(g+1)|0;a[(l&n)>>0]=0;a[(l&n)+1>>0]=0;a[(l&n)+2>>0]=0;a[(l&n)+3>>0]=0;a[(j+g&n)+7>>0]=0;a[(j+g&n)+5>>0]=(c[(i&p)>>2]|0)>>>8;a[(j+g&n)+6>>0]=c[(i&p)>>2];b[(e&o)+16>>1]=(c[(i&p)>>2]|0)-h;Ro(e,f)|0;b[(e&o)+14>>1]=h;c[(e&p)+60>>2]=j+(c[(i&p)>>2]|0);c[(e&p)+64>>2]=j+(h&65535);a[(e&n)+1>>0]=0;b[(e&o)+20>>1]=(c[(k&p)+32>>2]|0)+65535;b[(e&o)+18>>1]=0;a[(e&n)>>0]=1;return}function ql(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+32|0;if((i|0)>=(j|0))fa();g=h+16|0;f=h;d=a+8|0;c[(g&p)>>2]=c[(d&p)>>2];c[(g&p)+4>>2]=c[(d&p)+4>>2];c[(g&p)+8>>2]=c[(d&p)+8>>2];c[(g&p)+12>>2]=c[(d&p)+12>>2];e=a+40|0;c[(f&p)>>2]=c[(e&p)>>2];c[(f&p)+4>>2]=c[(e&p)+4>>2];c[(f&p)+8>>2]=c[(e&p)+8>>2];c[(f&p)+12>>2]=c[(e&p)+12>>2];c[(e&p)>>2]=0;c[(e&p)+4>>2]=0;c[(e&p)+8>>2]=0;c[(e&p)+12>>2]=0;Ol(a+24|0);e=c[(f&p)+8>>2]|0;if(e)do{jg(0,c[(e&p)+8>>2]|0);e=c[(e&p)>>2]|0}while((e|0)!=0);Ol(f);c[(d&p)>>2]=0;c[(d&p)+4>>2]=0;c[(d&p)+8>>2]=0;c[(d&p)+12>>2]=0;d=c[(g&p)+8>>2]|0;if(d)do{kg(0,c[(d&p)+8>>2]|0);d=c[(d&p)>>2]|0}while((d|0)!=0);Ol(g);Ol(a+56|0);c[(a&p)+72>>2]=0;d=a+78|0;e=b[(d&o)>>1]|0;if(e&1){f=a+4|0;c[(f&p)>>2]=(c[(f&p)>>2]|0)+1;b[(d&o)>>1]=e&65534}i=h;return}function rl(a){a=a|0;var d=0,e=0;e=a+332|0;d=c[(e&p)>>2]|0;c[(e&p)>>2]=0;if(d){a=c[(a&p)+4>>2]|0;if(a)do{e=a+88|0;b[(e&o)>>1]=b[(e&o)>>1]|8;a=c[(a&p)+52>>2]|0}while((a|0)!=0);do{a=d;d=c[(d&p)+24>>2]|0;An(a)}while((d|0)!=0)}return}function sl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=a+20|0;b=c[(g&p)>>2]|0;j=a+16|0;d=c[(j&p)>>2]|0;if((b|0)>2){f=2;e=2;do{b=d+(f<<4)|0;if(!(c[(d+(f<<4)&p)+4>>2]|0)){mg(a,c[(b&p)>>2]|0);c[(b&p)>>2]=0}else{if((e|0)<(f|0)){d=d+(e<<4)|0;c[(d&p)>>2]=c[(b&p)>>2];c[(d&p)+4>>2]=c[(b&p)+4>>2];c[(d&p)+8>>2]=c[(b&p)+8>>2];c[(d&p)+12>>2]=c[(b&p)+12>>2]}e=e+1|0}f=f+1|0;b=c[(g&p)>>2]|0;d=c[(j&p)>>2]|0}while((f|0)<(b|0))}else e=2;fw(d+(e<<4)|0,0,b-e<<4|0)|0;c[(g&p)>>2]=e;if((e|0)<3?(h=c[(j&p)>>2]|0,i=a+456|0,(h|0)!=(i|0)):0){c[(i&p)>>2]=c[(h&p)>>2];c[(i&p)+4>>2]=c[(h&p)+4>>2];c[(i&p)+8>>2]=c[(h&p)+8>>2];c[(i&p)+12>>2]=c[(h&p)+12>>2];c[(i&p)+16>>2]=c[(h&p)+16>>2];c[(i&p)+20>>2]=c[(h&p)+20>>2];c[(i&p)+24>>2]=c[(h&p)+24>>2];c[(i&p)+28>>2]=c[(h&p)+28>>2];mg(a,h);c[(j&p)>>2]=i}return}function tl(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();v=y;s=c[(f&p)+16>>2]|0;u=s+152|0;k=((c[(s&p)+148>>2]|0)>>>0)/((c[(u&p)>>2]|0)>>>0)|0;x=s+20|0;a[(x&n)>>0]=d[(x&n)>>0]|0|4;r=f+20|0;l=c[(r&p)>>2]|0;f=l+-1&0-k;w=f+1|0;h=~f;g=c[(s&p)+24>>2]|0;if(l>>>0<=g>>>0){if((f+k|0)>>>0>g>>>0)k=g+1+h|0}else k=l+1+h|0;a:do if((k|0)>0){q=s+56|0;t=s+204|0;m=0;f=0;while(1){h=m+w|0;if((h|0)!=(l|0)?(di(c[(q&p)>>2]|0,h)|0)!=0:0){l=ac[c[8876>>2]&63](c[((c[(t&p)>>2]|0)&p)+40>>2]|0,h,0)|0;h=il(c[(t&p)>>2]|0,h,l)|0;c[(v&p)>>2]=h;if(!h)g=0;else{f=(b[(h&o)+24>>1]&4)==0?f:1;Bg(h);g=0}}else if((h|0)==(((c[2514]|0)/(c[(u&p)>>2]|0)|0)+1|0))g=0;else{g=zg(s,h,v,0)|0;if(g)break a;l=c[(v&p)>>2]|0;g=ul(l)|0;f=(b[(l&o)+24>>1]&4)==0?f:1;Bg(l)}m=m+1|0;h=(g|0)==0;if(!((m|0)<(k|0)&h))break;l=c[(r&p)>>2]|0}if(h&(f|0)!=0){f=0;do{s=f+w|0;g=ac[c[8876>>2]&63](c[((c[(t&p)>>2]|0)&p)+40>>2]|0,s,0)|0;g=il(c[(t&p)>>2]|0,s,g)|0;if(g){s=g+24|0;b[(s&o)>>1]=e[(s&o)>>1]|0|4;Bg(g)}f=f+1|0}while((f|0)!=(k|0));g=0}}else g=0;while(0);a[(x&n)>>0]=(d[(x&n)>>0]|0)&251;i=y;return g|0}function ul(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;E=i;i=i+16|0;if((i|0)>=(j|0))fa();C=E+4|0;t=E;D=c[(f&p)+16>>2]|0;x=D+16|0;a:do if((a[(x&n)>>0]|0)==2){s=c[(D&p)>>2]|0;k=c[(D&p)+40>>2]|0;if(!k){do if((c[(D&p)+208>>2]|0)==0?(q=D+5|0,(a[(q&n)>>0]|0)!=2):0){r=D+24|0;k=c[(r&p)>>2]|0;h=qg(512,0)|0;if(!h){c[(D&p)+56>>2]=0;g=7;break a}fw(h|0,0,512)|0;c[(h&p)>>2]=k;u=D+56|0;c[(u&p)>>2]=h;l=D+64|0;m=c[(l&p)>>2]|0;do if(!(c[(m&p)>>2]|0)){if((a[(q&n)>>0]|0)==4){k=m+0|0;h=k+40|0;do{c[(k&p)>>2]=0;k=k+4|0}while((k|0)<(h|0));c[(m&p)>>2]=14696;w=17;break}h=a[(D&n)+12>>0]|0;c[(t&p)>>2]=0;if((h<<24>>24==0?(c[(r&p)>>2]|0)!=0:0)?(g=c[(D&p)+60>>2]|0,g=ac[c[((c[(g&p)>>2]|0)&p)+40>>2]&63](g,20,t)|0,(g|0)!=12):0){k=(g|0)==0;if(k&(c[(t&p)>>2]|0)!=0){g=1032;break}if(k)w=15}else w=15;if((w|0)==15)g=tc[c[(s&p)+24>>2]&31](s,c[(D&p)+172>>2]|0,c[(l&p)>>2]|0,h<<24>>24!=0?4110:2054,0)|0;if(!g)w=17}else w=17;while(0);if((w|0)==17){c[(D&p)+44>>2]=0;g=D+72|0;a[(D&n)+19>>0]=0;c[(g&p)>>2]=0;c[(g&p)+4>>2]=0;c[(g&p)+8>>2]=0;c[(g&p)+12>>2]=0;g=So(D)|0;if(!g)break}ei(c[(u&p)>>2]|0);c[(u&p)>>2]=0;if(!g){w=20;break a}else break a}while(0);a[(x&n)>>0]=3;w=20}else g=k}else w=20;while(0);b:do if((w|0)==20){To(f);y=D+56|0;z=f+20|0;m=c[(z&p)>>2]|0;do if(!(di(c[(y&p)>>2]|0,m)|0))if(!(c[(D&p)+208>>2]|0)){if(m>>>0<=(c[(D&p)+28>>2]|0)>>>0?(B=D+64|0,A=c[(B&p)>>2]|0,(c[(A&p)>>2]|0)!=0):0){w=D+72|0;q=w;u=c[(q&p)>>2]|0;q=c[(q&p)+4>>2]|0;v=c[(f&p)+4>>2]|0;k=c[(D&p)+48>>2]|0;x=D+152|0;l=(c[(x&p)>>2]|0)+-200|0;if((l|0)>0)do{k=(d[(v+l&n)>>0]|0)+k|0;l=l+-200|0}while((l|0)>0);t=f+24|0;b[(t&o)>>1]=e[(t&o)>>1]|4;a[(C&n)>>0]=m>>>24;t=C+1|0;a[(t&n)>>0]=m>>>16;s=C+2|0;a[(s&n)>>0]=m>>>8;r=C+3|0;a[(r&n)>>0]=m;g=tc[c[((c[(A&p)>>2]|0)&p)+12>>2]&31](A,C,4,u,q)|0;if(g)break b;m=c[(B&p)>>2]|0;g=c[(x&p)>>2]|0;h=jw(u|0,q|0,4,0)|0;l=G;g=tc[c[((c[(m&p)>>2]|0)&p)+12>>2]&31](m,v,g,h,l)|0;if(g)break b;u=c[(B&p)>>2]|0;g=c[(x&p)>>2]|0;g=jw(h|0,l|0,g|0,((g|0)<0)<<31>>31|0)|0;a[(C&n)>>0]=k>>>24;a[(t&n)>>0]=k>>>16;a[(s&n)>>0]=k>>>8;a[(r&n)>>0]=k;g=tc[c[((c[(u&p)>>2]|0)&p)+12>>2]&31](u,C,4,g,G)|0;if(g)break b;g=(c[(x&p)>>2]|0)+8|0;u=w;u=jw(g|0,((g|0)<0)<<31>>31|0,c[(u&p)>>2]|0,c[(u&p)+4>>2]|0)|0;g=w;c[(g&p)>>2]=u;c[(g&p)+4>>2]=G;g=D+44|0;c[(g&p)>>2]=(c[(g&p)>>2]|0)+1;g=bi(c[(y&p)>>2]|0,c[(z&p)>>2]|0)|0;g=jl(D,c[(z&p)>>2]|0)|0|g;if(!g){w=34;break}else break b}if((a[(x&n)>>0]|0)!=4){w=f+24|0;b[(w&o)>>1]=e[(w&o)>>1]|4;w=34}else w=34}else w=34;else if((c[(D&p)+96>>2]|0)!=0?(Uo(f)|0)!=0:0)w=34;else g=0;while(0);if((w|0)==34)if((c[(D&p)+96>>2]|0)>0?(Uo(f)|0)!=0:0)g=Vo(f)|0;else g=0;k=D+24|0;h=c[(z&p)>>2]|0;if((c[(k&p)>>2]|0)>>>0<h>>>0)c[(k&p)>>2]=h}while(0);i=E;return g|0}function vl(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+128|0;if((i|0)>=(j|0))fa();k=l;e=c[(a&p)>>2]|0;d=(e|0)==0;if(!d){b=e;do{a=b;b=c[(b&p)+32>>2]|0;c[(a&p)+12>>2]=b}while((b|0)!=0);b=k+0|0;a=b+128|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(a|0));if(d)a=0;else{g=k+124|0;do{b=e+12|0;a=e;e=c[(b&p)>>2]|0;c[(b&p)>>2]=0;b=0;do{f=k+(b<<2)|0;d=c[(f&p)>>2]|0;if(!d){d=f;h=8;break}a=Wo(d,a)|0;c[(f&p)>>2]=0;b=b+1|0}while((b|0)<31);if((h|0)==8){h=0;c[(d&p)>>2]=a}if((b|0)==31)c[(g&p)>>2]=Wo(c[(g&p)>>2]|0,a)|0}while((e|0)!=0);a=c[(k&p)>>2]|0}}else{b=k+0|0;a=b+128|0;do{c[(b&p)>>2]=0;b=b+4|0}while((b|0)<(a|0));a=0}b=1;do{a=Wo(a,c[(k+(b<<2)&p)>>2]|0)|0;b=b+1|0}while((b|0)!=32);i=l;return a|0}function wl(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,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;M=i;i=i+80|0;if((i|0)>=(j|0))fa();s=M+32|0;t=M+28|0;C=M;v=M+40|0;K=M+24|0;c[(K&p)>>2]=f;z=(h|0)==0;if(!z){c[(K&p)>>2]=f;if(!f){f=0;q=0}else{q=0;m=K;do{A=(c[(f&p)+20>>2]|0)>>>0>g>>>0;H=f+12|0;q=q+(A&1^1)|0;m=A?m:H;f=c[(H&p)>>2]|0;c[(m&p)>>2]=f}while((f|0)!=0);f=c[(K&p)>>2]|0}}else q=1;H=e+192|0;c[(H&p)>>2]=(c[(H&p)>>2]|0)+q;if((c[(f&p)+20>>2]|0)==1)yl(f);I=c[(e&p)+208>>2]|0;J=c[(e&p)+152>>2]|0;u=a[(e&n)+10>>0]|0;A=u&255;m=I+40|0;if(!(b[(m&o)>>1]|0)){do if(c[((c[(c[(I&p)+32>>2]&p)>>2]|0)&p)+96>>2]|0){cd(4,s);q=I+43|0;if(!(a[(q&n)>>0]|0)){k=c[(I&p)+4>>2]|0;k=pc[c[((c[(k&p)>>2]|0)&p)+56>>2]&31](k,4,4,10)|0;if((k|0)==5){B=14;break}else if(k)break}Xo(I,c[(s&p)>>2]|0);if(!(a[(q&n)>>0]|0)){B=c[(I&p)+4>>2]|0;pc[c[((c[(B&p)>>2]|0)&p)+56>>2]&31](B,4,4,9)|0;B=14}else B=14}else{q=I+43|0;B=14}while(0);if((B|0)==14){if(!(a[(q&n)>>0]|0)){H=c[(I&p)+4>>2]|0;pc[c[((c[(H&p)>>2]|0)&p)+56>>2]&31](H,3,1,5)|0}b[(m&o)>>1]=-1;q=0;do{q=q+1|0;k=Mo(I,t,1,q)|0}while((k|0)==-1)}if(!k)B=19}else B=19;a:do if((B|0)==19){H=I+68|0;t=c[(H&p)>>2]|0;if(!t){a[(v&n)>>0]=55;a[(v&n)+1>>0]=127;a[(v&n)+2>>0]=6;a[(v&n)+3>>0]=-126;a[(v&n)+4>>0]=0;a[(v&n)+5>>0]=45;a[(v&n)+6>>0]=-30;a[(v&n)+7>>0]=24;a[(v&n)+8>>0]=J>>>24;a[(v&n)+9>>0]=J>>>16;a[(v&n)+10>>0]=J>>>8;a[(v&n)+11>>0]=J;y=c[(I&p)+104>>2]|0;a[(v&n)+12>>0]=y>>>24;a[(v&n)+13>>0]=y>>>16;a[(v&n)+14>>0]=y>>>8;a[(v&n)+15>>0]=y;if(!y)cd(8,I+84|0);l=I+84|0;q=l;q=d[(q&n)>>0]|d[(q&n)+1>>0]<<8|d[(q&n)+2>>0]<<16|d[(q&n)+3>>0]<<24;l=l+4|0;l=d[(l&n)>>0]|d[(l&n)+1>>0]<<8|d[(l&n)+2>>0]<<16|d[(l&n)+3>>0]<<24;s=v+16|0;m=s;a[(m&n)>>0]=q;a[(m&n)+1>>0]=q>>8;a[(m&n)+2>>0]=q>>16;a[(m&n)+3>>0]=q>>24;s=s+4|0;a[(s&n)>>0]=l;a[(s&n)+1>>0]=l>>8;a[(s&n)+2>>0]=l>>16;a[(s&n)+3>>0]=l>>24;s=v+24|0;l=v;m=0;q=0;do{m=m+q+(c[(l&p)>>2]|0)|0;q=m+q+(c[(l&p)+4>>2]|0)|0;l=l+8|0}while(l>>>0<s>>>0);a[(s&n)>>0]=m>>>24;a[(v&n)+25>>0]=m>>>16;a[(v&n)+26>>0]=m>>>8;a[(v&n)+27>>0]=m;a[(v&n)+28>>0]=q>>>24;a[(v&n)+29>>0]=q>>>16;a[(v&n)+30>>0]=q>>>8;a[(v&n)+31>>0]=q;c[(I&p)+36>>2]=J;a[(I&n)+65>>0]=0;c[(I&p)+76>>2]=m;c[(I&p)+80>>2]=q;a[(I&n)+47>>0]=1;q=I+8|0;k=c[(q&p)>>2]|0;k=tc[c[((c[(k&p)>>2]|0)&p)+12>>2]&31](k,v,32,0,0)|0;if(k)break;if((a[(I&n)+48>>0]|0)!=0&u<<24>>24!=0?(r=c[(q&p)>>2]|0,r=rc[c[((c[(r&p)>>2]|0)&p)+20>>2]&127](r,A&19)|0,(r|0)!=0):0){k=r;break}}else q=I+8|0;c[(C&p)>>2]=I;v=c[(q&p)>>2]|0;c[(C&p)+4>>2]=v;w=C+8|0;x=w;c[(x&p)>>2]=0;c[(x&p)+4>>2]=0;c[(C&p)+16>>2]=A;c[(C&p)+20>>2]=J;x=J+24|0;y=((x|0)<0)<<31>>31;m=sw(t|0,0,x|0,y|0)|0;m=jw(m|0,G|0,32,0)|0;k=G;if(!f){l=m;u=0}else{r=k;l=t;u=f;while(1){t=l+1|0;if(z)l=0;else l=(c[(u&p)+12>>2]|0)==0?g:0;k=Yo(C,u,l,m,r)|0;if(k)break a;m=jw(m|0,r|0,x|0,y|0)|0;k=G;s=c[(u&p)+12>>2]|0;if(!s){l=m;break}else{r=k;l=t;u=s}}}z=(h|0)!=0;do if(!((A&32|0)==0|z^1)){if(!(a[(I&n)+49>>0]|0)){m=0;k=rc[c[((c[(v&p)>>2]|0)&p)+20>>2]&127](v,A&19)|0;break}q=c[(q&p)>>2]|0;m=c[((c[(q&p)>>2]|0)&p)+44>>2]|0;if(m){q=lc[m&127](q)|0;if((q|0)<32){m=512;q=0}else B=37}else{q=4096;B=37}if((B|0)==37){B=(q|0)>65536;m=B?65536:q;q=B?0:((q|0)<0)<<31>>31}B=jw(l|0,k|0,-1,-1)|0;B=jw(B|0,G|0,m|0,q|0)|0;s=G;r=rw(B|0,s|0,m|0,q|0)|0;r=dw(B|0,s|0,r|0,G|0)|0;s=G;B=w;c[(B&p)>>2]=r;c[(B&p)+4>>2]=s;if((k|0)<(s|0)|(k|0)==(s|0)&l>>>0<r>>>0){q=k;m=0;while(1){k=Yo(C,u,g,l,q)|0;if(k)break a;l=jw(l|0,q|0,x|0,y|0)|0;q=G;m=m+1|0;if(!((q|0)<(s|0)|(q|0)==(s|0)&l>>>0<r>>>0)){k=0;break}}}else{m=0;k=0}}else{m=0;k=0}while(0);if((z?(D=I+47|0,(a[(D&n)>>0]|0)!=0):0)?(F=I+16|0,E=c[(F&p)>>2]|0,F=c[(F&p)+4>>2]|0,(F|0)>-1|(F|0)==-1&E>>>0>4294967295):0){h=sw(m+t|0,0,x|0,y|0)|0;h=jw(h|0,G|0,32,0)|0;C=G;B=(C|0)>(F|0)|(C|0)==(F|0)&h>>>0>E>>>0;Zo(I,B?h:E,B?C:F);a[(D&n)>>0]=0}l=c[(H&p)>>2]|0;if((f|0)!=0&(k|0)==0)do{l=l+1|0;k=_o(I,l,c[(f&p)+20>>2]|0)|0;f=c[(f&p)+12>>2]|0}while((f|0)!=0&(k|0)==0);f=(k|0)==0;if(f&(m|0)>0){q=u+20|0;do{l=l+1|0;m=m+-1|0;k=_o(I,l,c[(q&p)>>2]|0)|0;f=(k|0)==0}while(f&(m|0)>0)}if(f){b[(I&o)+66>>1]=J&65280|J>>>16;c[(H&p)>>2]=l;if(z){H=I+60|0;c[(H&p)>>2]=(c[(H&p)>>2]|0)+1;c[(I&p)+72>>2]=g;$o(I);c[(I&p)+12>>2]=l}}else if(k)break;l=e+88|0;k=c[(l&p)>>2]|0;if((k|0)!=0?(L=c[(K&p)>>2]|0,(L|0)!=0):0){f=k;k=L;while(1){ap(f,c[(k&p)+20>>2]|0,c[(k&p)+4>>2]|0);k=c[(k&p)+12>>2]|0;if(!k){k=0;break a}f=c[(l&p)>>2]|0}}else k=0}while(0);i=M;return k|0}function xl(d){d=d|0;var f=0,g=0;f=d+24|0;if(((b[(f&o)>>1]&2)!=0?(Qo(d,1),b[(f&o)>>1]=e[(f&o)>>1]&65529,(b[(d&o)+26>>1]|0)==0):0)?(g=c[(d&p)+28>>2]|0,(a[(g&n)+28>>0]|0)!=0):0){if((c[(d&p)+20>>2]|0)==1)c[(g&p)+44>>2]=0;mc[c[8880>>2]&63](c[(g&p)+40>>2]|0,c[(d&p)>>2]|0,0)}return}function yl(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;f=c[(b&p)+16>>2]|0;f=((d[(f&n)+105>>0]|0)<<16|(d[(f&n)+104>>0]|0)<<24|(d[(f&n)+106>>0]|0)<<8|(d[(f&n)+107>>0]|0))+1|0;b=b+4|0;e=c[(b&p)>>2]|0;i=f>>>24&255;a[(e&n)+24>>0]=i;h=f>>>16&255;a[(e&n)+25>>0]=h;g=f>>>8&255;a[(e&n)+26>>0]=g;f=f&255;a[(e&n)+27>>0]=f;e=c[(b&p)>>2]|0;a[(e&n)+92>>0]=i;a[(e&n)+93>>0]=h;a[(e&n)+94>>0]=g;a[(e&n)+95>>0]=f;b=c[(b&p)>>2]|0;a[(b&n)+96>>0]=0;a[(b&n)+97>>0]=45;a[(b&n)+98>>0]=-26;a[(b&n)+99>>0]=9;return}function zl(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;y=i;i=i+32|0;if((i|0)>=(j|0))fa();r=y+16|0;u=y;k=bp(f)|0;a:do if(!k){do if(!(a[(f&n)+7>>0]|0)){w=f+64|0;if((c[(c[(w&p)>>2]&p)>>2]|0)!=0?(a[(f&n)+5>>0]|0)!=4:0){q=c[(f&p)+60>>2]|0;q=lc[c[((c[(q&p)>>2]|0)&p)+48>>2]&127](q)|0;v=(q&512|0)==0;if(v){l=u;c[(l&p)>>2]=-117058087;c[(l&p)+4>>2]=-681336544;l=c[(f&p)+44>>2]|0;a[(u&n)+8>>0]=l>>>24;a[(u&n)+9>>0]=l>>>16;a[(u&n)+10>>0]=l>>>8;a[(u&n)+11>>0]=l;l=f+72|0;k=c[(l&p)>>2]|0;l=c[(l&p)+4>>2]|0;if((k|0)==0&(l|0)==0){l=0;k=0}else{k=jw(k|0,l|0,-1,-1)|0;l=c[(f&p)+148>>2]|0;k=qw(k|0,G|0,l|0,0)|0;k=jw(k|0,G|0,1,0)|0;l=sw(k|0,G|0,l|0,0)|0;k=G}m=c[(w&p)>>2]|0;m=tc[c[((c[(m&p)>>2]|0)&p)+8>>2]&31](m,r,8,l,k)|0;if(!m){if(!(Zv(r,14808,8)|0)){s=c[(w&p)>>2]|0;s=tc[c[((c[(s&p)>>2]|0)&p)+12>>2]&31](s,14976,1,l,k)|0;t=12}}else{s=m;t=12}if((t|0)==12?!((s|0)==0|(s|0)==522):0){h=s;break a}k=q&1024;if((a[(f&n)+8>>0]|0)!=0&(k|0)==0?(h=c[(w&p)>>2]|0,h=rc[c[((c[(h&p)>>2]|0)&p)+20>>2]&127](h,d[(f&n)+11>>0]|0)|0,(h|0)!=0):0)break a;t=c[(w&p)>>2]|0;h=f+80|0;h=tc[c[((c[(t&p)>>2]|0)&p)+12>>2]&31](t,u,12,c[(h&p)>>2]|0,c[(h&p)+4>>2]|0)|0;if(h)break a}else k=q&1024;if((k|0)==0?(u=c[(w&p)>>2]|0,x=a[(f&n)+11>>0]|0,x=rc[c[((c[(u&p)>>2]|0)&p)+20>>2]&127](u,(x<<24>>24==3?16:0)|x&255)|0,(x|0)!=0):0){h=x;break a}s=f+72|0;t=c[(s&p)+4>>2]|0;u=f+80|0;c[(u&p)>>2]=c[(s&p)>>2];c[(u&p)+4>>2]=t;if((g|0)==0|v^1)break;c[(f&p)+44>>2]=0;h=So(f)|0;if(!h)break;else break a}t=f+72|0;u=c[(t&p)+4>>2]|0;v=f+80|0;c[(v&p)>>2]=c[(t&p)>>2];c[(v&p)+4>>2]=u}while(0);k=c[(f&p)+204>>2]|0;h=c[(k&p)>>2]|0;if(h)do{v=h+24|0;b[(v&o)>>1]=e[(v&o)>>1]&65531;h=c[(h&p)+32>>2]|0}while((h|0)!=0);c[(k&p)+8>>2]=c[(k&p)+4>>2];a[(f&n)+16>>0]=4;h=0}else h=k;while(0);i=y;return h|0}function Al(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))fa();l=y;x=d+60|0;g=c[(x&p)>>2]|0;if(!((c[(g&p)>>2]|0)==0?(f=c[(d&p)>>2]|0,f=tc[c[(f&p)+24>>2]&31](f,0,g,c[(d&p)+144>>2]&556897|30,0)|0,(f|0)!=0):0)){g=d+36|0;f=c[(g&p)>>2]|0;h=d+24|0;k=c[(h&p)>>2]|0;do if(f>>>0<k>>>0){if((c[(e&p)+12>>2]|0)==0?(c[(e&p)+20>>2]|0)>>>0<=f>>>0:0)break;q=c[(d&p)+152>>2]|0;q=sw(k|0,0,q|0,((q|0)<0)<<31>>31|0)|0;r=l;c[(r&p)>>2]=q;c[(r&p)+4>>2]=G;r=c[(x&p)>>2]|0;ac[c[((c[(r&p)>>2]|0)&p)+40>>2]&63](r,5,l)|0;c[(g&p)>>2]=c[(h&p)>>2]}while(0);if(!e)f=0;else{s=d+24|0;t=d+152|0;u=d+104|0;v=d+32|0;w=d+192|0;r=d+88|0;do{q=c[(e&p)+20>>2]|0;if(q>>>0<=(c[(s&p)>>2]|0)>>>0?(b[(e&o)+24>>1]&32)==0:0){l=c[(t&p)>>2]|0;d=sw(l|0,((l|0)<0)<<31>>31|0,q+-1|0,0)|0;k=G;h=(q|0)==1;if(h){yl(e);l=c[(t&p)>>2]|0}m=e+4|0;g=c[(m&p)>>2]|0;f=c[(x&p)>>2]|0;f=tc[c[((c[(f&p)>>2]|0)&p)+12>>2]&31](f,g,l,d,k)|0;if(h){d=u+0|0;l=g+24|0;k=d+16|0;do{a[(d&n)>>0]=a[(l&n)>>0]|0;d=d+1|0;l=l+1|0}while((d|0)<(k|0))}if(q>>>0>(c[(v&p)>>2]|0)>>>0)c[(v&p)>>2]=q;c[(w&p)>>2]=(c[(w&p)>>2]|0)+1;ap(c[(r&p)>>2]|0,q,c[(m&p)>>2]|0)}else f=0;e=c[(e&p)+12>>2]|0}while((f|0)==0&(e|0)!=0)}}i=y;return f|0}function Bl(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;s=i;i=i+16|0;if((i|0)>=(j|0))fa();m=s;o=b+60|0;f=c[(o&p)>>2]|0;g=c[(f&p)>>2]|0;do if((g|0)!=0?((a[(b&n)+16>>0]|0)+-1&255)>2:0){q=c[(b&p)+152>>2]|0;g=rc[c[(g&p)+24>>2]&127](f,m)|0;h=((q|0)<0)<<31>>31;k=sw(q|0,h|0,d|0,0)|0;l=G;if(!g){f=m;g=c[(f&p)>>2]|0;f=c[(f&p)+4>>2]|0;if((g|0)==(k|0)&(f|0)==(l|0))e=0;else{if(!((f|0)>(l|0)|(f|0)==(l|0)&g>>>0>k>>>0)){m=jw(g|0,f|0,q|0,h|0)|0;g=G;if(!((g|0)>(l|0)|(g|0)==(l|0)&m>>>0>k>>>0)){r=c[(b&p)+200>>2]|0;fw(r|0,0,q|0)|0;o=c[(o&p)>>2]|0;e=dw(k|0,l|0,q|0,h|0)|0;e=tc[c[((c[(o&p)>>2]|0)&p)+12>>2]&31](o,r,q,e,G)|0;r=9}}else{e=c[(o&p)>>2]|0;e=ac[c[((c[(e&p)>>2]|0)&p)+16>>2]&63](e,k,l)|0;r=9}if((r|0)==9?(e|0)!=0:0)break;c[(b&p)+32>>2]=d;e=0}}else e=g}else e=0;while(0);i=s;return e|0}
[all...]
H A Dsqlite-change-heap.js3 "use asm";var a=global.Int8Array;var b=global.Int16Array;var c=global.Int32Array;var d=global.Uint8Array;var e=global.Uint16Array;var f=global.Uint32Array;var g=global.Float32Array;var h=global.Float64Array;var i=new a(buffer);var j=new b(buffer);var k=new c(buffer);var l=new d(buffer);var m=new e(buffer);var n=new f(buffer);var o=new g(buffer);var p=new h(buffer);var q=global.byteLength;var r=env.STACKTOP|0;var s=env.STACK_MAX|0;var t=env.tempDoublePtr|0;var u=env.ABORT|0;var v=env.cttz_i8|0;var w=0;var x=0;var y=0;var z=0;var A=global.NaN,B=global.Infinity;var C=0,D=0,E=0,F=0,G=0.0,H=0,I=0,J=0,K=0.0;var L=0;var M=0;var N=0;var O=0;var P=0;var Q=0;var R=0;var S=0;var T=0;var U=0;var V=global.Math.floor;var W=global.Math.abs;var X=global.Math.sqrt;var Y=global.Math.pow;var Z=global.Math.cos;var _=global.Math.sin;var $=global.Math.tan;var aa=global.Math.acos;var ba=global.Math.asin;var ca=global.Math.atan;var da=global.Math.atan2;var ea=global.Math.exp;var fa=global.Math.log;var ga=global.Math.ceil;var ha=global.Math.imul;var ia=global.Math.min;var ja=global.Math.clz32;var ka=env.abort;var la=env.assert;var ma=env.nullFunc_iiiiiiii;var na=env.nullFunc_iiii;var oa=env.nullFunc_viiiiii;var pa=env.nullFunc_vi;var qa=env.nullFunc_viiiii;var ra=env.nullFunc_dii;var sa=env.nullFunc_vid;var ta=env.nullFunc_di;var ua=env.nullFunc_i;var va=env.nullFunc_iiiiiiiiii;var wa=env.nullFunc_vii;var xa=env.nullFunc_iiiiiii;var ya=env.nullFunc_ii;var za=env.nullFunc_viii;var Aa=env.nullFunc_v;var Ba=env.nullFunc_iiiiiiiii;var Ca=env.nullFunc_iiiii;var Da=env.nullFunc_viiii;var Ea=env.nullFunc_iii;var Fa=env.nullFunc_iiid;var Ga=env.nullFunc_iiiiii;var Ha=env.invoke_iiiiiiii;var Ia=env.invoke_iiii;var Ja=env.invoke_viiiiii;var Ka=env.invoke_vi;var La=env.invoke_viiiii;var Ma=env.invoke_dii;var Na=env.invoke_vid;var Oa=env.invoke_di;var Pa=env.invoke_i;var Qa=env.invoke_iiiiiiiiii;var Ra=env.invoke_vii;var Sa=env.invoke_iiiiiii;var Ta=env.invoke_ii;var Ua=env.invoke_viii;var Va=env.invoke_v;var Wa=env.invoke_iiiiiiiii;var Xa=env.invoke_iiiii;var Ya=env.invoke_viiii;var Za=env.invoke_iii;var _a=env.invoke_iiid;var $a=env.invoke_iiiiii;var ab=env._dlerror;var bb=env._utimes;var cb=env._getuid;var db=env._send;var eb=env._dlsym;var fb=env._mknod;var gb=env._chown;var hb=env._lseek;var ib=env._emscripten_set_main_loop_timing;var jb=env._access;var kb=env._fstat;var lb=env._chmod;var mb=env._rmdir;var nb=env.___assert_fail;var ob=env._usleep;var pb=env.___buildEnvironment;var qb=env._fflush;var rb=env._pwrite;var sb=env._strerror_r;var tb=env._localtime_r;var ub=env._tzset;var vb=env._open;var wb=env._getpid;var xb=env._sbrk;var yb=env._fcntl;var zb=env._emscripten_memcpy_big;var Ab=env._unlink;var Bb=env._sysconf;var Cb=env._fchmod;var Db=env.___setErrNo;var Eb=env._ftruncate;var Fb=env._mkdir;var Gb=env._pread;var Hb=env._mkport;var Ib=env._dlopen;var Jb=env._dlclose;var Kb=env._write;var Lb=env._fsync;var Mb=env.___errno_location;var Nb=env._stat;var Ob=env._recv;var Pb=env._geteuid;var Qb=env._getenv;var Rb=env._sleep;var Sb=env._emscripten_set_main_loop;var Tb=env._abort;var Ub=env._time;var Vb=env._fchown;var Wb=env._strerror;var Xb=env._gettimeofday;var Yb=env._munmap;var Zb=env._mmap;var _b=env._localtime;var $b=env._getcwd;var ac=env._close;var bc=env._read;var cc=env._truncate;var dc=0.0;function _emscripten_replace_memory(newBuffer){if(q(newBuffer)&16777215||q(newBuffer)<=16777215||q(newBuffer)>2147483648)return false;i=new a(newBuffer);j=new b(newBuffer);k=new c(newBuffer);l=new d(newBuffer);m=new e(newBuffer);n=new f(newBuffer);o=new g(newBuffer);p=new h(newBuffer);buffer=newBuffer;return true}
5 function mh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,l=0;h=k[a>>2]|0;l=k[a+80>>2]|0;e=a+44|0;do if(!(k[e>>2]|0)){k[h+52>>2]=l;b=k[h+236>>2]|0;if(b){a=b+8|0;if(!(j[a>>1]&9312)){j[a>>1]=1;break}else{Ag(b);break}}}else{f=h+65|0;g=i[f>>0]|0;a=k[3164]|0;if(a)sc[a&3]();d=h+236|0;a=k[d>>2]|0;do if(!a){a=rh(h,40,0)|0;if(!a){k[d>>2]=a;break}else{b=a+0|0;c=b+40|0;do{i[b>>0]=0;b=b+1|0}while((b|0)<(c|0));j[a+8>>1]=1;k[a+32>>2]=h;k[d>>2]=a;c=8;break}}else c=8;while(0);if((c|0)==8)ah(a,k[e>>2]|0,-1,1,-1)|0;a=k[3166]|0;if(a)sc[a&3]();i[f>>0]=g;k[h+52>>2]=l}while(0);return l|0}function nh(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,l=0,m=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();h=m;k[f>>2]=0;if(!((Mh(a)|0)==0|(b|0)==0)){h=k[a+20>>2]|0;if((h|0)>0){i=k[a+16>>2]|0;l=0;do{j=k[i+(l<<4)+4>>2]|0;if(j)k[(k[j+4>>2]|0)+4>>2]=k[j>>2];l=l+1|0}while((l|0)!=(h|0))}h=Kn(a,b,c,d,e,f,g)|0;if((h|0)==17){rd(k[f>>2]|0)|0;h=Kn(a,b,c,d,e,f,g)|0}}else{k[h>>2]=105892;k[h+4>>2]=10788;gd(21,13648,h);h=21}r=m;return h|0}function oh(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+68|0;if((j[d>>1]|0)>0){c=b+60|0;b=a+60|0;a=0;do{dm((k[c>>2]|0)+(a*40|0)|0,(k[b>>2]|0)+(a*40|0)|0);a=a+1|0}while((a|0)<(j[d>>1]|0))}return}function ph(a,b){a=a|0;b=b|0;var c=0,d=0;if(b){c=b;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;d=(c-b&1073741823)+1|0;c=rh(a,d,0)|0;if(c)pw(c|0,b|0,d|0)|0;else c=0}else c=0;return c|0}function qh(a,b){a=a|0;b=b|0;var c=0,d=0;d=k[a+8>>2]|0;if((b|0)>=1){kh(d,b)|0;j[d+8>>1]=8192;k[d>>2]=k[a+4>>2];c=d+16|0;a=k[c>>2]|0;if(!a)c=0;else{kw(a|0,0,b|0)|0;c=k[c>>2]|0}}else{c=d+8|0;if(!(j[c>>1]&9312))j[c>>1]=1;else Ag(d);k[d+16>>2]=0;c=0}return c|0}function rh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if(a){f=a+65|0;if(!(i[f>>0]|0)){do if(i[a+250>>0]|0){if(0<c>>>0|(0==(c|0)?(m[a+248>>1]|0)>>>0<b>>>0:0)){d=a+264|0;k[d>>2]=(k[d>>2]|0)+1;break}e=a+272|0;d=k[e>>2]|0;if(!d){d=a+268|0;k[d>>2]=(k[d>>2]|0)+1;break}k[e>>2]=k[d>>2];c=a+252|0;e=k[c>>2]|0;b=e+1|0;k[c>>2]=b;c=a+260|0;k[c>>2]=(k[c>>2]|0)+1;c=a+256|0;if((e|0)>=(k[c>>2]|0))k[c>>2]=b;break a}while(0);d=vg(b,c)|0;if(!d){i[f>>0]=1;d=0}}else d=0}else d=vg(b,c)|0;while(0);return d|0}function sh(a,b){a=a|0;b=b|0;var c=0,d=0;do if(a){c=k[a+20>>2]|0;if((c|0)!=0?((b|0)>-1?(m[a+84>>1]|0|0)>(b|0):0):0){c=c+(b*40|0)|0;break}c=k[a>>2]|0;if((c|0)!=0?(k[c+52>>2]=25,d=k[c+236>>2]|0,(d|0)!=0):0){c=d+8|0;if(!(j[c>>1]&9312)){j[c>>1]=1;c=41496;break}else{Ag(d);c=41496;break}}else c=41496}else c=41496;while(0);return c|0}function th(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=uh(a,b)|0;if(!g)if(!c)g=0;else{b=(k[a+60>>2]|0)+((b+-1|0)*40|0)|0;g=ah(b,c,d,f,e)|0;if((g|0)!=0|f<<24>>24==0)b=g;else b=bm(b,l[(k[a>>2]|0)+62>>0]|0)|0;g=k[a>>2]|0;k[g+52>>2]=b;e=k[g+236>>2]|0;do if(e){d=e+8|0;if(!(j[d>>1]&9312)){j[d>>1]=1;break}else{Ag(e);g=k[a>>2]|0;break}}while(0);g=Tg(g,b)|0}else{d=e;if(!((d|0)==0|(d|0)==-1))hc[e&31](c)}return g|0}function uh(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;do if(!(fh(a)|0)){if((k[a+40>>2]|0)==-1108210269?(k[a+76>>2]|0)<=-1:0){if((b|0)>=1?(j[a+68>>1]|0)>=(b|0):0){f=b+-1|0;e=k[a+60>>2]|0;d=e+(f*40|0)|0;c=e+(f*40|0)+8|0;if(!((j[c>>1]&9312)==0?(k[e+(f*40|0)+24>>2]|0)==0:0))Vg(d);j[c>>1]=1;d=k[a>>2]|0;k[d+52>>2]=0;d=k[d+236>>2]|0;do if(d){c=d+8|0;if(!(j[c>>1]&9312)){j[c>>1]=1;break}else{Ag(d);break}}while(0);e=a+88|0;c=j[e>>1]|0;if(!(c&256)){c=0;break}d=k[a+188>>2]|0;if((b|0)<33){if(!((d&1<<f|0)!=0|(d|0)==-1)){c=0;break}}else if((d|0)!=-1){c=0;break}j[e>>1]=c|8;c=0;break}c=k[a>>2]|0;k[c+52>>2]=25;c=k[c+236>>2]|0;if(!c){c=25;break}d=c+8|0;if(!(j[d>>1]&9312)){j[d>>1]=1;c=25;break}else{Ag(c);c=25;break}}d=k[a>>2]|0;k[d+52>>2]=21;d=k[d+236>>2]|0;do if(d){c=d+8|0;if(!(j[c>>1]&9312)){j[c>>1]=1;break}else{Ag(d);break}}while(0);k[e>>2]=k[a+168>>2];gd(21,41456,e);k[e>>2]=69987;k[e+4>>2]=10788;gd(21,13648,e);c=21}else{k[e>>2]=69979;k[e+4>>2]=10788;gd(21,13648,e);c=21}while(0);r=g;return c|0}function vh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if(!((a|0)==0|(b|0)==0)?(f=j[a+70>>1]|0,f<<16>>16>0):0){d=k[a+64>>2]|0;a=0;while(1){e=k[d+(a<<2)>>2]|0;if(((e|0)!=0?(ew(e,b,c)|0)==0:0)?(i[e+c>>0]|0)==0:0)break;a=a+1|0;if((a|0)>=(f<<16>>16|0)){a=0;break a}}a=a+1|0}else a=0;while(0);return a|0}function wh(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+16|0;if((r|0)>=(s|0))ka();g=h+8|0;f=h;c=i[a+10>>0]|0;d=a+16|0;e=a+12|0;do if(Yl(k[d>>2]|0,g,k[e>>2]|0,c)|0){if(!(Zl(k[d>>2]|0,f,k[e>>2]|0,c)|0)){e=f;d=k[e+4>>2]|0;c=a;k[c>>2]=k[e>>2];k[c+4>>2]=d;c=a+8|0;j[c>>1]=m[c>>1]|0|4;break}p[a>>3]=+p[g>>3];c=a+8|0;j[c>>1]=m[c>>1]|0|8;if(b)im(a)}while(0);r=h;return}function xh(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(!(Ln(a)|0)){e=di(k[a>>2]|0,c,d)|0;if(!e){e=(b|0)!=0?41368:41384;if(!d){k[f>>2]=e;k[f+4>>2]=c;yh(a,27680,f)}else{k[f>>2]=e;k[f+4>>2]=d;k[f+8>>2]=c;yh(a,27664,f)}i[a+17>>0]=1;e=0}}else e=0;r=g;return e|0}function yh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();f=e;d=k[a>>2]|0;k[f>>2]=c;c=$k(d,b,f)|0;if(!(i[d+68>>0]|0)){b=a+64|0;k[b>>2]=(k[b>>2]|0)+1;b=a+4|0;rg(d,k[b>>2]|0);k[b>>2]=c;k[a+12>>2]=1}else rg(d,c);r=e;return}function zh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();e=d;k[e>>2]=c;a=$k(a,b,e)|0;r=d;return a|0}function Ah(a){a=a|0;var b=0,c=0,d=0;c=k[a>>2]|0;b=rh(c,208,0)|0;if(!b)b=0;else{kw(b|0,0,208)|0;k[b>>2]=c;c=c+4|0;d=k[c>>2]|0;if(d)k[d+48>>2]=b;k[b+52>>2]=d;k[b+48>>2]=0;k[c>>2]=b;k[b+40>>2]=649915045;k[b+24>>2]=a}return b|0}function Bh(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;g=a+32|0;f=k[g>>2]|0;if((k[(k[a+24>>2]|0)+84>>2]|0)<=(f|0))if(!(Mn(a)|0)){h=k[g>>2]|0;j=4}else f=1;else{h=f;j=4}if((j|0)==4){k[g>>2]=h+1;g=k[a+4>>2]|0;i[g+(f*20|0)>>0]=b;i[g+(f*20|0)+3>>0]=0;k[g+(f*20|0)+4>>2]=c;k[g+(f*20|0)+8>>2]=d;k[g+(f*20|0)+12>>2]=e;k[g+(f*20|0)+16>>2]=0;i[g+(f*20|0)+1>>0]=0}return f|0}function Ch(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;h=k[a>>2]|0;e=k[a+4>>2]|0;do if((e|0)!=0?(i[h+65>>0]|0)==0:0){if((b|0)<0)b=(k[a+32>>2]|0)+-1|0;g=e+(b*20|0)+1|0;f=e+(b*20|0)+16|0;Nn(h,i[g>>0]|0,k[f>>2]|0);k[f>>2]=0;if((d|0)==-14){k[f>>2]=c;i[g>>0]=-14;break}if(!c){k[f>>2]=0;i[g>>0]=0;break}if((d|0)==-6){k[f>>2]=c;i[g>>0]=-6;break}else if((d|0)==-10){k[f>>2]=c;i[g>>0]=-10;b=c+12|0;k[b>>2]=(k[b>>2]|0)+1;break}else{if((d|0)<0){k[f>>2]=c;i[g>>0]=d;break}if(!d){b=c;while(1)if(!(i[b>>0]|0))break;else b=b+1|0;e=b-c&1073741823}else e=d;a=k[a>>2]|0;b=ow(e|0,((e|0)<0)<<31>>31|0,1,0)|0;b=rh(a,b,L)|0;if(!b)b=0;else{pw(b|0,c|0,e|0)|0;i[b+e>>0]=0}k[f>>2]=b;i[g>>0]=-1;break}}else j=3;while(0);if((j|0)==3?(d|0)!=-10:0)Nn(h,d,c);return}function Dh(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;j=a+32|0;d=k[j>>2]|0;if((d+b|0)>(k[(k[a+24>>2]|0)+84>>2]|0))if(!(Mn(a)|0)){d=k[j>>2]|0;e=4}else d=0;else e=4;if((e|0)==4)if((b|0)>0){g=a+4|0;h=0;while(1){l=i[c+2>>0]|0;e=l<<24>>24;a=h+d|0;f=k[g>>2]|0;i[f+(a*20|0)>>0]=i[c>>0]|0;k[f+(a*20|0)+4>>2]=i[c+1>>0];if(l<<24>>24<0)e=d+~e|0;k[f+(a*20|0)+8>>2]=e;k[f+(a*20|0)+12>>2]=i[c+3>>0];i[f+(a*20|0)+1>>0]=0;k[f+(a*20|0)+16>>2]=0;i[f+(a*20|0)+3>>0]=0;h=h+1|0;if((h|0)==(b|0))break;else c=c+4|0}k[j>>2]=(k[j>>2]|0)+b}return d|0}function Eh(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+32|0;if((k[c>>2]|0)>(b|0)?(d=k[a+4>>2]|0,Nn(k[a>>2]|0,i[d+(b*20|0)+1>>0]|0,k[d+(b*20|0)+16>>2]|0),a=d+(b*20|0)|0,k[a+0>>2]=0,k[a+4>>2]=0,k[a+8>>2]=0,k[a+12>>2]=0,k[a+16>>2]=0,i[a>>0]=-100,((k[c>>2]|0)+-1|0)==(b|0)):0)k[c>>2]=b;return}function Fh(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,L=0;K=r;r=r+16|0;if((r|0)>=(s|0))ka();e=K;I=k[a>>2]|0;C=k[b+440>>2]|0;c=k[b+72>>2]|0;B=k[b+68>>2]|0;k[e>>2]=k[b+392>>2];A=k[b+80>>2]|0;A=(A|0)==0?1:A;c=B+c|0;g=k[a+4>>2]|0;f=g+((k[a+32>>2]|0)*20|0)|0;g=g+((k[b+84>>2]|0)*20|0)|0;On(a,e);if(!(i[b+20>>0]|0))d=0;else d=((i[b+21>>0]|0)!=0&1)<<5&65535;J=a+88|0;j[J>>1]=j[J>>1]&-33|d;H=b+450|0;E=(i[H>>0]|0)!=0&(c|0)<10?10:c;c=f;kw(f|0,0,g-c|0)|0;j[J>>1]=j[J>>1]&-9;D=a+8|0;v=E*40|0;w=a+60|0;x=C*40|0;y=a+12|0;h=(k[e>>2]<<2)+7&-8;z=a+64|0;m=(C<<2)+7&-8;n=a+56|0;o=(B<<2)+7&-8;p=a+200|0;q=A+7&-8;t=a+172|0;u=I+65|0;f=f+(c&7)|0;while(1){e=k[D>>2]|0;if(!e){d=f+v|0;c=d>>>0>g>>>0;e=c?0:f;f=c?f:d;c=c?v:0}else c=0;k[D>>2]=e;e=k[w>>2]|0;if(!e){L=f+x|0;d=L>>>0>g>>>0;e=d?0:f;f=d?f:L;c=(d?x:0)+c|0}k[w>>2]=e;e=k[y>>2]|0;if(!e){L=f+h|0;d=L>>>0>g>>>0;e=d?0:f;f=d?f:L;c=(d?h:0)+c|0}k[y>>2]=e;e=k[z>>2]|0;if(!e){L=f+m|0;d=L>>>0>g>>>0;e=d?0:f;f=d?f:L;c=(d?m:0)+c|0}k[z>>2]=e;e=k[n>>2]|0;if(!e){L=f+o|0;d=L>>>0>g>>>0;e=d?0:f;f=d?f:L;c=(d?o:0)+c|0}k[n>>2]=e;e=k[p>>2]|0;if(!e){d=(f+q|0)>>>0>g>>>0;e=d?0:f;c=(d?q:0)+c|0}k[p>>2]=e;if(!c)break;d=rh(I,c,((c|0)<0)<<31>>31)|0;if(!d)e=0;else{kw(d|0,0,c|0)|0;e=d}k[t>>2]=e;if(!(i[u>>0]|0)){f=d;g=d+c|0}else break}k[a+36>>2]=B;k[a+196>>2]=A;d=k[w>>2]|0;if((d|0)!=0?(j[a+68>>1]=C,(C|0)>0):0){c=0;do{j[d+(c*40|0)+8>>1]=1;k[d+(c*40|0)+32>>2]=I;c=c+1|0}while((c|0)!=(C|0))}d=k[z>>2]|0;if((d|0)!=0?(F=b+444|0,G=k[F>>2]|0,(G|0)>0):0){j[a+70>>1]=G;C=b+472|0;pw(d|0,k[C>>2]|0,G<<16>>14|0)|0;kw(k[C>>2]|0,0,k[F>>2]<<2|0)|0}d=k[D>>2]|0;if((d|0)!=0?(k[D>>2]=d+-40,k[a+28>>2]=E,(E|0)>=1):0){c=1;while(1){j[d+((c+-1|0)*40|0)+8>>1]=128;k[d+((c+-1|0)*40|0)+32>>2]=I;if((c|0)==(E|0))break;else c=c+1|0}}j[J>>1]=j[J>>1]&-4|l[H>>0]&3;k[a+76>>2]=-1;k[a+80>>2]=0;i[a+86>>0]=2;k[a+40>>2]=-1108210269;k[a+92>>2]=0;k[a+72>>2]=1;i[a+87>>0]=-1;k[a+104>>2]=0;D=a+144|0;k[D>>2]=0;k[D+4>>2]=0;r=K;return}function Gh(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;n=r;r=r+16|0;if((r|0)>=(s|0))ka();m=n;h=a+20|0;g=k[h>>2]|0;f=k[g+60>>2]|0;k[f>>2]=b;k[f+4>>2]=c;f=Xd(g)|0;do if((f|0)!=100){e=k[h>>2]|0;if(e){f=rd(e)|0;k[h>>2]=0;e=k[a+24>>2]|0;if(!f){f=m;k[f>>2]=b;k[f+4>>2]=c;f=1;e=zh(e,41432,m)|0;break}else{g=Xe(e)|0;k[m>>2]=g;e=zh(e,10344,m)|0;break}}else e=0}else{f=k[k[g+56>>2]>>2]|0;e=k[a+12>>2]|0;g=k[f+(e<<2)+84>>2]|0;if(g>>>0>=12){k[a+8>>2]=k[f+((j[f+20>>1]|0)+e<<2)+84>>2];k[a+4>>2]=(g+-12|0)>>>1;f=k[f>>2]|0;k[a+16>>2]=f;f=f+72|0;i[f>>0]=l[f>>0]|16;f=0;e=0;break}f=k[a+24>>2]|0;if(!g)e=20352;else e=(g|0)==7?20336:20320;k[m>>2]=e;e=zh(f,41400,m)|0;rd(k[h>>2]|0)|0;k[h>>2]=0;f=1}while(0);k[d>>2]=e;r=n;return f|0}function Hh(a){a=a|0;var b=0;if(a){b=k[a>>2]|0;rg(b,k[a+112>>2]|0);Sk(b,k[a+316>>2]|0)}return}function Ih(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i[a+73>>0]|0;do if(!(f<<24>>24))e=4;else{if((f&255)>2?(e=Pn(a)|0,(e|0)!=0):0)break;e=Qm(a,b,c,d,0)|0}while(0);return e|0}function Jh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,l=0,m=0,n=0,o=0;i=r;r=r+16|0;if((r|0)>=(s|0))ka();g=i;if(!a){k[g>>2]=77646;k[g+4>>2]=10788;gd(21,13648,g);d=21}else{h=k[a+24>>2]|0;g=a+20|0;f=k[g>>2]|0;do if((d|c|0)>=0?(m=ow(d|0,((d|0)<0)<<31>>31|0,c|0,((c|0)<0)<<31>>31|0)|0,o=L,l=k[a+4>>2]|0,n=((l|0)<0)<<31>>31,!((o|0)>(n|0)|(o|0)==(n|0)&m>>>0>l>>>0)):0)if(f){d=uc[e&31](k[a+16>>2]|0,(k[a+8>>2]|0)+d|0,c,b)|0;if((d|0)==4){Sg(f)|0;k[g>>2]=0;d=4;break}else{k[f+80>>2]=d;break}}else d=4;else d=1;while(0);k[h+52>>2]=d;f=k[h+236>>2]|0;do if(f){g=f+8|0;if(!(j[g>>1]&9312)){j[g>>1]=1;break}else{Ag(f);break}}while(0);d=Tg(h,d)|0}r=i;return d|0}function Kh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=a+73|0;e=i[f>>0]|0;if((e&255)>2){e=Pn(a)|0;if(!e){e=i[f>>0]|0;g=4}}else g=4;if((g|0)==4)if(e<<24>>24==1){Qn(k[a+4>>2]|0,k[a+60>>2]|0,a)|0;if(!(i[a+72>>0]&1))e=8;else e=Qm(a,b,c,d,1)|0}else e=4;return e|0}function Lh(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,v=0,w=0,x=0,y=0;y=r;r=r+16|0;if((r|0)>=(s|0))ka();w=y+4|0;x=y;k[w>>2]=a;k[x>>2]=b;p=l[c+1>>0]|0;q=l[c>>0]|0;v=i[c+3>>0]|0;u=(d|0)!=0;if(u)t=d;else t=l[c+2>>0]|0;m=v<<24>>24!=0;h=0;a:while(1){while(1){f=Rn(w)|0;if(!f){o=60;break a}if((f|0)==(q|0)){o=7;break a}if((f|0)!=(t|0))break;if(u){o=40;break}b=Rn(x)|0;if(!b){e=0;break a}g=Rn(w)|0;if((g|0)==94){g=Rn(w)|0;e=1}else e=0;if((g|0)==93){g=Rn(w)|0;j=(b|0)==93&1}else j=0;f=(g|0)==0;if((g|0)!=93&(f^1)){f=0;while(1){if(((g|0)==45?(n=i[k[w>>2]>>0]|0,n<<24>>24!=93):0)?n<<24>>24!=0&(f|0)!=0:0){g=b>>>0<f>>>0|b>>>0>(Rn(w)|0)>>>0;a=0;j=g?j:1}else{a=g;j=(b|0)==(g|0)?1:j}g=Rn(w)|0;f=(g|0)==0;if(!((g|0)!=93&(f^1))){g=f;break}else f=a}}else g=f;if(g|(j|0)==(e|0)){e=0;break a}}if((o|0)==40){o=0;f=Rn(w)|0;if(!f){e=0;break}h=k[w>>2]|0}g=Rn(x)|0;if((f|0)==(g|0))continue;if(m&f>>>0<128&g>>>0<128?(i[9328+(f&255)>>0]|0)==(i[9328+(g&255)>>0]|0):0)continue;if((f|0)!=(p|0)){e=0;break}if(!((g|0)!=0?(k[w>>2]|0)!=(h|0):0)){e=0;break}}b:do if((o|0)==7){b=Rn(w)|0;a=(b|0)==(p|0);if((b|0)==(q|0)|a)do{if(a?(Rn(x)|0)==0:0){e=0;break b}b=Rn(w)|0;a=(b|0)==(p|0)}while((b|0)==(q|0)|a);if(b){do if((b|0)==(t|0)){if(u){b=Rn(w)|0;if(!b){e=0;break b}else break}e=k[x>>2]|0;c:do if(!(i[e>>0]|0))e=0;else{a=k[w>>2]|0;while(1){if(Lh(a+-1|0,e,c,0)|0)break;b=e+1|0;k[x>>2]=b;if((l[e>>0]|0)>191?(i[b>>0]&-64)<<24>>24==-128:0){while(1){e=e+2|0;if((i[e>>0]&-64)<<24>>24==-128){o=b;b=e;e=o}else break}k[x>>2]=e}else e=b;if(!(i[e>>0]|0)){e=0;break c}}e=(i[e>>0]|0)!=0}while(0);e=e&1;break b}while(0);if(b>>>0>=129){e=Rn(x)|0;if(!e){e=0;break}a=k[w>>2]|0;while(1){if((e|0)==(b|0)?(Lh(a,k[x>>2]|0,c,d)|0)!=0:0){e=1;break b}e=Rn(x)|0;if(!e){e=0;break b}}}if(!(v<<24>>24)){j=b;h=b}else{h=b&255;j=l[9328+h>>0]|0;h=((l[10368+h>>0]|-33)^32)&b}a=k[x>>2]|0;e=a+1|0;k[x>>2]=e;b=i[a>>0]|0;if(!(b<<24>>24))e=0;else{g=k[w>>2]|0;f=b&255;while(1){if((f|0)==(j|0)|(f|0)==(h|0)?(Lh(g,e,c,d)|0)!=0:0){e=1;break b}b=a+2|0;k[x>>2]=b;a=i[e>>0]|0;if(!(a<<24>>24)){e=0;break}else{o=e;f=a&255;e=b;a=o}}}}else e=1}else if((o|0)==60)e=(i[k[x>>2]>>0]|0)==0&1;while(0);r=y;return e|0}function Mh(a){a=a|0;var b=0,c=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();b=c;do if(a){a=k[a+76>>2]|0;if((a|0)==-1607883113){a=1;break}else if((a|0)==1266094736|(a|0)==-264537850){k[b>>2]=41352;gd(21,15256,b);a=0;break}else{k[b>>2]=15248;gd(21,15256,b);a=0;break}}else{k[b>>2]=20304;gd(21,15256,b);a=0}while(0);r=c;return a|0}function Nh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,j=0,l=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();g=l;h=l+8|0;k[h>>2]=0;k[e>>2]=0;if((Mh(a)|0)==0|(b|0)==0){k[g>>2]=106003;k[g+4>>2]=10788;gd(21,13648,g);d=21}else{a:do if((c|0)>-1)if((c|0)>0){g=0;do{if((i[b+g>>0]|0)==0?(i[b+(g|1)>>0]|0)==0:0)break a;g=g+2|0}while((g|0)<(c|0))}else g=0;else g=c;while(0);j=Wh(a,b,g)|0;if(j){d=nh(a,j,-1,d,0,e,h)|0;g=k[h>>2]|0;if((g|0)!=0&(f|0)!=0){e=Sn(j,g-j|0)|0;if((e|0)>0){c=0;g=b;do{g=(i[g+1>>0]&-8)<<24>>24==-40?g+4|0:g+2|0;c=c+1|0}while((c|0)!=(e|0))}else g=b;k[f>>2]=b+(g-b)}}else d=0;rg(a,j);d=Tg(a,d)|0}r=l;return d|0}function Oh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+16|0;if((r|0)>=(s|0))ka();m=p;n=a+12|0;f=k[n>>2]|0;l=(c|0)!=0;e=b<<((f|0)==0&l&1);o=a+20|0;h=a+8|0;g=k[h>>2]|0;if((e+(k[o>>2]|0)|0)>>>0>g>>>0){e=e+(g<<1)|0;k[h>>2]=e;f=k[a>>2]|0;if((Qc()|0)==0?(j=wg(f,e<<2,0)|0,(j|0)!=0):0){k[a>>2]=j;f=k[n>>2]|0;j=5}else j=21}else j=5;a:do if((j|0)==5){e=a+16|0;if(!f){k[e>>2]=b;if((b|0)>0){e=0;do{k[m>>2]=k[d+(e<<2)>>2];f=dd(10344,m)|0;if(!f){j=21;break a}h=k[o>>2]|0;k[o>>2]=h+1;k[(k[a>>2]|0)+(h<<2)>>2]=f;e=e+1|0}while((e|0)<(b|0))}}else if((k[e>>2]|0)!=(b|0)){e=a+4|0;$c(k[e>>2]|0);o=dd(40912,m)|0;k[e>>2]=o;k[a+24>>2]=1;e=1;break}if(l){if((b|0)>0){h=0;do{g=c+(h<<2)|0;e=k[g>>2]|0;if(!e)e=0;else{f=e;while(1)if(!(i[f>>0]|0))break;else f=f+1|0;f=(f-e&1073741823)+1|0;e=Yc(f)|0;if(!e){j=21;break a}pw(e|0,k[g>>2]|0,f|0)|0}m=k[o>>2]|0;k[o>>2]=m+1;k[(k[a>>2]|0)+(m<<2)>>2]=e;h=h+1|0}while((h|0)<(b|0))}k[n>>2]=(k[n>>2]|0)+1;e=0}else e=0}while(0);if((j|0)==21){k[a+24>>2]=7;e=1}r=p;return e|0}function Ph(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,l=0,m=0;m=r;r=r+16|0;if((r|0)>=(s|0))ka();j=m;if(!b)g=0;else{f=b;while(1)if(!(i[f>>0]|0))break;else f=f+1|0;g=f-b&1073741823}h=a+308|0;f=gn(h,b,j)|0;if((f|0)!=0?(k[f+8>>2]|0)!=0:0){k[j>>2]=114188;k[j+4>>2]=10788;gd(21,13648,j);f=21}else{f=rh(a,g+17|0,0)|0;if((f|0)!=0?(l=f+16|0,pw(l|0,b|0,g+1|0)|0,k[f+4>>2]=l,k[f>>2]=c,k[f+8>>2]=d,k[f+12>>2]=e,l=Nk(h,l,f)|0,(l|0)!=0):0){i[a+65>>0]=1;rg(a,l);f=0}else f=0}f=Tg(a,f)|0;if((f|0)!=0&(e|0)!=0)hc[e&31](d);r=m;return f|0}function Qh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,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;A=r;r=r+16|0;if((r|0)>=(s|0))ka();x=A;l=A+8|0;y=k[a>>2]|0;h=k[y+92>>2]|0;if(!(k[y+148>>2]|0))k[y+240>>2]=0;z=a+12|0;k[z>>2]=0;n=a+480|0;k[n>>2]=b;t=vg(1612,0)|0;if(t){k[t>>2]=-1;o=y+250|0;p=i[o>>0]|0;if(k[y+276>>2]|0)i[o>>0]=1;q=y+65|0;m=a+504|0;d=a+508|0;j=y+240|0;g=0;f=-1;a:while(1){while(1){if(i[q>>0]|0){v=19;break a}e=b+g|0;if(!(i[e>>0]|0)){v=19;break a}k[m>>2]=e;e=Hn(e,l)|0;k[d>>2]=e;g=e+g|0;if((g|0)>(h|0)){v=12;break a}e=k[l>>2]|0;if((e|0)==1){f=e;v=17;break}else if((e|0)==150){v=16;break a}else if((e|0)!=151){f=e;break}if(k[j>>2]|0){v=15;break a}}if((v|0)==17){v=0;k[n>>2]=b+g};k[x+0>>2]=k[m+0>>2];k[x+4>>2]=k[m+4>>2];Tn(t,f,x,a);f=k[l>>2]|0;if(k[z>>2]|0){v=19;break}}if((v|0)==12){k[z>>2]=18;v=19}else if((v|0)==15){yh(a,20384,x);k[z>>2]=9;v=19}else if((v|0)==16){rg(y,k[c>>2]|0);k[x>>2]=m;d=zh(y,20400,x)|0;k[c>>2]=d;d=1}if((v|0)==19){g=b+g|0;if((i[g>>0]|0)==0?(k[z>>2]|0)==0:0){if((f|0)!=1){k[x+0>>2]=k[m+0>>2];k[x+4>>2]=k[m+4>>2];Tn(t,1,x,a);k[n>>2]=g};k[x+0>>2]=k[m+0>>2];k[x+4>>2]=k[m+4>>2];Tn(t,0,x,a);d=0}else d=0}if((k[t>>2]|0)>-1)do Un(t);while((k[t>>2]|0)>-1);$c(t);i[o>>0]=p;if(!(i[q>>0]|0)){f=k[z>>2]|0;if(!((f|0)==101|(f|0)==0)){u=f;v=29}}else{k[z>>2]=7;u=7;v=29}if((v|0)==29?(w=a+4|0,(k[w>>2]|0)==0):0){if((u|0)!=516){f=u&255;if(f>>>0>26|(f|0)==2)f=16328;else f=k[15488+(f<<2)>>2]|0}else f=16344;k[x>>2]=f;ih(w,y,10344,x)}f=a+4|0;e=k[f>>2]|0;if(e){k[c>>2]=e;c=k[z>>2]|0;k[x>>2]=e;gd(c,10344,x);k[f>>2]=0;d=d+1|0}f=a+8|0;e=k[f>>2]|0;if(((e|0)!=0?(k[a+64>>2]|0)>0:0)?(i[a+18>>0]|0)==0:0){Ul(e);k[f>>2]=0}if(!(i[a+18>>0]|0)){c=a+400|0;rg(y,k[c>>2]|0);k[c>>2]=0;k[a+396>>2]=0}$c(k[a+520>>2]|0);if(!(i[a+451>>0]|0))pg(y,k[a+484>>2]|0);if(i[a+449>>0]|0)Vn(y,k[a+532>>2]|0);og(y,k[a+488>>2]|0);f=k[a+444>>2]|0;g=a+472|0;e=k[g>>2]|0;if((f|0)>0)do{f=f+-1|0;rg(y,k[e+(f<<2)>>2]|0);e=k[g>>2]|0}while((f|0)>0);rg(y,e);f=a+404|0;e=k[f>>2]|0;if(e)do{k[f>>2]=k[e>>2];rg(y,e);e=k[f>>2]|0}while((e|0)!=0);f=a+524|0;e=k[f>>2]|0;if(e)do{k[f>>2]=k[e+72>>2];pg(y,e);e=k[f>>2]|0}while((e|0)!=0);if((d|0)>0?(k[z>>2]|0)==0:0)k[z>>2]=1}else{i[y+65>>0]=1;d=7}r=A;return d|0}function Rh(a){a=a|0;if(a){if(!((j[a+8>>1]&9312)==0?(k[a+24>>2]|0)==0:0))Vg(a);rg(k[a+32>>2]|0,a)}return}function Sh(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(!(k[a+252>>2]|0)){n=a+251|0;if(i[n>>0]|0)$c(k[a+276>>2]|0);g=c&-8;e=(g|0)<5?0:g;f=(d|0)<0?0:d;if(!((e|0)==0|(f|0)==0))if(!b){c=k[3164]|0;if(c)sc[c&3]();c=ha(e,f)|0;c=vg(c,((c|0)<0)<<31>>31)|0;d=k[3166]|0;if(d)sc[d&3]();if(!c)c=0;else f=(qc[k[8744+48>>2]&127](c)|0)/(g|0)|0}else c=b;else{e=0;c=0}d=a+276|0;k[d>>2]=c;m=a+272|0;k[m>>2]=0;j[a+248>>1]=e;if(!c){k[d>>2]=a;k[a+280>>2]=a;i[a+250>>0]=0;c=0}else{if((f|0)>0){d=ha(e,f)|0;l=c+(ha(e,f+-1|0)|0)|0;h=0;g=c;while(1){f=f+-1|0;k[g>>2]=h;if((f|0)<=0)break;else{h=g;g=g+e|0}}k[m>>2]=l;c=c+d|0}k[a+280>>2]=c;i[a+250>>0]=1;c=(b|0)==0&1}i[n>>0]=c;c=0}else c=5;return c|0}function Th(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;o=r;r=r+16|0;if((r|0)>=(s|0))ka();n=o;do if(!a)c=0;else{h=a+76|0;l=k[h>>2]|0;if(!((l|0)==1266094736|(l|0)==-1607883113|(l|0)==-264537850)){k[n>>2]=15248;gd(21,15256,n);k[n>>2]=128509;k[n+4>>2]=10788;gd(21,13648,n);c=21;break}j=a+20|0;c=k[j>>2]|0;a:do if((c|0)>0){l=a+16|0;d=k[l>>2]|0;f=0;do{e=k[d+(f<<4)+4>>2]|0;if(e)k[(k[e+4>>2]|0)+4>>2]=k[e>>2];f=f+1|0}while((f|0)!=(c|0));g=0;while(1){c=k[d+(g<<4)+12>>2]|0;if((c|0)!=0?(m=k[c+16>>2]|0,(m|0)!=0):0){c=m;do{d=k[c+8>>2]|0;b:do if(i[d+44>>0]&16){e=d+60|0;while(1){d=k[e>>2]|0;if(!d)break b;f=d+24|0;if((k[d>>2]|0)==(a|0))break;else e=f}k[e>>2]=k[f>>2];Fn(d)}while(0);c=k[c>>2]|0}while((c|0)!=0)}c=g+1|0;if((c|0)>=(k[j>>2]|0))break a;d=k[l>>2]|0;g=c}}while(0);wl(a);Wn(a,68);if((b|0)==0?(Ol(a)|0)!=0:0){zg(a,5,16368,n);c=5;break}k[h>>2]=1691352191;Rg(a);c=0}while(0);r=o;return c|0}function Uh(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(k[a+492>>2]|0))b=0;else{b=k[a>>2]|0;wc[k[b+60>>2]&127](b,1e6)|0;b=1}return b|0}function Vh(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;v=r;r=r+16|0;if((r|0)>=(s|0))ka();t=v;do if(b){p=(f|0)!=0;n=(h|0)!=0;if(p)if(n|(g|0)!=0){u=8;break}else{n=0;o=0}else{o=(g|0)!=0;if(!(o|n^1)){u=8;break}}if(!(o&((p|n)^1)|(c|0)<-1|(c|0)>127)){n=b;while(1)if(!(i[n>>0]|0))break;else n=n+1|0;o=n-b&1073741823;if(o>>>0<=255){q=d&2048;n=d&7;if((n|0)!=4){if((n|0)==5){n=Vh(a,b,c,q|1,e,f,g,h,l)|0;if(n)break;n=Vh(a,b,c,q|2,e,f,g,h,l)|0;if(!n)n=3;else break}}else n=2;p=n&255;d=Xh(a,b,o,c,p,0)|0;if(((d|0)!=0?(m[d+2>>1]&3|0)==(n|0):0)?(j[d>>1]|0)==(c|0):0){if(k[a+148>>2]|0){zg(a,5,15424,t);n=5;break}n=k[a+4>>2]|0;if(n)do{t=n+88|0;j[t>>1]=j[t>>1]|8;n=k[n+52>>2]|0}while((n|0)!=0)}n=Xh(a,b,o,c,p,1)|0;if(!n)n=7;else{Sl(a,n);if(l)k[l>>2]=(k[l>>2]|0)+1;k[n+32>>2]=l;l=n+2|0;j[l>>1]=m[l>>1]&3|q;k[n+12>>2]=f;k[n+16>>2]=g;k[n+20>>2]=h;k[n+4>>2]=e;j[n>>1]=c;n=0}}else u=8}else u=8}else u=8;while(0);if((u|0)==8){k[t>>2]=129075;k[t+4>>2]=10788;gd(21,13648,t);n=21}r=v;return n|0}function Wh(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+48|0;if((r|0)>=(s|0))ka();f=g;d=f+0|0;e=d+40|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(e|0));k[f+32>>2]=a;ah(f,b,c,2,0)|0;c=f+8|0;b=k[c>>2]|0;if(!((b&2|0)==0|(b&16711680|0)==65536))Gn(f,1)|0;if(!(i[a+65>>0]|0))c=k[f+16>>2]|0;else{if(!((j[c>>1]&9312)==0?(k[f+24>>2]|0)==0:0))Vg(f);k[f+16>>2]=0;c=0}r=g;return c|0}function Xh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,m=0,n=0,o=0,p=0,q=0;n=((l[9328+(l[b>>0]|0)>>0]|0)+c|0)%23|0;o=a+336|0;h=Wk(o,n,b,c)|0;if(!h){m=0;g=0}else{m=0;g=0;do{q=Xn(h,d,e)|0;p=(q|0)>(m|0);m=p?q:m;g=p?h:g;h=k[h+8>>2]|0}while((h|0)!=0)}do if(!(f<<24>>24)){if((g|0)!=0?(k[a+24>>2]&2097152|0)==0:0){h=0;n=12;break}h=Wk(10840,n,b,c)|0;if(!h){m=0;n=8}else{m=0;do{p=Xn(h,d,e)|0;n=(p|0)>(m|0);m=n?p:m;g=n?h:g;h=k[h+8>>2]|0}while((h|0)!=0);n=8}}else n=8;while(0);do if((n|0)==8){h=f<<24>>24!=0;if(h&(m|0)<6){h=c+37|0;g=rh(a,h,0)|0;if(!g){n=14;break}kw(g|0,0,h|0)|0;h=g+36|0;k[g+24>>2]=h;j[g>>1]=d;j[g+2>>1]=e&255;pw(h|0,b|0,c|0)|0;i[g+(c+36)>>0]=0;sg(o,g);h=1}if(!g)n=14;else n=12}while(0);if((n|0)==12)if((k[g+16>>2]|0)==0?!((k[g+12>>2]|0)!=0|h):0)n=14;if((n|0)==14)g=0;return g|0}function Yh(a,b,c){a=a|0;b=b|0;c=c|0;b=r;r=r+16|0;if((r|0)>=(s|0))ka();c=b;k[c>>2]=k[(k[a+4>>2]|0)+24>>2];c=dd(15304,c)|0;k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,c,-1,1,-1)|0;$c(c);r=b;return}function Zh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)<=(d|0)){d=k[3164]|0;if(d)sc[d&3]();Pf(b,c,0,0,0)|0;d=k[3166]|0;if(d)sc[d&3]()}return 0}function _h(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if(b){c=b;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;e=c-b&1073741823;d=k[a+20>>2]|0;c=d+-1|0;if((d|0)>0){f=c;d=(k[a+16>>2]|0)+(c<<4)|0;while(1){a=k[d>>2]|0;if(!a)c=0;else{c=a;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;c=c-a&1073741823}if((e|0)==(c|0)?(id(a,b)|0)==0:0){c=f;break a}c=f+-1|0;if((f|0)>0){f=c;d=d+-16|0}else break}}}else c=-1;while(0);return c|0}function $h(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,r=0;q=a+20|0;f=k[q>>2]|0;if((f|0)>0){r=(b|0)==10;o=a+16|0;p=(c|0)==0;m=d;a=f;d=0;n=0;while(1){if((n|0)==(b|0)|r){g=k[(k[o>>2]|0)+(n<<4)+4>>2]|0;if(g){f=k[g+4>>2]|0;k[f+4>>2]=k[g>>2];if(!(i[f+20>>0]|0)){g=k[f>>2]|0;h=k[g+208>>2]|0;if(!h)h=0;else{if(p)f=0;else f=k[g+176>>2]|0;h=Yn(h,c,f,k[g+180>>2]|0,l[g+9>>0]|0,k[g+152>>2]|0,k[g+200>>2]|0,m,e)|0;a=k[q>>2]|0}}else h=6}else h=0;e=(h|0)==5;j=0;g=0;f=a;d=e?1:d;e=e?0:h}else{j=e;g=m;f=a;e=0}n=n+1|0;a=(e|0)==0;if(!((n|0)<(f|0)&a))break;else{m=g;e=j;a=f}}}else{a=1;d=0;e=0}return (a&(d|0)!=0?5:e)|0}function ai(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,u=0,v=0,w=0;w=r;r=r+32|0;if((r|0)>=(s|0))ka();q=w;t=w+20|0;m=w+16|0;l=w+12|0;h=w+8|0;k[m>>2]=c;k[l>>2]=0;k[h>>2]=0;k[b>>2]=0;e=Qc()|0;do if(!e){if(!(1<<(c&7)&70)){k[q>>2]=130207;k[q+4>>2]=10788;gd(21,13648,q);e=21;break}if((k[2187]|0)!=0&(c&32768|0)==0)g=(c&65536|0)==0?k[2188]|0:1;else g=0;if(!(c&262144)){if(k[2241]|0){c=c|131072;k[m>>2]=c}}else{c=c&-131073;k[m>>2]=c}c=c&-655129;k[m>>2]=c;v=vg(528,0)|0;a:do if(v){kw(v|0,0,528)|0;if(g)k[v+12>>2]=8;k[v+56>>2]=255;k[v+20>>2]=2;n=v+76|0;k[n>>2]=-264537850;o=v+16|0;k[o>>2]=v+456;f=v+88|0;g=11088;e=f+44|0;do{k[f>>2]=k[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(e|0));k[v+132>>2]=0;i[v+63>>0]=1;i[v+67>>0]=-1;f=8920;p=k[f+4>>2]|0;g=v+40|0;k[g>>2]=k[f>>2];k[g+4>>2]=p;k[v+72>>2]=0;k[v+136>>2]=2147483647;k[v+24>>2]=9437264;g=v+428|0;k[g+0>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;p=v+308|0;k[p+0>>2]=0;k[p+4>>2]=0;k[p+8>>2]=0;k[p+12>>2]=0;bi(v,11152,1,0,21,0)|0;bi(v,11152,3,0,21,0)|0;bi(v,11152,2,0,21,0)|0;bi(v,13752,1,0,22,0)|0;bi(v,13760,1,1,21,0)|0;p=v+65|0;if(!(i[p>>0]|0)){g=gn(g,11152,q)|0;if(!g)g=0;else g=k[g+8>>2]|0;k[v+8>>2]=g;k[v+48>>2]=c;g=$n(d,a,m,v,l,h)|0;if((g|0)==7)i[p>>0]=1;else if(!g){a=k[l>>2]|0;e=Em(k[v>>2]|0,a,v,(k[o>>2]|0)+4|0,0,k[m>>2]|256)|0;if((e|0)==3082)e=7;else if(!e){c=k[(k[o>>2]|0)+4>>2]|0;k[(k[c+4>>2]|0)+4>>2]=k[c>>2];c=ao(v,c)|0;k[(k[o>>2]|0)+12>>2]=c;if(!(i[p>>0]|0))i[v+62>>0]=i[c+77>>0]|0;c=vg(84,0)|0;if(!c){i[p>>0]=1;c=0}else{f=c+0|0;e=f+84|0;do{i[f>>0]=0;f=f+1|0}while((f|0)<(e|0));g=c+77|0;f=c+8|0;e=f+64|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(e|0));i[g>>0]=1}m=k[o>>2]|0;k[m+28>>2]=c;k[m>>2]=13768;i[m+8>>0]=3;k[m+16>>2]=10728;i[m+24>>0]=1;k[n>>2]=-1607883113;if(i[p>>0]|0){e=v;break}f=v+52|0;k[f>>2]=0;g=v+236|0;c=k[g>>2]|0;do if(c){e=c+8|0;if(!(j[e>>1]&9312)){j[e>>1]=1;break}else{Ag(c);break}}while(0);if((Hf(v,14632,2)|0)==7)i[p>>0]=1;c=Sf(v)|0;do if(!c){c=k[2656]|0;if(c){b:do if((c|0)>0){f=0;while(1){c=k[(k[2658]|0)+(f<<2)>>2]|0;k[t>>2]=0;if(c){e=fc[c&63](v,t,13776)|0;c=k[t>>2]|0;if(e)break}else c=0;$c(c);f=f+1|0;if((f|0)>=(k[2656]|0)){u=40;break b}}k[q>>2]=c;zg(v,e,14592,q);e=k[t>>2]|0}else u=40;while(0);if((u|0)==40){k[t>>2]=0;e=0}$c(e)}if(Sf(v)|0){e=v;break a}}else{k[f>>2]=c;e=k[g>>2]|0;if(e){c=e+8|0;if(!(j[c>>1]&9312)){j[c>>1]=1;break}else{Ag(e);break}}}while(0);Sh(v,0,k[2193]|0,k[2194]|0)|0;k[v+216>>2]=21;k[v+220>>2]=1e3;e=v;break}k[v+52>>2]=e;c=k[v+236>>2]|0;if(!c){e=v;break}e=c+8|0;if(!(j[e>>1]&9312)){j[e>>1]=1;e=v;break}else{Ag(c);e=v;break}}a=k[h>>2]|0;k[q>>2]=a;zg(v,g,(a|0)!=0?10344:0,q);$c(a);a=k[l>>2]|0;e=v}else{a=0;e=v}}else{a=0;e=0}while(0);$c(a);c=Sf(e)|0;if((c|0)==7){Th(e,0)|0;e=0}else if(c)k[v+76>>2]=1266094736;k[b>>2]=e;e=c&255}while(0);r=w;return e|0}function bi(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,m=0,n=0,o=0,p=0,q=0;q=r;r=r+16|0;if((r|0)>=(s|0))ka();g=q;p=c&255;if(!(c<<24>>24==4|c<<24>>24==8))if((p+-1|0)>>>0>2){k[g>>2]=129758;k[g+4>>2]=10788;gd(21,13648,g);g=21}else{o=p;h=4}else{o=2;h=4}do if((h|0)==4){n=o&255;h=bo(a,n,b,0)|0;if((h|0)!=0?(k[h+12>>2]|0)!=0:0){if(k[a+148>>2]|0){zg(a,5,13680,g);g=5;break}c=k[a+4>>2]|0;if(c)do{m=c+88|0;j[m>>1]=j[m>>1]|8;c=k[c+52>>2]|0}while((c|0)!=0);m=h+4|0;if((l[m>>0]&247|0)==(o|0)){c=gn(a+428|0,b,g)|0;if(!c)h=0;else h=k[c+8>>2]|0;g=0;do{if((i[h+(g*20|0)+4>>0]|0)==(i[m>>0]|0)){c=k[h+(g*20|0)+16>>2]|0;if(c)hc[c&31](k[h+(g*20|0)+8>>2]|0);k[h+(g*20|0)+12>>2]=0}g=g+1|0}while((g|0)!=3)}}c=bo(a,n,b,1)|0;if(c){k[c+12>>2]=e;k[c+8>>2]=d;k[c+16>>2]=f;i[c+4>>0]=o|p&8;k[a+52>>2]=0;g=k[a+236>>2]|0;if(g){c=g+8|0;if(!(j[c>>1]&9312)){j[c>>1]=1;g=0;break}else{Ag(g);g=0;break}}else g=0}else g=7}while(0);r=q;return g|0}function ci(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0;l=a+24|0;m=k[l>>2]&2;n=a+145|0;i[n>>0]=1;h=a+16|0;f=k[h>>2]|0;i[a+62>>0]=i[(k[f+12>>2]|0)+77>>0]|0;e=a+20|0;d=0;while(1){if((d|0)>=(k[e>>2]|0)){d=f;f=6;break}if(!((d|0)==1?1:(j[(k[f+(d<<4)+12>>2]|0)+78>>1]&1)!=0)?(c=co(a,d,b)|0,(c|0)!=0):0){f=9;break}f=k[h>>2]|0;d=d+1|0}if((f|0)==6)if((j[(k[d+28>>2]|0)+78>>1]&1)==0?(g=co(a,1,b)|0,(g|0)!=0):0){vl(k[(k[h>>2]|0)+28>>2]|0);c=g}else c=0;else if((f|0)==9)Am(a,d);i[n>>0]=0;if(!(c|m))k[l>>2]=k[l>>2]&-3;return c|0}function di(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;l=r;r=r+16|0;if((r|0)>=(s|0))ka();j=l;h=a+20|0;a:do if((k[h>>2]|0)>0){i=(c|0)==0;f=a+16|0;g=0;a=0;do{e=(g|0)<2^g;d=k[f>>2]|0;if(!(!i?(id(c,k[d+(e<<4)>>2]|0)|0)!=0:0)){a=gn((k[d+(e<<4)+12>>2]|0)+8|0,b,j)|0;if(a){a=k[a+8>>2]|0;if(a)break a}else a=0}g=g+1|0}while((g|0)<(k[h>>2]|0))}else a=0;while(0);r=l;return a|0}function ei(a){a=a|0;if((id(a,12936)|0)!=0?(id(a,12944)|0)!=0:0)a=(id(a,12952)|0)==0&1;else a=1;return a|0}function fi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=k[a+20>>2]|0;a:do if((f|0)>0){c=k[a+16>>2]|0;d=(b|0)==0;e=0;while(1){a=k[c+(e<<4)+4>>2]|0;if(a){if(d)break a;if(!(id(b,k[c+(e<<4)>>2]|0)|0))break a}e=e+1|0;if((e|0)>=(f|0)){a=0;break}}}else a=0;while(0);return a|0}function gi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;a:do if(!a)b=0;else{b=b+-1|0;b:do if((k[a>>2]|0)>>>0>4e3){d=a;c=b;while(1){b=d+8|0;e=k[b>>2]|0;if(!e){g=a;break}b=(c>>>0)%(e>>>0)|0;c=d+12+(((c>>>0)/(e>>>0)|0)<<2)|0;a=k[c>>2]|0;if(!a){a=vg(512,0)|0;if(!a){b=a;j=21;break}kw(a|0,0,512)|0;k[a>>2]=e;k[c>>2]=a}if((k[a>>2]|0)>>>0>4e3){d=a;c=b}else break b}if((j|0)==21){k[c>>2]=b;b=7;break a}h=c+1|0;c=(c>>>0)%125|0;f=d+12|0;a=k[d+(c<<2)+12>>2]|0;if(!a){a=k[d+4>>2]|0;if(a>>>0<124){b=d;j=20}}else{do{if((a|0)==(h|0)){b=0;break a}c=c+1|0;c=c>>>0>124?0:c;a=k[d+(c<<2)+12>>2]|0}while((a|0)!=0);a=k[d+4>>2]|0;if(a>>>0<=61){b=d;j=20}}if((j|0)==20){k[d+4>>2]=a+1;k[b+(c<<2)+12>>2]=h;b=0;break a}e=vg(500,0)|0;if(!e){b=7;break a}pw(e|0,f|0,500)|0;kw(f|0,0,500)|0;k[b>>2]=(((k[g>>2]|0)+124|0)>>>0)/125|0;a=0;b=gi(d,h)|0;do{c=k[e+(a<<2)>>2]|0;if(c)b=gi(d,c)|0|b;a=a+1|0}while((a|0)!=125);$c(e);break a}while(0);a=a+12+(b>>>3)|0;i[a>>0]=l[a>>0]|0|1<<(b&7);b=0}while(0);return b|0}function hi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:do if(a){d=b+-1|0;while(1){b=k[a+8>>2]|0;if(!b)break;a=k[a+12+(((d>>>0)/(b>>>0)|0)<<2)>>2]|0;if(!a)break a;else d=(d>>>0)%(b>>>0)|0}if((k[a>>2]|0)>>>0<4001){a=a+12+(d>>>3)|0;i[a>>0]=(l[a>>0]|0)&(1<<(d&7)^255);break}h=a+12|0;pw(c|0,h|0,500)|0;kw(h|0,0,500)|0;h=a+4|0;k[h>>2]=0;e=d+1|0;g=0;do{f=c+(g<<2)|0;b=k[f>>2]|0;if(!((b|0)==0|(b|0)==(e|0))){d=((b+-1|0)>>>0)%125|0;k[h>>2]=(k[h>>2]|0)+1;b=a+(d<<2)+12|0;if(k[b>>2]|0)do{b=d+1|0;d=b>>>0>124?0:b;b=a+(d<<2)+12|0}while((k[b>>2]|0)!=0);k[b>>2]=k[f>>2]}g=g+1|0}while((g|0)!=125)}while(0);return}function ii(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((a|0)!=0?(c=b+-1|0,c>>>0<(k[a>>2]|0)>>>0):0){while(1){b=k[a+8>>2]|0;if(!b)break;a=k[a+12+(((c>>>0)/(b>>>0)|0)<<2)>>2]|0;if(!a){c=0;break a}else c=(c>>>0)%(b>>>0)|0}if((k[a>>2]|0)>>>0<4001){c=((l[a+12+(c>>>3)>>0]|0)&1<<(c&7)|0)!=0&1;break}d=c+1|0;c=(c>>>0)%125|0;b=k[a+(c<<2)+12>>2]|0;if(b)while(1){if((b|0)==(d|0)){c=1;break a}c=((c+1|0)>>>0)%125|0;b=k[a+(c<<2)+12>>2]|0;if(!b){c=0;break}}else c=0}else c=0;while(0);return c|0}function ji(a){a=a|0;var b=0,c=0;if(a){if(k[a+8>>2]|0){b=a+12|0;c=0;do{ji(k[b+(c<<2)>>2]|0);c=c+1|0}while((c|0)!=125)}$c(a)}return}function ki(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>=2?(c=i[11824+(((l[9328+(l[a>>0]|0)>>0]|0)<<2^b^(l[9328+(l[a+(b+-1)>>0]|0)>>0]|0)*3|0)%127|0)>>0]|0,c<<24>>24!=0):0){c=c&255;while(1){c=c+-1|0;if((l[12080+c>>0]|0|0)==(b|0)?(Kc(11264+(m[12208+(c<<1)>>1]|0)|0,a,b)|0)==0:0)break;c=i[11952+c>>0]|0;if(!(c<<24>>24)){c=27;break a}else c=c&255}c=l[12456+c>>0]|0}else c=27;while(0);return c|0}function li(a){a=a|0;var b=0,c=0,d=0;k[2174]=a;if((k[2184]|0)>>>0<a>>>0)k[2184]=a;c=k[2264]|0;if((c|0)==0|(k[2235]|0)<(a|0)){b=vg(a,((a|0)<0)<<31>>31)|0;if((k[2186]|0)!=0&(b|0)!=0?(d=qc[k[8744+48>>2]&127](b)|0,d=(k[2170]|0)+d|0,k[2170]=d,d>>>0>(k[2180]|0)>>>0):0)k[2180]=d}else{b=k[2263]|0;k[2263]=k[b>>2];k[2264]=c+-1;a=(k[2169]|0)+1|0;k[2169]=a;if(a>>>0>(k[2179]|0)>>>0)k[2179]=a}return b|0}function mi(a){a=a|0;var b=0;do if(a){if((k[2234]|0)>>>0<=a>>>0&(k[2262]|0)>>>0>a>>>0){k[a>>2]=k[2263];k[2263]=a;k[2264]=(k[2264]|0)+1;k[2169]=(k[2169]|0)+-1;break}if(!(k[2186]|0)){hc[k[8744+40>>2]&31](a);break}else{b=qc[k[8744+48>>2]&127](a)|0;k[2170]=(k[2170]|0)-b;k[2166]=(k[2166]|0)-b;k[2175]=(k[2175]|0)+-1;hc[k[8744+40>>2]&31](a);break}}while(0);return}function ni(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();e=g;d=i[a>>0]|0;a:do if(((d&255)+-48|0)>>>0>=10){f=d;d=a;while(1){e=d+1|0;if(!(f<<24>>24))break;f=i[e>>0]|0;d=e}f=d-a&1073741823;d=7-b|0;if((d|0)>0){e=0;while(1){if((l[11248+e>>0]|0|0)==(f|0)?(Kc(11216+(l[11240+e>>0]|0)|0,a,f)|0)==0:0){c=e;break}e=e+1|0;if((e|0)>=(d|0))break a}c=i[11256+c>>0]|0}}else{k[e>>2]=0;In(a,e)|0;c=k[e>>2]&255}while(0);r=g;return c|0}function oi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,j=0;c=i[a>>0]|0;do if(c<<24>>24==48){d=i[a+1>>0]|0;if(!(d<<24>>24==88|d<<24>>24==120))if(!a){c=0;j=15;break}else{e=c;c=a;j=12;break}c=i[a+2>>0]|0;if(!(i[10368+(c&255)>>0]&8)){e=48;c=a;j=12}else{e=2;while(1){d=e+1|0;if(c<<24>>24!=48)break;c=i[a+d>>0]|0;e=d}if(!(i[10368+(c&255)>>0]&8)){f=a+e|0;g=0;c=0;d=e}else{g=0;f=0;d=e;while(1){g=nw(g|0,f|0,4)|0;h=L;f=c<<24>>24;g=(0-(f>>>6&1)&9)+f&15|g;d=d+1|0;f=a+d|0;c=i[f>>0]|0;if(!(i[10368+(c&255)>>0]&8)){c=h;break}else f=h}}h=b;k[h>>2]=g;k[h+4>>2]=c;if(!(i[f>>0]|0))c=(d-e|0)<17;else c=0;c=c&1^1}}else{e=c;c=a;j=12}while(0);if((j|0)==12){while(1){d=c+1|0;if(!(e<<24>>24))break;e=i[d>>0]|0;c=d;j=12}c=c-a&1073741823;j=15}if((j|0)==15)c=Zl(a,b,c,1)|0;return c|0}function pi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,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+1264|0;if((r|0)>=(s|0))ka();B=D;A=D+152|0;u=D+742|0;v=D+76|0;p=D+228|0;l=d&-256;q=d&16;z=d&8;t=d&4;h=d&1;w=d&2;if((t|0)!=0?(l|0)==524288|(l|0)==2048|(l|0)==16384:0)y=1;else y=0;x=k[12114]|0;if((x|0)!=(wb()|0)?(x=wb()|0,k[12114]=x,(Qc()|0)==0):0)i[9064]=0;n=c+0|0;o=n+44|0;do{k[n>>2]=0;n=n+4|0}while((n|0)<(o|0));x=(l|0)==256;do if(x){a:do if((wc[k[47552+52>>2]&127](b,B)|0)==0?(f=k[12178]|0,(f|0)!=0):0){l=k[B>>2]|0;n=k[B+72>>2]|0;while(1){if((k[f>>2]|0)==(l|0)?(k[f+4>>2]|0)==(n|0):0)break;f=k[f+32>>2]|0;if(!f){C=18;break a}}l=f+28|0;f=k[l>>2]|0;if(f){while(1){o=l;l=f+8|0;n=f;f=k[l>>2]|0;if((k[n+4>>2]|0)==(d|0)){l=o;break}if(!f){C=18;break a}}k[l>>2]=f;p=k[n>>2]|0;f=n}else C=18}else C=18;while(0);if((C|0)==18){f=Yc(12)|0;if(!f){f=7;break}else p=-1}k[c+28>>2]=f;l=t<<4|w;f=(q|0)!=0;if((p|0)<0){t=f;q=f?l|131200:l;f=b;C=23}else{o=p;f=b;C=36}}else{if(!b){f=eo(514,p)|0;if(!f)f=p;else break}else f=b;C=t<<4|w;q=(q|0)!=0;t=q;q=q?C|131200:C;C=23}while(0);b:do if((C|0)==23){if(!(d&526336)){l=(z|0)==0?0:384;p=0;o=0}else{if(!f)l=0;else{l=f;while(1)if(!(i[l>>0]|0))break;else l=l+1|0;l=l-f&1073741823}do l=l+-1|0;while((i[f+l>>0]|0)!=45);pw(u|0,f|0,l|0)|0;i[u+l>>0]=0;if(wc[k[47552+52>>2]&127](u,v)|0){f=1802;break}l=k[v+12>>2]&511;p=k[v+20>>2]|0;o=k[v+24>>2]|0}n=fo(f,q,l)|0;do if((n|0)<0){v=Mb()|0;if(!(t|((w|0)==0|(k[v>>2]|0)==21))?(g=fo(f,q&131200,l)|0,(g|0)>=0):0){d=d&-8|1;h=1;break}k[B>>2]=31186;k[B+4>>2]=10788;gd(14,14848,B);f=io(14,47896,f,31186)|0;if(!f){f=0;break b}g=c+28|0;C=70;break b}else g=n;while(0);if(!(d&526336)){o=g;C=36}else{fc[k[47552+244>>2]&63](g,p,o)|0;o=g;C=36}}while(0);c:do if((C|0)==36){if(e)k[e>>2]=d;p=c+28|0;g=k[p>>2]|0;if(g){k[g>>2]=o;k[g+4>>2]=d}if(z)qc[k[47552+196>>2]&127](f)|0;f=z<<2;f=(h|0)==0?f:f|2;f=x?f:f|128;f=y?f|8:f;z=f|d&64;k[c+12>>2]=o;k[c+4>>2]=a;k[c+32>>2]=b;g=c+18|0;j[g>>1]=z&255;if(kg((z&64|0)!=0?b:0,48496,1)|0)j[g>>1]=m[g>>1]|16;if(!(dw(k[a+16>>2]|0,1e4)|0))j[g>>1]=m[g>>1]|1;d:do if(!(f&128)){f=wc[k[k[a+20>>2]>>2]&127](b,c)|0;if((f|0)!=48504){if((f|0)!=47472){C=64;break}g=(lw(b|0)|0)+6|0;f=Yc(g)|0;if(f){k[B>>2]=b;fd(g,f,48584,B)|0;k[c+24>>2]=f;k[c+20>>2]=0;f=47472;break}k[c+24>>2]=0;k[c+20>>2]=0;if((o|0)<=-1){g=p;f=7;C=70;break c}go(c,o,30794);g=p;f=7;C=70;break c}do if(!(wc[k[47552+64>>2]&127](k[c+12>>2]|0,A)|0)){f=B;k[f>>2]=0;k[f+4>>2]=0;k[B>>2]=k[A>>2];k[B+4>>2]=k[A+72>>2];f=k[12178]|0;e:do if(!f)C=53;else{while(1){if(!(cw(B,f,8)|0))break;f=k[f+32>>2]|0;if(!f){C=53;break e}}B=f+16|0;k[B>>2]=(k[B>>2]|0)+1}while(0);if((C|0)==53){g=Yc(40)|0;if(!g){f=7;g=c+20|0;break}n=g+0|0;o=n+40|0;do{k[n>>2]=0;n=n+4|0}while((n|0)<(o|0));C=k[B+4>>2]|0;f=g;k[f>>2]=k[B>>2];k[f+4>>2]=C;k[g+16>>2]=1;k[g+32>>2]=k[12178];k[g+36>>2]=0;f=k[12178]|0;if(f)k[f+36>>2]=g;k[12178]=g;f=g}k[c+8>>2]=f;f=48504;C=64;break d}else{f=Mb()|0;f=k[f>>2]|0;g=c+20|0;k[g>>2]=f;f=(f|0)==75?22:10}while(0);go(c,o,30709);k[g>>2]=0;g=p;C=70;break c}else{f=48376;C=64}while(0);if((C|0)==64)k[c+20>>2]=0;k[c>>2]=f;ho(c);f=0}while(0);if((C|0)==70)$c(k[g>>2]|0);r=D;return f|0}function qi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;do if((qc[k[47552+196>>2]&127](b)|0)==-1){a=Mb()|0;if((k[a>>2]|0)==2)a=5898;else a=io(2570,48032,b,31314)|0}else if(c&1){a=wc[k[47552+208>>2]&127](b,d)|0;if((a|0)==14){a=0;break}else if(a)break;if(!(Lb(k[d>>2]|0)|0))a=0;else a=io(1290,48488,b,31329)|0;if(qc[k[47552+16>>2]&127](k[d>>2]|0)|0)io(4106,47856,0,31331)|0}else a=0;while(0);r=e;return a|0}function ri(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+80|0;if((r|0)>=(s|0))ka();e=f;if((c|0)==2)a=4;else if((c|0)==1)a=6;else a=0;a=(wc[k[47552+28>>2]&127](b,a)|0)==0;k[d>>2]=a&1;if((!((c|0)!=0|a^1)?(wc[k[47552+52>>2]&127](b,e)|0)==0:0)?(k[e+36>>2]|0)==0:0)k[d>>2]=0;r=f;return 0}function si(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();e=f;a=c+-1|0;i[d+a>>0]=0;do if((i[b>>0]|0)!=47)if(!(wc[k[47552+40>>2]&127](d,a)|0)){k[e>>2]=31416;k[e+4>>2]=10788;gd(14,14848,e);a=io(14,47904,b,31416)|0;break}else{a=lw(d|0)|0;k[e>>2]=b;fd(c-a|0,d+a|0,48480,e)|0;a=0;break}else{k[e>>2]=b;fd(c,d,10344,e)|0;a=0}while(0);r=f;return a|0}function ti(a,b){a=a|0;b=b|0;return Ib(b|0,258)|0}function ui(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;a=ab()|0;if(a){k[d>>2]=a;fd(b,c,10344,d)|0}r=e;return}function vi(a,b,c){a=a|0;b=b|0;c=c|0;return eb(b|0,c|0)|0}function wi(a,b){a=a|0;b=b|0;Jb(b|0)|0;return}function xi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();d=e;kw(c|0,0,b|0)|0;a=wb()|0;k[12114]=a;a=fo(48464,0,0)|0;if((a|0)>=0){do{if((fc[k[47552+100>>2]&63](a,c,b)|0)>=0)break;d=Mb()|0}while((k[d>>2]|0)==4);if(qc[k[47552+16>>2]&127](a)|0)io(4106,47856,0,31521)|0}else{Ub(d|0)|0;b=k[d>>2]|0;i[c>>0]=b;i[c+1>>0]=b>>8;i[c+2>>0]=b>>16;i[c+3>>0]=b>>24;b=c+4|0;a=k[12114]|0;i[b>>0]=a;i[b+1>>0]=a>>8;i[b+2>>0]=a>>16;i[b+3>>0]=a>>24;b=8}r=e;return b|0}function yi(a,b){a=a|0;b=b|0;a=(b+999999|0)/1e6|0;Rb(a|0)|0;return a*1e6|0}function zi(a,b){a=a|0;b=b|0;var c=0,d=0;a=r;r=r+16|0;if((r|0)>=(s|0))ka();d=a;c=d;k[c>>2]=0;k[c+4>>2]=0;c=Bi(0,d)|0;p[b>>3]=(+((k[d>>2]|0)>>>0)+4294967296.0*+(k[d+4>>2]|0))/864.0e5;r=a;return c|0}function Ai(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Bi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=r;r=r+16|0;if((r|0)>=(s|0))ka();a=c;if(!(Xb(a|0,0)|0)){e=k[a>>2]|0;e=xw(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;e=ow(e|0,L|0,1045635584,49096)|0;d=(k[a+4>>2]|0)/1e3|0;d=ow(e|0,L|0,d|0,((d|0)<0)<<31>>31|0)|0;a=b;k[a>>2]=d;k[a+4>>2]=L;a=0}else a=1;r=c;return a|0}function Ci(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(!b){a=0;do{b=k[47560+(a*12|0)>>2]|0;if(b)k[47556+(a*12|0)>>2]=b;a=a+1|0}while((a|0)!=25);b=0}else{a=0;while(1){if(!(dw(b,k[47552+(a*12|0)>>2]|0)|0)){d=a;break}a=a+1|0;if(a>>>0>=25){b=12;break a}}b=47560+(d*12|0)|0;a=k[b>>2]|0;if(!a){a=k[47556+(d*12|0)>>2]|0;k[b>>2]=a}k[47556+(d*12|0)>>2]=(c|0)==0?a:c;b=0}while(0);return b|0}function Di(a,b){a=a|0;b=b|0;var c=0;a=0;while(1){if(!(dw(b,k[47552+(a*12|0)>>2]|0)|0)){c=4;break}a=a+1|0;if(a>>>0>=25){a=0;break}}if((c|0)==4)a=k[47556+(a*12|0)>>2]|0;return a|0}function Ei(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!b)a=-1;else{c=0;while(1){a=c+1|0;if(!(dw(b,k[47552+(c*12|0)>>2]|0)|0)){a=c;break a}if((a|0)<24)c=a;else break}}while(0);while(1){a=a+1|0;if((a|0)>=25){a=0;break}if(k[47556+(a*12|0)>>2]|0){d=6;break}}if((d|0)==6)a=k[47552+(a*12|0)>>2]|0;return a|0}function Fi(a,b){a=a|0;b=b|0;return 48504}function Gi(a,b){a=a|0;b=b|0;return 48376}function Hi(a,b){a=a|0;b=b|0;return 47472}function Ii(a){a=a|0;var b=0,c=0;b=k[a+4>>2]|0;if(b)do{c=b;b=k[b>>2]|0;$c(c)}while((b|0)!=0);b=a+0|0;c=b+40|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(c|0));k[a>>2]=14696;return 0}function Ji(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,l=0;l=a+24|0;j=l;if(((k[j>>2]|0)!=(d|0)?1:(k[j+4>>2]|0)!=(e|0))|(d|0)==0&(e|0)==0){f=k[a+4>>2]|0;if(!((f|0)==0|((e|0)<0|(e|0)==0&d>>>0<1020))){g=1020;h=0;do{g=ow(g|0,h|0,1020,0)|0;h=L;f=k[f>>2]|0}while(!((f|0)==0|((h|0)>(e|0)|(h|0)==(e|0)&g>>>0>d>>>0)))}}else f=k[a+32>>2]|0;i=ww(d|0,e|0,1020,0)|0;j=c;g=b;while(1){b=1020-i|0;h=(j|0)<(b|0)?j:b;pw(g|0,f+i+4|0,h|0)|0;j=j-b|0;if((j|0)<=-1)break;f=k[f>>2]|0;if(!((f|0)!=0&(j|0)>0))break;else{i=0;g=g+h|0}}e=ow(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0;c=l;k[c>>2]=e;k[c+4>>2]=L;k[a+32>>2]=f;return 0}function Ki(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:do if((c|0)>0){h=a+8|0;i=a+16|0;g=a+4|0;d=h;e=k[d>>2]|0;d=k[d+4>>2]|0;while(1){a=k[i>>2]|0;d=ww(e|0,d|0,1020,0)|0;f=1020-d|0;f=(c|0)<(f|0)?c:f;if(!d){e=Yc(1024)|0;if(!e){d=3082;break a}k[e>>2]=0;if(!a){k[g>>2]=e;a=e}else{k[a>>2]=e;a=e}k[i>>2]=a}pw(a+d+4|0,b|0,f|0)|0;c=c-f|0;e=h;e=ow(k[e>>2]|0,k[e+4>>2]|0,f|0,((f|0)<0)<<31>>31|0)|0;d=L;a=h;k[a>>2]=e;k[a+4>>2]=d;if((c|0)<=0){d=0;break}else b=b+f|0}}else d=0;while(0);return d|0}function Li(a,b,c){a=a|0;b=b|0;c=c|0;b=k[a+4>>2]|0;if(b)do{c=b;b=k[b>>2]|0;$c(c)}while((b|0)!=0);c=a+0|0;b=c+40|0;do{k[c>>2]=0;c=c+4|0}while((c|0)<(b|0));k[a>>2]=14696;return 0}function Mi(a,b){a=a|0;b=b|0;return 0}function Ni(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+8|0;c=k[d+4>>2]|0;a=b;k[a>>2]=k[d>>2];k[a+4>>2]=c;return 0}function Oi(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));if(k[2187]|0){k[3146]=8;k[3159]=8}k[3149]=10;k[3153]=1;return 0}function Pi(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{k[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Qi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=vg(48,0)|0;if(d){e=d+0|0;f=e+48|0;do{i[e>>0]=0;e=e+1|0}while((e|0)<(f|0));k[d>>2]=12584;k[d+4>>2]=a;k[d+8>>2]=b;c=(c|0)!=0;k[d+12>>2]=c&1;jo(d);if(c){k[d+16>>2]=10;c=k[3148]|0;k[3148]=c+10;k[3149]=(k[3147]|0)+10+(-10-c)}if(!(k[d+40>>2]|0)){Xi(d);d=0}}else d=0;return d|0}function Ri(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(k[a+12>>2]|0){c=k[a>>2]|0;d=a+20|0;f=c+4|0;e=(k[f>>2]|0)+(b-(k[d>>2]|0))|0;k[f>>2]=e;k[c+12>>2]=e+10-(k[c+8>>2]|0);k[d>>2]=b;k[a+24>>2]=((b*9|0)>>>0)/10|0;ko(c)}return}function Si(a){a=a|0;return k[a+36>>2]|0}function Ti(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[(k[a+44>>2]|0)+(((b>>>0)%((k[a+40>>2]|0)>>>0)|0)<<2)>>2]|0;a:do if(d){while(1){if((k[d+8>>2]|0)==(b|0))break;d=k[d+16>>2]|0;if(!d){e=6;break a}}if(!(i[d+12>>0]|0))lo(d)}else e=6;while(0);if((e|0)==6)if(!c)d=0;else d=mo(a,b,c)|0;return d|0}function Ui(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=k[a>>2]|0;if((c|0)==0?(k[e+16>>2]|0)>>>0<=(k[e+4>>2]|0)>>>0:0){c=e+20|0;d=k[c>>2]|0;if(!d)k[e+24>>2]=b;else{k[d+28>>2]=b;k[b+24>>2]=d}k[c>>2]=b;d=a+32|0;k[d>>2]=(k[d>>2]|0)+1;i[b+12>>0]=0}else{e=k[b+20>>2]|0;c=(k[e+44>>2]|0)+((((k[b+8>>2]|0)>>>0)%((k[e+40>>2]|0)>>>0)|0)<<2)|0;while(1){a=k[c>>2]|0;d=a+16|0;if((a|0)==(b|0))break;else c=d}k[c>>2]=k[d>>2];d=e+36|0;k[d>>2]=(k[d>>2]|0)+-1;no(b)}return}function Vi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=k[a+40>>2]|0;g=a+44|0;c=(k[g>>2]|0)+(((c>>>0)%(f>>>0)|0)<<2)|0;while(1){e=k[c>>2]|0;if((e|0)==(b|0))break;else c=e+16|0}e=b+16|0;k[c>>2]=k[e>>2];k[b+8>>2]=d;c=(k[g>>2]|0)+(((d>>>0)%(f>>>0)|0)<<2)|0;k[e>>2]=k[c>>2];k[c>>2]=b;c=a+28|0;if((k[c>>2]|0)>>>0<d>>>0)k[c>>2]=d;return}function Wi(a,b){a=a|0;b=b|0;var c=0;c=a+28|0;if((k[c>>2]|0)>>>0>=b>>>0){oo(a,b);k[c>>2]=b+-1}return}function Xi(a){a=a|0;var b=0,c=0,d=0,e=0;b=k[a>>2]|0;oo(a,0);e=b+4|0;d=(k[e>>2]|0)-(k[a+20>>2]|0)|0;k[e>>2]=d;e=b+8|0;c=(k[e>>2]|0)-(k[a+16>>2]|0)|0;k[e>>2]=c;k[b+12>>2]=d+10-c;ko(b);$c(k[a+44>>2]|0);$c(a);return}function Yi(a){a=a|0;var b=0,c=0;if(k[a+12>>2]|0){c=k[a>>2]|0;a=c+4|0;b=k[a>>2]|0;k[a>>2]=0;ko(c);k[a>>2]=b}return}function Zi(a){a=a|0;var b=0,c=0,d=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();c=d;b=a+7&-8;a=$v(b+8|0)|0;if(!a){k[c>>2]=b;gd(7,16568,c)}else{c=a;k[c>>2]=b;k[c+4>>2]=((b|0)<0)<<31>>31;a=a+8|0}r=d;return a|0}function _i(a){a=a|0;aw(a+-8|0);return}function $i(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;d=a+-8|0;c=bw(d,b+8|0)|0;if(!c){if(!a)d=0;else d=k[d>>2]|0;k[e>>2]=d;k[e+4>>2]=b;gd(7,16528,e)}else{d=c;k[d>>2]=b;k[d+4>>2]=((b|0)<0)<<31>>31;c=c+8|0}r=f;return c|0}function aj(a){a=a|0;if(!a)a=0;else a=k[a+-8>>2]|0;return a|0}function bj(a){a=a|0;return a+7&-8|0}function cj(a){a=a|0;return 0}function dj(a){a=a|0;return}function ej(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,n=0,o=0,p=0,q=0;e=k[c>>2]|0;do if((-1431655766>>>(m[e+8>>1]&31)&1|0)==0?(d=Xg(e,1)|0,(d|0)!=0):0){e=Yg(k[c>>2]|0,1)|0;if((b|0)!=1){o=Xg(k[c+4>>2]|0,1)|0;if(!o)break;b=i[o>>0]|0;if(b<<24>>24){c=0;f=o;while(1){h=f+1|0;if((b&255)>191){g=f;f=h;while(1){b=i[f>>0]|0;if((b&-64)<<24>>24==-128){n=f;f=g+2|0;g=n}else break}}else{b=i[h>>0]|0;f=h}g=c+1|0;if(!(b<<24>>24)){b=g;break}else c=g}if((c|0)>-1){j=xw(b|0,((b|0)<0)<<31>>31|0,5,0)|0;j=po(a,j,L)|0;if(!j)break;b=j+(b<<2)|0;if(i[o>>0]|0){f=o;c=0;while(1){k[j+(c<<2)>>2]=f;h=f+1|0;if((l[f>>0]|0)>191){g=f;while(1)if((i[h>>0]&-64)<<24>>24==-128){n=h;h=g+2|0;g=n}else break}i[b+c>>0]=h-f;g=c+1|0;if(!(i[h>>0]|0))break;else{f=h;c=g}}if((c|0)>-1){n=g;p=17}}}}}else{b=20360;j=20368;n=1;o=0;p=17}if((p|0)==17){c=k[(k[a+4>>2]|0)+4>>2]|0;a:do if((c&1|0)!=0&(e|0)>0){f=(n|0)>0;do{if(f)g=0;else{p=24;break a}while(1){h=l[b+g>>0]|0;if((e|0)>=(h|0)?(cw(d,k[j+(g<<2)>>2]|0,h)|0)==0:0)break;g=g+1|0;if((g|0)>=(n|0)){p=24;break a}}d=d+h|0;e=e-h|0}while((e|0)>0)}else p=24;while(0);b:do if((p|0)==24)if((c&2|0)!=0&(e|0)>0){h=(n|0)>0;do{if(h)f=0;else break b;while(1){g=l[b+f>>0]|0;if((e|0)>=(g|0)?(q=e-g|0,(cw(d+q|0,k[j+(f<<2)>>2]|0,g)|0)==0):0){e=q;break}f=f+1|0;if((f|0)>=(n|0))break b}}while((e|0)>0)}while(0);if(o)$c(j)}$g(a,d,e,1,-1)}while(0);return}function fj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=((k[(k[a+4>>2]|0)+4>>2]|0)!=0)<<31>>31;g=k[(k[(k[a+12>>2]|0)+4>>2]|0)+(((k[a+16>>2]|0)+-1|0)*20|0)+16>>2]|0;d=k[c>>2]|0;a:do if(!(-1431655766>>>((m[d+8>>1]|0)&31)&1)){if((b|0)>1){f=1;d=0;do{e=k[c+(f<<2)>>2]|0;if(-1431655766>>>((m[e+8>>1]|0)&31)&1)break a;e=((mm(k[c+(d<<2)>>2]|0,e,g)|0)^h|0)>-1;d=e?f:d;f=f+1|0}while((f|0)<(b|0));d=k[c+(d<<2)>>2]|0}dh(k[a>>2]|0,d)|0}while(0);return}function gj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=k[c>>2]|0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,40)|0;else b=k[b+16>>2]|0;do if(b){d=(j[b+8>>1]|0)!=0;if(-1431655766>>>(m[(k[c>>2]|0)+8>>1]&31)&1){if(!d)break;i[a+24>>0]=1;break}if(!d){k[b+32>>2]=k[(k[a>>2]|0)+32>>2];dh(b,e)|0;break}d=(k[(k[a+4>>2]|0)+4>>2]|0)!=0;c=mm(b,e,k[(k[(k[a+12>>2]|0)+4>>2]|0)+(((k[a+16>>2]|0)+-1|0)*20|0)+16>>2]|0)|0;if(!(d&(c|0)<0)?!((c|0)>0&(d^1)):0){i[a+24>>0]=1;break}dh(b,e)|0}while(0);return}function hj(a){a=a|0;var b=0,c=0,d=0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,0)|0;else b=k[b+16>>2]|0;do if(b){c=b+8|0;if(!((j[c>>1]|0)!=0?(dh(k[a>>2]|0,b)|0,(j[c>>1]&9312)!=0):0))d=7;if((d|0)==7?(k[b+24>>2]|0)==0:0)break;Vg(b)}while(0);return}function ij(a,b,c){a=a|0;b=b|0;c=c|0;b=l[10064+((m[(k[c>>2]|0)+8>>1]|0)&31)>>0]|0;if((b|0)==1)b=20320;else if((b|0)==4)b=20344;else if((b|0)==3)b=20328;else if((b|0)==2)b=20336;else b=20352;$g(a,b,-1,1,0);return}function jj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;b=k[c>>2]|0;c=l[10064+((m[b+8>>1]|0)&31)>>0]|0;do if((c|0)==3){d=Xg(b,1)|0;if(d){b=i[d>>0]|0;if(!(b<<24>>24)){e=0;d=0}else{c=b;b=0;do{b=b+1|0;f=d+1|0;if((c&255)>191){e=d;d=f;while(1){c=i[d>>0]|0;if((c&-64)<<24>>24==-128){c=d;d=e+2|0;e=c}else break}}else{c=i[f>>0]|0;d=f}}while(c<<24>>24!=0);e=b;d=((b|0)<0)<<31>>31}b=k[a>>2]|0;c=b+8|0;if(!(j[c>>1]&9312)){k[b>>2]=e;k[b+4>>2]=d;j[c>>1]=4;break}else{ch(b,e,d);break}}}else if((c|0)==2|(c|0)==1|(c|0)==4){e=Yg(b,1)|0;d=k[a>>2]|0;b=((e|0)<0)<<31>>31;c=d+8|0;if(!(j[c>>1]&9312)){k[d>>2]=e;k[d+4>>2]=b;j[c>>1]=4;break}else{ch(d,e,b);break}}else{c=k[a>>2]|0;b=c+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;break}else{Ag(c);break}}while(0);return}function kj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0;d=k[c>>2]|0;e=j[d+8>>1]|0;f=c+4|0;b=j[(k[f>>2]|0)+8>>1]|0;do if(!((-1431655766>>>(b&31)|-1431655766>>>(e&31))&1)){g=Yg(d,1)|0;l=Yg(k[f>>2]|0,1)|0;c=k[c>>2]|0;if(!((b|e)&15)){b=ud(c)|0;c=0;h=ud(k[f>>2]|0)|0}else{b=Xg(c,1)|0;c=1;h=Xg(k[f>>2]|0,1)|0}a:do if((l|0)>(g|0)){b=1;d=1}else{d=1;e=g;while(1){if(!(cw(b,h,l)|0)){b=0;break a}d=d+1|0;f=(c|0)==0;do{e=e+-1|0;b=b+1|0;if(f){c=0;break}}while((i[b>>0]&-64)<<24>>24==-128);if((l|0)>(e|0)){b=1;break}}}while(0);e=k[a>>2]|0;c=b?0:d;b=b?0:((d|0)<0)<<31>>31;d=e+8|0;if(!(j[d>>1]&9312)){k[e>>2]=c;k[e+4>>2]=b;j[d>>1]=4;break}else{ch(e,c,b);break}}while(0);return}function lj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0;d=k[c+4>>2]|0;do if(!(-1431655766>>>((m[d+8>>1]|0)&31)&1)){o=(b|0)==3;if(o?(-1431655766>>>((m[(k[c+8>>2]|0)+8>>1]|0)&31)&1|0)!=0:0)break;q=j[(k[c>>2]|0)+8>>1]|0;g=_g(d)|0;h=((g|0)<0)<<31>>31;q=(q&15)==0;e=k[c>>2]|0;if(q){e=Yg(e,1)|0;f=ud(k[c>>2]|0)|0;if(!f)break;else p=e}else{f=Xg(e,1)|0;if(!f)break;if((g|0)<0?(l=i[f>>0]|0,l<<24>>24!=0):0){e=0;d=f;do{n=d+1|0;if((l&255)>191){b=d;d=n;while(1){l=i[d>>0]|0;if((l&-64)<<24>>24==-128){p=d;d=b+2|0;b=p}else break}}else{l=i[n>>0]|0;d=n}e=e+1|0}while(l<<24>>24!=0);p=e}else p=0}if(o){n=_g(k[c+8>>2]|0)|0;b=((n|0)<0)<<31>>31;o=(n|0)<0;d=iw(0,0,n|0,b|0)|0;d=o?d:n;b=o?L:b;n=n>>>31}else{b=k[(k[(k[a>>2]|0)+32>>2]|0)+88>>2]|0;d=b;b=((b|0)<0)<<31>>31;n=0}do if((g|0)<0){g=ow(p|0,((p|0)<0)<<31>>31|0,g|0,h|0)|0;h=L;if((h|0)<0){d=ow(d|0,b|0,g|0,h|0)|0;b=L;o=(b|0)<0;g=0;h=0;d=o?0:d;b=o?0:b}}else if((g|0)>0){g=ow(g|0,h|0,-1,-1)|0;h=L;break}else{o=((b|0)>0|(b|0)==0&d>>>0>0)<<31>>31;d=ow(o|0,((o|0)<0)<<31>>31|0,d|0,b|0)|0;b=L;break}while(0);if(!n){l=g;n=h}else{l=iw(g|0,h|0,d|0,b|0)|0;n=L;o=(n|0)<0;l=o?0:l;n=o?0:n;d=o?g:d;b=o?h:b}if(q){o=ow(d|0,b|0,l|0,n|0)|0;h=L;e=((p|0)<0)<<31>>31;if((h|0)>(e|0)|(h|0)==(e|0)&o>>>0>p>>>0){d=iw(p|0,e|0,l|0,n|0)|0;b=L;p=(b|0)<0;d=p?0:d;b=p?0:b}Gd(a,f+l|0,d,b,-1);break}e=i[f>>0]|0;if(((l|0)!=0|(n|0)!=0)&e<<24>>24!=0)do{h=f+1|0;if((e&255)>191){g=f;f=h;while(1){e=i[f>>0]|0;if((e&-64)<<24>>24==-128){p=f;f=g+2|0;g=p}else break}}else{e=i[h>>0]|0;f=h}l=ow(l|0,n|0,-1,-1)|0;n=L}while(((l|0)!=0|(n|0)!=0)&e<<24>>24!=0);if(e<<24>>24!=0&((d|0)!=0|(b|0)!=0)){l=b;b=f;do{g=b+1|0;if((e&255)>191)while(1){e=i[g>>0]|0;if((e&-64)<<24>>24==-128){p=g;g=b+2|0;b=p}else{b=g;break}}else{e=i[g>>0]|0;b=g}d=ow(d|0,l|0,-1,-1)|0;l=L}while(e<<24>>24!=0&((d|0)!=0|(l|0)!=0))}else b=f;p=b-f|0;Od(a,f,p,((p|0)<0)<<31>>31,-1,1)}while(0);return}function mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=r;r=r+48|0;if((r|0)>=(s|0))ka();f=h;g=h+32|0;e=h+4|0;if((b|0)>0?(d=Xg(k[c>>2]|0,1)|0,(d|0)!=0):0){k[g>>2]=b+-1;k[g+4>>2]=0;k[g+8>>2]=c+4;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]=1e9;i[e+24>>0]=1;i[e+25>>0]=0;k[e>>2]=k[(k[a>>2]|0)+32>>2];k[f>>2]=g;Jn(e,2,d,f);d=k[e+12>>2]|0;$g(a,yg(e)|0,d,1,75)}r=h;return}function nj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+16|0;if((r|0)>=(s|0))ka();b=e;c=Xg(k[c>>2]|0,1)|0;k[b>>2]=c;do if((c|0)!=0?(i[c>>0]|0)!=0:0){d=Rn(b)|0;b=k[a>>2]|0;a=((d|0)<0)<<31>>31;c=b+8|0;if(!(j[c>>1]&9312)){k[b>>2]=d;k[b+4>>2]=a;j[c>>1]=4;break}else{ch(b,d,a);break}}while(0);r=e;return}function oj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=Yc(b<<2|1)|0;if(!g)Wd(a);else{if((b|0)>0){f=0;d=g;do{e=_g(k[c+(f<<2)>>2]|0)|0;h=L;e=h>>>0>0|(h|0)==0&e>>>0>1114111?65533:e&2097151;do if(e>>>0>=128){if(e>>>0<2048){i[d>>0]=e>>>6&31|192;i[d+1>>0]=e&63|128;d=d+2|0;break}if(e>>>0<65536){i[d>>0]=e>>>12&15|224;i[d+1>>0]=e>>>6&63|128;i[d+2>>0]=e&63|128;d=d+3|0;break}else{i[d>>0]=e>>>18|240;i[d+1>>0]=e>>>12&63|128;i[d+2>>0]=e>>>6&63|128;i[d+3>>0]=e&63|128;d=d+4|0;break}}else{i[d>>0]=e;d=d+1|0}while(0);f=f+1|0}while((f|0)!=(b|0))}else d=g;d=d-g|0;Od(a,g,d,((d|0)<0)<<31>>31,1,1)}return}function pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0;b=k[c>>2]|0;c=l[10064+((m[b+8>>1]|0)&31)>>0]|0;a:do if((c|0)==5){c=k[a>>2]|0;b=c+8|0;if(!(j[b>>1]&9312)){j[b>>1]=1;break}else{Ag(c);break}}else if((c|0)==1){b=_g(b)|0;e=L;do if((e|0)<0)if((b|0)==0&(e|0)==-2147483648){k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,20248,-1,1,-1)|0;break a}else{b=iw(0,0,b|0,e|0)|0;f=L;break}else f=e;while(0);c=k[a>>2]|0;e=c+8|0;if(!(j[e>>1]&9312)){k[c>>2]=b;k[c+4>>2]=f;j[e>>1]=4;break}else{ch(c,b,f);break}}else{d=+Zg(b);if(d<0.0)d=-d;bh(k[a>>2]|0,d)}while(0);return}function qj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0,h=0,j=0,l=0;l=r;r=r+32|0;if((r|0)>=(s|0))ka();h=l+8|0;j=l;if((b|0)==2){b=k[c+4>>2]|0;if(!(-1431655766>>>(m[b+8>>1]&31)&1)){g=_g(b)|0;g=(g|0)>30?30:g;g=(g|0)<0?0:g;f=4}}else{g=0;f=4}a:do if((f|0)==4?(e=k[c>>2]|0,(-1431655766>>>(m[e+8>>1]&31)&1|0)==0):0){d=+Zg(e);p[j>>3]=d;b=(g|0)==0;do if(b&d>=0.0&d<9223372036854775808.0){d=d+.5;d=+(~~d>>>0>>>0)+4294967296.0*+((+W(d)>=1.0?(d>0.0?~~+ia(+V(d/4294967296.0),4294967295.0)>>>0:~~+ga((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0);p[j>>3]=d}else{if(b&d<0.0&d>-9223372036854775808.0){d=.5-d;d=-(+(~~d>>>0>>>0)+4294967296.0*+((+W(d)>=1.0?(d>0.0?~~+ia(+V(d/4294967296.0),4294967295.0)>>>0:~~+ga((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0));p[j>>3]=d;break}k[h>>2]=g;b=h+4|0;p[t>>3]=d;k[b>>2]=k[t>>2];k[b+4>>2]=k[t+4>>2];b=dd(20312,h)|0;if(!b){Wd(a);break a}else e=b;while(1)if(!(i[e>>0]|0))break;else e=e+1|0;Yl(b,j,e-b&1073741823,1)|0;$c(b);d=+p[j>>3]}while(0);bh(k[a>>2]|0,d)}while(0);r=l;return}function rj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Xg(k[c>>2]|0,1)|0;b=Yg(k[c>>2]|0,1)|0;if((d|0)!=0?(e=ow(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=po(a,e,L)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{f=l[d+c>>0]|0;i[e+c>>0]=((l[10368+f>>0]|0|223)^32)&f;c=c+1|0}while((c|0)!=(b|0))}$g(a,e,b,1,1)}return}function sj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Xg(k[c>>2]|0,1)|0;b=Yg(k[c>>2]|0,1)|0;if((d|0)!=0?(e=ow(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=po(a,e,L)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{i[e+c>>0]=i[9328+(l[d+c>>0]|0)>>0]|0;c=c+1|0}while((c|0)!=(b|0))}$g(a,e,b,1,1)}return}function tj(a,b,c){a=a|0;b=b|0;c=c|0;$g(a,8632,-1,1,0);return}function uj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;b=ud(k[c>>2]|0)|0;f=Yg(k[c>>2]|0,1)|0;g=nw(f|0,((f|0)<0)<<31>>31|0,1)|0;g=po(a,g|1,L)|0;if(g){if((f|0)>0){d=f<<1;e=0;c=g;while(1){h=l[b>>0]|0;i[c>>0]=i[20288+(h>>>4)>>0]|0;i[c+1>>0]=i[20288+(h&15)>>0]|0;e=e+1|0;if((e|0)==(f|0))break;else{b=b+1|0;c=c+2|0}}c=g+d|0}else c=g;i[c>>0]=0;$g(a,g,f<<1,1,1)}return}function vj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();b=f;hd(8,b);d=b;c=k[d>>2]|0;d=k[d+4>>2]|0;if((d|0)<0){e=iw(0,0,c|0,d&2147483647|0)|0;d=L;k[b>>2]=e;k[b+4>>2]=d}else e=c;c=k[a>>2]|0;b=c+8|0;if(!(j[b>>1]&9312)){k[c>>2]=e;k[c+4>>2]=d;j[b>>1]=4}else ch(c,e,d);r=f;return}function wj(a,b,c){a=a|0;b=b|0;c=c|0;c=_g(k[c>>2]|0)|0;c=(c|0)<1?1:c;b=po(a,c,((c|0)<0)<<31>>31)|0;if(b){hd(c,b);$g(a,b,c,0,1)}return}function xj(a,b,c){a=a|0;b=b|0;c=c|0;if(mm(k[c>>2]|0,k[c+4>>2]|0,k[(k[(k[a+12>>2]|0)+4>>2]|0)+(((k[a+16>>2]|0)+-1|0)*20|0)+16>>2]|0)|0)dh(k[a>>2]|0,k[c>>2]|0)|0;return}function yj(a,b,c){a=a|0;b=b|0;c=c|0;$g(a,10768,-1,1,0);return}function zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=r;r=r+16|0;if((r|0)>=(s|0))ka();a=b;d=_g(k[c>>2]|0)|0;c=Xg(k[c+4>>2]|0,1)|0;k[a>>2]=c;gd(d,10344,a);r=b;return}function Aj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=Xg(k[c>>2]|0,1)|0;do if(b){d=Jc(b)|0;c=k[a>>2]|0;b=((d|0)<0)<<31>>31;a=c+8|0;if(!(j[a>>1]&9312)){k[c>>2]=d;k[c+4>>2]=b;j[a>>1]=4;break}else{ch(c,d,b);break}}while(0);return}function Bj(a,b,c){a=a|0;b=b|0;c=c|0;b=_g(k[c>>2]|0)|0;if(b>>>0<4)b=k[8648+(b<<2)>>2]|0;else b=0;$g(a,b,-1,1,0);return}function Cj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0,h=0,j=0,n=0,o=0;o=r;r=r+80|0;if((r|0)>=(s|0))ka();b=o+8|0;d=o;h=o+16|0;g=k[c>>2]|0;f=l[10064+(m[g+8>>1]&31)>>0]|0;if((f|0)==1)dh(k[a>>2]|0,g)|0;else if((f|0)==4){g=ud(g)|0;b=Yg(k[c>>2]|0,1)|0;d=nw(b|0,((b|0)<0)<<31>>31|0,1)|0;d=ow(d|0,L|0,4,0)|0;d=po(a,d,L)|0;if(d){if((b|0)>0){f=0;do{c=g+f|0;h=f<<1;i[d+(h+2)>>0]=i[20288+((l[c>>0]|0)>>>4)>>0]|0;i[d+(h+3)>>0]=i[20288+(l[c>>0]&15)>>0]|0;f=f+1|0}while((f|0)!=(b|0))}b=b<<1;i[d+(b+2)>>0]=39;i[d+(b+3)>>0]=0;i[d>>0]=88;i[d+1>>0]=39;$g(a,d,-1,1,-1);$c(d)}}else if((f|0)==3){n=Xg(g,1)|0;if(n){b=0;d=0;f=0;while(1){g=i[n+f>>0]|0;if(g<<24>>24==39){g=ow(b|0,d|0,1,0)|0;d=L}else if(!(g<<24>>24)){g=d;break}else g=b;b=g;f=f+1|0}j=ow(b|0,g|0,3,0)|0;j=ow(j|0,L|0,f|0,((f|0)<0)<<31>>31|0)|0;j=po(a,j,L)|0;if(j){i[j>>0]=39;d=i[n>>0]|0;b=j+1|0;if(!(d<<24>>24))f=2;else{h=n;f=2;g=0;c=1;do{i[b>>0]=d;if((i[h>>0]|0)==39){i[j+f>>0]=39;c=c+2|0}else c=f;g=g+1|0;h=n+g|0;d=i[h>>0]|0;f=c+1|0;b=j+c|0}while(d<<24>>24!=0)}i[b>>0]=39;i[j+f>>0]=0;$g(a,j,f,1,1)}}}else if((f|0)==2){e=+Zg(g);p[t>>3]=e;k[b>>2]=k[t>>2];k[b+4>>2]=k[t+4>>2];fd(50,h,20272,b)|0;Yl(h,d,20,1)|0;if(e!=+p[d>>3]){p[t>>3]=e;k[b>>2]=k[t>>2];k[b+4>>2]=k[t+4>>2];fd(50,h,20280,b)|0}$g(a,h,-1,1,-1)}else $g(a,20304,4,1,0);r=o;return}function Dj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=k[a>>2]|0;d=(k[a+32>>2]|0)+32|0;b=k[d>>2]|0;d=k[d+4>>2]|0;c=a+8|0;if(!(j[c>>1]&9312)){k[a>>2]=b;k[a+4>>2]=d;j[c>>1]=4}else ch(a,b,d);return}function Ej(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=k[a>>2]|0;c=k[(k[a+32>>2]|0)+80>>2]|0;b=((c|0)<0)<<31>>31;d=a+8|0;if(!(j[d>>1]&9312)){k[a>>2]=c;k[a+4>>2]=b;j[d>>1]=4}else ch(a,c,b);return}function Fj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=k[a>>2]|0;c=k[(k[a+32>>2]|0)+84>>2]|0;b=((c|0)<0)<<31>>31;d=a+8|0;if(!(j[d>>1]&9312)){k[a>>2]=c;k[a+4>>2]=b;j[d>>1]=4}else ch(a,c,b);return}function Gj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=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;t=Xg(k[c>>2]|0,1)|0;a:do if((t|0)!=0?(u=Yg(k[c>>2]|0,1)|0,e=c+4|0,s=Xg(k[e>>2]|0,1)|0,(s|0)!=0):0){if(!(i[s>>0]|0)){dh(k[a>>2]|0,k[c>>2]|0)|0;break}q=Yg(k[e>>2]|0,1)|0;e=c+8|0;p=Xg(k[e>>2]|0,1)|0;if((p|0)!=0?(r=Yg(k[e>>2]|0,1)|0,f=u+1|0,g=((f|0)<0)<<31>>31,d=po(a,f,g)|0,(d|0)!=0):0){l=u-q|0;b:do if((l|0)>=0){m=r-q|0;n=((m|0)<0)<<31>>31;o=q+-1|0;c=0;j=0;while(1){e=t+c|0;b=i[e>>0]|0;if(b<<24>>24==(i[s>>0]|0)?(cw(e,s,q)|0)==0:0){b=k[a>>2]|0;h=k[b+32>>2]|0;f=ow(f|0,g|0,m|0,n|0)|0;g=L;e=ow(f|0,g|0,-1,-1)|0;w=L;h=k[h+88>>2]|0;v=((h|0)<0)<<31>>31;if((w|0)>(v|0)|(w|0)==(v|0)&e>>>0>h>>>0){e=13;break}h=ad(d,f)|0;if(!h){e=15;break}pw(h+j|0,p|0,r|0)|0;e=o+c|0;b=j+r|0;d=h}else{i[d+j>>0]=b;e=c;b=j+1|0}c=e+1|0;if((e|0)<(l|0))j=b;else break b}if((e|0)==13){k[a+20>>2]=18;i[a+25>>0]=1;ah(b,10096,-1,1,0)|0;$c(d);break a}else if((e|0)==15){Wd(a);$c(d);break a}}else{c=0;b=0}while(0);m=u-c|0;pw(d+b|0,t+c|0,m|0)|0;m=b+m|0;i[d+m>>0]=0;$g(a,d,m,1,1)}}while(0);return}function Hj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[(k[a>>2]|0)+32>>2]|0;b=_g(k[c>>2]|0)|0;e=L;c=k[d+88>>2]|0;d=((c|0)<0)<<31>>31;if((e|0)>(d|0)|(e|0)==(d|0)&b>>>0>c>>>0){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0}else eh(k[a>>2]|0,b);return}function Ij(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;d=Xg(k[c>>2]|0,1)|0;e=k[(k[a>>2]|0)+32>>2]|0;k[f>>2]=0;if((b|0)==2)b=Xg(k[c+4>>2]|0,1)|0;else b=0;if((d|0)!=0?(Ye(e,d,b,f)|0)!=0:0){b=k[f>>2]|0;k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,b,-1,1,-1)|0;$c(k[f>>2]|0)}r=g;return}function Jj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0.0,l=0,m=0,n=0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))d=qh(a,32)|0;else d=k[b+16>>2]|0;a=Me(k[c>>2]|0)|0;do if((d|0)!=0&(a|0)!=5){b=d+16|0;e=b;e=ow(k[e>>2]|0,k[e+4>>2]|0,1,0)|0;k[b>>2]=e;k[b+4>>2]=L;b=k[c>>2]|0;if((a|0)!=1){h=+Zg(b);p[d>>3]=h+ +p[d>>3];i[d+25>>0]=1;break}e=_g(b)|0;f=L;p[d>>3]=+p[d>>3]+(+(e>>>0)+4294967296.0*+(f|0));g=d+24|0;if(!((i[g>>0]|i[d+25>>0])<<24>>24)){d=d+8|0;a=d;c=k[a>>2]|0;a=k[a+4>>2]|0;if((f|0)>-1|(f|0)==-1&e>>>0>4294967295){b=iw(-1,2147483647,c|0,a|0)|0;l=L;if(((a|0)>0|(a|0)==0&c>>>0>0)&((l|0)<(f|0)|(l|0)==(f|0)&b>>>0<e>>>0))b=12;else b=11}else if((a|0)<0?(l=iw(1,-2147483648,c|0,a|0)|0,n=L,b=ow(e|0,f|0,1,0)|0,m=L,(n|0)>(m|0)|(n|0)==(m|0)&l>>>0>b>>>0):0)b=12;else b=11;if((b|0)==11){a=ow(c|0,a|0,e|0,f|0)|0;b=d;k[b>>2]=a;k[b+4>>2]=L;break}else if((b|0)==12){i[g>>0]=1;break}}}while(0);return}function Kj(a){a=a|0;var b=0,c=0,d=0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,0)|0;else b=k[b+16>>2]|0;do if((b|0)!=0?(c=b+16|0,d=k[c+4>>2]|0,(d|0)>0|(d|0)==0&(k[c>>2]|0)>>>0>0):0){if(i[b+24>>0]|0){k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,20248,-1,1,-1)|0;break}if(i[b+25>>0]|0){bh(k[a>>2]|0,+p[b>>3]);break}d=b+8|0;c=k[d>>2]|0;d=k[d+4>>2]|0;b=k[a>>2]|0;a=b+8|0;if(!(j[a>>1]&9312)){k[b>>2]=c;k[b+4>>2]=d;j[a>>1]=4;break}else{ch(b,c,d);break}}while(0);return}function Lj(a){a=a|0;var b=0,c=0.0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,0)|0;else b=k[b+16>>2]|0;if(!b)c=0.0;else c=+p[b>>3];bh(k[a>>2]|0,c);return}function Mj(a){a=a|0;var b=0,c=0,d=0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,0)|0;else b=k[b+16>>2]|0;if((b|0)!=0?(d=b+16|0,c=k[d>>2]|0,d=k[d+4>>2]|0,(d|0)>0|(d|0)==0&c>>>0>0):0)bh(k[a>>2]|0,+p[b>>3]/(+(c>>>0)+4294967296.0*+(d|0)));return}function Nj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+8>>2]|0;if(!(j[d+8>>1]&8192))d=qh(a,8)|0;else d=k[d+16>>2]|0;if(!b){if(d)e=7}else if((d|0)!=0?(1431655765>>>((m[(k[c>>2]|0)+8>>1]|0)&31)&1|0)!=0:0)e=7;if((e|0)==7){a=d;a=ow(k[a>>2]|0,k[a+4>>2]|0,1,0)|0;k[d>>2]=a;k[d+4>>2]=L}return}function Oj(a){a=a|0;var b=0,c=0,d=0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,0)|0;else b=k[b+16>>2]|0;if(!b){c=0;d=0}else{d=b;c=k[d>>2]|0;d=k[d+4>>2]|0}b=k[a>>2]|0;a=b+8|0;if(!(j[a>>1]&9312)){k[b>>2]=c;k[b+4>>2]=d;j[a>>1]=4}else ch(b,c,d);return}function Pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!(-1431655766>>>(m[(k[c>>2]|0)+8>>1]&31)&1)){d=k[a+8>>2]|0;if(!(j[d+8>>1]&8192))e=qh(a,28)|0;else e=k[d+16>>2]|0;if(e){a=k[(k[a>>2]|0)+32>>2]|0;f=e+24|0;d=(i[f>>0]|0)==0;i[f>>0]=2;k[e+20>>2]=k[a+88>>2];do if(!d){if((b|0)==2){b=c+4|0;d=Xg(k[b>>2]|0,1)|0;b=Yg(k[b>>2]|0,1)|0;if(!b)break}else{b=1;d=20240}Xk(e,d,b)}while(0);d=Xg(k[c>>2]|0,1)|0;b=Yg(k[c>>2]|0,1)|0;if(d)Xk(e,d,b)}}return}function Qj(a){a=a|0;var b=0,c=0;b=k[a+8>>2]|0;if(!(j[b+8>>1]&8192))b=qh(a,0)|0;else b=k[b+16>>2]|0;do if(b){c=i[b+25>>0]|0;if(c<<24>>24==2){k[a+20>>2]=18;i[a+25>>0]=1;ah(k[a>>2]|0,10096,-1,1,0)|0;break}else if(c<<24>>24==1){Wd(a);break}else{$g(a,yg(b)|0,-1,1,1);break}}while(0);return}function Rj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0;g=r;r=r+16|0;if((r|0)>=(s|0))ka();e=g;h=k[(k[a>>2]|0)+32>>2]|0;d=Xg(k[c>>2]|0,1)|0;f=Xg(k[c+4>>2]|0,1)|0;l=Yg(k[c>>2]|0,1)|0;a:do if((l|0)<=(k[h+120>>2]|0)){do if((b|0)==3){c=Xg(k[c+8>>2]|0,1)|0;k[e>>2]=c;if(!c)break a;if((Sn(c,-1)|0)==1){c=Rn(e)|0;break}else{k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,20192,-1,1,-1)|0;break a}}else c=0;while(0);if((f|0)!=0&(d|0)!=0){b=Lh(d,f,k[(k[a+4>>2]|0)+4>>2]|0,c)|0;d=k[a>>2]|0;e=((b|0)<0)<<31>>31;c=d+8|0;if(!(j[c>>1]&9312)){k[d>>2]=b;k[d+4>>2]=e;j[c>>1]=4;break}else{ch(d,b,e);break}}}else{k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,20152,-1,1,-1)|0}while(0);r=g;return}function Sj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0;n=r;r=r+32|0;if((r|0)>=(s|0))ka();m=n;g=n+16|0;l=Xg(k[c>>2]|0,1)|0;h=Xg(k[c+4>>2]|0,1)|0;j=k[(k[a>>2]|0)+32>>2]|0;a:do if((l|0)!=0?(i[l>>0]|0)!=0:0){b=0;c=l;b:while(1){e=b;d=c;while(1){d=d+e|0;f=Hn(d,g)|0;e=k[g>>2]|0;if((e|0)==151)e=f;else if((e|0)==22|(e|0)==125)break b;else{c=d;b=f;break}}if(!(i[c>>0]|0))break a}k[m>>2]=c-l;k[m+4>>2]=l;k[m+8>>2]=h;k[m+12>>2]=c+b;$g(a,zh(j,19464,m)|0,-1,1,75)}while(0);r=n;return}function Tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,p=0;p=r;r=r+32|0;if((r|0)>=(s|0))ka();o=p;j=p+16|0;n=Xg(k[c>>2]|0,1)|0;l=Xg(k[c+4>>2]|0,1)|0;m=k[(k[a>>2]|0)+32>>2]|0;a:do if((n|0)!=0?(i[n>>0]|0)!=0:0){h=3;b=0;c=n;while(1){e=b;d=c;do{d=d+e|0;e=Hn(d,j)|0;f=k[j>>2]|0}while((f|0)==151);g=e;e=(f|0)==122|(f|0)==107?0:h+1|0;if((e|0)==2)if((f|0)==5|(f|0)==46|(f|0)==137)break;else c=2;else c=e;if(!(i[d>>0]|0))break a;else{h=c;b=g;c=d}}k[o>>2]=c-n;k[o+4>>2]=n;k[o+8>>2]=l;k[o+12>>2]=c+b;$g(a,zh(m,19464,o)|0,-1,1,75)}while(0);r=p;return}function Uj(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;p=r;r=r+32|0;if((r|0)>=(s|0))ka();o=p;m=p+16|0;n=k[(k[a>>2]|0)+32>>2]|0;d=Xg(k[c>>2]|0,1)|0;l=Xg(k[c+4>>2]|0,1)|0;j=Xg(k[c+8>>2]|0,1)|0;if(!((d|0)==0|(l|0)==0)){a:do if(!(i[d>>0]|0))b=0;else{e=d;b=0;do{c=Hn(e,m)|0;if((k[m>>2]|0)==105){g=e;while(1){e=g+c|0;f=Hn(e,m)|0;if((k[m>>2]|0)==151){c=f;g=e}else break}if(!e)break a;h=ow(f|0,((f|0)<0)<<31>>31|0,1,0)|0;h=rh(n,h,L)|0;if(!h)break a;pw(h|0,e|0,f|0)|0;i[h+f>>0]=0;qo(h);if(!(id(l,h)|0)){k[o>>2]=(b|0)!=0?b:10360;k[o+4>>2]=e-d;k[o+8>>2]=d;k[o+12>>2]=j;q=zh(n,19440,o)|0;rg(n,b);d=g+(f+c)|0;b=q}rg(n,h);c=f}e=e+c|0}while((i[e>>0]|0)!=0)}while(0);k[o>>2]=(b|0)!=0?b:10360;k[o+4>>2]=d;$g(a,zh(n,19456,o)|0,-1,1,75);rg(n,b)}r=p;return}function Vj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=r;r=r+48|0;if((r|0)>=(s|0))ka();d=e;if(!(ro(a,b,c,d)|0)){so(d);b=d;bh(k[a>>2]|0,(+((k[b>>2]|0)>>>0)+4294967296.0*+(k[b+4>>2]|0))/864.0e5)}r=e;return}function Wj(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+160|0;if((r|0)>=(s|0))ka();d=g+48|0;e=g;f=g+60|0;if(!(ro(a,b,c,e)|0)){to(e);c=k[e+12>>2]|0;b=k[e+16>>2]|0;k[d>>2]=k[e+8>>2];k[d+4>>2]=c;k[d+8>>2]=b;fd(100,f,20136,d)|0;$g(a,f,-1,1,-1)}r=g;return}function Xj(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+160|0;if((r|0)>=(s|0))ka();d=g+48|0;e=g;f=g+60|0;if(!(ro(a,b,c,e)|0)){uo(e);c=k[e+24>>2]|0;b=~~+p[e+32>>3];k[d>>2]=k[e+20>>2];k[d+4>>2]=c;k[d+8>>2]=b;fd(100,f,20120,d)|0;$g(a,f,-1,1,-1)}r=g;return}function Yj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=r;r=r+176|0;if((r|0)>=(s|0))ka();d=g+48|0;e=g;f=g+72|0;if(!(ro(a,b,c,e)|0)){to(e);uo(e);j=k[e+12>>2]|0;i=k[e+16>>2]|0;h=k[e+20>>2]|0;c=k[e+24>>2]|0;b=~~+p[e+32>>3];k[d>>2]=k[e+8>>2];k[d+4>>2]=j;k[d+8>>2]=i;k[d+12>>2]=h;k[d+16>>2]=c;k[d+20>>2]=b;fd(100,f,20088,d)|0;$g(a,f,-1,1,-1)}r=g;return}function Zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,l=0,m=0,n=0,o=0,q=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0.0;C=r;r=r+208|0;if((r|0)>=(s|0))ka();y=C+96|0;z=C+48|0;B=C+104|0;A=C;a:do if(((b|0)!=0?(x=Xg(k[c>>2]|0,1)|0,(x|0)!=0):0)?(ro(a,b+-1|0,c+4|0,z)|0)==0:0){g=k[a>>2]|0;f=k[g+32>>2]|0;c=1;b=0;e=0;b:while(1){d=i[x+e>>0]|0;c:do if(d<<24>>24==37){d=e+1|0;switch(i[x+d>>0]|0){case 87:case 83:case 77:case 109:case 72:case 100:{c=ow(c|0,b|0,1,0)|0;b=L;break c}case 102:{c=ow(c|0,b|0,8,0)|0;b=L;break c}case 106:{c=ow(c|0,b|0,3,0)|0;b=L;break c}case 89:{c=ow(c|0,b|0,8,0)|0;b=L;break c}case 74:case 115:{c=ow(c|0,b|0,50,0)|0;b=L;break c}case 37:case 119:break c;default:break a}}else if(!(d<<24>>24))break b;else d=e;while(0);c=ow(c|0,b|0,1,0)|0;b=L;e=d+1|0}if(!(b>>>0<0|(b|0)==0&c>>>0<100)){w=k[f+88>>2]|0;v=((w|0)<0)<<31>>31;if(b>>>0>v>>>0|(b|0)==(v|0)&c>>>0>w>>>0){k[a+20>>2]=18;i[a+25>>0]=1;ah(g,10096,-1,1,0)|0;break}b=jw(0,c|0,32)|0;b=rh(f,b,L)|0;if(!b){Wd(a);break}else w=b}else w=B;so(z);to(z);uo(z);h=z+16|0;j=z+32|0;l=z+20|0;m=A+42|0;n=A+12|0;o=A+16|0;q=z+12|0;u=z+24|0;v=z+8|0;f=0;b=0;d:while(1){g=i[x+f>>0]|0;e:do if(g<<24>>24==37){f=f+1|0;c=x+f|0;do switch(i[c>>0]|0){case 106:case 87:{g=A+0|0;e=z+0|0;d=g+48|0;do{k[g>>2]=k[e>>2];g=g+4|0;e=e+4|0}while((g|0)<(d|0));i[m>>0]=0;k[n>>2]=1;k[o>>2]=1;so(A);g=z;d=A;D=k[d>>2]|0;d=k[d+4>>2]|0;g=ow(k[g>>2]|0,k[g+4>>2]|0,432e5,0)|0;e=L;d=vw(iw(g|0,e|0,D|0,d|0)|0,L|0,864e5,0)|0;if((i[c>>0]|0)==87){c=vw(g|0,e|0,864e5,0)|0;c=ww(c|0,L|0,7,0)|0;k[y>>2]=(d+7-c|0)/7|0;fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}else{k[y>>2]=d+1;fd(4,w+b|0,19904,y)|0;b=b+3|0;break e}}case 102:{E=+p[j>>3];e=w+b|0;p[t>>3]=E>59.999?59.999:E;k[y>>2]=k[t>>2];k[y+4>>2]=k[t+4>>2];fd(7,e,19896,y)|0;if(!e)g=0;else{g=e;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 100:{k[y>>2]=k[h>>2];fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}case 83:{k[y>>2]=~~+p[j>>3];fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}case 119:{c=z;c=ow(k[c>>2]|0,k[c+4>>2]|0,1296e5,0)|0;c=vw(c|0,L|0,864e5,0)|0;c=ww(c|0,L|0,7,0)|0;i[w+b>>0]=c+48;b=b+1|0;break e}case 89:{e=w+b|0;k[y>>2]=k[v>>2];fd(5,e,19928,y)|0;if(!e)g=0;else{g=e;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 72:{k[y>>2]=k[l>>2];fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}case 109:{k[y>>2]=k[q>>2];fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}case 77:{k[y>>2]=k[u>>2];fd(3,w+b|0,19888,y)|0;b=b+2|0;break e}case 74:{e=w+b|0;c=z;p[t>>3]=(+((k[c>>2]|0)>>>0)+4294967296.0*+(k[c+4>>2]|0))/864.0e5;k[y>>2]=k[t>>2];k[y+4>>2]=k[t+4>>2];fd(20,e,19912,y)|0;if(!e)g=0;else{g=e;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 115:{e=w+b|0;d=z;d=vw(k[d>>2]|0,k[d+4>>2]|0,1e3,0)|0;d=ow(d|0,L|0,-413362496,-50)|0;c=y;k[c>>2]=d;k[c+4>>2]=L;fd(30,e,19920,y)|0;if(!e)g=0;else{g=e;while(1)if(!(i[g>>0]|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}default:{i[w+b>>0]=37;b=b+1|0;break e}}while(0)}else if(!(g<<24>>24))break d;else{i[w+b>>0]=g;b=b+1|0}while(0);f=f+1|0}i[w+b>>0]=0;$g(a,w,-1,1,(w|0)==(B|0)?-1:75)}while(0);r=C;return}function _j(a,b,c){a=a|0;b=b|0;c=c|0;Xj(a,0,0);return}function $j(a,b,c){a=a|0;b=b|0;c=c|0;Yj(a,0,0);return}function ak(a,b,c){a=a|0;b=b|0;c=c|0;Wj(a,0,0);return}function bk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=_g(k[c>>2]|0)|0;g=f+1&-2;d=_g(k[c+4>>2]|0)|0;e=(g<<3)+56|0;c=k[(k[a>>2]|0)+32>>2]|0;b=rh(c,e,((e|0)<0)<<31>>31)|0;if(!b)Wd(a);else{kw(b|0,0,e|0)|0;k[b+52>>2]=c;k[b>>2]=0;k[b+8>>2]=f;k[b+12>>2]=d;c=b+56|0;k[b+24>>2]=c;k[b+20>>2]=c+(g<<2);$g(a,b,56,0,20)}return}function ck(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=ud(k[c>>2]|0)|0;e=_g(k[c+4>>2]|0)|0;if(!(k[f>>2]|0)){a=f+8|0;if((k[a>>2]|0)>0){b=k[f+20>>2]|0;c=0;do{k[b+(c<<2)>>2]=1;c=c+1|0}while((c|0)<(k[a>>2]|0))}}else{if((e|0)>0){a=k[f+20>>2]|0;c=0;do{b=a+(c<<2)|0;k[b>>2]=(k[b>>2]|0)+1;c=c+1|0}while((c|0)!=(e|0))}a=f+8|0;if((e|0)<(k[a>>2]|0)){b=k[f+24>>2]|0;d=k[f+20>>2]|0;c=e;do{e=b+(c<<2)|0;k[e>>2]=(k[e>>2]|0)+1;k[d+(c<<2)>>2]=1;c=c+1|0}while((c|0)<(k[a>>2]|0))}}k[f>>2]=(k[f>>2]|0)+1;return}function dk(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;l=r;r=r+16|0;if((r|0)>=(s|0))ka();j=l;f=ud(k[c>>2]|0)|0;g=f+12|0;c=((k[g>>2]|0)*25|0)+25|0;h=vg(c,((c|0)<0)<<31>>31)|0;if(!h)Wd(a);else{kw(h|0,0,c|0)|0;c=j;k[c>>2]=k[f>>2];k[c+4>>2]=0;fd(24,h,28696,j)|0;c=h;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;if((k[g>>2]|0)>0){d=f+24|0;e=0;b=h+(c-h&1073741823)|0;while(1){m=(k[(k[d>>2]|0)+(e<<2)>>2]|0)+1|0;c=k[f>>2]|0;n=ow(m|0,0,-1,-1)|0;c=ow(n|0,L|0,c|0,0)|0;m=yw(c|0,L|0,m|0,0)|0;c=j;k[c>>2]=m;k[c+4>>2]=L;fd(24,b,28704,j)|0;if(!b)c=0;else{c=b;while(1)if(!(i[c>>0]|0))break;else c=c+1|0;c=c-b&1073741823}e=e+1|0;if((e|0)>=(k[g>>2]|0))break;else b=b+c|0}}$g(a,h,-1,1,1)}r=l;return}function ek(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;l=r;r=r+144|0;if((r|0)>=(s|0))ka();h=l;j=l+8|0;f=Xg(k[c>>2]|0,1)|0;g=k[(k[a>>2]|0)+32>>2]|0;f=(f|0)==0?10360:f;e=k[g+20>>2]|0;a:do if((e|0)>0){b=k[g+16>>2]|0;c=0;do{d=b+(c<<4)|0;if((k[b+(c<<4)+4>>2]|0)!=0?(id(k[d>>2]|0,f)|0)==0:0)break a;c=c+1|0}while((c|0)<(e|0))}else{c=0;d=0}while(0);do if((c|0)<(e|0)){if((c|0)<2){k[h>>2]=f;fd(128,j,29256,h)|0;m=16;break}if(!(i[g+63>>0]|0)){fd(128,j,29288,h)|0;m=16;break}c=d+4|0;b=k[c>>2]|0;if((i[b+8>>0]|0)==0?(k[b+16>>2]|0)==0:0){Rl(b);k[c>>2]=0;k[d+12>>2]=0;Jg(g);break}k[h>>2]=f;fd(128,j,29336,h)|0;m=16}else{k[h>>2]=f;fd(128,j,29232,h)|0;m=16}while(0);if((m|0)==16){k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,j,-1,1,-1)|0}r=l;return}function fk(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,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+32|0;if((r|0)>=(s|0))ka();v=z;g=z+20|0;b=z+16|0;f=z+12|0;y=z+8|0;h=z+4|0;x=k[(k[a>>2]|0)+32>>2]|0;k[g>>2]=0;k[b>>2]=0;k[y>>2]=0;u=Xg(k[c>>2]|0,1)|0;o=Xg(k[c+4>>2]|0,1)|0;u=(u|0)==0?10360:u;o=(o|0)==0?10360:o;t=x+20|0;d=k[t>>2]|0;e=k[x+116>>2]|0;a:do if((d|0)<(e+2|0)){if(!(i[x+63>>0]|0)){d=zh(x,29456,v)|0;k[y>>2]=d;b=0;w=42;break}p=x+16|0;e=k[p>>2]|0;b:do if((d|0)>0){c=0;while(1){if(!(id(k[e+(c<<4)>>2]|0,o)|0))break;c=c+1|0;if((c|0)>=(d|0))break b}k[v>>2]=o;d=zh(x,29504,v)|0;k[y>>2]=d;b=0;w=42;break a}while(0);if((e|0)!=(x+456|0)){e=wo(x,e,(d<<4)+16|0,0)|0;if(!e)break;else n=e}else{e=rh(x,48,0)|0;if(!e)break;n=k[p>>2]|0;k[e+0>>2]=k[n+0>>2];k[e+4>>2]=k[n+4>>2];k[e+8>>2]=k[n+8>>2];k[e+12>>2]=k[n+12>>2];k[e+16>>2]=k[n+16>>2];k[e+20>>2]=k[n+20>>2];k[e+24>>2]=k[n+24>>2];k[e+28>>2]=k[n+28>>2];n=e}k[p>>2]=n;j=k[t>>2]|0;l=n+(j<<4)|0;k[l+0>>2]=0;k[l+4>>2]=0;k[l+8>>2]=0;k[l+12>>2]=0;k[f>>2]=k[x+48>>2];e=$n(k[(k[x>>2]|0)+16>>2]|0,u,f,h,g,b)|0;if((e|0)==7)i[x+65>>0]=1;else if(!e){e=k[f>>2]|256;k[f>>2]=e;g=k[g>>2]|0;f=n+(j<<4)+4|0;e=Em(k[h>>2]|0,g,x,f,0,e)|0;$c(g);k[t>>2]=(k[t>>2]|0)+1;if(!e){e=ao(x,k[f>>2]|0)|0;k[n+(j<<4)+12>>2]=e;if(e)if((i[e+76>>0]|0)!=0?(i[e+77>>0]|0)!=(i[x+62>>0]|0):0){e=zh(x,13232,v)|0;k[y>>2]=e;e=1}else e=0;else e=7;b=k[f>>2]|0;c=k[b+4>>2]|0;k[c+4>>2]=k[b>>2];c=k[c>>2]|0;d=i[x+66>>0]|0;do if(!(i[c+12>>0]|0)){h=k[c+208>>2]|0;if((h|0)!=0?(i[h+43>>0]|0)==2:0)break;i[c+4>>0]=d}while(0);c=k[(k[p>>2]|0)+4>>2]|0;if(!c)c=0;else{h=k[c+4>>2]|0;k[h+4>>2]=k[c>>2];c=(m[h+22>>1]|0)>>>2&1}xo(b,c)|0;yo(k[f>>2]|0,k[x+24>>2]&28|3)}else if((e|0)==19){e=zh(x,29536,v)|0;k[y>>2]=e;e=1}i[n+(j<<4)+8>>0]=3;b=ph(x,o)|0;k[l>>2]=b;b=(e|0)==0&(b|0)==0?7:e;if(!b){c=k[t>>2]|0;if((c|0)>0){d=k[p>>2]|0;e=0;do{b=k[d+(e<<4)+4>>2]|0;if(b)k[(k[b+4>>2]|0)+4>>2]=k[b>>2];e=e+1|0}while((e|0)!=(c|0))}b=ci(x,y)|0;if(!b)break}d=(k[t>>2]|0)+-1|0;c=k[(k[p>>2]|0)+(d<<4)+4>>2]|0;if(c){Rl(c);n=k[p>>2]|0;k[n+(d<<4)+4>>2]=0;k[n+(d<<4)+12>>2]=0}Jg(x);k[t>>2]=d;if((b|0)==7|(b|0)==3082){i[x+65>>0]=1;rg(x,k[y>>2]|0);d=zh(x,15776,v)|0;k[y>>2]=d;w=42;break}d=k[y>>2]|0;if(d){w=43;break}k[v>>2]=u;d=zh(x,29568,v)|0;k[y>>2]=d;w=42;break}n=k[b>>2]|0;k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,n,-1,1,-1)|0;$c(n)}else{k[v>>2]=e;d=zh(x,29416,v)|0;k[y>>2]=d;b=0;w=42}while(0);if((w|0)==42)if(!d){q=b;w=44}else w=43;if((w|0)==43){k[a+20>>2]=1;i[a+25>>0]=1;ah(k[a>>2]|0,d,-1,1,-1)|0;rg(x,k[y>>2]|0);q=b;w=44}if((w|0)==44?(q|0)!=0:0)Ud(a,q);r=z;return}function gk(a){a=a|0;if(a){nk(a,0)|0;$c(k[a+24>>2]|0);zo(a)}return 0}function hk(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;l=a+12|0;f=c&131071;j=b;h=e;i=0;a:while(1){while(1){e=hb(k[l>>2]|0,d|0,0)|0;if(!((e|0)==(d|0)&(((e|0)<0)<<31>>31|0)==(h|0))){d=4;break a}g=fc[k[47552+100>>2]&63](k[l>>2]|0,j,f)|0;if((f|0)==(g|0)){e=i;d=13;break a}if((g|0)>=0){e=g;break}e=Mb()|0;e=k[e>>2]|0;if((e|0)!=4){f=g;d=10;break a}}if((e|0)<=0){f=0;e=i;d=13;break}g=ow(e|0,((e|0)<0)<<31>>31|0,d|0,h|0)|0;f=f-e|0;j=j+e|0;h=L;d=g;i=e+i|0}do if((d|0)==4)if((e|0)==-1){e=Mb()|0;k[a+20>>2]=k[e>>2];e=-1;break}else{k[a+20>>2]=0;e=-1;break}else if((d|0)==10){k[a+20>>2]=e;e=0;d=13}while(0);if((d|0)==13)e=e+f|0;if((e|0)!=(c|0))if((e|0)<0)e=266;else{k[a+20>>2]=0;kw(b+e|0,0,c-e|0)|0;e=522}else e=0;return e|0}function ik(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if((c|0)>0){g=a+12|0;h=a+20|0;f=c;while(1){c=Ao(k[g>>2]|0,d,e,b,f,h)|0;if((c|0)<=0)break;f=f-c|0;d=ow(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0;if((f|0)<=0){c=0;break a}else{b=b+c|0;e=L}}if((c|0)<0?(k[h>>2]|0)!=28:0){c=778;break}k[a+20>>2]=0;c=13}else c=0;while(0);return c|0}function jk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=k[a+40>>2]|0;if((d|0)>0){e=((d|0)<0)<<31>>31;c=ow(b|0,c|0,-1,-1)|0;c=ow(c|0,L|0,d|0,e|0)|0;b=L;d=ww(c|0,b|0,d|0,e|0)|0;d=iw(c|0,b|0,d|0,L|0)|0}else d=b;c=k[a+12>>2]|0;while(1){b=wc[k[47552+76>>2]&127](c,d)|0;if((b|0)>=0){d=6;break}b=Mb()|0;if((k[b>>2]|0)!=4){d=8;break}}if((d|0)==6)if(!b)b=0;else{b=Mb()|0;d=8}if((d|0)==8){k[a+20>>2]=k[b>>2];b=io(1546,47928,k[a+32>>2]|0,29004)|0}return b|0}function kk(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();d=f;if(!(Lb(k[a+12>>2]|0)|0)){e=a+18|0;if(!(j[e>>1]&8))b=0;else{b=wc[k[47552+208>>2]&127](k[a+32>>2]|0,d)|0;c=k[d>>2]|0;if((b|0)==0&(c|0)>-1){Lb(c|0)|0;go(a,k[d>>2]|0,28974);b=0}else b=(b|0)==14?0:b;j[e>>1]=(m[e>>1]|0)&65527}}else{b=Mb()|0;k[a+20>>2]=k[b>>2];b=io(1034,48360,k[a+32>>2]|0,28960)|0}r=f;return b|0}function lk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=r;r=r+80|0;if((r|0)>=(s|0))ka();c=d;if(!(wc[k[47552+64>>2]&127](k[a+12>>2]|0,c)|0)){a=k[c+36>>2]|0;e=(a|0)==1;c=b;k[c>>2]=e?0:a;k[c+4>>2]=e?0:((a|0)<0)<<31>>31;c=0}else{c=Mb()|0;k[a+20>>2]=k[c>>2];c=1802}r=d;return c|0}function mk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=k[a+24>>2]|0;e=a+16|0;a:do if(!(i[e>>0]|0)){c=wc[k[47552+220>>2]&127](d,511)|0;if((c|0)>=0){i[e>>0]=b;break}d=Mb()|0;d=k[d>>2]|0;switch(d|0){case 1:{c=3;break}case 13:case 37:case 4:case 16:case 110:case 11:case 17:{c=5;break a}default:c=3850}k[a+20>>2]=d}else{i[e>>0]=b;bb(d|0,0)|0;c=0}while(0);return c|0}function nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=k[a+24>>2]|0;e=a+16|0;a:do if((l[e>>0]|0|0)==(b|0))c=0;else{if((b|0)==1){i[e>>0]=1;c=0;break}do if((qc[k[47552+232>>2]&127](d)|0)<0){c=Mb()|0;b=k[c>>2]|0;if((b|0)==20){if((qc[k[47552+196>>2]&127](d)|0)>=0)break;b=k[c>>2]|0}d=(b|0)!=2;c=d?2058:0;if(!d)break a;k[a+20>>2]=b;break a}while(0);i[e>>0]=0;c=0}while(0);return c|0}function ok(a,b){a=a|0;b=b|0;if((l[a+16>>0]|0)>1)a=1;else a=(wc[k[47552+28>>2]&127](k[a+24>>2]|0,0)|0)==0&1;k[b>>2]=a;return 0}function pk(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;j=r;r=r+80|0;if((r|0)>=(s|0))ka();e=j;a:do switch(b|0){case 1:{k[c>>2]=l[a+16>>0];d=0;break}case 10:{Bo(a,4,c);d=0;break}case 13:{Bo(a,16,c);d=0;break}case 20:{d=Co(a)|0;k[c>>2]=d;d=0;break}case 24:{d=0;break}case 16:{d=a+4|0;b=Yc(k[(k[d>>2]|0)+8>>2]|0)|0;if(!b)d=0;else{eo(k[(k[d>>2]|0)+8>>2]|0,b)|0;k[c>>2]=b;d=0}break}case 5:{b=c;c=k[b>>2]|0;b=k[b+4>>2]|0;d=a+40|0;if((k[d>>2]|0)>0){i=a+12|0;if(!(wc[k[47552+64>>2]&127](k[i>>2]|0,e)|0)){d=k[d>>2]|0;g=((d|0)<0)<<31>>31;c=ow(c|0,b|0,-1,-1)|0;c=ow(c|0,L|0,d|0,g|0)|0;h=L;g=ww(c|0,h|0,d|0,g|0)|0;g=iw(c|0,h|0,g|0,L|0)|0;h=L;c=k[e+36>>2]|0;d=((c|0)<0)<<31>>31;do if((h|0)>(d|0)|(h|0)==(d|0)&g>>>0>c>>>0){f=k[e+40>>2]|0;b=c+-1+(f<<1)|0;b=b+~((b|0)%(f|0)|0)|0;c=((b|0)<0)<<31>>31;d=a+20|0;if((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0){e=((f|0)<0)<<31>>31;do{a=(Ao(k[i>>2]|0,b,c,10360,1,d)|0)==1;b=ow(b|0,c|0,f|0,e|0)|0;c=L;if(!a){d=778;break a}}while((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0);b=ww(g|0,h|0,f|0,e|0)|0;if((b|0)==0&(L|0)==0)break}b=ow(g|0,h|0,-1,-1)|0;if((Ao(k[i>>2]|0,b,L,10360,1,d)|0)!=1){d=778;break a}}while(0);d=0}else d=1802}else d=0;break}case 6:{k[a+40>>2]=k[c>>2];d=0;break}case 12:{k[e>>2]=k[(k[a+4>>2]|0)+16>>2];d=dd(10344,e)|0;k[c>>2]=d;d=0;break}case 4:{k[c>>2]=k[a+20>>2];d=0;break}default:d=12}while(0);r=j;return d|0}function qk(a){a=a|0;return 4096}function rk(a){a=a|0;return (j[a+18>>1]&16)<<8|0}function sk(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,l=0;i=k[a+36>>2]|0;f=k[i>>2]|0;l=(1<<c+b)-(1<<b)|0;a:do if(!(d&1)){g=k[f+32>>2]|0;f=(g|0)==0;if(d&4){if(f)d=0;else{d=0;f=g;do{if(l&(m[f+12>>1]|0)){e=5;break a}d=j[f+10>>1]|d;f=k[f+4>>2]|0}while((f|0)!=0)}if((l&(d&65535)|0)==0?(h=Do(a,0,b+120|0,c)|0,(h|0)!=0):0){e=h;break}e=i+10|0;j[e>>1]=m[e>>1]|0|l;e=0;break}if(!f){e=l&65535;d=g;do{if((m[d+12>>1]|0)&e){e=5;break a}if((m[d+10>>1]|0)&e){e=5;break a}d=k[d+4>>2]|0}while((d|0)!=0)}e=Do(a,1,b+120|0,c)|0;if(!e){e=i+12|0;j[e>>1]=m[e>>1]|0|l;e=0}}else{f=k[f+32>>2]|0;if(!f)d=0;else{d=0;do{if((f|0)!=(i|0))d=j[f+10>>1]|d;f=k[f+4>>2]|0}while((f|0)!=0)}if((d&65535&l|0)==0?(e=Do(a,2,b+120|0,c)|0,(e|0)!=0):0)break;d=(l|-65536)^65535;e=i+12|0;j[e>>1]=(m[e>>1]|0)&d;e=i+10|0;j[e>>1]=(m[e>>1]|0)&d;e=0}while(0);return e|0}function tk(a){a=a|0;return}function uk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=a+36|0;f=k[e>>2]|0;if(f){g=k[f>>2]|0;c=g+32|0;while(1){d=k[c>>2]|0;if((d|0)==(f|0))break;else c=d+4|0}k[c>>2]=k[f+4>>2];$c(f);k[e>>2]=0;d=g+28|0;c=(k[d>>2]|0)+-1|0;k[d>>2]=c;if(!c){if((b|0)!=0?(k[g+12>>2]|0)>-1:0)qc[k[47552+196>>2]&127](k[g+8>>2]|0)|0;Eo(a)}}return 0}function vk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;k[e>>2]=0;return 0}function wk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function xk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=r;r=r+16|0;if((r|0)>=(s|0))ka();e=d;k[e>>2]=c;b=vb(a|0,b|0,e|0)|0;r=d;return b|0}function yk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=r;r=r+528|0;if((r|0)>=(s|0))ka();d=g;e=g+8|0;k[d>>2]=a;fd(512,e,10344,d)|0;a=lw(e|0)|0;a:do if((a|0)>1)while(1){c=a+-1|0;if((i[e+a>>0]|0)==47)break a;if((c|0)>1)a=c;else{a=c;break}}while(0);if((a|0)>0){i[e+a>>0]=0;a=fo(e,0,0)|0;k[b>>2]=a;if((a|0)>-1)a=0;else f=7}else{k[b>>2]=-1;f=7}if((f|0)==7){k[d>>2]=28919;k[d+4>>2]=10788;gd(14,14848,d);a=io(14,47896,e,28919)|0}r=g;return a|0}function zk(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Pb()|0))a=Vb(a|0,b|0,c|0)|0;else a=0;return a|0}function Ak(){return Bb(30)|0}function Bk(a){a=a|0;zo(a);return 0}function Ck(a,b){a=a|0;b=b|0;return 0}function Dk(a,b){a=a|0;b=b|0;return 0}function Ek(a,b){a=a|0;b=b|0;k[b>>2]=0;return 0}function Fk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;ho(a);Hk(a,0)|0;e=k[a+8>>2]|0;if(e){if(k[e+24>>2]|0){b=a+28|0;d=k[b>>2]|0;c=e+28|0;k[d+8>>2]=k[c>>2];k[c>>2]=d;k[a+12>>2]=-1;k[b>>2]=0}c=e+16|0;b=(k[c>>2]|0)+-1|0;k[c>>2]=b;if(!b){Fo(a);f=e+36|0;b=k[f>>2]|0;c=e+32|0;d=k[c>>2]|0;if(!b)k[12178]=d;else k[b+32>>2]=d;b=k[c>>2]|0;if(b)k[b+36>>2]=k[f>>2];$c(e)}}zo(a);return 0}function Gk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();h=o;m=a+16|0;c=i[m>>0]|0;a:do if((c&255|0)<(b|0)){g=k[a+8>>2]|0;n=g+12|0;d=i[n>>0]|0;if(c<<24>>24!=d<<24>>24?(d&255)>2|(b|0)>1:0){c=5;break}e=(b|0)==1;do if(e)if((d+-1&255)<2){i[m>>0]=1;c=g+8|0;k[c>>2]=(k[c>>2]|0)+1;c=g+24|0;k[c>>2]=(k[c>>2]|0)+1;c=0;break a}else{d=h+8|0;k[d>>2]=1;j[h+2>>1]=0;l=10;break}else{d=h+8|0;k[d>>2]=1;j[h+2>>1]=0;if((b|0)==4)if((c&255)<3)l=10;else{f=d;l=14}else{e=d;l=24}}while(0);if((l|0)==10){j[h>>1]=e&1^1;k[h+4>>2]=k[2514];if(!(Go(a,h)|0)){f=d;l=14}else{d=Mb()|0;d=k[d>>2]|0;switch(d|0){case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break a}case 1:{c=3;break}default:c=3850}k[a+20>>2]=d;break}}b:do if((l|0)==14)if(e){e=h+4|0;k[e>>2]=(k[2514]|0)+2;k[f>>2]=510;c:do if(!(Go(a,h)|0)){c=0;d=0}else{d=Mb()|0;d=k[d>>2]|0;switch(d|0){case 1:{c=3;d=1;break c}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break c}default:{c=3850;break c}}}while(0);k[e>>2]=k[2514];k[f>>2]=1;j[h>>1]=2;do if((Go(a,h)|0)!=0&(c|0)==0){d=Mb()|0;c=2058;d=k[d>>2]|0}else{if((c|0)==5){c=5;break a}else if(c)break;i[m>>0]=1;h=g+24|0;k[h>>2]=(k[h>>2]|0)+1;k[g+8>>2]=1;break b}while(0);k[a+20>>2]=d;break a}else{e=f;l=24}while(0);do if((l|0)==24){f=(b|0)==4;if(f)if((k[g+8>>2]|0)>1)c=5;else{j[h>>1]=1;d=k[2514]|0;l=29}else{j[h>>1]=1;d=k[2514]|0;if((b|0)==2){k[h+4>>2]=d+1;d=1;l=30}else l=29}if((l|0)==29){k[h+4>>2]=d+2;d=510;l=30}if((l|0)==30){k[e>>2]=d;if(!(Go(a,h)|0))break;d=Mb()|0;d=k[d>>2]|0;switch(d|0){case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break}case 1:{c=3;l=33;break}default:{c=3850;l=33}}if((l|0)==33)k[a+20>>2]=d;if(!f)break a}i[m>>0]=3;i[n>>0]=3;break a}while(0);c=b&255;i[m>>0]=c;i[n>>0]=c;c=0}else c=0;while(0);r=o;return c|0}function Hk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0;l=r;r=r+16|0;if((r|0)>=(s|0))ka();f=l;g=a+16|0;c=i[g>>0]|0;a:do if((c&255|0)>(b|0)){h=k[a+8>>2]|0;do if((c&255)>1){if((b|0)==1){j[f>>1]=0;e=f+2|0;j[e>>1]=0;c=f+4|0;k[c>>2]=(k[2514]|0)+2;d=f+8|0;k[d>>2]=510;if(Go(a,f)|0){c=Mb()|0;k[a+20>>2]=k[c>>2];c=2314;break a}}else{d=f+8|0;e=f+2|0;c=f+4|0}j[f>>1]=2;j[e>>1]=0;k[c>>2]=k[2514];k[d>>2]=2;if(!(Go(a,f)|0)){i[h+12>>0]=1;break}else{c=Mb()|0;k[a+20>>2]=k[c>>2];c=2058;break a}}while(0);if(!b){d=h+8|0;c=(k[d>>2]|0)+-1|0;k[d>>2]=c;do if(!c){j[f>>1]=2;j[f+2>>1]=0;k[f+8>>2]=0;k[f+4>>2]=0;if(!(Go(a,f)|0)){i[h+12>>0]=0;c=0;break}else{c=Mb()|0;k[a+20>>2]=k[c>>2];i[h+12>>0]=0;i[g>>0]=0;c=2058;break}}else c=0;while(0);e=h+24|0;d=(k[e>>2]|0)+-1|0;k[e>>2]=d;if(!d)Fo(a);if(c)break}i[g>>0]=b;c=0}else c=0;while(0);r=l;return c|0}function Ik(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;f=g+8|0;d=k[a+8>>2]|0;h=(l[d+12>>0]|0)>1;c=h&1;do if(!h)if(!(i[d+13>>0]|0)){j[f+2>>1]=0;k[f+4>>2]=(k[2514]|0)+1;k[f+8>>2]=1;j[f>>1]=1;h=k[11910]|0;d=k[a+12>>2]|0;k[e>>2]=f;if(!(fc[h&63](d,12,e)|0)){d=0;c=(j[f>>1]|0)==2?c:1;break}else{d=Mb()|0;k[a+20>>2]=k[d>>2];d=3594;break}}else{d=0;c=0}else{d=0;c=1}while(0);k[b>>2]=c;r=g;return d|0}function Jk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,l=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=r;r=r+160|0;if((r|0)>=(s|0))ka();y=A;t=A+76|0;g=mc[k[47552+292>>2]&7]()|0;if((g|0)<32768)z=1;else z=(g|0)/32768|0;w=a+36|0;g=k[w>>2]|0;a:do if(!g){g=Yc(16)|0;if(!g)f=7;else{k[g+0>>2]=0;k[g+4>>2]=0;k[g+8>>2]=0;k[g+12>>2]=0;q=a+8|0;o=k[q>>2]|0;f=k[o+20>>2]|0;b:do if(!f){p=a+32|0;h=k[p>>2]|0;if((wc[k[47552+64>>2]&127](k[a+12>>2]|0,t)|0)!=0?(i[o+13>>0]|0)==0:0)f=1802;else x=8;c:do if((x|0)==8){f=lw(h|0)|0;l=f+42|0;u=Yc(l)|0;if(u){kw(u|0,0,l|0)|0;n=u+36|0;k[u+8>>2]=n;k[y>>2]=h;fd(f+6|0,n,48720,y)|0;f=u+12|0;k[f>>2]=-1;q=k[q>>2]|0;k[q+20>>2]=u;k[u>>2]=q;k[u+4>>2]=8;if(i[o+13>>0]|0){f=u;break b}if(!(kg(k[p>>2]|0,48728,0)|0))l=66;else{i[u+22>>0]=1;l=0}h=fo(n,l,k[t+12>>2]&511)|0;k[f>>2]=h;if((h|0)<0){k[y>>2]=29706;k[y+4>>2]=10788;gd(14,14848,y);f=io(14,47896,n,29706)|0;break}fc[k[47552+244>>2]&63](h,k[t+20>>2]|0,k[t+24>>2]|0)|0;do if(!(Do(a,1,128,1)|0)){f=k[f>>2]|0;do{h=wc[k[47552+76>>2]&127](f,0)|0;if((h|0)>=0){v=h;x=18;break}t=Mb()|0}while((k[t>>2]|0)==4);if((x|0)==18?(v|0)==0:0)break;f=io(4618,47928,n,29722)|0;if(f)break c}while(0);f=Do(a,0,128,1)|0;if(!f){f=u;break b}}else f=7}while(0);Eo(a);$c(g);if(f)break a;g=k[w>>2]|0;x=24;break a}while(0);k[g>>2]=f;x=f+28|0;k[x>>2]=(k[x>>2]|0)+1;k[a+36>>2]=g;x=f+32|0;k[g+4>>2]=k[x>>2];k[x>>2]=g;x=24}}else x=24;while(0);if((x|0)==24){u=k[g>>2]|0;w=z+b|0;w=w-((w|0)%(z|0)|0)|0;t=u+20|0;d:do if((m[t>>1]|0)<(w|0)){f=ha(w,c)|0;k[u+16>>2]=c;v=u+12|0;g=k[v>>2]|0;e:do if((g|0)>-1){if(wc[k[47552+64>>2]&127](g,y)|0){g=4874;break d}g=k[y+36>>2]|0;if((g|0)<(f|0)){if(!d){g=0;break d}g=(g|0)/4096|0;f=(f|0)/4096|0;if((g|0)<(f|0)){while(1){q=g<<12|4095;g=g+1|0;if((Ao(k[v>>2]|0,q,((q|0)<0)<<31>>31,10360,1,0)|0)!=1)break;if((g|0)>=(f|0))break e}g=io(4874,47976,k[u+8>>2]|0,29853)|0;break d}}}while(0);q=u+24|0;g=ad(k[q>>2]|0,w<<2)|0;if(g){k[q>>2]=g;g=m[t>>1]|0;if((g|0)<(w|0)){n=ha(z,c)|0;o=u+22|0;p=(z|0)>0;while(1){f=k[v>>2]|0;if((f|0)>-1){g=ha(g,c)|0;g=pc[k[47552+256>>2]&7](0,n,(i[o>>0]|0)!=0?1:3,1,f,g)|0;if((g|0)==(-1|0))break}else{g=Yc(c)|0;if(!g){g=7;break d}kw(g|0,0,c|0)|0}h=j[t>>1]|0;if(p){f=h&65535;l=0;do{a=g+(ha(l,c)|0)|0;k[(k[q>>2]|0)+(f+l<<2)>>2]=a;l=l+1|0}while((l|0)!=(z|0))}g=(h&65535)+z|0;j[t>>1]=g;g=g&65535;if((g|0)>=(w|0)){g=0;break d}}g=io(5386,48080,k[u+8>>2]|0,29880)|0}else g=0}else g=3082}else g=0;while(0);if((m[t>>1]|0)>(b|0))f=k[(k[u+24>>2]|0)+(b<<2)>>2]|0;else f=0;k[e>>2]=f;f=(i[u+22>>0]|0)!=0&(g|0)==0?8:g}r=A;return f|0}function Kk(a,b){a=a|0;b=b|0;var c=0;if(b)do{c=b;b=k[b+32>>2]|0;Lk(a,k[c+20>>2]|0);Sk(a,k[c+24>>2]|0);Rk(a,k[c+8>>2]|0,1);Mk(a,k[c+28>>2]|0);rg(a,c)}while((b|0)!=0);return}function Lk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){e=b+4|0;do if(!(k[e>>2]&16384)){Lk(a,k[b+12>>2]|0);Lk(a,k[b+16>>2]|0);c=k[e>>2]|0;if(c&65536){rg(a,k[b+8>>2]|0);c=k[e>>2]|0}d=b+20|0;if(!(c&2048)){Sk(a,k[d>>2]|0);break}else{Rk(a,k[d>>2]|0,1);break}}while(0);if(!(k[e>>2]&32768))rg(a,b)}return}function Mk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){e=b+4|0;c=k[b>>2]|0;if((k[e>>2]|0)>0){d=0;do{rg(a,k[c+(d<<3)>>2]|0);d=d+1|0;c=k[b>>2]|0}while((d|0)<(k[e>>2]|0))}rg(a,c);rg(a,b)}return}function Nk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();n=o;h=gn(a,b,n)|0;do if(!h)if(c){m=vg(16,0)|0;if(!m)d=c;else{k[m+12>>2]=b;k[m+8>>2]=c;j=a+4|0;f=(k[j>>2]|0)+1|0;k[j>>2]=f;if((f>>>0>9?(e=k[a>>2]|0,f>>>0>e<<1>>>0):0)?(g=f<<4>>>0>1024?128:f<<1,(g|0)!=(e|0)):0){d=k[3164]|0;if(d)sc[d&3]();j=vg(g<<3,0)|0;d=k[3166]|0;if(d)sc[d&3]();if(j){h=a+12|0;$c(k[h>>2]|0);k[h>>2]=j;h=(qc[k[8744+48>>2]&127](j)|0)>>>3;k[a>>2]=h;kw(j|0,0,h<<3|0)|0;c=a+8|0;f=k[c>>2]|0;k[c>>2]=0;if(f)do{g=k[f+12>>2]|0;e=i[g>>0]|0;if(!(e<<24>>24))e=0;else{c=e;e=0;do{g=g+1|0;e=e<<3^e^(l[9328+(c&255)>>0]|0);c=i[g>>0]|0}while(c<<24>>24!=0)}c=f;f=k[f>>2]|0;Ho(a,j+(((e>>>0)%(h>>>0)|0)<<3)|0,c)}while((f|0)!=0);d=i[b>>0]|0;if(!(d<<24>>24))d=0;else{f=d;d=0;do{b=b+1|0;d=d<<3^d^(l[9328+(f&255)>>0]|0);f=i[b>>0]|0}while(f<<24>>24!=0)}k[n>>2]=(d>>>0)%((k[a>>2]|0)>>>0)|0}}d=k[a+12>>2]|0;if(!d)d=0;else d=d+(k[n>>2]<<3)|0;Ho(a,d,m);d=0}}else d=0;else{f=h+8|0;d=k[f>>2]|0;if(c){k[f>>2]=c;k[h+12>>2]=b;break}g=k[n>>2]|0;f=k[h+4>>2]|0;e=k[h>>2]|0;if(!f)k[a+8>>2]=e;else{k[f>>2]=e;e=k[h>>2]|0}if(e)k[e+4>>2]=f;b=k[a+12>>2]|0;if(b){f=b+(g<<3)+4|0;if((k[f>>2]|0)==(h|0))k[f>>2]=e;n=b+(g<<3)|0;k[n>>2]=(k[n>>2]|0)+-1}$c(h);m=a+4|0;n=(k[m>>2]|0)+-1|0;k[m>>2]=n;if(!n)Tl(a)}while(0);r=o;return d|0}function Ok(a,b){a=a|0;b=b|0;Lk(a,k[b+36>>2]|0);rg(a,k[b+16>>2]|0);if(i[b+51>>0]&16)rg(a,k[b+32>>2]|0);rg(a,b);return}function Pk(a,b){a=a|0;b=b|0;var c=0;if(b){c=k[b+28>>2]|0;Lk(a,k[c+20>>2]|0);Sk(a,k[c+24>>2]|0);Rk(a,k[c+8>>2]|0,1);Lk(a,k[b+12>>2]|0);rg(a,b)}return}function Qk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=b+4|0;c=k[e>>2]|0;if(c){b=b+38|0;if((j[b>>1]|0)>0){d=0;while(1){rg(a,k[c>>2]|0);Lk(a,k[c+4>>2]|0);rg(a,k[c+8>>2]|0);rg(a,k[c+12>>2]|0);rg(a,k[c+16>>2]|0);d=d+1|0;if((d|0)>=(j[b>>1]|0))break;else c=c+24|0}c=k[e>>2]|0}rg(a,c)}return}function Rk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b){d=(c|0)==0;c=b;while(1){b=c;c=k[c+52>>2]|0;Sk(a,k[b>>2]|0);Io(a,k[b+32>>2]|0);Lk(a,k[b+36>>2]|0);Sk(a,k[b+40>>2]|0);Lk(a,k[b+44>>2]|0);Sk(a,k[b+48>>2]|0);Lk(a,k[b+60>>2]|0);Lk(a,k[b+64>>2]|0);Vn(a,k[b+68>>2]|0);if(!d)rg(a,b);if(!c)break;else d=0}}return}function Sk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){c=b+4|0;if((k[b>>2]|0)>0){d=0;e=k[c>>2]|0;while(1){Lk(a,k[e>>2]|0);rg(a,k[e+4>>2]|0);rg(a,k[e+8>>2]|0);d=d+1|0;if((d|0)>=(k[b>>2]|0))break;else e=e+20|0}}rg(a,k[c>>2]|0);rg(a,b)}return}function Tk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=b+60|0;c=k[g>>2]|0;k[g>>2]=0;a:do if(!c)b=0;else{b=0;do{while(1){e=k[c>>2]|0;d=c+24|0;f=c;c=k[d>>2]|0;if((e|0)==(a|0)){b=f;break}e=e+332|0;k[d>>2]=k[e>>2];k[e>>2]=f;if(!c)break a}k[g>>2]=b;k[d>>2]=0}while((c|0)!=0)}while(0);return b|0}function Uk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)!=0?(d=b+(c*20|0)|0,(c|0)>0):0){c=b;do{Nn(a,i[c+1>>0]|0,k[c+16>>2]|0);c=c+20|0}while(c>>>0<d>>>0)}rg(a,b);return}function Vk(a,b){a=a|0;b=b|0;do if(!a)b=qc[k[8744+48>>2]&127](b)|0;else{if((k[a+276>>2]|0)>>>0<=b>>>0?(k[a+280>>2]|0)>>>0>b>>>0:0){b=m[a+248>>1]|0;break}b=qc[k[8744+48>>2]&127](b)|0}while(0);a=k[a+520>>2]|0;k[a>>2]=(k[a>>2]|0)+b;return}function Wk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=k[a+(b<<2)>>2]|0;a:do if(!a)a=0;else while(1){b=k[a+24>>2]|0;if((Kc(b,c,d)|0)==0?(i[b+d>>0]|0)==0:0)break a;a=k[a+28>>2]|0;if(!a){a=0;break}}while(0);return a|0}function Xk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=a+12|0;e=k[d>>2]|0;f=e+c|0;if((f|0)<(k[a+16>>2]|0)){k[d>>2]=f;pw((k[a+8>>2]|0)+e|0,b|0,c|0)|0}else Jo(a,b,c);return}function Yk(a){a=a|0;var b=0,c=0;c=a+4|0;b=k[c>>2]|0;if((k[a>>2]|0)>(b|0)){k[c>>2]=b+1;c=_g(k[(k[a+8>>2]|0)+(b<<2)>>2]|0)|0;b=L}else{b=0;c=0}L=b;return c|0}function Zk(a){a=a|0;var b=0,c=0;b=a+4|0;c=k[b>>2]|0;if((k[a>>2]|0)>(c|0)){k[b>>2]=c+1;b=Xg(k[(k[a+8>>2]|0)+(c<<2)>>2]|0,1)|0}else b=0;return b|0}function _k(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;e=a+12|0;g=k[e>>2]|0;g=ow(g|0,((g|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;j=L;f=k[a+16>>2]|0;h=((f|0)<0)<<31>>31;if((j|0)<(h|0)|(j|0)==(h|0)&g>>>0<f>>>0){if((b|0)>0)d=4}else{b=Ko(a,b)|0;if((b|0)>=1)d=4}if((d|0)==4){a=a+8|0;do{b=b+-1|0;d=k[e>>2]|0;k[e>>2]=d+1;i[(k[a>>2]|0)+d>>0]=c}while((b|0)>0)}return}function $k(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=r;r=r+112|0;if((r|0)>=(s|0))ka();g=d+28|0;f=d;e=k[a+88>>2]|0;k[f+4>>2]=g;k[f+8>>2]=g;k[f+12>>2]=0;k[f+16>>2]=70;k[f+20>>2]=e;i[f+24>>0]=1;e=f+25|0;i[e>>0]=0;k[f>>2]=a;xg(f,1,b,c);c=yg(f)|0;if((i[e>>0]|0)==1)i[a+65>>0]=1;r=d;return c|0}function al(a){a=a|0;return qc[k[8744+48>>2]&127](a)|0}function bl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+80|0;if((r|0)>=(s|0))ka();h=i+40|0;e=i;if((b|0)!=0?(d=k[b+20>>2]|0,(d|0)!=0):0){k[h+0>>2]=0;k[h+4>>2]=0;k[h+8>>2]=0;k[h+12>>2]=0;k[h+16>>2]=0;k[h+20>>2]=0;k[h+24>>2]=0;f=e+0|0;g=f+40|0;do{k[f>>2]=0;f=f+4|0}while((f|0)<(g|0));j[e+8>>1]=1;c=a+32|0;k[e+32>>2]=k[c>>2];k[h>>2]=e;k[h+8>>2]=a;k[h+4>>2]=b;hc[d&31](h);if((k[a+24>>2]|0)>0)rg(k[c>>2]|0,k[a+20>>2]|0);f=a+0|0;c=e+0|0;g=f+40|0;do{k[f>>2]=k[c>>2];f=f+4|0;c=c+4|0}while((f|0)<(g|0));c=k[h+20>>2]|0}else c=0;r=i;return c|0}function cl(a){a=a|0;var b=0,c=0,d=0;b=k[a>>2]|0;if(b){c=a+4|0;do{d=b;b=k[b>>2]|0;rg(k[c>>2]|0,d)}while((b|0)!=0)}k[a>>2]=0;j[a+24>>1]=0;k[a+8>>2]=0;k[a+12>>2]=0;k[a+20>>2]=0;j[a+26>>1]=1;return}function dl(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();f=g;e=g+4|0;b=k[a>>2]|0;c=b+16|0;do if((k[(k[c>>2]|0)+20>>2]|0)==0?(i[a+450>>0]|0)==0:0){d=Em(k[b>>2]|0,0,b,e,0,542)|0;if(d){yh(a,25496,f);k[a+12>>2]=d;b=1;break}d=k[e>>2]|0;k[(k[c>>2]|0)+20>>2]=d;if((Cg(d,k[b+72>>2]|0,-1,0)|0)==7){i[b+65>>0]=1;b=1}else b=0}else b=0;while(0);r=g;return b|0}function el(a){a=a|0;var b=0;do if(a)if((k[3157]|0)>>>0<=a>>>0&(k[3158]|0)>>>0>a>>>0){k[2167]=(k[2167]|0)+-1;k[a>>2]=k[3160];k[3160]=a;a=(k[3161]|0)+1|0;k[3161]=a;k[3162]=(a|0)<(k[3156]|0)&1;break}else{b=qc[k[8744+48>>2]&127](a)|0;k[2168]=(k[2168]|0)-b;$c(a);break}while(0);return}function fl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0;o=r;r=r+16|0;if((r|0)>=(s|0))ka();l=o;h=k[b>>2]|0;if((i[a+15>>0]|0)!=0?(k[a+24>>2]|0)!=0:0)n=12;else n=3;do if((n|0)==3){g=a+204|0;if(((h|0)!=0?(k[(k[g>>2]|0)+12>>2]|0)==0:0)?(m=a+152|0,(h|0)!=(k[m>>2]|0)):0){p=l;k[p>>2]=0;k[p+4>>2]=0;if(((i[a+16>>0]|0)!=0?(e=k[a+60>>2]|0,d=k[e>>2]|0,(d|0)!=0):0)?(f=wc[k[d+24>>2]&127](e,l)|0,(f|0)!=0):0){d=0;c=f}else{d=Lo(h)|0;if(d){Cn(a);e=Mo(k[g>>2]|0,h)|0;if(!e){n=a+200|0;el(k[n>>2]|0);k[n>>2]=d;n=l;l=k[n>>2]|0;n=k[n+4>>2]|0;g=ow(h|0,0,-1,-1)|0;n=ow(g|0,L|0,l|0,n|0)|0;n=vw(n|0,L|0,h|0,0)|0;k[a+24>>2]=n;k[m>>2]=h;n=12;break}else c=e}else{d=0;c=7}}el(d);k[b>>2]=k[m>>2]}else n=12}while(0);if((n|0)==12){k[b>>2]=k[a+152>>2];d=a+142|0;if((c|0)<0)c=j[d>>1]|0;j[d>>1]=c;c=0}r=o;return c|0}function gl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=k[a+4>>2]|0;a:do if(i[a+9>>0]|0){if((k[e+76>>2]|0)!=(a|0)?(j[e+22>>1]&32)!=0:0){d=262;break}d=k[e+72>>2]|0;if(d){while(1){if(((k[d>>2]|0)!=(a|0)?(k[d+4>>2]|0)==(b|0):0)?(i[d+8>>0]|0)!=c<<24>>24:0)break;d=k[d+12>>2]|0;if(!d){d=0;break a}}if(c<<24>>24==2){d=e+22|0;j[d>>1]=m[d>>1]|64;d=262}else d=262}else d=0}else d=0;while(0);return d|0}function hl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,j=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=r;r=r+64|0;if((r|0)>=(s|0))ka();E=F;B=F+28|0;A=F+24|0;h=F+20|0;p=F+48|0;t=F+16|0;u=F+12|0;y=F+8|0;z=F+32|0;if(!((i[a+15>>0]|0)!=0?(b=k[a+40>>2]|0,(b|0)!=0):0))D=3;do if((D|0)==3){C=a+208|0;c=k[C>>2]|0;a:do if(!c){x=a+16|0;do if(!(i[x>>0]|0)){e=a+176|0;d=a+180|0;while(1){b=kl(a,1)|0;if(!b)break;else if((b|0)!=5)break a;if(!(qc[k[e>>2]&127](k[d>>2]|0)|0)){b=5;break a}}q=a+17|0;if((l[q>>0]|0)<2){c=k[a>>2]|0;k[E>>2]=1;f=a+64|0;g=(k[k[f>>2]>>2]|0)!=0;if(g){e=1;b=0}else{b=uc[k[c+32>>2]&31](c,k[a+172>>2]|0,0,E)|0;e=(k[E>>2]|0)!=0}b:do if((b|0)==0&e){k[B>>2]=0;d=a+60|0;b=k[d>>2]|0;b=wc[k[(k[b>>2]|0)+36>>2]&127](b,B)|0;if(!(k[B>>2]|b)){b=No(a,A)|0;if(!b){if((k[A>>2]|0)!=0|g){do if(!g){k[h>>2]=2049;b=yc[k[c+24>>2]&31](c,k[a+172>>2]|0,k[f>>2]|0,2049,h)|0;if(!b)break;else if((b|0)!=14){e=0;break b}e=1;b=0;break b}while(0);i[p>>0]=0;b=k[f>>2]|0;b=yc[k[(k[b>>2]|0)+8>>2]&31](b,p,1,0,0)|0;b=(b|0)==522?0:b;if(!g?(n=k[f>>2]|0,o=k[n>>2]|0,(o|0)!=0):0){qc[k[o+4>>2]&127](n)|0;k[n>>2]=0}e=(i[p>>0]|0)!=0&1;break}e=k[3164]|0;if(e)sc[e&3]();do if(((kl(a,2)|0)==0?(fc[k[c+28>>2]&63](c,k[a+172>>2]|0,0)|0,(i[a+4>>0]|0)==0):0)?(j=k[d>>2]|0,m=k[j>>2]|0,(m|0)!=0):0){if(!(i[a+13>>0]|0))wc[k[m+32>>2]&127](j,1)|0;if((i[q>>0]|0)==5)break;i[q>>0]=1}while(0);e=k[3166]|0;if(!e){e=0;b=0}else{sc[e&3]();e=0;b=0}}else e=0}else e=0}else e=0;while(0);if(b)break a;if(e)D=35}else D=35;do if((D|0)==35){if(i[a+14>>0]|0){b=776;break a}b=kl(a,4)|0;if(b)break a;c=a+64|0;if(!(k[k[c>>2]>>2]|0)){e=k[a>>2]|0;d=a+172|0;b=uc[k[e+32>>2]&31](e,k[d>>2]|0,0,t)|0;if((b|0)==0&(k[t>>2]|0)!=0){k[u>>2]=0;b=yc[k[e+24>>2]&31](e,k[d>>2]|0,k[c>>2]|0,2050,u)|0;if(!b)if(k[u>>2]&1){k[E>>2]=46645;k[E+4>>2]=10788;gd(14,14848,E);e=k[c>>2]|0;d=k[e>>2]|0;if(!d)b=14;else{qc[k[d+4>>2]&127](e)|0;k[e>>2]=0;b=14}}else b=0}}else b=0;if(!(k[k[c>>2]>>2]|0))if((i[a+4>>0]|0)==0?(v=k[a+60>>2]|0,w=k[v>>2]|0,(w|0)!=0):0){if(!(i[a+13>>0]|0))wc[k[w+32>>2]&127](v,1)|0;if((i[q>>0]|0)!=5){i[q>>0]=1;D=52}else D=52}else D=52;else{b=Oo(a)|0;if(!b){b=Po(a,1)|0;i[x>>0]=0;D=52}}if((D|0)==52)if(!b)break;B=b&255;if(!((B|0)==10|(B|0)==13))break a;k[a+40>>2]=b;i[x>>0]=6;break a}while(0);e=a+12|0;if((i[e>>0]|0)==0?(i[a+23>>0]|0)!=0:0){k[y>>2]=0;b=No(a,y)|0;if(b)break a;if(k[y>>2]|0){b=k[a+60>>2]|0;b=yc[k[(k[b>>2]|0)+8>>2]&31](b,z,16,24,0)|0;if(!((b|0)==0|(b|0)==522))break a}else{d=z+0|0;c=d+16|0;do{i[d>>0]=0;d=d+1|0}while((d|0)<(c|0))}if(cw(a+104|0,z,16)|0)Cn(a)}if(!(i[e>>0]|0)){b=No(a,A)|0;if(!b){d=k[a>>2]|0;c=k[a+212>>2]|0;if(!(k[A>>2]|0)){b=fc[k[d+28>>2]&63](d,c,0)|0;k[B>>2]=0;if((b|0)!=5898)D=68}else{b=uc[k[d+32>>2]&31](d,c,0,B)|0;D=68}if((D|0)==68){if(b)break;if(k[B>>2]|0){b=jl(a,0)|0;break}}b=a+5|0;if((i[b>>0]|0)==5){i[b>>0]=0;b=0}else b=0}}else b=0}else b=0;while(0);c=k[C>>2]|0;if(!c)D=78;else D=74}else D=74;while(0);if((D|0)==74){k[E>>2]=0;Qo(c);c=k[C>>2]|0;d=0;do{d=d+1|0;b=Ro(c,E,0,d)|0}while((b|0)==-1);if(!(k[E>>2]|b))D=78;else{Cn(a);D=78}}if((D|0)==78){if((i[a+16>>0]|0)==0&(b|0)==0)b=No(a,a+24|0)|0;if(!b){i[a+16>>0]=1;b=0;break}}So(a)}while(0);r=F;return b|0}function il(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=r;r=r+16|0;if((r|0)>=(s|0))ka();e=f;d=Eg(k[a>>2]|0,b,e,d)|0;if(!d){e=k[e>>2]|0;d=k[e+8>>2]|0;k[d+56>>2]=k[e+4>>2];k[d+68>>2]=e;k[d+52>>2]=a;k[d+72>>2]=b;i[d+6>>0]=(b|0)==1?100:0;k[c>>2]=d;d=0}r=f;return d|0}function jl(a,b){a=a|0;b=b|0;var c=0,d=0;do if((i[a+12>>0]|0)==0?(k[a+208>>2]|0)==0:0){b=k[k[a+60>>2]>>2]|0;if(!(i[a+4>>0]|0)){if((k[b>>2]|0)<=1){b=14;break}if(!(k[b+52>>2]|0)){b=14;break}}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}b=un(a)|0;if(!b){i[a+5>>0]=5;i[a+16>>0]=0;b=0}}else d=10;while(0);if((d|0)==10){k[b>>2]=1;b=0}return b|0}function kl(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+17|0;c=i[d>>0]|0;do if((c&255|0)<(b|0)|c<<24>>24==5){if(!(i[a+13>>0]|0)){c=k[a+60>>2]|0;c=wc[k[(k[c>>2]|0)+28>>2]&127](c,b)|0;if(c)break;c=i[d>>0]|0}if(c<<24>>24!=5|(b|0)==4){i[d>>0]=b;c=0}else c=0}else c=0;while(0);return c|0}function ll(a){a=a|0;var b=0,c=0,d=0;b=k[a+4>>2]|0;a=k[b+444>>2]|0;if((a|0)!=0?(d=b+452|0,c=k[d>>2]|0,(c|0)>=0):0){a=wc[a&127](k[b+448>>2]|0,c)|0;if(!a)b=-1;else b=(k[d>>2]|0)+1|0;k[d>>2]=b}else a=0;return a|0}function ml(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;n=a+96|0;c=k[n>>2]|0;a:do if((c|0)<(b|0)?(i[a+6>>0]|0)!=0:0){d=a+92|0;q=wg(k[d>>2]|0,b*48|0,0)|0;if(!q)c=7;else{kw(q+(c*48|0)|0,0,(b-c|0)*48|0)|0;k[d>>2]=q;g=a+24|0;h=a+64|0;j=a+148|0;l=a+52|0;m=a+208|0;f=a+72|0;while(1){e=k[g>>2]|0;a=q+(c*48|0)|0;k[q+(c*48|0)+20>>2]=e;if((k[k[h>>2]>>2]|0)!=0?(p=f,o=k[p>>2]|0,p=k[p+4>>2]|0,(p|0)>0|(p|0)==0&o>>>0>0):0){k[a>>2]=o;k[a+4>>2]=p}else{k[a>>2]=k[j>>2];k[a+4>>2]=0}k[q+(c*48|0)+24>>2]=k[l>>2];d=vg(512,0)|0;if(!d)break;kw(d|0,0,512)|0;k[d>>2]=e;k[q+(c*48|0)+16>>2]=d;d=k[m>>2]|0;if(d){k[q+(c*48|0)+28>>2]=k[d+68>>2];k[q+(c*48|0)+32>>2]=k[d+76>>2];k[q+(c*48|0)+36>>2]=k[d+80>>2];k[q+(c*48|0)+40>>2]=k[d+104>>2]}c=c+1|0;k[n>>2]=c;if((c|0)>=(b|0)){c=0;break a}}k[q+(c*48|0)+16>>2]=d;c=7}}else c=0;while(0);return c|0}function nl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;do if(c){d=k[c+4>>2]|0;if(!(k[d>>2]|0)){d=To(a,b,c)|0;break}c=d+26|0;e=j[c>>1]|0;if(!(e<<16>>16)){f=a+12|0;k[f>>2]=(k[f>>2]|0)+1}j[c>>1]=e+1<<16>>16;if((b|0)==1)k[a+44>>2]=d}else d=0;while(0);return d|0}function ol(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=a+96|0;c=k[g>>2]|0;if((c|0)>0){f=a+92|0;e=0;a=0;do{d=k[f>>2]|0;if((k[d+(e*48|0)+20>>2]|0)>>>0>=b>>>0){a=gi(k[d+(e*48|0)+16>>2]|0,b)|0|a;c=k[g>>2]|0}e=e+1|0}while((e|0)<(c|0))}else a=0;return a|0}function pl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,l=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0,w=0,x=0,y=0;y=r;r=r+32|0;if((r|0)>=(s|0))ka();w=y;q=y+16|0;t=y+12|0;v=y+8|0;o=k[a+68>>2]|0;a:do if((o|0)!=0?(j[a+40>>1]|0)!=0:0){p=b*383&8191;u=(o+33|0)>>>12;b:while(1){d=Uo(a,u,q,t,v)|0;if(d)break a;d=(k[q>>2]|0)+(p<<1)|0;if(!(j[d>>1]|0))d=0;else{i=k[v>>2]|0;l=k[q>>2]|0;n=k[t>>2]|0;f=d;g=p;d=0;h=8192;while(1){e=(m[f>>1]|0)+i|0;if(e>>>0<=o>>>0)d=(k[n+(m[f>>1]<<2)>>2]|0)==(b|0)?e:d;if(!h){x=11;break b}g=g+1&8191;f=l+(g<<1)|0;if(!(j[f>>1]|0))break;else h=h+-1|0}}if((u|0)>0&(d|0)==0)u=u+-1|0;else{x=14;break}}if((x|0)==11){k[w>>2]=51262;k[w+4>>2]=10788;gd(11,13600,w);d=11;break}else if((x|0)==14){k[c>>2]=d;d=0;break}}else x=3;while(0);if((x|0)==3){k[c>>2]=0;d=0}r=y;return d|0}function ql(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=k[a+16>>2]|0;f=k[a+20>>2]|0;c=k[e+152>>2]|0;a=a+4|0;d=k[a>>2]|0;if(!b){b=xw(f+-1|0,0,c|0,((c|0)<0)<<31>>31|0)|0;g=k[e+60>>2]|0;b=yc[k[(k[g>>2]|0)+8>>2]&31](g,d,c,b,L)|0;b=(b|0)==522?0:b}else{h=k[e+208>>2]|0;g=m[h+66>>1]|0;g=g<<16&65536|g&65024;b=xw(g|24|0,0,b+-1|0,0)|0;b=ow(b|0,L|0,56,0)|0;h=k[h+8>>2]|0;b=yc[k[(k[h>>2]|0)+8>>2]&31](h,d,(g|0)<(c|0)?g:c,b,L)|0}do if((f|0)==1)if(!b){d=e+104|0;c=(k[a>>2]|0)+24|0;a=d+16|0;do{i[d>>0]=i[c>>0]|0;d=d+1|0;c=c+1|0}while((d|0)<(a|0));break}else{d=e+104|0;a=d+16|0;do{i[d>>0]=255;d=d+1|0}while((d|0)<(a|0));break}while(0);return b|0}function rl(a){a=a|0;var b=0,c=0;if(j[a+24>>1]&2)Vo(a,1);b=k[a+28>>2]|0;c=b+12|0;k[c>>2]=(k[c>>2]|0)+-1;if((k[a+20>>2]|0)==1)k[b+44>>2]=0;rc[k[8744+136>>2]&63](k[b+40>>2]|0,k[a>>2]|0,1);return}function sl(a){a=a|0;var b=0;b=i[a+16>>0]|0;do if(!(b<<24>>24==0|b<<24>>24==6)){if((b&255)<=1){if(i[a+4>>0]|0)break;Hl(a,0,0)|0;break}b=k[3164]|0;if(b)sc[b&3]();Ml(a)|0;b=k[3166]|0;if(b)sc[b&3]()}while(0);So(a);return}function tl(a){a=a|0;var b=0,c=0;c=a+26|0;b=(j[c>>1]|0)+-1<<16>>16;j[c>>1]=b;do if(!(b<<16>>16)){b=k[a+28>>2]|0;c=b+12|0;k[c>>2]=(k[c>>2]|0)+-1;if(j[a+24>>1]&2){if(!(k[a+36>>2]|0))break;Vo(a,3);break}if(i[b+28>>0]|0){if((k[a+20>>2]|0)==1)k[b+44>>2]=0;rc[k[8744+136>>2]&63](k[b+40>>2]|0,k[a>>2]|0,0)}}while(0);return}function ul(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=k[a+56>>2]|0;g=k[a+52>>2]|0;c=l[a+6>>0]|0;d=f+c|0;e=g+36|0;if(j[g+22>>1]&4)kw(d|0,0,(k[e>>2]|0)-c|0)|0;i[d>>0]=b;d=c+(b>>>1&4^12)|0;h=f+(c+1)|0;i[h>>0]=0;i[h+1>>0]=0;i[h+2>>0]=0;i[h+3>>0]=0;i[f+(c+7)>>0]=0;i[f+(c+5)>>0]=(k[e>>2]|0)>>>8;i[f+(c+6)>>0]=k[e>>2];j[a+16>>1]=(k[e>>2]|0)-d;Wo(a,b)|0;j[a+14>>1]=d;k[a+60>>2]=f+(k[e>>2]|0);k[a+64>>2]=f+(d&65535);i[a+1>>0]=0;j[a+20>>1]=(k[g+32>>2]|0)+65535;j[a+18>>1]=0;i[a>>0]=1;return}function vl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=r;r=r+32|0;if((r|0)>=(s|0))ka();e=f+16|0;d=f;b=a+8|0;k[e+0>>2]=k[b+0>>2];k[e+4>>2]=k[b+4>>2];k[e+8>>2]=k[b+8>>2];k[e+12>>2]=k[b+12>>2];c=a+40|0;k[d+0>>2]=k[c+0>>2];k[d+4>>2]=k[c+4>>2];k[d+8>>2]=k[c+8>>2];k[d+12>>2]=k[c+12>>2];k[c+0>>2]=0;k[c+4>>2]=0;k[c+8>>2]=0;k[c+12>>2]=0;Tl(a+24|0);c=k[d+8>>2]|0;if(c)do{og(0,k[c+8>>2]|0);c=k[c>>2]|0}while((c|0)!=0);Tl(d);k[b+0>>2]=0;k[b+4>>2]=0;k[b+8>>2]=0;k[b+12>>2]=0;b=k[e+8>>2]|0;if(b)do{pg(0,k[b+8>>2]|0);b=k[b>>2]|0}while((b|0)!=0);Tl(e);Tl(a+56|0);k[a+72>>2]=0;b=a+78|0;c=j[b>>1]|0;if(c&1){d=a+4|0;k[d>>2]=(k[d>>2]|0)+1;j[b>>1]=c&65534}r=f;return}function wl(a){a=a|0;var b=0,c=0;c=a+332|0;b=k[c>>2]|0;k[c>>2]=0;if(b){a=k[a+4>>2]|0;if(a)do{c=a+88|0;j[c>>1]=j[c>>1]|8;a=k[a+52>>2]|0}while((a|0)!=0);do{a=b;b=k[b+24>>2]|0;Fn(a)}while((b|0)!=0)}return}function xl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=a+20|0;b=k[f>>2]|0;i=a+16|0;c=k[i>>2]|0;if((b|0)>2){e=2;d=2;do{b=c+(e<<4)|0;if(!(k[c+(e<<4)+4>>2]|0)){rg(a,k[b>>2]|0);k[b>>2]=0}else{if((d|0)<(e|0)){c=c+(d<<4)|0;k[c+0>>2]=k[b+0>>2];k[c+4>>2]=k[b+4>>2];k[c+8>>2]=k[b+8>>2];k[c+12>>2]=k[b+12>>2]}d=d+1|0}e=e+1|0;b=k[f>>2]|0;c=k[i>>2]|0}while((e|0)<(b|0))}else d=2;kw(c+(d<<4)|0,0,b-d<<4|0)|0;k[f>>2]=d;if((d|0)<3?(g=k[i>>2]|0,h=a+456|0,(g|0)!=(h|0)):0){k[h+0>>2]=k[g+0>>2];k[h+4>>2]=k[g+4>>2];k[h+8>>2]=k[g+8>>2];k[h+12>>2]=k[g+12>>2];k[h+16>>2]=k[g+16>>2];k[h+20>>2]=k[g+20>>2];k[h+24>>2]=k[g+24>>2];k[h+28>>2]=k[g+28>>2];rg(a,g);k[i>>2]=h}return}function yl(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();q=v;n=k[a+16>>2]|0;p=n+152|0;d=((k[n+148>>2]|0)>>>0)/((k[p>>2]|0)>>>0)|0;u=n+20|0;i[u>>0]=l[u>>0]|0|4;h=a+20|0;e=k[h>>2]|0;a=e+-1&0-d;t=a+1|0;c=~a;b=k[n+24>>2]|0;if(e>>>0<=b>>>0){if((a+d|0)>>>0>b>>>0)d=b+1+c|0}else d=e+1+c|0;a:do if((d|0)>0){g=n+56|0;o=n+204|0;f=0;a=0;while(1){c=f+t|0;if((c|0)!=(e|0)?(ii(k[g>>2]|0,c)|0)!=0:0){e=fc[k[8744+132>>2]&63](k[(k[o>>2]|0)+40>>2]|0,c,0)|0;c=nl(k[o>>2]|0,c,e)|0;k[q>>2]=c;if(!c)b=0;else{a=(j[c+24>>1]&4)==0?a:1;Gg(c);b=0}}else if((c|0)==(((k[2514]|0)/(k[p>>2]|0)|0)+1|0))b=0;else{b=Eg(n,c,q,0)|0;if(b)break a;e=k[q>>2]|0;b=zl(e)|0;a=(j[e+24>>1]&4)==0?a:1;Gg(e)}f=f+1|0;c=(b|0)==0;if(!((f|0)<(d|0)&c))break;e=k[h>>2]|0}if(c&(a|0)!=0){a=0;do{n=a+t|0;b=fc[k[8744+132>>2]&63](k[(k[o>>2]|0)+40>>2]|0,n,0)|0;b=nl(k[o>>2]|0,n,b)|0;if(b){n=b+24|0;j[n>>1]=m[n>>1]|0|4;Gg(b)}a=a+1|0}while((a|0)!=(d|0));b=0}}else b=0;while(0);i[u>>0]=(l[u>>0]|0)&251;r=v;return b|0}function zl(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;B=r;r=r+16|0;if((r|0)>=(s|0))ka();z=B+4|0;o=B;A=k[a+16>>2]|0;u=A+16|0;a:do if((i[u>>0]|0)==2){n=k[A>>2]|0;d=k[A+40>>2]|0;if(!d){do if((k[A+208>>2]|0)==0?(g=A+5|0,(i[g>>0]|0)!=2):0){h=A+24|0;d=k[h>>2]|0;c=vg(512,0)|0;if(!c){k[A+56>>2]=0;b=7;break a}kw(c|0,0,512)|0;k[c>>2]=d;p=A+56|0;k[p>>2]=c;e=A+64|0;f=k[e>>2]|0;do if(!(k[f>>2]|0)){if((i[g>>0]|0)==4){d=f+0|0;c=d+40|0;do{k[d>>2]=0;d=d+4|0}while((d|0)<(c|0));k[f>>2]=14696;t=17;break}c=i[A+12>>0]|0;k[o>>2]=0;if((c<<24>>24==0?(k[h>>2]|0)!=0:0)?(b=k[A+60>>2]|0,b=fc[k[(k[b>>2]|0)+40>>2]&63](b,20,o)|0,(b|0)!=12):0){d=(b|0)==0;if(d&(k[o>>2]|0)!=0){b=1032;break}if(d)t=15}else t=15;if((t|0)==15)b=yc[k[n+24>>2]&31](n,k[A+172>>2]|0,k[e>>2]|0,c<<24>>24!=0?4110:2054,0)|0;if(!b)t=17}else t=17;while(0);if((t|0)==17){k[A+44>>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;b=Xo(A)|0;if(!b)break}ji(k[p>>2]|0);k[p>>2]=0;if(!b){t=20;break a}else break a}while(0);i[u>>0]=3;t=20}else b=d}else t=20;while(0);b:do if((t|0)==20){Yo(a);v=A+56|0;w=a+20|0;f=k[w>>2]|0;do if(!(ii(k[v>>2]|0,f)|0))if(!(k[A+208>>2]|0)){if(f>>>0<=(k[A+28>>2]|0)>>>0?(y=A+64|0,x=k[y>>2]|0,(k[x>>2]|0)!=0):0){t=A+72|0;g=t;p=k[g>>2]|0;g=k[g+4>>2]|0;q=k[a+4>>2]|0;d=k[A+48>>2]|0;u=A+152|0;e=(k[u>>2]|0)+-200|0;if((e|0)>0)do{d=(l[q+e>>0]|0)+d|0;e=e+-200|0}while((e|0)>0);o=a+24|0;j[o>>1]=m[o>>1]|4;i[z>>0]=f>>>24;o=z+1|0;i[o>>0]=f>>>16;n=z+2|0;i[n>>0]=f>>>8;h=z+3|0;i[h>>0]=f;b=yc[k[(k[x>>2]|0)+12>>2]&31](x,z,4,p,g)|0;if(b)break b;f=k[y>>2]|0;b=k[u>>2]|0;c=ow(p|0,g|0,4,0)|0;e=L;b=yc[k[(k[f>>2]|0)+12>>2]&31](f,q,b,c,e)|0;if(b)break b;p=k[y>>2]|0;b=k[u>>2]|0;b=ow(c|0,e|0,b|0,((b|0)<0)<<31>>31|0)|0;i[z>>0]=d>>>24;i[o>>0]=d>>>16;i[n>>0]=d>>>8;i[h>>0]=d;b=yc[k[(k[p>>2]|0)+12>>2]&31](p,z,4,b,L)|0;if(b)break b;b=(k[u>>2]|0)+8|0;p=t;p=ow(b|0,((b|0)<0)<<31>>31|0,k[p>>2]|0,k[p+4>>2]|0)|0;b=t;k[b>>2]=p;k[b+4>>2]=L;b=A+44|0;k[b>>2]=(k[b>>2]|0)+1;b=gi(k[v>>2]|0,k[w>>2]|0)|0;b=ol(A,k[w>>2]|0)|0|b;if(!b){t=34;break}else break b}if((i[u>>0]|0)!=4){t=a+24|0;j[t>>1]=m[t>>1]|4;t=34}else t=34}else t=34;else if((k[A+96>>2]|0)!=0?(Zo(a)|0)!=0:0)t=34;else b=0;while(0);if((t|0)==34)if((k[A+96>>2]|0)>0?(Zo(a)|0)!=0:0)b=_o(a)|0;else b=0;d=A+24|0;c=k[w>>2]|0;if((k[d>>2]|0)>>>0<c>>>0)k[d>>2]=c}while(0);r=B;return b|0}function Al(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=r;r=r+128|0;if((r|0)>=(s|0))ka();h=i;d=k[a>>2]|0;c=(d|0)==0;if(!c){b=d;do{a=b;b=k[b+32>>2]|0;k[a+12>>2]=b}while((b|0)!=0);b=h+0|0;a=b+128|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(a|0));if(c)a=0;else{f=h+124|0;do{b=d+12|0;a=d;d=k[b>>2]|0;k[b>>2]=0;b=0;do{e=h+(b<<2)|0;c=k[e>>2]|0;if(!c){c=e;g=8;break}a=$o(c,a)|0;k[e>>2]=0;b=b+1|0}while((b|0)<31);if((g|0)==8){g=0;k[c>>2]=a}if((b|0)==31){a=$o(k[f>>2]|0,a)|0;k[f>>2]=a}}while((d|0)!=0);a=k[h>>2]|0}}else{b=h+0|0;a=b+128|0;do{k[b>>2]=0;b=b+4|0}while((b|0)<(a|0));a=0}b=1;do{a=$o(a,k[h+(b<<2)>>2]|0)|0;b=b+1|0}while((b|0)!=32);r=i;return a|0}function Bl(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,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=r;r=r+80|0;if((r|0)>=(s|0))ka();n=I+32|0;o=I+28|0;z=I;q=I+40|0;G=I+24|0;k[G>>2]=b;w=(d|0)==0;if(!w){k[G>>2]=b;if(!b){b=0;h=0}else{h=0;g=G;do{x=(k[b+20>>2]|0)>>>0>c>>>0;D=b+12|0;h=h+(x&1^1)|0;g=x?g:D;b=k[D>>2]|0;k[g>>2]=b}while((b|0)!=0);b=k[G>>2]|0}}else h=1;D=a+192|0;k[D>>2]=(k[D>>2]|0)+h;if((k[b+20>>2]|0)==1)Dl(b);E=k[a+208>>2]|0;F=k[a+152>>2]|0;p=i[a+10>>0]|0;x=p&255;f=E+40|0;if(!(j[f>>1]|0)){do if(k[(k[k[E+32>>2]>>2]|0)+96>>2]|0){hd(4,n);g=E+43|0;if(!(i[g>>0]|0)){h=k[E+4>>2]|0;h=uc[k[(k[h>>2]|0)+56>>2]&31](h,4,4,10)|0;if((h|0)==5){h=g;y=14;break}else if(h)break}ap(E,k[n>>2]|0);if(!(i[g>>0]|0)){h=k[E+4>>2]|0;uc[k[(k[h>>2]|0)+56>>2]&31](h,4,4,9)|0;h=g;y=14}else{h=g;y=14}}else{h=E+43|0;y=14}while(0);if((y|0)==14){if(!(i[h>>0]|0)){D=k[E+4>>2]|0;uc[k[(k[D>>2]|0)+56>>2]&31](D,3,1,5)|0}j[f>>1]=-1;g=0;do{g=g+1|0;h=Ro(E,o,1,g)|0}while((h|0)==-1)}if(h)e=h;else y=19}else y=19;a:do if((y|0)==19){D=E+68|0;o=k[D>>2]|0;if(!o){i[q>>0]=55;i[q+1>>0]=127;i[q+2>>0]=6;i[q+3>>0]=-126;i[q+4>>0]=0;i[q+5>>0]=45;i[q+6>>0]=-30;i[q+7>>0]=24;i[q+8>>0]=F>>>24;i[q+9>>0]=F>>>16;i[q+10>>0]=F>>>8;i[q+11>>0]=F;v=k[E+104>>2]|0;i[q+12>>0]=v>>>24;i[q+13>>0]=v>>>16;i[q+14>>0]=v>>>8;i[q+15>>0]=v;if(!v)hd(8,E+84|0);f=E+84|0;h=f;h=l[h>>0]|l[h+1>>0]<<8|l[h+2>>0]<<16|l[h+3>>0]<<24;f=f+4|0;f=l[f>>0]|l[f+1>>0]<<8|l[f+2>>0]<<16|l[f+3>>0]<<24;n=q+16|0;g=n;i[g>>0]=h;i[g+1>>0]=h>>8;i[g+2>>0]=h>>16;i[g+3>>0]=h>>24;n=n+4|0;i[n>>0]=f;i[n+1>>0]=f>>8;i[n+2>>0]=f>>16;i[n+3>>0]=f>>24;n=q+24|0;f=q;g=0;h=0;do{g=g+h+(k[f>>2]|0)|0;h=g+h+(k[f+4>>2]|0)|0;f=f+8|0}while(f>>>0<n>>>0);i[n>>0]=g>>>24;i[q+25>>0]=g>>>16;i[q+26>>0]=g>>>8;i[q+27>>0]=g;i[q+28>>0]=h>>>24;i[q+29>>0]=h>>>16;i[q+30>>0]=h>>>8;i[q+31>>0]=h;k[E+36>>2]=F;i[E+65>>0]=0;k[E+76>>2]=g;k[E+80>>2]=h;i[E+47>>0]=1;g=E+8|0;h=k[g>>2]|0;h=yc[k[(k[h>>2]|0)+12>>2]&31](h,q,32,0,0)|0;if(h){e=h;break}if((i[E+48>>0]|0)!=0&p<<24>>24!=0?(e=k[g>>2]|0,e=wc[k[(k[e>>2]|0)+20>>2]&127](e,x&19)|0,(e|0)!=0):0)break}else g=E+8|0;k[z>>2]=E;q=k[g>>2]|0;k[z+4>>2]=q;t=z+8|0;u=t;k[u>>2]=0;k[u+4>>2]=0;k[z+16>>2]=x;k[z+20>>2]=F;u=F+24|0;v=((u|0)<0)<<31>>31;h=xw(o|0,0,u|0,v|0)|0;h=ow(h|0,L|0,32,0)|0;e=L;if(!b){f=h;p=0}else{m=e;f=o;p=b;while(1){o=f+1|0;if(w)f=0;else f=(k[p+12>>2]|0)==0?c:0;e=bp(z,p,f,h,m)|0;if(e)break a;h=ow(h|0,m|0,u|0,v|0)|0;e=L;n=k[p+12>>2]|0;if(!n){f=h;break}else{m=e;f=o;p=n}}}w=(d|0)!=0;do if(!((x&32|0)==0|w^1)){if(!(i[E+49>>0]|0)){g=0;e=wc[k[(k[q>>2]|0)+20>>2]&127](q,x&19)|0;break}h=k[g>>2]|0;g=k[(k[h>>2]|0)+44>>2]|0;if(g){h=qc[g&127](h)|0;if((h|0)<32){g=512;h=0}else y=37}else{h=4096;y=37}if((y|0)==37){y=(h|0)>65536;g=y?65536:h;h=y?0:((h|0)<0)<<31>>31}y=ow(f|0,e|0,-1,-1)|0;y=ow(y|0,L|0,g|0,h|0)|0;n=L;m=ww(y|0,n|0,g|0,h|0)|0;m=iw(y|0,n|0,m|0,L|0)|0;n=L;y=t;k[y>>2]=m;k[y+4>>2]=n;if((e|0)<(n|0)|(e|0)==(n|0)&f>>>0<m>>>0){h=e;g=0;while(1){e=bp(z,p,c,f,h)|0;if(e)break a;f=ow(f|0,h|0,u|0,v|0)|0;h=L;g=g+1|0;if(!((h|0)<(n|0)|(h|0)==(n|0)&f>>>0<m>>>0)){e=0;break}}}else{g=0;e=0}}else{g=0;e=0}while(0);if((w?(A=E+47|0,(i[A>>0]|0)!=0):0)?(C=E+16|0,B=k[C>>2]|0,C=k[C+4>>2]|0,(C|0)>-1|(C|0)==-1&B>>>0>4294967295):0){d=xw(g+o|0,0,u|0,v|0)|0;d=ow(d|0,L|0,32,0)|0;z=L;y=(z|0)>(C|0)|(z|0)==(C|0)&d>>>0>B>>>0;cp(E,y?d:B,y?z:C);i[A>>0]=0}f=k[D>>2]|0;if((b|0)!=0&(e|0)==0)do{f=f+1|0;e=dp(E,f,k[b+20>>2]|0)|0;b=k[b+12>>2]|0}while((b|0)!=0&(e|0)==0);b=(e|0)==0;if(b&(g|0)>0){h=p+20|0;do{f=f+1|0;g=g+-1|0;e=dp(E,f,k[h>>2]|0)|0;b=(e|0)==0}while(b&(g|0)>0)}if(b){j[E+66>>1]=F&65280|F>>>16;k[D>>2]=f;if(w){D=E+60|0;k[D>>2]=(k[D>>2]|0)+1;k[E+72>>2]=c;ep(E);k[E+12>>2]=f}}else if(e)break;f=a+88|0;e=k[f>>2]|0;if((e|0)!=0?(H=k[G>>2]|0,(H|0)!=0):0){b=e;e=H;while(1){fp(b,k[e+20>>2]|0,k[e+4>>2]|0);e=k[e+12>>2]|0;if(!e){e=0;break a}b=k[f>>2]|0}}else e=0}while(0);r=I;return e|0}function Cl(a){a=a|0;var b=0,c=0;b=a+24|0;if(((j[b>>1]&2)!=0?(Vo(a,1),j[b>>1]=m[b>>1]&65529,(j[a+26>>1]|0)==0):0)?(c=k[a+28>>2]|0,(i[c+28>>0]|0)!=0):0){if((k[a+20>>2]|0)==1)k[c+44>>2]=0;rc[k[8744+136>>2]&63](k[c+40>>2]|0,k[a>>2]|0,0)}return}function Dl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=k[a+16>>2]|0;c=((l[c+105>>0]|0)<<16|(l[c+104>>0]|0)<<24|(l[c+106>>0]|0)<<8|(l[c+107>>0]|0))+1|0;a=a+4|0;b=k[a>>2]|0;f=c>>>24&255;i[b+24>>0]=f;e=c>>>16&255;i[b+25>>0]=e;d=c>>>8&255;i[b+26>>0]=d;c=c&255;i[b+27>>0]=c;b=k[a>>2]|0;i[b+92>>0]=f;i[b+93>>0]=e;i[b+94>>0]=d;i[b+95>>0]=c;a=k[a>>2]|0;i[a+96>>0]=0;i[a+97>>0]=45;i[a+98>>0]=-26;i[a+99>>0]=9;return}function El(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;v=r;r=r+32|0;if((r|0)>=(s|0))ka();h=v+16|0;q=v;e=gp(a)|0;a:do if(!e){do if(!(i[a+7>>0]|0)){u=a+64|0;if((k[k[u>>2]>>2]|0)!=0?(i[a+5>>0]|0)!=4:0){g=k[a+60>>2]|0;g=qc[k[(k[g>>2]|0)+48>>2]&127](g)|0;t=(g&512|0)==0;if(t){d=q;k[d>>2]=-117058087;k[d+4>>2]=-681336544;d=k[a+44>>2]|0;i[q+8>>0]=d>>>24;i[q+9>>0]=d>>>16;i[q+10>>0]=d>>>8;i[q+11>>0]=d;d=a+72|0;e=k[d>>2]|0;d=k[d+4>>2]|0;if((e|0)==0&(d|0)==0){e=0;d=0}else{d=ow(e|0,d|0,-1,-1)|0;e=k[a+148>>2]|0;d=vw(d|0,L|0,e|0,0)|0;d=ow(d|0,L|0,1,0)|0;e=xw(d|0,L|0,e|0,0)|0;d=L}f=k[u>>2]|0;f=yc[k[(k[f>>2]|0)+8>>2]&31](f,h,8,e,d)|0;if(!f){if(!(cw(h,14808,8)|0)){n=k[u>>2]|0;n=yc[k[(k[n>>2]|0)+12>>2]&31](n,14976,1,e,d)|0;o=12}}else{n=f;o=12}if((o|0)==12?!((n|0)==0|(n|0)==522):0){c=n;break a}d=g&1024;if((i[a+8>>0]|0)!=0&(d|0)==0?(p=k[u>>2]|0,p=wc[k[(k[p>>2]|0)+20>>2]&127](p,l[a+11>>0]|0)|0,(p|0)!=0):0){c=p;break a}p=k[u>>2]|0;e=a+80|0;e=yc[k[(k[p>>2]|0)+12>>2]&31](p,q,12,k[e>>2]|0,k[e+4>>2]|0)|0;if(e){c=e;break a}}else d=g&1024;if((d|0)==0?(q=k[u>>2]|0,c=i[a+11>>0]|0,c=wc[k[(k[q>>2]|0)+20>>2]&127](q,(c<<24>>24==3?16:0)|c&255)|0,(c|0)!=0):0)break a;o=a+72|0;p=k[o+4>>2]|0;q=a+80|0;k[q>>2]=k[o>>2];k[q+4>>2]=p;if((b|0)==0|t^1)break;k[a+44>>2]=0;c=Xo(a)|0;if(!c)break;else break a}o=a+72|0;p=k[o+4>>2]|0;q=a+80|0;k[q>>2]=k[o>>2];k[q+4>>2]=p}while(0);d=k[a+204>>2]|0;c=k[d>>2]|0;if(c)do{q=c+24|0;j[q>>1]=m[q>>1]&65531;c=k[c+32>>2]|0}while((c|0)!=0);k[d+8>>2]=k[d+4>>2];i[a+16>>0]=4;c=0}else c=e;while(0);r=v;return c|0}function Fl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,t=0,u=0,v=0;v=r;r=r+16|0;if((r|0)>=(s|0))ka();g=v;u=a+60|0;d=k[u>>2]|0;if(!((k[d>>2]|0)==0?(c=k[a>>2]|0,c=yc[k[c+24>>2]&31](c,0,d,k[a+144>>2]&556897|30,0)|0,(c|0)!=0):0)){d=a+36|0;c=k[d>>2]|0;e=a+24|0;f=k[e>>2]|0;do if(c>>>0<f>>>0){if((k[b+12>>2]|0)==0?(k[b+20>>2]|0)>>>0<=c>>>0:0)break;l=k[a+152>>2]|0;l=xw(f|0,0,l|0,((l|0)<0)<<31>>31|0)|0;m=g;k[m>>2]=l;k[m+4>>2]=L;m=k[u>>2]|0;fc[k[(k[m>>2]|0)+40>>2]&63](m,5,g)|0;k[d>>2]=k[e>>2]}while(0);if(!b)c=0;else{n=a+24|0;o=a+152|0;p=a+104|0;q=a+32|0;t=a+192|0;m=a+88|0;do{l=k[b+20>>2]|0;if(l>>>0<=(k[n>>2]|0)>>>0?(j[b+24>>1]&32)==0:0){g=k[o>>2]|0;a=xw(g|0,((g|0)<0)<<31>>31|0,l+-1|0,0)|0;f=L;e=(l|0)==1;if(e){Dl(b);g=k[o>>2]|0}h=b+4|0;d=k[h>>2]|0;c=k[u>>2]|0;c=yc[k[(k[c>>2]|0)+12>>2]&31](c,d,g,a,f)|0;if(e){a=p+0|0;g=d+24|0;f=a+16|0;do{i[a>>0]=i[g>>0]|0;a=a+1|0;g=g+1|0}while((a|0)<(f|0))}if(l>>>0>(k[q>>2]|0)>>>0)k[q>>2]=l;k[t>>2]=(k[t>>2]|0)+1;fp(k[m>>2]|0,l,k[h>>2]|0)}else c=0;b=k[b+12>>2]|0}while((c|0)==0&(b|0)!=0)}}r=v;return c|0}function Gl(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;o=r;r=r+16|0;if((r|0)>=(s|0))ka();j=o;l=a+60|0;d=k[l>>2]|0;e=k[d>>2]|0;do if((e|0)!=0?((i[a+16>>0]|0)+-1&255)>2:0){m=k[a+152>>2]|0;e=wc[k[e+24>>2]&127](d,j)|0;f=((m|0)<0)<<31>>31;g=xw(m|0,f|0,b|0,0)|0;h=L;if(!e){d=j;e=k[d>>2]|0;d=k[d+4>>2]|0;if((e|0)==(g|0)&(d|0)==(h|0))c=0;else{if(!((d|0)>(h|0)|(d|0)==(h|0)&e>>>0>g>>>0)){j=ow(e|0,d|0,m|0,f|0)|0;e=L;if(!((e|0)>(h|0)|(e|0)==(h|0)&j>>>0>g>>>0)){n=k[a+200>>2]|0;kw(n|0,0,m|0)|0;l=k[l>>2]|0;c=iw(g|0,h|0,m|0,f|0)|0;c=yc[k[(k[l>>2]|0)+12>>2]&31](l,n,m,c,L)|0;n=9}}else{c=k[l>>2]|0;c=fc[k[(k[c>>2]|0)+16>>2]&63](c,g,h)|0;n=9}if((n|0)==9?(c|0)!=0:0)break;k[a+32>>2]=b;c=0}}else c=e}else c=0;while(0);r=o;return c|0}
[all...]
H A Dsqlite-safe-heap.js3 "use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;var n=0;var o=0;var p=0;var q=0;var r=global.NaN,s=global.Infinity;var t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0.0;var C=0;var D=0;var E=0;var F=0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=global.Math.floor;var N=global.Math.abs;var O=global.Math.sqrt;var P=global.Math.pow;var Q=global.Math.cos;var R=global.Math.sin;var S=global.Math.tan;var T=global.Math.acos;var U=global.Math.asin;var V=global.Math.atan;var W=global.Math.atan2;var X=global.Math.exp;var Y=global.Math.log;var Z=global.Math.ceil;var _=global.Math.imul;var $=global.Math.min;var aa=global.Math.clz32;var ba=env.abort;var ca=env.assert;var da=env.SAFE_HEAP_LOAD;var ea=env.SAFE_HEAP_STORE;var fa=env.SAFE_FT_MASK;var ga=env.nullFunc_iiiiiiii;var ha=env.nullFunc_iiii;var ia=env.nullFunc_viiiiii;var ja=env.nullFunc_vi;var ka=env.nullFunc_viiiii;var la=env.nullFunc_dii;var ma=env.nullFunc_vid;var na=env.nullFunc_di;var oa=env.nullFunc_i;var pa=env.nullFunc_iiiiiiiiii;var qa=env.nullFunc_vii;var ra=env.nullFunc_iiiiiii;var sa=env.nullFunc_ii;var ta=env.nullFunc_viii;var ua=env.nullFunc_v;var va=env.nullFunc_iiiiiiiii;var wa=env.nullFunc_iiiii;var xa=env.nullFunc_viiii;var ya=env.nullFunc_iii;var za=env.nullFunc_iiid;var Aa=env.nullFunc_iiiiii;var Ba=env.invoke_iiiiiiii;var Ca=env.invoke_iiii;var Da=env.invoke_viiiiii;var Ea=env.invoke_vi;var Fa=env.invoke_viiiii;var Ga=env.invoke_dii;var Ha=env.invoke_vid;var Ia=env.invoke_di;var Ja=env.invoke_i;var Ka=env.invoke_iiiiiiiiii;var La=env.invoke_vii;var Ma=env.invoke_iiiiiii;var Na=env.invoke_ii;var Oa=env.invoke_viii;var Pa=env.invoke_v;var Qa=env.invoke_iiiiiiiii;var Ra=env.invoke_iiiii;var Sa=env.invoke_viiii;var Ta=env.invoke_iii;var Ua=env.invoke_iiid;var Va=env.invoke_iiiiii;var Wa=env._dlerror;var Xa=env._utimes;var Ya=env._getuid;var Za=env._send;var _a=env._dlsym;var $a=env._mknod;var ab=env._chown;var bb=env._lseek;var cb=env._emscripten_set_main_loop_timing;var db=env._access;var eb=env._fstat;var fb=env._chmod;var gb=env._rmdir;var hb=env.___assert_fail;var ib=env._usleep;var jb=env.___buildEnvironment;var kb=env._fflush;var lb=env._pwrite;var mb=env._strerror_r;var nb=env._localtime_r;var ob=env._tzset;var pb=env._open;var qb=env._getpid;var rb=env._sbrk;var sb=env._fcntl;var tb=env._emscripten_memcpy_big;var ub=env._unlink;var vb=env._sysconf;var wb=env._fchmod;var xb=env.___setErrNo;var yb=env._ftruncate;var zb=env._mkdir;var Ab=env._pread;var Bb=env._mkport;var Cb=env._dlopen;var Db=env._dlclose;var Eb=env._write;var Fb=env._fsync;var Gb=env.___errno_location;var Hb=env._stat;var Ib=env._recv;var Jb=env._geteuid;var Kb=env._getenv;var Lb=env._sleep;var Mb=env._emscripten_set_main_loop;var Nb=env._abort;var Ob=env._time;var Pb=env._fchown;var Qb=env._strerror;var Rb=env._gettimeofday;var Sb=env._munmap;var Tb=env._mmap;var Ub=env._localtime;var Vb=env._getcwd;var Wb=env._close;var Xb=env._read;var Yb=env._truncate;var Zb=0.0;
5 function gh(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=da(a|0,4,0,0)|0|0;i=da(a+80|0,4,0,0)|0|0;e=a+44|0;do if(!(da(e|0,4,0,0)|0)){ea(h+52|0,i|0,4,0);b=da(h+236|0,4,0,0)|0|0;if(b){a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(a|0,1|0,2,0);break}else{ug(b);break}}}else{f=h+65|0;g=da(f>>0|0,1,0,0)|0|0;a=da(3164*4|0,4,0,0)|0|0;if(a)mc[(fa(a|0,3|0)|0)&3]();d=h+236|0;a=da(d|0,4,0,0)|0|0;do if(!a){a=lh(h,40,0)|0;if(!a){ea(d|0,a|0,4,0);break}else{b=a+0|0;c=b+40|0;do{ea(b>>0|0,0|0,1,0);b=b+1|0}while((b|0)<(c|0));ea(a+8|0,1|0,2,0);ea(a+32|0,h|0,4,0);ea(d|0,a|0,4,0);c=8;break}}else c=8;while(0);if((c|0)==8)Wg(a,da(e|0,4,0,0)|0|0,-1,1,-1)|0;a=da(3166*4|0,4,0,0)|0|0;if(a)mc[(fa(a|0,3|0)|0)&3]();ea(f>>0|0,g|0,1,0);ea(h+52|0,i|0,4,0)}while(0);return i|0}function hh(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;ea(f|0,0|0,4,0);if(!((Gh(a)|0)==0|(b|0)==0)){h=da(a+20|0,4,0,0)|0|0;if((h|0)>0){k=da(a+16|0,4,0,0)|0|0;m=0;do{l=da(k+(m<<4)+4|0,4,0,0)|0|0;if(l)ea((da(l+4|0,4,0,0)|0|0)+4|0,da(l|0,4,0,0)|0|0,4,0);m=m+1|0}while((m|0)!=(h|0))}h=En(a,b,c,d,e,f,g)|0;if((h|0)==17){ld(da(f|0,4,0,0)|0|0)|0;h=En(a,b,c,d,e,f,g)|0}}else{ea(h|0,105892|0,4,0);ea(h+4|0,10788|0,4,0);ad(21,13648,h);h=21}i=n;return h|0}function ih(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+68|0;if((da(d|0,2,0,0)|0|0)>0){c=b+60|0;b=a+60|0;a=0;do{Zl((da(c|0,4,0,0)|0|0)+(a*40|0)|0,(da(b|0,4,0,0)|0|0)+(a*40|0)|0);a=a+1|0}while((a|0)<(da(d|0,2,0,0)|0|0))}return}function jh(a,b){a=a|0;b=b|0;var c=0,d=0;if(b){c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;d=(c-b&1073741823)+1|0;c=lh(a,d,0)|0;if(c)jw(c|0,b|0,d|0)|0;else c=0}else c=0;return c|0}function kh(a,b){a=a|0;b=b|0;var c=0,d=0;d=da(a+8|0,4,0,0)|0|0;if((b|0)>=1){eh(d,b)|0;ea(d+8|0,8192|0,2,0);ea(d|0,da(a+4|0,4,0,0)|0|0,4,0);c=d+16|0;a=da(c|0,4,0,0)|0|0;if(!a)c=0;else{ew(a|0,0,b|0)|0;c=da(c|0,4,0,0)|0|0}}else{c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312))ea(c|0,1|0,2,0);else ug(d);ea(d+16|0,0|0,4,0);c=0}return c|0}function lh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if(a){f=a+65|0;if(!(da(f>>0|0,1,0,0)|0)){do if(da(a+250>>0|0,1,0,0)|0){if(0<c>>>0|(0==(c|0)?(da(a+248|0,2,0,1)|0|0)>>>0<b>>>0:0)){d=a+264|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);break}e=a+272|0;d=da(e|0,4,0,0)|0|0;if(!d){d=a+268|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);break}ea(e|0,da(d|0,4,0,0)|0|0,4,0);c=a+252|0;e=da(c|0,4,0,0)|0|0;b=e+1|0;ea(c|0,b|0,4,0);c=a+260|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=a+256|0;if((e|0)>=(da(c|0,4,0,0)|0|0))ea(c|0,b|0,4,0);break a}while(0);d=pg(b,c)|0;if(!d){ea(f>>0|0,1|0,1,0);d=0}}else d=0}else d=pg(b,c)|0;while(0);return d|0}function mh(a,b){a=a|0;b=b|0;var c=0,d=0;do if(a){c=da(a+20|0,4,0,0)|0|0;if((c|0)!=0?((b|0)>-1?(da(a+84|0,2,0,1)|0|0|0)>(b|0):0):0){c=c+(b*40|0)|0;break}c=da(a|0,4,0,0)|0|0;if((c|0)!=0?(ea(c+52|0,25|0,4,0),d=da(c+236|0,4,0,0)|0|0,(d|0)!=0):0){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);c=41496;break}else{ug(d);c=41496;break}}else c=41496}else c=41496;while(0);return c|0}function nh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=oh(a,b)|0;if(!g)if(!c)g=0;else{b=(da(a+60|0,4,0,0)|0|0)+((b+-1|0)*40|0)|0;g=Wg(b,c,d,f,e)|0;if((g|0)!=0|f<<24>>24==0)b=g;else b=Xl(b,da((da(a|0,4,0,0)|0|0)+62>>0|0,1,0,1)|0|0)|0;g=da(a|0,4,0,0)|0|0;ea(g+52|0,b|0,4,0);e=da(g+236|0,4,0,0)|0|0;do if(e){d=e+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(d|0,1|0,2,0);break}else{ug(e);g=da(a|0,4,0,0)|0|0;break}}while(0);g=Ng(g,b)|0}else{d=e;if(!((d|0)==0|(d|0)==-1))bc[(fa(e|0,31|0)|0)&31](c)}return g|0}function oh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;do if(!($g(a)|0)){if((da(a+40|0,4,0,0)|0|0)==-1108210269?(da(a+76|0,4,0,0)|0|0)<=-1:0){if((b|0)>=1?(da(a+68|0,2,0,0)|0|0)>=(b|0):0){f=b+-1|0;e=da(a+60|0,4,0,0)|0|0;d=e+(f*40|0)|0;c=e+(f*40|0)+8|0;if(!(((da(c|0,2,0,0)|0)&9312)==0?(da(e+(f*40|0)+24|0,4,0,0)|0|0)==0:0))Pg(d);ea(c|0,1|0,2,0);d=da(a|0,4,0,0)|0|0;ea(d+52|0,0|0,4,0);d=da(d+236|0,4,0,0)|0|0;do if(d){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(d);break}}while(0);e=a+88|0;c=da(e|0,2,0,0)|0|0;if(!(c&256)){c=0;break}d=da(a+188|0,4,0,0)|0|0;if((b|0)<33){if(!((d&1<<f|0)!=0|(d|0)==-1)){c=0;break}}else if((d|0)!=-1){c=0;break}ea(e|0,c|8|0,2,0);c=0;break}c=da(a|0,4,0,0)|0|0;ea(c+52|0,25|0,4,0);c=da(c+236|0,4,0,0)|0|0;if(!c){c=25;break}d=c+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(d|0,1|0,2,0);c=25;break}else{ug(c);c=25;break}}d=da(a|0,4,0,0)|0|0;ea(d+52|0,21|0,4,0);d=da(d+236|0,4,0,0)|0|0;do if(d){c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(d);break}}while(0);ea(e|0,da(a+168|0,4,0,0)|0|0,4,0);ad(21,41456,e);ea(e|0,69987|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);c=21}else{ea(e|0,69979|0,4,0);ea(e+4|0,10788|0,4,0);ad(21,13648,e);c=21}while(0);i=g;return c|0}function ph(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:do if(!((a|0)==0|(b|0)==0)?(f=da(a+70|0,2,0,0)|0|0,f<<16>>16>0):0){d=da(a+64|0,4,0,0)|0|0;a=0;while(1){e=da(d+(a<<2)|0,4,0,0)|0|0;if(((e|0)!=0?(_v(e,b,c)|0)==0:0)?(da(e+c>>0|0,1,0,0)|0|0)==0:0)break;a=a+1|0;if((a|0)>=(f<<16>>16|0)){a=0;break a}}a=a+1|0}else a=0;while(0);return a|0}function qh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=i;i=i+16|0;if((i|0)>=(j|0))ba();g=h+8|0;f=h;c=da(a+10>>0|0,1,0,0)|0|0;d=a+16|0;e=a+12|0;do if(Sl(da(d|0,4,0,0)|0|0,g,da(e|0,4,0,0)|0|0,c)|0){if(!(Tl(da(d|0,4,0,0)|0|0,f,da(e|0,4,0,0)|0|0,c)|0)){e=f;c=da(e+4|0,4,0,0)|0|0;d=a;ea(d|0,da(e|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);c=a+8|0;ea(c|0,da(c|0,2,0,1)|0|0|4|0,2,0);break}ea(a|0,+(+(+da(g|0,8,1,0))),8,1);c=a+8|0;ea(c|0,da(c|0,2,0,1)|0|0|8|0,2,0);if(b)cm(a)}while(0);i=h;return}function rh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;if(!(Fn(a)|0)){e=Zh(da(a|0,4,0,0)|0|0,c,d)|0;if(!e){e=(b|0)!=0?41368:41384;if(!d){ea(f|0,e|0,4,0);ea(f+4|0,c|0,4,0);sh(a,27680,f)}else{ea(f|0,e|0,4,0);ea(f+4|0,d|0,4,0);ea(f+8|0,c|0,4,0);sh(a,27664,f)}ea(a+17>>0|0,1|0,1,0);e=0}}else e=0;i=g;return e|0}function sh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();f=e;d=da(a|0,4,0,0)|0|0;ea(f|0,c|0,4,0);c=Vk(d,b,f)|0;if(!(da(d+68>>0|0,1,0,0)|0)){b=a+64|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=a+4|0;lg(d,da(b|0,4,0,0)|0|0);ea(b|0,c|0,4,0);ea(a+12|0,1|0,4,0)}else lg(d,c);i=e;return}function th(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();e=d;ea(e|0,c|0,4,0);a=Vk(a,b,e)|0;i=d;return a|0}function uh(a){a=a|0;var b=0,c=0,d=0;c=da(a|0,4,0,0)|0|0;b=lh(c,208,0)|0;if(!b)b=0;else{ew(b|0,0,208)|0;ea(b|0,c|0,4,0);c=c+4|0;d=da(c|0,4,0,0)|0|0;if(d)ea(d+48|0,b|0,4,0);ea(b+52|0,d|0,4,0);ea(b+48|0,0|0,4,0);ea(c|0,b|0,4,0);ea(b+40|0,649915045|0,4,0);ea(b+24|0,a|0,4,0)}return b|0}function vh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;g=a+32|0;f=da(g|0,4,0,0)|0|0;if((da((da(a+24|0,4,0,0)|0|0)+84|0,4,0,0)|0|0)<=(f|0))if(!(Gn(a)|0)){h=da(g|0,4,0,0)|0|0;i=4}else f=1;else{h=f;i=4}if((i|0)==4){ea(g|0,h+1|0,4,0);g=da(a+4|0,4,0,0)|0|0;ea(g+(f*20|0)>>0|0,b|0,1,0);ea(g+(f*20|0)+3>>0|0,0|0,1,0);ea(g+(f*20|0)+4|0,c|0,4,0);ea(g+(f*20|0)+8|0,d|0,4,0);ea(g+(f*20|0)+12|0,e|0,4,0);ea(g+(f*20|0)+16|0,0|0,4,0);ea(g+(f*20|0)+1>>0|0,0|0,1,0)}return f|0}function wh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=da(a|0,4,0,0)|0|0;e=da(a+4|0,4,0,0)|0|0;do if((e|0)!=0?(da(h+65>>0|0,1,0,0)|0|0)==0:0){if((b|0)<0)b=(da(a+32|0,4,0,0)|0|0)+-1|0;g=e+(b*20|0)+1|0;f=e+(b*20|0)+16|0;Hn(h,da(g>>0|0,1,0,0)|0|0,da(f|0,4,0,0)|0|0);ea(f|0,0|0,4,0);if((d|0)==-14){ea(f|0,c|0,4,0);ea(g>>0|0,-14|0,1,0);break}if(!c){ea(f|0,0|0,4,0);ea(g>>0|0,0|0,1,0);break}if((d|0)==-10){ea(f|0,c|0,4,0);ea(g>>0|0,-10|0,1,0);b=c+12|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);break}else if((d|0)==-6){ea(f|0,c|0,4,0);ea(g>>0|0,-6|0,1,0);break}else{if((d|0)<0){ea(f|0,c|0,4,0);ea(g>>0|0,d|0,1,0);break}if(!d){b=c;while(1)if(!(da(b>>0|0,1,0,0)|0))break;else b=b+1|0;e=b-c&1073741823}else e=d;a=da(a|0,4,0,0)|0|0;b=iw(e|0,((e|0)<0)<<31>>31|0,1,0)|0;b=lh(a,b,C)|0;if(!b)b=0;else{jw(b|0,c|0,e|0)|0;ea(b+e>>0|0,0|0,1,0)}ea(f|0,b|0,4,0);ea(g>>0|0,-1|0,1,0);break}}else i=3;while(0);if((i|0)==3?(d|0)!=-10:0)Hn(h,d,c);return}function xh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=a+32|0;d=da(i|0,4,0,0)|0|0;if((d+b|0)>(da((da(a+24|0,4,0,0)|0|0)+84|0,4,0,0)|0|0))if(!(Gn(a)|0)){d=da(i|0,4,0,0)|0|0;e=4}else d=0;else e=4;if((e|0)==4)if((b|0)>0){g=a+4|0;h=0;while(1){j=da(c+2>>0|0,1,0,0)|0|0;e=j<<24>>24;a=h+d|0;f=da(g|0,4,0,0)|0|0;ea(f+(a*20|0)>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);ea(f+(a*20|0)+4|0,da(c+1>>0|0,1,0,0)|0|0,4,0);if(j<<24>>24<0)e=d+~e|0;ea(f+(a*20|0)+8|0,e|0,4,0);ea(f+(a*20|0)+12|0,da(c+3>>0|0,1,0,0)|0|0,4,0);ea(f+(a*20|0)+1>>0|0,0|0,1,0);ea(f+(a*20|0)+16|0,0|0,4,0);ea(f+(a*20|0)+3>>0|0,0|0,1,0);h=h+1|0;if((h|0)==(b|0))break;else c=c+4|0}ea(i|0,(da(i|0,4,0,0)|0|0)+b|0,4,0)}return d|0}function yh(a,b){a=a|0;b=b|0;var c=0,d=0;c=a+32|0;if((da(c|0,4,0,0)|0|0)>(b|0)?(d=da(a+4|0,4,0,0)|0|0,Hn(da(a|0,4,0,0)|0|0,da(d+(b*20|0)+1>>0|0,1,0,0)|0|0,da(d+(b*20|0)+16|0,4,0,0)|0|0),a=d+(b*20|0)|0,ea(a+0|0,0|0,4,0),ea(a+4|0,0|0,4,0),ea(a+8|0,0|0,4,0),ea(a+12|0,0|0,4,0),ea(a+16|0,0|0,4,0),ea(a>>0|0,-100|0,1,0),((da(c|0,4,0,0)|0|0)+-1|0)==(b|0)):0)ea(c|0,b|0,4,0);return}function zh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;G=i;i=i+16|0;if((i|0)>=(j|0))ba();e=G;E=da(a|0,4,0,0)|0|0;y=da(b+440|0,4,0,0)|0|0;c=da(b+72|0,4,0,0)|0|0;x=da(b+68|0,4,0,0)|0|0;ea(e|0,da(b+392|0,4,0,0)|0|0,4,0);w=da(b+80|0,4,0,0)|0|0;w=(w|0)==0?1:w;c=x+c|0;g=da(a+4|0,4,0,0)|0|0;f=g+((da(a+32|0,4,0,0)|0|0)*20|0)|0;g=g+((da(b+84|0,4,0,0)|0|0)*20|0)|0;In(a,e);if(!(da(b+20>>0|0,1,0,0)|0))d=0;else d=((da(b+21>>0|0,1,0,0)|0|0)!=0&1)<<5&65535;F=a+88|0;ea(F|0,(da(F|0,2,0,0)|0)&-33|d|0,2,0);D=b+450|0;A=(da(D>>0|0,1,0,0)|0|0)!=0&(c|0)<10?10:c;c=f;ew(f|0,0,g-c|0)|0;ea(F|0,(da(F|0,2,0,0)|0)&-9|0,2,0);z=a+8|0;r=A*40|0;s=a+60|0;t=y*40|0;u=a+12|0;h=((da(e|0,4,0,0)|0)<<2)+7&-8;v=a+64|0;k=(y<<2)+7&-8;l=a+56|0;m=(x<<2)+7&-8;n=a+200|0;o=w+7&-8;p=a+172|0;q=E+65|0;f=f+(c&7)|0;while(1){e=da(z|0,4,0,0)|0|0;if(!e){d=f+r|0;c=d>>>0>g>>>0;e=c?0:f;f=c?f:d;c=c?r:0}else c=0;ea(z|0,e|0,4,0);e=da(s|0,4,0,0)|0|0;if(!e){H=f+t|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?t:0)+c|0}ea(s|0,e|0,4,0);e=da(u|0,4,0,0)|0|0;if(!e){H=f+h|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?h:0)+c|0}ea(u|0,e|0,4,0);e=da(v|0,4,0,0)|0|0;if(!e){H=f+k|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?k:0)+c|0}ea(v|0,e|0,4,0);e=da(l|0,4,0,0)|0|0;if(!e){H=f+m|0;d=H>>>0>g>>>0;e=d?0:f;f=d?f:H;c=(d?m:0)+c|0}ea(l|0,e|0,4,0);e=da(n|0,4,0,0)|0|0;if(!e){d=(f+o|0)>>>0>g>>>0;e=d?0:f;c=(d?o:0)+c|0}ea(n|0,e|0,4,0);if(!c)break;d=lh(E,c,((c|0)<0)<<31>>31)|0;if(!d)e=0;else{ew(d|0,0,c|0)|0;e=d}ea(p|0,e|0,4,0);if(!(da(q>>0|0,1,0,0)|0)){f=d;g=d+c|0}else break}ea(a+36|0,x|0,4,0);ea(a+196|0,w|0,4,0);d=da(s|0,4,0,0)|0|0;if((d|0)!=0?(ea(a+68|0,y|0,2,0),(y|0)>0):0){c=0;do{ea(d+(c*40|0)+8|0,1|0,2,0);ea(d+(c*40|0)+32|0,E|0,4,0);c=c+1|0}while((c|0)!=(y|0))}d=da(v|0,4,0,0)|0|0;if((d|0)!=0?(B=b+444|0,C=da(B|0,4,0,0)|0|0,(C|0)>0):0){ea(a+70|0,C|0,2,0);y=b+472|0;jw(d|0,da(y|0,4,0,0)|0|0,C<<16>>14|0)|0;ew(da(y|0,4,0,0)|0|0,0,(da(B|0,4,0,0)|0)<<2|0)|0}d=da(z|0,4,0,0)|0|0;if((d|0)!=0?(ea(z|0,d+-40|0,4,0),ea(a+28|0,A|0,4,0),(A|0)>=1):0){c=1;while(1){ea(d+((c+-1|0)*40|0)+8|0,128|0,2,0);ea(d+((c+-1|0)*40|0)+32|0,E|0,4,0);if((c|0)==(A|0))break;else c=c+1|0}}ea(F|0,(da(F|0,2,0,0)|0)&-4|(da(D>>0|0,1,0,1)|0)&3|0,2,0);ea(a+76|0,-1|0,4,0);ea(a+80|0,0|0,4,0);ea(a+86>>0|0,2|0,1,0);ea(a+40|0,-1108210269|0,4,0);ea(a+92|0,0|0,4,0);ea(a+72|0,1|0,4,0);ea(a+87>>0|0,-1|0,1,0);ea(a+104|0,0|0,4,0);z=a+144|0;ea(z|0,0|0,4,0);ea(z+4|0,0|0,4,0);i=G;return}function Ah(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;h=a+20|0;g=da(h|0,4,0,0)|0|0;f=da(g+60|0,4,0,0)|0|0;ea(f|0,b|0,4,0);ea(f+4|0,c|0,4,0);f=Rd(g)|0;do if((f|0)!=100){e=da(h|0,4,0,0)|0|0;if(e){f=ld(e)|0;ea(h|0,0|0,4,0);e=da(a+24|0,4,0,0)|0|0;if(!f){f=k;ea(f|0,b|0,4,0);ea(f+4|0,c|0,4,0);f=1;e=th(e,41432,k)|0;break}else{ea(k|0,Re(e)|0|0,4,0);e=th(e,10344,k)|0;break}}else e=0}else{f=da(da(g+56|0,4,0,0)|0|0,4,0,0)|0|0;e=da(a+12|0,4,0,0)|0|0;g=da(f+(e<<2)+84|0,4,0,0)|0|0;if(g>>>0>=12){ea(a+8|0,da(f+((da(f+20|0,2,0,0)|0|0)+e<<2)+84|0,4,0,0)|0|0,4,0);ea(a+4|0,(g+-12|0)>>>1|0,4,0);f=da(f|0,4,0,0)|0|0;ea(a+16|0,f|0,4,0);f=f+72|0;ea(f>>0|0,da(f>>0|0,1,0,1)|0|16|0,1,0);f=0;e=0;break}f=da(a+24|0,4,0,0)|0|0;if(!g)e=20352;else e=(g|0)==7?20336:20320;ea(k|0,e|0,4,0);e=th(f,41400,k)|0;ld(da(h|0,4,0,0)|0|0)|0;ea(h|0,0|0,4,0);f=1}while(0);ea(d|0,e|0,4,0);i=l;return f|0}function Bh(a){a=a|0;var b=0;if(a){b=da(a|0,4,0,0)|0|0;lg(b,da(a+112|0,4,0,0)|0|0);Mk(b,da(a+316|0,4,0,0)|0|0)}return}function Ch(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=da(a+73>>0|0,1,0,0)|0|0;do if(!(f<<24>>24))e=4;else{if((f&255)>2?(e=Jn(a)|0,(e|0)!=0):0)break;e=Km(a,b,c,d,0)|0}while(0);return e|0}function Dh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();g=k;if(!a){ea(g|0,77646|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);d=21}else{h=da(a+24|0,4,0,0)|0|0;g=a+20|0;f=da(g|0,4,0,0)|0|0;do if((d|c|0)>=0?(m=iw(d|0,((d|0)<0)<<31>>31|0,c|0,((c|0)<0)<<31>>31|0)|0,o=C,l=da(a+4|0,4,0,0)|0|0,n=((l|0)<0)<<31>>31,!((o|0)>(n|0)|(o|0)==(n|0)&m>>>0>l>>>0)):0)if(f){d=oc[(fa(e|0,31|0)|0)&31](da(a+16|0,4,0,0)|0|0,(da(a+8|0,4,0,0)|0|0)+d|0,c,b)|0;if((d|0)==4){Mg(f)|0;ea(g|0,0|0,4,0);d=4;break}else{ea(f+80|0,d|0,4,0);break}}else d=4;else d=1;while(0);ea(h+52|0,d|0,4,0);f=da(h+236|0,4,0,0)|0|0;do if(f){g=f+8|0;if(!((da(g|0,2,0,0)|0)&9312)){ea(g|0,1|0,2,0);break}else{ug(f);break}}while(0);d=Ng(h,d)|0}i=k;return d|0}function Eh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=a+73|0;e=da(f>>0|0,1,0,0)|0|0;if((e&255)>2){e=Jn(a)|0;if(!e){e=da(f>>0|0,1,0,0)|0|0;g=4}}else g=4;if((g|0)==4)if(e<<24>>24==1){Kn(da(a+4|0,4,0,0)|0|0,da(a+60|0,4,0,0)|0|0,a)|0;if(!((da(a+72>>0|0,1,0,0)|0)&1))e=8;else e=Km(a,b,c,d,1)|0}else e=4;return e|0}function Fh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=i;i=i+16|0;if((i|0)>=(j|0))ba();t=v+4|0;u=v;ea(t|0,a|0,4,0);ea(u|0,b|0,4,0);o=da(c+1>>0|0,1,0,1)|0|0;p=da(c>>0|0,1,0,1)|0|0;s=da(c+3>>0|0,1,0,0)|0|0;r=(d|0)!=0;if(r)q=d;else q=da(c+2>>0|0,1,0,1)|0|0;l=s<<24>>24!=0;h=0;a:while(1){while(1){f=Ln(t)|0;if(!f){n=60;break a}if((f|0)==(p|0)){n=7;break a}if((f|0)!=(q|0))break;if(r){n=40;break}b=Ln(u)|0;if(!b){e=0;break a}g=Ln(t)|0;if((g|0)==94){g=Ln(t)|0;e=1}else e=0;if((g|0)==93){g=Ln(t)|0;k=(b|0)==93&1}else k=0;f=(g|0)==0;if((g|0)!=93&(f^1)){f=0;while(1){if(((g|0)==45?(m=da((da(t|0,4,0,0)|0)>>0|0,1,0,0)|0|0,m<<24>>24!=93):0)?m<<24>>24!=0&(f|0)!=0:0){g=b>>>0<f>>>0|b>>>0>(Ln(t)|0)>>>0;a=0;k=g?k:1}else{a=g;k=(b|0)==(g|0)?1:k}g=Ln(t)|0;f=(g|0)==0;if(!((g|0)!=93&(f^1))){g=f;break}else f=a}}else g=f;if(g|(k|0)==(e|0)){e=0;break a}}if((n|0)==40){n=0;f=Ln(t)|0;if(!f){e=0;break}h=da(t|0,4,0,0)|0|0}g=Ln(u)|0;if((f|0)==(g|0))continue;if(l&f>>>0<128&g>>>0<128?(da(9328+(f&255)>>0|0,1,0,0)|0|0)==(da(9328+(g&255)>>0|0,1,0,0)|0|0):0)continue;if((f|0)!=(o|0)){e=0;break}if(!((g|0)!=0?(da(t|0,4,0,0)|0|0)!=(h|0):0)){e=0;break}}b:do if((n|0)==7){b=Ln(t)|0;a=(b|0)==(o|0);if((b|0)==(p|0)|a)do{if(a?(Ln(u)|0)==0:0){e=0;break b}b=Ln(t)|0;a=(b|0)==(o|0)}while((b|0)==(p|0)|a);if(b){do if((b|0)==(q|0)){if(r){b=Ln(t)|0;if(!b){e=0;break b}else break}e=da(u|0,4,0,0)|0|0;c:do if(!(da(e>>0|0,1,0,0)|0))e=0;else{a=da(t|0,4,0,0)|0|0;while(1){if(Fh(a+-1|0,e,c,0)|0)break;b=e+1|0;ea(u|0,b|0,4,0);if((da(e>>0|0,1,0,1)|0|0)>191?((da(b>>0|0,1,0,0)|0)&-64)<<24>>24==-128:0){while(1){e=e+2|0;if(((da(e>>0|0,1,0,0)|0)&-64)<<24>>24==-128){n=b;b=e;e=n}else break}ea(u|0,e|0,4,0)}else e=b;if(!(da(e>>0|0,1,0,0)|0)){e=0;break c}}e=(da(e>>0|0,1,0,0)|0|0)!=0}while(0);e=e&1;break b}while(0);if(b>>>0>=129){e=Ln(u)|0;if(!e){e=0;break}a=da(t|0,4,0,0)|0|0;while(1){if((e|0)==(b|0)?(Fh(a,da(u|0,4,0,0)|0|0,c,d)|0)!=0:0){e=1;break b}e=Ln(u)|0;if(!e){e=0;break b}}}if(!(s<<24>>24)){k=b;h=b}else{h=b&255;k=da(9328+h>>0|0,1,0,1)|0|0;h=((da(10368+h>>0|0,1,0,1)|0|-33)^32)&b}a=da(u|0,4,0,0)|0|0;e=a+1|0;ea(u|0,e|0,4,0);b=da(a>>0|0,1,0,0)|0|0;if(!(b<<24>>24))e=0;else{g=da(t|0,4,0,0)|0|0;f=b&255;while(1){if((f|0)==(k|0)|(f|0)==(h|0)?(Fh(g,e,c,d)|0)!=0:0){e=1;break b}b=a+2|0;ea(u|0,b|0,4,0);a=da(e>>0|0,1,0,0)|0|0;if(!(a<<24>>24)){e=0;break}else{n=e;f=a&255;e=b;a=n}}}}else e=1}else if((n|0)==60)e=(da((da(u|0,4,0,0)|0)>>0|0,1,0,0)|0|0)==0&1;while(0);i=v;return e|0}function Gh(a){a=a|0;var b=0,c=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();b=c;do if(a){a=da(a+76|0,4,0,0)|0|0;if((a|0)==-1607883113){a=1;break}else if((a|0)==1266094736|(a|0)==-264537850){ea(b|0,41352|0,4,0);ad(21,15256,b);a=0;break}else{ea(b|0,15248|0,4,0);ad(21,15256,b);a=0;break}}else{ea(b|0,20304|0,4,0);ad(21,15256,b);a=0}while(0);i=c;return a|0}function Hh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();g=l;h=l+8|0;ea(h|0,0|0,4,0);ea(e|0,0|0,4,0);if((Gh(a)|0)==0|(b|0)==0){ea(g|0,106003|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);d=21}else{a:do if((c|0)>-1)if((c|0)>0){g=0;do{if((da(b+g>>0|0,1,0,0)|0|0)==0?(da(b+(g|1)>>0|0,1,0,0)|0|0)==0:0)break a;g=g+2|0}while((g|0)<(c|0))}else g=0;else g=c;while(0);k=Qh(a,b,g)|0;if(k){d=hh(a,k,-1,d,0,e,h)|0;g=da(h|0,4,0,0)|0|0;if((g|0)!=0&(f|0)!=0){e=Mn(k,g-k|0)|0;if((e|0)>0){c=0;g=b;do{g=((da(g+1>>0|0,1,0,0)|0)&-8)<<24>>24==-40?g+4|0:g+2|0;c=c+1|0}while((c|0)!=(e|0))}else g=b;ea(f|0,b+(g-b)|0,4,0)}}else d=0;lg(a,k);d=Ng(a,d)|0}i=l;return d|0}function Ih(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+16|0;if((i|0)>=(j|0))ba();m=p;n=a+12|0;f=da(n|0,4,0,0)|0|0;l=(c|0)!=0;e=b<<((f|0)==0&l&1);o=a+20|0;h=a+8|0;g=da(h|0,4,0,0)|0|0;if((e+(da(o|0,4,0,0)|0|0)|0)>>>0>g>>>0){e=e+(g<<1)|0;ea(h|0,e|0,4,0);f=da(a|0,4,0,0)|0|0;if((Kc()|0)==0?(k=qg(f,e<<2,0)|0,(k|0)!=0):0){ea(a|0,k|0,4,0);f=da(n|0,4,0,0)|0|0;k=5}else k=21}else k=5;a:do if((k|0)==5){e=a+16|0;if(!f){ea(e|0,b|0,4,0);if((b|0)>0){e=0;do{ea(m|0,da(d+(e<<2)|0,4,0,0)|0|0,4,0);f=Zc(10344,m)|0;if(!f){k=21;break a}h=da(o|0,4,0,0)|0|0;ea(o|0,h+1|0,4,0);ea((da(a|0,4,0,0)|0|0)+(h<<2)|0,f|0,4,0);e=e+1|0}while((e|0)<(b|0))}}else if((da(e|0,4,0,0)|0|0)!=(b|0)){e=a+4|0;Vc(da(e|0,4,0,0)|0|0);ea(e|0,Zc(40912,m)|0|0,4,0);ea(a+24|0,1|0,4,0);e=1;break}if(l){if((b|0)>0){h=0;do{g=c+(h<<2)|0;e=da(g|0,4,0,0)|0|0;if(!e)e=0;else{f=e;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;f=(f-e&1073741823)+1|0;e=Sc(f)|0;if(!e){k=21;break a}jw(e|0,da(g|0,4,0,0)|0|0,f|0)|0}m=da(o|0,4,0,0)|0|0;ea(o|0,m+1|0,4,0);ea((da(a|0,4,0,0)|0|0)+(m<<2)|0,e|0,4,0);h=h+1|0}while((h|0)<(b|0))}ea(n|0,(da(n|0,4,0,0)|0|0)+1|0,4,0);e=0}else e=0}while(0);if((k|0)==21){ea(a+24|0,7|0,4,0);e=1}i=p;return e|0}function Jh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();k=m;if(!b)g=0;else{f=b;while(1)if(!(da(f>>0|0,1,0,0)|0))break;else f=f+1|0;g=f-b&1073741823}h=a+308|0;f=an(h,b,k)|0;if((f|0)!=0?(da(f+8|0,4,0,0)|0|0)!=0:0){ea(k|0,114188|0,4,0);ea(k+4|0,10788|0,4,0);ad(21,13648,k);f=21}else{f=lh(a,g+17|0,0)|0;if((f|0)!=0?(l=f+16|0,jw(l|0,b|0,g+1|0)|0,ea(f+4|0,l|0,4,0),ea(f|0,c|0,4,0),ea(f+8|0,d|0,4,0),ea(f+12|0,e|0,4,0),l=Hk(h,l,f)|0,(l|0)!=0):0){ea(a+65>>0|0,1|0,1,0);lg(a,l);f=0}else f=0}f=Ng(a,f)|0;if((f|0)!=0&(e|0)!=0)bc[(fa(e|0,31|0)|0)&31](d);i=m;return f|0}function Kh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=i;i=i+16|0;if((i|0)>=(j|0))ba();v=y;l=y+8|0;w=da(a|0,4,0,0)|0|0;h=da(w+92|0,4,0,0)|0|0;if(!(da(w+148|0,4,0,0)|0))ea(w+240|0,0|0,4,0);x=a+12|0;ea(x|0,0|0,4,0);n=a+480|0;ea(n|0,b|0,4,0);r=pg(1612,0)|0;if(r){ea(r|0,-1|0,4,0);o=w+250|0;p=da(o>>0|0,1,0,0)|0|0;if(da(w+276|0,4,0,0)|0)ea(o>>0|0,1|0,1,0);q=w+65|0;m=a+504|0;d=a+508|0;k=w+240|0;g=0;f=-1;a:while(1){while(1){if(da(q>>0|0,1,0,0)|0){t=19;break a}e=b+g|0;if(!(da(e>>0|0,1,0,0)|0)){t=19;break a}ea(m|0,e|0,4,0);e=Bn(e,l)|0;ea(d|0,e|0,4,0);g=e+g|0;if((g|0)>(h|0)){t=12;break a}e=da(l|0,4,0,0)|0|0;if((e|0)==150){t=16;break a}else if((e|0)==1){f=e;t=17;break}else if((e|0)!=151){f=e;break}if(da(k|0,4,0,0)|0){t=15;break a}}if((t|0)==17){t=0;ea(n|0,b+g|0,4,0)};ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,f,v,a);f=da(l|0,4,0,0)|0|0;if(da(x|0,4,0,0)|0){t=19;break}}if((t|0)==12){ea(x|0,18|0,4,0);t=19}else if((t|0)==15){sh(a,20384,v);ea(x|0,9|0,4,0);t=19}else if((t|0)==16){lg(w,da(c|0,4,0,0)|0|0);ea(v|0,m|0,4,0);ea(c|0,th(w,20400,v)|0|0,4,0);d=1}if((t|0)==19){g=b+g|0;if((da(g>>0|0,1,0,0)|0|0)==0?(da(x|0,4,0,0)|0|0)==0:0){if((f|0)!=1){ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,1,v,a);ea(n|0,g|0,4,0)};ea(v+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(v+4|0,da(m+4|0,4,0,0)|0|0,4,0);Nn(r,0,v,a);d=0}else d=0}if((da(r|0,4,0,0)|0|0)>-1)do On(r);while((da(r|0,4,0,0)|0|0)>-1);Vc(r);ea(o>>0|0,p|0,1,0);if(!(da(q>>0|0,1,0,0)|0)){f=da(x|0,4,0,0)|0|0;if(!((f|0)==101|(f|0)==0)){s=f;t=29}}else{ea(x|0,7|0,4,0);s=7;t=29}if((t|0)==29?(u=a+4|0,(da(u|0,4,0,0)|0|0)==0):0){if((s|0)!=516){f=s&255;if(f>>>0>26|(f|0)==2)f=16328;else f=da(15488+(f<<2)|0,4,0,0)|0|0}else f=16344;ea(v|0,f|0,4,0);ch(u,w,10344,v)}f=a+4|0;e=da(f|0,4,0,0)|0|0;if(e){ea(c|0,e|0,4,0);c=da(x|0,4,0,0)|0|0;ea(v|0,e|0,4,0);ad(c,10344,v);ea(f|0,0|0,4,0);d=d+1|0}f=a+8|0;e=da(f|0,4,0,0)|0|0;if(((e|0)!=0?(da(a+64|0,4,0,0)|0|0)>0:0)?(da(a+18>>0|0,1,0,0)|0|0)==0:0){Ol(e);ea(f|0,0|0,4,0)}if(!(da(a+18>>0|0,1,0,0)|0)){c=a+400|0;lg(w,da(c|0,4,0,0)|0|0);ea(c|0,0|0,4,0);ea(a+396|0,0|0,4,0)}Vc(da(a+520|0,4,0,0)|0|0);if(!(da(a+451>>0|0,1,0,0)|0))jg(w,da(a+484|0,4,0,0)|0|0);if(da(a+449>>0|0,1,0,0)|0)Pn(w,da(a+532|0,4,0,0)|0|0);ig(w,da(a+488|0,4,0,0)|0|0);f=da(a+444|0,4,0,0)|0|0;g=a+472|0;e=da(g|0,4,0,0)|0|0;if((f|0)>0)do{f=f+-1|0;lg(w,da(e+(f<<2)|0,4,0,0)|0|0);e=da(g|0,4,0,0)|0|0}while((f|0)>0);lg(w,e);f=a+404|0;e=da(f|0,4,0,0)|0|0;if(e)do{ea(f|0,da(e|0,4,0,0)|0|0,4,0);lg(w,e);e=da(f|0,4,0,0)|0|0}while((e|0)!=0);f=a+524|0;e=da(f|0,4,0,0)|0|0;if(e)do{ea(f|0,da(e+72|0,4,0,0)|0|0,4,0);jg(w,e);e=da(f|0,4,0,0)|0|0}while((e|0)!=0);if((d|0)>0?(da(x|0,4,0,0)|0|0)==0:0)ea(x|0,1|0,4,0)}else{ea(w+65>>0|0,1|0,1,0);d=7}i=y;return d|0}function Lh(a){a=a|0;if(a){if(!(((da(a+8|0,2,0,0)|0)&9312)==0?(da(a+24|0,4,0,0)|0|0)==0:0))Pg(a);lg(da(a+32|0,4,0,0)|0|0,a)}return}function Mh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!(da(a+252|0,4,0,0)|0)){k=a+251|0;if(da(k>>0|0,1,0,0)|0)Vc(da(a+276|0,4,0,0)|0|0);g=c&-8;e=(g|0)<5?0:g;f=(d|0)<0?0:d;if(!((e|0)==0|(f|0)==0))if(!b){c=da(3164*4|0,4,0,0)|0|0;if(c)mc[(fa(c|0,3|0)|0)&3]();c=_(e,f)|0;c=pg(c,((c|0)<0)<<31>>31)|0;d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();if(!c)c=0;else f=(kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](c)|0)/(g|0)|0}else c=b;else{e=0;c=0}d=a+276|0;ea(d|0,c|0,4,0);j=a+272|0;ea(j|0,0|0,4,0);ea(a+248|0,e|0,2,0);if(!c){ea(d|0,a|0,4,0);ea(a+280|0,a|0,4,0);ea(a+250>>0|0,0|0,1,0);c=0}else{if((f|0)>0){d=_(e,f)|0;i=c+(_(e,f+-1|0)|0)|0;h=0;g=c;while(1){f=f+-1|0;ea(g|0,h|0,4,0);if((f|0)<=0)break;else{h=g;g=g+e|0}}ea(j|0,i|0,4,0);c=c+d|0}ea(a+280|0,c|0,4,0);ea(a+250>>0|0,1|0,1,0);c=(b|0)==0&1}ea(k>>0|0,c|0,1,0);c=0}else c=5;return c|0}function Nh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();n=o;do if(!a)c=0;else{h=a+76|0;l=da(h|0,4,0,0)|0|0;if(!((l|0)==1266094736|(l|0)==-1607883113|(l|0)==-264537850)){ea(n|0,15248|0,4,0);ad(21,15256,n);ea(n|0,128509|0,4,0);ea(n+4|0,10788|0,4,0);ad(21,13648,n);c=21;break}k=a+20|0;c=da(k|0,4,0,0)|0|0;a:do if((c|0)>0){l=a+16|0;d=da(l|0,4,0,0)|0|0;f=0;do{e=da(d+(f<<4)+4|0,4,0,0)|0|0;if(e)ea((da(e+4|0,4,0,0)|0|0)+4|0,da(e|0,4,0,0)|0|0,4,0);f=f+1|0}while((f|0)!=(c|0));g=0;while(1){c=da(d+(g<<4)+12|0,4,0,0)|0|0;if((c|0)!=0?(m=da(c+16|0,4,0,0)|0|0,(m|0)!=0):0){c=m;do{d=da(c+8|0,4,0,0)|0|0;b:do if((da(d+44>>0|0,1,0,0)|0)&16){e=d+60|0;while(1){d=da(e|0,4,0,0)|0|0;if(!d)break b;f=d+24|0;if((da(d|0,4,0,0)|0|0)==(a|0))break;else e=f}ea(e|0,da(f|0,4,0,0)|0|0,4,0);zn(d)}while(0);c=da(c|0,4,0,0)|0|0}while((c|0)!=0)}c=g+1|0;if((c|0)>=(da(k|0,4,0,0)|0|0))break a;d=da(l|0,4,0,0)|0|0;g=c}}while(0);ql(a);Qn(a,68);if((b|0)==0?(Il(a)|0)!=0:0){tg(a,5,16368,n);c=5;break}ea(h|0,1691352191|0,4,0);Lg(a);c=0}while(0);i=o;return c|0}function Oh(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(da(a+492|0,4,0,0)|0|0))b=0;else{b=da(a|0,4,0,0)|0|0;qc[(fa(da(b+60|0,4,0,0)|0|0,127|0)|0)&127](b,1e6)|0;b=1}return b|0}function Ph(a,b,c,d,e,f,g,h,k){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=i;i=i+16|0;if((i|0)>=(j|0))ba();q=s;do if(b){n=(f|0)!=0;l=(h|0)!=0;if(n)if(l|(g|0)!=0){r=8;break}else{l=0;m=0}else{m=(g|0)!=0;if(!(m|l^1)){r=8;break}}if(!(m&((n|l)^1)|(c|0)<-1|(c|0)>127)){l=b;while(1)if(!(da(l>>0|0,1,0,0)|0))break;else l=l+1|0;o=l-b&1073741823;if(o>>>0<=255){p=d&2048;l=d&7;if((l|0)!=4){if((l|0)==5){l=Ph(a,b,c,p|1,e,f,g,h,k)|0;if(l)break;l=Ph(a,b,c,p|2,e,f,g,h,k)|0;if(!l)l=3;else break}}else l=2;n=l&255;m=Rh(a,b,o,c,n,0)|0;if(((m|0)!=0?((da(m+2|0,2,0,1)|0)&3|0)==(l|0):0)?(da(m|0,2,0,0)|0|0)==(c|0):0){if(da(a+148|0,4,0,0)|0){tg(a,5,15424,q);l=5;break}l=da(a+4|0,4,0,0)|0|0;if(l)do{q=l+88|0;ea(q|0,da(q|0,2,0,0)|0|8|0,2,0);l=da(l+52|0,4,0,0)|0|0}while((l|0)!=0)}l=Rh(a,b,o,c,n,1)|0;if(!l)l=7;else{Ml(a,l);if(k)ea(k|0,(da(k|0,4,0,0)|0|0)+1|0,4,0);ea(l+32|0,k|0,4,0);a=l+2|0;ea(a|0,(da(a|0,2,0,1)|0)&3|p|0,2,0);ea(l+12|0,f|0,4,0);ea(l+16|0,g|0,4,0);ea(l+20|0,h|0,4,0);ea(l+4|0,e|0,4,0);ea(l|0,c|0,2,0);l=0}}else r=8}else r=8}else r=8;while(0);if((r|0)==8){ea(q|0,129075|0,4,0);ea(q+4|0,10788|0,4,0);ad(21,13648,q);l=21}i=s;return l|0}function Qh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+48|0;if((i|0)>=(j|0))ba();f=g;d=f+0|0;e=d+40|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(e|0));ea(f+32|0,a|0,4,0);Wg(f,b,c,2,0)|0;c=f+8|0;b=da(c|0,4,0,0)|0|0;if(!((b&2|0)==0|(b&16711680|0)==65536))An(f,1)|0;if(!(da(a+65>>0|0,1,0,0)|0))c=da(f+16|0,4,0,0)|0|0;else{if(!(((da(c|0,2,0,0)|0)&9312)==0?(da(f+24|0,4,0,0)|0|0)==0:0))Pg(f);ea(f+16|0,0|0,4,0);c=0}i=g;return c|0}function Rh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=((da(9328+(da(b>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)+c|0)%23|0;k=a+336|0;h=Qk(k,j,b,c)|0;if(!h){i=0;g=0}else{i=0;g=0;do{m=Rn(h,d,e)|0;l=(m|0)>(i|0);i=l?m:i;g=l?h:g;h=da(h+8|0,4,0,0)|0|0}while((h|0)!=0)}do if(!(f<<24>>24)){if((g|0)!=0?((da(a+24|0,4,0,0)|0)&2097152|0)==0:0){h=0;j=12;break}h=Qk(10840,j,b,c)|0;if(!h){i=0;j=8}else{i=0;do{l=Rn(h,d,e)|0;j=(l|0)>(i|0);i=j?l:i;g=j?h:g;h=da(h+8|0,4,0,0)|0|0}while((h|0)!=0);j=8}}else j=8;while(0);do if((j|0)==8){h=f<<24>>24!=0;if(h&(i|0)<6){h=c+37|0;g=lh(a,h,0)|0;if(!g){j=14;break}ew(g|0,0,h|0)|0;h=g+36|0;ea(g+24|0,h|0,4,0);ea(g|0,d|0,2,0);ea(g+2|0,e&255|0,2,0);jw(h|0,b|0,c|0)|0;ea(g+(c+36)>>0|0,0|0,1,0);mg(k,g);h=1}if(!g)j=14;else j=12}while(0);if((j|0)==12)if((da(g+16|0,4,0,0)|0|0)==0?!((da(g+12|0,4,0,0)|0|0)!=0|h):0)j=14;if((j|0)==14)g=0;return g|0}function Sh(a,b,c){a=a|0;b=b|0;c=c|0;b=i;i=i+16|0;if((i|0)>=(j|0))ba();c=b;ea(c|0,da((da(a+4|0,4,0,0)|0|0)+24|0,4,0,0)|0|0,4,0);c=Zc(15304,c)|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,c,-1,1,-1)|0;Vc(c);i=b;return}function Th(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)<=(d|0)){d=da(3164*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();Jf(b,c,0,0,0)|0;d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]()}return 0}function Uh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:do if(b){c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;e=c-b&1073741823;d=da(a+20|0,4,0,0)|0|0;c=d+-1|0;if((d|0)>0){f=c;d=(da(a+16|0,4,0,0)|0|0)+(c<<4)|0;while(1){a=da(d|0,4,0,0)|0|0;if(!a)c=0;else{c=a;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-a&1073741823}if((e|0)==(c|0)?(cd(a,b)|0)==0:0){c=f;break a}c=f+-1|0;if((f|0)>0){f=c;d=d+-16|0}else break}}}else c=-1;while(0);return c|0}function Vh(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=a+20|0;f=da(n|0,4,0,0)|0|0;if((f|0)>0){o=(b|0)==10;l=a+16|0;m=(c|0)==0;j=d;a=f;d=0;k=0;while(1){if((k|0)==(b|0)|o){g=da((da(l|0,4,0,0)|0|0)+(k<<4)+4|0,4,0,0)|0|0;if(g){f=da(g+4|0,4,0,0)|0|0;ea(f+4|0,da(g|0,4,0,0)|0|0,4,0);if(!(da(f+20>>0|0,1,0,0)|0)){g=da(f|0,4,0,0)|0|0;h=da(g+208|0,4,0,0)|0|0;if(!h)h=0;else{if(m)f=0;else f=da(g+176|0,4,0,0)|0|0;h=Sn(h,c,f,da(g+180|0,4,0,0)|0|0,da(g+9>>0|0,1,0,1)|0|0,da(g+152|0,4,0,0)|0|0,da(g+200|0,4,0,0)|0|0,j,e)|0;a=da(n|0,4,0,0)|0|0}}else h=6}else h=0;e=(h|0)==5;i=0;g=0;f=a;d=e?1:d;e=e?0:h}else{i=e;g=j;f=a;e=0}k=k+1|0;a=(e|0)==0;if(!((k|0)<(f|0)&a))break;else{j=g;e=i;a=f}}}else{a=1;d=0;e=0}return (a&(d|0)!=0?5:e)|0}function Wh(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=i;i=i+32|0;if((i|0)>=(j|0))ba();p=t;q=t+20|0;l=t+16|0;k=t+12|0;h=t+8|0;ea(l|0,c|0,4,0);ea(k|0,0|0,4,0);ea(h|0,0|0,4,0);ea(b|0,0|0,4,0);e=Kc()|0;do if(!e){if(!(1<<(c&7)&70)){ea(p|0,130207|0,4,0);ea(p+4|0,10788|0,4,0);ad(21,13648,p);e=21;break}if((da(2187*4|0,4,0,0)|0|0)!=0&(c&32768|0)==0)g=(c&65536|0)==0?da(2188*4|0,4,0,0)|0|0:1;else g=0;if(!(c&262144)){if(da(2241*4|0,4,0,0)|0){c=c|131072;ea(l|0,c|0,4,0)}}else{c=c&-131073;ea(l|0,c|0,4,0)}c=c&-655129;ea(l|0,c|0,4,0);s=pg(528,0)|0;a:do if(s){ew(s|0,0,528)|0;if(g)ea(s+12|0,8|0,4,0);ea(s+56|0,255|0,4,0);ea(s+20|0,2|0,4,0);m=s+76|0;ea(m|0,-264537850|0,4,0);n=s+16|0;ea(n|0,s+456|0,4,0);f=s+88|0;g=11088;e=f+44|0;do{ea(f|0,da(g|0,4,0,0)|0|0,4,0);f=f+4|0;g=g+4|0}while((f|0)<(e|0));ea(s+132|0,0|0,4,0);ea(s+63>>0|0,1|0,1,0);ea(s+67>>0|0,-1|0,1,0);f=8920;g=da(f+4|0,4,0,0)|0|0;o=s+40|0;ea(o|0,da(f|0,4,0,0)|0|0,4,0);ea(o+4|0,g|0,4,0);ea(s+72|0,0|0,4,0);ea(s+136|0,2147483647|0,4,0);ea(s+24|0,9437264|0,4,0);g=s+428|0;ea(g+0|0,0|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,0|0,4,0);ea(g+12|0,0|0,4,0);o=s+308|0;ea(o+0|0,0|0,4,0);ea(o+4|0,0|0,4,0);ea(o+8|0,0|0,4,0);ea(o+12|0,0|0,4,0);Xh(s,11152,1,0,21,0)|0;Xh(s,11152,3,0,21,0)|0;Xh(s,11152,2,0,21,0)|0;Xh(s,13752,1,0,22,0)|0;Xh(s,13760,1,1,21,0)|0;o=s+65|0;if(!(da(o>>0|0,1,0,0)|0)){g=an(g,11152,p)|0;if(!g)g=0;else g=da(g+8|0,4,0,0)|0|0;ea(s+8|0,g|0,4,0);ea(s+48|0,c|0,4,0);g=Vn(d,a,l,s,k,h)|0;if(!g){a=da(k|0,4,0,0)|0|0;e=ym(da(s|0,4,0,0)|0|0,a,s,(da(n|0,4,0,0)|0|0)+4|0,0,da(l|0,4,0,0)|0|256)|0;if((e|0)==3082)e=7;else if(!e){c=da((da(n|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;ea((da(c+4|0,4,0,0)|0|0)+4|0,da(c|0,4,0,0)|0|0,4,0);c=Wn(s,c)|0;ea((da(n|0,4,0,0)|0|0)+12|0,c|0,4,0);if(!(da(o>>0|0,1,0,0)|0))ea(s+62>>0|0,da(c+77>>0|0,1,0,0)|0|0|0,1,0);c=pg(84,0)|0;if(!c){ea(o>>0|0,1|0,1,0);c=0}else{f=c+0|0;e=f+84|0;do{ea(f>>0|0,0|0,1,0);f=f+1|0}while((f|0)<(e|0));g=c+77|0;f=c+8|0;e=f+64|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(e|0));ea(g>>0|0,1|0,1,0)}l=da(n|0,4,0,0)|0|0;ea(l+28|0,c|0,4,0);ea(l|0,13768|0,4,0);ea(l+8>>0|0,3|0,1,0);ea(l+16|0,10728|0,4,0);ea(l+24>>0|0,1|0,1,0);ea(m|0,-1607883113|0,4,0);if(da(o>>0|0,1,0,0)|0){e=s;break}f=s+52|0;ea(f|0,0|0,4,0);g=s+236|0;c=da(g|0,4,0,0)|0|0;do if(c){e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);break}else{ug(c);break}}while(0);if((Bf(s,14632,2)|0)==7)ea(o>>0|0,1|0,1,0);c=Mf(s)|0;do if(!c){c=da(2656*4|0,4,0,0)|0|0;if(c){b:do if((c|0)>0){f=0;while(1){c=da((da(2658*4|0,4,0,0)|0|0)+(f<<2)|0,4,0,0)|0|0;ea(q|0,0|0,4,0);if(c){e=$b[(fa(c|0,63|0)|0)&63](s,q,13776)|0;c=da(q|0,4,0,0)|0|0;if(e)break}else c=0;Vc(c);f=f+1|0;if((f|0)>=(da(2656*4|0,4,0,0)|0|0)){r=40;break b}}ea(p|0,c|0,4,0);tg(s,e,14592,p);e=da(q|0,4,0,0)|0|0}else r=40;while(0);if((r|0)==40){ea(q|0,0|0,4,0);e=0}Vc(e)}if(Mf(s)|0){e=s;break a}}else{ea(f|0,c|0,4,0);e=da(g|0,4,0,0)|0|0;if(e){c=e+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);break}else{ug(e);break}}}while(0);Mh(s,0,da(2193*4|0,4,0,0)|0|0,da(2194*4|0,4,0,0)|0|0)|0;ea(s+216|0,21|0,4,0);ea(s+220|0,1e3|0,4,0);e=s;break}ea(s+52|0,e|0,4,0);c=da(s+236|0,4,0,0)|0|0;if(!c){e=s;break}e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(e|0,1|0,2,0);e=s;break}else{ug(c);e=s;break}}else if((g|0)==7)ea(o>>0|0,1|0,1,0);a=da(h|0,4,0,0)|0|0;ea(p|0,a|0,4,0);tg(s,g,(a|0)!=0?10344:0,p);Vc(a);a=da(k|0,4,0,0)|0|0;e=s}else{a=0;e=s}}else{a=0;e=0}while(0);Vc(a);c=Mf(e)|0;if((c|0)==7){Nh(e,0)|0;e=0}else if(c)ea(s+76|0,1266094736|0,4,0);ea(b|0,e|0,4,0);e=c&255}while(0);i=t;return e|0}function Xh(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();g=o;n=c&255;if(!(c<<24>>24==4|c<<24>>24==8))if((n+-1|0)>>>0>2){ea(g|0,129758|0,4,0);ea(g+4|0,10788|0,4,0);ad(21,13648,g);g=21}else{m=n;h=4}else{m=2;h=4}do if((h|0)==4){l=m&255;h=Xn(a,l,b,0)|0;if((h|0)!=0?(da(h+12|0,4,0,0)|0|0)!=0:0){if(da(a+148|0,4,0,0)|0){tg(a,5,13680,g);g=5;break}c=da(a+4|0,4,0,0)|0|0;if(c)do{k=c+88|0;ea(k|0,da(k|0,2,0,0)|0|8|0,2,0);c=da(c+52|0,4,0,0)|0|0}while((c|0)!=0);k=h+4|0;if(((da(k>>0|0,1,0,1)|0)&247|0)==(m|0)){c=an(a+428|0,b,g)|0;if(!c)h=0;else h=da(c+8|0,4,0,0)|0|0;g=0;do{if((da(h+(g*20|0)+4>>0|0,1,0,0)|0|0)==(da(k>>0|0,1,0,0)|0|0)){c=da(h+(g*20|0)+16|0,4,0,0)|0|0;if(c)bc[(fa(c|0,31|0)|0)&31](da(h+(g*20|0)+8|0,4,0,0)|0|0);ea(h+(g*20|0)+12|0,0|0,4,0)}g=g+1|0}while((g|0)!=3)}}c=Xn(a,l,b,1)|0;if(c){ea(c+12|0,e|0,4,0);ea(c+8|0,d|0,4,0);ea(c+16|0,f|0,4,0);ea(c+4>>0|0,m|n&8|0,1,0);ea(a+52|0,0|0,4,0);g=da(a+236|0,4,0,0)|0|0;if(g){c=g+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(c|0,1|0,2,0);g=0;break}else{ug(g);g=0;break}}else g=0}else g=7}while(0);i=o;return g|0}function Yh(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=a+24|0;j=(da(i|0,4,0,0)|0)&2;k=a+145|0;ea(k>>0|0,1|0,1,0);h=a+16|0;f=da(h|0,4,0,0)|0|0;ea(a+62>>0|0,da((da(f+12|0,4,0,0)|0|0)+77>>0|0,1,0,0)|0|0|0,1,0);e=a+20|0;d=0;while(1){if((d|0)>=(da(e|0,4,0,0)|0|0)){d=f;f=6;break}if(!((d|0)==1?1:((da((da(f+(d<<4)+12|0,4,0,0)|0|0)+78|0,2,0,0)|0)&1)!=0)?(c=Yn(a,d,b)|0,(c|0)!=0):0){f=9;break}f=da(h|0,4,0,0)|0|0;d=d+1|0}if((f|0)==6)if(((da((da(d+28|0,4,0,0)|0|0)+78|0,2,0,0)|0)&1)==0?(g=Yn(a,1,b)|0,(g|0)!=0):0){pl(da((da(h|0,4,0,0)|0|0)+28|0,4,0,0)|0|0);c=g}else c=0;else if((f|0)==9)um(a,d);ea(k>>0|0,0|0,1,0);if(!(c|j))ea(i|0,(da(i|0,4,0,0)|0)&-3|0,4,0);return c|0}function Zh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;m=i;i=i+16|0;if((i|0)>=(j|0))ba();l=m;h=a+20|0;a:do if((da(h|0,4,0,0)|0|0)>0){k=(c|0)==0;f=a+16|0;g=0;a=0;do{e=(g|0)<2^g;d=da(f|0,4,0,0)|0|0;if(!(!k?(cd(c,da(d+(e<<4)|0,4,0,0)|0|0)|0)!=0:0)){a=an((da(d+(e<<4)+12|0,4,0,0)|0|0)+8|0,b,l)|0;if(a){a=da(a+8|0,4,0,0)|0|0;if(a)break a}else a=0}g=g+1|0}while((g|0)<(da(h|0,4,0,0)|0|0))}else a=0;while(0);i=m;return a|0}function _h(a){a=a|0;if((cd(a,12936)|0)!=0?(cd(a,12944)|0)!=0:0)a=(cd(a,12952)|0)==0&1;else a=1;return a|0}function $h(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=da(a+20|0,4,0,0)|0|0;a:do if((f|0)>0){c=da(a+16|0,4,0,0)|0|0;d=(b|0)==0;e=0;while(1){a=da(c+(e<<4)+4|0,4,0,0)|0|0;if(a){if(d)break a;if(!(cd(b,da(c+(e<<4)|0,4,0,0)|0|0)|0))break a}e=e+1|0;if((e|0)>=(f|0)){a=0;break}}}else a=0;while(0);return a|0}function ai(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:do if(!a)b=0;else{b=b+-1|0;b:do if((da(a|0,4,0,0)|0|0)>>>0>4e3){d=a;c=b;while(1){b=d+8|0;e=da(b|0,4,0,0)|0|0;if(!e){g=a;break}b=(c>>>0)%(e>>>0)|0;c=d+12+(((c>>>0)/(e>>>0)|0)<<2)|0;a=da(c|0,4,0,0)|0|0;if(!a){a=pg(512,0)|0;if(!a){b=a;i=21;break}ew(a|0,0,512)|0;ea(a|0,e|0,4,0);ea(c|0,a|0,4,0)}if((da(a|0,4,0,0)|0|0)>>>0>4e3){d=a;c=b}else break b}if((i|0)==21){ea(c|0,b|0,4,0);b=7;break a}h=c+1|0;c=(c>>>0)%125|0;f=d+12|0;a=da(d+(c<<2)+12|0,4,0,0)|0|0;if(!a){a=da(d+4|0,4,0,0)|0|0;if(a>>>0<124){b=d;i=20}}else{do{if((a|0)==(h|0)){b=0;break a}c=c+1|0;c=c>>>0>124?0:c;a=da(d+(c<<2)+12|0,4,0,0)|0|0}while((a|0)!=0);a=da(d+4|0,4,0,0)|0|0;if(a>>>0<=61){b=d;i=20}}if((i|0)==20){ea(d+4|0,a+1|0,4,0);ea(b+(c<<2)+12|0,h|0,4,0);b=0;break a}e=pg(500,0)|0;if(!e){b=7;break a}jw(e|0,f|0,500)|0;ew(f|0,0,500)|0;ea(b|0,(((da(g|0,4,0,0)|0|0)+124|0)>>>0)/125|0|0,4,0);a=0;b=ai(d,h)|0;do{c=da(e+(a<<2)|0,4,0,0)|0|0;if(c)b=ai(d,c)|0|b;a=a+1|0}while((a|0)!=125);Vc(e);break a}while(0);a=a+12+(b>>>3)|0;ea(a>>0|0,da(a>>0|0,1,0,1)|0|0|1<<(b&7)|0,1,0);b=0}while(0);return b|0}function bi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:do if(a){d=b+-1|0;while(1){b=da(a+8|0,4,0,0)|0|0;if(!b)break;a=da(a+12+(((d>>>0)/(b>>>0)|0)<<2)|0,4,0,0)|0|0;if(!a)break a;else d=(d>>>0)%(b>>>0)|0}if((da(a|0,4,0,0)|0|0)>>>0<4001){a=a+12+(d>>>3)|0;ea(a>>0|0,(da(a>>0|0,1,0,1)|0|0)&(1<<(d&7)^255)|0,1,0);break}h=a+12|0;jw(c|0,h|0,500)|0;ew(h|0,0,500)|0;h=a+4|0;ea(h|0,0|0,4,0);e=d+1|0;g=0;do{f=c+(g<<2)|0;b=da(f|0,4,0,0)|0|0;if(!((b|0)==0|(b|0)==(e|0))){d=((b+-1|0)>>>0)%125|0;ea(h|0,(da(h|0,4,0,0)|0|0)+1|0,4,0);b=a+(d<<2)+12|0;if(da(b|0,4,0,0)|0)do{b=d+1|0;d=b>>>0>124?0:b;b=a+(d<<2)+12|0}while((da(b|0,4,0,0)|0|0)!=0);ea(b|0,da(f|0,4,0,0)|0|0,4,0)}g=g+1|0}while((g|0)!=125)}while(0);return}function ci(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if((a|0)!=0?(c=b+-1|0,c>>>0<(da(a|0,4,0,0)|0|0)>>>0):0){while(1){b=da(a+8|0,4,0,0)|0|0;if(!b)break;a=da(a+12+(((c>>>0)/(b>>>0)|0)<<2)|0,4,0,0)|0|0;if(!a){c=0;break a}else c=(c>>>0)%(b>>>0)|0}if((da(a|0,4,0,0)|0|0)>>>0<4001){c=((da(a+12+(c>>>3)>>0|0,1,0,1)|0|0)&1<<(c&7)|0)!=0&1;break}d=c+1|0;c=(c>>>0)%125|0;b=da(a+(c<<2)+12|0,4,0,0)|0|0;if(b)while(1){if((b|0)==(d|0)){c=1;break a}c=((c+1|0)>>>0)%125|0;b=da(a+(c<<2)+12|0,4,0,0)|0|0;if(!b){c=0;break}}else c=0}else c=0;while(0);return c|0}function di(a){a=a|0;var b=0,c=0;if(a){if(da(a+8|0,4,0,0)|0){b=a+12|0;c=0;do{di(da(b+(c<<2)|0,4,0,0)|0|0);c=c+1|0}while((c|0)!=125)}Vc(a)}return}function ei(a,b){a=a|0;b=b|0;var c=0;a:do if((b|0)>=2?(c=da(11824+(((da(9328+(da(a>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)<<2^b^(da(9328+(da(a+(b+-1)>>0|0,1,0,1)|0|0)>>0|0,1,0,1)|0|0)*3|0)%127|0)>>0|0,1,0,0)|0|0,c<<24>>24!=0):0){c=c&255;while(1){c=c+-1|0;if((da(12080+c>>0|0,1,0,1)|0|0|0)==(b|0)?(Ec(11264+(da(12208+(c<<1)|0,2,0,1)|0|0)|0,a,b)|0)==0:0)break;c=da(11952+c>>0|0,1,0,0)|0|0;if(!(c<<24>>24)){c=27;break a}else c=c&255}c=da(12456+c>>0|0,1,0,1)|0|0}else c=27;while(0);return c|0}function fi(a){a=a|0;var b=0,c=0,d=0;ea(2174*4|0,a|0,4,0);if((da(2184*4|0,4,0,0)|0|0)>>>0<a>>>0)ea(2184*4|0,a|0,4,0);c=da(2264*4|0,4,0,0)|0|0;if((c|0)==0|(da(2235*4|0,4,0,0)|0|0)<(a|0)){b=pg(a,((a|0)<0)<<31>>31)|0;if((da(2186*4|0,4,0,0)|0|0)!=0&(b|0)!=0?(d=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0,d=(da(2170*4|0,4,0,0)|0|0)+d|0,ea(2170*4|0,d|0,4,0),d>>>0>(da(2180*4|0,4,0,0)|0|0)>>>0):0)ea(2180*4|0,d|0,4,0)}else{b=da(2263*4|0,4,0,0)|0|0;ea(2263*4|0,da(b|0,4,0,0)|0|0,4,0);ea(2264*4|0,c+-1|0,4,0);a=(da(2169*4|0,4,0,0)|0|0)+1|0;ea(2169*4|0,a|0,4,0);if(a>>>0>(da(2179*4|0,4,0,0)|0|0)>>>0)ea(2179*4|0,a|0,4,0)}return b|0}function gi(a){a=a|0;var b=0;do if(a){if((da(2234*4|0,4,0,0)|0|0)>>>0<=a>>>0&(da(2262*4|0,4,0,0)|0|0)>>>0>a>>>0){ea(a|0,da(2263*4|0,4,0,0)|0|0,4,0);ea(2263*4|0,a|0,4,0);ea(2264*4|0,(da(2264*4|0,4,0,0)|0|0)+1|0,4,0);ea(2169*4|0,(da(2169*4|0,4,0,0)|0|0)+-1|0,4,0);break}if(!(da(2186*4|0,4,0,0)|0)){bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}else{b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;ea(2170*4|0,(da(2170*4|0,4,0,0)|0|0)-b|0,4,0);ea(2166*4|0,(da(2166*4|0,4,0,0)|0|0)-b|0,4,0);ea(2175*4|0,(da(2175*4|0,4,0,0)|0|0)+-1|0,4,0);bc[(fa(da(8744+40|0,4,0,0)|0|0,31|0)|0)&31](a);break}}while(0);return}function hi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;d=da(a>>0|0,1,0,0)|0|0;a:do if(((d&255)+-48|0)>>>0>=10){f=d;d=a;while(1){e=d+1|0;if(!(f<<24>>24))break;f=da(e>>0|0,1,0,0)|0|0;d=e}f=d-a&1073741823;d=7-b|0;if((d|0)>0){e=0;while(1){if((da(11248+e>>0|0,1,0,1)|0|0|0)==(f|0)?(Ec(11216+(da(11240+e>>0|0,1,0,1)|0|0)|0,a,f)|0)==0:0){c=e;break}e=e+1|0;if((e|0)>=(d|0))break a}c=da(11256+c>>0|0,1,0,0)|0|0}}else{ea(e|0,0|0,4,0);Cn(a,e)|0;c=(da(e|0,4,0,0)|0)&255}while(0);i=g;return c|0}function ii(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=da(a>>0|0,1,0,0)|0|0;do if(c<<24>>24==48){d=da(a+1>>0|0,1,0,0)|0|0;if(!(d<<24>>24==88|d<<24>>24==120))if(!a){c=0;i=15;break}else{e=c;c=a;i=12;break}c=da(a+2>>0|0,1,0,0)|0|0;if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){e=48;c=a;i=12}else{e=2;while(1){d=e+1|0;if(c<<24>>24!=48)break;c=da(a+d>>0|0,1,0,0)|0|0;e=d}if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){f=a+e|0;g=0;c=0;d=e}else{g=0;f=0;d=e;while(1){g=hw(g|0,f|0,4)|0;h=C;f=c<<24>>24;g=(0-(f>>>6&1)&9)+f&15|g;d=d+1|0;f=a+d|0;c=da(f>>0|0,1,0,0)|0|0;if(!((da(10368+(c&255)>>0|0,1,0,0)|0)&8)){c=h;break}else f=h}}h=b;ea(h|0,g|0,4,0);ea(h+4|0,c|0,4,0);if(!(da(f>>0|0,1,0,0)|0))c=(d-e|0)<17;else c=0;c=c&1^1}}else{e=c;c=a;i=12}while(0);if((i|0)==12){while(1){d=c+1|0;if(!(e<<24>>24))break;e=da(d>>0|0,1,0,0)|0|0;c=d;i=12}c=c-a&1073741823;i=15}if((i|0)==15)c=Tl(a,b,c,1)|0;return c|0}function ji(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=i;i=i+1264|0;if((i|0)>=(j|0))ba();x=z;w=z+152|0;q=z+742|0;r=z+76|0;n=z+228|0;k=d&-256;o=d&16;v=d&8;p=d&4;h=d&1;s=d&2;if((p|0)!=0?(k|0)==524288|(k|0)==2048|(k|0)==16384:0)u=1;else u=0;t=da(12114*4|0,4,0,0)|0|0;if((t|0)!=(qb()|0)?(ea(12114*4|0,qb()|0|0,4,0),(Kc()|0)==0):0)ea(9064|0,0|0,1,0);l=c+0|0;m=l+44|0;do{ea(l|0,0|0,4,0);l=l+4|0}while((l|0)<(m|0));t=(k|0)==256;do if(t){a:do if((qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](b,x)|0)==0?(f=da(12178*4|0,4,0,0)|0|0,(f|0)!=0):0){k=da(x|0,4,0,0)|0|0;l=da(x+72|0,4,0,0)|0|0;while(1){if((da(f|0,4,0,0)|0|0)==(k|0)?(da(f+4|0,4,0,0)|0|0)==(l|0):0)break;f=da(f+32|0,4,0,0)|0|0;if(!f){y=18;break a}}k=f+28|0;f=da(k|0,4,0,0)|0|0;if(f){while(1){m=k;k=f+8|0;l=f;f=da(k|0,4,0,0)|0|0;if((da(l+4|0,4,0,0)|0|0)==(d|0)){k=m;break}if(!f){y=18;break a}}ea(k|0,f|0,4,0);n=da(l|0,4,0,0)|0|0;f=l}else y=18}else y=18;while(0);if((y|0)==18){f=Sc(12)|0;if(!f){f=7;break}else n=-1}ea(c+28|0,f|0,4,0);k=p<<4|s;f=(o|0)!=0;if((n|0)<0){p=f;o=f?k|131200:k;f=b;y=23}else{m=n;f=b;y=36}}else{if(!b){f=Zn(514,n)|0;if(!f)f=n;else break}else f=b;y=p<<4|s;o=(o|0)!=0;p=o;o=o?y|131200:y;y=23}while(0);b:do if((y|0)==23){if(!(d&526336)){k=(v|0)==0?0:384;n=0;m=0}else{if(!f)k=0;else{k=f;while(1)if(!(da(k>>0|0,1,0,0)|0))break;else k=k+1|0;k=k-f&1073741823}do k=k+-1|0;while((da(f+k>>0|0,1,0,0)|0|0)!=45);jw(q|0,f|0,k|0)|0;ea(q+k>>0|0,0|0,1,0);if(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](q,r)|0){f=1802;break}k=(da(r+12|0,4,0,0)|0)&511;n=da(r+20|0,4,0,0)|0|0;m=da(r+24|0,4,0,0)|0|0}l=_n(f,o,k)|0;do if((l|0)<0){if(!(p|((s|0)==0|(da(Gb()|0|0,4,0,0)|0|0)==21))?(g=_n(f,o&131200,k)|0,(g|0)>=0):0){d=d&-8|1;h=1;break}ea(x|0,31186|0,4,0);ea(x+4|0,10788|0,4,0);ad(14,14848,x);f=bo(14,47896,f,31186)|0;if(!f){f=0;break b}g=c+28|0;y=70;break b}else g=l;while(0);if(!(d&526336)){m=g;y=36}else{$b[(fa(da(47552+244|0,4,0,0)|0|0,63|0)|0)&63](g,n,m)|0;m=g;y=36}}while(0);c:do if((y|0)==36){if(e)ea(e|0,d|0,4,0);n=c+28|0;g=da(n|0,4,0,0)|0|0;if(g){ea(g|0,m|0,4,0);ea(g+4|0,d|0,4,0)}if(v)kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](f)|0;f=v<<2;f=(h|0)==0?f:f|2;f=t?f:f|128;f=u?f|8:f;v=f|d&64;ea(c+12|0,m|0,4,0);ea(c+4|0,a|0,4,0);ea(c+32|0,b|0,4,0);g=c+18|0;ea(g|0,v&255|0,2,0);if(eg((v&64|0)!=0?b:0,48496,1)|0)ea(g|0,da(g|0,2,0,1)|0|16|0,2,0);if(!(Zv(da(a+16|0,4,0,0)|0|0,1e4)|0))ea(g|0,da(g|0,2,0,1)|0|1|0,2,0);d:do if(!(f&128)){f=qc[(fa(da(da(a+20|0,4,0,0)|0|0,4,0,0)|0|0,127|0)|0)&127](b,c)|0;if((f|0)!=48504){if((f|0)!=47472){y=64;break}g=(fw(b|0)|0)+6|0;f=Sc(g)|0;if(f){ea(x|0,b|0,4,0);$c(g,f,48584,x)|0;ea(c+24|0,f|0,4,0);ea(c+20|0,0|0,4,0);f=47472;break}ea(c+24|0,0|0,4,0);ea(c+20|0,0|0,4,0);if((m|0)<=-1){g=n;f=7;y=70;break c}$n(c,m,30794);g=n;f=7;y=70;break c}do if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(c+12|0,4,0,0)|0|0,w)|0)){f=x;ea(f|0,0|0,4,0);ea(f+4|0,0|0,4,0);ea(x|0,da(w|0,4,0,0)|0|0,4,0);ea(x+4|0,da(w+72|0,4,0,0)|0|0,4,0);f=da(12178*4|0,4,0,0)|0|0;e:do if(!f)y=53;else{while(1){if(!(Yv(x,f,8)|0))break;f=da(f+32|0,4,0,0)|0|0;if(!f){y=53;break e}}x=f+16|0;ea(x|0,(da(x|0,4,0,0)|0|0)+1|0,4,0)}while(0);if((y|0)==53){g=Sc(40)|0;if(!g){f=7;g=c+20|0;break}l=g+0|0;m=l+40|0;do{ea(l|0,0|0,4,0);l=l+4|0}while((l|0)<(m|0));f=da(x+4|0,4,0,0)|0|0;y=g;ea(y|0,da(x|0,4,0,0)|0|0,4,0);ea(y+4|0,f|0,4,0);ea(g+16|0,1|0,4,0);ea(g+32|0,da(12178*4|0,4,0,0)|0|0,4,0);ea(g+36|0,0|0,4,0);f=da(12178*4|0,4,0,0)|0|0;if(f)ea(f+36|0,g|0,4,0);ea(12178*4|0,g|0,4,0);f=g}ea(c+8|0,f|0,4,0);f=48504;y=64;break d}else{f=da(Gb()|0|0,4,0,0)|0|0;g=c+20|0;ea(g|0,f|0,4,0);f=(f|0)==75?22:10}while(0);$n(c,m,30709);ea(g|0,0|0,4,0);g=n;y=70;break c}else{f=48376;y=64}while(0);if((y|0)==64)ea(c+20|0,0|0,4,0);ea(c|0,f|0,4,0);ao(c);f=0}while(0);if((y|0)==70)Vc(da(g|0,4,0,0)|0|0);i=z;return f|0}function ki(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;do if((kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](b)|0)==-1)if((da(Gb()|0|0,4,0,0)|0|0)==2)a=5898;else a=bo(2570,48032,b,31314)|0;else if(c&1){a=qc[(fa(da(47552+208|0,4,0,0)|0|0,127|0)|0)&127](b,d)|0;if((a|0)==14){a=0;break}else if(a)break;if(!(Fb(da(d|0,4,0,0)|0|0)|0))a=0;else a=bo(1290,48488,b,31329)|0;if(kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](da(d|0,4,0,0)|0|0)|0)bo(4106,47856,0,31331)|0}else a=0;while(0);i=e;return a|0}function li(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+80|0;if((i|0)>=(j|0))ba();e=f;if((c|0)==2)a=4;else if((c|0)==1)a=6;else a=0;a=(qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](b,a)|0)==0;ea(d|0,a&1|0,4,0);if((!((c|0)!=0|a^1)?(qc[(fa(da(47552+52|0,4,0,0)|0|0,127|0)|0)&127](b,e)|0)==0:0)?(da(e+36|0,4,0,0)|0|0)==0:0)ea(d|0,0|0,4,0);i=f;return 0}function mi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;a=c+-1|0;ea(d+a>>0|0,0|0,1,0);do if((da(b>>0|0,1,0,0)|0|0)!=47)if(!(qc[(fa(da(47552+40|0,4,0,0)|0|0,127|0)|0)&127](d,a)|0)){ea(e|0,31416|0,4,0);ea(e+4|0,10788|0,4,0);ad(14,14848,e);a=bo(14,47904,b,31416)|0;break}else{a=fw(d|0)|0;ea(e|0,b|0,4,0);$c(c-a|0,d+a|0,48480,e)|0;a=0;break}else{ea(e|0,b|0,4,0);$c(c,d,10344,e)|0;a=0}while(0);i=f;return a|0}function ni(a,b){a=a|0;b=b|0;return Cb(b|0,258)|0}function oi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;a=Wa()|0;if(a){ea(d|0,a|0,4,0);$c(b,c,10344,d)|0}i=e;return}function pi(a,b,c){a=a|0;b=b|0;c=c|0;return _a(b|0,c|0)|0}function qi(a,b){a=a|0;b=b|0;Db(b|0)|0;return}function ri(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+16|0;if((i|0)>=(j|0))ba();d=e;ew(c|0,0,b|0)|0;ea(12114*4|0,qb()|0|0,4,0);a=_n(48464,0,0)|0;if((a|0)>=0){do if(($b[(fa(da(47552+100|0,4,0,0)|0|0,63|0)|0)&63](a,c,b)|0)>=0)break;while((da(Gb()|0|0,4,0,0)|0|0)==4);if(kc[(fa(da(47552+16|0,4,0,0)|0|0,127|0)|0)&127](a)|0)bo(4106,47856,0,31521)|0}else{Ob(d|0)|0;a=da(d|0,4,0,0)|0|0;ea(c>>0|0,a|0,1,0);ea(c+1>>0|0,a>>8|0,1,0);ea(c+2>>0|0,a>>16|0,1,0);ea(c+3>>0|0,a>>24|0,1,0);a=c+4|0;b=da(12114*4|0,4,0,0)|0|0;ea(a>>0|0,b|0,1,0);ea(a+1>>0|0,b>>8|0,1,0);ea(a+2>>0|0,b>>16|0,1,0);ea(a+3>>0|0,b>>24|0,1,0);b=8}i=e;return b|0}function si(a,b){a=a|0;b=b|0;a=(b+999999|0)/1e6|0;Lb(a|0)|0;return a*1e6|0}function ti(a,b){a=a|0;b=b|0;var c=0,d=0;a=i;i=i+16|0;if((i|0)>=(j|0))ba();d=a;c=d;ea(c|0,0|0,4,0);ea(c+4|0,0|0,4,0);c=vi(0,d)|0;ea(b|0,+((+((da(d|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(d+4|0,4,0,0)|0|0))/864.0e5),8,1);i=a;return c|0}function ui(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function vi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=i;i=i+16|0;if((i|0)>=(j|0))ba();a=c;if(!(Rb(a|0,0)|0)){e=da(a|0,4,0,0)|0|0;e=rw(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;e=iw(e|0,C|0,1045635584,49096)|0;d=(da(a+4|0,4,0,0)|0|0)/1e3|0;d=iw(e|0,C|0,d|0,((d|0)<0)<<31>>31|0)|0;a=b;ea(a|0,d|0,4,0);ea(a+4|0,C|0,4,0);a=0}else a=1;i=c;return a|0}function wi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:do if(!b){a=0;do{b=da(47560+(a*12|0)|0,4,0,0)|0|0;if(b)ea(47556+(a*12|0)|0,b|0,4,0);a=a+1|0}while((a|0)!=25);b=0}else{a=0;while(1){if(!(Zv(b,da(47552+(a*12|0)|0,4,0,0)|0|0)|0)){d=a;break}a=a+1|0;if(a>>>0>=25){b=12;break a}}b=47560+(d*12|0)|0;a=da(b|0,4,0,0)|0|0;if(!a){a=da(47556+(d*12|0)|0,4,0,0)|0|0;ea(b|0,a|0,4,0)}ea(47556+(d*12|0)|0,((c|0)==0?a:c)|0,4,0);b=0}while(0);return b|0}function xi(a,b){a=a|0;b=b|0;var c=0;a=0;while(1){if(!(Zv(b,da(47552+(a*12|0)|0,4,0,0)|0|0)|0)){c=4;break}a=a+1|0;if(a>>>0>=25){a=0;break}}if((c|0)==4)a=da(47556+(a*12|0)|0,4,0,0)|0|0;return a|0}function yi(a,b){a=a|0;b=b|0;var c=0,d=0;a:do if(!b)a=-1;else{c=0;while(1){a=c+1|0;if(!(Zv(b,da(47552+(c*12|0)|0,4,0,0)|0|0)|0)){a=c;break a}if((a|0)<24)c=a;else break}}while(0);while(1){a=a+1|0;if((a|0)>=25){a=0;break}if(da(47556+(a*12|0)|0,4,0,0)|0){d=6;break}}if((d|0)==6)a=da(47552+(a*12|0)|0,4,0,0)|0|0;return a|0}function zi(a,b){a=a|0;b=b|0;return 48504}function Ai(a,b){a=a|0;b=b|0;return 48376}function Bi(a,b){a=a|0;b=b|0;return 47472}function Ci(a){a=a|0;var b=0,c=0;b=da(a+4|0,4,0,0)|0|0;if(b)do{c=b;b=da(b|0,4,0,0)|0|0;Vc(c)}while((b|0)!=0);b=a+0|0;c=b+40|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(c|0));ea(a|0,14696|0,4,0);return 0}function Di(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=a+24|0;f=k;if(((da(f|0,4,0,0)|0|0)!=(d|0)?1:(da(f+4|0,4,0,0)|0|0)!=(e|0))|(d|0)==0&(e|0)==0){f=da(a+4|0,4,0,0)|0|0;if(!((f|0)==0|((e|0)<0|(e|0)==0&d>>>0<1020))){g=1020;h=0;do{g=iw(g|0,h|0,1020,0)|0;h=C;f=da(f|0,4,0,0)|0|0}while(!((f|0)==0|((h|0)>(e|0)|(h|0)==(e|0)&g>>>0>d>>>0)))}}else f=da(a+32|0,4,0,0)|0|0;i=qw(d|0,e|0,1020,0)|0;j=c;g=b;while(1){b=1020-i|0;h=(j|0)<(b|0)?j:b;jw(g|0,f+i+4|0,h|0)|0;j=j-b|0;if((j|0)<=-1)break;f=da(f|0,4,0,0)|0|0;if(!((f|0)!=0&(j|0)>0))break;else{i=0;g=g+h|0}}e=iw(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0;c=k;ea(c|0,e|0,4,0);ea(c+4|0,C|0,4,0);ea(a+32|0,f|0,4,0);return 0}function Ei(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:do if((c|0)>0){h=a+8|0;i=a+16|0;g=a+4|0;d=h;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;while(1){a=da(i|0,4,0,0)|0|0;d=qw(e|0,d|0,1020,0)|0;f=1020-d|0;f=(c|0)<(f|0)?c:f;if(!d){e=Sc(1024)|0;if(!e){d=3082;break a}ea(e|0,0|0,4,0);if(!a){ea(g|0,e|0,4,0);a=e}else{ea(a|0,e|0,4,0);a=e}ea(i|0,a|0,4,0)}jw(a+d+4|0,b|0,f|0)|0;c=c-f|0;e=h;e=iw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,f|0,((f|0)<0)<<31>>31|0)|0;d=C;a=h;ea(a|0,e|0,4,0);ea(a+4|0,d|0,4,0);if((c|0)<=0){d=0;break}else b=b+f|0}}else d=0;while(0);return d|0}function Fi(a,b,c){a=a|0;b=b|0;c=c|0;b=da(a+4|0,4,0,0)|0|0;if(b)do{c=b;b=da(b|0,4,0,0)|0|0;Vc(c)}while((b|0)!=0);c=a+0|0;b=c+40|0;do{ea(c|0,0|0,4,0);c=c+4|0}while((c|0)<(b|0));ea(a|0,14696|0,4,0);return 0}function Gi(a,b){a=a|0;b=b|0;return 0}function Hi(a,b){a=a|0;b=b|0;var c=0;c=a+8|0;a=da(c+4|0,4,0,0)|0|0;ea(b|0,da(c|0,4,0,0)|0|0,4,0);ea(b+4|0,a|0,4,0);return 0}function Ii(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));if(da(2187*4|0,4,0,0)|0){ea(3146*4|0,8|0,4,0);ea(3159*4|0,8|0,4,0)}ea(3149*4|0,10|0,4,0);ea(3153*4|0,1|0,4,0);return 0}function Ji(a){a=a|0;var b=0;a=12584|0;b=a+68|0;do{ea(a|0,0|0,4,0);a=a+4|0}while((a|0)<(b|0));return}function Ki(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=pg(48,0)|0;if(d){e=d+0|0;f=e+48|0;do{ea(e>>0|0,0|0,1,0);e=e+1|0}while((e|0)<(f|0));ea(d|0,12584|0,4,0);ea(d+4|0,a|0,4,0);ea(d+8|0,b|0,4,0);c=(c|0)!=0;ea(d+12|0,c&1|0,4,0);co(d);if(c){ea(d+16|0,10|0,4,0);c=da(3148*4|0,4,0,0)|0|0;ea(3148*4|0,c+10|0,4,0);ea(3149*4|0,(da(3147*4|0,4,0,0)|0|0)+10+(-10-c)|0,4,0)}if(!(da(d+40|0,4,0,0)|0)){Ri(d);d=0}}else d=0;return d|0}function Li(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;if(da(a+12|0,4,0,0)|0){c=da(a|0,4,0,0)|0|0;d=a+20|0;f=c+4|0;e=(da(f|0,4,0,0)|0|0)+(b-(da(d|0,4,0,0)|0|0))|0;ea(f|0,e|0,4,0);ea(c+12|0,e+10-(da(c+8|0,4,0,0)|0|0)|0,4,0);ea(d|0,b|0,4,0);ea(a+24|0,((b*9|0)>>>0)/10|0|0,4,0);eo(c)}return}function Mi(a){a=a|0;return da(a+36|0,4,0,0)|0|0}function Ni(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da((da(a+44|0,4,0,0)|0|0)+(((b>>>0)%((da(a+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0,4,0,0)|0|0;a:do if(d){while(1){if((da(d+8|0,4,0,0)|0|0)==(b|0))break;d=da(d+16|0,4,0,0)|0|0;if(!d){e=6;break a}}if(!(da(d+12>>0|0,1,0,0)|0))fo(d)}else e=6;while(0);if((e|0)==6)if(!c)d=0;else d=go(a,b,c)|0;return d|0}function Oi(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(a|0,4,0,0)|0|0;if((c|0)==0?(da(e+16|0,4,0,0)|0|0)>>>0<=(da(e+4|0,4,0,0)|0|0)>>>0:0){c=e+20|0;d=da(c|0,4,0,0)|0|0;if(!d)ea(e+24|0,b|0,4,0);else{ea(d+28|0,b|0,4,0);ea(b+24|0,d|0,4,0)}ea(c|0,b|0,4,0);d=a+32|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);ea(b+12>>0|0,0|0,1,0)}else{e=da(b+20|0,4,0,0)|0|0;c=(da(e+44|0,4,0,0)|0|0)+((((da(b+8|0,4,0,0)|0|0)>>>0)%((da(e+40|0,4,0,0)|0|0)>>>0)|0)<<2)|0;while(1){a=da(c|0,4,0,0)|0|0;d=a+16|0;if((a|0)==(b|0))break;else c=d}ea(c|0,da(d|0,4,0,0)|0|0,4,0);d=e+36|0;ea(d|0,(da(d|0,4,0,0)|0|0)+-1|0,4,0);ho(b)}return}function Pi(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;f=da(a+40|0,4,0,0)|0|0;g=a+44|0;c=(da(g|0,4,0,0)|0|0)+(((c>>>0)%(f>>>0)|0)<<2)|0;while(1){e=da(c|0,4,0,0)|0|0;if((e|0)==(b|0))break;else c=e+16|0}e=b+16|0;ea(c|0,da(e|0,4,0,0)|0|0,4,0);ea(b+8|0,d|0,4,0);c=(da(g|0,4,0,0)|0|0)+(((d>>>0)%(f>>>0)|0)<<2)|0;ea(e|0,da(c|0,4,0,0)|0|0,4,0);ea(c|0,b|0,4,0);c=a+28|0;if((da(c|0,4,0,0)|0|0)>>>0<d>>>0)ea(c|0,d|0,4,0);return}function Qi(a,b){a=a|0;b=b|0;var c=0;c=a+28|0;if((da(c|0,4,0,0)|0|0)>>>0>=b>>>0){io(a,b);ea(c|0,b+-1|0,4,0)}return}function Ri(a){a=a|0;var b=0,c=0,d=0,e=0;b=da(a|0,4,0,0)|0|0;io(a,0);e=b+4|0;d=(da(e|0,4,0,0)|0|0)-(da(a+20|0,4,0,0)|0|0)|0;ea(e|0,d|0,4,0);e=b+8|0;c=(da(e|0,4,0,0)|0|0)-(da(a+16|0,4,0,0)|0|0)|0;ea(e|0,c|0,4,0);ea(b+12|0,d+10-c|0,4,0);eo(b);Vc(da(a+44|0,4,0,0)|0|0);Vc(a);return}function Si(a){a=a|0;var b=0,c=0;if(da(a+12|0,4,0,0)|0){c=da(a|0,4,0,0)|0|0;b=c+4|0;a=da(b|0,4,0,0)|0|0;ea(b|0,0|0,4,0);eo(c);ea(b|0,a|0,4,0)}return}function Ti(a){a=a|0;var b=0,c=0,d=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();c=d;b=a+7&-8;a=Vv(b+8|0)|0;if(!a){ea(c|0,b|0,4,0);ad(7,16568,c)}else{c=a;ea(c|0,b|0,4,0);ea(c+4|0,((b|0)<0)<<31>>31|0,4,0);a=a+8|0}i=d;return a|0}function Ui(a){a=a|0;Wv(a+-8|0);return}function Vi(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;d=a+-8|0;c=Xv(d,b+8|0)|0;if(!c){if(!a)d=0;else d=da(d|0,4,0,0)|0|0;ea(e|0,d|0,4,0);ea(e+4|0,b|0,4,0);ad(7,16528,e)}else{d=c;ea(d|0,b|0,4,0);ea(d+4|0,((b|0)<0)<<31>>31|0,4,0);c=c+8|0}i=f;return c|0}function Wi(a){a=a|0;if(!a)a=0;else a=da(a+-8|0,4,0,0)|0|0;return a|0}function Xi(a){a=a|0;return a+7&-8|0}function Yi(a){a=a|0;return 0}function Zi(a){a=a|0;return}function _i(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=da(c|0,4,0,0)|0|0;do if((-1431655766>>>((da(e+8|0,2,0,1)|0)&31)&1|0)==0?(d=Rg(e,1)|0,(d|0)!=0):0){e=Sg(da(c|0,4,0,0)|0|0,1)|0;if((b|0)!=1){k=Rg(da(c+4|0,4,0,0)|0|0,1)|0;if(!k)break;b=da(k>>0|0,1,0,0)|0|0;if(b<<24>>24){c=0;f=k;while(1){g=f+1|0;if((b&255)>191)while(1){b=da(g>>0|0,1,0,0)|0|0;if((b&-64)<<24>>24==-128){j=g;g=f+2|0;f=j}else{f=g;break}}else{b=da(g>>0|0,1,0,0)|0|0;f=g}g=c+1|0;if(!(b<<24>>24)){b=g;break}else c=g}if((c|0)>-1){i=rw(b|0,((b|0)<0)<<31>>31|0,5,0)|0;i=jo(a,i,C)|0;if(!i)break;h=i+(b<<2)|0;if(da(k>>0|0,1,0,0)|0){b=k;c=0;while(1){ea(i+(c<<2)|0,b|0,4,0);g=b+1|0;if((da(b>>0|0,1,0,1)|0|0)>191){f=b;while(1)if(((da(g>>0|0,1,0,0)|0)&-64)<<24>>24==-128){j=g;g=f+2|0;f=j}else break}ea(h+c>>0|0,g-b|0,1,0);f=c+1|0;if(!(da(g>>0|0,1,0,0)|0))break;else{b=g;c=f}}if((c|0)>-1){j=f;l=17}}}}}else{h=20360;i=20368;j=1;k=0;l=17}if((l|0)==17){b=da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;a:do if((b&1|0)!=0&(e|0)>0){c=(j|0)>0;do{if(c)f=0;else{l=24;break a}while(1){g=da(h+f>>0|0,1,0,1)|0|0;if((e|0)>=(g|0)?(Yv(d,da(i+(f<<2)|0,4,0,0)|0|0,g)|0)==0:0)break;f=f+1|0;if((f|0)>=(j|0)){l=24;break a}}d=d+g|0;e=e-g|0}while((e|0)>0)}else l=24;while(0);b:do if((l|0)==24)if((b&2|0)!=0&(e|0)>0){c=(j|0)>0;do{if(c)f=0;else break b;while(1){g=da(h+f>>0|0,1,0,1)|0|0;if((e|0)>=(g|0)?(m=e-g|0,(Yv(d+m|0,da(i+(f<<2)|0,4,0,0)|0|0,g)|0)==0):0){e=m;break}f=f+1|0;if((f|0)>=(j|0))break b}}while((e|0)>0)}while(0);if(k)Vc(i)}Vg(a,d,e,1,-1)}while(0);return}function $i(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=((da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)!=0)<<31>>31;g=da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0;d=da(c|0,4,0,0)|0|0;a:do if(!(-1431655766>>>((da(d+8|0,2,0,1)|0|0)&31)&1)){if((b|0)>1){f=1;d=0;do{e=da(c+(f<<2)|0,4,0,0)|0|0;if(-1431655766>>>((da(e+8|0,2,0,1)|0|0)&31)&1)break a;e=((gm(da(c+(d<<2)|0,4,0,0)|0|0,e,g)|0)^h|0)>-1;d=e?f:d;f=f+1|0}while((f|0)<(b|0));d=da(c+(d<<2)|0,4,0,0)|0|0}Zg(da(a|0,4,0,0)|0|0,d)|0}while(0);return}function aj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(c|0,4,0,0)|0|0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,40)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){d=(da(b+8|0,2,0,0)|0|0)!=0;if(-1431655766>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0)&31)&1){if(!d)break;ea(a+24>>0|0,1|0,1,0);break}if(!d){ea(b+32|0,da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,4,0);Zg(b,e)|0;break}d=(da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)!=0;c=gm(b,e,da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0)|0;if(!(d&(c|0)<0)?!((c|0)>0&(d^1)):0){ea(a+24>>0|0,1|0,1,0);break}Zg(b,e)|0}while(0);return}function bj(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){c=b+8|0;if(!((da(c|0,2,0,0)|0|0)!=0?(Zg(da(a|0,4,0,0)|0|0,b)|0,((da(c|0,2,0,0)|0)&9312)!=0):0))d=7;if((d|0)==7?(da(b+24|0,4,0,0)|0|0)==0:0)break;Pg(b)}while(0);return}function cj(a,b,c){a=a|0;b=b|0;c=c|0;b=da(10064+((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;if((b|0)==4)b=20344;else if((b|0)==2)b=20336;else if((b|0)==3)b=20328;else if((b|0)==1)b=20320;else b=20352;Vg(a,b,-1,1,0);return}function dj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;b=da(c|0,4,0,0)|0|0;c=da(10064+((da(b+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;do if((c|0)==3){d=Rg(b,1)|0;if(d){b=da(d>>0|0,1,0,0)|0|0;if(!(b<<24>>24)){e=0;d=0}else{c=b;b=0;do{b=b+1|0;e=d+1|0;if((c&255)>191)while(1){c=da(e>>0|0,1,0,0)|0|0;if((c&-64)<<24>>24==-128){c=e;e=d+2|0;d=c}else{d=e;break}}else{c=da(e>>0|0,1,0,0)|0|0;d=e}}while(c<<24>>24!=0);e=b;d=((b|0)<0)<<31>>31}b=da(a|0,4,0,0)|0|0;c=b+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(b,e,d);break}}}else if((c|0)==2|(c|0)==1|(c|0)==4){e=Sg(b,1)|0;d=da(a|0,4,0,0)|0|0;b=((e|0)<0)<<31>>31;c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(d|0,e|0,4,0);ea(d+4|0,b|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(d,e,b);break}}else{c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(c);break}}while(0);return}function ej(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=da(c|0,4,0,0)|0|0;e=da(d+8|0,2,0,0)|0|0;f=c+4|0;b=da((da(f|0,4,0,0)|0|0)+8|0,2,0,0)|0|0;do if(!((-1431655766>>>(b&31)|-1431655766>>>(e&31))&1)){g=Sg(d,1)|0;i=Sg(da(f|0,4,0,0)|0|0,1)|0;c=da(c|0,4,0,0)|0|0;if(!((b|e)&15)){b=od(c)|0;c=0;h=od(da(f|0,4,0,0)|0|0)|0}else{b=Rg(c,1)|0;c=1;h=Rg(da(f|0,4,0,0)|0|0,1)|0}a:do if((i|0)>(g|0)){b=1;d=1}else{d=1;e=g;while(1){if(!(Yv(b,h,i)|0)){b=0;break a}d=d+1|0;f=(c|0)==0;do{e=e+-1|0;b=b+1|0;if(f){c=0;break}}while(((da(b>>0|0,1,0,0)|0)&-64)<<24>>24==-128);if((i|0)>(e|0)){b=1;break}}}while(0);e=da(a|0,4,0,0)|0|0;c=b?0:d;b=b?0:((d|0)<0)<<31>>31;d=e+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(e|0,c|0,4,0);ea(e+4|0,b|0,4,0);ea(d|0,4|0,2,0);break}else{Yg(e,c,b);break}}while(0);return}function fj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=da(c+4|0,4,0,0)|0|0;do if(!(-1431655766>>>((da(d+8|0,2,0,1)|0|0)&31)&1)){k=(b|0)==3;if(k?(-1431655766>>>((da((da(c+8|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)&1|0)!=0:0)break;m=da((da(c|0,4,0,0)|0|0)+8|0,2,0,0)|0|0;g=Ug(d)|0;h=((g|0)<0)<<31>>31;m=(m&15)==0;e=da(c|0,4,0,0)|0|0;if(m){e=Sg(e,1)|0;f=od(da(c|0,4,0,0)|0|0)|0;if(!f)break;else l=e}else{f=Rg(e,1)|0;if(!f)break;if((g|0)<0?(i=da(f>>0|0,1,0,0)|0|0,i<<24>>24!=0):0){e=0;d=f;do{j=d+1|0;if((i&255)>191){b=d;d=j;while(1){i=da(d>>0|0,1,0,0)|0|0;if((i&-64)<<24>>24==-128){l=d;d=b+2|0;b=l}else break}}else{i=da(j>>0|0,1,0,0)|0|0;d=j}e=e+1|0}while(i<<24>>24!=0);l=e}else l=0}if(k){j=Ug(da(c+8|0,4,0,0)|0|0)|0;b=((j|0)<0)<<31>>31;k=(j|0)<0;d=cw(0,0,j|0,b|0)|0;d=k?d:j;b=k?C:b;j=j>>>31}else{b=da((da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0)+88|0,4,0,0)|0|0;d=b;b=((b|0)<0)<<31>>31;j=0}do if((g|0)<0){g=iw(l|0,((l|0)<0)<<31>>31|0,g|0,h|0)|0;h=C;if((h|0)<0){d=iw(d|0,b|0,g|0,h|0)|0;b=C;k=(b|0)<0;g=0;h=0;d=k?0:d;b=k?0:b}}else if((g|0)>0){g=iw(g|0,h|0,-1,-1)|0;h=C;break}else{k=((b|0)>0|(b|0)==0&d>>>0>0)<<31>>31;d=iw(k|0,((k|0)<0)<<31>>31|0,d|0,b|0)|0;b=C;break}while(0);if(!j){i=g;j=h}else{i=cw(g|0,h|0,d|0,b|0)|0;j=C;k=(j|0)<0;i=k?0:i;j=k?0:j;d=k?g:d;b=k?h:b}if(m){k=iw(d|0,b|0,i|0,j|0)|0;h=C;e=((l|0)<0)<<31>>31;if((h|0)>(e|0)|(h|0)==(e|0)&k>>>0>l>>>0){d=cw(l|0,e|0,i|0,j|0)|0;b=C;l=(b|0)<0;d=l?0:d;b=l?0:b}Ad(a,f+i|0,d,b,-1);break}e=da(f>>0|0,1,0,0)|0|0;if(((i|0)!=0|(j|0)!=0)&e<<24>>24!=0)do{h=f+1|0;if((e&255)>191){g=f;f=h;while(1){e=da(f>>0|0,1,0,0)|0|0;if((e&-64)<<24>>24==-128){l=f;f=g+2|0;g=l}else break}}else{e=da(h>>0|0,1,0,0)|0|0;f=h}i=iw(i|0,j|0,-1,-1)|0;j=C}while(((i|0)!=0|(j|0)!=0)&e<<24>>24!=0);if(e<<24>>24!=0&((d|0)!=0|(b|0)!=0)){i=b;b=f;do{g=b+1|0;if((e&255)>191)while(1){e=da(g>>0|0,1,0,0)|0|0;if((e&-64)<<24>>24==-128){l=g;g=b+2|0;b=l}else{b=g;break}}else{e=da(g>>0|0,1,0,0)|0|0;b=g}d=iw(d|0,i|0,-1,-1)|0;i=C}while(e<<24>>24!=0&((d|0)!=0|(i|0)!=0))}else b=f;l=b-f|0;Id(a,f,l,((l|0)<0)<<31>>31,-1,1)}while(0);return}function gj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=i;i=i+48|0;if((i|0)>=(j|0))ba();f=h;g=h+32|0;e=h+4|0;if((b|0)>0?(d=Rg(da(c|0,4,0,0)|0|0,1)|0,(d|0)!=0):0){ea(g|0,b+-1|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,c+4|0,4,0);ea(e+0|0,0|0,4,0);ea(e+4|0,0|0,4,0);ea(e+8|0,0|0,4,0);ea(e+12|0,0|0,4,0);ea(e+16|0,0|0,4,0);ea(e+20|0,1e9|0,4,0);ea(e+24>>0|0,1|0,1,0);ea(e+25>>0|0,0|0,1,0);ea(e|0,da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0,4,0);ea(f|0,g|0,4,0);Dn(e,2,d,f);d=da(e+12|0,4,0,0)|0|0;Vg(a,sg(e)|0,d,1,75)}i=h;return}function hj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;b=Rg(da(c|0,4,0,0)|0|0,1)|0;ea(d|0,b|0,4,0);do if((b|0)!=0?(da(b>>0|0,1,0,0)|0|0)!=0:0){e=Ln(d)|0;b=da(a|0,4,0,0)|0|0;d=((e|0)<0)<<31>>31;c=b+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(b,e,d);break}}while(0);i=f;return}function ij(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;g=Sc(b<<2|1)|0;if(!g)Qd(a);else{if((b|0)>0){f=0;d=g;do{e=Ug(da(c+(f<<2)|0,4,0,0)|0|0)|0;h=C;e=h>>>0>0|(h|0)==0&e>>>0>1114111?65533:e&2097151;do if(e>>>0>=128){if(e>>>0<2048){ea(d>>0|0,e>>>6&31|192|0,1,0);ea(d+1>>0|0,e&63|128|0,1,0);d=d+2|0;break}if(e>>>0<65536){ea(d>>0|0,e>>>12&15|224|0,1,0);ea(d+1>>0|0,e>>>6&63|128|0,1,0);ea(d+2>>0|0,e&63|128|0,1,0);d=d+3|0;break}else{ea(d>>0|0,e>>>18|240|0,1,0);ea(d+1>>0|0,e>>>12&63|128|0,1,0);ea(d+2>>0|0,e>>>6&63|128|0,1,0);ea(d+3>>0|0,e&63|128|0,1,0);d=d+4|0;break}}else{ea(d>>0|0,e|0,1,0);d=d+1|0}while(0);f=f+1|0}while((f|0)!=(b|0))}else d=g;d=d-g|0;Id(a,g,d,((d|0)<0)<<31>>31,1,1)}return}function jj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0;b=da(c|0,4,0,0)|0|0;c=da(10064+((da(b+8|0,2,0,1)|0|0)&31)>>0|0,1,0,1)|0|0;a:do if((c|0)==1){b=Ug(b)|0;e=C;do if((e|0)<0)if((b|0)==0&(e|0)==-2147483648){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20248,-1,1,-1)|0;break a}else{b=cw(0,0,b|0,e|0)|0;f=C;break}else f=e;while(0);c=da(a|0,4,0,0)|0|0;e=c+8|0;if(!((da(e|0,2,0,0)|0)&9312)){ea(c|0,b|0,4,0);ea(c+4|0,f|0,4,0);ea(e|0,4|0,2,0);break}else{Yg(c,b,f);break}}else if((c|0)==5){c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(b|0,1|0,2,0);break}else{ug(c);break}}else{d=+Tg(b);if(d<0.0)d=-d;Xg(da(a|0,4,0,0)|0|0,d)}while(0);return}function kj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0.0,e=0,f=0,g=0,h=0,l=0,m=0;m=i;i=i+32|0;if((i|0)>=(j|0))ba();h=m+8|0;l=m;if((b|0)==2){b=da(c+4|0,4,0,0)|0|0;if(!(-1431655766>>>((da(b+8|0,2,0,1)|0)&31)&1)){g=Ug(b)|0;g=(g|0)>30?30:g;g=(g|0)<0?0:g;f=4}}else{g=0;f=4}a:do if((f|0)==4?(e=da(c|0,4,0,0)|0|0,(-1431655766>>>((da(e+8|0,2,0,1)|0)&31)&1|0)==0):0){d=+Tg(e);ea(l|0,+d,8,1);b=(g|0)==0;do if(b&d>=0.0&d<9223372036854775808.0){d=d+.5;d=+(~~d>>>0>>>0)+4294967296.0*+((+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0);ea(l|0,+d,8,1)}else{if(b&d<0.0&d>-9223372036854775808.0){d=.5-d;d=-(+(~~d>>>0>>>0)+4294967296.0*+((+N(d)>=1.0?(d>0.0?~~+$(+M(d/4294967296.0),4294967295.0)>>>0:~~+Z((d-+(~~d>>>0))/4294967296.0)>>>0):0)|0));ea(l|0,+d,8,1);break}ea(h|0,g|0,4,0);b=h+4|0;ea(k|0,+d,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);b=Zc(20312,h)|0;if(!b){Qd(a);break a}else e=b;while(1)if(!(da(e>>0|0,1,0,0)|0))break;else e=e+1|0;Sl(b,l,e-b&1073741823,1)|0;Vc(b);d=+(+da(l|0,8,1,0))}while(0);Xg(da(a|0,4,0,0)|0|0,d)}while(0);i=m;return}function lj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if((d|0)!=0?(e=iw(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=jo(a,e,C)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{f=da(d+c>>0|0,1,0,1)|0|0;ea(e+c>>0|0,((da(10368+f>>0|0,1,0,1)|0|0|223)^32)&f|0,1,0);c=c+1|0}while((c|0)!=(b|0))}Vg(a,e,b,1,1)}return}function mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if((d|0)!=0?(e=iw(b|0,((b|0)<0)<<31>>31|0,1,0)|0,e=jo(a,e,C)|0,(e|0)!=0):0){if((b|0)>0){c=0;do{ea(e+c>>0|0,da(9328+(da(d+c>>0|0,1,0,1)|0|0)>>0|0,1,0,0)|0|0|0,1,0);c=c+1|0}while((c|0)!=(b|0))}Vg(a,e,b,1,1)}return}function nj(a,b,c){a=a|0;b=b|0;c=c|0;Vg(a,8632,-1,1,0);return}function oj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;b=od(da(c|0,4,0,0)|0|0)|0;f=Sg(da(c|0,4,0,0)|0|0,1)|0;g=hw(f|0,((f|0)<0)<<31>>31|0,1)|0;g=jo(a,g|1,C)|0;if(g){if((f|0)>0){d=f<<1;e=0;c=g;while(1){h=da(b>>0|0,1,0,1)|0|0;ea(c>>0|0,da(20288+(h>>>4)>>0|0,1,0,0)|0|0|0,1,0);ea(c+1>>0|0,da(20288+(h&15)>>0|0,1,0,0)|0|0|0,1,0);e=e+1|0;if((e|0)==(f|0))break;else{b=b+1|0;c=c+2|0}}c=g+d|0}else c=g;ea(c>>0|0,0|0,1,0);Vg(a,g,f<<1,1,1)}return}function pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();b=f;bd(8,b);d=b;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((d|0)<0){e=cw(0,0,c|0,d&2147483647|0)|0;d=C;ea(b|0,e|0,4,0);ea(b+4|0,d|0,4,0)}else e=c;c=da(a|0,4,0,0)|0|0;b=c+8|0;if(!((da(b|0,2,0,0)|0)&9312)){ea(c|0,e|0,4,0);ea(c+4|0,d|0,4,0);ea(b|0,4|0,2,0)}else Yg(c,e,d);i=f;return}function qj(a,b,c){a=a|0;b=b|0;c=c|0;c=Ug(da(c|0,4,0,0)|0|0)|0;c=(c|0)<1?1:c;b=jo(a,c,((c|0)<0)<<31>>31)|0;if(b){bd(c,b);Vg(a,b,c,0,1)}return}function rj(a,b,c){a=a|0;b=b|0;c=c|0;if(gm(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,da((da((da(a+12|0,4,0,0)|0|0)+4|0,4,0,0)|0|0)+(((da(a+16|0,4,0,0)|0|0)+-1|0)*20|0)+16|0,4,0,0)|0|0)|0)Zg(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0;return}function sj(a,b,c){a=a|0;b=b|0;c=c|0;Vg(a,10768,-1,1,0);return}function tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=i;i=i+16|0;if((i|0)>=(j|0))ba();a=b;d=Ug(da(c|0,4,0,0)|0|0)|0;ea(a|0,Rg(da(c+4|0,4,0,0)|0|0,1)|0|0,4,0);ad(d,10344,a);i=b;return}function uj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=Rg(da(c|0,4,0,0)|0|0,1)|0;do if(b){d=Dc(b)|0;c=da(a|0,4,0,0)|0|0;b=((d|0)<0)<<31>>31;a=c+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(c|0,d|0,4,0);ea(c+4|0,b|0,4,0);ea(a|0,4|0,2,0);break}else{Yg(c,d,b);break}}while(0);return}function vj(a,b,c){a=a|0;b=b|0;c=c|0;b=Ug(da(c|0,4,0,0)|0|0)|0;if(b>>>0<4)b=da(8648+(b<<2)|0,4,0,0)|0|0;else b=0;Vg(a,b,-1,1,0);return}function wj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0.0,f=0,g=0,h=0,l=0,m=0,n=0;n=i;i=i+80|0;if((i|0)>=(j|0))ba();b=n+8|0;d=n;h=n+16|0;g=da(c|0,4,0,0)|0|0;f=da(10064+((da(g+8|0,2,0,1)|0)&31)>>0|0,1,0,1)|0|0;if((f|0)==1)Zg(da(a|0,4,0,0)|0|0,g)|0;else if((f|0)==4){g=od(g)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;d=hw(b|0,((b|0)<0)<<31>>31|0,1)|0;d=iw(d|0,C|0,4,0)|0;d=jo(a,d,C)|0;if(d){if((b|0)>0){f=0;do{h=g+f|0;c=f<<1;ea(d+(c+2)>>0|0,da(20288+((da(h>>0|0,1,0,1)|0|0)>>>4)>>0|0,1,0,0)|0|0|0,1,0);ea(d+(c+3)>>0|0,da(20288+((da(h>>0|0,1,0,1)|0)&15)>>0|0,1,0,0)|0|0|0,1,0);f=f+1|0}while((f|0)!=(b|0))}b=b<<1;ea(d+(b+2)>>0|0,39|0,1,0);ea(d+(b+3)>>0|0,0|0,1,0);ea(d>>0|0,88|0,1,0);ea(d+1>>0|0,39|0,1,0);Vg(a,d,-1,1,-1);Vc(d)}}else if((f|0)==3){m=Rg(g,1)|0;if(m){b=0;d=0;f=0;while(1){g=da(m+f>>0|0,1,0,0)|0|0;if(g<<24>>24==39){g=iw(b|0,d|0,1,0)|0;d=C}else if(!(g<<24>>24)){g=d;break}else g=b;b=g;f=f+1|0}l=iw(b|0,g|0,3,0)|0;l=iw(l|0,C|0,f|0,((f|0)<0)<<31>>31|0)|0;l=jo(a,l,C)|0;if(l){ea(l>>0|0,39|0,1,0);d=da(m>>0|0,1,0,0)|0|0;b=l+1|0;if(!(d<<24>>24))f=2;else{h=m;f=2;g=0;c=1;do{ea(b>>0|0,d|0,1,0);if((da(h>>0|0,1,0,0)|0|0)==39){ea(l+f>>0|0,39|0,1,0);c=c+2|0}else c=f;g=g+1|0;h=m+g|0;d=da(h>>0|0,1,0,0)|0|0;f=c+1|0;b=l+c|0}while(d<<24>>24!=0)}ea(b>>0|0,39|0,1,0);ea(l+f>>0|0,0|0,1,0);Vg(a,l,f,1,1)}}}else if((f|0)==2){e=+Tg(g);ea(k|0,+e,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(50,h,20272,b)|0;Sl(h,d,20,1)|0;if(e!=+(+da(d|0,8,1,0))){ea(k|0,+e,8,1);ea(b|0,da(k|0,4,0,0)|0|0,4,0);ea(b+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(50,h,20280,b)|0}Vg(a,h,-1,1,-1)}else Vg(a,20304,4,1,0);i=n;return}function xj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;d=(da(a+32|0,4,0,0)|0|0)+32|0;b=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;c=a+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(a|0,b|0,4,0);ea(a+4|0,d|0,4,0);ea(c|0,4|0,2,0)}else Yg(a,b,d);return}function yj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;c=da((da(a+32|0,4,0,0)|0|0)+80|0,4,0,0)|0|0;b=((c|0)<0)<<31>>31;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,c|0,4,0);ea(a+4|0,b|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,c,b);return}function zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=da(a|0,4,0,0)|0|0;c=da((da(a+32|0,4,0,0)|0|0)+84|0,4,0,0)|0|0;b=((c|0)<0)<<31>>31;d=a+8|0;if(!((da(d|0,2,0,0)|0)&9312)){ea(a|0,c|0,4,0);ea(a+4|0,b|0,4,0);ea(d|0,4|0,2,0)}else Yg(a,c,b);return}function Aj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;r=Rg(da(c|0,4,0,0)|0|0,1)|0;a:do if((r|0)!=0?(s=Sg(da(c|0,4,0,0)|0|0,1)|0,e=c+4|0,q=Rg(da(e|0,4,0,0)|0|0,1)|0,(q|0)!=0):0){if(!(da(q>>0|0,1,0,0)|0)){Zg(da(a|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0)|0;break}o=Sg(da(e|0,4,0,0)|0|0,1)|0;e=c+8|0;n=Rg(da(e|0,4,0,0)|0|0,1)|0;if((n|0)!=0?(p=Sg(da(e|0,4,0,0)|0|0,1)|0,f=s+1|0,g=((f|0)<0)<<31>>31,d=jo(a,f,g)|0,(d|0)!=0):0){j=s-o|0;b:do if((j|0)>=0){k=p-o|0;l=((k|0)<0)<<31>>31;m=o+-1|0;c=0;i=0;while(1){e=r+c|0;b=da(e>>0|0,1,0,0)|0|0;if(b<<24>>24==(da(q>>0|0,1,0,0)|0|0)?(Yv(e,q,o)|0)==0:0){b=da(a|0,4,0,0)|0|0;h=da(b+32|0,4,0,0)|0|0;f=iw(f|0,g|0,k|0,l|0)|0;g=C;e=iw(f|0,g|0,-1,-1)|0;u=C;h=da(h+88|0,4,0,0)|0|0;t=((h|0)<0)<<31>>31;if((u|0)>(t|0)|(u|0)==(t|0)&e>>>0>h>>>0){e=13;break}h=Wc(d,f)|0;if(!h){e=15;break}jw(h+i|0,n|0,p|0)|0;e=m+c|0;b=i+p|0;d=h}else{ea(d+i>>0|0,b|0,1,0);e=c;b=i+1|0}c=e+1|0;if((e|0)<(j|0))i=b;else break b}if((e|0)==13){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(b,10096,-1,1,0)|0;Vc(d);break a}else if((e|0)==15){Qd(a);Vc(d);break a}}else{c=0;b=0}while(0);k=s-c|0;jw(d+b|0,r+c|0,k|0)|0;k=b+k|0;ea(d+k>>0|0,0|0,1,0);Vg(a,d,k,1,1)}}while(0);return}function Bj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;b=Ug(da(c|0,4,0,0)|0|0)|0;e=C;c=da(d+88|0,4,0,0)|0|0;d=((c|0)<0)<<31>>31;if((e|0)>(d|0)|(e|0)==(d|0)&b>>>0>c>>>0){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0}else _g(da(a|0,4,0,0)|0|0,b);return}function Cj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;d=Rg(da(c|0,4,0,0)|0|0,1)|0;e=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;ea(f|0,0|0,4,0);if((b|0)==2)b=Rg(da(c+4|0,4,0,0)|0|0,1)|0;else b=0;if((d|0)!=0?(Se(e,d,b,f)|0)!=0:0){b=da(f|0,4,0,0)|0|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,b,-1,1,-1)|0;Vc(da(f|0,4,0,0)|0|0)}i=g;return}function Dj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0.0,i=0,j=0,k=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))d=kh(a,32)|0;else d=da(b+16|0,4,0,0)|0|0;a=Ge(da(c|0,4,0,0)|0|0)|0;do if((d|0)!=0&(a|0)!=5){b=d+16|0;e=b;e=iw(da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0,1,0)|0;ea(b|0,e|0,4,0);ea(b+4|0,C|0,4,0);b=da(c|0,4,0,0)|0|0;if((a|0)!=1){h=+Tg(b);ea(d|0,+(h+ +(+da(d|0,8,1,0))),8,1);ea(d+25>>0|0,1|0,1,0);break}e=Ug(b)|0;f=C;ea(d|0,+(+(+da(d|0,8,1,0))+(+(e>>>0)+4294967296.0*+(f|0))),8,1);g=d+24|0;if(!((da(g>>0|0,1,0,0)|0|(da(d+25>>0|0,1,0,0)|0))<<24>>24)){d=d+8|0;a=d;c=da(a|0,4,0,0)|0|0;a=da(a+4|0,4,0,0)|0|0;if((f|0)>-1|(f|0)==-1&e>>>0>4294967295){b=cw(-1,2147483647,c|0,a|0)|0;i=C;if(((a|0)>0|(a|0)==0&c>>>0>0)&((i|0)<(f|0)|(i|0)==(f|0)&b>>>0<e>>>0))b=12;else b=11}else if((a|0)<0?(i=cw(1,-2147483648,c|0,a|0)|0,k=C,b=iw(e|0,f|0,1,0)|0,j=C,(k|0)>(j|0)|(k|0)==(j|0)&i>>>0>b>>>0):0)b=12;else b=11;if((b|0)==11){a=iw(c|0,a|0,e|0,f|0)|0;b=d;ea(b|0,a|0,4,0);ea(b+4|0,C|0,4,0);break}else if((b|0)==12){ea(g>>0|0,1|0,1,0);break}}}while(0);return}function Ej(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if((b|0)!=0?(c=b+16|0,d=da(c+4|0,4,0,0)|0|0,(d|0)>0|(d|0)==0&(da(c|0,4,0,0)|0|0)>>>0>0):0){if(da(b+24>>0|0,1,0,0)|0){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20248,-1,1,-1)|0;break}if(da(b+25>>0|0,1,0,0)|0){Xg(da(a|0,4,0,0)|0|0,+(+da(b|0,8,1,0)));break}d=b+8|0;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;b=da(a|0,4,0,0)|0|0;a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(b|0,c|0,4,0);ea(b+4|0,d|0,4,0);ea(a|0,4|0,2,0);break}else{Yg(b,c,d);break}}while(0);return}function Fj(a){a=a|0;var b=0,c=0.0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if(!b)c=0.0;else c=+(+da(b|0,8,1,0));Xg(da(a|0,4,0,0)|0|0,c);return}function Gj(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if((b|0)!=0?(d=b+16|0,c=da(d|0,4,0,0)|0|0,d=da(d+4|0,4,0,0)|0|0,(d|0)>0|(d|0)==0&c>>>0>0):0)Xg(da(a|0,4,0,0)|0|0,+(+da(b|0,8,1,0))/(+(c>>>0)+4294967296.0*+(d|0)));return}function Hj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da(a+8|0,4,0,0)|0|0;if(!((da(d+8|0,2,0,0)|0)&8192))d=kh(a,8)|0;else d=da(d+16|0,4,0,0)|0|0;if(!b){if(d)e=7}else if((d|0)!=0?(1431655765>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0|0)&31)&1|0)!=0:0)e=7;if((e|0)==7){a=d;a=iw(da(a|0,4,0,0)|0|0,da(a+4|0,4,0,0)|0|0,1,0)|0;ea(d|0,a|0,4,0);ea(d+4|0,C|0,4,0)}return}function Ij(a){a=a|0;var b=0,c=0,d=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;if(!b){c=0;d=0}else{d=b;c=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0}b=da(a|0,4,0,0)|0|0;a=b+8|0;if(!((da(a|0,2,0,0)|0)&9312)){ea(b|0,c|0,4,0);ea(b+4|0,d|0,4,0);ea(a|0,4|0,2,0)}else Yg(b,c,d);return}function Jj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;if(!(-1431655766>>>((da((da(c|0,4,0,0)|0|0)+8|0,2,0,1)|0)&31)&1)){d=da(a+8|0,4,0,0)|0|0;if(!((da(d+8|0,2,0,0)|0)&8192))e=kh(a,28)|0;else e=da(d+16|0,4,0,0)|0|0;if(e){a=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=e+24|0;d=(da(f>>0|0,1,0,0)|0|0)==0;ea(f>>0|0,2|0,1,0);ea(e+20|0,da(a+88|0,4,0,0)|0|0,4,0);do if(!d){if((b|0)==2){b=c+4|0;d=Rg(da(b|0,4,0,0)|0|0,1)|0;b=Sg(da(b|0,4,0,0)|0|0,1)|0;if(!b)break}else{b=1;d=20240}Rk(e,d,b)}while(0);d=Rg(da(c|0,4,0,0)|0|0,1)|0;b=Sg(da(c|0,4,0,0)|0|0,1)|0;if(d)Rk(e,d,b)}}return}function Kj(a){a=a|0;var b=0,c=0;b=da(a+8|0,4,0,0)|0|0;if(!((da(b+8|0,2,0,0)|0)&8192))b=kh(a,0)|0;else b=da(b+16|0,4,0,0)|0|0;do if(b){c=da(b+25>>0|0,1,0,0)|0|0;if(c<<24>>24==2){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,10096,-1,1,0)|0;break}else if(c<<24>>24==1){Qd(a);break}else{Vg(a,sg(b)|0,-1,1,1);break}}while(0);return}function Lj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();e=g;h=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;f=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=Sg(da(c|0,4,0,0)|0|0,1)|0;a:do if((k|0)<=(da(h+120|0,4,0,0)|0|0)){do if((b|0)==3){c=Rg(da(c+8|0,4,0,0)|0|0,1)|0;ea(e|0,c|0,4,0);if(!c)break a;if((Mn(c,-1)|0)==1){c=Ln(e)|0;break}else{ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20192,-1,1,-1)|0;break a}}else c=0;while(0);if((f|0)!=0&(d|0)!=0){b=Fh(d,f,da((da(a+4|0,4,0,0)|0|0)+4|0,4,0,0)|0|0,c)|0;d=da(a|0,4,0,0)|0|0;e=((b|0)<0)<<31>>31;c=d+8|0;if(!((da(c|0,2,0,0)|0)&9312)){ea(d|0,b|0,4,0);ea(d+4|0,e|0,4,0);ea(c|0,4|0,2,0);break}else{Yg(d,b,e);break}}}else{ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,20152,-1,1,-1)|0}while(0);i=g;return}function Mj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+32|0;if((i|0)>=(j|0))ba();m=n;g=n+16|0;l=Rg(da(c|0,4,0,0)|0|0,1)|0;h=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;a:do if((l|0)!=0?(da(l>>0|0,1,0,0)|0|0)!=0:0){b=0;c=l;b:while(1){e=b;d=c;while(1){d=d+e|0;f=Bn(d,g)|0;e=da(g|0,4,0,0)|0|0;if((e|0)==151)e=f;else if((e|0)==22|(e|0)==125)break b;else{c=d;b=f;break}}if(!(da(c>>0|0,1,0,0)|0))break a}ea(m|0,c-l|0,4,0);ea(m+4|0,l|0,4,0);ea(m+8|0,h|0,4,0);ea(m+12|0,c+b|0,4,0);Vg(a,th(k,19464,m)|0,-1,1,75)}while(0);i=n;return}function Nj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;k=p+16|0;n=Rg(da(c|0,4,0,0)|0|0,1)|0;l=Rg(da(c+4|0,4,0,0)|0|0,1)|0;m=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;a:do if((n|0)!=0?(da(n>>0|0,1,0,0)|0|0)!=0:0){h=3;b=0;c=n;while(1){e=b;d=c;do{d=d+e|0;e=Bn(d,k)|0;f=da(k|0,4,0,0)|0|0}while((f|0)==151);g=e;e=(f|0)==122|(f|0)==107?0:h+1|0;if((e|0)==2)if((f|0)==5|(f|0)==46|(f|0)==137)break;else c=2;else c=e;if(!(da(d>>0|0,1,0,0)|0))break a;else{h=c;b=g;c=d}}ea(o|0,c-n|0,4,0);ea(o+4|0,n|0,4,0);ea(o+8|0,l|0,4,0);ea(o+12|0,c+b|0,4,0);Vg(a,th(m,19464,o)|0,-1,1,75)}while(0);i=p;return}function Oj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;p=i;i=i+32|0;if((i|0)>=(j|0))ba();o=p;m=p+16|0;n=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;d=Rg(da(c|0,4,0,0)|0|0,1)|0;l=Rg(da(c+4|0,4,0,0)|0|0,1)|0;k=Rg(da(c+8|0,4,0,0)|0|0,1)|0;if(!((d|0)==0|(l|0)==0)){a:do if(!(da(d>>0|0,1,0,0)|0))b=0;else{e=d;b=0;do{c=Bn(e,m)|0;if((da(m|0,4,0,0)|0|0)==105){g=e;while(1){e=g+c|0;f=Bn(e,m)|0;if((da(m|0,4,0,0)|0|0)==151){c=f;g=e}else break}if(!e)break a;h=iw(f|0,((f|0)<0)<<31>>31|0,1,0)|0;h=lh(n,h,C)|0;if(!h)break a;jw(h|0,e|0,f|0)|0;ea(h+f>>0|0,0|0,1,0);ko(h);if(!(cd(l,h)|0)){ea(o|0,((b|0)!=0?b:10360)|0,4,0);ea(o+4|0,e-d|0,4,0);ea(o+8|0,d|0,4,0);ea(o+12|0,k|0,4,0);q=th(n,19440,o)|0;lg(n,b);d=g+(f+c)|0;b=q}lg(n,h);c=f}e=e+c|0}while((da(e>>0|0,1,0,0)|0|0)!=0)}while(0);ea(o|0,((b|0)!=0?b:10360)|0,4,0);ea(o+4|0,d|0,4,0);Vg(a,th(n,19456,o)|0,-1,1,75);lg(n,b)}i=p;return}function Pj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=i;i=i+48|0;if((i|0)>=(j|0))ba();d=e;if(!(lo(a,b,c,d)|0)){mo(d);b=d;Xg(da(a|0,4,0,0)|0|0,(+((da(b|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(b+4|0,4,0,0)|0|0))/864.0e5)}i=e;return}function Qj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+60|0;if(!(lo(a,b,c,e)|0)){no(e);c=da(e+12|0,4,0,0)|0|0;b=da(e+16|0,4,0,0)|0|0;ea(d|0,da(e+8|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);$c(100,f,20136,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Rj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;g=i;i=i+160|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+60|0;if(!(lo(a,b,c,e)|0)){oo(e);c=da(e+24|0,4,0,0)|0|0;b=~~+(+da(e+32|0,8,1,0));ea(d|0,da(e+20|0,4,0,0)|0|0,4,0);ea(d+4|0,c|0,4,0);ea(d+8|0,b|0,4,0);$c(100,f,20120,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Sj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;g=i;i=i+176|0;if((i|0)>=(j|0))ba();d=g+48|0;e=g;f=g+72|0;if(!(lo(a,b,c,e)|0)){no(e);oo(e);l=da(e+12|0,4,0,0)|0|0;k=da(e+16|0,4,0,0)|0|0;h=da(e+20|0,4,0,0)|0|0;c=da(e+24|0,4,0,0)|0|0;b=~~+(+da(e+32|0,8,1,0));ea(d|0,da(e+8|0,4,0,0)|0|0,4,0);ea(d+4|0,l|0,4,0);ea(d+8|0,k|0,4,0);ea(d+12|0,h|0,4,0);ea(d+16|0,c|0,4,0);ea(d+20|0,b|0,4,0);$c(100,f,20088,d)|0;Vg(a,f,-1,1,-1)}i=g;return}function Tj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0.0,B=0;z=i;i=i+208|0;if((i|0)>=(j|0))ba();v=z+96|0;w=z+48|0;y=z+104|0;x=z;a:do if(((b|0)!=0?(u=Rg(da(c|0,4,0,0)|0|0,1)|0,(u|0)!=0):0)?(lo(a,b+-1|0,c+4|0,w)|0)==0:0){g=da(a|0,4,0,0)|0|0;f=da(g+32|0,4,0,0)|0|0;c=1;b=0;e=0;b:while(1){d=da(u+e>>0|0,1,0,0)|0|0;c:do if(d<<24>>24==37){d=e+1|0;switch(da(u+d>>0|0,1,0,0)|0|0){case 87:case 83:case 77:case 109:case 72:case 100:{c=iw(c|0,b|0,1,0)|0;b=C;break c}case 102:{c=iw(c|0,b|0,8,0)|0;b=C;break c}case 74:case 115:{c=iw(c|0,b|0,50,0)|0;b=C;break c}case 37:case 119:break c;case 106:{c=iw(c|0,b|0,3,0)|0;b=C;break c}case 89:{c=iw(c|0,b|0,8,0)|0;b=C;break c}default:break a}}else if(!(d<<24>>24))break b;else d=e;while(0);c=iw(c|0,b|0,1,0)|0;b=C;e=d+1|0}if(!(b>>>0<0|(b|0)==0&c>>>0<100)){t=da(f+88|0,4,0,0)|0|0;s=((t|0)<0)<<31>>31;if(b>>>0>s>>>0|(b|0)==(s|0)&c>>>0>t>>>0){ea(a+20|0,18|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(g,10096,-1,1,0)|0;break}b=dw(0,c|0,32)|0;b=lh(f,b,C)|0;if(!b){Qd(a);break}else t=b}else t=y;mo(w);no(w);oo(w);h=w+16|0;l=w+32|0;m=w+20|0;n=x+42|0;o=x+12|0;p=x+16|0;q=w+12|0;r=w+24|0;s=w+8|0;f=0;b=0;d:while(1){g=da(u+f>>0|0,1,0,0)|0|0;e:do if(g<<24>>24==37){f=f+1|0;c=u+f|0;do switch(da(c>>0|0,1,0,0)|0|0){case 109:{ea(v|0,da(q|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 77:{ea(v|0,da(r|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 102:{A=+(+da(l|0,8,1,0));e=t+b|0;ea(k|0,+(A>59.999?59.999:A),8,1);ea(v|0,da(k|0,4,0,0)|0|0,4,0);ea(v+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(7,e,19896,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 100:{ea(v|0,da(h|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 83:{ea(v|0,~~+(+da(l|0,8,1,0))|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 119:{c=w;c=iw(da(c|0,4,0,0)|0|0,da(c+4|0,4,0,0)|0|0,1296e5,0)|0;c=pw(c|0,C|0,864e5,0)|0;c=qw(c|0,C|0,7,0)|0;ea(t+b>>0|0,c+48|0,1,0);b=b+1|0;break e}case 89:{e=t+b|0;ea(v|0,da(s|0,4,0,0)|0|0,4,0);$c(5,e,19928,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 106:case 87:{g=x+0|0;e=w+0|0;d=g+48|0;do{ea(g|0,da(e|0,4,0,0)|0|0,4,0);g=g+4|0;e=e+4|0}while((g|0)<(d|0));ea(n>>0|0,0|0,1,0);ea(o|0,1|0,4,0);ea(p|0,1|0,4,0);mo(x);g=w;d=x;B=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;g=iw(da(g|0,4,0,0)|0|0,da(g+4|0,4,0,0)|0|0,432e5,0)|0;e=C;d=cw(g|0,e|0,B|0,d|0)|0;d=pw(d|0,C|0,864e5,0)|0;if((da(c>>0|0,1,0,0)|0|0)==87){c=pw(g|0,e|0,864e5,0)|0;c=qw(c|0,C|0,7,0)|0;ea(v|0,(d+7-c|0)/7|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}else{ea(v|0,d+1|0,4,0);$c(4,t+b|0,19904,v)|0;b=b+3|0;break e}}case 72:{ea(v|0,da(m|0,4,0,0)|0|0,4,0);$c(3,t+b|0,19888,v)|0;b=b+2|0;break e}case 74:{e=t+b|0;c=w;ea(k|0,+((+((da(c|0,4,0,0)|0|0)>>>0)+4294967296.0*+(da(c+4|0,4,0,0)|0|0))/864.0e5),8,1);ea(v|0,da(k|0,4,0,0)|0|0,4,0);ea(v+4|0,da(k+4|0,4,0,0)|0|0,4,0);$c(20,e,19912,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}case 115:{e=t+b|0;d=w;d=pw(da(d|0,4,0,0)|0|0,da(d+4|0,4,0,0)|0|0,1e3,0)|0;d=iw(d|0,C|0,-413362496,-50)|0;c=v;ea(c|0,d|0,4,0);ea(c+4|0,C|0,4,0);$c(30,e,19920,v)|0;if(!e)g=0;else{g=e;while(1)if(!(da(g>>0|0,1,0,0)|0))break;else g=g+1|0;g=g-e&1073741823}b=g+b|0;break e}default:{ea(t+b>>0|0,37|0,1,0);b=b+1|0;break e}}while(0)}else if(!(g<<24>>24))break d;else{ea(t+b>>0|0,g|0,1,0);b=b+1|0}while(0);f=f+1|0}ea(t+b>>0|0,0|0,1,0);Vg(a,t,-1,1,(t|0)==(y|0)?-1:75)}while(0);i=z;return}function Uj(a,b,c){a=a|0;b=b|0;c=c|0;Rj(a,0,0);return}function Vj(a,b,c){a=a|0;b=b|0;c=c|0;Sj(a,0,0);return}function Wj(a,b,c){a=a|0;b=b|0;c=c|0;Qj(a,0,0);return}function Xj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=Ug(da(c|0,4,0,0)|0|0)|0;g=f+1&-2;d=Ug(da(c+4|0,4,0,0)|0|0)|0;e=(g<<3)+56|0;c=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;b=lh(c,e,((e|0)<0)<<31>>31)|0;if(!b)Qd(a);else{ew(b|0,0,e|0)|0;ea(b+52|0,c|0,4,0);ea(b|0,0|0,4,0);ea(b+8|0,f|0,4,0);ea(b+12|0,d|0,4,0);c=b+56|0;ea(b+24|0,c|0,4,0);ea(b+20|0,c+(g<<2)|0,4,0);Vg(a,b,56,0,20)}return}function Yj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;f=od(da(c|0,4,0,0)|0|0)|0;e=Ug(da(c+4|0,4,0,0)|0|0)|0;if(!(da(f|0,4,0,0)|0)){a=f+8|0;if((da(a|0,4,0,0)|0|0)>0){b=da(f+20|0,4,0,0)|0|0;c=0;do{ea(b+(c<<2)|0,1|0,4,0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}}else{if((e|0)>0){a=da(f+20|0,4,0,0)|0|0;c=0;do{b=a+(c<<2)|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);c=c+1|0}while((c|0)!=(e|0))}a=f+8|0;if((e|0)<(da(a|0,4,0,0)|0|0)){b=da(f+24|0,4,0,0)|0|0;d=da(f+20|0,4,0,0)|0|0;c=e;do{e=b+(c<<2)|0;ea(e|0,(da(e|0,4,0,0)|0|0)+1|0,4,0);ea(d+(c<<2)|0,1|0,4,0);c=c+1|0}while((c|0)<(da(a|0,4,0,0)|0|0))}}ea(f|0,(da(f|0,4,0,0)|0|0)+1|0,4,0);return}function Zj(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;l=i;i=i+16|0;if((i|0)>=(j|0))ba();k=l;f=od(da(c|0,4,0,0)|0|0)|0;g=f+12|0;c=((da(g|0,4,0,0)|0|0)*25|0)+25|0;h=pg(c,((c|0)<0)<<31>>31)|0;if(!h)Qd(a);else{ew(h|0,0,c|0)|0;c=k;ea(c|0,da(f|0,4,0,0)|0|0,4,0);ea(c+4|0,0|0,4,0);$c(24,h,28696,k)|0;c=h;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;if((da(g|0,4,0,0)|0|0)>0){d=f+24|0;e=0;b=h+(c-h&1073741823)|0;while(1){m=(da((da(d|0,4,0,0)|0|0)+(e<<2)|0,4,0,0)|0|0)+1|0;c=da(f|0,4,0,0)|0|0;n=iw(m|0,0,-1,-1)|0;c=iw(n|0,C|0,c|0,0)|0;m=sw(c|0,C|0,m|0,0)|0;c=k;ea(c|0,m|0,4,0);ea(c+4|0,C|0,4,0);$c(24,b,28704,k)|0;if(!b)c=0;else{c=b;while(1)if(!(da(c>>0|0,1,0,0)|0))break;else c=c+1|0;c=c-b&1073741823}e=e+1|0;if((e|0)>=(da(g|0,4,0,0)|0|0))break;else b=b+c|0}}Vg(a,h,-1,1,1)}i=l;return}function _j(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0;l=i;i=i+144|0;if((i|0)>=(j|0))ba();h=l;k=l+8|0;f=Rg(da(c|0,4,0,0)|0|0,1)|0;g=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;f=(f|0)==0?10360:f;e=da(g+20|0,4,0,0)|0|0;a:do if((e|0)>0){b=da(g+16|0,4,0,0)|0|0;c=0;do{d=b+(c<<4)|0;if((da(b+(c<<4)+4|0,4,0,0)|0|0)!=0?(cd(da(d|0,4,0,0)|0|0,f)|0)==0:0)break a;c=c+1|0}while((c|0)<(e|0))}else{c=0;d=0}while(0);do if((c|0)<(e|0)){if((c|0)<2){ea(h|0,f|0,4,0);$c(128,k,29256,h)|0;m=16;break}if(!(da(g+63>>0|0,1,0,0)|0)){$c(128,k,29288,h)|0;m=16;break}c=d+4|0;b=da(c|0,4,0,0)|0|0;if((da(b+8>>0|0,1,0,0)|0|0)==0?(da(b+16|0,4,0,0)|0|0)==0:0){Ll(b);ea(c|0,0|0,4,0);ea(d+12|0,0|0,4,0);Dg(g);break}ea(h|0,f|0,4,0);$c(128,k,29336,h)|0;m=16}else{ea(h|0,f|0,4,0);$c(128,k,29232,h)|0;m=16}while(0);if((m|0)==16){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,k,-1,1,-1)|0}i=l;return}function $j(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+32|0;if((i|0)>=(j|0))ba();s=w;b=w+20|0;f=w+16|0;g=w+12|0;v=w+8|0;h=w+4|0;u=da((da(a|0,4,0,0)|0|0)+32|0,4,0,0)|0|0;ea(b|0,0|0,4,0);ea(f|0,0|0,4,0);ea(v|0,0|0,4,0);r=Rg(da(c|0,4,0,0)|0|0,1)|0;n=Rg(da(c+4|0,4,0,0)|0|0,1)|0;r=(r|0)==0?10360:r;n=(n|0)==0?10360:n;q=u+20|0;d=da(q|0,4,0,0)|0|0;e=da(u+116|0,4,0,0)|0|0;a:do if((d|0)<(e+2|0)){if(!(da(u+63>>0|0,1,0,0)|0)){d=th(u,29456,s)|0;ea(v|0,d|0,4,0);b=0;t=42;break}o=u+16|0;e=da(o|0,4,0,0)|0|0;b:do if((d|0)>0){c=0;while(1){if(!(cd(da(e+(c<<4)|0,4,0,0)|0|0,n)|0))break;c=c+1|0;if((c|0)>=(d|0))break b}ea(s|0,n|0,4,0);d=th(u,29504,s)|0;ea(v|0,d|0,4,0);b=0;t=42;break a}while(0);if((e|0)!=(u+456|0)){e=qo(u,e,(d<<4)+16|0,0)|0;if(!e)break;else m=e}else{e=lh(u,48,0)|0;if(!e)break;m=da(o|0,4,0,0)|0|0;ea(e+0|0,da(m+0|0,4,0,0)|0|0,4,0);ea(e+4|0,da(m+4|0,4,0,0)|0|0,4,0);ea(e+8|0,da(m+8|0,4,0,0)|0|0,4,0);ea(e+12|0,da(m+12|0,4,0,0)|0|0,4,0);ea(e+16|0,da(m+16|0,4,0,0)|0|0,4,0);ea(e+20|0,da(m+20|0,4,0,0)|0|0,4,0);ea(e+24|0,da(m+24|0,4,0,0)|0|0,4,0);ea(e+28|0,da(m+28|0,4,0,0)|0|0,4,0);m=e}ea(o|0,m|0,4,0);k=da(q|0,4,0,0)|0|0;l=m+(k<<4)|0;ea(l+0|0,0|0,4,0);ea(l+4|0,0|0,4,0);ea(l+8|0,0|0,4,0);ea(l+12|0,0|0,4,0);ea(g|0,da(u+48|0,4,0,0)|0|0,4,0);e=Vn(da((da(u|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,r,g,h,b,f)|0;if((e|0)==7)ea(u+65>>0|0,1|0,1,0);else if(!e){e=da(g|0,4,0,0)|0|256;ea(g|0,e|0,4,0);f=da(b|0,4,0,0)|0|0;g=m+(k<<4)+4|0;e=ym(da(h|0,4,0,0)|0|0,f,u,g,0,e)|0;Vc(f);ea(q|0,(da(q|0,4,0,0)|0|0)+1|0,4,0);if((e|0)==19){ea(v|0,th(u,29536,s)|0|0,4,0);e=1}else if(!e){e=Wn(u,da(g|0,4,0,0)|0|0)|0;ea(m+(k<<4)+12|0,e|0,4,0);if(e)if((da(e+76>>0|0,1,0,0)|0|0)!=0?(da(e+77>>0|0,1,0,0)|0|0)!=(da(u+62>>0|0,1,0,0)|0|0):0){ea(v|0,th(u,13232,s)|0|0,4,0);e=1}else e=0;else e=7;f=da(g|0,4,0,0)|0|0;c=da(f+4|0,4,0,0)|0|0;ea(c+4|0,da(f|0,4,0,0)|0|0,4,0);c=da(c|0,4,0,0)|0|0;d=da(u+66>>0|0,1,0,0)|0|0;do if(!(da(c+12>>0|0,1,0,0)|0)){b=da(c+208|0,4,0,0)|0|0;if((b|0)!=0?(da(b+43>>0|0,1,0,0)|0|0)==2:0)break;ea(c+4>>0|0,d|0,1,0)}while(0);c=da((da(o|0,4,0,0)|0|0)+4|0,4,0,0)|0|0;if(!c)c=0;else{h=da(c+4|0,4,0,0)|0|0;ea(h+4|0,da(c|0,4,0,0)|0|0,4,0);c=(da(h+22|0,2,0,1)|0|0)>>>2&1}ro(f,c)|0;so(da(g|0,4,0,0)|0|0,(da(u+24|0,4,0,0)|0)&28|3)}ea(m+(k<<4)+8>>0|0,3|0,1,0);b=jh(u,n)|0;ea(l|0,b|0,4,0);b=(e|0)==0&(b|0)==0?7:e;if(!b){c=da(q|0,4,0,0)|0|0;if((c|0)>0){d=da(o|0,4,0,0)|0|0;e=0;do{b=da(d+(e<<4)+4|0,4,0,0)|0|0;if(b)ea((da(b+4|0,4,0,0)|0|0)+4|0,da(b|0,4,0,0)|0|0,4,0);e=e+1|0}while((e|0)!=(c|0))}b=Yh(u,v)|0;if(!b)break}d=(da(q|0,4,0,0)|0|0)+-1|0;c=da((da(o|0,4,0,0)|0|0)+(d<<4)+4|0,4,0,0)|0|0;if(c){Ll(c);m=da(o|0,4,0,0)|0|0;ea(m+(d<<4)+4|0,0|0,4,0);ea(m+(d<<4)+12|0,0|0,4,0)}Dg(u);ea(q|0,d|0,4,0);if((b|0)==7|(b|0)==3082){ea(u+65>>0|0,1|0,1,0);lg(u,da(v|0,4,0,0)|0|0);d=th(u,15776,s)|0;ea(v|0,d|0,4,0);t=42;break}d=da(v|0,4,0,0)|0|0;if(d){t=43;break}ea(s|0,r|0,4,0);d=th(u,29568,s)|0;ea(v|0,d|0,4,0);t=42;break}m=da(f|0,4,0,0)|0|0;ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,m,-1,1,-1)|0;Vc(m)}else{ea(s|0,e|0,4,0);d=th(u,29416,s)|0;ea(v|0,d|0,4,0);b=0;t=42}while(0);if((t|0)==42)if(!d){p=b;t=44}else t=43;if((t|0)==43){ea(a+20|0,1|0,4,0);ea(a+25>>0|0,1|0,1,0);Wg(da(a|0,4,0,0)|0|0,d,-1,1,-1)|0;lg(u,da(v|0,4,0,0)|0|0);p=b;t=44}if((t|0)==44?(p|0)!=0:0)Od(a,p);i=w;return}function ak(a){a=a|0;if(a){hk(a,0)|0;Vc(da(a+24|0,4,0,0)|0|0);to(a)}return 0}function bk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=a+12|0;f=c&131071;j=b;h=e;i=0;a:while(1){while(1){e=bb(da(k|0,4,0,0)|0|0,d|0,0)|0;if(!((e|0)==(d|0)&(((e|0)<0)<<31>>31|0)==(h|0))){d=4;break a}g=$b[(fa(da(47552+100|0,4,0,0)|0|0,63|0)|0)&63](da(k|0,4,0,0)|0|0,j,f)|0;if((f|0)==(g|0)){e=i;d=13;break a}if((g|0)>=0){e=g;break}e=da(Gb()|0|0,4,0,0)|0|0;if((e|0)!=4){f=g;d=10;break a}}if((e|0)<=0){f=0;e=i;d=13;break}g=iw(e|0,((e|0)<0)<<31>>31|0,d|0,h|0)|0;f=f-e|0;j=j+e|0;h=C;d=g;i=e+i|0}do if((d|0)==4)if((e|0)==-1){ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);e=-1;break}else{ea(a+20|0,0|0,4,0);e=-1;break}else if((d|0)==10){ea(a+20|0,e|0,4,0);e=0;d=13}while(0);if((d|0)==13)e=e+f|0;if((e|0)!=(c|0))if((e|0)<0)e=266;else{ea(a+20|0,0|0,4,0);ew(b+e|0,0,c-e|0)|0;e=522}else e=0;return e|0}function ck(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0;a:do if((c|0)>0){g=a+12|0;h=a+20|0;f=c;while(1){c=uo(da(g|0,4,0,0)|0|0,d,e,b,f,h)|0;if((c|0)<=0)break;f=f-c|0;d=iw(c|0,((c|0)<0)<<31>>31|0,d|0,e|0)|0;if((f|0)<=0){c=0;break a}else{b=b+c|0;e=C}}if((c|0)<0?(da(h|0,4,0,0)|0|0)!=28:0){c=778;break}ea(a+20|0,0|0,4,0);c=13}else c=0;while(0);return c|0}function dk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=da(a+40|0,4,0,0)|0|0;if((d|0)>0){e=((d|0)<0)<<31>>31;c=iw(b|0,c|0,-1,-1)|0;c=iw(c|0,C|0,d|0,e|0)|0;b=C;d=qw(c|0,b|0,d|0,e|0)|0;d=cw(c|0,b|0,d|0,C|0)|0}else d=b;c=da(a+12|0,4,0,0)|0|0;while(1){b=qc[(fa(da(47552+76|0,4,0,0)|0|0,127|0)|0)&127](c,d)|0;if((b|0)>=0){d=6;break}b=Gb()|0;if((da(b|0,4,0,0)|0|0)!=4){d=8;break}}if((d|0)==6)if(!b)b=0;else{b=Gb()|0;d=8}if((d|0)==8){ea(a+20|0,da(b|0,4,0,0)|0|0,4,0);b=bo(1546,47928,da(a+32|0,4,0,0)|0|0,29004)|0}return b|0}function ek(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();d=f;if(!(Fb(da(a+12|0,4,0,0)|0|0)|0)){e=a+18|0;if(!((da(e|0,2,0,0)|0)&8))b=0;else{b=qc[(fa(da(47552+208|0,4,0,0)|0|0,127|0)|0)&127](da(a+32|0,4,0,0)|0|0,d)|0;c=da(d|0,4,0,0)|0|0;if((b|0)==0&(c|0)>-1){Fb(c|0)|0;$n(a,da(d|0,4,0,0)|0|0,28974);b=0}else b=(b|0)==14?0:b;ea(e|0,(da(e|0,2,0,1)|0|0)&65527|0,2,0)}}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);b=bo(1034,48360,da(a+32|0,4,0,0)|0|0,28960)|0}i=f;return b|0}function fk(a,b){a=a|0;b=b|0;var c=0,d=0;d=i;i=i+80|0;if((i|0)>=(j|0))ba();c=d;if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(a+12|0,4,0,0)|0|0,c)|0)){c=da(c+36|0,4,0,0)|0|0;a=(c|0)==1;ea(b|0,(a?0:c)|0,4,0);ea(b+4|0,(a?0:((c|0)<0)<<31>>31)|0,4,0);c=0}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=1802}i=d;return c|0}function gk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=da(a+24|0,4,0,0)|0|0;e=a+16|0;a:do if(!(da(e>>0|0,1,0,0)|0)){c=qc[(fa(da(47552+220|0,4,0,0)|0|0,127|0)|0)&127](d,511)|0;if((c|0)>=0){ea(e>>0|0,b|0,1,0);break}d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 13:case 37:case 4:case 16:case 110:case 11:case 17:{c=5;break a}case 1:{c=3;break}default:c=3850}ea(a+20|0,d|0,4,0)}else{ea(e>>0|0,b|0,1,0);Xa(d|0,0)|0;c=0}while(0);return c|0}function hk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=da(a+24|0,4,0,0)|0|0;e=a+16|0;a:do if((da(e>>0|0,1,0,1)|0|0|0)==(b|0))c=0;else{if((b|0)==1){ea(e>>0|0,1|0,1,0);c=0;break}do if((kc[(fa(da(47552+232|0,4,0,0)|0|0,127|0)|0)&127](d)|0)<0){c=Gb()|0;b=da(c|0,4,0,0)|0|0;if((b|0)==20){if((kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](d)|0)>=0)break;b=da(c|0,4,0,0)|0|0}d=(b|0)!=2;c=d?2058:0;if(!d)break a;ea(a+20|0,b|0,4,0);break a}while(0);ea(e>>0|0,0|0,1,0);c=0}while(0);return c|0}function ik(a,b){a=a|0;b=b|0;if((da(a+16>>0|0,1,0,1)|0|0)>1)a=1;else a=(qc[(fa(da(47552+28|0,4,0,0)|0|0,127|0)|0)&127](da(a+24|0,4,0,0)|0|0,0)|0)==0&1;ea(b|0,a|0,4,0);return 0}function jk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;l=i;i=i+80|0;if((i|0)>=(j|0))ba();e=l;a:do switch(b|0){case 4:{ea(c|0,da(a+20|0,4,0,0)|0|0,4,0);d=0;break}case 20:{ea(c|0,wo(a)|0|0,4,0);d=0;break}case 12:{ea(e|0,da((da(a+4|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,4,0);ea(c|0,Zc(10344,e)|0|0,4,0);d=0;break}case 10:{vo(a,4,c);d=0;break}case 6:{ea(a+40|0,da(c|0,4,0,0)|0|0,4,0);d=0;break}case 24:{d=0;break}case 5:{b=c;c=da(b|0,4,0,0)|0|0;b=da(b+4|0,4,0,0)|0|0;d=a+40|0;if((da(d|0,4,0,0)|0|0)>0){k=a+12|0;if(!(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(k|0,4,0,0)|0|0,e)|0)){d=da(d|0,4,0,0)|0|0;g=((d|0)<0)<<31>>31;c=iw(c|0,b|0,-1,-1)|0;c=iw(c|0,C|0,d|0,g|0)|0;h=C;g=qw(c|0,h|0,d|0,g|0)|0;g=cw(c|0,h|0,g|0,C|0)|0;h=C;c=da(e+36|0,4,0,0)|0|0;d=((c|0)<0)<<31>>31;do if((h|0)>(d|0)|(h|0)==(d|0)&g>>>0>c>>>0){f=da(e+40|0,4,0,0)|0|0;b=c+-1+(f<<1)|0;b=b+~((b|0)%(f|0)|0)|0;c=((b|0)<0)<<31>>31;d=a+20|0;if((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0){e=((f|0)<0)<<31>>31;do{a=(uo(da(k|0,4,0,0)|0|0,b,c,10360,1,d)|0)==1;b=iw(b|0,c|0,f|0,e|0)|0;c=C;if(!a){d=778;break a}}while((c|0)<(h|0)|(c|0)==(h|0)&b>>>0<g>>>0);b=qw(g|0,h|0,f|0,e|0)|0;if((b|0)==0&(C|0)==0)break}b=iw(g|0,h|0,-1,-1)|0;if((uo(da(k|0,4,0,0)|0|0,b,C,10360,1,d)|0)!=1){d=778;break a}}while(0);d=0}else d=1802}else d=0;break}case 16:{d=a+4|0;b=Sc(da((da(d|0,4,0,0)|0|0)+8|0,4,0,0)|0|0)|0;if(!b)d=0;else{Zn(da((da(d|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,b)|0;ea(c|0,b|0,4,0);d=0}break}case 13:{vo(a,16,c);d=0;break}case 1:{ea(c|0,da(a+16>>0|0,1,0,1)|0|0,4,0);d=0;break}default:d=12}while(0);i=l;return d|0}function kk(a){a=a|0;return 4096}function lk(a){a=a|0;return ((da(a+18|0,2,0,0)|0)&16)<<8|0}function mk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;i=da(a+36|0,4,0,0)|0|0;f=da(i|0,4,0,0)|0|0;j=(1<<c+b)-(1<<b)|0;a:do if(!(d&1)){g=da(f+32|0,4,0,0)|0|0;f=(g|0)==0;if(d&4){if(f)d=0;else{d=0;f=g;do{if(j&(da(f+12|0,2,0,1)|0|0)){e=5;break a}d=da(f+10|0,2,0,0)|0|d;f=da(f+4|0,4,0,0)|0|0}while((f|0)!=0)}if((j&(d&65535)|0)==0?(h=xo(a,0,b+120|0,c)|0,(h|0)!=0):0){e=h;break}e=i+10|0;ea(e|0,da(e|0,2,0,1)|0|0|j|0,2,0);e=0;break}if(!f){e=j&65535;d=g;do{if((da(d+12|0,2,0,1)|0|0)&e){e=5;break a}if((da(d+10|0,2,0,1)|0|0)&e){e=5;break a}d=da(d+4|0,4,0,0)|0|0}while((d|0)!=0)}e=xo(a,1,b+120|0,c)|0;if(!e){e=i+12|0;ea(e|0,da(e|0,2,0,1)|0|0|j|0,2,0);e=0}}else{f=da(f+32|0,4,0,0)|0|0;if(!f)d=0;else{d=0;do{if((f|0)!=(i|0))d=da(f+10|0,2,0,0)|0|d;f=da(f+4|0,4,0,0)|0|0}while((f|0)!=0)}if((d&65535&j|0)==0?(e=xo(a,2,b+120|0,c)|0,(e|0)!=0):0)break;e=(j|-65536)^65535;d=i+12|0;ea(d|0,(da(d|0,2,0,1)|0|0)&e|0,2,0);d=i+10|0;ea(d|0,(da(d|0,2,0,1)|0|0)&e|0,2,0);e=0}while(0);return e|0}function nk(a){a=a|0;return}function ok(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=a+36|0;f=da(e|0,4,0,0)|0|0;if(f){g=da(f|0,4,0,0)|0|0;c=g+32|0;while(1){d=da(c|0,4,0,0)|0|0;if((d|0)==(f|0))break;else c=d+4|0}ea(c|0,da(f+4|0,4,0,0)|0|0,4,0);Vc(f);ea(e|0,0|0,4,0);d=g+28|0;c=(da(d|0,4,0,0)|0|0)+-1|0;ea(d|0,c|0,4,0);if(!c){if((b|0)!=0?(da(g+12|0,4,0,0)|0|0)>-1:0)kc[(fa(da(47552+196|0,4,0,0)|0|0,127|0)|0)&127](da(g+8|0,4,0,0)|0|0)|0;yo(a)}}return 0}function pk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ea(e|0,0|0,4,0);return 0}function qk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function rk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=i;i=i+16|0;if((i|0)>=(j|0))ba();e=d;ea(e|0,c|0,4,0);b=pb(a|0,b|0,e|0)|0;i=d;return b|0}function sk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=i;i=i+528|0;if((i|0)>=(j|0))ba();d=g;e=g+8|0;ea(d|0,a|0,4,0);$c(512,e,10344,d)|0;a=fw(e|0)|0;a:do if((a|0)>1)while(1){c=a+-1|0;if((da(e+a>>0|0,1,0,0)|0|0)==47)break a;if((c|0)>1)a=c;else{a=c;break}}while(0);if((a|0)>0){ea(e+a>>0|0,0|0,1,0);a=_n(e,0,0)|0;ea(b|0,a|0,4,0);if((a|0)>-1)a=0;else f=7}else{ea(b|0,-1|0,4,0);f=7}if((f|0)==7){ea(d|0,28919|0,4,0);ea(d+4|0,10788|0,4,0);ad(14,14848,d);a=bo(14,47896,e,28919)|0}i=g;return a|0}function tk(a,b,c){a=a|0;b=b|0;c=c|0;if(!(Jb()|0))a=Pb(a|0,b|0,c|0)|0;else a=0;return a|0}function uk(){return vb(30)|0}function vk(a){a=a|0;to(a);return 0}function wk(a,b){a=a|0;b=b|0;return 0}function xk(a,b){a=a|0;b=b|0;return 0}function yk(a,b){a=a|0;b=b|0;ea(b|0,0|0,4,0);return 0}function zk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;ao(a);Bk(a,0)|0;e=da(a+8|0,4,0,0)|0|0;if(e){if(da(e+24|0,4,0,0)|0){b=a+28|0;c=da(b|0,4,0,0)|0|0;d=e+28|0;ea(c+8|0,da(d|0,4,0,0)|0|0,4,0);ea(d|0,c|0,4,0);ea(a+12|0,-1|0,4,0);ea(b|0,0|0,4,0)}c=e+16|0;b=(da(c|0,4,0,0)|0|0)+-1|0;ea(c|0,b|0,4,0);if(!b){zo(a);f=e+36|0;b=da(f|0,4,0,0)|0|0;c=e+32|0;d=da(c|0,4,0,0)|0|0;if(!b)ea(12178*4|0,d|0,4,0);else ea(b+32|0,d|0,4,0);b=da(c|0,4,0,0)|0|0;if(b)ea(b+36|0,da(f|0,4,0,0)|0|0,4,0);Vc(e)}}to(a);return 0}function Ak(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0;n=i;i=i+16|0;if((i|0)>=(j|0))ba();h=n;l=a+16|0;c=da(l>>0|0,1,0,0)|0|0;a:do if((c&255|0)<(b|0)){g=da(a+8|0,4,0,0)|0|0;m=g+12|0;d=da(m>>0|0,1,0,0)|0|0;if(c<<24>>24!=d<<24>>24?(d&255)>2|(b|0)>1:0){c=5;break}e=(b|0)==1;do if(e)if((d+-1&255)<2){ea(l>>0|0,1|0,1,0);c=g+8|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=g+24|0;ea(c|0,(da(c|0,4,0,0)|0|0)+1|0,4,0);c=0;break a}else{d=h+8|0;ea(d|0,1|0,4,0);ea(h+2|0,0|0,2,0);k=10;break}else{d=h+8|0;ea(d|0,1|0,4,0);ea(h+2|0,0|0,2,0);if((b|0)==4)if((c&255)<3)k=10;else{f=d;k=14}else{e=d;k=24}}while(0);if((k|0)==10){ea(h|0,e&1^1|0,2,0);ea(h+4|0,da(2514*4|0,4,0,0)|0|0,4,0);if(!(Ao(a,h)|0)){f=d;k=14}else{d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;break}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break a}default:c=3850}ea(a+20|0,d|0,4,0);break}}b:do if((k|0)==14)if(e){e=h+4|0;ea(e|0,(da(2514*4|0,4,0,0)|0|0)+2|0,4,0);ea(f|0,510|0,4,0);c:do if(!(Ao(a,h)|0)){c=0;d=0}else{d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;d=1;break c}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break c}default:{c=3850;break c}}}while(0);ea(e|0,da(2514*4|0,4,0,0)|0|0,4,0);ea(f|0,1|0,4,0);ea(h|0,2|0,2,0);do if((Ao(a,h)|0)!=0&(c|0)==0){c=2058;d=da(Gb()|0|0,4,0,0)|0|0}else{if((c|0)==5){c=5;break a}else if(c)break;ea(l>>0|0,1|0,1,0);h=g+24|0;ea(h|0,(da(h|0,4,0,0)|0|0)+1|0,4,0);ea(g+8|0,1|0,4,0);break b}while(0);ea(a+20|0,d|0,4,0);break a}else{e=f;k=24}while(0);do if((k|0)==24){f=(b|0)==4;if(f)if((da(g+8|0,4,0,0)|0|0)>1)c=5;else{ea(h|0,1|0,2,0);d=da(2514*4|0,4,0,0)|0|0;k=29}else{ea(h|0,1|0,2,0);d=da(2514*4|0,4,0,0)|0|0;if((b|0)==2){ea(h+4|0,d+1|0,4,0);d=1;k=30}else k=29}if((k|0)==29){ea(h+4|0,d+2|0,4,0);d=510;k=30}if((k|0)==30){ea(e|0,d|0,4,0);if(!(Ao(a,h)|0))break;d=da(Gb()|0|0,4,0,0)|0|0;switch(d|0){case 1:{c=3;k=33;break}case 13:case 37:case 4:case 16:case 110:case 11:{c=5;break}default:{c=3850;k=33}}if((k|0)==33)ea(a+20|0,d|0,4,0);if(!f)break a}ea(l>>0|0,3|0,1,0);ea(m>>0|0,3|0,1,0);break a}while(0);c=b&255;ea(l>>0|0,c|0,1,0);ea(m>>0|0,c|0,1,0);c=0}else c=0;while(0);i=n;return c|0}function Bk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+16|0;if((i|0)>=(j|0))ba();f=k;g=a+16|0;c=da(g>>0|0,1,0,0)|0|0;a:do if((c&255|0)>(b|0)){h=da(a+8|0,4,0,0)|0|0;do if((c&255)>1){if((b|0)==1){ea(f|0,0|0,2,0);e=f+2|0;ea(e|0,0|0,2,0);c=f+4|0;ea(c|0,(da(2514*4|0,4,0,0)|0|0)+2|0,4,0);d=f+8|0;ea(d|0,510|0,4,0);if(Ao(a,f)|0){ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=2314;break a}}else{d=f+8|0;e=f+2|0;c=f+4|0}ea(f|0,2|0,2,0);ea(e|0,0|0,2,0);ea(c|0,da(2514*4|0,4,0,0)|0|0,4,0);ea(d|0,2|0,4,0);if(!(Ao(a,f)|0)){ea(h+12>>0|0,1|0,1,0);break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);c=2058;break a}}while(0);if(!b){d=h+8|0;c=(da(d|0,4,0,0)|0|0)+-1|0;ea(d|0,c|0,4,0);do if(!c){ea(f|0,2|0,2,0);ea(f+2|0,0|0,2,0);ea(f+8|0,0|0,4,0);ea(f+4|0,0|0,4,0);if(!(Ao(a,f)|0)){ea(h+12>>0|0,0|0,1,0);c=0;break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);ea(h+12>>0|0,0|0,1,0);ea(g>>0|0,0|0,1,0);c=2058;break}}else c=0;while(0);e=h+24|0;d=(da(e|0,4,0,0)|0|0)+-1|0;ea(e|0,d|0,4,0);if(!d)zo(a);if(c)break}ea(g>>0|0,b|0,1,0);c=0}else c=0;while(0);i=k;return c|0}function Ck(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=i;i=i+32|0;if((i|0)>=(j|0))ba();e=g;f=g+8|0;d=da(a+8|0,4,0,0)|0|0;h=(da(d+12>>0|0,1,0,1)|0|0)>1;c=h&1;do if(!h)if(!(da(d+13>>0|0,1,0,0)|0)){ea(f+2|0,0|0,2,0);ea(f+4|0,(da(2514*4|0,4,0,0)|0|0)+1|0,4,0);ea(f+8|0,1|0,4,0);ea(f|0,1|0,2,0);h=da(11910*4|0,4,0,0)|0|0;d=da(a+12|0,4,0,0)|0|0;ea(e|0,f|0,4,0);if(!($b[(fa(h|0,63|0)|0)&63](d,12,e)|0)){d=0;c=(da(f|0,2,0,0)|0|0)==2?c:1;break}else{ea(a+20|0,da(Gb()|0|0,4,0,0)|0|0,4,0);d=3594;break}}else{d=0;c=0}else{d=0;c=1}while(0);ea(b|0,c|0,4,0);i=g;return d|0}function Dk(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=i;i=i+160|0;if((i|0)>=(j|0))ba();u=w;p=w+76|0;g=gc[(fa(da(47552+292|0,4,0,0)|0|0,7|0)|0)&7]()|0;if((g|0)<32768)v=1;else v=(g|0)/32768|0;s=a+36|0;g=da(s|0,4,0,0)|0|0;a:do if(!g){g=Sc(16)|0;if(!g)f=7;else{ea(g+0|0,0|0,4,0);ea(g+4|0,0|0,4,0);ea(g+8|0,0|0,4,0);ea(g+12|0,0|0,4,0);n=a+8|0;m=da(n|0,4,0,0)|0|0;f=da(m+20|0,4,0,0)|0|0;b:do if(!f){l=a+32|0;h=da(l|0,4,0,0)|0|0;if((qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](da(a+12|0,4,0,0)|0|0,p)|0)!=0?(da(m+13>>0|0,1,0,0)|0|0)==0:0)f=1802;else t=8;c:do if((t|0)==8){f=fw(h|0)|0;k=f+42|0;q=Sc(k)|0;if(q){ew(q|0,0,k|0)|0;o=q+36|0;ea(q+8|0,o|0,4,0);ea(u|0,h|0,4,0);$c(f+6|0,o,48720,u)|0;f=q+12|0;ea(f|0,-1|0,4,0);n=da(n|0,4,0,0)|0|0;ea(n+20|0,q|0,4,0);ea(q|0,n|0,4,0);ea(q+4|0,8|0,4,0);if(da(m+13>>0|0,1,0,0)|0){f=q;break b}if(!(eg(da(l|0,4,0,0)|0|0,48728,0)|0))k=66;else{ea(q+22>>0|0,1|0,1,0);k=0}h=_n(o,k,(da(p+12|0,4,0,0)|0)&511)|0;ea(f|0,h|0,4,0);if((h|0)<0){ea(u|0,29706|0,4,0);ea(u+4|0,10788|0,4,0);ad(14,14848,u);f=bo(14,47896,o,29706)|0;break}$b[(fa(da(47552+244|0,4,0,0)|0|0,63|0)|0)&63](h,da(p+20|0,4,0,0)|0|0,da(p+24|0,4,0,0)|0|0)|0;do if(!(xo(a,1,128,1)|0)){f=da(f|0,4,0,0)|0|0;do{h=qc[(fa(da(47552+76|0,4,0,0)|0|0,127|0)|0)&127](f,0)|0;if((h|0)>=0){r=h;t=18;break}}while((da(Gb()|0|0,4,0,0)|0|0)==4);if((t|0)==18?(r|0)==0:0)break;f=bo(4618,47928,o,29722)|0;if(f)break c}while(0);f=xo(a,0,128,1)|0;if(!f){f=q;break b}}else f=7}while(0);yo(a);Vc(g);if(f)break a;g=da(s|0,4,0,0)|0|0;t=24;break a}while(0);ea(g|0,f|0,4,0);t=f+28|0;ea(t|0,(da(t|0,4,0,0)|0|0)+1|0,4,0);ea(a+36|0,g|0,4,0);t=f+32|0;ea(g+4|0,da(t|0,4,0,0)|0|0,4,0);ea(t|0,g|0,4,0);t=24}}else t=24;while(0);if((t|0)==24){a=da(g|0,4,0,0)|0|0;s=v+b|0;s=s-((s|0)%(v|0)|0)|0;p=a+20|0;d:do if((da(p|0,2,0,1)|0|0)<(s|0)){f=_(s,c)|0;ea(a+16|0,c|0,4,0);r=a+12|0;g=da(r|0,4,0,0)|0|0;e:do if((g|0)>-1){if(qc[(fa(da(47552+64|0,4,0,0)|0|0,127|0)|0)&127](g,u)|0){g=4874;break d}g=da(u+36|0,4,0,0)|0|0;if((g|0)<(f|0)){if(!d){g=0;break d}g=(g|0)/4096|0;f=(f|0)/4096|0;if((g|0)<(f|0)){while(1){q=g<<12|4095;g=g+1|0;if((uo(da(r|0,4,0,0)|0|0,q,((q|0)<0)<<31>>31,10360,1,0)|0)!=1)break;if((g|0)>=(f|0))break e}g=bo(4874,47976,da(a+8|0,4,0,0)|0|0,29853)|0;break d}}}while(0);o=a+24|0;g=Wc(da(o|0,4,0,0)|0|0,s<<2)|0;if(g){ea(o|0,g|0,4,0);g=da(p|0,2,0,1)|0|0;if((g|0)<(s|0)){m=_(v,c)|0;l=a+22|0;n=(v|0)>0;while(1){f=da(r|0,4,0,0)|0|0;if((f|0)>-1){g=_(g,c)|0;g=jc[(fa(da(47552+256|0,4,0,0)|0|0,7|0)|0)&7](0,m,(da(l>>0|0,1,0,0)|0|0)!=0?1:3,1,f,g)|0;if((g|0)==(-1|0))break}else{g=Sc(c)|0;if(!g){g=7;break d}ew(g|0,0,c|0)|0}h=da(p|0,2,0,0)|0|0;if(n){f=h&65535;k=0;do{q=g+(_(k,c)|0)|0;ea((da(o|0,4,0,0)|0|0)+(f+k<<2)|0,q|0,4,0);k=k+1|0}while((k|0)!=(v|0))}g=(h&65535)+v|0;ea(p|0,g|0,2,0);g=g&65535;if((g|0)>=(s|0)){g=0;break d}}g=bo(5386,48080,da(a+8|0,4,0,0)|0|0,29880)|0}else g=0}else g=3082}else g=0;while(0);if((da(p|0,2,0,1)|0|0)>(b|0))f=da((da(a+24|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0;else f=0;ea(e|0,f|0,4,0);f=(da(a+22>>0|0,1,0,0)|0|0)!=0&(g|0)==0?8:g}i=w;return f|0}function Ek(a,b){a=a|0;b=b|0;var c=0;if(b)do{c=b;b=da(b+32|0,4,0,0)|0|0;Fk(a,da(c+20|0,4,0,0)|0|0);Mk(a,da(c+24|0,4,0,0)|0|0);Lk(a,da(c+8|0,4,0,0)|0|0,1);Gk(a,da(c+28|0,4,0,0)|0|0);lg(a,c)}while((b|0)!=0);return}function Fk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){e=b+4|0;do if(!((da(e|0,4,0,0)|0)&16384)){Fk(a,da(b+12|0,4,0,0)|0|0);Fk(a,da(b+16|0,4,0,0)|0|0);c=da(e|0,4,0,0)|0|0;if(c&65536){lg(a,da(b+8|0,4,0,0)|0|0);c=da(e|0,4,0,0)|0|0}d=b+20|0;if(!(c&2048)){Mk(a,da(d|0,4,0,0)|0|0);break}else{Lk(a,da(d|0,4,0,0)|0|0,1);break}}while(0);if(!((da(e|0,4,0,0)|0)&32768))lg(a,b)}return}function Gk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){e=b+4|0;c=da(b|0,4,0,0)|0|0;if((da(e|0,4,0,0)|0|0)>0){d=0;do{lg(a,da(c+(d<<3)|0,4,0,0)|0|0);d=d+1|0;c=da(b|0,4,0,0)|0|0}while((d|0)<(da(e|0,4,0,0)|0|0))}lg(a,c);lg(a,b)}return}function Hk(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;h=an(a,b,m)|0;do if(!h)if(c){l=pg(16,0)|0;if(!l)d=c;else{ea(l+12|0,b|0,4,0);ea(l+8|0,c|0,4,0);k=a+4|0;f=(da(k|0,4,0,0)|0|0)+1|0;ea(k|0,f|0,4,0);if((f>>>0>9?(e=da(a|0,4,0,0)|0|0,f>>>0>e<<1>>>0):0)?(g=f<<4>>>0>1024?128:f<<1,(g|0)!=(e|0)):0){d=da(3164*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();k=pg(g<<3,0)|0;d=da(3166*4|0,4,0,0)|0|0;if(d)mc[(fa(d|0,3|0)|0)&3]();if(k){h=a+12|0;Vc(da(h|0,4,0,0)|0|0);ea(h|0,k|0,4,0);h=(kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](k)|0)>>>3;ea(a|0,h|0,4,0);ew(k|0,0,h<<3|0)|0;c=a+8|0;f=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);if(f)do{g=da(f+12|0,4,0,0)|0|0;e=da(g>>0|0,1,0,0)|0|0;if(!(e<<24>>24))e=0;else{c=e;e=0;do{g=g+1|0;e=e<<3^e^(da(9328+(c&255)>>0|0,1,0,1)|0|0);c=da(g>>0|0,1,0,0)|0|0}while(c<<24>>24!=0)}c=f;f=da(f|0,4,0,0)|0|0;Bo(a,k+(((e>>>0)%(h>>>0)|0)<<3)|0,c)}while((f|0)!=0);d=da(b>>0|0,1,0,0)|0|0;if(!(d<<24>>24))d=0;else{f=d;d=0;do{b=b+1|0;d=d<<3^d^(da(9328+(f&255)>>0|0,1,0,1)|0|0);f=da(b>>0|0,1,0,0)|0|0}while(f<<24>>24!=0)}ea(m|0,(d>>>0)%((da(a|0,4,0,0)|0|0)>>>0)|0|0,4,0)}}d=da(a+12|0,4,0,0)|0|0;if(!d)d=0;else d=d+((da(m|0,4,0,0)|0)<<3)|0;Bo(a,d,l);d=0}}else d=0;else{f=h+8|0;d=da(f|0,4,0,0)|0|0;if(c){ea(f|0,c|0,4,0);ea(h+12|0,b|0,4,0);break}g=da(m|0,4,0,0)|0|0;f=da(h+4|0,4,0,0)|0|0;e=da(h|0,4,0,0)|0|0;if(!f)ea(a+8|0,e|0,4,0);else{ea(f|0,e|0,4,0);e=da(h|0,4,0,0)|0|0}if(e)ea(e+4|0,f|0,4,0);b=da(a+12|0,4,0,0)|0|0;if(b){f=b+(g<<3)+4|0;if((da(f|0,4,0,0)|0|0)==(h|0))ea(f|0,e|0,4,0);m=b+(g<<3)|0;ea(m|0,(da(m|0,4,0,0)|0|0)+-1|0,4,0)}Vc(h);l=a+4|0;m=(da(l|0,4,0,0)|0|0)+-1|0;ea(l|0,m|0,4,0);if(!m)Nl(a)}while(0);i=n;return d|0}function Ik(a,b){a=a|0;b=b|0;Fk(a,da(b+36|0,4,0,0)|0|0);lg(a,da(b+16|0,4,0,0)|0|0);if((da(b+51>>0|0,1,0,0)|0)&16)lg(a,da(b+32|0,4,0,0)|0|0);lg(a,b);return}function Jk(a,b){a=a|0;b=b|0;var c=0;if(b){c=da(b+28|0,4,0,0)|0|0;Fk(a,da(c+20|0,4,0,0)|0|0);Mk(a,da(c+24|0,4,0,0)|0|0);Lk(a,da(c+8|0,4,0,0)|0|0,1);Fk(a,da(b+12|0,4,0,0)|0|0);lg(a,b)}return}function Kk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=b+4|0;c=da(e|0,4,0,0)|0|0;if(c){b=b+38|0;if((da(b|0,2,0,0)|0|0)>0){d=0;while(1){lg(a,da(c|0,4,0,0)|0|0);Fk(a,da(c+4|0,4,0,0)|0|0);lg(a,da(c+8|0,4,0,0)|0|0);lg(a,da(c+12|0,4,0,0)|0|0);lg(a,da(c+16|0,4,0,0)|0|0);d=d+1|0;if((d|0)>=(da(b|0,2,0,0)|0|0))break;else c=c+24|0}c=da(e|0,4,0,0)|0|0}lg(a,c)}return}function Lk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(b){d=(c|0)==0;c=b;while(1){b=c;c=da(c+52|0,4,0,0)|0|0;Mk(a,da(b|0,4,0,0)|0|0);Co(a,da(b+32|0,4,0,0)|0|0);Fk(a,da(b+36|0,4,0,0)|0|0);Mk(a,da(b+40|0,4,0,0)|0|0);Fk(a,da(b+44|0,4,0,0)|0|0);Mk(a,da(b+48|0,4,0,0)|0|0);Fk(a,da(b+60|0,4,0,0)|0|0);Fk(a,da(b+64|0,4,0,0)|0|0);Pn(a,da(b+68|0,4,0,0)|0|0);if(!d)lg(a,b);if(!c)break;else d=0}}return}function Mk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(b){c=b+4|0;if((da(b|0,4,0,0)|0|0)>0){d=0;e=da(c|0,4,0,0)|0|0;while(1){Fk(a,da(e|0,4,0,0)|0|0);lg(a,da(e+4|0,4,0,0)|0|0);lg(a,da(e+8|0,4,0,0)|0|0);d=d+1|0;if((d|0)>=(da(b|0,4,0,0)|0|0))break;else e=e+20|0}}lg(a,da(c|0,4,0,0)|0|0);lg(a,b)}return}function Nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=b+60|0;c=da(g|0,4,0,0)|0|0;ea(g|0,0|0,4,0);a:do if(!c)b=0;else{b=0;do{while(1){e=da(c|0,4,0,0)|0|0;d=c+24|0;f=c;c=da(d|0,4,0,0)|0|0;if((e|0)==(a|0)){b=f;break}e=e+332|0;ea(d|0,da(e|0,4,0,0)|0|0,4,0);ea(e|0,f|0,4,0);if(!c)break a}ea(g|0,b|0,4,0);ea(d|0,0|0,4,0)}while((c|0)!=0)}while(0);return b|0}function Ok(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if((b|0)!=0?(d=b+(c*20|0)|0,(c|0)>0):0){c=b;do{Hn(a,da(c+1>>0|0,1,0,0)|0|0,da(c+16|0,4,0,0)|0|0);c=c+20|0}while(c>>>0<d>>>0)}lg(a,b);return}function Pk(a,b){a=a|0;b=b|0;do if(!a)b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0;else{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){b=da(a+248|0,2,0,1)|0|0;break}b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](b)|0}while(0);a=da(a+520|0,4,0,0)|0|0;ea(a|0,(da(a|0,4,0,0)|0|0)+b|0,4,0);return}function Qk(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=da(a+(b<<2)|0,4,0,0)|0|0;a:do if(!a)a=0;else while(1){b=da(a+24|0,4,0,0)|0|0;if((Ec(b,c,d)|0)==0?(da(b+d>>0|0,1,0,0)|0|0)==0:0)break a;a=da(a+28|0,4,0,0)|0|0;if(!a){a=0;break}}while(0);return a|0}function Rk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=a+12|0;e=da(d|0,4,0,0)|0|0;f=e+c|0;if((f|0)<(da(a+16|0,4,0,0)|0|0)){ea(d|0,f|0,4,0);jw((da(a+8|0,4,0,0)|0|0)+e|0,b|0,c|0)|0}else Do(a,b,c);return}function Sk(a){a=a|0;var b=0,c=0;c=a+4|0;b=da(c|0,4,0,0)|0|0;if((da(a|0,4,0,0)|0|0)>(b|0)){ea(c|0,b+1|0,4,0);c=Ug(da((da(a+8|0,4,0,0)|0|0)+(b<<2)|0,4,0,0)|0|0)|0;b=C}else{b=0;c=0}C=b;return c|0}function Tk(a){a=a|0;var b=0,c=0;b=a+4|0;c=da(b|0,4,0,0)|0|0;if((da(a|0,4,0,0)|0|0)>(c|0)){ea(b|0,c+1|0,4,0);b=Rg(da((da(a+8|0,4,0,0)|0|0)+(c<<2)|0,4,0,0)|0|0,1)|0}else b=0;return b|0}function Uk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=a+12|0;g=da(e|0,4,0,0)|0|0;g=iw(g|0,((g|0)<0)<<31>>31|0,b|0,((b|0)<0)<<31>>31|0)|0;i=C;f=da(a+16|0,4,0,0)|0|0;h=((f|0)<0)<<31>>31;if((i|0)<(h|0)|(i|0)==(h|0)&g>>>0<f>>>0){if((b|0)>0)d=4}else{b=Eo(a,b)|0;if((b|0)>=1)d=4}if((d|0)==4){a=a+8|0;do{b=b+-1|0;d=da(e|0,4,0,0)|0|0;ea(e|0,d+1|0,4,0);ea((da(a|0,4,0,0)|0|0)+d>>0|0,c|0,1,0)}while((b|0)>0)}return}function Vk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=i;i=i+112|0;if((i|0)>=(j|0))ba();g=d+28|0;f=d;e=da(a+88|0,4,0,0)|0|0;ea(f+4|0,g|0,4,0);ea(f+8|0,g|0,4,0);ea(f+12|0,0|0,4,0);ea(f+16|0,70|0,4,0);ea(f+20|0,e|0,4,0);ea(f+24>>0|0,1|0,1,0);e=f+25|0;ea(e>>0|0,0|0,1,0);ea(f|0,a|0,4,0);rg(f,1,b,c);c=sg(f)|0;if((da(e>>0|0,1,0,0)|0|0)==1)ea(a+65>>0|0,1|0,1,0);i=d;return c|0}function Wk(a){a=a|0;return kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0}function Xk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0;k=i;i=i+80|0;if((i|0)>=(j|0))ba();h=k+40|0;e=k;if((b|0)!=0?(d=da(b+20|0,4,0,0)|0|0,(d|0)!=0):0){ea(h+0|0,0|0,4,0);ea(h+4|0,0|0,4,0);ea(h+8|0,0|0,4,0);ea(h+12|0,0|0,4,0);ea(h+16|0,0|0,4,0);ea(h+20|0,0|0,4,0);ea(h+24|0,0|0,4,0);f=e+0|0;g=f+40|0;do{ea(f|0,0|0,4,0);f=f+4|0}while((f|0)<(g|0));ea(e+8|0,1|0,2,0);c=a+32|0;ea(e+32|0,da(c|0,4,0,0)|0|0,4,0);ea(h|0,e|0,4,0);ea(h+8|0,a|0,4,0);ea(h+4|0,b|0,4,0);bc[(fa(d|0,31|0)|0)&31](h);if((da(a+24|0,4,0,0)|0|0)>0)lg(da(c|0,4,0,0)|0|0,da(a+20|0,4,0,0)|0|0);f=a+0|0;c=e+0|0;g=f+40|0;do{ea(f|0,da(c|0,4,0,0)|0|0,4,0);f=f+4|0;c=c+4|0}while((f|0)<(g|0));c=da(h+20|0,4,0,0)|0|0}else c=0;i=k;return c|0}function Yk(a){a=a|0;var b=0,c=0,d=0;b=da(a|0,4,0,0)|0|0;if(b){c=a+4|0;do{d=b;b=da(b|0,4,0,0)|0|0;lg(da(c|0,4,0,0)|0|0,d)}while((b|0)!=0)}ea(a|0,0|0,4,0);ea(a+24|0,0|0,2,0);ea(a+8|0,0|0,4,0);ea(a+12|0,0|0,4,0);ea(a+20|0,0|0,4,0);ea(a+26|0,1|0,2,0);return}function Zk(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;g=i;i=i+16|0;if((i|0)>=(j|0))ba();f=g;e=g+4|0;b=da(a|0,4,0,0)|0|0;c=b+16|0;do if((da((da(c|0,4,0,0)|0|0)+20|0,4,0,0)|0|0)==0?(da(a+450>>0|0,1,0,0)|0|0)==0:0){d=ym(da(b|0,4,0,0)|0|0,0,b,e,0,542)|0;if(d){sh(a,25496,f);ea(a+12|0,d|0,4,0);b=1;break}d=da(e|0,4,0,0)|0|0;ea((da(c|0,4,0,0)|0|0)+20|0,d|0,4,0);if((wg(d,da(b+72|0,4,0,0)|0|0,-1,0)|0)==7){ea(b+65>>0|0,1|0,1,0);b=1}else b=0}else b=0;while(0);i=g;return b|0}function _k(a){a=a|0;var b=0;do if(a)if((da(3157*4|0,4,0,0)|0|0)>>>0<=a>>>0&(da(3158*4|0,4,0,0)|0|0)>>>0>a>>>0){ea(2167*4|0,(da(2167*4|0,4,0,0)|0|0)+-1|0,4,0);ea(a|0,da(3160*4|0,4,0,0)|0|0,4,0);ea(3160*4|0,a|0,4,0);a=(da(3161*4|0,4,0,0)|0|0)+1|0;ea(3161*4|0,a|0,4,0);ea(3162*4|0,(a|0)<(da(3156*4|0,4,0,0)|0|0)&1|0,4,0);break}else{b=kc[(fa(da(8744+48|0,4,0,0)|0|0,127|0)|0)&127](a)|0;ea(2168*4|0,(da(2168*4|0,4,0,0)|0|0)-b|0,4,0);Vc(a);break}while(0);return}function $k(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;n=i;i=i+16|0;if((i|0)>=(j|0))ba();k=n;h=da(b|0,4,0,0)|0|0;if((da(a+15>>0|0,1,0,0)|0|0)!=0?(da(a+24|0,4,0,0)|0|0)!=0:0)m=12;else m=3;do if((m|0)==3){g=a+204|0;if(((h|0)!=0?(da((da(g|0,4,0,0)|0|0)+12|0,4,0,0)|0|0)==0:0)?(l=a+152|0,(h|0)!=(da(l|0,4,0,0)|0|0)):0){o=k;ea(o|0,0|0,4,0);ea(o+4|0,0|0,4,0);if(((da(a+16>>0|0,1,0,0)|0|0)!=0?(e=da(a+60|0,4,0,0)|0|0,d=da(e|0,4,0,0)|0|0,(d|0)!=0):0)?(f=qc[(fa(da(d+24|0,4,0,0)|0|0,127|0)|0)&127](e,k)|0,(f|0)!=0):0){d=0;c=f}else{d=Fo(h)|0;if(d){wn(a);e=Go(da(g|0,4,0,0)|0|0,h)|0;if(!e){m=a+200|0;_k(da(m|0,4,0,0)|0|0);ea(m|0,d|0,4,0);m=k;k=da(m|0,4,0,0)|0|0;m=da(m+4|0,4,0,0)|0|0;g=iw(h|0,0,-1,-1)|0;m=iw(g|0,C|0,k|0,m|0)|0;m=pw(m|0,C|0,h|0,0)|0;ea(a+24|0,m|0,4,0);ea(l|0,h|0,4,0);m=12;break}else c=e}else{d=0;c=7}}_k(d);ea(b|0,da(l|0,4,0,0)|0|0,4,0)}else m=12}while(0);if((m|0)==12){ea(b|0,da(a+152|0,4,0,0)|0|0,4,0);d=a+142|0;if((c|0)<0)c=da(d|0,2,0,0)|0|0;ea(d|0,c|0,2,0);c=0}i=n;return c|0}function al(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=da(a+4|0,4,0,0)|0|0;a:do if(da(a+9>>0|0,1,0,0)|0){if((da(e+76|0,4,0,0)|0|0)!=(a|0)?((da(e+22|0,2,0,0)|0)&32)!=0:0){d=262;break}d=da(e+72|0,4,0,0)|0|0;if(d){while(1){if(((da(d|0,4,0,0)|0|0)!=(a|0)?(da(d+4|0,4,0,0)|0|0)==(b|0):0)?(da(d+8>>0|0,1,0,0)|0|0)!=c<<24>>24:0)break;d=da(d+12|0,4,0,0)|0|0;if(!d){d=0;break a}}if(c<<24>>24==2){d=e+22|0;ea(d|0,da(d|0,2,0,1)|0|64|0,2,0);d=262}else d=262}else d=0}else d=0;while(0);return d|0}function bl(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;C=i;i=i+64|0;if((i|0)>=(j|0))ba();B=C;y=C+28|0;x=C+24|0;h=C+20|0;o=C+48|0;q=C+16|0;r=C+12|0;v=C+8|0;w=C+32|0;if(!((da(a+15>>0|0,1,0,0)|0|0)!=0?(b=da(a+40|0,4,0,0)|0|0,(b|0)!=0):0))A=3;do if((A|0)==3){z=a+208|0;c=da(z|0,4,0,0)|0|0;a:do if(!c){u=a+16|0;do if(!(da(u>>0|0,1,0,0)|0)){e=a+176|0;d=a+180|0;while(1){b=el(a,1)|0;if(!b)break;else if((b|0)!=5)break a;if(!(kc[(fa(da(e|0,4,0,0)|0|0,127|0)|0)&127](da(d|0,4,0,0)|0|0)|0)){b=5;break a}}p=a+17|0;if((da(p>>0|0,1,0,1)|0|0)<2){c=da(a|0,4,0,0)|0|0;ea(B|0,1|0,4,0);f=a+64|0;g=(da(da(f|0,4,0,0)|0|0,4,0,0)|0|0)!=0;if(g){e=1;b=0}else{b=oc[(fa(da(c+32|0,4,0,0)|0|0,31|0)|0)&31](c,da(a+172|0,4,0,0)|0|0,0,B)|0;e=(da(B|0,4,0,0)|0|0)!=0}b:do if((b|0)==0&e){ea(y|0,0|0,4,0);d=a+60|0;b=da(d|0,4,0,0)|0|0;b=qc[(fa(da((da(b|0,4,0,0)|0|0)+36|0,4,0,0)|0|0,127|0)|0)&127](b,y)|0;if(!(da(y|0,4,0,0)|0|b)){b=Ho(a,x)|0;if(!b){if((da(x|0,4,0,0)|0|0)!=0|g){do if(!g){ea(h|0,2049|0,4,0);b=sc[(fa(da(c+24|0,4,0,0)|0|0,31|0)|0)&31](c,da(a+172|0,4,0,0)|0|0,da(f|0,4,0,0)|0|0,2049,h)|0;if(!b)break;else if((b|0)!=14){e=0;break b}e=1;b=0;break b}while(0);ea(o>>0|0,0|0,1,0);b=da(f|0,4,0,0)|0|0;b=sc[(fa(da((da(b|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](b,o,1,0,0)|0;b=(b|0)==522?0:b;if(!g?(m=da(f|0,4,0,0)|0|0,n=da(m|0,4,0,0)|0|0,(n|0)!=0):0){kc[(fa(da(n+4|0,4,0,0)|0|0,127|0)|0)&127](m)|0;ea(m|0,0|0,4,0)}e=(da(o>>0|0,1,0,0)|0|0)!=0&1;break}e=da(3164*4|0,4,0,0)|0|0;if(e)mc[(fa(e|0,3|0)|0)&3]();do if(((el(a,2)|0)==0?($b[(fa(da(c+28|0,4,0,0)|0|0,63|0)|0)&63](c,da(a+172|0,4,0,0)|0|0,0)|0,(da(a+4>>0|0,1,0,0)|0|0)==0):0)?(k=da(d|0,4,0,0)|0|0,l=da(k|0,4,0,0)|0|0,(l|0)!=0):0){if(!(da(a+13>>0|0,1,0,0)|0))qc[(fa(da(l+32|0,4,0,0)|0|0,127|0)|0)&127](k,1)|0;if((da(p>>0|0,1,0,0)|0|0)==5)break;ea(p>>0|0,1|0,1,0)}while(0);e=da(3166*4|0,4,0,0)|0|0;if(!e){e=0;b=0}else{mc[(fa(e|0,3|0)|0)&3]();e=0;b=0}}else e=0}else e=0}else e=0;while(0);if(b)break a;if(e)A=35}else A=35;do if((A|0)==35){if(da(a+14>>0|0,1,0,0)|0){b=776;break a}b=el(a,4)|0;if(b)break a;c=a+64|0;if(!(da(da(c|0,4,0,0)|0|0,4,0,0)|0)){e=da(a|0,4,0,0)|0|0;d=a+172|0;b=oc[(fa(da(e+32|0,4,0,0)|0|0,31|0)|0)&31](e,da(d|0,4,0,0)|0|0,0,q)|0;if((b|0)==0&(da(q|0,4,0,0)|0|0)!=0){ea(r|0,0|0,4,0);b=sc[(fa(da(e+24|0,4,0,0)|0|0,31|0)|0)&31](e,da(d|0,4,0,0)|0|0,da(c|0,4,0,0)|0|0,2050,r)|0;if(!b)if((da(r|0,4,0,0)|0)&1){ea(B|0,46645|0,4,0);ea(B+4|0,10788|0,4,0);ad(14,14848,B);e=da(c|0,4,0,0)|0|0;d=da(e|0,4,0,0)|0|0;if(!d)b=14;else{kc[(fa(da(d+4|0,4,0,0)|0|0,127|0)|0)&127](e)|0;ea(e|0,0|0,4,0);b=14}}else b=0}}else b=0;if(!(da(da(c|0,4,0,0)|0|0,4,0,0)|0))if((da(a+4>>0|0,1,0,0)|0|0)==0?(s=da(a+60|0,4,0,0)|0|0,t=da(s|0,4,0,0)|0|0,(t|0)!=0):0){if(!(da(a+13>>0|0,1,0,0)|0))qc[(fa(da(t+32|0,4,0,0)|0|0,127|0)|0)&127](s,1)|0;if((da(p>>0|0,1,0,0)|0|0)!=5){ea(p>>0|0,1|0,1,0);A=52}else A=52}else A=52;else{b=Io(a)|0;if(!b){b=Jo(a,1)|0;ea(u>>0|0,0|0,1,0);A=52}}if((A|0)==52)if(!b)break;y=b&255;if(!((y|0)==10|(y|0)==13))break a;ea(a+40|0,b|0,4,0);ea(u>>0|0,6|0,1,0);break a}while(0);e=a+12|0;if((da(e>>0|0,1,0,0)|0|0)==0?(da(a+23>>0|0,1,0,0)|0|0)!=0:0){ea(v|0,0|0,4,0);b=Ho(a,v)|0;if(b)break a;if(da(v|0,4,0,0)|0){b=da(a+60|0,4,0,0)|0|0;b=sc[(fa(da((da(b|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](b,w,16,24,0)|0;if(!((b|0)==0|(b|0)==522))break a}else{d=w+0|0;c=d+16|0;do{ea(d>>0|0,0|0,1,0);d=d+1|0}while((d|0)<(c|0))}if(Yv(a+104|0,w,16)|0)wn(a)}if(!(da(e>>0|0,1,0,0)|0)){b=Ho(a,x)|0;if(!b){d=da(a|0,4,0,0)|0|0;c=da(a+212|0,4,0,0)|0|0;if(!(da(x|0,4,0,0)|0)){b=$b[(fa(da(d+28|0,4,0,0)|0|0,63|0)|0)&63](d,c,0)|0;ea(y|0,0|0,4,0);if((b|0)!=5898)A=68}else{b=oc[(fa(da(d+32|0,4,0,0)|0|0,31|0)|0)&31](d,c,0,y)|0;A=68}if((A|0)==68){if(b)break;if(da(y|0,4,0,0)|0){b=dl(a,0)|0;break}}b=a+5|0;if((da(b>>0|0,1,0,0)|0|0)==5){ea(b>>0|0,0|0,1,0);b=0}else b=0}}else b=0}else b=0;while(0);c=da(z|0,4,0,0)|0|0;if(!c)A=78;else A=74}else A=74;while(0);if((A|0)==74){ea(B|0,0|0,4,0);Ko(c);c=da(z|0,4,0,0)|0|0;d=0;do{d=d+1|0;b=Lo(c,B,0,d)|0}while((b|0)==-1);if(!(da(B|0,4,0,0)|0|b))A=78;else{wn(a);A=78}}if((A|0)==78){if((da(a+16>>0|0,1,0,0)|0|0)==0&(b|0)==0)b=Ho(a,a+24|0)|0;if(!b){ea(a+16>>0|0,1|0,1,0);b=0;break}}Mo(a)}while(0);i=C;return b|0}function cl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;f=i;i=i+16|0;if((i|0)>=(j|0))ba();e=f;d=yg(da(a|0,4,0,0)|0|0,b,e,d)|0;if(!d){e=da(e|0,4,0,0)|0|0;d=da(e+8|0,4,0,0)|0|0;ea(d+56|0,da(e+4|0,4,0,0)|0|0,4,0);ea(d+68|0,e|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);ea(c|0,d|0,4,0);d=0}i=f;return d|0}function dl(a,b){a=a|0;b=b|0;var c=0,d=0;do if((da(a+12>>0|0,1,0,0)|0|0)==0?(da(a+208|0,4,0,0)|0|0)==0:0){b=da(da(a+60|0,4,0,0)|0|0,4,0,0)|0|0;if(!(da(a+4>>0|0,1,0,0)|0)){if((da(b|0,4,0,0)|0|0)<=1){b=14;break}if(!(da(b+52|0,4,0,0)|0)){b=14;break}}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)}b=on(a)|0;if(!b){ea(a+5>>0|0,5|0,1,0);ea(a+16>>0|0,0|0,1,0);b=0}}else d=10;while(0);if((d|0)==10){ea(b|0,1|0,4,0);b=0}return b|0}function el(a,b){a=a|0;b=b|0;var c=0,d=0;d=a+17|0;c=da(d>>0|0,1,0,0)|0|0;do if((c&255|0)<(b|0)|c<<24>>24==5){if(!(da(a+13>>0|0,1,0,0)|0)){c=da(a+60|0,4,0,0)|0|0;c=qc[(fa(da((da(c|0,4,0,0)|0|0)+28|0,4,0,0)|0|0,127|0)|0)&127](c,b)|0;if(c)break;c=da(d>>0|0,1,0,0)|0|0}if(c<<24>>24!=5|(b|0)==4){ea(d>>0|0,b|0,1,0);c=0}else c=0}else c=0;while(0);return c|0}function fl(a){a=a|0;var b=0,c=0,d=0;b=da(a+4|0,4,0,0)|0|0;a=da(b+444|0,4,0,0)|0|0;if((a|0)!=0?(d=b+452|0,c=da(d|0,4,0,0)|0|0,(c|0)>=0):0){a=qc[(fa(a|0,127|0)|0)&127](da(b+448|0,4,0,0)|0|0,c)|0;if(!a)b=-1;else b=(da(d|0,4,0,0)|0|0)+1|0;ea(d|0,b|0,4,0)}else a=0;return a|0}function gl(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;l=a+96|0;c=da(l|0,4,0,0)|0|0;a:do if((c|0)<(b|0)?(da(a+6>>0|0,1,0,0)|0|0)!=0:0){d=a+92|0;o=qg(da(d|0,4,0,0)|0|0,b*48|0,0)|0;if(!o)c=7;else{ew(o+(c*48|0)|0,0,(b-c|0)*48|0)|0;ea(d|0,o|0,4,0);g=a+24|0;h=a+64|0;i=a+148|0;j=a+52|0;k=a+208|0;f=a+72|0;while(1){e=da(g|0,4,0,0)|0|0;a=o+(c*48|0)|0;ea(o+(c*48|0)+20|0,e|0,4,0);if((da(da(h|0,4,0,0)|0|0,4,0,0)|0|0)!=0?(n=f,m=da(n|0,4,0,0)|0|0,n=da(n+4|0,4,0,0)|0|0,(n|0)>0|(n|0)==0&m>>>0>0):0){ea(a|0,m|0,4,0);ea(a+4|0,n|0,4,0)}else{ea(a|0,da(i|0,4,0,0)|0|0,4,0);ea(a+4|0,0|0,4,0)}ea(o+(c*48|0)+24|0,da(j|0,4,0,0)|0|0,4,0);d=pg(512,0)|0;if(!d)break;ew(d|0,0,512)|0;ea(d|0,e|0,4,0);ea(o+(c*48|0)+16|0,d|0,4,0);d=da(k|0,4,0,0)|0|0;if(d){ea(o+(c*48|0)+28|0,da(d+68|0,4,0,0)|0|0,4,0);ea(o+(c*48|0)+32|0,da(d+76|0,4,0,0)|0|0,4,0);ea(o+(c*48|0)+36|0,da(d+80|0,4,0,0)|0|0,4,0);ea(o+(c*48|0)+40|0,da(d+104|0,4,0,0)|0|0,4,0)}c=c+1|0;ea(l|0,c|0,4,0);if((c|0)>=(b|0)){c=0;break a}}ea(o+(c*48|0)+16|0,d|0,4,0);c=7}}else c=0;while(0);return c|0}function hl(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;do if(c){d=da(c+4|0,4,0,0)|0|0;if(!(da(d|0,4,0,0)|0)){d=No(a,b,c)|0;break}c=d+26|0;e=da(c|0,2,0,0)|0|0;if(!(e<<16>>16)){f=a+12|0;ea(f|0,(da(f|0,4,0,0)|0|0)+1|0,4,0)}ea(c|0,e+1<<16>>16|0,2,0);if((b|0)==1)ea(a+44|0,d|0,4,0)}else d=0;while(0);return d|0}function il(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=a+96|0;c=da(g|0,4,0,0)|0|0;if((c|0)>0){f=a+92|0;e=0;a=0;do{d=da(f|0,4,0,0)|0|0;if((da(d+(e*48|0)+20|0,4,0,0)|0|0)>>>0>=b>>>0){a=ai(da(d+(e*48|0)+16|0,4,0,0)|0|0,b)|0|a;c=da(g|0,4,0,0)|0|0}e=e+1|0}while((e|0)<(c|0))}else a=0;return a|0}function jl(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+32|0;if((i|0)>=(j|0))ba();t=v;p=v+16|0;q=v+12|0;s=v+8|0;n=da(a+68|0,4,0,0)|0|0;a:do if((n|0)!=0?(da(a+40|0,2,0,0)|0|0)!=0:0){o=b*383&8191;r=(n+33|0)>>>12;b:while(1){d=Oo(a,r,p,q,s)|0;if(d)break a;d=(da(p|0,4,0,0)|0|0)+(o<<1)|0;if(!(da(d|0,2,0,0)|0))d=0;else{k=da(s|0,4,0,0)|0|0;l=da(p|0,4,0,0)|0|0;m=da(q|0,4,0,0)|0|0;f=d;g=o;d=0;h=8192;while(1){e=(da(f|0,2,0,1)|0|0)+k|0;if(e>>>0<=n>>>0)d=(da(m+((da(f|0,2,0,1)|0)<<2)|0,4,0,0)|0|0)==(b|0)?e:d;if(!h){u=11;break b}g=g+1&8191;f=l+(g<<1)|0;if(!(da(f|0,2,0,0)|0))break;else h=h+-1|0}}if((r|0)>0&(d|0)==0)r=r+-1|0;else{u=14;break}}if((u|0)==11){ea(t|0,51262|0,4,0);ea(t+4|0,10788|0,4,0);ad(11,13600,t);d=11;break}else if((u|0)==14){ea(c|0,d|0,4,0);d=0;break}}else u=3;while(0);if((u|0)==3){ea(c|0,0|0,4,0);d=0}i=v;return d|0}function kl(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;e=da(a+16|0,4,0,0)|0|0;f=da(a+20|0,4,0,0)|0|0;c=da(e+152|0,4,0,0)|0|0;a=a+4|0;d=da(a|0,4,0,0)|0|0;if(!b){b=rw(f+-1|0,0,c|0,((c|0)<0)<<31>>31|0)|0;g=da(e+60|0,4,0,0)|0|0;b=sc[(fa(da((da(g|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](g,d,c,b,C)|0;b=(b|0)==522?0:b}else{h=da(e+208|0,4,0,0)|0|0;g=da(h+66|0,2,0,1)|0|0;g=g<<16&65536|g&65024;b=rw(g|24|0,0,b+-1|0,0)|0;b=iw(b|0,C|0,56,0)|0;h=da(h+8|0,4,0,0)|0|0;b=sc[(fa(da((da(h|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](h,d,(g|0)<(c|0)?g:c,b,C)|0}do if((f|0)==1)if(!b){d=e+104|0;c=(da(a|0,4,0,0)|0|0)+24|0;a=d+16|0;do{ea(d>>0|0,da(c>>0|0,1,0,0)|0|0|0,1,0);d=d+1|0;c=c+1|0}while((d|0)<(a|0));break}else{d=e+104|0;a=d+16|0;do{ea(d>>0|0,255|0,1,0);d=d+1|0}while((d|0)<(a|0));break}while(0);return b|0}function ll(a){a=a|0;var b=0,c=0;if((da(a+24|0,2,0,0)|0)&2)Po(a,1);b=da(a+28|0,4,0,0)|0|0;c=b+12|0;ea(c|0,(da(c|0,4,0,0)|0|0)+-1|0,4,0);if((da(a+20|0,4,0,0)|0|0)==1)ea(b+44|0,0|0,4,0);lc[(fa(da(8744+136|0,4,0,0)|0|0,63|0)|0)&63](da(b+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,1);return}function ml(a){a=a|0;var b=0;b=da(a+16>>0|0,1,0,0)|0|0;do if(!(b<<24>>24==0|b<<24>>24==6)){if((b&255)<=1){if(da(a+4>>0|0,1,0,0)|0)break;Bl(a,0,0)|0;break}b=da(3164*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]();Gl(a)|0;b=da(3166*4|0,4,0,0)|0|0;if(b)mc[(fa(b|0,3|0)|0)&3]()}while(0);Mo(a);return}function nl(a){a=a|0;var b=0,c=0;c=a+26|0;b=(da(c|0,2,0,0)|0|0)+-1<<16>>16;ea(c|0,b|0,2,0);do if(!(b<<16>>16)){b=da(a+28|0,4,0,0)|0|0;c=b+12|0;ea(c|0,(da(c|0,4,0,0)|0|0)+-1|0,4,0);if((da(a+24|0,2,0,0)|0)&2){if(!(da(a+36|0,4,0,0)|0))break;Po(a,3);break}if(da(b+28>>0|0,1,0,0)|0){if((da(a+20|0,4,0,0)|0|0)==1)ea(b+44|0,0|0,4,0);lc[(fa(da(8744+136|0,4,0,0)|0|0,63|0)|0)&63](da(b+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,0)}}while(0);return}function ol(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=da(a+56|0,4,0,0)|0|0;g=da(a+52|0,4,0,0)|0|0;c=da(a+6>>0|0,1,0,1)|0|0;d=f+c|0;e=g+36|0;if((da(g+22|0,2,0,0)|0)&4)ew(d|0,0,(da(e|0,4,0,0)|0|0)-c|0)|0;ea(d>>0|0,b|0,1,0);d=c+(b>>>1&4^12)|0;h=f+(c+1)|0;ea(h>>0|0,0|0,1,0);ea(h+1>>0|0,0|0,1,0);ea(h+2>>0|0,0|0,1,0);ea(h+3>>0|0,0|0,1,0);ea(f+(c+7)>>0|0,0|0,1,0);ea(f+(c+5)>>0|0,(da(e|0,4,0,0)|0|0)>>>8|0,1,0);ea(f+(c+6)>>0|0,da(e|0,4,0,0)|0|0,1,0);ea(a+16|0,(da(e|0,4,0,0)|0|0)-d|0,2,0);Qo(a,b)|0;ea(a+14|0,d|0,2,0);ea(a+60|0,f+(da(e|0,4,0,0)|0|0)|0,4,0);ea(a+64|0,f+(d&65535)|0,4,0);ea(a+1>>0|0,0|0,1,0);ea(a+20|0,(da(g+32|0,4,0,0)|0|0)+65535|0,2,0);ea(a+18|0,0|0,2,0);ea(a>>0|0,1|0,1,0);return}function pl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=i;i=i+32|0;if((i|0)>=(j|0))ba();e=f+16|0;d=f;b=a+8|0;ea(e+0|0,da(b+0|0,4,0,0)|0|0,4,0);ea(e+4|0,da(b+4|0,4,0,0)|0|0,4,0);ea(e+8|0,da(b+8|0,4,0,0)|0|0,4,0);ea(e+12|0,da(b+12|0,4,0,0)|0|0,4,0);c=a+40|0;ea(d+0|0,da(c+0|0,4,0,0)|0|0,4,0);ea(d+4|0,da(c+4|0,4,0,0)|0|0,4,0);ea(d+8|0,da(c+8|0,4,0,0)|0|0,4,0);ea(d+12|0,da(c+12|0,4,0,0)|0|0,4,0);ea(c+0|0,0|0,4,0);ea(c+4|0,0|0,4,0);ea(c+8|0,0|0,4,0);ea(c+12|0,0|0,4,0);Nl(a+24|0);c=da(d+8|0,4,0,0)|0|0;if(c)do{ig(0,da(c+8|0,4,0,0)|0|0);c=da(c|0,4,0,0)|0|0}while((c|0)!=0);Nl(d);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);b=da(e+8|0,4,0,0)|0|0;if(b)do{jg(0,da(b+8|0,4,0,0)|0|0);b=da(b|0,4,0,0)|0|0}while((b|0)!=0);Nl(e);Nl(a+56|0);ea(a+72|0,0|0,4,0);b=a+78|0;c=da(b|0,2,0,0)|0|0;if(c&1){d=a+4|0;ea(d|0,(da(d|0,4,0,0)|0|0)+1|0,4,0);ea(b|0,c&65534|0,2,0)}i=f;return}function ql(a){a=a|0;var b=0,c=0;c=a+332|0;b=da(c|0,4,0,0)|0|0;ea(c|0,0|0,4,0);if(b){a=da(a+4|0,4,0,0)|0|0;if(a)do{c=a+88|0;ea(c|0,da(c|0,2,0,0)|0|8|0,2,0);a=da(a+52|0,4,0,0)|0|0}while((a|0)!=0);do{a=b;b=da(b+24|0,4,0,0)|0|0;zn(a)}while((b|0)!=0)}return}function rl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=a+20|0;b=da(f|0,4,0,0)|0|0;i=a+16|0;c=da(i|0,4,0,0)|0|0;if((b|0)>2){e=2;d=2;do{b=c+(e<<4)|0;if(!(da(c+(e<<4)+4|0,4,0,0)|0)){lg(a,da(b|0,4,0,0)|0|0);ea(b|0,0|0,4,0)}else{if((d|0)<(e|0)){c=c+(d<<4)|0;ea(c+0|0,da(b+0|0,4,0,0)|0|0,4,0);ea(c+4|0,da(b+4|0,4,0,0)|0|0,4,0);ea(c+8|0,da(b+8|0,4,0,0)|0|0,4,0);ea(c+12|0,da(b+12|0,4,0,0)|0|0,4,0)}d=d+1|0}e=e+1|0;b=da(f|0,4,0,0)|0|0;c=da(i|0,4,0,0)|0|0}while((e|0)<(b|0))}else d=2;ew(c+(d<<4)|0,0,b-d<<4|0)|0;ea(f|0,d|0,4,0);if((d|0)<3?(g=da(i|0,4,0,0)|0|0,h=a+456|0,(g|0)!=(h|0)):0){ea(h+0|0,da(g+0|0,4,0,0)|0|0,4,0);ea(h+4|0,da(g+4|0,4,0,0)|0|0,4,0);ea(h+8|0,da(g+8|0,4,0,0)|0|0,4,0);ea(h+12|0,da(g+12|0,4,0,0)|0|0,4,0);ea(h+16|0,da(g+16|0,4,0,0)|0|0,4,0);ea(h+20|0,da(g+20|0,4,0,0)|0|0,4,0);ea(h+24|0,da(g+24|0,4,0,0)|0|0,4,0);ea(h+28|0,da(g+28|0,4,0,0)|0|0,4,0);lg(a,g);ea(i|0,h|0,4,0)}return}function sl(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();n=q;k=da(a+16|0,4,0,0)|0|0;m=k+152|0;d=((da(k+148|0,4,0,0)|0|0)>>>0)/((da(m|0,4,0,0)|0|0)>>>0)|0;p=k+20|0;ea(p>>0|0,da(p>>0|0,1,0,1)|0|0|4|0,1,0);h=a+20|0;e=da(h|0,4,0,0)|0|0;a=e+-1&0-d;o=a+1|0;c=~a;b=da(k+24|0,4,0,0)|0|0;if(e>>>0<=b>>>0){if((a+d|0)>>>0>b>>>0)d=b+1+c|0}else d=e+1+c|0;a:do if((d|0)>0){g=k+56|0;l=k+204|0;f=0;a=0;while(1){c=f+o|0;if((c|0)!=(e|0)?(ci(da(g|0,4,0,0)|0|0,c)|0)!=0:0){e=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(l|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,c,0)|0;c=hl(da(l|0,4,0,0)|0|0,c,e)|0;ea(n|0,c|0,4,0);if(!c)b=0;else{a=((da(c+24|0,2,0,0)|0)&4)==0?a:1;Ag(c);b=0}}else if((c|0)==(((da(2514*4|0,4,0,0)|0|0)/(da(m|0,4,0,0)|0|0)|0)+1|0))b=0;else{b=yg(k,c,n,0)|0;if(b)break a;c=da(n|0,4,0,0)|0|0;b=tl(c)|0;a=((da(c+24|0,2,0,0)|0)&4)==0?a:1;Ag(c)}f=f+1|0;c=(b|0)==0;if(!((f|0)<(d|0)&c))break;e=da(h|0,4,0,0)|0|0}if(c&(a|0)!=0){a=0;do{k=a+o|0;b=$b[(fa(da(8744+132|0,4,0,0)|0|0,63|0)|0)&63](da((da(l|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,k,0)|0;b=hl(da(l|0,4,0,0)|0|0,k,b)|0;if(b){k=b+24|0;ea(k|0,da(k|0,2,0,1)|0|0|4|0,2,0);Ag(b)}a=a+1|0}while((a|0)!=(d|0));b=0}}else b=0;while(0);ea(p>>0|0,(da(p>>0|0,1,0,1)|0|0)&251|0,1,0);i=q;return b|0}function tl(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;w=i;i=i+16|0;if((i|0)>=(j|0))ba();u=w+4|0;l=w;v=da(a+16|0,4,0,0)|0|0;p=v+16|0;a:do if((da(p>>0|0,1,0,0)|0|0)==2){k=da(v|0,4,0,0)|0|0;d=da(v+40|0,4,0,0)|0|0;if(!d){do if((da(v+208|0,4,0,0)|0|0)==0?(g=v+5|0,(da(g>>0|0,1,0,0)|0|0)!=2):0){h=v+24|0;d=da(h|0,4,0,0)|0|0;c=pg(512,0)|0;if(!c){ea(v+56|0,0|0,4,0);b=7;break a}ew(c|0,0,512)|0;ea(c|0,d|0,4,0);m=v+56|0;ea(m|0,c|0,4,0);e=v+64|0;f=da(e|0,4,0,0)|0|0;do if(!(da(f|0,4,0,0)|0)){if((da(g>>0|0,1,0,0)|0|0)==4){d=f+0|0;c=d+40|0;do{ea(d|0,0|0,4,0);d=d+4|0}while((d|0)<(c|0));ea(f|0,14696|0,4,0);o=17;break}c=da(v+12>>0|0,1,0,0)|0|0;ea(l|0,0|0,4,0);if((c<<24>>24==0?(da(h|0,4,0,0)|0|0)!=0:0)?(b=da(v+60|0,4,0,0)|0|0,b=$b[(fa(da((da(b|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](b,20,l)|0,(b|0)!=12):0){d=(b|0)==0;if(d&(da(l|0,4,0,0)|0|0)!=0){b=1032;break}if(d)o=15}else o=15;if((o|0)==15)b=sc[(fa(da(k+24|0,4,0,0)|0|0,31|0)|0)&31](k,da(v+172|0,4,0,0)|0|0,da(e|0,4,0,0)|0|0,c<<24>>24!=0?4110:2054,0)|0;if(!b)o=17}else o=17;while(0);if((o|0)==17){ea(v+44|0,0|0,4,0);b=v+72|0;ea(v+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);b=Ro(v)|0;if(!b)break}di(da(m|0,4,0,0)|0|0);ea(m|0,0|0,4,0);if(!b){o=20;break a}else break a}while(0);ea(p>>0|0,3|0,1,0);o=20}else b=d}else o=20;while(0);b:do if((o|0)==20){So(a);q=v+56|0;r=a+20|0;f=da(r|0,4,0,0)|0|0;do if(!(ci(da(q|0,4,0,0)|0|0,f)|0))if(!(da(v+208|0,4,0,0)|0)){if(f>>>0<=(da(v+28|0,4,0,0)|0|0)>>>0?(t=v+64|0,s=da(t|0,4,0,0)|0|0,(da(s|0,4,0,0)|0|0)!=0):0){o=v+72|0;g=o;m=da(g|0,4,0,0)|0|0;g=da(g+4|0,4,0,0)|0|0;n=da(a+4|0,4,0,0)|0|0;d=da(v+48|0,4,0,0)|0|0;p=v+152|0;e=(da(p|0,4,0,0)|0|0)+-200|0;if((e|0)>0)do{d=(da(n+e>>0|0,1,0,1)|0|0)+d|0;e=e+-200|0}while((e|0)>0);l=a+24|0;ea(l|0,da(l|0,2,0,1)|0|4|0,2,0);ea(u>>0|0,f>>>24|0,1,0);l=u+1|0;ea(l>>0|0,f>>>16|0,1,0);k=u+2|0;ea(k>>0|0,f>>>8|0,1,0);h=u+3|0;ea(h>>0|0,f|0,1,0);b=sc[(fa(da((da(s|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](s,u,4,m,g)|0;if(b)break b;f=da(t|0,4,0,0)|0|0;b=da(p|0,4,0,0)|0|0;c=iw(m|0,g|0,4,0)|0;e=C;b=sc[(fa(da((da(f|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](f,n,b,c,e)|0;if(b)break b;m=da(t|0,4,0,0)|0|0;b=da(p|0,4,0,0)|0|0;b=iw(c|0,e|0,b|0,((b|0)<0)<<31>>31|0)|0;ea(u>>0|0,d>>>24|0,1,0);ea(l>>0|0,d>>>16|0,1,0);ea(k>>0|0,d>>>8|0,1,0);ea(h>>0|0,d|0,1,0);b=sc[(fa(da((da(m|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](m,u,4,b,C)|0;if(b)break b;b=(da(p|0,4,0,0)|0|0)+8|0;m=o;m=iw(b|0,((b|0)<0)<<31>>31|0,da(m|0,4,0,0)|0|0,da(m+4|0,4,0,0)|0|0)|0;b=o;ea(b|0,m|0,4,0);ea(b+4|0,C|0,4,0);b=v+44|0;ea(b|0,(da(b|0,4,0,0)|0|0)+1|0,4,0);b=ai(da(q|0,4,0,0)|0|0,da(r|0,4,0,0)|0|0)|0;b=il(v,da(r|0,4,0,0)|0|0)|0|b;if(!b){o=34;break}else break b}if((da(p>>0|0,1,0,0)|0|0)!=4){o=a+24|0;ea(o|0,da(o|0,2,0,1)|0|4|0,2,0);o=34}else o=34}else o=34;else if((da(v+96|0,4,0,0)|0|0)!=0?(To(a)|0)!=0:0)o=34;else b=0;while(0);if((o|0)==34)if((da(v+96|0,4,0,0)|0|0)>0?(To(a)|0)!=0:0)b=Uo(a)|0;else b=0;d=v+24|0;c=da(r|0,4,0,0)|0|0;if((da(d|0,4,0,0)|0|0)>>>0<c>>>0)ea(d|0,c|0,4,0)}while(0);i=w;return b|0}function ul(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+128|0;if((i|0)>=(j|0))ba();h=k;d=da(a|0,4,0,0)|0|0;c=(d|0)==0;if(!c){b=d;do{a=b;b=da(b+32|0,4,0,0)|0|0;ea(a+12|0,b|0,4,0)}while((b|0)!=0);b=h+0|0;a=b+128|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(a|0));if(c)a=0;else{f=h+124|0;do{b=d+12|0;a=d;d=da(b|0,4,0,0)|0|0;ea(b|0,0|0,4,0);b=0;do{e=h+(b<<2)|0;c=da(e|0,4,0,0)|0|0;if(!c){c=e;g=8;break}a=Vo(c,a)|0;ea(e|0,0|0,4,0);b=b+1|0}while((b|0)<31);if((g|0)==8){g=0;ea(c|0,a|0,4,0)}if((b|0)==31)ea(f|0,Vo(da(f|0,4,0,0)|0|0,a)|0|0,4,0)}while((d|0)!=0);a=da(h|0,4,0,0)|0|0}}else{b=h+0|0;a=b+128|0;do{ea(b|0,0|0,4,0);b=b+4|0}while((b|0)<(a|0));a=0}b=1;do{a=Vo(a,da(h+(b<<2)|0,4,0,0)|0|0)|0;b=b+1|0}while((b|0)!=32);i=k;return a|0}function vl(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;F=i;i=i+80|0;if((i|0)>=(j|0))ba();l=F+32|0;m=F+28|0;v=F;o=F+40|0;D=F+24|0;ea(D|0,b|0,4,0);s=(d|0)==0;if(!s){ea(D|0,b|0,4,0);if(!b){b=0;h=0}else{h=0;g=D;do{t=(da(b+20|0,4,0,0)|0|0)>>>0>c>>>0;z=b+12|0;h=h+(t&1^1)|0;g=t?g:z;b=da(z|0,4,0,0)|0|0;ea(g|0,b|0,4,0)}while((b|0)!=0);b=da(D|0,4,0,0)|0|0}}else h=1;z=a+192|0;ea(z|0,(da(z|0,4,0,0)|0|0)+h|0,4,0);if((da(b+20|0,4,0,0)|0|0)==1)xl(b);A=da(a+208|0,4,0,0)|0|0;B=da(a+152|0,4,0,0)|0|0;n=da(a+10>>0|0,1,0,0)|0|0;t=n&255;f=A+40|0;if(!(da(f|0,2,0,0)|0)){do if(da((da(da(A+32|0,4,0,0)|0|0,4,0,0)|0|0)+96|0,4,0,0)|0){bd(4,l);g=A+43|0;if(!(da(g>>0|0,1,0,0)|0)){h=da(A+4|0,4,0,0)|0|0;h=oc[(fa(da((da(h|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](h,4,4,10)|0;if((h|0)==5){h=g;u=14;break}else if(h)break}Wo(A,da(l|0,4,0,0)|0|0);if(!(da(g>>0|0,1,0,0)|0)){h=da(A+4|0,4,0,0)|0|0;oc[(fa(da((da(h|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](h,4,4,9)|0;h=g;u=14}else{h=g;u=14}}else{h=A+43|0;u=14}while(0);if((u|0)==14){if(!(da(h>>0|0,1,0,0)|0)){z=da(A+4|0,4,0,0)|0|0;oc[(fa(da((da(z|0,4,0,0)|0|0)+56|0,4,0,0)|0|0,31|0)|0)&31](z,3,1,5)|0}ea(f|0,-1|0,2,0);g=0;do{g=g+1|0;h=Lo(A,m,1,g)|0}while((h|0)==-1)}if(h)e=h;else u=19}else u=19;a:do if((u|0)==19){z=A+68|0;m=da(z|0,4,0,0)|0|0;if(!m){ea(o>>0|0,55|0,1,0);ea(o+1>>0|0,127|0,1,0);ea(o+2>>0|0,6|0,1,0);ea(o+3>>0|0,-126|0,1,0);ea(o+4>>0|0,0|0,1,0);ea(o+5>>0|0,45|0,1,0);ea(o+6>>0|0,-30|0,1,0);ea(o+7>>0|0,24|0,1,0);ea(o+8>>0|0,B>>>24|0,1,0);ea(o+9>>0|0,B>>>16|0,1,0);ea(o+10>>0|0,B>>>8|0,1,0);ea(o+11>>0|0,B|0,1,0);r=da(A+104|0,4,0,0)|0|0;ea(o+12>>0|0,r>>>24|0,1,0);ea(o+13>>0|0,r>>>16|0,1,0);ea(o+14>>0|0,r>>>8|0,1,0);ea(o+15>>0|0,r|0,1,0);if(!r)bd(8,A+84|0);l=A+84|0;g=l;g=da(g>>0|0,1,0,1)|0|(da(g+1>>0|0,1,0,1)|0)<<8|(da(g+2>>0|0,1,0,1)|0)<<16|(da(g+3>>0|0,1,0,1)|0)<<24;l=l+4|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;f=o+16|0;h=f;ea(h>>0|0,g|0,1,0);ea(h+1>>0|0,g>>8|0,1,0);ea(h+2>>0|0,g>>16|0,1,0);ea(h+3>>0|0,g>>24|0,1,0);f=f+4|0;ea(f>>0|0,l|0,1,0);ea(f+1>>0|0,l>>8|0,1,0);ea(f+2>>0|0,l>>16|0,1,0);ea(f+3>>0|0,l>>24|0,1,0);l=o+24|0;f=o;g=0;h=0;do{g=g+h+(da(f|0,4,0,0)|0|0)|0;h=g+h+(da(f+4|0,4,0,0)|0|0)|0;f=f+8|0}while(f>>>0<l>>>0);ea(l>>0|0,g>>>24|0,1,0);ea(o+25>>0|0,g>>>16|0,1,0);ea(o+26>>0|0,g>>>8|0,1,0);ea(o+27>>0|0,g|0,1,0);ea(o+28>>0|0,h>>>24|0,1,0);ea(o+29>>0|0,h>>>16|0,1,0);ea(o+30>>0|0,h>>>8|0,1,0);ea(o+31>>0|0,h|0,1,0);ea(A+36|0,B|0,4,0);ea(A+65>>0|0,0|0,1,0);ea(A+76|0,g|0,4,0);ea(A+80|0,h|0,4,0);ea(A+47>>0|0,1|0,1,0);g=A+8|0;h=da(g|0,4,0,0)|0|0;h=sc[(fa(da((da(h|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](h,o,32,0,0)|0;if(h){e=h;break}if((da(A+48>>0|0,1,0,0)|0|0)!=0&n<<24>>24!=0?(e=da(g|0,4,0,0)|0|0,e=qc[(fa(da((da(e|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](e,t&19)|0,(e|0)!=0):0)break}else g=A+8|0;ea(v|0,A|0,4,0);o=da(g|0,4,0,0)|0|0;ea(v+4|0,o|0,4,0);p=v+8|0;q=p;ea(q|0,0|0,4,0);ea(q+4|0,0|0,4,0);ea(v+16|0,t|0,4,0);ea(v+20|0,B|0,4,0);q=B+24|0;r=((q|0)<0)<<31>>31;h=rw(m|0,0,q|0,r|0)|0;h=iw(h|0,C|0,32,0)|0;e=C;if(!b){f=h;n=0}else{k=e;f=m;n=b;while(1){m=f+1|0;if(s)f=0;else f=(da(n+12|0,4,0,0)|0|0)==0?c:0;e=Xo(v,n,f,h,k)|0;if(e)break a;h=iw(h|0,k|0,q|0,r|0)|0;e=C;l=da(n+12|0,4,0,0)|0|0;if(!l){f=h;break}else{k=e;f=m;n=l}}}s=(d|0)!=0;do if(!((t&32|0)==0|s^1)){if(!(da(A+49>>0|0,1,0,0)|0)){g=0;e=qc[(fa(da((da(o|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](o,t&19)|0;break}h=da(g|0,4,0,0)|0|0;g=da((da(h|0,4,0,0)|0|0)+44|0,4,0,0)|0|0;if(g){h=kc[(fa(g|0,127|0)|0)&127](h)|0;if((h|0)<32){g=512;h=0}else u=37}else{h=4096;u=37}if((u|0)==37){u=(h|0)>65536;g=u?65536:h;h=u?0:((h|0)<0)<<31>>31}u=iw(f|0,e|0,-1,-1)|0;u=iw(u|0,C|0,g|0,h|0)|0;l=C;k=qw(u|0,l|0,g|0,h|0)|0;k=cw(u|0,l|0,k|0,C|0)|0;l=C;u=p;ea(u|0,k|0,4,0);ea(u+4|0,l|0,4,0);if((e|0)<(l|0)|(e|0)==(l|0)&f>>>0<k>>>0){h=e;g=0;while(1){e=Xo(v,n,c,f,h)|0;if(e)break a;f=iw(f|0,h|0,q|0,r|0)|0;h=C;g=g+1|0;if(!((h|0)<(l|0)|(h|0)==(l|0)&f>>>0<k>>>0)){e=0;break}}}else{g=0;e=0}}else{g=0;e=0}while(0);if((s?(w=A+47|0,(da(w>>0|0,1,0,0)|0|0)!=0):0)?(y=A+16|0,x=da(y|0,4,0,0)|0|0,y=da(y+4|0,4,0,0)|0|0,(y|0)>-1|(y|0)==-1&x>>>0>4294967295):0){d=rw(g+m|0,0,q|0,r|0)|0;d=iw(d|0,C|0,32,0)|0;v=C;u=(v|0)>(y|0)|(v|0)==(y|0)&d>>>0>x>>>0;Yo(A,u?d:x,u?v:y);ea(w>>0|0,0|0,1,0)}f=da(z|0,4,0,0)|0|0;if((b|0)!=0&(e|0)==0)do{f=f+1|0;e=Zo(A,f,da(b+20|0,4,0,0)|0|0)|0;b=da(b+12|0,4,0,0)|0|0}while((b|0)!=0&(e|0)==0);b=(e|0)==0;if(b&(g|0)>0){h=n+20|0;do{f=f+1|0;g=g+-1|0;e=Zo(A,f,da(h|0,4,0,0)|0|0)|0;b=(e|0)==0}while(b&(g|0)>0)}if(b){ea(A+66|0,B&65280|B>>>16|0,2,0);ea(z|0,f|0,4,0);if(s){z=A+60|0;ea(z|0,(da(z|0,4,0,0)|0|0)+1|0,4,0);ea(A+72|0,c|0,4,0);_o(A);ea(A+12|0,f|0,4,0)}}else if(e)break;f=a+88|0;e=da(f|0,4,0,0)|0|0;if((e|0)!=0?(E=da(D|0,4,0,0)|0|0,(E|0)!=0):0){b=e;e=E;while(1){$o(b,da(e+20|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0);e=da(e+12|0,4,0,0)|0|0;if(!e){e=0;break a}b=da(f|0,4,0,0)|0|0}}else e=0}while(0);i=F;return e|0}function wl(a){a=a|0;var b=0,c=0;b=a+24|0;if((((da(b|0,2,0,0)|0)&2)!=0?(Po(a,1),ea(b|0,(da(b|0,2,0,1)|0)&65529|0,2,0),(da(a+26|0,2,0,0)|0|0)==0):0)?(c=da(a+28|0,4,0,0)|0|0,(da(c+28>>0|0,1,0,0)|0|0)!=0):0){if((da(a+20|0,4,0,0)|0|0)==1)ea(c+44|0,0|0,4,0);lc[(fa(da(8744+136|0,4,0,0)|0|0,63|0)|0)&63](da(c+40|0,4,0,0)|0|0,da(a|0,4,0,0)|0|0,0)}return}function xl(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=da(a+16|0,4,0,0)|0|0;b=((da(b+105>>0|0,1,0,1)|0|0)<<16|(da(b+104>>0|0,1,0,1)|0|0)<<24|(da(b+106>>0|0,1,0,1)|0|0)<<8|(da(b+107>>0|0,1,0,1)|0|0))+1|0;a=a+4|0;c=da(a|0,4,0,0)|0|0;f=b>>>24&255;ea(c+24>>0|0,f|0,1,0);e=b>>>16&255;ea(c+25>>0|0,e|0,1,0);d=b>>>8&255;ea(c+26>>0|0,d|0,1,0);b=b&255;ea(c+27>>0|0,b|0,1,0);c=da(a|0,4,0,0)|0|0;ea(c+92>>0|0,f|0,1,0);ea(c+93>>0|0,e|0,1,0);ea(c+94>>0|0,d|0,1,0);ea(c+95>>0|0,b|0,1,0);a=da(a|0,4,0,0)|0|0;ea(a+96>>0|0,0|0,1,0);ea(a+97>>0|0,45|0,1,0);ea(a+98>>0|0,-26|0,1,0);ea(a+99>>0|0,9|0,1,0);return}function yl(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;q=i;i=i+32|0;if((i|0)>=(j|0))ba();h=q+16|0;n=q;e=ap(a)|0;a:do if(!e){do if(!(da(a+7>>0|0,1,0,0)|0)){p=a+64|0;if((da(da(p|0,4,0,0)|0|0,4,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;g=kc[(fa(da((da(g|0,4,0,0)|0|0)+48|0,4,0,0)|0|0,127|0)|0)&127](g)|0;o=(g&512|0)==0;if(o){d=n;ea(d|0,-117058087|0,4,0);ea(d+4|0,-681336544|0,4,0);d=da(a+44|0,4,0,0)|0|0;ea(n+8>>0|0,d>>>24|0,1,0);ea(n+9>>0|0,d>>>16|0,1,0);ea(n+10>>0|0,d>>>8|0,1,0);ea(n+11>>0|0,d|0,1,0);d=a+72|0;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((e|0)==0&(d|0)==0){e=0;d=0}else{d=iw(e|0,d|0,-1,-1)|0;e=da(a+148|0,4,0,0)|0|0;d=pw(d|0,C|0,e|0,0)|0;d=iw(d|0,C|0,1,0)|0;e=rw(d|0,C|0,e|0,0)|0;d=C}f=da(p|0,4,0,0)|0|0;f=sc[(fa(da((da(f|0,4,0,0)|0|0)+8|0,4,0,0)|0|0,31|0)|0)&31](f,h,8,e,d)|0;if(!f){if(!(Yv(h,14808,8)|0)){k=da(p|0,4,0,0)|0|0;k=sc[(fa(da((da(k|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](k,14976,1,e,d)|0;l=12}}else{k=f;l=12}if((l|0)==12?!((k|0)==0|(k|0)==522):0){c=k;break a}d=g&1024;if((da(a+8>>0|0,1,0,0)|0|0)!=0&(d|0)==0?(m=da(p|0,4,0,0)|0|0,m=qc[(fa(da((da(m|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](m,da(a+11>>0|0,1,0,1)|0|0)|0,(m|0)!=0):0){c=m;break a}m=da(p|0,4,0,0)|0|0;e=a+80|0;e=sc[(fa(da((da(m|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](m,n,12,da(e|0,4,0,0)|0|0,da(e+4|0,4,0,0)|0|0)|0;if(e){c=e;break a}}else d=g&1024;if((d|0)==0?(n=da(p|0,4,0,0)|0|0,c=da(a+11>>0|0,1,0,0)|0|0,c=qc[(fa(da((da(n|0,4,0,0)|0|0)+20|0,4,0,0)|0|0,127|0)|0)&127](n,(c<<24>>24==3?16:0)|c&255)|0,(c|0)!=0):0)break a;l=a+72|0;n=da(l+4|0,4,0,0)|0|0;m=a+80|0;ea(m|0,da(l|0,4,0,0)|0|0,4,0);ea(m+4|0,n|0,4,0);if((b|0)==0|o^1)break;ea(a+44|0,0|0,4,0);c=Ro(a)|0;if(!c)break;else break a}l=a+72|0;n=da(l+4|0,4,0,0)|0|0;m=a+80|0;ea(m|0,da(l|0,4,0,0)|0|0,4,0);ea(m+4|0,n|0,4,0)}while(0);d=da(a+204|0,4,0,0)|0|0;c=da(d|0,4,0,0)|0|0;if(c)do{n=c+24|0;ea(n|0,(da(n|0,2,0,1)|0)&65531|0,2,0);c=da(c+32|0,4,0,0)|0|0}while((c|0)!=0);ea(d+8|0,da(d+4|0,4,0,0)|0|0,4,0);ea(a+16>>0|0,4|0,1,0);c=0}else c=e;while(0);i=q;return c|0}function zl(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;s=i;i=i+16|0;if((i|0)>=(j|0))ba();g=s;r=a+60|0;d=da(r|0,4,0,0)|0|0;if(!((da(d|0,4,0,0)|0|0)==0?(c=da(a|0,4,0,0)|0|0,c=sc[(fa(da(c+24|0,4,0,0)|0|0,31|0)|0)&31](c,0,d,(da(a+144|0,4,0,0)|0)&556897|30,0)|0,(c|0)!=0):0)){d=a+36|0;c=da(d|0,4,0,0)|0|0;e=a+24|0;f=da(e|0,4,0,0)|0|0;do if(c>>>0<f>>>0){if((da(b+12|0,4,0,0)|0|0)==0?(da(b+20|0,4,0,0)|0|0)>>>0<=c>>>0:0)break;k=da(a+152|0,4,0,0)|0|0;k=rw(f|0,0,k|0,((k|0)<0)<<31>>31|0)|0;l=g;ea(l|0,k|0,4,0);ea(l+4|0,C|0,4,0);l=da(r|0,4,0,0)|0|0;$b[(fa(da((da(l|0,4,0,0)|0|0)+40|0,4,0,0)|0|0,63|0)|0)&63](l,5,g)|0;ea(d|0,da(e|0,4,0,0)|0|0,4,0)}while(0);if(!b)c=0;else{m=a+24|0;n=a+152|0;o=a+104|0;p=a+32|0;q=a+192|0;l=a+88|0;do{k=da(b+20|0,4,0,0)|0|0;if(k>>>0<=(da(m|0,4,0,0)|0|0)>>>0?((da(b+24|0,2,0,0)|0)&32)==0:0){g=da(n|0,4,0,0)|0|0;a=rw(g|0,((g|0)<0)<<31>>31|0,k+-1|0,0)|0;f=C;e=(k|0)==1;if(e){xl(b);g=da(n|0,4,0,0)|0|0}h=b+4|0;d=da(h|0,4,0,0)|0|0;c=da(r|0,4,0,0)|0|0;c=sc[(fa(da((da(c|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](c,d,g,a,f)|0;if(e){a=o+0|0;g=d+24|0;f=a+16|0;do{ea(a>>0|0,da(g>>0|0,1,0,0)|0|0|0,1,0);a=a+1|0;g=g+1|0}while((a|0)<(f|0))}if(k>>>0>(da(p|0,4,0,0)|0|0)>>>0)ea(p|0,k|0,4,0);ea(q|0,(da(q|0,4,0,0)|0|0)+1|0,4,0);$o(da(l|0,4,0,0)|0|0,k,da(h|0,4,0,0)|0|0)}else c=0;b=da(b+12|0,4,0,0)|0|0}while((c|0)==0&(b|0)!=0)}}i=s;return c|0}function Al(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;o=i;i=i+16|0;if((i|0)>=(j|0))ba();k=o;l=a+60|0;d=da(l|0,4,0,0)|0|0;e=da(d|0,4,0,0)|0|0;do if((e|0)!=0?((da(a+16>>0|0,1,0,0)|0|0)+-1&255)>2:0){m=da(a+152|0,4,0,0)|0|0;e=qc[(fa(da(e+24|0,4,0,0)|0|0,127|0)|0)&127](d,k)|0;f=((m|0)<0)<<31>>31;g=rw(m|0,f|0,b|0,0)|0;h=C;if(!e){d=k;e=da(d|0,4,0,0)|0|0;d=da(d+4|0,4,0,0)|0|0;if((e|0)==(g|0)&(d|0)==(h|0))c=0;else{if(!((d|0)>(h|0)|(d|0)==(h|0)&e>>>0>g>>>0)){k=iw(e|0,d|0,m|0,f|0)|0;e=C;if(!((e|0)>(h|0)|(e|0)==(h|0)&k>>>0>g>>>0)){n=da(a+200|0,4,0,0)|0|0;ew(n|0,0,m|0)|0;l=da(l|0,4,0,0)|0|0;c=cw(g|0,h|0,m|0,f|0)|0;c=sc[(fa(da((da(l|0,4,0,0)|0|0)+12|0,4,0,0)|0|0,31|0)|0)&31](l,n,m,c,C)|0;n=9}}else{c=da(l|0,4,0,0)|0|0;c=$b[(fa(da((da(c|0,4,0,0)|0|0)+16|0,4,0,0)|0|0,63|0)|0)&63](c,g,h)|0;n=9}if((n|0)==9?(c|0)!=0:0)break;ea(a+32|0,b|0,4,0);c=0}}else c=e}else c=0;while(0);i=o;return c|0}
[all...]
H A Dsqlite.js3 "use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.tempDoublePtr|0;var l=env.ABORT|0;var m=env.cttz_i8|0;var n=0;var o=0;var p=0;var q=0;var r=global.NaN,s=global.Infinity;var t=0,u=0,v=0,w=0,x=0.0,y=0,z=0,A=0,B=0.0;var C=0;var D=0;var E=0;var F=0;var G=0;var H=0;var I=0;var J=0;var K=0;var L=0;var M=global.Math.floor;var N=global.Math.abs;var O=global.Math.sqrt;var P=global.Math.pow;var Q=global.Math.cos;var R=global.Math.sin;var S=global.Math.tan;var T=global.Math.acos;var U=global.Math.asin;var V=global.Math.atan;var W=global.Math.atan2;var X=global.Math.exp;var Y=global.Math.log;var Z=global.Math.ceil;var _=global.Math.imul;var $=global.Math.min;var aa=global.Math.clz32;var ba=env.abort;var ca=env.assert;var da=env.nullFunc_iiiiiiii;var ea=env.nullFunc_iiii;var fa=env.nullFunc_viiiiii;var ga=env.nullFunc_vi;var ha=env.nullFunc_viiiii;var ia=env.nullFunc_dii;var ja=env.nullFunc_vid;var ka=env.nullFunc_di;var la=env.nullFunc_i;var ma=env.nullFunc_iiiiiiiiii;var na=env.nullFunc_vii;var oa=env.nullFunc_iiiiiii;var pa=env.nullFunc_ii;var qa=env.nullFunc_viii;var ra=env.nullFunc_v;var sa=env.nullFunc_iiiiiiiii;var ta=env.nullFunc_iiiii;var ua=env.nullFunc_viiii;var va=env.nullFunc_iii;var wa=env.nullFunc_iiid;var xa=env.nullFunc_iiiiii;var ya=env.invoke_iiiiiiii;var za=env.invoke_iiii;var Aa=env.invoke_viiiiii;var Ba=env.invoke_vi;var Ca=env.invoke_viiiii;var Da=env.invoke_dii;var Ea=env.invoke_vid;var Fa=env.invoke_di;var Ga=env.invoke_i;var Ha=env.invoke_iiiiiiiiii;var Ia=env.invoke_vii;var Ja=env.invoke_iiiiiii;var Ka=env.invoke_ii;var La=env.invoke_viii;var Ma=env.invoke_v;var Na=env.invoke_iiiiiiiii;var Oa=env.invoke_iiiii;var Pa=env.invoke_viiii;var Qa=env.invoke_iii;var Ra=env.invoke_iiid;var Sa=env.invoke_iiiiii;var Ta=env._dlerror;var Ua=env._utimes;var Va=env._getuid;var Wa=env._send;var Xa=env._dlsym;var Ya=env._mknod;var Za=env._chown;var _a=env._lseek;var $a=env._emscripten_set_main_loop_timing;var ab=env._access;var bb=env._fstat;var cb=env._chmod;var db=env._rmdir;var eb=env.___assert_fail;var fb=env._usleep;var gb=env.___buildEnvironment;var hb=env._fflush;var ib=env._pwrite;var jb=env._strerror_r;var kb=env._localtime_r;var lb=env._tzset;var mb=env._open;var nb=env._getpid;var ob=env._sbrk;var pb=env._fcntl;var qb=env._emscripten_memcpy_big;var rb=env._unlink;var sb=env._sysconf;var tb=env._fchmod;var ub=env.___setErrNo;var vb=env._ftruncate;var wb=env._mkdir;var xb=env._pread;var yb=env._mkport;var zb=env._dlopen;var Ab=env._dlclose;var Bb=env._write;var Cb=env._fsync;var Db=env.___errno_location;var Eb=env._stat;var Fb=env._recv;var Gb=env._geteuid;var Hb=env._getenv;var Ib=env._sleep;var Jb=env._emscripten_set_main_loop;var Kb=env._abort;var Lb=env._time;var Mb=env._fchown;var Nb=env._strerror;var Ob=env._gettimeofday;var Pb=env._munmap;var Qb=env._mmap;var Rb=env._localtime;var Sb=env._getcwd;var Tb=env._close;var Ub=env._read;var Vb=env._truncate;var Wb=0.0;
[all...]

Completed in 1258 milliseconds